diff --git a/.env.template b/.env.template index be802319c..d35e9e522 100644 --- a/.env.template +++ b/.env.template @@ -71,7 +71,7 @@ EMBEDDING_MODEL=text2vec #EMBEDDING_MODEL=bge-large-zh KNOWLEDGE_CHUNK_SIZE=500 KNOWLEDGE_SEARCH_TOP_SIZE=5 -KNOWLEDGE_GRAPH_SEARCH_TOP_SIZE=50 +KNOWLEDGE_GRAPH_SEARCH_TOP_SIZE=200 ## Maximum number of chunks to load at once, if your single document is too large, ## you can set this value to a higher value for better performance. ## if out of memory when load large document, you can set this value to a lower value. @@ -157,6 +157,11 @@ EXECUTE_LOCAL_COMMANDS=False #*******************************************************************# VECTOR_STORE_TYPE=Chroma GRAPH_STORE_TYPE=TuGraph +GRAPH_COMMUNITY_SUMMARY_ENABLED=True +KNOWLEDGE_GRAPH_EXTRACT_SEARCH_TOP_SIZE=5 +KNOWLEDGE_GRAPH_EXTRACT_SEARCH_RECALL_SCORE=0.3 +KNOWLEDGE_GRAPH_COMMUNITY_SEARCH_TOP_SIZE=20 +KNOWLEDGE_GRAPH_COMMUNITY_SEARCH_RECALL_SCORE=0.0 ### Chroma vector db config #CHROMA_PERSIST_PATH=/root/DB-GPT/pilot/data @@ -187,7 +192,7 @@ ElasticSearch_PASSWORD={your_password} #TUGRAPH_PASSWORD=73@TuGraph #TUGRAPH_VERTEX_TYPE=entity #TUGRAPH_EDGE_TYPE=relation -#TUGRAPH_EDGE_NAME_KEY=label +#TUGRAPH_PLUGIN_NAMES=leiden #*******************************************************************# #** WebServer Language Support **# diff --git a/.gitignore b/.gitignore index a3714cf8e..bcf5abf1f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,6 @@ __pycache__/ *$py.class # C extensions -*.so message/ dbgpt/util/extensions/ .env* @@ -185,4 +184,4 @@ thirdparty /examples/**/*.gv /examples/**/*.gv.pdf /i18n/locales/**/**/*_ai_translated.po -/i18n/locales/**/**/*~ \ No newline at end of file +/i18n/locales/**/**/*~ diff --git a/assets/wechat.jpg b/assets/wechat.jpg index 6b48e3897..14444aea3 100644 Binary files a/assets/wechat.jpg and b/assets/wechat.jpg differ diff --git a/dbgpt/_private/config.py b/dbgpt/_private/config.py index eaf1e953c..35c424029 100644 --- a/dbgpt/_private/config.py +++ b/dbgpt/_private/config.py @@ -213,6 +213,9 @@ def __init__(self) -> None: # Vector Store Configuration self.VECTOR_STORE_TYPE = os.getenv("VECTOR_STORE_TYPE", "Chroma") + self.GRAPH_COMMUNITY_SUMMARY_ENABLED = ( + os.getenv("GRAPH_COMMUNITY_SUMMARY_ENABLED", "").lower() == "true" + ) self.MILVUS_URL = os.getenv("MILVUS_URL", "127.0.0.1") self.MILVUS_PORT = os.getenv("MILVUS_PORT", "19530") self.MILVUS_USERNAME = os.getenv("MILVUS_USERNAME", None) diff --git a/dbgpt/agent/core/action/base.py b/dbgpt/agent/core/action/base.py index 04733a13a..9061efdfa 100644 --- a/dbgpt/agent/core/action/base.py +++ b/dbgpt/agent/core/action/base.py @@ -82,10 +82,10 @@ def to_dict(self) -> Dict[str, Any]: class Action(ABC, Generic[T]): """Base Action class for defining agent actions.""" - def __init__(self): + def __init__(self, language: str = "en"): """Create an action.""" self.resource: Optional[Resource] = None - self.language: str = "en" + self.language: str = language def init_resource(self, resource: Optional[Resource]): """Initialize the resource.""" diff --git a/dbgpt/agent/core/action/blank_action.py b/dbgpt/agent/core/action/blank_action.py index e084b0738..cd19dce6b 100644 --- a/dbgpt/agent/core/action/blank_action.py +++ b/dbgpt/agent/core/action/blank_action.py @@ -12,9 +12,9 @@ class BlankAction(Action): """Blank action class.""" - def __init__(self): - """Create a blank action.""" - super().__init__() + def __init__(self, **kwargs): + """Blank action init.""" + super().__init__(**kwargs) @property def ai_out_schema(self) -> Optional[str]: diff --git a/dbgpt/agent/core/agent_manage.py b/dbgpt/agent/core/agent_manage.py index a00417566..401c36fb9 100644 --- a/dbgpt/agent/core/agent_manage.py +++ b/dbgpt/agent/core/agent_manage.py @@ -127,9 +127,6 @@ def all_agents(self) -> Dict[str, str]: def list_agents(self): """Return a list of all registered agents and their descriptions.""" result = [] - from datetime import datetime - - logger.info(f"List Agent Begin:{datetime.now()}") for name, value in self._agents.items(): result.append( { @@ -137,7 +134,6 @@ def list_agents(self): "desc": value[1].goal, } ) - logger.info(f"List Agent End:{datetime.now()}") return result diff --git a/dbgpt/agent/core/base_agent.py b/dbgpt/agent/core/base_agent.py index 48670a7bf..f1be80c71 100644 --- a/dbgpt/agent/core/base_agent.py +++ b/dbgpt/agent/core/base_agent.py @@ -673,7 +673,7 @@ def _init_actions(self, actions: List[Type[Action]]): self.actions = [] for idx, action in enumerate(actions): if issubclass(action, Action): - self.actions.append(action()) + self.actions.append(action(language=self.language)) async def _a_append_message( self, message: AgentMessage, role, sender: Agent diff --git a/dbgpt/agent/core/plan/plan_action.py b/dbgpt/agent/core/plan/plan_action.py index 41e8dbc7a..4e6f1b1f1 100644 --- a/dbgpt/agent/core/plan/plan_action.py +++ b/dbgpt/agent/core/plan/plan_action.py @@ -40,7 +40,7 @@ class PlanAction(Action[List[PlanInput]]): def __init__(self, **kwargs): """Create a plan action.""" - super().__init__() + super().__init__(**kwargs) self._render_protocol = VisAgentPlans() @property diff --git a/dbgpt/agent/expand/actions/chart_action.py b/dbgpt/agent/expand/actions/chart_action.py index 8783f517b..b2f9386a0 100644 --- a/dbgpt/agent/expand/actions/chart_action.py +++ b/dbgpt/agent/expand/actions/chart_action.py @@ -31,9 +31,9 @@ class SqlInput(BaseModel): class ChartAction(Action[SqlInput]): """Chart action class.""" - def __init__(self): - """Create a chart action.""" - super().__init__() + def __init__(self, **kwargs): + """Chart action init.""" + super().__init__(**kwargs) self._render_protocol = VisChart() @property diff --git a/dbgpt/agent/expand/actions/code_action.py b/dbgpt/agent/expand/actions/code_action.py index c8d206932..0213c85f9 100644 --- a/dbgpt/agent/expand/actions/code_action.py +++ b/dbgpt/agent/expand/actions/code_action.py @@ -16,9 +16,9 @@ class CodeAction(Action[None]): """Code Action Module.""" - def __init__(self): - """Create a code action.""" - super().__init__() + def __init__(self, **kwargs): + """Code action init.""" + super().__init__(**kwargs) self._render_protocol = VisCode() self._code_execution_config = {} diff --git a/dbgpt/agent/expand/actions/dashboard_action.py b/dbgpt/agent/expand/actions/dashboard_action.py index 0a1d909df..3d0cb127b 100644 --- a/dbgpt/agent/expand/actions/dashboard_action.py +++ b/dbgpt/agent/expand/actions/dashboard_action.py @@ -39,9 +39,9 @@ def to_dict(self): class DashboardAction(Action[List[ChartItem]]): """Dashboard action class.""" - def __init__(self): - """Create a dashboard action.""" - super().__init__() + def __init__(self, **kwargs): + """Dashboard action init.""" + super().__init__(**kwargs) self._render_protocol = VisDashboard() @property diff --git a/dbgpt/agent/expand/actions/indicator_action.py b/dbgpt/agent/expand/actions/indicator_action.py index 407d51016..314eb9dbe 100644 --- a/dbgpt/agent/expand/actions/indicator_action.py +++ b/dbgpt/agent/expand/actions/indicator_action.py @@ -41,9 +41,9 @@ class IndicatorInput(BaseModel): class IndicatorAction(Action[IndicatorInput]): """Indicator Action.""" - def __init__(self): - """Init Indicator Action.""" - super().__init__() + def __init__(self, **kwargs): + """Init indicator action.""" + super().__init__(**kwargs) self._render_protocol = VisApiResponse() @property diff --git a/dbgpt/agent/expand/actions/tool_action.py b/dbgpt/agent/expand/actions/tool_action.py index 4c49d3a61..1f8dd63d4 100644 --- a/dbgpt/agent/expand/actions/tool_action.py +++ b/dbgpt/agent/expand/actions/tool_action.py @@ -34,9 +34,9 @@ class ToolInput(BaseModel): class ToolAction(Action[ToolInput]): """Tool action class.""" - def __init__(self): - """Create a plugin action.""" - super().__init__() + def __init__(self, **kwargs): + """Tool action init.""" + super().__init__(**kwargs) self._render_protocol = VisPlugin() @property diff --git a/dbgpt/agent/resource/knowledge.py b/dbgpt/agent/resource/knowledge.py index c3f5175e0..ca651d012 100644 --- a/dbgpt/agent/resource/knowledge.py +++ b/dbgpt/agent/resource/knowledge.py @@ -73,8 +73,8 @@ async def get_prompt( prompt_template = f"\nResources-{self.name}:\n {content}" prompt_template_zh = f"\n资源-{self.name}:\n {content}" if lang == "en": - return prompt_template.format(content=content), self._get_references(chunks) - return prompt_template_zh.format(content=content), self._get_references(chunks) + return prompt_template, self._get_references(chunks) + return prompt_template_zh, self._get_references(chunks) async def get_resources( self, diff --git a/dbgpt/app/knowledge/api.py b/dbgpt/app/knowledge/api.py index 2c2ae3613..6b1a37d38 100644 --- a/dbgpt/app/knowledge/api.py +++ b/dbgpt/app/knowledge/api.py @@ -112,13 +112,15 @@ def arguments(space_id: str): @router.post("/knowledge/{space_name}/recall_test") -def recall_test( +async def recall_test( space_name: str, request: DocumentRecallTestRequest, ): print(f"/knowledge/{space_name}/recall_test params:") try: - return Result.succ(knowledge_space_service.recall_test(space_name, request)) + return Result.succ( + await knowledge_space_service.recall_test(space_name, request) + ) except Exception as e: return Result.failed(code="E000X", msg=f"{space_name} recall_test error {e}") diff --git a/dbgpt/app/knowledge/service.py b/dbgpt/app/knowledge/service.py index 50aff2e66..0aecac6e7 100644 --- a/dbgpt/app/knowledge/service.py +++ b/dbgpt/app/knowledge/service.py @@ -309,7 +309,7 @@ def get_knowledge_space_by_ids(self, ids): """ return knowledge_space_dao.get_knowledge_space_by_ids(ids) - def recall_test( + async def recall_test( self, space_name, doc_recall_test_request: DocumentRecallTestRequest ): logger.info(f"recall_test {space_name}, {doc_recall_test_request}") @@ -338,7 +338,7 @@ def recall_test( knowledge_space_retriever = KnowledgeSpaceRetriever( space_id=space.id, top_k=top_k ) - chunks = knowledge_space_retriever.retrieve_with_scores( + chunks = await knowledge_space_retriever.aretrieve_with_scores( question, score_threshold ) retrievers_end_time = timeit.default_timer() @@ -646,13 +646,16 @@ def query_graph(self, space_name, limit): graph = vector_store_connector.client.query_graph(limit=limit) res = {"nodes": [], "edges": []} for node in graph.vertices(): - res["nodes"].append({"vid": node.vid}) - for edge in graph.edges(): - res["edges"].append( + res["nodes"].append( { - "src": edge.sid, - "dst": edge.tid, - "label": edge.props[graph.edge_label], + "id": node.vid, + "communityId": node.get_prop("_community_id"), + "name": node.vid, + "type": "", } ) + for edge in graph.edges(): + res["edges"].append( + {"source": edge.sid, "target": edge.tid, "name": edge.name, "type": ""} + ) return res diff --git a/dbgpt/app/openapi/api_v1/api_v1.py b/dbgpt/app/openapi/api_v1/api_v1.py index 05e052bed..4de2666bf 100644 --- a/dbgpt/app/openapi/api_v1/api_v1.py +++ b/dbgpt/app/openapi/api_v1/api_v1.py @@ -548,6 +548,17 @@ async def chat_completions( headers=headers, media_type="text/plain", ) + except Exception as e: + logger.exception(f"Chat Exception!{dialogue}", e) + + async def error_text(err_msg): + yield f"data:{err_msg}\n\n" + + return StreamingResponse( + error_text(str(e)), + headers=headers, + media_type="text/plain", + ) finally: # write to recent usage app. if dialogue.user_name is not None and dialogue.app_code is not None: diff --git a/dbgpt/app/scene/chat_data/chat_excel/excel_analyze/chat.py b/dbgpt/app/scene/chat_data/chat_excel/excel_analyze/chat.py index e12574c8d..b78f8b6de 100644 --- a/dbgpt/app/scene/chat_data/chat_excel/excel_analyze/chat.py +++ b/dbgpt/app/scene/chat_data/chat_excel/excel_analyze/chat.py @@ -34,6 +34,8 @@ def __init__(self, chat_param: Dict): """ self.select_param = chat_param["select_param"] + if not self.select_param: + raise ValueError("Please upload the Excel document you want to talk to!") self.model_name = chat_param["model_name"] chat_param["chat_mode"] = ChatScene.ChatExcel self.chat_param = chat_param diff --git a/dbgpt/app/scene/chat_data/chat_excel/excel_reader.py b/dbgpt/app/scene/chat_data/chat_excel/excel_reader.py index a6c543840..909007e2e 100644 --- a/dbgpt/app/scene/chat_data/chat_excel/excel_reader.py +++ b/dbgpt/app/scene/chat_data/chat_excel/excel_reader.py @@ -230,7 +230,7 @@ def is_chinese(text): class ExcelReader: - def __init__(self, conv_uid, file_param): + def __init__(self, conv_uid: str, file_param: str): self.conv_uid = conv_uid self.file_param = file_param if isinstance(file_param, str) and os.path.isabs(file_param): diff --git a/dbgpt/app/static/web/404.html b/dbgpt/app/static/web/404.html index 2dd5f3630..063f1bf42 100644 --- a/dbgpt/app/static/web/404.html +++ b/dbgpt/app/static/web/404.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/404/index.html b/dbgpt/app/static/web/404/index.html index 2dd5f3630..063f1bf42 100644 --- a/dbgpt/app/static/web/404/index.html +++ b/dbgpt/app/static/web/404/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/_next/data/_LUlP8fg3TFDUAFikQDdn/construct/prompt/add.json b/dbgpt/app/static/web/_next/data/60Qx1TLPG2YRtycocqSLP/construct/prompt/add.json similarity index 100% rename from dbgpt/app/static/web/_next/data/_LUlP8fg3TFDUAFikQDdn/construct/prompt/add.json rename to dbgpt/app/static/web/_next/data/60Qx1TLPG2YRtycocqSLP/construct/prompt/add.json diff --git a/dbgpt/app/static/web/_next/data/_LUlP8fg3TFDUAFikQDdn/construct/prompt/edit.json b/dbgpt/app/static/web/_next/data/60Qx1TLPG2YRtycocqSLP/construct/prompt/edit.json similarity index 100% rename from dbgpt/app/static/web/_next/data/_LUlP8fg3TFDUAFikQDdn/construct/prompt/edit.json rename to dbgpt/app/static/web/_next/data/60Qx1TLPG2YRtycocqSLP/construct/prompt/edit.json diff --git a/dbgpt/app/static/web/_next/static/60Qx1TLPG2YRtycocqSLP/_buildManifest.js b/dbgpt/app/static/web/_next/static/60Qx1TLPG2YRtycocqSLP/_buildManifest.js new file mode 100644 index 000000000..1b70780a6 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/60Qx1TLPG2YRtycocqSLP/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(c,s,t,a,e,n,o,p,u,i,d,b,r,h,f,k,m,j,l,g,x,w,C,_,D,I,R,v,A,F,y,L,M,N,S,T,B,E,H,O,Q,U,P,q,z,G,J,K,V){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[c,s,t,a,e,n,o,p,I,"static/chunks/8733-1e1fc970bff78378.js",R,"static/chunks/pages/index-5e6d9c77aa045f89.js"],"/_error":["static/chunks/pages/_error-8095ba9e1bf12f30.js"],"/chat":[c,s,t,a,e,n,o,p,u,d,b,h,l,g,I,w,R,"static/chunks/pages/chat-59a2bde170d625eb.js"],"/construct":[s,n,r,z,"static/chunks/pages/construct-f9c701adc0a10f23.js"],"/construct/agent":[c,s,t,e,n,o,p,r,I,"static/chunks/4502-ef22a56109b9712d.js",H,"static/chunks/pages/construct/agent-7d4dec2386f99788.js"],"/construct/app":[c,s,t,a,e,n,o,p,u,r,i,f,I,G,"static/css/286e71c2657cb947.css","static/chunks/pages/construct/app-2c4183739893e04f.js"],"/construct/app/components/create-app-modal":[c,t,a,e,i,"static/css/71b2e674cdce283c.css","static/chunks/pages/construct/app/components/create-app-modal-d29a31ac0a5d15ba.js"],"/construct/app/extra":[m,C,v,A,F,y,L,M,N,Q,c,s,t,a,e,n,o,p,u,r,i,d,b,f,j,x,h,_,S,T,D,l,O,U,P,B,w,q,"static/css/096e41fbc2c0234f.css","static/chunks/pages/construct/app/extra-0cf329f3f17c4542.js"],"/construct/app/extra/components/AwelLayout":[Q,s,u,i,U,J,"static/chunks/pages/construct/app/extra/components/AwelLayout-231a0919039325c3.js"],"/construct/app/extra/components/NativeApp":[c,s,u,i,h,"static/chunks/pages/construct/app/extra/components/NativeApp-2e0df006a8557574.js"],"/construct/app/extra/components/RecommendQuestions":[c,t,a,i,"static/css/baa1b56aac6681e7.css","static/chunks/pages/construct/app/extra/components/RecommendQuestions-a80dc129e3e770f4.js"],"/construct/app/extra/components/auto-plan":[m,C,v,A,F,y,L,M,N,c,s,t,a,e,n,o,p,u,r,i,d,b,f,k,j,x,h,_,S,T,D,l,O,P,B,w,q,R,"static/chunks/pages/construct/app/extra/components/auto-plan-3bbd99c82bec4294.js"],"/construct/app/extra/components/auto-plan/DetailsCard":[m,C,v,A,F,y,L,M,N,c,s,t,a,e,n,o,p,u,r,i,d,b,f,k,j,x,h,_,S,T,D,l,O,P,B,w,q,R,"static/chunks/pages/construct/app/extra/components/auto-plan/DetailsCard-229fad6aa38ddda5.js"],"/construct/app/extra/components/auto-plan/ResourceContent":[s,u,i,"static/chunks/pages/construct/app/extra/components/auto-plan/ResourceContent-9d9a4971806e198e.js"],"/construct/app/extra/components/auto-plan/ResourcesCard":[m,c,s,t,o,u,i,O,"static/chunks/pages/construct/app/extra/components/auto-plan/ResourcesCard-0356a833d9d8dd59.js"],"/construct/app/extra/config":["static/chunks/pages/construct/app/extra/config-22c5ff4c03d2e790.js"],"/construct/database":[c,s,t,a,e,n,u,r,i,h,G,K,z,"static/chunks/pages/construct/database-1b46b8ce82ac0308.js"],"/construct/dbgpts":[c,s,t,a,e,n,o,p,r,I,"static/chunks/9277-155b475ba8c175d1.js",H,"static/chunks/pages/construct/dbgpts-6fe2b861887c6181.js"],"/construct/flow":[c,s,t,a,e,n,o,p,u,r,i,f,k,"static/chunks/9223-5d82187304ea63dc.js",H,"static/chunks/pages/construct/flow-92b0ecbc84a2efff.js"],"/construct/flow/canvas":[m,Q,c,s,t,a,e,o,u,i,d,b,f,k,j,h,l,"static/chunks/3764-90db3ed836a41b68.js",U,V,"static/chunks/7855-b4b1ad532aea6294.js","static/chunks/2490-f00798cd61d8d1fd.js",J,"static/chunks/pages/construct/flow/canvas-2b8994dafa28fde9.js"],"/construct/knowledge":[m,C,v,A,F,y,L,M,N,c,s,t,a,e,n,o,p,u,r,i,d,b,f,k,j,x,h,_,S,T,D,l,V,"static/chunks/4994-83e46168daca4f12.js",B,w,H,"static/chunks/pages/construct/knowledge-3ca2ede6e3aa6733.js"],"/construct/knowledge/chunk":[m,C,v,A,F,y,L,M,N,c,s,t,a,e,n,o,p,u,r,i,d,b,f,k,j,x,h,_,S,T,D,l,"static/chunks/5592-8dc805e9681b81e3.js",B,w,R,"static/chunks/pages/construct/knowledge/chunk-0362b26582108e59.js"],"/construct/models":[c,s,t,a,n,o,p,u,r,i,k,h,"static/chunks/3756-e7fe7d3854aa636f.js",H,"static/chunks/pages/construct/models-d40442355b76036d.js"],"/construct/prompt":[c,s,t,a,e,n,o,p,u,r,f,k,j,x,I,"static/css/6f3f201b5cbc2e30.css","static/chunks/pages/construct/prompt-25f10358ae660ca4.js"],"/construct/prompt/[type]":[c,s,t,a,n,u,r,i,b,h,D,g,K,"static/chunks/5396-52bf019cbb5ec9e6.js","static/css/279c58a83be8d59c.css","static/chunks/pages/construct/prompt/[type]-9f9751677c64ad7e.js"],"/evaluation":[c,s,t,a,e,n,p,u,i,d,f,k,j,x,I,"static/chunks/5248-06bb79d764921dd0.js","static/chunks/pages/evaluation-dff6b4d7792113fb.js"],"/knowledge/graph":[m,C,e,_,"static/chunks/2973-fdc1592501026593.js","static/chunks/4744-a431699d60da1732.js","static/chunks/5558-30a2ace72fed40b1.js","static/chunks/pages/knowledge/graph-0b55e81cbd1f6974.js"],"/mobile/chat":[c,s,t,a,e,n,o,p,d,b,g,"static/chunks/1390-db1d6f8281c4dd59.js",E,"static/chunks/pages/mobile/chat-c84a9d288f7ddb4e.js"],"/mobile/chat/components/ChatDialog":[m,C,v,A,F,y,L,M,N,c,s,t,a,e,n,o,p,u,r,d,b,f,k,j,x,h,_,S,T,D,l,"static/chunks/6388-3308b989f8a5ea15.js",B,w,R,"static/chunks/pages/mobile/chat/components/ChatDialog-be0ec9c080ae8637.js"],"/mobile/chat/components/Content":[m,C,v,A,F,y,L,M,N,c,s,t,a,e,n,o,p,u,r,d,b,f,k,j,x,h,_,S,T,D,l,"static/chunks/464-1d45eb3a49b059fc.js",B,w,R,"static/chunks/pages/mobile/chat/components/Content-bfce0c3b000c798a.js"],"/mobile/chat/components/DislikeDrawer":[c,t,a,"static/chunks/pages/mobile/chat/components/DislikeDrawer-1f058853898c3360.js"],"/mobile/chat/components/Feedback":[c,s,t,a,e,n,o,p,d,b,g,"static/chunks/4354-e57cde4433c5fd5c.js",E,"static/chunks/pages/mobile/chat/components/Feedback-5ca7567cd8dd181d.js"],"/mobile/chat/components/Header":[c,s,t,a,e,n,o,p,d,b,g,"static/chunks/950-88c84d615a45ac96.js",E,"static/chunks/pages/mobile/chat/components/Header-410f1d81bdef929a.js"],"/mobile/chat/components/InputContainer":[c,s,t,a,e,n,o,p,d,b,g,"static/chunks/6047-26e7e176b04ca9f3.js",E,"static/chunks/pages/mobile/chat/components/InputContainer-f0c44f47553a414c.js"],"/mobile/chat/components/ModelSelector":[c,s,t,a,e,n,o,p,d,b,g,"static/chunks/5005-847957d83300cf4e.js",E,"static/chunks/pages/mobile/chat/components/ModelSelector-efa0b58af3b97ec4.js"],"/mobile/chat/components/OptionIcon":["static/chunks/pages/mobile/chat/components/OptionIcon-9b7b2b198d5ee1f1.js"],"/mobile/chat/components/Resource":[c,s,t,a,e,n,o,p,d,b,g,"static/chunks/5654-e2fb6910235d251d.js",E,"static/chunks/pages/mobile/chat/components/Resource-c8bffd77ec4c89b2.js"],"/mobile/chat/components/Thermometer":[c,s,t,a,e,n,o,p,d,b,g,"static/chunks/1437-13a9042f2fa6daf7.js",E,"static/chunks/pages/mobile/chat/components/Thermometer-4f25be11b8d85c91.js"],sortedPages:["/","/_app","/_error","/chat","/construct","/construct/agent","/construct/app","/construct/app/components/create-app-modal","/construct/app/extra","/construct/app/extra/components/AwelLayout","/construct/app/extra/components/NativeApp","/construct/app/extra/components/RecommendQuestions","/construct/app/extra/components/auto-plan","/construct/app/extra/components/auto-plan/DetailsCard","/construct/app/extra/components/auto-plan/ResourceContent","/construct/app/extra/components/auto-plan/ResourcesCard","/construct/app/extra/config","/construct/database","/construct/dbgpts","/construct/flow","/construct/flow/canvas","/construct/knowledge","/construct/knowledge/chunk","/construct/models","/construct/prompt","/construct/prompt/[type]","/evaluation","/knowledge/graph","/mobile/chat","/mobile/chat/components/ChatDialog","/mobile/chat/components/Content","/mobile/chat/components/DislikeDrawer","/mobile/chat/components/Feedback","/mobile/chat/components/Header","/mobile/chat/components/InputContainer","/mobile/chat/components/ModelSelector","/mobile/chat/components/OptionIcon","/mobile/chat/components/Resource","/mobile/chat/components/Thermometer"]}}("static/chunks/2648-137ba93003e100f4.js","static/chunks/3791-58df908ca3784958.js","static/chunks/2913-9c0ff8bf7b69626b.js","static/chunks/5278-36ac2f07bcb92504.js","static/chunks/4330-a1b5cee9f3b8b8f7.js","static/chunks/8791-d36492edb39795c5.js","static/chunks/5030-1a77b99f39c3e196.js","static/chunks/5418-965d05b21b0e9810.js","static/chunks/4041-5492a10899848bfe.js","static/chunks/9859-0f9a257d2a611e9c.js","static/chunks/3799-d48c841202a23ed2.js","static/chunks/2684-73933877255629e3.js","static/chunks/2398-80f576e59bf84b54.js","static/chunks/3457-105f31ebfbb8ea1c.js","static/chunks/1300-d15ca5298cec4f7e.js","static/chunks/4567-e13d92805b9a662c.js","static/chunks/29107295-75edf0bf34e24b1e.js","static/chunks/7665-1d94b8fc3c2237e4.js","static/chunks/5782-c716125f96f3c46d.js","static/chunks/6231-082aa9c179c552ae.js","static/chunks/9773-5ed5ab08ebf03a41.js","static/chunks/9256-a5180212bfad5b01.js","static/chunks/355a6ca7-744d111cb90d9a0e.js","static/chunks/4035-e44efbdb196bb006.js","static/chunks/9202-a18f5e3aa6a290da.js","static/chunks/2783-67b811a852a75cad.js","static/css/9b601b4de5d78ac2.css","static/chunks/f9a75a99-95eebf4be8f76543.js","static/chunks/d9132460-20986b7356ae6e5c.js","static/chunks/33a1eaa4-7856035046c28279.js","static/chunks/008713dc-dc1f72d2eff49743.js","static/chunks/554c6155-1a171fdb837a225b.js","static/chunks/4d857c35-6c3c1ca79b606788.js","static/chunks/9dceabb2-9fb9f6f095369a33.js","static/chunks/6624-f7eec711b003a442.js","static/chunks/4705-2eff40c5bfd5b99a.js","static/chunks/8709-643df7d452228e64.js","static/chunks/3913-f022a8ec7ad4999d.js","static/css/f50ad89cce84a0a9.css","static/chunks/4745-5baace070c6fa86f.js","static/chunks/971df74e-f3c263af350cb1b6.js","static/chunks/1278-edc9b98f2c09de56.js","static/chunks/6356-d3b83a9ada407817.js","static/chunks/8510-0c4cfd9580234665.js","static/css/8ff116f2992cd086.css","static/chunks/5717-30366cfbe0962925.js","static/css/a275cc2b185e04f8.css","static/chunks/4393-bd13a27cd00a20d6.js","static/chunks/8914-e39d5b3463812745.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/_LUlP8fg3TFDUAFikQDdn/_ssgManifest.js b/dbgpt/app/static/web/_next/static/60Qx1TLPG2YRtycocqSLP/_ssgManifest.js similarity index 100% rename from dbgpt/app/static/web/_next/static/_LUlP8fg3TFDUAFikQDdn/_ssgManifest.js rename to dbgpt/app/static/web/_next/static/60Qx1TLPG2YRtycocqSLP/_ssgManifest.js diff --git a/dbgpt/app/static/web/_next/static/_LUlP8fg3TFDUAFikQDdn/_buildManifest.js b/dbgpt/app/static/web/_next/static/_LUlP8fg3TFDUAFikQDdn/_buildManifest.js deleted file mode 100644 index 8f333cc2e..000000000 --- a/dbgpt/app/static/web/_next/static/_LUlP8fg3TFDUAFikQDdn/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(c,t,s,a,e,n,o,p,u,i,b,r,h,d,f,m,k,j,l,g,x,C,w,_,D,I,R,v,A,F,y,L,M,N,S,T,B,E,H,O,Q,U){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[c,t,s,a,e,n,o,p,f,"static/chunks/9491-9d8b35345ca8af6d.js",I,"static/chunks/pages/index-840709426a19cb84.js"],"/_error":["static/chunks/pages/_error-8095ba9e1bf12f30.js"],"/chat":[c,t,s,a,e,n,o,p,u,b,r,h,f,m,x,_,I,"static/chunks/pages/chat-d42284a5615e370b.js"],"/construct":[t,e,d,E,"static/chunks/pages/construct-319b439e78be2143.js"],"/construct/agent":[c,t,s,e,n,o,p,i,d,f,H,"static/chunks/pages/construct/agent-fe9b1b1a107c27e4.js"],"/construct/app":[c,t,s,a,e,n,o,p,u,i,d,k,f,M,"static/css/286e71c2657cb947.css","static/chunks/pages/construct/app-c09abe4737efea80.js"],"/construct/app/components/create-app-modal":[c,s,a,n,i,"static/css/71b2e674cdce283c.css","static/chunks/pages/construct/app/components/create-app-modal-ee138c28e7c75813.js"],"/construct/app/extra":[C,R,N,c,t,s,a,e,n,o,p,u,i,d,b,r,k,j,h,f,l,w,m,g,v,A,D,x,L,S,F,_,T,"static/css/096e41fbc2c0234f.css","static/chunks/pages/construct/app/extra-cb009c91f3a8a7d4.js"],"/construct/app/extra/components/AwelLayout":[N,t,u,i,S,O,"static/chunks/pages/construct/app/extra/components/AwelLayout-ddaa4a6b5824376c.js"],"/construct/app/extra/components/NativeApp":[c,t,u,i,m,"static/chunks/pages/construct/app/extra/components/NativeApp-84139b5be810e4f8.js"],"/construct/app/extra/components/RecommendQuestions":[c,s,a,i,"static/css/baa1b56aac6681e7.css","static/chunks/pages/construct/app/extra/components/RecommendQuestions-31d13fcf36b4c9f2.js"],"/construct/app/extra/components/auto-plan":[C,R,c,t,s,a,e,n,o,p,u,i,d,b,r,k,j,h,f,l,w,m,g,v,A,D,x,L,F,_,T,I,"static/chunks/pages/construct/app/extra/components/auto-plan-5716b726d8598c10.js"],"/construct/app/extra/components/auto-plan/DetailsCard":[C,R,c,t,s,a,e,n,o,p,u,i,d,b,r,k,j,h,f,l,w,m,g,v,A,D,x,L,F,_,T,I,"static/chunks/pages/construct/app/extra/components/auto-plan/DetailsCard-8397eefbebcfaba1.js"],"/construct/app/extra/components/auto-plan/ResourceContent":[t,u,i,"static/chunks/pages/construct/app/extra/components/auto-plan/ResourceContent-f826779e9c30836d.js"],"/construct/app/extra/components/auto-plan/ResourcesCard":[C,c,t,s,o,u,i,L,"static/chunks/pages/construct/app/extra/components/auto-plan/ResourcesCard-e058cb34054ef9de.js"],"/construct/app/extra/config":["static/chunks/pages/construct/app/extra/config-f3c12bc9d870619f.js"],"/construct/database":[c,t,s,a,e,n,u,i,d,m,g,M,Q,E,"static/chunks/pages/construct/database-cf37126619f928e1.js"],"/construct/dbgpts":[c,t,s,a,e,n,o,p,i,d,f,H,"static/chunks/pages/construct/dbgpts-1ab327b075143feb.js"],"/construct/flow":[c,t,s,a,e,n,o,p,u,i,d,k,j,B,"static/chunks/pages/construct/flow-6a6f34dd4d9d2446.js"],"/construct/flow/canvas":[C,N,c,t,s,a,n,o,u,i,b,r,k,j,l,m,x,"static/chunks/3764-b45350cb2b4cc75c.js",S,U,"static/chunks/905-0f83596e5a15f70c.js","static/chunks/5376-56da7b9cd48c6939.js",O,"static/chunks/pages/construct/flow/canvas-e7f999f251346cd8.js"],"/construct/knowledge":[C,R,c,t,s,a,e,n,o,p,u,i,d,b,r,k,j,h,f,l,w,m,g,v,A,D,x,U,"static/chunks/118-ed7c92bb0f6e1f76.js",F,_,B,"static/chunks/pages/construct/knowledge-36ba0b014ada0320.js"],"/construct/knowledge/chunk":[C,R,c,t,s,a,e,n,o,p,u,i,d,b,r,k,j,h,f,l,w,m,g,v,A,D,x,"static/chunks/245-e035ffa3e6f9184e.js",F,_,I,"static/chunks/pages/construct/knowledge/chunk-e43245e0afb94fff.js"],"/construct/models":[c,t,s,a,e,o,p,u,i,d,j,m,M,B,"static/chunks/pages/construct/models-1711917289711ce5.js"],"/construct/prompt":[c,t,s,a,e,n,o,p,u,d,k,j,f,l,w,"static/css/6f3f201b5cbc2e30.css","static/chunks/pages/construct/prompt-f4f4bf731dfe5edc.js"],"/construct/prompt/[type]":[c,t,s,a,e,u,i,d,r,h,m,D,Q,"static/chunks/3485-f0ab5a7ee3c9ca60.js","static/css/279c58a83be8d59c.css","static/chunks/pages/construct/prompt/[type]-0ee7da9aef6c5786.js"],"/evaluation":[c,t,s,a,e,n,p,u,i,b,k,j,f,l,w,"static/chunks/3205-24ab90342873962a.js","static/chunks/pages/evaluation-b4a5301e64edac85.js"],"/mobile/chat":[c,t,s,a,e,n,o,p,b,r,h,"static/chunks/2524-6688060ea7aa83a3.js",y,"static/chunks/pages/mobile/chat-8fee71d4789d96bc.js"],"/mobile/chat/components/ChatDialog":[C,R,c,t,s,a,e,n,o,p,u,d,b,r,k,j,h,f,l,w,m,g,v,A,D,x,"static/chunks/4257-668156f8a1c38c56.js",F,_,I,"static/chunks/pages/mobile/chat/components/ChatDialog-287af3d0d1704f88.js"],"/mobile/chat/components/Content":[C,R,c,t,s,a,e,n,o,p,u,d,b,r,k,j,h,f,l,w,m,g,v,A,D,x,"static/chunks/242-78fac58777b2bfcd.js",F,_,I,"static/chunks/pages/mobile/chat/components/Content-8bc84af01457ddb4.js"],"/mobile/chat/components/DislikeDrawer":[c,s,a,g,"static/chunks/pages/mobile/chat/components/DislikeDrawer-f7c4edaf728f4d3b.js"],"/mobile/chat/components/Feedback":[c,t,s,a,e,n,o,p,b,r,h,g,"static/chunks/5737-5cac6ca544298b0c.js",y,"static/chunks/pages/mobile/chat/components/Feedback-28b1a5147472d8c3.js"],"/mobile/chat/components/Header":[c,t,s,a,e,n,o,p,b,r,h,"static/chunks/2293-9b8cd265e41eb091.js",y,"static/chunks/pages/mobile/chat/components/Header-4ce247cbc875627e.js"],"/mobile/chat/components/InputContainer":[c,t,s,a,e,n,o,p,b,r,h,"static/chunks/2500-b968fce58417f277.js",y,"static/chunks/pages/mobile/chat/components/InputContainer-ee3d5523871247ec.js"],"/mobile/chat/components/ModelSelector":[c,t,s,a,e,n,o,p,b,r,h,"static/chunks/8538-dbf75773f80258af.js",y,"static/chunks/pages/mobile/chat/components/ModelSelector-b1f62ecdf1d11777.js"],"/mobile/chat/components/OptionIcon":["static/chunks/pages/mobile/chat/components/OptionIcon-c8d001dd2e3fe951.js"],"/mobile/chat/components/Resource":[c,t,s,a,e,n,o,p,b,r,h,"static/chunks/7209-521abe84c6bfc433.js",y,"static/chunks/pages/mobile/chat/components/Resource-e534c888b8ca365d.js"],"/mobile/chat/components/Thermometer":[c,t,s,a,e,n,o,p,b,r,h,"static/chunks/7399-aa4b411960656a19.js",y,"static/chunks/pages/mobile/chat/components/Thermometer-e7a31ad3e9bc5531.js"],sortedPages:["/","/_app","/_error","/chat","/construct","/construct/agent","/construct/app","/construct/app/components/create-app-modal","/construct/app/extra","/construct/app/extra/components/AwelLayout","/construct/app/extra/components/NativeApp","/construct/app/extra/components/RecommendQuestions","/construct/app/extra/components/auto-plan","/construct/app/extra/components/auto-plan/DetailsCard","/construct/app/extra/components/auto-plan/ResourceContent","/construct/app/extra/components/auto-plan/ResourcesCard","/construct/app/extra/config","/construct/database","/construct/dbgpts","/construct/flow","/construct/flow/canvas","/construct/knowledge","/construct/knowledge/chunk","/construct/models","/construct/prompt","/construct/prompt/[type]","/evaluation","/mobile/chat","/mobile/chat/components/ChatDialog","/mobile/chat/components/Content","/mobile/chat/components/DislikeDrawer","/mobile/chat/components/Feedback","/mobile/chat/components/Header","/mobile/chat/components/InputContainer","/mobile/chat/components/ModelSelector","/mobile/chat/components/OptionIcon","/mobile/chat/components/Resource","/mobile/chat/components/Thermometer"]}}("static/chunks/2648-312da8c51dc12c7d.js","static/chunks/3791-f814ce3f4efc763b.js","static/chunks/4296-03a1c6f7e5fa7978.js","static/chunks/5102-ac0ec123b5c456ca.js","static/chunks/3293-00eeeedfb2d0e52d.js","static/chunks/4330-b561a3ebc6c7d177.js","static/chunks/1776-744a753b0d12343d.js","static/chunks/5418-4cb1198a87b39bf7.js","static/chunks/4041-329f36270173dc92.js","static/chunks/8232-7d47277563776def.js","static/chunks/2913-05d24ba2d215bb30.js","static/chunks/2378-dfa7314d67a753a4.js","static/chunks/6231-01c7c0033aee5719.js","static/chunks/1941-b1ab5784439b9144.js","static/chunks/2783-afe76fb57ff0a4da.js","static/chunks/3320-15447b17ad1077c7.js","static/chunks/5872-c44e0f19a507cf4a.js","static/chunks/4567-d1df11aa7b25e1cf.js","static/chunks/1531-58ba8f03b8d769ab.js","static/chunks/5265-d25a28b8e47ce90f.js","static/chunks/6212-6da268a7efc0e249.js","static/chunks/29107295-75edf0bf34e24b1e.js","static/chunks/2611-243c0c2c920951e0.js","static/chunks/9256-c28ad822e1703c70.js","static/chunks/9397-fe28251b41db0e09.js","static/css/9b601b4de5d78ac2.css","static/chunks/355a6ca7-261eadbf8f42c8f1.js","static/chunks/7332-8eb0732abfa61a4b.js","static/chunks/7530-a7f2629474af542d.js","static/chunks/8709-0fd030e811cfd483.js","static/chunks/3913-d21b4c9b2d757142.js","static/chunks/5852-455172e18d73a1f3.js","static/chunks/6261-88eb5ea7012b9da0.js","static/chunks/971df74e-5c8a2b2e1932b68d.js","static/chunks/7003-35ff135d274ba463.js","static/chunks/9200-7d8e5b566dae262d.js","static/css/f50ad89cce84a0a9.css","static/css/8ff116f2992cd086.css","static/css/5c8e4c269e2281cb.css","static/css/a275cc2b185e04f8.css","static/chunks/4393-b2ea16a41b98d023.js","static/chunks/8237-a1c0bcfc277205e0.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/008713dc-dc1f72d2eff49743.js b/dbgpt/app/static/web/_next/static/chunks/008713dc-dc1f72d2eff49743.js new file mode 100644 index 000000000..32d31b60a --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/008713dc-dc1f72d2eff49743.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2837],{25601:function(t,e,n){n.d(e,{$6:function(){return j},Aw:function(){return rg},Dk:function(){return X},F6:function(){return tC},GL:function(){return U},NB:function(){return rE},R:function(){return eC},bn:function(){return k},mN:function(){return tY}});var r,i,o,a,s,l,u,c,h,p,d,f,v,y,g,m,E,x,b,T,P,S,N,C,w,k,M,R,A,O,I,L,D,G,B,F,_,U,V,Z,Y,z,X,j,W=n(97582),H=n(14457),q=n(77160),K=n(85975),J=n(35600),$=n(98333),Q=n(32945),tt=n(31437),te=n(25897),tn=n(95147),tr=n(76714),ti=n(81957),to=n(69877),ta=n(71523),ts=n(13882),tl=n(80450),tu=n(8614),tc=n(4848),th=n(75839),tp=n(99872),td=n(92455),tf=n(65850),tv=n(28659),ty=n(83555),tg=n(71154),tm=n(5199),tE=n(90134),tx=n(4637),tb=n(84329),tT=n(16372),tP=n(11702),tS=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self,{exports:{}});tS.exports=function(){function t(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function e(t,e){return te?1:0}var n=function(t){void 0===t&&(t=9),this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function r(t,e){i(t,0,t.children.length,e,t)}function i(t,e,n,r,i){i||(i=p(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var a=e;a=t.minX&&e.maxY>=t.minY}function p(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function d(n,r,i,o,a){for(var s=[r,i];s.length;)if(i=s.pop(),r=s.pop(),!(i-r<=o)){var l=r+Math.ceil((i-r)/o/2)*o;(function e(n,r,i,o,a){for(;o>i;){if(o-i>600){var s=o-i+1,l=r-i+1,u=Math.log(s),c=.5*Math.exp(2*u/3),h=.5*Math.sqrt(u*c*(s-c)/s)*(l-s/2<0?-1:1),p=Math.max(i,Math.floor(r-l*c/s+h)),d=Math.min(o,Math.floor(r+(s-l)*c/s+h));e(n,r,p,d,a)}var f=n[r],v=i,y=o;for(t(n,i,r),a(n[o],f)>0&&t(n,i,o);va(n[v],f);)v++;for(;a(n[y],f)>0;)y--}0===a(n[i],f)?t(n,i,y):t(n,++y,o),y<=r&&(i=y+1),r<=y&&(o=y-1)}})(n,l,r||0,i||n.length-1,a||e),s.push(r,l,l,i)}}return n.prototype.all=function(){return this._all(this.data,[])},n.prototype.search=function(t){var e=this.data,n=[];if(!h(t,e))return n;for(var r=this.toBBox,i=[];e;){for(var o=0;o=0;)if(i[e].children.length>this._maxEntries)this._split(i,e),e--;else break;this._adjustParentBBoxes(r,i,e)},n.prototype._split=function(t,e){var n=t[e],i=n.children.length,o=this._minEntries;this._chooseSplitAxis(n,o,i);var a=this._chooseSplitIndex(n,o,i),s=p(n.children.splice(a,n.children.length-a));s.height=n.height,s.leaf=n.leaf,r(n,this.toBBox),r(s,this.toBBox),e?t[e-1].children.push(s):this._splitRoot(n,s)},n.prototype._splitRoot=function(t,e){this.data=p([t,e]),this.data.height=t.height+1,this.data.leaf=!1,r(this.data,this.toBBox)},n.prototype._chooseSplitIndex=function(t,e,n){for(var r,o=1/0,a=1/0,s=e;s<=n-e;s++){var u=i(t,0,s,this.toBBox),c=i(t,s,n,this.toBBox),h=function(t,e){var n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY);return Math.max(0,Math.min(t.maxX,e.maxX)-n)*Math.max(0,Math.min(t.maxY,e.maxY)-r)}(u,c),p=l(u)+l(c);h=e;d--){var f=t.children[d];o(l,t.leaf?a(f):f),c+=u(l)}return c},n.prototype._adjustParentBBoxes=function(t,e,n){for(var r=n;r>=0;r--)o(e[r],t)},n.prototype._condense=function(t){for(var e=t.length-1,n=void 0;e>=0;e--)0===t[e].children.length?e>0?(n=t[e-1].children).splice(n.indexOf(t[e]),1):this.clear():r(t[e],this.toBBox)},n}();var tN=tS.exports;(r=k||(k={})).GROUP="g",r.CIRCLE="circle",r.ELLIPSE="ellipse",r.IMAGE="image",r.RECT="rect",r.LINE="line",r.POLYLINE="polyline",r.POLYGON="polygon",r.TEXT="text",r.PATH="path",r.HTML="html",r.MESH="mesh",(i=M||(M={}))[i.ZERO=0]="ZERO",i[i.NEGATIVE_ONE=1]="NEGATIVE_ONE";var tC=function(){function t(){this.plugins=[]}return t.prototype.addRenderingPlugin=function(t){this.plugins.push(t),this.context.renderingPlugins.push(t)},t.prototype.removeAllRenderingPlugins=function(){var t=this;this.plugins.forEach(function(e){var n=t.context.renderingPlugins.indexOf(e);n>=0&&t.context.renderingPlugins.splice(n,1)})},t}();function tw(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function tk(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function tM(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function tR(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function tA(t){return void 0===t?0:t>360||t<-360?t%360:t}function tO(t,e,n){return(void 0===e&&(e=0),void 0===n&&(n=0),Array.isArray(t)&&3===t.length)?q.d9(t):(0,te.Z)(t)?q.al(t,e,n):q.al(t[0],t[1]||e,t[2]||n)}function tI(t){return t*(Math.PI/180)}function tL(t){return t*(180/Math.PI)}function tD(t,e){var n,r,i,o,a,s,l,u,c,h,p,d,f,v,y,g,m;return 16===e.length?(i=.5*Math.PI,a=(o=(0,W.CR)(K.getScaling(q.Ue(),e),3))[0],s=o[1],l=o[2],(u=Math.asin(-e[2]/a))-i?(n=Math.atan2(e[6]/s,e[10]/l),r=Math.atan2(e[1]/a,e[0]/a)):(r=0,n=-Math.atan2(e[4]/s,e[5]/s)):(r=0,n=Math.atan2(e[4]/s,e[5]/s)),t[0]=n,t[1]=u,t[2]=r,t):(c=e[0],h=e[1],p=e[2],d=e[3],g=c*c+(f=h*h)+(v=p*p)+(y=d*d),(m=c*d-h*p)>.499995*g?(t[0]=Math.PI/2,t[1]=2*Math.atan2(h,c),t[2]=0):m<-.499995*g?(t[0]=-Math.PI/2,t[1]=2*Math.atan2(h,c),t[2]=0):(t[0]=Math.asin(2*(c*p-d*h)),t[1]=Math.atan2(2*(c*d+h*p),1-2*(v+y)),t[2]=Math.atan2(2*(c*h+p*d),1-2*(f+v))),t)}function tG(t){var e=t[0],n=t[1],r=t[3],i=t[4],o=Math.sqrt(e*e+n*n),a=Math.sqrt(r*r+i*i);e*i-n*r<0&&(e-1&&this.plugins.splice(e,1)},t.prototype.getPlugins=function(){return this.plugins},t.prototype.getPlugin=function(t){return this.plugins.find(function(e){return e.name===t})},t.prototype.getConfig=function(){return this.config},t.prototype.setConfig=function(t){Object.assign(this.config,t)}}();var tB=K.create(),tF=K.create(),t_=$.Ue(),tU=[q.Ue(),q.Ue(),q.Ue()],tV=q.Ue();function tZ(t,e,n,r,i){t[0]=e[0]*r+n[0]*i,t[1]=e[1]*r+n[1]*i,t[2]=e[2]*r+n[2]*i}var tY=function(){function t(){this.center=[0,0,0],this.halfExtents=[0,0,0],this.min=[0,0,0],this.max=[0,0,0]}return t.isEmpty=function(t){return!t||0===t.halfExtents[0]&&0===t.halfExtents[1]&&0===t.halfExtents[2]},t.prototype.update=function(t,e){tw(this.center,t),tw(this.halfExtents,e),tk(this.min,this.center,this.halfExtents),tM(this.max,this.center,this.halfExtents)},t.prototype.setMinMax=function(t,e){tM(this.center,e,t),tR(this.center,this.center,.5),tk(this.halfExtents,e,t),tR(this.halfExtents,this.halfExtents,.5),tw(this.min,t),tw(this.max,e)},t.prototype.getMin=function(){return this.min},t.prototype.getMax=function(){return this.max},t.prototype.add=function(e){if(!t.isEmpty(e)){if(t.isEmpty(this)){this.setMinMax(e.getMin(),e.getMax());return}var n=this.center,r=n[0],i=n[1],o=n[2],a=this.halfExtents,s=a[0],l=a[1],u=a[2],c=r-s,h=r+s,p=i-l,d=i+l,f=o-u,v=o+u,y=e.center,g=y[0],m=y[1],E=y[2],x=e.halfExtents,b=x[0],T=x[1],P=x[2],S=g-b,N=g+b,C=m-T,w=m+T,k=E-P,M=E+P;Sh&&(h=N),Cd&&(d=w),kv&&(v=M),n[0]=(c+h)*.5,n[1]=(p+d)*.5,n[2]=(f+v)*.5,a[0]=(h-c)*.5,a[1]=(d-p)*.5,a[2]=(v-f)*.5,this.min[0]=c,this.min[1]=p,this.min[2]=f,this.max[0]=h,this.max[1]=d,this.max[2]=v}},t.prototype.setFromTransformedAABB=function(t,e){var n=this.center,r=this.halfExtents,i=t.center,o=t.halfExtents,a=e[0],s=e[4],l=e[8],u=e[1],c=e[5],h=e[9],p=e[2],d=e[6],f=e[10],v=Math.abs(a),y=Math.abs(s),g=Math.abs(l),m=Math.abs(u),E=Math.abs(c),x=Math.abs(h),b=Math.abs(p),T=Math.abs(d),P=Math.abs(f);n[0]=e[12]+a*i[0]+s*i[1]+l*i[2],n[1]=e[13]+u*i[0]+c*i[1]+h*i[2],n[2]=e[14]+p*i[0]+d*i[1]+f*i[2],r[0]=v*o[0]+y*o[1]+g*o[2],r[1]=m*o[0]+E*o[1]+x*o[2],r[2]=b*o[0]+T*o[1]+P*o[2],tk(this.min,n,r),tM(this.max,n,r)},t.prototype.intersects=function(t){var e=this.getMax(),n=this.getMin(),r=t.getMax(),i=t.getMin();return n[0]<=r[0]&&e[0]>=i[0]&&n[1]<=r[1]&&e[1]>=i[1]&&n[2]<=r[2]&&e[2]>=i[2]},t.prototype.intersection=function(e){if(!this.intersects(e))return null;var n,r,i,o,a,s,l=new t,u=(n=[0,0,0],r=this.getMin(),i=e.getMin(),n[0]=Math.max(r[0],i[0]),n[1]=Math.max(r[1],i[1]),n[2]=Math.max(r[2],i[2]),n),c=(o=[0,0,0],a=this.getMax(),s=e.getMax(),o[0]=Math.min(a[0],s[0]),o[1]=Math.min(a[1],s[1]),o[2]=Math.min(a[2],s[2]),o);return l.setMinMax(u,c),l},t.prototype.getNegativeFarPoint=function(t){if(273===t.pnVertexFlag)return tw([0,0,0],this.min);if(272===t.pnVertexFlag)return[this.min[0],this.min[1],this.max[2]];if(257===t.pnVertexFlag)return[this.min[0],this.max[1],this.min[2]];if(256===t.pnVertexFlag)return[this.min[0],this.max[1],this.max[2]];if(17===t.pnVertexFlag)return[this.max[0],this.min[1],this.min[2]];if(16===t.pnVertexFlag)return[this.max[0],this.min[1],this.max[2]];if(1===t.pnVertexFlag)return[this.max[0],this.max[1],this.min[2]];else return[this.max[0],this.max[1],this.max[2]]},t.prototype.getPositiveFarPoint=function(t){if(273===t.pnVertexFlag)return tw([0,0,0],this.max);if(272===t.pnVertexFlag)return[this.max[0],this.max[1],this.min[2]];if(257===t.pnVertexFlag)return[this.max[0],this.min[1],this.max[2]];if(256===t.pnVertexFlag)return[this.max[0],this.min[1],this.min[2]];if(17===t.pnVertexFlag)return[this.min[0],this.max[1],this.max[2]];if(16===t.pnVertexFlag)return[this.min[0],this.max[1],this.min[2]];if(1===t.pnVertexFlag)return[this.min[0],this.min[1],this.max[2]];else return[this.min[0],this.min[1],this.min[2]]},t}(),tz=function(){function t(t,e){this.distance=t||0,this.normal=e||q.al(0,1,0),this.updatePNVertexFlag()}return t.prototype.updatePNVertexFlag=function(){this.pnVertexFlag=(Number(this.normal[0]>=0)<<8)+(Number(this.normal[1]>=0)<<4)+Number(this.normal[2]>=0)},t.prototype.distanceToPoint=function(t){return q.AK(t,this.normal)-this.distance},t.prototype.normalize=function(){var t=1/q.Zh(this.normal);q.bA(this.normal,this.normal,t),this.distance*=t},t.prototype.intersectsLine=function(t,e,n){var r=this.distanceToPoint(t),i=r/(r-this.distanceToPoint(e)),o=i>=0&&i<=1;return o&&n&&q.t7(n,t,e,i),o},t}();(o=R||(R={}))[o.OUTSIDE=4294967295]="OUTSIDE",o[o.INSIDE=0]="INSIDE",o[o.INDETERMINATE=2147483647]="INDETERMINATE";var tX=function(){function t(t){if(this.planes=[],t)this.planes=t;else for(var e=0;e<6;e++)this.planes.push(new tz)}return t.prototype.extractFromVPMatrix=function(t){var e=(0,W.CR)(t,16),n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],h=e[9],p=e[10],d=e[11],f=e[12],v=e[13],y=e[14],g=e[15];q.t8(this.planes[0].normal,o-n,u-a,d-c),this.planes[0].distance=g-f,q.t8(this.planes[1].normal,o+n,u+a,d+c),this.planes[1].distance=g+f,q.t8(this.planes[2].normal,o+r,u+s,d+h),this.planes[2].distance=g+v,q.t8(this.planes[3].normal,o-r,u-s,d-h),this.planes[3].distance=g-v,q.t8(this.planes[4].normal,o-i,u-l,d-p),this.planes[4].distance=g-y,q.t8(this.planes[5].normal,o+i,u+l,d+p),this.planes[5].distance=g+y,this.planes.forEach(function(t){t.normalize(),t.updatePNVertexFlag()})},t}(),tj=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.x=0,this.y=0,this.x=t,this.y=e}return t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.copyFrom=function(t){this.x=t.x,this.y=t.y},t}(),tW=function(){function t(t,e,n,r){this.x=t,this.y=e,this.width=n,this.height=r,this.left=t,this.right=t+n,this.top=e,this.bottom=e+r}return t.prototype.toJSON=function(){},t}(),tH="Method not implemented.",tq="Use document.documentElement instead.";(a=A||(A={}))[a.ORBITING=0]="ORBITING",a[a.EXPLORING=1]="EXPLORING",a[a.TRACKING=2]="TRACKING",(s=O||(O={}))[s.DEFAULT=0]="DEFAULT",s[s.ROTATIONAL=1]="ROTATIONAL",s[s.TRANSLATIONAL=2]="TRANSLATIONAL",s[s.CINEMATIC=3]="CINEMATIC",(l=I||(I={}))[l.ORTHOGRAPHIC=0]="ORTHOGRAPHIC",l[l.PERSPECTIVE=1]="PERSPECTIVE";var tK={UPDATED:"updated"},tJ=function(){function t(){this.clipSpaceNearZ=M.NEGATIVE_ONE,this.eventEmitter=new H.Z,this.matrix=K.create(),this.right=q.al(1,0,0),this.up=q.al(0,1,0),this.forward=q.al(0,0,1),this.position=q.al(0,0,1),this.focalPoint=q.al(0,0,0),this.distanceVector=q.al(0,0,-1),this.distance=1,this.azimuth=0,this.elevation=0,this.roll=0,this.relAzimuth=0,this.relElevation=0,this.relRoll=0,this.dollyingStep=0,this.maxDistance=1/0,this.minDistance=-1/0,this.zoom=1,this.rotateWorld=!1,this.fov=30,this.near=.1,this.far=1e3,this.aspect=1,this.projectionMatrix=K.create(),this.projectionMatrixInverse=K.create(),this.jitteredProjectionMatrix=void 0,this.enableUpdate=!0,this.type=A.EXPLORING,this.trackingMode=O.DEFAULT,this.projectionMode=I.PERSPECTIVE,this.frustum=new tX,this.orthoMatrix=K.create()}return t.prototype.isOrtho=function(){return this.projectionMode===I.ORTHOGRAPHIC},t.prototype.getProjectionMode=function(){return this.projectionMode},t.prototype.getPerspective=function(){return this.jitteredProjectionMatrix||this.projectionMatrix},t.prototype.getPerspectiveInverse=function(){return this.projectionMatrixInverse},t.prototype.getFrustum=function(){return this.frustum},t.prototype.getPosition=function(){return this.position},t.prototype.getFocalPoint=function(){return this.focalPoint},t.prototype.getDollyingStep=function(){return this.dollyingStep},t.prototype.getNear=function(){return this.near},t.prototype.getFar=function(){return this.far},t.prototype.getZoom=function(){return this.zoom},t.prototype.getOrthoMatrix=function(){return this.orthoMatrix},t.prototype.getView=function(){return this.view},t.prototype.setEnableUpdate=function(t){this.enableUpdate=t},t.prototype.setType=function(t,e){return this.type=t,this.type===A.EXPLORING?this.setWorldRotation(!0):this.setWorldRotation(!1),this._getAngles(),this.type===A.TRACKING&&void 0!==e&&this.setTrackingMode(e),this},t.prototype.setProjectionMode=function(t){return this.projectionMode=t,this},t.prototype.setTrackingMode=function(t){if(this.type!==A.TRACKING)throw Error("Impossible to set a tracking mode if the camera is not of tracking type");return this.trackingMode=t,this},t.prototype.setWorldRotation=function(t){return this.rotateWorld=t,this._getAngles(),this},t.prototype.getViewTransform=function(){return K.invert(K.create(),this.matrix)},t.prototype.getWorldTransform=function(){return this.matrix},t.prototype.jitterProjectionMatrix=function(t,e){var n=K.fromTranslation(K.create(),[t,e,0]);this.jitteredProjectionMatrix=K.multiply(K.create(),n,this.projectionMatrix)},t.prototype.clearJitterProjectionMatrix=function(){this.jitteredProjectionMatrix=void 0},t.prototype.setMatrix=function(t){return this.matrix=t,this._update(),this},t.prototype.setProjectionMatrix=function(t){this.projectionMatrix=t},t.prototype.setFov=function(t){return this.setPerspective(this.near,this.far,t,this.aspect),this},t.prototype.setAspect=function(t){return this.setPerspective(this.near,this.far,this.fov,t),this},t.prototype.setNear=function(t){return this.projectionMode===I.PERSPECTIVE?this.setPerspective(t,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,t,this.far),this},t.prototype.setFar=function(t){return this.projectionMode===I.PERSPECTIVE?this.setPerspective(this.near,t,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,t),this},t.prototype.setViewOffset=function(t,e,n,r,i,o){return this.aspect=t/e,void 0===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=o,this.projectionMode===I.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this},t.prototype.clearViewOffset=function(){return void 0!==this.view&&(this.view.enabled=!1),this.projectionMode===I.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this},t.prototype.setZoom=function(t){return this.zoom=t,this.projectionMode===I.ORTHOGRAPHIC?this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far):this.projectionMode===I.PERSPECTIVE&&this.setPerspective(this.near,this.far,this.fov,this.aspect),this},t.prototype.setZoomByViewportPoint=function(t,e){var n=this.canvas.viewport2Canvas({x:e[0],y:e[1]}),r=n.x,i=n.y,o=this.roll;this.rotate(0,0,-o),this.setPosition(r,i),this.setFocalPoint(r,i),this.setZoom(t),this.rotate(0,0,o);var a=this.canvas.viewport2Canvas({x:e[0],y:e[1]}),s=a.x,l=a.y,u=q.al(s-r,l-i,0),c=q.AK(u,this.right)/q.kE(this.right),h=q.AK(u,this.up)/q.kE(this.up);return this.pan(-c,-h),this},t.prototype.setPerspective=function(t,e,n,r){this.projectionMode=I.PERSPECTIVE,this.fov=n,this.near=t,this.far=e,this.aspect=r;var i,o,a,s,l,u,c,h,p,d=this.near*Math.tan(tI(.5*this.fov))/this.zoom,f=2*d,v=this.aspect*f,y=-.5*v;if(null===(p=this.view)||void 0===p?void 0:p.enabled){var g=this.view.fullWidth,m=this.view.fullHeight;y+=this.view.offsetX*v/g,d-=this.view.offsetY*f/m,v*=this.view.width/g,f*=this.view.height/m}return i=this.projectionMatrix,o=y,a=y+v,s=d,l=d-f,u=this.far,this.clipSpaceNearZ===M.ZERO?(c=-u/(u-t),h=-u*t/(u-t)):(c=-(u+t)/(u-t),h=-2*u*t/(u-t)),i[0]=2*t/(a-o),i[1]=0,i[2]=0,i[3]=0,i[4]=0,i[5]=2*t/(s-l),i[6]=0,i[7]=0,i[8]=(a+o)/(a-o),i[9]=(s+l)/(s-l),i[10]=c,i[11]=-1,i[12]=0,i[13]=0,i[14]=h,i[15]=0,K.scale(this.projectionMatrix,this.projectionMatrix,q.al(1,-1,1)),K.invert(this.projectionMatrixInverse,this.projectionMatrix),this.triggerUpdate(),this},t.prototype.setOrthographic=function(t,e,n,r,i,o){this.projectionMode=I.ORTHOGRAPHIC,this.rright=e,this.left=t,this.top=n,this.bottom=r,this.near=i,this.far=o;var a,s=(this.rright-this.left)/(2*this.zoom),l=(this.top-this.bottom)/(2*this.zoom),u=(this.rright+this.left)/2,c=(this.top+this.bottom)/2,h=u-s,p=u+s,d=c+l,f=c-l;if(null===(a=this.view)||void 0===a?void 0:a.enabled){var v=(this.rright-this.left)/this.view.fullWidth/this.zoom,y=(this.top-this.bottom)/this.view.fullHeight/this.zoom;h+=v*this.view.offsetX,p=h+v*this.view.width,d-=y*this.view.offsetY,f=d-y*this.view.height}return this.clipSpaceNearZ===M.NEGATIVE_ONE?K.ortho(this.projectionMatrix,h,p,f,d,i,o):K.orthoZO(this.projectionMatrix,h,p,f,d,i,o),K.scale(this.projectionMatrix,this.projectionMatrix,q.al(1,-1,1)),K.invert(this.projectionMatrixInverse,this.projectionMatrix),this._getOrthoMatrix(),this.triggerUpdate(),this},t.prototype.setPosition=function(t,e,n){void 0===e&&(e=this.position[1]),void 0===n&&(n=this.position[2]);var r=tO(t,e,n);return this._setPosition(r),this.setFocalPoint(this.focalPoint),this.triggerUpdate(),this},t.prototype.setFocalPoint=function(t,e,n){void 0===e&&(e=this.focalPoint[1]),void 0===n&&(n=this.focalPoint[2]);var r=q.al(0,1,0);if(this.focalPoint=tO(t,e,n),this.trackingMode===O.CINEMATIC){var i=q.$X(q.Ue(),this.focalPoint,this.position);t=i[0],e=i[1],n=i[2];var o=tL(Math.asin(e/q.kE(i))),a=90+tL(Math.atan2(n,t)),s=K.create();K.rotateY(s,s,tI(a)),K.rotateX(s,s,tI(o)),r=q.fF(q.Ue(),[0,1,0],s)}return K.invert(this.matrix,K.lookAt(K.create(),this.position,this.focalPoint,r)),this._getAxes(),this._getDistance(),this._getAngles(),this.triggerUpdate(),this},t.prototype.getDistance=function(){return this.distance},t.prototype.getDistanceVector=function(){return this.distanceVector},t.prototype.setDistance=function(t){if(this.distance===t||t<0)return this;this.distance=t,this.distance<2e-4&&(this.distance=2e-4),this.dollyingStep=this.distance/100;var e=q.Ue();t=this.distance;var n=this.forward,r=this.focalPoint;return e[0]=t*n[0]+r[0],e[1]=t*n[1]+r[1],e[2]=t*n[2]+r[2],this._setPosition(e),this.triggerUpdate(),this},t.prototype.setMaxDistance=function(t){return this.maxDistance=t,this},t.prototype.setMinDistance=function(t){return this.minDistance=t,this},t.prototype.setAzimuth=function(t){return this.azimuth=tA(t),this.computeMatrix(),this._getAxes(),this.type===A.ORBITING||this.type===A.EXPLORING?this._getPosition():this.type===A.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getAzimuth=function(){return this.azimuth},t.prototype.setElevation=function(t){return this.elevation=tA(t),this.computeMatrix(),this._getAxes(),this.type===A.ORBITING||this.type===A.EXPLORING?this._getPosition():this.type===A.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getElevation=function(){return this.elevation},t.prototype.setRoll=function(t){return this.roll=tA(t),this.computeMatrix(),this._getAxes(),this.type===A.ORBITING||this.type===A.EXPLORING?this._getPosition():this.type===A.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getRoll=function(){return this.roll},t.prototype._update=function(){this._getAxes(),this._getPosition(),this._getDistance(),this._getAngles(),this._getOrthoMatrix(),this.triggerUpdate()},t.prototype.computeMatrix=function(){var t=Q.yY(Q.Ue(),[0,0,1],tI(this.roll));K.identity(this.matrix);var e=Q.yY(Q.Ue(),[1,0,0],tI((this.rotateWorld&&this.type!==A.TRACKING||this.type===A.TRACKING?1:-1)*this.elevation)),n=Q.yY(Q.Ue(),[0,1,0],tI((this.rotateWorld&&this.type!==A.TRACKING||this.type===A.TRACKING?1:-1)*this.azimuth)),r=Q.Jp(Q.Ue(),n,e);r=Q.Jp(Q.Ue(),r,t);var i=K.fromQuat(K.create(),r);this.type===A.ORBITING||this.type===A.EXPLORING?(K.translate(this.matrix,this.matrix,this.focalPoint),K.multiply(this.matrix,this.matrix,i),K.translate(this.matrix,this.matrix,[0,0,this.distance])):this.type===A.TRACKING&&(K.translate(this.matrix,this.matrix,this.position),K.multiply(this.matrix,this.matrix,i))},t.prototype._setPosition=function(t,e,n){this.position=tO(t,e,n);var r=this.matrix;r[12]=this.position[0],r[13]=this.position[1],r[14]=this.position[2],r[15]=1,this._getOrthoMatrix()},t.prototype._getAxes=function(){q.JG(this.right,tO($.fF($.Ue(),[1,0,0,0],this.matrix))),q.JG(this.up,tO($.fF($.Ue(),[0,1,0,0],this.matrix))),q.JG(this.forward,tO($.fF($.Ue(),[0,0,1,0],this.matrix))),q.Fv(this.right,this.right),q.Fv(this.up,this.up),q.Fv(this.forward,this.forward)},t.prototype._getAngles=function(){var t=this.distanceVector[0],e=this.distanceVector[1],n=this.distanceVector[2],r=q.kE(this.distanceVector);if(0===r){this.elevation=0,this.azimuth=0;return}this.type===A.TRACKING?(this.elevation=tL(Math.asin(e/r)),this.azimuth=tL(Math.atan2(-t,-n))):this.rotateWorld?(this.elevation=tL(Math.asin(e/r)),this.azimuth=tL(Math.atan2(-t,-n))):(this.elevation=-tL(Math.asin(e/r)),this.azimuth=-tL(Math.atan2(-t,-n)))},t.prototype._getPosition=function(){q.JG(this.position,tO($.fF($.Ue(),[0,0,0,1],this.matrix))),this._getDistance()},t.prototype._getFocalPoint=function(){q.kK(this.distanceVector,[0,0,-this.distance],J.xO(J.Ue(),this.matrix)),q.IH(this.focalPoint,this.position,this.distanceVector),this._getDistance()},t.prototype._getDistance=function(){this.distanceVector=q.$X(q.Ue(),this.focalPoint,this.position),this.distance=q.kE(this.distanceVector),this.dollyingStep=this.distance/100},t.prototype._getOrthoMatrix=function(){if(this.projectionMode===I.ORTHOGRAPHIC){var t=this.position,e=Q.yY(Q.Ue(),[0,0,1],-this.roll*Math.PI/180);K.fromRotationTranslationScaleOrigin(this.orthoMatrix,e,q.al((this.rright-this.left)/2-t[0],(this.top-this.bottom)/2-t[1],0),q.al(this.zoom,this.zoom,1),t)}},t.prototype.triggerUpdate=function(){if(this.enableUpdate){var t=this.getViewTransform(),e=K.multiply(K.create(),this.getPerspective(),t);this.getFrustum().extractFromVPMatrix(e),this.eventEmitter.emit(tK.UPDATED)}},t.prototype.rotate=function(t,e,n){throw Error(tH)},t.prototype.pan=function(t,e){throw Error(tH)},t.prototype.dolly=function(t){throw Error(tH)},t.prototype.createLandmark=function(t,e){throw Error(tH)},t.prototype.gotoLandmark=function(t,e){throw Error(tH)},t.prototype.cancelLandmarkAnimation=function(){throw Error(tH)},t}();function t$(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var n=function(){for(var r=[],i=0;i=L.kEms&&t=_.kUnitType&&this.getType()<=_.kClampType},t}(),t4=function(t){function e(e){var n=t.call(this)||this;return n.colorSpace=e,n}return(0,W.ZT)(e,t),e.prototype.getType=function(){return _.kColorType},e.prototype.to=function(t){return this},e}(t5);(v=U||(U={}))[v.Constant=0]="Constant",v[v.LinearGradient=1]="LinearGradient",v[v.RadialGradient=2]="RadialGradient";var t9=function(t){function e(e,n){var r=t.call(this)||this;return r.type=e,r.value=n,r}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.type,this.value)},e.prototype.buildCSSText=function(t,e,n){return n},e.prototype.getType=function(){return _.kColorType},e}(t5),t8=function(t){function e(e){var n=t.call(this)||this;return n.value=e,n}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.value)},e.prototype.getType=function(){return _.kKeywordType},e.prototype.buildCSSText=function(t,e,n){return n+this.value},e}(t5),t6=t$(function(t){return void 0===t&&(t=""),t.replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})}),t7=function(t){return t.split("").map(function(t,e){return t.toUpperCase()===t?"".concat(0!==e?"-":"").concat(t.toLowerCase()):t}).join("")};function et(t){return"function"==typeof t}var ee={d:{alias:"path"},strokeDasharray:{alias:"lineDash"},strokeWidth:{alias:"lineWidth"},textAnchor:{alias:"textAlign"},src:{alias:"img"}},en=t$(function(t){var e=t6(t),n=ee[e];return(null==n?void 0:n.alias)||e}),er=function(t,e){void 0===e&&(e="");var n="";return Number.isFinite(t)?(function(t){if(!t)throw Error()}(Number.isNaN(t)),n="NaN"):n=t>0?"infinity":"-infinity",n+e},ei=function(t){return t1(t0(t))},eo=function(t){function e(e,n){void 0===n&&(n=L.kNumber);var r,i,o=t.call(this)||this;return i="string"==typeof n?(r=n)?"number"===r?L.kNumber:"percent"===r||"%"===r?L.kPercentage:tQ.find(function(t){return t.name===r}).unit_type:L.kUnknown:n,o.unit=i,o.value=e,o}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.value,this.unit)},e.prototype.equals=function(t){return this.value===t.value&&this.unit===t.unit},e.prototype.getType=function(){return _.kUnitType},e.prototype.convertTo=function(t){if(this.unit===t)return new e(this.value,this.unit);var n=ei(this.unit);if(n!==ei(t)||n===L.kUnknown)return null;var r=t2(this.unit)/t2(t);return new e(this.value*r,t)},e.prototype.buildCSSText=function(t,e,n){var r;switch(this.unit){case L.kUnknown:break;case L.kInteger:r=Number(this.value).toFixed(0);break;case L.kNumber:case L.kPercentage:case L.kEms:case L.kRems:case L.kPixels:case L.kDegrees:case L.kRadians:case L.kGradians:case L.kMilliseconds:case L.kSeconds:case L.kTurns:var i=this.value,o=t3(this.unit);if(i<-999999||i>999999){var a=t3(this.unit);r=!Number.isFinite(i)||Number.isNaN(i)?er(i,a):i+(a||"")}else r="".concat(i).concat(o)}return n+r},e}(t5),ea=new eo(0,"px");new eo(1,"px");var es=new eo(0,"deg"),el=function(t){function e(e,n,r,i,o){void 0===i&&(i=1),void 0===o&&(o=!1);var a=t.call(this,"rgb")||this;return a.r=e,a.g=n,a.b=r,a.alpha=i,a.isNone=o,a}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.r,this.g,this.b,this.alpha)},e.prototype.buildCSSText=function(t,e,n){return n+"rgba(".concat(this.r,",").concat(this.g,",").concat(this.b,",").concat(this.alpha,")")},e}(t4),eu=new t8("unset"),ec={"":eu,unset:eu,initial:new t8("initial"),inherit:new t8("inherit")},eh=function(t){return ec[t]||(ec[t]=new t8(t)),ec[t]},ep=new el(0,0,0,0,!0),ed=new el(0,0,0,0),ef=t$(function(t,e,n,r){return new el(t,e,n,r)},function(t,e,n,r){return"rgba(".concat(t,",").concat(e,",").concat(n,",").concat(r,")")}),ev=function(t,e){return void 0===e&&(e=L.kNumber),new eo(t,e)};new eo(50,"%"),(y=V||(V={}))[y.Standard=0]="Standard",(g=Z||(Z={}))[g.ADDED=0]="ADDED",g[g.REMOVED=1]="REMOVED",g[g.Z_INDEX_CHANGED=2]="Z_INDEX_CHANGED";var ey={absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new tW(0,0,0,0)};(m=Y||(Y={})).COORDINATE="",m.COLOR="",m.PAINT="",m.NUMBER="",m.ANGLE="",m.OPACITY_VALUE="",m.SHADOW_BLUR="",m.LENGTH="",m.PERCENTAGE="",m.LENGTH_PERCENTAGE=" | ",m.LENGTH_PERCENTAGE_12="[ | ]{1,2}",m.LENGTH_PERCENTAGE_14="[ | ]{1,4}",m.LIST_OF_POINTS="",m.PATH="",m.FILTER="",m.Z_INDEX="",m.OFFSET_DISTANCE="",m.DEFINED_PATH="",m.MARKER="",m.TRANSFORM="",m.TRANSFORM_ORIGIN="",m.TEXT="",m.TEXT_TRANSFORM="";var eg=function(){var t={linearGradient:/^(linear\-gradient)/i,repeatingLinearGradient:/^(repeating\-linear\-gradient)/i,radialGradient:/^(radial\-gradient)/i,repeatingRadialGradient:/^(repeating\-radial\-gradient)/i,conicGradient:/^(conic\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},e="";function n(t){throw Error(e+": "+t)}function r(){return i("linear-gradient",t.linearGradient,a)||i("repeating-linear-gradient",t.repeatingLinearGradient,a)||i("radial-gradient",t.radialGradient,s)||i("repeating-radial-gradient",t.repeatingRadialGradient,s)||i("conic-gradient",t.conicGradient,s)}function i(e,r,i){return o(r,function(r){var o=i();return o&&!m(t.comma)&&n("Missing comma before color stops"),{type:e,orientation:o,colorStops:p(d)}})}function o(e,r){var i=m(e);if(i){m(t.startCall)||n("Missing (");var o=r(i);return m(t.endCall)||n("Missing )"),o}}function a(){return g("directional",t.sideOrCorner,1)||g("angular",t.angleValue,1)}function s(){var n,r,i=l();return i&&((n=[]).push(i),r=e,m(t.comma)&&((i=l())?n.push(i):e=r)),n}function l(){var t,e,n=((t=g("shape",/^(circle)/i,0))&&(t.style=y()||u()),t||((e=g("shape",/^(ellipse)/i,0))&&(e.style=v()||u()),e));if(n)n.at=c();else{var r=u();if(r){n=r;var i=c();i&&(n.at=i)}else{var o=h();o&&(n={type:"default-radial",at:o})}}return n}function u(){return g("extent-keyword",t.extentKeywords,1)}function c(){if(g("position",/^at/,0)){var t=h();return t||n("Missing positioning value"),t}}function h(){var t={x:v(),y:v()};if(t.x||t.y)return{type:"position",value:t}}function p(e){var r=e(),i=[];if(r)for(i.push(r);m(t.comma);)(r=e())?i.push(r):n("One extra comma");return i}function d(){var e=g("hex",t.hexColor,1)||o(t.rgbaColor,function(){return{type:"rgba",value:p(f)}})||o(t.rgbColor,function(){return{type:"rgb",value:p(f)}})||g("literal",t.literalColor,0);return e||n("Expected color definition"),e.length=v(),e}function f(){return m(t.number)[1]}function v(){return g("%",t.percentageValue,1)||g("position-keyword",t.positionKeywords,1)||y()}function y(){return g("px",t.pixelValue,1)||g("em",t.emValue,1)}function g(t,e,n){var r=m(e);if(r)return{type:t,value:r[n]}}function m(t){var n=/^[\n\r\t\s]+/.exec(e);n&&E(n[0].length);var r=t.exec(e);return r&&E(r[0].length),r}function E(t){e=e.substring(t)}return function(t){var i;return e=t,i=p(r),e.length>0&&n("Invalid input not EOF"),i}}(),em=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,eE=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,ex=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,eb=/[\d.]+:(#[^\s]+|[^\)]+\))/gi,eT={left:180,top:-90,bottom:90,right:0,"left top":225,"top left":225,"left bottom":135,"bottom left":135,"right top":-45,"top right":-45,"right bottom":45,"bottom right":45},eP=t$(function(t){return ev("angular"===t.type?Number(t.value):eT[t.value]||0,"deg")}),eS=t$(function(t){var e=50,n=50,r="%",i="%";if((null==t?void 0:t.type)==="position"){var o=t.value,a=o.x,s=o.y;(null==a?void 0:a.type)==="position-keyword"&&("left"===a.value?e=0:"center"===a.value?e=50:"right"===a.value?e=100:"top"===a.value?n=0:"bottom"===a.value&&(n=100)),(null==s?void 0:s.type)==="position-keyword"&&("left"===s.value?e=0:"center"===s.value?n=50:"right"===s.value?e=100:"top"===s.value?n=0:"bottom"===s.value&&(n=100)),((null==a?void 0:a.type)==="px"||(null==a?void 0:a.type)==="%"||(null==a?void 0:a.type)==="em")&&(r=null==a?void 0:a.type,e=Number(a.value)),((null==s?void 0:s.type)==="px"||(null==s?void 0:s.type)==="%"||(null==s?void 0:s.type)==="em")&&(i=null==s?void 0:s.type,n=Number(s.value))}return{cx:ev(e,r),cy:ev(n,i)}}),eN=t$(function(t){if(t.indexOf("linear")>-1||t.indexOf("radial")>-1){var e;return eg(t).map(function(t){var e=t.type,n=t.orientation,r=t.colorStops;!function(t){var e,n,r,i=t.length;t[i-1].length=null!==(e=t[i-1].length)&&void 0!==e?e:{type:"%",value:"100"},i>1&&(t[0].length=null!==(n=t[0].length)&&void 0!==n?n:{type:"%",value:"0"});for(var o=0,a=Number(t[0].length.value),s=1;s=0)return ev(Number(e),"px");if("deg".search(t)>=0)return ev(Number(e),"deg")}var n=[];e=e.replace(t,function(t){return n.push(t),"U"+t});var r="U("+t.source+")";return n.map(function(t){return ev(Number(e.replace(RegExp("U"+t,"g"),"").replace(RegExp(r,"g"),"*0")),t)})[0]}var eA=function(t){return eR(/px/g,t)},eO=t$(eA);t$(function(t){return eR(RegExp("%","g"),t)});var eI=function(t){return(0,te.Z)(t)||isFinite(Number(t))?ev(Number(t)||0,"px"):eR(RegExp("px|%|em|rem","g"),t)},eL=t$(eI),eD=function(t){return eR(RegExp("deg|rad|grad|turn","g"),t)},eG=t$(eD);function eB(t){var e=0;return t.unit===L.kDegrees?e=t.value:t.unit===L.kRadians?e=tL(Number(t.value)):t.unit===L.kTurns&&(e=360*Number(t.value)),e}function eF(t,e){var n;return(Array.isArray(t)?n=t.map(function(t){return Number(t)}):(0,tr.Z)(t)?n=t.split(" ").map(function(t){return Number(t)}):(0,te.Z)(t)&&(n=[t]),2===e)?1===n.length?[n[0],n[0]]:[n[0],n[1]]:1===n.length?[n[0],n[0],n[0],n[0]]:2===n.length?[n[0],n[1],n[0],n[1]]:3===n.length?[n[0],n[1],n[2],n[1]]:[n[0],n[1],n[2],n[3]]}function e_(t){return(0,tr.Z)(t)?t.split(" ").map(function(t){return eL(t)}):t.map(function(t){return eL(t.toString())})}function eU(t,e,n,r){if(void 0===r&&(r=!1),t.unit===L.kPixels)return Number(t.value);if(t.unit===L.kPercentage&&n){var i=n.nodeName===k.GROUP?n.getLocalBounds():n.getGeometryBounds();return(r?i.min[e]:0)+t.value/100*i.halfExtents[e]*2}return 0}var eV=["blur","brightness","drop-shadow","contrast","grayscale","sepia","saturate","hue-rotate","invert"];function eZ(t){if(void 0===t&&(t=""),"none"===(t=t.toLowerCase().trim()))return[];for(var e,n=/\s*([\w-]+)\(([^)]*)\)/g,r=[],i=0;(e=n.exec(t))&&e.index===i;)if(i=e.index+e[0].length,eV.indexOf(e[1])>-1&&r.push({name:e[1],params:e[2].split(" ").map(function(t){return eR(/deg|rad|grad|turn|px|%/g,t)||ek(t)})}),n.lastIndex===t.length)return r;return[]}function eY(t){return t.toString()}var ez=function(t){return"number"==typeof t?ev(t):/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t)?ev(Number(t)):ev(0)},eX=t$(ez);function ej(t,e){return[t,e,eY]}function eW(t,e){return function(n,r){return[n,r,function(n){return eY((0,ti.Z)(n,t,e))}]}}function eH(t,e){if(t.length===e.length)return[t,e,function(t){return t}]}function eq(t){return 0===t.parsedStyle.d.totalLength&&(t.parsedStyle.d.totalLength=(0,to.D)(t.parsedStyle.d.absolutePath)),t.parsedStyle.d.totalLength}function eK(t,e){return t[0]===e[0]&&t[1]===e[1]}function eJ(t,e){var n=t.prePoint,r=t.currentPoint,i=t.nextPoint,o=Math.pow(r[0]-n[0],2)+Math.pow(r[1]-n[1],2),a=Math.pow(r[0]-i[0],2)+Math.pow(r[1]-i[1],2),s=Math.acos((o+a-(Math.pow(n[0]-i[0],2)+Math.pow(n[1]-i[1],2)))/(2*Math.sqrt(o)*Math.sqrt(a)));if(!s||0===Math.sin(s)||(0,tl.Z)(s,0))return{xExtra:0,yExtra:0};var l=Math.abs(Math.atan2(i[1]-r[1],i[0]-r[0])),u=Math.abs(Math.atan2(i[0]-r[0],i[1]-r[1]));return{xExtra:Math.cos(s/2-(l=l>Math.PI/2?Math.PI-l:l))*(e/2*(1/Math.sin(s/2)))-e/2||0,yExtra:Math.cos((u=u>Math.PI/2?Math.PI-u:u)-s/2)*(e/2*(1/Math.sin(s/2)))-e/2||0}}function e$(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}t$(function(t){return(0,tr.Z)(t)?t.split(" ").map(eX):t.map(eX)});var eQ=function(t,e){var n=t.x*e.x+t.y*e.y,r=Math.sqrt((Math.pow(t.x,2)+Math.pow(t.y,2))*(Math.pow(e.x,2)+Math.pow(e.y,2)));return(t.x*e.y-t.y*e.x<0?-1:1)*Math.acos(n/r)},e0=function(t,e,n,r,i,o,a,s){e=Math.abs(e),n=Math.abs(n);var l=tI(r=(0,tu.Z)(r,360));if(t.x===a.x&&t.y===a.y)return{x:t.x,y:t.y,ellipticalArcAngle:0};if(0===e||0===n)return{x:0,y:0,ellipticalArcAngle:0};var u=(t.x-a.x)/2,c=(t.y-a.y)/2,h={x:Math.cos(l)*u+Math.sin(l)*c,y:-Math.sin(l)*u+Math.cos(l)*c},p=Math.pow(h.x,2)/Math.pow(e,2)+Math.pow(h.y,2)/Math.pow(n,2);p>1&&(e=Math.sqrt(p)*e,n=Math.sqrt(p)*n);var d=(Math.pow(e,2)*Math.pow(n,2)-Math.pow(e,2)*Math.pow(h.y,2)-Math.pow(n,2)*Math.pow(h.x,2))/(Math.pow(e,2)*Math.pow(h.y,2)+Math.pow(n,2)*Math.pow(h.x,2)),f=(i!==o?1:-1)*Math.sqrt(d=d<0?0:d),v={x:f*(e*h.y/n),y:f*(-(n*h.x)/e)},y={x:Math.cos(l)*v.x-Math.sin(l)*v.y+(t.x+a.x)/2,y:Math.sin(l)*v.x+Math.cos(l)*v.y+(t.y+a.y)/2},g={x:(h.x-v.x)/e,y:(h.y-v.y)/n},m=eQ({x:1,y:0},g),E=eQ(g,{x:(-h.x-v.x)/e,y:(-h.y-v.y)/n});!o&&E>0?E-=2*Math.PI:o&&E<0&&(E+=2*Math.PI);var x=m+(E%=2*Math.PI)*s,b=e*Math.cos(x),T=n*Math.sin(x);return{x:Math.cos(l)*b-Math.sin(l)*T+y.x,y:Math.sin(l)*b+Math.cos(l)*T+y.y,ellipticalArcStartAngle:m,ellipticalArcEndAngle:m+E,ellipticalArcAngle:x,ellipticalArcCenter:y,resultantRx:e,resultantRy:n}};function e1(t,e,n){void 0===n&&(n=!0);var r=t.arcParams,i=r.rx,o=void 0===i?0:i,a=r.ry,s=void 0===a?0:a,l=r.xRotation,u=r.arcFlag,c=r.sweepFlag,h=e0({x:t.prePoint[0],y:t.prePoint[1]},o,s,l,!!u,!!c,{x:t.currentPoint[0],y:t.currentPoint[1]},e),p=e0({x:t.prePoint[0],y:t.prePoint[1]},o,s,l,!!u,!!c,{x:t.currentPoint[0],y:t.currentPoint[1]},n?e+.005:e-.005),d=p.x-h.x,f=p.y-h.y,v=Math.sqrt(d*d+f*f);return{x:-d/v,y:-f/v}}function e2(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function e3(t,e){return e2(t)*e2(e)?(t[0]*e[0]+t[1]*e[1])/(e2(t)*e2(e)):1}function e5(t,e){return(t[0]*e[1]0&&n.push(r),{polygons:e,polylines:n}}(e),i=r.polygons,o=r.polylines,a=function(t){for(var e=[],n=null,r=null,i=null,o=0,a=t.length,s=0;s1&&(n*=Math.sqrt(d),r*=Math.sqrt(d));var f=n*n*(p*p)+r*r*(h*h),v=f?Math.sqrt((n*n*(r*r)-f)/f):1;o===a&&(v*=-1),isNaN(v)&&(v=0);var y=r?v*n*p/r:0,g=n?-(v*r)*h/n:0,m=(s+u)/2+Math.cos(i)*y-Math.sin(i)*g,E=(l+c)/2+Math.sin(i)*y+Math.cos(i)*g,x=[(h-y)/n,(p-g)/r],b=[(-1*h-y)/n,(-1*p-g)/r],T=e5([1,0],x),P=e5(x,b);return -1>=e3(x,b)&&(P=Math.PI),e3(x,b)>=1&&(P=0),0===a&&P>0&&(P-=2*Math.PI),1===a&&P<0&&(P+=2*Math.PI),{cx:m,cy:E,rx:eK(t,[u,c])?0:n,ry:eK(t,[u,c])?0:r,startAngle:T,endAngle:T+P,xRotation:i,arcFlag:o,sweepFlag:a}}(n,l);c.arcParams=h}if("Z"===u)n=i,r=t[o+1];else{var p=l.length;n=[l[p-2],l[p-1]]}r&&"Z"===r[0]&&(r=t[o],e[o]&&(e[o].prePoint=n)),c.currentPoint=n,e[o]&&eK(n,e[o].currentPoint)&&(e[o].prePoint=c.prePoint);var d=r?[r[r.length-2],r[r.length-1]]:null;c.nextPoint=d;var f=c.prePoint;if(["L","H","V"].includes(u))c.startTangent=[f[0]-n[0],f[1]-n[1]],c.endTangent=[n[0]-f[0],n[1]-f[1]];else if("Q"===u){var v=[l[1],l[2]];c.startTangent=[f[0]-v[0],f[1]-v[1]],c.endTangent=[n[0]-v[0],n[1]-v[1]]}else if("T"===u){var y=e[s-1],v=e$(y.currentPoint,f);"Q"===y.command?(c.command="Q",c.startTangent=[f[0]-v[0],f[1]-v[1]],c.endTangent=[n[0]-v[0],n[1]-v[1]]):(c.command="TL",c.startTangent=[f[0]-n[0],f[1]-n[1]],c.endTangent=[n[0]-f[0],n[1]-f[1]])}else if("C"===u){var g=[l[1],l[2]],m=[l[3],l[4]];c.startTangent=[f[0]-g[0],f[1]-g[1]],c.endTangent=[n[0]-m[0],n[1]-m[1]],0===c.startTangent[0]&&0===c.startTangent[1]&&(c.startTangent=[g[0]-m[0],g[1]-m[1]]),0===c.endTangent[0]&&0===c.endTangent[1]&&(c.endTangent=[m[0]-g[0],m[1]-g[1]])}else if("S"===u){var y=e[s-1],g=e$(y.currentPoint,f),m=[l[1],l[2]];"C"===y.command?(c.command="C",c.startTangent=[f[0]-g[0],f[1]-g[1]],c.endTangent=[n[0]-m[0],n[1]-m[1]]):(c.command="SQ",c.startTangent=[f[0]-m[0],f[1]-m[1]],c.endTangent=[n[0]-m[0],n[1]-m[1]])}else if("A"===u){var E=e1(c,0),x=E.x,b=E.y,T=e1(c,1,!1),P=T.x,S=T.y;c.startTangent=[x,b],c.endTangent=[P,S]}e.push(c)}return e}(e),s=function(t,e){for(var n=[],r=[],i=[],o=0;oMath.abs(K.determinant(tF))))){var a=tB[3],s=tB[7],l=tB[11],u=tB[12],c=tB[13],h=tB[14],p=tB[15];if(0!==a||0!==s||0!==l){if(t_[0]=a,t_[1]=s,t_[2]=l,t_[3]=p,!K.invert(tF,tF))return;K.transpose(tF,tF),$.fF(i,t_,tF)}else i[0]=i[1]=i[2]=0,i[3]=1;if(e[0]=u,e[1]=c,e[2]=h,tU[0][0]=tB[0],tU[0][1]=tB[1],tU[0][2]=tB[2],tU[1][0]=tB[4],tU[1][1]=tB[5],tU[1][2]=tB[6],tU[2][0]=tB[8],tU[2][1]=tB[9],tU[2][2]=tB[10],n[0]=q.kE(tU[0]),q.Fv(tU[0],tU[0]),r[0]=q.AK(tU[0],tU[1]),tZ(tU[1],tU[1],tU[0],1,-r[0]),n[1]=q.kE(tU[1]),q.Fv(tU[1],tU[1]),r[0]/=n[1],r[1]=q.AK(tU[0],tU[2]),tZ(tU[2],tU[2],tU[0],1,-r[1]),r[2]=q.AK(tU[1],tU[2]),tZ(tU[2],tU[2],tU[1],1,-r[2]),n[2]=q.kE(tU[2]),q.Fv(tU[2],tU[2]),r[1]/=n[2],r[2]/=n[2],q.kC(tV,tU[1],tU[2]),0>q.AK(tU[0],tV))for(var d=0;d<3;d++)n[d]*=-1,tU[d][0]*=-1,tU[d][1]*=-1,tU[d][2]*=-1;o[0]=.5*Math.sqrt(Math.max(1+tU[0][0]-tU[1][1]-tU[2][2],0)),o[1]=.5*Math.sqrt(Math.max(1-tU[0][0]+tU[1][1]-tU[2][2],0)),o[2]=.5*Math.sqrt(Math.max(1-tU[0][0]-tU[1][1]+tU[2][2],0)),o[3]=.5*Math.sqrt(Math.max(1+tU[0][0]+tU[1][1]+tU[2][2],0)),tU[2][1]>tU[1][2]&&(o[0]=-o[0]),tU[0][2]>tU[2][0]&&(o[1]=-o[1]),tU[1][0]>tU[0][1]&&(o[2]=-o[2])}}(0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(na).reduce(ns),e,n,r,i,o),[[e,n,r,o,i]]}var nu=function(){function t(t,e){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=e[r][o]*t[o][i];return n}return function(e,n,r,i,o){for(var a,s=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],l=0;l<4;l++)s[l][3]=o[l];for(var l=0;l<3;l++)for(var u=0;u<3;u++)s[3][l]+=e[u]*s[u][l];var c=i[0],h=i[1],p=i[2],d=i[3],f=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];f[0][0]=1-2*(h*h+p*p),f[0][1]=2*(c*h-p*d),f[0][2]=2*(c*p+h*d),f[1][0]=2*(c*h+p*d),f[1][1]=1-2*(c*c+p*p),f[1][2]=2*(h*p-c*d),f[2][0]=2*(c*p-h*d),f[2][1]=2*(h*p+c*d),f[2][2]=1-2*(c*c+h*h),s=t(s,f);var v=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];r[2]&&(v[2][1]=r[2],s=t(s,v)),r[1]&&(v[2][1]=0,v[2][0]=r[0],s=t(s,v)),r[0]&&(v[2][0]=0,v[1][0]=r[0],s=t(s,v));for(var l=0;l<3;l++)for(var u=0;u<3;u++)s[l][u]*=n[l];return 0==(a=s)[0][2]&&0==a[0][3]&&0==a[1][2]&&0==a[1][3]&&0==a[2][0]&&0==a[2][1]&&1==a[2][2]&&0==a[2][3]&&0==a[3][2]&&1==a[3][3]?[s[0][0],s[0][1],s[1][0],s[1][1],s[3][0],s[3][1]]:s[0].concat(s[1],s[2],s[3])}}();function nc(t){return t.toFixed(6).replace(".000000","")}function nh(t,e){var n,r;return(t.decompositionPair!==e&&(t.decompositionPair=e,n=nl(t)),e.decompositionPair!==t&&(e.decompositionPair=t,r=nl(e)),null===n[0]||null===r[0])?[[!1],[!0],function(n){return n?e[0].d:t[0].d}]:(n[0].push(0),r[0].push(1),[n,r,function(t){var e=function(t,e,n){var r=function(t,e){for(var n=0,r=0;r"].calculator(null,null,{value:e.textTransform},t,null),(0,tg.Z)(e.clipPath)||this.runtime.CSSPropertySyntaxFactory[""].calculator("clipPath",p,e.clipPath,t,this.runtime),e.offsetPath&&this.runtime.CSSPropertySyntaxFactory[""].calculator("offsetPath",d,e.offsetPath,t,this.runtime),e.transform&&(t.parsedStyle.transform=ni(e.transform)),e.transformOrigin&&(t.parsedStyle.transformOrigin=nv(e.transformOrigin)),e.markerStart&&(t.parsedStyle.markerStart=this.runtime.CSSPropertySyntaxFactory[""].calculator(null,e.markerStart,e.markerStart,null,null)),e.markerEnd&&(t.parsedStyle.markerEnd=this.runtime.CSSPropertySyntaxFactory[""].calculator(null,e.markerEnd,e.markerEnd,null,null)),e.markerMid&&(t.parsedStyle.markerMid=this.runtime.CSSPropertySyntaxFactory[""].calculator("",e.markerMid,e.markerMid,null,null)),(0,tn.Z)(e.zIndex)||this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),(0,tn.Z)(e.offsetDistance)||this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),e.transform&&this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),e.transformOrigin&&this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),f&&(t.geometry.dirty=!0,t.renderable.boundsDirty=!0,t.renderable.renderBoundsDirty=!0,n.forceUpdateGeometry||this.runtime.sceneGraphService.dirtifyToRoot(t))}},t.prototype.parseProperty=function(t,e,n,r){var i=nx[t],o=e;if((""===e||(0,tn.Z)(e))&&(e="unset"),"unset"===e||"initial"===e||"inherit"===e)o=eh(e);else if(i){var a=i.k,s=i.syntax,l=s&&this.getPropertySyntax(s);a&&a.indexOf(e)>-1?o=eh(e):l&&(!r&&l.parserUnmemoize?o=l.parserUnmemoize(e,n):l.parser&&(o=l.parser(e,n)))}return o},t.prototype.computeProperty=function(t,e,n,r){var i=nx[t],o="g-root"===n.id,a=e;if(i){var s=i.syntax,l=i.inh,u=i.d;if(e instanceof t8){var c=e.value;if("unset"===c&&(c=l&&!o?"inherit":"initial"),"initial"===c)(0,tn.Z)(u)||(e=this.parseProperty(t,et(u)?u(n.nodeName):u,n,r));else if("inherit"===c){var h=this.tryToResolveProperty(n,t,{inherited:!0});return(0,tn.Z)(h)?void this.addUnresolveProperty(n,t):h}}var p=s&&this.getPropertySyntax(s);if(p&&p.calculator){var d=n.parsedStyle[t];a=p.calculator(t,d,e,n,this.runtime)}else a=e instanceof t8?e.value:e}return a},t.prototype.postProcessProperty=function(t,e,n){var r=nx[t];if(r&&r.syntax){var i=r.syntax&&this.getPropertySyntax(r.syntax);i&&i.postProcessor&&i.postProcessor(e,n)}},t.prototype.addUnresolveProperty=function(t,e){var n=nb.get(t);n||(nb.set(t,[]),n=nb.get(t)),-1===n.indexOf(e)&&n.push(e)},t.prototype.tryToResolveProperty=function(t,e,n){if(void 0===n&&(n={}),n.inherited&&t.parentElement&&nT(t.parentElement,e)){var r=t.parentElement.parsedStyle[e];if("unset"!==r&&"initial"!==r&&"inherit"!==r)return r}},t.prototype.recalc=function(t){var e=nb.get(t);if(e&&e.length){var n={};e.forEach(function(e){n[e]=t.attributes[e]}),this.processProperties(t,n),nb.delete(t)}},t.prototype.updateGeometry=function(t){var e=t.nodeName,n=this.runtime.geometryUpdaterFactory[e];if(n){var r=t.geometry;r.contentBounds||(r.contentBounds=new tY),r.renderBounds||(r.renderBounds=new tY);var i=t.parsedStyle,o=n.update(i,t),a=o.cx,s=o.cy,l=o.cz,u=o.hwidth,c=void 0===u?0:u,h=o.hheight,p=void 0===h?0:h,d=o.hdepth,f=[Math.abs(c),Math.abs(p),void 0===d?0:d],v=i.stroke,y=i.lineWidth,g=i.increasedLineWidthForHitTesting,m=i.shadowType,E=void 0===m?"outer":m,x=i.shadowColor,b=i.filter,T=i.transformOrigin,P=[void 0===a?0:a,void 0===s?0:s,void 0===l?0:l];r.contentBounds.update(P,f);var S=e===k.POLYLINE||e===k.POLYGON||e===k.PATH?Math.SQRT2:.5;if(v&&!v.isNone){var N=(((void 0===y?1:y)||0)+((void 0===g?0:g)||0))*S;f[0]+=N,f[1]+=N}if(r.renderBounds.update(P,f),x&&E&&"inner"!==E){var C=r.renderBounds,w=C.min,M=C.max,R=i.shadowBlur,A=i.shadowOffsetX,O=i.shadowOffsetY,I=R||0,L=A||0,D=O||0,G=w[0]-I+L,B=M[0]+I+L,F=w[1]-I+D,_=M[1]+I+D;w[0]=Math.min(w[0],G),M[0]=Math.max(M[0],B),w[1]=Math.min(w[1],F),M[1]=Math.max(M[1],_),r.renderBounds.setMinMax(w,M)}(void 0===b?[]:b).forEach(function(t){var e=t.name,n=t.params;if("blur"===e){var i=n[0].value;r.renderBounds.update(r.renderBounds.center,tM(r.renderBounds.halfExtents,r.renderBounds.halfExtents,[i,i,0]))}else if("drop-shadow"===e){var o=n[0].value,a=n[1].value,s=n[2].value,l=r.renderBounds,u=l.min,c=l.max,h=u[0]-s+o,p=c[0]+s+o,d=u[1]-s+a,f=c[1]+s+a;u[0]=Math.min(u[0],h),c[0]=Math.max(c[0],p),u[1]=Math.min(u[1],d),c[1]=Math.max(c[1],f),r.renderBounds.setMinMax(u,c)}}),t.geometry.dirty=!1;var U=p<0,V=(c<0?-1:1)*(T?eU(T[0],0,t,!0):0),Z=(U?-1:1)*(T?eU(T[1],1,t,!0):0);(V||Z)&&t.setOrigin(V,Z)}},t.prototype.updateSizeAttenuation=function(t,e){t.style.isSizeAttenuation?(t.style.rawLineWidth||(t.style.rawLineWidth=t.style.lineWidth),t.style.lineWidth=(t.style.rawLineWidth||1)/e,t.nodeName===k.CIRCLE&&(t.style.rawR||(t.style.rawR=t.style.r),t.style.r=(t.style.rawR||1)/e)):(t.style.rawLineWidth&&(t.style.lineWidth=t.style.rawLineWidth,delete t.style.rawLineWidth),t.nodeName===k.CIRCLE&&t.style.rawR&&(t.style.r=t.style.rawR,delete t.style.rawR))},t.prototype.isPropertyInheritable=function(t){var e=nx[t];return!!e&&e.inh},t}(),nS=function(){function t(){this.parser=eG,this.parserUnmemoize=eD,this.parserWithCSSDisabled=null,this.mixer=ej}return t.prototype.calculator=function(t,e,n,r){return eB(n)},t}(),nN=function(){function t(){}return t.prototype.calculator=function(t,e,n,r,i){return n instanceof t8&&(n=null),i.sceneGraphService.updateDisplayObjectDependency(t,e,n,r),"clipPath"===t&&r.forEach(function(t){0===t.childNodes.length&&i.sceneGraphService.dirtifyToRoot(t)}),n},t}(),nC=function(){function t(){this.parser=ek,this.parserWithCSSDisabled=ek,this.mixer=eM}return t.prototype.calculator=function(t,e,n,r){return n instanceof t8?"none"===n.value?ep:ed:n},t}(),nw=function(){function t(){this.parser=eZ}return t.prototype.calculator=function(t,e,n){return n instanceof t8?[]:n},t}();function nk(t){var e=t.parsedStyle.fontSize;return(0,tn.Z)(e)?null:e}var nM=function(){function t(){this.parser=eL,this.parserUnmemoize=eI,this.parserWithCSSDisabled=null,this.mixer=ej}return t.prototype.calculator=function(t,e,n,r,i){if((0,te.Z)(n))return n;if(!eo.isRelativeUnit(n.unit))return n.value;var o,a=i.styleValueRegistry;if(n.unit===L.kPercentage)return 0;if(n.unit===L.kEms){if(r.parentNode){var s=nk(r.parentNode);if(s)return s*n.value;a.addUnresolveProperty(r,t)}else a.addUnresolveProperty(r,t);return 0}if(n.unit===L.kRems){if(null===(o=null==r?void 0:r.ownerDocument)||void 0===o?void 0:o.documentElement){var s=nk(r.ownerDocument.documentElement);if(s)return s*n.value;a.addUnresolveProperty(r,t)}else a.addUnresolveProperty(r,t);return 0}},t}(),nR=function(){function t(){this.mixer=eH}return t.prototype.parser=function(t){var e=e_((0,te.Z)(t)?[t]:t);return 1===e.length?[e[0],e[0]]:[e[0],e[1]]},t.prototype.calculator=function(t,e,n){return n.map(function(t){return t.value})},t}(),nA=function(){function t(){this.mixer=eH}return t.prototype.parser=function(t){var e=e_((0,te.Z)(t)?[t]:t);return 1===e.length?[e[0],e[0],e[0],e[0]]:2===e.length?[e[0],e[1],e[0],e[1]]:3===e.length?[e[0],e[1],e[2],e[1]]:[e[0],e[1],e[2],e[3]]},t.prototype.calculator=function(t,e,n){return n.map(function(t){return t.value})},t}(),nO=function(){function t(){}return t.prototype.calculator=function(t,e,n,r){n instanceof t8&&(n=null);var i=null==n?void 0:n.cloneNode(!0);return i&&(i.style.isMarker=!0),i},t}(),nI=function(){function t(){this.mixer=ej,this.parser=eX,this.parserUnmemoize=ez,this.parserWithCSSDisabled=null}return t.prototype.calculator=function(t,e,n){return n.value},t}(),nL=function(){function t(){this.parser=eX,this.parserUnmemoize=ez,this.parserWithCSSDisabled=null,this.mixer=eW(0,1)}return t.prototype.calculator=function(t,e,n){return n.value},t.prototype.postProcessor=function(t){var e=t.parsedStyle,n=e.offsetPath,r=e.offsetDistance;if(n){var i=n.nodeName;if(i===k.LINE||i===k.PATH||i===k.POLYLINE){var o=n.getPoint(r);o&&t.setLocalPosition(o.x,o.y)}}},t}(),nD=function(){function t(){this.parser=eX,this.parserUnmemoize=ez,this.parserWithCSSDisabled=null,this.mixer=eW(0,1)}return t.prototype.calculator=function(t,e,n){return n.value},t}(),nG=function(){function t(){this.parser=e8,this.parserWithCSSDisabled=e8,this.mixer=e6}return t.prototype.calculator=function(t,e,n){return n instanceof t8&&"unset"===n.value?{absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new tW(0,0,0,0)}:n},t}(),nB=function(t){function e(){var e=t.apply(this,(0,W.ev)([],(0,W.CR)(arguments),!1))||this;return e.mixer=eW(0,1/0),e}return(0,W.ZT)(e,t),e}(nM),nF=function(){function t(){}return t.prototype.calculator=function(t,e,n,r){return n instanceof t8?"unset"===n.value?"":n.value:"".concat(n)},t.prototype.postProcessor=function(t){t.nodeValue="".concat(t.parsedStyle.text)||""},t}(),n_=function(){function t(){}return t.prototype.calculator=function(t,e,n,r){var i=r.getAttribute("text");if(i){var o=i;"capitalize"===n.value?o=i.charAt(0).toUpperCase()+i.slice(1):"lowercase"===n.value?o=i.toLowerCase():"uppercase"===n.value&&(o=i.toUpperCase()),r.parsedStyle.text=o}return n.value},t}(),nU={},nV=0,nZ="undefined"!=typeof window&&void 0!==window.document;function nY(t,e){var n=Number(t.parsedStyle.zIndex||0),r=Number(e.parsedStyle.zIndex||0);if(n===r){var i=t.parentNode;if(i){var o=i.childNodes||[];return o.indexOf(t)-o.indexOf(e)}}return n-r}function nz(t,e){if(nZ)return document.defaultView.getComputedStyle(t,null).getPropertyValue(e)}var nX={touchstart:"pointerdown",touchend:"pointerup",touchendoutside:"pointerupoutside",touchmove:"pointermove",touchcancel:"pointercancel"},nj="object"==typeof performance&&performance.now?performance:Date,nW=1,nH="object"==typeof self&&self.self==self?self:"object"==typeof n.g&&n.g.global==n.g?n.g:{},nq=Date.now(),nK={},nJ=Date.now(),n$=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function");var e=Date.now(),n=e-nJ,r=nW++;return nK[r]=t,Object.keys(nK).length>1||setTimeout(function(){nJ=e;var t=nK;nK={},Object.keys(t).forEach(function(e){return t[e](nH.performance&&"function"==typeof nH.performance.now?nH.performance.now():Date.now()-nq)})},n>16?0:16-n),r},nQ=function(t){return"string"!=typeof t?n$:""===t?nH.requestAnimationFrame:nH[t+"RequestAnimationFrame"]},n0=function(t,e){for(var n=0;void 0!==t[n];){if(e(t[n]))return t[n];n+=1}}(["","webkit","moz","ms","o"],function(t){return!!nQ(t)}),n1=nQ(n0),n2="string"!=typeof n0?function(t){delete nK[t]}:""===n0?nH.cancelAnimationFrame:nH[n0+"CancelAnimationFrame"]||nH[n0+"CancelRequestAnimationFrame"];nH.requestAnimationFrame=n1,nH.cancelAnimationFrame=n2;var n3=function(){function t(){this.callbacks=[]}return t.prototype.getCallbacksNum=function(){return this.callbacks.length},t.prototype.tapPromise=function(t,e){this.callbacks.push(e)},t.prototype.promise=function(){for(var t=[],e=0;e-1){var l=(0,W.CR)(t.split(":"),2),u=l[0];t=l[1],s=u,a=!0}if(t=r?"".concat(t,"capture"):t,e=et(e)?e:e.handleEvent,a){var c=e;e=function(){for(var t,e=[],n=0;n0},e.prototype.isDefaultNamespace=function(t){throw Error(tH)},e.prototype.lookupNamespaceURI=function(t){throw Error(tH)},e.prototype.lookupPrefix=function(t){throw Error(tH)},e.prototype.normalize=function(){throw Error(tH)},e.prototype.isEqualNode=function(t){return this===t},e.prototype.isSameNode=function(t){return this.isEqualNode(t)},Object.defineProperty(e.prototype,"parent",{get:function(){return this.parentNode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentElement",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.childNodes.length>0?this.childNodes[0]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.childNodes.length>0?this.childNodes[this.childNodes.length-1]:null},enumerable:!1,configurable:!0}),e.prototype.compareDocumentPosition=function(t){if(t===this)return 0;for(var n,r=t,i=this,o=[r],a=[i];null!==(n=r.parentNode)&&void 0!==n?n:i.parentNode;)r=r.parentNode?(o.push(r.parentNode),r.parentNode):r,i=i.parentNode?(a.push(i.parentNode),i.parentNode):i;if(r!==i)return e.DOCUMENT_POSITION_DISCONNECTED|e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|e.DOCUMENT_POSITION_PRECEDING;var s=o.length>a.length?o:a,l=s===o?a:o;if(s[s.length-l.length]===l[0])return s===o?e.DOCUMENT_POSITION_CONTAINED_BY|e.DOCUMENT_POSITION_FOLLOWING:e.DOCUMENT_POSITION_CONTAINS|e.DOCUMENT_POSITION_PRECEDING;for(var u=s.length-l.length,c=l.length-1;c>=0;c--){var h=l[c],p=s[u+c];if(p!==h){var d=h.parentNode.childNodes;if(d.indexOf(h)0&&e;)e=e.parentNode,t--;return e},e.prototype.forEach=function(t,e){void 0===e&&(e=!1),t(this)||(e?this.childNodes.slice():this.childNodes).forEach(function(e){e.forEach(t)})},e.DOCUMENT_POSITION_DISCONNECTED=1,e.DOCUMENT_POSITION_PRECEDING=2,e.DOCUMENT_POSITION_FOLLOWING=4,e.DOCUMENT_POSITION_CONTAINS=8,e.DOCUMENT_POSITION_CONTAINED_BY=16,e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32,e}(rm),rx=function(){function t(t,e){var n=this;this.globalRuntime=t,this.context=e,this.emitter=new H.Z,this.nativeHTMLMap=new WeakMap,this.cursor="default",this.mappingTable={},this.mappingState={trackingData:{}},this.eventPool=new Map,this.tmpMatrix=K.create(),this.tmpVec3=q.Ue(),this.onPointerDown=function(t){var e=n.createPointerEvent(t);if(n.dispatchEvent(e,"pointerdown"),"touch"===e.pointerType)n.dispatchEvent(e,"touchstart");else if("mouse"===e.pointerType||"pen"===e.pointerType){var r=2===e.button;n.dispatchEvent(e,r?"rightdown":"mousedown")}n.trackingData(t.pointerId).pressTargetsByButton[t.button]=e.composedPath(),n.freeEvent(e)},this.onPointerUp=function(t){var e,r=nj.now(),i=n.createPointerEvent(t,void 0,void 0,n.context.config.alwaysTriggerPointerEventOnCanvas?n.rootTarget:void 0);if(n.dispatchEvent(i,"pointerup"),"touch"===i.pointerType)n.dispatchEvent(i,"touchend");else if("mouse"===i.pointerType||"pen"===i.pointerType){var o=2===i.button;n.dispatchEvent(i,o?"rightup":"mouseup")}var a=n.trackingData(t.pointerId),s=n.findMountedTarget(a.pressTargetsByButton[t.button]),l=s;if(s&&!i.composedPath().includes(s)){for(var u=s;u&&!i.composedPath().includes(u);){if(i.currentTarget=u,n.notifyTarget(i,"pointerupoutside"),"touch"===i.pointerType)n.notifyTarget(i,"touchendoutside");else if("mouse"===i.pointerType||"pen"===i.pointerType){var o=2===i.button;n.notifyTarget(i,o?"rightupoutside":"mouseupoutside")}rE.isNode(u)&&(u=u.parentNode)}delete a.pressTargetsByButton[t.button],l=u}if(l){var c=n.clonePointerEvent(i,"click");c.target=l,c.path=[],a.clicksByButton[t.button]||(a.clicksByButton[t.button]={clickCount:0,target:c.target,timeStamp:r});var h=a.clicksByButton[t.button];h.target===c.target&&r-h.timeStamp<200?++h.clickCount:h.clickCount=1,h.target=c.target,h.timeStamp=r,c.detail=h.clickCount,(null===(e=i.detail)||void 0===e?void 0:e.preventClick)||(n.context.config.useNativeClickEvent||"mouse"!==c.pointerType&&"touch"!==c.pointerType||n.dispatchEvent(c,"click"),n.dispatchEvent(c,"pointertap")),n.freeEvent(c)}n.freeEvent(i)},this.onPointerMove=function(t){var e=n.createPointerEvent(t,void 0,void 0,n.context.config.alwaysTriggerPointerEventOnCanvas?n.rootTarget:void 0),r="mouse"===e.pointerType||"pen"===e.pointerType,i=n.trackingData(t.pointerId),o=n.findMountedTarget(i.overTargets);if(i.overTargets&&o!==e.target){var a="mousemove"===t.type?"mouseout":"pointerout",s=n.createPointerEvent(t,a,o||void 0);if(n.dispatchEvent(s,"pointerout"),r&&n.dispatchEvent(s,"mouseout"),!e.composedPath().includes(o)){var l=n.createPointerEvent(t,"pointerleave",o||void 0);for(l.eventPhase=l.AT_TARGET;l.target&&!e.composedPath().includes(l.target);)l.currentTarget=l.target,n.notifyTarget(l),r&&n.notifyTarget(l,"mouseleave"),rE.isNode(l.target)&&(l.target=l.target.parentNode);n.freeEvent(l)}n.freeEvent(s)}if(o!==e.target){var u="mousemove"===t.type?"mouseover":"pointerover",c=n.clonePointerEvent(e,u);n.dispatchEvent(c,"pointerover"),r&&n.dispatchEvent(c,"mouseover");for(var h=o&&rE.isNode(o)&&o.parentNode;h&&h!==(rE.isNode(n.rootTarget)&&n.rootTarget.parentNode)&&h!==e.target;)h=h.parentNode;if(!h||h===(rE.isNode(n.rootTarget)&&n.rootTarget.parentNode)){var p=n.clonePointerEvent(e,"pointerenter");for(p.eventPhase=p.AT_TARGET;p.target&&p.target!==o&&p.target!==(rE.isNode(n.rootTarget)&&n.rootTarget.parentNode);)p.currentTarget=p.target,n.notifyTarget(p),r&&n.notifyTarget(p,"mouseenter"),rE.isNode(p.target)&&(p.target=p.target.parentNode);n.freeEvent(p)}n.freeEvent(c)}n.dispatchEvent(e,"pointermove"),"touch"===e.pointerType&&n.dispatchEvent(e,"touchmove"),r&&(n.dispatchEvent(e,"mousemove"),n.cursor=n.getCursor(e.target)),i.overTargets=e.composedPath(),n.freeEvent(e)},this.onPointerOut=function(t){var e=n.trackingData(t.pointerId);if(e.overTargets){var r="mouse"===t.pointerType||"pen"===t.pointerType,i=n.findMountedTarget(e.overTargets),o=n.createPointerEvent(t,"pointerout",i||void 0);n.dispatchEvent(o),r&&n.dispatchEvent(o,"mouseout");var a=n.createPointerEvent(t,"pointerleave",i||void 0);for(a.eventPhase=a.AT_TARGET;a.target&&a.target!==(rE.isNode(n.rootTarget)&&n.rootTarget.parentNode);)a.currentTarget=a.target,n.notifyTarget(a),r&&n.notifyTarget(a,"mouseleave"),rE.isNode(a.target)&&(a.target=a.target.parentNode);e.overTargets=null,n.freeEvent(o),n.freeEvent(a)}n.cursor=null},this.onPointerOver=function(t){var e=n.trackingData(t.pointerId),r=n.createPointerEvent(t),i="mouse"===r.pointerType||"pen"===r.pointerType;n.dispatchEvent(r,"pointerover"),i&&n.dispatchEvent(r,"mouseover"),"mouse"===r.pointerType&&(n.cursor=n.getCursor(r.target));var o=n.clonePointerEvent(r,"pointerenter");for(o.eventPhase=o.AT_TARGET;o.target&&o.target!==(rE.isNode(n.rootTarget)&&n.rootTarget.parentNode);)o.currentTarget=o.target,n.notifyTarget(o),i&&n.notifyTarget(o,"mouseenter"),rE.isNode(o.target)&&(o.target=o.target.parentNode);e.overTargets=r.composedPath(),n.freeEvent(r),n.freeEvent(o)},this.onPointerUpOutside=function(t){var e=n.trackingData(t.pointerId),r=n.findMountedTarget(e.pressTargetsByButton[t.button]),i=n.createPointerEvent(t);if(r){for(var o=r;o;)i.currentTarget=o,n.notifyTarget(i,"pointerupoutside"),"touch"===i.pointerType||("mouse"===i.pointerType||"pen"===i.pointerType)&&n.notifyTarget(i,2===i.button?"rightupoutside":"mouseupoutside"),rE.isNode(o)&&(o=o.parentNode);delete e.pressTargetsByButton[t.button]}n.freeEvent(i)},this.onWheel=function(t){var e=n.createWheelEvent(t);n.dispatchEvent(e),n.freeEvent(e)},this.onClick=function(t){if(n.context.config.useNativeClickEvent){var e=n.createPointerEvent(t);n.dispatchEvent(e),n.freeEvent(e)}},this.onPointerCancel=function(t){var e=n.createPointerEvent(t,void 0,void 0,n.context.config.alwaysTriggerPointerEventOnCanvas?n.rootTarget:void 0);n.dispatchEvent(e),n.freeEvent(e)}}return t.prototype.init=function(){this.rootTarget=this.context.renderingContext.root.parentNode,this.addEventMapping("pointerdown",this.onPointerDown),this.addEventMapping("pointerup",this.onPointerUp),this.addEventMapping("pointermove",this.onPointerMove),this.addEventMapping("pointerout",this.onPointerOut),this.addEventMapping("pointerleave",this.onPointerOut),this.addEventMapping("pointercancel",this.onPointerCancel),this.addEventMapping("pointerover",this.onPointerOver),this.addEventMapping("pointerupoutside",this.onPointerUpOutside),this.addEventMapping("wheel",this.onWheel),this.addEventMapping("click",this.onClick)},t.prototype.destroy=function(){this.emitter.removeAllListeners(),this.mappingTable={},this.mappingState={},this.eventPool.clear()},t.prototype.getScale=function(){var t=this.context.contextService.getBoundingClientRect(),e=1,n=1,r=this.context.contextService.getDomElement();if(r&&t){var i=r.offsetWidth,o=r.offsetHeight;i&&o&&(e=t.width/i,n=t.height/o)}return{scaleX:e,scaleY:n,bbox:t}},t.prototype.client2Viewport=function(t){var e=this.getScale(),n=e.scaleX,r=e.scaleY,i=e.bbox;return new tj((t.x-((null==i?void 0:i.left)||0))/n,(t.y-((null==i?void 0:i.top)||0))/r)},t.prototype.viewport2Client=function(t){var e=this.getScale(),n=e.scaleX,r=e.scaleY,i=e.bbox;return new tj((t.x+((null==i?void 0:i.left)||0))*n,(t.y+((null==i?void 0:i.top)||0))*r)},t.prototype.viewport2Canvas=function(t){var e=t.x,n=t.y,r=this.rootTarget.defaultView.getCamera(),i=this.context.config,o=i.width,a=i.height,s=r.getPerspectiveInverse(),l=r.getWorldTransform(),u=K.multiply(this.tmpMatrix,l,s),c=q.t8(this.tmpVec3,e/o*2-1,(1-n/a)*2-1,0);return q.fF(c,c,u),new tj(c[0],c[1])},t.prototype.canvas2Viewport=function(t){var e=this.rootTarget.defaultView.getCamera(),n=e.getPerspective(),r=e.getViewTransform(),i=K.multiply(this.tmpMatrix,n,r),o=q.t8(this.tmpVec3,t.x,t.y,0);q.fF(this.tmpVec3,this.tmpVec3,i);var a=this.context.config,s=a.width,l=a.height;return new tj((o[0]+1)/2*s,(1-(o[1]+1)/2)*l)},t.prototype.setPickHandler=function(t){this.pickHandler=t},t.prototype.addEventMapping=function(t,e){this.mappingTable[t]||(this.mappingTable[t]=[]),this.mappingTable[t].push({fn:e,priority:0}),this.mappingTable[t].sort(function(t,e){return t.priority-e.priority})},t.prototype.mapEvent=function(t){if(this.rootTarget){var e=this.mappingTable[t.type];if(e)for(var n=0,r=e.length;n=1;r--)if(t.currentTarget=n[r],this.notifyTarget(t,e),t.propagationStopped||t.propagationImmediatelyStopped)return;if(t.eventPhase=t.AT_TARGET,t.currentTarget=t.target,this.notifyTarget(t,e),!t.propagationStopped&&!t.propagationImmediatelyStopped){var i=n.indexOf(t.currentTarget);t.eventPhase=t.BUBBLING_PHASE;for(var r=i+1;ri||n>o?null:!a&&this.pickHandler(t)||this.rootTarget||null},t.prototype.isNativeEventFromCanvas=function(t,e){var n=null==e?void 0:e.target;if((null==n?void 0:n.shadowRoot)&&(n=e.composedPath()[0]),n){if(n===t)return!0;if(t&&t.contains)return t.contains(n)}return null!=e&&!!e.composedPath&&e.composedPath().indexOf(t)>-1},t.prototype.getExistedHTML=function(t){var e,n;if(t.nativeEvent.composedPath)try{for(var r=(0,W.XA)(t.nativeEvent.composedPath()),i=r.next();!i.done;i=r.next()){var o=i.value,a=this.nativeHTMLMap.get(o);if(a)return a}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype.pickTarget=function(t){return this.hitTest({clientX:t.clientX,clientY:t.clientY,viewportX:t.viewportX,viewportY:t.viewportY,x:t.canvasX,y:t.canvasY})},t.prototype.createPointerEvent=function(t,e,n,r){var i=this.allocateEvent(rv);this.copyPointerData(t,i),this.copyMouseData(t,i),this.copyData(t,i),i.nativeEvent=t.nativeEvent,i.originalEvent=t;var o=this.getExistedHTML(i),a=this.context.contextService.getDomElement();return i.target=null!=n?n:o||this.isNativeEventFromCanvas(a,i.nativeEvent)&&this.pickTarget(i)||r,"string"==typeof e&&(i.type=e),i},t.prototype.createWheelEvent=function(t){var e=this.allocateEvent(ry);this.copyWheelData(t,e),this.copyMouseData(t,e),this.copyData(t,e),e.nativeEvent=t.nativeEvent,e.originalEvent=t;var n=this.getExistedHTML(e),r=this.context.contextService.getDomElement();return e.target=n||this.isNativeEventFromCanvas(r,e.nativeEvent)&&this.pickTarget(e),e},t.prototype.trackingData=function(t){return this.mappingState.trackingData[t]||(this.mappingState.trackingData[t]={pressTargetsByButton:{},clicksByButton:{},overTarget:null}),this.mappingState.trackingData[t]},t.prototype.cloneWheelEvent=function(t){var e=this.allocateEvent(ry);return e.nativeEvent=t.nativeEvent,e.originalEvent=t.originalEvent,this.copyWheelData(t,e),this.copyMouseData(t,e),this.copyData(t,e),e.target=t.target,e.path=t.composedPath().slice(),e.type=t.type,e},t.prototype.clonePointerEvent=function(t,e){var n=this.allocateEvent(rv);return n.nativeEvent=t.nativeEvent,n.originalEvent=t.originalEvent,this.copyPointerData(t,n),this.copyMouseData(t,n),this.copyData(t,n),n.target=t.target,n.path=t.composedPath().slice(),n.type=null!=e?e:n.type,n},t.prototype.copyPointerData=function(t,e){e.pointerId=t.pointerId,e.width=t.width,e.height=t.height,e.isPrimary=t.isPrimary,e.pointerType=t.pointerType,e.pressure=t.pressure,e.tangentialPressure=t.tangentialPressure,e.tiltX=t.tiltX,e.tiltY=t.tiltY,e.twist=t.twist},t.prototype.copyMouseData=function(t,e){e.altKey=t.altKey,e.button=t.button,e.buttons=t.buttons,e.ctrlKey=t.ctrlKey,e.metaKey=t.metaKey,e.shiftKey=t.shiftKey,e.client.copyFrom(t.client),e.movement.copyFrom(t.movement),e.canvas.copyFrom(t.canvas),e.screen.copyFrom(t.screen),e.global.copyFrom(t.global),e.offset.copyFrom(t.offset)},t.prototype.copyWheelData=function(t,e){e.deltaMode=t.deltaMode,e.deltaX=t.deltaX,e.deltaY=t.deltaY,e.deltaZ=t.deltaZ},t.prototype.copyData=function(t,e){e.isTrusted=t.isTrusted,e.timeStamp=nj.now(),e.type=t.type,e.detail=t.detail,e.view=t.view,e.page.copyFrom(t.page),e.viewport.copyFrom(t.viewport)},t.prototype.allocateEvent=function(t){this.eventPool.has(t)||this.eventPool.set(t,[]);var e=this.eventPool.get(t).pop()||new t(this);return e.eventPhase=e.NONE,e.currentTarget=null,e.path=[],e.target=null,e},t.prototype.freeEvent=function(t){if(t.manager!==this)throw Error("It is illegal to free an event not managed by this EventBoundary!");var e=t.constructor;this.eventPool.has(e)||this.eventPool.set(e,[]),this.eventPool.get(e).push(t)},t.prototype.notifyTarget=function(t,e){e=null!=e?e:t.type;var n=t.eventPhase===t.CAPTURING_PHASE||t.eventPhase===t.AT_TARGET?"".concat(e,"capture"):e;this.notifyListeners(t,n),t.eventPhase===t.AT_TARGET&&this.notifyListeners(t,e)},t.prototype.notifyListeners=function(t,e){var n=t.currentTarget.emitter,r=n._events[e];if(r){if("fn"in r)r.once&&n.removeListener(e,r.fn,void 0,!0),r.fn.call(t.currentTarget||r.context,t);else for(var i=0;i=0;n--){var r=t[n];if(r===this.rootTarget||rE.isNode(r)&&r.parentNode===e)e=t[n];else break}return e},t.prototype.getCursor=function(t){for(var e=t;e;){var n=!!e.getAttribute&&e.getAttribute("cursor");if(n)return n;e=rE.isNode(e)&&e.parentNode}},t}(),rb=function(){function t(){}return t.prototype.getOrCreateCanvas=function(t,e){if(this.canvas)return this.canvas;if(t||rL.offscreenCanvas)this.canvas=t||rL.offscreenCanvas,this.context=this.canvas.getContext("2d",(0,W.pi)({willReadFrequently:!0},e));else try{this.canvas=new window.OffscreenCanvas(0,0),this.context=this.canvas.getContext("2d",(0,W.pi)({willReadFrequently:!0},e)),this.context&&this.context.measureText||(this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"))}catch(t){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d",(0,W.pi)({willReadFrequently:!0},e))}return this.canvas.width=10,this.canvas.height=10,this.canvas},t.prototype.getOrCreateContext=function(t,e){return this.context||this.getOrCreateCanvas(t,e),this.context},t}();(E=z||(z={}))[E.CAMERA_CHANGED=0]="CAMERA_CHANGED",E[E.DISPLAY_OBJECT_CHANGED=1]="DISPLAY_OBJECT_CHANGED",E[E.NONE=2]="NONE";var rT=function(){function t(t,e){this.globalRuntime=t,this.context=e,this.inited=!1,this.stats={total:0,rendered:0},this.zIndexCounter=0,this.hooks={init:new n4,initAsync:new n3,dirtycheck:new n9,cull:new n9,beginFrame:new n4,beforeRender:new n4,render:new n4,afterRender:new n4,endFrame:new n4,destroy:new n4,pick:new n5,pickSync:new n9,pointerDown:new n4,pointerUp:new n4,pointerMove:new n4,pointerOut:new n4,pointerOver:new n4,pointerWheel:new n4,pointerCancel:new n4,click:new n4}}return t.prototype.init=function(t){var e=this,n=(0,W.pi)((0,W.pi)({},this.globalRuntime),this.context);this.context.renderingPlugins.forEach(function(t){t.apply(n,e.globalRuntime)}),this.hooks.init.call(),0===this.hooks.initAsync.getCallbacksNum()?(this.inited=!0,t()):this.hooks.initAsync.promise().then(function(){e.inited=!0,t()})},t.prototype.getStats=function(){return this.stats},t.prototype.disableDirtyRectangleRendering=function(){return!this.context.config.renderer.getConfig().enableDirtyRectangleRendering||this.context.renderingContext.renderReasons.has(z.CAMERA_CHANGED)},t.prototype.render=function(t,e,n){var r=this;this.stats.total=0,this.stats.rendered=0,this.zIndexCounter=0;var i=this.context.renderingContext;if(this.globalRuntime.sceneGraphService.syncHierarchy(i.root),this.globalRuntime.sceneGraphService.triggerPendingEvents(),i.renderReasons.size&&this.inited){i.dirtyRectangleRenderingDisabled=this.disableDirtyRectangleRendering();var o=1===i.renderReasons.size&&i.renderReasons.has(z.CAMERA_CHANGED),a=!t.disableRenderHooks||!(t.disableRenderHooks&&o);a&&this.renderDisplayObject(i.root,t,i),this.hooks.beginFrame.call(e),a&&i.renderListCurrentFrame.forEach(function(t){r.hooks.beforeRender.call(t),r.hooks.render.call(t),r.hooks.afterRender.call(t)}),this.hooks.endFrame.call(e),i.renderListCurrentFrame=[],i.renderReasons.clear(),n()}},t.prototype.renderDisplayObject=function(t,e,n){var r=this,i=e.renderer.getConfig(),o=i.enableDirtyCheck,a=i.enableCulling;this.globalRuntime.enableCSSParsing&&this.globalRuntime.styleValueRegistry.recalc(t);var s=t.renderable,l=o?s.dirty||n.dirtyRectangleRenderingDisabled?t:null:t;if(l){var u=a?this.hooks.cull.call(l,this.context.camera):l;u&&(this.stats.rendered++,n.renderListCurrentFrame.push(u))}t.renderable.dirty=!1,t.sortable.renderOrder=this.zIndexCounter++,this.stats.total++;var c=t.sortable;c.dirty&&(this.sort(t,c),c.dirty=!1,c.dirtyChildren=[],c.dirtyReason=void 0),(c.sorted||t.childNodes).forEach(function(t){r.renderDisplayObject(t,e,n)})},t.prototype.sort=function(t,e){e.sorted&&e.dirtyReason!==Z.Z_INDEX_CHANGED?e.dirtyChildren.forEach(function(n){if(-1===t.childNodes.indexOf(n)){var r=e.sorted.indexOf(n);r>=0&&e.sorted.splice(r,1)}else if(0===e.sorted.length)e.sorted.push(n);else{var i=function(t,e){for(var n=0,r=t.length;n>>1;0>nY(t[i],e)?n=i+1:r=i}return n}(e.sorted,n);e.sorted.splice(i,0,n)}}):e.sorted=t.childNodes.slice().sort(nY)},t.prototype.destroy=function(){this.inited=!1,this.hooks.destroy.call(),this.globalRuntime.sceneGraphService.clearPendingEvents()},t.prototype.dirtify=function(){this.context.renderingContext.renderReasons.add(z.DISPLAY_OBJECT_CHANGED)},t}(),rP=/\[\s*(.*)=(.*)\s*\]/,rS=function(){function t(){}return t.prototype.selectOne=function(t,e){var n=this;if(t.startsWith("."))return e.find(function(e){return((null==e?void 0:e.classList)||[]).indexOf(n.getIdOrClassname(t))>-1});if(t.startsWith("#"))return e.find(function(e){return e.id===n.getIdOrClassname(t)});if(!t.startsWith("["))return e.find(function(n){return e!==n&&n.nodeName===t});var r=this.getAttribute(t),i=r.name,o=r.value;return i?e.find(function(t){return e!==t&&("name"===i?t.name===o:n.attributeToString(t,i)===o)}):null},t.prototype.selectAll=function(t,e){var n=this;if(t.startsWith("."))return e.findAll(function(r){return e!==r&&((null==r?void 0:r.classList)||[]).indexOf(n.getIdOrClassname(t))>-1});if(t.startsWith("#"))return e.findAll(function(r){return e!==r&&r.id===n.getIdOrClassname(t)});if(!t.startsWith("["))return e.findAll(function(n){return e!==n&&n.nodeName===t});var r=this.getAttribute(t),i=r.name,o=r.value;return i?e.findAll(function(t){return e!==t&&("name"===i?t.name===o:n.attributeToString(t,i)===o)}):[]},t.prototype.is=function(t,e){if(t.startsWith("."))return e.className===this.getIdOrClassname(t);if(t.startsWith("#"))return e.id===this.getIdOrClassname(t);if(!t.startsWith("["))return e.nodeName===t;var n=this.getAttribute(t),r=n.name,i=n.value;return"name"===r?e.name===i:this.attributeToString(e,r)===i},t.prototype.getIdOrClassname=function(t){return t.substring(1)},t.prototype.getAttribute=function(t){var e=t.match(rP),n="",r="";return e&&e.length>2&&(n=e[1].replace(/"/g,""),r=e[2].replace(/"/g,"")),{name:n,value:r}},t.prototype.attributeToString=function(t,e){if(!t.getAttribute)return"";var n=t.getAttribute(e);return(0,tn.Z)(n)?"":n.toString?n.toString():""},t}(),rN=function(t){function e(e,n,r,i,o,a,s,l){var u=t.call(this,null)||this;return u.relatedNode=n,u.prevValue=r,u.newValue=i,u.attrName=o,u.attrChange=a,u.prevParsedValue=s,u.newParsedValue=l,u.type=e,u}return(0,W.ZT)(e,t),e.ADDITION=2,e.MODIFICATION=1,e.REMOVAL=3,e}(rd);function rC(t){var e=t.renderable;e&&(e.renderBoundsDirty=!0,e.boundsDirty=!0)}(x=X||(X={})).REPARENT="reparent",x.DESTROY="destroy",x.ATTR_MODIFIED="DOMAttrModified",x.INSERTED="DOMNodeInserted",x.REMOVED="removed",x.MOUNTED="DOMNodeInsertedIntoDocument",x.UNMOUNTED="DOMNodeRemovedFromDocument",x.BOUNDS_CHANGED="bounds-changed",x.CULLED="culled";var rw=new rN(X.REPARENT,null,"","","",0,"",""),rk=function(){function t(t){var e,n,r,i,o,a,s,l,u,c,h,p,d=this;this.runtime=t,this.pendingEvents=[],this.boundsChangedEvent=new rg(X.BOUNDS_CHANGED),this.rotate=(e=Q.Ue(),function(t,n,r,i,o){void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=!0),"number"==typeof n&&(n=q.al(n,r,i));var a=t.transformable;if(null!==t.parentNode&&t.parentNode.transformable){var s=Q.Ue();Q.Su(s,n[0],n[1],n[2]);var l=d.getRotation(t),u=d.getRotation(t.parentNode);Q.JG(e,u),Q.U_(e,e),Q.Jp(s,e,s),Q.Jp(a.localRotation,s,l),Q.Fv(a.localRotation,a.localRotation),o&&d.dirtifyLocal(t,a)}else d.rotateLocal(t,n)}),this.rotateLocal=(n=Q.Ue(),function(t,e,r,i,o){void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=!0),"number"==typeof e&&(e=q.al(e,r,i));var a=t.transformable;Q.Su(n,e[0],e[1],e[2]),Q.dC(a.localRotation,a.localRotation,n),o&&d.dirtifyLocal(t,a)}),this.setEulerAngles=(r=Q.Ue(),function(t,e,n,i,o){void 0===n&&(n=0),void 0===i&&(i=0),void 0===o&&(o=!0),"number"==typeof e&&(e=q.al(e,n,i));var a=t.transformable;if(null!==t.parentNode&&t.parentNode.transformable){Q.Su(a.localRotation,e[0],e[1],e[2]);var s=d.getRotation(t.parentNode);Q.JG(r,Q.U_(Q.Ue(),s)),Q.dC(a.localRotation,a.localRotation,r),o&&d.dirtifyLocal(t,a)}else d.setLocalEulerAngles(t,e)}),this.translateLocal=function(t,e,n,r,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=!0),"number"==typeof e&&(e=q.al(e,n,r));var o=t.transformable;!q.fS(e,q.Ue())&&(q.VC(e,e,o.localRotation),q.IH(o.localPosition,o.localPosition,e),i&&d.dirtifyLocal(t,o))},this.setPosition=(i=K.create(),o=q.Ue(),function(t,e,n){void 0===n&&(n=!0);var r=t.transformable;if(o[0]=e[0],o[1]=e[1],o[2]=e[2]||0,!q.fS(d.getPosition(t),o)){if(q.JG(r.position,o),null!==t.parentNode&&t.parentNode.transformable){var a=t.parentNode.transformable;K.copy(i,a.worldTransform),K.invert(i,i),q.fF(r.localPosition,o,i)}else q.JG(r.localPosition,o);n&&d.dirtifyLocal(t,r)}}),this.setLocalPosition=(a=q.Ue(),function(t,e,n){void 0===n&&(n=!0);var r=t.transformable;a[0]=e[0],a[1]=e[1],a[2]=e[2]||0,!q.fS(r.localPosition,a)&&(q.JG(r.localPosition,a),n&&d.dirtifyLocal(t,r))}),this.translate=(s=q.Ue(),l=q.Ue(),u=q.Ue(),function(t,e,n,r,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=!0),"number"==typeof e&&(e=q.t8(l,e,n,r)),q.fS(e,s)||(q.IH(u,d.getPosition(t),e),d.setPosition(t,u,i))}),this.setRotation=function(){var t=Q.Ue();return function(e,n,r,i,o,a){void 0===a&&(a=!0);var s=e.transformable;if("number"==typeof n&&(n=Q.al(n,r,i,o)),null!==e.parentNode&&e.parentNode.transformable){var l=d.getRotation(e.parentNode);Q.JG(t,l),Q.U_(t,t),Q.Jp(s.localRotation,t,n),Q.Fv(s.localRotation,s.localRotation),a&&d.dirtifyLocal(e,s)}else d.setLocalRotation(e,n)}},this.displayObjectDependencyMap=new WeakMap,this.calcLocalTransform=(c=K.create(),h=q.Ue(),p=Q.al(0,0,0,1),function(t){if(0!==t.localSkew[0]||0!==t.localSkew[1]){if(K.fromRotationTranslationScaleOrigin(t.localTransform,t.localRotation,t.localPosition,q.al(1,1,1),t.origin),0!==t.localSkew[0]||0!==t.localSkew[1]){var e=K.identity(c);e[4]=Math.tan(t.localSkew[0]),e[1]=Math.tan(t.localSkew[1]),K.multiply(t.localTransform,t.localTransform,e)}var n=K.fromRotationTranslationScaleOrigin(c,p,h,t.localScale,t.origin);K.multiply(t.localTransform,t.localTransform,n)}else K.fromRotationTranslationScaleOrigin(t.localTransform,t.localRotation,t.localPosition,t.localScale,t.origin)})}return t.prototype.matches=function(t,e){return this.runtime.sceneGraphSelector.is(t,e)},t.prototype.querySelector=function(t,e){return this.runtime.sceneGraphSelector.selectOne(t,e)},t.prototype.querySelectorAll=function(t,e){return this.runtime.sceneGraphSelector.selectAll(t,e)},t.prototype.attach=function(t,e,n){var r,i=!1;t.parentNode&&(i=t.parentNode!==e,this.detach(t)),t.parentNode=e,(0,tn.Z)(n)?t.parentNode.childNodes.push(t):t.parentNode.childNodes.splice(n,0,t);var o=e.sortable;((null===(r=null==o?void 0:o.sorted)||void 0===r?void 0:r.length)||t.parsedStyle.zIndex)&&(-1===o.dirtyChildren.indexOf(t)&&o.dirtyChildren.push(t),o.dirty=!0,o.dirtyReason=Z.ADDED);var a=t.transformable;a&&this.dirtifyWorld(t,a),a.frozen&&this.unfreezeParentToRoot(t),i&&t.dispatchEvent(rw)},t.prototype.detach=function(t){var e,n;if(t.parentNode){var r=t.transformable,i=t.parentNode.sortable;((null===(e=null==i?void 0:i.sorted)||void 0===e?void 0:e.length)||(null===(n=t.style)||void 0===n?void 0:n.zIndex))&&(-1===i.dirtyChildren.indexOf(t)&&i.dirtyChildren.push(t),i.dirty=!0,i.dirtyReason=Z.REMOVED);var o=t.parentNode.childNodes.indexOf(t);o>-1&&t.parentNode.childNodes.splice(o,1),r&&this.dirtifyWorld(t,r),t.parentNode=null}},t.prototype.getOrigin=function(t){return t.getGeometryBounds(),t.transformable.origin},t.prototype.setOrigin=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=0),"number"==typeof e&&(e=[e,n,r]);var i=t.transformable;if(e[0]!==i.origin[0]||e[1]!==i.origin[1]||e[2]!==i.origin[2]){var o=i.origin;o[0]=e[0],o[1]=e[1],o[2]=e[2]||0,this.dirtifyLocal(t,i)}},t.prototype.setLocalEulerAngles=function(t,e,n,r,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=!0),"number"==typeof e&&(e=q.al(e,n,r));var o=t.transformable;Q.Su(o.localRotation,e[0],e[1],e[2]),i&&this.dirtifyLocal(t,o)},t.prototype.scaleLocal=function(t,e,n){void 0===n&&(n=!0);var r=t.transformable;q.Jp(r.localScale,r.localScale,q.al(e[0],e[1],e[2]||1)),n&&this.dirtifyLocal(t,r)},t.prototype.setLocalScale=function(t,e,n){void 0===n&&(n=!0);var r=t.transformable,i=q.al(e[0],e[1],e[2]||r.localScale[2]);!q.fS(i,r.localScale)&&(q.JG(r.localScale,i),n&&this.dirtifyLocal(t,r))},t.prototype.setLocalRotation=function(t,e,n,r,i,o){void 0===o&&(o=!0),"number"==typeof e&&(e=Q.al(e,n,r,i));var a=t.transformable;Q.JG(a.localRotation,e),o&&this.dirtifyLocal(t,a)},t.prototype.setLocalSkew=function(t,e,n){"number"==typeof e&&(e=tt.al(e,n));var r=t.transformable;tt.JG(r.localSkew,e),this.dirtifyLocal(t,r)},t.prototype.dirtifyLocal=function(t,e){e.localDirtyFlag||(e.localDirtyFlag=!0,e.dirtyFlag||this.dirtifyWorld(t,e))},t.prototype.dirtifyWorld=function(t,e){e.dirtyFlag||this.unfreezeParentToRoot(t),this.dirtifyWorldInternal(t,e),this.dirtifyToRoot(t,!0)},t.prototype.triggerPendingEvents=function(){var t=this,e=new Set,n=function(n,r){n.isConnected&&!e.has(n.entity)&&(t.boundsChangedEvent.detail=r,t.boundsChangedEvent.target=n,n.isMutationObserved?n.dispatchEvent(t.boundsChangedEvent):n.ownerDocument.defaultView.dispatchEvent(t.boundsChangedEvent,!0),e.add(n.entity))};this.pendingEvents.forEach(function(t){var e=(0,W.CR)(t,2),r=e[0],i=e[1];i.affectChildren?r.forEach(function(t){n(t,i)}):n(r,i)}),this.clearPendingEvents(),e.clear()},t.prototype.clearPendingEvents=function(){this.pendingEvents=[]},t.prototype.dirtifyToRoot=function(t,e){void 0===e&&(e=!1);var n=t;for(n.renderable&&(n.renderable.dirty=!0);n;)rC(n),n=n.parentNode;e&&t.forEach(function(t){rC(t)}),this.informDependentDisplayObjects(t),this.pendingEvents.push([t,{affectChildren:e}])},t.prototype.updateDisplayObjectDependency=function(t,e,n,r){if(e&&e!==n){var i=this.displayObjectDependencyMap.get(e);if(i&&i[t]){var o=i[t].indexOf(r);i[t].splice(o,1)}}if(n){var a=this.displayObjectDependencyMap.get(n);a||(this.displayObjectDependencyMap.set(n,{}),a=this.displayObjectDependencyMap.get(n)),a[t]||(a[t]=[]),a[t].push(r)}},t.prototype.informDependentDisplayObjects=function(t){var e=this,n=this.displayObjectDependencyMap.get(t);n&&Object.keys(n).forEach(function(t){n[t].forEach(function(n){e.dirtifyToRoot(n,!0),n.dispatchEvent(new rN(X.ATTR_MODIFIED,n,e,e,t,rN.MODIFICATION,e,e)),n.isCustomElement&&n.isConnected&&n.attributeChangedCallback&&n.attributeChangedCallback(t,e,e)})})},t.prototype.getPosition=function(t){var e=t.transformable;return K.getTranslation(e.position,this.getWorldTransform(t,e))},t.prototype.getRotation=function(t){var e=t.transformable;return K.getRotation(e.rotation,this.getWorldTransform(t,e))},t.prototype.getScale=function(t){var e=t.transformable;return K.getScaling(e.scaling,this.getWorldTransform(t,e))},t.prototype.getWorldTransform=function(t,e){return void 0===e&&(e=t.transformable),(e.localDirtyFlag||e.dirtyFlag)&&(t.parentNode&&t.parentNode.transformable&&this.getWorldTransform(t.parentNode),this.sync(t,e)),e.worldTransform},t.prototype.getLocalPosition=function(t){return t.transformable.localPosition},t.prototype.getLocalRotation=function(t){return t.transformable.localRotation},t.prototype.getLocalScale=function(t){return t.transformable.localScale},t.prototype.getLocalSkew=function(t){return t.transformable.localSkew},t.prototype.getLocalTransform=function(t){var e=t.transformable;return e.localDirtyFlag&&(this.calcLocalTransform(e),e.localDirtyFlag=!1),e.localTransform},t.prototype.setLocalTransform=function(t,e){var n=K.getTranslation(q.Ue(),e),r=K.getRotation(Q.Ue(),e),i=K.getScaling(q.Ue(),e);this.setLocalScale(t,i,!1),this.setLocalPosition(t,n,!1),this.setLocalRotation(t,r,void 0,void 0,void 0,!1),this.dirtifyLocal(t,t.transformable)},t.prototype.resetLocalTransform=function(t){this.setLocalScale(t,[1,1,1]),this.setLocalPosition(t,[0,0,0]),this.setLocalEulerAngles(t,[0,0,0]),this.setLocalSkew(t,[0,0])},t.prototype.getTransformedGeometryBounds=function(t,e,n){void 0===e&&(e=!1);var r=this.getGeometryBounds(t,e);if(tY.isEmpty(r))return null;var i=n||new tY;return i.setFromTransformedAABB(r,this.getWorldTransform(t)),i},t.prototype.getGeometryBounds=function(t,e){void 0===e&&(e=!1);var n=t.geometry;return n.dirty&&rL.styleValueRegistry.updateGeometry(t),(e?n.renderBounds:n.contentBounds||null)||new tY},t.prototype.getBounds=function(t,e){var n=this;void 0===e&&(e=!1);var r=t.renderable;if(!r.boundsDirty&&!e&&r.bounds)return r.bounds;if(!r.renderBoundsDirty&&e&&r.renderBounds)return r.renderBounds;var i=e?r.renderBounds:r.bounds,o=this.getTransformedGeometryBounds(t,e,i);if(t.childNodes.forEach(function(t){var r=n.getBounds(t,e);r&&(o?o.add(r):(o=i||new tY).update(r.center,r.halfExtents))}),o||(o=new tY),e){var a=function(t){var e,n=t;do{if(null===(e=n.parsedStyle)||void 0===e?void 0:e.clipPath)return n;n=n.parentElement}while(null!==n);return null}(t);if(a){var s=a.parsedStyle.clipPath.getBounds(e);o?s&&(o=s.intersection(o)):o.update(s.center,s.halfExtents)}}return e?(r.renderBounds=o,r.renderBoundsDirty=!1):(r.bounds=o,r.boundsDirty=!1),o},t.prototype.getLocalBounds=function(t){if(t.parentNode){var e=K.create();t.parentNode.transformable&&(e=K.invert(K.create(),this.getWorldTransform(t.parentNode)));var n=this.getBounds(t);if(!tY.isEmpty(n)){var r=new tY;return r.setFromTransformedAABB(n,e),r}}return this.getBounds(t)},t.prototype.getBoundingClientRect=function(t){var e,n,r,i=this.getGeometryBounds(t);tY.isEmpty(i)||(r=new tY).setFromTransformedAABB(i,this.getWorldTransform(t));var o=null===(n=null===(e=t.ownerDocument)||void 0===e?void 0:e.defaultView)||void 0===n?void 0:n.getContextService().getBoundingClientRect();if(r){var a=(0,W.CR)(r.getMin(),2),s=a[0],l=a[1],u=(0,W.CR)(r.getMax(),2),c=u[0],h=u[1];return new tW(s+((null==o?void 0:o.left)||0),l+((null==o?void 0:o.top)||0),c-s,h-l)}return new tW((null==o?void 0:o.left)||0,(null==o?void 0:o.top)||0,0,0)},t.prototype.dirtifyWorldInternal=function(t,e){var n=this;if(!e.dirtyFlag){e.dirtyFlag=!0,e.frozen=!1,t.childNodes.forEach(function(t){var e=t.transformable;e.dirtyFlag||n.dirtifyWorldInternal(t,e)});var r=t.renderable;r&&(r.renderBoundsDirty=!0,r.boundsDirty=!0,r.dirty=!0)}},t.prototype.syncHierarchy=function(t){var e=t.transformable;if(!e.frozen){e.frozen=!0,(e.localDirtyFlag||e.dirtyFlag)&&this.sync(t,e);for(var n=t.childNodes,r=0;rs;--p){for(var v=0;v=0;h--){var p=c[h].trim();!n6.test(p)&&0>n8.indexOf(p)&&(p='"'.concat(p,'"')),c[h]=p}return"".concat(void 0===i?"normal":i," ").concat(a," ").concat(l," ").concat(u," ").concat(c.join(","))}(e),E=this.measureFont(m,n);0===E.fontSize&&(E.fontSize=i,E.ascent=i);var x=this.runtime.offscreenCanvasCreator.getOrCreateContext(n);x.font=m,e.isOverflowing=!1;var b=(void 0!==o&&o?this.wordWrap(t,e,n):t).split(/(?:\r\n|\r|\n)/),T=Array(b.length),P=0;if(v){v.getTotalLength();for(var S=0;S=l){e.isOverflowing=!0;break}v=0,d[f]="";continue}if(v>0&&v+S>h){if(f+1>=l){if(e.isOverflowing=!0,m>0&&m<=h){for(var N=d[f].length,C=0,w=N,k=0;kh){w=k;break}C+=M}d[f]=(d[f]||"").slice(0,w)+p}break}if(v=0,d[++f]="",this.isBreakingSpace(b))continue;this.canBreakInLastChar(b)||(d=this.trimToBreakable(d),v=this.sumTextWidthByCache(d[f]||"",y)),this.shouldBreakByKinsokuShorui(b,P)&&(d=this.trimByKinsokuShorui(d),v+=g(T||""))}v+=S,d[f]=(d[f]||"")+b}return d.join("\n")},t.prototype.isBreakingSpace=function(t){return"string"==typeof t&&rM.BreakingSpaces.indexOf(t.charCodeAt(0))>=0},t.prototype.isNewline=function(t){return"string"==typeof t&&rM.Newlines.indexOf(t.charCodeAt(0))>=0},t.prototype.trimToBreakable=function(t){var e=(0,W.ev)([],(0,W.CR)(t),!1),n=e[e.length-2],r=this.findBreakableIndex(n);if(-1===r||!n)return e;var i=n.slice(r,r+1),o=this.isBreakingSpace(i),a=r+1,s=r+(o?0:1);return e[e.length-1]+=n.slice(a,n.length),e[e.length-2]=n.slice(0,s),e},t.prototype.canBreakInLastChar=function(t){return!(t&&rR.test(t))},t.prototype.sumTextWidthByCache=function(t,e){return t.split("").reduce(function(t,n){if(!e[n])throw Error("cannot count the word without cache");return t+e[n]},0)},t.prototype.findBreakableIndex=function(t){for(var e=t.length-1;e>=0;e--)if(!rR.test(t[e]))return e;return -1},t.prototype.getFromCache=function(t,e,n,r){var i=n[t];if("number"!=typeof i){var o=t.length*e;i=r.measureText(t).width+o,n[t]=i}return i},t}(),rL={},rD=(T=new rc,P=new ru,(b={})[k.CIRCLE]=new ro,b[k.ELLIPSE]=new ra,b[k.RECT]=T,b[k.IMAGE]=T,b[k.GROUP]=new rp,b[k.LINE]=new rs,b[k.TEXT]=new rh(rL),b[k.POLYLINE]=P,b[k.POLYGON]=P,b[k.PATH]=new rl,b[k.HTML]=null,b[k.MESH]=null,b),rG=(N=new nC,C=new nM,(S={})[Y.PERCENTAGE]=null,S[Y.NUMBER]=new nI,S[Y.ANGLE]=new nS,S[Y.DEFINED_PATH]=new nN,S[Y.PAINT]=N,S[Y.COLOR]=N,S[Y.FILTER]=new nw,S[Y.LENGTH]=C,S[Y.LENGTH_PERCENTAGE]=C,S[Y.LENGTH_PERCENTAGE_12]=new nR,S[Y.LENGTH_PERCENTAGE_14]=new nA,S[Y.COORDINATE]=new nM,S[Y.OFFSET_DISTANCE]=new nL,S[Y.OPACITY_VALUE]=new nD,S[Y.PATH]=new nG,S[Y.LIST_OF_POINTS]=new function(){this.parser=e7,this.mixer=nt},S[Y.SHADOW_BLUR]=new nB,S[Y.TEXT]=new nF,S[Y.TEXT_TRANSFORM]=new n_,S[Y.TRANSFORM]=new rn,S[Y.TRANSFORM_ORIGIN]=new rr,S[Y.Z_INDEX]=new ri,S[Y.MARKER]=new nO,S);rL.CameraContribution=tJ,rL.AnimationTimeline=null,rL.EasingFunction=null,rL.offscreenCanvasCreator=new rb,rL.sceneGraphSelector=new rS,rL.sceneGraphService=new rk(rL),rL.textService=new rI(rL),rL.geometryUpdaterFactory=rD,rL.CSSPropertySyntaxFactory=rG,rL.styleValueRegistry=new nP(rL),rL.layoutRegistry=null,rL.globalThis="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{},rL.enableCSSParsing=!1,rL.enableDataset=!1,rL.enableStyleSyntax=!0,rL.enableAttributeDashCased=!1,rL.enableSizeAttenuation=!1;var rB=0,rF=new rN(X.INSERTED,null,"","","",0,"",""),r_=new rN(X.REMOVED,null,"","","",0,"",""),rU=new rg(X.DESTROY),rV=function(t){function e(){var e=t.call(this)||this;return e.entity=rB++,e.renderable={bounds:void 0,boundsDirty:!0,renderBounds:void 0,renderBoundsDirty:!0,dirtyRenderBounds:void 0,dirty:!1},e.cullable={strategy:V.Standard,visibilityPlaneMask:-1,visible:!0,enable:!0},e.transformable={dirtyFlag:!1,localDirtyFlag:!1,frozen:!1,localPosition:[0,0,0],localRotation:[0,0,0,1],localScale:[1,1,1],localTransform:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],localSkew:[0,0],position:[0,0,0],rotation:[0,0,0,1],scaling:[1,1,1],worldTransform:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],origin:[0,0,0]},e.sortable={dirty:!1,sorted:void 0,renderOrder:0,dirtyChildren:[],dirtyReason:void 0},e.geometry={contentBounds:void 0,renderBounds:void 0,dirty:!0},e.rBushNode={aabb:void 0},e.namespaceURI="g",e.scrollLeft=0,e.scrollTop=0,e.clientTop=0,e.clientLeft=0,e.destroyed=!1,e.style={},e.computedStyle=rL.enableCSSParsing?{opacity:eu,fillOpacity:eu,strokeOpacity:eu,fill:eu,stroke:eu,transform:eu,transformOrigin:eu,visibility:eu,pointerEvents:eu,lineWidth:eu,lineCap:eu,lineJoin:eu,increasedLineWidthForHitTesting:eu,fontSize:eu,fontFamily:eu,fontStyle:eu,fontWeight:eu,fontVariant:eu,textAlign:eu,textBaseline:eu,textTransform:eu,zIndex:eu,filter:eu,shadowType:eu}:null,e.parsedStyle={},e.attributes={},e}return(0,W.ZT)(e,t),Object.defineProperty(e.prototype,"className",{get:function(){return this.getAttribute("class")||""},set:function(t){this.setAttribute("class",t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classList",{get:function(){return this.className.split(" ").filter(function(t){return""!==t})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.nodeName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childElementCount",{get:function(){return this.childNodes.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstElementChild",{get:function(){return this.firstChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastElementChild",{get:function(){return this.lastChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentElement",{get:function(){return this.parentNode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){if(this.parentNode){var t=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[t+1]||null}return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){if(this.parentNode){var t=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[t-1]||null}return null},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(t){throw Error(tH)},e.prototype.appendChild=function(t,e){var n;if(t.destroyed)throw Error("Cannot append a destroyed element.");return rL.sceneGraphService.attach(t,this,e),(null===(n=this.ownerDocument)||void 0===n?void 0:n.defaultView)&&this.ownerDocument.defaultView.mountChildren(t),this.isMutationObserved&&(rF.relatedNode=this,t.dispatchEvent(rF)),t},e.prototype.insertBefore=function(t,e){if(e){t.parentElement&&t.parentElement.removeChild(t);var n=this.childNodes.indexOf(e);-1===n?this.appendChild(t):this.appendChild(t,n)}else this.appendChild(t);return t},e.prototype.replaceChild=function(t,e){var n=this.childNodes.indexOf(e);return this.removeChild(e),this.appendChild(t,n),e},e.prototype.removeChild=function(t){var e;return r_.relatedNode=this,t.dispatchEvent(r_),(null===(e=t.ownerDocument)||void 0===e?void 0:e.defaultView)&&t.ownerDocument.defaultView.unmountChildren(t),rL.sceneGraphService.detach(t),t},e.prototype.removeChildren=function(){for(var t=this.childNodes.length-1;t>=0;t--){var e=this.childNodes[t];this.removeChild(e)}},e.prototype.destroyChildren=function(){for(var t=this.childNodes.length-1;t>=0;t--){var e=this.childNodes[t];e.childNodes.length&&e.destroyChildren(),e.destroy()}},e.prototype.matches=function(t){return rL.sceneGraphService.matches(t,this)},e.prototype.getElementById=function(t){return rL.sceneGraphService.querySelector("#".concat(t),this)},e.prototype.getElementsByName=function(t){return rL.sceneGraphService.querySelectorAll('[name="'.concat(t,'"]'),this)},e.prototype.getElementsByClassName=function(t){return rL.sceneGraphService.querySelectorAll(".".concat(t),this)},e.prototype.getElementsByTagName=function(t){return rL.sceneGraphService.querySelectorAll(t,this)},e.prototype.querySelector=function(t){return rL.sceneGraphService.querySelector(t,this)},e.prototype.querySelectorAll=function(t){return rL.sceneGraphService.querySelectorAll(t,this)},e.prototype.closest=function(t){var e=this;do{if(rL.sceneGraphService.matches(t,e))return e;e=e.parentElement}while(null!==e);return null},e.prototype.find=function(t){var e=this,n=null;return this.forEach(function(r){return!!(r!==e&&t(r))&&(n=r,!0)}),n},e.prototype.findAll=function(t){var e=this,n=[];return this.forEach(function(r){r!==e&&t(r)&&n.push(r)}),n},e.prototype.after=function(){for(var t=this,e=[],n=0;n1){var n=t[0].currentPoint,r=t[1].currentPoint,i=t[1].startTangent;e=[],i?(e.push([n[0]-i[0],n[1]-i[1]]),e.push([n[0],n[1]])):(e.push([r[0],r[1]]),e.push([n[0],n[1]]))}return e},e.prototype.getEndTangent=function(){var t=this.parsedStyle.d.segments,e=t.length,n=[];if(e>1){var r=t[e-2].currentPoint,i=t[e-1].currentPoint,o=t[e-1].endTangent;n=[],o?(n.push([i[0]-o[0],i[1]-o[1]]),n.push([i[0],i[1]])):(n.push([r[0],r[1]]),n.push([i[0],i[1]]))}return n},e}(rq),r3=function(t){function e(e){void 0===e&&(e={});var n=this,r=e.style,i=(0,W._T)(e,["style"]);(n=t.call(this,(0,W.pi)({type:k.POLYGON,style:rL.enableCSSParsing?(0,W.pi)({points:"",miterLimit:"",isClosed:!0},r):(0,W.pi)({},r),initialParsedStyle:rL.enableCSSParsing?null:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!0}},i))||this).markerStartAngle=0,n.markerEndAngle=0,n.markerMidList=[];var o=n.parsedStyle,a=o.markerStart,s=o.markerEnd,l=o.markerMid;return a&&rZ(a)&&(n.markerStartAngle=a.getLocalEulerAngles(),n.appendChild(a)),l&&rZ(l)&&n.placeMarkerMid(l),s&&rZ(s)&&(n.markerEndAngle=s.getLocalEulerAngles(),n.appendChild(s)),n.transformMarker(!0),n.transformMarker(!1),n}return(0,W.ZT)(e,t),e.prototype.attributeChangedCallback=function(t,e,n,r,i){"points"===t?(this.transformMarker(!0),this.transformMarker(!1),this.placeMarkerMid(this.parsedStyle.markerMid)):"markerStartOffset"===t||"markerEndOffset"===t?(this.transformMarker(!0),this.transformMarker(!1)):"markerStart"===t?(r&&rZ(r)&&(this.markerStartAngle=0,r.remove()),i&&rZ(i)&&(this.markerStartAngle=i.getLocalEulerAngles(),this.appendChild(i),this.transformMarker(!0))):"markerEnd"===t?(r&&rZ(r)&&(this.markerEndAngle=0,r.remove()),i&&rZ(i)&&(this.markerEndAngle=i.getLocalEulerAngles(),this.appendChild(i),this.transformMarker(!1))):"markerMid"===t&&this.placeMarkerMid(i)},e.prototype.transformMarker=function(t){var e,n,r,i,o,a,s=this.parsedStyle,l=s.markerStart,u=s.markerEnd,c=s.markerStartOffset,h=s.markerEndOffset,p=(s.points||{}).points,d=t?l:u;if(d&&rZ(d)&&p){var f=0;if(r=p[0][0],i=p[0][1],t)e=p[1][0]-p[0][0],n=p[1][1]-p[0][1],o=c||0,a=this.markerStartAngle;else{var v=p.length;this.parsedStyle.isClosed?(e=p[v-1][0]-p[0][0],n=p[v-1][1]-p[0][1]):(r=p[v-1][0],i=p[v-1][1],e=p[v-2][0]-p[v-1][0],n=p[v-2][1]-p[v-1][1]),o=h||0,a=this.markerEndAngle}f=Math.atan2(n,e),d.setLocalEulerAngles(180*f/Math.PI+a),d.setLocalPosition(r+Math.cos(f)*o,i+Math.sin(f)*o)}},e.prototype.placeMarkerMid=function(t){var e=(this.parsedStyle.points||{}).points;if(this.markerMidList.forEach(function(t){t.remove()}),this.markerMidList=[],t&&rZ(t)&&e)for(var n=1;n<(this.parsedStyle.isClosed?e.length:e.length-1);n++){var r=e[n][0],i=e[n][1],o=1===n?t:t.cloneNode(!0);this.markerMidList.push(o),this.appendChild(o),o.setLocalPosition(r,i)}},e}(rq),r5=function(t){function e(e){void 0===e&&(e={});var n=e.style,r=(0,W._T)(e,["style"]);return t.call(this,(0,W.pi)({type:k.POLYLINE,style:rL.enableCSSParsing?(0,W.pi)({points:"",miterLimit:"",isClosed:!1},n):(0,W.pi)({},n),initialParsedStyle:rL.enableCSSParsing?null:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!1}},r))||this}return(0,W.ZT)(e,t),e.prototype.getTotalLength=function(){return 0===this.parsedStyle.points.totalLength&&(this.parsedStyle.points.totalLength=(0,tP.hE)(this.parsedStyle.points.points)),this.parsedStyle.points.totalLength},e.prototype.getPointAtLength=function(t,e){return void 0===e&&(e=!1),this.getPoint(t/this.getTotalLength(),e)},e.prototype.getPoint=function(t,e){void 0===e&&(e=!1);var n=this.parsedStyle.points.points;if(0===this.parsedStyle.points.segments.length){var r,i=[],o=0,a=this.getTotalLength();n.forEach(function(t,e){n[e+1]&&((r=[0,0])[0]=o/a,o+=(0,tP.Xk)(t[0],t[1],n[e+1][0],n[e+1][1]),r[1]=o/a,i.push(r))}),this.parsedStyle.points.segments=i}var s=0,l=0;this.parsedStyle.points.segments.forEach(function(e,n){t>=e[0]&&t<=e[1]&&(s=(t-e[0])/(e[1]-e[0]),l=n)});var u=(0,tP.U4)(n[l][0],n[l][1],n[l+1][0],n[l+1][1],s),c=u.x,h=u.y,p=q.fF(q.Ue(),q.al(c,h,0),e?this.getWorldTransform():this.getLocalTransform());return new tj(p[0],p[1])},e.prototype.getStartTangent=function(){var t=this.parsedStyle.points.points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.parsedStyle.points.points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(r3),r4=function(t){function e(e){return void 0===e&&(e={}),t.call(this,(0,W.pi)({type:k.RECT},e))||this}return(0,W.ZT)(e,t),e}(rq),r9=function(t){function e(e){void 0===e&&(e={});var n=e.style,r=(0,W._T)(e,["style"]);return t.call(this,(0,W.pi)({type:k.TEXT,style:rL.enableCSSParsing?(0,W.pi)({x:"",y:"",text:"",fontSize:"",fontFamily:"",fontStyle:"",fontWeight:"",fontVariant:"",textAlign:"",textBaseline:"",textTransform:"",fill:"black",letterSpacing:"",lineHeight:"",miterLimit:"",wordWrap:!1,wordWrapWidth:0,leading:0,dx:"",dy:""},n):(0,W.pi)({fill:"black"},n)},r))||this}return(0,W.ZT)(e,t),e.prototype.getComputedTextLength=function(){var t;return this.getGeometryBounds(),(null===(t=this.parsedStyle.metrics)||void 0===t?void 0:t.maxLineWidth)||0},e.prototype.getLineBoundingRects=function(){var t;return this.getGeometryBounds(),(null===(t=this.parsedStyle.metrics)||void 0===t?void 0:t.lineMetrics)||[]},e.prototype.isOverflowing=function(){return this.getGeometryBounds(),!!this.parsedStyle.isOverflowing},e}(rq),r8=function(){function t(){this.registry={},this.define(k.CIRCLE,rK),this.define(k.ELLIPSE,rJ),this.define(k.RECT,r4),this.define(k.IMAGE,r0),this.define(k.LINE,r1),this.define(k.GROUP,r$),this.define(k.PATH,r2),this.define(k.POLYGON,r3),this.define(k.POLYLINE,r5),this.define(k.TEXT,r9),this.define(k.HTML,rQ)}return t.prototype.define=function(t,e){this.registry[t]=e},t.prototype.get=function(t){return this.registry[t]},t}(),r6=function(t){function e(){var e=t.call(this)||this;e.defaultView=null,e.ownerDocument=null,e.nodeName="document";try{e.timeline=new rL.AnimationTimeline(e)}catch(t){}var n={};return nm.forEach(function(t){var e=t.n,r=t.inh,i=t.d;r&&i&&(n[e]=et(i)?i(k.GROUP):i)}),e.documentElement=new r$({id:"g-root",style:n}),e.documentElement.ownerDocument=e,e.documentElement.parentNode=e,e.childNodes=[e.documentElement],e}return(0,W.ZT)(e,t),Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childElementCount",{get:function(){return this.childNodes.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstElementChild",{get:function(){return this.firstChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastElementChild",{get:function(){return this.lastChild},enumerable:!1,configurable:!0}),e.prototype.createElement=function(t,e){if("svg"===t)return this.documentElement;var n=this.defaultView.customElements.get(t);n||(console.warn("Unsupported tagName: ",t),n="tspan"===t?r9:r$);var r=new n(e);return r.ownerDocument=this,r},e.prototype.createElementNS=function(t,e,n){return this.createElement(e,n)},e.prototype.cloneNode=function(t){throw Error(tH)},e.prototype.destroy=function(){try{this.documentElement.destroyChildren(),this.timeline.destroy()}catch(t){}},e.prototype.elementsFromBBox=function(t,e,n,r){var i=this.defaultView.context.rBushRoot.search({minX:t,minY:e,maxX:n,maxY:r}),o=[];return i.forEach(function(t){var e=t.displayObject,n=e.parsedStyle.pointerEvents,r=["auto","visiblepainted","visiblefill","visiblestroke","visible"].includes(void 0===n?"auto":n);(!r||r&&e.isVisible())&&!e.isCulled()&&e.isInteractive()&&o.push(e)}),o.sort(function(t,e){return e.sortable.renderOrder-t.sortable.renderOrder}),o},e.prototype.elementFromPointSync=function(t,e){var n=this.defaultView.canvas2Viewport({x:t,y:e}),r=n.x,i=n.y,o=this.defaultView.getConfig(),a=o.width,s=o.height;if(r<0||i<0||r>a||i>s)return null;var l=this.defaultView.viewport2Client({x:r,y:i}),u=l.x,c=l.y,h=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!0,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]}).picked;return h&&h[0]||this.documentElement},e.prototype.elementFromPoint=function(t,e){return(0,W.mG)(this,void 0,void 0,function(){var n,r,i,o,a,s,l,u,c,h;return(0,W.Jh)(this,function(p){switch(p.label){case 0:if(r=(n=this.defaultView.canvas2Viewport({x:t,y:e})).x,i=n.y,a=(o=this.defaultView.getConfig()).width,s=o.height,r<0||i<0||r>a||i>s)return[2,null];return u=(l=this.defaultView.viewport2Client({x:r,y:i})).x,c=l.y,[4,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!0,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]})];case 1:return[2,(h=p.sent().picked)&&h[0]||this.documentElement]}})})},e.prototype.elementsFromPointSync=function(t,e){var n=this.defaultView.canvas2Viewport({x:t,y:e}),r=n.x,i=n.y,o=this.defaultView.getConfig(),a=o.width,s=o.height;if(r<0||i<0||r>a||i>s)return[];var l=this.defaultView.viewport2Client({x:r,y:i}),u=l.x,c=l.y,h=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!1,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]}).picked;return h[h.length-1]!==this.documentElement&&h.push(this.documentElement),h},e.prototype.elementsFromPoint=function(t,e){return(0,W.mG)(this,void 0,void 0,function(){var n,r,i,o,a,s,l,u,c,h;return(0,W.Jh)(this,function(p){switch(p.label){case 0:if(r=(n=this.defaultView.canvas2Viewport({x:t,y:e})).x,i=n.y,a=(o=this.defaultView.getConfig()).width,s=o.height,r<0||i<0||r>a||i>s)return[2,[]];return u=(l=this.defaultView.viewport2Client({x:r,y:i})).x,c=l.y,[4,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!1,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]})];case 1:return(h=p.sent().picked)[h.length-1]!==this.documentElement&&h.push(this.documentElement),[2,h]}})})},e.prototype.appendChild=function(t,e){throw Error(tq)},e.prototype.insertBefore=function(t,e){throw Error(tq)},e.prototype.removeChild=function(t,e){throw Error(tq)},e.prototype.replaceChild=function(t,e,n){throw Error(tq)},e.prototype.append=function(){throw Error(tq)},e.prototype.prepend=function(){throw Error(tq)},e.prototype.getElementById=function(t){return this.documentElement.getElementById(t)},e.prototype.getElementsByName=function(t){return this.documentElement.getElementsByName(t)},e.prototype.getElementsByTagName=function(t){return this.documentElement.getElementsByTagName(t)},e.prototype.getElementsByClassName=function(t){return this.documentElement.getElementsByClassName(t)},e.prototype.querySelector=function(t){return this.documentElement.querySelector(t)},e.prototype.querySelectorAll=function(t){return this.documentElement.querySelectorAll(t)},e.prototype.find=function(t){return this.documentElement.find(t)},e.prototype.findAll=function(t){return this.documentElement.findAll(t)},e}(rE),r7=function(){function t(t){this.strategies=t}return t.prototype.apply=function(e){var n=e.camera,r=e.renderingService,i=e.renderingContext,o=this.strategies;r.hooks.cull.tap(t.tag,function(t){if(t){var e=t.cullable;return(0===o.length?e.visible=i.unculledEntities.indexOf(t.entity)>-1:e.visible=o.every(function(e){return e.isVisible(n,t)}),!t.isCulled()&&t.isVisible())?t:(t.dispatchEvent(new rg(X.CULLED)),null)}return t}),r.hooks.afterRender.tap(t.tag,function(t){t.cullable.visibilityPlaneMask=-1})},t.tag="Culling",t}(),it=function(){function t(){var t=this;this.autoPreventDefault=!1,this.rootPointerEvent=new rv(null),this.rootWheelEvent=new ry(null),this.onPointerMove=function(e){var n,r,i,o,a=null===(o=null===(i=t.context.renderingContext.root)||void 0===i?void 0:i.ownerDocument)||void 0===o?void 0:o.defaultView;if(!a.supportsTouchEvents||"touch"!==e.pointerType){var s=t.normalizeToPointerEvent(e,a);try{for(var l=(0,W.XA)(s),u=l.next();!u.done;u=l.next()){var c=u.value,h=t.bootstrapEvent(t.rootPointerEvent,c,a,e);t.context.eventService.mapEvent(h)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}t.setCursor(t.context.eventService.cursor)}},this.onClick=function(e){var n,r,i,o,a=null===(o=null===(i=t.context.renderingContext.root)||void 0===i?void 0:i.ownerDocument)||void 0===o?void 0:o.defaultView,s=t.normalizeToPointerEvent(e,a);try{for(var l=(0,W.XA)(s),u=l.next();!u.done;u=l.next()){var c=u.value,h=t.bootstrapEvent(t.rootPointerEvent,c,a,e);t.context.eventService.mapEvent(h)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}t.setCursor(t.context.eventService.cursor)}}return t.prototype.apply=function(e){var n=this;this.context=e;var r=e.renderingService,i=this.context.renderingContext.root.ownerDocument.defaultView;this.context.eventService.setPickHandler(function(t){return n.context.renderingService.hooks.pickSync.call({position:t,picked:[],topmost:!0}).picked[0]||null}),r.hooks.pointerWheel.tap(t.tag,function(t){var e=n.normalizeWheelEvent(t);n.context.eventService.mapEvent(e)}),r.hooks.pointerDown.tap(t.tag,function(t){if(!i.supportsTouchEvents||"touch"!==t.pointerType){var e,r,o=n.normalizeToPointerEvent(t,i);n.autoPreventDefault&&o[0].isNormalized&&(t.cancelable||!("cancelable"in t))&&t.preventDefault();try{for(var a=(0,W.XA)(o),s=a.next();!s.done;s=a.next()){var l=s.value,u=n.bootstrapEvent(n.rootPointerEvent,l,i,t);n.context.eventService.mapEvent(u)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}n.setCursor(n.context.eventService.cursor)}}),r.hooks.pointerUp.tap(t.tag,function(t){if(!i.supportsTouchEvents||"touch"!==t.pointerType){var e,r,o=n.context.contextService.getDomElement(),a=n.context.eventService.isNativeEventFromCanvas(o,t)?"":"outside",s=n.normalizeToPointerEvent(t,i);try{for(var l=(0,W.XA)(s),u=l.next();!u.done;u=l.next()){var c=u.value,h=n.bootstrapEvent(n.rootPointerEvent,c,i,t);h.type+=a,n.context.eventService.mapEvent(h)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}n.setCursor(n.context.eventService.cursor)}}),r.hooks.pointerMove.tap(t.tag,this.onPointerMove),r.hooks.pointerOver.tap(t.tag,this.onPointerMove),r.hooks.pointerOut.tap(t.tag,this.onPointerMove),r.hooks.click.tap(t.tag,this.onClick),r.hooks.pointerCancel.tap(t.tag,function(t){var e,r,o=n.normalizeToPointerEvent(t,i);try{for(var a=(0,W.XA)(o),s=a.next();!s.done;s=a.next()){var l=s.value,u=n.bootstrapEvent(n.rootPointerEvent,l,i,t);n.context.eventService.mapEvent(u)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}n.setCursor(n.context.eventService.cursor)})},t.prototype.bootstrapEvent=function(t,e,n,r){t.view=n,t.originalEvent=null,t.nativeEvent=r,t.pointerId=e.pointerId,t.width=e.width,t.height=e.height,t.isPrimary=e.isPrimary,t.pointerType=e.pointerType,t.pressure=e.pressure,t.tangentialPressure=e.tangentialPressure,t.tiltX=e.tiltX,t.tiltY=e.tiltY,t.twist=e.twist,this.transferMouseData(t,e);var i=this.context.eventService.client2Viewport({x:e.clientX,y:e.clientY}),o=i.x,a=i.y;t.viewport.x=o,t.viewport.y=a;var s=this.context.eventService.viewport2Canvas(t.viewport),l=s.x,u=s.y;return t.canvas.x=l,t.canvas.y=u,t.global.copyFrom(t.canvas),t.offset.copyFrom(t.canvas),t.isTrusted=r.isTrusted,"pointerleave"===t.type&&(t.type="pointerout"),t.type.startsWith("mouse")&&(t.type=t.type.replace("mouse","pointer")),t.type.startsWith("touch")&&(t.type=nX[t.type]||t.type),t},t.prototype.normalizeWheelEvent=function(t){var e=this.rootWheelEvent;this.transferMouseData(e,t),e.deltaMode=t.deltaMode,e.deltaX=t.deltaX,e.deltaY=t.deltaY,e.deltaZ=t.deltaZ;var n=this.context.eventService.client2Viewport({x:t.clientX,y:t.clientY}),r=n.x,i=n.y;e.viewport.x=r,e.viewport.y=i;var o=this.context.eventService.viewport2Canvas(e.viewport),a=o.x,s=o.y;return e.canvas.x=a,e.canvas.y=s,e.global.copyFrom(e.canvas),e.offset.copyFrom(e.canvas),e.nativeEvent=t,e.type=t.type,e},t.prototype.transferMouseData=function(t,e){t.isTrusted=e.isTrusted,t.srcElement=e.srcElement,t.timeStamp=nj.now(),t.type=e.type,t.altKey=e.altKey,t.metaKey=e.metaKey,t.shiftKey=e.shiftKey,t.ctrlKey=e.ctrlKey,t.button=e.button,t.buttons=e.buttons,t.client.x=e.clientX,t.client.y=e.clientY,t.movement.x=e.movementX,t.movement.y=e.movementY,t.page.x=e.pageX,t.page.y=e.pageY,t.screen.x=e.screenX,t.screen.y=e.screenY,t.relatedTarget=null},t.prototype.setCursor=function(t){this.context.contextService.applyCursorStyle(t||this.context.config.cursor||"default")},t.prototype.normalizeToPointerEvent=function(t,e){var n=[];if(e.isTouchEvent(t))for(var r=0;r-1,a=0,s=r.length;a=1?Math.ceil(k):1,C=l||("auto"===(n=nz(a,"width"))?a.offsetWidth:parseFloat(n))||a.width/k,w=u||("auto"===(r=nz(a,"height"))?a.offsetHeight:parseFloat(r))||a.height/k),s&&(rL.offscreenCanvas=s),i.devicePixelRatio=k,i.requestAnimationFrame=null!=v?v:n1.bind(rL.globalThis),i.cancelAnimationFrame=null!=y?y:n2.bind(rL.globalThis),i.supportsTouchEvents=null!=E?E:"ontouchstart"in rL.globalThis,i.supportsPointerEvents=null!=m?m:!!rL.globalThis.PointerEvent,i.isTouchEvent=null!=S?S:function(t){return i.supportsTouchEvents&&t instanceof rL.globalThis.TouchEvent},i.isMouseEvent=null!=N?N:function(t){return!rL.globalThis.MouseEvent||t instanceof rL.globalThis.MouseEvent&&(!i.supportsPointerEvents||!(t instanceof rL.globalThis.PointerEvent))},i.initRenderingContext({container:o,canvas:a,width:C,height:w,renderer:h,offscreenCanvas:s,devicePixelRatio:k,cursor:d||"default",background:p||"transparent",createImage:g,document:f,supportsCSSTransform:x,useNativeClickEvent:T,alwaysTriggerPointerEventOnCanvas:P}),i.initDefaultCamera(C,w,h.clipSpaceNearZ),i.initRenderer(h,!0),i}(0,W.ZT)(e,t),e.prototype.initRenderingContext=function(t){this.context.config=t,this.context.renderingContext={root:this.document.documentElement,renderListCurrentFrame:[],unculledEntities:[],renderReasons:new Set,force:!1,dirty:!1}},e.prototype.initDefaultCamera=function(t,e,n){var r=this,i=new rL.CameraContribution;i.clipSpaceNearZ=n,i.setType(A.EXPLORING,O.DEFAULT).setPosition(t/2,e/2,500).setFocalPoint(t/2,e/2,0).setOrthographic(-(t/2),t/2,e/2,-(e/2),.1,1e3),i.canvas=this,i.eventEmitter.on(tK.UPDATED,function(){r.context.renderingContext.renderReasons.add(z.CAMERA_CHANGED),rL.enableSizeAttenuation&&r.getConfig().renderer.getConfig().enableSizeAttenuation&&r.updateSizeAttenuation()}),this.context.camera=i},e.prototype.updateSizeAttenuation=function(){var t=this.getCamera().getZoom();this.document.documentElement.forEach(function(e){rL.styleValueRegistry.updateSizeAttenuation(e,t)})},e.prototype.getConfig=function(){return this.context.config},e.prototype.getRoot=function(){return this.document.documentElement},e.prototype.getCamera=function(){return this.context.camera},e.prototype.getContextService=function(){return this.context.contextService},e.prototype.getEventService=function(){return this.context.eventService},e.prototype.getRenderingService=function(){return this.context.renderingService},e.prototype.getRenderingContext=function(){return this.context.renderingContext},e.prototype.getStats=function(){return this.getRenderingService().getStats()},Object.defineProperty(e.prototype,"ready",{get:function(){var t=this;return!this.readyPromise&&(this.readyPromise=new Promise(function(e){t.resolveReadyPromise=function(){e(t)}}),this.inited&&this.resolveReadyPromise()),this.readyPromise},enumerable:!1,configurable:!0}),e.prototype.destroy=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!1),e||this.dispatchEvent(new rg(j.BEFORE_DESTROY)),this.frameId&&(this.getConfig().cancelAnimationFrame||cancelAnimationFrame)(this.frameId);var n=this.getRoot();this.unmountChildren(n),t&&(this.document.destroy(),this.getEventService().destroy()),this.getRenderingService().destroy(),this.getContextService().destroy(),t&&this.context.rBushRoot&&(this.context.rBushRoot.clear(),this.context.rBushRoot=null,this.context.renderingContext.root=null),e||this.dispatchEvent(new rg(j.AFTER_DESTROY))},e.prototype.changeSize=function(t,e){this.resize(t,e)},e.prototype.resize=function(t,e){var n=this.context.config;n.width=t,n.height=e,this.getContextService().resize(t,e);var r=this.context.camera,i=r.getProjectionMode();r.setPosition(t/2,e/2,500).setFocalPoint(t/2,e/2,0),i===I.ORTHOGRAPHIC?r.setOrthographic(-(t/2),t/2,e/2,-(e/2),r.getNear(),r.getFar()):r.setAspect(t/e),this.dispatchEvent(new rg(j.RESIZE,{width:t,height:e}))},e.prototype.appendChild=function(t,e){return this.document.documentElement.appendChild(t,e)},e.prototype.insertBefore=function(t,e){return this.document.documentElement.insertBefore(t,e)},e.prototype.removeChild=function(t){return this.document.documentElement.removeChild(t)},e.prototype.removeChildren=function(){this.document.documentElement.removeChildren()},e.prototype.destroyChildren=function(){this.document.documentElement.destroyChildren()},e.prototype.render=function(t){var e=this;this.dispatchEvent(is),this.getRenderingService().render(this.getConfig(),t,function(){e.dispatchEvent(il)}),this.dispatchEvent(iu)},e.prototype.run=function(){var t=this,e=function(n,r){t.render(r),t.frameId=t.requestAnimationFrame(e)};e()},e.prototype.initRenderer=function(t,e){var n=this;if(void 0===e&&(e=!1),!t)throw Error("Renderer is required.");this.inited=!1,this.readyPromise=void 0,this.context.rBushRoot=new tN,this.context.renderingPlugins=[],this.context.renderingPlugins.push(new it,new ii,new r7([new ir])),this.loadRendererContainerModule(t),this.context.contextService=new this.context.ContextService((0,W.pi)((0,W.pi)({},rL),this.context)),this.context.renderingService=new rT(rL,this.context),this.context.eventService=new rx(rL,this.context),this.context.eventService.init(),this.context.contextService.init?(this.context.contextService.init(),this.initRenderingService(t,e,!0)):this.context.contextService.initAsync().then(function(){n.initRenderingService(t,e)})},e.prototype.initRenderingService=function(t,e,n){var r=this;void 0===e&&(e=!1),void 0===n&&(n=!1),this.context.renderingService.init(function(){r.inited=!0,e?(n?r.requestAnimationFrame(function(){r.dispatchEvent(new rg(j.READY))}):r.dispatchEvent(new rg(j.READY)),r.readyPromise&&r.resolveReadyPromise()):r.dispatchEvent(new rg(j.RENDERER_CHANGED)),e||r.getRoot().forEach(function(t){var e=t.renderable;e&&(e.renderBoundsDirty=!0,e.boundsDirty=!0,e.dirty=!0)}),r.mountChildren(r.getRoot()),t.getConfig().enableAutoRendering&&r.run()})},e.prototype.loadRendererContainerModule=function(t){var e=this;t.getPlugins().forEach(function(t){t.context=e.context,t.init(rL)})},e.prototype.setRenderer=function(t){var e=this.getConfig();if(e.renderer!==t){var n=e.renderer;e.renderer=t,this.destroy(!1,!0),(0,W.ev)([],(0,W.CR)(null==n?void 0:n.getPlugins()),!1).reverse().forEach(function(t){t.destroy(rL)}),this.initRenderer(t)}},e.prototype.setCursor=function(t){this.getConfig().cursor=t,this.getContextService().applyCursorStyle(t)},e.prototype.unmountChildren=function(t){var e=this;t.childNodes.forEach(function(t){e.unmountChildren(t)}),this.inited&&(t.isMutationObserved?t.dispatchEvent(ia):(ia.target=t,this.dispatchEvent(ia,!0)),t!==this.document.documentElement&&(t.ownerDocument=null),t.isConnected=!1),t.isCustomElement&&t.disconnectedCallback&&t.disconnectedCallback()},e.prototype.mountChildren=function(t){var e=this;this.inited?t.isConnected||(t.ownerDocument=this.document,t.isConnected=!0,t.isMutationObserved?t.dispatchEvent(io):(io.target=t,this.dispatchEvent(io,!0))):console.warn("[g]: You are trying to call `canvas.appendChild` before canvas' initialization finished. You can either await `canvas.ready` or listen to `CanvasEvent.READY` manually.","appended child: ",t.nodeName),t.childNodes.forEach(function(t){e.mountChildren(t)}),t.isCustomElement&&t.connectedCallback&&t.connectedCallback()},e.prototype.client2Viewport=function(t){return this.getEventService().client2Viewport(t)},e.prototype.viewport2Client=function(t){return this.getEventService().viewport2Client(t)},e.prototype.viewport2Canvas=function(t){return this.getEventService().viewport2Canvas(t)},e.prototype.canvas2Viewport=function(t){return this.getEventService().canvas2Viewport(t)},e.prototype.getPointByClient=function(t,e){return this.client2Viewport({x:t,y:e})},e.prototype.getClientByPoint=function(t,e){return this.viewport2Client({x:t,y:e})}}(rm)}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1065.174389a5c159fe6c.js b/dbgpt/app/static/web/_next/static/chunks/1065.f6e9b646913a0d07.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/1065.174389a5c159fe6c.js rename to dbgpt/app/static/web/_next/static/chunks/1065.f6e9b646913a0d07.js index 57040a9cd..3ab1b81b0 100644 --- a/dbgpt/app/static/web/_next/static/chunks/1065.174389a5c159fe6c.js +++ b/dbgpt/app/static/web/_next/static/chunks/1065.f6e9b646913a0d07.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1065],{71065:function(e,n,s){s.r(n),s.d(n,{conf:function(){return i},language:function(){return t}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var i={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:RegExp("^\\s*"),end:RegExp("^\\s*")}}},t={defaultToken:"",tokenPostfix:".rst",control:/[\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],alphanumerics:/[A-Za-z0-9]/,simpleRefNameWithoutBq:/(?:@alphanumerics[-_+:.]*@alphanumerics)+|(?:@alphanumerics+)/,simpleRefName:/(?:`@phrase`|@simpleRefNameWithoutBq)/,phrase:/@simpleRefNameWithoutBq(?:\s@simpleRefNameWithoutBq)*/,citationName:/[A-Za-z][A-Za-z0-9-_.]*/,blockLiteralStart:/(?:[!"#$%&'()*+,-./:;<=>?@\[\]^_`{|}~]|[\s])/,precedingChars:/(?:[ -:/'"<([{])/,followingChars:/(?:[ -.,:;!?/'")\]}>]|$)/,punctuation:/(=|-|~|`|#|"|\^|\+|\*|:|\.|'|_|\+)/,tokenizer:{root:[[/^(@punctuation{3,}$){1,1}?/,"keyword"],[/^\s*([\*\-+‣•]|[a-zA-Z0-9]+\.|\([a-zA-Z0-9]+\)|[a-zA-Z0-9]+\))\s/,"keyword"],[/([ ]::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],[/(::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],{include:"@tables"},{include:"@explicitMarkupBlocks"},{include:"@inlineMarkup"}],explicitMarkupBlocks:[{include:"@citations"},{include:"@footnotes"},[/^(\.\.\s)(@simpleRefName)(::\s)(.*)$/,[{token:"",next:"subsequentLines"},"keyword","",""]],[/^(\.\.)(\s+)(_)(@simpleRefName)(:)(\s+)(.*)/,[{token:"",next:"hyperlinks"},"","","string.link","","","string.link"]],[/^((?:(?:\.\.)(?:\s+))?)(__)(:)(\s+)(.*)/,[{token:"",next:"subsequentLines"},"","","","string.link"]],[/^(__\s+)(.+)/,["","string.link"]],[/^(\.\.)( \|)([^| ]+[^|]*[^| ]*)(\| )(@simpleRefName)(:: .*)/,[{token:"",next:"subsequentLines"},"","string.link","","keyword",""],"@rawBlocks"],[/(\|)([^| ]+[^|]*[^| ]*)(\|_{0,2})/,["","string.link",""]],[/^(\.\.)([ ].*)$/,[{token:"",next:"@comments"},"comment"]]],inlineMarkup:[{include:"@citationsReference"},{include:"@footnotesReference"},[/(@simpleRefName)(_{1,2})/,["string.link",""]],[/(`)([^<`]+\s+)(<)(.*)(>)(`)(_)/,["","string.link","","string.link","","",""]],[/\*\*([^\\*]|\*(?!\*))+\*\*/,"strong"],[/\*[^*]+\*/,"emphasis"],[/(``)((?:[^`]|\`(?!`))+)(``)/,["","keyword",""]],[/(__\s+)(.+)/,["","keyword"]],[/(:)((?:@simpleRefNameWithoutBq)?)(:`)([^`]+)(`)/,["","keyword","","",""]],[/(`)([^`]+)(`:)((?:@simpleRefNameWithoutBq)?)(:)/,["","","","keyword",""]],[/(`)([^`]+)(`)/,""],[/(_`)(@phrase)(`)/,["","string.link",""]]],citations:[[/^(\.\.\s+\[)((?:@citationName))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],citationsReference:[[/(\[)(@citationName)(\]_)/,["","string.link",""]]],footnotes:[[/^(\.\.\s+\[)((?:[0-9]+))(\]\s+.*)/,[{token:"",next:"@subsequentLines"},"string.link",""]],[/^(\.\.\s+\[)((?:#@simpleRefName?))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]],[/^(\.\.\s+\[)((?:\*))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],footnotesReference:[[/(\[)([0-9]+)(\])(_)/,["","string.link","",""]],[/(\[)(#@simpleRefName?)(\])(_)/,["","string.link","",""]],[/(\[)(\*)(\])(_)/,["","string.link","",""]]],blankLineOfLiteralBlocks:[[/^$/,"","@subsequentLinesOfLiteralBlocks"],[/^.*$/,"","@pop"]],subsequentLinesOfLiteralBlocks:[[/(@blockLiteralStart+)(.*)/,["keyword",""]],[/^(?!blockLiteralStart)/,"","@popall"]],subsequentLines:[[/^[\s]+.*/,""],[/^(?!\s)/,"","@pop"]],hyperlinks:[[/^[\s]+.*/,"string.link"],[/^(?!\s)/,"","@pop"]],comments:[[/^[\s]+.*/,"comment"],[/^(?!\s)/,"","@pop"]],tables:[[/\+-[+-]+/,"keyword"],[/\+=[+=]+/,"keyword"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1134.6d3fba1fd6bd2703.js b/dbgpt/app/static/web/_next/static/chunks/1134.6d3fba1fd6bd2703.js new file mode 100644 index 000000000..710c5ec2b --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/1134.6d3fba1fd6bd2703.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1134,6717],{41134:function(e,t,n){n.r(t),n.d(t,{conf:function(){return r},language:function(){return i}});var o=n(96717),r=o.conf,i={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:o.language.operators,symbols:o.language.symbols,escapes:o.language.escapes,digits:o.language.digits,octaldigits:o.language.octaldigits,binarydigits:o.language.binarydigits,hexdigits:o.language.hexdigits,regexpctl:o.language.regexpctl,regexpesc:o.language.regexpesc,tokenizer:o.language.tokenizer}},96717:function(e,t,n){n.r(t),n.d(t,{conf:function(){return p},language:function(){return d}});var o,r=n(72339),i=Object.defineProperty,s=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,g=(e,t,n,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))c.call(e,r)||r===n||i(e,r,{get:()=>t[r],enumerable:!(o=s(t,r))||o.enumerable});return e},l={};g(l,r,"default"),o&&g(o,r,"default");var p={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:l.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:l.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:l.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:l.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:RegExp("^\\s*//\\s*#?region\\b"),end:RegExp("^\\s*//\\s*#?endregion\\b")}}},d={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","out","package","private","protected","public","override","readonly","require","global","return","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<",">",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([dgimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1134.8a517406b812edfa.js b/dbgpt/app/static/web/_next/static/chunks/1134.8a517406b812edfa.js deleted file mode 100644 index 938e7b936..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/1134.8a517406b812edfa.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1134,6717],{41134:function(e,t,n){n.r(t),n.d(t,{conf:function(){return r},language:function(){return i}});var o=n(96717),r=o.conf,i={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","static","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:o.language.operators,symbols:o.language.symbols,escapes:o.language.escapes,digits:o.language.digits,octaldigits:o.language.octaldigits,binarydigits:o.language.binarydigits,hexdigits:o.language.hexdigits,regexpctl:o.language.regexpctl,regexpesc:o.language.regexpesc,tokenizer:o.language.tokenizer}},96717:function(e,t,n){n.r(t),n.d(t,{conf:function(){return p},language:function(){return d}});var o,r=n(5036),i=Object.defineProperty,s=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,g=(e,t,n,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))c.call(e,r)||r===n||i(e,r,{get:()=>t[r],enumerable:!(o=s(t,r))||o.enumerable});return e},l={};g(l,r,"default"),o&&g(o,r,"default");var p={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:l.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:l.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:l.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:l.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:RegExp("^\\s*//\\s*#?region\\b"),end:RegExp("^\\s*//\\s*#?endregion\\b")}}},d={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","out","package","private","protected","public","override","readonly","require","global","return","satisfies","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<",">",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([dgimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1147.169ea4f57c390c63.js b/dbgpt/app/static/web/_next/static/chunks/1147.71f2b582039c2418.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/1147.169ea4f57c390c63.js rename to dbgpt/app/static/web/_next/static/chunks/1147.71f2b582039c2418.js index ab159f9c9..be67b99ff 100644 --- a/dbgpt/app/static/web/_next/static/chunks/1147.169ea4f57c390c63.js +++ b/dbgpt/app/static/web/_next/static/chunks/1147.71f2b582039c2418.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1147],{21147:function(e,n,r){r.r(n),r.d(n,{conf:function(){return t},language:function(){return s}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var t={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*#region\\b"),end:RegExp("^\\s*#endregion\\b")}}},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".coffee",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:["and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when"],symbols:/[=>"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},d={defaultToken:"",tokenPostfix:".sol",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["pragma","solidity","contract","library","using","struct","function","modifier","constructor","address","string","bool","Int","Uint","Byte","Fixed","Ufixed","int","int8","int16","int24","int32","int40","int48","int56","int64","int72","int80","int88","int96","int104","int112","int120","int128","int136","int144","int152","int160","int168","int176","int184","int192","int200","int208","int216","int224","int232","int240","int248","int256","uint","uint8","uint16","uint24","uint32","uint40","uint48","uint56","uint64","uint72","uint80","uint88","uint96","uint104","uint112","uint120","uint128","uint136","uint144","uint152","uint160","uint168","uint176","uint184","uint192","uint200","uint208","uint216","uint224","uint232","uint240","uint248","uint256","byte","bytes","bytes1","bytes2","bytes3","bytes4","bytes5","bytes6","bytes7","bytes8","bytes9","bytes10","bytes11","bytes12","bytes13","bytes14","bytes15","bytes16","bytes17","bytes18","bytes19","bytes20","bytes21","bytes22","bytes23","bytes24","bytes25","bytes26","bytes27","bytes28","bytes29","bytes30","bytes31","bytes32","fixed","fixed0x8","fixed0x16","fixed0x24","fixed0x32","fixed0x40","fixed0x48","fixed0x56","fixed0x64","fixed0x72","fixed0x80","fixed0x88","fixed0x96","fixed0x104","fixed0x112","fixed0x120","fixed0x128","fixed0x136","fixed0x144","fixed0x152","fixed0x160","fixed0x168","fixed0x176","fixed0x184","fixed0x192","fixed0x200","fixed0x208","fixed0x216","fixed0x224","fixed0x232","fixed0x240","fixed0x248","fixed0x256","fixed8x8","fixed8x16","fixed8x24","fixed8x32","fixed8x40","fixed8x48","fixed8x56","fixed8x64","fixed8x72","fixed8x80","fixed8x88","fixed8x96","fixed8x104","fixed8x112","fixed8x120","fixed8x128","fixed8x136","fixed8x144","fixed8x152","fixed8x160","fixed8x168","fixed8x176","fixed8x184","fixed8x192","fixed8x200","fixed8x208","fixed8x216","fixed8x224","fixed8x232","fixed8x240","fixed8x248","fixed16x8","fixed16x16","fixed16x24","fixed16x32","fixed16x40","fixed16x48","fixed16x56","fixed16x64","fixed16x72","fixed16x80","fixed16x88","fixed16x96","fixed16x104","fixed16x112","fixed16x120","fixed16x128","fixed16x136","fixed16x144","fixed16x152","fixed16x160","fixed16x168","fixed16x176","fixed16x184","fixed16x192","fixed16x200","fixed16x208","fixed16x216","fixed16x224","fixed16x232","fixed16x240","fixed24x8","fixed24x16","fixed24x24","fixed24x32","fixed24x40","fixed24x48","fixed24x56","fixed24x64","fixed24x72","fixed24x80","fixed24x88","fixed24x96","fixed24x104","fixed24x112","fixed24x120","fixed24x128","fixed24x136","fixed24x144","fixed24x152","fixed24x160","fixed24x168","fixed24x176","fixed24x184","fixed24x192","fixed24x200","fixed24x208","fixed24x216","fixed24x224","fixed24x232","fixed32x8","fixed32x16","fixed32x24","fixed32x32","fixed32x40","fixed32x48","fixed32x56","fixed32x64","fixed32x72","fixed32x80","fixed32x88","fixed32x96","fixed32x104","fixed32x112","fixed32x120","fixed32x128","fixed32x136","fixed32x144","fixed32x152","fixed32x160","fixed32x168","fixed32x176","fixed32x184","fixed32x192","fixed32x200","fixed32x208","fixed32x216","fixed32x224","fixed40x8","fixed40x16","fixed40x24","fixed40x32","fixed40x40","fixed40x48","fixed40x56","fixed40x64","fixed40x72","fixed40x80","fixed40x88","fixed40x96","fixed40x104","fixed40x112","fixed40x120","fixed40x128","fixed40x136","fixed40x144","fixed40x152","fixed40x160","fixed40x168","fixed40x176","fixed40x184","fixed40x192","fixed40x200","fixed40x208","fixed40x216","fixed48x8","fixed48x16","fixed48x24","fixed48x32","fixed48x40","fixed48x48","fixed48x56","fixed48x64","fixed48x72","fixed48x80","fixed48x88","fixed48x96","fixed48x104","fixed48x112","fixed48x120","fixed48x128","fixed48x136","fixed48x144","fixed48x152","fixed48x160","fixed48x168","fixed48x176","fixed48x184","fixed48x192","fixed48x200","fixed48x208","fixed56x8","fixed56x16","fixed56x24","fixed56x32","fixed56x40","fixed56x48","fixed56x56","fixed56x64","fixed56x72","fixed56x80","fixed56x88","fixed56x96","fixed56x104","fixed56x112","fixed56x120","fixed56x128","fixed56x136","fixed56x144","fixed56x152","fixed56x160","fixed56x168","fixed56x176","fixed56x184","fixed56x192","fixed56x200","fixed64x8","fixed64x16","fixed64x24","fixed64x32","fixed64x40","fixed64x48","fixed64x56","fixed64x64","fixed64x72","fixed64x80","fixed64x88","fixed64x96","fixed64x104","fixed64x112","fixed64x120","fixed64x128","fixed64x136","fixed64x144","fixed64x152","fixed64x160","fixed64x168","fixed64x176","fixed64x184","fixed64x192","fixed72x8","fixed72x16","fixed72x24","fixed72x32","fixed72x40","fixed72x48","fixed72x56","fixed72x64","fixed72x72","fixed72x80","fixed72x88","fixed72x96","fixed72x104","fixed72x112","fixed72x120","fixed72x128","fixed72x136","fixed72x144","fixed72x152","fixed72x160","fixed72x168","fixed72x176","fixed72x184","fixed80x8","fixed80x16","fixed80x24","fixed80x32","fixed80x40","fixed80x48","fixed80x56","fixed80x64","fixed80x72","fixed80x80","fixed80x88","fixed80x96","fixed80x104","fixed80x112","fixed80x120","fixed80x128","fixed80x136","fixed80x144","fixed80x152","fixed80x160","fixed80x168","fixed80x176","fixed88x8","fixed88x16","fixed88x24","fixed88x32","fixed88x40","fixed88x48","fixed88x56","fixed88x64","fixed88x72","fixed88x80","fixed88x88","fixed88x96","fixed88x104","fixed88x112","fixed88x120","fixed88x128","fixed88x136","fixed88x144","fixed88x152","fixed88x160","fixed88x168","fixed96x8","fixed96x16","fixed96x24","fixed96x32","fixed96x40","fixed96x48","fixed96x56","fixed96x64","fixed96x72","fixed96x80","fixed96x88","fixed96x96","fixed96x104","fixed96x112","fixed96x120","fixed96x128","fixed96x136","fixed96x144","fixed96x152","fixed96x160","fixed104x8","fixed104x16","fixed104x24","fixed104x32","fixed104x40","fixed104x48","fixed104x56","fixed104x64","fixed104x72","fixed104x80","fixed104x88","fixed104x96","fixed104x104","fixed104x112","fixed104x120","fixed104x128","fixed104x136","fixed104x144","fixed104x152","fixed112x8","fixed112x16","fixed112x24","fixed112x32","fixed112x40","fixed112x48","fixed112x56","fixed112x64","fixed112x72","fixed112x80","fixed112x88","fixed112x96","fixed112x104","fixed112x112","fixed112x120","fixed112x128","fixed112x136","fixed112x144","fixed120x8","fixed120x16","fixed120x24","fixed120x32","fixed120x40","fixed120x48","fixed120x56","fixed120x64","fixed120x72","fixed120x80","fixed120x88","fixed120x96","fixed120x104","fixed120x112","fixed120x120","fixed120x128","fixed120x136","fixed128x8","fixed128x16","fixed128x24","fixed128x32","fixed128x40","fixed128x48","fixed128x56","fixed128x64","fixed128x72","fixed128x80","fixed128x88","fixed128x96","fixed128x104","fixed128x112","fixed128x120","fixed128x128","fixed136x8","fixed136x16","fixed136x24","fixed136x32","fixed136x40","fixed136x48","fixed136x56","fixed136x64","fixed136x72","fixed136x80","fixed136x88","fixed136x96","fixed136x104","fixed136x112","fixed136x120","fixed144x8","fixed144x16","fixed144x24","fixed144x32","fixed144x40","fixed144x48","fixed144x56","fixed144x64","fixed144x72","fixed144x80","fixed144x88","fixed144x96","fixed144x104","fixed144x112","fixed152x8","fixed152x16","fixed152x24","fixed152x32","fixed152x40","fixed152x48","fixed152x56","fixed152x64","fixed152x72","fixed152x80","fixed152x88","fixed152x96","fixed152x104","fixed160x8","fixed160x16","fixed160x24","fixed160x32","fixed160x40","fixed160x48","fixed160x56","fixed160x64","fixed160x72","fixed160x80","fixed160x88","fixed160x96","fixed168x8","fixed168x16","fixed168x24","fixed168x32","fixed168x40","fixed168x48","fixed168x56","fixed168x64","fixed168x72","fixed168x80","fixed168x88","fixed176x8","fixed176x16","fixed176x24","fixed176x32","fixed176x40","fixed176x48","fixed176x56","fixed176x64","fixed176x72","fixed176x80","fixed184x8","fixed184x16","fixed184x24","fixed184x32","fixed184x40","fixed184x48","fixed184x56","fixed184x64","fixed184x72","fixed192x8","fixed192x16","fixed192x24","fixed192x32","fixed192x40","fixed192x48","fixed192x56","fixed192x64","fixed200x8","fixed200x16","fixed200x24","fixed200x32","fixed200x40","fixed200x48","fixed200x56","fixed208x8","fixed208x16","fixed208x24","fixed208x32","fixed208x40","fixed208x48","fixed216x8","fixed216x16","fixed216x24","fixed216x32","fixed216x40","fixed224x8","fixed224x16","fixed224x24","fixed224x32","fixed232x8","fixed232x16","fixed232x24","fixed240x8","fixed240x16","fixed248x8","ufixed","ufixed0x8","ufixed0x16","ufixed0x24","ufixed0x32","ufixed0x40","ufixed0x48","ufixed0x56","ufixed0x64","ufixed0x72","ufixed0x80","ufixed0x88","ufixed0x96","ufixed0x104","ufixed0x112","ufixed0x120","ufixed0x128","ufixed0x136","ufixed0x144","ufixed0x152","ufixed0x160","ufixed0x168","ufixed0x176","ufixed0x184","ufixed0x192","ufixed0x200","ufixed0x208","ufixed0x216","ufixed0x224","ufixed0x232","ufixed0x240","ufixed0x248","ufixed0x256","ufixed8x8","ufixed8x16","ufixed8x24","ufixed8x32","ufixed8x40","ufixed8x48","ufixed8x56","ufixed8x64","ufixed8x72","ufixed8x80","ufixed8x88","ufixed8x96","ufixed8x104","ufixed8x112","ufixed8x120","ufixed8x128","ufixed8x136","ufixed8x144","ufixed8x152","ufixed8x160","ufixed8x168","ufixed8x176","ufixed8x184","ufixed8x192","ufixed8x200","ufixed8x208","ufixed8x216","ufixed8x224","ufixed8x232","ufixed8x240","ufixed8x248","ufixed16x8","ufixed16x16","ufixed16x24","ufixed16x32","ufixed16x40","ufixed16x48","ufixed16x56","ufixed16x64","ufixed16x72","ufixed16x80","ufixed16x88","ufixed16x96","ufixed16x104","ufixed16x112","ufixed16x120","ufixed16x128","ufixed16x136","ufixed16x144","ufixed16x152","ufixed16x160","ufixed16x168","ufixed16x176","ufixed16x184","ufixed16x192","ufixed16x200","ufixed16x208","ufixed16x216","ufixed16x224","ufixed16x232","ufixed16x240","ufixed24x8","ufixed24x16","ufixed24x24","ufixed24x32","ufixed24x40","ufixed24x48","ufixed24x56","ufixed24x64","ufixed24x72","ufixed24x80","ufixed24x88","ufixed24x96","ufixed24x104","ufixed24x112","ufixed24x120","ufixed24x128","ufixed24x136","ufixed24x144","ufixed24x152","ufixed24x160","ufixed24x168","ufixed24x176","ufixed24x184","ufixed24x192","ufixed24x200","ufixed24x208","ufixed24x216","ufixed24x224","ufixed24x232","ufixed32x8","ufixed32x16","ufixed32x24","ufixed32x32","ufixed32x40","ufixed32x48","ufixed32x56","ufixed32x64","ufixed32x72","ufixed32x80","ufixed32x88","ufixed32x96","ufixed32x104","ufixed32x112","ufixed32x120","ufixed32x128","ufixed32x136","ufixed32x144","ufixed32x152","ufixed32x160","ufixed32x168","ufixed32x176","ufixed32x184","ufixed32x192","ufixed32x200","ufixed32x208","ufixed32x216","ufixed32x224","ufixed40x8","ufixed40x16","ufixed40x24","ufixed40x32","ufixed40x40","ufixed40x48","ufixed40x56","ufixed40x64","ufixed40x72","ufixed40x80","ufixed40x88","ufixed40x96","ufixed40x104","ufixed40x112","ufixed40x120","ufixed40x128","ufixed40x136","ufixed40x144","ufixed40x152","ufixed40x160","ufixed40x168","ufixed40x176","ufixed40x184","ufixed40x192","ufixed40x200","ufixed40x208","ufixed40x216","ufixed48x8","ufixed48x16","ufixed48x24","ufixed48x32","ufixed48x40","ufixed48x48","ufixed48x56","ufixed48x64","ufixed48x72","ufixed48x80","ufixed48x88","ufixed48x96","ufixed48x104","ufixed48x112","ufixed48x120","ufixed48x128","ufixed48x136","ufixed48x144","ufixed48x152","ufixed48x160","ufixed48x168","ufixed48x176","ufixed48x184","ufixed48x192","ufixed48x200","ufixed48x208","ufixed56x8","ufixed56x16","ufixed56x24","ufixed56x32","ufixed56x40","ufixed56x48","ufixed56x56","ufixed56x64","ufixed56x72","ufixed56x80","ufixed56x88","ufixed56x96","ufixed56x104","ufixed56x112","ufixed56x120","ufixed56x128","ufixed56x136","ufixed56x144","ufixed56x152","ufixed56x160","ufixed56x168","ufixed56x176","ufixed56x184","ufixed56x192","ufixed56x200","ufixed64x8","ufixed64x16","ufixed64x24","ufixed64x32","ufixed64x40","ufixed64x48","ufixed64x56","ufixed64x64","ufixed64x72","ufixed64x80","ufixed64x88","ufixed64x96","ufixed64x104","ufixed64x112","ufixed64x120","ufixed64x128","ufixed64x136","ufixed64x144","ufixed64x152","ufixed64x160","ufixed64x168","ufixed64x176","ufixed64x184","ufixed64x192","ufixed72x8","ufixed72x16","ufixed72x24","ufixed72x32","ufixed72x40","ufixed72x48","ufixed72x56","ufixed72x64","ufixed72x72","ufixed72x80","ufixed72x88","ufixed72x96","ufixed72x104","ufixed72x112","ufixed72x120","ufixed72x128","ufixed72x136","ufixed72x144","ufixed72x152","ufixed72x160","ufixed72x168","ufixed72x176","ufixed72x184","ufixed80x8","ufixed80x16","ufixed80x24","ufixed80x32","ufixed80x40","ufixed80x48","ufixed80x56","ufixed80x64","ufixed80x72","ufixed80x80","ufixed80x88","ufixed80x96","ufixed80x104","ufixed80x112","ufixed80x120","ufixed80x128","ufixed80x136","ufixed80x144","ufixed80x152","ufixed80x160","ufixed80x168","ufixed80x176","ufixed88x8","ufixed88x16","ufixed88x24","ufixed88x32","ufixed88x40","ufixed88x48","ufixed88x56","ufixed88x64","ufixed88x72","ufixed88x80","ufixed88x88","ufixed88x96","ufixed88x104","ufixed88x112","ufixed88x120","ufixed88x128","ufixed88x136","ufixed88x144","ufixed88x152","ufixed88x160","ufixed88x168","ufixed96x8","ufixed96x16","ufixed96x24","ufixed96x32","ufixed96x40","ufixed96x48","ufixed96x56","ufixed96x64","ufixed96x72","ufixed96x80","ufixed96x88","ufixed96x96","ufixed96x104","ufixed96x112","ufixed96x120","ufixed96x128","ufixed96x136","ufixed96x144","ufixed96x152","ufixed96x160","ufixed104x8","ufixed104x16","ufixed104x24","ufixed104x32","ufixed104x40","ufixed104x48","ufixed104x56","ufixed104x64","ufixed104x72","ufixed104x80","ufixed104x88","ufixed104x96","ufixed104x104","ufixed104x112","ufixed104x120","ufixed104x128","ufixed104x136","ufixed104x144","ufixed104x152","ufixed112x8","ufixed112x16","ufixed112x24","ufixed112x32","ufixed112x40","ufixed112x48","ufixed112x56","ufixed112x64","ufixed112x72","ufixed112x80","ufixed112x88","ufixed112x96","ufixed112x104","ufixed112x112","ufixed112x120","ufixed112x128","ufixed112x136","ufixed112x144","ufixed120x8","ufixed120x16","ufixed120x24","ufixed120x32","ufixed120x40","ufixed120x48","ufixed120x56","ufixed120x64","ufixed120x72","ufixed120x80","ufixed120x88","ufixed120x96","ufixed120x104","ufixed120x112","ufixed120x120","ufixed120x128","ufixed120x136","ufixed128x8","ufixed128x16","ufixed128x24","ufixed128x32","ufixed128x40","ufixed128x48","ufixed128x56","ufixed128x64","ufixed128x72","ufixed128x80","ufixed128x88","ufixed128x96","ufixed128x104","ufixed128x112","ufixed128x120","ufixed128x128","ufixed136x8","ufixed136x16","ufixed136x24","ufixed136x32","ufixed136x40","ufixed136x48","ufixed136x56","ufixed136x64","ufixed136x72","ufixed136x80","ufixed136x88","ufixed136x96","ufixed136x104","ufixed136x112","ufixed136x120","ufixed144x8","ufixed144x16","ufixed144x24","ufixed144x32","ufixed144x40","ufixed144x48","ufixed144x56","ufixed144x64","ufixed144x72","ufixed144x80","ufixed144x88","ufixed144x96","ufixed144x104","ufixed144x112","ufixed152x8","ufixed152x16","ufixed152x24","ufixed152x32","ufixed152x40","ufixed152x48","ufixed152x56","ufixed152x64","ufixed152x72","ufixed152x80","ufixed152x88","ufixed152x96","ufixed152x104","ufixed160x8","ufixed160x16","ufixed160x24","ufixed160x32","ufixed160x40","ufixed160x48","ufixed160x56","ufixed160x64","ufixed160x72","ufixed160x80","ufixed160x88","ufixed160x96","ufixed168x8","ufixed168x16","ufixed168x24","ufixed168x32","ufixed168x40","ufixed168x48","ufixed168x56","ufixed168x64","ufixed168x72","ufixed168x80","ufixed168x88","ufixed176x8","ufixed176x16","ufixed176x24","ufixed176x32","ufixed176x40","ufixed176x48","ufixed176x56","ufixed176x64","ufixed176x72","ufixed176x80","ufixed184x8","ufixed184x16","ufixed184x24","ufixed184x32","ufixed184x40","ufixed184x48","ufixed184x56","ufixed184x64","ufixed184x72","ufixed192x8","ufixed192x16","ufixed192x24","ufixed192x32","ufixed192x40","ufixed192x48","ufixed192x56","ufixed192x64","ufixed200x8","ufixed200x16","ufixed200x24","ufixed200x32","ufixed200x40","ufixed200x48","ufixed200x56","ufixed208x8","ufixed208x16","ufixed208x24","ufixed208x32","ufixed208x40","ufixed208x48","ufixed216x8","ufixed216x16","ufixed216x24","ufixed216x32","ufixed216x40","ufixed224x8","ufixed224x16","ufixed224x24","ufixed224x32","ufixed232x8","ufixed232x16","ufixed232x24","ufixed240x8","ufixed240x16","ufixed248x8","event","enum","let","mapping","private","public","external","inherited","payable","true","false","var","import","constant","if","else","for","else","for","while","do","break","continue","throw","returns","return","suicide","new","is","this","super"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/118-ed7c92bb0f6e1f76.js b/dbgpt/app/static/web/_next/static/chunks/118-ed7c92bb0f6e1f76.js deleted file mode 100644 index 5bd32d5f9..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/118-ed7c92bb0f6e1f76.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[118,4393],{2093:function(e,t,i){var n=i(97582),o=i(67294),r=i(92770);t.Z=function(e,t){(0,o.useEffect)(function(){var t=e(),i=!1;return!function(){(0,n.mG)(this,void 0,void 0,function(){return(0,n.Jh)(this,function(e){switch(e.label){case 0:if(!(0,r.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||i)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){i=!0}},t)}},4393:function(e,t,i){i.d(t,{Z:function(){return z}});var n=i(67294),o=i(93967),r=i.n(o),a=i(98423),l=i(53124),c=i(98675),s=i(87564),d=i(11941),m=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i},g=e=>{var{prefixCls:t,className:i,hoverable:o=!0}=e,a=m(e,["prefixCls","className","hoverable"]);let{getPrefixCls:c}=n.useContext(l.E_),s=c("card",t),d=r()(`${s}-grid`,i,{[`${s}-grid-hoverable`]:o});return n.createElement("div",Object.assign({},a,{className:d}))},p=i(47648),u=i(14747),b=i(83559),$=i(87893);let f=e=>{let{antCls:t,componentCls:i,headerHeight:n,cardPaddingBase:o,tabsMarginBottom:r}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:n,marginBottom:-1,padding:`0 ${(0,p.bf)(o)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,p.bf)(e.borderRadiusLG)} ${(0,p.bf)(e.borderRadiusLG)} 0 0`},(0,u.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},u.vS),{[` - > ${i}-typography, - > ${i}-typography-edit-content - `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:r,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},h=e=>{let{cardPaddingBase:t,colorBorderSecondary:i,cardShadow:n,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` - ${(0,p.bf)(o)} 0 0 0 ${i}, - 0 ${(0,p.bf)(o)} 0 0 ${i}, - ${(0,p.bf)(o)} ${(0,p.bf)(o)} 0 0 ${i}, - ${(0,p.bf)(o)} 0 0 0 ${i} inset, - 0 ${(0,p.bf)(o)} 0 0 ${i} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:n}}},v=e=>{let{componentCls:t,iconCls:i,actionsLiMargin:n,cardActionsIconSize:o,colorBorderSecondary:r,actionsBg:a}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:a,borderTop:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${r}`,display:"flex",borderRadius:`0 0 ${(0,p.bf)(e.borderRadiusLG)} ${(0,p.bf)(e.borderRadiusLG)}`},(0,u.dF)()),{"& > li":{margin:n,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${i}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,p.bf)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${i}`]:{fontSize:o,lineHeight:(0,p.bf)(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${r}`}}})},y=e=>Object.assign(Object.assign({margin:`${(0,p.bf)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,u.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},u.vS),"&-description":{color:e.colorTextDescription}}),S=e=>{let{componentCls:t,cardPaddingBase:i,colorFillAlter:n}=e;return{[`${t}-head`]:{padding:`0 ${(0,p.bf)(i)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,p.bf)(e.padding)} ${(0,p.bf)(i)}`}}},C=e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},x=e=>{let{componentCls:t,cardShadow:i,cardHeadPadding:n,colorBorderSecondary:o,boxShadowTertiary:r,cardPaddingBase:a,extraColor:l}=e;return{[t]:Object.assign(Object.assign({},(0,u.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:r},[`${t}-head`]:f(e),[`${t}-extra`]:{marginInlineStart:"auto",color:l,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:a,borderRadius:`0 0 ${(0,p.bf)(e.borderRadiusLG)} ${(0,p.bf)(e.borderRadiusLG)}`},(0,u.dF)()),[`${t}-grid`]:h(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,p.bf)(e.borderRadiusLG)} ${(0,p.bf)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:v(e),[`${t}-meta`]:y(e)}),[`${t}-bordered`]:{border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${o}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:i}},[`${t}-contain-grid`]:{borderRadius:`${(0,p.bf)(e.borderRadiusLG)} ${(0,p.bf)(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:n}}},[`${t}-type-inner`]:S(e),[`${t}-loading`]:C(e),[`${t}-rtl`]:{direction:"rtl"}}},O=e=>{let{componentCls:t,cardPaddingSM:i,headerHeightSM:n,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:n,padding:`0 ${(0,p.bf)(i)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:i}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}};var w=(0,b.I$)("Card",e=>{let t=(0,$.IX)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[x(t),O(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})),I=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let j=e=>{let{actionClasses:t,actions:i=[],actionStyle:o}=e;return n.createElement("ul",{className:t,style:o},i.map((e,t)=>{let o=`action-${t}`;return n.createElement("li",{style:{width:`${100/i.length}%`},key:o},n.createElement("span",null,e))}))},E=n.forwardRef((e,t)=>{let i;let{prefixCls:o,className:m,rootClassName:p,style:u,extra:b,headStyle:$={},bodyStyle:f={},title:h,loading:v,bordered:y=!0,size:S,type:C,cover:x,actions:O,tabList:E,children:k,activeTabKey:z,defaultActiveTabKey:T,tabBarExtraContent:N,hoverable:q,tabProps:H={},classNames:B,styles:W}=e,P=I(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:M,direction:Z,card:L}=n.useContext(l.E_),R=e=>{var t;return r()(null===(t=null==L?void 0:L.classNames)||void 0===t?void 0:t[e],null==B?void 0:B[e])},D=e=>{var t;return Object.assign(Object.assign({},null===(t=null==L?void 0:L.styles)||void 0===t?void 0:t[e]),null==W?void 0:W[e])},X=n.useMemo(()=>{let e=!1;return n.Children.forEach(k,t=>{(null==t?void 0:t.type)===g&&(e=!0)}),e},[k]),G=M("card",o),[A,F,_]=w(G),K=n.createElement(s.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},k),Y=void 0!==z,J=Object.assign(Object.assign({},H),{[Y?"activeKey":"defaultActiveKey"]:Y?z:T,tabBarExtraContent:N}),Q=(0,c.Z)(S),U=E?n.createElement(d.Z,Object.assign({size:Q&&"default"!==Q?Q:"large"},J,{className:`${G}-head-tabs`,onChange:t=>{var i;null===(i=e.onTabChange)||void 0===i||i.call(e,t)},items:E.map(e=>{var{tab:t}=e;return Object.assign({label:t},I(e,["tab"]))})})):null;if(h||b||U){let e=r()(`${G}-head`,R("header")),t=r()(`${G}-head-title`,R("title")),o=r()(`${G}-extra`,R("extra")),a=Object.assign(Object.assign({},$),D("header"));i=n.createElement("div",{className:e,style:a},n.createElement("div",{className:`${G}-head-wrapper`},h&&n.createElement("div",{className:t,style:D("title")},h),b&&n.createElement("div",{className:o,style:D("extra")},b)),U)}let V=r()(`${G}-cover`,R("cover")),ee=x?n.createElement("div",{className:V,style:D("cover")},x):null,et=r()(`${G}-body`,R("body")),ei=Object.assign(Object.assign({},f),D("body")),en=n.createElement("div",{className:et,style:ei},v?K:k),eo=r()(`${G}-actions`,R("actions")),er=(null==O?void 0:O.length)?n.createElement(j,{actionClasses:eo,actionStyle:D("actions"),actions:O}):null,ea=(0,a.Z)(P,["onTabChange"]),el=r()(G,null==L?void 0:L.className,{[`${G}-loading`]:v,[`${G}-bordered`]:y,[`${G}-hoverable`]:q,[`${G}-contain-grid`]:X,[`${G}-contain-tabs`]:null==E?void 0:E.length,[`${G}-${Q}`]:Q,[`${G}-type-${C}`]:!!C,[`${G}-rtl`]:"rtl"===Z},m,p,F,_),ec=Object.assign(Object.assign({},null==L?void 0:L.style),u);return A(n.createElement("div",Object.assign({ref:t},ea,{className:el,style:ec}),i,ee,en,er))});var k=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};E.Grid=g,E.Meta=e=>{let{prefixCls:t,className:i,avatar:o,title:a,description:c}=e,s=k(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:d}=n.useContext(l.E_),m=d("card",t),g=r()(`${m}-meta`,i),p=o?n.createElement("div",{className:`${m}-meta-avatar`},o):null,u=a?n.createElement("div",{className:`${m}-meta-title`},a):null,b=c?n.createElement("div",{className:`${m}-meta-description`},c):null,$=u||b?n.createElement("div",{className:`${m}-meta-detail`},u,b):null;return n.createElement("div",Object.assign({},s,{className:g}),p,$)};var z=E},86250:function(e,t,i){i.d(t,{Z:function(){return w}});var n=i(67294),o=i(93967),r=i.n(o),a=i(98423),l=i(98065),c=i(53124),s=i(83559),d=i(87893);let m=["wrap","nowrap","wrap-reverse"],g=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],p=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],u=(e,t)=>{let i=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${i}`]:i&&m.includes(i)}},b=(e,t)=>{let i={};return p.forEach(n=>{i[`${e}-align-${n}`]=t.align===n}),i[`${e}-align-stretch`]=!t.align&&!!t.vertical,i},$=(e,t)=>{let i={};return g.forEach(n=>{i[`${e}-justify-${n}`]=t.justify===n}),i},f=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},h=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},v=e=>{let{componentCls:t}=e,i={};return m.forEach(e=>{i[`${t}-wrap-${e}`]={flexWrap:e}}),i},y=e=>{let{componentCls:t}=e,i={};return p.forEach(e=>{i[`${t}-align-${e}`]={alignItems:e}}),i},S=e=>{let{componentCls:t}=e,i={};return g.forEach(e=>{i[`${t}-justify-${e}`]={justifyContent:e}}),i};var C=(0,s.I$)("Flex",e=>{let{paddingXS:t,padding:i,paddingLG:n}=e,o=(0,d.IX)(e,{flexGapSM:t,flexGap:i,flexGapLG:n});return[f(o),h(o),v(o),y(o),S(o)]},()=>({}),{resetStyle:!1}),x=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let O=n.forwardRef((e,t)=>{let{prefixCls:i,rootClassName:o,className:s,style:d,flex:m,gap:g,children:p,vertical:f=!1,component:h="div"}=e,v=x(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:y,direction:S,getPrefixCls:O}=n.useContext(c.E_),w=O("flex",i),[I,j,E]=C(w),k=null!=f?f:null==y?void 0:y.vertical,z=r()(s,o,null==y?void 0:y.className,w,j,E,r()(Object.assign(Object.assign(Object.assign({},u(w,e)),b(w,e)),$(w,e))),{[`${w}-rtl`]:"rtl"===S,[`${w}-gap-${g}`]:(0,l.n)(g),[`${w}-vertical`]:k}),T=Object.assign(Object.assign({},null==y?void 0:y.style),d);return m&&(T.flex=m),g&&!(0,l.n)(g)&&(T.gap=g),I(n.createElement(h,Object.assign({ref:t,className:z,style:T},(0,a.Z)(v,["justify","wrap","align"])),p))});var w=O},42119:function(e,t,i){i.d(t,{Z:function(){return A}});var n=i(67294),o=i(64894),r=i(62208),a=i(93967),l=i.n(a),c=i(87462),s=i(1413),d=i(4942),m=i(45987),g=i(15105),p=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function u(e){return"string"==typeof e}var b=function(e){var t,i,o,r,a,b=e.className,$=e.prefixCls,f=e.style,h=e.active,v=e.status,y=e.iconPrefix,S=e.icon,C=(e.wrapperStyle,e.stepNumber),x=e.disabled,O=e.description,w=e.title,I=e.subTitle,j=e.progressDot,E=e.stepIcon,k=e.tailContent,z=e.icons,T=e.stepIndex,N=e.onStepClick,q=e.onClick,H=e.render,B=(0,m.Z)(e,p),W={};N&&!x&&(W.role="button",W.tabIndex=0,W.onClick=function(e){null==q||q(e),N(T)},W.onKeyDown=function(e){var t=e.which;(t===g.Z.ENTER||t===g.Z.SPACE)&&N(T)});var P=v||"wait",M=l()("".concat($,"-item"),"".concat($,"-item-").concat(P),b,(a={},(0,d.Z)(a,"".concat($,"-item-custom"),S),(0,d.Z)(a,"".concat($,"-item-active"),h),(0,d.Z)(a,"".concat($,"-item-disabled"),!0===x),a)),Z=(0,s.Z)({},f),L=n.createElement("div",(0,c.Z)({},B,{className:M,style:Z}),n.createElement("div",(0,c.Z)({onClick:q},W,{className:"".concat($,"-item-container")}),n.createElement("div",{className:"".concat($,"-item-tail")},k),n.createElement("div",{className:"".concat($,"-item-icon")},(o=l()("".concat($,"-icon"),"".concat(y,"icon"),(t={},(0,d.Z)(t,"".concat(y,"icon-").concat(S),S&&u(S)),(0,d.Z)(t,"".concat(y,"icon-check"),!S&&"finish"===v&&(z&&!z.finish||!z)),(0,d.Z)(t,"".concat(y,"icon-cross"),!S&&"error"===v&&(z&&!z.error||!z)),t)),r=n.createElement("span",{className:"".concat($,"-icon-dot")}),i=j?"function"==typeof j?n.createElement("span",{className:"".concat($,"-icon")},j(r,{index:C-1,status:v,title:w,description:O})):n.createElement("span",{className:"".concat($,"-icon")},r):S&&!u(S)?n.createElement("span",{className:"".concat($,"-icon")},S):z&&z.finish&&"finish"===v?n.createElement("span",{className:"".concat($,"-icon")},z.finish):z&&z.error&&"error"===v?n.createElement("span",{className:"".concat($,"-icon")},z.error):S||"finish"===v||"error"===v?n.createElement("span",{className:o}):n.createElement("span",{className:"".concat($,"-icon")},C),E&&(i=E({index:C-1,status:v,title:w,description:O,node:i})),i)),n.createElement("div",{className:"".concat($,"-item-content")},n.createElement("div",{className:"".concat($,"-item-title")},w,I&&n.createElement("div",{title:"string"==typeof I?I:void 0,className:"".concat($,"-item-subtitle")},I)),O&&n.createElement("div",{className:"".concat($,"-item-description")},O))));return H&&(L=H(L)||null),L},$=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function f(e){var t,i=e.prefixCls,o=void 0===i?"rc-steps":i,r=e.style,a=void 0===r?{}:r,g=e.className,p=(e.children,e.direction),u=e.type,f=void 0===u?"default":u,h=e.labelPlacement,v=e.iconPrefix,y=void 0===v?"rc":v,S=e.status,C=void 0===S?"process":S,x=e.size,O=e.current,w=void 0===O?0:O,I=e.progressDot,j=e.stepIcon,E=e.initial,k=void 0===E?0:E,z=e.icons,T=e.onChange,N=e.itemRender,q=e.items,H=(0,m.Z)(e,$),B="inline"===f,W=B||void 0!==I&&I,P=B?"horizontal":void 0===p?"horizontal":p,M=B?void 0:x,Z=W?"vertical":void 0===h?"horizontal":h,L=l()(o,"".concat(o,"-").concat(P),g,(t={},(0,d.Z)(t,"".concat(o,"-").concat(M),M),(0,d.Z)(t,"".concat(o,"-label-").concat(Z),"horizontal"===P),(0,d.Z)(t,"".concat(o,"-dot"),!!W),(0,d.Z)(t,"".concat(o,"-navigation"),"navigation"===f),(0,d.Z)(t,"".concat(o,"-inline"),B),t)),R=function(e){T&&w!==e&&T(e)};return n.createElement("div",(0,c.Z)({className:L,style:a},H),(void 0===q?[]:q).filter(function(e){return e}).map(function(e,t){var i=(0,s.Z)({},e),r=k+t;return"error"===C&&t===w-1&&(i.className="".concat(o,"-next-error")),i.status||(r===w?i.status=C:r{let{componentCls:t,customIconTop:i,customIconSize:n,customIconFontSize:o}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:i,width:n,height:n,fontSize:o,lineHeight:(0,x.bf)(n)}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},E=e=>{let{componentCls:t}=e,i=`${t}-item`;return{[`${t}-horizontal`]:{[`${i}-tail`]:{transform:"translateY(-50%)"}}}},k=e=>{let{componentCls:t,inlineDotSize:i,inlineTitleColor:n,inlineTailColor:o}=e,r=e.calc(e.paddingXS).add(e.lineWidth).equal(),a={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:n}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${(0,x.bf)(r)} ${(0,x.bf)(e.paddingXXS)} 0`,margin:`0 ${(0,x.bf)(e.calc(e.marginXXS).div(2).equal())}`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:i,height:i,marginInlineStart:`calc(50% - ${(0,x.bf)(e.calc(i).div(2).equal())})`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.calc(e.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:e.calc(e.marginXS).sub(e.lineWidth).equal()},"&-title":{color:n,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.calc(e.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:e.calc(i).div(2).add(r).equal(),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:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${o}`}},a),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:o},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:o,border:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${o}`}},a),"&-error":a,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:i,height:i,marginInlineStart:`calc(50% - ${(0,x.bf)(e.calc(i).div(2).equal())})`,top:0}},a),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:n}}}}}},z=e=>{let{componentCls:t,iconSize:i,lineHeight:n,iconSizeSM:o}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:e.calc(i).div(2).add(e.controlHeightLG).equal(),padding:`0 ${(0,x.bf)(e.paddingLG)}`},"&-content":{display:"block",width:e.calc(i).div(2).add(e.controlHeightLG).mul(2).equal(),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:n}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.calc(i).sub(o).div(2).add(e.controlHeightLG).equal()}}}}}},T=e=>{let{componentCls:t,navContentMaxWidth:i,navArrowColor:n,stepsNavActiveColor:o,motionDurationSlow:r}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:e.calc(e.marginSM).mul(-1).equal()}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:e.calc(e.margin).mul(-1).equal(),paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${r}`,[`${t}-item-content`]:{maxWidth:i},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},O.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% - ${(0,x.bf)(e.calc(e.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${n}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${n}`,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:e.calc(e.lineWidth).mul(3).equal(),height:`calc(100% - ${(0,x.bf)(e.marginLG)})`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.calc(e.controlHeight).mul(.25).equal(),height:e.calc(e.controlHeight).mul(.25).equal(),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"}}}},N=e=>{let{antCls:t,componentCls:i,iconSize:n,iconSizeSM:o,processIconColor:r,marginXXS:a,lineWidthBold:l,lineWidth:c,paddingXXS:s}=e,d=e.calc(n).add(e.calc(l).mul(4).equal()).equal(),m=e.calc(o).add(e.calc(e.lineWidth).mul(4).equal()).equal();return{[`&${i}-with-progress`]:{[`${i}-item`]:{paddingTop:s,[`&-process ${i}-item-container ${i}-item-icon ${i}-icon`]:{color:r}},[`&${i}-vertical > ${i}-item `]:{paddingInlineStart:s,[`> ${i}-item-container > ${i}-item-tail`]:{top:a,insetInlineStart:e.calc(n).div(2).sub(c).add(s).equal()}},[`&, &${i}-small`]:{[`&${i}-horizontal ${i}-item:first-child`]:{paddingBottom:s,paddingInlineStart:s}},[`&${i}-small${i}-vertical > ${i}-item > ${i}-item-container > ${i}-item-tail`]:{insetInlineStart:e.calc(o).div(2).sub(c).add(s).equal()},[`&${i}-label-vertical ${i}-item ${i}-item-tail`]:{top:e.calc(n).div(2).add(s).equal()},[`${i}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetInlineStart:"50%",top:"50%",transform:"translate(-50%, -50%)","&-inner":{width:`${(0,x.bf)(d)} !important`,height:`${(0,x.bf)(d)} !important`}}},[`&${i}-small`]:{[`&${i}-label-vertical ${i}-item ${i}-item-tail`]:{top:e.calc(o).div(2).add(s).equal()},[`${i}-item-icon ${t}-progress-inner`]:{width:`${(0,x.bf)(m)} !important`,height:`${(0,x.bf)(m)} !important`}}}}},q=e=>{let{componentCls:t,descriptionMaxWidth:i,lineHeight:n,dotCurrentSize:o,dotSize:r,motionDurationSlow:a}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:n},"&-tail":{top:e.calc(e.dotSize).sub(e.calc(e.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:`${(0,x.bf)(e.calc(i).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${(0,x.bf)(e.calc(e.marginSM).mul(2).equal())})`,height:e.calc(e.lineWidth).mul(3).equal(),marginInlineStart:e.marginSM}},"&-icon":{width:r,height:r,marginInlineStart:e.calc(e.descriptionMaxWidth).sub(r).div(2).equal(),paddingInlineEnd:0,lineHeight:(0,x.bf)(r),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.calc(e.marginSM).mul(-1).equal(),insetInlineStart:e.calc(r).sub(e.calc(e.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:e.calc(e.controlHeightLG).mul(1.5).equal(),height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:i},[`&-process ${t}-item-icon`]:{position:"relative",top:e.calc(r).sub(o).div(2).equal(),width:o,height:o,lineHeight:(0,x.bf)(o),background:"none",marginInlineStart:e.calc(e.descriptionMaxWidth).sub(o).div(2).equal()},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(r).div(2).equal(),marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(o).div(2).equal(),top:0,insetInlineStart:e.calc(r).sub(o).div(2).equal(),marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeight).sub(r).div(2).equal(),insetInlineStart:0,margin:0,padding:`${(0,x.bf)(e.calc(r).add(e.paddingXS).equal())} 0 ${(0,x.bf)(e.paddingXS)}`,"&::after":{marginInlineStart:e.calc(r).sub(e.lineWidth).div(2).equal()}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(r).div(2).equal()},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(o).div(2).equal()},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeightSM).sub(r).div(2).equal()}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},H=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"}}}}},B=e=>{let{componentCls:t,iconSizeSM:i,fontSizeSM:n,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:i,height:i,marginTop:0,marginBottom:0,marginInline:`0 ${(0,x.bf)(e.marginXS)}`,fontSize:n,lineHeight:(0,x.bf)(i),textAlign:"center",borderRadius:i},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:o,lineHeight:(0,x.bf)(i),"&::after":{top:e.calc(i).div(2).equal()}},[`${t}-item-description`]:{color:r,fontSize:o},[`${t}-item-tail`]:{top:e.calc(i).div(2).sub(e.paddingXXS).equal()},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:i,lineHeight:(0,x.bf)(i),transform:"none"}}}}},W=e=>{let{componentCls:t,iconSizeSM:i,iconSize:n}=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:e.calc(e.controlHeight).mul(1.5).equal(),overflow:"hidden"},[`${t}-item-title`]:{lineHeight:(0,x.bf)(n)},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(n).div(2).sub(e.lineWidth).equal(),width:e.lineWidth,height:"100%",padding:`${(0,x.bf)(e.calc(e.marginXXS).mul(1.5).add(n).equal())} 0 ${(0,x.bf)(e.calc(e.marginXXS).mul(1.5).equal())}`,"&::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:e.calc(i).div(2).sub(e.lineWidth).equal(),padding:`${(0,x.bf)(e.calc(e.marginXXS).mul(1.5).add(i).equal())} 0 ${(0,x.bf)(e.calc(e.marginXXS).mul(1.5).equal())}`},[`${t}-item-title`]:{lineHeight:(0,x.bf)(i)}}}}};let P=(e,t)=>{let i=`${t.componentCls}-item`,n=`${e}IconColor`,o=`${e}TitleColor`,r=`${e}DescriptionColor`,a=`${e}TailColor`,l=`${e}IconBgColor`,c=`${e}IconBorderColor`,s=`${e}DotColor`;return{[`${i}-${e} ${i}-icon`]:{backgroundColor:t[l],borderColor:t[c],[`> ${t.componentCls}-icon`]:{color:t[n],[`${t.componentCls}-icon-dot`]:{background:t[s]}}},[`${i}-${e}${i}-custom ${i}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[s]}},[`${i}-${e} > ${i}-container > ${i}-content > ${i}-title`]:{color:t[o],"&::after":{backgroundColor:t[a]}},[`${i}-${e} > ${i}-container > ${i}-content > ${i}-description`]:{color:t[r]},[`${i}-${e} > ${i}-container > ${i}-tail::after`]:{backgroundColor:t[a]}}},M=e=>{let{componentCls:t,motionDurationSlow:i}=e,n=`${t}-item`,o=`${n}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${n}-container > ${n}-tail, > ${n}-container > ${n}-content > ${n}-title::after`]:{display:"none"}}},[`${n}-container`]:{outline:"none","&:focus-visible":{[o]:Object.assign({},(0,O.oN)(e))}},[`${o}, ${n}-content`]:{display:"inline-block",verticalAlign:"top"},[o]:{width:e.iconSize,height:e.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:(0,x.bf)(e.iconSize),textAlign:"center",borderRadius:e.iconSize,border:`${(0,x.bf)(e.lineWidth)} ${e.lineType} transparent`,transition:`background-color ${i}, border-color ${i}`,[`${t}-icon`]:{position:"relative",top:e.iconTop,color:e.colorPrimary,lineHeight:1}},[`${n}-tail`]:{position:"absolute",top:e.calc(e.iconSize).div(2).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${i}`,content:'""'}},[`${n}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:(0,x.bf)(e.titleLineHeight),"&::after":{position:"absolute",top:e.calc(e.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${n}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${n}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},P("wait",e)),P("process",e)),{[`${n}-process > ${n}-container > ${n}-title`]:{fontWeight:e.fontWeightStrong}}),P("finish",e)),P("error",e)),{[`${n}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${n}-disabled`]:{cursor:"not-allowed"}})},Z=e=>{let{componentCls:t,motionDurationSlow:i}=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 ${i}`}},"&: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"}}}}},L=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(Object.assign({},(0,O.Wf)(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),M(e)),Z(e)),j(e)),B(e)),W(e)),E(e)),z(e)),q(e)),T(e)),H(e)),N(e)),k(e))}};var R=(0,w.I$)("Steps",e=>{let{colorTextDisabled:t,controlHeightLG:i,colorTextLightSolid:n,colorText:o,colorPrimary:r,colorTextDescription:a,colorTextQuaternary:l,colorError:c,colorBorderSecondary:s,colorSplit:d}=e,m=(0,I.IX)(e,{processIconColor:n,processTitleColor:o,processDescriptionColor:o,processIconBgColor:r,processIconBorderColor:r,processDotColor:r,processTailColor:d,waitTitleColor:a,waitDescriptionColor:a,waitTailColor:d,waitDotColor:t,finishIconColor:r,finishTitleColor:o,finishDescriptionColor:a,finishTailColor:r,finishDotColor:r,errorIconColor:n,errorTitleColor:c,errorDescriptionColor:c,errorTailColor:d,errorIconBgColor:c,errorIconBorderColor:c,errorDotColor:c,stepsNavActiveColor:r,stepsProgressSize:i,inlineDotSize:6,inlineTitleColor:l,inlineTailColor:s});return[L(m)]},e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"auto",descriptionMaxWidth:140,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive})),D=i(50344),X=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let G=e=>{let{percent:t,size:i,className:a,rootClassName:c,direction:s,items:d,responsive:m=!0,current:g=0,children:p,style:u}=e,b=X(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:$}=(0,y.Z)(m),{getPrefixCls:x,direction:O,steps:w}=n.useContext(h.E_),I=n.useMemo(()=>m&&$?"vertical":s,[$,s]),j=(0,v.Z)(i),E=x("steps",e.prefixCls),[k,z,T]=R(E),N="inline"===e.type,q=x("",e.iconPrefix),H=function(e,t){if(e)return e;let i=(0,D.Z)(t).map(e=>{if(n.isValidElement(e)){let{props:t}=e,i=Object.assign({},t);return i}return null});return i.filter(e=>e)}(d,p),B=N?void 0:t,W=Object.assign(Object.assign({},null==w?void 0:w.style),u),P=l()(null==w?void 0:w.className,{[`${E}-rtl`]:"rtl"===O,[`${E}-with-progress`]:void 0!==B},a,c,z,T),M={finish:n.createElement(o.Z,{className:`${E}-finish-icon`}),error:n.createElement(r.Z,{className:`${E}-error-icon`})};return k(n.createElement(f,Object.assign({icons:M},b,{style:W,current:g,size:j,items:H,itemRender:N?(e,t)=>e.description?n.createElement(C.Z,{title:e.description},t):t:void 0,stepIcon:e=>{let{node:t,status:i}=e;return"process"===i&&void 0!==B?n.createElement("div",{className:`${E}-progress-icon`},n.createElement(S.Z,{type:"circle",percent:B,size:"small"===j?32:40,strokeWidth:4,format:()=>null}),t):t},direction:I,prefixCls:E,iconPrefix:q,className:P})))};G.Step=f.Step;var A=G},66309:function(e,t,i){i.d(t,{Z:function(){return z}});var n=i(67294),o=i(93967),r=i.n(o),a=i(98423),l=i(98787),c=i(69760),s=i(96159),d=i(45353),m=i(53124),g=i(47648),p=i(10274),u=i(14747),b=i(87893),$=i(83559);let f=e=>{let{paddingXXS:t,lineWidth:i,tagPaddingHorizontal:n,componentCls:o,calc:r}=e,a=r(n).sub(i).equal(),l=r(t).sub(i).equal();return{[o]:Object.assign(Object.assign({},(0,u.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,g.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},h=e=>{let{lineWidth:t,fontSizeIcon:i,calc:n}=e,o=e.fontSizeSM,r=(0,b.IX)(e,{tagFontSize:o,tagLineHeight:(0,g.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(i).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return r},v=e=>({defaultBg:new p.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,$.I$)("Tag",e=>{let t=h(e);return f(t)},v),S=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let C=n.forwardRef((e,t)=>{let{prefixCls:i,style:o,className:a,checked:l,onChange:c,onClick:s}=e,d=S(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:g,tag:p}=n.useContext(m.E_),u=g("tag",i),[b,$,f]=y(u),h=r()(u,`${u}-checkable`,{[`${u}-checkable-checked`]:l},null==p?void 0:p.className,a,$,f);return b(n.createElement("span",Object.assign({},d,{ref:t,style:Object.assign(Object.assign({},o),null==p?void 0:p.style),className:h,onClick:e=>{null==c||c(!l),null==s||s(e)}})))});var x=i(98719);let O=e=>(0,x.Z)(e,(t,i)=>{let{textColor:n,lightBorderColor:o,lightColor:r,darkColor:a}=i;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:r,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var w=(0,$.bk)(["Tag","preset"],e=>{let t=h(e);return O(t)},v);let I=(e,t,i)=>{let n=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(i);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${i}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var j=(0,$.bk)(["Tag","status"],e=>{let t=h(e);return[I(t,"success","Success"),I(t,"processing","Info"),I(t,"error","Error"),I(t,"warning","Warning")]},v),E=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let k=n.forwardRef((e,t)=>{let{prefixCls:i,className:o,rootClassName:g,style:p,children:u,icon:b,color:$,onClose:f,bordered:h=!0,visible:v}=e,S=E(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:C,direction:x,tag:O}=n.useContext(m.E_),[I,k]=n.useState(!0),z=(0,a.Z)(S,["closeIcon","closable"]);n.useEffect(()=>{void 0!==v&&k(v)},[v]);let T=(0,l.o2)($),N=(0,l.yT)($),q=T||N,H=Object.assign(Object.assign({backgroundColor:$&&!q?$:void 0},null==O?void 0:O.style),p),B=C("tag",i),[W,P,M]=y(B),Z=r()(B,null==O?void 0:O.className,{[`${B}-${$}`]:q,[`${B}-has-color`]:$&&!q,[`${B}-hidden`]:!I,[`${B}-rtl`]:"rtl"===x,[`${B}-borderless`]:!h},o,g,P,M),L=e=>{e.stopPropagation(),null==f||f(e),e.defaultPrevented||k(!1)},[,R]=(0,c.Z)((0,c.w)(e),(0,c.w)(O),{closable:!1,closeIconRender:e=>{let t=n.createElement("span",{className:`${B}-close-icon`,onClick:L},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var i;null===(i=null==e?void 0:e.onClick)||void 0===i||i.call(e,t),L(t)},className:r()(null==e?void 0:e.className,`${B}-close-icon`)}))}}),D="function"==typeof S.onClick||u&&"a"===u.type,X=b||null,G=X?n.createElement(n.Fragment,null,X,u&&n.createElement("span",null,u)):u,A=n.createElement("span",Object.assign({},z,{ref:t,className:Z,style:H}),G,R,T&&n.createElement(w,{key:"preset",prefixCls:B}),N&&n.createElement(j,{key:"status",prefixCls:B}));return W(D?n.createElement(d.Z,{component:"Tag"},A):A)});k.CheckableTag=C;var z=k}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1259.d93c002f44533883.js b/dbgpt/app/static/web/_next/static/chunks/1259.9d87d9d9e04191b6.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/1259.d93c002f44533883.js rename to dbgpt/app/static/web/_next/static/chunks/1259.9d87d9d9e04191b6.js index 7acbe5ed0..b876a04d8 100644 --- a/dbgpt/app/static/web/_next/static/chunks/1259.d93c002f44533883.js +++ b/dbgpt/app/static/web/_next/static/chunks/1259.9d87d9d9e04191b6.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1259],{91259:function(E,S,e){e.r(S),e.d(S,{conf:function(){return T},language:function(){return R}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var T={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},R={defaultToken:"",tokenPostfix:".redis",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["APPEND","AUTH","BGREWRITEAOF","BGSAVE","BITCOUNT","BITFIELD","BITOP","BITPOS","BLPOP","BRPOP","BRPOPLPUSH","CLIENT","KILL","LIST","GETNAME","PAUSE","REPLY","SETNAME","CLUSTER","ADDSLOTS","COUNT-FAILURE-REPORTS","COUNTKEYSINSLOT","DELSLOTS","FAILOVER","FORGET","GETKEYSINSLOT","INFO","KEYSLOT","MEET","NODES","REPLICATE","RESET","SAVECONFIG","SET-CONFIG-EPOCH","SETSLOT","SLAVES","SLOTS","COMMAND","COUNT","GETKEYS","CONFIG","GET","REWRITE","SET","RESETSTAT","DBSIZE","DEBUG","OBJECT","SEGFAULT","DECR","DECRBY","DEL","DISCARD","DUMP","ECHO","EVAL","EVALSHA","EXEC","EXISTS","EXPIRE","EXPIREAT","FLUSHALL","FLUSHDB","GEOADD","GEOHASH","GEOPOS","GEODIST","GEORADIUS","GEORADIUSBYMEMBER","GETBIT","GETRANGE","GETSET","HDEL","HEXISTS","HGET","HGETALL","HINCRBY","HINCRBYFLOAT","HKEYS","HLEN","HMGET","HMSET","HSET","HSETNX","HSTRLEN","HVALS","INCR","INCRBY","INCRBYFLOAT","KEYS","LASTSAVE","LINDEX","LINSERT","LLEN","LPOP","LPUSH","LPUSHX","LRANGE","LREM","LSET","LTRIM","MGET","MIGRATE","MONITOR","MOVE","MSET","MSETNX","MULTI","PERSIST","PEXPIRE","PEXPIREAT","PFADD","PFCOUNT","PFMERGE","PING","PSETEX","PSUBSCRIBE","PUBSUB","PTTL","PUBLISH","PUNSUBSCRIBE","QUIT","RANDOMKEY","READONLY","READWRITE","RENAME","RENAMENX","RESTORE","ROLE","RPOP","RPOPLPUSH","RPUSH","RPUSHX","SADD","SAVE","SCARD","SCRIPT","FLUSH","LOAD","SDIFF","SDIFFSTORE","SELECT","SETBIT","SETEX","SETNX","SETRANGE","SHUTDOWN","SINTER","SINTERSTORE","SISMEMBER","SLAVEOF","SLOWLOG","SMEMBERS","SMOVE","SORT","SPOP","SRANDMEMBER","SREM","STRLEN","SUBSCRIBE","SUNION","SUNIONSTORE","SWAPDB","SYNC","TIME","TOUCH","TTL","TYPE","UNSUBSCRIBE","UNLINK","UNWATCH","WAIT","WATCH","ZADD","ZCARD","ZCOUNT","ZINCRBY","ZINTERSTORE","ZLEXCOUNT","ZRANGE","ZRANGEBYLEX","ZREVRANGEBYLEX","ZRANGEBYSCORE","ZRANK","ZREM","ZREMRANGEBYLEX","ZREMRANGEBYRANK","ZREMRANGEBYSCORE","ZREVRANGE","ZREVRANGEBYSCORE","ZREVRANK","ZSCORE","ZUNIONSTORE","SCAN","SSCAN","HSCAN","ZSCAN"],operators:[],builtinFunctions:[],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],scopes:[]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1278-edc9b98f2c09de56.js b/dbgpt/app/static/web/_next/static/chunks/1278-edc9b98f2c09de56.js new file mode 100644 index 000000000..fd5df14bc --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/1278-edc9b98f2c09de56.js @@ -0,0 +1,17 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1278],{4583:function(){},53250:function(t,n,e){"use strict";/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r=e(67294),i="function"==typeof Object.is?Object.is:function(t,n){return t===n&&(0!==t||1/t==1/n)||t!=t&&n!=n},o=r.useState,u=r.useEffect,a=r.useLayoutEffect,s=r.useDebugValue;function c(t){var n=t.getSnapshot;t=t.value;try{var e=n();return!i(t,e)}catch(t){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,n){return n()}:function(t,n){var e=n(),r=o({inst:{value:e,getSnapshot:n}}),i=r[0].inst,l=r[1];return a(function(){i.value=e,i.getSnapshot=n,c(i)&&l({inst:i})},[t,e,n]),u(function(){return c(i)&&l({inst:i}),t(function(){c(i)&&l({inst:i})})},[t]),s(e),e};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},50139:function(t,n,e){"use strict";/** + * @license React + * use-sync-external-store-shim/with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r=e(67294),i=e(61688),o="function"==typeof Object.is?Object.is:function(t,n){return t===n&&(0!==t||1/t==1/n)||t!=t&&n!=n},u=i.useSyncExternalStore,a=r.useRef,s=r.useEffect,c=r.useMemo,l=r.useDebugValue;n.useSyncExternalStoreWithSelector=function(t,n,e,r,i){var f=a(null);if(null===f.current){var h={hasValue:!1,value:null};f.current=h}else h=f.current;f=c(function(){function t(t){if(!s){if(s=!0,u=t,t=r(t),void 0!==i&&h.hasValue){var n=h.value;if(i(n,t))return a=n}return a=t}if(n=a,o(u,t))return n;var e=r(t);return void 0!==i&&i(n,e)?n:(u=t,a=e)}var u,a,s=!1,c=void 0===e?null:e;return[function(){return t(n())},null===c?void 0:function(){return t(c())}]},[n,e,r,i]);var p=u(t,f[0],f[1]);return s(function(){h.hasValue=!0,h.value=p},[p]),l(p),p}},61688:function(t,n,e){"use strict";t.exports=e(53250)},52798:function(t,n,e){"use strict";t.exports=e(50139)},59819:function(t,n,e){"use strict";e.d(n,{A:function(){return d}});var r,i,o=e(67294),u=e(83840),a=e(36851),s=e(76248);function c({color:t,dimensions:n,lineWidth:e}){return o.createElement("path",{stroke:t,strokeWidth:e,d:`M${n[0]/2} 0 V${n[1]} M0 ${n[1]/2} H${n[0]}`})}function l({color:t,radius:n}){return o.createElement("circle",{cx:n,cy:n,r:n,fill:t})}(r=i||(i={})).Lines="lines",r.Dots="dots",r.Cross="cross";let f={[i.Dots]:"#91919a",[i.Lines]:"#eee",[i.Cross]:"#e2e2e2"},h={[i.Dots]:1,[i.Lines]:1,[i.Cross]:6},p=t=>({transform:t.transform,patternId:`pattern-${t.rfId}`});function v({id:t,variant:n=i.Dots,gap:e=20,size:r,lineWidth:v=1,offset:d=2,color:m,style:y,className:_}){let g=(0,o.useRef)(null),{transform:w,patternId:b}=(0,a.oR)(p,s.X),x=m||f[n],S=r||h[n],E=n===i.Dots,A=n===i.Cross,Z=Array.isArray(e)?e:[e,e],M=[Z[0]*w[2]||1,Z[1]*w[2]||1],z=S*w[2],k=A?[z,z]:M,P=E?[z/d,z/d]:[k[0]/d,k[1]/d];return o.createElement("svg",{className:(0,u.Z)(["react-flow__background",_]),style:{...y,position:"absolute",width:"100%",height:"100%",top:0,left:0},ref:g,"data-testid":"rf__background"},o.createElement("pattern",{id:b+t,x:w[0]%M[0],y:w[1]%M[1],width:M[0],height:M[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${P[0]},-${P[1]})`},E?o.createElement(l,{color:x,radius:z/d}):o.createElement(c,{dimensions:k,color:x,lineWidth:v})),o.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${b+t})`}))}v.displayName="Background";var d=(0,o.memo)(v)},83840:function(t,n,e){"use strict";e.d(n,{Z:function(){return function t(n){if("string"==typeof n||"number"==typeof n)return""+n;let e="";if(Array.isArray(n))for(let r=0,i;r()=>t;function c(t,{sourceEvent:n,subject:e,target:r,identifier:i,active:o,x:u,y:a,dx:s,dy:c,dispatch:l}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:e,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:u,enumerable:!0,configurable:!0},y:{value:a,enumerable:!0,configurable:!0},dx:{value:s,enumerable:!0,configurable:!0},dy:{value:c,enumerable:!0,configurable:!0},_:{value:l}})}function l(t){return!t.ctrlKey&&!t.button}function f(){return this.parentNode}function h(t,n){return null==n?{x:t.x,y:t.y}:n}function p(){return navigator.maxTouchPoints||"ontouchstart"in this}function v(){var t,n,e,v,d=l,m=f,y=h,_=p,g={},w=(0,r.Z)("start","drag","end"),b=0,x=0;function S(t){t.on("mousedown.drag",E).filter(_).on("touchstart.drag",M).on("touchmove.drag",z,a.Q7).on("touchend.drag touchcancel.drag",k).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function E(r,o){if(!v&&d.call(this,r,o)){var s=P(this,m.call(this,r,o),r,o,"mouse");s&&((0,i.Z)(r.view).on("mousemove.drag",A,a.Dd).on("mouseup.drag",Z,a.Dd),(0,u.Z)(r.view),(0,a.rG)(r),e=!1,t=r.clientX,n=r.clientY,s("start",r))}}function A(r){if((0,a.ZP)(r),!e){var i=r.clientX-t,o=r.clientY-n;e=i*i+o*o>x}g.mouse("drag",r)}function Z(t){(0,i.Z)(t.view).on("mousemove.drag mouseup.drag",null),(0,u.D)(t.view,e),(0,a.ZP)(t),g.mouse("end",t)}function M(t,n){if(d.call(this,t,n)){var e,r,i=t.changedTouches,o=m.call(this,t,n),u=i.length;for(e=0;e=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.Z.hasOwnProperty(n)?{space:r.Z[n],local:t}:t}},91226:function(t,n,e){"use strict";e.d(n,{P:function(){return r}});var r="http://www.w3.org/1999/xhtml";n.Z={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},46939:function(t,n,e){"use strict";function r(t,n){if(t=function(t){let n;for(;n=t.sourceEvent;)t=n;return t}(t),void 0===n&&(n=t.currentTarget),n){var e=n.ownerSVGElement||n;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(n.getScreenCTM().inverse())).x,r.y]}if(n.getBoundingClientRect){var i=n.getBoundingClientRect();return[t.clientX-i.left-n.clientLeft,t.clientY-i.top-n.clientTop]}}return[t.pageX,t.pageY]}e.d(n,{Z:function(){return r}})},23838:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(21680);function i(t){return"string"==typeof t?new r.Y1([[document.querySelector(t)]],[document.documentElement]):new r.Y1([[t]],r.Jz)}},21680:function(t,n,e){"use strict";e.d(n,{Y1:function(){return ti},ZP:function(){return tu},Jz:function(){return tr}});var r=e(83010),i=e(19701),o=e(24421),u=Array.prototype.find;function a(){return this.firstElementChild}var s=Array.prototype.filter;function c(){return Array.from(this.children)}function l(t){return Array(t.length)}function f(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function h(t,n,e,r,i,o){for(var u,a=0,s=n.length,c=o.length;an?1:t>=n?0:NaN}f.prototype={constructor:f,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var m=e(26667);function y(t){return function(){this.removeAttribute(t)}}function _(t){return function(){this.removeAttributeNS(t.space,t.local)}}function g(t,n){return function(){this.setAttribute(t,n)}}function w(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function b(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function x(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}var S=e(52627);function E(t){return function(){delete this[t]}}function A(t,n){return function(){this[t]=n}}function Z(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function M(t){return t.trim().split(/^|\s+/)}function z(t){return t.classList||new k(t)}function k(t){this._node=t,this._names=M(t.getAttribute("class")||"")}function P(t,n){for(var e=z(t),r=-1,i=n.length;++rthis._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var L=e(91226);function R(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===L.P&&n.documentElement.namespaceURI===L.P?n.createElement(t):n.createElementNS(e,t)}}function G(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function U(t){var n=(0,m.Z)(t);return(n.local?G:R)(n)}function $(){return null}function H(){var t=this.parentNode;t&&t.removeChild(this)}function K(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function W(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function Q(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r=A&&(A=E+1);!(S=g[A])&&++A=0;)(r=i[o])&&(u&&4^r.compareDocumentPosition(u)&&u.parentNode.insertBefore(r,u),u=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=d);for(var e=this._groups,r=e.length,i=Array(r),o=0;o1?this.each((null==n?E:"function"==typeof n?Z:A)(t,n)):this.node()[t]},classed:function(t,n){var e=M(t+"");if(arguments.length<2){for(var r=z(this.node()),i=-1,o=e.length;++i=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}),u=o.length;if(arguments.length<2){var a=this.node().__on;if(a){for(var s,c=0,l=a.length;c1?this.each((null==n?i:"function"==typeof n?u:o)(t,n,null==e?"":e)):s(this.node(),t)}function s(t,n){return t.style.getPropertyValue(n)||(0,r.Z)(t).getComputedStyle(t,null).getPropertyValue(n)}},83010:function(t,n,e){"use strict";function r(){}function i(t){return null==t?r:function(){return this.querySelector(t)}}e.d(n,{Z:function(){return i}})},19701:function(t,n,e){"use strict";function r(){return[]}function i(t){return null==t?r:function(){return this.querySelectorAll(t)}}e.d(n,{Z:function(){return i}})},89920:function(t,n,e){"use strict";function r(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}e.d(n,{Z:function(){return r}})},62430:function(t,n,e){"use strict";e.d(n,{sP:function(){return tb},CR:function(){return th}});var r,i=e(92626),o=e(22718);function u(t){return((t=Math.exp(t))+1/t)/2}var a=function t(n,e,r){function i(t,i){var o,a,s=t[0],c=t[1],l=t[2],f=i[0],h=i[1],p=i[2],v=f-s,d=h-c,m=v*v+d*d;if(m<1e-12)a=Math.log(p/l)/n,o=function(t){return[s+t*v,c+t*d,l*Math.exp(n*t*a)]};else{var y=Math.sqrt(m),_=(p*p-l*l+r*m)/(2*l*e*y),g=(p*p-l*l-r*m)/(2*p*e*y),w=Math.log(Math.sqrt(_*_+1)-_);a=(Math.log(Math.sqrt(g*g+1)-g)-w)/n,o=function(t){var r,i,o=t*a,f=u(w),h=l/(e*y)*(f*(((r=Math.exp(2*(r=n*o+w)))-1)/(r+1))-((i=Math.exp(i=w))-1/i)/2);return[s+h*v,c+h*d,l*f/u(n*o+w)]}}return o.duration=1e3*a*n/Math.SQRT2,o}return i.rho=function(n){var e=Math.max(.001,+n),r=e*e,i=r*r;return t(e,r,i)},i}(Math.SQRT2,2,4),s=e(23838),c=e(46939),l=e(21680),f=e(35374);function h(t,n,e){var r=new f.B7;return n=null==n?0:+n,r.restart(e=>{r.stop(),t(e+n)},n,e),r}var p=(0,i.Z)("start","end","cancel","interrupt"),v=[];function d(t,n,e,r,i,o){var u=t.__transition;if(u){if(e in u)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(s){var c,l,f,p;if(1!==e.state)return a();for(c in i)if((p=i[c]).name===e.name){if(3===p.state)return h(o);4===p.state?(p.state=6,p.timer.stop(),p.on.call("interrupt",t,t.__data__,p.index,p.group),delete i[c]):+c0)throw Error("too late; already scheduled");return e}function y(t,n){var e=_(t,n);if(e.state>3)throw Error("too late; already running");return e}function _(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw Error("transition not found");return e}function g(t,n){var e,r,i,o=t.__transition,u=!0;if(o){for(i in n=null==n?null:n+"",o){if((e=o[i]).name!==n){u=!1;continue}r=e.state>2&&e.state<5,e.state=6,e.timer.stop(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group),delete o[i]}u&&delete t.__transition}}function w(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}var b=180/Math.PI,x={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function S(t,n,e,r,i,o){var u,a,s;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(s=t*e+n*r)&&(e-=t*s,r-=n*s),(a=Math.sqrt(e*e+r*r))&&(e/=a,r/=a,s/=a),t*r180?s+=360:s-a>180&&(a+=360),h.push({i:f.push(i(f)+"rotate(",null,r)-2,x:w(a,s)})):s&&f.push(i(f)+"rotate("+s+r),(c=o.skewX)!==(l=u.skewX)?h.push({i:f.push(i(f)+"skewX(",null,r)-2,x:w(c,l)}):l&&f.push(i(f)+"skewX("+l+r),!function(t,n,e,r,o,u){if(t!==e||n!==r){var a=o.push(i(o)+"scale(",null,",",null,")");u.push({i:a-4,x:w(t,e)},{i:a-2,x:w(n,r)})}else(1!==e||1!==r)&&o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,u.scaleX,u.scaleY,f,h),o=u=null,function(t){for(var n,e=-1,r=h.length;++e()=>t;function D(t,n){var e=n-t;return e?function(n){return t+n*e}:C(isNaN(t)?n:t)}var X=function t(n){var e,r=1==(e=+(e=n))?D:function(t,n){var r,i,o;return n-t?(r=t,i=n,r=Math.pow(r,o=e),i=Math.pow(i,o)-r,o=1/o,function(t){return Math.pow(r+t*i,o)}):C(isNaN(t)?n:t)};function i(t,n){var e=r((t=(0,T.B8)(t)).r,(n=(0,T.B8)(n)).r),i=r(t.g,n.g),o=r(t.b,n.b),u=D(t.opacity,n.opacity);return function(n){return t.r=e(n),t.g=i(n),t.b=o(n),t.opacity=u(n),t+""}}return i.gamma=t,i}(1);function j(t){return function(n){var e,r,i=n.length,o=Array(i),u=Array(i),a=Array(i);for(e=0;e=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],u=r>0?t[r-1]:2*i-o,a=ra&&(u=n.slice(a,u),c[s]?c[s]+=u:c[++s]=u),(i=i[0])===(o=o[0])?c[s]?c[s]+=o:c[++s]=o:(c[++s]=null,l.push({i:s,x:w(i,o)})),a=Y.lastIndex;return a=0&&(t=t.slice(0,n)),!t||"start"===t})?m:y,function(){var u=i(this,o),a=u.on;a!==e&&(r=(e=a).copy()).on(t,n),u.on=r}))},attr:function(t,n){var e=(0,M.Z)(t),r="transform"===e?Z:B;return this.attrTween(t,"function"==typeof n?(e.local?U:G)(e,r,P(this,"attr."+t,n)):null==n?(e.local?q:I)(e):(e.local?R:L)(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw Error();var r=(0,M.Z)(t);return this.tween(e,(r.local?$:H)(r,n))},style:function(t,n,e){var r,i,o,u,a,s,c,l,f,h,p,v,d,m,_,g,w,b,x,S,E,Z="transform"==(t+="")?A:B;return null==n?this.styleTween(t,(r=t,function(){var t=(0,tr.S)(this,r),n=(this.style.removeProperty(r),(0,tr.S)(this,r));return t===n?null:t===i&&n===o?u:u=Z(i=t,o=n)})).on("end.style."+t,ti(t)):"function"==typeof n?this.styleTween(t,(a=t,s=P(this,"style."+t,n),function(){var t=(0,tr.S)(this,a),n=s(this),e=n+"";return null==n&&(this.style.removeProperty(a),e=n=(0,tr.S)(this,a)),t===e?null:t===c&&e===l?f:(l=e,f=Z(c=t,n))})).each((h=this._id,w="end."+(g="style."+(p=t)),function(){var t=y(this,h),n=t.on,e=null==t.value[g]?_||(_=ti(p)):void 0;(n!==v||m!==e)&&(d=(v=n).copy()).on(w,m=e),t.on=d})):this.styleTween(t,(b=t,E=n+"",function(){var t=(0,tr.S)(this,b);return t===E?null:t===x?S:S=Z(x=t,n)}),e).on("end.style."+t,null)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw Error();return this.tween(r,function(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(n){this.style.setProperty(t,o.call(this,n),e)}),r}return o._value=n,o}(t,n,null==e?"":e))},text:function(t){var n,e;return this.tween("text","function"==typeof t?(n=P(this,"text",t),function(){var t=n(this);this.textContent=null==t?"":t}):(e=null==t?"":t+"",function(){this.textContent=e}))},textTween:function(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw Error();return this.tween(n,function(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){this.textContent=r.call(this,t)}),n}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}))},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=_(this.node(),e).tween,o=0,u=i.length;o()=>t;function tl(t,{sourceEvent:n,target:e,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function tf(t,n,e){this.k=t,this.x=n,this.y=e}tf.prototype={constructor:tf,scale:function(t){return 1===t?this:new tf(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new tf(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var th=new tf(1,0,0);function tp(t){t.stopImmediatePropagation()}function tv(t){t.preventDefault(),t.stopImmediatePropagation()}function td(t){return(!t.ctrlKey||"wheel"===t.type)&&!t.button}function tm(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function ty(){return this.__zoom||th}function t_(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function tg(){return navigator.maxTouchPoints||"ontouchstart"in this}function tw(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],u=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),u>o?(o+u)/2:Math.min(0,o)||Math.max(0,u))}function tb(){var t,n,e,r=td,u=tm,l=tw,f=t_,h=tg,p=[0,1/0],v=[[-1/0,-1/0],[1/0,1/0]],d=250,m=a,y=(0,i.Z)("start","zoom","end"),_=0,w=10;function b(t){t.property("__zoom",ty).on("wheel.zoom",z,{passive:!1}).on("mousedown.zoom",k).on("dblclick.zoom",P).filter(h).on("touchstart.zoom",T).on("touchmove.zoom",N).on("touchend.zoom touchcancel.zoom",C).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function x(t,n){return(n=Math.max(p[0],Math.min(p[1],n)))===t.k?t:new tf(n,t.x,t.y)}function S(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new tf(t.k,r,i)}function E(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function A(t,n,e,r){t.on("start.zoom",function(){Z(this,arguments).event(r).start()}).on("interrupt.zoom end.zoom",function(){Z(this,arguments).event(r).end()}).tween("zoom",function(){var t=arguments,i=Z(this,t).event(r),o=u.apply(this,t),a=null==e?E(o):"function"==typeof e?e.apply(this,t):e,s=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),c=this.__zoom,l="function"==typeof n?n.apply(this,t):n,f=m(c.invert(a).concat(s/c.k),l.invert(a).concat(s/l.k));return function(t){if(1===t)t=l;else{var n=f(t),e=s/n[2];t=new tf(e,a[0]-n[0]*e,a[1]-n[1]*e)}i.zoom(null,t)}})}function Z(t,n,e){return!e&&t.__zooming||new M(t,n)}function M(t,n){this.that=t,this.args=n,this.active=0,this.sourceEvent=null,this.extent=u.apply(t,n),this.taps=0}function z(t,...n){if(r.apply(this,arguments)){var e=Z(this,n).event(t),i=this.__zoom,o=Math.max(p[0],Math.min(p[1],i.k*Math.pow(2,f.apply(this,arguments)))),u=(0,c.Z)(t);if(e.wheel)(e.mouse[0][0]!==u[0]||e.mouse[0][1]!==u[1])&&(e.mouse[1]=i.invert(e.mouse[0]=u)),clearTimeout(e.wheel);else{if(i.k===o)return;e.mouse=[u,i.invert(u)],g(this),e.start()}tv(t),e.wheel=setTimeout(function(){e.wheel=null,e.end()},150),e.zoom("mouse",l(S(x(i,o),e.mouse[0],e.mouse[1]),e.extent,v))}}function k(t,...n){if(!e&&r.apply(this,arguments)){var i=t.currentTarget,u=Z(this,n,!0).event(t),a=(0,s.Z)(t.view).on("mousemove.zoom",function(t){if(tv(t),!u.moved){var n=t.clientX-h,e=t.clientY-p;u.moved=n*n+e*e>_}u.event(t).zoom("mouse",l(S(u.that.__zoom,u.mouse[0]=(0,c.Z)(t,i),u.mouse[1]),u.extent,v))},!0).on("mouseup.zoom",function(t){a.on("mousemove.zoom mouseup.zoom",null),(0,o.D)(t.view,u.moved),tv(t),u.event(t).end()},!0),f=(0,c.Z)(t,i),h=t.clientX,p=t.clientY;(0,o.Z)(t.view),tp(t),u.mouse=[f,this.__zoom.invert(f)],g(this),u.start()}}function P(t,...n){if(r.apply(this,arguments)){var e=this.__zoom,i=(0,c.Z)(t.changedTouches?t.changedTouches[0]:t,this),o=e.invert(i),a=e.k*(t.shiftKey?.5:2),f=l(S(x(e,a),i,o),u.apply(this,n),v);tv(t),d>0?(0,s.Z)(this).transition().duration(d).call(A,f,i,t):(0,s.Z)(this).call(b.transform,f,i,t)}}function T(e,...i){if(r.apply(this,arguments)){var o,u,a,s,l=e.touches,f=l.length,h=Z(this,i,e.changedTouches.length===f).event(e);for(tp(e),u=0;u{let n;let e=new Set,r=(t,r)=>{let i="function"==typeof t?t(n):t;if(!Object.is(i,n)){let t=n;n=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},n,i),e.forEach(e=>e(n,t))}},i=()=>n,o={setState:r,getState:i,getInitialState:()=>u,subscribe:t=>(e.add(t),()=>e.delete(t)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),e.clear()}},u=n=t(r,i,o);return o},u=t=>t?o(t):o,{useDebugValue:a}=r,{useSyncExternalStoreWithSelector:s}=i,c=t=>t;function l(t,n=c,e){let r=s(t.subscribe,t.getState,t.getServerState||t.getInitialState,n,e);return a(r),r}let f=(t,n)=>{let e=u(t),r=(t,r=n)=>l(e,t,r);return Object.assign(r,e),r},h=(t,n)=>t?f(t,n):f}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1300-d15ca5298cec4f7e.js b/dbgpt/app/static/web/_next/static/chunks/1300-d15ca5298cec4f7e.js new file mode 100644 index 000000000..9790c617b --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/1300-d15ca5298cec4f7e.js @@ -0,0 +1,16 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1300],{246:function(e,t,n){n.d(t,{Z:function(){return a}});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"},l=n(13401),a=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},96842:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(87462),o=n(67294),r={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"},l=n(13401),a=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},11300:function(e,t,n){n.d(t,{Z:function(){return en}});var i=n(67294),o=n(246),r=n(96842),l=n(6171),a=n(18073),c=n(93967),s=n.n(c),m=n(4942),u=n(87462),d=n(71002),p=n(1413),g=n(97685),b=n(21770),v=n(15105),h=n(64217);n(80334);var f={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:"页码"},$=["10","20","50","100"],C=function(e){var t=e.pageSizeOptions,n=void 0===t?$:t,o=e.locale,r=e.changeSize,l=e.pageSize,a=e.goButton,c=e.quickGo,s=e.rootPrefixCls,m=e.selectComponentClass,u=e.selectPrefixCls,d=e.disabled,p=e.buildOptionText,b=i.useState(""),h=(0,g.Z)(b,2),f=h[0],C=h[1],S=function(){return!f||Number.isNaN(f)?void 0:Number(f)},k="function"==typeof p?p:function(e){return"".concat(e," ").concat(o.items_per_page)},y=function(e){""!==f&&(e.keyCode===v.Z.ENTER||"click"===e.type)&&(C(""),null==c||c(S()))},x="".concat(s,"-options");if(!r&&!c)return null;var E=null,N=null,j=null;if(r&&m){var z=(n.some(function(e){return e.toString()===l.toString()})?n:n.concat([l.toString()]).sort(function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))})).map(function(e,t){return i.createElement(m.Option,{key:t,value:e.toString()},k(e))});E=i.createElement(m,{disabled:d,prefixCls:u,showSearch:!1,className:"".concat(x,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(l||n[0]).toString(),onChange:function(e){null==r||r(Number(e))},getPopupContainer:function(e){return e.parentNode},"aria-label":o.page_size,defaultOpen:!1},z)}return c&&(a&&(j="boolean"==typeof a?i.createElement("button",{type:"button",onClick:y,onKeyUp:y,disabled:d,className:"".concat(x,"-quick-jumper-button")},o.jump_to_confirm):i.createElement("span",{onClick:y,onKeyUp:y},a)),N=i.createElement("div",{className:"".concat(x,"-quick-jumper")},o.jump_to,i.createElement("input",{disabled:d,type:"text",value:f,onChange:function(e){C(e.target.value)},onKeyUp:y,onBlur:function(e){!a&&""!==f&&(C(""),e.relatedTarget&&(e.relatedTarget.className.indexOf("".concat(s,"-item-link"))>=0||e.relatedTarget.className.indexOf("".concat(s,"-item"))>=0)||null==c||c(S()))},"aria-label":o.page}),o.page,j)),i.createElement("li",{className:x},E,N)},S=function(e){var t,n=e.rootPrefixCls,o=e.page,r=e.active,l=e.className,a=e.showTitle,c=e.onClick,u=e.onKeyPress,d=e.itemRender,p="".concat(n,"-item"),g=s()(p,"".concat(p,"-").concat(o),(t={},(0,m.Z)(t,"".concat(p,"-active"),r),(0,m.Z)(t,"".concat(p,"-disabled"),!o),t),l),b=d(o,"page",i.createElement("a",{rel:"nofollow"},o));return b?i.createElement("li",{title:a?String(o):null,className:g,onClick:function(){c(o)},onKeyDown:function(e){u(e,c,o)},tabIndex:0},b):null},k=function(e,t,n){return n};function y(){}function x(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function E(e,t,n){return Math.floor((n-1)/(void 0===e?t:e))+1}var N=function(e){var t,n,o,r,l,a=e.prefixCls,c=void 0===a?"rc-pagination":a,$=e.selectPrefixCls,N=e.className,j=e.selectComponentClass,z=e.current,O=e.defaultCurrent,B=e.total,M=void 0===B?0:B,Z=e.pageSize,w=e.defaultPageSize,I=e.onChange,P=void 0===I?y:I,T=e.hideOnSinglePage,D=e.align,H=e.showPrevNextJumpers,_=e.showQuickJumper,A=e.showLessItems,R=e.showTitle,L=void 0===R||R,W=e.onShowSizeChange,X=void 0===W?y:W,q=e.locale,K=void 0===q?f:q,U=e.style,F=e.totalBoundaryShowSizeChanger,G=e.disabled,J=e.simple,Q=e.showTotal,V=e.showSizeChanger,Y=e.pageSizeOptions,ee=e.itemRender,et=void 0===ee?k:ee,en=e.jumpPrevIcon,ei=e.jumpNextIcon,eo=e.prevIcon,er=e.nextIcon,el=i.useRef(null),ea=(0,b.Z)(10,{value:Z,defaultValue:void 0===w?10:w}),ec=(0,g.Z)(ea,2),es=ec[0],em=ec[1],eu=(0,b.Z)(1,{value:z,defaultValue:void 0===O?1:O,postState:function(e){return Math.max(1,Math.min(e,E(void 0,es,M)))}}),ed=(0,g.Z)(eu,2),ep=ed[0],eg=ed[1],eb=i.useState(ep),ev=(0,g.Z)(eb,2),eh=ev[0],ef=ev[1];(0,i.useEffect)(function(){ef(ep)},[ep]);var e$=Math.max(1,ep-(A?3:5)),eC=Math.min(E(void 0,es,M),ep+(A?3:5));function eS(t,n){var o=t||i.createElement("button",{type:"button","aria-label":n,className:"".concat(c,"-item-link")});return"function"==typeof t&&(o=i.createElement(t,(0,p.Z)({},e))),o}function ek(e){var t=e.target.value,n=E(void 0,es,M);return""===t?t:Number.isNaN(Number(t))?eh:t>=n?n:Number(t)}var ey=M>es&&_;function ex(e){var t=ek(e);switch(t!==eh&&ef(t),e.keyCode){case v.Z.ENTER:eE(t);break;case v.Z.UP:eE(t-1);break;case v.Z.DOWN:eE(t+1)}}function eE(e){if(x(e)&&e!==ep&&x(M)&&M>0&&!G){var t=E(void 0,es,M),n=e;return e>t?n=t:e<1&&(n=1),n!==eh&&ef(n),eg(n),null==P||P(n,es),n}return ep}var eN=ep>1,ej=ep(void 0===F?50:F);function eO(){eN&&eE(ep-1)}function eB(){ej&&eE(ep+1)}function eM(){eE(e$)}function eZ(){eE(eC)}function ew(e,t){if("Enter"===e.key||e.charCode===v.Z.ENTER||e.keyCode===v.Z.ENTER){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;oM?M:ep*es])),eH=null,e_=E(void 0,es,M);if(T&&M<=es)return null;var eA=[],eR={rootPrefixCls:c,onClick:eE,onKeyPress:ew,showTitle:L,itemRender:et,page:-1},eL=ep-1>0?ep-1:0,eW=ep+1=2*eF&&3!==ep&&(eA[0]=i.cloneElement(eA[0],{className:s()("".concat(c,"-item-after-jump-prev"),eA[0].props.className)}),eA.unshift(eP)),e_-ep>=2*eF&&ep!==e_-2){var e3=eA[eA.length-1];eA[eA.length-1]=i.cloneElement(e3,{className:s()("".concat(c,"-item-before-jump-next"),e3.props.className)}),eA.push(eH)}1!==e0&&eA.unshift(i.createElement(S,(0,u.Z)({},eR,{key:1,page:1}))),e1!==e_&&eA.push(i.createElement(S,(0,u.Z)({},eR,{key:e_,page:e_})))}var e6=(t=et(eL,"prev",eS(eo,"prev page")),i.isValidElement(t)?i.cloneElement(t,{disabled:!eN}):t);if(e6){var e9=!eN||!e_;e6=i.createElement("li",{title:L?K.prev_page:null,onClick:eO,tabIndex:e9?null:0,onKeyDown:function(e){ew(e,eO)},className:s()("".concat(c,"-prev"),(0,m.Z)({},"".concat(c,"-disabled"),e9)),"aria-disabled":e9},e6)}var e7=(n=et(eW,"next",eS(er,"next page")),i.isValidElement(n)?i.cloneElement(n,{disabled:!ej}):n);e7&&(J?(r=!ej,l=eN?0:null):l=(r=!ej||!e_)?null:0,e7=i.createElement("li",{title:L?K.next_page:null,onClick:eB,tabIndex:l,onKeyDown:function(e){ew(e,eB)},className:s()("".concat(c,"-next"),(0,m.Z)({},"".concat(c,"-disabled"),r)),"aria-disabled":r},e7));var e4=s()(c,N,(o={},(0,m.Z)(o,"".concat(c,"-start"),"start"===D),(0,m.Z)(o,"".concat(c,"-center"),"center"===D),(0,m.Z)(o,"".concat(c,"-end"),"end"===D),(0,m.Z)(o,"".concat(c,"-simple"),J),(0,m.Z)(o,"".concat(c,"-disabled"),G),o));return i.createElement("ul",(0,u.Z)({className:e4,style:U,ref:el},eT),eD,e6,J?eU:eA,e7,i.createElement(C,{locale:K,rootPrefixCls:c,disabled:G,selectComponentClass:j,selectPrefixCls:void 0===$?"rc-select":$,changeSize:ez?function(e){var t=E(e,es,M),n=ep>t&&0!==t?t:ep;em(e),ef(n),null==X||X(ep,e),eg(n),null==P||P(n,e)}:null,pageSize:es,pageSizeOptions:Y,quickGo:ey?eE:null,goButton:eK}))},j=n(62906),z=n(53124),O=n(98675),B=n(25378),M=n(10110),Z=n(25976),w=n(34041);let I=e=>i.createElement(w.default,Object.assign({},e,{showSearch:!0,size:"small"})),P=e=>i.createElement(w.default,Object.assign({},e,{showSearch:!0,size:"middle"}));I.Option=w.default.Option,P.Option=w.default.Option;var T=n(25446),D=n(47673),H=n(20353),_=n(93900),A=n(14747),R=n(83262),L=n(83559);let W=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"}}}}}},X=e=>{let{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:(0,T.bf)(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,T.bf)(e.calc(e.itemSizeSM).sub(2).equal())},[`&${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:(0,T.bf)(e.itemSizeSM)},[`&${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:(0,T.bf)(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:(0,T.bf)(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:(0,T.bf)(e.itemSizeSM),input:Object.assign(Object.assign({},(0,D.x0)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},q=e=>{let{componentCls:t}=e;return{[` + &${t}-simple ${t}-prev, + &${t}-simple ${t}-next + `]:{height:e.itemSizeSM,lineHeight:(0,T.bf)(e.itemSizeSM),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:(0,T.bf)(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,T.bf)(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${(0,T.bf)(e.lineWidth)} ${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:`${(0,T.bf)(e.inputOutlineOffset)} 0 ${(0,T.bf)(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},K=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:(0,T.bf)(e.itemSize),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:`${(0,T.bf)(e.lineWidth)} ${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":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:(0,T.bf)(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,D.ik)(e)),(0,_.$U)(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},(0,_.Xy)(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},U=e=>{let{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:(0,T.bf)(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${(0,T.bf)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,T.bf)(e.paginationItemPaddingInline)}`,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}}}}},F=e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,A.Wf)(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"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:(0,T.bf)(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),U(e)),K(e)),q(e)),X(e)),W(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"}}},G=e=>{let{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},(0,A.Qy)(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},(0,A.oN)(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},(0,A.oN)(e))}}}},J=e=>Object.assign({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},(0,H.T)(e)),Q=e=>(0,R.IX)(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,H.e)(e));var V=(0,L.I$)("Pagination",e=>{let t=Q(e);return[F(t),G(t)]},J);let Y=e=>{let{componentCls:t}=e;return{[`${t}${t}-bordered${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}${t}-bordered: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:`${(0,T.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}};var ee=(0,L.bk)(["Pagination","bordered"],e=>{let t=Q(e);return[Y(t)]},J),et=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},en=e=>{let{align:t,prefixCls:n,selectPrefixCls:c,className:m,rootClassName:u,style:d,size:p,locale:g,selectComponentClass:b,responsive:v,showSizeChanger:h}=e,f=et(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:$}=(0,B.Z)(v),[,C]=(0,Z.ZP)(),{getPrefixCls:S,direction:k,pagination:y={}}=i.useContext(z.E_),x=S("pagination",n),[E,w,T]=V(x),D=null!=h?h:y.showSizeChanger,H=i.useMemo(()=>{let e=i.createElement("span",{className:`${x}-item-ellipsis`},"•••"),t=i.createElement("button",{className:`${x}-item-link`,type:"button",tabIndex:-1},"rtl"===k?i.createElement(a.Z,null):i.createElement(l.Z,null)),n=i.createElement("button",{className:`${x}-item-link`,type:"button",tabIndex:-1},"rtl"===k?i.createElement(l.Z,null):i.createElement(a.Z,null)),c=i.createElement("a",{className:`${x}-item-link`},i.createElement("div",{className:`${x}-item-container`},"rtl"===k?i.createElement(r.Z,{className:`${x}-item-link-icon`}):i.createElement(o.Z,{className:`${x}-item-link-icon`}),e)),s=i.createElement("a",{className:`${x}-item-link`},i.createElement("div",{className:`${x}-item-container`},"rtl"===k?i.createElement(o.Z,{className:`${x}-item-link-icon`}):i.createElement(r.Z,{className:`${x}-item-link-icon`}),e));return{prevIcon:t,nextIcon:n,jumpPrevIcon:c,jumpNextIcon:s}},[k,x]),[_]=(0,M.Z)("Pagination",j.Z),A=Object.assign(Object.assign({},_),g),R=(0,O.Z)(p),L="small"===R||!!($&&!R&&v),W=S("select",c),X=s()({[`${x}-${t}`]:!!t,[`${x}-mini`]:L,[`${x}-rtl`]:"rtl"===k,[`${x}-bordered`]:C.wireframe},null==y?void 0:y.className,m,u,w,T),q=Object.assign(Object.assign({},null==y?void 0:y.style),d);return E(i.createElement(i.Fragment,null,C.wireframe&&i.createElement(ee,{prefixCls:x}),i.createElement(N,Object.assign({},H,f,{style:q,prefixCls:x,selectPrefixCls:W,className:X,selectComponentClass:b||(L?I:P),locale:A,showSizeChanger:D}))))}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1390-db1d6f8281c4dd59.js b/dbgpt/app/static/web/_next/static/chunks/1390-db1d6f8281c4dd59.js new file mode 100644 index 000000000..f338be454 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/1390-db1d6f8281c4dd59.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1390,950,6047,1437,5005,5654],{91321:function(e,r,t){t.d(r,{Z:function(){return u}});var o=t(87462),n=t(45987),c=t(67294),l=t(16165),a=["type","children"],i=new Set;function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[r];if("string"==typeof t&&t.length&&!i.has(t)){var o=document.createElement("script");o.setAttribute("src",t),o.setAttribute("data-namespace",t),e.length>r+1&&(o.onload=function(){s(e,r+1)},o.onerror=function(){s(e,r+1)}),i.add(t),document.body.appendChild(o)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scriptUrl,t=e.extraCommonProps,i=void 0===t?{}:t;r&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(r)?s(r.reverse()):s([r]));var u=c.forwardRef(function(e,r){var t=e.type,s=e.children,u=(0,n.Z)(e,a),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(t)})),s&&(d=s),c.createElement(l.Z,(0,o.Z)({},i,u,{ref:r}),d)});return u.displayName="Iconfont",u}},52645:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},58638:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},83266:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},30159:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},87740:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},27496:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},94668:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},66309:function(e,r,t){t.d(r,{Z:function(){return z}});var o=t(67294),n=t(93967),c=t.n(n),l=t(98423),a=t(98787),i=t(69760),s=t(96159),u=t(45353),d=t(53124),f=t(25446),g=t(10274),h=t(14747),p=t(83262),v=t(83559);let m=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:o,componentCls:n,calc:c}=e,l=c(o).sub(t).equal(),a=c(r).sub(t).equal();return{[n]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${n}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${n}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${n}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${n}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${n}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:r,fontSizeIcon:t,calc:o}=e,n=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:n,tagLineHeight:(0,f.bf)(o(e.lineHeightSM).mul(n).equal()),tagIconSize:o(t).sub(o(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let r=b(e);return m(r)},C),k=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let w=o.forwardRef((e,r)=>{let{prefixCls:t,style:n,className:l,checked:a,onChange:i,onClick:s}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:g}=o.useContext(d.E_),h=f("tag",t),[p,v,m]=y(h),b=c()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:a},null==g?void 0:g.className,l,v,m);return p(o.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},n),null==g?void 0:g.style),className:b,onClick:e=>{null==i||i(!a),null==s||s(e)}})))});var $=t(98719);let x=e=>(0,$.Z)(e,(r,t)=>{let{textColor:o,lightBorderColor:n,lightColor:c,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:o,background:c,borderColor:n,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Z=(0,v.bk)(["Tag","preset"],e=>{let r=b(e);return x(r)},C);let E=(e,r,t)=>{let o=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let r=b(e);return[E(r,"success","Success"),E(r,"processing","Info"),E(r,"error","Error"),E(r,"warning","Warning")]},C),O=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let S=o.forwardRef((e,r)=>{let{prefixCls:t,className:n,rootClassName:f,style:g,children:h,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,k=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:$,tag:x}=o.useContext(d.E_),[E,S]=o.useState(!0),z=(0,l.Z)(k,["closeIcon","closable"]);o.useEffect(()=>{void 0!==C&&S(C)},[C]);let B=(0,a.o2)(v),M=(0,a.yT)(v),j=B||M,V=Object.assign(Object.assign({backgroundColor:v&&!j?v:void 0},null==x?void 0:x.style),g),P=w("tag",t),[I,N,R]=y(P),T=c()(P,null==x?void 0:x.className,{[`${P}-${v}`]:j,[`${P}-has-color`]:v&&!j,[`${P}-hidden`]:!E,[`${P}-rtl`]:"rtl"===$,[`${P}-borderless`]:!b},n,f,N,R),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)(x),{closable:!1,closeIconRender:e=>{let r=o.createElement("span",{className:`${P}-close-icon`,onClick:L},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),L(r)},className:c()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),_="function"==typeof k.onClick||h&&"a"===h.type,q=p||null,F=q?o.createElement(o.Fragment,null,q,h&&o.createElement("span",null,h)):h,D=o.createElement("span",Object.assign({},z,{ref:r,className:T,style:V}),F,A,B&&o.createElement(Z,{key:"preset",prefixCls:P}),M&&o.createElement(H,{key:"status",prefixCls:P}));return I(_?o.createElement(u.Z,{component:"Tag"},D):D)});S.CheckableTag=w;var z=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1437-13a9042f2fa6daf7.js b/dbgpt/app/static/web/_next/static/chunks/1437-13a9042f2fa6daf7.js new file mode 100644 index 000000000..b08bbe19d --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/1437-13a9042f2fa6daf7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1437,950,6047,5005,1390,5654],{91321:function(e,r,t){t.d(r,{Z:function(){return u}});var o=t(87462),n=t(45987),c=t(67294),l=t(16165),a=["type","children"],i=new Set;function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[r];if("string"==typeof t&&t.length&&!i.has(t)){var o=document.createElement("script");o.setAttribute("src",t),o.setAttribute("data-namespace",t),e.length>r+1&&(o.onload=function(){s(e,r+1)},o.onerror=function(){s(e,r+1)}),i.add(t),document.body.appendChild(o)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scriptUrl,t=e.extraCommonProps,i=void 0===t?{}:t;r&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(r)?s(r.reverse()):s([r]));var u=c.forwardRef(function(e,r){var t=e.type,s=e.children,u=(0,n.Z)(e,a),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(t)})),s&&(d=s),c.createElement(l.Z,(0,o.Z)({},i,u,{ref:r}),d)});return u.displayName="Iconfont",u}},52645:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},58638:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},83266:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},30159:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},87740:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},27496:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},94668:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},66309:function(e,r,t){t.d(r,{Z:function(){return z}});var o=t(67294),n=t(93967),c=t.n(n),l=t(98423),a=t(98787),i=t(69760),s=t(96159),u=t(45353),d=t(53124),f=t(25446),g=t(10274),h=t(14747),p=t(83262),v=t(83559);let m=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:o,componentCls:n,calc:c}=e,l=c(o).sub(t).equal(),a=c(r).sub(t).equal();return{[n]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${n}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${n}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${n}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${n}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${n}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:r,fontSizeIcon:t,calc:o}=e,n=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:n,tagLineHeight:(0,f.bf)(o(e.lineHeightSM).mul(n).equal()),tagIconSize:o(t).sub(o(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let r=b(e);return m(r)},C),k=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let w=o.forwardRef((e,r)=>{let{prefixCls:t,style:n,className:l,checked:a,onChange:i,onClick:s}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:g}=o.useContext(d.E_),h=f("tag",t),[p,v,m]=y(h),b=c()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:a},null==g?void 0:g.className,l,v,m);return p(o.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},n),null==g?void 0:g.style),className:b,onClick:e=>{null==i||i(!a),null==s||s(e)}})))});var $=t(98719);let x=e=>(0,$.Z)(e,(r,t)=>{let{textColor:o,lightBorderColor:n,lightColor:c,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:o,background:c,borderColor:n,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Z=(0,v.bk)(["Tag","preset"],e=>{let r=b(e);return x(r)},C);let E=(e,r,t)=>{let o=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let r=b(e);return[E(r,"success","Success"),E(r,"processing","Info"),E(r,"error","Error"),E(r,"warning","Warning")]},C),O=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let S=o.forwardRef((e,r)=>{let{prefixCls:t,className:n,rootClassName:f,style:g,children:h,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,k=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:$,tag:x}=o.useContext(d.E_),[E,S]=o.useState(!0),z=(0,l.Z)(k,["closeIcon","closable"]);o.useEffect(()=>{void 0!==C&&S(C)},[C]);let B=(0,a.o2)(v),M=(0,a.yT)(v),j=B||M,V=Object.assign(Object.assign({backgroundColor:v&&!j?v:void 0},null==x?void 0:x.style),g),P=w("tag",t),[I,N,R]=y(P),T=c()(P,null==x?void 0:x.className,{[`${P}-${v}`]:j,[`${P}-has-color`]:v&&!j,[`${P}-hidden`]:!E,[`${P}-rtl`]:"rtl"===$,[`${P}-borderless`]:!b},n,f,N,R),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)(x),{closable:!1,closeIconRender:e=>{let r=o.createElement("span",{className:`${P}-close-icon`,onClick:L},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),L(r)},className:c()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),_="function"==typeof k.onClick||h&&"a"===h.type,q=p||null,F=q?o.createElement(o.Fragment,null,q,h&&o.createElement("span",null,h)):h,D=o.createElement("span",Object.assign({},z,{ref:r,className:T,style:V}),F,A,B&&o.createElement(Z,{key:"preset",prefixCls:P}),M&&o.createElement(H,{key:"status",prefixCls:P}));return I(_?o.createElement(u.Z,{component:"Tag"},D):D)});S.CheckableTag=w;var z=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1448.f3d9be54367b2a57.js b/dbgpt/app/static/web/_next/static/chunks/1448.afef71544b4c931b.js similarity index 97% rename from dbgpt/app/static/web/_next/static/chunks/1448.f3d9be54367b2a57.js rename to dbgpt/app/static/web/_next/static/chunks/1448.afef71544b4c931b.js index 4a50871ff..6a5bde092 100644 --- a/dbgpt/app/static/web/_next/static/chunks/1448.f3d9be54367b2a57.js +++ b/dbgpt/app/static/web/_next/static/chunks/1448.afef71544b4c931b.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1448],{11448:function(e,o,t){t.r(o),t.d(o,{conf:function(){return n},language:function(){return s}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var n={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"(*",close:"*)"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"(*",close:"*)"}]},s={defaultToken:"",tokenPostfix:".cameligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["abs","assert","block","Bytes","case","Crypto","Current","else","failwith","false","for","fun","if","in","let","let%entry","let%init","List","list","Map","map","match","match%nat","mod","not","operation","Operation","of","record","Set","set","sender","skip","source","String","then","to","true","type","with"],typeKeywords:["int","unit","string","tz","nat","bool"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%","->","<-","&&","||"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/147.34e5f17f511a7090.js b/dbgpt/app/static/web/_next/static/chunks/147.34e5f17f511a7090.js deleted file mode 100644 index 9b1a7fee8..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/147.34e5f17f511a7090.js +++ /dev/null @@ -1,303 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[147],{40147:function(e,t,a){a.r(t),a.d(t,{conf:function(){return r},language:function(){return _}});/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var r={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"}]};function n(e){let t=[],a=e.split(/\t+|\r+|\n+| +/);for(let e=0;e0&&t.push(a[e]);return t}var o=n("true false"),i=n(` - alias - break - case - const - const_assert - continue - continuing - default - diagnostic - discard - else - enable - fn - for - if - let - loop - override - requires - return - struct - switch - var - while - `),s=n(` - NULL - Self - abstract - active - alignas - alignof - as - asm - asm_fragment - async - attribute - auto - await - become - binding_array - cast - catch - class - co_await - co_return - co_yield - coherent - column_major - common - compile - compile_fragment - concept - const_cast - consteval - constexpr - constinit - crate - debugger - decltype - delete - demote - demote_to_helper - do - dynamic_cast - enum - explicit - export - extends - extern - external - fallthrough - filter - final - finally - friend - from - fxgroup - get - goto - groupshared - highp - impl - implements - import - inline - instanceof - interface - layout - lowp - macro - macro_rules - match - mediump - meta - mod - module - move - mut - mutable - namespace - new - nil - noexcept - noinline - nointerpolation - noperspective - null - nullptr - of - operator - package - packoffset - partition - pass - patch - pixelfragment - precise - precision - premerge - priv - protected - pub - public - readonly - ref - regardless - register - reinterpret_cast - require - resource - restrict - self - set - shared - sizeof - smooth - snorm - static - static_assert - static_cast - std - subroutine - super - target - template - this - thread_local - throw - trait - try - type - typedef - typeid - typename - typeof - union - unless - unorm - unsafe - unsized - use - using - varying - virtual - volatile - wgsl - where - with - writeonly - yield - `),c=n(` - read write read_write - function private workgroup uniform storage - perspective linear flat - center centroid sample - vertex_index instance_index position front_facing frag_depth - local_invocation_id local_invocation_index - global_invocation_id workgroup_id num_workgroups - sample_index sample_mask - rgba8unorm - rgba8snorm - rgba8uint - rgba8sint - rgba16uint - rgba16sint - rgba16float - r32uint - r32sint - r32float - rg32uint - rg32sint - rg32float - rgba32uint - rgba32sint - rgba32float - bgra8unorm -`),m=n(` - bool - f16 - f32 - i32 - sampler sampler_comparison - texture_depth_2d - texture_depth_2d_array - texture_depth_cube - texture_depth_cube_array - texture_depth_multisampled_2d - texture_external - texture_external - u32 - `),u=n(` - array - atomic - mat2x2 - mat2x3 - mat2x4 - mat3x2 - mat3x3 - mat3x4 - mat4x2 - mat4x3 - mat4x4 - ptr - texture_1d - texture_2d - texture_2d_array - texture_3d - texture_cube - texture_cube_array - texture_multisampled_2d - texture_storage_1d - texture_storage_2d - texture_storage_2d_array - texture_storage_3d - vec2 - vec3 - vec4 - `),l=n(` - vec2i vec3i vec4i - vec2u vec3u vec4u - vec2f vec3f vec4f - vec2h vec3h vec4h - mat2x2f mat2x3f mat2x4f - mat3x2f mat3x3f mat3x4f - mat4x2f mat4x3f mat4x4f - mat2x2h mat2x3h mat2x4h - mat3x2h mat3x3h mat3x4h - mat4x2h mat4x3h mat4x4h - `),p=n(` - bitcast all any select arrayLength abs acos acosh asin asinh atan atanh atan2 - ceil clamp cos cosh countLeadingZeros countOneBits countTrailingZeros cross - degrees determinant distance dot exp exp2 extractBits faceForward firstLeadingBit - firstTrailingBit floor fma fract frexp inverseBits inverseSqrt ldexp length - log log2 max min mix modf normalize pow quantizeToF16 radians reflect refract - reverseBits round saturate sign sin sinh smoothstep sqrt step tan tanh transpose - trunc dpdx dpdxCoarse dpdxFine dpdy dpdyCoarse dpdyFine fwidth fwidthCoarse fwidthFine - textureDimensions textureGather textureGatherCompare textureLoad textureNumLayers - textureNumLevels textureNumSamples textureSample textureSampleBias textureSampleCompare - textureSampleCompareLevel textureSampleGrad textureSampleLevel textureSampleBaseClampToEdge - textureStore atomicLoad atomicStore atomicAdd atomicSub atomicMax atomicMin - atomicAnd atomicOr atomicXor atomicExchange atomicCompareExchangeWeak pack4x8snorm - pack4x8unorm pack2x16snorm pack2x16unorm pack2x16float unpack4x8snorm unpack4x8unorm - unpack2x16snorm unpack2x16unorm unpack2x16float storageBarrier workgroupBarrier - workgroupUniformLoad -`),d=n(` - & - && - -> - / - = - == - != - > - >= - < - <= - % - - - -- - + - ++ - | - || - * - << - >> - += - -= - *= - /= - %= - &= - |= - ^= - >>= - <<= - `),x=/[_\p{XID_Start}]\p{XID_Continue}*/u,f="variable.predefined",_={tokenPostfix:".wgsl",defaultToken:"invalid",unicode:!0,atoms:o,keywords:i,reserved:s,predeclared_enums:c,predeclared_types:m,predeclared_type_generators:u,predeclared_type_aliases:l,predeclared_intrinsics:p,operators:d,symbols:/[!%&*+\-\.\/:;<=>^|_~,]+/,tokenizer:{root:[[/enable|requires|diagnostic/,"keyword","@directive"],[x,{cases:{"@atoms":f,"@keywords":"keyword","@reserved":"invalid","@predeclared_enums":f,"@predeclared_types":f,"@predeclared_type_generators":f,"@predeclared_type_aliases":f,"@predeclared_intrinsics":f,"@default":"identifier"}}],{include:"@commentOrSpace"},{include:"@numbers"},[/[{}()\[\]]/,"@brackets"],["@","annotation","@attribute"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/./,"invalid"]],commentOrSpace:[[/\s+/,"white"],[/\/\*/,"comment","@blockComment"],[/\/\/.*$/,"comment"]],blockComment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],attribute:[{include:"@commentOrSpace"},[/\w+/,"annotation","@pop"]],directive:[{include:"@commentOrSpace"},[/[()]/,"@brackets"],[/,/,"delimiter"],[x,"meta.content"],[/;/,"delimiter","@pop"]],numbers:[[/0[fh]/,"number.float"],[/[1-9][0-9]*[fh]/,"number.float"],[/[0-9]*\.[0-9]+([eE][+-]?[0-9]+)?[fh]?/,"number.float"],[/[0-9]+\.[0-9]*([eE][+-]?[0-9]+)?[fh]?/,"number.float"],[/[0-9]+[eE][+-]?[0-9]+[fh]?/,"number.float"],[/0[xX][0-9a-fA-F]*\.[0-9a-fA-F]+(?:[pP][+-]?[0-9]+[fh]?)?/,"number.hex"],[/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*(?:[pP][+-]?[0-9]+[fh]?)?/,"number.hex"],[/0[xX][0-9a-fA-F]+[pP][+-]?[0-9]+[fh]?/,"number.hex"],[/0[xX][0-9a-fA-F]+[iu]?/,"number.hex"],[/[1-9][0-9]*[iu]?/,"number"],[/0[iu]?/,"number"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1471.9254f223a77c7d61.js b/dbgpt/app/static/web/_next/static/chunks/1471.3c700bc9c8cfdd10.js similarity index 95% rename from dbgpt/app/static/web/_next/static/chunks/1471.9254f223a77c7d61.js rename to dbgpt/app/static/web/_next/static/chunks/1471.3c700bc9c8cfdd10.js index 4926913f0..da3521ecd 100644 --- a/dbgpt/app/static/web/_next/static/chunks/1471.9254f223a77c7d61.js +++ b/dbgpt/app/static/web/_next/static/chunks/1471.3c700bc9c8cfdd10.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1471],{31471:function(e,t,n){n.r(t),n.d(t,{conf:function(){return s},language:function(){return o}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var s={comments:{lineComment:"#"}},o={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1531-58ba8f03b8d769ab.js b/dbgpt/app/static/web/_next/static/chunks/1531-58ba8f03b8d769ab.js deleted file mode 100644 index 2986f6f3e..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/1531-58ba8f03b8d769ab.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1531],{41464:function(e,t){t.Z={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"}},57727:function(e,t){t.Z={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"}},54200:function(e,t){t.Z={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"}},75573:function(e,t){t.Z={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"}},98851:function(e,t){t.Z={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"}},48898:function(e,t){t.Z={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"}},85118:function(e,t){t.Z={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"}},48792:function(e,t){t.Z={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"}},70478:function(e,t){t.Z={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"}},43114:function(e,t){t.Z={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"}},38780:function(e,t){t.Z=function(){let e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{let o=n[t];void 0!==o&&(e[t]=o)})}return e}},78045:function(e,t,n){n.d(t,{ZP:function(){return M}});var o=n(67294),r=n(93967),a=n.n(r),i=n(21770),d=n(64217),l=n(53124),c=n(35792),s=n(98675);let u=o.createContext(null),p=u.Provider,f=o.createContext(null),h=f.Provider;var g=n(50132),v=n(42550),y=n(45353),b=n(17415),k=n(98866),m=n(65223),Z=n(47648),x=n(14747),E=n(83559),N=n(87893);let K=e=>{let{componentCls:t,antCls:n}=e,o=`${t}-group`;return{[o]:Object.assign(Object.assign({},(0,x.Wf)(e)),{display:"inline-block",fontSize:0,[`&${o}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},C=e=>{let{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:o,radioSize:r,motionDurationSlow:a,motionDurationMid:i,motionEaseInOutCirc:d,colorBgContainer:l,colorBorder:c,lineWidth:s,colorBgContainerDisabled:u,colorTextDisabled:p,paddingXS:f,dotColorDisabled:h,lineType:g,radioColor:v,radioBgColor:y,calc:b}=e,k=`${t}-inner`,m=b(r).sub(b(4).mul(2)),E=b(1).mul(r).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,x.Wf)(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,Z.bf)(s)} ${g} ${o}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},(0,x.Wf)(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, - &:hover ${k}`]:{borderColor:o},[`${t}-input:focus-visible + ${k}`]:Object.assign({},(0,x.oN)(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:E,height:E,marginBlockStart:b(1).mul(r).div(-2).equal({unit:!0}),marginInlineStart:b(1).mul(r).div(-2).equal({unit:!0}),backgroundColor:v,borderBlockStart:0,borderInlineStart:0,borderRadius:E,transform:"scale(0)",opacity:0,transition:`all ${a} ${d}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:E,height:E,backgroundColor:l,borderColor:c,borderStyle:"solid",borderWidth:s,borderRadius:"50%",transition:`all ${i}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[k]:{borderColor:o,backgroundColor:y,"&::after":{transform:`scale(${e.calc(e.dotSize).div(r).equal()})`,opacity:1,transition:`all ${a} ${d}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[k]:{backgroundColor:u,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:h}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:p,cursor:"not-allowed"},[`&${t}-checked`]:{[k]:{"&::after":{transform:`scale(${b(m).div(r).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:f,paddingInlineEnd:f}})}},S=e=>{let{buttonColor:t,controlHeight:n,componentCls:o,lineWidth:r,lineType:a,colorBorder:i,motionDurationSlow:d,motionDurationMid:l,buttonPaddingInline:c,fontSize:s,buttonBg:u,fontSizeLG:p,controlHeightLG:f,controlHeightSM:h,paddingXS:g,borderRadius:v,borderRadiusSM:y,borderRadiusLG:b,buttonCheckedBg:k,buttonSolidCheckedColor:m,colorTextDisabled:E,colorBgContainerDisabled:N,buttonCheckedBgDisabled:K,buttonCheckedColorDisabled:C,colorPrimary:S,colorPrimaryHover:w,colorPrimaryActive:D,buttonSolidCheckedBg:$,buttonSolidCheckedHoverBg:O,buttonSolidCheckedActiveBg:P,calc:I}=e;return{[`${o}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:s,lineHeight:(0,Z.bf)(I(n).sub(I(r).mul(2)).equal()),background:u,border:`${(0,Z.bf)(r)} ${a} ${i}`,borderBlockStartWidth:I(r).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:r,cursor:"pointer",transition:`color ${l},background ${l},box-shadow ${l}`,a:{color:t},[`> ${o}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:I(r).mul(-1).equal(),insetInlineStart:I(r).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:r,paddingInline:0,backgroundColor:i,transition:`background-color ${d}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,Z.bf)(r)} ${a} ${i}`,borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v},"&:first-child:last-child":{borderRadius:v},[`${o}-group-large &`]:{height:f,fontSize:p,lineHeight:(0,Z.bf)(I(f).sub(I(r).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${o}-group-small &`]:{height:h,paddingInline:I(g).sub(r).equal(),paddingBlock:0,lineHeight:(0,Z.bf)(I(h).sub(I(r).mul(2)).equal()),"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},"&:hover":{position:"relative",color:S},"&:has(:focus-visible)":Object.assign({},(0,x.oN)(e)),[`${o}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${o}-button-wrapper-disabled)`]:{zIndex:1,color:S,background:k,borderColor:S,"&::before":{backgroundColor:S},"&:first-child":{borderColor:S},"&:hover":{color:w,borderColor:w,"&::before":{backgroundColor:w}},"&:active":{color:D,borderColor:D,"&::before":{backgroundColor:D}}},[`${o}-group-solid &-checked:not(${o}-button-wrapper-disabled)`]:{color:m,background:$,borderColor:$,"&:hover":{color:m,background:O,borderColor:O},"&:active":{color:m,background:P,borderColor:P}},"&-disabled":{color:E,backgroundColor:N,borderColor:i,cursor:"not-allowed","&:first-child, &:hover":{color:E,backgroundColor:N,borderColor:i}},[`&-disabled${o}-button-wrapper-checked`]:{color:C,backgroundColor:K,borderColor:i,boxShadow:"none"}}}};var w=(0,E.I$)("Radio",e=>{let{controlOutline:t,controlOutlineWidth:n}=e,o=`0 0 0 ${(0,Z.bf)(n)} ${t}`,r=(0,N.IX)(e,{radioFocusShadow:o,radioButtonFocusShadow:o});return[K(r),C(r),S(r)]},e=>{let{wireframe:t,padding:n,marginXS:o,lineWidth:r,fontSizeLG:a,colorText:i,colorBgContainer:d,colorTextDisabled:l,controlItemBgActiveDisabled:c,colorTextLightSolid:s,colorPrimary:u,colorPrimaryHover:p,colorPrimaryActive:f,colorWhite:h}=e;return{radioSize:a,dotSize:t?a-8:a-(4+r)*2,dotColorDisabled:l,buttonSolidCheckedColor:s,buttonSolidCheckedBg:u,buttonSolidCheckedHoverBg:p,buttonSolidCheckedActiveBg:f,buttonBg:d,buttonCheckedBg:d,buttonColor:i,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:l,buttonPaddingInline:n-r,wrapperMarginInlineEnd:o,radioColor:t?u:h,radioBgColor:t?d:u}},{unitless:{radioSize:!0,dotSize:!0}}),D=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};let $=o.forwardRef((e,t)=>{var n,r;let i=o.useContext(u),d=o.useContext(f),{getPrefixCls:s,direction:p,radio:h}=o.useContext(l.E_),Z=o.useRef(null),x=(0,v.sQ)(t,Z),{isFormItemInput:E}=o.useContext(m.aM),{prefixCls:N,className:K,rootClassName:C,children:S,style:$,title:O}=e,P=D(e,["prefixCls","className","rootClassName","children","style","title"]),I=s("radio",N),L="button"===((null==i?void 0:i.optionType)||d),M=L?`${I}-button`:I,T=(0,c.Z)(I),[R,H,A]=w(I,T),B=Object.assign({},P),z=o.useContext(k.Z);i&&(B.name=i.name,B.onChange=t=>{var n,o;null===(n=e.onChange)||void 0===n||n.call(e,t),null===(o=null==i?void 0:i.onChange)||void 0===o||o.call(i,t)},B.checked=e.value===i.value,B.disabled=null!==(n=B.disabled)&&void 0!==n?n:i.disabled),B.disabled=null!==(r=B.disabled)&&void 0!==r?r:z;let j=a()(`${M}-wrapper`,{[`${M}-wrapper-checked`]:B.checked,[`${M}-wrapper-disabled`]:B.disabled,[`${M}-wrapper-rtl`]:"rtl"===p,[`${M}-wrapper-in-form-item`]:E},null==h?void 0:h.className,K,C,H,A,T);return R(o.createElement(y.Z,{component:"Radio",disabled:B.disabled},o.createElement("label",{className:j,style:Object.assign(Object.assign({},null==h?void 0:h.style),$),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:O},o.createElement(g.Z,Object.assign({},B,{className:a()(B.className,{[b.A]:!L}),type:"radio",prefixCls:M,ref:x})),void 0!==S?o.createElement("span",null,S):null)))}),O=o.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=o.useContext(l.E_),[u,f]=(0,i.Z)(e.defaultValue,{value:e.value}),{prefixCls:h,className:g,rootClassName:v,options:y,buttonStyle:b="outline",disabled:k,children:m,size:Z,style:x,id:E,onMouseEnter:N,onMouseLeave:K,onFocus:C,onBlur:S}=e,D=n("radio",h),O=`${D}-group`,P=(0,c.Z)(D),[I,L,M]=w(D,P),T=m;y&&y.length>0&&(T=y.map(e=>"string"==typeof e||"number"==typeof e?o.createElement($,{key:e.toString(),prefixCls:D,disabled:k,value:e,checked:u===e},e):o.createElement($,{key:`radio-group-value-options-${e.value}`,prefixCls:D,disabled:e.disabled||k,value:e.value,checked:u===e.value,title:e.title,style:e.style,id:e.id,required:e.required},e.label)));let R=(0,s.Z)(Z),H=a()(O,`${O}-${b}`,{[`${O}-${R}`]:R,[`${O}-rtl`]:"rtl"===r},g,v,L,M,P);return I(o.createElement("div",Object.assign({},(0,d.Z)(e,{aria:!0,data:!0}),{className:H,style:x,onMouseEnter:N,onMouseLeave:K,onFocus:C,onBlur:S,id:E,ref:t}),o.createElement(p,{value:{onChange:t=>{let n=t.target.value;"value"in e||f(n);let{onChange:o}=e;o&&n!==u&&o(t)},value:u,disabled:e.disabled,name:e.name,optionType:e.optionType}},T)))});var P=o.memo(O),I=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},L=o.forwardRef((e,t)=>{let{getPrefixCls:n}=o.useContext(l.E_),{prefixCls:r}=e,a=I(e,["prefixCls"]),i=n("radio",r);return o.createElement(h,{value:"button"},o.createElement($,Object.assign({prefixCls:i},a,{type:"radio",ref:t})))});$.Button=L,$.Group=P,$.__ANT_RADIO=!0;var M=$},32157:function(e,t,n){n.d(t,{TM:function(){return g},Yk:function(){return h}});var o=n(47648),r=n(63185),a=n(14747),i=n(33507),d=n(87893),l=n(83559);let c=new o.E4("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),s=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),u=(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:`${(0,o.bf)(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),p=(e,t)=>{let{treeCls:n,treeNodeCls:r,treeNodePadding:i,titleHeight:d,nodeSelectedBg:l,nodeHoverBg:p}=t,f=t.paddingXS;return{[n]:Object.assign(Object.assign({},(0,a.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,a.oN)(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:i,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:c,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[r]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${(0,o.bf)(i)} 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`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${n}-draggable-icon`]:{flexShrink:0,width:d,lineHeight:(0,o.bf)(d),textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:d}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},s(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:d,margin:0,lineHeight:(0,o.bf)(d),textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:d,height:d,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},"&_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:t.calc(d).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(d).div(2).equal()).mul(.8).equal(),height:t.calc(d).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:f,alignSelf:"flex-start",marginTop:t.marginXXS},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:d,margin:0,padding:`0 ${(0,o.bf)(t.calc(t.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:(0,o.bf)(d),background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:p},[`&${n}-node-selected`]:{backgroundColor:l},[`${n}-iconEle`]:{display:"inline-block",width:d,height:d,lineHeight:(0,o.bf)(d),textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:(0,o.bf)(d),userSelect:"none"},u(e,t)),[`${r}.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:t.calc(d).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${(0,o.bf)(t.calc(d).div(2).equal())} !important`}}}}})}},f=e=>{let{treeCls:t,treeNodeCls:n,treeNodePadding:o,directoryNodeSelectedBg:r,directoryNodeSelectedColor:a}=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:a,background:"transparent"}},"&-selected":{[` - &:hover::before, - &::before - `]:{background:r},[`${t}-switcher`]:{color:a},[`${t}-node-content-wrapper`]:{color:a,background:"transparent"}}}}}},h=(e,t)=>{let n=`.${e}`,o=`${n}-treenode`,r=t.calc(t.paddingXS).div(2).equal(),a=(0,d.IX)(t,{treeCls:n,treeNodeCls:o,treeNodePadding:r});return[p(e,a),f(a)]},g=e=>{let{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}};t.ZP=(0,l.I$)("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:(0,r.C2)(`${n}-checkbox`,e)},h(n,e),(0,i.Z)(e)]},e=>{let{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},g(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})})},59657:function(e,t,n){n.d(t,{Z:function(){return y}});var o=n(67294),r=n(83963),a=n(41464),i=n(30672),d=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a.Z}))}),l=n(41018),c=n(19267),s=n(70478),u=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:s.Z}))}),p=n(43114),f=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:p.Z}))}),h=n(93967),g=n.n(h),v=n(96159),y=e=>{let t;let{prefixCls:n,switcherIcon:r,treeNodeProps:a,showLine:i,switcherLoadingIcon:s}=e,{isLeaf:p,expanded:h,loading:y}=a;if(y)return o.isValidElement(s)?s:o.createElement(c.Z,{className:`${n}-switcher-loading-icon`});if(i&&"object"==typeof i&&(t=i.showLeafIcon),p){if(!i)return null;if("boolean"!=typeof t&&t){let e="function"==typeof t?t(a):t,r=`${n}-switcher-line-custom-icon`;return o.isValidElement(e)?(0,v.Tm)(e,{className:g()(e.props.className||"",r)}):e}return t?o.createElement(l.Z,{className:`${n}-switcher-line-icon`}):o.createElement("span",{className:`${n}-switcher-leaf-line`})}let b=`${n}-switcher-icon`,k="function"==typeof r?r(a):r;return o.isValidElement(k)?(0,v.Tm)(k,{className:g()(k.props.className||"",b)}):void 0!==k?k:i?h?o.createElement(u,{className:`${n}-switcher-line-icon`}):o.createElement(f,{className:`${n}-switcher-line-icon`}):o.createElement(d,{className:b})}},41018:function(e,t,n){var o=n(83963),r=n(67294),a=n(75573),i=n(30672),d=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,o.Z)({},e,{ref:t,icon:a.Z}))});t.Z=d},86128:function(e,t,n){n.d(t,{Z:function(){return K}});var o=n(87462),r=n(45987),a=n(1413),i=n(15671),d=n(43144),l=n(97326),c=n(60136),s=n(18486),u=n(4942),p=n(93967),f=n.n(p),h=n(64217),g=n(67294),v=n(27822),y=g.memo(function(e){for(var t=e.prefixCls,n=e.level,o=e.isStart,r=e.isEnd,a="".concat(t,"-indent-unit"),i=[],d=0;d0&&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}(w)),b.createElement("div",null,b.createElement("input",{style:I,disabled:!1===C||p,tabIndex:!1!==C?T:null,onKeyDown:R,onFocus:z,onBlur:j,value:"",onChange:L,"aria-label":"for screen reader"})),b.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},b.createElement("div",{className:"".concat(n,"-indent")},b.createElement("div",{ref:G,className:"".concat(n,"-indent-unit")}))),b.createElement(N.Z,(0,o.Z)({},V,{data:ey,itemKey:B,height:y,fullHeight:!1,virtual:K,itemHeight:k,prefixCls:"".concat(n,"-list"),ref:W,onVisibleChange:function(e,t){var n=new Set(e);t.filter(function(e){return!n.has(e)}).some(function(e){return B(e)===M})&&ev()}}),function(e){var t=e.pos,n=Object.assign({},((0,m.Z)(e.data),e.data)),r=e.title,a=e.key,i=e.isStart,d=e.isEnd,l=(0,S.km)(a,t);delete n.key,delete n.children;var c=(0,S.H8)(l,eb);return b.createElement($,(0,o.Z)({},n,c,{title:r,active:!!w&&a===w.key,pos:t,data:e.data,isStart:i,isEnd:d,motion:v,motionNodes:a===M?ec:null,motionType:ef,onMotionStart:F,onMotionEnd:ev,treeNodeRequiredProps:eb,onMouseMove:function(){_(null)}}))}))});z.displayName="NodeList";var j=n(10225),_=n(17341),F=n(35381),q=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(){var e;(0,d.Z)(this,n);for(var o=arguments.length,r=Array(o),l=0;l2&&void 0!==arguments[2]&&arguments[2],i=e.state,d=i.dragChildrenKeys,l=i.dropPosition,c=i.dropTargetKey,s=i.dropTargetPos;if(i.dropAllowed){var u=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var p=(0,a.Z)((0,a.Z)({},(0,S.H8)(c,e.getTreeNodeRequiredProps())),{},{active:(null===(o=e.getActiveItem())||void 0===o?void 0:o.key)===c,data:(0,F.Z)(e.state.keyEntities,c).node}),f=-1!==d.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,j.yx)(s),g={event:t,node:(0,S.F)(p),dragNode:e.dragNode?(0,S.F)(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(d),dropToGap:0!==l,dropPosition:l+Number(h[h.length-1])};r||null==u||u(g),e.dragNode=null}}}),(0,p.Z)((0,c.Z)(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}),(0,p.Z)((0,c.Z)(e),"triggerExpandActionExpand",function(t,n){var o=e.state,r=o.expandedKeys,i=o.flattenNodes,d=n.expanded,l=n.key;if(!n.isLeaf&&!t.shiftKey&&!t.metaKey&&!t.ctrlKey){var c=i.filter(function(e){return e.key===l})[0],s=(0,S.F)((0,a.Z)((0,a.Z)({},(0,S.H8)(l,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(d?(0,j._5)(r,l):(0,j.L0)(r,l)),e.onNodeExpand(t,s)}}),(0,p.Z)((0,c.Z)(e),"onNodeClick",function(t,n){var o=e.props,r=o.onClick;"click"===o.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)}),(0,p.Z)((0,c.Z)(e),"onNodeDoubleClick",function(t,n){var o=e.props,r=o.onDoubleClick;"doubleClick"===o.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)}),(0,p.Z)((0,c.Z)(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,j.L0)(o,u):[u]:(0,j._5)(o,u)).map(function(e){var t=(0,F.Z)(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})}),(0,p.Z)((0,c.Z)(e),"onNodeCheck",function(t,n,o){var r,a=e.state,d=a.keyEntities,l=a.checkedKeys,c=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 g=o?(0,j.L0)(l,f):(0,j._5)(l,f);r={checked:g,halfChecked:(0,j._5)(c,f)},h.checkedNodes=g.map(function(e){return(0,F.Z)(d,e)}).filter(function(e){return e}).map(function(e){return e.node}),e.setUncontrolledState({checkedKeys:g})}else{var v=(0,_.S)([].concat((0,i.Z)(l),[f]),!0,d),y=v.checkedKeys,b=v.halfCheckedKeys;if(!o){var k=new Set(y);k.delete(f);var m=(0,_.S)(Array.from(k),{checked:!1,halfCheckedKeys:b},d);y=m.checkedKeys,b=m.halfCheckedKeys}r=y,h.checkedNodes=[],h.checkedNodesPositions=[],h.halfCheckedKeys=b,y.forEach(function(e){var t=(0,F.Z)(d,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:b})}null==p||p(r,h)}),(0,p.Z)((0,c.Z)(e),"onNodeLoad",function(t){var n,o=t.key,r=e.state.keyEntities,a=(0,F.Z)(r,o);if(null==a||null===(n=a.children)||void 0===n||!n.length){var i=new Promise(function(n,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(o)&&-1===l.indexOf(o)?(s(t).then(function(){var r=e.state.loadedKeys,a=(0,j.L0)(r,o);null==u||u(a,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:a}),e.setState(function(e){return{loadingKeys:(0,j._5)(e.loadingKeys,o)}}),n()}).catch(function(t){if(e.setState(function(e){return{loadingKeys:(0,j._5)(e.loadingKeys,o)}}),e.loadingRetryTimes[o]=(e.loadingRetryTimes[o]||0)+1,e.loadingRetryTimes[o]>=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,j.L0)(a,o)}),n()}r(t)}),{loadingKeys:(0,j.L0)(l,o)}):null})});return i.catch(function(){}),i}}),(0,p.Z)((0,c.Z)(e),"onNodeMouseEnter",function(t,n){var o=e.props.onMouseEnter;null==o||o({event:t,node:n})}),(0,p.Z)((0,c.Z)(e),"onNodeMouseLeave",function(t,n){var o=e.props.onMouseLeave;null==o||o({event:t,node:n})}),(0,p.Z)((0,c.Z)(e),"onNodeContextMenu",function(t,n){var o=e.props.onRightClick;o&&(t.preventDefault(),o({event:t,node:n}))}),(0,p.Z)((0,c.Z)(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,i=!0,d={};Object.keys(t).forEach(function(n){if(n in e.props){i=!1;return}r=!0,d[n]=t[n]}),r&&(!n||i)&&e.setState((0,a.Z)((0,a.Z)({},d),o))}}),(0,p.Z)((0,c.Z)(e),"scrollTo",function(t){e.listRef.current.scrollTo(t)}),e}return(0,l.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,t=e.activeKey,n=e.itemScrollOffset;void 0!==t&&t!==this.state.activeKey&&(this.setState({activeKey:t}),null!==t&&this.scrollTo({key:t,offset:void 0===n?0:n}))}},{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=this.state,n=t.focused,a=t.flattenNodes,i=t.keyEntities,d=t.draggingNodeKey,l=t.activeKey,c=t.dropLevelOffset,s=t.dropContainerKey,u=t.dropTargetKey,f=t.dropPosition,g=t.dragOverNodeKey,y=t.indent,m=this.props,Z=m.prefixCls,x=m.className,E=m.style,N=m.showLine,K=m.focusable,C=m.tabIndex,S=m.selectable,w=m.showIcon,D=m.icon,$=m.switcherIcon,O=m.draggable,P=m.checkable,I=m.checkStrictly,L=m.disabled,M=m.motion,T=m.loadData,R=m.filterTreeNode,H=m.height,A=m.itemHeight,B=m.virtual,j=m.titleRender,_=m.dropIndicatorRender,F=m.onContextMenu,q=m.onScroll,V=m.direction,W=m.rootClassName,G=m.rootStyle,U=(0,v.Z)(this.props,{aria:!0,data:!0});return O&&(e="object"===(0,r.Z)(O)?O:"function"==typeof O?{nodeDraggable:O}:{}),b.createElement(k.k.Provider,{value:{prefixCls:Z,selectable:S,showIcon:w,icon:D,switcherIcon:$,draggable:e,draggingNodeKey:d,checkable:P,checkStrictly:I,disabled:L,keyEntities:i,dropLevelOffset:c,dropContainerKey:s,dropTargetKey:u,dropPosition:f,dragOverNodeKey:g,indent:y,direction:V,dropIndicatorRender:_,loadData:T,filterTreeNode:R,titleRender:j,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}},b.createElement("div",{role:"tree",className:h()(Z,x,W,(0,p.Z)((0,p.Z)((0,p.Z)({},"".concat(Z,"-show-line"),N),"".concat(Z,"-focused"),n),"".concat(Z,"-active-focused"),null!==l)),style:G},b.createElement(z,(0,o.Z)({ref:this.listRef,prefixCls:Z,style:E,data:a,disabled:L,selectable:S,checkable:!!P,motion:M,dragging:null!==d,height:H,itemHeight:A,virtual:B,focusable:K,focused:n,tabIndex:void 0===C?0:C,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:F,onScroll:q},this.getTreeNodeRequiredProps(),U))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,o,r=t.prevProps,i={prevProps:e};function d(t){return!r&&t in e||r&&r[t]!==e[t]}var l=t.fieldNames;if(d("fieldNames")&&(l=(0,S.w$)(e.fieldNames),i.fieldNames=l),d("treeData")?n=e.treeData:d("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=(0,S.zn)(e.children)),n){i.treeData=n;var c=(0,S.I8)(n,{fieldNames:l});i.keyEntities=(0,a.Z)((0,p.Z)({},M,R),c.keyEntities)}var s=i.keyEntities||t.keyEntities;if(d("expandedKeys")||r&&d("autoExpandParent"))i.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?(0,j.r7)(e.expandedKeys,s):e.expandedKeys;else if(!r&&e.defaultExpandAll){var u=(0,a.Z)({},s);delete u[M],i.expandedKeys=Object.keys(u).map(function(e){return u[e].key})}else!r&&e.defaultExpandedKeys&&(i.expandedKeys=e.autoExpandParent||e.defaultExpandParent?(0,j.r7)(e.defaultExpandedKeys,s):e.defaultExpandedKeys);if(i.expandedKeys||delete i.expandedKeys,n||i.expandedKeys){var f=(0,S.oH)(n||t.treeData,i.expandedKeys||t.expandedKeys,l);i.flattenNodes=f}if(e.selectable&&(d("selectedKeys")?i.selectedKeys=(0,j.BT)(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(i.selectedKeys=(0,j.BT)(e.defaultSelectedKeys,e))),e.checkable&&(d("checkedKeys")?o=(0,j.E6)(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?o=(0,j.E6)(e.defaultCheckedKeys)||{}:n&&(o=(0,j.E6)(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),o)){var h=o,g=h.checkedKeys,v=void 0===g?[]:g,b=h.halfCheckedKeys,k=void 0===b?[]:b;if(!e.checkStrictly){var m=(0,_.S)(v,!0,s);v=m.checkedKeys,k=m.halfCheckedKeys}i.checkedKeys=v,i.halfCheckedKeys=k}return d("loadedKeys")&&(i.loadedKeys=e.loadedKeys),i}}]),n}(b.Component);(0,p.Z)(q,"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 b.createElement("div",{style:r})},allowDrop:function(){return!0},expandAction:!1}),(0,p.Z)(q,"TreeNode",C.Z);var V=q},10225:function(e,t,n){n.d(t,{BT:function(){return p},E6:function(){return f},L0:function(){return l},OM:function(){return u},_5:function(){return d},r7:function(){return h},wA:function(){return s},yx:function(){return c}});var o=n(74902),r=n(71002),a=n(80334);n(67294),n(86128);var i=n(35381);function d(e,t){if(!e)return[];var n=e.slice(),o=n.indexOf(t);return o>=0&&n.splice(o,1),n}function l(e,t){var n=(e||[]).slice();return -1===n.indexOf(t)&&n.push(t),n}function c(e){return e.split("-")}function s(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)})}((0,i.Z)(t,e).children),n}function u(e,t,n,o,r,a,d,l,s,u){var p,f,h=e.clientX,g=e.clientY,v=e.target.getBoundingClientRect(),y=v.top,b=v.height,k=(("rtl"===u?-1:1)*(((null==r?void 0:r.x)||0)-h)-12)/o,m=s.filter(function(e){var t;return null===(t=l[e])||void 0===t||null===(t=t.children)||void 0===t?void 0:t.length}),Z=(0,i.Z)(l,n.props.eventKey);if(g-1.5?a({dragNode:$,dropNode:O,dropPosition:1})?S=1:P=!1:a({dragNode:$,dropNode:O,dropPosition:0})?S=0:a({dragNode:$,dropNode:O,dropPosition:1})?S=1:P=!1:a({dragNode:$,dropNode:O,dropPosition:1})?S=1:P=!1,{dropPosition:S,dropLevelOffset:w,dropTargetKey:Z.key,dropTargetPos:Z.pos,dragOverNodeKey:C,dropContainerKey:0===S?null:(null===(f=Z.parent)||void 0===f?void 0:f.key)||null,dropAllowed:P}}function p(e,t){if(e)return t.multiple?e.slice():e.length?[e[0]]:e}function f(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 h(e,t){var n=new Set;return(e||[]).forEach(function(e){!function e(o){if(!n.has(o)){var r=(0,i.Z)(t,o);if(r){n.add(o);var a=r.parent;!r.node.disabled&&a&&e(a.key)}}}(e)}),(0,o.Z)(n)}n(1089)},17341:function(e,t,n){n.d(t,{S:function(){return d}});var o=n(80334),r=n(35381);function a(e,t){var n=new Set;return e.forEach(function(e){t.has(e)||n.add(e)}),n}function i(e){var t=e||{},n=t.disabled,o=t.disableCheckbox,r=t.checkable;return!!(n||o)||!1===r}function d(e,t,n,d){var l,c=[];l=d||i;var s=new Set(e.filter(function(e){var t=!!(0,r.Z)(n,e);return t||c.push(e),t})),u=new Map,p=0;return Object.keys(n).forEach(function(e){var t=n[e],o=t.level,r=u.get(o);r||(r=new Set,u.set(o,r)),r.add(t),p=Math.max(p,o)}),(0,o.ZP)(!c.length,"Tree missing follow keys: ".concat(c.slice(0,100).map(function(e){return"'".concat(e,"'")}).join(", "))),!0===t?function(e,t,n,o){for(var r=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,a=e.children,i=void 0===a?[]:a;r.has(t)&&!o(n)&&i.filter(function(e){return!o(e.node)}).forEach(function(e){r.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,a=!1;(t.children||[]).filter(function(e){return!o(e.node)}).forEach(function(e){var t=e.key,o=r.has(t);n&&!o&&(n=!1),!a&&(o||i.has(t))&&(a=!0)}),n&&r.add(t.key),a&&i.add(t.key),l.add(t.key)}});return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(a(i,r))}}(s,u,p,l):function(e,t,n,o,r){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,a=void 0===o?[]:o;i.has(t)||d.has(t)||r(n)||a.filter(function(e){return!r(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(!(r(e.node)||!e.parent||c.has(e.parent.key))){if(r(e.parent.node)){c.add(t.key);return}var n=!0,o=!1;(t.children||[]).filter(function(e){return!r(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(a(d,i))}}(s,t.halfCheckedKeys,u,p,l)}},35381:function(e,t,n){n.d(t,{Z:function(){return o}});function o(e,t){return e[t]}},1089:function(e,t,n){n.d(t,{F:function(){return k},H8:function(){return b},I8:function(){return y},km:function(){return f},oH:function(){return v},w$:function(){return h},zn:function(){return g}});var o=n(71002),r=n(74902),a=n(1413),i=n(45987),d=n(50344),l=n(98423),c=n(80334),s=n(35381),u=["children"];function p(e,t){return"".concat(e,"-").concat(t)}function f(e,t){return null!=e?e:t}function h(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 g(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,u),l=(0,a.Z)({key:n},d),s=e(r);return s.length&&(l.children=s),l}).filter(function(e){return e})}(e)}function v(e,t,n){var o=h(n),a=o._title,i=o.key,d=o.children,c=new Set(!0===t?[]:t),s=[];return!function e(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n.map(function(u,h){for(var g,v=p(o?o.pos:"0",h),y=f(u[i],v),b=0;b1&&void 0!==arguments[1]?arguments[1]:{},y=v.initWrapper,b=v.processEntity,k=v.onProcessFinished,m=v.externalGetKey,Z=v.childrenPropName,x=v.fieldNames,E=arguments.length>2?arguments[2]:void 0,N={},K={},C={posEntities:N,keyEntities:K};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=f(r,o);N[o]=d,K[l]=d,d.parent=N[a],d.parent&&(d.parent.children=d.parent.children||[],d.parent.children.push(d)),b&&b(d,C)},n={externalGetKey:m||E,childrenPropName:Z,fieldNames:x},d=(i=("object"===(0,o.Z)(n)?n:{externalGetKey:n})||{}).childrenPropName,l=i.externalGetKey,s=(c=h(i.fieldNames)).key,u=c.children,g=d||u,l?"string"==typeof l?a=function(e){return e[l]}:"function"==typeof l&&(a=function(e){return l(e)}):a=function(e,t){return f(e[s],t)},function n(o,i,d,l){var c=o?o[g]:e,s=o?p(d.pos,i):"0",u=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:u})}c&&c.forEach(function(e,t){n(e,t,{node:o,pos:s,level:d?d.level+1:-1},u)})}(null),k&&k(C),C}function b(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,u=t.keyEntities,p=(0,s.Z)(u,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(p?p.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,g=e.eventKey,v=(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:g});return"props"in v||Object.defineProperty(v,"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}}),v}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1776-744a753b0d12343d.js b/dbgpt/app/static/web/_next/static/chunks/1776-744a753b0d12343d.js deleted file mode 100644 index dde882f36..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/1776-744a753b0d12343d.js +++ /dev/null @@ -1,41 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1776],{48820:function(e,t){t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"}},27363:function(e,t){t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"}},63404:function(e,t){t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"}},49867:function(e,t,n){n.d(t,{N:function(){return l}});let l=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}})},91776:function(e,t,n){n.d(t,{Z:function(){return ex}});var l=n(67294),r=n(83963),o=n(27363),i=n(30672),a=l.forwardRef(function(e,t){return l.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:o.Z}))}),c=n(93967),s=n.n(c),u=n(9220),d=n(50344),p=n(8410),f=n(21770),m=n(98423),g=n(42550),b=n(79370),v=n(15105),y=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let h={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-flex"},O=l.forwardRef((e,t)=>{let{style:n,noStyle:r,disabled:o,tabIndex:i=0}=e,a=y(e,["style","noStyle","disabled","tabIndex"]),c={};return r||(c=Object.assign({},h)),o&&(c.pointerEvents="none"),c=Object.assign(Object.assign({},c),n),l.createElement("div",Object.assign({role:"button",tabIndex:i,ref:t},a,{onKeyDown:e=>{let{keyCode:t}=e;t===v.Z.ENTER&&e.preventDefault()},onKeyUp:t=>{let{keyCode:n}=t,{onClick:l}=e;n===v.Z.ENTER&&l&&l()},style:c}))});var x=n(53124),E=n(10110),w=n(83062),j=n(63404),S=l.forwardRef(function(e,t){return l.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:j.Z}))}),k=n(96159),$=n(22913),C=n(49867),Z=n(83559),R=n(65409),H=n(47648);let I=(e,t,n,l)=>{let{titleMarginBottom:r,fontWeightStrong:o}=l;return{marginBottom:r,color:n,fontWeight:o,fontSize:e,lineHeight:t}},T=e=>{let t={};return[1,2,3,4,5].forEach(n=>{t[` - h${n}&, - div&-h${n}, - div&-h${n} > textarea, - h${n} - `]=I(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)}),t},M=e=>{let{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,C.N)(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},z=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:R.EV[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),P=e=>{let{componentCls:t,paddingSM:n}=e;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(n).mul(-1).equal(),marginBottom:`calc(1em - ${(0,H.bf)(n)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},B=e=>({[`${e.componentCls}-copy-success`]:{[` - &, - &:hover, - &:focus`]:{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),D=()=>({[` - a&-ellipsis, - span&-ellipsis - `]:{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),N=e=>{let{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},[` - div&, - p - `]:{marginBottom:"1em"}},T(e)),{[` - & + h1${t}, - & + h2${t}, - & + h3${t}, - & + h4${t}, - & + h5${t} - `]:{marginTop:n},[` - div, - ul, - li, - p, - h1, - h2, - h3, - h4, - h5`]:{[` - + h1, - + h2, - + h3, - + h4, - + h5 - `]:{marginTop:n}}}),z(e)),M(e)),{[` - ${t}-expand, - ${t}-collapse, - ${t}-edit, - ${t}-copy - `]:Object.assign(Object.assign({},(0,C.N)(e)),{marginInlineStart:e.marginXXS})}),P(e)),B(e)),D()),{"&-rtl":{direction:"rtl"}})}};var L=(0,Z.I$)("Typography",e=>[N(e)],()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})),W=e=>{let{prefixCls:t,"aria-label":n,className:r,style:o,direction:i,maxLength:a,autoSize:c=!0,value:u,onSave:d,onCancel:p,onEnd:f,component:m,enterIcon:g=l.createElement(S,null)}=e,b=l.useRef(null),y=l.useRef(!1),h=l.useRef(),[O,x]=l.useState(u);l.useEffect(()=>{x(u)},[u]),l.useEffect(()=>{var e;if(null===(e=b.current)||void 0===e?void 0:e.resizableTextArea){let{textArea:e}=b.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let E=()=>{d(O.trim())},w=m?`${t}-${m}`:"",[j,C,Z]=L(t),R=s()(t,`${t}-edit-content`,{[`${t}-rtl`]:"rtl"===i},r,w,C,Z);return j(l.createElement("div",{className:R,style:o},l.createElement($.Z,{ref:b,maxLength:a,value:O,onChange:e=>{let{target:t}=e;x(t.value.replace(/[\n\r]/g,""))},onKeyDown:e=>{let{keyCode:t}=e;y.current||(h.current=t)},onKeyUp:e=>{let{keyCode:t,ctrlKey:n,altKey:l,metaKey:r,shiftKey:o}=e;h.current!==t||y.current||n||l||r||o||(t===v.Z.ENTER?(E(),null==f||f()):t===v.Z.ESC&&p())},onCompositionStart:()=>{y.current=!0},onCompositionEnd:()=>{y.current=!1},onBlur:()=>{E()},"aria-label":n,rows:1,autoSize:c}),null!==g?(0,k.Tm)(g,{className:`${t}-edit-content-confirm`}):null))},A=n(20640),F=n.n(A),V=n(56790),_=e=>{let{copyConfig:t,children:n}=e,[r,o]=l.useState(!1),[i,a]=l.useState(!1),c=l.useRef(null),s=()=>{c.current&&clearTimeout(c.current)},u={};t.format&&(u.format=t.format),l.useEffect(()=>s,[]);let d=(0,V.zX)(e=>{var l,r,i,d;return l=void 0,r=void 0,i=void 0,d=function*(){var l;null==e||e.preventDefault(),null==e||e.stopPropagation(),a(!0);try{let r="function"==typeof t.text?yield t.text():t.text;F()(r||String(n)||"",u),a(!1),o(!0),s(),c.current=setTimeout(()=>{o(!1)},3e3),null===(l=t.onCopy)||void 0===l||l.call(t,e)}catch(e){throw a(!1),e}},new(i||(i=Promise))(function(e,t){function n(e){try{a(d.next(e))}catch(e){t(e)}}function o(e){try{a(d.throw(e))}catch(e){t(e)}}function a(t){var l;t.done?e(t.value):((l=t.value)instanceof i?l:new i(function(e){e(l)})).then(n,o)}a((d=d.apply(l,r||[])).next())})});return{copied:r,copyLoading:i,onClick:d}};function q(e,t){return l.useMemo(()=>{let n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"==typeof e?e:null)]},[e])}var X=e=>{let t=(0,l.useRef)();return(0,l.useEffect)(()=>{t.current=e}),t.current},K=(e,t)=>{let n=l.useRef(!1);l.useEffect(()=>{n.current?e():n.current=!0},t)},G=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let Q=l.forwardRef((e,t)=>{let{prefixCls:n,component:r="article",className:o,rootClassName:i,setContentRef:a,children:c,direction:u,style:d}=e,p=G(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:f,direction:m,typography:b}=l.useContext(x.E_),v=t;a&&(v=(0,g.sQ)(t,a));let y=f("typography",n),[h,O,E]=L(y),w=s()(y,null==b?void 0:b.className,{[`${y}-rtl`]:"rtl"===(null!=u?u:m)},o,i,O,E),j=Object.assign(Object.assign({},null==b?void 0:b.style),d);return h(l.createElement(r,Object.assign({className:w,style:j,ref:v},p),c))});var U=n(64894),J=n(48820),Y=l.forwardRef(function(e,t){return l.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:J.Z}))}),ee=n(19267);function et(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function en(e,t,n){return!0===e||void 0===e?t:e||n&&t}var el=e=>{let{prefixCls:t,copied:n,locale:r,iconOnly:o,tooltips:i,icon:a,loading:c,tabIndex:u,onCopy:d}=e,p=et(i),f=et(a),{copied:m,copy:g}=null!=r?r:{},b=n?en(p[1],m):en(p[0],g),v=n?m:g;return l.createElement(w.Z,{key:"copy",title:b},l.createElement(O,{className:s()(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:o}),onClick:d,"aria-label":"string"==typeof b?b:v,tabIndex:u},n?en(f[1],l.createElement(U.Z,null),!0):en(f[0],c?l.createElement(ee.Z,null):l.createElement(Y,null),!0)))},er=n(96641);let eo=l.forwardRef((e,t)=>{let{style:n,children:r}=e,o=l.useRef(null);return l.useImperativeHandle(t,()=>({isExceed:()=>{let e=o.current;return e.scrollHeight>e.clientHeight},getHeight:()=>o.current.clientHeight})),l.createElement("span",{"aria-hidden":!0,ref:o,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},r)});function ei(e){let t=typeof e;return"string"===t||"number"===t}function ea(e,t){let n=0,l=[];for(let r=0;rt){let e=t-n;return l.push(String(o).slice(0,e)),l}l.push(o),n=c}return e}let ec={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function es(e){let{enableMeasure:t,width:n,text:r,children:o,rows:i,expanded:a,miscDeps:c,onEllipsis:s}=e,u=l.useMemo(()=>(0,d.Z)(r),[r]),f=l.useMemo(()=>{let e;return e=0,u.forEach(t=>{ei(t)?e+=String(t).length:e+=1}),e},[r]),m=l.useMemo(()=>o(u,!1),[r]),[g,b]=l.useState(null),v=l.useRef(null),y=l.useRef(null),h=l.useRef(null),O=l.useRef(null),x=l.useRef(null),[E,w]=l.useState(!1),[j,S]=l.useState(0),[k,$]=l.useState(0),[C,Z]=l.useState(null);(0,p.Z)(()=>{t&&n&&f?S(1):S(0)},[n,r,i,t,u]),(0,p.Z)(()=>{var e,t,n,l;if(1===j){S(2);let e=y.current&&getComputedStyle(y.current).whiteSpace;Z(e)}else if(2===j){let r=!!(null===(e=h.current)||void 0===e?void 0:e.isExceed());S(r?3:4),b(r?[0,f]:null),w(r);let o=(null===(t=h.current)||void 0===t?void 0:t.getHeight())||0,a=1===i?0:(null===(n=O.current)||void 0===n?void 0:n.getHeight())||0,c=(null===(l=x.current)||void 0===l?void 0:l.getHeight())||0,u=Math.max(o,a+c);$(u+1),s(r)}},[j]);let R=g?Math.ceil((g[0]+g[1])/2):0;(0,p.Z)(()=>{var e;let[t,n]=g||[0,0];if(t!==n){let l=(null===(e=v.current)||void 0===e?void 0:e.getHeight())||0,r=l>k,o=R;n-t==1&&(o=r?t:n),r?b([t,o]):b([o,n])}},[g,R]);let H=l.useMemo(()=>{if(3!==j||!g||g[0]!==g[1]){let e=o(u,!1);return 4!==j&&0!==j?l.createElement("span",{style:Object.assign(Object.assign({},ec),{WebkitLineClamp:i})},e):e}return o(a?u:ea(u,g[0]),E)},[a,j,g,u].concat((0,er.Z)(c))),I={width:n,margin:0,padding:0,whiteSpace:"nowrap"===C?"normal":"inherit"};return l.createElement(l.Fragment,null,H,2===j&&l.createElement(l.Fragment,null,l.createElement(eo,{style:Object.assign(Object.assign(Object.assign({},I),ec),{WebkitLineClamp:i}),ref:h},m),l.createElement(eo,{style:Object.assign(Object.assign(Object.assign({},I),ec),{WebkitLineClamp:i-1}),ref:O},m),l.createElement(eo,{style:Object.assign(Object.assign(Object.assign({},I),ec),{WebkitLineClamp:1}),ref:x},o([],!0))),3===j&&g&&g[0]!==g[1]&&l.createElement(eo,{style:Object.assign(Object.assign({},I),{top:400}),ref:v},o(ea(u,R),!0)),1===j&&l.createElement("span",{style:{whiteSpace:"inherit"},ref:y}))}var eu=e=>{let{enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:o}=e;return(null==o?void 0:o.title)&&t?l.createElement(w.Z,Object.assign({open:!!n&&void 0},o),r):r},ed=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let ep=l.forwardRef((e,t)=>{var n,r,o;let{prefixCls:i,className:c,style:v,type:y,disabled:h,children:j,ellipsis:S,editable:k,copyable:$,component:C,title:Z}=e,R=ed(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:H,direction:I}=l.useContext(x.E_),[T]=(0,E.Z)("Text"),M=l.useRef(null),z=l.useRef(null),P=H("typography",i),B=(0,m.Z)(R,["mark","code","delete","underline","strong","keyboard","italic"]),[D,N]=q(k),[L,A]=(0,f.Z)(!1,{value:N.editing}),{triggerType:F=["icon"]}=N,V=e=>{var t;e&&(null===(t=N.onStart)||void 0===t||t.call(N)),A(e)},G=X(L);K(()=>{var e;!L&&G&&(null===(e=z.current)||void 0===e||e.focus())},[L]);let U=e=>{null==e||e.preventDefault(),V(!0)},[J,Y]=q($),{copied:ee,copyLoading:et,onClick:en}=_({copyConfig:Y,children:j}),[er,eo]=l.useState(!1),[ei,ea]=l.useState(!1),[ec,ep]=l.useState(!1),[ef,em]=l.useState(!1),[eg,eb]=l.useState(!0),[ev,ey]=q(S,{expandable:!1,symbol:e=>e?null==T?void 0:T.collapse:null==T?void 0:T.expand}),[eh,eO]=(0,f.Z)(ey.defaultExpanded||!1,{value:ey.expanded}),ex=ev&&(!eh||"collapsible"===ey.expandable),{rows:eE=1}=ey,ew=l.useMemo(()=>ex&&(void 0!==ey.suffix||ey.onEllipsis||ey.expandable||D||J),[ex,ey,D,J]);(0,p.Z)(()=>{ev&&!ew&&(eo((0,b.G)("webkitLineClamp")),ea((0,b.G)("textOverflow")))},[ew,ev]);let[ej,eS]=l.useState(ex),ek=l.useMemo(()=>!ew&&(1===eE?ei:er),[ew,ei,er]);(0,p.Z)(()=>{eS(ek&&ex)},[ek,ex]);let e$=ex&&(ej?ef:ec),eC=ex&&1===eE&&ej,eZ=ex&&eE>1&&ej,eR=(e,t)=>{var n;eO(t.expanded),null===(n=ey.onExpand)||void 0===n||n.call(ey,e,t)},[eH,eI]=l.useState(0),eT=e=>{var t;ep(e),ec!==e&&(null===(t=ey.onEllipsis)||void 0===t||t.call(ey,e))};l.useEffect(()=>{let e=M.current;if(ev&&ej&&e){let[t,n]=function(e){let t=e.getBoundingClientRect(),{offsetWidth:n,offsetHeight:l}=e,r=n,o=l;return 1>Math.abs(n-t.width)&&1>Math.abs(l-t.height)&&(r=t.width,o=t.height),[r,o]}(e),l=eZ?n{let e=M.current;if("undefined"==typeof IntersectionObserver||!e||!ej||!ex)return;let t=new IntersectionObserver(()=>{eb(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[ej,ex]);let eM={};eM=!0===ey.tooltip?{title:null!==(n=N.text)&&void 0!==n?n:j}:l.isValidElement(ey.tooltip)?{title:ey.tooltip}:"object"==typeof ey.tooltip?Object.assign({title:null!==(r=N.text)&&void 0!==r?r:j},ey.tooltip):{title:ey.tooltip};let ez=l.useMemo(()=>{let e=e=>["string","number"].includes(typeof e);return!ev||ej?void 0:e(N.text)?N.text:e(j)?j:e(Z)?Z:e(eM.title)?eM.title:void 0},[ev,ej,Z,eM.title,e$]);if(L)return l.createElement(W,{value:null!==(o=N.text)&&void 0!==o?o:"string"==typeof j?j:"",onSave:e=>{var t;null===(t=N.onChange)||void 0===t||t.call(N,e),V(!1)},onCancel:()=>{var e;null===(e=N.onCancel)||void 0===e||e.call(N),V(!1)},onEnd:N.onEnd,prefixCls:P,className:c,style:v,direction:I,component:C,maxLength:N.maxLength,autoSize:N.autoSize,enterIcon:N.enterIcon});let eP=()=>{let{expandable:e,symbol:t}=ey;return!e||eh&&"collapsible"!==e?null:l.createElement(O,{key:"expand",className:`${P}-${eh?"collapse":"expand"}`,onClick:e=>eR(e,{expanded:!eh}),"aria-label":eh?T.collapse:null==T?void 0:T.expand},"function"==typeof t?t(eh):t)},eB=()=>{if(!D)return;let{icon:e,tooltip:t,tabIndex:n}=N,r=(0,d.Z)(t)[0]||(null==T?void 0:T.edit);return F.includes("icon")?l.createElement(w.Z,{key:"edit",title:!1===t?"":r},l.createElement(O,{ref:z,className:`${P}-edit`,onClick:U,"aria-label":"string"==typeof r?r:"",tabIndex:n},e||l.createElement(a,{role:"button"}))):null},eD=()=>J?l.createElement(el,Object.assign({key:"copy"},Y,{prefixCls:P,copied:ee,locale:T,onCopy:en,loading:et,iconOnly:null==j})):null,eN=e=>[e&&eP(),eB(),eD()],eL=e=>[e&&!eh&&l.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),ey.suffix,eN(e)];return l.createElement(u.Z,{onResize:e=>{let{offsetWidth:t}=e;eI(t)},disabled:!ex},n=>l.createElement(eu,{tooltipProps:eM,enableEllipsis:ex,isEllipsis:e$},l.createElement(Q,Object.assign({className:s()({[`${P}-${y}`]:y,[`${P}-disabled`]:h,[`${P}-ellipsis`]:ev,[`${P}-ellipsis-single-line`]:eC,[`${P}-ellipsis-multiple-line`]:eZ},c),prefixCls:i,style:Object.assign(Object.assign({},v),{WebkitLineClamp:eZ?eE:void 0}),component:C,ref:(0,g.sQ)(n,M,t),direction:I,onClick:F.includes("text")?U:void 0,"aria-label":null==ez?void 0:ez.toString(),title:Z},B),l.createElement(es,{enableMeasure:ex&&!ej,text:j,rows:eE,width:eH,onEllipsis:eT,expanded:eh,miscDeps:[ee,eh,et,D,J]},(t,n)=>(function(e,t){let{mark:n,code:r,underline:o,delete:i,strong:a,keyboard:c,italic:s}=e,u=t;function d(e,t){t&&(u=l.createElement(e,{},u))}return d("strong",a),d("u",o),d("del",i),d("code",r),d("mark",n),d("kbd",c),d("i",s),u})(e,l.createElement(l.Fragment,null,t.length>0&&n&&!eh&&ez?l.createElement("span",{key:"show-content","aria-hidden":!0},t):t,eL(n)))))))});var ef=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let em=l.forwardRef((e,t)=>{var{ellipsis:n,rel:r}=e,o=ef(e,["ellipsis","rel"]);let i=Object.assign(Object.assign({},o),{rel:void 0===r&&"_blank"===o.target?"noopener noreferrer":r});return delete i.navigate,l.createElement(ep,Object.assign({},i,{ref:t,ellipsis:!!n,component:"a"}))}),eg=l.forwardRef((e,t)=>l.createElement(ep,Object.assign({ref:t},e,{component:"div"})));var eb=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n},ev=l.forwardRef((e,t)=>{var{ellipsis:n}=e,r=eb(e,["ellipsis"]);let o=l.useMemo(()=>n&&"object"==typeof n?(0,m.Z)(n,["expandable","rows"]):n,[n]);return l.createElement(ep,Object.assign({ref:t},r,{ellipsis:o,component:"span"}))}),ey=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let eh=[1,2,3,4,5],eO=l.forwardRef((e,t)=>{let n;let{level:r=1}=e,o=ey(e,["level"]);return n=eh.includes(r)?`h${r}`:"h1",l.createElement(ep,Object.assign({ref:t},o,{component:n}))});Q.Text=ev,Q.Link=em,Q.Title=eO,Q.Paragraph=eg;var ex=Q},79370:function(e,t,n){n.d(t,{G:function(){return i}});var l=n(98924),r=function(e){if((0,l.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},o=function(e,t){if(!r(e))return!1;var n=document.createElement("div"),l=n.style[e];return n.style[e]=t,n.style[e]!==l};function i(e,t){return Array.isArray(e)||void 0===t?r(e):o(e,t)}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/180.7c3416d6c6920265.js b/dbgpt/app/static/web/_next/static/chunks/180.0c02744079cffa2a.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/180.7c3416d6c6920265.js rename to dbgpt/app/static/web/_next/static/chunks/180.0c02744079cffa2a.js index 202d9f864..bf0599058 100644 --- a/dbgpt/app/static/web/_next/static/chunks/180.7c3416d6c6920265.js +++ b/dbgpt/app/static/web/_next/static/chunks/180.0c02744079cffa2a.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[180],{90180:function(e,t,o){o.r(t),o.d(t,{conf:function(){return r},language:function(){return n}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var r={wordPattern:/(unary_[@~!#%^&*()\-=+\\|:<>\/?]+)|([a-zA-Z_$][\w$]*?_=)|(`[^`]+`)|([a-zA-Z_$][\w$]*)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},n={tokenPostfix:".scala",keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],softKeywords:["as","export","extension","end","derives","on"],constants:["true","false","null","this","super"],modifiers:["abstract","final","implicit","lazy","override","private","protected","sealed"],softModifiers:["inline","opaque","open","transparent","using"],name:/(?:[a-z_$][\w$]*|`[^`]+`)/,type:/(?:[A-Z][\w$]*)/,symbols:/[=>))/,["@brackets","white","variable"]],[/@name/,{cases:{"@keywords":"keyword","@softKeywords":"keyword","@modifiers":"keyword.modifier","@softModifiers":"keyword.modifier","@constants":{token:"constant",next:"@allowMethod"},"@default":{token:"identifier",next:"@allowMethod"}}}],[/@type/,"type","@allowMethod"],{include:"@whitespace"},[/@[a-zA-Z_$][\w$]*(?:\.[a-zA-Z_$][\w$]*)*/,"annotation"],[/[{(]/,"@brackets"],[/[})]/,"@brackets","@allowMethod"],[/\[/,"operator.square"],[/](?!\s*(?:va[rl]|def|type)\b)/,"operator.square","@allowMethod"],[/]/,"operator.square"],[/([=-]>|<-|>:|<:|:>|<%)(?=[\s\w()[\]{},\."'`])/,"keyword"],[/@symbols/,"operator"],[/[;,\.]/,"delimiter"],[/'[a-zA-Z$][\w$]*(?!')/,"attribute.name"],[/'[^\\']'/,"string","@allowMethod"],[/(')(@escapes)(')/,["string","string.escape",{token:"string",next:"@allowMethod"}]],[/'/,"string.invalid"]],import:[[/;/,"delimiter","@pop"],[/^|$/,"","@pop"],[/[ \t]+/,"white"],[/[\n\r]+/,"white","@pop"],[/\/\*/,"comment","@comment"],[/@name|@type/,"type"],[/[(){}]/,"@brackets"],[/[[\]]/,"operator.square"],[/[\.,]/,"delimiter"]],allowMethod:[[/^|$/,"","@pop"],[/[ \t]+/,"white"],[/[\n\r]+/,"white","@pop"],[/\/\*/,"comment","@comment"],[/(?==>[\s\w([{])/,"keyword","@pop"],[/(@name|@symbols)(?=[ \t]*[[({"'`]|[ \t]+(?:[+-]?\.?\d|\w))/,{cases:{"@keywords":{token:"keyword",next:"@pop"},"->|<-|>:|<:|<%":{token:"keyword",next:"@pop"},"@default":{token:"@rematch",next:"@pop"}}}],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],case:[[/\b_\*/,"key"],[/\b(_|true|false|null|this|super)\b/,"keyword","@allowMethod"],[/\bif\b|=>/,"keyword","@pop"],[/`[^`]+`/,"identifier","@allowMethod"],[/@name/,"variable","@allowMethod"],[/:::?|\||@(?![a-z_$])/,"keyword"],{include:"@root"}],vardef:[[/\b_\*/,"key"],[/\b(_|true|false|null|this|super)\b/,"keyword"],[/@name/,"variable"],[/:::?|\||@(?![a-z_$])/,"keyword"],[/=|:(?!:)/,"operator","@pop"],[/$/,"white","@pop"],{include:"@root"}],string:[[/[^\\"\n\r]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}]],stringt:[[/[^\\"\n\r]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/"/,"string"]],fstring:[[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/%%/,"string"],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","keyword.modifier","number","metatag"]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","number","metatag"]],[/(%)([\-#+ 0,(])(@fstring_conv)/,["metatag","keyword.modifier","metatag"]],[/(%)(@fstring_conv)/,["metatag","metatag"]],[/./,"string"]],fstringt:[[/@escapes/,"string.escape"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/%%/,"string"],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","keyword.modifier","number","metatag"]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","number","metatag"]],[/(%)([\-#+ 0,(])(@fstring_conv)/,["metatag","keyword.modifier","metatag"]],[/(%)(@fstring_conv)/,["metatag","metatag"]],[/./,"string"]],sstring:[[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/./,"string"]],sstringt:[[/@escapes/,"string.escape"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/./,"string"]],interp:[[/{/,"operator","@push"],[/}/,"operator","@pop"],{include:"@root"}],rawstring:[[/[^"]/,"string"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}]],rawstringt:[[/[^"]/,"string"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/"/,"string"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/184.d2eb07c43d3522f6.js b/dbgpt/app/static/web/_next/static/chunks/184.d2eb07c43d3522f6.js new file mode 100644 index 000000000..01af7b1cc --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/184.d2eb07c43d3522f6.js @@ -0,0 +1,4 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[184],{27496:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},94668:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},72868:function(e,t,r){r.d(t,{L:function(){return c}});var n=r(67294),o=r(85241),a=r(78031),i=r(51633);function l(e,t){switch(t.type){case i.Q.blur:case i.Q.escapeKeyDown:return{open:!1};case i.Q.toggle:return{open:!e.open};case i.Q.open:return{open:!0};case i.Q.close:return{open:!1};default:throw Error("Unhandled action")}}var s=r(85893);function c(e){let{children:t,open:r,defaultOpen:c,onOpenChange:u}=e,{contextValue:d}=function(e={}){let{defaultOpen:t,onOpenChange:r,open:o}=e,[s,c]=n.useState(""),[u,d]=n.useState(null),f=n.useRef(null),v=n.useCallback((e,t,n,o)=>{"open"===t&&(null==r||r(e,n)),f.current=o},[r]),p=n.useMemo(()=>void 0!==o?{open:o}:{},[o]),[m,g]=(0,a.r)({controlledProps:p,initialState:t?{open:!0}:{open:!1},onStateChange:v,reducer:l});return n.useEffect(()=>{m.open||null===f.current||f.current===i.Q.blur||null==u||u.focus()},[m.open,u]),{contextValue:{state:m,dispatch:g,popupId:s,registerPopup:c,registerTrigger:d,triggerElement:u},open:m.open}}({defaultOpen:c,onOpenChange:u,open:r});return(0,s.jsx)(o.D.Provider,{value:d,children:t})}},53406:function(e,t,r){r.d(t,{r:function(){return eD}});var n,o,a,i,l,s=r(87462),c=r(63366),u=r(67294),d=r(22760),f=r(54895),v=r(36425);function p(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function m(e){var t=p(e).Element;return e instanceof t||e instanceof Element}function g(e){var t=p(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function h(e){if("undefined"==typeof ShadowRoot)return!1;var t=p(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var b=Math.max,x=Math.min,y=Math.round;function S(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Z(){return!/^((?!chrome|android).)*safari/i.test(S())}function k(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.getBoundingClientRect(),o=1,a=1;t&&g(e)&&(o=e.offsetWidth>0&&y(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&y(n.height)/e.offsetHeight||1);var i=(m(e)?p(e):window).visualViewport,l=!Z()&&r,s=(n.left+(l&&i?i.offsetLeft:0))/o,c=(n.top+(l&&i?i.offsetTop:0))/a,u=n.width/o,d=n.height/a;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function C(e){var t=p(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function w(e){return e?(e.nodeName||"").toLowerCase():null}function z(e){return((m(e)?e.ownerDocument:e.document)||window.document).documentElement}function I(e){return k(z(e)).left+C(e).scrollLeft}function R(e){return p(e).getComputedStyle(e)}function P(e){var t=R(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function L(e){var t=k(e),r=e.offsetWidth,n=e.offsetHeight;return 1>=Math.abs(t.width-r)&&(r=t.width),1>=Math.abs(t.height-n)&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function D(e){return"html"===w(e)?e:e.assignedSlot||e.parentNode||(h(e)?e.host:null)||z(e)}function T(e,t){void 0===t&&(t=[]);var r,n=function e(t){return["html","body","#document"].indexOf(w(t))>=0?t.ownerDocument.body:g(t)&&P(t)?t:e(D(t))}(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),a=p(n),i=o?[a].concat(a.visualViewport||[],P(n)?n:[]):n,l=t.concat(i);return o?l:l.concat(T(D(i)))}function B(e){return g(e)&&"fixed"!==R(e).position?e.offsetParent:null}function O(e){for(var t=p(e),r=B(e);r&&["table","td","th"].indexOf(w(r))>=0&&"static"===R(r).position;)r=B(r);return r&&("html"===w(r)||"body"===w(r)&&"static"===R(r).position)?t:r||function(e){var t=/firefox/i.test(S());if(/Trident/i.test(S())&&g(e)&&"fixed"===R(e).position)return null;var r=D(e);for(h(r)&&(r=r.host);g(r)&&0>["html","body"].indexOf(w(r));){var n=R(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var M="bottom",E="right",$="left",j="auto",H=["top",M,E,$],N="start",V="viewport",W="popper",A=H.reduce(function(e,t){return e.concat([t+"-"+N,t+"-end"])},[]),_=[].concat(H,[j]).reduce(function(e,t){return e.concat([t,t+"-"+N,t+"-end"])},[]),F=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],J={placement:"bottom",modifiers:[],strategy:"absolute"};function q(){for(var e=arguments.length,t=Array(e),r=0;r=0?"x":"y"}function Y(e){var t,r=e.reference,n=e.element,o=e.placement,a=o?X(o):null,i=o?G(o):null,l=r.x+r.width/2-n.width/2,s=r.y+r.height/2-n.height/2;switch(a){case"top":t={x:l,y:r.y-n.height};break;case M:t={x:l,y:r.y+r.height};break;case E:t={x:r.x+r.width,y:s};break;case $:t={x:r.x-n.width,y:s};break;default:t={x:r.x,y:r.y}}var c=a?K(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case N:t[c]=t[c]-(r[u]/2-n[u]/2);break;case"end":t[c]=t[c]+(r[u]/2-n[u]/2)}}return t}var Q={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ee(e){var t,r,n,o,a,i,l,s=e.popper,c=e.popperRect,u=e.placement,d=e.variation,f=e.offsets,v=e.position,m=e.gpuAcceleration,g=e.adaptive,h=e.roundOffsets,b=e.isFixed,x=f.x,S=void 0===x?0:x,Z=f.y,k=void 0===Z?0:Z,C="function"==typeof h?h({x:S,y:k}):{x:S,y:k};S=C.x,k=C.y;var w=f.hasOwnProperty("x"),I=f.hasOwnProperty("y"),P=$,L="top",D=window;if(g){var T=O(s),B="clientHeight",j="clientWidth";T===p(s)&&"static"!==R(T=z(s)).position&&"absolute"===v&&(B="scrollHeight",j="scrollWidth"),("top"===u||(u===$||u===E)&&"end"===d)&&(L=M,k-=(b&&T===D&&D.visualViewport?D.visualViewport.height:T[B])-c.height,k*=m?1:-1),(u===$||("top"===u||u===M)&&"end"===d)&&(P=E,S-=(b&&T===D&&D.visualViewport?D.visualViewport.width:T[j])-c.width,S*=m?1:-1)}var H=Object.assign({position:v},g&&Q),N=!0===h?(t={x:S,y:k},r=p(s),n=t.x,o=t.y,{x:y(n*(a=r.devicePixelRatio||1))/a||0,y:y(o*a)/a||0}):{x:S,y:k};return(S=N.x,k=N.y,m)?Object.assign({},H,((l={})[L]=I?"0":"",l[P]=w?"0":"",l.transform=1>=(D.devicePixelRatio||1)?"translate("+S+"px, "+k+"px)":"translate3d("+S+"px, "+k+"px, 0)",l)):Object.assign({},H,((i={})[L]=I?k+"px":"",i[P]=w?S+"px":"",i.transform="",i))}var et={left:"right",right:"left",bottom:"top",top:"bottom"};function er(e){return e.replace(/left|right|bottom|top/g,function(e){return et[e]})}var en={start:"end",end:"start"};function eo(e){return e.replace(/start|end/g,function(e){return en[e]})}function ea(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&h(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ei(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function el(e,t,r){var n,o,a,i,l,s,c,u,d,f;return t===V?ei(function(e,t){var r=p(e),n=z(e),o=r.visualViewport,a=n.clientWidth,i=n.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=Z();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+I(e),y:s}}(e,r)):m(t)?((n=k(t,!1,"fixed"===r)).top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n):ei((o=z(e),i=z(o),l=C(o),s=null==(a=o.ownerDocument)?void 0:a.body,c=b(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=b(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),d=-l.scrollLeft+I(o),f=-l.scrollTop,"rtl"===R(s||i).direction&&(d+=b(i.clientWidth,s?s.clientWidth:0)-c),{width:c,height:u,x:d,y:f}))}function es(){return{top:0,right:0,bottom:0,left:0}}function ec(e){return Object.assign({},es(),e)}function eu(e,t){return t.reduce(function(t,r){return t[r]=e,t},{})}function ed(e,t){void 0===t&&(t={});var r,n,o,a,i,l,s,c=t,u=c.placement,d=void 0===u?e.placement:u,f=c.strategy,v=void 0===f?e.strategy:f,p=c.boundary,h=c.rootBoundary,y=c.elementContext,S=void 0===y?W:y,Z=c.altBoundary,C=c.padding,I=void 0===C?0:C,P=ec("number"!=typeof I?I:eu(I,H)),L=e.rects.popper,B=e.elements[void 0!==Z&&Z?S===W?"reference":W:S],$=(r=m(B)?B:B.contextElement||z(e.elements.popper),l=(i=[].concat("clippingParents"===(n=void 0===p?"clippingParents":p)?(o=T(D(r)),m(a=["absolute","fixed"].indexOf(R(r).position)>=0&&g(r)?O(r):r)?o.filter(function(e){return m(e)&&ea(e,a)&&"body"!==w(e)}):[]):[].concat(n),[void 0===h?V:h]))[0],(s=i.reduce(function(e,t){var n=el(r,t,v);return e.top=b(n.top,e.top),e.right=x(n.right,e.right),e.bottom=x(n.bottom,e.bottom),e.left=b(n.left,e.left),e},el(r,l,v))).width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s),j=k(e.elements.reference),N=Y({reference:j,element:L,strategy:"absolute",placement:d}),A=ei(Object.assign({},L,N)),_=S===W?A:j,F={top:$.top-_.top+P.top,bottom:_.bottom-$.bottom+P.bottom,left:$.left-_.left+P.left,right:_.right-$.right+P.right},J=e.modifiersData.offset;if(S===W&&J){var q=J[d];Object.keys(F).forEach(function(e){var t=[E,M].indexOf(e)>=0?1:-1,r=["top",M].indexOf(e)>=0?"y":"x";F[e]+=q[r]*t})}return F}function ef(e,t,r){return b(e,x(t,r))}function ev(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ep(e){return["top",E,M,$].some(function(t){return e[t]>=0})}var em=(a=void 0===(o=(n={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,a=void 0===o||o,i=n.resize,l=void 0===i||i,s=p(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(e){e.addEventListener("scroll",r.update,U)}),l&&s.addEventListener("resize",r.update,U),function(){a&&c.forEach(function(e){e.removeEventListener("scroll",r.update,U)}),l&&s.removeEventListener("resize",r.update,U)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=Y({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=r.adaptive,a=r.roundOffsets,i=void 0===a||a,l={placement:X(t.placement),variation:G(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===n||n,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ee(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===o||o,roundOffsets:i})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ee(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:i})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];g(o)&&w(o)&&(Object.assign(o.style,r),Object.keys(n).forEach(function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(e){var n=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce(function(e,t){return e[t]="",e},{});g(n)&&w(n)&&(Object.assign(n.style,a),Object.keys(o).forEach(function(e){n.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.offset,a=void 0===o?[0,0]:o,i=_.reduce(function(e,r){var n,o,i,l,s,c;return e[r]=(n=t.rects,i=[$,"top"].indexOf(o=X(r))>=0?-1:1,s=(l="function"==typeof a?a(Object.assign({},n,{placement:r})):a)[0],c=l[1],s=s||0,c=(c||0)*i,[$,E].indexOf(o)>=0?{x:c,y:s}:{x:s,y:c}),e},{}),l=i[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,a=void 0===o||o,i=r.altAxis,l=void 0===i||i,s=r.fallbackPlacements,c=r.padding,u=r.boundary,d=r.rootBoundary,f=r.altBoundary,v=r.flipVariations,p=void 0===v||v,m=r.allowedAutoPlacements,g=t.options.placement,h=X(g)===g,b=s||(h||!p?[er(g)]:function(e){if(X(e)===j)return[];var t=er(e);return[eo(e),t,eo(t)]}(g)),x=[g].concat(b).reduce(function(e,r){var n,o,a,i,l,s,f,v,g,h,b,x;return e.concat(X(r)===j?(o=(n={placement:r,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}).placement,a=n.boundary,i=n.rootBoundary,l=n.padding,s=n.flipVariations,v=void 0===(f=n.allowedAutoPlacements)?_:f,0===(b=(h=(g=G(o))?s?A:A.filter(function(e){return G(e)===g}):H).filter(function(e){return v.indexOf(e)>=0})).length&&(b=h),Object.keys(x=b.reduce(function(e,r){return e[r]=ed(t,{placement:r,boundary:a,rootBoundary:i,padding:l})[X(r)],e},{})).sort(function(e,t){return x[e]-x[t]})):r)},[]),y=t.rects.reference,S=t.rects.popper,Z=new Map,k=!0,C=x[0],w=0;w=0,L=P?"width":"height",D=ed(t,{placement:z,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),T=P?R?E:$:R?M:"top";y[L]>S[L]&&(T=er(T));var B=er(T),O=[];if(a&&O.push(D[I]<=0),l&&O.push(D[T]<=0,D[B]<=0),O.every(function(e){return e})){C=z,k=!1;break}Z.set(z,O)}if(k)for(var V=p?3:1,W=function(e){var t=x.find(function(t){var r=Z.get(t);if(r)return r.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},F=V;F>0&&"break"!==W(F);F--);t.placement!==C&&(t.modifiersData[n]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,a=r.altAxis,i=r.boundary,l=r.rootBoundary,s=r.altBoundary,c=r.padding,u=r.tether,d=void 0===u||u,f=r.tetherOffset,v=void 0===f?0:f,p=ed(t,{boundary:i,rootBoundary:l,padding:c,altBoundary:s}),m=X(t.placement),g=G(t.placement),h=!g,y=K(m),S="x"===y?"y":"x",Z=t.modifiersData.popperOffsets,k=t.rects.reference,C=t.rects.popper,w="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,z="number"==typeof w?{mainAxis:w,altAxis:w}:Object.assign({mainAxis:0,altAxis:0},w),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(Z){if(void 0===o||o){var P,D="y"===y?"top":$,T="y"===y?M:E,B="y"===y?"height":"width",j=Z[y],H=j+p[D],V=j-p[T],W=d?-C[B]/2:0,A=g===N?k[B]:C[B],_=g===N?-C[B]:-k[B],F=t.elements.arrow,J=d&&F?L(F):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:es(),U=q[D],Y=q[T],Q=ef(0,k[B],J[B]),ee=h?k[B]/2-W-Q-U-z.mainAxis:A-Q-U-z.mainAxis,et=h?-k[B]/2+W+Q+Y+z.mainAxis:_+Q+Y+z.mainAxis,er=t.elements.arrow&&O(t.elements.arrow),en=er?"y"===y?er.clientTop||0:er.clientLeft||0:0,eo=null!=(P=null==I?void 0:I[y])?P:0,ea=j+ee-eo-en,ei=j+et-eo,el=ef(d?x(H,ea):H,j,d?b(V,ei):V);Z[y]=el,R[y]=el-j}if(void 0!==a&&a){var ec,eu,ev="x"===y?"top":$,ep="x"===y?M:E,em=Z[S],eg="y"===S?"height":"width",eh=em+p[ev],eb=em-p[ep],ex=-1!==["top",$].indexOf(m),ey=null!=(eu=null==I?void 0:I[S])?eu:0,eS=ex?eh:em-k[eg]-C[eg]-ey+z.altAxis,eZ=ex?em+k[eg]+C[eg]-ey-z.altAxis:eb,ek=d&&ex?(ec=ef(eS,em,eZ))>eZ?eZ:ec:ef(d?eS:eh,em,d?eZ:eb);Z[S]=ek,R[S]=ek-em}t.modifiersData[n]=R}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r,n=e.state,o=e.name,a=e.options,i=n.elements.arrow,l=n.modifiersData.popperOffsets,s=X(n.placement),c=K(s),u=[$,E].indexOf(s)>=0?"height":"width";if(i&&l){var d=ec("number"!=typeof(t="function"==typeof(t=a.padding)?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:eu(t,H)),f=L(i),v="y"===c?"top":$,p="y"===c?M:E,m=n.rects.reference[u]+n.rects.reference[c]-l[c]-n.rects.popper[u],g=l[c]-n.rects.reference[c],h=O(i),b=h?"y"===c?h.clientHeight||0:h.clientWidth||0:0,x=d[v],y=b-f[u]-d[p],S=b/2-f[u]/2+(m/2-g/2),Z=ef(x,S,y);n.modifiersData[o]=((r={})[c]=Z,r.centerOffset=Z-S,r)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&ea(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=ed(t,{elementContext:"reference"}),l=ed(t,{altBoundary:!0}),s=ev(i,n),c=ev(l,o,a),u=ep(s),d=ep(c);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}).defaultModifiers)?[]:o,l=void 0===(i=n.defaultOptions)?J:i,function(e,t,r){void 0===r&&(r=l);var n,o={placement:"bottom",orderedModifiers:[],options:Object.assign({},J,l),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},i=[],s=!1,c={state:o,setOptions:function(r){var n,s,d,f,v,p="function"==typeof r?r(o.options):r;u(),o.options=Object.assign({},l,o.options,p),o.scrollParents={reference:m(e)?T(e):e.contextElement?T(e.contextElement):[],popper:T(t)};var g=(s=Object.keys(n=[].concat(a,o.options.modifiers).reduce(function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e},{})).map(function(e){return n[e]}),d=new Map,f=new Set,v=[],s.forEach(function(e){d.set(e.name,e)}),s.forEach(function(e){f.has(e.name)||function e(t){f.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!f.has(t)){var r=d.get(t);r&&e(r)}}),v.push(t)}(e)}),F.reduce(function(e,t){return e.concat(v.filter(function(e){return e.phase===t}))},[]));return o.orderedModifiers=g.filter(function(e){return e.enabled}),o.orderedModifiers.forEach(function(e){var t=e.name,r=e.options,n=e.effect;if("function"==typeof n){var a=n({state:o,name:t,instance:c,options:void 0===r?{}:r});i.push(a||function(){})}}),c.update()},forceUpdate:function(){if(!s){var e,t,r,n,a,i,l,u,d,f,v,m,h=o.elements,b=h.reference,x=h.popper;if(q(b,x)){o.rects={reference:(t=O(x),r="fixed"===o.options.strategy,n=g(t),u=g(t)&&(i=y((a=t.getBoundingClientRect()).width)/t.offsetWidth||1,l=y(a.height)/t.offsetHeight||1,1!==i||1!==l),d=z(t),f=k(b,u,r),v={scrollLeft:0,scrollTop:0},m={x:0,y:0},(n||!n&&!r)&&(("body"!==w(t)||P(d))&&(v=(e=t)!==p(e)&&g(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:C(e)),g(t)?(m=k(t,!0),m.x+=t.clientLeft,m.y+=t.clientTop):d&&(m.x=I(d))),{x:f.left+v.scrollLeft-m.x,y:f.top+v.scrollTop-m.y,width:f.width,height:f.height}),popper:L(x)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(e){return o.modifiersData[e.name]=Object.assign({},e.data)});for(var S=0;S{!o&&i(("function"==typeof n?n():n)||document.body)},[n,o]),(0,f.Z)(()=>{if(a&&!o)return(0,eb.Z)(t,a),()=>{(0,eb.Z)(t,null)}},[t,a,o]),o)?u.isValidElement(r)?u.cloneElement(r,{ref:l}):(0,ex.jsx)(u.Fragment,{children:r}):(0,ex.jsx)(u.Fragment,{children:a?eh.createPortal(r,a):a})});var eS=r(8027);function eZ(e){return(0,eS.ZP)("MuiPopper",e)}(0,r(1977).Z)("MuiPopper",["root"]);var ek=r(7293);let eC=u.createContext({disableDefaultClasses:!1}),ew=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],ez=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function eI(e){return"function"==typeof e?e():e}let eR=()=>(0,eg.Z)({root:["root"]},function(e){let{disableDefaultClasses:t}=u.useContext(eC);return r=>t?"":e(r)}(eZ)),eP={},eL=u.forwardRef(function(e,t){var r;let{anchorEl:n,children:o,direction:a,disablePortal:i,modifiers:l,open:v,placement:p,popperOptions:m,popperRef:g,slotProps:h={},slots:b={},TransitionProps:x}=e,y=(0,c.Z)(e,ew),S=u.useRef(null),Z=(0,d.Z)(S,t),k=u.useRef(null),C=(0,d.Z)(k,g),w=u.useRef(C);(0,f.Z)(()=>{w.current=C},[C]),u.useImperativeHandle(g,()=>k.current,[]);let z=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(p,a),[I,R]=u.useState(z),[P,L]=u.useState(eI(n));u.useEffect(()=>{k.current&&k.current.forceUpdate()}),u.useEffect(()=>{n&&L(eI(n))},[n]),(0,f.Z)(()=>{if(!P||!v)return;let e=e=>{R(e.placement)},t=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:t})=>{e(t)}}];null!=l&&(t=t.concat(l)),m&&null!=m.modifiers&&(t=t.concat(m.modifiers));let r=em(P,S.current,(0,s.Z)({placement:z},m,{modifiers:t}));return w.current(r),()=>{r.destroy(),w.current(null)}},[P,i,l,v,m,z]);let D={placement:I};null!==x&&(D.TransitionProps=x);let T=eR(),B=null!=(r=b.root)?r:"div",O=(0,ek.y)({elementType:B,externalSlotProps:h.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:Z},ownerState:e,className:T.root});return(0,ex.jsx)(B,(0,s.Z)({},O,{children:"function"==typeof o?o(D):o}))}),eD=u.forwardRef(function(e,t){let r;let{anchorEl:n,children:o,container:a,direction:i="ltr",disablePortal:l=!1,keepMounted:d=!1,modifiers:f,open:p,placement:m="bottom",popperOptions:g=eP,popperRef:h,style:b,transition:x=!1,slotProps:y={},slots:S={}}=e,Z=(0,c.Z)(e,ez),[k,C]=u.useState(!0);if(!d&&!p&&(!x||k))return null;if(a)r=a;else if(n){let e=eI(n);r=e&&void 0!==e.nodeType?(0,v.Z)(e).body:(0,v.Z)(null).body}let w=!p&&d&&(!x||k)?"none":void 0;return(0,ex.jsx)(ey,{disablePortal:l,container:r,children:(0,ex.jsx)(eL,(0,s.Z)({anchorEl:n,direction:i,disablePortal:l,modifiers:f,ref:t,open:x?!k:p,placement:m,popperOptions:g,popperRef:h,slotProps:y,slots:S},Z,{style:(0,s.Z)({position:"fixed",top:0,left:0,display:w},b),TransitionProps:x?{in:p,onEnter:()=>{C(!1)},onExited:()=>{C(!0)}}:void 0,children:o}))})})},70758:function(e,t,r){r.d(t,{U:function(){return s}});var n=r(87462),o=r(67294),a=r(11136),i=r(22760),l=r(30437);function s(e={}){let{disabled:t=!1,focusableWhenDisabled:r,href:s,rootRef:c,tabIndex:u,to:d,type:f}=e,v=o.useRef(),[p,m]=o.useState(!1),{isFocusVisibleRef:g,onFocus:h,onBlur:b,ref:x}=(0,a.Z)(),[y,S]=o.useState(!1);t&&!r&&y&&S(!1),o.useEffect(()=>{g.current=y},[y,g]);let[Z,k]=o.useState(""),C=e=>t=>{var r;y&&t.preventDefault(),null==(r=e.onMouseLeave)||r.call(e,t)},w=e=>t=>{var r;b(t),!1===g.current&&S(!1),null==(r=e.onBlur)||r.call(e,t)},z=e=>t=>{var r,n;v.current||(v.current=t.currentTarget),h(t),!0===g.current&&(S(!0),null==(n=e.onFocusVisible)||n.call(e,t)),null==(r=e.onFocus)||r.call(e,t)},I=()=>{let e=v.current;return"BUTTON"===Z||"INPUT"===Z&&["button","submit","reset"].includes(null==e?void 0:e.type)||"A"===Z&&(null==e?void 0:e.href)},R=e=>r=>{if(!t){var n;null==(n=e.onClick)||n.call(e,r)}},P=e=>r=>{var n;t||(m(!0),document.addEventListener("mouseup",()=>{m(!1)},{once:!0})),null==(n=e.onMouseDown)||n.call(e,r)},L=e=>r=>{var n,o;null==(n=e.onKeyDown)||n.call(e,r),!r.defaultMuiPrevented&&(r.target!==r.currentTarget||I()||" "!==r.key||r.preventDefault(),r.target!==r.currentTarget||" "!==r.key||t||m(!0),r.target!==r.currentTarget||I()||"Enter"!==r.key||t||(null==(o=e.onClick)||o.call(e,r),r.preventDefault()))},D=e=>r=>{var n,o;r.target===r.currentTarget&&m(!1),null==(n=e.onKeyUp)||n.call(e,r),r.target!==r.currentTarget||I()||t||" "!==r.key||r.defaultMuiPrevented||null==(o=e.onClick)||o.call(e,r)},T=o.useCallback(e=>{var t;k(null!=(t=null==e?void 0:e.tagName)?t:"")},[]),B=(0,i.Z)(T,c,x,v),O={};return void 0!==u&&(O.tabIndex=u),"BUTTON"===Z?(O.type=null!=f?f:"button",r?O["aria-disabled"]=t:O.disabled=t):""!==Z&&(s||d||(O.role="button",O.tabIndex=null!=u?u:0),t&&(O["aria-disabled"]=t,O.tabIndex=r?null!=u?u:0:-1)),{getRootProps:(t={})=>{let r=(0,n.Z)({},(0,l._)(e),(0,l._)(t)),o=(0,n.Z)({type:f},r,O,t,{onBlur:w(r),onClick:R(r),onFocus:z(r),onKeyDown:L(r),onKeyUp:D(r),onMouseDown:P(r),onMouseLeave:C(r),ref:B});return delete o.onFocusVisible,o},focusVisible:y,setFocusVisible:S,active:p,rootRef:B}}},85241:function(e,t,r){r.d(t,{D:function(){return o}});var n=r(67294);let o=n.createContext(null)},51633:function(e,t,r){r.d(t,{Q:function(){return n}});let n={blur:"dropdown:blur",escapeKeyDown:"dropdown:escapeKeyDown",toggle:"dropdown:toggle",open:"dropdown:open",close:"dropdown:close"}},26558:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(67294);let o=n.createContext(null)},22644:function(e,t,r){r.d(t,{F:function(){return n}});let n={blur:"list:blur",focus:"list:focus",itemClick:"list:itemClick",itemHover:"list:itemHover",itemsChange:"list:itemsChange",keyDown:"list:keyDown",resetHighlight:"list:resetHighlight",textNavigation:"list:textNavigation"}},7333:function(e,t,r){r.d(t,{R$:function(){return l},Rl:function(){return a}});var n=r(87462),o=r(22644);function a(e,t,r){var n;let o,a;let{items:i,isItemDisabled:l,disableListWrap:s,disabledItemsFocusable:c,itemComparer:u,focusManagement:d}=r,f=i.length-1,v=null==e?-1:i.findIndex(t=>u(t,e)),p=!s;switch(t){case"reset":if(-1==("DOM"===d?0:-1))return null;o=0,a="next",p=!1;break;case"start":o=0,a="next",p=!1;break;case"end":o=f,a="previous",p=!1;break;default:{let e=v+t;e<0?!p&&-1!==v||Math.abs(t)>1?(o=0,a="next"):(o=f,a="previous"):e>f?!p||Math.abs(t)>1?(o=f,a="previous"):(o=0,a="next"):(o=e,a=t>=0?"next":"previous")}}let m=function(e,t,r,n,o,a){if(0===r.length||!n&&r.every((e,t)=>o(e,t)))return -1;let i=e;for(;;){if(!a&&"next"===t&&i===r.length||!a&&"previous"===t&&-1===i)return -1;let e=!n&&o(r[i],i);if(!e)return i;i+="next"===t?1:-1,a&&(i=(i+r.length)%r.length)}}(o,a,i,c,l,p);return -1!==m||null===e||l(e,v)?null!=(n=i[m])?n:null:e}function i(e,t,r){let{itemComparer:o,isItemDisabled:a,selectionMode:i,items:l}=r,{selectedValues:s}=t,c=l.findIndex(t=>o(e,t));if(a(e,c))return t;let u="none"===i?[]:"single"===i?o(s[0],e)?s:[e]:s.some(t=>o(t,e))?s.filter(t=>!o(t,e)):[...s,e];return(0,n.Z)({},t,{selectedValues:u,highlightedValue:e})}function l(e,t){let{type:r,context:l}=t;switch(r){case o.F.keyDown:return function(e,t,r){let o=t.highlightedValue,{orientation:l,pageSize:s}=r;switch(e){case"Home":return(0,n.Z)({},t,{highlightedValue:a(o,"start",r)});case"End":return(0,n.Z)({},t,{highlightedValue:a(o,"end",r)});case"PageUp":return(0,n.Z)({},t,{highlightedValue:a(o,-s,r)});case"PageDown":return(0,n.Z)({},t,{highlightedValue:a(o,s,r)});case"ArrowUp":if("vertical"!==l)break;return(0,n.Z)({},t,{highlightedValue:a(o,-1,r)});case"ArrowDown":if("vertical"!==l)break;return(0,n.Z)({},t,{highlightedValue:a(o,1,r)});case"ArrowLeft":if("vertical"===l)break;return(0,n.Z)({},t,{highlightedValue:a(o,"horizontal-ltr"===l?-1:1,r)});case"ArrowRight":if("vertical"===l)break;return(0,n.Z)({},t,{highlightedValue:a(o,"horizontal-ltr"===l?1:-1,r)});case"Enter":case" ":if(null===t.highlightedValue)break;return i(t.highlightedValue,t,r)}return t}(t.key,e,l);case o.F.itemClick:return i(t.item,e,l);case o.F.blur:return"DOM"===l.focusManagement?e:(0,n.Z)({},e,{highlightedValue:null});case o.F.textNavigation:return function(e,t,r){let{items:o,isItemDisabled:i,disabledItemsFocusable:l,getItemAsString:s}=r,c=t.length>1,u=c?e.highlightedValue:a(e.highlightedValue,1,r);for(let d=0;ds(e,r.highlightedValue)))?l:null:"DOM"===c&&0===t.length&&(u=a(null,"reset",o));let d=null!=(i=r.selectedValues)?i:[],f=d.filter(t=>e.some(e=>s(e,t)));return(0,n.Z)({},r,{highlightedValue:u,selectedValues:f})}(t.items,t.previousItems,e,l);case o.F.resetHighlight:return(0,n.Z)({},e,{highlightedValue:a(null,"reset",l)});default:return e}}},96592:function(e,t,r){r.d(t,{s:function(){return x}});var n=r(87462),o=r(67294),a=r(22760),i=r(22644),l=r(7333);let s="select:change-selection",c="select:change-highlight";var u=r(78031),d=r(6414);function f(e,t){let r=o.useRef(e);return o.useEffect(()=>{r.current=e},null!=t?t:[e]),r}let v={},p=()=>{},m=(e,t)=>e===t,g=()=>!1,h=e=>"string"==typeof e?e:String(e),b=()=>({highlightedValue:null,selectedValues:[]});function x(e){let{controlledProps:t=v,disabledItemsFocusable:r=!1,disableListWrap:x=!1,focusManagement:y="activeDescendant",getInitialState:S=b,getItemDomElement:Z,getItemId:k,isItemDisabled:C=g,rootRef:w,onStateChange:z=p,items:I,itemComparer:R=m,getItemAsString:P=h,onChange:L,onHighlightChange:D,onItemsChange:T,orientation:B="vertical",pageSize:O=5,reducerActionContext:M=v,selectionMode:E="single",stateReducer:$}=e,j=o.useRef(null),H=(0,a.Z)(w,j),N=o.useCallback((e,t,r)=>{if(null==D||D(e,t,r),"DOM"===y&&null!=t&&(r===i.F.itemClick||r===i.F.keyDown||r===i.F.textNavigation)){var n;null==Z||null==(n=Z(t))||n.focus()}},[Z,D,y]),V=o.useMemo(()=>({highlightedValue:R,selectedValues:(e,t)=>(0,d.H)(e,t,R)}),[R]),W=o.useCallback((e,t,r,n,o)=>{switch(null==z||z(e,t,r,n,o),t){case"highlightedValue":N(e,r,n);break;case"selectedValues":null==L||L(e,r,n)}},[N,L,z]),A=o.useMemo(()=>({disabledItemsFocusable:r,disableListWrap:x,focusManagement:y,isItemDisabled:C,itemComparer:R,items:I,getItemAsString:P,onHighlightChange:N,orientation:B,pageSize:O,selectionMode:E,stateComparers:V}),[r,x,y,C,R,I,P,N,B,O,E,V]),_=S(),F=null!=$?$:l.R$,J=o.useMemo(()=>(0,n.Z)({},M,A),[M,A]),[q,U]=(0,u.r)({reducer:F,actionContext:J,initialState:_,controlledProps:t,stateComparers:V,onStateChange:W}),{highlightedValue:X,selectedValues:G}=q,K=function(e){let t=o.useRef({searchString:"",lastTime:null});return o.useCallback(r=>{if(1===r.key.length&&" "!==r.key){let n=t.current,o=r.key.toLowerCase(),a=performance.now();n.searchString.length>0&&n.lastTime&&a-n.lastTime>500?n.searchString=o:(1!==n.searchString.length||o!==n.searchString)&&(n.searchString+=o),n.lastTime=a,e(n.searchString,r)}},[e])}((e,t)=>U({type:i.F.textNavigation,event:t,searchString:e})),Y=f(G),Q=f(X),ee=o.useRef([]);o.useEffect(()=>{(0,d.H)(ee.current,I,R)||(U({type:i.F.itemsChange,event:null,items:I,previousItems:ee.current}),ee.current=I,null==T||T(I))},[I,R,U,T]);let{notifySelectionChanged:et,notifyHighlightChanged:er,registerHighlightChangeHandler:en,registerSelectionChangeHandler:eo}=function(){let e=function(){let e=o.useRef();return e.current||(e.current=function(){let e=new Map;return{subscribe:function(t,r){let n=e.get(t);return n?n.add(r):(n=new Set([r]),e.set(t,n)),()=>{n.delete(r),0===n.size&&e.delete(t)}},publish:function(t,...r){let n=e.get(t);n&&n.forEach(e=>e(...r))}}}()),e.current}(),t=o.useCallback(t=>{e.publish(s,t)},[e]),r=o.useCallback(t=>{e.publish(c,t)},[e]),n=o.useCallback(t=>e.subscribe(s,t),[e]),a=o.useCallback(t=>e.subscribe(c,t),[e]);return{notifySelectionChanged:t,notifyHighlightChanged:r,registerSelectionChangeHandler:n,registerHighlightChangeHandler:a}}();o.useEffect(()=>{et(G)},[G,et]),o.useEffect(()=>{er(X)},[X,er]);let ea=e=>t=>{var r;if(null==(r=e.onKeyDown)||r.call(e,t),t.defaultMuiPrevented)return;let n=["Home","End","PageUp","PageDown"];"vertical"===B?n.push("ArrowUp","ArrowDown"):n.push("ArrowLeft","ArrowRight"),"activeDescendant"===y&&n.push(" ","Enter"),n.includes(t.key)&&t.preventDefault(),U({type:i.F.keyDown,key:t.key,event:t}),K(t)},ei=e=>t=>{var r,n;null==(r=e.onBlur)||r.call(e,t),t.defaultMuiPrevented||null!=(n=j.current)&&n.contains(t.relatedTarget)||U({type:i.F.blur,event:t})},el=o.useCallback(e=>{var t;let r=I.findIndex(t=>R(t,e)),n=(null!=(t=Y.current)?t:[]).some(t=>null!=t&&R(e,t)),o=C(e,r),a=null!=Q.current&&R(e,Q.current),i="DOM"===y;return{disabled:o,focusable:i,highlighted:a,index:r,selected:n}},[I,C,R,Y,Q,y]),es=o.useMemo(()=>({dispatch:U,getItemState:el,registerHighlightChangeHandler:en,registerSelectionChangeHandler:eo}),[U,el,en,eo]);return o.useDebugValue({state:q}),{contextValue:es,dispatch:U,getRootProps:(e={})=>(0,n.Z)({},e,{"aria-activedescendant":"activeDescendant"===y&&null!=X?k(X):void 0,onBlur:ei(e),onKeyDown:ea(e),tabIndex:"DOM"===y?-1:0,ref:H}),rootRef:H,state:q}}},43069:function(e,t,r){r.d(t,{J:function(){return c}});var n=r(87462),o=r(67294),a=r(22760),i=r(54895),l=r(22644),s=r(26558);function c(e){let t;let{handlePointerOverEvents:r=!1,item:c,rootRef:u}=e,d=o.useRef(null),f=(0,a.Z)(d,u),v=o.useContext(s.Z);if(!v)throw Error("useListItem must be used within a ListProvider");let{dispatch:p,getItemState:m,registerHighlightChangeHandler:g,registerSelectionChangeHandler:h}=v,{highlighted:b,selected:x,focusable:y}=m(c),S=function(){let[,e]=o.useState({});return o.useCallback(()=>{e({})},[])}();(0,i.Z)(()=>g(function(e){e!==c||b?e!==c&&b&&S():S()})),(0,i.Z)(()=>h(function(e){x?e.includes(c)||S():e.includes(c)&&S()}),[h,S,x,c]);let Z=o.useCallback(e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.defaultPrevented||p({type:l.F.itemClick,item:c,event:t})},[p,c]),k=o.useCallback(e=>t=>{var r;null==(r=e.onMouseOver)||r.call(e,t),t.defaultPrevented||p({type:l.F.itemHover,item:c,event:t})},[p,c]);return y&&(t=b?0:-1),{getRootProps:(e={})=>(0,n.Z)({},e,{onClick:Z(e),onPointerOver:r?k(e):void 0,ref:f,tabIndex:t}),highlighted:b,rootRef:f,selected:x}}},6414:function(e,t,r){r.d(t,{H:function(){return n}});function n(e,t,r=(e,t)=>e===t){return e.length===t.length&&e.every((e,n)=>r(e,t[n]))}},2900:function(e,t,r){r.d(t,{f:function(){return o}});var n=r(87462);function o(e,t){return function(r={}){let o=(0,n.Z)({},r,e(r)),a=(0,n.Z)({},o,t(o));return a}}},12247:function(e,t,r){r.d(t,{Y:function(){return a},s:function(){return o}});var n=r(67294);let o=n.createContext(null);function a(){let[e,t]=n.useState(new Map),r=n.useRef(new Set),o=n.useCallback(function(e){r.current.delete(e),t(t=>{let r=new Map(t);return r.delete(e),r})},[]),a=n.useCallback(function(e,n){let a;return a="function"==typeof e?e(r.current):e,r.current.add(a),t(e=>{let t=new Map(e);return t.set(a,n),t}),{id:a,deregister:()=>o(a)}},[o]),i=n.useMemo(()=>(function(e){let t=Array.from(e.keys()).map(t=>{let r=e.get(t);return{key:t,subitem:r}});return t.sort((e,t)=>{let r=e.subitem.ref.current,n=t.subitem.ref.current;return null===r||null===n||r===n?0:r.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING?1:-1}),new Map(t.map(e=>[e.key,e.subitem]))})(e),[e]),l=n.useCallback(function(e){return Array.from(i.keys()).indexOf(e)},[i]),s=n.useMemo(()=>({getItemIndex:l,registerItem:a,totalSubitemCount:e.size}),[l,a,e.size]);return{contextValue:s,subitems:i}}o.displayName="CompoundComponentContext"},14072:function(e,t,r){r.d(t,{B:function(){return i}});var n=r(67294),o=r(54895),a=r(12247);function i(e,t){let r=n.useContext(a.s);if(null===r)throw Error("useCompoundItem must be used within a useCompoundParent");let{registerItem:i}=r,[l,s]=n.useState("function"==typeof e?void 0:e);return(0,o.Z)(()=>{let{id:r,deregister:n}=i(e,t);return s(r),n},[i,t,e]),{id:l,index:void 0!==l?r.getItemIndex(l):-1,totalItemCount:r.totalSubitemCount}}},78031:function(e,t,r){r.d(t,{r:function(){return c}});var n=r(87462),o=r(67294);function a(e,t){return e===t}let i={},l=()=>{};function s(e,t){let r=(0,n.Z)({},e);return Object.keys(t).forEach(e=>{void 0!==t[e]&&(r[e]=t[e])}),r}function c(e){let t=o.useRef(null),{reducer:r,initialState:c,controlledProps:u=i,stateComparers:d=i,onStateChange:f=l,actionContext:v}=e,p=o.useCallback((e,n)=>{t.current=n;let o=s(e,u),a=r(o,n);return a},[u,r]),[m,g]=o.useReducer(p,c),h=o.useCallback(e=>{g((0,n.Z)({},e,{context:v}))},[v]);return!function(e){let{nextState:t,initialState:r,stateComparers:n,onStateChange:i,controlledProps:l,lastActionRef:c}=e,u=o.useRef(r);o.useEffect(()=>{if(null===c.current)return;let e=s(u.current,l);Object.keys(t).forEach(r=>{var o,l,s;let u=null!=(o=n[r])?o:a,d=t[r],f=e[r];(null!=f||null==d)&&(null==f||null!=d)&&(null==f||null==d||u(d,f))||null==i||i(null!=(l=c.current.event)?l:null,r,d,null!=(s=c.current.type)?s:"",t)}),u.current=t,c.current=null},[u,t,c,i,n,l])}({nextState:m,initialState:c,stateComparers:null!=d?d:i,onStateChange:null!=f?f:l,controlledProps:u,lastActionRef:t}),[s(m,u),h]}},7293:function(e,t,r){r.d(t,{y:function(){return u}});var n=r(87462),o=r(63366),a=r(22760),i=r(10238),l=r(24407),s=r(71276);let c=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function u(e){var t;let{elementType:r,externalSlotProps:u,ownerState:d,skipResolvingSlotProps:f=!1}=e,v=(0,o.Z)(e,c),p=f?{}:(0,s.x)(u,d),{props:m,internalRef:g}=(0,l.L)((0,n.Z)({},v,{externalSlotProps:p})),h=(0,a.Z)(g,null==p?void 0:p.ref,null==(t=e.additionalProps)?void 0:t.ref),b=(0,i.$)(r,(0,n.Z)({},m,{ref:h}),d);return b}},41132:function(e,t,r){var n=r(28549),o=r(85893);t.Z=(0,n.Z)((0,o.jsx)("path",{d:"M18.3 5.71a.9959.9959 0 0 0-1.41 0L12 10.59 7.11 5.7a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"}),"CloseRounded")},59301:function(e,t,r){var n=r(28549),o=r(85893);t.Z=(0,n.Z)((0,o.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz")},48665:function(e,t,r){r.d(t,{Z:function(){return h}});var n=r(87462),o=r(63366),a=r(67294),i=r(90512),l=r(23534),s=r(86523),c=r(39707),u=r(79718),d=r(85893);let f=["className","component"];var v=r(31983),p=r(67299),m=r(2548);let g=function(e={}){let{themeId:t,defaultTheme:r,defaultClassName:v="MuiBox-root",generateClassName:p}=e,m=(0,l.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(s.Z),g=a.forwardRef(function(e,a){let l=(0,u.Z)(r),s=(0,c.Z)(e),{className:g,component:h="div"}=s,b=(0,o.Z)(s,f);return(0,d.jsx)(m,(0,n.Z)({as:h,ref:a,className:(0,i.Z)(g,p?p(v):v),theme:t&&l[t]||l},b))});return g}({themeId:m.Z,defaultTheme:p.Z,defaultClassName:"MuiBox-root",generateClassName:v.Z.generate});var h=g},66478:function(e,t,r){r.d(t,{Z:function(){return R},f:function(){return w}});var n=r(63366),o=r(87462),a=r(67294),i=r(70758),l=r(58510),s=r(62908),c=r(22760),u=r(74312),d=r(20407),f=r(2226),v=r(30220),p=r(48699),m=r(26821);function g(e){return(0,m.d6)("MuiButton",e)}let h=(0,m.sI)("MuiButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]);var b=r(89996),x=r(85893);let y=["children","action","color","variant","size","fullWidth","startDecorator","endDecorator","loading","loadingPosition","loadingIndicator","disabled","component","slots","slotProps"],S=e=>{let{color:t,disabled:r,focusVisible:n,focusVisibleClassName:o,fullWidth:a,size:i,variant:c,loading:u}=e,d={root:["root",r&&"disabled",n&&"focusVisible",a&&"fullWidth",c&&`variant${(0,s.Z)(c)}`,t&&`color${(0,s.Z)(t)}`,i&&`size${(0,s.Z)(i)}`,u&&"loading"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],loadingIndicatorCenter:["loadingIndicatorCenter"]},f=(0,l.Z)(d,g,{});return n&&o&&(f.root+=` ${o}`),f},Z=(0,u.Z)("span",{name:"JoyButton",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Icon-margin":"0 0 0 calc(var(--Button-gap) / -2)","--CircularProgress-margin":"0 0 0 calc(var(--Button-gap) / -2)",display:"inherit",marginRight:"var(--Button-gap)"}),k=(0,u.Z)("span",{name:"JoyButton",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--Icon-margin":"0 calc(var(--Button-gap) / -2) 0 0","--CircularProgress-margin":"0 calc(var(--Button-gap) / -2) 0 0",display:"inherit",marginLeft:"var(--Button-gap)"}),C=(0,u.Z)("span",{name:"JoyButton",slot:"LoadingCenter",overridesResolver:(e,t)=>t.loadingIndicatorCenter})(({theme:e,ownerState:t})=>{var r,n;return(0,o.Z)({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(r=e.variants[t.variant])||null==(r=r[t.color])?void 0:r.color},t.disabled&&{color:null==(n=e.variants[`${t.variant}Disabled`])||null==(n=n[t.color])?void 0:n.color})}),w=({theme:e,ownerState:t})=>{var r,n,a,i;return[(0,o.Z)({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon},"sm"===t.size&&{"--Icon-fontSize":e.vars.fontSize.lg,"--CircularProgress-size":"20px","--CircularProgress-thickness":"2px","--Button-gap":"0.375rem",minHeight:"var(--Button-minHeight, 2rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"2px",paddingInline:"0.75rem"},"md"===t.size&&{"--Icon-fontSize":e.vars.fontSize.xl,"--CircularProgress-size":"24px","--CircularProgress-thickness":"3px","--Button-gap":"0.5rem",minHeight:"var(--Button-minHeight, 2.5rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"0.25rem",paddingInline:"1rem"},"lg"===t.size&&{"--Icon-fontSize":e.vars.fontSize.xl2,"--CircularProgress-size":"28px","--CircularProgress-thickness":"4px","--Button-gap":"0.75rem",minHeight:"var(--Button-minHeight, 3rem)",fontSize:e.vars.fontSize.md,paddingBlock:"0.375rem",paddingInline:"1.5rem"},{WebkitTapHighlightColor:"transparent",borderRadius:`var(--Button-radius, ${e.vars.radius.sm})`,margin:"var(--Button-margin)",border:"none",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",textDecoration:"none",fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.lg,lineHeight:1},t.fullWidth&&{width:"100%"},{[e.focus.selector]:e.focus.default}),(0,o.Z)({},null==(r=e.variants[t.variant])?void 0:r[t.color],{"&:hover":{"@media (hover: hover)":null==(n=e.variants[`${t.variant}Hover`])?void 0:n[t.color]},'&:active, &[aria-pressed="true"]':null==(a=e.variants[`${t.variant}Active`])?void 0:a[t.color],"&:disabled":null==(i=e.variants[`${t.variant}Disabled`])?void 0:i[t.color]},"center"===t.loadingPosition&&{[`&.${h.loading}`]:{color:"transparent"}})]},z=(0,u.Z)("button",{name:"JoyButton",slot:"Root",overridesResolver:(e,t)=>t.root})(w),I=a.forwardRef(function(e,t){var r;let l=(0,d.Z)({props:e,name:"JoyButton"}),{children:s,action:u,color:m="primary",variant:g="solid",size:h="md",fullWidth:w=!1,startDecorator:I,endDecorator:R,loading:P=!1,loadingPosition:L="center",loadingIndicator:D,disabled:T,component:B,slots:O={},slotProps:M={}}=l,E=(0,n.Z)(l,y),$=a.useContext(b.Z),j=e.variant||$.variant||g,H=e.size||$.size||h,{getColor:N}=(0,f.VT)(j),V=N(e.color,$.color||m),W=null!=(r=e.disabled||e.loading)?r:$.disabled||T||P,A=a.useRef(null),_=(0,c.Z)(A,t),{focusVisible:F,setFocusVisible:J,getRootProps:q}=(0,i.U)((0,o.Z)({},l,{disabled:W,rootRef:_})),U=null!=D?D:(0,x.jsx)(p.Z,(0,o.Z)({},"context"!==V&&{color:V},{thickness:{sm:2,md:3,lg:4}[H]||3}));a.useImperativeHandle(u,()=>({focusVisible:()=>{var e;J(!0),null==(e=A.current)||e.focus()}}),[J]);let X=(0,o.Z)({},l,{color:V,fullWidth:w,variant:j,size:H,focusVisible:F,loading:P,loadingPosition:L,disabled:W}),G=S(X),K=(0,o.Z)({},E,{component:B,slots:O,slotProps:M}),[Y,Q]=(0,v.Z)("root",{ref:t,className:G.root,elementType:z,externalForwardedProps:K,getSlotProps:q,ownerState:X}),[ee,et]=(0,v.Z)("startDecorator",{className:G.startDecorator,elementType:Z,externalForwardedProps:K,ownerState:X}),[er,en]=(0,v.Z)("endDecorator",{className:G.endDecorator,elementType:k,externalForwardedProps:K,ownerState:X}),[eo,ea]=(0,v.Z)("loadingIndicatorCenter",{className:G.loadingIndicatorCenter,elementType:C,externalForwardedProps:K,ownerState:X});return(0,x.jsxs)(Y,(0,o.Z)({},Q,{children:[(I||P&&"start"===L)&&(0,x.jsx)(ee,(0,o.Z)({},et,{children:P&&"start"===L?U:I})),s,P&&"center"===L&&(0,x.jsx)(eo,(0,o.Z)({},ea,{children:U})),(R||P&&"end"===L)&&(0,x.jsx)(er,(0,o.Z)({},en,{children:P&&"end"===L?U:R}))]}))});I.muiName="Button";var R=I},89996:function(e,t,r){var n=r(67294);let o=n.createContext({});t.Z=o},48699:function(e,t,r){r.d(t,{Z:function(){return P}});var n=r(87462),o=r(63366),a=r(67294),i=r(90512),l=r(62908),s=r(58510),c=r(70917),u=r(74312),d=r(20407),f=r(2226),v=r(30220),p=r(26821);function m(e){return(0,p.d6)("MuiCircularProgress",e)}(0,p.sI)("MuiCircularProgress",["root","determinate","svg","track","progress","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);var g=r(85893);let h=e=>e,b,x=["color","backgroundColor"],y=["children","className","color","size","variant","thickness","determinate","value","component","slots","slotProps"],S=(0,c.F4)({"0%":{transform:"rotate(-90deg)"},"100%":{transform:"rotate(270deg)"}}),Z=e=>{let{determinate:t,color:r,variant:n,size:o}=e,a={root:["root",t&&"determinate",r&&`color${(0,l.Z)(r)}`,n&&`variant${(0,l.Z)(n)}`,o&&`size${(0,l.Z)(o)}`],svg:["svg"],track:["track"],progress:["progress"]};return(0,s.Z)(a,m,{})};function k(e,t){return`var(--CircularProgress-${e}Thickness, var(--CircularProgress-thickness, ${t}))`}let C=(0,u.Z)("span",{name:"JoyCircularProgress",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>{var r;let a=(null==(r=t.variants[e.variant])?void 0:r[e.color])||{},{color:i,backgroundColor:l}=a,s=(0,o.Z)(a,x);return(0,n.Z)({"--Icon-fontSize":"calc(0.4 * var(--_root-size))","--CircularProgress-trackColor":l,"--CircularProgress-progressColor":i,"--CircularProgress-percent":e.value,"--CircularProgress-linecap":"round"},"sm"===e.size&&{"--_root-size":"var(--CircularProgress-size, 24px)","--_track-thickness":k("track","3px"),"--_progress-thickness":k("progress","3px")},"sm"===e.instanceSize&&{"--CircularProgress-size":"24px"},"md"===e.size&&{"--_track-thickness":k("track","6px"),"--_progress-thickness":k("progress","6px"),"--_root-size":"var(--CircularProgress-size, 40px)"},"md"===e.instanceSize&&{"--CircularProgress-size":"40px"},"lg"===e.size&&{"--_track-thickness":k("track","8px"),"--_progress-thickness":k("progress","8px"),"--_root-size":"var(--CircularProgress-size, 64px)"},"lg"===e.instanceSize&&{"--CircularProgress-size":"64px"},e.thickness&&{"--_track-thickness":`${e.thickness}px`,"--_progress-thickness":`${e.thickness}px`},{"--_thickness-diff":"calc(var(--_track-thickness) - var(--_progress-thickness))","--_inner-size":"calc(var(--_root-size) - 2 * var(--variant-borderWidth, 0px))","--_outlined-inset":"max(var(--_track-thickness), var(--_progress-thickness))",width:"var(--_root-size)",height:"var(--_root-size)",borderRadius:"var(--_root-size)",margin:"var(--CircularProgress-margin)",boxSizing:"border-box",display:"inline-flex",justifyContent:"center",alignItems:"center",flexShrink:0,position:"relative",color:i},e.children&&{fontFamily:t.vars.fontFamily.body,fontWeight:t.vars.fontWeight.md,fontSize:"calc(0.2 * var(--_root-size))"},s,"outlined"===e.variant&&{"&:before":(0,n.Z)({content:'""',display:"block",position:"absolute",borderRadius:"inherit",top:"var(--_outlined-inset)",left:"var(--_outlined-inset)",right:"var(--_outlined-inset)",bottom:"var(--_outlined-inset)"},s)})}),w=(0,u.Z)("svg",{name:"JoyCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({width:"inherit",height:"inherit",display:"inherit",boxSizing:"inherit",position:"absolute",top:"calc(-1 * var(--variant-borderWidth, 0px))",left:"calc(-1 * var(--variant-borderWidth, 0px))"}),z=(0,u.Z)("circle",{name:"JoyCircularProgress",slot:"track",overridesResolver:(e,t)=>t.track})({cx:"50%",cy:"50%",r:"calc(var(--_inner-size) / 2 - var(--_track-thickness) / 2 + min(0px, var(--_thickness-diff) / 2))",fill:"transparent",strokeWidth:"var(--_track-thickness)",stroke:"var(--CircularProgress-trackColor)"}),I=(0,u.Z)("circle",{name:"JoyCircularProgress",slot:"progress",overridesResolver:(e,t)=>t.progress})({"--_progress-radius":"calc(var(--_inner-size) / 2 - var(--_progress-thickness) / 2 - max(0px, var(--_thickness-diff) / 2))","--_progress-length":"calc(2 * 3.1415926535 * var(--_progress-radius))",cx:"50%",cy:"50%",r:"var(--_progress-radius)",fill:"transparent",strokeWidth:"var(--_progress-thickness)",stroke:"var(--CircularProgress-progressColor)",strokeLinecap:"var(--CircularProgress-linecap, round)",strokeDasharray:"var(--_progress-length)",strokeDashoffset:"calc(var(--_progress-length) - var(--CircularProgress-percent) * var(--_progress-length) / 100)",transformOrigin:"center",transform:"rotate(-90deg)"},({ownerState:e})=>!e.determinate&&(0,c.iv)(b||(b=h` + animation: var(--CircularProgress-circulation, 0.8s linear 0s infinite normal none running) + ${0}; + `),S)),R=a.forwardRef(function(e,t){let r=(0,d.Z)({props:e,name:"JoyCircularProgress"}),{children:a,className:l,color:s="primary",size:c="md",variant:u="soft",thickness:p,determinate:m=!1,value:h=m?0:25,component:b,slots:x={},slotProps:S={}}=r,k=(0,o.Z)(r,y),{getColor:R}=(0,f.VT)(u),P=R(e.color,s),L=(0,n.Z)({},r,{color:P,size:c,variant:u,thickness:p,value:h,determinate:m,instanceSize:e.size}),D=Z(L),T=(0,n.Z)({},k,{component:b,slots:x,slotProps:S}),[B,O]=(0,v.Z)("root",{ref:t,className:(0,i.Z)(D.root,l),elementType:C,externalForwardedProps:T,ownerState:L,additionalProps:(0,n.Z)({role:"progressbar",style:{"--CircularProgress-percent":h}},h&&m&&{"aria-valuenow":"number"==typeof h?Math.round(h):Math.round(Number(h||0))})}),[M,E]=(0,v.Z)("svg",{className:D.svg,elementType:w,externalForwardedProps:T,ownerState:L}),[$,j]=(0,v.Z)("track",{className:D.track,elementType:z,externalForwardedProps:T,ownerState:L}),[H,N]=(0,v.Z)("progress",{className:D.progress,elementType:I,externalForwardedProps:T,ownerState:L});return(0,g.jsxs)(B,(0,n.Z)({},O,{children:[(0,g.jsxs)(M,(0,n.Z)({},E,{children:[(0,g.jsx)($,(0,n.Z)({},j)),(0,g.jsx)(H,(0,n.Z)({},N))]})),a]}))});var P=R},76043:function(e,t,r){var n=r(67294);let o=n.createContext(void 0);t.Z=o},26047:function(e,t,r){r.d(t,{Z:function(){return V}});var n=r(87462),o=r(63366),a=r(67294),i=r(90512),l=r(16485),s=r(8027),c=r(58510),u=r(86154);let d=(0,u.ZP)();var f=r(44065),v=r(79718),p=r(39707),m=r(88647);let g=(e,t)=>e.filter(e=>t.includes(e)),h=(e,t,r)=>{let n=e.keys[0];if(Array.isArray(t))t.forEach((t,n)=>{r((t,r)=>{n<=e.keys.length-1&&(0===n?Object.assign(t,r):t[e.up(e.keys[n])]=r)},t)});else if(t&&"object"==typeof t){let o=Object.keys(t).length>e.keys.length?e.keys:g(e.keys,Object.keys(t));o.forEach(o=>{if(-1!==e.keys.indexOf(o)){let a=t[o];void 0!==a&&r((t,r)=>{n===o?Object.assign(t,r):t[e.up(o)]=r},a)}})}else("number"==typeof t||"string"==typeof t)&&r((e,t)=>{Object.assign(e,t)},t)};function b(e){return e?`Level${e}`:""}function x(e){return e.unstable_level>0&&e.container}function y(e){return function(t){return`var(--Grid-${t}Spacing${b(e.unstable_level)})`}}function S(e){return function(t){return 0===e.unstable_level?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${b(e.unstable_level-1)})`}}function Z(e){return 0===e.unstable_level?"var(--Grid-columns)":`var(--Grid-columns${b(e.unstable_level-1)})`}let k=({theme:e,ownerState:t})=>{let r=y(t),n={};return h(e.breakpoints,t.gridSize,(e,o)=>{let a={};!0===o&&(a={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===o&&(a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof o&&(a={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${o} / ${Z(t)}${x(t)?` + ${r("column")}`:""})`}),e(n,a)}),n},C=({theme:e,ownerState:t})=>{let r={};return h(e.breakpoints,t.gridOffset,(e,n)=>{let o={};"auto"===n&&(o={marginLeft:"auto"}),"number"==typeof n&&(o={marginLeft:0===n?"0px":`calc(100% * ${n} / ${Z(t)})`}),e(r,o)}),r},w=({theme:e,ownerState:t})=>{if(!t.container)return{};let r=x(t)?{[`--Grid-columns${b(t.unstable_level)}`]:Z(t)}:{"--Grid-columns":12};return h(e.breakpoints,t.columns,(e,n)=>{e(r,{[`--Grid-columns${b(t.unstable_level)}`]:n})}),r},z=({theme:e,ownerState:t})=>{if(!t.container)return{};let r=S(t),n=x(t)?{[`--Grid-rowSpacing${b(t.unstable_level)}`]:r("row")}:{};return h(e.breakpoints,t.rowSpacing,(r,o)=>{var a;r(n,{[`--Grid-rowSpacing${b(t.unstable_level)}`]:"string"==typeof o?o:null==(a=e.spacing)?void 0:a.call(e,o)})}),n},I=({theme:e,ownerState:t})=>{if(!t.container)return{};let r=S(t),n=x(t)?{[`--Grid-columnSpacing${b(t.unstable_level)}`]:r("column")}:{};return h(e.breakpoints,t.columnSpacing,(r,o)=>{var a;r(n,{[`--Grid-columnSpacing${b(t.unstable_level)}`]:"string"==typeof o?o:null==(a=e.spacing)?void 0:a.call(e,o)})}),n},R=({theme:e,ownerState:t})=>{if(!t.container)return{};let r={};return h(e.breakpoints,t.direction,(e,t)=>{e(r,{flexDirection:t})}),r},P=({ownerState:e})=>{let t=y(e),r=S(e);return(0,n.Z)({minWidth:0,boxSizing:"border-box"},e.container&&(0,n.Z)({display:"flex",flexWrap:"wrap"},e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||x(e))&&(0,n.Z)({padding:`calc(${r("row")} / 2) calc(${r("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${r("row")} 0px 0px ${r("column")}`}))},L=e=>{let t=[];return Object.entries(e).forEach(([e,r])=>{!1!==r&&void 0!==r&&t.push(`grid-${e}-${String(r)}`)}),t},D=(e,t="xs")=>{function r(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(r(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){let t=[];return Object.entries(e).forEach(([e,n])=>{r(n)&&t.push(`spacing-${e}-${String(n)}`)}),t}return[]},T=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map(([e,t])=>`direction-${e}-${t}`):[`direction-xs-${String(e)}`];var B=r(85893);let O=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],M=(0,m.Z)(),E=d("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function $(e){return(0,f.Z)({props:e,name:"MuiGrid",defaultTheme:M})}var j=r(74312),H=r(20407);let N=function(e={}){let{createStyledComponent:t=E,useThemeProps:r=$,componentName:u="MuiGrid"}=e,d=a.createContext(void 0),f=(e,t)=>{let{container:r,direction:n,spacing:o,wrap:a,gridSize:i}=e,l={root:["root",r&&"container","wrap"!==a&&`wrap-xs-${String(a)}`,...T(n),...L(i),...r?D(o,t.breakpoints.keys[0]):[]]};return(0,c.Z)(l,e=>(0,s.ZP)(u,e),{})},m=t(w,I,z,k,R,P,C),g=a.forwardRef(function(e,t){var s,c,u,g,h,b,x,y;let S=(0,v.Z)(),Z=r(e),k=(0,p.Z)(Z),C=a.useContext(d),{className:w,children:z,columns:I=12,container:R=!1,component:P="div",direction:L="row",wrap:D="wrap",spacing:T=0,rowSpacing:M=T,columnSpacing:E=T,disableEqualOverflow:$,unstable_level:j=0}=k,H=(0,o.Z)(k,O),N=$;j&&void 0!==$&&(N=e.disableEqualOverflow);let V={},W={},A={};Object.entries(H).forEach(([e,t])=>{void 0!==S.breakpoints.values[e]?V[e]=t:void 0!==S.breakpoints.values[e.replace("Offset","")]?W[e.replace("Offset","")]=t:A[e]=t});let _=null!=(s=e.columns)?s:j?void 0:I,F=null!=(c=e.spacing)?c:j?void 0:T,J=null!=(u=null!=(g=e.rowSpacing)?g:e.spacing)?u:j?void 0:M,q=null!=(h=null!=(b=e.columnSpacing)?b:e.spacing)?h:j?void 0:E,U=(0,n.Z)({},k,{level:j,columns:_,container:R,direction:L,wrap:D,spacing:F,rowSpacing:J,columnSpacing:q,gridSize:V,gridOffset:W,disableEqualOverflow:null!=(x=null!=(y=N)?y:C)&&x,parentDisableEqualOverflow:C}),X=f(U,S),G=(0,B.jsx)(m,(0,n.Z)({ref:t,as:P,ownerState:U,className:(0,i.Z)(X.root,w)},A,{children:a.Children.map(z,e=>{if(a.isValidElement(e)&&(0,l.Z)(e,["Grid"])){var t;return a.cloneElement(e,{unstable_level:null!=(t=e.props.unstable_level)?t:j+1})}return e})}));return void 0!==N&&N!==(null!=C&&C)&&(G=(0,B.jsx)(d.Provider,{value:N,children:G})),G});return g.muiName="Grid",g}({createStyledComponent:(0,j.Z)("div",{name:"JoyGrid",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,H.Z)({props:e,name:"JoyGrid"})});var V=N},14553:function(e,t,r){r.d(t,{ZP:function(){return k}});var n=r(63366),o=r(87462),a=r(67294),i=r(62908),l=r(22760),s=r(70758),c=r(58510),u=r(74312),d=r(20407),f=r(2226),v=r(30220),p=r(26821);function m(e){return(0,p.d6)("MuiIconButton",e)}(0,p.sI)("MuiIconButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg"]);var g=r(89996),h=r(85893);let b=["children","action","component","color","disabled","variant","size","slots","slotProps"],x=e=>{let{color:t,disabled:r,focusVisible:n,focusVisibleClassName:o,size:a,variant:l}=e,s={root:["root",r&&"disabled",n&&"focusVisible",l&&`variant${(0,i.Z)(l)}`,t&&`color${(0,i.Z)(t)}`,a&&`size${(0,i.Z)(a)}`]},u=(0,c.Z)(s,m,{});return n&&o&&(u.root+=` ${o}`),u},y=(0,u.Z)("button")(({theme:e,ownerState:t})=>{var r,n,a,i;return[(0,o.Z)({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon},t.instanceSize&&{"--IconButton-size":({sm:"2rem",md:"2.5rem",lg:"3rem"})[t.instanceSize]},"sm"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2rem) / 1.6)","--CircularProgress-size":"20px","--CircularProgress-thickness":"2px",minWidth:"var(--IconButton-size, 2rem)",minHeight:"var(--IconButton-size, 2rem)",fontSize:e.vars.fontSize.sm,paddingInline:"2px"},"md"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2.5rem) / 1.667)","--CircularProgress-size":"24px","--CircularProgress-thickness":"3px",minWidth:"var(--IconButton-size, 2.5rem)",minHeight:"var(--IconButton-size, 2.5rem)",fontSize:e.vars.fontSize.md,paddingInline:"0.25rem"},"lg"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 3rem) / 1.714)","--CircularProgress-size":"28px","--CircularProgress-thickness":"4px",minWidth:"var(--IconButton-size, 3rem)",minHeight:"var(--IconButton-size, 3rem)",fontSize:e.vars.fontSize.lg,paddingInline:"0.375rem"},{WebkitTapHighlightColor:"transparent",paddingBlock:0,fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.md,margin:"var(--IconButton-margin)",borderRadius:`var(--IconButton-radius, ${e.vars.radius.sm})`,border:"none",boxSizing:"border-box",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",[e.focus.selector]:(0,o.Z)({"--Icon-color":"currentColor"},e.focus.default)}),(0,o.Z)({},null==(r=e.variants[t.variant])?void 0:r[t.color],{"&:hover":{"@media (hover: hover)":(0,o.Z)({"--Icon-color":"currentColor"},null==(n=e.variants[`${t.variant}Hover`])?void 0:n[t.color])},'&:active, &[aria-pressed="true"]':(0,o.Z)({"--Icon-color":"currentColor"},null==(a=e.variants[`${t.variant}Active`])?void 0:a[t.color]),"&:disabled":null==(i=e.variants[`${t.variant}Disabled`])?void 0:i[t.color]})]}),S=(0,u.Z)(y,{name:"JoyIconButton",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Z=a.forwardRef(function(e,t){var r;let i=(0,d.Z)({props:e,name:"JoyIconButton"}),{children:c,action:u,component:p="button",color:m="neutral",disabled:y,variant:Z="plain",size:k="md",slots:C={},slotProps:w={}}=i,z=(0,n.Z)(i,b),I=a.useContext(g.Z),R=e.variant||I.variant||Z,P=e.size||I.size||k,{getColor:L}=(0,f.VT)(R),D=L(e.color,I.color||m),T=null!=(r=e.disabled)?r:I.disabled||y,B=a.useRef(null),O=(0,l.Z)(B,t),{focusVisible:M,setFocusVisible:E,getRootProps:$}=(0,s.U)((0,o.Z)({},i,{disabled:T,rootRef:O}));a.useImperativeHandle(u,()=>({focusVisible:()=>{var e;E(!0),null==(e=B.current)||e.focus()}}),[E]);let j=(0,o.Z)({},i,{component:p,color:D,disabled:T,variant:R,size:P,focusVisible:M,instanceSize:e.size}),H=x(j),N=(0,o.Z)({},z,{component:p,slots:C,slotProps:w}),[V,W]=(0,v.Z)("root",{ref:t,className:H.root,elementType:S,getSlotProps:$,externalForwardedProps:N,ownerState:j});return(0,h.jsx)(V,(0,o.Z)({},W,{children:c}))});Z.muiName="IconButton";var k=Z},43614:function(e,t,r){var n=r(67294);let o=n.createContext(void 0);t.Z=o},50984:function(e,t,r){r.d(t,{C:function(){return i}});var n=r(87462);r(67294);var o=r(74312),a=r(58859);r(85893);let i=(0,o.Z)("ul")(({theme:e,ownerState:t})=>{var r;let{p:o,padding:i,borderRadius:l}=(0,a.V)({theme:e,ownerState:t},["p","padding","borderRadius"]);function s(r){return"sm"===r?{"--ListDivider-gap":"0.25rem","--ListItem-minHeight":"2rem","--ListItem-paddingY":"0.25rem","--ListItem-paddingX":"0.5rem","--ListItemDecorator-size":"horizontal"===t.orientation?"1.5rem":"2rem","--Icon-fontSize":e.vars.fontSize.lg}:"md"===r?{"--ListDivider-gap":"0.375rem","--ListItem-minHeight":"2.5rem","--ListItem-paddingY":"0.375rem","--ListItem-paddingX":"0.75rem","--ListItemDecorator-size":"horizontal"===t.orientation?"1.75rem":"2.5rem","--Icon-fontSize":e.vars.fontSize.xl}:"lg"===r?{"--ListDivider-gap":"0.5rem","--ListItem-minHeight":"3rem","--ListItem-paddingY":"0.5rem","--ListItem-paddingX":"1rem","--ListItemDecorator-size":"horizontal"===t.orientation?"2.25rem":"3rem","--Icon-fontSize":e.vars.fontSize.xl2}:{}}return[t.nesting&&(0,n.Z)({},s(t.instanceSize),{"--ListItem-paddingRight":"var(--ListItem-paddingX)","--ListItem-paddingLeft":"var(--NestedListItem-paddingLeft)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px",padding:0,marginInlineStart:"var(--NestedList-marginLeft)",marginInlineEnd:"var(--NestedList-marginRight)",marginBlockStart:"var(--List-gap)",marginBlockEnd:"initial"}),!t.nesting&&(0,n.Z)({},s(t.size),{"--List-gap":"0px","--List-nestedInsetStart":"0px","--ListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItem-paddingRight":"var(--ListItem-paddingX)","--unstable_List-childRadius":"calc(max(var(--List-radius) - var(--List-padding), min(var(--List-padding) / 2, var(--List-radius) / 2)) - var(--variant-borderWidth, 0px))","--ListItem-radius":"var(--unstable_List-childRadius)","--ListItem-startActionTranslateX":"calc(0.5 * var(--ListItem-paddingLeft))","--ListItem-endActionTranslateX":"calc(-0.5 * var(--ListItem-paddingRight))",margin:"initial"},e.typography[`body-${t.size}`],"horizontal"===t.orientation?(0,n.Z)({},t.wrap?{padding:"var(--List-padding)",marginInlineStart:"calc(-1 * var(--List-gap))",marginBlockStart:"calc(-1 * var(--List-gap))"}:{paddingInline:"var(--List-padding, var(--ListDivider-gap))",paddingBlock:"var(--List-padding)"}):{paddingBlock:"var(--List-padding, var(--ListDivider-gap))",paddingInline:"var(--List-padding)"}),(0,n.Z)({boxSizing:"border-box",borderRadius:"var(--List-radius)",listStyle:"none",display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column"},t.wrap&&{flexWrap:"wrap"},{flexGrow:1,position:"relative"},null==(r=e.variants[t.variant])?void 0:r[t.color],{"--unstable_List-borderWidth":"var(--variant-borderWidth, 0px)"},void 0!==l&&{"--List-radius":l},void 0!==o&&{"--List-padding":o},void 0!==i&&{"--List-padding":i})]});(0,o.Z)(i,{name:"JoyList",slot:"Root",overridesResolver:(e,t)=>t.root})({})},3419:function(e,t,r){r.d(t,{Z:function(){return u},M:function(){return c}});var n=r(87462),o=r(67294),a=r(40780);let i=o.createContext(!1),l=o.createContext(!1);var s=r(85893);let c={"--NestedList-marginRight":"0px","--NestedList-marginLeft":"0px","--NestedListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px"};var u=function(e){let{children:t,nested:r,row:c=!1,wrap:u=!1}=e,d=(0,s.jsx)(a.Z.Provider,{value:c,children:(0,s.jsx)(i.Provider,{value:u,children:o.Children.map(t,(e,r)=>o.isValidElement(e)?o.cloneElement(e,(0,n.Z)({},0===r&&{"data-first-child":""},r===o.Children.count(t)-1&&{"data-last-child":""})):e)})});return void 0===r?d:(0,s.jsx)(l.Provider,{value:r,children:d})}},40780:function(e,t,r){var n=r(67294);let o=n.createContext(!1);t.Z=o},39984:function(e,t,r){r.d(t,{r:function(){return s}});var n=r(87462);r(67294);var o=r(74312),a=r(26821);let i=(0,a.sI)("MuiListItem",["root","startAction","endAction","nested","nesting","sticky","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]),l=(0,a.sI)("MuiListItemButton",["root","horizontal","vertical","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","variantPlain","variantSoft","variantOutlined","variantSolid"]);r(85893);let s=(0,o.Z)("div")(({theme:e,ownerState:t})=>{var r,o,a,s,c;return(0,n.Z)({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon,WebkitTapHighlightColor:"transparent",boxSizing:"border-box",position:"relative",font:"inherit",display:"flex",flexDirection:"row",alignItems:"center",alignSelf:"stretch"},"vertical"===t.orientation&&{flexDirection:"column",justifyContent:"center"},{textAlign:"initial",textDecoration:"initial",backgroundColor:"initial",cursor:"pointer",marginInline:"var(--ListItemButton-marginInline)",marginBlock:"var(--ListItemButton-marginBlock)"},void 0===t["data-first-child"]&&{marginInlineStart:t.row?"var(--List-gap)":void 0,marginBlockStart:t.row?void 0:"var(--List-gap)"},{paddingBlock:"calc(var(--ListItem-paddingY) - var(--variant-borderWidth, 0px))",paddingInlineStart:"calc(var(--ListItem-paddingLeft) + var(--ListItem-startActionWidth, var(--unstable_startActionWidth, 0px)))",paddingInlineEnd:"calc(var(--ListItem-paddingRight) + var(--ListItem-endActionWidth, var(--unstable_endActionWidth, 0px)))",minBlockSize:"var(--ListItem-minHeight)",border:"1px solid transparent",borderRadius:"var(--ListItem-radius)",flex:"var(--unstable_ListItem-flex, none)",fontSize:"inherit",lineHeight:"inherit",minInlineSize:0,[e.focus.selector]:(0,n.Z)({},e.focus.default,{zIndex:1})},null==(r=e.variants[t.variant])?void 0:r[t.color],{[`.${i.root} > &`]:{"--unstable_ListItem-flex":"1 0 0%"},[`&.${l.selected}`]:(0,n.Z)({},null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color],{"--Icon-color":"currentColor"}),[`&:not(.${l.selected}, [aria-selected="true"])`]:{"&:hover":null==(a=e.variants[`${t.variant}Hover`])?void 0:a[t.color],"&:active":null==(s=e.variants[`${t.variant}Active`])?void 0:s[t.color]},[`&.${l.disabled}`]:(0,n.Z)({},null==(c=e.variants[`${t.variant}Disabled`])?void 0:c[t.color])})});(0,o.Z)(s,{name:"JoyListItemButton",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>(0,n.Z)({},!e.row&&{[`&.${l.selected}`]:{fontWeight:t.vars.fontWeight.md}}))},25359:function(e,t,r){r.d(t,{Z:function(){return j}});var n=r(63366),o=r(87462),a=r(67294),i=r(62908),l=r(58510),s=r(22760),c=r(89326),u=r(54895),d=r(22644),f=r(7333);function v(e,t){if(t.type===d.F.itemHover)return e;let r=(0,f.R$)(e,t);if(null===r.highlightedValue&&t.context.items.length>0)return(0,o.Z)({},r,{highlightedValue:t.context.items[0]});if(t.type===d.F.keyDown&&"Escape"===t.event.key)return(0,o.Z)({},r,{open:!1});if(t.type===d.F.blur){var n,a,i;if(!(null!=(n=t.context.listboxRef.current)&&n.contains(t.event.relatedTarget))){let e=null==(a=t.context.listboxRef.current)?void 0:a.getAttribute("id"),n=null==(i=t.event.relatedTarget)?void 0:i.getAttribute("aria-controls");return e&&n&&e===n?r:(0,o.Z)({},r,{open:!1,highlightedValue:t.context.items[0]})}}return r}var p=r(85241),m=r(96592),g=r(51633),h=r(12247),b=r(2900);let x={dispatch:()=>{},popupId:"",registerPopup:()=>{},registerTrigger:()=>{},state:{open:!0},triggerElement:null};var y=r(26558),S=r(85893);function Z(e){let{value:t,children:r}=e,{dispatch:n,getItemIndex:o,getItemState:i,registerHighlightChangeHandler:l,registerSelectionChangeHandler:s,registerItem:c,totalSubitemCount:u}=t,d=a.useMemo(()=>({dispatch:n,getItemState:i,getItemIndex:o,registerHighlightChangeHandler:l,registerSelectionChangeHandler:s}),[n,o,i,l,s]),f=a.useMemo(()=>({getItemIndex:o,registerItem:c,totalSubitemCount:u}),[c,o,u]);return(0,S.jsx)(h.s.Provider,{value:f,children:(0,S.jsx)(y.Z.Provider,{value:d,children:r})})}var k=r(53406),C=r(7293),w=r(50984),z=r(3419),I=r(43614),R=r(74312),P=r(20407),L=r(55907),D=r(2226),T=r(26821);function B(e){return(0,T.d6)("MuiMenu",e)}(0,T.sI)("MuiMenu",["root","listbox","expanded","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg"]);let O=["actions","children","color","component","disablePortal","keepMounted","id","invertedColors","onItemsChange","modifiers","variant","size","slots","slotProps"],M=e=>{let{open:t,variant:r,color:n,size:o}=e,a={root:["root",t&&"expanded",r&&`variant${(0,i.Z)(r)}`,n&&`color${(0,i.Z)(n)}`,o&&`size${(0,i.Z)(o)}`],listbox:["listbox"]};return(0,l.Z)(a,B,{})},E=(0,R.Z)(w.C,{name:"JoyMenu",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,n;let a=null==(r=e.variants[t.variant])?void 0:r[t.color];return[(0,o.Z)({"--focus-outline-offset":`calc(${e.vars.focus.thickness} * -1)`,"--ListItem-stickyBackground":(null==a?void 0:a.backgroundColor)||(null==a?void 0:a.background)||e.vars.palette.background.popup,"--ListItem-stickyTop":"calc(var(--List-padding, var(--ListDivider-gap)) * -1)"},z.M,{borderRadius:`var(--List-radius, ${e.vars.radius.sm})`,boxShadow:e.shadow.md,overflow:"auto",zIndex:`var(--unstable_popup-zIndex, ${e.vars.zIndex.popup})`},!(null!=a&&a.backgroundColor)&&{backgroundColor:e.vars.palette.background.popup}),"context"!==t.color&&t.invertedColors&&(null==(n=e.colorInversion[t.variant])?void 0:n[t.color])]}),$=a.forwardRef(function(e,t){var r;let i=(0,P.Z)({props:e,name:"JoyMenu"}),{actions:l,children:f,color:y="neutral",component:w,disablePortal:R=!1,keepMounted:T=!1,id:B,invertedColors:$=!1,onItemsChange:j,modifiers:H,variant:N="outlined",size:V="md",slots:W={},slotProps:A={}}=i,_=(0,n.Z)(i,O),{getColor:F}=(0,D.VT)(N),J=R?F(e.color,y):y,{contextValue:q,getListboxProps:U,dispatch:X,open:G,triggerElement:K}=function(e={}){var t,r;let{listboxRef:n,onItemsChange:i,id:l}=e,d=a.useRef(null),f=(0,s.Z)(d,n),y=null!=(t=(0,c.Z)(l))?t:"",{state:{open:S},dispatch:Z,triggerElement:k,registerPopup:C}=null!=(r=a.useContext(p.D))?r:x,w=a.useRef(S),{subitems:z,contextValue:I}=(0,h.Y)(),R=a.useMemo(()=>Array.from(z.keys()),[z]),P=a.useCallback(e=>{var t,r;return null==e?null:null!=(t=null==(r=z.get(e))?void 0:r.ref.current)?t:null},[z]),{dispatch:L,getRootProps:D,contextValue:T,state:{highlightedValue:B},rootRef:O}=(0,m.s)({disabledItemsFocusable:!0,focusManagement:"DOM",getItemDomElement:P,getInitialState:()=>({selectedValues:[],highlightedValue:null}),isItemDisabled:e=>{var t;return(null==z||null==(t=z.get(e))?void 0:t.disabled)||!1},items:R,getItemAsString:e=>{var t,r;return(null==(t=z.get(e))?void 0:t.label)||(null==(r=z.get(e))||null==(r=r.ref.current)?void 0:r.innerText)},rootRef:f,onItemsChange:i,reducerActionContext:{listboxRef:d},selectionMode:"none",stateReducer:v});(0,u.Z)(()=>{C(y)},[y,C]),a.useEffect(()=>{if(S&&B===R[0]&&!w.current){var e;null==(e=z.get(R[0]))||null==(e=e.ref)||null==(e=e.current)||e.focus()}},[S,B,z,R]),a.useEffect(()=>{var e,t;null!=(e=d.current)&&e.contains(document.activeElement)&&null!==B&&(null==z||null==(t=z.get(B))||null==(t=t.ref.current)||t.focus())},[B,z]);let M=e=>t=>{var r,n;null==(r=e.onBlur)||r.call(e,t),t.defaultMuiPrevented||null!=(n=d.current)&&n.contains(t.relatedTarget)||t.relatedTarget===k||Z({type:g.Q.blur,event:t})},E=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),t.defaultMuiPrevented||"Escape"!==t.key||Z({type:g.Q.escapeKeyDown,event:t})},$=(e={})=>({onBlur:M(e),onKeyDown:E(e)});return a.useDebugValue({subitems:z,highlightedValue:B}),{contextValue:(0,o.Z)({},I,T),dispatch:L,getListboxProps:(e={})=>{let t=(0,b.f)($,D);return(0,o.Z)({},t(e),{id:y,role:"menu"})},highlightedValue:B,listboxRef:O,menuItems:z,open:S,triggerElement:k}}({onItemsChange:j,id:B,listboxRef:t});a.useImperativeHandle(l,()=>({dispatch:X,resetHighlight:()=>X({type:d.F.resetHighlight,event:null})}),[X]);let Y=(0,o.Z)({},i,{disablePortal:R,invertedColors:$,color:J,variant:N,size:V,open:G,nesting:!1,row:!1}),Q=M(Y),ee=(0,o.Z)({},_,{component:w,slots:W,slotProps:A}),et=a.useMemo(()=>[{name:"offset",options:{offset:[0,4]}},...H||[]],[H]),er=(0,C.y)({elementType:E,getSlotProps:U,externalForwardedProps:ee,externalSlotProps:{},ownerState:Y,additionalProps:{anchorEl:K,open:G&&null!==K,disablePortal:R,keepMounted:T,modifiers:et},className:Q.root}),en=(0,S.jsx)(Z,{value:q,children:(0,S.jsx)(L.Yb,{variant:$?void 0:N,color:y,children:(0,S.jsx)(I.Z.Provider,{value:"menu",children:(0,S.jsx)(z.Z,{nested:!0,children:f})})})});return $&&(en=(0,S.jsx)(D.do,{variant:N,children:en})),en=(0,S.jsx)(E,(0,o.Z)({},er,!(null!=(r=i.slots)&&r.root)&&{as:k.r,slots:{root:w||"ul"}},{children:en})),R?en:(0,S.jsx)(D.ZP.Provider,{value:void 0,children:en})});var j=$},59562:function(e,t,r){r.d(t,{Z:function(){return L}});var n=r(63366),o=r(87462),a=r(67294),i=r(22760),l=r(85241),s=r(51633),c=r(70758),u=r(2900),d=r(58510),f=r(62908),v=r(26821);function p(e){return(0,v.d6)("MuiMenuButton",e)}(0,v.sI)("MuiMenuButton",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]);var m=r(20407),g=r(30220),h=r(48699),b=r(66478),x=r(74312),y=r(2226),S=r(89996),Z=r(85893);let k=["children","color","component","disabled","endDecorator","loading","loadingPosition","loadingIndicator","size","slotProps","slots","startDecorator","variant"],C=e=>{let{color:t,disabled:r,fullWidth:n,size:o,variant:a,loading:i}=e,l={root:["root",r&&"disabled",n&&"fullWidth",a&&`variant${(0,f.Z)(a)}`,t&&`color${(0,f.Z)(t)}`,o&&`size${(0,f.Z)(o)}`,i&&"loading"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],loadingIndicatorCenter:["loadingIndicatorCenter"]};return(0,d.Z)(l,p,{})},w=(0,x.Z)("button",{name:"JoyMenuButton",slot:"Root",overridesResolver:(e,t)=>t.root})(b.f),z=(0,x.Z)("span",{name:"JoyMenuButton",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Icon-margin":"0 0 0 calc(var(--Button-gap) / -2)","--CircularProgress-margin":"0 0 0 calc(var(--Button-gap) / -2)",display:"inherit",marginRight:"var(--Button-gap)"}),I=(0,x.Z)("span",{name:"JoyMenuButton",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--Icon-margin":"0 calc(var(--Button-gap) / -2) 0 0","--CircularProgress-margin":"0 calc(var(--Button-gap) / -2) 0 0",display:"inherit",marginLeft:"var(--Button-gap)"}),R=(0,x.Z)("span",{name:"JoyMenuButton",slot:"LoadingCenter",overridesResolver:(e,t)=>t.loadingIndicatorCenter})(({theme:e,ownerState:t})=>{var r,n;return(0,o.Z)({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(r=e.variants[t.variant])||null==(r=r[t.color])?void 0:r.color},t.disabled&&{color:null==(n=e.variants[`${t.variant}Disabled`])||null==(n=n[t.color])?void 0:n.color})}),P=a.forwardRef(function(e,t){var r;let d=(0,m.Z)({props:e,name:"JoyMenuButton"}),{children:f,color:v="neutral",component:p,disabled:b=!1,endDecorator:x,loading:P=!1,loadingPosition:L="center",loadingIndicator:D,size:T="md",slotProps:B={},slots:O={},startDecorator:M,variant:E="outlined"}=d,$=(0,n.Z)(d,k),j=a.useContext(S.Z),H=e.variant||j.variant||E,N=e.size||j.size||T,{getColor:V}=(0,y.VT)(H),W=V(e.color,j.color||v),A=null!=(r=e.disabled)?r:j.disabled||b||P,{getRootProps:_,open:F,active:J}=function(e={}){let{disabled:t=!1,focusableWhenDisabled:r,rootRef:n}=e,d=a.useContext(l.D);if(null===d)throw Error("useMenuButton: no menu context available.");let{state:f,dispatch:v,registerTrigger:p,popupId:m}=d,{getRootProps:g,rootRef:h,active:b}=(0,c.U)({disabled:t,focusableWhenDisabled:r,rootRef:n}),x=(0,i.Z)(h,p),y=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.defaultMuiPrevented||v({type:s.Q.toggle,event:t})},S=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),t.defaultMuiPrevented||"ArrowDown"!==t.key&&"ArrowUp"!==t.key||(t.preventDefault(),v({type:s.Q.open,event:t}))},Z=(e={})=>({onClick:y(e),onKeyDown:S(e)});return{active:b,getRootProps:(e={})=>{let t=(0,u.f)(g,Z);return(0,o.Z)({},t(e),{"aria-haspopup":"menu","aria-expanded":f.open,"aria-controls":m,ref:x})},open:f.open,rootRef:x}}({rootRef:t,disabled:A}),q=null!=D?D:(0,Z.jsx)(h.Z,(0,o.Z)({},"context"!==W&&{color:W},{thickness:{sm:2,md:3,lg:4}[N]||3})),U=(0,o.Z)({},d,{active:J,color:W,disabled:A,open:F,size:N,variant:H}),X=C(U),G=(0,o.Z)({},$,{component:p,slots:O,slotProps:B}),[K,Y]=(0,g.Z)("root",{elementType:w,getSlotProps:_,externalForwardedProps:G,ref:t,ownerState:U,className:X.root}),[Q,ee]=(0,g.Z)("startDecorator",{className:X.startDecorator,elementType:z,externalForwardedProps:G,ownerState:U}),[et,er]=(0,g.Z)("endDecorator",{className:X.endDecorator,elementType:I,externalForwardedProps:G,ownerState:U}),[en,eo]=(0,g.Z)("loadingIndicatorCenter",{className:X.loadingIndicatorCenter,elementType:R,externalForwardedProps:G,ownerState:U});return(0,Z.jsxs)(K,(0,o.Z)({},Y,{children:[(M||P&&"start"===L)&&(0,Z.jsx)(Q,(0,o.Z)({},ee,{children:P&&"start"===L?q:M})),f,P&&"center"===L&&(0,Z.jsx)(en,(0,o.Z)({},eo,{children:q})),(x||P&&"end"===L)&&(0,Z.jsx)(et,(0,o.Z)({},er,{children:P&&"end"===L?q:x}))]}))});var L=P},7203:function(e,t,r){r.d(t,{Z:function(){return B}});var n=r(87462),o=r(63366),a=r(67294),i=r(62908),l=r(58510),s=r(89326),c=r(22760),u=r(70758),d=r(43069),f=r(51633),v=r(85241),p=r(2900),m=r(14072);function g(e){return`menu-item-${e.size}`}let h={dispatch:()=>{},popupId:"",registerPopup:()=>{},registerTrigger:()=>{},state:{open:!0},triggerElement:null};var b=r(39984),x=r(74312),y=r(20407),S=r(2226),Z=r(55907),k=r(26821);function C(e){return(0,k.d6)("MuiMenuItem",e)}(0,k.sI)("MuiMenuItem",["root","focusVisible","disabled","selected","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]);var w=r(40780);let z=a.createContext("horizontal");var I=r(30220),R=r(85893);let P=["children","disabled","component","selected","color","orientation","variant","slots","slotProps"],L=e=>{let{focusVisible:t,disabled:r,selected:n,color:o,variant:a}=e,s={root:["root",t&&"focusVisible",r&&"disabled",n&&"selected",o&&`color${(0,i.Z)(o)}`,a&&`variant${(0,i.Z)(a)}`]},c=(0,l.Z)(s,C,{});return c},D=(0,x.Z)(b.r,{name:"JoyMenuItem",slot:"Root",overridesResolver:(e,t)=>t.root})({}),T=a.forwardRef(function(e,t){let r=(0,y.Z)({props:e,name:"JoyMenuItem"}),i=a.useContext(w.Z),{children:l,disabled:b=!1,component:x="li",selected:k=!1,color:C="neutral",orientation:T="horizontal",variant:B="plain",slots:O={},slotProps:M={}}=r,E=(0,o.Z)(r,P),{variant:$=B,color:j=C}=(0,Z.yP)(e.variant,e.color),{getColor:H}=(0,S.VT)($),N=H(e.color,j),{getRootProps:V,disabled:W,focusVisible:A}=function(e){var t;let{disabled:r=!1,id:o,rootRef:i,label:l}=e,b=(0,s.Z)(o),x=a.useRef(null),y=a.useMemo(()=>({disabled:r,id:null!=b?b:"",label:l,ref:x}),[r,b,l]),{dispatch:S}=null!=(t=a.useContext(v.D))?t:h,{getRootProps:Z,highlighted:k,rootRef:C}=(0,d.J)({item:b}),{index:w,totalItemCount:z}=(0,m.B)(null!=b?b:g,y),{getRootProps:I,focusVisible:R,rootRef:P}=(0,u.U)({disabled:r,focusableWhenDisabled:!0}),L=(0,c.Z)(C,P,i,x);a.useDebugValue({id:b,highlighted:k,disabled:r,label:l});let D=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.defaultMuiPrevented||S({type:f.Q.close,event:t})},T=(e={})=>(0,n.Z)({},e,{onClick:D(e)});function B(e={}){let t=(0,p.f)(T,(0,p.f)(I,Z));return(0,n.Z)({},t(e),{ref:L,role:"menuitem"})}return void 0===b?{getRootProps:B,disabled:!1,focusVisible:R,highlighted:!1,index:-1,totalItemCount:0,rootRef:L}:{getRootProps:B,disabled:r,focusVisible:R,highlighted:k,index:w,totalItemCount:z,rootRef:L}}({disabled:b,rootRef:t}),_=(0,n.Z)({},r,{component:x,color:N,disabled:W,focusVisible:A,orientation:T,selected:k,row:i,variant:$}),F=L(_),J=(0,n.Z)({},E,{component:x,slots:O,slotProps:M}),[q,U]=(0,I.Z)("root",{ref:t,elementType:D,getSlotProps:V,externalForwardedProps:J,className:F.root,ownerState:_});return(0,R.jsx)(z.Provider,{value:T,children:(0,R.jsx)(q,(0,n.Z)({},U,{children:l}))})});var B=T},57814:function(e,t,r){r.d(t,{Z:function(){return z}});var n=r(87462),o=r(63366),a=r(67294),i=r(58510),l=r(89326),s=r(22760),c=r(43069),u=r(14072),d=r(30220),f=r(39984),v=r(74312),p=r(20407),m=r(2226),g=r(55907),h=r(26821);function b(e){return(0,h.d6)("MuiOption",e)}let x=(0,h.sI)("MuiOption",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","highlighted","variantPlain","variantSoft","variantOutlined","variantSolid"]);var y=r(40780),S=r(85893);let Z=["component","children","disabled","value","label","variant","color","slots","slotProps"],k=e=>{let{disabled:t,highlighted:r,selected:n}=e;return(0,i.Z)({root:["root",t&&"disabled",r&&"highlighted",n&&"selected"]},b,{})},C=(0,v.Z)(f.r,{name:"JoyOption",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r;let n=null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color];return{[`&.${x.highlighted}:not([aria-selected="true"])`]:{backgroundColor:null==n?void 0:n.backgroundColor}}}),w=a.forwardRef(function(e,t){var r;let i=(0,p.Z)({props:e,name:"JoyOption"}),{component:f="li",children:v,disabled:h=!1,value:b,label:x,variant:w="plain",color:z="neutral",slots:I={},slotProps:R={}}=i,P=(0,o.Z)(i,Z),L=a.useContext(y.Z),{variant:D=w,color:T=z}=(0,g.yP)(e.variant,e.color),B=a.useRef(null),O=(0,s.Z)(B,t),M=null!=x?x:"string"==typeof v?v:null==(r=B.current)?void 0:r.innerText,{getRootProps:E,selected:$,highlighted:j,index:H}=function(e){let{value:t,label:r,disabled:o,rootRef:i,id:d}=e,{getRootProps:f,rootRef:v,highlighted:p,selected:m}=(0,c.J)({item:t}),g=(0,l.Z)(d),h=a.useRef(null),b=a.useMemo(()=>({disabled:o,label:r,value:t,ref:h,id:g}),[o,r,t,g]),{index:x}=(0,u.B)(t,b),y=(0,s.Z)(i,h,v);return{getRootProps:(e={})=>(0,n.Z)({},e,f(e),{id:g,ref:y,role:"option","aria-selected":m}),highlighted:p,index:x,selected:m,rootRef:y}}({disabled:h,label:M,value:b,rootRef:O}),{getColor:N}=(0,m.VT)(D),V=N(e.color,T),W=(0,n.Z)({},i,{disabled:h,selected:$,highlighted:j,index:H,component:f,variant:D,color:V,row:L}),A=k(W),_=(0,n.Z)({},P,{component:f,slots:I,slotProps:R}),[F,J]=(0,d.Z)("root",{ref:t,getSlotProps:E,elementType:C,externalForwardedProps:_,className:A.root,ownerState:W});return(0,S.jsx)(F,(0,n.Z)({},J,{children:v}))});var z=w},99056:function(e,t,r){r.d(t,{Z:function(){return el}});var n,o=r(63366),a=r(87462),i=r(67294),l=r(90512),s=r(62908),c=r(22760),u=r(53406),d=r(89326),f=r(54895),v=r(70758);let p={buttonClick:"buttonClick"};var m=r(96592);let g=e=>{let{label:t,value:r}=e;return"string"==typeof t?t:"string"==typeof r?r:String(e)};var h=r(12247),b=r(7333),x=r(22644);function y(e,t){var r,n,o;let{open:i}=e,{context:{selectionMode:l}}=t;if(t.type===p.buttonClick){let n=null!=(r=e.selectedValues[0])?r:(0,b.Rl)(null,"start",t.context);return(0,a.Z)({},e,{open:!i,highlightedValue:i?null:n})}let s=(0,b.R$)(e,t);switch(t.type){case x.F.keyDown:if(e.open){if("Escape"===t.event.key||"single"===l&&("Enter"===t.event.key||" "===t.event.key))return(0,a.Z)({},s,{open:!1})}else{if("Enter"===t.event.key||" "===t.event.key||"ArrowDown"===t.event.key)return(0,a.Z)({},e,{open:!0,highlightedValue:null!=(n=e.selectedValues[0])?n:(0,b.Rl)(null,"start",t.context)});if("ArrowUp"===t.event.key)return(0,a.Z)({},e,{open:!0,highlightedValue:null!=(o=e.selectedValues[0])?o:(0,b.Rl)(null,"end",t.context)})}break;case x.F.itemClick:if("single"===l)return(0,a.Z)({},s,{open:!1});break;case x.F.blur:return(0,a.Z)({},s,{open:!1})}return s}var S=r(2900);let Z={clip:"rect(1px, 1px, 1px, 1px)",clipPath:"inset(50%)",height:"1px",width:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",left:"50%",bottom:0},k=()=>{};function C(e){return Array.isArray(e)?0===e.length?"":JSON.stringify(e.map(e=>e.value)):(null==e?void 0:e.value)==null?"":"string"==typeof e.value||"number"==typeof e.value?e.value:JSON.stringify(e.value)}function w(e){e.preventDefault()}var z=r(26558),I=r(85893);function R(e){let{value:t,children:r}=e,{dispatch:n,getItemIndex:o,getItemState:a,registerHighlightChangeHandler:l,registerSelectionChangeHandler:s,registerItem:c,totalSubitemCount:u}=t,d=i.useMemo(()=>({dispatch:n,getItemState:a,getItemIndex:o,registerHighlightChangeHandler:l,registerSelectionChangeHandler:s}),[n,o,a,l,s]),f=i.useMemo(()=>({getItemIndex:o,registerItem:c,totalSubitemCount:u}),[c,o,u]);return(0,I.jsx)(h.s.Provider,{value:f,children:(0,I.jsx)(z.Z.Provider,{value:d,children:r})})}var P=r(58510),L=r(50984),D=r(3419),T=r(43614),B=r(74312),O=r(20407),M=r(30220),E=r(26821);function $(e){return(0,E.d6)("MuiSvgIcon",e)}(0,E.sI)("MuiSvgIcon",["root","colorInherit","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","fontSizeInherit","fontSizeXs","fontSizeSm","fontSizeMd","fontSizeLg","fontSizeXl","fontSizeXl2","fontSizeXl3","fontSizeXl4","sizeSm","sizeMd","sizeLg"]);let j=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox","size","slots","slotProps"],H=e=>{let{color:t,size:r,fontSize:n}=e,o={root:["root",t&&"inherit"!==t&&`color${(0,s.Z)(t)}`,r&&`size${(0,s.Z)(r)}`,n&&`fontSize${(0,s.Z)(n)}`]};return(0,P.Z)(o,$,{})},N={sm:"xl",md:"xl2",lg:"xl3"},V=(0,B.Z)("svg",{name:"JoySvgIcon",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r;return(0,a.Z)({},t.instanceSize&&{"--Icon-fontSize":e.vars.fontSize[N[t.instanceSize]]},t.instanceFontSize&&"inherit"!==t.instanceFontSize&&{"--Icon-fontSize":e.vars.fontSize[t.instanceFontSize]},{userSelect:"none",margin:"var(--Icon-margin)",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,fontSize:`var(--Icon-fontSize, ${e.vars.fontSize[N[t.size]]||"unset"})`},t.fontSize&&"inherit"!==t.fontSize&&{fontSize:`var(--Icon-fontSize, ${e.fontSize[t.fontSize]})`},!t.htmlColor&&(0,a.Z)({color:`var(--Icon-color, ${e.vars.palette.text.icon})`},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"context"!==t.color&&e.vars.palette[t.color]&&{color:`rgba(${null==(r=e.vars.palette[t.color])?void 0:r.mainChannel} / 1)`}))}),W=i.forwardRef(function(e,t){let r=(0,O.Z)({props:e,name:"JoySvgIcon"}),{children:n,className:s,color:c,component:u="svg",fontSize:d,htmlColor:f,inheritViewBox:v=!1,titleAccess:p,viewBox:m="0 0 24 24",size:g="md",slots:h={},slotProps:b={}}=r,x=(0,o.Z)(r,j),y=i.isValidElement(n)&&"svg"===n.type,S=(0,a.Z)({},r,{color:c,component:u,size:g,instanceSize:e.size,fontSize:d,instanceFontSize:e.fontSize,inheritViewBox:v,viewBox:m,hasSvgAsChild:y}),Z=H(S),k=(0,a.Z)({},x,{component:u,slots:h,slotProps:b}),[C,w]=(0,M.Z)("root",{ref:t,className:(0,l.Z)(Z.root,s),elementType:V,externalForwardedProps:k,ownerState:S,additionalProps:(0,a.Z)({color:f,focusable:!1},p&&{role:"img"},!p&&{"aria-hidden":!0},!v&&{viewBox:m},y&&n.props)});return(0,I.jsxs)(C,(0,a.Z)({},w,{children:[y?n.props.children:n,p?(0,I.jsx)("title",{children:p}):null]}))});var A=function(e,t){function r(r,n){return(0,I.jsx)(W,(0,a.Z)({"data-testid":`${t}Icon`,ref:n},r,{children:e}))}return r.muiName=W.muiName,i.memo(i.forwardRef(r))}((0,I.jsx)("path",{d:"m12 5.83 2.46 2.46c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L12.7 3.7a.9959.9959 0 0 0-1.41 0L8.12 6.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 5.83zm0 12.34-2.46-2.46a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l3.17 3.18c.39.39 1.02.39 1.41 0l3.17-3.17c.39-.39.39-1.02 0-1.41a.9959.9959 0 0 0-1.41 0L12 18.17z"}),"Unfold"),_=r(2226),F=r(58859);function J(e){return(0,E.d6)("MuiSelect",e)}let q=(0,E.sI)("MuiSelect",["root","button","indicator","startDecorator","endDecorator","popper","listbox","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","focusVisible","disabled","expanded"]);var U=r(76043),X=r(55907);let G=["action","autoFocus","children","defaultValue","defaultListboxOpen","disabled","getSerializedValue","placeholder","listboxId","listboxOpen","onChange","onListboxOpenChange","onClose","renderValue","required","value","size","variant","color","startDecorator","endDecorator","indicator","aria-describedby","aria-label","aria-labelledby","id","name","slots","slotProps"];function K(e){var t;return null!=(t=null==e?void 0:e.label)?t:""}let Y=[{name:"offset",options:{offset:[0,4]}},{name:"equalWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`}}],Q=e=>{let{color:t,disabled:r,focusVisible:n,size:o,variant:a,open:i}=e,l={root:["root",r&&"disabled",n&&"focusVisible",i&&"expanded",a&&`variant${(0,s.Z)(a)}`,t&&`color${(0,s.Z)(t)}`,o&&`size${(0,s.Z)(o)}`],button:["button"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],indicator:["indicator",i&&"expanded"],listbox:["listbox",i&&"expanded",r&&"disabled"]};return(0,P.Z)(l,J,{})},ee=(0,B.Z)("div",{name:"JoySelect",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,n,o,i;let l=null==(r=e.variants[`${t.variant}`])?void 0:r[t.color],{borderRadius:s}=(0,F.V)({theme:e,ownerState:t},["borderRadius"]);return[(0,a.Z)({"--Select-radius":e.vars.radius.sm,"--Select-gap":"0.5rem","--Select-placeholderOpacity":.64,"--Select-decoratorColor":e.vars.palette.text.icon,"--Select-focusedThickness":e.vars.focus.thickness},"context"===t.color?{"--Select-focusedHighlight":e.vars.palette.focusVisible}:{"--Select-focusedHighlight":null==(n=e.vars.palette["neutral"===t.color?"primary":t.color])?void 0:n[500]},{"--Select-indicatorColor":null!=l&&l.backgroundColor?null==l?void 0:l.color:e.vars.palette.text.tertiary},"sm"===t.size&&{"--Select-minHeight":"2rem","--Select-paddingInline":"0.5rem","--Select-decoratorChildHeight":"min(1.5rem, var(--Select-minHeight))","--Icon-fontSize":e.vars.fontSize.xl},"md"===t.size&&{"--Select-minHeight":"2.5rem","--Select-paddingInline":"0.75rem","--Select-decoratorChildHeight":"min(2rem, var(--Select-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},"lg"===t.size&&{"--Select-minHeight":"3rem","--Select-paddingInline":"1rem","--Select-decoratorChildHeight":"min(2.375rem, var(--Select-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},{"--Select-decoratorChildOffset":"min(calc(var(--Select-paddingInline) - (var(--Select-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Select-decoratorChildHeight)) / 2), var(--Select-paddingInline))","--_Select-paddingBlock":"max((var(--Select-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Select-decoratorChildHeight)) / 2, 0px)","--Select-decoratorChildRadius":"max(var(--Select-radius) - var(--variant-borderWidth, 0px) - var(--_Select-paddingBlock), min(var(--_Select-paddingBlock) + var(--variant-borderWidth, 0px), var(--Select-radius) / 2))","--Button-minHeight":"var(--Select-decoratorChildHeight)","--IconButton-size":"var(--Select-decoratorChildHeight)","--Button-radius":"var(--Select-decoratorChildRadius)","--IconButton-radius":"var(--Select-decoratorChildRadius)",boxSizing:"border-box"},"plain"!==t.variant&&{boxShadow:e.shadow.xs},{minWidth:0,minHeight:"var(--Select-minHeight)",position:"relative",display:"flex",alignItems:"center",borderRadius:"var(--Select-radius)",cursor:"pointer"},!(null!=l&&l.backgroundColor)&&{backgroundColor:e.vars.palette.background.surface},t.size&&{paddingBlock:({sm:2,md:3,lg:4})[t.size]},{paddingInline:"var(--Select-paddingInline)"},e.typography[`body-${t.size}`],l,{"&::before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)"},[`&.${q.focusVisible}`]:{"--Select-indicatorColor":null==l?void 0:l.color,"&::before":{boxShadow:"inset 0 0 0 var(--Select-focusedThickness) var(--Select-focusedHighlight)"}},[`&.${q.disabled}`]:{"--Select-indicatorColor":"inherit"}}),{"&:hover":null==(o=e.variants[`${t.variant}Hover`])?void 0:o[t.color],[`&.${q.disabled}`]:null==(i=e.variants[`${t.variant}Disabled`])?void 0:i[t.color]},void 0!==s&&{"--Select-radius":s}]}),et=(0,B.Z)("button",{name:"JoySelect",slot:"Button",overridesResolver:(e,t)=>t.button})(({ownerState:e})=>(0,a.Z)({border:0,outline:0,background:"none",padding:0,fontSize:"inherit",color:"inherit",alignSelf:"stretch",display:"flex",alignItems:"center",flex:1,fontFamily:"inherit",cursor:"pointer",whiteSpace:"nowrap",overflow:"hidden"},(null===e.value||void 0===e.value)&&{opacity:"var(--Select-placeholderOpacity)"},{"&::before":{content:'""',display:"block",position:"absolute",top:"calc(-1 * var(--variant-borderWidth, 0px))",left:"calc(-1 * var(--variant-borderWidth, 0px))",right:"calc(-1 * var(--variant-borderWidth, 0px))",bottom:"calc(-1 * var(--variant-borderWidth, 0px))",borderRadius:"var(--Select-radius)"}})),er=(0,B.Z)(L.C,{name:"JoySelect",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e,ownerState:t})=>{var r;let n="context"===t.color?void 0:null==(r=e.variants[t.variant])?void 0:r[t.color];return(0,a.Z)({"--focus-outline-offset":`calc(${e.vars.focus.thickness} * -1)`,"--ListItem-stickyBackground":(null==n?void 0:n.backgroundColor)||(null==n?void 0:n.background)||e.vars.palette.background.popup,"--ListItem-stickyTop":"calc(var(--List-padding, var(--ListDivider-gap)) * -1)"},D.M,{minWidth:"max-content",maxHeight:"44vh",overflow:"auto",outline:0,boxShadow:e.shadow.md,borderRadius:`var(--List-radius, ${e.vars.radius.sm})`,zIndex:`var(--unstable_popup-zIndex, ${e.vars.zIndex.popup})`},!(null!=n&&n.backgroundColor)&&{backgroundColor:e.vars.palette.background.popup})}),en=(0,B.Z)("span",{name:"JoySelect",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Button-margin":"0 0 0 calc(var(--Select-decoratorChildOffset) * -1)","--IconButton-margin":"0 0 0 calc(var(--Select-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Select-paddingInline) / -4)",display:"inherit",alignItems:"center",color:"var(--Select-decoratorColor)",marginInlineEnd:"var(--Select-gap)"}),eo=(0,B.Z)("span",{name:"JoySelect",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--Button-margin":"0 calc(var(--Select-decoratorChildOffset) * -1) 0 0","--IconButton-margin":"0 calc(var(--Select-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Select-paddingInline) / -4) 0 0",display:"inherit",alignItems:"center",color:"var(--Select-decoratorColor)",marginInlineStart:"var(--Select-gap)"}),ea=(0,B.Z)("span",{name:"JoySelect",slot:"Indicator"})(({ownerState:e,theme:t})=>(0,a.Z)({},"sm"===e.size&&{"--Icon-fontSize":t.vars.fontSize.lg},"md"===e.size&&{"--Icon-fontSize":t.vars.fontSize.xl},"lg"===e.size&&{"--Icon-fontSize":t.vars.fontSize.xl2},{"--Icon-color":"neutral"!==e.color||"solid"===e.variant?"currentColor":t.vars.palette.text.icon,display:"inherit",alignItems:"center",marginInlineStart:"var(--Select-gap)",marginInlineEnd:"calc(var(--Select-paddingInline) / -4)",[`.${q.endDecorator} + &`]:{marginInlineStart:"calc(var(--Select-gap) / 2)"},[`&.${q.expanded}, .${q.disabled} > &`]:{"--Icon-color":"currentColor"}})),ei=i.forwardRef(function(e,t){var r,s,b,x,z,P,L;let B=(0,O.Z)({props:e,name:"JoySelect"}),{action:E,autoFocus:$,children:j,defaultValue:H,defaultListboxOpen:N=!1,disabled:V,getSerializedValue:W,placeholder:F,listboxId:J,listboxOpen:ei,onChange:el,onListboxOpenChange:es,onClose:ec,renderValue:eu,required:ed=!1,value:ef,size:ev="md",variant:ep="outlined",color:em="neutral",startDecorator:eg,endDecorator:eh,indicator:eb=n||(n=(0,I.jsx)(A,{})),"aria-describedby":ex,"aria-label":ey,"aria-labelledby":eS,id:eZ,name:ek,slots:eC={},slotProps:ew={}}=B,ez=(0,o.Z)(B,G),eI=i.useContext(U.Z),eR=null!=(r=null!=(s=e.disabled)?s:null==eI?void 0:eI.disabled)?r:V,eP=null!=(b=null!=(x=e.size)?x:null==eI?void 0:eI.size)?b:ev,{getColor:eL}=(0,_.VT)(ep),eD=eL(e.color,null!=eI&&eI.error?"danger":null!=(z=null==eI?void 0:eI.color)?z:em),eT=null!=eu?eu:K,[eB,eO]=i.useState(null),eM=i.useRef(null),eE=i.useRef(null),e$=i.useRef(null),ej=(0,c.Z)(t,eM);i.useImperativeHandle(E,()=>({focusVisible:()=>{var e;null==(e=eE.current)||e.focus()}}),[]),i.useEffect(()=>{eO(eM.current)},[]),i.useEffect(()=>{$&&eE.current.focus()},[$]);let eH=i.useCallback(e=>{null==es||es(e),e||null==ec||ec()},[ec,es]),{buttonActive:eN,buttonFocusVisible:eV,contextValue:eW,disabled:eA,getButtonProps:e_,getListboxProps:eF,getHiddenInputProps:eJ,getOptionMetadata:eq,open:eU,value:eX}=function(e){let t,r,n;let{areOptionsEqual:o,buttonRef:l,defaultOpen:s=!1,defaultValue:u,disabled:b=!1,listboxId:x,listboxRef:z,multiple:I=!1,name:R,required:P,onChange:L,onHighlightChange:D,onOpenChange:T,open:B,options:O,getOptionAsString:M=g,getSerializedValue:E=C,value:$}=e,j=i.useRef(null),H=(0,c.Z)(l,j),N=i.useRef(null),V=(0,d.Z)(x);void 0===$&&void 0===u?t=[]:void 0!==u&&(t=I?u:null==u?[]:[u]);let W=i.useMemo(()=>{if(void 0!==$)return I?$:null==$?[]:[$]},[$,I]),{subitems:A,contextValue:_}=(0,h.Y)(),F=i.useMemo(()=>null!=O?new Map(O.map((e,t)=>[e.value,{value:e.value,label:e.label,disabled:e.disabled,ref:i.createRef(),id:`${V}_${t}`}])):A,[O,A,V]),J=(0,c.Z)(z,N),{getRootProps:q,active:U,focusVisible:X,rootRef:G}=(0,v.U)({disabled:b,rootRef:H}),K=i.useMemo(()=>Array.from(F.keys()),[F]),Y=i.useCallback(e=>{if(void 0!==o){let t=K.find(t=>o(t,e));return F.get(t)}return F.get(e)},[F,o,K]),Q=i.useCallback(e=>{var t;let r=Y(e);return null!=(t=null==r?void 0:r.disabled)&&t},[Y]),ee=i.useCallback(e=>{let t=Y(e);return t?M(t):""},[Y,M]),et=i.useMemo(()=>({selectedValues:W,open:B}),[W,B]),er=i.useCallback(e=>{var t;return null==(t=F.get(e))?void 0:t.id},[F]),en=i.useCallback((e,t)=>{if(I)null==L||L(e,t);else{var r;null==L||L(e,null!=(r=t[0])?r:null)}},[I,L]),eo=i.useCallback((e,t)=>{null==D||D(e,null!=t?t:null)},[D]),ea=i.useCallback((e,t,r)=>{if("open"===t&&(null==T||T(r),!1===r&&(null==e?void 0:e.type)!=="blur")){var n;null==(n=j.current)||n.focus()}},[T]),ei={getInitialState:()=>{var e;return{highlightedValue:null,selectedValues:null!=(e=t)?e:[],open:s}},getItemId:er,controlledProps:et,itemComparer:o,isItemDisabled:Q,rootRef:G,onChange:en,onHighlightChange:eo,onStateChange:ea,reducerActionContext:i.useMemo(()=>({multiple:I}),[I]),items:K,getItemAsString:ee,selectionMode:I?"multiple":"single",stateReducer:y},{dispatch:el,getRootProps:es,contextValue:ec,state:{open:eu,highlightedValue:ed,selectedValues:ef},rootRef:ev}=(0,m.s)(ei),ep=e=>t=>{var r;if(null==e||null==(r=e.onMouseDown)||r.call(e,t),!t.defaultMuiPrevented){let e={type:p.buttonClick,event:t};el(e)}};(0,f.Z)(()=>{if(null!=ed){var e;let t=null==(e=Y(ed))?void 0:e.ref;if(!N.current||!(null!=t&&t.current))return;let r=N.current.getBoundingClientRect(),n=t.current.getBoundingClientRect();n.topr.bottom&&(N.current.scrollTop+=n.bottom-r.bottom)}},[ed,Y]);let em=i.useCallback(e=>Y(e),[Y]),eg=(e={})=>(0,a.Z)({},e,{onMouseDown:ep(e),ref:ev,role:"combobox","aria-expanded":eu,"aria-controls":V});i.useDebugValue({selectedOptions:ef,highlightedOption:ed,open:eu});let eh=i.useMemo(()=>(0,a.Z)({},ec,_),[ec,_]);if(r=e.multiple?ef:ef.length>0?ef[0]:null,I)n=r.map(e=>em(e)).filter(e=>void 0!==e);else{var eb;n=null!=(eb=em(r))?eb:null}return{buttonActive:U,buttonFocusVisible:X,buttonRef:G,contextValue:eh,disabled:b,dispatch:el,getButtonProps:(e={})=>{let t=(0,S.f)(q,es),r=(0,S.f)(t,eg);return r(e)},getHiddenInputProps:(e={})=>(0,a.Z)({name:R,tabIndex:-1,"aria-hidden":!0,required:!!P||void 0,value:E(n),onChange:k,style:Z},e),getListboxProps:(e={})=>(0,a.Z)({},e,{id:V,role:"listbox","aria-multiselectable":I?"true":void 0,ref:J,onMouseDown:w}),getOptionMetadata:em,listboxRef:ev,open:eu,options:K,value:r,highlightedOption:ed}}({buttonRef:eE,defaultOpen:N,defaultValue:H,disabled:eR,getSerializedValue:W,listboxId:J,multiple:!1,name:ek,required:ed,onChange:el,onOpenChange:eH,open:ei,value:ef}),eG=(0,a.Z)({},B,{active:eN,defaultListboxOpen:N,disabled:eA,focusVisible:eV,open:eU,renderValue:eT,value:eX,size:eP,variant:ep,color:eD}),eK=Q(eG),eY=(0,a.Z)({},ez,{slots:eC,slotProps:ew}),eQ=i.useMemo(()=>{var e;return null!=(e=eq(eX))?e:null},[eq,eX]),[e0,e1]=(0,M.Z)("root",{ref:ej,className:eK.root,elementType:ee,externalForwardedProps:eY,ownerState:eG}),[e2,e6]=(0,M.Z)("button",{additionalProps:{"aria-describedby":null!=ex?ex:null==eI?void 0:eI["aria-describedby"],"aria-label":ey,"aria-labelledby":null!=eS?eS:null==eI?void 0:eI.labelId,"aria-required":ed?"true":void 0,id:null!=eZ?eZ:null==eI?void 0:eI.htmlFor,name:ek},className:eK.button,elementType:et,externalForwardedProps:eY,getSlotProps:e_,ownerState:eG}),[e5,e4]=(0,M.Z)("listbox",{additionalProps:{ref:e$,anchorEl:eB,open:eU,placement:"bottom",keepMounted:!0},className:eK.listbox,elementType:er,externalForwardedProps:eY,getSlotProps:eF,ownerState:(0,a.Z)({},eG,{nesting:!1,row:!1,wrap:!1}),getSlotOwnerState:e=>({size:e.size||eP,variant:e.variant||ep,color:e.color||(e.disablePortal?eD:em),disableColorInversion:!e.disablePortal})}),[e9,e3]=(0,M.Z)("startDecorator",{className:eK.startDecorator,elementType:en,externalForwardedProps:eY,ownerState:eG}),[e8,e7]=(0,M.Z)("endDecorator",{className:eK.endDecorator,elementType:eo,externalForwardedProps:eY,ownerState:eG}),[te,tt]=(0,M.Z)("indicator",{className:eK.indicator,elementType:ea,externalForwardedProps:eY,ownerState:eG}),tr=i.useMemo(()=>[...Y,...e4.modifiers||[]],[e4.modifiers]),tn=null;return eB&&(tn=(0,I.jsx)(e5,(0,a.Z)({},e4,{className:(0,l.Z)(e4.className,(null==(P=e4.ownerState)?void 0:P.color)==="context"&&q.colorContext),modifiers:tr},!(null!=(L=B.slots)&&L.listbox)&&{as:u.r,slots:{root:e4.as||"ul"}},{children:(0,I.jsx)(R,{value:eW,children:(0,I.jsx)(X.Yb,{variant:ep,color:em,children:(0,I.jsx)(T.Z.Provider,{value:"select",children:(0,I.jsx)(D.Z,{nested:!0,children:j})})})})})),e4.disablePortal||(tn=(0,I.jsx)(_.ZP.Provider,{value:void 0,children:tn}))),(0,I.jsxs)(i.Fragment,{children:[(0,I.jsxs)(e0,(0,a.Z)({},e1,{children:[eg&&(0,I.jsx)(e9,(0,a.Z)({},e3,{children:eg})),(0,I.jsx)(e2,(0,a.Z)({},e6,{children:eQ?eT(eQ):F})),eh&&(0,I.jsx)(e8,(0,a.Z)({},e7,{children:eh})),eb&&(0,I.jsx)(te,(0,a.Z)({},tt,{children:eb})),(0,I.jsx)("input",(0,a.Z)({},eJ()))]})),tn]})});var el=ei},3414:function(e,t,r){r.d(t,{Z:function(){return Z}});var n=r(63366),o=r(87462),a=r(67294),i=r(90512),l=r(58510),s=r(62908),c=r(54844),u=r(20407),d=r(74312),f=r(58859),v=r(26821);function p(e){return(0,v.d6)("MuiSheet",e)}(0,v.sI)("MuiSheet",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var m=r(2226),g=r(30220),h=r(85893);let b=["className","color","component","variant","invertedColors","slots","slotProps"],x=e=>{let{variant:t,color:r}=e,n={root:["root",t&&`variant${(0,s.Z)(t)}`,r&&`color${(0,s.Z)(r)}`]};return(0,l.Z)(n,p,{})},y=(0,d.Z)("div",{name:"JoySheet",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,n;let a=null==(r=e.variants[t.variant])?void 0:r[t.color],{borderRadius:i,bgcolor:l,backgroundColor:s,background:u}=(0,f.V)({theme:e,ownerState:t},["borderRadius","bgcolor","backgroundColor","background"]),d=(0,c.DW)(e,`palette.${l}`)||l||(0,c.DW)(e,`palette.${s}`)||s||u||(null==a?void 0:a.backgroundColor)||(null==a?void 0:a.background)||e.vars.palette.background.surface;return[(0,o.Z)({"--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon,"--ListItem-stickyBackground":"transparent"===d?"initial":d,"--Sheet-background":"transparent"===d?"initial":d},void 0!==i&&{"--List-radius":`calc(${i} - var(--variant-borderWidth, 0px))`,"--unstable_actionRadius":`calc(${i} - var(--variant-borderWidth, 0px))`},{backgroundColor:e.vars.palette.background.surface,position:"relative"}),(0,o.Z)({},e.typography["body-md"],a),"context"!==t.color&&t.invertedColors&&(null==(n=e.colorInversion[t.variant])?void 0:n[t.color])]}),S=a.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"JoySheet"}),{className:a,color:l="neutral",component:s="div",variant:c="plain",invertedColors:d=!1,slots:f={},slotProps:v={}}=r,p=(0,n.Z)(r,b),{getColor:S}=(0,m.VT)(c),Z=S(e.color,l),k=(0,o.Z)({},r,{color:Z,component:s,invertedColors:d,variant:c}),C=x(k),w=(0,o.Z)({},p,{component:s,slots:f,slotProps:v}),[z,I]=(0,g.Z)("root",{ref:t,className:(0,i.Z)(C.root,a),elementType:y,externalForwardedProps:w,ownerState:k}),R=(0,h.jsx)(z,(0,o.Z)({},I));return d?(0,h.jsx)(m.do,{variant:c,children:R}):R});var Z=S},64415:function(e,t,r){let n;r.d(t,{Z:function(){return X}});var o=r(63366),a=r(87462),i=r(67294),l=r(90512),s=r(62908),c=r(58510),u=r(36425),d=r(11136),f=r(22760),v=r(54895),p=function(e){let t=i.useRef(e);return(0,v.Z)(()=>{t.current=e}),i.useRef((...e)=>(0,t.current)(...e)).current},m={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},g=r(6414);function h(e,t){return e-t}function b(e,t,r){return null==e?t:Math.min(Math.max(t,e),r)}function x(e,t){var r;let{index:n}=null!=(r=e.reduce((e,r,n)=>{let o=Math.abs(t-r);return null===e||o({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},w=e=>e;function z(){return void 0===n&&(n="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),n}var I=r(28442),R=r(74312),P=r(20407),L=r(2226),D=r(30220),T=r(26821);function B(e){return(0,T.d6)("MuiSlider",e)}let O=(0,T.sI)("MuiSlider",["root","disabled","dragging","focusVisible","marked","vertical","trackInverted","trackFalse","rail","track","mark","markActive","markLabel","thumb","thumbStart","thumbEnd","valueLabel","valueLabelOpen","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","disabled","sizeSm","sizeMd","sizeLg","input"]);var M=r(85893);let E=["aria-label","aria-valuetext","className","classes","disableSwap","disabled","defaultValue","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","scale","step","tabIndex","track","value","valueLabelDisplay","valueLabelFormat","isRtl","color","size","variant","component","slots","slotProps"];function $(e){return e}let j=e=>{let{disabled:t,dragging:r,marked:n,orientation:o,track:a,variant:i,color:l,size:u}=e,d={root:["root",t&&"disabled",r&&"dragging",n&&"marked","vertical"===o&&"vertical","inverted"===a&&"trackInverted",!1===a&&"trackFalse",i&&`variant${(0,s.Z)(i)}`,l&&`color${(0,s.Z)(l)}`,u&&`size${(0,s.Z)(u)}`],rail:["rail"],track:["track"],thumb:["thumb",t&&"disabled"],input:["input"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],valueLabelOpen:["valueLabelOpen"],active:["active"],focusVisible:["focusVisible"]};return(0,c.Z)(d,B,{})},H=({theme:e,ownerState:t})=>(r={})=>{var n,o;let i=(null==(n=e.variants[`${t.variant}${r.state||""}`])?void 0:n[t.color])||{};return(0,a.Z)({},!r.state&&{"--variant-borderWidth":null!=(o=i["--variant-borderWidth"])?o:"0px"},{"--Slider-trackColor":i.color,"--Slider-thumbBackground":i.color,"--Slider-thumbColor":i.backgroundColor||e.vars.palette.background.surface,"--Slider-trackBackground":i.backgroundColor||e.vars.palette.background.surface,"--Slider-trackBorderColor":i.borderColor,"--Slider-railBackground":e.vars.palette.background.level2})},N=(0,R.Z)("span",{name:"JoySlider",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{let r=H({theme:e,ownerState:t});return[(0,a.Z)({"--Slider-size":"max(42px, max(var(--Slider-thumbSize), var(--Slider-trackSize)))","--Slider-trackRadius":"var(--Slider-size)","--Slider-markBackground":e.vars.palette.text.tertiary,[`& .${O.markActive}`]:{"--Slider-markBackground":"var(--Slider-trackColor)"}},"sm"===t.size&&{"--Slider-markSize":"2px","--Slider-trackSize":"4px","--Slider-thumbSize":"14px","--Slider-valueLabelArrowSize":"6px"},"md"===t.size&&{"--Slider-markSize":"2px","--Slider-trackSize":"6px","--Slider-thumbSize":"18px","--Slider-valueLabelArrowSize":"8px"},"lg"===t.size&&{"--Slider-markSize":"3px","--Slider-trackSize":"8px","--Slider-thumbSize":"24px","--Slider-valueLabelArrowSize":"10px"},{"--Slider-thumbRadius":"calc(var(--Slider-thumbSize) / 2)","--Slider-thumbWidth":"var(--Slider-thumbSize)"},r(),{"&:hover":(0,a.Z)({},r({state:"Hover"})),"&:active":(0,a.Z)({},r({state:"Active"})),[`&.${O.disabled}`]:(0,a.Z)({pointerEvents:"none",color:e.vars.palette.text.tertiary},r({state:"Disabled"})),boxSizing:"border-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent"},"horizontal"===t.orientation&&{padding:"calc(var(--Slider-size) / 2) 0",width:"100%"},"vertical"===t.orientation&&{padding:"0 calc(var(--Slider-size) / 2)",height:"100%"},{"@media print":{colorAdjust:"exact"}})]}),V=(0,R.Z)("span",{name:"JoySlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})(({ownerState:e})=>[(0,a.Z)({display:"block",position:"absolute",backgroundColor:"inverted"===e.track?"var(--Slider-trackBackground)":"var(--Slider-railBackground)",border:"inverted"===e.track?"var(--variant-borderWidth, 0px) solid var(--Slider-trackBorderColor)":"initial",borderRadius:"var(--Slider-trackRadius)"},"horizontal"===e.orientation&&{height:"var(--Slider-trackSize)",top:"50%",left:0,right:0,transform:"translateY(-50%)"},"vertical"===e.orientation&&{width:"var(--Slider-trackSize)",top:0,bottom:0,left:"50%",transform:"translateX(-50%)"},"inverted"===e.track&&{opacity:1})]),W=(0,R.Z)("span",{name:"JoySlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({ownerState:e})=>[(0,a.Z)({display:"block",position:"absolute",color:"var(--Slider-trackColor)",border:"inverted"===e.track?"initial":"var(--variant-borderWidth, 0px) solid var(--Slider-trackBorderColor)",backgroundColor:"inverted"===e.track?"var(--Slider-railBackground)":"var(--Slider-trackBackground)"},"horizontal"===e.orientation&&{height:"var(--Slider-trackSize)",top:"50%",transform:"translateY(-50%)",borderRadius:"var(--Slider-trackRadius) 0 0 var(--Slider-trackRadius)"},"vertical"===e.orientation&&{width:"var(--Slider-trackSize)",left:"50%",transform:"translateX(-50%)",borderRadius:"0 0 var(--Slider-trackRadius) var(--Slider-trackRadius)"},!1===e.track&&{display:"none"})]),A=(0,R.Z)("span",{name:"JoySlider",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({ownerState:e,theme:t})=>{var r;return(0,a.Z)({position:"absolute",boxSizing:"border-box",outline:0,display:"flex",alignItems:"center",justifyContent:"center",width:"var(--Slider-thumbWidth)",height:"var(--Slider-thumbSize)",border:"var(--variant-borderWidth, 0px) solid var(--Slider-trackBorderColor)",borderRadius:"var(--Slider-thumbRadius)",boxShadow:"var(--Slider-thumbShadow)",color:"var(--Slider-thumbColor)",backgroundColor:"var(--Slider-thumbBackground)",[t.focus.selector]:(0,a.Z)({},t.focus.default,{outlineOffset:0,outlineWidth:"max(4px, var(--Slider-thumbSize) / 3.6)"},"context"!==e.color&&{outlineColor:`rgba(${null==(r=t.vars.palette)||null==(r=r[e.color])?void 0:r.mainChannel} / 0.32)`})},"horizontal"===e.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===e.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},{"&::before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",background:"transparent",top:0,left:0,width:"100%",height:"100%",border:"2px solid",borderColor:"var(--Slider-thumbColor)",borderRadius:"inherit"}})}),_=(0,R.Z)("span",{name:"JoySlider",slot:"Mark",overridesResolver:(e,t)=>t.mark})(({ownerState:e})=>(0,a.Z)({position:"absolute",width:"var(--Slider-markSize)",height:"var(--Slider-markSize)",borderRadius:"var(--Slider-markSize)",backgroundColor:"var(--Slider-markBackground)"},"horizontal"===e.orientation&&(0,a.Z)({top:"50%",transform:"translate(calc(var(--Slider-markSize) / -2), -50%)"},0===e.percent&&{transform:"translate(min(var(--Slider-markSize), 3px), -50%)"},100===e.percent&&{transform:"translate(calc(var(--Slider-markSize) * -1 - min(var(--Slider-markSize), 3px)), -50%)"}),"vertical"===e.orientation&&(0,a.Z)({left:"50%",transform:"translate(-50%, calc(var(--Slider-markSize) / 2))"},0===e.percent&&{transform:"translate(-50%, calc(min(var(--Slider-markSize), 3px) * -1))"},100===e.percent&&{transform:"translate(-50%, calc(var(--Slider-markSize) * 1 + min(var(--Slider-markSize), 3px)))"}))),F=(0,R.Z)("span",{name:"JoySlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e,ownerState:t})=>(0,a.Z)({},"sm"===t.size&&{fontSize:e.fontSize.xs,lineHeight:e.lineHeight.md,paddingInline:"0.25rem",minWidth:"20px"},"md"===t.size&&{fontSize:e.fontSize.sm,lineHeight:e.lineHeight.md,paddingInline:"0.375rem",minWidth:"24px"},"lg"===t.size&&{fontSize:e.fontSize.md,lineHeight:e.lineHeight.md,paddingInline:"0.5rem",minWidth:"28px"},{zIndex:1,display:"flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.md,bottom:0,transformOrigin:"bottom center",transform:"translateY(calc((var(--Slider-thumbSize) + var(--Slider-valueLabelArrowSize)) * -1)) scale(0)",position:"absolute",backgroundColor:e.vars.palette.background.tooltip,boxShadow:e.shadow.sm,borderRadius:e.vars.radius.xs,color:"#fff","&::before":{display:"var(--Slider-valueLabelArrowDisplay)",position:"absolute",content:'""',color:e.vars.palette.background.tooltip,bottom:0,border:"calc(var(--Slider-valueLabelArrowSize) / 2) solid",borderColor:"currentColor",borderRightColor:"transparent",borderBottomColor:"transparent",borderLeftColor:"transparent",left:"50%",transform:"translate(-50%, 100%)",backgroundColor:"transparent"},[`&.${O.valueLabelOpen}`]:{transform:"translateY(calc((var(--Slider-thumbSize) + var(--Slider-valueLabelArrowSize)) * -1)) scale(1)"}})),J=(0,R.Z)("span",{name:"JoySlider",slot:"MarkLabel",overridesResolver:(e,t)=>t.markLabel})(({theme:e,ownerState:t})=>(0,a.Z)({fontFamily:e.vars.fontFamily.body},"sm"===t.size&&{fontSize:e.vars.fontSize.xs},"md"===t.size&&{fontSize:e.vars.fontSize.sm},"lg"===t.size&&{fontSize:e.vars.fontSize.md},{color:e.palette.text.tertiary,position:"absolute",whiteSpace:"nowrap"},"horizontal"===t.orientation&&{top:"calc(50% + 4px + (max(var(--Slider-trackSize), var(--Slider-thumbSize)) / 2))",transform:"translateX(-50%)"},"vertical"===t.orientation&&{left:"calc(50% + 8px + (max(var(--Slider-trackSize), var(--Slider-thumbSize)) / 2))",transform:"translateY(50%)"})),q=(0,R.Z)("input",{name:"JoySlider",slot:"Input",overridesResolver:(e,t)=>t.input})({}),U=i.forwardRef(function(e,t){let r=(0,P.Z)({props:e,name:"JoySlider"}),{"aria-label":n,"aria-valuetext":s,className:c,classes:g,disableSwap:R=!1,disabled:T=!1,defaultValue:B,getAriaLabel:O,getAriaValueText:H,marks:U=!1,max:X=100,min:G=0,orientation:K="horizontal",scale:Y=$,step:Q=1,track:ee="normal",valueLabelDisplay:et="off",valueLabelFormat:er=$,isRtl:en=!1,color:eo="primary",size:ea="md",variant:ei="solid",component:el,slots:es={},slotProps:ec={}}=r,eu=(0,o.Z)(r,E),{getColor:ed}=(0,L.VT)("solid"),ef=ed(e.color,eo),ev=(0,a.Z)({},r,{marks:U,classes:g,disabled:T,defaultValue:B,disableSwap:R,isRtl:en,max:X,min:G,orientation:K,scale:Y,step:Q,track:ee,valueLabelDisplay:et,valueLabelFormat:er,color:ef,size:ea,variant:ei}),{axisProps:ep,getRootProps:em,getHiddenInputProps:eg,getThumbProps:eh,open:eb,active:ex,axis:ey,focusedThumbIndex:eS,range:eZ,dragging:ek,marks:eC,values:ew,trackOffset:ez,trackLeap:eI,getThumbStyle:eR}=function(e){let{"aria-labelledby":t,defaultValue:r,disabled:n=!1,disableSwap:o=!1,isRtl:l=!1,marks:s=!1,max:c=100,min:g=0,name:I,onChange:R,onChangeCommitted:P,orientation:L="horizontal",rootRef:D,scale:T=w,step:B=1,tabIndex:O,value:M}=e,E=i.useRef(),[$,j]=i.useState(-1),[H,N]=i.useState(-1),[V,W]=i.useState(!1),A=i.useRef(0),[_,F]=function({controlled:e,default:t,name:r,state:n="value"}){let{current:o}=i.useRef(void 0!==e),[a,l]=i.useState(t),s=o?e:a,c=i.useCallback(e=>{o||l(e)},[]);return[s,c]}({controlled:M,default:null!=r?r:g,name:"Slider"}),J=R&&((e,t,r)=>{let n=e.nativeEvent||e,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:t,name:I}}),R(o,t,r)}),q=Array.isArray(_),U=q?_.slice().sort(h):[_];U=U.map(e=>b(e,g,c));let X=!0===s&&null!==B?[...Array(Math.floor((c-g)/B)+1)].map((e,t)=>({value:g+B*t})):s||[],G=X.map(e=>e.value),{isFocusVisibleRef:K,onBlur:Y,onFocus:Q,ref:ee}=(0,d.Z)(),[et,er]=i.useState(-1),en=i.useRef(),eo=(0,f.Z)(ee,en),ea=(0,f.Z)(D,eo),ei=e=>t=>{var r;let n=Number(t.currentTarget.getAttribute("data-index"));Q(t),!0===K.current&&er(n),N(n),null==e||null==(r=e.onFocus)||r.call(e,t)},el=e=>t=>{var r;Y(t),!1===K.current&&er(-1),N(-1),null==e||null==(r=e.onBlur)||r.call(e,t)};(0,v.Z)(()=>{if(n&&en.current.contains(document.activeElement)){var e;null==(e=document.activeElement)||e.blur()}},[n]),n&&-1!==$&&j(-1),n&&-1!==et&&er(-1);let es=e=>t=>{var r;null==(r=e.onChange)||r.call(e,t);let n=Number(t.currentTarget.getAttribute("data-index")),a=U[n],i=G.indexOf(a),l=t.target.valueAsNumber;if(X&&null==B){let e=G[G.length-1];l=l>e?e:l{let r,n;let{current:a}=en,{width:i,height:l,bottom:s,left:u}=a.getBoundingClientRect();if(r=0===eu.indexOf("vertical")?(s-e.y)/l:(e.x-u)/i,-1!==eu.indexOf("-reverse")&&(r=1-r),n=(c-g)*r+g,B)n=function(e,t,r){let n=Math.round((e-r)/t)*t+r;return Number(n.toFixed(function(e){if(1>Math.abs(e)){let t=e.toExponential().split("e-"),r=t[0].split(".")[1];return(r?r.length:0)+parseInt(t[1],10)}let t=e.toString().split(".")[1];return t?t.length:0}(t)))}(n,B,g);else{let e=x(G,n);n=G[e]}n=b(n,g,c);let d=0;if(q){d=t?ec.current:x(U,n),o&&(n=b(n,U[d-1]||-1/0,U[d+1]||1/0));let e=n;n=S({values:U,newValue:n,index:d}),o&&t||(d=n.indexOf(e),ec.current=d)}return{newValue:n,activeIndex:d}},ef=p(e=>{let t=y(e,E);if(!t)return;if(A.current+=1,"mousemove"===e.type&&0===e.buttons){ev(e);return}let{newValue:r,activeIndex:n}=ed({finger:t,move:!0});Z({sliderRef:en,activeIndex:n,setActive:j}),F(r),!V&&A.current>2&&W(!0),J&&!k(r,_)&&J(e,r,n)}),ev=p(e=>{let t=y(e,E);if(W(!1),!t)return;let{newValue:r}=ed({finger:t,move:!0});j(-1),"touchend"===e.type&&N(-1),P&&P(e,r),E.current=void 0,em()}),ep=p(e=>{if(n)return;z()||e.preventDefault();let t=e.changedTouches[0];null!=t&&(E.current=t.identifier);let r=y(e,E);if(!1!==r){let{newValue:t,activeIndex:n}=ed({finger:r});Z({sliderRef:en,activeIndex:n,setActive:j}),F(t),J&&!k(t,_)&&J(e,t,n)}A.current=0;let o=(0,u.Z)(en.current);o.addEventListener("touchmove",ef),o.addEventListener("touchend",ev)}),em=i.useCallback(()=>{let e=(0,u.Z)(en.current);e.removeEventListener("mousemove",ef),e.removeEventListener("mouseup",ev),e.removeEventListener("touchmove",ef),e.removeEventListener("touchend",ev)},[ev,ef]);i.useEffect(()=>{let{current:e}=en;return e.addEventListener("touchstart",ep,{passive:z()}),()=>{e.removeEventListener("touchstart",ep,{passive:z()}),em()}},[em,ep]),i.useEffect(()=>{n&&em()},[n,em]);let eg=e=>t=>{var r;if(null==(r=e.onMouseDown)||r.call(e,t),n||t.defaultPrevented||0!==t.button)return;t.preventDefault();let o=y(t,E);if(!1!==o){let{newValue:e,activeIndex:r}=ed({finger:o});Z({sliderRef:en,activeIndex:r,setActive:j}),F(e),J&&!k(e,_)&&J(t,e,r)}A.current=0;let a=(0,u.Z)(en.current);a.addEventListener("mousemove",ef),a.addEventListener("mouseup",ev)},eh=((q?U[0]:g)-g)*100/(c-g),eb=(U[U.length-1]-g)*100/(c-g)-eh,ex=e=>t=>{var r;null==(r=e.onMouseOver)||r.call(e,t);let n=Number(t.currentTarget.getAttribute("data-index"));N(n)},ey=e=>t=>{var r;null==(r=e.onMouseLeave)||r.call(e,t),N(-1)};return{active:$,axis:eu,axisProps:C,dragging:V,focusedThumbIndex:et,getHiddenInputProps:(r={})=>{var o;let i={onChange:es(r||{}),onFocus:ei(r||{}),onBlur:el(r||{})},s=(0,a.Z)({},r,i);return(0,a.Z)({tabIndex:O,"aria-labelledby":t,"aria-orientation":L,"aria-valuemax":T(c),"aria-valuemin":T(g),name:I,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":null!=(o=e.step)?o:void 0,disabled:n},s,{style:(0,a.Z)({},m,{direction:l?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:(e={})=>{let t={onMouseDown:eg(e||{})},r=(0,a.Z)({},e,t);return(0,a.Z)({ref:ea},r)},getThumbProps:(e={})=>{let t={onMouseOver:ex(e||{}),onMouseLeave:ey(e||{})};return(0,a.Z)({},e,t)},marks:X,open:H,range:q,rootRef:ea,trackLeap:eb,trackOffset:eh,values:U,getThumbStyle:e=>({pointerEvents:-1!==$&&$!==e?"none":void 0})}}((0,a.Z)({},ev,{rootRef:t}));ev.marked=eC.length>0&&eC.some(e=>e.label),ev.dragging=ek;let eP=(0,a.Z)({},ep[ey].offset(ez),ep[ey].leap(eI)),eL=j(ev),eD=(0,a.Z)({},eu,{component:el,slots:es,slotProps:ec}),[eT,eB]=(0,D.Z)("root",{ref:t,className:(0,l.Z)(eL.root,c),elementType:N,externalForwardedProps:eD,getSlotProps:em,ownerState:ev}),[eO,eM]=(0,D.Z)("rail",{className:eL.rail,elementType:V,externalForwardedProps:eD,ownerState:ev}),[eE,e$]=(0,D.Z)("track",{additionalProps:{style:eP},className:eL.track,elementType:W,externalForwardedProps:eD,ownerState:ev}),[ej,eH]=(0,D.Z)("mark",{className:eL.mark,elementType:_,externalForwardedProps:eD,ownerState:ev}),[eN,eV]=(0,D.Z)("markLabel",{className:eL.markLabel,elementType:J,externalForwardedProps:eD,ownerState:ev,additionalProps:{"aria-hidden":!0}}),[eW,eA]=(0,D.Z)("thumb",{className:eL.thumb,elementType:A,externalForwardedProps:eD,getSlotProps:eh,ownerState:ev}),[e_,eF]=(0,D.Z)("input",{className:eL.input,elementType:q,externalForwardedProps:eD,getSlotProps:eg,ownerState:ev}),[eJ,eq]=(0,D.Z)("valueLabel",{className:eL.valueLabel,elementType:F,externalForwardedProps:eD,ownerState:ev});return(0,M.jsxs)(eT,(0,a.Z)({},eB,{children:[(0,M.jsx)(eO,(0,a.Z)({},eM)),(0,M.jsx)(eE,(0,a.Z)({},e$)),eC.filter(e=>e.value>=G&&e.value<=X).map((e,t)=>{let r;let n=(e.value-G)*100/(X-G),o=ep[ey].offset(n);return r=!1===ee?-1!==ew.indexOf(e.value):"normal"===ee&&(eZ?e.value>=ew[0]&&e.value<=ew[ew.length-1]:e.value<=ew[0])||"inverted"===ee&&(eZ?e.value<=ew[0]||e.value>=ew[ew.length-1]:e.value>=ew[0]),(0,M.jsxs)(i.Fragment,{children:[(0,M.jsx)(ej,(0,a.Z)({"data-index":t},eH,!(0,I.X)(ej)&&{ownerState:(0,a.Z)({},eH.ownerState,{percent:n})},{style:(0,a.Z)({},o,eH.style),className:(0,l.Z)(eH.className,r&&eL.markActive)})),null!=e.label?(0,M.jsx)(eN,(0,a.Z)({"data-index":t},eV,{style:(0,a.Z)({},o,eV.style),className:(0,l.Z)(eL.markLabel,eV.className,r&&eL.markLabelActive),children:e.label})):null]},e.value)}),ew.map((e,t)=>{let r=(e-G)*100/(X-G),o=ep[ey].offset(r);return(0,M.jsxs)(eW,(0,a.Z)({"data-index":t},eA,{className:(0,l.Z)(eA.className,ex===t&&eL.active,eS===t&&eL.focusVisible),style:(0,a.Z)({},o,eR(t),eA.style),children:[(0,M.jsx)(e_,(0,a.Z)({"data-index":t,"aria-label":O?O(t):n,"aria-valuenow":Y(e),"aria-valuetext":H?H(Y(e),t):s,value:ew[t]},eF)),"off"!==et?(0,M.jsx)(eJ,(0,a.Z)({},eq,{className:(0,l.Z)(eq.className,(eb===t||ex===t||"on"===et)&&eL.valueLabelOpen),children:"function"==typeof er?er(Y(e),t):er})):null]}),t)})]}))});var X=U},21694:function(e,t,r){r.d(t,{Z:function(){return j}});var n=r(63366),o=r(87462),a=r(67294),i=r(62908),l=r(58510),s=r(73935),c=r(22760),u=r(36425);function d(e){let t=(0,u.Z)(e);return t.defaultView||window}var f=r(54895),v=r(85893);let p=["onChange","maxRows","minRows","style","value"];function m(e){return parseInt(e,10)||0}let g={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function h(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}let b=a.forwardRef(function(e,t){let{onChange:r,maxRows:i,minRows:l=1,style:u,value:b}=e,x=(0,n.Z)(e,p),{current:y}=a.useRef(null!=b),S=a.useRef(null),Z=(0,c.Z)(t,S),k=a.useRef(null),C=a.useRef(0),[w,z]=a.useState({outerHeightStyle:0}),I=a.useCallback(()=>{let t=S.current,r=d(t),n=r.getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};let o=k.current;o.style.width=n.width,o.value=t.value||e.placeholder||"x","\n"===o.value.slice(-1)&&(o.value+=" ");let a=n.boxSizing,s=m(n.paddingBottom)+m(n.paddingTop),c=m(n.borderBottomWidth)+m(n.borderTopWidth),u=o.scrollHeight;o.value="x";let f=o.scrollHeight,v=u;l&&(v=Math.max(Number(l)*f,v)),i&&(v=Math.min(Number(i)*f,v)),v=Math.max(v,f);let p=v+("border-box"===a?s+c:0),g=1>=Math.abs(v-u);return{outerHeightStyle:p,overflow:g}},[i,l,e.placeholder]),R=(e,t)=>{let{outerHeightStyle:r,overflow:n}=t;return C.current<20&&(r>0&&Math.abs((e.outerHeightStyle||0)-r)>1||e.overflow!==n)?(C.current+=1,{overflow:n,outerHeightStyle:r}):e},P=a.useCallback(()=>{let e=I();h(e)||z(t=>R(t,e))},[I]),L=()=>{let e=I();h(e)||s.flushSync(()=>{z(t=>R(t,e))})};return a.useEffect(()=>{let e;let t=function(e,t=166){let r;function n(...o){clearTimeout(r),r=setTimeout(()=>{e.apply(this,o)},t)}return n.clear=()=>{clearTimeout(r)},n}(()=>{C.current=0,S.current&&L()}),r=S.current,n=d(r);return n.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(()=>{C.current=0,S.current&&L()})).observe(r),()=>{t.clear(),n.removeEventListener("resize",t),e&&e.disconnect()}}),(0,f.Z)(()=>{P()}),a.useEffect(()=>{C.current=0},[b]),(0,v.jsxs)(a.Fragment,{children:[(0,v.jsx)("textarea",(0,o.Z)({value:b,onChange:e=>{C.current=0,y||P(),r&&r(e)},ref:Z,rows:l,style:(0,o.Z)({height:w.outerHeightStyle,overflow:w.overflow?"hidden":void 0},u)},x)),(0,v.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:k,tabIndex:-1,style:(0,o.Z)({},g.shadow,u,{paddingTop:0,paddingBottom:0})})]})});var x=r(74312),y=r(20407),S=r(2226),Z=r(30220),k=r(26821);function C(e){return(0,k.d6)("MuiTextarea",e)}let w=(0,k.sI)("MuiTextarea",["root","textarea","startDecorator","endDecorator","formControl","disabled","error","focused","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft"]);var z=r(78758);let I=a.createContext(void 0);var R=r(30437),P=r(76043);let L=["aria-describedby","aria-label","aria-labelledby","autoComplete","autoFocus","className","defaultValue","disabled","error","id","name","onClick","onChange","onKeyDown","onKeyUp","onFocus","onBlur","placeholder","readOnly","required","type","value"],D=["propsToForward","rootStateClasses","inputStateClasses","getRootProps","getInputProps","formControl","focused","error","disabled","size","color","variant","startDecorator","endDecorator","minRows","maxRows","component","slots","slotProps"],T=e=>{let{disabled:t,variant:r,color:n,size:o}=e,a={root:["root",t&&"disabled",r&&`variant${(0,i.Z)(r)}`,n&&`color${(0,i.Z)(n)}`,o&&`size${(0,i.Z)(o)}`],textarea:["textarea"],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,l.Z)(a,C,{})},B=(0,x.Z)("div",{name:"JoyTextarea",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,n,a,i,l;let s=null==(r=e.variants[`${t.variant}`])?void 0:r[t.color];return[(0,o.Z)({"--Textarea-radius":e.vars.radius.sm,"--Textarea-gap":"0.5rem","--Textarea-placeholderColor":"inherit","--Textarea-placeholderOpacity":.64,"--Textarea-decoratorColor":e.vars.palette.text.icon,"--Textarea-focused":"0","--Textarea-focusedThickness":e.vars.focus.thickness},"context"===t.color?{"--Textarea-focusedHighlight":e.vars.palette.focusVisible}:{"--Textarea-focusedHighlight":null==(n=e.vars.palette["neutral"===t.color?"primary":t.color])?void 0:n[500]},"sm"===t.size&&{"--Textarea-minHeight":"2rem","--Textarea-paddingBlock":"calc(0.5rem - var(--variant-borderWidth, 0px))","--Textarea-paddingInline":"0.5rem","--Textarea-decoratorChildHeight":"min(1.5rem, var(--Textarea-minHeight))","--Icon-fontSize":e.vars.fontSize.xl},"md"===t.size&&{"--Textarea-minHeight":"2.5rem","--Textarea-paddingBlock":"calc(0.5rem - var(--variant-borderWidth, 0px))","--Textarea-paddingInline":"0.75rem","--Textarea-decoratorChildHeight":"min(2rem, var(--Textarea-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},"lg"===t.size&&{"--Textarea-minHeight":"3rem","--Textarea-paddingBlock":"calc(0.75rem - var(--variant-borderWidth, 0px))","--Textarea-paddingInline":"1rem","--Textarea-gap":"0.75rem","--Textarea-decoratorChildHeight":"min(2.375rem, var(--Textarea-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},{"--_Textarea-paddingBlock":"max((var(--Textarea-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Textarea-decoratorChildHeight)) / 2, 0px)","--Textarea-decoratorChildRadius":"max(var(--Textarea-radius) - var(--variant-borderWidth, 0px) - var(--_Textarea-paddingBlock), min(var(--_Textarea-paddingBlock) + var(--variant-borderWidth, 0px), var(--Textarea-radius) / 2))","--Button-minHeight":"var(--Textarea-decoratorChildHeight)","--IconButton-size":"var(--Textarea-decoratorChildHeight)","--Button-radius":"var(--Textarea-decoratorChildRadius)","--IconButton-radius":"var(--Textarea-decoratorChildRadius)",boxSizing:"border-box"},"plain"!==t.variant&&{boxShadow:e.shadow.xs},{minWidth:0,minHeight:"var(--Textarea-minHeight)",cursor:"text",position:"relative",display:"flex",flexDirection:"column",paddingInlineStart:"var(--Textarea-paddingInline)",paddingBlock:"var(--Textarea-paddingBlock)",borderRadius:"var(--Textarea-radius)"},e.typography[`body-${t.size}`],s,{backgroundColor:null!=(a=null==s?void 0:s.backgroundColor)?a:e.vars.palette.background.surface,"&:before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)",boxShadow:"var(--Textarea-focusedInset, inset) 0 0 0 calc(var(--Textarea-focused) * var(--Textarea-focusedThickness)) var(--Textarea-focusedHighlight)"}}),{"&:hover":(0,o.Z)({},null==(i=e.variants[`${t.variant}Hover`])?void 0:i[t.color],{backgroundColor:null,cursor:"text"}),[`&.${w.disabled}`]:null==(l=e.variants[`${t.variant}Disabled`])?void 0:l[t.color],"&:focus-within::before":{"--Textarea-focused":"1"}}]}),O=(0,x.Z)(b,{name:"JoyTextarea",slot:"Textarea",overridesResolver:(e,t)=>t.textarea})({resize:"none",border:"none",minWidth:0,outline:0,padding:0,paddingInlineEnd:"var(--Textarea-paddingInline)",flex:"auto",alignSelf:"stretch",color:"inherit",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",fontStyle:"inherit",fontWeight:"inherit",lineHeight:"inherit","&::-webkit-input-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"},"&::-moz-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"},"&:-ms-input-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"},"&::-ms-input-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"}}),M=(0,x.Z)("div",{name:"JoyTextarea",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({display:"flex",marginInlineStart:"calc(var(--Textarea-paddingBlock) - var(--Textarea-paddingInline))",marginInlineEnd:"var(--Textarea-paddingBlock)",marginBlockEnd:"var(--Textarea-gap)",color:"var(--Textarea-decoratorColor)",cursor:"initial"}),E=(0,x.Z)("div",{name:"JoyTextarea",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({display:"flex",marginInlineStart:"calc(var(--Textarea-paddingBlock) - var(--Textarea-paddingInline))",marginInlineEnd:"var(--Textarea-paddingBlock)",marginBlockStart:"var(--Textarea-gap)",color:"var(--Textarea-decoratorColor)",cursor:"initial"}),$=a.forwardRef(function(e,t){var r,i,l,s,u,d,f;let p=(0,y.Z)({props:e,name:"JoyTextarea"}),m=function(e,t){let r=a.useContext(P.Z),{"aria-describedby":i,"aria-label":l,"aria-labelledby":s,autoComplete:u,autoFocus:d,className:f,defaultValue:v,disabled:p,error:m,id:g,name:h,onClick:b,onChange:x,onKeyDown:y,onKeyUp:S,onFocus:Z,onBlur:k,placeholder:C,readOnly:w,required:D,type:T,value:B}=e,O=(0,n.Z)(e,L),{getRootProps:M,getInputProps:E,focused:$,error:j,disabled:H}=function(e){let t,r,n,i,l;let{defaultValue:s,disabled:u=!1,error:d=!1,onBlur:f,onChange:v,onFocus:p,required:m=!1,value:g,inputRef:h}=e,b=a.useContext(I);if(b){var x,y,S;t=void 0,r=null!=(x=b.disabled)&&x,n=null!=(y=b.error)&&y,i=null!=(S=b.required)&&S,l=b.value}else t=s,r=u,n=d,i=m,l=g;let{current:Z}=a.useRef(null!=l),k=a.useCallback(e=>{},[]),C=a.useRef(null),w=(0,c.Z)(C,h,k),[P,L]=a.useState(!1);a.useEffect(()=>{!b&&r&&P&&(L(!1),null==f||f())},[b,r,P,f]);let D=e=>t=>{var r,n;if(null!=b&&b.disabled){t.stopPropagation();return}null==(r=e.onFocus)||r.call(e,t),b&&b.onFocus?null==b||null==(n=b.onFocus)||n.call(b):L(!0)},T=e=>t=>{var r;null==(r=e.onBlur)||r.call(e,t),b&&b.onBlur?b.onBlur():L(!1)},B=e=>(t,...r)=>{var n,o;if(!Z){let e=t.target||C.current;if(null==e)throw Error((0,z.Z)(17))}null==b||null==(n=b.onChange)||n.call(b,t),null==(o=e.onChange)||o.call(e,t,...r)},O=e=>t=>{var r;C.current&&t.currentTarget===t.target&&C.current.focus(),null==(r=e.onClick)||r.call(e,t)};return{disabled:r,error:n,focused:P,formControlContext:b,getInputProps:(e={})=>{let a=(0,o.Z)({},{onBlur:f,onChange:v,onFocus:p},(0,R._)(e)),s=(0,o.Z)({},e,a,{onBlur:T(a),onChange:B(a),onFocus:D(a)});return(0,o.Z)({},s,{"aria-invalid":n||void 0,defaultValue:t,ref:w,value:l,required:i,disabled:r})},getRootProps:(t={})=>{let r=(0,R._)(e,["onBlur","onChange","onFocus"]),n=(0,o.Z)({},r,(0,R._)(t));return(0,o.Z)({},t,n,{onClick:O(n)})},inputRef:w,required:i,value:l}}({disabled:null!=p?p:null==r?void 0:r.disabled,defaultValue:v,error:m,onBlur:k,onClick:b,onChange:x,onFocus:Z,required:null!=D?D:null==r?void 0:r.required,value:B}),N={[t.disabled]:H,[t.error]:j,[t.focused]:$,[t.formControl]:!!r,[f]:f},V={[t.disabled]:H};return(0,o.Z)({formControl:r,propsToForward:{"aria-describedby":i,"aria-label":l,"aria-labelledby":s,autoComplete:u,autoFocus:d,disabled:H,id:g,onKeyDown:y,onKeyUp:S,name:h,placeholder:C,readOnly:w,type:T},rootStateClasses:N,inputStateClasses:V,getRootProps:M,getInputProps:E,focused:$,error:j,disabled:H},O)}(p,w),{propsToForward:g,rootStateClasses:h,inputStateClasses:b,getRootProps:x,getInputProps:k,formControl:C,focused:$,error:j=!1,disabled:H=!1,size:N="md",color:V="neutral",variant:W="outlined",startDecorator:A,endDecorator:_,minRows:F,maxRows:J,component:q,slots:U={},slotProps:X={}}=m,G=(0,n.Z)(m,D),K=null!=(r=null!=(i=e.disabled)?i:null==C?void 0:C.disabled)?r:H,Y=null!=(l=null!=(s=e.error)?s:null==C?void 0:C.error)?l:j,Q=null!=(u=null!=(d=e.size)?d:null==C?void 0:C.size)?u:N,{getColor:ee}=(0,S.VT)(W),et=ee(e.color,Y?"danger":null!=(f=null==C?void 0:C.color)?f:V),er=(0,o.Z)({},p,{color:et,disabled:K,error:Y,focused:$,size:Q,variant:W}),en=T(er),eo=(0,o.Z)({},G,{component:q,slots:U,slotProps:X}),[ea,ei]=(0,Z.Z)("root",{ref:t,className:[en.root,h],elementType:B,externalForwardedProps:eo,getSlotProps:x,ownerState:er}),[el,es]=(0,Z.Z)("textarea",{additionalProps:{id:null==C?void 0:C.htmlFor,"aria-describedby":null==C?void 0:C["aria-describedby"]},className:[en.textarea,b],elementType:O,internalForwardedProps:(0,o.Z)({},g,{minRows:F,maxRows:J}),externalForwardedProps:eo,getSlotProps:k,ownerState:er}),[ec,eu]=(0,Z.Z)("startDecorator",{className:en.startDecorator,elementType:M,externalForwardedProps:eo,ownerState:er}),[ed,ef]=(0,Z.Z)("endDecorator",{className:en.endDecorator,elementType:E,externalForwardedProps:eo,ownerState:er});return(0,v.jsxs)(ea,(0,o.Z)({},ei,{children:[A&&(0,v.jsx)(ec,(0,o.Z)({},eu,{children:A})),(0,v.jsx)(el,(0,o.Z)({},es)),_&&(0,v.jsx)(ed,(0,o.Z)({},ef,{children:_}))]}))});var j=$},55907:function(e,t,r){r.d(t,{Yb:function(){return l},yP:function(){return i}});var n=r(67294),o=r(85893);let a=n.createContext(void 0);function i(e,t){var r;let o,i;let l=n.useContext(a),[s,c]="string"==typeof l?l.split(":"):[],u=(r=s||void 0,o=c||void 0,i=r,"outlined"===r&&(o="neutral",i="plain"),"plain"===r&&(o="neutral"),{variant:i,color:o});return u.variant=e||u.variant,u.color=t||u.color,u}function l({children:e,color:t,variant:r}){return(0,o.jsx)(a.Provider,{value:`${r||""}:${t||""}`,children:e})}},36425:function(e,t,r){r.d(t,{Z:function(){return n}});function n(e){return e&&e.ownerDocument||document}},54895:function(e,t,r){var n=r(67294);let o="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;t.Z=o},89326:function(e,t,r){r.d(t,{Z:function(){return l}});var n,o=r(67294);let a=0,i=(n||(n=r.t(o,2)))["useId".toString()];function l(e){if(void 0!==i){let t=i();return null!=e?e:t}return function(e){let[t,r]=o.useState(e),n=e||t;return o.useEffect(()=>{null==t&&r(`mui-${a+=1}`)},[t]),n}(e)}},11136:function(e,t,r){r.d(t,{Z:function(){return f}});var n=r(67294);class o{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new o}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}let a=!0,i=!1,l=new o,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(e){e.metaKey||e.altKey||e.ctrlKey||(a=!0)}function u(){a=!1}function d(){"hidden"===this.visibilityState&&i&&(a=!0)}function f(){let e=n.useCallback(e=>{if(null!=e){var t;(t=e.ownerDocument).addEventListener("keydown",c,!0),t.addEventListener("mousedown",u,!0),t.addEventListener("pointerdown",u,!0),t.addEventListener("touchstart",u,!0),t.addEventListener("visibilitychange",d,!0)}},[]),t=n.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){let{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return a||function(e){let{type:t,tagName:r}=e;return"INPUT"===r&&!!s[t]&&!e.readOnly||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(i=!0,l.start(100,()=>{i=!1}),t.current=!1,!0)},ref:e}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1886.ae36ab15f3a1efe6.js b/dbgpt/app/static/web/_next/static/chunks/1886.87ded856666fdf6b.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/1886.ae36ab15f3a1efe6.js rename to dbgpt/app/static/web/_next/static/chunks/1886.87ded856666fdf6b.js index 06ff90128..9e8261f2a 100644 --- a/dbgpt/app/static/web/_next/static/chunks/1886.ae36ab15f3a1efe6.js +++ b/dbgpt/app/static/web/_next/static/chunks/1886.87ded856666fdf6b.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1886],{81886:function(e,n,i){i.r(n),i.d(n,{conf:function(){return t},language:function(){return r}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var t={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["begin","end"],["case","endcase"],["casex","endcase"],["casez","endcase"],["checker","endchecker"],["class","endclass"],["clocking","endclocking"],["config","endconfig"],["function","endfunction"],["generate","endgenerate"],["group","endgroup"],["interface","endinterface"],["module","endmodule"],["package","endpackage"],["primitive","endprimitive"],["program","endprogram"],["property","endproperty"],["specify","endspecify"],["sequence","endsequence"],["table","endtable"],["task","endtask"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!1,markers:{start:RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"),end:RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b")}}},r={defaultToken:"",tokenPostfix:".sv",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","null","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],builtin_gates:["and","nand","nor","or","xor","xnor","buf","not","bufif0","bufif1","notif1","notif0","cmos","nmos","pmos","rcmos","rnmos","rpmos","tran","tranif1","tranif0","rtran","rtranif1","rtranif0"],operators:["=","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>+","<<<=",">>>=","?",":","+","-","!","~","&","~&","|","~|","^","~^","^~","+","-","*","/","%","==","!=","===","!==","==?","!=?","&&","||","**","<","<=",">",">=","&","|","^",">>","<<",">>>","<<<","++","--","->","<->","inside","dist","::","+:","-:","*>","&&&","|->","|=>","#=#"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],{include:"@numbers"},[/[;,.]/,"delimiter"],{include:"@strings"}],identifier_or_keyword:[[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}]],numbers:[[/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/,"number.float"],[/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/,"number.float"],[/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/,"number"],[/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/,"number.binary"],[/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/,"number.octal"],[/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/,"number.hex"],[/1step/,"number"],[/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/,"number"],[/'[01xXzZ]+/,"number"]],module_instance:[{include:"@whitespace"},[/(#?)(\()/,["",{token:"@brackets",next:"@port_connection"}]],[/@identifier\s*[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@symbols|[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@identifier/,"type"],[/;/,"delimiter","@pop"]],port_connection:[{include:"@identifier_or_keyword"},{include:"@whitespace"},[/@systemcall/,"variable.predefined"],{include:"@numbers"},{include:"@strings"},[/[,]/,"delimiter"],[/\(/,"@brackets","@port_connection"],[/\)/,"@brackets","@pop"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],include:[[/(\s*)(")([\w*\/*]*)(.\w*)(")/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]],[/(\s*)(<)([\w*\/*]*)(.\w*)(>)/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]]],table:[{include:"@whitespace"},[/[()]/,"@brackets"],[/[:;]/,"delimiter"],[/[01\-*?xXbBrRfFpPnN]/,"variable.predefined"],["endtable","keyword.endtable","@pop"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1939.8e5c67072358eff1.js b/dbgpt/app/static/web/_next/static/chunks/1939.8e5c67072358eff1.js new file mode 100644 index 000000000..5853d5e06 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/1939.8e5c67072358eff1.js @@ -0,0 +1,5 @@ +!function(){var t,n,e,r,i,o,u={90494:function(t,n){"use strict";var e=function(){function t(){this._events={}}return t.prototype.on=function(t,n,e){return this._events[t]||(this._events[t]=[]),this._events[t].push({callback:n,once:!!e}),this},t.prototype.once=function(t,n){return this.on(t,n,!0)},t.prototype.emit=function(t){for(var n=this,e=[],r=1;r"object"==typeof t&&null!==t||"function"==typeof t,h=new Map([["proxy",{canHandle:t=>s(t)&&t[u],serialize(t){let{port1:n,port2:e}=new MessageChannel;return v(t,n),[e,[e]]},deserialize:t=>(t.start(),function t(n,e=[],r=function(){}){let i=!1,o=new Proxy(r,{get(r,u){if(p(i),u===f)return()=>{g&&g.unregister(o),d(n),i=!0};if("then"===u){if(0===e.length)return{then:()=>o};let t=N(n,{type:"GET",path:e.map(t=>t.toString())}).then(b);return t.then.bind(t)}return t(n,[...e,u])},set(t,r,o){p(i);let[u,a]=w(o);return N(n,{type:"SET",path:[...e,r].map(t=>t.toString()),value:u},a).then(b)},apply(r,o,u){p(i);let f=e[e.length-1];if(f===a)return N(n,{type:"ENDPOINT"}).then(b);if("bind"===f)return t(n,e.slice(0,-1));let[l,c]=_(u);return N(n,{type:"APPLY",path:e.map(t=>t.toString()),argumentList:l},c).then(b)},construct(t,r){p(i);let[o,u]=_(r);return N(n,{type:"CONSTRUCT",path:e.map(t=>t.toString()),argumentList:o},u).then(b)}});return function(t,n){let e=(x.get(n)||0)+1;x.set(n,e),g&&g.register(t,n,t)}(o,n),o}(t,[],void 0))}],["throw",{canHandle:t=>s(t)&&c in t,serialize:({value:t})=>[t instanceof Error?{isError:!0,value:{message:t.message,name:t.name,stack:t.stack}}:{isError:!1,value:t},[]],deserialize(t){if(t.isError)throw Object.assign(Error(t.value.message),t.value);throw t.value}}]]);function v(t,n=globalThis,e=["*"]){n.addEventListener("message",function r(i){let o;if(!i||!i.data)return;if(!function(t,n){for(let e of t)if(n===e||"*"===e||e instanceof RegExp&&e.test(n))return!0;return!1}(e,i.origin)){console.warn(`Invalid origin '${i.origin}' for comlink proxy`);return}let{id:a,type:f,path:s}=Object.assign({path:[]},i.data),h=(i.data.argumentList||[]).map(b);try{var p;let n=s.slice(0,-1).reduce((t,n)=>t[n],t),e=s.reduce((t,n)=>t[n],t);switch(f){case"GET":o=e;break;case"SET":n[s.slice(-1)[0]]=b(i.data.value),o=!0;break;case"APPLY":o=e.apply(n,h);break;case"CONSTRUCT":{let t=new e(...h);o=Object.assign(t,{[u]:!0})}break;case"ENDPOINT":{let{port1:n,port2:e}=new MessageChannel;v(t,e),p=[n],m.set(n,p),o=n}break;case"RELEASE":o=void 0;break;default:return}}catch(t){o={value:t,[c]:0}}Promise.resolve(o).catch(t=>({value:t,[c]:0})).then(e=>{let[i,o]=w(e);n.postMessage(Object.assign(Object.assign({},i),{id:a}),o),"RELEASE"===f&&(n.removeEventListener("message",r),y(n),l in t&&"function"==typeof t[l]&&t[l]())}).catch(t=>{let[e,r]=w({value:TypeError("Unserializable return value"),[c]:0});n.postMessage(Object.assign(Object.assign({},e),{id:a}),r)})}),n.start&&n.start()}function y(t){"MessagePort"===t.constructor.name&&t.close()}function p(t){if(t)throw Error("Proxy has been released and is not useable")}function d(t){return N(t,{type:"RELEASE"}).then(()=>{y(t)})}let x=new WeakMap,g="FinalizationRegistry"in globalThis&&new FinalizationRegistry(t=>{let n=(x.get(t)||0)-1;x.set(t,n),0===n&&d(t)});function _(t){var n;let e=t.map(w);return[e.map(t=>t[0]),(n=e.map(t=>t[1]),Array.prototype.concat.apply([],n))]}let m=new WeakMap;function w(t){for(let[n,e]of h)if(e.canHandle(t)){let[r,i]=e.serialize(t);return[{type:"HANDLER",name:n,value:r},i]}return[{type:"RAW",value:t},m.get(t)||[]]}function b(t){switch(t.type){case"HANDLER":return h.get(t.name).deserialize(t.value);case"RAW":return t.value}}function N(t,n,e){return new Promise(r=>{let i=[,,,,].fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-");t.addEventListener("message",function n(e){e.data&&e.data.id&&e.data.id===i&&(t.removeEventListener("message",n),r(e.data))}),t.start&&t.start(),t.postMessage(Object.assign({id:i},n),e)})}var z=e(28104),M=e(63795),A=e(39233),E=e(5192),k=e(63330);function O(t){return function(){return t}}function j(t){return(t()-.5)*1e-6}function S(t){return t.index}function Z(t,n){var e=t.get(n);if(!e)throw Error("node not found: "+n);return e}function T(t){var n,e,r,i,o,u,a,f=S,l=function(t){return 1/Math.min(o[t.source.index],o[t.target.index])},c=O(30),s=1;function h(r){for(var o=0,f=t.length;o1&&(x=h.y+h.vy-c.y-c.vy||j(a)),i>2&&(g=h.z+h.vz-c.z-c.vz||j(a)),v=((v=Math.sqrt(d*d+x*x+g*g))-e[p])/v*r*n[p],d*=v,x*=v,g*=v,h.vx-=d*(y=u[p]),i>1&&(h.vy-=x*y),i>2&&(h.vz-=g*y),c.vx+=d*(y=1-y),i>1&&(c.vy+=x*y),i>2&&(c.vz+=g*y)}function v(){if(r){var i,a,l=r.length,c=t.length,s=new Map(r.map((t,n)=>[f(t,n,r),t]));for(i=0,o=Array(l);i"function"==typeof t)||Math.random,i=n.find(t=>[1,2,3].includes(t))||2,v()},h.links=function(n){return arguments.length?(t=n,v(),h):t},h.id=function(t){return arguments.length?(f=t,h):f},h.iterations=function(t){return arguments.length?(s=+t,h):s},h.strength=function(t){return arguments.length?(l="function"==typeof t?t:O(+t),y(),h):l},h.distance=function(t){return arguments.length?(c="function"==typeof t?t:O(+t),p(),h):c},h}function P(t,n,e){if(isNaN(n))return t;var r,i,o,u,a,f,l=t._root,c={data:e},s=t._x0,h=t._x1;if(!l)return t._root=c,t;for(;l.length;)if((u=n>=(i=(s+h)/2))?s=i:h=i,r=l,!(l=l[a=+u]))return r[a]=c,t;if(n===(o=+t._x.call(null,l.data)))return c.next=l,r?r[a]=c:t._root=c,t;do r=r?r[a]=[,,]:t._root=[,,],(u=n>=(i=(s+h)/2))?s=i:h=i;while((a=+u)==(f=+(o>=i)));return r[f]=l,r[a]=c,t}function q(t,n,e){this.node=t,this.x0=n,this.x1=e}function D(t){return t[0]}function L(t,n){var e=new C(null==n?D:n,NaN,NaN);return null==t?e:e.addAll(t)}function C(t,n,e){this._x=t,this._x0=n,this._x1=e,this._root=void 0}function R(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}var I=L.prototype=C.prototype;I.copy=function(){var t,n,e=new C(this._x,this._x0,this._x1),r=this._root;if(!r)return e;if(!r.length)return e._root=R(r),e;for(t=[{source:r,target:e._root=[,,]}];r=t.pop();)for(var i=0;i<2;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=[,,]}):r.target[i]=R(n));return e},I.add=function(t){let n=+this._x.call(null,t);return P(this.cover(n),n,t)},I.addAll=function(t){Array.isArray(t)||(t=Array.from(t));let n=t.length,e=new Float64Array(n),r=1/0,i=-1/0;for(let o=0,u;oi&&(i=u));if(r>i)return this;this.cover(r).cover(i);for(let r=0;rt||t>=e;)switch(i=+(tf)&&!((i=o.x1)=s))&&(o=l[l.length-1],l[l.length-1]=l[l.length-1-u],l[l.length-1-u]=o)}else{var h=Math.abs(t-+this._x.call(null,c.data));h=(u=(s+h)/2))?s=u:h=u,n=c,!(c=c[f=+a]))return this;if(!c.length)break;n[f+1&1]&&(e=n,l=f)}for(;c.data!==t;)if(r=c,!(c=c.next))return this;return((i=c.next)&&delete c.next,r)?(i?r.next=i:delete r.next,this):n?(i?n[f]=i:delete n[f],(c=n[0]||n[1])&&c===(n[1]||n[0])&&!c.length&&(e?e[l]=c:this._root=c),this):(this._root=i,this)},I.removeAll=function(t){for(var n=0,e=t.length;n1&&(t.y=u/c),n>2&&(t.z=a/c)}else{(e=t).x=e.data.x,n>1&&(e.y=e.data.y),n>2&&(e.z=e.data.z);do l+=o[e.data.index];while(e=e.next)}t.value=l}function v(t,u,c,s,h){if(!t.value)return!0;var v=[c,s,h][n-1],y=t.x-e.x,p=n>1?t.y-e.y:0,d=n>2?t.z-e.z:0,x=v-u,g=y*y+p*p+d*d;if(x*x/l1&&0===p&&(g+=(p=j(r))*p),n>2&&0===d&&(g+=(d=j(r))*d),g1&&(e.vy+=p*t.value*i/g),n>2&&(e.vz+=d*t.value*i/g)),!0;if(!t.length&&!(g>=f)){(t.data!==e||t.next)&&(0===y&&(g+=(y=j(r))*y),n>1&&0===p&&(g+=(p=j(r))*p),n>2&&0===d&&(g+=(d=j(r))*d),g1&&(e.vy+=p*x),n>2&&(e.vz+=d*x));while(t=t.next)}}return c.initialize=function(e,...i){t=e,r=i.find(t=>"function"==typeof t)||Math.random,n=i.find(t=>[1,2,3].includes(t))||2,s()},c.strength=function(t){return arguments.length?(u="function"==typeof t?t:O(+t),s(),c):u},c.distanceMin=function(t){return arguments.length?(a=t*t,c):Math.sqrt(a)},c.distanceMax=function(t){return arguments.length?(f=t*t,c):Math.sqrt(f)},c.theta=function(t){return arguments.length?(l=t*t,c):Math.sqrt(l)},c}function J(t,n,e){var r,i=1;function o(){var o,u,a=r.length,f=0,l=0,c=0;for(o=0;o1&&(s=l.y+l.vy),e>2&&(h=l.z+l.vz),a.visit(x);function x(t,n,r,u,a,f,p){var d=[n,r,u,a,f,p],x=d[0],g=d[1],_=d[2],m=d[e],w=d[e+1],b=d[e+2],N=t.data,z=t.r,M=v+z;if(N){if(N.index>l.index){var A=c-N.x-N.vx,E=e>1?s-N.y-N.vy:0,k=e>2?h-N.z-N.vz:0,O=A*A+E*E+k*k;O1&&0===E&&(O+=(E=j(i))*E),e>2&&0===k&&(O+=(k=j(i))*k),O=(M-(O=Math.sqrt(O)))/O*o,l.vx+=(A*=O)*(M=(z*=z)/(y+z)),e>1&&(l.vy+=(E*=O)*M),e>2&&(l.vz+=(k*=O)*M),N.vx-=A*(M=1-M),e>1&&(N.vy-=E*M),e>2&&(N.vz-=k*M))}return}return x>c+M||m1&&(g>s+M||w2&&(_>h+M||bt.r&&(t.r=t[n].r)}function l(){if(n){var e,i,o=n.length;for(e=0,r=Array(o);e"function"==typeof t)||Math.random,e=r.find(t=>[1,2,3].includes(t))||2,l()},a.iterations=function(t){return arguments.length?(u=+t,a):u},a.strength=function(t){return arguments.length?(o=+t,a):o},a.radius=function(n){return arguments.length?(t="function"==typeof n?n:O(+n),l(),a):t},a}function te(t,n,e,r){var i,o,u,a,f=O(.1);function l(t){for(var f=0,l=i.length;f1&&(c.vy+=h*p),o>2&&(c.vz+=v*p)}}function c(){if(i){var n,e=i.length;for(n=0,u=Array(e),a=Array(e);n[1,2,3].includes(t))||2,c()},l.strength=function(t){return arguments.length?(f="function"==typeof t?t:O(+t),c(),l):f},l.radius=function(n){return arguments.length?(t="function"==typeof n?n:O(+n),c(),l):t},l.x=function(t){return arguments.length?(n=+t,l):n},l.y=function(t){return arguments.length?(e=+t,l):e},l.z=function(t){return arguments.length?(r=+t,l):r},l}function tr(t){var n,e,r,i=O(.1);function o(t){for(var i,o=0,u=n.length;ot.id},manyBody:{},center:{x:0,y:0,z:0}}}initSimulation(){return function(t,n){let e;var r,i=Math.min(3,Math.max(1,Math.round(n=n||2))),o=1,u=.001,a=1-Math.pow(.001,1/300),f=0,l=.6,c=new Map,s=(0,G.HT)(y),h=(0,U.Z)("tick","end"),v=(e=1,()=>(e=(1664525*e+1013904223)%4294967296)/4294967296);function y(){p(),h.call("tick",r),o1&&(null==u.fy?u.y+=u.vy*=l:(u.y=u.fy,u.vy=0)),i>2&&(null==u.fz?u.z+=u.vz*=l:(u.z=u.fz,u.vz=0));return r}function d(){for(var n,e=0,r=t.length;e1&&isNaN(n.y)||i>2&&isNaN(n.z)){var o=10*(i>2?Math.cbrt(.5+e):i>1?Math.sqrt(.5+e):e),u=e*Y,a=e*V;1===i?n.x=o:2===i?(n.x=o*Math.cos(u),n.y=o*Math.sin(u)):(n.x=o*Math.sin(u)*Math.cos(a),n.y=o*Math.cos(u),n.z=o*Math.sin(u)*Math.sin(a))}(isNaN(n.vx)||i>1&&isNaN(n.vy)||i>2&&isNaN(n.vz))&&(n.vx=0,i>1&&(n.vy=0),i>2&&(n.vz=0))}}function x(n){return n.initialize&&n.initialize(t,v,i),n}return null==t&&(t=[]),d(),r={tick:p,restart:function(){return s.restart(y),r},stop:function(){return s.stop(),r},numDimensions:function(t){return arguments.length?(i=Math.min(3,Math.max(1,Math.round(t))),c.forEach(x),r):i},nodes:function(n){return arguments.length?(t=n,d(),c.forEach(x),r):t},alpha:function(t){return arguments.length?(o=+t,r):o},alphaMin:function(t){return arguments.length?(u=+t,r):u},alphaDecay:function(t){return arguments.length?(a=+t,r):+a},alphaTarget:function(t){return arguments.length?(f=+t,r):f},velocityDecay:function(t){return arguments.length?(l=1-t,r):1-l},randomSource:function(t){return arguments.length?(v=t,c.forEach(x),r):v},force:function(t,n){return arguments.length>1?(null==n?c.delete(t):c.set(t,x(n)),r):c.get(t)},find:function(){var n,e,r,o,u,a,f=Array.prototype.slice.call(arguments),l=f.shift()||0,c=(i>1?f.shift():null)||0,s=(i>2?f.shift():null)||0,h=f.shift()||1/0,v=0,y=t.length;for(h*=h,v=0;v1?(h.on(t,n),r):h.on(t)}}}()}}var ta=e(51712),tf=e(12368),tl=e(67753),tc=e(89469),ts=e(41733),th=e(64912),tv=e(29257),ty=e(26629);let tp={circular:M.S,concentric:E.W,mds:th.A,random:ty._,grid:ts.M,radial:tv.D,force:tf.y,d3force:k.j,"d3-force-3d":tu,fruchterman:tc.O,forceAtlas2:tl.E,dagre:ta.V,antvDagre:z.b,comboCombined:A.u};var td=e(10779);v({stopLayout(){(null==r?void 0:r.stop)&&r.stop()},calculateLayout(t,n){return(0,i.mG)(this,void 0,void 0,function*(){let{layout:{id:e,options:i,iterations:u},nodes:a,edges:f}=t,l=new o.k({nodes:a,edges:f}),c=tp[e];if(c)r=new c(i);else throw Error(`Unknown layout id: ${e}`);let s=yield r.execute(l);return(0,td.h)(r)&&(r.stop(),s=r.tick(u)),[s,n]})}})},92626:function(t,n){"use strict";var e={value:()=>{}};function r(){for(var t,n=0,e=arguments.length,r={};n=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:n}}),u=-1,a=i.length;if(arguments.length<2){for(;++u0)for(var e,r,i=Array(e),o=0;o[s(t,n,a),t]));for(r=0,f=Array(o);r=s)){(t.data!==n||t.next)&&(0===l&&(p+=(l=(0,o.Z)(e))*l),0===v&&(p+=(v=(0,o.Z)(e))*v),p(n=(1664525*n+1013904223)%4294967296)/4294967296);function p(){d(),v.call("tick",e),o1?(null==n?s.delete(t):s.set(t,g(n)),e):s.get(t)},find:function(n,e,r){var i,o,u,a,f,l=0,c=t.length;for(null==r?r=1/0:r*=r,l=0;l1?(v.on(t,n),e):v.on(t)}}}},26464:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(27898);function i(t){var n,e,i,o=(0,r.Z)(.1);function u(t){for(var r,o=0,u=n.length;o=(o=(p+x)/2))?p=o:x=o,(c=e>=(u=(d+g)/2))?d=u:g=u,i=v,!(v=v[s=c<<1|l]))return i[s]=y,t;if(a=+t._x.call(null,v.data),f=+t._y.call(null,v.data),n===a&&e===f)return y.next=v,i?i[s]=y:t._root=y,t;do i=i?i[s]=[,,,,]:t._root=[,,,,],(l=n>=(o=(p+x)/2))?p=o:x=o,(c=e>=(u=(d+g)/2))?d=u:g=u;while((s=c<<1|l)==(h=(f>=u)<<1|a>=o));return i[h]=v,i[s]=y,t}function i(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i}function o(t){return t[0]}function u(t){return t[1]}function a(t,n,e){var r=new f(null==n?o:n,null==e?u:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function f(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function l(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}e.d(n,{Z:function(){return a}});var c=a.prototype=f.prototype;c.copy=function(){var t,n,e=new f(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=l(r),e;for(t=[{source:r,target:e._root=[,,,,]}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=[,,,,]}):r.target[i]=l(n));return e},c.add=function(t){let n=+this._x.call(null,t),e=+this._y.call(null,t);return r(this.cover(n,e),n,e,t)},c.addAll=function(t){var n,e,i,o,u=t.length,a=Array(u),f=Array(u),l=1/0,c=1/0,s=-1/0,h=-1/0;for(e=0;es&&(s=i),oh&&(h=o));if(l>s||c>h)return this;for(this.cover(l,c).cover(s,h),e=0;et||t>=i||r>n||n>=o;)switch(a=(nv)&&!((u=l.y0)>y)&&!((a=l.x1)=g)<<1|t>=x)&&(l=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=l)}else{var _=t-+this._x.call(null,d.data),m=n-+this._y.call(null,d.data),w=_*_+m*m;if(w=(a=(y+d)/2))?y=a:d=a,(c=u>=(f=(p+x)/2))?p=f:x=f,n=v,!(v=v[s=c<<1|l]))return this;if(!v.length)break;(n[s+1&3]||n[s+2&3]||n[s+3&3])&&(e=n,h=s)}for(;v.data!==t;)if(r=v,!(v=v.next))return this;return((i=v.next)&&delete v.next,r)?(i?r.next=i:delete r.next,this):n?(i?n[s]=i:delete n[s],(v=n[0]||n[1]||n[2]||n[3])&&v===(n[3]||n[2]||n[1]||n[0])&&!v.length&&(e?e[h]=v:this._root=v),this):(this._root=i,this)},c.removeAll=function(t){for(var n=0,e=t.length;n=0&&n._call.call(null,t),n=n._next;--o}()}finally{o=0,function(){for(var t,n,e=r,o=1/0;e;)e._call?(o>e._time&&(o=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,_(o)}(),l=0}}function g(){var t=s.now(),n=t-f;n>1e3&&(c-=n,f=t)}function _(t){!o&&(u&&(u=clearTimeout(u)),t-l>24?(t<1/0&&(u=setTimeout(x,t-s.now()-c)),a&&(a=clearInterval(a))):(a||(f=s.now(),a=setInterval(g,1e3)),o=1,h(x)))}p.prototype=d.prototype={constructor:p,restart:function(t,n,e){if("function"!=typeof t)throw TypeError("callback is not a function");e=(null==e?v():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,_()},stop:function(){this._call&&(this._call=null,this._time=1/0,_())}}},62705:function(t,n,e){var r=e(55639).Symbol;t.exports=r},44239:function(t,n,e){var r=e(62705),i=e(89607),o=e(2333),u=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":u&&u in Object(t)?i(t):o(t)}},27561:function(t,n,e){var r=e(67990),i=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(i,""):t}},31957:function(t,n,e){var r="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;t.exports=r},89607:function(t,n,e){var r=e(62705),i=Object.prototype,o=i.hasOwnProperty,u=i.toString,a=r?r.toStringTag:void 0;t.exports=function(t){var n=o.call(t,a),e=t[a];try{t[a]=void 0;var r=!0}catch(t){}var i=u.call(t);return r&&(n?t[a]=e:delete t[a]),i}},2333:function(t){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},55639:function(t,n,e){var r=e(31957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},67990:function(t){var n=/\s/;t.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},13218:function(t){t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},37005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},33448:function(t,n,e){var r=e(44239),i=e(37005);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},7771:function(t,n,e){var r=e(55639);t.exports=function(){return r.Date.now()}},14841:function(t,n,e){var r=e(27561),i=e(13218),o=e(33448),u=0/0,a=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return u;if(i(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=i(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var e=f.test(t);return e||l.test(t)?c(t.slice(2),e?2:8):a.test(t)?u:+t}},97582:function(t,n,e){"use strict";e.d(n,{_T:function(){return r},mG:function(){return i}});function r(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>n.indexOf(r)&&(e[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);in.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(e[r[i]]=t[r[i]]);return e}function i(t,n,e,r){return new(e||(e=Promise))(function(i,o){function u(t){try{f(r.next(t))}catch(t){o(t)}}function a(t){try{f(r.throw(t))}catch(t){o(t)}}function f(t){var n;t.done?i(t.value):((n=t.value)instanceof e?n:new e(function(t){t(n)})).then(u,a)}f((r=r.apply(t,n||[])).next())})}"function"==typeof SuppressedError&&SuppressedError}},a={};function f(t){var n=a[t];if(void 0!==n)return n.exports;var e=a[t]={id:t,loaded:!1,exports:{}},r=!0;try{u[t](e,e.exports,f),r=!1}finally{r&&delete a[t]}return e.loaded=!0,e.exports}f.m=u,f.x=function(){var t=f.O(void 0,[2973,4744],function(){return f(60530)});return f.O(t)},t=[],f.O=function(n,e,r,i){if(e){i=i||0;for(var o=t.length;o>0&&t[o-1][2]>i;o--)t[o]=t[o-1];t[o]=[e,r,i];return}for(var u=1/0,o=0;o=i&&Object.keys(f.O).every(function(t){return f.O[t](e[l])})?e.splice(l--,1):(a=!1,iMath.abs(l-n)?[l,c,d-t.x,s-t.y]:[n,a,r,o]},A=function(e){var t=e.current||{},n=t.offsetWidth,a=void 0===n?0:n,o=t.offsetHeight;if(e.current){var r=e.current.getBoundingClientRect(),i=r.width,l=r.height;if(1>Math.abs(i-a))return[i,l]}return[a,void 0===o?0:o]},H=function(e,t){return e[t?0:1]},q=a.forwardRef(function(e,t){var n,o,r,i,l,c,d,s,m,h,g,$,S,R,M,O,B,D,j,q,K,F,V,Y,Q,J,U,ee,et,en,ea,eo,er,ei,el,ec,ed,es,eu,ef=e.className,ev=e.style,eb=e.id,ep=e.animated,em=e.activeKey,eh=e.rtl,eg=e.extra,e$=e.editable,ek=e.locale,ey=e.tabPosition,ex=e.tabBarGutter,e_=e.children,ew=e.onTabClick,eS=e.onTabScroll,eE=e.indicator,eZ=a.useContext(k),eC=eZ.prefixCls,eR=eZ.tabs,eP=(0,a.useRef)(null),eT=(0,a.useRef)(null),eI=(0,a.useRef)(null),eL=(0,a.useRef)(null),eM=(0,a.useRef)(null),eN=(0,a.useRef)(null),ez=(0,a.useRef)(null),eO="top"===ey||"bottom"===ey,eB=C(0,function(e,t){eO&&eS&&eS({direction:e>t?"left":"right"})}),eD=(0,p.Z)(eB,2),ej=eD[0],eG=eD[1],eW=C(0,function(e,t){!eO&&eS&&eS({direction:e>t?"top":"bottom"})}),eX=(0,p.Z)(eW,2),eA=eX[0],eH=eX[1],eq=(0,a.useState)([0,0]),eK=(0,p.Z)(eq,2),eF=eK[0],eV=eK[1],eY=(0,a.useState)([0,0]),eQ=(0,p.Z)(eY,2),eJ=eQ[0],eU=eQ[1],e0=(0,a.useState)([0,0]),e1=(0,p.Z)(e0,2),e2=e1[0],e8=e1[1],e4=(0,a.useState)([0,0]),e7=(0,p.Z)(e4,2),e6=e7[0],e9=e7[1],e5=(n=new Map,o=(0,a.useRef)([]),r=(0,a.useState)({}),i=(0,p.Z)(r,2)[1],l=(0,a.useRef)("function"==typeof n?n():n),c=P(function(){var e=l.current;o.current.forEach(function(t){e=t(e)}),o.current=[],l.current=e,i({})}),[l.current,function(e){o.current.push(e),c()}]),e3=(0,p.Z)(e5,2),te=e3[0],tt=e3[1],tn=(d=eJ[0],(0,a.useMemo)(function(){for(var e=new Map,t=te.get(null===(o=eR[0])||void 0===o?void 0:o.key)||Z,n=t.left+t.width,a=0;atu?tu:e}eO&&eh?(ts=0,tu=Math.max(0,to-tc)):(ts=Math.min(0,tc-to),tu=0);var tv=(0,a.useRef)(null),tb=(0,a.useState)(),tp=(0,p.Z)(tb,2),tm=tp[0],th=tp[1];function tg(){th(Date.now())}function t$(){tv.current&&clearTimeout(tv.current)}s=function(e,t){function n(e,t){e(function(e){return tf(e+t)})}return!!tl&&(eO?n(eG,e):n(eH,t),t$(),tg(),!0)},m=(0,a.useState)(),g=(h=(0,p.Z)(m,2))[0],$=h[1],S=(0,a.useState)(0),M=(R=(0,p.Z)(S,2))[0],O=R[1],B=(0,a.useState)(0),j=(D=(0,p.Z)(B,2))[0],q=D[1],K=(0,a.useState)(),V=(F=(0,p.Z)(K,2))[0],Y=F[1],Q=(0,a.useRef)(),J=(0,a.useRef)(),(U=(0,a.useRef)(null)).current={onTouchStart:function(e){var t=e.touches[0];$({x:t.screenX,y:t.screenY}),window.clearInterval(Q.current)},onTouchMove:function(e){if(g){e.preventDefault();var t=e.touches[0],n=t.screenX,a=t.screenY;$({x:n,y:a});var o=n-g.x,r=a-g.y;s(o,r);var i=Date.now();O(i),q(i-M),Y({x:o,y:r})}},onTouchEnd:function(){if(g&&($(null),Y(null),V)){var e=V.x/j,t=V.y/j;if(!(.1>Math.max(Math.abs(e),Math.abs(t)))){var n=e,a=t;Q.current=window.setInterval(function(){if(.01>Math.abs(n)&&.01>Math.abs(a)){window.clearInterval(Q.current);return}s(20*(n*=.9046104802746175),20*(a*=.9046104802746175))},20)}}},onWheel:function(e){var t=e.deltaX,n=e.deltaY,a=0,o=Math.abs(t),r=Math.abs(n);o===r?a="x"===J.current?t:n:o>r?(a=t,J.current="x"):(a=n,J.current="y"),s(-a,-a)&&e.preventDefault()}},a.useEffect(function(){function e(e){U.current.onTouchMove(e)}function t(e){U.current.onTouchEnd(e)}return document.addEventListener("touchmove",e,{passive:!1}),document.addEventListener("touchend",t,{passive:!0}),eL.current.addEventListener("touchstart",function(e){U.current.onTouchStart(e)},{passive:!0}),eL.current.addEventListener("wheel",function(e){U.current.onWheel(e)},{passive:!1}),function(){document.removeEventListener("touchmove",e),document.removeEventListener("touchend",t)}},[]),(0,a.useEffect)(function(){return t$(),tm&&(tv.current=setTimeout(function(){th(0)},100)),t$},[tm]);var tk=(ee=eO?ej:eA,er=(et=(0,b.Z)((0,b.Z)({},e),{},{tabs:eR})).tabs,ei=et.tabPosition,el=et.rtl,["top","bottom"].includes(ei)?(en="width",ea=el?"right":"left",eo=Math.abs(ee)):(en="height",ea="top",eo=-ee),(0,a.useMemo)(function(){if(!er.length)return[0,0];for(var e=er.length,t=e,n=0;neo+tc){t=n-1;break}}for(var o=0,r=e-1;r>=0;r-=1)if((tn.get(er[r].key)||T)[ea]=t?[0,0]:[o,t]},[tn,tc,to,tr,ti,eo,ei,er.map(function(e){return e.key}).join("_"),el])),ty=(0,p.Z)(tk,2),tx=ty[0],t_=ty[1],tw=(0,_.Z)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:em,t=tn.get(e)||{width:0,height:0,left:0,right:0,top:0};if(eO){var n=ej;eh?t.rightej+tc&&(n=t.right+t.width-tc):t.left<-ej?n=-t.left:t.left+t.width>-ej+tc&&(n=-(t.left+t.width-tc)),eH(0),eG(tf(n))}else{var a=eA;t.top<-eA?a=-t.top:t.top+t.height>-eA+tc&&(a=-(t.top+t.height-tc)),eG(0),eH(tf(a))}}),tS={};"top"===ey||"bottom"===ey?tS[eh?"marginRight":"marginLeft"]=ex:tS.marginTop=ex;var tE=eR.map(function(e,t){var n=e.key;return a.createElement(W,{id:eb,prefixCls:eC,key:n,tab:e,style:0===t?void 0:tS,closable:e.closable,editable:e$,active:n===em,renderWrapper:e_,removeAriaLabel:null==ek?void 0:ek.removeAriaLabel,onClick:function(e){ew(n,e)},onFocus:function(){tw(n),tg(),eL.current&&(eh||(eL.current.scrollLeft=0),eL.current.scrollTop=0)}})}),tZ=function(){return tt(function(){var e,t=new Map,n=null===(e=eM.current)||void 0===e?void 0:e.getBoundingClientRect();return eR.forEach(function(e){var a,o=e.key,r=null===(a=eM.current)||void 0===a?void 0:a.querySelector('[data-node-key="'.concat(L(o),'"]'));if(r){var i=X(r,n),l=(0,p.Z)(i,4),c=l[0],d=l[1],s=l[2],u=l[3];t.set(o,{width:c,height:d,left:s,top:u})}}),t})};(0,a.useEffect)(function(){tZ()},[eR.map(function(e){return e.key}).join("_")]);var tC=P(function(){var e=A(eP),t=A(eT),n=A(eI);eV([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var a=A(ez);e8(a),e9(A(eN));var o=A(eM);eU([o[0]-a[0],o[1]-a[1]]),tZ()}),tR=eR.slice(0,tx),tP=eR.slice(t_+1),tT=[].concat((0,y.Z)(tR),(0,y.Z)(tP)),tI=tn.get(em),tL=E({activeTabOffset:tI,horizontal:eO,indicator:eE,rtl:eh}).style;(0,a.useEffect)(function(){tw()},[em,ts,tu,I(tI),I(tn),eO]),(0,a.useEffect)(function(){tC()},[eh]);var tM=!!tT.length,tN="".concat(eC,"-nav-wrap");return eO?eh?(ed=ej>0,ec=ej!==tu):(ec=ej<0,ed=ej!==ts):(es=eA<0,eu=eA!==ts),a.createElement(x.Z,{onResize:tC},a.createElement("div",{ref:(0,w.x1)(t,eP),role:"tablist",className:u()("".concat(eC,"-nav"),ef),style:ev,onKeyDown:function(){tg()}},a.createElement(z,{ref:eT,position:"left",extra:eg,prefixCls:eC}),a.createElement(x.Z,{onResize:tC},a.createElement("div",{className:u()(tN,(0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)({},"".concat(tN,"-ping-left"),ec),"".concat(tN,"-ping-right"),ed),"".concat(tN,"-ping-top"),es),"".concat(tN,"-ping-bottom"),eu)),ref:eL},a.createElement(x.Z,{onResize:tC},a.createElement("div",{ref:eM,className:"".concat(eC,"-nav-list"),style:{transform:"translate(".concat(ej,"px, ").concat(eA,"px)"),transition:tm?"none":void 0}},tE,a.createElement(N,{ref:ez,prefixCls:eC,locale:ek,editable:e$,style:(0,b.Z)((0,b.Z)({},0===tE.length?void 0:tS),{},{visibility:tM?"hidden":null})}),a.createElement("div",{className:u()("".concat(eC,"-ink-bar"),(0,v.Z)({},"".concat(eC,"-ink-bar-animated"),ep.inkBar)),style:tL}))))),a.createElement(G,(0,f.Z)({},e,{removeAriaLabel:null==ek?void 0:ek.removeAriaLabel,ref:eN,prefixCls:eC,tabs:tT,className:!tM&&td,tabMoving:!!tm})),a.createElement(z,{ref:eI,position:"right",extra:eg,prefixCls:eC})))}),K=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.className,r=e.style,i=e.id,l=e.active,c=e.tabKey,d=e.children;return a.createElement("div",{id:i&&"".concat(i,"-panel-").concat(c),role:"tabpanel",tabIndex:l?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(c),"aria-hidden":!l,style:r,className:u()(n,l&&"".concat(n,"-active"),o),ref:t},d)}),F=["renderTabBar"],V=["label","key"],Y=function(e){var t=e.renderTabBar,n=(0,h.Z)(e,F),o=a.useContext(k).tabs;return t?t((0,b.Z)((0,b.Z)({},n),{},{panes:o.map(function(e){var t=e.label,n=e.key,o=(0,h.Z)(e,V);return a.createElement(K,(0,f.Z)({tab:t,key:n,tabKey:n},o))})}),q):a.createElement(q,n)},Q=n(29372),J=["key","forceRender","style","className","destroyInactiveTabPane"],U=function(e){var t=e.id,n=e.activeKey,o=e.animated,r=e.tabPosition,i=e.destroyInactiveTabPane,l=a.useContext(k),c=l.prefixCls,d=l.tabs,s=o.tabPane,p="".concat(c,"-tabpane");return a.createElement("div",{className:u()("".concat(c,"-content-holder"))},a.createElement("div",{className:u()("".concat(c,"-content"),"".concat(c,"-content-").concat(r),(0,v.Z)({},"".concat(c,"-content-animated"),s))},d.map(function(e){var r=e.key,l=e.forceRender,c=e.style,d=e.className,v=e.destroyInactiveTabPane,m=(0,h.Z)(e,J),g=r===n;return a.createElement(Q.ZP,(0,f.Z)({key:r,visible:g,forceRender:l,removeOnLeave:!!(i||v),leavedClassName:"".concat(p,"-hidden")},o.tabPaneMotion),function(e,n){var o=e.style,i=e.className;return a.createElement(K,(0,f.Z)({},m,{prefixCls:p,id:t,tabKey:r,animated:s,active:g,style:(0,b.Z)((0,b.Z)({},c),o),className:u()(d,i),ref:n}))})})))};n(80334);var ee=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],et=0,en=a.forwardRef(function(e,t){var n=e.id,o=e.prefixCls,r=void 0===o?"rc-tabs":o,i=e.className,l=e.items,c=e.direction,d=e.activeKey,s=e.defaultActiveKey,y=e.editable,x=e.animated,_=e.tabPosition,w=void 0===_?"top":_,S=e.tabBarGutter,E=e.tabBarStyle,Z=e.tabBarExtraContent,C=e.locale,R=e.more,P=e.destroyInactiveTabPane,T=e.renderTabBar,I=e.onChange,L=e.onTabClick,M=e.onTabScroll,N=e.getPopupContainer,z=e.popupClassName,O=e.indicator,B=(0,h.Z)(e,ee),D=a.useMemo(function(){return(l||[]).filter(function(e){return e&&"object"===(0,m.Z)(e)&&"key"in e})},[l]),j="rtl"===c,G=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,b.Z)({inkBar:!0},"object"===(0,m.Z)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(x),W=(0,a.useState)(!1),X=(0,p.Z)(W,2),A=X[0],H=X[1];(0,a.useEffect)(function(){H((0,$.Z)())},[]);var q=(0,g.Z)(function(){var e;return null===(e=D[0])||void 0===e?void 0:e.key},{value:d,defaultValue:s}),K=(0,p.Z)(q,2),F=K[0],V=K[1],Q=(0,a.useState)(function(){return D.findIndex(function(e){return e.key===F})}),J=(0,p.Z)(Q,2),en=J[0],ea=J[1];(0,a.useEffect)(function(){var e,t=D.findIndex(function(e){return e.key===F});-1===t&&(t=Math.max(0,Math.min(en,D.length-1)),V(null===(e=D[t])||void 0===e?void 0:e.key)),ea(t)},[D.map(function(e){return e.key}).join("_"),F,en]);var eo=(0,g.Z)(null,{value:n}),er=(0,p.Z)(eo,2),ei=er[0],el=er[1];(0,a.useEffect)(function(){n||(el("rc-tabs-".concat(et)),et+=1)},[]);var ec={id:ei,activeKey:F,animated:G,tabPosition:w,rtl:j,mobile:A},ed=(0,b.Z)((0,b.Z)({},ec),{},{editable:y,locale:C,more:R,tabBarGutter:S,onTabClick:function(e,t){null==L||L(e,t);var n=e!==F;V(e),n&&(null==I||I(e))},onTabScroll:M,extra:Z,style:E,panes:null,getPopupContainer:N,popupClassName:z,indicator:O});return a.createElement(k.Provider,{value:{tabs:D,prefixCls:r}},a.createElement("div",(0,f.Z)({ref:t,id:n,className:u()(r,"".concat(r,"-").concat(w),(0,v.Z)((0,v.Z)((0,v.Z)({},"".concat(r,"-mobile"),A),"".concat(r,"-editable"),y),"".concat(r,"-rtl"),j),i)},B),a.createElement(Y,(0,f.Z)({},ed,{renderTabBar:T})),a.createElement(U,(0,f.Z)({destroyInactiveTabPane:P},ec,{animated:G}))))}),ea=n(53124),eo=n(35792),er=n(98675),ei=n(33603);let el={motionAppear:!1,motionEnter:!0,motionLeave:!0};var ec=n(50344),ed=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n},es=n(47648),eu=n(14747),ef=n(83559),ev=n(87893),eb=n(67771),ep=e=>{let{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[(0,eb.oN)(e,"slide-up"),(0,eb.oN)(e,"slide-down")]]};let em=e=>{let{componentCls:t,tabsCardPadding:n,cardBg:a,cardGutter:o,colorBorderSecondary:r,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:a,border:`${(0,es.bf)(e.lineWidth)} ${e.lineType} ${r}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,es.bf)(o)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,es.bf)(e.borderRadiusLG)} ${(0,es.bf)(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,es.bf)(e.borderRadiusLG)} ${(0,es.bf)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,es.bf)(o)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,es.bf)(e.borderRadiusLG)} 0 0 ${(0,es.bf)(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,es.bf)(e.borderRadiusLG)} ${(0,es.bf)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},eh=e=>{let{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:a}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,eu.Wf)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${(0,es.bf)(a)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},eu.vS),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,es.bf)(e.paddingXXS)} ${(0,es.bf)(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},eg=e=>{let{componentCls:t,margin:n,colorBorderSecondary:a,horizontalMargin:o,verticalItemPadding:r,verticalItemMargin:i,calc:l}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,es.bf)(e.lineWidth)} ${e.lineType} ${a}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, - right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, - > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:l(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:r,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,es.bf)(l(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,es.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:l(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,es.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},e$=e=>{let{componentCls:t,cardPaddingSM:n,cardPaddingLG:a,horizontalItemPaddingSM:o,horizontalItemPaddingLG:r}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${(0,es.bf)(e.borderRadius)} ${(0,es.bf)(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${(0,es.bf)(e.borderRadius)} ${(0,es.bf)(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,es.bf)(e.borderRadius)} ${(0,es.bf)(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,es.bf)(e.borderRadius)} 0 0 ${(0,es.bf)(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a}}}}}},ek=e=>{let{componentCls:t,itemActiveColor:n,itemHoverColor:a,iconCls:o,tabsHorizontalItemMargin:r,horizontalItemPadding:i,itemSelectedColor:l,itemColor:c}=e,d=`${t}-tab`;return{[d]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},(0,eu.Qy)(e)),"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${d}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:a},[`&${d}-active ${d}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${d}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${d}-disabled ${d}-btn, &${d}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${d}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${d} + ${d}`]:{margin:{_skip_check_:!0,value:r}}}},ey=e=>{let{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:a,cardGutter:o,calc:r}=e,i=`${t}-rtl`;return{[i]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[a]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,es.bf)(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,es.bf)(e.marginXS)},marginLeft:{_skip_check_:!0,value:(0,es.bf)(r(e.marginXXS).mul(-1).equal())},[a]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},ex=e=>{let{componentCls:t,tabsCardPadding:n,cardHeight:a,cardGutter:o,itemHoverColor:r,itemActiveColor:i,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,eu.Wf)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:a,minHeight:a,marginLeft:{_skip_check_:!0,value:o},padding:`0 ${(0,es.bf)(e.paddingXS)}`,background:"transparent",border:`${(0,es.bf)(e.lineWidth)} ${e.lineType} ${l}`,borderRadius:`${(0,es.bf)(e.borderRadiusLG)} ${(0,es.bf)(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:r},"&:active, &:focus:not(:focus-visible)":{color:i}},(0,eu.Qy)(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),ek(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var e_=(0,ef.I$)("Tabs",e=>{let t=(0,ev.IX)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,es.bf)(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,es.bf)(e.horizontalItemGutter)}`});return[e$(t),ey(t),eg(t),eh(t),em(t),ex(t),ep(t)]},e=>{let t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}),ew=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let eS=e=>{var t,n,i,l,c,s,f,v,b,p,m;let h;let{type:g,className:$,rootClassName:k,size:y,onEdit:x,hideAdd:_,centered:w,addIcon:S,removeIcon:E,moreIcon:Z,more:C,popupClassName:R,children:P,items:T,animated:I,style:L,indicatorSize:M,indicator:N}=e,z=ew(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:O}=z,{direction:B,tabs:D,getPrefixCls:j,getPopupContainer:G}=a.useContext(ea.E_),W=j("tabs",O),X=(0,eo.Z)(W),[A,H,q]=e_(W,X);"editable-card"===g&&(h={onEdit:(e,t)=>{let{key:n,event:a}=t;null==x||x("add"===e?a:n,e)},removeIcon:null!==(t=null!=E?E:null==D?void 0:D.removeIcon)&&void 0!==t?t:a.createElement(o.Z,null),addIcon:(null!=S?S:null==D?void 0:D.addIcon)||a.createElement(d,null),showAdd:!0!==_});let K=j(),F=(0,er.Z)(y),V=function(e,t){if(e)return e;let n=(0,ec.Z)(t).map(e=>{if(a.isValidElement(e)){let{key:t,props:n}=e,a=n||{},{tab:o}=a,r=ed(a,["tab"]),i=Object.assign(Object.assign({key:String(t)},r),{label:o});return i}return null});return n.filter(e=>e)}(T,P),Y=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{})).tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},el),{motionName:(0,ei.m)(e,"switch")})),t}(W,I),Q=Object.assign(Object.assign({},null==D?void 0:D.style),L),J={align:null!==(n=null==N?void 0:N.align)&&void 0!==n?n:null===(i=null==D?void 0:D.indicator)||void 0===i?void 0:i.align,size:null!==(f=null!==(c=null!==(l=null==N?void 0:N.size)&&void 0!==l?l:M)&&void 0!==c?c:null===(s=null==D?void 0:D.indicator)||void 0===s?void 0:s.size)&&void 0!==f?f:null==D?void 0:D.indicatorSize};return A(a.createElement(en,Object.assign({direction:B,getPopupContainer:G},z,{items:V,className:u()({[`${W}-${F}`]:F,[`${W}-card`]:["card","editable-card"].includes(g),[`${W}-editable-card`]:"editable-card"===g,[`${W}-centered`]:w},null==D?void 0:D.className,$,k,H,q,X),popupClassName:u()(R,H,q,X),style:Q,editable:h,more:Object.assign({icon:null!==(m=null!==(p=null!==(b=null===(v=null==D?void 0:D.more)||void 0===v?void 0:v.icon)&&void 0!==b?b:null==D?void 0:D.moreIcon)&&void 0!==p?p:Z)&&void 0!==m?m:a.createElement(r.Z,null),transitionName:`${K}-slide-up`},C),prefixCls:W,animated:Y,indicator:J})))};eS.TabPane=()=>null;var eE=eS}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1960.13b1ddbef13a1921.js b/dbgpt/app/static/web/_next/static/chunks/1960.13b1ddbef13a1921.js new file mode 100644 index 000000000..9cd5162be --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/1960.13b1ddbef13a1921.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1960],{71960:function(e,n,t){t.r(n),t.d(n,{conf:function(){return i},language:function(){return r}});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*#pragma\\s+region\\b"),end:RegExp("^\\s*#pragma\\s+endregion\\b")}}},r={defaultToken:"",tokenPostfix:".cpp",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*\\$/,"comment","@linecomment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],linecomment:[[/.*[^\\]$/,"comment","@pop"],[/[^]+/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],raw:[[/(.*)(\))(?:([^ ()\\\t"]*))(\")/,{cases:{"$3==$S2":["string.raw","string.raw.end","string.raw.end",{token:"string.raw.end",next:"@pop"}],"@default":["string.raw","string.raw","string.raw","string.raw"]}}],[/.*/,"string.raw"]],annotation:[{include:"@whitespace"},[/using|alignas/,"keyword"],[/[a-zA-Z0-9_]+/,"annotation"],[/[,:]/,"delimiter"],[/[()]/,"@brackets"],[/\]\s*\]/,{token:"annotation",next:"@pop"}]],include:[[/(\s*)(<)([^<>]*)(>)/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]],[/(\s*)(")([^"]*)(")/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1960.c6aefeef31a5c167.js b/dbgpt/app/static/web/_next/static/chunks/1960.c6aefeef31a5c167.js deleted file mode 100644 index 5bf891406..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/1960.c6aefeef31a5c167.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1960],{71960:function(e,n,t){t.r(n),t.d(n,{conf:function(){return i},language:function(){return _}});/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*#pragma\\s+region\\b"),end:RegExp("^\\s*#pragma\\s+endregion\\b")}}},_={defaultToken:"",tokenPostfix:".cpp",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m512","__m512d","__m512i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>="],symbols:/[=>\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*\\$/,"comment","@linecomment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],linecomment:[[/.*[^\\]$/,"comment","@pop"],[/[^]+/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],raw:[[/[^)]+/,"string.raw"],[/\)$S2\"/,{token:"string.raw.end",next:"@pop"}],[/\)/,"string.raw"]],annotation:[{include:"@whitespace"},[/using|alignas/,"keyword"],[/[a-zA-Z0-9_]+/,"annotation"],[/[,:]/,"delimiter"],[/[()]/,"@brackets"],[/\]\s*\]/,{token:"annotation",next:"@pop"}]],include:[[/(\s*)(<)([^<>]*)(>)/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]],[/(\s*)(")([^"]*)(")/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1961.e2efc1e886bcf1a4.js b/dbgpt/app/static/web/_next/static/chunks/1961.1cda6bf52c36b817.js similarity index 95% rename from dbgpt/app/static/web/_next/static/chunks/1961.e2efc1e886bcf1a4.js rename to dbgpt/app/static/web/_next/static/chunks/1961.1cda6bf52c36b817.js index 91c0315fd..d42f64733 100644 --- a/dbgpt/app/static/web/_next/static/chunks/1961.e2efc1e886bcf1a4.js +++ b/dbgpt/app/static/web/_next/static/chunks/1961.1cda6bf52c36b817.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1961],{31961:function(E,T,S){S.r(T),S.d(T,{conf:function(){return R},language:function(){return _}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var R={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},_={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ACCESSIBLE","ADD","ALL","ALTER","ANALYZE","AND","AS","ASC","ASENSITIVE","BEFORE","BETWEEN","BIGINT","BINARY","BLOB","BOTH","BY","CALL","CASCADE","CASE","CHANGE","CHAR","CHARACTER","CHECK","COLLATE","COLUMN","CONDITION","CONSTRAINT","CONTINUE","CONVERT","CREATE","CROSS","CUBE","CUME_DIST","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DATABASES","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEC","DECIMAL","DECLARE","DEFAULT","DELAYED","DELETE","DENSE_RANK","DESC","DESCRIBE","DETERMINISTIC","DISTINCT","DISTINCTROW","DIV","DOUBLE","DROP","DUAL","EACH","ELSE","ELSEIF","EMPTY","ENCLOSED","ESCAPED","EXCEPT","EXISTS","EXIT","EXPLAIN","FALSE","FETCH","FIRST_VALUE","FLOAT","FLOAT4","FLOAT8","FOR","FORCE","FOREIGN","FROM","FULLTEXT","FUNCTION","GENERATED","GET","GRANT","GROUP","GROUPING","GROUPS","HAVING","HIGH_PRIORITY","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IF","IGNORE","IN","INDEX","INFILE","INNER","INOUT","INSENSITIVE","INSERT","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERVAL","INTO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IS","ITERATE","JOIN","JSON_TABLE","KEY","KEYS","KILL","LAG","LAST_VALUE","LATERAL","LEAD","LEADING","LEAVE","LEFT","LIKE","LIMIT","LINEAR","LINES","LOAD","LOCALTIME","LOCALTIMESTAMP","LOCK","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER_BIND","MASTER_SSL_VERIFY_SERVER_CERT","MATCH","MAXVALUE","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MIDDLEINT","MINUTE_MICROSECOND","MINUTE_SECOND","MOD","MODIFIES","NATURAL","NOT","NO_WRITE_TO_BINLOG","NTH_VALUE","NTILE","NULL","NUMERIC","OF","ON","OPTIMIZE","OPTIMIZER_COSTS","OPTION","OPTIONALLY","OR","ORDER","OUT","OUTER","OUTFILE","OVER","PARTITION","PERCENT_RANK","PRECISION","PRIMARY","PROCEDURE","PURGE","RANGE","RANK","READ","READS","READ_WRITE","REAL","RECURSIVE","REFERENCES","REGEXP","RELEASE","RENAME","REPEAT","REPLACE","REQUIRE","RESIGNAL","RESTRICT","RETURN","REVOKE","RIGHT","RLIKE","ROW","ROWS","ROW_NUMBER","SCHEMA","SCHEMAS","SECOND_MICROSECOND","SELECT","SENSITIVE","SEPARATOR","SET","SHOW","SIGNAL","SMALLINT","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_BIG_RESULT","SQL_CALC_FOUND_ROWS","SQL_SMALL_RESULT","SSL","STARTING","STORED","STRAIGHT_JOIN","SYSTEM","TABLE","TERMINATED","THEN","TINYBLOB","TINYINT","TINYTEXT","TO","TRAILING","TRIGGER","TRUE","UNDO","UNION","UNIQUE","UNLOCK","UNSIGNED","UPDATE","USAGE","USE","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARYING","VIRTUAL","WHEN","WHERE","WHILE","WINDOW","WITH","WRITE","XOR","YEAR_MONTH","ZEROFILL"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","Area","AsBinary","AsWKB","ASCII","ASIN","AsText","AsWKT","ASYMMETRIC_DECRYPT","ASYMMETRIC_DERIVE","ASYMMETRIC_ENCRYPT","ASYMMETRIC_SIGN","ASYMMETRIC_VERIFY","ATAN","ATAN2","ATAN","AVG","BENCHMARK","BIN","BIT_AND","BIT_COUNT","BIT_LENGTH","BIT_OR","BIT_XOR","Buffer","CAST","CEIL","CEILING","Centroid","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COMPRESS","CONCAT","CONCAT_WS","CONNECTION_ID","Contains","CONV","CONVERT","CONVERT_TZ","ConvexHull","COS","COT","COUNT","CRC32","CREATE_ASYMMETRIC_PRIV_KEY","CREATE_ASYMMETRIC_PUB_KEY","CREATE_DH_PARAMETERS","CREATE_DIGEST","Crosses","CUME_DIST","CURDATE","CURRENT_DATE","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DECODE","DEFAULT","DEGREES","DES_DECRYPT","DES_ENCRYPT","DENSE_RANK","Dimension","Disjoint","Distance","ELT","ENCODE","ENCRYPT","EndPoint","Envelope","Equals","EXP","EXPORT_SET","ExteriorRing","EXTRACT","ExtractValue","FIELD","FIND_IN_SET","FIRST_VALUE","FLOOR","FORMAT","FORMAT_BYTES","FORMAT_PICO_TIME","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GEN_RANGE","GEN_RND_EMAIL","GEN_RND_PAN","GEN_RND_SSN","GEN_RND_US_PHONE","GeomCollection","GeomCollFromText","GeometryCollectionFromText","GeomCollFromWKB","GeometryCollectionFromWKB","GeometryCollection","GeometryN","GeometryType","GeomFromText","GeometryFromText","GeomFromWKB","GeometryFromWKB","GET_FORMAT","GET_LOCK","GLength","GREATEST","GROUP_CONCAT","GROUPING","GTID_SUBSET","GTID_SUBTRACT","HEX","HOUR","ICU_VERSION","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INSERT","INSTR","InteriorRingN","Intersects","INTERVAL","IS_FREE_LOCK","IS_IPV4","IS_IPV4_COMPAT","IS_IPV4_MAPPED","IS_IPV6","IS_USED_LOCK","IS_UUID","IsClosed","IsEmpty","ISNULL","IsSimple","JSON_APPEND","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_ARRAYAGG","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_MERGE","JSON_MERGE_PATCH","JSON_MERGE_PRESERVE","JSON_OBJECT","JSON_OBJECTAGG","JSON_OVERLAPS","JSON_PRETTY","JSON_QUOTE","JSON_REMOVE","JSON_REPLACE","JSON_SCHEMA_VALID","JSON_SCHEMA_VALIDATION_REPORT","JSON_SEARCH","JSON_SET","JSON_STORAGE_FREE","JSON_STORAGE_SIZE","JSON_TABLE","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","LAG","LAST_DAY","LAST_INSERT_ID","LAST_VALUE","LCASE","LEAD","LEAST","LEFT","LENGTH","LineFromText","LineStringFromText","LineFromWKB","LineStringFromWKB","LineString","LN","LOAD_FILE","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","MAKE_SET","MAKEDATE","MAKETIME","MASK_INNER","MASK_OUTER","MASK_PAN","MASK_PAN_RELAXED","MASK_SSN","MASTER_POS_WAIT","MAX","MBRContains","MBRCoveredBy","MBRCovers","MBRDisjoint","MBREqual","MBREquals","MBRIntersects","MBROverlaps","MBRTouches","MBRWithin","MD5","MEMBER OF","MICROSECOND","MID","MIN","MINUTE","MLineFromText","MultiLineStringFromText","MLineFromWKB","MultiLineStringFromWKB","MOD","MONTH","MONTHNAME","MPointFromText","MultiPointFromText","MPointFromWKB","MultiPointFromWKB","MPolyFromText","MultiPolygonFromText","MPolyFromWKB","MultiPolygonFromWKB","MultiLineString","MultiPoint","MultiPolygon","NAME_CONST","NOT IN","NOW","NTH_VALUE","NTILE","NULLIF","NumGeometries","NumInteriorRings","NumPoints","OCT","OCTET_LENGTH","OLD_PASSWORD","ORD","Overlaps","PASSWORD","PERCENT_RANK","PERIOD_ADD","PERIOD_DIFF","PI","Point","PointFromText","PointFromWKB","PointN","PolyFromText","PolygonFromText","PolyFromWKB","PolygonFromWKB","Polygon","POSITION","POW","POWER","PS_CURRENT_THREAD_ID","PS_THREAD_ID","PROCEDURE ANALYSE","QUARTER","QUOTE","RADIANS","RAND","RANDOM_BYTES","RANK","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_REPLACE","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPEAT","REPLACE","REVERSE","RIGHT","ROLES_GRAPHML","ROUND","ROW_COUNT","ROW_NUMBER","RPAD","RTRIM","SCHEMA","SEC_TO_TIME","SECOND","SESSION_USER","SHA1","SHA","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SOURCE_POS_WAIT","SPACE","SQRT","SRID","ST_Area","ST_AsBinary","ST_AsWKB","ST_AsGeoJSON","ST_AsText","ST_AsWKT","ST_Buffer","ST_Buffer_Strategy","ST_Centroid","ST_Collect","ST_Contains","ST_ConvexHull","ST_Crosses","ST_Difference","ST_Dimension","ST_Disjoint","ST_Distance","ST_Distance_Sphere","ST_EndPoint","ST_Envelope","ST_Equals","ST_ExteriorRing","ST_FrechetDistance","ST_GeoHash","ST_GeomCollFromText","ST_GeometryCollectionFromText","ST_GeomCollFromTxt","ST_GeomCollFromWKB","ST_GeometryCollectionFromWKB","ST_GeometryN","ST_GeometryType","ST_GeomFromGeoJSON","ST_GeomFromText","ST_GeometryFromText","ST_GeomFromWKB","ST_GeometryFromWKB","ST_HausdorffDistance","ST_InteriorRingN","ST_Intersection","ST_Intersects","ST_IsClosed","ST_IsEmpty","ST_IsSimple","ST_IsValid","ST_LatFromGeoHash","ST_Length","ST_LineFromText","ST_LineStringFromText","ST_LineFromWKB","ST_LineStringFromWKB","ST_LineInterpolatePoint","ST_LineInterpolatePoints","ST_LongFromGeoHash","ST_Longitude","ST_MakeEnvelope","ST_MLineFromText","ST_MultiLineStringFromText","ST_MLineFromWKB","ST_MultiLineStringFromWKB","ST_MPointFromText","ST_MultiPointFromText","ST_MPointFromWKB","ST_MultiPointFromWKB","ST_MPolyFromText","ST_MultiPolygonFromText","ST_MPolyFromWKB","ST_MultiPolygonFromWKB","ST_NumGeometries","ST_NumInteriorRing","ST_NumInteriorRings","ST_NumPoints","ST_Overlaps","ST_PointAtDistance","ST_PointFromGeoHash","ST_PointFromText","ST_PointFromWKB","ST_PointN","ST_PolyFromText","ST_PolygonFromText","ST_PolyFromWKB","ST_PolygonFromWKB","ST_Simplify","ST_SRID","ST_StartPoint","ST_SwapXY","ST_SymDifference","ST_Touches","ST_Transform","ST_Union","ST_Validate","ST_Within","ST_X","ST_Y","StartPoint","STATEMENT_DIGEST","STATEMENT_DIGEST_TEXT","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","STRCMP","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUBTIME","SUM","SYSDATE","SYSTEM_USER","TAN","TIME","TIME_FORMAT","TIME_TO_SEC","TIMEDIFF","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TO_BASE64","TO_DAYS","TO_SECONDS","Touches","TRIM","TRUNCATE","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UpdateXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","UUID_SHORT","UUID_TO_BIN","VALIDATE_PASSWORD_STRENGTH","VALUES","VAR_POP","VAR_SAMP","VARIANCE","VERSION","WAIT_FOR_EXECUTED_GTID_SET","WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS","WEEK","WEEKDAY","WEEKOFYEAR","WEIGHT_STRING","Within","X","Y","YEAR","YEARWEEK"],builtinVariables:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@]+/,{cases:{"@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@keywords":"keyword","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/#+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/\\'/,"string"],[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],complexIdentifiers:[[/`/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^`]+/,"identifier"],[/``/,"identifier"],[/`/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}}}]); \ No newline at end of file + *-----------------------------------------------------------------------------*/var R={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},_={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ACCESSIBLE","ADD","ALL","ALTER","ANALYZE","AND","AS","ASC","ASENSITIVE","BEFORE","BETWEEN","BIGINT","BINARY","BLOB","BOTH","BY","CALL","CASCADE","CASE","CHANGE","CHAR","CHARACTER","CHECK","COLLATE","COLUMN","CONDITION","CONSTRAINT","CONTINUE","CONVERT","CREATE","CROSS","CUBE","CUME_DIST","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DATABASES","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEC","DECIMAL","DECLARE","DEFAULT","DELAYED","DELETE","DENSE_RANK","DESC","DESCRIBE","DETERMINISTIC","DISTINCT","DISTINCTROW","DIV","DOUBLE","DROP","DUAL","EACH","ELSE","ELSEIF","EMPTY","ENCLOSED","ESCAPED","EXCEPT","EXISTS","EXIT","EXPLAIN","FALSE","FETCH","FIRST_VALUE","FLOAT","FLOAT4","FLOAT8","FOR","FORCE","FOREIGN","FROM","FULLTEXT","FUNCTION","GENERATED","GET","GRANT","GROUP","GROUPING","GROUPS","HAVING","HIGH_PRIORITY","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IF","IGNORE","IN","INDEX","INFILE","INNER","INOUT","INSENSITIVE","INSERT","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERVAL","INTO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IS","ITERATE","JOIN","JSON_TABLE","KEY","KEYS","KILL","LAG","LAST_VALUE","LATERAL","LEAD","LEADING","LEAVE","LEFT","LIKE","LIMIT","LINEAR","LINES","LOAD","LOCALTIME","LOCALTIMESTAMP","LOCK","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER_BIND","MASTER_SSL_VERIFY_SERVER_CERT","MATCH","MAXVALUE","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MIDDLEINT","MINUTE_MICROSECOND","MINUTE_SECOND","MOD","MODIFIES","NATURAL","NOT","NO_WRITE_TO_BINLOG","NTH_VALUE","NTILE","NULL","NUMERIC","OF","ON","OPTIMIZE","OPTIMIZER_COSTS","OPTION","OPTIONALLY","OR","ORDER","OUT","OUTER","OUTFILE","OVER","PARTITION","PERCENT_RANK","PRECISION","PRIMARY","PROCEDURE","PURGE","RANGE","RANK","READ","READS","READ_WRITE","REAL","RECURSIVE","REFERENCES","REGEXP","RELEASE","RENAME","REPEAT","REPLACE","REQUIRE","RESIGNAL","RESTRICT","RETURN","REVOKE","RIGHT","RLIKE","ROW","ROWS","ROW_NUMBER","SCHEMA","SCHEMAS","SECOND_MICROSECOND","SELECT","SENSITIVE","SEPARATOR","SET","SHOW","SIGNAL","SMALLINT","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_BIG_RESULT","SQL_CALC_FOUND_ROWS","SQL_SMALL_RESULT","SSL","STARTING","STORED","STRAIGHT_JOIN","SYSTEM","TABLE","TERMINATED","THEN","TINYBLOB","TINYINT","TINYTEXT","TO","TRAILING","TRIGGER","TRUE","UNDO","UNION","UNIQUE","UNLOCK","UNSIGNED","UPDATE","USAGE","USE","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARYING","VIRTUAL","WHEN","WHERE","WHILE","WINDOW","WITH","WRITE","XOR","YEAR_MONTH","ZEROFILL"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","Area","AsBinary","AsWKB","ASCII","ASIN","AsText","AsWKT","ASYMMETRIC_DECRYPT","ASYMMETRIC_DERIVE","ASYMMETRIC_ENCRYPT","ASYMMETRIC_SIGN","ASYMMETRIC_VERIFY","ATAN","ATAN2","ATAN","AVG","BENCHMARK","BIN","BIT_AND","BIT_COUNT","BIT_LENGTH","BIT_OR","BIT_XOR","Buffer","CAST","CEIL","CEILING","Centroid","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COMPRESS","CONCAT","CONCAT_WS","CONNECTION_ID","Contains","CONV","CONVERT","CONVERT_TZ","ConvexHull","COS","COT","COUNT","CRC32","CREATE_ASYMMETRIC_PRIV_KEY","CREATE_ASYMMETRIC_PUB_KEY","CREATE_DH_PARAMETERS","CREATE_DIGEST","Crosses","CUME_DIST","CURDATE","CURRENT_DATE","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DECODE","DEFAULT","DEGREES","DES_DECRYPT","DES_ENCRYPT","DENSE_RANK","Dimension","Disjoint","Distance","ELT","ENCODE","ENCRYPT","EndPoint","Envelope","Equals","EXP","EXPORT_SET","ExteriorRing","EXTRACT","ExtractValue","FIELD","FIND_IN_SET","FIRST_VALUE","FLOOR","FORMAT","FORMAT_BYTES","FORMAT_PICO_TIME","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GEN_RANGE","GEN_RND_EMAIL","GEN_RND_PAN","GEN_RND_SSN","GEN_RND_US_PHONE","GeomCollection","GeomCollFromText","GeometryCollectionFromText","GeomCollFromWKB","GeometryCollectionFromWKB","GeometryCollection","GeometryN","GeometryType","GeomFromText","GeometryFromText","GeomFromWKB","GeometryFromWKB","GET_FORMAT","GET_LOCK","GLength","GREATEST","GROUP_CONCAT","GROUPING","GTID_SUBSET","GTID_SUBTRACT","HEX","HOUR","ICU_VERSION","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INSERT","INSTR","InteriorRingN","Intersects","INTERVAL","IS_FREE_LOCK","IS_IPV4","IS_IPV4_COMPAT","IS_IPV4_MAPPED","IS_IPV6","IS_USED_LOCK","IS_UUID","IsClosed","IsEmpty","ISNULL","IsSimple","JSON_APPEND","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_ARRAYAGG","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_MERGE","JSON_MERGE_PATCH","JSON_MERGE_PRESERVE","JSON_OBJECT","JSON_OBJECTAGG","JSON_OVERLAPS","JSON_PRETTY","JSON_QUOTE","JSON_REMOVE","JSON_REPLACE","JSON_SCHEMA_VALID","JSON_SCHEMA_VALIDATION_REPORT","JSON_SEARCH","JSON_SET","JSON_STORAGE_FREE","JSON_STORAGE_SIZE","JSON_TABLE","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","LAG","LAST_DAY","LAST_INSERT_ID","LAST_VALUE","LCASE","LEAD","LEAST","LEFT","LENGTH","LineFromText","LineStringFromText","LineFromWKB","LineStringFromWKB","LineString","LN","LOAD_FILE","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","MAKE_SET","MAKEDATE","MAKETIME","MASK_INNER","MASK_OUTER","MASK_PAN","MASK_PAN_RELAXED","MASK_SSN","MASTER_POS_WAIT","MAX","MBRContains","MBRCoveredBy","MBRCovers","MBRDisjoint","MBREqual","MBREquals","MBRIntersects","MBROverlaps","MBRTouches","MBRWithin","MD5","MEMBER OF","MICROSECOND","MID","MIN","MINUTE","MLineFromText","MultiLineStringFromText","MLineFromWKB","MultiLineStringFromWKB","MOD","MONTH","MONTHNAME","MPointFromText","MultiPointFromText","MPointFromWKB","MultiPointFromWKB","MPolyFromText","MultiPolygonFromText","MPolyFromWKB","MultiPolygonFromWKB","MultiLineString","MultiPoint","MultiPolygon","NAME_CONST","NOT IN","NOW","NTH_VALUE","NTILE","NULLIF","NumGeometries","NumInteriorRings","NumPoints","OCT","OCTET_LENGTH","OLD_PASSWORD","ORD","Overlaps","PASSWORD","PERCENT_RANK","PERIOD_ADD","PERIOD_DIFF","PI","Point","PointFromText","PointFromWKB","PointN","PolyFromText","PolygonFromText","PolyFromWKB","PolygonFromWKB","Polygon","POSITION","POW","POWER","PS_CURRENT_THREAD_ID","PS_THREAD_ID","PROCEDURE ANALYSE","QUARTER","QUOTE","RADIANS","RAND","RANDOM_BYTES","RANK","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_REPLACE","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPEAT","REPLACE","REVERSE","RIGHT","ROLES_GRAPHML","ROUND","ROW_COUNT","ROW_NUMBER","RPAD","RTRIM","SCHEMA","SEC_TO_TIME","SECOND","SESSION_USER","SHA1","SHA","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SOURCE_POS_WAIT","SPACE","SQRT","SRID","ST_Area","ST_AsBinary","ST_AsWKB","ST_AsGeoJSON","ST_AsText","ST_AsWKT","ST_Buffer","ST_Buffer_Strategy","ST_Centroid","ST_Collect","ST_Contains","ST_ConvexHull","ST_Crosses","ST_Difference","ST_Dimension","ST_Disjoint","ST_Distance","ST_Distance_Sphere","ST_EndPoint","ST_Envelope","ST_Equals","ST_ExteriorRing","ST_FrechetDistance","ST_GeoHash","ST_GeomCollFromText","ST_GeometryCollectionFromText","ST_GeomCollFromTxt","ST_GeomCollFromWKB","ST_GeometryCollectionFromWKB","ST_GeometryN","ST_GeometryType","ST_GeomFromGeoJSON","ST_GeomFromText","ST_GeometryFromText","ST_GeomFromWKB","ST_GeometryFromWKB","ST_HausdorffDistance","ST_InteriorRingN","ST_Intersection","ST_Intersects","ST_IsClosed","ST_IsEmpty","ST_IsSimple","ST_IsValid","ST_LatFromGeoHash","ST_Length","ST_LineFromText","ST_LineStringFromText","ST_LineFromWKB","ST_LineStringFromWKB","ST_LineInterpolatePoint","ST_LineInterpolatePoints","ST_LongFromGeoHash","ST_Longitude","ST_MakeEnvelope","ST_MLineFromText","ST_MultiLineStringFromText","ST_MLineFromWKB","ST_MultiLineStringFromWKB","ST_MPointFromText","ST_MultiPointFromText","ST_MPointFromWKB","ST_MultiPointFromWKB","ST_MPolyFromText","ST_MultiPolygonFromText","ST_MPolyFromWKB","ST_MultiPolygonFromWKB","ST_NumGeometries","ST_NumInteriorRing","ST_NumInteriorRings","ST_NumPoints","ST_Overlaps","ST_PointAtDistance","ST_PointFromGeoHash","ST_PointFromText","ST_PointFromWKB","ST_PointN","ST_PolyFromText","ST_PolygonFromText","ST_PolyFromWKB","ST_PolygonFromWKB","ST_Simplify","ST_SRID","ST_StartPoint","ST_SwapXY","ST_SymDifference","ST_Touches","ST_Transform","ST_Union","ST_Validate","ST_Within","ST_X","ST_Y","StartPoint","STATEMENT_DIGEST","STATEMENT_DIGEST_TEXT","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","STRCMP","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUBTIME","SUM","SYSDATE","SYSTEM_USER","TAN","TIME","TIME_FORMAT","TIME_TO_SEC","TIMEDIFF","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TO_BASE64","TO_DAYS","TO_SECONDS","Touches","TRIM","TRUNCATE","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UpdateXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","UUID_SHORT","UUID_TO_BIN","VALIDATE_PASSWORD_STRENGTH","VALUES","VAR_POP","VAR_SAMP","VARIANCE","VERSION","WAIT_FOR_EXECUTED_GTID_SET","WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS","WEEK","WEEKDAY","WEEKOFYEAR","WEIGHT_STRING","Within","X","Y","YEAR","YEARWEEK"],builtinVariables:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@]+/,{cases:{"@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@keywords":"keyword","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/#+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],complexIdentifiers:[[/`/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^`]+/,"identifier"],[/``/,"identifier"],[/`/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2057.9923e89ff4ed643a.js b/dbgpt/app/static/web/_next/static/chunks/2057.de00ce969c5e6ac5.js similarity index 65% rename from dbgpt/app/static/web/_next/static/chunks/2057.9923e89ff4ed643a.js rename to dbgpt/app/static/web/_next/static/chunks/2057.de00ce969c5e6ac5.js index 0cc4c1bfd..b6aa578f9 100644 --- a/dbgpt/app/static/web/_next/static/chunks/2057.9923e89ff4ed643a.js +++ b/dbgpt/app/static/web/_next/static/chunks/2057.de00ce969c5e6ac5.js @@ -1,416 +1,401 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2057],{12057:function(e,t,i){i.r(t),i.d(t,{default:function(){return a}});var s=i(10558),n=[{key:"obwhite",config:{base:"vs",inherit:!0,rules:[{foreground:"09885A",token:"comment"}],colors:{"editor.foreground":"#3B3B3B","editor.background":"#FFFFFF","editor.selectionBackground":"#BAD6FD","editor.lineHighlightBackground":"#00000012","editorCursor.foreground":"#000000","editorWhitespace.foreground":"#BFBFBF"}}},{key:"obdark",config:{base:"vs-dark",inherit:!0,rules:[{foreground:"F7F9FB",token:"identifier"},{foreground:"98D782",token:"number"}],colors:{}}}],a=class{constructor(){this.modelOptionsMap=new Map}setup(e=["mysql","obmysql","oboracle"]){e.forEach(e=>{switch(e){case"mysql":Promise.all([i.e(6791),i.e(2384)]).then(i.bind(i,2384)).then(e=>{e.setup(this)});break;case"obmysql":Promise.all([i.e(6791),i.e(8748)]).then(i.bind(i,48748)).then(e=>{e.setup(this)});break;case"oboracle":Promise.all([i.e(6791),i.e(7121)]).then(i.bind(i,87121)).then(e=>{e.setup(this)})}}),n.forEach(e=>{s.j6.defineTheme(e.key,e.config)})}setModelOptions(e,t){this.modelOptionsMap.set(e,t)}}},10558:function(e,t,i){i.d(t,{j6:function(){return r.editor},Mj:function(){return r.languages}}),i(90236),i(71387),i(42549),i(24336),i(72102),i(55833),i(86687),i(16741),i(38334),i(46838),i(44536),i(39956),i(93740),i(41895),i(27913),i(58076),i(27107),i(76917),i(57811),i(76454),i(55826),i(28389),i(44125),i(61097),i(81299),i(62078),i(95817),i(22470),i(82830),i(19646),i(68077),i(45624),i(98519),i(89390),i(99406),i(4074),i(97830),i(97615),i(49504),i(76),i(18408),i(93519),i(77061),i(97660),i(6633),i(60669),i(96816),i(73945),i(45048),i(88767),i(28763),i(61168),i(89995),i(47721),i(98762),i(75408),i(73802),i(88088),i(15662),i(64662),i(52614),i(95180),i(79607),i(70943),i(37181),i(86709);var s,n,a,o,r=i(5036),l=i(25552);/*!----------------------------------------------------------------------------- +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2057],{12057:function(e,t,i){i.r(t),i.d(t,{default:function(){return a}});var s=i(96685),n=[{key:"obwhite",config:{base:"vs",inherit:!0,rules:[{foreground:"09885A",token:"comment"}],colors:{"editor.foreground":"#3B3B3B","editor.background":"#FFFFFF","editor.selectionBackground":"#BAD6FD","editor.lineHighlightBackground":"#00000012","editorCursor.foreground":"#000000","editorWhitespace.foreground":"#BFBFBF"}}},{key:"obdark",config:{base:"vs-dark",inherit:!0,rules:[{foreground:"F7F9FB",token:"identifier"},{foreground:"98D782",token:"number"}],colors:{}}}],a=class{constructor(){this.modelOptionsMap=new Map}setup(e=["mysql","obmysql","oboracle"]){e.forEach(e=>{switch(e){case"mysql":Promise.all([i.e(6791),i.e(2384)]).then(i.bind(i,2384)).then(e=>{e.setup(this)});break;case"obmysql":Promise.all([i.e(6791),i.e(8748)]).then(i.bind(i,48748)).then(e=>{e.setup(this)});break;case"oboracle":Promise.all([i.e(6791),i.e(7121)]).then(i.bind(i,87121)).then(e=>{e.setup(this)})}}),n.forEach(e=>{s.j6.defineTheme(e.key,e.config)})}setModelOptions(e,t){this.modelOptionsMap.set(e,t)}}},96685:function(e,t,i){i.d(t,{j6:function(){return r.editor},Mj:function(){return r.languages}}),i(29477),i(90236),i(71387),i(42549),i(24336),i(72102),i(55833),i(34281),i(38334),i(29079),i(39956),i(93740),i(85754),i(41895),i(27107),i(76917),i(22482),i(55826),i(40714),i(44125),i(61097),i(99803),i(62078),i(95817),i(22470),i(66122),i(19646),i(68077),i(84602),i(77563),i(70448),i(97830),i(97615),i(49504),i(76),i(18408),i(77061),i(97660),i(91732),i(60669),i(96816),i(73945),i(45048),i(82379),i(47721),i(98762),i(61984),i(76092),i(88088),i(15662),i(64662),i(52614),i(95180),i(79607),i(61271),i(70943),i(37181),i(86709);var s,n,a,o,r=i(72339),l=i(25552);/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>i.e(848).then(i.bind(i,40848))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>i.e(4386).then(i.bind(i,54386))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>i.e(1471).then(i.bind(i,31471))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>i.e(4129).then(i.bind(i,84129))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>i.e(7131).then(i.bind(i,47131))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>i.e(1448).then(i.bind(i,11448))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>i.e(3036).then(i.bind(i,33036))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>i.e(1147).then(i.bind(i,21147))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>i.e(1960).then(i.bind(i,71960))}),(0,l.H)({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>i.e(1960).then(i.bind(i,71960))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>i.e(8719).then(i.bind(i,18719))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/(0,l.H)({id:"csp",extensions:[".csp"],aliases:["CSP","csp"],loader:()=>i.e(8946).then(i.bind(i,68946))}),/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/(0,l.H)({id:"csp",extensions:[],aliases:["CSP","csp"],loader:()=>i.e(8946).then(i.bind(i,68946))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>i.e(2075).then(i.bind(i,62075))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>i.e(6423).then(i.bind(i,56423))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>i.e(9343).then(i.bind(i,39343))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>i.e(5849).then(i.bind(i,25849))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>i.e(2814).then(i.bind(i,12814))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>i.e(2240).then(i.bind(i,92240))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>i.e(4188).then(i.bind(i,14188))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>i.e(6241).then(i.bind(i,96241))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>i.e(5880).then(i.bind(i,5880)).then(e=>e.TagAutoInterpolationDollar)}),(0,l.H)({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>i.e(5880).then(i.bind(i,5880)).then(e=>e.TagAngleInterpolationDollar)}),(0,l.H)({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>i.e(5880).then(i.bind(i,5880)).then(e=>e.TagBracketInterpolationDollar)}),(0,l.H)({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>i.e(5880).then(i.bind(i,5880)).then(e=>e.TagAngleInterpolationBracket)}),(0,l.H)({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>i.e(5880).then(i.bind(i,5880)).then(e=>e.TagBracketInterpolationBracket)}),(0,l.H)({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>i.e(5880).then(i.bind(i,5880)).then(e=>e.TagAutoInterpolationDollar)}),(0,l.H)({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>i.e(5880).then(i.bind(i,5880)).then(e=>e.TagAutoInterpolationBracket)}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>i.e(249).then(i.bind(i,80249))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>i.e(6489).then(i.bind(i,66489))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>i.e(5703).then(i.bind(i,15703))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/(0,l.H)({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>i.e(3632).then(i.bind(i,53632))}),/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/(0,l.H)({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>i.e(3632).then(i.bind(i,48534))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>i.e(2571).then(i.bind(i,2571))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>i.e(2798).then(i.bind(i,59607))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>i.e(7043).then(i.bind(i,17043))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>i.e(1134).then(i.bind(i,41134))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>i.e(4946).then(i.bind(i,34946))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/(0,l.H)({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>i.e(4368).then(i.bind(i,84368))}),/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/(0,l.H)({id:"kotlin",extensions:[".kt"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>i.e(4368).then(i.bind(i,84368))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>i.e(5593).then(i.bind(i,35593))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/(0,l.H)({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>i.e(4912).then(i.bind(i,64912))}),/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/(0,l.H)({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>i.e(4912).then(i.bind(i,99060))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>i.e(911).then(i.bind(i,20911))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>i.e(4028).then(i.bind(i,94028))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>i.e(8906).then(i.bind(i,38906))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>i.e(2954).then(i.bind(i,42954))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/(0,l.H)({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>i.e(4456).then(i.bind(i,4456))}),/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>i.e(854).then(i.bind(i,60854))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>i.e(9398).then(i.bind(i,79398))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>i.e(1961).then(i.bind(i,31961))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>i.e(9537).then(i.bind(i,79537))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>i.e(6082).then(i.bind(i,86082))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>i.e(8084).then(i.bind(i,98084))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/(0,l.H)({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>i.e(8070).then(i.bind(i,8070))}),/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/(0,l.H)({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:()=>i.e(8070).then(i.bind(i,8070))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>i.e(996).then(i.bind(i,20996))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>i.e(7835).then(i.bind(i,47835))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"pla",extensions:[".pla"],loader:()=>i.e(3682).then(i.bind(i,23682))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>i.e(3862).then(i.bind(i,48180))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>i.e(4407).then(i.bind(i,94407))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>i.e(7562).then(i.bind(i,37562))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>i.e(3760).then(i.bind(i,63760))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>i.e(2892).then(i.bind(i,22892))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>i.e(7287).then(i.bind(i,37287))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>i.e(481).then(i.bind(i,69400))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>i.e(2140).then(i.bind(i,22140))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>i.e(6424).then(i.bind(i,76424))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>i.e(1259).then(i.bind(i,91259))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>i.e(6449).then(i.bind(i,56449))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>i.e(1065).then(i.bind(i,71065))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>i.e(9684).then(i.bind(i,69684))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>i.e(8715).then(i.bind(i,8715))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/(0,l.H)({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>i.e(5062).then(i.bind(i,95062))}),/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/(0,l.H)({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>i.e(5062).then(i.bind(i,78))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>i.e(180).then(i.bind(i,90180))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>i.e(2060).then(i.bind(i,32060))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>i.e(525).then(i.bind(i,90525))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>i.e(8670).then(i.bind(i,88670))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>i.e(1156).then(i.bind(i,1156))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>i.e(3919).then(i.bind(i,63919))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>i.e(5962).then(i.bind(i,85962))}),i(96337),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/(0,l.H)({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>i.e(6587).then(i.bind(i,86587))}),/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/(0,l.H)({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib"],aliases:["StructuredText","scl","stl"],loader:()=>i.e(6587).then(i.bind(i,86587))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>i.e(2911).then(i.bind(i,42911))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>i.e(1886).then(i.bind(i,81886))}),(0,l.H)({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>i.e(1886).then(i.bind(i,81886))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>i.e(7637).then(i.bind(i,57637))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>i.e(8424).then(i.bind(i,98424))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/(0,l.H)({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>i.e(6717).then(i.bind(i,96717))}),/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/(0,l.H)({id:"typescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>i.e(6717).then(i.bind(i,96717))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/(0,l.H)({id:"typespec",extensions:[".tsp"],aliases:["TypeSpec"],loader:()=>i.e(8734).then(i.bind(i,98734))}),/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>i.e(9907).then(i.bind(i,39907))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/(0,l.H)({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>i.e(147).then(i.bind(i,40147))}),/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/(0,l.H)({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\i.e(4902).then(i.bind(i,4902))}),/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/(0,l.H)({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\i.e(4902).then(i.bind(i,4902))}),/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/(0,l.H)({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>i.e(3585).then(i.bind(i,23585))});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var d=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,g=(e,t,i,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of h(t))p.call(e,n)||n===i||d(e,n,{get:()=>t[n],enumerable:!(s=c(t,n))||s.enumerable});return e},m={};g(m,r,"default"),s&&g(s,r,"default");var u=class{constructor(e,t,i){this._onDidChange=new m.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},b={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},x={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},f=new u("css",b,x),y=new u("scss",b,x),w=new u("less",b,x);function H(){return i.e(5288).then(i.bind(i,45288))}m.languages.css={cssDefaults:f,lessDefaults:w,scssDefaults:y},m.languages.onLanguage("less",()=>{H().then(e=>e.setupMode(w))}),m.languages.onLanguage("scss",()=>{H().then(e=>e.setupMode(y))}),m.languages.onLanguage("css",()=>{H().then(e=>e.setupMode(f))});/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var d=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,g=(e,t,i,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of h(t))p.call(e,n)||n===i||d(e,n,{get:()=>t[n],enumerable:!(s=c(t,n))||s.enumerable});return e},m={};g(m,r,"default"),s&&g(s,r,"default");var u=class{_onDidChange=new m.Emitter;_options;_modeConfiguration;_languageId;constructor(e,t,i){this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},b={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},x={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},f=new u("css",b,x),y=new u("scss",b,x),w=new u("less",b,x);function S(){return i.e(5288).then(i.bind(i,45288))}m.languages.css={cssDefaults:f,lessDefaults:w,scssDefaults:y},m.languages.onLanguage("less",()=>{S().then(e=>e.setupMode(w))}),m.languages.onLanguage("scss",()=>{S().then(e=>e.setupMode(y))}),m.languages.onLanguage("css",()=>{S().then(e=>e.setupMode(f))});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var S=Object.defineProperty,k=Object.getOwnPropertyDescriptor,v=Object.getOwnPropertyNames,O=Object.prototype.hasOwnProperty,C=(e,t,i,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of v(t))O.call(e,n)||n===i||S(e,n,{get:()=>t[n],enumerable:!(s=k(t,n))||s.enumerable});return e},_={};C(_,r,"default"),n&&C(n,r,"default");var j=class{constructor(e,t,i){this._onDidChange=new _.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},L={format:{tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},suggest:{},data:{useDefaultDataProvider:!0}};function D(e){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:e===E,documentFormattingEdits:e===E,documentRangeFormattingEdits:e===E}}var E="html",M="handlebars",P="razor",F=q(E,L,D(E)),T=F.defaults,A=q(M,L,D(M)),B=A.defaults,I=q(P,L,D(P)),R=I.defaults;function q(e,t=L,s=D(e)){let n;let a=new j(e,t,s),o=_.languages.onLanguage(e,async()=>{n=(await i.e(5377).then(i.bind(i,15377))).setupMode(a)});return{defaults:a,dispose(){o.dispose(),n?.dispose(),n=void 0}}}_.languages.html={htmlDefaults:T,razorDefaults:R,handlebarDefaults:B,htmlLanguageService:F,handlebarLanguageService:A,razorLanguageService:I,registerHTMLLanguageService:q};/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var k=Object.defineProperty,v=Object.getOwnPropertyDescriptor,H=Object.getOwnPropertyNames,_=Object.prototype.hasOwnProperty,O=(e,t,i,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of H(t))_.call(e,n)||n===i||k(e,n,{get:()=>t[n],enumerable:!(s=v(t,n))||s.enumerable});return e},C={};O(C,r,"default"),n&&O(n,r,"default");var j=class{_onDidChange=new C.Emitter;_options;_modeConfiguration;_languageId;constructor(e,t,i){this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},L={format:{tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},suggest:{},data:{useDefaultDataProvider:!0}};function D(e){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:e===E,documentFormattingEdits:e===E,documentRangeFormattingEdits:e===E}}var E="html",M="handlebars",P="razor",F=R(E,L,D(E)),A=F.defaults,T=R(M,L,D(M)),B=T.defaults,I=R(P,L,D(P)),q=I.defaults;function R(e,t=L,s=D(e)){let n;let a=new j(e,t,s),o=C.languages.onLanguage(e,async()=>{n=(await i.e(5377).then(i.bind(i,15377))).setupMode(a)});return{defaults:a,dispose(){o.dispose(),n?.dispose(),n=void 0}}}C.languages.html={htmlDefaults:A,razorDefaults:q,handlebarDefaults:B,htmlLanguageService:F,handlebarLanguageService:T,razorLanguageService:I,registerHTMLLanguageService:R};/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var N=Object.defineProperty,J=Object.getOwnPropertyDescriptor,V=Object.getOwnPropertyNames,W=Object.prototype.hasOwnProperty,z=(e,t,i,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of V(t))W.call(e,n)||n===i||N(e,n,{get:()=>t[n],enumerable:!(s=J(t,n))||s.enumerable});return e},U={};z(U,r,"default"),a&&z(a,r,"default");var Q=new class{constructor(e,t,i){this._onDidChange=new U.Emitter,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}}("json",{validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},{documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0});function X(){return i.e(665).then(i.bind(i,90665))}U.languages.json={jsonDefaults:Q,getWorker:()=>X().then(e=>e.getWorker())},U.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]}),U.languages.onLanguage("json",()=>{X().then(e=>e.setupMode(Q))}),i(39585),i(20913),i(28609),self.MonacoEnvironment=(o={editorWorkerService:"static/editor.worker.js"},{globalAPI:!1,getWorkerUrl:function(e,t){var s=i.p,n=(s?s.replace(/\/$/,"")+"/":"")+o[t];if(/^((http:)|(https:)|(file:)|(\/\/))/.test(n)){var a=String(window.location),r=a.substr(0,a.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(n.substring(0,r.length)!==r){/^(\/\/)/.test(n)&&(n=window.location.protocol+n);var l="/*"+t+'*/importScripts("'+n+'");',d=new Blob([l],{type:"application/javascript"});return URL.createObjectURL(d)}}return n}})},39585:function(e,t,i){i.d(t,{TG:function(){return k}});var s,n,a,o,r,l,d=i(5036),c=Object.defineProperty,h=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,g=Object.prototype.hasOwnProperty,m=(e,t,i,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of p(t))g.call(e,n)||n===i||c(e,n,{get:()=>t[n],enumerable:!(s=h(t,n))||s.enumerable});return e},u={};m(u,d,"default"),s&&m(s,d,"default");var b=((n=b||{})[n.None=0]="None",n[n.CommonJS=1]="CommonJS",n[n.AMD=2]="AMD",n[n.UMD=3]="UMD",n[n.System=4]="System",n[n.ES2015=5]="ES2015",n[n.ESNext=99]="ESNext",n),x=((a=x||{})[a.None=0]="None",a[a.Preserve=1]="Preserve",a[a.React=2]="React",a[a.ReactNative=3]="ReactNative",a[a.ReactJSX=4]="ReactJSX",a[a.ReactJSXDev=5]="ReactJSXDev",a),f=((o=f||{})[o.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",o[o.LineFeed=1]="LineFeed",o),y=((r=y||{})[r.ES3=0]="ES3",r[r.ES5=1]="ES5",r[r.ES2015=2]="ES2015",r[r.ES2016=3]="ES2016",r[r.ES2017=4]="ES2017",r[r.ES2018=5]="ES2018",r[r.ES2019=6]="ES2019",r[r.ES2020=7]="ES2020",r[r.ESNext=99]="ESNext",r[r.JSON=100]="JSON",r[r.Latest=99]="Latest",r),w=((l=w||{})[l.Classic=1]="Classic",l[l.NodeJs=2]="NodeJs",l),H=class{constructor(e,t,i,s,n){this._onDidChange=new u.Emitter,this._onDidExtraLibsChange=new u.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(i),this.setInlayHintsOptions(s),this.setModeConfiguration(n),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(e,t){let i;if(i=void 0===t?`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t,this._extraLibs[i]&&this._extraLibs[i].content===e)return{dispose:()=>{}};let s=1;return this._removedExtraLibs[i]&&(s=this._removedExtraLibs[i]+1),this._extraLibs[i]&&(s=this._extraLibs[i].version+1),this._extraLibs[i]={content:e,version:s},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let e=this._extraLibs[i];e&&e.version===s&&(delete this._extraLibs[i],this._removedExtraLibs[i]=s,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(e){for(let e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(let t of e){let e=t.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=t.content,s=1;this._removedExtraLibs[e]&&(s=this._removedExtraLibs[e]+1),this._extraLibs[e]={content:i,version:s}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){-1===this._onDidExtraLibsChangeTimeout&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(e){this._inlayHintsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(e){}setEagerModelSync(e){this._eagerModelSync=e}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(void 0)}},S={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},k=new H({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},S),v=new H({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},S);function O(){return i.e(8401).then(i.bind(i,78401))}u.languages.typescript={ModuleKind:b,JsxEmit:x,NewLineKind:f,ScriptTarget:y,ModuleResolutionKind:w,typescriptVersion:"5.4.5",typescriptDefaults:k,javascriptDefaults:v,getTypeScriptWorker:()=>O().then(e=>e.getTypeScriptWorker()),getJavaScriptWorker:()=>O().then(e=>e.getJavaScriptWorker())},u.languages.onLanguage("typescript",()=>O().then(e=>e.setupTypeScript(k))),u.languages.onLanguage("javascript",()=>O().then(e=>e.setupJavaScript(v)))}}]); \ No newline at end of file + *-----------------------------------------------------------------------------*/var N=Object.defineProperty,J=Object.getOwnPropertyDescriptor,V=Object.getOwnPropertyNames,z=Object.prototype.hasOwnProperty,W=(e,t,i,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of V(t))z.call(e,n)||n===i||N(e,n,{get:()=>t[n],enumerable:!(s=J(t,n))||s.enumerable});return e},Q={};W(Q,r,"default"),a&&W(a,r,"default");var U=new class{_onDidChange=new Q.Emitter;_diagnosticsOptions;_modeConfiguration;_languageId;constructor(e,t,i){this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}}("json",{validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},{documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0});Q.languages.json={jsonDefaults:U},Q.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]}),Q.languages.onLanguage("json",()=>{i.e(665).then(i.bind(i,90665)).then(e=>e.setupMode(U))}),i(39585),i(27982),i(14869),i(75623),i(20913),i(28609),self.MonacoEnvironment=(o={editorWorkerService:"static/editor.worker.js"},{globalAPI:!1,getWorkerUrl:function(e,t){var s=i.p,n=(s?s.replace(/\/$/,"")+"/":"")+o[t];if(/^((http:)|(https:)|(file:)|(\/\/))/.test(n)){var a=String(window.location),r=a.substr(0,a.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(n.substring(0,r.length)!==r){/^(\/\/)/.test(n)&&(n=window.location.protocol+n);var l="/*"+t+'*/importScripts("'+n+'");',d=new Blob([l],{type:"application/javascript"});return URL.createObjectURL(d)}}return n}})},39585:function(e,t,i){i.d(t,{TG:function(){return k}});var s,n,a,o,r,l,d=i(72339),c=Object.defineProperty,h=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,g=Object.prototype.hasOwnProperty,m=(e,t,i,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of p(t))g.call(e,n)||n===i||c(e,n,{get:()=>t[n],enumerable:!(s=h(t,n))||s.enumerable});return e},u={};m(u,d,"default"),s&&m(s,d,"default");var b=((n=b||{})[n.None=0]="None",n[n.CommonJS=1]="CommonJS",n[n.AMD=2]="AMD",n[n.UMD=3]="UMD",n[n.System=4]="System",n[n.ES2015=5]="ES2015",n[n.ESNext=99]="ESNext",n),x=((a=x||{})[a.None=0]="None",a[a.Preserve=1]="Preserve",a[a.React=2]="React",a[a.ReactNative=3]="ReactNative",a[a.ReactJSX=4]="ReactJSX",a[a.ReactJSXDev=5]="ReactJSXDev",a),f=((o=f||{})[o.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",o[o.LineFeed=1]="LineFeed",o),y=((r=y||{})[r.ES3=0]="ES3",r[r.ES5=1]="ES5",r[r.ES2015=2]="ES2015",r[r.ES2016=3]="ES2016",r[r.ES2017=4]="ES2017",r[r.ES2018=5]="ES2018",r[r.ES2019=6]="ES2019",r[r.ES2020=7]="ES2020",r[r.ESNext=99]="ESNext",r[r.JSON=100]="JSON",r[r.Latest=99]="Latest",r),w=((l=w||{})[l.Classic=1]="Classic",l[l.NodeJs=2]="NodeJs",l),S=class{_onDidChange=new u.Emitter;_onDidExtraLibsChange=new u.Emitter;_extraLibs;_removedExtraLibs;_eagerModelSync;_compilerOptions;_diagnosticsOptions;_workerOptions;_onDidExtraLibsChangeTimeout;_inlayHintsOptions;constructor(e,t,i,s){this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(i),this.setInlayHintsOptions(s),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(e,t){let i;if(i=void 0===t?`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t,this._extraLibs[i]&&this._extraLibs[i].content===e)return{dispose:()=>{}};let s=1;return this._removedExtraLibs[i]&&(s=this._removedExtraLibs[i]+1),this._extraLibs[i]&&(s=this._extraLibs[i].version+1),this._extraLibs[i]={content:e,version:s},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let e=this._extraLibs[i];e&&e.version===s&&(delete this._extraLibs[i],this._removedExtraLibs[i]=s,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(e){for(let e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(let t of e){let e=t.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=t.content,s=1;this._removedExtraLibs[e]&&(s=this._removedExtraLibs[e]+1),this._extraLibs[e]={content:i,version:s}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){-1===this._onDidExtraLibsChangeTimeout&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(e){this._inlayHintsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(e){}setEagerModelSync(e){this._eagerModelSync=e}getEagerModelSync(){return this._eagerModelSync}},k=new S({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{}),v=new S({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{});function H(){return i.e(8401).then(i.bind(i,78401))}u.languages.typescript={ModuleKind:b,JsxEmit:x,NewLineKind:f,ScriptTarget:y,ModuleResolutionKind:w,typescriptVersion:"4.5.5",typescriptDefaults:k,javascriptDefaults:v,getTypeScriptWorker:()=>H().then(e=>e.getTypeScriptWorker()),getJavaScriptWorker:()=>H().then(e=>e.getJavaScriptWorker())},u.languages.onLanguage("typescript",()=>H().then(e=>e.setupTypeScript(k))),u.languages.onLanguage("javascript",()=>H().then(e=>e.setupJavaScript(v)))}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2060.8b2cf9ea0a2892e9.js b/dbgpt/app/static/web/_next/static/chunks/2060.b7145aec88c35449.js similarity index 97% rename from dbgpt/app/static/web/_next/static/chunks/2060.8b2cf9ea0a2892e9.js rename to dbgpt/app/static/web/_next/static/chunks/2060.b7145aec88c35449.js index 70e6de367..a64b70709 100644 --- a/dbgpt/app/static/web/_next/static/chunks/2060.8b2cf9ea0a2892e9.js +++ b/dbgpt/app/static/web/_next/static/chunks/2060.b7145aec88c35449.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2060],{32060:function(e,n,o){o.r(n),o.d(n,{conf:function(){return t},language:function(){return s}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var t={comments:{lineComment:";",blockComment:["#|","|#"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".scheme",brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],keywords:["case","do","let","loop","if","else","when","cons","car","cdr","cond","lambda","lambda*","syntax-rules","format","set!","quote","eval","append","list","list?","member?","load"],constants:["#t","#f"],operators:["eq?","eqv?","equal?","and","or","not","null?"],tokenizer:{root:[[/#[xXoObB][0-9a-fA-F]+/,"number.hex"],[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/,"number.float"],[/(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/,["keyword","white","variable"]],{include:"@whitespace"},{include:"@strings"},[/[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/,{cases:{"@keywords":"keyword","@constants":"constant","@operators":"operators","@default":"identifier"}}]],comment:[[/[^\|#]+/,"comment"],[/#\|/,"comment","@push"],[/\|#/,"comment","@pop"],[/[\|#]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/#\|/,"comment","@comment"],[/;.*$/,"comment"]],strings:[[/"$/,"string","@popall"],[/"(?=.)/,"string","@multiLineString"]],multiLineString:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string.escape"],[/"/,"string","@popall"],[/\\$/,"string"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2075.9a70d9864875bd28.js b/dbgpt/app/static/web/_next/static/chunks/2075.e1643aa91d0d5714.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/2075.9a70d9864875bd28.js rename to dbgpt/app/static/web/_next/static/chunks/2075.e1643aa91d0d5714.js index d0c8eda79..c07e62874 100644 --- a/dbgpt/app/static/web/_next/static/chunks/2075.9a70d9864875bd28.js +++ b/dbgpt/app/static/web/_next/static/chunks/2075.e1643aa91d0d5714.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2075],{62075:function(e,t,n){n.r(t),n.d(t,{conf:function(){return r},language:function(){return i}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var r={wordPattern:/(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,comments:{blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},i={defaultToken:"",tokenPostfix:".css",ws:"[ \n\r\f]*",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.bracket"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},{include:"@strings"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2103.da13b2db9b6ef4a9.js b/dbgpt/app/static/web/_next/static/chunks/2103.da13b2db9b6ef4a9.js new file mode 100644 index 000000000..aea98666e --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/2103.da13b2db9b6ef4a9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2103],{26729:function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!=typeof r)throw TypeError("The listener must be a function");var l=new i(r,o||e,a),s=n?n+t:t;return e._events[s]?e._events[s].fn?e._events[s]=[e._events[s],l]:e._events[s].push(l):(e._events[s]=l,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function l(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),l.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},l.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=Array(o);ie.length)&&(t=e.length);for(var n=0,r=Array(t);n1?r[r.length-2]:null,s=n.length>r.length?n[r.length]:null;return{line:i,col:o,beforeText:e.substr(0,t),afterText:e.substr(t),curLine:a,prevLine:l,nextLine:s}}for(var T={bold:["**","**"],italic:["*","*"],underline:["++","++"],strikethrough:["~~","~~"],quote:["\n> ","\n"],inlinecode:["`","`"],code:["\n```\n","\n```\n"]},N=1;N<=6;N++)T["h"+N]=["\n"+function(e,t){for(var n="",r=t;r--;)n+="#";return n}(0,N)+" ","\n"];function x(e,t){var n=t;if("\n"!==n.substr(0,1)&&(n="\n"+n),"unordered"===e)return n.length>1?n.replace(/\n/g,"\n* ").trim():"* ";var r=1;return n.length>1?n.replace(/\n/g,function(){return"\n"+r+++". "}).trim():"1. "}function L(e,t){return{text:e,newBlock:t,selection:{start:e.length,end:e.length}}}var _=function(e,t,n){if(void 0!==T[t])return{text:""+T[t][0]+e+T[t][1],selection:{start:T[t][0].length,end:T[t][0].length+e.length}};switch(t){case"tab":var r=1===n.tabMapValue?" ":" ".repeat(n.tabMapValue),i=r+e.replace(/\n/g,"\n"+r),o=e.includes("\n")?e.match(/\n/g).length:0;return{text:i,selection:{start:n.tabMapValue,end:n.tabMapValue*(o+1)+e.length}};case"unordered":return L(x("unordered",e),!0);case"order":return L(x("order",e),!0);case"hr":return L("---",!0);case"table":return{text:function(e){for(var t=e.row,n=void 0===t?2:t,r=e.col,i=void 0===r?2:r,o=["|"],a=["|"],l=["|"],s="",c=1;c<=i;c++)o.push(" Head |"),l.push(" --- |"),a.push(" Data |");for(var u=1;u<=n;u++)s+="\n"+a.join("");return o.join("")+"\n"+l.join("")+s}(n),newBlock:!0};case"image":return{text:"!["+(e||n.target)+"]("+(n.imageUrl||"")+")",selection:{start:2,end:e.length+2}};case"link":return{text:"["+e+"]("+(n.linkUrl||"")+")",selection:{start:1,end:e.length+1}}}return{text:e,selection:{start:0,end:e.length}}},K=function(e,t){return{placeholder:_("","image",{target:"Uploading_"+(0,u.Z)(),imageUrl:""}).text,uploaded:new Promise(function(n){var r=!0,i=function(t){r&&console.warn("Deprecated: onImageUpload should return a Promise, callback will be removed in future"),n(_("","image",{target:e.name,imageUrl:t}).text)},o=t(e,i);S(o)&&(r=!1,o.then(i))})}},U={theme:"default",view:{menu:!0,md:!0,html:!0},canView:{menu:!0,md:!0,html:!0,both:!0,fullScreen:!0,hideMenu:!0},htmlClass:"",markdownClass:"",syncScrollMode:["rightFollowLeft","leftFollowRight"],imageUrl:"",imageAccept:"",linkUrl:"",loggerMaxSize:100,loggerInterval:600,table:{maxRow:4,maxCol:6},allowPasteImage:!0,onImageUpload:void 0,onCustomImageUpload:void 0,shortcuts:!0,onChangeTrigger:"both"},V=function(e){function t(){return e.apply(this,arguments)||this}s(t,e);var n=t.prototype;return n.getHtml=function(){return"string"==typeof this.props.html?this.props.html:this.el.current?this.el.current.innerHTML:""},n.render=function(){return"string"==typeof this.props.html?c.createElement("div",{ref:this.el,dangerouslySetInnerHTML:{__html:this.props.html},className:this.props.className||"custom-html-style"}):c.createElement("div",{ref:this.el,className:this.props.className||"custom-html-style"},this.props.html)},t}(function(e){function t(t){var n;return(n=e.call(this,t)||this).el=c.createRef(),n}s(t,e);var n=t.prototype;return n.getElement=function(){return this.el.current},n.getHeight=function(){return this.el.current?this.el.current.offsetHeight:0},t}(c.Component));function H(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return I(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I(e,t)}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1?n-1:0),i=1;i0&&h.length>0&&(l="\n"+l,s&&(s.start++,s.end++));var d=c.afterText;n.start!==n.end&&(d=M(this.getMdValue(),n.end).afterText),""!==d.trim()&&"\n\n"!==d.substr(0,2)&&("\n"!==d.substr(0,1)&&(l+="\n"),l+="\n")}this.insertText(l,!0,s)},n.insertPlaceholder=function(e,t){var n=this;this.insertText(e,!0),t.then(function(t){var r=n.getMdValue().replace(e,t);n.setText(r)})},n.insertText=function(e,t,n){void 0===e&&(e=""),void 0===t&&(t=!1);var r=this.state.text,i=this.getSelection(),o=r.slice(0,i.start),a=r.slice(t?i.end:i.start,r.length);this.setText(o+e+a,void 0,n?{start:n.start+o.length,end:n.end+o.length}:{start:i.start,end:i.start})},n.setText=function(e,t,n){var r=this;void 0===e&&(e="");var i=this.config.onChangeTrigger,o=void 0===i?"both":i,a=e.replace(/↵/g,"\n");if(this.state.text!==e){this.setState({text:a}),this.props.onChange&&("both"===o||"beforeRender"===o)&&this.props.onChange({text:a,html:this.getHtmlValue()},t),this.emitter.emit(this.emitter.EVENT_CHANGE,e,t,void 0===t),n&&setTimeout(function(){return r.setSelection(n)}),this.hasContentChanged||(this.hasContentChanged=!0);var l=this.renderHTML(a);("both"===o||"afterRender"===o)&&l.then(function(){r.props.onChange&&r.props.onChange({text:r.state.text,html:r.getHtmlValue()},t)})}},n.getMdValue=function(){return this.state.text},n.getHtmlValue=function(){return"string"==typeof this.state.html?this.state.html:this.nodeMdPreview.current?this.nodeMdPreview.current.getHtml():""},n.onKeyboard=function(e){var t=this;if(Array.isArray(e)){e.forEach(function(e){return t.onKeyboard(e)});return}this.keyboardListeners.includes(e)||this.keyboardListeners.push(e)},n.offKeyboard=function(e){var t=this;if(Array.isArray(e)){e.forEach(function(e){return t.offKeyboard(e)});return}var n=this.keyboardListeners.indexOf(e);n>=0&&this.keyboardListeners.splice(n,1)},n.handleKeyDown=function(e){for(var t,n=H(this.keyboardListeners);!(t=n()).done;){var r=t.value;if(function(e,t){var n=t.withKey,r=t.keyCode,i=t.key,o=t.aliasCommand,a={ctrlKey:e.ctrlKey,metaKey:e.metaKey,altKey:e.altKey,shiftKey:e.shiftKey,keyCode:e.keyCode,key:e.key};if(o&&(a.ctrlKey=a.ctrlKey||a.metaKey),n&&n.length>0)for(var l,s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(e,t)}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n);!(l=s()).done;){var c=l.value;if(void 0!==a[c]&&!a[c])return!1}else if(a.metaKey||a.ctrlKey||a.shiftKey||a.altKey)return!1;return a.key?a.key===i:a.keyCode===r}(e,r)){e.preventDefault(),r.callback(e);return}}this.emitter.emit(this.emitter.EVENT_KEY_DOWN,e)},n.getEventType=function(e){switch(e){case"change":return this.emitter.EVENT_CHANGE;case"fullscreen":return this.emitter.EVENT_FULL_SCREEN;case"viewchange":return this.emitter.EVENT_VIEW_CHANGE;case"keydown":return this.emitter.EVENT_KEY_DOWN;case"editor_keydown":return this.emitter.EVENT_EDITOR_KEY_DOWN;case"blur":return this.emitter.EVENT_BLUR;case"focus":return this.emitter.EVENT_FOCUS;case"scroll":return this.emitter.EVENT_SCROLL}},n.on=function(e,t){var n=this.getEventType(e);n&&this.emitter.on(n,t)},n.off=function(e,t){var n=this.getEventType(e);n&&this.emitter.off(n,t)},n.setView=function(e){var t=this,n=(0,o.Z)({},this.state.view,e);this.setState({view:n},function(){t.emitter.emit(t.emitter.EVENT_VIEW_CHANGE,n)})},n.getView=function(){return(0,o.Z)({},this.state.view)},n.fullScreen=function(e){var t=this;this.state.fullScreen!==e&&this.setState({fullScreen:e},function(){t.emitter.emit(t.emitter.EVENT_FULL_SCREEN,e)})},n.registerPluginApi=function(e,t){this.pluginApis.set(e,t)},n.unregisterPluginApi=function(e){this.pluginApis.delete(e)},n.callPluginApi=function(e){var t=this.pluginApis.get(e);if(!t)throw Error("API "+e+" not found");for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i0&&e.onImageChanged(t.target.files[0])}}))},t}(C);J.pluginName="image";var X=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleKeyboard={key:"k",keyCode:75,aliasCommand:!0,withKey:["ctrlKey"],callback:function(){return n.editor.insertMarkdown("link")}},n}s(t,e);var n=t.prototype;return n.componentDidMount=function(){this.editorConfig.shortcuts&&this.editor.onKeyboard(this.handleKeyboard)},n.componentWillUnmount=function(){this.editor.offKeyboard(this.handleKeyboard)},n.render=function(){var e=this;return c.createElement("span",{className:"button button-type-link",title:y.get("btnLink"),onClick:function(){return e.editor.insertMarkdown("link")}},c.createElement(h,{type:"link"}))},t}(C);X.pluginName="link";var ee=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleKeyboard={key:"7",keyCode:55,withKey:["ctrlKey","shiftKey"],aliasCommand:!0,callback:function(){return n.editor.insertMarkdown("order")}},n}s(t,e);var n=t.prototype;return n.componentDidMount=function(){this.editorConfig.shortcuts&&this.editor.onKeyboard(this.handleKeyboard)},n.componentWillUnmount=function(){this.editor.offKeyboard(this.handleKeyboard)},n.render=function(){var e=this;return c.createElement("span",{className:"button button-type-ordered",title:y.get("btnOrdered"),onClick:function(){return e.editor.insertMarkdown("order")}},c.createElement(h,{type:"list-ordered"}))},t}(C);ee.pluginName="list-ordered";var et=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleKeyboard={key:"8",keyCode:56,withKey:["ctrlKey","shiftKey"],aliasCommand:!0,callback:function(){return n.editor.insertMarkdown("unordered")}},n}s(t,e);var n=t.prototype;return n.componentDidMount=function(){this.editorConfig.shortcuts&&this.editor.onKeyboard(this.handleKeyboard)},n.componentWillUnmount=function(){this.editor.offKeyboard(this.handleKeyboard)},n.render=function(){var e=this;return c.createElement("span",{className:"button button-type-unordered",title:y.get("btnUnordered"),onClick:function(){return e.editor.insertMarkdown("unordered")}},c.createElement(h,{type:"list-unordered"}))},t}(C);et.pluginName="list-unordered";var en=function(){function e(e){void 0===e&&(e={}),this.record=[],this.recycle=[],this.initValue="";var t=e.maxSize;this.maxSize=void 0===t?100:t}var t=e.prototype;return t.push=function(e){for(var t=this.record.push(e);this.record.length>this.maxSize;)this.record.shift();return t},t.get=function(){return this.record},t.getLast=function(){var e=this.record.length;return this.record[e-1]},t.undo=function(e){var t=this.record.pop();if(void 0===t)return this.initValue;if(t!==e)return this.recycle.push(t),t;var n=this.record.pop();return void 0===n?(this.recycle.push(t),this.initValue):(this.recycle.push(t),n)},t.redo=function(){var e=this.recycle.pop();if(void 0!==e)return this.push(e),e},t.cleanRedo=function(){this.recycle=[]},t.getUndoCount=function(){return this.undo.length},t.getRedoCount=function(){return this.recycle.length},e}(),er=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleKeyboards=[],n.lastPop=null,n.handleChange=n.handleChange.bind((0,a.Z)(n)),n.handleRedo=n.handleRedo.bind((0,a.Z)(n)),n.handleUndo=n.handleUndo.bind((0,a.Z)(n)),n.handleKeyboards=[{key:"y",keyCode:89,withKey:["ctrlKey"],callback:n.handleRedo},{key:"z",keyCode:90,withKey:["metaKey","shiftKey"],callback:n.handleRedo},{key:"z",keyCode:90,aliasCommand:!0,withKey:["ctrlKey"],callback:n.handleUndo}],n.logger=new en({maxSize:n.editorConfig.loggerMaxSize}),n.editor.registerPluginApi("undo",n.handleUndo),n.editor.registerPluginApi("redo",n.handleRedo),n}s(t,e);var n=t.prototype;return n.handleUndo=function(){var e=this.logger.undo(this.editor.getMdValue());void 0!==e&&(this.pause(),this.lastPop=e,this.editor.setText(e),this.forceUpdate())},n.handleRedo=function(){var e=this.logger.redo();void 0!==e&&(this.lastPop=e,this.editor.setText(e),this.forceUpdate())},n.handleChange=function(e,t,n){var r=this;if(this.logger.getLast()!==e&&(null===this.lastPop||this.lastPop!==e)){if(this.logger.cleanRedo(),n){this.logger.push(e),this.lastPop=null,this.forceUpdate();return}this.timerId&&(window.clearTimeout(this.timerId),this.timerId=0),this.timerId=window.setTimeout(function(){r.logger.getLast()!==e&&(r.logger.push(e),r.lastPop=null,r.forceUpdate()),window.clearTimeout(r.timerId),r.timerId=0},this.editorConfig.loggerInterval)}},n.componentDidMount=function(){var e=this;this.editor.on("change",this.handleChange),this.handleKeyboards.forEach(function(t){return e.editor.onKeyboard(t)}),this.logger.initValue=this.editor.getMdValue(),this.forceUpdate()},n.componentWillUnmount=function(){var e=this;this.timerId&&window.clearTimeout(this.timerId),this.editor.off("change",this.handleChange),this.editor.unregisterPluginApi("undo"),this.editor.unregisterPluginApi("redo"),this.handleKeyboards.forEach(function(t){return e.editor.offKeyboard(t)})},n.pause=function(){this.timerId&&(window.clearTimeout(this.timerId),this.timerId=void 0)},n.render=function(){var e=this.logger.getUndoCount()>1||this.logger.initValue!==this.editor.getMdValue(),t=this.logger.getRedoCount()>0;return c.createElement(c.Fragment,null,c.createElement("span",{className:"button button-type-undo "+(e?"":"disabled"),title:y.get("btnUndo"),onClick:this.handleUndo},c.createElement(h,{type:"undo"})),c.createElement("span",{className:"button button-type-redo "+(t?"":"disabled"),title:y.get("btnRedo"),onClick:this.handleRedo},c.createElement(h,{type:"redo"})))},t}(C);er.pluginName="logger",(r=i||(i={}))[r.SHOW_ALL=0]="SHOW_ALL",r[r.SHOW_MD=1]="SHOW_MD",r[r.SHOW_HTML=2]="SHOW_HTML";var ei=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleClick=n.handleClick.bind((0,a.Z)(n)),n.handleChange=n.handleChange.bind((0,a.Z)(n)),n.state={view:n.editor.getView()},n}s(t,e);var n=t.prototype;return n.handleClick=function(){switch(this.next){case i.SHOW_ALL:this.editor.setView({html:!0,md:!0});break;case i.SHOW_HTML:this.editor.setView({html:!0,md:!1});break;case i.SHOW_MD:this.editor.setView({html:!1,md:!0})}},n.handleChange=function(e){this.setState({view:e})},n.componentDidMount=function(){this.editor.on("viewchange",this.handleChange)},n.componentWillUnmount=function(){this.editor.off("viewchange",this.handleChange)},n.getDisplayInfo=function(){switch(this.next){case i.SHOW_ALL:return{icon:"view-split",title:"All"};case i.SHOW_HTML:return{icon:"visibility",title:"Preview"};default:return{icon:"keyboard",title:"Editor"}}},n.render=function(){if(this.isDisplay){var e=this.getDisplayInfo();return c.createElement("span",{className:"button button-type-mode",title:y.get("btnMode"+e.title),onClick:this.handleClick},c.createElement(h,{type:e.icon}))}return null},(0,b.Z)(t,[{key:"isDisplay",get:function(){var e=this.editorConfig.canView;return!!e&&[e.html,e.md,e.both].filter(function(e){return e}).length>=2}},{key:"next",get:function(){var e=this.editorConfig.canView,t=this.state.view,n=[i.SHOW_ALL,i.SHOW_MD,i.SHOW_HTML];e&&(e.both||n.splice(n.indexOf(i.SHOW_ALL),1),e.md||n.splice(n.indexOf(i.SHOW_MD),1),e.html||n.splice(n.indexOf(i.SHOW_HTML),1));var r=i.SHOW_MD;if(t.html&&(r=i.SHOW_HTML),t.html&&t.md&&(r=i.SHOW_ALL),0===n.length)return r;if(1===n.length)return n[0];var o=n.indexOf(r);return o1&&void 0!==arguments[1]?arguments[1]:0,n=(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase();if(!("string"==typeof n&&a.test(n)))throw TypeError("Stringified UUID is invalid");return n},u=function(e,t,n){var r=(e=e||{}).random||(e.rng||o)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return c(r)}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2140.dc5fb92f57edd2d7.js b/dbgpt/app/static/web/_next/static/chunks/2140.b61465ed7144b02c.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/2140.dc5fb92f57edd2d7.js rename to dbgpt/app/static/web/_next/static/chunks/2140.b61465ed7144b02c.js index fff444210..0065cd216 100644 --- a/dbgpt/app/static/web/_next/static/chunks/2140.dc5fb92f57edd2d7.js +++ b/dbgpt/app/static/web/_next/static/chunks/2140.b61465ed7144b02c.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2140],{22140:function(e,o,r){r.r(o),r.d(o,{conf:function(){return t},language:function(){return a}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var t={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},a={defaultToken:"",tokenPostfix:".r",roxygen:["@alias","@aliases","@assignee","@author","@backref","@callGraph","@callGraphDepth","@callGraphPrimitives","@concept","@describeIn","@description","@details","@docType","@encoding","@evalNamespace","@evalRd","@example","@examples","@export","@exportClass","@exportMethod","@exportPattern","@family","@field","@formals","@format","@import","@importClassesFrom","@importFrom","@importMethodsFrom","@include","@inherit","@inheritDotParams","@inheritParams","@inheritSection","@keywords","@md","@method","@name","@noMd","@noRd","@note","@param","@rawNamespace","@rawRd","@rdname","@references","@return","@S3method","@section","@seealso","@setClass","@slot","@source","@template","@templateVar","@title","@TODO","@usage","@useDynLib"],constants:["NULL","FALSE","TRUE","NA","Inf","NaN","NA_integer_","NA_real_","NA_complex_","NA_character_","T","F","LETTERS","letters","month.abb","month.name","pi","R.version.string"],keywords:["break","next","return","if","else","for","in","repeat","while","array","category","character","complex","double","function","integer","list","logical","matrix","numeric","vector","data.frame","factor","library","require","attach","detach","source"],special:["\\n","\\r","\\t","\\b","\\a","\\f","\\v","\\'",'\\"',"\\\\"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@numbers"},{include:"@strings"},[/[{}\[\]()]/,"@brackets"],{include:"@operators"},[/#'$/,"comment.doc"],[/#'/,"comment.doc","@roxygen"],[/(^#.*$)/,"comment"],[/\s+/,"white"],[/[,:;]/,"delimiter"],[/@[a-zA-Z]\w*/,"tag"],[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@constants":"constant","@default":"identifier"}}]],roxygen:[[/@\w+/,{cases:{"@roxygen":"tag","@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/\s+/,{cases:{"@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/.*/,{token:"comment.doc",next:"@pop"}]],numbers:[[/0[xX][0-9a-fA-F]+/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?/,"number"]],operators:[[/<{1,2}-/,"operator"],[/->{1,2}/,"operator"],[/%[^%\s]+%/,"operator"],[/\*\*/,"operator"],[/%%/,"operator"],[/&&/,"operator"],[/\|\|/,"operator"],[/<>/,"operator"],[/[-+=&|!<>^~*/:$]/,"operator"]],strings:[[/'/,"string.escape","@stringBody"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/'/,"string.escape","@popall"],[/./,"string"]],dblStringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/"/,"string.escape","@popall"],[/./,"string"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2240.061ccabe7f7cd30e.js b/dbgpt/app/static/web/_next/static/chunks/2240.061ccabe7f7cd30e.js deleted file mode 100644 index c2ab29418..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/2240.061ccabe7f7cd30e.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2240],{92240:function(e,t,n){n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'"},{open:'"',close:'"'}],autoClosingPairs:[{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["comment"]},{open:'"""',close:'"""'},{open:"`",close:"`",notIn:["string","comment"]},{open:"(",close:")"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"<<",close:">>"}],indentationRules:{increaseIndentPattern:/^\s*(after|else|catch|rescue|fn|[^#]*(do|<\-|\->|\{|\[|\=))\s*$/,decreaseIndentPattern:/^\s*((\}|\])\s*$|(after|else|catch|rescue|end)\b)/}},o={defaultToken:"source",tokenPostfix:".elixir",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"<<",close:">>",token:"delimiter.angle.special"}],declarationKeywords:["def","defp","defn","defnp","defguard","defguardp","defmacro","defmacrop","defdelegate","defcallback","defmacrocallback","defmodule","defprotocol","defexception","defimpl","defstruct"],operatorKeywords:["and","in","not","or","when"],namespaceKeywords:["alias","import","require","use"],otherKeywords:["after","case","catch","cond","do","else","end","fn","for","if","quote","raise","receive","rescue","super","throw","try","unless","unquote_splicing","unquote","with"],constants:["true","false","nil"],nameBuiltin:["__MODULE__","__DIR__","__ENV__","__CALLER__","__STACKTRACE__"],operator:/-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,variableName:/[a-z_][a-zA-Z0-9_]*[?!]?/,atomName:/[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,specialAtomName:/\.\.\.|<<>>|%\{\}|%|\{\}/,aliasPart:/[A-Z][a-zA-Z0-9_]*/,moduleName:/@aliasPart(?:\.@aliasPart)*/,sigilSymmetricDelimiter:/"""|'''|"|'|\/|\|/,sigilStartDelimiter:/@sigilSymmetricDelimiter|<|\{|\[|\(/,sigilEndDelimiter:/@sigilSymmetricDelimiter|>|\}|\]|\)/,sigilModifiers:/[a-zA-Z0-9]*/,decimal:/\d(?:_?\d)*/,hex:/[0-9a-fA-F](_?[0-9a-fA-F])*/,octal:/[0-7](_?[0-7])*/,binary:/[01](_?[01])*/,escape:/\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}|\\./,tokenizer:{root:[{include:"@whitespace"},{include:"@comments"},{include:"@keywordsShorthand"},{include:"@numbers"},{include:"@identifiers"},{include:"@strings"},{include:"@atoms"},{include:"@sigils"},{include:"@attributes"},{include:"@symbols"}],whitespace:[[/\s+/,"white"]],comments:[[/(#)(.*)/,["comment.punctuation","comment"]]],keywordsShorthand:[[/(@atomName)(:)(\s+)/,["constant","constant.punctuation","white"]],[/"(?=([^"]|#\{.*?\}|\\")*":)/,{token:"constant.delimiter",next:"@doubleQuotedStringKeyword"}],[/'(?=([^']|#\{.*?\}|\\')*':)/,{token:"constant.delimiter",next:"@singleQuotedStringKeyword"}]],doubleQuotedStringKeyword:[[/":/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],singleQuotedStringKeyword:[[/':/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],numbers:[[/0b@binary/,"number.binary"],[/0o@octal/,"number.octal"],[/0x@hex/,"number.hex"],[/@decimal\.@decimal([eE]-?@decimal)?/,"number.float"],[/@decimal/,"number"]],identifiers:[[/\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/,["keyword.declaration","white",{cases:{unquote:"keyword","@default":"function"}}]],[/(@variableName)(?=\s*\.?\s*\()/,{cases:{"@declarationKeywords":"keyword.declaration","@namespaceKeywords":"keyword","@otherKeywords":"keyword","@default":"function.call"}}],[/(@moduleName)(\s*)(\.)(\s*)(@variableName)/,["type.identifier","white","operator","white","function.call"]],[/(:)(@atomName)(\s*)(\.)(\s*)(@variableName)/,["constant.punctuation","constant","white","operator","white","function.call"]],[/(\|>)(\s*)(@variableName)/,["operator","white",{cases:{"@otherKeywords":"keyword","@default":"function.call"}}]],[/(&)(\s*)(@variableName)/,["operator","white","function.call"]],[/@variableName/,{cases:{"@declarationKeywords":"keyword.declaration","@operatorKeywords":"keyword.operator","@namespaceKeywords":"keyword","@otherKeywords":"keyword","@constants":"constant.language","@nameBuiltin":"variable.language","_.*":"comment.unused","@default":"identifier"}}],[/@moduleName/,"type.identifier"]],strings:[[/"""/,{token:"string.delimiter",next:"@doubleQuotedHeredoc"}],[/'''/,{token:"string.delimiter",next:"@singleQuotedHeredoc"}],[/"/,{token:"string.delimiter",next:"@doubleQuotedString"}],[/'/,{token:"string.delimiter",next:"@singleQuotedString"}]],doubleQuotedHeredoc:[[/"""/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],singleQuotedHeredoc:[[/'''/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],doubleQuotedString:[[/"/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],singleQuotedString:[[/'/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],atoms:[[/(:)(@atomName)/,["constant.punctuation","constant"]],[/:"/,{token:"constant.delimiter",next:"@doubleQuotedStringAtom"}],[/:'/,{token:"constant.delimiter",next:"@singleQuotedStringAtom"}]],doubleQuotedStringAtom:[[/"/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],singleQuotedStringAtom:[[/'/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],sigils:[[/~[a-z]@sigilStartDelimiter/,{token:"@rematch",next:"@sigil.interpol"}],[/~([A-Z]+)@sigilStartDelimiter/,{token:"@rematch",next:"@sigil.noInterpol"}]],sigil:[[/~([a-z]|[A-Z]+)\{/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.{.}"}],[/~([a-z]|[A-Z]+)\[/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.[.]"}],[/~([a-z]|[A-Z]+)\(/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.(.)"}],[/~([a-z]|[A-Z]+)\"}],[/~([a-z]|[A-Z]+)(@sigilSymmetricDelimiter)/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.$2.$2"}]],"sigilStart.interpol.s":[[/~s@sigilStartDelimiter/,{token:"string.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol.s":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"string.delimiter",next:"@pop"},"@default":"string"}}],{include:"@stringContentInterpol"}],"sigilStart.noInterpol.S":[[/~S@sigilStartDelimiter/,{token:"string.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol.S":[[/(^|[^\\])\\@sigilEndDelimiter/,"string"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"string.delimiter",next:"@pop"},"@default":"string"}}],{include:"@stringContent"}],"sigilStart.interpol.r":[[/~r@sigilStartDelimiter/,{token:"regexp.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol.r":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"regexp.delimiter",next:"@pop"},"@default":"regexp"}}],{include:"@regexpContentInterpol"}],"sigilStart.noInterpol.R":[[/~R@sigilStartDelimiter/,{token:"regexp.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol.R":[[/(^|[^\\])\\@sigilEndDelimiter/,"regexp"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"regexp.delimiter",next:"@pop"},"@default":"regexp"}}],{include:"@regexpContent"}],"sigilStart.interpol":[[/~([a-z]|[A-Z]+)@sigilStartDelimiter/,{token:"sigil.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"sigil.delimiter",next:"@pop"},"@default":"sigil"}}],{include:"@sigilContentInterpol"}],"sigilStart.noInterpol":[[/~([a-z]|[A-Z]+)@sigilStartDelimiter/,{token:"sigil.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol":[[/(^|[^\\])\\@sigilEndDelimiter/,"sigil"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"sigil.delimiter",next:"@pop"},"@default":"sigil"}}],{include:"@sigilContent"}],attributes:[[/\@(module|type)?doc (~[sS])?"""/,{token:"comment.block.documentation",next:"@doubleQuotedHeredocDocstring"}],[/\@(module|type)?doc (~[sS])?'''/,{token:"comment.block.documentation",next:"@singleQuotedHeredocDocstring"}],[/\@(module|type)?doc (~[sS])?"/,{token:"comment.block.documentation",next:"@doubleQuotedStringDocstring"}],[/\@(module|type)?doc (~[sS])?'/,{token:"comment.block.documentation",next:"@singleQuotedStringDocstring"}],[/\@(module|type)?doc false/,"comment.block.documentation"],[/\@(@variableName)/,"variable"]],doubleQuotedHeredocDocstring:[[/"""/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],singleQuotedHeredocDocstring:[[/'''/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],doubleQuotedStringDocstring:[[/"/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],singleQuotedStringDocstring:[[/'/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],symbols:[[/\?(\\.|[^\\\s])/,"number.constant"],[/&\d+/,"operator"],[/<<<|>>>/,"operator"],[/[()\[\]\{\}]|<<|>>/,"@brackets"],[/\.\.\./,"identifier"],[/=>/,"punctuation"],[/@operator/,"operator"],[/[:;,.%]/,"punctuation"]],stringContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@stringContent"}],stringContent:[[/./,"string"]],stringConstantContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@stringConstantContent"}],stringConstantContent:[[/./,"constant"]],regexpContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@regexpContent"}],regexpContent:[[/(\s)(#)(\s.*)$/,["white","comment.punctuation","comment"]],[/./,"regexp"]],sigilContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@sigilContent"}],sigilContent:[[/./,"sigil"]],docstringContent:[[/./,"comment.block.documentation"]],escapeChar:[[/@escape/,"constant.character.escape"]],interpolation:[[/#{/,{token:"delimiter.bracket.embed",next:"@interpolationContinue"}]],interpolationContinue:[[/}/,{token:"delimiter.bracket.embed",next:"@pop"}],{include:"@root"}]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2240.5565a5895bec021a.js b/dbgpt/app/static/web/_next/static/chunks/2240.5565a5895bec021a.js new file mode 100644 index 000000000..7cd8ca424 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/2240.5565a5895bec021a.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2240],{92240:function(e,t,n){n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'"},{open:'"',close:'"'}],autoClosingPairs:[{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["comment"]},{open:'"""',close:'"""'},{open:"`",close:"`",notIn:["string","comment"]},{open:"(",close:")"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"<<",close:">>"}],indentationRules:{increaseIndentPattern:/^\s*(after|else|catch|rescue|fn|[^#]*(do|<\-|\->|\{|\[|\=))\s*$/,decreaseIndentPattern:/^\s*((\}|\])\s*$|(after|else|catch|rescue|end)\b)/}},o={defaultToken:"source",tokenPostfix:".elixir",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"<<",close:">>",token:"delimiter.angle.special"}],declarationKeywords:["def","defp","defn","defnp","defguard","defguardp","defmacro","defmacrop","defdelegate","defcallback","defmacrocallback","defmodule","defprotocol","defexception","defimpl","defstruct"],operatorKeywords:["and","in","not","or","when"],namespaceKeywords:["alias","import","require","use"],otherKeywords:["after","case","catch","cond","do","else","end","fn","for","if","quote","raise","receive","rescue","super","throw","try","unless","unquote_splicing","unquote","with"],constants:["true","false","nil"],nameBuiltin:["__MODULE__","__DIR__","__ENV__","__CALLER__","__STACKTRACE__"],operator:/-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,variableName:/[a-z_][a-zA-Z0-9_]*[?!]?/,atomName:/[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,specialAtomName:/\.\.\.|<<>>|%\{\}|%|\{\}/,aliasPart:/[A-Z][a-zA-Z0-9_]*/,moduleName:/@aliasPart(?:\.@aliasPart)*/,sigilSymmetricDelimiter:/"""|'''|"|'|\/|\|/,sigilStartDelimiter:/@sigilSymmetricDelimiter|<|\{|\[|\(/,sigilEndDelimiter:/@sigilSymmetricDelimiter|>|\}|\]|\)/,sigilModifiers:/[a-zA-Z0-9]*/,decimal:/\d(?:_?\d)*/,hex:/[0-9a-fA-F](_?[0-9a-fA-F])*/,octal:/[0-7](_?[0-7])*/,binary:/[01](_?[01])*/,escape:/\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}|\\./,tokenizer:{root:[{include:"@whitespace"},{include:"@comments"},{include:"@keywordsShorthand"},{include:"@numbers"},{include:"@identifiers"},{include:"@strings"},{include:"@atoms"},{include:"@sigils"},{include:"@attributes"},{include:"@symbols"}],whitespace:[[/\s+/,"white"]],comments:[[/(#)(.*)/,["comment.punctuation","comment"]]],keywordsShorthand:[[/(@atomName)(:)/,["constant","constant.punctuation"]],[/"(?=([^"]|#\{.*?\}|\\")*":)/,{token:"constant.delimiter",next:"@doubleQuotedStringKeyword"}],[/'(?=([^']|#\{.*?\}|\\')*':)/,{token:"constant.delimiter",next:"@singleQuotedStringKeyword"}]],doubleQuotedStringKeyword:[[/":/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],singleQuotedStringKeyword:[[/':/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],numbers:[[/0b@binary/,"number.binary"],[/0o@octal/,"number.octal"],[/0x@hex/,"number.hex"],[/@decimal\.@decimal([eE]-?@decimal)?/,"number.float"],[/@decimal/,"number"]],identifiers:[[/\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/,["keyword.declaration","white",{cases:{unquote:"keyword","@default":"function"}}]],[/(@variableName)(?=\s*\.?\s*\()/,{cases:{"@declarationKeywords":"keyword.declaration","@namespaceKeywords":"keyword","@otherKeywords":"keyword","@default":"function.call"}}],[/(@moduleName)(\s*)(\.)(\s*)(@variableName)/,["type.identifier","white","operator","white","function.call"]],[/(:)(@atomName)(\s*)(\.)(\s*)(@variableName)/,["constant.punctuation","constant","white","operator","white","function.call"]],[/(\|>)(\s*)(@variableName)/,["operator","white",{cases:{"@otherKeywords":"keyword","@default":"function.call"}}]],[/(&)(\s*)(@variableName)/,["operator","white","function.call"]],[/@variableName/,{cases:{"@declarationKeywords":"keyword.declaration","@operatorKeywords":"keyword.operator","@namespaceKeywords":"keyword","@otherKeywords":"keyword","@constants":"constant.language","@nameBuiltin":"variable.language","_.*":"comment.unused","@default":"identifier"}}],[/@moduleName/,"type.identifier"]],strings:[[/"""/,{token:"string.delimiter",next:"@doubleQuotedHeredoc"}],[/'''/,{token:"string.delimiter",next:"@singleQuotedHeredoc"}],[/"/,{token:"string.delimiter",next:"@doubleQuotedString"}],[/'/,{token:"string.delimiter",next:"@singleQuotedString"}]],doubleQuotedHeredoc:[[/"""/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],singleQuotedHeredoc:[[/'''/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],doubleQuotedString:[[/"/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],singleQuotedString:[[/'/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],atoms:[[/(:)(@atomName)/,["constant.punctuation","constant"]],[/:"/,{token:"constant.delimiter",next:"@doubleQuotedStringAtom"}],[/:'/,{token:"constant.delimiter",next:"@singleQuotedStringAtom"}]],doubleQuotedStringAtom:[[/"/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],singleQuotedStringAtom:[[/'/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],sigils:[[/~[a-z]@sigilStartDelimiter/,{token:"@rematch",next:"@sigil.interpol"}],[/~[A-Z]@sigilStartDelimiter/,{token:"@rematch",next:"@sigil.noInterpol"}]],sigil:[[/~([a-zA-Z])\{/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.{.}"}],[/~([a-zA-Z])\[/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.[.]"}],[/~([a-zA-Z])\(/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.(.)"}],[/~([a-zA-Z])\"}],[/~([a-zA-Z])(@sigilSymmetricDelimiter)/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.$2.$2"}]],"sigilStart.interpol.s":[[/~s@sigilStartDelimiter/,{token:"string.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol.s":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"string.delimiter",next:"@pop"},"@default":"string"}}],{include:"@stringContentInterpol"}],"sigilStart.noInterpol.S":[[/~S@sigilStartDelimiter/,{token:"string.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol.S":[[/(^|[^\\])\\@sigilEndDelimiter/,"string"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"string.delimiter",next:"@pop"},"@default":"string"}}],{include:"@stringContent"}],"sigilStart.interpol.r":[[/~r@sigilStartDelimiter/,{token:"regexp.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol.r":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"regexp.delimiter",next:"@pop"},"@default":"regexp"}}],{include:"@regexpContentInterpol"}],"sigilStart.noInterpol.R":[[/~R@sigilStartDelimiter/,{token:"regexp.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol.R":[[/(^|[^\\])\\@sigilEndDelimiter/,"regexp"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"regexp.delimiter",next:"@pop"},"@default":"regexp"}}],{include:"@regexpContent"}],"sigilStart.interpol":[[/~([a-zA-Z])@sigilStartDelimiter/,{token:"sigil.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"sigil.delimiter",next:"@pop"},"@default":"sigil"}}],{include:"@sigilContentInterpol"}],"sigilStart.noInterpol":[[/~([a-zA-Z])@sigilStartDelimiter/,{token:"sigil.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol":[[/(^|[^\\])\\@sigilEndDelimiter/,"sigil"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"sigil.delimiter",next:"@pop"},"@default":"sigil"}}],{include:"@sigilContent"}],attributes:[[/\@(module|type)?doc (~[sS])?"""/,{token:"comment.block.documentation",next:"@doubleQuotedHeredocDocstring"}],[/\@(module|type)?doc (~[sS])?"/,{token:"comment.block.documentation",next:"@doubleQuotedStringDocstring"}],[/\@(module|type)?doc false/,"comment.block.documentation"],[/\@(@variableName)/,"variable"]],doubleQuotedHeredocDocstring:[[/"""/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],doubleQuotedStringDocstring:[[/"/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],symbols:[[/\?(\\.|[^\\\s])/,"number.constant"],[/&\d+/,"operator"],[/<<<|>>>/,"operator"],[/[()\[\]\{\}]|<<|>>/,"@brackets"],[/\.\.\./,"identifier"],[/=>/,"punctuation"],[/@operator/,"operator"],[/[:;,.%]/,"punctuation"]],stringContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@stringContent"}],stringContent:[[/./,"string"]],stringConstantContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@stringConstantContent"}],stringConstantContent:[[/./,"constant"]],regexpContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@regexpContent"}],regexpContent:[[/(\s)(#)(\s.*)$/,["white","comment.punctuation","comment"]],[/./,"regexp"]],sigilContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@sigilContent"}],sigilContent:[[/./,"sigil"]],docstringContent:[[/./,"comment.block.documentation"]],escapeChar:[[/@escape/,"constant.character.escape"]],interpolation:[[/#{/,{token:"delimiter.bracket.embed",next:"@interpolationContinue"}]],interpolationContinue:[[/}/,{token:"delimiter.bracket.embed",next:"@pop"}],{include:"@root"}]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2293-9b8cd265e41eb091.js b/dbgpt/app/static/web/_next/static/chunks/2293-9b8cd265e41eb091.js deleted file mode 100644 index 3f71f7a56..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/2293-9b8cd265e41eb091.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2293,2500,7399,8538,2524,7209],{39055:function(e,r){r.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"}},91321:function(e,r,t){t.d(r,{Z:function(){return u}});var n=t(87462),o=t(45987),c=t(67294),l=t(16165),a=["type","children"],i=new Set;function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[r];if("string"==typeof t&&t.length&&!i.has(t)){var n=document.createElement("script");n.setAttribute("src",t),n.setAttribute("data-namespace",t),e.length>r+1&&(n.onload=function(){s(e,r+1)},n.onerror=function(){s(e,r+1)}),i.add(t),document.body.appendChild(n)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scriptUrl,t=e.extraCommonProps,i=void 0===t?{}:t;r&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(r)?s(r.reverse()):s([r]));var u=c.forwardRef(function(e,r){var t=e.type,s=e.children,u=(0,o.Z)(e,a),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(t)})),s&&(d=s),c.createElement(l.Z,(0,n.Z)({},i,u,{ref:r}),d)});return u.displayName="Iconfont",u}},52645:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},58638:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},83266:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},79090:function(e,r,t){var n=t(87462),o=t(67294),c=t(15294),l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c.Z}))});r.Z=a},30159:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},87740:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},27496:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},41441:function(e,r,t){var n=t(87462),o=t(67294),c=t(39055),l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c.Z}))});r.Z=a},66309:function(e,r,t){t.d(r,{Z:function(){return z}});var n=t(67294),o=t(93967),c=t.n(o),l=t(98423),a=t(98787),i=t(69760),s=t(96159),u=t(45353),d=t(53124),f=t(47648),g=t(10274),h=t(14747),p=t(87893),v=t(83559);let m=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:n,componentCls:o,calc:c}=e,l=c(n).sub(t).equal(),a=c(r).sub(t).equal();return{[o]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:r,fontSizeIcon:t,calc:n}=e,o=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:o,tagLineHeight:(0,f.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(t).sub(n(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let r=b(e);return m(r)},C),k=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let w=n.forwardRef((e,r)=>{let{prefixCls:t,style:o,className:l,checked:a,onChange:i,onClick:s}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:g}=n.useContext(d.E_),h=f("tag",t),[p,v,m]=y(h),b=c()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:a},null==g?void 0:g.className,l,v,m);return p(n.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},o),null==g?void 0:g.style),className:b,onClick:e=>{null==i||i(!a),null==s||s(e)}})))});var Z=t(98719);let $=e=>(0,Z.Z)(e,(r,t)=>{let{textColor:n,lightBorderColor:o,lightColor:c,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:n,background:c,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var x=(0,v.bk)(["Tag","preset"],e=>{let r=b(e);return $(r)},C);let E=(e,r,t)=>{let n=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let r=b(e);return[E(r,"success","Success"),E(r,"processing","Info"),E(r,"error","Error"),E(r,"warning","Warning")]},C),O=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let S=n.forwardRef((e,r)=>{let{prefixCls:t,className:o,rootClassName:f,style:g,children:h,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,k=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:Z,tag:$}=n.useContext(d.E_),[E,S]=n.useState(!0),z=(0,l.Z)(k,["closeIcon","closable"]);n.useEffect(()=>{void 0!==C&&S(C)},[C]);let B=(0,a.o2)(v),M=(0,a.yT)(v),j=B||M,V=Object.assign(Object.assign({backgroundColor:v&&!j?v:void 0},null==$?void 0:$.style),g),P=w("tag",t),[R,I,N]=y(P),T=c()(P,null==$?void 0:$.className,{[`${P}-${v}`]:j,[`${P}-has-color`]:v&&!j,[`${P}-hidden`]:!E,[`${P}-rtl`]:"rtl"===Z,[`${P}-borderless`]:!b},o,f,I,N),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)($),{closable:!1,closeIconRender:e=>{let r=n.createElement("span",{className:`${P}-close-icon`,onClick:L},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),L(r)},className:c()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),_="function"==typeof k.onClick||h&&"a"===h.type,q=p||null,F=q?n.createElement(n.Fragment,null,q,h&&n.createElement("span",null,h)):h,D=n.createElement("span",Object.assign({},z,{ref:r,className:T,style:V}),F,A,B&&n.createElement(x,{key:"preset",prefixCls:P}),M&&n.createElement(H,{key:"status",prefixCls:P}));return R(_?n.createElement(u.Z,{component:"Tag"},D):D)});S.CheckableTag=w;var z=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2299.bfba419a888b0924.js b/dbgpt/app/static/web/_next/static/chunks/2299.bfba419a888b0924.js deleted file mode 100644 index 1ea4a2ae1..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/2299.bfba419a888b0924.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2299],{39055:function(e,t){t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"}},89035:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 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:"code",theme:"outlined"},l=n(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},15381:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},l=n(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},65429:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},l=n(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},50228:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"},l=n(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},27496:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=n(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},41441:function(e,t,n){var r=n(87462),a=n(67294),o=n(39055),l=n(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o.Z}))});t.Z=c},99134:function(e,t,n){var r=n(67294);let a=(0,r.createContext)({});t.Z=a},21584:function(e,t,n){var r=n(67294),a=n(93967),o=n.n(a),l=n(53124),c=n(99134),i=n(6999),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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function f(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let u=["xs","sm","md","lg","xl","xxl"],d=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:a}=r.useContext(l.E_),{gutter:d,wrap:p}=r.useContext(c.Z),{prefixCls:$,span:m,order:h,offset:g,push:y,pull:v,className:b,children:x,flex:w,style:j}=e,O=s(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),Z=n("col",$),[C,E,M]=(0,i.cG)(Z),z={},I={};u.forEach(t=>{let n={},r=e[t];"number"==typeof r?n.span=r:"object"==typeof r&&(n=r||{}),delete O[t],I=Object.assign(Object.assign({},I),{[`${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}-rtl`]:"rtl"===a}),n.flex&&(I[`${Z}-${t}-flex`]=!0,z[`--${Z}-${t}-flex`]=f(n.flex))});let S=o()(Z,{[`${Z}-${m}`]:void 0!==m,[`${Z}-order-${h}`]:h,[`${Z}-offset-${g}`]:g,[`${Z}-push-${y}`]:y,[`${Z}-pull-${v}`]:v},b,I,E,M),R={};if(d&&d[0]>0){let e=d[0]/2;R.paddingLeft=e,R.paddingRight=e}return w&&(R.flex=f(w),!1!==p||R.minWidth||(R.minWidth=0)),C(r.createElement("div",Object.assign({},O,{style:Object.assign(Object.assign(Object.assign({},R),j),z),className:S,ref:t}),x))});t.Z=d},92820:function(e,t,n){var r=n(67294),a=n(93967),o=n.n(a),l=n(74443),c=n(53124),i=n(99134),s=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function u(e,t){let[n,a]=r.useState("string"==typeof e?e:""),o=()=>{if("string"==typeof e&&a(e),"object"==typeof e)for(let n=0;n{o()},[JSON.stringify(e),t]),n}let d=r.forwardRef((e,t)=>{let{prefixCls:n,justify:a,align:d,className:p,style:$,children:m,gutter:h=0,wrap:g}=e,y=f(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:v,direction:b}=r.useContext(c.E_),[x,w]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[j,O]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),Z=u(d,j),C=u(a,j),E=r.useRef(h),M=(0,l.ZP)();r.useEffect(()=>{let e=M.subscribe(e=>{O(e);let t=E.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&w(e)});return()=>M.unsubscribe(e)},[]);let z=v("row",n),[I,S,R]=(0,s.VM)(z),V=(()=>{let e=[void 0,void 0],t=Array.isArray(h)?h:[h,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let r=0;r0?-(V[0]/2):void 0;k&&(L.marginLeft=k,L.marginRight=k);let[A,P]=V;L.rowGap=P;let N=r.useMemo(()=>({gutter:[A,P],wrap:g}),[A,P,g]);return I(r.createElement(i.Z.Provider,{value:N},r.createElement("div",Object.assign({},y,{className:H,style:Object.assign(Object.assign({},L),$),ref:t}),m)))});t.Z=d},6999:function(e,t,n){n.d(t,{VM:function(){return f},cG:function(){return u}});var r=n(47648),a=n(83559),o=n(87893);let l=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},c=(e,t)=>{let{prefixCls:n,componentCls:r,gridColumns:a}=e,o={};for(let e=a;e>=0;e--)0===e?(o[`${r}${t}-${e}`]={display:"none"},o[`${r}-push-${e}`]={insetInlineStart:"auto"},o[`${r}-pull-${e}`]={insetInlineEnd:"auto"},o[`${r}${t}-push-${e}`]={insetInlineStart:"auto"},o[`${r}${t}-pull-${e}`]={insetInlineEnd:"auto"},o[`${r}${t}-offset-${e}`]={marginInlineStart:0},o[`${r}${t}-order-${e}`]={order:0}):(o[`${r}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/a*100}%`,maxWidth:`${e/a*100}%`}],o[`${r}${t}-push-${e}`]={insetInlineStart:`${e/a*100}%`},o[`${r}${t}-pull-${e}`]={insetInlineEnd:`${e/a*100}%`},o[`${r}${t}-offset-${e}`]={marginInlineStart:`${e/a*100}%`},o[`${r}${t}-order-${e}`]={order:e});return o[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},o},i=(e,t)=>c(e,t),s=(e,t,n)=>({[`@media (min-width: ${(0,r.bf)(t)})`]:Object.assign({},i(e,n))}),f=(0,a.I$)("Grid",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"}}}},()=>({})),u=(0,a.I$)("Grid",e=>{let t=(0,o.IX)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[l(t),i(t,""),i(t,"-xs"),Object.keys(n).map(e=>s(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},25934:function(e,t,n){n.d(t,{Z:function(){return f}});var r,a=new Uint8Array(16);function o(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(a)}for(var l=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,c=[],i=0;i<256;++i)c.push((i+256).toString(16).substr(1));var s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!("string"==typeof n&&l.test(n)))throw TypeError("Stringified UUID is invalid");return n},f=function(e,t,n){var r=(e=e||{}).random||(e.rng||o)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var a=0;a<16;++a)t[n+a]=r[a];return t}return s(r)}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2378-dfa7314d67a753a4.js b/dbgpt/app/static/web/_next/static/chunks/2378-dfa7314d67a753a4.js deleted file mode 100644 index ef1d94287..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/2378-dfa7314d67a753a4.js +++ /dev/null @@ -1,18 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2378],{32857:function(e,t){t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"}},26554:function(e,t){t.Z={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"}},98065:function(e,t,n){function r(e){return["small","middle","large"].includes(e)}function a(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}n.d(t,{T:function(){return a},n:function(){return r}})},30568:function(e,t,n){n.d(t,{Z:function(){return en}});var r=n(67294),a=n(93967),o=n.n(a),l=n(1413),i=n(4942),u=n(74902),c=n(71002),s=n(97685),d=n(56790),f=n(21770),v=n(91881),m=n(80334),g=n(87462),p=n(45987),h=n(73935);function b(e,t,n,r){var a=(t-n)/(r-n),o={};switch(e){case"rtl":o.right="".concat(100*a,"%"),o.transform="translateX(50%)";break;case"btt":o.bottom="".concat(100*a,"%"),o.transform="translateY(50%)";break;case"ttb":o.top="".concat(100*a,"%"),o.transform="translateY(-50%)";break;default:o.left="".concat(100*a,"%"),o.transform="translateX(-50%)"}return o}function y(e,t){return Array.isArray(e)?e[t]:e}var C=n(15105),k=r.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),x=r.createContext({}),E=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],$=r.forwardRef(function(e,t){var n,a=e.prefixCls,u=e.value,c=e.valueIndex,s=e.onStartMove,d=e.onDelete,f=e.style,v=e.render,m=e.dragging,h=e.draggingDelete,x=e.onOffsetChange,$=e.onChangeComplete,Z=e.onFocus,S=e.onMouseEnter,w=(0,p.Z)(e,E),O=r.useContext(k),M=O.min,B=O.max,D=O.direction,I=O.disabled,N=O.keyboard,P=O.range,F=O.tabIndex,R=O.ariaLabelForHandle,H=O.ariaLabelledByForHandle,j=O.ariaValueTextFormatterForHandle,L=O.styles,z=O.classNames,A="".concat(a,"-handle"),T=function(e){I||s(e,c)},q=b(D,u,M,B),X={};null!==c&&(X={tabIndex:I?null:y(F,c),role:"slider","aria-valuemin":M,"aria-valuemax":B,"aria-valuenow":u,"aria-disabled":I,"aria-label":y(R,c),"aria-labelledby":y(H,c),"aria-valuetext":null===(n=y(j,c))||void 0===n?void 0:n(u),"aria-orientation":"ltr"===D||"rtl"===D?"horizontal":"vertical",onMouseDown:T,onTouchStart:T,onFocus:function(e){null==Z||Z(e,c)},onMouseEnter:function(e){S(e,c)},onKeyDown:function(e){if(!I&&N){var t=null;switch(e.which||e.keyCode){case C.Z.LEFT:t="ltr"===D||"btt"===D?-1:1;break;case C.Z.RIGHT:t="ltr"===D||"btt"===D?1:-1;break;case C.Z.UP:t="ttb"!==D?1:-1;break;case C.Z.DOWN:t="ttb"!==D?-1:1;break;case C.Z.HOME:t="min";break;case C.Z.END:t="max";break;case C.Z.PAGE_UP:t=2;break;case C.Z.PAGE_DOWN:t=-2;break;case C.Z.BACKSPACE:case C.Z.DELETE:d(c)}null!==t&&(e.preventDefault(),x(t,c))}},onKeyUp:function(e){switch(e.which||e.keyCode){case C.Z.LEFT:case C.Z.RIGHT:case C.Z.UP:case C.Z.DOWN:case C.Z.HOME:case C.Z.END:case C.Z.PAGE_UP:case C.Z.PAGE_DOWN:null==$||$()}}});var V=r.createElement("div",(0,g.Z)({ref:t,className:o()(A,(0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(A,"-").concat(c+1),null!==c&&P),"".concat(A,"-dragging"),m),"".concat(A,"-dragging-delete"),h),z.handle),style:(0,l.Z)((0,l.Z)((0,l.Z)({},q),f),L.handle)},X,w));return v&&(V=v(V,{index:c,prefixCls:a,value:u,dragging:m,draggingDelete:h})),V}),Z=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],S=r.forwardRef(function(e,t){var n=e.prefixCls,a=e.style,o=e.onStartMove,i=e.onOffsetChange,u=e.values,c=e.handleRender,d=e.activeHandleRender,f=e.draggingIndex,v=e.draggingDelete,m=e.onFocus,b=(0,p.Z)(e,Z),C=r.useRef({}),k=r.useState(!1),x=(0,s.Z)(k,2),E=x[0],S=x[1],w=r.useState(-1),O=(0,s.Z)(w,2),M=O[0],B=O[1],D=function(e){B(e),S(!0)};r.useImperativeHandle(t,function(){return{focus:function(e){var t;null===(t=C.current[e])||void 0===t||t.focus()},hideHelp:function(){(0,h.flushSync)(function(){S(!1)})}}});var I=(0,l.Z)({prefixCls:n,onStartMove:o,onOffsetChange:i,render:c,onFocus:function(e,t){D(t),null==m||m(e)},onMouseEnter:function(e,t){D(t)}},b);return r.createElement(r.Fragment,null,u.map(function(e,t){var n=f===t;return r.createElement($,(0,g.Z)({ref:function(e){e?C.current[t]=e:delete C.current[t]},dragging:n,draggingDelete:n&&v,style:y(a,t),key:t,value:e,valueIndex:t},I))}),d&&E&&r.createElement($,(0,g.Z)({key:"a11y"},I,{value:u[M],valueIndex:null,dragging:-1!==f,draggingDelete:v,render:d,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}),w=function(e){var t=e.prefixCls,n=e.style,a=e.children,u=e.value,c=e.onClick,s=r.useContext(k),d=s.min,f=s.max,v=s.direction,m=s.includedStart,g=s.includedEnd,p=s.included,h="".concat(t,"-text"),y=b(v,u,d,f);return r.createElement("span",{className:o()(h,(0,i.Z)({},"".concat(h,"-active"),p&&m<=u&&u<=g)),style:(0,l.Z)((0,l.Z)({},y),n),onMouseDown:function(e){e.stopPropagation()},onClick:function(){c(u)}},a)},O=function(e){var t=e.prefixCls,n=e.marks,a=e.onClick,o="".concat(t,"-mark");return n.length?r.createElement("div",{className:o},n.map(function(e){var t=e.value,n=e.style,l=e.label;return r.createElement(w,{key:t,prefixCls:o,style:n,value:t,onClick:a},l)})):null},M=function(e){var t=e.prefixCls,n=e.value,a=e.style,u=e.activeStyle,c=r.useContext(k),s=c.min,d=c.max,f=c.direction,v=c.included,m=c.includedStart,g=c.includedEnd,p="".concat(t,"-dot"),h=v&&m<=n&&n<=g,y=(0,l.Z)((0,l.Z)({},b(f,n,s,d)),"function"==typeof a?a(n):a);return h&&(y=(0,l.Z)((0,l.Z)({},y),"function"==typeof u?u(n):u)),r.createElement("span",{className:o()(p,(0,i.Z)({},"".concat(p,"-active"),h)),style:y})},B=function(e){var t=e.prefixCls,n=e.marks,a=e.dots,o=e.style,l=e.activeStyle,i=r.useContext(k),u=i.min,c=i.max,s=i.step,d=r.useMemo(function(){var e=new Set;if(n.forEach(function(t){e.add(t.value)}),a&&null!==s)for(var t=u;t<=c;)e.add(t),t+=s;return Array.from(e)},[u,c,s,a,n]);return r.createElement("div",{className:"".concat(t,"-step")},d.map(function(e){return r.createElement(M,{prefixCls:t,key:e,value:e,style:o,activeStyle:l})}))},D=function(e){var t=e.prefixCls,n=e.style,a=e.start,u=e.end,c=e.index,s=e.onStartMove,d=e.replaceCls,f=r.useContext(k),v=f.direction,m=f.min,g=f.max,p=f.disabled,h=f.range,b=f.classNames,y="".concat(t,"-track"),C=(a-m)/(g-m),x=(u-m)/(g-m),E=function(e){!p&&s&&s(e,-1)},$={};switch(v){case"rtl":$.right="".concat(100*C,"%"),$.width="".concat(100*x-100*C,"%");break;case"btt":$.bottom="".concat(100*C,"%"),$.height="".concat(100*x-100*C,"%");break;case"ttb":$.top="".concat(100*C,"%"),$.height="".concat(100*x-100*C,"%");break;default:$.left="".concat(100*C,"%"),$.width="".concat(100*x-100*C,"%")}var Z=d||o()(y,(0,i.Z)((0,i.Z)({},"".concat(y,"-").concat(c+1),null!==c&&h),"".concat(t,"-track-draggable"),s),b.track);return r.createElement("div",{className:Z,style:(0,l.Z)((0,l.Z)({},$),n),onMouseDown:E,onTouchStart:E})},I=function(e){var t=e.prefixCls,n=e.style,a=e.values,i=e.startPoint,u=e.onStartMove,c=r.useContext(k),s=c.included,d=c.range,f=c.min,v=c.styles,m=c.classNames,g=r.useMemo(function(){if(!d){if(0===a.length)return[];var e=null!=i?i:f,t=a[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}for(var n=[],r=0;r130&&m=0&&et},[et,eP]),eR=r.useMemo(function(){return Object.keys(ef||{}).map(function(e){var t=ef[e],n={value:Number(e)};return t&&"object"===(0,c.Z)(t)&&!r.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n}).filter(function(e){var t=e.label;return t||"number"==typeof t}).sort(function(e,t){return e.value-t.value})},[ef]),eH=(n=void 0===J||J,a=r.useCallback(function(e){return Math.max(eI,Math.min(eN,e))},[eI,eN]),g=r.useCallback(function(e){if(null!==eP){var t=eI+Math.round((a(e)-eI)/eP)*eP,n=function(e){return(String(e).split(".")[1]||"").length},r=Math.max(n(eP),n(eN),n(eI)),o=Number(t.toFixed(r));return eI<=o&&o<=eN?o:null}return null},[eP,eI,eN,a]),p=r.useCallback(function(e){var t=a(e),n=eR.map(function(e){return e.value});null!==eP&&n.push(g(e)),n.push(eI,eN);var r=n[0],o=eN-eI;return n.forEach(function(e){var n=Math.abs(t-e);n<=o&&(r=e,o=n)}),r},[eI,eN,eR,eP,a,g]),h=function e(t,n,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"==typeof n){var o,l=t[r],i=l+n,c=[];eR.forEach(function(e){c.push(e.value)}),c.push(eI,eN),c.push(g(l));var s=n>0?1:-1;"unit"===a?c.push(g(l+s*eP)):c.push(g(i)),c=c.filter(function(e){return null!==e}).filter(function(e){return n<0?e<=l:e>=l}),"unit"===a&&(c=c.filter(function(e){return e!==l}));var d="unit"===a?l:i,f=Math.abs((o=c[0])-d);if(c.forEach(function(e){var t=Math.abs(e-d);t1){var v=(0,u.Z)(t);return v[r]=o,e(v,n-s,r,a)}return o}return"min"===n?eI:"max"===n?eN:void 0},b=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",a=e[n],o=h(e,t,n,r);return{value:o,changed:o!==a}},y=function(e){return null===eF&&0===e||"number"==typeof eF&&e3&&void 0!==arguments[3]?arguments[3]:"unit",o=e.map(p),l=o[r],i=h(o,t,r,a);if(o[r]=i,!1===n){var u=eF||0;r>0&&o[r-1]!==l&&(o[r]=Math.max(o[r],o[r-1]+u)),r0;f-=1)for(var v=!0;y(o[f]-o[f-1])&&v;){var m=b(o,-1,f-1);o[f-1]=m.value,v=m.changed}for(var g=o.length-1;g>0;g-=1)for(var C=!0;y(o[g]-o[g-1])&&C;){var k=b(o,-1,g-1);o[g-1]=k.value,C=k.changed}for(var x=0;x=0?G+1:2;for(r=r.slice(0,o);r.length=0&&ex.current.focus(e)}e7(null)},[e6]);var e5=r.useMemo(function(){return(!eM||null!==eP)&&eM},[eM,eP]),e8=(0,d.zX)(function(e,t){e1(e,t),null==Y||Y(eW(eV))}),e9=-1!==eU;r.useEffect(function(){if(!e9){var e=eV.lastIndexOf(eQ);ex.current.focus(e)}},[e9]);var te=r.useMemo(function(){return(0,u.Z)(e0).sort(function(e,t){return e-t})},[e0]),tt=r.useMemo(function(){return ew?[te[0],te[te.length-1]]:[eI,te[0]]},[te,ew,eI]),tn=(0,s.Z)(tt,2),tr=tn[0],ta=tn[1];r.useImperativeHandle(t,function(){return{focus:function(){ex.current.focus(0)},blur:function(){var e,t=document.activeElement;null!==(e=eE.current)&&void 0!==e&&e.contains(t)&&(null==t||t.blur())}}}),r.useEffect(function(){R&&ex.current.focus(0)},[]);var to=r.useMemo(function(){return{min:eI,max:eN,direction:e$,disabled:D,keyboard:F,step:eP,included:eo,includedStart:tr,includedEnd:ta,range:ew,tabIndex:eb,ariaLabelForHandle:ey,ariaLabelledByForHandle:eC,ariaValueTextFormatterForHandle:ek,styles:w||{},classNames:Z||{}}},[eI,eN,e$,D,F,eP,eo,tr,ta,ew,eb,ey,eC,ek,w,Z]);return r.createElement(k.Provider,{value:to},r.createElement("div",{ref:eE,className:o()(x,E,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(x,"-disabled"),D),"".concat(x,"-vertical"),er),"".concat(x,"-horizontal"),!er),"".concat(x,"-with-marks"),eR.length)),style:$,onMouseDown:function(e){e.preventDefault();var t,n=eE.current.getBoundingClientRect(),r=n.width,a=n.height,o=n.left,l=n.top,i=n.bottom,u=n.right,c=e.clientX,s=e.clientY;switch(e$){case"btt":t=(i-s)/a;break;case"ttb":t=(s-l)/a;break;case"rtl":t=(u-c)/r;break;default:t=(c-o)/r}e2(eL(eI+t*(eN-eI)),e)}},r.createElement("div",{className:o()("".concat(x,"-rail"),null==Z?void 0:Z.rail),style:(0,l.Z)((0,l.Z)({},ec),null==w?void 0:w.rail)}),!1!==ep&&r.createElement(I,{prefixCls:x,style:ei,values:eV,startPoint:el,onStartMove:e5?e8:void 0}),r.createElement(B,{prefixCls:x,marks:eR,dots:ev,style:es,activeStyle:ed}),r.createElement(S,{ref:ex,prefixCls:x,style:eu,values:e0,draggingIndex:eU,draggingDelete:eJ,onStartMove:e8,onOffsetChange:function(e,t){if(!D){var n=ez(eV,e,t);null==Y||Y(eW(eV)),eK(n.values),e7(n.value)}},onFocus:H,onBlur:j,handleRender:em,activeHandleRender:eg,onChangeComplete:eG,onDelete:eO?function(e){if(!D&&eO&&!(eV.length<=eB)){var t=(0,u.Z)(eV);t.splice(e,1),null==Y||Y(eW(t)),eK(t);var n=Math.max(0,e-1);ex.current.hideHelp(),ex.current.focus(n)}}:void 0}),r.createElement(O,{prefixCls:x,marks:eR,onClick:e2})))}),R=n(75164),H=n(53124),j=n(98866),L=n(42550),z=n(83062);let A=r.forwardRef((e,t)=>{let{open:n,draggingDelete:a}=e,o=(0,r.useRef)(null),l=n&&!a,i=(0,r.useRef)(null);function u(){R.Z.cancel(i.current),i.current=null}return r.useEffect(()=>(l?i.current=(0,R.Z)(()=>{var e;null===(e=o.current)||void 0===e||e.forceAlign(),i.current=null}):u(),u),[l,e.title]),r.createElement(z.Z,Object.assign({ref:(0,L.sQ)(o,t)},e,{open:l}))});var T=n(47648),q=n(10274),X=n(14747),V=n(83559),W=n(87893);let K=e=>{let{componentCls:t,antCls:n,controlSize:r,dotSize:a,marginFull:o,marginPart:l,colorFillContentHover:i,handleColorDisabled:u,calc:c,handleSize:s,handleSizeHover:d,handleActiveColor:f,handleActiveOutlineColor:v,handleLineWidth:m,handleLineWidthHover:g,motionDurationMid:p}=e;return{[t]:Object.assign(Object.assign({},(0,X.Wf)(e)),{position:"relative",height:r,margin:`${(0,T.bf)(l)} ${(0,T.bf)(o)}`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${(0,T.bf)(o)} ${(0,T.bf)(l)}`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${p}`},[`${t}-track,${t}-tracks`]:{position:"absolute",transition:`background-color ${p}`},[`${t}-track`]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},[`${t}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:i},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${(0,T.bf)(m)} ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:"absolute",width:s,height:s,outline:"none",userSelect:"none","&-dragging-delete":{opacity:0},"&::before":{content:'""',position:"absolute",insetInlineStart:c(m).mul(-1).equal(),insetBlockStart:c(m).mul(-1).equal(),width:c(s).add(c(m).mul(2)).equal(),height:c(s).add(c(m).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:s,height:s,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${(0,T.bf)(m)} ${e.handleColor}`,outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:` - inset-inline-start ${p}, - inset-block-start ${p}, - width ${p}, - height ${p}, - box-shadow ${p}, - outline ${p} - `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:c(d).sub(s).div(2).add(g).mul(-1).equal(),insetBlockStart:c(d).sub(s).div(2).add(g).mul(-1).equal(),width:c(d).add(c(g).mul(2)).equal(),height:c(d).add(c(g).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${(0,T.bf)(g)} ${f}`,outline:`6px solid ${v}`,width:d,height:d,insetInlineStart:e.calc(s).sub(d).div(2).equal(),insetBlockStart:e.calc(s).sub(d).div(2).equal()}}},[`&-lock ${t}-handle`]:{"&::before, &::after":{transition:"none"}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:a,height:a,backgroundColor:e.colorBgElevated,border:`${(0,T.bf)(m)} solid ${e.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[` - ${t}-dot - `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:s,height:s,boxShadow:`0 0 0 ${(0,T.bf)(m)} ${u}`,insetInlineStart:0,insetBlockStart:0},[` - ${t}-mark-text, - ${t}-dot - `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},G=(e,t)=>{let{componentCls:n,railSize:r,handleSize:a,dotSize:o,marginFull:l,calc:i}=e,u=t?"paddingBlock":"paddingInline",c=t?"width":"height",s=t?"height":"width",d=t?"insetBlockStart":"insetInlineStart",f=t?"top":"insetInlineStart",v=i(r).mul(3).sub(a).div(2).equal(),m=i(a).sub(r).div(2).equal(),g=t?{borderWidth:`${(0,T.bf)(m)} 0`,transform:`translateY(${(0,T.bf)(i(m).mul(-1).equal())})`}:{borderWidth:`0 ${(0,T.bf)(m)}`,transform:`translateX(${(0,T.bf)(e.calc(m).mul(-1).equal())})`};return{[u]:r,[s]:i(r).mul(3).equal(),[`${n}-rail`]:{[c]:"100%",[s]:r},[`${n}-track,${n}-tracks`]:{[s]:r},[`${n}-track-draggable`]:Object.assign({},g),[`${n}-handle`]:{[d]:v},[`${n}-mark`]:{insetInlineStart:0,top:0,[f]:i(r).mul(3).add(t?0:l).equal(),[c]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[f]:r,[c]:"100%",[s]:r},[`${n}-dot`]:{position:"absolute",[d]:i(r).sub(o).div(2).equal()}}},_=e=>{let{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},G(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},Y=e=>{let{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},G(e,!1)),{height:"100%"})}};var U=(0,V.I$)("Slider",e=>{let t=(0,W.IX)(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[K(t),_(t),Y(t)]},e=>{let t=e.controlHeightLG/4,n=e.controlHeightSM/2,r=e.lineWidth+1,a=e.lineWidth+1.5,o=e.colorPrimary,l=new q.C(o).setAlpha(.2).toRgbString();return{controlSize:t,railSize:4,handleSize:t,handleSizeHover:n,dotSize:8,handleLineWidth:r,handleLineWidthHover:a,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:o,handleActiveOutlineColor:l,handleColorDisabled:new q.C(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}});let Q=(0,r.createContext)({});function J(){let[e,t]=r.useState(!1),n=r.useRef(),a=()=>{R.Z.cancel(n.current)};return r.useEffect(()=>a,[]),[e,e=>{a(),e?t(e):n.current=(0,R.Z)(()=>{t(e)})}]}var 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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let et=r.forwardRef((e,t)=>{let{prefixCls:n,range:a,className:l,rootClassName:i,style:u,disabled:c,tooltipPrefixCls:s,tipFormatter:d,tooltipVisible:f,getTooltipPopupContainer:v,tooltipPlacement:m,tooltip:g={},onChangeComplete:p}=e,h=ee(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete"]),{vertical:b}=e,{direction:y,slider:C,getPrefixCls:k,getPopupContainer:x}=r.useContext(H.E_),E=r.useContext(j.Z),{handleRender:$,direction:Z}=r.useContext(Q),S="rtl"===(Z||y),[w,O]=J(),[M,B]=J(),D=Object.assign({},g),{open:I,placement:N,getPopupContainer:P,prefixCls:L,formatter:z}=D,T=null!=I?I:f,q=(w||M)&&!1!==T,X=z||null===z?z:d||null===d?d:e=>"number"==typeof e?e.toString():"",[V,W]=J(),K=(e,t)=>e||(t?S?"left":"right":"top"),G=k("slider",n),[_,Y,et]=U(G),en=o()(l,null==C?void 0:C.className,i,{[`${G}-rtl`]:S,[`${G}-lock`]:V},Y,et);S&&!h.vertical&&(h.reverse=!h.reverse),r.useEffect(()=>{let e=()=>{(0,R.Z)(()=>{B(!1)},1)};return document.addEventListener("mouseup",e),()=>{document.removeEventListener("mouseup",e)}},[]);let er=a&&!T,ea=$||((e,t)=>{let{index:n}=t,a=e.props;function o(e,t,n){var r,o;n&&(null===(r=h[e])||void 0===r||r.call(h,t)),null===(o=a[e])||void 0===o||o.call(a,t)}let l=Object.assign(Object.assign({},a),{onMouseEnter:e=>{O(!0),o("onMouseEnter",e)},onMouseLeave:e=>{O(!1),o("onMouseLeave",e)},onMouseDown:e=>{B(!0),W(!0),o("onMouseDown",e)},onFocus:e=>{var t;B(!0),null===(t=h.onFocus)||void 0===t||t.call(h,e),o("onFocus",e,!0)},onBlur:e=>{var t;B(!1),null===(t=h.onBlur)||void 0===t||t.call(h,e),o("onBlur",e,!0)}}),i=r.cloneElement(e,l);return er?i:r.createElement(A,Object.assign({},D,{prefixCls:k("tooltip",null!=L?L:s),title:X?X(t.value):"",open:(!!T||q)&&null!==X,placement:K(null!=N?N:m,b),key:n,overlayClassName:`${G}-tooltip`,getPopupContainer:P||v||x}),i)}),eo=er?(e,t)=>{let n=r.cloneElement(e,{style:Object.assign(Object.assign({},e.props.style),{visibility:"hidden"})});return r.createElement(A,Object.assign({},D,{prefixCls:k("tooltip",null!=L?L:s),title:X?X(t.value):"",open:null!==X&&q,placement:K(null!=N?N:m,b),key:"tooltip",overlayClassName:`${G}-tooltip`,getPopupContainer:P||v||x,draggingDelete:t.draggingDelete}),n)}:void 0,el=Object.assign(Object.assign({},null==C?void 0:C.style),u);return _(r.createElement(F,Object.assign({},h,{step:h.step,range:a,className:en,style:el,disabled:null!=c?c:E,ref:t,prefixCls:G,handleRender:ea,activeHandleRender:eo,onChangeComplete:e=>{null==p||p(e),W(!1)}})))});var en=et},42075:function(e,t,n){n.d(t,{Z:function(){return p}});var r=n(67294),a=n(93967),o=n.n(a),l=n(50344),i=n(98065),u=n(53124),c=n(4173);let s=r.createContext({latestIndex:0}),d=s.Provider;var f=e=>{let{className:t,index:n,children:a,split:o,style:l}=e,{latestIndex:i}=r.useContext(s);return null==a?null:r.createElement(r.Fragment,null,r.createElement("div",{className:t,style:l},a),nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let g=r.forwardRef((e,t)=>{var n,a,c;let{getPrefixCls:s,space:g,direction:p}=r.useContext(u.E_),{size:h=null!==(n=null==g?void 0:g.size)&&void 0!==n?n:"small",align:b,className:y,rootClassName:C,children:k,direction:x="horizontal",prefixCls:E,split:$,style:Z,wrap:S=!1,classNames:w,styles:O}=e,M=m(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[B,D]=Array.isArray(h)?h:[h,h],I=(0,i.n)(D),N=(0,i.n)(B),P=(0,i.T)(D),F=(0,i.T)(B),R=(0,l.Z)(k,{keepEmpty:!0}),H=void 0===b&&"horizontal"===x?"center":b,j=s("space",E),[L,z,A]=(0,v.Z)(j),T=o()(j,null==g?void 0:g.className,z,`${j}-${x}`,{[`${j}-rtl`]:"rtl"===p,[`${j}-align-${H}`]:H,[`${j}-gap-row-${D}`]:I,[`${j}-gap-col-${B}`]:N},y,C,A),q=o()(`${j}-item`,null!==(a=null==w?void 0:w.item)&&void 0!==a?a:null===(c=null==g?void 0:g.classNames)||void 0===c?void 0:c.item),X=0,V=R.map((e,t)=>{var n,a;null!=e&&(X=t);let o=(null==e?void 0:e.key)||`${q}-${t}`;return r.createElement(f,{className:q,key:o,index:t,split:$,style:null!==(n=null==O?void 0:O.item)&&void 0!==n?n:null===(a=null==g?void 0:g.styles)||void 0===a?void 0:a.item},e)}),W=r.useMemo(()=>({latestIndex:X}),[X]);if(0===R.length)return null;let K={};return S&&(K.flexWrap="wrap"),!N&&F&&(K.columnGap=B),!I&&P&&(K.rowGap=D),L(r.createElement("div",Object.assign({ref:t,className:T,style:Object.assign(Object.assign(Object.assign({},K),null==g?void 0:g.style),Z)},M),r.createElement(d,{value:W},V)))});g.Compact=c.ZP;var p=g},33507:function(e,t){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`}}})},33297:function(e,t,n){n.d(t,{Fm:function(){return m}});var r=n(47648),a=n(93590);let o=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}}),l=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}}),i=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}}),u=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}}),s=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}}),d=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}}),f=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}}),v={"move-up":{inKeyframes:d,outKeyframes:f},"move-down":{inKeyframes:o,outKeyframes:l},"move-left":{inKeyframes:i,outKeyframes:u},"move-right":{inKeyframes:c,outKeyframes:s}},m=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:l}=v[t];return[(0,a.R)(r,o,l,e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},64894:function(e,t,n){var r=n(83963),a=n(67294),o=n(32857),l=n(30672),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o.Z}))});t.Z=i}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2384.cef214ad4ac766c4.js b/dbgpt/app/static/web/_next/static/chunks/2384.9201d809c9a36d71.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/2384.cef214ad4ac766c4.js rename to dbgpt/app/static/web/_next/static/chunks/2384.9201d809c9a36d71.js index 877eb6d45..2a7425cb7 100644 --- a/dbgpt/app/static/web/_next/static/chunks/2384.cef214ad4ac766c4.js +++ b/dbgpt/app/static/web/_next/static/chunks/2384.9201d809c9a36d71.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2384],{2384:function(E,e,T){T.r(e),T.d(e,{setup:function(){return o}});var a=T(10558),S=T(81065),R=T(47578);let I=[{name:"CURDATE",params:[],desc:"返回当前日期,不含时间部分。"},{name:"CURRENT_DATE",params:[],desc:"返回当前日期,不含时间部分。"},{name:"CURRENT_TIME",params:[{name:"scale"}],desc:"返回当前时间,不含日期部分。"},{name:"CURRENT_TIMESTAMP",params:[{name:"scale"}],desc:"返回当前日期时间,考虑时区设置。"},{name:"CURTIME",params:[],desc:"返回当前时间,不含日期部分。"},{name:"DATE_ADD",params:[{name:"date"},{name:"INTERVAL"}],desc:"日期时间的算术计算。"},{name:"DATE_FORMAT",params:[{name:"date"},{name:"format"}],desc:"将日期时间以指定格式输出。"},{name:"DATE_SUB",params:[{name:"date"},{name:"INTERVAL"}],desc:"日期时间的算术计算。"},{name:"DATEDIFF",params:[{name:"date1"},{name:"date2"}],desc:"返回 date1 和 date2 之间的天数。"},{name:"EXTRACT",body:"EXTRACT(${1:unit} FROM ${2:date})",desc:"以整数类型返回 date 的指定部分值。"},{name:"FROM_DAYS",params:[{name:"N"}],desc:"返回指定天数 N 对应的 DATE 值。"},{name:"FROM_UNIXTIME",params:[{name:"unix_timestamp"},{name:"format"}],desc:"返回指定格式的日期时间字符串。"},{name:"MONTH",params:[{name:"date"}],desc:"返回 date 的月份信息。"},{name:"NOW",params:[{name:"scale"}],desc:"返回当前日期时间,考虑时区设置。"},{name:"PERIOD_DIFF",params:[{name:"p1"},{name:"p2"}],desc:"以月份位单位返回两个日期之间的间隔。"},{name:"STR_TO_DATE",params:[{name:"str"},{name:"format"}],desc:"使用 format 将 str 转换为 DATETIME 值、DATE 值、或 TIME 值。"},{name:"TIME",params:[{name:"datetime"}],desc:"以 TIME 类型返回 datetime 的时间信息。"},{name:"TIME_TO_USEC",params:[{name:"date"}],desc:"将 date 值转换为距离 1970-01-01 00:00:00.000000 的微秒数,考虑时区信息。"},{name:"TIMEDIFF",params:[{name:"date1"},{name:"date2"}],desc:"以 TIME 类型返回两个日期时间的时间间隔。"},{name:"TIMESTAMPDIFF",params:[{name:"unit"},{name:"date1"},{name:"date2"}],desc:"以 unit 为单位返回两个日期时间的间隔。"},{name:"TIMESTAMPADD",params:[{name:"unit"},{name:"interval_expr"},{name:"date"}],desc:"日期时间的算术计算。"},{name:"TO_DAYS",params:[{name:"date"}],desc:"返回指定 date 值对应的天数。"},{name:"USEC_TO_TIME",params:[{name:"usec"}],desc:"将 usec 值转换为 TIMESTAMP 类型值。"},{name:"UNIX_TIMESTAMP",params:[{name:"date"}],desc:"返回指定时间距离 '1970-01-01 00:00:00' 的秒数,考虑时区。"},{name:"UTC_TIMESTAMP",params:[],desc:"返回当前 UTC 时间。"},{name:"YEAR",params:[{name:"date"}],desc:"返回 date 值的年份信息。"},{name:"CONCAT",params:[{name:"str"}],desc:"把多个字符串连接成一个字符串。"},{name:"CONCAT_WS",params:[{name:"separator"},{name:"str"}],desc:"把多个字符串连接成一个字符串,相邻字符串间使用 separator 分隔。"},{name:"FORMAT",params:[{name:"x"},{name:"d"}],desc:"把数字 X 格式化为“#,###,###.##”格式,四舍五入到 D 位小数,并以字符串形式返回结果(如果整数部分超过三位,会用“,”作为千分位分隔符)。"},{name:"SUBSTR",params:[{name:"str"},{name:"pos"}],desc:"返回 str 的子字符串,起始位置为 pos,长度为 len。"},{name:"SUBSTRING",params:[{name:"str"},{name:"pos"}],desc:"返回 str 的子字符串,起始位置为 pos,长度为 len。"},{name:"TRIM",params:[{name:"x"}],desc:"删除字符串所有前缀和/或后缀,默认为 BOTH。"},{name:"LTRIM",params:[{name:"str"}],desc:"删除字符串左侧的空格。"},{name:"RTRIM",params:[{name:"str"}],desc:"删除字符串右侧的空格。"},{name:"ASCII",params:[{name:"str"}],desc:"返回字符串最左侧字符的 ASCII 码。"},{name:"ORD",params:[{name:"str"}],desc:"返回字符串最左侧字符的字符码。"},{name:"LENGTH",params:[{name:"str"}],desc:"返回 str 的字节长度。"},{name:"CHAR_LENGTH",params:[{name:"str"}],desc:"返回字符串包含的字符数。"},{name:"UPPER",params:[{name:"str"}],desc:"将字符串中的小写字母转化为大写字母。"},{name:"LOWER",params:[{name:"str"}],desc:"将字符串中的大写字母转化为小写字母。"},{name:"HEX",params:[{name:"str"}],desc:"将数字或字符串转化为十六进制字符串。"},{name:"UNHEX",params:[{name:"str"}],desc:"将十六进制字符串转化为正常字符串。"},{name:"MD5",params:[{name:"str"}],desc:"返回字符串的 MD5 值。"},{name:"INT2IP",params:[{name:"int_value"}],desc:"将整数内码转换成 IP 地址。"},{name:"IP2INT",params:[{name:"ip_addr"}],desc:"将 IP 地址转换成整数内码。"},{name:"LIKE",body:"LIKE ${1:str}",desc:"字符串通配符匹配。"},{name:"REGEXP",body:"REGEXP ${1:str}",desc:"正则匹配。"},{name:"REPEAT",params:[{name:"str"},{name:"count"}],desc:"返回 str 重复 count 次组成的字符串。"},{name:"SPACE",params:[{name:"N"}],desc:"返回包含 N 个空格的字符串。"},{name:"SUBSTRING_INDEX",params:[{name:"str"},{name:"delim"},{name:"count"}],desc:"在定界符 delim 以及 count 出现前,从字符串 str 返回字符串。"},{name:"LOCATE",params:[{name:"substr"},{name:"str"}],desc:"第一个语法返回字符串 str 中子字符串 substr 的第一个出现位置。"},{name:"POSITION",params:[{name:"substr"},{name:"str"}],desc:"第一个语法返回字符串 str 中子字符串 substr 的第一个出现位置。"},{name:"INSTR",params:[{name:"str"},{name:"substr"}],desc:"返回字符串 str 中子字符串的第一个出现位置。"},{name:"REPLACE",params:[{name:"str"},{name:"from_str"},{name:"to_str"}],desc:"返回字符串 str 以及所有被字符 to_str 替代的字符串 from_str。"},{name:"FIELD",params:[{name:"str"}],desc:"返回参数 str 在 str1, str2, str3,… 列表中的索引位置(从 1 开始的位置)。"},{name:"ELT",params:[{name:"N"},{name:"str"}],desc:"若 N=1,则返回值为 str1;若 N=2,则返回值为 str2;以此类推。"},{name:"INSERT",params:[{name:"str1"},{name:"pos"},{name:"len"},{name:"str2"}],desc:"返回字符串 str1,字符串中起始于 pos 位置,长度为 len 的子字符串将被 str2 取代。"},{name:"LPAD",params:[{name:"str"},{name:"len"},{name:"padstr"}],desc:"用指定字符串 padstr,在左侧填充字符串 str 到指定长度 len。"},{name:"RPAD",params:[{name:"str"},{name:"len"},{name:"padstr"}],desc:"用指定字符串 padstr,在右侧填充字符串 str 到指定长度 len。"},{name:"UUID",params:[],desc:"生成一个全局唯一 ID。"},{name:"BIN",params:[{name:"N"}],desc:"返回数字 N 的二进制形式。"},{name:"QUOTE",params:[{name:"str"}],desc:"引用一个字符串以产生一个结果可以作为 SQL 语句中正确地转义数据值。"},{name:"REGEXP_SUBSTR",params:[{name:"str"},{name:"pattern"}],desc:"在 str 中搜索匹配正则表达式 pattern 的子串,子串不存在返回 NULL。"},{name:"CAST",body:"CAST(${1:expr} AS ${2:type})",desc:"将某种数据类型的表达式显式转换为另一种数据类型。"},{name:"ROUND",params:[{name:"X"}],desc:"返回一个数值,四舍五入到指定的长度或精度。"},{name:"CEIL",params:[{name:"expr"}],desc:"返回大于或者等于指定表达式的最小整数。"},{name:"FLOOR",params:[{name:"expr"}],desc:"返回小于或者等于指定表达式的最大整数。"},{name:"ABS",params:[{name:"expr"}],desc:"绝对值函数,求表达式绝对值,函数返回值类型与数值表达式的数据类型相同。"},{name:"NEG",params:[{name:"expr"}],desc:"求补函数,对操作数执行求补运算:用零减去操作数,然后结果返回操作数。"},{name:"SIGN",params:[{name:"X"}],desc:"SIGN(X) 返回参数作为 -1、 0 或 1 的符号,该符号取决于 X 的值为负、零或正。"},{name:"CONV",params:[{name:"N"},{name:"from_base"},{name:"to_base"}],desc:"不同数基间转换数字。"},{name:"MOD",params:[{name:"N"},{name:"M"}],desc:"取余函数。"},{name:"POW",params:[{name:"X"},{name:"Y"}],desc:"返回 X 的 Y 次方。"},{name:"POWER",params:[{name:"X"},{name:"Y"}],desc:"返回 X 的 Y 次方。"},{name:"RAND",params:[{name:"value1"}],desc:"RAND([N]) 函数接受 0 个或者 1 个参数(N 被称为随机数种子),返回一个范围是 [0,1.0) 的随机浮点数。"},{name:"GREATEST",params:[{name:"value1"}],desc:"返回参数的最大值,和函数 LEAST() 相对。"},{name:"LEAST",params:[{name:"value1"}],desc:"返回参数的最小值,和函数 GREATEST() 相对。"},{name:"ISNULL",params:[{name:"expr"}],desc:"如果参数 expr 为 NULL,那么 ISNULL() 的返回值为 1,否则返回值为 0。"},{name:"IF",params:[{name:"expr1"},{name:"expr2"},{name:"expr3"}],desc:"如果 expr1 的值为 TRUE(即:expr1<>0 且 expr1<>NULL),返回结果为 expr2;否则返回结果为 expr3。"},{name:"IFNULL",params:[{name:"expr1"},{name:"expr2"}],desc:"假设 expr1 不为 NULL,则 IFNULL() 的返回值为 expr1;否则其返回值为 expr2。"},{name:"NULLIF",params:[{name:"expr1"},{name:"expr2"}],desc:"如果 expr1 = expr2 成立,那么返回值为 NULL,否则返回值为 expr1。"}].concat([{name:"AVG",params:[{name:"expr"}],desc:"返回数值列的平均值。"},{name:"COUNT",params:[{name:"expr"}],desc:"该函数返回 SELECT 语句检索到的行中非 NULL 值的数目。"},{name:"SUM",params:[{name:"expr"}],desc:"返回参数中指定列的和。"},{name:"GROUP_CONCAT",params:[{name:"expr"}],desc:"返回带有来自一个组的连接的非 NULL 值的字符串结果。"},{name:"MAX",params:[{name:"expr"}],desc:"返回参数中指定的列中的最大值。"},{name:"MIN",params:[{name:"expr"}],desc:"返回参数中指定列的最小值。"}]).concat([]).concat([{name:"FOUND_ROWS",params:[],desc:"一个 SELECT 语句可能包含一个 LIMIT 子句,用来限制数据库服务器端返回客户端的行数。在某些情况下,我们需要不再次运行该语句而得知在没有 LIMIT 时到底该语句返回了多少行。我们可以在 SELECT 语句中选择使用 SQL_CALC_FOUND_ROWS,然后调用 FOUND_ROWS() 函数,获取该语句在没有 LIMIT 时返回的行数。"},{name:"LAST_INSERT_ID",params:[],desc:"返回本 SESSION 最后一次插入的自增字段值,如最近一条 INSERT 插入多条记录,LAST_INSERT_ID() 返回第一条记录的自增字段值。"}]).concat([{name:"COALESCE",params:[{name:"expr"}],desc:"依次参考各参数表达式,遇到非 NULL 值即停止并返回该值。"},{name:"NVL",params:[{name:"str1"},{name:"replace_with"}],desc:"如果 str1 为 NULL,则替换成 replace_with。"},{name:"MATCH",body:"MATCH (${1:cols}) AGAINST (${2:expr})",desc:"全文查找函数"}]);var n=T(54375),A=T(54768);let N=new A.q(window.obMonaco.getWorkerUrl("mysql")),O=n.Ud(N.getWorker());var s=T(36498),t=function(E,e,T,a){return new(T||(T=Promise))(function(S,R){function I(E){try{A(a.next(E))}catch(E){R(E)}}function n(E){try{A(a.throw(E))}catch(E){R(E)}}function A(E){var e;E.done?S(E.value):((e=E.value)instanceof T?e:new T(function(E){E(e)})).then(I,n)}A((a=a.apply(E,e||[])).next())})},L=class{constructor(E){this.triggerCharacters=["."],this.plugin=null,this.plugin=E}getModelOptions(E){var e;return null===(e=this.plugin)||void 0===e?void 0:e.modelOptionsMap.get(E)}provideCompletionItems(E,e,T,a){let{offset:S,value:R,delimiter:I,range:n,triggerCharacter:A}=(0,s.y)(E,e,T,this.plugin);return this.getCompleteWordFromOffset(S,R,I,n,E,A)}getColumnList(E,e,T){var a;return t(this,void 0,void 0,function*(){let S=this.getModelOptions(E.id),I=[],n=yield null===(a=null==S?void 0:S.getTableColumns)||void 0===a?void 0:a.call(S,e.tableName,e.schemaName);return n&&n.forEach(E=>{I.push((0,R.yD)(E.columnName,e.tableName,e.schemaName,T))}),I})}getSchemaList(E,e){var T;return t(this,void 0,void 0,function*(){let a=this.getModelOptions(E.id),S=[],I=yield null===(T=null==a?void 0:a.getSchemaList)||void 0===T?void 0:T.call(a);return I&&I.forEach(E=>{S.push((0,R.lW)(E,e))}),S})}getTableList(E,e,T){var a;return t(this,void 0,void 0,function*(){let S=this.getModelOptions(E.id),I=[],n=yield null===(a=null==S?void 0:S.getTableList)||void 0===a?void 0:a.call(S,e);return n&&n.forEach(E=>{I.push((0,R.Pf)(E,e,!1,T))}),I})}getFunctions(E,e){var T;return t(this,void 0,void 0,function*(){let a=this.getModelOptions(E.id),S=yield null===(T=null==a?void 0:a.getFunctions)||void 0===T?void 0:T.call(a);return(S||[]).concat(I).map(E=>(0,R.Ht)(E,e))})}getSnippets(E,e){var T;return t(this,void 0,void 0,function*(){let a=this.getModelOptions(E.id),S=yield null===(T=null==a?void 0:a.getSnippets)||void 0===T?void 0:T.call(a);return(S||[]).map(E=>(0,R.k8)(E,e))})}getCompleteWordFromOffset(E,e,T,a,S,I){var n;return t(this,void 0,void 0,function*(){let I=O.parser,A=yield I.getAutoCompletion(e,T,E);if(A){let E=this.getModelOptions(S.id),e=[],T=!0;for(let I of A)if("string"!=typeof I&&(T=!1),"string"==typeof I)e.push((0,R.Lx)(I,a));else if("allTables"===I.type)e=e.concat((yield this.getTableList(S,I.schema,a)));else if("tableColumns"===I.type)e=e.concat((yield this.getColumnList(S,I,a)));else if("withTable"===I.type)e.push((0,R.Pf)(I.tableName,"CTE",!1,a));else if("allSchemas"===I.type)e=e.concat((yield this.getSchemaList(S,a)));else if("objectAccess"===I.type){let T=I.objectName,R=yield null===(n=null==E?void 0:E.getSchemaList)||void 0===n?void 0:n.call(E),A=null==R?void 0:R.find(E=>E===T);if(A){e=e.concat((yield this.getTableList(S,I.objectName,a)));continue}let N=T.split("."),O=N.length>1?N[1]:N[0],s=N.length>1?N[0]:void 0,t=yield this.getColumnList(S,{tableName:O,schemaName:s},a);(null==t?void 0:t.length)&&(e=e.concat(t))}else"fromTable"===I.type?e.push((0,R.Pf)(I.tableName,I.schemaName,!0,a)):"allFunction"===I.type&&(e=e.concat((yield this.getFunctions(S,a))));return T&&(e=e.concat((yield this.getSnippets(S,a)))),{suggestions:e,incomplete:!1}}return{suggestions:[],incomplete:!1}})}};let m=["STAR","ACCOUNT","ACTION","ACTIVE","ADMIN","AFTER","AGAINST","AGGREGATE","ALGORITHM","ALWAYS","ANY","ARRAY","ASCII","ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS","AT","ATTRIBUTE","AUTHENTICATION","AUTOEXTEND_SIZE","AUTO_INCREMENT","AVG","AVG_ROW_LENGTH","BACKUP","BEGIN","BINLOG","BIT","BLOCK","BOOL","BOOLEAN","BTREE","BUCKETS","BYTE","CACHE","CASCADED","CATALOG_NAME","CHAIN","CHALLENGE_RESPONSE","CHANGED","CHANNEL","CHARSET","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLONE","CLOSE","COALESCE","CODE","COLLATION","COLUMNS","COLUMN_FORMAT","COLUMN_NAME","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPONENT","COMPRESSED","COMPRESSION","CONCURRENT","CONNECTION","CONSISTENT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CPU","CURRENT","CURSOR_NAME","DATA","DATAFILE","DATE","DATETIME","DAY","DEALLOCATE","DEFAULT_AUTH","DEFINER","DEFINITION","DELAY_KEY_WRITE","DESCRIPTION","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DO","DUMPFILE","DUPLICATE","DYNAMIC","ENABLE","ENCRYPTION","END","ENDS","ENFORCED","ENGINE","ENGINES","ENGINE_ATTRIBUTE","ENUM","ERROR","ERRORS","ESCAPE","EVENT","EVENTS","EVERY","EXCHANGE","EXCLUDE","EXECUTE","EXPANSION","EXPIRE","EXPORT","EXTENDED","EXTENT_SIZE","FACTOR","FAILED_LOGIN_ATTEMPTS","FAST","FAULTS","FIELDS","FILE","FILE_BLOCK_SIZE","FILTER","FINISH","FIRST","FIXED","FLUSH","FOLLOWING","FOLLOWS","FORMAT","FOUND","FULL","GENERAL","GEOMCOLLECTION","GEOMETRY","GEOMETRYCOLLECTION","GET_FORMAT","GET_MASTER_PUBLIC_KEY","GET_SOURCE_PUBLIC_KEY","GLOBAL","GRANTS","GROUP_REPLICATION","GTID_ONLY","HANDLER","HASH","HELP","HISTOGRAM","HISTORY","HOST","HOSTS","HOUR","IDENTIFIED","IGNORE_SERVER_IDS","IMPORT","INACTIVE","INDEXES","INITIAL","INITIAL_SIZE","INITIATE","INSERT_METHOD","INSTALL","INSTANCE","INVISIBLE","INVOKER","IO","IO_THREAD","IPC","ISOLATION","ISSUER","JSON","JSON_VALUE","KEYRING","KEY_BLOCK_SIZE","LANGUAGE","LAST","LEAVES","LESS","LEVEL","LINESTRING","LIST","LOCAL","LOCKED","LOCKS","LOGFILE","LOGS","MASTER","MASTER_AUTO_POSITION","MASTER_COMPRESSION_ALGORITHMS","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_HEARTBEAT_PERIOD","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_PUBLIC_KEY_PATH","MASTER_RETRY_COUNT","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_TLS_CIPHERSUITES","MASTER_TLS_VERSION","MASTER_USER","MASTER_ZSTD_COMPRESSION_LEVEL","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MEMBER","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIGRATE","MINUTE","MIN_ROWS","MODE","MODIFY","MONTH","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","MUTEX","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NCHAR","NDB","NDBCLUSTER","NESTED","NETWORK_NAMESPACE","NEVER","NEW","NEXT","NO","NODEGROUP","NONE","NOWAIT","NO_WAIT","NULLS","NUMBER","NVARCHAR","OFF","OFFSET","OJ","OLD","ONE","ONLY","OPEN","OPTIONAL","OPTIONS","ORDINALITY","ORGANIZATION","OTHERS","OWNER","PACK_KEYS","PAGE","PARSER","PARTIAL","PARTITIONING","PARTITIONS","PASSWORD","PASSWORD_LOCK_TIME","PATH","PERSIST","PERSIST_ONLY","PHASE","PLUGIN","PLUGINS","PLUGIN_DIR","POINT","POLYGON","PORT","PRECEDES","PRECEDING","PREPARE","PRESERVE","PREV","PRIVILEGES","PRIVILEGE_CHECKS_USER","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROXY","QUARTER","QUERY","QUICK","RANDOM","READ_ONLY","REBUILD","RECOVER","REDO_BUFFER_SIZE","REDUNDANT","REFERENCE","REGISTRATION","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELOAD","REMOVE","REORGANIZE","REPAIR","REPEATABLE","REPLICA","REPLICAS","REPLICATE_DO_DB","REPLICATE_DO_TABLE","REPLICATE_IGNORE_DB","REPLICATE_IGNORE_TABLE","REPLICATE_REWRITE_DB","REPLICATE_WILD_DO_TABLE","REPLICATE_WILD_IGNORE_TABLE","REPLICATION","REQUIRE_ROW_FORMAT","REQUIRE_TABLE_PRIMARY_KEY_CHECK","RESET","RESOURCE","RESPECT","RESTART","RESTORE","RESUME","RETAIN","RETURNED_SQLSTATE","RETURNING","RETURNS","REUSE","REVERSE","ROLE","ROLLBACK","ROLLUP","ROTATE","ROUTINE","ROW_COUNT","ROW_FORMAT","RTREE","SAVEPOINT","SCHEDULE","SCHEMA_NAME","SECOND","SECONDARY","SECONDARY_ENGINE","SECONDARY_ENGINE_ATTRIBUTE","SECONDARY_LOAD","SECONDARY_UNLOAD","SECURITY","SERIAL","SERIALIZABLE","SERVER","SESSION","SHARE","SHUTDOWN","SIGNED","SIMPLE","SKIP","SLAVE","SLOW","SNAPSHOT","SOCKET","SOME","SONAME","SOUNDS","SOURCE","SOURCE_AUTO_POSITION","SOURCE_BIND","SOURCE_COMPRESSION_ALGORITHMS","SOURCE_CONNECTION_AUTO_FAILOVER","SOURCE_CONNECT_RETRY","SOURCE_DELAY","SOURCE_HEARTBEAT_PERIOD","SOURCE_HOST","SOURCE_LOG_FILE","SOURCE_LOG_POS","SOURCE_PASSWORD","SOURCE_PORT","SOURCE_PUBLIC_KEY_PATH","SOURCE_RETRY_COUNT","SOURCE_SSL","SOURCE_SSL_CA","SOURCE_SSL_CAPATH","SOURCE_SSL_CERT","SOURCE_SSL_CIPHER","SOURCE_SSL_CRL","SOURCE_SSL_CRLPATH","SOURCE_SSL_KEY","SOURCE_SSL_VERIFY_SERVER_CERT","SOURCE_TLS_CIPHERSUITES","SOURCE_TLS_VERSION","SOURCE_USER","SOURCE_ZSTD_COMPRESSION_LEVEL","SQL_AFTER_GTIDS","SQL_AFTER_MTS_GAPS","SQL_BEFORE_GTIDS","SQL_BUFFER_RESULT","SQL_NO_CACHE","SQL_THREAD","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SRID","STACKED","START","STARTS","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STREAM","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","TABLES","TABLESPACE","TABLE_CHECKSUM","TABLE_NAME","TEMPORARY","TEMPTABLE","TEXT","THAN","THREAD_PRIORITY","TIES","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TLS","TRANSACTION","TRIGGERS","TRUNCATE","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDOFILE","UNDO_BUFFER_SIZE","UNICODE","UNINSTALL","UNKNOWN","UNREGISTER","UNTIL","UPGRADE","USER","USER_RESOURCES","USE_FRM","VALIDATION","VALUE","VARIABLES","VCPU","VIEW","VISIBLE","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WITHOUT","WORK","WRAPPER","X509","XA","XID","XML","YEAR","ZONE"].concat(["ACCESSIBLE","ADD","ALL","ALTER","ANALYZE","AND","AS","ASC","ASENSITIVE","BEFORE","BETWEEN","BIGINT","BINARY","BLOB","BOTH","BY","CALL","CASCADE","CASE","CHANGE","CHAR","CHARACTER","CHECK","COLLATE","COLUMN","CONDITION","CONSTRAINT","CONTINUE","CONVERT","CREATE","CROSS","CUBE","CUME_DIST","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DATABASES","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEC","DECIMAL","DECLARE","DEFAULT","DELAYED","DELETE","DENSE_RANK","DESC","DESCRIBE","DETERMINISTIC","DISTINCT","DISTINCTROW","DIV","DOUBLE","DROP","DUAL","EACH","ELSE","ELSEIF","EMPTY","ENCLOSED","ESCAPED","EXCEPT","EXISTS","EXIT","EXPLAIN","FALSE","FETCH","FIRST_VALUE","FLOAT","FLOAT4","FLOAT8","FOR","FORCE","FOREIGN","FROM","FULLTEXT","FUNCTION","GENERATED","GET","GRANT","GROUP","GROUPING","GROUPS","HAVING","HIGH_PRIORITY","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IF","IGNORE","IN","INDEX","INFILE","INNER","INOUT","INSENSITIVE","INSERT","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERVAL","INTO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IS","ITERATE","JOIN","JSON_TABLE","KEY","KEYS","KILL","LAG","LAST_VALUE","LATERAL","LEAD","LEADING","LEAVE","LEFT","LIKE","LIMIT","LINEAR","LINES","LOAD","LOCALTIME","LOCALTIMESTAMP","LOCK","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER_BIND","MASTER_SSL_VERIFY_SERVER_CERT","MATCH","MAXVALUE","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MIDDLEINT","MINUTE_MICROSECOND","MINUTE_SECOND","MOD","MODIFIES","NATURAL","NOT","NO_WRITE_TO_BINLOG","NTH_VALUE","NTILE","NULL","NUMERIC","OF","ON","OPTIMIZE","OPTIMIZER_COSTS","OPTION","OPTIONALLY","OR","ORDER","OUT","OUTER","OUTFILE","OVER","PARTITION","PERCENT_RANK","PRECISION","PRIMARY","PROCEDURE","PURGE","RANGE","RANK","READ","READS","READ_WRITE","REAL","RECURSIVE","REFERENCES","REGEXP","RELEASE","RENAME","REPEAT","REPLACE","REQUIRE","RESIGNAL","RESTRICT","RETURN","REVOKE","RIGHT","RLIKE","ROW","ROWS","ROW_NUMBER","SCHEMA","SCHEMAS","SECOND_MICROSECOND","SELECT","SENSITIVE","SEPARATOR","SET","SHOW","SIGNAL","SMALLINT","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_BIG_RESULT","SQL_CALC_FOUND_ROWS","SQL_SMALL_RESULT","SSL","STARTING","STORED","STRAIGHT_JOIN","SYSTEM","TABLE","TERMINATED","THEN","TINYBLOB","TINYINT","TINYTEXT","TO","TRAILING","TRIGGER","TRUE","UNDO","UNION","UNIQUE","UNLOCK","UNSIGNED","UPDATE","USAGE","USE","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARYING","VIRTUAL","WHEN","WHERE","WHILE","WINDOW","WITH","WRITE","XOR","YEAR_MONTH","ZEROFILL"]),r={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],wordPattern:/[\w#$]+/i,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},C={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:Array.from(new Set(m)),operators:[":="],builtinVariables:[],builtinFunctions:I.map(E=>E.name),pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@backTick"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"string","@builtinFunctions":"type.identifier","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/#+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],backTick:[[/`/,{token:"identifier.quote",next:"@backTickIdentifiers"}]],backTickIdentifiers:[[/[^`]+/,"string.escape"],[/`/,{token:"identifier.quote",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}};var _=T(5601),i=T(95422);function o(E){a.Mj.register({id:S.$.MySQL}),a.Mj.setMonarchTokensProvider(S.$.MySQL,C),a.Mj.setLanguageConfiguration(S.$.MySQL,r),a.Mj.registerCompletionItemProvider(S.$.MySQL,new L(E)),a.Mj.registerDocumentFormattingEditProvider(S.$.MySQL,new _.m(E,S.$.MySQL)),a.Mj.registerDocumentRangeFormattingEditProvider(S.$.MySQL,new _.X(E,S.$.MySQL)),a.Mj.registerInlineCompletionsProvider(S.$.MySQL,new i.Z(E))}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2384],{2384:function(E,e,T){T.r(e),T.d(e,{setup:function(){return o}});var a=T(96685),S=T(81065),R=T(47578);let I=[{name:"CURDATE",params:[],desc:"返回当前日期,不含时间部分。"},{name:"CURRENT_DATE",params:[],desc:"返回当前日期,不含时间部分。"},{name:"CURRENT_TIME",params:[{name:"scale"}],desc:"返回当前时间,不含日期部分。"},{name:"CURRENT_TIMESTAMP",params:[{name:"scale"}],desc:"返回当前日期时间,考虑时区设置。"},{name:"CURTIME",params:[],desc:"返回当前时间,不含日期部分。"},{name:"DATE_ADD",params:[{name:"date"},{name:"INTERVAL"}],desc:"日期时间的算术计算。"},{name:"DATE_FORMAT",params:[{name:"date"},{name:"format"}],desc:"将日期时间以指定格式输出。"},{name:"DATE_SUB",params:[{name:"date"},{name:"INTERVAL"}],desc:"日期时间的算术计算。"},{name:"DATEDIFF",params:[{name:"date1"},{name:"date2"}],desc:"返回 date1 和 date2 之间的天数。"},{name:"EXTRACT",body:"EXTRACT(${1:unit} FROM ${2:date})",desc:"以整数类型返回 date 的指定部分值。"},{name:"FROM_DAYS",params:[{name:"N"}],desc:"返回指定天数 N 对应的 DATE 值。"},{name:"FROM_UNIXTIME",params:[{name:"unix_timestamp"},{name:"format"}],desc:"返回指定格式的日期时间字符串。"},{name:"MONTH",params:[{name:"date"}],desc:"返回 date 的月份信息。"},{name:"NOW",params:[{name:"scale"}],desc:"返回当前日期时间,考虑时区设置。"},{name:"PERIOD_DIFF",params:[{name:"p1"},{name:"p2"}],desc:"以月份位单位返回两个日期之间的间隔。"},{name:"STR_TO_DATE",params:[{name:"str"},{name:"format"}],desc:"使用 format 将 str 转换为 DATETIME 值、DATE 值、或 TIME 值。"},{name:"TIME",params:[{name:"datetime"}],desc:"以 TIME 类型返回 datetime 的时间信息。"},{name:"TIME_TO_USEC",params:[{name:"date"}],desc:"将 date 值转换为距离 1970-01-01 00:00:00.000000 的微秒数,考虑时区信息。"},{name:"TIMEDIFF",params:[{name:"date1"},{name:"date2"}],desc:"以 TIME 类型返回两个日期时间的时间间隔。"},{name:"TIMESTAMPDIFF",params:[{name:"unit"},{name:"date1"},{name:"date2"}],desc:"以 unit 为单位返回两个日期时间的间隔。"},{name:"TIMESTAMPADD",params:[{name:"unit"},{name:"interval_expr"},{name:"date"}],desc:"日期时间的算术计算。"},{name:"TO_DAYS",params:[{name:"date"}],desc:"返回指定 date 值对应的天数。"},{name:"USEC_TO_TIME",params:[{name:"usec"}],desc:"将 usec 值转换为 TIMESTAMP 类型值。"},{name:"UNIX_TIMESTAMP",params:[{name:"date"}],desc:"返回指定时间距离 '1970-01-01 00:00:00' 的秒数,考虑时区。"},{name:"UTC_TIMESTAMP",params:[],desc:"返回当前 UTC 时间。"},{name:"YEAR",params:[{name:"date"}],desc:"返回 date 值的年份信息。"},{name:"CONCAT",params:[{name:"str"}],desc:"把多个字符串连接成一个字符串。"},{name:"CONCAT_WS",params:[{name:"separator"},{name:"str"}],desc:"把多个字符串连接成一个字符串,相邻字符串间使用 separator 分隔。"},{name:"FORMAT",params:[{name:"x"},{name:"d"}],desc:"把数字 X 格式化为“#,###,###.##”格式,四舍五入到 D 位小数,并以字符串形式返回结果(如果整数部分超过三位,会用“,”作为千分位分隔符)。"},{name:"SUBSTR",params:[{name:"str"},{name:"pos"}],desc:"返回 str 的子字符串,起始位置为 pos,长度为 len。"},{name:"SUBSTRING",params:[{name:"str"},{name:"pos"}],desc:"返回 str 的子字符串,起始位置为 pos,长度为 len。"},{name:"TRIM",params:[{name:"x"}],desc:"删除字符串所有前缀和/或后缀,默认为 BOTH。"},{name:"LTRIM",params:[{name:"str"}],desc:"删除字符串左侧的空格。"},{name:"RTRIM",params:[{name:"str"}],desc:"删除字符串右侧的空格。"},{name:"ASCII",params:[{name:"str"}],desc:"返回字符串最左侧字符的 ASCII 码。"},{name:"ORD",params:[{name:"str"}],desc:"返回字符串最左侧字符的字符码。"},{name:"LENGTH",params:[{name:"str"}],desc:"返回 str 的字节长度。"},{name:"CHAR_LENGTH",params:[{name:"str"}],desc:"返回字符串包含的字符数。"},{name:"UPPER",params:[{name:"str"}],desc:"将字符串中的小写字母转化为大写字母。"},{name:"LOWER",params:[{name:"str"}],desc:"将字符串中的大写字母转化为小写字母。"},{name:"HEX",params:[{name:"str"}],desc:"将数字或字符串转化为十六进制字符串。"},{name:"UNHEX",params:[{name:"str"}],desc:"将十六进制字符串转化为正常字符串。"},{name:"MD5",params:[{name:"str"}],desc:"返回字符串的 MD5 值。"},{name:"INT2IP",params:[{name:"int_value"}],desc:"将整数内码转换成 IP 地址。"},{name:"IP2INT",params:[{name:"ip_addr"}],desc:"将 IP 地址转换成整数内码。"},{name:"LIKE",body:"LIKE ${1:str}",desc:"字符串通配符匹配。"},{name:"REGEXP",body:"REGEXP ${1:str}",desc:"正则匹配。"},{name:"REPEAT",params:[{name:"str"},{name:"count"}],desc:"返回 str 重复 count 次组成的字符串。"},{name:"SPACE",params:[{name:"N"}],desc:"返回包含 N 个空格的字符串。"},{name:"SUBSTRING_INDEX",params:[{name:"str"},{name:"delim"},{name:"count"}],desc:"在定界符 delim 以及 count 出现前,从字符串 str 返回字符串。"},{name:"LOCATE",params:[{name:"substr"},{name:"str"}],desc:"第一个语法返回字符串 str 中子字符串 substr 的第一个出现位置。"},{name:"POSITION",params:[{name:"substr"},{name:"str"}],desc:"第一个语法返回字符串 str 中子字符串 substr 的第一个出现位置。"},{name:"INSTR",params:[{name:"str"},{name:"substr"}],desc:"返回字符串 str 中子字符串的第一个出现位置。"},{name:"REPLACE",params:[{name:"str"},{name:"from_str"},{name:"to_str"}],desc:"返回字符串 str 以及所有被字符 to_str 替代的字符串 from_str。"},{name:"FIELD",params:[{name:"str"}],desc:"返回参数 str 在 str1, str2, str3,… 列表中的索引位置(从 1 开始的位置)。"},{name:"ELT",params:[{name:"N"},{name:"str"}],desc:"若 N=1,则返回值为 str1;若 N=2,则返回值为 str2;以此类推。"},{name:"INSERT",params:[{name:"str1"},{name:"pos"},{name:"len"},{name:"str2"}],desc:"返回字符串 str1,字符串中起始于 pos 位置,长度为 len 的子字符串将被 str2 取代。"},{name:"LPAD",params:[{name:"str"},{name:"len"},{name:"padstr"}],desc:"用指定字符串 padstr,在左侧填充字符串 str 到指定长度 len。"},{name:"RPAD",params:[{name:"str"},{name:"len"},{name:"padstr"}],desc:"用指定字符串 padstr,在右侧填充字符串 str 到指定长度 len。"},{name:"UUID",params:[],desc:"生成一个全局唯一 ID。"},{name:"BIN",params:[{name:"N"}],desc:"返回数字 N 的二进制形式。"},{name:"QUOTE",params:[{name:"str"}],desc:"引用一个字符串以产生一个结果可以作为 SQL 语句中正确地转义数据值。"},{name:"REGEXP_SUBSTR",params:[{name:"str"},{name:"pattern"}],desc:"在 str 中搜索匹配正则表达式 pattern 的子串,子串不存在返回 NULL。"},{name:"CAST",body:"CAST(${1:expr} AS ${2:type})",desc:"将某种数据类型的表达式显式转换为另一种数据类型。"},{name:"ROUND",params:[{name:"X"}],desc:"返回一个数值,四舍五入到指定的长度或精度。"},{name:"CEIL",params:[{name:"expr"}],desc:"返回大于或者等于指定表达式的最小整数。"},{name:"FLOOR",params:[{name:"expr"}],desc:"返回小于或者等于指定表达式的最大整数。"},{name:"ABS",params:[{name:"expr"}],desc:"绝对值函数,求表达式绝对值,函数返回值类型与数值表达式的数据类型相同。"},{name:"NEG",params:[{name:"expr"}],desc:"求补函数,对操作数执行求补运算:用零减去操作数,然后结果返回操作数。"},{name:"SIGN",params:[{name:"X"}],desc:"SIGN(X) 返回参数作为 -1、 0 或 1 的符号,该符号取决于 X 的值为负、零或正。"},{name:"CONV",params:[{name:"N"},{name:"from_base"},{name:"to_base"}],desc:"不同数基间转换数字。"},{name:"MOD",params:[{name:"N"},{name:"M"}],desc:"取余函数。"},{name:"POW",params:[{name:"X"},{name:"Y"}],desc:"返回 X 的 Y 次方。"},{name:"POWER",params:[{name:"X"},{name:"Y"}],desc:"返回 X 的 Y 次方。"},{name:"RAND",params:[{name:"value1"}],desc:"RAND([N]) 函数接受 0 个或者 1 个参数(N 被称为随机数种子),返回一个范围是 [0,1.0) 的随机浮点数。"},{name:"GREATEST",params:[{name:"value1"}],desc:"返回参数的最大值,和函数 LEAST() 相对。"},{name:"LEAST",params:[{name:"value1"}],desc:"返回参数的最小值,和函数 GREATEST() 相对。"},{name:"ISNULL",params:[{name:"expr"}],desc:"如果参数 expr 为 NULL,那么 ISNULL() 的返回值为 1,否则返回值为 0。"},{name:"IF",params:[{name:"expr1"},{name:"expr2"},{name:"expr3"}],desc:"如果 expr1 的值为 TRUE(即:expr1<>0 且 expr1<>NULL),返回结果为 expr2;否则返回结果为 expr3。"},{name:"IFNULL",params:[{name:"expr1"},{name:"expr2"}],desc:"假设 expr1 不为 NULL,则 IFNULL() 的返回值为 expr1;否则其返回值为 expr2。"},{name:"NULLIF",params:[{name:"expr1"},{name:"expr2"}],desc:"如果 expr1 = expr2 成立,那么返回值为 NULL,否则返回值为 expr1。"}].concat([{name:"AVG",params:[{name:"expr"}],desc:"返回数值列的平均值。"},{name:"COUNT",params:[{name:"expr"}],desc:"该函数返回 SELECT 语句检索到的行中非 NULL 值的数目。"},{name:"SUM",params:[{name:"expr"}],desc:"返回参数中指定列的和。"},{name:"GROUP_CONCAT",params:[{name:"expr"}],desc:"返回带有来自一个组的连接的非 NULL 值的字符串结果。"},{name:"MAX",params:[{name:"expr"}],desc:"返回参数中指定的列中的最大值。"},{name:"MIN",params:[{name:"expr"}],desc:"返回参数中指定列的最小值。"}]).concat([]).concat([{name:"FOUND_ROWS",params:[],desc:"一个 SELECT 语句可能包含一个 LIMIT 子句,用来限制数据库服务器端返回客户端的行数。在某些情况下,我们需要不再次运行该语句而得知在没有 LIMIT 时到底该语句返回了多少行。我们可以在 SELECT 语句中选择使用 SQL_CALC_FOUND_ROWS,然后调用 FOUND_ROWS() 函数,获取该语句在没有 LIMIT 时返回的行数。"},{name:"LAST_INSERT_ID",params:[],desc:"返回本 SESSION 最后一次插入的自增字段值,如最近一条 INSERT 插入多条记录,LAST_INSERT_ID() 返回第一条记录的自增字段值。"}]).concat([{name:"COALESCE",params:[{name:"expr"}],desc:"依次参考各参数表达式,遇到非 NULL 值即停止并返回该值。"},{name:"NVL",params:[{name:"str1"},{name:"replace_with"}],desc:"如果 str1 为 NULL,则替换成 replace_with。"},{name:"MATCH",body:"MATCH (${1:cols}) AGAINST (${2:expr})",desc:"全文查找函数"}]);var n=T(54375),A=T(54768);let N=new A.q(window.obMonaco.getWorkerUrl("mysql")),O=n.Ud(N.getWorker());var s=T(36498),t=function(E,e,T,a){return new(T||(T=Promise))(function(S,R){function I(E){try{A(a.next(E))}catch(E){R(E)}}function n(E){try{A(a.throw(E))}catch(E){R(E)}}function A(E){var e;E.done?S(E.value):((e=E.value)instanceof T?e:new T(function(E){E(e)})).then(I,n)}A((a=a.apply(E,e||[])).next())})},L=class{constructor(E){this.triggerCharacters=["."],this.plugin=null,this.plugin=E}getModelOptions(E){var e;return null===(e=this.plugin)||void 0===e?void 0:e.modelOptionsMap.get(E)}provideCompletionItems(E,e,T,a){let{offset:S,value:R,delimiter:I,range:n,triggerCharacter:A}=(0,s.y)(E,e,T,this.plugin);return this.getCompleteWordFromOffset(S,R,I,n,E,A)}getColumnList(E,e,T){var a;return t(this,void 0,void 0,function*(){let S=this.getModelOptions(E.id),I=[],n=yield null===(a=null==S?void 0:S.getTableColumns)||void 0===a?void 0:a.call(S,e.tableName,e.schemaName);return n&&n.forEach(E=>{I.push((0,R.yD)(E.columnName,e.tableName,e.schemaName,T))}),I})}getSchemaList(E,e){var T;return t(this,void 0,void 0,function*(){let a=this.getModelOptions(E.id),S=[],I=yield null===(T=null==a?void 0:a.getSchemaList)||void 0===T?void 0:T.call(a);return I&&I.forEach(E=>{S.push((0,R.lW)(E,e))}),S})}getTableList(E,e,T){var a;return t(this,void 0,void 0,function*(){let S=this.getModelOptions(E.id),I=[],n=yield null===(a=null==S?void 0:S.getTableList)||void 0===a?void 0:a.call(S,e);return n&&n.forEach(E=>{I.push((0,R.Pf)(E,e,!1,T))}),I})}getFunctions(E,e){var T;return t(this,void 0,void 0,function*(){let a=this.getModelOptions(E.id),S=yield null===(T=null==a?void 0:a.getFunctions)||void 0===T?void 0:T.call(a);return(S||[]).concat(I).map(E=>(0,R.Ht)(E,e))})}getSnippets(E,e){var T;return t(this,void 0,void 0,function*(){let a=this.getModelOptions(E.id),S=yield null===(T=null==a?void 0:a.getSnippets)||void 0===T?void 0:T.call(a);return(S||[]).map(E=>(0,R.k8)(E,e))})}getCompleteWordFromOffset(E,e,T,a,S,I){var n;return t(this,void 0,void 0,function*(){let I=O.parser,A=yield I.getAutoCompletion(e,T,E);if(A){let E=this.getModelOptions(S.id),e=[],T=!0;for(let I of A)if("string"!=typeof I&&(T=!1),"string"==typeof I)e.push((0,R.Lx)(I,a));else if("allTables"===I.type)e=e.concat((yield this.getTableList(S,I.schema,a)));else if("tableColumns"===I.type)e=e.concat((yield this.getColumnList(S,I,a)));else if("withTable"===I.type)e.push((0,R.Pf)(I.tableName,"CTE",!1,a));else if("allSchemas"===I.type)e=e.concat((yield this.getSchemaList(S,a)));else if("objectAccess"===I.type){let T=I.objectName,R=yield null===(n=null==E?void 0:E.getSchemaList)||void 0===n?void 0:n.call(E),A=null==R?void 0:R.find(E=>E===T);if(A){e=e.concat((yield this.getTableList(S,I.objectName,a)));continue}let N=T.split("."),O=N.length>1?N[1]:N[0],s=N.length>1?N[0]:void 0,t=yield this.getColumnList(S,{tableName:O,schemaName:s},a);(null==t?void 0:t.length)&&(e=e.concat(t))}else"fromTable"===I.type?e.push((0,R.Pf)(I.tableName,I.schemaName,!0,a)):"allFunction"===I.type&&(e=e.concat((yield this.getFunctions(S,a))));return T&&(e=e.concat((yield this.getSnippets(S,a)))),{suggestions:e,incomplete:!1}}return{suggestions:[],incomplete:!1}})}};let m=["STAR","ACCOUNT","ACTION","ACTIVE","ADMIN","AFTER","AGAINST","AGGREGATE","ALGORITHM","ALWAYS","ANY","ARRAY","ASCII","ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS","AT","ATTRIBUTE","AUTHENTICATION","AUTOEXTEND_SIZE","AUTO_INCREMENT","AVG","AVG_ROW_LENGTH","BACKUP","BEGIN","BINLOG","BIT","BLOCK","BOOL","BOOLEAN","BTREE","BUCKETS","BYTE","CACHE","CASCADED","CATALOG_NAME","CHAIN","CHALLENGE_RESPONSE","CHANGED","CHANNEL","CHARSET","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLONE","CLOSE","COALESCE","CODE","COLLATION","COLUMNS","COLUMN_FORMAT","COLUMN_NAME","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPONENT","COMPRESSED","COMPRESSION","CONCURRENT","CONNECTION","CONSISTENT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CPU","CURRENT","CURSOR_NAME","DATA","DATAFILE","DATE","DATETIME","DAY","DEALLOCATE","DEFAULT_AUTH","DEFINER","DEFINITION","DELAY_KEY_WRITE","DESCRIPTION","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DO","DUMPFILE","DUPLICATE","DYNAMIC","ENABLE","ENCRYPTION","END","ENDS","ENFORCED","ENGINE","ENGINES","ENGINE_ATTRIBUTE","ENUM","ERROR","ERRORS","ESCAPE","EVENT","EVENTS","EVERY","EXCHANGE","EXCLUDE","EXECUTE","EXPANSION","EXPIRE","EXPORT","EXTENDED","EXTENT_SIZE","FACTOR","FAILED_LOGIN_ATTEMPTS","FAST","FAULTS","FIELDS","FILE","FILE_BLOCK_SIZE","FILTER","FINISH","FIRST","FIXED","FLUSH","FOLLOWING","FOLLOWS","FORMAT","FOUND","FULL","GENERAL","GEOMCOLLECTION","GEOMETRY","GEOMETRYCOLLECTION","GET_FORMAT","GET_MASTER_PUBLIC_KEY","GET_SOURCE_PUBLIC_KEY","GLOBAL","GRANTS","GROUP_REPLICATION","GTID_ONLY","HANDLER","HASH","HELP","HISTOGRAM","HISTORY","HOST","HOSTS","HOUR","IDENTIFIED","IGNORE_SERVER_IDS","IMPORT","INACTIVE","INDEXES","INITIAL","INITIAL_SIZE","INITIATE","INSERT_METHOD","INSTALL","INSTANCE","INVISIBLE","INVOKER","IO","IO_THREAD","IPC","ISOLATION","ISSUER","JSON","JSON_VALUE","KEYRING","KEY_BLOCK_SIZE","LANGUAGE","LAST","LEAVES","LESS","LEVEL","LINESTRING","LIST","LOCAL","LOCKED","LOCKS","LOGFILE","LOGS","MASTER","MASTER_AUTO_POSITION","MASTER_COMPRESSION_ALGORITHMS","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_HEARTBEAT_PERIOD","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_PUBLIC_KEY_PATH","MASTER_RETRY_COUNT","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_TLS_CIPHERSUITES","MASTER_TLS_VERSION","MASTER_USER","MASTER_ZSTD_COMPRESSION_LEVEL","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MEMBER","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIGRATE","MINUTE","MIN_ROWS","MODE","MODIFY","MONTH","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","MUTEX","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NCHAR","NDB","NDBCLUSTER","NESTED","NETWORK_NAMESPACE","NEVER","NEW","NEXT","NO","NODEGROUP","NONE","NOWAIT","NO_WAIT","NULLS","NUMBER","NVARCHAR","OFF","OFFSET","OJ","OLD","ONE","ONLY","OPEN","OPTIONAL","OPTIONS","ORDINALITY","ORGANIZATION","OTHERS","OWNER","PACK_KEYS","PAGE","PARSER","PARTIAL","PARTITIONING","PARTITIONS","PASSWORD","PASSWORD_LOCK_TIME","PATH","PERSIST","PERSIST_ONLY","PHASE","PLUGIN","PLUGINS","PLUGIN_DIR","POINT","POLYGON","PORT","PRECEDES","PRECEDING","PREPARE","PRESERVE","PREV","PRIVILEGES","PRIVILEGE_CHECKS_USER","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROXY","QUARTER","QUERY","QUICK","RANDOM","READ_ONLY","REBUILD","RECOVER","REDO_BUFFER_SIZE","REDUNDANT","REFERENCE","REGISTRATION","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELOAD","REMOVE","REORGANIZE","REPAIR","REPEATABLE","REPLICA","REPLICAS","REPLICATE_DO_DB","REPLICATE_DO_TABLE","REPLICATE_IGNORE_DB","REPLICATE_IGNORE_TABLE","REPLICATE_REWRITE_DB","REPLICATE_WILD_DO_TABLE","REPLICATE_WILD_IGNORE_TABLE","REPLICATION","REQUIRE_ROW_FORMAT","REQUIRE_TABLE_PRIMARY_KEY_CHECK","RESET","RESOURCE","RESPECT","RESTART","RESTORE","RESUME","RETAIN","RETURNED_SQLSTATE","RETURNING","RETURNS","REUSE","REVERSE","ROLE","ROLLBACK","ROLLUP","ROTATE","ROUTINE","ROW_COUNT","ROW_FORMAT","RTREE","SAVEPOINT","SCHEDULE","SCHEMA_NAME","SECOND","SECONDARY","SECONDARY_ENGINE","SECONDARY_ENGINE_ATTRIBUTE","SECONDARY_LOAD","SECONDARY_UNLOAD","SECURITY","SERIAL","SERIALIZABLE","SERVER","SESSION","SHARE","SHUTDOWN","SIGNED","SIMPLE","SKIP","SLAVE","SLOW","SNAPSHOT","SOCKET","SOME","SONAME","SOUNDS","SOURCE","SOURCE_AUTO_POSITION","SOURCE_BIND","SOURCE_COMPRESSION_ALGORITHMS","SOURCE_CONNECTION_AUTO_FAILOVER","SOURCE_CONNECT_RETRY","SOURCE_DELAY","SOURCE_HEARTBEAT_PERIOD","SOURCE_HOST","SOURCE_LOG_FILE","SOURCE_LOG_POS","SOURCE_PASSWORD","SOURCE_PORT","SOURCE_PUBLIC_KEY_PATH","SOURCE_RETRY_COUNT","SOURCE_SSL","SOURCE_SSL_CA","SOURCE_SSL_CAPATH","SOURCE_SSL_CERT","SOURCE_SSL_CIPHER","SOURCE_SSL_CRL","SOURCE_SSL_CRLPATH","SOURCE_SSL_KEY","SOURCE_SSL_VERIFY_SERVER_CERT","SOURCE_TLS_CIPHERSUITES","SOURCE_TLS_VERSION","SOURCE_USER","SOURCE_ZSTD_COMPRESSION_LEVEL","SQL_AFTER_GTIDS","SQL_AFTER_MTS_GAPS","SQL_BEFORE_GTIDS","SQL_BUFFER_RESULT","SQL_NO_CACHE","SQL_THREAD","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SRID","STACKED","START","STARTS","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STREAM","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","TABLES","TABLESPACE","TABLE_CHECKSUM","TABLE_NAME","TEMPORARY","TEMPTABLE","TEXT","THAN","THREAD_PRIORITY","TIES","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TLS","TRANSACTION","TRIGGERS","TRUNCATE","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDOFILE","UNDO_BUFFER_SIZE","UNICODE","UNINSTALL","UNKNOWN","UNREGISTER","UNTIL","UPGRADE","USER","USER_RESOURCES","USE_FRM","VALIDATION","VALUE","VARIABLES","VCPU","VIEW","VISIBLE","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WITHOUT","WORK","WRAPPER","X509","XA","XID","XML","YEAR","ZONE"].concat(["ACCESSIBLE","ADD","ALL","ALTER","ANALYZE","AND","AS","ASC","ASENSITIVE","BEFORE","BETWEEN","BIGINT","BINARY","BLOB","BOTH","BY","CALL","CASCADE","CASE","CHANGE","CHAR","CHARACTER","CHECK","COLLATE","COLUMN","CONDITION","CONSTRAINT","CONTINUE","CONVERT","CREATE","CROSS","CUBE","CUME_DIST","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DATABASES","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEC","DECIMAL","DECLARE","DEFAULT","DELAYED","DELETE","DENSE_RANK","DESC","DESCRIBE","DETERMINISTIC","DISTINCT","DISTINCTROW","DIV","DOUBLE","DROP","DUAL","EACH","ELSE","ELSEIF","EMPTY","ENCLOSED","ESCAPED","EXCEPT","EXISTS","EXIT","EXPLAIN","FALSE","FETCH","FIRST_VALUE","FLOAT","FLOAT4","FLOAT8","FOR","FORCE","FOREIGN","FROM","FULLTEXT","FUNCTION","GENERATED","GET","GRANT","GROUP","GROUPING","GROUPS","HAVING","HIGH_PRIORITY","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IF","IGNORE","IN","INDEX","INFILE","INNER","INOUT","INSENSITIVE","INSERT","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERVAL","INTO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IS","ITERATE","JOIN","JSON_TABLE","KEY","KEYS","KILL","LAG","LAST_VALUE","LATERAL","LEAD","LEADING","LEAVE","LEFT","LIKE","LIMIT","LINEAR","LINES","LOAD","LOCALTIME","LOCALTIMESTAMP","LOCK","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER_BIND","MASTER_SSL_VERIFY_SERVER_CERT","MATCH","MAXVALUE","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MIDDLEINT","MINUTE_MICROSECOND","MINUTE_SECOND","MOD","MODIFIES","NATURAL","NOT","NO_WRITE_TO_BINLOG","NTH_VALUE","NTILE","NULL","NUMERIC","OF","ON","OPTIMIZE","OPTIMIZER_COSTS","OPTION","OPTIONALLY","OR","ORDER","OUT","OUTER","OUTFILE","OVER","PARTITION","PERCENT_RANK","PRECISION","PRIMARY","PROCEDURE","PURGE","RANGE","RANK","READ","READS","READ_WRITE","REAL","RECURSIVE","REFERENCES","REGEXP","RELEASE","RENAME","REPEAT","REPLACE","REQUIRE","RESIGNAL","RESTRICT","RETURN","REVOKE","RIGHT","RLIKE","ROW","ROWS","ROW_NUMBER","SCHEMA","SCHEMAS","SECOND_MICROSECOND","SELECT","SENSITIVE","SEPARATOR","SET","SHOW","SIGNAL","SMALLINT","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_BIG_RESULT","SQL_CALC_FOUND_ROWS","SQL_SMALL_RESULT","SSL","STARTING","STORED","STRAIGHT_JOIN","SYSTEM","TABLE","TERMINATED","THEN","TINYBLOB","TINYINT","TINYTEXT","TO","TRAILING","TRIGGER","TRUE","UNDO","UNION","UNIQUE","UNLOCK","UNSIGNED","UPDATE","USAGE","USE","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARYING","VIRTUAL","WHEN","WHERE","WHILE","WINDOW","WITH","WRITE","XOR","YEAR_MONTH","ZEROFILL"]),r={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],wordPattern:/[\w#$]+/i,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},C={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:Array.from(new Set(m)),operators:[":="],builtinVariables:[],builtinFunctions:I.map(E=>E.name),pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@backTick"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"string","@builtinFunctions":"type.identifier","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/#+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],backTick:[[/`/,{token:"identifier.quote",next:"@backTickIdentifiers"}]],backTickIdentifiers:[[/[^`]+/,"string.escape"],[/`/,{token:"identifier.quote",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}};var _=T(5601),i=T(95422);function o(E){a.Mj.register({id:S.$.MySQL}),a.Mj.setMonarchTokensProvider(S.$.MySQL,C),a.Mj.setLanguageConfiguration(S.$.MySQL,r),a.Mj.registerCompletionItemProvider(S.$.MySQL,new L(E)),a.Mj.registerDocumentFormattingEditProvider(S.$.MySQL,new _.m(E,S.$.MySQL)),a.Mj.registerDocumentRangeFormattingEditProvider(S.$.MySQL,new _.X(E,S.$.MySQL)),a.Mj.registerInlineCompletionsProvider(S.$.MySQL,new i.Z(E))}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2398-80f576e59bf84b54.js b/dbgpt/app/static/web/_next/static/chunks/2398-80f576e59bf84b54.js new file mode 100644 index 000000000..b3fa1d6d7 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/2398-80f576e59bf84b54.js @@ -0,0 +1,3 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2398],{24969:function(e,t,n){n.d(t,{Z:function(){return l}});var a=n(87462),o=n(67294),r={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,a.Z)({},e,{ref:t,icon:r}))})},92398:function(e,t,n){n.d(t,{Z:function(){return e_}});var a=n(67294),o=n(97937),r=n(89705),i=n(24969),l=n(93967),c=n.n(l),d=n(87462),s=n(4942),u=n(1413),f=n(97685),v=n(71002),b=n(45987),p=n(21770),m=n(31131),h=(0,a.createContext)(null),g=n(74902),$=n(9220),k=n(66680),y=n(42550),x=n(75164),_=function(e){var t=e.activeTabOffset,n=e.horizontal,o=e.rtl,r=e.indicator,i=void 0===r?{}:r,l=i.size,c=i.align,d=void 0===c?"center":c,s=(0,a.useState)(),u=(0,f.Z)(s,2),v=u[0],b=u[1],p=(0,a.useRef)(),m=a.useCallback(function(e){return"function"==typeof l?l(e):"number"==typeof l?l:e},[l]);function h(){x.Z.cancel(p.current)}return(0,a.useEffect)(function(){var e={};if(t){if(n){e.width=m(t.width);var a=o?"right":"left";"start"===d&&(e[a]=t[a]),"center"===d&&(e[a]=t[a]+t.width/2,e.transform=o?"translateX(50%)":"translateX(-50%)"),"end"===d&&(e[a]=t[a]+t.width,e.transform="translateX(-100%)")}else e.height=m(t.height),"start"===d&&(e.top=t.top),"center"===d&&(e.top=t.top+t.height/2,e.transform="translateY(-50%)"),"end"===d&&(e.top=t.top+t.height,e.transform="translateY(-100%)")}return h(),p.current=(0,x.Z)(function(){b(e)}),h},[t,n,o,d,m]),{style:v}},w={width:0,height:0,left:0,top:0};function S(e,t){var n=a.useRef(e),o=a.useState({}),r=(0,f.Z)(o,2)[1];return[n.current,function(e){var a="function"==typeof e?e(n.current):e;a!==n.current&&t(a,n.current),n.current=a,r({})}]}var E=n(8410);function Z(e){var t=(0,a.useState)(0),n=(0,f.Z)(t,2),o=n[0],r=n[1],i=(0,a.useRef)(0),l=(0,a.useRef)();return l.current=e,(0,E.o)(function(){var e;null===(e=l.current)||void 0===e||e.call(l)},[o]),function(){i.current===o&&(i.current+=1,r(i.current))}}var C={width:0,height:0,left:0,top:0,right:0};function R(e){var t;return e instanceof Map?(t={},e.forEach(function(e,n){t[n]=e})):t=e,JSON.stringify(t)}function P(e){return String(e).replace(/"/g,"TABS_DQ")}function T(e,t,n,a){return!!n&&!a&&!1!==e&&(void 0!==e||!1!==t&&null!==t)}var I=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.editable,r=e.locale,i=e.style;return o&&!1!==o.showAdd?a.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(null==r?void 0:r.addAriaLabel)||"Add tab",onClick:function(e){o.onEdit("add",{event:e})}},o.addIcon||"+"):null}),L=a.forwardRef(function(e,t){var n,o=e.position,r=e.prefixCls,i=e.extra;if(!i)return null;var l={};return"object"!==(0,v.Z)(i)||a.isValidElement(i)?l.right=i:l=i,"right"===o&&(n=l.right),"left"===o&&(n=l.left),n?a.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},n):null}),M=n(29171),N=n(72512),z=n(15105),O=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.id,r=e.tabs,i=e.locale,l=e.mobile,u=e.more,v=void 0===u?{}:u,b=e.style,p=e.className,m=e.editable,h=e.tabBarGutter,g=e.rtl,$=e.removeAriaLabel,k=e.onTabClick,y=e.getPopupContainer,x=e.popupClassName,_=(0,a.useState)(!1),w=(0,f.Z)(_,2),S=w[0],E=w[1],Z=(0,a.useState)(null),C=(0,f.Z)(Z,2),R=C[0],P=C[1],L=v.icon,O=void 0===L?"More":L,B="".concat(o,"-more-popup"),D="".concat(n,"-dropdown"),j=null!==R?"".concat(B,"-").concat(R):null,G=null==i?void 0:i.dropdownAriaLabel,W=a.createElement(N.ZP,{onClick:function(e){k(e.key,e.domEvent),E(!1)},prefixCls:"".concat(D,"-menu"),id:B,tabIndex:-1,role:"listbox","aria-activedescendant":j,selectedKeys:[R],"aria-label":void 0!==G?G:"expanded dropdown"},r.map(function(e){var t=e.closable,n=e.disabled,r=e.closeIcon,i=e.key,l=e.label,c=T(t,r,m,n);return a.createElement(N.sN,{key:i,id:"".concat(B,"-").concat(i),role:"option","aria-controls":o&&"".concat(o,"-panel-").concat(i),disabled:n},a.createElement("span",null,l),c&&a.createElement("button",{type:"button","aria-label":$||"remove",tabIndex:0,className:"".concat(D,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),e.preventDefault(),e.stopPropagation(),m.onEdit("remove",{key:i,event:e})}},r||m.removeIcon||"\xd7"))}));function X(e){for(var t=r.filter(function(e){return!e.disabled}),n=t.findIndex(function(e){return e.key===R})||0,a=t.length,o=0;oMath.abs(l-n)?[l,c,d-t.x,s-t.y]:[n,a,r,o]},G=function(e){var t=e.current||{},n=t.offsetWidth,a=void 0===n?0:n,o=t.offsetHeight;if(e.current){var r=e.current.getBoundingClientRect(),i=r.width,l=r.height;if(1>Math.abs(i-a))return[i,l]}return[a,void 0===o?0:o]},W=function(e,t){return e[t?0:1]},X=a.forwardRef(function(e,t){var n,o,r,i,l,v,b,p,m,x,E,T,M,N,z,O,X,A,H,q,K,F,V,Y,Q,J,U,ee,et,en,ea,eo,er,ei,el,ec,ed,es,eu,ef=e.className,ev=e.style,eb=e.id,ep=e.animated,em=e.activeKey,eh=e.rtl,eg=e.extra,e$=e.editable,ek=e.locale,ey=e.tabPosition,ex=e.tabBarGutter,e_=e.children,ew=e.onTabClick,eS=e.onTabScroll,eE=e.indicator,eZ=a.useContext(h),eC=eZ.prefixCls,eR=eZ.tabs,eP=(0,a.useRef)(null),eT=(0,a.useRef)(null),eI=(0,a.useRef)(null),eL=(0,a.useRef)(null),eM=(0,a.useRef)(null),eN=(0,a.useRef)(null),ez=(0,a.useRef)(null),eO="top"===ey||"bottom"===ey,eB=S(0,function(e,t){eO&&eS&&eS({direction:e>t?"left":"right"})}),eD=(0,f.Z)(eB,2),ej=eD[0],eG=eD[1],eW=S(0,function(e,t){!eO&&eS&&eS({direction:e>t?"top":"bottom"})}),eX=(0,f.Z)(eW,2),eA=eX[0],eH=eX[1],eq=(0,a.useState)([0,0]),eK=(0,f.Z)(eq,2),eF=eK[0],eV=eK[1],eY=(0,a.useState)([0,0]),eQ=(0,f.Z)(eY,2),eJ=eQ[0],eU=eQ[1],e0=(0,a.useState)([0,0]),e1=(0,f.Z)(e0,2),e2=e1[0],e8=e1[1],e9=(0,a.useState)([0,0]),e4=(0,f.Z)(e9,2),e7=e4[0],e6=e4[1],e5=(n=new Map,o=(0,a.useRef)([]),r=(0,a.useState)({}),i=(0,f.Z)(r,2)[1],l=(0,a.useRef)("function"==typeof n?n():n),v=Z(function(){var e=l.current;o.current.forEach(function(t){e=t(e)}),o.current=[],l.current=e,i({})}),[l.current,function(e){o.current.push(e),v()}]),e3=(0,f.Z)(e5,2),te=e3[0],tt=e3[1],tn=(b=eJ[0],(0,a.useMemo)(function(){for(var e=new Map,t=te.get(null===(o=eR[0])||void 0===o?void 0:o.key)||w,n=t.left+t.width,a=0;atu?tu:e}eO&&eh?(ts=0,tu=Math.max(0,to-tc)):(ts=Math.min(0,tc-to),tu=0);var tv=(0,a.useRef)(null),tb=(0,a.useState)(),tp=(0,f.Z)(tb,2),tm=tp[0],th=tp[1];function tg(){th(Date.now())}function t$(){tv.current&&clearTimeout(tv.current)}p=function(e,t){function n(e,t){e(function(e){return tf(e+t)})}return!!tl&&(eO?n(eG,e):n(eH,t),t$(),tg(),!0)},m=(0,a.useState)(),E=(x=(0,f.Z)(m,2))[0],T=x[1],M=(0,a.useState)(0),z=(N=(0,f.Z)(M,2))[0],O=N[1],X=(0,a.useState)(0),H=(A=(0,f.Z)(X,2))[0],q=A[1],K=(0,a.useState)(),V=(F=(0,f.Z)(K,2))[0],Y=F[1],Q=(0,a.useRef)(),J=(0,a.useRef)(),(U=(0,a.useRef)(null)).current={onTouchStart:function(e){var t=e.touches[0];T({x:t.screenX,y:t.screenY}),window.clearInterval(Q.current)},onTouchMove:function(e){if(E){e.preventDefault();var t=e.touches[0],n=t.screenX,a=t.screenY;T({x:n,y:a});var o=n-E.x,r=a-E.y;p(o,r);var i=Date.now();O(i),q(i-z),Y({x:o,y:r})}},onTouchEnd:function(){if(E&&(T(null),Y(null),V)){var e=V.x/H,t=V.y/H;if(!(.1>Math.max(Math.abs(e),Math.abs(t)))){var n=e,a=t;Q.current=window.setInterval(function(){if(.01>Math.abs(n)&&.01>Math.abs(a)){window.clearInterval(Q.current);return}p(20*(n*=.9046104802746175),20*(a*=.9046104802746175))},20)}}},onWheel:function(e){var t=e.deltaX,n=e.deltaY,a=0,o=Math.abs(t),r=Math.abs(n);o===r?a="x"===J.current?t:n:o>r?(a=t,J.current="x"):(a=n,J.current="y"),p(-a,-a)&&e.preventDefault()}},a.useEffect(function(){function e(e){U.current.onTouchMove(e)}function t(e){U.current.onTouchEnd(e)}return document.addEventListener("touchmove",e,{passive:!1}),document.addEventListener("touchend",t,{passive:!0}),eL.current.addEventListener("touchstart",function(e){U.current.onTouchStart(e)},{passive:!0}),eL.current.addEventListener("wheel",function(e){U.current.onWheel(e)},{passive:!1}),function(){document.removeEventListener("touchmove",e),document.removeEventListener("touchend",t)}},[]),(0,a.useEffect)(function(){return t$(),tm&&(tv.current=setTimeout(function(){th(0)},100)),t$},[tm]);var tk=(ee=eO?ej:eA,er=(et=(0,u.Z)((0,u.Z)({},e),{},{tabs:eR})).tabs,ei=et.tabPosition,el=et.rtl,["top","bottom"].includes(ei)?(en="width",ea=el?"right":"left",eo=Math.abs(ee)):(en="height",ea="top",eo=-ee),(0,a.useMemo)(function(){if(!er.length)return[0,0];for(var e=er.length,t=e,n=0;neo+tc){t=n-1;break}}for(var o=0,r=e-1;r>=0;r-=1)if((tn.get(er[r].key)||C)[ea]=t?[0,0]:[o,t]},[tn,tc,to,tr,ti,eo,ei,er.map(function(e){return e.key}).join("_"),el])),ty=(0,f.Z)(tk,2),tx=ty[0],t_=ty[1],tw=(0,k.Z)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:em,t=tn.get(e)||{width:0,height:0,left:0,right:0,top:0};if(eO){var n=ej;eh?t.rightej+tc&&(n=t.right+t.width-tc):t.left<-ej?n=-t.left:t.left+t.width>-ej+tc&&(n=-(t.left+t.width-tc)),eH(0),eG(tf(n))}else{var a=eA;t.top<-eA?a=-t.top:t.top+t.height>-eA+tc&&(a=-(t.top+t.height-tc)),eG(0),eH(tf(a))}}),tS={};"top"===ey||"bottom"===ey?tS[eh?"marginRight":"marginLeft"]=ex:tS.marginTop=ex;var tE=eR.map(function(e,t){var n=e.key;return a.createElement(D,{id:eb,prefixCls:eC,key:n,tab:e,style:0===t?void 0:tS,closable:e.closable,editable:e$,active:n===em,renderWrapper:e_,removeAriaLabel:null==ek?void 0:ek.removeAriaLabel,onClick:function(e){ew(n,e)},onFocus:function(){tw(n),tg(),eL.current&&(eh||(eL.current.scrollLeft=0),eL.current.scrollTop=0)}})}),tZ=function(){return tt(function(){var e,t=new Map,n=null===(e=eM.current)||void 0===e?void 0:e.getBoundingClientRect();return eR.forEach(function(e){var a,o=e.key,r=null===(a=eM.current)||void 0===a?void 0:a.querySelector('[data-node-key="'.concat(P(o),'"]'));if(r){var i=j(r,n),l=(0,f.Z)(i,4),c=l[0],d=l[1],s=l[2],u=l[3];t.set(o,{width:c,height:d,left:s,top:u})}}),t})};(0,a.useEffect)(function(){tZ()},[eR.map(function(e){return e.key}).join("_")]);var tC=Z(function(){var e=G(eP),t=G(eT),n=G(eI);eV([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var a=G(ez);e8(a),e6(G(eN));var o=G(eM);eU([o[0]-a[0],o[1]-a[1]]),tZ()}),tR=eR.slice(0,tx),tP=eR.slice(t_+1),tT=[].concat((0,g.Z)(tR),(0,g.Z)(tP)),tI=tn.get(em),tL=_({activeTabOffset:tI,horizontal:eO,indicator:eE,rtl:eh}).style;(0,a.useEffect)(function(){tw()},[em,ts,tu,R(tI),R(tn),eO]),(0,a.useEffect)(function(){tC()},[eh]);var tM=!!tT.length,tN="".concat(eC,"-nav-wrap");return eO?eh?(ed=ej>0,ec=ej!==tu):(ec=ej<0,ed=ej!==ts):(es=eA<0,eu=eA!==ts),a.createElement($.Z,{onResize:tC},a.createElement("div",{ref:(0,y.x1)(t,eP),role:"tablist",className:c()("".concat(eC,"-nav"),ef),style:ev,onKeyDown:function(){tg()}},a.createElement(L,{ref:eT,position:"left",extra:eg,prefixCls:eC}),a.createElement($.Z,{onResize:tC},a.createElement("div",{className:c()(tN,(0,s.Z)((0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(tN,"-ping-left"),ec),"".concat(tN,"-ping-right"),ed),"".concat(tN,"-ping-top"),es),"".concat(tN,"-ping-bottom"),eu)),ref:eL},a.createElement($.Z,{onResize:tC},a.createElement("div",{ref:eM,className:"".concat(eC,"-nav-list"),style:{transform:"translate(".concat(ej,"px, ").concat(eA,"px)"),transition:tm?"none":void 0}},tE,a.createElement(I,{ref:ez,prefixCls:eC,locale:ek,editable:e$,style:(0,u.Z)((0,u.Z)({},0===tE.length?void 0:tS),{},{visibility:tM?"hidden":null})}),a.createElement("div",{className:c()("".concat(eC,"-ink-bar"),(0,s.Z)({},"".concat(eC,"-ink-bar-animated"),ep.inkBar)),style:tL}))))),a.createElement(B,(0,d.Z)({},e,{removeAriaLabel:null==ek?void 0:ek.removeAriaLabel,ref:eN,prefixCls:eC,tabs:tT,className:!tM&&td,tabMoving:!!tm})),a.createElement(L,{ref:eI,position:"right",extra:eg,prefixCls:eC})))}),A=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.className,r=e.style,i=e.id,l=e.active,d=e.tabKey,s=e.children;return a.createElement("div",{id:i&&"".concat(i,"-panel-").concat(d),role:"tabpanel",tabIndex:l?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(d),"aria-hidden":!l,style:r,className:c()(n,l&&"".concat(n,"-active"),o),ref:t},s)}),H=["renderTabBar"],q=["label","key"],K=function(e){var t=e.renderTabBar,n=(0,b.Z)(e,H),o=a.useContext(h).tabs;return t?t((0,u.Z)((0,u.Z)({},n),{},{panes:o.map(function(e){var t=e.label,n=e.key,o=(0,b.Z)(e,q);return a.createElement(A,(0,d.Z)({tab:t,key:n,tabKey:n},o))})}),X):a.createElement(X,n)},F=n(29372),V=["key","forceRender","style","className","destroyInactiveTabPane"],Y=function(e){var t=e.id,n=e.activeKey,o=e.animated,r=e.tabPosition,i=e.destroyInactiveTabPane,l=a.useContext(h),f=l.prefixCls,v=l.tabs,p=o.tabPane,m="".concat(f,"-tabpane");return a.createElement("div",{className:c()("".concat(f,"-content-holder"))},a.createElement("div",{className:c()("".concat(f,"-content"),"".concat(f,"-content-").concat(r),(0,s.Z)({},"".concat(f,"-content-animated"),p))},v.map(function(e){var r=e.key,l=e.forceRender,s=e.style,f=e.className,v=e.destroyInactiveTabPane,h=(0,b.Z)(e,V),g=r===n;return a.createElement(F.ZP,(0,d.Z)({key:r,visible:g,forceRender:l,removeOnLeave:!!(i||v),leavedClassName:"".concat(m,"-hidden")},o.tabPaneMotion),function(e,n){var o=e.style,i=e.className;return a.createElement(A,(0,d.Z)({},h,{prefixCls:m,id:t,tabKey:r,animated:p,active:g,style:(0,u.Z)((0,u.Z)({},s),o),className:c()(f,i),ref:n}))})})))};n(80334);var Q=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],J=0,U=a.forwardRef(function(e,t){var n=e.id,o=e.prefixCls,r=void 0===o?"rc-tabs":o,i=e.className,l=e.items,g=e.direction,$=e.activeKey,k=e.defaultActiveKey,y=e.editable,x=e.animated,_=e.tabPosition,w=void 0===_?"top":_,S=e.tabBarGutter,E=e.tabBarStyle,Z=e.tabBarExtraContent,C=e.locale,R=e.more,P=e.destroyInactiveTabPane,T=e.renderTabBar,I=e.onChange,L=e.onTabClick,M=e.onTabScroll,N=e.getPopupContainer,z=e.popupClassName,O=e.indicator,B=(0,b.Z)(e,Q),D=a.useMemo(function(){return(l||[]).filter(function(e){return e&&"object"===(0,v.Z)(e)&&"key"in e})},[l]),j="rtl"===g,G=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,u.Z)({inkBar:!0},"object"===(0,v.Z)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(x),W=(0,a.useState)(!1),X=(0,f.Z)(W,2),A=X[0],H=X[1];(0,a.useEffect)(function(){H((0,m.Z)())},[]);var q=(0,p.Z)(function(){var e;return null===(e=D[0])||void 0===e?void 0:e.key},{value:$,defaultValue:k}),F=(0,f.Z)(q,2),V=F[0],U=F[1],ee=(0,a.useState)(function(){return D.findIndex(function(e){return e.key===V})}),et=(0,f.Z)(ee,2),en=et[0],ea=et[1];(0,a.useEffect)(function(){var e,t=D.findIndex(function(e){return e.key===V});-1===t&&(t=Math.max(0,Math.min(en,D.length-1)),U(null===(e=D[t])||void 0===e?void 0:e.key)),ea(t)},[D.map(function(e){return e.key}).join("_"),V,en]);var eo=(0,p.Z)(null,{value:n}),er=(0,f.Z)(eo,2),ei=er[0],el=er[1];(0,a.useEffect)(function(){n||(el("rc-tabs-".concat(J)),J+=1)},[]);var ec={id:ei,activeKey:V,animated:G,tabPosition:w,rtl:j,mobile:A},ed=(0,u.Z)((0,u.Z)({},ec),{},{editable:y,locale:C,more:R,tabBarGutter:S,onTabClick:function(e,t){null==L||L(e,t);var n=e!==V;U(e),n&&(null==I||I(e))},onTabScroll:M,extra:Z,style:E,panes:null,getPopupContainer:N,popupClassName:z,indicator:O});return a.createElement(h.Provider,{value:{tabs:D,prefixCls:r}},a.createElement("div",(0,d.Z)({ref:t,id:n,className:c()(r,"".concat(r,"-").concat(w),(0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(r,"-mobile"),A),"".concat(r,"-editable"),y),"".concat(r,"-rtl"),j),i)},B),a.createElement(K,(0,d.Z)({},ed,{renderTabBar:T})),a.createElement(Y,(0,d.Z)({destroyInactiveTabPane:P},ec,{animated:G}))))}),ee=n(53124),et=n(35792),en=n(98675),ea=n(33603);let eo={motionAppear:!1,motionEnter:!0,motionLeave:!0};var er=n(50344),ei=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n},el=n(25446),ec=n(14747),ed=n(83559),es=n(83262),eu=n(67771),ef=e=>{let{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[(0,eu.oN)(e,"slide-up"),(0,eu.oN)(e,"slide-down")]]};let ev=e=>{let{componentCls:t,tabsCardPadding:n,cardBg:a,cardGutter:o,colorBorderSecondary:r,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:a,border:`${(0,el.bf)(e.lineWidth)} ${e.lineType} ${r}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,el.bf)(o)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,el.bf)(e.borderRadiusLG)} ${(0,el.bf)(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,el.bf)(e.borderRadiusLG)} ${(0,el.bf)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,el.bf)(o)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,el.bf)(e.borderRadiusLG)} 0 0 ${(0,el.bf)(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,el.bf)(e.borderRadiusLG)} ${(0,el.bf)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},eb=e=>{let{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:a}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,ec.Wf)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${(0,el.bf)(a)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},ec.vS),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,el.bf)(e.paddingXXS)} ${(0,el.bf)(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},ep=e=>{let{componentCls:t,margin:n,colorBorderSecondary:a,horizontalMargin:o,verticalItemPadding:r,verticalItemMargin:i,calc:l}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,el.bf)(e.lineWidth)} ${e.lineType} ${a}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, + right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, + > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:l(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:r,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,el.bf)(l(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,el.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:l(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,el.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},em=e=>{let{componentCls:t,cardPaddingSM:n,cardPaddingLG:a,horizontalItemPaddingSM:o,horizontalItemPaddingLG:r}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${(0,el.bf)(e.borderRadius)} ${(0,el.bf)(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${(0,el.bf)(e.borderRadius)} ${(0,el.bf)(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,el.bf)(e.borderRadius)} ${(0,el.bf)(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,el.bf)(e.borderRadius)} 0 0 ${(0,el.bf)(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a}}}}}},eh=e=>{let{componentCls:t,itemActiveColor:n,itemHoverColor:a,iconCls:o,tabsHorizontalItemMargin:r,horizontalItemPadding:i,itemSelectedColor:l,itemColor:c}=e,d=`${t}-tab`;return{[d]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},(0,ec.Qy)(e)),"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${d}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:a},[`&${d}-active ${d}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${d}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${d}-disabled ${d}-btn, &${d}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${d}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${d} + ${d}`]:{margin:{_skip_check_:!0,value:r}}}},eg=e=>{let{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:a,cardGutter:o,calc:r}=e,i=`${t}-rtl`;return{[i]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[a]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,el.bf)(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,el.bf)(e.marginXS)},marginLeft:{_skip_check_:!0,value:(0,el.bf)(r(e.marginXXS).mul(-1).equal())},[a]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},e$=e=>{let{componentCls:t,tabsCardPadding:n,cardHeight:a,cardGutter:o,itemHoverColor:r,itemActiveColor:i,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ec.Wf)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:a,minHeight:a,marginLeft:{_skip_check_:!0,value:o},padding:`0 ${(0,el.bf)(e.paddingXS)}`,background:"transparent",border:`${(0,el.bf)(e.lineWidth)} ${e.lineType} ${l}`,borderRadius:`${(0,el.bf)(e.borderRadiusLG)} ${(0,el.bf)(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:r},"&:active, &:focus:not(:focus-visible)":{color:i}},(0,ec.Qy)(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),eh(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var ek=(0,ed.I$)("Tabs",e=>{let t=(0,es.IX)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,el.bf)(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,el.bf)(e.horizontalItemGutter)}`});return[em(t),eg(t),ep(t),eb(t),ev(t),e$(t),ef(t)]},e=>{let t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}),ey=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let ex=e=>{var t,n,l,d,s,u,f,v,b,p,m;let h;let{type:g,className:$,rootClassName:k,size:y,onEdit:x,hideAdd:_,centered:w,addIcon:S,removeIcon:E,moreIcon:Z,more:C,popupClassName:R,children:P,items:T,animated:I,style:L,indicatorSize:M,indicator:N}=e,z=ey(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:O}=z,{direction:B,tabs:D,getPrefixCls:j,getPopupContainer:G}=a.useContext(ee.E_),W=j("tabs",O),X=(0,et.Z)(W),[A,H,q]=ek(W,X);"editable-card"===g&&(h={onEdit:(e,t)=>{let{key:n,event:a}=t;null==x||x("add"===e?a:n,e)},removeIcon:null!==(t=null!=E?E:null==D?void 0:D.removeIcon)&&void 0!==t?t:a.createElement(o.Z,null),addIcon:(null!=S?S:null==D?void 0:D.addIcon)||a.createElement(i.Z,null),showAdd:!0!==_});let K=j(),F=(0,en.Z)(y),V=function(e,t){if(e)return e;let n=(0,er.Z)(t).map(e=>{if(a.isValidElement(e)){let{key:t,props:n}=e,a=n||{},{tab:o}=a,r=ei(a,["tab"]),i=Object.assign(Object.assign({key:String(t)},r),{label:o});return i}return null});return n.filter(e=>e)}(T,P),Y=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{})).tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},eo),{motionName:(0,ea.m)(e,"switch")})),t}(W,I),Q=Object.assign(Object.assign({},null==D?void 0:D.style),L),J={align:null!==(n=null==N?void 0:N.align)&&void 0!==n?n:null===(l=null==D?void 0:D.indicator)||void 0===l?void 0:l.align,size:null!==(f=null!==(s=null!==(d=null==N?void 0:N.size)&&void 0!==d?d:M)&&void 0!==s?s:null===(u=null==D?void 0:D.indicator)||void 0===u?void 0:u.size)&&void 0!==f?f:null==D?void 0:D.indicatorSize};return A(a.createElement(U,Object.assign({direction:B,getPopupContainer:G},z,{items:V,className:c()({[`${W}-${F}`]:F,[`${W}-card`]:["card","editable-card"].includes(g),[`${W}-editable-card`]:"editable-card"===g,[`${W}-centered`]:w},null==D?void 0:D.className,$,k,H,q,X),popupClassName:c()(R,H,q,X),style:Q,editable:h,more:Object.assign({icon:null!==(m=null!==(p=null!==(b=null===(v=null==D?void 0:D.more)||void 0===v?void 0:v.icon)&&void 0!==b?b:null==D?void 0:D.moreIcon)&&void 0!==p?p:Z)&&void 0!==m?m:a.createElement(r.Z,null),transitionName:`${K}-slide-up`},C),prefixCls:W,animated:Y,indicator:J})))};ex.TabPane=()=>null;var e_=ex}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/242-78fac58777b2bfcd.js b/dbgpt/app/static/web/_next/static/chunks/242-78fac58777b2bfcd.js deleted file mode 100644 index 5af1aebaf..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/242-78fac58777b2bfcd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[242,4257,2500,7399,8538,2524,2293,7209],{39055:function(e,t){t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"}},91321:function(e,t,r){r.d(t,{Z:function(){return f}});var n=r(87462),l=r(45987),o=r(67294),a=r(16165),c=["type","children"],i=new Set;function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e[t];if("string"==typeof r&&r.length&&!i.has(r)){var n=document.createElement("script");n.setAttribute("src",r),n.setAttribute("data-namespace",r),e.length>t+1&&(n.onload=function(){s(e,t+1)},n.onerror=function(){s(e,t+1)}),i.add(r),document.body.appendChild(n)}}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,r=e.extraCommonProps,i=void 0===r?{}:r;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?s(t.reverse()):s([t]));var f=o.forwardRef(function(e,t){var r=e.type,s=e.children,f=(0,l.Z)(e,c),u=null;return e.type&&(u=o.createElement("use",{xlinkHref:"#".concat(r)})),s&&(u=s),o.createElement(a.Z,(0,n.Z)({},i,f,{ref:t}),u)});return f.displayName="Iconfont",f}},52645:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),l=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},15381:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),l=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},58638:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),l=r(67294),o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},83266:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),l=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},65429:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),l=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},79090:function(e,t,r){var n=r(87462),l=r(67294),o=r(15294),a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o.Z}))});t.Z=c},30159:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),l=r(67294),o={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},87740:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),l=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},27496:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),l=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},41441:function(e,t,r){var n=r(87462),l=r(67294),o=r(39055),a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o.Z}))});t.Z=c},2093:function(e,t,r){var n=r(97582),l=r(67294),o=r(92770);t.Z=function(e,t){(0,l.useEffect)(function(){var t=e(),r=!1;return!function(){(0,n.mG)(this,void 0,void 0,function(){return(0,n.Jh)(this,function(e){switch(e.label){case 0:if(!(0,o.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||r)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){r=!0}},t)}},86250:function(e,t,r){r.d(t,{Z:function(){return j}});var n=r(67294),l=r(93967),o=r.n(l),a=r(98423),c=r(98065),i=r(53124),s=r(83559),f=r(87893);let u=["wrap","nowrap","wrap-reverse"],d=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],p=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],g=(e,t)=>{let r=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${r}`]:r&&u.includes(r)}},m=(e,t)=>{let r={};return p.forEach(n=>{r[`${e}-align-${n}`]=t.align===n}),r[`${e}-align-stretch`]=!t.align&&!!t.vertical,r},h=(e,t)=>{let r={};return d.forEach(n=>{r[`${e}-justify-${n}`]=t.justify===n}),r},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},v=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},$=e=>{let{componentCls:t}=e,r={};return u.forEach(e=>{r[`${t}-wrap-${e}`]={flexWrap:e}}),r},y=e=>{let{componentCls:t}=e,r={};return p.forEach(e=>{r[`${t}-align-${e}`]={alignItems:e}}),r},x=e=>{let{componentCls:t}=e,r={};return d.forEach(e=>{r[`${t}-justify-${e}`]={justifyContent:e}}),r};var C=(0,s.I$)("Flex",e=>{let{paddingXS:t,padding:r,paddingLG:n}=e,l=(0,f.IX)(e,{flexGapSM:t,flexGap:r,flexGapLG:n});return[b(l),v(l),$(l),y(l),x(l)]},()=>({}),{resetStyle:!1}),w=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,n=Object.getOwnPropertySymbols(e);lt.indexOf(n[l])&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r};let O=n.forwardRef((e,t)=>{let{prefixCls:r,rootClassName:l,className:s,style:f,flex:u,gap:d,children:p,vertical:b=!1,component:v="div"}=e,$=w(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:y,direction:x,getPrefixCls:O}=n.useContext(i.E_),j=O("flex",r),[E,Z,S]=C(j),k=null!=b?b:null==y?void 0:y.vertical,H=o()(s,l,null==y?void 0:y.className,j,Z,S,o()(Object.assign(Object.assign(Object.assign({},g(j,e)),m(j,e)),h(j,e))),{[`${j}-rtl`]:"rtl"===x,[`${j}-gap-${d}`]:(0,c.n)(d),[`${j}-vertical`]:k}),I=Object.assign(Object.assign({},null==y?void 0:y.style),f);return u&&(I.flex=u),d&&!(0,c.n)(d)&&(I.gap=d),E(n.createElement(v,Object.assign({ref:t,className:H,style:I},(0,a.Z)($,["justify","wrap","align"])),p))});var j=O},99134:function(e,t,r){var n=r(67294);let l=(0,n.createContext)({});t.Z=l},21584:function(e,t,r){var n=r(67294),l=r(93967),o=r.n(l),a=r(53124),c=r(99134),i=r(6999),s=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,n=Object.getOwnPropertySymbols(e);lt.indexOf(n[l])&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r};function f(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let u=["xs","sm","md","lg","xl","xxl"],d=n.forwardRef((e,t)=>{let{getPrefixCls:r,direction:l}=n.useContext(a.E_),{gutter:d,wrap:p}=n.useContext(c.Z),{prefixCls:g,span:m,order:h,offset:b,push:v,pull:$,className:y,children:x,flex:C,style:w}=e,O=s(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),j=r("col",g),[E,Z,S]=(0,i.cG)(j),k={},H={};u.forEach(t=>{let r={},n=e[t];"number"==typeof n?r.span=n:"object"==typeof n&&(r=n||{}),delete O[t],H=Object.assign(Object.assign({},H),{[`${j}-${t}-${r.span}`]:void 0!==r.span,[`${j}-${t}-order-${r.order}`]:r.order||0===r.order,[`${j}-${t}-offset-${r.offset}`]:r.offset||0===r.offset,[`${j}-${t}-push-${r.push}`]:r.push||0===r.push,[`${j}-${t}-pull-${r.pull}`]:r.pull||0===r.pull,[`${j}-rtl`]:"rtl"===l}),r.flex&&(H[`${j}-${t}-flex`]=!0,k[`--${j}-${t}-flex`]=f(r.flex))});let I=o()(j,{[`${j}-${m}`]:void 0!==m,[`${j}-order-${h}`]:h,[`${j}-offset-${b}`]:b,[`${j}-push-${v}`]:v,[`${j}-pull-${$}`]:$},y,H,Z,S),M={};if(d&&d[0]>0){let e=d[0]/2;M.paddingLeft=e,M.paddingRight=e}return C&&(M.flex=f(C),!1!==p||M.minWidth||(M.minWidth=0)),E(n.createElement("div",Object.assign({},O,{style:Object.assign(Object.assign(Object.assign({},M),w),k),className:I,ref:t}),x))});t.Z=d},92820:function(e,t,r){var n=r(67294),l=r(93967),o=r.n(l),a=r(74443),c=r(53124),i=r(99134),s=r(6999),f=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,n=Object.getOwnPropertySymbols(e);lt.indexOf(n[l])&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r};function u(e,t){let[r,l]=n.useState("string"==typeof e?e:""),o=()=>{if("string"==typeof e&&l(e),"object"==typeof e)for(let r=0;r{o()},[JSON.stringify(e),t]),r}let d=n.forwardRef((e,t)=>{let{prefixCls:r,justify:l,align:d,className:p,style:g,children:m,gutter:h=0,wrap:b}=e,v=f(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:$,direction:y}=n.useContext(c.E_),[x,C]=n.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[w,O]=n.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),j=u(d,w),E=u(l,w),Z=n.useRef(h),S=(0,a.ZP)();n.useEffect(()=>{let e=S.subscribe(e=>{O(e);let t=Z.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&C(e)});return()=>S.unsubscribe(e)},[]);let k=$("row",r),[H,I,M]=(0,s.VM)(k),z=(()=>{let e=[void 0,void 0],t=Array.isArray(h)?h:[h,void 0];return t.forEach((t,r)=>{if("object"==typeof t)for(let n=0;n0?-(z[0]/2):void 0;R&&(N.marginLeft=R,N.marginRight=R);let[B,V]=z;N.rowGap=V;let L=n.useMemo(()=>({gutter:[B,V],wrap:b}),[B,V,b]);return H(n.createElement(i.Z.Provider,{value:L},n.createElement("div",Object.assign({},v,{className:P,style:Object.assign(Object.assign({},N),g),ref:t}),m)))});t.Z=d},6999:function(e,t,r){r.d(t,{VM:function(){return f},cG:function(){return u}});var n=r(47648),l=r(83559),o=r(87893);let a=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},c=(e,t)=>{let{prefixCls:r,componentCls:n,gridColumns:l}=e,o={};for(let e=l;e>=0;e--)0===e?(o[`${n}${t}-${e}`]={display:"none"},o[`${n}-push-${e}`]={insetInlineStart:"auto"},o[`${n}-pull-${e}`]={insetInlineEnd:"auto"},o[`${n}${t}-push-${e}`]={insetInlineStart:"auto"},o[`${n}${t}-pull-${e}`]={insetInlineEnd:"auto"},o[`${n}${t}-offset-${e}`]={marginInlineStart:0},o[`${n}${t}-order-${e}`]={order:0}):(o[`${n}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/l*100}%`,maxWidth:`${e/l*100}%`}],o[`${n}${t}-push-${e}`]={insetInlineStart:`${e/l*100}%`},o[`${n}${t}-pull-${e}`]={insetInlineEnd:`${e/l*100}%`},o[`${n}${t}-offset-${e}`]={marginInlineStart:`${e/l*100}%`},o[`${n}${t}-order-${e}`]={order:e});return o[`${n}${t}-flex`]={flex:`var(--${r}${t}-flex)`},o},i=(e,t)=>c(e,t),s=(e,t,r)=>({[`@media (min-width: ${(0,n.bf)(t)})`]:Object.assign({},i(e,r))}),f=(0,l.I$)("Grid",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"}}}},()=>({})),u=(0,l.I$)("Grid",e=>{let t=(0,o.IX)(e,{gridColumns:24}),r={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[a(t),i(t,""),i(t,"-xs"),Object.keys(r).map(e=>s(t,r[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},66309:function(e,t,r){r.d(t,{Z:function(){return H}});var n=r(67294),l=r(93967),o=r.n(l),a=r(98423),c=r(98787),i=r(69760),s=r(96159),f=r(45353),u=r(53124),d=r(47648),p=r(10274),g=r(14747),m=r(87893),h=r(83559);let b=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:l,calc:o}=e,a=o(n).sub(r).equal(),c=o(t).sub(r).equal();return{[l]:Object.assign(Object.assign({},(0,g.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,d.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${l}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${l}-close-icon`]:{marginInlineStart:c,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${l}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${l}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${l}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{let{lineWidth:t,fontSizeIcon:r,calc:n}=e,l=e.fontSizeSM,o=(0,m.IX)(e,{tagFontSize:l,tagLineHeight:(0,d.bf)(n(e.lineHeightSM).mul(l).equal()),tagIconSize:n(r).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return o},$=e=>({defaultBg:new p.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,h.I$)("Tag",e=>{let t=v(e);return b(t)},$),x=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,n=Object.getOwnPropertySymbols(e);lt.indexOf(n[l])&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r};let C=n.forwardRef((e,t)=>{let{prefixCls:r,style:l,className:a,checked:c,onChange:i,onClick:s}=e,f=x(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:d,tag:p}=n.useContext(u.E_),g=d("tag",r),[m,h,b]=y(g),v=o()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:c},null==p?void 0:p.className,a,h,b);return m(n.createElement("span",Object.assign({},f,{ref:t,style:Object.assign(Object.assign({},l),null==p?void 0:p.style),className:v,onClick:e=>{null==i||i(!c),null==s||s(e)}})))});var w=r(98719);let O=e=>(0,w.Z)(e,(t,r)=>{let{textColor:n,lightBorderColor:l,lightColor:o,darkColor:a}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:o,borderColor:l,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var j=(0,h.bk)(["Tag","preset"],e=>{let t=v(e);return O(t)},$);let E=(e,t,r)=>{let n=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Z=(0,h.bk)(["Tag","status"],e=>{let t=v(e);return[E(t,"success","Success"),E(t,"processing","Info"),E(t,"error","Error"),E(t,"warning","Warning")]},$),S=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,n=Object.getOwnPropertySymbols(e);lt.indexOf(n[l])&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r};let k=n.forwardRef((e,t)=>{let{prefixCls:r,className:l,rootClassName:d,style:p,children:g,icon:m,color:h,onClose:b,bordered:v=!0,visible:$}=e,x=S(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:C,direction:w,tag:O}=n.useContext(u.E_),[E,k]=n.useState(!0),H=(0,a.Z)(x,["closeIcon","closable"]);n.useEffect(()=>{void 0!==$&&k($)},[$]);let I=(0,c.o2)(h),M=(0,c.yT)(h),z=I||M,P=Object.assign(Object.assign({backgroundColor:h&&!z?h:void 0},null==O?void 0:O.style),p),N=C("tag",r),[R,B,V]=y(N),L=o()(N,null==O?void 0:O.className,{[`${N}-${h}`]:z,[`${N}-has-color`]:h&&!z,[`${N}-hidden`]:!E,[`${N}-rtl`]:"rtl"===w,[`${N}-borderless`]:!v},l,d,B,V),G=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||k(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)(O),{closable:!1,closeIconRender:e=>{let t=n.createElement("span",{className:`${N}-close-icon`,onClick:G},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var r;null===(r=null==e?void 0:e.onClick)||void 0===r||r.call(e,t),G(t)},className:o()(null==e?void 0:e.className,`${N}-close-icon`)}))}}),T="function"==typeof x.onClick||g&&"a"===g.type,W=m||null,_=W?n.createElement(n.Fragment,null,W,g&&n.createElement("span",null,g)):g,X=n.createElement("span",Object.assign({},H,{ref:t,className:L,style:P}),_,A,I&&n.createElement(j,{key:"preset",prefixCls:N}),M&&n.createElement(Z,{key:"status",prefixCls:N}));return R(T?n.createElement(f.Z,{component:"Tag"},X):X)});k.CheckableTag=C;var H=k}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/245-e035ffa3e6f9184e.js b/dbgpt/app/static/web/_next/static/chunks/245-e035ffa3e6f9184e.js deleted file mode 100644 index 0bf44e4ee..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/245-e035ffa3e6f9184e.js +++ /dev/null @@ -1,13 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[245,4393,2500,7399,8538,2524,2293,7209],{39055:function(e,t){t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"}},91321:function(e,t,r){r.d(t,{Z:function(){return d}});var n=r(87462),a=r(45987),o=r(67294),l=r(16165),i=["type","children"],c=new Set;function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e[t];if("string"==typeof r&&r.length&&!c.has(r)){var n=document.createElement("script");n.setAttribute("src",r),n.setAttribute("data-namespace",r),e.length>t+1&&(n.onload=function(){s(e,t+1)},n.onerror=function(){s(e,t+1)}),c.add(r),document.body.appendChild(n)}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,r=e.extraCommonProps,c=void 0===r?{}:r;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?s(t.reverse()):s([t]));var d=o.forwardRef(function(e,t){var r=e.type,s=e.children,d=(0,a.Z)(e,i),u=null;return e.type&&(u=o.createElement("use",{xlinkHref:"#".concat(r)})),s&&(u=s),o.createElement(l.Z,(0,n.Z)({},c,d,{ref:t}),u)});return d.displayName="Iconfont",d}},52645:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},58638:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},83266:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},79090:function(e,t,r){var n=r(87462),a=r(67294),o=r(15294),l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o.Z}))});t.Z=i},3089:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},30159:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(87462),a=r(67294),o={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},51042:function(e,t,r){var n=r(87462),a=r(67294),o=r(42110),l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o.Z}))});t.Z=i},87740:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},40110:function(e,t,r){var n=r(87462),a=r(67294),o=r(509),l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o.Z}))});t.Z=i},27496:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},41441:function(e,t,r){var n=r(87462),a=r(67294),o=r(39055),l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o.Z}))});t.Z=i},2093:function(e,t,r){var n=r(97582),a=r(67294),o=r(92770);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),r=!1;return!function(){(0,n.mG)(this,void 0,void 0,function(){return(0,n.Jh)(this,function(e){switch(e.label){case 0:if(!(0,o.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||r)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){r=!0}},t)}},85673:function(e,t,r){r.d(t,{Z:function(){return z}});var n=r(67294),a=r(93967),o=r.n(a),l=r(50344),i=r(64217),c=r(96159),s=r(53124),d=r(13622),u=r(1203);let f=e=>{let{children:t}=e,{getPrefixCls:r}=n.useContext(s.E_),a=r("breadcrumb");return n.createElement("li",{className:`${a}-separator`,"aria-hidden":"true"},""===t?t:t||"/")};f.__ANT_BREADCRUMB_SEPARATOR=!0;var p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};function g(e,t,r,a){if(null==r)return null;let{className:l,onClick:c}=t,s=p(t,["className","onClick"]),d=Object.assign(Object.assign({},(0,i.Z)(s,{data:!0,aria:!0})),{onClick:c});return void 0!==a?n.createElement("a",Object.assign({},d,{className:o()(`${e}-link`,l),href:a}),r):n.createElement("span",Object.assign({},d,{className:o()(`${e}-link`,l)}),r)}var b=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let m=e=>{let{prefixCls:t,separator:r="/",children:a,menu:o,overlay:l,dropdownProps:i,href:c}=e,s=(e=>{if(o||l){let r=Object.assign({},i);if(o){let e=o||{},{items:t}=e,a=b(e,["items"]);r.menu=Object.assign(Object.assign({},a),{items:null==t?void 0:t.map((e,t)=>{var{key:r,title:a,label:o,path:l}=e,i=b(e,["key","title","label","path"]);let s=null!=o?o:a;return l&&(s=n.createElement("a",{href:`${c}${l}`},s)),Object.assign(Object.assign({},i),{key:null!=r?r:t,label:s})})})}else l&&(r.overlay=l);return n.createElement(u.Z,Object.assign({placement:"bottom"},r),n.createElement("span",{className:`${t}-overlay-link`},e,n.createElement(d.Z,null)))}return e})(a);return null!=s?n.createElement(n.Fragment,null,n.createElement("li",null,s),r&&n.createElement(f,null,r)):null},h=e=>{let{prefixCls:t,children:r,href:a}=e,o=b(e,["prefixCls","children","href"]),{getPrefixCls:l}=n.useContext(s.E_),i=l("breadcrumb",t);return n.createElement(m,Object.assign({},o,{prefixCls:i}),g(i,o,r,a))};h.__ANT_BREADCRUMB_ITEM=!0;var v=r(47648),y=r(14747),$=r(83559),O=r(87893);let x=e=>{let{componentCls:t,iconCls:r,calc:n}=e;return{[t]:Object.assign(Object.assign({},(0,y.Wf)(e)),{color:e.itemColor,fontSize:e.fontSize,[r]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${(0,v.bf)(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:n(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},(0,y.Qy)(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[` - > ${r} + span, - > ${r} + a - `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${(0,v.bf)(e.paddingXXS)}`,marginInline:n(e.marginXXS).mul(-1).equal(),[`> ${r}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}};var S=(0,$.I$)("Breadcrumb",e=>{let t=(0,O.IX)(e,{});return x(t)},e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS})),j=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};function C(e){let{breadcrumbName:t,children:r}=e,n=j(e,["breadcrumbName","children"]),a=Object.assign({title:t},n);return r&&(a.menu={items:r.map(e=>{var{breadcrumbName:t}=e;return Object.assign(Object.assign({},j(e,["breadcrumbName"])),{title:t})})}),a}var w=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let E=(e,t)=>{if(void 0===t)return t;let r=(t||"").replace(/^\//,"");return Object.keys(e).forEach(t=>{r=r.replace(`:${t}`,e[t])}),r},k=e=>{let t;let{prefixCls:r,separator:a="/",style:d,className:u,rootClassName:p,routes:b,items:h,children:v,itemRender:y,params:$={}}=e,O=w(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:x,direction:j,breadcrumb:k}=n.useContext(s.E_),z=x("breadcrumb",r),[Z,N,H]=S(z),I=(0,n.useMemo)(()=>h||(b?b.map(C):null),[h,b]),R=(e,t,r,n,a)=>{if(y)return y(e,t,r,n);let o=function(e,t){if(void 0===e.title||null===e.title)return null;let r=Object.keys(t).join("|");return"object"==typeof e.title?e.title:String(e.title).replace(RegExp(`:(${r})`,"g"),(e,r)=>t[r]||e)}(e,t);return g(z,e,o,a)};if(I&&I.length>0){let e=[],r=h||b;t=I.map((t,o)=>{let{path:l,key:c,type:s,menu:d,overlay:u,onClick:p,className:g,separator:b,dropdownProps:h}=t,v=E($,l);void 0!==v&&e.push(v);let y=null!=c?c:o;if("separator"===s)return n.createElement(f,{key:y},b);let O={},x=o===I.length-1;d?O.menu=d:u&&(O.overlay=u);let{href:S}=t;return e.length&&void 0!==v&&(S=`#/${e.join("/")}`),n.createElement(m,Object.assign({key:y},O,(0,i.Z)(t,{data:!0,aria:!0}),{className:g,dropdownProps:h,href:S,separator:x?"":a,onClick:p,prefixCls:z}),R(t,$,r,e,S))})}else if(v){let e=(0,l.Z)(v).length;t=(0,l.Z)(v).map((t,r)=>t?(0,c.Tm)(t,{separator:r===e-1?"":a,key:r}):t)}let P=o()(z,null==k?void 0:k.className,{[`${z}-rtl`]:"rtl"===j},u,p,N,H),T=Object.assign(Object.assign({},null==k?void 0:k.style),d);return Z(n.createElement("nav",Object.assign({className:P,style:T},O),n.createElement("ol",null,t)))};k.Item=h,k.Separator=f;var z=k},4393:function(e,t,r){r.d(t,{Z:function(){return Z}});var n=r(67294),a=r(93967),o=r.n(a),l=r(98423),i=r(53124),c=r(98675),s=r(87564),d=r(11941),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r},f=e=>{var{prefixCls:t,className:r,hoverable:a=!0}=e,l=u(e,["prefixCls","className","hoverable"]);let{getPrefixCls:c}=n.useContext(i.E_),s=c("card",t),d=o()(`${s}-grid`,r,{[`${s}-grid-hoverable`]:a});return n.createElement("div",Object.assign({},l,{className:d}))},p=r(47648),g=r(14747),b=r(83559),m=r(87893);let h=e=>{let{antCls:t,componentCls:r,headerHeight:n,cardPaddingBase:a,tabsMarginBottom:o}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:n,marginBottom:-1,padding:`0 ${(0,p.bf)(a)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,p.bf)(e.borderRadiusLG)} ${(0,p.bf)(e.borderRadiusLG)} 0 0`},(0,g.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},g.vS),{[` - > ${r}-typography, - > ${r}-typography-edit-content - `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:o,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},v=e=>{let{cardPaddingBase:t,colorBorderSecondary:r,cardShadow:n,lineWidth:a}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` - ${(0,p.bf)(a)} 0 0 0 ${r}, - 0 ${(0,p.bf)(a)} 0 0 ${r}, - ${(0,p.bf)(a)} ${(0,p.bf)(a)} 0 0 ${r}, - ${(0,p.bf)(a)} 0 0 0 ${r} inset, - 0 ${(0,p.bf)(a)} 0 0 ${r} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:n}}},y=e=>{let{componentCls:t,iconCls:r,actionsLiMargin:n,cardActionsIconSize:a,colorBorderSecondary:o,actionsBg:l}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:l,borderTop:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${o}`,display:"flex",borderRadius:`0 0 ${(0,p.bf)(e.borderRadiusLG)} ${(0,p.bf)(e.borderRadiusLG)}`},(0,g.dF)()),{"& > li":{margin:n,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${r}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,p.bf)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${r}`]:{fontSize:a,lineHeight:(0,p.bf)(e.calc(a).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${o}`}}})},$=e=>Object.assign(Object.assign({margin:`${(0,p.bf)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,g.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},g.vS),"&-description":{color:e.colorTextDescription}}),O=e=>{let{componentCls:t,cardPaddingBase:r,colorFillAlter:n}=e;return{[`${t}-head`]:{padding:`0 ${(0,p.bf)(r)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,p.bf)(e.padding)} ${(0,p.bf)(r)}`}}},x=e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},S=e=>{let{componentCls:t,cardShadow:r,cardHeadPadding:n,colorBorderSecondary:a,boxShadowTertiary:o,cardPaddingBase:l,extraColor:i}=e;return{[t]:Object.assign(Object.assign({},(0,g.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:o},[`${t}-head`]:h(e),[`${t}-extra`]:{marginInlineStart:"auto",color:i,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:l,borderRadius:`0 0 ${(0,p.bf)(e.borderRadiusLG)} ${(0,p.bf)(e.borderRadiusLG)}`},(0,g.dF)()),[`${t}-grid`]:v(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,p.bf)(e.borderRadiusLG)} ${(0,p.bf)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:y(e),[`${t}-meta`]:$(e)}),[`${t}-bordered`]:{border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${a}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${t}-contain-grid`]:{borderRadius:`${(0,p.bf)(e.borderRadiusLG)} ${(0,p.bf)(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:n}}},[`${t}-type-inner`]:O(e),[`${t}-loading`]:x(e),[`${t}-rtl`]:{direction:"rtl"}}},j=e=>{let{componentCls:t,cardPaddingSM:r,headerHeightSM:n,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:n,padding:`0 ${(0,p.bf)(r)}`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:r}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}};var C=(0,b.I$)("Card",e=>{let t=(0,m.IX)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[S(t),j(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})),w=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let E=e=>{let{actionClasses:t,actions:r=[],actionStyle:a}=e;return n.createElement("ul",{className:t,style:a},r.map((e,t)=>{let a=`action-${t}`;return n.createElement("li",{style:{width:`${100/r.length}%`},key:a},n.createElement("span",null,e))}))},k=n.forwardRef((e,t)=>{let r;let{prefixCls:a,className:u,rootClassName:p,style:g,extra:b,headStyle:m={},bodyStyle:h={},title:v,loading:y,bordered:$=!0,size:O,type:x,cover:S,actions:j,tabList:k,children:z,activeTabKey:Z,defaultActiveTabKey:N,tabBarExtraContent:H,hoverable:I,tabProps:R={},classNames:P,styles:T}=e,B=w(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:M,direction:L,card:G}=n.useContext(i.E_),W=e=>{var t;return o()(null===(t=null==G?void 0:G.classNames)||void 0===t?void 0:t[e],null==P?void 0:P[e])},X=e=>{var t;return Object.assign(Object.assign({},null===(t=null==G?void 0:G.styles)||void 0===t?void 0:t[e]),null==T?void 0:T[e])},_=n.useMemo(()=>{let e=!1;return n.Children.forEach(z,t=>{(null==t?void 0:t.type)===f&&(e=!0)}),e},[z]),D=M("card",a),[A,F,V]=C(D),q=n.createElement(s.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},z),K=void 0!==Z,U=Object.assign(Object.assign({},R),{[K?"activeKey":"defaultActiveKey"]:K?Z:N,tabBarExtraContent:H}),Q=(0,c.Z)(O),J=k?n.createElement(d.Z,Object.assign({size:Q&&"default"!==Q?Q:"large"},U,{className:`${D}-head-tabs`,onChange:t=>{var r;null===(r=e.onTabChange)||void 0===r||r.call(e,t)},items:k.map(e=>{var{tab:t}=e;return Object.assign({label:t},w(e,["tab"]))})})):null;if(v||b||J){let e=o()(`${D}-head`,W("header")),t=o()(`${D}-head-title`,W("title")),a=o()(`${D}-extra`,W("extra")),l=Object.assign(Object.assign({},m),X("header"));r=n.createElement("div",{className:e,style:l},n.createElement("div",{className:`${D}-head-wrapper`},v&&n.createElement("div",{className:t,style:X("title")},v),b&&n.createElement("div",{className:a,style:X("extra")},b)),J)}let Y=o()(`${D}-cover`,W("cover")),ee=S?n.createElement("div",{className:Y,style:X("cover")},S):null,et=o()(`${D}-body`,W("body")),er=Object.assign(Object.assign({},h),X("body")),en=n.createElement("div",{className:et,style:er},y?q:z),ea=o()(`${D}-actions`,W("actions")),eo=(null==j?void 0:j.length)?n.createElement(E,{actionClasses:ea,actionStyle:X("actions"),actions:j}):null,el=(0,l.Z)(B,["onTabChange"]),ei=o()(D,null==G?void 0:G.className,{[`${D}-loading`]:y,[`${D}-bordered`]:$,[`${D}-hoverable`]:I,[`${D}-contain-grid`]:_,[`${D}-contain-tabs`]:null==k?void 0:k.length,[`${D}-${Q}`]:Q,[`${D}-type-${x}`]:!!x,[`${D}-rtl`]:"rtl"===L},u,p,F,V),ec=Object.assign(Object.assign({},null==G?void 0:G.style),g);return A(n.createElement("div",Object.assign({ref:t},el,{className:ei,style:ec}),r,ee,en,eo))});var z=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};k.Grid=f,k.Meta=e=>{let{prefixCls:t,className:r,avatar:a,title:l,description:c}=e,s=z(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:d}=n.useContext(i.E_),u=d("card",t),f=o()(`${u}-meta`,r),p=a?n.createElement("div",{className:`${u}-meta-avatar`},a):null,g=l?n.createElement("div",{className:`${u}-meta-title`},l):null,b=c?n.createElement("div",{className:`${u}-meta-description`},c):null,m=g||b?n.createElement("div",{className:`${u}-meta-detail`},g,b):null;return n.createElement("div",Object.assign({},s,{className:f}),p,m)};var Z=k},86250:function(e,t,r){r.d(t,{Z:function(){return C}});var n=r(67294),a=r(93967),o=r.n(a),l=r(98423),i=r(98065),c=r(53124),s=r(83559),d=r(87893);let u=["wrap","nowrap","wrap-reverse"],f=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],p=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],g=(e,t)=>{let r=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${r}`]:r&&u.includes(r)}},b=(e,t)=>{let r={};return p.forEach(n=>{r[`${e}-align-${n}`]=t.align===n}),r[`${e}-align-stretch`]=!t.align&&!!t.vertical,r},m=(e,t)=>{let r={};return f.forEach(n=>{r[`${e}-justify-${n}`]=t.justify===n}),r},h=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},v=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},y=e=>{let{componentCls:t}=e,r={};return u.forEach(e=>{r[`${t}-wrap-${e}`]={flexWrap:e}}),r},$=e=>{let{componentCls:t}=e,r={};return p.forEach(e=>{r[`${t}-align-${e}`]={alignItems:e}}),r},O=e=>{let{componentCls:t}=e,r={};return f.forEach(e=>{r[`${t}-justify-${e}`]={justifyContent:e}}),r};var x=(0,s.I$)("Flex",e=>{let{paddingXS:t,padding:r,paddingLG:n}=e,a=(0,d.IX)(e,{flexGapSM:t,flexGap:r,flexGapLG:n});return[h(a),v(a),y(a),$(a),O(a)]},()=>({}),{resetStyle:!1}),S=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let j=n.forwardRef((e,t)=>{let{prefixCls:r,rootClassName:a,className:s,style:d,flex:u,gap:f,children:p,vertical:h=!1,component:v="div"}=e,y=S(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:$,direction:O,getPrefixCls:j}=n.useContext(c.E_),C=j("flex",r),[w,E,k]=x(C),z=null!=h?h:null==$?void 0:$.vertical,Z=o()(s,a,null==$?void 0:$.className,C,E,k,o()(Object.assign(Object.assign(Object.assign({},g(C,e)),b(C,e)),m(C,e))),{[`${C}-rtl`]:"rtl"===O,[`${C}-gap-${f}`]:(0,i.n)(f),[`${C}-vertical`]:z}),N=Object.assign(Object.assign({},null==$?void 0:$.style),d);return u&&(N.flex=u),f&&!(0,i.n)(f)&&(N.gap=f),w(n.createElement(v,Object.assign({ref:t,className:Z,style:N},(0,l.Z)(y,["justify","wrap","align"])),p))});var C=j},66309:function(e,t,r){r.d(t,{Z:function(){return Z}});var n=r(67294),a=r(93967),o=r.n(a),l=r(98423),i=r(98787),c=r(69760),s=r(96159),d=r(45353),u=r(53124),f=r(47648),p=r(10274),g=r(14747),b=r(87893),m=r(83559);let h=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:a,calc:o}=e,l=o(n).sub(r).equal(),i=o(t).sub(r).equal();return{[a]:Object.assign(Object.assign({},(0,g.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{let{lineWidth:t,fontSizeIcon:r,calc:n}=e,a=e.fontSizeSM,o=(0,b.IX)(e,{tagFontSize:a,tagLineHeight:(0,f.bf)(n(e.lineHeightSM).mul(a).equal()),tagIconSize:n(r).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return o},y=e=>({defaultBg:new p.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var $=(0,m.I$)("Tag",e=>{let t=v(e);return h(t)},y),O=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let x=n.forwardRef((e,t)=>{let{prefixCls:r,style:a,className:l,checked:i,onChange:c,onClick:s}=e,d=O(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:p}=n.useContext(u.E_),g=f("tag",r),[b,m,h]=$(g),v=o()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:i},null==p?void 0:p.className,l,m,h);return b(n.createElement("span",Object.assign({},d,{ref:t,style:Object.assign(Object.assign({},a),null==p?void 0:p.style),className:v,onClick:e=>{null==c||c(!i),null==s||s(e)}})))});var S=r(98719);let j=e=>(0,S.Z)(e,(t,r)=>{let{textColor:n,lightBorderColor:a,lightColor:o,darkColor:l}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:o,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var C=(0,m.bk)(["Tag","preset"],e=>{let t=v(e);return j(t)},y);let w=(e,t,r)=>{let n=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var E=(0,m.bk)(["Tag","status"],e=>{let t=v(e);return[w(t,"success","Success"),w(t,"processing","Info"),w(t,"error","Error"),w(t,"warning","Warning")]},y),k=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let z=n.forwardRef((e,t)=>{let{prefixCls:r,className:a,rootClassName:f,style:p,children:g,icon:b,color:m,onClose:h,bordered:v=!0,visible:y}=e,O=k(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:x,direction:S,tag:j}=n.useContext(u.E_),[w,z]=n.useState(!0),Z=(0,l.Z)(O,["closeIcon","closable"]);n.useEffect(()=>{void 0!==y&&z(y)},[y]);let N=(0,i.o2)(m),H=(0,i.yT)(m),I=N||H,R=Object.assign(Object.assign({backgroundColor:m&&!I?m:void 0},null==j?void 0:j.style),p),P=x("tag",r),[T,B,M]=$(P),L=o()(P,null==j?void 0:j.className,{[`${P}-${m}`]:I,[`${P}-has-color`]:m&&!I,[`${P}-hidden`]:!w,[`${P}-rtl`]:"rtl"===S,[`${P}-borderless`]:!v},a,f,B,M),G=e=>{e.stopPropagation(),null==h||h(e),e.defaultPrevented||z(!1)},[,W]=(0,c.Z)((0,c.w)(e),(0,c.w)(j),{closable:!1,closeIconRender:e=>{let t=n.createElement("span",{className:`${P}-close-icon`,onClick:G},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var r;null===(r=null==e?void 0:e.onClick)||void 0===r||r.call(e,t),G(t)},className:o()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),X="function"==typeof O.onClick||g&&"a"===g.type,_=b||null,D=_?n.createElement(n.Fragment,null,_,g&&n.createElement("span",null,g)):g,A=n.createElement("span",Object.assign({},Z,{ref:t,className:L,style:R}),D,W,N&&n.createElement(C,{key:"preset",prefixCls:P}),H&&n.createElement(E,{key:"status",prefixCls:P}));return T(X?n.createElement(d.Z,{component:"Tag"},A):A)});z.CheckableTag=x;var Z=z}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/249.5d41f0ce1a8d2065.js b/dbgpt/app/static/web/_next/static/chunks/249.8c791ea49f6fb4e4.js similarity index 97% rename from dbgpt/app/static/web/_next/static/chunks/249.5d41f0ce1a8d2065.js rename to dbgpt/app/static/web/_next/static/chunks/249.8c791ea49f6fb4e4.js index f5473d78a..2f5150a35 100644 --- a/dbgpt/app/static/web/_next/static/chunks/249.5d41f0ce1a8d2065.js +++ b/dbgpt/app/static/web/_next/static/chunks/249.8c791ea49f6fb4e4.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[249],{80249:function(e,n,t){t.r(n),t.d(n,{conf:function(){return o},language:function(){return s}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var o={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"}]},s={defaultToken:"",tokenPostfix:".go",keywords:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var","bool","true","false","uint8","uint16","uint32","uint64","int8","int16","int32","int64","float32","float64","complex64","complex128","byte","rune","uint","int","uintptr","string","nil"],operators:["+","-","*","/","%","&","|","^","<<",">>","&^","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=","&^=","&&","||","<-","++","--","==","<",">","=","!","!=","<=",">=",":=","...","(",")","","]","{","}",",",";",".",":"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex"],[/0[0-7']*[0-7]/,"number.octal"],[/0[bB][0-1']*[0-1]/,"number.binary"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/`/,"string","@rawstring"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],rawstring:[[/[^\`]/,"string"],[/`/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2490-f00798cd61d8d1fd.js b/dbgpt/app/static/web/_next/static/chunks/2490-f00798cd61d8d1fd.js new file mode 100644 index 000000000..fd6c227e5 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/2490-f00798cd61d8d1fd.js @@ -0,0 +1,48 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2490],{56466:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"appstore-add",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},61086:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-600-80h56c4.4 0 8-3.6 8-8V560c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V384c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v320c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V462c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v242c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v400c0 4.4 3.6 8 8 8z"}}]},name:"bar-chart",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},13728:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},64576:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z"}}]},name:"bulb",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},20841:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},8751:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{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"}}]},name:"check-circle",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},24019:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={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:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},18429:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={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 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},13520:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(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-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"database",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},27704:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(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"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},75835:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z"}}]},name:"dingding",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},15381:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},36531:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9z"}}]},name:"edit",theme:"filled"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},89705:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={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"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},11475:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={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:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},97175:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={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 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z"}}]},name:"file-excel",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},12906:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM512 533c-85.5 0-155.6 67.3-160 151.6a8 8 0 008 8.4h48.1c4.2 0 7.8-3.2 8.1-7.4C420 636.1 461.5 597 512 597s92.1 39.1 95.8 88.6c.3 4.2 3.9 7.4 8.1 7.4H664a8 8 0 008-8.4C667.6 600.3 597.5 533 512 533z"}}]},name:"frown",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},57546:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM653.3 424.6l52.2 52.2a8.01 8.01 0 01-4.7 13.6l-179.4 21c-5.1.6-9.5-3.7-8.9-8.9l21-179.4c.8-6.6 8.9-9.4 13.6-4.7l52.4 52.4 256.2-256.2c3.1-3.1 8.2-3.1 11.3 0l42.4 42.4c3.1 3.1 3.1 8.2 0 11.3L653.3 424.6z"}}]},name:"import",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},45605:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={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:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},65429:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},29158:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},16801:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"}}]},name:"picture",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},48869:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552a398.46 398.46 0 00117.1 282.8c36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952a398.46 398.46 0 00282.8-117.1c36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552c0-88.7 34.5-172.1 97.2-234.8 54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8zM952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-4.7-.4-8.7 3.2-8.7 7.9V464c0 4.4 3.6 8 8 8l384-1c4.7 0 8.4-4 8-8.6zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z"}}]},name:"pie-chart",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},24969:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={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"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},79383:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V160a16 16 0 0116-16zm-52 68H212v200h200zm493.33 87.69a16 16 0 010 22.62L724.31 503.33a16 16 0 01-22.62 0L520.67 322.31a16 16 0 010-22.62l181.02-181.02a16 16 0 0122.62 0zm-84.85 11.3L713 203.53 605.52 311 713 418.48zM464 544a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V560a16 16 0 0116-16zm-52 68H212v200h200zm452-68a16 16 0 0116 16v304a16 16 0 01-16 16H560a16 16 0 01-16-16V560a16 16 0 0116-16zm-52 68H612v200h200z"}}]},name:"product",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},18073:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={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"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},97879:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917 211.1l-199.2 24c-6.6.8-9.4 8.9-4.7 13.6l59.3 59.3-226 226-101.8-101.7c-6.3-6.3-16.4-6.2-22.6 0L100.3 754.1a8.03 8.03 0 000 11.3l45 45.2c3.1 3.1 8.2 3.1 11.3 0L433.3 534 535 635.7c6.3 6.2 16.4 6.2 22.6 0L829 364.5l59.3 59.3a8.01 8.01 0 0013.6-4.7l24-199.2c.7-5.1-3.7-9.5-8.9-8.8z"}}]},name:"rise",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},71965:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M793 242H366v-74c0-6.7-7.7-10.4-12.9-6.3l-142 112a8 8 0 000 12.6l142 112c5.2 4.1 12.9.4 12.9-6.3v-74h415v470H175c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-28.7 64-64V306c0-35.3-28.7-64-64-64z"}}]},name:"rollback",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},43749:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},56424:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},36986:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-12-12-28.3-18.7-45.3-18.7H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 176h256v112H384V176zm128 554c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zm0-224c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80z"}}]},name:"save",theme:"filled"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},60219:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},32198:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},98165:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},35598:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},15668:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},l=c(13401),o=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},95916:function(e,t,c){"use strict";c.r(t),c.d(t,{AccountBookFilled:function(){return i},AccountBookOutlined:function(){return s},AccountBookTwoTone:function(){return h},AimOutlined:function(){return v},AlertFilled:function(){return m.Z},AlertOutlined:function(){return z},AlertTwoTone:function(){return w},AlibabaOutlined:function(){return Z},AlignCenterOutlined:function(){return b},AlignLeftOutlined:function(){return C},AlignRightOutlined:function(){return E},AlipayCircleFilled:function(){return R},AlipayCircleOutlined:function(){return B},AlipayOutlined:function(){return O},AlipaySquareFilled:function(){return T},AliwangwangFilled:function(){return F},AliwangwangOutlined:function(){return A},AliyunOutlined:function(){return N},AmazonCircleFilled:function(){return q},AmazonOutlined:function(){return j},AmazonSquareFilled:function(){return _},AndroidFilled:function(){return U},AndroidOutlined:function(){return G},AntCloudOutlined:function(){return J},AntDesignOutlined:function(){return et},ApartmentOutlined:function(){return en},ApiFilled:function(){return er},ApiOutlined:function(){return eo},ApiTwoTone:function(){return eu},AppleFilled:function(){return ef},AppleOutlined:function(){return ed},AppstoreAddOutlined:function(){return ev.Z},AppstoreFilled:function(){return em.Z},AppstoreOutlined:function(){return eg.Z},AppstoreTwoTone:function(){return ep},AreaChartOutlined:function(){return eM},ArrowDownOutlined:function(){return eH},ArrowLeftOutlined:function(){return eV},ArrowRightOutlined:function(){return ex},ArrowUpOutlined:function(){return eL},ArrowsAltOutlined:function(){return ey},AudioFilled:function(){return eS},AudioMutedOutlined:function(){return ek},AudioOutlined:function(){return e$},AudioTwoTone:function(){return eI},AuditOutlined:function(){return eD},BackwardFilled:function(){return eP},BackwardOutlined:function(){return eW},BaiduOutlined:function(){return eY},BankFilled:function(){return eK},BankOutlined:function(){return eX},BankTwoTone:function(){return eQ},BarChartOutlined:function(){return eJ.Z},BarcodeOutlined:function(){return e4},BarsOutlined:function(){return e2.Z},BehanceCircleFilled:function(){return e8},BehanceOutlined:function(){return e0},BehanceSquareFilled:function(){return e7},BehanceSquareOutlined:function(){return te},BellFilled:function(){return tc},BellOutlined:function(){return ta},BellTwoTone:function(){return tl},BgColorsOutlined:function(){return ti},BilibiliFilled:function(){return ts},BilibiliOutlined:function(){return th},BlockOutlined:function(){return tv},BoldOutlined:function(){return tg},BookFilled:function(){return tp},BookOutlined:function(){return tw.Z},BookTwoTone:function(){return tZ},BorderBottomOutlined:function(){return tb},BorderHorizontalOutlined:function(){return tC},BorderInnerOutlined:function(){return tE},BorderLeftOutlined:function(){return tR},BorderOuterOutlined:function(){return tB},BorderOutlined:function(){return tO},BorderRightOutlined:function(){return tT},BorderTopOutlined:function(){return tF},BorderVerticleOutlined:function(){return tA},BorderlessTableOutlined:function(){return tN},BoxPlotFilled:function(){return tq},BoxPlotOutlined:function(){return tj},BoxPlotTwoTone:function(){return t_},BranchesOutlined:function(){return tU},BugFilled:function(){return tG},BugOutlined:function(){return tJ},BugTwoTone:function(){return t4},BuildFilled:function(){return t3},BuildOutlined:function(){return t8.Z},BuildTwoTone:function(){return t0},BulbFilled:function(){return t7},BulbOutlined:function(){return t9.Z},BulbTwoTone:function(){return ct},CalculatorFilled:function(){return cn},CalculatorOutlined:function(){return cr},CalculatorTwoTone:function(){return co},CalendarFilled:function(){return cu},CalendarOutlined:function(){return cs.Z},CalendarTwoTone:function(){return ch},CameraFilled:function(){return cv},CameraOutlined:function(){return cg},CameraTwoTone:function(){return cp},CarFilled:function(){return cM},CarOutlined:function(){return cH},CarTwoTone:function(){return cV},CaretDownFilled:function(){return cC.Z},CaretDownOutlined:function(){return cx.Z},CaretLeftFilled:function(){return cL},CaretLeftOutlined:function(){return cR.Z},CaretRightFilled:function(){return cB},CaretRightOutlined:function(){return cS.Z},CaretUpFilled:function(){return ck},CaretUpOutlined:function(){return cT.Z},CarryOutFilled:function(){return cF},CarryOutOutlined:function(){return cA},CarryOutTwoTone:function(){return cN},CheckCircleFilled:function(){return cP.Z},CheckCircleOutlined:function(){return cq.Z},CheckCircleTwoTone:function(){return cj},CheckOutlined:function(){return cY.Z},CheckSquareFilled:function(){return cK},CheckSquareOutlined:function(){return cX},CheckSquareTwoTone:function(){return cQ},ChromeFilled:function(){return c1},ChromeOutlined:function(){return c2},CiCircleFilled:function(){return c8},CiCircleOutlined:function(){return c0},CiCircleTwoTone:function(){return c7},CiOutlined:function(){return ne},CiTwoTone:function(){return nc},ClearOutlined:function(){return nn.Z},ClockCircleFilled:function(){return nr},ClockCircleOutlined:function(){return nl.Z},ClockCircleTwoTone:function(){return ni},CloseCircleFilled:function(){return nu.Z},CloseCircleOutlined:function(){return ns.Z},CloseCircleTwoTone:function(){return nh},CloseOutlined:function(){return nd.Z},CloseSquareFilled:function(){return nm},CloseSquareOutlined:function(){return nz},CloseSquareTwoTone:function(){return nw},CloudDownloadOutlined:function(){return nZ},CloudFilled:function(){return nb},CloudOutlined:function(){return nC},CloudServerOutlined:function(){return nE},CloudSyncOutlined:function(){return nR},CloudTwoTone:function(){return nB},CloudUploadOutlined:function(){return nO},ClusterOutlined:function(){return nT},CodeFilled:function(){return nF},CodeOutlined:function(){return nI.Z},CodeSandboxCircleFilled:function(){return nD},CodeSandboxOutlined:function(){return nP},CodeSandboxSquareFilled:function(){return nW},CodeTwoTone:function(){return nY},CodepenCircleFilled:function(){return nK},CodepenCircleOutlined:function(){return nX},CodepenOutlined:function(){return nQ},CodepenSquareFilled:function(){return n1},CoffeeOutlined:function(){return n2},ColumnHeightOutlined:function(){return n8},ColumnWidthOutlined:function(){return n0},CommentOutlined:function(){return n7},CompassFilled:function(){return ae},CompassOutlined:function(){return ac},CompassTwoTone:function(){return aa},CompressOutlined:function(){return al},ConsoleSqlOutlined:function(){return ao.Z},ContactsFilled:function(){return au},ContactsOutlined:function(){return af},ContactsTwoTone:function(){return ad},ContainerFilled:function(){return am},ContainerOutlined:function(){return az},ContainerTwoTone:function(){return aw},ControlFilled:function(){return aZ},ControlOutlined:function(){return aH.Z},ControlTwoTone:function(){return aV},CopyFilled:function(){return ax},CopyOutlined:function(){return aE.Z},CopyTwoTone:function(){return aR},CopyrightCircleFilled:function(){return aB},CopyrightCircleOutlined:function(){return aO},CopyrightCircleTwoTone:function(){return aT},CopyrightOutlined:function(){return aF},CopyrightTwoTone:function(){return aA},CreditCardFilled:function(){return aN},CreditCardOutlined:function(){return aq},CreditCardTwoTone:function(){return aj},CrownFilled:function(){return a_},CrownOutlined:function(){return aU},CrownTwoTone:function(){return aG},CustomerServiceFilled:function(){return aJ},CustomerServiceOutlined:function(){return a4},CustomerServiceTwoTone:function(){return a3},DashOutlined:function(){return a6},DashboardFilled:function(){return a5},DashboardOutlined:function(){return a9},DashboardTwoTone:function(){return rt},DatabaseFilled:function(){return rn},DatabaseOutlined:function(){return ra.Z},DatabaseTwoTone:function(){return rl},DeleteColumnOutlined:function(){return ri},DeleteFilled:function(){return ru.Z},DeleteOutlined:function(){return rs.Z},DeleteRowOutlined:function(){return rh},DeleteTwoTone:function(){return rv},DeliveredProcedureOutlined:function(){return rg},DeploymentUnitOutlined:function(){return rz.Z},DesktopOutlined:function(){return rw},DiffFilled:function(){return rZ},DiffOutlined:function(){return rb},DiffTwoTone:function(){return rC},DingdingOutlined:function(){return rx.Z},DingtalkCircleFilled:function(){return rL},DingtalkOutlined:function(){return ry},DingtalkSquareFilled:function(){return rS},DisconnectOutlined:function(){return rk},DiscordFilled:function(){return r$},DiscordOutlined:function(){return rI},DislikeFilled:function(){return rD},DislikeOutlined:function(){return rN.Z},DislikeTwoTone:function(){return rq},DockerOutlined:function(){return rj},DollarCircleFilled:function(){return r_},DollarCircleOutlined:function(){return rU},DollarCircleTwoTone:function(){return rG},DollarOutlined:function(){return rJ},DollarTwoTone:function(){return r4},DotChartOutlined:function(){return r2.Z},DotNetOutlined:function(){return r8},DoubleLeftOutlined:function(){return r6.Z},DoubleRightOutlined:function(){return r0.Z},DownCircleFilled:function(){return r7},DownCircleOutlined:function(){return le},DownCircleTwoTone:function(){return lc},DownOutlined:function(){return ln.Z},DownSquareFilled:function(){return lr},DownSquareOutlined:function(){return lo},DownSquareTwoTone:function(){return lu},DownloadOutlined:function(){return ls.Z},DragOutlined:function(){return lh},DribbbleCircleFilled:function(){return lv},DribbbleOutlined:function(){return lg},DribbbleSquareFilled:function(){return lp},DribbbleSquareOutlined:function(){return lM},DropboxCircleFilled:function(){return lH},DropboxOutlined:function(){return lV},DropboxSquareFilled:function(){return lx},EditFilled:function(){return lE.Z},EditOutlined:function(){return lL.Z},EditTwoTone:function(){return ly},EllipsisOutlined:function(){return lB.Z},EnterOutlined:function(){return lS.Z},EnvironmentFilled:function(){return lk},EnvironmentOutlined:function(){return l$},EnvironmentTwoTone:function(){return lI},EuroCircleFilled:function(){return lD},EuroCircleOutlined:function(){return lP},EuroCircleTwoTone:function(){return lW},EuroOutlined:function(){return lY},EuroTwoTone:function(){return lK},ExceptionOutlined:function(){return lX},ExclamationCircleFilled:function(){return lG.Z},ExclamationCircleOutlined:function(){return lQ.Z},ExclamationCircleTwoTone:function(){return l1},ExclamationOutlined:function(){return l2},ExpandAltOutlined:function(){return l8},ExpandOutlined:function(){return l0},ExperimentFilled:function(){return l7},ExperimentOutlined:function(){return l9.Z},ExperimentTwoTone:function(){return ot},ExportOutlined:function(){return oc.Z},EyeFilled:function(){return oa},EyeInvisibleFilled:function(){return ol},EyeInvisibleOutlined:function(){return oo.Z},EyeInvisibleTwoTone:function(){return ou},EyeOutlined:function(){return os.Z},EyeTwoTone:function(){return oh},FacebookFilled:function(){return ov},FacebookOutlined:function(){return og},FallOutlined:function(){return op},FastBackwardFilled:function(){return oM},FastBackwardOutlined:function(){return oH},FastForwardFilled:function(){return oV},FastForwardOutlined:function(){return ox},FieldBinaryOutlined:function(){return oL},FieldNumberOutlined:function(){return oy},FieldStringOutlined:function(){return oS},FieldTimeOutlined:function(){return ok},FileAddFilled:function(){return o$},FileAddOutlined:function(){return oI},FileAddTwoTone:function(){return oD},FileDoneOutlined:function(){return oP},FileExcelFilled:function(){return oW},FileExcelOutlined:function(){return oj.Z},FileExcelTwoTone:function(){return o_},FileExclamationFilled:function(){return oU},FileExclamationOutlined:function(){return oG},FileExclamationTwoTone:function(){return oJ},FileFilled:function(){return o4},FileGifOutlined:function(){return o3},FileImageFilled:function(){return o6},FileImageOutlined:function(){return o5},FileImageTwoTone:function(){return o9},FileJpgOutlined:function(){return it},FileMarkdownFilled:function(){return ia},FileMarkdownOutlined:function(){return il},FileMarkdownTwoTone:function(){return ii},FileOutlined:function(){return iu.Z},FilePdfFilled:function(){return ih},FilePdfOutlined:function(){return iv},FilePdfTwoTone:function(){return ig},FilePptFilled:function(){return ip},FilePptOutlined:function(){return iM},FilePptTwoTone:function(){return iH},FileProtectOutlined:function(){return iV},FileSearchOutlined:function(){return iC.Z},FileSyncOutlined:function(){return iE},FileTextFilled:function(){return iL.Z},FileTextOutlined:function(){return iR.Z},FileTextTwoTone:function(){return iB},FileTwoTone:function(){return iS.Z},FileUnknownFilled:function(){return ik},FileUnknownOutlined:function(){return i$},FileUnknownTwoTone:function(){return iI},FileWordFilled:function(){return iD},FileWordOutlined:function(){return iP},FileWordTwoTone:function(){return iq.Z},FileZipFilled:function(){return ij},FileZipOutlined:function(){return i_},FileZipTwoTone:function(){return iU},FilterFilled:function(){return iX.Z},FilterOutlined:function(){return iQ},FilterTwoTone:function(){return i1},FireFilled:function(){return i2},FireOutlined:function(){return i8},FireTwoTone:function(){return i0},FlagFilled:function(){return i7},FlagOutlined:function(){return ue},FlagTwoTone:function(){return uc},FolderAddFilled:function(){return ua},FolderAddOutlined:function(){return ur.Z},FolderAddTwoTone:function(){return uo},FolderFilled:function(){return uu},FolderOpenFilled:function(){return uf},FolderOpenOutlined:function(){return uh.Z},FolderOpenTwoTone:function(){return uv},FolderOutlined:function(){return um.Z},FolderTwoTone:function(){return uz},FolderViewOutlined:function(){return uw},FontColorsOutlined:function(){return uZ},FontSizeOutlined:function(){return ub},ForkOutlined:function(){return uV.Z},FormOutlined:function(){return ux},FormatPainterFilled:function(){return uL},FormatPainterOutlined:function(){return uy},ForwardFilled:function(){return uS},ForwardOutlined:function(){return uk},FrownFilled:function(){return u$},FrownOutlined:function(){return uF.Z},FrownTwoTone:function(){return uA},FullscreenExitOutlined:function(){return uN},FullscreenOutlined:function(){return uq},FunctionOutlined:function(){return uj},FundFilled:function(){return u_},FundOutlined:function(){return uU},FundProjectionScreenOutlined:function(){return uG},FundTwoTone:function(){return uJ},FundViewOutlined:function(){return u4},FunnelPlotFilled:function(){return u3},FunnelPlotOutlined:function(){return u6},FunnelPlotTwoTone:function(){return u5},GatewayOutlined:function(){return u9},GifOutlined:function(){return st},GiftFilled:function(){return sn},GiftOutlined:function(){return sr},GiftTwoTone:function(){return so},GithubFilled:function(){return su},GithubOutlined:function(){return sf},GitlabFilled:function(){return sd},GitlabOutlined:function(){return sm},GlobalOutlined:function(){return sg.Z},GoldFilled:function(){return sp},GoldOutlined:function(){return sM},GoldTwoTone:function(){return sH},GoldenFilled:function(){return sV},GoogleCircleFilled:function(){return sx},GoogleOutlined:function(){return sL},GooglePlusCircleFilled:function(){return sy},GooglePlusOutlined:function(){return sS},GooglePlusSquareFilled:function(){return sk},GoogleSquareFilled:function(){return s$},GroupOutlined:function(){return sI},HarmonyOSOutlined:function(){return sD},HddFilled:function(){return sP},HddOutlined:function(){return sW},HddTwoTone:function(){return sY},HeartFilled:function(){return sK},HeartOutlined:function(){return sX},HeartTwoTone:function(){return sQ},HeatMapOutlined:function(){return s1},HighlightFilled:function(){return s2},HighlightOutlined:function(){return s8},HighlightTwoTone:function(){return s0},HistoryOutlined:function(){return s7},HolderOutlined:function(){return s9.Z},HomeFilled:function(){return ft},HomeOutlined:function(){return fn},HomeTwoTone:function(){return fr},HourglassFilled:function(){return fo},HourglassOutlined:function(){return fu},HourglassTwoTone:function(){return ff},Html5Filled:function(){return fd},Html5Outlined:function(){return fm},Html5TwoTone:function(){return fz},IconProvider:function(){return bS},IdcardFilled:function(){return fw},IdcardOutlined:function(){return fZ},IdcardTwoTone:function(){return fb},IeCircleFilled:function(){return fV.Z},IeOutlined:function(){return fx},IeSquareFilled:function(){return fL},ImportOutlined:function(){return fR.Z},InboxOutlined:function(){return fy.Z},InfoCircleFilled:function(){return fB.Z},InfoCircleOutlined:function(){return fS.Z},InfoCircleTwoTone:function(){return fk},InfoOutlined:function(){return f$},InsertRowAboveOutlined:function(){return fI},InsertRowBelowOutlined:function(){return fD},InsertRowLeftOutlined:function(){return fP},InsertRowRightOutlined:function(){return fW},InstagramFilled:function(){return fY},InstagramOutlined:function(){return fK},InsuranceFilled:function(){return fX},InsuranceOutlined:function(){return fQ},InsuranceTwoTone:function(){return f1},InteractionFilled:function(){return f2},InteractionOutlined:function(){return f8},InteractionTwoTone:function(){return f0},IssuesCloseOutlined:function(){return f7},ItalicOutlined:function(){return he},JavaOutlined:function(){return hc},JavaScriptOutlined:function(){return ha},KeyOutlined:function(){return hl},KubernetesOutlined:function(){return hi},LaptopOutlined:function(){return hs},LayoutFilled:function(){return hh},LayoutOutlined:function(){return hv},LayoutTwoTone:function(){return hg},LeftCircleFilled:function(){return hp},LeftCircleOutlined:function(){return hM},LeftCircleTwoTone:function(){return hH},LeftOutlined:function(){return hb.Z},LeftSquareFilled:function(){return hC},LeftSquareOutlined:function(){return hE},LeftSquareTwoTone:function(){return hR},LikeFilled:function(){return hB},LikeOutlined:function(){return hS.Z},LikeTwoTone:function(){return hk},LineChartOutlined:function(){return h$},LineHeightOutlined:function(){return hI},LineOutlined:function(){return hD},LinkOutlined:function(){return hN.Z},LinkedinFilled:function(){return hq},LinkedinOutlined:function(){return hj},LinuxOutlined:function(){return h_},Loading3QuartersOutlined:function(){return hU},LoadingOutlined:function(){return hX.Z},LockFilled:function(){return hQ},LockOutlined:function(){return h1},LockTwoTone:function(){return h2},LoginOutlined:function(){return h8},LogoutOutlined:function(){return h0},MacCommandFilled:function(){return h7},MacCommandOutlined:function(){return de},MailFilled:function(){return dc},MailOutlined:function(){return da},MailTwoTone:function(){return dl},ManOutlined:function(){return du},MedicineBoxFilled:function(){return df},MedicineBoxOutlined:function(){return dd},MedicineBoxTwoTone:function(){return dm},MediumCircleFilled:function(){return dz},MediumOutlined:function(){return dw},MediumSquareFilled:function(){return dZ},MediumWorkmarkOutlined:function(){return db},MehFilled:function(){return dC},MehOutlined:function(){return dE},MehTwoTone:function(){return dR},MenuFoldOutlined:function(){return dy.Z},MenuOutlined:function(){return dS},MenuUnfoldOutlined:function(){return dO.Z},MergeCellsOutlined:function(){return dT},MergeFilled:function(){return dF},MergeOutlined:function(){return dA},MessageFilled:function(){return dN},MessageOutlined:function(){return dP.Z},MessageTwoTone:function(){return dW},MinusCircleFilled:function(){return dY},MinusCircleOutlined:function(){return d_.Z},MinusCircleTwoTone:function(){return dU},MinusOutlined:function(){return dG},MinusSquareFilled:function(){return dJ},MinusSquareOutlined:function(){return d1.Z},MinusSquareTwoTone:function(){return d2},MobileFilled:function(){return d8},MobileOutlined:function(){return d0},MobileTwoTone:function(){return d7},MoneyCollectFilled:function(){return ve},MoneyCollectOutlined:function(){return vc},MoneyCollectTwoTone:function(){return va},MonitorOutlined:function(){return vl},MoonFilled:function(){return vi},MoonOutlined:function(){return vs},MoreOutlined:function(){return vh},MutedFilled:function(){return vv},MutedOutlined:function(){return vg},NodeCollapseOutlined:function(){return vp},NodeExpandOutlined:function(){return vM},NodeIndexOutlined:function(){return vH},NotificationFilled:function(){return vV},NotificationOutlined:function(){return vx},NotificationTwoTone:function(){return vL},NumberOutlined:function(){return vy},OneToOneOutlined:function(){return vS},OpenAIFilled:function(){return vk},OpenAIOutlined:function(){return v$},OrderedListOutlined:function(){return vI},PaperClipOutlined:function(){return vA.Z},PartitionOutlined:function(){return vD.Z},PauseCircleFilled:function(){return vP},PauseCircleOutlined:function(){return vq.Z},PauseCircleTwoTone:function(){return vj},PauseOutlined:function(){return v_},PayCircleFilled:function(){return vU},PayCircleOutlined:function(){return vG},PercentageOutlined:function(){return vJ},PhoneFilled:function(){return v4},PhoneOutlined:function(){return v3},PhoneTwoTone:function(){return v6},PicCenterOutlined:function(){return v5},PicLeftOutlined:function(){return v9},PicRightOutlined:function(){return mt},PictureFilled:function(){return mn},PictureOutlined:function(){return ma.Z},PictureTwoTone:function(){return mr.Z},PieChartFilled:function(){return mo},PieChartOutlined:function(){return mi.Z},PieChartTwoTone:function(){return ms},PinterestFilled:function(){return mh},PinterestOutlined:function(){return mv},PlayCircleFilled:function(){return mg},PlayCircleOutlined:function(){return mp},PlayCircleTwoTone:function(){return mM},PlaySquareFilled:function(){return mH},PlaySquareOutlined:function(){return mV},PlaySquareTwoTone:function(){return mx},PlusCircleFilled:function(){return mL},PlusCircleOutlined:function(){return my},PlusCircleTwoTone:function(){return mS},PlusOutlined:function(){return mO.Z},PlusSquareFilled:function(){return mT},PlusSquareOutlined:function(){return m$.Z},PlusSquareTwoTone:function(){return mI},PoundCircleFilled:function(){return mD},PoundCircleOutlined:function(){return mP},PoundCircleTwoTone:function(){return mW},PoundOutlined:function(){return mY},PoweroffOutlined:function(){return mK},PrinterFilled:function(){return mX},PrinterOutlined:function(){return mQ},PrinterTwoTone:function(){return m1},ProductFilled:function(){return m2},ProductOutlined:function(){return m3.Z},ProfileFilled:function(){return m6},ProfileOutlined:function(){return m5},ProfileTwoTone:function(){return m9},ProjectFilled:function(){return gt},ProjectOutlined:function(){return gn},ProjectTwoTone:function(){return gr},PropertySafetyFilled:function(){return go},PropertySafetyOutlined:function(){return gu},PropertySafetyTwoTone:function(){return gf},PullRequestOutlined:function(){return gd},PushpinFilled:function(){return gm},PushpinOutlined:function(){return gz},PushpinTwoTone:function(){return gw},PythonOutlined:function(){return gZ},QqCircleFilled:function(){return gb},QqOutlined:function(){return gC},QqSquareFilled:function(){return gE},QrcodeOutlined:function(){return gR},QuestionCircleFilled:function(){return gB},QuestionCircleOutlined:function(){return gS.Z},QuestionCircleTwoTone:function(){return gk},QuestionOutlined:function(){return g$},RadarChartOutlined:function(){return gI},RadiusBottomleftOutlined:function(){return gD},RadiusBottomrightOutlined:function(){return gP},RadiusSettingOutlined:function(){return gW},RadiusUpleftOutlined:function(){return gY},RadiusUprightOutlined:function(){return gK},ReadFilled:function(){return gX},ReadOutlined:function(){return gG.Z},ReconciliationFilled:function(){return gJ},ReconciliationOutlined:function(){return g4},ReconciliationTwoTone:function(){return g3},RedEnvelopeFilled:function(){return g6},RedEnvelopeOutlined:function(){return g5},RedEnvelopeTwoTone:function(){return g9},RedditCircleFilled:function(){return zt},RedditOutlined:function(){return zn},RedditSquareFilled:function(){return zr},RedoOutlined:function(){return zl.Z},ReloadOutlined:function(){return zi},RestFilled:function(){return zs},RestOutlined:function(){return zh},RestTwoTone:function(){return zv},RetweetOutlined:function(){return zg},RightCircleFilled:function(){return zp},RightCircleOutlined:function(){return zM},RightCircleTwoTone:function(){return zH},RightOutlined:function(){return zb.Z},RightSquareFilled:function(){return zC},RightSquareOutlined:function(){return zE},RightSquareTwoTone:function(){return zR},RiseOutlined:function(){return zy.Z},RobotFilled:function(){return zS},RobotOutlined:function(){return zO.Z},RocketFilled:function(){return zT},RocketOutlined:function(){return zF},RocketTwoTone:function(){return zA},RollbackOutlined:function(){return zD.Z},RotateLeftOutlined:function(){return zN.Z},RotateRightOutlined:function(){return zP.Z},RubyOutlined:function(){return zW},SafetyCertificateFilled:function(){return zY},SafetyCertificateOutlined:function(){return zK},SafetyCertificateTwoTone:function(){return zX},SafetyOutlined:function(){return zQ},SaveFilled:function(){return zJ.Z},SaveOutlined:function(){return z1.Z},SaveTwoTone:function(){return z2},ScanOutlined:function(){return z8},ScheduleFilled:function(){return z0},ScheduleOutlined:function(){return z7},ScheduleTwoTone:function(){return pe},ScissorOutlined:function(){return pc},SearchOutlined:function(){return pn.Z},SecurityScanFilled:function(){return pr},SecurityScanOutlined:function(){return po},SecurityScanTwoTone:function(){return pu},SelectOutlined:function(){return ps.Z},SendOutlined:function(){return pf.Z},SettingFilled:function(){return pd},SettingOutlined:function(){return pv.Z},SettingTwoTone:function(){return pg},ShakeOutlined:function(){return pp},ShareAltOutlined:function(){return pw.Z},ShopFilled:function(){return pZ},ShopOutlined:function(){return pb},ShopTwoTone:function(){return pC},ShoppingCartOutlined:function(){return pE},ShoppingFilled:function(){return pR},ShoppingOutlined:function(){return pB},ShoppingTwoTone:function(){return pO},ShrinkOutlined:function(){return pT},SignalFilled:function(){return pF},SignatureFilled:function(){return pA},SignatureOutlined:function(){return pN},SisternodeOutlined:function(){return pq},SketchCircleFilled:function(){return pj},SketchOutlined:function(){return p_},SketchSquareFilled:function(){return pU},SkinFilled:function(){return pG},SkinOutlined:function(){return pJ},SkinTwoTone:function(){return p4},SkypeFilled:function(){return p3},SkypeOutlined:function(){return p6},SlackCircleFilled:function(){return p5},SlackOutlined:function(){return p9},SlackSquareFilled:function(){return wt},SlackSquareOutlined:function(){return wn},SlidersFilled:function(){return wr},SlidersOutlined:function(){return wo},SlidersTwoTone:function(){return wu},SmallDashOutlined:function(){return wf},SmileFilled:function(){return wd},SmileOutlined:function(){return wv.Z},SmileTwoTone:function(){return wg},SnippetsFilled:function(){return wp},SnippetsOutlined:function(){return wM},SnippetsTwoTone:function(){return wH},SolutionOutlined:function(){return wV},SortAscendingOutlined:function(){return wx},SortDescendingOutlined:function(){return wL},SoundFilled:function(){return wy},SoundOutlined:function(){return wS},SoundTwoTone:function(){return wk},SplitCellsOutlined:function(){return w$},SpotifyFilled:function(){return wI},SpotifyOutlined:function(){return wD},StarFilled:function(){return wN.Z},StarOutlined:function(){return wP.Z},StarTwoTone:function(){return wW},StepBackwardFilled:function(){return wY},StepBackwardOutlined:function(){return wK},StepForwardFilled:function(){return wX},StepForwardOutlined:function(){return wQ},StockOutlined:function(){return w1},StopFilled:function(){return w2},StopOutlined:function(){return w8},StopTwoTone:function(){return w0},StrikethroughOutlined:function(){return w7},SubnodeOutlined:function(){return Me},SunFilled:function(){return Mc},SunOutlined:function(){return Ma},SwapLeftOutlined:function(){return Ml},SwapOutlined:function(){return Mo.Z},SwapRightOutlined:function(){return Mi.Z},SwitcherFilled:function(){return Ms},SwitcherOutlined:function(){return Mh},SwitcherTwoTone:function(){return Mv},SyncOutlined:function(){return Mm.Z},TableOutlined:function(){return Mz},TabletFilled:function(){return Mw},TabletOutlined:function(){return MZ},TabletTwoTone:function(){return Mb},TagFilled:function(){return MC},TagOutlined:function(){return ME},TagTwoTone:function(){return MR},TagsFilled:function(){return MB},TagsOutlined:function(){return MO},TagsTwoTone:function(){return MT},TaobaoCircleFilled:function(){return MF},TaobaoCircleOutlined:function(){return MA},TaobaoOutlined:function(){return MN},TaobaoSquareFilled:function(){return Mq},TeamOutlined:function(){return Mj},ThunderboltFilled:function(){return M_},ThunderboltOutlined:function(){return MU},ThunderboltTwoTone:function(){return MG},TikTokFilled:function(){return MJ},TikTokOutlined:function(){return M4},ToTopOutlined:function(){return M3},ToolFilled:function(){return M8.Z},ToolOutlined:function(){return M0},ToolTwoTone:function(){return M7},TrademarkCircleFilled:function(){return Ze},TrademarkCircleOutlined:function(){return Zc},TrademarkCircleTwoTone:function(){return Za},TrademarkOutlined:function(){return Zl},TransactionOutlined:function(){return Zi},TranslationOutlined:function(){return Zs},TrophyFilled:function(){return Zh},TrophyOutlined:function(){return Zv},TrophyTwoTone:function(){return Zg},TruckFilled:function(){return Zp},TruckOutlined:function(){return ZM},TwitchFilled:function(){return ZH},TwitchOutlined:function(){return ZV},TwitterCircleFilled:function(){return Zx},TwitterOutlined:function(){return ZL},TwitterSquareFilled:function(){return Zy},UnderlineOutlined:function(){return ZS},UndoOutlined:function(){return Zk},UngroupOutlined:function(){return Z$},UnlockFilled:function(){return ZI},UnlockOutlined:function(){return ZD},UnlockTwoTone:function(){return ZP},UnorderedListOutlined:function(){return ZW},UpCircleFilled:function(){return ZY},UpCircleOutlined:function(){return ZK},UpCircleTwoTone:function(){return ZX},UpOutlined:function(){return ZG.Z},UpSquareFilled:function(){return ZJ},UpSquareOutlined:function(){return Z4},UpSquareTwoTone:function(){return Z3},UploadOutlined:function(){return Z8.Z},UsbFilled:function(){return Z0},UsbOutlined:function(){return Z7},UsbTwoTone:function(){return He},UserAddOutlined:function(){return Hc},UserDeleteOutlined:function(){return Ha},UserOutlined:function(){return Hr.Z},UserSwitchOutlined:function(){return Ho},UsergroupAddOutlined:function(){return Hu},UsergroupDeleteOutlined:function(){return Hf},VerifiedOutlined:function(){return Hd},VerticalAlignBottomOutlined:function(){return Hm},VerticalAlignMiddleOutlined:function(){return Hz},VerticalAlignTopOutlined:function(){return Hp.Z},VerticalLeftOutlined:function(){return HM},VerticalRightOutlined:function(){return HH},VideoCameraAddOutlined:function(){return HV},VideoCameraFilled:function(){return Hx},VideoCameraOutlined:function(){return HL},VideoCameraTwoTone:function(){return Hy},WalletFilled:function(){return HS},WalletOutlined:function(){return Hk},WalletTwoTone:function(){return H$},WarningFilled:function(){return HI},WarningOutlined:function(){return HA.Z},WarningTwoTone:function(){return HN},WechatFilled:function(){return Hq},WechatOutlined:function(){return Hj},WechatWorkFilled:function(){return H_},WechatWorkOutlined:function(){return HU},WeiboCircleFilled:function(){return HG},WeiboCircleOutlined:function(){return HJ},WeiboOutlined:function(){return H4},WeiboSquareFilled:function(){return H3},WeiboSquareOutlined:function(){return H6},WhatsAppOutlined:function(){return H5},WifiOutlined:function(){return H9},WindowsFilled:function(){return bt},WindowsOutlined:function(){return bn},WomanOutlined:function(){return br},XFilled:function(){return bo},XOutlined:function(){return bu},YahooFilled:function(){return bf},YahooOutlined:function(){return bd},YoutubeFilled:function(){return bm},YoutubeOutlined:function(){return bz},YuqueFilled:function(){return bp.Z},YuqueOutlined:function(){return bM},ZhihuCircleFilled:function(){return bH},ZhihuOutlined:function(){return bV},ZhihuSquareFilled:function(){return bx},ZoomInOutlined:function(){return bE.Z},ZoomOutOutlined:function(){return bL.Z},createFromIconfontCN:function(){return by.Z},default:function(){return bB.Z},getTwoToneColor:function(){return bR.m},setTwoToneColor:function(){return bR.U}});var n=c(63017),a=c(87462),r=c(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM648.3 426.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V752c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 018.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z"}}]},name:"account-book",theme:"filled"},o=c(13401),i=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:l}))}),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584zM639.5 414h-45c-3 0-5.8 1.7-7.1 4.4L514 563.8h-2.8l-73.4-145.4a8 8 0 00-7.1-4.4h-46c-1.3 0-2.7.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9l89.3 164h-48.6c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1v33.7h-65.1c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1V752c0 4.4 3.6 8 8 8h41.3c4.4 0 8-3.6 8-8v-53.8h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-65.4v-33.7h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-49.1l89.3-164.1c.6-1.2 1-2.5 1-3.8.1-4.4-3.4-8-7.9-8z"}}]},name:"account-book",theme:"outlined"},s=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:u}))}),f={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v584h656V256H712v48zm-65.6 121.8l-89.3 164.1h49.1c4.4 0 8 3.6 8 8v21.3c0 4.4-3.6 8-8 8h-65.4v33.7h65.4c4.4 0 8 3.6 8 8v21.3c0 4.4-3.6 8-8 8h-65.4V752c0 4.4-3.6 8-8 8h-41.3c-4.4 0-8-3.6-8-8v-53.8h-65.1c-4.4 0-8-3.6-8-8v-21.3c0-4.4 3.6-8 8-8h65.1v-33.7h-65.1c-4.4 0-8-3.6-8-8v-21.3c0-4.4 3.6-8 8-8H467l-89.3-164c-2.1-3.9-.7-8.8 3.2-10.9 1.1-.7 2.5-1 3.8-1h46a8 8 0 017.1 4.4l73.4 145.4h2.8l73.4-145.4c1.3-2.7 4.1-4.4 7.1-4.4h45c4.5 0 8 3.6 7.9 8 0 1.3-.4 2.6-1 3.8z",fill:t}},{tag:"path",attrs:{d:"M639.5 414h-45c-3 0-5.8 1.7-7.1 4.4L514 563.8h-2.8l-73.4-145.4a8 8 0 00-7.1-4.4h-46c-1.3 0-2.7.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9l89.3 164h-48.6c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1v33.7h-65.1c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1V752c0 4.4 3.6 8 8 8h41.3c4.4 0 8-3.6 8-8v-53.8h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-65.4v-33.7h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-49.1l89.3-164.1c.6-1.2 1-2.5 1-3.8.1-4.4-3.4-8-7.9-8z",fill:e}},{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584z",fill:e}}]}},name:"account-book",theme:"twotone"},h=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:f}))}),d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M952 474H829.8C812.5 327.6 696.4 211.5 550 194.2V72c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v122.2C327.6 211.5 211.5 327.6 194.2 474H72c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h122.2C211.5 696.4 327.6 812.5 474 829.8V952c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V829.8C696.4 812.5 812.5 696.4 829.8 550H952c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM512 756c-134.8 0-244-109.2-244-244s109.2-244 244-244 244 109.2 244 244-109.2 244-244 244z"}},{tag:"path",attrs:{d:"M512 392c-32.1 0-62.1 12.4-84.8 35.2-22.7 22.7-35.2 52.7-35.2 84.8s12.5 62.1 35.2 84.8C449.9 619.4 480 632 512 632s62.1-12.5 84.8-35.2C619.4 574.1 632 544 632 512s-12.5-62.1-35.2-84.8A118.57 118.57 0 00512 392z"}}]},name:"aim",theme:"outlined"},v=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:d}))}),m=c(6321),g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M193 796c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563zm-48.1-252.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM832 892H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8z"}}]},name:"alert",theme:"outlined"},z=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:g}))}),p={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M340 585c0-5.5 4.5-10 10-10h44c5.5 0 10 4.5 10 10v171h355V563c0-136.4-110.6-247-247-247S265 426.6 265 563v193h75V585z",fill:t}},{tag:"path",attrs:{d:"M216.9 310.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8zm348 712H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zm-639-96c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563z",fill:e}}]}},name:"alert",theme:"twotone"},w=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:p}))}),M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M602.9 669.8c-37.2 2.6-33.6-17.3-11.5-46.2 50.4-67.2 143.7-158.5 147.9-225.2 5.8-86.6-81.3-113.4-171-113.4-62.4 1.6-127 18.9-171 34.6-151.6 53.5-246.6 137.5-306.9 232-62.4 93.4-43 183.2 91.8 185.8 101.8-4.2 170.5-32.5 239.7-68.2.5 0-192.5 55.1-263.9 14.7-7.9-4.2-15.7-10-17.8-26.2 0-33.1 54.6-67.7 86.6-78.7v-56.7c64.5 22.6 140.6 16.3 205.7-32 2.1 5.8 4.2 13.1 3.7 21h11c2.6-22.6-12.6-44.6-37.8-46.2 7.3 5.8 12.6 10.5 15.2 14.7l-1 1-.5.5c-83.9 58.8-165.3 31.5-173.1 29.9l46.7-45.7-13.1-33.1c92.9-32.5 169.5-56.2 296.9-78.7l-28.5-23 14.7-8.9c75.5 21 126.4 36.7 123.8 76.6-1 6.8-3.7 14.7-7.9 23.1C660.1 466.1 594 538 567.2 569c-17.3 20.5-34.6 39.4-46.7 58.3-13.6 19.4-20.5 37.3-21 53.5 2.6 131.8 391.4-61.9 468-112.9-111.7 47.8-232.9 93.5-364.6 101.9zm85-302.9c2.8 5.2 4.1 11.6 4.1 19.1-.1-6.8-1.4-13.3-4.1-19.1z"}}]},name:"alibaba",theme:"outlined"},Z=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:M}))}),H={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M264 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm496 424c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496zm144 140H120c-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-424H120c-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-8z"}}]},name:"align-center",theme:"outlined"},b=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:H}))}),V={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M120 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 424h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm784 140H120c-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-424H120c-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-8z"}}]},name:"align-left",theme:"outlined"},C=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:V}))}),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 158H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 424H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 212H120c-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-424H120c-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-8z"}}]},name:"align-right",theme:"outlined"},E=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:x}))}),L={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.42 0 448 200.58 448 448S759.42 960 512 960 64 759.42 64 512 264.58 64 512 64m32.5 168c-69.67 0-86.06 16.84-86.72 39.08l-.02 1.43v46.62H291.45c-9.92 0-14.28 23.05-14.27 39.3 0 2.7 2.08 4.93 4.77 4.93h175.81v58.3h-116.5c-9.96 0-14.3 23.76-14.27 39.47a4.77 4.77 0 004.77 4.76h233.45c-4.53 41.06-15.43 77.59-30.72 109.32l-1.22 2.5-.32-.28c-60.24-28.47-120.43-52.57-194.4-52.57l-2.62.01c-84.98 1.11-144.71 56.5-145.91 127.04l-.02 1.22.02 2.13c1.24 70.4 63.56 126.45 148.52 126.45 61.25 0 116.38-16.85 163.46-45.02a138.58 138.58 0 0014.07-7.96 345.6 345.6 0 0050.3-41.16l9.45 6.35 12.46 8.32c57.53 38.26 113.76 72.62 169.86 79.27a142.62 142.62 0 0018.31 1.16c43.02 0 55-52.68 57.39-95.51l.14-2.84c.4-8.46-6.2-15.6-14.65-15.86-75.46-2.37-136.45-22.05-192-46.11l-6.27-2.75c35.15-56.8 56.66-121.81 57.15-186.66l.09-1.08c.4-5.51-4-10.2-9.52-10.2H549.33v-58.3h165.73c9.92 0 14.28-22.12 14.27-39.31a4.85 4.85 0 00-4.78-4.92H549.32v-82.35a4.8 4.8 0 00-4.83-4.78M328 583.85c54.63 0 107.08 22.41 158.1 52.19l5.76 3.4c-103.57 119.84-247.17 95.9-261.72 26.37a66.89 66.89 0 01-1.14-9.83l-.06-2.34.02-.9c.97-40.12 45.33-68.9 99.04-68.9"}}]},name:"alipay-circle",theme:"filled"},R=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:L}))}),y={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.42 0 448 200.58 448 448S759.42 960 512 960 64 759.42 64 512 264.58 64 512 64m32.5 168c-69.67 0-86.06 16.84-86.72 39.08l-.02 1.43v46.62H291.45c-9.92 0-14.28 23.05-14.27 39.3 0 2.7 2.08 4.93 4.77 4.93h175.81v58.3h-116.5c-9.96 0-14.3 23.76-14.27 39.47a4.77 4.77 0 004.77 4.76h233.45c-4.53 41.06-15.43 77.59-30.72 109.32l-1.22 2.5-.32-.28c-60.24-28.47-120.43-52.57-194.4-52.57l-2.62.01c-84.98 1.11-144.71 56.5-145.91 127.04l-.02 1.22.02 2.13c1.24 70.4 63.56 126.45 148.52 126.45 61.25 0 116.38-16.85 163.46-45.02a138.58 138.58 0 0014.07-7.96 345.6 345.6 0 0050.3-41.16l9.45 6.35 12.46 8.32c57.53 38.26 113.76 72.62 169.86 79.27a142.62 142.62 0 0018.31 1.16c43.02 0 55-52.68 57.39-95.51l.14-2.84c.4-8.46-6.2-15.6-14.65-15.86-75.46-2.37-136.45-22.05-192-46.11l-6.27-2.75c35.15-56.8 56.66-121.81 57.15-186.66l.09-1.08c.4-5.51-4-10.2-9.52-10.2H549.33v-58.3h165.73c9.92 0 14.28-22.12 14.27-39.31a4.85 4.85 0 00-4.78-4.92H549.32v-82.35a4.8 4.8 0 00-4.83-4.78M328 583.85c54.63 0 107.08 22.41 158.1 52.19l5.76 3.4c-103.57 119.84-247.17 95.9-261.72 26.37a66.89 66.89 0 01-1.14-9.83l-.06-2.34.02-.9c.97-40.12 45.33-68.9 99.04-68.9"}}]},name:"alipay-circle",theme:"outlined"},B=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:y}))}),S={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M557.2 129a6.68 6.68 0 016.72 6.65V250.2h243.8a6.74 6.74 0 016.65 6.84c.02 23.92-6.05 54.69-19.85 54.69H563.94v81.1h166.18c7.69 0 13.8 6.51 13.25 14.18l-.11 1.51c-.7 90.2-30.63 180.64-79.52 259.65l8.71 3.82c77.3 33.48 162.15 60.85 267.15 64.14a21.08 21.08 0 0120.38 22.07l-.2 3.95c-3.34 59.57-20 132.85-79.85 132.85-8.8 0-17.29-.55-25.48-1.61-78.04-9.25-156.28-57.05-236.32-110.27l-17.33-11.57-13.15-8.83a480.83 480.83 0 01-69.99 57.25 192.8 192.8 0 01-19.57 11.08c-65.51 39.18-142.21 62.6-227.42 62.62-118.2 0-204.92-77.97-206.64-175.9l-.03-2.95.03-1.7c1.66-98.12 84.77-175.18 203-176.72l3.64-.03c102.92 0 186.66 33.54 270.48 73.14l.44.38 1.7-3.47c21.27-44.14 36.44-94.95 42.74-152.06h-324.8a6.64 6.64 0 01-6.63-6.62c-.04-21.86 6-54.91 19.85-54.91h162.1v-81.1H191.92a6.71 6.71 0 01-6.64-6.85c-.01-22.61 6.06-54.68 19.86-54.68h231.4v-64.85l.02-1.99c.9-30.93 23.72-54.36 120.64-54.36M256.9 619c-74.77 0-136.53 39.93-137.88 95.6l-.02 1.26.08 3.24a92.55 92.55 0 001.58 13.64c20.26 96.5 220.16 129.71 364.34-36.59l-8.03-4.72C405.95 650.11 332.94 619 256.9 619"}}]},name:"alipay",theme:"outlined"},O=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:S}))}),k={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M894.6 116.54a30.9 30.9 0 0112.86 12.85c2.96 5.54 4.54 11.04 4.54 26.2V868.4c0 15.16-1.58 20.66-4.54 26.2a30.9 30.9 0 01-12.85 12.85c-5.54 2.96-11.04 4.54-26.2 4.54H155.6c-15.16 0-20.66-1.58-26.2-4.54a30.9 30.9 0 01-12.85-12.85c-2.92-5.47-4.5-10.9-4.54-25.59V155.6c0-15.16 1.58-20.66 4.54-26.2a30.9 30.9 0 0112.85-12.85c5.47-2.92 10.9-4.5 25.59-4.54H868.4c15.16 0 20.66 1.58 26.2 4.54M541 262c-62.2 0-76.83 15.04-77.42 34.9l-.02 1.27v41.62H315.08c-8.86 0-12.75 20.59-12.74 35.1a4.3 4.3 0 004.26 4.4h156.97v52.05H359.56c-8.9 0-12.77 21.22-12.75 35.25a4.26 4.26 0 004.26 4.25h208.44c-4.04 36.66-13.78 69.27-27.43 97.6l-1.09 2.23-.28-.25c-53.8-25.42-107.53-46.94-173.58-46.94l-2.33.01c-75.88 1-129.21 50.45-130.28 113.43l-.02 1.1.02 1.89c1.1 62.85 56.75 112.9 132.6 112.9 54.7 0 103.91-15.04 145.95-40.2a123.73 123.73 0 0012.56-7.1 308.6 308.6 0 0044.92-36.75l8.44 5.67 11.12 7.43c51.36 34.15 101.57 64.83 151.66 70.77a127.34 127.34 0 0016.35 1.04c38.4 0 49.1-47.04 51.24-85.28l.13-2.53a13.53 13.53 0 00-13.08-14.17c-67.39-2.1-121.84-19.68-171.44-41.17l-5.6-2.44c31.39-50.72 50.6-108.77 51.04-166.67l.07-.96a8.51 8.51 0 00-8.5-9.1H545.33v-52.06H693.3c8.86 0 12.75-19.75 12.75-35.1-.01-2.4-1.87-4.4-4.27-4.4H545.32v-73.52a4.29 4.29 0 00-4.31-4.27m-193.3 314.15c48.77 0 95.6 20.01 141.15 46.6l5.15 3.04c-92.48 107-220.69 85.62-233.68 23.54a59.72 59.72 0 01-1.02-8.78l-.05-2.08.01-.81c.87-35.82 40.48-61.51 88.44-61.51"}}]},name:"alipay-square",theme:"filled"},T=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:k}))}),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868.2 377.4c-18.9-45.1-46.3-85.6-81.2-120.6a377.26 377.26 0 00-120.5-81.2A375.65 375.65 0 00519 145.8c-41.9 0-82.9 6.7-121.9 20C306 123.3 200.8 120 170.6 120c-2.2 0-7.4 0-9.4.2-11.9.4-22.8 6.5-29.2 16.4-6.5 9.9-7.7 22.4-3.4 33.5l64.3 161.6a378.59 378.59 0 00-52.8 193.2c0 51.4 10 101 29.8 147.6 18.9 45 46.2 85.6 81.2 120.5 34.7 34.8 75.4 62.1 120.5 81.2C418.3 894 467.9 904 519 904c51.3 0 100.9-10 147.7-29.8 44.9-18.9 85.5-46.3 120.4-81.2 34.7-34.8 62.1-75.4 81.2-120.6a376.5 376.5 0 0029.8-147.6c-.2-51.2-10.1-100.8-29.9-147.4zm-325.2 79c0 20.4-16.6 37.1-37.1 37.1-20.4 0-37.1-16.7-37.1-37.1v-55.1c0-20.4 16.6-37.1 37.1-37.1 20.4 0 37.1 16.6 37.1 37.1v55.1zm175.2 0c0 20.4-16.6 37.1-37.1 37.1S644 476.8 644 456.4v-55.1c0-20.4 16.7-37.1 37.1-37.1 20.4 0 37.1 16.6 37.1 37.1v55.1z"}}]},name:"aliwangwang",theme:"filled"},F=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:$}))}),I={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868.2 377.4c-18.9-45.1-46.3-85.6-81.2-120.6a377.26 377.26 0 00-120.5-81.2A375.65 375.65 0 00519 145.8c-41.9 0-82.9 6.7-121.9 20C306 123.3 200.8 120 170.6 120c-2.2 0-7.4 0-9.4.2-11.9.4-22.8 6.5-29.2 16.4-6.5 9.9-7.7 22.4-3.4 33.5l64.3 161.6a378.59 378.59 0 00-52.8 193.2c0 51.4 10 101 29.8 147.6 18.9 45 46.2 85.6 81.2 120.5 34.7 34.8 75.4 62.1 120.5 81.2C418.3 894 467.9 904 519 904c51.3 0 100.9-10.1 147.7-29.8 44.9-18.9 85.5-46.3 120.4-81.2 34.7-34.8 62.1-75.4 81.2-120.6a376.5 376.5 0 0029.8-147.6c-.2-51.2-10.1-100.8-29.9-147.4zm-66.4 266.5a307.08 307.08 0 01-65.9 98c-28.4 28.5-61.3 50.7-97.7 65.9h-.1c-38 16-78.3 24.2-119.9 24.2a306.51 306.51 0 01-217.5-90.2c-28.4-28.5-50.6-61.4-65.8-97.8v-.1c-16-37.8-24.1-78.2-24.1-119.9 0-55.4 14.8-109.7 42.8-157l13.2-22.1-9.5-23.9L206 192c14.9.6 35.9 2.1 59.7 5.6 43.8 6.5 82.5 17.5 114.9 32.6l19 8.9 19.9-6.8c31.5-10.8 64.8-16.2 98.9-16.2a306.51 306.51 0 01217.5 90.2c28.4 28.5 50.6 61.4 65.8 97.8l.1.1.1.1c16 37.6 24.1 78 24.2 119.8-.1 41.7-8.3 82-24.3 119.8zM681.1 364.2c-20.4 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.6 37.1 37.1 37.1s37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1zm-175.2 0c-20.5 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.7 37.1 37.1 37.1 20.5 0 37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1z"}}]},name:"aliwangwang",theme:"outlined"},A=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:I}))}),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M959.2 383.9c-.3-82.1-66.9-148.6-149.1-148.6H575.9l21.6 85.2 201 43.7a42.58 42.58 0 0132.9 39.7c.1.5.1 216.1 0 216.6a42.58 42.58 0 01-32.9 39.7l-201 43.7-21.6 85.3h234.2c82.1 0 148.8-66.5 149.1-148.6V383.9zM225.5 660.4a42.58 42.58 0 01-32.9-39.7c-.1-.6-.1-216.1 0-216.6.8-19.4 14.6-35.5 32.9-39.7l201-43.7 21.6-85.2H213.8c-82.1 0-148.8 66.4-149.1 148.6V641c.3 82.1 67 148.6 149.1 148.6H448l-21.6-85.3-200.9-43.9zm200.9-158.8h171v21.3h-171z"}}]},name:"aliyun",theme:"outlined"},N=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:D}))}),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M485 467.5c-11.6 4.9-20.9 12.2-27.8 22-6.9 9.8-10.4 21.6-10.4 35.5 0 17.8 7.5 31.5 22.4 41.2 14.1 9.1 28.9 11.4 44.4 6.8 17.9-5.2 30-17.9 36.4-38.1 3-9.3 4.5-19.7 4.5-31.3v-50.2c-12.6.4-24.4 1.6-35.5 3.7-11.1 2.1-22.4 5.6-34 10.4zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm35.8 262.7c-7.2-10.9-20.1-16.4-38.7-16.4-1.3 0-3 .1-5.3.3-2.2.2-6.6 1.5-12.9 3.7a79.4 79.4 0 00-17.9 9.1c-5.5 3.8-11.5 10-18 18.4-6.4 8.5-11.5 18.4-15.3 29.8l-94-8.4c0-12.4 2.4-24.7 7-36.9 4.7-12.2 11.8-23.9 21.4-35 9.6-11.2 21.1-21 34.5-29.4 13.4-8.5 29.6-15.2 48.4-20.3 18.9-5.1 39.1-7.6 60.9-7.6 21.3 0 40.6 2.6 57.8 7.7 17.2 5.2 31.1 11.5 41.4 19.1a117 117 0 0125.9 25.7c6.9 9.6 11.7 18.5 14.4 26.7 2.7 8.2 4 15.7 4 22.8v182.5c0 6.4 1.4 13 4.3 19.8 2.9 6.8 6.3 12.8 10.2 18 3.9 5.2 7.9 9.9 12 14.3 4.1 4.3 7.6 7.7 10.6 9.9l4.1 3.4-72.5 69.4c-8.5-7.7-16.9-15.4-25.2-23.4-8.3-8-14.5-14-18.5-18.1l-6.1-6.2c-2.4-2.3-5-5.7-8-10.2-8.1 12.2-18.5 22.8-31.1 31.8-12.7 9-26.3 15.6-40.7 19.7-14.5 4.1-29.4 6.5-44.7 7.1-15.3.6-30-1.5-43.9-6.5-13.9-5-26.5-11.7-37.6-20.3-11.1-8.6-19.9-20.2-26.5-35-6.6-14.8-9.9-31.5-9.9-50.4 0-17.4 3-33.3 8.9-47.7 6-14.5 13.6-26.5 23-36.1 9.4-9.6 20.7-18.2 34-25.7s26.4-13.4 39.2-17.7c12.8-4.2 26.6-7.8 41.5-10.7 14.9-2.9 27.6-4.8 38.2-5.7 10.6-.9 21.2-1.6 31.8-2v-39.4c0-13.5-2.3-23.5-6.7-30.1zm180.5 379.6c-2.8 3.3-7.5 7.8-14.1 13.5s-16.8 12.7-30.5 21.1c-13.7 8.4-28.8 16-45 22.9-16.3 6.9-36.3 12.9-60.1 18-23.7 5.1-48.2 7.6-73.3 7.6-25.4 0-50.7-3.2-76.1-9.6-25.4-6.4-47.6-14.3-66.8-23.7-19.1-9.4-37.6-20.2-55.1-32.2-17.6-12.1-31.7-22.9-42.4-32.5-10.6-9.6-19.6-18.7-26.8-27.1-1.7-1.9-2.8-3.6-3.2-5.1-.4-1.5-.3-2.8.3-3.7.6-.9 1.5-1.6 2.6-2.2a7.42 7.42 0 017.4.8c40.9 24.2 72.9 41.3 95.9 51.4 82.9 36.4 168 45.7 255.3 27.9 40.5-8.3 82.1-22.2 124.9-41.8 3.2-1.2 6-1.5 8.3-.9 2.3.6 3.5 2.4 3.5 5.4 0 2.8-1.6 6.3-4.8 10.2zm59.9-29c-1.8 11.1-4.9 21.6-9.1 31.8-7.2 17.1-16.3 30-27.1 38.4-3.6 2.9-6.4 3.8-8.3 2.8-1.9-1-1.9-3.5 0-7.4 4.5-9.3 9.2-21.8 14.2-37.7 5-15.8 5.7-26 2.1-30.5-1.1-1.5-2.7-2.6-5-3.6-2.2-.9-5.1-1.5-8.6-1.9s-6.7-.6-9.4-.8c-2.8-.2-6.5-.2-11.2 0-4.7.2-8 .4-10.1.6a874.4 874.4 0 01-17.1 1.5c-1.3.2-2.7.4-4.1.5-1.5.1-2.7.2-3.5.3l-2.7.3c-1 .1-1.7.2-2.2.2h-3.2l-1-.2-.6-.5-.5-.9c-1.3-3.3 3.7-7.4 15-12.4s22.3-8.1 32.9-9.3c9.8-1.5 21.3-1.5 34.5-.3s21.3 3.7 24.3 7.4c2.3 3.5 2.5 10.7.7 21.7z"}}]},name:"amazon-circle",theme:"filled"},q=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:P}))}),W={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M825 768.9c-3.3-.9-7.3-.4-11.9 1.3-61.6 28.2-121.5 48.3-179.7 60.2C507.7 856 385.2 842.6 266 790.3c-33.1-14.6-79.1-39.2-138-74a9.36 9.36 0 00-5.3-2c-2-.1-3.7.1-5.3.9-1.6.8-2.8 1.8-3.7 3.1-.9 1.3-1.1 3.1-.4 5.4.6 2.2 2.1 4.7 4.6 7.4 10.4 12.2 23.3 25.2 38.6 39s35.6 29.4 60.9 46.8c25.3 17.4 51.8 32.9 79.3 46.4 27.6 13.5 59.6 24.9 96.1 34.1s73 13.8 109.4 13.8c36.2 0 71.4-3.7 105.5-10.9 34.2-7.3 63-15.9 86.5-25.9 23.4-9.9 45-21 64.8-33 19.8-12 34.4-22.2 43.9-30.3 9.5-8.2 16.3-14.6 20.2-19.4 4.6-5.7 6.9-10.6 6.9-14.9.1-4.5-1.7-7.1-5-7.9zM527.4 348.1c-15.2 1.3-33.5 4.1-55 8.3-21.5 4.1-41.4 9.3-59.8 15.4s-37.2 14.6-56.3 25.4c-19.2 10.8-35.5 23.2-49 37s-24.5 31.1-33.1 52c-8.6 20.8-12.9 43.7-12.9 68.7 0 27.1 4.7 51.2 14.3 72.5 9.5 21.3 22.2 38 38.2 50.4 15.9 12.4 34 22.1 54 29.2 20 7.1 41.2 10.3 63.2 9.4 22-.9 43.5-4.3 64.4-10.3 20.8-5.9 40.4-15.4 58.6-28.3 18.2-12.9 33.1-28.2 44.8-45.7 4.3 6.6 8.1 11.5 11.5 14.7l8.7 8.9c5.8 5.9 14.7 14.6 26.7 26.1 11.9 11.5 24.1 22.7 36.3 33.7l104.4-99.9-6-4.9c-4.3-3.3-9.4-8-15.2-14.3-5.8-6.2-11.6-13.1-17.2-20.5-5.7-7.4-10.6-16.1-14.7-25.9-4.1-9.8-6.2-19.3-6.2-28.5V258.7c0-10.1-1.9-21-5.7-32.8-3.9-11.7-10.7-24.5-20.7-38.3-10-13.8-22.4-26.2-37.2-37-14.9-10.8-34.7-20-59.6-27.4-24.8-7.4-52.6-11.1-83.2-11.1-31.3 0-60.4 3.7-87.6 10.9-27.1 7.3-50.3 17-69.7 29.2-19.3 12.2-35.9 26.3-49.7 42.4-13.8 16.1-24.1 32.9-30.8 50.4-6.7 17.5-10.1 35.2-10.1 53.1L408 310c5.5-16.4 12.9-30.6 22-42.8 9.2-12.2 17.9-21 25.8-26.5 8-5.5 16.6-9.9 25.7-13.2 9.2-3.3 15.4-5 18.6-5.4 3.2-.3 5.7-.4 7.6-.4 26.7 0 45.2 7.9 55.6 23.6 6.5 9.5 9.7 23.9 9.7 43.3v56.6c-15.2.6-30.4 1.6-45.6 2.9zM573.1 500c0 16.6-2.2 31.7-6.5 45-9.2 29.1-26.7 47.4-52.4 54.8-22.4 6.6-43.7 3.3-63.9-9.8-21.5-14-32.2-33.8-32.2-59.3 0-19.9 5-36.9 15-51.1 10-14.1 23.3-24.7 40-31.7s33-12 49-14.9c15.9-3 33-4.8 51-5.4V500zm335.2 218.9c-4.3-5.4-15.9-8.9-34.9-10.7-19-1.8-35.5-1.7-49.7.4-15.3 1.8-31.1 6.2-47.3 13.4-16.3 7.1-23.4 13.1-21.6 17.8l.7 1.3.9.7 1.4.2h4.6c.8 0 1.8-.1 3.2-.2 1.4-.1 2.7-.3 3.9-.4 1.2-.1 2.9-.3 5.1-.4 2.1-.1 4.1-.4 6-.7.3 0 3.7-.3 10.3-.9 6.6-.6 11.4-1 14.3-1.3 2.9-.3 7.8-.6 14.5-.9 6.7-.3 12.1-.3 16.1 0 4 .3 8.5.7 13.6 1.1 5.1.4 9.2 1.3 12.4 2.7 3.2 1.3 5.6 3 7.1 5.1 5.2 6.6 4.2 21.2-3 43.9s-14 40.8-20.4 54.2c-2.8 5.7-2.8 9.2 0 10.7s6.7.1 11.9-4c15.6-12.2 28.6-30.6 39.1-55.3 6.1-14.6 10.5-29.8 13.1-45.7 2.4-15.9 2-26.2-1.3-31z"}}]},name:"amazon",theme:"outlined"},j=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:W}))}),Y={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-32zM547.8 326.7c-7.2-10.9-20.1-16.4-38.7-16.4-1.3 0-3 .1-5.3.3-2.2.2-6.6 1.5-12.9 3.7a79.4 79.4 0 00-17.9 9.1c-5.5 3.8-11.5 10-18 18.4-6.4 8.5-11.5 18.4-15.3 29.8l-94-8.4c0-12.4 2.4-24.7 7-36.9s11.8-23.9 21.4-35c9.6-11.2 21.1-21 34.5-29.4 13.4-8.5 29.6-15.2 48.4-20.3 18.9-5.1 39.1-7.6 60.9-7.6 21.3 0 40.6 2.6 57.8 7.7 17.2 5.2 31.1 11.5 41.4 19.1a117 117 0 0125.9 25.7c6.9 9.6 11.7 18.5 14.4 26.7 2.7 8.2 4 15.7 4 22.8v182.5c0 6.4 1.4 13 4.3 19.8 2.9 6.8 6.3 12.8 10.2 18 3.9 5.2 7.9 9.9 12 14.3 4.1 4.3 7.6 7.7 10.6 9.9l4.1 3.4-72.5 69.4c-8.5-7.7-16.9-15.4-25.2-23.4-8.3-8-14.5-14-18.5-18.1l-6.1-6.2c-2.4-2.3-5-5.7-8-10.2-8.1 12.2-18.5 22.8-31.1 31.8-12.7 9-26.3 15.6-40.7 19.7-14.5 4.1-29.4 6.5-44.7 7.1-15.3.6-30-1.5-43.9-6.5-13.9-5-26.5-11.7-37.6-20.3-11.1-8.6-19.9-20.2-26.5-35-6.6-14.8-9.9-31.5-9.9-50.4 0-17.4 3-33.3 8.9-47.7 6-14.5 13.6-26.5 23-36.1 9.4-9.6 20.7-18.2 34-25.7s26.4-13.4 39.2-17.7c12.8-4.2 26.6-7.8 41.5-10.7 14.9-2.9 27.6-4.8 38.2-5.7 10.6-.9 21.2-1.6 31.8-2v-39.4c0-13.5-2.3-23.5-6.7-30.1zm180.5 379.6c-2.8 3.3-7.5 7.8-14.1 13.5s-16.8 12.7-30.5 21.1c-13.7 8.4-28.8 16-45 22.9-16.3 6.9-36.3 12.9-60.1 18-23.7 5.1-48.2 7.6-73.3 7.6-25.4 0-50.7-3.2-76.1-9.6-25.4-6.4-47.6-14.3-66.8-23.7-19.1-9.4-37.6-20.2-55.1-32.2-17.6-12.1-31.7-22.9-42.4-32.5-10.6-9.6-19.6-18.7-26.8-27.1-1.7-1.9-2.8-3.6-3.2-5.1-.4-1.5-.3-2.8.3-3.7.6-.9 1.5-1.6 2.6-2.2a7.42 7.42 0 017.4.8c40.9 24.2 72.9 41.3 95.9 51.4 82.9 36.4 168 45.7 255.3 27.9 40.5-8.3 82.1-22.2 124.9-41.8 3.2-1.2 6-1.5 8.3-.9 2.3.6 3.5 2.4 3.5 5.4 0 2.8-1.6 6.3-4.8 10.2zm59.9-29c-1.8 11.1-4.9 21.6-9.1 31.8-7.2 17.1-16.3 30-27.1 38.4-3.6 2.9-6.4 3.8-8.3 2.8-1.9-1-1.9-3.5 0-7.4 4.5-9.3 9.2-21.8 14.2-37.7 5-15.8 5.7-26 2.1-30.5-1.1-1.5-2.7-2.6-5-3.6-2.2-.9-5.1-1.5-8.6-1.9s-6.7-.6-9.4-.8c-2.8-.2-6.5-.2-11.2 0-4.7.2-8 .4-10.1.6a874.4 874.4 0 01-17.1 1.5c-1.3.2-2.7.4-4.1.5-1.5.1-2.7.2-3.5.3l-2.7.3c-1 .1-1.7.2-2.2.2h-3.2l-1-.2-.6-.5-.5-.9c-1.3-3.3 3.7-7.4 15-12.4s22.3-8.1 32.9-9.3c9.8-1.5 21.3-1.5 34.5-.3s21.3 3.7 24.3 7.4c2.3 3.5 2.5 10.7.7 21.7zM485 467.5c-11.6 4.9-20.9 12.2-27.8 22-6.9 9.8-10.4 21.6-10.4 35.5 0 17.8 7.5 31.5 22.4 41.2 14.1 9.1 28.9 11.4 44.4 6.8 17.9-5.2 30-17.9 36.4-38.1 3-9.3 4.5-19.7 4.5-31.3v-50.2c-12.6.4-24.4 1.6-35.5 3.7-11.1 2.1-22.4 5.6-34 10.4z"}}]},name:"amazon-square",theme:"filled"},_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Y}))}),K={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M270.1 741.7c0 23.4 19.1 42.5 42.6 42.5h48.7v120.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V784.1h85v120.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V784.1h48.7c23.5 0 42.6-19.1 42.6-42.5V346.4h-486v395.3zm357.1-600.1l44.9-65c2.6-3.8 2-8.9-1.5-11.4-3.5-2.4-8.5-1.2-11.1 2.6l-46.6 67.6c-30.7-12.1-64.9-18.8-100.8-18.8-35.9 0-70.1 6.7-100.8 18.8l-46.6-67.5c-2.6-3.8-7.6-5.1-11.1-2.6-3.5 2.4-4.1 7.4-1.5 11.4l44.9 65c-71.4 33.2-121.4 96.1-127.8 169.6h486c-6.6-73.6-56.7-136.5-128-169.7zM409.5 244.1a26.9 26.9 0 1126.9-26.9 26.97 26.97 0 01-26.9 26.9zm208.4 0a26.9 26.9 0 1126.9-26.9 26.97 26.97 0 01-26.9 26.9zm223.4 100.7c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V400.1c.1-30.6-24.3-55.3-54.6-55.3zm-658.6 0c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V400.1c0-30.6-24.5-55.3-54.6-55.3z"}}]},name:"android",theme:"filled"},U=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:K}))}),X={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M448.3 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32-13.4 32-31.9.1-18.4-13.4-31.9-32-31.9zm393.9 96.4c-13.8-13.8-32.7-21.5-53.2-21.5-3.9 0-7.4.4-10.7 1v-1h-3.6c-5.5-30.6-18.6-60.5-38.1-87.4-18.7-25.7-43-47.9-70.8-64.9l25.1-35.8v-3.3c0-.8.4-2.3.7-3.8.6-2.4 1.4-5.5 1.4-8.9 0-18.5-13.5-31.9-32-31.9-9.8 0-19.5 5.7-25.9 15.4l-29.3 42.1c-30-9.8-62.4-15-93.8-15-31.3 0-63.7 5.2-93.8 15L389 79.4c-6.6-9.6-16.1-15.4-26-15.4-18.6 0-32 13.4-32 31.9 0 6.2 2.5 12.8 6.7 17.4l22.6 32.3c-28.7 17-53.5 39.4-72.2 65.1-19.4 26.9-32 56.8-36.7 87.4h-5.5v1c-3.2-.6-6.7-1-10.7-1-20.3 0-39.2 7.5-53.1 21.3-13.8 13.8-21.5 32.6-21.5 53v235c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 3.9 0 7.4-.4 10.7-1v93.5c0 29.2 23.9 53.1 53.2 53.1H331v58.3c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-58.2H544v58.1c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.4 0 39.2-7.5 53.1-21.6 13.8-13.8 21.5-32.6 21.5-53v-58.2h31.9c29.3 0 53.2-23.8 53.2-53.1v-91.4c3.2.6 6.7 1 10.7 1 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-235c-.1-20.3-7.6-39-21.4-52.9zM246 609.6c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zm131.1-396.8c37.5-27.3 85.3-42.3 135-42.3s97.5 15.1 135 42.5c32.4 23.7 54.2 54.2 62.7 87.5H314.4c8.5-33.4 30.5-64 62.7-87.7zm39.3 674.7c-.6 5.6-4.4 8.7-10.5 8.7-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1zm202.3 8.7c-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1c-.6 5.6-4.3 8.7-10.5 8.7zm95.8-132.6H309.9V364h404.6v399.6zm85.2-154c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zM576.1 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32.1-13.4 32.1-32-.1-18.6-13.4-31.8-32.1-31.8z"}}]},name:"android",theme:"outlined"},G=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:X}))}),Q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M378.9 738c-3.1 0-6.1-.5-8.8-1.5l4.4 30.7h26.3l-15.5-29.9c-2.1.5-4.2.7-6.4.7zm421-291.2c-12.6 0-24.8 1.5-36.5 4.2-21.4-38.4-62.3-64.3-109.3-64.3-6.9 0-13.6.6-20.2 1.6-35.4-77.4-113.4-131.1-203.9-131.1-112.3 0-205.3 82.6-221.6 190.4C127.3 455.5 64 523.8 64 607c0 88.4 71.6 160.1 160 160.2h50l13.2-27.6c-26.2-8.3-43.3-29-39.1-48.8 4.6-21.6 32.8-33.9 63.1-27.5 22.9 4.9 40.4 19.1 45.5 35.1a26.1 26.1 0 0122.1-12.4h.2c-.8-3.2-1.2-6.5-1.2-9.9 0-20.1 14.8-36.7 34.1-39.6v-25.4c0-4.4 3.6-8 8-8s8 3.6 8 8v26.3c4.6 1.2 8.8 3.2 12.6 5.8l19.5-21.4c3-3.3 8-3.5 11.3-.5 3.3 3 3.5 8 .5 11.3l-20 22-.2.2a40 40 0 01-46.9 59.2c-.4 5.6-2.6 10.7-6 14.8l20 38.4H804v-.1c86.5-2.2 156-73 156-160.1 0-88.5-71.7-160.2-160.1-160.2zM338.2 737.2l-4.3 30h24.4l-5.9-41.5c-3.5 4.6-8.3 8.5-14.2 11.5zM797.5 305a48 48 0 1096 0 48 48 0 10-96 0zm-65.7 61.3a24 24 0 1048 0 24 24 0 10-48 0zM303.4 742.9l-11.6 24.3h26l3.5-24.7c-5.7.8-11.7 1-17.9.4z"}}]},name:"ant-cloud",theme:"outlined"},J=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Q}))}),ee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M716.3 313.8c19-18.9 19-49.7 0-68.6l-69.9-69.9.1.1c-18.5-18.5-50.3-50.3-95.3-95.2-21.2-20.7-55.5-20.5-76.5.5L80.9 474.2a53.84 53.84 0 000 76.4L474.6 944a54.14 54.14 0 0076.5 0l165.1-165c19-18.9 19-49.7 0-68.6a48.7 48.7 0 00-68.7 0l-125 125.2c-5.2 5.2-13.3 5.2-18.5 0L189.5 521.4c-5.2-5.2-5.2-13.3 0-18.5l314.4-314.2c.4-.4.9-.7 1.3-1.1 5.2-4.1 12.4-3.7 17.2 1.1l125.2 125.1c19 19 49.8 19 68.7 0zM408.6 514.4a106.3 106.2 0 10212.6 0 106.3 106.2 0 10-212.6 0zm536.2-38.6L821.9 353.5c-19-18.9-49.8-18.9-68.7.1a48.4 48.4 0 000 68.6l83 82.9c5.2 5.2 5.2 13.3 0 18.5l-81.8 81.7a48.4 48.4 0 000 68.6 48.7 48.7 0 0068.7 0l121.8-121.7a53.93 53.93 0 00-.1-76.4z"}}]},name:"ant-design",theme:"outlined"},et=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ee}))}),ec={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908 640H804V488c0-4.4-3.6-8-8-8H548v-96h108c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16H368c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h108v96H228c-4.4 0-8 3.6-8 8v152H116c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16H292v-88h440v88H620c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16zm-564 76v168H176V716h168zm84-408V140h168v168H428zm420 576H680V716h168v168z"}}]},name:"apartment",theme:"outlined"},en=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ec}))}),ea={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM578.9 546.7a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 68.9-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2z"}}]},name:"api",theme:"filled"},er=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ea}))}),el={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z"}}]},name:"api",theme:"outlined"},eo=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:el}))}),ei={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M148.2 674.6zm106.7-92.3c-25 25-38.7 58.1-38.7 93.4s13.8 68.5 38.7 93.4c25 25 58.1 38.7 93.4 38.7 35.3 0 68.5-13.8 93.4-38.7l59.4-59.4-186.8-186.8-59.4 59.4zm420.8-366.1c-35.3 0-68.5 13.8-93.4 38.7l-59.4 59.4 186.8 186.8 59.4-59.4c24.9-25 38.7-58.1 38.7-93.4s-13.8-68.5-38.7-93.4c-25-25-58.1-38.7-93.4-38.7z",fill:t}},{tag:"path",attrs:{d:"M578.9 546.7a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2a199.45 199.45 0 00-58.6 140.4c-.2 39.5 11.2 79.1 34.3 113.1l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7-24.9-24.9-38.7-58.1-38.7-93.4s13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4zm476-620.3l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7s68.4 13.7 93.4 38.7c24.9 24.9 38.7 58.1 38.7 93.4s-13.8 68.4-38.7 93.4z",fill:e}}]}},name:"api",theme:"twotone"},eu=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ei}))}),es={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"}}]},name:"apple",theme:"filled"},ef=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:es}))}),eh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-10.6 267c-14.3 19.9-28.7 35.6-41.9 45.7-10.5 8-18.6 11.4-24 11.6-9-.1-17.7-2.3-34.7-8.8-1.2-.5-2.5-1-4.2-1.6l-4.4-1.7c-17.4-6.7-27.8-10.3-41.1-13.8-18.6-4.8-37.1-7.4-56.9-7.4-20.2 0-39.2 2.5-58.1 7.2-13.9 3.5-25.6 7.4-42.7 13.8-.7.3-8.1 3.1-10.2 3.9-3.5 1.3-6.2 2.3-8.7 3.2-10.4 3.6-17 5.1-22.9 5.2-.7 0-1.3-.1-1.8-.2-1.1-.2-2.5-.6-4.1-1.3-4.5-1.8-9.9-5.1-16-9.8-14-10.9-29.4-28-45.1-49.9-27.5-38.6-53.5-89.8-66-125.7-15.4-44.8-23-87.7-23-128.6 0-60.2 17.8-106 48.4-137.1 26.3-26.6 61.7-41.5 97.8-42.3 5.9.1 14.5 1.5 25.4 4.5 8.6 2.3 18 5.4 30.7 9.9 3.8 1.4 16.9 6.1 18.5 6.7 7.7 2.8 13.5 4.8 19.2 6.6 18.2 5.8 32.3 9 47.6 9 15.5 0 28.8-3.3 47.7-9.8 7.1-2.4 32.9-12 37.5-13.6 25.6-9.1 44.5-14 60.8-15.2 4.8-.4 9.1-.4 13.2-.1 22.7 1.8 42.1 6.3 58.6 13.8-37.6 43.4-57 96.5-56.9 158.4-.3 14.7.9 31.7 5.1 51.8 6.4 30.5 18.6 60.7 37.9 89 14.7 21.5 32.9 40.9 54.7 57.8-11.5 23.7-25.6 48.2-40.4 68.8zm-94.5-572c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"}}]},name:"apple",theme:"outlined"},ed=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eh}))}),ev=c(56466),em=c(96991),eg=c(41156),ez={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm52-668H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z",fill:e}},{tag:"path",attrs:{d:"M212 212h200v200H212zm400 0h200v200H612zM212 612h200v200H212zm400 0h200v200H612z",fill:t}}]}},name:"appstore",theme:"twotone"},ep=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ez}))}),ew={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-616-64h536c4.4 0 8-3.6 8-8V284c0-7.2-8.7-10.7-13.7-5.7L592 488.6l-125.4-124a8.03 8.03 0 00-11.3 0l-189 189.6a7.87 7.87 0 00-2.3 5.6V720c0 4.4 3.6 8 8 8z"}}]},name:"area-chart",theme:"outlined"},eM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ew}))}),eZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},eH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eZ}))}),eb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},eV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eb}))}),eC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"},ex=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eC}))}),eE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 545.5L536.1 163a31.96 31.96 0 00-48.3 0L156 545.5a7.97 7.97 0 006 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z"}}]},name:"arrow-up",theme:"outlined"},eL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eE}))}),eR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"}}]},name:"arrows-alt",theme:"outlined"},ey=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eR}))}),eB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm330-170c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1z"}}]},name:"audio",theme:"filled"},eS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eB}))}),eO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M682 455V311l-76 76v68c-.1 50.7-42 92.1-94 92a95.8 95.8 0 01-52-15l-54 55c29.1 22.4 65.9 36 106 36 93.8 0 170-75.1 170-168z"}},{tag:"path",attrs:{d:"M833 446h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254-63 0-120.7-23-165-61l-54 54a334.01 334.01 0 00179 81v102H326c-13.9 0-24.9 14.3-25 32v36c.1 4.4 2.9 8 6 8h408c3.2 0 6-3.6 6-8v-36c0-17.7-11-32-25-32H547V782c165.3-17.9 294-157.9 294-328 0-4.4-3.6-8-8-8zm13.1-377.7l-43.5-41.9a8 8 0 00-11.2.1l-129 129C634.3 101.2 577 64 511 64c-93.9 0-170 75.3-170 168v224c0 6.7.4 13.3 1.2 19.8l-68 68A252.33 252.33 0 01258 454c-.2-4.4-3.8-8-8-8h-60c-4.4 0-8 3.6-8 8 0 53 12.5 103 34.6 147.4l-137 137a8.03 8.03 0 000 11.3l42.7 42.7c3.1 3.1 8.2 3.1 11.3 0L846.2 79.8l.1-.1c3.1-3.2 3-8.3-.2-11.4zM417 401V232c0-50.6 41.9-92 94-92 46 0 84.1 32.3 92.3 74.7L417 401z"}}]},name:"audio-muted",theme:"outlined"},ek=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eO}))}),eT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1zM512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-94-392c0-50.6 41.9-92 94-92s94 41.4 94 92v224c0 50.6-41.9 92-94 92s-94-41.4-94-92V232z"}}]},name:"audio",theme:"outlined"},e$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eT}))}),eF={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 552c54.3 0 98-43.2 98-96V232c0-52.8-43.7-96-98-96s-98 43.2-98 96v224c0 52.8 43.7 96 98 96z",fill:t}},{tag:"path",attrs:{d:"M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1z",fill:e}},{tag:"path",attrs:{d:"M512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-98-392c0-52.8 43.7-96 98-96s98 43.2 98 96v224c0 52.8-43.7 96-98 96s-98-43.2-98-96V232z",fill:e}}]}},name:"audio",theme:"twotone"},eI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eF}))}),eA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M296 250c-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-8H296zm184 144H296c-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-8zm-48 458H208V148h560v320c0 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 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm440-88H728v-36.6c46.3-13.8 80-56.6 80-107.4 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 50.7 33.7 93.6 80 107.4V764H520c-8.8 0-16 7.2-16 16v152c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16V780c0-8.8-7.2-16-16-16zM646 620c0-27.6 22.4-50 50-50s50 22.4 50 50-22.4 50-50 50-50-22.4-50-50zm180 266H566v-60h260v60z"}}]},name:"audit",theme:"outlined"},eD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eA}))}),eN={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M485.6 249.9L198.2 498c-8.3 7.1-8.3 20.8 0 27.9l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9zm320 0L518.2 498a18.6 18.6 0 00-6.2 14c0 5.2 2.1 10.4 6.2 14l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9z"}}]},name:"backward",theme:"filled"},eP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eN}))}),eq={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M485.6 249.9L198.2 498c-8.3 7.1-8.3 20.8 0 27.9l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9zm320 0L518.2 498a18.6 18.6 0 00-6.2 14c0 5.2 2.1 10.4 6.2 14l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9z"}}]},name:"backward",theme:"outlined"},eW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eq}))}),ej={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M250.02 547.04c92.37-19.8 79.77-130.07 76.95-154.18-4.56-37.2-48.26-102.16-107.63-97.02-74.7 6.7-85.65 114.58-85.65 114.58-10.04 49.88 24.2 156.43 116.33 136.62m84.7 214.14c10.28 38.7 43.95 40.43 43.95 40.43H427V683.55h-51.74c-23.22 6.96-34.5 25.1-36.98 32.8-2.74 7.8-8.71 27.6-3.57 44.83m169.07-531.1c0-72.42-41.13-131.08-92.2-131.08-50.92 0-92.21 58.66-92.21 131.07 0 72.5 41.3 131.16 92.2 131.16 51.08 0 92.21-58.66 92.21-131.16m248.1 9.1c8.86-54.92-35.08-118.88-83.34-129.82-48.34-11.1-108.7 66.28-114.18 116.74-6.55 61.72 8.79 123.28 76.86 132.06 68.16 8.87 112.03-63.87 120.65-118.97m46.35 433.02s-105.47-81.53-167-169.6c-83.4-129.91-201.98-77.05-241.62-11.02-39.47 66.03-101 107.87-109.7 118.9-8.87 10.93-127.36 74.8-101.07 191.55 26.28 116.65 118.73 114.5 118.73 114.5s68.08 6.7 147.1-10.94C523.7 888.03 591.7 910 591.7 910s184.57 61.72 235.07-57.18c50.41-118.97-28.53-180.61-28.53-180.61M362.42 849.17c-51.83-10.36-72.47-45.65-75.13-51.7-2.57-6.13-17.24-34.55-9.45-82.85 22.39-72.41 86.23-77.63 86.23-77.63h63.85v-78.46l54.4.82.08 289.82zm205.38-.83c-53.56-13.75-56.05-51.78-56.05-51.78V643.95l56.05-.92v137.12c3.4 14.59 21.65 17.32 21.65 17.32h56.88V643.95h59.62v204.39zm323.84-397.72c0-26.35-21.89-105.72-103.15-105.72-81.43 0-92.29 74.9-92.29 127.84 0 50.54 4.31 121.13 105.4 118.8 101.15-2.15 90.04-114.41 90.04-140.92"}}]},name:"baidu",theme:"outlined"},eY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ej}))}),e_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM381 836H264V462h117v374zm189 0H453V462h117v374zm190 0H642V462h118v374z"}}]},name:"bank",theme:"filled"},eK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:e_}))}),eU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM512 196.7l271.1 197.2H240.9L512 196.7zM264 462h117v374H264V462zm189 0h117v374H453V462zm307 374H642V462h118v374z"}}]},name:"bank",theme:"outlined"},eX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eU}))}),eG={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M240.9 393.9h542.2L512 196.7z",fill:t}},{tag:"path",attrs:{d:"M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM381 836H264V462h117v374zm189 0H453V462h117v374zm190 0H642V462h118v374zM240.9 393.9L512 196.7l271.1 197.2H240.9z",fill:e}}]}},name:"bank",theme:"twotone"},eQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:eG}))}),eJ=c(61086),e1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M120 160H72c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zm833 0h-48c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zM200 736h112c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8H200c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm321 0h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm126 0h178c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8H647c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm-255 0h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm-79 64H201c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm257 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm256 0H648c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h178c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-385 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"barcode",theme:"outlined"},e4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:e1}))}),e2=c(13728),e3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M420.3 470.3c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 00-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1a50.5 50.5 0 0017.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm86.5 286.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 01-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 01-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 01-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0138.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 00-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7z"}}]},name:"behance-circle",theme:"filled"},e8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:e3}))}),e6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M634 294.3h199.5v48.4H634zM434.1 485.8c44.1-21.1 67.2-53.2 67.2-102.8 0-98.1-73-121.9-157.3-121.9H112v492.4h238.5c89.4 0 173.3-43 173.3-143 0-61.8-29.2-107.5-89.7-124.7zM220.2 345.1h101.5c39.1 0 74.2 10.9 74.2 56.3 0 41.8-27.3 58.6-66 58.6H220.2V345.1zm115.5 324.8H220.1V534.3H338c47.6 0 77.7 19.9 77.7 70.3 0 49.6-35.9 65.3-80 65.3zm575.8-89.5c0-105.5-61.7-193.4-173.3-193.4-108.5 0-182.3 81.7-182.3 188.8 0 111 69.9 187.2 182.3 187.2 85.1 0 140.2-38.3 166.7-120h-86.3c-9.4 30.5-47.6 46.5-77.3 46.5-57.4 0-87.4-33.6-87.4-90.7h256.9c.3-5.9.7-12.1.7-18.4zM653.9 537c3.1-46.9 34.4-76.2 81.2-76.2 49.2 0 73.8 28.9 78.1 76.2H653.9z"}}]},name:"behance",theme:"outlined"},e0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:e6}))}),e5={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-32zM598.5 350.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 01-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 01-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 01-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0138.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 00-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7zm-248.5-10.1c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 00-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1s12.7-3.8 17.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8z"}}]},name:"behance-square",theme:"filled"},e7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:e5}))}),e9={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-32zM598.5 350.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 01-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 01-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 01-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0138.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 00-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7zm-248.5-10.1c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 00-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1s12.7-3.8 17.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8z"}}]},name:"behance-square",theme:"outlined"},te=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:e9}))}),tt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.8-240-277.2V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.8C336.3 170.2 232 286.9 232 428v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48z"}}]},name:"bell",theme:"filled"},tc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tt}))}),tn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"},ta=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tn}))}),tr={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 220c-55.6 0-107.8 21.6-147.1 60.9S304 372.4 304 428v340h416V428c0-55.6-21.6-107.8-60.9-147.1S567.6 220 512 220zm280 208c0-141.1-104.3-257.8-240-277.2v.1c135.7 19.4 240 136 240 277.1zM472 150.9v-.1C336.3 170.2 232 286.9 232 428c0-141.1 104.3-257.7 240-277.1z",fill:t}},{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zm208-120H304V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340z",fill:e}}]}},name:"bell",theme:"twotone"},tl=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tr}))}),to={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M766.4 744.3c43.7 0 79.4-36.2 79.4-80.5 0-53.5-79.4-140.8-79.4-140.8S687 610.3 687 663.8c0 44.3 35.7 80.5 79.4 80.5zm-377.1-44.1c7.1 7.1 18.6 7.1 25.6 0l256.1-256c7.1-7.1 7.1-18.6 0-25.6l-256-256c-.6-.6-1.3-1.2-2-1.7l-78.2-78.2a9.11 9.11 0 00-12.8 0l-48 48a9.11 9.11 0 000 12.8l67.2 67.2-207.8 207.9c-7.1 7.1-7.1 18.6 0 25.6l255.9 256zm12.9-448.6l178.9 178.9H223.4l178.8-178.9zM904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8z"}}]},name:"bg-colors",theme:"outlined"},ti=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:to}))}),tu={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M310.13 596.45c-8-4.46-16.5-8.43-25-11.9a273.55 273.55 0 00-26.99-7.44c-2.5-.99-2.5 1-2.5 1.49 0 7.93.5 18.84 1.5 27.77 1 7.44 2 15.37 4 22.8 0 .5 0 1 .5 1.5 1 .99 2 1.48 3 .49 8-4.46 16-8.43 23-13.39 7.5-5.45 15.5-11.9 22-18.35 1.5-1.48 0-2.47.5-2.97m323.95-11.9a273.55 273.55 0 00-27-7.44c-2.5-.99-2.5 1-2.5 1.49 0 7.93.5 18.84 1.5 27.77 1 7.43 2 15.37 4 22.8 0 .5 0 1 .5 1.5 1 .99 2 1.48 3 .49 8-4.46 16-8.43 23-13.39 7.5-5.45 15.5-11.9 22-18.35 2-1.48.5-2.47.5-2.97-7.5-4.46-16.5-8.43-25-11.9"}},{tag:"path",attrs:{d:"M741.5 112H283c-94.5 0-171 76.5-171 171.5v458c.5 94 77 170.5 171 170.5h458c94.5 0 171-76.5 171-170.5v-458c.5-95-76-171.5-170.5-171.5m95 343.5H852v48h-15.5zM741 454l2 43-13.5 1.5-5-44.5zm-23.5 0l4 45.5L707 501l-6.5-47.5h17zM487 455.5h15v48h-15zm-96-1.5l2 43-13.5 1.5-5-44.5zm-23.5 0l4 45.5-14.5 2-6-47.5zM364 603c-20.5 65.5-148 59.5-159.5 57.5-9-161.5-23-196.5-34.5-275.5l54.5-22.5c1 71.5 9 185 9 185s108.5-15.5 132 47c.5 3 0 6-1.5 8.5m20.5 35.5l-23.5-124h35.5l13 123zm44.5-8l-27-235 33.5-1.5 21 236H429zm34-175h17.5v48H467zm41 190h-26.5l-9.5-126h36zm210-43C693.5 668 566 662 554.5 660c-9-161-23-196-34.5-275l54.5-22.5c1 71.5 9 185 9 185S692 532 715.5 594c.5 3 0 6-1.5 8.5m19.5 36l-23-124H746l13 123zm45.5-8l-27.5-235L785 394l21 236h-27zm33.5-175H830v48h-13zm41 190H827l-9.5-126h36z"}}]},name:"bilibili",theme:"filled"},ts=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tu}))}),tf={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M235.52 616.57c16.73-.74 32.28-1.77 47.69-2.07 66.8-1.18 132.4 6.81 194.76 32 30.5 12.3 59.98 26.52 86.5 46.51 21.76 16.45 26.5 36.9 16.58 67.11-6.22 18.67-18.66 32.74-34.36 45.04-37.03 28.88-75.83 54.96-120.41 69.62A595.87 595.87 0 01330 898.04c-42.8 6.67-86.2 9.63-129.45 13.63-8.88.89-17.92-.3-26.8-.3-4.6 0-5.78-2.37-5.93-6.37-1.18-19.7-2.07-39.55-3.85-59.25a2609.47 2609.47 0 00-7.7-76.3c-4-35.4-8.44-70.66-12.89-105.92-4.59-37.18-9.33-74.21-13.77-111.4-4.44-36.3-8.44-72.73-13.18-109.03-5.34-41.48-11.26-82.96-16.89-124.44-6.66-49.03-15.85-97.62-28.43-145.47-.6-2.07 1.18-6.67 2.96-7.26 41.91-16.89 83.98-33.33 125.89-50.07 13.92-5.63 15.1-7.26 15.25 10.37.15 75.1.45 150.21 1.63 225.32.6 39.11 2.08 78.22 4.74 117.18 3.26 47.55 8.3 95.1 12.6 142.66 0 2.07.88 4 1.33 5.19m83.68 218.06a74372.3 74372.3 0 00114.78-86.96c-4.74-6.82-109.3-47.85-133.89-53.33 6.22 46.37 12.59 92.59 19.1 140.29m434.13-14.39c-19.94-202.14-36.78-406.5-75.32-609.67 12.55-1.48 25.1-3.25 37.8-4.3 14.63-1.32 29.4-1.92 44.01-3.1 12.26-1.04 16.84 2.22 17.58 14.22 2.21 32.13 4.13 64.26 6.35 96.4 2.95 43.39 6.05 86.92 9.15 130.31 2.22 31.25 4.14 62.64 6.65 93.89 2.8 34.2 5.9 68.27 9 102.47 2.22 25.18 4.3 50.5 6.8 75.68 2.66 27.24 5.61 54.49 8.42 81.74.74 7.85 1.62 15.7 2.21 23.54.3 4.3-2.06 4.89-6.05 4.45-21.7-2.23-43.42-3.85-66.6-5.63M572 527.15c17.62-2.51 34.64-5.32 51.66-7.25 12.29-1.48 24.72-1.63 37.01-2.81 6.66-.6 10.95 1.77 11.99 8.29 2.81 17.32 5.77 34.79 7.85 52.26 3.4 29.02 6.07 58.18 9.17 87.2 2.67 25.46 5.33 50.78 8.3 76.24 3.25 27.24 6.8 54.33 10.2 81.42 1.04 8 1.78 16.14 2.82 24.88a9507.1 9507.1 0 00-74.76 9.62C614.93 747.15 593.61 638.19 572 527.15m382 338.83c-24.08 0-47.28.14-70.47-.3-1.93 0-5.35-3.4-5.5-5.48-3.57-37.05-6.69-73.96-9.96-111l-9.37-103.16c-3.27-35.42-6.39-70.84-9.66-106.26-.15-2.07-.6-4-1.04-7.11 8.62-1.04 16.8-2.67 25.12-2.67 22.45 0 44.9.6 67.5 1.19 5.8.14 8.32 4 8.62 9.33.75 11.12 1.79 22.08 1.79 33.2.14 52.17-.15 104.48.3 156.65.44 41.65 1.78 83.44 2.67 125.08zM622.07 480c-5.3-42.57-10.62-84.1-16.07-127.4 13.86-.16 27.71-.6 41.42-.6 4.57 0 6.64 2.51 7.08 7.54 3.69 38.72 7.52 77.45 11.5 117.65-14.3.74-29.04 1.78-43.93 2.81M901 364.07c11.94 0 24.62-.15 37.45 0 6.42.14 9.55 2.67 9.55 10.24-.45 36.22-.15 72.45-.15 108.53V491c-15.37-.74-30.14-1.49-46.7-2.23-.15-41.12-.15-82.4-.15-124.7M568.57 489c-7.43-41.2-15-82.1-22.57-124.02 13.51-2.07 27.02-4.29 40.39-5.9 5.94-.75 4.9 4.42 5.2 7.67 1.63 13.88 2.81 27.6 4.3 41.49 2.37 21.7 4.75 43.4 6.98 64.96.3 2.8 0 5.76 0 8.86-11.29 2.36-22.57 4.58-34.3 6.94M839 365.16c12.72 0 25.43.15 38-.15 5.69-.15 7.78 1.04 7.63 7.56-.44 17.36.15 34.7.3 52.2.15 21.51 0 43.17 0 64.52-12.86 1.34-24.09 2.37-36.2 3.71-3.15-41.97-6.44-83.8-9.73-127.84"}}]},name:"bilibili",theme:"outlined"},th=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tf}))}),td={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M856 376H648V168c0-8.8-7.2-16-16-16H168c-8.8 0-16 7.2-16 16v464c0 8.8 7.2 16 16 16h208v208c0 8.8 7.2 16 16 16h464c8.8 0 16-7.2 16-16V392c0-8.8-7.2-16-16-16zm-480 16v188H220V220h360v156H392c-8.8 0-16 7.2-16 16zm204 52v136H444V444h136zm224 360H444V648h188c8.8 0 16-7.2 16-16V444h156v360z"}}]},name:"block",theme:"outlined"},tv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:td}))}),tm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M697.8 481.4c33.6-35 54.2-82.3 54.2-134.3v-10.2C752 229.3 663.9 142 555.3 142H259.4c-15.1 0-27.4 12.3-27.4 27.4v679.1c0 16.3 13.2 29.5 29.5 29.5h318.7c117 0 211.8-94.2 211.8-210.5v-11c0-73-37.4-137.3-94.2-175.1zM328 238h224.7c57.1 0 103.3 44.4 103.3 99.3v9.5c0 54.8-46.3 99.3-103.3 99.3H328V238zm366.6 429.4c0 62.9-51.7 113.9-115.5 113.9H328V542.7h251.1c63.8 0 115.5 51 115.5 113.9v10.8z"}}]},name:"bold",theme:"outlined"},tg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tm}))}),tz={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-32zM668 345.9L621.5 312 572 347.4V124h96v221.9z"}}]},name:"book",theme:"filled"},tp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tz}))}),tw=c(90389),tM={icon:function(e,t){return{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.4V136zM232 888V136h280v296.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-16V136h64v752H232z",fill:e}},{tag:"path",attrs:{d:"M668 345.9V136h-96v211.4l49.5-35.4z",fill:t}},{tag:"path",attrs:{d:"M727.9 136v296.5c0 8.8-7.2 16-16 16-3.4 0-6.7-1.1-9.4-3.1L621.1 386l-83.8 59.9a15.9 15.9 0 01-22.3-3.7c-2-2.7-3-6-3-9.3V136H232v752h559.9V136h-64z",fill:t}}]}},name:"book",theme:"twotone"},tZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tM}))}),tH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 808H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-720-94h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-498h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-166h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm166 166h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm222-72h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388-404h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388 426h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388-404h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"}}]},name:"border-bottom",theme:"outlined"},tb=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tH}))}),tV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M540 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm664 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"border-horizontal",theme:"outlined"},tC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tV}))}),tx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 476H548V144h-72v332H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v332h72V548h324c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-664h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM650 216h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-592h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-166 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-426h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 260h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"border-inner",theme:"outlined"},tE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tx}))}),tL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M208 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM540 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"border-left",theme:"outlined"},tR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tL}))}),ty={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-32zm-40 728H184V184h656v656zM484 366h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM302 548h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm364 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-182 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 182h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"}}]},name:"border-outer",theme:"outlined"},tB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ty}))}),tS={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-32zm-40 728H184V184h656v656z"}}]},name:"border",theme:"outlined"},tO=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tS}))}),tk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"border-right",theme:"outlined"},tT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tk}))}),t$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 144H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332-498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"border-top",theme:"outlined"},tF=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:t$}))}),tI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 476H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-664h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM650 216h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-592h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-166 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM208 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM152 382h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM208 642h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"border-verticle",theme:"outlined"},tA=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tI}))}),tD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M117 368h231v64H117zm559 0h241v64H676zm-264 0h200v64H412zm0 224h200v64H412zm264 0h241v64H676zm-559 0h231v64H117zm295-160V179h-64v666h64V592zm264-64V179h-64v666h64V432z"}}]},name:"borderless-table",theme:"outlined"},tN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tD}))}),tP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H448v432h344c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-728 80v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h152V296H232c-4.4 0-8 3.6-8 8z"}}]},name:"box-plot",theme:"filled"},tq=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tP}))}),tW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H232c-4.4 0-8 3.6-8 8v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h560c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zM296 368h88v288h-88V368zm432 288H448V368h280v288z"}}]},name:"box-plot",theme:"outlined"},tj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tW}))}),tY={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M296 368h88v288h-88zm152 0h280v288H448z",fill:t}},{tag:"path",attrs:{d:"M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H232c-4.4 0-8 3.6-8 8v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h560c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zM384 656h-88V368h88v288zm344 0H448V368h280v288z",fill:e}}]}},name:"box-plot",theme:"twotone"},t_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tY}))}),tK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0034.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm408-491a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"branches",theme:"outlined"},tU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tK}))}),tX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M304 280h416c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1a184.31 184.31 0 00-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9a184.31 184.31 0 00-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8a63 63 0 01-63 63H232a63 63 0 01-63-63c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7a273 273 0 0022.7 49c24.3 41.5 59 76.2 100.5 100.5 28.9 16.9 61 28.8 95.3 34.5 4.4 0 8-3.6 8-8V484c0-4.4 3.6-8 8-8h60c4.4 0 8 3.6 8 8v464.2c0 4.4 3.6 8 8 8 34.3-5.7 66.4-17.6 95.3-34.5a281.38 281.38 0 00123.2-149.5A120.4 120.4 0 01836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"bug",theme:"filled"},tG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tX}))}),tQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M304 280h56c4.4 0 8-3.6 8-8 0-28.3 5.9-53.2 17.1-73.5 10.6-19.4 26-34.8 45.4-45.4C450.9 142 475.7 136 504 136h16c28.3 0 53.2 5.9 73.5 17.1 19.4 10.6 34.8 26 45.4 45.4C650 218.9 656 243.7 656 272c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1a184.31 184.31 0 00-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9a184.31 184.31 0 00-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8a63 63 0 01-63 63H232a63 63 0 01-63-63c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7a273 273 0 0022.7 49c24.3 41.5 59 76.2 100.5 100.5S460.5 960 512 960s99.8-13.9 141.3-38.2a281.38 281.38 0 00123.2-149.5A120 120 0 01836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM716 680c0 36.8-9.7 72-27.8 102.9-17.7 30.3-43 55.6-73.3 73.3C584 874.3 548.8 884 512 884s-72-9.7-102.9-27.8c-30.3-17.7-55.6-43-73.3-73.3A202.75 202.75 0 01308 680V412h408v268z"}}]},name:"bug",theme:"outlined"},tJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:tQ}))}),t1={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0073.3 73.3A202.68 202.68 0 00512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0073.3-73.3A202.68 202.68 0 00716 680V412H308zm484 172v96c0 6.5-.22 12.95-.66 19.35C859.94 728.64 908 796.7 908 876a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-44.24-23.94-82.89-59.57-103.7a278.63 278.63 0 01-22.66 49.02 281.39 281.39 0 01-100.45 100.45C611.84 946.07 563.55 960 512 960s-99.84-13.93-141.32-38.23a281.39 281.39 0 01-100.45-100.45 278.63 278.63 0 01-22.66-49.02A119.95 119.95 0 00188 876a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-79.3 48.07-147.36 116.66-176.65A284.12 284.12 0 01232 680v-96H84a8 8 0 01-8-8v-56a8 8 0 018-8h148V412c-76.77 0-139-62.23-139-139a8 8 0 018-8h60a8 8 0 018 8 63 63 0 0063 63h560a63 63 0 0063-63 8 8 0 018-8h60a8 8 0 018 8c0 76.77-62.23 139-139 139v100h148a8 8 0 018 8v56a8 8 0 01-8 8H792zM368 272a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-40.04 8.78-76.75 25.9-108.07a184.57 184.57 0 0174.03-74.03C427.25 72.78 463.96 64 504 64h16c40.04 0 76.75 8.78 108.07 25.9a184.57 184.57 0 0174.03 74.03C719.22 195.25 728 231.96 728 272a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-28.33-5.94-53.15-17.08-73.53a112.56 112.56 0 00-45.39-45.4C573.15 141.95 548.33 136 520 136h-16c-28.33 0-53.15 5.94-73.53 17.08a112.56 112.56 0 00-45.4 45.39C373.95 218.85 368 243.67 368 272z",fill:e}},{tag:"path",attrs:{d:"M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0073.3 73.3A202.68 202.68 0 00512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0073.3-73.3A202.68 202.68 0 00716 680V412H308z",fill:t}}]}},name:"bug",theme:"twotone"},t4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:t1}))}),t2={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-32zM612 746H412V546h200v200zm268-268H680V278h200v200z"}}]},name:"build",theme:"filled"},t3=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:t2}))}),t8=c(50067),t6={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M144 546h200v200H144zm268-268h200v200H412z",fill:t}},{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-32zM344 746H144V546h200v200zm268 0H412V546h200v200zm0-268H412V278h200v200zm268 0H680V278h200v200z",fill:e}}]}},name:"build",theme:"twotone"},t0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:t6}))}),t5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M348 676.1C250 619.4 184 513.4 184 392c0-181.1 146.9-328 328-328s328 146.9 328 328c0 121.4-66 227.4-164 284.1V792c0 17.7-14.3 32-32 32H380c-17.7 0-32-14.3-32-32V676.1zM392 888h240c4.4 0 8 3.6 8 8v32c0 17.7-14.3 32-32 32H416c-17.7 0-32-14.3-32-32v-32c0-4.4 3.6-8 8-8z"}}]},name:"bulb",theme:"filled"},t7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:t5}))}),t9=c(64576),ce={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 136c-141.4 0-256 114.6-256 256 0 92.5 49.4 176.3 128.1 221.8l35.9 20.8V752h184V634.6l35.9-20.8C718.6 568.3 768 484.5 768 392c0-141.4-114.6-256-256-256z",fill:t}},{tag:"path",attrs:{d:"M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z",fill:e}}]}},name:"bulb",theme:"twotone"},ct=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ce}))}),cc={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-32zM440.2 765h-50.8c-2.2 0-4.5-1.1-5.9-2.9L348 718.6l-35.5 43.5a7.38 7.38 0 01-5.9 2.9h-50.8c-6.6 0-10.2-7.9-5.8-13.1l62.7-76.8-61.2-74.9c-4.3-5.2-.7-13.1 5.9-13.1h50.9c2.2 0 4.5 1.1 5.9 2.9l34 41.6 34-41.6c1.5-1.9 3.6-2.9 5.9-2.9h50.8c6.6 0 10.2 7.9 5.9 13.1L383.5 675l62.7 76.8c4.2 5.3.6 13.2-6 13.2zm7.8-382c0 2.2-1.4 4-3.2 4H376v68.7c0 1.9-1.8 3.3-4 3.3h-48c-2.2 0-4-1.4-4-3.2V387h-68.8c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4H320v-68.8c0-1.8 1.8-3.2 4-3.2h48c2.2 0 4 1.4 4 3.2V331h68.7c1.9 0 3.3 1.8 3.3 4v48zm328 369c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-104c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-265c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48z"}}]},name:"calculator",theme:"filled"},cn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cc}))}),ca={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M251.2 387H320v68.8c0 1.8 1.8 3.2 4 3.2h48c2.2 0 4-1.4 4-3.3V387h68.8c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H376v-68.8c0-1.8-1.8-3.2-4-3.2h-48c-2.2 0-4 1.4-4 3.2V331h-68.8c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm328 0h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0 265h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0 104h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm-195.7-81l61.2-74.9c4.3-5.2.7-13.1-5.9-13.1H388c-2.3 0-4.5 1-5.9 2.9l-34 41.6-34-41.6a7.85 7.85 0 00-5.9-2.9h-50.9c-6.6 0-10.2 7.9-5.9 13.1l61.2 74.9-62.7 76.8c-4.4 5.2-.8 13.1 5.8 13.1h50.8c2.3 0 4.5-1 5.9-2.9l35.5-43.5 35.5 43.5c1.5 1.8 3.7 2.9 5.9 2.9h50.8c6.6 0 10.2-7.9 5.9-13.1L383.5 675zM880 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-36 732H180V180h664v664z"}}]},name:"calculator",theme:"outlined"},cr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ca}))}),cl={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm256.2-75h-50.8c-2.2 0-4.5-1.1-5.9-2.9L348 718.6l-35.5 43.5a7.38 7.38 0 01-5.9 2.9h-50.8c-6.6 0-10.2-7.9-5.8-13.1l62.7-76.8-61.2-74.9c-4.3-5.2-.7-13.1 5.9-13.1h50.9c2.2 0 4.5 1.1 5.9 2.9l34 41.6 34-41.6c1.5-1.9 3.6-2.9 5.9-2.9h50.8c6.6 0 10.2 7.9 5.9 13.1L383.5 675l62.7 76.8c4.2 5.3.6 13.2-6 13.2zM576 335c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zm0 265c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zm0 104c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zM248 335c0-2.2 1.4-4 3.2-4H320v-68.8c0-1.8 1.8-3.2 4-3.2h48c2.2 0 4 1.4 4 3.2V331h68.7c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H376v68.7c0 1.9-1.8 3.3-4 3.3h-48c-2.2 0-4-1.4-4-3.2V387h-68.8c-1.8 0-3.2-1.8-3.2-4v-48z",fill:t}},{tag:"path",attrs:{d:"M383.5 675l61.3-74.8c4.3-5.2.7-13.1-5.9-13.1h-50.8c-2.3 0-4.4 1-5.9 2.9l-34 41.6-34-41.6a7.69 7.69 0 00-5.9-2.9h-50.9c-6.6 0-10.2 7.9-5.9 13.1l61.2 74.9-62.7 76.8c-4.4 5.2-.8 13.1 5.8 13.1h50.8c2.3 0 4.4-1 5.9-2.9l35.5-43.5 35.5 43.5c1.4 1.8 3.7 2.9 5.9 2.9h50.8c6.6 0 10.2-7.9 6-13.2L383.5 675zM251.2 387H320v68.8c0 1.8 1.8 3.2 4 3.2h48c2.2 0 4-1.4 4-3.3V387h68.8c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H376v-68.8c0-1.8-1.8-3.2-4-3.2h-48c-2.2 0-4 1.4-4 3.2V331h-68.8c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm328 369h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0-104h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0-265h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4z",fill:e}}]}},name:"calculator",theme:"twotone"},co=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cl}))}),ci={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M112 880c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V460H112v420zm768-696H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v176h800V216c0-17.7-14.3-32-32-32z"}}]},name:"calendar",theme:"filled"},cu=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ci}))}),cs=c(20841),cf={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v136h656V256H712v48z",fill:t}},{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zm0-448H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136z",fill:e}}]}},name:"calendar",theme:"twotone"},ch=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cf}))}),cd={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 260H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 260H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V340c0-44.2-35.8-80-80-80zM512 716c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160zm-96-160a96 96 0 10192 0 96 96 0 10-192 0z"}}]},name:"camera",theme:"filled"},cv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cd}))}),cm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456zM512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z"}}]},name:"camera",theme:"outlined"},cg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cm}))}),cz={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 320H677.2l-17.1-47.8-22.9-64.2H386.7l-22.9 64.2-17.1 47.8H160c-4.4 0-8 3.6-8 8v456c0 4.4 3.6 8 8 8h704c4.4 0 8-3.6 8-8V328c0-4.4-3.6-8-8-8zM512 704c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160z",fill:t}},{tag:"path",attrs:{d:"M512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z",fill:e}},{tag:"path",attrs:{d:"M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456z",fill:e}}]}},name:"camera",theme:"twotone"},cp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cz}))}),cw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M959 413.4L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM264 621c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm388 75c0 4.4-3.6 8-8 8H380c-4.4 0-8-3.6-8-8v-84c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v36h168v-36c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v84zm108-75c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zM220 418l72.7-199.9.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220z"}}]},name:"car",theme:"filled"},cM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cw}))}),cZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M380 704h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8zm340-123a40 40 0 1080 0 40 40 0 10-80 0zm239-167.6L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM840 517v237H184V517l15.6-43h624.8l15.6 43zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM224 581a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"car",theme:"outlined"},cH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cZ}))}),cb={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M199.6 474L184 517v237h656V517l-15.6-43H199.6zM264 621c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm388 75c0 4.4-3.6 8-8 8H380c-4.4 0-8-3.6-8-8v-84c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v36h168v-36c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v84zm108-75c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z",fill:t}},{tag:"path",attrs:{d:"M720 581a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}},{tag:"path",attrs:{d:"M959 413.4L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM840 754H184V517l15.6-43h624.8l15.6 43v237z",fill:e}},{tag:"path",attrs:{d:"M224 581a40 40 0 1080 0 40 40 0 10-80 0zm420 23h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"car",theme:"twotone"},cV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cb}))}),cC=c(68265),cx=c(39398),cE={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z"}}]},name:"caret-left",theme:"filled"},cL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cE}))}),cR=c(94155),cy={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"}}]},name:"caret-right",theme:"filled"},cB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cy}))}),cS=c(14313),cO={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:"filled"},ck=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cO}))}),cT=c(10010),c$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM694.5 432.7L481.9 725.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.1 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.8-6.6 13-6.6H688c6.5.1 10.3 7.5 6.5 12.8z"}}]},name:"carry-out",theme:"filled"},cF=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:c$}))}),cI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584zM688 420h-55.2c-5.1 0-10 2.5-13 6.6L468.9 634.4l-64.7-89c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.4 0-12.8-6.5-12.8z"}}]},name:"carry-out",theme:"outlined"},cA=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cI}))}),cD={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584z",fill:e}},{tag:"path",attrs:{d:"M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v584h656V256H712v48zm-17.5 128.8L481.9 725.5a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.2 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.9-6.6 13-6.6H688c6.5 0 10.3 7.4 6.5 12.8z",fill:t}},{tag:"path",attrs:{d:"M688 420h-55.2c-5.1 0-10 2.5-13 6.6L468.9 634.4l-64.7-89c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.4 0-12.8-6.5-12.8z",fill:e}}]}},name:"carry-out",theme:"twotone"},cN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cD}))}),cP=c(89739),cq=c(8751),cW={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm193.4 225.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.3 0 19.9 5 25.9 13.3l71.2 98.8 157.2-218c6-8.4 15.7-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.4 12.7z",fill:t}},{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z",fill:e}}]}},name:"check-circle",theme:"twotone"},cj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cW}))}),cY=c(63606),c_={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-32zM695.5 365.7l-210.6 292a31.8 31.8 0 01-51.7 0L308.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.3H689c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-square",theme:"filled"},cK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:c_}))}),cU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M433.1 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7H642c-10.2 0-19.9 4.9-25.9 13.3L459 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H315c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.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:"check-square",theme:"outlined"},cX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cU}))}),cG={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm130-367.8h46.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.3H688c6.5 0 10.3 7.4 6.5 12.7l-210.6 292a31.8 31.8 0 01-51.7 0L307.5 484.9c-3.8-5.3 0-12.7 6.5-12.7z",fill:t}},{tag:"path",attrs:{d:"M432.2 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7h-46.9c-10.3 0-19.9 5-25.9 13.3L458 584.3l-71.2-98.8c-6-8.4-15.7-13.3-25.9-13.3H314c-6.5 0-10.3 7.4-6.5 12.7l124.7 172.8z",fill:e}}]}},name:"check-square",theme:"twotone"},cQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cG}))}),cJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M371.8 512c0 77.5 62.7 140.2 140.2 140.2S652.2 589.5 652.2 512 589.5 371.8 512 371.8 371.8 434.4 371.8 512zM900 362.4l-234.3 12.1c63.6 74.3 64.6 181.5 11.1 263.7l-188 289.2c78 4.2 158.4-12.9 231.2-55.2 180-104 253-322.1 180-509.8zM320.3 591.9L163.8 284.1A415.35 415.35 0 0096 512c0 208 152.3 380.3 351.4 410.8l106.9-209.4c-96.6 18.2-189.9-34.8-234-121.5zm218.5-285.5l344.4 18.1C848 254.7 792.6 194 719.8 151.7 653.9 113.6 581.5 95.5 510.5 96c-122.5.5-242.2 55.2-322.1 154.5l128.2 196.9c32-91.9 124.8-146.7 222.2-141z"}}]},name:"chrome",theme:"filled"},c1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:cJ}))}),c4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 512.3v-.3c0-229.8-186.2-416-416-416S96 282.2 96 512v.4c0 229.8 186.2 416 416 416s416-186.2 416-416v-.3.2zm-6.7-74.6l.6 3.3-.6-3.3zM676.7 638.2c53.5-82.2 52.5-189.4-11.1-263.7l162.4-8.4c20.5 44.4 32 93.8 32 145.9 0 185.2-144.6 336.6-327.1 347.4l143.8-221.2zM512 652.3c-77.5 0-140.2-62.7-140.2-140.2 0-77.7 62.7-140.2 140.2-140.2S652.2 434.5 652.2 512 589.5 652.3 512 652.3zm369.2-331.7l-3-5.7 3 5.7zM512 164c121.3 0 228.2 62.1 290.4 156.2l-263.6-13.9c-97.5-5.7-190.2 49.2-222.3 141.1L227.8 311c63.1-88.9 166.9-147 284.2-147zM102.5 585.8c26 145 127.1 264 261.6 315.1C229.6 850 128.5 731 102.5 585.8zM164 512c0-55.9 13.2-108.7 36.6-155.5l119.7 235.4c44.1 86.7 137.4 139.7 234 121.6l-74 145.1C302.9 842.5 164 693.5 164 512zm324.7 415.4c4 .2 8 .4 12 .5-4-.2-8-.3-12-.5z"}}]},name:"chrome",theme:"outlined"},c2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:c4}))}),c3={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-63.6 656c-103 0-162.4-68.6-162.4-182.6v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-4-46.1-37.6-77.6-87-77.6-61.1 0-95.6 45.4-95.6 126.9v49.3c0 80.3 34.5 125.1 95.6 125.1 49.3 0 82.8-29.5 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z"}}]},name:"ci-circle",theme:"filled"},c8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:c3}))}),c6={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 372zm218-572.1h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z"}}]},name:"ci-circle",theme:"outlined"},c0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:c6}))}),c5={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-63.5 522.8c49.3 0 82.8-29.4 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5C345.4 720 286 651.4 286 537.4v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-3.9-46.1-37.5-77.6-87-77.6-61.1 0-95.6 45.4-95.7 126.8v49.3c0 80.3 34.5 125.2 95.6 125.2zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z",fill:t}},{tag:"path",attrs:{d:"M730 311.9h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z",fill:e}}]}},name:"ci-circle",theme:"twotone"},c7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:c5}))}),c9={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 372zm218-572.1h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z"}}]},name:"ci",theme:"outlined"},ne=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:c9}))}),nt={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-63.5 522.8c49.3 0 82.8-29.4 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5C345.4 720 286 651.4 286 537.4v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-3.9-46.1-37.5-77.6-87-77.6-61.1 0-95.6 45.4-95.7 126.8v49.3c0 80.3 34.5 125.2 95.6 125.2zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z",fill:t}},{tag:"path",attrs:{d:"M730 311.9h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z",fill:e}}]}},name:"ci",theme:"twotone"},nc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nt}))}),nn=c(52645),na={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 64zm176.5 585.7l-28.6 39a7.99 7.99 0 01-11.2 1.7L483.3 569.8a7.92 7.92 0 01-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z"}}]},name:"clock-circle",theme:"filled"},nr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:na}))}),nl=c(24019),no={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm176.5 509.7l-28.6 39a7.99 7.99 0 01-11.2 1.7L483.3 569.8a7.92 7.92 0 01-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z",fill:t}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.6-3.6 1.8-8.6-1.8-11.1z",fill:e}}]}},name:"clock-circle",theme:"twotone"},ni=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:no}))}),nu=c(4340),ns=c(18429),nf={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm171.8 527.1c1.2 1.5 1.9 3.3 1.9 5.2 0 4.5-3.6 8-8 8l-66-.3-99.3-118.4-99.3 118.5-66.1.3c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2L471 512.3l-130.1-155a8.32 8.32 0 01-1.9-5.2c0-4.5 3.6-8 8-8l66.1.3 99.3 118.4 99.4-118.5 66-.3c4.4 0 8 3.6 8 8 0 1.9-.6 3.8-1.8 5.2l-130.1 155 129.9 154.9z",fill:t}},{tag:"path",attrs:{d:"M685.8 352c0-4.4-3.6-8-8-8l-66 .3-99.4 118.5-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155-130.1 154.9a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3 99.3-118.5L611.7 680l66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.9 512.2l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z",fill:e}}]}},name:"close-circle",theme:"twotone"},nh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nf}))}),nd=c(97937),nv={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c17.7 0 32 14.3 32 32v736c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32zM639.98 338.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-square",theme:"filled"},nm=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nv}))}),ng={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c17.7 0 32 14.3 32 32v736c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32zm-40 72H184v656h656V184zM640.01 338.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-square",theme:"outlined"},nz=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ng}))}),np={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm163.9-473.9A7.95 7.95 0 01354 353h58.9c4.7 0 9.2 2.1 12.3 5.7L512 462.2l86.8-103.5c3-3.6 7.5-5.7 12.3-5.7H670c6.8 0 10.5 7.9 6.1 13.1L553.8 512l122.3 145.9c4.4 5.2.7 13.1-6.1 13.1h-58.9c-4.7 0-9.2-2.1-12.3-5.7L512 561.8l-86.8 103.5c-3 3.6-7.5 5.7-12.3 5.7H354c-6.8 0-10.5-7.9-6.1-13.1L470.2 512 347.9 366.1z",fill:t}},{tag:"path",attrs:{d:"M354 671h58.9c4.8 0 9.3-2.1 12.3-5.7L512 561.8l86.8 103.5c3.1 3.6 7.6 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.3-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.8 0-9.3 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3.1-3.6-7.6-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z",fill:e}}]}},name:"close-square",theme:"twotone"},nw=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:np}))}),nM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-download",theme:"outlined"},nZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nM}))}),nH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud",theme:"filled"},nb=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nH}))}),nV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 01-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 01140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0166.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z"}}]},name:"cloud",theme:"outlined"},nC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nV}))}),nx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z"}},{tag:"path",attrs:{d:"M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z"}},{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}}]},name:"cloud-server",theme:"outlined"},nE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nx}))}),nL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}},{tag:"path",attrs:{d:"M376.9 656.4c1.8-33.5 15.7-64.7 39.5-88.6 25.4-25.5 60-39.8 96-39.8 36.2 0 70.3 14.1 96 39.8 1.4 1.4 2.7 2.8 4.1 4.3l-25 19.6a8 8 0 003 14.1l98.2 24c5 1.2 9.9-2.6 9.9-7.7l.5-101.3c0-6.7-7.6-10.5-12.9-6.3L663 532.7c-36.6-42-90.4-68.6-150.5-68.6-107.4 0-195 85.1-199.4 191.7-.2 4.5 3.4 8.3 8 8.3H369c4.2-.1 7.7-3.4 7.9-7.7zM703 664h-47.9c-4.2 0-7.7 3.3-8 7.6-1.8 33.5-15.7 64.7-39.5 88.6-25.4 25.5-60 39.8-96 39.8-36.2 0-70.3-14.1-96-39.8-1.4-1.4-2.7-2.8-4.1-4.3l25-19.6a8 8 0 00-3-14.1l-98.2-24c-5-1.2-9.9 2.6-9.9 7.7l-.4 101.4c0 6.7 7.6 10.5 12.9 6.3l23.2-18.2c36.6 42 90.4 68.6 150.5 68.6 107.4 0 195-85.1 199.4-191.7.2-4.5-3.4-8.3-8-8.3z"}}]},name:"cloud-sync",theme:"outlined"},nR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nL}))}),ny={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M791.9 492l-37.8-10-13.8-36.5c-8.6-22.7-20.6-44.1-35.7-63.4a245.73 245.73 0 00-52.4-49.9c-41.1-28.9-89.5-44.2-140-44.2s-98.9 15.3-140 44.2a245.6 245.6 0 00-52.4 49.9 240.47 240.47 0 00-35.7 63.4l-13.9 36.6-37.9 9.9a125.7 125.7 0 00-66.1 43.7A123.1 123.1 0 00140 612c0 33.1 12.9 64.3 36.3 87.7 23.4 23.4 54.5 36.3 87.6 36.3h496.2c33.1 0 64.2-12.9 87.6-36.3A123.3 123.3 0 00884 612c0-56.2-37.8-105.5-92.1-120z",fill:t}},{tag:"path",attrs:{d:"M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 01-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 01140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0166.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z",fill:e}}]}},name:"cloud",theme:"twotone"},nB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ny}))}),nS={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-upload",theme:"outlined"},nO=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nS}))}),nk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 680h-54V540H546v-92h238c8.8 0 16-7.2 16-16V168c0-8.8-7.2-16-16-16H240c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h238v92H190v140h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8h-54v-72h220v72h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8h-54v-72h220v72h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8zM256 805.3c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zm288 0c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zM288 384V216h448v168H288zm544 421.3c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zM360 300a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"cluster",theme:"outlined"},nT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nk}))}),n$={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-32zM513.1 518.1l-192 161c-5.2 4.4-13.1.7-13.1-6.1v-62.7c0-2.3 1.1-4.6 2.9-6.1L420.7 512l-109.8-92.2a7.63 7.63 0 01-2.9-6.1V351c0-6.8 7.9-10.5 13.1-6.1l192 160.9c3.9 3.2 3.9 9.1 0 12.3zM716 673c0 4.4-3.4 8-7.5 8h-185c-4.1 0-7.5-3.6-7.5-8v-48c0-4.4 3.4-8 7.5-8h185c4.1 0 7.5 3.6 7.5 8v48z"}}]},name:"code",theme:"filled"},nF=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:n$}))}),nI=c(89035),nA={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 64zm243.7 589.2L512 794 268.3 653.2V371.8l110-63.6-.4-.2h.2L512 231l134 77h-.2l-.3.2 110.1 63.6v281.4zM307.9 536.7l87.6 49.9V681l96.7 55.9V524.8L307.9 418.4zm203.9-151.8L418 331l-91.1 52.6 185.2 107 185.2-106.9-91.4-52.8zm20 352l97.3-56.2v-94.1l87-49.5V418.5L531.8 525z"}}]},name:"code-sandbox-circle",theme:"filled"},nD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nA}))}),nN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M709.6 210l.4-.2h.2L512 96 313.9 209.8h-.2l.7.3L151.5 304v416L512 928l360.5-208V304l-162.9-94zM482.7 843.6L339.6 761V621.4L210 547.8V372.9l272.7 157.3v313.4zM238.2 321.5l134.7-77.8 138.9 79.7 139.1-79.9 135.2 78-273.9 158-274-158zM814 548.3l-128.8 73.1v139.1l-143.9 83V530.4L814 373.1v175.2z"}}]},name:"code-sandbox",theme:"outlined"},nP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nN}))}),nq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M307.9 536.7l87.6 49.9V681l96.7 55.9V524.8L307.9 418.4zM880 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-32zM755.7 653.2L512 794 268.3 653.2V371.8l110-63.6-.4-.2h.2L512 231l134 77h-.2l-.3.2 110.1 63.6v281.4zm-223.9 83.7l97.3-56.2v-94.1l87-49.5V418.5L531.8 525zm-20-352L418 331l-91.1 52.6 185.2 107 185.2-106.9-91.4-52.8z"}}]},name:"code-sandbox-square",theme:"filled"},nW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nq}))}),nj={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm339.5-223h185c4.1 0 7.5 3.6 7.5 8v48c0 4.4-3.4 8-7.5 8h-185c-4.1 0-7.5-3.6-7.5-8v-48c0-4.4 3.4-8 7.5-8zM308 610.3c0-2.3 1.1-4.6 2.9-6.1L420.7 512l-109.8-92.2a7.63 7.63 0 01-2.9-6.1V351c0-6.8 7.9-10.5 13.1-6.1l192 160.9c3.9 3.2 3.9 9.1 0 12.3l-192 161c-5.2 4.4-13.1.7-13.1-6.1v-62.7z",fill:t}},{tag:"path",attrs:{d:"M321.1 679.1l192-161c3.9-3.2 3.9-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48z",fill:e}}]}},name:"code",theme:"twotone"},nY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nj}))}),n_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M488.1 414.7V303.4L300.9 428l83.6 55.8zm254.1 137.7v-79.8l-59.8 39.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm278 533c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 01-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 01-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 01.8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-254.1 13.3v111.3L723.1 597l-83.6-55.8zM281.8 472.6v79.8l59.8-39.9zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zM723.1 428L535.9 303.4v111.3l103.6 69.1zM384.5 541.2L300.9 597l187.2 124.6V610.3l-103.6-69.1z"}}]},name:"codepen-circle",theme:"filled"},nK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:n_}))}),nU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M488.1 414.7V303.4L300.9 428l83.6 55.8zm254.1 137.7v-79.8l-59.8 39.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm278 533c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 01-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 01-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 01.8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-254.1 13.3v111.3L723.1 597l-83.6-55.8zM281.8 472.6v79.8l59.8-39.9zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zM723.1 428L535.9 303.4v111.3l103.6 69.1zM384.5 541.2L300.9 597l187.2 124.6V610.3l-103.6-69.1z"}}]},name:"codepen-circle",theme:"outlined"},nX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nU}))}),nG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M911.7 385.3l-.3-1.5c-.2-1-.3-1.9-.6-2.9-.2-.6-.4-1.1-.5-1.7-.3-.8-.5-1.7-.9-2.5-.2-.6-.5-1.1-.8-1.7-.4-.8-.8-1.5-1.2-2.3-.3-.5-.6-1.1-1-1.6-.8-1.2-1.7-2.4-2.6-3.6-.5-.6-1.1-1.3-1.7-1.9-.4-.5-.9-.9-1.4-1.3-.6-.6-1.3-1.1-1.9-1.6-.5-.4-1-.8-1.6-1.2-.2-.1-.4-.3-.6-.4L531.1 117.8a34.3 34.3 0 00-38.1 0L127.3 361.3c-.2.1-.4.3-.6.4-.5.4-1 .8-1.6 1.2-.7.5-1.3 1.1-1.9 1.6-.5.4-.9.9-1.4 1.3-.6.6-1.2 1.2-1.7 1.9-1 1.1-1.8 2.3-2.6 3.6-.3.5-.7 1-1 1.6-.4.7-.8 1.5-1.2 2.3-.3.5-.5 1.1-.8 1.7-.3.8-.6 1.7-.9 2.5-.2.6-.4 1.1-.5 1.7-.2.9-.4 1.9-.6 2.9l-.3 1.5c-.2 1.5-.3 3-.3 4.5v243.5c0 1.5.1 3 .3 4.5l.3 1.5.6 2.9c.2.6.3 1.1.5 1.7.3.9.6 1.7.9 2.5.2.6.5 1.1.8 1.7.4.8.7 1.5 1.2 2.3.3.5.6 1.1 1 1.6.5.7.9 1.4 1.5 2.1l1.2 1.5c.5.6 1.1 1.3 1.7 1.9.4.5.9.9 1.4 1.3.6.6 1.3 1.1 1.9 1.6.5.4 1 .8 1.6 1.2.2.1.4.3.6.4L493 905.7c5.6 3.8 12.3 5.8 19.1 5.8 6.6 0 13.3-1.9 19.1-5.8l365.6-243.5c.2-.1.4-.3.6-.4.5-.4 1-.8 1.6-1.2.7-.5 1.3-1.1 1.9-1.6.5-.4.9-.9 1.4-1.3.6-.6 1.2-1.2 1.7-1.9l1.2-1.5 1.5-2.1c.3-.5.7-1 1-1.6.4-.8.8-1.5 1.2-2.3.3-.5.5-1.1.8-1.7.3-.8.6-1.7.9-2.5.2-.5.4-1.1.5-1.7.3-.9.4-1.9.6-2.9l.3-1.5c.2-1.5.3-3 .3-4.5V389.8c-.3-1.5-.4-3-.6-4.5zM546.4 210.5l269.4 179.4-120.3 80.4-149-99.6V210.5zm-68.8 0v160.2l-149 99.6-120.3-80.4 269.3-179.4zM180.7 454.1l86 57.5-86 57.5v-115zm296.9 358.5L208.3 633.2l120.3-80.4 149 99.6v160.2zM512 592.8l-121.6-81.2L512 430.3l121.6 81.2L512 592.8zm34.4 219.8V652.4l149-99.6 120.3 80.4-269.3 179.4zM843.3 569l-86-57.5 86-57.5v115z"}}]},name:"codepen",theme:"outlined"},nQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nG}))}),nJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723.1 428L535.9 303.4v111.3l103.6 69.1zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zm23.9 154.2v111.3L723.1 597l-83.6-55.8zm-151.4-69.1L300.9 597l187.2 124.6V610.3l-103.6-69.1zM880 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-90 485c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 01-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 01-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 01.8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-47.8-44.6v-79.8l-59.8 39.9zm-460.4-79.8v79.8l59.8-39.9zm206.3-57.9V303.4L300.9 428l83.6 55.8z"}}]},name:"codepen-square",theme:"filled"},n1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:nJ}))}),n4={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M275 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm613 144H768c0-39.8-32.2-72-72-72H200c-39.8 0-72 32.2-72 72v248c0 3.4.2 6.7.7 9.9-.5 7-.7 14-.7 21.1 0 176.7 143.3 320 320 320 160.1 0 292.7-117.5 316.3-271H888c39.8 0 72-32.2 72-72V497c0-39.8-32.2-72-72-72zM696 681h-1.1c.7 7.6 1.1 15.2 1.1 23 0 137-111 248-248 248S200 841 200 704c0-7.8.4-15.4 1.1-23H200V425h496v256zm192-8H776V497h112v176zM613 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm-170 0c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36z"}}]},name:"coffee",theme:"outlined"},n2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:n4}))}),n3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z"}}]},name:"column-height",theme:"outlined"},n8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:n3}))}),n6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M180 176h-60c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8zm724 0h-60c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8zM785.3 504.3L657.7 403.6a7.23 7.23 0 00-11.7 5.7V476H378v-62.8c0-6-7-9.4-11.7-5.7L238.7 508.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h268v62.8c0 6 7 9.4 11.7 5.7l127.5-100.8c3.8-2.9 3.8-8.5.2-11.4z"}}]},name:"column-width",theme:"outlined"},n0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:n6}))}),n5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}},{tag:"path",attrs:{d:"M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z"}},{tag:"path",attrs:{d:"M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}}]},name:"comment",theme:"outlined"},n7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:n5}))}),n9={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 64zM327.3 702.4c-2 .9-4.4 0-5.3-2.1-.4-1-.4-2.2 0-3.2l98.7-225.5 132.1 132.1-225.5 98.7zm375.1-375.1l-98.7 225.5-132.1-132.1L697.1 322c2-.9 4.4 0 5.3 2.1.4 1 .4 2.1 0 3.2z"}}]},name:"compass",theme:"filled"},ae=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:n9}))}),at={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 372zm198.4-588.1a32 32 0 00-24.5.5L414.9 415 296.4 686c-3.6 8.2-3.6 17.5 0 25.7 3.4 7.8 9.7 13.9 17.7 17 3.8 1.5 7.7 2.2 11.7 2.2 4.4 0 8.7-.9 12.8-2.7l271-118.6 118.5-271a32.06 32.06 0 00-17.7-42.7zM576.8 534.4l26.2 26.2-42.4 42.4-26.2-26.2L380 644.4 447.5 490 422 464.4l42.4-42.4 25.5 25.5L644.4 380l-67.6 154.4zM464.4 422L422 464.4l25.5 25.6 86.9 86.8 26.2 26.2 42.4-42.4-26.2-26.2-86.8-86.9z"}}]},name:"compass",theme:"outlined"},ac=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:at}))}),an={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM327.6 701.7c-2 .9-4.4 0-5.3-2.1-.4-1-.4-2.2 0-3.2L421 470.9 553.1 603l-225.5 98.7zm375.1-375.1L604 552.1 471.9 420l225.5-98.7c2-.9 4.4 0 5.3 2.1.4 1 .4 2.1 0 3.2z",fill:t}},{tag:"path",attrs:{d:"M322.3 696.4c-.4 1-.4 2.2 0 3.2.9 2.1 3.3 3 5.3 2.1L553.1 603 421 470.9l-98.7 225.5zm375.1-375.1L471.9 420 604 552.1l98.7-225.5c.4-1.1.4-2.2 0-3.2-.9-2.1-3.3-3-5.3-2.1z",fill:e}},{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",fill:e}}]}},name:"compass",theme:"twotone"},aa=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:an}))}),ar={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M326 664H104c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h174v176c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V696c0-17.7-14.3-32-32-32zm16-576h-48c-8.8 0-16 7.2-16 16v176H104c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h222c17.7 0 32-14.3 32-32V104c0-8.8-7.2-16-16-16zm578 576H698c-17.7 0-32 14.3-32 32v224c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V744h174c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zm0-384H746V104c0-8.8-7.2-16-16-16h-48c-8.8 0-16 7.2-16 16v224c0 17.7 14.3 32 32 32h222c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16z"}}]},name:"compress",theme:"outlined"},al=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ar}))}),ao=c(9020),ai={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zM661 736h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.6-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H363a8 8 0 01-8-8.4c2.8-53.3 32-99.7 74.6-126.1a111.8 111.8 0 01-29.1-75.5c0-61.9 49.9-112 111.4-112 61.5 0 111.4 50.1 111.4 112 0 29.1-11 55.5-29.1 75.5 42.7 26.5 71.8 72.8 74.6 126.1.4 4.6-3.2 8.4-7.8 8.4zM512 474c-28.5 0-51.7 23.3-51.7 52s23.2 52 51.7 52c28.5 0 51.7-23.3 51.7-52s-23.2-52-51.7-52z"}}]},name:"contacts",theme:"filled"},au=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ai}))}),as={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M594.3 601.5a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1 8 8 0 008 8.4H407c4.2 0 7.6-3.3 7.9-7.5 3.8-50.6 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H661a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.7-126.1zM512 578c-28.5 0-51.7-23.3-51.7-52s23.2-52 51.7-52 51.7 23.3 51.7 52-23.2 52-51.7 52zm416-354H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z"}}]},name:"contacts",theme:"outlined"},af=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:as}))}),ah={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M460.3 526a51.7 52 0 10103.4 0 51.7 52 0 10-103.4 0z",fill:t}},{tag:"path",attrs:{d:"M768 352c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H548v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H328v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H136v496h752V296H768v56zM661 736h-43.8c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 39.9-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5h-43.9a8 8 0 01-8-8.4c2.8-53.3 31.9-99.6 74.6-126.1-18.1-20-29.1-46.4-29.1-75.5 0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.6-29.1 75.5 42.7 26.4 71.9 72.8 74.7 126.1a8 8 0 01-8 8.4z",fill:t}},{tag:"path",attrs:{d:"M594.3 601.5a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1 8 8 0 008 8.4H407c4.2 0 7.6-3.3 7.9-7.5 3.8-50.6 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H661a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.7-126.1zM512 578c-28.5 0-51.7-23.3-51.7-52s23.2-52 51.7-52 51.7 23.3 51.7 52-23.2 52-51.7 52z",fill:e}},{tag:"path",attrs:{d:"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z",fill:e}}]}},name:"contacts",theme:"twotone"},ad=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ah}))}),av={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 32v529c0-.6.4-1 1-1h219.3l5.2 24.7C397.6 708.5 450.8 752 512 752s114.4-43.5 126.4-103.3l5.2-24.7H863c.6 0 1 .4 1 1V96c0-17.7-14.3-32-32-32zM712 493c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8v48zm0-160c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8v48zm151 354H694.1c-11.6 32.8-32 62.3-59.1 84.7-34.5 28.6-78.2 44.3-123 44.3s-88.5-15.8-123-44.3a194.02 194.02 0 01-59.1-84.7H161c-.6 0-1-.4-1-1v242c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V686c0 .6-.4 1-1 1z"}}]},name:"container",theme:"filled"},am=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:av}))}),ag={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-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v-63H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v752zM320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 160h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}]},name:"container",theme:"outlined"},az=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ag}))}),ap={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M635 771.7c-34.5 28.6-78.2 44.3-123 44.3s-88.5-15.8-123-44.3a194.02 194.02 0 01-59.1-84.7H232v201h560V687h-97.9c-11.6 32.8-32 62.3-59.1 84.7z",fill:t}},{tag:"path",attrs:{d:"M320 501h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}},{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-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v201zm0-264H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v488z",fill:e}},{tag:"path",attrs:{d:"M320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"container",theme:"twotone"},aw=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ap}))}),aM={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-32zM404 683v77c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-77c-41.7-13.6-72-52.8-72-99s30.3-85.5 72-99V264c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v221c41.7 13.6 72 52.8 72 99s-30.3 85.5-72 99zm279.6-143.9c.2 0 .3-.1.4-.1v221c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V539c.2 0 .3.1.4.1-42-13.4-72.4-52.7-72.4-99.1 0-46.4 30.4-85.7 72.4-99.1-.2 0-.3.1-.4.1v-77c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v77c-.2 0-.3-.1-.4-.1 42 13.4 72.4 52.7 72.4 99.1 0 46.4-30.4 85.7-72.4 99.1zM616 440a36 36 0 1072 0 36 36 0 10-72 0zM403.4 566.5l-1.5-2.4c0-.1-.1-.1-.1-.2l-.9-1.2c-.1-.1-.2-.2-.2-.3-1-1.3-2-2.5-3.2-3.6l-.2-.2c-.4-.4-.8-.8-1.2-1.1-.8-.8-1.7-1.5-2.6-2.1h-.1l-1.2-.9c-.1-.1-.3-.2-.4-.3-1.2-.8-2.5-1.6-3.9-2.2-.2-.1-.5-.2-.7-.4-.4-.2-.7-.3-1.1-.5-.3-.1-.7-.3-1-.4-.5-.2-1-.4-1.5-.5-.4-.1-.9-.3-1.3-.4l-.9-.3-1.4-.3c-.2-.1-.5-.1-.7-.2-.7-.1-1.4-.3-2.1-.4-.2 0-.4 0-.6-.1-.6-.1-1.1-.1-1.7-.2-.2 0-.4 0-.7-.1-.8 0-1.5-.1-2.3-.1s-1.5 0-2.3.1c-.2 0-.4 0-.7.1-.6 0-1.2.1-1.7.2-.2 0-.4 0-.6.1-.7.1-1.4.2-2.1.4-.2.1-.5.1-.7.2l-1.4.3-.9.3c-.4.1-.9.3-1.3.4-.5.2-1 .4-1.5.5-.3.1-.7.3-1 .4-.4.2-.7.3-1.1.5-.2.1-.5.2-.7.4-1.3.7-2.6 1.4-3.9 2.2-.1.1-.3.2-.4.3l-1.2.9h-.1c-.9.7-1.8 1.4-2.6 2.1-.4.4-.8.7-1.2 1.1l-.2.2a54.8 54.8 0 00-3.2 3.6c-.1.1-.2.2-.2.3l-.9 1.2c0 .1-.1.1-.1.2l-1.5 2.4c-.1.2-.2.3-.3.5-2.7 5.1-4.3 10.9-4.3 17s1.6 12 4.3 17c.1.2.2.3.3.5l1.5 2.4c0 .1.1.1.1.2l.9 1.2c.1.1.2.2.2.3 1 1.3 2 2.5 3.2 3.6l.2.2c.4.4.8.8 1.2 1.1.8.8 1.7 1.5 2.6 2.1h.1l1.2.9c.1.1.3.2.4.3 1.2.8 2.5 1.6 3.9 2.2.2.1.5.2.7.4.4.2.7.3 1.1.5.3.1.7.3 1 .4.5.2 1 .4 1.5.5.4.1.9.3 1.3.4l.9.3 1.4.3c.2.1.5.1.7.2.7.1 1.4.3 2.1.4.2 0 .4 0 .6.1.6.1 1.1.1 1.7.2.2 0 .4 0 .7.1.8 0 1.5.1 2.3.1s1.5 0 2.3-.1c.2 0 .4 0 .7-.1.6 0 1.2-.1 1.7-.2.2 0 .4 0 .6-.1.7-.1 1.4-.2 2.1-.4.2-.1.5-.1.7-.2l1.4-.3.9-.3c.4-.1.9-.3 1.3-.4.5-.2 1-.4 1.5-.5.3-.1.7-.3 1-.4.4-.2.7-.3 1.1-.5.2-.1.5-.2.7-.4 1.3-.7 2.6-1.4 3.9-2.2.1-.1.3-.2.4-.3l1.2-.9h.1c.9-.7 1.8-1.4 2.6-2.1.4-.4.8-.7 1.2-1.1l.2-.2c1.1-1.1 2.2-2.4 3.2-3.6.1-.1.2-.2.2-.3l.9-1.2c0-.1.1-.1.1-.2l1.5-2.4c.1-.2.2-.3.3-.5 2.7-5.1 4.3-10.9 4.3-17s-1.6-12-4.3-17c-.1-.2-.2-.4-.3-.5z"}}]},name:"control",theme:"filled"},aZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aM}))}),aH=c(11186),ab={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M616 440a36 36 0 1072 0 36 36 0 10-72 0zM340.4 601.5l1.5 2.4c0 .1.1.1.1.2l.9 1.2c.1.1.2.2.2.3 1 1.3 2 2.5 3.2 3.6l.2.2c.4.4.8.8 1.2 1.1.8.8 1.7 1.5 2.6 2.1h.1l1.2.9c.1.1.3.2.4.3 1.2.8 2.5 1.6 3.9 2.2.2.1.5.2.7.4.4.2.7.3 1.1.5.3.1.7.3 1 .4.5.2 1 .4 1.5.5.4.1.9.3 1.3.4l.9.3 1.4.3c.2.1.5.1.7.2.7.1 1.4.3 2.1.4.2 0 .4 0 .6.1.6.1 1.1.1 1.7.2.2 0 .4 0 .7.1.8 0 1.5.1 2.3.1s1.5 0 2.3-.1c.2 0 .4 0 .7-.1.6 0 1.2-.1 1.7-.2.2 0 .4 0 .6-.1.7-.1 1.4-.2 2.1-.4.2-.1.5-.1.7-.2l1.4-.3.9-.3c.4-.1.9-.3 1.3-.4.5-.2 1-.4 1.5-.5.3-.1.7-.3 1-.4.4-.2.7-.3 1.1-.5.2-.1.5-.2.7-.4 1.3-.7 2.6-1.4 3.9-2.2.1-.1.3-.2.4-.3l1.2-.9h.1c.9-.7 1.8-1.4 2.6-2.1.4-.4.8-.7 1.2-1.1l.2-.2c1.1-1.1 2.2-2.4 3.2-3.6.1-.1.2-.2.2-.3l.9-1.2c0-.1.1-.1.1-.2l1.5-2.4c.1-.2.2-.3.3-.5 2.7-5.1 4.3-10.9 4.3-17s-1.6-12-4.3-17c-.1-.2-.2-.4-.3-.5l-1.5-2.4c0-.1-.1-.1-.1-.2l-.9-1.2c-.1-.1-.2-.2-.2-.3-1-1.3-2-2.5-3.2-3.6l-.2-.2c-.4-.4-.8-.8-1.2-1.1-.8-.8-1.7-1.5-2.6-2.1h-.1l-1.2-.9c-.1-.1-.3-.2-.4-.3-1.2-.8-2.5-1.6-3.9-2.2-.2-.1-.5-.2-.7-.4-.4-.2-.7-.3-1.1-.5-.3-.1-.7-.3-1-.4-.5-.2-1-.4-1.5-.5-.4-.1-.9-.3-1.3-.4l-.9-.3-1.4-.3c-.2-.1-.5-.1-.7-.2-.7-.1-1.4-.3-2.1-.4-.2 0-.4 0-.6-.1-.6-.1-1.1-.1-1.7-.2-.2 0-.4 0-.7-.1-.8 0-1.5-.1-2.3-.1s-1.5 0-2.3.1c-.2 0-.4 0-.7.1-.6 0-1.2.1-1.7.2-.2 0-.4 0-.6.1-.7.1-1.4.2-2.1.4-.2.1-.5.1-.7.2l-1.4.3-.9.3c-.4.1-.9.3-1.3.4-.5.2-1 .4-1.5.5-.3.1-.7.3-1 .4-.4.2-.7.3-1.1.5-.2.1-.5.2-.7.4-1.3.7-2.6 1.4-3.9 2.2-.1.1-.3.2-.4.3l-1.2.9h-.1c-.9.7-1.8 1.4-2.6 2.1-.4.4-.8.7-1.2 1.1l-.2.2a54.8 54.8 0 00-3.2 3.6c-.1.1-.2.2-.2.3l-.9 1.2c0 .1-.1.1-.1.2l-1.5 2.4c-.1.2-.2.3-.3.5-2.7 5.1-4.3 10.9-4.3 17s1.6 12 4.3 17c.1.2.2.3.3.5z",fill:t}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm436.4-499.1c-.2 0-.3.1-.4.1v-77c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v77c-.2 0-.3-.1-.4-.1 42 13.4 72.4 52.7 72.4 99.1 0 46.4-30.4 85.7-72.4 99.1.2 0 .3-.1.4-.1v221c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V539c.2 0 .3.1.4.1-42-13.4-72.4-52.7-72.4-99.1 0-46.4 30.4-85.7 72.4-99.1zM340 485V264c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v221c41.7 13.6 72 52.8 72 99s-30.3 85.5-72 99v77c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-77c-41.7-13.6-72-52.8-72-99s30.3-85.5 72-99z",fill:t}},{tag:"path",attrs:{d:"M340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c41.7-13.5 72-52.8 72-99s-30.3-85.4-72-99V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c-41.7 13.5-72 52.8-72 99s30.3 85.4 72 99zm.1-116c.1-.2.2-.3.3-.5l1.5-2.4c0-.1.1-.1.1-.2l.9-1.2c0-.1.1-.2.2-.3 1-1.2 2.1-2.5 3.2-3.6l.2-.2c.4-.4.8-.7 1.2-1.1.8-.7 1.7-1.4 2.6-2.1h.1l1.2-.9c.1-.1.3-.2.4-.3 1.3-.8 2.6-1.5 3.9-2.2.2-.2.5-.3.7-.4.4-.2.7-.3 1.1-.5.3-.1.7-.3 1-.4.5-.1 1-.3 1.5-.5.4-.1.9-.3 1.3-.4l.9-.3 1.4-.3c.2-.1.5-.1.7-.2.7-.2 1.4-.3 2.1-.4.2-.1.4-.1.6-.1.5-.1 1.1-.2 1.7-.2.3-.1.5-.1.7-.1.8-.1 1.5-.1 2.3-.1s1.5.1 2.3.1c.3.1.5.1.7.1.6.1 1.1.1 1.7.2.2.1.4.1.6.1.7.1 1.4.3 2.1.4.2.1.5.1.7.2l1.4.3.9.3c.4.1.9.3 1.3.4.5.1 1 .3 1.5.5.3.1.7.3 1 .4.4.2.7.3 1.1.5.2.2.5.3.7.4 1.4.6 2.7 1.4 3.9 2.2.1.1.3.2.4.3l1.2.9h.1c.9.6 1.8 1.3 2.6 2.1.4.3.8.7 1.2 1.1l.2.2c1.2 1.1 2.2 2.3 3.2 3.6 0 .1.1.2.2.3l.9 1.2c0 .1.1.1.1.2l1.5 2.4A36.03 36.03 0 01408 584c0 6.1-1.6 11.9-4.3 17-.1.2-.2.3-.3.5l-1.5 2.4c0 .1-.1.1-.1.2l-.9 1.2c0 .1-.1.2-.2.3-1 1.2-2.1 2.5-3.2 3.6l-.2.2c-.4.4-.8.7-1.2 1.1-.8.7-1.7 1.4-2.6 2.1h-.1l-1.2.9c-.1.1-.3.2-.4.3-1.3.8-2.6 1.5-3.9 2.2-.2.2-.5.3-.7.4-.4.2-.7.3-1.1.5-.3.1-.7.3-1 .4-.5.1-1 .3-1.5.5-.4.1-.9.3-1.3.4l-.9.3-1.4.3c-.2.1-.5.1-.7.2-.7.2-1.4.3-2.1.4-.2.1-.4.1-.6.1-.5.1-1.1.2-1.7.2-.3.1-.5.1-.7.1-.8.1-1.5.1-2.3.1s-1.5-.1-2.3-.1c-.3-.1-.5-.1-.7-.1-.6-.1-1.1-.1-1.7-.2-.2-.1-.4-.1-.6-.1-.7-.1-1.4-.3-2.1-.4-.2-.1-.5-.1-.7-.2l-1.4-.3-.9-.3c-.4-.1-.9-.3-1.3-.4-.5-.1-1-.3-1.5-.5-.3-.1-.7-.3-1-.4-.4-.2-.7-.3-1.1-.5-.2-.2-.5-.3-.7-.4-1.4-.6-2.7-1.4-3.9-2.2-.1-.1-.3-.2-.4-.3l-1.2-.9h-.1c-.9-.6-1.8-1.3-2.6-2.1-.4-.3-.8-.7-1.2-1.1l-.2-.2c-1.2-1.1-2.2-2.3-3.2-3.6 0-.1-.1-.2-.2-.3l-.9-1.2c0-.1-.1-.1-.1-.2l-1.5-2.4c-.1-.2-.2-.3-.3-.5-2.7-5-4.3-10.9-4.3-17s1.6-11.9 4.3-17zm280.3-27.9c-.1 0-.2-.1-.4-.1v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-.1 0-.2.1-.4.1 42-13.4 72.4-52.7 72.4-99.1 0-46.4-30.4-85.7-72.4-99.1.1 0 .2.1.4.1v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c.1 0 .2-.1.4-.1-42 13.4-72.4 52.7-72.4 99.1 0 46.4 30.4 85.7 72.4 99.1zM652 404c19.9 0 36 16.1 36 36s-16.1 36-36 36-36-16.1-36-36 16.1-36 36-36z",fill:e}}]}},name:"control",theme:"twotone"},aV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ab}))}),aC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM382 896h-.2L232 746.2v-.2h150v150z"}}]},name:"copy",theme:"filled"},ax=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aC}))}),aE=c(57132),aL={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 706h142c22.1 0 40 17.9 40 40v142h250V264H232v442z",fill:t}},{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32z",fill:e}},{tag:"path",attrs:{d:"M704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z",fill:e}}]}},name:"copy",theme:"twotone"},aR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aL}))}),ay={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 64zm5.4 670c-110 0-173.4-73.2-173.4-194.9v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.6-3.2-8-7.4-4-49.5-40-83.4-93-83.4-65.3 0-102.1 48.5-102.1 135.5v52.6c0 85.7 36.9 133.6 102.1 133.6 52.8 0 88.7-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4z"}}]},name:"copyright-circle",theme:"filled"},aB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ay}))}),aS={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 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright-circle",theme:"outlined"},aO=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aS}))}),ak={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm5.5 533c52.9 0 88.8-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4C407.4 734 344 660.8 344 539.1v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.7-3.2-8-7.4-4-49.6-40-83.4-93-83.4-65.2 0-102.1 48.5-102.2 135.5v52.6c0 85.7 36.8 133.6 102.1 133.6z",fill:t}},{tag:"path",attrs:{d:"M517.6 351.3c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z",fill:e}}]}},name:"copyright-circle",theme:"twotone"},aT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ak}))}),a$={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 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright",theme:"outlined"},aF=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:a$}))}),aI={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm5.5 533c52.9 0 88.8-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4C407.4 734 344 660.8 344 539.1v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.7-3.2-8-7.4-4-49.6-40-83.4-93-83.4-65.2 0-102.1 48.5-102.2 135.5v52.6c0 85.7 36.8 133.6 102.1 133.6z",fill:t}},{tag:"path",attrs:{d:"M517.6 351.3c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z",fill:e}}]}},name:"copyright",theme:"twotone"},aA=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aI}))}),aD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v160h896V192c0-17.7-14.3-32-32-32zM64 832c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V440H64v392zm579-184c0-4.4 3.6-8 8-8h165c4.4 0 8 3.6 8 8v72c0 4.4-3.6 8-8 8H651c-4.4 0-8-3.6-8-8v-72z"}}]},name:"credit-card",theme:"filled"},aN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aD}))}),aP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-792 72h752v120H136V232zm752 560H136V440h752v352zm-237-64h165c4.4 0 8-3.6 8-8v-72c0-4.4-3.6-8-8-8H651c-4.4 0-8 3.6-8 8v72c0 4.4 3.6 8 8 8z"}}]},name:"credit-card",theme:"outlined"},aq=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aP}))}),aW={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M136 792h752V440H136v352zm507-144c0-4.4 3.6-8 8-8h165c4.4 0 8 3.6 8 8v72c0 4.4-3.6 8-8 8H651c-4.4 0-8-3.6-8-8v-72zM136 232h752v120H136z",fill:t}},{tag:"path",attrs:{d:"M651 728h165c4.4 0 8-3.6 8-8v-72c0-4.4-3.6-8-8-8H651c-4.4 0-8 3.6-8 8v72c0 4.4 3.6 8 8 8z",fill:e}},{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V440h752v352zm0-440H136V232h752v120z",fill:e}}]}},name:"credit-card",theme:"twotone"},aj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aW}))}),aY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zM512 734.2c-62.1 0-112.6-50.5-112.6-112.6S449.9 509 512 509s112.6 50.5 112.6 112.6S574.1 734.2 512 734.2zm0-160.9c-26.6 0-48.2 21.6-48.2 48.3 0 26.6 21.6 48.3 48.2 48.3s48.2-21.6 48.2-48.3c0-26.6-21.6-48.3-48.2-48.3z"}}]},name:"crown",theme:"filled"},a_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aY}))}),aK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zm-126 534.1H250.3l-53.8-409.4 139.8 86.1L512 252.9l175.7 234.4 139.8-86.1-53.9 409.4zM512 509c-62.1 0-112.6 50.5-112.6 112.6S449.9 734.2 512 734.2s112.6-50.5 112.6-112.6S574.1 509 512 509zm0 160.9c-26.6 0-48.2-21.6-48.2-48.3 0-26.6 21.6-48.3 48.2-48.3s48.2 21.6 48.2 48.3c0 26.6-21.6 48.3-48.2 48.3z"}}]},name:"crown",theme:"outlined"},aU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aK}))}),aX={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M911.9 283.9v.5L835.5 865c-1 8-7.9 14-15.9 14H204.5c-8.1 0-14.9-6.1-16-14l-76.4-580.6v-.6 1.6L188.5 866c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.1-.5.1-1 0-1.5z",fill:t}},{tag:"path",attrs:{d:"M773.6 810.6l53.9-409.4-139.8 86.1L512 252.9 336.3 487.3l-139.8-86.1 53.8 409.4h523.3zm-374.2-189c0-62.1 50.5-112.6 112.6-112.6s112.6 50.5 112.6 112.6v1c0 62.1-50.5 112.6-112.6 112.6s-112.6-50.5-112.6-112.6v-1z",fill:t}},{tag:"path",attrs:{d:"M512 734.2c61.9 0 112.3-50.2 112.6-112.1v-.5c0-62.1-50.5-112.6-112.6-112.6s-112.6 50.5-112.6 112.6v.5c.3 61.9 50.7 112.1 112.6 112.1zm0-160.9c26.6 0 48.2 21.6 48.2 48.3 0 26.6-21.6 48.3-48.2 48.3s-48.2-21.6-48.2-48.3c0-26.6 21.6-48.3 48.2-48.3z",fill:e}},{tag:"path",attrs:{d:"M188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6v-.5c.3-6.4-6.7-10.8-12.3-7.4L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.5-3.4-12.6.9-12.2 7.3v.6L188.5 865zm147.8-377.7L512 252.9l175.7 234.4 139.8-86.1-53.9 409.4H250.3l-53.8-409.4 139.8 86.1z",fill:e}}]}},name:"crown",theme:"twotone"},aG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aX}))}),aQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384z"}}]},name:"customer-service",theme:"filled"},aJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:aQ}))}),a1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384zM328 632v192H200V632h128zm496 192H696V632h128v192z"}}]},name:"customer-service",theme:"outlined"},a4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:a1}))}),a2={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 632h128v192H696zm-496 0h128v192H200z",fill:t}},{tag:"path",attrs:{d:"M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384zM328 632v192H200V632h128zm496 192H696V632h128v192z",fill:e}}]}},name:"customer-service",theme:"twotone"},a3=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:a2}))}),a8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M112 476h160v72H112zm320 0h160v72H432zm320 0h160v72H752z"}}]},name:"dash",theme:"outlined"},a6=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:a8}))}),a0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM482 232c0-4.4 3.6-8 8-8h44c4.4 0 8 3.6 8 8v80c0 4.4-3.6 8-8 8h-44c-4.4 0-8-3.6-8-8v-80zM270 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44zm90.7-204.5l-31.1 31.1a8.03 8.03 0 01-11.3 0L261.7 352a8.03 8.03 0 010-11.3l31.1-31.1c3.1-3.1 8.2-3.1 11.3 0l56.6 56.6c3.1 3.1 3.1 8.2 0 11.3zm291.1 83.6l-84.5 84.5c5 18.7.2 39.4-14.5 54.1a55.95 55.95 0 01-79.2 0 55.95 55.95 0 010-79.2 55.87 55.87 0 0154.1-14.5l84.5-84.5c3.1-3.1 8.2-3.1 11.3 0l28.3 28.3c3.1 3.1 3.1 8.1 0 11.3zm43-52.4l-31.1-31.1a8.03 8.03 0 010-11.3l56.6-56.6c3.1-3.1 8.2-3.1 11.3 0l31.1 31.1c3.1 3.1 3.1 8.2 0 11.3l-56.6 56.6a8.03 8.03 0 01-11.3 0zM846 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44z"}}]},name:"dashboard",theme:"filled"},a5=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:a0}))}),a7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276zM623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z"}}]},name:"dashboard",theme:"outlined"},a9=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:a7}))}),re={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 188c-99.3 0-192.7 38.7-263 109-70.3 70.2-109 163.6-109 263 0 105.6 44.5 205.5 122.6 276h498.8A371.12 371.12 0 00884 560c0-99.3-38.7-192.7-109-263-70.2-70.3-163.6-109-263-109zm-30 44c0-4.4 3.6-8 8-8h44c4.4 0 8 3.6 8 8v80c0 4.4-3.6 8-8 8h-44c-4.4 0-8-3.6-8-8v-80zM270 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44zm90.7-204.4l-31.1 31.1a8.03 8.03 0 01-11.3 0l-56.6-56.6a8.03 8.03 0 010-11.3l31.1-31.1c3.1-3.1 8.2-3.1 11.3 0l56.6 56.6c3.1 3.1 3.1 8.2 0 11.3zm291.1 83.5l-84.5 84.5c5 18.7.2 39.4-14.5 54.1a55.95 55.95 0 01-79.2 0 55.95 55.95 0 010-79.2 55.87 55.87 0 0154.1-14.5l84.5-84.5c3.1-3.1 8.2-3.1 11.3 0l28.3 28.3c3.1 3.1 3.1 8.2 0 11.3zm43-52.4l-31.1-31.1a8.03 8.03 0 010-11.3l56.6-56.6c3.1-3.1 8.2-3.1 11.3 0l31.1 31.1c3.1 3.1 3.1 8.2 0 11.3l-56.6 56.6a8.03 8.03 0 01-11.3 0zM846 538v44c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8z",fill:t}},{tag:"path",attrs:{d:"M623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8z",fill:e}},{tag:"path",attrs:{d:"M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276z",fill:e}},{tag:"path",attrs:{d:"M762.7 340.8l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zM750 538v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zM304.1 309.7a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"dashboard",theme:"twotone"},rt=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:re}))}),rc={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 32v224h704V96c0-17.7-14.3-32-32-32zM288 232c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zM160 928c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V704H160v224zm128-136c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM160 640h704V384H160v256zm128-168c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z"}}]},name:"database",theme:"filled"},rn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rc}))}),ra=c(13520),rr={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 616h560V408H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 888h560V680H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 344h560V136H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M304 512a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0-544a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}},{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-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z",fill:e}}]}},name:"database",theme:"twotone"},rl=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rr}))}),ro={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M651.1 641.9a7.84 7.84 0 00-5.1-1.9h-54.7c-2.4 0-4.6 1.1-6.1 2.9L512 730.7l-73.1-87.8a8.1 8.1 0 00-6.1-2.9H378c-1.9 0-3.7.7-5.1 1.9a7.97 7.97 0 00-1 11.3L474.2 776 371.8 898.9a8.06 8.06 0 006.1 13.2h54.7c2.4 0 4.6-1.1 6.1-2.9l73.1-87.8 73.1 87.8a8.1 8.1 0 006.1 2.9h55c1.9 0 3.7-.7 5.1-1.9 3.4-2.8 3.9-7.9 1-11.3L549.8 776l102.4-122.9c2.8-3.4 2.3-8.4-1.1-11.2zM472 544h80c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8zM350 386H184V136c0-3.3-2.7-6-6-6h-60c-3.3 0-6 2.7-6 6v292c0 16.6 13.4 30 30 30h208c3.3 0 6-2.7 6-6v-60c0-3.3-2.7-6-6-6zm556-256h-60c-3.3 0-6 2.7-6 6v250H674c-3.3 0-6 2.7-6 6v60c0 3.3 2.7 6 6 6h208c16.6 0 30-13.4 30-30V136c0-3.3-2.7-6-6-6z"}}]},name:"delete-column",theme:"outlined"},ri=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ro}))}),ru=c(27704),rs=c(48689),rf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M819.8 512l102.4-122.9a8.06 8.06 0 00-6.1-13.2h-54.7c-2.4 0-4.6 1.1-6.1 2.9L782 466.7l-73.1-87.8a8.1 8.1 0 00-6.1-2.9H648c-1.9 0-3.7.7-5.1 1.9a7.97 7.97 0 00-1 11.3L744.2 512 641.8 634.9a8.06 8.06 0 006.1 13.2h54.7c2.4 0 4.6-1.1 6.1-2.9l73.1-87.8 73.1 87.8a8.1 8.1 0 006.1 2.9h55c1.9 0 3.7-.7 5.1-1.9 3.4-2.8 3.9-7.9 1-11.3L819.8 512zM536 464H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h416c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-84 204h-60c-3.3 0-6 2.7-6 6v166H136c-3.3 0-6 2.7-6 6v60c0 3.3 2.7 6 6 6h292c16.6 0 30-13.4 30-30V674c0-3.3-2.7-6-6-6zM136 184h250v166c0 3.3 2.7 6 6 6h60c3.3 0 6-2.7 6-6V142c0-16.6-13.4-30-30-30H136c-3.3 0-6 2.7-6 6v60c0 3.3 2.7 6 6 6z"}}]},name:"delete-row",theme:"outlined"},rh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rf}))}),rd={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"},rv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rd}))}),rm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},rg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rm}))}),rz=c(13179),rp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{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"}}]},name:"desktop",theme:"outlined"},rw=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rp}))}),rM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.2 306.6L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23zM553.4 201.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM568 753c0 3.8-3.4 7-7.5 7h-225c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7h225c4.1 0 7.5 3.2 7.5 7v42zm0-220c0 3.8-3.4 7-7.5 7H476v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V540h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H420v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1V484h84.5c4.1 0 7.5 3.1 7.5 7v42z"}}]},name:"diff",theme:"filled"},rZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rM}))}),rH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M476 399.1c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1V484h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H420v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V540h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H476v-84.9zM560.5 704h-225c-4.1 0-7.5 3.2-7.5 7v42c0 3.8 3.4 7 7.5 7h225c4.1 0 7.5-3.2 7.5-7v-42c0-3.8-3.4-7-7.5-7zm-7.1-502.6c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM664 888H232V264h282.2L664 413.8V888zm190.2-581.4L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23z"}}]},name:"diff",theme:"outlined"},rb=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rH}))}),rV={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 264v624h432V413.8L514.2 264H232zm336 489c0 3.8-3.4 7-7.5 7h-225c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7h225c4.1 0 7.5 3.2 7.5 7v42zm0-262v42c0 3.8-3.4 7-7.5 7H476v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V540h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H420v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1V484h84.5c4.1 0 7.5 3.1 7.5 7z",fill:t}},{tag:"path",attrs:{d:"M854.2 306.6L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23z",fill:e}},{tag:"path",attrs:{d:"M553.4 201.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM664 888H232V264h282.2L664 413.8V888z",fill:e}},{tag:"path",attrs:{d:"M476 399.1c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1V484h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H420v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V540h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H476v-84.9zM560.5 704h-225c-4.1 0-7.5 3.2-7.5 7v42c0 3.8 3.4 7 7.5 7h225c4.1 0 7.5-3.2 7.5-7v-42c0-3.8-3.4-7-7.5-7z",fill:e}}]}},name:"diff",theme:"twotone"},rC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rV}))}),rx=c(75835),rE={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 64zm227 385.3c-1 4.2-3.5 10.4-7 17.8h.1l-.4.7c-20.3 43.1-73.1 127.7-73.1 127.7s-.1-.2-.3-.5l-15.5 26.8h74.5L575.1 810l32.3-128h-58.6l20.4-84.7c-16.5 3.9-35.9 9.4-59 16.8 0 0-31.2 18.2-89.9-35 0 0-39.6-34.7-16.6-43.4 9.8-3.7 47.4-8.4 77-12.3 40-5.4 64.6-8.2 64.6-8.2S422 517 392.7 512.5c-29.3-4.6-66.4-53.1-74.3-95.8 0 0-12.2-23.4 26.3-12.3 38.5 11.1 197.9 43.2 197.9 43.2s-207.4-63.3-221.2-78.7c-13.8-15.4-40.6-84.2-37.1-126.5 0 0 1.5-10.5 12.4-7.7 0 0 153.3 69.7 258.1 107.9 104.8 37.9 195.9 57.3 184.2 106.7z"}}]},name:"dingtalk-circle",theme:"filled"},rL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rE}))}),rR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z"}}]},name:"dingtalk",theme:"outlined"},ry=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rR}))}),rB={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-32zM739 449.3c-1 4.2-3.5 10.4-7 17.8h.1l-.4.7c-20.3 43.1-73.1 127.7-73.1 127.7s-.1-.2-.3-.5l-15.5 26.8h74.5L575.1 810l32.3-128h-58.6l20.4-84.7c-16.5 3.9-35.9 9.4-59 16.8 0 0-31.2 18.2-89.9-35 0 0-39.6-34.7-16.6-43.4 9.8-3.7 47.4-8.4 77-12.3 40-5.4 64.6-8.2 64.6-8.2S422 517 392.7 512.5c-29.3-4.6-66.4-53.1-74.3-95.8 0 0-12.2-23.4 26.3-12.3 38.5 11.1 197.9 43.2 197.9 43.2s-207.4-63.3-221.2-78.7c-13.8-15.4-40.6-84.2-37.1-126.5 0 0 1.5-10.5 12.4-7.7 0 0 153.3 69.7 258.1 107.9 104.8 37.9 195.9 57.3 184.2 106.7z"}}]},name:"dingtalk-square",theme:"filled"},rS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rB}))}),rO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832.6 191.4c-84.6-84.6-221.5-84.6-306 0l-96.9 96.9 51 51 96.9-96.9c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204l-96.9 96.9 51.1 51.1 96.9-96.9c84.4-84.6 84.4-221.5-.1-306.1zM446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l96.9-96.9-51.1-51.1-96.9 96.9c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l96.9-96.9-51-51-96.8 97zM260.3 209.4a8.03 8.03 0 00-11.3 0L209.4 249a8.03 8.03 0 000 11.3l554.4 554.4c3.1 3.1 8.2 3.1 11.3 0l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3L260.3 209.4z"}}]},name:"disconnect",theme:"outlined"},rk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rO}))}),rT={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.15 87c51.16 0 92.41 41.36 94.85 90.03V960l-97.4-82.68-53.48-48.67-58.35-50.85 24.37 80.2H210.41c-51 0-92.41-38.74-92.41-90.06V177.21c0-48.67 41.48-90.1 92.6-90.1h600.3zM588.16 294.1h-1.09l-7.34 7.28c75.38 21.8 111.85 55.86 111.85 55.86-48.58-24.28-92.36-36.42-136.14-41.32-31.64-4.91-63.28-2.33-90 0h-7.28c-17.09 0-53.45 7.27-102.18 26.7-16.98 7.39-26.72 12.22-26.72 12.22s36.43-36.42 116.72-55.86l-4.9-4.9s-60.8-2.33-126.44 46.15c0 0-65.64 114.26-65.64 255.13 0 0 36.36 63.24 136.11 65.64 0 0 14.55-19.37 29.27-36.42-56-17-77.82-51.02-77.82-51.02s4.88 2.4 12.19 7.27h2.18c1.09 0 1.6.54 2.18 1.09v.21c.58.59 1.09 1.1 2.18 1.1 12 4.94 24 9.8 33.82 14.53a297.58 297.58 0 0065.45 19.48c33.82 4.9 72.59 7.27 116.73 0 21.82-4.9 43.64-9.7 65.46-19.44 14.18-7.27 31.63-14.54 50.8-26.79 0 0-21.82 34.02-80.19 51.03 12 16.94 28.91 36.34 28.91 36.34 99.79-2.18 138.55-65.42 140.73-62.73 0-140.65-66-255.13-66-255.13-59.45-44.12-115.09-45.8-124.91-45.8l2.04-.72zM595 454c25.46 0 46 21.76 46 48.41 0 26.83-20.65 48.59-46 48.59s-46-21.76-46-48.37c.07-26.84 20.75-48.52 46-48.52zm-165.85 0c25.35 0 45.85 21.76 45.85 48.41 0 26.83-20.65 48.59-46 48.59s-46-21.76-46-48.37c0-26.84 20.65-48.52 46-48.52z"}}]},name:"discord",theme:"filled"},r$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rT}))}),rF={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M405 158l-25 3s-112.13 12.26-194.02 78.02h-.96l-1.02.96c-18.37 16.9-26.37 37.67-39 68.04a982.08 982.08 0 00-38 112C83.27 505.87 64 609.87 64 705v8l4 8c29.63 52 82.24 85.12 131 108 48.74 22.88 90.89 35 120 36l19.02.99 9.98-17 35-62c37.13 8.38 79.88 14 129 14 49.12 0 91.87-5.62 129-14l35 62 10.02 17 18.97-1c29.12-.98 71.27-13.11 120-36 48.77-22.87 101.38-56 131.01-108l4-8v-8c0-95.13-19.26-199.13-43-284.98a982.08 982.08 0 00-38-112c-12.63-30.4-20.63-51.14-39-68l-1-1.03h-1.02C756.16 173.26 644 161.01 644 161.01L619 158l-9.02 23s-9.24 23.37-14.97 50.02a643.04 643.04 0 00-83.01-6.01c-17.12 0-46.72 1.12-83 6.01a359.85 359.85 0 00-15.02-50.01zm-44 73.02c1.37 4.48 2.74 8.36 4 12-41.38 10.24-85.51 25.86-126 50.98l34 54.02C356 296.5 475.22 289 512 289c36.74 0 156 7.49 239 59L785 294c-40.49-25.12-84.62-40.74-126-51 1.26-3.62 2.63-7.5 4-12 29.86 6 86.89 19.77 134 57.02-.26.12 12 18.62 23 44.99 11.26 27.13 23.74 63.26 35 104 21.64 78.11 38.63 173.25 40 256.99-20.15 30.75-57.5 58.5-97.02 77.02A311.8 311.8 0 01720 795.98l-16-26.97c9.5-3.52 18.88-7.36 27-11.01 49.26-21.63 76-45 76-45l-42-48s-18 16.52-60 35.02C663.03 718.52 598.87 737 512 737s-151-18.5-193-37c-42-18.49-60-35-60-35l-42 48s26.74 23.36 76 44.99a424.47 424.47 0 0027 11l-16 27.02a311.8 311.8 0 01-78.02-25.03c-39.48-18.5-76.86-46.24-96.96-76.99 1.35-83.74 18.34-178.88 40-257A917.22 917.22 0 01204 333c11-26.36 23.26-44.86 23-44.98 47.11-37.25 104.14-51.01 134-57m39 217.99c-24.74 0-46.62 14.11-60 32-13.38 17.89-20 39.87-20 64s6.62 46.11 20 64c13.38 17.89 35.26 32 60 32 24.74 0 46.62-14.11 60-32 13.38-17.89 20-39.87 20-64s-6.62-46.11-20-64c-13.38-17.89-35.26-32-60-32m224 0c-24.74 0-46.62 14.11-60 32-13.38 17.89-20 39.87-20 64s6.62 46.11 20 64c13.38 17.89 35.26 32 60 32 24.74 0 46.62-14.11 60-32 13.38-17.89 20-39.87 20-64s-6.62-46.11-20-64c-13.38-17.89-35.26-32-60-32m-224 64c1.76 0 4 .64 8 6.01 4 5.35 8 14.72 8 25.99 0 11.26-4 20.64-8 26.01-4 5.35-6.24 5.99-8 5.99-1.76 0-4-.64-8-6.02a44.83 44.83 0 01-8-25.98c0-11.27 4-20.64 8-26.02 4-5.34 6.24-5.98 8-5.98m224 0c1.76 0 4 .64 8 6.01 4 5.35 8 14.72 8 25.99 0 11.26-4 20.64-8 26.01-4 5.35-6.24 5.99-8 5.99-1.76 0-4-.64-8-6.02a44.83 44.83 0 01-8-25.98c0-11.27 4-20.64 8-26.02 4-5.34 6.24-5.98 8-5.98"}}]},name:"discord",theme:"outlined"},rI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rF}))}),rA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H273v428h.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM112 132v364c0 17.7 14.3 32 32 32h65V100h-65c-17.7 0-32 14.3-32 32z"}}]},name:"dislike",theme:"filled"},rD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rA}))}),rN=c(15381),rP={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M273 100.1v428h.3l-.3-428zM820.4 525l-21.9-19 14-25.5a56.2 56.2 0 006.9-27.3c0-16.5-7.1-32.2-19.6-43l-21.9-19 13.9-25.4a56.2 56.2 0 006.9-27.3c0-16.5-7.1-32.2-19.6-43l-21.9-19 13.9-25.4a56.2 56.2 0 006.9-27.3c0-22.4-13.2-42.6-33.6-51.8H345v345.2c18.6 67.2 46.4 168 83.5 302.5a44.28 44.28 0 0042.2 32.3c7.5.1 15-2.2 21.1-6.7 9.9-7.4 15.2-18.6 14.6-30.5l-9.6-198.4h314.4C829 605.5 840 587.1 840 568c0-16.5-7.1-32.2-19.6-43z",fill:t}},{tag:"path",attrs:{d:"M112 132v364c0 17.7 14.3 32 32 32h65V100h-65c-17.7 0-32 14.3-32 32zm773.9 358.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H273l.3 428 85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zm-74.7 126.1H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3c-37.1-134.4-64.9-235.2-83.5-302.5V172h399.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z",fill:e}}]}},name:"dislike",theme:"twotone"},rq=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rP}))}),rW={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M555.88 488.24h-92.62v-82.79h92.62zm0-286.24h-92.62v85.59h92.62zm109.45 203.45H572.7v82.79h92.62zm-218.9-101.02h-92.61v84.18h92.6zm109.45 0h-92.61v84.18h92.6zm388.69 140.3c-19.65-14.02-67.36-18.23-102.44-11.22-4.2-33.67-23.85-63.14-57.53-89.8l-19.65-12.62-12.62 19.64c-25.26 39.29-32.28 103.83-5.62 145.92-12.63 7.02-36.48 15.44-67.35 15.44H67.56c-12.63 71.56 8.42 164.16 61.74 227.3C181.22 801.13 259.8 832 360.83 832c220.3 0 384.48-101.02 460.25-286.24 29.47 0 95.42 0 127.7-63.14 1.4-2.8 9.82-18.24 11.22-23.85zm-717.04-39.28h-92.61v82.79h92.6zm109.45 0h-92.61v82.79h92.6zm109.45 0h-92.61v82.79h92.6zM336.98 304.43h-92.61v84.19h92.6z"}}]},name:"docker",theme:"outlined"},rj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rW}))}),rY={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 64zm22.3 665.2l.2 31.7c0 4.4-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4C401.3 723 359.5 672.4 355 617.4c-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.7 29.8 55.4 74.1 61.3V533.9l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-72.9 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.9 46.9 125.9 109.2.5 4.7-3.2 8.8-8 8.8h-44.9c-4 0-7.4-3-7.9-6.9-4-29.2-27.4-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 108.9 116.4 0 75.3-56 117.3-134.3 124.1zM426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-36.9 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.8-.6-5.6-1.3-8.8-2.2V677c42.6-3.8 72-27.2 72-66.4 0-30.7-15.9-50.7-63.2-65.1z"}}]},name:"dollar-circle",theme:"filled"},r_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rY}))}),rK={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 372zm47.7-395.2l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z"}}]},name:"dollar-circle",theme:"outlined"},rU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rK}))}),rX={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-37 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.9-.6-5.7-1.3-8.8-2.2V677c42.6-3.8 72-27.3 72-66.4 0-30.7-15.9-50.7-63.2-65.1z",fill:t}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm22.4 589.2l.2 31.7c0 4.5-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4c-89-6.5-130.7-57.1-135.2-112.1-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.8 29.9 55.4 74.1 61.3V534l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-73 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.8 46.9 125.9 109.2a8.1 8.1 0 01-8 8.8h-44.9c-4 0-7.4-2.9-7.9-6.9-4-29.2-27.5-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 109 116.4 0 75.2-56 117.1-134.3 124z",fill:t}},{tag:"path",attrs:{d:"M559.7 488.8l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z",fill:e}}]}},name:"dollar-circle",theme:"twotone"},rG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rX}))}),rQ={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 372zm47.7-395.2l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z"}}]},name:"dollar",theme:"outlined"},rJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:rQ}))}),r1={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-37 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.9-.6-5.7-1.3-8.8-2.2V677c42.6-3.8 72-27.3 72-66.4 0-30.7-15.9-50.7-63.2-65.1z",fill:t}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm22.4 589.2l.2 31.7c0 4.5-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4c-89-6.5-130.7-57.1-135.2-112.1-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.8 29.9 55.4 74.1 61.3V534l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-73 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.8 46.9 125.9 109.2a8.1 8.1 0 01-8 8.8h-44.9c-4 0-7.4-2.9-7.9-6.9-4-29.2-27.5-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 109 116.4 0 75.2-56 117.1-134.3 124z",fill:t}},{tag:"path",attrs:{d:"M559.7 488.8l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z",fill:e}}]}},name:"dollar",theme:"twotone"},r4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:r1}))}),r2=c(22284),r3={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"g",attrs:{"fill-opacity":".88"},children:[{tag:"path",attrs:{d:"M101.28 662c-10.65 0-19.53-3.3-26.63-9.89-7.1-6.6-10.65-14.7-10.65-24.32 0-9.89 3.65-18 10.96-24.31 7.3-6.32 16.42-9.48 27.35-9.48 11.06 0 20.1 3.2 27.14 9.58 7.03 6.39 10.55 14.46 10.55 24.21 0 10.03-3.58 18.24-10.76 24.63-7.17 6.39-16.49 9.58-27.96 9.58M458 657h-66.97l-121.4-185.35c-7.13-10.84-12.06-19-14.8-24.48h-.82c1.1 10.42 1.65 26.33 1.65 47.72V657H193V362h71.49l116.89 179.6a423.23 423.23 0 0114.79 24.06h.82c-1.1-6.86-1.64-20.37-1.64-40.53V362H458zM702 657H525V362h170.2v54.1H591.49v65.63H688v53.9h-96.52v67.47H702zM960 416.1h-83.95V657h-66.5V416.1H726V362h234z"}}]}]},name:"dot-net",theme:"outlined"},r8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:r3}))}),r6=c(246),r0=c(96842),r5={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 64zm184.5 353.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7H381c10.2 0 19.9 4.9 25.9 13.2L512 563.6l105.2-145.4c6-8.3 15.6-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"down-circle",theme:"filled"},r7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:r5}))}),r9={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z"}},{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"}}]},name:"down-circle",theme:"outlined"},le=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:r9}))}),lt={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm184.4 277.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.3 0 19.9 4.9 25.9 13.2L512 563.6l105.2-145.4c6-8.3 15.7-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.4 12.7z",fill:t}},{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",fill:e}},{tag:"path",attrs:{d:"M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z",fill:e}}]}},name:"down-circle",theme:"twotone"},lc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lt}))}),ln=c(80882),la={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-32zM696.5 412.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7H381c10.2 0 19.9 4.9 25.9 13.2L512 558.6l105.2-145.4c6-8.3 15.6-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"down-square",theme:"filled"},lr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:la}))}),ll={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.5 658.7c3.2 4.4 9.7 4.4 12.9 0l178-246c3.8-5.3 0-12.7-6.5-12.7H643c-10.2 0-19.9 4.9-25.9 13.2L512 558.6 406.8 413.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246z"}},{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:"down-square",theme:"outlined"},lo=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ll}))}),li={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm150-440h46.9c10.3 0 19.9 4.9 25.9 13.2L512 558.6l105.2-145.4c6-8.3 15.7-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.4 12.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7z",fill:t}},{tag:"path",attrs:{d:"M505.5 658.7c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 558.6 406.8 413.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246z",fill:e}}]}},name:"down-square",theme:"twotone"},lu=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:li}))}),ls=c(23430),lf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.3 506.3L781.7 405.6a7.23 7.23 0 00-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7a7.14 7.14 0 00-11.3 0L405.6 242.3a7.23 7.23 0 005.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8a7.3 7.3 0 00.1-11.4z"}}]},name:"drag",theme:"outlined"},lh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lf}))}),ld={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M675.1 328.3a245.2 245.2 0 00-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6zm47.7-11.9c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 736c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm53.1-346.2c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm30.6 82.5c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4z"}}]},name:"dribbble-circle",theme:"filled"},lv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ld}))}),lm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 96C282.6 96 96 282.6 96 512s186.6 416 416 416 416-186.6 416-416S741.4 96 512 96zm275.1 191.8c49.5 60.5 79.5 137.5 80.2 221.4-11.7-2.5-129.2-26.3-247.4-11.4-2.5-6.1-5-12.2-7.6-18.3-7.4-17.3-15.3-34.6-23.6-51.5C720 374.3 779.6 298 787.1 287.8zM512 157.2c90.3 0 172.8 33.9 235.5 89.5-6.4 9.1-59.9 81-186.2 128.4-58.2-107-122.7-194.8-132.6-208 27.3-6.6 55.2-9.9 83.3-9.9zM360.9 191c9.4 12.8 72.9 100.9 131.7 205.5C326.4 440.6 180 440 164.1 439.8c23.1-110.3 97.4-201.9 196.8-248.8zM156.7 512.5c0-3.6.1-7.3.2-10.9 15.5.3 187.7 2.5 365.2-50.6 10.2 19.9 19.9 40.1 28.8 60.3-4.7 1.3-9.4 2.7-14 4.2C353.6 574.9 256.1 736.4 248 750.1c-56.7-63-91.3-146.3-91.3-237.6zM512 867.8c-82.2 0-157.9-28-218.1-75 6.4-13.1 78.3-152 278.7-221.9l2.3-.8c49.9 129.6 70.5 238.3 75.8 269.5A350.46 350.46 0 01512 867.8zm198.5-60.7c-3.6-21.6-22.5-125.6-69-253.3C752.9 536 850.7 565.2 862.8 569c-15.8 98.8-72.5 184.2-152.3 238.1z"}}]},name:"dribbble",theme:"outlined"},lg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lm}))}),lz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm66.5 21.8c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM880 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-32zM512 800c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm89.7-259.1c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zm-72.5-26.4c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4zm145.9-186.2a245.2 245.2 0 00-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6z"}}]},name:"dribbble-square",theme:"filled"},lp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lz}))}),lw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm66.5 21.8c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM880 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-32zM512 800c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm89.7-259.1c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zm-72.5-26.4c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4zm145.9-186.2a245.2 245.2 0 00-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6z"}}]},name:"dribbble-square",theme:"outlined"},lM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lw}))}),lZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M663.8 455.5zm-151.5-93.8l-151.8 93.8 151.8 93.9 151.5-93.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm151.2 595.5L512.6 750l-151-90.5v-33.1l45.4 29.4 105.6-87.7 105.6 87.7 45.1-29.4v33.1zm-45.6-22.4l-105.3-87.7L407 637.1l-151-99.2 104.5-82.4L256 371.2 407 274l105.3 87.7L617.6 274 768 372.1l-104.2 83.5L768 539l-150.4 98.1z"}}]},name:"dropbox-circle",theme:"filled"},lH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lZ}))}),lb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M64 556.9l264.2 173.5L512.5 577 246.8 412.7zm896-290.3zm0 0L696.8 95 512.5 248.5l265.2 164.2L512.5 577l184.3 153.4L960 558.8 777.7 412.7zM513 609.8L328.2 763.3l-79.4-51.5v57.8L513 928l263.7-158.4v-57.8l-78.9 51.5zM328.2 95L64 265.1l182.8 147.6 265.7-164.2zM64 556.9z"}}]},name:"dropbox",theme:"outlined"},lV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lb}))}),lC={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-32zM663.2 659.5L512.6 750l-151-90.5v-33.1l45.4 29.4 105.6-87.7 105.6 87.7 45.1-29.4v33.1zm-45.6-22.4l-105.3-87.7L407 637.1l-151-99.2 104.5-82.4L256 371.2 407 274l105.3 87.7L617.6 274 768 372.1l-104.2 83.5L768 539l-150.4 98.1zM512.3 361.7l-151.8 93.8 151.8 93.9 151.5-93.9zm151.5 93.8z"}}]},name:"dropbox-square",theme:"filled"},lx=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lC}))}),lE=c(36531),lL=c(86548),lR={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M761.1 288.3L687.8 215 325.1 577.6l-15.6 89 88.9-15.7z",fill:t}},{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89z",fill:e}}]}},name:"edit",theme:"twotone"},ly=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lR}))}),lB=c(89705),lS=c(9957),lO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 327c-29.9 0-58 11.6-79.2 32.8A111.6 111.6 0 00400 439c0 29.9 11.7 58 32.8 79.2A111.6 111.6 0 00512 551c29.9 0 58-11.7 79.2-32.8C612.4 497 624 468.9 624 439c0-29.9-11.6-58-32.8-79.2S541.9 327 512 327zm342.6-37.9a362.49 362.49 0 00-79.9-115.7 370.83 370.83 0 00-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 00169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0022.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 615c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z"}}]},name:"environment",theme:"filled"},lk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lO}))}),lT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 289.1a362.49 362.49 0 00-79.9-115.7 370.83 370.83 0 00-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 00169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0022.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 880.2c-65.9-41.9-300-207.8-300-449.1 0-77.9 31.1-151.1 87.6-206.3C356.3 169.5 431.7 139 512 139s155.7 30.5 212.4 85.9C780.9 280 812 353.2 812 431.1c0 241.3-234.1 407.2-300 449.1zm0-617.2c-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 551c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 439c0-29.9 11.7-58 32.8-79.2C454 338.6 482.1 327 512 327c29.9 0 58 11.6 79.2 32.8C612.4 381 624 409.1 624 439c0 29.9-11.6 58-32.8 79.2z"}}]},name:"environment",theme:"outlined"},l$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lT}))}),lF={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724.4 224.9C667.7 169.5 592.3 139 512 139s-155.7 30.5-212.4 85.8C243.1 280 212 353.2 212 431.1c0 241.3 234.1 407.2 300 449.1 65.9-41.9 300-207.8 300-449.1 0-77.9-31.1-151.1-87.6-206.2zM512 615c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z",fill:t}},{tag:"path",attrs:{d:"M512 263c-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 551c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 439c0-29.9 11.7-58 32.8-79.2C454 338.6 482.1 327 512 327c29.9 0 58 11.6 79.2 32.8S624 409.1 624 439c0 29.9-11.6 58-32.8 79.2z",fill:e}},{tag:"path",attrs:{d:"M854.6 289.1a362.49 362.49 0 00-79.9-115.7 370.83 370.83 0 00-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 00169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0022.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 880.2c-65.9-41.9-300-207.8-300-449.1 0-77.9 31.1-151.1 87.6-206.3C356.3 169.5 431.7 139 512 139s155.7 30.5 212.4 85.9C780.9 280 812 353.2 812 431.1c0 241.3-234.1 407.2-300 449.1z",fill:e}}]}},name:"environment",theme:"twotone"},lI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lF}))}),lA={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 64zm63.5 375.8c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8h-136c-.3 4.4-.3 9.1-.3 13.8v36h136.2c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H444.9c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.2 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.3 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H344c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.8.3-12.8H344c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.7c19.7-94.2 92-149.9 198.6-149.9 20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346h.1c0 5.1-4.6 8.8-9.6 7.8-14.7-2.9-31.8-4.4-51.7-4.4-65.4 0-110.4 33.5-127.6 90.4h128.4z"}}]},name:"euro-circle",theme:"filled"},lD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lA}))}),lN={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 372zm117.7-588.6c-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H344c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H344c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H439.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H447.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8z"}}]},name:"euro-circle",theme:"outlined"},lP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lN}))}),lq={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm117.1 581.1c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.4 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.7.3-12.8H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.8C388.5 345.7 460.7 290 567.4 290c20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346a8 8 0 01-9.6 7.8c-14.6-2.9-31.8-4.4-51.7-4.4-65.3 0-110.4 33.5-127.6 90.4h128.3c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8H432.5c-.3 4.4-.3 9.1-.3 13.8v36h136.4c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H438c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.3 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8z",fill:t}},{tag:"path",attrs:{d:"M619.6 670.5c-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H432.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H440.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H337c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H337c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8z",fill:e}}]}},name:"euro-circle",theme:"twotone"},lW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lq}))}),lj={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 372zm117.7-588.6c-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H344c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H344c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H439.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H447.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8z"}}]},name:"euro",theme:"outlined"},lY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lj}))}),l_={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm117.1 581.1c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.4 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.7.3-12.8H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.8C388.5 345.7 460.7 290 567.4 290c20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346a8 8 0 01-9.6 7.8c-14.6-2.9-31.8-4.4-51.7-4.4-65.3 0-110.4 33.5-127.6 90.4h128.3c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8H432.5c-.3 4.4-.3 9.1-.3 13.8v36h136.4c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H438c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.3 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8z",fill:t}},{tag:"path",attrs:{d:"M619.6 670.5c-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H432.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H440.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H337c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H337c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8z",fill:e}}]}},name:"euro",theme:"twotone"},lK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:l_}))}),lU={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-8H296zm376 116c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216zm107.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.5zM640 812a32 32 0 1064 0 32 32 0 10-64 0zm12-64h40c4.4 0 8-3.6 8-8V628c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v112c0 4.4 3.6 8 8 8zM440 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"}}]},name:"exception",theme:"outlined"},lX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lU}))}),lG=c(21640),lQ=c(11475),lJ={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-32 156c0-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",fill:t}},{tag:"path",attrs:{d:"M488 576h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8zm-24 112a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"exclamation-circle",theme:"twotone"},l1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:lJ}))}),l4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M448 804a64 64 0 10128 0 64 64 0 10-128 0zm32-168h64c4.4 0 8-3.6 8-8V164c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"exclamation",theme:"outlined"},l2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:l4}))}),l3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"}}]},name:"expand-alt",theme:"outlined"},l8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:l3}))}),l6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M342 88H120c-17.7 0-32 14.3-32 32v224c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V168h174c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zm578 576h-48c-8.8 0-16 7.2-16 16v176H682c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h222c17.7 0 32-14.3 32-32V680c0-8.8-7.2-16-16-16zM342 856H168V680c0-8.8-7.2-16-16-16h-48c-8.8 0-16 7.2-16 16v224c0 17.7 14.3 32 32 32h222c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zM904 88H682c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h174v176c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V120c0-17.7-14.3-32-32-32z"}}]},name:"expand",theme:"outlined"},l0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:l6}))}),l5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M218.9 636.3l42.6 26.6c.1.1.3.2.4.3l12.7 8 .3.3a186.9 186.9 0 0094.1 25.1c44.9 0 87.2-15.7 121-43.8a256.27 256.27 0 01164.9-59.9c52.3 0 102.2 15.7 144.6 44.5l7.9 5-111.6-289V179.8h63.5c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8H264.7c-4.4 0-8 3.6-8 8v51.9c0 4.4 3.6 8 8 8h63.5v173.6L218.9 636.3zm333-203.1c22 0 39.9 17.9 39.9 39.9S573.9 513 551.9 513 512 495.1 512 473.1s17.9-39.9 39.9-39.9zM878 825.1l-29.9-77.4-85.7-53.5-.1.1c-.7-.5-1.5-1-2.2-1.5l-8.1-5-.3-.3c-29-17.5-62.3-26.8-97-26.8-44.9 0-87.2 15.7-121 43.8a256.27 256.27 0 01-164.9 59.9c-53 0-103.5-16.1-146.2-45.6l-28.9-18.1L146 825.1c-2.8 7.4-4.3 15.2-4.3 23 0 35.2 28.6 63.8 63.8 63.8h612.9c7.9 0 15.7-1.5 23-4.3a63.6 63.6 0 0036.6-82.5z"}}]},name:"experiment",theme:"filled"},l7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:l5}))}),l9=c(90725),oe={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M551.9 513c19.6 0 35.9-14.2 39.3-32.8A40.02 40.02 0 01552 512a40 40 0 01-40-39.4v.5c0 22 17.9 39.9 39.9 39.9zM752 687.8l-.3-.3c-29-17.5-62.3-26.8-97-26.8-44.9 0-87.2 15.7-121 43.8a256.27 256.27 0 01-164.9 59.9c-41.2 0-81-9.8-116.7-28L210.5 844h603l-59.9-155.2-1.6-1z",fill:t}},{tag:"path",attrs:{d:"M879 824.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.6-107.6.1-.2c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1l.6 1.6L813.5 844h-603z",fill:e}},{tag:"path",attrs:{d:"M552 512c19.3 0 35.4-13.6 39.2-31.8.6-2.7.8-5.4.8-8.2 0-22.1-17.9-40-40-40s-40 17.9-40 40v.6a40 40 0 0040 39.4z",fill:e}}]}},name:"experiment",theme:"twotone"},ot=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oe}))}),oc=c(58638),on={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"},oa=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:on}))}),or={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M508 624a112 112 0 00112-112c0-3.28-.15-6.53-.43-9.74L498.26 623.57c3.21.28 6.45.43 9.74.43zm370.72-458.44L836 122.88a8 8 0 00-11.31 0L715.37 232.23Q624.91 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.7 119.43 136.55 191.45L112.56 835a8 8 0 000 11.31L155.25 889a8 8 0 0011.31 0l712.16-712.12a8 8 0 000-11.32zM332 512a176 176 0 01258.88-155.28l-48.62 48.62a112.08 112.08 0 00-140.92 140.92l-48.62 48.62A175.09 175.09 0 01332 512z"}},{tag:"path",attrs:{d:"M942.2 486.2Q889.4 375 816.51 304.85L672.37 449A176.08 176.08 0 01445 676.37L322.74 798.63Q407.82 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5z"}}]},name:"eye-invisible",theme:"filled"},ol=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:or}))}),oo=c(90420),oi={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M254.89 758.85l125.57-125.57a176 176 0 01248.82-248.82L757 256.72Q651.69 186.07 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q69.27 145.91 173.09 221.05zM942.2 486.2Q889.46 375.11 816.7 305L672.48 449.27a176.09 176.09 0 01-227.22 227.21L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5z",fill:t}},{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.5zM878.63 165.56L836 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",fill:e}},{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",fill:e}}]}},name:"eye-invisible",theme:"twotone"},ou=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oi}))}),os=c(99611),of={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M81.8 537.8a60.3 60.3 0 010-51.5C176.6 286.5 319.8 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 838c-192.1 0-335.4-100.5-430.2-300.2z",fill:t}},{tag:"path",attrs:{d:"M512 258c-161.3 0-279.4 81.8-362.7 254C232.6 684.2 350.7 766 512 766c161.4 0 279.5-81.8 362.7-254C791.4 339.8 673.3 258 512 258zm-4 430c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z",fill:t}},{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 258s279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766z",fill:e}},{tag:"path",attrs:{d:"M508 336c-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",fill:e}}]}},name:"eye",theme:"twotone"},oh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:of}))}),od={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-32zm-92.4 233.5h-63.9c-50.1 0-59.8 23.8-59.8 58.8v77.1h119.6l-15.6 120.7h-104V912H539.2V602.2H434.9V481.4h104.3v-89c0-103.3 63.1-159.6 155.3-159.6 44.2 0 82.1 3.3 93.2 4.8v107.9z"}}]},name:"facebook",theme:"filled"},ov=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:od}))}),om={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-32zm-32 736H663.9V602.2h104l15.6-120.7H663.9v-77.1c0-35 9.7-58.8 59.8-58.8h63.9v-108c-11.1-1.5-49-4.8-93.2-4.8-92.2 0-155.3 56.3-155.3 159.6v89H434.9v120.7h104.3V848H176V176h672v672z"}}]},name:"facebook",theme:"outlined"},og=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:om}))}),oz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M925.9 804l-24-199.2c-.8-6.6-8.9-9.4-13.6-4.7L829 659.5 557.7 388.3c-6.3-6.2-16.4-6.2-22.6 0L433.3 490 156.6 213.3a8.03 8.03 0 00-11.3 0l-45 45.2a8.03 8.03 0 000 11.3L422 591.7c6.2 6.3 16.4 6.3 22.6 0L546.4 490l226.1 226-59.3 59.3a8.01 8.01 0 004.7 13.6l199.2 24c5.1.7 9.5-3.7 8.8-8.9z"}}]},name:"fall",theme:"outlined"},op=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oz}))}),ow={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M517.6 273.5L230.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm320 0L550.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm-620-25.5h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z"}}]},name:"fast-backward",theme:"filled"},oM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ow}))}),oZ={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M517.6 273.5L230.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm320 0L550.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm-620-25.5h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z"}}]},name:"fast-backward",theme:"outlined"},oH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oZ}))}),ob={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M793.8 499.3L506.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.6c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8a16.14 16.14 0 000-25.4zm-320 0L186.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.5c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8c4.1-3.2 6.2-8 6.2-12.7 0-4.6-2.1-9.4-6.2-12.6zM857.6 248h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z"}}]},name:"fast-forward",theme:"filled"},oV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ob}))}),oC={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M793.8 499.3L506.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.6c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8a16.14 16.14 0 000-25.4zm-320 0L186.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.5c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8c4.1-3.2 6.2-8 6.2-12.7 0-4.6-2.1-9.4-6.2-12.6zM857.6 248h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z"}}]},name:"fast-forward",theme:"outlined"},ox=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oC}))}),oE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M600 395.4h91V649h79V267c0-4.4-3.6-8-8-8h-48.2c-3.7 0-7 2.6-7.7 6.3-2.6 12.1-6.9 22.3-12.9 30.9a86.14 86.14 0 01-26.3 24.4c-10.3 6.2-22 10.5-35 12.9-10.4 1.9-21 3-32 3.1a8 8 0 00-7.9 8v42.8c0 4.4 3.6 8 8 8zM871 702H567c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM443.9 312.7c-16.1-19-34.4-32.4-55.2-40.4-21.3-8.2-44.1-12.3-68.4-12.3-23.9 0-46.4 4.1-67.7 12.3-20.8 8-39 21.4-54.8 40.3-15.9 19.1-28.7 44.7-38.3 77-9.6 32.5-14.5 73-14.5 121.5 0 49.9 4.9 91.4 14.5 124.4 9.6 32.8 22.4 58.7 38.3 77.7 15.8 18.9 34 32.3 54.8 40.3 21.3 8.2 43.8 12.3 67.7 12.3 24.4 0 47.2-4.1 68.4-12.3 20.8-8 39.2-21.4 55.2-40.4 16.1-19 29-44.9 38.6-77.7 9.6-33 14.5-74.5 14.5-124.4 0-48.4-4.9-88.9-14.5-121.5-9.5-32.1-22.4-57.7-38.6-76.8zm-29.5 251.7c-1 21.4-4.2 42-9.5 61.9-5.5 20.7-14.5 38.5-27 53.4-13.6 16.3-33.2 24.3-57.6 24.3-24 0-43.2-8.1-56.7-24.4-12.2-14.8-21.1-32.6-26.6-53.3-5.3-19.9-8.5-40.6-9.5-61.9-1-20.8-1.5-38.5-1.5-53.2 0-8.8.1-19.4.4-31.8.2-12.7 1.1-25.8 2.6-39.2 1.5-13.6 4-27.1 7.6-40.5 3.7-13.8 8.8-26.3 15.4-37.4 6.9-11.6 15.8-21.1 26.7-28.3 11.4-7.6 25.3-11.3 41.5-11.3 16.1 0 30.1 3.7 41.7 11.2a87.94 87.94 0 0127.4 28.2c6.9 11.2 12.1 23.8 15.6 37.7 3.3 13.2 5.8 26.6 7.5 40.1 1.8 13.5 2.8 26.6 3 39.4.2 12.4.4 23 .4 31.8.1 14.8-.4 32.5-1.4 53.3z"}}]},name:"field-binary",theme:"outlined"},oL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oE}))}),oR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M508 280h-63.3c-3.3 0-6 2.7-6 6v340.2H433L197.4 282.6c-1.1-1.6-3-2.6-4.9-2.6H126c-3.3 0-6 2.7-6 6v464c0 3.3 2.7 6 6 6h62.7c3.3 0 6-2.7 6-6V405.1h5.7l238.2 348.3c1.1 1.6 3 2.6 5 2.6H508c3.3 0 6-2.7 6-6V286c0-3.3-2.7-6-6-6zm378 413H582c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-152.2-63c52.9 0 95.2-17.2 126.2-51.7 29.4-32.9 44-75.8 44-128.8 0-53.1-14.6-96.5-44-129.3-30.9-34.8-73.2-52.2-126.2-52.2-53.7 0-95.9 17.5-126.3 52.8-29.2 33.1-43.4 75.9-43.4 128.7 0 52.4 14.3 95.2 43.5 128.3 30.6 34.7 73 52.2 126.2 52.2zm-71.5-263.7c16.9-20.6 40.3-30.9 71.4-30.9 31.5 0 54.8 9.6 71 29.1 16.4 20.3 24.9 48.6 24.9 84.9 0 36.3-8.4 64.1-24.8 83.9-16.5 19.4-40 29.2-71.1 29.2-31.2 0-55-10.3-71.4-30.4-16.3-20.1-24.5-47.3-24.5-82.6.1-35.8 8.2-63 24.5-83.2z"}}]},name:"field-number",theme:"outlined"},oy=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oR}))}),oB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M875.6 515.9c2.1.8 4.4-.3 5.2-2.4.2-.4.2-.9.2-1.4v-58.3c0-1.8-1.1-3.3-2.8-3.8-6-1.8-17.2-3-27.2-3-32.9 0-61.7 16.7-73.5 41.2v-28.6c0-4.4-3.6-8-8-8H717c-4.4 0-8 3.6-8 8V729c0 4.4 3.6 8 8 8h54.8c4.4 0 8-3.6 8-8V572.7c0-36.2 26.1-60.2 65.1-60.2 10.4.1 26.6 1.8 30.7 3.4zm-537-40.5l-54.7-12.6c-61.2-14.2-87.7-34.8-87.7-70.7 0-44.6 39.1-73.5 96.9-73.5 52.8 0 91.4 26.5 99.9 68.9h70C455.9 311.6 387.6 259 293.4 259c-103.3 0-171 55.5-171 139 0 68.6 38.6 109.5 122.2 128.5l61.6 14.3c63.6 14.9 91.6 37.1 91.6 75.1 0 44.1-43.5 75.2-102.5 75.2-60.6 0-104.5-27.2-112.8-70.5H111c7.2 79.9 75.6 130.4 179.1 130.4C402.3 751 471 695.2 471 605.3c0-70.2-38.6-108.5-132.4-129.9zM841 729a36 36 0 1072 0 36 36 0 10-72 0zM653 457.8h-51.4V396c0-4.4-3.6-8-8-8h-54.7c-4.4 0-8 3.6-8 8v61.8H495c-4.4 0-8 3.6-8 8v42.3c0 4.4 3.6 8 8 8h35.9v147.5c0 56.2 27.4 79.4 93.1 79.4 11.7 0 23.6-1.2 33.8-3.1 1.9-.3 3.2-2 3.2-3.9v-49.3c0-2.2-1.8-4-4-4h-.4c-4.9.5-6.2.6-8.3.8-4.1.3-7.8.5-12.6.5-24.1 0-34.1-10.3-34.1-35.6V516.1H653c4.4 0 8-3.6 8-8v-42.3c0-4.4-3.6-8-8-8z"}}]},name:"field-string",theme:"outlined"},oS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oB}))}),oO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M945 412H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h256c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM811 548H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h122c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM477.3 322.5H434c-6.2 0-11.2 5-11.2 11.2v248c0 3.6 1.7 6.9 4.6 9l148.9 108.6c5 3.6 12 2.6 15.6-2.4l25.7-35.1v-.1c3.6-5 2.5-12-2.5-15.6l-126.7-91.6V333.7c.1-6.2-5-11.2-11.1-11.2z"}},{tag:"path",attrs:{d:"M804.8 673.9H747c-5.6 0-10.9 2.9-13.9 7.7a321 321 0 01-44.5 55.7 317.17 317.17 0 01-101.3 68.3c-39.3 16.6-81 25-124 25-43.1 0-84.8-8.4-124-25-37.9-16-72-39-101.3-68.3s-52.3-63.4-68.3-101.3c-16.6-39.2-25-80.9-25-124 0-43.1 8.4-84.7 25-124 16-37.9 39-72 68.3-101.3 29.3-29.3 63.4-52.3 101.3-68.3 39.2-16.6 81-25 124-25 43.1 0 84.8 8.4 124 25 37.9 16 72 39 101.3 68.3a321 321 0 0144.5 55.7c3 4.8 8.3 7.7 13.9 7.7h57.8c6.9 0 11.3-7.2 8.2-13.3-65.2-129.7-197.4-214-345-215.7-216.1-2.7-395.6 174.2-396 390.1C71.6 727.5 246.9 903 463.2 903c149.5 0 283.9-84.6 349.8-215.8a9.18 9.18 0 00-8.2-13.3z"}}]},name:"field-time",theme:"outlined"},ok=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oO}))}),oT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M480 580H372a8 8 0 00-8 8v48a8 8 0 008 8h108v108a8 8 0 008 8h48a8 8 0 008-8V644h108a8 8 0 008-8v-48a8 8 0 00-8-8H544V472a8 8 0 00-8-8h-48a8 8 0 00-8 8v108zm374.6-291.3c6 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.2z"}}]},name:"file-add",theme:"filled"},o$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oT}))}),oF={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 42h216v494zM544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z"}}]},name:"file-add",theme:"outlined"},oI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oF}))}),oA={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-42zm126 236v48c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V644H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V472c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8z",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:"M544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z",fill:e}}]}},name:"file-add",theme:"twotone"},oD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oA}))}),oN={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-8H296zm376 116c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216zm107.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.5zM761 656h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-23.1-31.9a7.92 7.92 0 00-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.1-12.7-6.4-12.7zM440 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"}}]},name:"file-done",theme:"outlined"},oP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oN}))}),oq={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.2zM575.34 477.84l-61.22 102.3L452.3 477.8a12 12 0 00-10.27-5.79h-38.44a12 12 0 00-6.4 1.85 12 12 0 00-3.75 16.56l82.34 130.42-83.45 132.78a12 12 0 00-1.84 6.39 12 12 0 0012 12h34.46a12 12 0 0010.21-5.7l62.7-101.47 62.3 101.45a12 12 0 0010.23 5.72h37.48a12 12 0 006.48-1.9 12 12 0 003.62-16.58l-83.83-130.55 85.3-132.47a12 12 0 001.9-6.5 12 12 0 00-12-12h-35.7a12 12 0 00-10.29 5.84z"}}]},name:"file-excel",theme:"filled"},oW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oq}))}),oj=c(97175),oY={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-42zm51.6 120h35.7a12.04 12.04 0 0110.1 18.5L546.1 623l84 130.4c3.6 5.6 2 13-3.6 16.6-2 1.2-4.2 1.9-6.5 1.9h-37.5c-4.1 0-8-2.1-10.2-5.7L510 664.8l-62.7 101.5c-2.2 3.5-6 5.7-10.2 5.7h-34.5a12.04 12.04 0 01-10.2-18.4l83.4-132.8-82.3-130.4c-3.6-5.7-1.9-13.1 3.7-16.6 1.9-1.3 4.1-1.9 6.4-1.9H442c4.2 0 8.1 2.2 10.3 5.8l61.8 102.4 61.2-102.3c2.2-3.6 6.1-5.8 10.3-5.8z",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:"M514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z",fill:e}}]}},name:"file-excel",theme:"twotone"},o_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oY}))}),oK={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.2zM512 784a40 40 0 100-80 40 40 0 000 80zm32-152V448a8 8 0 00-8-8h-48a8 8 0 00-8 8v184a8 8 0 008 8h48a8 8 0 008-8z"}}]},name:"file-exclamation",theme:"filled"},oU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oK}))}),oX={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 42h216v494zM472 744a40 40 0 1080 0 40 40 0 10-80 0zm16-104h48c4.4 0 8-3.6 8-8V448c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8z"}}]},name:"file-exclamation",theme:"outlined"},oG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oX}))}),oQ={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-42zm-54 96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V448zm32 336c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z",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:"M488 640h48c4.4 0 8-3.6 8-8V448c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm-16 104a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}}]}},name:"file-exclamation",theme:"twotone"},oJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:oQ}))}),o1={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.2z"}}]},name:"file",theme:"filled"},o4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:o1}))}),o2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M551.5 490.5H521c-4.6 0-8.4 3.7-8.4 8.4V720c0 4.6 3.7 8.4 8.4 8.4h30.5c4.6 0 8.4-3.7 8.4-8.4V498.9c-.1-4.6-3.8-8.4-8.4-8.4zM477.3 600h-88.1c-4.6 0-8.4 3.7-8.4 8.4v23.8c0 4.6 3.7 8.4 8.4 8.4h47.6v.7c-.6 29.9-23 49.8-56.5 49.8-39.2 0-63.6-30.7-63.6-81.4 0-50.1 23.9-80.6 62.3-80.6 28.1 0 47.5 13.5 55.4 38.3l.9 2.8h49.2l-.7-4.6C475.9 515.9 434.7 484 379 484c-68.8 0-113 49.4-113 125.9 0 77.5 43.7 126.1 113.6 126.1 64.4 0 106-40.3 106-102.9v-24.8c0-4.6-3.7-8.3-8.3-8.3z"}},{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"}},{tag:"path",attrs:{d:"M608.2 727.8h32.3c4.6 0 8.4-3.7 8.4-8.4v-84.8h87.8c4.6 0 8.4-3.7 8.4-8.4v-25.5c0-4.6-3.7-8.4-8.4-8.4h-87.8v-58.9h96.8c4.6 0 8.4-3.7 8.4-8.4v-26.8c0-4.6-3.7-8.4-8.4-8.4H608.2c-4.6 0-8.4 3.7-8.4 8.4v221.1c0 4.8 3.8 8.5 8.4 8.5z"}}]},name:"file-gif",theme:"outlined"},o3=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:o2}))}),o8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-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.6-9.4-22.6zM400 402c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0112.6 0l41.1 52.4 77.8-99.2a8 8 0 0112.6 0l136.5 174c4.3 5.2.5 12.9-6.1 12.9zm-94-370V137.8L790.2 326H602z"}}]},name:"file-image",theme:"filled"},o6=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:o8}))}),o0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M553.1 509.1l-77.8 99.2-41.1-52.4a8 8 0 00-12.6 0l-99.8 127.2a7.98 7.98 0 006.3 12.9H696c6.7 0 10.4-7.7 6.3-12.9l-136.5-174a8.1 8.1 0 00-12.7 0zM360 442a40 40 0 1080 0 40 40 0 10-80 0zm494.6-153.4L639.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-image",theme:"outlined"},o5=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:o0}))}),o7={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-42zm-134 50c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328.1c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0112.6 0l41.1 52.4 77.8-99.2a8.1 8.1 0 0112.7 0l136.5 174c4.1 5.2.4 12.9-6.3 12.9z",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:"M553.1 509.1l-77.8 99.2-41.1-52.4a8 8 0 00-12.6 0l-99.8 127.2a7.98 7.98 0 006.3 12.9H696c6.7 0 10.4-7.7 6.3-12.9l-136.5-174a8.1 8.1 0 00-12.7 0zM360 442a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}}]}},name:"file-image",theme:"twotone"},o9=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:o7}))}),ie={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M874.6 301.8L596.8 21.3c-4.5-4.5-9.4-8.3-14.7-11.5-1.4-.8-2.8-1.6-4.3-2.3-.9-.5-1.9-.9-2.8-1.3-9-4-18.9-6.2-29-6.2H201c-39.8 0-73 32.2-73 72v880c0 39.8 33.2 72 73 72h623c39.8 0 71-32.2 71-72V352.5c0-19-7-37.2-20.4-50.7zM583 110.4L783.8 312H583V110.4zM823 952H200V72h311v240c0 39.8 33.2 72 73 72h239v568zM350 696.5c0 24.2-7.5 31.4-21.9 31.4-9 0-18.4-5.8-24.8-18.5L272.9 732c13.4 22.9 32.3 34.2 61.3 34.2 41.6 0 60.8-29.9 60.8-66.2V577h-45v119.5zM501.3 577H437v186h44v-62h21.6c39.1 0 73.1-19.6 73.1-63.6 0-45.8-33.5-60.4-74.4-60.4zm-.8 89H481v-53h18.2c21.5 0 33.4 6.2 33.4 24.9 0 18.1-10.5 28.1-32.1 28.1zm182.5-9v36h30v30.1c-4 2.9-11 4.7-17.7 4.7-34.3 0-50.7-21.4-50.7-58.2 0-36.1 19.7-57.4 47.1-57.4 15.3 0 25 6.2 34 14.4l23.7-28.3c-12.7-12.8-32.1-24.2-59.2-24.2-49.6 0-91.1 35.3-91.1 97 0 62.7 40 95.1 91.5 95.1 25.9 0 49.2-10.2 61.5-22.6V657H683z"}}]},name:"file-jpg",theme:"outlined"},it=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ie}))}),ic={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.2zM426.13 600.93l59.11 132.97a16 16 0 0014.62 9.5h24.06a16 16 0 0014.63-9.51l59.1-133.35V758a16 16 0 0016.01 16H641a16 16 0 0016-16V486a16 16 0 00-16-16h-34.75a16 16 0 00-14.67 9.62L512.1 662.2l-79.48-182.59a16 16 0 00-14.67-9.61H383a16 16 0 00-16 16v272a16 16 0 0016 16h27.13a16 16 0 0016-16V600.93z"}}]},name:"file-markdown",theme:"filled"},ia=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ic}))}),ir={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 42h216v494zM429 481.2c-1.9-4.4-6.2-7.2-11-7.2h-35c-6.6 0-12 5.4-12 12v272c0 6.6 5.4 12 12 12h27.1c6.6 0 12-5.4 12-12V582.1l66.8 150.2a12 12 0 0011 7.1H524c4.7 0 9-2.8 11-7.1l66.8-150.6V758c0 6.6 5.4 12 12 12H641c6.6 0 12-5.4 12-12V486c0-6.6-5.4-12-12-12h-34.7c-4.8 0-9.1 2.8-11 7.2l-83.1 191-83.2-191z"}}]},name:"file-markdown",theme:"outlined"},il=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ir}))}),io={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-42zm72.3 122H641c6.6 0 12 5.4 12 12v272c0 6.6-5.4 12-12 12h-27.2c-6.6 0-12-5.4-12-12V581.7L535 732.3c-2 4.3-6.3 7.1-11 7.1h-24.1a12 12 0 01-11-7.1l-66.8-150.2V758c0 6.6-5.4 12-12 12H383c-6.6 0-12-5.4-12-12V486c0-6.6 5.4-12 12-12h35c4.8 0 9.1 2.8 11 7.2l83.2 191 83.1-191c1.9-4.4 6.2-7.2 11-7.2z",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:"M429 481.2c-1.9-4.4-6.2-7.2-11-7.2h-35c-6.6 0-12 5.4-12 12v272c0 6.6 5.4 12 12 12h27.1c6.6 0 12-5.4 12-12V582.1l66.8 150.2a12 12 0 0011 7.1H524c4.7 0 9-2.8 11-7.1l66.8-150.6V758c0 6.6 5.4 12 12 12H641c6.6 0 12-5.4 12-12V486c0-6.6-5.4-12-12-12h-34.7c-4.8 0-9.1 2.8-11 7.2l-83.1 191-83.2-191z",fill:e}}]}},name:"file-markdown",theme:"twotone"},ii=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:io}))}),iu=c(26911),is={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.2zM633.22 637.26c-15.18-.5-31.32.67-49.65 2.96-24.3-14.99-40.66-35.58-52.28-65.83l1.07-4.38 1.24-5.18c4.3-18.13 6.61-31.36 7.3-44.7.52-10.07-.04-19.36-1.83-27.97-3.3-18.59-16.45-29.46-33.02-30.13-15.45-.63-29.65 8-33.28 21.37-5.91 21.62-2.45 50.07 10.08 98.59-15.96 38.05-37.05 82.66-51.2 107.54-18.89 9.74-33.6 18.6-45.96 28.42-16.3 12.97-26.48 26.3-29.28 40.3-1.36 6.49.69 14.97 5.36 21.92 5.3 7.88 13.28 13 22.85 13.74 24.15 1.87 53.83-23.03 86.6-79.26 3.29-1.1 6.77-2.26 11.02-3.7l11.9-4.02c7.53-2.54 12.99-4.36 18.39-6.11 23.4-7.62 41.1-12.43 57.2-15.17 27.98 14.98 60.32 24.8 82.1 24.8 17.98 0 30.13-9.32 34.52-23.99 3.85-12.88.8-27.82-7.48-36.08-8.56-8.41-24.3-12.43-45.65-13.12zM385.23 765.68v-.36l.13-.34a54.86 54.86 0 015.6-10.76c4.28-6.58 10.17-13.5 17.47-20.87 3.92-3.95 8-7.8 12.79-12.12 1.07-.96 7.91-7.05 9.19-8.25l11.17-10.4-8.12 12.93c-12.32 19.64-23.46 33.78-33 43-3.51 3.4-6.6 5.9-9.1 7.51a16.43 16.43 0 01-2.61 1.42c-.41.17-.77.27-1.13.3a2.2 2.2 0 01-1.12-.15 2.07 2.07 0 01-1.27-1.91zM511.17 547.4l-2.26 4-1.4-4.38c-3.1-9.83-5.38-24.64-6.01-38-.72-15.2.49-24.32 5.29-24.32 6.74 0 9.83 10.8 10.07 27.05.22 14.28-2.03 29.14-5.7 35.65zm-5.81 58.46l1.53-4.05 2.09 3.8c11.69 21.24 26.86 38.96 43.54 51.31l3.6 2.66-4.39.9c-16.33 3.38-31.54 8.46-52.34 16.85 2.17-.88-21.62 8.86-27.64 11.17l-5.25 2.01 2.8-4.88c12.35-21.5 23.76-47.32 36.05-79.77zm157.62 76.26c-7.86 3.1-24.78.33-54.57-12.39l-7.56-3.22 8.2-.6c23.3-1.73 39.8-.45 49.42 3.07 4.1 1.5 6.83 3.39 8.04 5.55a4.64 4.64 0 01-1.36 6.31 6.7 6.7 0 01-2.17 1.28z"}}]},name:"file-pdf",theme:"filled"},ih=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:is}))}),id={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.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-pdf",theme:"outlined"},iv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:id}))}),im={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M509.2 490.8c-.7-1.3-1.4-1.9-2.2-2-2.9 3.3-2.2 31.5 2.7 51.4 4-13.6 4.7-40.5-.5-49.4zm-1.6 120.5c-7.7 20-18.8 47.3-32.1 71.4 4-1.6 8.1-3.3 12.3-5 17.6-7.2 37.3-15.3 58.9-20.2-14.9-11.8-28.4-27.7-39.1-46.2z",fill:t}},{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm55 287.6c16.1-1.9 30.6-2.8 44.3-2.3 12.8.4 23.6 2 32 5.1.2.1.3.1.5.2.4.2.8.3 1.2.5.5.2 1.1.4 1.6.7.1.1.3.1.4.2 4.1 1.8 7.5 4 10.1 6.6 9.1 9.1 11.8 26.1 6.2 39.6-3.2 7.7-11.7 20.5-33.3 20.5-21.8 0-53.9-9.7-82.1-24.8-25.5 4.3-53.7 13.9-80.9 23.1-5.8 2-11.8 4-17.6 5.9-38 65.2-66.5 79.4-84.1 79.4-4.2 0-7.8-.9-10.8-2-6.9-2.6-12.8-8-16.5-15-.9-1.7-1.6-3.4-2.2-5.2-1.6-4.8-2.1-9.6-1.3-13.6l.6-2.7c.1-.2.1-.4.2-.6.2-.7.4-1.4.7-2.1 0-.1.1-.2.1-.3 4.1-11.9 13.6-23.4 27.7-34.6 12.3-9.8 27.1-18.7 45.9-28.4 15.9-28 37.6-75.1 51.2-107.4-10.8-41.8-16.7-74.6-10.1-98.6.9-3.3 2.5-6.4 4.6-9.1.2-.2.3-.4.5-.6.1-.1.1-.2.2-.2 6.3-7.5 16.9-11.9 28.1-11.5 16.6.7 29.7 11.5 33 30.1 1.7 8 2.2 16.5 1.9 25.7v.7c0 .5 0 1-.1 1.5-.7 13.3-3 26.6-7.3 44.7-.4 1.6-.8 3.2-1.2 5.2l-1 4.1-.1.3c.1.2.1.3.2.5l1.8 4.5c.1.3.3.7.4 1 .7 1.6 1.4 3.3 2.1 4.8v.1c8.7 18.8 19.7 33.4 33.9 45.1 4.3 3.5 8.9 6.7 13.9 9.8 1.8-.5 3.5-.7 5.3-.9z",fill:t}},{tag:"path",attrs:{d:"M391.5 761c5.7-4.4 16.2-14.5 30.1-34.7-10.3 9.4-23.4 22.4-30.1 34.7zm270.9-83l.2-.3h.2c.6-.4.5-.7.4-.9-.1-.1-4.5-9.3-45.1-7.4 35.3 13.9 43.5 9.1 44.3 8.6z",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:"M535.9 585.3c-.8-1.7-1.5-3.3-2.2-4.9-.1-.3-.3-.7-.4-1l-1.8-4.5c-.1-.2-.1-.3-.2-.5l.1-.3.2-1.1c4-16.3 8.6-35.3 9.4-54.4v-.7c.3-8.6-.2-17.2-2-25.6-3.8-21.3-19.5-29.6-32.9-30.2-11.3-.5-21.8 4-28.1 11.4-.1.1-.1.2-.2.2-.2.2-.4.4-.5.6-2.1 2.7-3.7 5.8-4.6 9.1-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.4-51.2 107.4v.1c-27.7 14.3-64.1 35.8-73.6 62.9 0 .1-.1.2-.1.3-.2.7-.5 1.4-.7 2.1-.1.2-.1.4-.2.6-.2.9-.5 1.8-.6 2.7-.9 4-.4 8.8 1.3 13.6.6 1.8 1.3 3.5 2.2 5.2 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-2.6-2.6-6-4.8-10.1-6.6-.1-.1-.3-.1-.4-.2-.5-.2-1.1-.4-1.6-.7-.4-.2-.8-.3-1.2-.5-.2-.1-.3-.1-.5-.2-16.2-5.8-41.7-6.7-76.3-2.8l-5.3.6c-5-3-9.6-6.3-13.9-9.8-14.2-11.3-25.1-25.8-33.8-44.7zM391.5 761c6.7-12.3 19.8-25.3 30.1-34.7-13.9 20.2-24.4 30.3-30.1 34.7zM507 488.8c.8.1 1.5.7 2.2 2 5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4zm-19.2 188.9c-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4 10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2zm175.4-.9c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4z",fill:e}}]}},name:"file-pdf",theme:"twotone"},ig=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:im}))}),iz={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.2zM468.53 760v-91.54h59.27c60.57 0 100.2-39.65 100.2-98.12 0-58.22-39.58-98.34-99.98-98.34H424a12 12 0 00-12 12v276a12 12 0 0012 12h32.53a12 12 0 0012-12zm0-139.33h34.9c47.82 0 67.19-12.93 67.19-50.33 0-32.05-18.12-50.12-49.87-50.12h-52.22v100.45z"}}]},name:"file-ppt",theme:"filled"},ip=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iz}))}),iw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M424 476c-4.4 0-8 3.6-8 8v276c0 4.4 3.6 8 8 8h32.5c4.4 0 8-3.6 8-8v-95.5h63.3c59.4 0 96.2-38.9 96.2-94.1 0-54.5-36.3-94.3-96-94.3H424zm150.6 94.3c0 43.4-26.5 54.3-71.2 54.3h-38.9V516.2h56.2c33.8 0 53.9 19.7 53.9 54.1zm280-281.7L639.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-ppt",theme:"outlined"},iM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iw}))}),iZ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464.5 516.2v108.4h38.9c44.7 0 71.2-10.9 71.2-54.3 0-34.4-20.1-54.1-53.9-54.1h-56.2z",fill:t}},{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm90 218.4c0 55.2-36.8 94.1-96.2 94.1h-63.3V760c0 4.4-3.6 8-8 8H424c-4.4 0-8-3.6-8-8V484c0-4.4 3.6-8 8-8v.1h104c59.7 0 96 39.8 96 94.3z",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:"M424 476.1c-4.4-.1-8 3.5-8 7.9v276c0 4.4 3.6 8 8 8h32.5c4.4 0 8-3.6 8-8v-95.5h63.3c59.4 0 96.2-38.9 96.2-94.1 0-54.5-36.3-94.3-96-94.3H424zm150.6 94.2c0 43.4-26.5 54.3-71.2 54.3h-38.9V516.2h56.2c33.8 0 53.9 19.7 53.9 54.1z",fill:e}}]}},name:"file-ppt",theme:"twotone"},iH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iZ}))}),ib={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M644.7 669.2a7.92 7.92 0 00-6.5-3.3H594c-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.8-5.3 0-12.7-6.5-12.7h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-22.9-31.9zM688 306v-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-8H296zm184 458H208V148h560v296c0 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 32h312c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm402.6-320.8l-192-66.7c-.9-.3-1.7-.4-2.6-.4s-1.8.1-2.6.4l-192 66.7a7.96 7.96 0 00-5.4 7.5v251.1c0 2.5 1.1 4.8 3.1 6.3l192 150.2c1.4 1.1 3.2 1.7 4.9 1.7s3.5-.6 4.9-1.7l192-150.2c1.9-1.5 3.1-3.8 3.1-6.3V538.7c0-3.4-2.2-6.4-5.4-7.5zM826 763.7L688 871.6 550 763.7V577l138-48 138 48v186.7z"}}]},name:"file-protect",theme:"outlined"},iV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ib}))}),iC=c(31545),ix={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{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-8H296zm192 200v-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-8zm-48 396H208V148h560v344c0 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-8zm104.1-115.6c1.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 673a8 8 0 003 14.1l93.3 22.5c5 1.2 9.8-2.6 9.9-7.7l.6-95.4a8 8 0 00-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-.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.9a8 8 0 00-3-14.1l-93.3-22.5c-5-1.2-9.8 2.6-9.9 7.7l-.6 95.4a8 8 0 0012.9 6.4l20.3-15.8C562.6 918.4 619.9 948 684 948c109.9 0 199.6-86.9 204-195.7.2-4.5-3.5-8.3-8-8.3z"}}]},name:"file-sync",theme:"outlined"},iE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ix}))}),iL=c(27595),iR=c(15360),iy={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-42zm-22 322c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm200-184v48c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8z",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:"M312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8zm192 128H320c-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-8z",fill:e}}]}},name:"file-text",theme:"twotone"},iB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iy}))}),iS=c(58895),iO={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.2zM402 549c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103zm110 227a32 32 0 100-64 32 32 0 000 64z"}}]},name:"file-unknown",theme:"filled"},ik=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iO}))}),iT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-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.6-9.4-22.6zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM402 549c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103zm78 195a32 32 0 1064 0 32 32 0 10-64 0z"}}]},name:"file-unknown",theme:"outlined"},i$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iT}))}),iF={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-42zm-22 424c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm110-228.4c.7 44.9-29.7 84.5-74.3 98.9-5.7 1.8-9.7 7.3-9.7 13.3V672c0 5.5-4.5 10-10 10h-32c-5.5 0-10-4.5-10-10v-32c.2-19.8 15.4-37.3 34.7-40.1C549 596.2 570 574.3 570 549c0-28.1-25.8-51.5-58-51.5s-58 23.4-58 51.6c0 5.2-4.4 9.4-9.8 9.4h-32.4c-5.4 0-9.8-4.1-9.8-9.5 0-57.4 50.1-103.7 111.5-103 59.3.8 107.7 46.1 108.5 101.6z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-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.6-9.4-22.6zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M480 744a32 32 0 1064 0 32 32 0 10-64 0zm-78-195c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103z",fill:e}}]}},name:"file-unknown",theme:"twotone"},iI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iF}))}),iA={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.2zM512 566.1l52.81 197a12 12 0 0011.6 8.9h31.77a12 12 0 0011.6-8.88l74.37-276a12 12 0 00.4-3.12 12 12 0 00-12-12h-35.57a12 12 0 00-11.7 9.31l-45.78 199.1-49.76-199.32A12 12 0 00528.1 472h-32.2a12 12 0 00-11.64 9.1L434.6 680.01 388.5 481.3a12 12 0 00-11.68-9.29h-35.39a12 12 0 00-3.11.41 12 12 0 00-8.47 14.7l74.17 276A12 12 0 00415.6 772h31.99a12 12 0 0011.59-8.9l52.81-197z"}}]},name:"file-word",theme:"filled"},iD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iA}))}),iN={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 42h216v494zM528.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"}}]},name:"file-word",theme:"outlined"},iP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iN}))}),iq=c(27329),iW={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.2zM296 136v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm0 64v160h128V584H296zm48 48h32v64h-32v-64z"}}]},name:"file-zip",theme:"filled"},ij=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iW}))}),iY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M296 392h64v64h-64zm0 190v160h128V582h-64v-62h-64v62zm80 48v64h-32v-64h32zm-16-302h64v64h-64zm-64-64h64v64h-64zm64 192h64v64h-64zm0-256h64v64h-64zm494.6 88.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 562H232V136h64v64h64v-64h174v216a42 42 0 0042 42h216v494z"}}]},name:"file-zip",theme:"outlined"},i_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iY}))}),iK={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M344 630h32v2h-32z",fill:t}},{tag:"path",attrs:{d:"M534 352V136H360v64h64v64h-64v64h64v64h-64v64h64v64h-64v62h64v160H296V520h64v-64h-64v-64h64v-64h-64v-64h64v-64h-64v-64h-64v752h560V394H576a42 42 0 01-42-42z",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 888H232V136h64v64h64v-64h174v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M296 392h64v64h-64zm0-128h64v64h-64zm0 318v160h128V582h-64v-62h-64v62zm48 50v-2h32v64h-32v-62zm16-432h64v64h-64zm0 256h64v64h-64zm0-128h64v64h-64z",fill:e}}]}},name:"file-zip",theme:"twotone"},iU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iK}))}),iX=c(99982),iG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"}}]},name:"filter",theme:"outlined"},iQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iG}))}),iJ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M420.6 798h182.9V642H420.6zM411 561.4l9.5 16.6h183l9.5-16.6L811.3 226H212.7z",fill:t}},{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.5 798H420.6V642h182.9v156zm9.5-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z",fill:e}}]}},name:"filter",theme:"twotone"},i1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:iJ}))}),i4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9z"}}]},name:"fire",theme:"filled"},i2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i4}))}),i3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"}}]},name:"fire",theme:"outlined"},i8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i3}))}),i6={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M737 438.6c-9.6 15.5-21.1 30.7-34.4 45.6a73.1 73.1 0 01-51 24.4 73.36 73.36 0 01-53.4-18.8 74.01 74.01 0 01-24.4-59.8c3-47.4-12.4-103.1-45.8-165.7-16.9-31.4-37.1-58.2-61.2-80.4a240 240 0 01-12.1 46.5 354.26 354.26 0 01-58.2 101 349.6 349.6 0 01-58.6 56.8c-34 26.1-62 60-80.8 97.9a275.96 275.96 0 00-29.1 124c0 74.9 29.5 145.3 83 198.4 53.7 53.2 125 82.4 201 82.4s147.3-29.2 201-82.4c53.5-53 83-123.5 83-198.4 0-39.2-8.1-77.3-24-113.1-9.3-21-21-40.5-35-58.4z",fill:t}},{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z",fill:e}}]}},name:"fire",theme:"twotone"},i0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i6}))}),i5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32z"}}]},name:"flag",theme:"filled"},i7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i5}))}),i9={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32zM184 568V232h368v336H184zm656 145H504v-73h112c4.4 0 8-3.6 8-8V377h216v336z"}}]},name:"flag",theme:"outlined"},ue=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i9}))}),ut={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M184 232h368v336H184z",fill:t}},{tag:"path",attrs:{d:"M624 632c0 4.4-3.6 8-8 8H504v73h336V377H624v255z",fill:t}},{tag:"path",attrs:{d:"M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32zM184 568V232h368v336H184zm656 145H504v-73h112c4.4 0 8-3.6 8-8V377h216v336z",fill:e}}]}},name:"flag",theme:"twotone"},uc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ut}))}),un={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-32zM632 577c0 3.8-3.4 7-7.5 7H540v84.9c0 3.9-3.2 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V584h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7H484v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.8 0 7 3.2 7 7.1V528h84.5c4.1 0 7.5 3.2 7.5 7v42z"}}]},name:"folder-add",theme:"filled"},ua=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:un}))}),ur=c(83266),ul={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M372.5 256H184v512h656V370.4H492.1L372.5 256zM540 443.1V528h84.5c4.1 0 7.5 3.1 7.5 7v42c0 3.8-3.4 7-7.5 7H540v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V584h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H484v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1z",fill:t}},{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",fill:e}},{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1z",fill:e}}]}},name:"folder-add",theme:"twotone"},uo=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ul}))}),ui={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-32z"}}]},name:"folder",theme:"filled"},uu=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ui}))}),us={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-32zm-180 0H238c-13 0-24.8 7.9-29.7 20L136 643.2V256h188.5l119.6 114.4H748V444z"}}]},name:"folder-open",theme:"filled"},uf=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:us}))}),uh=c(95591),ud={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M159 768h612.3l103.4-256H262.3z",fill:t}},{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",fill:e}}]}},name:"folder-open",theme:"twotone"},uv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ud}))}),um=c(32319),ug={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M372.5 256H184v512h656V370.4H492.1z",fill:t}}]}},name:"folder",theme:"twotone"},uz=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ug}))}),up={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M309.1 554.3a42.92 42.92 0 000 36.4C353.3 684 421.6 732 512.5 732s159.2-48.1 203.4-141.3c5.4-11.5 5.4-24.8.1-36.3l-.1-.1-.1-.1C671.7 461 603.4 413 512.5 413s-159.2 48.1-203.4 141.3zM512.5 477c62.1 0 107.4 30 141.1 95.5C620 638 574.6 668 512.5 668s-107.4-30-141.1-95.5c33.7-65.5 79-95.5 141.1-95.5z"}},{tag:"path",attrs:{d:"M457 573a56 56 0 10112 0 56 56 0 10-112 0z"}},{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-view",theme:"outlined"},uw=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:up}))}),uM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-650.3-80h85c4.2 0 8-2.7 9.3-6.8l53.7-166h219.2l53.2 166c1.3 4 5 6.8 9.3 6.8h89.1c1.1 0 2.2-.2 3.2-.5a9.7 9.7 0 006-12.4L573.6 118.6a9.9 9.9 0 00-9.2-6.6H462.1c-4.2 0-7.9 2.6-9.2 6.6L244.5 723.1c-.4 1-.5 2.1-.5 3.2-.1 5.3 4.3 9.7 9.7 9.7zm255.9-516.1h4.1l83.8 263.8H424.9l84.7-263.8z"}}]},name:"font-colors",theme:"outlined"},uZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uM}))}),uH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M920 416H616c-4.4 0-8 3.6-8 8v112c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-56h60v320h-46c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h164c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-46V480h60v56c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V424c0-4.4-3.6-8-8-8zM656 296V168c0-4.4-3.6-8-8-8H104c-4.4 0-8 3.6-8 8v128c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-64h168v560h-92c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-92V232h168v64c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8z"}}]},name:"font-size",theme:"outlined"},ub=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uH}))}),uV=c(9641),uC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z"}}]},name:"form",theme:"outlined"},ux=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uC}))}),uE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M840 192h-56v-72c0-13.3-10.7-24-24-24H168c-13.3 0-24 10.7-24 24v272c0 13.3 10.7 24 24 24h592c13.3 0 24-10.7 24-24V256h32v200H465c-22.1 0-40 17.9-40 40v136h-44c-4.4 0-8 3.6-8 8v228c0 1.1.2 2.2.6 3.1-.4 1.6-.6 3.2-.6 4.9 0 46.4 37.6 84 84 84s84-37.6 84-84c0-1.7-.2-3.3-.6-4.9.4-1 .6-2 .6-3.1V640c0-4.4-3.6-8-8-8h-44V520h351c22.1 0 40-17.9 40-40V232c0-22.1-17.9-40-40-40z"}}]},name:"format-painter",theme:"filled"},uL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uE}))}),uR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M840 192h-56v-72c0-13.3-10.7-24-24-24H168c-13.3 0-24 10.7-24 24v272c0 13.3 10.7 24 24 24h592c13.3 0 24-10.7 24-24V256h32v200H465c-22.1 0-40 17.9-40 40v136h-44c-4.4 0-8 3.6-8 8v228c0 .6.1 1.3.2 1.9A83.99 83.99 0 00457 960c46.4 0 84-37.6 84-84 0-2.1-.1-4.1-.2-6.1.1-.6.2-1.2.2-1.9V640c0-4.4-3.6-8-8-8h-44V520h351c22.1 0 40-17.9 40-40V232c0-22.1-17.9-40-40-40zM720 352H208V160h512v192zM477 876c0 11-9 20-20 20s-20-9-20-20V696h40v180z"}}]},name:"format-painter",theme:"outlined"},uy=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uR}))}),uB={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M825.8 498L538.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L825.8 526c8.3-7.2 8.3-20.8 0-28zm-320 0L218.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L505.8 526c4.1-3.6 6.2-8.8 6.2-14 0-5.2-2.1-10.4-6.2-14z"}}]},name:"forward",theme:"filled"},uS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uB}))}),uO={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M825.8 498L538.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L825.8 526c8.3-7.2 8.3-20.8 0-28zm-320 0L218.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L505.8 526c4.1-3.6 6.2-8.8 6.2-14 0-5.2-2.1-10.4-6.2-14z"}}]},name:"forward",theme:"outlined"},uk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uO}))}),uT={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 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm376 272h-48.1c-4.2 0-7.8-3.2-8.1-7.4C604 636.1 562.5 597 512 597s-92.1 39.1-95.8 88.6c-.3 4.2-3.9 7.4-8.1 7.4H360a8 8 0 01-8-8.4c4.4-84.3 74.5-151.6 160-151.6s155.6 67.3 160 151.6a8 8 0 01-8 8.4zm24-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"frown",theme:"filled"},u$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uT}))}),uF=c(12906),uI={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm376 272h-48.1c-4.2 0-7.8-3.2-8.1-7.4C604 636.1 562.5 597 512 597s-92.1 39.1-95.8 88.6c-.3 4.2-3.9 7.4-8.1 7.4H360a8 8 0 01-8-8.4c4.4-84.3 74.5-151.6 160-151.6s155.6 67.3 160 151.6a8 8 0 01-8 8.4zm24-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm224 112c-85.5 0-155.6 67.3-160 151.6a8 8 0 008 8.4h48.1c4.2 0 7.8-3.2 8.1-7.4 3.7-49.5 45.3-88.6 95.8-88.6s92 39.1 95.8 88.6c.3 4.2 3.9 7.4 8.1 7.4H664a8 8 0 008-8.4C667.6 600.3 597.5 533 512 533zm128-112a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"frown",theme:"twotone"},uA=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uI}))}),uD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 000 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 00391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 00-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"}}]},name:"fullscreen-exit",theme:"outlined"},uN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uD}))}),uP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z"}}]},name:"fullscreen",theme:"outlined"},uq=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uP}))}),uW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M841 370c3-3.3 2.7-8.3-.6-11.3a8.24 8.24 0 00-5.3-2.1h-72.6c-2.4 0-4.6 1-6.1 2.8L633.5 504.6a7.96 7.96 0 01-13.4-1.9l-63.5-141.3a7.9 7.9 0 00-7.3-4.7H380.7l.9-4.7 8-42.3c10.5-55.4 38-81.4 85.8-81.4 18.6 0 35.5 1.7 48.8 4.7l14.1-66.8c-22.6-4.7-35.2-6.1-54.9-6.1-103.3 0-156.4 44.3-175.9 147.3l-9.4 49.4h-97.6c-3.8 0-7.1 2.7-7.8 6.4L181.9 415a8.07 8.07 0 007.8 9.7H284l-89 429.9a8.07 8.07 0 007.8 9.7H269c3.8 0 7.1-2.7 7.8-6.4l89.7-433.1h135.8l68.2 139.1c1.4 2.9 1 6.4-1.2 8.8l-180.6 203c-2.9 3.3-2.6 8.4.7 11.3 1.5 1.3 3.4 2 5.3 2h72.7c2.4 0 4.6-1 6.1-2.8l123.7-146.7c2.8-3.4 7.9-3.8 11.3-1 .9.8 1.6 1.7 2.1 2.8L676.4 784c1.3 2.8 4.1 4.7 7.3 4.7h64.6a8.02 8.02 0 007.2-11.5l-95.2-198.9c-1.4-2.9-.9-6.4 1.3-8.8L841 370z"}}]},name:"function",theme:"outlined"},uj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uW}))}),uY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M926 164H94c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V196c0-17.7-14.3-32-32-32zm-92.3 194.4l-297 297.2a8.03 8.03 0 01-11.3 0L410.9 541.1 238.4 713.7a8.03 8.03 0 01-11.3 0l-36.8-36.8a8.03 8.03 0 010-11.3l214.9-215c3.1-3.1 8.2-3.1 11.3 0L531 565l254.5-254.6c3.1-3.1 8.2-3.1 11.3 0l36.8 36.8c3.2 3 3.2 8.1.1 11.2z"}}]},name:"fund",theme:"filled"},u_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uY}))}),uK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M926 164H94c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V196c0-17.7-14.3-32-32-32zm-40 632H134V236h752v560zm-658.9-82.3c3.1 3.1 8.2 3.1 11.3 0l172.5-172.5 114.4 114.5c3.1 3.1 8.2 3.1 11.3 0l297-297.2c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 00-11.3 0L531 565 416.6 450.5a8.03 8.03 0 00-11.3 0l-214.9 215a8.03 8.03 0 000 11.3l36.7 36.9z"}}]},name:"fund",theme:"outlined"},uU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uK}))}),uX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M312.1 591.5c3.1 3.1 8.2 3.1 11.3 0l101.8-101.8 86.1 86.2c3.1 3.1 8.2 3.1 11.3 0l226.3-226.5c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 00-11.3 0L517 485.3l-86.1-86.2a8.03 8.03 0 00-11.3 0L275.3 543.4a8.03 8.03 0 000 11.3l36.8 36.8z"}},{tag:"path",attrs:{d:"M904 160H548V96c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H120c-17.7 0-32 14.3-32 32v520c0 17.7 14.3 32 32 32h356.4v32L311.6 884.1a7.92 7.92 0 00-2.3 11l30.3 47.2v.1c2.4 3.7 7.4 4.7 11.1 2.3L512 838.9l161.3 105.8c3.7 2.4 8.7 1.4 11.1-2.3v-.1l30.3-47.2a8 8 0 00-2.3-11L548 776.3V744h356c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 512H160V232h704v440z"}}]},name:"fund-projection-screen",theme:"outlined"},uG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uX}))}),uQ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560z",fill:e}},{tag:"path",attrs:{d:"M136 792h752V232H136v560zm56.4-130.5l214.9-215c3.1-3.1 8.2-3.1 11.3 0L533 561l254.5-254.6c3.1-3.1 8.2-3.1 11.3 0l36.8 36.8c3.1 3.1 3.1 8.2 0 11.3l-297 297.2a8.03 8.03 0 01-11.3 0L412.9 537.2 240.4 709.7a8.03 8.03 0 01-11.3 0l-36.7-36.9a8.03 8.03 0 010-11.3z",fill:t}},{tag:"path",attrs:{d:"M229.1 709.7c3.1 3.1 8.2 3.1 11.3 0l172.5-172.5 114.4 114.5c3.1 3.1 8.2 3.1 11.3 0l297-297.2c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 00-11.3 0L533 561 418.6 446.5a8.03 8.03 0 00-11.3 0l-214.9 215a8.03 8.03 0 000 11.3l36.7 36.9z",fill:e}}]}},name:"fund",theme:"twotone"},uJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:uQ}))}),u1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M956 686.5l-.1-.1-.1-.1C911.7 593 843.4 545 752.5 545s-159.2 48.1-203.4 141.3v.1a42.92 42.92 0 000 36.4C593.3 816 661.6 864 752.5 864s159.2-48.1 203.4-141.3c5.4-11.5 5.4-24.8.1-36.2zM752.5 800c-62.1 0-107.4-30-141.1-95.5C645 639 690.4 609 752.5 609c62.1 0 107.4 30 141.1 95.5C860 770 814.6 800 752.5 800z"}},{tag:"path",attrs:{d:"M697 705a56 56 0 10112 0 56 56 0 10-112 0zM136 232h704v253h72V192c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v520c0 17.7 14.3 32 32 32h352v-72H136V232z"}},{tag:"path",attrs:{d:"M724.9 338.1l-36.8-36.8a8.03 8.03 0 00-11.3 0L493 485.3l-86.1-86.2a8.03 8.03 0 00-11.3 0L251.3 543.4a8.03 8.03 0 000 11.3l36.8 36.8c3.1 3.1 8.2 3.1 11.3 0l101.8-101.8 86.1 86.2c3.1 3.1 8.2 3.1 11.3 0l226.3-226.5c3.2-3.1 3.2-8.2 0-11.3z"}}]},name:"fund-view",theme:"outlined"},u4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:u1}))}),u2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M336.7 586h350.6l84.9-148H251.8zm543.4-432H143.9c-24.5 0-39.8 26.7-27.5 48L215 374h594l98.7-172c12.2-21.3-3.1-48-27.6-48zM349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V650H349v188z"}}]},name:"funnel-plot",theme:"filled"},u3=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:u2}))}),u8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 607.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V607.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V650h182.9v148zm9.6-226.6l-8.4 14.6H419.3l-8.4-14.6L334.4 438h355.2L613 571.4zM726.3 374H297.7l-85-148h598.6l-85 148z"}}]},name:"funnel-plot",theme:"outlined"},u6=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:u8}))}),u0={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M420.6 798h182.9V650H420.6zM297.7 374h428.6l85-148H212.7zm113.2 197.4l8.4 14.6h185.3l8.4-14.6L689.6 438H334.4z",fill:t}},{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 607.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V607.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.5 798H420.6V650h182.9v148zm9.5-226.6l-8.4 14.6H419.3l-8.4-14.6L334.4 438h355.2L613 571.4zM726.3 374H297.7l-85-148h598.6l-85 148z",fill:e}}]}},name:"funnel-plot",theme:"twotone"},u5=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:u0}))}),u7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 392c8.8 0 16-7.2 16-16V192c0-8.8-7.2-16-16-16H744c-8.8 0-16 7.2-16 16v56H296v-56c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16v184c0 8.8 7.2 16 16 16h56v240H96c-8.8 0-16 7.2-16 16v184c0 8.8 7.2 16 16 16h184c8.8 0 16-7.2 16-16v-56h432v56c0 8.8 7.2 16 16 16h184c8.8 0 16-7.2 16-16V648c0-8.8-7.2-16-16-16h-56V392h56zM792 240h88v88h-88v-88zm-648 88v-88h88v88h-88zm88 456h-88v-88h88v88zm648-88v88h-88v-88h88zm-80-64h-56c-8.8 0-16 7.2-16 16v56H296v-56c0-8.8-7.2-16-16-16h-56V392h56c8.8 0 16-7.2 16-16v-56h432v56c0 8.8 7.2 16 16 16h56v240z"}}]},name:"gateway",theme:"outlined"},u9=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:u7}))}),se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M944 299H692c-4.4 0-8 3.6-8 8v406c0 4.4 3.6 8 8 8h59.2c4.4 0 8-3.6 8-8V549.9h168.2c4.4 0 8-3.6 8-8V495c0-4.4-3.6-8-8-8H759.2V364.2H944c4.4 0 8-3.6 8-8V307c0-4.4-3.6-8-8-8zm-356 1h-56c-4.4 0-8 3.6-8 8v406c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V308c0-4.4-3.6-8-8-8zM452 500.9H290.5c-4.4 0-8 3.6-8 8v43.7c0 4.4 3.6 8 8 8h94.9l-.3 8.9c-1.2 58.8-45.6 98.5-110.9 98.5-76.2 0-123.9-59.7-123.9-156.7 0-95.8 46.8-155.2 121.5-155.2 54.8 0 93.1 26.9 108.5 75.4h76.2c-13.6-87.2-86-143.4-184.7-143.4C150 288 72 375.2 72 511.9 72 650.2 149.1 736 273 736c114.1 0 187-70.7 187-181.6v-45.5c0-4.4-3.6-8-8-8z"}}]},name:"gif",theme:"outlined"},st=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:se}))}),sc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M160 894c0 17.7 14.3 32 32 32h286V550H160v344zm386 32h286c17.7 0 32-14.3 32-32V550H546v376zm334-616H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v140h366V310h68v172h366V342c0-17.7-14.3-32-32-32zm-402-4h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70 70 31.4 70 70v70zm138 0h-70v-70c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70z"}}]},name:"gift",theme:"filled"},sn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sc}))}),sa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 310H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v200c0 4.4 3.6 8 8 8h40v344c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V550h40c4.4 0 8-3.6 8-8V342c0-17.7-14.3-32-32-32zm-334-74c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70h-70v-70zm-138-70c38.6 0 70 31.4 70 70v70h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70zM180 482V378h298v104H180zm48 68h250v308H228V550zm568 308H546V550h250v308zm48-376H546V378h298v104z"}}]},name:"gift",theme:"outlined"},sr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sa}))}),sl={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M546 378h298v104H546zM228 550h250v308H228zm-48-172h298v104H180zm366 172h250v308H546z",fill:t}},{tag:"path",attrs:{d:"M880 310H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v200c0 4.4 3.6 8 8 8h40v344c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V550h40c4.4 0 8-3.6 8-8V342c0-17.7-14.3-32-32-32zM478 858H228V550h250v308zm0-376H180V378h298v104zm0-176h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70 70 31.4 70 70v70zm68-70c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70h-70v-70zm250 622H546V550h250v308zm48-376H546V378h298v104z",fill:e}}]}},name:"gift",theme:"twotone"},so=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sl}))}),si={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"}}]},name:"github",theme:"filled"},su=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:si}))}),ss={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"}}]},name:"github",theme:"outlined"},sf=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ss}))}),sh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M910.5 553.2l-109-370.8c-6.8-20.4-23.1-34.1-44.9-34.1s-39.5 12.3-46.3 32.7l-72.2 215.4H386.2L314 181.1c-6.8-20.4-24.5-32.7-46.3-32.7s-39.5 13.6-44.9 34.1L113.9 553.2c-4.1 13.6 1.4 28.6 12.3 36.8l385.4 289 386.7-289c10.8-8.1 16.3-23.1 12.2-36.8z"}}]},name:"gitlab",theme:"filled"},sd=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sh}))}),sv={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M913.9 552.2L805 181.4v-.1c-7.6-22.9-25.7-36.5-48.3-36.5-23.4 0-42.5 13.5-49.7 35.2l-71.4 213H388.8l-71.4-213c-7.2-21.7-26.3-35.2-49.7-35.2-23.1 0-42.5 14.8-48.4 36.6L110.5 552.2c-4.4 14.7 1.2 31.4 13.5 40.7l368.5 276.4c2.6 3.6 6.2 6.3 10.4 7.8l8.6 6.4 8.5-6.4c4.9-1.7 9-4.7 11.9-8.9l368.4-275.4c12.4-9.2 18-25.9 13.6-40.6zM751.7 193.4c1-1.8 2.9-1.9 3.5-1.9 1.1 0 2.5.3 3.4 3L818 394.3H684.5l67.2-200.9zm-487.4 1c.9-2.6 2.3-2.9 3.4-2.9 2.7 0 2.9.1 3.4 1.7l67.3 201.2H206.5l57.8-200zM158.8 558.7l28.2-97.3 202.4 270.2-230.6-172.9zm73.9-116.4h122.1l90.8 284.3-212.9-284.3zM512.9 776L405.7 442.3H620L512.9 776zm157.9-333.7h119.5L580 723.1l90.8-280.8zm-40.7 293.9l207.3-276.7 29.5 99.2-236.8 177.5z"}}]},name:"gitlab",theme:"outlined"},sm=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sv}))}),sg=c(10524),sz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M905.9 806.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zm-470.2-248c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8z"}}]},name:"gold",theme:"filled"},sp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sz}))}),sw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8zm91.2-196h159.5l20.7 128h-201l20.8-128zm2.5 282.7c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM196.5 748l20.7-128h159.5l20.7 128H196.5zm709.4 58.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zM626.5 748l20.7-128h159.5l20.7 128H626.5z"}}]},name:"gold",theme:"outlined"},sM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sw}))}),sZ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M435.7 558.7c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM196.5 748l20.7-128h159.5l20.7 128H196.5zm709.4 58.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zM626.5 748l20.7-128h159.5l20.7 128H626.5zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8zm91.2-196h159.5l20.7 128h-201l20.8-128z",fill:e}},{tag:"path",attrs:{d:"M592.7 276H433.2l-20.8 128h201zM217.2 620l-20.7 128h200.9l-20.7-128zm430 0l-20.7 128h200.9l-20.7-128z",fill:t}}]}},name:"gold",theme:"twotone"},sH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sZ}))}),sb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M905.9 806.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zm-470.2-248c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8z"}}]},name:"golden",theme:"filled"},sV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sb}))}),sC={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 64zm167 633.6C638.4 735 583 757 516.9 757c-95.7 0-178.5-54.9-218.8-134.9C281.5 589 272 551.6 272 512s9.5-77 26.1-110.1c40.3-80.1 123.1-135 218.8-135 66 0 121.4 24.3 163.9 63.8L610.6 401c-25.4-24.3-57.7-36.6-93.6-36.6-63.8 0-117.8 43.1-137.1 101-4.9 14.7-7.7 30.4-7.7 46.6s2.8 31.9 7.7 46.6c19.3 57.9 73.3 101 137 101 33 0 61-8.7 82.9-23.4 26-17.4 43.2-43.3 48.9-74H516.9v-94.8h230.7c2.9 16.1 4.4 32.8 4.4 50.1 0 74.7-26.7 137.4-73 180.1z"}}]},name:"google-circle",theme:"filled"},sx=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sC}))}),sE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M881 442.4H519.7v148.5h206.4c-8.9 48-35.9 88.6-76.6 115.8-34.4 23-78.3 36.6-129.9 36.6-99.9 0-184.4-67.5-214.6-158.2-7.6-23-12-47.6-12-72.9s4.4-49.9 12-72.9c30.3-90.6 114.8-158.1 214.7-158.1 56.3 0 106.8 19.4 146.6 57.4l110-110.1c-66.5-62-153.2-100-256.6-100-149.9 0-279.6 86-342.7 211.4-26 51.8-40.8 110.4-40.8 172.4S151 632.8 177 684.6C240.1 810 369.8 896 519.7 896c103.6 0 190.4-34.4 253.8-93 72.5-66.8 114.4-165.2 114.4-282.1 0-27.2-2.4-53.3-6.9-78.5z"}}]},name:"google",theme:"outlined"},sL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sE}))}),sR={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 64zm36.5 558.8c-43.9 61.8-132.1 79.8-200.9 53.3-69-26.3-118-99.2-112.1-173.5 1.5-90.9 85.2-170.6 176.1-167.5 43.6-2 84.6 16.9 118 43.6-14.3 16.2-29 31.8-44.8 46.3-40.1-27.7-97.2-35.6-137.3-3.6-57.4 39.7-60 133.4-4.8 176.1 53.7 48.7 155.2 24.5 170.1-50.1-33.6-.5-67.4 0-101-1.1-.1-20.1-.2-40.1-.1-60.2 56.2-.2 112.5-.3 168.8.2 3.3 47.3-3 97.5-32 136.5zM791 536.5c-16.8.2-33.6.3-50.4.4-.2 16.8-.3 33.6-.3 50.4H690c-.2-16.8-.2-33.5-.3-50.3-16.8-.2-33.6-.3-50.4-.5v-50.1c16.8-.2 33.6-.3 50.4-.3.1-16.8.3-33.6.4-50.4h50.2l.3 50.4c16.8.2 33.6.2 50.4.3v50.1z"}}]},name:"google-plus-circle",theme:"filled"},sy=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sR}))}),sB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M879.5 470.4c-.3-27-.4-54.2-.5-81.3h-80.8c-.3 27-.5 54.1-.7 81.3-27.2.1-54.2.3-81.2.6v80.9c27 .3 54.2.5 81.2.8.3 27 .3 54.1.5 81.1h80.9c.1-27 .3-54.1.5-81.3 27.2-.3 54.2-.4 81.2-.7v-80.9c-26.9-.2-54.1-.2-81.1-.5zm-530 .4c-.1 32.3 0 64.7.1 97 54.2 1.8 108.5 1 162.7 1.8-23.9 120.3-187.4 159.3-273.9 80.7-89-68.9-84.8-220 7.7-284 64.7-51.6 156.6-38.9 221.3 5.8 25.4-23.5 49.2-48.7 72.1-74.7-53.8-42.9-119.8-73.5-190-70.3-146.6-4.9-281.3 123.5-283.7 270.2-9.4 119.9 69.4 237.4 180.6 279.8 110.8 42.7 252.9 13.6 323.7-86 46.7-62.9 56.8-143.9 51.3-220-90.7-.7-181.3-.6-271.9-.3z"}}]},name:"google-plus",theme:"outlined"},sS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sB}))}),sO={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-32zM548.5 622.8c-43.9 61.8-132.1 79.8-200.9 53.3-69-26.3-118-99.2-112.1-173.5 1.5-90.9 85.2-170.6 176.1-167.5 43.6-2 84.6 16.9 118 43.6-14.3 16.2-29 31.8-44.8 46.3-40.1-27.7-97.2-35.6-137.3-3.6-57.4 39.7-60 133.4-4.8 176.1 53.7 48.7 155.2 24.5 170.1-50.1-33.6-.5-67.4 0-101-1.1-.1-20.1-.2-40.1-.1-60.2 56.2-.2 112.5-.3 168.8.2 3.3 47.3-3 97.5-32 136.5zM791 536.5c-16.8.2-33.6.3-50.4.4-.2 16.8-.3 33.6-.3 50.4H690c-.2-16.8-.2-33.5-.3-50.3-16.8-.2-33.6-.3-50.4-.5v-50.1c16.8-.2 33.6-.3 50.4-.3.1-16.8.3-33.6.4-50.4h50.2l.3 50.4c16.8.2 33.6.2 50.4.3v50.1z"}}]},name:"google-plus-square",theme:"filled"},sk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sO}))}),sT={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-32zM679 697.6C638.4 735 583 757 516.9 757c-95.7 0-178.5-54.9-218.8-134.9A245.02 245.02 0 01272 512c0-39.6 9.5-77 26.1-110.1 40.3-80.1 123.1-135 218.8-135 66 0 121.4 24.3 163.9 63.8L610.6 401c-25.4-24.3-57.7-36.6-93.6-36.6-63.8 0-117.8 43.1-137.1 101-4.9 14.7-7.7 30.4-7.7 46.6s2.8 31.9 7.7 46.6c19.3 57.9 73.3 101 137 101 33 0 61-8.7 82.9-23.4 26-17.4 43.2-43.3 48.9-74H516.9v-94.8h230.7c2.9 16.1 4.4 32.8 4.4 50.1 0 74.7-26.7 137.4-73 180.1z"}}]},name:"google-square",theme:"filled"},s$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sT}))}),sF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M912 820.1V203.9c28-9.9 48-36.6 48-67.9 0-39.8-32.2-72-72-72-31.3 0-58 20-67.9 48H203.9C194 84 167.3 64 136 64c-39.8 0-72 32.2-72 72 0 31.3 20 58 48 67.9v616.2C84 830 64 856.7 64 888c0 39.8 32.2 72 72 72 31.3 0 58-20 67.9-48h616.2c9.9 28 36.6 48 67.9 48 39.8 0 72-32.2 72-72 0-31.3-20-58-48-67.9zM888 112c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM136 912c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0-752c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm704 680H184V184h656v656zm48 72c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24z"}},{tag:"path",attrs:{d:"M288 474h448c8.8 0 16-7.2 16-16V282c0-8.8-7.2-16-16-16H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16zm56-136h336v64H344v-64zm-56 420h448c8.8 0 16-7.2 16-16V566c0-8.8-7.2-16-16-16H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16zm56-136h336v64H344v-64z"}}]},name:"group",theme:"outlined"},sI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sF}))}),sA={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.5 65C719.99 65 889 234.01 889 442.5S719.99 820 511.5 820 134 650.99 134 442.5 303.01 65 511.5 65m0 64C338.36 129 198 269.36 198 442.5S338.36 756 511.5 756 825 615.64 825 442.5 684.64 129 511.5 129M745 889v72H278v-72z"}}]},name:"harmony-o-s",theme:"outlined"},sD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sA}))}),sN={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 32v224h704V96c0-17.7-14.3-32-32-32zM456 216c0 4.4-3.6 8-8 8H264c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zM160 928c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V704H160v224zm576-136c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM160 640h704V384H160v256zm96-152c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H264c-4.4 0-8-3.6-8-8v-48z"}}]},name:"hdd",theme:"filled"},sP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sN}))}),sq={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-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM496 208H312c-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-8zM312 544h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm328 244a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"hdd",theme:"outlined"},sW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sq}))}),sj={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 888h560V680H232v208zm448-140c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 616h560V408H232v208zm72-128c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H312c-4.4 0-8-3.6-8-8v-48zm-72-144h560V136H232v208zm72-128c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H312c-4.4 0-8-3.6-8-8v-48z",fill:t}},{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-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z",fill:e}},{tag:"path",attrs:{d:"M312 544h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-272h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm328 516a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}}]}},name:"hdd",theme:"twotone"},sY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sj}))}),s_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"}}]},name:"heart",theme:"filled"},sK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:s_}))}),sU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"}}]},name:"heart",theme:"outlined"},sX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sU}))}),sG={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z",fill:e}},{tag:"path",attrs:{d:"M679.7 201c-73.1 0-136.5 40.8-167.7 100.4C480.8 241.8 417.4 201 344.3 201c-104 0-188.3 82.6-188.3 184.5 0 201.2 356 429.3 356 429.3s356-228.1 356-429.3C868 283.6 783.7 201 679.7 201z",fill:t}}]}},name:"heart",theme:"twotone"},sQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sG}))}),sJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-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-790.4-23.9L512 231.9 858.7 832H165.3zm319-474.1l-228 394c-12.3 21.3 3.1 48 27.7 48h455.8c24.7 0 40.1-26.7 27.7-48L539.7 358c-6.2-10.7-17-16-27.7-16-10.8 0-21.6 5.3-27.7 16zm214 386H325.7L512 422l186.3 322zm-214-194.1l-57 98.4C415 669.5 430.4 696 455 696h114c24.6 0 39.9-26.5 27.7-47.7l-57-98.4c-6.1-10.6-16.9-15.9-27.7-15.9s-21.5 5.3-27.7 15.9zm57.1 98.4h-58.7l29.4-50.7 29.3 50.7z"}}]},name:"heat-map",theme:"outlined"},s1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:sJ}))}),s4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M957.6 507.4L603.2 158.2a7.9 7.9 0 00-11.2 0L353.3 393.4a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8V860c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6 40.4 39.8a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2z"}}]},name:"highlight",theme:"filled"},s2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:s4}))}),s3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M957.6 507.4L603.2 158.2a7.9 7.9 0 00-11.2 0L353.3 393.4a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8V860c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6 40.4 39.8a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2zM389.8 796.2H229.6l134.4-133 80.1 78.9-54.3 54.1zm154.8-62.1L373.2 565.2l68.6-67.6 171.4 168.9-68.6 67.6zM713.1 658L450.3 399.1 597.6 254l262.8 259-147.3 145z"}}]},name:"highlight",theme:"outlined"},s8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:s3}))}),s6={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M229.6 796.3h160.2l54.3-54.1-80.1-78.9zm220.7-397.1l262.8 258.9 147.3-145-262.8-259zm-77.1 166.1l171.4 168.9 68.6-67.6-171.4-168.9z",fill:t}},{tag:"path",attrs:{d:"M957.6 507.5L603.2 158.3a7.9 7.9 0 00-11.2 0L353.3 393.5a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8v55.2c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6L539 830a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2zM389.8 796.3H229.6l134.4-133 80.1 78.9-54.3 54.1zm154.8-62.1L373.2 565.3l68.6-67.6 171.4 168.9-68.6 67.6zm168.5-76.1L450.3 399.2l147.3-145.1 262.8 259-147.3 145z",fill:e}}]}},name:"highlight",theme:"twotone"},s0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:s6}))}),s5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"}}]},name:"history",theme:"outlined"},s7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:s5}))}),s9=c(29751),fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L534.6 93.4a31.93 31.93 0 00-45.2 0L77.5 505c-12 12-18.8 28.3-18.8 45.3 0 35.3 28.7 64 64 64h43.4V908c0 17.7 14.3 32 32 32H448V716h112v224h265.9c17.7 0 32-14.3 32-32V614.3h43.4c17 0 33.3-6.7 45.3-18.8 24.9-25 24.9-65.5-.1-90.5z"}}]},name:"home",theme:"filled"},ft=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fe}))}),fc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"},fn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fc}))}),fa={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512.1 172.6l-370 369.7h96V868H392V640c0-22.1 17.9-40 40-40h160c22.1 0 40 17.9 40 40v228h153.9V542.3H882L535.2 195.7l-23.1-23.1zm434.5 422.9c-6 6-13.1 10.8-20.8 13.9 7.7-3.2 14.8-7.9 20.8-13.9zm-887-34.7c5 30.3 31.4 53.5 63.1 53.5h.9c-31.9 0-58.9-23-64-53.5zm-.9-10.5v-1.9 1.9zm.1-2.6c.1-3.1.5-6.1 1-9.1-.6 2.9-.9 6-1 9.1z",fill:t}},{tag:"path",attrs:{d:"M951 510c0-.1-.1-.1-.1-.2l-1.8-2.1c-.1-.1-.2-.3-.4-.4-.7-.8-1.5-1.6-2.2-2.4L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.6 63.6 0 00-16 26.6l-.6 2.1-.3 1.1-.3 1.2c-.2.7-.3 1.4-.4 2.1 0 .1 0 .3-.1.4-.6 3-.9 6-1 9.1v3.3c0 .5 0 1 .1 1.5 0 .5 0 .9.1 1.4 0 .5.1 1 .1 1.5 0 .6.1 1.2.2 1.8 0 .3.1.6.1.9l.3 2.5v.1c5.1 30.5 32.2 53.5 64 53.5h42.5V940h691.7V614.3h43.4c8.6 0 16.9-1.7 24.5-4.9s14.7-7.9 20.8-13.9a63.6 63.6 0 0018.7-45.3c0-14.7-5-28.8-14.3-40.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z",fill:e}}]}},name:"home",theme:"twotone"},fr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fa}))}),fl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194z"}}]},name:"hourglass",theme:"filled"},fo=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fl}))}),fi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194zm-72 388v134H354V706c0-42.2 16.4-81.9 46.3-111.7C430.1 564.4 469.8 548 512 548s81.9 16.4 111.7 46.3C653.6 624.1 670 663.8 670 706zm0-388c0 42.2-16.4 81.9-46.3 111.7C593.9 459.6 554.2 476 512 476s-81.9-16.4-111.7-46.3A156.63 156.63 0 01354 318V184h316v134z"}}]},name:"hourglass",theme:"outlined"},fu=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fi}))}),fs={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 548c-42.2 0-81.9 16.4-111.7 46.3A156.63 156.63 0 00354 706v134h316V706c0-42.2-16.4-81.9-46.3-111.7A156.63 156.63 0 00512 548zM354 318c0 42.2 16.4 81.9 46.3 111.7C430.1 459.6 469.8 476 512 476s81.9-16.4 111.7-46.3C653.6 399.9 670 360.2 670 318V184H354v134z",fill:t}},{tag:"path",attrs:{d:"M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194zm-72 388v134H354V706c0-42.2 16.4-81.9 46.3-111.7C430.1 564.4 469.8 548 512 548s81.9 16.4 111.7 46.3C653.6 624.1 670 663.8 670 706zm0-388c0 42.2-16.4 81.9-46.3 111.7C593.9 459.6 554.2 476 512 476s-81.9-16.4-111.7-46.3A156.63 156.63 0 01354 318V184h316v134z",fill:e}}]}},name:"hourglass",theme:"twotone"},ff=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fs}))}),fh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M145.2 96l66 746.6L512 928l299.6-85.4L878.9 96H145.2zm595 177.1l-4.8 47.2-1.7 19.5H382.3l8.2 94.2h335.1l-3.3 24.3-21.2 242.2-1.7 16.2-187 51.6v.3h-1.2l-.3.1v-.1h-.1l-188.6-52L310.8 572h91.1l6.5 73.2 102.4 27.7h.4l102-27.6 11.4-118.6H510.9v-.1H306l-22.8-253.5-1.7-24.3h460.3l-1.6 24.3z"}}]},name:"html5",theme:"filled"},fd=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fh}))}),fv={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M145 96l66 746.6L511.8 928l299.6-85.4L878.7 96H145zm610.9 700.6l-244.1 69.6-245.2-69.6-56.7-641.2h603.8l-57.8 641.2zM281 249l1.7 24.3 22.7 253.5h206.5v-.1h112.9l-11.4 118.5L511 672.9v.2h-.8l-102.4-27.7-6.5-73.2h-91l11.3 144.7 188.6 52h1.7v-.4l187.7-51.7 1.7-16.3 21.2-242.2 3.2-24.3H511v.2H389.9l-8.2-94.2h352.1l1.7-19.5 4.8-47.2L742 249H511z"}}]},name:"html5",theme:"outlined"},fm=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fv}))}),fg={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M145 96l66 746.6L511.8 928l299.6-85.4L878.7 96H145zm610.9 700.6l-244.1 69.6-245.2-69.6-56.7-641.2h603.8l-57.8 641.2z",fill:e}},{tag:"path",attrs:{d:"M209.9 155.4l56.7 641.2 245.2 69.6 244.1-69.6 57.8-641.2H209.9zm530.4 117.9l-4.8 47.2-1.7 19.5H381.7l8.2 94.2H511v-.2h214.7l-3.2 24.3-21.2 242.2-1.7 16.3-187.7 51.7v.4h-1.7l-188.6-52-11.3-144.7h91l6.5 73.2 102.4 27.7h.8v-.2l102.4-27.7 11.4-118.5H511.9v.1H305.4l-22.7-253.5L281 249h461l-1.7 24.3z",fill:t}},{tag:"path",attrs:{d:"M281 249l1.7 24.3 22.7 253.5h206.5v-.1h112.9l-11.4 118.5L511 672.9v.2h-.8l-102.4-27.7-6.5-73.2h-91l11.3 144.7 188.6 52h1.7v-.4l187.7-51.7 1.7-16.3 21.2-242.2 3.2-24.3H511v.2H389.9l-8.2-94.2h352.1l1.7-19.5 4.8-47.2L742 249H511z",fill:e}}]}},name:"html5",theme:"twotone"},fz=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fg}))}),fp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M373 411c-28.5 0-51.7 23.3-51.7 52s23.2 52 51.7 52 51.7-23.3 51.7-52-23.2-52-51.7-52zm555-251H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zM608 420c0-4.4 1-8 2.3-8h123.4c1.3 0 2.3 3.6 2.3 8v48c0 4.4-1 8-2.3 8H610.3c-1.3 0-2.3-3.6-2.3-8v-48zm-86 253h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H224a8 8 0 01-8-8.4c2.8-53.3 32-99.7 74.6-126.1a111.8 111.8 0 01-29.1-75.5c0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.5-29.1 75.5 42.7 26.5 71.8 72.8 74.6 126.1.4 4.6-3.2 8.4-7.8 8.4zm278.9-53H615.1c-3.9 0-7.1-3.6-7.1-8v-48c0-4.4 3.2-8 7.1-8h185.7c3.9 0 7.1 3.6 7.1 8v48h.1c0 4.4-3.2 8-7.1 8z"}}]},name:"idcard",theme:"filled"},fw=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fp}))}),fM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560zM610.3 476h123.4c1.3 0 2.3-3.6 2.3-8v-48c0-4.4-1-8-2.3-8H610.3c-1.3 0-2.3 3.6-2.3 8v48c0 4.4 1 8 2.3 8zm4.8 144h185.7c3.9 0 7.1-3.6 7.1-8v-48c0-4.4-3.2-8-7.1-8H615.1c-3.9 0-7.1 3.6-7.1 8v48c0 4.4 3.2 8 7.1 8zM224 673h43.9c4.2 0 7.6-3.3 7.9-7.5 3.8-50.5 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H522a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.6-126.1a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1c-.4 4.6 3.2 8.4 7.8 8.4zm149-262c28.5 0 51.7 23.3 51.7 52s-23.2 52-51.7 52-51.7-23.3-51.7-52 23.2-52 51.7-52z"}}]},name:"idcard",theme:"outlined"},fZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fM}))}),fH={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560z",fill:e}},{tag:"path",attrs:{d:"M136 792h752V232H136v560zm472-372c0-4.4 1-8 2.3-8h123.4c1.3 0 2.3 3.6 2.3 8v48c0 4.4-1 8-2.3 8H610.3c-1.3 0-2.3-3.6-2.3-8v-48zm0 144c0-4.4 3.2-8 7.1-8h185.7c3.9 0 7.1 3.6 7.1 8v48c0 4.4-3.2 8-7.1 8H615.1c-3.9 0-7.1-3.6-7.1-8v-48zM216.2 664.6c2.8-53.3 31.9-99.6 74.6-126.1-18.1-20-29.1-46.4-29.1-75.5 0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.6-29.1 75.5 42.6 26.4 71.8 72.8 74.6 126.1a8 8 0 01-8 8.4h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H224c-4.6 0-8.2-3.8-7.8-8.4z",fill:t}},{tag:"path",attrs:{d:"M321.3 463a51.7 52 0 10103.4 0 51.7 52 0 10-103.4 0z",fill:t}},{tag:"path",attrs:{d:"M610.3 476h123.4c1.3 0 2.3-3.6 2.3-8v-48c0-4.4-1-8-2.3-8H610.3c-1.3 0-2.3 3.6-2.3 8v48c0 4.4 1 8 2.3 8zm4.8 144h185.7c3.9 0 7.1-3.6 7.1-8v-48c0-4.4-3.2-8-7.1-8H615.1c-3.9 0-7.1 3.6-7.1 8v48c0 4.4 3.2 8 7.1 8zM224 673h43.9c4.2 0 7.6-3.3 7.9-7.5 3.8-50.5 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H522a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.6-126.1a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1c-.4 4.6 3.2 8.4 7.8 8.4zm149-262c28.5 0 51.7 23.3 51.7 52s-23.2 52-51.7 52-51.7-23.3-51.7-52 23.2-52 51.7-52z",fill:e}}]}},name:"idcard",theme:"twotone"},fb=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fH}))}),fV=c(68346),fC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M852.6 367.6c16.3-36.9 32.1-90.7 32.1-131.8 0-109.1-119.5-147.6-314.5-57.9-161.4-10.8-316.8 110.5-355.6 279.7 46.3-52.3 117.4-123.4 183-151.7C316.1 378.3 246.7 470 194 565.6c-31.1 56.9-66 148.8-66 217.5 0 147.9 139.3 129.8 270.4 63 47.1 23.1 99.8 23.4 152.5 23.4 145.7 0 276.4-81.4 325.2-219H694.9c-78.8 132.9-295.2 79.5-295.2-71.2h493.2c9.6-65.4-2.5-143.6-40.3-211.7zM224.8 648.3c26.6 76.7 80.6 143.8 150.4 185-133.1 73.4-259.9 43.6-150.4-185zm174-163.3c3-82.7 75.4-142.3 156-142.3 80.1 0 153 59.6 156 142.3h-312zm276.8-281.4c32.1-15.4 72.8-33 108.8-33 47.1 0 81.4 32.6 81.4 80.6 0 30-11.1 73.5-21.9 101.8-39.3-63.5-98.9-122.4-168.3-149.4z"}}]},name:"ie",theme:"outlined"},fx=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fC}))}),fE={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-32zM765.9 556.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.2zm-72.3-272.5c-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.7zM540.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-square",theme:"filled"},fL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fE}))}),fR=c(57546),fy=c(64082),fB=c(78860),fS=c(45605),fO={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm32 588c0 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",fill:t}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"info-circle",theme:"twotone"},fk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fO}))}),fT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M448 224a64 64 0 10128 0 64 64 0 10-128 0zm96 168h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V400c0-4.4-3.6-8-8-8z"}}]},name:"info",theme:"outlined"},f$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fT}))}),fF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M878.7 336H145.3c-18.4 0-33.3 14.3-33.3 32v464c0 17.7 14.9 32 33.3 32h733.3c18.4 0 33.3-14.3 33.3-32V368c.1-17.7-14.8-32-33.2-32zM360 792H184V632h176v160zm0-224H184V408h176v160zm240 224H424V632h176v160zm0-224H424V408h176v160zm240 224H664V632h176v160zm0-224H664V408h176v160zm64-408H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8z"}}]},name:"insert-row-above",theme:"outlined"},fI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fF}))}),fA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M904 768H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-25.3-608H145.3c-18.4 0-33.3 14.3-33.3 32v464c0 17.7 14.9 32 33.3 32h733.3c18.4 0 33.3-14.3 33.3-32V192c.1-17.7-14.8-32-33.2-32zM360 616H184V456h176v160zm0-224H184V232h176v160zm240 224H424V456h176v160zm0-224H424V232h176v160zm240 224H664V456h176v160zm0-224H664V232h176v160z"}}]},name:"insert-row-below",theme:"outlined"},fD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fA}))}),fN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M248 112h-80c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8zm584 0H368c-17.7 0-32 14.9-32 33.3v733.3c0 18.4 14.3 33.3 32 33.3h464c17.7 0 32-14.9 32-33.3V145.3c0-18.4-14.3-33.3-32-33.3zM568 840H408V664h160v176zm0-240H408V424h160v176zm0-240H408V184h160v176zm224 480H632V664h160v176zm0-240H632V424h160v176zm0-240H632V184h160v176z"}}]},name:"insert-row-left",theme:"outlined"},fP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fN}))}),fq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M856 112h-80c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8zm-200 0H192c-17.7 0-32 14.9-32 33.3v733.3c0 18.4 14.3 33.3 32 33.3h464c17.7 0 32-14.9 32-33.3V145.3c0-18.4-14.3-33.3-32-33.3zM392 840H232V664h160v176zm0-240H232V424h160v176zm0-240H232V184h160v176zm224 480H456V664h160v176zm0-240H456V424h160v176zm0-240H456V184h160v176z"}}]},name:"insert-row-right",theme:"outlined"},fW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fq}))}),fj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 378.7c-73.4 0-133.3 59.9-133.3 133.3S438.6 645.3 512 645.3 645.3 585.4 645.3 512 585.4 378.7 512 378.7zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zM512 717.1c-113.5 0-205.1-91.6-205.1-205.1S398.5 306.9 512 306.9 717.1 398.5 717.1 512 625.5 717.1 512 717.1zm213.5-370.7c-26.5 0-47.9-21.4-47.9-47.9s21.4-47.9 47.9-47.9 47.9 21.4 47.9 47.9a47.84 47.84 0 01-47.9 47.9z"}}]},name:"instagram",theme:"filled"},fY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fj}))}),f_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 306.9c-113.5 0-205.1 91.6-205.1 205.1S398.5 717.1 512 717.1 717.1 625.5 717.1 512 625.5 306.9 512 306.9zm0 338.4c-73.4 0-133.3-59.9-133.3-133.3S438.6 378.7 512 378.7 645.3 438.6 645.3 512 585.4 645.3 512 645.3zm213.5-394.6c-26.5 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9 47.9-21.3 47.9-47.9a47.84 47.84 0 00-47.9-47.9zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zm-88 235.8c-7.3 18.2-16.1 31.8-30.2 45.8-14.1 14.1-27.6 22.9-45.8 30.2C695.2 844.7 570.3 840 512 840c-58.3 0-183.3 4.7-235.9-16.1-18.2-7.3-31.8-16.1-45.8-30.2-14.1-14.1-22.9-27.6-30.2-45.8C179.3 695.2 184 570.3 184 512c0-58.3-4.7-183.3 16.1-235.9 7.3-18.2 16.1-31.8 30.2-45.8s27.6-22.9 45.8-30.2C328.7 179.3 453.7 184 512 184s183.3-4.7 235.9 16.1c18.2 7.3 31.8 16.1 45.8 30.2 14.1 14.1 22.9 27.6 30.2 45.8C844.7 328.7 840 453.7 840 512c0 58.3 4.7 183.2-16.2 235.8z"}}]},name:"instagram",theme:"outlined"},fK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:f_}))}),fU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M519.9 358.8h97.9v41.6h-97.9zm347-188.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM411.3 656h-.2c0 4.4-3.6 8-8 8h-37.3c-4.4 0-8-3.6-8-8V471.4c-7.7 9.2-15.4 17.9-23.1 26a6.04 6.04 0 01-10.2-2.4l-13.2-43.5c-.6-2-.2-4.1 1.2-5.6 37-43.4 64.7-95.1 82.2-153.6 1.1-3.5 5-5.3 8.4-3.7l38.6 18.3c2.7 1.3 4.1 4.4 3.2 7.2a429.2 429.2 0 01-33.6 79V656zm296.5-49.2l-26.3 35.3a5.92 5.92 0 01-8.9.7c-30.6-29.3-56.8-65.2-78.1-106.9V656c0 4.4-3.6 8-8 8h-36.2c-4.4 0-8-3.6-8-8V536c-22 44.7-49 80.8-80.6 107.6a5.9 5.9 0 01-8.9-1.4L430 605.7a6 6 0 011.6-8.1c28.6-20.3 51.9-45.2 71-76h-55.1c-4.4 0-8-3.6-8-8V478c0-4.4 3.6-8 8-8h94.9v-18.6h-65.9c-4.4 0-8-3.6-8-8V316c0-4.4 3.6-8 8-8h184.7c4.4 0 8 3.6 8 8v127.2c0 4.4-3.6 8-8 8h-66.7v18.6h98.8c4.4 0 8 3.6 8 8v35.6c0 4.4-3.6 8-8 8h-59c18.1 29.1 41.8 54.3 72.3 76.9 2.6 2.1 3.2 5.9 1.2 8.5z"}}]},name:"insurance",theme:"filled"},fX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fU}))}),fG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M441.6 306.8L403 288.6a6.1 6.1 0 00-8.4 3.7c-17.5 58.5-45.2 110.1-82.2 153.6a6.05 6.05 0 00-1.2 5.6l13.2 43.5c1.3 4.4 7 5.7 10.2 2.4 7.7-8.1 15.4-16.9 23.1-26V656c0 4.4 3.6 8 8 8H403c4.4 0 8-3.6 8-8V393.1a429.2 429.2 0 0033.6-79c1-2.9-.3-6-3-7.3zm26.8 9.2v127.2c0 4.4 3.6 8 8 8h65.9v18.6h-94.9c-4.4 0-8 3.6-8 8v35.6c0 4.4 3.6 8 8 8h55.1c-19.1 30.8-42.4 55.7-71 76a6 6 0 00-1.6 8.1l22.8 36.5c1.9 3.1 6.2 3.8 8.9 1.4 31.6-26.8 58.7-62.9 80.6-107.6v120c0 4.4 3.6 8 8 8h36.2c4.4 0 8-3.6 8-8V536c21.3 41.7 47.5 77.5 78.1 106.9 2.6 2.5 6.8 2.1 8.9-.7l26.3-35.3c2-2.7 1.4-6.5-1.2-8.4-30.5-22.6-54.2-47.8-72.3-76.9h59c4.4 0 8-3.6 8-8V478c0-4.4-3.6-8-8-8h-98.8v-18.6h66.7c4.4 0 8-3.6 8-8V316c0-4.4-3.6-8-8-8H476.4c-4.4 0-8 3.6-8 8zm51.5 42.8h97.9v41.6h-97.9v-41.6zm347-188.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z"}}]},name:"insurance",theme:"outlined"},fQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fG}))}),fJ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z",fill:e}},{tag:"path",attrs:{d:"M521.9 358.8h97.9v41.6h-97.9z",fill:t}},{tag:"path",attrs:{d:"M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM413.3 656h-.2c0 4.4-3.6 8-8 8h-37.3c-4.4 0-8-3.6-8-8V471.4c-7.7 9.2-15.4 17.9-23.1 26a6.04 6.04 0 01-10.2-2.4l-13.2-43.5c-.6-2-.2-4.1 1.2-5.6 37-43.4 64.7-95.1 82.2-153.6 1.1-3.5 5-5.3 8.4-3.7l38.6 18.3c2.7 1.3 4.1 4.4 3.2 7.2a429.2 429.2 0 01-33.6 79V656zm257.9-340v127.2c0 4.4-3.6 8-8 8h-66.7v18.6h98.8c4.4 0 8 3.6 8 8v35.6c0 4.4-3.6 8-8 8h-59c18.1 29.1 41.8 54.3 72.3 76.9 2.6 2.1 3.2 5.9 1.2 8.5l-26.3 35.3a5.92 5.92 0 01-8.9.7c-30.6-29.3-56.8-65.2-78.1-106.9V656c0 4.4-3.6 8-8 8h-36.2c-4.4 0-8-3.6-8-8V536c-22 44.7-49 80.8-80.6 107.6a6.38 6.38 0 01-4.8 1.4c-1.7-.3-3.2-1.3-4.1-2.8L432 605.7a6 6 0 011.6-8.1c28.6-20.3 51.9-45.2 71-76h-55.1c-4.4 0-8-3.6-8-8V478c0-4.4 3.6-8 8-8h94.9v-18.6h-65.9c-4.4 0-8-3.6-8-8V316c0-4.4 3.6-8 8-8h184.7c4.4 0 8 3.6 8 8z",fill:t}},{tag:"path",attrs:{d:"M443.7 306.9l-38.6-18.3c-3.4-1.6-7.3.2-8.4 3.7-17.5 58.5-45.2 110.2-82.2 153.6a5.7 5.7 0 00-1.2 5.6l13.2 43.5c1.4 4.5 7 5.8 10.2 2.4 7.7-8.1 15.4-16.8 23.1-26V656c0 4.4 3.6 8 8 8h37.3c4.4 0 8-3.6 8-8h.2V393.1a429.2 429.2 0 0033.6-79c.9-2.8-.5-5.9-3.2-7.2zm26.8 9.1v127.4c0 4.4 3.6 8 8 8h65.9V470h-94.9c-4.4 0-8 3.6-8 8v35.6c0 4.4 3.6 8 8 8h55.1c-19.1 30.8-42.4 55.7-71 76a6 6 0 00-1.6 8.1l22.8 36.5c.9 1.5 2.4 2.5 4.1 2.8 1.7.3 3.5-.2 4.8-1.4 31.6-26.8 58.6-62.9 80.6-107.6v120c0 4.4 3.6 8 8 8h36.2c4.4 0 8-3.6 8-8V535.9c21.3 41.7 47.5 77.6 78.1 106.9 2.6 2.5 6.7 2.2 8.9-.7l26.3-35.3c2-2.6 1.4-6.4-1.2-8.5-30.5-22.6-54.2-47.8-72.3-76.9h59c4.4 0 8-3.6 8-8v-35.6c0-4.4-3.6-8-8-8h-98.8v-18.6h66.7c4.4 0 8-3.6 8-8V316c0-4.4-3.6-8-8-8H478.5c-4.4 0-8 3.6-8 8zm51.4 42.8h97.9v41.6h-97.9v-41.6z",fill:e}}]}},name:"insurance",theme:"twotone"},f1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:fJ}))}),f4={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"},f2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:f4}))}),f3={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-32zm-40 728H184V184h656v656zM304.8 524h50.7c3.7 0 6.8-3 6.8-6.8v-78.9c0-19.7 15.9-35.6 35.5-35.6h205.7v53.4c0 5.7 6.5 8.8 10.9 5.3l109.1-85.7c3.5-2.7 3.5-8 0-10.7l-109.1-85.7c-4.4-3.5-10.9-.3-10.9 5.3V338H397.7c-55.1 0-99.7 44.8-99.7 100.1V517c0 4 3 7 6.8 7zm-4.2 134.9l109.1 85.7c4.4 3.5 10.9.3 10.9-5.3v-53.4h205.7c55.1 0 99.7-44.8 99.7-100.1v-78.9c0-3.7-3-6.8-6.8-6.8h-50.7c-3.7 0-6.8 3-6.8 6.8v78.9c0 19.7-15.9 35.6-35.5 35.6H420.6V568c0-5.7-6.5-8.8-10.9-5.3l-109.1 85.7c-3.5 2.5-3.5 7.8 0 10.5z"}}]},name:"interaction",theme:"outlined"},f8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:f3}))}),f6={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm114-401.9c0-55.3 44.6-100.1 99.7-100.1h205.8v-53.4c0-5.6 6.5-8.8 10.9-5.3L723.5 365c3.5 2.7 3.5 8 0 10.7l-109.1 85.7c-4.4 3.5-10.9.4-10.9-5.3v-53.4H397.8c-19.6 0-35.5 15.9-35.5 35.6v78.9c0 3.8-3.1 6.8-6.8 6.8h-50.7c-3.8 0-6.8-3-6.8-7v-78.9zm2.6 210.3l109.1-85.7c4.4-3.5 10.9-.4 10.9 5.3v53.4h205.6c19.6 0 35.5-15.9 35.5-35.6v-78.9c0-3.8 3.1-6.8 6.8-6.8h50.7c3.8 0 6.8 3.1 6.8 6.8v78.9c0 55.3-44.6 100.1-99.7 100.1H420.6v53.4c0 5.6-6.5 8.8-10.9 5.3l-109.1-85.7c-3.5-2.7-3.5-8 0-10.5z",fill:t}},{tag:"path",attrs:{d:"M304.8 524h50.7c3.7 0 6.8-3 6.8-6.8v-78.9c0-19.7 15.9-35.6 35.5-35.6h205.7v53.4c0 5.7 6.5 8.8 10.9 5.3l109.1-85.7c3.5-2.7 3.5-8 0-10.7l-109.1-85.7c-4.4-3.5-10.9-.3-10.9 5.3V338H397.7c-55.1 0-99.7 44.8-99.7 100.1V517c0 4 3 7 6.8 7zm-4.2 134.9l109.1 85.7c4.4 3.5 10.9.3 10.9-5.3v-53.4h205.7c55.1 0 99.7-44.8 99.7-100.1v-78.9c0-3.7-3-6.8-6.8-6.8h-50.7c-3.7 0-6.8 3-6.8 6.8v78.9c0 19.7-15.9 35.6-35.5 35.6H420.6V568c0-5.7-6.5-8.8-10.9-5.3l-109.1 85.7c-3.5 2.5-3.5 7.8 0 10.5z",fill:e}}]}},name:"interaction",theme:"twotone"},f0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:f6}))}),f5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm72-112c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48zm400-188h-59.3c-2.6 0-5 1.2-6.5 3.3L763.7 538.1l-49.9-68.8a7.92 7.92 0 00-6.5-3.3H648c-6.5 0-10.3 7.4-6.5 12.7l109.2 150.7a16.1 16.1 0 0026 0l165.8-228.7c3.8-5.3 0-12.7-6.5-12.7zm-44 306h-64.2c-5.5 0-10.6 2.9-13.6 7.5a352.2 352.2 0 01-49.8 62.2A355.92 355.92 0 01651.1 840a355 355 0 01-138.7 27.9c-48.1 0-94.8-9.4-138.7-27.9a355.92 355.92 0 01-113.3-76.3A353.06 353.06 0 01184 650.5c-18.6-43.8-28-90.5-28-138.5s9.4-94.7 28-138.5c17.9-42.4 43.6-80.5 76.4-113.2 32.8-32.7 70.9-58.4 113.3-76.3a355 355 0 01138.7-27.9c48.1 0 94.8 9.4 138.7 27.9 42.4 17.9 80.5 43.6 113.3 76.3 19 19 35.6 39.8 49.8 62.2 2.9 4.7 8.1 7.5 13.6 7.5H892c6 0 9.8-6.3 7.2-11.6C828.8 178.5 684.7 82 517.7 80 278.9 77.2 80.5 272.5 80 511.2 79.5 750.1 273.3 944 512.4 944c169.2 0 315.6-97 386.7-238.4A8 8 0 00892 694z"}}]},name:"issues-close",theme:"outlined"},f7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:f5}))}),f9={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M798 160H366c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h181.2l-156 544H229c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8H474.4l156-544H798c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"italic",theme:"outlined"},he=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:f9}))}),ht={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M394.68 756.99s-34.33 19.95 24.34 26.6c71.1 8.05 107.35 7 185.64-7.87 0 0 20.66 12.94 49.38 24.14-175.47 75.08-397.18-4.37-259.36-42.87m-21.37-98.17s-38.35 28.35 20.32 34.47c75.83 7.88 135.9 8.4 239.57-11.55 0 0 14.36 14.53 36.95 22.4-212.43 62.13-448.84 5.08-296.84-45.32m180.73-166.43c43.26 49.7-11.38 94.5-11.38 94.5s109.8-56.7 59.37-127.57c-47.11-66.15-83.19-99.05 112.25-212.27.18 0-306.82 76.65-160.24 245.35m232.22 337.04s25.4 20.82-27.85 37.1c-101.4 30.62-421.7 39.9-510.66 1.22-32.05-13.82 28.02-33.25 46.93-37.27 19.62-4.2 31-3.5 31-3.5-35.55-25.03-229.94 49.17-98.77 70.35 357.6 58.1 652.16-26.08 559.35-67.9m-375.12-272.3s-163.04 38.68-57.79 52.68c44.48 5.95 133.1 4.55 215.58-2.28 67.42-5.6 135.2-17.85 135.2-17.85s-23.82 10.15-40.98 21.88c-165.5 43.57-485.1 23.27-393.16-21.18 77.93-37.45 141.15-33.25 141.15-33.25M703.6 720.42c168.3-87.33 90.37-171.33 36.08-159.95-13.31 2.8-19.27 5.25-19.27 5.25s4.9-7.7 14.36-11.03C842.12 516.9 924.78 666 700.1 724.97c0-.18 2.63-2.45 3.5-4.55M602.03 64s93.16 93.1-88.44 236.25c-145.53 114.8-33.27 180.42 0 255.14-84.94-76.65-147.28-144.02-105.42-206.84C469.63 256.67 639.68 211.87 602.03 64M427.78 957.19C589.24 967.5 837.22 951.4 843 875.1c0 0-11.2 28.88-133.44 51.98-137.83 25.9-307.87 22.92-408.57 6.3 0-.18 20.66 16.97 126.79 23.8"}}]},name:"java",theme:"outlined"},hc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ht}))}),hn={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M416 176H255.54v425.62c0 105.3-36.16 134.71-99.1 134.71-29.5 0-56.05-5.05-76.72-12.14L63 848.79C92.48 858.91 137.73 865 173.13 865 317.63 865 416 797.16 416 602.66zm349.49-16C610.26 160 512 248.13 512 364.6c0 100.32 75.67 163.13 185.7 203.64 79.57 28.36 111.03 53.7 111.03 95.22 0 45.57-36.36 74.96-105.13 74.96-63.87 0-121.85-21.31-161.15-42.58v-.04L512 822.43C549.36 843.73 619.12 865 694.74 865 876.52 865 961 767.75 961 653.3c0-97.25-54.04-160.04-170.94-204.63-86.47-34.44-122.81-53.67-122.81-97.23 0-34.45 31.45-65.84 96.3-65.84 63.83 0 107.73 21.45 133.3 34.64l38.34-128.19C895.1 174.46 841.11 160 765.5 160"}}]},name:"java-script",theme:"outlined"},ha=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hn}))}),hr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5l-41.1 41.1-62.3-62.3a8.15 8.15 0 00-11.4 0l-39.8 39.8a8.15 8.15 0 000 11.4l62.3 62.3-44.9 44.9-62.3-62.3a8.15 8.15 0 00-11.4 0l-39.8 39.8a8.15 8.15 0 000 11.4l62.3 62.3-65.3 65.3a8.03 8.03 0 000 11.3l42.3 42.3c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6A304.06 304.06 0 00608 720c167.9 0 304-136.1 304-304S775.9 112 608 112zm161.2 465.2C726.2 620.3 668.9 644 608 644c-60.9 0-118.2-23.7-161.2-66.8-43.1-43-66.8-100.3-66.8-161.2 0-60.9 23.7-118.2 66.8-161.2 43-43.1 100.3-66.8 161.2-66.8 60.9 0 118.2 23.7 161.2 66.8 43.1 43 66.8 100.3 66.8 161.2 0 60.9-23.7 118.2-66.8 161.2z"}}]},name:"key",theme:"outlined"},hl=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hr}))}),ho={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.99 111a61.55 61.55 0 00-26.8 6.13l-271.3 131a61.71 61.71 0 00-33.32 41.85L113.53 584.5a61.77 61.77 0 0011.86 52.06L313.2 872.71a61.68 61.68 0 0048.26 23.27h301.05a61.68 61.68 0 0048.26-23.27l187.81-236.12v-.03a61.73 61.73 0 0011.9-52.03v-.03L843.4 289.98v-.04a61.72 61.72 0 00-33.3-41.8l-271.28-131a17.43 17.43 0 00-.03-.04 61.76 61.76 0 00-26.8-6.1m0 35.1c3.94 0 7.87.87 11.55 2.64l271.3 131a26.54 26.54 0 0114.36 18.02l67.04 294.52a26.56 26.56 0 01-5.1 22.45L683.31 850.88a26.51 26.51 0 01-20.8 10H361.45a26.45 26.45 0 01-20.77-10L152.88 614.73a26.59 26.59 0 01-5.14-22.45l67.07-294.49a26.51 26.51 0 0114.32-18.02v-.04l271.3-131A26.52 26.52 0 01512 146.1m-.14 73.82c-2.48 0-4.99.5-7.4 1.51-9.65 4.21-14.22 15.44-10.01 25.09 4.04 9.48 5.42 18.94 6.48 28.41.35 4.92.55 9.66.37 14.4.53 4.74-1.94 9.48-5.45 14.22-3.68 4.74-4.03 9.49-4.55 14.23-48.16 4.72-91.51 25.83-124.65 57.54l-.31-.17c-4.04-2.63-7.88-5.27-14.02-5.45-5.79-.35-11.06-1.4-14.4-4.9-3.68-2.8-7.35-5.95-10.69-9.29-6.84-6.67-13.36-13.87-18.1-23a19.66 19.66 0 00-11.58-9.5 19.27 19.27 0 00-23.68 13.17c-2.98 10 2.98 20.7 13.16 23.51 9.83 2.99 18.08 7.9 26.15 13.16a127.38 127.38 0 0111.24 8.6c4.04 2.64 6.13 7.55 7.71 13.17 1.16 5.62 4.39 8.88 7.54 12.03a209.26 209.26 0 00-37.08 142.61c-3.94 1.38-7.83 2.88-11.17 6.82-3.86 4.39-8.08 7.88-12.82 8.23a94.03 94.03 0 01-14.02 2.64c-9.47 1.23-19.13 1.93-29.13-.17a19.53 19.53 0 00-14.74 3.32c-8.6 5.97-10.52 17.9-4.56 26.5a19.13 19.13 0 0026.67 4.59c8.42-5.97 17.37-9.32 26.5-12.3 4.55-1.41 9.13-2.62 13.87-3.5 4.56-1.58 9.64-.2 15.08 2.09 4.52 2.33 8.52 2.15 12.48 1.75 15.44 50.08 49.22 92.03 93.32 118.52-1.5 4.21-2.92 8.6-1.57 14.15 1.05 5.8 1.22 11.25-1.24 15.29a172.58 172.58 0 01-6.3 12.78c-4.92 8.07-10.17 16.15-17.9 23.17a18.97 18.97 0 00-6.33 13.5 19.06 19.06 0 0018.43 19.68A19.21 19.21 0 00409 787.88c.17-10.35 2.97-19.46 6.13-28.59 1.58-4.38 3.52-8.77 5.62-12.99 1.58-4.56 5.78-7.92 10.87-10.72 5.07-2.62 7.35-6.32 9.63-10.22a209.09 209.09 0 0070.74 12.51c25.26 0 49.4-4.72 71.87-12.92 2.37 4.06 4.82 7.91 9.9 10.63 5.1 2.98 9.29 6.16 10.87 10.72 2.1 4.4 3.87 8.78 5.45 13.17 3.15 9.12 5.78 18.23 6.13 28.58 0 5.09 2.1 10.02 6.14 13.71a19.32 19.32 0 0027.04-1.23 19.32 19.32 0 00-1.24-27.05c-7.72-6.84-12.98-15.09-17.72-23.34-2.28-4.03-4.37-8.4-6.3-12.6-2.46-4.22-2.3-9.5-1.06-15.3 1.4-5.96-.18-10.34-1.58-14.9l-.14-.45c43.76-26.75 77.09-68.83 92.2-118.9l.58.04c4.91.35 9.64.85 14.9-2.13 5.27-2.46 10.56-3.87 15.12-2.47 4.56.7 9.29 1.76 13.85 2.99 9.12 2.63 18.27 5.79 26.87 11.58a19.5 19.5 0 0014.73 2.64 18.99 18.99 0 0014.57-22.62 19.11 19.11 0 00-22.82-14.57c-10.18 2.28-19.66 1.9-29.3 1.03-4.75-.53-9.32-1.2-14.06-2.26-4.74-.35-8.92-3.5-12.96-7.71-4.03-4.74-8.6-5.97-13.16-7.37l-.3-.1c.6-6.51.99-13.08.99-19.75 0-43.5-13.28-83.99-35.99-117.6 3.33-3.5 6.7-6.82 7.92-12.78 1.58-5.61 3.68-10.53 7.71-13.16 3.51-3.16 7.38-5.96 11.24-8.77 7.9-5.27 16.16-10.36 25.98-13.16a18.5 18.5 0 0011.55-9.67 18.8 18.8 0 00-8.22-25.6 18.84 18.84 0 00-25.64 8.22c-4.74 9.13-11.22 16.33-17.89 23-3.51 3.34-7 6.51-10.7 9.5-3.33 3.5-8.6 4.55-14.39 4.9-6.14.17-10.01 2.99-14.05 5.62a210 210 0 00-127.4-60.02c-.52-4.73-.87-9.48-4.55-14.22-3.51-4.74-5.98-9.48-5.45-14.22-.17-4.74.03-9.48.38-14.4 1.05-9.47 2.44-18.94 6.48-28.41 1.93-4.56 2.1-10 0-15.08a19.23 19.23 0 00-17.69-11.52m-25.16 133.91l-.85 6.75c-2.46 18.96-4.21 38.08-5.97 57.04a876 876 0 00-2.64 30.2c-8.6-6.15-17.2-12.66-26.32-18.45-15.79-10.7-31.6-21.42-47.91-31.6l-5.52-3.43a174.43 174.43 0 0189.21-40.5m50.59 0a174.38 174.38 0 0192.16 43.21l-5.86 3.7c-16.14 10.35-31.74 21.07-47.54 31.77a491.28 491.28 0 00-18.44 13 7.3 7.3 0 01-11.58-5.46c-.53-7.54-1.22-14.9-1.92-22.45-1.75-18.95-3.5-38.08-5.96-57.03zm-173 78.82l5.58 5.83c13.33 13.86 26.86 27.2 40.54 40.71 5.8 5.8 11.58 11.26 17.55 16.7a7.19 7.19 0 01-2.81 12.27c-8.6 2.63-17.21 5.07-25.8 7.88-18.08 5.97-36.32 11.6-54.4 18.1l-7.95 2.77c-.17-3.2-.48-6.37-.48-9.63 0-34.92 10.27-67.33 27.76-94.63m297.52 3.46a174.67 174.67 0 0125.67 91.17c0 2.93-.3 5.78-.44 8.67l-6.24-1.98c-18.25-5.97-36.48-11.09-54.9-16.35a900.54 900.54 0 00-35.82-9.63c8.95-8.6 18.27-17.04 26.87-25.81 13.51-13.51 27-27.02 40.17-41.06zM501.12 492.2h21.39c3.33 0 6.5 1.58 8.26 4.04l13.67 17.2a10.65 10.65 0 012.13 8.57l-4.94 21.25c-.52 3.34-2.81 5.96-5.62 7.54l-19.64 9.12a9.36 9.36 0 01-9.11 0l-19.67-9.12c-2.81-1.58-5.27-4.2-5.63-7.54l-4.9-21.25c-.52-2.98.2-6.28 2.13-8.56l13.67-17.2a10.25 10.25 0 018.26-4.05m-63.37 83.7c5.44-.88 9.85 4.57 7.75 9.66a784.28 784.28 0 00-9.5 26.15 1976.84 1976.84 0 00-18.78 54.22l-2.4 7.54a175.26 175.26 0 01-68-87.3l9.33-.78c19.13-1.76 37.9-4.06 57.03-6.34 8.25-.88 16.33-2.1 24.57-3.16m151.63 2.47c8.24.88 16.32 1.77 24.57 2.47 19.13 1.75 38.07 3.5 57.2 4.73l6.1.34a175.25 175.25 0 01-66.6 86.58l-1.98-6.38c-5.79-18.25-12.1-36.32-18.23-54.22a951.58 951.58 0 00-8.6-23.85 7.16 7.16 0 017.54-9.67m-76.1 34.62c2.5 0 5.01 1.26 6.42 3.8a526.47 526.47 0 0012.13 21.77c9.48 16.5 18.92 33.17 29.1 49.32l4.15 6.71a176.03 176.03 0 01-53.1 8.2 176.14 176.14 0 01-51.57-7.72l4.38-7.02c10.18-16.15 19.83-32.66 29.48-49.15a451.58 451.58 0 0012.65-22.1 7.2 7.2 0 016.37-3.81"}}]},name:"kubernetes",theme:"outlined"},hi=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ho}))}),hu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M956.9 845.1L896.4 632V168c0-17.7-14.3-32-32-32h-704c-17.7 0-32 14.3-32 32v464L67.9 845.1C60.4 866 75.8 888 98 888h828.8c22.2 0 37.6-22 30.1-42.9zM200.4 208h624v395h-624V208zm228.3 608l8.1-37h150.3l8.1 37H428.7zm224 0l-19.1-86.7c-.8-3.7-4.1-6.3-7.8-6.3H398.2c-3.8 0-7 2.6-7.8 6.3L371.3 816H151l42.3-149h638.2l42.3 149H652.7z"}}]},name:"laptop",theme:"outlined"},hs=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hu}))}),hf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M384 912h496c17.7 0 32-14.3 32-32V340H384v572zm496-800H384v164h528V144c0-17.7-14.3-32-32-32zm-768 32v736c0 17.7 14.3 32 32 32h176V112H144c-17.7 0-32 14.3-32 32z"}}]},name:"layout",theme:"filled"},hh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hf}))}),hd={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-32zm-696 72h136v656H184V184zm656 656H384V384h456v456zM384 320V184h456v136H384z"}}]},name:"layout",theme:"outlined"},hv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hd}))}),hm={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M384 185h456v136H384zm-200 0h136v656H184zm696-73H144c-17.7 0-32 14.3-32 32v1c0-17.7 14.3-32 32-32h736c17.7 0 32 14.3 32 32v-1c0-17.7-14.3-32-32-32zM384 385h456v456H384z",fill:t}},{tag:"path",attrs:{d:"M880 113H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V145c0-17.7-14.3-32-32-32zM320 841H184V185h136v656zm520 0H384V385h456v456zm0-520H384V185h456v136z",fill:e}}]}},name:"layout",theme:"twotone"},hg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hm}))}),hz={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 64zm104 316.9c0 10.2-4.9 19.9-13.2 25.9L457.4 512l145.4 105.2c8.3 6 13.2 15.6 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 010-12.9l246-178a8 8 0 0112.7 6.5v46.8z"}}]},name:"left-circle",theme:"filled"},hp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hz}))}),hw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M603.3 327.5l-246 178a7.95 7.95 0 000 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z"}},{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"}}]},name:"left-circle",theme:"outlined"},hM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hw}))}),hZ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm104 240.9c0 10.3-4.9 19.9-13.2 25.9L457.4 512l145.4 105.1c8.3 6 13.2 15.7 13.2 25.9v46.9c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 010-12.9l246-178c5.3-3.8 12.7 0 12.7 6.5v46.9z",fill:t}},{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",fill:e}},{tag:"path",attrs:{d:"M603.3 327.5l-246 178a7.95 7.95 0 000 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z",fill:e}}]}},name:"left-circle",theme:"twotone"},hH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hZ}))}),hb=c(6171),hV={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-32zM624 380.9c0 10.2-4.9 19.9-13.2 25.9L465.4 512l145.4 105.2c8.3 6 13.2 15.6 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 010-12.9l246-178c5.3-3.8 12.7 0 12.7 6.5v46.8z"}}]},name:"left-square",theme:"filled"},hC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hV}))}),hx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M365.3 518.5l246 178c5.3 3.8 12.7 0 12.7-6.5v-46.9c0-10.2-4.9-19.9-13.2-25.9L465.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5l-246 178a8.05 8.05 0 000 13z"}},{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:"left-square",theme:"outlined"},hE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hx}))}),hL={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm181.3-334.5l246-178c5.3-3.8 12.7 0 12.7 6.5v46.9c0 10.3-4.9 19.9-13.2 25.9L465.4 512l145.4 105.2c8.3 6 13.2 15.7 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.4l-246-178a7.95 7.95 0 010-12.9z",fill:t}},{tag:"path",attrs:{d:"M365.3 518.4l246 178c5.3 3.9 12.7.1 12.7-6.4v-46.9c0-10.2-4.9-19.9-13.2-25.9L465.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5l-246 178a7.95 7.95 0 000 12.9z",fill:e}}]}},name:"left-square",theme:"twotone"},hR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hL}))}),hy={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311h-.3v428h472.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32z"}}]},name:"like",theme:"filled"},hB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hy}))}),hS=c(65429),hO={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M273 495.9v428l.3-428zm538.2-88.3H496.8l9.6-198.4c.6-11.9-4.7-23.1-14.6-30.5-6.1-4.5-13.6-6.8-21.1-6.7-19.6.1-36.9 13.4-42.2 32.3-37.1 134.4-64.9 235.2-83.5 302.5V852h399.4a56.85 56.85 0 0033.6-51.8c0-9.7-2.3-18.9-6.9-27.3l-13.9-25.4 21.9-19a56.76 56.76 0 0019.6-43c0-9.7-2.3-18.9-6.9-27.3l-13.9-25.4 21.9-19a56.76 56.76 0 0019.6-43c0-9.7-2.3-18.9-6.9-27.3l-14-25.5 21.9-19a56.76 56.76 0 0019.6-43c0-19.1-11-37.5-28.8-48.4z",fill:t}},{tag:"path",attrs:{d:"M112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32zm773.9 5.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.5-65.5-111a67.67 67.67 0 00-34.3-9.3H572.3l6-122.9c1.5-29.7-9-57.9-29.5-79.4a106.4 106.4 0 00-77.9-33.4c-52 0-98 35-111.8 85.1l-85.8 310.8-.3 428h472.1c9.3 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37zM820.4 499l-21.9 19 14 25.5a56.2 56.2 0 016.9 27.3c0 16.5-7.1 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.1 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H345V506.8c18.6-67.2 46.4-168 83.5-302.5a44.28 44.28 0 0142.2-32.3c7.5-.1 15 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.1 32.2-19.6 43z",fill:e}}]}},name:"like",theme:"twotone"},hk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hO}))}),hT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM305.8 637.7c3.1 3.1 8.1 3.1 11.3 0l138.3-137.6L583 628.5c3.1 3.1 8.2 3.1 11.3 0l275.4-275.3c3.1-3.1 3.1-8.2 0-11.3l-39.6-39.6a8.03 8.03 0 00-11.3 0l-230 229.9L461.4 404a8.03 8.03 0 00-11.3 0L266.3 586.7a8.03 8.03 0 000 11.3l39.5 39.7z"}}]},name:"line-chart",theme:"outlined"},h$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hT}))}),hF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M648 160H104c-4.4 0-8 3.6-8 8v128c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-64h168v560h-92c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-92V232h168v64c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zm272.8 546H856V318h64.8c6 0 9.4-7 5.7-11.7L825.7 178.7a7.14 7.14 0 00-11.3 0L713.6 306.3a7.23 7.23 0 005.7 11.7H784v388h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5a7.2 7.2 0 00-5.6-11.7z"}}]},name:"line-height",theme:"outlined"},hI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hF}))}),hA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 476H120c-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-8z"}}]},name:"line",theme:"outlined"},hD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hA}))}),hN=c(29158),hP={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-32zM349.3 793.7H230.6V411.9h118.7v381.8zm-59.3-434a68.8 68.8 0 1168.8-68.8c-.1 38-30.9 68.8-68.8 68.8zm503.7 434H675.1V608c0-44.3-.8-101.2-61.7-101.2-61.7 0-71.2 48.2-71.2 98v188.9H423.7V411.9h113.8v52.2h1.6c15.8-30 54.5-61.7 112.3-61.7 120.2 0 142.3 79.1 142.3 181.9v209.4z"}}]},name:"linkedin",theme:"filled"},hq=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hP}))}),hW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.7 112H176.3c-35.5 0-64.3 28.8-64.3 64.3v671.4c0 35.5 28.8 64.3 64.3 64.3h671.4c35.5 0 64.3-28.8 64.3-64.3V176.3c0-35.5-28.8-64.3-64.3-64.3zm0 736c-447.8-.1-671.7-.2-671.7-.3.1-447.8.2-671.7.3-671.7 447.8.1 671.7.2 671.7.3-.1 447.8-.2 671.7-.3 671.7zM230.6 411.9h118.7v381.8H230.6zm59.4-52.2c37.9 0 68.8-30.8 68.8-68.8a68.8 68.8 0 10-137.6 0c-.1 38 30.7 68.8 68.8 68.8zm252.3 245.1c0-49.8 9.5-98 71.2-98 60.8 0 61.7 56.9 61.7 101.2v185.7h118.6V584.3c0-102.8-22.2-181.9-142.3-181.9-57.7 0-96.4 31.7-112.3 61.7h-1.6v-52.2H423.7v381.8h118.6V604.8z"}}]},name:"linkedin",theme:"outlined"},hj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hW}))}),hY={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M530.8 64c-5.79 0-11.76.3-17.88.78-157.8 12.44-115.95 179.45-118.34 235.11-2.88 40.8-11.2 72.95-39.24 112.78-33.03 39.23-79.4 102.66-101.39 168.77-10.37 31.06-15.3 62.87-10.71 92.92a15.83 15.83 0 00-4.14 5.04c-9.7 10-16.76 22.43-24.72 31.32-7.42 7.43-18.1 9.96-29.75 14.93-11.68 5.08-24.56 10.04-32.25 25.42a49.7 49.7 0 00-4.93 22.43c0 7.43 1 14.97 2.05 20.01 2.17 14.9 4.33 27.22 1.46 36.21-9.26 25.39-10.42 42.79-3.92 55.44 6.5 12.47 19.97 17.51 35.05 22.44 30.28 7.46 71.3 5.04 103.6 22.36 34.56 17.43 69.66 25.05 97.65 17.54a66.01 66.01 0 0045.1-35.27c21.91-.12 45.92-10.05 84.37-12.47 26.09-2.17 58.75 9.97 96.23 7.43.94 5.04 2.36 7.43 4.26 12.47l.11.1c14.6 29.05 41.55 42.27 70.33 39.99 28.78-2.24 59.43-20.01 84.26-48.76 23.55-28.55 62.83-40.46 88.77-56.1 12.99-7.43 23.48-17.51 24.23-31.85.86-14.93-7.43-30.3-26.66-51.4v-3.62l-.1-.11c-6.35-7.47-9.34-19.98-12.63-34.57-3.17-14.97-6.8-29.34-18.36-39.05h-.11c-2.2-2.02-4.6-2.5-7.02-5.04a13.33 13.33 0 00-7.1-2.39c16.1-47.7 9.86-95.2-6.45-137.9-19.9-52.63-54.7-98.48-81.2-130.02-29.71-37.52-58.83-73.06-58.27-125.77 1-80.33 8.85-228.95-132.3-229.17m19.75 127.11h.48c7.95 0 14.79 2.31 21.8 7.4 7.13 5.03 12.32 12.39 16.4 19.89 3.91 9.67 5.89 17.13 6.19 27.03 0-.75.22-1.5.22-2.2v3.88a3.21 3.21 0 01-.15-.79l-.15-.9a67.46 67.46 0 01-5.6 26.36 35.58 35.58 0 01-7.95 12.5 26.5 26.5 0 00-3.28-1.56c-3.92-1.68-7.43-2.39-10.64-4.96a48.98 48.98 0 00-8.18-2.47c1.83-2.2 5.42-4.96 6.8-7.39a44.22 44.22 0 003.28-15v-.72a45.17 45.17 0 00-2.27-14.93c-1.68-5.04-3.77-7.5-6.84-12.47-3.13-2.46-6.23-4.92-9.96-4.92h-.6c-3.47 0-6.57 1.12-9.78 4.92a29.86 29.86 0 00-7.65 12.47 44.05 44.05 0 00-3.36 14.93v.71c.07 3.33.3 6.69.74 9.97-7.2-2.5-16.35-5.04-22.66-7.54-.37-2.46-.6-4.94-.67-7.43v-.75a66.15 66.15 0 015.6-28.7 40.45 40.45 0 0116.05-19.9 36.77 36.77 0 0122.18-7.43m-110.58 2.2h1.35c5.3 0 10.08 1.8 14.9 5.04a51.6 51.6 0 0112.83 17.36c3.36 7.43 5.27 14.97 5.72 24.9v.15c.26 5 .22 7.5-.08 9.93v2.99c-1.12.26-2.09.67-3.1.9-5.67 2.05-10.23 5.03-14.67 7.46.45-3.32.49-6.68.11-9.97v-.56c-.44-4.96-1.45-7.43-3.06-12.43a22.88 22.88 0 00-6.2-9.97 9.26 9.26 0 00-6.83-2.39h-.78c-2.65.23-4.85 1.53-6.94 4.93a20.6 20.6 0 00-4.48 10.08 35.24 35.24 0 00-.86 12.36v.52c.45 5.04 1.38 7.5 3.02 12.47 1.68 5 3.62 7.46 6.16 10 .41.34.79.67 1.27.9-2.61 2.13-4.37 2.61-6.57 5.08a11.39 11.39 0 01-4.89 2.53 97.84 97.84 0 01-10.27-15 66.15 66.15 0 01-5.78-24.9 65.67 65.67 0 012.98-24.94 53.38 53.38 0 0110.57-19.97c4.78-4.97 9.7-7.47 15.6-7.47M491.15 257c12.36 0 27.33 2.43 45.36 14.9 10.94 7.46 19.52 10.04 39.31 17.47h.11c9.52 5.07 15.12 9.93 17.84 14.9v-4.9a21.32 21.32 0 01.6 17.55c-4.59 11.6-19.26 24.04-39.72 31.47v.07c-10 5.04-18.7 12.43-28.93 17.36-10.3 5.04-21.95 10.9-37.78 9.97a42.52 42.52 0 01-16.72-2.5 133.12 133.12 0 01-12.02-7.4c-7.28-5.04-13.55-12.39-22.85-17.36v-.18h-.19c-14.93-9.19-22.99-19.12-25.6-26.54-2.58-10-.19-17.51 7.2-22.4 8.36-5.04 14.19-10.12 18.03-12.55 3.88-2.76 5.34-3.8 6.57-4.89h.08v-.1c6.3-7.55 16.27-17.52 31.32-22.44a68.65 68.65 0 0117.4-2.43m104.48 80c13.4 52.9 44.69 129.72 64.8 166.98 10.68 19.93 31.93 61.93 41.15 112.89 5.82-.19 12.28.67 19.15 2.39 24.11-62.38-20.39-129.43-40.66-148.06-8.25-7.5-8.66-12.5-4.59-12.5 21.99 19.93 50.96 58.68 61.45 102.92 4.81 19.97 5.93 41.21.78 62.34 2.5 1.05 5.04 2.28 7.65 2.5 38.53 19.94 52.75 35.02 45.92 57.38v-1.6c-2.27-.12-4.48 0-6.75 0h-.56c5.63-17.44-6.8-30.8-39.76-45.7-34.16-14.93-61.45-12.54-66.11 17.36-.27 1.6-.45 2.46-.64 5.04-2.54.86-5.19 1.98-7.8 2.39-16.05 10-24.71 24.97-29.6 44.31-4.86 19.9-6.35 43.16-7.66 69.77v.11c-.78 12.47-6.38 31.29-11.9 50.44-56 40.01-133.65 57.41-199.69 12.46a98.74 98.74 0 00-15-19.9 54.13 54.13 0 00-10.27-12.46c6.8 0 12.62-1.08 17.36-2.5a22.96 22.96 0 0011.72-12.47c4.03-9.97 0-26.02-12.88-43.42C398.87 730.24 377 710.53 345 690.9c-23.51-14.89-36.8-32.47-42.93-52.1-6.16-19.94-5.33-40.51-.56-61.42 9.15-39.94 32.6-78.77 47.56-103.14 4-2.43 1.38 5.04-15.23 36.36-14.78 28.03-42.6 93.21-4.55 143.87a303.27 303.27 0 0124.15-107.36c21.06-47.71 65.07-130.81 68.54-196.66 1.8 1.34 8.1 5.04 10.79 7.54 8.14 4.96 14.18 12.43 22.02 17.36 7.88 7.5 17.81 12.5 32.7 12.5 1.46.12 2.8.23 4.15.23 15.34 0 27.21-5 37.18-10 10.83-5 19.45-12.48 27.63-14.94h.18c17.44-5.04 31.21-15 39.01-26.13m81.6 334.4c1.39 22.44 12.81 46.48 32.93 51.41 21.95 5 53.53-12.43 66.86-28.56l7.88-.33c11.76-.3 21.54.37 31.62 9.97l.1.1c7.77 7.44 11.4 19.83 14.6 32.7 3.18 14.98 5.75 29.13 15.27 39.8 18.15 19.68 24.08 33.82 23.75 42.56l.1-.22v.67l-.1-.45c-.56 9.78-6.91 14.78-18.6 22.21-23.51 14.97-65.17 26.58-91.72 58.61-23.07 27.51-51.18 42.52-76 44.46-24.79 1.98-46.18-7.46-58.76-33.52l-.19-.11c-7.84-14.97-4.48-38.27 2.1-63.1 6.56-24.93 15.97-50.2 17.28-70.85 1.38-26.65 2.83-49.83 7.28-67.71 4.48-17.36 11.5-29.76 23.93-36.74l1.68-.82zm-403.72 1.84h.37c1.98 0 3.92.18 5.86.52 14.04 2.05 26.35 12.43 38.19 28.07l33.97 62.12.11.11c9.07 19.9 28.15 39.72 44.39 61.15 16.2 22.32 28.74 42.22 27.21 58.61v.22c-2.13 27.78-17.88 42.86-42 48.3-24.07 5.05-56.74.08-89.4-17.31-36.14-20.01-79.07-17.51-106.66-22.48-13.77-2.46-22.8-7.5-26.99-14.97-4.14-7.42-4.21-22.43 4.6-45.91v-.11l.07-.12c4.37-12.46 1.12-28.1-1-41.77-2.06-14.97-3.1-26.47 1.6-35.09 5.97-12.47 14.78-14.9 25.72-19.9 11.01-5.04 23.93-7.54 34.2-17.5h.07v-.12c9.55-10 16.61-22.43 24.93-31.28 7.1-7.5 14.19-12.54 24.75-12.54M540.76 334.5c-16.24 7.5-35.27 19.97-55.54 19.97-20.24 0-36.21-9.97-47.75-17.4-5.79-5-10.45-10-13.96-12.5-6.12-5-5.38-12.47-2.76-12.47 4.07.6 4.81 5.04 7.43 7.5 3.58 2.47 8.02 7.43 13.47 12.43 10.86 7.47 25.39 17.44 43.53 17.44 18.1 0 39.3-9.97 52.19-17.4 7.28-5.04 16.6-12.47 24.19-17.43 5.82-5.12 5.56-10 10.41-10 4.82.6 1.27 5-5.48 12.42a302.3 302.3 0 01-25.76 17.47v-.03zm-40.39-59.13v-.83c-.22-.7.49-1.56 1.09-1.86 2.76-1.6 6.72-1.01 9.7.15 2.35 0 5.97 2.5 5.6 5.04-.22 1.83-3.17 2.46-5.04 2.46-2.05 0-3.43-1.6-5.26-2.54-1.94-.67-5.45-.3-6.09-2.42m-20.57 0c-.74 2.16-4.22 1.82-6.2 2.46-1.75.93-3.2 2.54-5.18 2.54-1.9 0-4.9-.71-5.12-2.54-.33-2.47 3.29-4.97 5.6-4.97 3.03-1.15 6.87-1.75 9.67-.18.71.33 1.35 1.12 1.12 1.86v.79h.11z"}}]},name:"linux",theme:"outlined"},h_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hY}))}),hK={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 1024c-69.1 0-136.2-13.5-199.3-40.2C251.7 958 197 921 150 874c-47-47-84-101.7-109.8-162.7C13.5 648.2 0 581.1 0 512c0-19.9 16.1-36 36-36s36 16.1 36 36c0 59.4 11.6 117 34.6 171.3 22.2 52.4 53.9 99.5 94.3 139.9 40.4 40.4 87.5 72.2 139.9 94.3C395 940.4 452.6 952 512 952c59.4 0 117-11.6 171.3-34.6 52.4-22.2 99.5-53.9 139.9-94.3 40.4-40.4 72.2-87.5 94.3-139.9C940.4 629 952 571.4 952 512c0-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.2C772.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.3s-13.5 136.2-40.2 199.3C958 772.3 921 827 874 874c-47 47-101.8 83.9-162.7 109.7-63.1 26.8-130.2 40.3-199.3 40.3z"}}]},name:"loading-3-quarters",theme:"outlined"},hU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hK}))}),hX=c(50888),hG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM540 701v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 1156 0zm152-237H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224z"}}]},name:"lock",theme:"filled"},hQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hG}))}),hJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},h1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:hJ}))}),h4={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304z",fill:e}},{tag:"path",attrs:{d:"M232 840h560V536H232v304zm280-226a48.01 48.01 0 0128 87v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 0128-87z",fill:t}},{tag:"path",attrs:{d:"M484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z",fill:e}}]}},name:"lock",theme:"twotone"},h2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:h4}))}),h3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M521.7 82c-152.5-.4-286.7 78.5-363.4 197.7-3.4 5.3.4 12.3 6.7 12.3h70.3c4.8 0 9.3-2.1 12.3-5.8 7-8.5 14.5-16.7 22.4-24.5 32.6-32.5 70.5-58.1 112.7-75.9 43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 32.6 32.5 58.1 70.4 76 112.5C865.7 417.8 875 464.1 875 512c0 47.9-9.4 94.2-27.8 137.8-17.8 42.1-43.4 80-76 112.5s-70.5 58.1-112.7 75.9A352.8 352.8 0 01520.6 866c-47.9 0-94.3-9.4-137.9-27.8A353.84 353.84 0 01270 762.3c-7.9-7.9-15.3-16.1-22.4-24.5-3-3.7-7.6-5.8-12.3-5.8H165c-6.3 0-10.2 7-6.7 12.3C234.9 863.2 368.5 942 520.6 942c236.2 0 428-190.1 430.4-425.6C953.4 277.1 761.3 82.6 521.7 82zM395.02 624v-76h-314c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h314v-76c0-6.7 7.8-10.5 13-6.3l141.9 112a8 8 0 010 12.6l-141.9 112c-5.2 4.1-13 .4-13-6.3z"}}]},name:"login",theme:"outlined"},h8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:h3}))}),h6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z"}}]},name:"logout",theme:"outlined"},h0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:h6}))}),h5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M624 672a48.01 48.01 0 0096 0c0-26.5-21.5-48-48-48h-48v48zm96-320a48.01 48.01 0 00-96 0v48h48c26.5 0 48-21.5 48-48z"}},{tag:"path",attrs:{d:"M928 64H96c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM672 560c61.9 0 112 50.1 112 112s-50.1 112-112 112-112-50.1-112-112v-48h-96v48c0 61.9-50.1 112-112 112s-112-50.1-112-112 50.1-112 112-112h48v-96h-48c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112v48h96v-48c0-61.9 50.1-112 112-112s112 50.1 112 112-50.1 112-112 112h-48v96h48z"}},{tag:"path",attrs:{d:"M464 464h96v96h-96zM352 304a48.01 48.01 0 000 96h48v-48c0-26.5-21.5-48-48-48zm-48 368a48.01 48.01 0 0096 0v-48h-48c-26.5 0-48 21.5-48 48z"}}]},name:"mac-command",theme:"filled"},h7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:h5}))}),h9={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{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"}},{tag:"path",attrs:{d:"M370.8 554.4c-54.6 0-98.8 44.2-98.8 98.8s44.2 98.8 98.8 98.8 98.8-44.2 98.8-98.8v-42.4h84.7v42.4c0 54.6 44.2 98.8 98.8 98.8s98.8-44.2 98.8-98.8-44.2-98.8-98.8-98.8h-42.4v-84.7h42.4c54.6 0 98.8-44.2 98.8-98.8 0-54.6-44.2-98.8-98.8-98.8s-98.8 44.2-98.8 98.8v42.4h-84.7v-42.4c0-54.6-44.2-98.8-98.8-98.8S272 316.2 272 370.8s44.2 98.8 98.8 98.8h42.4v84.7h-42.4zm42.4 98.8c0 23.4-19 42.4-42.4 42.4s-42.4-19-42.4-42.4 19-42.4 42.4-42.4h42.4v42.4zm197.6-282.4c0-23.4 19-42.4 42.4-42.4s42.4 19 42.4 42.4-19 42.4-42.4 42.4h-42.4v-42.4zm0 240h42.4c23.4 0 42.4 19 42.4 42.4s-19 42.4-42.4 42.4-42.4-19-42.4-42.4v-42.4zM469.6 469.6h84.7v84.7h-84.7v-84.7zm-98.8-56.4c-23.4 0-42.4-19-42.4-42.4s19-42.4 42.4-42.4 42.4 19 42.4 42.4v42.4h-42.4z"}}]},name:"mac-command",theme:"outlined"},de=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:h9}))}),dt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-80.8 108.9L531.7 514.4c-7.8 6.1-18.7 6.1-26.5 0L189.6 268.9A7.2 7.2 0 01194 256h648.8a7.2 7.2 0 014.4 12.9z"}}]},name:"mail",theme:"filled"},dc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dt}))}),dn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z"}}]},name:"mail",theme:"outlined"},da=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dn}))}),dr={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M477.5 536.3L135.9 270.7l-27.5-21.4 27.6 21.5V792h752V270.8L546.2 536.3a55.99 55.99 0 01-68.7 0z",fill:t}},{tag:"path",attrs:{d:"M876.3 198.8l39.3 50.5-27.6 21.5 27.7-21.5-39.3-50.5z",fill:t}},{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-94.5 72.1L512 482 190.5 232.1h643zm54.5 38.7V792H136V270.8l-27.6-21.5 27.5 21.4 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5h.1l39.3 50.5-27.7 21.5z",fill:e}}]}},name:"mail",theme:"twotone"},dl=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dr}))}),di={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M874 120H622c-3.3 0-6 2.7-6 6v56c0 3.3 2.7 6 6 6h160.4L583.1 387.3c-50-38.5-111-59.3-175.1-59.3-76.9 0-149.3 30-203.6 84.4S120 539.1 120 616s30 149.3 84.4 203.6C258.7 874 331.1 904 408 904s149.3-30 203.6-84.4C666 765.3 696 692.9 696 616c0-64.1-20.8-124.9-59.2-174.9L836 241.9V402c0 3.3 2.7 6 6 6h56c3.3 0 6-2.7 6-6V150c0-16.5-13.5-30-30-30zM408 828c-116.9 0-212-95.1-212-212s95.1-212 212-212 212 95.1 212 212-95.1 212-212 212z"}}]},name:"man",theme:"outlined"},du=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:di}))}),ds={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM660 628c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V636H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V464c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8v48zm4-372H360v-72h304v72z"}}]},name:"medicine-box",theme:"filled"},df=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ds}))}),dh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM360 184h304v72H360v-72zm480 656H184V513.4L244.3 328h535.4L840 513.4V840zM652 572H544V464c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V636h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"medicine-box",theme:"outlined"},dd=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dh}))}),dv={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M244.3 328L184 513.4V840h656V513.4L779.7 328H244.3zM660 628c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V636H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V464c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8v48z",fill:t}},{tag:"path",attrs:{d:"M652 572H544V464c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V636h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z",fill:e}},{tag:"path",attrs:{d:"M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM360 184h304v72H360v-72zm480 656H184V513.4L244.3 328h535.4L840 513.4V840z",fill:e}}]}},name:"medicine-box",theme:"twotone"},dm=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dv}))}),dg={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 64zm256 253.7l-40.8 39.1c-3.6 2.7-5.3 7.1-4.6 11.4v287.7c-.7 4.4 1 8.8 4.6 11.4l40 39.1v8.7H566.4v-8.3l41.3-40.1c4.1-4.1 4.1-5.3 4.1-11.4V422.5l-115 291.6h-15.5L347.5 422.5V618c-1.2 8.2 1.7 16.5 7.5 22.4l53.8 65.1v8.7H256v-8.7l53.8-65.1a26.1 26.1 0 007-22.4V392c.7-6.3-1.7-12.4-6.5-16.7l-47.8-57.6V309H411l114.6 251.5 100.9-251.3H768v8.5z"}}]},name:"medium-circle",theme:"filled"},dz=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dg}))}),dp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.7 279.8l61.3-58.9V208H683.7L532.4 586.4 360.3 208H137.7v12.9l71.6 86.6c7 6.4 10.6 15.8 9.7 25.2V673c2.2 12.3-1.7 24.8-10.3 33.7L128 805v12.7h228.6v-12.9l-80.6-98a39.99 39.99 0 01-11.1-33.7V378.7l200.7 439.2h23.3l172.6-439.2v349.9c0 9.2 0 11.1-6 17.2l-62.1 60.3V819h301.2v-12.9l-59.9-58.9c-5.2-4-7.9-10.7-6.8-17.2V297a18.1 18.1 0 016.8-17.2z"}}]},name:"medium",theme:"outlined"},dw=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dp}))}),dM={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-32zM768 317.7l-40.8 39.1c-3.6 2.7-5.3 7.1-4.6 11.4v287.7c-.7 4.4 1 8.8 4.6 11.4l40 39.1v8.7H566.4v-8.3l41.3-40.1c4.1-4.1 4.1-5.3 4.1-11.4V422.5l-115 291.6h-15.5L347.5 422.5V618c-1.2 8.2 1.7 16.5 7.5 22.4l53.8 65.1v8.7H256v-8.7l53.8-65.1a26.1 26.1 0 007-22.4V392c.7-6.3-1.7-12.4-6.5-16.7l-47.8-57.6V309H411l114.6 251.5 100.9-251.3H768v8.5z"}}]},name:"medium-square",theme:"filled"},dZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dM}))}),dH={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M517.2 590.55c0 3.55 0 4.36 2.4 6.55l13.43 13.25v.57h-59.57v-25.47a41.44 41.44 0 01-39.5 27.65c-30.61 0-52.84-24.25-52.84-68.87 0-41.8 23.99-69.69 57.65-69.69a35.15 35.15 0 0134.61 21.67v-56.19a6.99 6.99 0 00-2.71-6.79l-12.8-12.45v-.56l59.33-7.04v177.37zm-43.74-8.09v-83.83a22.2 22.2 0 00-17.74-8.4c-14.48 0-28.47 13.25-28.47 52.62 0 36.86 12.07 49.88 27.1 49.88a23.91 23.91 0 0019.11-10.27zm83.23 28.46V497.74a7.65 7.65 0 00-2.4-6.79l-13.19-13.74v-.57h59.56v114.8c0 3.55 0 4.36 2.4 6.54l13.12 12.45v.57l-59.49-.08zm-2.16-175.67c0-13.4 10.74-24.25 23.99-24.25 13.25 0 23.98 10.86 23.98 24.25 0 13.4-10.73 24.25-23.98 24.25s-23.99-10.85-23.99-24.25zm206.83 155.06c0 3.55 0 4.6 2.4 6.79l13.43 13.25v.57h-59.88V581.9a43.4 43.4 0 01-41.01 31.2c-26.55 0-40.78-19.56-40.78-56.59 0-17.86 0-37.43.56-59.41a6.91 6.91 0 00-2.4-6.55L620.5 477.2v-.57h59.09v73.81c0 24.25 3.51 40.42 18.54 40.42a23.96 23.96 0 0019.35-12.2v-80.85a7.65 7.65 0 00-2.4-6.79l-13.27-13.82v-.57h59.56V590.3zm202.76 20.6c0-4.36.8-59.97.8-72.75 0-24.25-3.76-40.98-20.63-40.98a26.7 26.7 0 00-21.19 11.64 99.68 99.68 0 012.4 23.04c0 16.81-.56 38.23-.8 59.66a6.91 6.91 0 002.4 6.55l13.43 12.45v.56h-60.12c0-4.04.8-59.98.8-72.76 0-24.65-3.76-40.98-20.39-40.98-8.2.3-15.68 4.8-19.83 11.96v82.46c0 3.56 0 4.37 2.4 6.55l13.11 12.45v.56h-59.48V498.15a7.65 7.65 0 00-2.4-6.8l-13.19-14.14v-.57H841v28.78c5.53-19 23.13-31.76 42.7-30.96 19.82 0 33.26 11.16 38.93 32.34a46.41 46.41 0 0144.77-32.34c26.55 0 41.58 19.8 41.58 57.23 0 17.87-.56 38.24-.8 59.66a6.5 6.5 0 002.72 6.55l13.11 12.45v.57h-59.88zM215.87 593.3l17.66 17.05v.57h-89.62v-.57l17.99-17.05a6.91 6.91 0 002.4-6.55V477.69c0-4.6 0-10.83.8-16.16L104.66 613.1h-.72l-62.6-139.45c-1.37-3.47-1.77-3.72-2.65-6.06v91.43a32.08 32.08 0 002.96 17.87l25.19 33.46v.57H0v-.57l25.18-33.55a32.16 32.16 0 002.96-17.78V457.97A19.71 19.71 0 0024 444.15L6.16 420.78v-.56h63.96l53.56 118.1 47.17-118.1h62.6v.56l-17.58 19.8a6.99 6.99 0 00-2.72 6.8v139.37a6.5 6.5 0 002.72 6.55zm70.11-54.65v.56c0 34.6 17.67 48.5 38.38 48.5a43.5 43.5 0 0040.77-24.97h.56c-7.2 34.2-28.14 50.36-59.48 50.36-33.82 0-65.72-20.61-65.72-68.39 0-50.2 31.98-70.25 67.32-70.25 28.46 0 58.76 13.58 58.76 57.24v6.95h-80.59zm0-6.95h39.42v-7.04c0-35.57-7.28-45.03-18.23-45.03-13.27 0-21.35 14.15-21.35 52.07h.16z"}}]},name:"medium-workmark",theme:"outlined"},db=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dH}))}),dV={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 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm384 200c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v48zm16-152a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"meh",theme:"filled"},dC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dV}))}),dx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 565H360c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"meh",theme:"outlined"},dE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dx}))}),dL={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm384 200c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v48zm16-152a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm376 144H360c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-24-144a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"meh",theme:"twotone"},dR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dL}))}),dy=c(84477),dB={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"},dS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dB}))}),dO=c(19944),dk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482.2 508.4L331.3 389c-3-2.4-7.3-.2-7.3 3.6V478H184V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H144c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H184V546h140v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4a4.5 4.5 0 000-7.2zM880 116H596c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H700v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4a4.52 4.52 0 000 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h140v294H636V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z"}}]},name:"merge-cells",theme:"outlined"},dT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dk}))}),d$={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M284 924c61.86 0 112-50.14 112-112 0-49.26-31.8-91.1-76-106.09V421.63l386.49 126.55.01 95.92C661 658.34 628 700.8 628 751c0 61.86 50.14 112 112 112s112-50.14 112-112c0-48.33-30.6-89.5-73.5-105.2l-.01-113.04a50.73 50.73 0 00-34.95-48.2L320 345.85V318.1c43.64-14.8 75.2-55.78 75.99-104.24L396 212c0-61.86-50.14-112-112-112s-112 50.14-112 112c0 49.26 31.8 91.1 76 106.09V705.9c-44.2 15-76 56.83-76 106.09 0 61.86 50.14 112 112 112"}}]},name:"merge",theme:"filled"},dF=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:d$}))}),dI={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M248 752h72V264h-72z"}},{tag:"path",attrs:{d:"M740 863c61.86 0 112-50.14 112-112 0-48.33-30.6-89.5-73.5-105.2l-.01-113.04a50.73 50.73 0 00-34.95-48.2l-434.9-142.41-22.4 68.42 420.25 137.61.01 95.92C661 658.34 628 700.8 628 751c0 61.86 50.14 112 112 112m-456 61c61.86 0 112-50.14 112-112s-50.14-112-112-112-112 50.14-112 112 50.14 112 112 112m456-125a48 48 0 110-96 48 48 0 010 96m-456 61a48 48 0 110-96 48 48 0 010 96m0-536c61.86 0 112-50.14 112-112s-50.14-112-112-112-112 50.14-112 112 50.14 112 112 112m0-64a48 48 0 110-96 48 48 0 010 96"}}]},name:"merge",theme:"outlined"},dA=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dI}))}),dD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.3 338.4a447.57 447.57 0 00-96.1-143.3 443.09 443.09 0 00-143-96.3A443.91 443.91 0 00512 64h-2c-60.5.3-119 12.3-174.1 35.9a444.08 444.08 0 00-141.7 96.5 445 445 0 00-95 142.8A449.89 449.89 0 0065 514.1c.3 69.4 16.9 138.3 47.9 199.9v152c0 25.4 20.6 46 45.9 46h151.8a447.72 447.72 0 00199.5 48h2.1c59.8 0 117.7-11.6 172.3-34.3A443.2 443.2 0 00827 830.5c41.2-40.9 73.6-88.7 96.3-142 23.5-55.2 35.5-113.9 35.8-174.5.2-60.9-11.6-120-34.8-175.6zM312.4 560c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.4 48-47.9 48zm199.6 0c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.5 48-47.9 48zm199.6 0c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.5 48-47.9 48z"}}]},name:"message",theme:"filled"},dN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dD}))}),dP=c(38545),dq={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"},dW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dq}))}),dj={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 64zm192 472c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z"}}]},name:"minus-circle",theme:"filled"},dY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dj}))}),d_=c(3089),dK={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm192 396c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z",fill:t}},{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"minus-circle",theme:"twotone"},dU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dK}))}),dX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"minus",theme:"outlined"},dG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dX}))}),dQ={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-32zM704 536c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z"}}]},name:"minus-square",theme:"filled"},dJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:dQ}))}),d1=c(28638),d4={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm136-352c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48z",fill:t}},{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",fill:e}}]}},name:"minus-square",theme:"twotone"},d2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:d4}))}),d3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zM512 824c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z"}}]},name:"mobile",theme:"filled"},d8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:d3}))}),d6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"mobile",theme:"outlined"},d0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:d6}))}),d5={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 64H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H288V136h448v752z",fill:e}},{tag:"path",attrs:{d:"M288 888h448V136H288v752zm224-142c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M472 786a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}}]}},name:"mobile",theme:"twotone"},d7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:d5}))}),d9={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M911.5 699.7a8 8 0 00-10.3-4.8L840 717.2V179c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V762c0 3.3 2.1 6.3 5.3 7.5L501 909.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zm-243.8-377L564 514.3h57.6c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3v39h76.3c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3V703c0 4.4-3.6 8-8 8h-49.9c-4.4 0-8-3.6-8-8v-63.4h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h76v-39h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h57L356.5 322.8c-2.1-3.8-.7-8.7 3.2-10.8 1.2-.7 2.5-1 3.8-1h55.7a8 8 0 017.1 4.4L511 484.2h3.3L599 315.4c1.3-2.7 4.1-4.4 7.1-4.4h54.5c4.4 0 8 3.6 8.1 7.9 0 1.3-.4 2.6-1 3.8z"}}]},name:"money-collect",theme:"filled"},ve=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:d9}))}),vt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M911.5 700.7a8 8 0 00-10.3-4.8L840 718.2V180c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V763c0 3.3 2.1 6.3 5.3 7.5L501 910.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zM512 837.5l-256-93.1V184h512v560.4l-256 93.1zM660.6 312h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 00-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.6-1.2 1-2.5 1-3.8-.1-4.3-3.7-7.9-8.1-7.9z"}}]},name:"money-collect",theme:"outlined"},vc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vt}))}),vn={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M256 744.4l256 93.1 256-93.1V184H256v560.4zM359.7 313c1.2-.7 2.5-1 3.8-1h55.7a8 8 0 017.1 4.4L511 485.2h3.3L599 316.4c1.3-2.7 4.1-4.4 7.1-4.4h54.5c4.4 0 8 3.6 8.1 7.9 0 1.3-.4 2.6-1 3.8L564 515.3h57.6c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3v39h76.3c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3V704c0 4.4-3.6 8-8 8h-49.9c-4.4 0-8-3.6-8-8v-63.4h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h76v-39h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h57L356.5 323.8c-2.1-3.8-.7-8.7 3.2-10.8z",fill:t}},{tag:"path",attrs:{d:"M911.5 700.7a8 8 0 00-10.3-4.8L840 718.2V180c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V763c0 3.3 2.1 6.3 5.3 7.5L501 910.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zM768 744.4l-256 93.1-256-93.1V184h512v560.4z",fill:e}},{tag:"path",attrs:{d:"M460.4 515.4h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.6-1.2 1-2.5 1-3.8-.1-4.3-3.7-7.9-8.1-7.9h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 00-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6z",fill:e}}]}},name:"money-collect",theme:"twotone"},va=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vn}))}),vr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M692.8 412.7l.2-.2-34.6-44.3a7.97 7.97 0 00-11.2-1.4l-50.4 39.3-70.5-90.1a7.97 7.97 0 00-11.2-1.4l-37.9 29.7a7.97 7.97 0 00-1.4 11.2l70.5 90.2-.2.1 34.6 44.3c2.7 3.5 7.7 4.1 11.2 1.4l50.4-39.3 64.1 82c2.7 3.5 7.7 4.1 11.2 1.4l37.9-29.6c3.5-2.7 4.1-7.7 1.4-11.2l-64.1-82.1zM608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5L114.3 856.1a8.03 8.03 0 000 11.3l42.3 42.3c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6C473 696.1 537.7 720 608 720c167.9 0 304-136.1 304-304S775.9 112 608 112zm161.2 465.2C726.2 620.3 668.9 644 608 644s-118.2-23.7-161.2-66.8C403.7 534.2 380 476.9 380 416s23.7-118.2 66.8-161.2c43-43.1 100.3-66.8 161.2-66.8s118.2 23.7 161.2 66.8c43.1 43 66.8 100.3 66.8 161.2s-23.7 118.2-66.8 161.2z"}}]},name:"monitor",theme:"outlined"},vl=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vr}))}),vo={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M489.5 111.66c30.65-1.8 45.98 36.44 22.58 56.33A243.35 243.35 0 00426 354c0 134.76 109.24 244 244 244 72.58 0 139.9-31.83 186.01-86.08 19.87-23.38 58.07-8.1 56.34 22.53C900.4 745.82 725.15 912 512.5 912 291.31 912 112 732.69 112 511.5c0-211.39 164.29-386.02 374.2-399.65l.2-.01z"}}]},name:"moon",theme:"filled"},vi=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vo}))}),vu={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M489.5 111.66c30.65-1.8 45.98 36.44 22.58 56.33A243.35 243.35 0 00426 354c0 134.76 109.24 244 244 244 72.58 0 139.9-31.83 186.01-86.08 19.87-23.38 58.07-8.1 56.34 22.53C900.4 745.82 725.15 912 512.5 912 291.31 912 112 732.69 112 511.5c0-211.39 164.29-386.02 374.2-399.65l.2-.01zm-81.15 79.75l-4.11 1.36C271.1 237.94 176 364.09 176 511.5 176 697.34 326.66 848 512.5 848c148.28 0 274.94-96.2 319.45-230.41l.63-1.93-.11.07a307.06 307.06 0 01-159.73 46.26L670 662c-170.1 0-308-137.9-308-308 0-58.6 16.48-114.54 46.27-162.47z"}}]},name:"moon",theme:"outlined"},vs=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vu}))}),vf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"more",theme:"outlined"},vh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vf}))}),vd={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M771.91 115a31.65 31.65 0 00-17.42 5.27L400 351.97H236a16 16 0 00-16 16v288.06a16 16 0 0016 16h164l354.5 231.7a31.66 31.66 0 0017.42 5.27c16.65 0 32.08-13.25 32.08-32.06V147.06c0-18.8-15.44-32.06-32.09-32.06"}}]},name:"muted",theme:"filled"},vv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vd}))}),vm={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M771.91 115a31.65 31.65 0 00-17.42 5.27L400 351.97H236a16 16 0 00-16 16v288.06a16 16 0 0016 16h164l354.5 231.7a31.66 31.66 0 0017.42 5.27c16.65 0 32.08-13.25 32.08-32.06V147.06c0-18.8-15.44-32.06-32.09-32.06M732 221v582L439.39 611.75l-17.95-11.73H292V423.98h129.44l17.95-11.73z"}}]},name:"muted",theme:"outlined"},vg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vm}))}),vz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M952 612c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H298a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h150.3v152c0 55.2 44.8 100 100 100H952c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H548.3c-15.5 0-28-12.5-28-28V612H952zM451.7 313.7l172.5 136.2c6.3 5.1 15.8.5 15.8-7.7V344h264c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H640v-98.2c0-8.1-9.4-12.8-15.8-7.7L451.7 298.3a9.9 9.9 0 000 15.4z"}}]},name:"node-collapse",theme:"outlined"},vp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vz}))}),vw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M952 612c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H298a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h150.3v152c0 55.2 44.8 100 100 100H952c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H548.3c-15.5 0-28-12.5-28-28V612H952zM456 344h264v98.2c0 8.1 9.5 12.8 15.8 7.7l172.5-136.2c5-3.9 5-11.4 0-15.3L735.8 162.1c-6.4-5.1-15.8-.5-15.8 7.7V268H456c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8z"}}]},name:"node-expand",theme:"outlined"},vM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vw}))}),vZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M843.5 737.4c-12.4-75.2-79.2-129.1-155.3-125.4S550.9 676 546 752c-153.5-4.8-208-40.7-199.1-113.7 3.3-27.3 19.8-41.9 50.1-49 18.4-4.3 38.8-4.9 57.3-3.2 1.7.2 3.5.3 5.2.5 11.3 2.7 22.8 5 34.3 6.8 34.1 5.6 68.8 8.4 101.8 6.6 92.8-5 156-45.9 159.2-132.7 3.1-84.1-54.7-143.7-147.9-183.6-29.9-12.8-61.6-22.7-93.3-30.2-14.3-3.4-26.3-5.7-35.2-7.2-7.9-75.9-71.5-133.8-147.8-134.4-76.3-.6-140.9 56.1-150.1 131.9s40 146.3 114.2 163.9c74.2 17.6 149.9-23.3 175.7-95.1 9.4 1.7 18.7 3.6 28 5.8 28.2 6.6 56.4 15.4 82.4 26.6 70.7 30.2 109.3 70.1 107.5 119.9-1.6 44.6-33.6 65.2-96.2 68.6-27.5 1.5-57.6-.9-87.3-5.8-8.3-1.4-15.9-2.8-22.6-4.3-3.9-.8-6.6-1.5-7.8-1.8l-3.1-.6c-2.2-.3-5.9-.8-10.7-1.3-25-2.3-52.1-1.5-78.5 4.6-55.2 12.9-93.9 47.2-101.1 105.8-15.7 126.2 78.6 184.7 276 188.9 29.1 70.4 106.4 107.9 179.6 87 73.3-20.9 119.3-93.4 106.9-168.6zM329.1 345.2a83.3 83.3 0 11.01-166.61 83.3 83.3 0 01-.01 166.61zM695.6 845a83.3 83.3 0 11.01-166.61A83.3 83.3 0 01695.6 845z"}}]},name:"node-index",theme:"outlined"},vH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vZ}))}),vb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.6c-3.7 11.6-5.6 23.9-5.6 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1z"}}]},name:"notification",theme:"filled"},vV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vb}))}),vC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z"}}]},name:"notification",theme:"outlined"},vx=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vC}))}),vE={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M229.6 678.1c-3.7 11.6-5.6 23.9-5.6 36.4 0-12.5 2-24.8 5.7-36.4h-.1zm76.3-260.2H184v188.2h121.9l12.9 5.2L840 820.7V203.3L318.8 412.7z",fill:t}},{tag:"path",attrs:{d:"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z",fill:e}}]}},name:"notification",theme:"twotone"},vL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vE}))}),vR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 394c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H400V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v236H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h228v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h164c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V394h164zM628 630H400V394h228v236z"}}]},name:"number",theme:"outlined"},vy=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vR}))}),vB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M316 672h60c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8zm196-50c22.1 0 40-17.9 40-39 0-23.1-17.9-41-40-41s-40 17.9-40 41c0 21.1 17.9 39 40 39zm0-140c22.1 0 40-17.9 40-39 0-23.1-17.9-41-40-41s-40 17.9-40 41c0 21.1 17.9 39 40 39z"}},{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"}},{tag:"path",attrs:{d:"M648 672h60c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8z"}}]},name:"one-to-one",theme:"outlined"},vS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vB}))}),vO={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M475.6 112c-74.03 0-139.72 42.38-172.92 104.58v237.28l92.27 56.48 3.38-235.7 189-127.45A194.33 194.33 0 00475.6 112m202.9 62.25c-13.17 0-26.05 1.76-38.8 4.36L453.2 304.36l-1.37 96.15 186.58-125.25 231.22 137.28a195.5 195.5 0 004.87-42.33c0-108.04-87.93-195.96-195.99-195.96M247.34 266C167.34 290.7 109 365.22 109 453.2c0 27.92 5.9 54.83 16.79 79.36l245.48 139.77 90.58-56.12-214.5-131.38zm392.88 74.67l-72.7 48.85L771.5 517.58 797.3 753C867.41 723.11 916 653.97 916 573.1c0-27.55-5.86-54.12-16.57-78.53zm-123 82.6l-66.36 44.56-1.05 76.12 64.7 39.66 69.54-43.04-1.84-76.48zm121.2 76.12l5.87 248.34L443 866.9A195.65 195.65 0 00567.84 912c79.22 0 147.8-46.52 178.62-114.99L719.4 550.22zm-52.86 105.3L372.43 736.68 169.56 621.15a195.35 195.35 0 00-5.22 44.16c0 102.94 79.84 187.41 180.81 195.18L588.2 716.6z"}}]},name:"open-a-i",theme:"filled"},vk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vO}))}),vT={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482.88 128c-84.35 0-156.58 52.8-185.68 126.98-60.89 8.13-115.3 43.63-146.6 97.84-42.16 73-32.55 161.88 17.14 224.16-23.38 56.75-19.85 121.6 11.42 175.78 42.18 73.02 124.1 109.15 202.94 97.23C419.58 898.63 477.51 928 540.12 928c84.35 0 156.58-52.8 185.68-126.98 60.89-8.13 115.3-43.62 146.6-97.84 42.16-73 32.55-161.88-17.14-224.16 23.38-56.75 19.85-121.6-11.42-175.78-42.18-73.02-124.1-109.15-202.94-97.23C603.42 157.38 545.49 128 482.88 128m0 61.54c35.6 0 68.97 13.99 94.22 37.74-1.93 1.03-3.92 1.84-5.83 2.94l-136.68 78.91a46.11 46.11 0 00-23.09 39.78l-.84 183.6-65.72-38.34V327.4c0-76 61.9-137.86 137.94-137.86m197.7 75.9c44.19 3.14 86.16 27.44 109.92 68.57 17.8 30.8 22.38 66.7 14.43 100.42-1.88-1.17-3.6-2.49-5.53-3.6l-136.73-78.91a46.23 46.23 0 00-46-.06l-159.47 91.1.36-76.02 144.5-83.41a137.19 137.19 0 0178.53-18.09m-396.92 55.4c-.07 2.2-.3 4.35-.3 6.56v157.75a46.19 46.19 0 0022.91 39.9l158.68 92.5-66.02 37.67-144.55-83.35c-65.86-38-88.47-122.53-50.45-188.34 17.78-30.78 46.55-52.69 79.73-62.68m340.4 79.93l144.54 83.35c65.86 38 88.47 122.53 50.45 188.34-17.78 30.78-46.55 52.69-79.73 62.68.07-2.19.3-4.34.3-6.55V570.85a46.19 46.19 0 00-22.9-39.9l-158.69-92.5zM511.8 464.84l54.54 31.79-.3 63.22-54.84 31.31-54.54-31.85.3-63.16zm100.54 58.65l65.72 38.35V728.6c0 76-61.9 137.86-137.94 137.86-35.6 0-68.97-13.99-94.22-37.74 1.93-1.03 3.92-1.84 5.83-2.94l136.68-78.9a46.11 46.11 0 0023.09-39.8zm-46.54 89.55l-.36 76.02-144.5 83.41c-65.85 38-150.42 15.34-188.44-50.48-17.8-30.8-22.38-66.7-14.43-100.42 1.88 1.17 3.6 2.5 5.53 3.6l136.74 78.91a46.23 46.23 0 0046 .06z"}}]},name:"open-a-i",theme:"outlined"},v$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vT}))}),vF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M920 760H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-568H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM216 712H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h72.4v20.5h-35.7c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h35.7V838H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4V716c0-2.2-1.8-4-4-4zM100 188h38v120c0 2.2 1.8 4 4 4h40c2.2 0 4-1.8 4-4V152c0-4.4-3.6-8-8-8h-78c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4zm116 240H100c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4h68.4l-70.3 77.7a8.3 8.3 0 00-2.1 5.4V592c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4v-36c0-2.2-1.8-4-4-4h-68.4l70.3-77.7a8.3 8.3 0 002.1-5.4V432c0-2.2-1.8-4-4-4z"}}]},name:"ordered-list",theme:"outlined"},vI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vF}))}),vA=c(5392),vD=c(92962),vN={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-80 600c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z"}}]},name:"pause-circle",theme:"filled"},vP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vN}))}),vq=c(30159),vW={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-80 524c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z",fill:t}},{tag:"path",attrs:{d:"M424 352h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"pause-circle",theme:"twotone"},vj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vW}))}),vY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M304 176h80v672h-80zm408 0h-64c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8z"}}]},name:"pause",theme:"outlined"},v_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vY}))}),vK={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 64zm166.6 246.8L567.5 515.6h62c4.4 0 8 3.6 8 8v29.9c0 4.4-3.6 8-8 8h-82V603h82c4.4 0 8 3.6 8 8v29.9c0 4.4-3.6 8-8 8h-82V717c0 4.4-3.6 8-8 8h-54.3c-4.4 0-8-3.6-8-8v-68.1h-81.7c-4.4 0-8-3.6-8-8V611c0-4.4 3.6-8 8-8h81.7v-41.5h-81.7c-4.4 0-8-3.6-8-8v-29.9c0-4.4 3.6-8 8-8h61.4L345.4 310.8a8.07 8.07 0 017-11.9h60.7c3 0 5.8 1.7 7.1 4.4l90.6 180h3.4l90.6-180a8 8 0 017.1-4.4h59.5c4.4 0 8 3.6 8 8 .2 1.4-.2 2.7-.8 3.9z"}}]},name:"pay-circle",theme:"filled"},vU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vK}))}),vX={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 372zm159.6-585h-59.5c-3 0-5.8 1.7-7.1 4.4l-90.6 180H511l-90.6-180a8 8 0 00-7.1-4.4h-60.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9L457 515.7h-61.4c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V603h-81.7c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V717c0 4.4 3.6 8 8 8h54.3c4.4 0 8-3.6 8-8v-68.1h82c4.4 0 8-3.6 8-8V611c0-4.4-3.6-8-8-8h-82v-41.5h82c4.4 0 8-3.6 8-8v-29.9c0-4.4-3.6-8-8-8h-62l111.1-204.8c.6-1.2 1-2.5 1-3.8-.1-4.4-3.7-8-8.1-8z"}}]},name:"pay-circle",theme:"outlined"},vG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vX}))}),vQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855.7 210.8l-42.4-42.4a8.03 8.03 0 00-11.3 0L168.3 801.9a8.03 8.03 0 000 11.3l42.4 42.4c3.1 3.1 8.2 3.1 11.3 0L855.6 222c3.2-3 3.2-8.1.1-11.2zM304 448c79.4 0 144-64.6 144-144s-64.6-144-144-144-144 64.6-144 144 64.6 144 144 144zm0-216c39.7 0 72 32.3 72 72s-32.3 72-72 72-72-32.3-72-72 32.3-72 72-72zm416 344c-79.4 0-144 64.6-144 144s64.6 144 144 144 144-64.6 144-144-64.6-144-144-144zm0 216c-39.7 0-72-32.3-72-72s32.3-72 72-72 72 32.3 72 72-32.3 72-72 72z"}}]},name:"percentage",theme:"outlined"},vJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:vQ}))}),v1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.6 230.2L779.1 123.8a80.83 80.83 0 00-57.3-23.8c-21.7 0-42.1 8.5-57.4 23.8L549.8 238.4a80.83 80.83 0 00-23.8 57.3c0 21.7 8.5 42.1 23.8 57.4l83.8 83.8A393.82 393.82 0 01553.1 553 395.34 395.34 0 01437 633.8L353.2 550a80.83 80.83 0 00-57.3-23.8c-21.7 0-42.1 8.5-57.4 23.8L123.8 664.5a80.89 80.89 0 00-23.8 57.4c0 21.7 8.5 42.1 23.8 57.4l106.3 106.3c24.4 24.5 58.1 38.4 92.7 38.4 7.3 0 14.3-.6 21.2-1.8 134.8-22.2 268.5-93.9 376.4-201.7C828.2 612.8 899.8 479.2 922.3 344c6.8-41.3-6.9-83.8-36.7-113.8z"}}]},name:"phone",theme:"filled"},v4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:v1}))}),v2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z"}}]},name:"phone",theme:"outlined"},v3=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:v2}))}),v8={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M721.7 184.9L610.9 295.8l120.8 120.7-8 21.6A481.29 481.29 0 01438 723.9l-21.6 8-.9-.9-119.8-120-110.8 110.9 104.5 104.5c10.8 10.7 26 15.7 40.8 13.2 117.9-19.5 235.4-82.9 330.9-178.4s158.9-213.1 178.4-331c2.5-14.8-2.5-30-13.3-40.8L721.7 184.9z",fill:t}},{tag:"path",attrs:{d:"M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z",fill:e}}]}},name:"phone",theme:"twotone"},v6=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:v8}))}),v0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM848 660c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H176c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h672zM232 436h560v152H232V436z"}}]},name:"pic-center",theme:"outlined"},v5=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:v0}))}),v7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM608 660c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h512zM152 436h400v152H152V436zm552 210c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H712c-4.4 0-8 3.6-8 8v56zm8-204h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H712c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"}}]},name:"pic-left",theme:"outlined"},v9=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:v7}))}),me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-24 500c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H416c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h512zM472 436h400v152H472V436zM80 646c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H88c-4.4 0-8 3.6-8 8v56zm8-204h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H88c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"}}]},name:"pic-right",theme:"outlined"},mt=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:me}))}),mc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zM338 304c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm513.9 437.1a8.11 8.11 0 01-5.2 1.9H177.2c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2l170.3-202c2.8-3.4 7.9-3.8 11.3-1 .3.3.7.6 1 1l99.4 118 158.1-187.5c2.8-3.4 7.9-3.8 11.3-1 .3.3.7.6 1 1l229.6 271.6c2.6 3.3 2.2 8.4-1.2 11.2z"}}]},name:"picture",theme:"filled"},mn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mc}))}),ma=c(16801),mr=c(82543),ml={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M863.1 518.5H505.5V160.9c0-4.4-3.6-8-8-8h-26a398.57 398.57 0 00-282.5 117 397.47 397.47 0 00-85.6 127C82.6 446.2 72 498.5 72 552.5S82.6 658.7 103.4 708c20.1 47.5 48.9 90.3 85.6 127 36.7 36.7 79.4 65.5 127 85.6a396.64 396.64 0 00155.6 31.5 398.57 398.57 0 00282.5-117c36.7-36.7 65.5-79.4 85.6-127a396.64 396.64 0 0031.5-155.6v-26c-.1-4.4-3.7-8-8.1-8zM951 463l-2.6-28.2c-8.5-92-49.3-178.8-115.1-244.3A398.5 398.5 0 00588.4 75.6L560.1 73c-4.7-.4-8.7 3.2-8.7 7.9v383.7c0 4.4 3.6 8 8 8l383.6-1c4.7-.1 8.4-4 8-8.6z"}}]},name:"pie-chart",theme:"filled"},mo=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ml}))}),mi=c(48869),mu={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M316.2 920.5c-47.6-20.1-90.4-49-127.1-85.7a398.19 398.19 0 01-85.7-127.1A397.12 397.12 0 0172 552.2v.2a398.57 398.57 0 00117 282.5c36.7 36.7 79.4 65.5 127 85.6A396.64 396.64 0 00471.6 952c27 0 53.6-2.7 79.7-7.9-25.9 5.2-52.4 7.8-79.3 7.8-54 .1-106.4-10.5-155.8-31.4zM560 472c-4.4 0-8-3.6-8-8V79.9c0-1.3.3-2.5.9-3.6-.9 1.3-1.5 2.9-1.5 4.6v383.7c0 4.4 3.6 8 8 8l383.6-1c1.6 0 3.1-.5 4.4-1.3-1 .5-2.2.7-3.4.7l-384 1z",fill:t}},{tag:"path",attrs:{d:"M619.8 147.6v256.6l256.4-.7c-13-62.5-44.3-120.5-90-166.1a332.24 332.24 0 00-166.4-89.8z",fill:t}},{tag:"path",attrs:{d:"M438 221.7c-75.9 7.6-146.2 40.9-200.8 95.5C174.5 379.9 140 463.3 140 552s34.5 172.1 97.2 234.8c62.3 62.3 145.1 96.8 233.2 97.2 88.2.4 172.7-34.1 235.3-96.2C761 733 794.6 662.3 802.3 586H438V221.7z",fill:t}},{tag:"path",attrs:{d:"M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552v.2c0 53.9 10.6 106.2 31.4 155.5 20.1 47.6 49 90.4 85.7 127.1 36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952c26.9 0 53.4-2.6 79.3-7.8 26.1-5.3 51.7-13.1 76.4-23.6 47.6-20.1 90.4-49 127.1-85.7 36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552s34.5-172.1 97.2-234.8c54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8z",fill:e}},{tag:"path",attrs:{d:"M952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-3.4-.3-6.4 1.5-7.8 4.3a8.7 8.7 0 00-.9 3.6V464c0 4.4 3.6 8 8 8l384-1c1.2 0 2.3-.3 3.4-.7a8.1 8.1 0 004.6-7.9zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z",fill:e}}]}},name:"pie-chart",theme:"twotone"},ms=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mu}))}),mf={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.97 64 64 264.97 64 512c0 192.53 122.08 357.04 292.88 420.28-4.92-43.86-4.14-115.68 3.97-150.46 7.6-32.66 49.11-208.16 49.11-208.16s-12.53-25.1-12.53-62.16c0-58.24 33.74-101.7 75.77-101.7 35.74 0 52.97 26.83 52.97 58.98 0 35.96-22.85 89.66-34.7 139.43-9.87 41.7 20.91 75.7 62.02 75.7 74.43 0 131.64-78.5 131.64-191.77 0-100.27-72.03-170.38-174.9-170.38-119.15 0-189.08 89.38-189.08 181.75 0 35.98 13.85 74.58 31.16 95.58 3.42 4.16 3.92 7.78 2.9 12-3.17 13.22-10.22 41.67-11.63 47.5-1.82 7.68-6.07 9.28-14 5.59-52.3-24.36-85-100.81-85-162.25 0-132.1 95.96-253.43 276.71-253.43 145.29 0 258.18 103.5 258.18 241.88 0 144.34-91.02 260.49-217.31 260.49-42.44 0-82.33-22.05-95.97-48.1 0 0-21 79.96-26.1 99.56-8.82 33.9-46.55 104.13-65.49 136.03A446.16 446.16 0 00512 960c247.04 0 448-200.97 448-448S759.04 64 512 64"}}]},name:"pinterest",theme:"filled"},mh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mf}))}),md={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.8 64 64 264.8 64 512s200.8 448 448 448 448-200.8 448-448S759.2 64 512 64m0 38.96c226.14 0 409.04 182.9 409.04 409.04 0 226.14-182.9 409.04-409.04 409.04-41.37 0-81.27-6.19-118.89-17.57 16.76-28.02 38.4-68.06 46.99-101.12 5.1-19.6 26.1-99.56 26.1-99.56 13.64 26.04 53.5 48.09 95.94 48.09 126.3 0 217.34-116.15 217.34-260.49 0-138.37-112.91-241.88-258.2-241.88-180.75 0-276.69 121.32-276.69 253.4 0 61.44 32.68 137.91 85 162.26 7.92 3.7 12.17 2.1 14-5.59 1.4-5.83 8.46-34.25 11.63-47.48 1.02-4.22.53-7.86-2.89-12.02-17.31-21-31.2-59.58-31.2-95.56 0-92.38 69.94-181.78 189.08-181.78 102.88 0 174.93 70.13 174.93 170.4 0 113.28-57.2 191.78-131.63 191.78-41.11 0-71.89-34-62.02-75.7 11.84-49.78 34.7-103.49 34.7-139.44 0-32.15-17.25-58.97-53-58.97-42.02 0-75.78 43.45-75.78 101.7 0 37.06 12.56 62.16 12.56 62.16s-41.51 175.5-49.12 208.17c-7.62 32.64-5.58 76.6-2.43 109.34C208.55 830.52 102.96 683.78 102.96 512c0-226.14 182.9-409.04 409.04-409.04"}}]},name:"pinterest",theme:"outlined"},mv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:md}))}),mm={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 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 01-12.7-6.5V353.7a8 8 0 0112.7-6.5L656.1 506a7.9 7.9 0 010 12.9z"}}]},name:"play-circle",theme:"filled"},mg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mm}))}),mz={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:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"},mp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mz}))}),mw={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm164.1 378.2L457.7 677.1a8.02 8.02 0 01-12.7-6.5V353a8 8 0 0112.7-6.5l218.4 158.8a7.9 7.9 0 010 12.9z",fill:t}},{tag:"path",attrs:{d:"M676.1 505.3L457.7 346.5A8 8 0 00445 353v317.6a8.02 8.02 0 0012.7 6.5l218.4-158.9a7.9 7.9 0 000-12.9z",fill:e}}]}},name:"play-circle",theme:"twotone"},mM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mw}))}),mZ={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-32zM641.7 520.8L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6z"}}]},name:"play-square",theme:"filled"},mH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mZ}))}),mb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M442.3 677.6l199.4-156.7a11.3 11.3 0 000-17.7L442.3 346.4c-7.4-5.8-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.7 18.3 8.9z"}},{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:"play-square",theme:"outlined"},mV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mb}))}),mC={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm240-484.7c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3z",fill:t}},{tag:"path",attrs:{d:"M442.3 677.6l199.4-156.8a11.2 11.2 0 000-17.6L442.3 346.5c-7.4-5.9-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.6 18.3 8.8z",fill:e}}]}},name:"play-square",theme:"twotone"},mx=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mC}))}),mE={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 64zm192 472c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z"}}]},name:"plus-circle",theme:"filled"},mL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mE}))}),mR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-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 8h152v152c0 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-8z"}},{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"}}]},name:"plus-circle",theme:"outlined"},my=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mR}))}),mB={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm192 396c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z",fill:t}},{tag:"path",attrs:{d:"M696 480H544V328c0-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 8h152v152c0 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-8z",fill:e}}]}},name:"plus-circle",theme:"twotone"},mS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mB}))}),mO=c(24969),mk={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-32zM704 536c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z"}}]},name:"plus-square",theme:"filled"},mT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mk}))}),m$=c(13982),mF={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm136-352c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48z",fill:t}},{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",fill:e}}]}},name:"plus-square",theme:"twotone"},mI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mF}))}),mA={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 64zm146 658c0 4.4-3.6 8-8 8H376.2c-4.4 0-8-3.6-8-8v-38.5c0-3.7 2.5-6.9 6.1-7.8 44-10.9 72.8-49 72.8-94.2 0-14.7-2.5-29.4-5.9-44.2H374c-4.4 0-8-3.6-8-8v-30c0-4.4 3.6-8 8-8h53.7c-7.8-25.1-14.6-50.7-14.6-77.1 0-75.8 58.6-120.3 151.5-120.3 26.5 0 51.4 5.5 70.3 12.7 3.1 1.2 5.2 4.2 5.2 7.5v39.5a8 8 0 01-10.6 7.6c-17.9-6.4-39-10.5-60.4-10.5-53.3 0-87.3 26.6-87.3 70.2 0 24.7 6.2 47.9 13.4 70.5h112c4.4 0 8 3.6 8 8v30c0 4.4-3.6 8-8 8h-98.6c3.1 13.2 5.3 26.9 5.3 41 0 40.7-16.5 73.9-43.9 91.1v4.7h180c4.4 0 8 3.6 8 8V722z"}}]},name:"pound-circle",theme:"filled"},mD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mA}))}),mN={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 372zm138-209.8H469.8v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.9-5.3-41H607c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8H495c-7.2-22.6-13.4-45.7-13.4-70.5 0-43.5 34-70.2 87.3-70.2 21.5 0 42.5 4.1 60.4 10.5 5.2 1.9 10.6-2 10.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.8-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.3 6.9 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.1c3.4 14.7 5.9 29.4 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8V722c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z"}}]},name:"pound-circle",theme:"outlined"},mP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mN}))}),mq={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm146 582.1c0 4.4-3.6 8-8 8H376.2c-4.4 0-8-3.6-8-8v-38.5c0-3.7 2.5-6.9 6.1-7.8 44-10.9 72.8-49 72.8-94.2 0-14.7-2.5-29.4-5.9-44.2H374c-4.4 0-8-3.6-8-8v-30c0-4.4 3.6-8 8-8h53.7c-7.8-25.1-14.6-50.7-14.6-77.1 0-75.8 58.6-120.3 151.5-120.3 26.5 0 51.4 5.5 70.3 12.7 3.1 1.2 5.2 4.2 5.2 7.5v39.5a8 8 0 01-10.6 7.6c-17.9-6.4-39-10.5-60.4-10.5-53.3 0-87.3 26.6-87.3 70.2 0 24.7 6.2 47.9 13.4 70.5h112c4.4 0 8 3.6 8 8v30c0 4.4-3.6 8-8 8h-98.6c3.1 13.2 5.3 26.9 5.3 41 0 40.7-16.5 73.9-43.9 91.1v4.7h180c4.4 0 8 3.6 8 8v39.8z",fill:t}},{tag:"path",attrs:{d:"M650 674.3H470v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.8-5.3-41h98.6c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8h-112c-7.2-22.6-13.4-45.8-13.4-70.5 0-43.6 34-70.2 87.3-70.2 21.4 0 42.5 4.1 60.4 10.5a8 8 0 0010.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.9-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.4 6.8 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.2c3.4 14.8 5.9 29.5 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8v38.5c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"pound-circle",theme:"twotone"},mW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mq}))}),mj={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 372zm138-209.8H469.8v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.9-5.3-41H607c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8H495c-7.2-22.6-13.4-45.7-13.4-70.5 0-43.5 34-70.2 87.3-70.2 21.5 0 42.5 4.1 60.4 10.5 5.2 1.9 10.6-2 10.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.8-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.3 6.9 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.1c3.4 14.7 5.9 29.4 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8V722c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z"}}]},name:"pound",theme:"outlined"},mY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mj}))}),m_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},mK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:m_}))}),mU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M732 120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v148h440V120zm120 212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM664 844H360V568h304v276zm164-360c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-40c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v40z"}}]},name:"printer",theme:"filled"},mX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mU}))}),mG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M820 436h-40c-4.4 0-8 3.6-8 8v40c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-40c0-4.4-3.6-8-8-8zm32-104H732V120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM360 180h304v152H360V180zm304 664H360V568h304v276zm200-140H732V500H292v204H160V412c0-6.6 5.4-12 12-12h680c6.6 0 12 5.4 12 12v292z"}}]},name:"printer",theme:"outlined"},mQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mG}))}),mJ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 180h304v152H360zm492 220H172c-6.6 0-12 5.4-12 12v292h132V500h440v204h132V412c0-6.6-5.4-12-12-12zm-24 84c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-40c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v40z",fill:t}},{tag:"path",attrs:{d:"M852 332H732V120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM360 180h304v152H360V180zm304 664H360V568h304v276zm200-140H732V500H292v204H160V412c0-6.6 5.4-12 12-12h680c6.6 0 12 5.4 12 12v292z",fill:e}},{tag:"path",attrs:{d:"M820 436h-40c-4.4 0-8 3.6-8 8v40c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-40c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"printer",theme:"twotone"},m1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:mJ}))}),m4={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M160 144h304a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V160a16 16 0 0116-16m564.31-25.33l181.02 181.02a16 16 0 010 22.62L724.31 503.33a16 16 0 01-22.62 0L520.67 322.31a16 16 0 010-22.62l181.02-181.02a16 16 0 0122.62 0M160 544h304a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V560a16 16 0 0116-16m400 0h304a16 16 0 0116 16v304a16 16 0 01-16 16H560a16 16 0 01-16-16V560a16 16 0 0116-16"}}]},name:"product",theme:"filled"},m2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:m4}))}),m3=c(79383),m8={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-32zM380 696c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm0-144c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm0-144c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm304 272c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-144c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-144c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48z"}}]},name:"profile",theme:"filled"},m6=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:m8}))}),m0={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-32zm-40 728H184V184h656v656zM492 400h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zM340 368a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"profile",theme:"outlined"},m5=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:m0}))}),m7={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm300-496c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zM380 328c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M340 656a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm152 320h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"profile",theme:"twotone"},m9=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:m7}))}),ge={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-32zM368 744c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v464zm192-280c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v184zm192 72c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v256z"}}]},name:"project",theme:"filled"},gt=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ge}))}),gc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M280 752h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8zm192-280h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm192 72h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v256c0 4.4 3.6 8 8 8zm216-432H144c-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:"project",theme:"outlined"},gn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gc}))}),ga={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm472-560c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v256c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280zm-192 0c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280zm-192 0c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v464c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280z",fill:t}},{tag:"path",attrs:{d:"M280 752h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8zm192-280h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm192 72h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v256c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"project",theme:"twotone"},gr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ga}))}),gl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM648.3 332.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V658c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 018.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z"}}]},name:"property-safety",theme:"filled"},go=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gl}))}),gi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zM430.5 318h-46c-1.7 0-3.3.4-4.8 1.2a10.1 10.1 0 00-4 13.6l88 161.1h-45.2c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1v29.7h-63.1c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1V658c0 5.5 4.5 10 10 10h41.3c5.5 0 10-4.5 10-10v-51.8h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-63.4v-29.7h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-45.7l87.7-161.1a10.05 10.05 0 00-8.8-14.8h-45c-3.8 0-7.2 2.1-8.9 5.5l-73.2 144.3-72.9-144.3c-1.7-3.4-5.2-5.5-9-5.5z"}}]},name:"property-safety",theme:"outlined"},gu=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gi}))}),gs={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z",fill:e}},{tag:"path",attrs:{d:"M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM593.9 318h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V658c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8H418c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7H418c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3L585 323.5a10 10 0 018.9-5.5z",fill:t}},{tag:"path",attrs:{d:"M438.9 323.5a9.88 9.88 0 00-8.9-5.5h-46c-1.7 0-3.3.4-4.8 1.2-4.9 2.7-6.6 8.8-4 13.6l88 161.1H418c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1v29.7H418c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1V658c0 5.5 4.5 10 10 10h41.3c5.5 0 10-4.5 10-10v-51.8h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-63.4v-29.7h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-45.7l87.7-161.1c.8-1.5 1.2-3.1 1.1-4.8 0-5.5-4.5-10-10-10h-45a10 10 0 00-8.9 5.5l-73.2 144.3-72.9-144.3z",fill:e}}]}},name:"property-safety",theme:"twotone"},gf=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gs}))}),gh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M788 705.9V192c0-8.8-7.2-16-16-16H602v-68.8c0-6-7-9.4-11.7-5.7L462.7 202.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V240h114v465.9c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c.1-49.2-31.7-91-75.9-106.1zM752 860a48.01 48.01 0 010-96 48.01 48.01 0 010 96zM384 212c0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1V318.1c44.2-15.1 76-56.9 76-106.1zm-160 0a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0z"}}]},name:"pull-request",theme:"outlined"},gd=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gh}))}),gv={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3-15.4 12.3-16.6 35.4-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8z"}}]},name:"pushpin",theme:"filled"},gm=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gv}))}),gg={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3a33.23 33.23 0 00-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8zM666.2 549.3l-24.5 24.5 3.8 34.4a259.92 259.92 0 01-30.4 153.9L262 408.8c12.9-7.1 26.3-13.1 40.3-17.9 27.2-9.4 55.7-14.1 84.7-14.1 9.6 0 19.3.5 28.9 1.6l34.4 3.8 24.5-24.5L608.5 224 800 415.5 666.2 549.3z"}}]},name:"pushpin",theme:"outlined"},gz=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gg}))}),gp={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M474.8 357.7l-24.5 24.5-34.4-3.8c-9.6-1.1-19.3-1.6-28.9-1.6-29 0-57.5 4.7-84.7 14.1-14 4.8-27.4 10.8-40.3 17.9l353.1 353.3a259.92 259.92 0 0030.4-153.9l-3.8-34.4 24.5-24.5L800 415.5 608.5 224 474.8 357.7z",fill:t}},{tag:"path",attrs:{d:"M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3a33.23 33.23 0 00-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8zM666.2 549.3l-24.5 24.5 3.8 34.4a259.92 259.92 0 01-30.4 153.9L262 408.8c12.9-7.1 26.3-13.1 40.3-17.9 27.2-9.4 55.7-14.1 84.7-14.1 9.6 0 19.3.5 28.9 1.6l34.4 3.8 24.5-24.5L608.5 224 800 415.5 666.2 549.3z",fill:e}}]}},name:"pushpin",theme:"twotone"},gw=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gp}))}),gM={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M555 790.5a28.5 28.5 0 1057 0 28.5 28.5 0 00-57 0m-143-557a28.5 28.5 0 1057 0 28.5 28.5 0 00-57 0"}},{tag:"path",attrs:{d:"M821.52 297.71H726.3v-95.23c0-49.9-40.58-90.48-90.48-90.48H388.19c-49.9 0-90.48 40.57-90.48 90.48v95.23h-95.23c-49.9 0-90.48 40.58-90.48 90.48v247.62c0 49.9 40.57 90.48 90.48 90.48h95.23v95.23c0 49.9 40.58 90.48 90.48 90.48h247.62c49.9 0 90.48-40.57 90.48-90.48V726.3h95.23c49.9 0 90.48-40.58 90.48-90.48V388.19c0-49.9-40.57-90.48-90.48-90.48M202.48 669.14a33.37 33.37 0 01-33.34-33.33V388.19a33.37 33.37 0 0133.34-33.33h278.57a28.53 28.53 0 0028.57-28.57 28.53 28.53 0 00-28.57-28.58h-126.2v-95.23a33.37 33.37 0 0133.34-33.34h247.62a33.37 33.37 0 0133.33 33.34v256.47a24.47 24.47 0 01-24.47 24.48H379.33c-45.04 0-81.62 36.66-81.62 81.62v104.1zm652.38-33.33a33.37 33.37 0 01-33.34 33.33H542.95a28.53 28.53 0 00-28.57 28.57 28.53 28.53 0 0028.57 28.58h126.2v95.23a33.37 33.37 0 01-33.34 33.34H388.19a33.37 33.37 0 01-33.33-33.34V565.05a24.47 24.47 0 0124.47-24.48h265.34c45.04 0 81.62-36.67 81.62-81.62v-104.1h95.23a33.37 33.37 0 0133.34 33.34z"}}]},name:"python",theme:"outlined"},gZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gM}))}),gH={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 64zm210.5 612.4c-11.5 1.4-44.9-52.7-44.9-52.7 0 31.3-16.2 72.2-51.1 101.8 16.9 5.2 54.9 19.2 45.9 34.4-7.3 12.3-125.6 7.9-159.8 4-34.2 3.8-152.5 8.3-159.8-4-9.1-15.2 28.9-29.2 45.8-34.4-35-29.5-51.1-70.4-51.1-101.8 0 0-33.4 54.1-44.9 52.7-5.4-.7-12.4-29.6 9.4-99.7 10.3-33 22-60.5 40.2-105.8-3.1-116.9 45.3-215 160.4-215 113.9 0 163.3 96.1 160.4 215 18.1 45.2 29.9 72.8 40.2 105.8 21.7 70.1 14.6 99.1 9.3 99.7z"}}]},name:"qq-circle",theme:"filled"},gb=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gH}))}),gV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.8 613.2c-16-51.4-34.4-94.6-62.7-165.3C766.5 262.2 689.3 112 511.5 112 331.7 112 256.2 265.2 261 447.9c-28.4 70.8-46.7 113.7-62.7 165.3-34 109.5-23 154.8-14.6 155.8 18 2.2 70.1-82.4 70.1-82.4 0 49 25.2 112.9 79.8 159-26.4 8.1-85.7 29.9-71.6 53.8 11.4 19.3 196.2 12.3 249.5 6.3 53.3 6 238.1 13 249.5-6.3 14.1-23.8-45.3-45.7-71.6-53.8 54.6-46.2 79.8-110.1 79.8-159 0 0 52.1 84.6 70.1 82.4 8.5-1.1 19.5-46.4-14.5-155.8z"}}]},name:"qq",theme:"outlined"},gC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gV}))}),gx={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-32zM722.5 676.4c-11.5 1.4-44.9-52.7-44.9-52.7 0 31.3-16.2 72.2-51.1 101.8 16.9 5.2 54.9 19.2 45.9 34.4-7.3 12.3-125.6 7.9-159.8 4-34.2 3.8-152.5 8.3-159.8-4-9.1-15.2 28.9-29.2 45.8-34.4-35-29.5-51.1-70.4-51.1-101.8 0 0-33.4 54.1-44.9 52.7-5.4-.7-12.4-29.6 9.4-99.7 10.3-33 22-60.5 40.2-105.8-3.1-116.9 45.3-215 160.4-215 113.9 0 163.3 96.1 160.4 215 18.1 45.2 29.9 72.8 40.2 105.8 21.7 70.1 14.6 99.1 9.3 99.7z"}}]},name:"qq-square",theme:"filled"},gE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gx}))}),gL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M468 128H160c-17.7 0-32 14.3-32 32v308c0 4.4 3.6 8 8 8h332c4.4 0 8-3.6 8-8V136c0-4.4-3.6-8-8-8zm-56 284H192V192h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm194 210H136c-4.4 0-8 3.6-8 8v308c0 17.7 14.3 32 32 32h308c4.4 0 8-3.6 8-8V556c0-4.4-3.6-8-8-8zm-56 284H192V612h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm590-630H556c-4.4 0-8 3.6-8 8v332c0 4.4 3.6 8 8 8h332c4.4 0 8-3.6 8-8V160c0-17.7-14.3-32-32-32zm-32 284H612V192h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm194 210h-48c-4.4 0-8 3.6-8 8v134h-78V556c0-4.4-3.6-8-8-8H556c-4.4 0-8 3.6-8 8v332c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h78v102c0 4.4 3.6 8 8 8h190c4.4 0 8-3.6 8-8V556c0-4.4-3.6-8-8-8zM746 832h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm142 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"qrcode",theme:"outlined"},gR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gL}))}),gy={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 708c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z"}}]},name:"question-circle",theme:"filled"},gB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gy}))}),gS=c(25035),gO={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm0 632c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z",fill:t}},{tag:"path",attrs:{d:"M472 732a40 40 0 1080 0 40 40 0 10-80 0zm151.6-415.3C593.6 290.5 554 276 512 276s-81.6 14.4-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 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.2 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 0-39.3-17.2-76-48.4-103.3z",fill:e}}]}},name:"question-circle",theme:"twotone"},gk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gO}))}),gT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M764 280.9c-14-30.6-33.9-58.1-59.3-81.6C653.1 151.4 584.6 125 512 125s-141.1 26.4-192.7 74.2c-25.4 23.6-45.3 51-59.3 81.7-14.6 32-22 65.9-22 100.9v27c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-27c0-99.5 88.6-180.4 197.6-180.4s197.6 80.9 197.6 180.4c0 40.8-14.5 79.2-42 111.2-27.2 31.7-65.6 54.4-108.1 64-24.3 5.5-46.2 19.2-61.7 38.8a110.85 110.85 0 00-23.9 68.6v31.4c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-31.4c0-15.7 10.9-29.5 26-32.9 58.4-13.2 111.4-44.7 149.3-88.7 19.1-22.3 34-47.1 44.3-74 10.7-27.9 16.1-57.2 16.1-87 0-35-7.4-69-22-100.9zM512 787c-30.9 0-56 25.1-56 56s25.1 56 56 56 56-25.1 56-56-25.1-56-56-56z"}}]},name:"question",theme:"outlined"},g$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gT}))}),gF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M926.8 397.1l-396-288a31.81 31.81 0 00-37.6 0l-396 288a31.99 31.99 0 00-11.6 35.8l151.3 466a32 32 0 0030.4 22.1h489.5c13.9 0 26.1-8.9 30.4-22.1l151.3-466c4.2-13.2-.5-27.6-11.7-35.8zM838.6 417l-98.5 32-200-144.7V199.9L838.6 417zM466 567.2l-89.1 122.3-55.2-169.2L466 567.2zm-116.3-96.8L484 373.3v140.8l-134.3-43.7zM512 599.2l93.9 128.9H418.1L512 599.2zm28.1-225.9l134.2 97.1L540.1 514V373.3zM558 567.2l144.3-46.9-55.2 169.2L558 567.2zm-74-367.3v104.4L283.9 449l-98.5-32L484 199.9zM169.3 470.8l86.5 28.1 80.4 246.4-53.8 73.9-113.1-348.4zM327.1 853l50.3-69h269.3l50.3 69H327.1zm414.5-33.8l-53.8-73.9 80.4-246.4 86.5-28.1-113.1 348.4z"}}]},name:"radar-chart",theme:"outlined"},gI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gF}))}),gA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M712 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm2-696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM136 374h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-174h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm752 624h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-230 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm230 624H358c-87.3 0-158-70.7-158-158V484c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v182c0 127 103 230 230 230h182c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"radius-bottomleft",theme:"outlined"},gD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gA}))}),gN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M368 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-58-624h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm578 102h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm292 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm174 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm230 276h-56c-4.4 0-8 3.6-8 8v182c0 87.3-70.7 158-158 158H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h182c127 0 230-103 230-230V484c0-4.4-3.6-8-8-8z"}}]},name:"radius-bottomright",theme:"outlined"},gP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gN}))}),gq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M396 140h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-44 684h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm524-204h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 344h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm320 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm160 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm140-284c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V370c0-127-103-230-230-230H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h170c87.3 0 158 70.7 158 158v170zM236 96H92c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8h144c4.4 0 8-3.6 8-8V104c0-4.4-3.6-8-8-8zm-48 101.6c0 1.3-1.1 2.4-2.4 2.4h-43.2c-1.3 0-2.4-1.1-2.4-2.4v-43.2c0-1.3 1.1-2.4 2.4-2.4h43.2c1.3 0 2.4 1.1 2.4 2.4v43.2zM920 780H776c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8h144c4.4 0 8-3.6 8-8V788c0-4.4-3.6-8-8-8zm-48 101.6c0 1.3-1.1 2.4-2.4 2.4h-43.2c-1.3 0-2.4-1.1-2.4-2.4v-43.2c0-1.3 1.1-2.4 2.4-2.4h43.2c1.3 0 2.4 1.1 2.4 2.4v43.2z"}}]},name:"radius-setting",theme:"outlined"},gW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gq}))}),gj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M656 200h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm58 624h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 650h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm696-696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-174 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm174-696H358c-127 0-230 103-230 230v182c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V358c0-87.3 70.7-158 158-158h182c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"radius-upleft",theme:"outlined"},gY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gj}))}),g_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M368 128h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-2 696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm522-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 128h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm174 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-48-696H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h182c87.3 0 158 70.7 158 158v182c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V358c0-127-103-230-230-230z"}}]},name:"radius-upright",theme:"outlined"},gK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:g_}))}),gU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 161H699.2c-49.1 0-97.1 14.1-138.4 40.7L512 233l-48.8-31.3A255.2 255.2 0 00324.8 161H96c-17.7 0-32 14.3-32 32v568c0 17.7 14.3 32 32 32h228.8c49.1 0 97.1 14.1 138.4 40.7l44.4 28.6c1.3.8 2.8 1.3 4.3 1.3s3-.4 4.3-1.3l44.4-28.6C602 807.1 650.1 793 699.2 793H928c17.7 0 32-14.3 32-32V193c0-17.7-14.3-32-32-32zM404 553.5c0 4.1-3.2 7.5-7.1 7.5H211.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm0-140c0 4.1-3.2 7.5-7.1 7.5H211.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm416 140c0 4.1-3.2 7.5-7.1 7.5H627.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm0-140c0 4.1-3.2 7.5-7.1 7.5H627.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45z"}}]},name:"read",theme:"filled"},gX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gU}))}),gG=c(14079),gQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M676 623c-18.8 0-34 15.2-34 34s15.2 34 34 34 34-15.2 34-34-15.2-34-34-34zm204-455H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zM448 848H176V616h272v232zm0-296H176v-88h272v88zm20-272v-48h72v-56h64v56h72v48H468zm180 168v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8zm28 301c-50.8 0-92-41.2-92-92s41.2-92 92-92 92 41.2 92 92-41.2 92-92 92zm92-245c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v96zm-92 61c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34z"}}]},name:"reconciliation",theme:"filled"},gJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:gQ}))}),g1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M676 565c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34zm204-523H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zm-412 64h72v-56h64v56h72v48H468v-48zm-20 616H176V616h272v232zm0-296H176v-88h272v88zm392 240H512V432c0-17.7-14.3-32-32-32H304V240h100v104h336V240h100v552zM704 408v96c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-96c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zM592 512h48c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"}}]},name:"reconciliation",theme:"outlined"},g4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:g1}))}),g2={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M740 344H404V240H304v160h176c17.7 0 32 14.3 32 32v360h328V240H740v104zM584 448c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56zm92 301c-50.8 0-92-41.2-92-92s41.2-92 92-92 92 41.2 92 92-41.2 92-92 92zm92-341v96c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8z",fill:t}},{tag:"path",attrs:{d:"M642 657a34 34 0 1068 0 34 34 0 10-68 0z",fill:t}},{tag:"path",attrs:{d:"M592 512h48c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm112-104v96c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-96c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8z",fill:e}},{tag:"path",attrs:{d:"M880 168H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zm-412 64h72v-56h64v56h72v48H468v-48zm-20 616H176V616h272v232zm0-296H176v-88h272v88zm392 240H512V432c0-17.7-14.3-32-32-32H304V240h100v104h336V240h100v552z",fill:e}},{tag:"path",attrs:{d:"M676 565c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34z",fill:e}}]}},name:"reconciliation",theme:"twotone"},g3=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:g2}))}),g8={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-32zM647 470.4l-87.2 161h45.9c4.6 0 8.4 3.8 8.4 8.4v25.1c0 4.6-3.8 8.4-8.4 8.4h-63.3v28.6h63.3c4.6 0 8.4 3.8 8.4 8.4v25c.2 4.6-3.6 8.5-8.2 8.5h-63.3v49.9c0 4.6-3.8 8.4-8.4 8.4h-43.7c-4.6 0-8.4-3.8-8.4-8.4v-49.9h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h63v-28.6h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h45.4l-87.5-161c-2.2-4.1-.7-9.1 3.4-11.4 1.3-.6 2.6-1 3.9-1h48.8c3.2 0 6.1 1.8 7.5 4.6l71.9 141.8 71.9-141.9a8.5 8.5 0 017.5-4.6h47.8c4.6 0 8.4 3.8 8.4 8.4-.1 1.5-.5 2.9-1.1 4.1zM512.6 323L289 148h446L512.6 323z"}}]},name:"red-envelope",theme:"filled"},g6=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:g8}))}),g0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M440.6 462.6a8.38 8.38 0 00-7.5-4.6h-48.8c-1.3 0-2.6.4-3.9 1a8.4 8.4 0 00-3.4 11.4l87.4 161.1H419c-4.6 0-8.4 3.8-8.4 8.4V665c0 4.6 3.8 8.4 8.4 8.4h63V702h-63c-4.6 0-8.4 3.8-8.4 8.4v25.1c0 4.6 3.8 8.4 8.4 8.4h63v49.9c0 4.6 3.8 8.4 8.4 8.4h43.7c4.6 0 8.4-3.8 8.4-8.4v-49.9h63.3c4.7 0 8.4-3.8 8.2-8.5v-25c0-4.6-3.8-8.4-8.4-8.4h-63.3v-28.6h63.3c4.6 0 8.4-3.8 8.4-8.4v-25.1c0-4.6-3.8-8.4-8.4-8.4h-45.9l87.2-161a8.45 8.45 0 00-7.4-12.4h-47.8c-3.1 0-6 1.8-7.5 4.6l-71.9 141.9-71.7-142zM832 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-40 824H232V193.1l260.3 204.1c11.6 9.1 27.9 9.1 39.5 0L792 193.1V888zm0-751.3h-31.7L512 331.3 263.7 136.7H232v-.7h560v.7z"}}]},name:"red-envelope",theme:"outlined"},g5=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:g0}))}),g7={icon:function(e,t){return{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-40 824H232V193.1l260.3 204.1c11.6 9.1 27.9 9.1 39.5 0L792 193.1V888zm0-751.3h-31.7L512 331.3 263.7 136.7H232v-.7h560v.7z",fill:e}},{tag:"path",attrs:{d:"M492.3 397.2L232 193.1V888h560V193.1L531.8 397.2a31.99 31.99 0 01-39.5 0zm99.4 60.9h47.8a8.45 8.45 0 017.4 12.4l-87.2 161h45.9c4.6 0 8.4 3.8 8.4 8.4V665c0 4.6-3.8 8.4-8.4 8.4h-63.3V702h63.3c4.6 0 8.4 3.8 8.4 8.4v25c.2 4.7-3.5 8.5-8.2 8.5h-63.3v49.9c0 4.6-3.8 8.4-8.4 8.4h-43.7c-4.6 0-8.4-3.8-8.4-8.4v-49.9h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h63v-28.6h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h45.4L377 470.4a8.4 8.4 0 013.4-11.4c1.3-.6 2.6-1 3.9-1h48.8c3.2 0 6.1 1.8 7.5 4.6l71.7 142 71.9-141.9a8.6 8.6 0 017.5-4.6z",fill:t}},{tag:"path",attrs:{d:"M232 136.7h31.7L512 331.3l248.3-194.6H792v-.7H232z",fill:t}},{tag:"path",attrs:{d:"M440.6 462.6a8.38 8.38 0 00-7.5-4.6h-48.8c-1.3 0-2.6.4-3.9 1a8.4 8.4 0 00-3.4 11.4l87.4 161.1H419c-4.6 0-8.4 3.8-8.4 8.4V665c0 4.6 3.8 8.4 8.4 8.4h63V702h-63c-4.6 0-8.4 3.8-8.4 8.4v25.1c0 4.6 3.8 8.4 8.4 8.4h63v49.9c0 4.6 3.8 8.4 8.4 8.4h43.7c4.6 0 8.4-3.8 8.4-8.4v-49.9h63.3c4.7 0 8.4-3.8 8.2-8.5v-25c0-4.6-3.8-8.4-8.4-8.4h-63.3v-28.6h63.3c4.6 0 8.4-3.8 8.4-8.4v-25.1c0-4.6-3.8-8.4-8.4-8.4h-45.9l87.2-161a8.45 8.45 0 00-7.4-12.4h-47.8c-3.1 0-6 1.8-7.5 4.6l-71.9 141.9-71.7-142z",fill:e}}]}},name:"red-envelope",theme:"twotone"},g9=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:g7}))}),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M584 548a36 36 0 1072 0 36 36 0 10-72 0zm144-108a35.9 35.9 0 00-32.5 20.6c18.8 14.3 34.4 30.7 45.9 48.8A35.98 35.98 0 00728 440zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm245 477.9c4.6 13.5 7 27.6 7 42.1 0 99.4-112.8 180-252 180s-252-80.6-252-180c0-14.5 2.4-28.6 7-42.1A72.01 72.01 0 01296 404c27.1 0 50.6 14.9 62.9 37 36.2-19.8 80.2-32.8 128.1-36.1l58.4-131.1c4.3-9.8 15.2-14.8 25.5-11.8l91.6 26.5a54.03 54.03 0 01101.6 25.6c0 29.8-24.2 54-54 54-23.5 0-43.5-15.1-50.9-36.1L577 308.3l-43 96.5c49.1 3 94.2 16.1 131.2 36.3 12.3-22.1 35.8-37 62.9-37 39.8 0 72 32.2 72 72-.1 29.3-17.8 54.6-43.1 65.8zm-171.3 83c-14.9 11.7-44.3 24.3-73.7 24.3s-58.9-12.6-73.7-24.3c-9.3-7.3-22.7-5.7-30 3.6-7.3 9.3-5.7 22.7 3.6 30 25.7 20.4 65 33.5 100.1 33.5 35.1 0 74.4-13.1 100.2-33.5 9.3-7.3 10.9-20.8 3.6-30a21.46 21.46 0 00-30.1-3.6zM296 440a35.98 35.98 0 00-13.4 69.4c11.5-18.1 27.1-34.5 45.9-48.8A35.9 35.9 0 00296 440zm72 108a36 36 0 1072 0 36 36 0 10-72 0z"}}]},name:"reddit-circle",theme:"filled"},zt=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ze}))}),zc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 568a56 56 0 10112 0 56 56 0 10-112 0zm338.7 119.7c-23.1 18.2-68.9 37.8-114.7 37.8s-91.6-19.6-114.7-37.8c-14.4-11.3-35.3-8.9-46.7 5.5s-8.9 35.3 5.5 46.7C396.3 771.6 457.5 792 512 792s115.7-20.4 155.9-52.1a33.25 33.25 0 10-41.2-52.2zM960 456c0-61.9-50.1-112-112-112-42.1 0-78.7 23.2-97.9 57.6-57.6-31.5-127.7-51.8-204.1-56.5L612.9 195l127.9 36.9c11.5 32.6 42.6 56.1 79.2 56.1 46.4 0 84-37.6 84-84s-37.6-84-84-84c-32 0-59.8 17.9-74 44.2L603.5 123a33.2 33.2 0 00-39.6 18.4l-90.8 203.9c-74.5 5.2-142.9 25.4-199.2 56.2A111.94 111.94 0 00176 344c-61.9 0-112 50.1-112 112 0 45.8 27.5 85.1 66.8 102.5-7.1 21-10.8 43-10.8 65.5 0 154.6 175.5 280 392 280s392-125.4 392-280c0-22.6-3.8-44.5-10.8-65.5C932.5 541.1 960 501.8 960 456zM820 172.5a31.5 31.5 0 110 63 31.5 31.5 0 010-63zM120 456c0-30.9 25.1-56 56-56a56 56 0 0150.6 32.1c-29.3 22.2-53.5 47.8-71.5 75.9a56.23 56.23 0 01-35.1-52zm392 381.5c-179.8 0-325.5-95.6-325.5-213.5S332.2 410.5 512 410.5 837.5 506.1 837.5 624 691.8 837.5 512 837.5zM868.8 508c-17.9-28.1-42.2-53.7-71.5-75.9 9-18.9 28.3-32.1 50.6-32.1 30.9 0 56 25.1 56 56 .1 23.5-14.5 43.7-35.1 52zM624 568a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"reddit",theme:"outlined"},zn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zc}))}),za={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M296 440a35.98 35.98 0 00-13.4 69.4c11.5-18.1 27.1-34.5 45.9-48.8A35.9 35.9 0 00296 440zm289.7 184.9c-14.9 11.7-44.3 24.3-73.7 24.3s-58.9-12.6-73.7-24.3c-9.3-7.3-22.7-5.7-30 3.6-7.3 9.3-5.7 22.7 3.6 30 25.7 20.4 65 33.5 100.1 33.5 35.1 0 74.4-13.1 100.2-33.5 9.3-7.3 10.9-20.8 3.6-30a21.46 21.46 0 00-30.1-3.6zM880 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-32zM757 541.9c4.6 13.5 7 27.6 7 42.1 0 99.4-112.8 180-252 180s-252-80.6-252-180c0-14.5 2.4-28.6 7-42.1A72.01 72.01 0 01296 404c27.1 0 50.6 14.9 62.9 37 36.2-19.8 80.2-32.8 128.1-36.1l58.4-131.1c4.3-9.8 15.2-14.8 25.5-11.8l91.6 26.5a54.03 54.03 0 01101.6 25.6c0 29.8-24.2 54-54 54-23.5 0-43.5-15.1-50.9-36.1L577 308.3l-43 96.5c49.1 3 94.2 16.1 131.2 36.3 12.3-22.1 35.8-37 62.9-37 39.8 0 72 32.2 72 72-.1 29.3-17.8 54.6-43.1 65.8zM584 548a36 36 0 1072 0 36 36 0 10-72 0zm144-108a35.9 35.9 0 00-32.5 20.6c18.8 14.3 34.4 30.7 45.9 48.8A35.98 35.98 0 00728 440zM368 548a36 36 0 1072 0 36 36 0 10-72 0z"}}]},name:"reddit-square",theme:"filled"},zr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:za}))}),zl=c(87740),zo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},zi=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zo}))}),zu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zM508 704c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zM291 256l22.4-76h397.2l22.4 76H291zm137 304a80 80 0 10160 0 80 80 0 10-160 0z"}}]},name:"rest",theme:"filled"},zs=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zu}))}),zf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M508 704c79.5 0 144-64.5 144-144s-64.5-144-144-144-144 64.5-144 144 64.5 144 144 144zm0-224c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}},{tag:"path",attrs:{d:"M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zm-518.6-76h397.2l22.4 76H291l22.4-76zm376.2 664H326.4L282 324h451.9l-44.3 520z"}}]},name:"rest",theme:"outlined"},zh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zf}))}),zd={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M326.4 844h363.2l44.3-520H282l44.4 520zM508 416c79.5 0 144 64.5 144 144s-64.5 144-144 144-144-64.5-144-144 64.5-144 144-144z",fill:t}},{tag:"path",attrs:{d:"M508 704c79.5 0 144-64.5 144-144s-64.5-144-144-144-144 64.5-144 144 64.5 144 144 144zm0-224c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z",fill:e}},{tag:"path",attrs:{d:"M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zm-518.6-76h397.2l22.4 76H291l22.4-76zm376.2 664H326.4L282 324h451.9l-44.3 520z",fill:e}}]}},name:"rest",theme:"twotone"},zv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zd}))}),zm={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M136 552h63.6c4.4 0 8-3.6 8-8V288.7h528.6v72.6c0 1.9.6 3.7 1.8 5.2a8.3 8.3 0 0011.7 1.4L893 255.4c4.3-5 3.6-10.3 0-13.2L749.7 129.8a8.22 8.22 0 00-5.2-1.8c-4.6 0-8.4 3.8-8.4 8.4V209H199.7c-39.5 0-71.7 32.2-71.7 71.8V544c0 4.4 3.6 8 8 8zm752-80h-63.6c-4.4 0-8 3.6-8 8v255.3H287.8v-72.6c0-1.9-.6-3.7-1.8-5.2a8.3 8.3 0 00-11.7-1.4L131 768.6c-4.3 5-3.6 10.3 0 13.2l143.3 112.4c1.5 1.2 3.3 1.8 5.2 1.8 4.6 0 8.4-3.8 8.4-8.4V815h536.6c39.5 0 71.7-32.2 71.7-71.8V480c-.2-4.4-3.8-8-8.2-8z"}}]},name:"retweet",theme:"outlined"},zg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zm}))}),zz={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 64zm154.7 454.5l-246 178c-5.3 3.8-12.7 0-12.7-6.5v-46.9c0-10.2 4.9-19.9 13.2-25.9L566.6 512 421.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.8 0 13z"}}]},name:"right-circle",theme:"filled"},zp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zz}))}),zw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M666.7 505.5l-246-178A8 8 0 00408 334v46.9c0 10.2 4.9 19.9 13.2 25.9L566.6 512 421.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5l246-178c4.4-3.2 4.4-9.8 0-13z"}},{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"}}]},name:"right-circle",theme:"outlined"},zM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zw}))}),zZ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm154.7 378.4l-246 178c-5.3 3.8-12.7 0-12.7-6.5V643c0-10.2 4.9-19.9 13.2-25.9L566.6 512 421.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.7 0 12.9z",fill:t}},{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",fill:e}},{tag:"path",attrs:{d:"M666.7 505.5l-246-178c-5.3-3.8-12.7 0-12.7 6.5v46.9c0 10.3 4.9 19.9 13.2 25.9L566.6 512 421.2 617.1c-8.3 6-13.2 15.7-13.2 25.9v46.9c0 6.5 7.4 10.3 12.7 6.5l246-178c4.4-3.2 4.4-9.7 0-12.9z",fill:e}}]}},name:"right-circle",theme:"twotone"},zH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zZ}))}),zb=c(18073),zV={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-32zM658.7 518.5l-246 178c-5.3 3.8-12.7 0-12.7-6.5v-46.9c0-10.2 4.9-19.9 13.2-25.9L558.6 512 413.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.8 0 13z"}}]},name:"right-square",theme:"filled"},zC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zV}))}),zx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M412.7 696.5l246-178c4.4-3.2 4.4-9.7 0-12.9l-246-178c-5.3-3.8-12.7 0-12.7 6.5V381c0 10.2 4.9 19.9 13.2 25.9L558.6 512 413.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5z"}},{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:"right-square",theme:"outlined"},zE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zx}))}),zL={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm216-196.9c0-10.2 4.9-19.9 13.2-25.9L558.6 512 413.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.7 0 12.9l-246 178c-5.3 3.9-12.7.1-12.7-6.4v-46.9z",fill:t}},{tag:"path",attrs:{d:"M412.7 696.4l246-178c4.4-3.2 4.4-9.7 0-12.9l-246-178c-5.3-3.8-12.7 0-12.7 6.5v46.9c0 10.3 4.9 19.9 13.2 25.9L558.6 512 413.2 617.2c-8.3 6-13.2 15.7-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.4z",fill:e}}]}},name:"right-square",theme:"twotone"},zR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zL}))}),zy=c(97879),zB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM300 328c0-33.1 26.9-60 60-60s60 26.9 60 60-26.9 60-60 60-60-26.9-60-60zm372 248c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-60c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v60zm-8-188c-33.1 0-60-26.9-60-60s26.9-60 60-60 60 26.9 60 60-26.9 60-60 60zm135 476H225c-13.8 0-25 14.3-25 32v56c0 4.4 2.8 8 6.2 8h611.5c3.4 0 6.2-3.6 6.2-8v-56c.1-17.7-11.1-32-24.9-32z"}}]},name:"robot",theme:"filled"},zS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zB}))}),zO=c(50228),zk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8L864 736zM512 352a48.01 48.01 0 010 96 48.01 48.01 0 010-96zm116.1 432.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5s-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5z"}}]},name:"rocket",theme:"filled"},zT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zk}))}),z$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8H864zM762.3 621.4c9.4 14.6 17 30.3 22.5 46.6H700V558.7a211.6 211.6 0 0162.3 62.7zM388 483.1V318.8l124-147 124 147V668H388V483.1zM239.2 668c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668h-84.8zm388.9 116.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5-38.3 0-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM464 400a48 48 0 1096 0 48 48 0 10-96 0z"}}]},name:"rocket",theme:"outlined"},zF=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:z$}))}),zI={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M261.7 621.4c-9.4 14.6-17 30.3-22.5 46.6H324V558.7c-24.8 16.2-46 37.5-62.3 62.7zM700 558.7V668h84.8c-5.5-16.3-13.1-32-22.5-46.6a211.6 211.6 0 00-62.3-62.7zm-64-239.9l-124-147-124 147V668h248V318.8zM512 448a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8L864 736zm-540-68h-84.8c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668zm64-184.9V318.8l124-147 124 147V668H388V483.1zm240.1 301.1c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5s-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM700 668V558.7a211.6 211.6 0 0162.3 62.7c9.4 14.6 17 30.3 22.5 46.6H700z",fill:e}},{tag:"path",attrs:{d:"M464 400a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"rocket",theme:"twotone"},zA=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zI}))}),zD=c(71965),zN=c(43749),zP=c(56424),zq={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M509.81 112.02c-.73.05-1.46.12-2.2.21h-4.32l-3.4 1.7a36.33 36.33 0 00-8.88 4.4l-145.96 73.02-153.7 153.7-72.65 145.24a36.33 36.33 0 00-4.9 9.86l-1.56 3.12v3.98a36.33 36.33 0 000 8.3v298.23l6.88 9.5a198.7 198.7 0 0020.58 24.42c37.86 37.85 87.66 57.16 142.62 62.01a36.34 36.34 0 0011.57 1.77h575.75c3.14.54 6.34.66 9.51.36a36.34 36.34 0 002.56-.35h29.8v-29.95a36.33 36.33 0 000-11.92V293.88a36.33 36.33 0 00-1.78-11.57c-4.84-54.95-24.16-104.75-62.01-142.62h-.07v-.07a203.92 203.92 0 00-24.27-20.43l-9.58-6.96H515.14a36.34 36.34 0 00-5.32-.21M643 184.89h145.96c2.47 2.08 5.25 4.06 7.45 6.25 26.59 26.63 40.97 64.74 42.3 111.18zM510.31 190l65.71 39.38-25.47 156.1-64.36 64.36-100.7 100.69L229.4 576l-39.38-65.7 61.1-122.26 136.94-136.95zm132.76 79.61l123.19 73.94-138.09 17.24zM821.9 409.82c-21.21 68.25-62.66 142.58-122.4 211.88l-65.85-188.4zm-252.54 59.6l53.64 153.56-153.55-53.65 68.12-68.12zm269.5 81.04v237L738.44 687.04c40.1-43.74 73.73-89.83 100.4-136.59m-478.04 77.7l-17.24 138.08-73.94-123.18zm72.52 5.46l188.32 65.85c-69.28 59.71-143.57 101.2-211.8 122.4zM184.9 643l117.43 195.7c-46.5-1.33-84.63-15.74-111.26-42.37-2.16-2.16-4.11-4.93-6.17-7.38zm502.17 95.43l100.4 100.4h-237c46.77-26.67 92.86-60.3 136.6-100.4"}}]},name:"ruby",theme:"outlined"},zW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zq}))}),zj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM694.5 340.7L481.9 633.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.1 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.8-6.6 13-6.6H688c6.5.1 10.3 7.5 6.5 12.8z"}}]},name:"safety-certificate",theme:"filled"},zY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zj}))}),z_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zm-405.8-201c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z"}}]},name:"safety-certificate",theme:"outlined"},zK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:z_}))}),zU={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z",fill:e}},{tag:"path",attrs:{d:"M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM632.8 328H688c6.5 0 10.3 7.4 6.5 12.7L481.9 633.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.2 0 10 2.5 13 6.6l64.7 89.1 150.9-207.8c3-4.1 7.9-6.6 13-6.6z",fill:t}},{tag:"path",attrs:{d:"M404.2 453.3c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z",fill:e}}]}},name:"safety-certificate",theme:"twotone"},zX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zU}))}),zG={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64L128 192v384c0 212.1 171.9 384 384 384s384-171.9 384-384V192L512 64zm312 512c0 172.3-139.7 312-312 312S200 748.3 200 576V246l312-110 312 110v330z"}},{tag:"path",attrs:{d:"M378.4 475.1a35.91 35.91 0 00-50.9 0 35.91 35.91 0 000 50.9l129.4 129.4 2.1 2.1a33.98 33.98 0 0048.1 0L730.6 434a33.98 33.98 0 000-48.1l-2.8-2.8a33.98 33.98 0 00-48.1 0L483 579.7 378.4 475.1z"}}]},name:"safety",theme:"outlined"},zQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:zG}))}),zJ=c(36986),z1=c(60219),z4={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 320c0 17.7-14.3 32-32 32H352c-17.7 0-32-14.3-32-32V184H184v656h656V341.8l-136-136V320zM512 730c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144z",fill:t}},{tag:"path",attrs:{d:"M512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z",fill:e}},{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-.7-.7-1.4-1.3-2.1-2-.1-.1-.3-.2-.4-.3-.7-.7-1.5-1.3-2.2-1.9a64 64 0 00-22-11.7V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840z",fill:e}}]}},name:"save",theme:"twotone"},z2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:z4}))}),z3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M136 384h56c4.4 0 8-3.6 8-8V200h176c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-37.6 0-68 30.4-68 68v180c0 4.4 3.6 8 8 8zm512-184h176v176c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V196c0-37.6-30.4-68-68-68H648c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM376 824H200V648c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v180c0 37.6 30.4 68 68 68h180c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm512-184h-56c-4.4 0-8 3.6-8 8v176H648c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h180c37.6 0 68-30.4 68-68V648c0-4.4-3.6-8-8-8zm16-164H120c-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-8z"}}]},name:"scan",theme:"outlined"},z8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:z3}))}),z6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zM424 688c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-136c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm374.5-91.3l-165 228.7a15.9 15.9 0 01-25.8 0L493.5 531.2c-3.8-5.3 0-12.7 6.5-12.7h54.9c5.1 0 9.9 2.5 12.9 6.6l52.8 73.1 103.7-143.7c3-4.2 7.8-6.6 12.9-6.6H792c6.5.1 10.3 7.5 6.5 12.8z"}}]},name:"schedule",theme:"filled"},z0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:z6}))}),z5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496zM416 496H232c-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-8zm0 136H232c-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-8zm308.2-177.4L620.6 598.3l-52.8-73.1c-3-4.2-7.8-6.6-12.9-6.6H500c-6.5 0-10.3 7.4-6.5 12.7l114.1 158.2a15.9 15.9 0 0025.8 0l165-228.7c3.8-5.3 0-12.7-6.5-12.7H737c-5-.1-9.8 2.4-12.8 6.5z"}}]},name:"schedule",theme:"outlined"},z7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:z5}))}),z9={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M768 352c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H548v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H328v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H136v496h752V296H768v56zM424 688c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-136c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm374.4-91.2l-165 228.7a15.9 15.9 0 01-25.8 0L493.5 531.3c-3.8-5.3 0-12.7 6.5-12.7h54.9c5.1 0 9.9 2.4 12.9 6.6l52.8 73.1 103.6-143.7c3-4.1 7.8-6.6 12.8-6.5h54.9c6.5 0 10.3 7.4 6.5 12.7z",fill:t}},{tag:"path",attrs:{d:"M724.2 454.6L620.6 598.3l-52.8-73.1c-3-4.2-7.8-6.6-12.9-6.6H500c-6.5 0-10.3 7.4-6.5 12.7l114.1 158.2a15.9 15.9 0 0025.8 0l165-228.7c3.8-5.3 0-12.7-6.5-12.7H737c-5-.1-9.8 2.4-12.8 6.5zM416 496H232c-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-8z",fill:e}},{tag:"path",attrs:{d:"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z",fill:e}},{tag:"path",attrs:{d:"M416 632H232c-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-8z",fill:e}}]}},name:"schedule",theme:"twotone"},pe=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:z9}))}),pt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M567.1 512l318.5-319.3c5-5 1.5-13.7-5.6-13.7h-90.5c-2.1 0-4.2.8-5.6 2.3l-273.3 274-90.2-90.5c12.5-22.1 19.7-47.6 19.7-74.8 0-83.9-68.1-152-152-152s-152 68.1-152 152 68.1 152 152 152c27.7 0 53.6-7.4 75.9-20.3l90 90.3-90.1 90.3A151.04 151.04 0 00288 582c-83.9 0-152 68.1-152 152s68.1 152 152 152 152-68.1 152-152c0-27.2-7.2-52.7-19.7-74.8l90.2-90.5 273.3 274c1.5 1.5 3.5 2.3 5.6 2.3H880c7.1 0 10.7-8.6 5.6-13.7L567.1 512zM288 370c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80zm0 444c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"}}]},name:"scissor",theme:"outlined"},pc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pt}))}),pn=c(68795),pa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM626.8 554c-48.5 48.5-123 55.2-178.6 20.1l-77.5 77.5a8.03 8.03 0 01-11.3 0l-34-34a8.03 8.03 0 010-11.3l77.5-77.5c-35.1-55.7-28.4-130.1 20.1-178.6 56.3-56.3 147.5-56.3 203.8 0 56.3 56.3 56.3 147.5 0 203.8zm-158.54-45.27a80.1 80.1 0 10113.27-113.28 80.1 80.1 0 10-113.27 113.28z"}}]},name:"security-scan",theme:"filled"},pr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pa}))}),pl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zM402.9 528.8l-77.5 77.5a8.03 8.03 0 000 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.7 35.1 130.1 28.4 178.6-20.1 56.3-56.3 56.3-147.5 0-203.8-56.3-56.3-147.5-56.3-203.8 0-48.5 48.5-55.2 123-20.1 178.6zm65.4-133.3c31.3-31.3 82-31.3 113.2 0 31.3 31.3 31.3 82 0 113.2-31.3 31.3-82 31.3-113.2 0s-31.3-81.9 0-113.2z"}}]},name:"security-scan",theme:"outlined"},po=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pl}))}),pi={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z",fill:e}},{tag:"path",attrs:{d:"M460.7 451.1a80.1 80.1 0 10160.2 0 80.1 80.1 0 10-160.2 0z",fill:t}},{tag:"path",attrs:{d:"M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zm428.7 122.5c56.3 56.3 56.3 147.5 0 203.8-48.5 48.5-123 55.2-178.6 20.1l-77.5 77.5a8.03 8.03 0 01-11.3 0l-34-34a8.03 8.03 0 010-11.3l77.5-77.5c-35.1-55.7-28.4-130.1 20.1-178.6 56.3-56.3 147.5-56.3 203.8 0z",fill:t}},{tag:"path",attrs:{d:"M418.8 527.8l-77.5 77.5a8.03 8.03 0 000 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.6 35.1 130.1 28.4 178.6-20.1 56.3-56.3 56.3-147.5 0-203.8-56.3-56.3-147.5-56.3-203.8 0-48.5 48.5-55.2 122.9-20.1 178.6zm65.4-133.3a80.1 80.1 0 01113.3 0 80.1 80.1 0 010 113.3c-31.3 31.3-82 31.3-113.3 0s-31.3-82 0-113.3z",fill:e}}]}},name:"security-scan",theme:"twotone"},pu=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pi}))}),ps=c(49591),pf=c(27496),ph={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512.5 390.6c-29.9 0-57.9 11.6-79.1 32.8-21.1 21.2-32.8 49.2-32.8 79.1 0 29.9 11.7 57.9 32.8 79.1 21.2 21.1 49.2 32.8 79.1 32.8 29.9 0 57.9-11.7 79.1-32.8 21.1-21.2 32.8-49.2 32.8-79.1 0-29.9-11.7-57.9-32.8-79.1a110.96 110.96 0 00-79.1-32.8zm412.3 235.5l-65.4-55.9c3.1-19 4.7-38.4 4.7-57.7s-1.6-38.8-4.7-57.7l65.4-55.9a32.03 32.03 0 009.3-35.2l-.9-2.6a442.5 442.5 0 00-79.6-137.7l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.2 28.9c-30-24.6-63.4-44-99.6-57.5l-15.7-84.9a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52-9.4-106.8-9.4-158.8 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.3a353.44 353.44 0 00-98.9 57.3l-81.8-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a445.93 445.93 0 00-79.6 137.7l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.2 56.5c-3.1 18.8-4.6 38-4.6 57 0 19.2 1.5 38.4 4.6 57l-66 56.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.3 44.8 96.8 79.6 137.7l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.8-29.1c29.8 24.5 63 43.9 98.9 57.3l15.8 85.3a32.05 32.05 0 0025.8 25.7l2.7.5a448.27 448.27 0 00158.8 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c4.3-12.4.6-26.3-9.5-35zm-412.3 52.2c-97.1 0-175.8-78.7-175.8-175.8s78.7-175.8 175.8-175.8 175.8 78.7 175.8 175.8-78.7 175.8-175.8 175.8z"}}]},name:"setting",theme:"filled"},pd=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ph}))}),pv=c(42952),pm={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.3 569.7l.2.1c3.1-18.9 4.6-38.2 4.6-57.3 0-17.1-1.3-34.3-3.7-51.1 2.4 16.7 3.6 33.6 3.6 50.5 0 19.4-1.6 38.8-4.7 57.8zM99 398.1c-.5-.4-.9-.8-1.4-1.3.7.7 1.4 1.4 2.2 2.1l65.5 55.9v-.1L99 398.1zm536.6-216h.1l-15.5-83.8c-.2-1-.4-1.9-.7-2.8.1.5.3 1.1.4 1.6l15.7 85zm54 546.5l31.4-25.8 92.8 32.9c17-22.9 31.3-47.5 42.6-73.6l-74.7-63.9 6.6-40.1c2.5-15.1 3.8-30.6 3.8-46.1s-1.3-31-3.8-46.1l-6.5-39.9 74.7-63.9c-11.4-26-25.6-50.7-42.6-73.6l-92.8 32.9-31.4-25.8c-23.9-19.6-50.6-35-79.3-45.8l-38.1-14.3-17.9-97a377.5 377.5 0 00-85 0l-17.9 97.2-37.9 14.3c-28.5 10.8-55 26.2-78.7 45.7l-31.4 25.9-93.4-33.2c-17 22.9-31.3 47.5-42.6 73.6l75.5 64.5-6.5 40c-2.5 14.9-3.7 30.2-3.7 45.5 0 15.2 1.3 30.6 3.7 45.5l6.5 40-75.5 64.5c11.4 26 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.8 14.5 17.9 97.2c28.2 3.2 56.9 3.2 85 0l17.9-97 38.1-14.3c28.8-10.8 55.4-26.2 79.3-45.8zm-177.1-50.3c-30.5 0-59.2-7.8-84.3-21.5C373.3 627 336 568.9 336 502c0-97.2 78.8-176 176-176 66.9 0 125 37.3 154.8 92.2 13.7 25 21.5 53.7 21.5 84.3 0 97.1-78.7 175.8-175.8 175.8zM207.2 812.8c-5.5 1.9-11.2 2.3-16.6 1.2 5.7 1.2 11.7 1 17.5-1l81.4-29c-.1-.1-.3-.2-.4-.3l-81.9 29.1zm717.6-414.7l-65.5 56c0 .2.1.5.1.7l65.4-55.9c7.1-6.1 11.1-14.9 11.2-24-.3 8.8-4.3 17.3-11.2 23.2z",fill:t}},{tag:"path",attrs:{d:"M935.8 646.6c.5 4.7 0 9.5-1.7 14.1l-.9 2.6a446.02 446.02 0 01-79.7 137.9l-1.8 2.1a32 32 0 01-35.1 9.5l-81.3-28.9a350 350 0 01-99.7 57.6l-15.7 85a32.05 32.05 0 01-25.8 25.7l-2.7.5a445.2 445.2 0 01-79.2 7.1h.3c26.7 0 53.4-2.4 79.4-7.1l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c1.6-4.7 2.1-9.7 1.5-14.5z",fill:t}},{tag:"path",attrs:{d:"M688 502c0-30.3-7.7-58.9-21.2-83.8C637 363.3 578.9 326 512 326c-97.2 0-176 78.8-176 176 0 66.9 37.3 125 92.2 154.8 24.9 13.5 53.4 21.2 83.8 21.2 97.2 0 176-78.8 176-176zm-288 0c0-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.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502z",fill:e}},{tag:"path",attrs:{d:"M594.1 952.2a32.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.6c1.7-4.6 2.2-9.4 1.7-14.1-.9-7.9-4.7-15.4-11-20.9l-65.3-55.9-.2-.1c3.1-19 4.7-38.4 4.7-57.8 0-16.9-1.2-33.9-3.6-50.5-.3-2.2-.7-4.4-1-6.6 0-.2-.1-.5-.1-.7l65.5-56c6.9-5.9 10.9-14.4 11.2-23.2.1-4-.5-8.1-1.9-12l-.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.4-44-99.6-57.6h-.1l-15.7-85c-.1-.5-.2-1.1-.4-1.6a32.08 32.08 0 00-25.4-24.1l-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.6a32.09 32.09 0 007.9 33.9c.5.4.9.9 1.4 1.3l66.3 56.6v.1c-3.1 18.8-4.6 37.9-4.6 57 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.1c4.9 5.7 11.4 9.4 18.5 10.7 5.4 1 11.1.7 16.6-1.2l81.9-29.1c.1.1.3.2.4.3 29.7 24.3 62.8 43.6 98.6 57.1l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5c26.1 4.7 52.8 7.1 79.5 7.1h.3c26.6 0 53.3-2.4 79.2-7.1l2.7-.5zm-39.8-66.5a377.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.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 97z",fill:e}}]}},name:"setting",theme:"twotone"},pg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pm}))}),pz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M324 666a48 48 0 1096 0 48 48 0 10-96 0zm616.7-309.6L667.6 83.2C655.2 70.9 638.7 64 621.1 64s-34.1 6.8-46.5 19.2L83.3 574.5a65.85 65.85 0 000 93.1l273.2 273.2c12.3 12.3 28.9 19.2 46.5 19.2s34.1-6.8 46.5-19.2l491.3-491.3c25.6-25.7 25.6-67.5-.1-93.1zM403 880.1L143.9 621l477.2-477.2 259 259.2L403 880.1zM152.8 373.7a7.9 7.9 0 0011.2 0L373.7 164a7.9 7.9 0 000-11.2l-38.4-38.4a7.9 7.9 0 00-11.2 0L114.3 323.9a7.9 7.9 0 000 11.2l38.5 38.6zm718.6 276.6a7.9 7.9 0 00-11.2 0L650.3 860.1a7.9 7.9 0 000 11.2l38.4 38.4a7.9 7.9 0 0011.2 0L909.7 700a7.9 7.9 0 000-11.2l-38.3-38.5z"}}]},name:"shake",theme:"outlined"},pp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pz}))}),pw=c(20046),pM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0014.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h274V736h128v176h274c17.7 0 32-14.3 32-32V535a175 175 0 0015.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zm-72 568H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 3-1.3 6-2.6 9-4v242.2zm0-568.1H214v-88h596v88z"}}]},name:"shop",theme:"filled"},pZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pM}))}),pH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0014.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h676c17.7 0 32-14.3 32-32V535a175 175 0 0015.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zM214 184h596v88H214v-88zm362 656.1H448V736h128v104.1zm234 0H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 3-1.3 6-2.6 9-4v242.2zm30-404.4c0 59.8-49 108.3-109.3 108.3-40.8 0-76.4-22.1-95.2-54.9-2.9-5-8.1-8.1-13.9-8.1h-.6c-5.7 0-11 3.1-13.9 8.1A109.24 109.24 0 01512 544c-40.7 0-76.2-22-95-54.7-3-5.1-8.4-8.3-14.3-8.3s-11.4 3.2-14.3 8.3a109.63 109.63 0 01-95.1 54.7C233 544 184 495.5 184 435.7v-91.2c0-.3.2-.5.5-.5h655c.3 0 .5.2.5.5v91.2z"}}]},name:"shop",theme:"outlined"},pb=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pH}))}),pV={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.5 344h-655c-.3 0-.5.2-.5.5v91.2c0 59.8 49 108.3 109.3 108.3 40.7 0 76.2-22 95.1-54.7 2.9-5.1 8.4-8.3 14.3-8.3s11.3 3.2 14.3 8.3c18.8 32.7 54.3 54.7 95 54.7 40.8 0 76.4-22.1 95.1-54.9 2.9-5 8.2-8.1 13.9-8.1h.6c5.8 0 11 3.1 13.9 8.1 18.8 32.8 54.4 54.9 95.2 54.9C791 544 840 495.5 840 435.7v-91.2c0-.3-.2-.5-.5-.5z",fill:t}},{tag:"path",attrs:{d:"M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0014.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h676c17.7 0 32-14.3 32-32V535a175 175 0 0015.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zM214 184h596v88H214v-88zm362 656.1H448V736h128v104.1zm234.4 0H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c3-1.3 6-2.6 9-4v242.2zM840 435.7c0 59.8-49 108.3-109.3 108.3-40.8 0-76.4-22.1-95.2-54.9-2.9-5-8.1-8.1-13.9-8.1h-.6c-5.7 0-11 3.1-13.9 8.1A109.24 109.24 0 01512 544c-40.7 0-76.2-22-95-54.7-3-5.1-8.4-8.3-14.3-8.3s-11.4 3.2-14.3 8.3a109.63 109.63 0 01-95.1 54.7C233 544 184 495.5 184 435.7v-91.2c0-.3.2-.5.5-.5h655c.3 0 .5.2.5.5v91.2z",fill:e}}]}},name:"shop",theme:"twotone"},pC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pV}))}),px={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M922.9 701.9H327.4l29.9-60.9 496.8-.9c16.8 0 31.2-12 34.2-28.6l68.8-385.1c1.8-10.1-.9-20.5-7.5-28.4a34.99 34.99 0 00-26.6-12.5l-632-2.1-5.4-25.4c-3.4-16.2-18-28-34.6-28H96.5a35.3 35.3 0 100 70.6h125.9L246 312.8l58.1 281.3-74.8 122.1a34.96 34.96 0 00-3 36.8c6 11.9 18.1 19.4 31.5 19.4h62.8a102.43 102.43 0 00-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7h161.1a102.43 102.43 0 00-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7H923c19.4 0 35.3-15.8 35.3-35.3a35.42 35.42 0 00-35.4-35.2zM305.7 253l575.8 1.9-56.4 315.8-452.3.8L305.7 253zm96.9 612.7c-17.4 0-31.6-14.2-31.6-31.6 0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 01-31.6 31.6zm325.1 0c-17.4 0-31.6-14.2-31.6-31.6 0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 01-31.6 31.6z"}}]},name:"shopping-cart",theme:"outlined"},pE=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:px}))}),pL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-208 0H400v-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16z"}}]},name:"shopping",theme:"filled"},pR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pL}))}),py={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-432-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16H400v-16zm392 544H232V384h96v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h224v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h96v456z"}}]},name:"shopping",theme:"outlined"},pB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:py}))}),pS={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 472c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-88H400v88c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-88h-96v456h560V384h-96v88z",fill:t}},{tag:"path",attrs:{d:"M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-432-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16H400v-16zm392 544H232V384h96v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h224v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h96v456z",fill:e}}]}},name:"shopping",theme:"twotone"},pO=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pS}))}),pk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M881.7 187.4l-45.1-45.1a8.03 8.03 0 00-11.3 0L667.8 299.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L576.1 439c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 157.6-157.6c3-3 3-8.1-.1-11.2zM439 576.1l-189.2 23.5c-6.6.8-9.3 8.9-4.7 13.5l54.7 54.7-157.5 157.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l157.6-157.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L447.9 585a7.9 7.9 0 00-8.9-8.9z"}}]},name:"shrink",theme:"outlined"},pT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pk}))}),p$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M584 352H440c-17.7 0-32 14.3-32 32v544c0 17.7 14.3 32 32 32h144c17.7 0 32-14.3 32-32V384c0-17.7-14.3-32-32-32zM892 64H748c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h144c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM276 640H132c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h144c17.7 0 32-14.3 32-32V672c0-17.7-14.3-32-32-32z"}}]},name:"signal",theme:"filled"},pF=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:p$}))}),pI={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M145.71 752c2 0 4-.2 5.98-.5L319.9 722c1.99-.4 3.88-1.3 5.28-2.8l423.91-423.87a9.93 9.93 0 000-14.06L582.88 114.9C581 113 578.5 112 575.82 112s-5.18 1-7.08 2.9L144.82 538.76c-1.5 1.5-2.4 3.29-2.8 5.28l-29.5 168.17a33.59 33.59 0 009.37 29.81c6.58 6.48 14.95 9.97 23.82 9.97m453.12-184.07c27.69-14.81 57.29-20.85 85.54-15.52 32.37 6.1 59.72 26.53 78.96 59.4 29.97 51.22 21.64 102.34-18.48 144.26-17.58 18.36-41.07 35.01-70 50.3l-.3.15.86.26a147.88 147.88 0 0041.54 6.2l1.17.01c61.07 0 100.98-22.1 125.28-67.87a36 36 0 0163.6 33.76C869.7 849.1 804.9 885 718.12 885c-47.69 0-91.94-15.03-128.19-41.36l-1.05-.78-1.36.47c-46.18 16-98.74 29.95-155.37 41.94l-2.24.47a1931.1 1931.1 0 01-139.16 23.96 36 36 0 11-9.5-71.38 1860.1 1860.1 0 00133.84-23.04c42.8-9 83-19.13 119.35-30.34l.24-.08-.44-.69c-16.46-26.45-25.86-55.43-26.14-83.24v-1.3c0-49.9 39.55-104.32 90.73-131.7M671 623.17c-10.74-2.03-24.1.7-38.22 8.26-29.55 15.8-52.7 47.64-52.7 68.2 0 18.2 8.9 40.14 24.71 59.73l.24.3 1.22-.52c39.17-16.58 68.49-34.27 85.93-52.18l.64-.67c18.74-19.57 21.39-35.84 8.36-58.1-9.06-15.47-19.03-22.92-30.18-25.02"}}]},name:"signature",theme:"filled"},pA=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pI}))}),pD={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M145.71 752c2 0 4-.2 5.98-.5L319.9 722c1.99-.4 3.88-1.3 5.28-2.8l423.91-423.87a9.93 9.93 0 000-14.06L582.88 114.9C581 113 578.5 112 575.82 112s-5.18 1-7.08 2.9L144.82 538.76c-1.5 1.5-2.4 3.29-2.8 5.28l-29.5 168.17a33.59 33.59 0 009.37 29.81c6.58 6.48 14.95 9.97 23.82 9.97m51.75-85.43l15.65-88.92 362.7-362.67 73.28 73.27-362.7 362.67zm401.37-98.64c27.69-14.81 57.29-20.85 85.54-15.52 32.37 6.1 59.72 26.53 78.96 59.4 29.97 51.22 21.64 102.34-18.48 144.26-17.58 18.36-41.07 35.01-70 50.3l-.3.15.86.26a147.88 147.88 0 0041.54 6.2l1.17.01c61.07 0 100.98-22.1 125.28-67.87a36 36 0 0163.6 33.76C869.7 849.1 804.9 885 718.12 885c-47.69 0-91.94-15.03-128.19-41.36l-1.05-.78-1.36.47c-46.18 16-98.74 29.95-155.37 41.94l-2.24.47a1931.1 1931.1 0 01-139.16 23.96 36 36 0 11-9.5-71.38 1860.1 1860.1 0 00133.84-23.04c42.8-9 83-19.13 119.35-30.34l.24-.08-.44-.69c-16.46-26.45-25.86-55.43-26.14-83.24v-1.3c0-49.9 39.55-104.32 90.73-131.7M671 623.17c-10.74-2.03-24.1.7-38.22 8.26-29.55 15.8-52.7 47.64-52.7 68.2 0 18.2 8.9 40.14 24.71 59.73l.24.3 1.22-.52c39.17-16.58 68.49-34.27 85.93-52.18l.64-.67c18.74-19.57 21.39-35.84 8.36-58.1-9.06-15.47-19.03-22.92-30.18-25.02"}}]},name:"signature",theme:"outlined"},pN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pD}))}),pP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 432c-120.3 0-219.9 88.5-237.3 204H320c-15.5 0-28-12.5-28-28V244h291c14.2 35.2 48.7 60 89 60 53 0 96-43 96-96s-43-96-96-96c-40.3 0-74.8 24.8-89 60H112v72h108v364c0 55.2 44.8 100 100 100h114.7c17.4 115.5 117 204 237.3 204 132.5 0 240-107.5 240-240S804.5 432 672 432zm128 266c0 4.4-3.6 8-8 8h-86v86c0 4.4-3.6 8-8 8h-52c-4.4 0-8-3.6-8-8v-86h-86c-4.4 0-8-3.6-8-8v-52c0-4.4 3.6-8 8-8h86v-86c0-4.4 3.6-8 8-8h52c4.4 0 8 3.6 8 8v86h86c4.4 0 8 3.6 8 8v52z"}}]},name:"sisternode",theme:"outlined"},pq=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pP}))}),pW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M582.3 625.6l147.9-166.3h-63.4zm90-202.3h62.5l-92.1-115.1zm-274.7 36L512 684.5l114.4-225.2zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm286.7 380.2L515.8 762.3c-1 1.1-2.4 1.7-3.8 1.7s-2.8-.6-3.8-1.7L225.3 444.2a5.14 5.14 0 01-.2-6.6L365.6 262c1-1.2 2.4-1.9 4-1.9h284.6c1.6 0 3 .7 4 1.9l140.5 175.6a4.9 4.9 0 010 6.6zm-190.5-20.9L512 326.1l-96.2 97.2zM420.3 301.1l-23.1 89.8 88.8-89.8zm183.4 0H538l88.8 89.8zm-222.4 7.1l-92.1 115.1h62.5zm-87.5 151.1l147.9 166.3-84.5-166.3z"}}]},name:"sketch-circle",theme:"filled"},pj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pW}))}),pY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M925.6 405.1l-203-253.7a6.5 6.5 0 00-5-2.4H306.4c-1.9 0-3.8.9-5 2.4l-203 253.7a6.5 6.5 0 00.2 8.3l408.6 459.5c1.2 1.4 3 2.1 4.8 2.1 1.8 0 3.5-.8 4.8-2.1l408.6-459.5a6.5 6.5 0 00.2-8.3zM645.2 206.4l34.4 133.9-132.5-133.9h98.1zm8.2 178.5H370.6L512 242l141.4 142.9zM378.8 206.4h98.1L344.3 340.3l34.5-133.9zm-53.4 7l-44.1 171.5h-93.1l137.2-171.5zM194.6 434.9H289l125.8 247.7-220.2-247.7zM512 763.4L345.1 434.9h333.7L512 763.4zm97.1-80.8L735 434.9h94.4L609.1 682.6zm133.6-297.7l-44.1-171.5 137.2 171.5h-93.1z"}}]},name:"sketch",theme:"outlined"},p_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pY}))}),pK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608.2 423.3L512 326.1l-96.2 97.2zm-25.9 202.3l147.9-166.3h-63.4zm90-202.3h62.5l-92.1-115.1zM880 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-81.3 332.2L515.8 762.3c-1 1.1-2.4 1.7-3.8 1.7s-2.8-.6-3.8-1.7L225.3 444.2a5.14 5.14 0 01-.2-6.6L365.6 262c1-1.2 2.4-1.9 4-1.9h284.6c1.6 0 3 .7 4 1.9l140.5 175.6a4.9 4.9 0 010 6.6zm-401.1 15.1L512 684.5l114.4-225.2zm-16.3-151.1l-92.1 115.1h62.5zm-87.5 151.1l147.9 166.3-84.5-166.3zm126.5-158.2l-23.1 89.8 88.8-89.8zm183.4 0H538l88.8 89.8z"}}]},name:"sketch-square",theme:"filled"},pU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pK}))}),pX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44z"}}]},name:"skin",theme:"filled"},pG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pX}))}),pQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44zm-28 268H723v432H301V394H182V198h153.3c28.2 71.2 97.5 120 176.7 120s148.5-48.8 176.7-120H842v196z"}}]},name:"skin",theme:"outlined"},pJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:pQ}))}),p1={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 318c-79.2 0-148.5-48.8-176.7-120H182v196h119v432h422V394h119V198H688.7c-28.2 71.2-97.5 120-176.7 120z",fill:t}},{tag:"path",attrs:{d:"M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44zm-28 268H723v432H301V394H182V198h153.3c28.2 71.2 97.5 120 176.7 120s148.5-48.8 176.7-120H842v196z",fill:e}}]}},name:"skin",theme:"twotone"},p4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:p1}))}),p2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M883.7 578.6c4.1-22.5 6.3-45.5 6.3-68.5 0-51-10-100.5-29.7-147-19-45-46.3-85.4-81-120.1a375.79 375.79 0 00-120.1-80.9c-46.6-19.7-96-29.7-147-29.7-24 0-48.1 2.3-71.5 6.8A225.1 225.1 0 00335.6 113c-59.7 0-115.9 23.3-158.1 65.5A222.25 222.25 0 00112 336.6c0 38 9.8 75.4 28.1 108.4-3.7 21.4-5.7 43.3-5.7 65.1 0 51 10 100.5 29.7 147 19 45 46.2 85.4 80.9 120.1 34.7 34.7 75.1 61.9 120.1 80.9 46.6 19.7 96 29.7 147 29.7 22.2 0 44.4-2 66.2-5.9 33.5 18.9 71.3 29 110 29 59.7 0 115.9-23.2 158.1-65.5 42.3-42.2 65.5-98.4 65.5-158.1.1-38-9.7-75.5-28.2-108.7zm-370 162.9c-134.2 0-194.2-66-194.2-115.4 0-25.4 18.7-43.1 44.5-43.1 57.4 0 42.6 82.5 149.7 82.5 54.9 0 85.2-29.8 85.2-60.3 0-18.3-9-38.7-45.2-47.6l-119.4-29.8c-96.1-24.1-113.6-76.1-113.6-124.9 0-101.4 95.5-139.5 185.2-139.5 82.6 0 180 45.7 180 106.5 0 26.1-22.6 41.2-48.4 41.2-49 0-40-67.8-138.7-67.8-49 0-76.1 22.2-76.1 53.9s38.7 41.8 72.3 49.5l88.4 19.6c96.8 21.6 121.3 78.1 121.3 131.3 0 82.3-63.3 143.9-191 143.9z"}}]},name:"skype",theme:"filled"},p3=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:p2}))}),p8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M883.7 578.6c4.1-22.5 6.3-45.5 6.3-68.5 0-51-10-100.5-29.7-147-19-45-46.3-85.4-81-120.1a375.79 375.79 0 00-120.1-80.9c-46.6-19.7-96-29.7-147-29.7-24 0-48.1 2.3-71.5 6.8A225.1 225.1 0 00335.6 113c-59.7 0-115.9 23.3-158.1 65.5A222.25 222.25 0 00112 336.6c0 38 9.8 75.4 28.1 108.4-3.7 21.4-5.7 43.3-5.7 65.1 0 51 10 100.5 29.7 147 19 45 46.2 85.4 80.9 120.1 34.7 34.7 75.1 61.9 120.1 80.9 46.6 19.7 96 29.7 147 29.7 22.2 0 44.4-2 66.2-5.9 33.5 18.9 71.3 29 110 29 59.7 0 115.9-23.2 158.1-65.5 42.3-42.2 65.5-98.4 65.5-158.1.1-38-9.7-75.5-28.2-108.7zm-88.1 216C766.9 823.4 729 839 688.4 839c-26.1 0-51.8-6.8-74.6-19.7l-22.5-12.7-25.5 4.5c-17.8 3.2-35.8 4.8-53.6 4.8-41.4 0-81.3-8.1-119.1-24.1-36.3-15.3-69-37.3-97.2-65.5a304.29 304.29 0 01-65.5-97.1c-16-37.7-24-77.6-24-119 0-17.4 1.6-35.2 4.6-52.8l4.4-25.1L203 410a151.02 151.02 0 01-19.1-73.4c0-40.6 15.7-78.5 44.4-107.2C257.1 200.7 295 185 335.6 185a153 153 0 0171.4 17.9l22.4 11.8 24.8-4.8c18.9-3.6 38.4-5.5 58-5.5 41.4 0 81.3 8.1 119 24 36.5 15.4 69.1 37.4 97.2 65.5 28.2 28.1 50.2 60.8 65.6 97.2 16 37.7 24 77.6 24 119 0 18.4-1.7 37-5.1 55.5l-4.7 25.5 12.6 22.6c12.6 22.5 19.2 48 19.2 73.7 0 40.7-15.7 78.5-44.4 107.2zM583.4 466.2L495 446.6c-33.6-7.7-72.3-17.8-72.3-49.5s27.1-53.9 76.1-53.9c98.7 0 89.7 67.8 138.7 67.8 25.8 0 48.4-15.2 48.4-41.2 0-60.8-97.4-106.5-180-106.5-89.7 0-185.2 38.1-185.2 139.5 0 48.8 17.4 100.8 113.6 124.9l119.4 29.8c36.1 8.9 45.2 29.2 45.2 47.6 0 30.5-30.3 60.3-85.2 60.3-107.2 0-92.3-82.5-149.7-82.5-25.8 0-44.5 17.8-44.5 43.1 0 49.4 60 115.4 194.2 115.4 127.7 0 191-61.5 191-144 0-53.1-24.5-109.6-121.3-131.2z"}}]},name:"skype",theme:"outlined"},p6=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:p8}))}),p0={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 64zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0150.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm83.7-50.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM579.3 765c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134c-13.3 0-26.1-5.3-35.6-14.8S529 593.6 529 580.2c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z"}}]},name:"slack-circle",theme:"filled"},p5=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:p0}))}),p7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M409.4 128c-42.4 0-76.7 34.4-76.7 76.8 0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0054.3 22.5h76.7v-76.8c0-42.3-34.3-76.7-76.7-76.8zm0 204.8H204.7c-42.4 0-76.7 34.4-76.7 76.8s34.4 76.8 76.7 76.8h204.6c42.4 0 76.7-34.4 76.7-76.8.1-42.4-34.3-76.8-76.6-76.8zM614 486.4c42.4 0 76.8-34.4 76.7-76.8V204.8c0-42.4-34.3-76.8-76.7-76.8-42.4 0-76.7 34.4-76.7 76.8v204.8c0 42.5 34.3 76.8 76.7 76.8zm281.4-76.8c0-42.4-34.4-76.8-76.7-76.8S742 367.2 742 409.6v76.8h76.7c42.3 0 76.7-34.4 76.7-76.8zm-76.8 128H614c-42.4 0-76.7 34.4-76.7 76.8 0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0054.3 22.5h204.6c42.4 0 76.7-34.4 76.7-76.8.1-42.4-34.3-76.7-76.7-76.8zM614 742.4h-76.7v76.8c0 42.4 34.4 76.8 76.7 76.8 42.4 0 76.8-34.4 76.7-76.8.1-42.4-34.3-76.7-76.7-76.8zM409.4 537.6c-42.4 0-76.7 34.4-76.7 76.8v204.8c0 42.4 34.4 76.8 76.7 76.8 42.4 0 76.8-34.4 76.7-76.8V614.4c0-20.3-8.1-39.9-22.4-54.3a76.92 76.92 0 00-54.3-22.5zM128 614.4c0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0054.3 22.5c42.4 0 76.8-34.4 76.7-76.8v-76.8h-76.7c-42.3 0-76.7 34.4-76.7 76.8z"}}]},name:"slack",theme:"outlined"},p9=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:p7}))}),we={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-32zM529 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0150.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm134 403.2c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z"}}]},name:"slack-square",theme:"filled"},wt=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:we}))}),wc={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-32zM529 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0150.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm134 403.2c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z"}}]},name:"slack-square",theme:"outlined"},wn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wc}))}),wa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 296h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-584-72h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm292 180h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8z"}}]},name:"sliders",theme:"filled"},wr=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wa}))}),wl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440zm644-436h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74z"}}]},name:"sliders",theme:"outlined"},wo=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wl}))}),wi={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M180 292h80v440h-80zm369 180h-74a3 3 0 00-3 3v74a3 3 0 003 3h74a3 3 0 003-3v-74a3 3 0 00-3-3zm215-108h80v296h-80z",fill:t}},{tag:"path",attrs:{d:"M904 296h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74zM320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440z",fill:e}}]}},name:"sliders",theme:"twotone"},wu=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wi}))}),ws={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M112 476h72v72h-72zm182 0h72v72h-72zm364 0h72v72h-72zm182 0h72v72h-72zm-364 0h72v72h-72z"}}]},name:"small-dash",theme:"outlined"},wf=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ws}))}),wh={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 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm224 272c-85.5 0-155.6-67.3-160-151.6a8 8 0 018-8.4h48.1c4.2 0 7.8 3.2 8.1 7.4C420 589.9 461.5 629 512 629s92.1-39.1 95.8-88.6c.3-4.2 3.9-7.4 8.1-7.4H664a8 8 0 018 8.4C667.6 625.7 597.5 693 512 693zm176-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"smile",theme:"filled"},wd=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wh}))}),wv=c(93045),wm={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm224 272c-85.5 0-155.6-67.3-160-151.6a8 8 0 018-8.4h48.1c4.2 0 7.8 3.2 8.1 7.4C420 589.9 461.5 629 512 629s92.1-39.1 95.8-88.6c.3-4.2 3.9-7.4 8.1-7.4H664a8 8 0 018 8.4C667.6 625.7 597.5 693 512 693zm176-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm376 112h-48.1c-4.2 0-7.8 3.2-8.1 7.4-3.7 49.5-45.3 88.6-95.8 88.6s-92-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4zm-24-112a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"smile",theme:"twotone"},wg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wm}))}),wz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 486H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z"}}]},name:"snippets",theme:"filled"},wp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wz}))}),ww={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 888H232V336h218v174c0 22.1 17.9 40 40 40h174v338zm0-402H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z"}}]},name:"snippets",theme:"outlined"},wM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ww}))}),wZ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M450 510V336H232v552h432V550H490c-22.1 0-40-17.9-40-40z",fill:t}},{tag:"path",attrs:{d:"M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 888H232V336h218v174c0 22.1 17.9 40 40 40h174v338zm0-402H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z",fill:e}}]}},name:"snippets",theme:"twotone"},wH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wZ}))}),wb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-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-8v-48zm-8 136H296c-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-8zM480 544H296c-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-8zm-48 308H208V148h560v344c0 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 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},wV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wb}))}),wC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.6 433.8L749 150.5a9.24 9.24 0 00-8.9-6.5h-77.4c-4.1 0-7.6 2.6-8.9 6.5l-91.3 283.3c-.3.9-.5 1.9-.5 2.9 0 5.1 4.2 9.3 9.3 9.3h56.4c4.2 0 7.8-2.8 9-6.8l17.5-61.6h89l17.3 61.5c1.1 4 4.8 6.8 9 6.8h61.2c1 0 1.9-.1 2.8-.4 2.4-.8 4.3-2.4 5.5-4.6 1.1-2.2 1.3-4.7.6-7.1zM663.3 325.5l32.8-116.9h6.3l32.1 116.9h-71.2zm143.5 492.9H677.2v-.4l132.6-188.9c1.1-1.6 1.7-3.4 1.7-5.4v-36.4c0-5.1-4.2-9.3-9.3-9.3h-204c-5.1 0-9.3 4.2-9.3 9.3v43c0 5.1 4.2 9.3 9.3 9.3h122.6v.4L587.7 828.9a9.35 9.35 0 00-1.7 5.4v36.4c0 5.1 4.2 9.3 9.3 9.3h211.4c5.1 0 9.3-4.2 9.3-9.3v-43a9.2 9.2 0 00-9.2-9.3zM416 702h-76V172c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v530h-76c-6.7 0-10.5 7.8-6.3 13l112 141.9a8 8 0 0012.6 0l112-141.9c4.1-5.2.4-13-6.3-13z"}}]},name:"sort-ascending",theme:"outlined"},wx=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wC}))}),wE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.6 433.8L749 150.5a9.24 9.24 0 00-8.9-6.5h-77.4c-4.1 0-7.6 2.6-8.9 6.5l-91.3 283.3c-.3.9-.5 1.9-.5 2.9 0 5.1 4.2 9.3 9.3 9.3h56.4c4.2 0 7.8-2.8 9-6.8l17.5-61.6h89l17.3 61.5c1.1 4 4.8 6.8 9 6.8h61.2c1 0 1.9-.1 2.8-.4 2.4-.8 4.3-2.4 5.5-4.6 1.1-2.2 1.3-4.7.6-7.1zM663.3 325.5l32.8-116.9h6.3l32.1 116.9h-71.2zm143.5 492.9H677.2v-.4l132.6-188.9c1.1-1.6 1.7-3.4 1.7-5.4v-36.4c0-5.1-4.2-9.3-9.3-9.3h-204c-5.1 0-9.3 4.2-9.3 9.3v43c0 5.1 4.2 9.3 9.3 9.3h122.6v.4L587.7 828.9a9.35 9.35 0 00-1.7 5.4v36.4c0 5.1 4.2 9.3 9.3 9.3h211.4c5.1 0 9.3-4.2 9.3-9.3v-43a9.2 9.2 0 00-9.2-9.3zM310.3 167.1a8 8 0 00-12.6 0L185.7 309c-4.2 5.3-.4 13 6.3 13h76v530c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V322h76c6.7 0 10.5-7.8 6.3-13l-112-141.9z"}}]},name:"sort-descending",theme:"outlined"},wL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wE}))}),wR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M892.1 737.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344zm174 132H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zM625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1z"}}]},name:"sound",theme:"filled"},wy=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wR}))}),wB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z"}}]},name:"sound",theme:"outlined"},wS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wB}))}),wO={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M275.4 424H146v176h129.4l18 11.7L586 803V221L293.3 412.3z",fill:t}},{tag:"path",attrs:{d:"M892.1 737.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM934 476H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344zM625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582z",fill:e}}]}},name:"sound",theme:"twotone"},wk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wO}))}),wT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M938.2 508.4L787.3 389c-3-2.4-7.3-.2-7.3 3.6V478H636V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H596c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H636V546h144v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4a4.5 4.5 0 000-7.2zM428 116H144c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H244v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4a4.52 4.52 0 000 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h144v294H184V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z"}}]},name:"split-cells",theme:"outlined"},w$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wT}))}),wF={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M721.42 695.17c0-12.45-5.84-22.36-17.5-29.75-75.06-44.73-161.98-67.09-260.75-67.09-51.73 0-107.53 6.61-167.42 19.84-16.33 3.5-24.5 13.6-24.5 30.33 0 7.78 2.63 14.49 7.88 20.13 5.25 5.63 12.15 8.45 20.7 8.45 1.95 0 9.14-1.55 21.59-4.66 51.33-10.5 98.58-15.75 141.75-15.75 87.89 0 165.08 20.02 231.58 60.08 7.39 4.28 13.8 6.42 19.25 6.42 7.39 0 13.8-2.63 19.25-7.88 5.44-5.25 8.17-11.96 8.17-20.12m56-125.42c0-15.56-6.8-27.42-20.42-35.58-92.17-54.84-198.72-82.25-319.67-82.25-59.5 0-118.41 8.16-176.75 24.5-18.66 5.05-28 17.5-28 37.33 0 9.72 3.4 17.99 10.21 24.8 6.8 6.8 15.07 10.2 24.8 10.2 2.72 0 9.91-1.56 21.58-4.67a558.27 558.27 0 01146.41-19.25c108.5 0 203.4 24.11 284.67 72.34 9.33 5.05 16.72 7.58 22.17 7.58 9.72 0 17.98-3.4 24.79-10.2 6.8-6.81 10.2-15.08 10.2-24.8m63-144.67c0-18.27-7.77-31.89-23.33-40.83-49-28.39-105.97-49.88-170.91-64.46-64.95-14.58-131.64-21.87-200.09-21.87-79.33 0-150.1 9.14-212.33 27.41a46.3 46.3 0 00-22.46 14.88c-6.03 7.2-9.04 16.62-9.04 28.29 0 12.06 3.99 22.17 11.96 30.33 7.97 8.17 17.98 12.25 30.04 12.25 4.28 0 12.06-1.55 23.33-4.66 51.73-14.4 111.42-21.59 179.09-21.59 61.83 0 122.01 6.61 180.54 19.84 58.53 13.22 107.82 31.7 147.87 55.41 8.17 4.67 15.95 7 23.34 7 11.27 0 21.1-3.98 29.46-11.96 8.36-7.97 12.54-17.98 12.54-30.04M960 512c0 81.28-20.03 156.24-60.08 224.88-40.06 68.63-94.4 122.98-163.04 163.04C668.24 939.97 593.27 960 512 960s-156.24-20.03-224.88-60.08c-68.63-40.06-122.98-94.4-163.04-163.04C84.03 668.24 64 593.27 64 512s20.03-156.24 60.08-224.88c40.06-68.63 94.4-122.98 163.05-163.04C355.75 84.03 430.73 64 512 64c81.28 0 156.24 20.03 224.88 60.08 68.63 40.06 122.98 94.4 163.04 163.05C939.97 355.75 960 430.73 960 512"}}]},name:"spotify",theme:"filled"},wI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wF}))}),wA={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.52 64 64 264.52 64 512s200.52 448 448 448 448-200.52 448-448S759.48 64 512 64m0 74.66a371.86 371.86 0 01264.43 108.91A371.86 371.86 0 01885.33 512a371.86 371.86 0 01-108.9 264.43A371.86 371.86 0 01512 885.33a371.86 371.86 0 01-264.43-108.9A371.86 371.86 0 01138.67 512a371.86 371.86 0 01108.9-264.43A371.86 371.86 0 01512 138.67M452.49 316c-72.61 0-135.9 6.72-196 25.68-15.9 3.18-29.16 15.16-29.16 37.34 0 22.14 16.35 41.7 38.5 38.45 9.48 0 15.9-3.47 22.17-3.47 50.59-12.7 107.63-18.67 164.49-18.67 110.55 0 224 24.64 299.82 68.85 9.49 3.2 12.7 6.98 22.18 6.98 22.18 0 37.63-16.32 40.84-38.5 0-18.96-9.48-31.06-22.17-37.33C698.36 341.65 572.52 316 452.49 316M442 454.84c-66.34 0-113.6 9.49-161.02 22.18-15.72 6.23-24.49 16.05-24.49 34.98 0 15.76 12.54 31.51 31.51 31.51 6.42 0 9.18-.3 18.67-3.51 34.72-9.48 82.4-15.16 133.02-15.16 104.23 0 194.95 25.39 261.33 66.5 6.23 3.2 12.7 5.82 22.14 5.82 18.96 0 31.5-16.06 31.5-34.98 0-12.7-5.97-25.24-18.66-31.51-82.13-50.59-186.52-75.83-294-75.83m10.49 136.5c-53.65 0-104.53 5.97-155.16 18.66-12.69 3.21-22.17 12.24-22.17 28 0 12.7 9.93 25.68 25.68 25.68 3.21 0 12.4-3.5 18.67-3.5a581.73 581.73 0 01129.5-15.2c78.9 0 151.06 18.97 211.17 53.69 6.42 3.2 13.55 5.82 19.82 5.82 12.7 0 24.79-9.48 28-22.14 0-15.9-6.87-21.76-16.35-28-69.55-41.14-150.8-63.02-239.16-63.02"}}]},name:"spotify",theme:"outlined"},wD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wA}))}),wN=c(90598),wP=c(75750),wq={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512.5 190.4l-94.4 191.3-211.2 30.7 152.8 149-36.1 210.3 188.9-99.3 188.9 99.2-36.1-210.3 152.8-148.9-211.2-30.7z",fill:t}},{tag:"path",attrs:{d:"M908.6 352.8l-253.9-36.9L541.2 85.8c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L370.3 315.9l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1L239 839.4a31.95 31.95 0 0046.4 33.7l227.1-119.4 227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM665.3 561.3l36.1 210.3-188.9-99.2-188.9 99.3 36.1-210.3-152.8-149 211.2-30.7 94.4-191.3 94.4 191.3 211.2 30.7-152.8 148.9z",fill:e}}]}},name:"star",theme:"twotone"},wW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wq}))}),wj={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8"}}]},name:"step-backward",theme:"filled"},wY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wj}))}),w_={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8"}}]},name:"step-backward",theme:"outlined"},wK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:w_}))}),wU={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8"}}]},name:"step-forward",theme:"filled"},wX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wU}))}),wG={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8"}}]},name:"step-forward",theme:"outlined"},wQ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wG}))}),wJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 747H120c-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-8zM165.7 621.8l39.7 39.5c3.1 3.1 8.2 3.1 11.3 0l234.7-233.9 97.6 97.3a32.11 32.11 0 0045.2 0l264.2-263.2c3.1-3.1 3.1-8.2 0-11.3l-39.7-39.6a8.03 8.03 0 00-11.3 0l-235.7 235-97.7-97.3a32.11 32.11 0 00-45.2 0L165.7 610.5a7.94 7.94 0 000 11.3z"}}]},name:"stock",theme:"outlined"},w1=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:wJ}))}),w4={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 64zm234.8 736.5L223.5 277.2c16-19.7 34-37.7 53.7-53.7l523.3 523.3c-16 19.6-34 37.7-53.7 53.7z"}}]},name:"stop",theme:"filled"},w2=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:w4}))}),w3={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-372 0-89 31.3-170.8 83.5-234.8l523.3 523.3C682.8 852.7 601 884 512 884zm288.5-137.2L277.2 223.5C341.2 171.3 423 140 512 140c205.4 0 372 166.6 372 372 0 89-31.3 170.8-83.5 234.8z"}}]},name:"stop",theme:"outlined"},w8=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:w3}))}),w6={icon:function(e,t){return{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 64zm288.5 682.8L277.7 224C258 240 240 258 224 277.7l522.8 522.8C682.8 852.7 601 884 512 884c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372c0 89-31.3 170.8-83.5 234.8z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372c89 0 170.8-31.3 234.8-83.5L224 277.7c16-19.7 34-37.7 53.7-53.7l522.8 522.8C852.7 682.8 884 601 884 512c0-205.4-166.6-372-372-372z",fill:t}}]}},name:"stop",theme:"twotone"},w0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:w6}))}),w5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 474H569.9c-10-2-20.5-4-31.6-6-15.9-2.9-22.2-4.1-30.8-5.8-51.3-10-82.2-20-106.8-34.2-35.1-20.5-52.2-48.3-52.2-85.1 0-37 15.2-67.7 44-89 28.4-21 68.8-32.1 116.8-32.1 54.8 0 97.1 14.4 125.8 42.8 14.6 14.4 25.3 32.1 31.8 52.6 1.3 4.1 2.8 10 4.3 17.8.9 4.8 5.2 8.2 9.9 8.2h72.8c5.6 0 10.1-4.6 10.1-10.1v-1c-.7-6.8-1.3-12.1-2-16-7.3-43.5-28-81.7-59.7-110.3-44.4-40.5-109.7-61.8-188.7-61.8-72.3 0-137.4 18.1-183.3 50.9-25.6 18.4-45.4 41.2-58.6 67.7-13.5 27.1-20.3 58.4-20.3 92.9 0 29.5 5.7 54.5 17.3 76.5 8.3 15.7 19.6 29.5 34.1 42H72c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h433.2c2.1.4 3.9.8 5.9 1.2 30.9 6.2 49.5 10.4 66.6 15.2 23 6.5 40.6 13.3 55.2 21.5 35.8 20.2 53.3 49.2 53.3 89 0 35.3-15.5 66.8-43.6 88.8-30.5 23.9-75.6 36.4-130.5 36.4-43.7 0-80.7-8.5-110.2-25-29.1-16.3-49.1-39.8-59.7-69.5-.8-2.2-1.7-5.2-2.7-9-1.2-4.4-5.3-7.5-9.7-7.5h-79.7c-5.6 0-10.1 4.6-10.1 10.1v1c.2 2.3.4 4.2.6 5.7 6.5 48.8 30.3 88.8 70.7 118.8 47.1 34.8 113.4 53.2 191.8 53.2 84.2 0 154.8-19.8 204.2-57.3 25-18.9 44.2-42.2 57.1-69 13-27.1 19.7-57.9 19.7-91.5 0-31.8-5.8-58.4-17.8-81.4-5.8-11.2-13.1-21.5-21.8-30.8H952c4.4 0 8-3.6 8-8v-60a8 8 0 00-8-7.9z"}}]},name:"strikethrough",theme:"outlined"},w7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:w5}))}),w9={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M688 240c-138 0-252 102.8-269.6 236H249a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h169.3C436 681.2 550 784 688 784c150.2 0 272-121.8 272-272S838.2 240 688 240zm128 298c0 4.4-3.6 8-8 8h-86v86c0 4.4-3.6 8-8 8h-52c-4.4 0-8-3.6-8-8v-86h-86c-4.4 0-8-3.6-8-8v-52c0-4.4 3.6-8 8-8h86v-86c0-4.4 3.6-8 8-8h52c4.4 0 8 3.6 8 8v86h86c4.4 0 8 3.6 8 8v52z"}}]},name:"subnode",theme:"outlined"},Me=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:w9}))}),Mt={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M548 818v126a16 16 0 01-16 16h-40a16 16 0 01-16-16V818c15.85 1.64 27.84 2.46 36 2.46 8.15 0 20.16-.82 36-2.46m205.25-115.66l89.1 89.1a16 16 0 010 22.62l-28.29 28.29a16 16 0 01-22.62 0l-89.1-89.1c12.37-10.04 21.43-17.95 27.2-23.71 5.76-5.77 13.67-14.84 23.71-27.2m-482.5 0c10.04 12.36 17.95 21.43 23.71 27.2 5.77 5.76 14.84 13.67 27.2 23.71l-89.1 89.1a16 16 0 01-22.62 0l-28.29-28.29a16 16 0 010-22.63zM512 278c129.24 0 234 104.77 234 234S641.24 746 512 746 278 641.24 278 512s104.77-234 234-234M206 476c-1.64 15.85-2.46 27.84-2.46 36 0 8.15.82 20.16 2.46 36H80a16 16 0 01-16-16v-40a16 16 0 0116-16zm738 0a16 16 0 0116 16v40a16 16 0 01-16 16H818c1.64-15.85 2.46-27.84 2.46-36 0-8.15-.82-20.16-2.46-36zM814.06 180.65l28.29 28.29a16 16 0 010 22.63l-89.1 89.09c-10.04-12.37-17.95-21.43-23.71-27.2-5.77-5.76-14.84-13.67-27.2-23.71l89.1-89.1a16 16 0 0122.62 0m-581.5 0l89.1 89.1c-12.37 10.04-21.43 17.95-27.2 23.71-5.76 5.77-13.67 14.84-23.71 27.2l-89.1-89.1a16 16 0 010-22.62l28.29-28.29a16 16 0 0122.62 0M532 64a16 16 0 0116 16v126c-15.85-1.64-27.84-2.46-36-2.46-8.15 0-20.16.82-36 2.46V80a16 16 0 0116-16z"}}]},name:"sun",theme:"filled"},Mc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Mt}))}),Mn={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M548 818v126a16 16 0 01-16 16h-40a16 16 0 01-16-16V818c15.85 1.64 27.84 2.46 36 2.46 8.15 0 20.16-.82 36-2.46m205.25-115.66l89.1 89.1a16 16 0 010 22.62l-28.29 28.29a16 16 0 01-22.62 0l-89.1-89.1c12.37-10.04 21.43-17.95 27.2-23.71 5.76-5.77 13.67-14.84 23.71-27.2m-482.5 0c10.04 12.36 17.95 21.43 23.71 27.2 5.77 5.76 14.84 13.67 27.2 23.71l-89.1 89.1a16 16 0 01-22.62 0l-28.29-28.29a16 16 0 010-22.63zM512 278c129.24 0 234 104.77 234 234S641.24 746 512 746 278 641.24 278 512s104.77-234 234-234m0 72c-89.47 0-162 72.53-162 162s72.53 162 162 162 162-72.53 162-162-72.53-162-162-162M206 476c-1.64 15.85-2.46 27.84-2.46 36 0 8.15.82 20.16 2.46 36H80a16 16 0 01-16-16v-40a16 16 0 0116-16zm738 0a16 16 0 0116 16v40a16 16 0 01-16 16H818c1.64-15.85 2.46-27.84 2.46-36 0-8.15-.82-20.16-2.46-36zM814.06 180.65l28.29 28.29a16 16 0 010 22.63l-89.1 89.09c-10.04-12.37-17.95-21.43-23.71-27.2-5.77-5.76-14.84-13.67-27.2-23.71l89.1-89.1a16 16 0 0122.62 0m-581.5 0l89.1 89.1c-12.37 10.04-21.43 17.95-27.2 23.71-5.76 5.77-13.67 14.84-23.71 27.2l-89.1-89.1a16 16 0 010-22.62l28.29-28.29a16 16 0 0122.62 0M532 64a16 16 0 0116 16v126c-15.85-1.64-27.84-2.46-36-2.46-8.15 0-20.16.82-36 2.46V80a16 16 0 0116-16z"}}]},name:"sun",theme:"outlined"},Ma=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Mn}))}),Mr={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 572H266.8l144.3-183c4.1-5.2.4-13-6.3-13H340c-9.8 0-19.1 4.5-25.1 12.2l-164 208c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap-left",theme:"outlined"},Ml=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Mr}))}),Mo=c(94668),Mi=c(32198),Mu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zM596 606c0 4.4-3.6 8-8 8H308c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h280c4.4 0 8 3.6 8 8v48zm284-494H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32z"}}]},name:"switcher",theme:"filled"},Ms=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Mu}))}),Mf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zm-40 600H184V312h528v528zm168-728H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM300 550h296v64H300z"}}]},name:"switcher",theme:"outlined"},Mh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Mf}))}),Md={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M184 840h528V312H184v528zm116-290h296v64H300v-64z",fill:t}},{tag:"path",attrs:{d:"M880 112H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32z",fill:e}},{tag:"path",attrs:{d:"M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zm-40 600H184V312h528v528z",fill:e}},{tag:"path",attrs:{d:"M300 550h296v64H300z",fill:e}}]}},name:"switcher",theme:"twotone"},Mv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Md}))}),Mm=c(98165),Mg={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 208H676V232h212v136zm0 224H676V432h212v160zM412 432h200v160H412V432zm200-64H412V232h200v136zm-476 64h212v160H136V432zm0-200h212v136H136V232zm0 424h212v136H136V656zm276 0h200v136H412V656zm476 136H676V656h212v136z"}}]},name:"table",theme:"outlined"},Mz=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Mg}))}),Mp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zM512 824c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z"}}]},name:"tablet",theme:"filled"},Mw=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Mp}))}),MM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H232V136h560v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"tablet",theme:"outlined"},MZ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MM}))}),MH={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H232V136h560v752z",fill:e}},{tag:"path",attrs:{d:"M232 888h560V136H232v752zm280-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M472 784a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}}]}},name:"tablet",theme:"twotone"},Mb=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MH}))}),MV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM699 387c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64z"}}]},name:"tag",theme:"filled"},MC=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MV}))}),Mx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7zM680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"}}]},name:"tag",theme:"outlined"},ME=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Mx}))}),ML={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M589 164.6L189.3 564.3l270.4 270.4L859.4 435 836 188l-247-23.4zM680 432c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88z",fill:t}},{tag:"path",attrs:{d:"M680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z",fill:e}},{tag:"path",attrs:{d:"M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8a9.9 9.9 0 007.1 2.9c2.7 0 5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7z",fill:e}}]}},name:"tag",theme:"twotone"},MR=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ML}))}),My={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M483.2 790.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3c-2.3-.2-4.7.6-6.3 2.3L137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c3.1 3.2 8.2 3.2 11.3 0zm122.7-533.4c18.7-18.7 49.1-18.7 67.9 0 18.7 18.7 18.7 49.1 0 67.9-18.7 18.7-49.1 18.7-67.9 0-18.7-18.7-18.7-49.1 0-67.9zm283.8 282.9l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3z"}}]},name:"tags",theme:"filled"},MB=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:My}))}),MS={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M483.2 790.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3c-2.3-.2-4.7.6-6.3 2.3L137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c3.1 3.2 8.2 3.2 11.3 0zm62.6-651.7l224.6 19 19 224.6L477.5 694 233.9 450.5l311.9-311.9zm60.16 186.23a48 48 0 1067.88-67.89 48 48 0 10-67.88 67.89zM889.7 539.8l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3z"}}]},name:"tags",theme:"outlined"},MO=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MS}))}),Mk={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M477.5 694l311.9-311.8-19-224.6-224.6-19-311.9 311.9L477.5 694zm116-415.5a47.81 47.81 0 0133.9-33.9c16.6-4.4 34.2.3 46.4 12.4a47.93 47.93 0 0112.4 46.4 47.81 47.81 0 01-33.9 33.9c-16.6 4.4-34.2-.3-46.4-12.4a48.3 48.3 0 01-12.4-46.4z",fill:t}},{tag:"path",attrs:{d:"M476.6 792.6c-1.7-.2-3.4-1-4.7-2.3L137.7 456.1a8.03 8.03 0 010-11.3L515.9 66.6c1.2-1.3 2.9-2.1 4.7-2.3h-.4c-2.3-.2-4.7.6-6.3 2.3L135.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c1.8 1.9 4.3 2.6 6.7 2.3z",fill:t}},{tag:"path",attrs:{d:"M889.7 539.8l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3zM652.3 337.3a47.81 47.81 0 0033.9-33.9c4.4-16.6-.3-34.2-12.4-46.4a47.93 47.93 0 00-46.4-12.4 47.81 47.81 0 00-33.9 33.9c-4.4 16.6.3 34.2 12.4 46.4a48.3 48.3 0 0046.4 12.4z",fill:e}},{tag:"path",attrs:{d:"M137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c1.3 1.3 2.9 2.1 4.7 2.3 2.4.3 4.8-.5 6.6-2.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3h-1.6c-1.8.2-3.4 1-4.7 2.3L137.7 444.8zm408.1-306.2l224.6 19 19 224.6L477.5 694 233.9 450.5l311.9-311.9z",fill:e}}]}},name:"tags",theme:"twotone"},MT=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Mk}))}),M$={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 64zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z"}}]},name:"taobao-circle",theme:"filled"},MF=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:M$}))}),MI={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 64zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z"}}]},name:"taobao-circle",theme:"outlined"},MA=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MI}))}),MD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168.5 273.7a68.7 68.7 0 10137.4 0 68.7 68.7 0 10-137.4 0zm730 79.2s-23.7-184.4-426.9-70.1c17.3-30 25.6-49.5 25.6-49.5L396.4 205s-40.6 132.6-113 194.4c0 0 70.1 40.6 69.4 39.4 20.1-20.1 38.2-40.6 53.7-60.4 16.1-7 31.5-13.6 46.7-19.8-18.6 33.5-48.7 83.8-78.8 115.6l42.4 37s28.8-27.7 60.4-61.2h36v61.8H372.9v49.5h140.3v118.5c-1.7 0-3.6 0-5.4-.2-15.4-.7-39.5-3.3-49-18.2-11.5-18.1-3-51.5-2.4-71.9h-97l-3.4 1.8s-35.5 159.1 102.3 155.5c129.1 3.6 203-36 238.6-63.1l14.2 52.6 79.6-33.2-53.9-131.9-64.6 20.1 12.1 45.2c-16.6 12.4-35.6 21.7-56.2 28.4V561.3h137.1v-49.5H628.1V450h137.6v-49.5H521.3c17.6-21.4 31.5-41.1 35-53.6l-42.5-11.6c182.8-65.5 284.5-54.2 283.6 53.2v282.8s10.8 97.1-100.4 90.1l-60.2-12.9-14.2 57.1S882.5 880 903.7 680.2c21.3-200-5.2-327.3-5.2-327.3zm-707.4 18.3l-45.4 69.7 83.6 52.1s56 28.5 29.4 81.9C233.8 625.5 112 736.3 112 736.3l109 68.1c75.4-163.7 70.5-142 89.5-200.7 19.5-60.1 23.7-105.9-9.4-139.1-42.4-42.6-47-46.6-110-93.4z"}}]},name:"taobao",theme:"outlined"},MN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MD}))}),MP={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-32zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z"}}]},name:"taobao-square",theme:"filled"},Mq=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MP}))}),MW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z"}}]},name:"team",theme:"outlined"},Mj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MW}))}),MY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7z"}}]},name:"thunderbolt",theme:"filled"},M_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MY}))}),MK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}}]},name:"thunderbolt",theme:"outlined"},MU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MK}))}),MX={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M695.4 164.1H470.8L281.2 491.5h157.4l-60.3 241 319.8-305.1h-211z",fill:t}},{tag:"path",attrs:{d:"M848.1 359.3H627.8L825.9 109c4.1-5.3.4-13-6.3-13H436.1c-2.8 0-5.5 1.5-6.9 4L170.1 547.5c-3.1 5.3.7 12 6.9 12h174.4L262 917.1c-1.9 7.8 7.5 13.3 13.3 7.7L853.6 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.3 732.5l60.3-241H281.2l189.6-327.4h224.6L487.1 427.4h211L378.3 732.5z",fill:e}}]}},name:"thunderbolt",theme:"twotone"},MG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MX}))}),MQ={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 224.96C912 162.57 861.42 112 799.04 112H224.96C162.57 112 112 162.57 112 224.96v574.08C112 861.43 162.58 912 224.96 912h574.08C861.42 912 912 861.43 912 799.04zM774.76 460.92c-51.62.57-99.71-15.03-141.94-43.93v202.87a192.3 192.3 0 01-149 187.85c-119.06 27.17-219.86-58.95-232.57-161.83-13.3-102.89 52.32-193.06 152.89-213.29 19.65-4.04 49.2-4.04 64.46-.57v108.66c-4.7-1.15-9.09-2.31-13.71-2.89-39.3-6.94-77.37 12.72-92.98 48.55-15.6 35.84-5.16 77.45 26.63 101.73 26.59 20.8 56.09 23.7 86.14 9.82 30.06-13.29 46.21-37.56 49.68-70.5.58-4.63.54-9.84.54-15.04V222.21c0-10.99.09-10.5 11.07-10.5h86.12c6.36 0 8.67.9 9.25 8.43 4.62 67.04 55.53 124.14 120.84 132.81 6.94 1.16 14.37 1.62 22.58 2.2z"}}]},name:"tik-tok",theme:"filled"},MJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:MQ}))}),M1={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M530.01 112.67c43.67-.67 87-.34 130.33-.67 2.67 51 21 103 58.33 139 37.33 37 90 54 141.33 59.66V445c-48-1.67-96.33-11.67-140-32.34-19-8.66-36.66-19.66-54-31-.33 97.33.34 194.67-.66 291.67-2.67 46.66-18 93-45 131.33-43.66 64-119.32 105.66-196.99 107-47.66 2.66-95.33-10.34-136-34.34C220.04 837.66 172.7 765 165.7 687c-.67-16.66-1-33.33-.34-49.66 6-63.34 37.33-124 86-165.34 55.33-48 132.66-71 204.99-57.33.67 49.34-1.33 98.67-1.33 148-33-10.67-71.67-7.67-100.67 12.33-21 13.67-37 34.67-45.33 58.34-7 17-5 35.66-4.66 53.66 8 54.67 60.66 100.67 116.66 95.67 37.33-.34 73-22 92.33-53.67 6.33-11 13.33-22.33 13.66-35.33 3.34-59.67 2-119 2.34-178.66.33-134.34-.34-268.33.66-402.33"}}]},name:"tik-tok",theme:"outlined"},M4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:M1}))}),M2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885 780H165c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM400 325.7h73.9V664c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V325.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 171a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13z"}}]},name:"to-top",theme:"outlined"},M3=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:M2}))}),M8=c(18754),M6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z"}}]},name:"tool",theme:"outlined"},M0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:M6}))}),M5={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M706.8 488.7a32.05 32.05 0 01-45.3 0L537 364.2a32.05 32.05 0 010-45.3l132.9-132.8a184.2 184.2 0 00-144 53.5c-58.1 58.1-69.3 145.3-33.6 214.6L439.5 507c-.1 0-.1-.1-.1-.1L209.3 737l79.2 79.2 274-274.1.1.1 8.8-8.8c69.3 35.7 156.5 24.5 214.6-33.6 39.2-39.1 57.3-92.1 53.6-143.9L706.8 488.7z",fill:t}},{tag:"path",attrs:{d:"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z",fill:e}}]}},name:"tool",theme:"twotone"},M7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:M5}))}),M9={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 64zm164.7 660.2c-1.1.5-2.3.8-3.5.8h-62c-3.1 0-5.9-1.8-7.2-4.6l-74.6-159.2h-88.7V717c0 4.4-3.6 8-8 8H378c-4.4 0-8-3.6-8-8V307c0-4.4 3.6-8 8-8h155.6c98.8 0 144.2 59.9 144.2 131.1 0 70.2-43.6 106.4-78.4 119.2l80.8 164.2c2.1 3.9.4 8.7-3.5 10.7zM523.9 357h-83.4v148H522c53 0 82.8-25.6 82.8-72.4 0-50.3-32.9-75.6-80.9-75.6z"}}]},name:"trademark-circle",theme:"filled"},Ze=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:M9}))}),Zt={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 372zm87.5-334.7c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.5-131.1-144.2-131.1H378c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.5c4.4 0 8-3.6 8-8V561.2h88.7l74.6 159.2c1.3 2.8 4.1 4.6 7.2 4.6h62a7.9 7.9 0 007.1-11.5l-80.6-164.2zM522 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.5 0 46.9-29.8 72.5-82.8 72.5z"}}]},name:"trademark-circle",theme:"outlined"},Zc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zt}))}),Zn={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm170.7 584.2c-1.1.5-2.3.8-3.5.8h-62c-3.1 0-5.9-1.8-7.2-4.6l-74.6-159.2h-88.7V717c0 4.4-3.6 8-8 8H384c-4.4 0-8-3.6-8-8V307c0-4.4 3.6-8 8-8h155.6c98.8 0 144.2 59.9 144.2 131.1 0 70.2-43.6 106.4-78.4 119.2l80.8 164.2c2.1 3.9.4 8.7-3.5 10.7z",fill:t}},{tag:"path",attrs:{d:"M529.9 357h-83.4v148H528c53 0 82.8-25.6 82.8-72.4 0-50.3-32.9-75.6-80.9-75.6z",fill:t}},{tag:"path",attrs:{d:"M605.4 549.3c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.4-131.1-144.2-131.1H384c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.7c4.4 0 8-3.6 8-8V561.2h88.7L610 720.4c1.3 2.8 4.1 4.6 7.2 4.6h62c1.2 0 2.4-.3 3.5-.8 3.9-2 5.6-6.8 3.5-10.7l-80.8-164.2zM528 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.6 0 46.8-29.8 72.4-82.8 72.4z",fill:e}}]}},name:"trademark-circle",theme:"twotone"},Za=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zn}))}),Zr={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 372zm87.5-334.7c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.5-131.1-144.2-131.1H378c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.5c4.4 0 8-3.6 8-8V561.2h88.7l74.6 159.2c1.3 2.8 4.1 4.6 7.2 4.6h62a7.9 7.9 0 007.1-11.5l-80.6-164.2zM522 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.5 0 46.9-29.8 72.5-82.8 72.5z"}}]},name:"trademark",theme:"outlined"},Zl=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zr}))}),Zo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M668.6 320c0-4.4-3.6-8-8-8h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 00-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.5-1.1.9-2.4.9-3.7zM157.9 504.2a352.7 352.7 0 01103.5-242.4c32.5-32.5 70.3-58.1 112.4-75.9 43.6-18.4 89.9-27.8 137.6-27.8 47.8 0 94.1 9.3 137.6 27.8 42.1 17.8 79.9 43.4 112.4 75.9 10 10 19.3 20.5 27.9 31.4l-50 39.1a8 8 0 003 14.1l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3l-47.8 37.4C770.7 146.3 648.6 82 511.5 82 277 82 86.3 270.1 82 503.8a8 8 0 008 8.2h60c4.3 0 7.8-3.5 7.9-7.8zM934 512h-60c-4.3 0-7.9 3.5-8 7.8a352.7 352.7 0 01-103.5 242.4 352.57 352.57 0 01-112.4 75.9c-43.6 18.4-89.9 27.8-137.6 27.8s-94.1-9.3-137.6-27.8a352.57 352.57 0 01-112.4-75.9c-10-10-19.3-20.5-27.9-31.4l49.9-39.1a8 8 0 00-3-14.1l-156.8-38.3c-5-1.2-9.9 2.6-9.9 7.7l-.8 161.7c0 6.7 7.7 10.5 12.9 6.3l47.8-37.4C253.3 877.7 375.4 942 512.5 942 747 942 937.7 753.9 942 520.2a8 8 0 00-8-8.2z"}}]},name:"transaction",theme:"outlined"},Zi=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zo}))}),Zu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M140 188h584v164h76V144c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h544v-76H140V188z"}},{tag:"path",attrs:{d:"M414.3 256h-60.6c-3.4 0-6.4 2.2-7.6 5.4L219 629.4c-.3.8-.4 1.7-.4 2.6 0 4.4 3.6 8 8 8h55.1c3.4 0 6.4-2.2 7.6-5.4L322 540h196.2L422 261.4a8.42 8.42 0 00-7.7-5.4zm12.4 228h-85.5L384 360.2 426.7 484zM936 528H800v-93c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v93H592c-13.3 0-24 10.7-24 24v176c0 13.3 10.7 24 24 24h136v152c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V752h136c13.3 0 24-10.7 24-24V552c0-13.3-10.7-24-24-24zM728 680h-88v-80h88v80zm160 0h-88v-80h88v80z"}}]},name:"translation",theme:"outlined"},Zs=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zu}))}),Zf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.6 630.2 359 721.8 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.8 758.4 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM248 439.6c-37.1-11.9-64-46.7-64-87.6V232h64v207.6zM840 352c0 41-26.9 75.8-64 87.6V232h64v120z"}}]},name:"trophy",theme:"filled"},Zh=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zf}))}),Zd={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.7 630.2 359 721.7 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.7 758.3 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM184 352V232h64v207.6a91.99 91.99 0 01-64-87.6zm520 128c0 49.1-19.1 95.4-53.9 130.1-34.8 34.8-81 53.9-130.1 53.9h-16c-49.1 0-95.4-19.1-130.1-53.9-34.8-34.8-53.9-81-53.9-130.1V184h384v296zm136-128c0 41-26.9 75.8-64 87.6V232h64v120z"}}]},name:"trophy",theme:"outlined"},Zv=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zd}))}),Zm={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M320 480c0 49.1 19.1 95.3 53.9 130.1 34.7 34.8 81 53.9 130.1 53.9h16c49.1 0 95.3-19.1 130.1-53.9 34.8-34.7 53.9-81 53.9-130.1V184H320v296zM184 352c0 41 26.9 75.8 64 87.6-37.1-11.9-64-46.7-64-87.6zm364 382.5C665 721.8 758.4 630.2 773.8 514 758.3 630.2 665 721.7 548 734.5zM250.2 514C265.6 630.2 359 721.8 476 734.5 359 721.7 265.7 630.2 250.2 514z",fill:t}},{tag:"path",attrs:{d:"M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.7 630.2 359 721.7 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.7 758.3 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM248 439.6a91.99 91.99 0 01-64-87.6V232h64v207.6zM704 480c0 49.1-19.1 95.4-53.9 130.1-34.8 34.8-81 53.9-130.1 53.9h-16c-49.1 0-95.4-19.1-130.1-53.9-34.8-34.8-53.9-81-53.9-130.1V184h384v296zm136-128c0 41-26.9 75.8-64 87.6V232h64v120z",fill:e}}]}},name:"trophy",theme:"twotone"},Zg=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zm}))}),Zz={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608 192a32 32 0 0132 32v160h174.81a32 32 0 0126.68 14.33l113.19 170.84a32 32 0 015.32 17.68V672a32 32 0 01-32 32h-96c0 70.7-57.3 128-128 128s-128-57.3-128-128H384c0 70.7-57.3 128-128 128s-128-57.3-128-128H96a32 32 0 01-32-32V224a32 32 0 0132-32zM256 640a64 64 0 000 128h1.06A64 64 0 00256 640m448 0a64 64 0 000 128h1.06A64 64 0 00704 640m93.63-192H640v145.12A127.43 127.43 0 01704 576c47.38 0 88.75 25.74 110.88 64H896v-43.52zM500 448H332a12 12 0 00-12 12v40a12 12 0 0012 12h168a12 12 0 0012-12v-40a12 12 0 00-12-12M308 320H204a12 12 0 00-12 12v40a12 12 0 0012 12h104a12 12 0 0012-12v-40a12 12 0 00-12-12"}}]},name:"truck",theme:"filled"},Zp=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zz}))}),Zw={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608 192a32 32 0 0132 32v160h174.81a32 32 0 0126.68 14.33l113.19 170.84a32 32 0 015.32 17.68V672a32 32 0 01-32 32h-96c0 70.7-57.3 128-128 128s-128-57.3-128-128H384c0 70.7-57.3 128-128 128s-128-57.3-128-128H96a32 32 0 01-32-32V224a32 32 0 0132-32zM256 640a64 64 0 000 128h1.06A64 64 0 00256 640m448 0a64 64 0 000 128h1.06A64 64 0 00704 640M576 256H128v384h17.12c22.13-38.26 63.5-64 110.88-64 47.38 0 88.75 25.74 110.88 64H576zm221.63 192H640v145.12A127.43 127.43 0 01704 576c47.38 0 88.75 25.74 110.88 64H896v-43.52zM500 448a12 12 0 0112 12v40a12 12 0 01-12 12H332a12 12 0 01-12-12v-40a12 12 0 0112-12zM308 320a12 12 0 0112 12v40a12 12 0 01-12 12H204a12 12 0 01-12-12v-40a12 12 0 0112-12z"}}]},name:"truck",theme:"outlined"},ZM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zw}))}),ZZ={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"filter",attrs:{filterUnits:"objectBoundingBox",height:"102.3%",id:"a",width:"102.3%",x:"-1.2%",y:"-1.2%"},children:[{tag:"feOffset",attrs:{dy:"2",in:"SourceAlpha",result:"shadowOffsetOuter1"}},{tag:"feGaussianBlur",attrs:{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"2"}},{tag:"feColorMatrix",attrs:{in:"shadowBlurOuter1",result:"shadowMatrixOuter1",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"}},{tag:"feMerge",attrs:{},children:[{tag:"feMergeNode",attrs:{in:"shadowMatrixOuter1"}},{tag:"feMergeNode",attrs:{in:"SourceGraphic"}}]}]}]},{tag:"g",attrs:{filter:"url(#a)",transform:"translate(9 9)"},children:[{tag:"path",attrs:{d:"M185.14 112L128 254.86V797.7h171.43V912H413.7L528 797.71h142.86l200-200V112zm314.29 428.57H413.7V310.21h85.72zm200 0H613.7V310.21h85.72z"}}]}]},name:"twitch",theme:"filled"},ZH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZZ}))}),Zb={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M166.13 112L114 251.17v556.46h191.2V912h104.4l104.23-104.4h156.5L879 599V112zm69.54 69.5H809.5v382.63L687.77 685.87H496.5L392.27 790.1V685.87h-156.6zM427 529.4h69.5V320.73H427zm191.17 0h69.53V320.73h-69.53z"}}]},name:"twitch",theme:"outlined"},ZV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zb}))}),ZC={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 64zm215.3 337.7c.3 4.7.3 9.6.3 14.4 0 146.8-111.8 315.9-316.1 315.9-63 0-121.4-18.3-170.6-49.8 9 1 17.6 1.4 26.8 1.4 52 0 99.8-17.6 137.9-47.4-48.8-1-89.8-33-103.8-77 17.1 2.5 32.5 2.5 50.1-2a111 111 0 01-88.9-109v-1.4c14.7 8.3 32 13.4 50.1 14.1a111.13 111.13 0 01-49.5-92.4c0-20.7 5.4-39.6 15.1-56a315.28 315.28 0 00229 116.1C492 353.1 548.4 292 616.2 292c32 0 60.8 13.4 81.1 35 25.1-4.7 49.1-14.1 70.5-26.7-8.3 25.7-25.7 47.4-48.8 61.1 22.4-2.4 44-8.6 64-17.3-15.1 22.2-34 41.9-55.7 57.6z"}}]},name:"twitter-circle",theme:"filled"},Zx=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZC}))}),ZE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 254.3c-30.6 13.2-63.9 22.7-98.2 26.4a170.1 170.1 0 0075-94 336.64 336.64 0 01-108.2 41.2A170.1 170.1 0 00672 174c-94.5 0-170.5 76.6-170.5 170.6 0 13.2 1.6 26.4 4.2 39.1-141.5-7.4-267.7-75-351.6-178.5a169.32 169.32 0 00-23.2 86.1c0 59.2 30.1 111.4 76 142.1a172 172 0 01-77.1-21.7v2.1c0 82.9 58.6 151.6 136.7 167.4a180.6 180.6 0 01-44.9 5.8c-11.1 0-21.6-1.1-32.2-2.6C211 652 273.9 701.1 348.8 702.7c-58.6 45.9-132 72.9-211.7 72.9-14.3 0-27.5-.5-41.2-2.1C171.5 822 261.2 850 357.8 850 671.4 850 843 590.2 843 364.7c0-7.4 0-14.8-.5-22.2 33.2-24.3 62.3-54.4 85.5-88.2z"}}]},name:"twitter",theme:"outlined"},ZL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZE}))}),ZR={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-32zM727.3 401.7c.3 4.7.3 9.6.3 14.4 0 146.8-111.8 315.9-316.1 315.9-63 0-121.4-18.3-170.6-49.8 9 1 17.6 1.4 26.8 1.4 52 0 99.8-17.6 137.9-47.4-48.8-1-89.8-33-103.8-77 17.1 2.5 32.5 2.5 50.1-2a111 111 0 01-88.9-109v-1.4c14.7 8.3 32 13.4 50.1 14.1a111.13 111.13 0 01-49.5-92.4c0-20.7 5.4-39.6 15.1-56a315.28 315.28 0 00229 116.1C492 353.1 548.4 292 616.2 292c32 0 60.8 13.4 81.1 35 25.1-4.7 49.1-14.1 70.5-26.7-8.3 25.7-25.7 47.4-48.8 61.1 22.4-2.4 44-8.6 64-17.3-15.1 22.2-34 41.9-55.7 57.6z"}}]},name:"twitter-square",theme:"filled"},Zy=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZR}))}),ZB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824 804H200c-4.4 0-8 3.4-8 7.6v60.8c0 4.2 3.6 7.6 8 7.6h624c4.4 0 8-3.4 8-7.6v-60.8c0-4.2-3.6-7.6-8-7.6zm-312-76c69.4 0 134.6-27.1 183.8-76.2C745 602.7 772 537.4 772 468V156c0-6.6-5.4-12-12-12h-60c-6.6 0-12 5.4-12 12v312c0 97-79 176-176 176s-176-79-176-176V156c0-6.6-5.4-12-12-12h-60c-6.6 0-12 5.4-12 12v312c0 69.4 27.1 134.6 76.2 183.8C377.3 701 442.6 728 512 728z"}}]},name:"underline",theme:"outlined"},ZS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZB}))}),ZO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.4 124C290.5 124.3 112 303 112 523.9c0 128 60.2 242 153.8 315.2l-37.5 48c-4.1 5.3-.3 13 6.3 12.9l167-.8c5.2 0 9-4.9 7.7-9.9L369.8 727a8 8 0 00-14.1-3L315 776.1c-10.2-8-20-16.7-29.3-26a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-7.5 7.5-15.3 14.5-23.4 21.2a7.93 7.93 0 00-1.2 11.1l39.4 50.5c2.8 3.5 7.9 4.1 11.4 1.3C854.5 760.8 912 649.1 912 523.9c0-221.1-179.4-400.2-400.6-399.9z"}}]},name:"undo",theme:"outlined"},Zk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZO}))}),ZT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M736 550H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16h448c8.8 0 16-7.2 16-16V566c0-8.8-7.2-16-16-16zm-56 136H344v-64h336v64zm208 130c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zM736 266H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16h448c8.8 0 16-7.2 16-16V282c0-8.8-7.2-16-16-16zm-56 136H344v-64h336v64zm208-194c39.8 0 72-32.2 72-72s-32.2-72-72-72-72 32.2-72 72 32.2 72 72 72zm0-96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM136 64c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0 656c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24z"}}]},name:"ungroup",theme:"outlined"},Z$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZT}))}),ZF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM540 701v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 1156 0z"}}]},name:"unlock",theme:"filled"},ZI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZF}))}),ZA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zm-40 376H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"unlock",theme:"outlined"},ZD=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZA}))}),ZN={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 840h560V536H232v304zm280-226a48.01 48.01 0 0128 87v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 0128-87z",fill:t}},{tag:"path",attrs:{d:"M484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z",fill:e}},{tag:"path",attrs:{d:"M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zm-40 376H232V536h560v304z",fill:e}}]}},name:"unlock",theme:"twotone"},ZP=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZN}))}),Zq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"unordered-list",theme:"outlined"},ZW=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zq}))}),Zj={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 64zm178 555h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 460.4 406.8 605.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z"}}]},name:"up-circle",theme:"filled"},ZY=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Zj}))}),Z_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.5 360.3a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7H381c10.2 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246z"}},{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"}}]},name:"up-circle",theme:"outlined"},ZK=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Z_}))}),ZU={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm178 479h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 460.4 406.8 605.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z",fill:t}},{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",fill:e}},{tag:"path",attrs:{d:"M518.4 360.3a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7h46.9c10.3 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.7 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.4-12.7l-178-246z",fill:e}}]}},name:"up-circle",theme:"twotone"},ZX=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZU}))}),ZG=c(48115),ZQ={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-32zM690 624h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 465.4 406.8 610.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z"}}]},name:"up-square",theme:"filled"},ZJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ZQ}))}),Z1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M334 624h46.9c10.2 0 19.9-4.9 25.9-13.2L512 465.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246a7.95 7.95 0 00-12.9 0l-178 246A7.96 7.96 0 00334 624z"}},{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:"up-square",theme:"outlined"},Z4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Z1}))}),Z2={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm143.5-228.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 465.4 406.8 610.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7z",fill:t}},{tag:"path",attrs:{d:"M334 624h46.9c10.3 0 19.9-4.9 25.9-13.2L512 465.4l105.2 145.4c6 8.3 15.7 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.4-12.7l-178-246a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7z",fill:e}}]}},name:"up-square",theme:"twotone"},Z3=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Z2}))}),Z8=c(88484),Z6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M408 312h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm352 120V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zm-72 0H336V184h352v248zM568 312h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}]},name:"usb",theme:"filled"},Z0=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Z6}))}),Z5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M760 432V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V548c0-24.3 21.6-44 48.1-44h495.8c26.5 0 48.1 19.7 48.1 44v356c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zm-424 0V184h352v248H336zm120-184h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm160 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"usb",theme:"outlined"},Z7=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Z5}))}),Z9={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M759.9 504H264.1c-26.5 0-48.1 19.7-48.1 44v292h592V548c0-24.3-21.6-44-48.1-44z",fill:t}},{tag:"path",attrs:{d:"M456 248h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm160 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z",fill:e}},{tag:"path",attrs:{d:"M760 432V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zM336 184h352v248H336V184zm472 656H216V548c0-24.3 21.6-44 48.1-44h495.8c26.5 0 48.1 19.7 48.1 44v292z",fill:e}}]}},name:"usb",theme:"twotone"},He=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Z9}))}),Ht={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 888.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"user-add",theme:"outlined"},Hc=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Ht}))}),Hn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M678.3 655.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 518 759.6 444.7 759.6 362c0-137-110.8-248-247.5-248S264.7 225 264.7 362c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 901.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 641.2 432.2 610 512.2 610c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 534c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 362c0-45.9 17.9-89.1 50.3-121.6S466.3 190 512.2 190s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 362c0 45.9-17.9 89.1-50.3 121.6C601.1 516.1 558 534 512.2 534zM880 772H640c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h240c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"user-delete",theme:"outlined"},Ha=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hn}))}),Hr=c(87547),Hl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M759 335c0-137-111-248-248-248S263 198 263 335c0 82.8 40.6 156.2 103 201.2-.4.2-.7.3-.9.4-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00136 874.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C356 614.2 431 583 511 583c137 0 248-111 248-248zM511 507c-95 0-172-77-172-172s77-172 172-172 172 77 172 172-77 172-172 172zm105 221h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H703.5l47.2-60.1a8.1 8.1 0 001.7-4.9c0-4.4-3.6-8-8-8h-72.6c-4.9 0-9.5 2.3-12.6 6.1l-68.5 87.1c-4.4 5.6-6.8 12.6-6.8 19.8.1 17.7 14.4 32 32.1 32zm240 64H592c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h176.5l-47.2 60.1a8.1 8.1 0 00-1.7 4.9c0 4.4 3.6 8 8 8h72.6c4.9 0 9.5-2.3 12.6-6.1l68.5-87.1c4.4-5.6 6.8-12.6 6.8-19.8-.1-17.7-14.4-32-32.1-32z"}}]},name:"user-switch",theme:"outlined"},Ho=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hl}))}),Hi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M892 772h-80v-80c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v80h-80c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h80v80c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-80h80c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 498.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.8-1.7-203.2 89.2-203.2 200 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.8-1.1 6.4-4.8 5.9-8.8zM824 472c0-109.4-87.9-198.3-196.9-200C516.3 270.3 424 361.2 424 472c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 742.6 326 814.8 324 891.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 695.7 563 672 624 672c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 586.7 658.2 600 624 600s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z"}}]},name:"usergroup-add",theme:"outlined"},Hu=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hi}))}),Hs={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 784H664c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7zM824 484c0-109.4-87.9-198.3-196.9-200C516.3 282.3 424 373.2 424 484c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 754.6 326 826.8 324 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 707.7 563 684 624 684c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 598.7 658.2 612 624 612s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z"}}]},name:"usergroup-delete",theme:"outlined"},Hf=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hs}))}),Hh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M447.8 588.8l-7.3-32.5c-.2-1-.6-1.9-1.1-2.7a7.94 7.94 0 00-11.1-2.2L405 567V411c0-4.4-3.6-8-8-8h-81c-4.4 0-8 3.6-8 8v36c0 4.4 3.6 8 8 8h37v192.4a8 8 0 0012.7 6.5l79-56.8c2.6-1.9 3.8-5.1 3.1-8.3zm-56.7-216.6l.2.2c3.2 3 8.3 2.8 11.3-.5l24.1-26.2a8.1 8.1 0 00-.3-11.2l-53.7-52.1a8 8 0 00-11.2.1l-24.7 24.7c-3.1 3.1-3.1 8.2.1 11.3l54.2 53.7z"}},{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z"}},{tag:"path",attrs:{d:"M452 297v36c0 4.4 3.6 8 8 8h108v274h-38V405c0-4.4-3.6-8-8-8h-35c-4.4 0-8 3.6-8 8v210h-31c-4.4 0-8 3.6-8 8v37c0 4.4 3.6 8 8 8h244c4.4 0 8-3.6 8-8v-37c0-4.4-3.6-8-8-8h-72V493h58c4.4 0 8-3.6 8-8v-35c0-4.4-3.6-8-8-8h-58V341h63c4.4 0 8-3.6 8-8v-36c0-4.4-3.6-8-8-8H460c-4.4 0-8 3.6-8 8z"}}]},name:"verified",theme:"outlined"},Hd=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hh}))}),Hv={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 780H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM505.7 669a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V176c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8z"}}]},name:"vertical-align-bottom",theme:"outlined"},Hm=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hv}))}),Hg={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 474H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zm-353.6-74.7c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H550V104c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v156h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.6zm11.4 225.4a7.14 7.14 0 00-11.3 0L405.6 752.3a7.23 7.23 0 005.7 11.7H474v156c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V764h62.8c6 0 9.4-7 5.7-11.7L517.7 624.7z"}}]},name:"vertical-align-middle",theme:"outlined"},Hz=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hg}))}),Hp=c(62635),Hw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M762 164h-64c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V172c0-4.4-3.6-8-8-8zm-508 0v72.4c0 9.5 4.2 18.4 11.4 24.5L564.6 512 265.4 763.1c-7.2 6.1-11.4 15-11.4 24.5V860c0 6.8 7.9 10.5 13.1 6.1L689 512 267.1 157.9A7.95 7.95 0 00254 164z"}}]},name:"vertical-left",theme:"outlined"},HM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hw}))}),HZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M326 164h-64c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V172c0-4.4-3.6-8-8-8zm444 72.4V164c0-6.8-7.9-10.5-13.1-6.1L335 512l421.9 354.1c5.2 4.4 13.1.7 13.1-6.1v-72.4c0-9.4-4.2-18.4-11.4-24.5L459.4 512l299.2-251.1c7.2-6.1 11.4-15.1 11.4-24.5z"}}]},name:"vertical-right",theme:"outlined"},HH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HZ}))}),Hb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M368 724H252V608c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v116H72c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h116v116c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V788h116c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v352h72V232h576v560H448v72h272c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM888 625l-104-59.8V458.9L888 399v226z"}},{tag:"path",attrs:{d:"M320 360c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h112z"}}]},name:"video-camera-add",theme:"outlined"},HV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:Hb}))}),HC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM328 352c0 4.4-3.6 8-8 8H208c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h112c4.4 0 8 3.6 8 8v48zm560 273l-104-59.8V458.9L888 399v226z"}}]},name:"video-camera",theme:"filled"},Hx=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HC}))}),HE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226zM208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}]},name:"video-camera",theme:"outlined"},HL=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HE}))}),HR={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M136 792h576V232H136v560zm64-488c0-4.4 3.6-8 8-8h112c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H208c-4.4 0-8-3.6-8-8v-48z",fill:t}},{tag:"path",attrs:{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226z",fill:e}},{tag:"path",attrs:{d:"M208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"video-camera",theme:"twotone"},Hy=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HR}))}),HB={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-32zm-32 464H528V448h320v128zm-268-64a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"wallet",theme:"filled"},HS=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HB}))}),HO={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-32zm-40 464H528V448h312v128zm0 264H184V184h656v200H496c-17.7 0-32 14.3-32 32v192c0 17.7 14.3 32 32 32h344v200zM580 512a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"wallet",theme:"outlined"},Hk=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HO}))}),HT={icon:function(e,t){return{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-32zm-40 464H528V448h312v128zm0-192H496c-17.7 0-32 14.3-32 32v192c0 17.7 14.3 32 32 32h344v200H184V184h656v200z",fill:e}},{tag:"path",attrs:{d:"M528 576h312V448H528v128zm92-104c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M580 512a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V640H496c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32h344V184H184v656z",fill:t}}]}},name:"wallet",theme:"twotone"},H$=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HT}))}),HF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-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-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},HI=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HF}))}),HA=c(28058),HD={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-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",fill:e}},{tag:"path",attrs:{d:"M172.2 828.1h679.6L512 239.9 172.2 828.1zM560 720a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm-16-304v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8z",fill:t}},{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 8z",fill:e}}]}},name:"warning",theme:"twotone"},HN=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HD}))}),HP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z"}}]},name:"wechat",theme:"filled"},Hq=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HP}))}),HW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z"}}]},name:"wechat",theme:"outlined"},Hj=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HW}))}),HY={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M805.33 112H218.67C159.76 112 112 159.76 112 218.67v586.66C112 864.24 159.76 912 218.67 912h586.66C864.24 912 912 864.24 912 805.33V218.67C912 159.76 864.24 112 805.33 112m-98.17 417.86a102.13 102.13 0 0028.1 52.46l2.13 2.06c.41.27.8.57 1.16.9l.55.64.2.02a7.96 7.96 0 01-.98 10.82 7.96 7.96 0 01-10.85-.18c-1.1-1.05-2.14-2.14-3.24-3.24a102.49 102.49 0 00-53.82-28.36l-2-.27c-.66-.12-1.34-.39-1.98-.39a33.27 33.27 0 1140.37-37.66c.17 1.09.36 2.16.36 3.2m-213.1 153.82a276.78 276.78 0 01-61.7.17 267.3 267.3 0 01-44.67-8.6l-68.44 34.4c-.33.24-.77.43-1.15.71h-.27a18.29 18.29 0 01-27.52-15.9c.03-.59.1-1.17.2-1.74.13-1.97.6-3.9 1.37-5.72l2.75-11.15 9.56-39.56a277.57 277.57 0 01-49.25-54.67A185.99 185.99 0 01223.1 478.1a182.42 182.42 0 0119.08-81.04 203.98 203.98 0 0137.19-52.32c38.91-39.94 93.26-65.52 153.1-72.03a278.25 278.25 0 0130.17-1.64c10.5.03 20.99.65 31.42 1.86 59.58 6.79 113.65 32.48 152.26 72.36a202.96 202.96 0 0137 52.48 182.3 182.3 0 0118.17 94.67c-.52-.57-1.02-1.2-1.57-1.76a33.26 33.26 0 00-40.84-4.8c.22-2.26.22-4.54.22-6.79a143.64 143.64 0 00-14.76-63.38 164.07 164.07 0 00-29.68-42.15c-31.78-32.76-76.47-53.95-125.89-59.55a234.37 234.37 0 00-51.67-.14c-49.61 5.41-94.6 26.45-126.57 59.26a163.63 163.63 0 00-29.82 41.95 143.44 143.44 0 00-15.12 63.93 147.16 147.16 0 0025.29 81.51 170.5 170.5 0 0024.93 29.4 172.31 172.31 0 0017.56 14.75 17.6 17.6 0 016.35 19.62l-6.49 24.67-1.86 7.14-1.62 6.45a2.85 2.85 0 002.77 2.88 3.99 3.99 0 001.93-.68l43.86-25.93 1.44-.78a23.2 23.2 0 0118.24-1.84 227.38 227.38 0 0033.87 7.12l5.22.69a227.26 227.26 0 0051.67-.14 226.58 226.58 0 0042.75-9.07 33.2 33.2 0 0022.72 34.76 269.27 269.27 0 01-60.37 14.12m89.07-24.87a33.33 33.33 0 01-33.76-18.75 33.32 33.32 0 016.64-38.03 33.16 33.16 0 0118.26-9.31c1.07-.14 2.19-.36 3.24-.36a102.37 102.37 0 0052.47-28.05l2.2-2.33a10.21 10.21 0 011.57-1.68v-.03a7.97 7.97 0 1110.64 11.81l-3.24 3.24a102.44 102.44 0 00-28.56 53.74c-.09.63-.28 1.35-.28 2l-.39 2.01a33.3 33.3 0 01-28.79 25.74m94.44 93.87a33.3 33.3 0 01-36.18-24.25 28 28 0 01-1.1-6.73 102.4 102.4 0 00-28.15-52.39l-2.3-2.25a7.2 7.2 0 01-1.11-.9l-.54-.6h-.03v.05a7.96 7.96 0 01.96-10.82 7.96 7.96 0 0110.85.18l3.22 3.24a102.29 102.29 0 0053.8 28.35l2 .28a33.27 33.27 0 11-1.42 65.84m113.67-103.34a32.84 32.84 0 01-18.28 9.31 26.36 26.36 0 01-3.24.36 102.32 102.32 0 00-52.44 28.1 49.57 49.57 0 00-3.14 3.41l-.68.56h.02l.09.05a7.94 7.94 0 11-10.6-11.81l3.23-3.24a102.05 102.05 0 0028.37-53.7 33.26 33.26 0 1162.4-12.1 33.21 33.21 0 01-5.73 39.06"}}]},name:"wechat-work",theme:"filled"},H_=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HY}))}),HK={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.78 729.59a135.87 135.87 0 00-47.04 19.04 114.24 114.24 0 01-51.4 31.08 76.29 76.29 0 0124.45-45.42 169.3 169.3 0 0023.4-55.02 50.41 50.41 0 1150.6 50.32zm-92.21-120.76a168.83 168.83 0 00-54.81-23.68 50.41 50.41 0 01-50.4-50.42 50.41 50.41 0 11100.8 0 137.5 137.5 0 0018.82 47.2 114.8 114.8 0 0130.76 51.66 76.08 76.08 0 01-45.02-24.76h-.19zm-83.04-177.71c-15.19-127.33-146.98-227.1-306.44-227.1-169.87 0-308.09 113.1-308.09 252.2A235.81 235.81 0 00230.06 647.6a311.28 311.28 0 0033.6 21.59L250 723.76c4.93 2.31 9.7 4.78 14.75 6.9l69-34.5c10.07 2.61 20.68 4.3 31.2 6.08 6.73 1.2 13.45 2.43 20.35 3.25a354.83 354.83 0 00128.81-7.4 248.88 248.88 0 0010.15 55.06 425.64 425.64 0 01-96.17 11.24 417.98 417.98 0 01-86.4-9.52L216.52 817.4a27.62 27.62 0 01-29.98-3.14 28.02 28.02 0 01-9.67-28.61l22.4-90.24A292.26 292.26 0 0164 456.21C64 285.98 227 148 428.09 148c190.93 0 347.29 124.53 362.52 282.82a244.97 244.97 0 00-26.47-2.62c-9.9.38-19.79 1.31-29.6 2.88zm-116.3 198.81a135.76 135.76 0 0047.05-19.04 114.24 114.24 0 0151.45-31 76.47 76.47 0 01-24.5 45.34 169.48 169.48 0 00-23.4 55.05 50.41 50.41 0 01-100.8.23 50.41 50.41 0 0150.2-50.58m90.8 121.32a168.6 168.6 0 0054.66 23.9 50.44 50.44 0 0135.64 86.08 50.38 50.38 0 01-86.04-35.66 136.74 136.74 0 00-18.67-47.28 114.71 114.71 0 01-30.54-51.8 76 76 0 0144.95 25.06z"}}]},name:"wechat-work",theme:"outlined"},HU=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HK}))}),HX={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-44.4 672C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-93-32.2c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zm34.9-14.5c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z"}}]},name:"weibo-circle",theme:"filled"},HG=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HX}))}),HQ={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-44.4 672C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-93-32.2c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zm34.9-14.5c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z"}}]},name:"weibo-circle",theme:"outlined"},HJ=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:HQ}))}),H1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M457.3 543c-68.1-17.7-145 16.2-174.6 76.2-30.1 61.2-1 129.1 67.8 151.3 71.2 23 155.2-12.2 184.4-78.3 28.7-64.6-7.2-131-77.6-149.2zm-52 156.2c-13.8 22.1-43.5 31.7-65.8 21.6-22-10-28.5-35.7-14.6-57.2 13.7-21.4 42.3-31 64.4-21.7 22.4 9.5 29.6 35 16 57.3zm45.5-58.5c-5 8.6-16.1 12.7-24.7 9.1-8.5-3.5-11.2-13.1-6.4-21.5 5-8.4 15.6-12.4 24.1-9.1 8.7 3.2 11.8 12.9 7 21.5zm334.5-197.2c15 4.8 31-3.4 35.9-18.3 11.8-36.6 4.4-78.4-23.2-109a111.39 111.39 0 00-106-34.3 28.45 28.45 0 00-21.9 33.8 28.39 28.39 0 0033.8 21.8c18.4-3.9 38.3 1.8 51.9 16.7a54.2 54.2 0 0111.3 53.3 28.45 28.45 0 0018.2 36zm99.8-206c-56.7-62.9-140.4-86.9-217.7-70.5a32.98 32.98 0 00-25.4 39.3 33.12 33.12 0 0039.3 25.5c55-11.7 114.4 5.4 154.8 50.1 40.3 44.7 51.2 105.7 34 159.1-5.6 17.4 3.9 36 21.3 41.7 17.4 5.6 36-3.9 41.6-21.2v-.1c24.1-75.4 8.9-161.1-47.9-223.9zM729 499c-12.2-3.6-20.5-6.1-14.1-22.1 13.8-34.7 15.2-64.7.3-86-28-40.1-104.8-37.9-192.8-1.1 0 0-27.6 12.1-20.6-9.8 13.5-43.5 11.5-79.9-9.6-101-47.7-47.8-174.6 1.8-283.5 110.6C127.3 471.1 80 557.5 80 632.2 80 775.1 263.2 862 442.5 862c235 0 391.3-136.5 391.3-245 0-65.5-55.2-102.6-104.8-118zM443 810.8c-143 14.1-266.5-50.5-275.8-144.5-9.3-93.9 99.2-181.5 242.2-195.6 143-14.2 266.5 50.5 275.8 144.4C694.4 709 586 796.6 443 810.8z"}}]},name:"weibo",theme:"outlined"},H4=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:H1}))}),H2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M433.6 595.1c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zM880 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-32zM467.6 736C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-58.1-46.7c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z"}}]},name:"weibo-square",theme:"filled"},H3=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:H2}))}),H8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M433.6 595.1c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zM880 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-32zM467.6 736C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-58.1-46.7c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z"}}]},name:"weibo-square",theme:"outlined"},H6=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:H8}))}),H0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M713.5 599.9c-10.9-5.6-65.2-32.2-75.3-35.8-10.1-3.8-17.5-5.6-24.8 5.6-7.4 11.1-28.4 35.8-35 43.3-6.4 7.4-12.9 8.3-23.8 2.8-64.8-32.4-107.3-57.8-150-131.1-11.3-19.5 11.3-18.1 32.4-60.2 3.6-7.4 1.8-13.7-1-19.3-2.8-5.6-24.8-59.8-34-81.9-8.9-21.5-18.1-18.5-24.8-18.9-6.4-.4-13.7-.4-21.1-.4-7.4 0-19.3 2.8-29.4 13.7-10.1 11.1-38.6 37.8-38.6 92s39.5 106.7 44.9 114.1c5.6 7.4 77.7 118.6 188.4 166.5 70 30.2 97.4 32.8 132.4 27.6 21.3-3.2 65.2-26.6 74.3-52.5 9.1-25.8 9.1-47.9 6.4-52.5-2.7-4.9-10.1-7.7-21-13z"}},{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"}}]},name:"whats-app",theme:"outlined"},H5=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:H0}))}),H7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z"}}]},name:"wifi",theme:"outlined"},H9=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:H7}))}),be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M523.8 191.4v288.9h382V128.1zm0 642.2l382 62.2v-352h-382zM120.1 480.2H443V201.9l-322.9 53.5zm0 290.4L443 823.2V543.8H120.1z"}}]},name:"windows",theme:"filled"},bt=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:be}))}),bc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M120.1 770.6L443 823.2V543.8H120.1v226.8zm63.4-163.5h196.2v141.6l-196.2-31.9V607.1zm340.3 226.5l382 62.2v-352h-382v289.8zm63.4-226.5h255.3v214.4l-255.3-41.6V607.1zm-63.4-415.7v288.8h382V128.1l-382 63.3zm318.7 225.5H587.3V245l255.3-42.3v214.2zm-722.4 63.3H443V201.9l-322.9 53.5v224.8zM183.5 309l196.2-32.5v140.4H183.5V309z"}}]},name:"windows",theme:"outlined"},bn=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bc}))}),ba={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M712.8 548.8c53.6-53.6 83.2-125 83.2-200.8 0-75.9-29.5-147.2-83.2-200.8C659.2 93.6 587.8 64 512 64s-147.2 29.5-200.8 83.2C257.6 200.9 228 272.1 228 348c0 63.8 20.9 124.4 59.4 173.9 7.3 9.4 15.2 18.3 23.7 26.9 8.5 8.5 17.5 16.4 26.8 23.7 39.6 30.8 86.3 50.4 136.1 57V736H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h114v140c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V812h114c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H550V629.5c61.5-8.2 118.2-36.1 162.8-80.7zM512 556c-55.6 0-107.7-21.6-147.1-60.9C325.6 455.8 304 403.6 304 348s21.6-107.7 60.9-147.1C404.2 161.5 456.4 140 512 140s107.7 21.6 147.1 60.9C698.4 240.2 720 292.4 720 348s-21.6 107.7-60.9 147.1C619.7 534.4 567.6 556 512 556z"}}]},name:"woman",theme:"outlined"},br=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:ba}))}),bl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"g",attrs:{"fill-rule":"evenodd"},children:[{tag:"path",attrs:{d:"M823.11 912H200.9A88.9 88.9 0 01112 823.11V200.9A88.9 88.9 0 01200.89 112H823.1A88.9 88.9 0 01912 200.89V823.1A88.9 88.9 0 01823.11 912"}},{tag:"path",attrs:{d:"M740 735H596.94L286 291h143.06zm-126.01-37.65h56.96L412 328.65h-56.96z","fill-rule":"nonzero"}},{tag:"path",attrs:{d:"M331.3 735L491 549.73 470.11 522 286 735zM521 460.39L541.21 489 715 289h-44.67z","fill-rule":"nonzero"}}]}]},name:"x",theme:"filled"},bo=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bl}))}),bi={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M921 912L601.11 445.75l.55.43L890.08 112H793.7L558.74 384 372.15 112H119.37l298.65 435.31-.04-.04L103 912h96.39L460.6 609.38 668.2 912zM333.96 184.73l448.83 654.54H706.4L257.2 184.73z"}}]},name:"x",theme:"outlined"},bu=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bi}))}),bs={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M937.3 231H824.7c-15.5 0-27.7 12.6-27.1 28.1l13.1 366h84.4l65.4-366.4c2.7-15.2-7.8-27.7-23.2-27.7zm-77.4 450.4h-14.1c-27.1 0-49.2 22.2-49.2 49.3v14.1c0 27.1 22.2 49.3 49.2 49.3h14.1c27.1 0 49.2-22.2 49.2-49.3v-14.1c0-27.1-22.2-49.3-49.2-49.3zM402.6 231C216.2 231 65 357 65 512.5S216.2 794 402.6 794s337.6-126 337.6-281.5S589.1 231 402.6 231zm225.2 225.2h-65.3L458.9 559.8v65.3h84.4v56.3H318.2v-56.3h84.4v-65.3L242.9 399.9h-37v-56.3h168.5v56.3h-37l93.4 93.5 28.1-28.1V400h168.8v56.2z"}}]},name:"yahoo",theme:"filled"},bf=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bs}))}),bh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 681.4h-14.1c-27.1 0-49.2 22.2-49.2 49.3v14.1c0 27.1 22.2 49.3 49.2 49.3h14.1c27.1 0 49.2-22.2 49.2-49.3v-14.1c0-27.1-22.2-49.3-49.2-49.3zM402.6 231C216.2 231 65 357 65 512.5S216.2 794 402.6 794s337.6-126 337.6-281.5S589.1 231 402.6 231zm0 507C245.1 738 121 634.6 121 512.5c0-62.3 32.3-119.7 84.9-161v48.4h37l159.8 159.9v65.3h-84.4v56.3h225.1v-56.3H459v-65.3l103.5-103.6h65.3v-56.3H459v65.3l-28.1 28.1-93.4-93.5h37v-56.3H216.4c49.4-35 114.3-56.6 186.2-56.6 157.6 0 281.6 103.4 281.6 225.5S560.2 738 402.6 738zm534.7-507H824.7c-15.5 0-27.7 12.6-27.1 28.1l13.1 366h84.4l65.4-366.4c2.7-15.2-7.8-27.7-23.2-27.7z"}}]},name:"yahoo",theme:"outlined"},bd=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bh}))}),bv={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M941.3 296.1a112.3 112.3 0 00-79.2-79.3C792.2 198 512 198 512 198s-280.2 0-350.1 18.7A112.12 112.12 0 0082.7 296C64 366 64 512 64 512s0 146 18.7 215.9c10.3 38.6 40.7 69 79.2 79.3C231.8 826 512 826 512 826s280.2 0 350.1-18.8c38.6-10.3 68.9-40.7 79.2-79.3C960 658 960 512 960 512s0-146-18.7-215.9zM423 646V378l232 133-232 135z"}}]},name:"youtube",theme:"filled"},bm=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bv}))}),bg={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M960 509.2c0-2.2 0-4.7-.1-7.6-.1-8.1-.3-17.2-.5-26.9-.8-27.9-2.2-55.7-4.4-81.9-3-36.1-7.4-66.2-13.4-88.8a139.52 139.52 0 00-98.3-98.5c-28.3-7.6-83.7-12.3-161.7-15.2-37.1-1.4-76.8-2.3-116.5-2.8-13.9-.2-26.8-.3-38.4-.4h-29.4c-11.6.1-24.5.2-38.4.4-39.7.5-79.4 1.4-116.5 2.8-78 3-133.5 7.7-161.7 15.2A139.35 139.35 0 0082.4 304C76.3 326.6 72 356.7 69 392.8c-2.2 26.2-3.6 54-4.4 81.9-.3 9.7-.4 18.8-.5 26.9 0 2.9-.1 5.4-.1 7.6v5.6c0 2.2 0 4.7.1 7.6.1 8.1.3 17.2.5 26.9.8 27.9 2.2 55.7 4.4 81.9 3 36.1 7.4 66.2 13.4 88.8 12.8 47.9 50.4 85.7 98.3 98.5 28.2 7.6 83.7 12.3 161.7 15.2 37.1 1.4 76.8 2.3 116.5 2.8 13.9.2 26.8.3 38.4.4h29.4c11.6-.1 24.5-.2 38.4-.4 39.7-.5 79.4-1.4 116.5-2.8 78-3 133.5-7.7 161.7-15.2 47.9-12.8 85.5-50.5 98.3-98.5 6.1-22.6 10.4-52.7 13.4-88.8 2.2-26.2 3.6-54 4.4-81.9.3-9.7.4-18.8.5-26.9 0-2.9.1-5.4.1-7.6v-5.6zm-72 5.2c0 2.1 0 4.4-.1 7.1-.1 7.8-.3 16.4-.5 25.7-.7 26.6-2.1 53.2-4.2 77.9-2.7 32.2-6.5 58.6-11.2 76.3-6.2 23.1-24.4 41.4-47.4 47.5-21 5.6-73.9 10.1-145.8 12.8-36.4 1.4-75.6 2.3-114.7 2.8-13.7.2-26.4.3-37.8.3h-28.6l-37.8-.3c-39.1-.5-78.2-1.4-114.7-2.8-71.9-2.8-124.9-7.2-145.8-12.8-23-6.2-41.2-24.4-47.4-47.5-4.7-17.7-8.5-44.1-11.2-76.3-2.1-24.7-3.4-51.3-4.2-77.9-.3-9.3-.4-18-.5-25.7 0-2.7-.1-5.1-.1-7.1v-4.8c0-2.1 0-4.4.1-7.1.1-7.8.3-16.4.5-25.7.7-26.6 2.1-53.2 4.2-77.9 2.7-32.2 6.5-58.6 11.2-76.3 6.2-23.1 24.4-41.4 47.4-47.5 21-5.6 73.9-10.1 145.8-12.8 36.4-1.4 75.6-2.3 114.7-2.8 13.7-.2 26.4-.3 37.8-.3h28.6l37.8.3c39.1.5 78.2 1.4 114.7 2.8 71.9 2.8 124.9 7.2 145.8 12.8 23 6.2 41.2 24.4 47.4 47.5 4.7 17.7 8.5 44.1 11.2 76.3 2.1 24.7 3.4 51.3 4.2 77.9.3 9.3.4 18 .5 25.7 0 2.7.1 5.1.1 7.1v4.8zM423 646l232-135-232-133z"}}]},name:"youtube",theme:"outlined"},bz=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bg}))}),bp=c(65886),bw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.8-8.1-194.9-3-195-3 .1 0 87.4 55.6 52.4 154.7-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6zm-204.1 334c-10.6 0-26.2.1-46.8.3l-23.6.2-17.8 15.5c-47.1 41-104.4 71.5-171.4 87.6-52.5 12.6-110 16.2-172.7 9.6 18-20.5 36.5-41.6 55.4-63.1 92-104.6 173.8-197.5 236.9-268.5l1.4-1.4 1.3-1.5c4.1-4.6 20.6-23.3 24.7-28.1 9.7-11.1 17.3-19.9 24.5-28.6 30.7-36.7 52.2-67.8 69-102.2l1.6-3.3 1.2-3.4c13.7-38.8 15.4-76.9 6.2-112.8 22.5.7 46.5 1.9 71.7 3.6 33.3 2.3 55.5 12.9 71.1 29.2 5.8 6 10.2 12.5 13.4 18.7 1 2 1.7 3.6 2.3 5l5 17.7c-15.7 34.5-19.9 73.3-11.4 107.2 3 11.8 6.9 22.4 12.3 34.4 2.1 4.7 9.5 20.1 11 23.3 10.3 22.7 15.4 43 16.7 78.7 3.3 94.6-82.7 181.9-182 181.9z"}}]},name:"yuque",theme:"outlined"},bM=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bw}))}),bZ={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-90.7 477.8l-.1 1.5c-1.5 20.4-6.3 43.9-12.9 67.6l24-18.1 71 80.7c9.2 33-3.3 63.1-3.3 63.1l-95.7-111.9v-.1c-8.9 29-20.1 57.3-33.3 84.7-22.6 45.7-55.2 54.7-89.5 57.7-34.4 3-23.3-5.3-23.3-5.3 68-55.5 78-87.8 96.8-123.1 11.9-22.3 20.4-64.3 25.3-96.8H264.1s4.8-31.2 19.2-41.7h101.6c.6-15.3-1.3-102.8-2-131.4h-49.4c-9.2 45-41 56.7-48.1 60.1-7 3.4-23.6 7.1-21.1 0 2.6-7.1 27-46.2 43.2-110.7 16.3-64.6 63.9-62 63.9-62-12.8 22.5-22.4 73.6-22.4 73.6h159.7c10.1 0 10.6 39 10.6 39h-90.8c-.7 22.7-2.8 83.8-5 131.4H519s12.2 15.4 12.2 41.7H421.3zm346.5 167h-87.6l-69.5 46.6-16.4-46.6h-40.1V321.5h213.6v387.3zM408.2 611s0-.1 0 0zm216 94.3l56.8-38.1h45.6-.1V364.7H596.7v302.5h14.1z"}}]},name:"zhihu-circle",theme:"filled"},bH=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bZ}))}),bb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M564.7 230.1V803h60l25.2 71.4L756.3 803h131.5V230.1H564.7zm247.7 497h-59.9l-75.1 50.4-17.8-50.4h-18V308.3h170.7v418.8zM526.1 486.9H393.3c2.1-44.9 4.3-104.3 6.6-172.9h130.9l-.1-8.1c0-.6-.2-14.7-2.3-29.1-2.1-15-6.6-34.9-21-34.9H287.8c4.4-20.6 15.7-69.7 29.4-93.8l6.4-11.2-12.9-.7c-.8 0-19.6-.9-41.4 10.6-35.7 19-51.7 56.4-58.7 84.4-18.4 73.1-44.6 123.9-55.7 145.6-3.3 6.4-5.3 10.2-6.2 12.8-1.8 4.9-.8 9.8 2.8 13 10.5 9.5 38.2-2.9 38.5-3 .6-.3 1.3-.6 2.2-1 13.9-6.3 55.1-25 69.8-84.5h56.7c.7 32.2 3.1 138.4 2.9 172.9h-141l-2.1 1.5c-23.1 16.9-30.5 63.2-30.8 65.2l-1.4 9.2h167c-12.3 78.3-26.5 113.4-34 127.4-3.7 7-7.3 14-10.7 20.8-21.3 42.2-43.4 85.8-126.3 153.6-3.6 2.8-7 8-4.8 13.7 2.4 6.3 9.3 9.1 24.6 9.1 5.4 0 11.8-.3 19.4-1 49.9-4.4 100.8-18 135.1-87.6 17-35.1 31.7-71.7 43.9-108.9L497 850l5-12c.8-1.9 19-46.3 5.1-95.9l-.5-1.8-108.1-123-22 16.6c6.4-26.1 10.6-49.9 12.5-71.1h158.7v-8c0-40.1-18.5-63.9-19.2-64.9l-2.4-3z"}}]},name:"zhihu",theme:"outlined"},bV=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bb}))}),bC={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-32zM432.3 592.8l71 80.7c9.2 33-3.3 63.1-3.3 63.1l-95.7-111.9v-.1c-8.9 29-20.1 57.3-33.3 84.7-22.6 45.7-55.2 54.7-89.5 57.7-34.4 3-23.3-5.3-23.3-5.3 68-55.5 78-87.8 96.8-123.1 11.9-22.3 20.4-64.3 25.3-96.8H264.1s4.8-31.2 19.2-41.7h101.6c.6-15.3-1.3-102.8-2-131.4h-49.4c-9.2 45-41 56.7-48.1 60.1-7 3.4-23.6 7.1-21.1 0 2.6-7.1 27-46.2 43.2-110.7 16.3-64.6 63.9-62 63.9-62-12.8 22.5-22.4 73.6-22.4 73.6h159.7c10.1 0 10.6 39 10.6 39h-90.8c-.7 22.7-2.8 83.8-5 131.4H519s12.2 15.4 12.2 41.7h-110l-.1 1.5c-1.5 20.4-6.3 43.9-12.9 67.6l24.1-18.1zm335.5 116h-87.6l-69.5 46.6-16.4-46.6h-40.1V321.5h213.6v387.3zM408.2 611s0-.1 0 0zm216 94.3l56.8-38.1h45.6-.1V364.7H596.7v302.5h14.1z"}}]},name:"zhihu-square",theme:"filled"},bx=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:bC}))}),bE=c(35598),bL=c(15668),bR=c(59068),by=c(91321),bB=c(16165),bS=n.Z.Provider},3303:function(e,t,c){"use strict";c.d(t,{Z:function(){return eD}});var n=c(74902),a=c(67294),r=c(93967),l=c.n(r),o=c(87462),i=c(1413),u=c(97685),s=c(45987),f=c(82275),h=c(88708),d=c(66680),v=c(21770),m=a.createContext({}),g=c(71002),z=c(4942),p="__rc_cascader_search_mark__",w=function(e,t,c){var n=c.label,a=void 0===n?"":n;return t.some(function(t){return String(t[a]).toLowerCase().includes(e.toLowerCase())})},M=function(e,t,c,n){return t.map(function(e){return e[n.label]}).join(" / ")},Z=function(e,t,c,r,l,o){var u=l.filter,s=void 0===u?w:u,f=l.render,h=void 0===f?M:f,d=l.limit,v=void 0===d?50:d,m=l.sort;return a.useMemo(function(){var a=[];return e?(!function t(l,u){var f=arguments.length>2&&void 0!==arguments[2]&&arguments[2];l.forEach(function(l){if(m||!1===v||!(v>0)||!(a.length>=v)){var d=[].concat((0,n.Z)(u),[l]),g=l[c.children],w=f||l.disabled;(!g||0===g.length||o)&&s(e,d,{label:c.label})&&a.push((0,i.Z)((0,i.Z)({},l),{},(0,z.Z)((0,z.Z)((0,z.Z)({disabled:w},c.label,h(e,d,r,c)),p,d),c.children,void 0))),g&&t(l[c.children],d,w)}})}(t,[]),m&&a.sort(function(t,n){return m(t[p],n[p],e,c)}),!1!==v&&v>0?a.slice(0,v):a):[]},[e,t,c,r,h,o,s,m,v])},H="__RC_CASCADER_SPLIT__",b="SHOW_PARENT",V="SHOW_CHILD";function C(e){return e.join(H)}function x(e){return e.map(C)}function E(e){var t=e||{},c=t.label,n=t.value,a=t.children,r=n||"value";return{label:c||"label",value:r,key:r,children:a||"children"}}function L(e,t){var c,n;return null!==(c=e.isLeaf)&&void 0!==c?c:!(null!==(n=e[t.children])&&void 0!==n&&n.length)}function R(e,t){return e.map(function(e){var c;return null===(c=e[p])||void 0===c?void 0:c.map(function(e){return e[t.value]})})}function y(e){return e?Array.isArray(e)&&Array.isArray(e[0])?e:(0===e.length?[]:[e]).map(function(e){return Array.isArray(e)?e:[e]}):[]}function B(e,t,c){var n=new Set(e),a=t();return e.filter(function(e){var t=a[e],r=t?t.parent:null,l=t?t.children:null;return!!t&&!!t.node.disabled||(c===V?!(l&&l.some(function(e){return e.key&&n.has(e.key)})):!(r&&!r.node.disabled&&n.has(r.key)))})}function S(e,t,c){for(var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=t,r=[],l=0;l1?H(z.slice(0,-1)):h(!1)},x=function(){var e,t=((null===(e=M[w])||void 0===e?void 0:e[c.children])||[]).find(function(e){return!e.disabled});t&&H([].concat((0,n.Z)(z),[t[c.value]]))};a.useImperativeHandle(e,function(){return{onKeyDown:function(e){var t=e.which;switch(t){case j.Z.UP:case j.Z.DOWN:var n=0;t===j.Z.UP?n=-1:t===j.Z.DOWN&&(n=1),0!==n&&b(n);break;case j.Z.LEFT:if(f)break;v?x():V();break;case j.Z.RIGHT:if(f)break;v?V():x();break;case j.Z.BACKSPACE:f||V();break;case j.Z.ENTER:if(z.length){var a=M[w],r=(null==a?void 0:a[p])||[];r.length?o(r.map(function(e){return e[c.value]}),r[r.length-1]):o(z,M[w])}break;case j.Z.ESC:h(!1),d&&e.stopPropagation()}},onKeyUp:function(){}}})},_=a.forwardRef(function(e,t){var c,r=e.prefixCls,s=e.multiple,f=e.searchValue,h=e.toggleOpen,d=e.notFoundContent,v=e.direction,g=e.open,p=a.useRef(null),w=a.useContext(m),M=w.options,Z=w.values,b=w.halfValues,V=w.fieldNames,E=w.changeOnSelect,y=w.onSelect,B=w.searchOptions,O=w.dropdownPrefixCls,k=w.loadData,T=w.expandTrigger,$=O||r,F=a.useState([]),I=(0,u.Z)(F,2),A=I[0],N=I[1],j=function(e){if(k&&!f){var t=S(e,M,V).map(function(e){return e.option}),c=t[t.length-1];if(c&&!L(c,V)){var a=C(e);N(function(e){return[].concat((0,n.Z)(e),[a])}),k(t)}}};a.useEffect(function(){A.length&&A.forEach(function(e){var t=S(e.split(H),M,V,!0).map(function(e){return e.option}),c=t[t.length-1];(!c||c[V.children]||L(c,V))&&N(function(t){return t.filter(function(t){return t!==e})})})},[M,A,V]);var _=a.useMemo(function(){return new Set(x(Z))},[Z]),K=a.useMemo(function(){return new Set(x(b))},[b]),U=W(s,g),X=(0,u.Z)(U,2),G=X[0],Q=X[1],J=function(e){Q(e),j(e)},ee=function(e){var t=e.disabled,c=L(e,V);return!t&&(c||E||s)},et=function(e,t){var c=arguments.length>2&&void 0!==arguments[2]&&arguments[2];y(e),!s&&(t||E&&("hover"===T||c))&&h(!1)},ec=a.useMemo(function(){return f?B:M},[f,B,M]),en=a.useMemo(function(){for(var e=[{options:ec}],t=ec,c=R(t,V),n=0;nt.offsetHeight&&t.scrollTo({top:c+e.offsetHeight-t.offsetHeight})}}(n)}},[G]);var ea=!(null!==(c=en[0])&&void 0!==c&&null!==(c=c.options)&&void 0!==c&&c.length),er=[(0,z.Z)((0,z.Z)((0,z.Z)({},V.value,"__EMPTY__"),P,d),"disabled",!0)],el=(0,i.Z)((0,i.Z)({},e),{},{multiple:!ea&&s,onSelect:et,onActive:J,onToggleOpen:h,checkedSet:_,halfCheckedSet:K,loadingKeys:A,isSelectable:ee}),eo=(ea?[{options:er}]:en).map(function(e,t){var c=G.slice(0,t),n=G[t];return a.createElement(q,(0,o.Z)({key:t},el,{searchValue:f,prefixCls:$,options:e.options,prevValuePath:c,activeValue:n}))});return a.createElement(D,{open:g},a.createElement("div",{className:l()("".concat($,"-menus"),(0,z.Z)((0,z.Z)({},"".concat($,"-menu-empty"),ea),"".concat($,"-rtl"),"rtl"===v)),ref:p},eo))}),K=a.forwardRef(function(e,t){var c=(0,f.lk)();return a.createElement(_,(0,o.Z)({},e,c,{ref:t}))}),U=c(56790);function X(){}function G(e){var t=e.prefixCls,c=void 0===t?"rc-cascader":t,n=e.style,r=e.className,o=e.options,i=e.checkable,s=e.defaultValue,f=e.value,h=e.fieldNames,d=e.changeOnSelect,v=e.onChange,g=e.showCheckedStrategy,p=e.loadData,w=e.expandTrigger,M=e.expandIcon,Z=void 0===M?">":M,H=e.loadingIcon,b=e.direction,V=e.notFoundContent,C=void 0===V?"Not Found":V,x=!!i,L=(0,U.C8)(s,{value:f,postState:y}),R=(0,u.Z)(L,2),B=R[0],k=R[1],T=a.useMemo(function(){return E(h)},[JSON.stringify(h)]),F=$(T,o),D=(0,u.Z)(F,3),N=D[0],P=D[1],q=D[2],W=A(x,B,P,q,O(N,T)),j=(0,u.Z)(W,3),Y=j[0],K=j[1],G=j[2],Q=(0,U.zX)(function(e){if(k(e),v){var t=y(e),c=t.map(function(e){return S(e,N,T).map(function(e){return e.option})});v(x?t:t[0],x?c:c[0])}}),J=I(x,Q,Y,K,G,P,q,g),ee=(0,U.zX)(function(e){J(e)}),et=a.useMemo(function(){return{options:N,fieldNames:T,values:Y,halfValues:K,changeOnSelect:d,onSelect:ee,checkable:i,searchOptions:[],dropdownPrefixCls:void 0,loadData:p,expandTrigger:w,expandIcon:Z,loadingIcon:H,dropdownMenuColumnStyle:void 0}},[N,T,Y,K,d,ee,i,p,w,Z,H]),ec="".concat(c,"-panel"),en=!N.length;return a.createElement(m.Provider,{value:et},a.createElement("div",{className:l()(ec,(0,z.Z)((0,z.Z)({},"".concat(ec,"-rtl"),"rtl"===b),"".concat(ec,"-empty"),en),r),style:n},en?C:a.createElement(_,{prefixCls:c,searchValue:"",multiple:x,toggleOpen:X,open:!0,direction:b})))}var Q=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","dropdownStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy","optionRender"],J=a.forwardRef(function(e,t){var c,r=e.id,l=e.prefixCls,z=void 0===l?"rc-cascader":l,p=e.fieldNames,w=e.defaultValue,M=e.value,H=e.changeOnSelect,V=e.onChange,L=e.displayRender,R=e.checkable,k=e.autoClearSearchValue,T=void 0===k||k,F=e.searchValue,D=e.onSearch,N=e.showSearch,P=e.expandTrigger,q=e.options,W=e.dropdownPrefixCls,j=e.loadData,Y=e.popupVisible,_=e.open,U=e.popupClassName,X=e.dropdownClassName,G=e.dropdownMenuColumnStyle,J=e.dropdownStyle,ee=e.popupPlacement,et=e.placement,ec=e.onDropdownVisibleChange,en=e.onPopupVisibleChange,ea=e.expandIcon,er=void 0===ea?">":ea,el=e.loadingIcon,eo=e.children,ei=e.dropdownMatchSelectWidth,eu=e.showCheckedStrategy,es=void 0===eu?b:eu,ef=e.optionRender,eh=(0,s.Z)(e,Q),ed=(0,h.ZP)(r),ev=!!R,em=(0,v.Z)(w,{value:M,postState:y}),eg=(0,u.Z)(em,2),ez=eg[0],ep=eg[1],ew=a.useMemo(function(){return E(p)},[JSON.stringify(p)]),eM=$(ew,q),eZ=(0,u.Z)(eM,3),eH=eZ[0],eb=eZ[1],eV=eZ[2],eC=(0,v.Z)("",{value:F,postState:function(e){return e||""}}),ex=(0,u.Z)(eC,2),eE=ex[0],eL=ex[1],eR=a.useMemo(function(){if(!N)return[!1,{}];var e={matchInputWidth:!0,limit:50};return N&&"object"===(0,g.Z)(N)&&(e=(0,i.Z)((0,i.Z)({},e),N)),e.limit<=0&&delete e.limit,[!0,e]},[N]),ey=(0,u.Z)(eR,2),eB=ey[0],eS=ey[1],eO=Z(eE,eH,ew,W||z,eS,H),ek=A(ev,ez,eb,eV,O(eH,ew)),eT=(0,u.Z)(ek,3),e$=eT[0],eF=eT[1],eI=eT[2],eA=(c=a.useMemo(function(){var e=B(x(e$),eb,es);return[].concat((0,n.Z)(eI),(0,n.Z)(eV(e)))},[e$,eb,eV,eI,es]),a.useMemo(function(){var e=L||function(e){var t=ev?e.slice(-1):e;return t.every(function(e){return["string","number"].includes((0,g.Z)(e))})?t.join(" / "):t.reduce(function(e,t,c){var r=a.isValidElement(t)?a.cloneElement(t,{key:c}):t;return 0===c?[r]:[].concat((0,n.Z)(e),[" / ",r])},[])};return c.map(function(t){var c,n=S(t,eH,ew),a=e(n.map(function(e){var t,c=e.option,n=e.value;return null!==(t=null==c?void 0:c[ew.label])&&void 0!==t?t:n}),n.map(function(e){return e.option})),r=C(t);return{label:a,value:r,key:r,valueCells:t,disabled:null===(c=n[n.length-1])||void 0===c||null===(c=c.option)||void 0===c?void 0:c.disabled}})},[c,eH,ew,L,ev])),eD=(0,d.Z)(function(e){if(ep(e),V){var t=y(e),c=t.map(function(e){return S(e,eH,ew).map(function(e){return e.option})});V(ev?t:t[0],ev?c:c[0])}}),eN=I(ev,eD,e$,eF,eI,eb,eV,es),eP=(0,d.Z)(function(e){(!ev||T)&&eL(""),eN(e)}),eq=a.useMemo(function(){return{options:eH,fieldNames:ew,values:e$,halfValues:eF,changeOnSelect:H,onSelect:eP,checkable:R,searchOptions:eO,dropdownPrefixCls:W,loadData:j,expandTrigger:P,expandIcon:er,loadingIcon:el,dropdownMenuColumnStyle:G,optionRender:ef}},[eH,ew,e$,eF,H,eP,R,eO,W,j,P,er,el,G,ef]),eW=!(eE?eO:eH).length,ej=eE&&eS.matchInputWidth||eW?{}:{minWidth:"auto"};return a.createElement(m.Provider,{value:eq},a.createElement(f.Ac,(0,o.Z)({},eh,{ref:t,id:ed,prefixCls:z,autoClearSearchValue:T,dropdownMatchSelectWidth:void 0!==ei&&ei,dropdownStyle:(0,i.Z)((0,i.Z)({},ej),J),displayValues:eA,onDisplayValuesChange:function(e,t){if("clear"===t.type){eD([]);return}eP(t.values[0].valueCells)},mode:ev?"multiple":void 0,searchValue:eE,onSearch:function(e,t){eL(e),"blur"!==t.source&&D&&D(e)},showSearch:eB,OptionList:K,emptyOptions:eW,open:void 0!==_?_:Y,dropdownClassName:X||U,placement:et||ee,onDropdownVisibleChange:function(e){null==ec||ec(e),null==en||en(e)},getRawInputElement:function(){return eo}})))});J.SHOW_PARENT=b,J.SHOW_CHILD=V,J.Panel=G;var ee=c(98423),et=c(87263),ec=c(33603),en=c(8745),ea=c(9708),er=c(53124),el=c(88258),eo=c(98866),ei=c(35792),eu=c(98675),es=c(65223),ef=c(27833),eh=c(30307),ed=c(15030),ev=c(43277),em=c(78642),eg=c(4173),ez=function(e,t){let{getPrefixCls:c,direction:n,renderEmpty:r}=a.useContext(er.E_),l=c("select",e),o=c("cascader",e);return[l,o,t||n,r]};function ep(e,t){return a.useMemo(()=>!!t&&a.createElement("span",{className:`${e}-checkbox-inner`}),[t])}var ew=c(6171),eM=c(50888),eZ=c(18073),eH=(e,t,c)=>{let n=c;c||(n=t?a.createElement(ew.Z,null):a.createElement(eZ.Z,null));let r=a.createElement("span",{className:`${e}-menu-item-loading-icon`},a.createElement(eM.Z,{spin:!0}));return a.useMemo(()=>[n,r],[n])},eb=c(80110),eV=c(83559),eC=c(25446),ex=c(63185),eE=c(14747),eL=e=>{let{prefixCls:t,componentCls:c}=e,n=`${c}-menu-item`,a=` + &${n}-expand ${n}-expand-icon, + ${n}-loading-icon +`;return[(0,ex.C2)(`${t}-checkbox`,e),{[c]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${c}-menu-empty`]:{[`${c}-menu`]:{width:"100%",height:"auto",[n]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,eC.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&-item":Object.assign(Object.assign({},eE.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:e.optionPadding,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[a]:{color:e.colorTextDisabled}},[`&-active:not(${n}-disabled)`]:{"&, &:hover":{fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg}},"&-content":{flex:"auto"},[a]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]};let eR=e=>{let{componentCls:t,antCls:c}=e;return[{[t]:{width:e.controlWidth}},{[`${t}-dropdown`]:[{[`&${c}-select-dropdown`]:{padding:0}},eL(e)]},{[`${t}-dropdown-rtl`]:{direction:"rtl"}},(0,eb.c)(e)]},ey=e=>{let t=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:e.controlItemBgActive,optionSelectedFontWeight:e.fontWeightStrong,optionPadding:`${t}px ${e.paddingSM}px`,menuPadding:e.paddingXXS}};var eB=(0,eV.I$)("Cascader",e=>[eR(e)],ey);let eS=e=>{let{componentCls:t}=e;return{[`${t}-panel`]:[eL(e),{display:"inline-flex",border:`${(0,eC.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:e.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${t}-menus`]:{alignItems:"stretch"},[`${t}-menu`]:{height:"auto"},"&-empty":{padding:e.paddingXXS}}]}};var eO=(0,eV.A1)(["Cascader","Panel"],e=>eS(e),ey),ek=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(c[n[a]]=e[n[a]]);return c};let{SHOW_CHILD:eT,SHOW_PARENT:e$}=J,eF=(e,t,c,r)=>{let l=[],o=e.toLowerCase();return t.forEach((e,t)=>{0!==t&&l.push(" / ");let i=e[r.label],u=typeof i;("string"===u||"number"===u)&&(i=function(e,t,c){let r=e.toLowerCase().split(t).reduce((e,c,a)=>0===a?[c]:[].concat((0,n.Z)(e),[t,c]),[]),l=[],o=0;return r.forEach((t,n)=>{let r=o+t.length,i=e.slice(o,r);o=r,n%2==1&&(i=a.createElement("span",{className:`${c}-menu-item-keyword`,key:`separator-${n}`},i)),l.push(i)}),l}(String(i),o,c)),l.push(i)}),l},eI=a.forwardRef((e,t)=>{var c;let{prefixCls:n,size:r,disabled:o,className:i,rootClassName:u,multiple:s,bordered:f=!0,transitionName:h,choiceTransitionName:d="",popupClassName:v,dropdownClassName:m,expandIcon:g,placement:z,showSearch:p,allowClear:w=!0,notFoundContent:M,direction:Z,getPopupContainer:H,status:b,showArrow:V,builtinPlacements:C,style:x,variant:E}=e,L=ek(e,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),R=(0,ee.Z)(L,["suffixIcon"]),{getPopupContainer:y,getPrefixCls:B,popupOverflow:S,cascader:O}=a.useContext(er.E_),{status:k,hasFeedback:T,isFormItemInput:$,feedbackIcon:F}=a.useContext(es.aM),I=(0,ea.F)(k,b),[A,D,N,P]=ez(n,Z),q="rtl"===N,W=B(),j=(0,ei.Z)(A),[Y,_,K]=(0,ed.Z)(A,j),U=(0,ei.Z)(D),[X]=eB(D,U),{compactSize:G,compactItemClassnames:Q}=(0,eg.ri)(A,Z),[en,ew]=(0,ef.Z)("cascader",E,f),eM=M||(null==P?void 0:P("Cascader"))||a.createElement(el.Z,{componentName:"Cascader"}),eZ=l()(v||m,`${D}-dropdown`,{[`${D}-dropdown-rtl`]:"rtl"===N},u,j,U,_,K),eb=a.useMemo(()=>{if(!p)return p;let e={render:eF};return"object"==typeof p&&(e=Object.assign(Object.assign({},e),p)),e},[p]),eV=(0,eu.Z)(e=>{var t;return null!==(t=null!=r?r:G)&&void 0!==t?t:e}),eC=a.useContext(eo.Z),[ex,eE]=eH(A,q,g),eL=ep(D,s),eR=(0,em.Z)(e.suffixIcon,V),{suffixIcon:ey,removeIcon:eS,clearIcon:eO}=(0,ev.Z)(Object.assign(Object.assign({},e),{hasFeedback:T,feedbackIcon:F,showSuffixIcon:eR,multiple:s,prefixCls:A,componentName:"Cascader"})),eT=a.useMemo(()=>void 0!==z?z:q?"bottomRight":"bottomLeft",[z,q]),[e$]=(0,et.Cn)("SelectLike",null===(c=R.dropdownStyle)||void 0===c?void 0:c.zIndex),eI=a.createElement(J,Object.assign({prefixCls:A,className:l()(!n&&D,{[`${A}-lg`]:"large"===eV,[`${A}-sm`]:"small"===eV,[`${A}-rtl`]:q,[`${A}-${en}`]:ew,[`${A}-in-form-item`]:$},(0,ea.Z)(A,I,T),Q,null==O?void 0:O.className,i,u,j,U,_,K),disabled:null!=o?o:eC,style:Object.assign(Object.assign({},null==O?void 0:O.style),x)},R,{builtinPlacements:(0,eh.Z)(C,S),direction:N,placement:eT,notFoundContent:eM,allowClear:!0===w?{clearIcon:eO}:w,showSearch:eb,expandIcon:ex,suffixIcon:ey,removeIcon:eS,loadingIcon:eE,checkable:eL,dropdownClassName:eZ,dropdownPrefixCls:n||D,dropdownStyle:Object.assign(Object.assign({},R.dropdownStyle),{zIndex:e$}),choiceTransitionName:(0,ec.m)(W,"",d),transitionName:(0,ec.m)(W,"slide-up",h),getPopupContainer:H||y,ref:t}));return X(Y(eI))}),eA=(0,en.Z)(eI);eI.SHOW_PARENT=e$,eI.SHOW_CHILD=eT,eI.Panel=function(e){let{prefixCls:t,className:c,multiple:n,rootClassName:r,notFoundContent:o,direction:i,expandIcon:u}=e,[s,f,h,d]=ez(t,i),v=(0,ei.Z)(f),[m,g,z]=eB(f,v);eO(f);let[p,w]=eH(s,"rtl"===h,u),M=o||(null==d?void 0:d("Cascader"))||a.createElement(el.Z,{componentName:"Cascader"}),Z=ep(f,n);return m(a.createElement(G,Object.assign({},e,{checkable:Z,prefixCls:f,className:l()(c,g,r,z,v),notFoundContent:M,direction:h,expandIcon:p,loadingIcon:w})))},eI._InternalPanelDoNotUseOrYouWillBeFired=eA;var eD=eI},47221:function(e,t,c){"use strict";c.d(t,{Z:function(){return W}});var n=c(67294),a=c(18073),r=c(93967),l=c.n(r),o=c(87462),i=c(74902),u=c(97685),s=c(71002),f=c(21770),h=c(80334),d=c(45987),v=c(50344),m=c(4942),g=c(29372),z=c(15105),p=n.forwardRef(function(e,t){var c=e.prefixCls,a=e.forceRender,r=e.className,o=e.style,i=e.children,s=e.isActive,f=e.role,h=n.useState(s||a),d=(0,u.Z)(h,2),v=d[0],g=d[1];return(n.useEffect(function(){(a||s)&&g(!0)},[a,s]),v)?n.createElement("div",{ref:t,className:l()("".concat(c,"-content"),(0,m.Z)((0,m.Z)({},"".concat(c,"-content-active"),s),"".concat(c,"-content-inactive"),!s),r),style:o,role:f},n.createElement("div",{className:"".concat(c,"-content-box")},i)):null});p.displayName="PanelContent";var w=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],M=n.forwardRef(function(e,t){var c=e.showArrow,a=void 0===c||c,r=e.headerClass,i=e.isActive,u=e.onItemClick,s=e.forceRender,f=e.className,h=e.prefixCls,v=e.collapsible,M=e.accordion,Z=e.panelKey,H=e.extra,b=e.header,V=e.expandIcon,C=e.openMotion,x=e.destroyInactivePanel,E=e.children,L=(0,d.Z)(e,w),R="disabled"===v,y="header"===v,B="icon"===v,S=null!=H&&"boolean"!=typeof H,O=function(){null==u||u(Z)},k="function"==typeof V?V(e):n.createElement("i",{className:"arrow"});k&&(k=n.createElement("div",{className:"".concat(h,"-expand-icon"),onClick:["header","icon"].includes(v)?O:void 0},k));var T=l()((0,m.Z)((0,m.Z)((0,m.Z)({},"".concat(h,"-item"),!0),"".concat(h,"-item-active"),i),"".concat(h,"-item-disabled"),R),f),$={className:l()(r,(0,m.Z)((0,m.Z)((0,m.Z)({},"".concat(h,"-header"),!0),"".concat(h,"-header-collapsible-only"),y),"".concat(h,"-icon-collapsible-only"),B)),"aria-expanded":i,"aria-disabled":R,onKeyDown:function(e){("Enter"===e.key||e.keyCode===z.Z.ENTER||e.which===z.Z.ENTER)&&O()}};return y||B||($.onClick=O,$.role=M?"tab":"button",$.tabIndex=R?-1:0),n.createElement("div",(0,o.Z)({},L,{ref:t,className:T}),n.createElement("div",$,a&&k,n.createElement("span",{className:"".concat(h,"-header-text"),onClick:"header"===v?O:void 0},b),S&&n.createElement("div",{className:"".concat(h,"-extra")},H)),n.createElement(g.ZP,(0,o.Z)({visible:i,leavedClassName:"".concat(h,"-content-hidden")},C,{forceRender:s,removeOnLeave:x}),function(e,t){var c=e.className,a=e.style;return n.createElement(p,{ref:t,prefixCls:h,className:c,style:a,isActive:i,forceRender:s,role:M?"tabpanel":void 0},E)}))}),Z=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],H=function(e,t){var c=t.prefixCls,a=t.accordion,r=t.collapsible,l=t.destroyInactivePanel,i=t.onItemClick,u=t.activeKey,s=t.openMotion,f=t.expandIcon;return e.map(function(e,t){var h=e.children,v=e.label,m=e.key,g=e.collapsible,z=e.onItemClick,p=e.destroyInactivePanel,w=(0,d.Z)(e,Z),H=String(null!=m?m:t),b=null!=g?g:r,V=!1;return V=a?u[0]===H:u.indexOf(H)>-1,n.createElement(M,(0,o.Z)({},w,{prefixCls:c,key:H,panelKey:H,isActive:V,accordion:a,openMotion:s,expandIcon:f,header:v,collapsible:b,onItemClick:function(e){"disabled"!==b&&(i(e),null==z||z(e))},destroyInactivePanel:null!=p?p:l}),h)})},b=function(e,t,c){if(!e)return null;var a=c.prefixCls,r=c.accordion,l=c.collapsible,o=c.destroyInactivePanel,i=c.onItemClick,u=c.activeKey,s=c.openMotion,f=c.expandIcon,h=e.key||String(t),d=e.props,v=d.header,m=d.headerClass,g=d.destroyInactivePanel,z=d.collapsible,p=d.onItemClick,w=!1;w=r?u[0]===h:u.indexOf(h)>-1;var M=null!=z?z:l,Z={key:h,panelKey:h,header:v,headerClass:m,isActive:w,prefixCls:a,destroyInactivePanel:null!=g?g:o,openMotion:s,accordion:r,children:e.props.children,onItemClick:function(e){"disabled"!==M&&(i(e),null==p||p(e))},expandIcon:f,collapsible:M};return"string"==typeof e.type?e:(Object.keys(Z).forEach(function(e){void 0===Z[e]&&delete Z[e]}),n.cloneElement(e,Z))},V=c(64217);function C(e){var t=e;if(!Array.isArray(t)){var c=(0,s.Z)(t);t="number"===c||"string"===c?[t]:[]}return t.map(function(e){return String(e)})}var x=Object.assign(n.forwardRef(function(e,t){var c,a=e.prefixCls,r=void 0===a?"rc-collapse":a,s=e.destroyInactivePanel,d=e.style,m=e.accordion,g=e.className,z=e.children,p=e.collapsible,w=e.openMotion,M=e.expandIcon,Z=e.activeKey,x=e.defaultActiveKey,E=e.onChange,L=e.items,R=l()(r,g),y=(0,f.Z)([],{value:Z,onChange:function(e){return null==E?void 0:E(e)},defaultValue:x,postState:C}),B=(0,u.Z)(y,2),S=B[0],O=B[1];(0,h.ZP)(!z,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var k=(c={prefixCls:r,accordion:m,openMotion:w,expandIcon:M,collapsible:p,destroyInactivePanel:void 0!==s&&s,onItemClick:function(e){return O(function(){return m?S[0]===e?[]:[e]:S.indexOf(e)>-1?S.filter(function(t){return t!==e}):[].concat((0,i.Z)(S),[e])})},activeKey:S},Array.isArray(L)?H(L,c):(0,v.Z)(z).map(function(e,t){return b(e,t,c)}));return n.createElement("div",(0,o.Z)({ref:t,className:R,style:d,role:m?"tablist":void 0},(0,V.Z)(e,{aria:!0,data:!0})),k)}),{Panel:M});x.Panel;var E=c(98423),L=c(33603),R=c(96159),y=c(53124),B=c(98675);let S=n.forwardRef((e,t)=>{let{getPrefixCls:c}=n.useContext(y.E_),{prefixCls:a,className:r,showArrow:o=!0}=e,i=c("collapse",a),u=l()({[`${i}-no-arrow`]:!o},r);return n.createElement(x.Panel,Object.assign({ref:t},e,{prefixCls:i,className:u}))});var O=c(25446),k=c(14747),T=c(33507),$=c(83559),F=c(83262);let I=e=>{let{componentCls:t,contentBg:c,padding:n,headerBg:a,headerPadding:r,collapseHeaderPaddingSM:l,collapseHeaderPaddingLG:o,collapsePanelBorderRadius:i,lineWidth:u,lineType:s,colorBorder:f,colorText:h,colorTextHeading:d,colorTextDisabled:v,fontSizeLG:m,lineHeight:g,lineHeightLG:z,marginSM:p,paddingSM:w,paddingLG:M,paddingXS:Z,motionDurationSlow:H,fontSizeIcon:b,contentPadding:V,fontHeight:C,fontHeightLG:x}=e,E=`${(0,O.bf)(u)} ${s} ${f}`;return{[t]:Object.assign(Object.assign({},(0,k.Wf)(e)),{backgroundColor:a,border:E,borderRadius:i,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:E,"&:last-child":{[` + &, + & > ${t}-header`]:{borderRadius:`0 0 ${(0,O.bf)(i)} ${(0,O.bf)(i)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:r,color:d,lineHeight:g,cursor:"pointer",transition:`all ${H}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:C,display:"flex",alignItems:"center",paddingInlineEnd:p},[`${t}-arrow`]:Object.assign(Object.assign({},(0,k.Ro)()),{fontSize:b,transition:`transform ${H}`,svg:{transition:`transform ${H}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:h,backgroundColor:c,borderTop:E,[`& > ${t}-content-box`]:{padding:V},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:l,paddingInlineStart:Z,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(w).sub(Z).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:w}}},"&-large":{[`> ${t}-item`]:{fontSize:m,lineHeight:z,[`> ${t}-header`]:{padding:o,paddingInlineStart:n,[`> ${t}-expand-icon`]:{height:x,marginInlineStart:e.calc(M).sub(n).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:M}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${(0,O.bf)(i)} ${(0,O.bf)(i)}`}},[`& ${t}-item-disabled > ${t}-header`]:{[` + &, + & > .arrow + `]:{color:v,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:p}}}}})}},A=e=>{let{componentCls:t}=e,c=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[c]:{transform:"rotate(180deg)"}}}},D=e=>{let{componentCls:t,headerBg:c,paddingXXS:n,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:c,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[` + > ${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:n}}}},N=e=>{let{componentCls:t,paddingSM:c}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:c}}}}}};var P=(0,$.I$)("Collapse",e=>{let t=(0,F.IX)(e,{collapseHeaderPaddingSM:`${(0,O.bf)(e.paddingXS)} ${(0,O.bf)(e.paddingSM)}`,collapseHeaderPaddingLG:`${(0,O.bf)(e.padding)} ${(0,O.bf)(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[I(t),D(t),N(t),A(t),(0,T.Z)(t)]},e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}));let q=n.forwardRef((e,t)=>{let{getPrefixCls:c,direction:r,collapse:o}=n.useContext(y.E_),{prefixCls:i,className:u,rootClassName:s,style:f,bordered:h=!0,ghost:d,size:m,expandIconPosition:g="start",children:z,expandIcon:p}=e,w=(0,B.Z)(e=>{var t;return null!==(t=null!=m?m:e)&&void 0!==t?t:"middle"}),M=c("collapse",i),Z=c(),[H,b,V]=P(M),C=n.useMemo(()=>"left"===g?"start":"right"===g?"end":g,[g]),S=null!=p?p:null==o?void 0:o.expandIcon,O=n.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t="function"==typeof S?S(e):n.createElement(a.Z,{rotate:e.isActive?90:void 0,"aria-label":e.isActive?"expanded":"collapsed"});return(0,R.Tm)(t,()=>{var e;return{className:l()(null===(e=null==t?void 0:t.props)||void 0===e?void 0:e.className,`${M}-arrow`)}})},[S,M]),k=l()(`${M}-icon-position-${C}`,{[`${M}-borderless`]:!h,[`${M}-rtl`]:"rtl"===r,[`${M}-ghost`]:!!d,[`${M}-${w}`]:"middle"!==w},null==o?void 0:o.className,u,s,b,V),T=Object.assign(Object.assign({},(0,L.Z)(Z)),{motionAppear:!1,leavedClassName:`${M}-content-hidden`}),$=n.useMemo(()=>z?(0,v.Z)(z).map((e,t)=>{var c,n;if(null===(c=e.props)||void 0===c?void 0:c.disabled){let c=null!==(n=e.key)&&void 0!==n?n:String(t),{disabled:a,collapsible:r}=e.props,l=Object.assign(Object.assign({},(0,E.Z)(e.props,["disabled"])),{key:c,collapsible:null!=r?r:a?"disabled":void 0});return(0,R.Tm)(e,l)}return e}):null,[z]);return H(n.createElement(x,Object.assign({ref:t,openMotion:T},(0,E.Z)(e,["rootClassName"]),{expandIcon:O,prefixCls:M,className:k,style:Object.assign(Object.assign({},null==o?void 0:o.style),f)}),$))});var W=Object.assign(q,{Panel:S})},69935:function(e,t,c){"use strict";c.d(t,{default:function(){return cb}});var n=c(97909),a=c.n(n),r=c(80334),l=c(33088),o=c.n(l),i=c(26850),u=c.n(i),s=c(90888),f=c.n(s),h=c(99873),d=c.n(h),v=c(86625),m=c.n(v),g=c(40618),z=c.n(g);a().extend(z()),a().extend(m()),a().extend(o()),a().extend(u()),a().extend(f()),a().extend(d()),a().extend(function(e,t){var c=t.prototype,n=c.format;c.format=function(e){var t=(e||"").replace("Wo","wo");return n.bind(this)(t)}});var p={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},w=function(e){return p[e]||e.split("_")[0]},M=function(){(0,r.ET)(!1,"Not match any format. Please help to fire a issue about this.")},Z=c(8745),H=c(67294),b=c(20841),V=c(24019),C=c(32198),x=c(93967),E=c.n(x),L=c(87462),R=c(74902),y=c(1413),B=c(97685),S=c(56790),O=c(8410),k=c(98423),T=c(64217),$=c(4942),F=c(40228);c(15105);var I=c(75164);function A(e,t){return void 0!==e?e:t?"bottomRight":"bottomLeft"}function D(e,t){var c=A(e,t),n=(null==c?void 0:c.toLowerCase().endsWith("right"))?"insetInlineEnd":"insetInlineStart";return t&&(n=["insetInlineStart","insetInlineEnd"].find(function(e){return e!==n})),n}var N=H.createContext(null),P={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}},q=function(e){var t=e.popupElement,c=e.popupStyle,n=e.popupClassName,a=e.popupAlign,r=e.transitionName,l=e.getPopupContainer,o=e.children,i=e.range,u=e.placement,s=e.builtinPlacements,f=e.direction,h=e.visible,d=e.onClose,v=H.useContext(N).prefixCls,m="".concat(v,"-dropdown"),g=A(u,"rtl"===f);return H.createElement(F.Z,{showAction:[],hideAction:["click"],popupPlacement:g,builtinPlacements:void 0===s?P:s,prefixCls:m,popupTransitionName:r,popup:t,popupAlign:a,popupVisible:h,popupClassName:E()(n,(0,$.Z)((0,$.Z)({},"".concat(m,"-range"),i),"".concat(m,"-rtl"),"rtl"===f)),popupStyle:c,stretch:"minWidth",getPopupContainer:l,onPopupVisibleChange:function(e){e||d()}},o)};function W(e,t){for(var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",n=String(e);n.length2&&void 0!==arguments[2]?arguments[2]:[],n=H.useState([!1,!1]),a=(0,B.Z)(n,2),r=a[0],l=a[1];return[H.useMemo(function(){return r.map(function(n,a){if(n)return!0;var r=e[a];return!!r&&!!(!c[a]&&!r||r&&t(r,{activeIndex:a}))})},[e,r,t,c]),function(e,t){l(function(c){return Y(c,t,e)})}]}function J(e,t,c,n,a){var r="",l=[];return e&&l.push(a?"hh":"HH"),t&&l.push("mm"),c&&l.push("ss"),r=l.join(":"),n&&(r+=".SSS"),a&&(r+=" A"),r}function ee(e,t){var c=t.showHour,n=t.showMinute,a=t.showSecond,r=t.showMillisecond,l=t.use12Hours;return H.useMemo(function(){var t,o,i,u,s,f,h,d,v,m,g,z,p;return t=e.fieldDateTimeFormat,o=e.fieldDateFormat,i=e.fieldTimeFormat,u=e.fieldMonthFormat,s=e.fieldYearFormat,f=e.fieldWeekFormat,h=e.fieldQuarterFormat,d=e.yearFormat,v=e.cellYearFormat,m=e.cellQuarterFormat,g=e.dayFormat,z=e.cellDateFormat,p=J(c,n,a,r,l),(0,y.Z)((0,y.Z)({},e),{},{fieldDateTimeFormat:t||"YYYY-MM-DD ".concat(p),fieldDateFormat:o||"YYYY-MM-DD",fieldTimeFormat:i||p,fieldMonthFormat:u||"YYYY-MM",fieldYearFormat:s||"YYYY",fieldWeekFormat:f||"gggg-wo",fieldQuarterFormat:h||"YYYY-[Q]Q",yearFormat:d||"YYYY",cellYearFormat:v||"YYYY",cellQuarterFormat:m||"[Q]Q",cellDateFormat:z||g||"D"})},[e,c,n,a,r,l])}var et=c(71002);function ec(e,t,c){return null!=c?c:t.some(function(t){return e.includes(t)})}var en=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function ea(e,t,c,n){return[e,t,c,n].some(function(e){return void 0!==e})}function er(e,t,c,n,a){var r=t,l=c,o=n;if(e||r||l||o||a){if(e){var i,u,s,f=[r,l,o].some(function(e){return!1===e}),h=[r,l,o].some(function(e){return!0===e}),d=!!f||!h;r=null!==(i=r)&&void 0!==i?i:d,l=null!==(u=l)&&void 0!==u?u:d,o=null!==(s=o)&&void 0!==s?s:d}}else r=!0,l=!0,o=!0;return[r,l,o,a]}function el(e){var t,c,n,a,r=e.showTime,l=(t=_(e,en),c=e.format,n=e.picker,a=null,c&&(Array.isArray(a=c)&&(a=a[0]),a="object"===(0,et.Z)(a)?a.format:a),"time"===n&&(t.format=a),[t,a]),o=(0,B.Z)(l,2),i=o[0],u=o[1],s=r&&"object"===(0,et.Z)(r)?r:{},f=(0,y.Z)((0,y.Z)({defaultOpenValue:s.defaultOpenValue||s.defaultValue},i),s),h=f.showMillisecond,d=f.showHour,v=f.showMinute,m=f.showSecond,g=er(ea(d,v,m,h),d,v,m,h),z=(0,B.Z)(g,3);return d=z[0],v=z[1],m=z[2],[f,(0,y.Z)((0,y.Z)({},f),{},{showHour:d,showMinute:v,showSecond:m,showMillisecond:h}),f.format,u]}function eo(e,t,c,n,a){var r="time"===e;if("datetime"===e||r){for(var l=K(e,a,null),o=[t,c],i=0;i1&&void 0!==arguments[1]&&arguments[1];return H.useMemo(function(){var c=e?j(e):e;return t&&c&&(c[1]=c[1]||c[0]),c},[e,t])}function eb(e,t){var c=e.generateConfig,n=e.locale,a=e.picker,r=void 0===a?"date":a,l=e.prefixCls,o=void 0===l?"rc-picker":l,i=e.styles,u=void 0===i?{}:i,s=e.classNames,f=void 0===s?{}:s,h=e.order,d=void 0===h||h,v=e.components,m=void 0===v?{}:v,g=e.inputRender,z=e.allowClear,p=e.clearIcon,w=e.needConfirm,M=e.multiple,Z=e.format,b=e.inputReadOnly,V=e.disabledDate,C=e.minDate,x=e.maxDate,E=e.showTime,L=e.value,R=e.defaultValue,O=e.pickerValue,k=e.defaultPickerValue,T=eH(L),$=eH(R),F=eH(O),I=eH(k),A="date"===r&&E?"datetime":r,D="time"===A||"datetime"===A,N=D||M,P=null!=w?w:D,q=el(e),W=(0,B.Z)(q,4),Y=W[0],_=W[1],U=W[2],X=W[3],G=ee(n,_),Q=H.useMemo(function(){return eo(A,U,X,Y,G)},[A,U,X,Y,G]),J=H.useMemo(function(){return(0,y.Z)((0,y.Z)({},e),{},{prefixCls:o,locale:G,picker:r,styles:u,classNames:f,order:d,components:(0,y.Z)({input:g},m),clearIcon:!1===z?null:(z&&"object"===(0,et.Z)(z)?z:{}).clearIcon||p||H.createElement("span",{className:"".concat(o,"-clear-btn")}),showTime:Q,value:T,defaultValue:$,pickerValue:F,defaultPickerValue:I},null==t?void 0:t())},[e]),ec=H.useMemo(function(){var e=j(K(A,G,Z)),t=e[0],c="object"===(0,et.Z)(t)&&"mask"===t.type?t.format:null;return[e.map(function(e){return"string"==typeof e||"function"==typeof e?e:e.format}),c]},[A,G,Z]),en=(0,B.Z)(ec,2),ea=en[0],er=en[1],ei="function"==typeof ea[0]||!!M||b,eu=(0,S.zX)(function(e,t){return!!(V&&V(e,t)||C&&c.isAfter(C,e)&&!ez(c,n,C,e,t.type)||x&&c.isAfter(e,x)&&!ez(c,n,x,e,t.type))}),es=(0,S.zX)(function(e,t){var n=(0,y.Z)({type:r},t);if(delete n.activeIndex,!c.isValidate(e)||eu&&eu(e,n))return!0;if(("date"===r||"time"===r)&&Q){var a,l=t&&1===t.activeIndex?"end":"start",o=(null===(a=Q.disabledTime)||void 0===a?void 0:a.call(Q,e,l,{from:n.from}))||{},i=o.disabledHours,u=o.disabledMinutes,s=o.disabledSeconds,f=o.disabledMilliseconds,h=Q.disabledHours,d=Q.disabledMinutes,v=Q.disabledSeconds,m=i||h,g=u||d,z=s||v,p=c.getHour(e),w=c.getMinute(e),M=c.getSecond(e),Z=c.getMillisecond(e);if(m&&m().includes(p)||g&&g(p).includes(w)||z&&z(p,w).includes(M)||f&&f(p,w,M).includes(Z))return!0}return!1});return[H.useMemo(function(){return(0,y.Z)((0,y.Z)({},J),{},{needConfirm:P,inputReadOnly:ei,disabledDate:eu})},[J,P,ei,eu]),A,N,ea,er,es]}function eV(e,t){var c,n,a,r,l,o,i,u,s,f,h,d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],v=arguments.length>3?arguments[3]:void 0,m=(c=!d.every(function(e){return e})&&e,n=t||!1,a=(0,S.C8)(n,{value:c}),l=(r=(0,B.Z)(a,2))[0],o=r[1],i=H.useRef(c),u=H.useRef(),s=function(){I.Z.cancel(u.current)},f=(0,S.zX)(function(){o(i.current),v&&l!==i.current&&v(i.current)}),h=(0,S.zX)(function(e,t){s(),i.current=e,e||t?f():u.current=(0,I.Z)(f)}),H.useEffect(function(){return s},[]),[l,h]),g=(0,B.Z)(m,2),z=g[0],p=g[1];return[z,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(!t.inherit||z)&&p(e,t.force)}]}function eC(e){var t=H.useRef();return H.useImperativeHandle(e,function(){var e;return{nativeElement:null===(e=t.current)||void 0===e?void 0:e.nativeElement,focus:function(e){var c;null===(c=t.current)||void 0===c||c.focus(e)},blur:function(){var e;null===(e=t.current)||void 0===e||e.blur()}}}),t}function ex(e,t){return H.useMemo(function(){return e||(t?((0,r.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(e){var t=(0,B.Z)(e,2);return{label:t[0],value:t[1]}})):[])},[e,t])}function eE(e,t){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=H.useRef(t);n.current=t,(0,O.o)(function(){if(e)n.current(e);else{var t=(0,I.Z)(function(){n.current(e)},c);return function(){I.Z.cancel(t)}}},[e])}function eL(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=H.useState(0),a=(0,B.Z)(n,2),r=a[0],l=a[1],o=H.useState(!1),i=(0,B.Z)(o,2),u=i[0],s=i[1],f=H.useRef([]),h=H.useRef(null);return eE(u||c,function(){u||(f.current=[])}),H.useEffect(function(){u&&f.current.push(r)},[u,r]),[u,function(e){s(e)},function(e){return e&&(h.current=e),h.current},r,l,function(c){var n=f.current,a=new Set(n.filter(function(e){return c[e]||t[e]})),r=0===n[n.length-1]?1:0;return a.size>=2||e[r]?null:r},f.current]}function eR(e,t,c,n){switch(t){case"date":case"week":return e.addMonth(c,n);case"month":case"quarter":return e.addYear(c,n);case"year":return e.addYear(c,10*n);case"decade":return e.addYear(c,100*n);default:return c}}var ey=[];function eB(e,t,c,n,a,r,l,o){var i=arguments.length>8&&void 0!==arguments[8]?arguments[8]:ey,u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:ey,s=arguments.length>10&&void 0!==arguments[10]?arguments[10]:ey,f=arguments.length>11?arguments[11]:void 0,h=arguments.length>12?arguments[12]:void 0,d=arguments.length>13?arguments[13]:void 0,v="time"===l,m=r||0,g=function(t){var n=e.getNow();return v&&(n=eZ(e,n)),i[t]||c[t]||n},z=(0,B.Z)(u,2),p=z[0],w=z[1],M=(0,S.C8)(function(){return g(0)},{value:p}),Z=(0,B.Z)(M,2),b=Z[0],V=Z[1],C=(0,S.C8)(function(){return g(1)},{value:w}),x=(0,B.Z)(C,2),E=x[0],L=x[1],R=H.useMemo(function(){var t=[b,E][m];return v?t:eZ(e,t,s[m])},[v,b,E,m,e,s]),y=function(c){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"panel";(0,[V,L][m])(c);var r=[b,E];r[m]=c,!f||ez(e,t,b,r[0],l)&&ez(e,t,E,r[1],l)||f(r,{source:a,range:1===m?"end":"start",mode:n})},k=function(c,n){if(o){var a={date:"month",week:"month",month:"year",quarter:"year"}[l];if(a&&!ez(e,t,c,n,a)||"year"===l&&c&&Math.floor(e.getYear(c)/10)!==Math.floor(e.getYear(n)/10))return eR(e,l,n,-1)}return n},T=H.useRef(null);return(0,O.Z)(function(){if(a&&!i[m]){var t=v?null:e.getNow();if(null!==T.current&&T.current!==m?t=[b,E][1^m]:c[m]?t=0===m?c[0]:k(c[0],c[1]):c[1^m]&&(t=c[1^m]),t){h&&e.isAfter(h,t)&&(t=h);var n=o?eR(e,l,t,1):t;d&&e.isAfter(n,d)&&(t=o?eR(e,l,d,-1):d),y(t,"reset")}}},[a,m,c[m]]),H.useEffect(function(){a?T.current=m:T.current=null},[a,m]),(0,O.Z)(function(){a&&i&&i[m]&&y(i[m],"reset")},[a,m]),[R,y]}function eS(e,t){var c=H.useRef(e),n=H.useState({}),a=(0,B.Z)(n,2)[1],r=function(e){return e&&void 0!==t?t:c.current};return[r,function(e){c.current=e,a({})},r(!0)]}var eO=[];function ek(e,t,c){return[function(n){return n.map(function(n){return eM(n,{generateConfig:e,locale:t,format:c[0]})})},function(t,c){for(var n=Math.max(t.length,c.length),a=-1,r=0;r2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:2,l=[],o=c>=1?0|c:1,i=e;i<=t;i+=o){var u=a.includes(i);u&&n||l.push({label:W(i,r),value:i,disabled:u})}return l}function eP(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2?arguments[2]:void 0,n=t||{},a=n.use12Hours,r=n.hourStep,l=void 0===r?1:r,o=n.minuteStep,i=void 0===o?1:o,u=n.secondStep,s=void 0===u?1:u,f=n.millisecondStep,h=void 0===f?100:f,d=n.hideDisabledOptions,v=n.disabledTime,m=n.disabledHours,g=n.disabledMinutes,z=n.disabledSeconds,p=H.useMemo(function(){return c||e.getNow()},[c,e]),w=H.useCallback(function(e){var t=(null==v?void 0:v(e))||{};return[t.disabledHours||m||eD,t.disabledMinutes||g||eD,t.disabledSeconds||z||eD,t.disabledMilliseconds||eD]},[v,m,g,z]),M=H.useMemo(function(){return w(p)},[p,w]),Z=(0,B.Z)(M,4),b=Z[0],V=Z[1],C=Z[2],x=Z[3],E=H.useCallback(function(e,t,c,n){var r=eN(0,23,l,d,e());return[a?r.map(function(e){return(0,y.Z)((0,y.Z)({},e),{},{label:W(e.value%12||12,2)})}):r,function(e){return eN(0,59,i,d,t(e))},function(e,t){return eN(0,59,s,d,c(e,t))},function(e,t,c){return eN(0,999,h,d,n(e,t,c),3)}]},[d,l,a,h,i,s]),L=H.useMemo(function(){return E(b,V,C,x)},[E,b,V,C,x]),S=(0,B.Z)(L,4),O=S[0],k=S[1],T=S[2],$=S[3];return[function(t,c){var n=function(){return O},a=k,r=T,l=$;if(c){var o=w(c),i=(0,B.Z)(o,4),u=E(i[0],i[1],i[2],i[3]),s=(0,B.Z)(u,4),f=s[0],h=s[1],d=s[2],v=s[3];n=function(){return f},a=h,r=d,l=v}return function(e,t,c,n,a,r){var l=e;function o(e,t,c){var n=r[e](l),a=c.find(function(e){return e.value===n});if(!a||a.disabled){var o=c.filter(function(e){return!e.disabled}),i=(0,R.Z)(o).reverse().find(function(e){return e.value<=n})||o[0];i&&(n=i.value,l=r[t](l,n))}return n}var i=o("getHour","setHour",t()),u=o("getMinute","setMinute",c(i)),s=o("getSecond","setSecond",n(i,u));return o("getMillisecond","setMillisecond",a(i,u,s)),l}(t,n,a,r,l,e)},O,k,T,$]}function eq(e){var t=e.mode,c=e.internalMode,n=e.renderExtraFooter,a=e.showNow,r=e.showTime,l=e.onSubmit,o=e.onNow,i=e.invalid,u=e.needConfirm,s=e.generateConfig,f=e.disabledDate,h=H.useContext(N),d=h.prefixCls,v=h.locale,m=h.button,g=s.getNow(),z=eP(s,r,g),p=(0,B.Z)(z,1)[0],w=null==n?void 0:n(t),M=f(g,{type:t}),Z="".concat(d,"-now"),b="".concat(Z,"-btn"),V=a&&H.createElement("li",{className:Z},H.createElement("a",{className:E()(b,M&&"".concat(b,"-disabled")),"aria-disabled":M,onClick:function(){M||o(p(g))}},"date"===c?v.today:v.now)),C=u&&H.createElement("li",{className:"".concat(d,"-ok")},H.createElement(void 0===m?"button":m,{disabled:i,onClick:l},v.ok)),x=(V||C)&&H.createElement("ul",{className:"".concat(d,"-ranges")},V,C);return w||x?H.createElement("div",{className:"".concat(d,"-footer")},w&&H.createElement("div",{className:"".concat(d,"-footer-extra")},w),x):null}function eW(e,t,c){return function(n,a){var r=n.findIndex(function(n){return ez(e,t,n,a,c)});if(-1===r)return[].concat((0,R.Z)(n),[a]);var l=(0,R.Z)(n);return l.splice(r,1),l}}var ej=H.createContext(null);function eY(){return H.useContext(ej)}function e_(e,t){var c=e.prefixCls,n=e.generateConfig,a=e.locale,r=e.disabledDate,l=e.minDate,o=e.maxDate,i=e.cellRender,u=e.hoverValue,s=e.hoverRangeValue,f=e.onHover,h=e.values,d=e.pickerValue,v=e.onSelect,m=e.prevIcon,g=e.nextIcon,z=e.superPrevIcon,p=e.superNextIcon,w=n.getNow();return[{now:w,values:h,pickerValue:d,prefixCls:c,disabledDate:r,minDate:l,maxDate:o,cellRender:i,hoverValue:u,hoverRangeValue:s,onHover:f,locale:a,generateConfig:n,onSelect:v,panelType:t,prevIcon:m,nextIcon:g,superPrevIcon:z,superNextIcon:p},w]}var eK=H.createContext({});function eU(e){for(var t=e.rowNum,c=e.colNum,n=e.baseDate,a=e.getCellDate,r=e.prefixColumn,l=e.rowClassName,o=e.titleFormat,i=e.getCellText,u=e.getCellClassName,s=e.headerCells,f=e.cellSelection,h=void 0===f||f,d=e.disabledDate,v=eY(),m=v.prefixCls,g=v.panelType,z=v.now,p=v.disabledDate,w=v.cellRender,M=v.onHover,Z=v.hoverValue,b=v.hoverRangeValue,V=v.generateConfig,C=v.values,x=v.locale,L=v.onSelect,R=d||p,S="".concat(m,"-cell"),O=H.useContext(eK).onCellDblClick,k=function(e){return C.some(function(t){return t&&ez(V,x,e,t,g)})},T=[],F=0;F1&&(r=u.addDate(r,-7)),r),O=u.getMonth(s),k=(void 0===p?Z:p)?function(e){var t=null==m?void 0:m(e,{type:"week"});return H.createElement("td",{key:"week",className:E()(M,"".concat(M,"-week"),(0,$.Z)({},"".concat(M,"-disabled"),t)),onClick:function(){t||g(e)},onMouseEnter:function(){t||null==z||z(e)},onMouseLeave:function(){t||null==z||z(null)}},H.createElement("div",{className:"".concat(M,"-inner")},u.locale.getWeek(i.locale,e)))}:null,T=[],F=i.shortWeekDays||(u.locale.getShortWeekDays?u.locale.getShortWeekDays(i.locale):[]);k&&T.push(H.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var I=0;I<7;I+=1)T.push(H.createElement("th",{key:I},F[(I+R)%7]));var A=i.shortMonths||(u.locale.getShortMonths?u.locale.getShortMonths(i.locale):[]),D=H.createElement("button",{type:"button","aria-label":"year panel",key:"year",onClick:function(){h("year",s)},tabIndex:-1,className:"".concat(l,"-year-btn")},eM(s,{locale:i,format:i.yearFormat,generateConfig:u})),N=H.createElement("button",{type:"button","aria-label":"month panel",key:"month",onClick:function(){h("month",s)},tabIndex:-1,className:"".concat(l,"-month-btn")},i.monthFormat?eM(s,{locale:i,format:i.monthFormat,generateConfig:u}):A[O]),P=i.monthBeforeYear?[N,D]:[D,N];return H.createElement(ej.Provider,{value:C},H.createElement("div",{className:E()(w,p&&"".concat(w,"-show-week"))},H.createElement(eG,{offset:function(e){return u.addMonth(s,e)},superOffset:function(e){return u.addYear(s,e)},onChange:f,getStart:function(e){return u.setDate(e,1)},getEnd:function(e){var t=u.setDate(e,1);return t=u.addMonth(t,1),u.addDate(t,-1)}},P),H.createElement(eU,(0,L.Z)({titleFormat:i.fieldDateFormat},e,{colNum:7,rowNum:6,baseDate:S,headerCells:T,getCellDate:function(e,t){return u.addDate(e,t)},getCellText:function(e){return eM(e,{locale:i,format:i.cellDateFormat,generateConfig:u})},getCellClassName:function(e){return(0,$.Z)((0,$.Z)({},"".concat(l,"-cell-in-view"),eh(u,e,s)),"".concat(l,"-cell-today"),ed(u,e,x))},prefixColumn:k,cellSelection:!Z}))))}var eJ=c(5110),e1=1/3;function e4(e){var t,c,n,a,r,l,o=e.units,i=e.value,u=e.optionalValue,s=e.type,f=e.onChange,h=e.onHover,d=e.onDblClick,v=e.changeOnScroll,m=eY(),g=m.prefixCls,z=m.cellRender,p=m.now,w=m.locale,M="".concat(g,"-time-panel-cell"),Z=H.useRef(null),b=H.useRef(),V=function(){clearTimeout(b.current)},C=(t=null!=i?i:u,c=H.useRef(!1),n=H.useRef(null),a=H.useRef(null),r=function(){I.Z.cancel(n.current),c.current=!1},l=H.useRef(),[(0,S.zX)(function(){var e=Z.current;if(a.current=null,l.current=0,e){var o=e.querySelector('[data-value="'.concat(t,'"]')),i=e.querySelector("li");o&&i&&function t(){r(),c.current=!0,l.current+=1;var u=e.scrollTop,s=i.offsetTop,f=o.offsetTop,h=f-s;if(0===f&&o!==i||!(0,eJ.Z)(e)){l.current<=5&&(n.current=(0,I.Z)(t));return}var d=u+(h-u)*e1,v=Math.abs(h-d);if(null!==a.current&&a.current1&&void 0!==arguments[1]&&arguments[1];ep(e),null==m||m(e),t&&ew(e)},eZ=function(e,t){ec(e),t&&eM(t),ew(t,e)},eH=H.useMemo(function(){if(Array.isArray(b)){var e,t,c=(0,B.Z)(b,2);e=c[0],t=c[1]}else e=b;return e||t?(e=e||t,t=t||e,a.isAfter(e,t)?[t,e]:[e,t]):null},[b,a]),eb=G(V,C,x),eV=(void 0===O?{}:O)[en]||e8[en]||eQ,eC=H.useContext(eK),ex=H.useMemo(function(){return(0,y.Z)((0,y.Z)({},eC),{},{hideHeader:k})},[eC,k]),eE="".concat(T,"-panel"),eL=_(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return H.createElement(eK.Provider,{value:ex},H.createElement("div",{ref:F,tabIndex:void 0===o?0:o,className:E()(eE,(0,$.Z)({},"".concat(eE,"-rtl"),"rtl"===r))},H.createElement(eV,(0,L.Z)({},eL,{showTime:U,prefixCls:T,locale:Y,generateConfig:a,onModeChange:eZ,pickerValue:eg,onPickerValueChange:function(e){eM(e,!0)},value:ef[0],onSelect:function(e){if(ed(e),eM(e),et!==w){var t=["decade","year"],c=[].concat(t,["month"]),n={quarter:[].concat(t,["quarter"]),week:[].concat((0,R.Z)(c),["week"]),date:[].concat((0,R.Z)(c),["date"])}[w]||c,a=n.indexOf(et),r=n[a+1];r&&eZ(r,e)}},values:ef,cellRender:eb,hoverRangeValue:eH,hoverValue:Z}))))}));function e0(e){var t=e.picker,c=e.multiplePanel,n=e.pickerValue,a=e.onPickerValueChange,r=e.needConfirm,l=e.onSubmit,o=e.range,i=e.hoverValue,u=H.useContext(N),s=u.prefixCls,f=u.generateConfig,h=H.useCallback(function(e,c){return eR(f,t,e,c)},[f,t]),d=H.useMemo(function(){return h(n,1)},[n,h]),v={onCellDblClick:function(){r&&l()}},m="time"===t,g=(0,y.Z)((0,y.Z)({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:m});return(o?g.hoverRangeValue=i:g.hoverValue=i,c)?H.createElement("div",{className:"".concat(s,"-panels")},H.createElement(eK.Provider,{value:(0,y.Z)((0,y.Z)({},v),{},{hideNext:!0})},H.createElement(e6,g)),H.createElement(eK.Provider,{value:(0,y.Z)((0,y.Z)({},v),{},{hidePrev:!0})},H.createElement(e6,(0,L.Z)({},g,{pickerValue:d,onPickerValueChange:function(e){a(h(e,-1))}})))):H.createElement(eK.Provider,{value:(0,y.Z)({},v)},H.createElement(e6,g))}function e5(e){return"function"==typeof e?e():e}function e7(e){var t=e.prefixCls,c=e.presets,n=e.onClick,a=e.onHover;return c.length?H.createElement("div",{className:"".concat(t,"-presets")},H.createElement("ul",null,c.map(function(e,t){var c=e.label,r=e.value;return H.createElement("li",{key:t,onClick:function(){n(e5(r))},onMouseEnter:function(){a(e5(r))},onMouseLeave:function(){a(null)}},c)}))):null}function e9(e){var t=e.panelRender,c=e.internalMode,n=e.picker,a=e.showNow,r=e.range,l=e.multiple,o=e.activeOffset,i=void 0===o?0:o,u=e.placement,s=e.presets,f=e.onPresetHover,h=e.onPresetSubmit,d=e.onFocus,v=e.onBlur,m=e.onPanelMouseDown,g=e.direction,z=e.value,p=e.onSelect,w=e.isInvalid,M=e.defaultOpenValue,Z=e.onOk,b=e.onSubmit,V=H.useContext(N).prefixCls,C="".concat(V,"-panel"),x="rtl"===g,R=H.useRef(null),y=H.useRef(null),S=H.useState(0),O=(0,B.Z)(S,2),k=O[0],T=O[1],F=H.useState(0),I=(0,B.Z)(F,2),P=I[0],q=I[1];function W(e){return e.filter(function(e){return e})}H.useEffect(function(){if(r){var e,t=(null===(e=R.current)||void 0===e?void 0:e.offsetWidth)||0;i<=k-t?q(0):q(i+t-k)}},[k,i,r]);var Y=H.useMemo(function(){return W(j(z))},[z]),_="time"===n&&!Y.length,K=H.useMemo(function(){return _?W([M]):Y},[_,Y,M]),U=_?M:Y,X=H.useMemo(function(){return!K.length||K.some(function(e){return w(e)})},[K,w]),G=H.createElement("div",{className:"".concat(V,"-panel-layout")},H.createElement(e7,{prefixCls:V,presets:s,onClick:h,onHover:f}),H.createElement("div",null,H.createElement(e0,(0,L.Z)({},e,{value:U})),H.createElement(eq,(0,L.Z)({},e,{showNow:!l&&a,invalid:X,onSubmit:function(){_&&p(M),Z(),b()}}))));t&&(G=t(G));var Q="marginLeft",J="marginRight",ee=H.createElement("div",{onMouseDown:m,tabIndex:-1,className:E()("".concat(C,"-container"),"".concat(V,"-").concat(c,"-panel-container")),style:(0,$.Z)((0,$.Z)({},x?J:Q,P),x?Q:J,"auto"),onFocus:d,onBlur:v},G);if(r){var et=D(A(u,x),x);ee=H.createElement("div",{onMouseDown:m,ref:y,className:E()("".concat(V,"-range-wrapper"),"".concat(V,"-").concat(n,"-range-wrapper"))},H.createElement("div",{ref:R,className:"".concat(V,"-range-arrow"),style:(0,$.Z)({},et,i)}),H.createElement(eA.Z,{onResize:function(e){e.offsetWidth&&T(e.offsetWidth)}},ee))}return ee}var te=c(45987);function tt(e,t){var c=e.format,n=e.maskFormat,a=e.generateConfig,r=e.locale,l=e.preserveInvalidOnBlur,o=e.inputReadOnly,i=e.required,u=e["aria-required"],s=e.onSubmit,f=e.onFocus,h=e.onBlur,d=e.onInputChange,v=e.onInvalid,m=e.open,g=e.onOpenChange,z=e.onKeyDown,p=e.onChange,w=e.activeHelp,M=e.name,Z=e.autoComplete,b=e.id,V=e.value,C=e.invalid,x=e.placeholder,E=e.disabled,L=e.activeIndex,R=e.allHelp,B=e.picker,S=function(e,t){var c=a.locale.parse(r.locale,e,[t]);return c&&a.isValidate(c)?c:null},O=c[0],k=H.useCallback(function(e){return eM(e,{locale:r,format:O,generateConfig:a})},[r,a,O]),$=H.useMemo(function(){return V.map(k)},[V,k]),F=H.useMemo(function(){return Math.max("time"===B?8:10,"function"==typeof O?O(a.getNow()).length:O.length)+2},[O,B,a]),I=function(e){for(var t=0;t=r&&e<=l)return n;var o=Math.min(Math.abs(e-r),Math.abs(e-l));o0?n:a));var i=a-n+1;return String(n+(i+(o+e)-n)%i)};switch(t){case"Backspace":case"Delete":c="",n=r;break;case"ArrowLeft":c="",o(-1);break;case"ArrowRight":c="",o(1);break;case"ArrowUp":c="",n=i(1);break;case"ArrowDown":c="",n=i(-1);break;default:isNaN(Number(t))||(n=c=_+t)}null!==c&&(K(c),c.length>=a&&(o(1),K(""))),null!==n&&eh((en.slice(0,eu)+W(n,a)+en.slice(es)).slice(0,l.length)),ec({})},onMouseDown:function(){ed.current=!0},onMouseUp:function(e){var t=e.target.selectionStart;Q(el.getMaskCellIndex(t)),ec({}),null==Z||Z(e),ed.current=!1},onPaste:function(e){var t=e.clipboardData.getData("text");o(t)&&eh(t)}}:{};return H.createElement("div",{ref:ea,className:E()(R,(0,$.Z)((0,$.Z)({},"".concat(R,"-active"),c&&a),"".concat(R,"-placeholder"),u))},H.createElement(x,(0,L.Z)({ref:er,"aria-invalid":m,autoComplete:"off"},z,{onKeyDown:em,onBlur:ev},ez,{value:en,onChange:function(e){if(!l){var t=e.target.value;ef(t),q(t),i(t)}}})),H.createElement(tl,{type:"suffix",icon:r}),g)}),tv=["id","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveOffset","placement","onMouseDown","required","aria-required","autoFocus"],tm=["index"],tg=H.forwardRef(function(e,t){var c=e.id,n=e.clearIcon,a=e.suffixIcon,r=e.separator,l=void 0===r?"~":r,o=e.activeIndex,i=(e.activeHelp,e.allHelp,e.focused),u=(e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig,e.placeholder),s=e.className,f=e.style,h=e.onClick,d=e.onClear,v=e.value,m=(e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid,e.disabled),g=e.invalid,z=(e.inputReadOnly,e.direction),p=(e.onOpenChange,e.onActiveOffset),w=e.placement,M=e.onMouseDown,Z=(e.required,e["aria-required"],e.autoFocus),b=(0,te.Z)(e,tv),V="rtl"===z,C=H.useContext(N).prefixCls,x=H.useMemo(function(){if("string"==typeof c)return[c];var e=c||{};return[e.start,e.end]},[c]),R=H.useRef(),O=H.useRef(),k=H.useRef(),T=function(e){var t;return null===(t=[O,k][e])||void 0===t?void 0:t.current};H.useImperativeHandle(t,function(){return{nativeElement:R.current,focus:function(e){if("object"===(0,et.Z)(e)){var t,c,n=e||{},a=n.index,r=void 0===a?0:a,l=(0,te.Z)(n,tm);null===(c=T(r))||void 0===c||c.focus(l)}else null===(t=T(null!=e?e:0))||void 0===t||t.focus()},blur:function(){var e,t;null===(e=T(0))||void 0===e||e.blur(),null===(t=T(1))||void 0===t||t.blur()}}});var F=tn(b),I=H.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),P=tt((0,y.Z)((0,y.Z)({},e),{},{id:x,placeholder:I})),q=(0,B.Z)(P,1)[0],W=A(w,V),j=D(W,V),Y=null==W?void 0:W.toLowerCase().endsWith("right"),_=H.useState({position:"absolute",width:0}),K=(0,B.Z)(_,2),U=K[0],X=K[1],G=(0,S.zX)(function(){var e=T(o);if(e){var t=e.nativeElement,c=t.offsetWidth,n=t.offsetLeft,a=t.offsetParent,r=(null==a?void 0:a.offsetWidth)||0,l=Y?r-c-n:n;X(function(e){return(0,y.Z)((0,y.Z)({},e),{},(0,$.Z)({width:c},j,l))}),p(l)}});H.useEffect(function(){G()},[o]);var Q=n&&(v[0]&&!m[0]||v[1]&&!m[1]),J=Z&&!m[0],ee=Z&&!J&&!m[1];return H.createElement(eA.Z,{onResize:G},H.createElement("div",(0,L.Z)({},F,{className:E()(C,"".concat(C,"-range"),(0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)({},"".concat(C,"-focused"),i),"".concat(C,"-disabled"),m.every(function(e){return e})),"".concat(C,"-invalid"),g.some(function(e){return e})),"".concat(C,"-rtl"),V),s),style:f,ref:R,onClick:h,onMouseDown:function(e){var t=e.target;t!==O.current.inputElement&&t!==k.current.inputElement&&e.preventDefault(),null==M||M(e)}}),H.createElement(td,(0,L.Z)({ref:O},q(0),{autoFocus:J,"date-range":"start"})),H.createElement("div",{className:"".concat(C,"-range-separator")},l),H.createElement(td,(0,L.Z)({ref:k},q(1),{autoFocus:ee,"date-range":"end"})),H.createElement("div",{className:"".concat(C,"-active-bar"),style:U}),H.createElement(tl,{type:"suffix",icon:a}),Q&&H.createElement(to,{icon:n,onClear:d})))});function tz(e,t){var c=null!=e?e:t;return Array.isArray(c)?c:[c,c]}function tp(e){return 1===e?"end":"start"}var tw=H.forwardRef(function(e,t){var c,n=eb(e,function(){var t=e.disabled,c=e.allowEmpty;return{disabled:tz(t,!1),allowEmpty:tz(c,!1)}}),a=(0,B.Z)(n,6),r=a[0],l=a[1],o=a[2],i=a[3],u=a[4],s=a[5],f=r.prefixCls,h=r.styles,d=r.classNames,v=r.placement,m=r.defaultValue,g=r.value,z=r.needConfirm,p=r.onKeyDown,w=r.disabled,M=r.allowEmpty,Z=r.disabledDate,b=r.minDate,V=r.maxDate,C=r.defaultOpen,x=r.open,E=r.onOpenChange,$=r.locale,F=r.generateConfig,I=r.picker,A=r.showNow,D=r.showToday,P=r.showTime,W=r.mode,_=r.onPanelChange,K=r.onCalendarChange,J=r.onOk,ee=r.defaultPickerValue,et=r.pickerValue,ec=r.onPickerValueChange,en=r.inputReadOnly,ea=r.suffixIcon,er=r.onFocus,el=r.onBlur,eo=r.presets,ei=r.ranges,eu=r.components,es=r.cellRender,ef=r.dateRender,eh=r.monthCellRender,ed=r.onClick,ev=eC(t),em=eV(x,C,w,E),eg=(0,B.Z)(em,2),ep=eg[0],ew=eg[1],eM=function(e,t){(w.some(function(e){return!e})||!e)&&ew(e,t)},eZ=e$(F,$,i,!0,!1,m,g,K,J),eH=(0,B.Z)(eZ,5),eE=eH[0],eR=eH[1],ey=eH[2],eS=eH[3],eO=eH[4],ek=ey(),eT=eL(w,M,ep),eA=(0,B.Z)(eT,7),eD=eA[0],eN=eA[1],eP=eA[2],eq=eA[3],eW=eA[4],ej=eA[5],eY=eA[6],e_=function(e,t){eN(!0),null==er||er(e,{range:tp(null!=t?t:eq)})},eK=function(e,t){eN(!1),null==el||el(e,{range:tp(null!=t?t:eq)})},eU=H.useMemo(function(){if(!P)return null;var e=P.disabledTime,t=e?function(t){return e(t,tp(eq),{from:U(ek,eY,eq)})}:void 0;return(0,y.Z)((0,y.Z)({},P),{},{disabledTime:t})},[P,eq,ek,eY]),eX=(0,S.C8)([I,I],{value:W}),eG=(0,B.Z)(eX,2),eQ=eG[0],eJ=eG[1],e1=eQ[eq]||I,e4="date"===e1&&eU?"datetime":e1,e2=e4===I&&"time"!==e4,e3=eI(I,e1,A,D,!0),e8=eF(r,eE,eR,ey,eS,w,i,eD,ep,s),e6=(0,B.Z)(e8,2),e0=e6[0],e5=e6[1],e7=(c=eY[eY.length-1],function(e,t){var n=(0,B.Z)(ek,2),a=n[0],r=n[1],l=(0,y.Z)((0,y.Z)({},t),{},{from:U(ek,eY)});return!!(1===c&&w[0]&&a&&!ez(F,$,a,e,l.type)&&F.isAfter(a,e)||0===c&&w[1]&&r&&!ez(F,$,r,e,l.type)&&F.isAfter(e,r))||(null==Z?void 0:Z(e,l))}),te=Q(ek,s,M),tt=(0,B.Z)(te,2),tc=tt[0],tn=tt[1],ta=eB(F,$,ek,eQ,ep,eq,l,e2,ee,et,null==eU?void 0:eU.defaultOpenValue,ec,b,V),tr=(0,B.Z)(ta,2),tl=tr[0],to=tr[1],ti=(0,S.zX)(function(e,t,c){var n=Y(eQ,eq,t);if((n[0]!==eQ[0]||n[1]!==eQ[1])&&eJ(n),_&&!1!==c){var a=(0,R.Z)(ek);e&&(a[eq]=e),_(a,n)}}),tu=function(e,t){return Y(ek,t,e)},ts=function(e,t){var c=ek;e&&(c=tu(e,eq));var n=ej(c);eS(c),e0(eq,null===n),null===n?eM(!1,{force:!0}):t||ev.current.focus({index:n})},tf=H.useState(null),th=(0,B.Z)(tf,2),td=th[0],tv=th[1],tm=H.useState(null),tw=(0,B.Z)(tm,2),tM=tw[0],tZ=tw[1],tH=H.useMemo(function(){return tM||ek},[ek,tM]);H.useEffect(function(){ep||tZ(null)},[ep]);var tb=H.useState(0),tV=(0,B.Z)(tb,2),tC=tV[0],tx=tV[1],tE=ex(eo,ei),tL=G(es,ef,eh,tp(eq)),tR=ek[eq]||null,ty=(0,S.zX)(function(e){return s(e,{activeIndex:eq})}),tB=H.useMemo(function(){var e=(0,T.Z)(r,!1);return(0,k.Z)(r,[].concat((0,R.Z)(Object.keys(e)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]))},[r]),tS=H.createElement(e9,(0,L.Z)({},tB,{showNow:e3,showTime:eU,range:!0,multiplePanel:e2,activeOffset:tC,placement:v,disabledDate:e7,onFocus:function(e){eM(!0),e_(e)},onBlur:eK,onPanelMouseDown:function(){eP("panel")},picker:I,mode:e1,internalMode:e4,onPanelChange:ti,format:u,value:tR,isInvalid:ty,onChange:null,onSelect:function(e){eS(Y(ek,eq,e)),z||o||l!==e4||ts(e)},pickerValue:tl,defaultOpenValue:j(null==P?void 0:P.defaultOpenValue)[eq],onPickerValueChange:to,hoverValue:tH,onHover:function(e){tZ(e?tu(e,eq):null),tv("cell")},needConfirm:z,onSubmit:ts,onOk:eO,presets:tE,onPresetHover:function(e){tZ(e),tv("preset")},onPresetSubmit:function(e){e5(e)&&eM(!1,{force:!0})},onNow:function(e){ts(e)},cellRender:tL})),tO=H.useMemo(function(){return{prefixCls:f,locale:$,generateConfig:F,button:eu.button,input:eu.input}},[f,$,F,eu.button,eu.input]);return(0,O.Z)(function(){ep&&void 0!==eq&&ti(null,I,!1)},[ep,eq,I]),(0,O.Z)(function(){var e=eP();ep||"input"!==e||(eM(!1),ts(null,!0)),ep||!o||z||"panel"!==e||(eM(!0),ts())},[ep]),H.createElement(N.Provider,{value:tO},H.createElement(q,(0,L.Z)({},X(r),{popupElement:tS,popupStyle:h.popup,popupClassName:d.popup,visible:ep,onClose:function(){eM(!1)},range:!0}),H.createElement(tg,(0,L.Z)({},r,{ref:ev,suffixIcon:ea,activeIndex:eD||ep?eq:null,activeHelp:!!tM,allHelp:!!tM&&"preset"===td,focused:eD,onFocus:function(e,t){eP("input"),eM(!0,{inherit:!0}),eq!==t&&ep&&!z&&o&&ts(null,!0),eW(t),e_(e,t)},onBlur:function(e,t){eM(!1),z||"input"!==eP()||e0(eq,null===ej(ek)),eK(e,t)},onKeyDown:function(e,t){"Tab"===e.key&&ts(null,!0),null==p||p(e,t)},onSubmit:ts,value:tH,maskFormat:u,onChange:function(e,t){eS(tu(e,t))},onInputChange:function(){eP("input")},format:i,inputReadOnly:en,disabled:w,open:ep,onOpenChange:eM,onClick:function(e){var t,c=e.target.getRootNode();if(!ev.current.nativeElement.contains(null!==(t=c.activeElement)&&void 0!==t?t:document.activeElement)){var n=w.findIndex(function(e){return!e});n>=0&&ev.current.focus({index:n})}eM(!0),null==ed||ed(e)},onClear:function(){e5(null),eM(!1,{force:!0})},invalid:tc,onInvalid:tn,onActiveOffset:tx}))))}),tM=c(39983);function tZ(e){var t=e.prefixCls,c=e.value,n=e.onRemove,a=e.removeIcon,r=void 0===a?"\xd7":a,l=e.formatDate,o=e.disabled,i=e.maxTagCount,u=e.placeholder,s="".concat(t,"-selection");function f(e,t){return H.createElement("span",{className:E()("".concat(s,"-item")),title:"string"==typeof e?e:null},H.createElement("span",{className:"".concat(s,"-item-content")},e),!o&&t&&H.createElement("span",{onMouseDown:function(e){e.preventDefault()},onClick:t,className:"".concat(s,"-item-remove")},r))}return H.createElement("div",{className:"".concat(t,"-selector")},H.createElement(tM.Z,{prefixCls:"".concat(s,"-overflow"),data:c,renderItem:function(e){return f(l(e),function(t){t&&t.stopPropagation(),n(e)})},renderRest:function(e){return f("+ ".concat(e.length," ..."))},itemKey:function(e){return l(e)},maxCount:i}),!c.length&&H.createElement("span",{className:"".concat(t,"-selection-placeholder")},u))}var tH=["id","open","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","removeIcon"],tb=H.forwardRef(function(e,t){e.id;var c=e.open,n=e.clearIcon,a=e.suffixIcon,r=(e.activeHelp,e.allHelp,e.focused),l=(e.onFocus,e.onBlur,e.onKeyDown,e.locale),o=e.generateConfig,i=e.placeholder,u=e.className,s=e.style,f=e.onClick,h=e.onClear,d=e.internalPicker,v=e.value,m=e.onChange,g=e.onSubmit,z=(e.onInputChange,e.multiple),p=e.maxTagCount,w=(e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid,e.disabled),M=e.invalid,Z=(e.inputReadOnly,e.direction),b=(e.onOpenChange,e.onMouseDown),V=(e.required,e["aria-required"],e.autoFocus),C=e.removeIcon,x=(0,te.Z)(e,tH),R=H.useContext(N).prefixCls,S=H.useRef(),O=H.useRef();H.useImperativeHandle(t,function(){return{nativeElement:S.current,focus:function(e){var t;null===(t=O.current)||void 0===t||t.focus(e)},blur:function(){var e;null===(e=O.current)||void 0===e||e.blur()}}});var k=tn(x),T=tt((0,y.Z)((0,y.Z)({},e),{},{onChange:function(e){m([e])}}),function(e){return{value:e.valueTexts[0]||"",active:r}}),F=(0,B.Z)(T,2),I=F[0],A=F[1],D=!!(n&&v.length&&!w),P=z?H.createElement(H.Fragment,null,H.createElement(tZ,{prefixCls:R,value:v,onRemove:function(e){m(v.filter(function(t){return t&&!ez(o,l,t,e,d)})),c||g()},formatDate:A,maxTagCount:p,disabled:w,removeIcon:C,placeholder:i}),H.createElement("input",{className:"".concat(R,"-multiple-input"),value:v.map(A).join(","),ref:O,readOnly:!0,autoFocus:V}),H.createElement(tl,{type:"suffix",icon:a}),D&&H.createElement(to,{icon:n,onClear:h})):H.createElement(td,(0,L.Z)({ref:O},I(),{autoFocus:V,suffixIcon:a,clearIcon:D&&H.createElement(to,{icon:n,onClear:h}),showActiveCls:!1}));return H.createElement("div",(0,L.Z)({},k,{className:E()(R,(0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)({},"".concat(R,"-multiple"),z),"".concat(R,"-focused"),r),"".concat(R,"-disabled"),w),"".concat(R,"-invalid"),M),"".concat(R,"-rtl"),"rtl"===Z),u),style:s,ref:S,onClick:f,onMouseDown:function(e){var t;e.target!==(null===(t=O.current)||void 0===t?void 0:t.inputElement)&&e.preventDefault(),null==b||b(e)}}),P)}),tV=H.forwardRef(function(e,t){var c=eb(e),n=(0,B.Z)(c,6),a=n[0],r=n[1],l=n[2],o=n[3],i=n[4],u=n[5],s=a.prefixCls,f=a.styles,h=a.classNames,d=a.order,v=a.defaultValue,m=a.value,g=a.needConfirm,z=a.onChange,p=a.onKeyDown,w=a.disabled,M=a.disabledDate,Z=a.minDate,b=a.maxDate,V=a.defaultOpen,C=a.open,x=a.onOpenChange,E=a.locale,$=a.generateConfig,F=a.picker,I=a.showNow,A=a.showToday,D=a.showTime,P=a.mode,W=a.onPanelChange,Y=a.onCalendarChange,_=a.onOk,K=a.multiple,U=a.defaultPickerValue,J=a.pickerValue,ee=a.onPickerValueChange,et=a.inputReadOnly,ec=a.suffixIcon,en=a.removeIcon,ea=a.onFocus,er=a.onBlur,el=a.presets,eo=a.components,ei=a.cellRender,eu=a.dateRender,es=a.monthCellRender,ef=a.onClick,eh=eC(t);function ed(e){return null===e?null:K?e:e[0]}var ev=eW($,E,r),em=eV(C,V,[w],x),eg=(0,B.Z)(em,2),ez=eg[0],ep=eg[1],ew=e$($,E,o,!1,d,v,m,function(e,t,c){if(Y){var n=(0,y.Z)({},c);delete n.range,Y(ed(e),ed(t),n)}},function(e){null==_||_(ed(e))}),eM=(0,B.Z)(ew,5),eZ=eM[0],eH=eM[1],eE=eM[2],eR=eM[3],ey=eM[4],eS=eE(),eO=eL([w]),ek=(0,B.Z)(eO,4),eT=ek[0],eA=ek[1],eD=ek[2],eN=ek[3],eP=function(e){eA(!0),null==ea||ea(e,{})},eq=function(e){eA(!1),null==er||er(e,{})},ej=(0,S.C8)(F,{value:P}),eY=(0,B.Z)(ej,2),e_=eY[0],eK=eY[1],eU="date"===e_&&D?"datetime":e_,eX=eI(F,e_,I,A),eG=z&&function(e,t){z(ed(e),ed(t))},eQ=eF((0,y.Z)((0,y.Z)({},a),{},{onChange:eG}),eZ,eH,eE,eR,[],o,eT,ez,u),eJ=(0,B.Z)(eQ,2)[1],e1=Q(eS,u),e4=(0,B.Z)(e1,2),e2=e4[0],e3=e4[1],e8=H.useMemo(function(){return e2.some(function(e){return e})},[e2]),e6=eB($,E,eS,[e_],ez,eN,r,!1,U,J,j(null==D?void 0:D.defaultOpenValue),function(e,t){if(ee){var c=(0,y.Z)((0,y.Z)({},t),{},{mode:t.mode[0]});delete c.range,ee(e[0],c)}},Z,b),e0=(0,B.Z)(e6,2),e5=e0[0],e7=e0[1],te=(0,S.zX)(function(e,t,c){eK(t),W&&!1!==c&&W(e||eS[eS.length-1],t)}),tt=function(){eJ(eE()),ep(!1,{force:!0})},tc=H.useState(null),tn=(0,B.Z)(tc,2),ta=tn[0],tr=tn[1],tl=H.useState(null),to=(0,B.Z)(tl,2),ti=to[0],tu=to[1],ts=H.useMemo(function(){var e=[ti].concat((0,R.Z)(eS)).filter(function(e){return e});return K?e:e.slice(0,1)},[eS,ti,K]),tf=H.useMemo(function(){return!K&&ti?[ti]:eS.filter(function(e){return e})},[eS,ti,K]);H.useEffect(function(){ez||tu(null)},[ez]);var th=ex(el),td=function(e){eJ(K?ev(eE(),e):[e])&&!K&&ep(!1,{force:!0})},tv=G(ei,eu,es),tm=H.useMemo(function(){var e=(0,T.Z)(a,!1),t=(0,k.Z)(a,[].concat((0,R.Z)(Object.keys(e)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,y.Z)((0,y.Z)({},t),{},{multiple:a.multiple})},[a]),tg=H.createElement(e9,(0,L.Z)({},tm,{showNow:eX,showTime:D,disabledDate:M,onFocus:function(e){ep(!0),eP(e)},onBlur:eq,picker:F,mode:e_,internalMode:eU,onPanelChange:te,format:i,value:eS,isInvalid:u,onChange:null,onSelect:function(e){eD("panel"),eR(K?ev(eE(),e):[e]),g||l||r!==eU||tt()},pickerValue:e5,defaultOpenValue:null==D?void 0:D.defaultOpenValue,onPickerValueChange:e7,hoverValue:ts,onHover:function(e){tu(e),tr("cell")},needConfirm:g,onSubmit:tt,onOk:ey,presets:th,onPresetHover:function(e){tu(e),tr("preset")},onPresetSubmit:td,onNow:function(e){td(e)},cellRender:tv})),tz=H.useMemo(function(){return{prefixCls:s,locale:E,generateConfig:$,button:eo.button,input:eo.input}},[s,E,$,eo.button,eo.input]);return(0,O.Z)(function(){ez&&void 0!==eN&&te(null,F,!1)},[ez,eN,F]),(0,O.Z)(function(){var e=eD();ez||"input"!==e||(ep(!1),tt()),ez||!l||g||"panel"!==e||(ep(!0),tt())},[ez]),H.createElement(N.Provider,{value:tz},H.createElement(q,(0,L.Z)({},X(a),{popupElement:tg,popupStyle:f.popup,popupClassName:h.popup,visible:ez,onClose:function(){ep(!1)}}),H.createElement(tb,(0,L.Z)({},a,{ref:eh,suffixIcon:ec,removeIcon:en,activeHelp:!!ti,allHelp:!!ti&&"preset"===ta,focused:eT,onFocus:function(e){eD("input"),ep(!0,{inherit:!0}),eP(e)},onBlur:function(e){ep(!1),eq(e)},onKeyDown:function(e,t){"Tab"===e.key&&tt(),null==p||p(e,t)},onSubmit:tt,value:tf,maskFormat:i,onChange:function(e){eR(e)},onInputChange:function(){eD("input")},internalPicker:r,format:o,inputReadOnly:et,disabled:w,open:ez,onOpenChange:ep,onClick:function(e){w||eh.current.nativeElement.contains(document.activeElement)||eh.current.focus(),ep(!0),null==ef||ef(e)},onClear:function(){eJ(null),ep(!1,{force:!0})},invalid:e8,onInvalid:function(e){e3(e,0)}}))))}),tC=c(89942),tx=c(87263),tE=c(9708),tL=c(53124),tR=c(98866),ty=c(35792),tB=c(98675),tS=c(65223),tO=c(27833),tk=c(10110),tT=c(4173),t$=c(71191),tF=c(25446),tI=c(47673),tA=c(20353),tD=c(14747),tN=c(80110),tP=c(67771),tq=c(33297),tW=c(79511),tj=c(83559),tY=c(83262),t_=c(16928);let tK=(e,t)=>{let{componentCls:c,controlHeight:n}=e,a=t?`${c}-${t}`:"",r=(0,t_.gp)(e);return[{[`${c}-multiple${a}`]:{paddingBlock:r.containerPadding,paddingInlineStart:r.basePadding,minHeight:n,[`${c}-selection-item`]:{height:r.itemHeight,lineHeight:(0,tF.bf)(r.itemLineHeight)}}}]};var tU=e=>{let{componentCls:t,calc:c,lineWidth:n}=e,a=(0,tY.IX)(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),r=(0,tY.IX)(e,{fontHeight:c(e.multipleItemHeightLG).sub(c(n).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[tK(a,"small"),tK(e),tK(r,"large"),{[`${t}${t}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${t}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${t}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}}},(0,t_._z)(e)),{[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},tX=c(10274);let tG=e=>{let{pickerCellCls:t,pickerCellInnerCls:c,cellHeight:n,borderRadiusSM:a,motionDurationMid:r,cellHoverBg:l,lineWidth:o,lineType:i,colorPrimary:u,cellActiveWithRangeBg:s,colorTextLightSolid:f,colorTextDisabled:h,cellBgDisabled:d,colorFillSecondary:v}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:n,transform:"translateY(-50%)",content:'""'},[c]:{position:"relative",zIndex:2,display:"inline-block",minWidth:n,height:n,lineHeight:(0,tF.bf)(n),borderRadius:a,transition:`background ${r}`},[`&:hover:not(${t}-in-view), + &:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end)`]:{[c]:{background:l}},[`&-in-view${t}-today ${c}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,tF.bf)(o)} ${i} ${u}`,borderRadius:a,content:'""'}},[`&-in-view${t}-in-range, + &-in-view${t}-range-start, + &-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:s}},[`&-in-view${t}-selected, + &-in-view${t}-range-start, + &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${c}`]:{color:f,background:u},[`&${t}-disabled ${c}`]:{background:v}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${c}`]:{borderStartStartRadius:a,borderEndStartRadius:a,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${c}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a},"&-disabled":{color:h,pointerEvents:"none",[c]:{background:"transparent"},"&::before":{background:d}},[`&-disabled${t}-today ${c}::before`]:{borderColor:h}}},tQ=e=>{let{componentCls:t,pickerCellCls:c,pickerCellInnerCls:n,pickerYearMonthCellWidth:a,pickerControlIconSize:r,cellWidth:l,paddingSM:o,paddingXS:i,paddingXXS:u,colorBgContainer:s,lineWidth:f,lineType:h,borderRadiusLG:d,colorPrimary:v,colorTextHeading:m,colorSplit:g,pickerControlIconBorderWidth:z,colorIcon:p,textHeight:w,motionDurationMid:M,colorIconHover:Z,fontWeightStrong:H,cellHeight:b,pickerCellPaddingVertical:V,colorTextDisabled:C,colorText:x,fontSize:E,motionDurationSlow:L,withoutTimeCellHeight:R,pickerQuarterPanelContentHeight:y,borderRadiusSM:B,colorTextLightSolid:S,cellHoverBg:O,timeColumnHeight:k,timeColumnWidth:T,timeCellHeight:$,controlItemBgActive:F,marginXXS:I,pickerDatePanelPaddingHorizontal:A,pickerControlIconMargin:D}=e,N=e.calc(l).mul(7).add(e.calc(A).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:s,borderRadius:d,outline:"none","&-focused":{borderColor:v},"&-rtl":{[`${t}-prev-icon, + ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon, + ${t}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${t}-time-panel`]:{[`${t}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},[`&-decade-panel, + &-year-panel, + &-quarter-panel, + &-month-panel, + &-week-panel, + &-date-panel, + &-time-panel`]:{display:"flex",flexDirection:"column",width:N},"&-header":{display:"flex",padding:`0 ${(0,tF.bf)(i)}`,color:m,borderBottom:`${(0,tF.bf)(f)} ${h} ${g}`,"> *":{flex:"none"},button:{padding:0,color:p,lineHeight:(0,tF.bf)(w),background:"transparent",border:0,cursor:"pointer",transition:`color ${M}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center"},"> button":{minWidth:"1.6em",fontSize:E,"&:hover":{color:Z},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:H,lineHeight:(0,tF.bf)(w),"> button":{color:"inherit",fontWeight:"inherit","&:not(:first-child)":{marginInlineStart:i},"&:hover":{color:v}}}},[`&-prev-icon, + &-next-icon, + &-super-prev-icon, + &-super-next-icon`]:{position:"relative",width:r,height:r,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:r,height:r,border:"0 solid currentcolor",borderBlockWidth:`${(0,tF.bf)(z)} 0`,borderInlineWidth:`${(0,tF.bf)(z)} 0`,content:'""'}},[`&-super-prev-icon, + &-super-next-icon`]:{"&::after":{position:"absolute",top:D,insetInlineStart:D,display:"inline-block",width:r,height:r,border:"0 solid currentcolor",borderBlockWidth:`${(0,tF.bf)(z)} 0`,borderInlineWidth:`${(0,tF.bf)(z)} 0`,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:b,fontWeight:"normal"},th:{height:e.calc(b).add(e.calc(V).mul(2)).equal(),color:x,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,tF.bf)(V)} 0`,color:C,cursor:"pointer","&-in-view":{color:x}},tG(e)),[`&-decade-panel, + &-year-panel, + &-quarter-panel, + &-month-panel`]:{[`${t}-content`]:{height:e.calc(R).mul(4).equal()},[n]:{padding:`0 ${(0,tF.bf)(i)}`}},"&-quarter-panel":{[`${t}-content`]:{height:y}},"&-decade-panel":{[n]:{padding:`0 ${(0,tF.bf)(e.calc(i).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},[`&-year-panel, + &-quarter-panel, + &-month-panel`]:{[`${t}-body`]:{padding:`0 ${(0,tF.bf)(i)}`},[n]:{width:a}},"&-date-panel":{[`${t}-body`]:{padding:`${(0,tF.bf)(i)} ${(0,tF.bf)(A)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${n}, + &-selected ${n}, + ${n}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${M}`},"&:first-child:before":{borderStartStartRadius:B,borderEndStartRadius:B},"&:last-child:before":{borderStartEndRadius:B,borderEndEndRadius:B}},"&:hover td":{"&:before":{background:O}},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${c}`]:{"&:before":{background:v},[`&${t}-cell-week`]:{color:new tX.C(S).setAlpha(.5).toHexString()},[n]:{color:S}}},"&-range-hover td:before":{background:F}}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${(0,tF.bf)(i)} ${(0,tF.bf)(o)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${(0,tF.bf)(f)} ${h} ${g}`},[`${t}-date-panel, + ${t}-time-panel`]:{transition:`opacity ${L}`},"&-active":{[`${t}-date-panel, + ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${t}-content`]:{display:"flex",flex:"auto",height:k},"&-column":{flex:"1 0 auto",width:T,margin:`${(0,tF.bf)(u)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${M}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc("100%").sub($).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,tF.bf)(f)} ${h} ${g}`},"&-active":{background:new tX.C(F).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:I,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(T).sub(e.calc(I).mul(2)).equal(),height:$,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(T).sub($).div(2).equal(),color:x,lineHeight:(0,tF.bf)($),borderRadius:B,cursor:"pointer",transition:`background ${M}`,"&:hover":{background:O}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:F}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:C,background:"transparent",cursor:"not-allowed"}}}}}}}}};var tJ=e=>{let{componentCls:t,textHeight:c,lineWidth:n,paddingSM:a,antCls:r,colorPrimary:l,cellActiveWithRangeBg:o,colorPrimaryBorder:i,lineType:u,colorSplit:s}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${(0,tF.bf)(n)} ${u} ${s}`,"&-extra":{padding:`0 ${(0,tF.bf)(a)}`,lineHeight:(0,tF.bf)(e.calc(c).sub(e.calc(n).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,tF.bf)(n)} ${u} ${s}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:(0,tF.bf)(a),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,tF.bf)(e.calc(c).sub(e.calc(n).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${r}-tag-blue`]:{color:l,background:o,borderColor:i,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(n).mul(2).equal(),marginInlineStart:"auto"}}}}};let t1=e=>{let{componentCls:t,controlHeightLG:c,paddingXXS:n,padding:a}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(c).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(c).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(n).add(e.calc(n).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(a).add(e.calc(n).div(2)).equal()}},t4=e=>{let{colorBgContainerDisabled:t,controlHeight:c,controlHeightSM:n,controlHeightLG:a,paddingXXS:r,lineWidth:l}=e,o=2*r,i=2*l,u=Math.min(c-o,c-i),s=Math.min(n-o,n-i),f=Math.min(a-o,a-i),h=Math.floor(r/2),d={INTERNAL_FIXED_ITEM_MARGIN:h,cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new tX.C(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new tX.C(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:1.4*a,timeColumnHeight:224,timeCellHeight:28,cellWidth:1.5*n,cellHeight:n,textHeight:a,withoutTimeCellHeight:1.65*a,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:u,multipleItemHeightSM:s,multipleItemHeightLG:f,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"};return d};var t2=c(93900),t3=e=>{let{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},(0,t2.qG)(e)),(0,t2.H8)(e)),(0,t2.Mu)(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${(0,tF.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${(0,tF.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${(0,tF.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}};let t8=(e,t,c,n)=>{let a=e.calc(c).add(2).equal(),r=e.max(e.calc(t).sub(a).div(2).equal(),0),l=e.max(e.calc(t).sub(a).sub(r).equal(),0);return{padding:`${(0,tF.bf)(r)} ${(0,tF.bf)(n)} ${(0,tF.bf)(l)}`}},t6=e=>{let{componentCls:t,colorError:c,colorWarning:n}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:c}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:n}}}}},t0=e=>{let{componentCls:t,antCls:c,controlHeight:n,paddingInline:a,lineWidth:r,lineType:l,colorBorder:o,borderRadius:i,motionDurationMid:u,colorTextDisabled:s,colorTextPlaceholder:f,controlHeightLG:h,fontSizeLG:d,controlHeightSM:v,paddingInlineSM:m,paddingXS:g,marginXS:z,colorTextDescription:p,lineWidthBold:w,colorPrimary:M,motionDurationSlow:Z,zIndexPopup:H,paddingXXS:b,sizePopupArrow:V,colorBgElevated:C,borderRadiusLG:x,boxShadowSecondary:E,borderRadiusSM:L,colorSplit:R,cellHoverBg:y,presetsWidth:B,presetsMaxWidth:S,boxShadowPopoverArrow:O,fontHeight:k,fontHeightLG:T,lineHeightLG:$}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},(0,tD.Wf)(e)),t8(e,n,k,a)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:i,transition:`border ${u}, box-shadow ${u}, background ${u}`,[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${u}`},(0,tI.nz)(f)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:s,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:f}}},"&-large":Object.assign(Object.assign({},t8(e,h,T,a)),{[`${t}-input > input`]:{fontSize:d,lineHeight:$}}),"&-small":Object.assign({},t8(e,v,k,m)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(g).div(2).equal(),color:s,lineHeight:1,pointerEvents:"none",transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:z}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:s,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top"},"&:hover":{color:p}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:d,color:s,fontSize:d,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:p},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(r).mul(-1).equal(),height:w,background:M,opacity:0,transition:`all ${Z} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${(0,tF.bf)(g)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:a},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:m}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,tD.Wf)(e)),tQ(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:H,[`&${t}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${t}-dropdown-placement-bottomLeft, + &${t}-dropdown-placement-bottomRight`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft, + &${t}-dropdown-placement-topRight`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${c}-slide-up-enter${c}-slide-up-enter-active${t}-dropdown-placement-topLeft, + &${c}-slide-up-enter${c}-slide-up-enter-active${t}-dropdown-placement-topRight, + &${c}-slide-up-appear${c}-slide-up-appear-active${t}-dropdown-placement-topLeft, + &${c}-slide-up-appear${c}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:tP.Qt},[`&${c}-slide-up-enter${c}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, + &${c}-slide-up-enter${c}-slide-up-enter-active${t}-dropdown-placement-bottomRight, + &${c}-slide-up-appear${c}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, + &${c}-slide-up-appear${c}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:tP.fJ},[`&${c}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${c}-slide-up-leave${c}-slide-up-leave-active${t}-dropdown-placement-topLeft, + &${c}-slide-up-leave${c}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:tP.ly},[`&${c}-slide-up-leave${c}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, + &${c}-slide-up-leave${c}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:tP.Uw},[`${t}-panel > ${t}-time-panel`]:{paddingTop:b},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(a).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${Z} ease-out`},(0,tW.W)(e,C,O)),{"&:before":{insetInlineStart:e.calc(a).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:C,borderRadius:x,boxShadow:E,transition:`margin ${Z}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:B,maxWidth:S,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:g,borderInlineEnd:`${(0,tF.bf)(r)} ${l} ${R}`,li:Object.assign(Object.assign({},tD.vS),{borderRadius:L,paddingInline:g,paddingBlock:e.calc(v).sub(k).div(2).equal(),cursor:"pointer",transition:`all ${Z}`,"+ li":{marginTop:z},"&:hover":{background:y}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:o}}}}),"&-dropdown-range":{padding:`${(0,tF.bf)(e.calc(V).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,tP.oN)(e,"slide-up"),(0,tP.oN)(e,"slide-down"),(0,tq.Fm)(e,"move-up"),(0,tq.Fm)(e,"move-down")]};var t5=(0,tj.I$)("DatePicker",e=>{let t=(0,tY.IX)((0,tA.e)(e),t1(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[tJ(t),t0(t),t3(t),t6(t),tU(t),(0,tN.c)(e,{focusElCls:`${e.componentCls}-focused`})]},e=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,tA.T)(e)),t4(e)),(0,tW.w)(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50})),t7=c(43277);function t9(e,t){let c={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:c};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:c};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:c};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:c};default:return{points:"rtl"===e?["tr","br"]:["tl","bl"],offset:[0,4],overflow:c}}}function ce(e,t){let{allowClear:c=!0}=e,{clearIcon:n,removeIcon:a}=(0,t7.Z)(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"})),r=H.useMemo(()=>{if(!1===c)return!1;let e=!0===c?{}:c;return Object.assign({clearIcon:n},e)},[c,n]);return[r,a]}let[ct,cc]=["week","WeekPicker"],[cn,ca]=["month","MonthPicker"],[cr,cl]=["year","YearPicker"],[co,ci]=["quarter","QuarterPicker"],[cu,cs]=["time","TimePicker"];var cf=c(14726),ch=e=>H.createElement(cf.ZP,Object.assign({size:"small",type:"primary"},e));function cd(e){return(0,H.useMemo)(()=>Object.assign({button:ch},e),[e])}var cv=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(c[n[a]]=e[n[a]]);return c},cm=e=>{let t=(0,H.forwardRef)((t,c)=>{var n;let{prefixCls:a,getPopupContainer:r,components:l,className:o,style:i,placement:u,size:s,disabled:f,bordered:h=!0,placeholder:d,popupClassName:v,dropdownClassName:m,status:g,rootClassName:z,variant:p,picker:w}=t,M=cv(t,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),Z=H.useRef(null),{getPrefixCls:x,direction:L,getPopupContainer:R,rangePicker:y}=(0,H.useContext)(tL.E_),B=x("picker",a),{compactSize:S,compactItemClassnames:O}=(0,tT.ri)(B,L),k=x(),[T,$]=(0,tO.Z)("rangePicker",p,h),F=(0,ty.Z)(B),[I,A,D]=t5(B,F),[N]=ce(t,B),P=cd(l),q=(0,tB.Z)(e=>{var t;return null!==(t=null!=s?s:S)&&void 0!==t?t:e}),W=H.useContext(tR.Z),j=(0,H.useContext)(tS.aM),{hasFeedback:Y,status:_,feedbackIcon:K}=j,U=H.createElement(H.Fragment,null,w===cu?H.createElement(V.Z,null):H.createElement(b.Z,null),Y&&K);(0,H.useImperativeHandle)(c,()=>Z.current);let[X]=(0,tk.Z)("Calendar",t$.Z),G=Object.assign(Object.assign({},X),t.locale),[Q]=(0,tx.Cn)("DatePicker",null===(n=t.popupStyle)||void 0===n?void 0:n.zIndex);return I(H.createElement(tC.Z,{space:!0},H.createElement(tw,Object.assign({separator:H.createElement("span",{"aria-label":"to",className:`${B}-separator`},H.createElement(C.Z,null)),disabled:null!=f?f:W,ref:Z,popupAlign:t9(L,u),placement:u,placeholder:void 0!==d?d:"year"===w&&G.lang.yearPlaceholder?G.lang.rangeYearPlaceholder:"quarter"===w&&G.lang.quarterPlaceholder?G.lang.rangeQuarterPlaceholder:"month"===w&&G.lang.monthPlaceholder?G.lang.rangeMonthPlaceholder:"week"===w&&G.lang.weekPlaceholder?G.lang.rangeWeekPlaceholder:"time"===w&&G.timePickerLocale.placeholder?G.timePickerLocale.rangePlaceholder:G.lang.rangePlaceholder,suffixIcon:U,prevIcon:H.createElement("span",{className:`${B}-prev-icon`}),nextIcon:H.createElement("span",{className:`${B}-next-icon`}),superPrevIcon:H.createElement("span",{className:`${B}-super-prev-icon`}),superNextIcon:H.createElement("span",{className:`${B}-super-next-icon`}),transitionName:`${k}-slide-up`,picker:w},M,{className:E()({[`${B}-${q}`]:q,[`${B}-${T}`]:$},(0,tE.Z)(B,(0,tE.F)(_,g),Y),A,O,o,null==y?void 0:y.className,D,F,z),style:Object.assign(Object.assign({},null==y?void 0:y.style),i),locale:G.lang,prefixCls:B,getPopupContainer:r||R,generateConfig:e,components:P,direction:L,classNames:{popup:E()(A,v||m,D,F,z)},styles:{popup:Object.assign(Object.assign({},t.popupStyle),{zIndex:Q})},allowClear:N}))))});return t},cg=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(c[n[a]]=e[n[a]]);return c},cz=e=>{let t=(t,c)=>{let n=c===cs?"timePicker":"datePicker",a=(0,H.forwardRef)((c,a)=>{var r;let{prefixCls:l,getPopupContainer:o,components:i,style:u,className:s,rootClassName:f,size:h,bordered:d,placement:v,placeholder:m,popupClassName:g,dropdownClassName:z,disabled:p,status:w,variant:M,onCalendarChange:Z}=c,C=cg(c,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:x,direction:L,getPopupContainer:R,[n]:y}=(0,H.useContext)(tL.E_),B=x("picker",l),{compactSize:S,compactItemClassnames:O}=(0,tT.ri)(B,L),k=H.useRef(null),[T,$]=(0,tO.Z)("datePicker",M,d),F=(0,ty.Z)(B),[I,A,D]=t5(B,F);(0,H.useImperativeHandle)(a,()=>k.current);let N=t||c.picker,P=x(),{onSelect:q,multiple:W}=C,j=q&&"time"===t&&!W,[Y,_]=ce(c,B),K=cd(i),U=(0,tB.Z)(e=>{var t;return null!==(t=null!=h?h:S)&&void 0!==t?t:e}),X=H.useContext(tR.Z),G=(0,H.useContext)(tS.aM),{hasFeedback:Q,status:J,feedbackIcon:ee}=G,et=H.createElement(H.Fragment,null,"time"===N?H.createElement(V.Z,null):H.createElement(b.Z,null),Q&&ee),[ec]=(0,tk.Z)("DatePicker",t$.Z),en=Object.assign(Object.assign({},ec),c.locale),[ea]=(0,tx.Cn)("DatePicker",null===(r=c.popupStyle)||void 0===r?void 0:r.zIndex);return I(H.createElement(tC.Z,{space:!0},H.createElement(tV,Object.assign({ref:k,placeholder:void 0!==m?m:"year"===N&&en.lang.yearPlaceholder?en.lang.yearPlaceholder:"quarter"===N&&en.lang.quarterPlaceholder?en.lang.quarterPlaceholder:"month"===N&&en.lang.monthPlaceholder?en.lang.monthPlaceholder:"week"===N&&en.lang.weekPlaceholder?en.lang.weekPlaceholder:"time"===N&&en.timePickerLocale.placeholder?en.timePickerLocale.placeholder:en.lang.placeholder,suffixIcon:et,dropdownAlign:t9(L,v),placement:v,prevIcon:H.createElement("span",{className:`${B}-prev-icon`}),nextIcon:H.createElement("span",{className:`${B}-next-icon`}),superPrevIcon:H.createElement("span",{className:`${B}-super-prev-icon`}),superNextIcon:H.createElement("span",{className:`${B}-super-next-icon`}),transitionName:`${P}-slide-up`,picker:t,onCalendarChange:(e,t,c)=>{null==Z||Z(e,t,c),j&&q(e)}},{showToday:!0},C,{locale:en.lang,className:E()({[`${B}-${U}`]:U,[`${B}-${T}`]:$},(0,tE.Z)(B,(0,tE.F)(J,w),Q),A,O,null==y?void 0:y.className,s,D,F,f),style:Object.assign(Object.assign({},null==y?void 0:y.style),u),prefixCls:B,getPopupContainer:o||R,generateConfig:e,components:K,direction:L,disabled:null!=p?p:X,classNames:{popup:E()(A,D,F,f,g||z)},styles:{popup:Object.assign(Object.assign({},c.popupStyle),{zIndex:ea})},allowClear:Y,removeIcon:_}))))});return a},c=t(),n=t(ct,cc),a=t(cn,ca),r=t(cr,cl),l=t(co,ci),o=t(cu,cs);return{DatePicker:c,WeekPicker:n,MonthPicker:a,YearPicker:r,TimePicker:o,QuarterPicker:l}},cp=e=>{let{DatePicker:t,WeekPicker:c,MonthPicker:n,YearPicker:a,TimePicker:r,QuarterPicker:l}=cz(e),o=cm(e);return t.WeekPicker=c,t.MonthPicker=n,t.YearPicker=a,t.RangePicker=o,t.TimePicker=r,t.QuarterPicker=l,t};let cw=cp({getNow:function(){return a()()},getFixedDate:function(e){return a()(e,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(e){return e.endOf("month")},getWeekDay:function(e){var t=e.locale("en");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:function(e){return e.year()},getMonth:function(e){return e.month()},getDate:function(e){return e.date()},getHour:function(e){return e.hour()},getMinute:function(e){return e.minute()},getSecond:function(e){return e.second()},getMillisecond:function(e){return e.millisecond()},addYear:function(e,t){return e.add(t,"year")},addMonth:function(e,t){return e.add(t,"month")},addDate:function(e,t){return e.add(t,"day")},setYear:function(e,t){return e.year(t)},setMonth:function(e,t){return e.month(t)},setDate:function(e,t){return e.date(t)},setHour:function(e,t){return e.hour(t)},setMinute:function(e,t){return e.minute(t)},setSecond:function(e,t){return e.second(t)},setMillisecond:function(e,t){return e.millisecond(t)},isAfter:function(e,t){return e.isAfter(t)},isValidate:function(e){return e.isValid()},locale:{getWeekFirstDay:function(e){return a()().locale(w(e)).localeData().firstDayOfWeek()},getWeekFirstDate:function(e,t){return t.locale(w(e)).weekday(0)},getWeek:function(e,t){return t.locale(w(e)).week()},getShortWeekDays:function(e){return a()().locale(w(e)).localeData().weekdaysMin()},getShortMonths:function(e){return a()().locale(w(e)).localeData().monthsShort()},format:function(e,t,c){return t.locale(w(e)).format(c)},parse:function(e,t,c){for(var n=w(e),r=0;r!isNaN(parseFloat(e))&&isFinite(e),h=c(53124),d=c(82401),v=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(c[n[a]]=e[n[a]]);return c};let m={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},g=a.createContext({}),z=(n=0,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return`${e}${n+=1}`}),p=a.forwardRef((e,t)=>{let{prefixCls:c,className:n,trigger:i,children:p,defaultCollapsed:w=!1,theme:M="dark",style:Z={},collapsible:H=!1,reverseArrow:b=!1,width:V=200,collapsedWidth:C=80,zeroWidthTriggerStyle:x,breakpoint:E,onCollapse:L,onBreakpoint:R}=e,y=v(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:B}=(0,a.useContext)(d.V),[S,O]=(0,a.useState)("collapsed"in e?e.collapsed:w),[k,T]=(0,a.useState)(!1);(0,a.useEffect)(()=>{"collapsed"in e&&O(e.collapsed)},[e.collapsed]);let $=(t,c)=>{"collapsed"in e||O(t),null==L||L(t,c)},F=(0,a.useRef)();F.current=e=>{T(e.matches),null==R||R(e.matches),S!==e.matches&&$(e.matches,"responsive")},(0,a.useEffect)(()=>{let e;function t(e){return F.current(e)}if("undefined"!=typeof window){let{matchMedia:c}=window;if(c&&E&&E in m){e=c(`screen and (max-width: ${m[E]})`);try{e.addEventListener("change",t)}catch(c){e.addListener(t)}t(e)}}return()=>{try{null==e||e.removeEventListener("change",t)}catch(c){null==e||e.removeListener(t)}}},[E]),(0,a.useEffect)(()=>{let e=z("ant-sider-");return B.addSider(e),()=>B.removeSider(e)},[]);let I=()=>{$(!S,"clickTrigger")},{getPrefixCls:A}=(0,a.useContext)(h.E_),D=a.useMemo(()=>({siderCollapsed:S}),[S]);return a.createElement(g.Provider,{value:D},(()=>{let e=A("layout-sider",c),h=(0,s.Z)(y,["collapsed"]),d=S?C:V,v=f(d)?`${d}px`:String(d),m=0===parseFloat(String(C||0))?a.createElement("span",{onClick:I,className:u()(`${e}-zero-width-trigger`,`${e}-zero-width-trigger-${b?"right":"left"}`),style:x},i||a.createElement(r.Z,null)):null,g={expanded:b?a.createElement(o.Z,null):a.createElement(l.Z,null),collapsed:b?a.createElement(l.Z,null):a.createElement(o.Z,null)},z=S?"collapsed":"expanded",w=g[z],E=null!==i?m||a.createElement("div",{className:`${e}-trigger`,onClick:I,style:{width:v}},i||w):null,L=Object.assign(Object.assign({},Z),{flex:`0 0 ${v}`,maxWidth:v,minWidth:v,width:v}),R=u()(e,`${e}-${M}`,{[`${e}-collapsed`]:!!S,[`${e}-has-trigger`]:H&&null!==i&&!m,[`${e}-below`]:!!k,[`${e}-zero-width`]:0===parseFloat(v)},n);return a.createElement("aside",Object.assign({className:R},h,{style:L,ref:t}),a.createElement("div",{className:`${e}-children`},p),H||k&&m?E:null)})())});var w=p},82401:function(e,t,c){"use strict";c.d(t,{V:function(){return a}});var n=c(67294);let a=n.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},86738:function(e,t,c){"use strict";c.d(t,{Z:function(){return C}});var n=c(67294),a=c(21640),r=c(93967),l=c.n(r),o=c(21770),i=c(98423),u=c(53124),s=c(55241),f=c(86743),h=c(81643),d=c(14726),v=c(33671),m=c(10110),g=c(24457),z=c(66330),p=c(83559);let w=e=>{let{componentCls:t,iconCls:c,antCls:n,zIndexPopup:a,colorText:r,colorWarning:l,marginXXS:o,marginXS:i,fontSize:u,fontWeightStrong:s,colorTextHeading:f}=e;return{[t]:{zIndex:a,[`&${n}-popover`]:{fontSize:u},[`${t}-message`]:{marginBottom:i,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${c}`]:{color:l,fontSize:u,lineHeight:1,marginInlineEnd:i},[`${t}-title`]:{fontWeight:s,color:f,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:o,color:r}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:i}}}}};var M=(0,p.I$)("Popconfirm",e=>w(e),e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1}),Z=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(c[n[a]]=e[n[a]]);return c};let H=e=>{let{prefixCls:t,okButtonProps:c,cancelButtonProps:r,title:l,description:o,cancelText:i,okText:s,okType:z="primary",icon:p=n.createElement(a.Z,null),showCancel:w=!0,close:M,onConfirm:Z,onCancel:H,onPopupClick:b}=e,{getPrefixCls:V}=n.useContext(u.E_),[C]=(0,m.Z)("Popconfirm",g.Z.Popconfirm),x=(0,h.Z)(l),E=(0,h.Z)(o);return n.createElement("div",{className:`${t}-inner-content`,onClick:b},n.createElement("div",{className:`${t}-message`},p&&n.createElement("span",{className:`${t}-message-icon`},p),n.createElement("div",{className:`${t}-message-text`},x&&n.createElement("div",{className:`${t}-title`},x),E&&n.createElement("div",{className:`${t}-description`},E))),n.createElement("div",{className:`${t}-buttons`},w&&n.createElement(d.ZP,Object.assign({onClick:H,size:"small"},r),i||(null==C?void 0:C.cancelText)),n.createElement(f.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,v.nx)(z)),c),actionFn:Z,close:M,prefixCls:V("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},s||(null==C?void 0:C.okText))))};var b=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(c[n[a]]=e[n[a]]);return c};let V=n.forwardRef((e,t)=>{var c,r;let{prefixCls:f,placement:h="top",trigger:d="click",okType:v="primary",icon:m=n.createElement(a.Z,null),children:g,overlayClassName:z,onOpenChange:p,onVisibleChange:w}=e,Z=b(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:V}=n.useContext(u.E_),[C,x]=(0,o.Z)(!1,{value:null!==(c=e.open)&&void 0!==c?c:e.visible,defaultValue:null!==(r=e.defaultOpen)&&void 0!==r?r:e.defaultVisible}),E=(e,t)=>{x(e,!0),null==w||w(e),null==p||p(e,t)},L=V("popconfirm",f),R=l()(L,z),[y]=M(L);return y(n.createElement(s.Z,Object.assign({},(0,i.Z)(Z,["title"]),{trigger:d,placement:h,onOpenChange:(t,c)=>{let{disabled:n=!1}=e;n||E(t,c)},open:C,ref:t,overlayClassName:R,content:n.createElement(H,Object.assign({okType:v,icon:m},e,{prefixCls:L,close:e=>{E(!1,e)},onConfirm:t=>{var c;return null===(c=e.onConfirm)||void 0===c?void 0:c.call(void 0,t)},onCancel:t=>{var c;E(!1,t),null===(c=e.onCancel)||void 0===c||c.call(void 0,t)}})),"data-popover-inject":!0}),g))});V._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,placement:c,className:a,style:r}=e,o=Z(e,["prefixCls","placement","className","style"]),{getPrefixCls:i}=n.useContext(u.E_),s=i("popconfirm",t),[f]=M(s);return f(n.createElement(z.ZP,{placement:c,className:l()(s,a),style:r,content:n.createElement(H,Object.assign({prefixCls:s},o))}))};var C=V},68351:function(e,t,c){"use strict";var n=c(67294),a=c(8745),r=c(69935),l=c(27833),o=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(c[n[a]]=e[n[a]]);return c};let{TimePicker:i,RangePicker:u}=r.default,s=n.forwardRef((e,t)=>n.createElement(u,Object.assign({},e,{picker:"time",mode:void 0,ref:t}))),f=n.forwardRef((e,t)=>{var{addon:c,renderExtraFooter:a,variant:r,bordered:u}=e,s=o(e,["addon","renderExtraFooter","variant","bordered"]);let[f]=(0,l.Z)("timePicker",r,u),h=n.useMemo(()=>a||c||void 0,[c,a]);return n.createElement(i,Object.assign({},s,{mode:void 0,ref:t,renderExtraFooter:h,variant:f}))}),h=(0,a.Z)(f,"picker");f._InternalPanelDoNotUseOrYouWillBeFired=h,f.RangePicker=s,f._InternalPanelDoNotUseOrYouWillBeFired=h,t.Z=f},59847:function(e,t,c){"use strict";c.d(t,{Z:function(){return ed}});var n=c(67294),a=c(93967),r=c.n(a),l=c(87462),o=c(74902),i=c(1413),u=c(97685),s=c(45987),f=c(71002),h=c(82275),d=c(88708),v=c(17341),m=c(21770),g=c(80334),z=function(e){var t=n.useRef({valueLabels:new Map});return n.useMemo(function(){var c=t.current.valueLabels,n=new Map,a=e.map(function(e){var t,a=e.value,r=null!==(t=e.label)&&void 0!==t?t:c.get(a);return n.set(a,r),(0,i.Z)((0,i.Z)({},e),{},{label:r})});return t.current.valueLabels=n,[a]},[e])},p=c(1089),w=c(4942),M=c(50344),Z=function(){return null},H=["children","value"];function b(e){if(!e)return e;var t=(0,i.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,g.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}var V=function(e,t,c){var a=c.treeNodeFilterProp,r=c.filterTreeNode,l=c.fieldNames.children;return n.useMemo(function(){if(!t||!1===r)return e;if("function"==typeof r)c=r;else{var c,n=t.toUpperCase();c=function(e,t){return String(t[a]).toUpperCase().includes(n)}}return function e(n){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n.reduce(function(n,r){var o=r[l],u=a||c(t,b(r)),s=e(o||[],u);return(u||s.length)&&n.push((0,i.Z)((0,i.Z)({},r),{},(0,w.Z)({isLeaf:void 0},l,s))),n},[])}(e)},[e,t,l,a,r])};function C(e){var t=n.useRef();return t.current=e,n.useCallback(function(){return t.current.apply(t,arguments)},[])}var x=n.createContext(null),E=c(99814),L=c(15105),R=c(56982),y=n.createContext(null);function B(e){return!e||e.disabled||e.disableCheckbox||!1===e.checkable}var S={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},O=n.forwardRef(function(e,t){var c=(0,h.lk)(),a=c.prefixCls,r=c.multiple,i=c.searchValue,s=c.toggleOpen,f=c.open,d=c.notFoundContent,v=n.useContext(y),m=v.virtual,g=v.listHeight,z=v.listItemHeight,p=v.listItemScrollOffset,w=v.treeData,M=v.fieldNames,Z=v.onSelect,H=v.dropdownMatchSelectWidth,b=v.treeExpandAction,V=v.treeTitleRender,C=v.onPopupScroll,O=n.useContext(x),k=O.checkable,T=O.checkedKeys,$=O.halfCheckedKeys,F=O.treeExpandedKeys,I=O.treeDefaultExpandAll,A=O.treeDefaultExpandedKeys,D=O.onTreeExpand,N=O.treeIcon,P=O.showTreeIcon,q=O.switcherIcon,W=O.treeLine,j=O.treeNodeFilterProp,Y=O.loadData,_=O.treeLoadedKeys,K=O.treeMotion,U=O.onTreeLoad,X=O.keyEntities,G=n.useRef(),Q=(0,R.Z)(function(){return w},[f,w],function(e,t){return t[0]&&e[1]!==t[1]}),J=n.useState(null),ee=(0,u.Z)(J,2),et=ee[0],ec=ee[1],en=X[et],ea=n.useMemo(function(){return k?{checked:T,halfChecked:$}:null},[k,T,$]);n.useEffect(function(){if(f&&!r&&T.length){var e;null===(e=G.current)||void 0===e||e.scrollTo({key:T[0]}),ec(T[0])}},[f]);var er=String(i).toLowerCase(),el=n.useState(A),eo=(0,u.Z)(el,2),ei=eo[0],eu=eo[1],es=n.useState(null),ef=(0,u.Z)(es,2),eh=ef[0],ed=ef[1],ev=n.useMemo(function(){return F?(0,o.Z)(F):i?eh:ei},[ei,eh,F,i]);n.useEffect(function(){if(i){var e;ed((e=[],!function t(c){c.forEach(function(c){var n=c[M.children];n&&(e.push(c[M.value]),t(n))})}(w),e))}},[i]);var em=function(e){e.preventDefault()},eg=function(e,t){var c=t.node;!(k&&B(c))&&(Z(c.key,{selected:!T.includes(c.key)}),r||s(!1))};if(n.useImperativeHandle(t,function(){var e;return{scrollTo:null===(e=G.current)||void 0===e?void 0:e.scrollTo,onKeyDown:function(e){var t;switch(e.which){case L.Z.UP:case L.Z.DOWN:case L.Z.LEFT:case L.Z.RIGHT:null===(t=G.current)||void 0===t||t.onKeyDown(e);break;case L.Z.ENTER:if(en){var c=(null==en?void 0:en.node)||{},n=c.selectable,a=c.value;!1!==n&&eg(null,{node:{key:et},selected:!T.includes(a)})}break;case L.Z.ESC:s(!1)}},onKeyUp:function(){}}}),0===Q.length)return n.createElement("div",{role:"listbox",className:"".concat(a,"-empty"),onMouseDown:em},d);var ez={fieldNames:M};return _&&(ez.loadedKeys=_),ev&&(ez.expandedKeys=ev),n.createElement("div",{onMouseDown:em},en&&f&&n.createElement("span",{style:S,"aria-live":"assertive"},en.node.value),n.createElement(E.Z,(0,l.Z)({ref:G,focusable:!1,prefixCls:"".concat(a,"-tree"),treeData:Q,height:g,itemHeight:z,itemScrollOffset:p,virtual:!1!==m&&!1!==H,multiple:r,icon:N,showIcon:P,switcherIcon:q,showLine:W,loadData:i?null:Y,motion:K,activeKey:et,checkable:k,checkStrictly:!0,checkedKeys:ea,selectedKeys:k?[]:T,defaultExpandAll:I,titleRender:V},ez,{onActiveChange:ec,onSelect:eg,onCheck:eg,onExpand:function(e){eu(e),ed(e),D&&D(e)},onLoad:U,filterTreeNode:function(e){return!!er&&String(e[j]).toLowerCase().includes(er)},expandAction:b,onScroll:C})))}),k="SHOW_ALL",T="SHOW_PARENT",$="SHOW_CHILD";function F(e,t,c,n){var a=new Set(e);return t===$?e.filter(function(e){var t=c[e];return!(t&&t.children&&t.children.some(function(e){var t=e.node;return a.has(t[n.value])})&&t.children.every(function(e){var t=e.node;return B(t)||a.has(t[n.value])}))}):t===T?e.filter(function(e){var t=c[e],n=t?t.parent:null;return!(n&&!B(n.node)&&a.has(n.key))}):e}var I=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"],A=n.forwardRef(function(e,t){var c=e.id,a=e.prefixCls,r=e.value,w=e.defaultValue,E=e.onChange,L=e.onSelect,R=e.onDeselect,B=e.searchValue,S=e.inputValue,T=e.onSearch,A=e.autoClearSearchValue,D=void 0===A||A,N=e.filterTreeNode,P=e.treeNodeFilterProp,q=void 0===P?"value":P,W=e.showCheckedStrategy,j=e.treeNodeLabelProp,Y=e.multiple,_=e.treeCheckable,K=e.treeCheckStrictly,U=e.labelInValue,X=e.fieldNames,G=e.treeDataSimpleMode,Q=e.treeData,J=e.children,ee=e.loadData,et=e.treeLoadedKeys,ec=e.onTreeLoad,en=e.treeDefaultExpandAll,ea=e.treeExpandedKeys,er=e.treeDefaultExpandedKeys,el=e.onTreeExpand,eo=e.treeExpandAction,ei=e.virtual,eu=e.listHeight,es=void 0===eu?200:eu,ef=e.listItemHeight,eh=void 0===ef?20:ef,ed=e.listItemScrollOffset,ev=void 0===ed?0:ed,em=e.onDropdownVisibleChange,eg=e.dropdownMatchSelectWidth,ez=void 0===eg||eg,ep=e.treeLine,ew=e.treeIcon,eM=e.showTreeIcon,eZ=e.switcherIcon,eH=e.treeMotion,eb=e.treeTitleRender,eV=e.onPopupScroll,eC=(0,s.Z)(e,I),ex=(0,d.ZP)(c),eE=_&&!K,eL=_||K,eR=K||U,ey=eL||Y,eB=(0,m.Z)(w,{value:r}),eS=(0,u.Z)(eB,2),eO=eS[0],ek=eS[1],eT=n.useMemo(function(){return _?W||$:k},[W,_]),e$=n.useMemo(function(){var e,t,c,n,a;return t=(e=X||{}).label,c=e.value,n=e.children,{_title:t?[t]:["title","label"],value:a=c||"value",key:a,children:n||"children"}},[JSON.stringify(X)]),eF=(0,m.Z)("",{value:void 0!==B?B:S,postState:function(e){return e||""}}),eI=(0,u.Z)(eF,2),eA=eI[0],eD=eI[1],eN=n.useMemo(function(){if(Q){var e,t,c,a,r,l;return G?(t=(e=(0,i.Z)({id:"id",pId:"pId",rootPId:null},!0!==G?G:{})).id,c=e.pId,a=e.rootPId,r={},l=[],Q.map(function(e){var c=(0,i.Z)({},e),n=c[t];return r[n]=c,c.key=c.key||n,c}).forEach(function(e){var t=e[c],n=r[t];n&&(n.children=n.children||[],n.children.push(e)),t!==a&&(n||null!==a)||l.push(e)}),l):Q}return function e(t){return(0,M.Z)(t).map(function(t){if(!n.isValidElement(t)||!t.type)return null;var c=t.key,a=t.props,r=a.children,l=a.value,o=(0,s.Z)(a,H),u=(0,i.Z)({key:c,value:l},o),f=e(r);return f.length&&(u.children=f),u}).filter(function(e){return e})}(J)},[J,G,Q]),eP=n.useMemo(function(){return(0,p.I8)(eN,{fieldNames:e$,initWrapper:function(e){return(0,i.Z)((0,i.Z)({},e),{},{valueEntities:new Map})},processEntity:function(e,t){var c=e.node[e$.value];t.valueEntities.set(c,e)}})},[eN,e$]),eq=eP.keyEntities,eW=eP.valueEntities,ej=n.useCallback(function(e){var t=[],c=[];return e.forEach(function(e){eW.has(e)?c.push(e):t.push(e)}),{missingRawValues:t,existRawValues:c}},[eW]),eY=V(eN,eA,{fieldNames:e$,treeNodeFilterProp:q,filterTreeNode:N}),e_=n.useCallback(function(e){if(e){if(j)return e[j];for(var t=e$._title,c=0;c1&&void 0!==arguments[1]?arguments[1]:"0",u=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return a.map(function(a,s){var f="".concat(r,"-").concat(s),h=a[l.value],d=c.includes(h),v=e(a[l.children]||[],f,d),m=n.createElement(Z,a,v.map(function(e){return e.node}));if(t===h&&(o=m),d){var g={pos:f,node:m,children:v};return u||i.push(g),g}return null}).filter(function(e){return e})}(a),i.sort(function(e,t){var n=e.node.props.value,a=t.node.props.value;return c.indexOf(n)-c.indexOf(a)}))}Object.defineProperty(e,"triggerNode",{get:function(){return(0,g.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),u(),o}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return((0,g.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),u(),r)?i:i.map(function(e){return e.node})}})}(h,l,e,eN,d,e$),eL?h.checked=i:h.selected=i;var v=eR?f:f.map(function(e){return e.value});E(ey?v:v[0],eR?null:f.map(function(e){return e.label}),h)}}),e9=n.useCallback(function(e,t){var c=t.selected,n=t.source,a=eq[e],r=null==a?void 0:a.node,l=null!==(u=null==r?void 0:r[e$.value])&&void 0!==u?u:e;if(ey){var i=c?[].concat((0,o.Z)(e4),[l]):e8.filter(function(e){return e!==l});if(eE){var u,s,f=ej(i),h=f.missingRawValues,d=f.existRawValues.map(function(e){return eW.get(e).key});s=c?(0,v.S)(d,!0,eq).checkedKeys:(0,v.S)(d,{checked:!1,halfCheckedKeys:e6},eq).checkedKeys,i=[].concat((0,o.Z)(h),(0,o.Z)(s.map(function(e){return eq[e].node[e$.value]})))}e7(i,{selected:c,triggerValue:l},n||"option")}else e7([l],{selected:!0,triggerValue:l},"option");c||!ey?null==L||L(l,b(r)):null==R||R(l,b(r))},[ej,eW,eq,e$,ey,e4,e7,eE,L,R,e8,e6]),te=n.useCallback(function(e){if(em){var t={};Object.defineProperty(t,"documentClickClose",{get:function(){return(0,g.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),em(e,t)}},[em]),tt=C(function(e,t){var c=e.map(function(e){return e.value});if("clear"===t.type){e7(c,{},"selection");return}t.values.length&&e9(t.values[0].value,{selected:!1,source:"selection"})}),tc=n.useMemo(function(){return{virtual:ei,dropdownMatchSelectWidth:ez,listHeight:es,listItemHeight:eh,listItemScrollOffset:ev,treeData:eY,fieldNames:e$,onSelect:e9,treeExpandAction:eo,treeTitleRender:eb,onPopupScroll:eV}},[ei,ez,es,eh,ev,eY,e$,e9,eo,eb,eV]),tn=n.useMemo(function(){return{checkable:eL,loadData:ee,treeLoadedKeys:et,onTreeLoad:ec,checkedKeys:e8,halfCheckedKeys:e6,treeDefaultExpandAll:en,treeExpandedKeys:ea,treeDefaultExpandedKeys:er,onTreeExpand:el,treeIcon:ew,treeMotion:eH,showTreeIcon:eM,switcherIcon:eZ,treeLine:ep,treeNodeFilterProp:q,keyEntities:eq}},[eL,ee,et,ec,e8,e6,en,ea,er,el,ew,eH,eM,eZ,ep,q,eq]);return n.createElement(y.Provider,{value:tc},n.createElement(x.Provider,{value:tn},n.createElement(h.Ac,(0,l.Z)({ref:t},eC,{id:ex,prefixCls:void 0===a?"rc-tree-select":a,mode:ey?"multiple":void 0,displayValues:e5,onDisplayValuesChange:tt,searchValue:eA,onSearch:function(e){eD(e),null==T||T(e)},OptionList:O,emptyOptions:!eN.length,onDropdownVisibleChange:te,dropdownMatchSelectWidth:ez}))))});A.TreeNode=Z,A.SHOW_ALL=k,A.SHOW_PARENT=T,A.SHOW_CHILD=$;var D=c(98423),N=c(87263),P=c(33603),q=c(8745),W=c(9708),j=c(53124),Y=c(88258),_=c(98866),K=c(35792),U=c(98675),X=c(65223),G=c(27833),Q=c(30307),J=c(15030),ee=c(43277),et=c(78642),ec=c(4173),en=c(61639),ea=c(25446),er=c(63185),el=c(83262),eo=c(83559),ei=c(32157);let eu=e=>{let{componentCls:t,treePrefixCls:c,colorBgElevated:n}=e,a=`.${c}`;return[{[`${t}-dropdown`]:[{padding:`${(0,ea.bf)(e.paddingXS)} ${(0,ea.bf)(e.calc(e.paddingXS).div(2).equal())}`},(0,ei.Yk)(c,(0,el.IX)(e,{colorBgContainer:n})),{[a]:{borderRadius:0,[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-treenode`]:{[`${a}-node-content-wrapper`]:{flex:"auto"}}}}},(0,er.C2)(`${c}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${a}-switcher${a}-switcher_close`]:{[`${a}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};var es=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(c[n[a]]=e[n[a]]);return c};let ef=n.forwardRef((e,t)=>{var c;let a;let{prefixCls:l,size:o,disabled:i,bordered:u=!0,className:s,rootClassName:f,treeCheckable:h,multiple:d,listHeight:v=256,listItemHeight:m=26,placement:g,notFoundContent:z,switcherIcon:p,treeLine:w,getPopupContainer:M,popupClassName:Z,dropdownClassName:H,treeIcon:b=!1,transitionName:V,choiceTransitionName:C="",status:x,treeExpandAction:E,builtinPlacements:L,dropdownMatchSelectWidth:R,popupMatchSelectWidth:y,allowClear:B,variant:S,dropdownStyle:O,tagRender:k}=e,T=es(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender"]),{getPopupContainer:$,getPrefixCls:F,renderEmpty:I,direction:q,virtual:ea,popupMatchSelectWidth:er,popupOverflow:ef}=n.useContext(j.E_),eh=F(),ed=F("select",l),ev=F("select-tree",l),em=F("tree-select",l),{compactSize:eg,compactItemClassnames:ez}=(0,ec.ri)(ed,q),ep=(0,K.Z)(ed),ew=(0,K.Z)(em),[eM,eZ,eH]=(0,J.Z)(ed,ep),[eb]=(0,eo.I$)("TreeSelect",e=>{let t=(0,el.IX)(e,{treePrefixCls:ev});return[eu(t)]},ei.TM)(em,ew),[eV,eC]=(0,G.Z)("treeSelect",S,u),ex=r()(Z||H,`${em}-dropdown`,{[`${em}-dropdown-rtl`]:"rtl"===q},f,eH,ep,ew,eZ),eE=!!(h||d),eL=(0,et.Z)(e.suffixIcon,e.showArrow),eR=null!==(c=null!=y?y:R)&&void 0!==c?c:er,{status:ey,hasFeedback:eB,isFormItemInput:eS,feedbackIcon:eO}=n.useContext(X.aM),ek=(0,W.F)(ey,x),{suffixIcon:eT,removeIcon:e$,clearIcon:eF}=(0,ee.Z)(Object.assign(Object.assign({},T),{multiple:eE,showSuffixIcon:eL,hasFeedback:eB,feedbackIcon:eO,prefixCls:ed,componentName:"TreeSelect"}));a=void 0!==z?z:(null==I?void 0:I("Select"))||n.createElement(Y.Z,{componentName:"Select"});let eI=(0,D.Z)(T,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),eA=n.useMemo(()=>void 0!==g?g:"rtl"===q?"bottomRight":"bottomLeft",[g,q]),eD=(0,U.Z)(e=>{var t;return null!==(t=null!=o?o:eg)&&void 0!==t?t:e}),eN=n.useContext(_.Z),eP=r()(!l&&em,{[`${ed}-lg`]:"large"===eD,[`${ed}-sm`]:"small"===eD,[`${ed}-rtl`]:"rtl"===q,[`${ed}-${eV}`]:eC,[`${ed}-in-form-item`]:eS},(0,W.Z)(ed,ek,eB),ez,s,f,eH,ep,ew,eZ),[eq]=(0,N.Cn)("SelectLike",null==O?void 0:O.zIndex),eW=n.createElement(A,Object.assign({virtual:ea,disabled:null!=i?i:eN},eI,{dropdownMatchSelectWidth:eR,builtinPlacements:(0,Q.Z)(L,ef),ref:t,prefixCls:ed,className:eP,listHeight:v,listItemHeight:m,treeCheckable:h?n.createElement("span",{className:`${ed}-tree-checkbox-inner`}):h,treeLine:!!w,suffixIcon:eT,multiple:eE,placement:eA,removeIcon:e$,allowClear:!0===B?{clearIcon:eF}:B,switcherIcon:e=>n.createElement(en.Z,{prefixCls:ev,switcherIcon:p,treeNodeProps:e,showLine:w}),showTreeIcon:b,notFoundContent:a,getPopupContainer:M||$,treeMotion:null,dropdownClassName:ex,dropdownStyle:Object.assign(Object.assign({},O),{zIndex:eq}),choiceTransitionName:(0,P.m)(eh,"",C),transitionName:(0,P.m)(eh,"slide-up",V),treeExpandAction:E,tagRender:eE?k:void 0}));return eM(eb(eW))}),eh=(0,q.Z)(ef);ef.TreeNode=Z,ef.SHOW_ALL=k,ef.SHOW_PARENT=T,ef.SHOW_CHILD=$,ef._InternalPanelDoNotUseOrYouWillBeFired=eh;var ed=ef},97909:function(e){var t,c,n,a,r,l,o,i,u,s,f,h,d,v,m,g,z,p,w,M,Z,H;e.exports=(t="millisecond",c="second",n="minute",a="hour",r="week",l="month",o="quarter",i="year",u="date",s="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=function(e,t,c){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(c)+e},(m={})[v="en"]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],c=e%100;return"["+e+(t[(c-20)%10]||t[c]||"th")+"]"}},g="$isDayjsObject",z=function(e){return e instanceof Z||!(!e||!e[g])},p=function e(t,c,n){var a;if(!t)return v;if("string"==typeof t){var r=t.toLowerCase();m[r]&&(a=r),c&&(m[r]=c,a=r);var l=t.split("-");if(!a&&l.length>1)return e(l[0])}else{var o=t.name;m[o]=t,a=o}return!n&&a&&(v=a),a||!n&&v},w=function(e,t){if(z(e))return e.clone();var c="object"==typeof t?t:{};return c.date=e,c.args=arguments,new Z(c)},(M={s:d,z:function(e){var t=-e.utcOffset(),c=Math.abs(t);return(t<=0?"+":"-")+d(Math.floor(c/60),2,"0")+":"+d(c%60,2,"0")},m:function e(t,c){if(t.date()68?1900:2e3)},i=function(e){return function(t){this[e]=+t}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e||"Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),c=60*t[1]+(+t[2]||0);return 0===c?0:"+"===t[0]?-c:c}(e)}],s=function(e){var t=l[e];return t&&(t.indexOf?t:t.s.concat(t.f))},f=function(e,t){var c,n=l.meridiem;if(n){for(var a=1;a<=24;a+=1)if(e.indexOf(n(a,0,t))>-1){c=a>12;break}}else c=e===(t?"pm":"PM");return c},h={A:[r,function(e){this.afternoon=f(e,!1)}],a:[r,function(e){this.afternoon=f(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[a,i("seconds")],ss:[a,i("seconds")],m:[a,i("minutes")],mm:[a,i("minutes")],H:[a,i("hours")],h:[a,i("hours")],HH:[a,i("hours")],hh:[a,i("hours")],D:[a,i("day")],DD:[n,i("day")],Do:[r,function(e){var t=l.ordinal,c=e.match(/\d+/);if(this.day=c[0],t)for(var n=1;n<=31;n+=1)t(n).replace(/\[|\]/g,"")===e&&(this.day=n)}],M:[a,i("month")],MM:[n,i("month")],MMM:[r,function(e){var t=s("months"),c=(s("monthsShort")||t.map(function(e){return e.slice(0,3)})).indexOf(e)+1;if(c<1)throw Error();this.month=c%12||c}],MMMM:[r,function(e){var t=s("months").indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,i("year")],YY:[n,function(e){this.year=o(e)}],YYYY:[/\d{4}/,i("year")],Z:u,ZZ:u},function(e,n,a){a.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(o=e.parseTwoDigitYear);var r=n.prototype,i=r.parse;r.parse=function(e){var n=e.date,r=e.utc,o=e.args;this.$u=r;var u=o[1];if("string"==typeof u){var s=!0===o[2],f=!0===o[3],d=o[2];f&&(d=o[2]),l=this.$locale(),!s&&d&&(l=a.Ls[d]),this.$d=function(e,n,a){try{if(["x","X"].indexOf(n)>-1)return new Date(("X"===n?1e3:1)*e);var r=(function(e){var n,a;n=e,a=l&&l.formats;for(var r=(e=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(e,c,n){var r=n&&n.toUpperCase();return c||a[n]||t[n]||a[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,c){return t||c.slice(1)})})).match(c),o=r.length,i=0;i0?i-1:g.getMonth());var M=s||0,Z=f||0,H=d||0,b=v||0;return m?new Date(Date.UTC(p,w,z,M,Z,H,b+60*m.offset*1e3)):a?new Date(Date.UTC(p,w,z,M,Z,H,b)):new Date(p,w,z,M,Z,H,b)}catch(e){return new Date("")}}(n,u,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),(s||f)&&n!=this.format(u)&&(this.$d=new Date("")),l={}}else if(u instanceof Array)for(var v=u.length,m=1;m<=v;m+=1){o[1]=u[m-1];var g=a.apply(this,o);if(g.isValid()){this.$d=g.$d,this.$L=g.$L,this.init();break}m===v&&(this.$d=new Date(""))}else i.call(this,e)}})},26850:function(e){e.exports=function(e,t,c){var n=t.prototype,a=function(e){return e&&(e.indexOf?e:e.s)},r=function(e,t,c,n,r){var l=e.name?e:e.$locale(),o=a(l[t]),i=a(l[c]),u=o||i.map(function(e){return e.slice(0,n)});if(!r)return u;var s=l.weekStart;return u.map(function(e,t){return u[(t+(s||0))%7]})},l=function(){return c.Ls[c.locale()]},o=function(e,t){return e.formats[t]||e.formats[t.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,c){return t||c.slice(1)})},i=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):r(e,"months")},monthsShort:function(t){return t?t.format("MMM"):r(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):r(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):r(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):r(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return o(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};n.localeData=function(){return i.bind(this)()},c.localeData=function(){var e=l();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return c.weekdays()},weekdaysShort:function(){return c.weekdaysShort()},weekdaysMin:function(){return c.weekdaysMin()},months:function(){return c.months()},monthsShort:function(){return c.monthsShort()},longDateFormat:function(t){return o(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},c.months=function(){return r(l(),"months")},c.monthsShort=function(){return r(l(),"monthsShort","months",3)},c.weekdays=function(e){return r(l(),"weekdays",null,null,e)},c.weekdaysShort=function(e){return r(l(),"weekdaysShort","weekdays",3,e)},c.weekdaysMin=function(e){return r(l(),"weekdaysMin","weekdays",2,e)}}},90888:function(e){var t,c;e.exports=(t="week",c="year",function(e,n,a){var r=n.prototype;r.week=function(e){if(void 0===e&&(e=null),null!==e)return this.add(7*(e-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var r=a(this).startOf(c).add(1,c).date(n),l=a(this).endOf(t);if(r.isBefore(l))return 1}var o=a(this).startOf(c).date(n).startOf(t).subtract(1,"millisecond"),i=this.diff(o,t,!0);return i<0?a(this).startOf("week").week():Math.ceil(i)},r.weeks=function(e){return void 0===e&&(e=null),this.week(e)}})},99873:function(e){e.exports=function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),c=this.year();return 1===t&&11===e?c+1:0===e&&t>=52?c-1:c}}},33088:function(e){e.exports=function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,c=this.$W,n=(c>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===c?H(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===c?H(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=f.exec(e))?new C(t[1],t[2],t[3],1):(t=h.exec(e))?new C(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=d.exec(e))?H(t[1],t[2],t[3],t[4]):(t=v.exec(e))?H(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=m.exec(e))?R(t[1],t[2]/100,t[3]/100,1):(t=g.exec(e))?R(t[1],t[2]/100,t[3]/100,t[4]):z.hasOwnProperty(e)?Z(z[e]):"transparent"===e?new C(NaN,NaN,NaN,0):null}function Z(e){return new C(e>>16&255,e>>8&255,255&e,1)}function H(e,t,c,n){return n<=0&&(e=t=c=NaN),new C(e,t,c,n)}function b(e){return(e instanceof a||(e=M(e)),e)?(e=e.rgb(),new C(e.r,e.g,e.b,e.opacity)):new C}function V(e,t,c,n){return 1==arguments.length?b(e):new C(e,t,c,null==n?1:n)}function C(e,t,c,n){this.r=+e,this.g=+t,this.b=+c,this.opacity=+n}function x(){return"#"+L(this.r)+L(this.g)+L(this.b)}function E(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function L(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function R(e,t,c,n){return n<=0?e=t=c=NaN:c<=0||c>=1?e=t=NaN:t<=0&&(e=NaN),new B(e,t,c,n)}function y(e){if(e instanceof B)return new B(e.h,e.s,e.l,e.opacity);if(e instanceof a||(e=M(e)),!e)return new B;if(e instanceof B)return e;var t=(e=e.rgb()).r/255,c=e.g/255,n=e.b/255,r=Math.min(t,c,n),l=Math.max(t,c,n),o=NaN,i=l-r,u=(l+r)/2;return i?(o=t===l?(c-n)/i+(c0&&u<1?0:o,new B(o,i,u,e.opacity)}function B(e,t,c,n){this.h=+e,this.s=+t,this.l=+c,this.opacity=+n}function S(e,t,c){return(e<60?t+(c-t)*e/60:e<180?c:e<240?t+(c-t)*(240-e)/60:t)*255}(0,n.Z)(a,M,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:p,formatHex:p,formatHsl:function(){return y(this).formatHsl()},formatRgb:w,toString:w}),(0,n.Z)(C,V,(0,n.l)(a,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new C(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?r:Math.pow(r,e),new C(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:x,formatHex:x,formatRgb:E,toString:E})),(0,n.Z)(B,function(e,t,c,n){return 1==arguments.length?y(e):new B(e,t,c,null==n?1:n)},(0,n.l)(a,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new B(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?r:Math.pow(r,e),new B(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,c=this.l,n=c+(c<.5?c:1-c)*t,a=2*c-n;return new C(S(e>=240?e-240:e+120,a,n),S(e,a,n),S(e<120?e+240:e-120,a,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}))},44087:function(e,t,c){"use strict";function n(e,t,c){e.prototype=t.prototype=c,c.constructor=e}function a(e,t){var c=Object.create(e.prototype);for(var n in t)c[n]=t[n];return c}c.d(t,{Z:function(){return n},l:function(){return a}})},92626:function(e,t){"use strict";var c={value:()=>{}};function n(){for(var e,t=0,c=arguments.length,n={};t=0&&(t=e.slice(c+1),e=e.slice(0,c)),e&&!n.hasOwnProperty(e))throw Error("unknown type: "+e);return{type:e,name:t}}),l=-1,o=a.length;if(arguments.length<2){for(;++l0)for(var c,n,a=Array(c),r=0;r=0&&t._call.call(null,e),t=t._next;--r}()}finally{r=0,function(){for(var e,t,c=n,r=1/0;c;)c._call?(r>c._time&&(r=c._time),e=c,c=c._next):(t=c._next,c._next=null,c=e?e._next=t:n=t);a=e,w(r)}(),u=0}}function p(){var e=f.now(),t=e-i;t>1e3&&(s-=t,i=e)}function w(e){!r&&(l&&(l=clearTimeout(l)),e-u>24?(e<1/0&&(l=setTimeout(z,e-f.now()-s)),o&&(o=clearInterval(o))):(o||(i=f.now(),o=setInterval(p,1e3)),r=1,h(z)))}m.prototype=g.prototype={constructor:m,restart:function(e,t,c){if("function"!=typeof e)throw TypeError("callback is not a function");c=(null==c?d():+c)+(null==t?0:+t),this._next||a===this||(a?a._next=this:n=this,a=this),this._call=e,this._time=c,w()},stop:function(){this._call&&(this._call=null,this._time=1/0,w())}}},36459:function(e,t,c){"use strict";function n(e){if(null==e)throw TypeError("Cannot destructure "+e)}c.d(t,{Z:function(){return n}})},24885:function(e,t,c){"use strict";c.d(t,{Z:function(){return m}});var n=c(67294),a=c(83840),r=c(76248),l=c(36851);function o(){return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},n.createElement("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"}))}function i(){return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5"},n.createElement("path",{d:"M0 0h32v4.2H0z"}))}function u(){return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30"},n.createElement("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"}))}function s(){return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32"},n.createElement("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"}))}function f(){return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32"},n.createElement("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"}))}let h=({children:e,className:t,...c})=>n.createElement("button",{type:"button",className:(0,a.Z)(["react-flow__controls-button",t]),...c},e);h.displayName="ControlButton";let d=e=>({isInteractive:e.nodesDraggable||e.nodesConnectable||e.elementsSelectable,minZoomReached:e.transform[2]<=e.minZoom,maxZoomReached:e.transform[2]>=e.maxZoom}),v=({style:e,showZoom:t=!0,showFitView:c=!0,showInteractive:v=!0,fitViewOptions:m,onZoomIn:g,onZoomOut:z,onFitView:p,onInteractiveChange:w,className:M,children:Z,position:H="bottom-left"})=>{let b=(0,l.AC)(),[V,C]=(0,n.useState)(!1),{isInteractive:x,minZoomReached:E,maxZoomReached:L}=(0,l.oR)(d,r.X),{zoomIn:R,zoomOut:y,fitView:B}=(0,l._K)();return((0,n.useEffect)(()=>{C(!0)},[]),V)?n.createElement(l.s_,{className:(0,a.Z)(["react-flow__controls",M]),position:H,style:e,"data-testid":"rf__controls"},t&&n.createElement(n.Fragment,null,n.createElement(h,{onClick:()=>{R(),g?.()},className:"react-flow__controls-zoomin",title:"zoom in","aria-label":"zoom in",disabled:L},n.createElement(o,null)),n.createElement(h,{onClick:()=>{y(),z?.()},className:"react-flow__controls-zoomout",title:"zoom out","aria-label":"zoom out",disabled:E},n.createElement(i,null))),c&&n.createElement(h,{className:"react-flow__controls-fitview",onClick:()=>{B(m),p?.()},title:"fit view","aria-label":"fit view"},n.createElement(u,null)),v&&n.createElement(h,{className:"react-flow__controls-interactive",onClick:()=>{b.setState({nodesDraggable:!x,nodesConnectable:!x,elementsSelectable:!x}),w?.(!x)},title:"toggle interactivity","aria-label":"toggle interactivity"},x?n.createElement(f,null):n.createElement(s,null)),Z):null};v.displayName="Controls";var m=(0,n.memo)(v)}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2500-b968fce58417f277.js b/dbgpt/app/static/web/_next/static/chunks/2500-b968fce58417f277.js deleted file mode 100644 index e08fcf6f7..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/2500-b968fce58417f277.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2500,7399,8538,2524,2293,7209],{39055:function(e,r){r.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"}},91321:function(e,r,t){t.d(r,{Z:function(){return u}});var n=t(87462),o=t(45987),c=t(67294),l=t(16165),a=["type","children"],i=new Set;function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[r];if("string"==typeof t&&t.length&&!i.has(t)){var n=document.createElement("script");n.setAttribute("src",t),n.setAttribute("data-namespace",t),e.length>r+1&&(n.onload=function(){s(e,r+1)},n.onerror=function(){s(e,r+1)}),i.add(t),document.body.appendChild(n)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scriptUrl,t=e.extraCommonProps,i=void 0===t?{}:t;r&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(r)?s(r.reverse()):s([r]));var u=c.forwardRef(function(e,r){var t=e.type,s=e.children,u=(0,o.Z)(e,a),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(t)})),s&&(d=s),c.createElement(l.Z,(0,n.Z)({},i,u,{ref:r}),d)});return u.displayName="Iconfont",u}},52645:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},58638:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},83266:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},79090:function(e,r,t){var n=t(87462),o=t(67294),c=t(15294),l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c.Z}))});r.Z=a},30159:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},87740:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},27496:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},41441:function(e,r,t){var n=t(87462),o=t(67294),c=t(39055),l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c.Z}))});r.Z=a},66309:function(e,r,t){t.d(r,{Z:function(){return z}});var n=t(67294),o=t(93967),c=t.n(o),l=t(98423),a=t(98787),i=t(69760),s=t(96159),u=t(45353),d=t(53124),f=t(47648),g=t(10274),h=t(14747),p=t(87893),v=t(83559);let m=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:n,componentCls:o,calc:c}=e,l=c(n).sub(t).equal(),a=c(r).sub(t).equal();return{[o]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:r,fontSizeIcon:t,calc:n}=e,o=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:o,tagLineHeight:(0,f.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(t).sub(n(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let r=b(e);return m(r)},C),k=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let w=n.forwardRef((e,r)=>{let{prefixCls:t,style:o,className:l,checked:a,onChange:i,onClick:s}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:g}=n.useContext(d.E_),h=f("tag",t),[p,v,m]=y(h),b=c()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:a},null==g?void 0:g.className,l,v,m);return p(n.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},o),null==g?void 0:g.style),className:b,onClick:e=>{null==i||i(!a),null==s||s(e)}})))});var Z=t(98719);let $=e=>(0,Z.Z)(e,(r,t)=>{let{textColor:n,lightBorderColor:o,lightColor:c,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:n,background:c,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var x=(0,v.bk)(["Tag","preset"],e=>{let r=b(e);return $(r)},C);let E=(e,r,t)=>{let n=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let r=b(e);return[E(r,"success","Success"),E(r,"processing","Info"),E(r,"error","Error"),E(r,"warning","Warning")]},C),O=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let S=n.forwardRef((e,r)=>{let{prefixCls:t,className:o,rootClassName:f,style:g,children:h,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,k=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:Z,tag:$}=n.useContext(d.E_),[E,S]=n.useState(!0),z=(0,l.Z)(k,["closeIcon","closable"]);n.useEffect(()=>{void 0!==C&&S(C)},[C]);let B=(0,a.o2)(v),M=(0,a.yT)(v),j=B||M,V=Object.assign(Object.assign({backgroundColor:v&&!j?v:void 0},null==$?void 0:$.style),g),P=w("tag",t),[R,I,N]=y(P),T=c()(P,null==$?void 0:$.className,{[`${P}-${v}`]:j,[`${P}-has-color`]:v&&!j,[`${P}-hidden`]:!E,[`${P}-rtl`]:"rtl"===Z,[`${P}-borderless`]:!b},o,f,I,N),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)($),{closable:!1,closeIconRender:e=>{let r=n.createElement("span",{className:`${P}-close-icon`,onClick:L},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),L(r)},className:c()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),_="function"==typeof k.onClick||h&&"a"===h.type,q=p||null,F=q?n.createElement(n.Fragment,null,q,h&&n.createElement("span",null,h)):h,D=n.createElement("span",Object.assign({},z,{ref:r,className:T,style:V}),F,A,B&&n.createElement(x,{key:"preset",prefixCls:P}),M&&n.createElement(H,{key:"status",prefixCls:P}));return R(_?n.createElement(u.Z,{component:"Tag"},D):D)});S.CheckableTag=w;var z=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2524-6688060ea7aa83a3.js b/dbgpt/app/static/web/_next/static/chunks/2524-6688060ea7aa83a3.js deleted file mode 100644 index 924c0fbf5..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/2524-6688060ea7aa83a3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2524,2500,7399,8538,2293,7209],{39055:function(e,r){r.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"}},91321:function(e,r,t){t.d(r,{Z:function(){return u}});var n=t(87462),o=t(45987),c=t(67294),l=t(16165),a=["type","children"],i=new Set;function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[r];if("string"==typeof t&&t.length&&!i.has(t)){var n=document.createElement("script");n.setAttribute("src",t),n.setAttribute("data-namespace",t),e.length>r+1&&(n.onload=function(){s(e,r+1)},n.onerror=function(){s(e,r+1)}),i.add(t),document.body.appendChild(n)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scriptUrl,t=e.extraCommonProps,i=void 0===t?{}:t;r&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(r)?s(r.reverse()):s([r]));var u=c.forwardRef(function(e,r){var t=e.type,s=e.children,u=(0,o.Z)(e,a),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(t)})),s&&(d=s),c.createElement(l.Z,(0,n.Z)({},i,u,{ref:r}),d)});return u.displayName="Iconfont",u}},52645:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},58638:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},83266:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},79090:function(e,r,t){var n=t(87462),o=t(67294),c=t(15294),l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c.Z}))});r.Z=a},30159:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},87740:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},27496:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},41441:function(e,r,t){var n=t(87462),o=t(67294),c=t(39055),l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c.Z}))});r.Z=a},66309:function(e,r,t){t.d(r,{Z:function(){return z}});var n=t(67294),o=t(93967),c=t.n(o),l=t(98423),a=t(98787),i=t(69760),s=t(96159),u=t(45353),d=t(53124),f=t(47648),g=t(10274),h=t(14747),p=t(87893),v=t(83559);let m=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:n,componentCls:o,calc:c}=e,l=c(n).sub(t).equal(),a=c(r).sub(t).equal();return{[o]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:r,fontSizeIcon:t,calc:n}=e,o=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:o,tagLineHeight:(0,f.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(t).sub(n(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let r=b(e);return m(r)},C),k=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let w=n.forwardRef((e,r)=>{let{prefixCls:t,style:o,className:l,checked:a,onChange:i,onClick:s}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:g}=n.useContext(d.E_),h=f("tag",t),[p,v,m]=y(h),b=c()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:a},null==g?void 0:g.className,l,v,m);return p(n.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},o),null==g?void 0:g.style),className:b,onClick:e=>{null==i||i(!a),null==s||s(e)}})))});var Z=t(98719);let $=e=>(0,Z.Z)(e,(r,t)=>{let{textColor:n,lightBorderColor:o,lightColor:c,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:n,background:c,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var x=(0,v.bk)(["Tag","preset"],e=>{let r=b(e);return $(r)},C);let E=(e,r,t)=>{let n=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let r=b(e);return[E(r,"success","Success"),E(r,"processing","Info"),E(r,"error","Error"),E(r,"warning","Warning")]},C),O=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let S=n.forwardRef((e,r)=>{let{prefixCls:t,className:o,rootClassName:f,style:g,children:h,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,k=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:Z,tag:$}=n.useContext(d.E_),[E,S]=n.useState(!0),z=(0,l.Z)(k,["closeIcon","closable"]);n.useEffect(()=>{void 0!==C&&S(C)},[C]);let B=(0,a.o2)(v),M=(0,a.yT)(v),j=B||M,V=Object.assign(Object.assign({backgroundColor:v&&!j?v:void 0},null==$?void 0:$.style),g),P=w("tag",t),[R,I,N]=y(P),T=c()(P,null==$?void 0:$.className,{[`${P}-${v}`]:j,[`${P}-has-color`]:v&&!j,[`${P}-hidden`]:!E,[`${P}-rtl`]:"rtl"===Z,[`${P}-borderless`]:!b},o,f,I,N),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)($),{closable:!1,closeIconRender:e=>{let r=n.createElement("span",{className:`${P}-close-icon`,onClick:L},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),L(r)},className:c()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),_="function"==typeof k.onClick||h&&"a"===h.type,q=p||null,F=q?n.createElement(n.Fragment,null,q,h&&n.createElement("span",null,h)):h,D=n.createElement("span",Object.assign({},z,{ref:r,className:T,style:V}),F,A,B&&n.createElement(x,{key:"preset",prefixCls:P}),M&&n.createElement(H,{key:"status",prefixCls:P}));return R(_?n.createElement(u.Z,{component:"Tag"},D):D)});S.CheckableTag=w;var z=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2571.7286158501b82b5b.js b/dbgpt/app/static/web/_next/static/chunks/2571.7286158501b82b5b.js new file mode 100644 index 000000000..7eebb8f8b --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/2571.7286158501b82b5b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2571],{2571:function(e,t,n){n.r(t),n.d(t,{conf:function(){return c},language:function(){return u}});var r,i=n(72339),o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,p=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))d.call(e,i)||i===n||o(e,i,{get:()=>t[i],enumerable:!(r=a(t,i))||r.enumerable});return e},m={};p(m,i,"default"),r&&p(r,i,"default");var l=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],c={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:[""]},brackets:[[""],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:RegExp(`<(?!(?:${l.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:m.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:m.languages.IndentAction.Indent}}],folding:{markers:{start:RegExp("^\\s*"),end:RegExp("^\\s*")}}},u={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2571.c7a799646a086ce9.js b/dbgpt/app/static/web/_next/static/chunks/2571.c7a799646a086ce9.js deleted file mode 100644 index d96118161..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/2571.c7a799646a086ce9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2571],{2571:function(e,t,n){n.r(t),n.d(t,{conf:function(){return c},language:function(){return u}});var r,i=n(5036),o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,p=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))d.call(e,i)||i===n||o(e,i,{get:()=>t[i],enumerable:!(r=a(t,i))||r.enumerable});return e},m={};p(m,i,"default"),r&&p(r,i,"default");var l=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],c={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:[""]},brackets:[[""],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:RegExp(`<(?!(?:${l.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:m.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:m.languages.IndentAction.Indent}}],folding:{markers:{start:RegExp("^\\s*"),end:RegExp("^\\s*")}}},u={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2648-312da8c51dc12c7d.js b/dbgpt/app/static/web/_next/static/chunks/2648-137ba93003e100f4.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/2648-312da8c51dc12c7d.js rename to dbgpt/app/static/web/_next/static/chunks/2648-137ba93003e100f4.js index e70659bc9..b7bc818bd 100644 --- a/dbgpt/app/static/web/_next/static/chunks/2648-312da8c51dc12c7d.js +++ b/dbgpt/app/static/web/_next/static/chunks/2648-137ba93003e100f4.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2648],{9708:function(e,r,o){o.d(r,{F:function(){return a},Z:function(){return i}});var n=o(93967),t=o.n(n);function i(e,r,o){return t()({[`${e}-status-success`]:"success"===r,[`${e}-status-warning`]:"warning"===r,[`${e}-status-error`]:"error"===r,[`${e}-status-validating`]:"validating"===r,[`${e}-has-feedback`]:o})}let a=(e,r)=>r||e},27833:function(e,r,o){var n=o(67294),t=o(65223),i=o(53124);r.Z=function(e,r){var o,a;let l,d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,{variant:c,[e]:s}=(0,n.useContext)(i.E_),u=(0,n.useContext)(t.pg),p=null==s?void 0:s.variant;l=void 0!==r?r:!1===d?"borderless":null!==(a=null!==(o=null!=u?u:p)&&void 0!==o?o:c)&&void 0!==a?a:"outlined";let f=i.tr.includes(l);return[l,f]}},47673:function(e,r,o){o.d(r,{ik:function(){return f},nz:function(){return s},s7:function(){return g},x0:function(){return p}});var n=o(47648),t=o(14747),i=o(80110),a=o(83559),l=o(87893),d=o(20353),c=o(93900);let s=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),u=e=>{let{paddingBlockLG:r,lineHeightLG:o,borderRadiusLG:t,paddingInlineLG:i}=e;return{padding:`${(0,n.bf)(r)} ${(0,n.bf)(i)}`,fontSize:e.inputFontSizeLG,lineHeight:o,borderRadius:t}},p=e=>({padding:`${(0,n.bf)(e.paddingBlockSM)} ${(0,n.bf)(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),f=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,n.bf)(e.paddingBlock)} ${(0,n.bf)(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},s(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},u(e)),"&-sm":Object.assign({},p(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),g=e=>{let{componentCls:r,antCls:o}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${r}, &-lg > ${r}-group-addon`]:Object.assign({},u(e)),[`&-sm ${r}, &-sm > ${r}-group-addon`]:Object.assign({},p(e)),[`&-lg ${o}-select-single ${o}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${o}-select-single ${o}-select-selector`]:{height:e.controlHeightSM},[`> ${r}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${r}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,n.bf)(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${o}-select`]:{margin:`${(0,n.bf)(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${(0,n.bf)(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${o}-select-single:not(${o}-select-customize-input):not(${o}-pagination-size-changer)`]:{[`${o}-select-selector`]:{backgroundColor:"inherit",border:`${(0,n.bf)(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${o}-select-selector`]:{color:e.colorPrimary}}},[`${o}-cascader-picker`]:{margin:`-9px ${(0,n.bf)(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${o}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[r]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${r}-search-with-button &`]:{zIndex:0}}},[`> ${r}:first-child, ${r}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${o}-select ${o}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${r}-affix-wrapper`]:{[`&:not(:first-child) ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${r}:last-child, ${r}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${o}-select ${o}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${r}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${r}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${r}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${r}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,t.dF)()),{[`${r}-group-addon, ${r}-group-wrap, > ${r}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2648],{9708:function(e,r,o){o.d(r,{F:function(){return a},Z:function(){return i}});var n=o(93967),t=o.n(n);function i(e,r,o){return t()({[`${e}-status-success`]:"success"===r,[`${e}-status-warning`]:"warning"===r,[`${e}-status-error`]:"error"===r,[`${e}-status-validating`]:"validating"===r,[`${e}-has-feedback`]:o})}let a=(e,r)=>r||e},27833:function(e,r,o){var n=o(67294),t=o(65223),i=o(53124);r.Z=function(e,r){var o,a;let l,d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,{variant:c,[e]:s}=(0,n.useContext)(i.E_),u=(0,n.useContext)(t.pg),p=null==s?void 0:s.variant;l=void 0!==r?r:!1===d?"borderless":null!==(a=null!==(o=null!=u?u:p)&&void 0!==o?o:c)&&void 0!==a?a:"outlined";let f=i.tr.includes(l);return[l,f]}},47673:function(e,r,o){o.d(r,{ik:function(){return f},nz:function(){return s},s7:function(){return g},x0:function(){return p}});var n=o(25446),t=o(14747),i=o(80110),a=o(83559),l=o(83262),d=o(20353),c=o(93900);let s=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),u=e=>{let{paddingBlockLG:r,lineHeightLG:o,borderRadiusLG:t,paddingInlineLG:i}=e;return{padding:`${(0,n.bf)(r)} ${(0,n.bf)(i)}`,fontSize:e.inputFontSizeLG,lineHeight:o,borderRadius:t}},p=e=>({padding:`${(0,n.bf)(e.paddingBlockSM)} ${(0,n.bf)(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),f=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,n.bf)(e.paddingBlock)} ${(0,n.bf)(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},s(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},u(e)),"&-sm":Object.assign({},p(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),g=e=>{let{componentCls:r,antCls:o}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${r}, &-lg > ${r}-group-addon`]:Object.assign({},u(e)),[`&-sm ${r}, &-sm > ${r}-group-addon`]:Object.assign({},p(e)),[`&-lg ${o}-select-single ${o}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${o}-select-single ${o}-select-selector`]:{height:e.controlHeightSM},[`> ${r}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${r}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,n.bf)(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${o}-select`]:{margin:`${(0,n.bf)(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${(0,n.bf)(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${o}-select-single:not(${o}-select-customize-input):not(${o}-pagination-size-changer)`]:{[`${o}-select-selector`]:{backgroundColor:"inherit",border:`${(0,n.bf)(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${o}-select-selector`]:{color:e.colorPrimary}}},[`${o}-cascader-picker`]:{margin:`-9px ${(0,n.bf)(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${o}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[r]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${r}-search-with-button &`]:{zIndex:0}}},[`> ${r}:first-child, ${r}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${o}-select ${o}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${r}-affix-wrapper`]:{[`&:not(:first-child) ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${r}:last-child, ${r}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${o}-select ${o}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${r}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${r}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${r}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${r}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,t.dF)()),{[`${r}-group-addon, ${r}-group-wrap, > ${r}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` & > ${r}-affix-wrapper, & > ${r}-number-affix-wrapper, & > ${o}-picker-range @@ -16,4 +16,4 @@ ${r}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${r}-affix-wrapper-focused`]:{zIndex:2}}}}},x=e=>{let{componentCls:r,paddingLG:o}=e,n=`${r}-textarea`;return{[n]:{position:"relative","&-show-count":{[`> ${r}`]:{height:"100%"},[`${r}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` &-allow-clear > ${r}, &-affix-wrapper${n}-has-feedback ${r} - `]:{paddingInlineEnd:o},[`&-affix-wrapper${r}-affix-wrapper`]:{padding:0,[`> textarea${r}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${r}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${r}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${r}-affix-wrapper-sm`]:{[`${r}-suffix`]:{[`${r}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},S=e=>{let{componentCls:r}=e;return{[`${r}-out-of-range`]:{[`&, & input, & textarea, ${r}-show-count-suffix, ${r}-data-count`]:{color:e.colorError}}}};r.ZP=(0,a.I$)("Input",e=>{let r=(0,l.IX)(e,(0,d.e)(e));return[b(r),x(r),$(r),m(r),v(r),S(r),(0,i.c)(r)]},d.T,{resetFont:!1})},20353:function(e,r,o){o.d(r,{T:function(){return i},e:function(){return t}});var n=o(87893);function t(e){return(0,n.IX)(e,{inputAffixPadding:e.paddingXXS})}let i=e=>{let{controlHeight:r,fontSize:o,lineHeight:n,lineWidth:t,controlHeightSM:i,controlHeightLG:a,fontSizeLG:l,lineHeightLG:d,paddingSM:c,controlPaddingHorizontalSM:s,controlPaddingHorizontal:u,colorFillAlter:p,colorPrimaryHover:f,colorPrimary:g,controlOutlineWidth:b,controlOutline:h,colorErrorOutline:$,colorWarningOutline:m,colorBgContainer:v}=e;return{paddingBlock:Math.max(Math.round((r-o*n)/2*10)/10-t,0),paddingBlockSM:Math.max(Math.round((i-o*n)/2*10)/10-t,0),paddingBlockLG:Math.ceil((a-l*d)/2*10)/10-t,paddingInline:c-t,paddingInlineSM:s-t,paddingInlineLG:u-t,addonBg:p,activeBorderColor:g,hoverBorderColor:f,activeShadow:`0 0 0 ${b}px ${h}`,errorActiveShadow:`0 0 0 ${b}px ${$}`,warningActiveShadow:`0 0 0 ${b}px ${m}`,hoverBg:v,activeBg:v,inputFontSize:o,inputFontSizeLG:l,inputFontSizeSM:o}}},93900:function(e,r,o){o.d(r,{$U:function(){return l},H8:function(){return b},Mu:function(){return p},S5:function(){return $},Xy:function(){return a},ir:function(){return u},qG:function(){return c}});var n=o(47648),t=o(87893);let i=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),a=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},i((0,t.IX)(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),l=(e,r)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:r.borderColor,"&:hover":{borderColor:r.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:r.activeBorderColor,boxShadow:r.activeShadow,outline:0,backgroundColor:e.activeBg}}),d=(e,r)=>({[`&${e.componentCls}-status-${r.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},l(e,r)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:r.affixColor}}),[`&${e.componentCls}-status-${r.status}${e.componentCls}-disabled`]:{borderColor:r.borderColor}}),c=(e,r)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},l(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},a(e))}),d(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),d(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),r)}),s=(e,r)=>({[`&${e.componentCls}-group-wrapper-status-${r.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:r.addonBorderColor,color:r.addonColor}}}),u=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},s(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),s(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},a(e))}})}),p=(e,r)=>{let{componentCls:o}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${o}-disabled, &[disabled]`]:{color:e.colorTextDisabled},[`&${o}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${o}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},r)}},f=(e,r)=>({background:r.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:null==r?void 0:r.inputColor},"&:hover":{background:r.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:r.activeBorderColor,backgroundColor:e.activeBg}}),g=(e,r)=>({[`&${e.componentCls}-status-${r.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},f(e,r)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:r.affixColor}})}),b=(e,r)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},f(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},a(e))}),g(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),g(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),r)}),h=(e,r)=>({[`&${e.componentCls}-group-wrapper-status-${r.status}`]:{[`${e.componentCls}-group-addon`]:{background:r.addonBg,color:r.addonColor}}}),$=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},h(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),h(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})})},82234:function(e,r,o){o.d(r,{Z:function(){return d}});var n=o(45987),t=o(1413),i=o(71002),a=o(67294),l=["show"];function d(e,r){return a.useMemo(function(){var o={};r&&(o.show="object"===(0,i.Z)(r)&&r.formatter?r.formatter:!!r);var a=o=(0,t.Z)((0,t.Z)({},o),e),d=a.show,c=(0,n.Z)(a,l);return(0,t.Z)((0,t.Z)({},c),{},{show:!!d,showFormatter:"function"==typeof d?d:void 0,strategy:c.strategy||function(e){return e.length}})},[e,r])}},67656:function(e,r,o){o.d(r,{Q:function(){return u},Z:function(){return v}});var n=o(1413),t=o(87462),i=o(4942),a=o(71002),l=o(93967),d=o.n(l),c=o(67294),s=o(87887),u=c.forwardRef(function(e,r){var o,l,u=e.inputElement,p=e.children,f=e.prefixCls,g=e.prefix,b=e.suffix,h=e.addonBefore,$=e.addonAfter,m=e.className,v=e.style,x=e.disabled,S=e.readOnly,w=e.focused,C=e.triggerFocus,E=e.allowClear,y=e.value,R=e.handleReset,B=e.hidden,I=e.classes,k=e.classNames,W=e.dataAttrs,j=e.styles,O=e.components,z=e.onClear,T=null!=p?p:u,Z=(null==O?void 0:O.affixWrapper)||"span",H=(null==O?void 0:O.groupWrapper)||"span",N=(null==O?void 0:O.wrapper)||"span",F=(null==O?void 0:O.groupAddon)||"span",A=(0,c.useRef)(null),M=(0,s.X3)(e),D=(0,c.cloneElement)(T,{value:y,className:d()(T.props.className,!M&&(null==k?void 0:k.variant))||null}),X=(0,c.useRef)(null);if(c.useImperativeHandle(r,function(){return{nativeElement:X.current||A.current}}),M){var L=null;if(E){var P=!x&&!S&&y,q="".concat(f,"-clear-icon"),G="object"===(0,a.Z)(E)&&null!=E&&E.clearIcon?E.clearIcon:"✖";L=c.createElement("span",{onClick:function(e){null==R||R(e),null==z||z()},onMouseDown:function(e){return e.preventDefault()},className:d()(q,(0,i.Z)((0,i.Z)({},"".concat(q,"-hidden"),!P),"".concat(q,"-has-suffix"),!!b)),role:"button",tabIndex:-1},G)}var K="".concat(f,"-affix-wrapper"),_=d()(K,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(f,"-disabled"),x),"".concat(K,"-disabled"),x),"".concat(K,"-focused"),w),"".concat(K,"-readonly"),S),"".concat(K,"-input-with-clear-btn"),b&&E&&y),null==I?void 0:I.affixWrapper,null==k?void 0:k.affixWrapper,null==k?void 0:k.variant),U=(b||E)&&c.createElement("span",{className:d()("".concat(f,"-suffix"),null==k?void 0:k.suffix),style:null==j?void 0:j.suffix},L,b);D=c.createElement(Z,(0,t.Z)({className:_,style:null==j?void 0:j.affixWrapper,onClick:function(e){var r;null!==(r=A.current)&&void 0!==r&&r.contains(e.target)&&(null==C||C())}},null==W?void 0:W.affixWrapper,{ref:A}),g&&c.createElement("span",{className:d()("".concat(f,"-prefix"),null==k?void 0:k.prefix),style:null==j?void 0:j.prefix},g),D,U)}if((0,s.He)(e)){var J="".concat(f,"-group"),Q="".concat(J,"-addon"),V="".concat(J,"-wrapper"),Y=d()("".concat(f,"-wrapper"),J,null==I?void 0:I.wrapper,null==k?void 0:k.wrapper),ee=d()(V,(0,i.Z)({},"".concat(V,"-disabled"),x),null==I?void 0:I.group,null==k?void 0:k.groupWrapper);D=c.createElement(H,{className:ee,ref:X},c.createElement(N,{className:Y},h&&c.createElement(F,{className:Q},h),D,$&&c.createElement(F,{className:Q},$)))}return c.cloneElement(D,{className:d()(null===(o=D.props)||void 0===o?void 0:o.className,m)||null,style:(0,n.Z)((0,n.Z)({},null===(l=D.props)||void 0===l?void 0:l.style),v),hidden:B})}),p=o(74902),f=o(97685),g=o(45987),b=o(21770),h=o(98423),$=o(82234),m=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],v=(0,c.forwardRef)(function(e,r){var o,a=e.autoComplete,l=e.onChange,v=e.onFocus,x=e.onBlur,S=e.onPressEnter,w=e.onKeyDown,C=e.onKeyUp,E=e.prefixCls,y=void 0===E?"rc-input":E,R=e.disabled,B=e.htmlSize,I=e.className,k=e.maxLength,W=e.suffix,j=e.showCount,O=e.count,z=e.type,T=e.classes,Z=e.classNames,H=e.styles,N=e.onCompositionStart,F=e.onCompositionEnd,A=(0,g.Z)(e,m),M=(0,c.useState)(!1),D=(0,f.Z)(M,2),X=D[0],L=D[1],P=(0,c.useRef)(!1),q=(0,c.useRef)(!1),G=(0,c.useRef)(null),K=(0,c.useRef)(null),_=function(e){G.current&&(0,s.nH)(G.current,e)},U=(0,b.Z)(e.defaultValue,{value:e.value}),J=(0,f.Z)(U,2),Q=J[0],V=J[1],Y=null==Q?"":String(Q),ee=(0,c.useState)(null),er=(0,f.Z)(ee,2),eo=er[0],en=er[1],et=(0,$.Z)(O,j),ei=et.max||k,ea=et.strategy(Y),el=!!ei&&ea>ei;(0,c.useImperativeHandle)(r,function(){var e;return{focus:_,blur:function(){var e;null===(e=G.current)||void 0===e||e.blur()},setSelectionRange:function(e,r,o){var n;null===(n=G.current)||void 0===n||n.setSelectionRange(e,r,o)},select:function(){var e;null===(e=G.current)||void 0===e||e.select()},input:G.current,nativeElement:(null===(e=K.current)||void 0===e?void 0:e.nativeElement)||G.current}}),(0,c.useEffect)(function(){L(function(e){return(!e||!R)&&e})},[R]);var ed=function(e,r,o){var n,t,i=r;if(!P.current&&et.exceedFormatter&&et.max&&et.strategy(r)>et.max)i=et.exceedFormatter(r,{max:et.max}),r!==i&&en([(null===(n=G.current)||void 0===n?void 0:n.selectionStart)||0,(null===(t=G.current)||void 0===t?void 0:t.selectionEnd)||0]);else if("compositionEnd"===o.source)return;V(i),G.current&&(0,s.rJ)(G.current,e,l,i)};(0,c.useEffect)(function(){if(eo){var e;null===(e=G.current)||void 0===e||e.setSelectionRange.apply(e,(0,p.Z)(eo))}},[eo]);var ec=el&&"".concat(y,"-out-of-range");return c.createElement(u,(0,t.Z)({},A,{prefixCls:y,className:d()(I,ec),handleReset:function(e){V(""),_(),G.current&&(0,s.rJ)(G.current,e,l)},value:Y,focused:X,triggerFocus:_,suffix:function(){var e=Number(ei)>0;if(W||et.show){var r=et.showFormatter?et.showFormatter({value:Y,count:ea,maxLength:ei}):"".concat(ea).concat(e?" / ".concat(ei):"");return c.createElement(c.Fragment,null,et.show&&c.createElement("span",{className:d()("".concat(y,"-show-count-suffix"),(0,i.Z)({},"".concat(y,"-show-count-has-suffix"),!!W),null==Z?void 0:Z.count),style:(0,n.Z)({},null==H?void 0:H.count)},r),W)}return null}(),disabled:R,classes:T,classNames:Z,styles:H}),(o=(0,h.Z)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]),c.createElement("input",(0,t.Z)({autoComplete:a},o,{onChange:function(e){ed(e,e.target.value,{source:"change"})},onFocus:function(e){L(!0),null==v||v(e)},onBlur:function(e){L(!1),null==x||x(e)},onKeyDown:function(e){S&&"Enter"===e.key&&!q.current&&(q.current=!0,S(e)),null==w||w(e)},onKeyUp:function(e){"Enter"===e.key&&(q.current=!1),null==C||C(e)},className:d()(y,(0,i.Z)({},"".concat(y,"-disabled"),R),null==Z?void 0:Z.input),style:null==H?void 0:H.input,ref:G,size:B,type:void 0===z?"text":z,onCompositionStart:function(e){P.current=!0,null==N||N(e)},onCompositionEnd:function(e){P.current=!1,ed(e,e.currentTarget.value,{source:"compositionEnd"}),null==F||F(e)}}))))})},87887:function(e,r,o){function n(e){return!!(e.addonBefore||e.addonAfter)}function t(e){return!!(e.prefix||e.suffix||e.allowClear)}function i(e,r,o){var n=r.cloneNode(!0),t=Object.create(e,{target:{value:n},currentTarget:{value:n}});return n.value=o,"number"==typeof r.selectionStart&&"number"==typeof r.selectionEnd&&(n.selectionStart=r.selectionStart,n.selectionEnd=r.selectionEnd),n.setSelectionRange=function(){r.setSelectionRange.apply(r,arguments)},t}function a(e,r,o,n){if(o){var t=r;if("click"===r.type){o(t=i(r,e,""));return}if("file"!==e.type&&void 0!==n){o(t=i(r,e,n));return}o(t)}}function l(e,r){if(e){e.focus(r);var o=(r||{}).cursor;if(o){var n=e.value.length;switch(o){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(n,n);break;default:e.setSelectionRange(0,n)}}}}o.d(r,{He:function(){return n},X3:function(){return t},nH:function(){return l},rJ:function(){return a}})}}]); \ No newline at end of file + `]:{paddingInlineEnd:o},[`&-affix-wrapper${r}-affix-wrapper`]:{padding:0,[`> textarea${r}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${r}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${r}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${r}-affix-wrapper-sm`]:{[`${r}-suffix`]:{[`${r}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},S=e=>{let{componentCls:r}=e;return{[`${r}-out-of-range`]:{[`&, & input, & textarea, ${r}-show-count-suffix, ${r}-data-count`]:{color:e.colorError}}}};r.ZP=(0,a.I$)("Input",e=>{let r=(0,l.IX)(e,(0,d.e)(e));return[b(r),x(r),$(r),m(r),v(r),S(r),(0,i.c)(r)]},d.T,{resetFont:!1})},20353:function(e,r,o){o.d(r,{T:function(){return i},e:function(){return t}});var n=o(83262);function t(e){return(0,n.IX)(e,{inputAffixPadding:e.paddingXXS})}let i=e=>{let{controlHeight:r,fontSize:o,lineHeight:n,lineWidth:t,controlHeightSM:i,controlHeightLG:a,fontSizeLG:l,lineHeightLG:d,paddingSM:c,controlPaddingHorizontalSM:s,controlPaddingHorizontal:u,colorFillAlter:p,colorPrimaryHover:f,colorPrimary:g,controlOutlineWidth:b,controlOutline:h,colorErrorOutline:$,colorWarningOutline:m,colorBgContainer:v}=e;return{paddingBlock:Math.max(Math.round((r-o*n)/2*10)/10-t,0),paddingBlockSM:Math.max(Math.round((i-o*n)/2*10)/10-t,0),paddingBlockLG:Math.ceil((a-l*d)/2*10)/10-t,paddingInline:c-t,paddingInlineSM:s-t,paddingInlineLG:u-t,addonBg:p,activeBorderColor:g,hoverBorderColor:f,activeShadow:`0 0 0 ${b}px ${h}`,errorActiveShadow:`0 0 0 ${b}px ${$}`,warningActiveShadow:`0 0 0 ${b}px ${m}`,hoverBg:v,activeBg:v,inputFontSize:o,inputFontSizeLG:l,inputFontSizeSM:o}}},93900:function(e,r,o){o.d(r,{$U:function(){return l},H8:function(){return b},Mu:function(){return p},S5:function(){return $},Xy:function(){return a},ir:function(){return u},qG:function(){return c}});var n=o(25446),t=o(83262);let i=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),a=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},i((0,t.IX)(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),l=(e,r)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:r.borderColor,"&:hover":{borderColor:r.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:r.activeBorderColor,boxShadow:r.activeShadow,outline:0,backgroundColor:e.activeBg}}),d=(e,r)=>({[`&${e.componentCls}-status-${r.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},l(e,r)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:r.affixColor}}),[`&${e.componentCls}-status-${r.status}${e.componentCls}-disabled`]:{borderColor:r.borderColor}}),c=(e,r)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},l(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},a(e))}),d(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),d(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),r)}),s=(e,r)=>({[`&${e.componentCls}-group-wrapper-status-${r.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:r.addonBorderColor,color:r.addonColor}}}),u=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},s(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),s(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},a(e))}})}),p=(e,r)=>{let{componentCls:o}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${o}-disabled, &[disabled]`]:{color:e.colorTextDisabled},[`&${o}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${o}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},r)}},f=(e,r)=>({background:r.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:null==r?void 0:r.inputColor},"&:hover":{background:r.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:r.activeBorderColor,backgroundColor:e.activeBg}}),g=(e,r)=>({[`&${e.componentCls}-status-${r.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},f(e,r)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:r.affixColor}})}),b=(e,r)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},f(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},a(e))}),g(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),g(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),r)}),h=(e,r)=>({[`&${e.componentCls}-group-wrapper-status-${r.status}`]:{[`${e.componentCls}-group-addon`]:{background:r.addonBg,color:r.addonColor}}}),$=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},h(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),h(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})})},82234:function(e,r,o){o.d(r,{Z:function(){return d}});var n=o(45987),t=o(1413),i=o(71002),a=o(67294),l=["show"];function d(e,r){return a.useMemo(function(){var o={};r&&(o.show="object"===(0,i.Z)(r)&&r.formatter?r.formatter:!!r);var a=o=(0,t.Z)((0,t.Z)({},o),e),d=a.show,c=(0,n.Z)(a,l);return(0,t.Z)((0,t.Z)({},c),{},{show:!!d,showFormatter:"function"==typeof d?d:void 0,strategy:c.strategy||function(e){return e.length}})},[e,r])}},67656:function(e,r,o){o.d(r,{Q:function(){return u},Z:function(){return v}});var n=o(1413),t=o(87462),i=o(4942),a=o(71002),l=o(93967),d=o.n(l),c=o(67294),s=o(87887),u=c.forwardRef(function(e,r){var o,l,u=e.inputElement,p=e.children,f=e.prefixCls,g=e.prefix,b=e.suffix,h=e.addonBefore,$=e.addonAfter,m=e.className,v=e.style,x=e.disabled,S=e.readOnly,w=e.focused,C=e.triggerFocus,E=e.allowClear,y=e.value,R=e.handleReset,B=e.hidden,I=e.classes,k=e.classNames,W=e.dataAttrs,j=e.styles,O=e.components,z=e.onClear,T=null!=p?p:u,Z=(null==O?void 0:O.affixWrapper)||"span",H=(null==O?void 0:O.groupWrapper)||"span",N=(null==O?void 0:O.wrapper)||"span",F=(null==O?void 0:O.groupAddon)||"span",A=(0,c.useRef)(null),M=(0,s.X3)(e),D=(0,c.cloneElement)(T,{value:y,className:d()(T.props.className,!M&&(null==k?void 0:k.variant))||null}),X=(0,c.useRef)(null);if(c.useImperativeHandle(r,function(){return{nativeElement:X.current||A.current}}),M){var L=null;if(E){var P=!x&&!S&&y,q="".concat(f,"-clear-icon"),G="object"===(0,a.Z)(E)&&null!=E&&E.clearIcon?E.clearIcon:"✖";L=c.createElement("span",{onClick:function(e){null==R||R(e),null==z||z()},onMouseDown:function(e){return e.preventDefault()},className:d()(q,(0,i.Z)((0,i.Z)({},"".concat(q,"-hidden"),!P),"".concat(q,"-has-suffix"),!!b)),role:"button",tabIndex:-1},G)}var K="".concat(f,"-affix-wrapper"),_=d()(K,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(f,"-disabled"),x),"".concat(K,"-disabled"),x),"".concat(K,"-focused"),w),"".concat(K,"-readonly"),S),"".concat(K,"-input-with-clear-btn"),b&&E&&y),null==I?void 0:I.affixWrapper,null==k?void 0:k.affixWrapper,null==k?void 0:k.variant),U=(b||E)&&c.createElement("span",{className:d()("".concat(f,"-suffix"),null==k?void 0:k.suffix),style:null==j?void 0:j.suffix},L,b);D=c.createElement(Z,(0,t.Z)({className:_,style:null==j?void 0:j.affixWrapper,onClick:function(e){var r;null!==(r=A.current)&&void 0!==r&&r.contains(e.target)&&(null==C||C())}},null==W?void 0:W.affixWrapper,{ref:A}),g&&c.createElement("span",{className:d()("".concat(f,"-prefix"),null==k?void 0:k.prefix),style:null==j?void 0:j.prefix},g),D,U)}if((0,s.He)(e)){var J="".concat(f,"-group"),Q="".concat(J,"-addon"),V="".concat(J,"-wrapper"),Y=d()("".concat(f,"-wrapper"),J,null==I?void 0:I.wrapper,null==k?void 0:k.wrapper),ee=d()(V,(0,i.Z)({},"".concat(V,"-disabled"),x),null==I?void 0:I.group,null==k?void 0:k.groupWrapper);D=c.createElement(H,{className:ee,ref:X},c.createElement(N,{className:Y},h&&c.createElement(F,{className:Q},h),D,$&&c.createElement(F,{className:Q},$)))}return c.cloneElement(D,{className:d()(null===(o=D.props)||void 0===o?void 0:o.className,m)||null,style:(0,n.Z)((0,n.Z)({},null===(l=D.props)||void 0===l?void 0:l.style),v),hidden:B})}),p=o(74902),f=o(97685),g=o(45987),b=o(21770),h=o(98423),$=o(82234),m=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],v=(0,c.forwardRef)(function(e,r){var o,a=e.autoComplete,l=e.onChange,v=e.onFocus,x=e.onBlur,S=e.onPressEnter,w=e.onKeyDown,C=e.onKeyUp,E=e.prefixCls,y=void 0===E?"rc-input":E,R=e.disabled,B=e.htmlSize,I=e.className,k=e.maxLength,W=e.suffix,j=e.showCount,O=e.count,z=e.type,T=e.classes,Z=e.classNames,H=e.styles,N=e.onCompositionStart,F=e.onCompositionEnd,A=(0,g.Z)(e,m),M=(0,c.useState)(!1),D=(0,f.Z)(M,2),X=D[0],L=D[1],P=(0,c.useRef)(!1),q=(0,c.useRef)(!1),G=(0,c.useRef)(null),K=(0,c.useRef)(null),_=function(e){G.current&&(0,s.nH)(G.current,e)},U=(0,b.Z)(e.defaultValue,{value:e.value}),J=(0,f.Z)(U,2),Q=J[0],V=J[1],Y=null==Q?"":String(Q),ee=(0,c.useState)(null),er=(0,f.Z)(ee,2),eo=er[0],en=er[1],et=(0,$.Z)(O,j),ei=et.max||k,ea=et.strategy(Y),el=!!ei&&ea>ei;(0,c.useImperativeHandle)(r,function(){var e;return{focus:_,blur:function(){var e;null===(e=G.current)||void 0===e||e.blur()},setSelectionRange:function(e,r,o){var n;null===(n=G.current)||void 0===n||n.setSelectionRange(e,r,o)},select:function(){var e;null===(e=G.current)||void 0===e||e.select()},input:G.current,nativeElement:(null===(e=K.current)||void 0===e?void 0:e.nativeElement)||G.current}}),(0,c.useEffect)(function(){L(function(e){return(!e||!R)&&e})},[R]);var ed=function(e,r,o){var n,t,i=r;if(!P.current&&et.exceedFormatter&&et.max&&et.strategy(r)>et.max)i=et.exceedFormatter(r,{max:et.max}),r!==i&&en([(null===(n=G.current)||void 0===n?void 0:n.selectionStart)||0,(null===(t=G.current)||void 0===t?void 0:t.selectionEnd)||0]);else if("compositionEnd"===o.source)return;V(i),G.current&&(0,s.rJ)(G.current,e,l,i)};(0,c.useEffect)(function(){if(eo){var e;null===(e=G.current)||void 0===e||e.setSelectionRange.apply(e,(0,p.Z)(eo))}},[eo]);var ec=el&&"".concat(y,"-out-of-range");return c.createElement(u,(0,t.Z)({},A,{prefixCls:y,className:d()(I,ec),handleReset:function(e){V(""),_(),G.current&&(0,s.rJ)(G.current,e,l)},value:Y,focused:X,triggerFocus:_,suffix:function(){var e=Number(ei)>0;if(W||et.show){var r=et.showFormatter?et.showFormatter({value:Y,count:ea,maxLength:ei}):"".concat(ea).concat(e?" / ".concat(ei):"");return c.createElement(c.Fragment,null,et.show&&c.createElement("span",{className:d()("".concat(y,"-show-count-suffix"),(0,i.Z)({},"".concat(y,"-show-count-has-suffix"),!!W),null==Z?void 0:Z.count),style:(0,n.Z)({},null==H?void 0:H.count)},r),W)}return null}(),disabled:R,classes:T,classNames:Z,styles:H}),(o=(0,h.Z)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]),c.createElement("input",(0,t.Z)({autoComplete:a},o,{onChange:function(e){ed(e,e.target.value,{source:"change"})},onFocus:function(e){L(!0),null==v||v(e)},onBlur:function(e){L(!1),null==x||x(e)},onKeyDown:function(e){S&&"Enter"===e.key&&!q.current&&(q.current=!0,S(e)),null==w||w(e)},onKeyUp:function(e){"Enter"===e.key&&(q.current=!1),null==C||C(e)},className:d()(y,(0,i.Z)({},"".concat(y,"-disabled"),R),null==Z?void 0:Z.input),style:null==H?void 0:H.input,ref:G,size:B,type:void 0===z?"text":z,onCompositionStart:function(e){P.current=!0,null==N||N(e)},onCompositionEnd:function(e){P.current=!1,ed(e,e.currentTarget.value,{source:"compositionEnd"}),null==F||F(e)}}))))})},87887:function(e,r,o){function n(e){return!!(e.addonBefore||e.addonAfter)}function t(e){return!!(e.prefix||e.suffix||e.allowClear)}function i(e,r,o){var n=r.cloneNode(!0),t=Object.create(e,{target:{value:n},currentTarget:{value:n}});return n.value=o,"number"==typeof r.selectionStart&&"number"==typeof r.selectionEnd&&(n.selectionStart=r.selectionStart,n.selectionEnd=r.selectionEnd),n.setSelectionRange=function(){r.setSelectionRange.apply(r,arguments)},t}function a(e,r,o,n){if(o){var t=r;if("click"===r.type){o(t=i(r,e,""));return}if("file"!==e.type&&void 0!==n){o(t=i(r,e,n));return}o(t)}}function l(e,r){if(e){e.focus(r);var o=(r||{}).cursor;if(o){var n=e.value.length;switch(o){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(n,n);break;default:e.setSelectionRange(0,n)}}}}o.d(r,{He:function(){return n},X3:function(){return t},nH:function(){return l},rJ:function(){return a}})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2684-73933877255629e3.js b/dbgpt/app/static/web/_next/static/chunks/2684-73933877255629e3.js new file mode 100644 index 000000000..2ef77c6b7 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/2684-73933877255629e3.js @@ -0,0 +1,18 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2684],{63606:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(87462),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},l=n(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},6171:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(87462),a=n(67294),o={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"},l=n(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},8745:function(e,t,n){n.d(t,{i:function(){return i}});var r=n(67294),a=n(21770),o=n(28459),l=n(53124);function i(e){return t=>r.createElement(o.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,Object.assign({},t)))}t.Z=(e,t,n,o)=>i(i=>{let{prefixCls:u,style:s}=i,c=r.useRef(null),[d,f]=r.useState(0),[v,m]=r.useState(0),[g,p]=(0,a.Z)(!1,{value:i.open}),{getPrefixCls:b}=r.useContext(l.E_),h=b(t||"select",u);r.useEffect(()=>{if(p(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;f(t.offsetHeight+8),m(t.offsetWidth)}),t=setInterval(()=>{var r;let a=n?`.${n(h)}`:`.${h}-dropdown`,o=null===(r=c.current)||void 0===r?void 0:r.querySelector(a);o&&(clearInterval(t),e.observe(o))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let y=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},s),{margin:0}),open:g,visible:g,getPopupContainer:()=>c.current});return o&&(y=o(y)),r.createElement("div",{ref:c,style:{paddingBottom:d,position:"relative",minWidth:v}},r.createElement(e,Object.assign({},y)))})},98065:function(e,t,n){function r(e){return["small","middle","large"].includes(e)}function a(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}n.d(t,{T:function(){return a},n:function(){return r}})},30568:function(e,t,n){n.d(t,{Z:function(){return en}});var r=n(67294),a=n(93967),o=n.n(a),l=n(1413),i=n(4942),u=n(74902),s=n(71002),c=n(97685),d=n(56790),f=n(21770),v=n(91881),m=n(80334),g=n(87462),p=n(45987),b=n(73935);function h(e,t,n,r){var a=(t-n)/(r-n),o={};switch(e){case"rtl":o.right="".concat(100*a,"%"),o.transform="translateX(50%)";break;case"btt":o.bottom="".concat(100*a,"%"),o.transform="translateY(50%)";break;case"ttb":o.top="".concat(100*a,"%"),o.transform="translateY(-50%)";break;default:o.left="".concat(100*a,"%"),o.transform="translateX(-50%)"}return o}function y(e,t){return Array.isArray(e)?e[t]:e}var C=n(15105),E=r.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),x=r.createContext({}),k=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],Z=r.forwardRef(function(e,t){var n,a=e.prefixCls,u=e.value,s=e.valueIndex,c=e.onStartMove,d=e.onDelete,f=e.style,v=e.render,m=e.dragging,b=e.draggingDelete,x=e.onOffsetChange,Z=e.onChangeComplete,$=e.onFocus,O=e.onMouseEnter,S=(0,p.Z)(e,k),w=r.useContext(E),M=w.min,B=w.max,D=w.direction,I=w.disabled,P=w.keyboard,N=w.range,R=w.tabIndex,F=w.ariaLabelForHandle,j=w.ariaLabelledByForHandle,H=w.ariaValueTextFormatterForHandle,L=w.styles,z=w.classNames,A="".concat(a,"-handle"),T=function(e){I||c(e,s)},q=h(D,u,M,B),X={};null!==s&&(X={tabIndex:I?null:y(R,s),role:"slider","aria-valuemin":M,"aria-valuemax":B,"aria-valuenow":u,"aria-disabled":I,"aria-label":y(F,s),"aria-labelledby":y(j,s),"aria-valuetext":null===(n=y(H,s))||void 0===n?void 0:n(u),"aria-orientation":"ltr"===D||"rtl"===D?"horizontal":"vertical",onMouseDown:T,onTouchStart:T,onFocus:function(e){null==$||$(e,s)},onMouseEnter:function(e){O(e,s)},onKeyDown:function(e){if(!I&&P){var t=null;switch(e.which||e.keyCode){case C.Z.LEFT:t="ltr"===D||"btt"===D?-1:1;break;case C.Z.RIGHT:t="ltr"===D||"btt"===D?1:-1;break;case C.Z.UP:t="ttb"!==D?1:-1;break;case C.Z.DOWN:t="ttb"!==D?-1:1;break;case C.Z.HOME:t="min";break;case C.Z.END:t="max";break;case C.Z.PAGE_UP:t=2;break;case C.Z.PAGE_DOWN:t=-2;break;case C.Z.BACKSPACE:case C.Z.DELETE:d(s)}null!==t&&(e.preventDefault(),x(t,s))}},onKeyUp:function(e){switch(e.which||e.keyCode){case C.Z.LEFT:case C.Z.RIGHT:case C.Z.UP:case C.Z.DOWN:case C.Z.HOME:case C.Z.END:case C.Z.PAGE_UP:case C.Z.PAGE_DOWN:null==Z||Z()}}});var W=r.createElement("div",(0,g.Z)({ref:t,className:o()(A,(0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(A,"-").concat(s+1),null!==s&&N),"".concat(A,"-dragging"),m),"".concat(A,"-dragging-delete"),b),z.handle),style:(0,l.Z)((0,l.Z)((0,l.Z)({},q),f),L.handle)},X,S));return v&&(W=v(W,{index:s,prefixCls:a,value:u,dragging:m,draggingDelete:b})),W}),$=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],O=r.forwardRef(function(e,t){var n=e.prefixCls,a=e.style,o=e.onStartMove,i=e.onOffsetChange,u=e.values,s=e.handleRender,d=e.activeHandleRender,f=e.draggingIndex,v=e.draggingDelete,m=e.onFocus,h=(0,p.Z)(e,$),C=r.useRef({}),E=r.useState(!1),x=(0,c.Z)(E,2),k=x[0],O=x[1],S=r.useState(-1),w=(0,c.Z)(S,2),M=w[0],B=w[1],D=function(e){B(e),O(!0)};r.useImperativeHandle(t,function(){return{focus:function(e){var t;null===(t=C.current[e])||void 0===t||t.focus()},hideHelp:function(){(0,b.flushSync)(function(){O(!1)})}}});var I=(0,l.Z)({prefixCls:n,onStartMove:o,onOffsetChange:i,render:s,onFocus:function(e,t){D(t),null==m||m(e)},onMouseEnter:function(e,t){D(t)}},h);return r.createElement(r.Fragment,null,u.map(function(e,t){var n=f===t;return r.createElement(Z,(0,g.Z)({ref:function(e){e?C.current[t]=e:delete C.current[t]},dragging:n,draggingDelete:n&&v,style:y(a,t),key:t,value:e,valueIndex:t},I))}),d&&k&&r.createElement(Z,(0,g.Z)({key:"a11y"},I,{value:u[M],valueIndex:null,dragging:-1!==f,draggingDelete:v,render:d,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}),S=function(e){var t=e.prefixCls,n=e.style,a=e.children,u=e.value,s=e.onClick,c=r.useContext(E),d=c.min,f=c.max,v=c.direction,m=c.includedStart,g=c.includedEnd,p=c.included,b="".concat(t,"-text"),y=h(v,u,d,f);return r.createElement("span",{className:o()(b,(0,i.Z)({},"".concat(b,"-active"),p&&m<=u&&u<=g)),style:(0,l.Z)((0,l.Z)({},y),n),onMouseDown:function(e){e.stopPropagation()},onClick:function(){s(u)}},a)},w=function(e){var t=e.prefixCls,n=e.marks,a=e.onClick,o="".concat(t,"-mark");return n.length?r.createElement("div",{className:o},n.map(function(e){var t=e.value,n=e.style,l=e.label;return r.createElement(S,{key:t,prefixCls:o,style:n,value:t,onClick:a},l)})):null},M=function(e){var t=e.prefixCls,n=e.value,a=e.style,u=e.activeStyle,s=r.useContext(E),c=s.min,d=s.max,f=s.direction,v=s.included,m=s.includedStart,g=s.includedEnd,p="".concat(t,"-dot"),b=v&&m<=n&&n<=g,y=(0,l.Z)((0,l.Z)({},h(f,n,c,d)),"function"==typeof a?a(n):a);return b&&(y=(0,l.Z)((0,l.Z)({},y),"function"==typeof u?u(n):u)),r.createElement("span",{className:o()(p,(0,i.Z)({},"".concat(p,"-active"),b)),style:y})},B=function(e){var t=e.prefixCls,n=e.marks,a=e.dots,o=e.style,l=e.activeStyle,i=r.useContext(E),u=i.min,s=i.max,c=i.step,d=r.useMemo(function(){var e=new Set;if(n.forEach(function(t){e.add(t.value)}),a&&null!==c)for(var t=u;t<=s;)e.add(t),t+=c;return Array.from(e)},[u,s,c,a,n]);return r.createElement("div",{className:"".concat(t,"-step")},d.map(function(e){return r.createElement(M,{prefixCls:t,key:e,value:e,style:o,activeStyle:l})}))},D=function(e){var t=e.prefixCls,n=e.style,a=e.start,u=e.end,s=e.index,c=e.onStartMove,d=e.replaceCls,f=r.useContext(E),v=f.direction,m=f.min,g=f.max,p=f.disabled,b=f.range,h=f.classNames,y="".concat(t,"-track"),C=(a-m)/(g-m),x=(u-m)/(g-m),k=function(e){!p&&c&&c(e,-1)},Z={};switch(v){case"rtl":Z.right="".concat(100*C,"%"),Z.width="".concat(100*x-100*C,"%");break;case"btt":Z.bottom="".concat(100*C,"%"),Z.height="".concat(100*x-100*C,"%");break;case"ttb":Z.top="".concat(100*C,"%"),Z.height="".concat(100*x-100*C,"%");break;default:Z.left="".concat(100*C,"%"),Z.width="".concat(100*x-100*C,"%")}var $=d||o()(y,(0,i.Z)((0,i.Z)({},"".concat(y,"-").concat(s+1),null!==s&&b),"".concat(t,"-track-draggable"),c),h.track);return r.createElement("div",{className:$,style:(0,l.Z)((0,l.Z)({},Z),n),onMouseDown:k,onTouchStart:k})},I=function(e){var t=e.prefixCls,n=e.style,a=e.values,i=e.startPoint,u=e.onStartMove,s=r.useContext(E),c=s.included,d=s.range,f=s.min,v=s.styles,m=s.classNames,g=r.useMemo(function(){if(!d){if(0===a.length)return[];var e=null!=i?i:f,t=a[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}for(var n=[],r=0;r130&&m=0&&et},[et,eN]),eF=r.useMemo(function(){return Object.keys(ef||{}).map(function(e){var t=ef[e],n={value:Number(e)};return t&&"object"===(0,s.Z)(t)&&!r.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n}).filter(function(e){var t=e.label;return t||"number"==typeof t}).sort(function(e,t){return e.value-t.value})},[ef]),ej=(n=void 0===J||J,a=r.useCallback(function(e){return Math.max(eI,Math.min(eP,e))},[eI,eP]),g=r.useCallback(function(e){if(null!==eN){var t=eI+Math.round((a(e)-eI)/eN)*eN,n=function(e){return(String(e).split(".")[1]||"").length},r=Math.max(n(eN),n(eP),n(eI)),o=Number(t.toFixed(r));return eI<=o&&o<=eP?o:null}return null},[eN,eI,eP,a]),p=r.useCallback(function(e){var t=a(e),n=eF.map(function(e){return e.value});null!==eN&&n.push(g(e)),n.push(eI,eP);var r=n[0],o=eP-eI;return n.forEach(function(e){var n=Math.abs(t-e);n<=o&&(r=e,o=n)}),r},[eI,eP,eF,eN,a,g]),b=function e(t,n,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"==typeof n){var o,l=t[r],i=l+n,s=[];eF.forEach(function(e){s.push(e.value)}),s.push(eI,eP),s.push(g(l));var c=n>0?1:-1;"unit"===a?s.push(g(l+c*eN)):s.push(g(i)),s=s.filter(function(e){return null!==e}).filter(function(e){return n<0?e<=l:e>=l}),"unit"===a&&(s=s.filter(function(e){return e!==l}));var d="unit"===a?l:i,f=Math.abs((o=s[0])-d);if(s.forEach(function(e){var t=Math.abs(e-d);t1){var v=(0,u.Z)(t);return v[r]=o,e(v,n-c,r,a)}return o}return"min"===n?eI:"max"===n?eP:void 0},h=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",a=e[n],o=b(e,t,n,r);return{value:o,changed:o!==a}},y=function(e){return null===eR&&0===e||"number"==typeof eR&&e3&&void 0!==arguments[3]?arguments[3]:"unit",o=e.map(p),l=o[r],i=b(o,t,r,a);if(o[r]=i,!1===n){var u=eR||0;r>0&&o[r-1]!==l&&(o[r]=Math.max(o[r],o[r-1]+u)),r0;f-=1)for(var v=!0;y(o[f]-o[f-1])&&v;){var m=h(o,-1,f-1);o[f-1]=m.value,v=m.changed}for(var g=o.length-1;g>0;g-=1)for(var C=!0;y(o[g]-o[g-1])&&C;){var E=h(o,-1,g-1);o[g-1]=E.value,C=E.changed}for(var x=0;x=0?_+1:2;for(r=r.slice(0,o);r.length=0&&ex.current.focus(e)}e7(null)},[e6]);var e5=r.useMemo(function(){return(!eM||null!==eN)&&eM},[eM,eN]),e9=(0,d.zX)(function(e,t){e1(e,t),null==Y||Y(eV(eW))}),e8=-1!==eU;r.useEffect(function(){if(!e8){var e=eW.lastIndexOf(eQ);ex.current.focus(e)}},[e8]);var te=r.useMemo(function(){return(0,u.Z)(e0).sort(function(e,t){return e-t})},[e0]),tt=r.useMemo(function(){return eS?[te[0],te[te.length-1]]:[eI,te[0]]},[te,eS,eI]),tn=(0,c.Z)(tt,2),tr=tn[0],ta=tn[1];r.useImperativeHandle(t,function(){return{focus:function(){ex.current.focus(0)},blur:function(){var e,t=document.activeElement;null!==(e=ek.current)&&void 0!==e&&e.contains(t)&&(null==t||t.blur())}}}),r.useEffect(function(){F&&ex.current.focus(0)},[]);var to=r.useMemo(function(){return{min:eI,max:eP,direction:eZ,disabled:D,keyboard:R,step:eN,included:eo,includedStart:tr,includedEnd:ta,range:eS,tabIndex:eh,ariaLabelForHandle:ey,ariaLabelledByForHandle:eC,ariaValueTextFormatterForHandle:eE,styles:S||{},classNames:$||{}}},[eI,eP,eZ,D,R,eN,eo,tr,ta,eS,eh,ey,eC,eE,S,$]);return r.createElement(E.Provider,{value:to},r.createElement("div",{ref:ek,className:o()(x,k,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(x,"-disabled"),D),"".concat(x,"-vertical"),er),"".concat(x,"-horizontal"),!er),"".concat(x,"-with-marks"),eF.length)),style:Z,onMouseDown:function(e){e.preventDefault();var t,n=ek.current.getBoundingClientRect(),r=n.width,a=n.height,o=n.left,l=n.top,i=n.bottom,u=n.right,s=e.clientX,c=e.clientY;switch(eZ){case"btt":t=(i-c)/a;break;case"ttb":t=(c-l)/a;break;case"rtl":t=(u-s)/r;break;default:t=(s-o)/r}e2(eL(eI+t*(eP-eI)),e)}},r.createElement("div",{className:o()("".concat(x,"-rail"),null==$?void 0:$.rail),style:(0,l.Z)((0,l.Z)({},es),null==S?void 0:S.rail)}),!1!==ep&&r.createElement(I,{prefixCls:x,style:ei,values:eW,startPoint:el,onStartMove:e5?e9:void 0}),r.createElement(B,{prefixCls:x,marks:eF,dots:ev,style:ec,activeStyle:ed}),r.createElement(O,{ref:ex,prefixCls:x,style:eu,values:e0,draggingIndex:eU,draggingDelete:eJ,onStartMove:e9,onOffsetChange:function(e,t){if(!D){var n=ez(eW,e,t);null==Y||Y(eV(eW)),eK(n.values),e7(n.value)}},onFocus:j,onBlur:H,handleRender:em,activeHandleRender:eg,onChangeComplete:e_,onDelete:ew?function(e){if(!D&&ew&&!(eW.length<=eB)){var t=(0,u.Z)(eW);t.splice(e,1),null==Y||Y(eV(t)),eK(t);var n=Math.max(0,e-1);ex.current.hideHelp(),ex.current.focus(n)}}:void 0}),r.createElement(w,{prefixCls:x,marks:eF,onClick:e2})))}),F=n(75164),j=n(53124),H=n(98866),L=n(42550),z=n(83062);let A=r.forwardRef((e,t)=>{let{open:n,draggingDelete:a}=e,o=(0,r.useRef)(null),l=n&&!a,i=(0,r.useRef)(null);function u(){F.Z.cancel(i.current),i.current=null}return r.useEffect(()=>(l?i.current=(0,F.Z)(()=>{var e;null===(e=o.current)||void 0===e||e.forceAlign(),i.current=null}):u(),u),[l,e.title]),r.createElement(z.Z,Object.assign({ref:(0,L.sQ)(o,t)},e,{open:l}))});var T=n(25446),q=n(10274),X=n(14747),W=n(83559),V=n(83262);let K=e=>{let{componentCls:t,antCls:n,controlSize:r,dotSize:a,marginFull:o,marginPart:l,colorFillContentHover:i,handleColorDisabled:u,calc:s,handleSize:c,handleSizeHover:d,handleActiveColor:f,handleActiveOutlineColor:v,handleLineWidth:m,handleLineWidthHover:g,motionDurationMid:p}=e;return{[t]:Object.assign(Object.assign({},(0,X.Wf)(e)),{position:"relative",height:r,margin:`${(0,T.bf)(l)} ${(0,T.bf)(o)}`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${(0,T.bf)(o)} ${(0,T.bf)(l)}`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${p}`},[`${t}-track,${t}-tracks`]:{position:"absolute",transition:`background-color ${p}`},[`${t}-track`]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},[`${t}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:i},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${(0,T.bf)(m)} ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:"absolute",width:c,height:c,outline:"none",userSelect:"none","&-dragging-delete":{opacity:0},"&::before":{content:'""',position:"absolute",insetInlineStart:s(m).mul(-1).equal(),insetBlockStart:s(m).mul(-1).equal(),width:s(c).add(s(m).mul(2)).equal(),height:s(c).add(s(m).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:c,height:c,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${(0,T.bf)(m)} ${e.handleColor}`,outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:` + inset-inline-start ${p}, + inset-block-start ${p}, + width ${p}, + height ${p}, + box-shadow ${p}, + outline ${p} + `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:s(d).sub(c).div(2).add(g).mul(-1).equal(),insetBlockStart:s(d).sub(c).div(2).add(g).mul(-1).equal(),width:s(d).add(s(g).mul(2)).equal(),height:s(d).add(s(g).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${(0,T.bf)(g)} ${f}`,outline:`6px solid ${v}`,width:d,height:d,insetInlineStart:e.calc(c).sub(d).div(2).equal(),insetBlockStart:e.calc(c).sub(d).div(2).equal()}}},[`&-lock ${t}-handle`]:{"&::before, &::after":{transition:"none"}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:a,height:a,backgroundColor:e.colorBgElevated,border:`${(0,T.bf)(m)} solid ${e.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[` + ${t}-dot + `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:c,height:c,boxShadow:`0 0 0 ${(0,T.bf)(m)} ${u}`,insetInlineStart:0,insetBlockStart:0},[` + ${t}-mark-text, + ${t}-dot + `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},_=(e,t)=>{let{componentCls:n,railSize:r,handleSize:a,dotSize:o,marginFull:l,calc:i}=e,u=t?"paddingBlock":"paddingInline",s=t?"width":"height",c=t?"height":"width",d=t?"insetBlockStart":"insetInlineStart",f=t?"top":"insetInlineStart",v=i(r).mul(3).sub(a).div(2).equal(),m=i(a).sub(r).div(2).equal(),g=t?{borderWidth:`${(0,T.bf)(m)} 0`,transform:`translateY(${(0,T.bf)(i(m).mul(-1).equal())})`}:{borderWidth:`0 ${(0,T.bf)(m)}`,transform:`translateX(${(0,T.bf)(e.calc(m).mul(-1).equal())})`};return{[u]:r,[c]:i(r).mul(3).equal(),[`${n}-rail`]:{[s]:"100%",[c]:r},[`${n}-track,${n}-tracks`]:{[c]:r},[`${n}-track-draggable`]:Object.assign({},g),[`${n}-handle`]:{[d]:v},[`${n}-mark`]:{insetInlineStart:0,top:0,[f]:i(r).mul(3).add(t?0:l).equal(),[s]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[f]:r,[s]:"100%",[c]:r},[`${n}-dot`]:{position:"absolute",[d]:i(r).sub(o).div(2).equal()}}},G=e=>{let{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},_(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},Y=e=>{let{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},_(e,!1)),{height:"100%"})}};var U=(0,W.I$)("Slider",e=>{let t=(0,V.IX)(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[K(t),G(t),Y(t)]},e=>{let t=e.controlHeightLG/4,n=e.controlHeightSM/2,r=e.lineWidth+1,a=e.lineWidth+1.5,o=e.colorPrimary,l=new q.C(o).setAlpha(.2).toRgbString();return{controlSize:t,railSize:4,handleSize:t,handleSizeHover:n,dotSize:8,handleLineWidth:r,handleLineWidthHover:a,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:o,handleActiveOutlineColor:l,handleColorDisabled:new q.C(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}});let Q=(0,r.createContext)({});function J(){let[e,t]=r.useState(!1),n=r.useRef(),a=()=>{F.Z.cancel(n.current)};return r.useEffect(()=>a,[]),[e,e=>{a(),e?t(e):n.current=(0,F.Z)(()=>{t(e)})}]}var 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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let et=r.forwardRef((e,t)=>{let{prefixCls:n,range:a,className:l,rootClassName:i,style:u,disabled:s,tooltipPrefixCls:c,tipFormatter:d,tooltipVisible:f,getTooltipPopupContainer:v,tooltipPlacement:m,tooltip:g={},onChangeComplete:p}=e,b=ee(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete"]),{vertical:h}=e,{direction:y,slider:C,getPrefixCls:E,getPopupContainer:x}=r.useContext(j.E_),k=r.useContext(H.Z),{handleRender:Z,direction:$}=r.useContext(Q),O="rtl"===($||y),[S,w]=J(),[M,B]=J(),D=Object.assign({},g),{open:I,placement:P,getPopupContainer:N,prefixCls:L,formatter:z}=D,T=null!=I?I:f,q=(S||M)&&!1!==T,X=z||null===z?z:d||null===d?d:e=>"number"==typeof e?e.toString():"",[W,V]=J(),K=(e,t)=>e||(t?O?"left":"right":"top"),_=E("slider",n),[G,Y,et]=U(_),en=o()(l,null==C?void 0:C.className,i,{[`${_}-rtl`]:O,[`${_}-lock`]:W},Y,et);O&&!b.vertical&&(b.reverse=!b.reverse),r.useEffect(()=>{let e=()=>{(0,F.Z)(()=>{B(!1)},1)};return document.addEventListener("mouseup",e),()=>{document.removeEventListener("mouseup",e)}},[]);let er=a&&!T,ea=Z||((e,t)=>{let{index:n}=t,a=e.props;function o(e,t,n){var r,o;n&&(null===(r=b[e])||void 0===r||r.call(b,t)),null===(o=a[e])||void 0===o||o.call(a,t)}let l=Object.assign(Object.assign({},a),{onMouseEnter:e=>{w(!0),o("onMouseEnter",e)},onMouseLeave:e=>{w(!1),o("onMouseLeave",e)},onMouseDown:e=>{B(!0),V(!0),o("onMouseDown",e)},onFocus:e=>{var t;B(!0),null===(t=b.onFocus)||void 0===t||t.call(b,e),o("onFocus",e,!0)},onBlur:e=>{var t;B(!1),null===(t=b.onBlur)||void 0===t||t.call(b,e),o("onBlur",e,!0)}}),i=r.cloneElement(e,l);return er?i:r.createElement(A,Object.assign({},D,{prefixCls:E("tooltip",null!=L?L:c),title:X?X(t.value):"",open:(!!T||q)&&null!==X,placement:K(null!=P?P:m,h),key:n,overlayClassName:`${_}-tooltip`,getPopupContainer:N||v||x}),i)}),eo=er?(e,t)=>{let n=r.cloneElement(e,{style:Object.assign(Object.assign({},e.props.style),{visibility:"hidden"})});return r.createElement(A,Object.assign({},D,{prefixCls:E("tooltip",null!=L?L:c),title:X?X(t.value):"",open:null!==X&&q,placement:K(null!=P?P:m,h),key:"tooltip",overlayClassName:`${_}-tooltip`,getPopupContainer:N||v||x,draggingDelete:t.draggingDelete}),n)}:void 0,el=Object.assign(Object.assign({},null==C?void 0:C.style),u);return G(r.createElement(R,Object.assign({},b,{step:b.step,range:a,className:en,style:el,disabled:null!=s?s:k,ref:t,prefixCls:_,handleRender:ea,activeHandleRender:eo,onChangeComplete:e=>{null==p||p(e),V(!1)}})))});var en=et},42075:function(e,t,n){n.d(t,{Z:function(){return p}});var r=n(67294),a=n(93967),o=n.n(a),l=n(50344),i=n(98065),u=n(53124),s=n(4173);let c=r.createContext({latestIndex:0}),d=c.Provider;var f=e=>{let{className:t,index:n,children:a,split:o,style:l}=e,{latestIndex:i}=r.useContext(c);return null==a?null:r.createElement(r.Fragment,null,r.createElement("div",{className:t,style:l},a),nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let g=r.forwardRef((e,t)=>{var n,a,s;let{getPrefixCls:c,space:g,direction:p}=r.useContext(u.E_),{size:b=null!==(n=null==g?void 0:g.size)&&void 0!==n?n:"small",align:h,className:y,rootClassName:C,children:E,direction:x="horizontal",prefixCls:k,split:Z,style:$,wrap:O=!1,classNames:S,styles:w}=e,M=m(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[B,D]=Array.isArray(b)?b:[b,b],I=(0,i.n)(D),P=(0,i.n)(B),N=(0,i.T)(D),R=(0,i.T)(B),F=(0,l.Z)(E,{keepEmpty:!0}),j=void 0===h&&"horizontal"===x?"center":h,H=c("space",k),[L,z,A]=(0,v.Z)(H),T=o()(H,null==g?void 0:g.className,z,`${H}-${x}`,{[`${H}-rtl`]:"rtl"===p,[`${H}-align-${j}`]:j,[`${H}-gap-row-${D}`]:I,[`${H}-gap-col-${B}`]:P},y,C,A),q=o()(`${H}-item`,null!==(a=null==S?void 0:S.item)&&void 0!==a?a:null===(s=null==g?void 0:g.classNames)||void 0===s?void 0:s.item),X=0,W=F.map((e,t)=>{var n,a;null!=e&&(X=t);let o=(null==e?void 0:e.key)||`${q}-${t}`;return r.createElement(f,{className:q,key:o,index:t,split:Z,style:null!==(n=null==w?void 0:w.item)&&void 0!==n?n:null===(a=null==g?void 0:g.styles)||void 0===a?void 0:a.item},e)}),V=r.useMemo(()=>({latestIndex:X}),[X]);if(0===F.length)return null;let K={};return O&&(K.flexWrap="wrap"),!P&&R&&(K.columnGap=B),!I&&N&&(K.rowGap=D),L(r.createElement("div",Object.assign({ref:t,className:T,style:Object.assign(Object.assign(Object.assign({},K),null==g?void 0:g.style),$)},M),r.createElement(d,{value:V},W)))});g.Compact=s.ZP;var p=g},33507:function(e,t){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`}}})},33297:function(e,t,n){n.d(t,{Fm:function(){return m}});var r=n(25446),a=n(93590);let o=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}}),l=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}}),i=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}}),u=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}}),s=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}}),c=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}}),d=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}}),f=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}}),v={"move-up":{inKeyframes:d,outKeyframes:f},"move-down":{inKeyframes:o,outKeyframes:l},"move-left":{inKeyframes:i,outKeyframes:u},"move-right":{inKeyframes:s,outKeyframes:c}},m=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:l}=v[t];return[(0,a.R)(r,o,l,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2783-afe76fb57ff0a4da.js b/dbgpt/app/static/web/_next/static/chunks/2783-67b811a852a75cad.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/2783-afe76fb57ff0a4da.js rename to dbgpt/app/static/web/_next/static/chunks/2783-67b811a852a75cad.js index bae04f6f2..a808563c1 100644 --- a/dbgpt/app/static/web/_next/static/chunks/2783-afe76fb57ff0a4da.js +++ b/dbgpt/app/static/web/_next/static/chunks/2783-67b811a852a75cad.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2783],{92783:function(e,t,n){n.d(t,{Z:function(){return z}});var i=n(67294),o=n(93967),a=n.n(o),l=n(87462),r=n(97685),s=n(45987),c=n(4942),d=n(1413),u=n(71002),m=n(21770),b=n(42550),f=n(98423),g=n(29372),v=n(8410),h=function(e){return e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null},p=function(e){return void 0!==e?"".concat(e,"px"):void 0};function $(e){var t=e.prefixCls,n=e.containerRef,o=e.value,l=e.getValueIndex,s=e.motionName,c=e.onMotionStart,u=e.onMotionEnd,m=e.direction,f=i.useRef(null),$=i.useState(o),S=(0,r.Z)($,2),C=S[0],w=S[1],O=function(e){var i,o=l(e),a=null===(i=n.current)||void 0===i?void 0:i.querySelectorAll(".".concat(t,"-item"))[o];return(null==a?void 0:a.offsetParent)&&a},k=i.useState(null),E=(0,r.Z)(k,2),x=E[0],Z=E[1],j=i.useState(null),y=(0,r.Z)(j,2),N=y[0],H=y[1];(0,v.Z)(function(){if(C!==o){var e=O(C),t=O(o),n=h(e),i=h(t);w(o),Z(n),H(i),e&&t?c():u()}},[o]);var R=i.useMemo(function(){return"rtl"===m?p(-(null==x?void 0:x.right)):p(null==x?void 0:x.left)},[m,x]),M=i.useMemo(function(){return"rtl"===m?p(-(null==N?void 0:N.right)):p(null==N?void 0:N.left)},[m,N]);return x&&N?i.createElement(g.ZP,{visible:!0,motionName:s,motionAppear:!0,onAppearStart:function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){Z(null),H(null),u()}},function(e,n){var o=e.className,l=e.style,r=(0,d.Z)((0,d.Z)({},l),{},{"--thumb-start-left":R,"--thumb-start-width":p(null==x?void 0:x.width),"--thumb-active-left":M,"--thumb-active-width":p(null==N?void 0:N.width)}),s={ref:(0,b.sQ)(f,n),style:r,className:a()("".concat(t,"-thumb"),o)};return i.createElement("div",s)}):null}var S=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"],C=function(e){var t=e.prefixCls,n=e.className,o=e.disabled,l=e.checked,r=e.label,s=e.title,d=e.value,u=e.onChange;return i.createElement("label",{className:a()(n,(0,c.Z)({},"".concat(t,"-item-disabled"),o))},i.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:o,checked:l,onChange:function(e){o||u(e,d)}}),i.createElement("div",{className:"".concat(t,"-item-label"),title:s},r))},w=i.forwardRef(function(e,t){var n,o,g=e.prefixCls,v=void 0===g?"rc-segmented":g,h=e.direction,p=e.options,w=void 0===p?[]:p,O=e.disabled,k=e.defaultValue,E=e.value,x=e.onChange,Z=e.className,j=void 0===Z?"":Z,y=e.motionName,N=void 0===y?"thumb-motion":y,H=(0,s.Z)(e,S),R=i.useRef(null),M=i.useMemo(function(){return(0,b.sQ)(R,t)},[R,t]),I=i.useMemo(function(){return w.map(function(e){if("object"===(0,u.Z)(e)&&null!==e){var t=function(e){if(void 0!==e.title)return e.title;if("object"!==(0,u.Z)(e.label)){var t;return null===(t=e.label)||void 0===t?void 0:t.toString()}}(e);return(0,d.Z)((0,d.Z)({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}})},[w]),P=(0,m.Z)(null===(n=I[0])||void 0===n?void 0:n.value,{value:E,defaultValue:k}),z=(0,r.Z)(P,2),B=z[0],A=z[1],q=i.useState(!1),D=(0,r.Z)(q,2),V=D[0],X=D[1],L=function(e,t){O||(A(t),null==x||x(t))},W=(0,f.Z)(H,["children"]);return i.createElement("div",(0,l.Z)({},W,{className:a()(v,(o={},(0,c.Z)(o,"".concat(v,"-rtl"),"rtl"===h),(0,c.Z)(o,"".concat(v,"-disabled"),O),o),j),ref:M}),i.createElement("div",{className:"".concat(v,"-group")},i.createElement($,{prefixCls:v,value:B,containerRef:R,motionName:"".concat(v,"-").concat(N),direction:h,getValueIndex:function(e){return I.findIndex(function(t){return t.value===e})},onMotionStart:function(){X(!0)},onMotionEnd:function(){X(!1)}}),I.map(function(e){return i.createElement(C,(0,l.Z)({},e,{key:e.value,prefixCls:v,className:a()(e.className,"".concat(v,"-item"),(0,c.Z)({},"".concat(v,"-item-selected"),e.value===B&&!V)),checked:e.value===B,onChange:L,disabled:!!O||!!e.disabled}))})))}),O=n(53124),k=n(98675),E=n(47648),x=n(14747),Z=n(83559),j=n(87893);function y(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function N(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}let H=Object.assign({overflow:"hidden"},x.vS),R=e=>{let{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),i=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),o=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,x.Wf)(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},N(e)),{color:e.itemSelectedColor}),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:(0,E.bf)(n),padding:`0 ${(0,E.bf)(e.segmentedPaddingHorizontal)}`},H),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},N(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${(0,E.bf)(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:i,lineHeight:(0,E.bf)(i),padding:`0 ${(0,E.bf)(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:o,lineHeight:(0,E.bf)(o),padding:`0 ${(0,E.bf)(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),y(`&-disabled ${t}-item`,e)),y(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}};var M=(0,Z.I$)("Segmented",e=>{let{lineWidth:t,calc:n}=e,i=(0,j.IX)(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()});return[R(i)]},e=>{let{colorTextLabel:t,colorText:n,colorFillSecondary:i,colorBgElevated:o,colorFill:a,lineWidthBold:l,colorBgLayout:r}=e;return{trackPadding:l,trackBg:r,itemColor:t,itemHoverColor:n,itemHoverBg:i,itemSelectedBg:o,itemActiveBg:a,itemSelectedColor:n}}),I=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 P=i.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:l,block:r,options:s=[],size:c="middle",style:d}=e,u=I(e,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:m,direction:b,segmented:f}=i.useContext(O.E_),g=m("segmented",n),[v,h,p]=M(g),$=(0,k.Z)(c),S=i.useMemo(()=>s.map(e=>{if("object"==typeof e&&(null==e?void 0:e.icon)){let{icon:t,label:n}=e,o=I(e,["icon","label"]);return Object.assign(Object.assign({},o),{label:i.createElement(i.Fragment,null,i.createElement("span",{className:`${g}-item-icon`},t),n&&i.createElement("span",null,n))})}return e}),[s,g]),C=a()(o,l,null==f?void 0:f.className,{[`${g}-block`]:r,[`${g}-sm`]:"small"===$,[`${g}-lg`]:"large"===$},h,p),E=Object.assign(Object.assign({},null==f?void 0:f.style),d);return v(i.createElement(w,Object.assign({},u,{className:C,style:E,options:S,ref:t,prefixCls:g,direction:b})))});var z=P}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2783],{92783:function(e,t,n){n.d(t,{Z:function(){return z}});var i=n(67294),o=n(93967),a=n.n(o),l=n(87462),r=n(97685),s=n(45987),c=n(4942),d=n(1413),u=n(71002),m=n(21770),b=n(42550),f=n(98423),g=n(29372),v=n(8410),h=function(e){return e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null},p=function(e){return void 0!==e?"".concat(e,"px"):void 0};function $(e){var t=e.prefixCls,n=e.containerRef,o=e.value,l=e.getValueIndex,s=e.motionName,c=e.onMotionStart,u=e.onMotionEnd,m=e.direction,f=i.useRef(null),$=i.useState(o),S=(0,r.Z)($,2),C=S[0],w=S[1],O=function(e){var i,o=l(e),a=null===(i=n.current)||void 0===i?void 0:i.querySelectorAll(".".concat(t,"-item"))[o];return(null==a?void 0:a.offsetParent)&&a},k=i.useState(null),E=(0,r.Z)(k,2),x=E[0],Z=E[1],j=i.useState(null),y=(0,r.Z)(j,2),N=y[0],H=y[1];(0,v.Z)(function(){if(C!==o){var e=O(C),t=O(o),n=h(e),i=h(t);w(o),Z(n),H(i),e&&t?c():u()}},[o]);var R=i.useMemo(function(){return"rtl"===m?p(-(null==x?void 0:x.right)):p(null==x?void 0:x.left)},[m,x]),M=i.useMemo(function(){return"rtl"===m?p(-(null==N?void 0:N.right)):p(null==N?void 0:N.left)},[m,N]);return x&&N?i.createElement(g.ZP,{visible:!0,motionName:s,motionAppear:!0,onAppearStart:function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){Z(null),H(null),u()}},function(e,n){var o=e.className,l=e.style,r=(0,d.Z)((0,d.Z)({},l),{},{"--thumb-start-left":R,"--thumb-start-width":p(null==x?void 0:x.width),"--thumb-active-left":M,"--thumb-active-width":p(null==N?void 0:N.width)}),s={ref:(0,b.sQ)(f,n),style:r,className:a()("".concat(t,"-thumb"),o)};return i.createElement("div",s)}):null}var S=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"],C=function(e){var t=e.prefixCls,n=e.className,o=e.disabled,l=e.checked,r=e.label,s=e.title,d=e.value,u=e.onChange;return i.createElement("label",{className:a()(n,(0,c.Z)({},"".concat(t,"-item-disabled"),o))},i.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:o,checked:l,onChange:function(e){o||u(e,d)}}),i.createElement("div",{className:"".concat(t,"-item-label"),title:s},r))},w=i.forwardRef(function(e,t){var n,o,g=e.prefixCls,v=void 0===g?"rc-segmented":g,h=e.direction,p=e.options,w=void 0===p?[]:p,O=e.disabled,k=e.defaultValue,E=e.value,x=e.onChange,Z=e.className,j=void 0===Z?"":Z,y=e.motionName,N=void 0===y?"thumb-motion":y,H=(0,s.Z)(e,S),R=i.useRef(null),M=i.useMemo(function(){return(0,b.sQ)(R,t)},[R,t]),I=i.useMemo(function(){return w.map(function(e){if("object"===(0,u.Z)(e)&&null!==e){var t=function(e){if(void 0!==e.title)return e.title;if("object"!==(0,u.Z)(e.label)){var t;return null===(t=e.label)||void 0===t?void 0:t.toString()}}(e);return(0,d.Z)((0,d.Z)({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}})},[w]),P=(0,m.Z)(null===(n=I[0])||void 0===n?void 0:n.value,{value:E,defaultValue:k}),z=(0,r.Z)(P,2),B=z[0],A=z[1],q=i.useState(!1),D=(0,r.Z)(q,2),V=D[0],X=D[1],L=function(e,t){O||(A(t),null==x||x(t))},W=(0,f.Z)(H,["children"]);return i.createElement("div",(0,l.Z)({},W,{className:a()(v,(o={},(0,c.Z)(o,"".concat(v,"-rtl"),"rtl"===h),(0,c.Z)(o,"".concat(v,"-disabled"),O),o),j),ref:M}),i.createElement("div",{className:"".concat(v,"-group")},i.createElement($,{prefixCls:v,value:B,containerRef:R,motionName:"".concat(v,"-").concat(N),direction:h,getValueIndex:function(e){return I.findIndex(function(t){return t.value===e})},onMotionStart:function(){X(!0)},onMotionEnd:function(){X(!1)}}),I.map(function(e){return i.createElement(C,(0,l.Z)({},e,{key:e.value,prefixCls:v,className:a()(e.className,"".concat(v,"-item"),(0,c.Z)({},"".concat(v,"-item-selected"),e.value===B&&!V)),checked:e.value===B,onChange:L,disabled:!!O||!!e.disabled}))})))}),O=n(53124),k=n(98675),E=n(25446),x=n(14747),Z=n(83559),j=n(83262);function y(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function N(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}let H=Object.assign({overflow:"hidden"},x.vS),R=e=>{let{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),i=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),o=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,x.Wf)(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},N(e)),{color:e.itemSelectedColor}),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:(0,E.bf)(n),padding:`0 ${(0,E.bf)(e.segmentedPaddingHorizontal)}`},H),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},N(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${(0,E.bf)(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:i,lineHeight:(0,E.bf)(i),padding:`0 ${(0,E.bf)(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:o,lineHeight:(0,E.bf)(o),padding:`0 ${(0,E.bf)(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),y(`&-disabled ${t}-item`,e)),y(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}};var M=(0,Z.I$)("Segmented",e=>{let{lineWidth:t,calc:n}=e,i=(0,j.IX)(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()});return[R(i)]},e=>{let{colorTextLabel:t,colorText:n,colorFillSecondary:i,colorBgElevated:o,colorFill:a,lineWidthBold:l,colorBgLayout:r}=e;return{trackPadding:l,trackBg:r,itemColor:t,itemHoverColor:n,itemHoverBg:i,itemSelectedBg:o,itemActiveBg:a,itemSelectedColor:n}}),I=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 P=i.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:l,block:r,options:s=[],size:c="middle",style:d}=e,u=I(e,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:m,direction:b,segmented:f}=i.useContext(O.E_),g=m("segmented",n),[v,h,p]=M(g),$=(0,k.Z)(c),S=i.useMemo(()=>s.map(e=>{if("object"==typeof e&&(null==e?void 0:e.icon)){let{icon:t,label:n}=e,o=I(e,["icon","label"]);return Object.assign(Object.assign({},o),{label:i.createElement(i.Fragment,null,i.createElement("span",{className:`${g}-item-icon`},t),n&&i.createElement("span",null,n))})}return e}),[s,g]),C=a()(o,l,null==f?void 0:f.className,{[`${g}-block`]:r,[`${g}-sm`]:"small"===$,[`${g}-lg`]:"large"===$},h,p),E=Object.assign(Object.assign({},null==f?void 0:f.style),d);return v(i.createElement(w,Object.assign({},u,{className:C,style:E,options:S,ref:t,prefixCls:g,direction:b})))});var z=P}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2798.933ade3ab54b0dab.js b/dbgpt/app/static/web/_next/static/chunks/2798.c706cee7f9b852d2.js similarity index 95% rename from dbgpt/app/static/web/_next/static/chunks/2798.933ade3ab54b0dab.js rename to dbgpt/app/static/web/_next/static/chunks/2798.c706cee7f9b852d2.js index cf0124d02..2f3fe70f4 100644 --- a/dbgpt/app/static/web/_next/static/chunks/2798.933ade3ab54b0dab.js +++ b/dbgpt/app/static/web/_next/static/chunks/2798.c706cee7f9b852d2.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2798],{59607:function(e,n,s){s.r(n),s.d(n,{conf:function(){return t},language:function(){return o}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var t={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".ini",escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^\[[^\]]*\]/,"metatag"],[/(^\w+)(\s*)(\=)/,["key","","delimiter"]],{include:"@whitespace"},[/\d+/,"number"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/^\s*[#;].*$/,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2814.5c955c91b45ef6fa.js b/dbgpt/app/static/web/_next/static/chunks/2814.7e402c5cb6276b2a.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/2814.5c955c91b45ef6fa.js rename to dbgpt/app/static/web/_next/static/chunks/2814.7e402c5cb6276b2a.js index 8a828d948..0f3ad1a05 100644 --- a/dbgpt/app/static/web/_next/static/chunks/2814.5c955c91b45ef6fa.js +++ b/dbgpt/app/static/web/_next/static/chunks/2814.7e402c5cb6276b2a.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2814],{12814:function(e,n,t){t.r(n),t.d(n,{conf:function(){return o},language:function(){return r}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var o={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}]},r={defaultToken:"",tokenPostfix:".ecl",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],pounds:"append|break|declare|demangle|end|for|getdatatype|if|inmodule|loop|mangle|onwarning|option|set|stored|uniquename",keywords:["__compressed__","after","all","and","any","as","atmost","before","beginc","best","between","case","cluster","compressed","compression","const","counter","csv","default","descend","embed","encoding","encrypt","end","endc","endembed","endmacro","enum","escape","except","exclusive","expire","export","extend","fail","few","fileposition","first","flat","forward","from","full","function","functionmacro","group","grouped","heading","hole","ifblock","import","in","inner","interface","internal","joined","keep","keyed","last","left","limit","linkcounted","literal","little_endian","load","local","locale","lookup","lzw","macro","many","maxcount","maxlength","min skew","module","mofn","multiple","named","namespace","nocase","noroot","noscan","nosort","not","noxpath","of","onfail","only","opt","or","outer","overwrite","packed","partition","penalty","physicallength","pipe","prefetch","quote","record","repeat","retry","return","right","right1","right2","rows","rowset","scan","scope","self","separator","service","shared","skew","skip","smart","soapaction","sql","stable","store","terminator","thor","threshold","timelimit","timeout","token","transform","trim","type","unicodeorder","unordered","unsorted","unstable","update","use","validate","virtual","whole","width","wild","within","wnotrim","xml","xpath"],functions:["abs","acos","aggregate","allnodes","apply","ascii","asin","assert","asstring","atan","atan2","ave","build","buildindex","case","catch","choose","choosen","choosesets","clustersize","combine","correlation","cos","cosh","count","covariance","cron","dataset","dedup","define","denormalize","dictionary","distribute","distributed","distribution","ebcdic","enth","error","evaluate","event","eventextra","eventname","exists","exp","fail","failcode","failmessage","fetch","fromunicode","fromxml","getenv","getisvalid","global","graph","group","hash","hash32","hash64","hashcrc","hashmd5","having","httpcall","httpheader","if","iff","index","intformat","isvalid","iterate","join","keydiff","keypatch","keyunicode","length","library","limit","ln","loadxml","local","log","loop","map","matched","matchlength","matchposition","matchtext","matchunicode","max","merge","mergejoin","min","nofold","nolocal","nonempty","normalize","nothor","notify","output","parallel","parse","pipe","power","preload","process","project","pull","random","range","rank","ranked","realformat","recordof","regexfind","regexreplace","regroup","rejected","rollup","round","roundup","row","rowdiff","sample","sequential","set","sin","sinh","sizeof","soapcall","sort","sorted","sqrt","stepped","stored","sum","table","tan","tanh","thisnode","topn","tounicode","toxml","transfer","transform","trim","truncate","typeof","ungroup","unicodeorder","variance","wait","which","workunit","xmldecode","xmlencode","xmltext","xmlunicode"],typesint:"integer|unsigned",typesnum:["data","qstring","string","unicode","utf8","varstring","varunicode"],typesone:"ascii|big_endian|boolean|data|decimal|ebcdic|grouped|integer|linkcounted|pattern|qstring|real|record|rule|set of|streamed|string|token|udecimal|unicode|unsigned|utf8|varstring|varunicode",operators:["+","-","/",":=","<","<>","=",">","\\","and","in","not","or"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2892.7eba3977c51fdc0e.js b/dbgpt/app/static/web/_next/static/chunks/2892.294f1662f6fb925d.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/2892.7eba3977c51fdc0e.js rename to dbgpt/app/static/web/_next/static/chunks/2892.294f1662f6fb925d.js index 62dc97231..7719f7208 100644 --- a/dbgpt/app/static/web/_next/static/chunks/2892.7eba3977c51fdc0e.js +++ b/dbgpt/app/static/web/_next/static/chunks/2892.294f1662f6fb925d.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2892],{22892:function(e,t,n){n.r(t),n.d(t,{conf:function(){return o},language:function(){return a}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var o={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}],folding:{offSide:!0}},a={defaultToken:"",tokenPostfix:".pug",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["append","block","case","default","doctype","each","else","extends","for","if","in","include","mixin","typeof","unless","var","when"],tags:["a","abbr","acronym","address","area","article","aside","audio","b","base","basefont","bdi","bdo","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","keygen","kbd","label","li","link","map","mark","menu","meta","meter","nav","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strike","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","tracks","tt","u","ul","video","wbr"],symbols:/[\+\-\*\%\&\|\!\=\/\.\,\:]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)([a-zA-Z_-][\w-]*)/,{cases:{"$2@tags":{cases:{"@eos":["","tag"],"@default":["",{token:"tag",next:"@tag.$1"}]}},"$2@keywords":["",{token:"keyword.$2"}],"@default":["",""]}}],[/^(\s*)(#[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.id"],"@default":["",{token:"tag.id",next:"@tag.$1"}]}}],[/^(\s*)(\.[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.class"],"@default":["",{token:"tag.class",next:"@tag.$1"}]}}],[/^(\s*)(\|.*)$/,""],{include:"@whitespace"},[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],tag:[[/(\.)(\s*$)/,[{token:"delimiter",next:"@blockText.$S2."},""]],[/\s+/,{token:"",next:"@simpleText"}],[/#[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.id",next:"@pop"},"@default":"tag.id"}}],[/\.[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.class",next:"@pop"},"@default":"tag.class"}}],[/\(/,{token:"delimiter.parenthesis",next:"@attributeList"}]],simpleText:[[/[^#]+$/,{token:"",next:"@popall"}],[/[^#]+/,{token:""}],[/(#{)([^}]*)(})/,{cases:{"@eos":["interpolation.delimiter","interpolation",{token:"interpolation.delimiter",next:"@popall"}],"@default":["interpolation.delimiter","interpolation","interpolation.delimiter"]}}],[/#$/,{token:"",next:"@popall"}],[/#/,""]],attributeList:[[/\s+/,""],[/(\w+)(\s*=\s*)("|')/,["attribute.name","delimiter",{token:"attribute.value",next:"@value.$3"}]],[/\w+/,"attribute.name"],[/,/,{cases:{"@eos":{token:"attribute.delimiter",next:"@popall"},"@default":"attribute.delimiter"}}],[/\)$/,{token:"delimiter.parenthesis",next:"@popall"}],[/\)/,{token:"delimiter.parenthesis",next:"@pop"}]],whitespace:[[/^(\s*)(\/\/.*)$/,{token:"comment",next:"@blockText.$1.comment"}],[/[ \t\r\n]+/,""],[//,{token:"comment",next:"@pop"}],[/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:RegExp("^\\s*"),end:RegExp("^\\s*")}}},o={defaultToken:"",tokenPostfix:".md",control:/[\\`*_\[\]{}()#+\-\.!]/,noncontrol:/[^\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,jsescapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],tokenizer:{root:[[/^\s*\|/,"@rematch","@table_header"],[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/,["white","keyword","keyword","keyword"]],[/^\s*(=+|\-+)\s*$/,"keyword"],[/^\s*((\*[ ]?)+)\s*$/,"meta.separator"],[/^\s*>+/,"comment"],[/^\s*([\*\-+:]|\d+\.)\s/,"keyword"],[/^(\t|[ ]{4})[^ ].*$/,"string"],[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/,{token:"string",next:"@codeblock"}],[/^\s*```\s*((?:\w|[\/\-#])+).*$/,{token:"string",next:"@codeblockgh",nextEmbedded:"$1"}],[/^\s*```\s*$/,{token:"string",next:"@codeblock"}],{include:"@linecontent"}],table_header:[{include:"@table_common"},[/[^\|]+/,"keyword.table.header"]],table_body:[{include:"@table_common"},{include:"@linecontent"}],table_common:[[/\s*[\-:]+\s*/,{token:"keyword",switchTo:"table_body"}],[/^\s*\|/,"keyword.table.left"],[/^\s*[^\|]/,"@rematch","@pop"],[/^\s*$/,"@rematch","@pop"],[/\|/,{cases:{"@eos":"keyword.table.right","@default":"keyword.table.middle"}}]],codeblock:[[/^\s*~~~\s*$/,{token:"string",next:"@pop"}],[/^\s*```\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblockgh:[[/```\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/[^`]+/,"variable.source"]],linecontent:[[/&\w+;/,"string.escape"],[/@escapes/,"escape"],[/\b__([^\\_]|@escapes|_(?!_))+__\b/,"strong"],[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/,"strong"],[/\b_[^_]+_\b/,"emphasis"],[/\*([^\\*]|@escapes)+\*/,"emphasis"],[/`([^\\`]|@escapes)+`/,"variable"],[/\{+[^}]+\}+/,"string.target"],[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/,["string.link","","string.link"]],[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/,"string.link"],{include:"html"}],html:[[/<(\w+)\/>/,"tag"],[/<(\w+)(\-|\w)*/,{cases:{"@empty":{token:"tag",next:"@tag.$1"},"@default":{token:"tag",next:"@tag.$1"}}}],[/<\/(\w+)(\-|\w)*\s*>/,{token:"tag"}],[//,"comment","@pop"],[/"],["<",">"],["{{","}}"],["{%","%}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"%",close:"%"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:RegExp(`<(?!(?:${c.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:u.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(?!(?:${c.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:u.languages.IndentAction.Indent}}]},p={defaultToken:"",tokenPostfix:"",builtinTags:["if","else","elseif","endif","render","assign","capture","endcapture","case","endcase","comment","endcomment","cycle","decrement","for","endfor","include","increment","layout","raw","endraw","render","tablerow","endtablerow","unless","endunless"],builtinFilters:["abs","append","at_least","at_most","capitalize","ceil","compact","date","default","divided_by","downcase","escape","escape_once","first","floor","join","json","last","lstrip","map","minus","modulo","newline_to_br","plus","prepend","remove","remove_first","replace","replace_first","reverse","round","rstrip","size","slice","sort","sort_natural","split","strip","strip_html","strip_newlines","times","truncate","truncatewords","uniq","upcase","url_decode","url_encode","where"],constants:["true","false"],operators:["==","!=",">","<",">=","<="],symbol:/[=>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[//,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],liquidState:[[/\{\{/,"delimiter.output.liquid"],[/\}\}/,{token:"delimiter.output.liquid",switchTo:"@$S2.$S3"}],[/\{\%/,"delimiter.tag.liquid"],[/raw\s*\%\}/,"delimiter.tag.liquid","@liquidRaw"],[/\%\}/,{token:"delimiter.tag.liquid",switchTo:"@$S2.$S3"}],{include:"liquidRoot"}],liquidRaw:[[/^(?!\{\%\s*endraw\s*\%\}).+/],[/\{\%/,"delimiter.tag.liquid"],[/@identifier/],[/\%\}/,{token:"delimiter.tag.liquid",next:"@root"}]],liquidRoot:[[/\d+(\.\d+)?/,"number.liquid"],[/"[^"]*"/,"string.liquid"],[/'[^']*'/,"string.liquid"],[/\s+/],[/@symbol/,{cases:{"@operators":"operator.liquid","@default":""}}],[/\./],[/@identifier/,{cases:{"@constants":"keyword.liquid","@builtinFilters":"predefined.liquid","@builtinTags":"predefined.liquid","@default":"variable.liquid"}}],[/[^}|%]/,"variable.liquid"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4028.dcd560eee1f8f949.js b/dbgpt/app/static/web/_next/static/chunks/4028.dcd560eee1f8f949.js deleted file mode 100644 index 0b48ee6ac..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/4028.dcd560eee1f8f949.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4028],{94028:function(e,t,i){i.r(t),i.d(t,{conf:function(){return m},language:function(){return p}});var n,r=i(5036),o=Object.defineProperty,l=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,s=(e,t,i,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))d.call(e,r)||r===i||o(e,r,{get:()=>t[r],enumerable:!(n=l(t,r))||n.enumerable});return e},u={};s(u,r,"default"),n&&s(n,r,"default");var c=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],m={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,brackets:[[""],["<",">"],["{{","}}"],["{%","%}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"%",close:"%"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:RegExp(`<(?!(?:${c.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:u.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(?!(?:${c.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:u.languages.IndentAction.Indent}}]},p={defaultToken:"",tokenPostfix:"",builtinTags:["if","else","elseif","endif","render","assign","capture","endcapture","case","endcase","comment","endcomment","cycle","decrement","for","endfor","include","increment","layout","raw","endraw","render","tablerow","endtablerow","unless","endunless"],builtinFilters:["abs","append","at_least","at_most","capitalize","ceil","compact","date","default","divided_by","downcase","escape","escape_once","first","floor","join","json","last","lstrip","map","minus","modulo","newline_to_br","plus","prepend","remove","remove_first","replace","replace_first","reverse","round","rstrip","size","slice","sort","sort_natural","split","strip","strip_html","strip_newlines","times","truncate","truncatewords","uniq","upcase","url_decode","url_encode","where"],constants:["true","false"],operators:["==","!=",">","<",">=","<="],symbol:/[=>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[//,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],liquidState:[[/\{\{/,"delimiter.output.liquid"],[/\}\}/,{token:"delimiter.output.liquid",switchTo:"@$S2.$S3"}],[/\{\%/,"delimiter.tag.liquid"],[/raw\s*\%\}/,"delimiter.tag.liquid","@liquidRaw"],[/\%\}/,{token:"delimiter.tag.liquid",switchTo:"@$S2.$S3"}],{include:"liquidRoot"}],liquidRaw:[[/^(?!\{\%\s*endraw\s*\%\}).+/],[/\{\%/,"delimiter.tag.liquid"],[/@identifier/],[/\%\}/,{token:"delimiter.tag.liquid",next:"@root"}]],liquidRoot:[[/\d+(\.\d+)?/,"number.liquid"],[/"[^"]*"/,"string.liquid"],[/'[^']*'/,"string.liquid"],[/\s+/],[/@symbol/,{cases:{"@operators":"operator.liquid","@default":""}}],[/\./],[/@identifier/,{cases:{"@constants":"keyword.liquid","@builtinFilters":"predefined.liquid","@builtinTags":"predefined.liquid","@default":"variable.liquid"}}],[/[^}|%]/,"variable.liquid"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4035-e44efbdb196bb006.js b/dbgpt/app/static/web/_next/static/chunks/4035-e44efbdb196bb006.js new file mode 100644 index 000000000..29b549e21 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/4035-e44efbdb196bb006.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4035],{90494:function(t,n){"use strict";var e=function(){function t(){this._events={}}return t.prototype.on=function(t,n,e){return this._events[t]||(this._events[t]=[]),this._events[t].push({callback:n,once:!!e}),this},t.prototype.once=function(t,n){return this.on(t,n,!0)},t.prototype.emit=function(t){for(var n=this,e=[],r=1;rc&&(c=d)}for(var v=Math.atan(r/(e*Math.tan(i))),m=1/0,g=-1/0,y=[a,o],l=-(2*Math.PI);l<=2*Math.PI;l+=Math.PI){var b=v+l;ag&&(g=x)}return{x:s,y:m,width:c-s,height:g-m}}function c(t,n,e,i,a,u){var s=-1,c=1/0,h=[e,i],l=20;u&&u>200&&(l=u/10);for(var f=1/l,p=f/10,d=0;d<=l;d++){var v=d*f,m=[a.apply(void 0,(0,r.ev)([],(0,r.CR)(t.concat([v])),!1)),a.apply(void 0,(0,r.ev)([],(0,r.CR)(n.concat([v])),!1))],g=o(h[0],h[1],m[0],m[1]);g=0&&g=0&&a<=1&&l.push(a);else{var f=c*c-4*s*h;(0,i.Z)(f,0)?l.push(-c/(2*s)):f>0&&(a=(-c+(u=Math.sqrt(f)))/(2*s),o=(-c-u)/(2*s),a>=0&&a<=1&&l.push(a),o>=0&&o<=1&&l.push(o))}return l}function v(t,n,e,r,i,a,o,s){for(var c=[t,o],h=[n,s],l=d(t,e,i,o),f=d(n,r,a,s),v=0;v=0?[a]:[]}function M(t,n,e,r,i,a){var o=b(t,e,i)[0],s=b(n,r,a)[0],c=[t,i],h=[n,a];return void 0!==o&&c.push(y(t,e,i,o)),void 0!==s&&h.push(y(n,r,a,s)),u(c,h)}function x(t,n,e,r,i,a,u,s){var h=c([t,e,i],[n,r,a],u,s,y);return o(h.x,h.y,u,s)}},98875:function(t,n,e){"use strict";e.d(n,{S:function(){return u}});var r=e(97582),i=e(4559),a=e(44078),o=function(){function t(t){this.dragndropPluginOptions=t}return t.prototype.apply=function(n){var e=this,i=n.renderingService,o=n.renderingContext.root.ownerDocument,u=o.defaultView,s=function(t){var n=t.target,i=n===o,s=i&&e.dragndropPluginOptions.isDocumentDraggable?o:n.closest&&n.closest("[draggable=true]");if(s){var c=!1,h=t.timeStamp,l=[t.clientX,t.clientY],f=null,p=[t.clientX,t.clientY],d=function(t){return(0,r.mG)(e,void 0,void 0,function(){var e,u,d,v,m,g;return(0,r.Jh)(this,function(r){switch(r.label){case 0:if(!c){if(e=t.timeStamp-h,u=(0,a.y)([t.clientX,t.clientY],l),e<=this.dragndropPluginOptions.dragstartTimeThreshold||u<=this.dragndropPluginOptions.dragstartDistanceThreshold)return[2];t.type="dragstart",s.dispatchEvent(t),c=!0}if(t.type="drag",t.dx=t.clientX-p[0],t.dy=t.clientY-p[1],s.dispatchEvent(t),p=[t.clientX,t.clientY],i)return[3,2];return d="pointer"===this.dragndropPluginOptions.overlap?[t.canvasX,t.canvasY]:n.getBounds().center,[4,o.elementsFromPoint(d[0],d[1])];case 1:f!==(g=(null==(m=(v=r.sent())[v.indexOf(n)+1])?void 0:m.closest("[droppable=true]"))||(this.dragndropPluginOptions.isDocumentDroppable?o:null))&&(f&&(t.type="dragleave",t.target=f,f.dispatchEvent(t)),g&&(t.type="dragenter",t.target=g,g.dispatchEvent(t)),(f=g)&&(t.type="dragover",t.target=f,f.dispatchEvent(t))),r.label=2;case 2:return[2]}})})};u.addEventListener("pointermove",d);var v=function(t){if(c){t.detail={preventClick:!0};var n=t.clone();f&&(n.type="drop",n.target=f,f.dispatchEvent(n)),n.type="dragend",s.dispatchEvent(n),c=!1}u.removeEventListener("pointermove",d)};n.addEventListener("pointerup",v,{once:!0}),n.addEventListener("pointerupoutside",v,{once:!0})}};i.hooks.init.tap(t.tag,function(){u.addEventListener("pointerdown",s)}),i.hooks.destroy.tap(t.tag,function(){u.removeEventListener("pointerdown",s)})},t.tag="Dragndrop",t}(),u=function(t){function n(n){void 0===n&&(n={});var e=t.call(this)||this;return e.options=n,e.name="dragndrop",e}return(0,r.ZT)(n,t),n.prototype.init=function(){this.addRenderingPlugin(new o((0,r.pi)({overlap:"pointer",isDocumentDraggable:!1,isDocumentDroppable:!1,dragstartDistanceThreshold:0,dragstartTimeThreshold:0},this.options)))},n.prototype.destroy=function(){this.removeAllRenderingPlugins()},n.prototype.setOptions=function(t){Object.assign(this.plugins[0].dragndropPluginOptions,t)},n}(i.F6)},1242:function(t,n,e){"use strict";e.d(n,{mN:function(){return a.mN},ux:function(){return a.ux},Xz:function(){return a.Xz},$6:function(){return a.$6},Cd:function(){return a.Cd},b_:function(){return a.b_},Aw:function(){return a.Aw},s$:function(){return a.s$},BB:function(){return a.BB},Dk:function(){return a.Dk},Pj:function(){return a.Pj},nR:function(){return a.nR},ZA:function(){return a.ZA},k9:function(){return a.k9},Ee:function(){return a.Ee},x1:function(){return a.x1},y$:function(){return a.y$},mg:function(){return a.mg},aH:function(){return a.aH},h0:function(){return a.h0},UL:function(){return a.UL},bn:function(){return a.bn},xv:function(){return a.xv},YR:function(){return a.YR},lu:function(){return a.lu},GZ:function(){return a.GZ}});var r,i,a=e(4559),o=e(97582),u=e(76714),s=e(25897),c=e(32945),h=e(85975),l=e(77160),f=function(t){function n(){var n=t.apply(this,(0,o.ev)([],(0,o.CR)(arguments),!1))||this;return n.landmarks=[],n}return(0,o.ZT)(n,t),n.prototype.rotate=function(t,n,e){if(this.relElevation=(0,a._O)(n),this.relAzimuth=(0,a._O)(t),this.relRoll=(0,a._O)(e),this.elevation+=this.relElevation,this.azimuth+=this.relAzimuth,this.roll+=this.relRoll,this.type===a.iM.EXPLORING){var r=c.yY(c.Ue(),[1,0,0],(0,a.Vl)((this.rotateWorld?1:-1)*this.relElevation)),i=c.yY(c.Ue(),[0,1,0],(0,a.Vl)((this.rotateWorld?1:-1)*this.relAzimuth)),o=c.yY(c.Ue(),[0,0,1],(0,a.Vl)(this.relRoll)),u=c.Jp(c.Ue(),i,r);u=c.Jp(c.Ue(),u,o);var s=h.fromQuat(h.create(),u);h.translate(this.matrix,this.matrix,[0,0,-this.distance]),h.multiply(this.matrix,this.matrix,s),h.translate(this.matrix,this.matrix,[0,0,this.distance])}else{if(Math.abs(this.elevation)>90)return this;this.computeMatrix()}return this._getAxes(),this.type===a.iM.ORBITING||this.type===a.iM.EXPLORING?this._getPosition():this.type===a.iM.TRACKING&&this._getFocalPoint(),this._update(),this},n.prototype.pan=function(t,n){var e=(0,a.O4)(t,n,0),r=l.d9(this.position);return l.IH(r,r,l.bA(l.Ue(),this.right,e[0])),l.IH(r,r,l.bA(l.Ue(),this.up,e[1])),this._setPosition(r),this.triggerUpdate(),this},n.prototype.dolly=function(t){var n=this.forward,e=l.d9(this.position),r=t*this.dollyingStep;return r=Math.max(Math.min(this.distance+t*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,e[0]+=r*n[0],e[1]+=r*n[1],e[2]+=r*n[2],this._setPosition(e),this.type===a.iM.ORBITING||this.type===a.iM.EXPLORING?this._getDistance():this.type===a.iM.TRACKING&&l.IH(this.focalPoint,e,this.distanceVector),this.triggerUpdate(),this},n.prototype.cancelLandmarkAnimation=function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)},n.prototype.createLandmark=function(t,n){void 0===n&&(n={});var e,r,i,o,u=n.position,s=void 0===u?this.position:u,c=n.focalPoint,f=void 0===c?this.focalPoint:c,p=n.roll,d=n.zoom,v=new a.GZ.CameraContribution;v.setType(this.type,void 0),v.setPosition(s[0],null!==(e=s[1])&&void 0!==e?e:this.position[1],null!==(r=s[2])&&void 0!==r?r:this.position[2]),v.setFocalPoint(f[0],null!==(i=f[1])&&void 0!==i?i:this.focalPoint[1],null!==(o=f[2])&&void 0!==o?o:this.focalPoint[2]),v.setRoll(null!=p?p:this.roll),v.setZoom(null!=d?d:this.zoom);var m={name:t,matrix:h.clone(v.getWorldTransform()),right:l.d9(v.right),up:l.d9(v.up),forward:l.d9(v.forward),position:l.d9(v.getPosition()),focalPoint:l.d9(v.getFocalPoint()),distanceVector:l.d9(v.getDistanceVector()),distance:v.getDistance(),dollyingStep:v.getDollyingStep(),azimuth:v.getAzimuth(),elevation:v.getElevation(),roll:v.getRoll(),relAzimuth:v.relAzimuth,relElevation:v.relElevation,relRoll:v.relRoll,zoom:v.getZoom()};return this.landmarks.push(m),m},n.prototype.gotoLandmark=function(t,n){var e=this;void 0===n&&(n={});var r=(0,u.Z)(t)?this.landmarks.find(function(n){return n.name===t}):t;if(r){var i,o=(0,s.Z)(n)?{duration:n}:n,c=o.easing,h=void 0===c?"linear":c,f=o.duration,p=void 0===f?100:f,d=o.easingFunction,v=o.onfinish,m=void 0===v?void 0:v,g=o.onframe,y=void 0===g?void 0:g;this.cancelLandmarkAnimation();var b=r.position,M=r.focalPoint,x=r.zoom,w=r.roll,_=(void 0===d?void 0:d)||a.GZ.EasingFunction(h),k=function(){e.setFocalPoint(M),e.setPosition(b),e.setRoll(w),e.setZoom(x),e.computeMatrix(),e.triggerUpdate(),null==m||m()};if(0===p)return k();var T=function(t){void 0===i&&(i=t);var n=t-i;if(n>=p){k();return}var r=_(n/p),a=l.Ue(),o=l.Ue(),u=1,s=0;if(l.t7(a,e.focalPoint,M,r),l.t7(o,e.position,b,r),s=e.roll*(1-r)+w*r,u=e.zoom*(1-r)+x*r,e.setFocalPoint(a),e.setPosition(o),e.setRoll(s),e.setZoom(u),l.TK(a,M)+l.TK(o,b)<=.01&&void 0==x&&void 0==w)return k();e.computeMatrix(),e.triggerUpdate(),n0){var u,s=(u=e[o-1],u===t?u:i&&(u===i||u===r)?i:null);if(s){e[o-1]=s;return}}else n=this.observer,b.push(n),y||(y=!0,void 0!==a.GZ.globalThis?a.GZ.globalThis.setTimeout(M):M());e[o]=t},t.prototype.addListeners=function(){this.addListeners_(this.target)},t.prototype.addListeners_=function(t){var n=this.options;n.attributes&&t.addEventListener(a.Dk.ATTR_MODIFIED,this,!0),n.childList&&t.addEventListener(a.Dk.INSERTED,this,!0),(n.childList||n.subtree)&&t.addEventListener(a.Dk.REMOVED,this,!0)},t.prototype.removeListeners=function(){this.removeListeners_(this.target)},t.prototype.removeListeners_=function(t){var n=this.options;n.attributes&&t.removeEventListener(a.Dk.ATTR_MODIFIED,this,!0),n.childList&&t.removeEventListener(a.Dk.INSERTED,this,!0),(n.childList||n.subtree)&&t.removeEventListener(a.Dk.REMOVED,this,!0)},t.prototype.removeTransientObservers=function(){var t=this.transientObservedNodes;this.transientObservedNodes=[],t.forEach(function(t){this.removeListeners_(t);for(var n=v.get(t),e=0;e0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalDuration",{get:function(){return this._totalDuration},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_needsTick",{get:function(){return this.pending||"running"===this.playState||!this._finishedFlag},enumerable:!1,configurable:!0}),t.prototype.updatePromises=function(){var t=this.oldPlayState,n=this.pending?"pending":this.playState;return this.readyPromise&&n!==t&&("idle"===n?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===t?this.resolveReadyPromise():"pending"===n&&(this.readyPromise=void 0)),this.finishedPromise&&n!==t&&("idle"===n?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===n?this.resolveFinishedPromise():"finished"===t&&(this.finishedPromise=void 0)),this.oldPlayState=n,this.readyPromise||this.finishedPromise},t.prototype.play=function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()},t.prototype.pause=function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()},t.prototype.finish=function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())},t.prototype.cancel=function(){var t=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var n=new _(null,this,this.currentTime,null);setTimeout(function(){t.oncancel(n)})}},t.prototype.reverse=function(){this.updatePromises();var t=this.currentTime;this.playbackRate*=-1,this.play(),null!==t&&(this.currentTime=t),this.updatePromises()},t.prototype.updatePlaybackRate=function(t){this.playbackRate=t},t.prototype.targetAnimations=function(){var t;return(null===(t=this.effect)||void 0===t?void 0:t.target).getAnimations()},t.prototype.markTarget=function(){var t=this.targetAnimations();-1===t.indexOf(this)&&t.push(this)},t.prototype.unmarkTarget=function(){var t=this.targetAnimations(),n=t.indexOf(this);-1!==n&&t.splice(n,1)},t.prototype.tick=function(t,n){this._idle||this._paused||(null===this._startTime?n&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((t-this._startTime)*this.playbackRate)),n&&(this.currentTimePending=!1,this.fireEvents(t))},t.prototype.rewind=function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")},t.prototype.persist=function(){throw Error(a.jf)},t.prototype.addEventListener=function(t,n,e){throw Error(a.jf)},t.prototype.removeEventListener=function(t,n,e){throw Error(a.jf)},t.prototype.dispatchEvent=function(t){throw Error(a.jf)},t.prototype.commitStyles=function(){throw Error(a.jf)},t.prototype.ensureAlive=function(){var t,n;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null===(t=this.effect)||void 0===t?void 0:t.update(-1)):this._inEffect=!!(null===(n=this.effect)||void 0===n?void 0:n.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))},t.prototype.tickCurrentTime=function(t,n){t!==this._currentTime&&(this._currentTime=t,this._isFinished&&!n&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())},t.prototype.fireEvents=function(t){var n=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var e=new _(null,this,this.currentTime,t);setTimeout(function(){n.onfinish&&n.onfinish(e)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new _(null,this,this.currentTime,t);this.onframe(r)}this._finishedFlag=!1}},t}(),A="function"==typeof Float32Array,Z=function(t,n){return 1-3*n+3*t},P=function(t,n){return 3*n-6*t},N=function(t){return 3*t},O=function(t,n,e){return((Z(n,e)*t+P(n,e))*t+N(n))*t},E=function(t,n,e){return 3*Z(n,e)*t*t+2*P(n,e)*t+N(n)},I=function(t,n,e,r,i){var a,o,u=0;do(a=O(o=n+(e-n)/2,r,i)-t)>0?e=o:n=o;while(Math.abs(a)>1e-7&&++u<10);return o},R=function(t,n,e,r){for(var i=0;i<4;++i){var a=E(n,e,r);if(0===a)break;var o=O(n,e,r)-t;n-=o/a}return n},F=function(t,n,e,r){if(!(0<=t&&t<=1&&0<=e&&e<=1))throw Error("bezier x values must be in [0, 1] range");if(t===n&&e===r)return function(t){return t};for(var i=A?new Float32Array(11):Array(11),a=0;a<11;++a)i[a]=O(.1*a,t,e);var o=function(n){for(var r=0,a=1;10!==a&&i[a]<=n;++a)r+=.1;var o=r+(n-i[--a])/(i[a+1]-i[a])*.1,u=E(o,t,e);return u>=.001?R(n,o,t,e):0===u?o:I(n,r,r+.1,t,e)};return function(t){return 0===t||1===t?t:O(o(t),n,r)}},C=function(t){return Math.pow(t,2)},D=function(t){return Math.pow(t,3)},q=function(t){return Math.pow(t,4)},S=function(t){return Math.pow(t,5)},j=function(t){return Math.pow(t,6)},L=function(t){return 1-Math.cos(t*Math.PI/2)},W=function(t){return 1-Math.sqrt(1-t*t)},z=function(t){return t*t*(3*t-2)},V=function(t){for(var n,e=4;t<((n=Math.pow(2,--e))-1)/11;);return 1/Math.pow(4,3-e)-7.5625*Math.pow((3*n-2)/22-t,2)},G=function(t,n){void 0===n&&(n=[]);var e=(0,o.CR)(n,2),r=e[0],i=e[1],a=(0,x.Z)(Number(void 0===r?1:r),1,10),u=(0,x.Z)(Number(void 0===i?.5:i),.1,2);return 0===t||1===t?t:-a*Math.pow(2,10*(t-1))*Math.sin((t-1-u/(2*Math.PI)*Math.asin(1/a))*(2*Math.PI)/u)},K=function(t,n,e){void 0===n&&(n=[]);var r=(0,o.CR)(n,4),i=r[0],a=void 0===i?1:i,u=r[1],s=void 0===u?100:u,c=r[2],h=void 0===c?10:c,l=r[3],f=void 0===l?0:l;a=(0,x.Z)(a,.1,1e3),s=(0,x.Z)(s,.1,1e3),h=(0,x.Z)(h,.1,1e3),f=(0,x.Z)(f,.1,1e3);var p=Math.sqrt(s/a),d=h/(2*Math.sqrt(s*a)),v=d<1?p*Math.sqrt(1-d*d):0,m=d<1?(d*p+-f)/v:-f+p,g=e?e*t/1e3:t;return(g=d<1?Math.exp(-g*d*p)*(1*Math.cos(v*g)+m*Math.sin(v*g)):(1+m*g)*Math.exp(-g*p),0===t||1===t)?t:1-g},U=function(t,n){void 0===n&&(n=[]);var e=(0,o.CR)(n,2),r=e[0],i=void 0===r?10:r;return("start"==e[1]?Math.ceil:Math.floor)((0,x.Z)(t,0,1)*i)/i},$=function(t,n){void 0===n&&(n=[]);var e=(0,o.CR)(n,4);return F(e[0],e[1],e[2],e[3])(t)},H=F(.42,0,1,1),B=function(t){return function(n,e,r){return void 0===e&&(e=[]),1-t(1-n,e,r)}},X=function(t){return function(n,e,r){return void 0===e&&(e=[]),n<.5?t(2*n,e,r)/2:1-t(-2*n+2,e,r)/2}},Y=function(t){return function(n,e,r){return void 0===e&&(e=[]),n<.5?(1-t(1-2*n,e,r))/2:(t(2*n-1,e,r)+1)/2}},J={steps:U,"step-start":function(t){return U(t,[1,"start"])},"step-end":function(t){return U(t,[1,"end"])},linear:function(t){return t},"cubic-bezier":$,ease:function(t){return $(t,[.25,.1,.25,1])},in:H,out:B(H),"in-out":X(H),"out-in":Y(H),"in-quad":C,"out-quad":B(C),"in-out-quad":X(C),"out-in-quad":Y(C),"in-cubic":D,"out-cubic":B(D),"in-out-cubic":X(D),"out-in-cubic":Y(D),"in-quart":q,"out-quart":B(q),"in-out-quart":X(q),"out-in-quart":Y(q),"in-quint":S,"out-quint":B(S),"in-out-quint":X(S),"out-in-quint":Y(S),"in-expo":j,"out-expo":B(j),"in-out-expo":X(j),"out-in-expo":Y(j),"in-sine":L,"out-sine":B(L),"in-out-sine":X(L),"out-in-sine":Y(L),"in-circ":W,"out-circ":B(W),"in-out-circ":X(W),"out-in-circ":Y(W),"in-back":z,"out-back":B(z),"in-out-back":X(z),"out-in-back":Y(z),"in-bounce":V,"out-bounce":B(V),"in-out-bounce":X(V),"out-in-bounce":Y(V),"in-elastic":G,"out-elastic":B(G),"in-out-elastic":X(G),"out-in-elastic":Y(G),spring:K,"spring-in":K,"spring-out":B(K),"spring-in-out":X(K),"spring-out-in":Y(K)},Q=function(t){var n;return("-"===(n=(n=t).replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())})).charAt(0)?n.substring(1):n).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},tt=function(t){return t};function tn(t,n){return function(e){if(e>=1)return 1;var r=1/t;return(e+=n*r)-e%r}}var te="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",tr=RegExp("cubic-bezier\\("+te+","+te+","+te+","+te+"\\)"),ti=/steps\(\s*(\d+)\s*\)/,ta=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function to(t){var n=tr.exec(t);if(n)return F.apply(void 0,(0,o.ev)([],(0,o.CR)(n.slice(1).map(Number)),!1));var e=ti.exec(t);if(e)return tn(Number(e[1]),0);var r=ta.exec(t);return r?tn(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):J[Q(t)]||J.linear}function tu(t){return"offset"!==t&&"easing"!==t&&"composite"!==t&&"computedOffset"!==t}var ts=function(t,n,e){return function(r){var i=function t(n,e,r){if("number"==typeof n&&"number"==typeof e)return n*(1-r)+e*r;if("boolean"==typeof n&&"boolean"==typeof e||"string"==typeof n&&"string"==typeof e)return r<.5?n:e;if(Array.isArray(n)&&Array.isArray(e)){for(var i=n.length,a=e.length,o=Math.max(i,a),u=[],s=0;s1)throw Error("Keyframe offsets must be between 0 and 1.");e.computedOffset=i}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(i))throw Error("".concat(i," compositing is not supported"));e[r]=i}return void 0===e.offset&&(e.offset=null),void 0===e.easing&&(e.easing=(null==n?void 0:n.easing)||"linear"),void 0===e.composite&&(e.composite="auto"),e}),r=!0,i=-1/0,a=0;a=0&&1>=Number(t.offset)}),r||function(){var t,n,r=e.length;e[r-1].computedOffset=Number(null!==(t=e[r-1].offset)&&void 0!==t?t:1),r>1&&(e[0].computedOffset=Number(null!==(n=e[0].offset)&&void 0!==n?n:0));for(var i=0,a=Number(e[0].computedOffset),o=1;o=t.applyFrom&&n=Math.min(e.delay+t+e.endDelay,r)?2:3}(t,n,e),h=function(t,n,e,r,i){switch(r){case 1:if("backwards"===n||"both"===n)return 0;return null;case 3:return e-i;case 2:if("forwards"===n||"both"===n)return t;return null;case 0:return null}}(t,e.fill,n,c,e.delay);if(null===h)return null;var l="auto"===e.duration?0:e.duration,f=(r=e.iterations,i=e.iterationStart,0===l?1!==c&&(i+=r):i+=h/l,i),p=(a=e.iterationStart,o=e.iterations,0==(u=f===1/0?a%1:f%1)&&2===c&&0!==o&&(0!==h||0===l)&&(u=1),u),d=(s=e.iterations,2===c&&s===1/0?1/0:1===p?Math.floor(f)-1:Math.floor(f)),v=function(t,n,e){var r=t;if("normal"!==t&&"reverse"!==t){var i=n;"alternate-reverse"===t&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?e:1-e}(e.direction,d,p);return e.currentIteration=d,e.progress=v,e.easingFunction(v)}(this.timing.activeDuration,t,this.timing),null!==this.timeFraction)},t.prototype.getKeyframes=function(){return this.normalizedKeyframes},t.prototype.setKeyframes=function(t){this.normalizedKeyframes=th(t)},t.prototype.getComputedTiming=function(){return this.computedTiming},t.prototype.getTiming=function(){return this.timing},t.prototype.updateTiming=function(t){var n=this;Object.keys(t||{}).forEach(function(e){n.timing[e]=t[e]})},t}();function td(t,n){return Number(t.id)-Number(n.id)}var tv=function(){function t(t){var n=this;this.document=t,this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(t){n.currentTime=t,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(t){var e=n.rafCallbacks;n.rafCallbacks=[],t0?t:n}getPaddingOuter(){let{padding:t,paddingOuter:n}=this.options;return t>0?t:n}rescale(){super.rescale();let{align:t,domain:n,range:e,round:r,flex:i}=this.options,{adjustedRange:o,valueBandWidth:u,valueStep:s}=function(t){var n;let e,r;let{domain:i}=t,o=i.length;if(0===o)return{valueBandWidth:void 0,valueStep:void 0,adjustedRange:[]};let u=!!(null===(n=t.flex)||void 0===n?void 0:n.length);if(u)return function(t){let{domain:n,range:e,paddingOuter:r,paddingInner:i,flex:o,round:u,align:s}=t,c=n.length,h=function(t,n){let e=t.length,r=n-e;return r>0?[...t,...Array(r).fill(1)]:r<0?t.slice(0,n):t}(o,c),[l,f]=e,p=f-l,d=2/c*r+1-1/c*i,v=p/d,m=v*i/c,g=v-c*m,y=function(t){let n=Math.min(...t);return t.map(t=>t/n)}(h),b=y.reduce((t,n)=>t+n),M=g/b,x=new a(n.map((t,n)=>{let e=y[n]*M;return[t,u?Math.floor(e):e]})),w=new a(n.map((t,n)=>{let e=y[n]*M,r=e+m;return[t,u?Math.floor(r):r]})),_=Array.from(w.values()).reduce((t,n)=>t+n),k=p-(_-_/c*i),T=l+k*s,A=u?Math.round(T):T,Z=Array(c);for(let t=0;tp+n*e);return{valueStep:e,valueBandWidth:r,adjustedRange:g}}({align:t,range:e,round:r,flex:i,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:n});this.valueStep=s,this.valueBandWidth=u,this.adjustedRange=o}}},74271:function(t,n,e){"use strict";e.d(n,{X:function(){return i}});var r=e(83787);class i{constructor(t){this.options=(0,r.Z)({},this.getDefaultOptions()),this.update(t)}getOptions(){return this.options}update(t={}){this.options=(0,r.Z)({},this.options,t),this.rescale(t)}rescale(t){}}},63025:function(t,n,e){"use strict";e.d(n,{V:function(){return d}});var r=e(67128),i=e(74271),a=e(34199),o=e(99871),u=e(33338),s=e(25338),c=e(13393),h=e(82569);let l=(t,n,e)=>{let r,i;let[u,s]=t,[c,h]=n;return u{let r=Math.min(t.length,n.length)-1,i=Array(r),s=Array(r),c=t[0]>t[r],h=c?[...t].reverse():t,l=c?[...n].reverse():n;for(let t=0;t{let e=(0,u.b)(t,n,1,r)-1,a=i[e],c=s[e];return(0,o.q)(c,a)(n)}},p=(t,n,e,r)=>{let i=Math.min(t.length,n.length),a=r?s.lk:e;return(i>2?f:l)(t,n,a)};class d extends i.X{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:s.fv,tickCount:5}}map(t){return(0,c.J)(t)?this.output(t):this.options.unknown}invert(t){return(0,c.J)(t)?this.input(t):this.options.unknown}nice(){if(!this.options.nice)return;let[t,n,e,...r]=this.getTickMethodOptions();this.options.domain=this.chooseNice()(t,n,e,...r)}getTicks(){let{tickMethod:t}=this.options,[n,e,r,...i]=this.getTickMethodOptions();return t(n,e,r,...i)}getTickMethodOptions(){let{domain:t,tickCount:n}=this.options,e=t[0],r=t[t.length-1];return[e,r,n]}chooseNice(){return h.n}rescale(){this.nice();let[t,n]=this.chooseTransforms();this.composeOutput(t,this.chooseClamp(t)),this.composeInput(t,n,this.chooseClamp(n))}chooseClamp(t){let{clamp:n,range:e}=this.options,i=this.options.domain.map(t),a=Math.min(i.length,e.length);return n?function(t,n){let e=nn?t:n;return t=>Math.min(Math.max(e,t),r)}(i[0],i[a-1]):r.Z}composeOutput(t,n){let{domain:e,range:r,round:i,interpolate:a}=this.options,u=p(e.map(t),r,a,i);this.output=(0,o.q)(u,n,t)}composeInput(t,n,e){let{domain:r,range:i}=this.options,a=p(i,r.map(t),s.fv);this.input=(0,o.q)(n,e,a)}}},36380:function(t,n,e){"use strict";e.d(n,{b:function(){return u}});var r=e(67128),i=e(63025),a=e(25338),o=e(7847);class u extends i.V{getDefaultOptions(){return{domain:[0,1],range:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolate:a.wp,tickMethod:o.Z,tickCount:5}}chooseTransforms(){return[r.Z,r.Z]}clone(){return new u(this.options)}}},8064:function(t,n,e){"use strict";e.d(n,{r:function(){return s},z:function(){return i}});var r=e(74271);let i=Symbol("defaultUnknown");function a(t,n,e){for(let r=0;r`${t}`:"object"==typeof t?t=>JSON.stringify(t):t=>t}class s extends r.X{getDefaultOptions(){return{domain:[],range:[],unknown:i}}constructor(t){super(t)}map(t){return 0===this.domainIndexMap.size&&a(this.domainIndexMap,this.getDomain(),this.domainKey),o({value:this.domainKey(t),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(t){return 0===this.rangeIndexMap.size&&a(this.rangeIndexMap,this.getRange(),this.rangeKey),o({value:this.rangeKey(t),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(t){let[n]=this.options.domain,[e]=this.options.range;if(this.domainKey=u(n),this.rangeKey=u(e),!this.rangeIndexMap){this.rangeIndexMap=new Map,this.domainIndexMap=new Map;return}(!t||t.range)&&this.rangeIndexMap.clear(),(!t||t.domain||t.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)}clone(){return new s(this.options)}getRange(){return this.options.range}getDomain(){if(this.sortedDomain)return this.sortedDomain;let{domain:t,compare:n}=this.options;return this.sortedDomain=n?[...t].sort(n):t,this.sortedDomain}}},7847:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(72478);let i=(t,n,e)=>{let i,a;let o=t,u=n;if(o===u&&e>0)return[o];let s=(0,r.G)(o,u,e);if(0===s||!Number.isFinite(s))return[];if(s>0){o=Math.ceil(o/s),a=Array(i=Math.ceil((u=Math.floor(u/s))-o+1));for(let t=0;tt);for(;an?o=e:a=e+1}return a}e.d(n,{b:function(){return r}})},99871:function(t,n,e){"use strict";function r(t,...n){return n.reduce((t,n)=>e=>t(n(e)),t)}e.d(n,{q:function(){return r}})},82569:function(t,n,e){"use strict";e.d(n,{n:function(){return i}});var r=e(72478);let i=(t,n,e=5)=>{let i;let a=[t,n],o=0,u=a.length-1,s=a[o],c=a[u];return c0?(s=Math.floor(s/i)*i,c=Math.ceil(c/i)*i,i=(0,r.G)(s,c,e)):i<0&&(s=Math.ceil(s*i)/i,c=Math.floor(c*i)/i,i=(0,r.G)(s,c,e)),i>0?(a[o]=Math.floor(s/i)*i,a[u]=Math.ceil(c/i)*i):i<0&&(a[o]=Math.ceil(s*i)/i,a[u]=Math.floor(c*i)/i),a}},25338:function(t,n,e){"use strict";e.d(n,{fv:function(){return u},lk:function(){return h},wp:function(){return c}});var r=e(19818),i=e.n(r);function a(t,n,e){let r=e;return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(n-t)*6*r:r<.5?n:r<2/3?t+(n-t)*(2/3-r)*6:t}function o(t){let n=i().get(t);if(!n)return null;let{model:e,value:r}=n;return"rgb"===e?r:"hsl"===e?function(t){let n=t[0]/360,e=t[1]/100,r=t[2]/100,i=t[3];if(0===e)return[255*r,255*r,255*r,i];let o=r<.5?r*(1+e):r+e-r*e,u=2*r-o,s=a(u,o,n+1/3),c=a(u,o,n),h=a(u,o,n-1/3);return[255*s,255*c,255*h,i]}(r):null}let u=(t,n)=>e=>t*(1-e)+n*e,s=(t,n)=>{let e=o(t),r=o(n);return null===e||null===r?e?()=>t:()=>n:t=>{let n=[,,,,];for(let i=0;i<4;i+=1){let a=e[i],o=r[i];n[i]=a*(1-t)+o*t}let[i,a,o,u]=n;return`rgba(${Math.round(i)}, ${Math.round(a)}, ${Math.round(o)}, ${u})`}},c=(t,n)=>"number"==typeof t&&"number"==typeof n?u(t,n):"string"==typeof t&&"string"==typeof n?s(t,n):()=>t,h=(t,n)=>{let e=u(t,n);return t=>Math.round(e(t))}},13393:function(t,n,e){"use strict";e.d(n,{J:function(){return i}});var r=e(71154);function i(t){return!(0,r.Z)(t)&&null!==t&&!Number.isNaN(t)}},34199:function(t,n,e){"use strict";function r(t,n){return n-t?e=>(e-t)/(n-t):t=>.5}e.d(n,{I:function(){return r}})},72478:function(t,n,e){"use strict";e.d(n,{G:function(){return o},l:function(){return u}});let r=Math.sqrt(50),i=Math.sqrt(10),a=Math.sqrt(2);function o(t,n,e){let o=(n-t)/Math.max(0,e),u=Math.floor(Math.log(o)/Math.LN10),s=o/10**u;return u>=0?(s>=r?10:s>=i?5:s>=a?2:1)*10**u:-(10**-u)/(s>=r?10:s>=i?5:s>=a?2:1)}function u(t,n,e){let o=Math.abs(n-t)/Math.max(0,e),u=10**Math.floor(Math.log(o)/Math.LN10),s=o/u;return s>=r?u*=10:s>=i?u*=5:s>=a&&(u*=2),ne?e:t}},83207:function(t,n,e){"use strict";var r=e(5199),i=function(t){if("object"!=typeof t||null===t)return t;if((0,r.Z)(t)){n=[];for(var n,e=0,a=t.length;ea&&(e=u,a=s)}return e}}},13882:function(t,n,e){"use strict";var r=e(5199);n.Z=function(t){if((0,r.Z)(t))return t.reduce(function(t,n){return Math.max(t,n)},t[0])}},92426:function(t,n,e){"use strict";var r=e(45607);n.Z=function(t,n,e){if(void 0===e&&(e=128),!(0,r.Z)(t))throw TypeError("Expected a function");var i=function(){for(var e=[],r=0;ri&&(r=e,o(1),++n),e[t]=a}function o(t){n=0,e=Object.create(null),t||(r=Object.create(null))}return o(),{clear:o,has:function(t){return void 0!==e[t]||void 0!==r[t]},get:function(t){var n=e[t];return void 0!==n?n:void 0!==(n=r[t])?(a(t,n),n):void 0},set:function(t,n){void 0!==e[t]?e[t]=n:a(t,n)}}}(e),i}},89372:function(t,n,e){"use strict";var r=e(5199),i=e(45607);n.Z=function(t,n){if((0,r.Z)(t)){for(var e,a=1/0,o=0;on?(r&&(clearTimeout(r),r=null),u=c,o=t.apply(i,a),r||(i=a=null)):r||!1===e.trailing||(r=setTimeout(s,h)),o};return c.cancel=function(){clearTimeout(r),u=0,r=i=a=null},c}},92123:function(t,n,e){"use strict";var r=e(95147);n.Z=function(t){return(0,r.Z)(t)?"":t.toString()}},83914:function(t,n,e){"use strict";var r=e(92123);n.Z=function(t){var n=(0,r.Z)(t);return n.charAt(0).toUpperCase()+n.substring(1)}},75839:function(t,n,e){"use strict";e.d(n,{Y:function(){return h}});var r=e(97582),i=e(64985),a=e(4848),o=e(11013),u=e(74873),s=e(17570),c=function(t,n,e,i){var a=(0,s.k)([t,n],[e,i],.5);return(0,r.ev)((0,r.ev)([],a,!0),[e,i,e,i],!1)};function h(t,n){if(void 0===n&&(n=!1),(0,o.y)(t)&&t.every(function(t){var n=t[0];return"MC".includes(n)})){var e,s,h=[].concat(t);return n?[h,[]]:h}for(var l=(0,a.A)(t),f=(0,r.pi)({},i.z),p=[],d="",v=l.length,m=[],g=0;g7){t[e].shift();for(var r=t[e],i=e;r.length;)n[e]="A",t.splice(i+=1,0,["C"].concat(r.splice(0,6)));t.splice(e,1)}}(l,p,g),v=l.length,"Z"===d&&m.push(g),s=(e=l[g]).length,f.x1=+e[s-2],f.y1=+e[s-1],f.x2=+e[s-4]||f.x1,f.y2=+e[s-3]||f.y1}return n?[l,m]:l}},18323:function(t,n,e){"use strict";e.d(n,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},64985:function(t,n,e){"use strict";e.d(n,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},74873:function(t,n,e){"use strict";function r(t,n,e){return{x:t*Math.cos(e)-n*Math.sin(e),y:t*Math.sin(e)+n*Math.cos(e)}}e.d(n,{W:function(){return function t(n,e,i,a,o,u,s,c,h,l){var f,p,d,v,m,g=n,y=e,b=i,M=a,x=c,w=h,_=120*Math.PI/180,k=Math.PI/180*(+o||0),T=[];if(l)p=l[0],d=l[1],v=l[2],m=l[3];else{g=(f=r(g,y,-k)).x,y=f.y,x=(f=r(x,w,-k)).x,w=f.y;var A=(g-x)/2,Z=(y-w)/2,P=A*A/(b*b)+Z*Z/(M*M);P>1&&(b*=P=Math.sqrt(P),M*=P);var N=b*b,O=M*M,E=(u===s?-1:1)*Math.sqrt(Math.abs((N*O-N*Z*Z-O*A*A)/(N*Z*Z+O*A*A)));v=E*b*Z/M+(g+x)/2,m=-(E*M)*A/b+(y+w)/2,p=Math.asin(((y-m)/M*1e9>>0)/1e9),d=Math.asin(((w-m)/M*1e9>>0)/1e9),p=gd&&(p-=2*Math.PI),!s&&d>p&&(d-=2*Math.PI)}var I=d-p;if(Math.abs(I)>_){var R=d,F=x,C=w;T=t(x=v+b*Math.cos(d=p+_*(s&&d>p?1:-1)),w=m+M*Math.sin(d),b,M,o,0,s,F,C,[d,R,v,m])}I=d-p;var D=Math.cos(p),q=Math.cos(d),S=Math.tan(I/4),j=4/3*b*S,L=4/3*M*S,W=[g,y],z=[g+j*Math.sin(p),y-L*D],V=[x+j*Math.sin(d),w-L*q],G=[x,w];if(z[0]=2*W[0]-z[0],z[1]=2*W[1]-z[1],l)return z.concat(V,G,T);T=z.concat(V,G,T);for(var K=[],U=0,$=T.length;U<$;U+=1)K[U]=U%2?r(T[U-1],T[U],k).y:r(T[U],T[U+1],k).x;return K}}})},28659:function(t,n,e){"use strict";function r(t){return t.map(function(t){return Array.isArray(t)?[].concat(t):t})}e.d(n,{U:function(){return r}})},4848:function(t,n,e){"use strict";e.d(n,{A:function(){return p}});var r=e(97582),i=e(11013),a=e(64985),o=e(41010),u=e(56346),s=e(18323);function c(t){for(var n=t.pathValue[t.segmentStart],e=n.toLowerCase(),r=t.data;r.length>=s.R[e]&&("m"===e&&r.length>2?(t.segments.push([n].concat(r.splice(0,2))),e="l",n="m"===n?"l":"L"):t.segments.push([n].concat(r.splice(0,s.R[e]))),s.R[e]););}function h(t){return t>=48&&t<=57}function l(t){for(var n,e=t.pathValue,r=t.max;t.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(n));)t.index+=1}var f=function(t){this.pathValue=t,this.segments=[],this.max=t.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function p(t){if((0,i.y)(t))return[].concat(t);for(var n=function(t){if((0,o.b)(t))return[].concat(t);var n=function(t){if((0,u.n)(t))return[].concat(t);var n=new f(t);for(l(n);n.index0;u-=1){if((32|i)==97&&(3===u||4===u)?function(t){var n=t.index,e=t.pathValue,r=e.charCodeAt(n);if(48===r){t.param=0,t.index+=1;return}if(49===r){t.param=1,t.index+=1;return}t.err='[path-util]: invalid Arc flag "'+e[n]+'", expecting 0 or 1 at index '+n}(t):function(t){var n,e=t.max,r=t.pathValue,i=t.index,a=i,o=!1,u=!1,s=!1,c=!1;if(a>=e){t.err="[path-util]: Invalid path value at index "+a+', "pathValue" is missing param';return}if((43===(n=r.charCodeAt(a))||45===n)&&(a+=1,n=r.charCodeAt(a)),!h(n)&&46!==n){t.err="[path-util]: Invalid path value at index "+a+', "'+r[a]+'" is not a number';return}if(46!==n){if(o=48===n,a+=1,n=r.charCodeAt(a),o&&a=t.max||!((o=e.charCodeAt(t.index))>=48&&o<=57||43===o||45===o||46===o))break}c(t)}(n);return n.err?n.err:n.segments}(t),e=0,r=0,i=0,a=0;return n.map(function(t){var n,o=t.slice(1).map(Number),u=t[0],s=u.toUpperCase();if("M"===u)return e=o[0],r=o[1],i=e,a=r,["M",e,r];if(u!==s)switch(s){case"A":n=[s,o[0],o[1],o[2],o[3],o[4],o[5]+e,o[6]+r];break;case"V":n=[s,o[0]+r];break;case"H":n=[s,o[0]+e];break;default:n=[s].concat(o.map(function(t,n){return t+(n%2?r:e)}))}else n=[s].concat(o);var c=n.length;switch(s){case"Z":e=i,r=a;break;case"H":e=n[1];break;case"V":r=n[1];break;default:e=n[c-2],r=n[c-1],"M"===s&&(i=e,a=r)}return n})}(t),e=(0,r.pi)({},a.z),p=0;p=d[n],v[n]-=m?1:0,m?t.ss:[t.s]}).flat()});return g[0].length===g[1].length?g:t(g[0],g[1],p)}}});var r=e(17570),i=e(6489);function a(t){return t.map(function(t,n,e){var a,o,u,s,c,h,l,f,p,d,v,m,g=n&&e[n-1].slice(-2).concat(t.slice(1)),y=n?(0,i.S)(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],{bbox:!1}).length:0;return m=n?y?(void 0===a&&(a=.5),o=g.slice(0,2),u=g.slice(2,4),s=g.slice(4,6),c=g.slice(6,8),h=(0,r.k)(o,u,a),l=(0,r.k)(u,s,a),f=(0,r.k)(s,c,a),p=(0,r.k)(h,l,a),d=(0,r.k)(l,f,a),v=(0,r.k)(p,d,a),[["C"].concat(h,p,v),["C"].concat(d,f,c)]):[t,t]:[t],{s:t,ss:m,l:y}})}},92455:function(t,n,e){"use strict";e.d(n,{b:function(){return i}});var r=e(75839);function i(t){var n,e,i;return n=0,e=0,i=0,(0,r.Y)(t).map(function(t){if("M"===t[0])return n=t[1],e=t[2],0;var r,a,o,u=t.slice(1),s=u[0],c=u[1],h=u[2],l=u[3],f=u[4],p=u[5];return a=n,i=3*((p-(o=e))*(s+h)-(f-a)*(c+l)+c*(a-h)-s*(o-l)+p*(h+a/3)-f*(l+o/3))/20,n=(r=t.slice(-2))[0],e=r[1],i}).reduce(function(t,n){return t+n},0)>=0}},84329:function(t,n,e){"use strict";e.d(n,{r:function(){return a}});var r=e(97582),i=e(32262);function a(t,n,e){return(0,i.s)(t,n,(0,r.pi)((0,r.pi)({},e),{bbox:!1,length:!0})).point}},83555:function(t,n,e){"use strict";e.d(n,{g:function(){return i}});var r=e(44078);function i(t,n){var e,i,a=t.length-1,o=[],u=0,s=(i=(e=t.length)-1,t.map(function(n,r){return t.map(function(n,a){var o=r+a;return 0===a||t[o]&&"M"===t[o][0]?["M"].concat(t[o].slice(-2)):(o>=e&&(o-=i),t[o])})}));return s.forEach(function(e,i){t.slice(1).forEach(function(e,o){u+=(0,r.y)(t[(i+o)%a].slice(-2),n[o%a].slice(-2))}),o[i]=u,u=0}),s[o.indexOf(Math.min.apply(null,o))]}},69877:function(t,n,e){"use strict";e.d(n,{D:function(){return a}});var r=e(97582),i=e(32262);function a(t,n){return(0,i.s)(t,void 0,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).length}},41010:function(t,n,e){"use strict";e.d(n,{b:function(){return i}});var r=e(56346);function i(t){return(0,r.n)(t)&&t.every(function(t){var n=t[0];return n===n.toUpperCase()})}},11013:function(t,n,e){"use strict";e.d(n,{y:function(){return i}});var r=e(41010);function i(t){return(0,r.b)(t)&&t.every(function(t){var n=t[0];return"ACLMQZ".includes(n)})}},56346:function(t,n,e){"use strict";e.d(n,{n:function(){return i}});var r=e(18323);function i(t){return Array.isArray(t)&&t.every(function(t){var n=t[0].toLowerCase();return r.R[n]===t.length-1&&"achlmqstvz".includes(n)})}},17570:function(t,n,e){"use strict";function r(t,n,e){var r=t[0],i=t[1];return[r+(n[0]-r)*e,i+(n[1]-i)*e]}e.d(n,{k:function(){return r}})},32262:function(t,n,e){"use strict";e.d(n,{s:function(){return c}});var r=e(4848),i=e(17570),a=e(44078);function o(t,n,e,r,o){var u=(0,a.y)([t,n],[e,r]),s={x:0,y:0};if("number"==typeof o){if(o<=0)s={x:t,y:n};else if(o>=u)s={x:e,y:r};else{var c=(0,i.k)([t,n],[e,r],o/u);s={x:c[0],y:c[1]}}}return{length:u,point:s,min:{x:Math.min(t,e),y:Math.min(n,r)},max:{x:Math.max(t,e),y:Math.max(n,r)}}}function u(t,n){var e=t.x,r=t.y,i=n.x,a=n.y,o=Math.sqrt((Math.pow(e,2)+Math.pow(r,2))*(Math.pow(i,2)+Math.pow(a,2)));return(e*a-r*i<0?-1:1)*Math.acos((e*i+r*a)/o)}var s=e(6489);function c(t,n,e){for(var i,c,h,l,f,p,d,v,m,g=(0,r.A)(t),y="number"==typeof n,b=[],M=0,x=0,w=0,_=0,k=[],T=[],A=0,Z={x:0,y:0},P=Z,N=Z,O=Z,E=0,I=0,R=g.length;I1&&(g*=v(_),y*=v(_));var k=(Math.pow(g,2)*Math.pow(y,2)-Math.pow(g,2)*Math.pow(w.y,2)-Math.pow(y,2)*Math.pow(w.x,2))/(Math.pow(g,2)*Math.pow(w.y,2)+Math.pow(y,2)*Math.pow(w.x,2)),T=(a!==s?1:-1)*v(k=k<0?0:k),A={x:T*(g*w.y/y),y:T*(-(y*w.x)/g)},Z={x:d(b)*A.x-p(b)*A.y+(t+c)/2,y:p(b)*A.x+d(b)*A.y+(n+h)/2},P={x:(w.x-A.x)/g,y:(w.y-A.y)/y},N=u({x:1,y:0},P),O=u(P,{x:(-w.x-A.x)/g,y:(-w.y-A.y)/y});!s&&O>0?O-=2*m:s&&O<0&&(O+=2*m);var E=N+(O%=2*m)*l,I=g*d(E),R=y*p(E);return{x:d(b)*I-p(b)*R+Z.x,y:p(b)*I+d(b)*R+Z.y}}(t,n,e,r,i,s,c,h,l,N/M)).x,_=d.y,m&&P.push({x:w,y:_}),y&&(k+=(0,a.y)(A,[w,_])),A=[w,_],x&&k>=f&&f>T[2]){var O=(k-f)/(k-T[2]);Z={x:A[0]*(1-O)+T[0]*O,y:A[1]*(1-O)+T[1]*O}}T=[w,_,k]}return x&&f>=k&&(Z={x:h,y:l}),{length:k,point:Z,min:{x:Math.min.apply(null,P.map(function(t){return t.x})),y:Math.min.apply(null,P.map(function(t){return t.y}))},max:{x:Math.max.apply(null,P.map(function(t){return t.x})),y:Math.max.apply(null,P.map(function(t){return t.y}))}}}(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],(n||0)-E,e||{})).length,Z=c.min,P=c.max,N=c.point):"C"===v?(A=(h=(0,s.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],(n||0)-E,e||{})).length,Z=h.min,P=h.max,N=h.point):"Q"===v?(A=(l=function(t,n,e,r,i,o,u,s){var c,h=s.bbox,l=void 0===h||h,f=s.length,p=void 0===f||f,d=s.sampleSize,v=void 0===d?10:d,m="number"==typeof u,g=t,y=n,b=0,M=[g,y,0],x=[g,y],w={x:0,y:0},_=[{x:g,y:y}];m&&u<=0&&(w={x:g,y:y});for(var k=0;k<=v;k+=1){if(g=(c=function(t,n,e,r,i,a,o){var u=1-o;return{x:Math.pow(u,2)*t+2*u*o*e+Math.pow(o,2)*i,y:Math.pow(u,2)*n+2*u*o*r+Math.pow(o,2)*a}}(t,n,e,r,i,o,k/v)).x,y=c.y,l&&_.push({x:g,y:y}),p&&(b+=(0,a.y)(x,[g,y])),x=[g,y],m&&b>=u&&u>M[2]){var T=(b-u)/(b-M[2]);w={x:x[0]*(1-T)+M[0]*T,y:x[1]*(1-T)+M[1]*T}}M=[g,y,b]}return m&&u>=b&&(w={x:i,y:o}),{length:b,point:w,min:{x:Math.min.apply(null,_.map(function(t){return t.x})),y:Math.min.apply(null,_.map(function(t){return t.y}))},max:{x:Math.max.apply(null,_.map(function(t){return t.x})),y:Math.max.apply(null,_.map(function(t){return t.y}))}}}(b[0],b[1],b[2],b[3],b[4],b[5],(n||0)-E,e||{})).length,Z=l.min,P=l.max,N=l.point):"Z"===v&&(A=(f=o((b=[M,x,w,_])[0],b[1],b[2],b[3],(n||0)-E)).length,Z=f.min,P=f.max,N=f.point),y&&E=n&&(O=N),T.push(P),k.push(Z),E+=A,M=(p="Z"!==v?m.slice(-2):[w,_])[0],x=p[1];return y&&n>=E&&(O={x:M,y:x}),{length:E,point:O,min:{x:Math.min.apply(null,k.map(function(t){return t.x})),y:Math.min.apply(null,k.map(function(t){return t.y}))},max:{x:Math.max.apply(null,T.map(function(t){return t.x})),y:Math.max.apply(null,T.map(function(t){return t.y}))}}}},6489:function(t,n,e){"use strict";e.d(n,{S:function(){return i}});var r=e(44078);function i(t,n,e,i,a,o,u,s,c,h){var l,f=h.bbox,p=void 0===f||f,d=h.length,v=void 0===d||d,m=h.sampleSize,g=void 0===m?10:m,y="number"==typeof c,b=t,M=n,x=0,w=[b,M,0],_=[b,M],k={x:0,y:0},T=[{x:b,y:M}];y&&c<=0&&(k={x:b,y:M});for(var A=0;A<=g;A+=1){if(b=(l=function(t,n,e,r,i,a,o,u,s){var c=1-s;return{x:Math.pow(c,3)*t+3*Math.pow(c,2)*s*e+3*c*Math.pow(s,2)*i+Math.pow(s,3)*o,y:Math.pow(c,3)*n+3*Math.pow(c,2)*s*r+3*c*Math.pow(s,2)*a+Math.pow(s,3)*u}}(t,n,e,i,a,o,u,s,A/g)).x,M=l.y,p&&T.push({x:b,y:M}),v&&(x+=(0,r.y)(_,[b,M])),_=[b,M],y&&x>=c&&c>w[2]){var Z=(x-c)/(x-w[2]);k={x:_[0]*(1-Z)+w[0]*Z,y:_[1]*(1-Z)+w[1]*Z}}w=[b,M,x]}return y&&c>=x&&(k={x:u,y:s}),{length:x,point:k,min:{x:Math.min.apply(null,T.map(function(t){return t.x})),y:Math.min.apply(null,T.map(function(t){return t.y}))},max:{x:Math.max.apply(null,T.map(function(t){return t.x})),y:Math.max.apply(null,T.map(function(t){return t.y}))}}}},8874:function(t){"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},19818:function(t,n,e){var r=e(8874),i=e(86851),a=Object.hasOwnProperty,o=Object.create(null);for(var u in r)a.call(r,u)&&(o[r[u]]=u);var s=t.exports={to:{},get:{}};function c(t,n,e){return Math.min(Math.max(n,t),e)}function h(t){var n=Math.round(t).toString(16).toUpperCase();return n.length<2?"0"+n:n}s.get=function(t){var n,e;switch(t.substring(0,3).toLowerCase()){case"hsl":n=s.get.hsl(t),e="hsl";break;case"hwb":n=s.get.hwb(t),e="hwb";break;default:n=s.get.rgb(t),e="rgb"}return n?{model:e,value:n}:null},s.get.rgb=function(t){if(!t)return null;var n,e,i,o=[0,0,0,1];if(n=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(e=0,i=n[2],n=n[1];e<3;e++){var u=2*e;o[e]=parseInt(n.slice(u,u+2),16)}i&&(o[3]=parseInt(i,16)/255)}else if(n=t.match(/^#([a-f0-9]{3,4})$/i)){for(e=0,i=(n=n[1])[3];e<3;e++)o[e]=parseInt(n[e]+n[e],16);i&&(o[3]=parseInt(i+i,16)/255)}else if(n=t.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(e=0;e<3;e++)o[e]=parseInt(n[e+1],0);n[4]&&(n[5]?o[3]=.01*parseFloat(n[4]):o[3]=parseFloat(n[4]))}else if(n=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(e=0;e<3;e++)o[e]=Math.round(2.55*parseFloat(n[e+1]));n[4]&&(n[5]?o[3]=.01*parseFloat(n[4]):o[3]=parseFloat(n[4]))}else if(!(n=t.match(/^(\w+)$/)))return null;else return"transparent"===n[1]?[0,0,0,0]:a.call(r,n[1])?((o=r[n[1]])[3]=1,o):null;for(e=0;e<3;e++)o[e]=c(o[e],0,255);return o[3]=c(o[3],0,1),o},s.get.hsl=function(t){if(!t)return null;var n=t.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(n){var e=parseFloat(n[4]);return[(parseFloat(n[1])%360+360)%360,c(parseFloat(n[2]),0,100),c(parseFloat(n[3]),0,100),c(isNaN(e)?1:e,0,1)]}return null},s.get.hwb=function(t){if(!t)return null;var n=t.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(n){var e=parseFloat(n[4]);return[(parseFloat(n[1])%360+360)%360,c(parseFloat(n[2]),0,100),c(parseFloat(n[3]),0,100),c(isNaN(e)?1:e,0,1)]}return null},s.to.hex=function(){var t=i(arguments);return"#"+h(t[0])+h(t[1])+h(t[2])+(t[3]<1?h(Math.round(255*t[3])):"")},s.to.rgb=function(){var t=i(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},s.to.rgb.percent=function(){var t=i(arguments),n=Math.round(t[0]/255*100),e=Math.round(t[1]/255*100),r=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+n+"%, "+e+"%, "+r+"%)":"rgba("+n+"%, "+e+"%, "+r+"%, "+t[3]+")"},s.to.hsl=function(){var t=i(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},s.to.hwb=function(){var t=i(arguments),n="";return t.length>=4&&1!==t[3]&&(n=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+n+")"},s.to.keyword=function(t){return o[t.slice(0,3)]}},16372:function(t,n,e){"use strict";e.d(n,{B8:function(){return k},Il:function(){return i},J5:function(){return o},SU:function(){return _},Ss:function(){return T},ZP:function(){return M},xV:function(){return a}});var r=e(44087);function i(){}var a=.7,o=1.4285714285714286,u="\\s*([+-]?\\d+)\\s*",s="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",h=/^#([0-9a-f]{3,8})$/,l=RegExp("^rgb\\("+[u,u,u]+"\\)$"),f=RegExp("^rgb\\("+[c,c,c]+"\\)$"),p=RegExp("^rgba\\("+[u,u,u,s]+"\\)$"),d=RegExp("^rgba\\("+[c,c,c,s]+"\\)$"),v=RegExp("^hsl\\("+[s,c,c]+"\\)$"),m=RegExp("^hsla\\("+[s,c,c,s]+"\\)$"),g={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function y(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function M(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=h.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?x(n):3===e?new T(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?w(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?w(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=l.exec(t))?new T(n[1],n[2],n[3],1):(n=f.exec(t))?new T(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=p.exec(t))?w(n[1],n[2],n[3],n[4]):(n=d.exec(t))?w(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=v.exec(t))?N(n[1],n[2]/100,n[3]/100,1):(n=m.exec(t))?N(n[1],n[2]/100,n[3]/100,n[4]):g.hasOwnProperty(t)?x(g[t]):"transparent"===t?new T(NaN,NaN,NaN,0):null}function x(t){return new T(t>>16&255,t>>8&255,255&t,1)}function w(t,n,e,r){return r<=0&&(t=n=e=NaN),new T(t,n,e,r)}function _(t){return(t instanceof i||(t=M(t)),t)?(t=t.rgb(),new T(t.r,t.g,t.b,t.opacity)):new T}function k(t,n,e,r){return 1==arguments.length?_(t):new T(t,n,e,null==r?1:r)}function T(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function A(){return"#"+P(this.r)+P(this.g)+P(this.b)}function Z(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function P(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function N(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new E(t,n,e,r)}function O(t){if(t instanceof E)return new E(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=M(t)),!t)return new E;if(t instanceof E)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,a=Math.min(n,e,r),o=Math.max(n,e,r),u=NaN,s=o-a,c=(o+a)/2;return s?(u=n===o?(e-r)/s+(e0&&c<1?0:u,new E(u,s,c,t.opacity)}function E(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function I(t,n,e){return(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)*255}(0,r.Z)(i,M,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:y,formatHex:y,formatHsl:function(){return O(this).formatHsl()},formatRgb:b,toString:b}),(0,r.Z)(T,k,(0,r.l)(i,{brighter:function(t){return t=null==t?o:Math.pow(o,t),new T(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new T(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:A,formatHex:A,formatRgb:Z,toString:Z})),(0,r.Z)(E,function(t,n,e,r){return 1==arguments.length?O(t):new E(t,n,e,null==r?1:r)},(0,r.l)(i,{brighter:function(t){return t=null==t?o:Math.pow(o,t),new E(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new E(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+(this.h<0)*360,n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new T(I(t>=240?t-240:t+120,i,r),I(t,i,r),I(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},44087:function(t,n,e){"use strict";function r(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function i(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}e.d(n,{Z:function(){return r},l:function(){return i}})},92626:function(t,n){"use strict";var e={value:()=>{}};function r(){for(var t,n=0,e=arguments.length,r={};n=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:n}}),o=-1,u=i.length;if(arguments.length<2){for(;++o0)for(var e,r,i=Array(e),a=0;a[l(t,n,u),t]));for(r=0,s=Array(a);r=l)){(t.data!==n||t.next)&&(0===c&&(v+=(c=(0,a.Z)(e))*c),0===p&&(v+=(p=(0,a.Z)(e))*p),v(n=(1664525*n+1013904223)%4294967296)/4294967296);function v(){m(),p.call("tick",e),a1?(null==n?l.delete(t):l.set(t,y(n)),e):l.get(t)},find:function(n,e,r){var i,a,o,u,s,c=0,h=t.length;for(null==r?r=1/0:r*=r,c=0;c1?(p.on(t,n),e):p.on(t)}}}},26464:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(27898);function i(t){var n,e,i,a=(0,r.Z)(.1);function o(t){for(var r,a=0,o=n.length;a=(a=(v+g)/2))?v=a:g=a,(h=e>=(o=(m+y)/2))?m=o:y=o,i=p,!(p=p[l=h<<1|c]))return i[l]=d,t;if(u=+t._x.call(null,p.data),s=+t._y.call(null,p.data),n===u&&e===s)return d.next=p,i?i[l]=d:t._root=d,t;do i=i?i[l]=[,,,,]:t._root=[,,,,],(c=n>=(a=(v+g)/2))?v=a:g=a,(h=e>=(o=(m+y)/2))?m=o:y=o;while((l=h<<1|c)==(f=(s>=o)<<1|u>=a));return i[f]=p,i[l]=d,t}function i(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i}function a(t){return t[0]}function o(t){return t[1]}function u(t,n,e){var r=new s(null==n?a:n,null==e?o:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function s(t,n,e,r,i,a){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=a,this._root=void 0}function c(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}e.d(n,{Z:function(){return u}});var h=u.prototype=s.prototype;h.copy=function(){var t,n,e=new s(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=c(r),e;for(t=[{source:r,target:e._root=[,,,,]}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=[,,,,]}):r.target[i]=c(n));return e},h.add=function(t){let n=+this._x.call(null,t),e=+this._y.call(null,t);return r(this.cover(n,e),n,e,t)},h.addAll=function(t){var n,e,i,a,o=t.length,u=Array(o),s=Array(o),c=1/0,h=1/0,l=-1/0,f=-1/0;for(e=0;el&&(l=i),af&&(f=a));if(c>l||h>f)return this;for(this.cover(c,h).cover(l,f),e=0;et||t>=i||r>n||n>=a;)switch(u=(np)&&!((o=c.y0)>d)&&!((u=c.x1)=y)<<1|t>=g)&&(c=v[v.length-1],v[v.length-1]=v[v.length-1-h],v[v.length-1-h]=c)}else{var b=t-+this._x.call(null,m.data),M=n-+this._y.call(null,m.data),x=b*b+M*M;if(x=(u=(d+m)/2))?d=u:m=u,(h=o>=(s=(v+g)/2))?v=s:g=s,n=p,!(p=p[l=h<<1|c]))return this;if(!p.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,f=l)}for(;p.data!==t;)if(r=p,!(p=p.next))return this;return((i=p.next)&&delete p.next,r)?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(p=n[0]||n[1]||n[2]||n[3])&&p===(n[3]||n[2]||n[1]||n[0])&&!p.length&&(e?e[f]=p:this._root=p),this):(this._root=i,this)},h.removeAll=function(t){for(var n=0,e=t.length;n=0&&n._call.call(null,t),n=n._next;--a}()}finally{a=0,function(){for(var t,n,e=r,a=1/0;e;)e._call?(a>e._time&&(a=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:r=n);i=t,b(a)}(),c=0}}function y(){var t=l.now(),n=t-s;n>1e3&&(h-=n,s=t)}function b(t){!a&&(o&&(o=clearTimeout(o)),t-c>24?(t<1/0&&(o=setTimeout(g,t-l.now()-h)),u&&(u=clearInterval(u))):(u||(s=l.now(),u=setInterval(y,1e3)),a=1,f(g)))}v.prototype=m.prototype={constructor:v,restart:function(t,n,e){if("function"!=typeof t)throw TypeError("callback is not a function");e=(null==e?p():+e)+(null==n?0:+n),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=e,b()},stop:function(){this._call&&(this._call=null,this._time=1/0,b())}}},49685:function(t,n,e){"use strict";e.d(n,{Ib:function(){return r},WT:function(){return i}});var r=1e-6,i="undefined"!=typeof Float32Array?Float32Array:Array;Math.hypot||(Math.hypot=function(){for(var t=0,n=arguments.length;n--;)t+=arguments[n]*arguments[n];return Math.sqrt(t)})},35600:function(t,n,e){"use strict";e.d(n,{Ue:function(){return i},al:function(){return o},xO:function(){return a}});var r=e(49685);function i(){var t=new r.WT(9);return r.WT!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0),t[0]=1,t[4]=1,t[8]=1,t}function a(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[4],t[4]=n[5],t[5]=n[6],t[6]=n[8],t[7]=n[9],t[8]=n[10],t}function o(t,n,e,i,a,o,u,s,c){var h=new r.WT(9);return h[0]=t,h[1]=n,h[2]=e,h[3]=i,h[4]=a,h[5]=o,h[6]=u,h[7]=s,h[8]=c,h}},85975:function(t,n,e){"use strict";e.r(n),e.d(n,{add:function(){return $},adjoint:function(){return f},clone:function(){return a},copy:function(){return o},create:function(){return i},determinant:function(){return p},equals:function(){return J},exactEquals:function(){return Y},frob:function(){return U},fromQuat:function(){return F},fromQuat2:function(){return P},fromRotation:function(){return _},fromRotationTranslation:function(){return Z},fromRotationTranslationScale:function(){return I},fromRotationTranslationScaleOrigin:function(){return R},fromScaling:function(){return w},fromTranslation:function(){return x},fromValues:function(){return u},fromXRotation:function(){return k},fromYRotation:function(){return T},fromZRotation:function(){return A},frustum:function(){return C},getRotation:function(){return E},getScaling:function(){return O},getTranslation:function(){return N},identity:function(){return c},invert:function(){return l},lookAt:function(){return V},mul:function(){return Q},multiply:function(){return d},multiplyScalar:function(){return B},multiplyScalarAndAdd:function(){return X},ortho:function(){return W},orthoNO:function(){return L},orthoZO:function(){return z},perspective:function(){return q},perspectiveFromFieldOfView:function(){return j},perspectiveNO:function(){return D},perspectiveZO:function(){return S},rotate:function(){return g},rotateX:function(){return y},rotateY:function(){return b},rotateZ:function(){return M},scale:function(){return m},set:function(){return s},str:function(){return K},sub:function(){return tt},subtract:function(){return H},targetTo:function(){return G},translate:function(){return v},transpose:function(){return h}});var r=e(49685);function i(){var t=new r.WT(16);return r.WT!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0),t[0]=1,t[5]=1,t[10]=1,t[15]=1,t}function a(t){var n=new r.WT(16);return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[4]=t[4],n[5]=t[5],n[6]=t[6],n[7]=t[7],n[8]=t[8],n[9]=t[9],n[10]=t[10],n[11]=t[11],n[12]=t[12],n[13]=t[13],n[14]=t[14],n[15]=t[15],n}function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function u(t,n,e,i,a,o,u,s,c,h,l,f,p,d,v,m){var g=new r.WT(16);return g[0]=t,g[1]=n,g[2]=e,g[3]=i,g[4]=a,g[5]=o,g[6]=u,g[7]=s,g[8]=c,g[9]=h,g[10]=l,g[11]=f,g[12]=p,g[13]=d,g[14]=v,g[15]=m,g}function s(t,n,e,r,i,a,o,u,s,c,h,l,f,p,d,v,m){return t[0]=n,t[1]=e,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=u,t[7]=s,t[8]=c,t[9]=h,t[10]=l,t[11]=f,t[12]=p,t[13]=d,t[14]=v,t[15]=m,t}function c(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function h(t,n){if(t===n){var e=n[1],r=n[2],i=n[3],a=n[6],o=n[7],u=n[11];t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=e,t[6]=n[9],t[7]=n[13],t[8]=r,t[9]=a,t[11]=n[14],t[12]=i,t[13]=o,t[14]=u}else t[0]=n[0],t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=n[1],t[5]=n[5],t[6]=n[9],t[7]=n[13],t[8]=n[2],t[9]=n[6],t[10]=n[10],t[11]=n[14],t[12]=n[3],t[13]=n[7],t[14]=n[11],t[15]=n[15];return t}function l(t,n){var e=n[0],r=n[1],i=n[2],a=n[3],o=n[4],u=n[5],s=n[6],c=n[7],h=n[8],l=n[9],f=n[10],p=n[11],d=n[12],v=n[13],m=n[14],g=n[15],y=e*u-r*o,b=e*s-i*o,M=e*c-a*o,x=r*s-i*u,w=r*c-a*u,_=i*c-a*s,k=h*v-l*d,T=h*m-f*d,A=h*g-p*d,Z=l*m-f*v,P=l*g-p*v,N=f*g-p*m,O=y*N-b*P+M*Z+x*A-w*T+_*k;return O?(O=1/O,t[0]=(u*N-s*P+c*Z)*O,t[1]=(i*P-r*N-a*Z)*O,t[2]=(v*_-m*w+g*x)*O,t[3]=(f*w-l*_-p*x)*O,t[4]=(s*A-o*N-c*T)*O,t[5]=(e*N-i*A+a*T)*O,t[6]=(m*M-d*_-g*b)*O,t[7]=(h*_-f*M+p*b)*O,t[8]=(o*P-u*A+c*k)*O,t[9]=(r*A-e*P-a*k)*O,t[10]=(d*w-v*M+g*y)*O,t[11]=(l*M-h*w-p*y)*O,t[12]=(u*T-o*Z-s*k)*O,t[13]=(e*Z-r*T+i*k)*O,t[14]=(v*b-d*x-m*y)*O,t[15]=(h*x-l*b+f*y)*O,t):null}function f(t,n){var e=n[0],r=n[1],i=n[2],a=n[3],o=n[4],u=n[5],s=n[6],c=n[7],h=n[8],l=n[9],f=n[10],p=n[11],d=n[12],v=n[13],m=n[14],g=n[15];return t[0]=u*(f*g-p*m)-l*(s*g-c*m)+v*(s*p-c*f),t[1]=-(r*(f*g-p*m)-l*(i*g-a*m)+v*(i*p-a*f)),t[2]=r*(s*g-c*m)-u*(i*g-a*m)+v*(i*c-a*s),t[3]=-(r*(s*p-c*f)-u*(i*p-a*f)+l*(i*c-a*s)),t[4]=-(o*(f*g-p*m)-h*(s*g-c*m)+d*(s*p-c*f)),t[5]=e*(f*g-p*m)-h*(i*g-a*m)+d*(i*p-a*f),t[6]=-(e*(s*g-c*m)-o*(i*g-a*m)+d*(i*c-a*s)),t[7]=e*(s*p-c*f)-o*(i*p-a*f)+h*(i*c-a*s),t[8]=o*(l*g-p*v)-h*(u*g-c*v)+d*(u*p-c*l),t[9]=-(e*(l*g-p*v)-h*(r*g-a*v)+d*(r*p-a*l)),t[10]=e*(u*g-c*v)-o*(r*g-a*v)+d*(r*c-a*u),t[11]=-(e*(u*p-c*l)-o*(r*p-a*l)+h*(r*c-a*u)),t[12]=-(o*(l*m-f*v)-h*(u*m-s*v)+d*(u*f-s*l)),t[13]=e*(l*m-f*v)-h*(r*m-i*v)+d*(r*f-i*l),t[14]=-(e*(u*m-s*v)-o*(r*m-i*v)+d*(r*s-i*u)),t[15]=e*(u*f-s*l)-o*(r*f-i*l)+h*(r*s-i*u),t}function p(t){var n=t[0],e=t[1],r=t[2],i=t[3],a=t[4],o=t[5],u=t[6],s=t[7],c=t[8],h=t[9],l=t[10],f=t[11],p=t[12],d=t[13],v=t[14],m=t[15];return(n*o-e*a)*(l*m-f*v)-(n*u-r*a)*(h*m-f*d)+(n*s-i*a)*(h*v-l*d)+(e*u-r*o)*(c*m-f*p)-(e*s-i*o)*(c*v-l*p)+(r*s-i*u)*(c*d-h*p)}function d(t,n,e){var r=n[0],i=n[1],a=n[2],o=n[3],u=n[4],s=n[5],c=n[6],h=n[7],l=n[8],f=n[9],p=n[10],d=n[11],v=n[12],m=n[13],g=n[14],y=n[15],b=e[0],M=e[1],x=e[2],w=e[3];return t[0]=b*r+M*u+x*l+w*v,t[1]=b*i+M*s+x*f+w*m,t[2]=b*a+M*c+x*p+w*g,t[3]=b*o+M*h+x*d+w*y,b=e[4],M=e[5],x=e[6],w=e[7],t[4]=b*r+M*u+x*l+w*v,t[5]=b*i+M*s+x*f+w*m,t[6]=b*a+M*c+x*p+w*g,t[7]=b*o+M*h+x*d+w*y,b=e[8],M=e[9],x=e[10],w=e[11],t[8]=b*r+M*u+x*l+w*v,t[9]=b*i+M*s+x*f+w*m,t[10]=b*a+M*c+x*p+w*g,t[11]=b*o+M*h+x*d+w*y,b=e[12],M=e[13],x=e[14],w=e[15],t[12]=b*r+M*u+x*l+w*v,t[13]=b*i+M*s+x*f+w*m,t[14]=b*a+M*c+x*p+w*g,t[15]=b*o+M*h+x*d+w*y,t}function v(t,n,e){var r,i,a,o,u,s,c,h,l,f,p,d,v=e[0],m=e[1],g=e[2];return n===t?(t[12]=n[0]*v+n[4]*m+n[8]*g+n[12],t[13]=n[1]*v+n[5]*m+n[9]*g+n[13],t[14]=n[2]*v+n[6]*m+n[10]*g+n[14],t[15]=n[3]*v+n[7]*m+n[11]*g+n[15]):(r=n[0],i=n[1],a=n[2],o=n[3],u=n[4],s=n[5],c=n[6],h=n[7],l=n[8],f=n[9],p=n[10],d=n[11],t[0]=r,t[1]=i,t[2]=a,t[3]=o,t[4]=u,t[5]=s,t[6]=c,t[7]=h,t[8]=l,t[9]=f,t[10]=p,t[11]=d,t[12]=r*v+u*m+l*g+n[12],t[13]=i*v+s*m+f*g+n[13],t[14]=a*v+c*m+p*g+n[14],t[15]=o*v+h*m+d*g+n[15]),t}function m(t,n,e){var r=e[0],i=e[1],a=e[2];return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*i,t[5]=n[5]*i,t[6]=n[6]*i,t[7]=n[7]*i,t[8]=n[8]*a,t[9]=n[9]*a,t[10]=n[10]*a,t[11]=n[11]*a,t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function g(t,n,e,i){var a,o,u,s,c,h,l,f,p,d,v,m,g,y,b,M,x,w,_,k,T,A,Z,P,N=i[0],O=i[1],E=i[2],I=Math.hypot(N,O,E);return I0?(e[0]=(s*u+l*i+c*o-h*a)*2/f,e[1]=(c*u+l*a+h*i-s*o)*2/f,e[2]=(h*u+l*o+s*a-c*i)*2/f):(e[0]=(s*u+l*i+c*o-h*a)*2,e[1]=(c*u+l*a+h*i-s*o)*2,e[2]=(h*u+l*o+s*a-c*i)*2),Z(t,n,e),t}function N(t,n){return t[0]=n[12],t[1]=n[13],t[2]=n[14],t}function O(t,n){var e=n[0],r=n[1],i=n[2],a=n[4],o=n[5],u=n[6],s=n[8],c=n[9],h=n[10];return t[0]=Math.hypot(e,r,i),t[1]=Math.hypot(a,o,u),t[2]=Math.hypot(s,c,h),t}function E(t,n){var e=new r.WT(3);O(e,n);var i=1/e[0],a=1/e[1],o=1/e[2],u=n[0]*i,s=n[1]*a,c=n[2]*o,h=n[4]*i,l=n[5]*a,f=n[6]*o,p=n[8]*i,d=n[9]*a,v=n[10]*o,m=u+l+v,g=0;return m>0?(g=2*Math.sqrt(m+1),t[3]=.25*g,t[0]=(f-d)/g,t[1]=(p-c)/g,t[2]=(s-h)/g):u>l&&u>v?(g=2*Math.sqrt(1+u-l-v),t[3]=(f-d)/g,t[0]=.25*g,t[1]=(s+h)/g,t[2]=(p+c)/g):l>v?(g=2*Math.sqrt(1+l-u-v),t[3]=(p-c)/g,t[0]=(s+h)/g,t[1]=.25*g,t[2]=(f+d)/g):(g=2*Math.sqrt(1+v-u-l),t[3]=(s-h)/g,t[0]=(p+c)/g,t[1]=(f+d)/g,t[2]=.25*g),t}function I(t,n,e,r){var i=n[0],a=n[1],o=n[2],u=n[3],s=i+i,c=a+a,h=o+o,l=i*s,f=i*c,p=i*h,d=a*c,v=a*h,m=o*h,g=u*s,y=u*c,b=u*h,M=r[0],x=r[1],w=r[2];return t[0]=(1-(d+m))*M,t[1]=(f+b)*M,t[2]=(p-y)*M,t[3]=0,t[4]=(f-b)*x,t[5]=(1-(l+m))*x,t[6]=(v+g)*x,t[7]=0,t[8]=(p+y)*w,t[9]=(v-g)*w,t[10]=(1-(l+d))*w,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}function R(t,n,e,r,i){var a=n[0],o=n[1],u=n[2],s=n[3],c=a+a,h=o+o,l=u+u,f=a*c,p=a*h,d=a*l,v=o*h,m=o*l,g=u*l,y=s*c,b=s*h,M=s*l,x=r[0],w=r[1],_=r[2],k=i[0],T=i[1],A=i[2],Z=(1-(v+g))*x,P=(p+M)*x,N=(d-b)*x,O=(p-M)*w,E=(1-(f+g))*w,I=(m+y)*w,R=(d+b)*_,F=(m-y)*_,C=(1-(f+v))*_;return t[0]=Z,t[1]=P,t[2]=N,t[3]=0,t[4]=O,t[5]=E,t[6]=I,t[7]=0,t[8]=R,t[9]=F,t[10]=C,t[11]=0,t[12]=e[0]+k-(Z*k+O*T+R*A),t[13]=e[1]+T-(P*k+E*T+F*A),t[14]=e[2]+A-(N*k+I*T+C*A),t[15]=1,t}function F(t,n){var e=n[0],r=n[1],i=n[2],a=n[3],o=e+e,u=r+r,s=i+i,c=e*o,h=r*o,l=r*u,f=i*o,p=i*u,d=i*s,v=a*o,m=a*u,g=a*s;return t[0]=1-l-d,t[1]=h+g,t[2]=f-m,t[3]=0,t[4]=h-g,t[5]=1-c-d,t[6]=p+v,t[7]=0,t[8]=f+m,t[9]=p-v,t[10]=1-c-l,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function C(t,n,e,r,i,a,o){var u=1/(e-n),s=1/(i-r),c=1/(a-o);return t[0]=2*a*u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*a*s,t[6]=0,t[7]=0,t[8]=(e+n)*u,t[9]=(i+r)*s,t[10]=(o+a)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=o*a*2*c,t[15]=0,t}function D(t,n,e,r,i){var a,o=1/Math.tan(n/2);return t[0]=o/e,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(a=1/(r-i),t[10]=(i+r)*a,t[14]=2*i*r*a):(t[10]=-1,t[14]=-2*r),t}var q=D;function S(t,n,e,r,i){var a,o=1/Math.tan(n/2);return t[0]=o/e,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(a=1/(r-i),t[10]=i*a,t[14]=i*r*a):(t[10]=-1,t[14]=-r),t}function j(t,n,e,r){var i=Math.tan(n.upDegrees*Math.PI/180),a=Math.tan(n.downDegrees*Math.PI/180),o=Math.tan(n.leftDegrees*Math.PI/180),u=Math.tan(n.rightDegrees*Math.PI/180),s=2/(o+u),c=2/(i+a);return t[0]=s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-((o-u)*s*.5),t[9]=(i-a)*c*.5,t[10]=r/(e-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*e/(e-r),t[15]=0,t}function L(t,n,e,r,i,a,o){var u=1/(n-e),s=1/(r-i),c=1/(a-o);return t[0]=-2*u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*s,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(n+e)*u,t[13]=(i+r)*s,t[14]=(o+a)*c,t[15]=1,t}var W=L;function z(t,n,e,r,i,a,o){var u=1/(n-e),s=1/(r-i),c=1/(a-o);return t[0]=-2*u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*s,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=c,t[11]=0,t[12]=(n+e)*u,t[13]=(i+r)*s,t[14]=a*c,t[15]=1,t}function V(t,n,e,i){var a,o,u,s,h,l,f,p,d,v,m=n[0],g=n[1],y=n[2],b=i[0],M=i[1],x=i[2],w=e[0],_=e[1],k=e[2];return Math.abs(m-w)0&&(h*=p=1/Math.sqrt(p),l*=p,f*=p);var d=s*f-c*l,v=c*h-u*f,m=u*l-s*h;return(p=d*d+v*v+m*m)>0&&(d*=p=1/Math.sqrt(p),v*=p,m*=p),t[0]=d,t[1]=v,t[2]=m,t[3]=0,t[4]=l*m-f*v,t[5]=f*d-h*m,t[6]=h*v-l*d,t[7]=0,t[8]=h,t[9]=l,t[10]=f,t[11]=0,t[12]=i,t[13]=a,t[14]=o,t[15]=1,t}function K(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"}function U(t){return Math.hypot(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function $(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t[3]=n[3]+e[3],t[4]=n[4]+e[4],t[5]=n[5]+e[5],t[6]=n[6]+e[6],t[7]=n[7]+e[7],t[8]=n[8]+e[8],t[9]=n[9]+e[9],t[10]=n[10]+e[10],t[11]=n[11]+e[11],t[12]=n[12]+e[12],t[13]=n[13]+e[13],t[14]=n[14]+e[14],t[15]=n[15]+e[15],t}function H(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t[3]=n[3]-e[3],t[4]=n[4]-e[4],t[5]=n[5]-e[5],t[6]=n[6]-e[6],t[7]=n[7]-e[7],t[8]=n[8]-e[8],t[9]=n[9]-e[9],t[10]=n[10]-e[10],t[11]=n[11]-e[11],t[12]=n[12]-e[12],t[13]=n[13]-e[13],t[14]=n[14]-e[14],t[15]=n[15]-e[15],t}function B(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t[4]=n[4]*e,t[5]=n[5]*e,t[6]=n[6]*e,t[7]=n[7]*e,t[8]=n[8]*e,t[9]=n[9]*e,t[10]=n[10]*e,t[11]=n[11]*e,t[12]=n[12]*e,t[13]=n[13]*e,t[14]=n[14]*e,t[15]=n[15]*e,t}function X(t,n,e,r){return t[0]=n[0]+e[0]*r,t[1]=n[1]+e[1]*r,t[2]=n[2]+e[2]*r,t[3]=n[3]+e[3]*r,t[4]=n[4]+e[4]*r,t[5]=n[5]+e[5]*r,t[6]=n[6]+e[6]*r,t[7]=n[7]+e[7]*r,t[8]=n[8]+e[8]*r,t[9]=n[9]+e[9]*r,t[10]=n[10]+e[10]*r,t[11]=n[11]+e[11]*r,t[12]=n[12]+e[12]*r,t[13]=n[13]+e[13]*r,t[14]=n[14]+e[14]*r,t[15]=n[15]+e[15]*r,t}function Y(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]&&t[9]===n[9]&&t[10]===n[10]&&t[11]===n[11]&&t[12]===n[12]&&t[13]===n[13]&&t[14]===n[14]&&t[15]===n[15]}function J(t,n){var e=t[0],i=t[1],a=t[2],o=t[3],u=t[4],s=t[5],c=t[6],h=t[7],l=t[8],f=t[9],p=t[10],d=t[11],v=t[12],m=t[13],g=t[14],y=t[15],b=n[0],M=n[1],x=n[2],w=n[3],_=n[4],k=n[5],T=n[6],A=n[7],Z=n[8],P=n[9],N=n[10],O=n[11],E=n[12],I=n[13],R=n[14],F=n[15];return Math.abs(e-b)<=r.Ib*Math.max(1,Math.abs(e),Math.abs(b))&&Math.abs(i-M)<=r.Ib*Math.max(1,Math.abs(i),Math.abs(M))&&Math.abs(a-x)<=r.Ib*Math.max(1,Math.abs(a),Math.abs(x))&&Math.abs(o-w)<=r.Ib*Math.max(1,Math.abs(o),Math.abs(w))&&Math.abs(u-_)<=r.Ib*Math.max(1,Math.abs(u),Math.abs(_))&&Math.abs(s-k)<=r.Ib*Math.max(1,Math.abs(s),Math.abs(k))&&Math.abs(c-T)<=r.Ib*Math.max(1,Math.abs(c),Math.abs(T))&&Math.abs(h-A)<=r.Ib*Math.max(1,Math.abs(h),Math.abs(A))&&Math.abs(l-Z)<=r.Ib*Math.max(1,Math.abs(l),Math.abs(Z))&&Math.abs(f-P)<=r.Ib*Math.max(1,Math.abs(f),Math.abs(P))&&Math.abs(p-N)<=r.Ib*Math.max(1,Math.abs(p),Math.abs(N))&&Math.abs(d-O)<=r.Ib*Math.max(1,Math.abs(d),Math.abs(O))&&Math.abs(v-E)<=r.Ib*Math.max(1,Math.abs(v),Math.abs(E))&&Math.abs(m-I)<=r.Ib*Math.max(1,Math.abs(m),Math.abs(I))&&Math.abs(g-R)<=r.Ib*Math.max(1,Math.abs(g),Math.abs(R))&&Math.abs(y-F)<=r.Ib*Math.max(1,Math.abs(y),Math.abs(F))}var Q=d,tt=H},32945:function(t,n,e){"use strict";e.d(n,{Fv:function(){return v},JG:function(){return p},Jp:function(){return c},Su:function(){return l},U_:function(){return h},Ue:function(){return u},al:function(){return f},dC:function(){return d},yY:function(){return s}});var r=e(49685),i=e(35600),a=e(77160),o=e(98333);function u(){var t=new r.WT(4);return r.WT!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t[3]=1,t}function s(t,n,e){var r=Math.sin(e*=.5);return t[0]=r*n[0],t[1]=r*n[1],t[2]=r*n[2],t[3]=Math.cos(e),t}function c(t,n,e){var r=n[0],i=n[1],a=n[2],o=n[3],u=e[0],s=e[1],c=e[2],h=e[3];return t[0]=r*h+o*u+i*c-a*s,t[1]=i*h+o*s+a*u-r*c,t[2]=a*h+o*c+r*s-i*u,t[3]=o*h-r*u-i*s-a*c,t}function h(t,n){var e=n[0],r=n[1],i=n[2],a=n[3],o=e*e+r*r+i*i+a*a,u=o?1/o:0;return t[0]=-e*u,t[1]=-r*u,t[2]=-i*u,t[3]=a*u,t}function l(t,n,e,r){var i=.5*Math.PI/180,a=Math.sin(n*=i),o=Math.cos(n),u=Math.sin(e*=i),s=Math.cos(e),c=Math.sin(r*=i),h=Math.cos(r);return t[0]=a*s*h-o*u*c,t[1]=o*u*h+a*s*c,t[2]=o*s*c-a*u*h,t[3]=o*s*h+a*u*c,t}o.d9;var f=o.al,p=o.JG;o.t8,o.IH;var d=c;o.bA,o.AK,o.t7,o.kE,o.we;var v=o.Fv;o.I6,o.fS,a.Ue(),a.al(1,0,0),a.al(0,1,0),u(),u(),i.Ue()},31437:function(t,n,e){"use strict";e.d(n,{AK:function(){return s},Fv:function(){return u},I6:function(){return c},JG:function(){return o},al:function(){return a}});var r,i=e(49685);function a(t,n){var e=new i.WT(2);return e[0]=t,e[1]=n,e}function o(t,n){return t[0]=n[0],t[1]=n[1],t}function u(t,n){var e=n[0],r=n[1],i=e*e+r*r;return i>0&&(i=1/Math.sqrt(i)),t[0]=n[0]*i,t[1]=n[1]*i,t}function s(t,n){return t[0]*n[0]+t[1]*n[1]}function c(t,n){return t[0]===n[0]&&t[1]===n[1]}r=new i.WT(2),i.WT!=Float32Array&&(r[0]=0,r[1]=0)},77160:function(t,n,e){"use strict";e.d(n,{$X:function(){return l},AK:function(){return v},Fv:function(){return d},IH:function(){return h},JG:function(){return s},Jp:function(){return f},TK:function(){return w},Ue:function(){return i},VC:function(){return M},Zh:function(){return _},al:function(){return u},bA:function(){return p},d9:function(){return a},fF:function(){return y},fS:function(){return x},kC:function(){return m},kE:function(){return o},kK:function(){return b},t7:function(){return g},t8:function(){return c}});var r=e(49685);function i(){var t=new r.WT(3);return r.WT!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t}function a(t){var n=new r.WT(3);return n[0]=t[0],n[1]=t[1],n[2]=t[2],n}function o(t){return Math.hypot(t[0],t[1],t[2])}function u(t,n,e){var i=new r.WT(3);return i[0]=t,i[1]=n,i[2]=e,i}function s(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t}function c(t,n,e,r){return t[0]=n,t[1]=e,t[2]=r,t}function h(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t}function l(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t}function f(t,n,e){return t[0]=n[0]*e[0],t[1]=n[1]*e[1],t[2]=n[2]*e[2],t}function p(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t}function d(t,n){var e=n[0],r=n[1],i=n[2],a=e*e+r*r+i*i;return a>0&&(a=1/Math.sqrt(a)),t[0]=n[0]*a,t[1]=n[1]*a,t[2]=n[2]*a,t}function v(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function m(t,n,e){var r=n[0],i=n[1],a=n[2],o=e[0],u=e[1],s=e[2];return t[0]=i*s-a*u,t[1]=a*o-r*s,t[2]=r*u-i*o,t}function g(t,n,e,r){var i=n[0],a=n[1],o=n[2];return t[0]=i+r*(e[0]-i),t[1]=a+r*(e[1]-a),t[2]=o+r*(e[2]-o),t}function y(t,n,e){var r=n[0],i=n[1],a=n[2],o=e[3]*r+e[7]*i+e[11]*a+e[15];return o=o||1,t[0]=(e[0]*r+e[4]*i+e[8]*a+e[12])/o,t[1]=(e[1]*r+e[5]*i+e[9]*a+e[13])/o,t[2]=(e[2]*r+e[6]*i+e[10]*a+e[14])/o,t}function b(t,n,e){var r=n[0],i=n[1],a=n[2];return t[0]=r*e[0]+i*e[3]+a*e[6],t[1]=r*e[1]+i*e[4]+a*e[7],t[2]=r*e[2]+i*e[5]+a*e[8],t}function M(t,n,e){var r=e[0],i=e[1],a=e[2],o=e[3],u=n[0],s=n[1],c=n[2],h=i*c-a*s,l=a*u-r*c,f=r*s-i*u,p=i*f-a*l,d=a*h-r*f,v=r*l-i*h,m=2*o;return h*=m,l*=m,f*=m,p*=2,d*=2,v*=2,t[0]=u+h+p,t[1]=s+l+d,t[2]=c+f+v,t}function x(t,n){var e=t[0],i=t[1],a=t[2],o=n[0],u=n[1],s=n[2];return Math.abs(e-o)<=r.Ib*Math.max(1,Math.abs(e),Math.abs(o))&&Math.abs(i-u)<=r.Ib*Math.max(1,Math.abs(i),Math.abs(u))&&Math.abs(a-s)<=r.Ib*Math.max(1,Math.abs(a),Math.abs(s))}var w=function(t,n){return Math.hypot(n[0]-t[0],n[1]-t[1],n[2]-t[2])},_=o;i()},98333:function(t,n,e){"use strict";e.d(n,{AK:function(){return d},Fv:function(){return p},I6:function(){return g},IH:function(){return c},JG:function(){return u},Ue:function(){return i},al:function(){return o},bA:function(){return h},d9:function(){return a},fF:function(){return m},fS:function(){return y},kE:function(){return l},t7:function(){return v},t8:function(){return s},we:function(){return f}});var r=e(49685);function i(){var t=new r.WT(4);return r.WT!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0,t[3]=0),t}function a(t){var n=new r.WT(4);return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n}function o(t,n,e,i){var a=new r.WT(4);return a[0]=t,a[1]=n,a[2]=e,a[3]=i,a}function u(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t}function s(t,n,e,r,i){return t[0]=n,t[1]=e,t[2]=r,t[3]=i,t}function c(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t[3]=n[3]+e[3],t}function h(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t}function l(t){return Math.hypot(t[0],t[1],t[2],t[3])}function f(t){var n=t[0],e=t[1],r=t[2],i=t[3];return n*n+e*e+r*r+i*i}function p(t,n){var e=n[0],r=n[1],i=n[2],a=n[3],o=e*e+r*r+i*i+a*a;return o>0&&(o=1/Math.sqrt(o)),t[0]=e*o,t[1]=r*o,t[2]=i*o,t[3]=a*o,t}function d(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]+t[3]*n[3]}function v(t,n,e,r){var i=n[0],a=n[1],o=n[2],u=n[3];return t[0]=i+r*(e[0]-i),t[1]=a+r*(e[1]-a),t[2]=o+r*(e[2]-o),t[3]=u+r*(e[3]-u),t}function m(t,n,e){var r=n[0],i=n[1],a=n[2],o=n[3];return t[0]=e[0]*r+e[4]*i+e[8]*a+e[12]*o,t[1]=e[1]*r+e[5]*i+e[9]*a+e[13]*o,t[2]=e[2]*r+e[6]*i+e[10]*a+e[14]*o,t[3]=e[3]*r+e[7]*i+e[11]*a+e[15]*o,t}function g(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]}function y(t,n){var e=t[0],i=t[1],a=t[2],o=t[3],u=n[0],s=n[1],c=n[2],h=n[3];return Math.abs(e-u)<=r.Ib*Math.max(1,Math.abs(e),Math.abs(u))&&Math.abs(i-s)<=r.Ib*Math.max(1,Math.abs(i),Math.abs(s))&&Math.abs(a-c)<=r.Ib*Math.max(1,Math.abs(a),Math.abs(c))&&Math.abs(o-h)<=r.Ib*Math.max(1,Math.abs(o),Math.abs(h))}i()},35171:function(t){t.exports=function(t){return!!t&&"string"!=typeof t&&(t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))}},86851:function(t,n,e){"use strict";var r=e(35171),i=Array.prototype.concat,a=Array.prototype.slice,o=t.exports=function(t){for(var n=[],e=0,o=t.length;e{let{componentName:t}=e,{getPrefixCls:n}=(0,o.useContext)(r.E_),l=n("empty");switch(t){case"Table":case"List":return o.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE,className:`${l}-small`});case"Table.filter":return null;default:return o.createElement(i.Z,null)}}},32983:function(e,t,n){n.d(t,{Z:function(){return b}});var o=n(67294),r=n(93967),i=n.n(r),l=n(53124),a=n(10110),c=n(10274),u=n(25976),s=n(83559),d=n(87893);let f=e=>{let{componentCls:t,margin:n,marginXS:o,marginXL:r,fontSize:i,lineHeight:l}=e;return{[t]:{marginInline:o,fontSize:i,lineHeight:l,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:o,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:r,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:o,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}};var p=(0,s.I$)("Empty",e=>{let{componentCls:t,controlHeightLG:n,calc:o}=e,r=(0,d.IX)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:o(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:o(n).mul(.875).equal()});return[f(r)]}),m=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};let v=o.createElement(()=>{let[,e]=(0,u.ZP)(),t=new c.C(e.colorBgBase),n=t.toHsl().l<.5?{opacity:.65}:{};return o.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,"empty image"),o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(24 31.67)"},o.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),o.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),o.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),o.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),o.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),o.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),o.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},o.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),o.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},null),g=o.createElement(()=>{let[,e]=(0,u.ZP)(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:i}=e,{borderColor:l,shadowColor:a,contentColor:s}=(0,o.useMemo)(()=>({borderColor:new c.C(t).onBackground(i).toHexShortString(),shadowColor:new c.C(n).onBackground(i).toHexShortString(),contentColor:new c.C(r).onBackground(i).toHexShortString()}),[t,n,r,i]);return o.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,"Simple Empty"),o.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},o.createElement("ellipse",{fill:a,cx:"32",cy:"33",rx:"32",ry:"7"}),o.createElement("g",{fillRule:"nonzero",stroke:l},o.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),o.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:s}))))},null),h=e=>{var{className:t,rootClassName:n,prefixCls:r,image:c=v,description:u,children:s,imageStyle:d,style:f}=e,h=m(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);let{getPrefixCls:b,direction:S,empty:w}=o.useContext(l.E_),E=b("empty",r),[y,Z,C]=p(E),[x]=(0,a.Z)("Empty"),$=void 0!==u?u:null==x?void 0:x.description,I="string"==typeof $?$:"empty",M=null;return M="string"==typeof c?o.createElement("img",{alt:I,src:c}):c,y(o.createElement("div",Object.assign({className:i()(Z,C,E,null==w?void 0:w.className,{[`${E}-normal`]:c===g,[`${E}-rtl`]:"rtl"===S},t,n),style:Object.assign(Object.assign({},null==w?void 0:w.style),f)},h),o.createElement("div",{className:`${E}-image`,style:d},M),$&&o.createElement("div",{className:`${E}-description`},$),s&&o.createElement("div",{className:`${E}-footer`},s)))};h.PRESENTED_IMAGE_DEFAULT=v,h.PRESENTED_IMAGE_SIMPLE=g;var b=h},34041:function(e,t,n){var o=n(67294),r=n(93967),i=n.n(r),l=n(82275),a=n(98423),c=n(87263),u=n(33603),s=n(8745),d=n(9708),f=n(53124),p=n(88258),m=n(98866),v=n(35792),g=n(98675),h=n(65223),b=n(27833),S=n(4173),w=n(25976),E=n(30307),y=n(15030),Z=n(43277),C=n(78642),x=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};let $="SECRET_COMBOBOX_MODE_DO_NOT_USE",I=o.forwardRef((e,t)=>{var n;let r;let{prefixCls:s,bordered:I,className:M,rootClassName:R,getPopupContainer:O,popupClassName:D,dropdownClassName:P,listHeight:N=256,placement:H,listItemHeight:z,size:T,disabled:k,notFoundContent:L,status:j,builtinPlacements:B,dropdownMatchSelectWidth:V,popupMatchSelectWidth:F,direction:A,style:W,allowClear:_,variant:X,dropdownStyle:K,transitionName:Y,tagRender:G,maxCount:q}=e,U=x(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:Q,getPrefixCls:J,renderEmpty:ee,direction:et,virtual:en,popupMatchSelectWidth:eo,popupOverflow:er,select:ei}=o.useContext(f.E_),[,el]=(0,w.ZP)(),ea=null!=z?z:null==el?void 0:el.controlHeight,ec=J("select",s),eu=J(),es=null!=A?A:et,{compactSize:ed,compactItemClassnames:ef}=(0,S.ri)(ec,es),[ep,em]=(0,b.Z)("select",X,I),ev=(0,v.Z)(ec),[eg,eh,eb]=(0,y.Z)(ec,ev),eS=o.useMemo(()=>{let{mode:t}=e;return"combobox"===t?void 0:t===$?"combobox":t},[e.mode]),ew="multiple"===eS||"tags"===eS,eE=(0,C.Z)(e.suffixIcon,e.showArrow),ey=null!==(n=null!=F?F:V)&&void 0!==n?n:eo,{status:eZ,hasFeedback:eC,isFormItemInput:ex,feedbackIcon:e$}=o.useContext(h.aM),eI=(0,d.F)(eZ,j);r=void 0!==L?L:"combobox"===eS?null:(null==ee?void 0:ee("Select"))||o.createElement(p.Z,{componentName:"Select"});let{suffixIcon:eM,itemIcon:eR,removeIcon:eO,clearIcon:eD}=(0,Z.Z)(Object.assign(Object.assign({},U),{multiple:ew,hasFeedback:eC,feedbackIcon:e$,showSuffixIcon:eE,prefixCls:ec,componentName:"Select"})),eP=(0,a.Z)(U,["suffixIcon","itemIcon"]),eN=i()(D||P,{[`${ec}-dropdown-${es}`]:"rtl"===es},R,eb,ev,eh),eH=(0,g.Z)(e=>{var t;return null!==(t=null!=T?T:ed)&&void 0!==t?t:e}),ez=o.useContext(m.Z),eT=i()({[`${ec}-lg`]:"large"===eH,[`${ec}-sm`]:"small"===eH,[`${ec}-rtl`]:"rtl"===es,[`${ec}-${ep}`]:em,[`${ec}-in-form-item`]:ex},(0,d.Z)(ec,eI,eC),ef,null==ei?void 0:ei.className,M,R,eb,ev,eh),ek=o.useMemo(()=>void 0!==H?H:"rtl"===es?"bottomRight":"bottomLeft",[H,es]),[eL]=(0,c.Cn)("SelectLike",null==K?void 0:K.zIndex);return eg(o.createElement(l.ZP,Object.assign({ref:t,virtual:en,showSearch:null==ei?void 0:ei.showSearch},eP,{style:Object.assign(Object.assign({},null==ei?void 0:ei.style),W),dropdownMatchSelectWidth:ey,transitionName:(0,u.m)(eu,"slide-up",Y),builtinPlacements:(0,E.Z)(B,er),listHeight:N,listItemHeight:ea,mode:eS,prefixCls:ec,placement:ek,direction:es,suffixIcon:eM,menuItemSelectedIcon:eR,removeIcon:eO,allowClear:!0===_?{clearIcon:eD}:_,notFoundContent:r,className:eT,getPopupContainer:O||Q,dropdownClassName:eN,disabled:null!=k?k:ez,dropdownStyle:Object.assign(Object.assign({},K),{zIndex:eL}),maxCount:ew?q:void 0,tagRender:ew?G:void 0})))}),M=(0,s.Z)(I);I.SECRET_COMBOBOX_MODE_DO_NOT_USE=$,I.Option=l.Wx,I.OptGroup=l.Xo,I._InternalPanelDoNotUseOrYouWillBeFired=M,t.default=I},30307:function(e,t){let n=e=>{let t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},t),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},t),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},t),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},t),{points:["br","tr"],offset:[0,-4]})}};t.Z=function(e,t){return e||n(t)}},15030:function(e,t,n){n.d(t,{Z:function(){return $}});var o=n(14747),r=n(80110),i=n(83559),l=n(87893),a=n(67771),c=n(33297);let u=e=>{let{optionHeight:t,optionFontSize:n,optionLineHeight:o,optionPadding:r}=e;return{position:"relative",display:"block",minHeight:t,padding:r,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:o,boxSizing:"border-box"}};var s=e=>{let{antCls:t,componentCls:n}=e,r=`${n}-item`,i=`&${t}-slide-up-enter${t}-slide-up-enter-active`,l=`&${t}-slide-up-appear${t}-slide-up-appear-active`,s=`&${t}-slide-up-leave${t}-slide-up-leave-active`,d=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},(0,o.Wf)(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` - ${i}${d}bottomLeft, - ${l}${d}bottomLeft - `]:{animationName:a.fJ},[` - ${i}${d}topLeft, - ${l}${d}topLeft, - ${i}${d}topRight, - ${l}${d}topRight - `]:{animationName:a.Qt},[`${s}${d}bottomLeft`]:{animationName:a.Uw},[` - ${s}${d}topLeft, - ${s}${d}topRight - `]:{animationName:a.ly},"&-hidden":{display:"none"},[r]:Object.assign(Object.assign({},u(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},o.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},u(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},(0,a.oN)(e,"slide-up"),(0,a.oN)(e,"slide-down"),(0,c.Fm)(e,"move-up"),(0,c.Fm)(e,"move-down")]},d=n(16928),f=n(47648);function p(e,t){let{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:i}=e,l=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),a=t?`${n}-${t}`:"";return{[`${n}-single${a}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},(0,o.Wf)(e,!0)),{display:"flex",borderRadius:i,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[` - ${n}-selection-item, - ${n}-selection-placeholder - `]:{padding:0,lineHeight:(0,f.bf)(l),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[`&:after,${n}-selection-item:empty:after,${n}-selection-placeholder:empty:after`]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` - &${n}-show-arrow ${n}-selection-item, - &${n}-show-arrow ${n}-selection-placeholder - `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${(0,f.bf)(r)}`,[`${n}-selection-search-input`]:{height:l},"&:after":{lineHeight:(0,f.bf)(l)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,f.bf)(r)}`,"&:after":{display:"none"}}}}}}}let m=(e,t)=>{let{componentCls:n,antCls:o,controlOutlineWidth:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${o}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${(0,f.bf)(r)} ${t.activeShadowColor}`,outline:0}}}},v=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},m(e,t))}),g=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},m(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),v(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),v(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),h=(e,t)=>{let{componentCls:n,antCls:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${o}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},b=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},h(e,t))}),S=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},h(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),b(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),b(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),w=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-selection-item`]:{color:e.colorWarning}}}});var E=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},g(e)),S(e)),w(e))});let y=e=>{let{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Z=e=>{let{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},C=e=>{let{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:i}=e;return{[n]:Object.assign(Object.assign({},(0,o.Wf)(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},y(e)),Z(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},o.vS),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},o.vS),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},(0,o.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[i]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},[`&:hover ${n}-clear`]:{opacity:1,background:e.colorBgBase}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}},x=e=>{let{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},C(e),function(e){let{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[p(e),p((0,l.IX)(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${(0,f.bf)(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[` - &${t}-show-arrow ${t}-selection-item, - &${t}-show-arrow ${t}-selection-placeholder - `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},p((0,l.IX)(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}(e),(0,d.ZP)(e),s(e),{[`${t}-rtl`]:{direction:"rtl"}},(0,r.c)(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]};var $=(0,i.I$)("Select",(e,t)=>{let{rootPrefixCls:n}=t,o=(0,l.IX)(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[x(o),E(o)]},e=>{let{fontSize:t,lineHeight:n,lineWidth:o,controlHeight:r,controlHeightSM:i,controlHeightLG:l,paddingXXS:a,controlPaddingHorizontal:c,zIndexPopupBase:u,colorText:s,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:p,colorBgContainer:m,colorFillSecondary:v,colorBgContainerDisabled:g,colorTextDisabled:h}=e,b=2*a,S=2*o;return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(a/2),zIndexPopup:u+50,optionSelectedColor:s,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:p,optionPadding:`${(r-t*n)/2}px ${c}px`,optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:m,clearBg:m,singleItemHeightLG:l,multipleItemBg:v,multipleItemBorderColor:"transparent",multipleItemHeight:Math.min(r-b,r-S),multipleItemHeightSM:Math.min(i-b,i-S),multipleItemHeightLG:Math.min(l-b,l-S),multipleSelectorBgDisabled:g,multipleItemColorDisabled:h,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(1.25*e.fontSize)}},{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},16928:function(e,t,n){n.d(t,{_z:function(){return c},gp:function(){return l}});var o=n(47648),r=n(14747),i=n(87893);let l=e=>{let{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:i}=e,l=e.max(e.calc(n).sub(r).equal(),0),a=e.max(e.calc(l).sub(i).equal(),0);return{basePadding:l,containerPadding:a,itemHeight:(0,o.bf)(t),itemLineHeight:(0,o.bf)(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},a=e=>{let{multipleSelectItemHeight:t,selectHeight:n,lineWidth:o}=e,r=e.calc(n).sub(t).div(2).sub(o).equal();return r},c=e=>{let{componentCls:t,iconCls:n,borderRadiusSM:o,motionDurationSlow:i,paddingXS:l,multipleItemColorDisabled:a,multipleItemBorderColorDisabled:c,colorIcon:u,colorIconHover:s,INTERNAL_FIXED_ITEM_MARGIN:d}=e,f=`${t}-selection-overflow`;return{[f]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:d,borderRadius:o,cursor:"default",transition:`font-size ${i}, line-height ${i}, height ${i}`,marginInlineEnd:e.calc(d).mul(2).equal(),paddingInlineStart:l,paddingInlineEnd:e.calc(l).div(2).equal(),[`${t}-disabled&`]:{color:a,borderColor:c,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(l).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,r.Ro)()),{display:"inline-flex",alignItems:"center",color:u,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:s}})}}}},u=(e,t)=>{let{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,i=`${n}-selection-overflow`,u=e.multipleSelectItemHeight,s=a(e),d=t?`${n}-${t}`:"",f=l(e);return{[`${n}-multiple${d}`]:Object.assign(Object.assign({},c(e)),{[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:f.basePadding,paddingBlock:f.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,o.bf)(r)} 0`,lineHeight:(0,o.bf)(u),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:f.itemHeight,lineHeight:(0,o.bf)(f.itemLineHeight)},[`${i}-item + ${i}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${i}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(s).equal(),[` - &-input, - &-mirror - `]:{height:u,fontFamily:e.fontFamily,lineHeight:(0,o.bf)(u),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function s(e,t){let{componentCls:n}=e,o=t?`${n}-${t}`:"",r={[`${n}-multiple${o}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[` - &${n}-show-arrow ${n}-selector, - &${n}-allow-clear ${n}-selector - `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[u(e,t),r]}t.ZP=e=>{let{componentCls:t}=e,n=(0,i.IX)(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),o=(0,i.IX)(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[s(e),s(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},s(o,"lg")]}},43277:function(e,t,n){n.d(t,{Z:function(){return s}});var o=n(67294),r=n(64894),i=n(17012),l=n(62208),a=n(13622),c=n(19267),u=n(25783);function s(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:s,removeIcon:d,loading:f,multiple:p,hasFeedback:m,prefixCls:v,showSuffixIcon:g,feedbackIcon:h,showArrow:b,componentName:S}=e,w=null!=n?n:o.createElement(i.Z,null),E=e=>null!==t||m||b?o.createElement(o.Fragment,null,!1!==g&&e,m&&h):null,y=null;if(void 0!==t)y=E(t);else if(f)y=E(o.createElement(c.Z,{spin:!0}));else{let e=`${v}-suffix`;y=t=>{let{open:n,showSearch:r}=t;return n&&r?E(o.createElement(u.Z,{className:e})):E(o.createElement(a.Z,{className:e}))}}let Z=null;return Z=void 0!==s?s:p?o.createElement(r.Z,null):null,{clearIcon:w,suffixIcon:y,itemIcon:Z,removeIcon:void 0!==d?d:o.createElement(l.Z,null)}}},78642:function(e,t,n){n.d(t,{Z:function(){return o}});function o(e,t){return void 0!==t?t:null!==e}},13622:function(e,t,n){var o=n(83963),r=n(67294),i=n(66023),l=n(30672),a=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,o.Z)({},e,{ref:t,icon:i.Z}))});t.Z=a},88708:function(e,t,n){n.d(t,{ZP:function(){return c}});var o=n(97685),r=n(67294),i=n(98924),l=0,a=(0,i.Z)();function c(e){var t=r.useState(),n=(0,o.Z)(t,2),i=n[0],c=n[1];return r.useEffect(function(){var e;c("rc_select_".concat((a?(e=l,l+=1):e="TEST_OR_SSR",e)))},[]),e||i}},82275:function(e,t,n){n.d(t,{Ac:function(){return U},Xo:function(){return J},Wx:function(){return et},ZP:function(){return eb},lk:function(){return E}});var o=n(87462),r=n(74902),i=n(4942),l=n(1413),a=n(97685),c=n(45987),u=n(71002),s=n(21770),d=n(80334),f=n(67294),p=n(93967),m=n.n(p),v=n(8410),g=n(31131),h=n(42550),b=function(e){var t=e.className,n=e.customizeIcon,o=e.customizeIconProps,r=e.children,i=e.onMouseDown,l=e.onClick,a="function"==typeof n?n(o):n;return f.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),null==i||i(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},void 0!==a?a:f.createElement("span",{className:m()(t.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},r))},S=function(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6?arguments[6]:void 0,a=arguments.length>7?arguments[7]:void 0,c=f.useMemo(function(){return"object"===(0,u.Z)(o)?o.clearIcon:r||void 0},[o,r]);return{allowClear:f.useMemo(function(){return!i&&!!o&&(!!n.length||!!l)&&!("combobox"===a&&""===l)},[o,i,n.length,l,a]),clearIcon:f.createElement(b,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:c},"\xd7")}},w=f.createContext(null);function E(){return f.useContext(w)}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=f.useRef(null),n=f.useRef(null);return f.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]),[function(){return t.current},function(o){(o||null===t.current)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}]}var Z=n(15105),C=n(64217),x=n(39983),$=f.forwardRef(function(e,t){var n,o=e.prefixCls,r=e.id,i=e.inputElement,a=e.disabled,c=e.tabIndex,u=e.autoFocus,s=e.autoComplete,p=e.editable,v=e.activeDescendantId,g=e.value,b=e.maxLength,S=e.onKeyDown,w=e.onMouseDown,E=e.onChange,y=e.onPaste,Z=e.onCompositionStart,C=e.onCompositionEnd,x=e.open,$=e.attrs,I=i||f.createElement("input",null),M=I,R=M.ref,O=M.props,D=O.onKeyDown,P=O.onChange,N=O.onMouseDown,H=O.onCompositionStart,z=O.onCompositionEnd,T=O.style;return(0,d.Kp)(!("maxLength"in I.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),I=f.cloneElement(I,(0,l.Z)((0,l.Z)((0,l.Z)({type:"search"},O),{},{id:r,ref:(0,h.sQ)(t,R),disabled:a,tabIndex:c,autoComplete:s||"off",autoFocus:u,className:m()("".concat(o,"-selection-search-input"),null===(n=I)||void 0===n||null===(n=n.props)||void 0===n?void 0:n.className),role:"combobox","aria-expanded":x||!1,"aria-haspopup":"listbox","aria-owns":"".concat(r,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(r,"_list"),"aria-activedescendant":x?v:void 0},$),{},{value:p?g:"",maxLength:b,readOnly:!p,unselectable:p?null:"on",style:(0,l.Z)((0,l.Z)({},T),{},{opacity:p?null:0}),onKeyDown:function(e){S(e),D&&D(e)},onMouseDown:function(e){w(e),N&&N(e)},onChange:function(e){E(e),P&&P(e)},onCompositionStart:function(e){Z(e),H&&H(e)},onCompositionEnd:function(e){C(e),z&&z(e)},onPaste:y}))});function I(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var M="undefined"!=typeof window&&window.document&&window.document.documentElement;function R(e){return["string","number"].includes((0,u.Z)(e))}function O(e){var t=void 0;return e&&(R(e.title)?t=e.title.toString():R(e.label)&&(t=e.label.toString())),t}function D(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var P=function(e){e.preventDefault(),e.stopPropagation()},N=function(e){var t,n,o=e.id,r=e.prefixCls,l=e.values,c=e.open,u=e.searchValue,s=e.autoClearSearchValue,d=e.inputRef,p=e.placeholder,v=e.disabled,g=e.mode,h=e.showSearch,S=e.autoFocus,w=e.autoComplete,E=e.activeDescendantId,y=e.tabIndex,Z=e.removeIcon,I=e.maxTagCount,R=e.maxTagTextLength,N=e.maxTagPlaceholder,H=void 0===N?function(e){return"+ ".concat(e.length," ...")}:N,z=e.tagRender,T=e.onToggleOpen,k=e.onRemove,L=e.onInputChange,j=e.onInputPaste,B=e.onInputKeyDown,V=e.onInputMouseDown,F=e.onInputCompositionStart,A=e.onInputCompositionEnd,W=f.useRef(null),_=(0,f.useState)(0),X=(0,a.Z)(_,2),K=X[0],Y=X[1],G=(0,f.useState)(!1),q=(0,a.Z)(G,2),U=q[0],Q=q[1],J="".concat(r,"-selection"),ee=c||"multiple"===g&&!1===s||"tags"===g?u:"",et="tags"===g||"multiple"===g&&!1===s||h&&(c||U);t=function(){Y(W.current.scrollWidth)},n=[ee],M?f.useLayoutEffect(t,n):f.useEffect(t,n);var en=function(e,t,n,o,r){return f.createElement("span",{title:O(e),className:m()("".concat(J,"-item"),(0,i.Z)({},"".concat(J,"-item-disabled"),n))},f.createElement("span",{className:"".concat(J,"-item-content")},t),o&&f.createElement(b,{className:"".concat(J,"-item-remove"),onMouseDown:P,onClick:r,customizeIcon:Z},"\xd7"))},eo=function(e,t,n,o,r,i){return f.createElement("span",{onMouseDown:function(e){P(e),T(!c)}},z({label:t,value:e,disabled:n,closable:o,onClose:r,isMaxTag:!!i}))},er=f.createElement("div",{className:"".concat(J,"-search"),style:{width:K},onFocus:function(){Q(!0)},onBlur:function(){Q(!1)}},f.createElement($,{ref:d,open:c,prefixCls:r,id:o,inputElement:null,disabled:v,autoFocus:S,autoComplete:w,editable:et,activeDescendantId:E,value:ee,onKeyDown:B,onMouseDown:V,onChange:L,onPaste:j,onCompositionStart:F,onCompositionEnd:A,tabIndex:y,attrs:(0,C.Z)(e,!0)}),f.createElement("span",{ref:W,className:"".concat(J,"-search-mirror"),"aria-hidden":!0},ee,"\xa0")),ei=f.createElement(x.Z,{prefixCls:"".concat(J,"-overflow"),data:l,renderItem:function(e){var t=e.disabled,n=e.label,o=e.value,r=!v&&!t,i=n;if("number"==typeof R&&("string"==typeof n||"number"==typeof n)){var l=String(i);l.length>R&&(i="".concat(l.slice(0,R),"..."))}var a=function(t){t&&t.stopPropagation(),k(e)};return"function"==typeof z?eo(o,i,t,r,a):en(e,i,t,r,a)},renderRest:function(e){var t="function"==typeof H?H(e):H;return"function"==typeof z?eo(void 0,t,!1,!1,void 0,!0):en({title:t},t,!1)},suffix:er,itemKey:D,maxCount:I});return f.createElement(f.Fragment,null,ei,!l.length&&!ee&&f.createElement("span",{className:"".concat(J,"-placeholder")},p))},H=function(e){var t=e.inputElement,n=e.prefixCls,o=e.id,r=e.inputRef,i=e.disabled,l=e.autoFocus,c=e.autoComplete,u=e.activeDescendantId,s=e.mode,d=e.open,p=e.values,m=e.placeholder,v=e.tabIndex,g=e.showSearch,h=e.searchValue,b=e.activeValue,S=e.maxLength,w=e.onInputKeyDown,E=e.onInputMouseDown,y=e.onInputChange,Z=e.onInputPaste,x=e.onInputCompositionStart,I=e.onInputCompositionEnd,M=e.title,R=f.useState(!1),D=(0,a.Z)(R,2),P=D[0],N=D[1],H="combobox"===s,z=H||g,T=p[0],k=h||"";H&&b&&!P&&(k=b),f.useEffect(function(){H&&N(!1)},[H,b]);var L=("combobox"===s||!!d||!!g)&&!!k,j=void 0===M?O(T):M,B=f.useMemo(function(){return T?null:f.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:L?{visibility:"hidden"}:void 0},m)},[T,L,m,n]);return f.createElement(f.Fragment,null,f.createElement("span",{className:"".concat(n,"-selection-search")},f.createElement($,{ref:r,prefixCls:n,id:o,open:d,inputElement:t,disabled:i,autoFocus:l,autoComplete:c,editable:z,activeDescendantId:u,value:k,onKeyDown:w,onMouseDown:E,onChange:function(e){N(!0),y(e)},onPaste:Z,onCompositionStart:x,onCompositionEnd:I,tabIndex:v,attrs:(0,C.Z)(e,!0),maxLength:H?S:void 0})),!H&&T?f.createElement("span",{className:"".concat(n,"-selection-item"),title:j,style:L?{visibility:"hidden"}:void 0},T.label):null,B)},z=f.forwardRef(function(e,t){var n=(0,f.useRef)(null),r=(0,f.useRef)(!1),i=e.prefixCls,l=e.open,c=e.mode,u=e.showSearch,s=e.tokenWithEnter,d=e.disabled,p=e.autoClearSearchValue,m=e.onSearch,v=e.onSearchSubmit,g=e.onToggleOpen,h=e.onInputKeyDown,b=e.domRef;f.useImperativeHandle(t,function(){return{focus:function(e){n.current.focus(e)},blur:function(){n.current.blur()}}});var S=y(0),w=(0,a.Z)(S,2),E=w[0],C=w[1],x=(0,f.useRef)(null),$=function(e){!1!==m(e,!0,r.current)&&g(!0)},I={inputRef:n,onInputKeyDown:function(e){var t=e.which;(t===Z.Z.UP||t===Z.Z.DOWN)&&e.preventDefault(),h&&h(e),t!==Z.Z.ENTER||"tags"!==c||r.current||l||null==v||v(e.target.value),[Z.Z.ESC,Z.Z.SHIFT,Z.Z.BACKSPACE,Z.Z.TAB,Z.Z.WIN_KEY,Z.Z.ALT,Z.Z.META,Z.Z.WIN_KEY_RIGHT,Z.Z.CTRL,Z.Z.SEMICOLON,Z.Z.EQUALS,Z.Z.CAPS_LOCK,Z.Z.CONTEXT_MENU,Z.Z.F1,Z.Z.F2,Z.Z.F3,Z.Z.F4,Z.Z.F5,Z.Z.F6,Z.Z.F7,Z.Z.F8,Z.Z.F9,Z.Z.F10,Z.Z.F11,Z.Z.F12].includes(t)||g(!0)},onInputMouseDown:function(){C(!0)},onInputChange:function(e){var t=e.target.value;if(s&&x.current&&/[\r\n]/.test(x.current)){var n=x.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,x.current)}x.current=null,$(t)},onInputPaste:function(e){var t=e.clipboardData,n=null==t?void 0:t.getData("text");x.current=n||""},onInputCompositionStart:function(){r.current=!0},onInputCompositionEnd:function(e){r.current=!1,"combobox"!==c&&$(e.target.value)}},M="multiple"===c||"tags"===c?f.createElement(N,(0,o.Z)({},e,I)):f.createElement(H,(0,o.Z)({},e,I));return f.createElement("div",{ref:b,className:"".concat(i,"-selector"),onClick:function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout(function(){n.current.focus()}):n.current.focus())},onMouseDown:function(e){var t=E();e.target===n.current||t||"combobox"===c&&d||e.preventDefault(),("combobox"===c||u&&t)&&l||(l&&!1!==p&&m("",!0,!1),g())}},M)}),T=n(40228),k=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],L=function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"}}},j=f.forwardRef(function(e,t){var n=e.prefixCls,r=(e.disabled,e.visible),a=e.children,u=e.popupElement,s=e.animation,d=e.transitionName,p=e.dropdownStyle,v=e.dropdownClassName,g=e.direction,h=e.placement,b=e.builtinPlacements,S=e.dropdownMatchSelectWidth,w=e.dropdownRender,E=e.dropdownAlign,y=e.getPopupContainer,Z=e.empty,C=e.getTriggerDOMNode,x=e.onPopupVisibleChange,$=e.onPopupMouseEnter,I=(0,c.Z)(e,k),M="".concat(n,"-dropdown"),R=u;w&&(R=w(u));var O=f.useMemo(function(){return b||L(S)},[b,S]),D=s?"".concat(M,"-").concat(s):d,P="number"==typeof S,N=f.useMemo(function(){return P?null:!1===S?"minWidth":"width"},[S,P]),H=p;P&&(H=(0,l.Z)((0,l.Z)({},H),{},{width:S}));var z=f.useRef(null);return f.useImperativeHandle(t,function(){return{getPopupElement:function(){var e;return null===(e=z.current)||void 0===e?void 0:e.popupElement}}}),f.createElement(T.Z,(0,o.Z)({},I,{showAction:x?["click"]:[],hideAction:x?["click"]:[],popupPlacement:h||("rtl"===(void 0===g?"ltr":g)?"bottomRight":"bottomLeft"),builtinPlacements:O,prefixCls:M,popupTransitionName:D,popup:f.createElement("div",{onMouseEnter:$},R),ref:z,stretch:N,popupAlign:E,popupVisible:r,getPopupContainer:y,popupClassName:m()(v,(0,i.Z)({},"".concat(M,"-empty"),Z)),popupStyle:H,getTriggerDOMNode:C,onPopupVisibleChange:x}),a)}),B=n(84506);function V(e,t){var n,o=e.key;return("value"in e&&(n=e.value),null!=o)?o:void 0!==n?n:"rc-index-key-".concat(t)}function F(e){return void 0!==e&&!Number.isNaN(e)}function A(e,t){var n=e||{},o=n.label,r=n.value,i=n.options,l=n.groupLabel,a=o||(t?"children":"label");return{label:a,value:r||"value",options:i||"options",groupLabel:l||a}}function W(e){var t=(0,l.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,d.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var _=function(e,t,n){if(!t||!t.length)return null;var o=!1,i=function e(t,n){var i=(0,B.Z)(n),l=i[0],a=i.slice(1);if(!l)return[t];var c=t.split(l);return o=o||c.length>1,c.reduce(function(t,n){return[].concat((0,r.Z)(t),(0,r.Z)(e(n,a)))},[]).filter(Boolean)}(e,t);return o?void 0!==n?i.slice(0,n):i:null},X=f.createContext(null);function K(e){var t=e.visible,n=e.values;return t?f.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,50).map(function(e){var t=e.label,n=e.value;return["number","string"].includes((0,u.Z)(t))?t:n}).join(", ")),n.length>50?", ...":null):null}var Y=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],G=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],q=function(e){return"tags"===e||"multiple"===e},U=f.forwardRef(function(e,t){var n,u,d,p,E,Z,C,x=e.id,$=e.prefixCls,I=e.className,M=e.showSearch,R=e.tagRender,O=e.direction,D=e.omitDomProps,P=e.displayValues,N=e.onDisplayValuesChange,H=e.emptyOptions,T=e.notFoundContent,k=void 0===T?"Not Found":T,L=e.onClear,B=e.mode,V=e.disabled,A=e.loading,W=e.getInputElement,U=e.getRawInputElement,Q=e.open,J=e.defaultOpen,ee=e.onDropdownVisibleChange,et=e.activeValue,en=e.onActiveValueChange,eo=e.activeDescendantId,er=e.searchValue,ei=e.autoClearSearchValue,el=e.onSearch,ea=e.onSearchSplit,ec=e.tokenSeparators,eu=e.allowClear,es=e.suffixIcon,ed=e.clearIcon,ef=e.OptionList,ep=e.animation,em=e.transitionName,ev=e.dropdownStyle,eg=e.dropdownClassName,eh=e.dropdownMatchSelectWidth,eb=e.dropdownRender,eS=e.dropdownAlign,ew=e.placement,eE=e.builtinPlacements,ey=e.getPopupContainer,eZ=e.showAction,eC=void 0===eZ?[]:eZ,ex=e.onFocus,e$=e.onBlur,eI=e.onKeyUp,eM=e.onKeyDown,eR=e.onMouseDown,eO=(0,c.Z)(e,Y),eD=q(B),eP=(void 0!==M?M:eD)||"combobox"===B,eN=(0,l.Z)({},eO);G.forEach(function(e){delete eN[e]}),null==D||D.forEach(function(e){delete eN[e]});var eH=f.useState(!1),ez=(0,a.Z)(eH,2),eT=ez[0],ek=ez[1];f.useEffect(function(){ek((0,g.Z)())},[]);var eL=f.useRef(null),ej=f.useRef(null),eB=f.useRef(null),eV=f.useRef(null),eF=f.useRef(null),eA=f.useRef(!1),eW=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=f.useState(!1),n=(0,a.Z)(t,2),o=n[0],r=n[1],i=f.useRef(null),l=function(){window.clearTimeout(i.current)};return f.useEffect(function(){return l},[]),[o,function(t,n){l(),i.current=window.setTimeout(function(){r(t),n&&n()},e)},l]}(),e_=(0,a.Z)(eW,3),eX=e_[0],eK=e_[1],eY=e_[2];f.useImperativeHandle(t,function(){var e,t;return{focus:null===(e=eV.current)||void 0===e?void 0:e.focus,blur:null===(t=eV.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=eF.current)||void 0===t?void 0:t.scrollTo(e)},nativeElement:eL.current||ej.current}});var eG=f.useMemo(function(){if("combobox"!==B)return er;var e,t=null===(e=P[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""},[er,B,P]),eq="combobox"===B&&"function"==typeof W&&W()||null,eU="function"==typeof U&&U(),eQ=(0,h.x1)(ej,null==eU||null===(p=eU.props)||void 0===p?void 0:p.ref),eJ=f.useState(!1),e0=(0,a.Z)(eJ,2),e1=e0[0],e2=e0[1];(0,v.Z)(function(){e2(!0)},[]);var e4=(0,s.Z)(!1,{defaultValue:J,value:Q}),e3=(0,a.Z)(e4,2),e7=e3[0],e5=e3[1],e6=!!e1&&e7,e9=!k&&H;(V||e9&&e6&&"combobox"===B)&&(e6=!1);var e8=!e9&&e6,te=f.useCallback(function(e){var t=void 0!==e?e:!e6;V||(e5(t),e6!==t&&(null==ee||ee(t)))},[V,e6,e5,ee]),tt=f.useMemo(function(){return(ec||[]).some(function(e){return["\n","\r\n"].includes(e)})},[ec]),tn=f.useContext(X)||{},to=tn.maxCount,tr=tn.rawValues,ti=function(e,t,n){if(!(eD&&F(to))||!((null==tr?void 0:tr.size)>=to)){var o=!0,r=e;null==en||en(null);var i=_(e,ec,F(to)?to-tr.size:void 0),l=n?null:i;return"combobox"!==B&&l&&(r="",null==ea||ea(l),te(!1),o=!1),el&&eG!==r&&el(r,{source:t?"typing":"effect"}),o}};f.useEffect(function(){e6||eD||"combobox"===B||ti("",!1,!1)},[e6]),f.useEffect(function(){e7&&V&&e5(!1),V&&!eA.current&&eK(!1)},[V]);var tl=y(),ta=(0,a.Z)(tl,2),tc=ta[0],tu=ta[1],ts=f.useRef(!1),td=f.useRef(!1),tf=[];f.useEffect(function(){return function(){tf.forEach(function(e){return clearTimeout(e)}),tf.splice(0,tf.length)}},[]);var tp=f.useState({}),tm=(0,a.Z)(tp,2)[1];eU&&(E=function(e){te(e)}),n=function(){var e;return[eL.current,null===(e=eB.current)||void 0===e?void 0:e.getPopupElement()]},u=!!eU,(d=f.useRef(null)).current={open:e8,triggerOpen:te,customizedTrigger:u},f.useEffect(function(){function e(e){if(null===(t=d.current)||void 0===t||!t.customizedTrigger){var t,o=e.target;o.shadowRoot&&e.composed&&(o=e.composedPath()[0]||o),d.current.open&&n().filter(function(e){return e}).every(function(e){return!e.contains(o)&&e!==o})&&d.current.triggerOpen(!1)}}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}},[]);var tv=f.useMemo(function(){return(0,l.Z)((0,l.Z)({},e),{},{notFoundContent:k,open:e6,triggerOpen:e8,id:x,showSearch:eP,multiple:eD,toggleOpen:te})},[e,k,e8,e6,x,eP,eD,te]),tg=!!es||A;tg&&(Z=f.createElement(b,{className:m()("".concat($,"-arrow"),(0,i.Z)({},"".concat($,"-arrow-loading"),A)),customizeIcon:es,customizeIconProps:{loading:A,searchValue:eG,open:e6,focused:eX,showSearch:eP}}));var th=S($,function(){var e;null==L||L(),null===(e=eV.current)||void 0===e||e.focus(),N([],{type:"clear",values:P}),ti("",!1,!1)},P,eu,ed,V,eG,B),tb=th.allowClear,tS=th.clearIcon,tw=f.createElement(ef,{ref:eF}),tE=m()($,I,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat($,"-focused"),eX),"".concat($,"-multiple"),eD),"".concat($,"-single"),!eD),"".concat($,"-allow-clear"),eu),"".concat($,"-show-arrow"),tg),"".concat($,"-disabled"),V),"".concat($,"-loading"),A),"".concat($,"-open"),e6),"".concat($,"-customize-input"),eq),"".concat($,"-show-search"),eP)),ty=f.createElement(j,{ref:eB,disabled:V,prefixCls:$,visible:e8,popupElement:tw,animation:ep,transitionName:em,dropdownStyle:ev,dropdownClassName:eg,direction:O,dropdownMatchSelectWidth:eh,dropdownRender:eb,dropdownAlign:eS,placement:ew,builtinPlacements:eE,getPopupContainer:ey,empty:H,getTriggerDOMNode:function(e){return ej.current||e},onPopupVisibleChange:E,onPopupMouseEnter:function(){tm({})}},eU?f.cloneElement(eU,{ref:eQ}):f.createElement(z,(0,o.Z)({},e,{domRef:ej,prefixCls:$,inputElement:eq,ref:eV,id:x,showSearch:eP,autoClearSearchValue:ei,mode:B,activeDescendantId:eo,tagRender:R,values:P,open:e6,onToggleOpen:te,activeValue:et,searchValue:eG,onSearch:ti,onSearchSubmit:function(e){e&&e.trim()&&el(e,{source:"submit"})},onRemove:function(e){N(P.filter(function(t){return t!==e}),{type:"remove",values:[e]})},tokenWithEnter:tt})));return C=eU?ty:f.createElement("div",(0,o.Z)({className:tE},eN,{ref:eL,onMouseDown:function(e){var t,n=e.target,o=null===(t=eB.current)||void 0===t?void 0:t.getPopupElement();if(o&&o.contains(n)){var r=setTimeout(function(){var e,t=tf.indexOf(r);-1!==t&&tf.splice(t,1),eY(),eT||o.contains(document.activeElement)||null===(e=eV.current)||void 0===e||e.focus()});tf.push(r)}for(var i=arguments.length,l=Array(i>1?i-1:0),a=1;a=0;c-=1){var u=l[c];if(!u.disabled){l.splice(c,1),a=u;break}}a&&N(l,{type:"remove",values:[a]})}for(var s=arguments.length,d=Array(s>1?s-1:0),f=1;f1?n-1:0),r=1;r=y},[d,y,null==O?void 0:O.size]),V=function(e){e.preventDefault()},A=function(e){var t;null===(t=j.current)||void 0===t||t.scrollTo("number"==typeof e?{index:e}:e)},W=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=L.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];G(e);var n={source:t?"keyboard":"mouse"},o=L[e];if(!o){$(null,-1,n);return}$(o.value,e,n)};(0,f.useEffect)(function(){q(!1!==I?W(0):-1)},[L.length,v]);var U=f.useCallback(function(e){return O.has(e)&&"combobox"!==p},[p,(0,r.Z)(O).toString(),O.size]);(0,f.useEffect)(function(){var e,t=setTimeout(function(){if(!d&&s&&1===O.size){var e=Array.from(O)[0],t=L.findIndex(function(t){return t.data.value===e});-1!==t&&(q(t),A(t))}});return s&&(null===(e=j.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(t)}},[s,v]);var Q=function(e){void 0!==e&&M(e,{selected:!O.has(e)}),d||g(!1)};if(f.useImperativeHandle(t,function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case Z.Z.N:case Z.Z.P:case Z.Z.UP:case Z.Z.DOWN:var o=0;if(t===Z.Z.UP?o=-1:t===Z.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===Z.Z.N?o=1:t===Z.Z.P&&(o=-1)),0!==o){var r=W(Y+o,o);A(r),q(r,!0)}break;case Z.Z.ENTER:var i,l=L[Y];!l||null!=l&&null!==(i=l.data)&&void 0!==i&&i.disabled||B?Q(void 0):Q(l.value),s&&e.preventDefault();break;case Z.Z.ESC:g(!1),s&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){A(e)}}}),0===L.length)return f.createElement("div",{role:"listbox",id:"".concat(u,"_list"),className:"".concat(k,"-empty"),onMouseDown:V},h);var J=Object.keys(D).map(function(e){return D[e]}),ee=function(e){return e.label};function et(e,t){return{role:e.group?"presentation":"option",id:"".concat(u,"_list_").concat(t)}}var ea=function(e){var t=L[e];if(!t)return null;var n=t.data||{},r=n.value,i=t.group,l=(0,C.Z)(n,!0),a=ee(t);return t?f.createElement("div",(0,o.Z)({"aria-label":"string"!=typeof a||i?null:a},l,{key:e},et(t,e),{"aria-selected":U(r)}),r):null},ec={role:"listbox",id:"".concat(u,"_list")};return f.createElement(f.Fragment,null,P&&f.createElement("div",(0,o.Z)({},ec,{style:{height:0,width:0,overflow:"hidden"}}),ea(Y-1),ea(Y),ea(Y+1)),f.createElement(er.Z,{itemKey:"key",ref:j,data:L,height:H,itemHeight:z,fullHeight:!1,onMouseDown:V,onScroll:S,virtual:P,direction:N,innerProps:P?null:ec},function(e,t){var n=e.group,r=e.groupOption,l=e.data,a=e.label,u=e.value,s=l.key;if(n){var d,p=null!==(d=l.title)&&void 0!==d?d:el(a)?a.toString():void 0;return f.createElement("div",{className:m()(k,"".concat(k,"-group"),l.className),title:p},void 0!==a?a:s)}var v=l.disabled,g=l.title,h=(l.children,l.style),S=l.className,w=(0,c.Z)(l,ei),E=(0,eo.Z)(w,J),y=U(u),Z=v||!y&&B,x="".concat(k,"-option"),$=m()(k,x,S,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(x,"-grouped"),r),"".concat(x,"-active"),Y===t&&!Z),"".concat(x,"-disabled"),Z),"".concat(x,"-selected"),y)),I=ee(e),M=!R||"function"==typeof R||y,O="number"==typeof I?I:I||u,D=el(O)?O.toString():void 0;return void 0!==g&&(D=g),f.createElement("div",(0,o.Z)({},(0,C.Z)(E),P?{}:et(e,t),{"aria-selected":y,className:$,title:D,onMouseMove:function(){Y===t||Z||q(t)},onClick:function(){Z||Q(u)},style:h}),f.createElement("div",{className:"".concat(x,"-content")},"function"==typeof T?T(e,{index:t}):O),f.isValidElement(R)||y,M&&f.createElement(b,{className:"".concat(k,"-option-state"),customizeIcon:R,customizeIconProps:{value:u,disabled:Z,isSelected:y}},y?"✓":null))}))}),ec=function(e,t){var n=f.useRef({values:new Map,options:new Map});return[f.useMemo(function(){var o=n.current,r=o.values,i=o.options,a=e.map(function(e){if(void 0===e.label){var t;return(0,l.Z)((0,l.Z)({},e),{},{label:null===(t=r.get(e.value))||void 0===t?void 0:t.label})}return e}),c=new Map,u=new Map;return a.forEach(function(e){c.set(e.value,e),u.set(e.value,t.get(e.value)||i.get(e.value))}),n.current.values=c,n.current.options=u,a},[e,t]),f.useCallback(function(e){return t.get(e)||n.current.options.get(e)},[t])]};function eu(e,t){return I(e).join("").toUpperCase().includes(t)}var es=n(88708),ed=n(50344),ef=["children","value"],ep=["children"];function em(e){var t=f.useRef();return t.current=e,f.useCallback(function(){return t.current.apply(t,arguments)},[])}var ev=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],eg=["inputValue"],eh=f.forwardRef(function(e,t){var n,d=e.id,p=e.mode,m=e.prefixCls,v=e.backfill,g=e.fieldNames,h=e.inputValue,b=e.searchValue,S=e.onSearch,w=e.autoClearSearchValue,E=void 0===w||w,y=e.onSelect,Z=e.onDeselect,C=e.dropdownMatchSelectWidth,x=void 0===C||C,$=e.filterOption,M=e.filterSort,R=e.optionFilterProp,O=e.optionLabelProp,D=e.options,P=e.optionRender,N=e.children,H=e.defaultActiveFirstOption,z=e.menuItemSelectedIcon,T=e.virtual,k=e.direction,L=e.listHeight,j=void 0===L?200:L,B=e.listItemHeight,F=void 0===B?20:B,_=e.labelRender,K=e.value,Y=e.defaultValue,G=e.labelInValue,Q=e.onChange,J=e.maxCount,ee=(0,c.Z)(e,ev),et=(0,es.ZP)(d),en=q(p),eo=!!(!D&&N),er=f.useMemo(function(){return(void 0!==$||"combobox"!==p)&&$},[$,p]),ei=f.useMemo(function(){return A(g,eo)},[JSON.stringify(g),eo]),el=(0,s.Z)("",{value:void 0!==b?b:h,postState:function(e){return e||""}}),eh=(0,a.Z)(el,2),eb=eh[0],eS=eh[1],ew=f.useMemo(function(){var e=D;D||(e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,ed.Z)(t).map(function(t,o){if(!f.isValidElement(t)||!t.type)return null;var r,i,a,u,s,d=t.type.isSelectOptGroup,p=t.key,m=t.props,v=m.children,g=(0,c.Z)(m,ep);return n||!d?(r=t.key,a=(i=t.props).children,u=i.value,s=(0,c.Z)(i,ef),(0,l.Z)({key:r,value:void 0!==u?u:r,children:a},s)):(0,l.Z)((0,l.Z)({key:"__RC_SELECT_GRP__".concat(null===p?o:p,"__"),label:p},g),{},{options:e(v)})}).filter(function(e){return e})}(N));var t=new Map,n=new Map,o=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(r){for(var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=0;l1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,o=t.childrenAsData,r=[],i=A(n,!1),l=i.label,a=i.value,c=i.options,u=i.groupLabel;return!function e(t,n){Array.isArray(t)&&t.forEach(function(t){if(!n&&c in t){var i=t[u];void 0===i&&o&&(i=t.label),r.push({key:V(t,r.length),group:!0,data:t,label:i}),e(t[c],!0)}else{var s=t[a];r.push({key:V(t,r.length),groupOption:n,data:t,label:t[l],value:s})}})}(e,!1),r}(eL,{fieldNames:ei,childrenAsData:eo})},[eL,ei,eo]),eB=function(e){var t=eC(e);if(eM(t),Q&&(t.length!==eD.length||t.some(function(e,t){var n;return(null===(n=eD[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)}))){var n=G?t:t.map(function(e){return e.value}),o=t.map(function(e){return W(eP(e.value))});Q(en?n:n[0],en?o:o[0])}},eV=f.useState(null),eF=(0,a.Z)(eV,2),eA=eF[0],eW=eF[1],e_=f.useState(0),eX=(0,a.Z)(e_,2),eK=eX[0],eY=eX[1],eG=void 0!==H?H:"combobox"!==p,eq=f.useCallback(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.source;eY(t),v&&"combobox"===p&&null!==e&&"keyboard"===(void 0===o?"keyboard":o)&&eW(String(e))},[v,p]),eU=function(e,t,n){var o=function(){var t,n=eP(e);return[G?{label:null==n?void 0:n[ei.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,W(n)]};if(t&&y){var r=o(),i=(0,a.Z)(r,2);y(i[0],i[1])}else if(!t&&Z&&"clear"!==n){var l=o(),c=(0,a.Z)(l,2);Z(c[0],c[1])}},eQ=em(function(e,t){var n=!en||t.selected;eB(n?en?[].concat((0,r.Z)(eD),[e]):[e]:eD.filter(function(t){return t.value!==e})),eU(e,n),"combobox"===p?eW(""):(!q||E)&&(eS(""),eW(""))}),eJ=f.useMemo(function(){var e=!1!==T&&!1!==x;return(0,l.Z)((0,l.Z)({},ew),{},{flattenOptions:ej,onActiveValue:eq,defaultActiveFirstOption:eG,onSelect:eQ,menuItemSelectedIcon:z,rawValues:eH,fieldNames:ei,virtual:e,direction:k,listHeight:j,listItemHeight:F,childrenAsData:eo,maxCount:J,optionRender:P})},[J,ew,ej,eq,eG,eQ,z,eH,ei,T,x,k,j,F,eo,P]);return f.createElement(X.Provider,{value:eJ},f.createElement(U,(0,o.Z)({},ee,{id:et,prefixCls:void 0===m?"rc-select":m,ref:t,omitDomProps:eg,mode:p,displayValues:eN,onDisplayValuesChange:function(e,t){eB(e);var n=t.type,o=t.values;("remove"===n||"clear"===n)&&o.forEach(function(e){eU(e.value,!1,n)})},direction:k,searchValue:eb,onSearch:function(e,t){if(eS(e),eW(null),"submit"===t.source){var n=(e||"").trim();n&&(eB(Array.from(new Set([].concat((0,r.Z)(eH),[n])))),eU(n,!0),eS(""));return}"blur"!==t.source&&("combobox"===p&&eB(e),null==S||S(e))},autoClearSearchValue:E,onSearchSplit:function(e){var t=e;"tags"!==p&&(t=e.map(function(e){var t=ey.get(e);return null==t?void 0:t.value}).filter(function(e){return void 0!==e}));var n=Array.from(new Set([].concat((0,r.Z)(eH),(0,r.Z)(t))));eB(n),n.forEach(function(e){eU(e,!0)})},dropdownMatchSelectWidth:x,OptionList:ea,emptyOptions:!ej.length,activeValue:eA,activeDescendantId:"".concat(et,"_list_").concat(eK)})))});eh.Option=et,eh.OptGroup=J;var eb=eh},85344:function(e,t,n){n.d(t,{Z:function(){return N}});var o=n(87462),r=n(71002),i=n(1413),l=n(4942),a=n(97685),c=n(45987),u=n(93967),s=n.n(u),d=n(9220),f=n(56790),p=n(8410),m=n(67294),v=n(73935),g=m.forwardRef(function(e,t){var n=e.height,r=e.offsetY,a=e.offsetX,c=e.children,u=e.prefixCls,f=e.onInnerResize,p=e.innerProps,v=e.rtl,g=e.extra,h={},b={display:"flex",flexDirection:"column"};return void 0!==r&&(h={height:n,position:"relative",overflow:"hidden"},b=(0,i.Z)((0,i.Z)({},b),{},(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({transform:"translateY(".concat(r,"px)")},v?"marginRight":"marginLeft",-a),"position","absolute"),"left",0),"right",0),"top",0))),m.createElement("div",{style:h},m.createElement(d.Z,{onResize:function(e){e.offsetHeight&&f&&f()}},m.createElement("div",(0,o.Z)({style:b,className:s()((0,l.Z)({},"".concat(u,"-holder-inner"),u)),ref:t},p),c,g)))});function h(e){var t=e.children,n=e.setRef,o=m.useCallback(function(e){n(e)},[]);return m.cloneElement(t,{ref:o})}g.displayName="Filler";var b=n(75164),S=("undefined"==typeof navigator?"undefined":(0,r.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),w=function(e,t,n,o){var r=(0,m.useRef)(!1),i=(0,m.useRef)(null),l=(0,m.useRef)({top:e,bottom:t,left:n,right:o});return l.current.top=e,l.current.bottom=t,l.current.left=n,l.current.right=o,function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e?t<0&&l.current.left||t>0&&l.current.right:t<0&&l.current.top||t>0&&l.current.bottom;return n&&o?(clearTimeout(i.current),r.current=!1):(!o||r.current)&&(clearTimeout(i.current),r.current=!0,i.current=setTimeout(function(){r.current=!1},50)),!r.current&&o}},E=n(34203),y=n(15671),Z=n(43144),C=function(){function e(){(0,y.Z)(this,e),(0,l.Z)(this,"maps",void 0),(0,l.Z)(this,"id",0),this.maps=Object.create(null)}return(0,Z.Z)(e,[{key:"set",value:function(e,t){this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),x=14/15;function $(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]}var I=m.forwardRef(function(e,t){var n=e.prefixCls,o=e.rtl,r=e.scrollOffset,c=e.scrollRange,u=e.onStartMove,d=e.onStopMove,f=e.onScroll,p=e.horizontal,v=e.spinSize,g=e.containerSize,h=e.style,S=e.thumbStyle,w=m.useState(!1),E=(0,a.Z)(w,2),y=E[0],Z=E[1],C=m.useState(null),x=(0,a.Z)(C,2),I=x[0],M=x[1],R=m.useState(null),O=(0,a.Z)(R,2),D=O[0],P=O[1],N=!o,H=m.useRef(),z=m.useRef(),T=m.useState(!1),k=(0,a.Z)(T,2),L=k[0],j=k[1],B=m.useRef(),V=function(){clearTimeout(B.current),j(!0),B.current=setTimeout(function(){j(!1)},3e3)},F=c-g||0,A=g-v||0,W=m.useMemo(function(){return 0===r||0===F?0:r/F*A},[r,F,A]),_=m.useRef({top:W,dragging:y,pageY:I,startTop:D});_.current={top:W,dragging:y,pageY:I,startTop:D};var X=function(e){Z(!0),M($(e,p)),P(_.current.top),u(),e.stopPropagation(),e.preventDefault()};m.useEffect(function(){var e=function(e){e.preventDefault()},t=H.current,n=z.current;return t.addEventListener("touchstart",e),n.addEventListener("touchstart",X),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",X)}},[]);var K=m.useRef();K.current=F;var Y=m.useRef();Y.current=A,m.useEffect(function(){if(y){var e,t=function(t){var n=_.current,o=n.dragging,r=n.pageY,i=n.startTop;b.Z.cancel(e);var l=g/H.current.getBoundingClientRect().height;if(o){var a=($(t,p)-r)*l,c=i;!N&&p?c-=a:c+=a;var u=K.current,s=Y.current,d=Math.ceil((s?c/s:0)*u);d=Math.min(d=Math.max(d,0),u),e=(0,b.Z)(function(){f(d,p)})}},n=function(){Z(!1),d()};return window.addEventListener("mousemove",t),window.addEventListener("touchmove",t),window.addEventListener("mouseup",n),window.addEventListener("touchend",n),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),b.Z.cancel(e)}}},[y]),m.useEffect(function(){V()},[r]),m.useImperativeHandle(t,function(){return{delayHidden:V}});var G="".concat(n,"-scrollbar"),q={position:"absolute",visibility:L?null:"hidden"},U={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return p?(q.height=8,q.left=0,q.right=0,q.bottom=0,U.height="100%",U.width=v,N?U.left=W:U.right=W):(q.width=8,q.top=0,q.bottom=0,N?q.right=0:q.left=0,U.width="100%",U.height=v,U.top=W),m.createElement("div",{ref:H,className:s()(G,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(G,"-horizontal"),p),"".concat(G,"-vertical"),!p),"".concat(G,"-visible"),L)),style:(0,i.Z)((0,i.Z)({},q),h),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:V},m.createElement("div",{ref:z,className:s()("".concat(G,"-thumb"),(0,l.Z)({},"".concat(G,"-thumb-moving"),y)),style:(0,i.Z)((0,i.Z)({},U),S),onMouseDown:X}))});function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),Math.floor(n=Math.max(n,20))}var R=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],O=[],D={overflowY:"auto",overflowAnchor:"none"},P=m.forwardRef(function(e,t){var n,u,y,Z,$,P,N,H,z,T,k,L,j,B,V,F,A,W,_,X,K,Y,G,q,U,Q,J,ee,et,en,eo,er,ei,el,ea,ec,eu=e.prefixCls,es=void 0===eu?"rc-virtual-list":eu,ed=e.className,ef=e.height,ep=e.itemHeight,em=e.fullHeight,ev=e.style,eg=e.data,eh=e.children,eb=e.itemKey,eS=e.virtual,ew=e.direction,eE=e.scrollWidth,ey=e.component,eZ=void 0===ey?"div":ey,eC=e.onScroll,ex=e.onVirtualScroll,e$=e.onVisibleChange,eI=e.innerProps,eM=e.extraRender,eR=e.styles,eO=(0,c.Z)(e,R),eD=m.useCallback(function(e){return"function"==typeof eb?eb(e):null==e?void 0:e[eb]},[eb]),eP=function(e,t,n){var o=m.useState(0),r=(0,a.Z)(o,2),i=r[0],l=r[1],c=(0,m.useRef)(new Map),u=(0,m.useRef)(new C),s=(0,m.useRef)();function d(){b.Z.cancel(s.current)}function f(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];d();var t=function(){c.current.forEach(function(e,t){if(e&&e.offsetParent){var n=(0,E.ZP)(e),o=n.offsetHeight;u.current.get(t)!==o&&u.current.set(t,n.offsetHeight)}}),l(function(e){return e+1})};e?t():s.current=(0,b.Z)(t)}return(0,m.useEffect)(function(){return d},[]),[function(o,r){var i=e(o),l=c.current.get(i);r?(c.current.set(i,r),f()):c.current.delete(i),!l!=!r&&(r?null==t||t(o):null==n||n(o))},f,u.current,i]}(eD,null,null),eN=(0,a.Z)(eP,4),eH=eN[0],ez=eN[1],eT=eN[2],ek=eN[3],eL=!!(!1!==eS&&ef&&ep),ej=m.useMemo(function(){return Object.values(eT.maps).reduce(function(e,t){return e+t},0)},[eT.id,eT.maps]),eB=eL&&eg&&(Math.max(ep*eg.length,ej)>ef||!!eE),eV="rtl"===ew,eF=s()(es,(0,l.Z)({},"".concat(es,"-rtl"),eV),ed),eA=eg||O,eW=(0,m.useRef)(),e_=(0,m.useRef)(),eX=(0,m.useRef)(),eK=(0,m.useState)(0),eY=(0,a.Z)(eK,2),eG=eY[0],eq=eY[1],eU=(0,m.useState)(0),eQ=(0,a.Z)(eU,2),eJ=eQ[0],e0=eQ[1],e1=(0,m.useState)(!1),e2=(0,a.Z)(e1,2),e4=e2[0],e3=e2[1],e7=function(){e3(!0)},e5=function(){e3(!1)};function e6(e){eq(function(t){var n,o=(n="function"==typeof e?e(t):e,Number.isNaN(tg.current)||(n=Math.min(n,tg.current)),n=Math.max(n,0));return eW.current.scrollTop=o,o})}var e9=(0,m.useRef)({start:0,end:eA.length}),e8=(0,m.useRef)(),te=(u=m.useState(eA),Z=(y=(0,a.Z)(u,2))[0],$=y[1],P=m.useState(null),H=(N=(0,a.Z)(P,2))[0],z=N[1],m.useEffect(function(){var e=function(e,t,n){var o,r,i=e.length,l=t.length;if(0===i&&0===l)return null;i=eG&&void 0===t&&(t=l,n=r),u>eG+ef&&void 0===o&&(o=l),r=u}return void 0===t&&(t=0,n=0,o=Math.ceil(ef/ep)),void 0===o&&(o=eA.length-1),{scrollHeight:r,start:t,end:o=Math.min(o+1,eA.length-1),offset:n}},[eB,eL,eG,eA,ek,ef]),to=tn.scrollHeight,tr=tn.start,ti=tn.end,tl=tn.offset;e9.current.start=tr,e9.current.end=ti;var ta=m.useState({width:0,height:ef}),tc=(0,a.Z)(ta,2),tu=tc[0],ts=tc[1],td=(0,m.useRef)(),tf=(0,m.useRef)(),tp=m.useMemo(function(){return M(tu.width,eE)},[tu.width,eE]),tm=m.useMemo(function(){return M(tu.height,to)},[tu.height,to]),tv=to-ef,tg=(0,m.useRef)(tv);tg.current=tv;var th=eG<=0,tb=eG>=tv,tS=eJ<=0,tw=eJ>=eE,tE=w(th,tb,tS,tw),ty=function(){return{x:eV?-eJ:eJ,y:eG}},tZ=(0,m.useRef)(ty()),tC=(0,f.zX)(function(e){if(ex){var t=(0,i.Z)((0,i.Z)({},ty()),e);(tZ.current.x!==t.x||tZ.current.y!==t.y)&&(ex(t),tZ.current=t)}});function tx(e,t){t?((0,v.flushSync)(function(){e0(e)}),tC()):e6(e)}var t$=function(e){var t=e,n=eE?eE-tu.width:0;return Math.min(t=Math.max(t,0),n)},tI=(0,f.zX)(function(e,t){t?((0,v.flushSync)(function(){e0(function(t){return t$(t+(eV?-e:e))})}),tC()):e6(function(t){return t+e})}),tM=(T=!!eE,k=(0,m.useRef)(0),L=(0,m.useRef)(null),j=(0,m.useRef)(null),B=(0,m.useRef)(!1),V=w(th,tb,tS,tw),F=(0,m.useRef)(null),A=(0,m.useRef)(null),[function(e){if(eL){b.Z.cancel(A.current),A.current=(0,b.Z)(function(){F.current=null},2);var t,n=e.deltaX,o=e.deltaY,r=e.shiftKey,i=n,l=o;("sx"===F.current||!F.current&&r&&o&&!n)&&(i=o,l=0,F.current="sx");var a=Math.abs(i),c=Math.abs(l);(null===F.current&&(F.current=T&&a>c?"x":"y"),"y"===F.current)?(t=l,b.Z.cancel(L.current),k.current+=t,j.current=t,V(!1,t)||(S||e.preventDefault(),L.current=(0,b.Z)(function(){var e=B.current?10:1;tI(k.current*e),k.current=0}))):(tI(i,!0),S||e.preventDefault())}},function(e){eL&&(B.current=e.detail===j.current)}]),tR=(0,a.Z)(tM,2),tO=tR[0],tD=tR[1];W=function(e,t,n){return!tE(e,t,n)&&(tO({preventDefault:function(){},deltaX:e?t:0,deltaY:e?0:t}),!0)},X=(0,m.useRef)(!1),K=(0,m.useRef)(0),Y=(0,m.useRef)(0),G=(0,m.useRef)(null),q=(0,m.useRef)(null),U=function(e){if(X.current){var t=Math.ceil(e.touches[0].pageX),n=Math.ceil(e.touches[0].pageY),o=K.current-t,r=Y.current-n,i=Math.abs(o)>Math.abs(r);i?K.current=t:Y.current=n,W(i,i?o:r)&&e.preventDefault(),clearInterval(q.current),q.current=setInterval(function(){i?o*=x:r*=x;var e=Math.floor(i?o:r);(!W(i,e,!0)||.1>=Math.abs(e))&&clearInterval(q.current)},16)}},Q=function(){X.current=!1,_()},J=function(e){_(),1!==e.touches.length||X.current||(X.current=!0,K.current=Math.ceil(e.touches[0].pageX),Y.current=Math.ceil(e.touches[0].pageY),G.current=e.target,G.current.addEventListener("touchmove",U),G.current.addEventListener("touchend",Q))},_=function(){G.current&&(G.current.removeEventListener("touchmove",U),G.current.removeEventListener("touchend",Q))},(0,p.Z)(function(){return eL&&eW.current.addEventListener("touchstart",J),function(){var e;null===(e=eW.current)||void 0===e||e.removeEventListener("touchstart",J),_(),clearInterval(q.current)}},[eL]),(0,p.Z)(function(){function e(e){eL&&e.preventDefault()}var t=eW.current;return t.addEventListener("wheel",tO),t.addEventListener("DOMMouseScroll",tD),t.addEventListener("MozMousePixelScroll",e),function(){t.removeEventListener("wheel",tO),t.removeEventListener("DOMMouseScroll",tD),t.removeEventListener("MozMousePixelScroll",e)}},[eL]),(0,p.Z)(function(){if(eE){var e=t$(eJ);e0(e),tC({x:e})}},[tu.width,eE]);var tP=function(){var e,t;null===(e=td.current)||void 0===e||e.delayHidden(),null===(t=tf.current)||void 0===t||t.delayHidden()},tN=(ee=m.useRef(),et=m.useState(null),eo=(en=(0,a.Z)(et,2))[0],er=en[1],(0,p.Z)(function(){if(eo&&eo.times<10){if(!eW.current){er(function(e){return(0,i.Z)({},e)});return}ez(!0);var e=eo.targetAlign,t=eo.originAlign,n=eo.index,o=eo.offset,r=eW.current.clientHeight,l=!1,a=e,c=null;if(r){for(var u=e||t,s=0,d=0,f=0,p=Math.min(eA.length-1,n),m=0;m<=p;m+=1){var v=eD(eA[m]);d=s;var g=eT.get(v);s=f=d+(void 0===g?ep:g)}for(var h="top"===u?o:r-o,b=p;b>=0;b-=1){var S=eD(eA[b]),w=eT.get(S);if(void 0===w){l=!0;break}if((h-=w)<=0)break}switch(u){case"top":c=d-o;break;case"bottom":c=f-r+o;break;default:var E=eW.current.scrollTop;dE+r&&(a="bottom")}null!==c&&e6(c),c!==eo.lastTop&&(l=!0)}l&&er((0,i.Z)((0,i.Z)({},eo),{},{times:eo.times+1,targetAlign:a,lastTop:c}))}},[eo,eW.current]),function(e){if(null==e){tP();return}if(b.Z.cancel(ee.current),"number"==typeof e)e6(e);else if(e&&"object"===(0,r.Z)(e)){var t,n=e.align;t="index"in e?e.index:eA.findIndex(function(t){return eD(t)===e.key});var o=e.offset;er({times:0,index:t,offset:void 0===o?0:o,originAlign:n})}});m.useImperativeHandle(t,function(){return{nativeElement:eX.current,getScrollInfo:ty,scrollTo:function(e){e&&"object"===(0,r.Z)(e)&&("left"in e||"top"in e)?(void 0!==e.left&&e0(t$(e.left)),tN(e.top)):tN(e)}}}),(0,p.Z)(function(){e$&&e$(eA.slice(tr,ti+1),eA)},[tr,ti,eA]);var tH=(ei=m.useMemo(function(){return[new Map,[]]},[eA,eT.id,ep]),ea=(el=(0,a.Z)(ei,2))[0],ec=el[1],function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=ea.get(e),o=ea.get(t);if(void 0===n||void 0===o)for(var r=eA.length,i=ec.length;ief&&m.createElement(I,{ref:td,prefixCls:es,scrollOffset:eG,scrollRange:to,rtl:eV,onScroll:tx,onStartMove:e7,onStopMove:e5,spinSize:tm,containerSize:tu.height,style:null==eR?void 0:eR.verticalScrollBar,thumbStyle:null==eR?void 0:eR.verticalScrollBarThumb}),eB&&eE>tu.width&&m.createElement(I,{ref:tf,prefixCls:es,scrollOffset:eJ,scrollRange:eE,rtl:eV,onScroll:tx,onStartMove:e7,onStopMove:e5,spinSize:tp,containerSize:tu.width,horizontal:!0,style:null==eR?void 0:eR.horizontalScrollBar,thumbStyle:null==eR?void 0:eR.horizontalScrollBarThumb}))});P.displayName="List";var N=P}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4041-5492a10899848bfe.js b/dbgpt/app/static/web/_next/static/chunks/4041-5492a10899848bfe.js new file mode 100644 index 000000000..ff13bf83f --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/4041-5492a10899848bfe.js @@ -0,0 +1,27 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4041],{80882:function(e,t,n){n.d(t,{Z:function(){return a}});var o=n(87462),r=n(67294),i={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"},l=n(13401),a=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,o.Z)({},e,{ref:t,icon:i}))})},88258:function(e,t,n){var o=n(67294),r=n(53124),i=n(32983);t.Z=e=>{let{componentName:t}=e,{getPrefixCls:n}=(0,o.useContext)(r.E_),l=n("empty");switch(t){case"Table":case"List":return o.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE,className:`${l}-small`});case"Table.filter":return null;default:return o.createElement(i.Z,null)}}},32983:function(e,t,n){n.d(t,{Z:function(){return b}});var o=n(67294),r=n(93967),i=n.n(r),l=n(53124),a=n(10110),c=n(10274),u=n(25976),s=n(83559),d=n(83262);let f=e=>{let{componentCls:t,margin:n,marginXS:o,marginXL:r,fontSize:i,lineHeight:l}=e;return{[t]:{marginInline:o,fontSize:i,lineHeight:l,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:o,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:r,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:o,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}};var p=(0,s.I$)("Empty",e=>{let{componentCls:t,controlHeightLG:n,calc:o}=e,r=(0,d.IX)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:o(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:o(n).mul(.875).equal()});return[f(r)]}),m=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};let v=o.createElement(()=>{let[,e]=(0,u.ZP)(),t=new c.C(e.colorBgBase),n=t.toHsl().l<.5?{opacity:.65}:{};return o.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,"empty image"),o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(24 31.67)"},o.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),o.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),o.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),o.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),o.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),o.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),o.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},o.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),o.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},null),g=o.createElement(()=>{let[,e]=(0,u.ZP)(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:i}=e,{borderColor:l,shadowColor:a,contentColor:s}=(0,o.useMemo)(()=>({borderColor:new c.C(t).onBackground(i).toHexShortString(),shadowColor:new c.C(n).onBackground(i).toHexShortString(),contentColor:new c.C(r).onBackground(i).toHexShortString()}),[t,n,r,i]);return o.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,"Simple Empty"),o.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},o.createElement("ellipse",{fill:a,cx:"32",cy:"33",rx:"32",ry:"7"}),o.createElement("g",{fillRule:"nonzero",stroke:l},o.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),o.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:s}))))},null),h=e=>{var{className:t,rootClassName:n,prefixCls:r,image:c=v,description:u,children:s,imageStyle:d,style:f}=e,h=m(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);let{getPrefixCls:b,direction:S,empty:w}=o.useContext(l.E_),E=b("empty",r),[y,Z,C]=p(E),[x]=(0,a.Z)("Empty"),$=void 0!==u?u:null==x?void 0:x.description,I="string"==typeof $?$:"empty",M=null;return M="string"==typeof c?o.createElement("img",{alt:I,src:c}):c,y(o.createElement("div",Object.assign({className:i()(Z,C,E,null==w?void 0:w.className,{[`${E}-normal`]:c===g,[`${E}-rtl`]:"rtl"===S},t,n),style:Object.assign(Object.assign({},null==w?void 0:w.style),f)},h),o.createElement("div",{className:`${E}-image`,style:d},M),$&&o.createElement("div",{className:`${E}-description`},$),s&&o.createElement("div",{className:`${E}-footer`},s)))};h.PRESENTED_IMAGE_DEFAULT=v,h.PRESENTED_IMAGE_SIMPLE=g;var b=h},34041:function(e,t,n){var o=n(67294),r=n(93967),i=n.n(r),l=n(82275),a=n(98423),c=n(87263),u=n(33603),s=n(8745),d=n(9708),f=n(53124),p=n(88258),m=n(98866),v=n(35792),g=n(98675),h=n(65223),b=n(27833),S=n(4173),w=n(25976),E=n(30307),y=n(15030),Z=n(43277),C=n(78642),x=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};let $="SECRET_COMBOBOX_MODE_DO_NOT_USE",I=o.forwardRef((e,t)=>{var n;let r;let{prefixCls:s,bordered:I,className:M,rootClassName:R,getPopupContainer:O,popupClassName:D,dropdownClassName:P,listHeight:N=256,placement:H,listItemHeight:z,size:T,disabled:k,notFoundContent:L,status:j,builtinPlacements:B,dropdownMatchSelectWidth:V,popupMatchSelectWidth:F,direction:A,style:W,allowClear:_,variant:X,dropdownStyle:K,transitionName:Y,tagRender:G,maxCount:q}=e,U=x(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:Q,getPrefixCls:J,renderEmpty:ee,direction:et,virtual:en,popupMatchSelectWidth:eo,popupOverflow:er,select:ei}=o.useContext(f.E_),[,el]=(0,w.ZP)(),ea=null!=z?z:null==el?void 0:el.controlHeight,ec=J("select",s),eu=J(),es=null!=A?A:et,{compactSize:ed,compactItemClassnames:ef}=(0,S.ri)(ec,es),[ep,em]=(0,b.Z)("select",X,I),ev=(0,v.Z)(ec),[eg,eh,eb]=(0,y.Z)(ec,ev),eS=o.useMemo(()=>{let{mode:t}=e;return"combobox"===t?void 0:t===$?"combobox":t},[e.mode]),ew="multiple"===eS||"tags"===eS,eE=(0,C.Z)(e.suffixIcon,e.showArrow),ey=null!==(n=null!=F?F:V)&&void 0!==n?n:eo,{status:eZ,hasFeedback:eC,isFormItemInput:ex,feedbackIcon:e$}=o.useContext(h.aM),eI=(0,d.F)(eZ,j);r=void 0!==L?L:"combobox"===eS?null:(null==ee?void 0:ee("Select"))||o.createElement(p.Z,{componentName:"Select"});let{suffixIcon:eM,itemIcon:eR,removeIcon:eO,clearIcon:eD}=(0,Z.Z)(Object.assign(Object.assign({},U),{multiple:ew,hasFeedback:eC,feedbackIcon:e$,showSuffixIcon:eE,prefixCls:ec,componentName:"Select"})),eP=(0,a.Z)(U,["suffixIcon","itemIcon"]),eN=i()(D||P,{[`${ec}-dropdown-${es}`]:"rtl"===es},R,eb,ev,eh),eH=(0,g.Z)(e=>{var t;return null!==(t=null!=T?T:ed)&&void 0!==t?t:e}),ez=o.useContext(m.Z),eT=i()({[`${ec}-lg`]:"large"===eH,[`${ec}-sm`]:"small"===eH,[`${ec}-rtl`]:"rtl"===es,[`${ec}-${ep}`]:em,[`${ec}-in-form-item`]:ex},(0,d.Z)(ec,eI,eC),ef,null==ei?void 0:ei.className,M,R,eb,ev,eh),ek=o.useMemo(()=>void 0!==H?H:"rtl"===es?"bottomRight":"bottomLeft",[H,es]),[eL]=(0,c.Cn)("SelectLike",null==K?void 0:K.zIndex);return eg(o.createElement(l.ZP,Object.assign({ref:t,virtual:en,showSearch:null==ei?void 0:ei.showSearch},eP,{style:Object.assign(Object.assign({},null==ei?void 0:ei.style),W),dropdownMatchSelectWidth:ey,transitionName:(0,u.m)(eu,"slide-up",Y),builtinPlacements:(0,E.Z)(B,er),listHeight:N,listItemHeight:ea,mode:eS,prefixCls:ec,placement:ek,direction:es,suffixIcon:eM,menuItemSelectedIcon:eR,removeIcon:eO,allowClear:!0===_?{clearIcon:eD}:_,notFoundContent:r,className:eT,getPopupContainer:O||Q,dropdownClassName:eN,disabled:null!=k?k:ez,dropdownStyle:Object.assign(Object.assign({},K),{zIndex:eL}),maxCount:ew?q:void 0,tagRender:ew?G:void 0})))}),M=(0,s.Z)(I);I.SECRET_COMBOBOX_MODE_DO_NOT_USE=$,I.Option=l.Wx,I.OptGroup=l.Xo,I._InternalPanelDoNotUseOrYouWillBeFired=M,t.default=I},30307:function(e,t){let n=e=>{let t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},t),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},t),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},t),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},t),{points:["br","tr"],offset:[0,-4]})}};t.Z=function(e,t){return e||n(t)}},15030:function(e,t,n){n.d(t,{Z:function(){return $}});var o=n(14747),r=n(80110),i=n(83559),l=n(83262),a=n(67771),c=n(33297);let u=e=>{let{optionHeight:t,optionFontSize:n,optionLineHeight:o,optionPadding:r}=e;return{position:"relative",display:"block",minHeight:t,padding:r,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:o,boxSizing:"border-box"}};var s=e=>{let{antCls:t,componentCls:n}=e,r=`${n}-item`,i=`&${t}-slide-up-enter${t}-slide-up-enter-active`,l=`&${t}-slide-up-appear${t}-slide-up-appear-active`,s=`&${t}-slide-up-leave${t}-slide-up-leave-active`,d=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},(0,o.Wf)(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` + ${i}${d}bottomLeft, + ${l}${d}bottomLeft + `]:{animationName:a.fJ},[` + ${i}${d}topLeft, + ${l}${d}topLeft, + ${i}${d}topRight, + ${l}${d}topRight + `]:{animationName:a.Qt},[`${s}${d}bottomLeft`]:{animationName:a.Uw},[` + ${s}${d}topLeft, + ${s}${d}topRight + `]:{animationName:a.ly},"&-hidden":{display:"none"},[r]:Object.assign(Object.assign({},u(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},o.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},u(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},(0,a.oN)(e,"slide-up"),(0,a.oN)(e,"slide-down"),(0,c.Fm)(e,"move-up"),(0,c.Fm)(e,"move-down")]},d=n(16928),f=n(25446);function p(e,t){let{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:i}=e,l=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),a=t?`${n}-${t}`:"";return{[`${n}-single${a}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},(0,o.Wf)(e,!0)),{display:"flex",borderRadius:i,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[` + ${n}-selection-item, + ${n}-selection-placeholder + `]:{padding:0,lineHeight:(0,f.bf)(l),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[`&:after,${n}-selection-item:empty:after,${n}-selection-placeholder:empty:after`]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + &${n}-show-arrow ${n}-selection-item, + &${n}-show-arrow ${n}-selection-placeholder + `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${(0,f.bf)(r)}`,[`${n}-selection-search-input`]:{height:l},"&:after":{lineHeight:(0,f.bf)(l)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,f.bf)(r)}`,"&:after":{display:"none"}}}}}}}let m=(e,t)=>{let{componentCls:n,antCls:o,controlOutlineWidth:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${o}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${(0,f.bf)(r)} ${t.activeShadowColor}`,outline:0}}}},v=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},m(e,t))}),g=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},m(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),v(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),v(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),h=(e,t)=>{let{componentCls:n,antCls:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${o}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},b=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},h(e,t))}),S=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},h(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),b(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),b(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),w=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-selection-item`]:{color:e.colorWarning}}}});var E=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},g(e)),S(e)),w(e))});let y=e=>{let{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Z=e=>{let{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},C=e=>{let{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:i}=e;return{[n]:Object.assign(Object.assign({},(0,o.Wf)(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},y(e)),Z(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},o.vS),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},o.vS),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},(0,o.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[i]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},[`&:hover ${n}-clear`]:{opacity:1,background:e.colorBgBase}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}},x=e=>{let{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},C(e),function(e){let{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[p(e),p((0,l.IX)(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${(0,f.bf)(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[` + &${t}-show-arrow ${t}-selection-item, + &${t}-show-arrow ${t}-selection-placeholder + `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},p((0,l.IX)(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}(e),(0,d.ZP)(e),s(e),{[`${t}-rtl`]:{direction:"rtl"}},(0,r.c)(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]};var $=(0,i.I$)("Select",(e,t)=>{let{rootPrefixCls:n}=t,o=(0,l.IX)(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[x(o),E(o)]},e=>{let{fontSize:t,lineHeight:n,lineWidth:o,controlHeight:r,controlHeightSM:i,controlHeightLG:l,paddingXXS:a,controlPaddingHorizontal:c,zIndexPopupBase:u,colorText:s,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:p,colorBgContainer:m,colorFillSecondary:v,colorBgContainerDisabled:g,colorTextDisabled:h}=e,b=2*a,S=2*o;return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(a/2),zIndexPopup:u+50,optionSelectedColor:s,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:p,optionPadding:`${(r-t*n)/2}px ${c}px`,optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:m,clearBg:m,singleItemHeightLG:l,multipleItemBg:v,multipleItemBorderColor:"transparent",multipleItemHeight:Math.min(r-b,r-S),multipleItemHeightSM:Math.min(i-b,i-S),multipleItemHeightLG:Math.min(l-b,l-S),multipleSelectorBgDisabled:g,multipleItemColorDisabled:h,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(1.25*e.fontSize)}},{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},16928:function(e,t,n){n.d(t,{_z:function(){return c},gp:function(){return l}});var o=n(25446),r=n(14747),i=n(83262);let l=e=>{let{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:i}=e,l=e.max(e.calc(n).sub(r).equal(),0),a=e.max(e.calc(l).sub(i).equal(),0);return{basePadding:l,containerPadding:a,itemHeight:(0,o.bf)(t),itemLineHeight:(0,o.bf)(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},a=e=>{let{multipleSelectItemHeight:t,selectHeight:n,lineWidth:o}=e,r=e.calc(n).sub(t).div(2).sub(o).equal();return r},c=e=>{let{componentCls:t,iconCls:n,borderRadiusSM:o,motionDurationSlow:i,paddingXS:l,multipleItemColorDisabled:a,multipleItemBorderColorDisabled:c,colorIcon:u,colorIconHover:s,INTERNAL_FIXED_ITEM_MARGIN:d}=e,f=`${t}-selection-overflow`;return{[f]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:d,borderRadius:o,cursor:"default",transition:`font-size ${i}, line-height ${i}, height ${i}`,marginInlineEnd:e.calc(d).mul(2).equal(),paddingInlineStart:l,paddingInlineEnd:e.calc(l).div(2).equal(),[`${t}-disabled&`]:{color:a,borderColor:c,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(l).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,r.Ro)()),{display:"inline-flex",alignItems:"center",color:u,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:s}})}}}},u=(e,t)=>{let{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,i=`${n}-selection-overflow`,u=e.multipleSelectItemHeight,s=a(e),d=t?`${n}-${t}`:"",f=l(e);return{[`${n}-multiple${d}`]:Object.assign(Object.assign({},c(e)),{[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:f.basePadding,paddingBlock:f.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,o.bf)(r)} 0`,lineHeight:(0,o.bf)(u),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:f.itemHeight,lineHeight:(0,o.bf)(f.itemLineHeight)},[`${i}-item + ${i}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${i}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(s).equal(),[` + &-input, + &-mirror + `]:{height:u,fontFamily:e.fontFamily,lineHeight:(0,o.bf)(u),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function s(e,t){let{componentCls:n}=e,o=t?`${n}-${t}`:"",r={[`${n}-multiple${o}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[` + &${n}-show-arrow ${n}-selector, + &${n}-allow-clear ${n}-selector + `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[u(e,t),r]}t.ZP=e=>{let{componentCls:t}=e,n=(0,i.IX)(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),o=(0,i.IX)(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[s(e),s(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},s(o,"lg")]}},43277:function(e,t,n){n.d(t,{Z:function(){return s}});var o=n(67294),r=n(63606),i=n(4340),l=n(97937),a=n(80882),c=n(50888),u=n(68795);function s(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:s,removeIcon:d,loading:f,multiple:p,hasFeedback:m,prefixCls:v,showSuffixIcon:g,feedbackIcon:h,showArrow:b,componentName:S}=e,w=null!=n?n:o.createElement(i.Z,null),E=e=>null!==t||m||b?o.createElement(o.Fragment,null,!1!==g&&e,m&&h):null,y=null;if(void 0!==t)y=E(t);else if(f)y=E(o.createElement(c.Z,{spin:!0}));else{let e=`${v}-suffix`;y=t=>{let{open:n,showSearch:r}=t;return n&&r?E(o.createElement(u.Z,{className:e})):E(o.createElement(a.Z,{className:e}))}}let Z=null;return Z=void 0!==s?s:p?o.createElement(r.Z,null):null,{clearIcon:w,suffixIcon:y,itemIcon:Z,removeIcon:void 0!==d?d:o.createElement(l.Z,null)}}},78642:function(e,t,n){n.d(t,{Z:function(){return o}});function o(e,t){return void 0!==t?t:null!==e}},88708:function(e,t,n){n.d(t,{ZP:function(){return c}});var o=n(97685),r=n(67294),i=n(98924),l=0,a=(0,i.Z)();function c(e){var t=r.useState(),n=(0,o.Z)(t,2),i=n[0],c=n[1];return r.useEffect(function(){var e;c("rc_select_".concat((a?(e=l,l+=1):e="TEST_OR_SSR",e)))},[]),e||i}},82275:function(e,t,n){n.d(t,{Ac:function(){return U},Xo:function(){return J},Wx:function(){return et},ZP:function(){return eb},lk:function(){return E}});var o=n(87462),r=n(74902),i=n(4942),l=n(1413),a=n(97685),c=n(45987),u=n(71002),s=n(21770),d=n(80334),f=n(67294),p=n(93967),m=n.n(p),v=n(8410),g=n(31131),h=n(42550),b=function(e){var t=e.className,n=e.customizeIcon,o=e.customizeIconProps,r=e.children,i=e.onMouseDown,l=e.onClick,a="function"==typeof n?n(o):n;return f.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),null==i||i(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},void 0!==a?a:f.createElement("span",{className:m()(t.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},r))},S=function(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6?arguments[6]:void 0,a=arguments.length>7?arguments[7]:void 0,c=f.useMemo(function(){return"object"===(0,u.Z)(o)?o.clearIcon:r||void 0},[o,r]);return{allowClear:f.useMemo(function(){return!i&&!!o&&(!!n.length||!!l)&&!("combobox"===a&&""===l)},[o,i,n.length,l,a]),clearIcon:f.createElement(b,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:c},"\xd7")}},w=f.createContext(null);function E(){return f.useContext(w)}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=f.useRef(null),n=f.useRef(null);return f.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]),[function(){return t.current},function(o){(o||null===t.current)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}]}var Z=n(15105),C=n(64217),x=n(39983),$=f.forwardRef(function(e,t){var n,o=e.prefixCls,r=e.id,i=e.inputElement,a=e.disabled,c=e.tabIndex,u=e.autoFocus,s=e.autoComplete,p=e.editable,v=e.activeDescendantId,g=e.value,b=e.maxLength,S=e.onKeyDown,w=e.onMouseDown,E=e.onChange,y=e.onPaste,Z=e.onCompositionStart,C=e.onCompositionEnd,x=e.open,$=e.attrs,I=i||f.createElement("input",null),M=I,R=M.ref,O=M.props,D=O.onKeyDown,P=O.onChange,N=O.onMouseDown,H=O.onCompositionStart,z=O.onCompositionEnd,T=O.style;return(0,d.Kp)(!("maxLength"in I.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),I=f.cloneElement(I,(0,l.Z)((0,l.Z)((0,l.Z)({type:"search"},O),{},{id:r,ref:(0,h.sQ)(t,R),disabled:a,tabIndex:c,autoComplete:s||"off",autoFocus:u,className:m()("".concat(o,"-selection-search-input"),null===(n=I)||void 0===n||null===(n=n.props)||void 0===n?void 0:n.className),role:"combobox","aria-expanded":x||!1,"aria-haspopup":"listbox","aria-owns":"".concat(r,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(r,"_list"),"aria-activedescendant":x?v:void 0},$),{},{value:p?g:"",maxLength:b,readOnly:!p,unselectable:p?null:"on",style:(0,l.Z)((0,l.Z)({},T),{},{opacity:p?null:0}),onKeyDown:function(e){S(e),D&&D(e)},onMouseDown:function(e){w(e),N&&N(e)},onChange:function(e){E(e),P&&P(e)},onCompositionStart:function(e){Z(e),H&&H(e)},onCompositionEnd:function(e){C(e),z&&z(e)},onPaste:y}))});function I(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var M="undefined"!=typeof window&&window.document&&window.document.documentElement;function R(e){return["string","number"].includes((0,u.Z)(e))}function O(e){var t=void 0;return e&&(R(e.title)?t=e.title.toString():R(e.label)&&(t=e.label.toString())),t}function D(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var P=function(e){e.preventDefault(),e.stopPropagation()},N=function(e){var t,n,o=e.id,r=e.prefixCls,l=e.values,c=e.open,u=e.searchValue,s=e.autoClearSearchValue,d=e.inputRef,p=e.placeholder,v=e.disabled,g=e.mode,h=e.showSearch,S=e.autoFocus,w=e.autoComplete,E=e.activeDescendantId,y=e.tabIndex,Z=e.removeIcon,I=e.maxTagCount,R=e.maxTagTextLength,N=e.maxTagPlaceholder,H=void 0===N?function(e){return"+ ".concat(e.length," ...")}:N,z=e.tagRender,T=e.onToggleOpen,k=e.onRemove,L=e.onInputChange,j=e.onInputPaste,B=e.onInputKeyDown,V=e.onInputMouseDown,F=e.onInputCompositionStart,A=e.onInputCompositionEnd,W=f.useRef(null),_=(0,f.useState)(0),X=(0,a.Z)(_,2),K=X[0],Y=X[1],G=(0,f.useState)(!1),q=(0,a.Z)(G,2),U=q[0],Q=q[1],J="".concat(r,"-selection"),ee=c||"multiple"===g&&!1===s||"tags"===g?u:"",et="tags"===g||"multiple"===g&&!1===s||h&&(c||U);t=function(){Y(W.current.scrollWidth)},n=[ee],M?f.useLayoutEffect(t,n):f.useEffect(t,n);var en=function(e,t,n,o,r){return f.createElement("span",{title:O(e),className:m()("".concat(J,"-item"),(0,i.Z)({},"".concat(J,"-item-disabled"),n))},f.createElement("span",{className:"".concat(J,"-item-content")},t),o&&f.createElement(b,{className:"".concat(J,"-item-remove"),onMouseDown:P,onClick:r,customizeIcon:Z},"\xd7"))},eo=function(e,t,n,o,r,i){return f.createElement("span",{onMouseDown:function(e){P(e),T(!c)}},z({label:t,value:e,disabled:n,closable:o,onClose:r,isMaxTag:!!i}))},er=f.createElement("div",{className:"".concat(J,"-search"),style:{width:K},onFocus:function(){Q(!0)},onBlur:function(){Q(!1)}},f.createElement($,{ref:d,open:c,prefixCls:r,id:o,inputElement:null,disabled:v,autoFocus:S,autoComplete:w,editable:et,activeDescendantId:E,value:ee,onKeyDown:B,onMouseDown:V,onChange:L,onPaste:j,onCompositionStart:F,onCompositionEnd:A,tabIndex:y,attrs:(0,C.Z)(e,!0)}),f.createElement("span",{ref:W,className:"".concat(J,"-search-mirror"),"aria-hidden":!0},ee,"\xa0")),ei=f.createElement(x.Z,{prefixCls:"".concat(J,"-overflow"),data:l,renderItem:function(e){var t=e.disabled,n=e.label,o=e.value,r=!v&&!t,i=n;if("number"==typeof R&&("string"==typeof n||"number"==typeof n)){var l=String(i);l.length>R&&(i="".concat(l.slice(0,R),"..."))}var a=function(t){t&&t.stopPropagation(),k(e)};return"function"==typeof z?eo(o,i,t,r,a):en(e,i,t,r,a)},renderRest:function(e){var t="function"==typeof H?H(e):H;return"function"==typeof z?eo(void 0,t,!1,!1,void 0,!0):en({title:t},t,!1)},suffix:er,itemKey:D,maxCount:I});return f.createElement(f.Fragment,null,ei,!l.length&&!ee&&f.createElement("span",{className:"".concat(J,"-placeholder")},p))},H=function(e){var t=e.inputElement,n=e.prefixCls,o=e.id,r=e.inputRef,i=e.disabled,l=e.autoFocus,c=e.autoComplete,u=e.activeDescendantId,s=e.mode,d=e.open,p=e.values,m=e.placeholder,v=e.tabIndex,g=e.showSearch,h=e.searchValue,b=e.activeValue,S=e.maxLength,w=e.onInputKeyDown,E=e.onInputMouseDown,y=e.onInputChange,Z=e.onInputPaste,x=e.onInputCompositionStart,I=e.onInputCompositionEnd,M=e.title,R=f.useState(!1),D=(0,a.Z)(R,2),P=D[0],N=D[1],H="combobox"===s,z=H||g,T=p[0],k=h||"";H&&b&&!P&&(k=b),f.useEffect(function(){H&&N(!1)},[H,b]);var L=("combobox"===s||!!d||!!g)&&!!k,j=void 0===M?O(T):M,B=f.useMemo(function(){return T?null:f.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:L?{visibility:"hidden"}:void 0},m)},[T,L,m,n]);return f.createElement(f.Fragment,null,f.createElement("span",{className:"".concat(n,"-selection-search")},f.createElement($,{ref:r,prefixCls:n,id:o,open:d,inputElement:t,disabled:i,autoFocus:l,autoComplete:c,editable:z,activeDescendantId:u,value:k,onKeyDown:w,onMouseDown:E,onChange:function(e){N(!0),y(e)},onPaste:Z,onCompositionStart:x,onCompositionEnd:I,tabIndex:v,attrs:(0,C.Z)(e,!0),maxLength:H?S:void 0})),!H&&T?f.createElement("span",{className:"".concat(n,"-selection-item"),title:j,style:L?{visibility:"hidden"}:void 0},T.label):null,B)},z=f.forwardRef(function(e,t){var n=(0,f.useRef)(null),r=(0,f.useRef)(!1),i=e.prefixCls,l=e.open,c=e.mode,u=e.showSearch,s=e.tokenWithEnter,d=e.disabled,p=e.autoClearSearchValue,m=e.onSearch,v=e.onSearchSubmit,g=e.onToggleOpen,h=e.onInputKeyDown,b=e.domRef;f.useImperativeHandle(t,function(){return{focus:function(e){n.current.focus(e)},blur:function(){n.current.blur()}}});var S=y(0),w=(0,a.Z)(S,2),E=w[0],C=w[1],x=(0,f.useRef)(null),$=function(e){!1!==m(e,!0,r.current)&&g(!0)},I={inputRef:n,onInputKeyDown:function(e){var t=e.which;(t===Z.Z.UP||t===Z.Z.DOWN)&&e.preventDefault(),h&&h(e),t!==Z.Z.ENTER||"tags"!==c||r.current||l||null==v||v(e.target.value),[Z.Z.ESC,Z.Z.SHIFT,Z.Z.BACKSPACE,Z.Z.TAB,Z.Z.WIN_KEY,Z.Z.ALT,Z.Z.META,Z.Z.WIN_KEY_RIGHT,Z.Z.CTRL,Z.Z.SEMICOLON,Z.Z.EQUALS,Z.Z.CAPS_LOCK,Z.Z.CONTEXT_MENU,Z.Z.F1,Z.Z.F2,Z.Z.F3,Z.Z.F4,Z.Z.F5,Z.Z.F6,Z.Z.F7,Z.Z.F8,Z.Z.F9,Z.Z.F10,Z.Z.F11,Z.Z.F12].includes(t)||g(!0)},onInputMouseDown:function(){C(!0)},onInputChange:function(e){var t=e.target.value;if(s&&x.current&&/[\r\n]/.test(x.current)){var n=x.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,x.current)}x.current=null,$(t)},onInputPaste:function(e){var t=e.clipboardData,n=null==t?void 0:t.getData("text");x.current=n||""},onInputCompositionStart:function(){r.current=!0},onInputCompositionEnd:function(e){r.current=!1,"combobox"!==c&&$(e.target.value)}},M="multiple"===c||"tags"===c?f.createElement(N,(0,o.Z)({},e,I)):f.createElement(H,(0,o.Z)({},e,I));return f.createElement("div",{ref:b,className:"".concat(i,"-selector"),onClick:function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout(function(){n.current.focus()}):n.current.focus())},onMouseDown:function(e){var t=E();e.target===n.current||t||"combobox"===c&&d||e.preventDefault(),("combobox"===c||u&&t)&&l||(l&&!1!==p&&m("",!0,!1),g())}},M)}),T=n(40228),k=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],L=function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"}}},j=f.forwardRef(function(e,t){var n=e.prefixCls,r=(e.disabled,e.visible),a=e.children,u=e.popupElement,s=e.animation,d=e.transitionName,p=e.dropdownStyle,v=e.dropdownClassName,g=e.direction,h=e.placement,b=e.builtinPlacements,S=e.dropdownMatchSelectWidth,w=e.dropdownRender,E=e.dropdownAlign,y=e.getPopupContainer,Z=e.empty,C=e.getTriggerDOMNode,x=e.onPopupVisibleChange,$=e.onPopupMouseEnter,I=(0,c.Z)(e,k),M="".concat(n,"-dropdown"),R=u;w&&(R=w(u));var O=f.useMemo(function(){return b||L(S)},[b,S]),D=s?"".concat(M,"-").concat(s):d,P="number"==typeof S,N=f.useMemo(function(){return P?null:!1===S?"minWidth":"width"},[S,P]),H=p;P&&(H=(0,l.Z)((0,l.Z)({},H),{},{width:S}));var z=f.useRef(null);return f.useImperativeHandle(t,function(){return{getPopupElement:function(){var e;return null===(e=z.current)||void 0===e?void 0:e.popupElement}}}),f.createElement(T.Z,(0,o.Z)({},I,{showAction:x?["click"]:[],hideAction:x?["click"]:[],popupPlacement:h||("rtl"===(void 0===g?"ltr":g)?"bottomRight":"bottomLeft"),builtinPlacements:O,prefixCls:M,popupTransitionName:D,popup:f.createElement("div",{onMouseEnter:$},R),ref:z,stretch:N,popupAlign:E,popupVisible:r,getPopupContainer:y,popupClassName:m()(v,(0,i.Z)({},"".concat(M,"-empty"),Z)),popupStyle:H,getTriggerDOMNode:C,onPopupVisibleChange:x}),a)}),B=n(84506);function V(e,t){var n,o=e.key;return("value"in e&&(n=e.value),null!=o)?o:void 0!==n?n:"rc-index-key-".concat(t)}function F(e){return void 0!==e&&!Number.isNaN(e)}function A(e,t){var n=e||{},o=n.label,r=n.value,i=n.options,l=n.groupLabel,a=o||(t?"children":"label");return{label:a,value:r||"value",options:i||"options",groupLabel:l||a}}function W(e){var t=(0,l.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,d.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var _=function(e,t,n){if(!t||!t.length)return null;var o=!1,i=function e(t,n){var i=(0,B.Z)(n),l=i[0],a=i.slice(1);if(!l)return[t];var c=t.split(l);return o=o||c.length>1,c.reduce(function(t,n){return[].concat((0,r.Z)(t),(0,r.Z)(e(n,a)))},[]).filter(Boolean)}(e,t);return o?void 0!==n?i.slice(0,n):i:null},X=f.createContext(null);function K(e){var t=e.visible,n=e.values;return t?f.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,50).map(function(e){var t=e.label,n=e.value;return["number","string"].includes((0,u.Z)(t))?t:n}).join(", ")),n.length>50?", ...":null):null}var Y=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],G=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],q=function(e){return"tags"===e||"multiple"===e},U=f.forwardRef(function(e,t){var n,u,d,p,E,Z,C,x=e.id,$=e.prefixCls,I=e.className,M=e.showSearch,R=e.tagRender,O=e.direction,D=e.omitDomProps,P=e.displayValues,N=e.onDisplayValuesChange,H=e.emptyOptions,T=e.notFoundContent,k=void 0===T?"Not Found":T,L=e.onClear,B=e.mode,V=e.disabled,A=e.loading,W=e.getInputElement,U=e.getRawInputElement,Q=e.open,J=e.defaultOpen,ee=e.onDropdownVisibleChange,et=e.activeValue,en=e.onActiveValueChange,eo=e.activeDescendantId,er=e.searchValue,ei=e.autoClearSearchValue,el=e.onSearch,ea=e.onSearchSplit,ec=e.tokenSeparators,eu=e.allowClear,es=e.suffixIcon,ed=e.clearIcon,ef=e.OptionList,ep=e.animation,em=e.transitionName,ev=e.dropdownStyle,eg=e.dropdownClassName,eh=e.dropdownMatchSelectWidth,eb=e.dropdownRender,eS=e.dropdownAlign,ew=e.placement,eE=e.builtinPlacements,ey=e.getPopupContainer,eZ=e.showAction,eC=void 0===eZ?[]:eZ,ex=e.onFocus,e$=e.onBlur,eI=e.onKeyUp,eM=e.onKeyDown,eR=e.onMouseDown,eO=(0,c.Z)(e,Y),eD=q(B),eP=(void 0!==M?M:eD)||"combobox"===B,eN=(0,l.Z)({},eO);G.forEach(function(e){delete eN[e]}),null==D||D.forEach(function(e){delete eN[e]});var eH=f.useState(!1),ez=(0,a.Z)(eH,2),eT=ez[0],ek=ez[1];f.useEffect(function(){ek((0,g.Z)())},[]);var eL=f.useRef(null),ej=f.useRef(null),eB=f.useRef(null),eV=f.useRef(null),eF=f.useRef(null),eA=f.useRef(!1),eW=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=f.useState(!1),n=(0,a.Z)(t,2),o=n[0],r=n[1],i=f.useRef(null),l=function(){window.clearTimeout(i.current)};return f.useEffect(function(){return l},[]),[o,function(t,n){l(),i.current=window.setTimeout(function(){r(t),n&&n()},e)},l]}(),e_=(0,a.Z)(eW,3),eX=e_[0],eK=e_[1],eY=e_[2];f.useImperativeHandle(t,function(){var e,t;return{focus:null===(e=eV.current)||void 0===e?void 0:e.focus,blur:null===(t=eV.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=eF.current)||void 0===t?void 0:t.scrollTo(e)},nativeElement:eL.current||ej.current}});var eG=f.useMemo(function(){if("combobox"!==B)return er;var e,t=null===(e=P[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""},[er,B,P]),eq="combobox"===B&&"function"==typeof W&&W()||null,eU="function"==typeof U&&U(),eQ=(0,h.x1)(ej,null==eU||null===(p=eU.props)||void 0===p?void 0:p.ref),eJ=f.useState(!1),e0=(0,a.Z)(eJ,2),e1=e0[0],e2=e0[1];(0,v.Z)(function(){e2(!0)},[]);var e4=(0,s.Z)(!1,{defaultValue:J,value:Q}),e3=(0,a.Z)(e4,2),e7=e3[0],e5=e3[1],e6=!!e1&&e7,e9=!k&&H;(V||e9&&e6&&"combobox"===B)&&(e6=!1);var e8=!e9&&e6,te=f.useCallback(function(e){var t=void 0!==e?e:!e6;V||(e5(t),e6!==t&&(null==ee||ee(t)))},[V,e6,e5,ee]),tt=f.useMemo(function(){return(ec||[]).some(function(e){return["\n","\r\n"].includes(e)})},[ec]),tn=f.useContext(X)||{},to=tn.maxCount,tr=tn.rawValues,ti=function(e,t,n){if(!(eD&&F(to))||!((null==tr?void 0:tr.size)>=to)){var o=!0,r=e;null==en||en(null);var i=_(e,ec,F(to)?to-tr.size:void 0),l=n?null:i;return"combobox"!==B&&l&&(r="",null==ea||ea(l),te(!1),o=!1),el&&eG!==r&&el(r,{source:t?"typing":"effect"}),o}};f.useEffect(function(){e6||eD||"combobox"===B||ti("",!1,!1)},[e6]),f.useEffect(function(){e7&&V&&e5(!1),V&&!eA.current&&eK(!1)},[V]);var tl=y(),ta=(0,a.Z)(tl,2),tc=ta[0],tu=ta[1],ts=f.useRef(!1),td=f.useRef(!1),tf=[];f.useEffect(function(){return function(){tf.forEach(function(e){return clearTimeout(e)}),tf.splice(0,tf.length)}},[]);var tp=f.useState({}),tm=(0,a.Z)(tp,2)[1];eU&&(E=function(e){te(e)}),n=function(){var e;return[eL.current,null===(e=eB.current)||void 0===e?void 0:e.getPopupElement()]},u=!!eU,(d=f.useRef(null)).current={open:e8,triggerOpen:te,customizedTrigger:u},f.useEffect(function(){function e(e){if(null===(t=d.current)||void 0===t||!t.customizedTrigger){var t,o=e.target;o.shadowRoot&&e.composed&&(o=e.composedPath()[0]||o),d.current.open&&n().filter(function(e){return e}).every(function(e){return!e.contains(o)&&e!==o})&&d.current.triggerOpen(!1)}}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}},[]);var tv=f.useMemo(function(){return(0,l.Z)((0,l.Z)({},e),{},{notFoundContent:k,open:e6,triggerOpen:e8,id:x,showSearch:eP,multiple:eD,toggleOpen:te})},[e,k,e8,e6,x,eP,eD,te]),tg=!!es||A;tg&&(Z=f.createElement(b,{className:m()("".concat($,"-arrow"),(0,i.Z)({},"".concat($,"-arrow-loading"),A)),customizeIcon:es,customizeIconProps:{loading:A,searchValue:eG,open:e6,focused:eX,showSearch:eP}}));var th=S($,function(){var e;null==L||L(),null===(e=eV.current)||void 0===e||e.focus(),N([],{type:"clear",values:P}),ti("",!1,!1)},P,eu,ed,V,eG,B),tb=th.allowClear,tS=th.clearIcon,tw=f.createElement(ef,{ref:eF}),tE=m()($,I,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat($,"-focused"),eX),"".concat($,"-multiple"),eD),"".concat($,"-single"),!eD),"".concat($,"-allow-clear"),eu),"".concat($,"-show-arrow"),tg),"".concat($,"-disabled"),V),"".concat($,"-loading"),A),"".concat($,"-open"),e6),"".concat($,"-customize-input"),eq),"".concat($,"-show-search"),eP)),ty=f.createElement(j,{ref:eB,disabled:V,prefixCls:$,visible:e8,popupElement:tw,animation:ep,transitionName:em,dropdownStyle:ev,dropdownClassName:eg,direction:O,dropdownMatchSelectWidth:eh,dropdownRender:eb,dropdownAlign:eS,placement:ew,builtinPlacements:eE,getPopupContainer:ey,empty:H,getTriggerDOMNode:function(e){return ej.current||e},onPopupVisibleChange:E,onPopupMouseEnter:function(){tm({})}},eU?f.cloneElement(eU,{ref:eQ}):f.createElement(z,(0,o.Z)({},e,{domRef:ej,prefixCls:$,inputElement:eq,ref:eV,id:x,showSearch:eP,autoClearSearchValue:ei,mode:B,activeDescendantId:eo,tagRender:R,values:P,open:e6,onToggleOpen:te,activeValue:et,searchValue:eG,onSearch:ti,onSearchSubmit:function(e){e&&e.trim()&&el(e,{source:"submit"})},onRemove:function(e){N(P.filter(function(t){return t!==e}),{type:"remove",values:[e]})},tokenWithEnter:tt})));return C=eU?ty:f.createElement("div",(0,o.Z)({className:tE},eN,{ref:eL,onMouseDown:function(e){var t,n=e.target,o=null===(t=eB.current)||void 0===t?void 0:t.getPopupElement();if(o&&o.contains(n)){var r=setTimeout(function(){var e,t=tf.indexOf(r);-1!==t&&tf.splice(t,1),eY(),eT||o.contains(document.activeElement)||null===(e=eV.current)||void 0===e||e.focus()});tf.push(r)}for(var i=arguments.length,l=Array(i>1?i-1:0),a=1;a=0;c-=1){var u=l[c];if(!u.disabled){l.splice(c,1),a=u;break}}a&&N(l,{type:"remove",values:[a]})}for(var s=arguments.length,d=Array(s>1?s-1:0),f=1;f1?n-1:0),r=1;r=y},[d,y,null==O?void 0:O.size]),V=function(e){e.preventDefault()},A=function(e){var t;null===(t=j.current)||void 0===t||t.scrollTo("number"==typeof e?{index:e}:e)},W=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=L.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];G(e);var n={source:t?"keyboard":"mouse"},o=L[e];if(!o){$(null,-1,n);return}$(o.value,e,n)};(0,f.useEffect)(function(){q(!1!==I?W(0):-1)},[L.length,v]);var U=f.useCallback(function(e){return O.has(e)&&"combobox"!==p},[p,(0,r.Z)(O).toString(),O.size]);(0,f.useEffect)(function(){var e,t=setTimeout(function(){if(!d&&s&&1===O.size){var e=Array.from(O)[0],t=L.findIndex(function(t){return t.data.value===e});-1!==t&&(q(t),A(t))}});return s&&(null===(e=j.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(t)}},[s,v]);var Q=function(e){void 0!==e&&M(e,{selected:!O.has(e)}),d||g(!1)};if(f.useImperativeHandle(t,function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case Z.Z.N:case Z.Z.P:case Z.Z.UP:case Z.Z.DOWN:var o=0;if(t===Z.Z.UP?o=-1:t===Z.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===Z.Z.N?o=1:t===Z.Z.P&&(o=-1)),0!==o){var r=W(Y+o,o);A(r),q(r,!0)}break;case Z.Z.ENTER:var i,l=L[Y];!l||null!=l&&null!==(i=l.data)&&void 0!==i&&i.disabled||B?Q(void 0):Q(l.value),s&&e.preventDefault();break;case Z.Z.ESC:g(!1),s&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){A(e)}}}),0===L.length)return f.createElement("div",{role:"listbox",id:"".concat(u,"_list"),className:"".concat(k,"-empty"),onMouseDown:V},h);var J=Object.keys(D).map(function(e){return D[e]}),ee=function(e){return e.label};function et(e,t){return{role:e.group?"presentation":"option",id:"".concat(u,"_list_").concat(t)}}var ea=function(e){var t=L[e];if(!t)return null;var n=t.data||{},r=n.value,i=t.group,l=(0,C.Z)(n,!0),a=ee(t);return t?f.createElement("div",(0,o.Z)({"aria-label":"string"!=typeof a||i?null:a},l,{key:e},et(t,e),{"aria-selected":U(r)}),r):null},ec={role:"listbox",id:"".concat(u,"_list")};return f.createElement(f.Fragment,null,P&&f.createElement("div",(0,o.Z)({},ec,{style:{height:0,width:0,overflow:"hidden"}}),ea(Y-1),ea(Y),ea(Y+1)),f.createElement(er.Z,{itemKey:"key",ref:j,data:L,height:H,itemHeight:z,fullHeight:!1,onMouseDown:V,onScroll:S,virtual:P,direction:N,innerProps:P?null:ec},function(e,t){var n=e.group,r=e.groupOption,l=e.data,a=e.label,u=e.value,s=l.key;if(n){var d,p=null!==(d=l.title)&&void 0!==d?d:el(a)?a.toString():void 0;return f.createElement("div",{className:m()(k,"".concat(k,"-group"),l.className),title:p},void 0!==a?a:s)}var v=l.disabled,g=l.title,h=(l.children,l.style),S=l.className,w=(0,c.Z)(l,ei),E=(0,eo.Z)(w,J),y=U(u),Z=v||!y&&B,x="".concat(k,"-option"),$=m()(k,x,S,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(x,"-grouped"),r),"".concat(x,"-active"),Y===t&&!Z),"".concat(x,"-disabled"),Z),"".concat(x,"-selected"),y)),I=ee(e),M=!R||"function"==typeof R||y,O="number"==typeof I?I:I||u,D=el(O)?O.toString():void 0;return void 0!==g&&(D=g),f.createElement("div",(0,o.Z)({},(0,C.Z)(E),P?{}:et(e,t),{"aria-selected":y,className:$,title:D,onMouseMove:function(){Y===t||Z||q(t)},onClick:function(){Z||Q(u)},style:h}),f.createElement("div",{className:"".concat(x,"-content")},"function"==typeof T?T(e,{index:t}):O),f.isValidElement(R)||y,M&&f.createElement(b,{className:"".concat(k,"-option-state"),customizeIcon:R,customizeIconProps:{value:u,disabled:Z,isSelected:y}},y?"✓":null))}))}),ec=function(e,t){var n=f.useRef({values:new Map,options:new Map});return[f.useMemo(function(){var o=n.current,r=o.values,i=o.options,a=e.map(function(e){if(void 0===e.label){var t;return(0,l.Z)((0,l.Z)({},e),{},{label:null===(t=r.get(e.value))||void 0===t?void 0:t.label})}return e}),c=new Map,u=new Map;return a.forEach(function(e){c.set(e.value,e),u.set(e.value,t.get(e.value)||i.get(e.value))}),n.current.values=c,n.current.options=u,a},[e,t]),f.useCallback(function(e){return t.get(e)||n.current.options.get(e)},[t])]};function eu(e,t){return I(e).join("").toUpperCase().includes(t)}var es=n(88708),ed=n(50344),ef=["children","value"],ep=["children"];function em(e){var t=f.useRef();return t.current=e,f.useCallback(function(){return t.current.apply(t,arguments)},[])}var ev=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],eg=["inputValue"],eh=f.forwardRef(function(e,t){var n,d=e.id,p=e.mode,m=e.prefixCls,v=e.backfill,g=e.fieldNames,h=e.inputValue,b=e.searchValue,S=e.onSearch,w=e.autoClearSearchValue,E=void 0===w||w,y=e.onSelect,Z=e.onDeselect,C=e.dropdownMatchSelectWidth,x=void 0===C||C,$=e.filterOption,M=e.filterSort,R=e.optionFilterProp,O=e.optionLabelProp,D=e.options,P=e.optionRender,N=e.children,H=e.defaultActiveFirstOption,z=e.menuItemSelectedIcon,T=e.virtual,k=e.direction,L=e.listHeight,j=void 0===L?200:L,B=e.listItemHeight,F=void 0===B?20:B,_=e.labelRender,K=e.value,Y=e.defaultValue,G=e.labelInValue,Q=e.onChange,J=e.maxCount,ee=(0,c.Z)(e,ev),et=(0,es.ZP)(d),en=q(p),eo=!!(!D&&N),er=f.useMemo(function(){return(void 0!==$||"combobox"!==p)&&$},[$,p]),ei=f.useMemo(function(){return A(g,eo)},[JSON.stringify(g),eo]),el=(0,s.Z)("",{value:void 0!==b?b:h,postState:function(e){return e||""}}),eh=(0,a.Z)(el,2),eb=eh[0],eS=eh[1],ew=f.useMemo(function(){var e=D;D||(e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,ed.Z)(t).map(function(t,o){if(!f.isValidElement(t)||!t.type)return null;var r,i,a,u,s,d=t.type.isSelectOptGroup,p=t.key,m=t.props,v=m.children,g=(0,c.Z)(m,ep);return n||!d?(r=t.key,a=(i=t.props).children,u=i.value,s=(0,c.Z)(i,ef),(0,l.Z)({key:r,value:void 0!==u?u:r,children:a},s)):(0,l.Z)((0,l.Z)({key:"__RC_SELECT_GRP__".concat(null===p?o:p,"__"),label:p},g),{},{options:e(v)})}).filter(function(e){return e})}(N));var t=new Map,n=new Map,o=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(r){for(var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=0;l1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,o=t.childrenAsData,r=[],i=A(n,!1),l=i.label,a=i.value,c=i.options,u=i.groupLabel;return!function e(t,n){Array.isArray(t)&&t.forEach(function(t){if(!n&&c in t){var i=t[u];void 0===i&&o&&(i=t.label),r.push({key:V(t,r.length),group:!0,data:t,label:i}),e(t[c],!0)}else{var s=t[a];r.push({key:V(t,r.length),groupOption:n,data:t,label:t[l],value:s})}})}(e,!1),r}(eL,{fieldNames:ei,childrenAsData:eo})},[eL,ei,eo]),eB=function(e){var t=eC(e);if(eM(t),Q&&(t.length!==eD.length||t.some(function(e,t){var n;return(null===(n=eD[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)}))){var n=G?t:t.map(function(e){return e.value}),o=t.map(function(e){return W(eP(e.value))});Q(en?n:n[0],en?o:o[0])}},eV=f.useState(null),eF=(0,a.Z)(eV,2),eA=eF[0],eW=eF[1],e_=f.useState(0),eX=(0,a.Z)(e_,2),eK=eX[0],eY=eX[1],eG=void 0!==H?H:"combobox"!==p,eq=f.useCallback(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.source;eY(t),v&&"combobox"===p&&null!==e&&"keyboard"===(void 0===o?"keyboard":o)&&eW(String(e))},[v,p]),eU=function(e,t,n){var o=function(){var t,n=eP(e);return[G?{label:null==n?void 0:n[ei.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,W(n)]};if(t&&y){var r=o(),i=(0,a.Z)(r,2);y(i[0],i[1])}else if(!t&&Z&&"clear"!==n){var l=o(),c=(0,a.Z)(l,2);Z(c[0],c[1])}},eQ=em(function(e,t){var n=!en||t.selected;eB(n?en?[].concat((0,r.Z)(eD),[e]):[e]:eD.filter(function(t){return t.value!==e})),eU(e,n),"combobox"===p?eW(""):(!q||E)&&(eS(""),eW(""))}),eJ=f.useMemo(function(){var e=!1!==T&&!1!==x;return(0,l.Z)((0,l.Z)({},ew),{},{flattenOptions:ej,onActiveValue:eq,defaultActiveFirstOption:eG,onSelect:eQ,menuItemSelectedIcon:z,rawValues:eH,fieldNames:ei,virtual:e,direction:k,listHeight:j,listItemHeight:F,childrenAsData:eo,maxCount:J,optionRender:P})},[J,ew,ej,eq,eG,eQ,z,eH,ei,T,x,k,j,F,eo,P]);return f.createElement(X.Provider,{value:eJ},f.createElement(U,(0,o.Z)({},ee,{id:et,prefixCls:void 0===m?"rc-select":m,ref:t,omitDomProps:eg,mode:p,displayValues:eN,onDisplayValuesChange:function(e,t){eB(e);var n=t.type,o=t.values;("remove"===n||"clear"===n)&&o.forEach(function(e){eU(e.value,!1,n)})},direction:k,searchValue:eb,onSearch:function(e,t){if(eS(e),eW(null),"submit"===t.source){var n=(e||"").trim();n&&(eB(Array.from(new Set([].concat((0,r.Z)(eH),[n])))),eU(n,!0),eS(""));return}"blur"!==t.source&&("combobox"===p&&eB(e),null==S||S(e))},autoClearSearchValue:E,onSearchSplit:function(e){var t=e;"tags"!==p&&(t=e.map(function(e){var t=ey.get(e);return null==t?void 0:t.value}).filter(function(e){return void 0!==e}));var n=Array.from(new Set([].concat((0,r.Z)(eH),(0,r.Z)(t))));eB(n),n.forEach(function(e){eU(e,!0)})},dropdownMatchSelectWidth:x,OptionList:ea,emptyOptions:!ej.length,activeValue:eA,activeDescendantId:"".concat(et,"_list_").concat(eK)})))});eh.Option=et,eh.OptGroup=J;var eb=eh},85344:function(e,t,n){n.d(t,{Z:function(){return N}});var o=n(87462),r=n(71002),i=n(1413),l=n(4942),a=n(97685),c=n(45987),u=n(93967),s=n.n(u),d=n(9220),f=n(56790),p=n(8410),m=n(67294),v=n(73935),g=m.forwardRef(function(e,t){var n=e.height,r=e.offsetY,a=e.offsetX,c=e.children,u=e.prefixCls,f=e.onInnerResize,p=e.innerProps,v=e.rtl,g=e.extra,h={},b={display:"flex",flexDirection:"column"};return void 0!==r&&(h={height:n,position:"relative",overflow:"hidden"},b=(0,i.Z)((0,i.Z)({},b),{},(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({transform:"translateY(".concat(r,"px)")},v?"marginRight":"marginLeft",-a),"position","absolute"),"left",0),"right",0),"top",0))),m.createElement("div",{style:h},m.createElement(d.Z,{onResize:function(e){e.offsetHeight&&f&&f()}},m.createElement("div",(0,o.Z)({style:b,className:s()((0,l.Z)({},"".concat(u,"-holder-inner"),u)),ref:t},p),c,g)))});function h(e){var t=e.children,n=e.setRef,o=m.useCallback(function(e){n(e)},[]);return m.cloneElement(t,{ref:o})}g.displayName="Filler";var b=n(75164),S=("undefined"==typeof navigator?"undefined":(0,r.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),w=function(e,t,n,o){var r=(0,m.useRef)(!1),i=(0,m.useRef)(null),l=(0,m.useRef)({top:e,bottom:t,left:n,right:o});return l.current.top=e,l.current.bottom=t,l.current.left=n,l.current.right=o,function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e?t<0&&l.current.left||t>0&&l.current.right:t<0&&l.current.top||t>0&&l.current.bottom;return n&&o?(clearTimeout(i.current),r.current=!1):(!o||r.current)&&(clearTimeout(i.current),r.current=!0,i.current=setTimeout(function(){r.current=!1},50)),!r.current&&o}},E=n(34203),y=n(15671),Z=n(43144),C=function(){function e(){(0,y.Z)(this,e),(0,l.Z)(this,"maps",void 0),(0,l.Z)(this,"id",0),this.maps=Object.create(null)}return(0,Z.Z)(e,[{key:"set",value:function(e,t){this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),x=14/15;function $(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]}var I=m.forwardRef(function(e,t){var n=e.prefixCls,o=e.rtl,r=e.scrollOffset,c=e.scrollRange,u=e.onStartMove,d=e.onStopMove,f=e.onScroll,p=e.horizontal,v=e.spinSize,g=e.containerSize,h=e.style,S=e.thumbStyle,w=m.useState(!1),E=(0,a.Z)(w,2),y=E[0],Z=E[1],C=m.useState(null),x=(0,a.Z)(C,2),I=x[0],M=x[1],R=m.useState(null),O=(0,a.Z)(R,2),D=O[0],P=O[1],N=!o,H=m.useRef(),z=m.useRef(),T=m.useState(!1),k=(0,a.Z)(T,2),L=k[0],j=k[1],B=m.useRef(),V=function(){clearTimeout(B.current),j(!0),B.current=setTimeout(function(){j(!1)},3e3)},F=c-g||0,A=g-v||0,W=m.useMemo(function(){return 0===r||0===F?0:r/F*A},[r,F,A]),_=m.useRef({top:W,dragging:y,pageY:I,startTop:D});_.current={top:W,dragging:y,pageY:I,startTop:D};var X=function(e){Z(!0),M($(e,p)),P(_.current.top),u(),e.stopPropagation(),e.preventDefault()};m.useEffect(function(){var e=function(e){e.preventDefault()},t=H.current,n=z.current;return t.addEventListener("touchstart",e),n.addEventListener("touchstart",X),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",X)}},[]);var K=m.useRef();K.current=F;var Y=m.useRef();Y.current=A,m.useEffect(function(){if(y){var e,t=function(t){var n=_.current,o=n.dragging,r=n.pageY,i=n.startTop;b.Z.cancel(e);var l=g/H.current.getBoundingClientRect().height;if(o){var a=($(t,p)-r)*l,c=i;!N&&p?c-=a:c+=a;var u=K.current,s=Y.current,d=Math.ceil((s?c/s:0)*u);d=Math.min(d=Math.max(d,0),u),e=(0,b.Z)(function(){f(d,p)})}},n=function(){Z(!1),d()};return window.addEventListener("mousemove",t),window.addEventListener("touchmove",t),window.addEventListener("mouseup",n),window.addEventListener("touchend",n),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),b.Z.cancel(e)}}},[y]),m.useEffect(function(){V()},[r]),m.useImperativeHandle(t,function(){return{delayHidden:V}});var G="".concat(n,"-scrollbar"),q={position:"absolute",visibility:L?null:"hidden"},U={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return p?(q.height=8,q.left=0,q.right=0,q.bottom=0,U.height="100%",U.width=v,N?U.left=W:U.right=W):(q.width=8,q.top=0,q.bottom=0,N?q.right=0:q.left=0,U.width="100%",U.height=v,U.top=W),m.createElement("div",{ref:H,className:s()(G,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(G,"-horizontal"),p),"".concat(G,"-vertical"),!p),"".concat(G,"-visible"),L)),style:(0,i.Z)((0,i.Z)({},q),h),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:V},m.createElement("div",{ref:z,className:s()("".concat(G,"-thumb"),(0,l.Z)({},"".concat(G,"-thumb-moving"),y)),style:(0,i.Z)((0,i.Z)({},U),S),onMouseDown:X}))});function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),Math.floor(n=Math.max(n,20))}var R=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],O=[],D={overflowY:"auto",overflowAnchor:"none"},P=m.forwardRef(function(e,t){var n,u,y,Z,$,P,N,H,z,T,k,L,j,B,V,F,A,W,_,X,K,Y,G,q,U,Q,J,ee,et,en,eo,er,ei,el,ea,ec,eu=e.prefixCls,es=void 0===eu?"rc-virtual-list":eu,ed=e.className,ef=e.height,ep=e.itemHeight,em=e.fullHeight,ev=e.style,eg=e.data,eh=e.children,eb=e.itemKey,eS=e.virtual,ew=e.direction,eE=e.scrollWidth,ey=e.component,eZ=void 0===ey?"div":ey,eC=e.onScroll,ex=e.onVirtualScroll,e$=e.onVisibleChange,eI=e.innerProps,eM=e.extraRender,eR=e.styles,eO=(0,c.Z)(e,R),eD=m.useCallback(function(e){return"function"==typeof eb?eb(e):null==e?void 0:e[eb]},[eb]),eP=function(e,t,n){var o=m.useState(0),r=(0,a.Z)(o,2),i=r[0],l=r[1],c=(0,m.useRef)(new Map),u=(0,m.useRef)(new C),s=(0,m.useRef)();function d(){b.Z.cancel(s.current)}function f(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];d();var t=function(){c.current.forEach(function(e,t){if(e&&e.offsetParent){var n=(0,E.ZP)(e),o=n.offsetHeight;u.current.get(t)!==o&&u.current.set(t,n.offsetHeight)}}),l(function(e){return e+1})};e?t():s.current=(0,b.Z)(t)}return(0,m.useEffect)(function(){return d},[]),[function(o,r){var i=e(o),l=c.current.get(i);r?(c.current.set(i,r),f()):c.current.delete(i),!l!=!r&&(r?null==t||t(o):null==n||n(o))},f,u.current,i]}(eD,null,null),eN=(0,a.Z)(eP,4),eH=eN[0],ez=eN[1],eT=eN[2],ek=eN[3],eL=!!(!1!==eS&&ef&&ep),ej=m.useMemo(function(){return Object.values(eT.maps).reduce(function(e,t){return e+t},0)},[eT.id,eT.maps]),eB=eL&&eg&&(Math.max(ep*eg.length,ej)>ef||!!eE),eV="rtl"===ew,eF=s()(es,(0,l.Z)({},"".concat(es,"-rtl"),eV),ed),eA=eg||O,eW=(0,m.useRef)(),e_=(0,m.useRef)(),eX=(0,m.useRef)(),eK=(0,m.useState)(0),eY=(0,a.Z)(eK,2),eG=eY[0],eq=eY[1],eU=(0,m.useState)(0),eQ=(0,a.Z)(eU,2),eJ=eQ[0],e0=eQ[1],e1=(0,m.useState)(!1),e2=(0,a.Z)(e1,2),e4=e2[0],e3=e2[1],e7=function(){e3(!0)},e5=function(){e3(!1)};function e6(e){eq(function(t){var n,o=(n="function"==typeof e?e(t):e,Number.isNaN(tg.current)||(n=Math.min(n,tg.current)),n=Math.max(n,0));return eW.current.scrollTop=o,o})}var e9=(0,m.useRef)({start:0,end:eA.length}),e8=(0,m.useRef)(),te=(u=m.useState(eA),Z=(y=(0,a.Z)(u,2))[0],$=y[1],P=m.useState(null),H=(N=(0,a.Z)(P,2))[0],z=N[1],m.useEffect(function(){var e=function(e,t,n){var o,r,i=e.length,l=t.length;if(0===i&&0===l)return null;i=eG&&void 0===t&&(t=l,n=r),u>eG+ef&&void 0===o&&(o=l),r=u}return void 0===t&&(t=0,n=0,o=Math.ceil(ef/ep)),void 0===o&&(o=eA.length-1),{scrollHeight:r,start:t,end:o=Math.min(o+1,eA.length-1),offset:n}},[eB,eL,eG,eA,ek,ef]),to=tn.scrollHeight,tr=tn.start,ti=tn.end,tl=tn.offset;e9.current.start=tr,e9.current.end=ti;var ta=m.useState({width:0,height:ef}),tc=(0,a.Z)(ta,2),tu=tc[0],ts=tc[1],td=(0,m.useRef)(),tf=(0,m.useRef)(),tp=m.useMemo(function(){return M(tu.width,eE)},[tu.width,eE]),tm=m.useMemo(function(){return M(tu.height,to)},[tu.height,to]),tv=to-ef,tg=(0,m.useRef)(tv);tg.current=tv;var th=eG<=0,tb=eG>=tv,tS=eJ<=0,tw=eJ>=eE,tE=w(th,tb,tS,tw),ty=function(){return{x:eV?-eJ:eJ,y:eG}},tZ=(0,m.useRef)(ty()),tC=(0,f.zX)(function(e){if(ex){var t=(0,i.Z)((0,i.Z)({},ty()),e);(tZ.current.x!==t.x||tZ.current.y!==t.y)&&(ex(t),tZ.current=t)}});function tx(e,t){t?((0,v.flushSync)(function(){e0(e)}),tC()):e6(e)}var t$=function(e){var t=e,n=eE?eE-tu.width:0;return Math.min(t=Math.max(t,0),n)},tI=(0,f.zX)(function(e,t){t?((0,v.flushSync)(function(){e0(function(t){return t$(t+(eV?-e:e))})}),tC()):e6(function(t){return t+e})}),tM=(T=!!eE,k=(0,m.useRef)(0),L=(0,m.useRef)(null),j=(0,m.useRef)(null),B=(0,m.useRef)(!1),V=w(th,tb,tS,tw),F=(0,m.useRef)(null),A=(0,m.useRef)(null),[function(e){if(eL){b.Z.cancel(A.current),A.current=(0,b.Z)(function(){F.current=null},2);var t,n=e.deltaX,o=e.deltaY,r=e.shiftKey,i=n,l=o;("sx"===F.current||!F.current&&r&&o&&!n)&&(i=o,l=0,F.current="sx");var a=Math.abs(i),c=Math.abs(l);(null===F.current&&(F.current=T&&a>c?"x":"y"),"y"===F.current)?(t=l,b.Z.cancel(L.current),k.current+=t,j.current=t,V(!1,t)||(S||e.preventDefault(),L.current=(0,b.Z)(function(){var e=B.current?10:1;tI(k.current*e),k.current=0}))):(tI(i,!0),S||e.preventDefault())}},function(e){eL&&(B.current=e.detail===j.current)}]),tR=(0,a.Z)(tM,2),tO=tR[0],tD=tR[1];W=function(e,t,n){return!tE(e,t,n)&&(tO({preventDefault:function(){},deltaX:e?t:0,deltaY:e?0:t}),!0)},X=(0,m.useRef)(!1),K=(0,m.useRef)(0),Y=(0,m.useRef)(0),G=(0,m.useRef)(null),q=(0,m.useRef)(null),U=function(e){if(X.current){var t=Math.ceil(e.touches[0].pageX),n=Math.ceil(e.touches[0].pageY),o=K.current-t,r=Y.current-n,i=Math.abs(o)>Math.abs(r);i?K.current=t:Y.current=n,W(i,i?o:r)&&e.preventDefault(),clearInterval(q.current),q.current=setInterval(function(){i?o*=x:r*=x;var e=Math.floor(i?o:r);(!W(i,e,!0)||.1>=Math.abs(e))&&clearInterval(q.current)},16)}},Q=function(){X.current=!1,_()},J=function(e){_(),1!==e.touches.length||X.current||(X.current=!0,K.current=Math.ceil(e.touches[0].pageX),Y.current=Math.ceil(e.touches[0].pageY),G.current=e.target,G.current.addEventListener("touchmove",U),G.current.addEventListener("touchend",Q))},_=function(){G.current&&(G.current.removeEventListener("touchmove",U),G.current.removeEventListener("touchend",Q))},(0,p.Z)(function(){return eL&&eW.current.addEventListener("touchstart",J),function(){var e;null===(e=eW.current)||void 0===e||e.removeEventListener("touchstart",J),_(),clearInterval(q.current)}},[eL]),(0,p.Z)(function(){function e(e){eL&&e.preventDefault()}var t=eW.current;return t.addEventListener("wheel",tO),t.addEventListener("DOMMouseScroll",tD),t.addEventListener("MozMousePixelScroll",e),function(){t.removeEventListener("wheel",tO),t.removeEventListener("DOMMouseScroll",tD),t.removeEventListener("MozMousePixelScroll",e)}},[eL]),(0,p.Z)(function(){if(eE){var e=t$(eJ);e0(e),tC({x:e})}},[tu.width,eE]);var tP=function(){var e,t;null===(e=td.current)||void 0===e||e.delayHidden(),null===(t=tf.current)||void 0===t||t.delayHidden()},tN=(ee=m.useRef(),et=m.useState(null),eo=(en=(0,a.Z)(et,2))[0],er=en[1],(0,p.Z)(function(){if(eo&&eo.times<10){if(!eW.current){er(function(e){return(0,i.Z)({},e)});return}ez(!0);var e=eo.targetAlign,t=eo.originAlign,n=eo.index,o=eo.offset,r=eW.current.clientHeight,l=!1,a=e,c=null;if(r){for(var u=e||t,s=0,d=0,f=0,p=Math.min(eA.length-1,n),m=0;m<=p;m+=1){var v=eD(eA[m]);d=s;var g=eT.get(v);s=f=d+(void 0===g?ep:g)}for(var h="top"===u?o:r-o,b=p;b>=0;b-=1){var S=eD(eA[b]),w=eT.get(S);if(void 0===w){l=!0;break}if((h-=w)<=0)break}switch(u){case"top":c=d-o;break;case"bottom":c=f-r+o;break;default:var E=eW.current.scrollTop;dE+r&&(a="bottom")}null!==c&&e6(c),c!==eo.lastTop&&(l=!0)}l&&er((0,i.Z)((0,i.Z)({},eo),{},{times:eo.times+1,targetAlign:a,lastTop:c}))}},[eo,eW.current]),function(e){if(null==e){tP();return}if(b.Z.cancel(ee.current),"number"==typeof e)e6(e);else if(e&&"object"===(0,r.Z)(e)){var t,n=e.align;t="index"in e?e.index:eA.findIndex(function(t){return eD(t)===e.key});var o=e.offset;er({times:0,index:t,offset:void 0===o?0:o,originAlign:n})}});m.useImperativeHandle(t,function(){return{nativeElement:eX.current,getScrollInfo:ty,scrollTo:function(e){e&&"object"===(0,r.Z)(e)&&("left"in e||"top"in e)?(void 0!==e.left&&e0(t$(e.left)),tN(e.top)):tN(e)}}}),(0,p.Z)(function(){e$&&e$(eA.slice(tr,ti+1),eA)},[tr,ti,eA]);var tH=(ei=m.useMemo(function(){return[new Map,[]]},[eA,eT.id,ep]),ea=(el=(0,a.Z)(ei,2))[0],ec=el[1],function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=ea.get(e),o=ea.get(t);if(void 0===n||void 0===o)for(var r=eA.length,i=ec.length;ief&&m.createElement(I,{ref:td,prefixCls:es,scrollOffset:eG,scrollRange:to,rtl:eV,onScroll:tx,onStartMove:e7,onStopMove:e5,spinSize:tm,containerSize:tu.height,style:null==eR?void 0:eR.verticalScrollBar,thumbStyle:null==eR?void 0:eR.verticalScrollBarThumb}),eB&&eE>tu.width&&m.createElement(I,{ref:tf,prefixCls:es,scrollOffset:eJ,scrollRange:eE,rtl:eV,onScroll:tx,onStartMove:e7,onStopMove:e5,spinSize:tp,containerSize:tu.width,horizontal:!0,style:null==eR?void 0:eR.horizontalScrollBar,thumbStyle:null==eR?void 0:eR.horizontalScrollBarThumb}))});P.displayName="List";var N=P}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4129.792d2b7c944321c8.js b/dbgpt/app/static/web/_next/static/chunks/4129.d8b70a3f799af47e.js similarity index 97% rename from dbgpt/app/static/web/_next/static/chunks/4129.792d2b7c944321c8.js rename to dbgpt/app/static/web/_next/static/chunks/4129.d8b70a3f799af47e.js index c0efb3562..c1b3dc893 100644 --- a/dbgpt/app/static/web/_next/static/chunks/4129.792d2b7c944321c8.js +++ b/dbgpt/app/static/web/_next/static/chunks/4129.d8b70a3f799af47e.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4129],{84129:function(e,s,o){o.r(s),o.d(s,{conf:function(){return t},language:function(){return n}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var t={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},n={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=>"}]},s={defaultToken:"",tokenPostfix:".flow",keywords:["import","require","export","forbid","native","if","else","cast","unsafe","switch","default"],types:["io","mutable","bool","int","double","string","flow","void","ref","true","false","with"],operators:["=",">","<","<=",">=","==","!","!=",":=","::=","&&","||","+","-","*","/","@","&","%",":","->","\\","$","??","^"],symbols:/[@$=>](?!@symbols)/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/422.b06e29472d539b89.js b/dbgpt/app/static/web/_next/static/chunks/422.b06e29472d539b89.js deleted file mode 100644 index ddf703ba1..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/422.b06e29472d539b89.js +++ /dev/null @@ -1,527 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[422],{5036:function(e,t,i){"use strict";i.r(t),i.d(t,{CancellationTokenSource:function(){return re},Emitter:function(){return rt},KeyCode:function(){return ri},KeyMod:function(){return rn},MarkerSeverity:function(){return ra},MarkerTag:function(){return rd},Position:function(){return rs},Range:function(){return ro},Selection:function(){return rr},SelectionDirection:function(){return rl},Token:function(){return ru},Uri:function(){return rh},default:function(){return rm},editor:function(){return rc},languages:function(){return rg}});var n,s,o,r,l,a,d,h,u,c,g,p,m,f,_,v,b,C,w,y,S,L,k,D={};i.r(D),i.d(D,{CancellationTokenSource:function(){return re},Emitter:function(){return rt},KeyCode:function(){return ri},KeyMod:function(){return rn},MarkerSeverity:function(){return ra},MarkerTag:function(){return rd},Position:function(){return rs},Range:function(){return ro},Selection:function(){return rr},SelectionDirection:function(){return rl},Token:function(){return ru},Uri:function(){return rh},editor:function(){return rc},languages:function(){return rg}}),i(90236),i(71387),i(42549),i(24336),i(72102),i(55833),i(86687);var x=i(16741);i(38334),i(46838),i(44536),i(39956),i(93740),i(41895),i(27913),i(58076),i(27107),i(76917),i(57811),i(76454),i(55826),i(28389),i(44125),i(61097),i(81299),i(62078),i(95817),i(22470),i(82830),i(19646),i(68077),i(45624),i(98519),i(89390),i(99406),i(4074),i(97830),i(97615),i(49504),i(76),i(18408),i(93519),i(77061),i(97660),i(6633),i(60669),i(96816),i(73945),i(45048),i(88767),i(28763),i(61168),i(89995),i(47721),i(98762),i(75408),i(73802),i(88088),i(15662),i(64662),i(52614),i(95180),i(79607),i(70943),i(37181),i(86709);var N=i(64141),E=i(20927),I=i(48906),T=i(5976),M=i(97295),R=i(70666);i(95656);var A=i(66059),P=i(16830),O=i(11640),F=i(36248),B=i(3666);class W extends B.Q8{constructor(e,t,i){super(e,i.keepIdleModels||!1,i.label,t),this._foreignModuleId=i.moduleId,this._foreignModuleCreateData=i.createData||null,this._foreignModuleHost=i.host||null,this._foreignProxy=null}fhr(e,t){if(!this._foreignModuleHost||"function"!=typeof this._foreignModuleHost[e])return Promise.reject(Error("Missing method "+e+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[e].apply(this._foreignModuleHost,t))}catch(e){return Promise.reject(e)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(e=>{let t=this._foreignModuleHost?(0,F.$E)(this._foreignModuleHost):[];return e.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,t).then(t=>{this._foreignModuleCreateData=null;let i=(t,i)=>e.fmr(t,i),n=(e,t)=>function(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},s={};for(let e of t)s[e]=n(e,i);return s})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(e){return this._withSyncedResources(e).then(e=>this.getProxy())}}var H=i(82334),V=i(27374),z=i(96518),K=i(43155),U=i(72042),$=i(4256),q=i(68801),j=i(276),G=i(84973),Q=i(73733),Z=i(70902),Y=i(77514),J=i(77378),X=i(72202),ee=i(1118);function et(e){return"string"==typeof e}function ei(e,t){return e.ignoreCase&&t?t.toLowerCase():t}function en(e){return e.replace(/[&<>'"_]/g,"-")}function es(e,t){return Error(`${e.languageId}: ${t}`)}function eo(e,t,i,n,s){let o=null;return t.replace(/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,function(t,r,l,a,d,h,u,c,g){return l?"$":a?ei(e,i):d&&d0;){let t=e.tokenizer[i];if(t)return t;let n=i.lastIndexOf(".");i=n<0?null:i.substr(0,n)}return null}var el=i(33108);class ea{static create(e,t){return this._INSTANCE.create(e,t)}constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}create(e,t){if(null!==e&&e.depth>=this._maxCacheDepth)return new ed(e,t);let i=ed.getStackElementId(e);i.length>0&&(i+="|"),i+=t;let n=this._entries[i];return n||(n=new ed(e,t),this._entries[i]=n),n}}ea._INSTANCE=new ea(5);class ed{constructor(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(e){let t="";for(;null!==e;)t.length>0&&(t+="|"),t+=e.state,e=e.parent;return t}static _equals(e,t){for(;null!==e&&null!==t;){if(e===t)return!0;if(e.state!==t.state)return!1;e=e.parent,t=t.parent}return null===e&&null===t}equals(e){return ed._equals(this,e)}push(e){return ea.create(this,e)}pop(){return this.parent}popall(){let e=this;for(;e.parent;)e=e.parent;return e}switchTo(e){return ea.create(this.parent,e)}}class eh{constructor(e,t){this.languageId=e,this.state=t}equals(e){return this.languageId===e.languageId&&this.state.equals(e.state)}clone(){let e=this.state.clone();return e===this.state?this:new eh(this.languageId,this.state)}}class eu{static create(e,t){return this._INSTANCE.create(e,t)}constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}create(e,t){if(null!==t||null!==e&&e.depth>=this._maxCacheDepth)return new ec(e,t);let i=ed.getStackElementId(e),n=this._entries[i];return n||(n=new ec(e,null),this._entries[i]=n),n}}eu._INSTANCE=new eu(5);class ec{constructor(e,t){this.stack=e,this.embeddedLanguageData=t}clone(){let e=this.embeddedLanguageData?this.embeddedLanguageData.clone():null;return e===this.embeddedLanguageData?this:eu.create(this.stack,this.embeddedLanguageData)}equals(e){return!!(e instanceof ec&&this.stack.equals(e.stack))&&(null===this.embeddedLanguageData&&null===e.embeddedLanguageData||null!==this.embeddedLanguageData&&null!==e.embeddedLanguageData&&this.embeddedLanguageData.equals(e.embeddedLanguageData))}}class eg{constructor(){this._tokens=[],this._languageId=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterLanguage(e){this._languageId=e}emit(e,t){(this._lastTokenType!==t||this._lastTokenLanguage!==this._languageId)&&(this._lastTokenType=t,this._lastTokenLanguage=this._languageId,this._tokens.push(new K.WU(e,t,this._languageId)))}nestedLanguageTokenize(e,t,i,n){let s=i.languageId,o=i.state,r=K.RW.get(s);if(!r)return this.enterLanguage(s),this.emit(n,""),o;let l=r.tokenize(e,t,o);if(0!==n)for(let e of l.tokens)this._tokens.push(new K.WU(e.offset+n,e.type,e.language));else this._tokens=this._tokens.concat(l.tokens);return this._lastTokenType=null,this._lastTokenLanguage=null,this._languageId=null,l.endState}finalize(e){return new K.hG(this._tokens,e)}}class ep{constructor(e,t){this._languageService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterLanguage(e){this._currentLanguageId=this._languageService.languageIdCodec.encodeLanguageId(e)}emit(e,t){let i=1024|this._theme.match(this._currentLanguageId,t);this._lastTokenMetadata!==i&&(this._lastTokenMetadata=i,this._tokens.push(e),this._tokens.push(i))}static _merge(e,t,i){let n=null!==e?e.length:0,s=t.length,o=null!==i?i.length:0;if(0===n&&0===s&&0===o)return new Uint32Array(0);if(0===n&&0===s)return i;if(0===s&&0===o)return e;let r=new Uint32Array(n+s+o);null!==e&&r.set(e);for(let e=0;e{if(o)return;let t=!1;for(let i=0,n=e.changedLanguages.length;i{e.affectsConfiguration("editor.maxTokenizationLineLength")&&(this._maxTokenizationLineLength=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:this._languageId}))}))}getLoadStatus(){let e=[];for(let t in this._embeddedLanguages){let i=K.RW.get(t);if(i){if(i instanceof p){let t=i.getLoadStatus();!1===t.loaded&&e.push(t.promise)}continue}K.RW.isResolved(t)||e.push(K.RW.getOrCreate(t))}return 0===e.length?{loaded:!0}:{loaded:!1,promise:Promise.all(e).then(e=>void 0)}}getInitialState(){let e=ea.create(null,this._lexer.start);return eu.create(e,null)}tokenize(e,t,i){if(e.length>=this._maxTokenizationLineLength)return(0,j.Ri)(this._languageId,i);let n=new eg,s=this._tokenize(e,t,i,n);return n.finalize(s)}tokenizeEncoded(e,t,i){if(e.length>=this._maxTokenizationLineLength)return(0,j.Dy)(this._languageService.languageIdCodec.encodeLanguageId(this._languageId),i);let n=new ep(this._languageService,this._standaloneThemeService.getColorTheme().tokenTheme),s=this._tokenize(e,t,i,n);return n.finalize(s)}_tokenize(e,t,i,n){return i.embeddedLanguageData?this._nestedTokenize(e,t,i,0,n):this._myTokenize(e,t,i,0,n)}_findLeavingNestedLanguageOffset(e,t){let i=this._lexer.tokenizer[t.stack.state];if(!i&&!(i=er(this._lexer,t.stack.state)))throw es(this._lexer,"tokenizer state is not defined: "+t.stack.state);let n=-1,s=!1;for(let o of i){if(et(o.action)||"@pop"!==o.action.nextEmbedded)continue;s=!0;let i=o.resolveRegex(t.stack.state),r=i.source;if("^(?:"===r.substr(0,4)&&")"===r.substr(r.length-1,1)){let e=(i.ignoreCase?"i":"")+(i.unicode?"u":"");i=new RegExp(r.substr(4,r.length-5),e)}let l=e.search(i);-1!==l&&(0===l||!o.matchOnlyAtLineStart)&&(-1===n||l0&&s.nestedLanguageTokenize(r,!1,i.embeddedLanguageData,n);let l=e.substring(o);return this._myTokenize(l,t,i,n+o,s)}_safeRuleName(e){return e?e.name:"(unknown)"}_myTokenize(e,t,i,n,s){s.enterLanguage(this._languageId);let o=e.length,r=t&&this._lexer.includeLF?e+"\n":e,l=r.length,a=i.embeddedLanguageData,d=i.stack,h=0,u=null,c=!0;for(;c||h=l)break;c=!1;let e=this._lexer.tokenizer[m];if(!e&&!(e=er(this._lexer,m)))throw es(this._lexer,"tokenizer state is not defined: "+m);let t=r.substr(h);for(let i of e)if((0===h||!i.matchOnlyAtLineStart)&&(f=t.match(i.resolveRegex(m)))){_=f[0],v=i.action;break}}if(f||(f=[""],_=""),v||(h=this._lexer.maxStack)throw es(this._lexer,"maximum tokenizer stack size reached: ["+d.state+","+d.parent.state+",...]");d=d.push(m)}else if("@pop"===v.next){if(d.depth<=1)throw es(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(b));d=d.pop()}else if("@popall"===v.next)d=d.popall();else{let e=eo(this._lexer,v.next,_,f,m);if("@"===e[0]&&(e=e.substr(1)),er(this._lexer,e))d=d.push(e);else throw es(this._lexer,"trying to set a next state '"+e+"' that is undefined in rule: "+this._safeRuleName(b))}}v.log&&"string"==typeof v.log&&console.log(`${this._lexer.languageId}: ${this._lexer.languageId+": "+eo(this._lexer,v.log,_,f,m)}`)}if(null===w)throw es(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(b));let y=i=>{let o=this._languageService.getLanguageIdByLanguageName(i)||this._languageService.getLanguageIdByMimeType(i)||i,r=this._getNestedEmbeddedLanguageData(o);if(!(h0)throw es(this._lexer,"groups cannot be nested: "+this._safeRuleName(b));if(f.length!==w.length+1)throw es(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(b));let e=0;for(let t=1;t=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=el.Ui,function(e,t){n(e,t,4)})],em);let ef=(0,Y.Z)("standaloneColorizer",{createHTML:e=>e});class e_{static colorizeElement(e,t,i,n){n=n||{};let s=n.theme||"vs",o=n.mimeType||i.getAttribute("lang")||i.getAttribute("data-lang");if(!o)return console.error("Mode not detected"),Promise.resolve();let r=t.getLanguageIdByMimeType(o)||o;e.setTheme(s);let l=i.firstChild?i.firstChild.nodeValue:"";return i.className+=" "+s,this.colorize(t,l||"",r,n).then(e=>{var t;let n=null!==(t=null==ef?void 0:ef.createHTML(e))&&void 0!==t?t:e;i.innerHTML=n},e=>console.error(e))}static async colorize(e,t,i,n){var s;let o=e.languageIdCodec,r=4;n&&"number"==typeof n.tabSize&&(r=n.tabSize),M.uS(t)&&(t=t.substr(1));let l=M.uq(t);if(!e.isRegisteredLanguageId(i))return ev(l,r,o);let a=await K.RW.getOrCreate(i);return a?(s=r,new Promise((e,t)=>{let i=()=>{let n=function(e,t,i,n){let s=[],o=i.getInitialState();for(let r=0,l=e.length;r"),o=a.endState}return s.join("")}(l,s,a,o);if(a instanceof em){let e=a.getLoadStatus();if(!1===e.loaded){e.promise.then(i,t);return}}e(n)};i()})):ev(l,r,o)}static colorizeLine(e,t,i,n,s=4){let o=ee.wA.isBasicASCII(e,t),r=ee.wA.containsRTL(e,o,i),l=(0,X.tF)(new X.IJ(!1,!0,e,!1,o,r,0,n,[],s,0,0,0,0,-1,"none",!1,!1,null));return l.html}static colorizeModelLine(e,t,i=4){let n=e.getLineContent(t);e.tokenization.forceTokenization(t);let s=e.tokenization.getLineTokens(t),o=s.inflate();return this.colorizeLine(n,e.mightContainNonBasicASCII(),e.mightContainRTL(),o,i)}}function ev(e,t,i){let n=[],s=new Uint32Array(2);s[0]=0,s[1]=33587200;for(let o=0,r=e.length;o")}return n.join("")}var eb=i(85152),eC=i(30653),ew=i(65321),ey=i(66663),eS=i(4669),eL=i(91741),ek=i(97781);let eD=class extends T.JT{constructor(e){super(),this._themeService=e,this._onWillCreateCodeEditor=this._register(new eS.Q5),this._onCodeEditorAdd=this._register(new eS.Q5),this.onCodeEditorAdd=this._onCodeEditorAdd.event,this._onCodeEditorRemove=this._register(new eS.Q5),this.onCodeEditorRemove=this._onCodeEditorRemove.event,this._onWillCreateDiffEditor=this._register(new eS.Q5),this._onDiffEditorAdd=this._register(new eS.Q5),this.onDiffEditorAdd=this._onDiffEditorAdd.event,this._onDiffEditorRemove=this._register(new eS.Q5),this.onDiffEditorRemove=this._onDiffEditorRemove.event,this._decorationOptionProviders=new Map,this._codeEditorOpenHandlers=new eL.S,this._modelProperties=new Map,this._codeEditors=Object.create(null),this._diffEditors=Object.create(null),this._globalStyleSheet=null}willCreateCodeEditor(){this._onWillCreateCodeEditor.fire()}addCodeEditor(e){this._codeEditors[e.getId()]=e,this._onCodeEditorAdd.fire(e)}removeCodeEditor(e){(delete this._codeEditors[e.getId()])&&this._onCodeEditorRemove.fire(e)}listCodeEditors(){return Object.keys(this._codeEditors).map(e=>this._codeEditors[e])}willCreateDiffEditor(){this._onWillCreateDiffEditor.fire()}addDiffEditor(e){this._diffEditors[e.getId()]=e,this._onDiffEditorAdd.fire(e)}listDiffEditors(){return Object.keys(this._diffEditors).map(e=>this._diffEditors[e])}getFocusedCodeEditor(){let e=null,t=this.listCodeEditors();for(let i of t){if(i.hasTextFocus())return i;i.hasWidgetFocus()&&(e=i)}return e}removeDecorationType(e){let t=this._decorationOptionProviders.get(e);t&&(t.refCount--,t.refCount<=0&&(this._decorationOptionProviders.delete(e),t.dispose(),this.listCodeEditors().forEach(t=>t.removeDecorationsByType(e))))}setModelProperty(e,t,i){let n;let s=e.toString();this._modelProperties.has(s)?n=this._modelProperties.get(s):(n=new Map,this._modelProperties.set(s,n)),n.set(t,i)}getModelProperty(e,t){let i=e.toString();if(this._modelProperties.has(i)){let e=this._modelProperties.get(i);return e.get(t)}}async openCodeEditor(e,t,i){for(let n of this._codeEditorOpenHandlers){let s=await n(e,t,i);if(null!==s)return s}return null}registerCodeEditorOpenHandler(e){let t=this._codeEditorOpenHandlers.unshift(e);return(0,T.OF)(t)}};eD=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(s=ek.XE,function(e,t){s(e,t,0)})],eD);var ex=i(32064),eN=i(65026),eE=function(e,t){return function(i,n){t(i,n,e)}};let eI=class extends eD{constructor(e,t){super(t),this._register(this.onCodeEditorAdd(()=>this._checkContextKey())),this._register(this.onCodeEditorRemove(()=>this._checkContextKey())),this._editorIsOpen=e.createKey("editorIsOpen",!1),this._activeCodeEditor=null,this._register(this.registerCodeEditorOpenHandler(async(e,t,i)=>t?this.doOpenEditor(t,e):null))}_checkContextKey(){let e=!1;for(let t of this.listCodeEditors())if(!t.isSimpleWidget){e=!0;break}this._editorIsOpen.set(e)}setActiveCodeEditor(e){this._activeCodeEditor=e}getActiveCodeEditor(){return this._activeCodeEditor}doOpenEditor(e,t){let i=this.findModel(e,t.resource);if(!i){if(t.resource){let i=t.resource.scheme;if(i===ey.lg.http||i===ey.lg.https)return(0,ew.V3)(t.resource.toString()),e}return null}let n=t.options?t.options.selection:null;if(n){if("number"==typeof n.endLineNumber&&"number"==typeof n.endColumn)e.setSelection(n),e.revealRangeInCenter(n,1);else{let t={lineNumber:n.startLineNumber,column:n.startColumn};e.setPosition(t),e.revealPositionInCenter(t,1)}}return e}findModel(e,t){let i=e.getModel();return i&&i.uri.toString()!==t.toString()?null:i}};eI=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([eE(0,ex.i6),eE(1,ek.XE)],eI),(0,eN.z)(O.$,eI,0);var eT=i(9488),eM=i(72065);let eR=(0,eM.yh)("layoutService");var eA=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},eP=function(e,t){return function(i,n){t(i,n,e)}};let eO=class{get mainContainer(){var e,t;return null!==(t=null===(e=(0,eT.Xh)(this._codeEditorService.listCodeEditors()))||void 0===e?void 0:e.getContainerDomNode())&&void 0!==t?t:I.E.document.body}get activeContainer(){var e,t;let i=null!==(e=this._codeEditorService.getFocusedCodeEditor())&&void 0!==e?e:this._codeEditorService.getActiveCodeEditor();return null!==(t=null==i?void 0:i.getContainerDomNode())&&void 0!==t?t:this.mainContainer}get mainContainerDimension(){return ew.D6(this.mainContainer)}get activeContainerDimension(){return ew.D6(this.activeContainer)}get containers(){return(0,eT.kX)(this._codeEditorService.listCodeEditors().map(e=>e.getContainerDomNode()))}getContainer(){return this.activeContainer}whenContainerStylesLoaded(){}focus(){var e;null===(e=this._codeEditorService.getFocusedCodeEditor())||void 0===e||e.focus()}constructor(e){this._codeEditorService=e,this.onDidLayoutMainContainer=eS.ju.None,this.onDidLayoutActiveContainer=eS.ju.None,this.onDidLayoutContainer=eS.ju.None,this.onDidChangeActiveContainer=eS.ju.None,this.onDidAddContainer=eS.ju.None,this.mainContainerOffset={top:0,quickPickTop:0},this.activeContainerOffset={top:0,quickPickTop:0}}};eO=eA([eP(0,O.$)],eO);let eF=class extends eO{get mainContainer(){return this._container}constructor(e,t){super(t),this._container=e}};eF=eA([eP(1,O.$)],eF),(0,eN.z)(eR,eO,1);var eB=i(17301),eW=i(14603),eH=i(63580),eV=i(28820),ez=i(59422),eK=i(64862),eU=function(e,t){return function(i,n){t(i,n,e)}};function e$(e){return e.scheme===ey.lg.file?e.fsPath:e.path}let eq=0;class ej{constructor(e,t,i,n,s,o,r){this.id=++eq,this.type=0,this.actual=e,this.label=e.label,this.confirmBeforeUndo=e.confirmBeforeUndo||!1,this.resourceLabel=t,this.strResource=i,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.groupId=n,this.groupOrder=s,this.sourceId=o,this.sourceOrder=r,this.isValid=!0}setValid(e){this.isValid=e}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.isValid?" VALID":"INVALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class eG{constructor(e,t){this.resourceLabel=e,this.reason=t}}class eQ{constructor(){this.elements=new Map}createMessage(){let e=[],t=[];for(let[,i]of this.elements){let n=0===i.reason?e:t;n.push(i.resourceLabel)}let i=[];return e.length>0&&i.push(eH.NC({key:"externalRemoval",comment:["{0} is a list of filenames"]},"The following files have been closed and modified on disk: {0}.",e.join(", "))),t.length>0&&i.push(eH.NC({key:"noParallelUniverses",comment:["{0} is a list of filenames"]},"The following files have been modified in an incompatible way: {0}.",t.join(", "))),i.join("\n")}get size(){return this.elements.size}has(e){return this.elements.has(e)}set(e,t){this.elements.set(e,t)}delete(e){return this.elements.delete(e)}}class eZ{constructor(e,t,i,n,s,o,r){this.id=++eq,this.type=1,this.actual=e,this.label=e.label,this.confirmBeforeUndo=e.confirmBeforeUndo||!1,this.resourceLabels=t,this.strResources=i,this.groupId=n,this.groupOrder=s,this.sourceId=o,this.sourceOrder=r,this.removedResources=null,this.invalidatedResources=null}canSplit(){return"function"==typeof this.actual.split}removeResource(e,t,i){this.removedResources||(this.removedResources=new eQ),this.removedResources.has(t)||this.removedResources.set(t,new eG(e,i))}setValid(e,t,i){i?this.invalidatedResources&&(this.invalidatedResources.delete(t),0===this.invalidatedResources.size&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new eQ),this.invalidatedResources.has(t)||this.invalidatedResources.set(t,new eG(e,0)))}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.invalidatedResources?"INVALID":" VALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class eY{constructor(e,t){this.resourceLabel=e,this.strResource=t,this._past=[],this._future=[],this.locked=!1,this.versionId=1}dispose(){for(let e of this._past)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,0);for(let e of this._future)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,0);this.versionId++}toString(){let e=[];e.push(`* ${this.strResource}:`);for(let t=0;t=0;t--)e.push(` * [REDO] ${this._future[t]}`);return e.join("\n")}flushAllElements(){this._past=[],this._future=[],this.versionId++}_setElementValidFlag(e,t){1===e.type?e.setValid(this.resourceLabel,this.strResource,t):e.setValid(t)}setElementsValidFlag(e,t){for(let i of this._past)t(i.actual)&&this._setElementValidFlag(i,e);for(let i of this._future)t(i.actual)&&this._setElementValidFlag(i,e)}pushElement(e){for(let e of this._future)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,1);this._future=[],this._past.push(e),this.versionId++}createSnapshot(e){let t=[];for(let e=0,i=this._past.length;e=0;e--)t.push(this._future[e].id);return new eK.YO(e,t)}restoreSnapshot(e){let t=e.elements.length,i=!0,n=0,s=-1;for(let o=0,r=this._past.length;o=t||r.id!==e.elements[n])&&(i=!1,s=0),i||1!==r.type||r.removeResource(this.resourceLabel,this.strResource,0)}let o=-1;for(let s=this._future.length-1;s>=0;s--,n++){let r=this._future[s];i&&(n>=t||r.id!==e.elements[n])&&(i=!1,o=s),i||1!==r.type||r.removeResource(this.resourceLabel,this.strResource,0)}-1!==s&&(this._past=this._past.slice(0,s)),-1!==o&&(this._future=this._future.slice(o+1)),this.versionId++}getElements(){let e=[],t=[];for(let t of this._past)e.push(t.actual);for(let e of this._future)t.push(e.actual);return{past:e,future:t}}getClosestPastElement(){return 0===this._past.length?null:this._past[this._past.length-1]}getSecondClosestPastElement(){return this._past.length<2?null:this._past[this._past.length-2]}getClosestFutureElement(){return 0===this._future.length?null:this._future[this._future.length-1]}hasPastElements(){return this._past.length>0}hasFutureElements(){return this._future.length>0}splitPastWorkspaceElement(e,t){for(let i=this._past.length-1;i>=0;i--)if(this._past[i]===e){t.has(this.strResource)?this._past[i]=t.get(this.strResource):this._past.splice(i,1);break}this.versionId++}splitFutureWorkspaceElement(e,t){for(let i=this._future.length-1;i>=0;i--)if(this._future[i]===e){t.has(this.strResource)?this._future[i]=t.get(this.strResource):this._future.splice(i,1);break}this.versionId++}moveBackward(e){this._past.pop(),this._future.push(e),this.versionId++}moveForward(e){this._future.pop(),this._past.push(e),this.versionId++}}class eJ{constructor(e){this.editStacks=e,this._versionIds=[];for(let e=0,t=this.editStacks.length;et.sourceOrder)&&(t=o,i=n)}return[t,i]}canUndo(e){if(e instanceof eK.gJ){let[,t]=this._findClosestUndoElementWithSource(e.id);return!!t}let t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){let e=this._editStacks.get(t);return e.hasPastElements()}return!1}_onError(e,t){for(let i of((0,eB.dL)(e),t.strResources))this.removeElements(i);this._notificationService.error(e)}_acquireLocks(e){for(let t of e.editStacks)if(t.locked)throw Error("Cannot acquire edit stack lock");for(let t of e.editStacks)t.locked=!0;return()=>{for(let t of e.editStacks)t.locked=!1}}_safeInvokeWithLocks(e,t,i,n,s){let o;let r=this._acquireLocks(i);try{o=t()}catch(t){return r(),n.dispose(),this._onError(t,e)}return o?o.then(()=>(r(),n.dispose(),s()),t=>(r(),n.dispose(),this._onError(t,e))):(r(),n.dispose(),s())}async _invokeWorkspacePrepare(e){if(void 0===e.actual.prepareUndoRedo)return T.JT.None;let t=e.actual.prepareUndoRedo();return void 0===t?T.JT.None:t}_invokeResourcePrepare(e,t){if(1!==e.actual.type||void 0===e.actual.prepareUndoRedo)return t(T.JT.None);let i=e.actual.prepareUndoRedo();return i?(0,T.Wf)(i)?t(i):i.then(e=>t(e)):t(T.JT.None)}_getAffectedEditStacks(e){let t=[];for(let i of e.strResources)t.push(this._editStacks.get(i)||eX);return new eJ(t)}_tryToSplitAndUndo(e,t,i,n){if(t.canSplit())return this._splitPastWorkspaceElement(t,i),this._notificationService.warn(n),new e1(this._undo(e,0,!0));for(let e of t.strResources)this.removeElements(e);return this._notificationService.warn(n),new e1}_checkWorkspaceUndo(e,t,i,n){if(t.removedResources)return this._tryToSplitAndUndo(e,t,t.removedResources,eH.NC({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.removedResources.createMessage()));if(n&&t.invalidatedResources)return this._tryToSplitAndUndo(e,t,t.invalidatedResources,eH.NC({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.invalidatedResources.createMessage()));let s=[];for(let e of i.editStacks)e.getClosestPastElement()!==t&&s.push(e.resourceLabel);if(s.length>0)return this._tryToSplitAndUndo(e,t,null,eH.NC({key:"cannotWorkspaceUndoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because changes were made to {1}",t.label,s.join(", ")));let o=[];for(let e of i.editStacks)e.locked&&o.push(e.resourceLabel);return o.length>0?this._tryToSplitAndUndo(e,t,null,eH.NC({key:"cannotWorkspaceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}",t.label,o.join(", "))):i.isValid()?null:this._tryToSplitAndUndo(e,t,null,eH.NC({key:"cannotWorkspaceUndoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime",t.label))}_workspaceUndo(e,t,i){let n=this._getAffectedEditStacks(t),s=this._checkWorkspaceUndo(e,t,n,!1);return s?s.returnValue:this._confirmAndExecuteWorkspaceUndo(e,t,n,i)}_isPartOfUndoGroup(e){if(!e.groupId)return!1;for(let[,t]of this._editStacks){let i=t.getClosestPastElement();if(i){if(i===e){let i=t.getSecondClosestPastElement();if(i&&i.groupId===e.groupId)return!0}if(i.groupId===e.groupId)return!0}}return!1}async _confirmAndExecuteWorkspaceUndo(e,t,i,n){let s;if(t.canSplit()&&!this._isPartOfUndoGroup(t)){var o;let s;(o=s||(s={}))[o.All=0]="All",o[o.This=1]="This",o[o.Cancel=2]="Cancel";let{result:r}=await this._dialogService.prompt({type:eW.Z.Info,message:eH.NC("confirmWorkspace","Would you like to undo '{0}' across all files?",t.label),buttons:[{label:eH.NC({key:"ok",comment:["{0} denotes a number that is > 1, && denotes a mnemonic"]},"&&Undo in {0} Files",i.editStacks.length),run:()=>s.All},{label:eH.NC({key:"nok",comment:["&& denotes a mnemonic"]},"Undo this &&File"),run:()=>s.This}],cancelButton:{run:()=>s.Cancel}});if(r===s.Cancel)return;if(r===s.This)return this._splitPastWorkspaceElement(t,null),this._undo(e,0,!0);let l=this._checkWorkspaceUndo(e,t,i,!1);if(l)return l.returnValue;n=!0}try{s=await this._invokeWorkspacePrepare(t)}catch(e){return this._onError(e,t)}let r=this._checkWorkspaceUndo(e,t,i,!0);if(r)return s.dispose(),r.returnValue;for(let e of i.editStacks)e.moveBackward(t);return this._safeInvokeWithLocks(t,()=>t.actual.undo(),i,s,()=>this._continueUndoInGroup(t.groupId,n))}_resourceUndo(e,t,i){if(!t.isValid){e.flushAllElements();return}if(e.locked){let e=eH.NC({key:"cannotResourceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not undo '{0}' because there is already an undo or redo operation running.",t.label);this._notificationService.warn(e);return}return this._invokeResourcePrepare(t,n=>(e.moveBackward(t),this._safeInvokeWithLocks(t,()=>t.actual.undo(),new eJ([e]),n,()=>this._continueUndoInGroup(t.groupId,i))))}_findClosestUndoElementInGroup(e){if(!e)return[null,null];let t=null,i=null;for(let[n,s]of this._editStacks){let o=s.getClosestPastElement();o&&o.groupId===e&&(!t||o.groupOrder>t.groupOrder)&&(t=o,i=n)}return[t,i]}_continueUndoInGroup(e,t){if(!e)return;let[,i]=this._findClosestUndoElementInGroup(e);if(i)return this._undo(i,0,t)}undo(e){if(e instanceof eK.gJ){let[,t]=this._findClosestUndoElementWithSource(e.id);return t?this._undo(t,e.id,!1):void 0}return"string"==typeof e?this._undo(e,0,!1):this._undo(this.getUriComparisonKey(e),0,!1)}_undo(e,t=0,i){if(!this._editStacks.has(e))return;let n=this._editStacks.get(e),s=n.getClosestPastElement();if(!s)return;if(s.groupId){let[e,n]=this._findClosestUndoElementInGroup(s.groupId);if(s!==e&&n)return this._undo(n,t,i)}let o=s.sourceId!==t||s.confirmBeforeUndo;return o&&!i?this._confirmAndContinueUndo(e,t,s):1===s.type?this._workspaceUndo(e,s,i):this._resourceUndo(n,s,i)}async _confirmAndContinueUndo(e,t,i){let n=await this._dialogService.confirm({message:eH.NC("confirmDifferentSource","Would you like to undo '{0}'?",i.label),primaryButton:eH.NC({key:"confirmDifferentSource.yes",comment:["&& denotes a mnemonic"]},"&&Yes"),cancelButton:eH.NC("confirmDifferentSource.no","No")});if(n.confirmed)return this._undo(e,t,!0)}_findClosestRedoElementWithSource(e){if(!e)return[null,null];let t=null,i=null;for(let[n,s]of this._editStacks){let o=s.getClosestFutureElement();o&&o.sourceId===e&&(!t||o.sourceOrder0)return this._tryToSplitAndRedo(e,t,null,eH.NC({key:"cannotWorkspaceRedoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because changes were made to {1}",t.label,s.join(", ")));let o=[];for(let e of i.editStacks)e.locked&&o.push(e.resourceLabel);return o.length>0?this._tryToSplitAndRedo(e,t,null,eH.NC({key:"cannotWorkspaceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}",t.label,o.join(", "))):i.isValid()?null:this._tryToSplitAndRedo(e,t,null,eH.NC({key:"cannotWorkspaceRedoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime",t.label))}_workspaceRedo(e,t){let i=this._getAffectedEditStacks(t),n=this._checkWorkspaceRedo(e,t,i,!1);return n?n.returnValue:this._executeWorkspaceRedo(e,t,i)}async _executeWorkspaceRedo(e,t,i){let n;try{n=await this._invokeWorkspacePrepare(t)}catch(e){return this._onError(e,t)}let s=this._checkWorkspaceRedo(e,t,i,!0);if(s)return n.dispose(),s.returnValue;for(let e of i.editStacks)e.moveForward(t);return this._safeInvokeWithLocks(t,()=>t.actual.redo(),i,n,()=>this._continueRedoInGroup(t.groupId))}_resourceRedo(e,t){if(!t.isValid){e.flushAllElements();return}if(e.locked){let e=eH.NC({key:"cannotResourceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not redo '{0}' because there is already an undo or redo operation running.",t.label);this._notificationService.warn(e);return}return this._invokeResourcePrepare(t,i=>(e.moveForward(t),this._safeInvokeWithLocks(t,()=>t.actual.redo(),new eJ([e]),i,()=>this._continueRedoInGroup(t.groupId))))}_findClosestRedoElementInGroup(e){if(!e)return[null,null];let t=null,i=null;for(let[n,s]of this._editStacks){let o=s.getClosestFutureElement();o&&o.groupId===e&&(!t||o.groupOrder=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([eU(0,eV.S),eU(1,ez.lT)],e0);class e1{constructor(e){this.returnValue=e}}(0,eN.z)(eK.tJ,e0,1),i(88191);var e2=i(43557),e5=i(68997),e4=i(73343),e3=function(e,t){return function(i,n){t(i,n,e)}};let e6=class extends T.JT{constructor(e,t,i){super(),this._themeService=e,this._logService=t,this._languageService=i,this._caches=new WeakMap,this._register(this._themeService.onDidColorThemeChange(()=>{this._caches=new WeakMap}))}getStyling(e){return this._caches.has(e)||this._caches.set(e,new e5.$(e.getLegend(),this._themeService,this._languageService,this._logService)),this._caches.get(e)}};e6=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([e3(0,ek.XE),e3(1,e2.VZ),e3(2,U.O)],e6),(0,eN.z)(e4.s,e6,1);var e9=i(22970);class e7{constructor(e,t,i,n){this.uri=e,this.languageId=t,this.notebookUri=i,this.notebookType=n}equals(e){var t,i;return this.notebookType===e.notebookType&&this.languageId===e.languageId&&this.uri.toString()===e.uri.toString()&&(null===(t=this.notebookUri)||void 0===t?void 0:t.toString())===(null===(i=e.notebookUri)||void 0===i?void 0:i.toString())}}class e8{constructor(e){this._notebookInfoResolver=e,this._clock=0,this._entries=[],this._onDidChange=new eS.Q5,this.onDidChange=this._onDidChange.event}register(e,t){let i={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(i),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),(0,T.OF)(()=>{if(i){let e=this._entries.indexOf(i);e>=0&&(this._entries.splice(e,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),i=void 0)}})}has(e){return this.all(e).length>0}all(e){if(!e)return[];this._updateScores(e);let t=[];for(let e of this._entries)e._score>0&&t.push(e.provider);return t}ordered(e){let t=[];return this._orderedForEach(e,e=>t.push(e.provider)),t}orderedGroups(e){let t,i;let n=[];return this._orderedForEach(e,e=>{t&&i===e._score?t.push(e.provider):(i=e._score,t=[e.provider],n.push(t))}),n}_orderedForEach(e,t){for(let i of(this._updateScores(e),this._entries))i._score>0&&t(i)}_updateScores(e){var t,i;let n=null===(t=this._notebookInfoResolver)||void 0===t?void 0:t.call(this,e.uri),s=n?new e7(e.uri,e.getLanguageId(),n.uri,n.type):new e7(e.uri,e.getLanguageId(),void 0,void 0);if(null===(i=this._lastCandidate)||void 0===i||!i.equals(s)){for(let t of(this._lastCandidate=s,this._entries))if(t._score=(0,e9.G)(t.selector,s.uri,s.languageId,(0,G.pt)(e),s.notebookUri,s.notebookType),function e(t){return"string"!=typeof t&&(Array.isArray(t)?t.every(e):!!t.exclusive)}(t.selector)&&t._score>0){for(let e of this._entries)e._score=0;t._score=1e3;break}this._entries.sort(e8._compareByScoreAndTime)}}static _compareByScoreAndTime(e,t){return e._scoret._score?-1:te(e.selector)&&!te(t.selector)?1:!te(e.selector)&&te(t.selector)?-1:e._timet._time?-1:0}}function te(e){return"string"!=typeof e&&(Array.isArray(e)?e.some(te):!!e.isBuiltin)}var tt=i(71922);(0,eN.z)(tt.p,class{constructor(){this.referenceProvider=new e8(this._score.bind(this)),this.renameProvider=new e8(this._score.bind(this)),this.newSymbolNamesProvider=new e8(this._score.bind(this)),this.codeActionProvider=new e8(this._score.bind(this)),this.definitionProvider=new e8(this._score.bind(this)),this.typeDefinitionProvider=new e8(this._score.bind(this)),this.declarationProvider=new e8(this._score.bind(this)),this.implementationProvider=new e8(this._score.bind(this)),this.documentSymbolProvider=new e8(this._score.bind(this)),this.inlayHintsProvider=new e8(this._score.bind(this)),this.colorProvider=new e8(this._score.bind(this)),this.codeLensProvider=new e8(this._score.bind(this)),this.documentFormattingEditProvider=new e8(this._score.bind(this)),this.documentRangeFormattingEditProvider=new e8(this._score.bind(this)),this.onTypeFormattingEditProvider=new e8(this._score.bind(this)),this.signatureHelpProvider=new e8(this._score.bind(this)),this.hoverProvider=new e8(this._score.bind(this)),this.documentHighlightProvider=new e8(this._score.bind(this)),this.multiDocumentHighlightProvider=new e8(this._score.bind(this)),this.selectionRangeProvider=new e8(this._score.bind(this)),this.foldingRangeProvider=new e8(this._score.bind(this)),this.linkProvider=new e8(this._score.bind(this)),this.inlineCompletionsProvider=new e8(this._score.bind(this)),this.inlineEditProvider=new e8(this._score.bind(this)),this.completionProvider=new e8(this._score.bind(this)),this.linkedEditingRangeProvider=new e8(this._score.bind(this)),this.documentRangeSemanticTokensProvider=new e8(this._score.bind(this)),this.documentSemanticTokensProvider=new e8(this._score.bind(this)),this.documentDropEditProvider=new e8(this._score.bind(this)),this.documentPasteEditProvider=new e8(this._score.bind(this))}_score(e){var t;return null===(t=this._notebookTypeResolver)||void 0===t?void 0:t.call(this,e)}},1);var ti=i(75974),tn=i(31543),ts=i(5606);i(76469);var to=i(91847),tr=i(30986),tl=i(93794),ta=i(50988),td=i(72545),th=i(59365),tu=i(1432),tc=i(31106),tg=function(e,t){return function(i,n){t(i,n,e)}};let tp=ew.$,tm=class extends tl.${get _targetWindow(){return ew.Jj(this._target.targetElements[0])}get _targetDocumentElement(){return ew.Jj(this._target.targetElements[0]).document.documentElement}get isDisposed(){return this._isDisposed}get isMouseIn(){return this._lockMouseTracker.isMouseIn}get domNode(){return this._hover.containerDomNode}get onDispose(){return this._onDispose.event}get onRequestLayout(){return this._onRequestLayout.event}get anchor(){return 2===this._hoverPosition?0:1}get x(){return this._x}get y(){return this._y}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked!==e&&(this._isLocked=e,this._hoverContainer.classList.toggle("locked",this._isLocked))}constructor(e,t,i,n,s,o){var r,l,a,d,h,u,c,g;let p;super(),this._keybindingService=t,this._configurationService=i,this._openerService=n,this._instantiationService=s,this._accessibilityService=o,this._messageListeners=new T.SL,this._isDisposed=!1,this._forcePosition=!1,this._x=0,this._y=0,this._isLocked=!1,this._enableFocusTraps=!1,this._addedFocusTrap=!1,this._onDispose=this._register(new eS.Q5),this._onRequestLayout=this._register(new eS.Q5),this._linkHandler=e.linkHandler||(t=>(0,td.N)(this._openerService,t,(0,th.Fr)(e.content)?e.content.isTrusted:void 0)),this._target="targetElements"in e.target?e.target:new t_(e.target),this._hoverPointer=(null===(r=e.appearance)||void 0===r?void 0:r.showPointer)?tp("div.workbench-hover-pointer"):void 0,this._hover=this._register(new tr.c8),this._hover.containerDomNode.classList.add("workbench-hover","fadeIn"),(null===(l=e.appearance)||void 0===l?void 0:l.compact)&&this._hover.containerDomNode.classList.add("workbench-hover","compact"),(null===(a=e.appearance)||void 0===a?void 0:a.skipFadeInAnimation)&&this._hover.containerDomNode.classList.add("skip-fade-in"),e.additionalClasses&&this._hover.containerDomNode.classList.add(...e.additionalClasses),(null===(d=e.position)||void 0===d?void 0:d.forcePosition)&&(this._forcePosition=!0),e.trapFocus&&(this._enableFocusTraps=!0),this._hoverPosition=null!==(u=null===(h=e.position)||void 0===h?void 0:h.hoverPosition)&&void 0!==u?u:3,this.onmousedown(this._hover.containerDomNode,e=>e.stopPropagation()),this.onkeydown(this._hover.containerDomNode,e=>{e.equals(9)&&this.dispose()}),this._register(ew.nm(this._targetWindow,"blur",()=>this.dispose()));let m=tp("div.hover-row.markdown-hover"),f=tp("div.hover-contents");if("string"==typeof e.content)f.textContent=e.content,f.style.whiteSpace="pre-wrap";else if(ew.Re(e.content))f.appendChild(e.content),f.classList.add("html-hover-contents");else{let t=e.content,i=this._instantiationService.createInstance(td.$,{codeBlockFontFamily:this._configurationService.getValue("editor").fontFamily||N.hL.fontFamily}),{element:n}=i.render(t,{actionHandler:{callback:e=>this._linkHandler(e),disposables:this._messageListeners},asyncRenderCallback:()=>{f.classList.add("code-hover-contents"),this.layout(),this._onRequestLayout.fire()}});f.appendChild(n)}if(m.appendChild(f),this._hover.contentsDomNode.appendChild(m),e.actions&&e.actions.length>0){let t=tp("div.hover-row.status-bar"),i=tp("div.actions");e.actions.forEach(e=>{let t=this._keybindingService.lookupKeybinding(e.commandId),n=t?t.getLabel():null;tr.Sr.render(i,{label:e.label,commandId:e.commandId,run:t=>{e.run(t),this.dispose()},iconClass:e.iconClass},n)}),t.appendChild(i),this._hover.containerDomNode.appendChild(t)}if(this._hoverContainer=tp("div.workbench-hover-container"),this._hoverPointer&&this._hoverContainer.appendChild(this._hoverPointer),this._hoverContainer.appendChild(this._hover.containerDomNode),(p=(!e.actions||!(e.actions.length>0))&&((null===(c=e.persistence)||void 0===c?void 0:c.hideOnHover)===void 0?"string"==typeof e.content||(0,th.Fr)(e.content)&&!e.content.value.includes("](")&&!e.content.value.includes(""):e.persistence.hideOnHover))&&(null===(g=e.appearance)||void 0===g?void 0:g.showHoverHint)){let e=tp("div.hover-row.status-bar"),t=tp("div.info");t.textContent=(0,eH.NC)("hoverhint","Hold {0} key to mouse over",tu.dz?"Option":"Alt"),e.appendChild(t),this._hover.containerDomNode.appendChild(e)}let _=[...this._target.targetElements];p||_.push(this._hoverContainer);let v=this._register(new tf(_));if(this._register(v.onMouseOut(()=>{this._isLocked||this.dispose()})),p){let e=[...this._target.targetElements,this._hoverContainer];this._lockMouseTracker=this._register(new tf(e)),this._register(this._lockMouseTracker.onMouseOut(()=>{this._isLocked||this.dispose()}))}else this._lockMouseTracker=v}addFocusTrap(){if(!this._enableFocusTraps||this._addedFocusTrap)return;this._addedFocusTrap=!0;let e=this._hover.containerDomNode,t=this.findLastFocusableChild(this._hover.containerDomNode);if(t){let i=ew.Ce(this._hoverContainer,tp("div")),n=ew.R3(this._hoverContainer,tp("div"));i.tabIndex=0,n.tabIndex=0,this._register(ew.nm(n,"focus",t=>{e.focus(),t.preventDefault()})),this._register(ew.nm(i,"focus",e=>{t.focus(),e.preventDefault()}))}}findLastFocusableChild(e){if(e.hasChildNodes())for(let t=0;t=0)return i;let n=this.findLastFocusableChild(i);if(n)return n}}render(e){var t;e.appendChild(this._hoverContainer);let i=this._hoverContainer.contains(this._hoverContainer.ownerDocument.activeElement),n=i&&(0,tr.uX)(!0===this._configurationService.getValue("accessibility.verbosity.hover")&&this._accessibilityService.isScreenReaderOptimized(),null===(t=this._keybindingService.lookupKeybinding("editor.action.accessibleView"))||void 0===t?void 0:t.getAriaLabel());n&&(0,eb.i7)(n),this.layout(),this.addFocusTrap()}layout(){this._hover.containerDomNode.classList.remove("right-aligned"),this._hover.contentsDomNode.style.maxHeight="";let e=e=>{let t=ew.I8(e),i=e.getBoundingClientRect();return{top:i.top*t,bottom:i.bottom*t,right:i.right*t,left:i.left*t}},t=this._target.targetElements.map(t=>e(t)),{top:i,right:n,bottom:s,left:o}=t[0],r=n-o,l=s-i,a={top:i,right:n,bottom:s,left:o,width:r,height:l,center:{x:o+r/2,y:i+l/2}};if(this.adjustHorizontalHoverPosition(a),this.adjustVerticalHoverPosition(a),this.adjustHoverMaxHeight(a),this._hoverContainer.style.padding="",this._hoverContainer.style.margin="",this._hoverPointer){switch(this._hoverPosition){case 1:a.left+=3,a.right+=3,this._hoverContainer.style.paddingLeft="3px",this._hoverContainer.style.marginLeft="-3px";break;case 0:a.left-=3,a.right-=3,this._hoverContainer.style.paddingRight="3px",this._hoverContainer.style.marginRight="-3px";break;case 2:a.top+=3,a.bottom+=3,this._hoverContainer.style.paddingTop="3px",this._hoverContainer.style.marginTop="-3px";break;case 3:a.top-=3,a.bottom-=3,this._hoverContainer.style.paddingBottom="3px",this._hoverContainer.style.marginBottom="-3px"}a.center.x=a.left+r/2,a.center.y=a.top+l/2}this.computeXCordinate(a),this.computeYCordinate(a),this._hoverPointer&&(this._hoverPointer.classList.remove("top"),this._hoverPointer.classList.remove("left"),this._hoverPointer.classList.remove("right"),this._hoverPointer.classList.remove("bottom"),this.setHoverPointerPosition(a)),this._hover.onContentsChanged()}computeXCordinate(e){let t=this._hover.containerDomNode.clientWidth+2;void 0!==this._target.x?this._x=this._target.x:1===this._hoverPosition?this._x=e.right:0===this._hoverPosition?this._x=e.left-t:(this._hoverPointer?this._x=e.center.x-this._hover.containerDomNode.clientWidth/2:this._x=e.left,this._x+t>=this._targetDocumentElement.clientWidth&&(this._hover.containerDomNode.classList.add("right-aligned"),this._x=Math.max(this._targetDocumentElement.clientWidth-t-2,this._targetDocumentElement.clientLeft))),this._xthis._targetWindow.innerHeight&&(this._y=e.bottom)}adjustHorizontalHoverPosition(e){if(void 0!==this._target.x)return;let t=this._hoverPointer?3:0;if(this._forcePosition){let i=t+2;1===this._hoverPosition?this._hover.containerDomNode.style.maxWidth=`${this._targetDocumentElement.clientWidth-e.right-i}px`:0===this._hoverPosition&&(this._hover.containerDomNode.style.maxWidth=`${e.left-i}px`);return}if(1===this._hoverPosition){let i=this._targetDocumentElement.clientWidth-e.right;if(i=this._hover.containerDomNode.clientWidth+t?this._hoverPosition=0:this._hoverPosition=2}}else if(0===this._hoverPosition){let i=e.left;if(i=this._hover.containerDomNode.clientWidth+t?this._hoverPosition=1:this._hoverPosition=2}e.left-this._hover.containerDomNode.clientWidth-t<=this._targetDocumentElement.clientLeft&&(this._hoverPosition=1)}}adjustVerticalHoverPosition(e){if(void 0!==this._target.y||this._forcePosition)return;let t=this._hoverPointer?3:0;3===this._hoverPosition?e.top-this._hover.containerDomNode.clientHeight-t<0&&(this._hoverPosition=2):2===this._hoverPosition&&e.bottom+this._hover.containerDomNode.clientHeight+t>this._targetWindow.innerHeight&&(this._hoverPosition=3)}adjustHoverMaxHeight(e){let t=this._targetWindow.innerHeight/2;if(this._forcePosition){let i=(this._hoverPointer?3:0)+2;3===this._hoverPosition?t=Math.min(t,e.top-i):2===this._hoverPosition&&(t=Math.min(t,this._targetWindow.innerHeight-e.bottom-i))}if(this._hover.containerDomNode.style.maxHeight=`${t}px`,this._hover.contentsDomNode.clientHeighte.height?this._hoverPointer.style.top=`${e.center.y-(this._y-t)-3}px`:this._hoverPointer.style.top=`${Math.round(t/2)-3}px`;break}case 3:case 2:{this._hoverPointer.classList.add(3===this._hoverPosition?"bottom":"top");let t=this._hover.containerDomNode.clientWidth,i=Math.round(t/2)-3,n=this._x+i;(ne.right)&&(i=e.center.x-this._x-3),this._hoverPointer.style.left=`${i}px`}}}focus(){this._hover.containerDomNode.focus()}dispose(){this._isDisposed||(this._onDispose.fire(),this._hoverContainer.remove(),this._messageListeners.dispose(),this._target.dispose(),super.dispose()),this._isDisposed=!0}};tm=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([tg(1,to.d),tg(2,el.Ui),tg(3,ta.v),tg(4,eM.TG),tg(5,tc.F)],tm);class tf extends tl.${get onMouseOut(){return this._onMouseOut.event}get isMouseIn(){return this._isMouseIn}constructor(e){super(),this._elements=e,this._isMouseIn=!0,this._onMouseOut=this._register(new eS.Q5),this._elements.forEach(e=>this.onmouseover(e,()=>this._onTargetMouseOver(e))),this._elements.forEach(e=>this.onmouseleave(e,()=>this._onTargetMouseLeave(e)))}_onTargetMouseOver(e){this._isMouseIn=!0,this._clearEvaluateMouseStateTimeout(e)}_onTargetMouseLeave(e){this._isMouseIn=!1,this._evaluateMouseState(e)}_evaluateMouseState(e){this._clearEvaluateMouseStateTimeout(e),this._mouseTimeout=ew.Jj(e).setTimeout(()=>this._fireIfMouseOutside(),0)}_clearEvaluateMouseStateTimeout(e){this._mouseTimeout&&(ew.Jj(e).clearTimeout(this._mouseTimeout),this._mouseTimeout=void 0)}_fireIfMouseOutside(){this._isMouseIn||this._onMouseOut.fire()}}class t_{constructor(e){this._element=e,this.targetElements=[this._element]}dispose(){}}var tv=i(59069),tb=i(10161),tC=i(61134);function tw(e,t,i){let n=i.mode===m.ALIGN?i.offset:i.offset+i.size,s=i.mode===m.ALIGN?i.offset+i.size:i.offset;return 0===i.position?t<=e-n?n:t<=s?s-t:Math.max(e-t,0):t<=s?s-t:t<=e-n?n:0}i(7697),(o=m||(m={}))[o.AVOID=0]="AVOID",o[o.ALIGN=1]="ALIGN";class ty extends T.JT{constructor(e,t){super(),this.container=null,this.useFixedPosition=!1,this.useShadowDOM=!1,this.delegate=null,this.toDisposeOnClean=T.JT.None,this.toDisposeOnSetContainer=T.JT.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=ew.$(".context-view"),ew.Cp(this.view),this.setContainer(e,t),this._register((0,T.OF)(()=>this.setContainer(null,1)))}setContainer(e,t){var i;this.useFixedPosition=1!==t;let n=this.useShadowDOM;if(this.useShadowDOM=3===t,(e!==this.container||n!==this.useShadowDOM)&&(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,null===(i=this.shadowRootHostElement)||void 0===i||i.remove(),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),e)){if(this.container=e,this.useShadowDOM){this.shadowRootHostElement=ew.$(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"});let e=document.createElement("style");e.textContent=tS,this.shadowRoot.appendChild(e),this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(ew.$("slot"))}else this.container.appendChild(this.view);let t=new T.SL;ty.BUBBLE_UP_EVENTS.forEach(e=>{t.add(ew.mu(this.container,e,e=>{this.onDOMEvent(e,!1)}))}),ty.BUBBLE_DOWN_EVENTS.forEach(e=>{t.add(ew.mu(this.container,e,e=>{this.onDOMEvent(e,!0)},!0))}),this.toDisposeOnSetContainer=t}}show(e){var t,i,n;this.isVisible()&&this.hide(),ew.PO(this.view),this.view.className="context-view monaco-component",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex=`${2575+(null!==(t=e.layer)&&void 0!==t?t:0)}`,this.view.style.position=this.useFixedPosition?"fixed":"absolute",ew.$Z(this.view),this.toDisposeOnClean=e.render(this.view)||T.JT.None,this.delegate=e,this.doLayout(),null===(n=(i=this.delegate).focus)||void 0===n||n.call(i)}getViewElement(){return this.view}layout(){var e,t;if(this.isVisible()){if(!1===this.delegate.canRelayout&&!(tu.gn&&tb.D.pointerEvents)){this.hide();return}null===(t=null===(e=this.delegate)||void 0===e?void 0:e.layout)||void 0===t||t.call(e),this.doLayout()}}doLayout(){let e,t,i;if(!this.isVisible())return;let n=this.delegate.getAnchor();if(ew.Re(n)){let t=ew.i(n),i=ew.I8(n);e={top:t.top*i,left:t.left*i,width:t.width*i,height:t.height*i}}else e=n&&"number"==typeof n.x&&"number"==typeof n.y?{top:n.y,left:n.x,width:n.width||1,height:n.height||2}:{top:n.posy,left:n.posx,width:2,height:2};let s=ew.w(this.view),o=ew.wn(this.view),r=this.delegate.anchorPosition||0,l=this.delegate.anchorAlignment||0,a=this.delegate.anchorAxisAlignment||0,d=ew.WN();if(0===a){let n={offset:e.top-d.pageYOffset,size:e.height,position:0===r?0:1},a={offset:e.left,size:e.width,position:0===l?0:1,mode:m.ALIGN};t=tw(d.innerHeight,o,n)+d.pageYOffset,tC.e.intersects({start:t,end:t+o},{start:n.offset,end:n.offset+n.size})&&(a.mode=m.AVOID),i=tw(d.innerWidth,s,a)}else{let n={offset:e.left,size:e.width,position:0===l?0:1},a={offset:e.top,size:e.height,position:0===r?0:1,mode:m.ALIGN};i=tw(d.innerWidth,s,n),tC.e.intersects({start:i,end:i+s},{start:n.offset,end:n.offset+n.size})&&(a.mode=m.AVOID),t=tw(d.innerHeight,o,a)+d.pageYOffset}this.view.classList.remove("top","bottom","left","right"),this.view.classList.add(0===r?"bottom":"top"),this.view.classList.add(0===l?"left":"right"),this.view.classList.toggle("fixed",this.useFixedPosition);let h=ew.i(this.container);this.view.style.top=`${t-(this.useFixedPosition?ew.i(this.view).top:h.top)}px`,this.view.style.left=`${i-(this.useFixedPosition?ew.i(this.view).left:h.left)}px`,this.view.style.width="initial"}hide(e){let t=this.delegate;this.delegate=null,(null==t?void 0:t.onHide)&&t.onHide(e),this.toDisposeOnClean.dispose(),ew.Cp(this.view)}isVisible(){return!!this.delegate}onDOMEvent(e,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(e,ew.Jj(e).document.activeElement):t&&!ew.jg(e.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}ty.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],ty.BUBBLE_DOWN_EVENTS=["click"];let tS=` - :host { - all: initial; /* 1st rule so subsequent properties are reset. */ - } - - .codicon[class*='codicon-'] { - font: normal normal normal 16px/1 codicon; - display: inline-block; - text-decoration: none; - text-rendering: auto; - text-align: center; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - } - - :host { - font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif; - } - - :host-context(.mac) { font-family: -apple-system, BlinkMacSystemFont, sans-serif; } - :host-context(.mac:lang(zh-Hans)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif; } - :host-context(.mac:lang(zh-Hant)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif; } - :host-context(.mac:lang(ja)) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic Pro", sans-serif; } - :host-context(.mac:lang(ko)) { font-family: -apple-system, BlinkMacSystemFont, "Nanum Gothic", "Apple SD Gothic Neo", "AppleGothic", sans-serif; } - - :host-context(.windows) { font-family: "Segoe WPC", "Segoe UI", sans-serif; } - :host-context(.windows:lang(zh-Hans)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft YaHei", sans-serif; } - :host-context(.windows:lang(zh-Hant)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft Jhenghei", sans-serif; } - :host-context(.windows:lang(ja)) { font-family: "Segoe WPC", "Segoe UI", "Yu Gothic UI", "Meiryo UI", sans-serif; } - :host-context(.windows:lang(ko)) { font-family: "Segoe WPC", "Segoe UI", "Malgun Gothic", "Dotom", sans-serif; } - - :host-context(.linux) { font-family: system-ui, "Ubuntu", "Droid Sans", sans-serif; } - :host-context(.linux:lang(zh-Hans)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans SC", "Source Han Sans CN", "Source Han Sans", sans-serif; } - :host-context(.linux:lang(zh-Hant)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans TC", "Source Han Sans TW", "Source Han Sans", sans-serif; } - :host-context(.linux:lang(ja)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans J", "Source Han Sans JP", "Source Han Sans", sans-serif; } - :host-context(.linux:lang(ko)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans K", "Source Han Sans JR", "Source Han Sans", "UnDotum", "FBaekmuk Gulim", sans-serif; } -`,tL=class extends T.JT{constructor(e){super(),this.layoutService=e,this.contextView=this._register(new ty(this.layoutService.mainContainer,1)),this.layout(),this._register(e.onDidLayoutContainer(()=>this.layout()))}showContextView(e,t,i){let n;n=t?t===this.layoutService.getContainer((0,ew.Jj)(t))?1:i?3:2:1,this.contextView.setContainer(null!=t?t:this.layoutService.activeContainer,n),this.contextView.show(e);let s={close:()=>{this.openContextView===s&&this.hideContextView()}};return this.openContextView=s,s}layout(){this.contextView.layout()}hideContextView(e){this.contextView.hide(e),this.openContextView=void 0}};tL=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([function(e,t){eR(e,t,0)}],tL);class tk extends tL{getContextViewElement(){return this.contextView.getViewElement()}}var tD=i(71050),tx=i(98401);class tN{constructor(e,t,i){this.hoverDelegate=e,this.target=t,this.fadeInAnimation=i}async update(e,t,i){var n;let s;if(this._cancellationTokenSource&&(this._cancellationTokenSource.dispose(!0),this._cancellationTokenSource=void 0),!this.isDisposed){if(void 0===e||(0,tx.HD)(e)||(0,ew.Re)(e))s=e;else if((0,tx.mf)(e.markdown)){this._hoverWidget||this.show((0,eH.NC)("iconLabel.loading","Loading..."),t,i),this._cancellationTokenSource=new tD.AU;let n=this._cancellationTokenSource.token;if(void 0===(s=await e.markdown(n))&&(s=e.markdownNotSupportedFallback),this.isDisposed||n.isCancellationRequested)return}else s=null!==(n=e.markdown)&&void 0!==n?n:e.markdownNotSupportedFallback;this.show(s,t,i)}}show(e,t,i){let n=this._hoverWidget;if(this.hasContent(e)){let s={content:e,target:this.target,appearance:{showPointer:"element"===this.hoverDelegate.placement,skipFadeInAnimation:!this.fadeInAnimation||!!n},position:{hoverPosition:2},...i};this._hoverWidget=this.hoverDelegate.showHover(s,t)}null==n||n.dispose()}hasContent(e){return!!e&&(!(0,th.Fr)(e)||!!e.value)}get isDisposed(){var e;return null===(e=this._hoverWidget)||void 0===e?void 0:e.isDisposed}dispose(){var e,t;null===(e=this._hoverWidget)||void 0===e||e.dispose(),null===(t=this._cancellationTokenSource)||void 0===t||t.dispose(!0),this._cancellationTokenSource=void 0}}var tE=i(15393),tI=function(e,t){return function(i,n){t(i,n,e)}};let tT=class extends T.JT{constructor(e,t,i,n,s){super(),this._instantiationService=e,this._keybindingService=i,this._layoutService=n,this._accessibilityService=s,this._existingHovers=new Map,t.onDidShowContextMenu(()=>this.hideHover()),this._contextViewHandler=this._register(new tL(this._layoutService))}showHover(e,t,i){var n,s,o,r;if(tM(this._currentHoverOptions)===tM(e)||this._currentHover&&(null===(s=null===(n=this._currentHoverOptions)||void 0===n?void 0:n.persistence)||void 0===s?void 0:s.sticky))return;this._currentHoverOptions=e,this._lastHoverOptions=e;let l=e.trapFocus||this._accessibilityService.isScreenReaderOptimized(),a=(0,ew.vY)();i||(l&&a?a.classList.contains("monaco-hover")||(this._lastFocusedElementBeforeOpen=a):this._lastFocusedElementBeforeOpen=void 0);let d=new T.SL,h=this._instantiationService.createInstance(tm,e);if((null===(o=e.persistence)||void 0===o?void 0:o.sticky)&&(h.isLocked=!0),h.onDispose(()=>{var t,i;let n=(null===(t=this._currentHover)||void 0===t?void 0:t.domNode)&&(0,ew.b5)(this._currentHover.domNode);n&&(null===(i=this._lastFocusedElementBeforeOpen)||void 0===i||i.focus()),this._currentHoverOptions===e&&(this._currentHoverOptions=void 0),d.dispose()},void 0,d),!e.container){let t=(0,ew.Re)(e.target)?e.target:e.target.targetElements[0];e.container=this._layoutService.getContainer((0,ew.Jj)(t))}if(this._contextViewHandler.showContextView(new tR(h,t),e.container),h.onRequestLayout(()=>this._contextViewHandler.layout(),void 0,d),null===(r=e.persistence)||void 0===r?void 0:r.sticky)d.add((0,ew.nm)((0,ew.Jj)(e.container).document,ew.tw.MOUSE_DOWN,e=>{(0,ew.jg)(e.target,h.domNode)||this.doHideHover()}));else{if("targetElements"in e.target)for(let t of e.target.targetElements)d.add((0,ew.nm)(t,ew.tw.CLICK,()=>this.hideHover()));else d.add((0,ew.nm)(e.target,ew.tw.CLICK,()=>this.hideHover()));let t=(0,ew.vY)();if(t){let i=(0,ew.Jj)(t).document;d.add((0,ew.nm)(t,ew.tw.KEY_DOWN,t=>{var i;return this._keyDown(t,h,!!(null===(i=e.persistence)||void 0===i?void 0:i.hideOnKeyDown))})),d.add((0,ew.nm)(i,ew.tw.KEY_DOWN,t=>{var i;return this._keyDown(t,h,!!(null===(i=e.persistence)||void 0===i?void 0:i.hideOnKeyDown))})),d.add((0,ew.nm)(t,ew.tw.KEY_UP,e=>this._keyUp(e,h))),d.add((0,ew.nm)(i,ew.tw.KEY_UP,e=>this._keyUp(e,h)))}}if("IntersectionObserver"in I.E){let t=new IntersectionObserver(e=>this._intersectionChange(e,h),{threshold:0}),i="targetElements"in e.target?e.target.targetElements[0]:e.target;t.observe(i),d.add((0,T.OF)(()=>t.disconnect()))}return this._currentHover=h,h}hideHover(){var e;(null===(e=this._currentHover)||void 0===e||!e.isLocked)&&this._currentHoverOptions&&this.doHideHover()}doHideHover(){this._currentHover=void 0,this._currentHoverOptions=void 0,this._contextViewHandler.hideContextView()}_intersectionChange(e,t){let i=e[e.length-1];i.isIntersecting||t.dispose()}showAndFocusLastHover(){this._lastHoverOptions&&this.showHover(this._lastHoverOptions,!0,!0)}_keyDown(e,t,i){var n,s;if("Alt"===e.key){t.isLocked=!0;return}let o=new tv.y(e),r=this._keybindingService.resolveKeyboardEvent(o);!r.getSingleModifierDispatchChords().some(e=>!!e)&&0===this._keybindingService.softDispatch(o,o.target).kind&&(!i||(null===(n=this._currentHoverOptions)||void 0===n?void 0:n.trapFocus)&&"Tab"===e.key||(this.hideHover(),null===(s=this._lastFocusedElementBeforeOpen)||void 0===s||s.focus()))}_keyUp(e,t){var i;"Alt"!==e.key||(t.isLocked=!1,t.isMouseIn||(this.hideHover(),null===(i=this._lastFocusedElementBeforeOpen)||void 0===i||i.focus()))}setupUpdatableHover(e,t,i,n){let s,o,r;t.setAttribute("custom-hover","true"),""!==t.title&&(console.warn("HTML element already has a title attribute, which will conflict with the custom hover. Please remove the title attribute."),console.trace("Stack trace:",t.title),t.title="");let l=(t,i)=>{var n;let r=void 0!==o;t&&(null==o||o.dispose(),o=void 0),i&&(null==s||s.dispose(),s=void 0),r&&(null===(n=e.onDidHideHover)||void 0===n||n.call(e),o=void 0)},a=(s,r,l,a)=>new tE._F(async()=>{(!o||o.isDisposed)&&(o=new tN(e,l||t,s>0),await o.update("function"==typeof i?i():i,r,{...n,trapFocus:a}))},s),d=!1,h=(0,ew.nm)(t,ew.tw.MOUSE_DOWN,()=>{d=!0,l(!0,!0)},!0),u=(0,ew.nm)(t,ew.tw.MOUSE_UP,()=>{d=!1},!0),c=(0,ew.nm)(t,ew.tw.MOUSE_LEAVE,e=>{d=!1,l(!1,e.fromElement===t)},!0),g=(0,ew.nm)(t,ew.tw.MOUSE_OVER,i=>{if(s)return;let n=new T.SL,o={targetElements:[t],dispose:()=>{}};(void 0===e.placement||"mouse"===e.placement)&&n.add((0,ew.nm)(t,ew.tw.MOUSE_MOVE,e=>{o.x=e.x+10,(0,ew.Re)(e.target)&&tA(e.target,t)!==t&&l(!0,!0)},!0)),s=n,(0,ew.Re)(i.target)&&tA(i.target,t)!==t||n.add(a(e.delay,!1,o))},!0),p=t.tagName.toLowerCase();"input"!==p&&"textarea"!==p&&(r=(0,ew.nm)(t,ew.tw.FOCUS,()=>{if(d||s)return;let i=new T.SL;i.add((0,ew.nm)(t,ew.tw.BLUR,()=>l(!0,!0),!0)),i.add(a(e.delay,!1,{targetElements:[t],dispose:()=>{}})),s=i},!0));let m={show:e=>{l(!1,!0),a(0,e,void 0,e)},hide:()=>{l(!0,!0)},update:async(e,t)=>{i=e,await (null==o?void 0:o.update(i,void 0,t))},dispose:()=>{this._existingHovers.delete(t),g.dispose(),c.dispose(),h.dispose(),u.dispose(),null==r||r.dispose(),l(!0,!0)}};return this._existingHovers.set(t,m),m}triggerUpdatableHover(e){let t=this._existingHovers.get(e);t&&t.show(!0)}dispose(){this._existingHovers.forEach(e=>e.dispose()),super.dispose()}};function tM(e){var t;if(void 0!==e)return null!==(t=null==e?void 0:e.id)&&void 0!==t?t:e}tT=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([tI(0,eM.TG),tI(1,ts.i),tI(2,to.d),tI(3,eR),tI(4,tc.F)],tT);class tR{get anchorPosition(){return this._hover.anchor}constructor(e,t=!1){this._hover=e,this._focus=t,this.layer=1}render(e){return this._hover.render(e),this._focus&&this._hover.focus(),this._hover}getAnchor(){return{x:this._hover.x,y:this._hover.y}}layout(){this._hover.layout()}}function tA(e,t){for(t=null!=t?t:(0,ew.Jj)(e).document.body;!e.hasAttribute("custom-hover")&&e!==t;)e=e.parentElement;return e}(0,eN.z)(tn.Bs,tT,1),(0,ek.Ic)((e,t)=>{let i=e.getColor(ti.CNo);i&&(t.addRule(`.monaco-workbench .workbench-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${i.transparent(.5)}; }`),t.addRule(`.monaco-workbench .workbench-hover hr { border-top: 1px solid ${i.transparent(.5)}; }`))});var tP=i(8313),tO=i(66007),tF=i(800),tB=i(69386),tW=i(50187),tH=i(24314),tV=i(88216),tz=i(71765),tK=i(94565),tU=i(43702),t$=i(23193),tq=i(89872);function tj(e){return Object.isFrozen(e)?e:F._A(e)}class tG{static createEmptyModel(e){return new tG({},[],[],void 0,e)}constructor(e,t,i,n,s){this._contents=e,this._keys=t,this._overrides=i,this.raw=n,this.logService=s,this.overrideConfigurations=new Map}get rawConfiguration(){var e;if(!this._rawConfiguration){if(null===(e=this.raw)||void 0===e?void 0:e.length){let e=this.raw.map(e=>{if(e instanceof tG)return e;let t=new tQ("",this.logService);return t.parseRaw(e),t.configurationModel});this._rawConfiguration=e.reduce((e,t)=>t===e?t:e.merge(t),e[0])}else this._rawConfiguration=this}return this._rawConfiguration}get contents(){return this._contents}get overrides(){return this._overrides}get keys(){return this._keys}isEmpty(){return 0===this._keys.length&&0===Object.keys(this._contents).length&&0===this._overrides.length}getValue(e){return e?(0,el.Mt)(this.contents,e):this.contents}inspect(e,t){let i=this;return{get value(){return tj(i.rawConfiguration.getValue(e))},get override(){return t?tj(i.rawConfiguration.getOverrideValue(e,t)):void 0},get merged(){return tj(t?i.rawConfiguration.override(t).getValue(e):i.rawConfiguration.getValue(e))},get overrides(){let t=[];for(let{contents:n,identifiers:s,keys:o}of i.rawConfiguration.overrides){let r=new tG(n,o,[],void 0,i.logService).getValue(e);void 0!==r&&t.push({identifiers:s,value:r})}return t.length?tj(t):void 0}}}getOverrideValue(e,t){let i=this.getContentsForOverrideIdentifer(t);return i?e?(0,el.Mt)(i,e):i:void 0}override(e){let t=this.overrideConfigurations.get(e);return t||(t=this.createOverrideConfigurationModel(e),this.overrideConfigurations.set(e,t)),t}merge(...e){var t,i;let n=F.I8(this.contents),s=F.I8(this.overrides),o=[...this.keys],r=(null===(t=this.raw)||void 0===t?void 0:t.length)?[...this.raw]:[this];for(let t of e)if(r.push(...(null===(i=t.raw)||void 0===i?void 0:i.length)?t.raw:[t]),!t.isEmpty()){for(let e of(this.mergeContents(n,t.contents),t.overrides)){let[t]=s.filter(t=>eT.fS(t.identifiers,e.identifiers));t?(this.mergeContents(t.contents,e.contents),t.keys.push(...e.keys),t.keys=eT.EB(t.keys)):s.push(F.I8(e))}for(let e of t.keys)-1===o.indexOf(e)&&o.push(e)}return new tG(n,o,s,r.every(e=>e instanceof tG)?void 0:r,this.logService)}createOverrideConfigurationModel(e){let t=this.getContentsForOverrideIdentifer(e);if(!t||"object"!=typeof t||!Object.keys(t).length)return this;let i={};for(let e of eT.EB([...Object.keys(this.contents),...Object.keys(t)])){let n=this.contents[e],s=t[e];s&&("object"==typeof n&&"object"==typeof s?(n=F.I8(n),this.mergeContents(n,s)):n=s),i[e]=n}return new tG(i,this.keys,this.overrides,void 0,this.logService)}mergeContents(e,t){for(let i of Object.keys(t)){if(i in e&&tx.Kn(e[i])&&tx.Kn(t[i])){this.mergeContents(e[i],t[i]);continue}e[i]=F.I8(t[i])}}getContentsForOverrideIdentifer(e){let t=null,i=null,n=e=>{e&&(i?this.mergeContents(i,e):i=F.I8(e))};for(let i of this.overrides)1===i.identifiers.length&&i.identifiers[0]===e?t=i.contents:i.identifiers.includes(e)&&n(i.contents);return n(t),i}toJSON(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}addValue(e,t){this.updateValue(e,t,!0)}setValue(e,t){this.updateValue(e,t,!1)}removeValue(e){let t=this.keys.indexOf(e);-1!==t&&(this.keys.splice(t,1),(0,el.xL)(this.contents,e),t$.eU.test(e)&&this.overrides.splice(this.overrides.findIndex(t=>eT.fS(t.identifiers,(0,t$.ny)(e))),1))}updateValue(e,t,i){(0,el.KV)(this.contents,e,t,e=>this.logService.error(e)),(i=i||-1===this.keys.indexOf(e))&&this.keys.push(e),t$.eU.test(e)&&this.overrides.push({identifiers:(0,t$.ny)(e),keys:Object.keys(this.contents[e]),contents:(0,el.Od)(this.contents[e],e=>this.logService.error(e))})}}class tQ{constructor(e,t){this._name=e,this.logService=t,this._raw=null,this._configurationModel=null,this._restrictedConfigurations=[]}get configurationModel(){return this._configurationModel||tG.createEmptyModel(this.logService)}parseRaw(e,t){this._raw=e;let{contents:i,keys:n,overrides:s,restricted:o,hasExcludedProperties:r}=this.doParseRaw(e,t);this._configurationModel=new tG(i,n,s,r?[e]:void 0,this.logService),this._restrictedConfigurations=o||[]}doParseRaw(e,t){let i=tq.B.as(t$.IP.Configuration).getConfigurationProperties(),n=this.filter(e,i,!0,t);e=n.raw;let s=(0,el.Od)(e,e=>this.logService.error(`Conflict in settings file ${this._name}: ${e}`)),o=Object.keys(e),r=this.toOverrides(e,e=>this.logService.error(`Conflict in settings file ${this._name}: ${e}`));return{contents:s,keys:o,overrides:r,restricted:n.restricted,hasExcludedProperties:n.hasExcludedProperties}}filter(e,t,i,n){var s,o,r;let l=!1;if(!(null==n?void 0:n.scopes)&&!(null==n?void 0:n.skipRestricted)&&!(null===(s=null==n?void 0:n.exclude)||void 0===s?void 0:s.length))return{raw:e,restricted:[],hasExcludedProperties:l};let a={},d=[];for(let s in e)if(t$.eU.test(s)&&i){let i=this.filter(e[s],t,!1,n);a[s]=i.raw,l=l||i.hasExcludedProperties,d.push(...i.restricted)}else{let i=t[s],h=i?void 0!==i.scope?i.scope:3:void 0;(null==i?void 0:i.restricted)&&d.push(s),!(null===(o=n.exclude)||void 0===o?void 0:o.includes(s))&&((null===(r=n.include)||void 0===r?void 0:r.includes(s))||(void 0===h||void 0===n.scopes||n.scopes.includes(h))&&!(n.skipRestricted&&(null==i?void 0:i.restricted)))?a[s]=e[s]:l=!0}return{raw:a,restricted:d,hasExcludedProperties:l}}toOverrides(e,t){let i=[];for(let n of Object.keys(e))if(t$.eU.test(n)){let s={};for(let t in e[n])s[t]=e[n][t];i.push({identifiers:(0,t$.ny)(n),keys:Object.keys(s),contents:(0,el.Od)(s,t)})}return i}}class tZ{constructor(e,t,i,n,s,o,r,l,a,d,h,u,c){this.key=e,this.overrides=t,this._value=i,this.overrideIdentifiers=n,this.defaultConfiguration=s,this.policyConfiguration=o,this.applicationConfiguration=r,this.userConfiguration=l,this.localUserConfiguration=a,this.remoteUserConfiguration=d,this.workspaceConfiguration=h,this.folderConfigurationModel=u,this.memoryConfigurationModel=c}toInspectValue(e){return(null==e?void 0:e.value)!==void 0||(null==e?void 0:e.override)!==void 0||(null==e?void 0:e.overrides)!==void 0?e:void 0}get userInspectValue(){return this._userInspectValue||(this._userInspectValue=this.userConfiguration.inspect(this.key,this.overrides.overrideIdentifier)),this._userInspectValue}get user(){return this.toInspectValue(this.userInspectValue)}}class tY{constructor(e,t,i,n,s,o,r,l,a,d){this._defaultConfiguration=e,this._policyConfiguration=t,this._applicationConfiguration=i,this._localUserConfiguration=n,this._remoteUserConfiguration=s,this._workspaceConfiguration=o,this._folderConfigurations=r,this._memoryConfiguration=l,this._memoryConfigurationByResource=a,this.logService=d,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new tU.Y9,this._userConfiguration=null}getValue(e,t,i){let n=this.getConsolidatedConfigurationModel(e,t,i);return n.getValue(e)}updateValue(e,t,i={}){let n;i.resource?(n=this._memoryConfigurationByResource.get(i.resource))||(n=tG.createEmptyModel(this.logService),this._memoryConfigurationByResource.set(i.resource,n)):n=this._memoryConfiguration,void 0===t?n.removeValue(e):n.setValue(e,t),i.resource||(this._workspaceConsolidatedConfiguration=null)}inspect(e,t,i){let n=this.getConsolidatedConfigurationModel(e,t,i),s=this.getFolderConfigurationModelForResource(t.resource,i),o=t.resource&&this._memoryConfigurationByResource.get(t.resource)||this._memoryConfiguration,r=new Set;for(let t of n.overrides)for(let i of t.identifiers)void 0!==n.getOverrideValue(e,i)&&r.add(i);return new tZ(e,t,n.getValue(e),r.size?[...r]:void 0,this._defaultConfiguration,this._policyConfiguration.isEmpty()?void 0:this._policyConfiguration,this.applicationConfiguration.isEmpty()?void 0:this.applicationConfiguration,this.userConfiguration,this.localUserConfiguration,this.remoteUserConfiguration,i?this._workspaceConfiguration:void 0,s||void 0,o)}get applicationConfiguration(){return this._applicationConfiguration}get userConfiguration(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration)),this._userConfiguration}get localUserConfiguration(){return this._localUserConfiguration}get remoteUserConfiguration(){return this._remoteUserConfiguration}getConsolidatedConfigurationModel(e,t,i){let n=this.getConsolidatedConfigurationModelForResource(t,i);return t.overrideIdentifier&&(n=n.override(t.overrideIdentifier)),this._policyConfiguration.isEmpty()||void 0===this._policyConfiguration.getValue(e)||(n=n.merge(this._policyConfiguration)),n}getConsolidatedConfigurationModelForResource({resource:e},t){let i=this.getWorkspaceConsolidatedConfiguration();if(t&&e){let n=t.getFolder(e);n&&(i=this.getFolderConsolidatedConfiguration(n.uri)||i);let s=this._memoryConfigurationByResource.get(e);s&&(i=i.merge(s))}return i}getWorkspaceConsolidatedConfiguration(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.applicationConfiguration,this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration)),this._workspaceConsolidatedConfiguration}getFolderConsolidatedConfiguration(e){let t=this._foldersConsolidatedConfigurations.get(e);if(!t){let i=this.getWorkspaceConsolidatedConfiguration(),n=this._folderConfigurations.get(e);n?(t=i.merge(n),this._foldersConsolidatedConfigurations.set(e,t)):t=i}return t}getFolderConfigurationModelForResource(e,t){if(t&&e){let i=t.getFolder(e);if(i)return this._folderConfigurations.get(i.uri)}}toData(){return{defaults:{contents:this._defaultConfiguration.contents,overrides:this._defaultConfiguration.overrides,keys:this._defaultConfiguration.keys},policy:{contents:this._policyConfiguration.contents,overrides:this._policyConfiguration.overrides,keys:this._policyConfiguration.keys},application:{contents:this.applicationConfiguration.contents,overrides:this.applicationConfiguration.overrides,keys:this.applicationConfiguration.keys},user:{contents:this.userConfiguration.contents,overrides:this.userConfiguration.overrides,keys:this.userConfiguration.keys},workspace:{contents:this._workspaceConfiguration.contents,overrides:this._workspaceConfiguration.overrides,keys:this._workspaceConfiguration.keys},folders:[...this._folderConfigurations.keys()].reduce((e,t)=>{let{contents:i,overrides:n,keys:s}=this._folderConfigurations.get(t);return e.push([t,{contents:i,overrides:n,keys:s}]),e},[])}}static parse(e,t){let i=this.parseConfigurationModel(e.defaults,t),n=this.parseConfigurationModel(e.policy,t),s=this.parseConfigurationModel(e.application,t),o=this.parseConfigurationModel(e.user,t),r=this.parseConfigurationModel(e.workspace,t),l=e.folders.reduce((e,i)=>(e.set(R.o.revive(i[0]),this.parseConfigurationModel(i[1],t)),e),new tU.Y9);return new tY(i,n,s,o,tG.createEmptyModel(t),r,l,tG.createEmptyModel(t),new tU.Y9,t)}static parseConfigurationModel(e,t){return new tG(e.contents,e.keys,e.overrides,void 0,t)}}class tJ{constructor(e,t,i,n,s){for(let o of(this.change=e,this.previous=t,this.currentConfiguraiton=i,this.currentWorkspace=n,this.logService=s,this._marker="\n",this._markerCode1=this._marker.charCodeAt(0),this._markerCode2=46,this.affectedKeys=new Set,this._previousConfiguration=void 0,e.keys))this.affectedKeys.add(o);for(let[,t]of e.overrides)for(let e of t)this.affectedKeys.add(e);for(let e of(this._affectsConfigStr=this._marker,this.affectedKeys))this._affectsConfigStr+=e+this._marker}get previousConfiguration(){return!this._previousConfiguration&&this.previous&&(this._previousConfiguration=tY.parse(this.previous.data,this.logService)),this._previousConfiguration}affectsConfiguration(e,t){var i;let n=this._marker+e,s=this._affectsConfigStr.indexOf(n);if(s<0)return!1;let o=s+n.length;if(o>=this._affectsConfigStr.length)return!1;let r=this._affectsConfigStr.charCodeAt(o);if(r!==this._markerCode1&&r!==this._markerCode2)return!1;if(t){let n=this.previousConfiguration?this.previousConfiguration.getValue(e,t,null===(i=this.previous)||void 0===i?void 0:i.workspace):void 0,s=this.currentConfiguraiton.getValue(e,t,this.currentWorkspace);return!F.fS(n,s)}return!0}}var tX=i(77173);let t0={kind:0},t1={kind:1};class t2{constructor(e,t,i){var n;for(let t of(this._log=i,this._defaultKeybindings=e,this._defaultBoundCommands=new Map,e)){let e=t.command;e&&"-"!==e.charAt(0)&&this._defaultBoundCommands.set(e,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=t2.handleRemovals([].concat(e).concat(t));for(let e=0,t=this._keybindings.length;e=0;e--){let n=i[e];if(n.command===t.command)continue;let s=!0;for(let e=1;e=0;e--){let n=i[e];if(t.contextMatchesRules(n.when))return n}return i[i.length-1]}resolve(e,t,i){let n=[...t,i];this._log(`| Resolving ${n}`);let s=this._map.get(n[0]);if(void 0===s)return this._log("\\ No keybinding entries."),t0;let o=null;if(n.length<2)o=s;else{o=[];for(let e=0,t=s.length;et.chords.length)continue;let i=!0;for(let e=1;e=0;i--){let n=t[i];if(t2._contextMatchesRules(e,n.when))return n}return null}static _contextMatchesRules(e,t){return!t||t.evaluate(e)}}function t5(e){return e?`${e.serialize()}`:"no when condition"}function t4(e){return e.extensionId?e.isBuiltinExtension?`built-in extension ${e.extensionId}`:`user extension ${e.extensionId}`:e.isDefault?"built-in":"user"}let t3=/^(cursor|delete|undo|redo|tab|editor\.action\.clipboard)/;class t6 extends T.JT{get onDidUpdateKeybindings(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:eS.ju.None}get inChordMode(){return this._currentChords.length>0}constructor(e,t,i,n,s){super(),this._contextKeyService=e,this._commandService=t,this._telemetryService=i,this._notificationService=n,this._logService=s,this._onDidUpdateKeybindings=this._register(new eS.Q5),this._currentChords=[],this._currentChordChecker=new tE.zh,this._currentChordStatusMessage=null,this._ignoreSingleModifiers=t9.EMPTY,this._currentSingleModifier=null,this._currentSingleModifierClearTimeout=new tE._F,this._currentlyDispatchingCommandId=null,this._logging=!1}dispose(){super.dispose()}_log(e){this._logging&&this._logService.info(`[KeybindingService]: ${e}`)}getKeybindings(){return this._getResolver().getKeybindings()}lookupKeybinding(e,t){let i=this._getResolver().lookupPrimaryKeybinding(e,t||this._contextKeyService);if(i)return i.resolvedKeybinding}dispatchEvent(e,t){return this._dispatch(e,t)}softDispatch(e,t){this._log("/ Soft dispatching keyboard event");let i=this.resolveKeyboardEvent(e);if(i.hasMultipleChords())return console.warn("keyboard event should not be mapped to multiple chords"),t0;let[n]=i.getDispatchChords();if(null===n)return this._log("\\ Keyboard event cannot be dispatched"),t0;let s=this._contextKeyService.getContext(t),o=this._currentChords.map(({keypress:e})=>e);return this._getResolver().resolve(s,o,n)}_scheduleLeaveChordMode(){let e=Date.now();this._currentChordChecker.cancelAndSet(()=>{if(!this._documentHasFocus()){this._leaveChordMode();return}Date.now()-e>5e3&&this._leaveChordMode()},500)}_expectAnotherChord(e,t){switch(this._currentChords.push({keypress:e,label:t}),this._currentChords.length){case 0:throw(0,eB.L6)("impossible");case 1:this._currentChordStatusMessage=this._notificationService.status(eH.NC("first.chord","({0}) was pressed. Waiting for second key of chord...",t));break;default:{let e=this._currentChords.map(({label:e})=>e).join(", ");this._currentChordStatusMessage=this._notificationService.status(eH.NC("next.chord","({0}) was pressed. Waiting for next key of chord...",e))}}this._scheduleLeaveChordMode(),tX.F.enabled&&tX.F.disable()}_leaveChordMode(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChords=[],tX.F.enable()}_dispatch(e,t){return this._doDispatch(this.resolveKeyboardEvent(e),t,!1)}_singleModifierDispatch(e,t){let i=this.resolveKeyboardEvent(e),[n]=i.getSingleModifierDispatchChords();if(n)return this._ignoreSingleModifiers.has(n)?(this._log(`+ Ignoring single modifier ${n} due to it being pressed together with other keys.`),this._ignoreSingleModifiers=t9.EMPTY,this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1):(this._ignoreSingleModifiers=t9.EMPTY,null===this._currentSingleModifier)?(this._log(`+ Storing single modifier for possible chord ${n}.`),this._currentSingleModifier=n,this._currentSingleModifierClearTimeout.cancelAndSet(()=>{this._log("+ Clearing single modifier due to 300ms elapsed."),this._currentSingleModifier=null},300),!1):n===this._currentSingleModifier?(this._log(`/ Dispatching single modifier chord ${n} ${n}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,this._doDispatch(i,t,!0)):(this._log(`+ Clearing single modifier due to modifier mismatch: ${this._currentSingleModifier} ${n}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1);let[s]=i.getChords();return this._ignoreSingleModifiers=new t9(s),null!==this._currentSingleModifier&&this._log("+ Clearing single modifier due to other key up."),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1}_doDispatch(e,t,i=!1){var n;let s=!1;if(e.hasMultipleChords())return console.warn("Unexpected keyboard event mapped to multiple chords"),!1;let o=null,r=null;if(i){let[t]=e.getSingleModifierDispatchChords();o=t,r=t?[t]:[]}else[o]=e.getDispatchChords(),r=this._currentChords.map(({keypress:e})=>e);if(null===o)return this._log("\\ Keyboard event cannot be dispatched in keydown phase."),s;let l=this._contextKeyService.getContext(t),a=e.getLabel(),d=this._getResolver().resolve(l,r,o);switch(d.kind){case 0:if(this._logService.trace("KeybindingService#dispatch",a,"[ No matching keybinding ]"),this.inChordMode){let e=this._currentChords.map(({label:e})=>e).join(", ");this._log(`+ Leaving multi-chord mode: Nothing bound to "${e}, ${a}".`),this._notificationService.status(eH.NC("missing.chord","The key combination ({0}, {1}) is not a command.",e,a),{hideAfter:1e4}),this._leaveChordMode(),s=!0}return s;case 1:return this._logService.trace("KeybindingService#dispatch",a,"[ Several keybindings match - more chords needed ]"),s=!0,this._expectAnotherChord(o,a),this._log(1===this._currentChords.length?"+ Entering multi-chord mode...":"+ Continuing multi-chord mode..."),s;case 2:if(this._logService.trace("KeybindingService#dispatch",a,`[ Will dispatch command ${d.commandId} ]`),null===d.commandId||""===d.commandId){if(this.inChordMode){let e=this._currentChords.map(({label:e})=>e).join(", ");this._log(`+ Leaving chord mode: Nothing bound to "${e}, ${a}".`),this._notificationService.status(eH.NC("missing.chord","The key combination ({0}, {1}) is not a command.",e,a),{hideAfter:1e4}),this._leaveChordMode(),s=!0}}else{this.inChordMode&&this._leaveChordMode(),d.isBubble||(s=!0),this._log(`+ Invoking command ${d.commandId}.`),this._currentlyDispatchingCommandId=d.commandId;try{void 0===d.commandArgs?this._commandService.executeCommand(d.commandId).then(void 0,e=>this._notificationService.warn(e)):this._commandService.executeCommand(d.commandId,d.commandArgs).then(void 0,e=>this._notificationService.warn(e))}finally{this._currentlyDispatchingCommandId=null}t3.test(d.commandId)||this._telemetryService.publicLog2("workbenchActionExecuted",{id:d.commandId,from:"keybinding",detail:null!==(n=e.getUserSettingsLabel())&&void 0!==n?n:void 0})}return s}}mightProducePrintableCharacter(e){return!e.ctrlKey&&!e.metaKey&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30)}}class t9{constructor(e){this._ctrlKey=!!e&&e.ctrlKey,this._shiftKey=!!e&&e.shiftKey,this._altKey=!!e&&e.altKey,this._metaKey=!!e&&e.metaKey}has(e){switch(e){case"ctrl":return this._ctrlKey;case"shift":return this._shiftKey;case"alt":return this._altKey;case"meta":return this._metaKey}}}t9.EMPTY=new t9(null);var t7=i(49989);class t8{constructor(e,t,i,n,s,o,r){this._resolvedKeybindingItemBrand=void 0,this.resolvedKeybinding=e,this.chords=e?ie(e.getDispatchChords()):[],e&&0===this.chords.length&&(this.chords=ie(e.getSingleModifierDispatchChords())),this.bubble=!!t&&94===t.charCodeAt(0),this.command=this.bubble?t.substr(1):t,this.commandArgs=i,this.when=n,this.isDefault=s,this.extensionId=o,this.isBuiltinExtension=r}}function ie(e){let t=[];for(let i=0,n=e.length;ithis._getLabel(e))}getAriaLabel(){return ii.X4.toLabel(this._os,this._chords,e=>this._getAriaLabel(e))}getElectronAccelerator(){return this._chords.length>1||this._chords[0].isDuplicateModifierCase()?null:ii.jC.toLabel(this._os,this._chords,e=>this._getElectronAccelerator(e))}getUserSettingsLabel(){return ii.r6.toLabel(this._os,this._chords,e=>this._getUserSettingsLabel(e))}hasMultipleChords(){return this._chords.length>1}getChords(){return this._chords.map(e=>this._getChord(e))}_getChord(e){return new tP.aZ(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,this._getLabel(e),this._getAriaLabel(e))}getDispatchChords(){return this._chords.map(e=>this._getChordDispatch(e))}getSingleModifierDispatchChords(){return this._chords.map(e=>this._getSingleModifierChordDispatch(e))}}class io extends is{constructor(e,t){super(t,e)}_keyCodeToUILabel(e){if(2===this._os)switch(e){case 15:return"←";case 16:return"↑";case 17:return"→";case 18:return"↓"}return it.kL.toString(e)}_getLabel(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)}_getAriaLabel(e){return e.isDuplicateModifierCase()?"":it.kL.toString(e.keyCode)}_getElectronAccelerator(e){return it.kL.toElectronAccelerator(e.keyCode)}_getUserSettingsLabel(e){if(e.isDuplicateModifierCase())return"";let t=it.kL.toUserSettingsUS(e.keyCode);return t?t.toLowerCase():t}_getChordDispatch(e){return io.getDispatchStr(e)}static getDispatchStr(e){if(e.isModifierKey())return null;let t="";return e.ctrlKey&&(t+="ctrl+"),e.shiftKey&&(t+="shift+"),e.altKey&&(t+="alt+"),e.metaKey&&(t+="meta+"),t+=it.kL.toString(e.keyCode)}_getSingleModifierChordDispatch(e){return 5!==e.keyCode||e.shiftKey||e.altKey||e.metaKey?4!==e.keyCode||e.ctrlKey||e.altKey||e.metaKey?6!==e.keyCode||e.ctrlKey||e.shiftKey||e.metaKey?57!==e.keyCode||e.ctrlKey||e.shiftKey||e.altKey?null:"meta":"alt":"shift":"ctrl"}static _scanCodeToKeyCode(e){let t=it.Vd[e];if(-1!==t)return t;switch(e){case 10:return 31;case 11:return 32;case 12:return 33;case 13:return 34;case 14:return 35;case 15:return 36;case 16:return 37;case 17:return 38;case 18:return 39;case 19:return 40;case 20:return 41;case 21:return 42;case 22:return 43;case 23:return 44;case 24:return 45;case 25:return 46;case 26:return 47;case 27:return 48;case 28:return 49;case 29:return 50;case 30:return 51;case 31:return 52;case 32:return 53;case 33:return 54;case 34:return 55;case 35:return 56;case 36:return 22;case 37:return 23;case 38:return 24;case 39:return 25;case 40:return 26;case 41:return 27;case 42:return 28;case 43:return 29;case 44:return 30;case 45:return 21;case 51:return 88;case 52:return 86;case 53:return 92;case 54:return 94;case 55:return 93;case 56:break;case 57:return 85;case 58:return 95;case 59:return 91;case 60:return 87;case 61:return 89;case 62:return 90;case 106:return 97}return 0}static _toKeyCodeChord(e){if(!e)return null;if(e instanceof tP.$M)return e;let t=this._scanCodeToKeyCode(e.scanCode);return 0===t?null:new tP.$M(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,t)}static resolveKeybinding(e,t){let i=ie(e.chords.map(e=>this._toKeyCodeChord(e)));return i.length>0?[new io(i,t)]:[]}}var ir=i(44349),il=i(90535),ia=i(10829),id=i(40382),ih=i(20913),iu=i(95935),ic=i(33425),ig=i(14118),ip=i(81170),im=i(82663);let i_=[],iv=[],ib=[];function iC(e,t=!1){!function(e,t,i){let n={id:e.id,mime:e.mime,filename:e.filename,extension:e.extension,filepattern:e.filepattern,firstline:e.firstline,userConfigured:t,filenameLowercase:e.filename?e.filename.toLowerCase():void 0,extensionLowercase:e.extension?e.extension.toLowerCase():void 0,filepatternLowercase:e.filepattern?(0,ig.Qc)(e.filepattern.toLowerCase()):void 0,filepatternOnPath:!!e.filepattern&&e.filepattern.indexOf(im.KR.sep)>=0};i_.push(n),n.userConfigured?ib.push(n):iv.push(n),i&&!n.userConfigured&&i_.forEach(e=>{e.mime!==n.mime&&!e.userConfigured&&(n.extension&&e.extension===n.extension&&console.warn(`Overwriting extension <<${n.extension}>> to now point to mime <<${n.mime}>>`),n.filename&&e.filename===n.filename&&console.warn(`Overwriting filename <<${n.filename}>> to now point to mime <<${n.mime}>>`),n.filepattern&&e.filepattern===n.filepattern&&console.warn(`Overwriting filepattern <<${n.filepattern}>> to now point to mime <<${n.mime}>>`),n.firstline&&e.firstline===n.firstline&&console.warn(`Overwriting firstline <<${n.firstline}>> to now point to mime <<${n.mime}>>`))})}(e,!1,t)}function iw(e,t,i){var n;let s,o,r;for(let l=i.length-1;l>=0;l--){let a=i[l];if(t===a.filenameLowercase){s=a;break}if(a.filepattern&&(!o||a.filepattern.length>o.filepattern.length)){let i=a.filepatternOnPath?e:t;(null===(n=a.filepatternLowercase)||void 0===n?void 0:n.call(a,i))&&(o=a)}a.extension&&(!r||a.extension.length>r.extension.length)&&t.endsWith(a.extensionLowercase)&&(r=a)}return s||o||r||void 0}let iy=Object.prototype.hasOwnProperty,iS="vs.editor.nullLanguage";class iL{constructor(){this._languageIdToLanguage=[],this._languageToLanguageId=new Map,this._register(iS,0),this._register(q.bd,1),this._nextLanguageId=2}_register(e,t){this._languageIdToLanguage[t]=e,this._languageToLanguageId.set(e,t)}register(e){if(this._languageToLanguageId.has(e))return;let t=this._nextLanguageId++;this._register(e,t)}encodeLanguageId(e){return this._languageToLanguageId.get(e)||0}decodeLanguageId(e){return this._languageIdToLanguage[e]||iS}}class ik extends T.JT{constructor(e=!0,t=!1){super(),this._onDidChange=this._register(new eS.Q5),this.onDidChange=this._onDidChange.event,ik.instanceCount++,this._warnOnOverwrite=t,this.languageIdCodec=new iL,this._dynamicLanguages=[],this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},e&&(this._initializeFromRegistry(),this._register(q.dQ.onDidChangeLanguages(e=>{this._initializeFromRegistry()})))}dispose(){ik.instanceCount--,super.dispose()}_initializeFromRegistry(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},i_=i_.filter(e=>e.userConfigured),iv=[];let e=[].concat(q.dQ.getLanguages()).concat(this._dynamicLanguages);this._registerLanguages(e)}_registerLanguages(e){for(let t of e)this._registerLanguage(t);this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach(e=>{let t=this._languages[e];t.name&&(this._nameMap[t.name]=t.identifier),t.aliases.forEach(e=>{this._lowercaseNameMap[e.toLowerCase()]=t.identifier}),t.mimetypes.forEach(e=>{this._mimeTypesMap[e]=t.identifier})}),tq.B.as(t$.IP.Configuration).registerOverrideIdentifiers(this.getRegisteredLanguageIds()),this._onDidChange.fire()}_registerLanguage(e){let t;let i=e.id;iy.call(this._languages,i)?t=this._languages[i]:(this.languageIdCodec.register(i),t={identifier:i,name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[],icons:[]},this._languages[i]=t),this._mergeLanguage(t,e)}_mergeLanguage(e,t){let i=t.id,n=null;if(Array.isArray(t.mimetypes)&&t.mimetypes.length>0&&(e.mimetypes.push(...t.mimetypes),n=t.mimetypes[0]),n||(n=`text/x-${i}`,e.mimetypes.push(n)),Array.isArray(t.extensions))for(let s of(t.configuration?e.extensions=t.extensions.concat(e.extensions):e.extensions=e.extensions.concat(t.extensions),t.extensions))iC({id:i,mime:n,extension:s},this._warnOnOverwrite);if(Array.isArray(t.filenames))for(let s of t.filenames)iC({id:i,mime:n,filename:s},this._warnOnOverwrite),e.filenames.push(s);if(Array.isArray(t.filenamePatterns))for(let e of t.filenamePatterns)iC({id:i,mime:n,filepattern:e},this._warnOnOverwrite);if("string"==typeof t.firstLine&&t.firstLine.length>0){let e=t.firstLine;"^"!==e.charAt(0)&&(e="^"+e);try{let t=new RegExp(e);(0,M.IO)(t)||iC({id:i,mime:n,firstline:t},this._warnOnOverwrite)}catch(i){console.warn(`[${t.id}]: Invalid regular expression \`${e}\`: `,i)}}e.aliases.push(i);let s=null;if(void 0!==t.aliases&&Array.isArray(t.aliases)&&(s=0===t.aliases.length?[null]:t.aliases),null!==s)for(let t of s)t&&0!==t.length&&e.aliases.push(t);let o=null!==s&&s.length>0;if(o&&null===s[0]);else{let t=(o?s[0]:null)||i;(o||!e.name)&&(e.name=t)}t.configuration&&e.configurationFiles.push(t.configuration),t.icon&&e.icons.push(t.icon)}isRegisteredLanguageId(e){return!!e&&iy.call(this._languages,e)}getRegisteredLanguageIds(){return Object.keys(this._languages)}getLanguageIdByLanguageName(e){let t=e.toLowerCase();return iy.call(this._lowercaseNameMap,t)?this._lowercaseNameMap[t]:null}getLanguageIdByMimeType(e){return e&&iy.call(this._mimeTypesMap,e)?this._mimeTypesMap[e]:null}guessLanguageIdByFilepathOrFirstLine(e,t){return e||t?(function(e,t){let i;if(e)switch(e.scheme){case ey.lg.file:i=e.fsPath;break;case ey.lg.data:{let t=iu.Vb.parseMetaData(e);i=t.get(iu.Vb.META_DATA_LABEL);break}case ey.lg.vscodeNotebookCell:i=void 0;break;default:i=e.path}if(!i)return[{id:"unknown",mime:ip.v.unknown}];i=i.toLowerCase();let n=(0,im.EZ)(i),s=iw(i,n,ib);if(s)return[s,{id:q.bd,mime:ip.v.text}];let o=iw(i,n,iv);if(o)return[o,{id:q.bd,mime:ip.v.text}];if(t){let e=function(e){if((0,M.uS)(e)&&(e=e.substr(1)),e.length>0)for(let t=i_.length-1;t>=0;t--){let i=i_[t];if(!i.firstline)continue;let n=e.match(i.firstline);if(n&&n.length>0)return i}}(t);if(e)return[e,{id:q.bd,mime:ip.v.text}]}return[{id:"unknown",mime:ip.v.unknown}]})(e,t).map(e=>e.id):[]}}ik.instanceCount=0;class iD extends T.JT{constructor(e=!1){super(),this._onDidRequestBasicLanguageFeatures=this._register(new eS.Q5),this.onDidRequestBasicLanguageFeatures=this._onDidRequestBasicLanguageFeatures.event,this._onDidRequestRichLanguageFeatures=this._register(new eS.Q5),this.onDidRequestRichLanguageFeatures=this._onDidRequestRichLanguageFeatures.event,this._onDidChange=this._register(new eS.Q5({leakWarningThreshold:200})),this.onDidChange=this._onDidChange.event,this._requestedBasicLanguages=new Set,this._requestedRichLanguages=new Set,iD.instanceCount++,this._registry=this._register(new ik(!0,e)),this.languageIdCodec=this._registry.languageIdCodec,this._register(this._registry.onDidChange(()=>this._onDidChange.fire()))}dispose(){iD.instanceCount--,super.dispose()}isRegisteredLanguageId(e){return this._registry.isRegisteredLanguageId(e)}getLanguageIdByLanguageName(e){return this._registry.getLanguageIdByLanguageName(e)}getLanguageIdByMimeType(e){return this._registry.getLanguageIdByMimeType(e)}guessLanguageIdByFilepathOrFirstLine(e,t){let i=this._registry.guessLanguageIdByFilepathOrFirstLine(e,t);return(0,eT.Xh)(i,null)}createById(e){return new ix(this.onDidChange,()=>this._createAndGetLanguageIdentifier(e))}createByFilepathOrFirstLine(e,t){return new ix(this.onDidChange,()=>{let i=this.guessLanguageIdByFilepathOrFirstLine(e,t);return this._createAndGetLanguageIdentifier(i)})}_createAndGetLanguageIdentifier(e){return e&&this.isRegisteredLanguageId(e)||(e=q.bd),e}requestBasicLanguageFeatures(e){this._requestedBasicLanguages.has(e)||(this._requestedBasicLanguages.add(e),this._onDidRequestBasicLanguageFeatures.fire(e))}requestRichLanguageFeatures(e){this._requestedRichLanguages.has(e)||(this._requestedRichLanguages.add(e),this.requestBasicLanguageFeatures(e),K.RW.getOrCreate(e),this._onDidRequestRichLanguageFeatures.fire(e))}}iD.instanceCount=0;class ix{constructor(e,t){this._onDidChangeLanguages=e,this._selector=t,this._listener=null,this._emitter=null,this.languageId=this._selector()}_dispose(){this._listener&&(this._listener.dispose(),this._listener=null),this._emitter&&(this._emitter.dispose(),this._emitter=null)}get onDidChange(){return this._listener||(this._listener=this._onDidChangeLanguages(()=>this._evaluate())),this._emitter||(this._emitter=new eS.Q5({onDidRemoveLastListener:()=>{this._dispose()}})),this._emitter.event}_evaluate(){var e;let t=this._selector();t!==this.languageId&&(this.languageId=t,null===(e=this._emitter)||void 0===e||e.fire(this.languageId))}}var iN=i(74741),iE=i(27628),iI=i(84144),iT=i(7317),iM=i(16268),iR=i(10553),iA=i(90317),iP=i(45560),iO=i(18967),iF=i(78789),iB=i(77236),iW=i(25670),iH=i(21212);let iV=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,iz=/(&)?(&)([^\s&])/g;(r=f||(f={}))[r.Right=0]="Right",r[r.Left=1]="Left",(l=_||(_={}))[l.Above=0]="Above",l[l.Below=1]="Below";class iK extends iA.o{constructor(e,t,i,n){e.classList.add("monaco-menu-container"),e.setAttribute("role","presentation");let s=document.createElement("div");s.classList.add("monaco-menu"),s.setAttribute("role","presentation"),super(s,{orientation:1,actionViewItemProvider:e=>this.doGetActionViewItem(e,i,o),context:i.context,actionRunner:i.actionRunner,ariaLabel:i.ariaLabel,ariaRole:"menu",focusOnlyEnabledItems:!0,triggerKeys:{keys:[3,...tu.dz||tu.IJ?[10]:[]],keyDown:!0}}),this.menuStyles=n,this.menuElement=s,this.actionsList.tabIndex=0,this.initializeOrUpdateStyleSheet(e,n),this._register(iR.o.addTarget(s)),this._register((0,ew.nm)(s,ew.tw.KEY_DOWN,e=>{let t=new tv.y(e);t.equals(2)&&e.preventDefault()})),i.enableMnemonics&&this._register((0,ew.nm)(s,ew.tw.KEY_DOWN,e=>{let t=e.key.toLocaleLowerCase();if(this.mnemonics.has(t)){ew.zB.stop(e,!0);let i=this.mnemonics.get(t);if(1===i.length&&(i[0]instanceof i$&&i[0].container&&this.focusItemByElement(i[0].container),i[0].onClick(e)),i.length>1){let e=i.shift();e&&e.container&&(this.focusItemByElement(e.container),i.push(e)),this.mnemonics.set(t,i)}}})),tu.IJ&&this._register((0,ew.nm)(s,ew.tw.KEY_DOWN,e=>{let t=new tv.y(e);t.equals(14)||t.equals(11)?(this.focusedItem=this.viewItems.length-1,this.focusNext(),ew.zB.stop(e,!0)):(t.equals(13)||t.equals(12))&&(this.focusedItem=0,this.focusPrevious(),ew.zB.stop(e,!0))})),this._register((0,ew.nm)(this.domNode,ew.tw.MOUSE_OUT,e=>{let t=e.relatedTarget;(0,ew.jg)(t,this.domNode)||(this.focusedItem=void 0,this.updateFocus(),e.stopPropagation())})),this._register((0,ew.nm)(this.actionsList,ew.tw.MOUSE_OVER,e=>{let t=e.target;if(t&&(0,ew.jg)(t,this.actionsList)&&t!==this.actionsList){for(;t.parentElement!==this.actionsList&&null!==t.parentElement;)t=t.parentElement;if(t.classList.contains("action-item")){let e=this.focusedItem;this.setFocusedItem(t),e!==this.focusedItem&&this.updateFocus()}}})),this._register(iR.o.addTarget(this.actionsList)),this._register((0,ew.nm)(this.actionsList,iR.t.Tap,e=>{let t=e.initialTarget;if(t&&(0,ew.jg)(t,this.actionsList)&&t!==this.actionsList){for(;t.parentElement!==this.actionsList&&null!==t.parentElement;)t=t.parentElement;if(t.classList.contains("action-item")){let e=this.focusedItem;this.setFocusedItem(t),e!==this.focusedItem&&this.updateFocus()}}}));let o={parent:this};this.mnemonics=new Map,this.scrollableElement=this._register(new iO.s$(s,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));let r=this.scrollableElement.getDomNode();r.style.position="",this.styleScrollElement(r,n),this._register((0,ew.nm)(s,iR.t.Change,e=>{ew.zB.stop(e,!0);let t=this.scrollableElement.getScrollPosition().scrollTop;this.scrollableElement.setScrollPosition({scrollTop:t-e.translationY})})),this._register((0,ew.nm)(r,ew.tw.MOUSE_UP,e=>{e.preventDefault()}));let l=(0,ew.Jj)(e);s.style.maxHeight=`${Math.max(10,l.innerHeight-e.getBoundingClientRect().top-35)}px`,t=t.filter((e,n)=>{var s;if(null===(s=i.submenuIds)||void 0===s?void 0:s.has(e.id))return console.warn(`Found submenu cycle: ${e.id}`),!1;if(e instanceof iN.Z0){if(n===t.length-1||0===n)return!1;let e=t[n-1];if(e instanceof iN.Z0)return!1}return!0}),this.push(t,{icon:!0,label:!0,isMenu:!0}),e.appendChild(this.scrollableElement.getDomNode()),this.scrollableElement.scanDomNode(),this.viewItems.filter(e=>!(e instanceof iq)).forEach((e,t,i)=>{e.updatePositionInSet(t+1,i.length)})}initializeOrUpdateStyleSheet(e,t){this.styleSheet||((0,ew.OO)(e)?this.styleSheet=(0,ew.dS)(e):(iK.globalStyleSheet||(iK.globalStyleSheet=(0,ew.dS)()),this.styleSheet=iK.globalStyleSheet)),this.styleSheet.textContent=function(e,t){let i=` -.monaco-menu { - font-size: 13px; - border-radius: 5px; - min-width: 160px; -} - -${ij(iF.l.menuSelection)} -${ij(iF.l.menuSubmenu)} - -.monaco-menu .monaco-action-bar { - text-align: right; - overflow: hidden; - white-space: nowrap; -} - -.monaco-menu .monaco-action-bar .actions-container { - display: flex; - margin: 0 auto; - padding: 0; - width: 100%; - justify-content: flex-end; -} - -.monaco-menu .monaco-action-bar.vertical .actions-container { - display: inline-block; -} - -.monaco-menu .monaco-action-bar.reverse .actions-container { - flex-direction: row-reverse; -} - -.monaco-menu .monaco-action-bar .action-item { - cursor: pointer; - display: inline-block; - transition: transform 50ms ease; - position: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */ -} - -.monaco-menu .monaco-action-bar .action-item.disabled { - cursor: default; -} - -.monaco-menu .monaco-action-bar .action-item .icon, -.monaco-menu .monaco-action-bar .action-item .codicon { - display: inline-block; -} - -.monaco-menu .monaco-action-bar .action-item .codicon { - display: flex; - align-items: center; -} - -.monaco-menu .monaco-action-bar .action-label { - font-size: 11px; - margin-right: 4px; -} - -.monaco-menu .monaco-action-bar .action-item.disabled .action-label, -.monaco-menu .monaco-action-bar .action-item.disabled .action-label:hover { - color: var(--vscode-disabledForeground); -} - -/* Vertical actions */ - -.monaco-menu .monaco-action-bar.vertical { - text-align: left; -} - -.monaco-menu .monaco-action-bar.vertical .action-item { - display: block; -} - -.monaco-menu .monaco-action-bar.vertical .action-label.separator { - display: block; - border-bottom: 1px solid var(--vscode-menu-separatorBackground); - padding-top: 1px; - padding: 30px; -} - -.monaco-menu .secondary-actions .monaco-action-bar .action-label { - margin-left: 6px; -} - -/* Action Items */ -.monaco-menu .monaco-action-bar .action-item.select-container { - overflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */ - flex: 1; - max-width: 170px; - min-width: 60px; - display: flex; - align-items: center; - justify-content: center; - margin-right: 10px; -} - -.monaco-menu .monaco-action-bar.vertical { - margin-left: 0; - overflow: visible; -} - -.monaco-menu .monaco-action-bar.vertical .actions-container { - display: block; -} - -.monaco-menu .monaco-action-bar.vertical .action-item { - padding: 0; - transform: none; - display: flex; -} - -.monaco-menu .monaco-action-bar.vertical .action-item.active { - transform: none; -} - -.monaco-menu .monaco-action-bar.vertical .action-menu-item { - flex: 1 1 auto; - display: flex; - height: 2em; - align-items: center; - position: relative; - margin: 0 4px; - border-radius: 4px; -} - -.monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .keybinding, -.monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .keybinding { - opacity: unset; -} - -.monaco-menu .monaco-action-bar.vertical .action-label { - flex: 1 1 auto; - text-decoration: none; - padding: 0 1em; - background: none; - font-size: 12px; - line-height: 1; -} - -.monaco-menu .monaco-action-bar.vertical .keybinding, -.monaco-menu .monaco-action-bar.vertical .submenu-indicator { - display: inline-block; - flex: 2 1 auto; - padding: 0 1em; - text-align: right; - font-size: 12px; - line-height: 1; -} - -.monaco-menu .monaco-action-bar.vertical .submenu-indicator { - height: 100%; -} - -.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon { - font-size: 16px !important; - display: flex; - align-items: center; -} - -.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon::before { - margin-left: auto; - margin-right: -20px; -} - -.monaco-menu .monaco-action-bar.vertical .action-item.disabled .keybinding, -.monaco-menu .monaco-action-bar.vertical .action-item.disabled .submenu-indicator { - opacity: 0.4; -} - -.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator) { - display: inline-block; - box-sizing: border-box; - margin: 0; -} - -.monaco-menu .monaco-action-bar.vertical .action-item { - position: static; - overflow: visible; -} - -.monaco-menu .monaco-action-bar.vertical .action-item .monaco-submenu { - position: absolute; -} - -.monaco-menu .monaco-action-bar.vertical .action-label.separator { - width: 100%; - height: 0px !important; - opacity: 1; -} - -.monaco-menu .monaco-action-bar.vertical .action-label.separator.text { - padding: 0.7em 1em 0.1em 1em; - font-weight: bold; - opacity: 1; -} - -.monaco-menu .monaco-action-bar.vertical .action-label:hover { - color: inherit; -} - -.monaco-menu .monaco-action-bar.vertical .menu-item-check { - position: absolute; - visibility: hidden; - width: 1em; - height: 100%; -} - -.monaco-menu .monaco-action-bar.vertical .action-menu-item.checked .menu-item-check { - visibility: visible; - display: flex; - align-items: center; - justify-content: center; -} - -/* Context Menu */ - -.context-view.monaco-menu-container { - outline: 0; - border: none; - animation: fadeIn 0.083s linear; - -webkit-app-region: no-drag; -} - -.context-view.monaco-menu-container :focus, -.context-view.monaco-menu-container .monaco-action-bar.vertical:focus, -.context-view.monaco-menu-container .monaco-action-bar.vertical :focus { - outline: 0; -} - -.hc-black .context-view.monaco-menu-container, -.hc-light .context-view.monaco-menu-container, -:host-context(.hc-black) .context-view.monaco-menu-container, -:host-context(.hc-light) .context-view.monaco-menu-container { - box-shadow: none; -} - -.hc-black .monaco-menu .monaco-action-bar.vertical .action-item.focused, -.hc-light .monaco-menu .monaco-action-bar.vertical .action-item.focused, -:host-context(.hc-black) .monaco-menu .monaco-action-bar.vertical .action-item.focused, -:host-context(.hc-light) .monaco-menu .monaco-action-bar.vertical .action-item.focused { - background: none; -} - -/* Vertical Action Bar Styles */ - -.monaco-menu .monaco-action-bar.vertical { - padding: 4px 0; -} - -.monaco-menu .monaco-action-bar.vertical .action-menu-item { - height: 2em; -} - -.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator), -.monaco-menu .monaco-action-bar.vertical .keybinding { - font-size: inherit; - padding: 0 2em; - max-height: 100%; -} - -.monaco-menu .monaco-action-bar.vertical .menu-item-check { - font-size: inherit; - width: 2em; -} - -.monaco-menu .monaco-action-bar.vertical .action-label.separator { - font-size: inherit; - margin: 5px 0 !important; - padding: 0; - border-radius: 0; -} - -.linux .monaco-menu .monaco-action-bar.vertical .action-label.separator, -:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .action-label.separator { - margin-left: 0; - margin-right: 0; -} - -.monaco-menu .monaco-action-bar.vertical .submenu-indicator { - font-size: 60%; - padding: 0 1.8em; -} - -.linux .monaco-menu .monaco-action-bar.vertical .submenu-indicator, -:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .submenu-indicator { - height: 100%; - mask-size: 10px 10px; - -webkit-mask-size: 10px 10px; -} - -.monaco-menu .action-item { - cursor: default; -}`;if(t){i+=` - /* Arrows */ - .monaco-scrollable-element > .scrollbar > .scra { - cursor: pointer; - font-size: 11px !important; - } - - .monaco-scrollable-element > .visible { - opacity: 1; - - /* Background rule added for IE9 - to allow clicks on dom node */ - background:rgba(0,0,0,0); - - transition: opacity 100ms linear; - } - .monaco-scrollable-element > .invisible { - opacity: 0; - pointer-events: none; - } - .monaco-scrollable-element > .invisible.fade { - transition: opacity 800ms linear; - } - - /* Scrollable Content Inset Shadow */ - .monaco-scrollable-element > .shadow { - position: absolute; - display: none; - } - .monaco-scrollable-element > .shadow.top { - display: block; - top: 0; - left: 3px; - height: 3px; - width: 100%; - } - .monaco-scrollable-element > .shadow.left { - display: block; - top: 3px; - left: 0; - height: 100%; - width: 3px; - } - .monaco-scrollable-element > .shadow.top-left-corner { - display: block; - top: 0; - left: 0; - height: 3px; - width: 3px; - } - `;let t=e.scrollbarShadow;t&&(i+=` - .monaco-scrollable-element > .shadow.top { - box-shadow: ${t} 0 6px 6px -6px inset; - } - - .monaco-scrollable-element > .shadow.left { - box-shadow: ${t} 6px 0 6px -6px inset; - } - - .monaco-scrollable-element > .shadow.top.left { - box-shadow: ${t} 6px 6px 6px -6px inset; - } - `);let n=e.scrollbarSliderBackground;n&&(i+=` - .monaco-scrollable-element > .scrollbar > .slider { - background: ${n}; - } - `);let s=e.scrollbarSliderHoverBackground;s&&(i+=` - .monaco-scrollable-element > .scrollbar > .slider:hover { - background: ${s}; - } - `);let o=e.scrollbarSliderActiveBackground;o&&(i+=` - .monaco-scrollable-element > .scrollbar > .slider.active { - background: ${o}; - } - `)}return i}(t,(0,ew.OO)(e))}styleScrollElement(e,t){var i,n;let s=null!==(i=t.foregroundColor)&&void 0!==i?i:"",o=null!==(n=t.backgroundColor)&&void 0!==n?n:"",r=t.borderColor?`1px solid ${t.borderColor}`:"",l=t.shadowColor?`0 2px 8px ${t.shadowColor}`:"";e.style.outline=r,e.style.borderRadius="5px",e.style.color=s,e.style.backgroundColor=o,e.style.boxShadow=l}getContainer(){return this.scrollableElement.getDomNode()}get onScroll(){return this.scrollableElement.onScroll}focusItemByElement(e){let t=this.focusedItem;this.setFocusedItem(e),t!==this.focusedItem&&this.updateFocus()}setFocusedItem(e){for(let t=0;t{this.element&&(this._register((0,ew.nm)(this.element,ew.tw.MOUSE_UP,e=>{if(ew.zB.stop(e,!0),iM.vU){let t=new iT.n((0,ew.Jj)(this.element),e);t.rightButton||this.onClick(e)}else setTimeout(()=>{this.onClick(e)},0)})),this._register((0,ew.nm)(this.element,ew.tw.CONTEXT_MENU,e=>{ew.zB.stop(e,!0)})))},100),this._register(this.runOnceToEnableMouseUp)}render(e){super.render(e),this.element&&(this.container=e,this.item=(0,ew.R3)(this.element,(0,ew.$)("a.action-menu-item")),this._action.id===iN.Z0.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",`${this.mnemonic}`)),this.check=(0,ew.R3)(this.item,(0,ew.$)("span.menu-item-check"+iW.k.asCSSSelector(iF.l.menuSelection))),this.check.setAttribute("role","none"),this.label=(0,ew.R3)(this.item,(0,ew.$)("span.action-label")),this.options.label&&this.options.keybinding&&((0,ew.R3)(this.item,(0,ew.$)("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked(),this.applyStyle())}blur(){super.blur(),this.applyStyle()}focus(){var e;super.focus(),null===(e=this.item)||void 0===e||e.focus(),this.applyStyle()}updatePositionInSet(e,t){this.item&&(this.item.setAttribute("aria-posinset",`${e}`),this.item.setAttribute("aria-setsize",`${t}`))}updateLabel(){var e;if(this.label&&this.options.label){(0,ew.PO)(this.label);let t=(0,iH.x$)(this.action.label);if(t){let i=function(e){let t=iV.exec(e);if(!t)return e;let i=!t[1];return e.replace(iV,i?"$2$3":"").trim()}(t);this.options.enableMnemonics||(t=i),this.label.setAttribute("aria-label",i.replace(/&&/g,"&"));let n=iV.exec(t);if(n){t=M.YU(t),iz.lastIndex=0;let i=iz.exec(t);for(;i&&i[1];)i=iz.exec(t);let s=e=>e.replace(/&&/g,"&");i?this.label.append(M.j3(s(t.substr(0,i.index))," "),(0,ew.$)("u",{"aria-hidden":"true"},i[3]),M.oL(s(t.substr(i.index+i[0].length))," ")):this.label.innerText=s(t).trim(),null===(e=this.item)||void 0===e||e.setAttribute("aria-keyshortcuts",(n[1]?n[1]:n[3]).toLocaleLowerCase())}else this.label.innerText=t.replace(/&&/g,"&").trim()}}}updateTooltip(){}updateClass(){this.cssClass&&this.item&&this.item.classList.remove(...this.cssClass.split(" ")),this.options.icon&&this.label?(this.cssClass=this.action.class||"",this.label.classList.add("icon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" ")),this.updateEnabled()):this.label&&this.label.classList.remove("icon")}updateEnabled(){this.action.enabled?(this.element&&(this.element.classList.remove("disabled"),this.element.removeAttribute("aria-disabled")),this.item&&(this.item.classList.remove("disabled"),this.item.removeAttribute("aria-disabled"),this.item.tabIndex=0)):(this.element&&(this.element.classList.add("disabled"),this.element.setAttribute("aria-disabled","true")),this.item&&(this.item.classList.add("disabled"),this.item.setAttribute("aria-disabled","true")))}updateChecked(){if(!this.item)return;let e=this.action.checked;this.item.classList.toggle("checked",!!e),void 0!==e?(this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked",e?"true":"false")):(this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked",""))}getMnemonic(){return this.mnemonic}applyStyle(){let e=this.element&&this.element.classList.contains("focused"),t=e&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,i=e&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,n=e&&this.menuStyle.selectionBorderColor?`1px solid ${this.menuStyle.selectionBorderColor}`:"",s=e&&this.menuStyle.selectionBorderColor?"-1px":"";this.item&&(this.item.style.color=null!=t?t:"",this.item.style.backgroundColor=null!=i?i:"",this.item.style.outline=n,this.item.style.outlineOffset=s),this.check&&(this.check.style.color=null!=t?t:"")}}class i$ extends iU{constructor(e,t,i,n,s){super(e,e,n,s),this.submenuActions=t,this.parentData=i,this.submenuOptions=n,this.mysubmenu=null,this.submenuDisposables=this._register(new T.SL),this.mouseOver=!1,this.expandDirection=n&&void 0!==n.expandDirection?n.expandDirection:{horizontal:f.Right,vertical:_.Below},this.showScheduler=new tE.pY(()=>{this.mouseOver&&(this.cleanupExistingSubmenu(!1),this.createSubmenu(!1))},250),this.hideScheduler=new tE.pY(()=>{this.element&&!(0,ew.jg)((0,ew.vY)(),this.element)&&this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))},750)}render(e){super.render(e),this.element&&(this.item&&(this.item.classList.add("monaco-submenu-item"),this.item.tabIndex=0,this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=(0,ew.R3)(this.item,(0,ew.$)("span.submenu-indicator"+iW.k.asCSSSelector(iF.l.menuSubmenu))),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register((0,ew.nm)(this.element,ew.tw.KEY_UP,e=>{let t=new tv.y(e);(t.equals(17)||t.equals(3))&&(ew.zB.stop(e,!0),this.createSubmenu(!0))})),this._register((0,ew.nm)(this.element,ew.tw.KEY_DOWN,e=>{let t=new tv.y(e);(0,ew.vY)()===this.item&&(t.equals(17)||t.equals(3))&&ew.zB.stop(e,!0)})),this._register((0,ew.nm)(this.element,ew.tw.MOUSE_OVER,e=>{this.mouseOver||(this.mouseOver=!0,this.showScheduler.schedule())})),this._register((0,ew.nm)(this.element,ew.tw.MOUSE_LEAVE,e=>{this.mouseOver=!1})),this._register((0,ew.nm)(this.element,ew.tw.FOCUS_OUT,e=>{this.element&&!(0,ew.jg)((0,ew.vY)(),this.element)&&this.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(()=>{this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))})))}updateEnabled(){}onClick(e){ew.zB.stop(e,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)}cleanupExistingSubmenu(e){if(this.parentData.submenu&&(e||this.parentData.submenu!==this.mysubmenu)){try{this.parentData.submenu.dispose()}catch(e){}this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0)}}calculateSubmenuMenuLayout(e,t,i,n){let s={top:0,left:0};return s.left=tw(e.width,t.width,{position:n.horizontal===f.Right?0:1,offset:i.left,size:i.width}),s.left>=i.left&&s.left{let t=new tv.y(e);t.equals(15)&&(ew.zB.stop(e,!0),this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0))})),this.submenuDisposables.add((0,ew.nm)(this.submenuContainer,ew.tw.KEY_DOWN,e=>{let t=new tv.y(e);t.equals(15)&&ew.zB.stop(e,!0)})),this.submenuDisposables.add(this.parentData.submenu.onDidCancel(()=>{this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0)})),this.parentData.submenu.focus(e),this.mysubmenu=this.parentData.submenu}}}updateAriaExpanded(e){var t;this.item&&(null===(t=this.item)||void 0===t||t.setAttribute("aria-expanded",e))}applyStyle(){super.applyStyle();let e=this.element&&this.element.classList.contains("focused"),t=e&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=null!=t?t:"")}dispose(){super.dispose(),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)}}class iq extends iP.gU{constructor(e,t,i,n){super(e,t,i),this.menuStyles=n}render(e){super.render(e),this.label&&(this.label.style.borderBottomColor=this.menuStyles.separatorColor?`${this.menuStyles.separatorColor}`:"")}}function ij(e){let t=(0,iB.u)()[e.id];return`.codicon-${e.id}:before { content: '\\${t.toString(16)}'; }`}var iG=i(86253);class iQ{constructor(e,t,i,n){this.contextViewService=e,this.telemetryService=t,this.notificationService=i,this.keybindingService=n,this.focusToReturn=null,this.lastContainer=null,this.block=null,this.blockDisposable=null,this.options={blockMouse:!0}}configure(e){this.options=e}showContextMenu(e){let t;let i=e.getActions();if(!i.length)return;this.focusToReturn=(0,ew.vY)();let n=(0,ew.Re)(e.domForShadowRoot)?e.domForShadowRoot:void 0;this.contextViewService.showContextView({getAnchor:()=>e.getAnchor(),canRelayout:!1,anchorAlignment:e.anchorAlignment,anchorAxisAlignment:e.anchorAxisAlignment,render:n=>{var s;this.lastContainer=n;let o=e.getMenuClassName?e.getMenuClassName():"";o&&(n.className+=" "+o),this.options.blockMouse&&(this.block=n.appendChild((0,ew.$)(".context-view-block")),this.block.style.position="fixed",this.block.style.cursor="initial",this.block.style.left="0",this.block.style.top="0",this.block.style.width="100%",this.block.style.height="100%",this.block.style.zIndex="-1",null===(s=this.blockDisposable)||void 0===s||s.dispose(),this.blockDisposable=(0,ew.nm)(this.block,ew.tw.MOUSE_DOWN,e=>e.stopPropagation()));let r=new T.SL,l=e.actionRunner||new iN.Wi;l.onWillRun(t=>this.onActionRun(t,!e.skipTelemetry),this,r),l.onDidRun(this.onDidActionRun,this,r),(t=new iK(n,i,{actionViewItemProvider:e.getActionViewItem,context:e.getActionsContext?e.getActionsContext():null,actionRunner:l,getKeyBinding:e.getKeyBinding?e.getKeyBinding:e=>this.keybindingService.lookupKeybinding(e.id)},iG.ZR)).onDidCancel(()=>this.contextViewService.hideContextView(!0),null,r),t.onDidBlur(()=>this.contextViewService.hideContextView(!0),null,r);let a=(0,ew.Jj)(n);return r.add((0,ew.nm)(a,ew.tw.BLUR,()=>this.contextViewService.hideContextView(!0))),r.add((0,ew.nm)(a,ew.tw.MOUSE_DOWN,e=>{if(e.defaultPrevented)return;let t=new iT.n(a,e),i=t.target;if(!t.rightButton){for(;i;){if(i===n)return;i=i.parentElement}this.contextViewService.hideContextView(!0)}})),(0,T.F8)(r,t)},focus:()=>{null==t||t.focus(!!e.autoSelectFirstItem)},onHide:t=>{var i,n,s;null===(i=e.onHide)||void 0===i||i.call(e,!!t),this.block&&(this.block.remove(),this.block=null),null===(n=this.blockDisposable)||void 0===n||n.dispose(),this.blockDisposable=null,this.lastContainer&&((0,ew.vY)()===this.lastContainer||(0,ew.jg)((0,ew.vY)(),this.lastContainer))&&(null===(s=this.focusToReturn)||void 0===s||s.focus()),this.lastContainer=null}},n,!!n)}onActionRun(e,t){t&&this.telemetryService.publicLog2("workbenchActionExecuted",{id:e.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1)}onDidActionRun(e){e.error&&!(0,eB.n2)(e.error)&&this.notificationService.error(e.error)}}var iZ=function(e,t){return function(i,n){t(i,n,e)}};let iY=class extends T.JT{get contextMenuHandler(){return this._contextMenuHandler||(this._contextMenuHandler=new iQ(this.contextViewService,this.telemetryService,this.notificationService,this.keybindingService)),this._contextMenuHandler}constructor(e,t,i,n,s,o){super(),this.telemetryService=e,this.notificationService=t,this.contextViewService=i,this.keybindingService=n,this.menuService=s,this.contextKeyService=o,this._contextMenuHandler=void 0,this._onDidShowContextMenu=this._store.add(new eS.Q5),this.onDidShowContextMenu=this._onDidShowContextMenu.event,this._onDidHideContextMenu=this._store.add(new eS.Q5)}configure(e){this.contextMenuHandler.configure(e)}showContextMenu(e){e=v.transform(e,this.menuService,this.contextKeyService),this.contextMenuHandler.showContextMenu({...e,onHide:t=>{var i;null===(i=e.onHide)||void 0===i||i.call(e,t),this._onDidHideContextMenu.fire()}}),ew._q.getInstance().resetKeyStatus(),this._onDidShowContextMenu.fire()}};iY=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([iZ(0,ia.b),iZ(1,ez.lT),iZ(2,ts.u),iZ(3,to.d),iZ(4,iI.co),iZ(5,ex.i6)],iY),(v||(v={})).transform=function(e,t,i){if(!(e&&e.menuId instanceof iI.eH))return e;let{menuId:n,menuActionOptions:s,contextKeyService:o}=e;return{...e,getActions:()=>{let r=[];if(n){let e=t.createMenu(n,null!=o?o:i);(0,iE.LJ)(e,s,r),e.dispose()}return e.getActions?iN.Z0.join(e.getActions(),r):r}}};var iJ=i(23897);(a=b||(b={}))[a.API=0]="API",a[a.USER=1]="USER";var iX=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},i0=function(e,t){return function(i,n){t(i,n,e)}};let i1=class{constructor(e){this._commandService=e}async open(e,t){if(!(0,ey.xn)(e,ey.lg.command))return!1;if(!(null==t?void 0:t.allowCommands)||("string"==typeof e&&(e=R.o.parse(e)),Array.isArray(t.allowCommands)&&!t.allowCommands.includes(e.path)))return!0;let i=[];try{i=(0,iJ.Qc)(decodeURIComponent(e.query))}catch(t){try{i=(0,iJ.Qc)(e.query)}catch(e){}}return Array.isArray(i)||(i=[i]),await this._commandService.executeCommand(e.path,...i),!0}};i1=iX([i0(0,tK.H)],i1);let i2=class{constructor(e){this._editorService=e}async open(e,t){"string"==typeof e&&(e=R.o.parse(e));let{selection:i,uri:n}=(0,ta.x)(e);return(e=n).scheme===ey.lg.file&&(e=(0,iu.AH)(e)),await this._editorService.openCodeEditor({resource:e,options:{selection:i,source:(null==t?void 0:t.fromUserGesture)?b.USER:b.API,...null==t?void 0:t.editorOptions}},this._editorService.getFocusedCodeEditor(),null==t?void 0:t.openToSide),!0}};i2=iX([i0(0,O.$)],i2);let i5=class{constructor(e,t){this._openers=new eL.S,this._validators=new eL.S,this._resolvers=new eL.S,this._resolvedUriTargets=new tU.Y9(e=>e.with({path:null,fragment:null,query:null}).toString()),this._externalOpeners=new eL.S,this._defaultExternalOpener={openExternal:async e=>((0,ey.Gs)(e,ey.lg.http,ey.lg.https)?ew.V3(e):I.E.location.href=e,!0)},this._openers.push({open:async(e,t)=>!!((null==t?void 0:t.openExternal)||(0,ey.Gs)(e,ey.lg.mailto,ey.lg.http,ey.lg.https,ey.lg.vsls))&&(await this._doOpenExternal(e,t),!0)}),this._openers.push(new i1(t)),this._openers.push(new i2(e))}registerOpener(e){let t=this._openers.unshift(e);return{dispose:t}}async open(e,t){var i;let n="string"==typeof e?R.o.parse(e):e,s=null!==(i=this._resolvedUriTargets.get(n))&&void 0!==i?i:e;for(let e of this._validators)if(!await e.shouldOpen(s,t))return!1;for(let i of this._openers){let n=await i.open(e,t);if(n)return!0}return!1}async resolveExternalUri(e,t){for(let i of this._resolvers)try{let n=await i.resolveExternalUri(e,t);if(n)return this._resolvedUriTargets.has(n.resolved)||this._resolvedUriTargets.set(n.resolved,e),n}catch(e){}throw Error("Could not resolve external URI: "+e.toString())}async _doOpenExternal(e,t){let i,n;let s="string"==typeof e?R.o.parse(e):e;try{i=(await this.resolveExternalUri(s,t)).resolved}catch(e){i=s}if(n="string"==typeof e&&s.toString()===i.toString()?e:encodeURI(i.toString(!0)),null==t?void 0:t.allowContributedOpeners){let e="string"==typeof(null==t?void 0:t.allowContributedOpeners)?null==t?void 0:t.allowContributedOpeners:void 0;for(let t of this._externalOpeners){let i=await t.openExternal(n,{sourceUri:s,preferredOpenerId:e},tD.Ts.None);if(i)return!0}}return this._defaultExternalOpener.openExternal(n,{sourceUri:s},tD.Ts.None)}dispose(){this._validators.clear()}};i5=iX([i0(0,O.$),i0(1,tK.H)],i5);var i4=i(85215),i3=i(98674),i6=i(51945),i9=i(6626),i7=function(e,t){return function(i,n){t(i,n,e)}};let i8=class extends T.JT{constructor(e,t){super(),this._markerService=t,this._onDidChangeMarker=this._register(new eS.Q5),this._markerDecorations=new tU.Y9,e.getModels().forEach(e=>this._onModelAdded(e)),this._register(e.onModelAdded(this._onModelAdded,this)),this._register(e.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach(e=>e.dispose()),this._markerDecorations.clear()}getMarker(e,t){let i=this._markerDecorations.get(e);return i&&i.getMarker(t)||null}_handleMarkerChange(e){e.forEach(e=>{let t=this._markerDecorations.get(e);t&&this._updateDecorations(t)})}_onModelAdded(e){let t=new ne(e);this._markerDecorations.set(e.uri,t),this._updateDecorations(t)}_onModelRemoved(e){var t;let i=this._markerDecorations.get(e.uri);i&&(i.dispose(),this._markerDecorations.delete(e.uri)),(e.uri.scheme===ey.lg.inMemory||e.uri.scheme===ey.lg.internal||e.uri.scheme===ey.lg.vscode)&&(null===(t=this._markerService)||void 0===t||t.read({resource:e.uri}).map(e=>e.owner).forEach(t=>this._markerService.remove(t,[e.uri])))}_updateDecorations(e){let t=this._markerService.read({resource:e.model.uri,take:500});e.update(t)&&this._onDidChangeMarker.fire(e.model)}};i8=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([i7(0,Q.q),i7(1,i3.lT)],i8);class ne extends T.JT{constructor(e){super(),this.model=e,this._map=new tU.YQ,this._register((0,T.OF)(()=>{this.model.deltaDecorations([...this._map.values()],[]),this._map.clear()}))}update(e){let{added:t,removed:i}=(0,i9.q)(new Set(this._map.keys()),new Set(e));if(0===t.length&&0===i.length)return!1;let n=i.map(e=>this._map.get(e)),s=t.map(e=>({range:this._createDecorationRange(this.model,e),options:this._createDecorationOption(e)})),o=this.model.deltaDecorations(n,s);for(let e of i)this._map.delete(e);for(let e=0;e=t)return i;let n=e.getWordAtPosition(i.getStartPosition());n&&(i=new tH.e(i.startLineNumber,n.startColumn,i.endLineNumber,n.endColumn))}else if(t.endColumn===Number.MAX_VALUE&&1===t.startColumn&&i.startLineNumber===i.endLineNumber){let n=e.getLineFirstNonWhitespaceColumn(t.startLineNumber);n=0}}var nt=i(36357),ni=i(84901),nn=i(22075),ns=i(89954),no=i(95215),nr=function(e,t){return function(i,n){t(i,n,e)}};function nl(e){return e.toString()}class na{constructor(e,t,i){this.model=e,this._modelEventListeners=new T.SL,this.model=e,this._modelEventListeners.add(e.onWillDispose(()=>t(e))),this._modelEventListeners.add(e.onDidChangeLanguage(t=>i(e,t)))}dispose(){this._modelEventListeners.dispose()}}let nd=tu.IJ||tu.dz?1:2;class nh{constructor(e,t,i,n,s,o,r,l){this.uri=e,this.initialUndoRedoSnapshot=t,this.time=i,this.sharesUndoRedoStack=n,this.heapSize=s,this.sha1=o,this.versionId=r,this.alternativeVersionId=l}}let nu=C=class extends T.JT{constructor(e,t,i,n,s){super(),this._configurationService=e,this._resourcePropertiesService=t,this._undoRedoService=i,this._languageService=n,this._languageConfigurationService=s,this._onModelAdded=this._register(new eS.Q5),this.onModelAdded=this._onModelAdded.event,this._onModelRemoved=this._register(new eS.Q5),this.onModelRemoved=this._onModelRemoved.event,this._onModelModeChanged=this._register(new eS.Q5),this.onModelLanguageChanged=this._onModelModeChanged.event,this._modelCreationOptionsByLanguageAndResource=Object.create(null),this._models={},this._disposedModels=new Map,this._disposedModelsHeapSize=0,this._register(this._configurationService.onDidChangeConfiguration(e=>this._updateModelOptions(e))),this._updateModelOptions(void 0)}static _readModelOptions(e,t){var i;let n=nn.D.tabSize;if(e.editor&&void 0!==e.editor.tabSize){let t=parseInt(e.editor.tabSize,10);isNaN(t)||(n=t),n<1&&(n=1)}let s="tabSize";if(e.editor&&void 0!==e.editor.indentSize&&"tabSize"!==e.editor.indentSize){let t=parseInt(e.editor.indentSize,10);isNaN(t)||(s=Math.max(t,1))}let o=nn.D.insertSpaces;e.editor&&void 0!==e.editor.insertSpaces&&(o="false"!==e.editor.insertSpaces&&!!e.editor.insertSpaces);let r=nd,l=e.eol;"\r\n"===l?r=2:"\n"===l&&(r=1);let a=nn.D.trimAutoWhitespace;e.editor&&void 0!==e.editor.trimAutoWhitespace&&(a="false"!==e.editor.trimAutoWhitespace&&!!e.editor.trimAutoWhitespace);let d=nn.D.detectIndentation;e.editor&&void 0!==e.editor.detectIndentation&&(d="false"!==e.editor.detectIndentation&&!!e.editor.detectIndentation);let h=nn.D.largeFileOptimizations;e.editor&&void 0!==e.editor.largeFileOptimizations&&(h="false"!==e.editor.largeFileOptimizations&&!!e.editor.largeFileOptimizations);let u=nn.D.bracketPairColorizationOptions;return(null===(i=e.editor)||void 0===i?void 0:i.bracketPairColorization)&&"object"==typeof e.editor.bracketPairColorization&&(u={enabled:!!e.editor.bracketPairColorization.enabled,independentColorPoolPerBracketType:!!e.editor.bracketPairColorization.independentColorPoolPerBracketType}),{isForSimpleWidget:t,tabSize:n,indentSize:s,insertSpaces:o,detectIndentation:d,defaultEOL:r,trimAutoWhitespace:a,largeFileOptimizations:h,bracketPairColorizationOptions:u}}_getEOL(e,t){if(e)return this._resourcePropertiesService.getEOL(e,t);let i=this._configurationService.getValue("files.eol",{overrideIdentifier:t});return i&&"string"==typeof i&&"auto"!==i?i:3===tu.OS||2===tu.OS?"\n":"\r\n"}_shouldRestoreUndoStack(){let e=this._configurationService.getValue("files.restoreUndoStack");return"boolean"!=typeof e||e}getCreationOptions(e,t,i){let n="string"==typeof e?e:e.languageId,s=this._modelCreationOptionsByLanguageAndResource[n+t];if(!s){let e=this._configurationService.getValue("editor",{overrideIdentifier:n,resource:t}),o=this._getEOL(t,n);s=C._readModelOptions({editor:e,eol:o},i),this._modelCreationOptionsByLanguageAndResource[n+t]=s}return s}_updateModelOptions(e){let t=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);let i=Object.keys(this._models);for(let n=0,s=i.length;ne){let t=[];for(this._disposedModels.forEach(e=>{e.sharesUndoRedoStack||t.push(e)}),t.sort((e,t)=>e.time-t.time);t.length>0&&this._disposedModelsHeapSize>e;){let e=t.shift();this._removeDisposedModel(e.uri),null!==e.initialUndoRedoSnapshot&&this._undoRedoService.restoreSnapshot(e.initialUndoRedoSnapshot)}}}_createModelData(e,t,i,n){let s=this.getCreationOptions(t,i,n),o=new ni.yO(e,t,s,i,this._undoRedoService,this._languageService,this._languageConfigurationService);if(i&&this._disposedModels.has(nl(i))){let e=this._removeDisposedModel(i),t=this._undoRedoService.getElements(i),n=this._getSHA1Computer(),s=!!n.canComputeSHA1(o)&&n.computeSHA1(o)===e.sha1;if(s||e.sharesUndoRedoStack){for(let e of t.past)(0,no.e9)(e)&&e.matchesResource(i)&&e.setModel(o);for(let e of t.future)(0,no.e9)(e)&&e.matchesResource(i)&&e.setModel(o);this._undoRedoService.setElementsValidFlag(i,!0,e=>(0,no.e9)(e)&&e.matchesResource(i)),s&&(o._overwriteVersionId(e.versionId),o._overwriteAlternativeVersionId(e.alternativeVersionId),o._overwriteInitialUndoRedoSnapshot(e.initialUndoRedoSnapshot))}else null!==e.initialUndoRedoSnapshot&&this._undoRedoService.restoreSnapshot(e.initialUndoRedoSnapshot)}let r=nl(o.uri);if(this._models[r])throw Error("ModelService: Cannot add model because it already exists!");let l=new na(o,e=>this._onWillDispose(e),(e,t)=>this._onDidChangeLanguage(e,t));return this._models[r]=l,l}createModel(e,t,i,n=!1){let s;return s=t?this._createModelData(e,t,i,n):this._createModelData(e,q.bd,i,n),this._onModelAdded.fire(s.model),s.model}getModels(){let e=[],t=Object.keys(this._models);for(let i=0,n=t.length;i0||t.future.length>0){for(let i of t.past)(0,no.e9)(i)&&i.matchesResource(e.uri)&&(s=!0,o+=i.heapSize(e.uri),i.setModel(e.uri));for(let i of t.future)(0,no.e9)(i)&&i.matchesResource(e.uri)&&(s=!0,o+=i.heapSize(e.uri),i.setModel(e.uri))}}let r=C.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK,l=this._getSHA1Computer();if(s){if(n||!(o>r)&&l.canComputeSHA1(e))this._ensureDisposedModelsHeapSize(r-o),this._undoRedoService.setElementsValidFlag(e.uri,!1,t=>(0,no.e9)(t)&&t.matchesResource(e.uri)),this._insertDisposedModel(new nh(e.uri,i.model.getInitialUndoRedoSnapshot(),Date.now(),n,o,l.computeSHA1(e),e.getVersionId(),e.getAlternativeVersionId()));else{let e=i.model.getInitialUndoRedoSnapshot();null!==e&&this._undoRedoService.restoreSnapshot(e)}}else if(!n){let e=i.model.getInitialUndoRedoSnapshot();null!==e&&this._undoRedoService.restoreSnapshot(e)}delete this._models[t],i.dispose(),delete this._modelCreationOptionsByLanguageAndResource[e.getLanguageId()+e.uri],this._onModelRemoved.fire(e)}_onDidChangeLanguage(e,t){let i=t.oldLanguage,n=e.getLanguageId(),s=this.getCreationOptions(i,e.uri,e.isForSimpleWidget),o=this.getCreationOptions(n,e.uri,e.isForSimpleWidget);C._setModelOptionsForModel(e,o,s),this._onModelModeChanged.fire({model:e,oldLanguageId:i})}_getSHA1Computer(){return new nc}};nu.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK=20971520,nu=C=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([nr(0,el.Ui),nr(1,tz.y),nr(2,eK.tJ),nr(3,U.O),nr(4,$.c_)],nu);class nc{canComputeSHA1(e){return e.getValueLength()<=nc.MAX_MODEL_SIZE}computeSHA1(e){let t;let i=new ns.yP,n=e.createSnapshot();for(;t=n.read();)i.update(t);return i.digest()}}nc.MAX_MODEL_SIZE=10485760,i(79807);var ng=i(45503),np=i(41157),nm=function(e,t){return function(i,n){t(i,n,e)}};let nf=class extends T.JT{constructor(e,t){super(),this.quickInputService=e,this.instantiationService=t,this.registry=tq.B.as(ng.IP.Quickaccess),this.mapProviderToDescriptor=new Map,this.lastAcceptedPickerValues=new Map,this.visibleQuickAccess=void 0}show(e="",t){this.doShowOrPick(e,!1,t)}doShowOrPick(e,t,i){var n,s,o,r;let l;let[a,d]=this.getOrInstantiateProvider(e,null==i?void 0:i.enabledProviderPrefixes),h=this.visibleQuickAccess,u=null==h?void 0:h.descriptor;if(h&&d&&u===d){e===d.prefix||(null==i?void 0:i.preserveValue)||(h.picker.value=e),this.adjustValueSelection(h.picker,d,i);return}if(d&&!(null==i?void 0:i.preserveValue)){let t;if(h&&u&&u!==d){let e=h.value.substr(u.prefix.length);e&&(t=`${d.prefix}${e}`)}if(!t){let e=null==a?void 0:a.defaultFilterValue;e===ng.Ry.LAST?t=this.lastAcceptedPickerValues.get(d):"string"==typeof e&&(t=`${d.prefix}${e}`)}"string"==typeof t&&(e=t)}let c=null===(n=null==h?void 0:h.picker)||void 0===n?void 0:n.valueSelection,g=null===(s=null==h?void 0:h.picker)||void 0===s?void 0:s.value,p=new T.SL,m=p.add(this.quickInputService.createQuickPick());m.value=e,this.adjustValueSelection(m,d,i),m.placeholder=null!==(o=null==i?void 0:i.placeholder)&&void 0!==o?o:null==d?void 0:d.placeholder,m.quickNavigate=null==i?void 0:i.quickNavigateConfiguration,m.hideInput=!!m.quickNavigate&&!h,("number"==typeof(null==i?void 0:i.itemActivation)||(null==i?void 0:i.quickNavigateConfiguration))&&(m.itemActivation=null!==(r=null==i?void 0:i.itemActivation)&&void 0!==r?r:np.jG.SECOND),m.contextKey=null==d?void 0:d.contextKey,m.filterValue=e=>e.substring(d?d.prefix.length:0),t&&(l=new tE.CR,p.add(eS.ju.once(m.onWillAccept)(e=>{e.veto(),m.hide()}))),p.add(this.registerPickerListeners(m,a,d,e,i));let f=p.add(new tD.AU);if(a&&p.add(a.provide(m,f.token,null==i?void 0:i.providerOptions)),eS.ju.once(m.onDidHide)(()=>{0===m.selectedItems.length&&f.cancel(),p.dispose(),null==l||l.complete(m.selectedItems.slice(0))}),m.show(),c&&g===e&&(m.valueSelection=c),t)return null==l?void 0:l.p}adjustValueSelection(e,t,i){var n;let s;s=(null==i?void 0:i.preserveValue)?[e.value.length,e.value.length]:[null!==(n=null==t?void 0:t.prefix.length)&&void 0!==n?n:0,e.value.length],e.valueSelection=s}registerPickerListeners(e,t,i,n,s){let o=new T.SL,r=this.visibleQuickAccess={picker:e,descriptor:i,value:n};return o.add((0,T.OF)(()=>{r===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)})),o.add(e.onDidChangeValue(e=>{let[i]=this.getOrInstantiateProvider(e,null==s?void 0:s.enabledProviderPrefixes);i!==t?this.show(e,{enabledProviderPrefixes:null==s?void 0:s.enabledProviderPrefixes,preserveValue:!0,providerOptions:null==s?void 0:s.providerOptions}):r.value=e})),i&&o.add(e.onDidAccept(()=>{this.lastAcceptedPickerValues.set(i,e.value)})),o}getOrInstantiateProvider(e,t){let i=this.registry.getQuickAccessProvider(e);if(!i||t&&!(null==t?void 0:t.includes(i.prefix)))return[void 0,void 0];let n=this.mapProviderToDescriptor.get(i);return n||(n=this.instantiationService.createInstance(i.ctor),this.mapProviderToDescriptor.set(i,n)),[n,i]}};nf=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([nm(0,np.eJ),nm(1,eM.TG)],nf);var n_=i(82900);i(91642);var nv=i(4850),nb=i(56811),nC=i(44742),nw=i(49898);class ny{constructor(e){this.nodes=e}toString(){return this.nodes.map(e=>"string"==typeof e?e:e.label).join("")}}!function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);o>3&&r&&Object.defineProperty(t,i,r)}([nw.H],ny.prototype,"toString",null);let nS=/\[([^\]]+)\]\(((?:https?:\/\/|command:|file:)[^\)\s]+)(?: (["'])(.+?)(\3))?\)/gi,nL={},nk=new nC.R("quick-input-button-icon-");function nD(e,t,i){let n=e.iconClass||function(e){let t;if(!e)return;let i=e.dark.toString();return nL[i]?t=nL[i]:(t=nk.nextId(),ew.fk(`.${t}, .hc-light .${t}`,`background-image: ${ew.wY(e.light||e.dark)}`),ew.fk(`.vs-dark .${t}, .hc-black .${t}`,`background-image: ${ew.wY(e.dark)}`),nL[i]=t),t}(e.iconPath);return e.alwaysVisible&&(n=n?`${n} always-visible`:"always-visible"),{id:t,label:"",tooltip:e.tooltip||"",class:n,enabled:!0,run:i}}var nx=function(e,t){return function(i,n){t(i,n,e)}};let nN="inQuickInput",nE=new ex.uy(nN,!1,(0,eH.NC)("inQuickInput","Whether keyboard focus is inside the quick input control")),nI=ex.Ao.has(nN),nT="quickInputType",nM=new ex.uy(nT,void 0,(0,eH.NC)("quickInputType","The type of the currently visible quick input")),nR="cursorAtEndOfQuickInputBox",nA=new ex.uy(nR,!1,(0,eH.NC)("cursorAtEndOfQuickInputBox","Whether the cursor in the quick input is at the end of the input box")),nP=ex.Ao.has(nR),nO={iconClass:iW.k.asClassName(iF.l.quickInputBack),tooltip:(0,eH.NC)("quickInput.back","Back"),handle:-1};class nF extends T.JT{constructor(e){super(),this.ui=e,this._widgetUpdated=!1,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.buttonsUpdated=!1,this._toggles=[],this.togglesUpdated=!1,this.noValidationMessage=nF.noPromptMessage,this._severity=eW.Z.Ignore,this.onDidTriggerButtonEmitter=this._register(new eS.Q5),this.onDidHideEmitter=this._register(new eS.Q5),this.onWillHideEmitter=this._register(new eS.Q5),this.onDisposeEmitter=this._register(new eS.Q5),this.visibleDisposables=this._register(new T.SL),this.onDidHide=this.onDidHideEmitter.event}get title(){return this._title}set title(e){this._title=e,this.update()}get description(){return this._description}set description(e){this._description=e,this.update()}get step(){return this._steps}set step(e){this._steps=e,this.update()}get totalSteps(){return this._totalSteps}set totalSteps(e){this._totalSteps=e,this.update()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this.update()}get contextKey(){return this._contextKey}set contextKey(e){this._contextKey=e,this.update()}get busy(){return this._busy}set busy(e){this._busy=e,this.update()}get ignoreFocusOut(){return this._ignoreFocusOut}set ignoreFocusOut(e){let t=this._ignoreFocusOut!==e&&!tu.gn;this._ignoreFocusOut=e&&!tu.gn,t&&this.update()}get buttons(){return this._buttons}set buttons(e){this._buttons=e,this.buttonsUpdated=!0,this.update()}get toggles(){return this._toggles}set toggles(e){this._toggles=null!=e?e:[],this.togglesUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(e){this._validationMessage=e,this.update()}get severity(){return this._severity}set severity(e){this._severity=e,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton(e=>{-1!==this.buttons.indexOf(e)&&this.onDidTriggerButtonEmitter.fire(e)})),this.ui.show(this),this.visible=!0,this._lastValidationMessage=void 0,this._lastSeverity=void 0,this.buttons.length&&(this.buttonsUpdated=!0),this.toggles.length&&(this.togglesUpdated=!0),this.update())}hide(){this.visible&&this.ui.hide()}didHide(e=np.Jq.Other){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire({reason:e})}willHide(e=np.Jq.Other){this.onWillHideEmitter.fire({reason:e})}update(){var e,t;if(!this.visible)return;let i=this.getTitle();i&&this.ui.title.textContent!==i?this.ui.title.textContent=i:i||" "===this.ui.title.innerHTML||(this.ui.title.innerText="\xa0");let n=this.getDescription();if(this.ui.description1.textContent!==n&&(this.ui.description1.textContent=n),this.ui.description2.textContent!==n&&(this.ui.description2.textContent=n),this._widgetUpdated&&(this._widgetUpdated=!1,this._widget?ew.mc(this.ui.widget,this._widget):ew.mc(this.ui.widget)),this.busy&&!this.busyDelay&&(this.busyDelay=new tE._F,this.busyDelay.setIfNotSet(()=>{this.visible&&this.ui.progressBar.infinite()},800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();let e=this.buttons.filter(e=>e===nO).map((e,t)=>nD(e,`id-${t}`,async()=>this.onDidTriggerButtonEmitter.fire(e)));this.ui.leftActionBar.push(e,{icon:!0,label:!1}),this.ui.rightActionBar.clear();let t=this.buttons.filter(e=>e!==nO).map((e,t)=>nD(e,`id-${t}`,async()=>this.onDidTriggerButtonEmitter.fire(e)));this.ui.rightActionBar.push(t,{icon:!0,label:!1})}if(this.togglesUpdated){this.togglesUpdated=!1;let i=null!==(t=null===(e=this.toggles)||void 0===e?void 0:e.filter(e=>e instanceof n_.Z))&&void 0!==t?t:[];this.ui.inputBox.toggles=i}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey);let s=this.validationMessage||this.noValidationMessage;this._lastValidationMessage!==s&&(this._lastValidationMessage=s,ew.mc(this.ui.message),function(e,t,i){ew.mc(t);let n=function(e){let t;let i=[],n=0;for(;t=nS.exec(e);){t.index-n>0&&i.push(e.substring(n,t.index));let[,s,o,,r]=t;r?i.push({label:s,href:o,title:r}):i.push({label:s,href:o}),n=t.index+t[0].length}return n{ew.cl(t)&&ew.zB.stop(t,!0),i.callback(e.href)},l=i.disposables.add(new nv.Y(o,ew.tw.CLICK)).event,a=i.disposables.add(new nv.Y(o,ew.tw.KEY_DOWN)).event,d=eS.ju.chain(a,e=>e.filter(e=>{let t=new tv.y(e);return t.equals(10)||t.equals(3)}));i.disposables.add(iR.o.addTarget(o));let h=i.disposables.add(new nv.Y(o,iR.t.Tap)).event;eS.ju.any(l,h,d)(r,null,i.disposables),t.appendChild(o)}}(s,this.ui.message,{callback:e=>{this.ui.linkOpenerDelegate(e)},disposables:this.visibleDisposables})),this._lastSeverity!==this.severity&&(this._lastSeverity=this.severity,this.showMessageDecoration(this.severity))}getTitle(){return this.title&&this.step?`${this.title} (${this.getSteps()})`:this.title?this.title:this.step?this.getSteps():""}getDescription(){return this.description||""}getSteps(){return this.step&&this.totalSteps?(0,eH.NC)("quickInput.steps","{0}/{1}",this.step,this.totalSteps):this.step?String(this.step):""}showMessageDecoration(e){if(this.ui.inputBox.showDecoration(e),e!==eW.Z.Ignore){let t=this.ui.inputBox.stylesForType(e);this.ui.message.style.color=t.foreground?`${t.foreground}`:"",this.ui.message.style.backgroundColor=t.background?`${t.background}`:"",this.ui.message.style.border=t.border?`1px solid ${t.border}`:"",this.ui.message.style.marginBottom="-2px"}else this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.marginBottom=""}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}nF.noPromptMessage=(0,eH.NC)("inputModeEntry","Press 'Enter' to confirm your input or 'Escape' to cancel");class nB extends nF{constructor(){super(...arguments),this._value="",this.onDidChangeValueEmitter=this._register(new eS.Q5),this.onWillAcceptEmitter=this._register(new eS.Q5),this.onDidAcceptEmitter=this._register(new eS.Q5),this.onDidCustomEmitter=this._register(new eS.Q5),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._matchOnLabelMode="fuzzy",this._sortByLabel=!0,this._keepScrollPosition=!1,this._itemActivation=np.jG.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new eS.Q5),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new eS.Q5),this.onDidTriggerItemButtonEmitter=this._register(new eS.Q5),this.onDidTriggerSeparatorButtonEmitter=this._register(new eS.Q5),this.valueSelectionUpdated=!0,this._ok="default",this._customButton=!1,this._focusEventBufferer=new eS.E7,this.type="quickPick",this.filterValue=e=>e,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onWillAccept=this.onWillAcceptEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event,this.onDidTriggerSeparatorButton=this.onDidTriggerSeparatorButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(e){this._quickNavigate=e,this.update()}get value(){return this._value}set value(e){this.doSetValue(e)}doSetValue(e,t){if(this._value!==e){if(this._value=e,t||this.update(),this.visible){let e=this.ui.list.filter(this.filterValue(this._value));e&&this.trySelectFirst()}this.onDidChangeValueEmitter.fire(this._value)}}set ariaLabel(e){this._ariaLabel=e,this.update()}get ariaLabel(){return this._ariaLabel}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.update()}get items(){return this._items}get scrollTop(){return this.ui.list.scrollTop}set scrollTop(e){this.ui.list.scrollTop=e}set items(e){this._items=e,this.itemsUpdated=!0,this.update()}get canSelectMany(){return this._canSelectMany}set canSelectMany(e){this._canSelectMany=e,this.update()}get canAcceptInBackground(){return this._canAcceptInBackground}set canAcceptInBackground(e){this._canAcceptInBackground=e}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(e){this._matchOnDescription=e,this.update()}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(e){this._matchOnDetail=e,this.update()}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(e){this._matchOnLabel=e,this.update()}get matchOnLabelMode(){return this._matchOnLabelMode}set matchOnLabelMode(e){this._matchOnLabelMode=e,this.update()}get sortByLabel(){return this._sortByLabel}set sortByLabel(e){this._sortByLabel=e,this.update()}get keepScrollPosition(){return this._keepScrollPosition}set keepScrollPosition(e){this._keepScrollPosition=e}get itemActivation(){return this._itemActivation}set itemActivation(e){this._itemActivation=e}get activeItems(){return this._activeItems}set activeItems(e){this._activeItems=e,this.activeItemsUpdated=!0,this.update()}get selectedItems(){return this._selectedItems}set selectedItems(e){this._selectedItems=e,this.selectedItemsUpdated=!0,this.update()}get keyMods(){return this._quickNavigate?np.X5:this.ui.keyMods}get valueSelection(){let e=this.ui.inputBox.getSelection();if(e)return[e.start,e.end]}set valueSelection(e){this._valueSelection=e,this.valueSelectionUpdated=!0,this.update()}get customButton(){return this._customButton}set customButton(e){this._customButton=e,this.update()}get customLabel(){return this._customButtonLabel}set customLabel(e){this._customButtonLabel=e,this.update()}get customHover(){return this._customButtonHover}set customHover(e){this._customButtonHover=e,this.update()}get ok(){return this._ok}set ok(e){this._ok=e,this.update()}get hideInput(){return!!this._hideInput}set hideInput(e){this._hideInput=e,this.update()}trySelectFirst(){this.canSelectMany||this.ui.list.focus(np.vn.First)}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(e=>{this.doSetValue(e,!0)})),this.visibleDisposables.add(this.ui.onDidAccept(()=>{this.canSelectMany?this.ui.list.getCheckedElements().length||(this._selectedItems=[],this.onDidChangeSelectionEmitter.fire(this.selectedItems)):this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.handleAccept(!1)})),this.visibleDisposables.add(this.ui.onDidCustom(()=>{this.onDidCustomEmitter.fire()})),this.visibleDisposables.add(this._focusEventBufferer.wrapEvent(this.ui.list.onDidChangeFocus,(e,t)=>t)(e=>{this.activeItemsUpdated||this.activeItemsToConfirm!==this._activeItems&&(0,eT.fS)(e,this._activeItems,(e,t)=>e===t)||(this._activeItems=e,this.onDidChangeActiveEmitter.fire(e))})),this.visibleDisposables.add(this.ui.list.onDidChangeSelection(({items:e,event:t})=>{if(this.canSelectMany){e.length&&this.ui.list.setSelectedElements([]);return}!(this.selectedItemsToConfirm!==this._selectedItems&&(0,eT.fS)(e,this._selectedItems,(e,t)=>e===t))&&(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e),e.length&&this.handleAccept(ew.N5(t)&&1===t.button))})),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements(e=>{!this.canSelectMany||this.selectedItemsToConfirm!==this._selectedItems&&(0,eT.fS)(e,this._selectedItems,(e,t)=>e===t)||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e))})),this.visibleDisposables.add(this.ui.list.onButtonTriggered(e=>this.onDidTriggerItemButtonEmitter.fire(e))),this.visibleDisposables.add(this.ui.list.onSeparatorButtonTriggered(e=>this.onDidTriggerSeparatorButtonEmitter.fire(e))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}handleAccept(e){let t=!1;this.onWillAcceptEmitter.fire({veto:()=>t=!0}),t||this.onDidAcceptEmitter.fire({inBackground:e})}registerQuickNavigation(){return ew.nm(this.ui.container,ew.tw.KEY_UP,e=>{if(this.canSelectMany||!this._quickNavigate)return;let t=new tv.y(e),i=t.keyCode,n=this._quickNavigate.keybindings,s=n.some(e=>{let n=e.getChords();return!(n.length>1)&&(n[0].shiftKey&&4===i?!t.ctrlKey&&!t.altKey&&!t.metaKey:!!n[0].altKey&&6===i||!!n[0].ctrlKey&&5===i||!!n[0].metaKey&&57===i)});s&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!1)),this._quickNavigate=void 0)})}update(){if(!this.visible)return;let e=this.keepScrollPosition?this.scrollTop:0,t=!!this.description,i={title:!!this.title||!!this.step||!!this.buttons.length,description:t,checkAll:this.canSelectMany&&!this._hideCheckAll,checkBox:this.canSelectMany,inputBox:!this._hideInput,progressBar:!this._hideInput||t,visibleCount:!0,count:this.canSelectMany&&!this._hideCountBadge,ok:"default"===this.ok?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};this.ui.setVisibilities(i),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||"");let n=this.ariaLabel;!n&&i.inputBox&&(n=this.placeholder||nB.DEFAULT_ARIA_LABEL,this.title&&(n+=` - ${this.title}`)),this.ui.list.ariaLabel!==n&&(this.ui.list.ariaLabel=null!=n?n:null),this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.matchOnLabelMode=this.matchOnLabelMode,this.ui.list.sortByLabel=this.sortByLabel,this.itemsUpdated&&(this.itemsUpdated=!1,this._focusEventBufferer.bufferEvents(()=>{switch(this.ui.list.setElements(this.items),this.ui.list.shouldLoop=!this.canSelectMany,this.ui.list.filter(this.filterValue(this.ui.inputBox.value)),this.ui.checkAll.checked=this.ui.list.getAllVisibleChecked(),this.ui.visibleCount.setCount(this.ui.list.getVisibleCount()),this.ui.count.setCount(this.ui.list.getCheckedCount()),this._itemActivation){case np.jG.NONE:this._itemActivation=np.jG.FIRST;break;case np.jG.SECOND:this.ui.list.focus(np.vn.Second),this._itemActivation=np.jG.FIRST;break;case np.jG.LAST:this.ui.list.focus(np.vn.Last),this._itemActivation=np.jG.FIRST;break;default:this.trySelectFirst()}})),this.ui.container.classList.contains("show-checkboxes")!==!!this.canSelectMany&&(this.canSelectMany?this.ui.list.clearFocus():this.trySelectFirst()),this.activeItemsUpdated&&(this.activeItemsUpdated=!1,this.activeItemsToConfirm=this._activeItems,this.ui.list.setFocusedElements(this.activeItems),this.activeItemsToConfirm===this._activeItems&&(this.activeItemsToConfirm=null)),this.selectedItemsUpdated&&(this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=this._selectedItems,this.canSelectMany?this.ui.list.setCheckedElements(this.selectedItems):this.ui.list.setSelectedElements(this.selectedItems),this.selectedItemsToConfirm===this._selectedItems&&(this.selectedItemsToConfirm=null)),this.ui.customButton.label=this.customLabel||"",this.ui.customButton.element.title=this.customHover||"",!i.inputBox&&(this.ui.list.domFocus(),this.canSelectMany&&this.ui.list.focus(np.vn.First)),this.keepScrollPosition&&(this.scrollTop=e)}focus(e){this.ui.list.focus(e),this.canSelectMany&&this.ui.list.domFocus()}accept(e){(!e||this._canAcceptInBackground)&&this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(null!=e&&e))}}nB.DEFAULT_ARIA_LABEL=(0,eH.NC)("quickInputBox.ariaLabel","Type to narrow down results.");class nW extends nF{constructor(){super(...arguments),this._value="",this.valueSelectionUpdated=!0,this._password=!1,this.onDidValueChangeEmitter=this._register(new eS.Q5),this.onDidAcceptEmitter=this._register(new eS.Q5),this.type="inputBox",this.onDidChangeValue=this.onDidValueChangeEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event}get value(){return this._value}set value(e){this._value=e||"",this.update()}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.update()}get password(){return this._password}set password(e){this._password=e,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(e=>{e!==this.value&&(this._value=e,this.onDidValueChangeEmitter.fire(e))})),this.visibleDisposables.add(this.ui.onDidAccept(()=>this.onDidAcceptEmitter.fire())),this.valueSelectionUpdated=!0),super.show()}update(){if(!this.visible)return;this.ui.container.classList.remove("hidden-input");let e={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description||!!this.step,inputBox:!0,message:!0,progressBar:!0};this.ui.setVisibilities(e),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||""),this.ui.inputBox.password!==this.password&&(this.ui.inputBox.password=this.password)}}let nH=class extends tn.mQ{constructor(e,t){super("element",!1,e=>this.getOverrideOptions(e),e,t)}getOverrideOptions(e){var t;let i=(ew.Re(e.content)?null!==(t=e.content.textContent)&&void 0!==t?t:"":"string"==typeof e.content?e.content:e.content.value).includes("\n");return{persistence:{hideOnKeyDown:!1},appearance:{showHoverHint:i,skipFadeInAnimation:!0}}}};nH=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([nx(0,el.Ui),nx(1,tn.Bs)],nH);var nV=i(43416),nz=i(67488);i(7226);let nK="done",nU="active",n$="infinite",nq="infinite-long-running",nj="discrete";class nG extends T.JT{constructor(e,t){super(),this.progressSignal=this._register(new T.XK),this.workedVal=0,this.showDelayedScheduler=this._register(new tE.pY(()=>(0,ew.$Z)(this.element),0)),this.longRunningScheduler=this._register(new tE.pY(()=>this.infiniteLongRunning(),nG.LONG_RUNNING_INFINITE_THRESHOLD)),this.create(e,t)}create(e,t){this.element=document.createElement("div"),this.element.classList.add("monaco-progress-container"),this.element.setAttribute("role","progressbar"),this.element.setAttribute("aria-valuemin","0"),e.appendChild(this.element),this.bit=document.createElement("div"),this.bit.classList.add("progress-bit"),this.bit.style.backgroundColor=(null==t?void 0:t.progressBarBackground)||"#0E70C0",this.element.appendChild(this.bit)}off(){this.bit.style.width="inherit",this.bit.style.opacity="1",this.element.classList.remove(nU,n$,nq,nj),this.workedVal=0,this.totalWork=void 0,this.longRunningScheduler.cancel(),this.progressSignal.clear()}stop(){return this.doDone(!1)}doDone(e){return this.element.classList.add(nK),this.element.classList.contains(n$)?(this.bit.style.opacity="0",e?setTimeout(()=>this.off(),200):this.off()):(this.bit.style.width="inherit",e?setTimeout(()=>this.off(),200):this.off()),this}infinite(){return this.bit.style.width="2%",this.bit.style.opacity="1",this.element.classList.remove(nj,nK,nq),this.element.classList.add(nU,n$),this.longRunningScheduler.schedule(),this}infiniteLongRunning(){this.element.classList.add(nq)}getContainer(){return this.element}}nG.LONG_RUNNING_INFINITE_THRESHOLD=1e4;var nQ=i(3070);let nZ=ew.$;class nY extends T.JT{constructor(e,t,i){super(),this.parent=e,this.onKeyDown=e=>ew.mu(this.findInput.inputBox.inputElement,ew.tw.KEY_DOWN,e),this.onDidChange=e=>this.findInput.onDidChange(e),this.container=ew.R3(this.parent,nZ(".quick-input-box")),this.findInput=this._register(new nQ.V(this.container,void 0,{label:"",inputBoxStyles:t,toggleStyles:i}));let n=this.findInput.inputBox.inputElement;n.role="combobox",n.ariaHasPopup="menu",n.ariaAutoComplete="list",n.ariaExpanded="true"}get value(){return this.findInput.getValue()}set value(e){this.findInput.setValue(e)}select(e=null){this.findInput.inputBox.select(e)}getSelection(){return this.findInput.inputBox.getSelection()}isSelectionAtEnd(){return this.findInput.inputBox.isSelectionAtEnd()}get placeholder(){return this.findInput.inputBox.inputElement.getAttribute("placeholder")||""}set placeholder(e){this.findInput.inputBox.setPlaceHolder(e)}get password(){return"password"===this.findInput.inputBox.inputElement.type}set password(e){this.findInput.inputBox.inputElement.type=e?"password":"text"}set enabled(e){this.findInput.inputBox.inputElement.toggleAttribute("readonly",!e)}set toggles(e){this.findInput.setAdditionalToggles(e)}setAttribute(e,t){this.findInput.inputBox.inputElement.setAttribute(e,t)}showDecoration(e){e===eW.Z.Ignore?this.findInput.clearMessage():this.findInput.showMessage({type:e===eW.Z.Info?1:e===eW.Z.Warning?2:3,content:""})}stylesForType(e){return this.findInput.inputBox.stylesForType(e===eW.Z.Info?1:e===eW.Z.Warning?2:3)}setFocus(){this.findInput.focus()}layout(){this.findInput.inputBox.layout()}}var nJ=i(66315),nX=i(59834),n0=i(55496),n1=i(92321),n2=i(79579);let n5=new n2.o(()=>{let e=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:e,collatorIsNumeric:e.resolvedOptions().numeric}});new n2.o(()=>{let e=new Intl.Collator(void 0,{numeric:!0});return{collator:e}}),new n2.o(()=>{let e=new Intl.Collator(void 0,{numeric:!0,sensitivity:"accent"});return{collator:e}});var n4=i(5637),n3=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},n6=function(e,t){return function(i,n){t(i,n,e)}};let n9=ew.$;class n7{constructor(e,t,i){this.index=e,this.hasCheckbox=t,this._hidden=!1,this._init=new n2.o(()=>{var e;let t=null!==(e=i.label)&&void 0!==e?e:"",n=(0,iH.Ho)(t).text.trim(),s=i.ariaLabel||[t,this.saneDescription,this.saneDetail].map(e=>(0,iH.JL)(e)).filter(e=>!!e).join(", ");return{saneLabel:t,saneSortLabel:n,saneAriaLabel:s}}),this._saneDescription=i.description,this._saneTooltip=i.tooltip}get saneLabel(){return this._init.value.saneLabel}get saneSortLabel(){return this._init.value.saneSortLabel}get saneAriaLabel(){return this._init.value.saneAriaLabel}get element(){return this._element}set element(e){this._element=e}get hidden(){return this._hidden}set hidden(e){this._hidden=e}get saneDescription(){return this._saneDescription}set saneDescription(e){this._saneDescription=e}get saneDetail(){return this._saneDetail}set saneDetail(e){this._saneDetail=e}get saneTooltip(){return this._saneTooltip}set saneTooltip(e){this._saneTooltip=e}get labelHighlights(){return this._labelHighlights}set labelHighlights(e){this._labelHighlights=e}get descriptionHighlights(){return this._descriptionHighlights}set descriptionHighlights(e){this._descriptionHighlights=e}get detailHighlights(){return this._detailHighlights}set detailHighlights(e){this._detailHighlights=e}}class n8 extends n7{constructor(e,t,i,n,s,o){var r,l,a;super(e,t,s),this.fireButtonTriggered=i,this._onChecked=n,this.item=s,this._separator=o,this._checked=!1,this.onChecked=t?eS.ju.map(eS.ju.filter(this._onChecked.event,e=>e.element===this),e=>e.checked):eS.ju.None,this._saneDetail=s.detail,this._labelHighlights=null===(r=s.highlights)||void 0===r?void 0:r.label,this._descriptionHighlights=null===(l=s.highlights)||void 0===l?void 0:l.description,this._detailHighlights=null===(a=s.highlights)||void 0===a?void 0:a.detail}get separator(){return this._separator}set separator(e){this._separator=e}get checked(){return this._checked}set checked(e){e!==this._checked&&(this._checked=e,this._onChecked.fire({element:this,checked:e}))}get checkboxDisabled(){return!!this.item.disabled}}(d=y||(y={}))[d.NONE=0]="NONE",d[d.MOUSE_HOVER=1]="MOUSE_HOVER",d[d.ACTIVE_ITEM=2]="ACTIVE_ITEM";class se extends n7{constructor(e,t,i){super(e,!1,i),this.fireSeparatorButtonTriggered=t,this.separator=i,this.children=[],this.focusInsideSeparator=y.NONE}}class st{getHeight(e){return e instanceof se?30:e.saneDetail?44:22}getTemplateId(e){return e instanceof n8?ss.ID:so.ID}}class si{getWidgetAriaLabel(){return(0,eH.NC)("quickInput","Quick Input")}getAriaLabel(e){var t;return(null===(t=e.separator)||void 0===t?void 0:t.label)?`${e.saneAriaLabel}, ${e.separator.label}`:e.saneAriaLabel}getWidgetRole(){return"listbox"}getRole(e){return e.hasCheckbox?"checkbox":"option"}isChecked(e){if(e.hasCheckbox&&e instanceof n8)return{get value(){return e.checked},onDidChange:t=>e.onChecked(()=>t())}}}class sn{constructor(e){this.hoverDelegate=e}renderTemplate(e){let t=Object.create(null);t.toDisposeElement=new T.SL,t.toDisposeTemplate=new T.SL,t.entry=ew.R3(e,n9(".quick-input-list-entry"));let i=ew.R3(t.entry,n9("label.quick-input-list-label"));t.toDisposeTemplate.add(ew.mu(i,ew.tw.CLICK,e=>{t.checkbox.offsetParent||e.preventDefault()})),t.checkbox=ew.R3(i,n9("input.quick-input-list-checkbox")),t.checkbox.type="checkbox";let n=ew.R3(i,n9(".quick-input-list-rows")),s=ew.R3(n,n9(".quick-input-list-row")),o=ew.R3(n,n9(".quick-input-list-row"));t.label=new nX.g(s,{supportHighlights:!0,supportDescriptionHighlights:!0,supportIcons:!0,hoverDelegate:this.hoverDelegate}),t.toDisposeTemplate.add(t.label),t.icon=ew.Ce(t.label.element,n9(".quick-input-list-icon"));let r=ew.R3(s,n9(".quick-input-list-entry-keybinding"));t.keybinding=new n0.e(r,tu.OS),t.toDisposeTemplate.add(t.keybinding);let l=ew.R3(o,n9(".quick-input-list-label-meta"));return t.detail=new nX.g(l,{supportHighlights:!0,supportIcons:!0,hoverDelegate:this.hoverDelegate}),t.toDisposeTemplate.add(t.detail),t.separator=ew.R3(t.entry,n9(".quick-input-list-separator")),t.actionBar=new iA.o(t.entry,this.hoverDelegate?{hoverDelegate:this.hoverDelegate}:void 0),t.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),t.toDisposeTemplate.add(t.actionBar),t}disposeTemplate(e){e.toDisposeElement.dispose(),e.toDisposeTemplate.dispose()}disposeElement(e,t,i){i.toDisposeElement.clear(),i.actionBar.clear()}}let ss=w=class extends sn{constructor(e,t){super(e),this.themeService=t,this._itemsWithSeparatorsFrequency=new Map}get templateId(){return w.ID}renderTemplate(e){let t=super.renderTemplate(e);return t.toDisposeTemplate.add(ew.mu(t.checkbox,ew.tw.CHANGE,e=>{t.element.checked=t.checkbox.checked})),t}renderElement(e,t,i){var n,s,o;let r;let l=e.element;i.element=l,l.element=null!==(n=i.entry)&&void 0!==n?n:void 0;let a=l.item;i.checkbox.checked=l.checked,i.toDisposeElement.add(l.onChecked(e=>i.checkbox.checked=e)),i.checkbox.disabled=l.checkboxDisabled;let{labelHighlights:d,descriptionHighlights:h,detailHighlights:u}=l;if(a.iconPath){let e=(0,n1._T)(this.themeService.getColorTheme().type)?a.iconPath.dark:null!==(s=a.iconPath.light)&&void 0!==s?s:a.iconPath.dark,t=R.o.revive(e);i.icon.className="quick-input-list-icon",i.icon.style.backgroundImage=ew.wY(t)}else i.icon.style.backgroundImage="",i.icon.className=a.iconClass?`quick-input-list-icon ${a.iconClass}`:"";!l.saneTooltip&&l.saneDescription&&(r={markdown:{value:l.saneDescription,supportThemeIcons:!0},markdownNotSupportedFallback:l.saneDescription});let c={matches:d||[],descriptionTitle:r,descriptionMatches:h||[],labelEscapeNewLines:!0};if(c.extraClasses=a.iconClasses,c.italic=a.italic,c.strikethrough=a.strikethrough,i.entry.classList.remove("quick-input-list-separator-as-item"),i.label.setLabel(l.saneLabel,l.saneDescription,c),i.keybinding.set(a.keybinding),l.saneDetail){let e;l.saneTooltip||(e={markdown:{value:l.saneDetail,supportThemeIcons:!0},markdownNotSupportedFallback:l.saneDetail}),i.detail.element.style.display="",i.detail.setLabel(l.saneDetail,void 0,{matches:u,title:e,labelEscapeNewLines:!0})}else i.detail.element.style.display="none";(null===(o=l.separator)||void 0===o?void 0:o.label)?(i.separator.textContent=l.separator.label,i.separator.style.display="",this.addItemWithSeparator(l)):i.separator.style.display="none",i.entry.classList.toggle("quick-input-list-separator-border",!!l.separator);let g=a.buttons;g&&g.length?(i.actionBar.push(g.map((e,t)=>nD(e,`id-${t}`,()=>l.fireButtonTriggered({button:e,item:l.item}))),{icon:!0,label:!1}),i.entry.classList.add("has-actions")):i.entry.classList.remove("has-actions")}disposeElement(e,t,i){this.removeItemWithSeparator(e.element),super.disposeElement(e,t,i)}isItemWithSeparatorVisible(e){return this._itemsWithSeparatorsFrequency.has(e)}addItemWithSeparator(e){this._itemsWithSeparatorsFrequency.set(e,(this._itemsWithSeparatorsFrequency.get(e)||0)+1)}removeItemWithSeparator(e){let t=this._itemsWithSeparatorsFrequency.get(e)||0;t>1?this._itemsWithSeparatorsFrequency.set(e,t-1):this._itemsWithSeparatorsFrequency.delete(e)}};ss.ID="quickpickitem",ss=w=n3([n6(1,ek.XE)],ss);class so extends sn{constructor(){super(...arguments),this._visibleSeparatorsFrequency=new Map}get templateId(){return so.ID}get visibleSeparators(){return[...this._visibleSeparatorsFrequency.keys()]}isSeparatorVisible(e){return this._visibleSeparatorsFrequency.has(e)}renderElement(e,t,i){var n;let s;let o=e.element;i.element=o,o.element=null!==(n=i.entry)&&void 0!==n?n:void 0,o.element.classList.toggle("focus-inside",!!o.focusInsideSeparator);let r=o.separator,{labelHighlights:l,descriptionHighlights:a,detailHighlights:d}=o;i.icon.style.backgroundImage="",i.icon.className="",!o.saneTooltip&&o.saneDescription&&(s={markdown:{value:o.saneDescription,supportThemeIcons:!0},markdownNotSupportedFallback:o.saneDescription});let h={matches:l||[],descriptionTitle:s,descriptionMatches:a||[],labelEscapeNewLines:!0};if(i.entry.classList.add("quick-input-list-separator-as-item"),i.label.setLabel(o.saneLabel,o.saneDescription,h),o.saneDetail){let e;o.saneTooltip||(e={markdown:{value:o.saneDetail,supportThemeIcons:!0},markdownNotSupportedFallback:o.saneDetail}),i.detail.element.style.display="",i.detail.setLabel(o.saneDetail,void 0,{matches:d,title:e,labelEscapeNewLines:!0})}else i.detail.element.style.display="none";i.separator.style.display="none",i.entry.classList.add("quick-input-list-separator-border");let u=r.buttons;u&&u.length?(i.actionBar.push(u.map((e,t)=>nD(e,`id-${t}`,()=>o.fireSeparatorButtonTriggered({button:e,separator:o.separator}))),{icon:!0,label:!1}),i.entry.classList.add("has-actions")):i.entry.classList.remove("has-actions"),this.addSeparator(o)}disposeElement(e,t,i){var n;this.removeSeparator(e.element),this.isSeparatorVisible(e.element)||null===(n=e.element.element)||void 0===n||n.classList.remove("focus-inside"),super.disposeElement(e,t,i)}addSeparator(e){this._visibleSeparatorsFrequency.set(e,(this._visibleSeparatorsFrequency.get(e)||0)+1)}removeSeparator(e){let t=this._visibleSeparatorsFrequency.get(e)||0;t>1?this._visibleSeparatorsFrequency.set(e,t-1):this._visibleSeparatorsFrequency.delete(e)}}so.ID="quickpickseparator";let sr=class extends T.JT{constructor(e,t,i,n,s,o){super(),this.parent=e,this.hoverDelegate=t,this.linkOpenerDelegate=i,this.accessibilityService=o,this._onKeyDown=new eS.Q5,this._onLeave=new eS.Q5,this.onLeave=this._onLeave.event,this._onChangedAllVisibleChecked=new eS.Q5,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new eS.Q5,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new eS.Q5,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new eS.Q5,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new eS.Q5,this.onButtonTriggered=this._onButtonTriggered.event,this._onSeparatorButtonTriggered=new eS.Q5,this.onSeparatorButtonTriggered=this._onSeparatorButtonTriggered.event,this._elementChecked=new eS.Q5,this._inputElements=[],this._elementTree=[],this._itemElements=[],this._elementDisposable=this._register(new T.SL),this._shouldFireCheckedEvents=!0,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._matchOnLabelMode="fuzzy",this._sortByLabel=!0,this._shouldLoop=!0,this._container=ew.R3(this.parent,n9(".quick-input-list")),this._separatorRenderer=new so(t),this._itemRenderer=s.createInstance(ss,t),this._tree=this._register(s.createInstance(nJ.PF,"QuickInput",this._container,new st,[this._itemRenderer,this._separatorRenderer],{accessibilityProvider:new si,setRowLineHeight:!1,multipleSelectionSupport:!1,hideTwistiesOfChildlessElements:!0,renderIndentGuides:n4.E4.None,findWidgetEnabled:!1,indent:0,horizontalScrolling:!1,allowNonCollapsibleParents:!0,alwaysConsumeMouseWheel:!0})),this._tree.getHTMLElement().id=n,this._registerListeners()}get onDidChangeFocus(){return eS.ju.map(this._tree.onDidChangeFocus,e=>e.elements.filter(e=>e instanceof n8).map(e=>e.item))}get onDidChangeSelection(){return eS.ju.map(this._tree.onDidChangeSelection,e=>({items:e.elements.filter(e=>e instanceof n8).map(e=>e.item),event:e.browserEvent}))}get scrollTop(){return this._tree.scrollTop}set scrollTop(e){this._tree.scrollTop=e}get ariaLabel(){return this._tree.ariaLabel}set ariaLabel(e){this._tree.ariaLabel=null!=e?e:""}set enabled(e){this._tree.getHTMLElement().style.pointerEvents=e?"":"none"}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(e){this._matchOnDescription=e}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(e){this._matchOnDetail=e}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(e){this._matchOnLabel=e}get matchOnLabelMode(){return this._matchOnLabelMode}set matchOnLabelMode(e){this._matchOnLabelMode=e}get sortByLabel(){return this._sortByLabel}set sortByLabel(e){this._sortByLabel=e}get shouldLoop(){return this._shouldLoop}set shouldLoop(e){this._shouldLoop=e}_registerListeners(){this._registerOnKeyDown(),this._registerOnContainerClick(),this._registerOnMouseMiddleClick(),this._registerOnElementChecked(),this._registerOnContextMenu(),this._registerHoverListeners(),this._registerSelectionChangeListener(),this._registerSeparatorActionShowingListeners()}_registerOnKeyDown(){this._register(this._tree.onKeyDown(e=>{let t=new tv.y(e);10===t.keyCode&&this.toggleCheckbox(),this._onKeyDown.fire(t)}))}_registerOnContainerClick(){this._register(ew.nm(this._container,ew.tw.CLICK,e=>{(e.x||e.y)&&this._onLeave.fire()}))}_registerOnMouseMiddleClick(){this._register(ew.nm(this._container,ew.tw.AUXCLICK,e=>{1===e.button&&this._onLeave.fire()}))}_registerOnElementChecked(){this._register(this._elementChecked.event(e=>this._fireCheckedEvents()))}_registerOnContextMenu(){this._register(this._tree.onContextMenu(e=>{e.element&&(e.browserEvent.preventDefault(),this._tree.setSelection([e.element]))}))}_registerHoverListeners(){let e=this._register(new tE.rH(this.hoverDelegate.delay));this._register(this._tree.onMouseOver(async t=>{var i;if(ew.bg(t.browserEvent.target)){e.cancel();return}if(!(!ew.bg(t.browserEvent.relatedTarget)&&ew.jg(t.browserEvent.relatedTarget,null===(i=t.element)||void 0===i?void 0:i.element)))try{await e.trigger(async()=>{t.element instanceof n8&&this.showHover(t.element)})}catch(e){if(!(0,eB.n2)(e))throw e}})),this._register(this._tree.onMouseOut(t=>{var i;ew.jg(t.browserEvent.relatedTarget,null===(i=t.element)||void 0===i?void 0:i.element)||e.cancel()}))}_registerSeparatorActionShowingListeners(){this._register(this._tree.onDidChangeFocus(e=>{let t=e.elements[0]?this._tree.getParentElement(e.elements[0]):null;for(let e of this._separatorRenderer.visibleSeparators){let i=e===t,n=!!(e.focusInsideSeparator&y.ACTIVE_ITEM);n!==i&&(i?e.focusInsideSeparator|=y.ACTIVE_ITEM:e.focusInsideSeparator&=~y.ACTIVE_ITEM,this._tree.rerender(e))}})),this._register(this._tree.onMouseOver(e=>{let t=e.element?this._tree.getParentElement(e.element):null;for(let e of this._separatorRenderer.visibleSeparators){if(e!==t)continue;let i=!!(e.focusInsideSeparator&y.MOUSE_HOVER);i||(e.focusInsideSeparator|=y.MOUSE_HOVER,this._tree.rerender(e))}})),this._register(this._tree.onMouseOut(e=>{let t=e.element?this._tree.getParentElement(e.element):null;for(let e of this._separatorRenderer.visibleSeparators){if(e!==t)continue;let i=!!(e.focusInsideSeparator&y.MOUSE_HOVER);i&&(e.focusInsideSeparator&=~y.MOUSE_HOVER,this._tree.rerender(e))}}))}_registerSelectionChangeListener(){this._register(this._tree.onDidChangeSelection(e=>{let t=e.elements.filter(e=>e instanceof n8);t.length!==e.elements.length&&(1===e.elements.length&&e.elements[0]instanceof se&&(this._tree.setFocus([e.elements[0].children[0]]),this._tree.reveal(e.elements[0],0)),this._tree.setSelection(t))}))}getAllVisibleChecked(){return this._allVisibleChecked(this._itemElements,!1)}getCheckedCount(){return this._itemElements.filter(e=>e.checked).length}getVisibleCount(){return this._itemElements.filter(e=>!e.hidden).length}setAllVisibleChecked(e){try{this._shouldFireCheckedEvents=!1,this._itemElements.forEach(t=>{t.hidden||t.checkboxDisabled||(t.checked=e)})}finally{this._shouldFireCheckedEvents=!0,this._fireCheckedEvents()}}setElements(e){let t;this._elementDisposable.clear(),this._inputElements=e;let i=this.parent.classList.contains("show-checkboxes");this._itemElements=[],this._elementTree=e.reduce((n,s,o)=>{let r;if("separator"===s.type){if(!s.buttons)return n;r=t=new se(o,e=>this.fireSeparatorButtonTriggered(e),s)}else{let l;let a=o>0?e[o-1]:void 0;a&&"separator"===a.type&&!a.buttons&&(t=void 0,l=a);let d=new n8(o,i,e=>this.fireButtonTriggered(e),this._elementChecked,s,l);if(this._itemElements.push(d),t)return t.children.push(d),n;r=d}return n.push(r),n},[]);let n=[],s=0;for(let e of this._elementTree)e instanceof se?(n.push({element:e,collapsible:!1,collapsed:!1,children:e.children.map(e=>({element:e,collapsible:!1,collapsed:!1}))}),s+=e.children.length+1):(n.push({element:e,collapsible:!1,collapsed:!1}),s++);this._tree.setChildren(null,n),this._onChangedVisibleCount.fire(s),this.accessibilityService.isScreenReaderOptimized()&&setTimeout(()=>{let e=this._tree.getHTMLElement().querySelector(".monaco-list-row.focused"),t=null==e?void 0:e.parentNode;if(e&&t){let i=e.nextSibling;t.removeChild(e),t.insertBefore(e,i)}},0)}setFocusedElements(e){let t=e.map(e=>this._itemElements.find(t=>t.item===e)).filter(e=>!!e);if(this._tree.setFocus(t),e.length>0){let e=this._tree.getFocus()[0];e&&this._tree.reveal(e)}}getActiveDescendant(){return this._tree.getHTMLElement().getAttribute("aria-activedescendant")}setSelectedElements(e){let t=e.map(e=>this._itemElements.find(t=>t.item===e)).filter(e=>!!e);this._tree.setSelection(t)}getCheckedElements(){return this._itemElements.filter(e=>e.checked).map(e=>e.item)}setCheckedElements(e){try{this._shouldFireCheckedEvents=!1;let t=new Set;for(let i of e)t.add(i);for(let e of this._itemElements)e.checked=t.has(e.item)}finally{this._shouldFireCheckedEvents=!0,this._fireCheckedEvents()}}focus(e){var t;if(this._itemElements.length)switch(e===np.vn.Second&&this._itemElements.length<2&&(e=np.vn.First),e){case np.vn.First:this._tree.scrollTop=0,this._tree.focusFirst(void 0,e=>e.element instanceof n8);break;case np.vn.Second:this._tree.scrollTop=0,this._tree.setFocus([this._itemElements[1]]);break;case np.vn.Last:this._tree.scrollTop=this._tree.scrollHeight,this._tree.setFocus([this._itemElements[this._itemElements.length-1]]);break;case np.vn.Next:{let e=this._tree.getFocus();this._tree.focusNext(void 0,this._shouldLoop,void 0,e=>e.element instanceof n8&&(this._tree.reveal(e.element),!0));let t=this._tree.getFocus();e.length&&e[0]===t[0]&&e[0]===this._itemElements[this._itemElements.length-1]&&this._onLeave.fire();break}case np.vn.Previous:{let e=this._tree.getFocus();this._tree.focusPrevious(void 0,this._shouldLoop,void 0,e=>{if(!(e.element instanceof n8))return!1;let t=this._tree.getParentElement(e.element);return null===t||t.children[0]!==e.element?this._tree.reveal(e.element):this._tree.reveal(t),!0});let t=this._tree.getFocus();e.length&&e[0]===t[0]&&e[0]===this._itemElements[0]&&this._onLeave.fire();break}case np.vn.NextPage:this._tree.focusNextPage(void 0,e=>e.element instanceof n8&&(this._tree.reveal(e.element),!0));break;case np.vn.PreviousPage:this._tree.focusPreviousPage(void 0,e=>{if(!(e.element instanceof n8))return!1;let t=this._tree.getParentElement(e.element);return null===t||t.children[0]!==e.element?this._tree.reveal(e.element):this._tree.reveal(t),!0});break;case np.vn.NextSeparator:{let e=!1,t=this._tree.getFocus()[0];this._tree.focusNext(void 0,!0,void 0,t=>{if(e)return!0;if(t.element instanceof se)e=!0,this._separatorRenderer.isSeparatorVisible(t.element)?this._tree.reveal(t.element.children[0]):this._tree.reveal(t.element,0);else if(t.element instanceof n8){if(t.element.separator)return this._itemRenderer.isItemWithSeparatorVisible(t.element)?this._tree.reveal(t.element):this._tree.reveal(t.element,0),!0;if(t.element===this._elementTree[0])return this._tree.reveal(t.element,0),!0}return!1});let i=this._tree.getFocus()[0];t===i&&(this._tree.scrollTop=this._tree.scrollHeight,this._tree.setFocus([this._itemElements[this._itemElements.length-1]]));break}case np.vn.PreviousSeparator:{let e;let i=!!(null===(t=this._tree.getFocus()[0])||void 0===t?void 0:t.separator);this._tree.focusPrevious(void 0,!0,void 0,t=>{if(t.element instanceof se)i?e||(this._separatorRenderer.isSeparatorVisible(t.element)?this._tree.reveal(t.element):this._tree.reveal(t.element,0),e=t.element.children[0]):i=!0;else if(t.element instanceof n8&&!e){if(t.element.separator)this._itemRenderer.isItemWithSeparatorVisible(t.element)?this._tree.reveal(t.element):this._tree.reveal(t.element,0),e=t.element;else if(t.element===this._elementTree[0])return this._tree.reveal(t.element,0),!0}return!1}),e&&this._tree.setFocus([e])}}}clearFocus(){this._tree.setFocus([])}domFocus(){this._tree.domFocus()}layout(e){this._tree.getHTMLElement().style.maxHeight=e?`${44*Math.floor(e/44)+6}px`:"",this._tree.layout()}filter(e){let t;if(!(this._sortByLabel||this._matchOnLabel||this._matchOnDescription||this._matchOnDetail))return this._tree.layout(),!1;let i=e;if((e=e.trim())&&(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail)){let t;this._elementTree.forEach(n=>{var s,o,r,l;let a;a="fuzzy"===this.matchOnLabelMode?this.matchOnLabel&&null!==(s=(0,iH.Gt)(e,(0,iH.Ho)(n.saneLabel)))&&void 0!==s?s:void 0:this.matchOnLabel&&null!==(o=function(e,t){let{text:i,iconOffsets:n}=t;if(!n||0===n.length)return sl(e,i);let s=(0,M.j3)(i," "),o=i.length-s.length,r=sl(e,s);if(r)for(let e of r){let t=n[e.start+o]+o;e.start+=t,e.end+=t}return r}(i,(0,iH.Ho)(n.saneLabel)))&&void 0!==o?o:void 0;let d=this.matchOnDescription&&null!==(r=(0,iH.Gt)(e,(0,iH.Ho)(n.saneDescription||"")))&&void 0!==r?r:void 0,h=this.matchOnDetail&&null!==(l=(0,iH.Gt)(e,(0,iH.Ho)(n.saneDetail||"")))&&void 0!==l?l:void 0;if(a||d||h?(n.labelHighlights=a,n.descriptionHighlights=d,n.detailHighlights=h,n.hidden=!1):(n.labelHighlights=void 0,n.descriptionHighlights=void 0,n.detailHighlights=void 0,n.hidden=!n.item||!n.item.alwaysShow),n.item?n.separator=void 0:n.separator&&(n.hidden=!0),!this.sortByLabel){let e=n.index&&this._inputElements[n.index-1];(t=e&&"separator"===e.type?e:t)&&!n.hidden&&(n.separator=t,t=void 0)}})}else this._itemElements.forEach(e=>{e.labelHighlights=void 0,e.descriptionHighlights=void 0,e.detailHighlights=void 0,e.hidden=!1;let t=e.index&&this._inputElements[e.index-1];e.item&&(e.separator=t&&"separator"===t.type&&!t.buttons?t:void 0)});let n=this._elementTree.filter(e=>!e.hidden);if(this.sortByLabel&&e){let t=e.toLowerCase();n.sort((e,i)=>(function(e,t,i){let n=e.labelHighlights||[],s=t.labelHighlights||[];return n.length&&!s.length?-1:!n.length&&s.length?1:0===n.length&&0===s.length?0:function(e,t,i){let n=e.toLowerCase(),s=t.toLowerCase(),o=function(e,t,i){let n=e.toLowerCase(),s=t.toLowerCase(),o=n.startsWith(i),r=s.startsWith(i);if(o!==r)return o?-1:1;if(o&&r){if(n.lengths.length)return 1}return 0}(e,t,i);if(o)return o;let r=n.endsWith(i),l=s.endsWith(i);if(r!==l)return r?-1:1;let a=function(e,t,i=!1){let n=e||"",s=t||"",o=n5.value.collator.compare(n,s);return n5.value.collatorIsNumeric&&0===o&&n!==s?n(i instanceof n8?t?t.children.push(i):e.push(i):i instanceof se&&(i.children=[],t=i,e.push(i)),e),[]),o=[];for(let e of s)e instanceof se?o.push({element:e,collapsible:!1,collapsed:!1,children:e.children.map(e=>({element:e,collapsible:!1,collapsed:!1}))}):o.push({element:e,collapsible:!1,collapsed:!1});return this._tree.setChildren(null,o),this._tree.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(n.length),!0}toggleCheckbox(){try{this._shouldFireCheckedEvents=!1;let e=this._tree.getFocus().filter(e=>e instanceof n8),t=this._allVisibleChecked(e);for(let i of e)i.checkboxDisabled||(i.checked=!t)}finally{this._shouldFireCheckedEvents=!0,this._fireCheckedEvents()}}display(e){this._container.style.display=e?"":"none"}isDisplayed(){return"none"!==this._container.style.display}style(e){this._tree.style(e)}toggleHover(){let e=this._tree.getFocus()[0];if(!(null==e?void 0:e.saneTooltip)||!(e instanceof n8))return;if(this._lastHover&&!this._lastHover.isDisposed){this._lastHover.dispose();return}this.showHover(e);let t=new T.SL;t.add(this._tree.onDidChangeFocus(e=>{e.elements[0]instanceof n8&&this.showHover(e.elements[0])})),this._lastHover&&t.add(this._lastHover),this._elementDisposable.add(t)}_allVisibleChecked(e,t=!0){for(let i=0,n=e.length;i{this.linkOpenerDelegate(e)},appearance:{showPointer:!0},container:this._container,position:{hoverPosition:1}},!1))}};function sl(e,t){let i=t.toLowerCase().indexOf(e.toLowerCase());return -1!==i?[{start:i,end:i+e.length}]:null}n3([nw.H],sr.prototype,"onDidChangeFocus",null),n3([nw.H],sr.prototype,"onDidChangeSelection",null),sr=n3([n6(4,eM.TG),n6(5,tc.F)],sr);var sa=i(39282);let sd={weight:200,when:ex.Ao.and(ex.Ao.equals(nT,"quickPick"),nI),metadata:{description:(0,eH.NC)("quickPick","Used while in the context of the quick pick. If you change one keybinding for this command, you should change all of the other keybindings (modifier variants) of this command as well.")}};function sh(e,t={}){var i;t7.W.registerCommandAndKeybindingRule({...sd,...e,secondary:function(e,t,i={}){return i.withAltMod&&t.push(512+e),i.withCtrlMod&&(t.push(su+e),i.withAltMod&&t.push(512+su+e)),i.withCmdMod&&tu.dz&&(t.push(2048+e),i.withCtrlMod&&t.push(2304+e),i.withAltMod&&(t.push(2560+e),i.withCtrlMod&&t.push(2816+e))),t}(e.primary,null!==(i=e.secondary)&&void 0!==i?i:[],t)})}let su=tu.dz?256:2048;function sc(e,t){return i=>{let n=i.get(np.eJ).currentQuickInput;return n?t&&n.quickNavigate?n.focus(t):n.focus(e):void 0}}sh({id:"quickInput.pageNext",primary:12,handler:sc(np.vn.NextPage)},{withAltMod:!0,withCtrlMod:!0,withCmdMod:!0}),sh({id:"quickInput.pagePrevious",primary:11,handler:sc(np.vn.PreviousPage)},{withAltMod:!0,withCtrlMod:!0,withCmdMod:!0}),sh({id:"quickInput.first",primary:su+14,handler:sc(np.vn.First)},{withAltMod:!0,withCmdMod:!0}),sh({id:"quickInput.last",primary:su+13,handler:sc(np.vn.Last)},{withAltMod:!0,withCmdMod:!0}),sh({id:"quickInput.next",primary:18,handler:sc(np.vn.Next)},{withCtrlMod:!0}),sh({id:"quickInput.previous",primary:16,handler:sc(np.vn.Previous)},{withCtrlMod:!0});let sg=(0,eH.NC)("quickInput.nextSeparatorWithQuickAccessFallback","If we're in quick access mode, this will navigate to the next item. If we are not in quick access mode, this will navigate to the next separator."),sp=(0,eH.NC)("quickInput.previousSeparatorWithQuickAccessFallback","If we're in quick access mode, this will navigate to the previous item. If we are not in quick access mode, this will navigate to the previous separator.");tu.dz?(sh({id:"quickInput.nextSeparatorWithQuickAccessFallback",primary:2066,handler:sc(np.vn.NextSeparator,np.vn.Next),metadata:{description:sg}}),sh({id:"quickInput.nextSeparator",primary:2578,secondary:[2322],handler:sc(np.vn.NextSeparator)},{withCtrlMod:!0}),sh({id:"quickInput.previousSeparatorWithQuickAccessFallback",primary:2064,handler:sc(np.vn.PreviousSeparator,np.vn.Previous),metadata:{description:sp}}),sh({id:"quickInput.previousSeparator",primary:2576,secondary:[2320],handler:sc(np.vn.PreviousSeparator)},{withCtrlMod:!0})):(sh({id:"quickInput.nextSeparatorWithQuickAccessFallback",primary:530,handler:sc(np.vn.NextSeparator,np.vn.Next),metadata:{description:sg}}),sh({id:"quickInput.nextSeparator",primary:2578,handler:sc(np.vn.NextSeparator)}),sh({id:"quickInput.previousSeparatorWithQuickAccessFallback",primary:528,handler:sc(np.vn.PreviousSeparator,np.vn.Previous),metadata:{description:sp}}),sh({id:"quickInput.previousSeparator",primary:2576,handler:sc(np.vn.PreviousSeparator)})),sh({id:"quickInput.acceptInBackground",when:ex.Ao.and(sd.when,ex.Ao.or(sa.Ul.negate(),nP)),primary:17,weight:250,handler:e=>{let t=e.get(np.eJ).currentQuickInput;null==t||t.accept(!0)}},{withAltMod:!0,withCtrlMod:!0,withCmdMod:!0});var sm=function(e,t){return function(i,n){t(i,n,e)}};let sf=ew.$,s_=S=class extends T.JT{get currentQuickInput(){var e;return null!==(e=this.controller)&&void 0!==e?e:void 0}get container(){return this._container}constructor(e,t,i,n){super(),this.options=e,this.layoutService=t,this.instantiationService=i,this.contextKeyService=n,this.enabled=!0,this.onDidAcceptEmitter=this._register(new eS.Q5),this.onDidCustomEmitter=this._register(new eS.Q5),this.onDidTriggerButtonEmitter=this._register(new eS.Q5),this.keyMods={ctrlCmd:!1,alt:!1},this.controller=null,this.onShowEmitter=this._register(new eS.Q5),this.onShow=this.onShowEmitter.event,this.onHideEmitter=this._register(new eS.Q5),this.onHide=this.onHideEmitter.event,this.inQuickInputContext=nE.bindTo(this.contextKeyService),this.quickInputTypeContext=nM.bindTo(this.contextKeyService),this.endOfQuickInputBoxContext=nA.bindTo(this.contextKeyService),this.idPrefix=e.idPrefix,this._container=e.container,this.styles=e.styles,this._register(eS.ju.runAndSubscribe(ew.Xo,({window:e,disposables:t})=>this.registerKeyModsListeners(e,t),{window:I.E,disposables:this._store})),this._register(ew.Jc(e=>{this.ui&&ew.Jj(this.ui.container)===e&&(this.reparentUI(this.layoutService.mainContainer),this.layout(this.layoutService.mainContainerDimension,this.layoutService.mainContainerOffset.quickPickTop))}))}registerKeyModsListeners(e,t){let i=e=>{this.keyMods.ctrlCmd=e.ctrlKey||e.metaKey,this.keyMods.alt=e.altKey};for(let n of[ew.tw.KEY_DOWN,ew.tw.KEY_UP,ew.tw.MOUSE_DOWN])t.add(ew.nm(e,n,i,!0))}getUI(e){if(this.ui)return e&&ew.Jj(this._container)!==ew.Jj(this.layoutService.activeContainer)&&(this.reparentUI(this.layoutService.activeContainer),this.layout(this.layoutService.activeContainerDimension,this.layoutService.activeContainerOffset.quickPickTop)),this.ui;let t=ew.R3(this._container,sf(".quick-input-widget.show-file-icons"));t.tabIndex=-1,t.style.display="none";let i=ew.dS(t),n=ew.R3(t,sf(".quick-input-titlebar")),s=this._register(new iA.o(n,{hoverDelegate:this.options.hoverDelegate}));s.domNode.classList.add("quick-input-left-action-bar");let o=ew.R3(n,sf(".quick-input-title")),r=this._register(new iA.o(n,{hoverDelegate:this.options.hoverDelegate}));r.domNode.classList.add("quick-input-right-action-bar");let l=ew.R3(t,sf(".quick-input-header")),a=ew.R3(l,sf("input.quick-input-check-all"));a.type="checkbox",a.setAttribute("aria-label",(0,eH.NC)("quickInput.checkAll","Toggle all checkboxes")),this._register(ew.mu(a,ew.tw.CHANGE,e=>{let t=a.checked;D.setAllVisibleChecked(t)})),this._register(ew.nm(a,ew.tw.CLICK,e=>{(e.x||e.y)&&c.setFocus()}));let d=ew.R3(l,sf(".quick-input-description")),h=ew.R3(l,sf(".quick-input-and-message")),u=ew.R3(h,sf(".quick-input-filter")),c=this._register(new nY(u,this.styles.inputBox,this.styles.toggle));c.setAttribute("aria-describedby",`${this.idPrefix}message`);let g=ew.R3(u,sf(".quick-input-visible-count"));g.setAttribute("aria-live","polite"),g.setAttribute("aria-atomic","true");let p=new nz.Z(g,{countFormat:(0,eH.NC)({key:"quickInput.visibleCount",comment:["This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers."]},"{0} Results")},this.styles.countBadge),m=ew.R3(u,sf(".quick-input-count"));m.setAttribute("aria-live","polite");let f=new nz.Z(m,{countFormat:(0,eH.NC)({key:"quickInput.countSelected",comment:["This tells the user how many items are selected in a list of items to select from. The items can be anything."]},"{0} Selected")},this.styles.countBadge),_=ew.R3(l,sf(".quick-input-action")),v=this._register(new nV.z(_,this.styles.button));v.label=(0,eH.NC)("ok","OK"),this._register(v.onDidClick(e=>{this.onDidAcceptEmitter.fire()}));let b=ew.R3(l,sf(".quick-input-action")),C=this._register(new nV.z(b,{...this.styles.button,supportIcons:!0}));C.label=(0,eH.NC)("custom","Custom"),this._register(C.onDidClick(e=>{this.onDidCustomEmitter.fire()}));let w=ew.R3(h,sf(`#${this.idPrefix}message.quick-input-message`)),y=this._register(new nG(t,this.styles.progressBar));y.getContainer().classList.add("quick-input-progress");let S=ew.R3(t,sf(".quick-input-html-widget"));S.tabIndex=-1;let L=ew.R3(t,sf(".quick-input-description")),k=this.idPrefix+"list",D=this._register(this.instantiationService.createInstance(sr,t,this.options.hoverDelegate,this.options.linkOpenerDelegate,k));c.setAttribute("aria-controls",k),this._register(D.onDidChangeFocus(()=>{var e;c.setAttribute("aria-activedescendant",null!==(e=D.getActiveDescendant())&&void 0!==e?e:"")})),this._register(D.onChangedAllVisibleChecked(e=>{a.checked=e})),this._register(D.onChangedVisibleCount(e=>{p.setCount(e)})),this._register(D.onChangedCheckedCount(e=>{f.setCount(e)})),this._register(D.onLeave(()=>{setTimeout(()=>{this.controller&&(c.setFocus(),this.controller instanceof nB&&this.controller.canSelectMany&&D.clearFocus())},0)}));let x=ew.go(t);return this._register(x),this._register(ew.nm(t,ew.tw.FOCUS,e=>{let t=this.getUI();if(ew.jg(e.relatedTarget,t.inputContainer)){let e=t.inputBox.isSelectionAtEnd();this.endOfQuickInputBoxContext.get()!==e&&this.endOfQuickInputBoxContext.set(e)}ew.jg(e.relatedTarget,t.container)||(this.inQuickInputContext.set(!0),this.previousFocusElement=ew.Re(e.relatedTarget)?e.relatedTarget:void 0)},!0)),this._register(x.onDidBlur(()=>{this.getUI().ignoreFocusOut||this.options.ignoreFocusOut()||this.hide(np.Jq.Blur),this.inQuickInputContext.set(!1),this.endOfQuickInputBoxContext.set(!1),this.previousFocusElement=void 0})),this._register(c.onKeyDown(e=>{let t=this.getUI().inputBox.isSelectionAtEnd();this.endOfQuickInputBoxContext.get()!==t&&this.endOfQuickInputBoxContext.set(t)})),this._register(ew.nm(t,ew.tw.FOCUS,e=>{c.setFocus()})),this._register(ew.mu(t,ew.tw.KEY_DOWN,e=>{if(!ew.jg(e.target,S))switch(e.keyCode){case 3:ew.zB.stop(e,!0),this.enabled&&this.onDidAcceptEmitter.fire();break;case 9:ew.zB.stop(e,!0),this.hide(np.Jq.Gesture);break;case 2:if(!e.altKey&&!e.ctrlKey&&!e.metaKey){let i=[".quick-input-list .monaco-action-bar .always-visible",".quick-input-list-entry:hover .monaco-action-bar",".monaco-list-row.focused .monaco-action-bar"];if(t.classList.contains("show-checkboxes")?i.push("input"):i.push("input[type=text]"),this.getUI().list.isDisplayed()&&i.push(".monaco-list"),this.getUI().message&&i.push(".quick-input-message a"),this.getUI().widget){if(ew.jg(e.target,this.getUI().widget))break;i.push(".quick-input-html-widget")}let n=t.querySelectorAll(i.join(", "));e.shiftKey&&e.target===n[0]?(ew.zB.stop(e,!0),D.clearFocus()):!e.shiftKey&&ew.jg(e.target,n[n.length-1])&&(ew.zB.stop(e,!0),n[0].focus())}break;case 10:e.ctrlKey&&(ew.zB.stop(e,!0),this.getUI().list.toggleHover())}})),this.ui={container:t,styleSheet:i,leftActionBar:s,titleBar:n,title:o,description1:L,description2:d,widget:S,rightActionBar:r,checkAll:a,inputContainer:h,filterContainer:u,inputBox:c,visibleCountContainer:g,visibleCount:p,countContainer:m,count:f,okContainer:_,ok:v,message:w,customButtonContainer:b,customButton:C,list:D,progressBar:y,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,show:e=>this.show(e),hide:()=>this.hide(),setVisibilities:e=>this.setVisibilities(e),setEnabled:e=>this.setEnabled(e),setContextKey:e=>this.options.setContextKey(e),linkOpenerDelegate:e=>this.options.linkOpenerDelegate(e)},this.updateStyles(),this.ui}reparentUI(e){this.ui&&(this._container=e,ew.R3(this._container,this.ui.container))}pick(e,t={},i=tD.Ts.None){return new Promise((n,s)=>{let o,r=e=>{var i;r=n,null===(i=t.onKeyMods)||void 0===i||i.call(t,l.keyMods),n(e)};if(i.isCancellationRequested){r(void 0);return}let l=this.createQuickPick(),a=[l,l.onDidAccept(()=>{if(l.canSelectMany)r(l.selectedItems.slice()),l.hide();else{let e=l.activeItems[0];e&&(r(e),l.hide())}}),l.onDidChangeActive(e=>{let i=e[0];i&&t.onDidFocus&&t.onDidFocus(i)}),l.onDidChangeSelection(e=>{if(!l.canSelectMany){let t=e[0];t&&(r(t),l.hide())}}),l.onDidTriggerItemButton(e=>t.onDidTriggerItemButton&&t.onDidTriggerItemButton({...e,removeItem:()=>{let t=l.items.indexOf(e.item);if(-1!==t){let e=l.items.slice(),i=e.splice(t,1),n=l.activeItems.filter(e=>e!==i[0]),s=l.keepScrollPosition;l.keepScrollPosition=!0,l.items=e,n&&(l.activeItems=n),l.keepScrollPosition=s}}})),l.onDidTriggerSeparatorButton(e=>{var i;return null===(i=t.onDidTriggerSeparatorButton)||void 0===i?void 0:i.call(t,e)}),l.onDidChangeValue(e=>{o&&!e&&(1!==l.activeItems.length||l.activeItems[0]!==o)&&(l.activeItems=[o])}),i.onCancellationRequested(()=>{l.hide()}),l.onDidHide(()=>{(0,T.B9)(a),r(void 0)})];l.title=t.title,l.canSelectMany=!!t.canPickMany,l.placeholder=t.placeHolder,l.ignoreFocusOut=!!t.ignoreFocusLost,l.matchOnDescription=!!t.matchOnDescription,l.matchOnDetail=!!t.matchOnDetail,l.matchOnLabel=void 0===t.matchOnLabel||t.matchOnLabel,l.quickNavigate=t.quickNavigate,l.hideInput=!!t.hideInput,l.contextKey=t.contextKey,l.busy=!0,Promise.all([e,t.activeItem]).then(([e,t])=>{o=t,l.busy=!1,l.items=e,l.canSelectMany&&(l.selectedItems=e.filter(e=>"separator"!==e.type&&e.picked)),o&&(l.activeItems=[o])}),l.show(),Promise.resolve(e).then(void 0,e=>{s(e),l.hide()})})}createQuickPick(){let e=this.getUI(!0);return new nB(e)}createInputBox(){let e=this.getUI(!0);return new nW(e)}show(e){let t=this.getUI(!0);this.onShowEmitter.fire();let i=this.controller;this.controller=e,null==i||i.didHide(),this.setEnabled(!0),t.leftActionBar.clear(),t.title.textContent="",t.description1.textContent="",t.description2.textContent="",ew.mc(t.widget),t.rightActionBar.clear(),t.checkAll.checked=!1,t.inputBox.placeholder="",t.inputBox.password=!1,t.inputBox.showDecoration(eW.Z.Ignore),t.visibleCount.setCount(0),t.count.setCount(0),ew.mc(t.message),t.progressBar.stop(),t.list.setElements([]),t.list.matchOnDescription=!1,t.list.matchOnDetail=!1,t.list.matchOnLabel=!0,t.list.sortByLabel=!0,t.ignoreFocusOut=!1,t.inputBox.toggles=void 0;let n=this.options.backKeybindingLabel();nO.tooltip=n?(0,eH.NC)("quickInput.backWithKeybinding","Back ({0})",n):(0,eH.NC)("quickInput.back","Back"),t.container.style.display="",this.updateLayout(),t.inputBox.setFocus(),this.quickInputTypeContext.set(e.type)}isVisible(){return!!this.ui&&"none"!==this.ui.container.style.display}setVisibilities(e){let t=this.getUI();t.title.style.display=e.title?"":"none",t.description1.style.display=e.description&&(e.inputBox||e.checkAll)?"":"none",t.description2.style.display=e.description&&!(e.inputBox||e.checkAll)?"":"none",t.checkAll.style.display=e.checkAll?"":"none",t.inputContainer.style.display=e.inputBox?"":"none",t.filterContainer.style.display=e.inputBox?"":"none",t.visibleCountContainer.style.display=e.visibleCount?"":"none",t.countContainer.style.display=e.count?"":"none",t.okContainer.style.display=e.ok?"":"none",t.customButtonContainer.style.display=e.customButton?"":"none",t.message.style.display=e.message?"":"none",t.progressBar.getContainer().style.display=e.progressBar?"":"none",t.list.display(!!e.list),t.container.classList.toggle("show-checkboxes",!!e.checkBox),t.container.classList.toggle("hidden-input",!e.inputBox&&!e.description),this.updateLayout()}setEnabled(e){if(e!==this.enabled){for(let t of(this.enabled=e,this.getUI().leftActionBar.viewItems))t.action.enabled=e;for(let t of this.getUI().rightActionBar.viewItems)t.action.enabled=e;this.getUI().checkAll.disabled=!e,this.getUI().inputBox.enabled=e,this.getUI().ok.enabled=e,this.getUI().list.enabled=e}}hide(e){var t,i;let n=this.controller;if(!n)return;n.willHide(e);let s=null===(t=this.ui)||void 0===t?void 0:t.container,o=s&&!ew.b5(s);if(this.controller=null,this.onHideEmitter.fire(),s&&(s.style.display="none"),!o){let e=this.previousFocusElement;for(;e&&!e.offsetParent;)e=null!==(i=e.parentElement)&&void 0!==i?i:void 0;(null==e?void 0:e.offsetParent)?(e.focus(),this.previousFocusElement=void 0):this.options.returnFocus()}n.didHide(e)}layout(e,t){this.dimension=e,this.titleBarOffset=t,this.updateLayout()}updateLayout(){if(this.ui&&this.isVisible()){this.ui.container.style.top=`${this.titleBarOffset}px`;let e=this.ui.container.style,t=Math.min(.62*this.dimension.width,S.MAX_WIDTH);e.width=t+"px",e.marginLeft="-"+t/2+"px",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&.4*this.dimension.height)}}applyStyles(e){this.styles=e,this.updateStyles()}updateStyles(){if(this.ui){let{quickInputTitleBackground:e,quickInputBackground:t,quickInputForeground:i,widgetBorder:n,widgetShadow:s}=this.styles.widget;this.ui.titleBar.style.backgroundColor=null!=e?e:"",this.ui.container.style.backgroundColor=null!=t?t:"",this.ui.container.style.color=null!=i?i:"",this.ui.container.style.border=n?`1px solid ${n}`:"",this.ui.container.style.boxShadow=s?`0 0 8px 2px ${s}`:"",this.ui.list.style(this.styles.list);let o=[];this.styles.pickerGroup.pickerGroupBorder&&o.push(`.quick-input-list .quick-input-list-entry { border-top-color: ${this.styles.pickerGroup.pickerGroupBorder}; }`),this.styles.pickerGroup.pickerGroupForeground&&o.push(`.quick-input-list .quick-input-list-separator { color: ${this.styles.pickerGroup.pickerGroupForeground}; }`),this.styles.pickerGroup.pickerGroupForeground&&o.push(".quick-input-list .quick-input-list-separator-as-item { color: var(--vscode-descriptionForeground); }"),(this.styles.keybindingLabel.keybindingLabelBackground||this.styles.keybindingLabel.keybindingLabelBorder||this.styles.keybindingLabel.keybindingLabelBottomBorder||this.styles.keybindingLabel.keybindingLabelShadow||this.styles.keybindingLabel.keybindingLabelForeground)&&(o.push(".quick-input-list .monaco-keybinding > .monaco-keybinding-key {"),this.styles.keybindingLabel.keybindingLabelBackground&&o.push(`background-color: ${this.styles.keybindingLabel.keybindingLabelBackground};`),this.styles.keybindingLabel.keybindingLabelBorder&&o.push(`border-color: ${this.styles.keybindingLabel.keybindingLabelBorder};`),this.styles.keybindingLabel.keybindingLabelBottomBorder&&o.push(`border-bottom-color: ${this.styles.keybindingLabel.keybindingLabelBottomBorder};`),this.styles.keybindingLabel.keybindingLabelShadow&&o.push(`box-shadow: inset 0 -1px 0 ${this.styles.keybindingLabel.keybindingLabelShadow};`),this.styles.keybindingLabel.keybindingLabelForeground&&o.push(`color: ${this.styles.keybindingLabel.keybindingLabelForeground};`),o.push("}"));let r=o.join("\n");r!==this.ui.styleSheet.textContent&&(this.ui.styleSheet.textContent=r)}}};s_.MAX_WIDTH=600,s_=S=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([sm(1,eR),sm(2,eM.TG),sm(3,ex.i6)],s_);var sv=function(e,t){return function(i,n){t(i,n,e)}};let sb=class extends ek.bB{get controller(){return this._controller||(this._controller=this._register(this.createController())),this._controller}get hasController(){return!!this._controller}get currentQuickInput(){return this.controller.currentQuickInput}get quickAccess(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(nf))),this._quickAccess}constructor(e,t,i,n,s){super(i),this.instantiationService=e,this.contextKeyService=t,this.layoutService=n,this.configurationService=s,this._onShow=this._register(new eS.Q5),this._onHide=this._register(new eS.Q5),this.contexts=new Map}createController(e=this.layoutService,t){let i={idPrefix:"quickInput_",container:e.activeContainer,ignoreFocusOut:()=>!1,backKeybindingLabel:()=>void 0,setContextKey:e=>this.setContextKey(e),linkOpenerDelegate:e=>{this.instantiationService.invokeFunction(t=>{let i=t.get(ta.v);i.open(e,{allowCommands:!0,fromUserGesture:!0})})},returnFocus:()=>e.focus(),styles:this.computeStyles(),hoverDelegate:this._register(this.instantiationService.createInstance(nH))},n=this._register(this.instantiationService.createInstance(s_,{...i,...t}));return n.layout(e.activeContainerDimension,e.activeContainerOffset.quickPickTop),this._register(e.onDidLayoutActiveContainer(t=>{(0,ew.Jj)(e.activeContainer)===(0,ew.Jj)(n.container)&&n.layout(t,e.activeContainerOffset.quickPickTop)})),this._register(e.onDidChangeActiveContainer(()=>{n.isVisible()||n.layout(e.activeContainerDimension,e.activeContainerOffset.quickPickTop)})),this._register(n.onShow(()=>{this.resetContextKeys(),this._onShow.fire()})),this._register(n.onHide(()=>{this.resetContextKeys(),this._onHide.fire()})),n}setContextKey(e){let t;!e||(t=this.contexts.get(e))||(t=new ex.uy(e,!1).bindTo(this.contextKeyService),this.contexts.set(e,t)),t&&t.get()||(this.resetContextKeys(),null==t||t.set(!0))}resetContextKeys(){this.contexts.forEach(e=>{e.get()&&e.reset()})}pick(e,t={},i=tD.Ts.None){return this.controller.pick(e,t,i)}createQuickPick(){return this.controller.createQuickPick()}createInputBox(){return this.controller.createInputBox()}updateStyles(){this.hasController&&this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:{quickInputBackground:(0,ti.n_1)(ti.zKr),quickInputForeground:(0,ti.n_1)(ti.tZ6),quickInputTitleBackground:(0,ti.n_1)(ti.loF),widgetBorder:(0,ti.n_1)(ti.A42),widgetShadow:(0,ti.n_1)(ti.rh)},inputBox:iG.Hc,toggle:iG.pl,countBadge:iG.ku,button:iG.wG,progressBar:iG.b5,keybindingLabel:iG.eO,list:(0,iG.TU)({listBackground:ti.zKr,listFocusBackground:ti.Vqd,listFocusForeground:ti.NPS,listInactiveFocusForeground:ti.NPS,listInactiveSelectionIconForeground:ti.cbQ,listInactiveFocusBackground:ti.Vqd,listFocusOutline:ti.xL1,listInactiveFocusOutline:ti.xL1}),pickerGroup:{pickerGroupBorder:(0,ti.n_1)(ti.opG),pickerGroupForeground:(0,ti.n_1)(ti.kJk)}}}};sb=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([sv(0,eM.TG),sv(1,ex.i6),sv(2,ek.XE),sv(3,eR),sv(4,el.Ui)],sb);var sC=i(88289),sw=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},sy=function(e,t){return function(i,n){t(i,n,e)}};let sS=class extends sb{constructor(e,t,i,n,s,o){super(t,i,n,new eF(e.getContainerDomNode(),s),o),this.host=void 0;let r=sk.get(e);if(r){let t=r.widget;this.host={_serviceBrand:void 0,get mainContainer(){return t.getDomNode()},getContainer:()=>t.getDomNode(),whenContainerStylesLoaded(){},get containers(){return[t.getDomNode()]},get activeContainer(){return t.getDomNode()},get mainContainerDimension(){return e.getLayoutInfo()},get activeContainerDimension(){return e.getLayoutInfo()},get onDidLayoutMainContainer(){return e.onDidLayoutChange},get onDidLayoutActiveContainer(){return e.onDidLayoutChange},get onDidLayoutContainer(){return eS.ju.map(e.onDidLayoutChange,e=>({container:t.getDomNode(),dimension:e}))},get onDidChangeActiveContainer(){return eS.ju.None},get onDidAddContainer(){return eS.ju.None},get mainContainerOffset(){return{top:0,quickPickTop:0}},get activeContainerOffset(){return{top:0,quickPickTop:0}},focus:()=>e.focus()}}else this.host=void 0}createController(){return super.createController(this.host)}};sS=sw([sy(1,eM.TG),sy(2,ex.i6),sy(3,ek.XE),sy(4,O.$),sy(5,el.Ui)],sS);let sL=class{get activeService(){let e=this.codeEditorService.getFocusedCodeEditor();if(!e)throw Error("Quick input service needs a focused editor to work.");let t=this.mapEditorToService.get(e);if(!t){let i=t=this.instantiationService.createInstance(sS,e);this.mapEditorToService.set(e,t),(0,sC.M)(e.onDidDispose)(()=>{i.dispose(),this.mapEditorToService.delete(e)})}return t}get currentQuickInput(){return this.activeService.currentQuickInput}get quickAccess(){return this.activeService.quickAccess}constructor(e,t){this.instantiationService=e,this.codeEditorService=t,this.mapEditorToService=new Map}pick(e,t={},i=tD.Ts.None){return this.activeService.pick(e,t,i)}createQuickPick(){return this.activeService.createQuickPick()}createInputBox(){return this.activeService.createInputBox()}};sL=sw([sy(0,eM.TG),sy(1,O.$)],sL);class sk{static get(e){return e.getContribution(sk.ID)}constructor(e){this.editor=e,this.widget=new sD(this.editor)}dispose(){this.widget.dispose()}}sk.ID="editor.controller.quickInput";class sD{constructor(e){this.codeEditor=e,this.domNode=document.createElement("div"),this.codeEditor.addOverlayWidget(this)}getId(){return sD.ID}getDomNode(){return this.domNode}getPosition(){return{preference:2}}dispose(){this.codeEditor.removeOverlayWidget(this)}}sD.ID="editor.contrib.quickInputWidget",(0,P._K)(sk.ID,sk,4);var sx=i(88542),sN=i(44156),sE=function(e,t){return function(i,n){t(i,n,e)}};let sI=class extends T.JT{constructor(e,t,i){super(),this._contextKeyService=e,this._layoutService=t,this._configurationService=i,this._accessibilitySupport=0,this._onDidChangeScreenReaderOptimized=new eS.Q5,this._onDidChangeReducedMotion=new eS.Q5,this._accessibilityModeEnabledContext=tc.U.bindTo(this._contextKeyService);let n=()=>this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration("editor.accessibilitySupport")&&(n(),this._onDidChangeScreenReaderOptimized.fire()),e.affectsConfiguration("workbench.reduceMotion")&&(this._configMotionReduced=this._configurationService.getValue("workbench.reduceMotion"),this._onDidChangeReducedMotion.fire())})),n(),this._register(this.onDidChangeScreenReaderOptimized(()=>n()));let s=I.E.matchMedia("(prefers-reduced-motion: reduce)");this._systemMotionReduced=s.matches,this._configMotionReduced=this._configurationService.getValue("workbench.reduceMotion"),this.initReducedMotionListeners(s)}initReducedMotionListeners(e){this._register((0,ew.nm)(e,"change",()=>{this._systemMotionReduced=e.matches,"auto"===this._configMotionReduced&&this._onDidChangeReducedMotion.fire()}));let t=()=>{let e=this.isMotionReduced();this._layoutService.mainContainer.classList.toggle("reduce-motion",e),this._layoutService.mainContainer.classList.toggle("enable-motion",!e)};t(),this._register(this.onDidChangeReducedMotion(()=>t()))}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){let e=this._configurationService.getValue("editor.accessibilitySupport");return"on"===e||"auto"===e&&2===this._accessibilitySupport}get onDidChangeReducedMotion(){return this._onDidChangeReducedMotion.event}isMotionReduced(){let e=this._configMotionReduced;return"on"===e||"auto"===e&&this._systemMotionReduced}getAccessibilitySupport(){return this._accessibilitySupport}};sI=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([sE(0,ex.i6),sE(1,eR),sE(2,el.Ui)],sI);var sT=i(84363),sM=function(e,t){return function(i,n){t(i,n,e)}};let sR=L=class extends T.JT{constructor(e,t){super(),this.layoutService=e,this.logService=t,this.mapTextToType=new Map,this.findText="",this.resources=[],this.resourcesStateHash=void 0,(iM.G6||iM.MG)&&this.installWebKitWriteTextWorkaround(),this._register(eS.ju.runAndSubscribe(ew.Xo,({window:e,disposables:t})=>{t.add((0,ew.nm)(e.document,"copy",()=>this.clearResources()))},{window:I.E,disposables:this._store}))}installWebKitWriteTextWorkaround(){let e=()=>{let e=new tE.CR;this.webKitPendingClipboardWritePromise&&!this.webKitPendingClipboardWritePromise.isSettled&&this.webKitPendingClipboardWritePromise.cancel(),this.webKitPendingClipboardWritePromise=e,(0,ew.WN)().navigator.clipboard.write([new ClipboardItem({"text/plain":e.p})]).catch(async t=>{t instanceof Error&&"NotAllowedError"===t.name&&e.isRejected||this.logService.error(t)})};this._register(eS.ju.runAndSubscribe(this.layoutService.onDidAddContainer,({container:t,disposables:i})=>{i.add((0,ew.nm)(t,"click",e)),i.add((0,ew.nm)(t,"keydown",e))},{container:this.layoutService.mainContainer,disposables:this._store}))}async writeText(e,t){if(this.writeResources([]),t){this.mapTextToType.set(t,e);return}if(this.webKitPendingClipboardWritePromise)return this.webKitPendingClipboardWritePromise.complete(e);try{return await (0,ew.WN)().navigator.clipboard.writeText(e)}catch(e){console.error(e)}this.fallbackWriteText(e)}fallbackWriteText(e){let t=(0,ew.uP)(),i=t.activeElement,n=t.body.appendChild((0,ew.$)("textarea",{"aria-hidden":!0}));n.style.height="1px",n.style.width="1px",n.style.position="absolute",n.value=e,n.focus(),n.select(),t.execCommand("copy"),(0,ew.Re)(i)&&i.focus(),t.body.removeChild(n)}async readText(e){if(e)return this.mapTextToType.get(e)||"";try{return await (0,ew.WN)().navigator.clipboard.readText()}catch(e){console.error(e)}return""}async readFindText(){return this.findText}async writeFindText(e){this.findText=e}async writeResources(e){0===e.length?this.clearResources():(this.resources=e,this.resourcesStateHash=await this.computeResourcesStateHash())}async readResources(){let e=await this.computeResourcesStateHash();return this.resourcesStateHash!==e&&this.clearResources(),this.resources}async computeResourcesStateHash(){if(0===this.resources.length)return;let e=await this.readText();return(0,ns.vp)(e.substring(0,L.MAX_RESOURCE_STATE_SOURCE_LENGTH))}clearResources(){this.resources=[],this.resourcesStateHash=void 0}};sR.MAX_RESOURCE_STATE_SOURCE_LENGTH=1e3,sR=L=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([sM(0,eR),sM(1,e2.VZ)],sR);var sA=i(84972),sP=i(53725),sO=i(4767);let sF="data-keybinding-context";class sB{constructor(e,t){this._id=e,this._parent=t,this._value=Object.create(null),this._value._contextId=e}get value(){return{...this._value}}setValue(e,t){return this._value[e]!==t&&(this._value[e]=t,!0)}removeValue(e){return e in this._value&&(delete this._value[e],!0)}getValue(e){let t=this._value[e];return void 0===t&&this._parent?this._parent.getValue(e):t}}class sW extends sB{constructor(){super(-1,null)}setValue(e,t){return!1}removeValue(e){return!1}getValue(e){}}sW.INSTANCE=new sW;class sH extends sB{constructor(e,t,i){super(e,null),this._configurationService=t,this._values=sO.Id.forConfigKeys(),this._listener=this._configurationService.onDidChangeConfiguration(e=>{if(7===e.source){let e=Array.from(this._values,([e])=>e);this._values.clear(),i.fire(new sK(e))}else{let t=[];for(let i of e.affectedKeys){let e=`config.${i}`,n=this._values.findSuperstr(e);void 0!==n&&(t.push(...sP.$.map(n,([e])=>e)),this._values.deleteSuperstr(e)),this._values.has(e)&&(t.push(e),this._values.delete(e))}i.fire(new sK(t))}})}dispose(){this._listener.dispose()}getValue(e){let t;if(0!==e.indexOf(sH._keyPrefix))return super.getValue(e);if(this._values.has(e))return this._values.get(e);let i=e.substr(sH._keyPrefix.length),n=this._configurationService.getValue(i);switch(typeof n){case"number":case"boolean":case"string":t=n;break;default:t=Array.isArray(n)?JSON.stringify(n):n}return this._values.set(e,t),t}setValue(e,t){return super.setValue(e,t)}removeValue(e){return super.removeValue(e)}}sH._keyPrefix="config.";class sV{constructor(e,t,i){this._service=e,this._key=t,this._defaultValue=i,this.reset()}set(e){this._service.setContext(this._key,e)}reset(){void 0===this._defaultValue?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)}get(){return this._service.getContextKeyValue(this._key)}}class sz{constructor(e){this.key=e}affectsSome(e){return e.has(this.key)}allKeysContainedIn(e){return this.affectsSome(e)}}class sK{constructor(e){this.keys=e}affectsSome(e){for(let t of this.keys)if(e.has(t))return!0;return!1}allKeysContainedIn(e){return this.keys.every(t=>e.has(t))}}class sU{constructor(e){this.events=e}affectsSome(e){for(let t of this.events)if(t.affectsSome(e))return!0;return!1}allKeysContainedIn(e){return this.events.every(t=>t.allKeysContainedIn(e))}}class s$ extends T.JT{constructor(e){super(),this._onDidChangeContext=this._register(new eS.K3({merge:e=>new sU(e)})),this.onDidChangeContext=this._onDidChangeContext.event,this._isDisposed=!1,this._myContextId=e}createKey(e,t){if(this._isDisposed)throw Error("AbstractContextKeyService has been disposed");return new sV(this,e,t)}bufferChangeEvents(e){this._onDidChangeContext.pause();try{e()}finally{this._onDidChangeContext.resume()}}createScoped(e){if(this._isDisposed)throw Error("AbstractContextKeyService has been disposed");return new sj(this,e)}contextMatchesRules(e){if(this._isDisposed)throw Error("AbstractContextKeyService has been disposed");let t=this.getContextValuesContainer(this._myContextId),i=!e||e.evaluate(t);return i}getContextKeyValue(e){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(e)}setContext(e,t){if(this._isDisposed)return;let i=this.getContextValuesContainer(this._myContextId);i&&i.setValue(e,t)&&this._onDidChangeContext.fire(new sz(e))}removeContext(e){!this._isDisposed&&this.getContextValuesContainer(this._myContextId).removeValue(e)&&this._onDidChangeContext.fire(new sz(e))}getContext(e){return this._isDisposed?sW.INSTANCE:this.getContextValuesContainer(function(e){for(;e;){if(e.hasAttribute(sF)){let t=e.getAttribute(sF);if(t)return parseInt(t,10);return NaN}e=e.parentElement}return 0}(e))}dispose(){super.dispose(),this._isDisposed=!0}}let sq=class extends s${constructor(e){super(0),this._contexts=new Map,this._lastContextId=0;let t=this._register(new sH(this._myContextId,e,this._onDidChangeContext));this._contexts.set(this._myContextId,t)}getContextValuesContainer(e){return this._isDisposed?sW.INSTANCE:this._contexts.get(e)||sW.INSTANCE}createChildContext(e=this._myContextId){if(this._isDisposed)throw Error("ContextKeyService has been disposed");let t=++this._lastContextId;return this._contexts.set(t,new sB(t,this.getContextValuesContainer(e))),t}disposeContext(e){this._isDisposed||this._contexts.delete(e)}};sq=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(h=el.Ui,function(e,t){h(e,t,0)})],sq);class sj extends s${constructor(e,t){if(super(e.createChildContext()),this._parentChangeListener=this._register(new T.XK),this._parent=e,this._updateParentChangeListener(),this._domNode=t,this._domNode.hasAttribute(sF)){let e="";this._domNode.classList&&(e=Array.from(this._domNode.classList.values()).join(", ")),console.error(`Element already has context attribute${e?": "+e:""}`)}this._domNode.setAttribute(sF,String(this._myContextId))}_updateParentChangeListener(){this._parentChangeListener.value=this._parent.onDidChangeContext(e=>{let t=this._parent.getContextValuesContainer(this._myContextId),i=t.value;e.allKeysContainedIn(new Set(Object.keys(i)))||this._onDidChangeContext.fire(e)})}dispose(){this._isDisposed||(this._parent.disposeContext(this._myContextId),this._domNode.removeAttribute(sF),super.dispose())}getContextValuesContainer(e){return this._isDisposed?sW.INSTANCE:this._parent.getContextValuesContainer(e)}createChildContext(e=this._myContextId){if(this._isDisposed)throw Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(e)}disposeContext(e){this._isDisposed||this._parent.disposeContext(e)}}tK.P.registerCommand("_setContext",function(e,t,i){let n=e.get(ex.i6);n.createKey(String(t),(0,F.rs)(i,e=>"object"==typeof e&&1===e.$mid?R.o.revive(e).toString():e instanceof R.o?e.toString():void 0))}),tK.P.registerCommand({id:"getContextKeyInfo",handler:()=>[...ex.uy.all()].sort((e,t)=>e.key.localeCompare(t.key)),metadata:{description:(0,eH.NC)("getContextKeyInfo","A command that returns information about context keys"),args:[]}}),tK.P.registerCommand("_generateContextKeyInfo",function(){let e=[],t=new Set;for(let i of ex.uy.all())t.has(i.key)||(t.add(i.key),e.push(i));e.sort((e,t)=>e.key.localeCompare(t.key)),console.log(JSON.stringify(e,void 0,2))});var sG=i(97108);class sQ{constructor(e,t){this.key=e,this.data=t,this.incoming=new Map,this.outgoing=new Map}}class sZ{constructor(e){this._hashFn=e,this._nodes=new Map}roots(){let e=[];for(let t of this._nodes.values())0===t.outgoing.size&&e.push(t);return e}insertEdge(e,t){let i=this.lookupOrInsertNode(e),n=this.lookupOrInsertNode(t);i.outgoing.set(n.key,n),n.incoming.set(i.key,i)}removeNode(e){let t=this._hashFn(e);for(let e of(this._nodes.delete(t),this._nodes.values()))e.outgoing.delete(t),e.incoming.delete(t)}lookupOrInsertNode(e){let t=this._hashFn(e),i=this._nodes.get(t);return i||(i=new sQ(t,e),this._nodes.set(t,i)),i}isEmpty(){return 0===this._nodes.size}toString(){let e=[];for(let[t,i]of this._nodes)e.push(`${t} - (-> incoming)[${[...i.incoming.keys()].join(", ")}] - (outgoing ->)[${[...i.outgoing.keys()].join(",")}] -`);return e.join("\n")}findCycleSlow(){for(let[e,t]of this._nodes){let i=new Set([e]),n=this._findCycle(t,i);if(n)return n}}_findCycle(e,t){for(let[i,n]of e.outgoing){if(t.has(i))return[...t,i].join(" -> ");t.add(i);let e=this._findCycle(n,t);if(e)return e;t.delete(i)}}}var sY=i(60972);class sJ extends Error{constructor(e){var t;super("cyclic dependency between services"),this.message=null!==(t=e.findCycleSlow())&&void 0!==t?t:`UNABLE to detect cycle, dumping graph: -${e.toString()}`}}class sX{constructor(e=new sY.y,t=!1,i,n=!1){var s;this._services=e,this._strict=t,this._parent=i,this._enableTracing=n,this._isDisposed=!1,this._servicesToMaybeDispose=new Set,this._children=new Set,this._activeInstantiations=new Set,this._services.set(eM.TG,this),this._globalGraph=n?null!==(s=null==i?void 0:i._globalGraph)&&void 0!==s?s:new sZ(e=>e):void 0}dispose(){if(!this._isDisposed){for(let e of(this._isDisposed=!0,(0,T.B9)(this._children),this._children.clear(),this._servicesToMaybeDispose))(0,T.Wf)(e)&&e.dispose();this._servicesToMaybeDispose.clear()}}_throwIfDisposed(){if(this._isDisposed)throw Error("InstantiationService has been disposed")}createChild(e,t){this._throwIfDisposed();let i=this,n=new class extends sX{dispose(){i._children.delete(n),super.dispose()}}(e,this._strict,this,this._enableTracing);return this._children.add(n),null==t||t.add(n),n}invokeFunction(e,...t){this._throwIfDisposed();let i=s0.traceInvocation(this._enableTracing,e),n=!1;try{return e({get:e=>{if(n)throw(0,eB.L6)("service accessor is only valid during the invocation of its target method");let t=this._getOrCreateServiceInstance(e,i);if(!t)throw Error(`[invokeFunction] unknown service '${e}'`);return t}},...t)}finally{n=!0,i.stop()}}createInstance(e,...t){let i,n;return this._throwIfDisposed(),e instanceof sG.M?(i=s0.traceCreation(this._enableTracing,e.ctor),n=this._createInstance(e.ctor,e.staticArguments.concat(t),i)):(i=s0.traceCreation(this._enableTracing,e),n=this._createInstance(e,t,i)),i.stop(),n}_createInstance(e,t=[],i){let n=eM.I8.getServiceDependencies(e).sort((e,t)=>e.index-t.index),s=[];for(let t of n){let n=this._getOrCreateServiceInstance(t.id,i);n||this._throwIfStrict(`[createInstance] ${e.name} depends on UNKNOWN service ${t.id}.`,!1),s.push(n)}let o=n.length>0?n[0].index:t.length;if(t.length!==o){console.trace(`[createInstance] First service dependency of ${e.name} at position ${o+1} conflicts with ${t.length} static arguments`);let i=o-t.length;t=i>0?t.concat(Array(i)):t.slice(0,o)}return Reflect.construct(e,t.concat(s))}_setCreatedServiceInstance(e,t){if(this._services.get(e) instanceof sG.M)this._services.set(e,t);else if(this._parent)this._parent._setCreatedServiceInstance(e,t);else throw Error("illegalState - setting UNKNOWN service instance")}_getServiceInstanceOrDescriptor(e){let t=this._services.get(e);return!t&&this._parent?this._parent._getServiceInstanceOrDescriptor(e):t}_getOrCreateServiceInstance(e,t){this._globalGraph&&this._globalGraphImplicitDependency&&this._globalGraph.insertEdge(this._globalGraphImplicitDependency,String(e));let i=this._getServiceInstanceOrDescriptor(e);return i instanceof sG.M?this._safeCreateAndCacheServiceInstance(e,i,t.branch(e,!0)):(t.branch(e,!1),i)}_safeCreateAndCacheServiceInstance(e,t,i){if(this._activeInstantiations.has(e))throw Error(`illegal state - RECURSIVELY instantiating service '${e}'`);this._activeInstantiations.add(e);try{return this._createAndCacheServiceInstance(e,t,i)}finally{this._activeInstantiations.delete(e)}}_createAndCacheServiceInstance(e,t,i){var n;let s=new sZ(e=>e.id.toString()),o=0,r=[{id:e,desc:t,_trace:i}];for(;r.length;){let t=r.pop();if(s.lookupOrInsertNode(t),o++>1e3)throw new sJ(s);for(let i of eM.I8.getServiceDependencies(t.desc.ctor)){let o=this._getServiceInstanceOrDescriptor(i.id);if(o||this._throwIfStrict(`[createInstance] ${e} depends on ${i.id} which is NOT registered.`,!0),null===(n=this._globalGraph)||void 0===n||n.insertEdge(String(t.id),String(i.id)),o instanceof sG.M){let e={id:i.id,desc:o,_trace:t._trace.branch(i.id,!0)};s.insertEdge(t,e),r.push(e)}}}for(;;){let e=s.roots();if(0===e.length){if(!s.isEmpty())throw new sJ(s);break}for(let{data:t}of e){let e=this._getServiceInstanceOrDescriptor(t.id);if(e instanceof sG.M){let e=this._createServiceInstanceWithOwner(t.id,t.desc.ctor,t.desc.staticArguments,t.desc.supportsDelayedInstantiation,t._trace);this._setCreatedServiceInstance(t.id,e)}s.removeNode(t)}}return this._getServiceInstanceOrDescriptor(e)}_createServiceInstanceWithOwner(e,t,i=[],n,s){if(this._services.get(e) instanceof sG.M)return this._createServiceInstance(e,t,i,n,s,this._servicesToMaybeDispose);if(this._parent)return this._parent._createServiceInstanceWithOwner(e,t,i,n,s);throw Error(`illegalState - creating UNKNOWN service instance ${t.name}`)}_createServiceInstance(e,t,i=[],n,s,o){if(n){let n=new sX(void 0,this._strict,this,this._enableTracing);n._globalGraphImplicitDependency=String(e);let r=new Map,l=new tE.R5(()=>{let e=n._createInstance(t,i,s);for(let[t,i]of r){let n=e[t];if("function"==typeof n)for(let t of i)t.disposable=n.apply(e,t.listener)}return r.clear(),o.add(e),e});return new Proxy(Object.create(null),{get(e,t){if(!l.isInitialized&&"string"==typeof t&&(t.startsWith("onDid")||t.startsWith("onWill"))){let e=r.get(t);return e||(e=new eL.S,r.set(t,e)),(i,n,s)=>{if(l.isInitialized)return l.value[t](i,n,s);{let t={listener:[i,n,s],disposable:void 0},o=e.push(t),r=(0,T.OF)(()=>{var e;o(),null===(e=t.disposable)||void 0===e||e.dispose()});return r}}}if(t in e)return e[t];let i=l.value,n=i[t];return"function"!=typeof n||(n=n.bind(i),e[t]=n),n},set:(e,t,i)=>(l.value[t]=i,!0),getPrototypeOf:e=>t.prototype})}{let e=this._createInstance(t,i,s);return o.add(e),e}}_throwIfStrict(e,t){if(t&&console.warn(e),this._strict)throw Error(e)}}class s0{static traceInvocation(e,t){return e?new s0(2,t.name||Error().stack.split("\n").slice(3,4).join("\n")):s0._None}static traceCreation(e,t){return e?new s0(1,t.name):s0._None}constructor(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}branch(e,t){let i=new s0(3,e.toString());return this._dep.push([e,t,i]),i}stop(){let e=Date.now()-this._start;s0._totals+=e;let t=!1,i=[`${1===this.type?"CREATE":"CALL"} ${this.name}`,`${function e(i,n){let s=[],o=Array(i+1).join(" ");for(let[r,l,a]of n._dep)if(l&&a){t=!0,s.push(`${o}CREATES -> ${r}`);let n=e(i+1,a);n&&s.push(n)}else s.push(`${o}uses -> ${r}`);return s.join("\n")}(1,this)}`,`DONE, took ${e.toFixed(2)}ms (grand total ${s0._totals.toFixed(2)}ms)`];(e>2||t)&&s0.all.add(i.join("\n"))}}s0.all=new Set,s0._None=new class extends s0{constructor(){super(0,null)}stop(){}branch(){return this}},s0._totals=0;let s1=new Set([ey.lg.inMemory,ey.lg.vscodeSourceControl,ey.lg.walkThrough,ey.lg.walkThroughSnippet,ey.lg.vscodeChatCodeBlock,ey.lg.vscodeCopilotBackingChatCodeBlock]);class s2{constructor(){this._byResource=new tU.Y9,this._byOwner=new Map}set(e,t,i){let n=this._byResource.get(e);n||(n=new Map,this._byResource.set(e,n)),n.set(t,i);let s=this._byOwner.get(t);s||(s=new tU.Y9,this._byOwner.set(t,s)),s.set(e,i)}get(e,t){let i=this._byResource.get(e);return null==i?void 0:i.get(t)}delete(e,t){let i=!1,n=!1,s=this._byResource.get(e);s&&(i=s.delete(t));let o=this._byOwner.get(t);if(o&&(n=o.delete(e)),i!==n)throw Error("illegal state");return i&&n}values(e){var t,i,n,s;return"string"==typeof e?null!==(i=null===(t=this._byOwner.get(e))||void 0===t?void 0:t.values())&&void 0!==i?i:sP.$.empty():R.o.isUri(e)?null!==(s=null===(n=this._byResource.get(e))||void 0===n?void 0:n.values())&&void 0!==s?s:sP.$.empty():sP.$.map(sP.$.concat(...this._byOwner.values()),e=>e[1])}}class s5{constructor(e){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new tU.Y9,this._service=e,this._subscription=e.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(e){for(let t of e){let e=this._data.get(t);e&&this._substract(e);let i=this._resourceStats(t);this._add(i),this._data.set(t,i)}}_resourceStats(e){let t={errors:0,warnings:0,infos:0,unknowns:0};if(s1.has(e.scheme))return t;for(let{severity:i}of this._service.read({resource:e}))i===i3.ZL.Error?t.errors+=1:i===i3.ZL.Warning?t.warnings+=1:i===i3.ZL.Info?t.infos+=1:t.unknowns+=1;return t}_substract(e){this.errors-=e.errors,this.warnings-=e.warnings,this.infos-=e.infos,this.unknowns-=e.unknowns}_add(e){this.errors+=e.errors,this.warnings+=e.warnings,this.infos+=e.infos,this.unknowns+=e.unknowns}}class s4{constructor(){this._onMarkerChanged=new eS.D0({delay:0,merge:s4._merge}),this.onMarkerChanged=this._onMarkerChanged.event,this._data=new s2,this._stats=new s5(this)}dispose(){this._stats.dispose(),this._onMarkerChanged.dispose()}remove(e,t){for(let i of t||[])this.changeOne(e,i,[])}changeOne(e,t,i){if((0,eT.XY)(i)){let i=this._data.delete(t,e);i&&this._onMarkerChanged.fire([t])}else{let n=[];for(let s of i){let i=s4._toMarker(e,t,s);i&&n.push(i)}this._data.set(t,e,n),this._onMarkerChanged.fire([t])}}static _toMarker(e,t,i){let{code:n,severity:s,message:o,source:r,startLineNumber:l,startColumn:a,endLineNumber:d,endColumn:h,relatedInformation:u,tags:c}=i;if(o)return{resource:t,owner:e,code:n,severity:s,message:o,source:r,startLineNumber:l,startColumn:a=a>0?a:1,endLineNumber:d=d>=(l=l>0?l:1)?d:l,endColumn:h=h>0?h:a,relatedInformation:u,tags:c}}changeAll(e,t){let i=[],n=this._data.values(e);if(n)for(let t of n){let n=sP.$.first(t);n&&(i.push(n.resource),this._data.delete(n.resource,e))}if((0,eT.Of)(t)){let n=new tU.Y9;for(let{resource:s,marker:o}of t){let t=s4._toMarker(e,s,o);if(!t)continue;let r=n.get(s);r?r.push(t):(n.set(s,[t]),i.push(s))}for(let[t,i]of n)this._data.set(t,e,i)}i.length>0&&this._onMarkerChanged.fire(i)}read(e=Object.create(null)){let{owner:t,resource:i,severities:n,take:s}=e;if((!s||s<0)&&(s=-1),t&&i){let e=this._data.get(i,t);if(!e)return[];{let t=[];for(let i of e)if(s4._accept(i,n)){let e=t.push(i);if(s>0&&e===s)break}return t}}if(t||i){let e=this._data.values(null!=i?i:t),o=[];for(let t of e)for(let e of t)if(s4._accept(e,n)){let t=o.push(e);if(s>0&&t===s)return o}return o}{let e=[];for(let t of this._data.values())for(let i of t)if(s4._accept(i,n)){let t=e.push(i);if(s>0&&t===s)return e}return e}}static _accept(e,t){return void 0===t||(t&e.severity)===e.severity}static _merge(e){let t=new tU.Y9;for(let i of e)for(let e of i)t.set(e,!0);return Array.from(t.keys())}}var s3=i(87060);class s6 extends T.JT{get configurationModel(){return this._configurationModel}constructor(e){super(),this.logService=e,this._configurationModel=tG.createEmptyModel(this.logService)}reload(){return this.resetConfigurationModel(),this.configurationModel}getConfigurationDefaultOverrides(){return{}}resetConfigurationModel(){this._configurationModel=tG.createEmptyModel(this.logService);let e=tq.B.as(t$.IP.Configuration).getConfigurationProperties();this.updateConfigurationModel(Object.keys(e),e)}updateConfigurationModel(e,t){let i=this.getConfigurationDefaultOverrides();for(let n of e){let e=i[n],s=t[n];void 0!==e?this._configurationModel.addValue(n,e):s?this._configurationModel.addValue(n,s.default):this._configurationModel.removeValue(n)}}}var s9=i(38832);class s7 extends T.JT{constructor(e,t=[]){super(),this.logger=new e2.qA([e,...t]),this._register(e.onDidChangeLogLevel(e=>this.setLevel(e)))}get onDidChangeLogLevel(){return this.logger.onDidChangeLogLevel}setLevel(e){this.logger.setLevel(e)}getLevel(){return this.logger.getLevel()}trace(e,...t){this.logger.trace(e,...t)}debug(e,...t){this.logger.debug(e,...t)}info(e,...t){this.logger.info(e,...t)}warn(e,...t){this.logger.warn(e,...t)}error(e,...t){this.logger.error(e,...t)}}var s8=i(10637),oe=i(48814),ot=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},oi=function(e,t){return function(i,n){t(i,n,e)}};class on{constructor(e){this.disposed=!1,this.model=e,this._onWillDispose=new eS.Q5}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onWillDispose.fire()}}let os=class{constructor(e){this.modelService=e}createModelReference(e){let t=this.modelService.getModel(e);return t?Promise.resolve(new T.Jz(new on(t))):Promise.reject(Error("Model not found"))}};os=ot([oi(0,Q.q)],os);class oo{show(){return oo.NULL_PROGRESS_RUNNER}async showWhile(e,t){await e}}oo.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class or{info(e){return this.notify({severity:eW.Z.Info,message:e})}warn(e){return this.notify({severity:eW.Z.Warning,message:e})}error(e){return this.notify({severity:eW.Z.Error,message:e})}notify(e){switch(e.severity){case eW.Z.Error:console.error(e.message);break;case eW.Z.Warning:console.warn(e.message);break;default:console.log(e.message)}return or.NO_OP}prompt(e,t,i,n){return or.NO_OP}status(e,t){return T.JT.None}}or.NO_OP=new ez.EO;let ol=class{constructor(e){this._onWillExecuteCommand=new eS.Q5,this._onDidExecuteCommand=new eS.Q5,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this._instantiationService=e}executeCommand(e,...t){let i=tK.P.getCommand(e);if(!i)return Promise.reject(Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});let n=this._instantiationService.invokeFunction.apply(this._instantiationService,[i.handler,...t]);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(n)}catch(e){return Promise.reject(e)}}};ol=ot([oi(0,eM.TG)],ol);let oa=class extends t6{constructor(e,t,i,n,s,o){super(e,t,i,n,s),this._cachedResolver=null,this._dynamicKeybindings=[],this._domNodeListeners=[];let r=e=>{let t=new T.SL;t.add(ew.nm(e,ew.tw.KEY_DOWN,e=>{let t=new tv.y(e),i=this._dispatch(t,t.target);i&&(t.preventDefault(),t.stopPropagation())})),t.add(ew.nm(e,ew.tw.KEY_UP,e=>{let t=new tv.y(e),i=this._singleModifierDispatch(t,t.target);i&&t.preventDefault()})),this._domNodeListeners.push(new od(e,t))},l=e=>{for(let t=0;t{e.getOption(61)||r(e.getContainerDomNode())};this._register(o.onCodeEditorAdd(a)),this._register(o.onCodeEditorRemove(e=>{e.getOption(61)||l(e.getContainerDomNode())})),o.listCodeEditors().forEach(a);let d=e=>{r(e.getContainerDomNode())};this._register(o.onDiffEditorAdd(d)),this._register(o.onDiffEditorRemove(e=>{l(e.getContainerDomNode())})),o.listDiffEditors().forEach(d)}addDynamicKeybinding(e,t,i,n){return(0,T.F8)(tK.P.registerCommand(e,i),this.addDynamicKeybindings([{keybinding:t,command:e,when:n}]))}addDynamicKeybindings(e){let t=e.map(e=>{var t;let i=(0,tP.Z9)(e.keybinding,tu.OS);return{keybinding:i,command:null!==(t=e.command)&&void 0!==t?t:null,commandArgs:e.commandArgs,when:e.when,weight1:1e3,weight2:0,extensionId:null,isBuiltinExtension:!1}});return this._dynamicKeybindings=this._dynamicKeybindings.concat(t),this.updateResolver(),(0,T.OF)(()=>{for(let e=0;ethis._log(e))}return this._cachedResolver}_documentHasFocus(){return I.E.document.hasFocus()}_toNormalizedKeybindingItems(e,t){let i=[],n=0;for(let s of e){let e=s.when||void 0,o=s.keybinding;if(o){let r=io.resolveKeybinding(o,tu.OS);for(let o of r)i[n++]=new t8(o,s.command,s.commandArgs,e,t,null,!1)}else i[n++]=new t8(void 0,s.command,s.commandArgs,e,t,null,!1)}return i}resolveKeyboardEvent(e){let t=new tP.$M(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode);return new io([t],tu.OS)}};oa=ot([oi(0,ex.i6),oi(1,tK.H),oi(2,ia.b),oi(3,ez.lT),oi(4,e2.VZ),oi(5,O.$)],oa);class od extends T.JT{constructor(e,t){super(),this.domNode=e,this._register(t)}}function oh(e){return e&&"object"==typeof e&&(!e.overrideIdentifier||"string"==typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof R.o)}let ou=class{constructor(e){this.logService=e,this._onDidChangeConfiguration=new eS.Q5,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event;let t=new s6(e);this._configuration=new tY(t.reload(),tG.createEmptyModel(e),tG.createEmptyModel(e),tG.createEmptyModel(e),tG.createEmptyModel(e),tG.createEmptyModel(e),new tU.Y9,tG.createEmptyModel(e),new tU.Y9,e),t.dispose()}getValue(e,t){let i="string"==typeof e?e:void 0,n=oh(e)?e:oh(t)?t:{};return this._configuration.getValue(i,n,void 0)}updateValues(e){let t={data:this._configuration.toData()},i=[];for(let t of e){let[e,n]=t;this.getValue(e)!==n&&(this._configuration.updateValue(e,n),i.push(e))}if(i.length>0){let e=new tJ({keys:i,overrides:[]},t,this._configuration,void 0,this.logService);e.source=8,this._onDidChangeConfiguration.fire(e)}return Promise.resolve()}updateValue(e,t,i,n){return this.updateValues([[e,t]])}inspect(e,t={}){return this._configuration.inspect(e,t,void 0)}};ou=ot([oi(0,e2.VZ)],ou);let oc=class{constructor(e,t,i){this.configurationService=e,this.modelService=t,this.languageService=i,this._onDidChangeConfiguration=new eS.Q5,this.configurationService.onDidChangeConfiguration(e=>{this._onDidChangeConfiguration.fire({affectedKeys:e.affectedKeys,affectsConfiguration:(t,i)=>e.affectsConfiguration(i)})})}getValue(e,t,i){let n=tW.L.isIPosition(t)?t:null,s=n?"string"==typeof i?i:void 0:"string"==typeof t?t:void 0,o=e?this.getLanguage(e,n):void 0;return void 0===s?this.configurationService.getValue({resource:e,overrideIdentifier:o}):this.configurationService.getValue(s,{resource:e,overrideIdentifier:o})}getLanguage(e,t){let i=this.modelService.getModel(e);return i?t?i.getLanguageIdAtPosition(t.lineNumber,t.column):i.getLanguageId():this.languageService.guessLanguageIdByFilepathOrFirstLine(e)}};oc=ot([oi(0,el.Ui),oi(1,Q.q),oi(2,U.O)],oc);let og=class{constructor(e){this.configurationService=e}getEOL(e,t){let i=this.configurationService.getValue("files.eol",{overrideIdentifier:t,resource:e});return i&&"string"==typeof i&&"auto"!==i?i:tu.IJ||tu.dz?"\n":"\r\n"}};og=ot([oi(0,el.Ui)],og);class op{constructor(){let e=R.o.from({scheme:op.SCHEME,authority:"model",path:"/"});this.workspace={id:id.p$,folders:[new id.md({uri:e,name:"",index:0})]}}getWorkspace(){return this.workspace}getWorkspaceFolder(e){return e&&e.scheme===op.SCHEME?this.workspace.folders[0]:null}}function om(e,t,i){if(!t||!(e instanceof ou))return;let n=[];Object.keys(t).forEach(e=>{(0,tF.ei)(e)&&n.push([`editor.${e}`,t[e]]),i&&(0,tF.Pe)(e)&&n.push([`diffEditor.${e}`,t[e]])}),n.length>0&&e.updateValues(n)}op.SCHEME="inmemory";let of=class{constructor(e){this._modelService=e}hasPreviewHandler(){return!1}async apply(e,t){let i=Array.isArray(e)?e:tO.fo.convert(e),n=new Map;for(let e of i){if(!(e instanceof tO.Gl))throw Error("bad edit - only text edits are supported");let t=this._modelService.getModel(e.resource);if(!t)throw Error("bad edit - model not found");if("number"==typeof e.versionId&&t.getVersionId()!==e.versionId)throw Error("bad state - model changed in the meantime");let i=n.get(t);i||(i=[],n.set(t,i)),i.push(tB.h.replaceMove(tH.e.lift(e.textEdit.range),e.textEdit.text))}let s=0,o=0;for(let[e,t]of n)e.pushStackElement(),e.pushEditOperations([],t,()=>[]),e.pushStackElement(),o+=1,s+=t.length;return{ariaSummary:M.WU(ih.iN.bulkEditServiceSummary,s,o),isApplied:s>0}}};of=ot([oi(0,Q.q)],of);let o_=class extends tk{constructor(e,t){super(e),this._codeEditorService=t}showContextView(e,t,i){if(!t){let e=this._codeEditorService.getFocusedCodeEditor()||this._codeEditorService.getActiveCodeEditor();e&&(t=e.getContainerDomNode())}return super.showContextView(e,t,i)}};o_=ot([oi(0,eR),oi(1,O.$)],o_);let ov=class extends iY{constructor(e,t,i,n,s,o){super(e,t,i,n,s,o),this.configure({blockMouse:!1})}};ov=ot([oi(0,ia.b),oi(1,ez.lT),oi(2,ts.u),oi(3,to.d),oi(4,iI.co),oi(5,ex.i6)],ov),(0,eN.z)(e2.VZ,class extends s7{constructor(){super(new e2.kw)}},0),(0,eN.z)(el.Ui,ou,0),(0,eN.z)(tz.V,oc,0),(0,eN.z)(tz.y,og,0),(0,eN.z)(id.ec,op,0),(0,eN.z)(ir.e,class{getUriLabel(e,t){return"file"===e.scheme?e.fsPath:e.path}getUriBasenameLabel(e){return(0,iu.EZ)(e)}},0),(0,eN.z)(ia.b,class{publicLog2(){}},0),(0,eN.z)(eV.S,class{async confirm(e){let t=this.doConfirm(e.message,e.detail);return{confirmed:t,checkboxChecked:!1}}doConfirm(e,t){let i=e;return t&&(i=i+"\n\n"+t),I.E.confirm(i)}async prompt(e){var t,i;let n;let s=this.doConfirm(e.message,e.detail);if(s){let s=[...null!==(t=e.buttons)&&void 0!==t?t:[]];e.cancelButton&&"string"!=typeof e.cancelButton&&"boolean"!=typeof e.cancelButton&&s.push(e.cancelButton),n=await (null===(i=s[0])||void 0===i?void 0:i.run({checkboxChecked:!1}))}return{result:n}}async error(e,t){await this.prompt({type:eW.Z.Error,message:e,detail:t})}},0),(0,eN.z)(oe.Y,class{constructor(){this.isExtensionDevelopment=!1,this.isBuilt=!1}},0),(0,eN.z)(ez.lT,or,0),(0,eN.z)(i3.lT,s4,0),(0,eN.z)(U.O,class extends iD{constructor(){super()}},0),(0,eN.z)(sN.Z,sx.nI,0),(0,eN.z)(Q.q,nu,0),(0,eN.z)(nt.i,i8,0),(0,eN.z)(ex.i6,sq,0),(0,eN.z)(il.R9,class{withProgress(e,t,i){return t({report:()=>{}})}},0),(0,eN.z)(il.ek,oo,0),(0,eN.z)(s3.Uy,s3.vm,0),(0,eN.z)(i4.p,B.eu,0),(0,eN.z)(tO.vu,of,0),(0,eN.z)(ic.Y,class{constructor(){this._neverEmitter=new eS.Q5,this.onDidChangeTrust=this._neverEmitter.event}isWorkspaceTrusted(){return!0}},0),(0,eN.z)(tV.S,os,0),(0,eN.z)(tc.F,sI,0),(0,eN.z)(nJ.Lw,nJ.XN,0),(0,eN.z)(tK.H,ol,0),(0,eN.z)(to.d,oa,0),(0,eN.z)(np.eJ,sL,0),(0,eN.z)(ts.u,o_,0),(0,eN.z)(ta.v,i5,0),(0,eN.z)(sA.p,sR,0),(0,eN.z)(ts.i,ov,0),(0,eN.z)(iI.co,sT.h,0),(0,eN.z)(s9.IV,class{async playSignal(e,t){}},0),function(e){let t=new sY.y;for(let[e,i]of(0,eN.d)())t.set(e,i);let i=new sX(t,!0);t.set(eM.TG,i),e.get=function(e){n||o({});let s=t.get(e);if(!s)throw Error("Missing service "+e);return s instanceof sG.M?i.invokeFunction(t=>t.get(e)):s};let n=!1,s=new eS.Q5;function o(e){if(n)return i;for(let[e,i]of(n=!0,(0,eN.d)()))t.get(e)||t.set(e,i);for(let i in e)if(e.hasOwnProperty(i)){let n=(0,eM.yh)(i),s=t.get(n);s instanceof sG.M&&t.set(n,e[i])}let o=(0,s8.n)();for(let e of o)try{i.createInstance(e)}catch(e){(0,eB.dL)(e)}return s.fire(),i}e.initialize=o,e.withServices=function(e){if(n)return e();let t=new T.SL,i=t.add(s.event(()=>{i.dispose(),t.add(e())}));return t}}(k||(k={}));var ob=i(4425),oC=i(97759),ow=i(21661),oy=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},oS=function(e,t){return function(i,n){t(i,n,e)}};let oL=0,ok=!1,oD=class extends x.Gm{constructor(e,t,i,n,s,o,r,l,a,d,h,u,c){let g={...t};g.ariaLabel=g.ariaLabel||ih.B8.editorViewAccessibleLabel,g.ariaLabel=g.ariaLabel+";"+ih.B8.accessibilityHelpMessage,super(e,g,{},i,n,s,o,a,d,h,u,c),l instanceof oa?this._standaloneKeybindingService=l:this._standaloneKeybindingService=null,function(e){if(!e){if(ok)return;ok=!0}eb.wW(e||I.E.document.body)}(g.ariaContainerElement),(0,oC.rM)((e,t)=>i.createInstance(tn.mQ,e,t,{})),(0,ow.r)(r)}addCommand(e,t,i){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;let n="DYNAMIC_"+ ++oL,s=ex.Ao.deserialize(i);return this._standaloneKeybindingService.addDynamicKeybinding(n,e,t,s),n}createContextKey(e,t){return this._contextKeyService.createKey(e,t)}addAction(e){if("string"!=typeof e.id||"string"!=typeof e.label||"function"!=typeof e.run)throw Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),T.JT.None;let t=e.id,i=e.label,n=ex.Ao.and(ex.Ao.equals("editorId",this.getId()),ex.Ao.deserialize(e.precondition)),s=e.keybindings,o=ex.Ao.and(n,ex.Ao.deserialize(e.keybindingContext)),r=e.contextMenuGroupId||null,l=e.contextMenuOrder||0,a=(t,...i)=>Promise.resolve(e.run(this,...i)),d=new T.SL,h=this.getId()+":"+t;if(d.add(tK.P.registerCommand(h,a)),r&&d.add(iI.BH.appendMenuItem(iI.eH.EditorContext,{command:{id:h,title:i},when:n,group:r,order:l})),Array.isArray(s))for(let e of s)d.add(this._standaloneKeybindingService.addDynamicKeybinding(h,e,a,o));let u=new eC.p(h,i,i,void 0,n,(...t)=>Promise.resolve(e.run(this,...t)),this._contextKeyService);return this._actions.set(t,u),d.add((0,T.OF)(()=>{this._actions.delete(t)})),d}_triggerCommand(e,t){if(this._codeEditorService instanceof eI)try{this._codeEditorService.setActiveCodeEditor(this),super._triggerCommand(e,t)}finally{this._codeEditorService.setActiveCodeEditor(null)}else super._triggerCommand(e,t)}};oD=oy([oS(2,eM.TG),oS(3,O.$),oS(4,tK.H),oS(5,ex.i6),oS(6,tn.Bs),oS(7,to.d),oS(8,ek.XE),oS(9,ez.lT),oS(10,tc.F),oS(11,$.c_),oS(12,tt.p)],oD);let ox=class extends oD{constructor(e,t,i,n,s,o,r,l,a,d,h,u,c,g,p,m){let f;let _={...t};om(h,_,!1);let v=a.registerEditorContainer(e);"string"==typeof _.theme&&a.setTheme(_.theme),void 0!==_.autoDetectHighContrast&&a.setAutoDetectHighContrast(!!_.autoDetectHighContrast);let b=_.model;if(delete _.model,super(e,_,i,n,s,o,r,l,a,d,u,p,m),this._configurationService=h,this._standaloneThemeService=a,this._register(v),void 0===b){let e=g.getLanguageIdByMimeType(_.language)||_.language||q.bd;f=oE(c,g,_.value||"",e,void 0),this._ownsModel=!0}else f=b,this._ownsModel=!1;if(this._attachModel(f),f){let e={oldModelUrl:null,newModelUrl:f.uri};this._onDidChangeModel.fire(e)}}dispose(){super.dispose()}updateOptions(e){om(this._configurationService,e,!1),"string"==typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),void 0!==e.autoDetectHighContrast&&this._standaloneThemeService.setAutoDetectHighContrast(!!e.autoDetectHighContrast),super.updateOptions(e)}_postDetachModelCleanup(e){super._postDetachModelCleanup(e),e&&this._ownsModel&&(e.dispose(),this._ownsModel=!1)}};ox=oy([oS(2,eM.TG),oS(3,O.$),oS(4,tK.H),oS(5,ex.i6),oS(6,tn.Bs),oS(7,to.d),oS(8,sN.Z),oS(9,ez.lT),oS(10,el.Ui),oS(11,tc.F),oS(12,Q.q),oS(13,U.O),oS(14,$.c_),oS(15,tt.p)],ox);let oN=class extends ob.p{constructor(e,t,i,n,s,o,r,l,a,d,h,u){let c={...t};om(l,c,!0);let g=o.registerEditorContainer(e);"string"==typeof c.theme&&o.setTheme(c.theme),void 0!==c.autoDetectHighContrast&&o.setAutoDetectHighContrast(!!c.autoDetectHighContrast),super(e,c,{},n,i,s,u,d),this._configurationService=l,this._standaloneThemeService=o,this._register(g)}dispose(){super.dispose()}updateOptions(e){om(this._configurationService,e,!0),"string"==typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),void 0!==e.autoDetectHighContrast&&this._standaloneThemeService.setAutoDetectHighContrast(!!e.autoDetectHighContrast),super.updateOptions(e)}_createInnerEditor(e,t,i){return e.createInstance(oD,t,i)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(e,t,i){return this.getModifiedEditor().addCommand(e,t,i)}createContextKey(e,t){return this.getModifiedEditor().createContextKey(e,t)}addAction(e){return this.getModifiedEditor().addAction(e)}};function oE(e,t,i,n,s){if(i=i||"",!n){let n=i.indexOf("\n"),o=i;return -1!==n&&(o=i.substring(0,n)),oI(e,i,t.createByFilepathOrFirstLine(s||null,o),s)}return oI(e,i,t.createById(n),s)}function oI(e,t,i,n){return e.createModel(t,i,n)}oN=oy([oS(2,eM.TG),oS(3,ex.i6),oS(4,O.$),oS(5,sN.Z),oS(6,ez.lT),oS(7,el.Ui),oS(8,ts.i),oS(9,il.ek),oS(10,sA.p),oS(11,s9.IV)],oN);var oT=i(39901),oM=i(31651),oR=i(35534),oA=i(96512),oP=i(76633);i(62866);var oO=i(19247),oF=i(3860),oB=i(29102),oW=i(90428),oH=i(33528);class oV{constructor(e,t){this.viewModel=e,this.deltaScrollVertical=t}getId(){return this.viewModel}}let oz=class extends T.JT{constructor(e,t,i,n){super(),this._container=e,this._overflowWidgetsDomNode=t,this._workbenchUIElementFactory=i,this._instantiationService=n,this._viewModel=(0,oA.uh)(this,void 0),this._collapsed=(0,oT.nK)(this,e=>{var t;return null===(t=this._viewModel.read(e))||void 0===t?void 0:t.collapsed.read(e)}),this._editorContentHeight=(0,oA.uh)(this,500),this.contentHeight=(0,oT.nK)(this,e=>{let t=this._collapsed.read(e)?0:this._editorContentHeight.read(e);return t+this._outerEditorHeight}),this._modifiedContentWidth=(0,oA.uh)(this,0),this._modifiedWidth=(0,oA.uh)(this,0),this._originalContentWidth=(0,oA.uh)(this,0),this._originalWidth=(0,oA.uh)(this,0),this.maxScroll=(0,oT.nK)(this,e=>{let t=this._modifiedContentWidth.read(e)-this._modifiedWidth.read(e),i=this._originalContentWidth.read(e)-this._originalWidth.read(e);return t>i?{maxScroll:t,width:this._modifiedWidth.read(e)}:{maxScroll:i,width:this._originalWidth.read(e)}}),this._elements=(0,ew.h)("div.multiDiffEntry",[(0,ew.h)("div.header@header",[(0,ew.h)("div.header-content",[(0,ew.h)("div.collapse-button@collapseButton"),(0,ew.h)("div.file-path",[(0,ew.h)("div.title.modified.show-file-icons@primaryPath",[]),(0,ew.h)("div.status.deleted@status",["R"]),(0,ew.h)("div.title.original.show-file-icons@secondaryPath",[])]),(0,ew.h)("div.actions@actions")])]),(0,ew.h)("div.editorParent",[(0,ew.h)("div.editorContainer@editor")])]),this.editor=this._register(this._instantiationService.createInstance(ob.p,this._elements.editor,{overflowWidgetsDomNode:this._overflowWidgetsDomNode},{})),this.isModifedFocused=oK(this.editor.getModifiedEditor()),this.isOriginalFocused=oK(this.editor.getOriginalEditor()),this.isFocused=(0,oT.nK)(this,e=>this.isModifedFocused.read(e)||this.isOriginalFocused.read(e)),this._resourceLabel=this._workbenchUIElementFactory.createResourceLabel?this._register(this._workbenchUIElementFactory.createResourceLabel(this._elements.primaryPath)):void 0,this._resourceLabel2=this._workbenchUIElementFactory.createResourceLabel?this._register(this._workbenchUIElementFactory.createResourceLabel(this._elements.secondaryPath)):void 0,this._dataStore=new T.SL,this._headerHeight=40,this._lastScrollTop=-1,this._isSettingScrollTop=!1;let s=new nV.z(this._elements.collapseButton,{});this._register((0,oT.EH)(e=>{s.element.className="",s.icon=this._collapsed.read(e)?iF.l.chevronRight:iF.l.chevronDown})),this._register(s.onDidClick(()=>{var e;null===(e=this._viewModel.get())||void 0===e||e.collapsed.set(!this._collapsed.get(),void 0)})),this._register((0,oT.EH)(e=>{this._elements.editor.style.display=this._collapsed.read(e)?"none":"block"})),this._register(this.editor.getModifiedEditor().onDidLayoutChange(e=>{let t=this.editor.getModifiedEditor().getLayoutInfo().contentWidth;this._modifiedWidth.set(t,void 0)})),this._register(this.editor.getOriginalEditor().onDidLayoutChange(e=>{let t=this.editor.getOriginalEditor().getLayoutInfo().contentWidth;this._originalWidth.set(t,void 0)})),this._register(this.editor.onDidContentSizeChange(e=>{(0,oA.Bl)(t=>{this._editorContentHeight.set(e.contentHeight,t),this._modifiedContentWidth.set(this.editor.getModifiedEditor().getContentWidth(),t),this._originalContentWidth.set(this.editor.getOriginalEditor().getContentWidth(),t)})})),this._register(this.editor.getOriginalEditor().onDidScrollChange(e=>{if(this._isSettingScrollTop||!e.scrollTopChanged||!this._data)return;let t=e.scrollTop-this._lastScrollTop;this._data.deltaScrollVertical(t)})),this._register((0,oT.EH)(e=>{var t;let i=null===(t=this._viewModel.read(e))||void 0===t?void 0:t.isActive.read(e);this._elements.root.classList.toggle("active",i)})),this._container.appendChild(this._elements.root),this._outerEditorHeight=this._headerHeight,this._register(this._instantiationService.createInstance(oW.r,this._elements.actions,iI.eH.MultiDiffEditorFileToolbar,{actionRunner:this._register(new oH.D(()=>{var e;return null===(e=this._viewModel.get())||void 0===e?void 0:e.modifiedUri})),menuOptions:{shouldForwardArgs:!0},toolbarOptions:{primaryGroup:e=>e.startsWith("navigation")},actionViewItemProvider:(e,t)=>(0,iE.Id)(n,e,t)}))}setScrollLeft(e){this._modifiedContentWidth.get()-this._modifiedWidth.get()>this._originalContentWidth.get()-this._originalWidth.get()?this.editor.getModifiedEditor().setScrollLeft(e):this.editor.getOriginalEditor().setScrollLeft(e)}setData(e){function t(e){return{...e,scrollBeyondLastLine:!1,hideUnchangedRegions:{enabled:!0},scrollbar:{vertical:"hidden",horizontal:"hidden",handleMouseWheel:!1,useShadows:!1},renderOverviewRuler:!1,fixedOverflowWidgets:!0,overviewRulerBorder:!1}}this._data=e;let i=e.viewModel.entry.value;i.onOptionsDidChange&&this._dataStore.add(i.onOptionsDidChange(()=>{var e;this.editor.updateOptions(t(null!==(e=i.options)&&void 0!==e?e:{}))})),(0,oA.Bl)(n=>{var s,o,r,l;null===(s=this._resourceLabel)||void 0===s||s.setUri(null!==(o=e.viewModel.modifiedUri)&&void 0!==o?o:e.viewModel.originalUri,{strikethrough:void 0===e.viewModel.modifiedUri});let a=!1,d=!1,h=!1,u="";e.viewModel.modifiedUri&&e.viewModel.originalUri&&e.viewModel.modifiedUri.path!==e.viewModel.originalUri.path?(u="R",a=!0):e.viewModel.modifiedUri?e.viewModel.originalUri||(u="A",h=!0):(u="D",d=!0),this._elements.status.classList.toggle("renamed",a),this._elements.status.classList.toggle("deleted",d),this._elements.status.classList.toggle("added",h),this._elements.status.innerText=u,null===(r=this._resourceLabel2)||void 0===r||r.setUri(a?e.viewModel.originalUri:void 0,{strikethrough:!0}),this._dataStore.clear(),this._viewModel.set(e.viewModel,n),this.editor.setModel(e.viewModel.diffEditorViewModel,n),this.editor.updateOptions(t(null!==(l=i.options)&&void 0!==l?l:{}))})}render(e,t,i,n){this._elements.root.style.visibility="visible",this._elements.root.style.top=`${e.start}px`,this._elements.root.style.height=`${e.length}px`,this._elements.root.style.width=`${t}px`,this._elements.root.style.position="absolute";let s=e.length-this._headerHeight,o=Math.max(0,Math.min(n.start-e.start,s));this._elements.header.style.transform=`translateY(${o}px)`,(0,oA.Bl)(i=>{this.editor.layout({width:t-16-2,height:e.length-this._outerEditorHeight})});try{this._isSettingScrollTop=!0,this._lastScrollTop=i,this.editor.getOriginalEditor().setScrollTop(i)}finally{this._isSettingScrollTop=!1}this._elements.header.classList.toggle("shadow",o>0||i>0),this._elements.header.classList.toggle("collapsed",o===s)}hide(){this._elements.root.style.top="-100000px",this._elements.root.style.visibility="hidden"}};function oK(e){return(0,oT.rD)(t=>{let i=new T.SL;return i.add(e.onDidFocusEditorWidget(()=>t(!0))),i.add(e.onDidBlurEditorWidget(()=>t(!1))),i},()=>e.hasTextFocus())}oz=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(u=eM.TG,function(e,t){u(e,t,3)})],oz);class oU{constructor(e){this._create=e,this._unused=new Set,this._used=new Set,this._itemData=new Map}getUnusedObj(e){var t;let i;if(0===this._unused.size)i=this._create(e),this._itemData.set(i,e);else{let n=[...this._unused.values()];i=null!==(t=n.find(t=>this._itemData.get(t).getId()===e.getId()))&&void 0!==t?t:n[0],this._unused.delete(i),this._itemData.set(i,e),i.setData(e)}return this._used.add(i),{object:i,dispose:()=>{this._used.delete(i),this._unused.size>5?i.dispose():this._unused.add(i)}}}dispose(){for(let e of this._used)e.dispose();for(let e of this._unused)e.dispose();this._used.clear(),this._unused.clear()}}var o$=function(e,t){return function(i,n){t(i,n,e)}};let oq=class extends T.JT{constructor(e,t,i,n,s,o){super(),this._element=e,this._dimension=t,this._viewModel=i,this._workbenchUIElementFactory=n,this._parentContextKeyService=s,this._parentInstantiationService=o,this._scrollableElements=(0,ew.h)("div.scrollContent",[(0,ew.h)("div@content",{style:{overflow:"hidden"}}),(0,ew.h)("div.monaco-editor@overflowWidgetsDomNode",{})]),this._scrollable=this._register(new oP.Rm({forceIntegerValues:!1,scheduleAtNextAnimationFrame:e=>(0,ew.jL)((0,ew.Jj)(this._element),e),smoothScrollDuration:100})),this._scrollableElement=this._register(new iO.$Z(this._scrollableElements.root,{vertical:1,horizontal:1,useShadows:!1},this._scrollable)),this._elements=(0,ew.h)("div.monaco-component.multiDiffEditor",{},[(0,ew.h)("div",{},[this._scrollableElement.getDomNode()]),(0,ew.h)("div.placeholder@placeholder",{},[(0,ew.h)("div",[(0,eH.NC)("noChangedFiles","No Changed Files")])])]),this._sizeObserver=this._register(new oM.DU(this._element,void 0)),this._objectPool=this._register(new oU(e=>{let t=this._instantiationService.createInstance(oz,this._scrollableElements.content,this._scrollableElements.overflowWidgetsDomNode,this._workbenchUIElementFactory);return t.setData(e),t})),this.scrollTop=(0,oT.rD)(this._scrollableElement.onScroll,()=>this._scrollableElement.getScrollPosition().scrollTop),this.scrollLeft=(0,oT.rD)(this._scrollableElement.onScroll,()=>this._scrollableElement.getScrollPosition().scrollLeft),this._viewItemsInfo=(0,oT.Be)(this,(e,t)=>{let i=this._viewModel.read(e);if(!i)return{items:[],getItem:e=>{throw new eB.he}};let n=i.items.read(e),s=new Map,o=n.map(e=>{var i;let n=t.add(new oj(e,this._objectPool,this.scrollLeft,e=>{this._scrollableElement.setScrollPosition({scrollTop:this._scrollableElement.getScrollPosition().scrollTop+e})})),o=null===(i=this._lastDocStates)||void 0===i?void 0:i[n.getKey()];return o&&(0,oA.PS)(e=>{n.setViewState(o,e)}),s.set(e,n),n});return{items:o,getItem:e=>s.get(e)}}),this._viewItems=this._viewItemsInfo.map(this,e=>e.items),this._spaceBetweenPx=0,this._totalHeight=this._viewItems.map(this,(e,t)=>e.reduce((e,i)=>e+i.contentHeight.read(t)+this._spaceBetweenPx,0)),this._contextKeyService=this._register(this._parentContextKeyService.createScoped(this._element)),this._instantiationService=this._register(this._parentInstantiationService.createChild(new sY.y([ex.i6,this._contextKeyService]))),this._lastDocStates={},this._contextKeyService.createKey(oB.u.inMultiDiffEditor.key,!0),this._register((0,oT.gp)((e,t)=>{let i=this._viewModel.read(e);if(i&&i.contextKeys)for(let[e,n]of Object.entries(i.contextKeys)){let i=this._contextKeyService.createKey(e,void 0);i.set(n),t.add((0,T.OF)(()=>i.reset()))}}));let r=this._parentContextKeyService.createKey(oB.u.multiDiffEditorAllCollapsed.key,!1);this._register((0,oT.EH)(e=>{let t=this._viewModel.read(e);if(t){let i=t.items.read(e).every(t=>t.collapsed.read(e));r.set(i)}})),this._register((0,oT.EH)(e=>{let t=this._dimension.read(e);this._sizeObserver.observe(t)})),this._register((0,oT.EH)(e=>{let t=this._viewItems.read(e);this._elements.placeholder.classList.toggle("visible",0===t.length)})),this._scrollableElements.content.style.position="relative",this._register((0,oT.EH)(e=>{let t=this._sizeObserver.height.read(e);this._scrollableElements.root.style.height=`${t}px`;let i=this._totalHeight.read(e);this._scrollableElements.content.style.height=`${i}px`;let n=this._sizeObserver.width.read(e),s=n,o=this._viewItems.read(e),r=(0,oR.hV)(o,(0,eT.tT)(t=>t.maxScroll.read(e).maxScroll,eT.fv));if(r){let t=r.maxScroll.read(e);s=n+t.maxScroll}this._scrollableElement.setScrollDimensions({width:n,height:t,scrollHeight:i,scrollWidth:s})})),e.replaceChildren(this._elements.root),this._register((0,T.OF)(()=>{e.replaceChildren()})),this._register(this._register((0,oT.EH)(e=>{(0,oA.Bl)(t=>{this.render(e)})})))}render(e){let t=this.scrollTop.read(e),i=0,n=0,s=0,o=this._sizeObserver.height.read(e),r=oO.q.ofStartAndLength(t,o),l=this._sizeObserver.width.read(e);for(let a of this._viewItems.read(e)){let d=a.contentHeight.read(e),h=Math.min(d,o),u=oO.q.ofStartAndLength(n,h),c=oO.q.ofStartAndLength(s,d);if(c.isBefore(r))i-=d-h,a.hide();else if(c.isAfter(r))a.hide();else{let e=Math.max(0,Math.min(r.start-c.start,d-h));i-=e;let n=oO.q.ofStartAndLength(t+i,o);a.render(u,e,l,n)}n+=h+this._spaceBetweenPx,s+=d+this._spaceBetweenPx}this._scrollableElements.content.style.transform=`translateY(${-(t+i)}px)`}};oq=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([o$(4,ex.i6),o$(5,eM.TG)],oq);class oj extends T.JT{constructor(e,t,i,n){super(),this.viewModel=e,this._objectPool=t,this._scrollLeft=i,this._deltaScrollVertical=n,this._templateRef=this._register((0,oA.DN)(this,void 0)),this.contentHeight=(0,oT.nK)(this,e=>{var t,i,n;return null!==(n=null===(i=null===(t=this._templateRef.read(e))||void 0===t?void 0:t.object.contentHeight)||void 0===i?void 0:i.read(e))&&void 0!==n?n:this.viewModel.lastTemplateData.read(e).contentHeight}),this.maxScroll=(0,oT.nK)(this,e=>{var t,i;return null!==(i=null===(t=this._templateRef.read(e))||void 0===t?void 0:t.object.maxScroll.read(e))&&void 0!==i?i:{maxScroll:0,scrollWidth:0}}),this.template=(0,oT.nK)(this,e=>{var t;return null===(t=this._templateRef.read(e))||void 0===t?void 0:t.object}),this._isHidden=(0,oT.uh)(this,!1),this._isFocused=(0,oT.nK)(this,e=>{var t,i;return null!==(i=null===(t=this.template.read(e))||void 0===t?void 0:t.isFocused.read(e))&&void 0!==i&&i}),this.viewModel.setIsFocused(this._isFocused,void 0),this._register((0,oT.EH)(e=>{var t;let i=this._scrollLeft.read(e);null===(t=this._templateRef.read(e))||void 0===t||t.object.setScrollLeft(i)})),this._register((0,oT.EH)(e=>{let t=this._templateRef.read(e);if(!t)return;let i=this._isHidden.read(e);if(!i)return;let n=t.object.isFocused.read(e);n||this._clear()}))}dispose(){this._clear(),super.dispose()}toString(){var e;return`VirtualViewItem(${null===(e=this.viewModel.entry.value.modified)||void 0===e?void 0:e.uri.toString()})`}getKey(){return this.viewModel.getKey()}setViewState(e,t){var i;this.viewModel.collapsed.set(e.collapsed,t),this._updateTemplateData(t);let n=this.viewModel.lastTemplateData.get(),s=null===(i=e.selections)||void 0===i?void 0:i.map(oF.Y.liftSelection);this.viewModel.lastTemplateData.set({...n,selections:s},t);let o=this._templateRef.get();o&&s&&o.object.editor.setSelections(s)}_updateTemplateData(e){var t;let i=this._templateRef.get();i&&this.viewModel.lastTemplateData.set({contentHeight:i.object.contentHeight.get(),selections:null!==(t=i.object.editor.getSelections())&&void 0!==t?t:void 0},e)}_clear(){let e=this._templateRef.get();e&&(0,oA.PS)(t=>{this._updateTemplateData(t),e.object.hide(),this._templateRef.set(void 0,t)})}hide(){this._isHidden.set(!0,void 0)}render(e,t,i,n){this._isHidden.set(!1,void 0);let s=this._templateRef.get();if(!s){s=this._objectPool.getUnusedObj(new oV(this.viewModel,this._deltaScrollVertical)),this._templateRef.set(s,void 0);let e=this.viewModel.lastTemplateData.get().selections;e&&s.object.editor.setSelections(e)}s.object.render(e,i,t,n)}}(0,ti.P6G)("multiDiffEditor.headerBackground",{dark:"#262626",light:"tab.inactiveBackground",hcDark:"tab.inactiveBackground",hcLight:"tab.inactiveBackground"},(0,eH.NC)("multiDiffEditor.headerBackground","The background color of the diff editor's header")),(0,ti.P6G)("multiDiffEditor.background",{dark:"editorBackground",light:"editorBackground",hcDark:"editorBackground",hcLight:"editorBackground"},(0,eH.NC)("multiDiffEditor.background","The background color of the multi file diff editor")),(0,ti.P6G)("multiDiffEditor.border",{dark:"sideBarSectionHeader.border",light:"#cccccc",hcDark:"sideBarSectionHeader.border",hcLight:"#cccccc"},(0,eH.NC)("multiDiffEditor.border","The border color of the multi file diff editor"));let oG=class extends T.JT{constructor(e,t,i){super(),this._element=e,this._workbenchUIElementFactory=t,this._instantiationService=i,this._dimension=(0,oT.uh)(this,void 0),this._viewModel=(0,oT.uh)(this,void 0),this._widgetImpl=(0,oT.Be)(this,(e,t)=>((0,oM.NW)(oz,e),t.add(this._instantiationService.createInstance((0,oM.NW)(oq,e),this._element,this._dimension,this._viewModel,this._workbenchUIElementFactory)))),this._register((0,oT.jx)(this._widgetImpl))}};function oQ(e){let t=k.get(to.d);return t instanceof oa?t.addDynamicKeybindings(e.map(e=>({keybinding:e.keybinding,command:e.command,commandArgs:e.commandArgs,when:ex.Ao.deserialize(e.when)}))):(console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),T.JT.None)}oG=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(c=eM.TG,function(e,t){c(e,t,2)})],oG);var oZ=i(41264);function oY(e,t){return"boolean"==typeof e?e:t}function oJ(e,t){return"string"==typeof e?e:t}function oX(e,t=!1){t&&(e=e.map(function(e){return e.toLowerCase()}));let i=function(e){let t={};for(let i of e)t[i]=!0;return t}(e);return t?function(e){return void 0!==i[e.toLowerCase()]&&i.hasOwnProperty(e.toLowerCase())}:function(e){return void 0!==i[e]&&i.hasOwnProperty(e)}}function o0(e,t,i){let n;t=t.replace(/@@/g,`\x01`);let s=0;do n=!1,t=t.replace(/@(\w+)/g,function(i,s){n=!0;let o="";if("string"==typeof e[s])o=e[s];else if(e[s]&&e[s]instanceof RegExp)o=e[s].source;else{if(void 0===e[s])throw es(e,"language definition does not contain attribute '"+s+"', used at: "+t);throw es(e,"attribute reference '"+s+"' must be a string, used at: "+t)}return o?"(?:"+o+")":""}),s++;while(n&&s<5);t=t.replace(/\x01/g,"@");let o=(e.ignoreCase?"i":"")+(e.unicode?"u":"");if(i){let i=t.match(/\$[sS](\d\d?)/g);if(i){let i=null,n=null;return s=>{let r;return n&&i===s?n:(i=s,n=new RegExp((r=null,t.replace(/\$[sS](\d\d?)/g,function(t,i){return(null===r&&(r=s.split(".")).unshift(s),i&&i0&&"^"===i[0],this.name=this.name+": "+i,this.regex=o0(e,"^(?:"+(this.matchOnlyAtLineStart?i.substr(1):i)+")",!0)}setAction(e,t){this.action=function e(t,i,n){if(!n)return{token:""};if("string"==typeof n)return n;if(n.token||""===n.token){if("string"!=typeof n.token)throw es(t,"a 'token' attribute must be of type string, in rule: "+i);{let e={token:n.token};if(n.token.indexOf("$")>=0&&(e.tokenSubst=!0),"string"==typeof n.bracket){if("@open"===n.bracket)e.bracket=1;else if("@close"===n.bracket)e.bracket=-1;else throw es(t,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+i)}if(n.next){if("string"!=typeof n.next)throw es(t,"the next state must be a string value in rule: "+i);{let s=n.next;if(!/^(@pop|@push|@popall)$/.test(s)&&("@"===s[0]&&(s=s.substr(1)),0>s.indexOf("$")&&!function(e,t){let i=t;for(;i&&i.length>0;){let t=e.stateNames[i];if(t)return!0;let n=i.lastIndexOf(".");i=n<0?null:i.substr(0,n)}return!1}(t,eo(t,s,"",[],""))))throw es(t,"the next state '"+n.next+"' is not defined in rule: "+i);e.next=s}}return"number"==typeof n.goBack&&(e.goBack=n.goBack),"string"==typeof n.switchTo&&(e.switchTo=n.switchTo),"string"==typeof n.log&&(e.log=n.log),"string"==typeof n.nextEmbedded&&(e.nextEmbedded=n.nextEmbedded,t.usesEmbedded=!0),e}}if(Array.isArray(n)){let s=[];for(let o=0,r=n.length;od.indexOf("$")){let t=o0(e,"^"+d+"$",!1);s=function(e){return"~"===a?t.test(e):!t.test(e)}}else s=function(t,i,n,s){let o=o0(e,"^"+eo(e,d,i,n,s)+"$",!1);return o.test(t)}}else if(0>d.indexOf("$")){let t=ei(e,d);s=function(e){return"=="===a?e===t:e!==t}}else{let t=ei(e,d);s=function(i,n,s,o,r){let l=eo(e,t,n,s,o);return"=="===a?i===l:i!==l}}return -1===o?{name:i,value:n,test:function(e,t,i,n){return s(e,e,t,i,n)}}:{name:i,value:n,test:function(e,t,i,n){let r=function(e,t,i,n){if(n<0)return e;if(n=100){n-=100;let e=i.split(".");if(e.unshift(i),n=1&&r.length<=3){if(e.setRegex(t,r[0]),r.length>=3){if("string"==typeof r[1])e.setAction(t,{token:r[1],next:r[2]});else if("object"==typeof r[1]){let i=r[1];i.next=r[2],e.setAction(t,i)}else throw es(i,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+n)}else e.setAction(t,r[1])}else{if(!r.regex)throw es(i,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+n);r.name&&"string"==typeof r.name&&(e.name=r.name),r.matchOnlyAtStart&&(e.matchOnlyAtLineStart=oY(r.matchOnlyAtLineStart,!1)),e.setRegex(t,r.regex),e.setAction(t,r.action)}s.push(e)}}}("tokenizer."+e,i.tokenizer[e],n)}if(i.usesEmbedded=t.usesEmbedded,t.brackets){if(!Array.isArray(t.brackets))throw es(i,"the 'brackets' attribute must be defined as an array")}else t.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];let n=[];for(let e of t.brackets){let t=e;if(t&&Array.isArray(t)&&3===t.length&&(t={token:t[2],open:t[0],close:t[1]}),t.open===t.close)throw es(i,"open and close brackets in a 'brackets' attribute must be different: "+t.open+"\n hint: use the 'bracket' attribute if matching on equal brackets is required.");if("string"==typeof t.open&&"string"==typeof t.token&&"string"==typeof t.close)n.push({token:t.token+i.tokenPostfix,open:ei(i,t.open),close:ei(i,t.close)});else throw es(i,"every element in the 'brackets' array must be a '{open,close,token}' object or array")}return i.brackets=n,i.noThrow=!0,i}class o5{constructor(e,t){this._languageId=e,this._actual=t}dispose(){}getInitialState(){return this._actual.getInitialState()}tokenize(e,t,i){if("function"==typeof this._actual.tokenize)return o4.adaptTokenize(this._languageId,this._actual,e,i);throw Error("Not supported!")}tokenizeEncoded(e,t,i){let n=this._actual.tokenizeEncoded(e,i);return new K.DI(n.tokens,n.endState)}}class o4{constructor(e,t,i,n){this._languageId=e,this._actual=t,this._languageService=i,this._standaloneThemeService=n}dispose(){}getInitialState(){return this._actual.getInitialState()}static _toClassicTokens(e,t){let i=[],n=0;for(let s=0,o=e.length;s0&&s[o-1]===a)continue;let d=l.startIndex;0===e?d=0:d{let i=await Promise.resolve(t.create());return i?"function"==typeof i.getInitialState?o6(e,i):new em(k.get(U.O),k.get(sN.Z),e,o2(e,i),k.get(el.Ui)):null});return K.RW.registerFactory(e,i)}var o7=i(71373);N.BH.wrappingIndent.defaultValue=0,N.BH.glyphMargin.defaultValue=!1,N.BH.autoIndent.defaultValue=3,N.BH.overviewRulerLanes.defaultValue=2,o7.xC.setFormatterSelector((e,t,i)=>Promise.resolve(e[0]));let o8=(0,E.O)();o8.editor={create:function(e,t,i){let n=k.initialize(i||{});return n.createInstance(ox,e,t)},getEditors:function(){let e=k.get(O.$);return e.listCodeEditors()},getDiffEditors:function(){let e=k.get(O.$);return e.listDiffEditors()},onDidCreateEditor:function(e){let t=k.get(O.$);return t.onCodeEditorAdd(t=>{e(t)})},onDidCreateDiffEditor:function(e){let t=k.get(O.$);return t.onDiffEditorAdd(t=>{e(t)})},createDiffEditor:function(e,t,i){let n=k.initialize(i||{});return n.createInstance(oN,e,t)},addCommand:function(e){if("string"!=typeof e.id||"function"!=typeof e.run)throw Error("Invalid command descriptor, `id` and `run` are required properties!");return tK.P.registerCommand(e.id,e.run)},addEditorAction:function(e){if("string"!=typeof e.id||"string"!=typeof e.label||"function"!=typeof e.run)throw Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");let t=ex.Ao.deserialize(e.precondition),i=new T.SL;if(i.add(tK.P.registerCommand(e.id,(i,...n)=>P._l.runEditorCommand(i,n,t,(t,i,n)=>Promise.resolve(e.run(i,...n))))),e.contextMenuGroupId){let n={command:{id:e.id,title:e.label},when:t,group:e.contextMenuGroupId,order:e.contextMenuOrder||0};i.add(iI.BH.appendMenuItem(iI.eH.EditorContext,n))}if(Array.isArray(e.keybindings)){let n=k.get(to.d);if(n instanceof oa){let s=ex.Ao.and(t,ex.Ao.deserialize(e.keybindingContext));i.add(n.addDynamicKeybindings(e.keybindings.map(t=>({keybinding:t,command:e.id,when:s}))))}else console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService")}return i},addKeybindingRule:function(e){return oQ([e])},addKeybindingRules:oQ,createModel:function(e,t,i){let n=k.get(U.O),s=n.getLanguageIdByMimeType(t)||t;return oE(k.get(Q.q),n,e,s,i)},setModelLanguage:function(e,t){let i=k.get(U.O),n=i.getLanguageIdByMimeType(t)||t||q.bd;e.setLanguage(i.createById(n))},setModelMarkers:function(e,t,i){if(e){let n=k.get(i3.lT);n.changeOne(t,e.uri,i)}},getModelMarkers:function(e){let t=k.get(i3.lT);return t.read(e)},removeAllMarkers:function(e){let t=k.get(i3.lT);t.changeAll(e,[])},onDidChangeMarkers:function(e){let t=k.get(i3.lT);return t.onMarkerChanged(e)},getModels:function(){let e=k.get(Q.q);return e.getModels()},getModel:function(e){let t=k.get(Q.q);return t.getModel(e)},onDidCreateModel:function(e){let t=k.get(Q.q);return t.onModelAdded(e)},onWillDisposeModel:function(e){let t=k.get(Q.q);return t.onModelRemoved(e)},onDidChangeModelLanguage:function(e){let t=k.get(Q.q);return t.onModelLanguageChanged(t=>{e({model:t.model,oldLanguage:t.oldLanguageId})})},createWebWorker:function(e){var t,i;return t=k.get(Q.q),i=k.get($.c_),new W(t,i,e)},colorizeElement:function(e,t){let i=k.get(U.O),n=k.get(sN.Z);return e_.colorizeElement(n,i,e,t).then(()=>{n.registerEditorContainer(e)})},colorize:function(e,t,i){let n=k.get(U.O),s=k.get(sN.Z);return s.registerEditorContainer(I.E.document.body),e_.colorize(n,e,t,i)},colorizeModelLine:function(e,t,i=4){let n=k.get(sN.Z);return n.registerEditorContainer(I.E.document.body),e_.colorizeModelLine(e,t,i)},tokenize:function(e,t){K.RW.getOrCreate(t);let i=function(e){let t=K.RW.get(e);return t||{getInitialState:()=>j.TJ,tokenize:(t,i,n)=>(0,j.Ri)(e,n)}}(t),n=(0,M.uq)(e),s=[],o=i.getInitialState();for(let e=0,t=n.length;e("string"==typeof t&&(t=R.o.parse(t)),e.open(t))})},registerEditorOpener:function(e){let t=k.get(O.$);return t.registerCodeEditorOpenHandler(async(t,i,n)=>{var s;let o;if(!i)return null;let r=null===(s=t.options)||void 0===s?void 0:s.selection;return(r&&"number"==typeof r.endLineNumber&&"number"==typeof r.endColumn?o=r:r&&(o={lineNumber:r.startLineNumber,column:r.startColumn}),await e.openCodeEditor(i,t.resource,o))?i:null})},AccessibilitySupport:Z.ao,ContentWidgetPositionPreference:Z.r3,CursorChangeReason:Z.Vi,DefaultEndOfLine:Z._x,EditorAutoIndentStrategy:Z.rf,EditorOption:Z.wT,EndOfLinePreference:Z.gm,EndOfLineSequence:Z.jl,MinimapPosition:Z.F5,MinimapSectionHeaderStyle:Z.WG,MouseTargetType:Z.MG,OverlayWidgetPositionPreference:Z.E$,OverviewRulerLane:Z.sh,GlyphMarginLane:Z.U,RenderLineNumbersType:Z.Lu,RenderMinimap:Z.vQ,ScrollbarVisibility:Z.g_,ScrollType:Z.g4,TextEditorCursorBlinkingStyle:Z.In,TextEditorCursorStyle:Z.d2,TrackedRangeStickiness:Z.OI,WrappingIndent:Z.up,InjectedTextCursorStops:Z.RM,PositionAffinity:Z.py,ShowLightbulbIconMode:Z.$r,ConfigurationChangedEvent:N.Bb,BareFontInfo:V.E4,FontInfo:V.pR,TextModelResolvedOptions:G.dJ,FindMatch:G.tk,ApplyUpdateResult:N.rk,EditorZoom:H.C,createMultiFileDiffEditor:function(e,t){let i=k.initialize(t||{});return new oG(e,{},i)},EditorType:z.g,EditorOptions:N.BH},o8.languages={register:function(e){q.dQ.registerLanguage(e)},getLanguages:function(){return[].concat(q.dQ.getLanguages())},onLanguage:function(e,t){return k.withServices(()=>{let i=k.get(U.O),n=i.onDidRequestRichLanguageFeatures(i=>{i===e&&(n.dispose(),t())});return n})},onLanguageEncountered:function(e,t){return k.withServices(()=>{let i=k.get(U.O),n=i.onDidRequestBasicLanguageFeatures(i=>{i===e&&(n.dispose(),t())});return n})},getEncodedLanguageId:function(e){let t=k.get(U.O);return t.languageIdCodec.encodeLanguageId(e)},setLanguageConfiguration:function(e,t){let i=k.get(U.O);if(!i.isRegisteredLanguageId(e))throw Error(`Cannot set configuration for unknown language ${e}`);let n=k.get($.c_);return n.register(e,t,100)},setColorMap:function(e){let t=k.get(sN.Z);if(e){let i=[null];for(let t=1,n=e.length;tt}):K.RW.register(e,o6(e,t))},setMonarchTokensProvider:function(e,t){return o3(t)?o9(e,{create:()=>t}):K.RW.register(e,new em(k.get(U.O),k.get(sN.Z),e,o2(e,t),k.get(el.Ui)))},registerReferenceProvider:function(e,t){let i=k.get(tt.p);return i.referenceProvider.register(e,t)},registerRenameProvider:function(e,t){let i=k.get(tt.p);return i.renameProvider.register(e,t)},registerNewSymbolNameProvider:function(e,t){let i=k.get(tt.p);return i.newSymbolNamesProvider.register(e,t)},registerCompletionItemProvider:function(e,t){let i=k.get(tt.p);return i.completionProvider.register(e,t)},registerSignatureHelpProvider:function(e,t){let i=k.get(tt.p);return i.signatureHelpProvider.register(e,t)},registerHoverProvider:function(e,t){let i=k.get(tt.p);return i.hoverProvider.register(e,{provideHover:async(e,i,n,s)=>{let o=e.getWordAtPosition(i);return Promise.resolve(t.provideHover(e,i,n,s)).then(e=>{if(e)return!e.range&&o&&(e.range=new tH.e(i.lineNumber,o.startColumn,i.lineNumber,o.endColumn)),e.range||(e.range=new tH.e(i.lineNumber,i.column,i.lineNumber,i.column)),e})}})},registerDocumentSymbolProvider:function(e,t){let i=k.get(tt.p);return i.documentSymbolProvider.register(e,t)},registerDocumentHighlightProvider:function(e,t){let i=k.get(tt.p);return i.documentHighlightProvider.register(e,t)},registerLinkedEditingRangeProvider:function(e,t){let i=k.get(tt.p);return i.linkedEditingRangeProvider.register(e,t)},registerDefinitionProvider:function(e,t){let i=k.get(tt.p);return i.definitionProvider.register(e,t)},registerImplementationProvider:function(e,t){let i=k.get(tt.p);return i.implementationProvider.register(e,t)},registerTypeDefinitionProvider:function(e,t){let i=k.get(tt.p);return i.typeDefinitionProvider.register(e,t)},registerCodeLensProvider:function(e,t){let i=k.get(tt.p);return i.codeLensProvider.register(e,t)},registerCodeActionProvider:function(e,t,i){let n=k.get(tt.p);return n.codeActionProvider.register(e,{providedCodeActionKinds:null==i?void 0:i.providedCodeActionKinds,documentation:null==i?void 0:i.documentation,provideCodeActions:(e,i,n,s)=>{let o=k.get(i3.lT),r=o.read({resource:e.uri}).filter(e=>tH.e.areIntersectingOrTouching(e,i));return t.provideCodeActions(e,i,{markers:r,only:n.only,trigger:n.trigger},s)},resolveCodeAction:t.resolveCodeAction})},registerDocumentFormattingEditProvider:function(e,t){let i=k.get(tt.p);return i.documentFormattingEditProvider.register(e,t)},registerDocumentRangeFormattingEditProvider:function(e,t){let i=k.get(tt.p);return i.documentRangeFormattingEditProvider.register(e,t)},registerOnTypeFormattingEditProvider:function(e,t){let i=k.get(tt.p);return i.onTypeFormattingEditProvider.register(e,t)},registerLinkProvider:function(e,t){let i=k.get(tt.p);return i.linkProvider.register(e,t)},registerColorProvider:function(e,t){let i=k.get(tt.p);return i.colorProvider.register(e,t)},registerFoldingRangeProvider:function(e,t){let i=k.get(tt.p);return i.foldingRangeProvider.register(e,t)},registerDeclarationProvider:function(e,t){let i=k.get(tt.p);return i.declarationProvider.register(e,t)},registerSelectionRangeProvider:function(e,t){let i=k.get(tt.p);return i.selectionRangeProvider.register(e,t)},registerDocumentSemanticTokensProvider:function(e,t){let i=k.get(tt.p);return i.documentSemanticTokensProvider.register(e,t)},registerDocumentRangeSemanticTokensProvider:function(e,t){let i=k.get(tt.p);return i.documentRangeSemanticTokensProvider.register(e,t)},registerInlineCompletionsProvider:function(e,t){let i=k.get(tt.p);return i.inlineCompletionsProvider.register(e,t)},registerInlineEditProvider:function(e,t){let i=k.get(tt.p);return i.inlineEditProvider.register(e,t)},registerInlayHintsProvider:function(e,t){let i=k.get(tt.p);return i.inlayHintsProvider.register(e,t)},DocumentHighlightKind:Z.MY,CompletionItemKind:Z.cm,CompletionItemTag:Z.we,CompletionItemInsertTextRule:Z.a7,SymbolKind:Z.cR,SymbolTag:Z.r4,IndentAction:Z.wU,CompletionTriggerKind:Z.Ij,SignatureHelpTriggerKind:Z.WW,InlayHintKind:Z.gl,InlineCompletionTriggerKind:Z.bw,InlineEditTriggerKind:Z.rn,CodeActionTriggerType:Z.np,NewSymbolNameTag:Z.w,NewSymbolNameTriggerKind:Z.Ll,PartialAcceptTriggerKind:Z.NA,HoverVerbosityAction:Z.bq,FoldingRangeKind:K.AD,SelectedSuggestionInfo:K.ln};let re=o8.CancellationTokenSource,rt=o8.Emitter,ri=o8.KeyCode,rn=o8.KeyMod,rs=o8.Position,ro=o8.Range,rr=o8.Selection,rl=o8.SelectionDirection,ra=o8.MarkerSeverity,rd=o8.MarkerTag,rh=o8.Uri,ru=o8.Token,rc=o8.editor,rg=o8.languages,rp=globalThis.MonacoEnvironment;((null==rp?void 0:rp.globalAPI)||"function"==typeof define&&i.amdO)&&(globalThis.monaco=o8),void 0!==globalThis.require&&"function"==typeof globalThis.require.config&&globalThis.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]}),i(96337),self.MonacoEnvironment=(g={editorWorkerService:"static/editor.worker.js"},{globalAPI:!1,getWorkerUrl:function(e,t){var n=i.p,s=(n?n.replace(/\/$/,"")+"/":"")+g[t];if(/^((http:)|(https:)|(file:)|(\/\/))/.test(s)){var o=String(window.location),r=o.substr(0,o.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(s.substring(0,r.length)!==r){/^(\/\/)/.test(s)&&(s=window.location.protocol+s);var l="/*"+t+'*/importScripts("'+s+'");',a=new Blob([l],{type:"application/javascript"});return URL.createObjectURL(a)}}return s}});var rm=D},16268:function(e,t,i){"use strict";i.d(t,{$W:function(){return m},Dt:function(){return g},G6:function(){return u},MG:function(){return c},Pf:function(){return d},i7:function(){return h},ie:function(){return r},uB:function(){return o},vU:function(){return a}});var n=i(48906);class s{constructor(){this.mapWindowIdToZoomFactor=new Map}getZoomFactor(e){var t;return null!==(t=this.mapWindowIdToZoomFactor.get(this.getWindowId(e)))&&void 0!==t?t:1}getWindowId(e){return e.vscodeWindowId}}function o(e,t,i){"string"==typeof t&&(t=e.matchMedia(t)),t.addEventListener("change",i)}function r(e){return s.INSTANCE.getZoomFactor(e)}s.INSTANCE=new s;let l=navigator.userAgent,a=l.indexOf("Firefox")>=0,d=l.indexOf("AppleWebKit")>=0,h=l.indexOf("Chrome")>=0,u=!h&&l.indexOf("Safari")>=0,c=!h&&!u&&d;l.indexOf("Electron/");let g=l.indexOf("Android")>=0,p=!1;if("function"==typeof n.E.matchMedia){let e=n.E.matchMedia("(display-mode: standalone) or (display-mode: window-controls-overlay)"),t=n.E.matchMedia("(display-mode: fullscreen)");p=e.matches,o(n.E,e,({matches:e})=>{p&&t.matches||(p=e)})}function m(){return p}},10161:function(e,t,i){"use strict";i.d(t,{D:function(){return r}});var n=i(16268),s=i(48906),o=i(1432);let r={clipboard:{writeText:o.tY||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:o.tY||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:o.tY||n.$W()?0:navigator.keyboard||n.G6?1:2,touch:"ontouchstart"in s.E||navigator.maxTouchPoints>0,pointerEvents:s.E.PointerEvent&&("ontouchstart"in s.E||navigator.maxTouchPoints>0)}},23547:function(e,t,i){"use strict";i.d(t,{g:function(){return s}});var n=i(81170);let s={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:n.v.text,INTERNAL_URI_LIST:"application/vnd.code.uri-list"}},65321:function(e,t,i){"use strict";let n,s;i.d(t,{$:function(){return eR},$Z:function(){return eP},Ay:function(){return ei},Ce:function(){return eE},Cp:function(){return eO},D6:function(){return function e(t,i){let n=w(t),s=n.document;if(t!==s.body)return new K(t.clientWidth,t.clientHeight);if(_.gn&&(null==n?void 0:n.visualViewport))return new K(n.visualViewport.width,n.visualViewport.height);if((null==n?void 0:n.innerWidth)&&n.innerHeight)return new K(n.innerWidth,n.innerHeight);if(s.body&&s.body.clientWidth&&s.body.clientHeight)return new K(s.body.clientWidth,s.body.clientHeight);if(s.documentElement&&s.documentElement.clientWidth&&s.documentElement.clientHeight)return new K(s.documentElement.clientWidth,s.documentElement.clientHeight);if(i)return e(i);throw Error("Unable to figure out browser width and height")}},Dx:function(){return V},FK:function(){return Q},GQ:function(){return O},H9:function(){return es},I8:function(){return j},If:function(){return Z},Jc:function(){return E},Jj:function(){return w},N5:function(){return ev},OO:function(){return et},PO:function(){return T},R3:function(){return eN},Re:function(){return ef},Ro:function(){return K},Uh:function(){return eF},V3:function(){return eB},WN:function(){return el},XT:function(){return function e(t,i){if(void 0!==t){let n=t.match(/^\s*var\((.+)\)$/);if(n){let t=n[1].split(",",2);return 2===t.length&&(i=e(t[1].trim(),i)),`var(${t[0]}, ${i})`}return t}return i}},Xo:function(){return N},ZY:function(){return k},_0:function(){return eL},_F:function(){return ez},_h:function(){return eV},_q:function(){return eU},aU:function(){return ed},b5:function(){return eo},bg:function(){return e_},cl:function(){return ew},dS:function(){return eu},dp:function(){return $},e4:function(){return ex},ed:function(){return D},eg:function(){return e$},ey:function(){return I},fk:function(){return function e(t,i,n=ep()){var s,o;if(n&&i)for(let r of(null===(s=n.sheet)||void 0===s||s.insertRule(`${t} {${i}}`,0),null!==(o=ea.get(n))&&void 0!==o?o:[]))e(t,i,r)}},go:function(){return eD},h:function(){return ej},i:function(){return q},iJ:function(){return eA},jL:function(){return s},jg:function(){return J},jt:function(){return eW},lI:function(){return n},mc:function(){return eI},mu:function(){return P},ne:function(){return W},nm:function(){return R},sQ:function(){return eK},se:function(){return F},tw:function(){return eC},uN:function(){return function e(t,i=ep()){var n,s;if(!i)return;let o=em(i),r=[];for(let e=0;e=0;e--)null===(n=i.sheet)||void 0===n||n.deleteRule(r[e]);for(let n of null!==(s=ea.get(i))&&void 0!==s?s:[])e(t,n)}},uP:function(){return er},uU:function(){return X},vL:function(){return eS},vY:function(){return en},vd:function(){return eb},vx:function(){return B},w:function(){return G},wY:function(){return eH},wn:function(){return Y},xQ:function(){return U},zB:function(){return ey}});var o,r,l=i(16268),a=i(10161),d=i(59069),h=i(7317),u=i(15393),c=i(17301),g=i(4669),p=i(70921),m=i(5976),f=i(66663),_=i(1432),v=i(89954),b=i(48906);let{registerWindow:C,getWindow:w,getDocument:y,getWindows:S,getWindowsCount:L,getWindowId:k,getWindowById:D,hasWindow:x,onDidRegisterWindow:N,onWillUnregisterWindow:E,onDidUnregisterWindow:I}=function(){let e=new Map;(0,b.H)(b.E,1);let t={window:b.E,disposables:new m.SL};e.set(b.E.vscodeWindowId,t);let i=new g.Q5,n=new g.Q5,s=new g.Q5;return{onDidRegisterWindow:i.event,onWillUnregisterWindow:s.event,onDidUnregisterWindow:n.event,registerWindow(t){if(e.has(t.vscodeWindowId))return m.JT.None;let o=new m.SL,r={window:t,disposables:o.add(new m.SL)};return e.set(t.vscodeWindowId,r),o.add((0,m.OF)(()=>{e.delete(t.vscodeWindowId),n.fire(t)})),o.add(R(t,eC.BEFORE_UNLOAD,()=>{s.fire(t)})),i.fire(r),o},getWindows:()=>e.values(),getWindowsCount:()=>e.size,getWindowId:e=>e.vscodeWindowId,hasWindow:t=>e.has(t),getWindowById:function(i,n){let s="number"==typeof i?e.get(i):void 0;return null!=s?s:n?t:void 0},getWindow(e){var t;return(null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView)?e.ownerDocument.defaultView.window:(null==e?void 0:e.view)?e.view.window:b.E},getDocument:e=>w(e).document}}();function T(e){for(;e.firstChild;)e.firstChild.remove()}class M{constructor(e,t,i,n){this._node=e,this._type=t,this._handler=i,this._options=n||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function R(e,t,i,n){return new M(e,t,i,n)}function A(e,t){return function(i){return t(new h.n(e,i))}}let P=function(e,t,i,n){let s=i;return"click"===t||"mousedown"===t||"contextmenu"===t?s=A(w(e),i):("keydown"===t||"keypress"===t||"keyup"===t)&&(s=function(e){return i(new d.y(e))}),R(e,t,s,n)},O=function(e,t,i){let n=A(w(e),t);return R(e,_.gn&&a.D.pointerEvents?eC.POINTER_DOWN:eC.MOUSE_DOWN,n,i)};function F(e,t,i){return(0,u.y5)(e,t,i)}class B extends u.hF{constructor(e,t){super(e,t)}}class W extends u.zh{constructor(e){super(),this.defaultTarget=e&&w(e)}cancelAndSet(e,t,i){return super.cancelAndSet(e,t,null!=i?i:this.defaultTarget)}}class H{constructor(e,t=0){this._runner=e,this.priority=t,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(e){(0,c.dL)(e)}}static sort(e,t){return t.priority-e.priority}}function V(e){return w(e).getComputedStyle(e,null)}!function(){let e=new Map,t=new Map,i=new Map,o=new Map,r=n=>{var s;i.set(n,!1);let r=null!==(s=e.get(n))&&void 0!==s?s:[];for(t.set(n,r),e.set(n,[]),o.set(n,!0);r.length>0;){r.sort(H.sort);let e=r.shift();e.execute()}o.set(n,!1)};s=(t,n,s=0)=>{let o=k(t),l=new H(n,s),a=e.get(o);return a||(a=[],e.set(o,a)),a.push(l),i.get(o)||(i.set(o,!0),t.requestAnimationFrame(()=>r(o))),l},n=(e,i,n)=>{let r=k(e);if(!o.get(r))return s(e,i,n);{let e=new H(i,n),s=t.get(r);return s||(s=[],t.set(r,s)),s.push(e),e}}}();class z{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,i){let n=V(e),s=n?n.getPropertyValue(t):"0";return z.convertToPixels(e,s)}static getBorderLeftWidth(e){return z.getDimension(e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(e){return z.getDimension(e,"border-right-width","borderRightWidth")}static getBorderTopWidth(e){return z.getDimension(e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(e){return z.getDimension(e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(e){return z.getDimension(e,"padding-left","paddingLeft")}static getPaddingRight(e){return z.getDimension(e,"padding-right","paddingRight")}static getPaddingTop(e){return z.getDimension(e,"padding-top","paddingTop")}static getPaddingBottom(e){return z.getDimension(e,"padding-bottom","paddingBottom")}static getMarginLeft(e){return z.getDimension(e,"margin-left","marginLeft")}static getMarginTop(e){return z.getDimension(e,"margin-top","marginTop")}static getMarginRight(e){return z.getDimension(e,"margin-right","marginRight")}static getMarginBottom(e){return z.getDimension(e,"margin-bottom","marginBottom")}}class K{constructor(e,t){this.width=e,this.height=t}with(e=this.width,t=this.height){return e!==this.width||t!==this.height?new K(e,t):this}static is(e){return"object"==typeof e&&"number"==typeof e.height&&"number"==typeof e.width}static lift(e){return e instanceof K?e:new K(e.width,e.height)}static equals(e,t){return e===t||!!e&&!!t&&e.width===t.width&&e.height===t.height}}function U(e){let t=e.offsetParent,i=e.offsetTop,n=e.offsetLeft;for(;null!==(e=e.parentNode)&&e!==e.ownerDocument.body&&e!==e.ownerDocument.documentElement;){i-=e.scrollTop;let s=ee(e)?null:V(e);s&&(n-="rtl"!==s.direction?e.scrollLeft:-e.scrollLeft),e===t&&(n+=z.getBorderLeftWidth(e),i+=z.getBorderTopWidth(e)+e.offsetTop,n+=e.offsetLeft,t=e.offsetParent)}return{left:n,top:i}}function $(e,t,i){"number"==typeof t&&(e.style.width=`${t}px`),"number"==typeof i&&(e.style.height=`${i}px`)}function q(e){let t=e.getBoundingClientRect(),i=w(e);return{left:t.left+i.scrollX,top:t.top+i.scrollY,width:t.width,height:t.height}}function j(e){let t=e,i=1;do{let e=V(t).zoom;null!=e&&"1"!==e&&(i*=e),t=t.parentElement}while(null!==t&&t!==t.ownerDocument.documentElement);return i}function G(e){let t=z.getMarginLeft(e)+z.getMarginRight(e);return e.offsetWidth+t}function Q(e){let t=z.getBorderLeftWidth(e)+z.getBorderRightWidth(e),i=z.getPaddingLeft(e)+z.getPaddingRight(e);return e.offsetWidth-t-i}function Z(e){let t=z.getBorderTopWidth(e)+z.getBorderBottomWidth(e),i=z.getPaddingTop(e)+z.getPaddingBottom(e);return e.offsetHeight-t-i}function Y(e){let t=z.getMarginTop(e)+z.getMarginBottom(e);return e.offsetHeight+t}function J(e,t){return!!(null==t?void 0:t.contains(e))}function X(e,t,i){return!!function(e,t,i){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(e.classList.contains(t))return e;if(i){if("string"==typeof i){if(e.classList.contains(i))break}else if(e===i)break}e=e.parentNode}return null}(e,t,i)}function ee(e){return e&&!!e.host&&!!e.mode}function et(e){return!!ei(e)}function ei(e){for(var t;e.parentNode;){if(e===(null===(t=e.ownerDocument)||void 0===t?void 0:t.body))return null;e=e.parentNode}return ee(e)?e:null}function en(){let e=er().activeElement;for(;null==e?void 0:e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function es(e){return en()===e}function eo(e){return J(en(),e)}function er(){var e;if(1>=L())return b.E.document;let t=Array.from(S()).map(({window:e})=>e.document);return null!==(e=t.find(e=>e.hasFocus()))&&void 0!==e?e:b.E.document}function el(){var e,t;let i=er();return null!==(t=null===(e=i.defaultView)||void 0===e?void 0:e.window)&&void 0!==t?t:b.E}K.None=new K(0,0);let ea=new Map;function ed(){return new eh}class eh{constructor(){this._currentCssStyle="",this._styleSheet=void 0}setStyle(e){e!==this._currentCssStyle&&(this._currentCssStyle=e,this._styleSheet?this._styleSheet.innerText=e:this._styleSheet=eu(b.E.document.head,t=>t.innerText=e))}dispose(){this._styleSheet&&(this._styleSheet.remove(),this._styleSheet=void 0)}}function eu(e=b.E.document.head,t,i){let n=document.createElement("style");if(n.type="text/css",n.media="screen",null==t||t(n),e.appendChild(n),i&&i.add((0,m.OF)(()=>e.removeChild(n))),e===b.E.document.head){let e=new Set;for(let{window:t,disposables:s}of(ea.set(n,e),S())){if(t===b.E)continue;let o=s.add(function(e,t,i){var n,s;let o=new m.SL,r=e.cloneNode(!0);for(let t of(i.document.head.appendChild(r),o.add((0,m.OF)(()=>i.document.head.removeChild(r))),em(e)))null===(n=r.sheet)||void 0===n||n.insertRule(t.cssText,null===(s=r.sheet)||void 0===s?void 0:s.cssRules.length);return o.add(ec.observe(e,o,{childList:!0})(()=>{r.textContent=e.textContent})),t.add(r),o.add((0,m.OF)(()=>t.delete(r))),o}(n,e,t));null==i||i.add(o)}}return n}let ec=new class{constructor(){this.mutationObservers=new Map}observe(e,t,i){let n=this.mutationObservers.get(e);n||(n=new Map,this.mutationObservers.set(e,n));let s=(0,v.vp)(i),o=n.get(s);if(o)o.users+=1;else{let r=new g.Q5,l=new MutationObserver(e=>r.fire(e));l.observe(e,i);let a=o={users:1,observer:l,onDidMutate:r.event};t.add((0,m.OF)(()=>{a.users-=1,0===a.users&&(r.dispose(),l.disconnect(),null==n||n.delete(s),(null==n?void 0:n.size)===0&&this.mutationObservers.delete(e))})),n.set(s,o)}return o.onDidMutate}},eg=null;function ep(){return eg||(eg=eu()),eg}function em(e){var t,i;return(null===(t=null==e?void 0:e.sheet)||void 0===t?void 0:t.rules)?e.sheet.rules:(null===(i=null==e?void 0:e.sheet)||void 0===i?void 0:i.cssRules)?e.sheet.cssRules:[]}function ef(e){return e instanceof HTMLElement||e instanceof w(e).HTMLElement}function e_(e){return e instanceof HTMLAnchorElement||e instanceof w(e).HTMLAnchorElement}function ev(e){return e instanceof MouseEvent||e instanceof w(e).MouseEvent}function eb(e){return e instanceof KeyboardEvent||e instanceof w(e).KeyboardEvent}let eC={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",POINTER_LEAVE:"pointerleave",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",PAGE_SHOW:"pageshow",PAGE_HIDE:"pagehide",PASTE:"paste",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:l.Pf?"webkitAnimationStart":"animationstart",ANIMATION_END:l.Pf?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:l.Pf?"webkitAnimationIteration":"animationiteration"};function ew(e){return!!(e&&"function"==typeof e.preventDefault&&"function"==typeof e.stopPropagation)}let ey={stop:(e,t)=>(e.preventDefault(),t&&e.stopPropagation(),e)};function eS(e){let t=[];for(let i=0;e&&e.nodeType===e.ELEMENT_NODE;i++)t[i]=e.scrollTop,e=e.parentNode;return t}function eL(e,t){for(let i=0;e&&e.nodeType===e.ELEMENT_NODE;i++)e.scrollTop!==t[i]&&(e.scrollTop=t[i]),e=e.parentNode}class ek extends m.JT{static hasFocusWithin(e){if(!ef(e))return J(e.document.activeElement,e.document);{let t=ei(e),i=t?t.activeElement:e.ownerDocument.activeElement;return J(i,e)}}constructor(e){super(),this._onDidFocus=this._register(new g.Q5),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new g.Q5),this.onDidBlur=this._onDidBlur.event;let t=ek.hasFocusWithin(e),i=!1,n=()=>{i=!1,t||(t=!0,this._onDidFocus.fire())},s=()=>{t&&(i=!0,(ef(e)?w(e):e).setTimeout(()=>{i&&(i=!1,t=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{let i=ek.hasFocusWithin(e);i!==t&&(t?s():n())},this._register(R(e,eC.FOCUS,n,!0)),this._register(R(e,eC.BLUR,s,!0)),ef(e)&&(this._register(R(e,eC.FOCUS_IN,()=>this._refreshStateHandler())),this._register(R(e,eC.FOCUS_OUT,()=>this._refreshStateHandler())))}}function eD(e){return new ek(e)}function ex(e,t){return e.after(t),t}function eN(e,...t){if(e.append(...t),1===t.length&&"string"!=typeof t[0])return t[0]}function eE(e,t){return e.insertBefore(t,e.firstChild),t}function eI(e,...t){e.innerText="",eN(e,...t)}let eT=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;function eM(e,t,i,...n){let s;let o=eT.exec(t);if(!o)throw Error("Bad use of emmet");let l=o[1]||"div";return s=e!==r.HTML?document.createElementNS(e,l):document.createElement(l),o[3]&&(s.id=o[3]),o[4]&&(s.className=o[4].replace(/\./g," ").trim()),i&&Object.entries(i).forEach(([e,t])=>{void 0!==t&&(/^on\w+$/.test(e)?s[e]=t:"selected"===e?t&&s.setAttribute(e,"true"):s.setAttribute(e,t))}),s.append(...n),s}function eR(e,t,...i){return eM(r.HTML,e,t,...i)}function eA(e,...t){e?eP(...t):eO(...t)}function eP(...e){for(let t of e)t.style.display="",t.removeAttribute("aria-hidden")}function eO(...e){for(let t of e)t.style.display="none",t.setAttribute("aria-hidden","true")}function eF(e,t){let i=e.devicePixelRatio*t;return Math.max(1,Math.floor(i))/e.devicePixelRatio}function eB(e){b.E.open(e,"_blank","noopener")}function eW(e,t){let i=()=>{t(),n=s(e,i)},n=s(e,i);return(0,m.OF)(()=>n.dispose())}function eH(e){return e?`url('${f.Gi.uriToBrowserUri(e).toString(!0).replace(/'/g,"%27")}')`:"url('')"}function eV(e){return`'${e.replace(/'/g,"%27")}'`}function ez(e,t=!1){let i=document.createElement("a");return p.v5("afterSanitizeAttributes",n=>{for(let s of["href","src"])if(n.hasAttribute(s)){let o=n.getAttribute(s);if("href"===s&&o.startsWith("#"))continue;if(i.href=o,!e.includes(i.protocol.replace(/:$/,""))){if(t&&"src"===s&&i.href.startsWith("data:"))continue;n.removeAttribute(s)}}}),(0,m.OF)(()=>{p.ok("afterSanitizeAttributes")})}(o=r||(r={})).HTML="http://www.w3.org/1999/xhtml",o.SVG="http://www.w3.org/2000/svg",eR.SVG=function(e,t,...i){return eM(r.SVG,e,t,...i)},f.WX.setPreferredWebSchema(/^https:/.test(b.E.location.href)?"https":"http");let eK=Object.freeze(["a","abbr","b","bdo","blockquote","br","caption","cite","code","col","colgroup","dd","del","details","dfn","div","dl","dt","em","figcaption","figure","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","label","li","mark","ol","p","pre","q","rp","rt","ruby","samp","small","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","time","tr","tt","u","ul","var","video","wbr"]);Object.freeze({ALLOWED_TAGS:["a","button","blockquote","code","div","h1","h2","h3","h4","h5","h6","hr","input","label","li","p","pre","select","small","span","strong","textarea","ul","ol"],ALLOWED_ATTR:["href","data-href","data-command","target","title","name","src","alt","class","id","role","tabindex","style","data-code","width","height","align","x-dispatch","required","checked","placeholder","type","start"],RETURN_DOM:!1,RETURN_DOM_FRAGMENT:!1,RETURN_TRUSTED_TYPE:!0});class eU extends g.Q5{constructor(){super(),this._subscriptions=new m.SL,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(g.ju.runAndSubscribe(N,({window:e,disposables:t})=>this.registerListeners(e,t),{window:b.E,disposables:this._subscriptions}))}registerListeners(e,t){t.add(R(e,"keydown",e=>{if(e.defaultPrevented)return;let t=new d.y(e);if(6!==t.keyCode||!e.repeat){if(e.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed="alt";else if(e.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed="ctrl";else if(e.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed="meta";else if(e.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed="shift";else{if(6===t.keyCode)return;this._keyStatus.lastKeyPressed=void 0}this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=e,this.fire(this._keyStatus))}},!0)),t.add(R(e,"keyup",e=>{!e.defaultPrevented&&(!e.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased="alt":!e.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased="ctrl":!e.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased="meta":!e.shiftKey&&this._keyStatus.shiftKey?this._keyStatus.lastKeyReleased="shift":this._keyStatus.lastKeyReleased=void 0,this._keyStatus.lastKeyPressed!==this._keyStatus.lastKeyReleased&&(this._keyStatus.lastKeyPressed=void 0),this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=e,this.fire(this._keyStatus)))},!0)),t.add(R(e.document.body,"mousedown",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),t.add(R(e.document.body,"mouseup",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),t.add(R(e.document.body,"mousemove",e=>{e.buttons&&(this._keyStatus.lastKeyPressed=void 0)},!0)),t.add(R(e,"blur",()=>{this.resetKeyStatus()}))}get keyStatus(){return this._keyStatus}resetKeyStatus(){this.doResetKeyStatus(),this.fire(this._keyStatus)}doResetKeyStatus(){this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1}}static getInstance(){return eU.instance||(eU.instance=new eU),eU.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}class e$ extends m.JT{constructor(e,t){super(),this.element=e,this.callbacks=t,this.counter=0,this.dragStartTime=0,this.registerListeners()}registerListeners(){this.callbacks.onDragStart&&this._register(R(this.element,eC.DRAG_START,e=>{var t,i;null===(i=(t=this.callbacks).onDragStart)||void 0===i||i.call(t,e)})),this.callbacks.onDrag&&this._register(R(this.element,eC.DRAG,e=>{var t,i;null===(i=(t=this.callbacks).onDrag)||void 0===i||i.call(t,e)})),this._register(R(this.element,eC.DRAG_ENTER,e=>{var t,i;this.counter++,this.dragStartTime=e.timeStamp,null===(i=(t=this.callbacks).onDragEnter)||void 0===i||i.call(t,e)})),this._register(R(this.element,eC.DRAG_OVER,e=>{var t,i;e.preventDefault(),null===(i=(t=this.callbacks).onDragOver)||void 0===i||i.call(t,e,e.timeStamp-this.dragStartTime)})),this._register(R(this.element,eC.DRAG_LEAVE,e=>{var t,i;this.counter--,0===this.counter&&(this.dragStartTime=0,null===(i=(t=this.callbacks).onDragLeave)||void 0===i||i.call(t,e))})),this._register(R(this.element,eC.DRAG_END,e=>{var t,i;this.counter=0,this.dragStartTime=0,null===(i=(t=this.callbacks).onDragEnd)||void 0===i||i.call(t,e)})),this._register(R(this.element,eC.DROP,e=>{var t,i;this.counter=0,this.dragStartTime=0,null===(i=(t=this.callbacks).onDrop)||void 0===i||i.call(t,e)}))}}let eq=/(?[\w\-]+)?(?:#(?[\w\-]+))?(?(?:\.(?:[\w\-]+))*)(?:@(?(?:[\w\_])+))?/;function ej(e,...t){let i,n;Array.isArray(t[0])?(i={},n=t[0]):(i=t[0]||{},n=t[1]);let s=eq.exec(e);if(!s||!s.groups)throw Error("Bad use of h");let o=s.groups.tag||"div",r=document.createElement(o);s.groups.id&&(r.id=s.groups.id);let l=[];if(s.groups.class)for(let e of s.groups.class.split("."))""!==e&&l.push(e);if(void 0!==i.className)for(let e of i.className.split("."))""!==e&&l.push(e);l.length>0&&(r.className=l.join(" "));let a={};if(s.groups.name&&(a[s.groups.name]=r),n)for(let e of n)ef(e)?r.appendChild(e):"string"==typeof e?r.append(e):"root"in e&&(Object.assign(a,e),r.appendChild(e.root));for(let[e,t]of Object.entries(i))if("className"!==e){if("style"===e)for(let[e,i]of Object.entries(t))r.style.setProperty(eG(e),"number"==typeof i?i+"px":""+i);else"tabIndex"===e?r.tabIndex=t:r.setAttribute(eG(e),t.toString())}return a.root=r,a}function eG(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}},70921:function(e,t,i){"use strict";i.d(t,{Nw:function(){return X},ok:function(){return et},v5:function(){return ee}});/*! @license DOMPurify 3.0.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.5/LICENSE */let{entries:n,setPrototypeOf:s,isFrozen:o,getPrototypeOf:r,getOwnPropertyDescriptor:l}=Object,{freeze:a,seal:d,create:h}=Object,{apply:u,construct:c}="undefined"!=typeof Reflect&&Reflect;u||(u=function(e,t,i){return e.apply(t,i)}),a||(a=function(e){return e}),d||(d=function(e){return e}),c||(c=function(e,t){return new e(...t)});let g=L(Array.prototype.forEach),p=L(Array.prototype.pop),m=L(Array.prototype.push),f=L(String.prototype.toLowerCase),_=L(String.prototype.toString),v=L(String.prototype.match),b=L(String.prototype.replace),C=L(String.prototype.indexOf),w=L(String.prototype.trim),y=L(RegExp.prototype.test),S=(G=TypeError,function(){for(var e=arguments.length,t=Array(e),i=0;i1?i-1:0),s=1;s/gm),V=d(/\${[\w\W]*}/gm),z=d(/^data-[\-\w.\u00B7-\uFFFF]/),K=d(/^aria-[\-\w]+$/),U=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=d(/^(?:\w+script|data):/i),q=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),j=d(/^html$/i);var G,Q=Object.freeze({__proto__:null,MUSTACHE_EXPR:W,ERB_EXPR:H,TMPLIT_EXPR:V,DATA_ATTR:z,ARIA_ATTR:K,IS_ALLOWED_URI:U,IS_SCRIPT_OR_DATA:$,ATTR_WHITESPACE:q,DOCTYPE_NAME:j});let Z=()=>"undefined"==typeof window?null:window,Y=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let i=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(i=t.getAttribute(n));let s="dompurify"+(i?"#"+i:"");try{return e.createPolicy(s,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}};var J=function e(){let t,i,s,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Z(),r=t=>e(t);if(r.version="3.0.5",r.removed=[],!o||!o.document||9!==o.document.nodeType)return r.isSupported=!1,r;let l=o.document,d=l.currentScript,{document:h}=o,{DocumentFragment:u,HTMLTemplateElement:c,Node:L,Element:W,NodeFilter:H,NamedNodeMap:V=o.NamedNodeMap||o.MozNamedAttrMap,HTMLFormElement:z,DOMParser:K,trustedTypes:$}=o,q=W.prototype,G=x(q,"cloneNode"),J=x(q,"nextSibling"),X=x(q,"childNodes"),ee=x(q,"parentNode");if("function"==typeof c){let e=h.createElement("template");e.content&&e.content.ownerDocument&&(h=e.content.ownerDocument)}let et="",{implementation:ei,createNodeIterator:en,createDocumentFragment:es,getElementsByTagName:eo}=h,{importNode:er}=l,el={};r.isSupported="function"==typeof n&&"function"==typeof ee&&ei&&void 0!==ei.createHTMLDocument;let{MUSTACHE_EXPR:ea,ERB_EXPR:ed,TMPLIT_EXPR:eh,DATA_ATTR:eu,ARIA_ATTR:ec,IS_SCRIPT_OR_DATA:eg,ATTR_WHITESPACE:ep}=Q,{IS_ALLOWED_URI:em}=Q,ef=null,e_=k({},[...N,...E,...I,...M,...A]),ev=null,eb=k({},[...P,...O,...F,...B]),eC=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ew=null,ey=null,eS=!0,eL=!0,ek=!1,eD=!0,ex=!1,eN=!1,eE=!1,eI=!1,eT=!1,eM=!1,eR=!1,eA=!0,eP=!1,eO=!0,eF=!1,eB={},eW=null,eH=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eV=null,ez=k({},["audio","video","img","source","image","track"]),eK=null,eU=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),e$="http://www.w3.org/1998/Math/MathML",eq="http://www.w3.org/2000/svg",ej="http://www.w3.org/1999/xhtml",eG=ej,eQ=!1,eZ=null,eY=k({},[e$,eq,ej],_),eJ=["application/xhtml+xml","text/html"],eX=null,e0=h.createElement("form"),e1=function(e){return e instanceof RegExp||e instanceof Function},e2=function(e){if(!eX||eX!==e){if(e&&"object"==typeof e||(e={}),e=D(e),s="application/xhtml+xml"===(i=i=-1===eJ.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?_:f,ef="ALLOWED_TAGS"in e?k({},e.ALLOWED_TAGS,s):e_,ev="ALLOWED_ATTR"in e?k({},e.ALLOWED_ATTR,s):eb,eZ="ALLOWED_NAMESPACES"in e?k({},e.ALLOWED_NAMESPACES,_):eY,eK="ADD_URI_SAFE_ATTR"in e?k(D(eU),e.ADD_URI_SAFE_ATTR,s):eU,eV="ADD_DATA_URI_TAGS"in e?k(D(ez),e.ADD_DATA_URI_TAGS,s):ez,eW="FORBID_CONTENTS"in e?k({},e.FORBID_CONTENTS,s):eH,ew="FORBID_TAGS"in e?k({},e.FORBID_TAGS,s):{},ey="FORBID_ATTR"in e?k({},e.FORBID_ATTR,s):{},eB="USE_PROFILES"in e&&e.USE_PROFILES,eS=!1!==e.ALLOW_ARIA_ATTR,eL=!1!==e.ALLOW_DATA_ATTR,ek=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eD=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ex=e.SAFE_FOR_TEMPLATES||!1,eN=e.WHOLE_DOCUMENT||!1,eT=e.RETURN_DOM||!1,eM=e.RETURN_DOM_FRAGMENT||!1,eR=e.RETURN_TRUSTED_TYPE||!1,eI=e.FORCE_BODY||!1,eA=!1!==e.SANITIZE_DOM,eP=e.SANITIZE_NAMED_PROPS||!1,eO=!1!==e.KEEP_CONTENT,eF=e.IN_PLACE||!1,em=e.ALLOWED_URI_REGEXP||U,eG=e.NAMESPACE||ej,eC=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&e1(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(eC.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&e1(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(eC.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(eC.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ex&&(eL=!1),eM&&(eT=!0),eB&&(ef=k({},[...A]),ev=[],!0===eB.html&&(k(ef,N),k(ev,P)),!0===eB.svg&&(k(ef,E),k(ev,O),k(ev,B)),!0===eB.svgFilters&&(k(ef,I),k(ev,O),k(ev,B)),!0===eB.mathMl&&(k(ef,M),k(ev,F),k(ev,B))),e.ADD_TAGS&&(ef===e_&&(ef=D(ef)),k(ef,e.ADD_TAGS,s)),e.ADD_ATTR&&(ev===eb&&(ev=D(ev)),k(ev,e.ADD_ATTR,s)),e.ADD_URI_SAFE_ATTR&&k(eK,e.ADD_URI_SAFE_ATTR,s),e.FORBID_CONTENTS&&(eW===eH&&(eW=D(eW)),k(eW,e.FORBID_CONTENTS,s)),eO&&(ef["#text"]=!0),eN&&k(ef,["html","head","body"]),ef.table&&(k(ef,["tbody"]),delete ew.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');et=(t=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===t&&(t=Y($,d)),null!==t&&"string"==typeof et&&(et=t.createHTML(""));a&&a(e),eX=e}},e5=k({},["mi","mo","mn","ms","mtext"]),e4=k({},["foreignobject","desc","title","annotation-xml"]),e3=k({},["title","style","font","a","script"]),e6=k({},E);k(e6,I),k(e6,T);let e9=k({},M);k(e9,R);let e7=function(e){let t=ee(e);t&&t.tagName||(t={namespaceURI:eG,tagName:"template"});let n=f(e.tagName),s=f(t.tagName);return!!eZ[e.namespaceURI]&&(e.namespaceURI===eq?t.namespaceURI===ej?"svg"===n:t.namespaceURI===e$?"svg"===n&&("annotation-xml"===s||e5[s]):!!e6[n]:e.namespaceURI===e$?t.namespaceURI===ej?"math"===n:t.namespaceURI===eq?"math"===n&&e4[s]:!!e9[n]:e.namespaceURI===ej?(t.namespaceURI!==eq||!!e4[s])&&(t.namespaceURI!==e$||!!e5[s])&&!e9[n]&&(e3[n]||!e6[n]):"application/xhtml+xml"===i&&!!eZ[e.namespaceURI])},e8=function(e){m(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},te=function(e,t){try{m(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ev[e]){if(eT||eM)try{e8(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}}},tt=function(e){let n,s;if(eI)e=""+e;else{let t=v(e,/^[\r\n\t ]+/);s=t&&t[0]}"application/xhtml+xml"===i&&eG===ej&&(e=''+e+"");let o=t?t.createHTML(e):e;if(eG===ej)try{n=new K().parseFromString(o,i)}catch(e){}if(!n||!n.documentElement){n=ei.createDocument(eG,"template",null);try{n.documentElement.innerHTML=eQ?et:o}catch(e){}}let r=n.body||n.documentElement;return(e&&s&&r.insertBefore(h.createTextNode(s),r.childNodes[0]||null),eG===ej)?eo.call(n,eN?"html":"body")[0]:eN?n.documentElement:r},ti=function(e){return en.call(e.ownerDocument||e,e,H.SHOW_ELEMENT|H.SHOW_COMMENT|H.SHOW_TEXT,null,!1)},tn=function(e){return"object"==typeof L?e instanceof L:e&&"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},ts=function(e,t,i){el[e]&&g(el[e],e=>{e.call(r,t,i,eX)})},to=function(e){let t;if(ts("beforeSanitizeElements",e,null),e instanceof z&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof V)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes))return e8(e),!0;let i=s(e.nodeName);if(ts("uponSanitizeElement",e,{tagName:i,allowedTags:ef}),e.hasChildNodes()&&!tn(e.firstElementChild)&&(!tn(e.content)||!tn(e.content.firstElementChild))&&y(/<[/\w]/g,e.innerHTML)&&y(/<[/\w]/g,e.textContent))return e8(e),!0;if(!ef[i]||ew[i]){if(!ew[i]&&tl(i)&&(eC.tagNameCheck instanceof RegExp&&y(eC.tagNameCheck,i)||eC.tagNameCheck instanceof Function&&eC.tagNameCheck(i)))return!1;if(eO&&!eW[i]){let t=ee(e)||e.parentNode,i=X(e)||e.childNodes;if(i&&t){let n=i.length;for(let s=n-1;s>=0;--s)t.insertBefore(G(i[s],!0),J(e))}}return e8(e),!0}return e instanceof W&&!e7(e)||("noscript"===i||"noembed"===i||"noframes"===i)&&y(/<\/no(script|embed|frames)/i,e.innerHTML)?(e8(e),!0):(ex&&3===e.nodeType&&(t=b(t=e.textContent,ea," "),t=b(t,ed," "),t=b(t,eh," "),e.textContent!==t&&(m(r.removed,{element:e.cloneNode()}),e.textContent=t)),ts("afterSanitizeElements",e,null),!1)},tr=function(e,t,i){if(eA&&("id"===t||"name"===t)&&(i in h||i in e0))return!1;if(eL&&!ey[t]&&y(eu,t));else if(eS&&y(ec,t));else if(!ev[t]||ey[t]){if(!(tl(e)&&(eC.tagNameCheck instanceof RegExp&&y(eC.tagNameCheck,e)||eC.tagNameCheck instanceof Function&&eC.tagNameCheck(e))&&(eC.attributeNameCheck instanceof RegExp&&y(eC.attributeNameCheck,t)||eC.attributeNameCheck instanceof Function&&eC.attributeNameCheck(t))||"is"===t&&eC.allowCustomizedBuiltInElements&&(eC.tagNameCheck instanceof RegExp&&y(eC.tagNameCheck,i)||eC.tagNameCheck instanceof Function&&eC.tagNameCheck(i))))return!1}else if(eK[t]);else if(y(em,b(i,ep,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===C(i,"data:")&&eV[e]);else if(ek&&!y(eg,b(i,ep,"")));else if(i)return!1;return!0},tl=function(e){return e.indexOf("-")>0},ta=function(e){let i,n,o,l;ts("beforeSanitizeAttributes",e,null);let{attributes:a}=e;if(!a)return;let d={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ev};for(l=a.length;l--;){i=a[l];let{name:h,namespaceURI:u}=i;if(n="value"===h?i.value:w(i.value),o=s(h),d.attrName=o,d.attrValue=n,d.keepAttr=!0,d.forceKeepAttr=void 0,ts("uponSanitizeAttribute",e,d),n=d.attrValue,d.forceKeepAttr||(te(h,e),!d.keepAttr))continue;if(!eD&&y(/\/>/i,n)){te(h,e);continue}ex&&(n=b(n,ea," "),n=b(n,ed," "),n=b(n,eh," "));let c=s(e.nodeName);if(tr(c,o,n)){if(eP&&("id"===o||"name"===o)&&(te(h,e),n="user-content-"+n),t&&"object"==typeof $&&"function"==typeof $.getAttributeType){if(u);else switch($.getAttributeType(c,o)){case"TrustedHTML":n=t.createHTML(n);break;case"TrustedScriptURL":n=t.createScriptURL(n)}}try{u?e.setAttributeNS(u,h,n):e.setAttribute(h,n),p(r.removed)}catch(e){}}}ts("afterSanitizeAttributes",e,null)},td=function e(t){let i;let n=ti(t);for(ts("beforeSanitizeShadowDOM",t,null);i=n.nextNode();)ts("uponSanitizeShadowNode",i,null),to(i)||(i.content instanceof u&&e(i.content),ta(i));ts("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){let i,n,o,a,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((eQ=!e)&&(e=""),"string"!=typeof e&&!tn(e)){if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw S("dirty is not a string, aborting")}else throw S("toString is not a function")}if(!r.isSupported)return e;if(eE||e2(d),r.removed=[],"string"==typeof e&&(eF=!1),eF){if(e.nodeName){let t=s(e.nodeName);if(!ef[t]||ew[t])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof L)1===(n=(i=tt("")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===n.nodeName?i=n:"HTML"===n.nodeName?i=n:i.appendChild(n);else{if(!eT&&!ex&&!eN&&-1===e.indexOf("<"))return t&&eR?t.createHTML(e):e;if(!(i=tt(e)))return eT?null:eR?et:""}i&&eI&&e8(i.firstChild);let h=ti(eF?e:i);for(;o=h.nextNode();)to(o)||(o.content instanceof u&&td(o.content),ta(o));if(eF)return e;if(eT){if(eM)for(a=es.call(i.ownerDocument);i.firstChild;)a.appendChild(i.firstChild);else a=i;return(ev.shadowroot||ev.shadowrootmode)&&(a=er.call(l,a,!0)),a}let c=eN?i.outerHTML:i.innerHTML;return eN&&ef["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&y(j,i.ownerDocument.doctype.name)&&(c="\n"+c),ex&&(c=b(c,ea," "),c=b(c,ed," "),c=b(c,eh," ")),t&&eR?t.createHTML(c):c},r.setConfig=function(e){e2(e),eE=!0},r.clearConfig=function(){eX=null,eE=!1},r.isValidAttribute=function(e,t,i){eX||e2({});let n=s(e),o=s(t);return tr(n,o,i)},r.addHook=function(e,t){"function"==typeof t&&(el[e]=el[e]||[],m(el[e],t))},r.removeHook=function(e){if(el[e])return p(el[e])},r.removeHooks=function(e){el[e]&&(el[e]=[])},r.removeAllHooks=function(){el={}},r}();J.version,J.isSupported;let X=J.sanitize;J.setConfig,J.clearConfig,J.isValidAttribute;let ee=J.addHook,et=J.removeHook;J.removeHooks,J.removeAllHooks},4850:function(e,t,i){"use strict";i.d(t,{Y:function(){return s}});var n=i(4669);class s{get event(){return this.emitter.event}constructor(e,t,i){let s=e=>this.emitter.fire(e);this.emitter=new n.Q5({onWillAddFirstListener:()=>e.addEventListener(t,s,i),onDidRemoveLastListener:()=>e.removeEventListener(t,s,i)})}dispose(){this.emitter.dispose()}}},38626:function(e,t,i){"use strict";i.d(t,{X:function(){return o},Z:function(){return n}});class n{constructor(e){this.domNode=e,this._maxWidth="",this._width="",this._height="",this._top="",this._left="",this._bottom="",this._right="",this._paddingLeft="",this._fontFamily="",this._fontWeight="",this._fontSize="",this._fontStyle="",this._fontFeatureSettings="",this._fontVariationSettings="",this._textDecoration="",this._lineHeight="",this._letterSpacing="",this._className="",this._display="",this._position="",this._visibility="",this._color="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(e){let t=s(e);this._maxWidth!==t&&(this._maxWidth=t,this.domNode.style.maxWidth=this._maxWidth)}setWidth(e){let t=s(e);this._width!==t&&(this._width=t,this.domNode.style.width=this._width)}setHeight(e){let t=s(e);this._height!==t&&(this._height=t,this.domNode.style.height=this._height)}setTop(e){let t=s(e);this._top!==t&&(this._top=t,this.domNode.style.top=this._top)}setLeft(e){let t=s(e);this._left!==t&&(this._left=t,this.domNode.style.left=this._left)}setBottom(e){let t=s(e);this._bottom!==t&&(this._bottom=t,this.domNode.style.bottom=this._bottom)}setRight(e){let t=s(e);this._right!==t&&(this._right=t,this.domNode.style.right=this._right)}setPaddingLeft(e){let t=s(e);this._paddingLeft!==t&&(this._paddingLeft=t,this.domNode.style.paddingLeft=this._paddingLeft)}setFontFamily(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(e){let t=s(e);this._fontSize!==t&&(this._fontSize=t,this.domNode.style.fontSize=this._fontSize)}setFontStyle(e){this._fontStyle!==e&&(this._fontStyle=e,this.domNode.style.fontStyle=this._fontStyle)}setFontFeatureSettings(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setFontVariationSettings(e){this._fontVariationSettings!==e&&(this._fontVariationSettings=e,this.domNode.style.fontVariationSettings=this._fontVariationSettings)}setTextDecoration(e){this._textDecoration!==e&&(this._textDecoration=e,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(e){let t=s(e);this._lineHeight!==t&&(this._lineHeight=t,this.domNode.style.lineHeight=this._lineHeight)}setLetterSpacing(e){let t=s(e);this._letterSpacing!==t&&(this._letterSpacing=t,this.domNode.style.letterSpacing=this._letterSpacing)}setClassName(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)}toggleClassName(e,t){this.domNode.classList.toggle(e,t),this._className=this.domNode.className}setDisplay(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)}setPosition(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)}setColor(e){this._color!==e&&(this._color=e,this.domNode.style.color=this._color)}setBackgroundColor(e){this._backgroundColor!==e&&(this._backgroundColor=e,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(e){this._boxShadow!==e&&(this._boxShadow=e,this.domNode.style.boxShadow=e)}setContain(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)}setAttribute(e,t){this.domNode.setAttribute(e,t)}removeAttribute(e){this.domNode.removeAttribute(e)}appendChild(e){this.domNode.appendChild(e.domNode)}removeChild(e){this.domNode.removeChild(e.domNode)}}function s(e){return"number"==typeof e?`${e}px`:e}function o(e){return new n(e)}},94079:function(e,t,i){"use strict";i.d(t,{BO:function(){return o},IY:function(){return s},az:function(){return r}});var n=i(65321);function s(e,t={}){let i=r(t);return i.textContent=e,i}function o(e,t={}){let i=r(t);return function e(t,i,s,o){let r;if(2===i.type)r=document.createTextNode(i.content||"");else if(3===i.type)r=document.createElement("b");else if(4===i.type)r=document.createElement("i");else if(7===i.type&&o)r=document.createElement("code");else if(5===i.type&&s){let e=document.createElement("a");s.disposables.add(n.mu(e,"click",e=>{s.callback(String(i.index),e)})),r=e}else 8===i.type?r=document.createElement("br"):1===i.type&&(r=t);r&&t!==r&&t.appendChild(r),r&&Array.isArray(i.children)&&i.children.forEach(t=>{e(r,t,s,o)})}(i,function(e,t){let i={type:1,children:[]},n=0,s=i,o=[],r=new l(e);for(;!r.eos();){let e=r.next(),i="\\"===e&&0!==a(r.peek(),t);if(i&&(e=r.next()),i||0===a(e,t)||e!==r.peek()){if("\n"===e)2===s.type&&(s=o.pop()),s.children.push({type:8});else if(2!==s.type){let t={type:2,content:e};s.children.push(t),o.push(s),s=t}else s.content+=e}else{r.advance(),2===s.type&&(s=o.pop());let i=a(e,t);if(s.type===i||5===s.type&&6===i)s=o.pop();else{let e={type:i,children:[]};5===i&&(e.index=n,n++),s.children.push(e),o.push(s),s=e}}}return 2===s.type&&(s=o.pop()),o.length,i}(e,!!t.renderCodeSegments),t.actionHandler,t.renderCodeSegments),i}function r(e){let t=e.inline?"span":"div",i=document.createElement(t);return e.className&&(i.className=e.className),i}class l{constructor(e){this.source=e,this.index=0}eos(){return this.index>=this.source.length}next(){let e=this.peek();return this.advance(),e}peek(){return this.source[this.index]}advance(){this.index++}}function a(e,t){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;case"`":return t?7:0;default:return 0}}},93911:function(e,t,i){"use strict";i.d(t,{C:function(){return o}});var n=i(65321),s=i(5976);class o{constructor(){this._hooks=new s.SL,this._pointerMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(e,t){if(!this.isMonitoring())return;this._hooks.clear(),this._pointerMoveCallback=null;let i=this._onStopCallback;this._onStopCallback=null,e&&i&&i(t)}isMonitoring(){return!!this._pointerMoveCallback}startMonitoring(e,t,i,o,r){this.isMonitoring()&&this.stopMonitoring(!1),this._pointerMoveCallback=o,this._onStopCallback=r;let l=e;try{e.setPointerCapture(t),this._hooks.add((0,s.OF)(()=>{try{e.releasePointerCapture(t)}catch(e){}}))}catch(t){l=n.Jj(e)}this._hooks.add(n.nm(l,n.tw.POINTER_MOVE,e=>{if(e.buttons!==i){this.stopMonitoring(!0);return}e.preventDefault(),this._pointerMoveCallback(e)})),this._hooks.add(n.nm(l,n.tw.POINTER_UP,e=>this.stopMonitoring(!0)))}}},59069:function(e,t,i){"use strict";i.d(t,{y:function(){return d}});var n=i(16268),s=i(22258),o=i(8313),r=i(1432);let l=r.dz?256:2048,a=r.dz?2048:256;class d{constructor(e){var t;this._standardKeyboardEventBrand=!0,this.browserEvent=e,this.target=e.target,this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,this.altGraphKey=null===(t=e.getModifierState)||void 0===t?void 0:t.call(e,"AltGraph"),this.keyCode=function(e){if(e.charCode){let t=String.fromCharCode(e.charCode).toUpperCase();return s.kL.fromString(t)}let t=e.keyCode;if(3===t)return 7;if(n.vU)switch(t){case 59:return 85;case 60:if(r.IJ)return 97;break;case 61:return 86;case 107:return 109;case 109:return 111;case 173:return 88;case 224:if(r.dz)return 57}else if(n.Pf&&(r.dz&&93===t||!r.dz&&92===t))return 57;return s.H_[t]||0}(e),this.code=e.code,this.ctrlKey=this.ctrlKey||5===this.keyCode,this.altKey=this.altKey||6===this.keyCode,this.shiftKey=this.shiftKey||4===this.keyCode,this.metaKey=this.metaKey||57===this.keyCode,this._asKeybinding=this._computeKeybinding(),this._asKeyCodeChord=this._computeKeyCodeChord()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeyCodeChord(){return this._asKeyCodeChord}equals(e){return this._asKeybinding===e}_computeKeybinding(){let e=0;5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode);let t=0;return this.ctrlKey&&(t|=l),this.altKey&&(t|=512),this.shiftKey&&(t|=1024),this.metaKey&&(t|=a),t|=e}_computeKeyCodeChord(){let e=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode),new o.$M(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}},5710:function(e,t,i){"use strict";i.d(t,{ap:function(){return D},et:function(){return M}});var n=i(65321),s=i(70921),o=i(4850),r=i(94079),l=i(59069),a=i(7317),d=i(56811),h=i(17301),u=i(4669),c=i(59365),g=i(21212),p=i(44742),m=i(79579),f=i(5976);let _={};!function(){var e;function t(e,t){t(_)}t.amd=!0,e=this,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i=e.length?{done:!0}:{done:!1,value:e[s++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}e.defaults=n();var s=/[&<>"']/,o=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,a={"&":"&","<":"<",">":">",'"':""","'":"'"},d=function(e){return a[e]};function h(e,t){if(t){if(s.test(e))return e.replace(o,d)}else if(r.test(e))return e.replace(l,d);return e}var u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function c(e){return e.replace(u,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}var g=/(^|[^\[])\^/g;function p(e,t){e="string"==typeof e?e:e.source,t=t||"";var i={replace:function(t,n){return n=(n=n.source||n).replace(g,"$1"),e=e.replace(t,n),i},getRegex:function(){return new RegExp(e,t)}};return i}var m=/[^\w:]/g,f=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function _(e,t,i){var n,s,o,r;if(e){try{n=decodeURIComponent(c(i)).replace(m,"").toLowerCase()}catch(e){return null}if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))return null}t&&!f.test(i)&&(s=t,o=i,v[" "+s]||(b.test(s)?v[" "+s]=s+"/":v[" "+s]=k(s,"/",!0)),r=-1===(s=v[" "+s]).indexOf(":"),i="//"===o.substring(0,2)?r?o:s.replace(C,"$1")+o:"/"!==o.charAt(0)?s+o:r?o:s.replace(w,"$1")+o);try{i=encodeURI(i).replace(/%25/g,"%")}catch(e){return null}return i}var v={},b=/^[^:]+:\/*[^/]*$/,C=/^([^:]+:)[\s\S]*$/,w=/^([^:]+:\/*[^/]*)[\s\S]*$/,y={exec:function(){}};function S(e){for(var t,i,n=1;n=0&&"\\"===i[s];)n=!n;return n?"|":" |"}).split(/ \|/),n=0;if(i[0].trim()||i.shift(),i.length>0&&!i[i.length-1].trim()&&i.pop(),i.length>t)i.splice(t);else for(;i.length1;)1&t&&(i+=e),t>>=1,e+=e;return i+e}function N(e,t,i,n){var s=t.href,o=t.title?h(t.title):null,r=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){n.state.inLink=!0;var l={type:"link",raw:i,href:s,title:o,text:r,tokens:n.inlineTokens(r)};return n.state.inLink=!1,l}return{type:"image",raw:i,href:s,title:o,text:h(r)}}var E=function(){function t(t){this.options=t||e.defaults}var n=t.prototype;return n.space=function(e){var t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}},n.code=function(e){var t=this.rules.block.code.exec(e);if(t){var i=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?i:k(i,"\n")}}},n.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var i=t[0],n=function(e,t){var i=e.match(/^(\s+)(?:```)/);if(null===i)return t;var n=i[1];return t.split("\n").map(function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=n.length?e.slice(n.length):e}).join("\n")}(i,t[3]||"");return{type:"code",raw:i,lang:t[2]?t[2].trim():t[2],text:n}}},n.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var i=t[2].trim();if(/#$/.test(i)){var n=k(i,"#");this.options.pedantic?i=n.trim():(!n||/ $/.test(n))&&(i=n.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:i,tokens:this.lexer.inline(i)}}},n.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},n.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var i=t[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(i,[]),text:i}}},n.list=function(e){var t=this.rules.block.list.exec(e);if(t){var n,s,o,r,l,a,d,h,u,c,g,p,m=t[1].trim(),f=m.length>1,_={type:"list",raw:"",ordered:f,start:f?+m.slice(0,-1):"",loose:!1,items:[]};m=f?"\\d{1,9}\\"+m.slice(-1):"\\"+m,this.options.pedantic&&(m=f?m:"[*+-]");for(var v=RegExp("^( {0,3}"+m+")((?:[ ][^\\n]*)?(?:\\n|$))");e&&(p=!1,!(!(t=v.exec(e))||this.rules.block.hr.test(e)));){if(n=t[0],e=e.substring(n.length),h=t[2].split("\n",1)[0],u=e.split("\n",1)[0],this.options.pedantic?(r=2,g=h.trimLeft()):(r=(r=t[2].search(/[^ ]/))>4?1:r,g=h.slice(r),r+=t[1].length),a=!1,!h&&/^ *$/.test(u)&&(n+=u+"\n",e=e.substring(u.length+1),p=!0),!p)for(var b=RegExp("^ {0,"+Math.min(3,r-1)+"}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))"),C=RegExp("^ {0,"+Math.min(3,r-1)+"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"),w=RegExp("^ {0,"+Math.min(3,r-1)+"}(?:```|~~~)"),y=RegExp("^ {0,"+Math.min(3,r-1)+"}#");e&&(h=c=e.split("\n",1)[0],this.options.pedantic&&(h=h.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(w.test(h)||y.test(h)||b.test(h)||C.test(e)));){if(h.search(/[^ ]/)>=r||!h.trim())g+="\n"+h.slice(r);else if(a)break;else g+="\n"+h;a||h.trim()||(a=!0),n+=c+"\n",e=e.substring(c.length+1)}!_.loose&&(d?_.loose=!0:/\n *\n *$/.test(n)&&(d=!0)),this.options.gfm&&(s=/^\[[ xX]\] /.exec(g))&&(o="[ ] "!==s[0],g=g.replace(/^\[[ xX]\] +/,"")),_.items.push({type:"list_item",raw:n,task:!!s,checked:o,loose:!1,text:g}),_.raw+=n}_.items[_.items.length-1].raw=n.trimRight(),_.items[_.items.length-1].text=g.trimRight(),_.raw=_.raw.trimRight();var S=_.items.length;for(l=0;l1)return!0;return!1});!_.loose&&L.length&&k&&(_.loose=!0,_.items[l].loose=!0)}return _}},n.html=function(e){var t=this.rules.block.html.exec(e);if(t){var i={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};if(this.options.sanitize){var n=this.options.sanitizer?this.options.sanitizer(t[0]):h(t[0]);i.type="paragraph",i.text=n,i.tokens=this.lexer.inline(n)}return i}},n.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},n.table=function(e){var t=this.rules.block.table.exec(e);if(t){var i={type:"table",header:L(t[1]).map(function(e){return{text:e}}),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(i.header.length===i.align.length){i.raw=t[0];var n,s,o,r,l=i.align.length;for(n=0;n/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):h(t[0]):t[0]}},n.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var i=t[2].trim();if(!this.options.pedantic&&/^$/.test(i))return;var n=k(i.slice(0,-1),"\\");if((i.length-n.length)%2==0)return}else{var s=function(e,t){if(-1===e.indexOf(t[1]))return -1;for(var i=e.length,n=0,s=0;s-1){var o=(0===t[0].indexOf("!")?5:4)+t[1].length+s;t[2]=t[2].substring(0,s),t[0]=t[0].substring(0,o).trim(),t[3]=""}}var r=t[2],l="";if(this.options.pedantic){var a=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);a&&(r=a[1],l=a[3])}else l=t[3]?t[3].slice(1,-1):"";return r=r.trim(),/^$/.test(i)?r.slice(1):r.slice(1,-1)),N(t,{href:r?r.replace(this.rules.inline._escapes,"$1"):r,title:l?l.replace(this.rules.inline._escapes,"$1"):l},t[0],this.lexer)}},n.reflink=function(e,t){var i;if((i=this.rules.inline.reflink.exec(e))||(i=this.rules.inline.nolink.exec(e))){var n=(i[2]||i[1]).replace(/\s+/g," ");if(!(n=t[n.toLowerCase()])||!n.href){var s=i[0].charAt(0);return{type:"text",raw:s,text:s}}return N(i,n,i[0],this.lexer)}},n.emStrong=function(e,t,i){void 0===i&&(i="");var n=this.rules.inline.emStrong.lDelim.exec(e);if(n&&!(n[3]&&i.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var s=n[1]||n[2]||"";if(!s||s&&(""===i||this.rules.inline.punctuation.exec(i))){var o,r,l=n[0].length-1,a=l,d=0,h="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(h.lastIndex=0,t=t.slice(-1*e.length+l);null!=(n=h.exec(t));)if(o=n[1]||n[2]||n[3]||n[4]||n[5]||n[6]){if(r=o.length,n[3]||n[4]){a+=r;continue}if((n[5]||n[6])&&l%3&&!((l+r)%3)){d+=r;continue}if(!((a-=r)>0)){if(Math.min(l,r=Math.min(r,r+a+d))%2){var u=e.slice(1,l+n.index+r);return{type:"em",raw:e.slice(0,l+n.index+r+1),text:u,tokens:this.lexer.inlineTokens(u)}}var c=e.slice(2,l+n.index+r-1);return{type:"strong",raw:e.slice(0,l+n.index+r+1),text:c,tokens:this.lexer.inlineTokens(c)}}}}}},n.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var i=t[2].replace(/\n/g," "),n=/[^ ]/.test(i),s=/^ /.test(i)&&/ $/.test(i);return n&&s&&(i=i.substring(1,i.length-1)),i=h(i,!0),{type:"codespan",raw:t[0],text:i}}},n.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},n.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}},n.autolink=function(e,t){var i,n,s=this.rules.inline.autolink.exec(e);if(s)return n="@"===s[2]?"mailto:"+(i=h(this.options.mangle?t(s[1]):s[1])):i=h(s[1]),{type:"link",raw:s[0],text:i,href:n,tokens:[{type:"text",raw:i,text:i}]}},n.url=function(e,t){var i,n,s,o;if(i=this.rules.inline.url.exec(e)){if("@"===i[2])s="mailto:"+(n=h(this.options.mangle?t(i[0]):i[0]));else{do o=i[0],i[0]=this.rules.inline._backpedal.exec(i[0])[0];while(o!==i[0]);n=h(i[0]),s="www."===i[1]?"http://"+n:n}return{type:"link",raw:i[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}},n.inlineText=function(e,t){var i,n=this.rules.inline.text.exec(e);if(n)return i=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):h(n[0]):n[0]:h(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:i}},t}(),I={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:y,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};I._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,I._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,I.def=p(I.def).replace("label",I._label).replace("title",I._title).getRegex(),I.bullet=/(?:[*+-]|\d{1,9}[.)])/,I.listItemStart=p(/^( *)(bull) */).replace("bull",I.bullet).getRegex(),I.list=p(I.list).replace(/bull/g,I.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+I.def.source+")").getRegex(),I._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",I._comment=/|$)/,I.html=p(I.html,"i").replace("comment",I._comment).replace("tag",I._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),I.paragraph=p(I._paragraph).replace("hr",I.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",I._tag).getRegex(),I.blockquote=p(I.blockquote).replace("paragraph",I.paragraph).getRegex(),I.normal=S({},I),I.gfm=S({},I.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),I.gfm.table=p(I.gfm.table).replace("hr",I.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",I._tag).getRegex(),I.gfm.paragraph=p(I._paragraph).replace("hr",I.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",I.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",I._tag).getRegex(),I.pedantic=S({},I.normal,{html:p("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",I._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:y,paragraph:p(I.normal._paragraph).replace("hr",I.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",I.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var T={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:y,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[^*]+(?=[^*])|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:y,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(i="x"+i.toString(16)),n+="&#"+i+";";return n}T._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",T.punctuation=p(T.punctuation).replace(/punctuation/g,T._punctuation).getRegex(),T.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,T.escapedEmSt=/\\\*|\\_/g,T._comment=p(I._comment).replace("(?:-->|$)","-->").getRegex(),T.emStrong.lDelim=p(T.emStrong.lDelim).replace(/punct/g,T._punctuation).getRegex(),T.emStrong.rDelimAst=p(T.emStrong.rDelimAst,"g").replace(/punct/g,T._punctuation).getRegex(),T.emStrong.rDelimUnd=p(T.emStrong.rDelimUnd,"g").replace(/punct/g,T._punctuation).getRegex(),T._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,T._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,T._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,T.autolink=p(T.autolink).replace("scheme",T._scheme).replace("email",T._email).getRegex(),T._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,T.tag=p(T.tag).replace("comment",T._comment).replace("attribute",T._attribute).getRegex(),T._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,T._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,T._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,T.link=p(T.link).replace("label",T._label).replace("href",T._href).replace("title",T._title).getRegex(),T.reflink=p(T.reflink).replace("label",T._label).replace("ref",I._label).getRegex(),T.nolink=p(T.nolink).replace("ref",I._label).getRegex(),T.reflinkSearch=p(T.reflinkSearch,"g").replace("reflink",T.reflink).replace("nolink",T.nolink).getRegex(),T.normal=S({},T),T.pedantic=S({},T.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",T._label).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",T._label).getRegex()}),T.gfm=S({},T.normal,{escape:p(T.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\0?t[t.length-1].raw+="\n":t.push(i);continue}if(i=this.tokenizer.code(e)){e=e.substring(i.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(i);continue}if((i=this.tokenizer.fences(e))||(i=this.tokenizer.heading(e))||(i=this.tokenizer.hr(e))||(i=this.tokenizer.blockquote(e))||(i=this.tokenizer.list(e))||(i=this.tokenizer.html(e))){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.def(e)){e=e.substring(i.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+i.raw,n.text+="\n"+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});continue}if((i=this.tokenizer.table(e))||(i=this.tokenizer.lheading(e))){e=e.substring(i.raw.length),t.push(i);continue}if(s=e,this.options.extensions&&this.options.extensions.startBlock&&function(){var t=1/0,i=e.slice(1),n=void 0;r.options.extensions.startBlock.forEach(function(e){"number"==typeof(n=e.call({lexer:this},i))&&n>=0&&(t=Math.min(t,n))}),t<1/0&&t>=0&&(s=e.substring(0,t+1))}(),this.state.top&&(i=this.tokenizer.paragraph(s))){n=t[t.length-1],o&&"paragraph"===n.type?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(i),o=s.length!==e.length,e=e.substring(i.raw.length);continue}if(i=this.tokenizer.text(e)){e=e.substring(i.raw.length),(n=t[t.length-1])&&"text"===n.type?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(i);continue}if(e){var l="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(l);break}throw Error(l)}}return this.state.top=!0,t},n.inline=function(e,t){return void 0===t&&(t=[]),this.inlineQueue.push({src:e,tokens:t}),t},n.inlineTokens=function(e,t){var i,n,s,o,r,l,a=this;void 0===t&&(t=[]);var d=e;if(this.tokens.links){var h=Object.keys(this.tokens.links);if(h.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(d));)h.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(d=d.slice(0,o.index)+"["+x("a",o[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(d));)d=d.slice(0,o.index)+"["+x("a",o[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.escapedEmSt.exec(d));)d=d.slice(0,o.index)+"++"+d.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(r||(l=""),r=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(function(n){return!!(i=n.call({lexer:a},e,t))&&(e=e.substring(i.raw.length),t.push(i),!0)}))){if(i=this.tokenizer.escape(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.tag(e)){e=e.substring(i.raw.length),(n=t[t.length-1])&&"text"===i.type&&"text"===n.type?(n.raw+=i.raw,n.text+=i.text):t.push(i);continue}if(i=this.tokenizer.link(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(i.raw.length),(n=t[t.length-1])&&"text"===i.type&&"text"===n.type?(n.raw+=i.raw,n.text+=i.text):t.push(i);continue}if((i=this.tokenizer.emStrong(e,d,l))||(i=this.tokenizer.codespan(e))||(i=this.tokenizer.br(e))||(i=this.tokenizer.del(e))||(i=this.tokenizer.autolink(e,R))||!this.state.inLink&&(i=this.tokenizer.url(e,R))){e=e.substring(i.raw.length),t.push(i);continue}if(s=e,this.options.extensions&&this.options.extensions.startInline&&function(){var t=1/0,i=e.slice(1),n=void 0;a.options.extensions.startInline.forEach(function(e){"number"==typeof(n=e.call({lexer:this},i))&&n>=0&&(t=Math.min(t,n))}),t<1/0&&t>=0&&(s=e.substring(0,t+1))}(),i=this.tokenizer.inlineText(s,M)){e=e.substring(i.raw.length),"_"!==i.raw.slice(-1)&&(l=i.raw.slice(-1)),r=!0,(n=t[t.length-1])&&"text"===n.type?(n.raw+=i.raw,n.text+=i.text):t.push(i);continue}if(e){var u="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(u);break}throw Error(u)}}return t},i=[{key:"rules",get:function(){return{block:I,inline:T}}}],function(e,t){for(var i=0;i'+(i?e:h(e,!0))+"\n":"
"+(i?e:h(e,!0))+"
\n"},i.blockquote=function(e){return"
\n"+e+"
\n"},i.html=function(e){return e},i.heading=function(e,t,i,n){return this.options.headerIds?"'+e+"\n":""+e+"\n"},i.hr=function(){return this.options.xhtml?"
\n":"
\n"},i.list=function(e,t,i){var n=t?"ol":"ul";return"<"+n+(t&&1!==i?' start="'+i+'"':"")+">\n"+e+"\n"},i.listitem=function(e){return"
  • "+e+"
  • \n"},i.checkbox=function(e){return" "},i.paragraph=function(e){return"

    "+e+"

    \n"},i.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},i.tablerow=function(e){return"\n"+e+"\n"},i.tablecell=function(e,t){var i=t.header?"th":"td";return(t.align?"<"+i+' align="'+t.align+'">':"<"+i+">")+e+"\n"},i.strong=function(e){return""+e+""},i.em=function(e){return""+e+""},i.codespan=function(e){return""+e+""},i.br=function(){return this.options.xhtml?"
    ":"
    "},i.del=function(e){return""+e+""},i.link=function(e,t,i){if(null===(e=_(this.options.sanitize,this.options.baseUrl,e)))return i;var n='"},i.image=function(e,t,i){if(null===(e=_(this.options.sanitize,this.options.baseUrl,e)))return i;var n=''+i+'":">"},i.text=function(e){return e},t}(),O=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,i){return""+i},t.image=function(e,t,i){return""+i},t.br=function(){return""},e}(),F=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var i=e,n=0;if(this.seen.hasOwnProperty(i)){n=this.seen[e];do i=e+"-"+ ++n;while(this.seen.hasOwnProperty(i))}return t||(this.seen[e]=n,this.seen[i]=0),i},t.slug=function(e,t){void 0===t&&(t={});var i=this.serialize(e);return this.getNextSafeSlug(i,t.dryrun)},e}(),B=function(){function t(t){this.options=t||e.defaults,this.options.renderer=this.options.renderer||new P,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new O,this.slugger=new F}t.parse=function(e,i){return new t(i).parse(e)},t.parseInline=function(e,i){return new t(i).parseInline(e)};var i=t.prototype;return i.parse=function(e,t){void 0===t&&(t=!0);var i,n,s,o,r,l,a,d,h,u,g,p,m,f,_,v,b,C,w,y="",S=e.length;for(i=0;i0&&"paragraph"===_.tokens[0].type?(_.tokens[0].text=C+" "+_.tokens[0].text,_.tokens[0].tokens&&_.tokens[0].tokens.length>0&&"text"===_.tokens[0].tokens[0].type&&(_.tokens[0].tokens[0].text=C+" "+_.tokens[0].tokens[0].text)):_.tokens.unshift({type:"text",text:C}):f+=C),f+=this.parse(_.tokens,m),h+=this.renderer.listitem(f,b,v);y+=this.renderer.list(h,g,p);continue;case"html":y+=this.renderer.html(u.text);continue;case"paragraph":y+=this.renderer.paragraph(this.parseInline(u.tokens));continue;case"text":for(h=u.tokens?this.parseInline(u.tokens):u.text;i+1An error occurred:

    "+h(e.message+"",!0)+"
    ";throw e}try{var a=A.lex(e,t);if(t.walkTokens){if(t.async)return Promise.all(W.walkTokens(a,t.walkTokens)).then(function(){return B.parse(a,t)}).catch(l);W.walkTokens(a,t.walkTokens)}return B.parse(a,t)}catch(e){l(e)}}W.options=W.setOptions=function(t){var i;return S(W.defaults,t),i=W.defaults,e.defaults=i,W},W.getDefaults=n,W.defaults=e.defaults,W.use=function(){for(var e,t=arguments.length,i=Array(t),n=0;nAn error occurred:

    "+h(e.message+"",!0)+"
    ";throw e}},W.Parser=B,W.parser=B.parse,W.Renderer=P,W.TextRenderer=O,W.Lexer=A,W.lexer=A.lex,W.Tokenizer=E,W.Slugger=F,W.parse=W;var H=W.options,V=W.setOptions,z=W.use,K=W.walkTokens,U=W.parseInline,$=B.parse,q=A.lex;e.Lexer=A,e.Parser=B,e.Renderer=P,e.Slugger=F,e.TextRenderer=O,e.Tokenizer=E,e.getDefaults=n,e.lexer=q,e.marked=W,e.options=H,e.parse=W,e.parseInline=U,e.parser=$,e.setOptions=V,e.use=z,e.walkTokens=K,Object.defineProperty(e,"__esModule",{value:!0})}(t.amd?_:"object"==typeof exports?exports:(e="undefined"!=typeof globalThis?globalThis:e||self).marked={})}(),_.Lexer||exports.Lexer,_.Parser||exports.Parser,_.Renderer||exports.Renderer,_.Slugger||exports.Slugger,_.TextRenderer||exports.TextRenderer,_.Tokenizer||exports.Tokenizer,_.getDefaults||exports.getDefaults,_.lexer||exports.lexer;var v=_.marked||exports.marked;_.options||exports.options,_.parse||exports.parse,_.parseInline||exports.parseInline,_.parser||exports.parser,_.setOptions||exports.setOptions,_.use||exports.use,_.walkTokens||exports.walkTokens;var b=i(23897),C=i(66663),w=i(36248),y=i(95935),S=i(97295),L=i(70666);let k=Object.freeze({image:(e,t,i)=>{let n=[],s=[];return e&&({href:e,dimensions:n}=(0,c.v1)(e),s.push(`src="${(0,c.d9)(e)}"`)),i&&s.push(`alt="${(0,c.d9)(i)}"`),t&&s.push(`title="${(0,c.d9)(t)}"`),n.length&&(s=s.concat(n)),""},paragraph:e=>`

    ${e}

    `,link:(e,t,i)=>"string"!=typeof e?"":(e===i&&(i=(0,c.oR)(i)),t="string"==typeof t?(0,c.d9)((0,c.oR)(t)):"",e=(e=(0,c.oR)(e)).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),`
    ${i}`)});function D(e,t={},i={}){var s,c;let m;let _=new f.SL,y=!1,D=(0,r.az)(t),E=function(t){let i;try{i=(0,b.Qc)(decodeURIComponent(t))}catch(e){}return i?encodeURIComponent(JSON.stringify(i=(0,w.rs)(i,t=>e.uris&&e.uris[t]?L.o.revive(e.uris[t]):void 0))):t},T=function(t,i){let n=e.uris&&e.uris[t],s=L.o.revive(n);return i?t.startsWith(C.lg.data+":")?t:(s||(s=L.o.parse(t)),C.Gi.uriToBrowserUri(s).toString(!0)):s&&L.o.parse(t).toString()!==s.toString()?(s.query&&(s=s.with({query:E(s.query)})),s.toString()):t},M=new v.Renderer;M.image=k.image,M.link=k.link,M.paragraph=k.paragraph;let R=[],A=[];if(t.codeBlockRendererSync?M.code=(e,i)=>{let n=p.a.nextId(),s=t.codeBlockRendererSync(x(i),e);return A.push([n,s]),`
    ${(0,S.YU)(e)}
    `}:t.codeBlockRenderer&&(M.code=(e,i)=>{let n=p.a.nextId(),s=t.codeBlockRenderer(x(i),e);return R.push(s.then(e=>[n,e])),`
    ${(0,S.YU)(e)}
    `}),t.actionHandler){let i=function(i){let n=i.target;if("A"===n.tagName||(n=n.parentElement)&&"A"===n.tagName)try{let s=n.dataset.href;s&&(e.baseUri&&(s=N(L.o.from(e.baseUri),s)),t.actionHandler.callback(s,i))}catch(e){(0,h.dL)(e)}finally{i.preventDefault()}},s=t.actionHandler.disposables.add(new o.Y(D,"click")),r=t.actionHandler.disposables.add(new o.Y(D,"auxclick"));t.actionHandler.disposables.add(u.ju.any(s.event,r.event)(e=>{let t=new a.n(n.Jj(D),e);(t.leftButton||t.middleButton)&&i(t)})),t.actionHandler.disposables.add(n.nm(D,"keydown",e=>{let t=new l.y(e);(t.equals(10)||t.equals(3))&&i(t)}))}e.supportHtml||(i.sanitizer=i=>{var n;if(null===(n=t.sanitizerOptions)||void 0===n?void 0:n.replaceWithPlaintext)return(0,S.YU)(i);let s=e.isTrusted?i.match(/^(]+>)|(<\/\s*span>)$/):void 0;return s?i:""},i.sanitize=!0,i.silent=!0),i.renderer=M;let P=null!==(s=e.value)&&void 0!==s?s:"";if(P.length>1e5&&(P=`${P.substr(0,1e5)}…`),e.supportThemeIcons&&(P=(0,g.f$)(P)),t.fillInIncompleteTokens){let e={...v.defaults,...i},t=v.lexer(P,e),n=function(e){for(let t=0;t<3;t++){let t=function(e){let t,i;for(t=0;t0){let e=s?n.slice(0,-1).join("\n"):i,o=!!e.match(/\|\s*$/),r=e+(o?"":"|")+` -|${" --- |".repeat(t)}`;return v.lexer(r)}}(e.slice(t));break}if(t===e.length-1&&"list"===s.type){let e=function(e){var t;let i;let n=e.items[e.items.length-1],s=n.tokens?n.tokens[n.tokens.length-1]:void 0;if((null==s?void 0:s.type)!=="text"||"inRawBlock"in n||(i=F(s)),!i||"paragraph"!==i.type)return;let o=O(e.items.slice(0,-1)),r=null===(t=n.raw.match(/^(\s*(-|\d+\.) +)/))||void 0===t?void 0:t[0];if(!r)return;let l=r+O(n.tokens.slice(0,-1))+i.raw,a=v.lexer(o+l)[0];if("list"===a.type)return a}(s);if(e){i=[e];break}}if(t===e.length-1&&"paragraph"===s.type){let e=F(s);if(e){i=[e];break}}}if(i){let n=[...e.slice(0,t),...i];return n.links=e.links,n}return null}(e);if(t)e=t;else break}return e}(t);m=v.parser(n,e)}else m=v.parse(P,i);if(e.supportThemeIcons){let e=(0,d.T)(m);m=e.map(e=>"string"==typeof e?e:e.outerHTML).join("")}let B=new DOMParser,W=B.parseFromString(I({isTrusted:e.isTrusted,...t.sanitizerOptions},m),"text/html");if(W.body.querySelectorAll("img, audio, video, source").forEach(i=>{let s=i.getAttribute("src");if(s){let o=s;try{e.baseUri&&(o=N(L.o.from(e.baseUri),o))}catch(e){}if(i.setAttribute("src",T(o,!0)),t.remoteImageIsAllowed){let e=L.o.parse(o);e.scheme===C.lg.file||e.scheme===C.lg.data||t.remoteImageIsAllowed(e)||i.replaceWith(n.$("",void 0,i.outerHTML))}}}),W.body.querySelectorAll("a").forEach(t=>{let i=t.getAttribute("href");if(t.setAttribute("href",""),!i||/^data:|javascript:/i.test(i)||/^command:/i.test(i)&&!e.isTrusted||/^command:(\/\/\/)?_workbench\.downloadResource/i.test(i))t.replaceWith(...t.childNodes);else{let n=T(i,!1);e.baseUri&&(n=N(L.o.from(e.baseUri),i)),t.dataset.href=n}}),D.innerHTML=I({isTrusted:e.isTrusted,...t.sanitizerOptions},W.body.innerHTML),R.length>0)Promise.all(R).then(e=>{var i,s;if(y)return;let o=new Map(e),r=D.querySelectorAll("div[data-code]");for(let e of r){let t=o.get(null!==(i=e.dataset.code)&&void 0!==i?i:"");t&&n.mc(e,t)}null===(s=t.asyncRenderCallback)||void 0===s||s.call(t)});else if(A.length>0){let e=new Map(A),t=D.querySelectorAll("div[data-code]");for(let i of t){let t=e.get(null!==(c=i.dataset.code)&&void 0!==c?c:"");t&&n.mc(i,t)}}if(t.asyncRenderCallback)for(let e of D.getElementsByTagName("img")){let i=_.add(n.nm(e,"load",()=>{i.dispose(),t.asyncRenderCallback()}))}return{element:D,dispose:()=>{y=!0,_.dispose()}}}function x(e){if(!e)return"";let t=e.split(/[\s+|:|,|\{|\?]/,1);return t.length?t[0]:e}function N(e,t){let i=/^\w[\w\d+.-]*:/.test(t);return i?t:e.path.endsWith("/")?(0,y.i3)(e,t).toString():(0,y.i3)((0,y.XX)(e),t).toString()}let E=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function I(e,t){let{config:i,allowedSchemes:o}=function(e){var t;let i=[C.lg.http,C.lg.https,C.lg.mailto,C.lg.data,C.lg.file,C.lg.vscodeFileResource,C.lg.vscodeRemote,C.lg.vscodeRemoteResource];return e.isTrusted&&i.push(C.lg.command),{config:{ALLOWED_TAGS:null!==(t=e.allowedTags)&&void 0!==t?t:[...n.sQ],ALLOWED_ATTR:T,ALLOW_UNKNOWN_PROTOCOLS:!0},allowedSchemes:i}}(e),r=new f.SL;r.add(W("uponSanitizeAttribute",(e,t)=>{var i;if("style"===t.attrName||"class"===t.attrName){if("SPAN"===e.tagName){if("style"===t.attrName){t.keepAttr=/^(color\:(#[0-9a-fA-F]+|var\(--vscode(-[a-zA-Z]+)+\));)?(background-color\:(#[0-9a-fA-F]+|var\(--vscode(-[a-zA-Z]+)+\));)?$/.test(t.attrValue);return}if("class"===t.attrName){t.keepAttr=/^codicon codicon-[a-z\-]+( codicon-modifier-[a-z\-]+)?$/.test(t.attrValue);return}}t.keepAttr=!1;return}if("INPUT"===e.tagName&&(null===(i=e.attributes.getNamedItem("type"))||void 0===i?void 0:i.value)==="checkbox"){if("type"===t.attrName&&"checkbox"===t.attrValue||"disabled"===t.attrName||"checked"===t.attrName){t.keepAttr=!0;return}t.keepAttr=!1}})),r.add(W("uponSanitizeElement",(t,i)=>{var n,s;if("input"!==i.tagName||((null===(n=t.attributes.getNamedItem("type"))||void 0===n?void 0:n.value)==="checkbox"?t.setAttribute("disabled",""):e.replaceWithPlaintext||null===(s=t.parentElement)||void 0===s||s.removeChild(t)),e.replaceWithPlaintext&&!i.allowedTags[i.tagName]&&"body"!==i.tagName&&t.parentElement){let e,n;if("#comment"===i.tagName)e=``;else{let s=E.includes(i.tagName),o=t.attributes.length?" "+Array.from(t.attributes).map(e=>`${e.name}="${e.value}"`).join(" "):"";e=`<${i.tagName}${o}>`,s||(n=``)}let s=document.createDocumentFragment(),o=t.parentElement.ownerDocument.createTextNode(e);s.appendChild(o);let r=n?t.parentElement.ownerDocument.createTextNode(n):void 0;for(;t.firstChild;)s.appendChild(t.firstChild);r&&s.appendChild(r),t.parentElement.replaceChild(s,t)}})),r.add(n._F(o));try{return s.Nw(t,{...i,RETURN_TRUSTED_TYPE:!0})}finally{r.dispose()}}let T=["align","autoplay","alt","checked","class","controls","data-code","data-href","disabled","draggable","height","href","loop","muted","playsinline","poster","src","style","target","title","type","width","start"];function M(e){return"string"==typeof e?e:function(e,t){var i;let n=null!==(i=e.value)&&void 0!==i?i:"";n.length>1e5&&(n=`${n.substr(0,1e5)}…`);let s=v.parse(n,{renderer:P.value}).replace(/&(#\d+|[a-zA-Z]+);/g,e=>{var t;return null!==(t=R.get(e))&&void 0!==t?t:e});return I({isTrusted:!1},s).toString()}(e)}let R=new Map([[""",'"'],[" "," "],["&","&"],["'","'"],["<","<"],[">",">"]]);function A(){let e=new v.Renderer;return e.code=e=>e,e.blockquote=e=>e,e.html=e=>"",e.heading=(e,t,i)=>e+"\n",e.hr=()=>"",e.list=(e,t)=>e,e.listitem=e=>e+"\n",e.paragraph=e=>e+"\n",e.table=(e,t)=>e+t+"\n",e.tablerow=e=>e,e.tablecell=(e,t)=>e+" ",e.strong=e=>e,e.em=e=>e,e.codespan=e=>e,e.br=()=>"\n",e.del=e=>e,e.image=(e,t,i)=>"",e.text=e=>e,e.link=(e,t,i)=>i,e}let P=new m.o(e=>A());function O(e){let t="";return e.forEach(e=>{t+=e.raw}),t}function F(e){var t,i;if(e.tokens)for(let n=e.tokens.length-1;n>=0;n--){let s=e.tokens[n];if("text"===s.type){let o=s.raw.split("\n"),r=o[o.length-1];if(r.includes("`"))return B(e,"`");if(r.includes("**"))return B(e,"**");if(r.match(/\*\w/))return B(e,"*");if(r.match(/(^|\s)__\w/))return B(e,"__");if(r.match(/(^|\s)_\w/))return B(e,"_");if(r.match(/(^|\s)\[.*\]\(\w*/)||r.match(/^[^\[]*\]\([^\)]*$/)&&e.tokens.slice(0,n).some(e=>"text"===e.type&&e.raw.match(/\[[^\]]*$/))){let s=e.tokens.slice(n+1);if((null===(t=s[0])||void 0===t?void 0:t.type)==="link"&&(null===(i=s[1])||void 0===i?void 0:i.type)==="text"&&s[1].raw.match(/^ *"[^"]*$/)||r.match(/^[^"]* +"[^"]*$/))return B(e,'")');return B(e,")")}if(r.match(/(^|\s)\[\w*/))return B(e,"](https://microsoft.com)")}}}function B(e,t){let i=O(Array.isArray(e)?e:[e]);return v.lexer(i+t)[0]}function W(e,t){return s.v5(e,t),(0,f.OF)(()=>s.ok(e))}new m.o(()=>{let e=A();return e.code=e=>"\n```"+e+"```\n",e})},7317:function(e,t,i){"use strict";i.d(t,{n:function(){return l},q:function(){return a}});var n=i(16268);let s=new WeakMap;class o{static getSameOriginWindowChain(e){let t=s.get(e);if(!t){let i;t=[],s.set(e,t);let n=e;do(i=function(e){if(!e.parent||e.parent===e)return null;try{let t=e.location,i=e.parent.location;if("null"!==t.origin&&"null"!==i.origin&&t.origin!==i.origin)return null}catch(e){return null}return e.parent}(n))?t.push({window:new WeakRef(n),iframeElement:n.frameElement||null}):t.push({window:new WeakRef(n),iframeElement:null}),n=i;while(n)}return t.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){var i,n;if(!t||e===t)return{top:0,left:0};let s=0,o=0,r=this.getSameOriginWindowChain(e);for(let e of r){let r=e.window.deref();if(s+=null!==(i=null==r?void 0:r.scrollY)&&void 0!==i?i:0,o+=null!==(n=null==r?void 0:r.scrollX)&&void 0!==n?n:0,r===t||!e.iframeElement)break;let l=e.iframeElement.getBoundingClientRect();s+=l.top,o+=l.left}return{top:s,left:o}}}var r=i(1432);class l{constructor(e,t){this.timestamp=Date.now(),this.browserEvent=t,this.leftButton=0===t.button,this.middleButton=1===t.button,this.rightButton=2===t.button,this.buttons=t.buttons,this.target=t.target,this.detail=t.detail||1,"dblclick"===t.type&&(this.detail=2),this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,"number"==typeof t.pageX?(this.posx=t.pageX,this.posy=t.pageY):(this.posx=t.clientX+this.target.ownerDocument.body.scrollLeft+this.target.ownerDocument.documentElement.scrollLeft,this.posy=t.clientY+this.target.ownerDocument.body.scrollTop+this.target.ownerDocument.documentElement.scrollTop);let i=o.getPositionOfChildWindowRelativeToAncestorWindow(e,t.view);this.posx-=i.left,this.posy-=i.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class a{constructor(e,t=0,i=0){var s;this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=i,this.deltaX=t;let o=!1;if(n.i7){let e=navigator.userAgent.match(/Chrome\/(\d+)/),t=e?parseInt(e[1]):123;o=t<=122}if(e){let t=(null===(s=e.view)||void 0===s?void 0:s.devicePixelRatio)||1;void 0!==e.wheelDeltaY?o?this.deltaY=e.wheelDeltaY/(120*t):this.deltaY=e.wheelDeltaY/120:void 0!==e.VERTICAL_AXIS&&e.axis===e.VERTICAL_AXIS?this.deltaY=-e.detail/3:"wheel"===e.type&&(e.deltaMode===e.DOM_DELTA_LINE?n.vU&&!r.dz?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40),void 0!==e.wheelDeltaX?n.G6&&r.ED?this.deltaX=-(e.wheelDeltaX/120):o?this.deltaX=e.wheelDeltaX/(120*t):this.deltaX=e.wheelDeltaX/120:void 0!==e.HORIZONTAL_AXIS&&e.axis===e.HORIZONTAL_AXIS?this.deltaX=-e.detail/3:"wheel"===e.type&&(e.deltaMode===e.DOM_DELTA_LINE?n.vU&&!r.dz?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40),0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(o?this.deltaY=e.wheelDelta/(120*t):this.deltaY=e.wheelDelta/120)}}preventDefault(){var e;null===(e=this.browserEvent)||void 0===e||e.preventDefault()}stopPropagation(){var e;null===(e=this.browserEvent)||void 0===e||e.stopPropagation()}}},50795:function(e,t,i){"use strict";var n;i.d(t,{B:function(){return n}}),function(e){let t={total:0,min:Number.MAX_VALUE,max:0},i={...t},n={...t},s={...t},o=0,r={keydown:0,input:0,render:0};function l(){1===r.keydown&&(performance.mark("keydown/end"),r.keydown=2)}function a(){performance.mark("input/start"),r.input=1,u()}function d(){1===r.input&&(performance.mark("input/end"),r.input=2)}function h(){1===r.render&&(performance.mark("render/end"),r.render=2)}function u(){setTimeout(c)}function c(){2===r.keydown&&2===r.input&&2===r.render&&(performance.mark("inputlatency/end"),performance.measure("keydown","keydown/start","keydown/end"),performance.measure("input","input/start","input/end"),performance.measure("render","render/start","render/end"),performance.measure("inputlatency","inputlatency/start","inputlatency/end"),g("keydown",t),g("input",i),g("render",n),g("inputlatency",s),o++,performance.clearMarks("keydown/start"),performance.clearMarks("keydown/end"),performance.clearMarks("input/start"),performance.clearMarks("input/end"),performance.clearMarks("render/start"),performance.clearMarks("render/end"),performance.clearMarks("inputlatency/start"),performance.clearMarks("inputlatency/end"),performance.clearMeasures("keydown"),performance.clearMeasures("input"),performance.clearMeasures("render"),performance.clearMeasures("inputlatency"),r.keydown=0,r.input=0,r.render=0)}function g(e,t){let i=performance.getEntriesByName(e)[0].duration;t.total+=i,t.min=Math.min(t.min,i),t.max=Math.max(t.max,i)}function p(e){return{average:e.total/o,max:e.max,min:e.min}}function m(e){e.total=0,e.min=Number.MAX_VALUE,e.max=0}e.onKeyDown=function(){c(),performance.mark("inputlatency/start"),performance.mark("keydown/start"),r.keydown=1,queueMicrotask(l)},e.onBeforeInput=a,e.onInput=function(){0===r.input&&a(),queueMicrotask(d)},e.onKeyUp=function(){c()},e.onSelectionChange=function(){c()},e.onRenderStart=function(){2===r.keydown&&2===r.input&&0===r.render&&(performance.mark("render/start"),r.render=1,queueMicrotask(h),u())},e.getAndClearMeasurements=function(){if(0===o)return;let e={keydown:p(t),input:p(i),render:p(n),total:p(s),sampleCount:o};return m(t),m(i),m(n),m(s),o=0,e}}(n||(n={}))},28731:function(e,t,i){"use strict";i.d(t,{T:function(){return a}});var n=i(65321),s=i(4669),o=i(5976);class r extends o.JT{constructor(e){super(),this._onDidChange=this._register(new s.Q5),this.onDidChange=this._onDidChange.event,this._listener=()=>this._handleChange(e,!0),this._mediaQueryList=null,this._handleChange(e,!1)}_handleChange(e,t){var i;null===(i=this._mediaQueryList)||void 0===i||i.removeEventListener("change",this._listener),this._mediaQueryList=e.matchMedia(`(resolution: ${e.devicePixelRatio}dppx)`),this._mediaQueryList.addEventListener("change",this._listener),t&&this._onDidChange.fire()}}class l extends o.JT{get value(){return this._value}constructor(e){super(),this._onDidChange=this._register(new s.Q5),this.onDidChange=this._onDidChange.event,this._value=this._getPixelRatio(e);let t=this._register(new r(e));this._register(t.onDidChange(()=>{this._value=this._getPixelRatio(e),this._onDidChange.fire(this._value)}))}_getPixelRatio(e){let t=document.createElement("canvas").getContext("2d"),i=e.devicePixelRatio||1,n=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return i/n}}let a=new class{constructor(){this.mapWindowIdToPixelRatioMonitor=new Map}_getOrCreatePixelRatioMonitor(e){let t=(0,n.ZY)(e),i=this.mapWindowIdToPixelRatioMonitor.get(t);return i||(i=(0,o.dk)(new l(e)),this.mapWindowIdToPixelRatioMonitor.set(t,i),(0,o.dk)(s.ju.once(n.ey)(({vscodeWindowId:e})=>{e===t&&(null==i||i.dispose(),this.mapWindowIdToPixelRatioMonitor.delete(t))}))),i}getInstance(e){return this._getOrCreatePixelRatioMonitor(e)}}},10553:function(e,t,i){"use strict";i.d(t,{o:function(){return c},t:function(){return s}});var n,s,o=i(65321),r=i(48906),l=i(9488),a=i(49898),d=i(4669),h=i(5976),u=i(91741);(n=s||(s={})).Tap="-monaco-gesturetap",n.Change="-monaco-gesturechange",n.Start="-monaco-gesturestart",n.End="-monaco-gesturesend",n.Contextmenu="-monaco-gesturecontextmenu";class c extends h.JT{constructor(){super(),this.dispatched=!1,this.targets=new u.S,this.ignoreTargets=new u.S,this.activeTouches={},this.handle=null,this._lastSetTapCountTime=0,this._register(d.ju.runAndSubscribe(o.Xo,({window:e,disposables:t})=>{t.add(o.nm(e.document,"touchstart",e=>this.onTouchStart(e),{passive:!1})),t.add(o.nm(e.document,"touchend",t=>this.onTouchEnd(e,t))),t.add(o.nm(e.document,"touchmove",e=>this.onTouchMove(e),{passive:!1}))},{window:r.E,disposables:this._store}))}static addTarget(e){if(!c.isTouchDevice())return h.JT.None;c.INSTANCE||(c.INSTANCE=(0,h.dk)(new c));let t=c.INSTANCE.targets.push(e);return(0,h.OF)(t)}static ignoreTarget(e){if(!c.isTouchDevice())return h.JT.None;c.INSTANCE||(c.INSTANCE=(0,h.dk)(new c));let t=c.INSTANCE.ignoreTargets.push(e);return(0,h.OF)(t)}static isTouchDevice(){return"ontouchstart"in r.E||navigator.maxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(e){let t=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let i=0,n=e.targetTouches.length;iMath.abs(a.initialPageX-l.Gb(a.rollingPageX))&&30>Math.abs(a.initialPageY-l.Gb(a.rollingPageY))){let e=this.newGestureEvent(s.Tap,a.initialTarget);e.pageX=l.Gb(a.rollingPageX),e.pageY=l.Gb(a.rollingPageY),this.dispatchEvent(e)}else if(d>=c.HOLD_DELAY&&30>Math.abs(a.initialPageX-l.Gb(a.rollingPageX))&&30>Math.abs(a.initialPageY-l.Gb(a.rollingPageY))){let e=this.newGestureEvent(s.Contextmenu,a.initialTarget);e.pageX=l.Gb(a.rollingPageX),e.pageY=l.Gb(a.rollingPageY),this.dispatchEvent(e)}else if(1===n){let t=l.Gb(a.rollingPageX),n=l.Gb(a.rollingPageY),s=l.Gb(a.rollingTimestamps)-a.rollingTimestamps[0],o=t-a.rollingPageX[0],r=n-a.rollingPageY[0],d=[...this.targets].filter(e=>a.initialTarget instanceof Node&&e.contains(a.initialTarget));this.inertia(e,d,i,Math.abs(o)/s,o>0?1:-1,t,Math.abs(r)/s,r>0?1:-1,n)}this.dispatchEvent(this.newGestureEvent(s.End,a.initialTarget)),delete this.activeTouches[r.identifier]}this.dispatched&&(t.preventDefault(),t.stopPropagation(),this.dispatched=!1)}newGestureEvent(e,t){let i=document.createEvent("CustomEvent");return i.initEvent(e,!1,!0),i.initialTarget=t,i.tapCount=0,i}dispatchEvent(e){if(e.type===s.Tap){let t=new Date().getTime(),i=0;i=t-this._lastSetTapCountTime>c.CLEAR_TAP_COUNT_TIME?1:2,this._lastSetTapCountTime=t,e.tapCount=i}else(e.type===s.Change||e.type===s.Contextmenu)&&(this._lastSetTapCountTime=0);if(e.initialTarget instanceof Node){for(let t of this.ignoreTargets)if(t.contains(e.initialTarget))return;let t=[];for(let i of this.targets)if(i.contains(e.initialTarget)){let n=0,s=e.initialTarget;for(;s&&s!==i;)n++,s=s.parentElement;t.push([n,i])}for(let[i,n]of(t.sort((e,t)=>e[0]-t[0]),t))n.dispatchEvent(e),this.dispatched=!0}}inertia(e,t,i,n,r,l,a,d,h){this.handle=o.jL(e,()=>{let o=Date.now(),u=o-i,g=0,p=0,m=!0;n+=c.SCROLL_FRICTION*u,a+=c.SCROLL_FRICTION*u,n>0&&(m=!1,g=r*n*u),a>0&&(m=!1,p=d*a*u);let f=this.newGestureEvent(s.Change);f.translationX=g,f.translationY=p,t.forEach(e=>e.dispatchEvent(f)),m||this.inertia(e,t,o,n,r,l+g,a,d,h+p)})}onTouchMove(e){let t=Date.now();for(let i=0,n=e.changedTouches.length;i3&&(o.rollingPageX.shift(),o.rollingPageY.shift(),o.rollingTimestamps.shift()),o.rollingPageX.push(n.pageX),o.rollingPageY.push(n.pageY),o.rollingTimestamps.push(t)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}}c.SCROLL_FRICTION=-.005,c.HOLD_DELAY=700,c.CLEAR_TAP_COUNT_TIME=400,function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);o>3&&r&&Object.defineProperty(t,i,r)}([a.H],c,"isTouchDevice",null)},77514:function(e,t,i){"use strict";i.d(t,{Z:function(){return o}});var n=i(48906),s=i(17301);function o(e,t){var i;let o=globalThis.MonacoEnvironment;if(null==o?void 0:o.createTrustedTypesPolicy)try{return o.createTrustedTypesPolicy(e,t)}catch(e){(0,s.dL)(e);return}try{return null===(i=n.E.trustedTypes)||void 0===i?void 0:i.createPolicy(e,t)}catch(e){(0,s.dL)(e);return}}},45560:function(e,t,i){"use strict";i.d(t,{gU:function(){return E},YH:function(){return N},Lc:function(){return I}});var n=i(16268),s=i(23547),o=i(65321),r=i(10553),l=i(97759),a=i(4850),d=i(59069),h=i(5710),u=i(21661),c=i(69047),g=i(9488),p=i(4669),m=i(22258),f=i(5976),_=i(1432);i(8633);var v=i(63580);let b=o.$,C="selectOption.entry.template";class w{get templateId(){return C}renderTemplate(e){let t=Object.create(null);return t.root=e,t.text=o.R3(e,b(".option-text")),t.detail=o.R3(e,b(".option-detail")),t.decoratorRight=o.R3(e,b(".option-decorator-right")),t}renderElement(e,t,i){let n=e.text,s=e.detail,o=e.decoratorRight,r=e.isDisabled;i.text.textContent=n,i.detail.textContent=s||"",i.decoratorRight.innerText=o||"",r?i.root.classList.add("option-disabled"):i.root.classList.remove("option-disabled")}disposeTemplate(e){}}class y extends f.JT{constructor(e,t,i,n,s){super(),this.options=[],this._currentSelection=0,this._hasDetails=!1,this._skipLayout=!1,this._sticky=!1,this._isVisible=!1,this.styles=n,this.selectBoxOptions=s||Object.create(null),"number"!=typeof this.selectBoxOptions.minBottomMargin?this.selectBoxOptions.minBottomMargin=y.DEFAULT_DROPDOWN_MINIMUM_BOTTOM_MARGIN:this.selectBoxOptions.minBottomMargin<0&&(this.selectBoxOptions.minBottomMargin=0),this.selectElement=document.createElement("select"),this.selectElement.className="monaco-select-box monaco-select-box-dropdown-padding","string"==typeof this.selectBoxOptions.ariaLabel&&this.selectElement.setAttribute("aria-label",this.selectBoxOptions.ariaLabel),"string"==typeof this.selectBoxOptions.ariaDescription&&this.selectElement.setAttribute("aria-description",this.selectBoxOptions.ariaDescription),this._onDidSelect=new p.Q5,this._register(this._onDidSelect),this.registerListeners(),this.constructSelectDropDown(i),this.selected=t||0,e&&this.setOptions(e,t),this.initStyleSheet()}setTitle(e){!this._hover&&e?this._hover=this._register((0,u.B)().setupUpdatableHover((0,l.tM)("mouse"),this.selectElement,e)):this._hover&&this._hover.update(e)}getHeight(){return 22}getTemplateId(){return C}constructSelectDropDown(e){this.contextViewProvider=e,this.selectDropDownContainer=o.$(".monaco-select-box-dropdown-container"),this.selectDropDownContainer.classList.add("monaco-select-box-dropdown-padding"),this.selectionDetailsPane=o.R3(this.selectDropDownContainer,b(".select-box-details-pane"));let t=o.R3(this.selectDropDownContainer,b(".select-box-dropdown-container-width-control")),i=o.R3(t,b(".width-control-div"));this.widthControlElement=document.createElement("span"),this.widthControlElement.className="option-text-width-control",o.R3(i,this.widthControlElement),this._dropDownPosition=0,this.styleElement=o.dS(this.selectDropDownContainer),this.selectDropDownContainer.setAttribute("draggable","true"),this._register(o.nm(this.selectDropDownContainer,o.tw.DRAG_START,e=>{o.zB.stop(e,!0)}))}registerListeners(){let e;this._register(o.mu(this.selectElement,"change",e=>{this.selected=e.target.selectedIndex,this._onDidSelect.fire({index:e.target.selectedIndex,selected:e.target.value}),this.options[this.selected]&&this.options[this.selected].text&&this.setTitle(this.options[this.selected].text)})),this._register(o.nm(this.selectElement,o.tw.CLICK,e=>{o.zB.stop(e),this._isVisible?this.hideSelectDropDown(!0):this.showSelectDropDown()})),this._register(o.nm(this.selectElement,o.tw.MOUSE_DOWN,e=>{o.zB.stop(e)})),this._register(o.nm(this.selectElement,"touchstart",t=>{e=this._isVisible})),this._register(o.nm(this.selectElement,"touchend",t=>{o.zB.stop(t),e?this.hideSelectDropDown(!0):this.showSelectDropDown()})),this._register(o.nm(this.selectElement,o.tw.KEY_DOWN,e=>{let t=new d.y(e),i=!1;_.dz?(18===t.keyCode||16===t.keyCode||10===t.keyCode||3===t.keyCode)&&(i=!0):(18===t.keyCode&&t.altKey||16===t.keyCode&&t.altKey||10===t.keyCode||3===t.keyCode)&&(i=!0),i&&(this.showSelectDropDown(),o.zB.stop(e,!0))}))}get onDidSelect(){return this._onDidSelect.event}setOptions(e,t){g.fS(this.options,e)||(this.options=e,this.selectElement.options.length=0,this._hasDetails=!1,this._cachedMaxDetailsHeight=void 0,this.options.forEach((e,t)=>{this.selectElement.add(this.createOption(e.text,t,e.isDisabled)),"string"==typeof e.description&&(this._hasDetails=!0)})),void 0!==t&&(this.select(t),this._currentSelection=this.selected)}setOptionsList(){var e;null===(e=this.selectList)||void 0===e||e.splice(0,this.selectList.length,this.options)}select(e){e>=0&&ethis.options.length-1?this.select(this.options.length-1):this.selected<0&&(this.selected=0),this.selectElement.selectedIndex=this.selected,this.options[this.selected]&&this.options[this.selected].text&&this.setTitle(this.options[this.selected].text)}focus(){this.selectElement&&(this.selectElement.tabIndex=0,this.selectElement.focus())}blur(){this.selectElement&&(this.selectElement.tabIndex=-1,this.selectElement.blur())}setFocusable(e){this.selectElement.tabIndex=e?0:-1}render(e){this.container=e,e.classList.add("select-container"),e.appendChild(this.selectElement),this.styleSelectElement()}initStyleSheet(){let e=[];this.styles.listFocusBackground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { background-color: ${this.styles.listFocusBackground} !important; }`),this.styles.listFocusForeground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { color: ${this.styles.listFocusForeground} !important; }`),this.styles.decoratorRightForeground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.focused) .option-decorator-right { color: ${this.styles.decoratorRightForeground}; }`),this.styles.selectBackground&&this.styles.selectBorder&&this.styles.selectBorder!==this.styles.selectBackground?(e.push(`.monaco-select-box-dropdown-container { border: 1px solid ${this.styles.selectBorder} } `),e.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-top { border-top: 1px solid ${this.styles.selectBorder} } `),e.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-bottom { border-bottom: 1px solid ${this.styles.selectBorder} } `)):this.styles.selectListBorder&&(e.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-top { border-top: 1px solid ${this.styles.selectListBorder} } `),e.push(`.monaco-select-box-dropdown-container > .select-box-details-pane.border-bottom { border-bottom: 1px solid ${this.styles.selectListBorder} } `)),this.styles.listHoverForeground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { color: ${this.styles.listHoverForeground} !important; }`),this.styles.listHoverBackground&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { background-color: ${this.styles.listHoverBackground} !important; }`),this.styles.listFocusOutline&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { outline: 1.6px dotted ${this.styles.listFocusOutline} !important; outline-offset: -1.6px !important; }`),this.styles.listHoverOutline&&e.push(`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { outline: 1.6px dashed ${this.styles.listHoverOutline} !important; outline-offset: -1.6px !important; }`),e.push(".monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled.focused { background-color: transparent !important; color: inherit !important; outline: none !important; }"),e.push(".monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled:hover { background-color: transparent !important; color: inherit !important; outline: none !important; }"),this.styleElement.textContent=e.join("\n")}styleSelectElement(){var e,t,i;let n=null!==(e=this.styles.selectBackground)&&void 0!==e?e:"",s=null!==(t=this.styles.selectForeground)&&void 0!==t?t:"",o=null!==(i=this.styles.selectBorder)&&void 0!==i?i:"";this.selectElement.style.backgroundColor=n,this.selectElement.style.color=s,this.selectElement.style.borderColor=o}styleList(){var e,t;let i=null!==(e=this.styles.selectBackground)&&void 0!==e?e:"",n=o.XT(this.styles.selectListBackground,i);this.selectDropDownListContainer.style.backgroundColor=n,this.selectionDetailsPane.style.backgroundColor=n;let s=null!==(t=this.styles.focusBorder)&&void 0!==t?t:"";this.selectDropDownContainer.style.outlineColor=s,this.selectDropDownContainer.style.outlineOffset="-1px",this.selectList.style(this.styles)}createOption(e,t,i){let n=document.createElement("option");return n.value=e,n.text=e,n.disabled=!!i,n}showSelectDropDown(){this.selectionDetailsPane.innerText="",this.contextViewProvider&&!this._isVisible&&(this.createSelectList(this.selectDropDownContainer),this.setOptionsList(),this.contextViewProvider.showContextView({getAnchor:()=>this.selectElement,render:e=>this.renderSelectDropDown(e,!0),layout:()=>{this.layoutSelectDropDown()},onHide:()=>{this.selectDropDownContainer.classList.remove("visible"),this.selectElement.classList.remove("synthetic-focus")},anchorPosition:this._dropDownPosition},this.selectBoxOptions.optionsAsChildren?this.container:void 0),this._isVisible=!0,this.hideSelectDropDown(!1),this.contextViewProvider.showContextView({getAnchor:()=>this.selectElement,render:e=>this.renderSelectDropDown(e),layout:()=>this.layoutSelectDropDown(),onHide:()=>{this.selectDropDownContainer.classList.remove("visible"),this.selectElement.classList.remove("synthetic-focus")},anchorPosition:this._dropDownPosition},this.selectBoxOptions.optionsAsChildren?this.container:void 0),this._currentSelection=this.selected,this._isVisible=!0,this.selectElement.setAttribute("aria-expanded","true"))}hideSelectDropDown(e){this.contextViewProvider&&this._isVisible&&(this._isVisible=!1,this.selectElement.setAttribute("aria-expanded","false"),e&&this.selectElement.focus(),this.contextViewProvider.hideContextView())}renderSelectDropDown(e,t){return e.appendChild(this.selectDropDownContainer),this.layoutSelectDropDown(t),{dispose:()=>{try{e.removeChild(this.selectDropDownContainer)}catch(e){}}}}measureMaxDetailsHeight(){let e=0;return this.options.forEach((t,i)=>{this.updateDetail(i),this.selectionDetailsPane.offsetHeight>e&&(e=this.selectionDetailsPane.offsetHeight)}),e}layoutSelectDropDown(e){if(this._skipLayout||!this.selectList)return!1;{this.selectDropDownContainer.classList.add("visible");let t=o.Jj(this.selectElement),i=o.i(this.selectElement),n=o.Jj(this.selectElement).getComputedStyle(this.selectElement),s=parseFloat(n.getPropertyValue("--dropdown-padding-top"))+parseFloat(n.getPropertyValue("--dropdown-padding-bottom")),r=t.innerHeight-i.top-i.height-(this.selectBoxOptions.minBottomMargin||0),l=i.top-y.DEFAULT_DROPDOWN_MINIMUM_TOP_MARGIN,a=this.selectElement.offsetWidth,d=this.setWidthControlElement(this.widthControlElement),h=Math.max(d,Math.round(a)).toString()+"px";this.selectDropDownContainer.style.width=h,this.selectList.getHTMLElement().style.height="",this.selectList.layout();let u=this.selectList.contentHeight;this._hasDetails&&void 0===this._cachedMaxDetailsHeight&&(this._cachedMaxDetailsHeight=this.measureMaxDetailsHeight());let c=this._hasDetails?this._cachedMaxDetailsHeight:0,g=u+s+c,p=Math.floor((r-s-c)/this.getHeight()),m=Math.floor((l-s-c)/this.getHeight());if(e)return!(i.top+i.height>t.innerHeight-22)&&!(i.topp&&this.options.length>p?(this._dropDownPosition=1,this.selectDropDownContainer.removeChild(this.selectDropDownListContainer),this.selectDropDownContainer.removeChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectDropDownListContainer),this.selectionDetailsPane.classList.remove("border-top"),this.selectionDetailsPane.classList.add("border-bottom")):(this._dropDownPosition=0,this.selectDropDownContainer.removeChild(this.selectDropDownListContainer),this.selectDropDownContainer.removeChild(this.selectionDetailsPane),this.selectDropDownContainer.appendChild(this.selectDropDownListContainer),this.selectDropDownContainer.appendChild(this.selectionDetailsPane),this.selectionDetailsPane.classList.remove("border-bottom"),this.selectionDetailsPane.classList.add("border-top")),!0);if(i.top+i.height>t.innerHeight-22||i.topr&&(u=p*this.getHeight())}else g>l&&(u=m*this.getHeight());return this.selectList.layout(u),this.selectList.domFocus(),this.selectList.length>0&&(this.selectList.setFocus([this.selected||0]),this.selectList.reveal(this.selectList.getFocus()[0]||0)),this._hasDetails?(this.selectList.getHTMLElement().style.height=u+s+"px",this.selectDropDownContainer.style.height=""):this.selectDropDownContainer.style.height=u+s+"px",this.updateDetail(this.selected),this.selectDropDownContainer.style.width=h,this.selectDropDownListContainer.setAttribute("tabindex","0"),this.selectElement.classList.add("synthetic-focus"),this.selectDropDownContainer.classList.add("synthetic-focus"),!0}}setWidthControlElement(e){let t=0;if(e){let i=0,n=0;this.options.forEach((e,t)=>{let s=e.detail?e.detail.length:0,o=e.decoratorRight?e.decoratorRight.length:0,r=e.text.length+s+o;r>n&&(i=t,n=r)}),e.textContent=this.options[i].text+(this.options[i].decoratorRight?this.options[i].decoratorRight+" ":""),t=o.w(e)}return t}createSelectList(e){if(this.selectList)return;this.selectDropDownListContainer=o.R3(e,b(".select-box-dropdown-list-container")),this.listRenderer=new w,this.selectList=new c.aV("SelectBoxCustom",this.selectDropDownListContainer,this,[this.listRenderer],{useShadows:!1,verticalScrollMode:3,keyboardSupport:!1,mouseSupport:!1,accessibilityProvider:{getAriaLabel:e=>{let t=e.text;return e.detail&&(t+=`. ${e.detail}`),e.decoratorRight&&(t+=`. ${e.decoratorRight}`),e.description&&(t+=`. ${e.description}`),t},getWidgetAriaLabel:()=>(0,v.NC)({key:"selectBox",comment:["Behave like native select dropdown element."]},"Select Box"),getRole:()=>_.dz?"":"option",getWidgetRole:()=>"listbox"}}),this.selectBoxOptions.ariaLabel&&(this.selectList.ariaLabel=this.selectBoxOptions.ariaLabel);let t=this._register(new a.Y(this.selectDropDownListContainer,"keydown")),i=p.ju.chain(t.event,e=>e.filter(()=>this.selectList.length>0).map(e=>new d.y(e)));this._register(p.ju.chain(i,e=>e.filter(e=>3===e.keyCode))(this.onEnter,this)),this._register(p.ju.chain(i,e=>e.filter(e=>2===e.keyCode))(this.onEnter,this)),this._register(p.ju.chain(i,e=>e.filter(e=>9===e.keyCode))(this.onEscape,this)),this._register(p.ju.chain(i,e=>e.filter(e=>16===e.keyCode))(this.onUpArrow,this)),this._register(p.ju.chain(i,e=>e.filter(e=>18===e.keyCode))(this.onDownArrow,this)),this._register(p.ju.chain(i,e=>e.filter(e=>12===e.keyCode))(this.onPageDown,this)),this._register(p.ju.chain(i,e=>e.filter(e=>11===e.keyCode))(this.onPageUp,this)),this._register(p.ju.chain(i,e=>e.filter(e=>14===e.keyCode))(this.onHome,this)),this._register(p.ju.chain(i,e=>e.filter(e=>13===e.keyCode))(this.onEnd,this)),this._register(p.ju.chain(i,e=>e.filter(e=>e.keyCode>=21&&e.keyCode<=56||e.keyCode>=85&&e.keyCode<=113))(this.onCharacter,this)),this._register(o.nm(this.selectList.getHTMLElement(),o.tw.POINTER_UP,e=>this.onPointerUp(e))),this._register(this.selectList.onMouseOver(e=>void 0!==e.index&&this.selectList.setFocus([e.index]))),this._register(this.selectList.onDidChangeFocus(e=>this.onListFocus(e))),this._register(o.nm(this.selectDropDownContainer,o.tw.FOCUS_OUT,e=>{!this._isVisible||o.jg(e.relatedTarget,this.selectDropDownContainer)||this.onListBlur()})),this.selectList.getHTMLElement().setAttribute("aria-label",this.selectBoxOptions.ariaLabel||""),this.selectList.getHTMLElement().setAttribute("aria-expanded","true"),this.styleList()}onPointerUp(e){if(!this.selectList.length)return;o.zB.stop(e);let t=e.target;if(!t||t.classList.contains("slider"))return;let i=t.closest(".monaco-list-row");if(!i)return;let n=Number(i.getAttribute("data-index")),s=i.classList.contains("option-disabled");n>=0&&n{for(let t=0;tthis.selected+2)this.selected+=2;else{if(t)return;this.selected++}this.select(this.selected),this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selectList.getFocus()[0])}}onUpArrow(e){if(this.selected>0){o.zB.stop(e,!0);let t=this.options[this.selected-1].isDisabled;t&&this.selected>1?this.selected-=2:this.selected--,this.select(this.selected),this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selectList.getFocus()[0])}}onPageUp(e){o.zB.stop(e),this.selectList.focusPreviousPage(),setTimeout(()=>{this.selected=this.selectList.getFocus()[0],this.options[this.selected].isDisabled&&this.selected{this.selected=this.selectList.getFocus()[0],this.options[this.selected].isDisabled&&this.selected>0&&(this.selected--,this.selectList.setFocus([this.selected])),this.selectList.reveal(this.selected),this.select(this.selected)},1)}onHome(e){o.zB.stop(e),this.options.length<2||(this.selected=0,this.options[this.selected].isDisabled&&this.selected>1&&this.selected++,this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selected),this.select(this.selected))}onEnd(e){o.zB.stop(e),this.options.length<2||(this.selected=this.options.length-1,this.options[this.selected].isDisabled&&this.selected>1&&this.selected--,this.selectList.setFocus([this.selected]),this.selectList.reveal(this.selected),this.select(this.selected))}onCharacter(e){let t=m.kL.toString(e.keyCode),i=-1;for(let n=0;n{this._register(o.nm(this.selectElement,e,e=>{this.selectElement.focus()}))}),this._register(o.mu(this.selectElement,"click",e=>{o.zB.stop(e,!0)})),this._register(o.mu(this.selectElement,"change",e=>{this.selectElement.title=e.target.value,this._onDidSelect.fire({index:e.target.selectedIndex,selected:e.target.value})})),this._register(o.mu(this.selectElement,"keydown",e=>{let t=!1;_.dz?(18===e.keyCode||16===e.keyCode||10===e.keyCode)&&(t=!0):(18===e.keyCode&&e.altKey||10===e.keyCode||3===e.keyCode)&&(t=!0),t&&e.stopPropagation()}))}get onDidSelect(){return this._onDidSelect.event}setOptions(e,t){this.options&&g.fS(this.options,e)||(this.options=e,this.selectElement.options.length=0,this.options.forEach((e,t)=>{this.selectElement.add(this.createOption(e.text,t,e.isDisabled))})),void 0!==t&&this.select(t)}select(e){0===this.options.length?this.selected=0:e>=0&&ethis.options.length-1?this.select(this.options.length-1):this.selected<0&&(this.selected=0),this.selectElement.selectedIndex=this.selected,this.selected{this.element&&this.handleActionChangeEvent(e)}))}handleActionChangeEvent(e){void 0!==e.enabled&&this.updateEnabled(),void 0!==e.checked&&this.updateChecked(),void 0!==e.class&&this.updateClass(),void 0!==e.label&&(this.updateLabel(),this.updateTooltip()),void 0!==e.tooltip&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new D.Wi)),this._actionRunner}set actionRunner(e){this._actionRunner=e}isEnabled(){return this._action.enabled}setActionContext(e){this._context=e}render(e){let t=this.element=e;this._register(r.o.addTarget(e));let i=this.options&&this.options.draggable;i&&(e.draggable=!0,n.vU&&this._register((0,o.nm)(e,o.tw.DRAG_START,e=>{var t;return null===(t=e.dataTransfer)||void 0===t?void 0:t.setData(s.g.TEXT,this._action.label)}))),this._register((0,o.nm)(t,r.t.Tap,e=>this.onClick(e,!0))),this._register((0,o.nm)(t,o.tw.MOUSE_DOWN,e=>{i||o.zB.stop(e,!0),this._action.enabled&&0===e.button&&t.classList.add("active")})),_.dz&&this._register((0,o.nm)(t,o.tw.CONTEXT_MENU,e=>{0===e.button&&!0===e.ctrlKey&&this.onClick(e)})),this._register((0,o.nm)(t,o.tw.CLICK,e=>{o.zB.stop(e,!0),this.options&&this.options.isMenu||this.onClick(e)})),this._register((0,o.nm)(t,o.tw.DBLCLICK,e=>{o.zB.stop(e,!0)})),[o.tw.MOUSE_UP,o.tw.MOUSE_OUT].forEach(e=>{this._register((0,o.nm)(t,e,e=>{o.zB.stop(e),t.classList.remove("active")}))})}onClick(e,t=!1){var i;o.zB.stop(e,!0);let n=x.Jp(this._context)?(null===(i=this.options)||void 0===i?void 0:i.useEventAsContext)?e:{preserveFocus:t}:this._context;this.actionRunner.run(this._action,n)}focus(){this.element&&(this.element.tabIndex=0,this.element.focus(),this.element.classList.add("focused"))}blur(){this.element&&(this.element.blur(),this.element.tabIndex=-1,this.element.classList.remove("focused"))}setFocusable(e){this.element&&(this.element.tabIndex=e?0:-1)}get trapsArrowNavigation(){return!1}updateEnabled(){}updateLabel(){}getClass(){return this.action.class}getTooltip(){return this.action.tooltip}updateTooltip(){var e,t,i;if(!this.element)return;let n=null!==(e=this.getTooltip())&&void 0!==e?e:"";if(this.updateAriaLabel(),null===(t=this.options.hoverDelegate)||void 0===t?void 0:t.showNativeHover)this.element.title=n;else if(this.customHover||""===n)this.customHover&&this.customHover.update(n);else{let e=null!==(i=this.options.hoverDelegate)&&void 0!==i?i:(0,l.tM)("element");this.customHover=this._store.add((0,u.B)().setupUpdatableHover(e,this.element,n))}}updateAriaLabel(){var e;if(this.element){let t=null!==(e=this.getTooltip())&&void 0!==e?e:"";this.element.setAttribute("aria-label",t)}}updateClass(){}updateChecked(){}dispose(){this.element&&(this.element.remove(),this.element=void 0),this._context=void 0,super.dispose()}}class E extends N{constructor(e,t,i){super(e,t,i),this.options=i,this.options.icon=void 0!==i.icon&&i.icon,this.options.label=void 0===i.label||i.label,this.cssClass=""}render(e){super.render(e),x.p_(this.element);let t=document.createElement("a");if(t.classList.add("action-label"),t.setAttribute("role",this.getDefaultAriaRole()),this.label=t,this.element.appendChild(t),this.options.label&&this.options.keybinding){let e=document.createElement("span");e.classList.add("keybinding"),e.textContent=this.options.keybinding,this.element.appendChild(e)}this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}getDefaultAriaRole(){return this._action.id===D.Z0.ID?"presentation":this.options.isMenu?"menuitem":"button"}focus(){this.label&&(this.label.tabIndex=0,this.label.focus())}blur(){this.label&&(this.label.tabIndex=-1)}setFocusable(e){this.label&&(this.label.tabIndex=e?0:-1)}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.action.label)}getTooltip(){let e=null;return this.action.tooltip?e=this.action.tooltip:!this.options.label&&this.action.label&&this.options.icon&&(e=this.action.label,this.options.keybinding&&(e=v.NC({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),null!=e?e:void 0}updateClass(){var e;this.cssClass&&this.label&&this.label.classList.remove(...this.cssClass.split(" ")),this.options.icon?(this.cssClass=this.getClass(),this.label&&(this.label.classList.add("codicon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" "))),this.updateEnabled()):null===(e=this.label)||void 0===e||e.classList.remove("codicon")}updateEnabled(){var e,t;this.action.enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),this.label.classList.remove("disabled")),null===(e=this.element)||void 0===e||e.classList.remove("disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),this.label.classList.add("disabled")),null===(t=this.element)||void 0===t||t.classList.add("disabled"))}updateAriaLabel(){var e;if(this.label){let t=null!==(e=this.getTooltip())&&void 0!==e?e:"";this.label.setAttribute("aria-label",t)}}updateChecked(){this.label&&(void 0!==this.action.checked?(this.label.classList.toggle("checked",this.action.checked),this.label.setAttribute("aria-checked",this.action.checked?"true":"false"),this.label.setAttribute("role","checkbox")):(this.label.classList.remove("checked"),this.label.removeAttribute("aria-checked"),this.label.setAttribute("role",this.getDefaultAriaRole())))}}class I extends N{constructor(e,t,i,n,s,o,r){super(e,t),this.selectBox=new k(i,n,s,o,r),this.selectBox.setFocusable(!1),this._register(this.selectBox),this.registerListeners()}select(e){this.selectBox.select(e)}registerListeners(){this._register(this.selectBox.onDidSelect(e=>this.runAction(e.selected,e.index)))}runAction(e,t){this.actionRunner.run(this._action,this.getActionContext(e,t))}getActionContext(e,t){return e}setFocusable(e){this.selectBox.setFocusable(e)}focus(){var e;null===(e=this.selectBox)||void 0===e||e.focus()}blur(){var e;null===(e=this.selectBox)||void 0===e||e.blur()}render(e){this.selectBox.render(e)}}},90317:function(e,t,i){"use strict";i.d(t,{o:function(){return u}});var n=i(65321),s=i(59069),o=i(45560),r=i(97759),l=i(74741),a=i(4669),d=i(5976),h=i(98401);i(13880);class u extends d.JT{constructor(e,t={}){var i,h,u,c,g,p,m;let f,_;switch(super(),this._actionRunnerDisposables=this._register(new d.SL),this.viewItemDisposables=this._register(new d.b2),this.triggerKeyDown=!1,this.focusable=!0,this._onDidBlur=this._register(new a.Q5),this.onDidBlur=this._onDidBlur.event,this._onDidCancel=this._register(new a.Q5({onWillAddFirstListener:()=>this.cancelHasListener=!0})),this.onDidCancel=this._onDidCancel.event,this.cancelHasListener=!1,this._onDidRun=this._register(new a.Q5),this.onDidRun=this._onDidRun.event,this._onWillRun=this._register(new a.Q5),this.onWillRun=this._onWillRun.event,this.options=t,this._context=null!==(i=t.context)&&void 0!==i?i:null,this._orientation=null!==(h=this.options.orientation)&&void 0!==h?h:0,this._triggerKeys={keyDown:null!==(c=null===(u=this.options.triggerKeys)||void 0===u?void 0:u.keyDown)&&void 0!==c&&c,keys:null!==(p=null===(g=this.options.triggerKeys)||void 0===g?void 0:g.keys)&&void 0!==p?p:[3,10]},this._hoverDelegate=null!==(m=t.hoverDelegate)&&void 0!==m?m:this._register((0,r.p0)()),this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new l.Wi,this._actionRunnerDisposables.add(this._actionRunner)),this._actionRunnerDisposables.add(this._actionRunner.onDidRun(e=>this._onDidRun.fire(e))),this._actionRunnerDisposables.add(this._actionRunner.onWillRun(e=>this._onWillRun.fire(e))),this.viewItems=[],this.focusedItem=void 0,this.domNode=document.createElement("div"),this.domNode.className="monaco-action-bar",this._orientation){case 0:f=[15],_=[17];break;case 1:f=[16],_=[18],this.domNode.className+=" vertical"}this._register(n.nm(this.domNode,n.tw.KEY_DOWN,e=>{let t=new s.y(e),i=!0,n="number"==typeof this.focusedItem?this.viewItems[this.focusedItem]:void 0;f&&(t.equals(f[0])||t.equals(f[1]))?i=this.focusPrevious():_&&(t.equals(_[0])||t.equals(_[1]))?i=this.focusNext():t.equals(9)&&this.cancelHasListener?this._onDidCancel.fire():t.equals(14)?i=this.focusFirst():t.equals(13)?i=this.focusLast():t.equals(2)&&n instanceof o.YH&&n.trapsArrowNavigation?i=this.focusNext():this.isTriggerKeyEvent(t)?this._triggerKeys.keyDown?this.doTrigger(t):this.triggerKeyDown=!0:i=!1,i&&(t.preventDefault(),t.stopPropagation())})),this._register(n.nm(this.domNode,n.tw.KEY_UP,e=>{let t=new s.y(e);this.isTriggerKeyEvent(t)?(!this._triggerKeys.keyDown&&this.triggerKeyDown&&(this.triggerKeyDown=!1,this.doTrigger(t)),t.preventDefault(),t.stopPropagation()):(t.equals(2)||t.equals(1026)||t.equals(16)||t.equals(18)||t.equals(15)||t.equals(17))&&this.updateFocusedItem()})),this.focusTracker=this._register(n.go(this.domNode)),this._register(this.focusTracker.onDidBlur(()=>{n.vY()!==this.domNode&&n.jg(n.vY(),this.domNode)||(this._onDidBlur.fire(),this.previouslyFocusedItem=this.focusedItem,this.focusedItem=void 0,this.triggerKeyDown=!1)})),this._register(this.focusTracker.onDidFocus(()=>this.updateFocusedItem())),this.actionsList=document.createElement("ul"),this.actionsList.className="actions-container",this.options.highlightToggledItems&&this.actionsList.classList.add("highlight-toggled"),this.actionsList.setAttribute("role",this.options.ariaRole||"toolbar"),this.options.ariaLabel&&this.actionsList.setAttribute("aria-label",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),e.appendChild(this.domNode)}refreshRole(){this.length()>=1?this.actionsList.setAttribute("role",this.options.ariaRole||"toolbar"):this.actionsList.setAttribute("role","presentation")}setFocusable(e){if(this.focusable=e,this.focusable){let e=this.viewItems.find(e=>e instanceof o.YH&&e.isEnabled());e instanceof o.YH&&e.setFocusable(!0)}else this.viewItems.forEach(e=>{e instanceof o.YH&&e.setFocusable(!1)})}isTriggerKeyEvent(e){let t=!1;return this._triggerKeys.keys.forEach(i=>{t=t||e.equals(i)}),t}updateFocusedItem(){var e,t;for(let i=0;it.setActionContext(e))}get actionRunner(){return this._actionRunner}set actionRunner(e){this._actionRunner=e,this._actionRunnerDisposables.clear(),this._actionRunnerDisposables.add(this._actionRunner.onDidRun(e=>this._onDidRun.fire(e))),this._actionRunnerDisposables.add(this._actionRunner.onWillRun(e=>this._onWillRun.fire(e))),this.viewItems.forEach(t=>t.actionRunner=e)}getContainer(){return this.domNode}getAction(e){var t;if("number"==typeof e)return null===(t=this.viewItems[e])||void 0===t?void 0:t.action;if(n.Re(e)){for(;e.parentElement!==this.actionsList;){if(!e.parentElement)return;e=e.parentElement}for(let t=0;t{let i;let r=document.createElement("li");r.className="action-item",r.setAttribute("role","presentation");let l={hoverDelegate:this._hoverDelegate,...t};this.options.actionViewItemProvider&&(i=this.options.actionViewItemProvider(e,l)),i||(i=new o.gU(this.context,e,l)),this.options.allowContextMenu||this.viewItemDisposables.set(i,n.nm(r,n.tw.CONTEXT_MENU,e=>{n.zB.stop(e,!0)})),i.actionRunner=this._actionRunner,i.setActionContext(this.context),i.render(r),this.focusable&&i instanceof o.YH&&0===this.viewItems.length&&i.setFocusable(!0),null===s||s<0||s>=this.actionsList.children.length?(this.actionsList.appendChild(r),this.viewItems.push(i)):(this.actionsList.insertBefore(r,this.actionsList.children[s]),this.viewItems.splice(s,0,i),s++)}),"number"==typeof this.focusedItem&&this.focus(this.focusedItem),this.refreshRole()}clear(){this.isEmpty()||(this.viewItems=(0,d.B9)(this.viewItems),this.viewItemDisposables.clearAndDisposeAll(),n.PO(this.actionsList),this.refreshRole())}length(){return this.viewItems.length}isEmpty(){return 0===this.viewItems.length}focus(e){let t,i=!1;if(void 0===e?i=!0:"number"==typeof e?t=e:"boolean"==typeof e&&(i=e),i&&void 0===this.focusedItem){let e=this.viewItems.findIndex(e=>e.isEnabled());this.focusedItem=-1===e?void 0:e,this.updateFocus(void 0,void 0,!0)}else void 0!==t&&(this.focusedItem=t),this.updateFocus(void 0,void 0,!0)}focusFirst(){return this.focusedItem=this.length()-1,this.focusNext(!0)}focusLast(){return this.focusedItem=0,this.focusPrevious(!0)}focusNext(e){let t;if(void 0===this.focusedItem)this.focusedItem=this.viewItems.length-1;else if(this.viewItems.length<=1)return!1;let i=this.focusedItem;do{if(!e&&this.options.preventLoopNavigation&&this.focusedItem+1>=this.viewItems.length)return this.focusedItem=i,!1;this.focusedItem=(this.focusedItem+1)%this.viewItems.length,t=this.viewItems[this.focusedItem]}while(this.focusedItem!==i&&(this.options.focusOnlyEnabledItems&&!t.isEnabled()||t.action.id===l.Z0.ID));return this.updateFocus(),!0}focusPrevious(e){let t;if(void 0===this.focusedItem)this.focusedItem=0;else if(this.viewItems.length<=1)return!1;let i=this.focusedItem;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(!e&&this.options.preventLoopNavigation)return this.focusedItem=i,!1;this.focusedItem=this.viewItems.length-1}t=this.viewItems[this.focusedItem]}while(this.focusedItem!==i&&(this.options.focusOnlyEnabledItems&&!t.isEnabled()||t.action.id===l.Z0.ID));return this.updateFocus(!0),!0}updateFocus(e,t,i=!1){var n,s;void 0===this.focusedItem&&this.actionsList.focus({preventScroll:t}),void 0!==this.previouslyFocusedItem&&this.previouslyFocusedItem!==this.focusedItem&&(null===(n=this.viewItems[this.previouslyFocusedItem])||void 0===n||n.blur());let o=void 0!==this.focusedItem?this.viewItems[this.focusedItem]:void 0;if(o){let n=!0;h.mf(o.focus)||(n=!1),this.options.focusOnlyEnabledItems&&h.mf(o.isEnabled)&&!o.isEnabled()&&(n=!1),o.action.id===l.Z0.ID&&(n=!1),n?(i||this.previouslyFocusedItem!==this.focusedItem)&&(o.focus(e),this.previouslyFocusedItem=this.focusedItem):(this.actionsList.focus({preventScroll:t}),this.previouslyFocusedItem=void 0),n&&(null===(s=o.showHover)||void 0===s||s.call(o))}}doTrigger(e){if(void 0===this.focusedItem)return;let t=this.viewItems[this.focusedItem];if(t instanceof o.YH){let i=null===t._context||void 0===t._context?e:t._context;this.run(t._action,i)}}async run(e,t){await this._actionRunner.run(e,t)}dispose(){this._context=void 0,this.viewItems=(0,d.B9)(this.viewItems),this.getContainer().remove(),super.dispose()}}},85152:function(e,t,i){"use strict";let n,s,o,r,l;i.d(t,{Z9:function(){return h},i7:function(){return u},wW:function(){return d}});var a=i(65321);function d(e){(n=document.createElement("div")).className="monaco-aria-container";let t=()=>{let e=document.createElement("div");return e.className="monaco-alert",e.setAttribute("role","alert"),e.setAttribute("aria-atomic","true"),n.appendChild(e),e};s=t(),o=t();let i=()=>{let e=document.createElement("div");return e.className="monaco-status",e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),n.appendChild(e),e};r=i(),l=i(),e.appendChild(n)}function h(e){n&&(s.textContent!==e?(a.PO(o),c(s,e)):(a.PO(s),c(o,e)))}function u(e){n&&(r.textContent!==e?(a.PO(l),c(r,e)):(a.PO(r),c(l,e)))}function c(e,t){a.PO(e),t.length>2e4&&(t=t.substr(0,2e4)),e.textContent=t,e.style.visibility="hidden",e.style.visibility="visible"}i(40944)},43416:function(e,t,i){"use strict";i.d(t,{z:function(){return f}});var n=i(65321),s=i(70921),o=i(59069),r=i(5710),l=i(10553),a=i(97759),d=i(56811),h=i(41264),u=i(4669),c=i(59365),g=i(5976),p=i(25670);i(49373);var m=i(21661);h.Il.white.toString(),h.Il.white.toString();class f extends g.JT{get onDidClick(){return this._onDidClick.event}constructor(e,t){super(),this._label="",this._onDidClick=this._register(new u.Q5),this._onDidEscape=this._register(new u.Q5),this.options=t,this._element=document.createElement("a"),this._element.classList.add("monaco-button"),this._element.tabIndex=0,this._element.setAttribute("role","button"),this._element.classList.toggle("secondary",!!t.secondary);let i=t.secondary?t.buttonSecondaryBackground:t.buttonBackground,s=t.secondary?t.buttonSecondaryForeground:t.buttonForeground;this._element.style.color=s||"",this._element.style.backgroundColor=i||"",t.supportShortLabel&&(this._labelShortElement=document.createElement("div"),this._labelShortElement.classList.add("monaco-button-label-short"),this._element.appendChild(this._labelShortElement),this._labelElement=document.createElement("div"),this._labelElement.classList.add("monaco-button-label"),this._element.appendChild(this._labelElement),this._element.classList.add("monaco-text-button-with-short-label")),"string"==typeof t.title&&this.setTitle(t.title),"string"==typeof t.ariaLabel&&this._element.setAttribute("aria-label",t.ariaLabel),e.appendChild(this._element),this._register(l.o.addTarget(this._element)),[n.tw.CLICK,l.t.Tap].forEach(e=>{this._register((0,n.nm)(this._element,e,e=>{if(!this.enabled){n.zB.stop(e);return}this._onDidClick.fire(e)}))}),this._register((0,n.nm)(this._element,n.tw.KEY_DOWN,e=>{let t=new o.y(e),i=!1;this.enabled&&(t.equals(3)||t.equals(10))?(this._onDidClick.fire(e),i=!0):t.equals(9)&&(this._onDidEscape.fire(e),this._element.blur(),i=!0),i&&n.zB.stop(t,!0)})),this._register((0,n.nm)(this._element,n.tw.MOUSE_OVER,e=>{this._element.classList.contains("disabled")||this.updateBackground(!0)})),this._register((0,n.nm)(this._element,n.tw.MOUSE_OUT,e=>{this.updateBackground(!1)})),this.focusTracker=this._register((0,n.go)(this._element)),this._register(this.focusTracker.onDidFocus(()=>{this.enabled&&this.updateBackground(!0)})),this._register(this.focusTracker.onDidBlur(()=>{this.enabled&&this.updateBackground(!1)}))}dispose(){super.dispose(),this._element.remove()}getContentElements(e){let t=[];for(let i of(0,d.T)(e))if("string"==typeof i){if(""===(i=i.trim()))continue;let e=document.createElement("span");e.textContent=i,t.push(e)}else t.push(i);return t}updateBackground(e){let t;(t=this.options.secondary?e?this.options.buttonSecondaryHoverBackground:this.options.buttonSecondaryBackground:e?this.options.buttonHoverBackground:this.options.buttonBackground)&&(this._element.style.backgroundColor=t)}get element(){return this._element}set label(e){var t;if(this._label===e||(0,c.Fr)(this._label)&&(0,c.Fr)(e)&&(0,c.g_)(this._label,e))return;this._element.classList.add("monaco-text-button");let i=this.options.supportShortLabel?this._labelElement:this._element;if((0,c.Fr)(e)){let o=(0,r.ap)(e,{inline:!0});o.dispose();let l=null===(t=o.element.querySelector("p"))||void 0===t?void 0:t.innerHTML;if(l){let e=(0,s.Nw)(l,{ADD_TAGS:["b","i","u","code","span"],ALLOWED_ATTR:["class"],RETURN_TRUSTED_TYPE:!0});i.innerHTML=e}else(0,n.mc)(i)}else this.options.supportIcons?(0,n.mc)(i,...this.getContentElements(e)):i.textContent=e;let o="";"string"==typeof this.options.title?o=this.options.title:this.options.title&&(o=(0,r.et)(e)),this.setTitle(o),"string"==typeof this.options.ariaLabel?this._element.setAttribute("aria-label",this.options.ariaLabel):this.options.ariaLabel&&this._element.setAttribute("aria-label",o),this._label=e}get label(){return this._label}set icon(e){this._element.classList.add(...p.k.asClassNameArray(e))}set enabled(e){e?(this._element.classList.remove("disabled"),this._element.setAttribute("aria-disabled",String(!1)),this._element.tabIndex=0):(this._element.classList.add("disabled"),this._element.setAttribute("aria-disabled",String(!0)))}get enabled(){return!this._element.classList.contains("disabled")}setTitle(e){var t;this._hover||""===e?this._hover&&this._hover.update(e):this._hover=this._register((0,m.B)().setupUpdatableHover(null!==(t=this.options.hoverDelegate)&&void 0!==t?t:(0,a.tM)("mouse"),this._element,e))}}},28609:function(e,t,i){"use strict";i(90900),i(44142)},67488:function(e,t,i){"use strict";i.d(t,{Z:function(){return o}});var n=i(65321),s=i(97295);i(32501);class o{constructor(e,t,i){this.options=t,this.styles=i,this.count=0,this.element=(0,n.R3)(e,(0,n.$)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(e){this.count=e,this.render()}setTitleFormat(e){this.titleFormat=e,this.render()}render(){var e,t;this.element.textContent=(0,s.WU)(this.countFormat,this.count),this.element.title=(0,s.WU)(this.titleFormat,this.count),this.element.style.backgroundColor=null!==(e=this.styles.badgeBackground)&&void 0!==e?e:"",this.element.style.color=null!==(t=this.styles.badgeForeground)&&void 0!==t?t:"",this.styles.badgeBorder&&(this.element.style.border=`1px solid ${this.styles.badgeBorder}`)}}},47583:function(e,t,i){"use strict";i.d(t,{C:function(){return g}});var n=i(65321),s=i(45560),o=i(59069),r=i(10553),l=i(74741),a=i(4669);i(63513);class d extends l.Wi{constructor(e,t){super(),this._onDidChangeVisibility=this._register(new a.Q5),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this._element=(0,n.R3)(e,(0,n.$)(".monaco-dropdown")),this._label=(0,n.R3)(this._element,(0,n.$)(".dropdown-label"));let i=t.labelRenderer;for(let e of(i||(i=e=>(e.textContent=t.label||"",null)),[n.tw.CLICK,n.tw.MOUSE_DOWN,r.t.Tap]))this._register((0,n.nm)(this.element,e,e=>n.zB.stop(e,!0)));for(let e of[n.tw.MOUSE_DOWN,r.t.Tap])this._register((0,n.nm)(this._label,e,e=>{(0,n.N5)(e)&&(e.detail>1||0!==e.button)||(this.visible?this.hide():this.show())}));this._register((0,n.nm)(this._label,n.tw.KEY_UP,e=>{let t=new o.y(e);(t.equals(3)||t.equals(10))&&(n.zB.stop(e,!0),this.visible?this.hide():this.show())}));let s=i(this._label);s&&this._register(s),this._register(r.o.addTarget(this._label))}get element(){return this._element}show(){this.visible||(this.visible=!0,this._onDidChangeVisibility.fire(!0))}hide(){this.visible&&(this.visible=!1,this._onDidChangeVisibility.fire(!1))}dispose(){super.dispose(),this.hide(),this.boxContainer&&(this.boxContainer.remove(),this.boxContainer=void 0),this.contents&&(this.contents.remove(),this.contents=void 0),this._label&&(this._label.remove(),this._label=void 0)}}class h extends d{constructor(e,t){super(e,t),this._options=t,this._actions=[],this.actions=t.actions||[]}set menuOptions(e){this._menuOptions=e}get menuOptions(){return this._menuOptions}get actions(){return this._options.actionProvider?this._options.actionProvider.getActions():this._actions}set actions(e){this._actions=e}show(){super.show(),this.element.classList.add("active"),this._options.contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:(e,t)=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(e,t):void 0,getKeyBinding:e=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(e):void 0,getMenuClassName:()=>this._options.menuClassName||"",onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this._options.menuAsChild?this.element:void 0,skipTelemetry:this._options.skipTelemetry})}hide(){super.hide()}onHide(){this.hide(),this.element.classList.remove("active")}}var u=i(97759),c=i(21661);class g extends s.YH{constructor(e,t,i,n=Object.create(null)){super(null,e,n),this.actionItem=null,this._onDidChangeVisibility=this._register(new a.Q5),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this.menuActionsOrProvider=t,this.contextMenuProvider=i,this.options=n,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(e){this.actionItem=e;let t=Array.isArray(this.menuActionsOrProvider),i={contextMenuProvider:this.contextMenuProvider,labelRenderer:e=>{var t;this.element=(0,n.R3)(e,(0,n.$)("a.action-label"));let i=[];return"string"==typeof this.options.classNames?i=this.options.classNames.split(/\s+/g).filter(e=>!!e):this.options.classNames&&(i=this.options.classNames),i.find(e=>"icon"===e)||i.push("codicon"),this.element.classList.add(...i),this.element.setAttribute("role","button"),this.element.setAttribute("aria-haspopup","true"),this.element.setAttribute("aria-expanded","false"),this._action.label&&this._register((0,c.B)().setupUpdatableHover(null!==(t=this.options.hoverDelegate)&&void 0!==t?t:(0,u.tM)("mouse"),this.element,this._action.label)),this.element.ariaLabel=this._action.label||"",null},menuAsChild:this.options.menuAsChild,actions:t?this.menuActionsOrProvider:void 0,actionProvider:t?void 0:this.menuActionsOrProvider,skipTelemetry:this.options.skipTelemetry};if(this.dropdownMenu=this._register(new h(e,i)),this._register(this.dropdownMenu.onDidChangeVisibility(e=>{var t;null===(t=this.element)||void 0===t||t.setAttribute("aria-expanded",`${e}`),this._onDidChangeVisibility.fire(e)})),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){let e=this;this.dropdownMenu.menuOptions={...this.dropdownMenu.menuOptions,get anchorAlignment(){return e.options.anchorAlignmentProvider()}}}this.updateTooltip(),this.updateEnabled()}getTooltip(){let e=null;return this.action.tooltip?e=this.action.tooltip:this.action.label&&(e=this.action.label),null!=e?e:void 0}setActionContext(e){super.setActionContext(e),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=e:this.dropdownMenu.menuOptions={context:e})}show(){var e;null===(e=this.dropdownMenu)||void 0===e||e.show()}updateEnabled(){var e,t;let i=!this.action.enabled;null===(e=this.actionItem)||void 0===e||e.classList.toggle("disabled",i),null===(t=this.element)||void 0===t||t.classList.toggle("disabled",i)}}},3070:function(e,t,i){"use strict";i.d(t,{V:function(){return c}});var n=i(65321),s=i(51307),o=i(49111),r=i(93794),l=i(4669);i(82654);var a=i(63580),d=i(5976),h=i(97759);let u=a.NC("defaultLabel","input");class c extends r.${constructor(e,t,i){super(),this.fixFocusOnOptionClickEnabled=!0,this.imeSessionInProgress=!1,this.additionalTogglesDisposables=this._register(new d.XK),this.additionalToggles=[],this._onDidOptionChange=this._register(new l.Q5),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new l.Q5),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new l.Q5),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new l.Q5),this._onKeyUp=this._register(new l.Q5),this._onCaseSensitiveKeyDown=this._register(new l.Q5),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new l.Q5),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.placeholder=i.placeholder||"",this.validation=i.validation,this.label=i.label||u,this.showCommonFindToggles=!!i.showCommonFindToggles;let r=i.appendCaseSensitiveLabel||"",a=i.appendWholeWordsLabel||"",c=i.appendRegexLabel||"",g=i.history||[],p=!!i.flexibleHeight,m=!!i.flexibleWidth,f=i.flexibleMaxHeight;this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new o.pG(this.domNode,t,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},history:g,showHistoryHint:i.showHistoryHint,flexibleHeight:p,flexibleWidth:m,flexibleMaxHeight:f,inputBoxStyles:i.inputBoxStyles}));let _=this._register((0,h.p0)());if(this.showCommonFindToggles){this.regex=this._register(new s.eH({appendTitle:c,isChecked:!1,hoverDelegate:_,...i.toggleStyles})),this._register(this.regex.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.regex.onKeyDown(e=>{this._onRegexKeyDown.fire(e)})),this.wholeWords=this._register(new s.Qx({appendTitle:a,isChecked:!1,hoverDelegate:_,...i.toggleStyles})),this._register(this.wholeWords.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this.caseSensitive=this._register(new s.rk({appendTitle:r,isChecked:!1,hoverDelegate:_,...i.toggleStyles})),this._register(this.caseSensitive.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.caseSensitive.onKeyDown(e=>{this._onCaseSensitiveKeyDown.fire(e)}));let e=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];this.onkeydown(this.domNode,t=>{if(t.equals(15)||t.equals(17)||t.equals(9)){let i=e.indexOf(this.domNode.ownerDocument.activeElement);if(i>=0){let s=-1;t.equals(17)?s=(i+1)%e.length:t.equals(15)&&(s=0===i?e.length-1:i-1),t.equals(9)?(e[i].blur(),this.inputBox.focus()):s>=0&&e[s].focus(),n.zB.stop(t,!0)}}})}this.controls=document.createElement("div"),this.controls.className="controls",this.controls.style.display=this.showCommonFindToggles?"":"none",this.caseSensitive&&this.controls.append(this.caseSensitive.domNode),this.wholeWords&&this.controls.appendChild(this.wholeWords.domNode),this.regex&&this.controls.appendChild(this.regex.domNode),this.setAdditionalToggles(null==i?void 0:i.additionalToggles),this.controls&&this.domNode.appendChild(this.controls),null==e||e.appendChild(this.domNode),this._register(n.nm(this.inputBox.inputElement,"compositionstart",e=>{this.imeSessionInProgress=!0})),this._register(n.nm(this.inputBox.inputElement,"compositionend",e=>{this.imeSessionInProgress=!1,this._onInput.fire()})),this.onkeydown(this.inputBox.inputElement,e=>this._onKeyDown.fire(e)),this.onkeyup(this.inputBox.inputElement,e=>this._onKeyUp.fire(e)),this.oninput(this.inputBox.inputElement,e=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,e=>this._onMouseDown.fire(e))}get onDidChange(){return this.inputBox.onDidChange}layout(e){this.inputBox.layout(),this.updateInputBoxPadding(e.collapsedFindWidget)}enable(){var e,t,i;for(let n of(this.domNode.classList.remove("disabled"),this.inputBox.enable(),null===(e=this.regex)||void 0===e||e.enable(),null===(t=this.wholeWords)||void 0===t||t.enable(),null===(i=this.caseSensitive)||void 0===i||i.enable(),this.additionalToggles))n.enable()}disable(){var e,t,i;for(let n of(this.domNode.classList.add("disabled"),this.inputBox.disable(),null===(e=this.regex)||void 0===e||e.disable(),null===(t=this.wholeWords)||void 0===t||t.disable(),null===(i=this.caseSensitive)||void 0===i||i.disable(),this.additionalToggles))n.disable()}setFocusInputOnOptionClick(e){this.fixFocusOnOptionClickEnabled=e}setEnabled(e){e?this.enable():this.disable()}setAdditionalToggles(e){for(let e of this.additionalToggles)e.domNode.remove();for(let t of(this.additionalToggles=[],this.additionalTogglesDisposables.value=new d.SL,null!=e?e:[]))this.additionalTogglesDisposables.value.add(t),this.controls.appendChild(t.domNode),this.additionalTogglesDisposables.value.add(t.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus()})),this.additionalToggles.push(t);this.additionalToggles.length>0&&(this.controls.style.display=""),this.updateInputBoxPadding()}updateInputBoxPadding(e=!1){var t,i,n,s,o,r;e?this.inputBox.paddingRight=0:this.inputBox.paddingRight=(null!==(i=null===(t=this.caseSensitive)||void 0===t?void 0:t.width())&&void 0!==i?i:0)+(null!==(s=null===(n=this.wholeWords)||void 0===n?void 0:n.width())&&void 0!==s?s:0)+(null!==(r=null===(o=this.regex)||void 0===o?void 0:o.width())&&void 0!==r?r:0)+this.additionalToggles.reduce((e,t)=>e+t.width(),0)}getValue(){return this.inputBox.value}setValue(e){this.inputBox.value!==e&&(this.inputBox.value=e)}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){var e,t;return null!==(t=null===(e=this.caseSensitive)||void 0===e?void 0:e.checked)&&void 0!==t&&t}setCaseSensitive(e){this.caseSensitive&&(this.caseSensitive.checked=e)}getWholeWords(){var e,t;return null!==(t=null===(e=this.wholeWords)||void 0===e?void 0:e.checked)&&void 0!==t&&t}setWholeWords(e){this.wholeWords&&(this.wholeWords.checked=e)}getRegex(){var e,t;return null!==(t=null===(e=this.regex)||void 0===e?void 0:e.checked)&&void 0!==t&&t}setRegex(e){this.regex&&(this.regex.checked=e,this.validate())}focusOnCaseSensitive(){var e;null===(e=this.caseSensitive)||void 0===e||e.focus()}highlightFindOptions(){this.domNode.classList.remove("highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,this.domNode.classList.add("highlight-"+this._lastHighlightFindOptions)}validate(){this.inputBox.validate()}showMessage(e){this.inputBox.showMessage(e)}clearMessage(){this.inputBox.hideMessage()}}},51307:function(e,t,i){"use strict";i.d(t,{Qx:function(){return u},eH:function(){return c},rk:function(){return h}});var n=i(97759),s=i(82900),o=i(78789),r=i(63580);let l=r.NC("caseDescription","Match Case"),a=r.NC("wordsDescription","Match Whole Word"),d=r.NC("regexDescription","Use Regular Expression");class h extends s.Z{constructor(e){var t;super({icon:o.l.caseSensitive,title:l+e.appendTitle,isChecked:e.isChecked,hoverDelegate:null!==(t=e.hoverDelegate)&&void 0!==t?t:(0,n.tM)("element"),inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class u extends s.Z{constructor(e){var t;super({icon:o.l.wholeWord,title:a+e.appendTitle,isChecked:e.isChecked,hoverDelegate:null!==(t=e.hoverDelegate)&&void 0!==t?t:(0,n.tM)("element"),inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class c extends s.Z{constructor(e){var t;super({icon:o.l.regex,title:d+e.appendTitle,isChecked:e.isChecked,hoverDelegate:null!==(t=e.hoverDelegate)&&void 0!==t?t:(0,n.tM)("element"),inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}},34650:function(e,t,i){"use strict";i.d(t,{q:function(){return d}});var n=i(65321),s=i(21661),o=i(97759),r=i(56811),l=i(5976),a=i(36248);class d extends l.JT{constructor(e,t){var i;super(),this.options=t,this.text="",this.title="",this.highlights=[],this.didEverRender=!1,this.supportIcons=null!==(i=null==t?void 0:t.supportIcons)&&void 0!==i&&i,this.domNode=n.R3(e,n.$("span.monaco-highlighted-label"))}get element(){return this.domNode}set(e,t=[],i="",n){e||(e=""),n&&(e=d.escapeNewLines(e,t)),this.didEverRender&&this.text===e&&this.title===i&&a.fS(this.highlights,t)||(this.text=e,this.title=i,this.highlights=t,this.render())}render(){var e,t,i,l;let a=[],d=0;for(let e of this.highlights){if(e.end===e.start)continue;if(d{for(let o of(n="\r\n"===e?-1:0,s+=i,t))!(o.end<=s)&&(o.start>=s&&(o.start+=n),o.end>=s&&(o.end+=n));return i+=n,"⏎"})}}},21661:function(e,t,i){"use strict";i.d(t,{B:function(){return o},r:function(){return s}});let n={showHover:()=>void 0,hideHover:()=>void 0,showAndFocusLastHover:()=>void 0,setupUpdatableHover:()=>null,triggerUpdatableHover:()=>void 0};function s(e){n=e}function o(){return n}},97759:function(e,t,i){"use strict";i.d(t,{p0:function(){return d},rM:function(){return l},tM:function(){return a}});var n=i(79579);let s=()=>({get delay(){return -1},dispose:()=>{},showHover:()=>{}}),o=new n.o(()=>s("mouse",!1)),r=new n.o(()=>s("element",!1));function l(e){s=e}function a(e){return"element"===e?r.value:o.value}function d(){return s("element",!0)}},30986:function(e,t,i){"use strict";i.d(t,{R0:function(){return c},Sr:function(){return h},c8:function(){return d},rb:function(){return g},uX:function(){return u}});var n=i(65321),s=i(59069),o=i(18967),r=i(5976);i(18843);var l=i(63580);let a=n.$;class d extends r.JT{constructor(){super(),this.containerDomNode=document.createElement("div"),this.containerDomNode.className="monaco-hover",this.containerDomNode.tabIndex=0,this.containerDomNode.setAttribute("role","tooltip"),this.contentsDomNode=document.createElement("div"),this.contentsDomNode.className="monaco-hover-content",this.scrollbar=this._register(new o.s$(this.contentsDomNode,{consumeMouseWheelIfScrollbarIsNeeded:!0})),this.containerDomNode.appendChild(this.scrollbar.getDomNode())}onContentsChanged(){this.scrollbar.scanDomNode()}}class h extends r.JT{static render(e,t,i){return new h(e,t,i)}constructor(e,t,i){super(),this.actionContainer=n.R3(e,a("div.action-container")),this.actionContainer.setAttribute("tabindex","0"),this.action=n.R3(this.actionContainer,a("a.action")),this.action.setAttribute("role","button"),t.iconClass&&n.R3(this.action,a(`span.icon.${t.iconClass}`));let s=n.R3(this.action,a("span"));s.textContent=i?`${t.label} (${i})`:t.label,this._store.add(new c(this.actionContainer,t.run)),this._store.add(new g(this.actionContainer,t.run,[3,10])),this.setEnabled(!0)}setEnabled(e){e?(this.actionContainer.classList.remove("disabled"),this.actionContainer.removeAttribute("aria-disabled")):(this.actionContainer.classList.add("disabled"),this.actionContainer.setAttribute("aria-disabled","true"))}}function u(e,t){return e&&t?(0,l.NC)("acessibleViewHint","Inspect this in the accessible view with {0}.",t):e?(0,l.NC)("acessibleViewHintNoKbOpen","Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding."):""}class c extends r.JT{constructor(e,t){super(),this._register(n.nm(e,n.tw.CLICK,i=>{i.stopPropagation(),i.preventDefault(),t(e)}))}}class g extends r.JT{constructor(e,t,i){super(),this._register(n.nm(e,n.tw.KEY_DOWN,n=>{let o=new s.y(n);i.some(e=>o.equals(e))&&(n.stopPropagation(),n.preventDefault(),t(e))}))}}},59834:function(e,t,i){"use strict";i.d(t,{g:function(){return g}}),i(14075);var n=i(65321),s=i(34650),o=i(5976),r=i(36248),l=i(61134),a=i(97759),d=i(21661),h=i(98401),u=i(21212);class c{constructor(e){this._element=e}get element(){return this._element}set textContent(e){this.disposed||e===this._textContent||(this._textContent=e,this._element.textContent=e)}set className(e){this.disposed||e===this._className||(this._className=e,this._element.className=e)}set empty(e){this.disposed||e===this._empty||(this._empty=e,this._element.style.marginLeft=e?"0":"")}dispose(){this.disposed=!0}}class g extends o.JT{constructor(e,t){var i;super(),this.customHovers=new Map,this.creationOptions=t,this.domNode=this._register(new c(n.R3(e,n.$(".monaco-icon-label")))),this.labelContainer=n.R3(this.domNode.element,n.$(".monaco-icon-label-container")),this.nameContainer=n.R3(this.labelContainer,n.$("span.monaco-icon-name-container")),(null==t?void 0:t.supportHighlights)||(null==t?void 0:t.supportIcons)?this.nameNode=this._register(new m(this.nameContainer,!!t.supportIcons)):this.nameNode=new p(this.nameContainer),this.hoverDelegate=null!==(i=null==t?void 0:t.hoverDelegate)&&void 0!==i?i:(0,a.tM)("mouse")}get element(){return this.domNode.element}setLabel(e,t,i){var o;let r=["monaco-icon-label"],l=["monaco-icon-label-container"],a="";i&&(i.extraClasses&&r.push(...i.extraClasses),i.italic&&r.push("italic"),i.strikethrough&&r.push("strikethrough"),i.disabledCommand&&l.push("disabled"),i.title&&("string"==typeof i.title?a+=i.title:a+=e));let d=this.domNode.element.querySelector(".monaco-icon-label-iconpath");if(null==i?void 0:i.iconPath){let e;d&&n.Re(d)?e=d:(e=n.$(".monaco-icon-label-iconpath"),this.domNode.element.prepend(e)),e.style.backgroundImage=n.wY(null==i?void 0:i.iconPath)}else d&&d.remove();if(this.domNode.className=r.join(" "),this.domNode.element.setAttribute("aria-label",a),this.labelContainer.className=l.join(" "),this.setupHover((null==i?void 0:i.descriptionTitle)?this.labelContainer:this.element,null==i?void 0:i.title),this.nameNode.setLabel(e,i),t||this.descriptionNode){let e=this.getOrCreateDescriptionNode();e instanceof s.q?(e.set(t||"",i?i.descriptionMatches:void 0,void 0,null==i?void 0:i.labelEscapeNewLines),this.setupHover(e.element,null==i?void 0:i.descriptionTitle)):(e.textContent=t&&(null==i?void 0:i.labelEscapeNewLines)?s.q.escapeNewLines(t,[]):t||"",this.setupHover(e.element,(null==i?void 0:i.descriptionTitle)||""),e.empty=!t)}if((null==i?void 0:i.suffix)||this.suffixNode){let e=this.getOrCreateSuffixNode();e.textContent=null!==(o=null==i?void 0:i.suffix)&&void 0!==o?o:""}}setupHover(e,t){let i=this.customHovers.get(e);if(i&&(i.dispose(),this.customHovers.delete(e)),!t){e.removeAttribute("title");return}if(this.hoverDelegate.showNativeHover)(0,h.HD)(t)?e.title=(0,u.x$)(t):(null==t?void 0:t.markdownNotSupportedFallback)?e.title=t.markdownNotSupportedFallback:e.removeAttribute("title");else{let i=(0,d.B)().setupUpdatableHover(this.hoverDelegate,e,t);i&&this.customHovers.set(e,i)}}dispose(){for(let e of(super.dispose(),this.customHovers.values()))e.dispose();this.customHovers.clear()}getOrCreateSuffixNode(){if(!this.suffixNode){let e=this._register(new c(n.e4(this.nameContainer,n.$("span.monaco-icon-suffix-container"))));this.suffixNode=this._register(new c(n.R3(e.element,n.$("span.label-suffix"))))}return this.suffixNode}getOrCreateDescriptionNode(){var e;if(!this.descriptionNode){let t=this._register(new c(n.R3(this.labelContainer,n.$("span.monaco-icon-description-container"))));(null===(e=this.creationOptions)||void 0===e?void 0:e.supportDescriptionHighlights)?this.descriptionNode=this._register(new s.q(n.R3(t.element,n.$("span.label-description")),{supportIcons:!!this.creationOptions.supportIcons})):this.descriptionNode=this._register(new c(n.R3(t.element,n.$("span.label-description"))))}return this.descriptionNode}}class p{constructor(e){this.container=e,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(!(this.label===e&&(0,r.fS)(this.options,t))){if(this.label=e,this.options=t,"string"==typeof e)this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=n.R3(this.container,n.$("a.label-name",{id:null==t?void 0:t.domId}))),this.singleLabel.textContent=e;else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;for(let i=0;i{let s={start:n,end:n+e.length},o=i.map(e=>l.e.intersect(s,e)).filter(e=>!l.e.isEmpty(e)).map(({start:e,end:t})=>({start:e-n,end:t-n}));return n=s.end+t.length,o})}(e,i,null==t?void 0:t.matches);for(let r=0;r=this._elements.length-1}isNowhere(){return null===this._navigator.current()}has(e){return this._history.has(e)}_onChange(){this._reduceToLimit();let e=this._elements;this._navigator=new g(e,0,e.length,e.length)}_reduceToLimit(){let e=this._elements;e.length>this._limit&&this._initialize(e.slice(e.length-this._limit))}_currentPosition(){let e=this._navigator.current();return e?this._elements.indexOf(e):-1}_initialize(e){for(let t of(this._history=new Set,e))this._history.add(t)}get _elements(){let e=[];return this._history.forEach(t=>e.push(t)),e}}var m=i(36248);i(92845);var f=i(63580);let _=n.$,v={inputBackground:"#3C3C3C",inputForeground:"#CCCCCC",inputValidationInfoBorder:"#55AAFF",inputValidationInfoBackground:"#063B49",inputValidationWarningBorder:"#B89500",inputValidationWarningBackground:"#352A05",inputValidationErrorBorder:"#BE1100",inputValidationErrorBackground:"#5A1D1D",inputBorder:void 0,inputValidationErrorForeground:void 0,inputValidationInfoForeground:void 0,inputValidationWarningForeground:void 0};class b extends u.${constructor(e,t,i){var o;super(),this.state="idle",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new c.Q5),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new c.Q5),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=t,this.options=i,this.message=null,this.placeholder=this.options.placeholder||"",this.tooltip=null!==(o=this.options.tooltip)&&void 0!==o?o:this.placeholder||"",this.ariaLabel=this.options.ariaLabel||"",this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=n.R3(e,_(".monaco-inputbox.idle"));let l=this.options.flexibleHeight?"textarea":"input",a=n.R3(this.element,_(".ibwrapper"));if(this.input=n.R3(a,_(l+".input.empty")),this.input.setAttribute("autocorrect","off"),this.input.setAttribute("autocapitalize","off"),this.input.setAttribute("spellcheck","false"),this.onfocus(this.input,()=>this.element.classList.add("synthetic-focus")),this.onblur(this.input,()=>this.element.classList.remove("synthetic-focus")),this.options.flexibleHeight){this.maxHeight="number"==typeof this.options.flexibleMaxHeight?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=n.R3(a,_("div.mirror")),this.mirror.innerText="\xa0",this.scrollableElement=new h.NB(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute("wrap","off"),this.mirror.style.whiteSpace="pre",this.mirror.style.wordWrap="initial"),n.R3(e,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll(e=>this.input.scrollTop=e.scrollTop));let t=this._register(new s.Y(e.ownerDocument,"selectionchange")),i=c.ju.filter(t.event,()=>{let t=e.ownerDocument.getSelection();return(null==t?void 0:t.anchorNode)===a});this._register(i(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||"text",this.input.setAttribute("wrap","off");this.ariaLabel&&this.input.setAttribute("aria-label",this.ariaLabel),this.placeholder&&!this.options.showPlaceholderOnFocus&&this.setPlaceHolder(this.placeholder),this.tooltip&&this.setTooltip(this.tooltip),this.oninput(this.input,()=>this.onValueChange()),this.onblur(this.input,()=>this.onBlur()),this.onfocus(this.input,()=>this.onFocus()),this._register(this.ignoreGesture(this.input)),setTimeout(()=>this.updateMirror(),0),this.options.actions&&(this.actionbar=this._register(new r.o(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder","")}onFocus(){this._showMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder",this.placeholder||"")}setPlaceHolder(e){this.placeholder=e,this.input.setAttribute("placeholder",e)}setTooltip(e){this.tooltip=e,this.hover?this.hover.update(e):this.hover=this._register((0,a.B)().setupUpdatableHover((0,d.tM)("mouse"),this.input,e))}get inputElement(){return this.input}get value(){return this.input.value}set value(e){this.input.value!==e&&(this.input.value=e,this.onValueChange())}get height(){return"number"==typeof this.cachedHeight?this.cachedHeight:n.wn(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return n.H9(this.input)}select(e=null){this.input.select(),e&&(this.input.setSelectionRange(e.start,e.end),e.end===this.input.value.length&&(this.input.scrollLeft=this.input.scrollWidth))}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}getSelection(){var e;let t=this.input.selectionStart;if(null===t)return null;let i=null!==(e=this.input.selectionEnd)&&void 0!==e?e:t;return{start:t,end:i}}enable(){this.input.removeAttribute("disabled")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}set paddingRight(e){this.input.style.width=`calc(100% - ${e}px)`,this.mirror&&(this.mirror.style.paddingRight=e+"px")}updateScrollDimensions(){if("number"!=typeof this.cachedContentHeight||"number"!=typeof this.cachedHeight||!this.scrollableElement)return;let e=this.cachedContentHeight,t=this.cachedHeight,i=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:e,height:t}),this.scrollableElement.setScrollPosition({scrollTop:i})}showMessage(e,t){if("open"===this.state&&(0,m.fS)(this.message,e))return;this.message=e,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(e.type));let i=this.stylesForType(this.message.type);this.element.style.border=`1px solid ${n.XT(i.border,"transparent")}`,this.message.content&&(this.hasFocus()||t)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}validate(){let e=null;return this.validation&&((e=this.validation(this.value))?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(e)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),null==e?void 0:e.type}stylesForType(e){let t=this.options.inputBoxStyles;switch(e){case 1:return{border:t.inputValidationInfoBorder,background:t.inputValidationInfoBackground,foreground:t.inputValidationInfoForeground};case 2:return{border:t.inputValidationWarningBorder,background:t.inputValidationWarningBackground,foreground:t.inputValidationWarningForeground};default:return{border:t.inputValidationErrorBorder,background:t.inputValidationErrorBackground,foreground:t.inputValidationErrorForeground}}}classForType(e){switch(e){case 1:return"info";case 2:return"warning";default:return"error"}}_showMessage(){let e,t;if(!this.contextViewProvider||!this.message)return;let i=()=>e.style.width=n.w(this.element)+"px";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:t=>{var s,r;if(!this.message)return null;e=n.R3(t,_(".monaco-inputbox-container")),i();let l={inline:!0,className:"monaco-inputbox-message"},a=this.message.formatContent?(0,o.BO)(this.message.content,l):(0,o.IY)(this.message.content,l);a.classList.add(this.classForType(this.message.type));let d=this.stylesForType(this.message.type);return a.style.backgroundColor=null!==(s=d.background)&&void 0!==s?s:"",a.style.color=null!==(r=d.foreground)&&void 0!==r?r:"",a.style.border=d.border?`1px solid ${d.border}`:"",n.R3(e,a),null},onHide:()=>{this.state="closed"},layout:i}),t=3===this.message.type?f.NC("alertErrorMessage","Error: {0}",this.message.content):2===this.message.type?f.NC("alertWarningMessage","Warning: {0}",this.message.content):f.NC("alertInfoMessage","Info: {0}",this.message.content),l.Z9(t),this.state="open"}_hideMessage(){this.contextViewProvider&&("open"===this.state&&this.contextViewProvider.hideContextView(),this.state="idle")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),"open"===this.state&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(!this.mirror)return;let e=this.value,t=e.charCodeAt(e.length-1),i=10===t?" ":"",n=(e+i).replace(/\u000c/g,"");n?this.mirror.textContent=e+i:this.mirror.innerText="\xa0",this.layout()}applyStyles(){var e,t,i;let s=this.options.inputBoxStyles,o=null!==(e=s.inputBackground)&&void 0!==e?e:"",r=null!==(t=s.inputForeground)&&void 0!==t?t:"",l=null!==(i=s.inputBorder)&&void 0!==i?i:"";this.element.style.backgroundColor=o,this.element.style.color=r,this.input.style.backgroundColor="inherit",this.input.style.color=r,this.element.style.border=`1px solid ${n.XT(l,"transparent")}`}layout(){if(!this.mirror)return;let e=this.cachedContentHeight;this.cachedContentHeight=n.wn(this.mirror),e!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}insertAtCursor(e){let t=this.inputElement,i=t.selectionStart,n=t.selectionEnd,s=t.value;null!==i&&null!==n&&(this.value=s.substr(0,i)+e+s.substr(n),t.setSelectionRange(i+1,i+1),this.layout())}dispose(){var e;this._hideMessage(),this.message=null,null===(e=this.actionbar)||void 0===e||e.dispose(),super.dispose()}}class C extends b{constructor(e,t,i){let s=f.NC({key:"history.inputbox.hint.suffix.noparens",comment:['Text is the suffix of an input field placeholder coming after the action the input field performs, this will be used when the input field ends in a closing parenthesis ")", for example "Filter (e.g. text, !exclude)". The character inserted into the final string is ⇅ to represent the up and down arrow keys.']}," or {0} for history",`\u21C5`),o=f.NC({key:"history.inputbox.hint.suffix.inparens",comment:['Text is the suffix of an input field placeholder coming after the action the input field performs, this will be used when the input field does NOT end in a closing parenthesis (eg. "Find"). The character inserted into the final string is ⇅ to represent the up and down arrow keys.']}," ({0} for history)",`\u21C5`);super(e,t,i),this._onDidFocus=this._register(new c.Q5),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new c.Q5),this.onDidBlur=this._onDidBlur.event,this.history=new p(i.history,100);let r=()=>{if(i.showHistoryHint&&i.showHistoryHint()&&!this.placeholder.endsWith(s)&&!this.placeholder.endsWith(o)&&this.history.getHistory().length){let e=this.placeholder.endsWith(")")?s:o,t=this.placeholder+e;i.showPlaceholderOnFocus&&!n.H9(this.input)?this.placeholder=t:this.setPlaceHolder(t)}};this.observer=new MutationObserver((e,t)=>{e.forEach(e=>{e.target.textContent||r()})}),this.observer.observe(this.input,{attributeFilter:["class"]}),this.onfocus(this.input,()=>r()),this.onblur(this.input,()=>{let e=e=>{if(!this.placeholder.endsWith(e))return!1;{let t=this.placeholder.slice(0,this.placeholder.length-e.length);return i.showPlaceholderOnFocus?this.placeholder=t:this.setPlaceHolder(t),!0}};e(o)||e(s)})}dispose(){super.dispose(),this.observer&&(this.observer.disconnect(),this.observer=void 0)}addToHistory(e){this.value&&(e||this.value!==this.getCurrentValue())&&this.history.add(this.value)}isAtLastInHistory(){return this.history.isLast()}isNowhereInHistory(){return this.history.isNowhere()}showNextValue(){this.history.has(this.value)||this.addToHistory();let e=this.getNextValue();e&&(e=e===this.value?this.getNextValue():e),this.value=null!=e?e:"",l.i7(this.value?this.value:f.NC("clearedInput","Cleared Input"))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let e=this.getPreviousValue();e&&(e=e===this.value?this.getPreviousValue():e),e&&(this.value=e,l.i7(this.value))}setPlaceHolder(e){super.setPlaceHolder(e),this.setTooltip(e)}onBlur(){super.onBlur(),this._onDidBlur.fire()}onFocus(){super.onFocus(),this._onDidFocus.fire()}getCurrentValue(){let e=this.history.current();return e||(e=this.history.last(),this.history.next()),e}getPreviousValue(){return this.history.previous()||this.history.first()}getNextValue(){return this.history.next()}}},55496:function(e,t,i){"use strict";i.d(t,{F:function(){return u},e:function(){return c}});var n=i(65321),s=i(21661),o=i(97759),r=i(8030),l=i(5976),a=i(36248);i(98727);var d=i(63580);let h=n.$,u={keybindingLabelBackground:void 0,keybindingLabelForeground:void 0,keybindingLabelBorder:void 0,keybindingLabelBottomBorder:void 0,keybindingLabelShadow:void 0};class c extends l.JT{constructor(e,t,i){super(),this.os=t,this.keyElements=new Set,this.options=i||Object.create(null);let r=this.options.keybindingLabelForeground;this.domNode=n.R3(e,h(".monaco-keybinding")),r&&(this.domNode.style.color=r),this.hover=this._register((0,s.B)().setupUpdatableHover((0,o.tM)("mouse"),this.domNode,"")),this.didEverRender=!1,e.appendChild(this.domNode)}get element(){return this.domNode}set(e,t){this.didEverRender&&this.keybinding===e&&c.areSame(this.matches,t)||(this.keybinding=e,this.matches=t,this.render())}render(){var e;if(this.clear(),this.keybinding){let t=this.keybinding.getChords();t[0]&&this.renderChord(this.domNode,t[0],this.matches?this.matches.firstPart:null);for(let e=1;e=n.range.end)continue;if(e.end({range:f(e.range,n),size:e.size})),r=i.map((t,i)=>({range:{start:e+i,end:e+i+1},size:t.size}));this.groups=function(...e){return function(e){let t=[],i=null;for(let n of e){let e=n.range.start,s=n.range.end,o=n.size;if(i&&o===i.size){i.range.end=s;continue}i={range:{start:e,end:s},size:o},t.push(i)}return t}(e.reduce((e,t)=>e.concat(t),[]))}(s,r,o),this._size=this._paddingTop+this.groups.reduce((e,t)=>e+t.size*(t.range.end-t.range.start),0)}get count(){let e=this.groups.length;return e?this.groups[e-1].range.end:0}get size(){return this._size}indexAt(e){if(e<0)return -1;if(e{for(let i of e){let e=this.getRenderer(t);e.disposeTemplate(i.templateData),i.templateData=null}}),this.cache.clear(),this.transactionNodesPendingRemoval.clear()}getRenderer(e){let t=this.renderers.get(e);if(!t)throw Error(`No renderer found for ${e}`);return t}}var b=i(17301),C=i(59870),w=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r};let y={CurrentDragAndDropData:void 0},S={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements:e=>[e],getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){},dispose(){}},horizontalScrolling:!1,transformOptimization:!0,alwaysConsumeMouseWheel:!0};class L{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class k{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class D{constructor(){this.types=[],this.files=[]}update(e){if(e.types&&this.types.splice(0,this.types.length,...e.types),e.files){this.files.splice(0,this.files.length);for(let t=0;ti,(null==e?void 0:e.getPosInSet)?this.getPosInSet=e.getPosInSet.bind(e):this.getPosInSet=(e,t)=>t+1,(null==e?void 0:e.getRole)?this.getRole=e.getRole.bind(e):this.getRole=e=>"listitem",(null==e?void 0:e.isChecked)?this.isChecked=e.isChecked.bind(e):this.isChecked=e=>void 0}}class N{get contentHeight(){return this.rangeMap.size}get onDidScroll(){return this.scrollableElement.onScroll}get scrollableElementDomNode(){return this.scrollableElement.getDomNode()}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(e){if(e!==this._horizontalScrolling){if(e&&this.supportDynamicHeights)throw Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=e,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(let e of this.items)this.measureItemWidth(e);this.updateScrollWidth(),this.scrollableElement.setScrollDimensions({width:(0,s.FK)(this.domNode)}),this.rowsContainer.style.width=`${Math.max(this.scrollWidth||0,this.renderWidth)}px`}else this.scrollableElementWidthDelayer.cancel(),this.scrollableElement.setScrollDimensions({width:this.renderWidth,scrollWidth:this.renderWidth}),this.rowsContainer.style.width=""}}constructor(e,t,i,n=S){var o,a,h,g,m,f,_,b,C,w,y,L,k;if(this.virtualDelegate=t,this.domId=`list_id_${++N.InstanceCount}`,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new d.vp(50),this.splicing=!1,this.dragOverAnimationStopDisposable=c.JT.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=c.JT.None,this.onDragLeaveTimeout=c.JT.None,this.disposables=new c.SL,this._onDidChangeContentHeight=new u.Q5,this._onDidChangeContentWidth=new u.Q5,this.onDidChangeContentHeight=u.ju.latch(this._onDidChangeContentHeight.event,void 0,this.disposables),this._horizontalScrolling=!1,n.horizontalScrolling&&n.supportDynamicHeights)throw Error("Horizontal scrolling and dynamic heights not supported simultaneously");for(let e of(this.items=[],this.itemId=0,this.rangeMap=this.createRangeMap(null!==(o=n.paddingTop)&&void 0!==o?o:0),i))this.renderers.set(e.templateId,e);this.cache=this.disposables.add(new v(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",this.domNode.classList.add(this.domId),this.domNode.tabIndex=0,this.domNode.classList.toggle("mouse-support","boolean"!=typeof n.mouseSupport||n.mouseSupport),this._horizontalScrolling=null!==(a=n.horizontalScrolling)&&void 0!==a?a:S.horizontalScrolling,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this.paddingBottom=void 0===n.paddingBottom?0:n.paddingBottom,this.accessibilityProvider=new x(n.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows";let D=null!==(h=n.transformOptimization)&&void 0!==h?h:S.transformOptimization;D&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)",this.rowsContainer.style.overflow="hidden",this.rowsContainer.style.contain="strict"),this.disposables.add(r.o.addTarget(this.rowsContainer)),this.scrollable=this.disposables.add(new p.Rm({forceIntegerValues:!0,smoothScrollDuration:null!==(g=n.smoothScrolling)&&void 0!==g&&g?125:0,scheduleAtNextAnimationFrame:e=>(0,s.jL)((0,s.Jj)(this.domNode),e)})),this.scrollableElement=this.disposables.add(new l.$Z(this.rowsContainer,{alwaysConsumeMouseWheel:null!==(m=n.alwaysConsumeMouseWheel)&&void 0!==m?m:S.alwaysConsumeMouseWheel,horizontal:1,vertical:null!==(f=n.verticalScrollMode)&&void 0!==f?f:S.verticalScrollMode,useShadows:null!==(_=n.useShadows)&&void 0!==_?_:S.useShadows,mouseWheelScrollSensitivity:n.mouseWheelScrollSensitivity,fastScrollSensitivity:n.fastScrollSensitivity,scrollByPage:n.scrollByPage},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),e.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),this.disposables.add((0,s.nm)(this.rowsContainer,r.t.Change,e=>this.onTouchChange(e))),this.disposables.add((0,s.nm)(this.scrollableElement.getDomNode(),"scroll",e=>e.target.scrollTop=0)),this.disposables.add((0,s.nm)(this.domNode,"dragover",e=>this.onDragOver(this.toDragEvent(e)))),this.disposables.add((0,s.nm)(this.domNode,"drop",e=>this.onDrop(this.toDragEvent(e)))),this.disposables.add((0,s.nm)(this.domNode,"dragleave",e=>this.onDragLeave(this.toDragEvent(e)))),this.disposables.add((0,s.nm)(this.domNode,"dragend",e=>this.onDragEnd(e))),this.setRowLineHeight=null!==(b=n.setRowLineHeight)&&void 0!==b?b:S.setRowLineHeight,this.setRowHeight=null!==(C=n.setRowHeight)&&void 0!==C?C:S.setRowHeight,this.supportDynamicHeights=null!==(w=n.supportDynamicHeights)&&void 0!==w?w:S.supportDynamicHeights,this.dnd=null!==(y=n.dnd)&&void 0!==y?y:this.disposables.add(S.dnd),this.layout(null===(L=n.initialSize)||void 0===L?void 0:L.height,null===(k=n.initialSize)||void 0===k?void 0:k.width)}updateOptions(e){let t;if(void 0!==e.paddingBottom&&(this.paddingBottom=e.paddingBottom,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),void 0!==e.smoothScrolling&&this.scrollable.setSmoothScrollDuration(e.smoothScrolling?125:0),void 0!==e.horizontalScrolling&&(this.horizontalScrolling=e.horizontalScrolling),void 0!==e.scrollByPage&&(t={...null!=t?t:{},scrollByPage:e.scrollByPage}),void 0!==e.mouseWheelScrollSensitivity&&(t={...null!=t?t:{},mouseWheelScrollSensitivity:e.mouseWheelScrollSensitivity}),void 0!==e.fastScrollSensitivity&&(t={...null!=t?t:{},fastScrollSensitivity:e.fastScrollSensitivity}),t&&this.scrollableElement.updateOptions(t),void 0!==e.paddingTop&&e.paddingTop!==this.rangeMap.paddingTop){let t=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),i=e.paddingTop-this.rangeMap.paddingTop;this.rangeMap.paddingTop=e.paddingTop,this.render(t,Math.max(0,this.lastRenderTop+i),this.lastRenderHeight,void 0,void 0,!0),this.setScrollTop(this.lastRenderTop),this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.lastRenderTop,this.lastRenderHeight)}}createRangeMap(e){return new _(e)}splice(e,t,i=[]){if(this.splicing)throw Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(e,t,i)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(e,t,i=[]){let n;let s=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),o=g.e.intersect(s,{start:e,end:e+t}),r=new Map;for(let e=o.end-1;e>=o.start;e--){let t=this.items[e];if(t.dragStartDisposable.dispose(),t.checkedDisposable.dispose(),t.row){let i=r.get(t.templateId);i||(i=[],r.set(t.templateId,i));let n=this.renderers.get(t.templateId);n&&n.disposeElement&&n.disposeElement(t.element,e,t.row.templateData,t.size),i.unshift(t.row)}t.row=null,t.stale=!0}let l={start:e+t,end:this.items.length},a=g.e.intersect(l,s),d=g.e.relativeComplement(l,s),h=i.map(e=>({id:String(this.itemId++),element:e,templateId:this.virtualDelegate.getTemplateId(e),size:this.virtualDelegate.getHeight(e),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(e),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:c.JT.None,checkedDisposable:c.JT.None,stale:!1}));0===e&&t>=this.items.length?(this.rangeMap=this.createRangeMap(this.rangeMap.paddingTop),this.rangeMap.splice(0,0,h),n=this.items,this.items=h):(this.rangeMap.splice(e,t,h),n=this.items.splice(e,t,...h));let u=i.length-t,p=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),m=f(a,u),_=g.e.intersect(p,m);for(let e=_.start;e<_.end;e++)this.updateItemInDOM(this.items[e],e);let v=g.e.relativeComplement(m,p);for(let e of v)for(let t=e.start;tf(e,u)),C={start:e,end:e+i.length},w=[C,...b].map(e=>g.e.intersect(p,e)).reverse();for(let e of w)for(let t=e.end-1;t>=e.start;t--){let e=this.items[t],i=r.get(e.templateId),n=null==i?void 0:i.pop();this.insertItemInDOM(t,n)}for(let e of r.values())for(let t of e)this.cache.release(t);return this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),n.map(e=>e.element)}eventuallyUpdateScrollDimensions(){this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=`${this._scrollHeight}px`,this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=(0,s.jL)((0,s.Jj)(this.domNode),()=>{this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight}),this.updateScrollWidth(),this.scrollableElementUpdateDisposable=null}))}eventuallyUpdateScrollWidth(){if(!this.horizontalScrolling){this.scrollableElementWidthDelayer.cancel();return}this.scrollableElementWidthDelayer.trigger(()=>this.updateScrollWidth())}updateScrollWidth(){if(!this.horizontalScrolling)return;let e=0;for(let t of this.items)void 0!==t.width&&(e=Math.max(e,t.width));this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:0===e?0:e+10}),this._onDidChangeContentWidth.fire(this.scrollWidth)}rerender(){if(this.supportDynamicHeights){for(let e of this.items)e.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){let e=this.scrollableElement.getScrollDimensions();return e.height}get firstVisibleIndex(){let e=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);return e.start}element(e){return this.items[e].element}indexOf(e){return this.items.findIndex(t=>t.element===e)}domElement(e){let t=this.items[e].row;return t&&t.domNode}elementHeight(e){return this.items[e].size}elementTop(e){return this.rangeMap.positionAt(e)}indexAt(e){return this.rangeMap.indexAt(e)}indexAfter(e){return this.rangeMap.indexAfter(e)}layout(e,t){let i={height:"number"==typeof e?e:(0,s.If)(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,i.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(i),void 0!==t&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight)),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:"number"==typeof t?t:(0,s.FK)(this.domNode)})}render(e,t,i,n,s,o=!1){let r=this.getRenderRange(t,i),l=g.e.relativeComplement(r,e).reverse(),a=g.e.relativeComplement(e,r);if(o){let t=g.e.intersect(e,r);for(let e=t.start;e{for(let e of a)for(let t=e.start;t=e.start;t--)this.insertItemInDOM(t)}),void 0!==n&&(this.rowsContainer.style.left=`-${n}px`),this.rowsContainer.style.top=`-${t}px`,this.horizontalScrolling&&void 0!==s&&(this.rowsContainer.style.width=`${Math.max(s,this.renderWidth)}px`),this.lastRenderTop=t,this.lastRenderHeight=i}insertItemInDOM(e,t){var i,n,o;let r=this.items[e];if(!r.row){if(t)r.row=t,r.stale=!0;else{let e=this.cache.alloc(r.templateId);r.row=e.row,r.stale||(r.stale=e.isReusingConnectedDomNode)}}let l=this.accessibilityProvider.getRole(r.element)||"listitem";r.row.domNode.setAttribute("role",l);let a=this.accessibilityProvider.isChecked(r.element);if("boolean"==typeof a)r.row.domNode.setAttribute("aria-checked",String(!!a));else if(a){let e=e=>r.row.domNode.setAttribute("aria-checked",String(!!e));e(a.value),r.checkedDisposable=a.onDidChange(()=>e(a.value))}if(r.stale||!r.row.domNode.parentElement){let t=null!==(o=null===(n=null===(i=this.items.at(e+1))||void 0===i?void 0:i.row)||void 0===n?void 0:n.domNode)&&void 0!==o?o:null;(r.row.domNode.parentElement!==this.rowsContainer||r.row.domNode.nextElementSibling!==t)&&this.rowsContainer.insertBefore(r.row.domNode,t),r.stale=!1}this.updateItemInDOM(r,e);let d=this.renderers.get(r.templateId);if(!d)throw Error(`No renderer found for template id ${r.templateId}`);null==d||d.renderElement(r.element,e,r.row.templateData,r.size);let h=this.dnd.getDragURI(r.element);r.dragStartDisposable.dispose(),r.row.domNode.draggable=!!h,h&&(r.dragStartDisposable=(0,s.nm)(r.row.domNode,"dragstart",e=>this.onDragStart(r.element,h,e))),this.horizontalScrolling&&(this.measureItemWidth(r),this.eventuallyUpdateScrollWidth())}measureItemWidth(e){if(!e.row||!e.row.domNode)return;e.row.domNode.style.width="fit-content",e.width=(0,s.FK)(e.row.domNode);let t=(0,s.Jj)(e.row.domNode).getComputedStyle(e.row.domNode);t.paddingLeft&&(e.width+=parseFloat(t.paddingLeft)),t.paddingRight&&(e.width+=parseFloat(t.paddingRight)),e.row.domNode.style.width=""}updateItemInDOM(e,t){e.row.domNode.style.top=`${this.elementTop(t)}px`,this.setRowHeight&&(e.row.domNode.style.height=`${e.size}px`),this.setRowLineHeight&&(e.row.domNode.style.lineHeight=`${e.size}px`),e.row.domNode.setAttribute("data-index",`${t}`),e.row.domNode.setAttribute("data-last-element",t===this.length-1?"true":"false"),e.row.domNode.setAttribute("data-parity",t%2==0?"even":"odd"),e.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(e.element,t,this.length))),e.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(e.element,t))),e.row.domNode.setAttribute("id",this.getElementDomId(t)),e.row.domNode.classList.toggle("drop-target",e.dropTarget)}removeItemFromDOM(e){let t=this.items[e];if(t.dragStartDisposable.dispose(),t.checkedDisposable.dispose(),t.row){let i=this.renderers.get(t.templateId);i&&i.disposeElement&&i.disposeElement(t.element,e,t.row.templateData,t.size),this.cache.release(t.row),t.row=null}this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){let e=this.scrollableElement.getScrollPosition();return e.scrollTop}setScrollTop(e,t){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:e,reuseAnimation:t})}get scrollTop(){return this.getScrollTop()}set scrollTop(e){this.setScrollTop(e)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.paddingBottom}get onMouseClick(){return u.ju.map(this.disposables.add(new o.Y(this.domNode,"click")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseDblClick(){return u.ju.map(this.disposables.add(new o.Y(this.domNode,"dblclick")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseMiddleClick(){return u.ju.filter(u.ju.map(this.disposables.add(new o.Y(this.domNode,"auxclick")).event,e=>this.toMouseEvent(e),this.disposables),e=>1===e.browserEvent.button,this.disposables)}get onMouseDown(){return u.ju.map(this.disposables.add(new o.Y(this.domNode,"mousedown")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseOver(){return u.ju.map(this.disposables.add(new o.Y(this.domNode,"mouseover")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseOut(){return u.ju.map(this.disposables.add(new o.Y(this.domNode,"mouseout")).event,e=>this.toMouseEvent(e),this.disposables)}get onContextMenu(){return u.ju.any(u.ju.map(this.disposables.add(new o.Y(this.domNode,"contextmenu")).event,e=>this.toMouseEvent(e),this.disposables),u.ju.map(this.disposables.add(new o.Y(this.domNode,r.t.Contextmenu)).event,e=>this.toGestureEvent(e),this.disposables))}get onTouchStart(){return u.ju.map(this.disposables.add(new o.Y(this.domNode,"touchstart")).event,e=>this.toTouchEvent(e),this.disposables)}get onTap(){return u.ju.map(this.disposables.add(new o.Y(this.rowsContainer,r.t.Tap)).event,e=>this.toGestureEvent(e),this.disposables)}toMouseEvent(e){let t=this.getItemIndexFromEventTarget(e.target||null),i=void 0===t?void 0:this.items[t],n=i&&i.element;return{browserEvent:e,index:t,element:n}}toTouchEvent(e){let t=this.getItemIndexFromEventTarget(e.target||null),i=void 0===t?void 0:this.items[t],n=i&&i.element;return{browserEvent:e,index:t,element:n}}toGestureEvent(e){let t=this.getItemIndexFromEventTarget(e.initialTarget||null),i=void 0===t?void 0:this.items[t],n=i&&i.element;return{browserEvent:e,index:t,element:n}}toDragEvent(e){let t=this.getItemIndexFromEventTarget(e.target||null),i=void 0===t?void 0:this.items[t],n=i&&i.element,s=this.getTargetSector(e,t);return{browserEvent:e,index:t,element:n,sector:s}}onScroll(e){try{let t=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(t,e.scrollTop,e.height,e.scrollLeft,e.scrollWidth),this.supportDynamicHeights&&this._rerender(e.scrollTop,e.height,e.inSmoothScrolling)}catch(t){throw console.error("Got bad scroll event:",e),t}}onTouchChange(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY}onDragStart(e,t,i){var o,r;if(!i.dataTransfer)return;let l=this.dnd.getDragElements(e);if(i.dataTransfer.effectAllowed="copyMove",i.dataTransfer.setData(n.g.TEXT,t),i.dataTransfer.setDragImage){let e;this.dnd.getDragLabel&&(e=this.dnd.getDragLabel(l,i)),void 0===e&&(e=String(l.length));let t=(0,s.$)(".monaco-drag-image");t.textContent=e;let n=(e=>{for(;e&&!e.classList.contains("monaco-workbench");)e=e.parentElement;return e||this.domNode.ownerDocument})(this.domNode);n.appendChild(t),i.dataTransfer.setDragImage(t,-10,-10),setTimeout(()=>n.removeChild(t),0)}this.domNode.classList.add("dragging"),this.currentDragData=new L(l),y.CurrentDragAndDropData=new k(l),null===(r=(o=this.dnd).onDragStart)||void 0===r||r.call(o,this.currentDragData,i)}onDragOver(e){var t,i,n,s;let o;if(e.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),y.CurrentDragAndDropData&&"vscode-ui"===y.CurrentDragAndDropData.getData()||(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer))return!1;if(!this.currentDragData){if(y.CurrentDragAndDropData)this.currentDragData=y.CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new D}}let r=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.sector,e.browserEvent);if(this.canDrop="boolean"==typeof r?r:r.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;e.browserEvent.dataTransfer.dropEffect="boolean"!=typeof r&&(null===(t=r.effect)||void 0===t?void 0:t.type)===0?"copy":"move",o="boolean"!=typeof r&&r.feedback?r.feedback:void 0===e.index?[-1]:[e.index],o=-1===(o=(0,a.EB)(o).filter(e=>e>=-1&&ee-t))[0]?[-1]:o;let l="boolean"!=typeof r&&r.effect&&r.effect.position?r.effect.position:"drop-target";if(n=this.currentDragFeedback,s=o,(Array.isArray(n)&&Array.isArray(s)?(0,a.fS)(n,s):n===s)&&this.currentDragFeedbackPosition===l)return!0;if(this.currentDragFeedback=o,this.currentDragFeedbackPosition=l,this.currentDragFeedbackDisposable.dispose(),-1===o[0])this.domNode.classList.add(l),this.rowsContainer.classList.add(l),this.currentDragFeedbackDisposable=(0,c.OF)(()=>{this.domNode.classList.remove(l),this.rowsContainer.classList.remove(l)});else{if(o.length>1&&"drop-target"!==l)throw Error("Can't use multiple feedbacks with position different than 'over'");for(let e of("drop-target-after"===l&&o[0]{var e;for(let t of o){let i=this.items[t];i.dropTarget=!1,null===(e=i.row)||void 0===e||e.domNode.classList.remove(l)}})}return!0}onDragLeave(e){var t,i;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=(0,d.Vg)(()=>this.clearDragOverFeedback(),100,this.disposables),this.currentDragData&&(null===(i=(t=this.dnd).onDragLeave)||void 0===i||i.call(t,this.currentDragData,e.element,e.index,e.browserEvent))}onDrop(e){if(!this.canDrop)return;let t=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.domNode.classList.remove("dragging"),this.currentDragData=void 0,y.CurrentDragAndDropData=void 0,t&&e.browserEvent.dataTransfer&&(e.browserEvent.preventDefault(),t.update(e.browserEvent.dataTransfer),this.dnd.drop(t,e.element,e.index,e.sector,e.browserEvent))}onDragEnd(e){var t,i;this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.domNode.classList.remove("dragging"),this.currentDragData=void 0,y.CurrentDragAndDropData=void 0,null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackPosition=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=c.JT.None}setupDragAndDropScrollTopAnimation(e){if(!this.dragOverAnimationDisposable){let e=(0,s.xQ)(this.domNode).top;this.dragOverAnimationDisposable=(0,s.jt)((0,s.Jj)(this.domNode),this.animateDragAndDropScrollTop.bind(this,e))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=(0,d.Vg)(()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},1e3,this.disposables),this.dragOverMouseY=e.pageY}animateDragAndDropScrollTop(e){if(void 0===this.dragOverMouseY)return;let t=this.dragOverMouseY-e,i=this.renderHeight-35;t<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(t-35))):t>i&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-i))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getTargetSector(e,t){if(void 0===t)return;let i=e.offsetY/this.items[t].size;return(0,C.uZ)(Math.floor(i/.25),0,3)}getItemIndexFromEventTarget(e){let t=this.scrollableElement.getDomNode(),i=e;for(;(0,s.Re)(i)&&i!==this.rowsContainer&&t.contains(i);){let e=i.getAttribute("data-index");if(e){let t=Number(e);if(!isNaN(t))return t}i=i.parentElement}}getRenderRange(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}}_rerender(e,t,i){let n,s;let o=this.getRenderRange(e,t);e===this.elementTop(o.start)?(n=o.start,s=0):o.end-o.start>1&&(n=o.start+1,s=this.elementTop(n)-e);let r=0;for(;;){let l=this.getRenderRange(e,t),a=!1;for(let e=l.start;e=e.start;t--)this.insertItemInDOM(t);for(let e=l.start;en.splice(e,t,i))}}var g=i(9488),p=i(15393),m=i(41264),f=i(49898),_=i(4669),v=i(60075),b=i(5976),C=i(59870),w=i(1432),y=i(98401);i(50203);class S extends Error{constructor(e,t){super(`ListError [${e}] ${t}`)}}var L=i(72010),k=i(7317),D=i(39901),x=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r};class N{constructor(e){this.trait=e,this.renderedElements=[]}get templateId(){return`template:${this.trait.name}`}renderTemplate(e){return e}renderElement(e,t,i){let n=this.renderedElements.findIndex(e=>e.templateData===i);if(n>=0){let e=this.renderedElements[n];this.trait.unrender(i),e.index=t}else this.renderedElements.push({index:t,templateData:i});this.trait.renderIndex(t,i)}splice(e,t,i){let n=[];for(let s of this.renderedElements)s.index=e+t&&n.push({index:s.index+i-t,templateData:s.templateData});this.renderedElements=n}renderIndexes(e){for(let{index:t,templateData:i}of this.renderedElements)e.indexOf(t)>-1&&this.trait.renderIndex(t,i)}disposeTemplate(e){let t=this.renderedElements.findIndex(t=>t.templateData===e);t<0||this.renderedElements.splice(t,1)}}class E{get name(){return this._trait}get renderer(){return new N(this)}constructor(e){this._trait=e,this.indexes=[],this.sortedIndexes=[],this._onChange=new _.Q5,this.onChange=this._onChange.event}splice(e,t,i){let n=i.length-t,s=e+t,o=[],r=0;for(;r=s;)o.push(this.sortedIndexes[r++]+n);this.renderer.splice(e,t,i.length),this._set(o,o)}renderIndex(e,t){t.classList.toggle(this._trait,this.contains(e))}unrender(e){e.classList.remove(this._trait)}set(e,t){return this._set(e,[...e].sort(Y),t)}_set(e,t,i){let n=this.indexes,s=this.sortedIndexes;this.indexes=e,this.sortedIndexes=t;let o=Z(s,e);return this.renderer.renderIndexes(o),this._onChange.fire({indexes:e,browserEvent:i}),n}get(){return this.indexes}contains(e){return(0,g.ry)(this.sortedIndexes,e,Y)>=0}dispose(){(0,b.B9)(this._onChange)}}x([f.H],E.prototype,"renderer",null);class I extends E{constructor(e){super("selected"),this.setAriaSelected=e}renderIndex(e,t){super.renderIndex(e,t),this.setAriaSelected&&(this.contains(e)?t.setAttribute("aria-selected","true"):t.setAttribute("aria-selected","false"))}}class T{constructor(e,t,i){this.trait=e,this.view=t,this.identityProvider=i}splice(e,t,i){if(!this.identityProvider)return this.trait.splice(e,t,Array(i.length).fill(!1));let n=this.trait.get().map(e=>this.identityProvider.getId(this.view.element(e)).toString());if(0===n.length)return this.trait.splice(e,t,Array(i.length).fill(!1));let s=new Set(n),o=i.map(e=>s.has(this.identityProvider.getId(e).toString()));this.trait.splice(e,t,o)}}function M(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}function R(e,t){return!!e.classList.contains(t)||!e.classList.contains("monaco-list")&&!!e.parentElement&&R(e.parentElement,t)}function A(e){return R(e,"monaco-editor")}function P(e){return R(e,"monaco-custom-toggle")}function O(e){return R(e,"action-item")}function F(e){return R(e,"monaco-tree-sticky-row")}function B(e){return e.classList.contains("monaco-tree-sticky-container")}class W{get onKeyDown(){return _.ju.chain(this.disposables.add(new a.Y(this.view.domNode,"keydown")).event,e=>e.filter(e=>!M(e.target)).map(e=>new d.y(e)))}constructor(e,t,i){this.list=e,this.view=t,this.disposables=new b.SL,this.multipleSelectionDisposables=new b.SL,this.multipleSelectionSupport=i.multipleSelectionSupport,this.disposables.add(this.onKeyDown(e=>{switch(e.keyCode){case 3:return this.onEnter(e);case 16:return this.onUpArrow(e);case 18:return this.onDownArrow(e);case 11:return this.onPageUpArrow(e);case 12:return this.onPageDownArrow(e);case 9:return this.onEscape(e);case 31:this.multipleSelectionSupport&&(w.dz?e.metaKey:e.ctrlKey)&&this.onCtrlA(e)}}))}updateOptions(e){void 0!==e.multipleSelectionSupport&&(this.multipleSelectionSupport=e.multipleSelectionSupport)}onEnter(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(this.list.getFocus(),e.browserEvent)}onUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPrevious(1,!1,e.browserEvent);let t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNext(1,!1,e.browserEvent);let t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onPageUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPreviousPage(e.browserEvent);let t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onPageDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNextPage(e.browserEvent);let t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onCtrlA(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection((0,g.w6)(this.list.length),e.browserEvent),this.list.setAnchor(void 0),this.view.domNode.focus()}onEscape(e){this.list.getSelection().length&&(e.preventDefault(),e.stopPropagation(),this.list.setSelection([],e.browserEvent),this.list.setAnchor(void 0),this.view.domNode.focus())}dispose(){this.disposables.dispose(),this.multipleSelectionDisposables.dispose()}}x([f.H],W.prototype,"onKeyDown",null),(n=o||(o={}))[n.Automatic=0]="Automatic",n[n.Trigger=1]="Trigger",(s=r||(r={}))[s.Idle=0]="Idle",s[s.Typing=1]="Typing";let H=new class{mightProducePrintableCharacter(e){return!e.ctrlKey&&!e.metaKey&&!e.altKey&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30||e.keyCode>=98&&e.keyCode<=107||e.keyCode>=85&&e.keyCode<=95)}};class V{constructor(e,t,i,n,s){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=i,this.keyboardNavigationEventFilter=n,this.delegate=s,this.enabled=!1,this.state=r.Idle,this.mode=o.Automatic,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new b.SL,this.disposables=new b.SL,this.updateOptions(e.options)}updateOptions(e){var t,i;null===(t=e.typeNavigationEnabled)||void 0===t||t?this.enable():this.disable(),this.mode=null!==(i=e.typeNavigationMode)&&void 0!==i?i:o.Automatic}enable(){if(this.enabled)return;let e=!1,t=_.ju.chain(this.enabledDisposables.add(new a.Y(this.view.domNode,"keydown")).event,t=>t.filter(e=>!M(e.target)).filter(()=>this.mode===o.Automatic||this.triggered).map(e=>new d.y(e)).filter(t=>e||this.keyboardNavigationEventFilter(t)).filter(e=>this.delegate.mightProducePrintableCharacter(e)).forEach(e=>l.zB.stop(e,!0)).map(e=>e.browserEvent.key)),i=_.ju.debounce(t,()=>null,800,void 0,void 0,void 0,this.enabledDisposables),n=_.ju.reduce(_.ju.any(t,i),(e,t)=>null===t?null:(e||"")+t,void 0,this.enabledDisposables);n(this.onInput,this,this.enabledDisposables),i(this.onClear,this,this.enabledDisposables),t(()=>e=!0,void 0,this.enabledDisposables),i(()=>e=!1,void 0,this.enabledDisposables),this.enabled=!0,this.triggered=!1}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var e;let t=this.list.getFocus();if(t.length>0&&t[0]===this.previouslyFocused){let i=null===(e=this.list.options.accessibilityProvider)||void 0===e?void 0:e.getAriaLabel(this.list.element(t[0]));"string"==typeof i?(0,u.Z9)(i):i&&(0,u.Z9)(i.get())}this.previouslyFocused=-1}onInput(e){if(!e){this.state=r.Idle,this.triggered=!1;return}let t=this.list.getFocus(),i=t.length>0?t[0]:0,n=this.state===r.Idle?1:0;this.state=r.Typing;for(let t=0;t1&&1===t.length){this.previouslyFocused=i,this.list.setFocus([s]),this.list.reveal(s);return}}}}else if(void 0===r||(0,v.Ji)(e,r)){this.previouslyFocused=i,this.list.setFocus([s]),this.list.reveal(s);return}}}dispose(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()}}class z{constructor(e,t){this.list=e,this.view=t,this.disposables=new b.SL;let i=_.ju.chain(this.disposables.add(new a.Y(t.domNode,"keydown")).event,e=>e.filter(e=>!M(e.target)).map(e=>new d.y(e))),n=_.ju.chain(i,e=>e.filter(e=>2===e.keyCode&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey));n(this.onTab,this,this.disposables)}onTab(e){if(e.target!==this.view.domNode)return;let t=this.list.getFocus();if(0===t.length)return;let i=this.view.domElement(t[0]);if(!i)return;let n=i.querySelector("[tabIndex]");if(!n||!(0,l.Re)(n)||-1===n.tabIndex)return;let s=(0,l.Jj)(n).getComputedStyle(n);"hidden"!==s.visibility&&"none"!==s.display&&(e.preventDefault(),e.stopPropagation(),n.focus())}dispose(){this.disposables.dispose()}}function K(e){return w.dz?e.browserEvent.metaKey:e.browserEvent.ctrlKey}function U(e){return e.browserEvent.shiftKey}let $={isSelectionSingleChangeEvent:K,isSelectionRangeChangeEvent:U};class q{constructor(e){this.list=e,this.disposables=new b.SL,this._onPointer=new _.Q5,this.onPointer=this._onPointer.event,!1!==e.options.multipleSelectionSupport&&(this.multipleSelectionController=this.list.options.multipleSelectionController||$),this.mouseSupport=void 0===e.options.mouseSupport||!!e.options.mouseSupport,this.mouseSupport&&(e.onMouseDown(this.onMouseDown,this,this.disposables),e.onContextMenu(this.onContextMenu,this,this.disposables),e.onMouseDblClick(this.onDoubleClick,this,this.disposables),e.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(h.o.addTarget(e.getHTMLElement()))),_.ju.any(e.onMouseClick,e.onMouseMiddleClick,e.onTap)(this.onViewPointer,this,this.disposables)}updateOptions(e){void 0!==e.multipleSelectionSupport&&(this.multipleSelectionController=void 0,e.multipleSelectionSupport&&(this.multipleSelectionController=this.list.options.multipleSelectionController||$))}isSelectionSingleChangeEvent(e){return!!this.multipleSelectionController&&this.multipleSelectionController.isSelectionSingleChangeEvent(e)}isSelectionRangeChangeEvent(e){return!!this.multipleSelectionController&&this.multipleSelectionController.isSelectionRangeChangeEvent(e)}isSelectionChangeEvent(e){return this.isSelectionSingleChangeEvent(e)||this.isSelectionRangeChangeEvent(e)}onMouseDown(e){A(e.browserEvent.target)||(0,l.vY)()===e.browserEvent.target||this.list.domFocus()}onContextMenu(e){if(M(e.browserEvent.target)||A(e.browserEvent.target))return;let t=void 0===e.index?[]:[e.index];this.list.setFocus(t,e.browserEvent)}onViewPointer(e){var t;if(!this.mouseSupport||M(e.browserEvent.target)||A(e.browserEvent.target)||e.browserEvent.isHandledByList)return;e.browserEvent.isHandledByList=!0;let i=e.index;if(void 0===i){this.list.setFocus([],e.browserEvent),this.list.setSelection([],e.browserEvent),this.list.setAnchor(void 0);return}if(this.isSelectionChangeEvent(e))return this.changeSelection(e);this.list.setFocus([i],e.browserEvent),this.list.setAnchor(i),t=e.browserEvent,(0,l.N5)(t)&&2===t.button||this.list.setSelection([i],e.browserEvent),this._onPointer.fire(e)}onDoubleClick(e){if(M(e.browserEvent.target)||A(e.browserEvent.target)||this.isSelectionChangeEvent(e)||e.browserEvent.isHandledByList)return;e.browserEvent.isHandledByList=!0;let t=this.list.getFocus();this.list.setSelection(t,e.browserEvent)}changeSelection(e){let t=e.index,i=this.list.getAnchor();if(this.isSelectionRangeChangeEvent(e)){if(void 0===i){let e=this.list.getFocus()[0];i=null!=e?e:t,this.list.setAnchor(i)}let n=Math.min(i,t),s=Math.max(i,t),o=(0,g.w6)(n,s+1),r=this.list.getSelection(),l=function(e,t){let i=e.indexOf(t);if(-1===i)return[];let n=[],s=i-1;for(;s>=0&&e[s]===t-(i-s);)n.push(e[s--]);for(n.reverse(),s=i;s=e.length)i.push(t[s++]);else if(s>=t.length)i.push(e[n++]);else if(e[n]===t[s]){n++,s++;continue}else e[n]e!==t);this.list.setFocus([t]),this.list.setAnchor(t),i.length===n.length?this.list.setSelection([...n,t],e.browserEvent):this.list.setSelection(n,e.browserEvent)}}dispose(){this.disposables.dispose()}}class j{constructor(e,t){this.styleElement=e,this.selectorSuffix=t}style(e){var t,i;let n=this.selectorSuffix&&`.${this.selectorSuffix}`,s=[];e.listBackground&&s.push(`.monaco-list${n} .monaco-list-rows { background: ${e.listBackground}; }`),e.listFocusBackground&&(s.push(`.monaco-list${n}:focus .monaco-list-row.focused { background-color: ${e.listFocusBackground}; }`),s.push(`.monaco-list${n}:focus .monaco-list-row.focused:hover { background-color: ${e.listFocusBackground}; }`)),e.listFocusForeground&&s.push(`.monaco-list${n}:focus .monaco-list-row.focused { color: ${e.listFocusForeground}; }`),e.listActiveSelectionBackground&&(s.push(`.monaco-list${n}:focus .monaco-list-row.selected { background-color: ${e.listActiveSelectionBackground}; }`),s.push(`.monaco-list${n}:focus .monaco-list-row.selected:hover { background-color: ${e.listActiveSelectionBackground}; }`)),e.listActiveSelectionForeground&&s.push(`.monaco-list${n}:focus .monaco-list-row.selected { color: ${e.listActiveSelectionForeground}; }`),e.listActiveSelectionIconForeground&&s.push(`.monaco-list${n}:focus .monaco-list-row.selected .codicon { color: ${e.listActiveSelectionIconForeground}; }`),e.listFocusAndSelectionBackground&&s.push(` - .monaco-drag-image, - .monaco-list${n}:focus .monaco-list-row.selected.focused { background-color: ${e.listFocusAndSelectionBackground}; } - `),e.listFocusAndSelectionForeground&&s.push(` - .monaco-drag-image, - .monaco-list${n}:focus .monaco-list-row.selected.focused { color: ${e.listFocusAndSelectionForeground}; } - `),e.listInactiveFocusForeground&&(s.push(`.monaco-list${n} .monaco-list-row.focused { color: ${e.listInactiveFocusForeground}; }`),s.push(`.monaco-list${n} .monaco-list-row.focused:hover { color: ${e.listInactiveFocusForeground}; }`)),e.listInactiveSelectionIconForeground&&s.push(`.monaco-list${n} .monaco-list-row.focused .codicon { color: ${e.listInactiveSelectionIconForeground}; }`),e.listInactiveFocusBackground&&(s.push(`.monaco-list${n} .monaco-list-row.focused { background-color: ${e.listInactiveFocusBackground}; }`),s.push(`.monaco-list${n} .monaco-list-row.focused:hover { background-color: ${e.listInactiveFocusBackground}; }`)),e.listInactiveSelectionBackground&&(s.push(`.monaco-list${n} .monaco-list-row.selected { background-color: ${e.listInactiveSelectionBackground}; }`),s.push(`.monaco-list${n} .monaco-list-row.selected:hover { background-color: ${e.listInactiveSelectionBackground}; }`)),e.listInactiveSelectionForeground&&s.push(`.monaco-list${n} .monaco-list-row.selected { color: ${e.listInactiveSelectionForeground}; }`),e.listHoverBackground&&s.push(`.monaco-list${n}:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: ${e.listHoverBackground}; }`),e.listHoverForeground&&s.push(`.monaco-list${n}:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused) { color: ${e.listHoverForeground}; }`);let o=(0,l.XT)(e.listFocusAndSelectionOutline,(0,l.XT)(e.listSelectionOutline,null!==(t=e.listFocusOutline)&&void 0!==t?t:""));o&&s.push(`.monaco-list${n}:focus .monaco-list-row.focused.selected { outline: 1px solid ${o}; outline-offset: -1px;}`),e.listFocusOutline&&s.push(` - .monaco-drag-image, - .monaco-list${n}:focus .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; } - .monaco-workbench.context-menu-visible .monaco-list${n}.last-focused .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; } - `);let r=(0,l.XT)(e.listSelectionOutline,null!==(i=e.listInactiveFocusOutline)&&void 0!==i?i:"");r&&s.push(`.monaco-list${n} .monaco-list-row.focused.selected { outline: 1px dotted ${r}; outline-offset: -1px; }`),e.listSelectionOutline&&s.push(`.monaco-list${n} .monaco-list-row.selected { outline: 1px dotted ${e.listSelectionOutline}; outline-offset: -1px; }`),e.listInactiveFocusOutline&&s.push(`.monaco-list${n} .monaco-list-row.focused { outline: 1px dotted ${e.listInactiveFocusOutline}; outline-offset: -1px; }`),e.listHoverOutline&&s.push(`.monaco-list${n} .monaco-list-row:hover { outline: 1px dashed ${e.listHoverOutline}; outline-offset: -1px; }`),e.listDropOverBackground&&s.push(` - .monaco-list${n}.drop-target, - .monaco-list${n} .monaco-list-rows.drop-target, - .monaco-list${n} .monaco-list-row.drop-target { background-color: ${e.listDropOverBackground} !important; color: inherit !important; } - `),e.listDropBetweenBackground&&(s.push(` - .monaco-list${n} .monaco-list-rows.drop-target-before .monaco-list-row:first-child::before, - .monaco-list${n} .monaco-list-row.drop-target-before::before { - content: ""; position: absolute; top: 0px; left: 0px; width: 100%; height: 1px; - background-color: ${e.listDropBetweenBackground}; - }`),s.push(` - .monaco-list${n} .monaco-list-rows.drop-target-after .monaco-list-row:last-child::after, - .monaco-list${n} .monaco-list-row.drop-target-after::after { - content: ""; position: absolute; bottom: 0px; left: 0px; width: 100%; height: 1px; - background-color: ${e.listDropBetweenBackground}; - }`)),e.tableColumnsBorder&&s.push(` - .monaco-table > .monaco-split-view2, - .monaco-table > .monaco-split-view2 .monaco-sash.vertical::before, - .monaco-workbench:not(.reduce-motion) .monaco-table:hover > .monaco-split-view2, - .monaco-workbench:not(.reduce-motion) .monaco-table:hover > .monaco-split-view2 .monaco-sash.vertical::before { - border-color: ${e.tableColumnsBorder}; - } - - .monaco-workbench:not(.reduce-motion) .monaco-table > .monaco-split-view2, - .monaco-workbench:not(.reduce-motion) .monaco-table > .monaco-split-view2 .monaco-sash.vertical::before { - border-color: transparent; - } - `),e.tableOddRowsBackgroundColor&&s.push(` - .monaco-table .monaco-list-row[data-parity=odd]:not(.focused):not(.selected):not(:hover) .monaco-table-tr, - .monaco-table .monaco-list:not(:focus) .monaco-list-row[data-parity=odd].focused:not(.selected):not(:hover) .monaco-table-tr, - .monaco-table .monaco-list:not(.focused) .monaco-list-row[data-parity=odd].focused:not(.selected):not(:hover) .monaco-table-tr { - background-color: ${e.tableOddRowsBackgroundColor}; - } - `),this.styleElement.textContent=s.join("\n")}}let G={listFocusBackground:"#7FB0D0",listActiveSelectionBackground:"#0E639C",listActiveSelectionForeground:"#FFFFFF",listActiveSelectionIconForeground:"#FFFFFF",listFocusAndSelectionOutline:"#90C2F9",listFocusAndSelectionBackground:"#094771",listFocusAndSelectionForeground:"#FFFFFF",listInactiveSelectionBackground:"#3F3F46",listInactiveSelectionIconForeground:"#FFFFFF",listHoverBackground:"#2A2D2E",listDropOverBackground:"#383B3D",listDropBetweenBackground:"#EEEEEE",treeIndentGuidesStroke:"#a9a9a9",treeInactiveIndentGuidesStroke:m.Il.fromHex("#a9a9a9").transparent(.4).toString(),tableColumnsBorder:m.Il.fromHex("#cccccc").transparent(.2).toString(),tableOddRowsBackgroundColor:m.Il.fromHex("#cccccc").transparent(.04).toString(),listBackground:void 0,listFocusForeground:void 0,listInactiveSelectionForeground:void 0,listInactiveFocusForeground:void 0,listInactiveFocusBackground:void 0,listHoverForeground:void 0,listFocusOutline:void 0,listInactiveFocusOutline:void 0,listSelectionOutline:void 0,listHoverOutline:void 0,treeStickyScrollBackground:void 0,treeStickyScrollBorder:void 0,treeStickyScrollShadow:void 0},Q={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){},dispose(){}}};function Z(e,t){let i=[],n=0,s=0;for(;n=e.length)i.push(t[s++]);else if(s>=t.length)i.push(e[n++]);else if(e[n]===t[s]){i.push(e[n]),n++,s++;continue}else e[n]e-t;class J{constructor(e,t){this._templateId=e,this.renderers=t}get templateId(){return this._templateId}renderTemplate(e){return this.renderers.map(t=>t.renderTemplate(e))}renderElement(e,t,i,n){let s=0;for(let o of this.renderers)o.renderElement(e,t,i[s++],n)}disposeElement(e,t,i,n){var s;let o=0;for(let r of this.renderers)null===(s=r.disposeElement)||void 0===s||s.call(r,e,t,i[o],n),o+=1}disposeTemplate(e){let t=0;for(let i of this.renderers)i.disposeTemplate(e[t++])}}class X{constructor(e){this.accessibilityProvider=e,this.templateId="a18n"}renderTemplate(e){return{container:e,disposables:new b.SL}}renderElement(e,t,i){let n=this.accessibilityProvider.getAriaLabel(e),s=n&&"string"!=typeof n?n:(0,D.Dz)(n);i.disposables.add((0,D.EH)(e=>{this.setAriaLabel(e.readObservable(s),i.container)}));let o=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(e);"number"==typeof o?i.container.setAttribute("aria-level",`${o}`):i.container.removeAttribute("aria-level")}setAriaLabel(e,t){e?t.setAttribute("aria-label",e):t.removeAttribute("aria-label")}disposeElement(e,t,i,n){i.disposables.clear()}disposeTemplate(e){e.disposables.dispose()}}class ee{constructor(e,t){this.list=e,this.dnd=t}getDragElements(e){let t=this.list.getSelectedElements(),i=t.indexOf(e)>-1?t:[e];return i}getDragURI(e){return this.dnd.getDragURI(e)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e,t)}onDragStart(e,t){var i,n;null===(n=(i=this.dnd).onDragStart)||void 0===n||n.call(i,e,t)}onDragOver(e,t,i,n,s){return this.dnd.onDragOver(e,t,i,n,s)}onDragLeave(e,t,i,n){var s,o;null===(o=(s=this.dnd).onDragLeave)||void 0===o||o.call(s,e,t,i,n)}onDragEnd(e){var t,i;null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}drop(e,t,i,n,s){this.dnd.drop(e,t,i,n,s)}dispose(){this.dnd.dispose()}}class et{get onDidChangeFocus(){return _.ju.map(this.eventBufferer.wrapEvent(this.focus.onChange),e=>this.toListEvent(e),this.disposables)}get onDidChangeSelection(){return _.ju.map(this.eventBufferer.wrapEvent(this.selection.onChange),e=>this.toListEvent(e),this.disposables)}get domId(){return this.view.domId}get onDidScroll(){return this.view.onDidScroll}get onMouseClick(){return this.view.onMouseClick}get onMouseDblClick(){return this.view.onMouseDblClick}get onMouseMiddleClick(){return this.view.onMouseMiddleClick}get onPointer(){return this.mouseController.onPointer}get onMouseDown(){return this.view.onMouseDown}get onMouseOver(){return this.view.onMouseOver}get onMouseOut(){return this.view.onMouseOut}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){let e=!1,t=_.ju.chain(this.disposables.add(new a.Y(this.view.domNode,"keydown")).event,t=>t.map(e=>new d.y(e)).filter(t=>e=58===t.keyCode||t.shiftKey&&68===t.keyCode).map(e=>l.zB.stop(e,!0)).filter(()=>!1)),i=_.ju.chain(this.disposables.add(new a.Y(this.view.domNode,"keyup")).event,t=>t.forEach(()=>e=!1).map(e=>new d.y(e)).filter(e=>58===e.keyCode||e.shiftKey&&68===e.keyCode).map(e=>l.zB.stop(e,!0)).map(({browserEvent:e})=>{let t=this.getFocus(),i=t.length?t[0]:void 0,n=void 0!==i?this.view.element(i):void 0,s=void 0!==i?this.view.domElement(i):this.view.domNode;return{index:i,element:n,anchor:s,browserEvent:e}})),n=_.ju.chain(this.view.onContextMenu,t=>t.filter(t=>!e).map(({element:e,index:t,browserEvent:i})=>({element:e,index:t,anchor:new k.n((0,l.Jj)(this.view.domNode),i),browserEvent:i})));return _.ju.any(t,i,n)}get onKeyDown(){return this.disposables.add(new a.Y(this.view.domNode,"keydown")).event}get onDidFocus(){return _.ju.signal(this.disposables.add(new a.Y(this.view.domNode,"focus",!0)).event)}get onDidBlur(){return _.ju.signal(this.disposables.add(new a.Y(this.view.domNode,"blur",!0)).event)}constructor(e,t,i,n,s=Q){var o,r,a,d;this.user=e,this._options=s,this.focus=new E("focused"),this.anchor=new E("anchor"),this.eventBufferer=new _.E7,this._ariaLabel="",this.disposables=new b.SL,this._onDidDispose=new _.Q5,this.onDidDispose=this._onDidDispose.event;let h=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?null===(o=this._options.accessibilityProvider)||void 0===o?void 0:o.getWidgetRole():"list";this.selection=new I("listbox"!==h);let u=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=s.accessibilityProvider,this.accessibilityProvider&&(u.push(new X(this.accessibilityProvider)),null===(a=(r=this.accessibilityProvider).onDidChangeActiveDescendant)||void 0===a||a.call(r,this.onDidChangeActiveDescendant,this,this.disposables)),n=n.map(e=>new J(e.templateId,[...u,e]));let g={...s,dnd:s.dnd&&new ee(this,s.dnd)};if(this.view=this.createListView(t,i,n,g),this.view.domNode.setAttribute("role",h),s.styleController)this.styleController=s.styleController(this.view.domId);else{let e=(0,l.dS)(this.view.domNode);this.styleController=new j(e,this.view.domId)}if(this.spliceable=new c([new T(this.focus,this.view,s.identityProvider),new T(this.selection,this.view,s.identityProvider),new T(this.anchor,this.view,s.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.anchor),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.disposables.add(new z(this,this.view)),("boolean"!=typeof s.keyboardSupport||s.keyboardSupport)&&(this.keyboardController=new W(this,this.view,s),this.disposables.add(this.keyboardController)),s.keyboardNavigationLabelProvider){let e=s.keyboardNavigationDelegate||H;this.typeNavigationController=new V(this,this.view,s.keyboardNavigationLabelProvider,null!==(d=s.keyboardNavigationEventFilter)&&void 0!==d?d:()=>!0,e),this.disposables.add(this.typeNavigationController)}this.mouseController=this.createMouseController(s),this.disposables.add(this.mouseController),this.onDidChangeFocus(this._onFocusChange,this,this.disposables),this.onDidChangeSelection(this._onSelectionChange,this,this.disposables),this.accessibilityProvider&&(this.ariaLabel=this.accessibilityProvider.getWidgetAriaLabel()),!1!==this._options.multipleSelectionSupport&&this.view.domNode.setAttribute("aria-multiselectable","true")}createListView(e,t,i,n){return new L.Bv(e,t,i,n)}createMouseController(e){return new q(this)}updateOptions(e={}){var t,i;this._options={...this._options,...e},null===(t=this.typeNavigationController)||void 0===t||t.updateOptions(this._options),void 0!==this._options.multipleSelectionController&&(this._options.multipleSelectionSupport?this.view.domNode.setAttribute("aria-multiselectable","true"):this.view.domNode.removeAttribute("aria-multiselectable")),this.mouseController.updateOptions(e),null===(i=this.keyboardController)||void 0===i||i.updateOptions(e),this.view.updateOptions(e)}get options(){return this._options}splice(e,t,i=[]){if(e<0||e>this.view.length)throw new S(this.user,`Invalid start index: ${e}`);if(t<0)throw new S(this.user,`Invalid delete count: ${t}`);(0!==t||0!==i.length)&&this.eventBufferer.bufferEvents(()=>this.spliceable.splice(e,t,i))}rerender(){this.view.rerender()}element(e){return this.view.element(e)}indexOf(e){return this.view.indexOf(e)}indexAt(e){return this.view.indexAt(e)}get length(){return this.view.length}get contentHeight(){return this.view.contentHeight}get onDidChangeContentHeight(){return this.view.onDidChangeContentHeight}get scrollTop(){return this.view.getScrollTop()}set scrollTop(e){this.view.setScrollTop(e)}get scrollHeight(){return this.view.scrollHeight}get renderHeight(){return this.view.renderHeight}get firstVisibleIndex(){return this.view.firstVisibleIndex}get ariaLabel(){return this._ariaLabel}set ariaLabel(e){this._ariaLabel=e,this.view.domNode.setAttribute("aria-label",e)}domFocus(){this.view.domNode.focus({preventScroll:!0})}layout(e,t){this.view.layout(e,t)}setSelection(e,t){for(let t of e)if(t<0||t>=this.length)throw new S(this.user,`Invalid index ${t}`);this.selection.set(e,t)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map(e=>this.view.element(e))}setAnchor(e){if(void 0===e){this.anchor.set([]);return}if(e<0||e>=this.length)throw new S(this.user,`Invalid index ${e}`);this.anchor.set([e])}getAnchor(){return(0,g.Xh)(this.anchor.get(),void 0)}getAnchorElement(){let e=this.getAnchor();return void 0===e?void 0:this.element(e)}setFocus(e,t){for(let t of e)if(t<0||t>=this.length)throw new S(this.user,`Invalid index ${t}`);this.focus.set(e,t)}focusNext(e=1,t=!1,i,n){if(0===this.length)return;let s=this.focus.get(),o=this.findNextIndex(s.length>0?s[0]+e:0,t,n);o>-1&&this.setFocus([o],i)}focusPrevious(e=1,t=!1,i,n){if(0===this.length)return;let s=this.focus.get(),o=this.findPreviousIndex(s.length>0?s[0]-e:0,t,n);o>-1&&this.setFocus([o],i)}async focusNextPage(e,t){let i=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);i=0===i?0:i-1;let n=this.getFocus()[0];if(n!==i&&(void 0===n||i>n)){let s=this.findPreviousIndex(i,!1,t);s>-1&&n!==s?this.setFocus([s],e):this.setFocus([i],e)}else{let s=this.view.getScrollTop(),o=s+this.view.renderHeight;i>n&&(o-=this.view.elementHeight(i)),this.view.setScrollTop(o),this.view.getScrollTop()!==s&&(this.setFocus([]),await (0,p.Vs)(0),await this.focusNextPage(e,t))}}async focusPreviousPage(e,t,i=()=>0){let n;let s=i(),o=this.view.getScrollTop()+s;n=0===o?this.view.indexAt(o):this.view.indexAfter(o-1);let r=this.getFocus()[0];if(r!==n&&(void 0===r||r>=n)){let i=this.findNextIndex(n,!1,t);i>-1&&r!==i?this.setFocus([i],e):this.setFocus([n],e)}else this.view.setScrollTop(o-this.view.renderHeight-s),this.view.getScrollTop()+i()!==o&&(this.setFocus([]),await (0,p.Vs)(0),await this.focusPreviousPage(e,t,i))}focusLast(e,t){if(0===this.length)return;let i=this.findPreviousIndex(this.length-1,!1,t);i>-1&&this.setFocus([i],e)}focusFirst(e,t){this.focusNth(0,e,t)}focusNth(e,t,i){if(0===this.length)return;let n=this.findNextIndex(e,!1,i);n>-1&&this.setFocus([n],t)}findNextIndex(e,t=!1,i){for(let n=0;n=this.length)||t);n++){if(e%=this.length,!i||i(this.element(e)))return e;e++}return -1}findPreviousIndex(e,t=!1,i){for(let n=0;nthis.view.element(e))}reveal(e,t,i=0){if(e<0||e>=this.length)throw new S(this.user,`Invalid index ${e}`);let n=this.view.getScrollTop(),s=this.view.elementTop(e),o=this.view.elementHeight(e);if((0,y.hj)(t)){let e=o-this.view.renderHeight+i;this.view.setScrollTop(e*(0,C.uZ)(t,0,1)+s-i)}else{let e=s+o,t=n+this.view.renderHeight;s=t||(s=t&&o>=this.view.renderHeight?this.view.setScrollTop(s-i):e>=t&&this.view.setScrollTop(e-this.view.renderHeight))}}getRelativeTop(e,t=0){if(e<0||e>=this.length)throw new S(this.user,`Invalid index ${e}`);let i=this.view.getScrollTop(),n=this.view.elementTop(e),s=this.view.elementHeight(e);if(ni+this.view.renderHeight)return null;let o=s-this.view.renderHeight+t;return Math.abs((i+t-n)/o)}getHTMLElement(){return this.view.domNode}getScrollableElement(){return this.view.scrollableElementDomNode}getElementID(e){return this.view.getElementDomId(e)}getElementTop(e){return this.view.elementTop(e)}style(e){this.styleController.style(e)}toListEvent({indexes:e,browserEvent:t}){return{indexes:e,elements:e.map(e=>this.view.element(e)),browserEvent:t}}_onFocusChange(){let e=this.focus.get();this.view.domNode.classList.toggle("element-focused",e.length>0),this.onDidChangeActiveDescendant()}onDidChangeActiveDescendant(){var e;let t=this.focus.get();if(t.length>0){let i;(null===(e=this.accessibilityProvider)||void 0===e?void 0:e.getActiveDescendantId)&&(i=this.accessibilityProvider.getActiveDescendantId(this.view.element(t[0]))),this.view.domNode.setAttribute("aria-activedescendant",i||this.view.getElementDomId(t[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")}_onSelectionChange(){let e=this.selection.get();this.view.domNode.classList.toggle("selection-none",0===e.length),this.view.domNode.classList.toggle("selection-single",1===e.length),this.view.domNode.classList.toggle("selection-multiple",e.length>1)}dispose(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidDispose.dispose()}}x([f.H],et.prototype,"onDidChangeFocus",null),x([f.H],et.prototype,"onDidChangeSelection",null),x([f.H],et.prototype,"onContextMenu",null),x([f.H],et.prototype,"onKeyDown",null),x([f.H],et.prototype,"onDidFocus",null),x([f.H],et.prototype,"onDidBlur",null)},17735:function(e,t,i){"use strict";i.d(t,{f:function(){return l}});var n=i(65321),s=i(73098),o=i(4669),r=i(5976);class l{constructor(){let e;this._onDidWillResize=new o.Q5,this.onDidWillResize=this._onDidWillResize.event,this._onDidResize=new o.Q5,this.onDidResize=this._onDidResize.event,this._sashListener=new r.SL,this._size=new n.Ro(0,0),this._minSize=new n.Ro(0,0),this._maxSize=new n.Ro(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),this.domNode=document.createElement("div"),this._eastSash=new s.g(this.domNode,{getVerticalSashLeft:()=>this._size.width},{orientation:0}),this._westSash=new s.g(this.domNode,{getVerticalSashLeft:()=>0},{orientation:0}),this._northSash=new s.g(this.domNode,{getHorizontalSashTop:()=>0},{orientation:1,orthogonalEdge:s.l.North}),this._southSash=new s.g(this.domNode,{getHorizontalSashTop:()=>this._size.height},{orientation:1,orthogonalEdge:s.l.South}),this._northSash.orthogonalStartSash=this._westSash,this._northSash.orthogonalEndSash=this._eastSash,this._southSash.orthogonalStartSash=this._westSash,this._southSash.orthogonalEndSash=this._eastSash;let t=0,i=0;this._sashListener.add(o.ju.any(this._northSash.onDidStart,this._eastSash.onDidStart,this._southSash.onDidStart,this._westSash.onDidStart)(()=>{void 0===e&&(this._onDidWillResize.fire(),e=this._size,t=0,i=0)})),this._sashListener.add(o.ju.any(this._northSash.onDidEnd,this._eastSash.onDidEnd,this._southSash.onDidEnd,this._westSash.onDidEnd)(()=>{void 0!==e&&(e=void 0,t=0,i=0,this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(this._eastSash.onDidChange(n=>{e&&(i=n.currentX-n.startX,this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,east:!0}))})),this._sashListener.add(this._westSash.onDidChange(n=>{e&&(i=-(n.currentX-n.startX),this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,west:!0}))})),this._sashListener.add(this._northSash.onDidChange(n=>{e&&(t=-(n.currentY-n.startY),this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,north:!0}))})),this._sashListener.add(this._southSash.onDidChange(n=>{e&&(t=n.currentY-n.startY,this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,south:!0}))})),this._sashListener.add(o.ju.any(this._eastSash.onDidReset,this._westSash.onDidReset)(e=>{this._preferredSize&&(this.layout(this._size.height,this._preferredSize.width),this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(o.ju.any(this._northSash.onDidReset,this._southSash.onDidReset)(e=>{this._preferredSize&&(this.layout(this._preferredSize.height,this._size.width),this._onDidResize.fire({dimension:this._size,done:!0}))}))}dispose(){this._northSash.dispose(),this._southSash.dispose(),this._eastSash.dispose(),this._westSash.dispose(),this._sashListener.dispose(),this._onDidResize.dispose(),this._onDidWillResize.dispose(),this.domNode.remove()}enableSashes(e,t,i,n){this._northSash.state=e?3:0,this._eastSash.state=t?3:0,this._southSash.state=i?3:0,this._westSash.state=n?3:0}layout(e=this.size.height,t=this.size.width){let{height:i,width:s}=this._minSize,{height:o,width:r}=this._maxSize;e=Math.max(i,Math.min(o,e)),t=Math.max(s,Math.min(r,t));let l=new n.Ro(t,e);n.Ro.equals(l,this._size)||(this.domNode.style.height=e+"px",this.domNode.style.width=t+"px",this._size=l,this._northSash.layout(),this._eastSash.layout(),this._southSash.layout(),this._westSash.layout())}clearSashHoverState(){this._eastSash.clearSashHoverState(),this._westSash.clearSashHoverState(),this._northSash.clearSashHoverState(),this._southSash.clearSashHoverState()}get size(){return this._size}set maxSize(e){this._maxSize=e}get maxSize(){return this._maxSize}set minSize(e){this._minSize=e}get minSize(){return this._minSize}set preferredSize(e){this._preferredSize=e}get preferredSize(){return this._preferredSize}}},73098:function(e,t,i){"use strict";i.d(t,{g:function(){return C},l:function(){return s}});var n,s,o=i(65321),r=i(4850),l=i(10553),a=i(15393),d=i(49898),h=i(4669),u=i(5976),c=i(1432);i(91550);var g=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r};(n=s||(s={})).North="north",n.South="south",n.East="east",n.West="west";let p=new h.Q5,m=new h.Q5;class f{constructor(e){this.el=e,this.disposables=new u.SL}get onPointerMove(){return this.disposables.add(new r.Y((0,o.Jj)(this.el),"mousemove")).event}get onPointerUp(){return this.disposables.add(new r.Y((0,o.Jj)(this.el),"mouseup")).event}dispose(){this.disposables.dispose()}}g([d.H],f.prototype,"onPointerMove",null),g([d.H],f.prototype,"onPointerUp",null);class _{get onPointerMove(){return this.disposables.add(new r.Y(this.el,l.t.Change)).event}get onPointerUp(){return this.disposables.add(new r.Y(this.el,l.t.End)).event}constructor(e){this.el=e,this.disposables=new u.SL}dispose(){this.disposables.dispose()}}g([d.H],_.prototype,"onPointerMove",null),g([d.H],_.prototype,"onPointerUp",null);class v{get onPointerMove(){return this.factory.onPointerMove}get onPointerUp(){return this.factory.onPointerUp}constructor(e){this.factory=e}dispose(){}}g([d.H],v.prototype,"onPointerMove",null),g([d.H],v.prototype,"onPointerUp",null);let b="pointer-events-disabled";class C extends u.JT{get state(){return this._state}get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}set state(e){this._state!==e&&(this.el.classList.toggle("disabled",0===e),this.el.classList.toggle("minimum",1===e),this.el.classList.toggle("maximum",2===e),this._state=e,this.onDidEnablementChange.fire(e))}set orthogonalStartSash(e){if(this._orthogonalStartSash!==e){if(this.orthogonalStartDragHandleDisposables.clear(),this.orthogonalStartSashDisposables.clear(),e){let t=t=>{this.orthogonalStartDragHandleDisposables.clear(),0!==t&&(this._orthogonalStartDragHandle=(0,o.R3)(this.el,(0,o.$)(".orthogonal-drag-handle.start")),this.orthogonalStartDragHandleDisposables.add((0,u.OF)(()=>this._orthogonalStartDragHandle.remove())),this.orthogonalStartDragHandleDisposables.add(new r.Y(this._orthogonalStartDragHandle,"mouseenter")).event(()=>C.onMouseEnter(e),void 0,this.orthogonalStartDragHandleDisposables),this.orthogonalStartDragHandleDisposables.add(new r.Y(this._orthogonalStartDragHandle,"mouseleave")).event(()=>C.onMouseLeave(e),void 0,this.orthogonalStartDragHandleDisposables))};this.orthogonalStartSashDisposables.add(e.onDidEnablementChange.event(t,this)),t(e.state)}this._orthogonalStartSash=e}}set orthogonalEndSash(e){if(this._orthogonalEndSash!==e){if(this.orthogonalEndDragHandleDisposables.clear(),this.orthogonalEndSashDisposables.clear(),e){let t=t=>{this.orthogonalEndDragHandleDisposables.clear(),0!==t&&(this._orthogonalEndDragHandle=(0,o.R3)(this.el,(0,o.$)(".orthogonal-drag-handle.end")),this.orthogonalEndDragHandleDisposables.add((0,u.OF)(()=>this._orthogonalEndDragHandle.remove())),this.orthogonalEndDragHandleDisposables.add(new r.Y(this._orthogonalEndDragHandle,"mouseenter")).event(()=>C.onMouseEnter(e),void 0,this.orthogonalEndDragHandleDisposables),this.orthogonalEndDragHandleDisposables.add(new r.Y(this._orthogonalEndDragHandle,"mouseleave")).event(()=>C.onMouseLeave(e),void 0,this.orthogonalEndDragHandleDisposables))};this.orthogonalEndSashDisposables.add(e.onDidEnablementChange.event(t,this)),t(e.state)}this._orthogonalEndSash=e}}constructor(e,t,i){let n;super(),this.hoverDelay=300,this.hoverDelayer=this._register(new a.vp(this.hoverDelay)),this._state=3,this.onDidEnablementChange=this._register(new h.Q5),this._onDidStart=this._register(new h.Q5),this._onDidChange=this._register(new h.Q5),this._onDidReset=this._register(new h.Q5),this._onDidEnd=this._register(new h.Q5),this.orthogonalStartSashDisposables=this._register(new u.SL),this.orthogonalStartDragHandleDisposables=this._register(new u.SL),this.orthogonalEndSashDisposables=this._register(new u.SL),this.orthogonalEndDragHandleDisposables=this._register(new u.SL),this.onDidStart=this._onDidStart.event,this.onDidChange=this._onDidChange.event,this.onDidReset=this._onDidReset.event,this.onDidEnd=this._onDidEnd.event,this.linkedSash=void 0,this.el=(0,o.R3)(e,(0,o.$)(".monaco-sash")),i.orthogonalEdge&&this.el.classList.add(`orthogonal-edge-${i.orthogonalEdge}`),c.dz&&this.el.classList.add("mac");let s=this._register(new r.Y(this.el,"mousedown")).event;this._register(s(t=>this.onPointerStart(t,new f(e)),this));let d=this._register(new r.Y(this.el,"dblclick")).event;this._register(d(this.onPointerDoublePress,this));let g=this._register(new r.Y(this.el,"mouseenter")).event;this._register(g(()=>C.onMouseEnter(this)));let v=this._register(new r.Y(this.el,"mouseleave")).event;this._register(v(()=>C.onMouseLeave(this))),this._register(l.o.addTarget(this.el));let b=this._register(new r.Y(this.el,l.t.Start)).event;this._register(b(e=>this.onPointerStart(e,new _(this.el)),this));let w=this._register(new r.Y(this.el,l.t.Tap)).event;this._register(w(e=>{if(n){clearTimeout(n),n=void 0,this.onPointerDoublePress(e);return}clearTimeout(n),n=setTimeout(()=>n=void 0,250)},this)),"number"==typeof i.size?(this.size=i.size,0===i.orientation?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=4,this._register(p.event(e=>{this.size=e,this.layout()}))),this._register(m.event(e=>this.hoverDelay=e)),this.layoutProvider=t,this.orthogonalStartSash=i.orthogonalStartSash,this.orthogonalEndSash=i.orthogonalEndSash,this.orientation=i.orientation||0,1===this.orientation?(this.el.classList.add("horizontal"),this.el.classList.remove("vertical")):(this.el.classList.remove("horizontal"),this.el.classList.add("vertical")),this.el.classList.toggle("debug",!1),this.layout()}onPointerStart(e,t){o.zB.stop(e);let i=!1;if(!e.__orthogonalSashEvent){let n=this.getOrthogonalSash(e);n&&(i=!0,e.__orthogonalSashEvent=!0,n.onPointerStart(e,new v(t)))}if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onPointerStart(e,new v(t))),!this.state)return;let n=this.el.ownerDocument.getElementsByTagName("iframe");for(let e of n)e.classList.add(b);let s=e.pageX,r=e.pageY,l=e.altKey;this.el.classList.add("active"),this._onDidStart.fire({startX:s,currentX:s,startY:r,currentY:r,altKey:l});let a=(0,o.dS)(this.el),d=()=>{let e="";e=i?"all-scroll":1===this.orientation?1===this.state?"s-resize":2===this.state?"n-resize":c.dz?"row-resize":"ns-resize":1===this.state?"e-resize":2===this.state?"w-resize":c.dz?"col-resize":"ew-resize",a.textContent=`* { cursor: ${e} !important; }`},h=new u.SL;d(),i||this.onDidEnablementChange.event(d,null,h),t.onPointerMove(e=>{o.zB.stop(e,!1);let t={startX:s,currentX:e.pageX,startY:r,currentY:e.pageY,altKey:l};this._onDidChange.fire(t)},null,h),t.onPointerUp(e=>{for(let t of(o.zB.stop(e,!1),this.el.removeChild(a),this.el.classList.remove("active"),this._onDidEnd.fire(),h.dispose(),n))t.classList.remove(b)},null,h),h.add(t)}onPointerDoublePress(e){let t=this.getOrthogonalSash(e);t&&t._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}static onMouseEnter(e,t=!1){e.el.classList.contains("active")?(e.hoverDelayer.cancel(),e.el.classList.add("hover")):e.hoverDelayer.trigger(()=>e.el.classList.add("hover"),e.hoverDelay).then(void 0,()=>{}),!t&&e.linkedSash&&C.onMouseEnter(e.linkedSash,!0)}static onMouseLeave(e,t=!1){e.hoverDelayer.cancel(),e.el.classList.remove("hover"),!t&&e.linkedSash&&C.onMouseLeave(e.linkedSash,!0)}clearSashHoverState(){C.onMouseLeave(this)}layout(){if(0===this.orientation){let e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{let e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+"px",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+"px"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+"px")}}getOrthogonalSash(e){var t;let i=null!==(t=e.initialTarget)&&void 0!==t?t:e.target;if(i&&(0,o.Re)(i)&&i.classList.contains("orthogonal-drag-handle"))return i.classList.contains("start")?this.orthogonalStartSash:this.orthogonalEndSash}dispose(){super.dispose(),this.el.remove()}}},18967:function(e,t,i){"use strict";i.d(t,{s$:function(){return x},Io:function(){return S},NB:function(){return k},$Z:function(){return D}});var n=i(16268),s=i(65321),o=i(38626),r=i(7317),l=i(93911),a=i(93794),d=i(15393),h=i(25670);class u extends a.${constructor(e){super(),this._onActivate=e.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=e.bgWidth+"px",this.bgDomNode.style.height=e.bgHeight+"px",void 0!==e.top&&(this.bgDomNode.style.top="0px"),void 0!==e.left&&(this.bgDomNode.style.left="0px"),void 0!==e.bottom&&(this.bgDomNode.style.bottom="0px"),void 0!==e.right&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=e.className,this.domNode.classList.add(...h.k.asClassNameArray(e.icon)),this.domNode.style.position="absolute",this.domNode.style.width="11px",this.domNode.style.height="11px",void 0!==e.top&&(this.domNode.style.top=e.top+"px"),void 0!==e.left&&(this.domNode.style.left=e.left+"px"),void 0!==e.bottom&&(this.domNode.style.bottom=e.bottom+"px"),void 0!==e.right&&(this.domNode.style.right=e.right+"px"),this._pointerMoveMonitor=this._register(new l.C),this._register(s.mu(this.bgDomNode,s.tw.POINTER_DOWN,e=>this._arrowPointerDown(e))),this._register(s.mu(this.domNode,s.tw.POINTER_DOWN,e=>this._arrowPointerDown(e))),this._pointerdownRepeatTimer=this._register(new s.ne),this._pointerdownScheduleRepeatTimer=this._register(new d._F)}_arrowPointerDown(e){e.target&&e.target instanceof Element&&(this._onActivate(),this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancelAndSet(()=>{this._pointerdownRepeatTimer.cancelAndSet(()=>this._onActivate(),1e3/24,s.Jj(e))},200),this._pointerMoveMonitor.startMonitoring(e.target,e.pointerId,e.buttons,e=>{},()=>{this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancel()}),e.preventDefault())}}var c=i(5976);class g extends c.JT{constructor(e,t,i){super(),this._visibility=e,this._visibleClassName=t,this._invisibleClassName=i,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._rawShouldBeVisible=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new d._F)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this._updateShouldBeVisible())}setShouldBeVisible(e){this._rawShouldBeVisible=e,this._updateShouldBeVisible()}_applyVisibilitySetting(){return 2!==this._visibility&&(3===this._visibility||this._rawShouldBeVisible)}_updateShouldBeVisible(){let e=this._applyVisibilitySetting();this._shouldBeVisible!==e&&(this._shouldBeVisible=e,this.ensureVisibility())}setIsNeeded(e){this._isNeeded!==e&&(this._isNeeded=e,this.ensureVisibility())}setDomNode(e){this._domNode=e,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)}ensureVisibility(){if(!this._isNeeded){this._hide(!1);return}this._shouldBeVisible?this._reveal():this._hide(!0)}_reveal(){this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet(()=>{var e;null===(e=this._domNode)||void 0===e||e.setClassName(this._visibleClassName)},0))}_hide(e){var t;this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,null===(t=this._domNode)||void 0===t||t.setClassName(this._invisibleClassName+(e?" fade":"")))}}var p=i(1432);class m extends a.${constructor(e){super(),this._lazyRender=e.lazyRender,this._host=e.host,this._scrollable=e.scrollable,this._scrollByPage=e.scrollByPage,this._scrollbarState=e.scrollbarState,this._visibilityController=this._register(new g(e.visibility,"visible scrollbar "+e.extraScrollbarClassName,"invisible scrollbar "+e.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._pointerMoveMonitor=this._register(new l.C),this._shouldRender=!0,this.domNode=(0,o.X)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this._visibilityController.setDomNode(this.domNode),this.domNode.setPosition("absolute"),this._register(s.nm(this.domNode.domNode,s.tw.POINTER_DOWN,e=>this._domNodePointerDown(e)))}_createArrow(e){let t=this._register(new u(e));this.domNode.domNode.appendChild(t.bgDomNode),this.domNode.domNode.appendChild(t.domNode)}_createSlider(e,t,i,n){this.slider=(0,o.X)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(e),this.slider.setLeft(t),"number"==typeof i&&this.slider.setWidth(i),"number"==typeof n&&this.slider.setHeight(n),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this._register(s.nm(this.slider.domNode,s.tw.POINTER_DOWN,e=>{0===e.button&&(e.preventDefault(),this._sliderPointerDown(e))})),this.onclick(this.slider.domNode,e=>{e.leftButton&&e.stopPropagation()})}_onElementSize(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}beginReveal(){this._visibilityController.setShouldBeVisible(!0)}beginHide(){this._visibilityController.setShouldBeVisible(!1)}render(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))}_domNodePointerDown(e){e.target===this.domNode.domNode&&this._onPointerDown(e)}delegatePointerDown(e){let t=this.domNode.domNode.getClientRects()[0].top,i=t+this._scrollbarState.getSliderPosition(),n=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),s=this._sliderPointerPosition(e);i<=s&&s<=n?0===e.button&&(e.preventDefault(),this._sliderPointerDown(e)):this._onPointerDown(e)}_onPointerDown(e){let t,i;if(e.target===this.domNode.domNode&&"number"==typeof e.offsetX&&"number"==typeof e.offsetY)t=e.offsetX,i=e.offsetY;else{let n=s.i(this.domNode.domNode);t=e.pageX-n.left,i=e.pageY-n.top}let n=this._pointerDownRelativePosition(t,i);this._setDesiredScrollPositionNow(this._scrollByPage?this._scrollbarState.getDesiredScrollPositionFromOffsetPaged(n):this._scrollbarState.getDesiredScrollPositionFromOffset(n)),0===e.button&&(e.preventDefault(),this._sliderPointerDown(e))}_sliderPointerDown(e){if(!e.target||!(e.target instanceof Element))return;let t=this._sliderPointerPosition(e),i=this._sliderOrthogonalPointerPosition(e),n=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._pointerMoveMonitor.startMonitoring(e.target,e.pointerId,e.buttons,e=>{let s=this._sliderOrthogonalPointerPosition(e);if(p.ED&&Math.abs(s-i)>140){this._setDesiredScrollPositionNow(n.getScrollPosition());return}let o=this._sliderPointerPosition(e);this._setDesiredScrollPositionNow(n.getDesiredScrollPositionFromDelta(o-t))},()=>{this.slider.toggleClassName("active",!1),this._host.onDragEnd()}),this._host.onDragStart()}_setDesiredScrollPositionNow(e){let t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)}updateScrollbarSize(e){this._updateScrollbarSize(e),this._scrollbarState.setScrollbarSize(e),this._shouldRender=!0,this._lazyRender||this.render()}isNeeded(){return this._scrollbarState.isNeeded()}}var f=i(51203),_=i(78789);class v extends m{constructor(e,t,i){let n=e.getScrollDimensions(),s=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:i,scrollbarState:new f.M(t.horizontalHasArrows?t.arrowSize:0,2===t.horizontal?0:t.horizontalScrollbarSize,2===t.vertical?0:t.verticalScrollbarSize,n.width,n.scrollWidth,s.scrollLeft),visibility:t.horizontal,extraScrollbarClassName:"horizontal",scrollable:e,scrollByPage:t.scrollByPage}),t.horizontalHasArrows){let e=(t.arrowSize-11)/2,i=(t.horizontalScrollbarSize-11)/2;this._createArrow({className:"scra",icon:_.l.scrollbarButtonLeft,top:i,left:e,bottom:void 0,right:void 0,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new r.q(null,1,0))}),this._createArrow({className:"scra",icon:_.l.scrollbarButtonRight,top:i,left:void 0,bottom:void 0,right:e,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new r.q(null,-1,0))})}this._createSlider(Math.floor((t.horizontalScrollbarSize-t.horizontalSliderSize)/2),0,void 0,t.horizontalSliderSize)}_updateSlider(e,t){this.slider.setWidth(e),this.slider.setLeft(t)}_renderDomNode(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(e,t){return e}_sliderPointerPosition(e){return e.pageX}_sliderOrthogonalPointerPosition(e){return e.pageY}_updateScrollbarSize(e){this.slider.setHeight(e)}writeScrollPosition(e,t){e.scrollLeft=t}updateOptions(e){this.updateScrollbarSize(2===e.horizontal?0:e.horizontalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(2===e.vertical?0:e.verticalScrollbarSize),this._visibilityController.setVisibility(e.horizontal),this._scrollByPage=e.scrollByPage}}class b extends m{constructor(e,t,i){let n=e.getScrollDimensions(),s=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:i,scrollbarState:new f.M(t.verticalHasArrows?t.arrowSize:0,2===t.vertical?0:t.verticalScrollbarSize,0,n.height,n.scrollHeight,s.scrollTop),visibility:t.vertical,extraScrollbarClassName:"vertical",scrollable:e,scrollByPage:t.scrollByPage}),t.verticalHasArrows){let e=(t.arrowSize-11)/2,i=(t.verticalScrollbarSize-11)/2;this._createArrow({className:"scra",icon:_.l.scrollbarButtonUp,top:e,left:i,bottom:void 0,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new r.q(null,0,1))}),this._createArrow({className:"scra",icon:_.l.scrollbarButtonDown,top:void 0,left:i,bottom:e,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new r.q(null,0,-1))})}this._createSlider(0,Math.floor((t.verticalScrollbarSize-t.verticalSliderSize)/2),t.verticalSliderSize,void 0)}_updateSlider(e,t){this.slider.setHeight(e),this.slider.setTop(t)}_renderDomNode(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(e,t){return t}_sliderPointerPosition(e){return e.pageY}_sliderOrthogonalPointerPosition(e){return e.pageX}_updateScrollbarSize(e){this.slider.setWidth(e)}writeScrollPosition(e,t){e.scrollTop=t}updateOptions(e){this.updateScrollbarSize(2===e.vertical?0:e.verticalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(0),this._visibilityController.setVisibility(e.vertical),this._scrollByPage=e.scrollByPage}}var C=i(4669),w=i(76633);i(85947);class y{constructor(e,t,i){this.timestamp=e,this.deltaX=t,this.deltaY=i,this.score=0}}class S{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(-1===this._front&&-1===this._rear)return!1;let e=1,t=0,i=1,n=this._rear;for(;;){let s=n===this._front?e:Math.pow(2,-i);if(e-=s,t+=this._memory[n].score*s,n===this._front)break;n=(this._capacity+n-1)%this._capacity,i++}return t<=.5}acceptStandardWheelEvent(e){if(n.i7){let t=s.Jj(e.browserEvent),i=(0,n.ie)(t);this.accept(Date.now(),e.deltaX*i,e.deltaY*i)}else this.accept(Date.now(),e.deltaX,e.deltaY)}accept(e,t,i){let n=null,s=new y(e,t,i);-1===this._front&&-1===this._rear?(this._memory[0]=s,this._front=0,this._rear=0):(n=this._memory[this._rear],this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=s),s.score=this._computeScore(s,n)}_computeScore(e,t){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;let i=.5;if(this._isAlmostInt(e.deltaX)&&this._isAlmostInt(e.deltaY)||(i+=.25),t){let n=Math.abs(e.deltaX),s=Math.abs(e.deltaY),o=Math.abs(t.deltaX),r=Math.abs(t.deltaY);Math.max(n,o)%Math.max(Math.min(n,o),1)==0&&Math.max(s,r)%Math.max(Math.min(s,r),1)==0&&(i-=.5)}return Math.min(Math.max(i,0),1)}_isAlmostInt(e){return .01>Math.abs(Math.round(e)-e)}}S.INSTANCE=new S;class L extends a.${get options(){return this._options}constructor(e,t,i){super(),this._onScroll=this._register(new C.Q5),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new C.Q5),e.style.overflow="hidden",this._options=function(e){let t={lazyRender:void 0!==e.lazyRender&&e.lazyRender,className:void 0!==e.className?e.className:"",useShadows:void 0===e.useShadows||e.useShadows,handleMouseWheel:void 0===e.handleMouseWheel||e.handleMouseWheel,flipAxes:void 0!==e.flipAxes&&e.flipAxes,consumeMouseWheelIfScrollbarIsNeeded:void 0!==e.consumeMouseWheelIfScrollbarIsNeeded&&e.consumeMouseWheelIfScrollbarIsNeeded,alwaysConsumeMouseWheel:void 0!==e.alwaysConsumeMouseWheel&&e.alwaysConsumeMouseWheel,scrollYToX:void 0!==e.scrollYToX&&e.scrollYToX,mouseWheelScrollSensitivity:void 0!==e.mouseWheelScrollSensitivity?e.mouseWheelScrollSensitivity:1,fastScrollSensitivity:void 0!==e.fastScrollSensitivity?e.fastScrollSensitivity:5,scrollPredominantAxis:void 0===e.scrollPredominantAxis||e.scrollPredominantAxis,mouseWheelSmoothScroll:void 0===e.mouseWheelSmoothScroll||e.mouseWheelSmoothScroll,arrowSize:void 0!==e.arrowSize?e.arrowSize:11,listenOnDomNode:void 0!==e.listenOnDomNode?e.listenOnDomNode:null,horizontal:void 0!==e.horizontal?e.horizontal:1,horizontalScrollbarSize:void 0!==e.horizontalScrollbarSize?e.horizontalScrollbarSize:10,horizontalSliderSize:void 0!==e.horizontalSliderSize?e.horizontalSliderSize:0,horizontalHasArrows:void 0!==e.horizontalHasArrows&&e.horizontalHasArrows,vertical:void 0!==e.vertical?e.vertical:1,verticalScrollbarSize:void 0!==e.verticalScrollbarSize?e.verticalScrollbarSize:10,verticalHasArrows:void 0!==e.verticalHasArrows&&e.verticalHasArrows,verticalSliderSize:void 0!==e.verticalSliderSize?e.verticalSliderSize:0,scrollByPage:void 0!==e.scrollByPage&&e.scrollByPage};return t.horizontalSliderSize=void 0!==e.horizontalSliderSize?e.horizontalSliderSize:t.horizontalScrollbarSize,t.verticalSliderSize=void 0!==e.verticalSliderSize?e.verticalSliderSize:t.verticalScrollbarSize,p.dz&&(t.className+=" mac"),t}(t),this._scrollable=i,this._register(this._scrollable.onScroll(e=>{this._onWillScroll.fire(e),this._onDidScroll(e),this._onScroll.fire(e)}));let n={onMouseWheel:e=>this._onMouseWheel(e),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new b(this._scrollable,this._options,n)),this._horizontalScrollbar=this._register(new v(this._scrollable,this._options,n)),this._domNode=document.createElement("div"),this._domNode.className="monaco-scrollable-element "+this._options.className,this._domNode.setAttribute("role","presentation"),this._domNode.style.position="relative",this._domNode.style.overflow="hidden",this._domNode.appendChild(e),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=(0,o.X)(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=(0,o.X)(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=(0,o.X)(document.createElement("div")),this._topLeftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topLeftShadowDomNode.domNode)):(this._leftShadowDomNode=null,this._topShadowDomNode=null,this._topLeftShadowDomNode=null),this._listenOnDomNode=this._options.listenOnDomNode||this._domNode,this._mouseWheelToDispose=[],this._setListeningToMouseWheel(this._options.handleMouseWheel),this.onmouseover(this._listenOnDomNode,e=>this._onMouseOver(e)),this.onmouseleave(this._listenOnDomNode,e=>this._onMouseLeave(e)),this._hideTimeout=this._register(new d._F),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}dispose(){this._mouseWheelToDispose=(0,c.B9)(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarPointerDown(e){this._verticalScrollbar.delegatePointerDown(e)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(e){this._scrollable.setScrollDimensions(e,!1)}updateClassName(e){this._options.className=e,p.dz&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(e){void 0!==e.handleMouseWheel&&(this._options.handleMouseWheel=e.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),void 0!==e.mouseWheelScrollSensitivity&&(this._options.mouseWheelScrollSensitivity=e.mouseWheelScrollSensitivity),void 0!==e.fastScrollSensitivity&&(this._options.fastScrollSensitivity=e.fastScrollSensitivity),void 0!==e.scrollPredominantAxis&&(this._options.scrollPredominantAxis=e.scrollPredominantAxis),void 0!==e.horizontal&&(this._options.horizontal=e.horizontal),void 0!==e.vertical&&(this._options.vertical=e.vertical),void 0!==e.horizontalScrollbarSize&&(this._options.horizontalScrollbarSize=e.horizontalScrollbarSize),void 0!==e.verticalScrollbarSize&&(this._options.verticalScrollbarSize=e.verticalScrollbarSize),void 0!==e.scrollByPage&&(this._options.scrollByPage=e.scrollByPage),this._horizontalScrollbar.updateOptions(this._options),this._verticalScrollbar.updateOptions(this._options),this._options.lazyRender||this._render()}delegateScrollFromMouseWheelEvent(e){this._onMouseWheel(new r.q(e))}_setListeningToMouseWheel(e){let t=this._mouseWheelToDispose.length>0;t!==e&&(this._mouseWheelToDispose=(0,c.B9)(this._mouseWheelToDispose),e&&this._mouseWheelToDispose.push(s.nm(this._listenOnDomNode,s.tw.MOUSE_WHEEL,e=>{this._onMouseWheel(new r.q(e))},{passive:!1})))}_onMouseWheel(e){var t;if(null===(t=e.browserEvent)||void 0===t?void 0:t.defaultPrevented)return;let i=S.INSTANCE;i.acceptStandardWheelEvent(e);let n=!1;if(e.deltaY||e.deltaX){let t=e.deltaY*this._options.mouseWheelScrollSensitivity,s=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(this._options.scrollYToX&&s+t===0?s=t=0:Math.abs(t)>=Math.abs(s)?s=0:t=0),this._options.flipAxes&&([t,s]=[s,t]);let o=!p.dz&&e.browserEvent&&e.browserEvent.shiftKey;(this._options.scrollYToX||o)&&!s&&(s=t,t=0),e.browserEvent&&e.browserEvent.altKey&&(s*=this._options.fastScrollSensitivity,t*=this._options.fastScrollSensitivity);let r=this._scrollable.getFutureScrollPosition(),l={};if(t){let e=50*t,i=r.scrollTop-(e<0?Math.floor(e):Math.ceil(e));this._verticalScrollbar.writeScrollPosition(l,i)}if(s){let e=50*s,t=r.scrollLeft-(e<0?Math.floor(e):Math.ceil(e));this._horizontalScrollbar.writeScrollPosition(l,t)}if(l=this._scrollable.validateScrollPosition(l),r.scrollLeft!==l.scrollLeft||r.scrollTop!==l.scrollTop){let e=this._options.mouseWheelSmoothScroll&&i.isPhysicalMouseWheel();e?this._scrollable.setScrollPositionSmooth(l):this._scrollable.setScrollPositionNow(l),n=!0}}let s=n;!s&&this._options.alwaysConsumeMouseWheel&&(s=!0),!s&&this._options.consumeMouseWheelIfScrollbarIsNeeded&&(this._verticalScrollbar.isNeeded()||this._horizontalScrollbar.isNeeded())&&(s=!0),s&&(e.preventDefault(),e.stopPropagation())}_onDidScroll(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()}renderNow(){if(!this._options.lazyRender)throw Error("Please use `lazyRender` together with `renderNow`!");this._render()}_render(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){let e=this._scrollable.getCurrentScrollPosition(),t=e.scrollTop>0,i=e.scrollLeft>0,n=i?" left":"",s=t?" top":"",o=i||t?" top-left-corner":"";this._leftShadowDomNode.setClassName(`shadow${n}`),this._topShadowDomNode.setClassName(`shadow${s}`),this._topLeftShadowDomNode.setClassName(`shadow${o}${s}${n}`)}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseLeave(e){this._mouseIsOver=!1,this._hide()}_onMouseOver(e){this._mouseIsOver=!0,this._reveal()}_reveal(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()}_hide(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())}_scheduleHide(){this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet(()=>this._hide(),500)}}class k extends L{constructor(e,t){(t=t||{}).mouseWheelSmoothScroll=!1;let i=new w.Rm({forceIntegerValues:!0,smoothScrollDuration:0,scheduleAtNextAnimationFrame:t=>s.jL(s.Jj(e),t)});super(e,t,i),this._register(i)}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}}class D extends L{constructor(e,t,i){super(e,t,i)}setScrollPosition(e){e.reuseAnimation?this._scrollable.setScrollPositionSmooth(e,e.reuseAnimation):this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}class x extends L{constructor(e,t){(t=t||{}).mouseWheelSmoothScroll=!1;let i=new w.Rm({forceIntegerValues:!1,smoothScrollDuration:0,scheduleAtNextAnimationFrame:t=>s.jL(s.Jj(e),t)});super(e,t,i),this._register(i),this._element=e,this._register(this.onScroll(e=>{e.scrollTopChanged&&(this._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(this._element.scrollLeft=e.scrollLeft)})),this.scanDomNode()}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}scanDomNode(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})}}},51203:function(e,t,i){"use strict";i.d(t,{M:function(){return n}});class n{constructor(e,t,i,n,s,o){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(i),this._arrowSize=Math.round(e),this._visibleSize=n,this._scrollSize=s,this._scrollPosition=o,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new n(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(e){let t=Math.round(e);return this._visibleSize!==t&&(this._visibleSize=t,this._refreshComputedValues(),!0)}setScrollSize(e){let t=Math.round(e);return this._scrollSize!==t&&(this._scrollSize=t,this._refreshComputedValues(),!0)}setScrollPosition(e){let t=Math.round(e);return this._scrollPosition!==t&&(this._scrollPosition=t,this._refreshComputedValues(),!0)}setScrollbarSize(e){this._scrollbarSize=Math.round(e)}setOppositeScrollbarSize(e){this._oppositeScrollbarSize=Math.round(e)}static _computeValues(e,t,i,n,s){let o=Math.max(0,i-e),r=Math.max(0,o-2*t),l=n>0&&n>i;if(!l)return{computedAvailableSize:Math.round(o),computedIsNeeded:l,computedSliderSize:Math.round(r),computedSliderRatio:0,computedSliderPosition:0};let a=Math.round(Math.max(20,Math.floor(i*r/n))),d=(r-a)/(n-i);return{computedAvailableSize:Math.round(o),computedIsNeeded:l,computedSliderSize:Math.round(a),computedSliderRatio:d,computedSliderPosition:Math.round(s*d)}}_refreshComputedValues(){let e=n._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=e.computedAvailableSize,this._computedIsNeeded=e.computedIsNeeded,this._computedSliderSize=e.computedSliderSize,this._computedSliderRatio=e.computedSliderRatio,this._computedSliderPosition=e.computedSliderPosition}getArrowSize(){return this._arrowSize}getScrollPosition(){return this._scrollPosition}getRectangleLargeSize(){return this._computedAvailableSize}getRectangleSmallSize(){return this._scrollbarSize}isNeeded(){return this._computedIsNeeded}getSliderSize(){return this._computedSliderSize}getSliderPosition(){return this._computedSliderPosition}getDesiredScrollPositionFromOffset(e){if(!this._computedIsNeeded)return 0;let t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)}getDesiredScrollPositionFromOffsetPaged(e){if(!this._computedIsNeeded)return 0;let t=e-this._arrowSize,i=this._scrollPosition;return t(0,l.jL)((0,l.Jj)(this.el),e)})),this.scrollableElement=this._register(new h.$Z(this.viewContainer,{vertical:0===this.orientation?null!==(r=t.scrollbarVisibility)&&void 0!==r?r:1:2,horizontal:1===this.orientation?null!==(d=t.scrollbarVisibility)&&void 0!==d?d:1:2},this.scrollable));let u=this._register(new a.Y(this.viewContainer,"scroll")).event;this._register(u(e=>{let t=this.scrollableElement.getScrollPosition(),i=1>=Math.abs(this.viewContainer.scrollLeft-t.scrollLeft)?void 0:this.viewContainer.scrollLeft,n=1>=Math.abs(this.viewContainer.scrollTop-t.scrollTop)?void 0:this.viewContainer.scrollTop;(void 0!==i||void 0!==n)&&this.scrollableElement.setScrollPosition({scrollLeft:i,scrollTop:n})})),this.onDidScroll=this.scrollableElement.onScroll,this._register(this.onDidScroll(e=>{e.scrollTopChanged&&(this.viewContainer.scrollTop=e.scrollTop),e.scrollLeftChanged&&(this.viewContainer.scrollLeft=e.scrollLeft)})),(0,l.R3)(this.el,this.scrollableElement.getDomNode()),this.style(t.styles||v),t.descriptor&&(this.size=t.descriptor.size,t.descriptor.views.forEach((e,t)=>{let i=_.o8(e.visible)||e.visible?e.size:{type:"invisible",cachedVisibleSize:e.size},n=e.view;this.doAddView(n,i,t,!0)}),this._contentSize=this.viewItems.reduce((e,t)=>e+t.size,0),this.saveProportions())}style(e){e.separatorBorder.isTransparent()?(this.el.classList.remove("separator-border"),this.el.style.removeProperty("--separator-border")):(this.el.classList.add("separator-border"),this.el.style.setProperty("--separator-border",e.separatorBorder.toString()))}addView(e,t,i=this.viewItems.length,n){this.doAddView(e,t,i,n)}layout(e,t){let i=Math.max(this.size,this._contentSize);if(this.size=e,this.layoutContext=t,this.proportions){let t=0;for(let i=0;i0&&(n.size=(0,m.uZ)(Math.round(s*e/t),n.minimumSize,n.maximumSize))}}else{let t=(0,u.w6)(this.viewItems.length),n=t.filter(e=>1===this.viewItems[e].priority),s=t.filter(e=>2===this.viewItems[e].priority);this.resize(this.viewItems.length-1,e-i,void 0,n,s)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&this._contentSize>0&&(this.proportions=this.viewItems.map(e=>e.proportionalLayout&&e.visible?e.size/this._contentSize:void 0))}onSashStart({sash:e,start:t,alt:i}){for(let e of this.viewItems)e.enabled=!1;let n=this.sashItems.findIndex(t=>t.sash===e),s=(0,p.F8)((0,l.nm)(this.el.ownerDocument.body,"keydown",e=>o(this.sashDragState.current,e.altKey)),(0,l.nm)(this.el.ownerDocument.body,"keyup",()=>o(this.sashDragState.current,!1))),o=(e,t)=>{let i,o;let r=this.viewItems.map(e=>e.size),l=Number.NEGATIVE_INFINITY,a=Number.POSITIVE_INFINITY;if(this.inverseAltBehavior&&(t=!t),t){let e=n===this.sashItems.length-1;if(e){let e=this.viewItems[n];l=(e.minimumSize-e.size)/2,a=(e.maximumSize-e.size)/2}else{let e=this.viewItems[n+1];l=(e.size-e.maximumSize)/2,a=(e.size-e.minimumSize)/2}}if(!t){let e=(0,u.w6)(n,-1),t=(0,u.w6)(n+1,this.viewItems.length),s=e.reduce((e,t)=>e+(this.viewItems[t].minimumSize-r[t]),0),l=e.reduce((e,t)=>e+(this.viewItems[t].viewMaximumSize-r[t]),0),a=0===t.length?Number.POSITIVE_INFINITY:t.reduce((e,t)=>e+(r[t]-this.viewItems[t].minimumSize),0),d=0===t.length?Number.NEGATIVE_INFINITY:t.reduce((e,t)=>e+(r[t]-this.viewItems[t].viewMaximumSize),0),h=Math.max(s,d),c=Math.min(a,l),g=this.findFirstSnapIndex(e),p=this.findFirstSnapIndex(t);if("number"==typeof g){let e=this.viewItems[g],t=Math.floor(e.viewMinimumSize/2);i={index:g,limitDelta:e.visible?h-t:h+t,size:e.size}}if("number"==typeof p){let e=this.viewItems[p],t=Math.floor(e.viewMinimumSize/2);o={index:p,limitDelta:e.visible?c+t:c-t,size:e.size}}}this.sashDragState={start:e,current:e,index:n,sizes:r,minDelta:l,maxDelta:a,alt:t,snapBefore:i,snapAfter:o,disposable:s}};o(t,i)}onSashChange({current:e}){let{index:t,start:i,sizes:n,alt:s,minDelta:o,maxDelta:r,snapBefore:l,snapAfter:a}=this.sashDragState;this.sashDragState.current=e;let d=this.resize(t,e-i,n,void 0,void 0,o,r,l,a);if(s){let e=t===this.sashItems.length-1,i=this.viewItems.map(e=>e.size),n=e?t:t+1,s=this.viewItems[n],o=s.size-s.maximumSize,r=s.size-s.minimumSize,l=e?t-1:t+1;this.resize(l,-d,i,void 0,void 0,o,r)}this.distributeEmptySpace(),this.layoutViews()}onSashEnd(e){for(let t of(this._onDidSashChange.fire(e),this.sashDragState.disposable.dispose(),this.saveProportions(),this.viewItems))t.enabled=!0}onViewChange(e,t){let i=this.viewItems.indexOf(e);i<0||i>=this.viewItems.length||(t="number"==typeof t?t:e.size,t=(0,m.uZ)(t,e.minimumSize,e.maximumSize),this.inverseAltBehavior&&i>0?(this.resize(i-1,Math.floor((e.size-t)/2)),this.distributeEmptySpace(),this.layoutViews()):(e.size=t,this.relayout([i],void 0)))}resizeView(e,t){if(!(e<0)&&!(e>=this.viewItems.length)){if(this.state!==o.Idle)throw Error("Cant modify splitview");this.state=o.Busy;try{let i=(0,u.w6)(this.viewItems.length).filter(t=>t!==e),n=[...i.filter(e=>1===this.viewItems[e].priority),e],s=i.filter(e=>2===this.viewItems[e].priority),o=this.viewItems[e];t=Math.round(t),t=(0,m.uZ)(t,o.minimumSize,Math.min(o.maximumSize,this.size)),o.size=t,this.relayout(n,s)}finally{this.state=o.Idle}}}distributeViewSizes(){let e=[],t=0;for(let i of this.viewItems)i.maximumSize-i.minimumSize>0&&(e.push(i),t+=i.size);let i=Math.floor(t/e.length);for(let t of e)t.size=(0,m.uZ)(i,t.minimumSize,t.maximumSize);let n=(0,u.w6)(this.viewItems.length),s=n.filter(e=>1===this.viewItems[e].priority),o=n.filter(e=>2===this.viewItems[e].priority);this.relayout(s,o)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}doAddView(e,t,i=this.viewItems.length,n){if(this.state!==o.Idle)throw Error("Cant modify splitview");this.state=o.Busy;try{let s,o;let r=(0,l.$)(".split-view-view");i===this.viewItems.length?this.viewContainer.appendChild(r):this.viewContainer.insertBefore(r,this.viewContainer.children.item(i));let a=e.onDidChange(e=>this.onViewChange(m,e)),h=(0,p.OF)(()=>this.viewContainer.removeChild(r)),c=(0,p.F8)(a,h);"number"==typeof t?s=t:("auto"===t.type&&(t=this.areViewsDistributed()?{type:"distribute"}:{type:"split",index:t.index}),s="split"===t.type?this.getViewSize(t.index)/2:"invisible"===t.type?{cachedVisibleSize:t.cachedVisibleSize}:e.minimumSize);let m=0===this.orientation?new C(r,e,s,c):new w(r,e,s,c);if(this.viewItems.splice(i,0,m),this.viewItems.length>1){let e={orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash},t=0===this.orientation?new d.g(this.sashContainer,{getHorizontalSashTop:e=>this.getSashPosition(e),getHorizontalSashWidth:this.getSashOrthogonalSize},{...e,orientation:1}):new d.g(this.sashContainer,{getVerticalSashLeft:e=>this.getSashPosition(e),getVerticalSashHeight:this.getSashOrthogonalSize},{...e,orientation:0}),n=0===this.orientation?e=>({sash:t,start:e.startY,current:e.currentY,alt:e.altKey}):e=>({sash:t,start:e.startX,current:e.currentX,alt:e.altKey}),s=g.ju.map(t.onDidStart,n),o=s(this.onSashStart,this),r=g.ju.map(t.onDidChange,n),l=r(this.onSashChange,this),a=g.ju.map(t.onDidEnd,()=>this.sashItems.findIndex(e=>e.sash===t)),h=a(this.onSashEnd,this),c=t.onDidReset(()=>{let e=this.sashItems.findIndex(e=>e.sash===t),i=(0,u.w6)(e,-1),n=(0,u.w6)(e+1,this.viewItems.length),s=this.findFirstSnapIndex(i),o=this.findFirstSnapIndex(n);("number"!=typeof s||this.viewItems[s].visible)&&("number"!=typeof o||this.viewItems[o].visible)&&this._onDidSashReset.fire(e)}),m=(0,p.F8)(o,l,h,c,t);this.sashItems.splice(i-1,0,{sash:t,disposable:m})}r.appendChild(e.element),"number"!=typeof t&&"split"===t.type&&(o=[t.index]),n||this.relayout([i],o),n||"number"==typeof t||"distribute"!==t.type||this.distributeViewSizes()}finally{this.state=o.Idle}}relayout(e,t){let i=this.viewItems.reduce((e,t)=>e+t.size,0);this.resize(this.viewItems.length-1,this.size-i,void 0,e,t),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(e,t,i=this.viewItems.map(e=>e.size),n,s,o=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY,l,a){if(e<0||e>=this.viewItems.length)return 0;let d=(0,u.w6)(e,-1),h=(0,u.w6)(e+1,this.viewItems.length);if(s)for(let e of s)(0,u.zI)(d,e),(0,u.zI)(h,e);if(n)for(let e of n)(0,u.al)(d,e),(0,u.al)(h,e);let c=d.map(e=>this.viewItems[e]),g=d.map(e=>i[e]),p=h.map(e=>this.viewItems[e]),f=h.map(e=>i[e]),_=d.reduce((e,t)=>e+(this.viewItems[t].minimumSize-i[t]),0),v=d.reduce((e,t)=>e+(this.viewItems[t].maximumSize-i[t]),0),b=0===h.length?Number.POSITIVE_INFINITY:h.reduce((e,t)=>e+(i[t]-this.viewItems[t].minimumSize),0),C=0===h.length?Number.NEGATIVE_INFINITY:h.reduce((e,t)=>e+(i[t]-this.viewItems[t].maximumSize),0),w=Math.max(_,C,o),y=Math.min(b,v,r),S=!1;if(l){let e=this.viewItems[l.index],i=t>=l.limitDelta;S=i!==e.visible,e.setVisible(i,l.size)}if(!S&&a){let e=this.viewItems[a.index],i=te+t.size,0),i=this.size-t,n=(0,u.w6)(this.viewItems.length-1,-1),s=n.filter(e=>1===this.viewItems[e].priority),o=n.filter(e=>2===this.viewItems[e].priority);for(let e of o)(0,u.zI)(n,e);for(let e of s)(0,u.al)(n,e);"number"==typeof e&&(0,u.al)(n,e);for(let e=0;0!==i&&ee+t.size,0);let e=0;for(let t of this.viewItems)t.layout(e,this.layoutContext),e+=t.size;this.sashItems.forEach(e=>e.sash.layout()),this.updateSashEnablement(),this.updateScrollableElement()}updateScrollableElement(){0===this.orientation?this.scrollableElement.setScrollDimensions({height:this.size,scrollHeight:this._contentSize}):this.scrollableElement.setScrollDimensions({width:this.size,scrollWidth:this._contentSize})}updateSashEnablement(){let e=!1,t=this.viewItems.map(t=>e=t.size-t.minimumSize>0||e);e=!1;let i=this.viewItems.map(t=>e=t.maximumSize-t.size>0||e),n=[...this.viewItems].reverse();e=!1;let s=n.map(t=>e=t.size-t.minimumSize>0||e).reverse();e=!1;let o=n.map(t=>e=t.maximumSize-t.size>0||e).reverse(),r=0;for(let e=0;e0||this.startSnappingEnabled)?n.state=1:h&&t[e]&&(r0)break;if(!e.visible&&e.snap)return t}}areViewsDistributed(){let e,t;for(let i of this.viewItems)if(e=void 0===e?i.size:Math.min(e,i.size),(t=void 0===t?i.size:Math.max(t,i.size))-e>2)return!1;return!0}dispose(){var e;null===(e=this.sashDragState)||void 0===e||e.disposable.dispose(),(0,p.B9)(this.viewItems),this.viewItems=[],this.sashItems.forEach(e=>e.disposable.dispose()),this.sashItems=[],super.dispose()}}},82900:function(e,t,i){"use strict";i.d(t,{D:function(){return a},Z:function(){return d}});var n=i(93794),s=i(25670),o=i(4669);i(58206);var r=i(97759),l=i(21661);let a={inputActiveOptionBorder:"#007ACC00",inputActiveOptionForeground:"#FFFFFF",inputActiveOptionBackground:"#0E639C50"};class d extends n.${constructor(e){var t;super(),this._onChange=this._register(new o.Q5),this.onChange=this._onChange.event,this._onKeyDown=this._register(new o.Q5),this.onKeyDown=this._onKeyDown.event,this._opts=e,this._checked=this._opts.isChecked;let i=["monaco-custom-toggle"];this._opts.icon&&(this._icon=this._opts.icon,i.push(...s.k.asClassNameArray(this._icon))),this._opts.actionClassName&&i.push(...this._opts.actionClassName.split(" ")),this._checked&&i.push("checked"),this.domNode=document.createElement("div"),this._hover=this._register((0,l.B)().setupUpdatableHover(null!==(t=e.hoverDelegate)&&void 0!==t?t:(0,r.tM)("mouse"),this.domNode,this._opts.title)),this.domNode.classList.add(...i),this._opts.notFocusable||(this.domNode.tabIndex=0),this.domNode.setAttribute("role","checkbox"),this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.setAttribute("aria-label",this._opts.title),this.applyStyles(),this.onclick(this.domNode,e=>{this.enabled&&(this.checked=!this._checked,this._onChange.fire(!1),e.preventDefault())}),this._register(this.ignoreGesture(this.domNode)),this.onkeydown(this.domNode,e=>{if(10===e.keyCode||3===e.keyCode){this.checked=!this._checked,this._onChange.fire(!0),e.preventDefault(),e.stopPropagation();return}this._onKeyDown.fire(e)})}get enabled(){return"true"!==this.domNode.getAttribute("aria-disabled")}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.classList.toggle("checked",this._checked),this.applyStyles()}width(){return 22}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder||"",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground||"inherit",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground||"")}enable(){this.domNode.setAttribute("aria-disabled",String(!1))}disable(){this.domNode.setAttribute("aria-disabled",String(!0))}}},5637:function(e,t,i){"use strict";i.d(t,{CH:function(){return Z},E4:function(){return r},Zd:function(){return a},cz:function(){return M},sZ:function(){return l}});var n,s,o,r,l,a,d=i(65321);i(4850);var h=i(59069);i(90317),i(3070);var u=i(49111),c=i(72010),g=i(69047),p=i(82900),m=i(71782),f=i(60350);i(74741);var _=i(9488),v=i(15393),b=i(78789),C=i(25670),w=i(43702),y=i(4669),S=i(60075),L=i(5976),k=i(59870),D=i(98401);i(38386);var x=i(63580);i(97759);var N=i(39901);class E extends c.kX{constructor(e){super(e.elements.map(e=>e.element)),this.data=e}}function I(e){return e instanceof c.kX?new E(e):e}class T{constructor(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=L.JT.None,this.disposables=new L.SL}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(e=>e.element),t)}onDragStart(e,t){var i,n;null===(n=(i=this.dnd).onDragStart)||void 0===n||n.call(i,I(e),t)}onDragOver(e,t,i,n,s,o=!0){let r=this.dnd.onDragOver(I(e),t&&t.element,i,n,s),l=this.autoExpandNode!==t;if(l&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=t),void 0===t)return r;if(l&&"boolean"!=typeof r&&r.autoExpand&&(this.autoExpandDisposable=(0,v.Vg)(()=>{let e=this.modelProvider(),i=e.getNodeLocation(t);e.isCollapsed(i)&&e.setCollapsed(i,!1),this.autoExpandNode=void 0},500,this.disposables)),"boolean"==typeof r||!r.accept||void 0===r.bubble||r.feedback){if(!o){let e="boolean"==typeof r?r:r.accept,t="boolean"==typeof r?void 0:r.effect;return{accept:e,effect:t,feedback:[i]}}return r}if(1===r.bubble){let i=this.modelProvider(),o=i.getNodeLocation(t),r=i.getParentNodeLocation(o),l=i.getNode(r),a=r&&i.getListIndex(r);return this.onDragOver(e,l,a,n,s,!1)}let a=this.modelProvider(),d=a.getNodeLocation(t),h=a.getListIndex(d),u=a.getListRenderCount(d);return{...r,feedback:(0,_.w6)(h,h+u)}}drop(e,t,i,n,s){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(I(e),t&&t.element,i,n,s)}onDragEnd(e){var t,i;null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}dispose(){this.disposables.dispose(),this.dnd.dispose()}}class M{constructor(e){this.delegate=e}getHeight(e){return this.delegate.getHeight(e.element)}getTemplateId(e){return this.delegate.getTemplateId(e.element)}hasDynamicHeight(e){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(e.element)}setDynamicHeight(e,t){var i,n;null===(n=(i=this.delegate).setDynamicHeight)||void 0===n||n.call(i,e.element,t)}}(n=r||(r={})).None="none",n.OnHover="onHover",n.Always="always";class R{get elements(){return this._elements}constructor(e,t=[]){this._elements=t,this.disposables=new L.SL,this.onDidChange=y.ju.forEach(e,e=>this._elements=e,this.disposables)}dispose(){this.disposables.dispose()}}class A{constructor(e,t,i,n,s,o={}){var r;this.renderer=e,this.modelProvider=t,this.activeNodes=n,this.renderedIndentGuides=s,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=A.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.activeIndentNodes=new Set,this.indentGuidesDisposable=L.JT.None,this.disposables=new L.SL,this.templateId=e.templateId,this.updateOptions(o),y.ju.map(i,e=>e.node)(this.onDidChangeNodeTwistieState,this,this.disposables),null===(r=e.onDidChangeTwistieState)||void 0===r||r.call(e,this.onDidChangeTwistieState,this,this.disposables)}updateOptions(e={}){if(void 0!==e.indent){let t=(0,k.uZ)(e.indent,0,40);if(t!==this.indent)for(let[e,i]of(this.indent=t,this.renderedNodes))this.renderTreeElement(e,i)}if(void 0!==e.renderIndentGuides){let t=e.renderIndentGuides!==r.None;if(t!==this.shouldRenderIndentGuides){for(let[e,i]of(this.shouldRenderIndentGuides=t,this.renderedNodes))this._renderIndentGuides(e,i);if(this.indentGuidesDisposable.dispose(),t){let e=new L.SL;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,e),this.indentGuidesDisposable=e,this._onDidChangeActiveNodes(this.activeNodes.elements)}}}void 0!==e.hideTwistiesOfChildlessElements&&(this.hideTwistiesOfChildlessElements=e.hideTwistiesOfChildlessElements)}renderTemplate(e){let t=(0,d.R3)(e,(0,d.$)(".monaco-tl-row")),i=(0,d.R3)(t,(0,d.$)(".monaco-tl-indent")),n=(0,d.R3)(t,(0,d.$)(".monaco-tl-twistie")),s=(0,d.R3)(t,(0,d.$)(".monaco-tl-contents")),o=this.renderer.renderTemplate(s);return{container:e,indent:i,twistie:n,indentGuidesDisposable:L.JT.None,templateData:o}}renderElement(e,t,i,n){this.renderedNodes.set(e,i),this.renderedElements.set(e.element,e),this.renderTreeElement(e,i),this.renderer.renderElement(e,t,i.templateData,n)}disposeElement(e,t,i,n){var s,o;i.indentGuidesDisposable.dispose(),null===(o=(s=this.renderer).disposeElement)||void 0===o||o.call(s,e,t,i.templateData,n),"number"==typeof n&&(this.renderedNodes.delete(e),this.renderedElements.delete(e.element))}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}onDidChangeTwistieState(e){let t=this.renderedElements.get(e);t&&this.onDidChangeNodeTwistieState(t)}onDidChangeNodeTwistieState(e){let t=this.renderedNodes.get(e);t&&(this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderTreeElement(e,t))}renderTreeElement(e,t){let i=A.DefaultIndent+(e.depth-1)*this.indent;t.twistie.style.paddingLeft=`${i}px`,t.indent.style.width=`${i+this.indent-16}px`,e.collapsible?t.container.setAttribute("aria-expanded",String(!e.collapsed)):t.container.removeAttribute("aria-expanded"),t.twistie.classList.remove(...C.k.asClassNameArray(b.l.treeItemExpanded));let n=!1;this.renderer.renderTwistie&&(n=this.renderer.renderTwistie(e.element,t.twistie)),e.collapsible&&(!this.hideTwistiesOfChildlessElements||e.visibleChildrenCount>0)?(n||t.twistie.classList.add(...C.k.asClassNameArray(b.l.treeItemExpanded)),t.twistie.classList.add("collapsible"),t.twistie.classList.toggle("collapsed",e.collapsed)):t.twistie.classList.remove("collapsible","collapsed"),this._renderIndentGuides(e,t)}_renderIndentGuides(e,t){if((0,d.PO)(t.indent),t.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;let i=new L.SL,n=this.modelProvider();for(;;){let s=n.getNodeLocation(e),o=n.getParentNodeLocation(s);if(!o)break;let r=n.getNode(o),l=(0,d.$)(".indent-guide",{style:`width: ${this.indent}px`});this.activeIndentNodes.has(r)&&l.classList.add("active"),0===t.indent.childElementCount?t.indent.appendChild(l):t.indent.insertBefore(l,t.indent.firstElementChild),this.renderedIndentGuides.add(r,l),i.add((0,L.OF)(()=>this.renderedIndentGuides.delete(r,l))),e=r}t.indentGuidesDisposable=i}_onDidChangeActiveNodes(e){if(!this.shouldRenderIndentGuides)return;let t=new Set,i=this.modelProvider();e.forEach(e=>{let n=i.getNodeLocation(e);try{let s=i.getParentNodeLocation(n);e.collapsible&&e.children.length>0&&!e.collapsed?t.add(e):s&&t.add(i.getNode(s))}catch(e){}}),this.activeIndentNodes.forEach(e=>{t.has(e)||this.renderedIndentGuides.forEach(e,e=>e.classList.remove("active"))}),t.forEach(e=>{this.activeIndentNodes.has(e)||this.renderedIndentGuides.forEach(e,e=>e.classList.add("active"))}),this.activeIndentNodes=t}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),(0,L.B9)(this.disposables)}}A.DefaultIndent=8;class P{get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}constructor(e,t,i){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=i,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new L.SL,e.onWillRefilter(this.reset,this,this.disposables)}filter(e,t){let i=1;if(this._filter){let n=this._filter.filter(e,t);if(0===(i="boolean"==typeof n?n?1:0:(0,m.gB)(n)?(0,m.aG)(n.visibility):n))return!1}if(this._totalCount++,!this._pattern)return this._matchCount++,{data:S.CL.Default,visibility:i};let n=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),s=Array.isArray(n)?n:[n];for(let e of s){let t;let n=e&&e.toString();if(void 0===n)return{data:S.CL.Default,visibility:i};if(this.tree.findMatchType===a.Contiguous){let e=n.toLowerCase().indexOf(this._lowercasePattern);if(e>-1){t=[Number.MAX_SAFE_INTEGER,0];for(let i=this._lowercasePattern.length;i>0;i--)t.push(e+i-1)}}else t=(0,S.EW)(this._pattern,this._lowercasePattern,0,n,n.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});if(t)return this._matchCount++,1===s.length?{data:t,visibility:i}:{data:{label:n,score:t},visibility:i}}return this.tree.findMode!==l.Filter?{data:S.CL.Default,visibility:i}:"number"==typeof this.tree.options.defaultFindVisibility?this.tree.options.defaultFindVisibility:this.tree.options.defaultFindVisibility?this.tree.options.defaultFindVisibility(e):2}reset(){this._totalCount=0,this._matchCount=0}dispose(){(0,L.B9)(this.disposables)}}u.g4,p.D,(s=l||(l={}))[s.Highlight=0]="Highlight",s[s.Filter=1]="Filter",(o=a||(a={}))[o.Fuzzy=0]="Fuzzy",o[o.Contiguous=1]="Contiguous";class O{get pattern(){return this._pattern}get mode(){return this._mode}set mode(e){e!==this._mode&&(this._mode=e,this.widget&&(this.widget.mode=this._mode),this.tree.refilter(),this.render(),this._onDidChangeMode.fire(e))}get matchType(){return this._matchType}set matchType(e){e!==this._matchType&&(this._matchType=e,this.widget&&(this.widget.matchType=this._matchType),this.tree.refilter(),this.render(),this._onDidChangeMatchType.fire(e))}constructor(e,t,i,n,s,o={}){var r,d;this.tree=e,this.view=i,this.filter=n,this.contextViewProvider=s,this.options=o,this._pattern="",this.width=0,this._onDidChangeMode=new y.Q5,this.onDidChangeMode=this._onDidChangeMode.event,this._onDidChangeMatchType=new y.Q5,this.onDidChangeMatchType=this._onDidChangeMatchType.event,this._onDidChangePattern=new y.Q5,this._onDidChangeOpenState=new y.Q5,this.onDidChangeOpenState=this._onDidChangeOpenState.event,this.enabledDisposables=new L.SL,this.disposables=new L.SL,this._mode=null!==(r=e.options.defaultFindMode)&&void 0!==r?r:l.Highlight,this._matchType=null!==(d=e.options.defaultFindMatchType)&&void 0!==d?d:a.Fuzzy,t.onDidSplice(this.onDidSpliceModel,this,this.disposables)}updateOptions(e={}){void 0!==e.defaultFindMode&&(this.mode=e.defaultFindMode),void 0!==e.defaultFindMatchType&&(this.matchType=e.defaultFindMatchType)}onDidSpliceModel(){this.widget&&0!==this.pattern.length&&(this.tree.refilter(),this.render())}render(){var e,t,i,n;let s=this.filter.totalCount>0&&0===this.filter.matchCount;this.pattern&&s?null===(e=this.tree.options.showNotFoundMessage)||void 0===e||e?null===(t=this.widget)||void 0===t||t.showMessage({type:2,content:(0,x.NC)("not found","No elements found.")}):null===(i=this.widget)||void 0===i||i.showMessage({type:2}):null===(n=this.widget)||void 0===n||n.clearMessage()}shouldAllowFocus(e){return!this.widget||!this.pattern||this.filter.totalCount>0&&this.filter.matchCount<=1||!S.CL.isDefault(e.filterData)}layout(e){var t;this.width=e,null===(t=this.widget)||void 0===t||t.layout(e)}dispose(){this._history=void 0,this._onDidChangePattern.dispose(),this.enabledDisposables.dispose(),this.disposables.dispose()}}function F(e,t){return e.position===t.position&&B(e,t)}function B(e,t){return e.node.element===t.node.element&&e.startIndex===t.startIndex&&e.height===t.height&&e.endIndex===t.endIndex}class W{constructor(e=[]){this.stickyNodes=e}get count(){return this.stickyNodes.length}equal(e){return(0,_.fS)(this.stickyNodes,e.stickyNodes,F)}lastNodePartiallyVisible(){if(0===this.count)return!1;let e=this.stickyNodes[this.count-1];if(1===this.count)return 0!==e.position;let t=this.stickyNodes[this.count-2];return t.position+t.height!==e.position}animationStateChanged(e){if(!(0,_.fS)(this.stickyNodes,e.stickyNodes,B)||0===this.count)return!1;let t=this.stickyNodes[this.count-1],i=e.stickyNodes[e.count-1];return t.position!==i.position}}class H{constrainStickyScrollNodes(e,t,i){for(let n=0;ni||n>=t)return e.slice(0,n)}return e}}class V extends L.JT{constructor(e,t,i,n,s,o={}){var r;super(),this.tree=e,this.model=t,this.view=i,this.treeDelegate=s,this.maxWidgetViewRatio=.4;let l=this.validateStickySettings(o);this.stickyScrollMaxItemCount=l.stickyScrollMaxItemCount,this.stickyScrollDelegate=null!==(r=o.stickyScrollDelegate)&&void 0!==r?r:new H,this._widget=this._register(new z(i.getScrollableElement(),i,e,n,s,o.accessibilityProvider)),this.onDidChangeHasFocus=this._widget.onDidChangeHasFocus,this.onContextMenu=this._widget.onContextMenu,this._register(i.onDidScroll(()=>this.update())),this._register(i.onDidChangeContentHeight(()=>this.update())),this._register(e.onDidChangeCollapseState(()=>this.update())),this.update()}get height(){return this._widget.height}getNodeAtHeight(e){let t;if(!((t=0===e?this.view.firstVisibleIndex:this.view.indexAt(e+this.view.scrollTop))<0)&&!(t>=this.view.length))return this.view.element(t)}update(){let e=this.getNodeAtHeight(0);if(!e||0===this.tree.scrollTop){this._widget.setState(void 0);return}let t=this.findStickyState(e);this._widget.setState(t)}findStickyState(e){let t=[],i=e,n=0,s=this.getNextStickyNode(i,void 0,n);for(;s&&(t.push(s),n+=s.height,!(t.length<=this.stickyScrollMaxItemCount)||(i=this.getNextVisibleNode(s)));)s=this.getNextStickyNode(i,s.node,n);let o=this.constrainStickyNodes(t);return o.length?new W(o):void 0}getNextVisibleNode(e){return this.getNodeAtHeight(e.position+e.height)}getNextStickyNode(e,t,i){let n=this.getAncestorUnderPrevious(e,t);if(!(!n||n===e&&(!this.nodeIsUncollapsedParent(e)||this.nodeTopAlignsWithStickyNodesBottom(e,i))))return this.createStickyScrollNode(n,i)}nodeTopAlignsWithStickyNodesBottom(e,t){let i=this.getNodeIndex(e),n=this.view.getElementTop(i);return this.view.scrollTop===n-t}createStickyScrollNode(e,t){let i=this.treeDelegate.getHeight(e),{startIndex:n,endIndex:s}=this.getNodeRange(e),o=this.calculateStickyNodePosition(s,t,i);return{node:e,position:o,height:i,startIndex:n,endIndex:s}}getAncestorUnderPrevious(e,t){let i=e,n=this.getParentNode(i);for(;n;){if(n===t)return i;i=n,n=this.getParentNode(i)}if(void 0===t)return i}calculateStickyNodePosition(e,t,i){let n=this.view.getRelativeTop(e);if(null===n&&this.view.firstVisibleIndex===e&&e+1l&&t<=l?l-i:t}constrainStickyNodes(e){if(0===e.length)return[];let t=this.view.renderHeight*this.maxWidgetViewRatio,i=e[e.length-1];if(e.length<=this.stickyScrollMaxItemCount&&i.position+i.height<=t)return e;let n=this.stickyScrollDelegate.constrainStickyScrollNodes(e,this.stickyScrollMaxItemCount,t);if(!n.length)return[];let s=n[n.length-1];if(n.length>this.stickyScrollMaxItemCount||s.position+s.height>t)throw Error("stickyScrollDelegate violates constraints");return n}getParentNode(e){let t=this.model.getNodeLocation(e),i=this.model.getParentNodeLocation(t);return i?this.model.getNode(i):void 0}nodeIsUncollapsedParent(e){let t=this.model.getNodeLocation(e);return this.model.getListRenderCount(t)>1}getNodeIndex(e){let t=this.model.getNodeLocation(e),i=this.model.getListIndex(t);return i}getNodeRange(e){let t=this.model.getNodeLocation(e),i=this.model.getListIndex(t);if(i<0)throw Error("Node not found in tree");let n=this.model.getListRenderCount(t);return{startIndex:i,endIndex:i+n-1}}nodePositionTopBelowWidget(e){let t=[],i=this.getParentNode(e);for(;i;)t.push(i),i=this.getParentNode(i);let n=0;for(let e=0;e0,i=!!e&&e.count>0;if(!t&&!i||t&&i&&this._previousState.equal(e))return;if(t!==i&&this.setVisible(i),!i){this._previousState=void 0,this._previousElements=[],this._previousStateDisposables.clear();return}let n=e.stickyNodes[e.count-1];if(this._previousState&&e.animationStateChanged(this._previousState))this._previousElements[this._previousState.count-1].style.top=`${n.position}px`;else{this._previousStateDisposables.clear();let t=Array(e.count);for(let i=e.count-1;i>=0;i--){let n=e.stickyNodes[i],{element:s,disposable:o}=this.createElement(n,i,e.count);t[i]=s,this._rootDomNode.appendChild(s),this._previousStateDisposables.add(o)}this.stickyScrollFocus.updateElements(t,e),this._previousElements=t}this._previousState=e,this._rootDomNode.style.height=`${n.position+n.height}px`}createElement(e,t,i){let n=e.startIndex,s=document.createElement("div");s.style.top=`${e.position}px`,!1!==this.tree.options.setRowHeight&&(s.style.height=`${e.height}px`),!1!==this.tree.options.setRowLineHeight&&(s.style.lineHeight=`${e.height}px`),s.classList.add("monaco-tree-sticky-row"),s.classList.add("monaco-list-row"),s.setAttribute("data-index",`${n}`),s.setAttribute("data-parity",n%2==0?"even":"odd"),s.setAttribute("id",this.view.getElementID(n));let o=this.setAccessibilityAttributes(s,e.node.element,t,i),r=this.treeDelegate.getTemplateId(e.node),l=this.treeRenderers.find(e=>e.templateId===r);if(!l)throw Error(`No renderer found for template id ${r}`);let a=e.node;a===this.tree.getNode(this.tree.getNodeLocation(e.node))&&(a=new Proxy(e.node,{}));let d=l.renderTemplate(s);l.renderElement(a,e.startIndex,d,e.height);let h=(0,L.OF)(()=>{o.dispose(),l.disposeElement(a,e.startIndex,d,e.height),l.disposeTemplate(d),s.remove()});return{element:s,disposable:h}}setAccessibilityAttributes(e,t,i,n){var s;if(!this.accessibilityProvider)return L.JT.None;this.accessibilityProvider.getSetSize&&e.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(t,i,n))),this.accessibilityProvider.getPosInSet&&e.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(t,i))),this.accessibilityProvider.getRole&&e.setAttribute("role",null!==(s=this.accessibilityProvider.getRole(t))&&void 0!==s?s:"treeitem");let o=this.accessibilityProvider.getAriaLabel(t),r=o&&"string"!=typeof o?o:(0,N.Dz)(o),l=(0,N.EH)(t=>{let i=t.readObservable(r);i?e.setAttribute("aria-label",i):e.removeAttribute("aria-label")});"string"==typeof o||o&&e.setAttribute("aria-label",o.get());let a=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(t);return"number"==typeof a&&e.setAttribute("aria-level",`${a}`),e.setAttribute("aria-selected",String(!1)),l}setVisible(e){this._rootDomNode.classList.toggle("empty",!e),e||this.stickyScrollFocus.updateElements([],void 0)}domFocus(){this.stickyScrollFocus.domFocus()}focusedLast(){return this.stickyScrollFocus.focusedLast()}dispose(){this.stickyScrollFocus.dispose(),this._previousStateDisposables.dispose(),this._rootDomNode.remove()}}class K extends L.JT{get domHasFocus(){return this._domHasFocus}set domHasFocus(e){e!==this._domHasFocus&&(this._onDidChangeHasFocus.fire(e),this._domHasFocus=e)}constructor(e,t){super(),this.container=e,this.view=t,this.focusedIndex=-1,this.elements=[],this._onDidChangeHasFocus=new y.Q5,this.onDidChangeHasFocus=this._onDidChangeHasFocus.event,this._onContextMenu=new y.Q5,this.onContextMenu=this._onContextMenu.event,this._domHasFocus=!1,this.container.addEventListener("focus",()=>this.onFocus()),this.container.addEventListener("blur",()=>this.onBlur()),this._register(this.view.onDidFocus(()=>this.toggleStickyScrollFocused(!1))),this._register(this.view.onKeyDown(e=>this.onKeyDown(e))),this._register(this.view.onMouseDown(e=>this.onMouseDown(e))),this._register(this.view.onContextMenu(e=>this.handleContextMenu(e)))}handleContextMenu(e){let t=e.browserEvent.target;if(!(0,g.xf)(t)&&!(0,g.Et)(t)){this.focusedLast()&&this.view.domFocus();return}if(!(0,d.vd)(e.browserEvent)){if(!this.state)throw Error("Context menu should not be triggered when state is undefined");let t=this.state.stickyNodes.findIndex(t=>{var i;return t.node.element===(null===(i=e.element)||void 0===i?void 0:i.element)});if(-1===t)throw Error("Context menu should not be triggered when element is not in sticky scroll widget");this.container.focus(),this.setFocus(t);return}if(!this.state||this.focusedIndex<0)throw Error("Context menu key should not be triggered when focus is not in sticky scroll widget");let i=this.state.stickyNodes[this.focusedIndex],n=i.node.element,s=this.elements[this.focusedIndex];this._onContextMenu.fire({element:n,anchor:s,browserEvent:e.browserEvent,isStickyScroll:!0})}onKeyDown(e){if(this.domHasFocus&&this.state){if("ArrowUp"===e.key)this.setFocusedElement(Math.max(0,this.focusedIndex-1)),e.preventDefault(),e.stopPropagation();else if("ArrowDown"===e.key||"ArrowRight"===e.key){if(this.focusedIndex>=this.state.count-1){let e=this.state.stickyNodes[this.state.count-1].startIndex+1;this.view.domFocus(),this.view.setFocus([e]),this.scrollNodeUnderWidget(e,this.state)}else this.setFocusedElement(this.focusedIndex+1);e.preventDefault(),e.stopPropagation()}}}onMouseDown(e){let t=e.browserEvent.target;((0,g.xf)(t)||(0,g.Et)(t))&&(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation())}updateElements(e,t){if(t&&0===t.count)throw Error("Sticky scroll state must be undefined when there are no sticky nodes");if(t&&t.count!==e.length)throw Error("Sticky scroll focus received illigel state");let i=this.focusedIndex;if(this.removeFocus(),this.elements=e,this.state=t,t){let e=(0,k.uZ)(i,0,t.count-1);this.setFocus(e)}else this.domHasFocus&&this.view.domFocus();this.container.tabIndex=t?0:-1}setFocusedElement(e){let t=this.state;if(!t)throw Error("Cannot set focus when state is undefined");if(this.setFocus(e),!(e1?t.stickyNodes[t.count-2]:void 0,s=this.view.getElementTop(e),o=n?n.position+n.height+i.height:i.height;this.view.scrollTop=s-o}domFocus(){if(!this.state)throw Error("Cannot focus when state is undefined");this.container.focus()}focusedLast(){return!!this.state&&this.view.getHTMLElement().classList.contains("sticky-scroll-focused")}removeFocus(){-1!==this.focusedIndex&&(this.toggleElementFocus(this.elements[this.focusedIndex],!1),this.focusedIndex=-1)}setFocus(e){if(0>e)throw Error("addFocus() can not remove focus");if(!this.state&&e>=0)throw Error("Cannot set focus index when state is undefined");if(this.state&&e>=this.state.count)throw Error("Cannot set focus index to an index that does not exist");let t=this.focusedIndex;t>=0&&this.toggleElementFocus(this.elements[t],!1),e>=0&&this.toggleElementFocus(this.elements[e],!0),this.focusedIndex=e}toggleElementFocus(e,t){this.toggleElementActiveFocus(e,t&&this.domHasFocus),this.toggleElementPassiveFocus(e,t)}toggleCurrentElementActiveFocus(e){-1!==this.focusedIndex&&this.toggleElementActiveFocus(this.elements[this.focusedIndex],e)}toggleElementActiveFocus(e,t){e.classList.toggle("focused",t)}toggleElementPassiveFocus(e,t){e.classList.toggle("passive-focused",t)}toggleStickyScrollFocused(e){this.view.getHTMLElement().classList.toggle("sticky-scroll-focused",e)}onFocus(){if(!this.state||0===this.elements.length)throw Error("Cannot focus when state is undefined or elements are empty");this.domHasFocus=!0,this.toggleStickyScrollFocused(!0),this.toggleCurrentElementActiveFocus(!0),-1===this.focusedIndex&&this.setFocus(0)}onBlur(){this.domHasFocus=!1,this.toggleCurrentElementActiveFocus(!1)}dispose(){this.toggleStickyScrollFocused(!1),this._onDidChangeHasFocus.fire(!1),super.dispose()}}function U(e){let t=f.sD.Unknown;return(0,d.uU)(e.browserEvent.target,"monaco-tl-twistie","monaco-tl-row")?t=f.sD.Twistie:(0,d.uU)(e.browserEvent.target,"monaco-tl-contents","monaco-tl-row")?t=f.sD.Element:(0,d.uU)(e.browserEvent.target,"monaco-tree-type-filter","monaco-list")&&(t=f.sD.Filter),{browserEvent:e.browserEvent,element:e.element?e.element.element:null,target:t}}function $(e){let t=(0,g.xf)(e.browserEvent.target);return{element:e.element?e.element.element:null,browserEvent:e.browserEvent,anchor:e.anchor,isStickyScroll:t}}function q(e,t){t(e),e.children.forEach(e=>q(e,t))}class j{get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}constructor(e,t){this.getFirstViewElementWithTrait=e,this.identityProvider=t,this.nodes=[],this._onDidChange=new y.Q5,this.onDidChange=this._onDidChange.event}set(e,t){!(null==t?void 0:t.__forceEvent)&&(0,_.fS)(this.nodes,e)||this._set(e,!1,t)}_set(e,t,i){if(this.nodes=[...e],this.elements=void 0,this._nodeSet=void 0,!t){let e=this;this._onDidChange.fire({get elements(){return e.get()},browserEvent:i})}}get(){return this.elements||(this.elements=this.nodes.map(e=>e.element)),[...this.elements]}getNodes(){return this.nodes}has(e){return this.nodeSet.has(e)}onDidModelSplice({insertedNodes:e,deletedNodes:t}){if(!this.identityProvider){let e=this.createNodeSet(),i=t=>e.delete(t);t.forEach(e=>q(e,i)),this.set([...e.values()]);return}let i=new Set,n=e=>i.add(this.identityProvider.getId(e.element).toString());t.forEach(e=>q(e,n));let s=new Map,o=e=>s.set(this.identityProvider.getId(e.element).toString(),e);e.forEach(e=>q(e,o));let r=[];for(let e of this.nodes){let t=this.identityProvider.getId(e.element).toString(),n=i.has(t);if(n){let e=s.get(t);e&&e.visible&&r.push(e)}else r.push(e)}if(this.nodes.length>0&&0===r.length){let e=this.getFirstViewElementWithTrait();e&&r.push(e)}this._set(r,!0)}createNodeSet(){let e=new Set;for(let t of this.nodes)e.add(t);return e}}class G extends g.sx{constructor(e,t,i){super(e),this.tree=t,this.stickyScrollProvider=i}onViewPointer(e){if((0,g.iK)(e.browserEvent.target)||(0,g.cK)(e.browserEvent.target)||(0,g.hD)(e.browserEvent.target)||e.browserEvent.isHandledByList)return;let t=e.element;if(!t||this.isSelectionRangeChangeEvent(e)||this.isSelectionSingleChangeEvent(e))return super.onViewPointer(e);let i=e.browserEvent.target,n=i.classList.contains("monaco-tl-twistie")||i.classList.contains("monaco-icon-label")&&i.classList.contains("folder-icon")&&e.browserEvent.offsetX<16,s=(0,g.Et)(e.browserEvent.target),o=!1;if(o=!!s||("function"==typeof this.tree.expandOnlyOnTwistieClick?this.tree.expandOnlyOnTwistieClick(t.element):!!this.tree.expandOnlyOnTwistieClick),s)this.handleStickyScrollMouseEvent(e,t);else if(o&&!n&&2!==e.browserEvent.detail||!this.tree.expandOnDoubleClick&&2===e.browserEvent.detail)return super.onViewPointer(e);if(t.collapsible&&(!s||n)){let i=this.tree.getNodeLocation(t),s=e.browserEvent.altKey;if(this.tree.setFocus([i]),this.tree.toggleCollapsed(i,s),n){e.browserEvent.isHandledByList=!0;return}}s||super.onViewPointer(e)}handleStickyScrollMouseEvent(e,t){if((0,g.$B)(e.browserEvent.target)||(0,g.dk)(e.browserEvent.target))return;let i=this.stickyScrollProvider();if(!i)throw Error("Sticky scroll controller not found");let n=this.list.indexOf(t),s=this.list.getElementTop(n),o=i.nodePositionTopBelowWidget(t);this.tree.scrollTop=s-o,this.list.domFocus(),this.list.setFocus([n]),this.list.setSelection([n])}onDoubleClick(e){let t=e.browserEvent.target.classList.contains("monaco-tl-twistie");t||!this.tree.expandOnDoubleClick||e.browserEvent.isHandledByList||super.onDoubleClick(e)}onMouseDown(e){let t=e.browserEvent.target;if(!(0,g.xf)(t)&&!(0,g.Et)(t)){super.onMouseDown(e);return}}onContextMenu(e){let t=e.browserEvent.target;if(!(0,g.xf)(t)&&!(0,g.Et)(t)){super.onContextMenu(e);return}}}class Q extends g.aV{constructor(e,t,i,n,s,o,r,l){super(e,t,i,n,l),this.focusTrait=s,this.selectionTrait=o,this.anchorTrait=r}createMouseController(e){return new G(this,e.tree,e.stickyScrollProvider)}splice(e,t,i=[]){let n;if(super.splice(e,t,i),0===i.length)return;let s=[],o=[];i.forEach((t,i)=>{this.focusTrait.has(t)&&s.push(e+i),this.selectionTrait.has(t)&&o.push(e+i),this.anchorTrait.has(t)&&(n=e+i)}),s.length>0&&super.setFocus((0,_.EB)([...super.getFocus(),...s])),o.length>0&&super.setSelection((0,_.EB)([...super.getSelection(),...o])),"number"==typeof n&&super.setAnchor(n)}setFocus(e,t,i=!1){super.setFocus(e,t),i||this.focusTrait.set(e.map(e=>this.element(e)),t)}setSelection(e,t,i=!1){super.setSelection(e,t),i||this.selectionTrait.set(e.map(e=>this.element(e)),t)}setAnchor(e,t=!1){super.setAnchor(e),t||(void 0===e?this.anchorTrait.set([]):this.anchorTrait.set([this.element(e)]))}}class Z{get onDidScroll(){return this.view.onDidScroll}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return y.ju.filter(y.ju.map(this.view.onMouseDblClick,U),e=>e.target!==f.sD.Filter)}get onMouseOver(){return y.ju.map(this.view.onMouseOver,U)}get onMouseOut(){return y.ju.map(this.view.onMouseOut,U)}get onContextMenu(){var e,t;return y.ju.any(y.ju.filter(y.ju.map(this.view.onContextMenu,$),e=>!e.isStickyScroll),null!==(t=null===(e=this.stickyScrollController)||void 0===e?void 0:e.onContextMenu)&&void 0!==t?t:y.ju.None)}get onPointer(){return y.ju.map(this.view.onPointer,U)}get onKeyDown(){return this.view.onKeyDown}get onDidFocus(){return this.view.onDidFocus}get onDidChangeModel(){return y.ju.signal(this.model.onDidSplice)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get findMode(){var e,t;return null!==(t=null===(e=this.findController)||void 0===e?void 0:e.mode)&&void 0!==t?t:l.Highlight}set findMode(e){this.findController&&(this.findController.mode=e)}get findMatchType(){var e,t;return null!==(t=null===(e=this.findController)||void 0===e?void 0:e.matchType)&&void 0!==t?t:a.Fuzzy}set findMatchType(e){this.findController&&(this.findController.matchType=e)}get expandOnDoubleClick(){return void 0===this._options.expandOnDoubleClick||this._options.expandOnDoubleClick}get expandOnlyOnTwistieClick(){return void 0===this._options.expandOnlyOnTwistieClick||this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}constructor(e,t,i,n,s={}){var o,l,a;let u;this._user=e,this._options=s,this.eventBufferer=new y.E7,this.onDidChangeFindOpenState=y.ju.None,this.onDidChangeStickyScrollFocused=y.ju.None,this.disposables=new L.SL,this._onWillRefilter=new y.Q5,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new y.Q5,this.treeDelegate=new M(i);let c=new y.ZD,p=new y.ZD,m=this.disposables.add(new R(p.event)),f=new w.ri;for(let e of(this.renderers=n.map(e=>new A(e,()=>this.model,c.event,m,f,s)),this.renderers))this.disposables.add(e);s.keyboardNavigationLabelProvider&&(u=new P(this,s.keyboardNavigationLabelProvider,s.filter),s={...s,filter:u},this.disposables.add(u)),this.focus=new j(()=>this.view.getFocusedElements()[0],s.identityProvider),this.selection=new j(()=>this.view.getSelectedElements()[0],s.identityProvider),this.anchor=new j(()=>this.view.getAnchorElement(),s.identityProvider),this.view=new Q(e,t,this.treeDelegate,this.renderers,this.focus,this.selection,this.anchor,{...(l=()=>this.model,(a=s)&&{...a,identityProvider:a.identityProvider&&{getId:e=>a.identityProvider.getId(e.element)},dnd:a.dnd&&new T(l,a.dnd),multipleSelectionController:a.multipleSelectionController&&{isSelectionSingleChangeEvent:e=>a.multipleSelectionController.isSelectionSingleChangeEvent({...e,element:e.element}),isSelectionRangeChangeEvent:e=>a.multipleSelectionController.isSelectionRangeChangeEvent({...e,element:e.element})},accessibilityProvider:a.accessibilityProvider&&{...a.accessibilityProvider,getSetSize(e){let t=l(),i=t.getNodeLocation(e),n=t.getParentNodeLocation(i),s=t.getNode(n);return s.visibleChildrenCount},getPosInSet:e=>e.visibleChildIndex+1,isChecked:a.accessibilityProvider&&a.accessibilityProvider.isChecked?e=>a.accessibilityProvider.isChecked(e.element):void 0,getRole:a.accessibilityProvider&&a.accessibilityProvider.getRole?e=>a.accessibilityProvider.getRole(e.element):()=>"treeitem",getAriaLabel:e=>a.accessibilityProvider.getAriaLabel(e.element),getWidgetAriaLabel:()=>a.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:a.accessibilityProvider&&a.accessibilityProvider.getWidgetRole?()=>a.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:a.accessibilityProvider&&a.accessibilityProvider.getAriaLevel?e=>a.accessibilityProvider.getAriaLevel(e.element):e=>e.depth,getActiveDescendantId:a.accessibilityProvider.getActiveDescendantId&&(e=>a.accessibilityProvider.getActiveDescendantId(e.element))},keyboardNavigationLabelProvider:a.keyboardNavigationLabelProvider&&{...a.keyboardNavigationLabelProvider,getKeyboardNavigationLabel:e=>a.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}}),tree:this,stickyScrollProvider:()=>this.stickyScrollController}),this.model=this.createModel(e,this.view,s),c.input=this.model.onDidChangeCollapseState;let _=y.ju.forEach(this.model.onDidSplice,e=>{this.eventBufferer.bufferEvents(()=>{this.focus.onDidModelSplice(e),this.selection.onDidModelSplice(e)})},this.disposables);_(()=>null,null,this.disposables);let b=this.disposables.add(new y.Q5),C=this.disposables.add(new v.vp(0));if(this.disposables.add(y.ju.any(_,this.focus.onDidChange,this.selection.onDidChange)(()=>{C.trigger(()=>{let e=new Set;for(let t of this.focus.getNodes())e.add(t);for(let t of this.selection.getNodes())e.add(t);b.fire([...e.values()])})})),p.input=b.event,!1!==s.keyboardSupport){let e=y.ju.chain(this.view.onKeyDown,e=>e.filter(e=>!(0,g.cK)(e.target)).map(e=>new h.y(e)));y.ju.chain(e,e=>e.filter(e=>15===e.keyCode))(this.onLeftArrow,this,this.disposables),y.ju.chain(e,e=>e.filter(e=>17===e.keyCode))(this.onRightArrow,this,this.disposables),y.ju.chain(e,e=>e.filter(e=>10===e.keyCode))(this.onSpace,this,this.disposables)}if((null===(o=s.findWidgetEnabled)||void 0===o||o)&&s.keyboardNavigationLabelProvider&&s.contextViewProvider){let e=this.options.findWidgetStyles?{styles:this.options.findWidgetStyles}:void 0;this.findController=new O(this,this.model,this.view,u,s.contextViewProvider,e),this.focusNavigationFilter=e=>this.findController.shouldAllowFocus(e),this.onDidChangeFindOpenState=this.findController.onDidChangeOpenState,this.disposables.add(this.findController),this.onDidChangeFindMode=this.findController.onDidChangeMode,this.onDidChangeFindMatchType=this.findController.onDidChangeMatchType}else this.onDidChangeFindMode=y.ju.None,this.onDidChangeFindMatchType=y.ju.None;s.enableStickyScroll&&(this.stickyScrollController=new V(this,this.model,this.view,this.renderers,this.treeDelegate,s),this.onDidChangeStickyScrollFocused=this.stickyScrollController.onDidChangeHasFocus),this.styleElement=(0,d.dS)(this.view.getHTMLElement()),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===r.Always)}updateOptions(e={}){var t;for(let t of(this._options={...this._options,...e},this.renderers))t.updateOptions(e);this.view.updateOptions(this._options),null===(t=this.findController)||void 0===t||t.updateOptions(e),this.updateStickyScroll(e),this._onDidUpdateOptions.fire(this._options),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===r.Always)}get options(){return this._options}updateStickyScroll(e){var t;!this.stickyScrollController&&this._options.enableStickyScroll?(this.stickyScrollController=new V(this,this.model,this.view,this.renderers,this.treeDelegate,this._options),this.onDidChangeStickyScrollFocused=this.stickyScrollController.onDidChangeHasFocus):this.stickyScrollController&&!this._options.enableStickyScroll&&(this.onDidChangeStickyScrollFocused=y.ju.None,this.stickyScrollController.dispose(),this.stickyScrollController=void 0),null===(t=this.stickyScrollController)||void 0===t||t.updateOptions(e)}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(e){this.view.scrollTop=e}get scrollHeight(){return this.view.scrollHeight}get renderHeight(){return this.view.renderHeight}get ariaLabel(){return this.view.ariaLabel}set ariaLabel(e){this.view.ariaLabel=e}domFocus(){var e;(null===(e=this.stickyScrollController)||void 0===e?void 0:e.focusedLast())?this.stickyScrollController.domFocus():this.view.domFocus()}layout(e,t){var i;this.view.layout(e,t),(0,D.hj)(t)&&(null===(i=this.findController)||void 0===i||i.layout(t))}style(e){var t,i;let n=`.${this.view.domId}`,s=[];e.treeIndentGuidesStroke&&(s.push(`.monaco-list${n}:hover .monaco-tl-indent > .indent-guide, .monaco-list${n}.always .monaco-tl-indent > .indent-guide { border-color: ${e.treeInactiveIndentGuidesStroke}; }`),s.push(`.monaco-list${n} .monaco-tl-indent > .indent-guide.active { border-color: ${e.treeIndentGuidesStroke}; }`));let o=null!==(t=e.treeStickyScrollBackground)&&void 0!==t?t:e.listBackground;o&&(s.push(`.monaco-list${n} .monaco-scrollable-element .monaco-tree-sticky-container { background-color: ${o}; }`),s.push(`.monaco-list${n} .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-row { background-color: ${o}; }`)),e.treeStickyScrollBorder&&s.push(`.monaco-list${n} .monaco-scrollable-element .monaco-tree-sticky-container { border-bottom: 1px solid ${e.treeStickyScrollBorder}; }`),e.treeStickyScrollShadow&&s.push(`.monaco-list${n} .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-container-shadow { box-shadow: ${e.treeStickyScrollShadow} 0 6px 6px -6px inset; height: 3px; }`),e.listFocusForeground&&(s.push(`.monaco-list${n}.sticky-scroll-focused .monaco-scrollable-element .monaco-tree-sticky-container:focus .monaco-list-row.focused { color: ${e.listFocusForeground}; }`),s.push(`.monaco-list${n}:not(.sticky-scroll-focused) .monaco-scrollable-element .monaco-tree-sticky-container .monaco-list-row.focused { color: inherit; }`));let r=(0,d.XT)(e.listFocusAndSelectionOutline,(0,d.XT)(e.listSelectionOutline,null!==(i=e.listFocusOutline)&&void 0!==i?i:""));r&&(s.push(`.monaco-list${n}.sticky-scroll-focused .monaco-scrollable-element .monaco-tree-sticky-container:focus .monaco-list-row.focused.selected { outline: 1px solid ${r}; outline-offset: -1px;}`),s.push(`.monaco-list${n}:not(.sticky-scroll-focused) .monaco-scrollable-element .monaco-tree-sticky-container .monaco-list-row.focused.selected { outline: inherit;}`)),e.listFocusOutline&&(s.push(`.monaco-list${n}.sticky-scroll-focused .monaco-scrollable-element .monaco-tree-sticky-container:focus .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }`),s.push(`.monaco-list${n}:not(.sticky-scroll-focused) .monaco-scrollable-element .monaco-tree-sticky-container .monaco-list-row.focused { outline: inherit; }`),s.push(`.monaco-workbench.context-menu-visible .monaco-list${n}.last-focused.sticky-scroll-focused .monaco-scrollable-element .monaco-tree-sticky-container .monaco-list-row.passive-focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }`),s.push(`.monaco-workbench.context-menu-visible .monaco-list${n}.last-focused.sticky-scroll-focused .monaco-list-rows .monaco-list-row.focused { outline: inherit; }`),s.push(`.monaco-workbench.context-menu-visible .monaco-list${n}.last-focused:not(.sticky-scroll-focused) .monaco-tree-sticky-container .monaco-list-rows .monaco-list-row.focused { outline: inherit; }`)),this.styleElement.textContent=s.join("\n"),this.view.style(e)}getParentElement(e){let t=this.model.getParentNodeLocation(e),i=this.model.getNode(t);return i.element}getFirstElementChild(e){return this.model.getFirstElementChild(e)}getNode(e){return this.model.getNode(e)}getNodeLocation(e){return this.model.getNodeLocation(e)}collapse(e,t=!1){return this.model.setCollapsed(e,!0,t)}expand(e,t=!1){return this.model.setCollapsed(e,!1,t)}toggleCollapsed(e,t=!1){return this.model.setCollapsed(e,void 0,t)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(e,t){this.eventBufferer.bufferEvents(()=>{let i=e.map(e=>this.model.getNode(e));this.selection.set(i,t);let n=e.map(e=>this.model.getListIndex(e)).filter(e=>e>-1);this.view.setSelection(n,t,!0)})}getSelection(){return this.selection.get()}setFocus(e,t){this.eventBufferer.bufferEvents(()=>{let i=e.map(e=>this.model.getNode(e));this.focus.set(i,t);let n=e.map(e=>this.model.getListIndex(e)).filter(e=>e>-1);this.view.setFocus(n,t,!0)})}focusNext(e=1,t=!1,i,n=(0,d.vd)(i)&&i.altKey?void 0:this.focusNavigationFilter){this.view.focusNext(e,t,i,n)}focusPrevious(e=1,t=!1,i,n=(0,d.vd)(i)&&i.altKey?void 0:this.focusNavigationFilter){this.view.focusPrevious(e,t,i,n)}focusNextPage(e,t=(0,d.vd)(e)&&e.altKey?void 0:this.focusNavigationFilter){return this.view.focusNextPage(e,t)}focusPreviousPage(e,t=(0,d.vd)(e)&&e.altKey?void 0:this.focusNavigationFilter){return this.view.focusPreviousPage(e,t,()=>{var e,t;return null!==(t=null===(e=this.stickyScrollController)||void 0===e?void 0:e.height)&&void 0!==t?t:0})}focusFirst(e,t=(0,d.vd)(e)&&e.altKey?void 0:this.focusNavigationFilter){this.view.focusFirst(e,t)}getFocus(){return this.focus.get()}reveal(e,t){this.model.expandTo(e);let i=this.model.getListIndex(e);if(-1!==i){if(this.stickyScrollController){let n=this.stickyScrollController.nodePositionTopBelowWidget(this.getNode(e));this.view.reveal(i,t,n)}else this.view.reveal(i,t)}}onLeftArrow(e){e.preventDefault(),e.stopPropagation();let t=this.view.getFocusedElements();if(0===t.length)return;let i=t[0],n=this.model.getNodeLocation(i),s=this.model.setCollapsed(n,!0);if(!s){let e=this.model.getParentNodeLocation(n);if(!e)return;let t=this.model.getListIndex(e);this.view.reveal(t),this.view.setFocus([t])}}onRightArrow(e){e.preventDefault(),e.stopPropagation();let t=this.view.getFocusedElements();if(0===t.length)return;let i=t[0],n=this.model.getNodeLocation(i),s=this.model.setCollapsed(n,!1);if(!s){if(!i.children.some(e=>e.visible))return;let[e]=this.view.getFocus(),t=e+1;this.view.reveal(t),this.view.setFocus([t])}}onSpace(e){e.preventDefault(),e.stopPropagation();let t=this.view.getFocusedElements();if(0===t.length)return;let i=t[0],n=this.model.getNodeLocation(i),s=e.browserEvent.altKey;this.model.setCollapsed(n,void 0,s)}dispose(){var e;(0,L.B9)(this.disposables),null===(e=this.stickyScrollController)||void 0===e||e.dispose(),this.view.dispose()}}},71782:function(e,t,i){"use strict";i.d(t,{X:function(){return g},aG:function(){return u},gB:function(){return h}});var n=i(60350),s=i(9488),o=i(15393),r=i(5635),l=i(22571),a=i(4669),d=i(53725);function h(e){return"object"==typeof e&&"visibility"in e&&"data"in e}function u(e){switch(e){case!0:return 1;case!1:return 0;default:return e}}function c(e){return"boolean"==typeof e.collapsible}class g{constructor(e,t,i,n={}){var s;this.user=e,this.list=t,this.rootRef=[],this.eventBufferer=new a.E7,this._onDidChangeCollapseState=new a.Q5,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new a.Q5,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new a.Q5,this.onDidSplice=this._onDidSplice.event,this.refilterDelayer=new o.vp(r.n),this.collapseByDefault=void 0!==n.collapseByDefault&&n.collapseByDefault,this.allowNonCollapsibleParents=null!==(s=n.allowNonCollapsibleParents)&&void 0!==s&&s,this.filter=n.filter,this.autoExpandSingleChildren=void 0!==n.autoExpandSingleChildren&&n.autoExpandSingleChildren,this.root={parent:void 0,element:i,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(e,t,i=d.$.empty(),s={}){if(0===e.length)throw new n.ac(this.user,"Invalid tree location");s.diffIdentityProvider?this.spliceSmart(s.diffIdentityProvider,e,t,i,s):this.spliceSimple(e,t,i,s)}spliceSmart(e,t,i,n,s,o){var r;void 0===n&&(n=d.$.empty()),void 0===o&&(o=null!==(r=s.diffDepth)&&void 0!==r?r:0);let{parentNode:a}=this.getParentNodeWithListIndex(t);if(!a.lastDiffIds)return this.spliceSimple(t,i,n,s);let h=[...n],u=t[t.length-1],c=new l.Hs({getElements:()=>a.lastDiffIds},{getElements:()=>[...a.children.slice(0,u),...h,...a.children.slice(u+i)].map(t=>e.getId(t.element).toString())}).ComputeDiff(!1);if(c.quitEarly)return a.lastDiffIds=void 0,this.spliceSimple(t,i,h,s);let g=t.slice(0,-1),p=(t,i,n)=>{if(o>0)for(let r=0;rt.originalStart-e.originalStart))p(m,f,m-(e.originalStart+e.originalLength)),m=e.originalStart,f=e.modifiedStart-u,this.spliceSimple([...g,m],e.originalLength,d.$.slice(h,f,f+e.modifiedLength),s);p(m,f,m)}spliceSimple(e,t,i=d.$.empty(),{onDidCreateNode:n,onDidDeleteNode:o,diffIdentityProvider:r}){let{parentNode:l,listIndex:a,revealed:h,visible:u}=this.getParentNodeWithListIndex(e),c=[],g=d.$.map(i,e=>this.createTreeNode(e,l,l.visible?1:0,h,c,n)),p=e[e.length-1],m=0;for(let e=p;e>=0&&er.getId(e.element).toString())):l.lastDiffIds=l.children.map(e=>r.getId(e.element).toString()):l.lastDiffIds=void 0;let C=0;for(let e of b)e.visible&&C++;if(0!==C)for(let e=p+f.length;ee+(t.visible?t.renderNodeCount:0),0);this._updateAncestorsRenderNodeCount(l,v-e),this.list.splice(a,e,c)}if(b.length>0&&o){let e=t=>{o(t),t.children.forEach(e)};b.forEach(e)}this._onDidSplice.fire({insertedNodes:f,deletedNodes:b});let w=l;for(;w;){if(2===w.visibility){this.refilterDelayer.trigger(()=>this.refilter());break}w=w.parent}}rerender(e){if(0===e.length)throw new n.ac(this.user,"Invalid tree location");let{node:t,listIndex:i,revealed:s}=this.getTreeNodeWithListIndex(e);t.visible&&s&&this.list.splice(i,1,[t])}has(e){return this.hasTreeNode(e)}getListIndex(e){let{listIndex:t,visible:i,revealed:n}=this.getTreeNodeWithListIndex(e);return i&&n?t:-1}getListRenderCount(e){return this.getTreeNode(e).renderNodeCount}isCollapsible(e){return this.getTreeNode(e).collapsible}setCollapsible(e,t){let i=this.getTreeNode(e);void 0===t&&(t=!i.collapsible);let n={collapsible:t};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,n))}isCollapsed(e){return this.getTreeNode(e).collapsed}setCollapsed(e,t,i){let n=this.getTreeNode(e);void 0===t&&(t=!n.collapsed);let s={collapsed:t,recursive:i||!1};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,s))}_setCollapseState(e,t){let{node:i,listIndex:n,revealed:s}=this.getTreeNodeWithListIndex(e),o=this._setListNodeCollapseState(i,n,s,t);if(i!==this.root&&this.autoExpandSingleChildren&&o&&!c(t)&&i.collapsible&&!i.collapsed&&!t.recursive){let n=-1;for(let e=0;e-1){n=-1;break}n=e}}n>-1&&this._setCollapseState([...e,n],t)}return o}_setListNodeCollapseState(e,t,i,n){let s=this._setNodeCollapseState(e,n,!1);if(!i||!e.visible||!s)return s;let o=e.renderNodeCount,r=this.updateNodeAfterCollapseChange(e),l=o-(-1===t?0:1);return this.list.splice(t+1,l,r.slice(1)),s}_setNodeCollapseState(e,t,i){let n;if(e===this.root?n=!1:(c(t)?(n=e.collapsible!==t.collapsible,e.collapsible=t.collapsible):e.collapsible?(n=e.collapsed!==t.collapsed,e.collapsed=t.collapsed):n=!1,n&&this._onDidChangeCollapseState.fire({node:e,deep:i})),!c(t)&&t.recursive)for(let i of e.children)n=this._setNodeCollapseState(i,t,!0)||n;return n}expandTo(e){this.eventBufferer.bufferEvents(()=>{let t=this.getTreeNode(e);for(;t.parent;)t=t.parent,e=e.slice(0,e.length-1),t.collapsed&&this._setCollapseState(e,{collapsed:!1,recursive:!1})})}refilter(){let e=this.root.renderNodeCount,t=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,e,t),this.refilterDelayer.cancel()}createTreeNode(e,t,i,n,s,o){let r={parent:t,element:e.element,children:[],depth:t.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:"boolean"==typeof e.collapsible?e.collapsible:void 0!==e.collapsed,collapsed:void 0===e.collapsed?this.collapseByDefault:e.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},l=this._filterNode(r,i);r.visibility=l,n&&s.push(r);let a=e.children||d.$.empty(),h=n&&0!==l&&!r.collapsed,u=0,c=1;for(let e of a){let t=this.createTreeNode(e,r,l,h,s,o);r.children.push(t),c+=t.renderNodeCount,t.visible&&(t.visibleChildIndex=u++)}return this.allowNonCollapsibleParents||(r.collapsible=r.collapsible||r.children.length>0),r.visibleChildrenCount=u,r.visible=2===l?u>0:1===l,r.visible?r.collapsed||(r.renderNodeCount=c):(r.renderNodeCount=0,n&&s.pop()),null==o||o(r),r}updateNodeAfterCollapseChange(e){let t=e.renderNodeCount,i=[];return this._updateNodeAfterCollapseChange(e,i),this._updateAncestorsRenderNodeCount(e.parent,i.length-t),i}_updateNodeAfterCollapseChange(e,t){if(!1===e.visible)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(let i of e.children)e.renderNodeCount+=this._updateNodeAfterCollapseChange(i,t);return this._onDidChangeRenderNodeCount.fire(e),e.renderNodeCount}updateNodeAfterFilterChange(e){let t=e.renderNodeCount,i=[];return this._updateNodeAfterFilterChange(e,e.visible?1:0,i),this._updateAncestorsRenderNodeCount(e.parent,i.length-t),i}_updateNodeAfterFilterChange(e,t,i,n=!0){let s;if(e!==this.root){if(0===(s=this._filterNode(e,t)))return e.visible=!1,e.renderNodeCount=0,!1;n&&i.push(e)}let o=i.length;e.renderNodeCount=e===this.root?0:1;let r=!1;if(e.collapsed&&0===s)e.visibleChildrenCount=0;else{let t=0;for(let o of e.children)r=this._updateNodeAfterFilterChange(o,s,i,n&&!e.collapsed)||r,o.visible&&(o.visibleChildIndex=t++);e.visibleChildrenCount=t}return e!==this.root&&(e.visible=2===s?r:1===s,e.visibility=s),e.visible?e.collapsed||(e.renderNodeCount+=i.length-o):(e.renderNodeCount=0,n&&i.pop()),this._onDidChangeRenderNodeCount.fire(e),e.visible}_updateAncestorsRenderNodeCount(e,t){if(0!==t)for(;e;)e.renderNodeCount+=t,this._onDidChangeRenderNodeCount.fire(e),e=e.parent}_filterNode(e,t){let i=this.filter?this.filter.filter(e.element,t):1;return"boolean"==typeof i?(e.filterData=void 0,i?1:0):h(i)?(e.filterData=i.data,u(i.visibility)):(e.filterData=void 0,u(i))}hasTreeNode(e,t=this.root){if(!e||0===e.length)return!0;let[i,...n]=e;return!(i<0)&&!(i>t.children.length)&&this.hasTreeNode(n,t.children[i])}getTreeNode(e,t=this.root){if(!e||0===e.length)return t;let[i,...s]=e;if(i<0||i>t.children.length)throw new n.ac(this.user,"Invalid tree location");return this.getTreeNode(s,t.children[i])}getTreeNodeWithListIndex(e){if(0===e.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};let{parentNode:t,listIndex:i,revealed:s,visible:o}=this.getParentNodeWithListIndex(e),r=e[e.length-1];if(r<0||r>t.children.length)throw new n.ac(this.user,"Invalid tree location");let l=t.children[r];return{node:l,listIndex:i,revealed:s,visible:o&&l.visible}}getParentNodeWithListIndex(e,t=this.root,i=0,s=!0,o=!0){let[r,...l]=e;if(r<0||r>t.children.length)throw new n.ac(this.user,"Invalid tree location");for(let e=0;et(new o.n(n.Jj(e),i))))}onmousedown(e,t){this._register(n.nm(e,n.tw.MOUSE_DOWN,i=>t(new o.n(n.Jj(e),i))))}onmouseover(e,t){this._register(n.nm(e,n.tw.MOUSE_OVER,i=>t(new o.n(n.Jj(e),i))))}onmouseleave(e,t){this._register(n.nm(e,n.tw.MOUSE_LEAVE,i=>t(new o.n(n.Jj(e),i))))}onkeydown(e,t){this._register(n.nm(e,n.tw.KEY_DOWN,e=>t(new s.y(e))))}onkeyup(e,t){this._register(n.nm(e,n.tw.KEY_UP,e=>t(new s.y(e))))}oninput(e,t){this._register(n.nm(e,n.tw.INPUT,t))}onblur(e,t){this._register(n.nm(e,n.tw.BLUR,t))}onfocus(e,t){this._register(n.nm(e,n.tw.FOCUS,t))}ignoreGesture(e){return r.o.ignoreTarget(e)}}},48906:function(e,t,i){"use strict";function n(e,t){"number"!=typeof e.vscodeWindowId&&Object.defineProperty(e,"vscodeWindowId",{get:()=>t})}i.d(t,{E:function(){return s},H:function(){return n}});let s=window},74741:function(e,t,i){"use strict";i.d(t,{Wi:function(){return l},Z0:function(){return a},aU:function(){return r},eZ:function(){return h},wY:function(){return d},xw:function(){return u}});var n=i(4669),s=i(5976),o=i(63580);class r extends s.JT{constructor(e,t="",i="",s=!0,o){super(),this._onDidChange=this._register(new n.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=e,this._label=t,this._cssClass=i,this._enabled=s,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(e){this._setLabel(e)}_setLabel(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))}get tooltip(){return this._tooltip||""}set tooltip(e){this._setTooltip(e)}_setTooltip(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))}get class(){return this._cssClass}set class(e){this._setClass(e)}_setClass(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))}get enabled(){return this._enabled}set enabled(e){this._setEnabled(e)}_setEnabled(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))}get checked(){return this._checked}set checked(e){this._setChecked(e)}_setChecked(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))}async run(e,t){this._actionCallback&&await this._actionCallback(e)}}class l extends s.JT{constructor(){super(...arguments),this._onWillRun=this._register(new n.Q5),this.onWillRun=this._onWillRun.event,this._onDidRun=this._register(new n.Q5),this.onDidRun=this._onDidRun.event}async run(e,t){let i;if(e.enabled){this._onWillRun.fire({action:e});try{await this.runAction(e,t)}catch(e){i=e}this._onDidRun.fire({action:e,error:i})}}async runAction(e,t){await e.run(t)}}class a{constructor(){this.id=a.ID,this.label="",this.tooltip="",this.class="separator",this.enabled=!1,this.checked=!1}static join(...e){let t=[];for(let i of e)i.length&&(t=t.length?[...t,new a,...i]:i);return t}async run(){}}a.ID="vs.actions.separator";class d{get actions(){return this._actions}constructor(e,t,i,n){this.tooltip="",this.enabled=!0,this.checked=void 0,this.id=e,this.label=t,this.class=n,this._actions=i}async run(){}}class h extends r{constructor(){super(h.ID,o.NC("submenu.empty","(empty)"),void 0,!1)}}function u(e){var t,i;return{id:e.id,label:e.label,tooltip:null!==(t=e.tooltip)&&void 0!==t?t:e.label,class:e.class,enabled:null===(i=e.enabled)||void 0===i||i,checked:e.checked,run:async(...t)=>e.run(...t)}}h.ID="vs.actions.empty"},9488:function(e,t,i){"use strict";var n,s;function o(e,t=0){return e[e.length-(1+t)]}function r(e){if(0===e.length)throw Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function l(e,t,i=(e,t)=>e===t){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let n=0,s=e.length;n0))return e;n=e-1}}return-(i+1)}(e.length,n=>i(e[n],t))}function h(e,t){let i;let n=[];for(let s of e.slice(0).sort(t))i&&0===t(i[0],s)?i.push(s):(i=[s],n.push(i));return n}function*u(e,t){let i,n;for(let s of e)void 0!==n&&t(n,s)?i.push(s):(i&&(yield i),i=[s]),n=s;i&&(yield i)}function c(e,t){for(let i=0;i<=e.length;i++)t(0===i?void 0:e[i-1],i===e.length?void 0:e[i])}function g(e,t){for(let i=0;i!!e)}function m(e){let t=0;for(let i=0;i0}function v(e,t=e=>e){let i=new Set;return e.filter(e=>{let n=t(e);return!i.has(n)&&(i.add(n),!0)})}function b(e,t){return e.length>0?e[0]:t}function C(e,t){let i="number"==typeof t?e:0;"number"==typeof t?i=e:(i=0,t=e);let n=[];if(i<=t)for(let e=i;et;e--)n.push(e);return n}function w(e,t,i){let n=e.slice(0,t),s=e.slice(t);return n.concat(i,s)}function y(e,t){let i=e.indexOf(t);i>-1&&(e.splice(i,1),e.unshift(t))}function S(e,t){let i=e.indexOf(t);i>-1&&(e.splice(i,1),e.push(t))}function L(e,t){for(let i of t)e.push(i)}function k(e){return Array.isArray(e)?e:[e]}function D(e,t,i,n){let s=x(e,t),o=e.splice(s,i);return void 0===o&&(o=[]),!function(e,t,i){let n=x(e,t),s=e.length,o=i.length;e.length=s+o;for(let t=s-1;t>=n;t--)e[t+o]=e[t];for(let t=0;tt(e(i),e(n))}function E(...e){return(t,i)=>{for(let s of e){let e=s(t,i);if(!n.isNeitherLessOrGreaterThan(e))return e}return n.neitherLessOrGreaterThan}}i.d(t,{BV:function(){return M},EB:function(){return v},Gb:function(){return o},H9:function(){return R},HW:function(){return function e(t,i,n){if((t|=0)>=i.length)throw TypeError("invalid index");let s=i[Math.floor(i.length*Math.random())],o=[],r=[],l=[];for(let e of i){let t=n(e,s);t<0?o.push(e):t>0?r.push(e):l.push(e)}return t0},s.isNeitherLessOrGreaterThan=function(e){return 0===e},s.greaterThan=1,s.lessThan=-1,s.neitherLessOrGreaterThan=0;let I=(e,t)=>e-t,T=(e,t)=>I(e?1:0,t?1:0);function M(e){return(t,i)=>-e(t,i)}class R{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t=0&&e(this.items[t]);)t--;let i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(0!==this.length)return this.items[this.firstIdx]}dequeue(){let e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){let t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}class A{constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new A(t=>this.iterate(i=>!e(i)||t(i)))}map(e){return new A(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t;let i=!0;return this.iterate(s=>((i||n.isGreaterThan(e(s,t)))&&(i=!1,t=s),!0)),t}}A.empty=new A(e=>{});class P{constructor(e){this._indexMap=e}static createSortPermutation(e,t){let i=Array.from(e.keys()).sort((i,n)=>t(e[i],e[n]));return new P(i)}apply(e){return e.map((t,i)=>e[this._indexMap[i]])}inverse(){let e=this._indexMap.slice();for(let t=0;t=0;n--){let i=e[n];if(t(i))return n}return -1}(e,t);if(-1!==i)return e[i]}function s(e,t){let i=o(e,t);return -1===i?void 0:e[i]}function o(e,t,i=0,n=e.length){let s=i,o=n;for(;s0&&(i=s)}return i}function h(e,t){if(0===e.length)return;let i=e[0];for(let n=1;n=0&&(i=s)}return i}function u(e,t){return d(e,(e,i)=>-t(e,i))}function c(e,t){if(0===e.length)return -1;let i=0;for(let n=1;n0&&(i=n)}return i}function g(e,t){for(let i of e){let e=t(i);if(void 0!==e)return e}}a.assertInvariants=!1},35146:function(e,t,i){"use strict";i.d(t,{DM:function(){return a},eZ:function(){return l},ok:function(){return s},vE:function(){return o},wN:function(){return r}});var n=i(17301);function s(e,t){if(!e)throw Error(t?`Assertion failed (${t})`:"Assertion Failed")}function o(e,t="Unreachable"){throw Error(t)}function r(e){e||(0,n.dL)(new n.he("Soft Assertion Failed"))}function l(e){e()||(e(),(0,n.dL)(new n.he("Assertion Failed")))}function a(e,t){let i=0;for(;i{let s=setTimeout(()=>{o.dispose(),e()},t),o=i.onCancellationRequested(()=>{clearTimeout(s),o.dispose(),n(new l.FU)})}):g(i=>e(t,i))}},_F:function(){return y},eP:function(){return p},hF:function(){return k},jT:function(){return o},jg:function(){return n},pY:function(){return L},rH:function(){return b},vp:function(){return v},y5:function(){return s},zS:function(){return I},zh:function(){return S}});var o,r=i(71050),l=i(17301),a=i(4669),d=i(5976),h=i(1432),u=i(5635);function c(e){return!!e&&"function"==typeof e.then}function g(e){let t=new r.AU,i=e(t.token),n=new Promise((e,n)=>{let s=t.token.onCancellationRequested(()=>{s.dispose(),n(new l.FU)});Promise.resolve(i).then(i=>{s.dispose(),t.dispose(),e(i)},e=>{s.dispose(),t.dispose(),n(e)})});return new class{cancel(){t.cancel(),t.dispose()}then(e,t){return n.then(e,t)}catch(e){return this.then(void 0,e)}finally(e){return n.finally(e)}}}function p(e,t,i){return new Promise((n,s)=>{let o=t.onCancellationRequested(()=>{o.dispose(),n(i)});e.then(n,s).finally(()=>o.dispose())})}class m{constructor(){this.isDisposed=!1,this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(e){if(this.isDisposed)return Promise.reject(Error("Throttler is disposed"));if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){let e=()=>{if(this.queuedPromise=null,this.isDisposed)return;let e=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,e};this.queuedPromise=new Promise(t=>{this.activePromise.then(e,e).then(t)})}return new Promise((e,t)=>{this.queuedPromise.then(e,t)})}return this.activePromise=e(),new Promise((e,t)=>{this.activePromise.then(t=>{this.activePromise=null,e(t)},e=>{this.activePromise=null,t(e)})})}dispose(){this.isDisposed=!0}}let f=(e,t)=>{let i=!0,n=setTimeout(()=>{i=!1,t()},e);return{isTriggered:()=>i,dispose:()=>{clearTimeout(n),i=!1}}},_=e=>{let t=!0;return queueMicrotask(()=>{t&&(t=!1,e())}),{isTriggered:()=>t,dispose:()=>{t=!1}}};class v{constructor(e){this.defaultDelay=e,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(e,t=this.defaultDelay){this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((e,t)=>{this.doResolve=e,this.doReject=t}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){let e=this.task;return this.task=null,e()}}));let i=()=>{var e;this.deferred=null,null===(e=this.doResolve)||void 0===e||e.call(this,null)};return this.deferred=t===u.n?_(i):f(t,i),this.completionPromise}isTriggered(){var e;return!!(null===(e=this.deferred)||void 0===e?void 0:e.isTriggered())}cancel(){var e;this.cancelTimeout(),this.completionPromise&&(null===(e=this.doReject)||void 0===e||e.call(this,new l.FU),this.completionPromise=null)}cancelTimeout(){var e;null===(e=this.deferred)||void 0===e||e.dispose(),this.deferred=null}dispose(){this.cancel()}}class b{constructor(e){this.delayer=new v(e),this.throttler=new m}trigger(e,t){return this.delayer.trigger(()=>this.throttler.queue(e),t)}cancel(){this.delayer.cancel()}dispose(){this.delayer.dispose(),this.throttler.dispose()}}function C(e,t=0,i){let n=setTimeout(()=>{e(),i&&s.dispose()},t),s=(0,d.OF)(()=>{clearTimeout(n),null==i||i.deleteAndLeak(s)});return null==i||i.add(s),s}function w(e,t=e=>!!e,i=null){let n=0,s=e.length,o=()=>{if(n>=s)return Promise.resolve(i);let r=e[n++],l=Promise.resolve(r());return l.then(e=>t(e)?Promise.resolve(e):o())};return o()}class y{constructor(e,t){this._isDisposed=!1,this._token=-1,"function"==typeof e&&"number"==typeof t&&this.setIfNotSet(e,t)}dispose(){this.cancel(),this._isDisposed=!0}cancel(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){if(this._isDisposed)throw new l.he("Calling 'cancelAndSet' on a disposed TimeoutTimer");this.cancel(),this._token=setTimeout(()=>{this._token=-1,e()},t)}setIfNotSet(e,t){if(this._isDisposed)throw new l.he("Calling 'setIfNotSet' on a disposed TimeoutTimer");-1===this._token&&(this._token=setTimeout(()=>{this._token=-1,e()},t))}}class S{constructor(){this.disposable=void 0,this.isDisposed=!1}cancel(){var e;null===(e=this.disposable)||void 0===e||e.dispose(),this.disposable=void 0}cancelAndSet(e,t,i=globalThis){if(this.isDisposed)throw new l.he("Calling 'cancelAndSet' on a disposed IntervalTimer");this.cancel();let n=i.setInterval(()=>{e()},t);this.disposable=(0,d.OF)(()=>{i.clearInterval(n),this.disposable=void 0})}dispose(){this.cancel(),this.isDisposed=!0}}class L{constructor(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}get delay(){return this.timeout}set delay(e){this.timeout=e}isScheduled(){return -1!==this.timeoutToken}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){var e;null===(e=this.runner)||void 0===e||e.call(this)}}s="function"!=typeof globalThis.requestIdleCallback||"function"!=typeof globalThis.cancelIdleCallback?(e,t)=>{(0,h.fn)(()=>{if(i)return;let e=Date.now()+15;t(Object.freeze({didTimeout:!0,timeRemaining:()=>Math.max(0,e-Date.now())}))});let i=!1;return{dispose(){i||(i=!0)}}}:(e,t,i)=>{let n=e.requestIdleCallback(t,"number"==typeof i?{timeout:i}:void 0),s=!1;return{dispose(){s||(s=!0,e.cancelIdleCallback(n))}}},n=e=>s(globalThis,e);class k{constructor(e,t){this._didRun=!1,this._executor=()=>{try{this._value=t()}catch(e){this._error=e}finally{this._didRun=!0}},this._handle=s(e,()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}get isInitialized(){return this._didRun}}class D extends k{constructor(e){super(globalThis,e)}}class x{get isRejected(){var e;return(null===(e=this.outcome)||void 0===e?void 0:e.outcome)===1}get isSettled(){return!!this.outcome}constructor(){this.p=new Promise((e,t)=>{this.completeCallback=e,this.errorCallback=t})}complete(e){return new Promise(t=>{this.completeCallback(e),this.outcome={outcome:0,value:e},t()})}error(e){return new Promise(t=>{this.errorCallback(e),this.outcome={outcome:1,value:e},t()})}cancel(){return this.error(new l.FU)}}!function(e){async function t(e){let t;let i=await Promise.all(e.map(e=>e.then(e=>e,e=>{t||(t=e)})));if(void 0!==t)throw t;return i}e.settled=t,e.withAsyncBody=function(e){return new Promise(async(t,i)=>{try{await e(t,i)}catch(e){i(e)}})}}(o||(o={}));class N{static fromArray(e){return new N(t=>{t.emitMany(e)})}static fromPromise(e){return new N(async t=>{t.emitMany(await e)})}static fromPromises(e){return new N(async t=>{await Promise.all(e.map(async e=>t.emitOne(await e)))})}static merge(e){return new N(async t=>{await Promise.all(e.map(async e=>{for await(let i of e)t.emitOne(i)}))})}constructor(e,t){this._state=0,this._results=[],this._error=null,this._onReturn=t,this._onStateChanged=new a.Q5,queueMicrotask(async()=>{let t={emitOne:e=>this.emitOne(e),emitMany:e=>this.emitMany(e),reject:e=>this.reject(e)};try{await Promise.resolve(e(t)),this.resolve()}catch(e){this.reject(e)}finally{t.emitOne=void 0,t.emitMany=void 0,t.reject=void 0}})}[Symbol.asyncIterator](){let e=0;return{next:async()=>{for(;;){if(2===this._state)throw this._error;if(e{var e;return null===(e=this._onReturn)||void 0===e||e.call(this),{done:!0,value:void 0}}}}static map(e,t){return new N(async i=>{for await(let n of e)i.emitOne(t(n))})}map(e){return N.map(this,e)}static filter(e,t){return new N(async i=>{for await(let n of e)t(n)&&i.emitOne(n)})}filter(e){return N.filter(this,e)}static coalesce(e){return N.filter(e,e=>!!e)}coalesce(){return N.coalesce(this)}static async toPromise(e){let t=[];for await(let i of e)t.push(i);return t}toPromise(){return N.toPromise(this)}emitOne(e){0===this._state&&(this._results.push(e),this._onStateChanged.fire())}emitMany(e){0===this._state&&(this._results=this._results.concat(e),this._onStateChanged.fire())}resolve(){0===this._state&&(this._state=1,this._onStateChanged.fire())}reject(e){0===this._state&&(this._state=2,this._error=e,this._onStateChanged.fire())}}N.EMPTY=N.fromArray([]);class E extends N{constructor(e,t){super(t),this._source=e}cancel(){this._source.cancel()}}function I(e){let t=new r.AU,i=e(t.token);return new E(t,async e=>{let n=t.token.onCancellationRequested(()=>{n.dispose(),t.dispose(),e.reject(new l.FU)});try{for await(let n of i){if(t.token.isCancellationRequested)return;e.emitOne(n)}n.dispose(),t.dispose()}catch(i){n.dispose(),t.dispose(),e.reject(i)}})}},53060:function(e,t,i){"use strict";let n;i.d(t,{Ag:function(){return h},Cg:function(){return g},KN:function(){return l},Q$:function(){return c},T4:function(){return u},mP:function(){return a},oq:function(){return d}});var s=i(79579),o=i(48764).lW;let r=void 0!==o;new s.o(()=>new Uint8Array(256));class l{static wrap(e){return r&&!o.isBuffer(e)&&(e=o.from(e.buffer,e.byteOffset,e.byteLength)),new l(e)}constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}toString(){return r?this.buffer.toString():(n||(n=new TextDecoder),n.decode(this.buffer))}}function a(e,t){return e[t+0]<<0>>>0|e[t+1]<<8>>>0}function d(e,t,i){e[i+0]=255&t,t>>>=8,e[i+1]=255&t}function h(e,t){return 16777216*e[t]+65536*e[t+1]+256*e[t+2]+e[t+3]}function u(e,t,i){e[i+3]=t,t>>>=8,e[i+2]=t,t>>>=8,e[i+1]=t,t>>>=8,e[i]=t}function c(e,t){return e[t]}function g(e,t,i){e[i]=t}},701:function(e,t,i){"use strict";function n(e){return e}i.d(t,{bQ:function(){return o},t2:function(){return s}});class s{constructor(e,t){this.lastCache=void 0,this.lastArgKey=void 0,"function"==typeof e?(this._fn=e,this._computeKey=n):(this._fn=t,this._computeKey=e.getCacheKey)}get(e){let t=this._computeKey(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this._fn(e)),this.lastCache}}class o{get cachedValues(){return this._map}constructor(e,t){this._map=new Map,this._map2=new Map,"function"==typeof e?(this._fn=e,this._computeKey=n):(this._fn=t,this._computeKey=e.getCacheKey)}get(e){let t=this._computeKey(e);if(this._map2.has(t))return this._map2.get(t);let i=this._fn(e);return this._map.set(e,i),this._map2.set(t,i),i}}},71050:function(e,t,i){"use strict";i.d(t,{AU:function(){return a},Ts:function(){return s},bP:function(){return d}});var n,s,o=i(4669);let r=Object.freeze(function(e,t){let i=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(i)}}});(n=s||(s={})).isCancellationToken=function(e){return e===n.None||e===n.Cancelled||e instanceof l||!!e&&"object"==typeof e&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},n.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:o.ju.None}),n.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:r});class l{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?r:(this._emitter||(this._emitter=new o.Q5),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class a{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new l),this._token}cancel(){this._token?this._token instanceof l&&this._token.cancel():this._token=s.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof l&&this._token.dispose():this._token=s.None}}function d(e){let t=new a;return e.add({dispose(){t.cancel()}}),t.token}},78789:function(e,t,i){"use strict";i.d(t,{l:function(){return r}});var n=i(77236);let s={add:(0,n.z)("add",6e4),plus:(0,n.z)("plus",6e4),gistNew:(0,n.z)("gist-new",6e4),repoCreate:(0,n.z)("repo-create",6e4),lightbulb:(0,n.z)("lightbulb",60001),lightBulb:(0,n.z)("light-bulb",60001),repo:(0,n.z)("repo",60002),repoDelete:(0,n.z)("repo-delete",60002),gistFork:(0,n.z)("gist-fork",60003),repoForked:(0,n.z)("repo-forked",60003),gitPullRequest:(0,n.z)("git-pull-request",60004),gitPullRequestAbandoned:(0,n.z)("git-pull-request-abandoned",60004),recordKeys:(0,n.z)("record-keys",60005),keyboard:(0,n.z)("keyboard",60005),tag:(0,n.z)("tag",60006),gitPullRequestLabel:(0,n.z)("git-pull-request-label",60006),tagAdd:(0,n.z)("tag-add",60006),tagRemove:(0,n.z)("tag-remove",60006),person:(0,n.z)("person",60007),personFollow:(0,n.z)("person-follow",60007),personOutline:(0,n.z)("person-outline",60007),personFilled:(0,n.z)("person-filled",60007),gitBranch:(0,n.z)("git-branch",60008),gitBranchCreate:(0,n.z)("git-branch-create",60008),gitBranchDelete:(0,n.z)("git-branch-delete",60008),sourceControl:(0,n.z)("source-control",60008),mirror:(0,n.z)("mirror",60009),mirrorPublic:(0,n.z)("mirror-public",60009),star:(0,n.z)("star",60010),starAdd:(0,n.z)("star-add",60010),starDelete:(0,n.z)("star-delete",60010),starEmpty:(0,n.z)("star-empty",60010),comment:(0,n.z)("comment",60011),commentAdd:(0,n.z)("comment-add",60011),alert:(0,n.z)("alert",60012),warning:(0,n.z)("warning",60012),search:(0,n.z)("search",60013),searchSave:(0,n.z)("search-save",60013),logOut:(0,n.z)("log-out",60014),signOut:(0,n.z)("sign-out",60014),logIn:(0,n.z)("log-in",60015),signIn:(0,n.z)("sign-in",60015),eye:(0,n.z)("eye",60016),eyeUnwatch:(0,n.z)("eye-unwatch",60016),eyeWatch:(0,n.z)("eye-watch",60016),circleFilled:(0,n.z)("circle-filled",60017),primitiveDot:(0,n.z)("primitive-dot",60017),closeDirty:(0,n.z)("close-dirty",60017),debugBreakpoint:(0,n.z)("debug-breakpoint",60017),debugBreakpointDisabled:(0,n.z)("debug-breakpoint-disabled",60017),debugHint:(0,n.z)("debug-hint",60017),terminalDecorationSuccess:(0,n.z)("terminal-decoration-success",60017),primitiveSquare:(0,n.z)("primitive-square",60018),edit:(0,n.z)("edit",60019),pencil:(0,n.z)("pencil",60019),info:(0,n.z)("info",60020),issueOpened:(0,n.z)("issue-opened",60020),gistPrivate:(0,n.z)("gist-private",60021),gitForkPrivate:(0,n.z)("git-fork-private",60021),lock:(0,n.z)("lock",60021),mirrorPrivate:(0,n.z)("mirror-private",60021),close:(0,n.z)("close",60022),removeClose:(0,n.z)("remove-close",60022),x:(0,n.z)("x",60022),repoSync:(0,n.z)("repo-sync",60023),sync:(0,n.z)("sync",60023),clone:(0,n.z)("clone",60024),desktopDownload:(0,n.z)("desktop-download",60024),beaker:(0,n.z)("beaker",60025),microscope:(0,n.z)("microscope",60025),vm:(0,n.z)("vm",60026),deviceDesktop:(0,n.z)("device-desktop",60026),file:(0,n.z)("file",60027),fileText:(0,n.z)("file-text",60027),more:(0,n.z)("more",60028),ellipsis:(0,n.z)("ellipsis",60028),kebabHorizontal:(0,n.z)("kebab-horizontal",60028),mailReply:(0,n.z)("mail-reply",60029),reply:(0,n.z)("reply",60029),organization:(0,n.z)("organization",60030),organizationFilled:(0,n.z)("organization-filled",60030),organizationOutline:(0,n.z)("organization-outline",60030),newFile:(0,n.z)("new-file",60031),fileAdd:(0,n.z)("file-add",60031),newFolder:(0,n.z)("new-folder",60032),fileDirectoryCreate:(0,n.z)("file-directory-create",60032),trash:(0,n.z)("trash",60033),trashcan:(0,n.z)("trashcan",60033),history:(0,n.z)("history",60034),clock:(0,n.z)("clock",60034),folder:(0,n.z)("folder",60035),fileDirectory:(0,n.z)("file-directory",60035),symbolFolder:(0,n.z)("symbol-folder",60035),logoGithub:(0,n.z)("logo-github",60036),markGithub:(0,n.z)("mark-github",60036),github:(0,n.z)("github",60036),terminal:(0,n.z)("terminal",60037),console:(0,n.z)("console",60037),repl:(0,n.z)("repl",60037),zap:(0,n.z)("zap",60038),symbolEvent:(0,n.z)("symbol-event",60038),error:(0,n.z)("error",60039),stop:(0,n.z)("stop",60039),variable:(0,n.z)("variable",60040),symbolVariable:(0,n.z)("symbol-variable",60040),array:(0,n.z)("array",60042),symbolArray:(0,n.z)("symbol-array",60042),symbolModule:(0,n.z)("symbol-module",60043),symbolPackage:(0,n.z)("symbol-package",60043),symbolNamespace:(0,n.z)("symbol-namespace",60043),symbolObject:(0,n.z)("symbol-object",60043),symbolMethod:(0,n.z)("symbol-method",60044),symbolFunction:(0,n.z)("symbol-function",60044),symbolConstructor:(0,n.z)("symbol-constructor",60044),symbolBoolean:(0,n.z)("symbol-boolean",60047),symbolNull:(0,n.z)("symbol-null",60047),symbolNumeric:(0,n.z)("symbol-numeric",60048),symbolNumber:(0,n.z)("symbol-number",60048),symbolStructure:(0,n.z)("symbol-structure",60049),symbolStruct:(0,n.z)("symbol-struct",60049),symbolParameter:(0,n.z)("symbol-parameter",60050),symbolTypeParameter:(0,n.z)("symbol-type-parameter",60050),symbolKey:(0,n.z)("symbol-key",60051),symbolText:(0,n.z)("symbol-text",60051),symbolReference:(0,n.z)("symbol-reference",60052),goToFile:(0,n.z)("go-to-file",60052),symbolEnum:(0,n.z)("symbol-enum",60053),symbolValue:(0,n.z)("symbol-value",60053),symbolRuler:(0,n.z)("symbol-ruler",60054),symbolUnit:(0,n.z)("symbol-unit",60054),activateBreakpoints:(0,n.z)("activate-breakpoints",60055),archive:(0,n.z)("archive",60056),arrowBoth:(0,n.z)("arrow-both",60057),arrowDown:(0,n.z)("arrow-down",60058),arrowLeft:(0,n.z)("arrow-left",60059),arrowRight:(0,n.z)("arrow-right",60060),arrowSmallDown:(0,n.z)("arrow-small-down",60061),arrowSmallLeft:(0,n.z)("arrow-small-left",60062),arrowSmallRight:(0,n.z)("arrow-small-right",60063),arrowSmallUp:(0,n.z)("arrow-small-up",60064),arrowUp:(0,n.z)("arrow-up",60065),bell:(0,n.z)("bell",60066),bold:(0,n.z)("bold",60067),book:(0,n.z)("book",60068),bookmark:(0,n.z)("bookmark",60069),debugBreakpointConditionalUnverified:(0,n.z)("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:(0,n.z)("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:(0,n.z)("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:(0,n.z)("debug-breakpoint-data-unverified",60072),debugBreakpointData:(0,n.z)("debug-breakpoint-data",60073),debugBreakpointDataDisabled:(0,n.z)("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:(0,n.z)("debug-breakpoint-log-unverified",60074),debugBreakpointLog:(0,n.z)("debug-breakpoint-log",60075),debugBreakpointLogDisabled:(0,n.z)("debug-breakpoint-log-disabled",60075),briefcase:(0,n.z)("briefcase",60076),broadcast:(0,n.z)("broadcast",60077),browser:(0,n.z)("browser",60078),bug:(0,n.z)("bug",60079),calendar:(0,n.z)("calendar",60080),caseSensitive:(0,n.z)("case-sensitive",60081),check:(0,n.z)("check",60082),checklist:(0,n.z)("checklist",60083),chevronDown:(0,n.z)("chevron-down",60084),chevronLeft:(0,n.z)("chevron-left",60085),chevronRight:(0,n.z)("chevron-right",60086),chevronUp:(0,n.z)("chevron-up",60087),chromeClose:(0,n.z)("chrome-close",60088),chromeMaximize:(0,n.z)("chrome-maximize",60089),chromeMinimize:(0,n.z)("chrome-minimize",60090),chromeRestore:(0,n.z)("chrome-restore",60091),circleOutline:(0,n.z)("circle-outline",60092),circle:(0,n.z)("circle",60092),debugBreakpointUnverified:(0,n.z)("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:(0,n.z)("terminal-decoration-incomplete",60092),circleSlash:(0,n.z)("circle-slash",60093),circuitBoard:(0,n.z)("circuit-board",60094),clearAll:(0,n.z)("clear-all",60095),clippy:(0,n.z)("clippy",60096),closeAll:(0,n.z)("close-all",60097),cloudDownload:(0,n.z)("cloud-download",60098),cloudUpload:(0,n.z)("cloud-upload",60099),code:(0,n.z)("code",60100),collapseAll:(0,n.z)("collapse-all",60101),colorMode:(0,n.z)("color-mode",60102),commentDiscussion:(0,n.z)("comment-discussion",60103),creditCard:(0,n.z)("credit-card",60105),dash:(0,n.z)("dash",60108),dashboard:(0,n.z)("dashboard",60109),database:(0,n.z)("database",60110),debugContinue:(0,n.z)("debug-continue",60111),debugDisconnect:(0,n.z)("debug-disconnect",60112),debugPause:(0,n.z)("debug-pause",60113),debugRestart:(0,n.z)("debug-restart",60114),debugStart:(0,n.z)("debug-start",60115),debugStepInto:(0,n.z)("debug-step-into",60116),debugStepOut:(0,n.z)("debug-step-out",60117),debugStepOver:(0,n.z)("debug-step-over",60118),debugStop:(0,n.z)("debug-stop",60119),debug:(0,n.z)("debug",60120),deviceCameraVideo:(0,n.z)("device-camera-video",60121),deviceCamera:(0,n.z)("device-camera",60122),deviceMobile:(0,n.z)("device-mobile",60123),diffAdded:(0,n.z)("diff-added",60124),diffIgnored:(0,n.z)("diff-ignored",60125),diffModified:(0,n.z)("diff-modified",60126),diffRemoved:(0,n.z)("diff-removed",60127),diffRenamed:(0,n.z)("diff-renamed",60128),diff:(0,n.z)("diff",60129),diffSidebyside:(0,n.z)("diff-sidebyside",60129),discard:(0,n.z)("discard",60130),editorLayout:(0,n.z)("editor-layout",60131),emptyWindow:(0,n.z)("empty-window",60132),exclude:(0,n.z)("exclude",60133),extensions:(0,n.z)("extensions",60134),eyeClosed:(0,n.z)("eye-closed",60135),fileBinary:(0,n.z)("file-binary",60136),fileCode:(0,n.z)("file-code",60137),fileMedia:(0,n.z)("file-media",60138),filePdf:(0,n.z)("file-pdf",60139),fileSubmodule:(0,n.z)("file-submodule",60140),fileSymlinkDirectory:(0,n.z)("file-symlink-directory",60141),fileSymlinkFile:(0,n.z)("file-symlink-file",60142),fileZip:(0,n.z)("file-zip",60143),files:(0,n.z)("files",60144),filter:(0,n.z)("filter",60145),flame:(0,n.z)("flame",60146),foldDown:(0,n.z)("fold-down",60147),foldUp:(0,n.z)("fold-up",60148),fold:(0,n.z)("fold",60149),folderActive:(0,n.z)("folder-active",60150),folderOpened:(0,n.z)("folder-opened",60151),gear:(0,n.z)("gear",60152),gift:(0,n.z)("gift",60153),gistSecret:(0,n.z)("gist-secret",60154),gist:(0,n.z)("gist",60155),gitCommit:(0,n.z)("git-commit",60156),gitCompare:(0,n.z)("git-compare",60157),compareChanges:(0,n.z)("compare-changes",60157),gitMerge:(0,n.z)("git-merge",60158),githubAction:(0,n.z)("github-action",60159),githubAlt:(0,n.z)("github-alt",60160),globe:(0,n.z)("globe",60161),grabber:(0,n.z)("grabber",60162),graph:(0,n.z)("graph",60163),gripper:(0,n.z)("gripper",60164),heart:(0,n.z)("heart",60165),home:(0,n.z)("home",60166),horizontalRule:(0,n.z)("horizontal-rule",60167),hubot:(0,n.z)("hubot",60168),inbox:(0,n.z)("inbox",60169),issueReopened:(0,n.z)("issue-reopened",60171),issues:(0,n.z)("issues",60172),italic:(0,n.z)("italic",60173),jersey:(0,n.z)("jersey",60174),json:(0,n.z)("json",60175),kebabVertical:(0,n.z)("kebab-vertical",60176),key:(0,n.z)("key",60177),law:(0,n.z)("law",60178),lightbulbAutofix:(0,n.z)("lightbulb-autofix",60179),linkExternal:(0,n.z)("link-external",60180),link:(0,n.z)("link",60181),listOrdered:(0,n.z)("list-ordered",60182),listUnordered:(0,n.z)("list-unordered",60183),liveShare:(0,n.z)("live-share",60184),loading:(0,n.z)("loading",60185),location:(0,n.z)("location",60186),mailRead:(0,n.z)("mail-read",60187),mail:(0,n.z)("mail",60188),markdown:(0,n.z)("markdown",60189),megaphone:(0,n.z)("megaphone",60190),mention:(0,n.z)("mention",60191),milestone:(0,n.z)("milestone",60192),gitPullRequestMilestone:(0,n.z)("git-pull-request-milestone",60192),mortarBoard:(0,n.z)("mortar-board",60193),move:(0,n.z)("move",60194),multipleWindows:(0,n.z)("multiple-windows",60195),mute:(0,n.z)("mute",60196),noNewline:(0,n.z)("no-newline",60197),note:(0,n.z)("note",60198),octoface:(0,n.z)("octoface",60199),openPreview:(0,n.z)("open-preview",60200),package:(0,n.z)("package",60201),paintcan:(0,n.z)("paintcan",60202),pin:(0,n.z)("pin",60203),play:(0,n.z)("play",60204),run:(0,n.z)("run",60204),plug:(0,n.z)("plug",60205),preserveCase:(0,n.z)("preserve-case",60206),preview:(0,n.z)("preview",60207),project:(0,n.z)("project",60208),pulse:(0,n.z)("pulse",60209),question:(0,n.z)("question",60210),quote:(0,n.z)("quote",60211),radioTower:(0,n.z)("radio-tower",60212),reactions:(0,n.z)("reactions",60213),references:(0,n.z)("references",60214),refresh:(0,n.z)("refresh",60215),regex:(0,n.z)("regex",60216),remoteExplorer:(0,n.z)("remote-explorer",60217),remote:(0,n.z)("remote",60218),remove:(0,n.z)("remove",60219),replaceAll:(0,n.z)("replace-all",60220),replace:(0,n.z)("replace",60221),repoClone:(0,n.z)("repo-clone",60222),repoForcePush:(0,n.z)("repo-force-push",60223),repoPull:(0,n.z)("repo-pull",60224),repoPush:(0,n.z)("repo-push",60225),report:(0,n.z)("report",60226),requestChanges:(0,n.z)("request-changes",60227),rocket:(0,n.z)("rocket",60228),rootFolderOpened:(0,n.z)("root-folder-opened",60229),rootFolder:(0,n.z)("root-folder",60230),rss:(0,n.z)("rss",60231),ruby:(0,n.z)("ruby",60232),saveAll:(0,n.z)("save-all",60233),saveAs:(0,n.z)("save-as",60234),save:(0,n.z)("save",60235),screenFull:(0,n.z)("screen-full",60236),screenNormal:(0,n.z)("screen-normal",60237),searchStop:(0,n.z)("search-stop",60238),server:(0,n.z)("server",60240),settingsGear:(0,n.z)("settings-gear",60241),settings:(0,n.z)("settings",60242),shield:(0,n.z)("shield",60243),smiley:(0,n.z)("smiley",60244),sortPrecedence:(0,n.z)("sort-precedence",60245),splitHorizontal:(0,n.z)("split-horizontal",60246),splitVertical:(0,n.z)("split-vertical",60247),squirrel:(0,n.z)("squirrel",60248),starFull:(0,n.z)("star-full",60249),starHalf:(0,n.z)("star-half",60250),symbolClass:(0,n.z)("symbol-class",60251),symbolColor:(0,n.z)("symbol-color",60252),symbolConstant:(0,n.z)("symbol-constant",60253),symbolEnumMember:(0,n.z)("symbol-enum-member",60254),symbolField:(0,n.z)("symbol-field",60255),symbolFile:(0,n.z)("symbol-file",60256),symbolInterface:(0,n.z)("symbol-interface",60257),symbolKeyword:(0,n.z)("symbol-keyword",60258),symbolMisc:(0,n.z)("symbol-misc",60259),symbolOperator:(0,n.z)("symbol-operator",60260),symbolProperty:(0,n.z)("symbol-property",60261),wrench:(0,n.z)("wrench",60261),wrenchSubaction:(0,n.z)("wrench-subaction",60261),symbolSnippet:(0,n.z)("symbol-snippet",60262),tasklist:(0,n.z)("tasklist",60263),telescope:(0,n.z)("telescope",60264),textSize:(0,n.z)("text-size",60265),threeBars:(0,n.z)("three-bars",60266),thumbsdown:(0,n.z)("thumbsdown",60267),thumbsup:(0,n.z)("thumbsup",60268),tools:(0,n.z)("tools",60269),triangleDown:(0,n.z)("triangle-down",60270),triangleLeft:(0,n.z)("triangle-left",60271),triangleRight:(0,n.z)("triangle-right",60272),triangleUp:(0,n.z)("triangle-up",60273),twitter:(0,n.z)("twitter",60274),unfold:(0,n.z)("unfold",60275),unlock:(0,n.z)("unlock",60276),unmute:(0,n.z)("unmute",60277),unverified:(0,n.z)("unverified",60278),verified:(0,n.z)("verified",60279),versions:(0,n.z)("versions",60280),vmActive:(0,n.z)("vm-active",60281),vmOutline:(0,n.z)("vm-outline",60282),vmRunning:(0,n.z)("vm-running",60283),watch:(0,n.z)("watch",60284),whitespace:(0,n.z)("whitespace",60285),wholeWord:(0,n.z)("whole-word",60286),window:(0,n.z)("window",60287),wordWrap:(0,n.z)("word-wrap",60288),zoomIn:(0,n.z)("zoom-in",60289),zoomOut:(0,n.z)("zoom-out",60290),listFilter:(0,n.z)("list-filter",60291),listFlat:(0,n.z)("list-flat",60292),listSelection:(0,n.z)("list-selection",60293),selection:(0,n.z)("selection",60293),listTree:(0,n.z)("list-tree",60294),debugBreakpointFunctionUnverified:(0,n.z)("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:(0,n.z)("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:(0,n.z)("debug-breakpoint-function-disabled",60296),debugStackframeActive:(0,n.z)("debug-stackframe-active",60297),circleSmallFilled:(0,n.z)("circle-small-filled",60298),debugStackframeDot:(0,n.z)("debug-stackframe-dot",60298),terminalDecorationMark:(0,n.z)("terminal-decoration-mark",60298),debugStackframe:(0,n.z)("debug-stackframe",60299),debugStackframeFocused:(0,n.z)("debug-stackframe-focused",60299),debugBreakpointUnsupported:(0,n.z)("debug-breakpoint-unsupported",60300),symbolString:(0,n.z)("symbol-string",60301),debugReverseContinue:(0,n.z)("debug-reverse-continue",60302),debugStepBack:(0,n.z)("debug-step-back",60303),debugRestartFrame:(0,n.z)("debug-restart-frame",60304),debugAlt:(0,n.z)("debug-alt",60305),callIncoming:(0,n.z)("call-incoming",60306),callOutgoing:(0,n.z)("call-outgoing",60307),menu:(0,n.z)("menu",60308),expandAll:(0,n.z)("expand-all",60309),feedback:(0,n.z)("feedback",60310),gitPullRequestReviewer:(0,n.z)("git-pull-request-reviewer",60310),groupByRefType:(0,n.z)("group-by-ref-type",60311),ungroupByRefType:(0,n.z)("ungroup-by-ref-type",60312),account:(0,n.z)("account",60313),gitPullRequestAssignee:(0,n.z)("git-pull-request-assignee",60313),bellDot:(0,n.z)("bell-dot",60314),debugConsole:(0,n.z)("debug-console",60315),library:(0,n.z)("library",60316),output:(0,n.z)("output",60317),runAll:(0,n.z)("run-all",60318),syncIgnored:(0,n.z)("sync-ignored",60319),pinned:(0,n.z)("pinned",60320),githubInverted:(0,n.z)("github-inverted",60321),serverProcess:(0,n.z)("server-process",60322),serverEnvironment:(0,n.z)("server-environment",60323),pass:(0,n.z)("pass",60324),issueClosed:(0,n.z)("issue-closed",60324),stopCircle:(0,n.z)("stop-circle",60325),playCircle:(0,n.z)("play-circle",60326),record:(0,n.z)("record",60327),debugAltSmall:(0,n.z)("debug-alt-small",60328),vmConnect:(0,n.z)("vm-connect",60329),cloud:(0,n.z)("cloud",60330),merge:(0,n.z)("merge",60331),export:(0,n.z)("export",60332),graphLeft:(0,n.z)("graph-left",60333),magnet:(0,n.z)("magnet",60334),notebook:(0,n.z)("notebook",60335),redo:(0,n.z)("redo",60336),checkAll:(0,n.z)("check-all",60337),pinnedDirty:(0,n.z)("pinned-dirty",60338),passFilled:(0,n.z)("pass-filled",60339),circleLargeFilled:(0,n.z)("circle-large-filled",60340),circleLarge:(0,n.z)("circle-large",60341),circleLargeOutline:(0,n.z)("circle-large-outline",60341),combine:(0,n.z)("combine",60342),gather:(0,n.z)("gather",60342),table:(0,n.z)("table",60343),variableGroup:(0,n.z)("variable-group",60344),typeHierarchy:(0,n.z)("type-hierarchy",60345),typeHierarchySub:(0,n.z)("type-hierarchy-sub",60346),typeHierarchySuper:(0,n.z)("type-hierarchy-super",60347),gitPullRequestCreate:(0,n.z)("git-pull-request-create",60348),runAbove:(0,n.z)("run-above",60349),runBelow:(0,n.z)("run-below",60350),notebookTemplate:(0,n.z)("notebook-template",60351),debugRerun:(0,n.z)("debug-rerun",60352),workspaceTrusted:(0,n.z)("workspace-trusted",60353),workspaceUntrusted:(0,n.z)("workspace-untrusted",60354),workspaceUnknown:(0,n.z)("workspace-unknown",60355),terminalCmd:(0,n.z)("terminal-cmd",60356),terminalDebian:(0,n.z)("terminal-debian",60357),terminalLinux:(0,n.z)("terminal-linux",60358),terminalPowershell:(0,n.z)("terminal-powershell",60359),terminalTmux:(0,n.z)("terminal-tmux",60360),terminalUbuntu:(0,n.z)("terminal-ubuntu",60361),terminalBash:(0,n.z)("terminal-bash",60362),arrowSwap:(0,n.z)("arrow-swap",60363),copy:(0,n.z)("copy",60364),personAdd:(0,n.z)("person-add",60365),filterFilled:(0,n.z)("filter-filled",60366),wand:(0,n.z)("wand",60367),debugLineByLine:(0,n.z)("debug-line-by-line",60368),inspect:(0,n.z)("inspect",60369),layers:(0,n.z)("layers",60370),layersDot:(0,n.z)("layers-dot",60371),layersActive:(0,n.z)("layers-active",60372),compass:(0,n.z)("compass",60373),compassDot:(0,n.z)("compass-dot",60374),compassActive:(0,n.z)("compass-active",60375),azure:(0,n.z)("azure",60376),issueDraft:(0,n.z)("issue-draft",60377),gitPullRequestClosed:(0,n.z)("git-pull-request-closed",60378),gitPullRequestDraft:(0,n.z)("git-pull-request-draft",60379),debugAll:(0,n.z)("debug-all",60380),debugCoverage:(0,n.z)("debug-coverage",60381),runErrors:(0,n.z)("run-errors",60382),folderLibrary:(0,n.z)("folder-library",60383),debugContinueSmall:(0,n.z)("debug-continue-small",60384),beakerStop:(0,n.z)("beaker-stop",60385),graphLine:(0,n.z)("graph-line",60386),graphScatter:(0,n.z)("graph-scatter",60387),pieChart:(0,n.z)("pie-chart",60388),bracket:(0,n.z)("bracket",60175),bracketDot:(0,n.z)("bracket-dot",60389),bracketError:(0,n.z)("bracket-error",60390),lockSmall:(0,n.z)("lock-small",60391),azureDevops:(0,n.z)("azure-devops",60392),verifiedFilled:(0,n.z)("verified-filled",60393),newline:(0,n.z)("newline",60394),layout:(0,n.z)("layout",60395),layoutActivitybarLeft:(0,n.z)("layout-activitybar-left",60396),layoutActivitybarRight:(0,n.z)("layout-activitybar-right",60397),layoutPanelLeft:(0,n.z)("layout-panel-left",60398),layoutPanelCenter:(0,n.z)("layout-panel-center",60399),layoutPanelJustify:(0,n.z)("layout-panel-justify",60400),layoutPanelRight:(0,n.z)("layout-panel-right",60401),layoutPanel:(0,n.z)("layout-panel",60402),layoutSidebarLeft:(0,n.z)("layout-sidebar-left",60403),layoutSidebarRight:(0,n.z)("layout-sidebar-right",60404),layoutStatusbar:(0,n.z)("layout-statusbar",60405),layoutMenubar:(0,n.z)("layout-menubar",60406),layoutCentered:(0,n.z)("layout-centered",60407),target:(0,n.z)("target",60408),indent:(0,n.z)("indent",60409),recordSmall:(0,n.z)("record-small",60410),errorSmall:(0,n.z)("error-small",60411),terminalDecorationError:(0,n.z)("terminal-decoration-error",60411),arrowCircleDown:(0,n.z)("arrow-circle-down",60412),arrowCircleLeft:(0,n.z)("arrow-circle-left",60413),arrowCircleRight:(0,n.z)("arrow-circle-right",60414),arrowCircleUp:(0,n.z)("arrow-circle-up",60415),layoutSidebarRightOff:(0,n.z)("layout-sidebar-right-off",60416),layoutPanelOff:(0,n.z)("layout-panel-off",60417),layoutSidebarLeftOff:(0,n.z)("layout-sidebar-left-off",60418),blank:(0,n.z)("blank",60419),heartFilled:(0,n.z)("heart-filled",60420),map:(0,n.z)("map",60421),mapHorizontal:(0,n.z)("map-horizontal",60421),foldHorizontal:(0,n.z)("fold-horizontal",60421),mapFilled:(0,n.z)("map-filled",60422),mapHorizontalFilled:(0,n.z)("map-horizontal-filled",60422),foldHorizontalFilled:(0,n.z)("fold-horizontal-filled",60422),circleSmall:(0,n.z)("circle-small",60423),bellSlash:(0,n.z)("bell-slash",60424),bellSlashDot:(0,n.z)("bell-slash-dot",60425),commentUnresolved:(0,n.z)("comment-unresolved",60426),gitPullRequestGoToChanges:(0,n.z)("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:(0,n.z)("git-pull-request-new-changes",60428),searchFuzzy:(0,n.z)("search-fuzzy",60429),commentDraft:(0,n.z)("comment-draft",60430),send:(0,n.z)("send",60431),sparkle:(0,n.z)("sparkle",60432),insert:(0,n.z)("insert",60433),mic:(0,n.z)("mic",60434),thumbsdownFilled:(0,n.z)("thumbsdown-filled",60435),thumbsupFilled:(0,n.z)("thumbsup-filled",60436),coffee:(0,n.z)("coffee",60437),snake:(0,n.z)("snake",60438),game:(0,n.z)("game",60439),vr:(0,n.z)("vr",60440),chip:(0,n.z)("chip",60441),piano:(0,n.z)("piano",60442),music:(0,n.z)("music",60443),micFilled:(0,n.z)("mic-filled",60444),repoFetch:(0,n.z)("repo-fetch",60445),copilot:(0,n.z)("copilot",60446),lightbulbSparkle:(0,n.z)("lightbulb-sparkle",60447),robot:(0,n.z)("robot",60448),sparkleFilled:(0,n.z)("sparkle-filled",60449),diffSingle:(0,n.z)("diff-single",60450),diffMultiple:(0,n.z)("diff-multiple",60451),surroundWith:(0,n.z)("surround-with",60452),share:(0,n.z)("share",60453),gitStash:(0,n.z)("git-stash",60454),gitStashApply:(0,n.z)("git-stash-apply",60455),gitStashPop:(0,n.z)("git-stash-pop",60456),vscode:(0,n.z)("vscode",60457),vscodeInsiders:(0,n.z)("vscode-insiders",60458),codeOss:(0,n.z)("code-oss",60459),runCoverage:(0,n.z)("run-coverage",60460),runAllCoverage:(0,n.z)("run-all-coverage",60461),coverage:(0,n.z)("coverage",60462),githubProject:(0,n.z)("github-project",60463),mapVertical:(0,n.z)("map-vertical",60464),foldVertical:(0,n.z)("fold-vertical",60464),mapVerticalFilled:(0,n.z)("map-vertical-filled",60465),foldVerticalFilled:(0,n.z)("fold-vertical-filled",60465),goToSearch:(0,n.z)("go-to-search",60466),percentage:(0,n.z)("percentage",60467),sortPercentage:(0,n.z)("sort-percentage",60467),attach:(0,n.z)("attach",60468)},o={dialogError:(0,n.z)("dialog-error","error"),dialogWarning:(0,n.z)("dialog-warning","warning"),dialogInfo:(0,n.z)("dialog-info","info"),dialogClose:(0,n.z)("dialog-close","close"),treeItemExpanded:(0,n.z)("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:(0,n.z)("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:(0,n.z)("tree-filter-on-type-off","list-selection"),treeFilterClear:(0,n.z)("tree-filter-clear","close"),treeItemLoading:(0,n.z)("tree-item-loading","loading"),menuSelection:(0,n.z)("menu-selection","check"),menuSubmenu:(0,n.z)("menu-submenu","chevron-right"),menuBarMore:(0,n.z)("menubar-more","more"),scrollbarButtonLeft:(0,n.z)("scrollbar-button-left","triangle-left"),scrollbarButtonRight:(0,n.z)("scrollbar-button-right","triangle-right"),scrollbarButtonUp:(0,n.z)("scrollbar-button-up","triangle-up"),scrollbarButtonDown:(0,n.z)("scrollbar-button-down","triangle-down"),toolBarMore:(0,n.z)("toolbar-more","more"),quickInputBack:(0,n.z)("quick-input-back","arrow-left"),dropDownButton:(0,n.z)("drop-down-button",60084),symbolCustomColor:(0,n.z)("symbol-customcolor",60252),exportIcon:(0,n.z)("export",60332),workspaceUnspecified:(0,n.z)("workspace-unspecified",60355),newLine:(0,n.z)("newline",60394),thumbsDownFilled:(0,n.z)("thumbsdown-filled",60435),thumbsUpFilled:(0,n.z)("thumbsup-filled",60436),gitFetch:(0,n.z)("git-fetch",60445),lightbulbSparkleAutofix:(0,n.z)("lightbulb-sparkle-autofix",60447),debugBreakpointPending:(0,n.z)("debug-breakpoint-pending",60377)},r={...s,...o}},77236:function(e,t,i){"use strict";i.d(t,{u:function(){return r},z:function(){return o}});var n=i(98401);let s=Object.create(null);function o(e,t){if((0,n.HD)(t)){let i=s[t];if(void 0===i)throw Error(`${e} references an unknown codicon: ${t}`);t=i}return s[e]=t,{id:e}}function r(){return s}},6626:function(e,t,i){"use strict";function n(e,t){let i=[],n=[];for(let n of e)t.has(n)||i.push(n);for(let i of t)e.has(i)||n.push(i);return{removed:i,added:n}}function s(e,t){let i=new Set;for(let n of t)e.has(n)&&i.add(n);return i}i.d(t,{j:function(){return s},q:function(){return n}})},41264:function(e,t,i){"use strict";var n,s;function o(e,t){let i=Math.pow(10,t);return Math.round(e*i)/i}i.d(t,{Il:function(){return d},Oz:function(){return l},VS:function(){return r},tx:function(){return a}});class r{constructor(e,t,i,n=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,i)),this.a=o(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class l{constructor(e,t,i,n){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=o(Math.max(Math.min(1,t),0),3),this.l=o(Math.max(Math.min(1,i),0),3),this.a=o(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){let t=e.r/255,i=e.g/255,n=e.b/255,s=e.a,o=Math.max(t,i,n),r=Math.min(t,i,n),a=0,d=0,h=(r+o)/2,u=o-r;if(u>0){switch(d=Math.min(h<=.5?u/(2*h):u/(2-2*h),1),o){case t:a=(i-n)/u+(i1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}static toRGBA(e){let t,i,n;let s=e.h/360,{s:o,l:a,a:d}=e;if(0===o)t=i=n=a;else{let e=a<.5?a*(1+o):a+o-a*o,r=2*a-e;t=l._hue2rgb(r,e,s+1/3),i=l._hue2rgb(r,e,s),n=l._hue2rgb(r,e,s-1/3)}return new r(Math.round(255*t),Math.round(255*i),Math.round(255*n),d)}}class a{constructor(e,t,i,n){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=o(Math.max(Math.min(1,t),0),3),this.v=o(Math.max(Math.min(1,i),0),3),this.a=o(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){let t;let i=e.r/255,n=e.g/255,s=e.b/255,o=Math.max(i,n,s),r=Math.min(i,n,s),l=o-r,d=0===o?0:l/o;return t=0===l?0:o===i?((n-s)/l%6+6)%6:o===n?(s-i)/l+2:(i-n)/l+4,new a(Math.round(60*t),d,o,e.a)}static toRGBA(e){let{h:t,s:i,v:n,a:s}=e,o=n*i,l=o*(1-Math.abs(t/60%2-1)),a=n-o,[d,h,u]=[0,0,0];return t<60?(d=o,h=l):t<120?(d=l,h=o):t<180?(h=o,u=l):t<240?(h=l,u=o):t<300?(d=l,u=o):t<=360&&(d=o,u=l),d=Math.round((d+a)*255),h=Math.round((h+a)*255),u=Math.round((u+a)*255),new r(d,h,u,s)}}class d{static fromHex(e){return d.Format.CSS.parseHex(e)||d.red}static equals(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}get hsla(){return this._hsla?this._hsla:l.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:a.fromRGBA(this.rgba)}constructor(e){if(e){if(e instanceof r)this.rgba=e;else if(e instanceof l)this._hsla=e,this.rgba=l.toRGBA(e);else if(e instanceof a)this._hsva=e,this.rgba=a.toRGBA(e);else throw Error("Invalid color ctor argument")}else throw Error("Color needs a value")}equals(e){return!!e&&r.equals(this.rgba,e.rgba)&&l.equals(this.hsla,e.hsla)&&a.equals(this.hsva,e.hsva)}getRelativeLuminance(){let e=d._relativeLuminanceForComponent(this.rgba.r),t=d._relativeLuminanceForComponent(this.rgba.g),i=d._relativeLuminanceForComponent(this.rgba.b);return o(.2126*e+.7152*t+.0722*i,4)}static _relativeLuminanceForComponent(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){let e=(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3;return e>=128}isLighterThan(e){let t=this.getRelativeLuminance(),i=e.getRelativeLuminance();return t>i}isDarkerThan(e){let t=this.getRelativeLuminance(),i=e.getRelativeLuminance();return te,asFile:()=>void 0,value:"string"==typeof e?e:void 0}}function l(e,t,i){let n={id:(0,o.R)(),name:e,uri:t,data:i};return{asString:async()=>"",asFile:()=>n,value:void 0}}class a{constructor(){this._entries=new Map}get size(){let e=0;for(let t of this._entries)e++;return e}has(e){return this._entries.has(this.toKey(e))}matches(e){let t=[...this._entries.keys()];return s.$.some(this,([e,t])=>t.asFile())&&t.push("files"),u(d(e),t)}get(e){var t;return null===(t=this._entries.get(this.toKey(e)))||void 0===t?void 0:t[0]}append(e,t){let i=this._entries.get(e);i?i.push(t):this._entries.set(this.toKey(e),[t])}replace(e,t){this._entries.set(this.toKey(e),[t])}delete(e){this._entries.delete(this.toKey(e))}*[Symbol.iterator](){for(let[e,t]of this._entries)for(let i of t)yield[e,i]}toKey(e){return d(e)}}function d(e){return e.toLowerCase()}function h(e,t){return u(d(e),t.map(d))}function u(e,t){if("*/*"===e)return t.length>0;if(t.includes(e))return!0;let i=e.match(/^([a-z]+)\/([a-z]+|\*)$/i);if(!i)return!1;let[n,s,o]=i;return"*"===o&&t.some(e=>e.startsWith(s+"/"))}let c=Object.freeze({create:e=>(0,n.EB)(e.map(e=>e.toString())).join("\r\n"),split:e=>e.split("\r\n"),parse:e=>c.split(e).filter(e=>!e.startsWith("#"))})},49898:function(e,t,i){"use strict";function n(e,t,i){let n=null,s=null;if("function"==typeof i.value?(n="value",0!==(s=i.value).length&&console.warn("Memoize should only be used in functions with zero parameters")):"function"==typeof i.get&&(n="get",s=i.get),!s)throw Error("not supported");let o=`$memoize$${t}`;i[n]=function(...e){return this.hasOwnProperty(o)||Object.defineProperty(this,o,{configurable:!1,enumerable:!1,writable:!1,value:s.apply(this,e)}),this[o]}}i.d(t,{H:function(){return n}})},22571:function(e,t,i){"use strict";i.d(t,{Hs:function(){return h},a$:function(){return r}});class n{constructor(e,t,i,n){this.originalStart=e,this.originalLength=t,this.modifiedStart=i,this.modifiedLength=n}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var s=i(89954);class o{constructor(e){this.source=e}getElements(){let e=this.source,t=new Int32Array(e.length);for(let i=0,n=e.length;i0||this.m_modifiedCount>0)&&this.m_changes.push(new n(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class h{constructor(e,t,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=e,this._modifiedSequence=t;let[n,s,o]=h._getElements(e),[r,l,a]=h._getElements(t);this._hasStrings=o&&a,this._originalStringElements=n,this._originalElementsOrHash=s,this._modifiedStringElements=r,this._modifiedElementsOrHash=l,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){let t=e.getElements();if(h._isStringArray(t)){let e=new Int32Array(t.length);for(let i=0,n=t.length;i=e&&s>=i&&this.ElementsAreEqual(t,s);)t--,s--;if(e>t||i>s){let o;return i<=s?(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new n(e,0,i,s-i+1)]):e<=t?(l.Assert(i===s+1,"modifiedStart should only be one more than modifiedEnd"),o=[new n(e,t-e+1,i,0)]):(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),l.Assert(i===s+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}let r=[0],a=[0],d=this.ComputeRecursionPoint(e,t,i,s,r,a,o),h=r[0],u=a[0];if(null!==d)return d;if(!o[0]){let r=this.ComputeDiffRecursive(e,h,i,u,o),l=[];return l=o[0]?[new n(h+1,t-(h+1)+1,u+1,s-(u+1)+1)]:this.ComputeDiffRecursive(h+1,t,u+1,s,o),this.ConcatenateChanges(r,l)}return[new n(e,t-e+1,i,s-i+1)]}WALKTRACE(e,t,i,s,o,r,l,a,h,u,c,g,p,m,f,_,v,b){let C=null,w=null,y=new d,S=t,L=i,k=p[0]-_[0]-s,D=-1073741824,x=this.m_forwardHistory.length-1;do{let t=k+e;t===S||t=0&&(e=(h=this.m_forwardHistory[x])[0],S=1,L=h.length-1)}while(--x>=-1);if(C=y.getReverseChanges(),b[0]){let e=p[0]+1,t=_[0]+1;if(null!==C&&C.length>0){let i=C[C.length-1];e=Math.max(e,i.getOriginalEnd()),t=Math.max(t,i.getModifiedEnd())}w=[new n(e,g-e+1,t,f-t+1)]}else{y=new d,S=r,L=l,k=p[0]-_[0]-a,D=1073741824,x=v?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let e=k+o;e===S||e=u[e+1]?(m=(c=u[e+1]-1)-k-a,c>D&&y.MarkNextChange(),D=c+1,y.AddOriginalElement(c+1,m+1),k=e+1-o):(m=(c=u[e-1])-k-a,c>D&&y.MarkNextChange(),D=c,y.AddModifiedElement(c+1,m+1),k=e-1-o),x>=0&&(o=(u=this.m_reverseHistory[x])[0],S=1,L=u.length-1)}while(--x>=-1);w=y.getChanges()}return this.ConcatenateChanges(C,w)}ComputeRecursionPoint(e,t,i,s,o,r,l){let d=0,h=0,u=0,c=0,g=0,p=0;e--,i--,o[0]=0,r[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let m=t-e+(s-i),f=m+1,_=new Int32Array(f),v=new Int32Array(f),b=s-i,C=t-e,w=e-i,y=t-s,S=C-b,L=S%2==0;_[b]=e,v[C]=t,l[0]=!1;for(let S=1;S<=m/2+1;S++){let m=0,k=0;u=this.ClipDiagonalBound(b-S,S,b,f),c=this.ClipDiagonalBound(b+S,S,b,f);for(let e=u;e<=c;e+=2){h=(d=e===u||em+k&&(m=d,k=h),!L&&Math.abs(e-C)<=S-1&&d>=v[e]){if(o[0]=d,r[0]=h,i<=v[e]&&S<=1448)return this.WALKTRACE(b,u,c,w,C,g,p,y,_,v,d,t,o,h,s,r,L,l);return null}}let D=(m-e+(k-i)-S)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(m,D)){if(l[0]=!0,o[0]=m,r[0]=k,!(D>0)||!(S<=1448))return e++,i++,[new n(e,t-e+1,i,s-i+1)];break}g=this.ClipDiagonalBound(C-S,S,C,f),p=this.ClipDiagonalBound(C+S,S,C,f);for(let n=g;n<=p;n+=2){h=(d=n===g||n=v[n+1]?v[n+1]-1:v[n-1])-(n-C)-y;let a=d;for(;d>e&&h>i&&this.ElementsAreEqual(d,h);)d--,h--;if(v[n]=d,L&&Math.abs(n-b)<=S&&d<=_[n]){if(o[0]=d,r[0]=h,a>=_[n]&&S<=1448)return this.WALKTRACE(b,u,c,w,C,g,p,y,_,v,d,t,o,h,s,r,L,l);return null}}if(S<=1447){let e=new Int32Array(c-u+2);e[0]=b-u+1,a.Copy2(_,u,e,1,c-u+1),this.m_forwardHistory.push(e),(e=new Int32Array(p-g+2))[0]=C-g+1,a.Copy2(v,g,e,1,p-g+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(b,u,c,w,C,g,p,y,_,v,d,t,o,h,s,r,L,l)}PrettifyChanges(e){for(let t=0;t0,r=i.modifiedLength>0;for(;i.originalStart+i.originalLength=0;t--){let i=e[t],n=0,s=0;if(t>0){let i=e[t-1];n=i.originalStart+i.originalLength,s=i.modifiedStart+i.modifiedLength}let o=i.originalLength>0,r=i.modifiedLength>0,l=0,a=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let e=1;;e++){let t=i.originalStart-e,d=i.modifiedStart-e;if(ta&&(a=u,l=e)}i.originalStart-=l,i.modifiedStart-=l;let d=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],d)){e[t-1]=d[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,i=e.length;t0&&i>l&&(l=i,a=t,d=e)}return l>0?[a,d]:null}_contiguousSequenceScore(e,t,i){let n=0;for(let s=0;s=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){let i=e+t;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){let i=e+t;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(e,t,i,n){let s=this._OriginalRegionIsBoundary(e,t)?1:0,o=this._ModifiedRegionIsBoundary(i,n)?1:0;return s+o}ConcatenateChanges(e,t){let i=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],i)){let n=Array(e.length+t.length-1);return a.Copy(e,0,n,0,e.length-1),n[e.length-1]=i[0],a.Copy(t,1,n,e.length,t.length-1),n}{let i=Array(e.length+t.length);return a.Copy(e,0,i,0,e.length),a.Copy(t,0,i,e.length,t.length),i}}ChangesOverlap(e,t,i){if(l.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),l.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),!(e.originalStart+e.originalLength>=t.originalStart)&&!(e.modifiedStart+e.modifiedLength>=t.modifiedStart))return i[0]=null,!1;{let s=e.originalStart,o=e.originalLength,r=e.modifiedStart,l=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(l=t.modifiedStart+t.modifiedLength-e.modifiedStart),i[0]=new n(s,o,r,l),!0}}ClipDiagonalBound(e,t,i,n){if(e>=0&&ee===t;function o(e=s){return(t,i)=>n.fS(t,i,e)}function r(){return(e,t)=>e.equals(t)}function l(e,t,i){return e&&t?i(e,t):e===t}new WeakMap},59523:function(e,t,i){"use strict";i.d(t,{y:function(){return function e(t=null,i=!1){if(!t)return o.NC("error.defaultMessage","An unknown error occurred. Please consult the log for more details.");if(Array.isArray(t)){let s=n.kX(t),r=e(s[0],i);return s.length>1?o.NC("error.moreErrors","{0} ({1} errors in total)",r,s.length):r}if(s.HD(t))return t;if(t.detail){let e=t.detail;if(e.error)return r(e.error,i);if(e.exception)return r(e.exception,i)}return t.stack?r(t,i):t.message?t.message:o.NC("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}}});var n=i(9488),s=i(98401),o=i(63580);function r(e,t){return t&&(e.stack||e.stacktrace)?o.NC("stackTrace.format","{0}: {1}",a(e),l(e.stack)||l(e.stacktrace)):a(e)}function l(e){return Array.isArray(e)?e.join("\n"):e}function a(e){return"ERR_UNC_HOST_NOT_ALLOWED"===e.code?`${e.message}. Please update the 'security.allowedUNCHosts' setting if you want to allow this host.`:"string"==typeof e.code&&"number"==typeof e.errno&&"string"==typeof e.syscall?o.NC("nodeExceptionMessage","A system error occurred ({0})",e.message):e.message||o.NC("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}},17301:function(e,t,i){"use strict";i.d(t,{B8:function(){return g},Cp:function(){return o},F0:function(){return h},FU:function(){return d},L6:function(){return c},b1:function(){return u},dL:function(){return s},he:function(){return m},n2:function(){return a},ri:function(){return r}});let n=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(p.isErrorNoTelemetry(e))throw new p(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function s(e){a(e)||n.onUnexpectedError(e)}function o(e){a(e)||n.onUnexpectedExternalError(e)}function r(e){if(e instanceof Error){let{name:t,message:i}=e,n=e.stacktrace||e.stack;return{$isError:!0,name:t,message:i,stack:n,noTelemetry:p.isErrorNoTelemetry(e)}}return e}let l="Canceled";function a(e){return e instanceof d||e instanceof Error&&e.name===l&&e.message===l}class d extends Error{constructor(){super(l),this.name=this.message}}function h(){let e=Error(l);return e.name=e.message,e}function u(e){return e?Error(`Illegal argument: ${e}`):Error("Illegal argument")}function c(e){return e?Error(`Illegal state: ${e}`):Error("Illegal state")}class g extends Error{constructor(e){super("NotSupported"),e&&(this.message=e)}}class p extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof p)return e;let t=new p;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class m extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,m.prototype)}}},4669:function(e,t,i){"use strict";i.d(t,{D0:function(){return C},E7:function(){return S},K3:function(){return b},Q5:function(){return f},SZ:function(){return w},Sp:function(){return _},ZD:function(){return L},ju:function(){return n},z5:function(){return y}});var n,s=i(17301),o=i(88289),r=i(5976),l=i(91741),a=i(84013);!function(e){function t(e){return(t,i=null,n)=>{let s,o=!1;return s=e(e=>o?void 0:(s?s.dispose():o=!0,t.call(i,e)),null,n),o&&s.dispose(),s}}function i(e,t,i){return s((i,n=null,s)=>e(e=>i.call(n,t(e)),null,s),i)}function n(e,t,i){return s((i,n=null,s)=>e(e=>t(e)&&i.call(n,e),null,s),i)}function s(e,t){let i;let n=new f({onWillAddFirstListener(){i=e(n.fire,n)},onDidRemoveLastListener(){null==i||i.dispose()}});return null==t||t.add(n),n.event}function o(e,t,i=100,n=!1,s=!1,o,r){let l,a,d,h;let u=0,c=new f({leakWarningThreshold:o,onWillAddFirstListener(){l=e(e=>{u++,d=t(d,e),n&&!h&&(c.fire(d),d=void 0),a=()=>{let e=d;d=void 0,h=void 0,(!n||u>1)&&c.fire(e),u=0},"number"==typeof i?(clearTimeout(h),h=setTimeout(a,i)):void 0===h&&(h=0,queueMicrotask(a))})},onWillRemoveListener(){s&&u>0&&(null==a||a())},onDidRemoveLastListener(){a=void 0,l.dispose()}});return null==r||r.add(c),c.event}e.None=()=>r.JT.None,e.defer=function(e,t){return o(e,()=>void 0,0,void 0,!0,void 0,t)},e.once=t,e.map=i,e.forEach=function(e,t,i){return s((i,n=null,s)=>e(e=>{t(e),i.call(n,e)},null,s),i)},e.filter=n,e.signal=function(e){return e},e.any=function(...e){return(t,i=null,n)=>{let s=(0,r.F8)(...e.map(e=>e(e=>t.call(i,e))));return n instanceof Array?n.push(s):n&&n.add(s),s}},e.reduce=function(e,t,n,s){let o=n;return i(e,e=>o=t(o,e),s)},e.debounce=o,e.accumulate=function(t,i=0,n){return e.debounce(t,(e,t)=>e?(e.push(t),e):[t],i,void 0,!0,void 0,n)},e.latch=function(e,t=(e,t)=>e===t,i){let s,o=!0;return n(e,e=>{let i=o||!t(e,s);return o=!1,s=e,i},i)},e.split=function(t,i,n){return[e.filter(t,i,n),e.filter(t,e=>!i(e),n)]},e.buffer=function(e,t=!1,i=[],n){let s=i.slice(),o=e(e=>{s?s.push(e):l.fire(e)});n&&n.add(o);let r=()=>{null==s||s.forEach(e=>l.fire(e)),s=null},l=new f({onWillAddFirstListener(){!o&&(o=e(e=>l.fire(e)),n&&n.add(o))},onDidAddFirstListener(){s&&(t?setTimeout(r):r())},onDidRemoveLastListener(){o&&o.dispose(),o=null}});return n&&n.add(l),l.event},e.chain=function(e,t){return(i,n,s)=>{let o=t(new a);return e(function(e){let t=o.evaluate(e);t!==l&&i.call(n,t)},void 0,s)}};let l=Symbol("HaltChainable");class a{constructor(){this.steps=[]}map(e){return this.steps.push(e),this}forEach(e){return this.steps.push(t=>(e(t),t)),this}filter(e){return this.steps.push(t=>e(t)?t:l),this}reduce(e,t){let i=t;return this.steps.push(t=>i=e(i,t)),this}latch(e=(e,t)=>e===t){let t,i=!0;return this.steps.push(n=>{let s=i||!e(n,t);return i=!1,t=n,s?n:l}),this}evaluate(e){for(let t of this.steps)if((e=t(e))===l)break;return e}}e.fromNodeEventEmitter=function(e,t,i=e=>e){let n=(...e)=>s.fire(i(...e)),s=new f({onWillAddFirstListener:()=>e.on(t,n),onDidRemoveLastListener:()=>e.removeListener(t,n)});return s.event},e.fromDOMEventEmitter=function(e,t,i=e=>e){let n=(...e)=>s.fire(i(...e)),s=new f({onWillAddFirstListener:()=>e.addEventListener(t,n),onDidRemoveLastListener:()=>e.removeEventListener(t,n)});return s.event},e.toPromise=function(e){return new Promise(i=>t(e)(i))},e.fromPromise=function(e){let t=new f;return e.then(e=>{t.fire(e)},()=>{t.fire(void 0)}).finally(()=>{t.dispose()}),t.event},e.runAndSubscribe=function(e,t,i){return t(i),e(e=>t(e))};class d{constructor(e,t){this._observable=e,this._counter=0,this._hasChanged=!1;this.emitter=new f({onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}}),t&&t.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){let i=new d(e,t);return i.emitter.event},e.fromObservableLight=function(e){return(t,i,n)=>{let s=0,o=!1,l={beginUpdate(){s++},endUpdate(){0==--s&&(e.reportChanges(),o&&(o=!1,t.call(i)))},handlePossibleChange(){},handleChange(){o=!0}};e.addObserver(l),e.reportChanges();let a={dispose(){e.removeObserver(l)}};return n instanceof r.SL?n.add(a):Array.isArray(n)&&n.push(a),a}}}(n||(n={}));class d{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${d._idPool++}`,d.all.add(this)}start(e){this._stopWatch=new a.G,this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}d.all=new Set,d._idPool=0;class h{constructor(e,t,i=Math.random().toString(18).slice(2,5)){this._errorHandler=e,this.threshold=t,this.name=i,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){let i=this.threshold;if(i<=0||t{let t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}getMostFrequentStack(){let e;if(!this._stacks)return;let t=0;for(let[i,n]of this._stacks)(!e||t{var n,o,l,a,d,h,c;let f;if(this._leakageMon&&this._size>this._leakageMon.threshold**2){let e=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(e);let t=null!==(n=this._leakageMon.getMostFrequentStack())&&void 0!==n?n:["UNKNOWN stack",-1],i=new g(`${e}. HINT: Stack shows most frequent listener (${t[1]}-times)`,t[0]),l=(null===(o=this._options)||void 0===o?void 0:o.onListenerError)||s.dL;return l(i),r.JT.None}if(this._disposed)return r.JT.None;t&&(e=e.bind(t));let _=new p(e);this._leakageMon&&this._size>=Math.ceil(.2*this._leakageMon.threshold)&&(_.stack=u.create(),f=this._leakageMon.check(_.stack,this._size+1)),this._listeners?this._listeners instanceof p?(null!==(c=this._deliveryQueue)&&void 0!==c||(this._deliveryQueue=new v),this._listeners=[this._listeners,_]):this._listeners.push(_):(null===(a=null===(l=this._options)||void 0===l?void 0:l.onWillAddFirstListener)||void 0===a||a.call(l,this),this._listeners=_,null===(h=null===(d=this._options)||void 0===d?void 0:d.onDidAddFirstListener)||void 0===h||h.call(d,this)),this._size++;let b=(0,r.OF)(()=>{null==m||m.unregister(b),null==f||f(),this._removeListener(_)});if(i instanceof r.SL?i.add(b):Array.isArray(i)&&i.push(b),m){let e=Error().stack.split("\n").slice(2).join("\n").trim();m.register(b,e,b)}return b}),this._event}_removeListener(e){var t,i,n,s;if(null===(i=null===(t=this._options)||void 0===t?void 0:t.onWillRemoveListener)||void 0===i||i.call(t,this),!this._listeners)return;if(1===this._size){this._listeners=void 0,null===(s=null===(n=this._options)||void 0===n?void 0:n.onDidRemoveLastListener)||void 0===s||s.call(n,this),this._size=0;return}let o=this._listeners,r=o.indexOf(e);if(-1===r)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),Error("Attempted to dispose unknown listener");this._size--,o[r]=void 0;let l=this._deliveryQueue.current===this;if(2*this._size<=o.length){let e=0;for(let t=0;t0}}let _=()=>new v;class v{constructor(){this.i=-1,this.end=0}enqueue(e,t,i){this.i=0,this.end=i,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}class b extends f{constructor(e){super(e),this._isPaused=0,this._eventQueue=new l.S,this._mergeFn=null==e?void 0:e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused){if(this._mergeFn){if(this._eventQueue.size>0){let e=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(e))}}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}}fire(e){this._size&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class C extends b{constructor(e){var t;super(e),this._delay=null!==(t=e.delay)&&void 0!==t?t:100}fire(e){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(e)}}class w extends f{constructor(e){super(e),this._queuedEvents=[],this._mergeFn=null==e?void 0:e.merge}fire(e){this.hasListeners()&&(this._queuedEvents.push(e),1===this._queuedEvents.length&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(e=>super.fire(e)),this._queuedEvents=[]}))}}class y{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new f({onWillAddFirstListener:()=>this.onFirstListenerAdd(),onDidRemoveLastListener:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(e){let t={event:e,listener:null};return this.events.push(t),this.hasListeners&&this.hook(t),(0,r.OF)((0,o.M)(()=>{this.hasListeners&&this.unhook(t);let e=this.events.indexOf(t);this.events.splice(e,1)}))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(e=>this.hook(e))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(e=>this.unhook(e))}hook(e){e.listener=e.event(e=>this.emitter.fire(e))}unhook(e){var t;null===(t=e.listener)||void 0===t||t.dispose(),e.listener=null}dispose(){var e;for(let t of(this.emitter.dispose(),this.events))null===(e=t.listener)||void 0===e||e.dispose();this.events=[]}}class S{constructor(){this.data=[]}wrapEvent(e,t,i){return(n,s,o)=>e(e=>{var o;let r=this.data[this.data.length-1];if(!t){r?r.buffers.push(()=>n.call(s,e)):n.call(s,e);return}if(!r){n.call(s,t(i,e));return}null!==(o=r.items)&&void 0!==o||(r.items=[]),r.items.push(e),0===r.buffers.length&&r.buffers.push(()=>{var e;null!==(e=r.reducedResult)&&void 0!==e||(r.reducedResult=i?r.items.reduce(t,i):r.items.reduce(t)),n.call(s,r.reducedResult)})},void 0,o)}bufferEvents(e){let t={buffers:[]};this.data.push(t);let i=e();return this.data.pop(),t.buffers.forEach(e=>e()),i}}class L{constructor(){this.listening=!1,this.inputEvent=n.None,this.inputEventListener=r.JT.None,this.emitter=new f({onDidAddFirstListener:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onDidRemoveLastListener:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},15527:function(e,t,i){"use strict";i.d(t,{KM:function(){return h},ej:function(){return l},fn:function(){return a},oP:function(){return c},yj:function(){return d}});var n=i(82663),s=i(1432),o=i(97295);function r(e){return 47===e||92===e}function l(e){return e.replace(/[\\/]/g,n.KR.sep)}function a(e){return -1===e.indexOf("/")&&(e=l(e)),/^[a-zA-Z]:(\/|$)/.test(e)&&(e="/"+e),e}function d(e,t=n.KR.sep){if(!e)return"";let i=e.length,s=e.charCodeAt(0);if(r(s)){if(r(e.charCodeAt(1))&&!r(e.charCodeAt(2))){let n=3,s=n;for(;ne.length)return!1;if(i){let i=(0,o.ok)(e,t);if(!i)return!1;if(t.length===e.length)return!0;let n=t.length;return t.charAt(t.length-1)===s&&n--,e.charAt(n)===s}return t.charAt(t.length-1)!==s&&(t+=s),0===e.indexOf(t)}function u(e){return e>=65&&e<=90||e>=97&&e<=122}function c(e,t=s.ED){return!!t&&u(e.charCodeAt(0))&&58===e.charCodeAt(1)}},60075:function(e,t,i){"use strict";i.d(t,{CL:function(){return s},mX:function(){return Z},jB:function(){return W},mB:function(){return H},EW:function(){return Y},l7:function(){return J},ir:function(){return _},Oh:function(){return F},XU:function(){return B},Ji:function(){return m},Sy:function(){return v},KZ:function(){return M},or:function(){return p}});var n,s,o=i(43702);let r=0,l=new Uint32Array(10);function a(e,t,i){var n;e>=i&&e>8&&(l[r++]=n>>8&255),n>>16&&(l[r++]=n>>16&255))}let d=new Uint8Array([114,82,115,101,69,102,97,113,81,116,84,100,119,87,99,122,120,118,103]),h=new Uint16Array([107,111,105,79,106,112,117,80,104,27496,28520,27752,121,110,27246,28782,27758,98,109,27757,108]),u=new Uint16Array([114,82,29810,115,30579,26483,101,102,29286,24934,29030,29798,30822,30310,26470,97,113,29809,116,84,100,119,99,122,120,118,103]),c=new Uint16Array([114,82,29810,115,30579,26483,101,69,102,29286,24934,29030,29798,30822,30310,26470,97,113,81,29809,116,84,100,119,87,99,122,120,118,103,107,111,105,79,106,112,117,80,104,27496,28520,27752,121,110,27246,28782,27758,98,109,27757,108]);var g=i(97295);function p(...e){return function(t,i){for(let n=0,s=e.length;n0?[{start:0,end:t.length}]:[]:null}function _(e,t){let i=t.toLowerCase().indexOf(e.toLowerCase());return -1===i?null:[{start:i,end:i+e.length}]}function v(e,t){return function e(t,i,n,s){if(n===t.length)return[];if(s===i.length)return null;if(t[n]===i[s]){let o=null;return(o=e(t,i,n+1,s+1))?E({start:s,end:s+1},o):null}return e(t,i,n,s+1)}(e.toLowerCase(),t.toLowerCase(),0,0)}function b(e){return 97<=e&&e<=122}function C(e){return 65<=e&&e<=90}function w(e){return 48<=e&&e<=57}function y(e){return 32===e||9===e||10===e||13===e}let S=new Set;function L(e){return y(e)||S.has(e)}function k(e,t){return e===t||L(e)&&L(t)}"()[]{}<>`'\"-/;:,.?!".split("").forEach(e=>S.add(e.charCodeAt(0)));let D=new Map;function x(e){let t;if(D.has(e))return D.get(e);let i=function(e){let t=function(e){if(r=0,a(e,d,4352),r>0||(a(e,h,4449),r>0)||(a(e,u,4520),r>0)||(a(e,c,12593),r))return l.subarray(0,r);if(e>=44032&&e<=55203){let t=e-44032,i=t%588,n=Math.floor(t/588),s=Math.floor(i/28),o=i%28-1;if(n=0&&(o0)return l.subarray(0,r)}}(e);if(t&&t.length>0)return new Uint32Array(t)}(e);return i&&(t=i),D.set(e,t),t}function N(e){return b(e)||C(e)||w(e)}function E(e,t){return 0===t.length?t=[e]:e.end===t[0].start?t[0].start=e.start:t.unshift(e),t}function I(e,t){for(let i=t;i0&&!N(e.charCodeAt(i-1)))return i}return e.length}function T(e,t){if(!t||0===(t=t.trim()).length||!function(e){let t=0,i=0,n=0,s=0;for(let o=0;o60&&(t=t.substring(0,60));let i=function(e){let t=0,i=0,n=0,s=0,o=0;for(let r=0;r.2&&t<.8&&n>.6&&s<.2}(i)){if(!function(e){let{upperPercent:t,lowerPercent:i}=e;return 0===i&&t>.6}(i))return null;t=t.toLowerCase()}let n=null,s=0;for(e=e.toLowerCase();s0&&L(e.charCodeAt(i-1)))return i;return e.length}let A=p(m,T,_),P=p(m,T,v),O=new o.z6(1e4);function F(e,t,i=!1){if("string"!=typeof e||"string"!=typeof t)return null;let n=O.get(e);n||(n=RegExp(g.un(e),"i"),O.set(e,n));let s=n.exec(t);return s?[{start:s.index,end:s.index+s[0].length}]:i?P(e,t):A(e,t)}function B(e,t){let i=Y(e,e.toLowerCase(),0,t,t.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});return i?H(i):null}function W(e,t,i,n,s,o){let r=Math.min(13,e.length);for(;i1;n--){let s=e[n]+i,o=t[t.length-1];o&&o.end===s?o.end=s+1:t.push({start:s,end:s+1})}return t}function V(){let e=[],t=[];for(let e=0;e<=128;e++)t[e]=0;for(let i=0;i<=128;i++)e.push(t.slice(0));return e}function z(e){let t=[];for(let i=0;i<=e;i++)t[i]=0;return t}let K=z(256),U=z(256),$=V(),q=V(),j=V();function G(e,t){if(t<0||t>=e.length)return!1;let i=e.codePointAt(t);switch(i){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:case 60:case 62:case 40:case 41:case 91:case 93:case 123:case 125:return!0;case void 0:return!1;default:if(g.C8(i))return!0;return!1}}function Q(e,t){if(t<0||t>=e.length)return!1;let i=e.charCodeAt(t);switch(i){case 32:case 9:return!0;default:return!1}}(n=s||(s={})).Default=[-100,0],n.isDefault=function(e){return!e||2===e.length&&-100===e[0]&&0===e[1]};class Z{constructor(e,t){this.firstMatchCanBeWeak=e,this.boostFullMatch=t}}function Y(e,t,i,n,s,o,r=Z.default){var l;let a=e.length>128?128:e.length,d=n.length>128?128:n.length;if(i>=a||o>=d||a-i>d-o||!function(e,t,i,n,s,o,r=!1){for(;t=i&&l>=n;)s[r]===o[l]&&(U[r]=l,r--),l--}(a,d,i,o,t,s);let h=1,u=1,c=i,g=o,p=[!1];for(h=1,c=i;c1&&i===n&&(h[0]=!0),g||(g=s[r]!==o[r]||G(o,r-1)||Q(o,r-1)),i===n?r>a&&(c-=g?3:5):d?c+=g?2:0:c+=g?0:1,r+1===l&&(c-=g?3:5),c}(e,t,c,i,n,s,g,d,o,0===$[h-1][u-1],p));let f=0;a!==Number.MAX_SAFE_INTEGER&&(m=!0,f=a+q[h-1][u-1]);let _=g>r,v=_?q[h][u-1]+($[h][u-1]>0?-5:0):0,b=g>r+1&&$[h][u-1]>0,C=b?q[h][u-2]+($[h][u-2]>0?-5:0):0;if(b&&(!_||C>=v)&&(!m||C>=f))q[h][u]=C,j[h][u]=3,$[h][u]=0;else if(_&&(!m||v>=f))q[h][u]=v,j[h][u]=2,$[h][u]=0;else if(m)q[h][u]=f,j[h][u]=1,$[h][u]=$[h-1][u-1]+1;else throw Error("not possible")}}if(!p[0]&&!r.firstMatchCanBeWeak)return;h--,u--;let m=[q[h][u],o],f=0,_=0;for(;h>=1;){let e=u;do{let t=j[h][e];if(3===t)e-=2;else if(2===t)e-=1;else break}while(e>=1);f>1&&t[i+h-1]===s[o+u-1]&&n[l=e+o-1]===s[l]&&f+1>$[h][e]&&(e=u),e===u?f++:f=1,_||(_=e),h--,u=e-1,m.push(u)}d-o===a&&r.boostFullMatch&&(m[0]+=2);let v=_-a;return m[0]-=v,m}function J(e,t,i,n,s,o,r){return function(e,t,i,n,s,o,r,l){let a=Y(e,t,i,n,s,o,l);if(a&&!r)return a;if(e.length>=3){let t=Math.min(7,e.length-1);for(let r=i+1;r=e.length)return;let i=e[t],n=e[t+1];if(i!==n)return e.slice(0,t)+n+i+e.slice(t+2)}(e,r);if(t){let e=Y(t,t.toLowerCase(),i,n,s,o,l);e&&(e[0]-=3,(!a||e[0]>a[0])&&(a=e))}}}return a}(e,t,i,n,s,o,!0,r)}Z.default={boostFullMatch:!0,firstMatchCanBeWeak:!1}},88289:function(e,t,i){"use strict";function n(e,t){let i;let n=this,s=!1;return function(){if(s)return i;if(s=!0,t)try{i=e.apply(n,arguments)}finally{t()}else i=e.apply(n,arguments);return i}}i.d(t,{M:function(){return n}})},14118:function(e,t,i){"use strict";i.d(t,{EQ:function(){return D},Qc:function(){return x}});var n=i(15393),s=i(15527),o=i(43702),r=i(82663),l=i(1432),a=i(97295);let d="[/\\\\]",h="[^/\\\\]",u=/\//g;function c(e,t){switch(e){case 0:return"";case 1:return`${h}*?`;default:return`(?:${d}|${h}+${d}${t?`|${d}${h}+`:""})*?`}}function g(e,t){if(!e)return[];let i=[],n=!1,s=!1,o="";for(let r of e){switch(r){case t:if(!n&&!s){i.push(o),o="";continue}break;case"{":n=!0;break;case"}":n=!1;break;case"[":s=!0;break;case"]":s=!1}o+=r}return o&&i.push(o),i}let p=/^\*\*\/\*\.[\w\.-]+$/,m=/^\*\*\/([\w\.-]+)\/?$/,f=/^{\*\*\/\*?[\w\.-]+\/?(,\*\*\/\*?[\w\.-]+\/?)*}$/,_=/^{\*\*\/\*?[\w\.-]+(\/(\*\*)?)?(,\*\*\/\*?[\w\.-]+(\/(\*\*)?)?)*}$/,v=/^\*\*((\/[\w\.-]+)+)\/?$/,b=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,C=new o.z6(1e4),w=function(){return!1},y=function(){return null};function S(e,t){var i,n;let o,u;if(!e)return y;o=(o="string"!=typeof e?e.pattern:e).trim();let w=`${o}_${!!t.trimForExclusions}`,D=C.get(w);return D||(D=p.test(o)?(i=o.substr(4),n=o,function(e,t){return"string"==typeof e&&e.endsWith(i)?n:null}):(u=m.exec(L(o,t)))?function(e,t){let i=`/${e}`,n=`\\${e}`,s=function(s,o){return"string"!=typeof s?null:o?o===e?t:null:s===e||s.endsWith(i)||s.endsWith(n)?t:null},o=[e];return s.basenames=o,s.patterns=[t],s.allBasenames=o,s}(u[1],o):(t.trimForExclusions?_:f).test(o)?function(e,t){let i=N(e.slice(1,-1).split(",").map(e=>S(e,t)).filter(e=>e!==y),e),n=i.length;if(!n)return y;if(1===n)return i[0];let s=function(t,n){for(let s=0,o=i.length;s!!e.allBasenames);o&&(s.allBasenames=o.allBasenames);let r=i.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);return r.length&&(s.allPaths=r),s}(o,t):(u=v.exec(L(o,t)))?k(u[1].substr(1),o,!0):(u=b.exec(L(o,t)))?k(u[1],o,!1):function(e){try{let t=RegExp(`^${function e(t){if(!t)return"";let i="",n=g(t,"/");if(n.every(e=>"**"===e))i=".*";else{let t=!1;n.forEach((s,o)=>{if("**"===s){if(t)return;i+=c(2,o===n.length-1)}else{let t=!1,r="",l=!1,u="";for(let n of s){if("}"!==n&&t){r+=n;continue}if(l&&("]"!==n||!u)){let e;e="-"===n?n:"^"!==n&&"!"!==n||u?"/"===n?"":(0,a.ec)(n):"^",u+=e;continue}switch(n){case"{":t=!0;continue;case"[":l=!0;continue;case"}":{let n=g(r,","),s=`(?:${n.map(t=>e(t)).join("|")})`;i+=s,t=!1,r="";break}case"]":i+="["+u+"]",l=!1,u="";break;case"?":i+=h;continue;case"*":i+=c(1);continue;default:i+=(0,a.ec)(n)}}o(function(e,t,i){if(!1===t)return y;let s=S(e,i);if(s===y)return y;if("boolean"==typeof t)return s;if(t){let i=t.when;if("string"==typeof i){let t=(t,o,r,l)=>{if(!l||!s(t,o))return null;let a=i.replace("$(basename)",()=>r),d=l(a);return(0,n.J8)(d)?d.then(t=>t?e:null):d?e:null};return t.requiresSiblings=!0,t}}return s})(i,e[i],t)).filter(e=>e!==y)),s=i.length;if(!s)return y;if(!i.some(e=>!!e.requiresSiblings)){if(1===s)return i[0];let e=function(e,t){let s;for(let o=0,r=i.length;o{for(let e of s){let t=await e;if("string"==typeof t)return t}return null})():null},t=i.find(e=>!!e.allBasenames);t&&(e.allBasenames=t.allBasenames);let o=i.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);return o.length&&(e.allPaths=o),e}let o=function(e,t,s){let o,l;for(let a=0,d=i.length;a{for(let e of l){let t=await e;if("string"==typeof t)return t}return null})():null},l=i.find(e=>!!e.allBasenames);l&&(o.allBasenames=l.allBasenames);let a=i.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);return a.length&&(o.allPaths=a),o}(e,t)}function N(e,t){let i;let n=e.filter(e=>!!e.basenames);if(n.length<2)return e;let s=n.reduce((e,t)=>{let i=t.basenames;return i?e.concat(i):e},[]);if(t){i=[];for(let e=0,n=s.length;e{let i=t.patterns;return i?e.concat(i):e},[]);let o=function(e,t){if("string"!=typeof e)return null;if(!t){let i;for(i=e.length;i>0;i--){let t=e.charCodeAt(i-1);if(47===t||92===t)break}t=e.substr(i)}let n=s.indexOf(t);return -1!==n?i[n]:null};o.basenames=s,o.patterns=i,o.allBasenames=s;let r=e.filter(e=>!e.basenames);return r.push(o),r}},89954:function(e,t,i){"use strict";i.d(t,{Cv:function(){return l},SP:function(){return o},vp:function(){return s},yP:function(){return u}});var n=i(97295);function s(e){return o(e,0)}function o(e,t){switch(typeof e){case"object":var i,n;if(null===e)return r(349,t);if(Array.isArray(e))return i=r(104579,i=t),e.reduce((e,t)=>o(t,e),i);return n=r(181387,n=t),Object.keys(e).sort().reduce((t,i)=>(t=l(i,t),o(e[i],t)),n);case"string":return l(e,t);case"boolean":return r(e?433:863,t);case"number":return r(e,t);case"undefined":return r(937,t);default:return r(617,t)}}function r(e,t){return(t<<5)-t+e|0}function l(e,t){t=r(149417,t);for(let i=0,n=e.length;i>>n)>>>0}function d(e,t=0,i=e.byteLength,n=0){for(let s=0;se.toString(16).padStart(2,"0")).join(""):function(e,t,i="0"){for(;e.length>>0).toString(16),t/4)}class u{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,i;let s=e.length;if(0===s)return;let o=this._buff,r=this._buffLen,l=this._leftoverHighSurrogate;for(0!==l?(t=l,i=-1,l=0):(t=e.charCodeAt(0),i=0);;){let a=t;if(n.ZG(t)){if(i+1>>6,e[t++]=128|(63&i)>>>0):i<65536?(e[t++]=224|(61440&i)>>>12,e[t++]=128|(4032&i)>>>6,e[t++]=128|(63&i)>>>0):(e[t++]=240|(1835008&i)>>>18,e[t++]=128|(258048&i)>>>12,e[t++]=128|(4032&i)>>>6,e[t++]=128|(63&i)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),h(this._h0)+h(this._h1)+h(this._h2)+h(this._h3)+h(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,d(this._buff,this._buffLen),this._buffLen>56&&(this._step(),d(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){let e,t,i;let n=u._bigBlock32,s=this._buffDV;for(let e=0;e<64;e+=4)n.setUint32(e,s.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)n.setUint32(e,a(n.getUint32(e-12,!1)^n.getUint32(e-32,!1)^n.getUint32(e-56,!1)^n.getUint32(e-64,!1),1),!1);let o=this._h0,r=this._h1,l=this._h2,d=this._h3,h=this._h4;for(let s=0;s<80;s++)s<20?(e=r&l|~r&d,t=1518500249):s<40?(e=r^l^d,t=1859775393):s<60?(e=r&l|r&d|l&d,t=2400959708):(e=r^l^d,t=3395469782),i=a(o,5)+e+h+t+n.getUint32(4*s,!1)&4294967295,h=d,d=l,l=a(r,30),r=o,o=i;this._h0=this._h0+o&4294967295,this._h1=this._h1+r&4294967295,this._h2=this._h2+l&4294967295,this._h3=this._h3+d&4294967295,this._h4=this._h4+h&4294967295}}u._bigBlock32=new DataView(new ArrayBuffer(320))},85373:function(e,t,i){"use strict";i.d(t,{o:function(){return n}});class n{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||""===this.value||e.value.startsWith(this.value+n.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(...e){return new n((this.value?[this.value,...e]:e).join(n.sep))}}n.sep=".",n.None=new n("@@none@@"),n.Empty=new n("")},59365:function(e,t,i){"use strict";i.d(t,{CP:function(){return d},Fr:function(){return h},W5:function(){return a},d9:function(){return c},g_:function(){return u},oR:function(){return g},v1:function(){return p}});var n=i(17301),s=i(21212),o=i(95935),r=i(97295),l=i(70666);class a{constructor(e="",t=!1){var i,s,o;if(this.value=e,"string"!=typeof this.value)throw(0,n.b1)("value");"boolean"==typeof t?(this.isTrusted=t,this.supportThemeIcons=!1,this.supportHtml=!1):(this.isTrusted=null!==(i=t.isTrusted)&&void 0!==i?i:void 0,this.supportThemeIcons=null!==(s=t.supportThemeIcons)&&void 0!==s&&s,this.supportHtml=null!==(o=t.supportHtml)&&void 0!==o&&o)}appendText(e,t=0){return this.value+=(this.supportThemeIcons?(0,s.Qo)(e):e).replace(/[\\`*_{}[\]()#+\-!~]/g,"\\$&").replace(/([ \t]+)/g,(e,t)=>" ".repeat(t.length)).replace(/\>/gm,"\\>").replace(/\n/g,1===t?"\\\n":"\n\n"),this}appendMarkdown(e){return this.value+=e,this}appendCodeblock(e,t){return this.value+=` -${function(e,t){var i,n;let s=null!==(n=null===(i=e.match(/^`+/gm))||void 0===i?void 0:i.reduce((e,t)=>e.length>t.length?e:t).length)&&void 0!==n?n:0,o=s>=3?s+1:3;return[`${"`".repeat(o)}${t}`,e,`${"`".repeat(o)}`].join("\n")}(t,e)} -`,this}appendLink(e,t,i){return this.value+="[",this.value+=this._escape(t,"]"),this.value+="](",this.value+=this._escape(String(e),")"),i&&(this.value+=` "${this._escape(this._escape(i,'"'),")")}"`),this.value+=")",this}_escape(e,t){let i=RegExp((0,r.ec)(t),"g");return e.replace(i,(t,i)=>"\\"!==e.charAt(i-1)?`\\${t}`:t)}}function d(e){return h(e)?!e.value:!Array.isArray(e)||e.every(d)}function h(e){return e instanceof a||!!e&&"object"==typeof e&&"string"==typeof e.value&&("boolean"==typeof e.isTrusted||"object"==typeof e.isTrusted||void 0===e.isTrusted)&&("boolean"==typeof e.supportThemeIcons||void 0===e.supportThemeIcons)}function u(e,t){return e===t||!!e&&!!t&&e.value===t.value&&e.isTrusted===t.isTrusted&&e.supportThemeIcons===t.supportThemeIcons&&e.supportHtml===t.supportHtml&&(e.baseUri===t.baseUri||!!e.baseUri&&!!t.baseUri&&(0,o.Xy)(l.o.from(e.baseUri),l.o.from(t.baseUri)))}function c(e){return e.replace(/"/g,""")}function g(e){return e?e.replace(/\\([\\`*_{}[\]()#+\-.!~])/g,"$1"):e}function p(e){let t=[],i=e.split("|").map(e=>e.trim());e=i[0];let n=i[1];if(n){let e=/height=(\d+)/.exec(n),i=/width=(\d+)/.exec(n),s=e?e[1]:"",o=i?i[1]:"",r=isFinite(parseInt(o)),l=isFinite(parseInt(s));r&&t.push(`width="${o}"`),l&&t.push(`height="${s}"`)}return{href:e,dimensions:t}}},21212:function(e,t,i){"use strict";i.d(t,{Gt:function(){return f},Ho:function(){return m},JL:function(){return g},Qo:function(){return a},f$:function(){return h},x$:function(){return c}});var n=i(60075),s=i(97295),o=i(25670);let r=RegExp(`\\$\\(${o.k.iconNameExpression}(?:${o.k.iconModifierExpression})?\\)`,"g"),l=RegExp(`(\\\\)?${r.source}`,"g");function a(e){return e.replace(l,(e,t)=>t?e:`\\${e}`)}let d=RegExp(`\\\\${r.source}`,"g");function h(e){return e.replace(d,e=>`\\${e}`)}let u=RegExp(`(\\s)?(\\\\)?${r.source}(\\s)?`,"g");function c(e){return -1===e.indexOf("$(")?e:e.replace(u,(e,t,i,n)=>i?e:t||n||"")}function g(e){return e?e.replace(/\$\((.*?)\)/g,(e,t)=>` ${t} `).trim():""}let p=RegExp(`\\$\\(${o.k.iconNameCharacter}+\\)`,"g");function m(e){p.lastIndex=0;let t="",i=[],n=0;for(;;){let s=p.lastIndex,o=p.exec(e),r=e.substring(s,null==o?void 0:o.index);if(r.length>0){t+=r;for(let e=0;e=0;t--)yield e[t]},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(let i of e)if(t(i))return!0;return!1},e.find=function(e,t){for(let i of e)if(t(i))return i},e.filter=function*(e,t){for(let i of e)t(i)&&(yield i)},e.map=function*(e,t){let i=0;for(let n of e)yield t(n,i++)},e.concat=function*(...e){for(let t of e)yield*t},e.reduce=function(e,t,i){let n=i;for(let i of e)n=t(n,i);return n},e.slice=function*(e,t,i=e.length){for(t<0&&(t+=e.length),i<0?i+=e.length:i>e.length&&(i=e.length);ts}]},e.asyncToArray=s}(n||(n={}))},22258:function(e,t,i){"use strict";var n,s;i.d(t,{H_:function(){return d},Vd:function(){return p},gx:function(){return f},kL:function(){return n}});class o{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}let r=new o,l=new o,a=new o,d=Array(230),h={},u=[],c=Object.create(null),g=Object.create(null),p=[],m=[];for(let e=0;e<=193;e++)p[e]=-1;for(let e=0;e<=132;e++)m[e]=-1;function f(e,t){return(e|(65535&t)<<16>>>0)>>>0}!function(){let e=[],t=[];for(let i of[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]]){let[n,s,o,f,_,v,b,C,w]=i;if(!t[s]&&(t[s]=!0,u[s]=o,c[o]=s,g[o.toLowerCase()]=s,n&&(p[s]=f,0!==f&&3!==f&&5!==f&&4!==f&&6!==f&&57!==f&&(m[f]=s))),!e[f]){if(e[f]=!0,!_)throw Error(`String representation missing for key code ${f} around scan code ${o}`);r.define(f,_),l.define(f,C||_),a.define(f,w||C||_)}v&&(d[v]=f),b&&(h[b]=f)}m[3]=46}(),(s=n||(n={})).toString=function(e){return r.keyCodeToStr(e)},s.fromString=function(e){return r.strToKeyCode(e)},s.toUserSettingsUS=function(e){return l.keyCodeToStr(e)},s.toUserSettingsGeneral=function(e){return a.keyCodeToStr(e)},s.fromUserSettings=function(e){return l.strToKeyCode(e)||a.strToKeyCode(e)},s.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return r.keyCodeToStr(e)}},8030:function(e,t,i){"use strict";i.d(t,{X4:function(){return r},jC:function(){return l},r6:function(){return a},xo:function(){return o}});var n=i(63580);class s{constructor(e,t,i=t){this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=t,this.modifierLabels[3]=i}toLabel(e,t,i){if(0===t.length)return null;let n=[];for(let s=0,o=t.length;s>>0,n=(4294901760&e)>>>16;return new l(0!==n?[o(i,t),o(n,t)]:[o(i,t)])}{let i=[];for(let n=0;n1)throw AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function u(...e){let t=c(()=>h(e));return t}function c(e){let t={dispose:(0,n.M)(()=>{e()})};return t}class g{constructor(){var e;this._toDispose=new Set,this._isDisposed=!1,e=this}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{h(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw Error("Cannot register a disposable on itself!");return this._isDisposed?g.DISABLE_DISPOSED_WARNING||console.warn(Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}deleteAndLeak(e){e&&this._toDispose.has(e)&&this._toDispose.delete(e)}}g.DISABLE_DISPOSED_WARNING=!1;class p{constructor(){var e;this._store=new g,e=this,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw Error("Cannot register a disposable on itself!");return this._store.add(e)}}p.None=Object.freeze({dispose(){}});class m{constructor(){var e;this._isDisposed=!1,e=this}get value(){return this._isDisposed?void 0:this._value}set value(e){var t;this._isDisposed||e===this._value||(null===(t=this._value)||void 0===t||t.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,null===(e=this._value)||void 0===e||e.dispose(),this._value=void 0}}class f{constructor(e){this._disposable=e,this._counter=1}acquire(){return this._counter++,this}release(){return 0==--this._counter&&this._disposable.dispose(),this}}class _{constructor(e){this.object=e}dispose(){}}class v{constructor(){var e;this._store=new Map,this._isDisposed=!1,e=this}dispose(){this._isDisposed=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this._store.size)try{h(this._store.values())}finally{this._store.clear()}}get(e){return this._store.get(e)}set(e,t,i=!1){var n;this._isDisposed&&console.warn(Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),i||null===(n=this._store.get(e))||void 0===n||n.dispose(),this._store.set(e,t)}deleteAndDispose(e){var t;null===(t=this._store.get(e))||void 0===t||t.dispose(),this._store.delete(e)}[Symbol.iterator](){return this._store[Symbol.iterator]()}}},91741:function(e,t,i){"use strict";i.d(t,{S:function(){return s}});class n{constructor(e){this.element=e,this.next=n.Undefined,this.prev=n.Undefined}}n.Undefined=new n(void 0);class s{constructor(){this._first=n.Undefined,this._last=n.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===n.Undefined}clear(){let e=this._first;for(;e!==n.Undefined;){let t=e.next;e.prev=n.Undefined,e.next=n.Undefined,e=t}this._first=n.Undefined,this._last=n.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let i=new n(e);if(this._first===n.Undefined)this._first=i,this._last=i;else if(t){let e=this._last;this._last=i,i.prev=e,e.next=i}else{let e=this._first;this._first=i,i.next=e,e.prev=i}this._size+=1;let s=!1;return()=>{s||(s=!0,this._remove(i))}}shift(){if(this._first!==n.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==n.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==n.Undefined&&e.next!==n.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===n.Undefined&&e.next===n.Undefined?(this._first=n.Undefined,this._last=n.Undefined):e.next===n.Undefined?(this._last=this._last.prev,this._last.next=n.Undefined):e.prev===n.Undefined&&(this._first=this._first.next,this._first.prev=n.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==n.Undefined;)yield e.element,e=e.next}}},43702:function(e,t,i){"use strict";var n,s;i.d(t,{Y9:function(){return r},YQ:function(){return h},ri:function(){return u},z6:function(){return d}});class o{constructor(e,t){this.uri=e,this.value=t}}class r{constructor(e,t){if(this[n]="ResourceMap",e instanceof r)this.map=new Map(e.map),this.toKey=null!=t?t:r.defaultToKey;else if(Array.isArray(e))for(let[i,n]of(this.map=new Map,this.toKey=null!=t?t:r.defaultToKey,e))this.set(i,n);else this.map=new Map,this.toKey=null!=e?e:r.defaultToKey}set(e,t){return this.map.set(this.toKey(e),new o(e,t)),this}get(e){var t;return null===(t=this.map.get(this.toKey(e)))||void 0===t?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){for(let[i,n]of(void 0!==t&&(e=e.bind(t)),this.map))e(n.value,n.uri,this)}*values(){for(let e of this.map.values())yield e.value}*keys(){for(let e of this.map.values())yield e.uri}*entries(){for(let e of this.map.values())yield[e.uri,e.value]}*[(n=Symbol.toStringTag,Symbol.iterator)](){for(let[,e]of this.map)yield[e.uri,e.value]}}r.defaultToKey=e=>e.toString();class l{constructor(){this[s]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return null===(e=this._head)||void 0===e?void 0:e.value}get last(){var e;return null===(e=this._tail)||void 0===e?void 0:e.value}has(e){return this._map.has(e)}get(e,t=0){let i=this._map.get(e);if(i)return 0!==t&&this.touch(i,t),i.value}set(e,t,i=0){let n=this._map.get(e);if(n)n.value=t,0!==i&&this.touch(n,i);else{switch(n={key:e,value:t,next:void 0,previous:void 0},i){case 0:case 2:default:this.addItemLast(n);break;case 1:this.addItemFirst(n)}this._map.set(e,n),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw Error("Invalid list");let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){let i=this._state,n=this._head;for(;n;){if(t?e.bind(t)(n.value,n.key,this):e(n.value,n.key,this),this._state!==i)throw Error("LinkedMap got modified during iteration.");n=n.next}}keys(){let e=this,t=this._state,i=this._head,n={[Symbol.iterator]:()=>n,next(){if(e._state!==t)throw Error("LinkedMap got modified during iteration.");if(!i)return{value:void 0,done:!0};{let e={value:i.key,done:!1};return i=i.next,e}}};return n}values(){let e=this,t=this._state,i=this._head,n={[Symbol.iterator]:()=>n,next(){if(e._state!==t)throw Error("LinkedMap got modified during iteration.");if(!i)return{value:void 0,done:!0};{let e={value:i.value,done:!1};return i=i.next,e}}};return n}entries(){let e=this,t=this._state,i=this._head,n={[Symbol.iterator]:()=>n,next(){if(e._state!==t)throw Error("LinkedMap got modified during iteration.");if(!i)return{value:void 0,done:!0};{let e={value:[i.key,i.value],done:!1};return i=i.next,e}}};return n}[(s=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(0===e){this.clear();return}let t=this._head,i=this.size;for(;t&&i>e;)this._map.delete(t.key),t=t.next,i--;this._head=t,this._size=i,t&&(t.previous=void 0),this._state++}trimNew(e){if(e>=this.size)return;if(0===e){this.clear();return}let t=this._tail,i=this.size;for(;t&&i>e;)this._map.delete(t.key),t=t.previous,i--;this._tail=t,this._size=i,t&&(t.next=void 0),this._state++}addItemFirst(e){if(this._head||this._tail){if(this._head)e.next=this._head,this._head.previous=e;else throw Error("Invalid list")}else this._tail=e;this._head=e,this._state++}addItemLast(e){if(this._head||this._tail){if(this._tail)e.previous=this._tail,this._tail.next=e;else throw Error("Invalid list")}else this._head=e;this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{let t=e.next,i=e.previous;if(!t||!i)throw Error("Invalid list");t.previous=i,i.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw Error("Invalid list");if(1===t||2===t){if(1===t){if(e===this._head)return;let t=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(t.previous=i,i.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(2===t){if(e===this._tail)return;let t=e.next,i=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=i,i.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((t,i)=>{e.push([i,t])}),e}fromJSON(e){for(let[t,i]of(this.clear(),e))this.set(t,i)}}class a extends l{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,t=2){return super.get(e,t)}peek(e){return super.get(e,0)}set(e,t){return super.set(e,t,2),this}checkTrim(){this.size>this._limit&&this.trim(Math.round(this._limit*this._ratio))}}class d extends a{constructor(e,t=1){super(e,t)}trim(e){this.trimOld(e)}set(e,t){return super.set(e,t),this.checkTrim(),this}}class h{constructor(e){if(this._m1=new Map,this._m2=new Map,e)for(let[t,i]of e)this.set(t,i)}clear(){this._m1.clear(),this._m2.clear()}set(e,t){this._m1.set(e,t),this._m2.set(t,e)}get(e){return this._m1.get(e)}getKey(e){return this._m2.get(e)}delete(e){let t=this._m1.get(e);return void 0!==t&&(this._m1.delete(e),this._m2.delete(t),!0)}keys(){return this._m1.keys()}values(){return this._m1.values()}}class u{constructor(){this.map=new Map}add(e,t){let i=this.map.get(e);i||(i=new Set,this.map.set(e,i)),i.add(t)}delete(e,t){let i=this.map.get(e);i&&(i.delete(t),0===i.size&&this.map.delete(e))}forEach(e,t){let i=this.map.get(e);i&&i.forEach(t)}get(e){let t=this.map.get(e);return t||new Set}}},23897:function(e,t,i){"use strict";i.d(t,{Pz:function(){return o},Qc:function(){return r}});var n=i(53060),s=i(70666);function o(e){return JSON.stringify(e,l)}function r(e){return function e(t,i=0){if(!t||i>200)return t;if("object"==typeof t){switch(t.$mid){case 1:return s.o.revive(t);case 2:return new RegExp(t.source,t.flags);case 17:return new Date(t.source)}if(t instanceof n.KN||t instanceof Uint8Array)return t;if(Array.isArray(t))for(let n=0;nu(e,t))}(n=s||(s={})).inMemory="inmemory",n.vscode="vscode",n.internal="private",n.walkThrough="walkThrough",n.walkThroughSnippet="walkThroughSnippet",n.http="http",n.https="https",n.file="file",n.mailto="mailto",n.untitled="untitled",n.data="data",n.command="command",n.vscodeRemote="vscode-remote",n.vscodeRemoteResource="vscode-remote-resource",n.vscodeManagedRemoteResource="vscode-managed-remote-resource",n.vscodeUserData="vscode-userdata",n.vscodeCustomEditor="vscode-custom-editor",n.vscodeNotebookCell="vscode-notebook-cell",n.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",n.vscodeNotebookCellOutput="vscode-notebook-cell-output",n.vscodeInteractiveInput="vscode-interactive-input",n.vscodeSettings="vscode-settings",n.vscodeWorkspaceTrust="vscode-workspace-trust",n.vscodeTerminal="vscode-terminal",n.vscodeChatCodeBlock="vscode-chat-code-block",n.vscodeCopilotBackingChatCodeBlock="vscode-copilot-chat-code-block",n.vscodeChatCodeCompareBlock="vscode-chat-code-compare-block",n.vscodeChatSesssion="vscode-chat-editor",n.webviewPanel="webview-panel",n.vscodeWebview="vscode-webview",n.extension="extension",n.vscodeFileResource="vscode-file",n.tmp="tmp",n.vsls="vsls",n.vscodeSourceControl="vscode-scm",n.commentsInput="comment",n.codeSetting="code-setting";let g=new class{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null,this._serverRootPath="/"}setPreferredWebSchema(e){this._preferredWebSchema=e}get _remoteResourcesPath(){return h.KR.join(this._serverRootPath,s.vscodeRemoteResource)}rewrite(e){if(this._delegate)try{return this._delegate(e)}catch(t){return r.dL(t),e}let t=e.authority,i=this._hosts[t];i&&-1!==i.indexOf(":")&&-1===i.indexOf("[")&&(i=`[${i}]`);let n=this._ports[t],o=this._connectionTokens[t],a=`path=${encodeURIComponent(e.path)}`;return"string"==typeof o&&(a+=`&tkn=${encodeURIComponent(o)}`),d.o.from({scheme:l.$L?this._preferredWebSchema:s.vscodeRemoteResource,authority:`${i}:${n}`,path:this._remoteResourcesPath,query:a})}};class p{uriToBrowserUri(e){return e.scheme===s.vscodeRemote?g.rewrite(e):e.scheme===s.file&&(l.tY||l.qB===`${s.vscodeFileResource}://${p.FALLBACK_AUTHORITY}`)?e.with({scheme:s.vscodeFileResource,authority:e.authority||p.FALLBACK_AUTHORITY,query:null,fragment:null}):e}}p.FALLBACK_AUTHORITY="vscode-app";let m=new p;!function(e){let t=new Map([["1",{"Cross-Origin-Opener-Policy":"same-origin"}],["2",{"Cross-Origin-Embedder-Policy":"require-corp"}],["3",{"Cross-Origin-Opener-Policy":"same-origin","Cross-Origin-Embedder-Policy":"require-corp"}]]);e.CoopAndCoep=Object.freeze(t.get("3"));let i="vscode-coi";e.getHeadersFromQuery=function(e){let n;"string"==typeof e?n=new URL(e).searchParams:e instanceof URL?n=e.searchParams:d.o.isUri(e)&&(n=new URL(e.toString(!0)).searchParams);let s=null==n?void 0:n.get(i);if(s)return t.get(s)},e.addSearchParam=function(e,t,n){if(!globalThis.crossOriginIsolated)return;let s=t&&n?"3":n?"2":"1";e instanceof URLSearchParams?e.set(i,s):e[i]=s}}(o||(o={}))},59870:function(e,t,i){"use strict";function n(e,t,i){return Math.min(Math.max(e,t),i)}i.d(t,{N:function(){return o},nM:function(){return s},uZ:function(){return n}});class s{constructor(){this._n=1,this._val=0}update(e){return this._val=this._val+(e-this._val)/this._n,this._n+=1,this._val}get value(){return this._val}}class o{constructor(e){this._n=0,this._val=0,this._values=[],this._index=0,this._sum=0,this._values=Array(e),this._values.fill(0,0,e)}update(e){let t=this._values[this._index];return this._values[this._index]=e,this._index=(this._index+1)%this._values.length,this._sum-=t,this._sum+=e,this._n{i[t]=n&&"object"==typeof n?e(n):n}),i}},IU:function(){return a},_A:function(){return s},fS:function(){return function e(t,i){let n,s;if(t===i)return!0;if(null==t||null==i||typeof t!=typeof i||"object"!=typeof t||Array.isArray(t)!==Array.isArray(i))return!1;if(Array.isArray(t)){if(t.length!==i.length)return!1;for(n=0;n{o in t?s&&((0,n.Kn)(t[o])&&(0,n.Kn)(i[o])?e(t[o],i[o],s):t[o]=i[o]):t[o]=i[o]}),t):i}},rs:function(){return r}});var n=i(98401);function s(e){if(!e||"object"!=typeof e)return e;let t=[e];for(;t.length>0;){let e=t.shift();for(let i in Object.freeze(e),e)if(o.call(e,i)){let s=e[i];"object"!=typeof s||Object.isFrozen(s)||(0,n.fU)(s)||t.push(s)}}return e}let o=Object.prototype.hasOwnProperty;function r(e,t){return function e(t,i,s){if((0,n.Jp)(t))return t;let r=i(t);if(void 0!==r)return r;if(Array.isArray(t)){let n=[];for(let o of t)n.push(e(o,i,s));return n}if((0,n.Kn)(t)){if(s.has(t))throw Error("Cannot clone recursive data-structure");s.add(t);let n={};for(let r in t)o.call(t,r)&&(n[r]=e(t[r],i,s));return s.delete(t),n}return t}(e,t,new Set)}function l(e){let t=[];for(let i of function(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}(e))"function"==typeof e[i]&&t.push(i);return t}function a(e,t){let i=e=>function(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},n={};for(let t of e)n[t]=i(t);return n}},39901:function(e,t,i){"use strict";i.d(t,{EH:function(){return d},nJ:function(){return u},UV:function(){return h},gp:function(){return c},Dz:function(){return p.Dz},nK:function(){return s.nK},aK:function(){return s.aK},bx:function(){return p.bx},bk:function(){return s.bk},Be:function(){return s.Be},DN:function(){return n.DN},rD:function(){return p.rD},GN:function(){return p.GN},aq:function(){return p.aq},uh:function(){return n.uh},jx:function(){return p.DN},c8:function(){return n.c8},PS:function(){return n.PS},F_:function(){return f}});var n=i(96512),s=i(54282),o=i(35146),r=i(5976),l=i(66248),a=i(121);function d(e){return new g(new l.IZ(void 0,void 0,e),e,void 0,void 0)}function h(e,t){var i;return new g(new l.IZ(e.owner,e.debugName,null!==(i=e.debugReferenceFn)&&void 0!==i?i:t),t,void 0,void 0)}function u(e,t){var i;return new g(new l.IZ(e.owner,e.debugName,null!==(i=e.debugReferenceFn)&&void 0!==i?i:t),t,e.createEmptyChangeSummary,e.handleChange)}function c(e){let t=new r.SL,i=h({owner:void 0,debugName:void 0,debugReferenceFn:e},i=>{t.clear(),e(i,t)});return(0,r.OF)(()=>{i.dispose(),t.dispose()})}class g{get debugName(){var e;return null!==(e=this._debugNameData.getDebugName(this))&&void 0!==e?e:"(anonymous)"}constructor(e,t,i,n){var s,o;this._debugNameData=e,this._runFn=t,this.createChangeSummary=i,this._handleChange=n,this.state=2,this.updateCount=0,this.disposed=!1,this.dependencies=new Set,this.dependenciesToBeRemoved=new Set,this.changeSummary=null===(s=this.createChangeSummary)||void 0===s?void 0:s.call(this),null===(o=(0,a.jl)())||void 0===o||o.handleAutorunCreated(this),this._runIfNeeded(),(0,r.wi)(this)}dispose(){for(let e of(this.disposed=!0,this.dependencies))e.removeObserver(this);this.dependencies.clear(),(0,r.Nq)(this)}_runIfNeeded(){var e,t,i;if(3===this.state)return;let n=this.dependenciesToBeRemoved;this.dependenciesToBeRemoved=this.dependencies,this.dependencies=n,this.state=3;let s=this.disposed;try{if(!s){null===(e=(0,a.jl)())||void 0===e||e.handleAutorunTriggered(this);let i=this.changeSummary;this.changeSummary=null===(t=this.createChangeSummary)||void 0===t?void 0:t.call(this),this._runFn(this,i)}}finally{for(let e of(s||null===(i=(0,a.jl)())||void 0===i||i.handleAutorunFinished(this),this.dependenciesToBeRemoved))e.removeObserver(this);this.dependenciesToBeRemoved.clear()}}toString(){return`Autorun<${this.debugName}>`}beginUpdate(){3===this.state&&(this.state=1),this.updateCount++}endUpdate(){if(1===this.updateCount)do{if(1===this.state){for(let e of(this.state=3,this.dependencies))if(e.reportChanges(),2===this.state)break}this._runIfNeeded()}while(3!==this.state);this.updateCount--,(0,o.eZ)(()=>this.updateCount>=0)}handlePossibleChange(e){3===this.state&&this.dependencies.has(e)&&!this.dependenciesToBeRemoved.has(e)&&(this.state=1)}handleChange(e,t){if(this.dependencies.has(e)&&!this.dependenciesToBeRemoved.has(e)){let i=!this._handleChange||this._handleChange({changedObservable:e,change:t,didChange:t=>t===e},this.changeSummary);i&&(this.state=2)}}readObservable(e){if(this.disposed)return e.get();e.addObserver(this);let t=e.get();return this.dependencies.add(e),this.dependenciesToBeRemoved.delete(e),t}}(d||(d={})).Observer=g;var p=i(86367),m=i(17301);function f(e,t,i,n){return t||(t=e=>null!=e),new Promise((s,o)=>{let r=!0,l=!1,a=e.map(e=>({isFinished:t(e),error:!!i&&i(e),state:e})),h=d(e=>{let{isFinished:t,error:i,state:n}=a.read(e);(t||i)&&(r?l=!0:h.dispose(),i?o(!0===i?n:i):s(n))});if(n){let e=n.onCancellationRequested(()=>{h.dispose(),e.dispose(),o(new m.FU)});if(n.isCancellationRequested){h.dispose(),e.dispose(),o(new m.FU);return}}r=!1,l&&h.dispose()})}},96512:function(e,t,i){"use strict";let n,s,o;i.d(t,{Bl:function(){return m},DN:function(){return y},Hr:function(){return f},Jn:function(){return h},Ku:function(){return C},MK:function(){return d},Nc:function(){return c},PS:function(){return p},c8:function(){return _},hm:function(){return g},mT:function(){return u},uh:function(){return b}});var r=i(69103),l=i(66248),a=i(121);function d(e){n=e}function h(e){}function u(e){s=e}class c{get TChange(){return null}reportChanges(){this.get()}read(e){return e?e.readObservable(this):this.get()}map(e,t){let i=void 0===t?void 0:e,n=void 0===t?e:t;return s({owner:i,debugName:()=>{let e=(0,l.$P)(n);if(void 0!==e)return e;let t=/^\s*\(?\s*([a-zA-Z_$][a-zA-Z_$0-9]*)\s*\)?\s*=>\s*\1(?:\??)\.([a-zA-Z_$][a-zA-Z_$0-9]*)\s*$/.exec(n.toString());return t?`${this.debugName}.${t[2]}`:i?void 0:`${this.debugName} (mapped)`},debugReferenceFn:n},e=>n(this.read(e),e))}recomputeInitiallyAndOnChange(e,t){return e.add(n(this,t)),this}}class g extends c{constructor(){super(...arguments),this.observers=new Set}addObserver(e){let t=this.observers.size;this.observers.add(e),0===t&&this.onFirstObserverAdded()}removeObserver(e){let t=this.observers.delete(e);t&&0===this.observers.size&&this.onLastObserverRemoved()}onFirstObserverAdded(){}onLastObserverRemoved(){}}function p(e,t){let i=new v(e,t);try{e(i)}finally{i.finish()}}function m(e){if(o)e(o);else{let t=new v(e,void 0);o=t;try{e(t)}finally{t.finish(),o=void 0}}}async function f(e,t){let i=new v(e,t);try{await e(i)}finally{i.finish()}}function _(e,t,i){e?t(e):p(t,i)}class v{constructor(e,t){var i;this._fn=e,this._getDebugName=t,this.updatingObservers=[],null===(i=(0,a.jl)())||void 0===i||i.handleBeginTransaction(this)}getDebugName(){return this._getDebugName?this._getDebugName():(0,l.$P)(this._fn)}updateObserver(e,t){this.updatingObservers.push({observer:e,observable:t}),e.beginUpdate(t)}finish(){var e;let t=this.updatingObservers;for(let e=0;e{},()=>`Setting ${this.debugName}`));try{let s=this._value;for(let o of(this._setValue(e),null===(n=(0,a.jl)())||void 0===n||n.handleObservableChanged(this,{oldValue:s,newValue:e,change:i,didChange:!0,hadValue:!0}),this.observers))t.updateObserver(o,this),o.handleChange(this,i)}finally{s&&s.finish()}}}toString(){return`${this.debugName}: ${this._value}`}_setValue(e){this._value=e}}function y(e,t){let i;return i="string"==typeof e?new l.IZ(void 0,e,void 0):new l.IZ(e,void 0,void 0),new S(i,t,r.ht)}class S extends w{_setValue(e){this._value!==e&&(this._value&&this._value.dispose(),this._value=e)}dispose(){var e;null===(e=this._value)||void 0===e||e.dispose()}}},66248:function(e,t,i){"use strict";i.d(t,{$P:function(){return a},IZ:function(){return n}});class n{constructor(e,t,i){this.owner=e,this.debugNameSource=t,this.referenceFn=i}getDebugName(e){return function(e,t){var i;let n=o.get(e);if(n)return n;let d=function(e,t){let i;let n=o.get(e);if(n)return n;let s=t.owner?function(e){var t;let i=l.get(e);if(i)return i;let n=function(e){let t=e.constructor;return t?t.name:"Object"}(e),s=null!==(t=r.get(n))&&void 0!==t?t:0;s++,r.set(n,s);let o=1===s?n:`${n}#${s}`;return l.set(e,o),o}(t.owner)+".":"",d=t.debugNameSource;if(void 0!==d){if("function"!=typeof d)return s+d;if(void 0!==(i=d()))return s+i}let h=t.referenceFn;if(void 0!==h&&void 0!==(i=a(h)))return s+i;if(void 0!==t.owner){let i=function(e,t){for(let i in e)if(e[i]===t)return i}(t.owner,e);if(void 0!==i)return s+i}}(e,t);if(d){let t=null!==(i=s.get(d))&&void 0!==i?i:0;t++,s.set(d,t);let n=1===t?d:`${d}#${t}`;return o.set(e,n),n}}(e,this)}}let s=new Map,o=new WeakMap,r=new Map,l=new WeakMap;function a(e){let t=e.toString(),i=/\/\*\*\s*@description\s*([^*]*)\*\//.exec(t),n=i?i[1]:void 0;return null==n?void 0:n.trim()}},54282:function(e,t,i){"use strict";i.d(t,{B5:function(){return h},Be:function(){return g},aK:function(){return c},bk:function(){return u},kA:function(){return p},nK:function(){return d}});var n=i(35146),s=i(69103),o=i(5976),r=i(96512),l=i(66248),a=i(121);function d(e,t){return void 0!==t?new m(new l.IZ(e,void 0,t),t,void 0,void 0,void 0,s.ht):new m(new l.IZ(void 0,void 0,e),e,void 0,void 0,void 0,s.ht)}function h(e,t,i){return new f(new l.IZ(e,void 0,t),t,void 0,void 0,void 0,s.ht,i)}function u(e,t){var i;return new m(new l.IZ(e.owner,e.debugName,e.debugReferenceFn),t,void 0,void 0,e.onLastObserverRemoved,null!==(i=e.equalsFn)&&void 0!==i?i:s.ht)}function c(e,t){var i;return new m(new l.IZ(e.owner,e.debugName,void 0),t,e.createEmptyChangeSummary,e.handleChange,void 0,null!==(i=e.equalityComparer)&&void 0!==i?i:s.ht)}function g(e,t){let i,n;void 0===t?(i=e,n=void 0):(n=e,i=t);let r=new o.SL;return new m(new l.IZ(n,void 0,i),e=>(r.clear(),i(e,r)),void 0,void 0,()=>r.dispose(),s.ht)}function p(e,t){let i,n;void 0===t?(i=e,n=void 0):(n=e,i=t);let r=new o.SL;return new m(new l.IZ(n,void 0,i),e=>{r.clear();let t=i(e);return t&&r.add(t),t},void 0,void 0,()=>r.dispose(),s.ht)}(0,r.mT)(u);class m extends r.hm{get debugName(){var e;return null!==(e=this._debugNameData.getDebugName(this))&&void 0!==e?e:"(anonymous)"}constructor(e,t,i,n,s,o){var r,l;super(),this._debugNameData=e,this._computeFn=t,this.createChangeSummary=i,this._handleChange=n,this._handleLastObserverRemoved=s,this._equalityComparator=o,this.state=0,this.value=void 0,this.updateCount=0,this.dependencies=new Set,this.dependenciesToBeRemoved=new Set,this.changeSummary=void 0,this.changeSummary=null===(r=this.createChangeSummary)||void 0===r?void 0:r.call(this),null===(l=(0,a.jl)())||void 0===l||l.handleDerivedCreated(this)}onLastObserverRemoved(){var e;for(let e of(this.state=0,this.value=void 0,this.dependencies))e.removeObserver(this);this.dependencies.clear(),null===(e=this._handleLastObserverRemoved)||void 0===e||e.call(this)}get(){var e;if(0===this.observers.size){let t=this._computeFn(this,null===(e=this.createChangeSummary)||void 0===e?void 0:e.call(this));return this.onLastObserverRemoved(),t}do{if(1===this.state){for(let e of this.dependencies)if(e.reportChanges(),2===this.state)break}1===this.state&&(this.state=3),this._recomputeIfNeeded()}while(3!==this.state);return this.value}_recomputeIfNeeded(){var e,t;if(3===this.state)return;let i=this.dependenciesToBeRemoved;this.dependenciesToBeRemoved=this.dependencies,this.dependencies=i;let n=0!==this.state,s=this.value;this.state=3;let o=this.changeSummary;this.changeSummary=null===(e=this.createChangeSummary)||void 0===e?void 0:e.call(this);try{this.value=this._computeFn(this,o)}finally{for(let e of this.dependenciesToBeRemoved)e.removeObserver(this);this.dependenciesToBeRemoved.clear()}let r=n&&!this._equalityComparator(s,this.value);if(null===(t=(0,a.jl)())||void 0===t||t.handleDerivedRecomputed(this,{oldValue:s,newValue:this.value,change:void 0,didChange:r,hadValue:n}),r)for(let e of this.observers)e.handleChange(this,void 0)}toString(){return`LazyDerived<${this.debugName}>`}beginUpdate(e){this.updateCount++;let t=1===this.updateCount;if(3===this.state&&(this.state=1,!t))for(let e of this.observers)e.handlePossibleChange(this);if(t)for(let e of this.observers)e.beginUpdate(this)}endUpdate(e){if(this.updateCount--,0===this.updateCount){let e=[...this.observers];for(let t of e)t.endUpdate(this)}(0,n.eZ)(()=>this.updateCount>=0)}handlePossibleChange(e){if(3===this.state&&this.dependencies.has(e)&&!this.dependenciesToBeRemoved.has(e))for(let e of(this.state=1,this.observers))e.handlePossibleChange(this)}handleChange(e,t){if(this.dependencies.has(e)&&!this.dependenciesToBeRemoved.has(e)){let i=!this._handleChange||this._handleChange({changedObservable:e,change:t,didChange:t=>t===e},this.changeSummary),n=3===this.state;if(i&&(1===this.state||n)&&(this.state=2,n))for(let e of this.observers)e.handlePossibleChange(this)}}readObservable(e){e.addObserver(this);let t=e.get();return this.dependencies.add(e),this.dependenciesToBeRemoved.delete(e),t}addObserver(e){let t=!this.observers.has(e)&&this.updateCount>0;super.addObserver(e),t&&e.beginUpdate(this)}removeObserver(e){let t=this.observers.has(e)&&this.updateCount>0;super.removeObserver(e),t&&e.endUpdate(this)}}class f extends m{constructor(e,t,i,n,s,o,r){super(e,t,i,n,s,o),this.set=r}}},121:function(e,t,i){"use strict";let n;function s(e){n=e}function o(){return n}i.d(t,{EK:function(){return s},Qy:function(){return r},jl:function(){return o}});class r{constructor(){this.indentation=0,this.changedObservablesSets=new WeakMap}textToConsoleArgs(e){return function(e){let t=[],i=[],n="";!function e(s){if("length"in s)for(let t of s)t&&e(t);else"text"in s?(n+=`%c${s.text}`,t.push(s.style),s.data&&i.push(...s.data)):"data"in s&&i.push(...s.data)}(e);let s=[n,...t];return s.push(...i),s}([l(function(e,t){let i="";for(let e=1;e<=t;e++)i+="| ";return i}(0,this.indentation)),e])}formatInfo(e){return e.hadValue?e.didChange?[l(" "),d(h(e.oldValue,70),{color:"red",strikeThrough:!0}),l(" "),d(h(e.newValue,60),{color:"green"})]:[l(" (unchanged)")]:[l(" "),d(h(e.newValue,60),{color:"green"}),l(" (initial)")]}handleObservableChanged(e,t){console.log(...this.textToConsoleArgs([a("observable value changed"),d(e.debugName,{color:"BlueViolet"}),...this.formatInfo(t)]))}formatChanges(e){if(0!==e.size)return d(" (changed deps: "+[...e].map(e=>e.debugName).join(", ")+")",{color:"gray"})}handleDerivedCreated(e){let t=e.handleChange;this.changedObservablesSets.set(e,new Set),e.handleChange=(i,n)=>(this.changedObservablesSets.get(e).add(i),t.apply(e,[i,n]))}handleDerivedRecomputed(e,t){let i=this.changedObservablesSets.get(e);console.log(...this.textToConsoleArgs([a("derived recomputed"),d(e.debugName,{color:"BlueViolet"}),...this.formatInfo(t),this.formatChanges(i),{data:[{fn:e._computeFn}]}])),i.clear()}handleFromEventObservableTriggered(e,t){console.log(...this.textToConsoleArgs([a("observable from event triggered"),d(e.debugName,{color:"BlueViolet"}),...this.formatInfo(t),{data:[{fn:e._getValue}]}]))}handleAutorunCreated(e){let t=e.handleChange;this.changedObservablesSets.set(e,new Set),e.handleChange=(i,n)=>(this.changedObservablesSets.get(e).add(i),t.apply(e,[i,n]))}handleAutorunTriggered(e){let t=this.changedObservablesSets.get(e);console.log(...this.textToConsoleArgs([a("autorun"),d(e.debugName,{color:"BlueViolet"}),this.formatChanges(t),{data:[{fn:e._runFn}]}])),t.clear(),this.indentation++}handleAutorunFinished(e){this.indentation--}handleBeginTransaction(e){let t=e.getDebugName();void 0===t&&(t=""),console.log(...this.textToConsoleArgs([a("transaction"),d(t,{color:"BlueViolet"}),{data:[{fn:e._fn}]}])),this.indentation++}handleEndTransaction(){this.indentation--}}function l(e){return d(e,{color:"black"})}function a(e){return d(function(e,t){for(;e.length<10;)e+=" ";return e}(`${e}: `,0),{color:"black",bold:!0})}function d(e,t={color:"black"}){let i={color:t.color};return t.strikeThrough&&(i["text-decoration"]="line-through"),t.bold&&(i["font-weight"]="bold"),{text:e,style:Object.entries(i).reduce((e,[t,i])=>`${e}${t}:${i};`,"")}}function h(e,t){switch(typeof e){case"number":default:return""+e;case"string":if(e.length+2<=t)return`"${e}"`;return`"${e.substr(0,t-7)}"+...`;case"boolean":return e?"true":"false";case"undefined":return"undefined";case"object":if(null===e)return"null";if(Array.isArray(e))return function(e,t){let i="[ ",n=!0;for(let s of e){if(n||(i+=", "),i.length-5>t){i+="...";break}n=!1,i+=`${h(s,t-i.length)}`}return i+" ]"}(e,t);return function(e,t){let i="{ ",n=!0;for(let[s,o]of Object.entries(e)){if(n||(i+=", "),i.length-5>t){i+="...";break}n=!1,i+=`${s}: ${h(o,t-i.length)}`}return i+" }"}(e,t);case"symbol":return e.toString();case"function":return`[[Function${e.name?" "+e.name:""}]]`}}},86367:function(e,t,i){"use strict";i.d(t,{DN:function(){return _},Dz:function(){return d},GN:function(){return m},Zg:function(){return C},aq:function(){return g},bx:function(){return b},rD:function(){return u}}),i(4669);var n,s=i(5976),o=i(96512),r=i(66248),l=i(54282),a=i(121);function d(e){return new h(e)}class h extends o.Nc{constructor(e){super(),this.value=e}get debugName(){return this.toString()}get(){return this.value}addObserver(e){}removeObserver(e){}toString(){return`Const: ${this.value}`}}function u(e,t){return new c(e,t)}class c extends o.hm{constructor(e,t){super(),this.event=e,this._getValue=t,this.hasValue=!1,this.handleEvent=e=>{var t;let i=this._getValue(e),n=this.value,s=!this.hasValue||n!==i,r=!1;s&&(this.value=i,this.hasValue&&(r=!0,(0,o.c8)(c.globalTransaction,e=>{var t;for(let o of(null===(t=(0,a.jl)())||void 0===t||t.handleFromEventObservableTriggered(this,{oldValue:n,newValue:i,change:void 0,didChange:s,hadValue:this.hasValue}),this.observers))e.updateObserver(o,this),o.handleChange(this,void 0)},()=>{let e=this.getDebugName();return"Event fired"+(e?`: ${e}`:"")})),this.hasValue=!0),r||null===(t=(0,a.jl)())||void 0===t||t.handleFromEventObservableTriggered(this,{oldValue:n,newValue:i,change:void 0,didChange:s,hadValue:this.hasValue})}}getDebugName(){return(0,r.$P)(this._getValue)}get debugName(){let e=this.getDebugName();return"From Event"+(e?`: ${e}`:"")}onFirstObserverAdded(){this.subscription=this.event(this.handleEvent)}onLastObserverRemoved(){this.subscription.dispose(),this.subscription=void 0,this.hasValue=!1,this.value=void 0}get(){if(this.subscription)return this.hasValue||this.handleEvent(void 0),this.value;{let e=this._getValue(void 0);return e}}}function g(e,t){return new p(e,t)}(n=u||(u={})).Observer=c,n.batchEventsGlobally=function(e,t){let i=!1;void 0===c.globalTransaction&&(c.globalTransaction=e,i=!0);try{t()}finally{i&&(c.globalTransaction=void 0)}};class p extends o.hm{constructor(e,t){super(),this.debugName=e,this.event=t,this.handleEvent=()=>{(0,o.PS)(e=>{for(let t of this.observers)e.updateObserver(t,this),t.handleChange(this,void 0)},()=>this.debugName)}}onFirstObserverAdded(){this.subscription=this.event(this.handleEvent)}onLastObserverRemoved(){this.subscription.dispose(),this.subscription=void 0}get(){}}function m(e){return"string"==typeof e?new f(e):new f(void 0,e)}class f extends o.hm{get debugName(){var e;return null!==(e=new r.IZ(this._owner,this._debugName,void 0).getDebugName(this))&&void 0!==e?e:"Observable Signal"}constructor(e,t){super(),this._debugName=e,this._owner=t}trigger(e,t){if(!e){(0,o.PS)(e=>{this.trigger(e,t)},()=>`Trigger signal ${this.debugName}`);return}for(let i of this.observers)e.updateObserver(i,this),i.handleChange(this,t)}get(){}}function _(e,t){let i=new v(!0,t);return e.addObserver(i),t?t(e.get()):e.reportChanges(),(0,s.OF)(()=>{e.removeObserver(i)})}(0,o.Jn)(function(e){let t=new v(!1,void 0);return e.addObserver(t),(0,s.OF)(()=>{e.removeObserver(t)})}),(0,o.MK)(_);class v{constructor(e,t){this._forceRecompute=e,this._handleValue=t,this._counter=0}beginUpdate(e){this._counter++}endUpdate(e){this._counter--,0===this._counter&&this._forceRecompute&&(this._handleValue?this._handleValue(e.get()):e.reportChanges())}handlePossibleChange(e){}handleChange(e,t){}}function b(e,t){let i;let n=(0,l.nK)(e,e=>i=t(e,i));return n}function C(e,t,i,n){let s=new w(i,n),o=(0,l.bk)({debugReferenceFn:i,owner:e,onLastObserverRemoved:()=>{s.dispose(),s=new w(i)}},e=>(s.setItems(t.read(e)),s.getItems()));return o}class w{constructor(e,t){this._map=e,this._keySelector=t,this._cache=new Map,this._items=[]}dispose(){this._cache.forEach(e=>e.store.dispose()),this._cache.clear()}setItems(e){let t=[],i=new Set(this._cache.keys());for(let n of e){let e=this._keySelector?this._keySelector(n):n,o=this._cache.get(e);if(o)i.delete(e);else{let t=new s.SL,i=this._map(n,t);o={out:i,store:t},this._cache.set(e,o)}t.push(o.out)}for(let e of i){let t=this._cache.get(e);t.store.dispose(),this._cache.delete(e)}this._items=t}getItems(){return this._items}}},82663:function(e,t,i){"use strict";i.d(t,{DB:function(){return f},DZ:function(){return C},EZ:function(){return b},Fv:function(){return m},Gf:function(){return _},KR:function(){return p},Ku:function(){return c},XX:function(){return v},ir:function(){return w}});var n=i(76648);class s extends Error{constructor(e,t,i){let n;"string"==typeof t&&0===t.indexOf("not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let s=-1!==e.indexOf(".")?"property":"argument",o=`The "${e}" ${s} ${n} of type ${t}`;super(o+=`. Received type ${typeof i}`),this.code="ERR_INVALID_ARG_TYPE"}}function o(e,t){if("string"!=typeof e)throw new s(t,"string",e)}let r="win32"===n.Jv;function l(e){return 47===e||92===e}function a(e){return 47===e}function d(e){return e>=65&&e<=90||e>=97&&e<=122}function h(e,t,i,n){let s="",o=0,r=-1,l=0,a=0;for(let d=0;d<=e.length;++d){if(d2){let e=s.lastIndexOf(i);-1===e?(s="",o=0):o=(s=s.slice(0,e)).length-1-s.lastIndexOf(i),r=d,l=0;continue}if(0!==s.length){s="",o=0,r=d,l=0;continue}}t&&(s+=s.length>0?`${i}..`:"..",o=2)}else s.length>0?s+=`${i}${e.slice(r+1,d)}`:s=e.slice(r+1,d),o=d-r-1;r=d,l=0}else 46===a&&-1!==l?++l:l=-1}return s}function u(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new s(t,"Object",e)}(t,"pathObject");let i=t.dir||t.root,n=t.base||`${t.name||""}${t.ext||""}`;return i?i===t.root?`${i}${n}`:`${i}${e}${n}`:n}let c={resolve(...e){let t="",i="",s=!1;for(let r=e.length-1;r>=-1;r--){let a;if(r>=0){if(o(a=e[r],"path"),0===a.length)continue}else 0===t.length?a=n.Vj():(void 0===(a=n.OB[`=${t}`]||n.Vj())||a.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===a.charCodeAt(2))&&(a=`${t}\\`);let h=a.length,u=0,c="",g=!1,p=a.charCodeAt(0);if(1===h)l(p)&&(u=1,g=!0);else if(l(p)){if(g=!0,l(a.charCodeAt(1))){let e=2,t=2;for(;e2&&l(a.charCodeAt(2))&&(g=!0,u=3));if(c.length>0){if(t.length>0){if(c.toLowerCase()!==t.toLowerCase())continue}else t=c}if(s){if(t.length>0)break}else if(i=`${a.slice(u)}\\${i}`,s=g,g&&t.length>0)break}return i=h(i,!s,"\\",l),s?`${t}\\${i}`:`${t}${i}`||"."},normalize(e){let t;o(e,"path");let i=e.length;if(0===i)return".";let n=0,s=!1,r=e.charCodeAt(0);if(1===i)return a(r)?"\\":e;if(l(r)){if(s=!0,l(e.charCodeAt(1))){let s=2,o=2;for(;s2&&l(e.charCodeAt(2))&&(s=!0,n=3));let u=n0&&l(e.charCodeAt(i-1))&&(u+="\\"),void 0===t)?s?`\\${u}`:u:s?`${t}\\${u}`:`${t}${u}`},isAbsolute(e){o(e,"path");let t=e.length;if(0===t)return!1;let i=e.charCodeAt(0);return l(i)||t>2&&d(i)&&58===e.charCodeAt(1)&&l(e.charCodeAt(2))},join(...e){let t,i;if(0===e.length)return".";for(let n=0;n0&&(void 0===t?t=i=s:t+=`\\${s}`)}if(void 0===t)return".";let n=!0,s=0;if("string"==typeof i&&l(i.charCodeAt(0))){++s;let e=i.length;e>1&&l(i.charCodeAt(1))&&(++s,e>2&&(l(i.charCodeAt(2))?++s:n=!1))}if(n){for(;s=2&&(t=`\\${t.slice(s)}`)}return c.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";let i=c.resolve(e),n=c.resolve(t);if(i===n||(e=i.toLowerCase())===(t=n.toLowerCase()))return"";let s=0;for(;ss&&92===e.charCodeAt(r-1);)r--;let l=r-s,a=0;for(;aa&&92===t.charCodeAt(d-1);)d--;let h=d-a,u=lu){if(92===t.charCodeAt(a+p))return n.slice(a+p+1);if(2===p)return n.slice(a+p)}l>u&&(92===e.charCodeAt(s+p)?g=p:2===p&&(g=3)),-1===g&&(g=0)}let m="";for(p=s+g+1;p<=r;++p)(p===r||92===e.charCodeAt(p))&&(m+=0===m.length?"..":"\\..");return(a+=g,m.length>0)?`${m}${n.slice(a,d)}`:(92===n.charCodeAt(a)&&++a,n.slice(a,d))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;let t=c.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){let e=t.charCodeAt(2);if(63!==e&&46!==e)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(d(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return`\\\\?\\${t}`;return e},dirname(e){o(e,"path");let t=e.length;if(0===t)return".";let i=-1,n=0,s=e.charCodeAt(0);if(1===t)return l(s)?e:".";if(l(s)){if(i=n=1,l(e.charCodeAt(1))){let s=2,o=2;for(;s2&&l(e.charCodeAt(2))?3:2);let r=-1,a=!0;for(let i=t-1;i>=n;--i)if(l(e.charCodeAt(i))){if(!a){r=i;break}}else a=!1;if(-1===r){if(-1===i)return".";r=i}return e.slice(0,r)},basename(e,t){let i;void 0!==t&&o(t,"ext"),o(e,"path");let n=0,s=-1,r=!0;if(e.length>=2&&d(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(n=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(i=e.length-1;i>=n;--i){let d=e.charCodeAt(i);if(l(d)){if(!r){n=i+1;break}}else -1===a&&(r=!1,a=i+1),o>=0&&(d===t.charCodeAt(o)?-1==--o&&(s=i):(o=-1,s=a))}return n===s?s=a:-1===s&&(s=e.length),e.slice(n,s)}for(i=e.length-1;i>=n;--i)if(l(e.charCodeAt(i))){if(!r){n=i+1;break}}else -1===s&&(r=!1,s=i+1);return -1===s?"":e.slice(n,s)},extname(e){o(e,"path");let t=0,i=-1,n=0,s=-1,r=!0,a=0;e.length>=2&&58===e.charCodeAt(1)&&d(e.charCodeAt(0))&&(t=n=2);for(let o=e.length-1;o>=t;--o){let t=e.charCodeAt(o);if(l(t)){if(!r){n=o+1;break}continue}-1===s&&(r=!1,s=o+1),46===t?-1===i?i=o:1!==a&&(a=1):-1!==i&&(a=-1)}return -1===i||-1===s||0===a||1===a&&i===s-1&&i===n+1?"":e.slice(i,s)},format:u.bind(null,"\\"),parse(e){o(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;let i=e.length,n=0,s=e.charCodeAt(0);if(1===i)return l(s)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(l(s)){if(n=1,l(e.charCodeAt(1))){let t=2,s=2;for(;t0&&(t.root=e.slice(0,n));let r=-1,a=n,h=-1,u=!0,c=e.length-1,g=0;for(;c>=n;--c){if(l(s=e.charCodeAt(c))){if(!u){a=c+1;break}continue}-1===h&&(u=!1,h=c+1),46===s?-1===r?r=c:1!==g&&(g=1):-1!==r&&(g=-1)}return -1!==h&&(-1===r||0===g||1===g&&r===h-1&&r===a+1?t.base=t.name=e.slice(a,h):(t.name=e.slice(a,r),t.base=e.slice(a,h),t.ext=e.slice(r,h))),a>0&&a!==n?t.dir=e.slice(0,a-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},g=(()=>{if(r){let e=/\\/g;return()=>{let t=n.Vj().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>n.Vj()})(),p={resolve(...e){let t="",i=!1;for(let n=e.length-1;n>=-1&&!i;n--){let s=n>=0?e[n]:g();o(s,"path"),0!==s.length&&(t=`${s}/${t}`,i=47===s.charCodeAt(0))}return(t=h(t,!i,"/",a),i)?`/${t}`:t.length>0?t:"."},normalize(e){if(o(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0===(e=h(e,!t,"/",a)).length?t?"/":i?"./":".":(i&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(o(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){let t;if(0===e.length)return".";for(let i=0;i0&&(void 0===t?t=n:t+=`/${n}`)}return void 0===t?".":p.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t||(e=p.resolve(e))===(t=p.resolve(t)))return"";let i=e.length,n=i-1,s=t.length-1,r=nr){if(47===t.charCodeAt(1+a))return t.slice(1+a+1);if(0===a)return t.slice(1+a)}else n>r&&(47===e.charCodeAt(1+a)?l=a:0===a&&(l=0))}let d="";for(a=1+l+1;a<=i;++a)(a===i||47===e.charCodeAt(a))&&(d+=0===d.length?"..":"/..");return`${d}${t.slice(1+l)}`},toNamespacedPath:e=>e,dirname(e){if(o(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),i=-1,n=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!n){i=t;break}}else n=!1;return -1===i?t?"/":".":t&&1===i?"//":e.slice(0,i)},basename(e,t){let i;void 0!==t&&o(t,"ext"),o(e,"path");let n=0,s=-1,r=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,l=-1;for(i=e.length-1;i>=0;--i){let a=e.charCodeAt(i);if(47===a){if(!r){n=i+1;break}}else -1===l&&(r=!1,l=i+1),o>=0&&(a===t.charCodeAt(o)?-1==--o&&(s=i):(o=-1,s=l))}return n===s?s=l:-1===s&&(s=e.length),e.slice(n,s)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!r){n=i+1;break}}else -1===s&&(r=!1,s=i+1);return -1===s?"":e.slice(n,s)},extname(e){o(e,"path");let t=-1,i=0,n=-1,s=!0,r=0;for(let o=e.length-1;o>=0;--o){let l=e.charCodeAt(o);if(47===l){if(!s){i=o+1;break}continue}-1===n&&(s=!1,n=o+1),46===l?-1===t?t=o:1!==r&&(r=1):-1!==t&&(r=-1)}return -1===t||-1===n||0===r||1===r&&t===n-1&&t===i+1?"":e.slice(t,n)},format:u.bind(null,"/"),parse(e){let t;o(e,"path");let i={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return i;let n=47===e.charCodeAt(0);n?(i.root="/",t=1):t=0;let s=-1,r=0,l=-1,a=!0,d=e.length-1,h=0;for(;d>=t;--d){let t=e.charCodeAt(d);if(47===t){if(!a){r=d+1;break}continue}-1===l&&(a=!1,l=d+1),46===t?-1===s?s=d:1!==h&&(h=1):-1!==s&&(h=-1)}if(-1!==l){let t=0===r&&n?1:r;-1===s||0===h||1===h&&s===l-1&&s===r+1?i.base=i.name=e.slice(t,l):(i.name=e.slice(t,s),i.base=e.slice(t,l),i.ext=e.slice(s,l))}return r>0?i.dir=e.slice(0,r-1):n&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};p.win32=c.win32=c,p.posix=c.posix=p;let m=r?c.normalize:p.normalize,f=r?c.resolve:p.resolve,_=r?c.relative:p.relative,v=r?c.dirname:p.dirname,b=r?c.basename:p.basename,C=r?c.extname:p.extname,w=r?c.sep:p.sep},1432:function(e,t,i){"use strict";let n,s;i.d(t,{$L:function(){return L},Dt:function(){return V},ED:function(){return C},G6:function(){return W},IJ:function(){return y},OS:function(){return R},dK:function(){return I},dz:function(){return w},fn:function(){return M},gn:function(){return x},i7:function(){return F},qB:function(){return D},r:function(){return O},tY:function(){return S},tq:function(){return N},un:function(){return H},vU:function(){return B}});var o,r,l=i(63580),a=i(83454);let d=!1,h=!1,u=!1,c=!1,g=!1,p=!1,m=!1,f="en",_=globalThis;void 0!==_.vscode&&void 0!==_.vscode.process?s=_.vscode.process:void 0!==a&&"string"==typeof(null===(o=null==a?void 0:a.versions)||void 0===o?void 0:o.node)&&(s=a);let v="string"==typeof(null===(r=null==s?void 0:s.versions)||void 0===r?void 0:r.electron),b=v&&(null==s?void 0:s.type)==="renderer";if("object"==typeof s){d="win32"===s.platform,h="darwin"===s.platform,(u="linux"===s.platform)&&s.env.SNAP&&s.env.SNAP_REVISION,s.env.CI||s.env.BUILD_ARTIFACTSTAGINGDIRECTORY,f="en";let e=s.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e),i=t.availableLanguages["*"];t.locale,t.osLocale,f=i||"en",t._translationsConfigFile}catch(e){}c=!0}else if("object"!=typeof navigator||b)console.error("Unable to resolve platform.");else{d=(n=navigator.userAgent).indexOf("Windows")>=0,h=n.indexOf("Macintosh")>=0,p=(n.indexOf("Macintosh")>=0||n.indexOf("iPad")>=0||n.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,u=n.indexOf("Linux")>=0,m=(null==n?void 0:n.indexOf("Mobi"))>=0,g=!0;let e=l.aj(l.NC({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"));f=e||"en",navigator.language}let C=d,w=h,y=u,S=c,L=g,k=g&&"function"==typeof _.importScripts,D=k?_.origin:void 0,x=p,N=m,E=n,I=f,T="function"==typeof _.postMessage&&!_.importScripts,M=(()=>{if(T){let e=[];_.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=e.length;i{let n=++t;e.push({id:n,callback:i}),_.postMessage({vscodeScheduleAsyncWork:n},"*")}}return e=>setTimeout(e)})(),R=h||p?2:d?1:3,A=!0,P=!1;function O(){if(!P){P=!0;let e=new Uint8Array(2);e[0]=1,e[1]=2;let t=new Uint16Array(e.buffer);A=513===t[0]}return A}let F=!!(E&&E.indexOf("Chrome")>=0),B=!!(E&&E.indexOf("Firefox")>=0),W=!!(!F&&E&&E.indexOf("Safari")>=0),H=!!(E&&E.indexOf("Edg/")>=0),V=!!(E&&E.indexOf("Android")>=0)},76648:function(e,t,i){"use strict";let n;i.d(t,{Jv:function(){return d},OB:function(){return a},Vj:function(){return l}});var s=i(1432),o=i(83454);let r=globalThis.vscode;if(void 0!==r&&void 0!==r.process){let e=r.process;n={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd:()=>e.cwd()}}else n=void 0!==o?{get platform(){return o.platform},get arch(){return o.arch},get env(){return o.env},cwd:()=>o.env.VSCODE_CWD||o.cwd()}:{get platform(){return s.ED?"win32":s.dz?"darwin":"linux"},get arch(){return},get env(){return{}},cwd:()=>"/"};let l=n.cwd,a=n.env,d=n.platform},61134:function(e,t,i){"use strict";var n;i.d(t,{e:function(){return n}}),function(e){function t(e,t){if(e.start>=t.end||t.start>=e.end)return{start:0,end:0};let i=Math.max(e.start,t.start),n=Math.min(e.end,t.end);return n-i<=0?{start:0,end:0}:{start:i,end:n}}function i(e){return e.end-e.start<=0}e.intersect=t,e.isEmpty=i,e.intersects=function(e,n){return!i(t(e,n))},e.relativeComplement=function(e,t){let n=[],s={start:e.start,end:Math.min(t.start,e.end)},o={start:Math.max(t.end,e.start),end:e.end};return i(s)||n.push(s),i(o)||n.push(o),n}}(n||(n={}))},95935:function(e,t,i){"use strict";i.d(t,{AH:function(){return C},DZ:function(){return _},EZ:function(){return f},Hx:function(){return m},SF:function(){return g},Vb:function(){return s},Vo:function(){return b},XX:function(){return v},Xy:function(){return p},i3:function(){return y},lX:function(){return w},z_:function(){return u}});var n,s,o=i(15527),r=i(66663),l=i(82663),a=i(1432),d=i(97295),h=i(70666);function u(e){return(0,h.q)(e,!0)}class c{constructor(e){this._ignorePathCasing=e}compare(e,t,i=!1){return e===t?0:(0,d.qu)(this.getComparisonKey(e,i),this.getComparisonKey(t,i))}isEqual(e,t,i=!1){return e===t||!!e&&!!t&&this.getComparisonKey(e,i)===this.getComparisonKey(t,i)}getComparisonKey(e,t=!1){return e.with({path:this._ignorePathCasing(e)?e.path.toLowerCase():void 0,fragment:t?null:void 0}).toString()}isEqualOrParent(e,t,i=!1){if(e.scheme===t.scheme){if(e.scheme===r.lg.file)return o.KM(u(e),u(t),this._ignorePathCasing(e))&&e.query===t.query&&(i||e.fragment===t.fragment);if(S(e.authority,t.authority))return o.KM(e.path,t.path,this._ignorePathCasing(e),"/")&&e.query===t.query&&(i||e.fragment===t.fragment)}return!1}joinPath(e,...t){return h.o.joinPath(e,...t)}basenameOrAuthority(e){return f(e)||e.authority}basename(e){return l.KR.basename(e.path)}extname(e){return l.KR.extname(e.path)}dirname(e){let t;return 0===e.path.length?e:(e.scheme===r.lg.file?t=h.o.file(l.XX(u(e))).path:(t=l.KR.dirname(e.path),e.authority&&t.length&&47!==t.charCodeAt(0)&&(console.error(`dirname("${e.toString})) resulted in a relative path`),t="/")),e.with({path:t}))}normalizePath(e){let t;return e.path.length?(t=e.scheme===r.lg.file?h.o.file(l.Fv(u(e))).path:l.KR.normalize(e.path),e.with({path:t})):e}relativePath(e,t){if(e.scheme!==t.scheme||!S(e.authority,t.authority))return;if(e.scheme===r.lg.file){let i=l.Gf(u(e),u(t));return a.ED?o.ej(i):i}let i=e.path||"/",n=t.path||"/";if(this._ignorePathCasing(e)){let e=0;for(let t=Math.min(i.length,n.length);eo.yj(i).length&&i[i.length-1]===t}{let t=e.path;return t.length>1&&47===t.charCodeAt(t.length-1)&&!/^[a-zA-Z]:(\/$|\\$)/.test(e.fsPath)}}removeTrailingPathSeparator(e,t=l.ir){return L(e,t)?e.with({path:e.path.substr(0,e.path.length-1)}):e}addTrailingPathSeparator(e,t=l.ir){let i=!1;if(e.scheme===r.lg.file){let n=u(e);i=void 0!==n&&n.length===o.yj(n).length&&n[n.length-1]===t}else{t="/";let n=e.path;i=1===n.length&&47===n.charCodeAt(n.length-1)}return i||L(e,t)?e:e.with({path:e.path+"/"})}}let g=new c(()=>!1);new c(e=>e.scheme!==r.lg.file||!a.IJ),new c(e=>!0);let p=g.isEqual.bind(g);g.isEqualOrParent.bind(g),g.getComparisonKey.bind(g);let m=g.basenameOrAuthority.bind(g),f=g.basename.bind(g),_=g.extname.bind(g),v=g.dirname.bind(g),b=g.joinPath.bind(g),C=g.normalizePath.bind(g),w=g.relativePath.bind(g),y=g.resolvePath.bind(g);g.isAbsolutePath.bind(g);let S=g.isEqualAuthority.bind(g),L=g.hasTrailingPathSeparator.bind(g);g.removeTrailingPathSeparator.bind(g),g.addTrailingPathSeparator.bind(g),(n=s||(s={})).META_DATA_LABEL="label",n.META_DATA_DESCRIPTION="description",n.META_DATA_SIZE="size",n.META_DATA_MIME="mime",n.parseMetaData=function(e){let t=new Map,i=e.path.substring(e.path.indexOf(";")+1,e.path.lastIndexOf(";"));i.split(";").forEach(e=>{let[i,n]=e.split(":");i&&n&&t.set(i,n)});let s=e.path.substring(0,e.path.indexOf(";"));return s&&t.set(n.META_DATA_MIME,s),t}},76633:function(e,t,i){"use strict";i.d(t,{Rm:function(){return r}});var n=i(4669),s=i(5976);class o{constructor(e,t,i,n,s,o,r){this._forceIntegerValues=e,this._scrollStateBrand=void 0,this._forceIntegerValues&&(t|=0,i|=0,n|=0,s|=0,o|=0,r|=0),this.rawScrollLeft=n,this.rawScrollTop=r,t<0&&(t=0),n+t>i&&(n=i-t),n<0&&(n=0),s<0&&(s=0),r+s>o&&(r=o-s),r<0&&(r=0),this.width=t,this.scrollWidth=i,this.scrollLeft=n,this.height=s,this.scrollHeight=o,this.scrollTop=r}equals(e){return this.rawScrollLeft===e.rawScrollLeft&&this.rawScrollTop===e.rawScrollTop&&this.width===e.width&&this.scrollWidth===e.scrollWidth&&this.scrollLeft===e.scrollLeft&&this.height===e.height&&this.scrollHeight===e.scrollHeight&&this.scrollTop===e.scrollTop}withScrollDimensions(e,t){return new o(this._forceIntegerValues,void 0!==e.width?e.width:this.width,void 0!==e.scrollWidth?e.scrollWidth:this.scrollWidth,t?this.rawScrollLeft:this.scrollLeft,void 0!==e.height?e.height:this.height,void 0!==e.scrollHeight?e.scrollHeight:this.scrollHeight,t?this.rawScrollTop:this.scrollTop)}withScrollPosition(e){return new o(this._forceIntegerValues,this.width,this.scrollWidth,void 0!==e.scrollLeft?e.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,void 0!==e.scrollTop?e.scrollTop:this.rawScrollTop)}createScrollEvent(e,t){let i=this.width!==e.width,n=this.scrollWidth!==e.scrollWidth,s=this.scrollLeft!==e.scrollLeft,o=this.height!==e.height,r=this.scrollHeight!==e.scrollHeight,l=this.scrollTop!==e.scrollTop;return{inSmoothScrolling:t,oldWidth:e.width,oldScrollWidth:e.scrollWidth,oldScrollLeft:e.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:e.height,oldScrollHeight:e.scrollHeight,oldScrollTop:e.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:i,scrollWidthChanged:n,scrollLeftChanged:s,heightChanged:o,scrollHeightChanged:r,scrollTopChanged:l}}}class r extends s.JT{constructor(e){super(),this._scrollableBrand=void 0,this._onScroll=this._register(new n.Q5),this.onScroll=this._onScroll.event,this._smoothScrollDuration=e.smoothScrollDuration,this._scheduleAtNextAnimationFrame=e.scheduleAtNextAnimationFrame,this._state=new o(e.forceIntegerValues,0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(e){this._smoothScrollDuration=e}validateScrollPosition(e){return this._state.withScrollPosition(e)}getScrollDimensions(){return this._state}setScrollDimensions(e,t){var i;let n=this._state.withScrollDimensions(e,t);this._setState(n,!!this._smoothScrolling),null===(i=this._smoothScrolling)||void 0===i||i.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(e){let t=this._state.withScrollPosition(e);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t,!1)}setScrollPositionSmooth(e,t){if(0===this._smoothScrollDuration)return this.setScrollPositionNow(e);if(this._smoothScrolling){let i;e={scrollLeft:void 0===e.scrollLeft?this._smoothScrolling.to.scrollLeft:e.scrollLeft,scrollTop:void 0===e.scrollTop?this._smoothScrolling.to.scrollTop:e.scrollTop};let n=this._state.withScrollPosition(e);if(this._smoothScrolling.to.scrollLeft===n.scrollLeft&&this._smoothScrolling.to.scrollTop===n.scrollTop)return;i=t?new d(this._smoothScrolling.from,n,this._smoothScrolling.startTime,this._smoothScrolling.duration):this._smoothScrolling.combine(this._state,n,this._smoothScrollDuration),this._smoothScrolling.dispose(),this._smoothScrolling=i}else{let t=this._state.withScrollPosition(e);this._smoothScrolling=d.start(this._state,t,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}hasPendingScrollAnimation(){return!!this._smoothScrolling}_performSmoothScrolling(){if(!this._smoothScrolling)return;let e=this._smoothScrolling.tick(),t=this._state.withScrollPosition(e);if(this._setState(t,!0),this._smoothScrolling){if(e.isDone){this._smoothScrolling.dispose(),this._smoothScrolling=null;return}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}}_setState(e,t){let i=this._state;i.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(i,t)))}}class l{constructor(e,t,i){this.scrollLeft=e,this.scrollTop=t,this.isDone=i}}function a(e,t){let i=t-e;return function(t){return e+i*(1-Math.pow(1-t,3))}}class d{constructor(e,t,i,n){this.from=e,this.to=t,this.duration=n,this.startTime=i,this.animationFrameDisposable=null,this._initAnimations()}_initAnimations(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)}_initAnimation(e,t,i){let n=Math.abs(e-t);if(n>2.5*i){var s,o;let n,r;return e=t.length?e:t[n]})}function h(e){return e.replace(/[<>"'&]/g,e=>{switch(e){case"<":return"<";case">":return">";case'"':return""";case"'":return"'";case"&":return"&"}return e})}function u(e){return e.replace(/[<>&]/g,function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}})}function c(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function g(e,t=" "){let i=p(e,t);return m(i,t)}function p(e,t){if(!e||!t)return e;let i=t.length;if(0===i||0===e.length)return e;let n=0;for(;e.indexOf(t,n)===n;)n+=i;return e.substring(n)}function m(e,t){if(!e||!t)return e;let i=t.length,n=e.length;if(0===i||0===n)return e;let s=n,o=-1;for(;-1!==(o=e.lastIndexOf(t,s-1))&&o+i===s;){if(0===o)return"";s=o}return e.substring(0,s)}function f(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function _(e){return e.replace(/\*/g,"")}function v(e,t,i={}){if(!e)throw Error("Cannot create regex from empty string");t||(e=c(e)),i.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let n="";return i.global&&(n+="g"),i.matchCase||(n+="i"),i.multiline&&(n+="m"),i.unicode&&(n+="u"),new RegExp(e,n)}function b(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;let t=e.exec("");return!!(t&&0===e.lastIndex)}function C(e){return e.split(/\r\n|\r|\n/)}function w(e){var t;let i=[],n=e.split(/(\r\n|\r|\n)/);for(let e=0;e=0;i--){let t=e.charCodeAt(i);if(32!==t&&9!==t)return i}return -1}function k(e,t){return et?1:0}function D(e,t,i=0,n=e.length,s=0,o=t.length){for(;io)return 1}let r=n-i,l=o-s;return rl?1:0}function x(e,t){return N(e,t,0,e.length,0,t.length)}function N(e,t,i=0,n=e.length,s=0,o=t.length){for(;i=128||l>=128)return D(e.toLowerCase(),t.toLowerCase(),i,n,s,o);I(r)&&(r-=32),I(l)&&(l-=32);let a=r-l;if(0!==a)return a}let r=n-i,l=o-s;return rl?1:0}function E(e){return e>=48&&e<=57}function I(e){return e>=97&&e<=122}function T(e){return e>=65&&e<=90}function M(e,t){return e.length===t.length&&0===N(e,t)}function R(e,t){let i=t.length;return!(t.length>e.length)&&0===N(e,t,0,i)}function A(e,t){let i;let n=Math.min(e.length,t.length);for(i=0;i1){let n=e.charCodeAt(t-2);if(O(n))return B(n,i)}return i}(this._str,this._offset);return this._offset-=e>=65536?2:1,e}nextCodePoint(){let e=W(this._str,this._len,this._offset);return this._offset+=e>=65536?2:1,e}eol(){return this._offset>=this._len}}class V{get offset(){return this._iterator.offset}constructor(e,t=0){this._iterator=new H(e,t)}nextGraphemeLength(){let e=en.getInstance(),t=this._iterator,i=t.offset,n=e.getGraphemeBreakType(t.nextCodePoint());for(;!t.eol();){let i=t.offset,s=e.getGraphemeBreakType(t.nextCodePoint());if(ei(n,s)){t.setOffset(i);break}n=s}return t.offset-i}prevGraphemeLength(){let e=en.getInstance(),t=this._iterator,i=t.offset,n=e.getGraphemeBreakType(t.prevCodePoint());for(;t.offset>0;){let i=t.offset,s=e.getGraphemeBreakType(t.prevCodePoint());if(ei(s,n)){t.setOffset(i);break}n=s}return i-t.offset}eol(){return this._iterator.eol()}}function z(e,t){let i=new V(e,t);return i.nextGraphemeLength()}function K(e,t){let i=new V(e,t);return i.prevGraphemeLength()}function U(e,t){t>0&&F(e.charCodeAt(t))&&t--;let i=t+z(e,t),n=i-K(e,i);return[n,i]}function $(e){return n||(n=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE35\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDD23\uDE80-\uDEA9\uDEAD-\uDF45\uDF51-\uDF81\uDF86-\uDFF6]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD4B-\uDFFF]|\uD83B[\uDC00-\uDEBB])/),n.test(e)}let q=/^[\t\n\r\x20-\x7E]*$/;function j(e){return q.test(e)}let G=/[\u2028\u2029]/;function Q(e){return G.test(e)}function Z(e){return e>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function Y(e){return e>=127462&&e<=127487||8986===e||8987===e||9200===e||9203===e||e>=9728&&e<=10175||11088===e||11093===e||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129008||e>=129280&&e<=129535||e>=129648&&e<=129782}let J=String.fromCharCode(65279);function X(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function ee(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function et(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function ei(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&(11!==e&&9!==e||9!==t&&10!==t)&&(12!==e&&10!==e||10!==t)&&5!==t&&13!==t&&7!==t&&1!==e&&(13!==e||14!==t)&&(6!==e||6!==t))}class en{static getInstance(){return en._INSTANCE||(en._INSTANCE=new en),en._INSTANCE}constructor(){this._data=JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;let t=this._data,i=t.length/3,n=1;for(;n<=i;)if(et[3*n+1]))return t[3*n+2];n=2*n+1}return 0}}function es(e,t){if(0===e)return 0;let i=function(e,t){var i;let n=new H(t,e),s=n.prevCodePoint();for(;127995<=(i=s)&&i<=127999||65039===s||8419===s;){if(0===n.offset)return;s=n.prevCodePoint()}if(!Y(s))return;let o=n.offset;if(o>0){let e=n.prevCodePoint();8205===e&&(o=n.offset)}return o}(e,t);if(void 0!==i)return i;let n=new H(t,e);return n.prevCodePoint(),n.offset}en._INSTANCE=null;let eo="\xa0";class er{static getInstance(e){return s.cache.get(Array.from(e))}static getLocales(){return s._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}s=er,er.ambiguousCharacterData=new r.o(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),er.cache=new o.t2({getCacheKey:JSON.stringify},e=>{let t;function i(e){let t=new Map;for(let i=0;i!e.startsWith("_")&&e in n);for(let e of(0===o.length&&(o=["_default"]),o)){let s=i(n[e]);t=function(e,t){if(!e)return t;let i=new Map;for(let[n,s]of e)t.has(n)&&i.set(n,s);return i}(t,s)}let r=i(n._common),l=function(e,t){let i=new Map(e);for(let[e,n]of t)i.set(e,n);return i}(r,t);return new s(l)}),er._locales=new r.o(()=>Object.keys(s.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class el{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(el.getRawData())),this._data}static isInvisibleCharacter(e){return el.getData().has(e)}static get codePoints(){return el.getData()}}el._data=void 0},5635:function(e,t,i){"use strict";i.d(t,{n:function(){return n}});let n=Symbol("MicrotaskDelay")},4767:function(e,t,i){"use strict";i.d(t,{Id:function(){return d}});var n=i(97295);class s{constructor(){this._value="",this._pos=0}reset(e){return this._value=e,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos=0;t--,this._valueLen--){let e=this._value.charCodeAt(t);if(!(47===e||this._splitOnBackslash&&92===e))break}return this.next()}hasNext(){return this._to!1,t=()=>!1){return new d(new l(e,t))}static forStrings(){return new d(new s)}static forConfigKeys(){return new d(new o)}constructor(e){this._iter=e}clear(){this._root=void 0}set(e,t){let i;let n=this._iter.reset(e);this._root||(this._root=new a,this._root.segment=n.value());let s=[];for(i=this._root;;){let e=n.cmp(i.segment);if(e>0)i.left||(i.left=new a,i.left.segment=n.value()),s.push([-1,i]),i=i.left;else if(e<0)i.right||(i.right=new a,i.right.segment=n.value()),s.push([1,i]),i=i.right;else if(n.hasNext())n.next(),i.mid||(i.mid=new a,i.mid.segment=n.value()),s.push([0,i]),i=i.mid;else break}let o=i.value;i.value=t,i.key=e;for(let e=s.length-1;e>=0;e--){let t=s[e][1];t.updateHeight();let i=t.balanceFactor();if(i<-1||i>1){let i=s[e][0],n=s[e+1][0];if(1===i&&1===n)s[e][1]=t.rotateLeft();else if(-1===i&&-1===n)s[e][1]=t.rotateRight();else if(1===i&&-1===n)t.right=s[e+1][1]=s[e+1][1].rotateRight(),s[e][1]=t.rotateLeft();else if(-1===i&&1===n)t.left=s[e+1][1]=s[e+1][1].rotateLeft(),s[e][1]=t.rotateRight();else throw Error();if(e>0)switch(s[e-1][0]){case -1:s[e-1][1].left=s[e][1];break;case 1:s[e-1][1].right=s[e][1];break;case 0:s[e-1][1].mid=s[e][1]}else this._root=s[0][1]}}return o}get(e){var t;return null===(t=this._getNode(e))||void 0===t?void 0:t.value}_getNode(e){let t=this._iter.reset(e),i=this._root;for(;i;){let e=t.cmp(i.segment);if(e>0)i=i.left;else if(e<0)i=i.right;else if(t.hasNext())t.next(),i=i.mid;else break}return i}has(e){let t=this._getNode(e);return!((null==t?void 0:t.value)===void 0&&(null==t?void 0:t.mid)===void 0)}delete(e){return this._delete(e,!1)}deleteSuperstr(e){return this._delete(e,!0)}_delete(e,t){var i;let n=this._iter.reset(e),s=[],o=this._root;for(;o;){let e=n.cmp(o.segment);if(e>0)s.push([-1,o]),o=o.left;else if(e<0)s.push([1,o]),o=o.right;else if(n.hasNext())n.next(),s.push([0,o]),o=o.mid;else break}if(o){if(t?(o.left=void 0,o.mid=void 0,o.right=void 0,o.height=1):(o.key=void 0,o.value=void 0),!o.mid&&!o.value){if(o.left&&o.right){let e=this._min(o.right);if(e.key){let{key:t,value:i,segment:n}=e;this._delete(e.key,!1),o.key=t,o.value=i,o.segment=n}}else{let e=null!==(i=o.left)&&void 0!==i?i:o.right;if(s.length>0){let[t,i]=s[s.length-1];switch(t){case -1:i.left=e;break;case 0:i.mid=e;break;case 1:i.right=e}}else this._root=e}}for(let e=s.length-1;e>=0;e--){let t=s[e][1];t.updateHeight();let i=t.balanceFactor();if(i>1?(t.right.balanceFactor()>=0||(t.right=t.right.rotateRight()),s[e][1]=t.rotateLeft()):i<-1&&(0>=t.left.balanceFactor()||(t.left=t.left.rotateLeft()),s[e][1]=t.rotateRight()),e>0)switch(s[e-1][0]){case -1:s[e-1][1].left=s[e][1];break;case 1:s[e-1][1].right=s[e][1];break;case 0:s[e-1][1].mid=s[e][1]}else this._root=s[0][1]}}}_min(e){for(;e.left;)e=e.left;return e}findSubstr(e){let t;let i=this._iter.reset(e),n=this._root;for(;n;){let e=i.cmp(n.segment);if(e>0)n=n.left;else if(e<0)n=n.right;else if(i.hasNext())i.next(),t=n.value||t,n=n.mid;else break}return n&&n.value||t}findSuperstr(e){return this._findSuperstrOrElement(e,!1)}_findSuperstrOrElement(e,t){let i=this._iter.reset(e),n=this._root;for(;n;){let e=i.cmp(n.segment);if(e>0)n=n.left;else if(e<0)n=n.right;else if(i.hasNext())i.next(),n=n.mid;else{if(n.mid)return this._entries(n.mid);if(t)return n.value;break}}}forEach(e){for(let[t,i]of this)e(i,t)}*[Symbol.iterator](){yield*this._entries(this._root)}_entries(e){let t=[];return this._dfsEntries(e,t),t[Symbol.iterator]()}_dfsEntries(e,t){e&&(e.left&&this._dfsEntries(e.left,t),e.value&&t.push([e.key,e.value]),e.mid&&this._dfsEntries(e.mid,t),e.right&&this._dfsEntries(e.right,t))}}},25670:function(e,t,i){"use strict";i.d(t,{k:function(){return s}});var n,s,o=i(78789);(n||(n={})).isThemeColor=function(e){return e&&"object"==typeof e&&"string"==typeof e.id},function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9-]+",e.iconModifierExpression="~[A-Za-z]+",e.iconNameCharacter="[A-Za-z0-9~-]";let t=RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function i(e){let n=t.exec(e.id);if(!n)return i(o.l.error);let[,s,r]=n,l=["codicon","codicon-"+s];return r&&l.push("codicon-modifier-"+r.substring(1)),l}e.asClassNameArray=i,e.asClassName=function(e){return i(e).join(" ")},e.asCSSSelector=function(e){return"."+i(e).join(".")},e.isThemeIcon=function(e){return e&&"object"==typeof e&&"string"==typeof e.id&&(void 0===e.color||n.isThemeColor(e.color))};let s=RegExp(`^\\$\\((${e.iconNameExpression}(?:${e.iconModifierExpression})?)\\)$`);e.fromString=function(e){let t=s.exec(e);if(!t)return;let[,i]=t;return{id:i}},e.fromId=function(e){return{id:e}},e.modify=function(e,t){let i=e.id,n=i.lastIndexOf("~");return -1!==n&&(i=i.substring(0,n)),t&&(i=`${i}~${t}`),{id:i}},e.getModifier=function(e){let t=e.id.lastIndexOf("~");if(-1!==t)return e.id.substring(t+1)},e.isEqual=function(e,t){var i,n;return e.id===t.id&&(null===(i=e.color)||void 0===i?void 0:i.id)===(null===(n=t.color)||void 0===n?void 0:n.id)}}(s||(s={}))},98401:function(e,t,i){"use strict";function n(e){return"string"==typeof e}function s(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function o(e){let t=Object.getPrototypeOf(Uint8Array);return"object"==typeof e&&e instanceof t}function r(e){return"number"==typeof e&&!isNaN(e)}function l(e){return!!e&&"function"==typeof e[Symbol.iterator]}function a(e){return!0===e||!1===e}function d(e){return void 0===e}function h(e){return!u(e)}function u(e){return d(e)||null===e}function c(e,t){if(!e)throw Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function g(e){if(u(e))throw Error("Assertion Failed: argument is undefined or null");return e}function p(e){return"function"==typeof e}function m(e,t){let i=Math.min(e.length,t.length);for(let s=0;s255?255:0|e}function s(e){return e<0?0:e>4294967295?4294967295:0|e}i.d(t,{A:function(){return s},K:function(){return n}})},70666:function(e,t,i){"use strict";i.d(t,{o:function(){return d},q:function(){return m}});var n=i(82663),s=i(1432);let o=/^\w[\w\d+.-]*$/,r=/^\//,l=/^\/\//,a=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class d{static isUri(e){return e instanceof d||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}constructor(e,t,i,n,s,a=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=e||a?e:"file",this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,i||""),this.query=n||"",this.fragment=s||"",function(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!o.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!r.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(l.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,a))}get fsPath(){return m(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:i,path:n,query:s,fragment:o}=e;return(void 0===t?t=this.scheme:null===t&&(t=""),void 0===i?i=this.authority:null===i&&(i=""),void 0===n?n=this.path:null===n&&(n=""),void 0===s?s=this.query:null===s&&(s=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&i===this.authority&&n===this.path&&s===this.query&&o===this.fragment)?this:new u(t,i,n,s,o)}static parse(e,t=!1){let i=a.exec(e);return i?new u(i[2]||"",v(i[4]||""),v(i[5]||""),v(i[7]||""),v(i[9]||""),t):new u("","","","","")}static file(e){let t="";if(s.ED&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1]){let i=e.indexOf("/",2);-1===i?(t=e.substring(2),e="/"):(t=e.substring(2,i),e=e.substring(i)||"/")}return new u("file",t,e,"","")}static from(e,t){let i=new u(e.scheme,e.authority,e.path,e.query,e.fragment,t);return i}static joinPath(e,...t){let i;if(!e.path)throw Error("[UriError]: cannot call joinPath on URI without path");return i=s.ED&&"file"===e.scheme?d.file(n.Ku.join(m(e,!0),...t)).path:n.KR.join(e.path,...t),e.with({path:i})}toString(e=!1){return f(this,e)}toJSON(){return this}static revive(e){var t,i;if(!e||e instanceof d)return e;{let n=new u(e);return n._formatted=null!==(t=e.external)&&void 0!==t?t:null,n._fsPath=e._sep===h&&null!==(i=e.fsPath)&&void 0!==i?i:null,n}}}let h=s.ED?1:void 0;class u extends d{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=m(this,!1)),this._fsPath}toString(e=!1){return e?f(this,!0):(this._formatted||(this._formatted=f(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=h),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let c={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function g(e,t,i){let n;let s=-1;for(let o=0;o=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57||45===r||46===r||95===r||126===r||t&&47===r||i&&91===r||i&&93===r||i&&58===r)-1!==s&&(n+=encodeURIComponent(e.substring(s,o)),s=-1),void 0!==n&&(n+=e.charAt(o));else{void 0===n&&(n=e.substr(0,o));let t=c[r];void 0!==t?(-1!==s&&(n+=encodeURIComponent(e.substring(s,o)),s=-1),n+=t):-1===s&&(s=o)}}return -1!==s&&(n+=encodeURIComponent(e.substring(s))),void 0!==n?n:e}function p(e){let t;for(let i=0;i1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,s.ED&&(i=i.replace(/\//g,"\\")),i}function f(e,t){let i=t?p:g,n="",{scheme:s,authority:o,path:r,query:l,fragment:a}=e;if(s&&(n+=s+":"),(o||"file"===s)&&(n+="//"),o){let e=o.indexOf("@");if(-1!==e){let t=o.substr(0,e);o=o.substr(e+1),-1===(e=t.lastIndexOf(":"))?n+=i(t,!1,!1):n+=i(t.substr(0,e),!1,!1)+":"+i(t.substr(e+1),!1,!0),n+="@"}-1===(e=(o=o.toLowerCase()).lastIndexOf(":"))?n+=i(o,!1,!0):n+=i(o.substr(0,e),!1,!0)+o.substr(e)}if(r){if(r.length>=3&&47===r.charCodeAt(0)&&58===r.charCodeAt(2)){let e=r.charCodeAt(1);e>=65&&e<=90&&(r=`/${String.fromCharCode(e+32)}:${r.substr(3)}`)}else if(r.length>=2&&58===r.charCodeAt(1)){let e=r.charCodeAt(0);e>=65&&e<=90&&(r=`${String.fromCharCode(e+32)}:${r.substr(2)}`)}n+=i(r,!0,!1)}return l&&(n+="?"+i(l,!1,!1)),a&&(n+="#"+(t?a:g(a,!1,!1))),n}let _=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function v(e){return e.match(_)?e.replace(_,e=>(function e(t){try{return decodeURIComponent(t)}catch(i){if(t.length>3)return t.substr(0,3)+e(t.substr(3));return t}})(e)):e}},98e3:function(e,t,i){"use strict";i.d(t,{R:function(){return n}});let n=function(){let e;if("object"==typeof crypto&&"function"==typeof crypto.randomUUID)return crypto.randomUUID.bind(crypto);e="object"==typeof crypto&&"function"==typeof crypto.getRandomValues?crypto.getRandomValues.bind(crypto):function(e){for(let t=0;t{if(t&&"object"==typeof t||"function"==typeof t)for(let s of l(t))a.call(e,s)||s===i||o(e,s,{get:()=>t[s],enumerable:!(n=r(t,s))||n.enumerable});return e},h={};d(h,s,"default"),n&&d(n,s,"default");var u={},c={},g=class e{static getOrCreate(t){return c[t]||(c[t]=new e(t)),c[t]}constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((e,t)=>{this._lazyLoadPromiseResolve=e,this._lazyLoadPromiseReject=t})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,u[this._languageId].loader().then(e=>this._lazyLoadPromiseResolve(e),e=>this._lazyLoadPromiseReject(e))),this._lazyLoadPromise}};function p(e){let t=e.id;u[t]=e,h.languages.register(e);let i=g.getOrCreate(t);h.languages.registerTokensProviderFactory(t,{create:async()=>{let e=await i.load();return e.language}}),h.languages.onLanguageEncountered(t,async()=>{let e=await i.load();h.languages.setLanguageConfiguration(t,e.conf)})}},96337:function(e,t,i){"use strict";/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/(0,i(25552).H)({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>i.e(7778).then(i.bind(i,27778))})},52136:function(e,t,i){"use strict";i.d(t,{N:function(){return s}});var n=i(38626);function s(e,t){e instanceof n.Z?(e.setFontFamily(t.getMassagedFontFamily()),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setFontFeatureSettings(t.fontFeatureSettings),e.setFontVariationSettings(t.fontVariationSettings),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)):(e.style.fontFamily=t.getMassagedFontFamily(),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.fontFeatureSettings=t.fontFeatureSettings,e.style.fontVariationSettings=t.fontVariationSettings,e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px")}},54534:function(e,t,i){"use strict";i.d(t,{I:function(){return r}});var n=i(5976),s=i(4669),o=i(65321);class r extends n.JT{constructor(e,t){super(),this._onDidChange=this._register(new s.Q5),this.onDidChange=this._onDidChange.event,this._referenceDomElement=e,this._width=-1,this._height=-1,this._resizeObserver=null,this.measureReferenceDomElement(!1,t)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this._width}getHeight(){return this._height}startObserving(){if(!this._resizeObserver&&this._referenceDomElement){let e=null,t=()=>{e?this.observe({width:e.width,height:e.height}):this.observe()},i=!1,n=!1,s=()=>{if(i&&!n)try{i=!1,n=!0,t()}finally{(0,o.jL)((0,o.Jj)(this._referenceDomElement),()=>{n=!1,s()})}};this._resizeObserver=new ResizeObserver(t=>{e=t&&t[0]&&t[0].contentRect?{width:t[0].contentRect.width,height:t[0].contentRect.height}:null,i=!0,s()}),this._resizeObserver.observe(this._referenceDomElement)}}stopObserving(){this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)}observe(e){this.measureReferenceDomElement(!0,e)}measureReferenceDomElement(e,t){let i=0,n=0;t?(i=t.width,n=t.height):this._referenceDomElement&&(i=this._referenceDomElement.clientWidth,n=this._referenceDomElement.clientHeight),i=Math.max(5,i),n=Math.max(5,n),(this._width!==i||this._height!==n)&&(this._width=i,this._height=n,e&&this._onDidChange.fire())}}},66059:function(e,t,i){"use strict";i.d(t,{g:function(){return p}});var n=i(65321),s=i(28731),o=i(4669),r=i(5976),l=i(52136);class a{constructor(e,t){this.chr=e,this.type=t,this.width=0}fulfill(e){this.width=e}}class d{constructor(e,t){this._bareFontInfo=e,this._requests=t,this._container=null,this._testElements=null}read(e){this._createDomElements(),e.document.body.appendChild(this._container),this._readFromDomElements(),e.document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){let e=document.createElement("div");e.style.position="absolute",e.style.top="-50000px",e.style.width="50000px";let t=document.createElement("div");(0,l.N)(t,this._bareFontInfo),e.appendChild(t);let i=document.createElement("div");(0,l.N)(i,this._bareFontInfo),i.style.fontWeight="bold",e.appendChild(i);let n=document.createElement("div");(0,l.N)(n,this._bareFontInfo),n.style.fontStyle="italic",e.appendChild(n);let s=[];for(let e of this._requests){let o;0===e.type&&(o=t),2===e.type&&(o=i),1===e.type&&(o=n),o.appendChild(document.createElement("br"));let r=document.createElement("span");d._render(r,e),o.appendChild(r),s.push(r)}this._container=e,this._testElements=s}static _render(e,t){if(" "===t.chr){let t="\xa0";for(let e=0;e<8;e++)t+=t;e.innerText=t}else{let i=t.chr;for(let e=0;e<8;e++)i+=i;e.textContent=i}}_readFromDomElements(){for(let e=0,t=this._requests.length;e{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings(e)},5e3))}_evictUntrustedReadings(e){let t=this._ensureCache(e),i=t.getValues(),n=!1;for(let e of i)e.isTrusted||(n=!0,t.remove(e));n&&this._onDidChange.fire()}readFontInfo(e,t){let i=this._ensureCache(e);if(!i.has(t)){let i=this._actualReadFontInfo(e,t);(i.typicalHalfwidthCharacterWidth<=2||i.typicalFullwidthCharacterWidth<=2||i.spaceWidth<=2||i.maxDigitWidth<=2)&&(i=new u.pR({pixelRatio:s.T.getInstance(e).value,fontFamily:i.fontFamily,fontWeight:i.fontWeight,fontSize:i.fontSize,fontFeatureSettings:i.fontFeatureSettings,fontVariationSettings:i.fontVariationSettings,lineHeight:i.lineHeight,letterSpacing:i.letterSpacing,isMonospace:i.isMonospace,typicalHalfwidthCharacterWidth:Math.max(i.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(i.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:i.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(i.spaceWidth,5),middotWidth:Math.max(i.middotWidth,5),wsmiddotWidth:Math.max(i.wsmiddotWidth,5),maxDigitWidth:Math.max(i.maxDigitWidth,5)},!1)),this._writeToCache(e,t,i)}return i.get(t)}_createRequest(e,t,i,n){let s=new a(e,t);return i.push(s),null==n||n.push(s),s}_actualReadFontInfo(e,t){let i=[],n=[],o=this._createRequest("n",0,i,n),r=this._createRequest("m",0,i,null),l=this._createRequest(" ",0,i,n),a=this._createRequest("0",0,i,n),c=this._createRequest("1",0,i,n),g=this._createRequest("2",0,i,n),p=this._createRequest("3",0,i,n),m=this._createRequest("4",0,i,n),f=this._createRequest("5",0,i,n),_=this._createRequest("6",0,i,n),v=this._createRequest("7",0,i,n),b=this._createRequest("8",0,i,n),C=this._createRequest("9",0,i,n),w=this._createRequest("→",0,i,n),y=this._createRequest("→",0,i,null),S=this._createRequest("\xb7",0,i,n),L=this._createRequest(String.fromCharCode(11825),0,i,null),k="|/-_ilm%";for(let e=0,t=k.length;e.001){x=!1;break}}let E=!0;return x&&y.width!==N&&(E=!1),y.width>w.width&&(E=!1),new u.pR({pixelRatio:s.T.getInstance(e).value,fontFamily:t.fontFamily,fontWeight:t.fontWeight,fontSize:t.fontSize,fontFeatureSettings:t.fontFeatureSettings,fontVariationSettings:t.fontVariationSettings,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing,isMonospace:x,typicalHalfwidthCharacterWidth:o.width,typicalFullwidthCharacterWidth:r.width,canUseHalfwidthRightwardsArrow:E,spaceWidth:l.width,middotWidth:S.width,wsmiddotWidth:L.width,maxDigitWidth:D},!0)}}class g{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(e){let t=e.getId();return!!this._values[t]}get(e){let t=e.getId();return this._values[t]}put(e,t){let i=e.getId();this._keys[i]=e,this._values[i]=t}remove(e){let t=e.getId();delete this._keys[t],delete this._values[t]}getValues(){return Object.keys(this._keys).map(e=>this._values[e])}}let p=new c},37940:function(e,t,i){"use strict";i.d(t,{n:function(){return s}});var n=i(4669);let s=new class{constructor(){this._tabFocus=!1,this._onDidChangeTabFocus=new n.Q5,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(){return this._tabFocus}setTabFocusMode(e){this._tabFocus=e,this._onDidChangeTabFocus.fire(this._tabFocus)}}},35715:function(e,t,i){"use strict";i.d(t,{Fz:function(){return y},Nl:function(){return C},RA:function(){return b},Tj:function(){return L},b6:function(){return S},pd:function(){return n}});var n,s=i(16268),o=i(65321),r=i(4850),l=i(59069),a=i(50795),d=i(15393),h=i(4669),u=i(5976),c=i(81170),g=i(97295),p=i(15887),m=i(3860),f=i(31106),_=i(43557),v=function(e,t){return function(i,n){t(i,n,e)}};(n||(n={})).Tap="-monaco-textarea-synthetic-tap";let b={forceCopyWithSyntaxHighlighting:!1};class C{constructor(){this._lastState=null}set(e,t){this._lastState={lastCopiedValue:e,data:t}}get(e){return this._lastState&&this._lastState.lastCopiedValue===e?this._lastState.data:(this._lastState=null,null)}}C.INSTANCE=new C;class w{constructor(){this._lastTypeTextLength=0}handleCompositionUpdate(e){e=e||"";let t={text:e,replacePrevCharCnt:this._lastTypeTextLength,replaceNextCharCnt:0,positionDelta:0};return this._lastTypeTextLength=e.length,t}}let y=class extends u.JT{get textAreaState(){return this._textAreaState}constructor(e,t,i,n,s,o){super(),this._host=e,this._textArea=t,this._OS=i,this._browser=n,this._accessibilityService=s,this._logService=o,this._onFocus=this._register(new h.Q5),this.onFocus=this._onFocus.event,this._onBlur=this._register(new h.Q5),this.onBlur=this._onBlur.event,this._onKeyDown=this._register(new h.Q5),this.onKeyDown=this._onKeyDown.event,this._onKeyUp=this._register(new h.Q5),this.onKeyUp=this._onKeyUp.event,this._onCut=this._register(new h.Q5),this.onCut=this._onCut.event,this._onPaste=this._register(new h.Q5),this.onPaste=this._onPaste.event,this._onType=this._register(new h.Q5),this.onType=this._onType.event,this._onCompositionStart=this._register(new h.Q5),this.onCompositionStart=this._onCompositionStart.event,this._onCompositionUpdate=this._register(new h.Q5),this.onCompositionUpdate=this._onCompositionUpdate.event,this._onCompositionEnd=this._register(new h.Q5),this.onCompositionEnd=this._onCompositionEnd.event,this._onSelectionChangeRequest=this._register(new h.Q5),this.onSelectionChangeRequest=this._onSelectionChangeRequest.event,this._asyncFocusGainWriteScreenReaderContent=this._register(new u.XK),this._asyncTriggerCut=this._register(new d.pY(()=>this._onCut.fire(),0)),this._textAreaState=p.un.EMPTY,this._selectionChangeListener=null,this._accessibilityService.isScreenReaderOptimized()&&this.writeNativeTextAreaContent("ctor"),this._register(h.ju.runAndSubscribe(this._accessibilityService.onDidChangeScreenReaderOptimized,()=>{this._accessibilityService.isScreenReaderOptimized()&&!this._asyncFocusGainWriteScreenReaderContent.value?this._asyncFocusGainWriteScreenReaderContent.value=this._register(new d.pY(()=>this.writeNativeTextAreaContent("asyncFocusGain"),0)):this._asyncFocusGainWriteScreenReaderContent.clear()})),this._hasFocus=!1,this._currentComposition=null;let r=null;this._register(this._textArea.onKeyDown(e=>{let t=new l.y(e);(114===t.keyCode||this._currentComposition&&1===t.keyCode)&&t.stopPropagation(),t.equals(9)&&t.preventDefault(),r=t,this._onKeyDown.fire(t)})),this._register(this._textArea.onKeyUp(e=>{let t=new l.y(e);this._onKeyUp.fire(t)})),this._register(this._textArea.onCompositionStart(e=>{p.al&&console.log("[compositionstart]",e);let t=new w;if(this._currentComposition){this._currentComposition=t;return}if(this._currentComposition=t,2===this._OS&&r&&r.equals(114)&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&this._textAreaState.selectionStart>0&&this._textAreaState.value.substr(this._textAreaState.selectionStart-1,1)===e.data&&("ArrowRight"===r.code||"ArrowLeft"===r.code)){p.al&&console.log("[compositionstart] Handling long press case on macOS + arrow key",e),t.handleCompositionUpdate("x"),this._onCompositionStart.fire({data:e.data});return}if(this._browser.isAndroid){this._onCompositionStart.fire({data:e.data});return}this._onCompositionStart.fire({data:e.data})})),this._register(this._textArea.onCompositionUpdate(e=>{p.al&&console.log("[compositionupdate]",e);let t=this._currentComposition;if(!t)return;if(this._browser.isAndroid){let t=p.un.readFromTextArea(this._textArea,this._textAreaState),i=p.un.deduceAndroidCompositionInput(this._textAreaState,t);this._textAreaState=t,this._onType.fire(i),this._onCompositionUpdate.fire(e);return}let i=t.handleCompositionUpdate(e.data);this._textAreaState=p.un.readFromTextArea(this._textArea,this._textAreaState),this._onType.fire(i),this._onCompositionUpdate.fire(e)})),this._register(this._textArea.onCompositionEnd(e=>{p.al&&console.log("[compositionend]",e);let t=this._currentComposition;if(!t)return;if(this._currentComposition=null,this._browser.isAndroid){let e=p.un.readFromTextArea(this._textArea,this._textAreaState),t=p.un.deduceAndroidCompositionInput(this._textAreaState,e);this._textAreaState=e,this._onType.fire(t),this._onCompositionEnd.fire();return}let i=t.handleCompositionUpdate(e.data);this._textAreaState=p.un.readFromTextArea(this._textArea,this._textAreaState),this._onType.fire(i),this._onCompositionEnd.fire()})),this._register(this._textArea.onInput(e=>{if(p.al&&console.log("[input]",e),this._textArea.setIgnoreSelectionChangeTime("received input event"),this._currentComposition)return;let t=p.un.readFromTextArea(this._textArea,this._textAreaState),i=p.un.deduceInput(this._textAreaState,t,2===this._OS);0===i.replacePrevCharCnt&&1===i.text.length&&(g.ZG(i.text.charCodeAt(0))||127===i.text.charCodeAt(0))||(this._textAreaState=t,(""!==i.text||0!==i.replacePrevCharCnt||0!==i.replaceNextCharCnt||0!==i.positionDelta)&&this._onType.fire(i))})),this._register(this._textArea.onCut(e=>{this._textArea.setIgnoreSelectionChangeTime("received cut event"),this._ensureClipboardGetsEditorSelection(e),this._asyncTriggerCut.schedule()})),this._register(this._textArea.onCopy(e=>{this._ensureClipboardGetsEditorSelection(e)})),this._register(this._textArea.onPaste(e=>{if(this._textArea.setIgnoreSelectionChangeTime("received paste event"),e.preventDefault(),!e.clipboardData)return;let[t,i]=S.getTextData(e.clipboardData);t&&(i=i||C.INSTANCE.get(t),this._onPaste.fire({text:t,metadata:i}))})),this._register(this._textArea.onFocus(()=>{let e=this._hasFocus;this._setHasFocus(!0),this._accessibilityService.isScreenReaderOptimized()&&this._browser.isSafari&&!e&&this._hasFocus&&(this._asyncFocusGainWriteScreenReaderContent.value||(this._asyncFocusGainWriteScreenReaderContent.value=new d.pY(()=>this.writeNativeTextAreaContent("asyncFocusGain"),0)),this._asyncFocusGainWriteScreenReaderContent.value.schedule())})),this._register(this._textArea.onBlur(()=>{this._currentComposition&&(this._currentComposition=null,this.writeNativeTextAreaContent("blurWithoutCompositionEnd"),this._onCompositionEnd.fire()),this._setHasFocus(!1)})),this._register(this._textArea.onSyntheticTap(()=>{this._browser.isAndroid&&this._currentComposition&&(this._currentComposition=null,this.writeNativeTextAreaContent("tapWithoutCompositionEnd"),this._onCompositionEnd.fire())}))}_installSelectionChangeListener(){let e=0;return o.nm(this._textArea.ownerDocument,"selectionchange",t=>{if(a.B.onSelectionChange(),!this._hasFocus||this._currentComposition||!this._browser.isChrome)return;let i=Date.now(),n=i-e;if(e=i,n<5)return;let s=i-this._textArea.getIgnoreSelectionChangeTime();if(this._textArea.resetSelectionChangeTime(),s<100||!this._textAreaState.selection)return;let o=this._textArea.getValue();if(this._textAreaState.value!==o)return;let r=this._textArea.getSelectionStart(),l=this._textArea.getSelectionEnd();if(this._textAreaState.selectionStart===r&&this._textAreaState.selectionEnd===l)return;let d=this._textAreaState.deduceEditorPosition(r),h=this._host.deduceModelPosition(d[0],d[1],d[2]),u=this._textAreaState.deduceEditorPosition(l),c=this._host.deduceModelPosition(u[0],u[1],u[2]),g=new m.Y(h.lineNumber,h.column,c.lineNumber,c.column);this._onSelectionChangeRequest.fire(g)})}dispose(){super.dispose(),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)}focusTextArea(){this._setHasFocus(!0),this.refreshFocusState()}isFocused(){return this._hasFocus}refreshFocusState(){this._setHasFocus(this._textArea.hasFocus())}_setHasFocus(e){this._hasFocus!==e&&(this._hasFocus=e,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&this.writeNativeTextAreaContent("focusgain"),this._hasFocus?this._onFocus.fire():this._onBlur.fire())}_setAndWriteTextAreaState(e,t){this._hasFocus||(t=t.collapseSelection()),t.writeToTextArea(e,this._textArea,this._hasFocus),this._textAreaState=t}writeNativeTextAreaContent(e){(this._accessibilityService.isScreenReaderOptimized()||"render"!==e)&&!this._currentComposition&&(this._logService.trace(`writeTextAreaState(reason: ${e})`),this._setAndWriteTextAreaState(e,this._host.getScreenReaderContent()))}_ensureClipboardGetsEditorSelection(e){let t=this._host.getDataToCopy(),i={version:1,isFromEmptySelection:t.isFromEmptySelection,multicursorText:t.multicursorText,mode:t.mode};C.INSTANCE.set(this._browser.isFirefox?t.text.replace(/\r\n/g,"\n"):t.text,i),e.preventDefault(),e.clipboardData&&S.setTextData(e.clipboardData,t.text,t.html,i)}};y=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([v(4,f.F),v(5,_.VZ)],y);let S={getTextData(e){let t=e.getData(c.v.text),i=null,n=e.getData("vscode-editor-data");if("string"==typeof n)try{i=JSON.parse(n),1!==i.version&&(i=null)}catch(e){}if(0===t.length&&null===i&&e.files.length>0){let t=Array.prototype.slice.call(e.files,0);return[t.map(e=>e.name).join("\n"),null]}return[t,i]},setTextData(e,t,i,n){e.setData(c.v.text,t),"string"==typeof i&&e.setData("text/html",i),e.setData("vscode-editor-data",JSON.stringify(n))}};class L extends u.JT{get ownerDocument(){return this._actual.ownerDocument}constructor(e){super(),this._actual=e,this.onKeyDown=this._register(new r.Y(this._actual,"keydown")).event,this.onKeyUp=this._register(new r.Y(this._actual,"keyup")).event,this.onCompositionStart=this._register(new r.Y(this._actual,"compositionstart")).event,this.onCompositionUpdate=this._register(new r.Y(this._actual,"compositionupdate")).event,this.onCompositionEnd=this._register(new r.Y(this._actual,"compositionend")).event,this.onBeforeInput=this._register(new r.Y(this._actual,"beforeinput")).event,this.onInput=this._register(new r.Y(this._actual,"input")).event,this.onCut=this._register(new r.Y(this._actual,"cut")).event,this.onCopy=this._register(new r.Y(this._actual,"copy")).event,this.onPaste=this._register(new r.Y(this._actual,"paste")).event,this.onFocus=this._register(new r.Y(this._actual,"focus")).event,this.onBlur=this._register(new r.Y(this._actual,"blur")).event,this._onSyntheticTap=this._register(new h.Q5),this.onSyntheticTap=this._onSyntheticTap.event,this._ignoreSelectionChangeTime=0,this._register(this.onKeyDown(()=>a.B.onKeyDown())),this._register(this.onBeforeInput(()=>a.B.onBeforeInput())),this._register(this.onInput(()=>a.B.onInput())),this._register(this.onKeyUp(()=>a.B.onKeyUp())),this._register(o.nm(this._actual,n.Tap,()=>this._onSyntheticTap.fire()))}hasFocus(){let e=o.Ay(this._actual);return e?e.activeElement===this._actual:!!this._actual.isConnected&&o.vY()===this._actual}setIgnoreSelectionChangeTime(e){this._ignoreSelectionChangeTime=Date.now()}getIgnoreSelectionChangeTime(){return this._ignoreSelectionChangeTime}resetSelectionChangeTime(){this._ignoreSelectionChangeTime=0}getValue(){return this._actual.value}setValue(e,t){let i=this._actual;i.value!==t&&(this.setIgnoreSelectionChangeTime("setValue"),i.value=t)}getSelectionStart(){return"backward"===this._actual.selectionDirection?this._actual.selectionEnd:this._actual.selectionStart}getSelectionEnd(){return"backward"===this._actual.selectionDirection?this._actual.selectionStart:this._actual.selectionEnd}setSelectionRange(e,t,i){let n=this._actual,r=null,l=o.Ay(n);r=l?l.activeElement:o.vY();let a=o.Jj(r),d=r===n,h=n.selectionStart,u=n.selectionEnd;if(d&&h===t&&u===i){s.vU&&a.parent!==a&&n.focus();return}if(d){this.setIgnoreSelectionChangeTime("setSelectionRange"),n.setSelectionRange(t,i),s.vU&&a.parent!==a&&n.focus();return}try{let e=o.vL(n);this.setIgnoreSelectionChangeTime("setSelectionRange"),n.focus(),n.setSelectionRange(t,i),o._0(n,e)}catch(e){}}}},15887:function(e,t,i){"use strict";i.d(t,{al:function(){return o},ee:function(){return l},un:function(){return r}});var n=i(97295),s=i(24314);let o=!1;class r{constructor(e,t,i,n,s){this.value=e,this.selectionStart=t,this.selectionEnd=i,this.selection=n,this.newlineCountBeforeSelection=s}toString(){return`[ <${this.value}>, selectionStart: ${this.selectionStart}, selectionEnd: ${this.selectionEnd}]`}static readFromTextArea(e,t){let i;let n=e.getValue(),s=e.getSelectionStart(),o=e.getSelectionEnd();if(t){let e=n.substring(0,s),o=t.value.substring(0,t.selectionStart);e===o&&(i=t.newlineCountBeforeSelection)}return new r(n,s,o,null,i)}collapseSelection(){return this.selectionStart===this.value.length?this:new r(this.value,this.value.length,this.value.length,null,void 0)}writeToTextArea(e,t,i){o&&console.log(`writeToTextArea ${e}: ${this.toString()}`),t.setValue(e,this.value),i&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)}deduceEditorPosition(e){var t,i,n,s,o,r,l,a;if(e<=this.selectionStart){let n=this.value.substring(e,this.selectionStart);return this._finishDeduceEditorPosition(null!==(i=null===(t=this.selection)||void 0===t?void 0:t.getStartPosition())&&void 0!==i?i:null,n,-1)}if(e>=this.selectionEnd){let t=this.value.substring(this.selectionEnd,e);return this._finishDeduceEditorPosition(null!==(s=null===(n=this.selection)||void 0===n?void 0:n.getEndPosition())&&void 0!==s?s:null,t,1)}let d=this.value.substring(this.selectionStart,e);if(-1===d.indexOf(String.fromCharCode(8230)))return this._finishDeduceEditorPosition(null!==(r=null===(o=this.selection)||void 0===o?void 0:o.getStartPosition())&&void 0!==r?r:null,d,1);let h=this.value.substring(e,this.selectionEnd);return this._finishDeduceEditorPosition(null!==(a=null===(l=this.selection)||void 0===l?void 0:l.getEndPosition())&&void 0!==a?a:null,h,-1)}_finishDeduceEditorPosition(e,t,i){let n=0,s=-1;for(;-1!==(s=t.indexOf("\n",s+1));)n++;return[e,i*t.length,n]}static deduceInput(e,t,i){if(!e)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};o&&(console.log("------------------------deduceInput"),console.log(`PREVIOUS STATE: ${e.toString()}`),console.log(`CURRENT STATE: ${t.toString()}`));let s=Math.min(n.Mh(e.value,t.value),e.selectionStart,t.selectionStart),r=Math.min(n.P1(e.value,t.value),e.value.length-e.selectionEnd,t.value.length-t.selectionEnd),l=e.value.substring(s,e.value.length-r),a=t.value.substring(s,t.value.length-r),d=e.selectionStart-s,h=e.selectionEnd-s,u=t.selectionStart-s,c=t.selectionEnd-s;if(o&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${l}>, selectionStart: ${d}, selectionEnd: ${h}`),console.log(`AFTER DIFFING CURRENT STATE: <${a}>, selectionStart: ${u}, selectionEnd: ${c}`)),u===c){let t=e.selectionStart-s;return o&&console.log(`REMOVE PREVIOUS: ${t} chars`),{text:a,replacePrevCharCnt:t,replaceNextCharCnt:0,positionDelta:0}}return{text:a,replacePrevCharCnt:h-d,replaceNextCharCnt:0,positionDelta:0}}static deduceAndroidCompositionInput(e,t){if(!e)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};if(o&&(console.log("------------------------deduceAndroidCompositionInput"),console.log(`PREVIOUS STATE: ${e.toString()}`),console.log(`CURRENT STATE: ${t.toString()}`)),e.value===t.value)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:t.selectionEnd-e.selectionEnd};let i=Math.min(n.Mh(e.value,t.value),e.selectionEnd),s=Math.min(n.P1(e.value,t.value),e.value.length-e.selectionEnd),r=e.value.substring(i,e.value.length-s),l=t.value.substring(i,t.value.length-s),a=e.selectionStart-i,d=e.selectionEnd-i,h=t.selectionStart-i,u=t.selectionEnd-i;return o&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${r}>, selectionStart: ${a}, selectionEnd: ${d}`),console.log(`AFTER DIFFING CURRENT STATE: <${l}>, selectionStart: ${h}, selectionEnd: ${u}`)),{text:l,replacePrevCharCnt:d,replaceNextCharCnt:r.length-d,positionDelta:u-l.length}}}r.EMPTY=new r("",0,0,null,void 0);class l{static _getPageOfLine(e,t){return Math.floor((e-1)/t)}static _getRangeForPage(e,t){let i=e*t;return new s.e(i+1,1,i+t+1,1)}static fromEditorSelection(e,t,i,n){let o;let a=l._getPageOfLine(t.startLineNumber,i),d=l._getRangeForPage(a,i),h=l._getPageOfLine(t.endLineNumber,i),u=l._getRangeForPage(h,i),c=d.intersectRanges(new s.e(1,1,t.startLineNumber,t.startColumn));if(n&&e.getValueLengthInRange(c,1)>500){let t=e.modifyPosition(c.getEndPosition(),-500);c=s.e.fromPositions(t,c.getEndPosition())}let g=e.getValueInRange(c,1),p=e.getLineCount(),m=e.getLineMaxColumn(p),f=u.intersectRanges(new s.e(t.endLineNumber,t.endColumn,p,m));if(n&&e.getValueLengthInRange(f,1)>500){let t=e.modifyPosition(f.getStartPosition(),500);f=s.e.fromPositions(f.getStartPosition(),t)}let _=e.getValueInRange(f,1);if(a===h||a+1===h)o=e.getValueInRange(t,1);else{let i=d.intersectRanges(t),n=u.intersectRanges(t);o=e.getValueInRange(i,1)+String.fromCharCode(8230)+e.getValueInRange(n,1)}return n&&o.length>1e3&&(o=o.substring(0,500)+String.fromCharCode(8230)+o.substring(o.length-500,o.length)),new r(g+o+_,g.length,g.length+o.length,t,c.endLineNumber-c.startLineNumber)}}},42549:function(e,t,i){"use strict";i.d(t,{wk:function(){return a},Ox:function(){return l}});var n,s,o,r,l,a,d=i(63580),h=i(16268),u=i(98401),c=i(85152),g=i(16830),p=i(11640),m=i(55343),f=i(50187),_=i(24314);class v{static columnSelect(e,t,i,n,s,o){let r=Math.abs(s-i)+1,l=i>s,a=n>o,d=no||pn||g0&&n--,v.columnSelect(e,t,i.fromViewLineNumber,i.fromViewVisualColumn,i.toViewLineNumber,n)}static columnSelectRight(e,t,i){let n=0,s=Math.min(i.fromViewLineNumber,i.toViewLineNumber),o=Math.max(i.fromViewLineNumber,i.toViewLineNumber);for(let i=s;i<=o;i++){let s=t.getLineMaxColumn(i),o=e.visibleColumnFromColumn(t,new f.L(i,s));n=Math.max(n,o)}let r=i.toViewVisualColumn;return r{let i=e.get(p.$).getFocusedCodeEditor();return!!(i&&i.hasTextFocus())&&this._runEditorCommand(e,i,t)}),e.addImplementation(1e3,"generic-dom-input-textarea",(e,t)=>{let i=(0,k.vY)();return!!(i&&["input","textarea"].indexOf(i.tagName.toLowerCase())>=0)&&(this.runDOMCommand(i),!0)}),e.addImplementation(0,"generic-dom",(e,t)=>{let i=e.get(p.$).getActiveCodeEditor();return!!i&&(i.focus(),this._runEditorCommand(e,i,t))})}_runEditorCommand(e,t,i){let n=this.runEditorCommand(e,t,i);return!n||n}}!function(e){class t extends D{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){if(!t.position)return;e.model.pushStackElement();let i=e.setCursorStates(t.source,3,[C.P.moveTo(e,e.getPrimaryCursorState(),this._inSelectionMode,t.position,t.viewPosition)]);i&&2!==t.revealType&&e.revealAllCursors(t.source,!0,!0)}}e.MoveTo=(0,g.fK)(new t({id:"_moveTo",inSelectionMode:!1,precondition:void 0})),e.MoveToSelect=(0,g.fK)(new t({id:"_moveToSelect",inSelectionMode:!0,precondition:void 0}));class i extends D{runCoreEditorCommand(e,t){e.model.pushStackElement();let i=this._getColumnSelectResult(e,e.getPrimaryCursorState(),e.getCursorColumnSelectData(),t);null!==i&&(e.setCursorStates(t.source,3,i.viewStates.map(e=>m.Vi.fromViewState(e))),e.setCursorColumnSelectData({isReal:!0,fromViewLineNumber:i.fromLineNumber,fromViewVisualColumn:i.fromVisualColumn,toViewLineNumber:i.toLineNumber,toViewVisualColumn:i.toVisualColumn}),i.reversed?e.revealTopMostCursor(t.source):e.revealBottomMostCursor(t.source))}}e.ColumnSelect=(0,g.fK)(new class extends i{constructor(){super({id:"columnSelect",precondition:void 0})}_getColumnSelectResult(e,t,i,n){if(void 0===n.position||void 0===n.viewPosition||void 0===n.mouseColumn)return null;let s=e.model.validatePosition(n.position),o=e.coordinatesConverter.validateViewPosition(new f.L(n.viewPosition.lineNumber,n.viewPosition.column),s),r=n.doColumnSelect?i.fromViewLineNumber:o.lineNumber,l=n.doColumnSelect?i.fromViewVisualColumn:n.mouseColumn-1;return v.columnSelect(e.cursorConfig,e,r,l,o.lineNumber,n.mouseColumn-1)}}),e.CursorColumnSelectLeft=(0,g.fK)(new class extends i{constructor(){super({id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:3599,linux:{primary:0}}})}_getColumnSelectResult(e,t,i,n){return v.columnSelectLeft(e.cursorConfig,e,i)}}),e.CursorColumnSelectRight=(0,g.fK)(new class extends i{constructor(){super({id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:3601,linux:{primary:0}}})}_getColumnSelectResult(e,t,i,n){return v.columnSelectRight(e.cursorConfig,e,i)}});class n extends i{constructor(e){super(e),this._isPaged=e.isPaged}_getColumnSelectResult(e,t,i,n){return v.columnSelectUp(e.cursorConfig,e,i,this._isPaged)}}e.CursorColumnSelectUp=(0,g.fK)(new n({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:3600,linux:{primary:0}}})),e.CursorColumnSelectPageUp=(0,g.fK)(new n({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:3595,linux:{primary:0}}}));class s extends i{constructor(e){super(e),this._isPaged=e.isPaged}_getColumnSelectResult(e,t,i,n){return v.columnSelectDown(e.cursorConfig,e,i,this._isPaged)}}e.CursorColumnSelectDown=(0,g.fK)(new s({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:3602,linux:{primary:0}}})),e.CursorColumnSelectPageDown=(0,g.fK)(new s({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:3596,linux:{primary:0}}}));class l extends D{constructor(){super({id:"cursorMove",precondition:void 0,metadata:C.N.metadata})}runCoreEditorCommand(e,t){let i=C.N.parse(t);i&&this._runCursorMove(e,t.source,i)}_runCursorMove(e,t,i){e.model.pushStackElement(),e.setCursorStates(t,3,l._move(e,e.getCursorStates(),i)),e.revealAllCursors(t,!0)}static _move(e,t,i){let n=i.select,s=i.value;switch(i.direction){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:return C.P.simpleMove(e,t,i.direction,n,s,i.unit);case 11:case 13:case 12:case 14:return C.P.viewportMove(e,t,i.direction,n,s);default:return null}}}e.CursorMoveImpl=l,e.CursorMove=(0,g.fK)(new l);class a extends D{constructor(e){super(e),this._staticArgs=e.args}runCoreEditorCommand(e,t){let i=this._staticArgs;-1===this._staticArgs.value&&(i={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:t.pageSize||e.cursorConfig.pageSize}),e.model.pushStackElement(),e.setCursorStates(t.source,3,C.P.simpleMove(e,e.getCursorStates(),i.direction,i.select,i.value,i.unit)),e.revealAllCursors(t.source,!0)}}e.CursorLeft=(0,g.fK)(new a({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),e.CursorLeftSelect=(0,g.fK)(new a({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1039}})),e.CursorRight=(0,g.fK)(new a({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),e.CursorRightSelect=(0,g.fK)(new a({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1041}})),e.CursorUp=(0,g.fK)(new a({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),e.CursorUpSelect=(0,g.fK)(new a({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),e.CursorPageUp=(0,g.fK)(new a({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:11}})),e.CursorPageUpSelect=(0,g.fK)(new a({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1035}})),e.CursorDown=(0,g.fK)(new a({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),e.CursorDownSelect=(0,g.fK)(new a({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),e.CursorPageDown=(0,g.fK)(new a({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:12}})),e.CursorPageDownSelect=(0,g.fK)(new a({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1036}})),e.CreateCursor=(0,g.fK)(new class extends D{constructor(){super({id:"createCursor",precondition:void 0})}runCoreEditorCommand(e,t){let i;if(!t.position)return;i=t.wholeLine?C.P.line(e,e.getPrimaryCursorState(),!1,t.position,t.viewPosition):C.P.moveTo(e,e.getPrimaryCursorState(),!1,t.position,t.viewPosition);let n=e.getCursorStates();if(n.length>1){let s=i.modelState?i.modelState.position:null,o=i.viewState?i.viewState.position:null;for(let i=0,r=n.length;is&&(n=s);let o=new _.e(n,1,n,e.model.getLineMaxColumn(n)),l=0;if(t.at)switch(t.at){case r.RawAtArgument.Top:l=3;break;case r.RawAtArgument.Center:l=1;break;case r.RawAtArgument.Bottom:l=4}let a=e.coordinatesConverter.convertModelRangeToViewRange(o);e.revealRange(t.source,!1,a,l,0)}}),e.SelectAll=new class extends x{constructor(){super(g.Sq)}runDOMCommand(e){h.vU&&(e.focus(),e.select()),e.ownerDocument.execCommand("selectAll")}runEditorCommand(e,t,i){let n=t._getViewModel();n&&this.runCoreEditorCommand(n,i)}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates("keyboard",3,[C.P.selectAll(e,e.getPrimaryCursorState())])}},e.SetSelection=(0,g.fK)(new class extends D{constructor(){super({id:"setSelection",precondition:void 0})}runCoreEditorCommand(e,t){t.selection&&(e.model.pushStackElement(),e.setCursorStates(t.source,3,[m.Vi.fromModelSelection(t.selection)]))}})}(l||(l={}));let N=S.Ao.and(y.u.textInputFocus,y.u.columnSelection);function E(e,t){L.W.registerKeybindingRule({id:e,primary:t,when:N,weight:1})}function I(e){return e.register(),e}E(l.CursorColumnSelectLeft.id,1039),E(l.CursorColumnSelectRight.id,1041),E(l.CursorColumnSelectUp.id,1040),E(l.CursorColumnSelectPageUp.id,1035),E(l.CursorColumnSelectDown.id,1042),E(l.CursorColumnSelectPageDown.id,1036),function(e){class t extends g._l{runEditorCommand(e,t,i){let n=t._getViewModel();n&&this.runCoreEditingCommand(t,n,i||{})}}e.CoreEditingCommand=t,e.LineBreakInsert=(0,g.fK)(new class extends t{constructor(){super({id:"lineBreakInsert",precondition:y.u.writable,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:0,mac:{primary:301}}})}runCoreEditingCommand(e,t,i){e.pushUndoStop(),e.executeCommands(this.id,w.u6.lineBreakInsert(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection)))}}),e.Outdent=(0,g.fK)(new class extends t{constructor(){super({id:"outdent",precondition:y.u.writable,kbOpts:{weight:0,kbExpr:S.Ao.and(y.u.editorTextFocus,y.u.tabDoesNotMoveFocus),primary:1026}})}runCoreEditingCommand(e,t,i){e.pushUndoStop(),e.executeCommands(this.id,w.u6.outdent(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection))),e.pushUndoStop()}}),e.Tab=(0,g.fK)(new class extends t{constructor(){super({id:"tab",precondition:y.u.writable,kbOpts:{weight:0,kbExpr:S.Ao.and(y.u.editorTextFocus,y.u.tabDoesNotMoveFocus),primary:2}})}runCoreEditingCommand(e,t,i){e.pushUndoStop(),e.executeCommands(this.id,w.u6.tab(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection))),e.pushUndoStop()}}),e.DeleteLeft=(0,g.fK)(new class extends t{constructor(){super({id:"deleteLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})}runCoreEditingCommand(e,t,i){let[n,s]=b.A.deleteLeft(t.getPrevEditOperationType(),t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection),t.getCursorAutoClosedCharacters());n&&e.pushUndoStop(),e.executeCommands(this.id,s),t.setPrevEditOperationType(2)}}),e.DeleteRight=(0,g.fK)(new class extends t{constructor(){super({id:"deleteRight",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})}runCoreEditingCommand(e,t,i){let[n,s]=b.A.deleteRight(t.getPrevEditOperationType(),t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection));n&&e.pushUndoStop(),e.executeCommands(this.id,s),t.setPrevEditOperationType(3)}}),e.Undo=new class extends x{constructor(){super(g.n_)}runDOMCommand(e){e.ownerDocument.execCommand("undo")}runEditorCommand(e,t,i){if(t.hasModel()&&!0!==t.getOption(91))return t.getModel().undo()}},e.Redo=new class extends x{constructor(){super(g.kz)}runDOMCommand(e){e.ownerDocument.execCommand("redo")}runEditorCommand(e,t,i){if(t.hasModel()&&!0!==t.getOption(91))return t.getModel().redo()}}}(a||(a={}));class T extends g.mY{constructor(e,t,i){super({id:e,precondition:void 0,metadata:i}),this._handlerId=t}runCommand(e,t){let i=e.get(p.$).getFocusedCodeEditor();i&&i.trigger("keyboard",this._handlerId,t)}}function M(e,t){I(new T("default:"+e,e)),I(new T(e,e,t))}M("type",{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),M("replacePreviousChar"),M("compositionType"),M("compositionStart"),M("compositionEnd"),M("paste"),M("cut")},92944:function(e,t,i){"use strict";i.d(t,{B:function(){return a},L:function(){return h}});var n=i(23547),s=i(73278),o=i(81170),r=i(70666),l=i(16021);function a(e){let t=new s.Hl;for(let i of e.items){let e=i.type;if("string"===i.kind){let n=new Promise(e=>i.getAsString(e));t.append(e,(0,s.ZO)(n))}else if("file"===i.kind){let n=i.getAsFile();n&&t.append(e,function(e){let t=e.path?r.o.parse(e.path):void 0;return(0,s.Ix)(e.name,t,async()=>new Uint8Array(await e.arrayBuffer()))}(n))}}return t}let d=Object.freeze([l.Km.EDITORS,l.Km.FILES,n.g.RESOURCES,n.g.INTERNAL_URI_LIST]);function h(e,t=!1){let i=a(e),l=i.get(n.g.INTERNAL_URI_LIST);if(l)i.replace(o.v.uriList,l);else if(t||!i.has(o.v.uriList)){let t=[];for(let i of e.items){let e=i.getAsFile();if(e){let i=e.path;try{i?t.push(r.o.file(i).toString()):t.push(r.o.parse(e.name,!0).toString())}catch(e){}}}t.length&&i.replace(o.v.uriList,(0,s.ZO)(s.Z0.create(t)))}for(let e of d)i.delete(e);return i}},65520:function(e,t,i){"use strict";i.d(t,{CL:function(){return s},Pi:function(){return r},QI:function(){return o}});var n=i(96518);function s(e){return!!e&&"function"==typeof e.getEditorType&&e.getEditorType()===n.g.ICodeEditor}function o(e){return!!e&&"function"==typeof e.getEditorType&&e.getEditorType()===n.g.IDiffEditor}function r(e){return s(e)?e:o(e)?e.getModifiedEditor():e&&"object"==typeof e&&"function"==typeof e.onDidChangeActiveEditor&&s(e.activeCodeEditor)?e.activeCodeEditor:null}},29994:function(e,t,i){"use strict";i.d(t,{AL:function(){return v},N5:function(){return f},Pp:function(){return p},YN:function(){return d},gy:function(){return m},kG:function(){return g},rU:function(){return h},t7:function(){return b},tC:function(){return _}});var n=i(65321),s=i(93911),o=i(7317),r=i(15393),l=i(5976),a=i(75974);class d{constructor(e,t){this.x=e,this.y=t,this._pageCoordinatesBrand=void 0}toClientCoordinates(e){return new h(this.x-e.scrollX,this.y-e.scrollY)}}class h{constructor(e,t){this.clientX=e,this.clientY=t,this._clientCoordinatesBrand=void 0}toPageCoordinates(e){return new d(this.clientX+e.scrollX,this.clientY+e.scrollY)}}class u{constructor(e,t,i,n){this.x=e,this.y=t,this.width=i,this.height=n,this._editorPagePositionBrand=void 0}}class c{constructor(e,t){this.x=e,this.y=t,this._positionRelativeToEditorBrand=void 0}}function g(e){let t=n.i(e);return new u(t.left,t.top,t.width,t.height)}function p(e,t,i){let n=t.width/e.offsetWidth,s=t.height/e.offsetHeight,o=(i.x-t.x)/n,r=(i.y-t.y)/s;return new c(o,r)}class m extends o.n{constructor(e,t,i){super(n.Jj(i),e),this._editorMouseEventBrand=void 0,this.isFromPointerCapture=t,this.pos=new d(this.posx,this.posy),this.editorPos=g(i),this.relativePos=p(i,this.editorPos,this.pos)}}class f{constructor(e){this._editorViewDomNode=e}_create(e){return new m(e,!1,this._editorViewDomNode)}onContextMenu(e,t){return n.nm(e,"contextmenu",e=>{t(this._create(e))})}onMouseUp(e,t){return n.nm(e,"mouseup",e=>{t(this._create(e))})}onMouseDown(e,t){return n.nm(e,n.tw.MOUSE_DOWN,e=>{t(this._create(e))})}onPointerDown(e,t){return n.nm(e,n.tw.POINTER_DOWN,e=>{t(this._create(e),e.pointerId)})}onMouseLeave(e,t){return n.nm(e,n.tw.MOUSE_LEAVE,e=>{t(this._create(e))})}onMouseMove(e,t){return n.nm(e,"mousemove",e=>t(this._create(e)))}}class _{constructor(e){this._editorViewDomNode=e}_create(e){return new m(e,!1,this._editorViewDomNode)}onPointerUp(e,t){return n.nm(e,"pointerup",e=>{t(this._create(e))})}onPointerDown(e,t){return n.nm(e,n.tw.POINTER_DOWN,e=>{t(this._create(e),e.pointerId)})}onPointerLeave(e,t){return n.nm(e,n.tw.POINTER_LEAVE,e=>{t(this._create(e))})}onPointerMove(e,t){return n.nm(e,"pointermove",e=>t(this._create(e)))}}class v extends l.JT{constructor(e){super(),this._editorViewDomNode=e,this._globalPointerMoveMonitor=this._register(new s.C),this._keydownListener=null}startMonitoring(e,t,i,s,o){this._keydownListener=n.mu(e.ownerDocument,"keydown",e=>{let t=e.toKeyCodeChord();t.isModifierKey()||this._globalPointerMoveMonitor.stopMonitoring(!0,e.browserEvent)},!0),this._globalPointerMoveMonitor.startMonitoring(e,t,i,e=>{s(new m(e,!0,this._editorViewDomNode))},e=>{this._keydownListener.dispose(),o(e)})}stopMonitoring(){this._globalPointerMoveMonitor.stopMonitoring(!0)}}class b{constructor(e){this._editor=e,this._instanceId=++b._idPool,this._counter=0,this._rules=new Map,this._garbageCollectionScheduler=new r.pY(()=>this.garbageCollect(),1e3)}createClassNameRef(e){let t=this.getOrCreateRule(e);return t.increaseRefCount(),{className:t.className,dispose:()=>{t.decreaseRefCount(),this._garbageCollectionScheduler.schedule()}}}getOrCreateRule(e){let t=this.computeUniqueKey(e),i=this._rules.get(t);if(!i){let s=this._counter++;i=new C(t,`dyn-rule-${this._instanceId}-${s}`,n.OO(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0,e),this._rules.set(t,i)}return i}computeUniqueKey(e){return JSON.stringify(e)}garbageCollect(){for(let e of this._rules.values())e.hasReferences()||(this._rules.delete(e.key),e.dispose())}}b._idPool=0;class C{constructor(e,t,i,s){this.key=e,this.className=t,this.properties=s,this._referenceCount=0,this._styleElementDisposables=new l.SL,this._styleElement=n.dS(i,void 0,this._styleElementDisposables),this._styleElement.textContent=this.getCssText(this.className,this.properties)}getCssText(e,t){let i=`.${e} {`;for(let e in t){let n;let s=t[e];n="object"==typeof s?(0,a.n_1)(s.id):s;let o=e.replace(/(^[A-Z])/,([e])=>e.toLowerCase()).replace(/([A-Z])/g,([e])=>`-${e.toLowerCase()}`);i+=` - ${o}: ${n};`}return i+` -}`}dispose(){this._styleElementDisposables.dispose(),this._styleElement=void 0}increaseRefCount(){this._referenceCount++}decreaseRefCount(){this._referenceCount--}hasReferences(){return this._referenceCount>0}}},16830:function(e,t,i){"use strict";i.d(t,{AJ:function(){return y},QG:function(){return M},Qr:function(){return I},R6:function(){return k},Sq:function(){return B},Uc:function(){return s},_K:function(){return R},_l:function(){return L},fK:function(){return E},jY:function(){return D},kz:function(){return F},mY:function(){return w},n_:function(){return O},rn:function(){return T},sb:function(){return N},x1:function(){return x}});var n,s,o=i(63580),r=i(70666),l=i(11640),a=i(50187),d=i(73733),h=i(88216),u=i(84144),c=i(94565),g=i(32064),p=i(72065),m=i(49989),f=i(89872),_=i(10829),v=i(98401),b=i(43557),C=i(65321);class w{constructor(e){this.id=e.id,this.precondition=e.precondition,this._kbOpts=e.kbOpts,this._menuOpts=e.menuOpts,this.metadata=e.metadata}register(){if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){let e=Array.isArray(this._kbOpts)?this._kbOpts:[this._kbOpts];for(let t of e){let e=t.kbExpr;this.precondition&&(e=e?g.Ao.and(e,this.precondition):this.precondition);let i={id:this.id,weight:t.weight,args:t.args,when:e,primary:t.primary,secondary:t.secondary,win:t.win,linux:t.linux,mac:t.mac};m.W.registerKeybindingRule(i)}}c.P.registerCommand({id:this.id,handler:(e,t)=>this.runCommand(e,t),metadata:this.metadata})}_registerMenuItem(e){u.BH.appendMenuItem(e.menuId,{group:e.group,command:{id:this.id,title:e.title,icon:e.icon,precondition:this.precondition},when:e.when,order:e.order})}}class y extends w{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t,i,n){return this._implementations.push({priority:e,name:t,implementation:i,when:n}),this._implementations.sort((e,t)=>t.priority-e.priority),{dispose:()=>{for(let e=0;e{let s=e.get(g.i6);if(s.contextMatchesRules(null!=i?i:void 0))return n(e,o,t)})}runCommand(e,t){return L.runEditorCommand(e,t,this.precondition,(e,t,i)=>this.runEditorCommand(e,t,i))}}class k extends L{static convertOptions(e){let t;function i(t){return t.menuId||(t.menuId=u.eH.EditorContext),t.title||(t.title=e.label),t.when=g.Ao.and(e.precondition,t.when),t}return t=Array.isArray(e.menuOpts)?e.menuOpts:e.menuOpts?[e.menuOpts]:[],Array.isArray(e.contextMenuOpts)?t.push(...e.contextMenuOpts.map(i)):e.contextMenuOpts&&t.push(i(e.contextMenuOpts)),e.menuOpts=t,e}constructor(e){super(k.convertOptions(e)),this.label=e.label,this.alias=e.alias}runEditorCommand(e,t,i){return this.reportTelemetry(e,t),this.run(e,t,i||{})}reportTelemetry(e,t){e.get(_.b).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}}class D extends k{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t){return this._implementations.push([e,t]),this._implementations.sort((e,t)=>t[0]-e[0]),{dispose:()=>{for(let e=0;e{var i,s;let o=e.get(g.i6),r=e.get(b.VZ),l=o.contextMatchesRules(null!==(i=this.desc.precondition)&&void 0!==i?i:void 0);if(!l){r.debug("[EditorAction2] NOT running command because its precondition is FALSE",this.desc.id,null===(s=this.desc.precondition)||void 0===s?void 0:s.serialize());return}return this.runEditorCommand(e,n,...t)})}}function N(e,t){c.P.registerCommand(e,function(e,...i){let n=e.get(p.TG),[s,o]=i;(0,v.p_)(r.o.isUri(s)),(0,v.p_)(a.L.isIPosition(o));let l=e.get(d.q).getModel(s);if(l){let e=a.L.lift(o);return n.invokeFunction(t,l,e,...i.slice(2))}return e.get(h.S).createModelReference(s).then(e=>new Promise((s,r)=>{try{let r=n.invokeFunction(t,e.object.textEditorModel,a.L.lift(o),i.slice(2));s(r)}catch(e){r(e)}}).finally(()=>{e.dispose()}))})}function E(e){return A.INSTANCE.registerEditorCommand(e),e}function I(e){let t=new e;return A.INSTANCE.registerEditorAction(t),t}function T(e){return A.INSTANCE.registerEditorAction(e),e}function M(e){A.INSTANCE.registerEditorAction(e)}function R(e,t,i){A.INSTANCE.registerEditorContribution(e,t,i)}(n=s||(s={})).getEditorCommand=function(e){return A.INSTANCE.getEditorCommand(e)},n.getEditorActions=function(){return A.INSTANCE.getEditorActions()},n.getEditorContributions=function(){return A.INSTANCE.getEditorContributions()},n.getSomeEditorContributions=function(e){return A.INSTANCE.getEditorContributions().filter(t=>e.indexOf(t.id)>=0)},n.getDiffEditorContributions=function(){return A.INSTANCE.getDiffEditorContributions()};class A{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(e,t,i){this.editorContributions.push({id:e,ctor:t,instantiation:i})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(e){e.register(),this.editorActions.push(e)}getEditorActions(){return this.editorActions}registerEditorCommand(e){e.register(),this.editorCommands[e.id]=e}getEditorCommand(e){return this.editorCommands[e]||null}}function P(e){return e.register(),e}A.INSTANCE=new A,f.B.add("editor.contributions",A.INSTANCE);let O=P(new y({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:u.eH.MenubarEditMenu,group:"1_do",title:o.NC({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1},{menuId:u.eH.CommandPalette,group:"",title:o.NC("undo","Undo"),order:1}]}));P(new S(O,{id:"default:undo",precondition:void 0}));let F=P(new y({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:u.eH.MenubarEditMenu,group:"1_do",title:o.NC({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2},{menuId:u.eH.CommandPalette,group:"",title:o.NC("redo","Redo"),order:1}]}));P(new S(F,{id:"default:redo",precondition:void 0}));let B=P(new y({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:u.eH.MenubarSelectionMenu,group:"1_basic",title:o.NC({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1},{menuId:u.eH.CommandPalette,group:"",title:o.NC("selectAll","Select All"),order:1}]}))},66007:function(e,t,i){"use strict";i.d(t,{Gl:function(){return a},fo:function(){return l},vu:function(){return r}});var n=i(72065),s=i(70666),o=i(98401);let r=(0,n.yh)("IWorkspaceEditService");class l{constructor(e){this.metadata=e}static convert(e){return e.edits.map(e=>{if(a.is(e))return a.lift(e);if(d.is(e))return d.lift(e);throw Error("Unsupported edit")})}}class a extends l{static is(e){return e instanceof a||(0,o.Kn)(e)&&s.o.isUri(e.resource)&&(0,o.Kn)(e.textEdit)}static lift(e){return e instanceof a?e:new a(e.resource,e.textEdit,e.versionId,e.metadata)}constructor(e,t,i,n){super(n),this.resource=e,this.textEdit=t,this.versionId=i}}class d extends l{static is(e){return e instanceof d||(0,o.Kn)(e)&&(!!e.newResource||!!e.oldResource)}static lift(e){return e instanceof d?e:new d(e.oldResource,e.newResource,e.options,e.metadata)}constructor(e,t,i={},n){super(n),this.oldResource=e,this.newResource=t,this.options=i}}},11640:function(e,t,i){"use strict";i.d(t,{$:function(){return s}});var n=i(72065);let s=(0,n.yh)("codeEditorService")},3666:function(e,t,i){"use strict";i.d(t,{Q8:function(){return eR},eu:function(){return ex}});var n=i(15393),s=i(5976),o=i(17301),r=i(4669),l=i(36248),a=i(1432),d=i(97295);let h=!1;function u(e){a.$L&&(h||(h=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/microsoft/monaco-editor#faq")),console.warn(e.message))}class c{constructor(e,t,i,n){this.vsWorker=e,this.req=t,this.method=i,this.args=n,this.type=0}}class g{constructor(e,t,i,n){this.vsWorker=e,this.seq=t,this.res=i,this.err=n,this.type=1}}class p{constructor(e,t,i,n){this.vsWorker=e,this.req=t,this.eventName=i,this.arg=n,this.type=2}}class m{constructor(e,t,i){this.vsWorker=e,this.req=t,this.event=i,this.type=3}}class f{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class _{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){let i=String(++this._lastSentReq);return new Promise((n,s)=>{this._pendingReplies[i]={resolve:n,reject:s},this._send(new c(this._workerId,i,e,t))})}listen(e,t){let i=null,n=new r.Q5({onWillAddFirstListener:()=>{i=String(++this._lastSentReq),this._pendingEmitters.set(i,n),this._send(new p(this._workerId,i,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(i),this._send(new f(this._workerId,i)),i=null}});return n.event}handleMessage(e){e&&e.vsWorker&&(-1===this._workerId||e.vsWorker===this._workerId)&&this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let i=e.err;e.err.$isError&&((i=Error()).name=e.err.name,i.message=e.err.message,i.stack=e.err.stack),t.reject(i);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req,i=this._handler.handleMessage(e.method,e.args);i.then(e=>{this._send(new g(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=(0,o.ri)(e.detail)),this._send(new g(this._workerId,t,void 0,(0,o.ri)(e)))})}_handleSubscribeEventMessage(e){let t=e.req,i=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new m(this._workerId,t,e))});this._pendingEvents.set(t,i)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(0===e.type)for(let i=0;i{this._protocol.handleMessage(e)},e=>{null==n||n(e)})),this._protocol=new _({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof i[e])return Promise.reject(Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(i[e].apply(i,t))}catch(e){return Promise.reject(e)}},handleEvent:(e,t)=>{if(C(e)){let n=i[e].call(i,t);if("function"!=typeof n)throw Error(`Missing dynamic event ${e} on main thread host.`);return n}if(b(e)){let t=i[e];if("function"!=typeof t)throw Error(`Missing event ${e} on main thread host.`);return t}throw Error(`Malformed event name ${e}`)}}),this._protocol.setWorkerId(this._worker.getId());let s=null,o=globalThis.require;void 0!==o&&"function"==typeof o.getConfig?s=o.getConfig():void 0!==globalThis.requirejs&&(s=globalThis.requirejs.s.contexts._.config);let r=(0,l.$E)(i);this._onModuleLoaded=this._protocol.sendMessage("$initialize",[this._worker.getId(),JSON.parse(JSON.stringify(s)),t,r]);let a=(e,t)=>this._request(e,t),d=(e,t)=>this._protocol.listen(e,t);this._lazyProxy=new Promise((e,i)=>{n=i,this._onModuleLoaded.then(t=>{e(function(e,t,i){let n=e=>function(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},s=e=>function(t){return i(e,t)},o={};for(let t of e){if(C(t)){o[t]=s(t);continue}if(b(t)){o[t]=i(t,void 0);continue}o[t]=n(t)}return o}(t,a,d))},e=>{i(e),this._onError("Worker failed to load "+t,e)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((i,n)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(i,n)},n)})}_onError(e,t){console.error(e),console.info(t)}}function b(e){return"o"===e[0]&&"n"===e[1]&&d.df(e.charCodeAt(2))}function C(e){return/^onDynamic/.test(e)&&d.df(e.charCodeAt(9))}var w=i(77514);let y=(0,w.Z)("defaultWorkerFactory",{createScriptURL:e=>e});class S extends s.JT{constructor(e,t,i,n,o){super(),this.id=t,this.label=i;let r=function(e){let t=globalThis.MonacoEnvironment;if(t){if("function"==typeof t.getWorker)return t.getWorker("workerMain.js",e);if("function"==typeof t.getWorkerUrl){let i=t.getWorkerUrl("workerMain.js",e);return new Worker(y?y.createScriptURL(i):i,{name:e})}}throw Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}(i);("function"==typeof r.then?0:1)?this.worker=Promise.resolve(r):this.worker=r,this.postMessage(e,[]),this.worker.then(e=>{e.onmessage=function(e){n(e.data)},e.onmessageerror=o,"function"==typeof e.addEventListener&&e.addEventListener("error",o)}),this._register((0,s.OF)(()=>{var e;null===(e=this.worker)||void 0===e||e.then(e=>{e.onmessage=null,e.onmessageerror=null,e.removeEventListener("error",o),e.terminate()}),this.worker=null}))}getId(){return this.id}postMessage(e,t){var i;null===(i=this.worker)||void 0===i||i.then(i=>{try{i.postMessage(e,t)}catch(e){(0,o.dL)(e),(0,o.dL)(Error(`FAILED to post message to '${this.label}'-worker`,{cause:e}))}})}}class L{constructor(e){this._label=e,this._webWorkerFailedBeforeError=!1}create(e,t,i){let n=++L.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new S(e,n,this._label||"anonymous"+n,t,e=>{u(e),this._webWorkerFailedBeforeError=e,i(e)})}}L.LAST_WORKER_ID=0;var k=i(24314),D=i(4256),x=i(22571),N=i(70666),E=i(50187),I=i(90310);class T{constructor(e,t,i,n){this._uri=e,this._lines=t,this._eol=i,this._versionId=n,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);let t=e.changes;for(let e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new E.L(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,t=this._lines.length,i=new Uint32Array(t);for(let n=0;nt&&(t=o),s>i&&(i=s),r>i&&(i=r)}t++,i++;let n=new A(i,t,0);for(let t=0,i=e.length;t=this._maxCharCode?0:this._states.get(e,t)}}let O=null;function F(){return null===O&&(O=new P([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),O}let B=null;class W{static _createLink(e,t,i,n,s){let o=s-1;do{let i=t.charCodeAt(o),n=e.get(i);if(2!==n)break;o--}while(o>n);if(n>0){let e=t.charCodeAt(n-1),i=t.charCodeAt(o);(40===e&&41===i||91===e&&93===i||123===e&&125===i)&&o--}return{range:{startLineNumber:i,startColumn:n+1,endLineNumber:i,endColumn:o+2},url:t.substring(n,o+1)}}static computeLinks(e,t=F()){let i=function(){if(null===B){B=new R.N(0);let e=" <>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let t=0;t=0?((n+=i?1:-1)<0?n=e.length-1:n%=e.length,e[n]):null}}H.INSTANCE=new H;var V=i(20927),z=i(84013),K=i(31446),U=i(60652),$=i(54648),q=i(35146),j=i(45463);class G{computeDiff(e,t,i){var n;let s=new ee(e,t,{maxComputationTime:i.maxComputationTimeMs,shouldIgnoreTrimWhitespace:i.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}),o=s.computeDiff(),r=[],l=null;for(let e of o.changes){let t,i;t=0===e.originalEndLineNumber?new j.z(e.originalStartLineNumber+1,e.originalStartLineNumber+1):new j.z(e.originalStartLineNumber,e.originalEndLineNumber+1),i=0===e.modifiedEndLineNumber?new j.z(e.modifiedStartLineNumber+1,e.modifiedStartLineNumber+1):new j.z(e.modifiedStartLineNumber,e.modifiedEndLineNumber+1);let s=new $.gB(t,i,null===(n=e.charChanges)||void 0===n?void 0:n.map(e=>new $.iy(new k.e(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new k.e(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn))));l&&(l.modified.endLineNumberExclusive===s.modified.startLineNumber||l.original.endLineNumberExclusive===s.original.startLineNumber)&&(s=new $.gB(l.original.join(s.original),l.modified.join(s.modified),l.innerChanges&&s.innerChanges?l.innerChanges.concat(s.innerChanges):void 0),r.pop()),r.push(s),l=s}return(0,q.eZ)(()=>(0,q.DM)(r,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return -1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e])?this._lineNumbers[e]+1:this._lineNumbers[e]}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return -1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e])?1:this._columns[e]+1}}class J{constructor(e,t,i,n,s,o,r,l){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=i,this.originalEndColumn=n,this.modifiedStartLineNumber=s,this.modifiedStartColumn=o,this.modifiedEndLineNumber=r,this.modifiedEndColumn=l}static createFromDiffChange(e,t,i){let n=t.getStartLineNumber(e.originalStart),s=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),r=t.getEndColumn(e.originalStart+e.originalLength-1),l=i.getStartLineNumber(e.modifiedStart),a=i.getStartColumn(e.modifiedStart),d=i.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),h=i.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new J(n,s,o,r,l,a,d,h)}}class X{constructor(e,t,i,n,s){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=i,this.modifiedEndLineNumber=n,this.charChanges=s}static createFromDiffResult(e,t,i,n,s,o,r){let l,a,d,h,u;if(0===t.originalLength?(l=i.getStartLineNumber(t.originalStart)-1,a=0):(l=i.getStartLineNumber(t.originalStart),a=i.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(d=n.getStartLineNumber(t.modifiedStart)-1,h=0):(d=n.getStartLineNumber(t.modifiedStart),h=n.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),o&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&s()){let o=i.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),l=n.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(o.getElements().length>0&&l.getElements().length>0){let e=Q(o,l,s,!0).changes;r&&(e=function(e){if(e.length<=1)return e;let t=[e[0]],i=t[0];for(let n=1,s=e.length;n1&&r>1;){let n=e.charCodeAt(i-2),s=t.charCodeAt(r-2);if(n!==s)break;i--,r--}(i>1||r>1)&&this._pushTrimWhitespaceCharChange(n,s+1,1,i,o+1,1,r)}{let i=ei(e,1),r=ei(t,1),l=e.length+1,a=t.length+1;for(;i!0;let t=Date.now();return()=>Date.now()-tnew G,getDefault:()=>new es.DW};var er=i(41264);function el(e){let t=[];for(let i of e){let e=Number(i);(e||0===e&&""!==i.replace(/\s/g,""))&&t.push(e)}return t}function ea(e,t,i,n){return{red:e/255,blue:i/255,green:t/255,alpha:n}}function ed(e,t){let i=t.index,n=t[0].length;if(!i)return;let s=e.positionAt(i),o={startLineNumber:s.lineNumber,startColumn:s.column,endLineNumber:s.lineNumber,endColumn:s.column+n};return o}function eh(e,t,i){if(!e||1!==t.length)return;let n=t[0],s=n.values(),o=el(s);return{range:e,color:ea(o[0],o[1],o[2],i?o[3]:1)}}function eu(e,t,i){if(!e||1!==t.length)return;let n=t[0],s=n.values(),o=el(s),r=new er.Il(new er.Oz(o[0],o[1]/100,o[2]/100,i?o[3]:1));return{range:e,color:ea(r.rgba.r,r.rgba.g,r.rgba.b,r.rgba.a)}}function ec(e,t){return"string"==typeof e?[...e.matchAll(t)]:e.findMatches(t)}let eg=RegExp("\\bMARK:\\s*(.*)$","d"),ep=/^-+|-+$/g;function em(e){e=e.trim();let t=e.startsWith("-");return{text:e=e.replace(ep,""),hasSeparatorLine:t}}class ef extends T{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(e){let t=[];for(let i=0;ithis._lines.length)t=this._lines.length,i=this._lines[t-1].length+1,n=!0;else{let e=this._lines[t-1].length+1;i<1?(i=1,n=!0):i>e&&(i=e,n=!0)}return n?{lineNumber:t,column:i}:e}}class e_{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new ef(N.o.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;let i=this._models[e];i.onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}async computeUnicodeHighlights(e,t,i){let n=this._getModel(e);return n?K.a.computeUnicodeHighlights(n,t,i):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async findSectionHeaders(e,t){let i=this._getModel(e);return i?function(e,t){var i;let n=[];if(t.findRegionSectionHeaders&&(null===(i=t.foldingRules)||void 0===i?void 0:i.markers)){let i=function(e,t){let i=[],n=e.getLineCount();for(let s=1;s<=n;s++){let n=e.getLineContent(s),o=n.match(t.foldingRules.markers.start);if(o){let e={startLineNumber:s,startColumn:o[0].length+1,endLineNumber:s,endColumn:n.length+1};if(e.endColumn>e.startColumn){let t={range:e,...em(n.substring(o[0].length)),shouldBeInComments:!1};(t.text||t.hasSeparatorLine)&&i.push(t)}}}return i}(e,t);n=n.concat(i)}if(t.findMarkSectionHeaders){let t=function(e){let t=[],i=e.getLineCount();for(let n=1;n<=i;n++){let i=e.getLineContent(n);!function(e,t,i){eg.lastIndex=0;let n=eg.exec(e);if(n){let e=n.indices[1][0]+1,s=n.indices[1][1]+1,o={startLineNumber:t,startColumn:e,endLineNumber:t,endColumn:s};if(o.endColumn>o.startColumn){let e={range:o,...em(n[1]),shouldBeInComments:!0};(e.text||e.hasSeparatorLine)&&i.push(e)}}}(i,n,t)}return t}(e);n=n.concat(t)}return n}(i,t):[]}async computeDiff(e,t,i,n){let s=this._getModel(e),o=this._getModel(t);if(!s||!o)return null;let r=e_.computeDiff(s,o,i,n);return r}static computeDiff(e,t,i,n){let s="advanced"===n?eo.getDefault():eo.getLegacy(),o=e.getLinesContent(),r=t.getLinesContent(),l=s.computeDiff(o,r,i),a=!(l.changes.length>0)&&this._modelsAreIdentical(e,t);function d(e){return e.map(e=>{var t;return[e.original.startLineNumber,e.original.endLineNumberExclusive,e.modified.startLineNumber,e.modified.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map(e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn])]})}return{identical:a,quitEarly:l.hitTimeout,changes:d(l.changes),moves:l.moves.map(e=>[e.lineRangeMapping.original.startLineNumber,e.lineRangeMapping.original.endLineNumberExclusive,e.lineRangeMapping.modified.startLineNumber,e.lineRangeMapping.modified.endLineNumberExclusive,d(e.changes)])}}static _modelsAreIdentical(e,t){let i=e.getLineCount(),n=t.getLineCount();if(i!==n)return!1;for(let n=1;n<=i;n++){let i=e.getLineContent(n),s=t.getLineContent(n);if(i!==s)return!1}return!0}async computeMoreMinimalEdits(e,t,i){let n;let s=this._getModel(e);if(!s)return t;let o=[];t=t.slice(0).sort((e,t)=>{if(e.range&&t.range)return k.e.compareRangesUsingStarts(e.range,t.range);let i=e.range?0:1,n=t.range?0:1;return i-n});let r=0;for(let e=1;ee_._diffLimit){o.push({range:e,text:l});continue}let r=(0,x.a$)(t,l,i),d=s.offsetAt(k.e.lift(e).getStartPosition());for(let e of r){let t=s.positionAt(d+e.originalStart),i=s.positionAt(d+e.originalStart+e.originalLength),n={text:l.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:i.lineNumber,endColumn:i.column}};s.getValueInRange(n.range)!==n.text&&o.push(n)}}return"number"==typeof n&&o.push({eol:n,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),o}async computeLinks(e){let t=this._getModel(e);return t?t&&"function"==typeof t.getLineCount&&"function"==typeof t.getLineContent?W.computeLinks(t):[]:null}async computeDefaultDocumentColors(e){let t=this._getModel(e);return t?t&&"function"==typeof t.getValue&&"function"==typeof t.positionAt?function(e){let t=[],i=ec(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(i.length>0)for(let n of i){let i;let s=n.filter(e=>void 0!==e),o=s[1],r=s[2];if(r){if("rgb"===o){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;i=eh(ed(e,n),ec(r,t),!1)}else if("rgba"===o){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;i=eh(ed(e,n),ec(r,t),!0)}else if("hsl"===o){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;i=eu(ed(e,n),ec(r,t),!1)}else if("hsla"===o){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;i=eu(ed(e,n),ec(r,t),!0)}else"#"===o&&(i=function(e,t){if(!e)return;let i=er.Il.Format.CSS.parseHex(t);if(i)return{range:e,color:ea(i.rgba.r,i.rgba.g,i.rgba.b,i.rgba.a)}}(ed(e,n),o+r));i&&t.push(i)}}return t}(t):[]:null}async textualSuggest(e,t,i,n){let s=new z.G,o=new RegExp(i,n),r=new Set;e:for(let i of e){let e=this._getModel(i);if(e){for(let i of e.words(o))if(i!==t&&isNaN(Number(i))&&(r.add(i),r.size>e_._suggestionsLimit))break e}}return{words:Array.from(r),duration:s.elapsed()}}async computeWordRanges(e,t,i,n){let s=this._getModel(e);if(!s)return Object.create(null);let o=new RegExp(i,n),r=Object.create(null);for(let e=t.startLineNumber;ethis._host.fhr(e,t));return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:n,getMirrorModels:()=>this._getModels()},t),Promise.resolve((0,l.$E)(this._foreignModule))):Promise.reject(Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}e_._diffLimit=1e5,e_._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco=(0,V.O)());var ev=i(73733),eb=i(71765),eC=i(9488),ew=i(43557),ey=i(71922),eS=i(48906),eL=i(65321),ek=function(e,t){return function(i,n){t(i,n,e)}};function eD(e,t){let i=e.getModel(t);return!(!i||i.isTooLargeForSyncing())}let ex=class extends s.JT{constructor(e,t,i,n,s){super(),this._modelService=e,this._workerManager=this._register(new eE(this._modelService,n)),this._logService=i,this._register(s.linkProvider.register({language:"*",hasAccessToAllModels:!0},{provideLinks:(e,t)=>eD(this._modelService,e.uri)?this._workerManager.withWorker().then(t=>t.computeLinks(e.uri)).then(e=>e&&{links:e}):Promise.resolve({links:[]})})),this._register(s.completionProvider.register("*",new eN(this._workerManager,t,this._modelService,n)))}dispose(){super.dispose()}canComputeUnicodeHighlights(e){return eD(this._modelService,e)}computedUnicodeHighlights(e,t,i){return this._workerManager.withWorker().then(n=>n.computedUnicodeHighlights(e,t,i))}async computeDiff(e,t,i,n){let s=await this._workerManager.withWorker().then(s=>s.computeDiff(e,t,i,n));if(!s)return null;let o={identical:s.identical,quitEarly:s.quitEarly,changes:r(s.changes),moves:s.moves.map(e=>new U.y(new $.f0(new j.z(e[0],e[1]),new j.z(e[2],e[3])),r(e[4])))};return o;function r(e){return e.map(e=>{var t;return new $.gB(new j.z(e[0],e[1]),new j.z(e[2],e[3]),null===(t=e[4])||void 0===t?void 0:t.map(e=>new $.iy(new k.e(e[0],e[1],e[2],e[3]),new k.e(e[4],e[5],e[6],e[7]))))})}}computeMoreMinimalEdits(e,t,i=!1){if(!(0,eC.Of)(t))return Promise.resolve(void 0);{if(!eD(this._modelService,e))return Promise.resolve(t);let s=z.G.create(),o=this._workerManager.withWorker().then(n=>n.computeMoreMinimalEdits(e,t,i));return o.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",e.toString(!0),s.elapsed())),Promise.race([o,(0,n.Vs)(1e3).then(()=>t)])}}canNavigateValueSet(e){return eD(this._modelService,e)}navigateValueSet(e,t,i){return this._workerManager.withWorker().then(n=>n.navigateValueSet(e,t,i))}canComputeWordRanges(e){return eD(this._modelService,e)}computeWordRanges(e,t){return this._workerManager.withWorker().then(i=>i.computeWordRanges(e,t))}findSectionHeaders(e,t){return this._workerManager.withWorker().then(i=>i.findSectionHeaders(e,t))}};ex=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([ek(0,ev.q),ek(1,eb.V),ek(2,ew.VZ),ek(3,D.c_),ek(4,ey.p)],ex);class eN{constructor(e,t,i,n){this.languageConfigurationService=n,this._debugDisplayName="wordbasedCompletions",this._workerManager=e,this._configurationService=t,this._modelService=i}async provideCompletionItems(e,t){let i=this._configurationService.getValue(e.uri,t,"editor");if("off"===i.wordBasedSuggestions)return;let n=[];if("currentDocument"===i.wordBasedSuggestions)eD(this._modelService,e.uri)&&n.push(e.uri);else for(let t of this._modelService.getModels())eD(this._modelService,t.uri)&&(t===e?n.unshift(t.uri):("allDocuments"===i.wordBasedSuggestions||t.getLanguageId()===e.getLanguageId())&&n.push(t.uri));if(0===n.length)return;let s=this.languageConfigurationService.getLanguageConfiguration(e.getLanguageId()).getWordDefinition(),o=e.getWordAtPosition(t),r=o?new k.e(t.lineNumber,o.startColumn,t.lineNumber,o.endColumn):k.e.fromPositions(t),l=r.setEndPosition(t.lineNumber,t.column),a=await this._workerManager.withWorker(),d=await a.textualSuggest(n,null==o?void 0:o.word,s);if(d)return{duration:d.duration,suggestions:d.words.map(e=>({kind:18,label:e,insertText:e,range:{insert:l,replace:r}}))}}}class eE extends s.JT{constructor(e,t){super(),this.languageConfigurationService=t,this._modelService=e,this._editorWorkerClient=null,this._lastWorkerUsedTime=new Date().getTime();let i=this._register(new eL.ne);i.cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(15e4),eS.E),this._register(this._modelService.onModelRemoved(e=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){if(!this._editorWorkerClient)return;let e=this._modelService.getModels();0===e.length&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){if(!this._editorWorkerClient)return;let e=new Date().getTime()-this._lastWorkerUsedTime;e>3e5&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new eR(this._modelService,!1,"editorWorkerService",this.languageConfigurationService)),Promise.resolve(this._editorWorkerClient)}}class eI extends s.JT{constructor(e,t,i){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=e,this._modelService=t,!i){let e=new n.zh;e.cancelAndSet(()=>this._checkStopModelSync(),Math.round(3e4)),this._register(e)}}dispose(){for(let e in this._syncedModels)(0,s.B9)(this._syncedModels[e]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(e,t){for(let i of e){let e=i.toString();this._syncedModels[e]||this._beginModelSync(i,t),this._syncedModels[e]&&(this._syncedModelsLastUsedTime[e]=new Date().getTime())}}_checkStopModelSync(){let e=new Date().getTime(),t=[];for(let i in this._syncedModelsLastUsedTime){let n=e-this._syncedModelsLastUsedTime[i];n>6e4&&t.push(i)}for(let e of t)this._stopModelSync(e)}_beginModelSync(e,t){let i=this._modelService.getModel(e);if(!i||!t&&i.isTooLargeForSyncing())return;let n=e.toString();this._proxy.acceptNewModel({url:i.uri.toString(),lines:i.getLinesContent(),EOL:i.getEOL(),versionId:i.getVersionId()});let o=new s.SL;o.add(i.onDidChangeContent(e=>{this._proxy.acceptModelChanged(n.toString(),e)})),o.add(i.onWillDispose(()=>{this._stopModelSync(n)})),o.add((0,s.OF)(()=>{this._proxy.acceptRemovedModel(n)})),this._syncedModels[n]=o}_stopModelSync(e){let t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],(0,s.B9)(t)}}class eT{constructor(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class eM{constructor(e){this._workerClient=e}fhr(e,t){return this._workerClient.fhr(e,t)}}class eR extends s.JT{constructor(e,t,i,n){super(),this.languageConfigurationService=n,this._disposed=!1,this._modelService=e,this._keepIdleModels=t,this._workerFactory=new L(i),this._worker=null,this._modelManager=null}fhr(e,t){throw Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new v(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new eM(this)))}catch(e){u(e),this._worker=new eT(new e_(new eM(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,e=>(u(e),this._worker=new eT(new e_(new eM(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(e){return this._modelManager||(this._modelManager=this._register(new eI(e,this._modelService,this._keepIdleModels))),this._modelManager}async _withSyncedResources(e,t=!1){return this._disposed?Promise.reject((0,o.F0)()):this._getProxy().then(i=>(this._getOrCreateModelManager(i).ensureSyncedResources(e,t),i))}computedUnicodeHighlights(e,t,i){return this._withSyncedResources([e]).then(n=>n.computeUnicodeHighlights(e.toString(),t,i))}computeDiff(e,t,i,n){return this._withSyncedResources([e,t],!0).then(s=>s.computeDiff(e.toString(),t.toString(),i,n))}computeMoreMinimalEdits(e,t,i){return this._withSyncedResources([e]).then(n=>n.computeMoreMinimalEdits(e.toString(),t,i))}computeLinks(e){return this._withSyncedResources([e]).then(t=>t.computeLinks(e.toString()))}computeDefaultDocumentColors(e){return this._withSyncedResources([e]).then(t=>t.computeDefaultDocumentColors(e.toString()))}async textualSuggest(e,t,i){let n=await this._withSyncedResources(e),s=i.source,o=i.flags;return n.textualSuggest(e.map(e=>e.toString()),t,s,o)}computeWordRanges(e,t){return this._withSyncedResources([e]).then(i=>{let n=this._modelService.getModel(e);if(!n)return Promise.resolve(null);let s=this.languageConfigurationService.getLanguageConfiguration(n.getLanguageId()).getWordDefinition(),o=s.source,r=s.flags;return i.computeWordRanges(e.toString(),t,o,r)})}navigateValueSet(e,t,i){return this._withSyncedResources([e]).then(n=>{let s=this._modelService.getModel(e);if(!s)return null;let o=this.languageConfigurationService.getLanguageConfiguration(s.getLanguageId()).getWordDefinition(),r=o.source,l=o.flags;return n.navigateValueSet(e.toString(),t,i,r,l)})}findSectionHeaders(e,t){return this._withSyncedResources([e]).then(i=>i.findSectionHeaders(e.toString(),t))}dispose(){super.dispose(),this._disposed=!0}}},43407:function(e,t,i){"use strict";i.d(t,{Z:function(){return n}});class n{static capture(e){if(0===e.getScrollTop()||e.hasPendingScrollAnimation())return new n(e.getScrollTop(),e.getContentHeight(),null,0,null);let t=null,i=0,s=e.getVisibleRanges();if(s.length>0){t=s[0].getStartPosition();let n=e.getTopForPosition(t.lineNumber,t.column);i=e.getScrollTop()-n}return new n(e.getScrollTop(),e.getContentHeight(),t,i,e.getPosition())}constructor(e,t,i,n,s){this._initialScrollTop=e,this._initialContentHeight=t,this._visiblePosition=i,this._visiblePositionScrollDelta=n,this._cursorPosition=s}restore(e){if((this._initialContentHeight!==e.getContentHeight()||this._initialScrollTop!==e.getScrollTop())&&this._visiblePosition){let t=e.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);e.setScrollTop(t+this._visiblePositionScrollDelta)}}restoreRelativeVerticalPositionOfCursor(e){if(this._initialContentHeight===e.getContentHeight()&&this._initialScrollTop===e.getScrollTop())return;let t=e.getPosition();if(!this._cursorPosition||!t)return;let i=e.getTopForLineNumber(t.lineNumber)-e.getTopForLineNumber(this._cursorPosition.lineNumber);e.setScrollTop(e.getScrollTop()+i,1)}}},7031:function(e,t,i){"use strict";i.d(t,{CH:function(){return d},CR:function(){return l},D4:function(){return a},u7:function(){return o},xh:function(){return s},yu:function(){return r}});class n{constructor(e,t){this._restrictedRenderingContextBrand=void 0,this._viewLayout=e,this.viewportData=t,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;let i=this._viewLayout.getCurrentViewport();this.scrollTop=i.top,this.scrollLeft=i.left,this.viewportWidth=i.width,this.viewportHeight=i.height}getScrolledTopFromAbsoluteTop(e){return e-this.scrollTop}getVerticalOffsetForLineNumber(e,t){return this._viewLayout.getVerticalOffsetForLineNumber(e,t)}getVerticalOffsetAfterLineNumber(e,t){return this._viewLayout.getVerticalOffsetAfterLineNumber(e,t)}getDecorationsInViewport(){return this.viewportData.getDecorationsInViewport()}}class s extends n{constructor(e,t,i){super(e,t),this._renderingContextBrand=void 0,this._viewLines=i}linesVisibleRangesForRange(e,t){return this._viewLines.linesVisibleRangesForRange(e,t)}visibleRangeForPosition(e){return this._viewLines.visibleRangeForPosition(e)}}class o{constructor(e,t,i,n){this.outsideRenderedLine=e,this.lineNumber=t,this.ranges=i,this.continuesOnNextLine=n}}class r{static from(e){let t=Array(e.length);for(let i=0,n=e.length;i=o.left?n.width=Math.max(n.width,o.left+o.width-n.left):(t[i++]=n,n=o)}return t[i++]=n,t}static _createHorizontalRangesFromClientRects(e,t,i){if(!e||0===e.length)return null;let n=[];for(let s=0,o=e.length;sr)return null;if((t=Math.min(r,Math.max(0,t)))===(n=Math.min(r,Math.max(0,n)))&&i===s&&0===i&&!e.children[t].firstChild){let i=e.children[t].getClientRects();return o.markDidDomLayout(),this._createHorizontalRangesFromClientRects(i,o.clientRectDeltaLeft,o.clientRectScale)}t!==n&&n>0&&0===s&&(n--,s=1073741824);let l=e.children[t].firstChild,a=e.children[n].firstChild;if(l&&a||(!l&&0===i&&t>0&&(l=e.children[t-1].firstChild,i=1073741824),a||0!==s||!(n>0)||(a=e.children[n-1].firstChild,s=1073741824)),!l||!a)return null;i=Math.min(l.textContent.length,Math.max(0,i)),s=Math.min(a.textContent.length,Math.max(0,s));let d=this._readClientRects(l,i,a,s,o.endNode);return o.markDidDomLayout(),this._createHorizontalRangesFromClientRects(d,o.clientRectDeltaLeft,o.clientRectScale)}}var a=i(92550),d=i(72202),h=i(92321),u=i(64141);let c=!!o.tY||!o.IJ&&!n.vU&&!n.G6,g=!0;class p{constructor(e,t){this.themeType=t;let i=e.options,n=i.get(50),s=i.get(38);"off"===s?this.renderWhitespace=i.get(99):this.renderWhitespace="none",this.renderControlCharacters=i.get(94),this.spaceWidth=n.spaceWidth,this.middotWidth=n.middotWidth,this.wsmiddotWidth=n.wsmiddotWidth,this.useMonospaceOptimizations=n.isMonospace&&!i.get(33),this.canUseHalfwidthRightwardsArrow=n.canUseHalfwidthRightwardsArrow,this.lineHeight=i.get(67),this.stopRenderingLineAfter=i.get(117),this.fontLigatures=i.get(51)}equals(e){return this.themeType===e.themeType&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.fontLigatures===e.fontLigatures}}class m{constructor(e){this._options=e,this._isMaybeInvalid=!0,this._renderedViewLine=null}getDomNode(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null}setDomNode(e){if(this._renderedViewLine)this._renderedViewLine.domNode=(0,s.X)(e);else throw Error("I have no rendered view line to set the dom node to...")}onContentChanged(){this._isMaybeInvalid=!0}onTokensChanged(){this._isMaybeInvalid=!0}onDecorationsChanged(){this._isMaybeInvalid=!0}onOptionsChanged(e){this._isMaybeInvalid=!0,this._options=e}onSelectionChanged(){return(!!(0,h.c3)(this._options.themeType)||"selection"===this._options.renderWhitespace)&&(this._isMaybeInvalid=!0,!0)}renderLine(e,t,i,n,s){if(!1===this._isMaybeInvalid)return!1;this._isMaybeInvalid=!1;let o=n.getViewLineRenderingData(e),r=this._options,l=a.Kp.filter(o.inlineDecorations,e,o.minColumn,o.maxColumn),p=null;if((0,h.c3)(r.themeType)||"selection"===this._options.renderWhitespace){let t=n.selections;for(let i of t){if(i.endLineNumbere)continue;let t=i.startLineNumber===e?i.startColumn:o.minColumn,n=i.endLineNumber===e?i.endColumn:o.maxColumn;t');let v=(0,d.d1)(_,s);s.appendString("");let C=null;return g&&c&&o.isBasicASCII&&r.useMonospaceOptimizations&&0===v.containsForeignElements&&(C=new f(this._renderedViewLine?this._renderedViewLine.domNode:null,_,v.characterMapping)),C||(C=b(this._renderedViewLine?this._renderedViewLine.domNode:null,_,v.characterMapping,v.containsRTL,v.containsForeignElements)),this._renderedViewLine=C,!0}layoutLine(e,t,i){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(i))}getWidth(e){return this._renderedViewLine?this._renderedViewLine.getWidth(e):0}getWidthIsFast(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()}needsMonospaceFontCheck(){return!!this._renderedViewLine&&this._renderedViewLine instanceof f}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof f?this._renderedViewLine.monospaceAssumptionsAreValid():g}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof f&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}getVisibleRangesForRange(e,t,i,n){if(!this._renderedViewLine)return null;t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t)),i=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,i));let s=this._renderedViewLine.input.stopRenderingLineAfter;if(-1!==s&&t>s+1&&i>s+1)return new r.CH(!0,[new r.CR(this.getWidth(n),0)]);-1!==s&&t>s+1&&(t=s+1),-1!==s&&i>s+1&&(i=s+1);let o=this._renderedViewLine.getVisibleRangesForRange(e,t,i,n);return o&&o.length>0?new r.CH(!1,o):null}getColumnOfNodeOffset(e,t){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t):1}}m.CLASS_NAME="view-line";class f{constructor(e,t,i){this._cachedWidth=-1,this.domNode=e,this.input=t;let n=Math.floor(t.lineContent.length/300);if(n>0){this._keyColumnPixelOffsetCache=new Float32Array(n);for(let e=0;e=2&&(console.warn("monospace assumptions have been violated, therefore disabling monospace optimizations!"),g=!1)}return g}toSlowRenderedLine(){return b(this.domNode,this.input,this._characterMapping,!1,0)}getVisibleRangesForRange(e,t,i,n){let s=this._getColumnPixelOffset(e,t,n),o=this._getColumnPixelOffset(e,i,n);return[new r.CR(s,o-s)]}_getColumnPixelOffset(e,t,i){if(t<=300){let e=this._characterMapping.getHorizontalOffset(t);return this._charWidth*e}let n=Math.floor((t-1)/300)-1,s=(n+1)*300+1,o=-1;if(this._keyColumnPixelOffsetCache&&-1===(o=this._keyColumnPixelOffsetCache[n])&&(o=this._actualReadPixelOffset(e,s,i),this._keyColumnPixelOffsetCache[n]=o),-1===o){let e=this._characterMapping.getHorizontalOffset(t);return this._charWidth*e}let r=this._characterMapping.getHorizontalOffset(s),l=this._characterMapping.getHorizontalOffset(t);return o+this._charWidth*(l-r)}_getReadingTarget(e){return e.domNode.firstChild}_actualReadPixelOffset(e,t,i){if(!this.domNode)return -1;let n=this._characterMapping.getDomPosition(t),s=l.readHorizontalRanges(this._getReadingTarget(this.domNode),n.partIndex,n.charIndex,n.partIndex,n.charIndex,i);return s&&0!==s.length?s[0].left:-1}getColumnOfNodeOffset(e,t){return C(this._characterMapping,e,t)}}class _{constructor(e,t,i,n,s){if(this.domNode=e,this.input=t,this._characterMapping=i,this._isWhitespaceOnly=/^\s*$/.test(t.lineContent),this._containsForeignElements=s,this._cachedWidth=-1,this._pixelOffsetCache=null,!n||0===this._characterMapping.length){this._pixelOffsetCache=new Float32Array(Math.max(2,this._characterMapping.length+1));for(let e=0,t=this._characterMapping.length;e<=t;e++)this._pixelOffsetCache[e]=-1}}_getReadingTarget(e){return e.domNode.firstChild}getWidth(e){return this.domNode?(-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth,null==e||e.markDidDomLayout()),this._cachedWidth):0}getWidthIsFast(){return -1!==this._cachedWidth}getVisibleRangesForRange(e,t,i,n){if(!this.domNode)return null;if(null!==this._pixelOffsetCache){let s=this._readPixelOffset(this.domNode,e,t,n);if(-1===s)return null;let o=this._readPixelOffset(this.domNode,e,i,n);return -1===o?null:[new r.CR(s,o-s)]}return this._readVisibleRangesForRange(this.domNode,e,t,i,n)}_readVisibleRangesForRange(e,t,i,n,s){if(i!==n)return this._readRawVisibleRangesForRange(e,i,n,s);{let n=this._readPixelOffset(e,t,i,s);return -1===n?null:[new r.CR(n,0)]}}_readPixelOffset(e,t,i,n){if(0===this._characterMapping.length){if(0===this._containsForeignElements||2===this._containsForeignElements)return 0;if(1===this._containsForeignElements)return this.getWidth(n);let t=this._getReadingTarget(e);return t.firstChild?(n.markDidDomLayout(),t.firstChild.offsetWidth):0}if(null!==this._pixelOffsetCache){let s=this._pixelOffsetCache[i];if(-1!==s)return s;let o=this._actualReadPixelOffset(e,t,i,n);return this._pixelOffsetCache[i]=o,o}return this._actualReadPixelOffset(e,t,i,n)}_actualReadPixelOffset(e,t,i,n){if(0===this._characterMapping.length){let t=l.readHorizontalRanges(this._getReadingTarget(e),0,0,0,0,n);return t&&0!==t.length?t[0].left:-1}if(i===this._characterMapping.length&&this._isWhitespaceOnly&&0===this._containsForeignElements)return this.getWidth(n);let s=this._characterMapping.getDomPosition(i),o=l.readHorizontalRanges(this._getReadingTarget(e),s.partIndex,s.charIndex,s.partIndex,s.charIndex,n);if(!o||0===o.length)return -1;let r=o[0].left;if(this.input.isBasicASCII){let e=this._characterMapping.getHorizontalOffset(i),t=Math.round(this.input.spaceWidth*e);if(1>=Math.abs(t-r))return t}return r}_readRawVisibleRangesForRange(e,t,i,n){if(1===t&&i===this._characterMapping.length)return[new r.CR(0,this.getWidth(n))];let s=this._characterMapping.getDomPosition(t),o=this._characterMapping.getDomPosition(i);return l.readHorizontalRanges(this._getReadingTarget(e),s.partIndex,s.charIndex,o.partIndex,o.charIndex,n)}getColumnOfNodeOffset(e,t){return C(this._characterMapping,e,t)}}class v extends _{_readVisibleRangesForRange(e,t,i,n,s){let o=super._readVisibleRangesForRange(e,t,i,n,s);if(!o||0===o.length||i===n||1===i&&n===this._characterMapping.length)return o;if(!this.input.containsRTL){let i=this._readPixelOffset(e,t,n,s);if(-1!==i){let e=o[o.length-1];e.left=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=h.i,function(e,t){n(e,t,1)})],c),(0,u._K)(c.ID,c,0);var g=i(65321),p=i(17301),m=i(4669),f=i(5976),_=i(66663);i(84428);var v=i(52136),b=i(16268),C=i(9488),w=i(36248),y=i(1432),S=i(54534),L=i(66059);class k{constructor(e,t){this.key=e,this.migrate=t}apply(e){let t=k._read(e,this.key);this.migrate(t,t=>k._read(e,t),(t,i)=>k._write(e,t,i))}static _read(e,t){if(void 0===e)return;let i=t.indexOf(".");if(i>=0){let n=t.substring(0,i);return this._read(e[n],t.substring(i+1))}return e[t]}static _write(e,t,i){let n=t.indexOf(".");if(n>=0){let s=t.substring(0,n);e[s]=e[s]||{},this._write(e[s],t.substring(n+1),i);return}e[t]=i}}function D(e,t){k.items.push(new k(e,t))}function x(e,t){D(e,(i,n,s)=>{if(void 0!==i){for(let[n,o]of t)if(i===n){s(e,o);return}}})}k.items=[],x("wordWrap",[[!0,"on"],[!1,"off"]]),x("lineNumbers",[[!0,"on"],[!1,"off"]]),x("cursorBlinking",[["visible","solid"]]),x("renderWhitespace",[[!0,"boundary"],[!1,"none"]]),x("renderLineHighlight",[[!0,"line"],[!1,"none"]]),x("acceptSuggestionOnEnter",[[!0,"on"],[!1,"off"]]),x("tabCompletion",[[!1,"off"],[!0,"onlySnippets"]]),x("hover",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),x("parameterHints",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),x("autoIndent",[[!1,"advanced"],[!0,"full"]]),x("matchBrackets",[[!0,"always"],[!1,"never"]]),x("renderFinalNewline",[[!0,"on"],[!1,"off"]]),x("cursorSmoothCaretAnimation",[[!0,"on"],[!1,"off"]]),x("occurrencesHighlight",[[!0,"singleFile"],[!1,"off"]]),x("wordBasedSuggestions",[[!0,"matchingDocuments"],[!1,"off"]]),D("autoClosingBrackets",(e,t,i)=>{!1===e&&(i("autoClosingBrackets","never"),void 0===t("autoClosingQuotes")&&i("autoClosingQuotes","never"),void 0===t("autoSurround")&&i("autoSurround","never"))}),D("renderIndentGuides",(e,t,i)=>{void 0!==e&&(i("renderIndentGuides",void 0),void 0===t("guides.indentation")&&i("guides.indentation",!!e))}),D("highlightActiveIndentGuide",(e,t,i)=>{void 0!==e&&(i("highlightActiveIndentGuide",void 0),void 0===t("guides.highlightActiveIndentation")&&i("guides.highlightActiveIndentation",!!e))});let N={method:"showMethods",function:"showFunctions",constructor:"showConstructors",deprecated:"showDeprecated",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};D("suggest.filteredTypes",(e,t,i)=>{if(e&&"object"==typeof e){for(let n of Object.entries(N)){let s=e[n[0]];!1===s&&void 0===t(`suggest.${n[1]}`)&&i(`suggest.${n[1]}`,!1)}i("suggest.filteredTypes",void 0)}}),D("quickSuggestions",(e,t,i)=>{if("boolean"==typeof e){let t=e?"on":"off";i("quickSuggestions",{comments:t,strings:t,other:t})}}),D("experimental.stickyScroll.enabled",(e,t,i)=>{"boolean"==typeof e&&(i("experimental.stickyScroll.enabled",void 0),void 0===t("stickyScroll.enabled")&&i("stickyScroll.enabled",e))}),D("experimental.stickyScroll.maxLineCount",(e,t,i)=>{"number"==typeof e&&(i("experimental.stickyScroll.maxLineCount",void 0),void 0===t("stickyScroll.maxLineCount")&&i("stickyScroll.maxLineCount",e))}),D("codeActionsOnSave",(e,t,i)=>{if(e&&"object"==typeof e){let t=!1,n={};for(let i of Object.entries(e))"boolean"==typeof i[1]?(t=!0,n[i[0]]=i[1]?"explicit":"never"):n[i[0]]=i[1];t&&i("codeActionsOnSave",n)}}),D("codeActionWidget.includeNearbyQuickfixes",(e,t,i)=>{"boolean"==typeof e&&(i("codeActionWidget.includeNearbyQuickfixes",void 0),void 0===t("codeActionWidget.includeNearbyQuickFixes")&&i("codeActionWidget.includeNearbyQuickFixes",e))}),D("lightbulb.enabled",(e,t,i)=>{"boolean"==typeof e&&i("lightbulb.enabled",e?void 0:"off")});var E=i(37940),I=i(64141),T=i(82334),M=i(27374),R=i(31106),A=i(28731);let P=class extends f.JT{constructor(e,t,i,n,s){super(),this._accessibilityService=s,this._onDidChange=this._register(new m.Q5),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new m.Q5),this.onDidChangeFast=this._onDidChangeFast.event,this._isDominatedByLongLines=!1,this._viewLineCount=1,this._lineNumbersDigitCount=1,this._reservedHeight=0,this._glyphMarginDecorationLaneCount=1,this._computeOptionsMemory=new I.LJ,this.isSimpleWidget=e,this.contextMenuId=t,this._containerObserver=this._register(new S.I(n,i.dimension)),this._targetWindowId=(0,g.Jj)(n).vscodeWindowId,this._rawOptions=W(i),this._validatedOptions=B.validateOptions(this._rawOptions),this.options=this._computeOptions(),this.options.get(13)&&this._containerObserver.startObserving(),this._register(T.C.onDidChangeZoomLevel(()=>this._recomputeOptions())),this._register(E.n.onDidChangeTabFocus(()=>this._recomputeOptions())),this._register(this._containerObserver.onDidChange(()=>this._recomputeOptions())),this._register(L.g.onDidChange(()=>this._recomputeOptions())),this._register(A.T.getInstance((0,g.Jj)(n)).onDidChange(()=>this._recomputeOptions())),this._register(this._accessibilityService.onDidChangeScreenReaderOptimized(()=>this._recomputeOptions()))}_recomputeOptions(){let e=this._computeOptions(),t=B.checkEquals(this.options,e);null!==t&&(this.options=e,this._onDidChangeFast.fire(t),this._onDidChange.fire(t))}_computeOptions(){let e=this._readEnvConfiguration(),t=M.E4.createFromValidatedSettings(this._validatedOptions,e.pixelRatio,this.isSimpleWidget),i=this._readFontInfo(t),n={memory:this._computeOptionsMemory,outerWidth:e.outerWidth,outerHeight:e.outerHeight-this._reservedHeight,fontInfo:i,extraEditorClassName:e.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:e.emptySelectionClipboard,pixelRatio:e.pixelRatio,tabFocusMode:E.n.getTabFocusMode(),accessibilitySupport:e.accessibilitySupport,glyphMarginDecorationLaneCount:this._glyphMarginDecorationLaneCount};return B.computeOptions(this._validatedOptions,n)}_readEnvConfiguration(){let e;return{extraEditorClassName:(e="",b.G6||b.MG||(e+="no-user-select "),b.G6&&(e+="no-minimap-shadow enable-user-select "),y.dz&&(e+="mac "),e),outerWidth:this._containerObserver.getWidth(),outerHeight:this._containerObserver.getHeight(),emptySelectionClipboard:b.Pf||b.vU,pixelRatio:A.T.getInstance((0,g.ed)(this._targetWindowId,!0).window).value,accessibilitySupport:this._accessibilityService.isScreenReaderOptimized()?2:this._accessibilityService.getAccessibilitySupport()}}_readFontInfo(e){return L.g.readFontInfo((0,g.ed)(this._targetWindowId,!0).window,e)}getRawOptions(){return this._rawOptions}updateOptions(e){let t=W(e),i=B.applyUpdate(this._rawOptions,t);i&&(this._validatedOptions=B.validateOptions(this._rawOptions),this._recomputeOptions())}observeContainer(e){this._containerObserver.observe(e)}setIsDominatedByLongLines(e){this._isDominatedByLongLines!==e&&(this._isDominatedByLongLines=e,this._recomputeOptions())}setModelLineCount(e){let t=function(e){let t=0;for(;e;)e=Math.floor(e/10),t++;return t||1}(e);this._lineNumbersDigitCount!==t&&(this._lineNumbersDigitCount=t,this._recomputeOptions())}setViewLineCount(e){this._viewLineCount!==e&&(this._viewLineCount=e,this._recomputeOptions())}setReservedHeight(e){this._reservedHeight!==e&&(this._reservedHeight=e,this._recomputeOptions())}setGlyphMarginDecorationLaneCount(e){this._glyphMarginDecorationLaneCount!==e&&(this._glyphMarginDecorationLaneCount=e,this._recomputeOptions())}};P=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(s=R.F,function(e,t){s(e,t,4)})],P);class O{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class F{constructor(){this._values=[]}_read(e){if(e>=this._values.length)throw Error("Cannot read uninitialized value");return this._values[e]}get(e){return this._read(e)}_write(e,t){this._values[e]=t}}class B{static validateOptions(e){let t=new O;for(let i of I.Bc){let n="_never_"===i.name?void 0:e[i.name];t._write(i.id,i.validate(n))}return t}static computeOptions(e,t){let i=new F;for(let n of I.Bc)i._write(n.id,n.compute(t,i,e._read(n.id)));return i}static _deepEquals(e,t){if("object"!=typeof e||"object"!=typeof t||!e||!t)return e===t;if(Array.isArray(e)||Array.isArray(t))return!!(Array.isArray(e)&&Array.isArray(t))&&C.fS(e,t);if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let i in e)if(!B._deepEquals(e[i],t[i]))return!1;return!0}static checkEquals(e,t){let i=[],n=!1;for(let s of I.Bc){let o=!B._deepEquals(e._read(s.id),t._read(s.id));i[s.id]=o,o&&(n=!0)}return n?new I.Bb(i):null}static applyUpdate(e,t){let i=!1;for(let n of I.Bc)if(t.hasOwnProperty(n.name)){let s=n.applyUpdate(e[n.name],t[n.name]);e[n.name]=s.newValue,i=i||s.didChange}return i}}function W(e){let t=w.I8(e);return k.items.forEach(e=>e.apply(t)),t}var H=i(11640),V=i(38626),z=i(50795),K=i(29994);class U extends f.JT{constructor(){super(),this._shouldRender=!0}shouldRender(){return this._shouldRender}forceShouldRender(){this._shouldRender=!0}setShouldRender(){this._shouldRender=!0}onDidRender(){this._shouldRender=!1}onCompositionStart(e){return!1}onCompositionEnd(e){return!1}onConfigurationChanged(e){return!1}onCursorStateChanged(e){return!1}onDecorationsChanged(e){return!1}onFlushed(e){return!1}onFocusChanged(e){return!1}onLanguageConfigurationChanged(e){return!1}onLineMappingChanged(e){return!1}onLinesChanged(e){return!1}onLinesDeleted(e){return!1}onLinesInserted(e){return!1}onRevealRangeRequest(e){return!1}onScrollChanged(e){return!1}onThemeChanged(e){return!1}onTokensChanged(e){return!1}onTokensColorsChanged(e){return!1}onZonesChanged(e){return!1}handleEvents(e){let t=!1;for(let i=0,n=e.length;i=4&&3===e[0]&&8===e[3]}static isStrictChildOfViewLines(e){return e.length>4&&3===e[0]&&8===e[3]}static isChildOfScrollableElement(e){return e.length>=2&&3===e[0]&&6===e[1]}static isChildOfMinimap(e){return e.length>=2&&3===e[0]&&9===e[1]}static isChildOfContentWidgets(e){return e.length>=4&&3===e[0]&&1===e[3]}static isChildOfOverflowGuard(e){return e.length>=1&&3===e[0]}static isChildOfOverflowingContentWidgets(e){return e.length>=1&&2===e[0]}static isChildOfOverlayWidgets(e){return e.length>=2&&3===e[0]&&4===e[1]}static isChildOfOverflowingOverlayWidgets(e){return e.length>=1&&5===e[0]}}class es{constructor(e,t,i){this.viewModel=e.viewModel;let n=e.configuration.options;this.layoutInfo=n.get(145),this.viewDomNode=t.viewDomNode,this.lineHeight=n.get(67),this.stickyTabStops=n.get(116),this.typicalHalfwidthCharacterWidth=n.get(50).typicalHalfwidthCharacterWidth,this.lastRenderData=i,this._context=e,this._viewHelper=t}getZoneAtCoord(e){return es.getZoneAtCoord(this._context,e)}static getZoneAtCoord(e,t){let i=e.viewLayout.getWhitespaceAtVerticalOffset(t);if(i){let n;let s=i.verticalOffset+i.height/2,o=e.viewModel.getLineCount(),r=null,l=null;return i.afterLineNumber!==o&&(l=new G.L(i.afterLineNumber+1,1)),i.afterLineNumber>0&&(r=new G.L(i.afterLineNumber,e.viewModel.getLineMaxColumn(i.afterLineNumber))),n=null===l?r:null===r?l:t=e.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,ed._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))}}class er extends eo{get target(){return this._useHitTestTarget?this.hitTestResult.value.hitTarget:this._eventTarget}get targetPath(){return this._targetPathCacheElement!==this.target&&(this._targetPathCacheElement=this.target,this._targetPathCacheValue=q.collect(this.target,this._ctx.viewDomNode)),this._targetPathCacheValue}constructor(e,t,i,n,s){super(e,t,i,n),this.hitTestResult=new J.o(()=>ed.doHitTest(this._ctx,this)),this._targetPathCacheElement=null,this._targetPathCacheValue=new Uint8Array(0),this._ctx=e,this._eventTarget=s;let o=!!this._eventTarget;this._useHitTestTarget=!o}toString(){return`pos(${this.pos.x},${this.pos.y}), editorPos(${this.editorPos.x},${this.editorPos.y}), relativePos(${this.relativePos.x},${this.relativePos.y}), mouseVerticalOffset: ${this.mouseVerticalOffset}, mouseContentHorizontalOffset: ${this.mouseContentHorizontalOffset} - target: ${this.target?this.target.outerHTML:null}`}get wouldBenefitFromHitTestTargetSwitch(){return!this._useHitTestTarget&&null!==this.hitTestResult.value.hitTarget&&this.target!==this.hitTestResult.value.hitTarget}switchToHitTestTarget(){this._useHitTestTarget=!0}_getMouseColumn(e=null){return e&&e.columno.contentLeft+o.width)continue;let i=e.getVerticalOffsetForLineNumber(o.position.lineNumber);if(i<=s&&s<=i+o.height)return t.fulfillContentText(o.position,null,{mightBeForeignElement:!1,injectedText:null})}}return null}static _hitTestViewZone(e,t){let i=e.getZoneAtCoord(t.mouseVerticalOffset);if(i){let e=t.isInContentArea?8:5;return t.fulfillViewZone(e,i.position,i)}return null}static _hitTestTextArea(e,t){return en.isTextArea(t.targetPath)?e.lastRenderData.lastTextareaPosition?t.fulfillContentText(e.lastRenderData.lastTextareaPosition,null,{mightBeForeignElement:!1,injectedText:null}):t.fulfillTextarea():null}static _hitTestMargin(e,t){if(t.isInMarginArea){let i=e.getFullLineRangeAtCoord(t.mouseVerticalOffset),n=i.range.getStartPosition(),s=Math.abs(t.relativePos.x),o={isAfterLines:i.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:s};if((s-=e.layoutInfo.glyphMarginLeft)<=e.layoutInfo.glyphMarginWidth){let r=e.viewModel.coordinatesConverter.convertViewPositionToModelPosition(i.range.getStartPosition()),l=e.viewModel.glyphLanes.getLanesAtLine(r.lineNumber);return o.glyphMarginLane=l[Math.floor(s/e.lineHeight)],t.fulfillMargin(2,n,i.range,o)}return(s-=e.layoutInfo.glyphMarginWidth)<=e.layoutInfo.lineNumbersWidth?t.fulfillMargin(3,n,i.range,o):(s-=e.layoutInfo.lineNumbersWidth,t.fulfillMargin(4,n,i.range,o))}return null}static _hitTestViewLines(e,t){if(!en.isChildOfViewLines(t.targetPath))return null;if(e.isInTopPadding(t.mouseVerticalOffset))return t.fulfillContentEmpty(new G.L(1,1),el);if(e.isAfterLines(t.mouseVerticalOffset)||e.isInBottomPadding(t.mouseVerticalOffset)){let i=e.viewModel.getLineCount(),n=e.viewModel.getLineMaxColumn(i);return t.fulfillContentEmpty(new G.L(i,n),el)}if(en.isStrictChildOfViewLines(t.targetPath)){let i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset);if(0===e.viewModel.getLineLength(i)){let n=e.getLineWidth(i),s=ea(t.mouseContentHorizontalOffset-n);return t.fulfillContentEmpty(new G.L(i,1),s)}let n=e.getLineWidth(i);if(t.mouseContentHorizontalOffset>=n){let s=ea(t.mouseContentHorizontalOffset-n),o=new G.L(i,e.viewModel.getLineMaxColumn(i));return t.fulfillContentEmpty(o,s)}}let i=t.hitTestResult.value;return 1===i.type?ed.createMouseTargetFromHitTestPosition(e,t,i.spanNode,i.position,i.injectedText):t.wouldBenefitFromHitTestTargetSwitch?(t.switchToHitTestTarget(),this._createMouseTarget(e,t)):t.fulfillUnknown()}static _hitTestMinimap(e,t){if(en.isChildOfMinimap(t.targetPath)){let i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),n=e.viewModel.getLineMaxColumn(i);return t.fulfillScrollbar(new G.L(i,n))}return null}static _hitTestScrollbarSlider(e,t){if(en.isChildOfScrollableElement(t.targetPath)&&t.target&&1===t.target.nodeType){let i=t.target.className;if(i&&/\b(slider|scrollbar)\b/.test(i)){let i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),n=e.viewModel.getLineMaxColumn(i);return t.fulfillScrollbar(new G.L(i,n))}}return null}static _hitTestScrollbar(e,t){if(en.isChildOfScrollableElement(t.targetPath)){let i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),n=e.viewModel.getLineMaxColumn(i);return t.fulfillScrollbar(new G.L(i,n))}return null}getMouseColumn(e){let t=this._context.configuration.options,i=t.get(145),n=this._context.viewLayout.getCurrentScrollLeft()+e.x-i.contentLeft;return ed._getMouseColumn(n,t.get(50).typicalHalfwidthCharacterWidth)}static _getMouseColumn(e,t){return e<0?1:Math.round(e/t)+1}static createMouseTargetFromHitTestPosition(e,t,i,n,s){let o=n.lineNumber,r=n.column,l=e.getLineWidth(o);if(t.mouseContentHorizontalOffset>l){let e=ea(t.mouseContentHorizontalOffset-l);return t.fulfillContentEmpty(n,e)}let a=e.visibleRangeForPosition(o,r);if(!a)return t.fulfillUnknown(n);let d=a.left;if(1>Math.abs(t.mouseContentHorizontalOffset-d))return t.fulfillContentText(n,null,{mightBeForeignElement:!!s,injectedText:s});let h=[];if(h.push({offset:a.left,column:r}),r>1){let t=e.visibleRangeForPosition(o,r-1);t&&h.push({offset:t.left,column:r-1})}let u=e.viewModel.getLineMaxColumn(o);if(re.offset-t.offset);let c=t.pos.toClientCoordinates(g.Jj(e.viewDomNode)),p=i.getBoundingClientRect(),m=p.left<=c.clientX&&c.clientX<=p.right,f=null;for(let e=1;es;if(!o){let i=t.pos.y+(Math.floor((n+s)/2)-t.mouseVerticalOffset);i<=t.editorPos.y&&(i=t.editorPos.y+1),i>=t.editorPos.y+t.editorPos.height&&(i=t.editorPos.y+t.editorPos.height-1);let o=new K.YN(t.pos.x,i),r=this._actualDoHitTestWithCaretRangeFromPoint(e,o.toClientCoordinates(g.Jj(e.viewDomNode)));if(1===r.type)return r}return this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates(g.Jj(e.viewDomNode)))}static _actualDoHitTestWithCaretRangeFromPoint(e,t){let i;let n=g.Ay(e.viewDomNode);if(!(i=n?void 0===n.caretRangeFromPoint?function(e,t,i){let n=document.createRange(),s=e.elementFromPoint(t,i);if(null!==s){let e;for(;s&&s.firstChild&&s.firstChild.nodeType!==s.firstChild.TEXT_NODE&&s.lastChild&&s.lastChild.firstChild;)s=s.lastChild;let i=s.getBoundingClientRect(),o=g.Jj(s),r=o.getComputedStyle(s,null).getPropertyValue("font-style"),l=o.getComputedStyle(s,null).getPropertyValue("font-variant"),a=o.getComputedStyle(s,null).getPropertyValue("font-weight"),d=o.getComputedStyle(s,null).getPropertyValue("font-size"),h=o.getComputedStyle(s,null).getPropertyValue("line-height"),u=o.getComputedStyle(s,null).getPropertyValue("font-family"),c=`${r} ${l} ${a} ${d}/${h} ${u}`,p=s.innerText,m=i.left,f=0;if(t>i.left+i.width)f=p.length;else{let i=eh.getInstance();for(let n=0;nthis._createMouseTarget(e,t),e=>this._getMouseColumn(e))),this.lastMouseLeaveTime=-1,this._height=this._context.configuration.options.get(145).height;let n=new K.N5(this.viewHelper.viewDomNode);this._register(n.onContextMenu(this.viewHelper.viewDomNode,e=>this._onContextMenu(e,!0))),this._register(n.onMouseMove(this.viewHelper.viewDomNode,e=>{this._onMouseMove(e),this._mouseLeaveMonitor||(this._mouseLeaveMonitor=g.nm(this.viewHelper.viewDomNode.ownerDocument,"mousemove",e=>{this.viewHelper.viewDomNode.contains(e.target)||this._onMouseLeave(new K.gy(e,!1,this.viewHelper.viewDomNode))}))})),this._register(n.onMouseUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(n.onMouseLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e)));let s=0;this._register(n.onPointerDown(this.viewHelper.viewDomNode,(e,t)=>{s=t})),this._register(g.nm(this.viewHelper.viewDomNode,g.tw.POINTER_UP,e=>{this._mouseDownOperation.onPointerUp()})),this._register(n.onMouseDown(this.viewHelper.viewDomNode,e=>this._onMouseDown(e,s))),this._setupMouseWheelZoomListener(),this._context.addEventHandler(this)}_setupMouseWheelZoomListener(){let e=ef.Io.INSTANCE,t=0,i=T.C.getZoomLevel(),n=!1,s=0;function o(e){return y.dz?(e.metaKey||e.ctrlKey)&&!e.shiftKey&&!e.altKey:e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey}this._register(g.nm(this.viewHelper.viewDomNode,g.tw.MOUSE_WHEEL,r=>{if(this.viewController.emitMouseWheel(r),!this._context.configuration.options.get(76))return;let l=new ep.q(r);if(e.acceptStandardWheelEvent(l),e.isPhysicalMouseWheel()){if(o(r)){let e=T.C.getZoomLevel(),t=l.deltaY>0?1:-1;T.C.setZoomLevel(e+t),l.preventDefault(),l.stopPropagation()}}else Date.now()-t>50&&(i=T.C.getZoomLevel(),n=o(r),s=0),t=Date.now(),s+=l.deltaY,n&&(T.C.setZoomLevel(i+s/5),l.preventDefault(),l.stopPropagation())},{capture:!0,passive:!1}))}dispose(){this._context.removeEventHandler(this),this._mouseLeaveMonitor&&(this._mouseLeaveMonitor.dispose(),this._mouseLeaveMonitor=null),super.dispose()}onConfigurationChanged(e){if(e.hasChanged(145)){let e=this._context.configuration.options.get(145).height;this._height!==e&&(this._height=e,this._mouseDownOperation.onHeightChanged())}return!1}onCursorStateChanged(e){return this._mouseDownOperation.onCursorStateChanged(e),!1}onFocusChanged(e){return!1}getTargetAtClientPoint(e,t){let i=new K.rU(e,t),n=i.toPageCoordinates(g.Jj(this.viewHelper.viewDomNode)),s=(0,K.kG)(this.viewHelper.viewDomNode);if(n.ys.y+s.height||n.xs.x+s.width)return null;let o=(0,K.Pp)(this.viewHelper.viewDomNode,s,n);return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),s,n,o,null)}_createMouseTarget(e,t){let i=e.target;if(!this.viewHelper.viewDomNode.contains(i)){let t=g.Ay(this.viewHelper.viewDomNode);t&&(i=t.elementsFromPoint(e.posx,e.posy).find(e=>this.viewHelper.viewDomNode.contains(e)))}return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),e.editorPos,e.pos,e.relativePos,t?i:null)}_getMouseColumn(e){return this.mouseTargetFactory.getMouseColumn(e.relativePos)}_onContextMenu(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})}_onMouseMove(e){let t=this.mouseTargetFactory.mouseTargetIsWidget(e);if(t||e.preventDefault(),this._mouseDownOperation.isActive())return;let i=e.timestamp;i{e.preventDefault(),this.viewHelper.focusTextArea()};if(d&&(n||o&&r))h(),this._mouseDownOperation.start(i.type,e,t);else if(s)e.preventDefault();else if(l){let n=i.detail;d&&this.viewHelper.shouldSuppressMouseDownOnViewZone(n.viewZoneId)&&(h(),this._mouseDownOperation.start(i.type,e,t),e.preventDefault())}else a&&this.viewHelper.shouldSuppressMouseDownOnWidget(i.detail)&&(h(),e.preventDefault());this.viewController.emitMouseDown({event:e,target:i})}}class ev extends f.JT{constructor(e,t,i,n,s,o){super(),this._context=e,this._viewController=t,this._viewHelper=i,this._mouseTargetFactory=n,this._createMouseTarget=s,this._getMouseColumn=o,this._mouseMoveMonitor=this._register(new K.AL(this._viewHelper.viewDomNode)),this._topBottomDragScrolling=this._register(new eb(this._context,this._viewHelper,this._mouseTargetFactory,(e,t,i)=>this._dispatchMouse(e,t,i))),this._mouseState=new ew,this._currentSelection=new em.Y(1,1,1,1),this._isActive=!1,this._lastMouseEvent=null}dispose(){super.dispose()}isActive(){return this._isActive}_onMouseDownThenMove(e){this._lastMouseEvent=e,this._mouseState.setModifiers(e);let t=this._findMousePosition(e,!1);t&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:e,target:t}):13===t.type&&("above"===t.outsidePosition||"below"===t.outsidePosition)?this._topBottomDragScrolling.start(t,e):(this._topBottomDragScrolling.stop(),this._dispatchMouse(t,!0,1)))}start(e,t,i){this._lastMouseEvent=t,this._mouseState.setStartedOnLineNumbers(3===e),this._mouseState.setStartButtons(t),this._mouseState.setModifiers(t);let n=this._findMousePosition(t,!0);if(!n||!n.position)return;this._mouseState.trySetCount(t.detail,n.position),t.detail=this._mouseState.count;let s=this._context.configuration.options;if(!s.get(91)&&s.get(35)&&!s.get(22)&&!this._mouseState.altKey&&t.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&6===n.type&&n.position&&this._currentSelection.containsPosition(n.position)){this._mouseState.isDragAndDrop=!0,this._isActive=!0,this._mouseMoveMonitor.startMonitoring(this._viewHelper.viewLinesDomNode,i,t.buttons,e=>this._onMouseDownThenMove(e),e=>{let t=this._findMousePosition(this._lastMouseEvent,!1);g.vd(e)?this._viewController.emitMouseDropCanceled():this._viewController.emitMouseDrop({event:this._lastMouseEvent,target:t?this._createMouseTarget(this._lastMouseEvent,!0):null}),this._stop()});return}this._mouseState.isDragAndDrop=!1,this._dispatchMouse(n,t.shiftKey,1),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(this._viewHelper.viewLinesDomNode,i,t.buttons,e=>this._onMouseDownThenMove(e),()=>this._stop()))}_stop(){this._isActive=!1,this._topBottomDragScrolling.stop()}onHeightChanged(){this._mouseMoveMonitor.stopMonitoring()}onPointerUp(){this._mouseMoveMonitor.stopMonitoring()}onCursorStateChanged(e){this._currentSelection=e.selections[0]}_getPositionOutsideEditor(e){let t=e.editorPos,i=this._context.viewModel,n=this._context.viewLayout,s=this._getMouseColumn(e);if(e.posyt.y+t.height){let o=e.posy-t.y-t.height,r=n.getCurrentScrollTop()+e.relativePos.y,l=es.getZoneAtCoord(this._context,r);if(l){let e=this._helpPositionJumpOverViewZone(l);if(e)return ei.createOutsideEditor(s,e,"below",o)}let a=n.getLineNumberAtVerticalOffset(r);return ei.createOutsideEditor(s,new G.L(a,i.getLineMaxColumn(a)),"below",o)}let o=n.getLineNumberAtVerticalOffset(n.getCurrentScrollTop()+e.relativePos.y);if(e.posxt.x+t.width){let n=e.posx-t.x-t.width;return ei.createOutsideEditor(s,new G.L(o,i.getLineMaxColumn(o)),"right",n)}return null}_findMousePosition(e,t){let i=this._getPositionOutsideEditor(e);if(i)return i;let n=this._createMouseTarget(e,t),s=n.position;if(!s)return null;if(8===n.type||5===n.type){let e=this._helpPositionJumpOverViewZone(n.detail);if(e)return ei.createViewZone(n.type,n.element,n.mouseColumn,e,n.detail)}return n}_helpPositionJumpOverViewZone(e){let t=new G.L(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),i=e.positionBefore,n=e.positionAfter;return i&&n?i.isBefore(t)?i:n:null}_dispatchMouse(e,t,i){e.position&&this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,revealType:i,inSelectionMode:t,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton,onInjectedText:6===e.type&&null!==e.detail.injectedText})}}class eb extends f.JT{constructor(e,t,i,n){super(),this._context=e,this._viewHelper=t,this._mouseTargetFactory=i,this._dispatchMouse=n,this._operation=null}dispose(){super.dispose(),this.stop()}start(e,t){this._operation?this._operation.setPosition(e,t):this._operation=new eC(this._context,this._viewHelper,this._mouseTargetFactory,this._dispatchMouse,e,t)}stop(){this._operation&&(this._operation.dispose(),this._operation=null)}}class eC extends f.JT{constructor(e,t,i,n,s,o){super(),this._context=e,this._viewHelper=t,this._mouseTargetFactory=i,this._dispatchMouse=n,this._position=s,this._mouseEvent=o,this._lastTime=Date.now(),this._animationFrameDisposable=g.jL(g.Jj(o.browserEvent),()=>this._execute())}dispose(){this._animationFrameDisposable.dispose(),super.dispose()}setPosition(e,t){this._position=e,this._mouseEvent=t}_tick(){let e=Date.now(),t=e-this._lastTime;return this._lastTime=e,t}_getScrollSpeed(){let e=this._context.configuration.options.get(67),t=this._context.configuration.options.get(145).height/e,i=this._position.outsideDistance/e;return i<=1.5?Math.max(30,t*(1+i)):i<=3?Math.max(60,t*(2+i)):Math.max(200,t*(7+i))}_execute(){let e;let t=this._context.configuration.options.get(67),i=this._getScrollSpeed(),n=this._tick(),s=i*(n/1e3)*t,o="above"===this._position.outsidePosition?-s:s;this._context.viewModel.viewLayout.deltaScrollNow(0,o),this._viewHelper.renderNow();let r=this._context.viewLayout.getLinesViewportData(),l="above"===this._position.outsidePosition?r.startLineNumber:r.endLineNumber;{let t=(0,K.kG)(this._viewHelper.viewDomNode),i=this._context.configuration.options.get(145).horizontalScrollbarHeight,n=new K.YN(this._mouseEvent.pos.x,t.y+t.height-i-.1),s=(0,K.Pp)(this._viewHelper.viewDomNode,t,n);e=this._mouseTargetFactory.createMouseTarget(this._viewHelper.getLastRenderData(),t,n,s,null)}e.position&&e.position.lineNumber===l||(e="above"===this._position.outsidePosition?ei.createOutsideEditor(this._position.mouseColumn,new G.L(l,1),"above",this._position.outsideDistance):ei.createOutsideEditor(this._position.mouseColumn,new G.L(l,this._context.viewModel.getLineMaxColumn(l)),"below",this._position.outsideDistance)),this._dispatchMouse(e,!0,2),this._animationFrameDisposable=g.jL(g.Jj(e.element),()=>this._execute())}}class ew{get altKey(){return this._altKey}get ctrlKey(){return this._ctrlKey}get metaKey(){return this._metaKey}get shiftKey(){return this._shiftKey}get leftButton(){return this._leftButton}get middleButton(){return this._middleButton}get startedOnLineNumbers(){return this._startedOnLineNumbers}constructor(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}get count(){return this._lastMouseDownCount}setModifiers(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey}setStartButtons(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton}setStartedOnLineNumbers(e){this._startedOnLineNumbers=e}trySetCount(e,t){let i=new Date().getTime();i-this._lastSetMouseDownCountTime>ew.CLEAR_MOUSE_DOWN_COUNT_TIME&&(e=1),this._lastSetMouseDownCountTime=i,e>this._lastMouseDownCount+1&&(e=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(t)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=t,this._lastMouseDownCount=Math.min(e,this._lastMouseDownPositionEqualCount)}}ew.CLEAR_MOUSE_DOWN_COUNT_TIME=400;var ey=i(35715);class eS extends e_{constructor(e,t,i){super(e,t,i),this._register(ec.o.addTarget(this.viewHelper.linesContentDomNode)),this._register(g.nm(this.viewHelper.linesContentDomNode,ec.t.Tap,e=>this.onTap(e))),this._register(g.nm(this.viewHelper.linesContentDomNode,ec.t.Change,e=>this.onChange(e))),this._register(g.nm(this.viewHelper.linesContentDomNode,ec.t.Contextmenu,e=>this._onContextMenu(new K.gy(e,!1,this.viewHelper.viewDomNode),!1))),this._lastPointerType="mouse",this._register(g.nm(this.viewHelper.linesContentDomNode,"pointerdown",e=>{let t=e.pointerType;if("mouse"===t){this._lastPointerType="mouse";return}"touch"===t?this._lastPointerType="touch":this._lastPointerType="pen"}));let n=new K.tC(this.viewHelper.viewDomNode);this._register(n.onPointerMove(this.viewHelper.viewDomNode,e=>this._onMouseMove(e))),this._register(n.onPointerUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(n.onPointerLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e))),this._register(n.onPointerDown(this.viewHelper.viewDomNode,(e,t)=>this._onMouseDown(e,t)))}onTap(e){e.initialTarget&&this.viewHelper.linesContentDomNode.contains(e.initialTarget)&&(e.preventDefault(),this.viewHelper.focusTextArea(),this._dispatchGesture(e,!1))}onChange(e){"touch"===this._lastPointerType&&this._context.viewModel.viewLayout.deltaScrollNow(-e.translationX,-e.translationY),"pen"===this._lastPointerType&&this._dispatchGesture(e,!0)}_dispatchGesture(e,t){let i=this._createMouseTarget(new K.gy(e,!1,this.viewHelper.viewDomNode),!1);i.position&&this.viewController.dispatchMouse({position:i.position,mouseColumn:i.position.column,startedOnLineNumbers:!1,revealType:1,mouseDownCount:e.tapCount,inSelectionMode:t,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1,onInjectedText:6===i.type&&null!==i.detail.injectedText})}_onMouseDown(e,t){"touch"!==e.browserEvent.pointerType&&super._onMouseDown(e,t)}}class eL extends e_{constructor(e,t,i){super(e,t,i),this._register(ec.o.addTarget(this.viewHelper.linesContentDomNode)),this._register(g.nm(this.viewHelper.linesContentDomNode,ec.t.Tap,e=>this.onTap(e))),this._register(g.nm(this.viewHelper.linesContentDomNode,ec.t.Change,e=>this.onChange(e))),this._register(g.nm(this.viewHelper.linesContentDomNode,ec.t.Contextmenu,e=>this._onContextMenu(new K.gy(e,!1,this.viewHelper.viewDomNode),!1)))}onTap(e){e.preventDefault(),this.viewHelper.focusTextArea();let t=this._createMouseTarget(new K.gy(e,!1,this.viewHelper.viewDomNode),!1);if(t.position){let e=document.createEvent("CustomEvent");e.initEvent(ey.pd.Tap,!1,!0),this.viewHelper.dispatchTextAreaEvent(e),this.viewController.moveTo(t.position,1)}}onChange(e){this._context.viewModel.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)}}class ek extends f.JT{constructor(e,t,i){super();let n=y.gn||y.Dt&&y.tq;n&&eu.D.pointerEvents?this.handler=this._register(new eS(e,t,i)):eg.E.TouchEvent?this.handler=this._register(new eL(e,t,i)):this.handler=this._register(new e_(e,t,i))}getTargetAtClientPoint(e,t){return this.handler.getTargetAtClientPoint(e,t)}}i(33094);var eD=i(63580),ex=i(97295),eN=i(15887);i(44789);class eE extends U{}var eI=i(97781),eT=i(51945);class eM extends eE{constructor(e){super(),this._context=e,this._readConfig(),this._lastCursorModelPosition=new G.L(1,1),this._renderResult=null,this._activeLineNumber=1,this._context.addEventHandler(this)}_readConfig(){let e=this._context.configuration.options;this._lineHeight=e.get(67);let t=e.get(68);this._renderLineNumbers=t.renderType,this._renderCustomLineNumbers=t.renderFn,this._renderFinalNewline=e.get(95);let i=e.get(145);this._lineNumbersLeft=i.lineNumbersLeft,this._lineNumbersWidth=i.lineNumbersWidth}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){return this._readConfig(),!0}onCursorStateChanged(e){let t=e.selections[0].getPosition();this._lastCursorModelPosition=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(t);let i=!1;return this._activeLineNumber!==t.lineNumber&&(this._activeLineNumber=t.lineNumber,i=!0),(2===this._renderLineNumbers||3===this._renderLineNumbers)&&(i=!0),i}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}onDecorationsChanged(e){return e.affectsLineNumber}_getLineRenderLineNumber(e){let t=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new G.L(e,1));if(1!==t.column)return"";let i=t.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(i);if(2===this._renderLineNumbers){let e=Math.abs(this._lastCursorModelPosition.lineNumber-i);return 0===e?''+i+"":String(e)}if(3===this._renderLineNumbers){if(this._lastCursorModelPosition.lineNumber===i||i%10==0)return String(i);let e=this._context.viewModel.getLineCount();return i===e?String(i):""}return String(i)}prepareRender(e){if(0===this._renderLineNumbers){this._renderResult=null;return}let t=y.IJ?this._lineHeight%2==0?" lh-even":" lh-odd":"",i=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,s=this._context.viewModel.getDecorationsInViewport(e.visibleRange).filter(e=>!!e.options.lineNumberClassName);s.sort((e,t)=>Q.e.compareRangesUsingEnds(e.range,t.range));let o=0,r=this._context.viewModel.getLineCount(),l=[];for(let e=i;e<=n;e++){let n=e-i,a=this._getLineRenderLineNumber(e),d="";for(;o${a}`}this._renderResult=l}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}eM.CLASS_NAME="line-numbers",(0,eI.Ic)((e,t)=>{let i=e.getColor(eT.hw),n=e.getColor(eT.Bj);n?t.addRule(`.monaco-editor .line-numbers.dimmed-line-number { color: ${n}; }`):i&&t.addRule(`.monaco-editor .line-numbers.dimmed-line-number { color: ${i.transparent(.4)}; }`)}),i(37913);class eR extends ${constructor(e){super(e);let t=this._context.configuration.options,i=t.get(145);this._canUseLayerHinting=!t.get(32),this._contentLeft=i.contentLeft,this._glyphMarginLeft=i.glyphMarginLeft,this._glyphMarginWidth=i.glyphMarginWidth,this._domNode=(0,V.X)(document.createElement("div")),this._domNode.setClassName(eR.OUTER_CLASS_NAME),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._glyphMarginBackgroundDomNode=(0,V.X)(document.createElement("div")),this._glyphMarginBackgroundDomNode.setClassName(eR.CLASS_NAME),this._domNode.appendChild(this._glyphMarginBackgroundDomNode)}dispose(){super.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);return this._canUseLayerHinting=!t.get(32),this._contentLeft=i.contentLeft,this._glyphMarginLeft=i.glyphMarginLeft,this._glyphMarginWidth=i.glyphMarginWidth,!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollTopChanged}prepareRender(e){}render(e){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");let t=e.scrollTop-e.bigNumbersDelta;this._domNode.setTop(-t);let i=Math.min(e.scrollHeight,1e6);this._domNode.setHeight(i),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(i)}}eR.CLASS_NAME="glyph-margin",eR.OUTER_CLASS_NAME="margin";var eA=i(24929);i(30591);let eP="monaco-mouse-cursor-text";var eO=i(43155),eF=i(41264),eB=i(77173),eW=i(91847),eH=i(72065),eV=function(e,t){return function(i,n){t(i,n,e)}};class ez{constructor(e,t,i,n,s){this._context=e,this.modelLineNumber=t,this.distanceToModelLineStart=i,this.widthOfHiddenLineTextBefore=n,this.distanceToModelLineEnd=s,this._visibleTextAreaBrand=void 0,this.startPosition=null,this.endPosition=null,this.visibleTextareaStart=null,this.visibleTextareaEnd=null,this._previousPresentation=null}prepareRender(e){let t=new G.L(this.modelLineNumber,this.distanceToModelLineStart+1),i=new G.L(this.modelLineNumber,this._context.viewModel.model.getLineMaxColumn(this.modelLineNumber)-this.distanceToModelLineEnd);this.startPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(t),this.endPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(i),this.startPosition.lineNumber===this.endPosition.lineNumber?(this.visibleTextareaStart=e.visibleRangeForPosition(this.startPosition),this.visibleTextareaEnd=e.visibleRangeForPosition(this.endPosition)):(this.visibleTextareaStart=null,this.visibleTextareaEnd=null)}definePresentation(e){return this._previousPresentation||(e?this._previousPresentation=e:this._previousPresentation={foreground:1,italic:!1,bold:!1,underline:!1,strikethrough:!1}),this._previousPresentation}}let eK=b.vU,eU=class extends ${constructor(e,t,i,n,s){super(e),this._keybindingService=n,this._instantiationService=s,this._primaryCursorPosition=new G.L(1,1),this._primaryCursorVisibleRange=null,this._viewController=t,this._visibleRangeProvider=i,this._scrollLeft=0,this._scrollTop=0;let o=this._context.configuration.options,r=o.get(145);this._setAccessibilityOptions(o),this._contentLeft=r.contentLeft,this._contentWidth=r.contentWidth,this._contentHeight=r.height,this._fontInfo=o.get(50),this._lineHeight=o.get(67),this._emptySelectionClipboard=o.get(37),this._copyWithSyntaxHighlighting=o.get(25),this._visibleTextArea=null,this._selections=[new em.Y(1,1,1,1)],this._modelSelections=[new em.Y(1,1,1,1)],this._lastRenderPosition=null,this.textArea=(0,V.X)(document.createElement("textarea")),q.write(this.textArea,7),this.textArea.setClassName(`inputarea ${eP}`),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off");let{tabSize:l}=this._context.viewModel.model.getOptions();this.textArea.domNode.style.tabSize=`${l*this._fontInfo.spaceWidth}px`,this.textArea.setAttribute("autocorrect","off"),this.textArea.setAttribute("autocapitalize","off"),this.textArea.setAttribute("autocomplete","off"),this.textArea.setAttribute("spellcheck","false"),this.textArea.setAttribute("aria-label",this._getAriaLabel(o)),this.textArea.setAttribute("aria-required",o.get(5)?"true":"false"),this.textArea.setAttribute("tabindex",String(o.get(124))),this.textArea.setAttribute("role","textbox"),this.textArea.setAttribute("aria-roledescription",eD.NC("editor","editor")),this.textArea.setAttribute("aria-multiline","true"),this.textArea.setAttribute("aria-autocomplete",o.get(91)?"none":"both"),this._ensureReadOnlyAttribute(),this.textAreaCover=(0,V.X)(document.createElement("div")),this.textAreaCover.setPosition("absolute");let a={getLineCount:()=>this._context.viewModel.getLineCount(),getLineMaxColumn:e=>this._context.viewModel.getLineMaxColumn(e),getValueInRange:(e,t)=>this._context.viewModel.getValueInRange(e,t),getValueLengthInRange:(e,t)=>this._context.viewModel.getValueLengthInRange(e,t),modifyPosition:(e,t)=>this._context.viewModel.modifyPosition(e,t)},d=this._register(new ey.Tj(this.textArea.domNode));this._textAreaInput=this._register(this._instantiationService.createInstance(ey.Fz,{getDataToCopy:()=>{let e;let t=this._context.viewModel.getPlainTextToCopy(this._modelSelections,this._emptySelectionClipboard,y.ED),i=this._context.viewModel.model.getEOL(),n=this._emptySelectionClipboard&&1===this._modelSelections.length&&this._modelSelections[0].isEmpty(),s=Array.isArray(t)?t:null,o=Array.isArray(t)?t.join(i):t,r=null;if(ey.RA.forceCopyWithSyntaxHighlighting||this._copyWithSyntaxHighlighting&&o.length<65536){let t=this._context.viewModel.getRichTextToCopy(this._modelSelections,this._emptySelectionClipboard);t&&(e=t.html,r=t.mode)}return{isFromEmptySelection:n,multicursorText:s,text:o,html:e,mode:r}},getScreenReaderContent:()=>{if(1===this._accessibilitySupport){let e=this._selections[0];if(y.dz&&e.isEmpty()){let t=e.getStartPosition(),i=this._getWordBeforePosition(t);if(0===i.length&&(i=this._getCharacterBeforePosition(t)),i.length>0)return new eN.un(i,i.length,i.length,Q.e.fromPositions(t),0)}if(y.dz&&!e.isEmpty()&&500>a.getValueLengthInRange(e,0)){let t=a.getValueInRange(e,0);return new eN.un(t,0,t.length,e,0)}if(b.G6&&!e.isEmpty()){let e="vscode-placeholder";return new eN.un(e,0,e.length,null,void 0)}return eN.un.EMPTY}if(b.Dt){let e=this._selections[0];if(e.isEmpty()){let t=e.getStartPosition(),[i,n]=this._getAndroidWordAtPosition(t);if(i.length>0)return new eN.un(i,n,n,Q.e.fromPositions(t),0)}return eN.un.EMPTY}return eN.ee.fromEditorSelection(a,this._selections[0],this._accessibilityPageSize,0===this._accessibilitySupport)},deduceModelPosition:(e,t,i)=>this._context.viewModel.deduceModelPositionRelativeToViewPosition(e,t,i)},d,y.OS,{isAndroid:b.Dt,isChrome:b.i7,isFirefox:b.vU,isSafari:b.G6})),this._register(this._textAreaInput.onKeyDown(e=>{this._viewController.emitKeyDown(e)})),this._register(this._textAreaInput.onKeyUp(e=>{this._viewController.emitKeyUp(e)})),this._register(this._textAreaInput.onPaste(e=>{let t=!1,i=null,n=null;e.metadata&&(t=this._emptySelectionClipboard&&!!e.metadata.isFromEmptySelection,i=void 0!==e.metadata.multicursorText?e.metadata.multicursorText:null,n=e.metadata.mode),this._viewController.paste(e.text,t,i,n)})),this._register(this._textAreaInput.onCut(()=>{this._viewController.cut()})),this._register(this._textAreaInput.onType(e=>{e.replacePrevCharCnt||e.replaceNextCharCnt||e.positionDelta?(eN.al&&console.log(` => compositionType: <<${e.text}>>, ${e.replacePrevCharCnt}, ${e.replaceNextCharCnt}, ${e.positionDelta}`),this._viewController.compositionType(e.text,e.replacePrevCharCnt,e.replaceNextCharCnt,e.positionDelta)):(eN.al&&console.log(` => type: <<${e.text}>>`),this._viewController.type(e.text))})),this._register(this._textAreaInput.onSelectionChangeRequest(e=>{this._viewController.setSelection(e)})),this._register(this._textAreaInput.onCompositionStart(e=>{let t=this.textArea.domNode,i=this._modelSelections[0],{distanceToModelLineStart:n,widthOfHiddenTextBefore:s}=(()=>{let e=t.value.substring(0,Math.min(t.selectionStart,t.selectionEnd)),n=e.lastIndexOf("\n"),s=e.substring(n+1),o=s.lastIndexOf(" "),r=s.length-o-1,l=i.getStartPosition(),a=Math.min(l.column-1,r),d=l.column-1-a,h=s.substring(0,s.length-a),{tabSize:u}=this._context.viewModel.model.getOptions(),c=function(e,t,i,n){if(0===t.length)return 0;let s=e.createElement("div");s.style.position="absolute",s.style.top="-50000px",s.style.width="50000px";let o=e.createElement("span");(0,v.N)(o,i),o.style.whiteSpace="pre",o.style.tabSize=`${n*i.spaceWidth}px`,o.append(t),s.appendChild(o),e.body.appendChild(s);let r=o.offsetWidth;return e.body.removeChild(s),r}(this.textArea.domNode.ownerDocument,h,this._fontInfo,u);return{distanceToModelLineStart:d,widthOfHiddenTextBefore:c}})(),{distanceToModelLineEnd:o}=(()=>{let e=t.value.substring(Math.max(t.selectionStart,t.selectionEnd)),n=e.indexOf("\n"),s=-1===n?e:e.substring(0,n),o=s.indexOf(" "),r=-1===o?s.length:s.length-o-1,l=i.getEndPosition(),a=Math.min(this._context.viewModel.model.getLineMaxColumn(l.lineNumber)-l.column,r),d=this._context.viewModel.model.getLineMaxColumn(l.lineNumber)-l.column-a;return{distanceToModelLineEnd:d}})();this._context.viewModel.revealRange("keyboard",!0,Q.e.fromPositions(this._selections[0].getStartPosition()),0,1),this._visibleTextArea=new ez(this._context,i.startLineNumber,n,s,o),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off"),this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render(),this.textArea.setClassName(`inputarea ${eP} ime-input`),this._viewController.compositionStart(),this._context.viewModel.onCompositionStart()})),this._register(this._textAreaInput.onCompositionUpdate(e=>{this._visibleTextArea&&(this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render())})),this._register(this._textAreaInput.onCompositionEnd(()=>{this._visibleTextArea=null,this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off"),this._render(),this.textArea.setClassName(`inputarea ${eP}`),this._viewController.compositionEnd(),this._context.viewModel.onCompositionEnd()})),this._register(this._textAreaInput.onFocus(()=>{this._context.viewModel.setHasFocus(!0)})),this._register(this._textAreaInput.onBlur(()=>{this._context.viewModel.setHasFocus(!1)})),this._register(eB.F.onDidChange(()=>{this._ensureReadOnlyAttribute()}))}writeScreenReaderContent(e){this._textAreaInput.writeNativeTextAreaContent(e)}dispose(){super.dispose()}_getAndroidWordAtPosition(e){let t=this._context.viewModel.getLineContent(e.lineNumber),i=(0,eA.u)('`~!@#$%^&*()-=+[{]}\\|;:",.<>/?',[]),n=!0,s=e.column,o=!0,r=e.column,l=0;for(;l<50&&(n||o);){if(n&&s<=1&&(n=!1),n){let e=t.charCodeAt(s-2),o=i.get(e);0!==o?n=!1:s--}if(o&&r>t.length&&(o=!1),o){let e=t.charCodeAt(r-1),n=i.get(e);0!==n?o=!1:r++}l++}return[t.substring(s-1,r-1),e.column-s]}_getWordBeforePosition(e){let t=this._context.viewModel.getLineContent(e.lineNumber),i=(0,eA.u)(this._context.configuration.options.get(131),[]),n=e.column,s=0;for(;n>1;){let o=t.charCodeAt(n-2),r=i.get(o);if(0!==r||s>50)return t.substring(n-1,e.column-1);s++,n--}return t.substring(0,e.column-1)}_getCharacterBeforePosition(e){if(e.column>1){let t=this._context.viewModel.getLineContent(e.lineNumber),i=t.charAt(e.column-2);if(!ex.ZG(i.charCodeAt(0)))return i}return""}_getAriaLabel(e){var t,i,n;let s=e.get(2);if(1===s){let e=null===(t=this._keybindingService.lookupKeybinding("editor.action.toggleScreenReaderAccessibilityMode"))||void 0===t?void 0:t.getAriaLabel(),s=null===(i=this._keybindingService.lookupKeybinding("workbench.action.showCommands"))||void 0===i?void 0:i.getAriaLabel(),o=null===(n=this._keybindingService.lookupKeybinding("workbench.action.openGlobalKeybindings"))||void 0===n?void 0:n.getAriaLabel(),r=eD.NC("accessibilityModeOff","The editor is not accessible at this time.");return e?eD.NC("accessibilityOffAriaLabel","{0} To enable screen reader optimized mode, use {1}",r,e):s?eD.NC("accessibilityOffAriaLabelNoKb","{0} To enable screen reader optimized mode, open the quick pick with {1} and run the command Toggle Screen Reader Accessibility Mode, which is currently not triggerable via keyboard.",r,s):o?eD.NC("accessibilityOffAriaLabelNoKbs","{0} Please assign a keybinding for the command Toggle Screen Reader Accessibility Mode by accessing the keybindings editor with {1} and run it.",r,o):r}return e.get(4)}_setAccessibilityOptions(e){this._accessibilitySupport=e.get(2);let t=e.get(3);2===this._accessibilitySupport&&t===I.BH.accessibilityPageSize.defaultValue?this._accessibilityPageSize=500:this._accessibilityPageSize=t;let i=e.get(145),n=i.wrappingColumn;if(-1!==n&&1!==this._accessibilitySupport){let t=e.get(50);this._textAreaWrapping=!0,this._textAreaWidth=Math.round(n*t.typicalHalfwidthCharacterWidth)}else this._textAreaWrapping=!1,this._textAreaWidth=eK?0:1}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);this._setAccessibilityOptions(t),this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,this._contentHeight=i.height,this._fontInfo=t.get(50),this._lineHeight=t.get(67),this._emptySelectionClipboard=t.get(37),this._copyWithSyntaxHighlighting=t.get(25),this.textArea.setAttribute("wrap",this._textAreaWrapping&&!this._visibleTextArea?"on":"off");let{tabSize:n}=this._context.viewModel.model.getOptions();return this.textArea.domNode.style.tabSize=`${n*this._fontInfo.spaceWidth}px`,this.textArea.setAttribute("aria-label",this._getAriaLabel(t)),this.textArea.setAttribute("aria-required",t.get(5)?"true":"false"),this.textArea.setAttribute("tabindex",String(t.get(124))),(e.hasChanged(34)||e.hasChanged(91))&&this._ensureReadOnlyAttribute(),e.hasChanged(2)&&this._textAreaInput.writeNativeTextAreaContent("strategy changed"),!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),this._modelSelections=e.modelSelections.slice(0),this._textAreaInput.writeNativeTextAreaContent("selection changed"),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return this._scrollLeft=e.scrollLeft,this._scrollTop=e.scrollTop,!0}onZonesChanged(e){return!0}isFocused(){return this._textAreaInput.isFocused()}focusTextArea(){this._textAreaInput.focusTextArea()}getLastRenderData(){return this._lastRenderPosition}setAriaOptions(e){e.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",e.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant")),e.role&&this.textArea.setAttribute("role",e.role)}_ensureReadOnlyAttribute(){let e=this._context.configuration.options,t=!eB.F.enabled||e.get(34)&&e.get(91);t?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")}prepareRender(e){var t;this._primaryCursorPosition=new G.L(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=e.visibleRangeForPosition(this._primaryCursorPosition),null===(t=this._visibleTextArea)||void 0===t||t.prepareRender(e)}render(e){this._textAreaInput.writeNativeTextAreaContent("render"),this._render()}_render(){var e;if(this._visibleTextArea){let e=this._visibleTextArea.visibleTextareaStart,t=this._visibleTextArea.visibleTextareaEnd,i=this._visibleTextArea.startPosition,n=this._visibleTextArea.endPosition;if(i&&n&&e&&t&&t.left>=this._scrollLeft&&e.left<=this._scrollLeft+this._contentWidth){let s=this._context.viewLayout.getVerticalOffsetForLineNumber(this._primaryCursorPosition.lineNumber)-this._scrollTop,o=this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart)),r=this._visibleTextArea.widthOfHiddenLineTextBefore,l=this._contentLeft+e.left-this._scrollLeft,a=t.left-e.left+1;if(lthis._contentWidth&&(a=this._contentWidth);let d=this._context.viewModel.getViewLineData(i.lineNumber),h=d.tokens.findTokenIndexAtOffset(i.column-1),u=d.tokens.findTokenIndexAtOffset(n.column-1),c=h===u,g=this._visibleTextArea.definePresentation(c?d.tokens.getPresentation(h):null);this.textArea.domNode.scrollTop=o*this._lineHeight,this.textArea.domNode.scrollLeft=r,this._doRender({lastRenderPosition:null,top:s,left:l,width:a,height:this._lineHeight,useCover:!1,color:(eO.RW.getColorMap()||[])[g.foreground],italic:g.italic,bold:g.bold,underline:g.underline,strikethrough:g.strikethrough})}return}if(!this._primaryCursorVisibleRange){this._renderAtTopLeft();return}let t=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(tthis._contentLeft+this._contentWidth){this._renderAtTopLeft();return}let i=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;if(i<0||i>this._contentHeight){this._renderAtTopLeft();return}if(y.dz||2===this._accessibilitySupport){this._doRender({lastRenderPosition:this._primaryCursorPosition,top:i,left:this._textAreaWrapping?this._contentLeft:t,width:this._textAreaWidth,height:this._lineHeight,useCover:!1}),this.textArea.domNode.scrollLeft=this._primaryCursorVisibleRange.left;let n=null!==(e=this._textAreaInput.textAreaState.newlineCountBeforeSelection)&&void 0!==e?e:this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart));this.textArea.domNode.scrollTop=n*this._lineHeight;return}this._doRender({lastRenderPosition:this._primaryCursorPosition,top:i,left:this._textAreaWrapping?this._contentLeft:t,width:this._textAreaWidth,height:eK?0:1,useCover:!1})}_newlinecount(e){let t=0,i=-1;for(;-1!==(i=e.indexOf("\n",i+1));)t++;return t}_renderAtTopLeft(){this._doRender({lastRenderPosition:null,top:0,left:0,width:this._textAreaWidth,height:eK?0:1,useCover:!0})}_doRender(e){this._lastRenderPosition=e.lastRenderPosition;let t=this.textArea,i=this.textAreaCover;(0,v.N)(t,this._fontInfo),t.setTop(e.top),t.setLeft(e.left),t.setWidth(e.width),t.setHeight(e.height),t.setColor(e.color?eF.Il.Format.CSS.formatHex(e.color):""),t.setFontStyle(e.italic?"italic":""),e.bold&&t.setFontWeight("bold"),t.setTextDecoration(`${e.underline?" underline":""}${e.strikethrough?" line-through":""}`),i.setTop(e.useCover?e.top:0),i.setLeft(e.useCover?e.left:0),i.setWidth(e.useCover?e.width:0),i.setHeight(e.useCover?e.height:0);let n=this._context.configuration.options;n.get(57)?i.setClassName("monaco-editor-background textAreaCover "+eR.OUTER_CLASS_NAME):0!==n.get(68).renderType?i.setClassName("monaco-editor-background textAreaCover "+eM.CLASS_NAME):i.setClassName("monaco-editor-background textAreaCover")}};eU=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([eV(3,eW.d),eV(4,eH.TG)],eU);var e$=i(7031),eq=i(42549);class ej{constructor(e,t,i,n){this.configuration=e,this.viewModel=t,this.userInputEvents=i,this.commandDelegate=n}paste(e,t,i,n){this.commandDelegate.paste(e,t,i,n)}type(e){this.commandDelegate.type(e)}compositionType(e,t,i,n){this.commandDelegate.compositionType(e,t,i,n)}compositionStart(){this.commandDelegate.startComposition()}compositionEnd(){this.commandDelegate.endComposition()}cut(){this.commandDelegate.cut()}setSelection(e){eq.Ox.SetSelection.runCoreEditorCommand(this.viewModel,{source:"keyboard",selection:e})}_validateViewColumn(e){let t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column=4?this._selectAll():3===e.mouseDownCount?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelectDrag(e.position,e.revealType):this._lastCursorLineSelect(e.position,e.revealType):e.inSelectionMode?this._lineSelectDrag(e.position,e.revealType):this._lineSelect(e.position,e.revealType):2===e.mouseDownCount?e.onInjectedText||(this._hasMulticursorModifier(e)?this._lastCursorWordSelect(e.position,e.revealType):e.inSelectionMode?this._wordSelectDrag(e.position,e.revealType):this._wordSelect(e.position,e.revealType)):this._hasMulticursorModifier(e)?this._hasNonMulticursorModifier(e)||(e.shiftKey?this._columnSelect(e.position,e.mouseColumn,!0):e.inSelectionMode?this._lastCursorMoveToSelect(e.position,e.revealType):this._createCursor(e.position,!1)):e.inSelectionMode?e.altKey?this._columnSelect(e.position,e.mouseColumn,!0):n?this._columnSelect(e.position,e.mouseColumn,!0):this._moveToSelect(e.position,e.revealType):this.moveTo(e.position,e.revealType)}_usualArgs(e,t){return e=this._validateViewColumn(e),{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,revealType:t}}moveTo(e,t){eq.Ox.MoveTo.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_moveToSelect(e,t){eq.Ox.MoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_columnSelect(e,t,i){e=this._validateViewColumn(e),eq.Ox.ColumnSelect.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t,doColumnSelect:i})}_createCursor(e,t){e=this._validateViewColumn(e),eq.Ox.CreateCursor.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})}_lastCursorMoveToSelect(e,t){eq.Ox.LastCursorMoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_wordSelect(e,t){eq.Ox.WordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_wordSelectDrag(e,t){eq.Ox.WordSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lastCursorWordSelect(e,t){eq.Ox.LastCursorWordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lineSelect(e,t){eq.Ox.LineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lineSelectDrag(e,t){eq.Ox.LineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lastCursorLineSelect(e,t){eq.Ox.LastCursorLineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_lastCursorLineSelectDrag(e,t){eq.Ox.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e,t))}_selectAll(){eq.Ox.SelectAll.runCoreEditorCommand(this.viewModel,{source:"mouse"})}_convertViewToModelPosition(e){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(e)}emitKeyDown(e){this.userInputEvents.emitKeyDown(e)}emitKeyUp(e){this.userInputEvents.emitKeyUp(e)}emitContextMenu(e){this.userInputEvents.emitContextMenu(e)}emitMouseMove(e){this.userInputEvents.emitMouseMove(e)}emitMouseLeave(e){this.userInputEvents.emitMouseLeave(e)}emitMouseUp(e){this.userInputEvents.emitMouseUp(e)}emitMouseDown(e){this.userInputEvents.emitMouseDown(e)}emitMouseDrag(e){this.userInputEvents.emitMouseDrag(e)}emitMouseDrop(e){this.userInputEvents.emitMouseDrop(e)}emitMouseDropCanceled(){this.userInputEvents.emitMouseDropCanceled()}emitMouseWheel(e){this.userInputEvents.emitMouseWheel(e)}}var eG=i(77514),eQ=i(50072);class eZ{constructor(e){this._createLine=e,this._set(1,[])}flush(){this._set(1,[])}_set(e,t){this._lines=t,this._rendLineNumberStart=e}_get(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}}getStartLineNumber(){return this._rendLineNumberStart}getEndLineNumber(){return this._rendLineNumberStart+this._lines.length-1}getCount(){return this._lines.length}getLine(e){let t=e-this._rendLineNumberStart;if(t<0||t>=this._lines.length)throw new p.he("Illegal value for lineNumber");return this._lines[t]}onLinesDeleted(e,t){if(0===this.getCount())return null;let i=this.getStartLineNumber(),n=this.getEndLineNumber();if(tn)return null;let s=0,o=0;for(let r=i;r<=n;r++){let i=r-this._rendLineNumberStart;e<=r&&r<=t&&(0===o?(s=i,o=1):o++)}if(e=n&&t<=s&&(this._lines[t-this._rendLineNumberStart].onContentChanged(),o=!0);return o}onLinesInserted(e,t){if(0===this.getCount())return null;let i=t-e+1,n=this.getStartLineNumber(),s=this.getEndLineNumber();if(e<=n)return this._rendLineNumberStart+=i,null;if(e>s)return null;if(i+e>s){let t=this._lines.splice(e-this._rendLineNumberStart,s-e+1);return t}let o=[];for(let e=0;ei)continue;let r=Math.max(t,o.fromLineNumber),l=Math.min(i,o.toLineNumber);for(let e=r;e<=l;e++){let t=e-this._rendLineNumberStart;this._lines[t].onTokensChanged(),n=!0}}return n}}class eY{constructor(e){this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new eZ(()=>this._host.createVisibleLine())}_createDomNode(){let e=(0,V.X)(document.createElement("div"));return e.setClassName("view-layer"),e.setPosition("absolute"),e.domNode.setAttribute("role","presentation"),e.domNode.setAttribute("aria-hidden","true"),e}onConfigurationChanged(e){return!!e.hasChanged(145)}onFlushed(e){return this._linesCollection.flush(),!0}onLinesChanged(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.count)}onLinesDeleted(e){let t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(let e=0,i=t.length;et){let e=Math.min(i,s.rendLineNumberStart-1);t<=e&&(this._insertLinesBefore(s,t,e,n,t),s.linesLength+=e-t+1)}else if(s.rendLineNumberStart0&&(this._removeLinesBefore(s,e),s.linesLength-=e)}if(s.rendLineNumberStart=t,s.rendLineNumberStart+s.linesLength-1i){let e=Math.max(0,i-s.rendLineNumberStart+1),t=s.linesLength-1,n=t-e+1;n>0&&(this._removeLinesAfter(s,n),s.linesLength-=n)}return this._finishRendering(s,!1,n),s}_renderUntouchedLines(e,t,i,n,s){let o=e.rendLineNumberStart,r=e.lines;for(let e=t;e<=i;e++){let t=o+e;r[e].layoutLine(t,n[t-s],this.viewportData.lineHeight)}}_insertLinesBefore(e,t,i,n,s){let o=[],r=0;for(let e=t;e<=i;e++)o[r++]=this.host.createVisibleLine();e.lines=o.concat(e.lines)}_removeLinesBefore(e,t){for(let i=0;i=0;t--){let i=e.lines[t];n[t]&&(i.setDomNode(o),o=o.previousSibling)}}_finishRenderingInvalidLines(e,t,i){let n=document.createElement("div");eJ._ttPolicy&&(t=eJ._ttPolicy.createHTML(t)),n.innerHTML=t;for(let t=0;te}),eJ._sb=new eQ.HT(1e5);class eX extends ${constructor(e){super(e),this._visibleLines=new eY(this),this.domNode=this._visibleLines.domNode;let t=this._context.configuration.options,i=t.get(50);(0,v.N)(this.domNode,i),this._dynamicOverlays=[],this._isFocused=!1,this.domNode.setClassName("view-overlays")}shouldRender(){if(super.shouldRender())return!0;for(let e=0,t=this._dynamicOverlays.length;ee.shouldRender());for(let i=0,n=t.length;i'),s.appendString(o),s.appendString(""),!0)}layoutLine(e,t,i){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(i))}}class e1 extends eX{constructor(e){super(e);let t=this._context.configuration.options,i=t.get(145);this._contentWidth=i.contentWidth,this.domNode.setHeight(0)}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);return this._contentWidth=i.contentWidth,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollWidthChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e),this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth))}}class e2 extends eX{constructor(e){super(e);let t=this._context.configuration.options,i=t.get(145);this._contentLeft=i.contentLeft,this.domNode.setClassName("margin-view-overlays"),this.domNode.setWidth(1),(0,v.N)(this.domNode,t.get(50))}onConfigurationChanged(e){let t=this._context.configuration.options;(0,v.N)(this.domNode,t.get(50));let i=t.get(145);return this._contentLeft=i.contentLeft,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollHeightChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e);let t=Math.min(e.scrollHeight,1e6);this.domNode.setHeight(t),this.domNode.setWidth(this._contentLeft)}}class e5{constructor(e){this.onKeyDown=null,this.onKeyUp=null,this.onContextMenu=null,this.onMouseMove=null,this.onMouseLeave=null,this.onMouseDown=null,this.onMouseUp=null,this.onMouseDrag=null,this.onMouseDrop=null,this.onMouseDropCanceled=null,this.onMouseWheel=null,this._coordinatesConverter=e}emitKeyDown(e){var t;null===(t=this.onKeyDown)||void 0===t||t.call(this,e)}emitKeyUp(e){var t;null===(t=this.onKeyUp)||void 0===t||t.call(this,e)}emitContextMenu(e){var t;null===(t=this.onContextMenu)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseMove(e){var t;null===(t=this.onMouseMove)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseLeave(e){var t;null===(t=this.onMouseLeave)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDown(e){var t;null===(t=this.onMouseDown)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseUp(e){var t;null===(t=this.onMouseUp)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDrag(e){var t;null===(t=this.onMouseDrag)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDrop(e){var t;null===(t=this.onMouseDrop)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDropCanceled(){var e;null===(e=this.onMouseDropCanceled)||void 0===e||e.call(this)}emitMouseWheel(e){var t;null===(t=this.onMouseWheel)||void 0===t||t.call(this,e)}_convertViewToModelMouseEvent(e){return e.target?{event:e.event,target:this._convertViewToModelMouseTarget(e.target)}:e}_convertViewToModelMouseTarget(e){return e5.convertViewToModelMouseTarget(e,this._coordinatesConverter)}static convertViewToModelMouseTarget(e,t){let i={...e};return i.position&&(i.position=t.convertViewPositionToModelPosition(i.position)),i.range&&(i.range=t.convertViewRangeToModelRange(i.range)),(5===i.type||8===i.type)&&(i.detail=this.convertViewToModelViewZoneData(i.detail,t)),i}static convertViewToModelViewZoneData(e,t){return{viewZoneId:e.viewZoneId,positionBefore:e.positionBefore?t.convertViewPositionToModelPosition(e.positionBefore):e.positionBefore,positionAfter:e.positionAfter?t.convertViewPositionToModelPosition(e.positionAfter):e.positionAfter,position:t.convertViewPositionToModelPosition(e.position),afterLineNumber:t.convertViewPositionToModelPosition(new G.L(e.afterLineNumber,1)).lineNumber}}}i(47848);class e4 extends ${constructor(e){super(e),this.blocks=[],this.contentWidth=-1,this.contentLeft=0,this.domNode=(0,V.X)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.domNode.setClassName("blockDecorations-container"),this.update()}update(){let e=!1,t=this._context.configuration.options,i=t.get(145),n=i.contentWidth-i.verticalScrollbarWidth;this.contentWidth!==n&&(this.contentWidth=n,e=!0);let s=i.contentLeft;return this.contentLeft!==s&&(this.contentLeft=s,e=!0),e}dispose(){super.dispose()}onConfigurationChanged(e){return this.update()}onScrollChanged(e){return e.scrollTopChanged||e.scrollLeftChanged}onDecorationsChanged(e){return!0}onZonesChanged(e){return!0}prepareRender(e){}render(e){var t;let i=0,n=e.getDecorationsInViewport();for(let s of n){let n,o;if(!s.options.blockClassName)continue;let r=this.blocks[i];r||(r=this.blocks[i]=(0,V.X)(document.createElement("div")),this.domNode.appendChild(r)),s.options.blockIsAfterEnd?(n=e.getVerticalOffsetAfterLineNumber(s.range.endLineNumber,!1),o=e.getVerticalOffsetAfterLineNumber(s.range.endLineNumber,!0)):(n=e.getVerticalOffsetForLineNumber(s.range.startLineNumber,!0),o=s.range.isEmpty()&&!s.options.blockDoesNotCollapse?e.getVerticalOffsetForLineNumber(s.range.startLineNumber,!1):e.getVerticalOffsetAfterLineNumber(s.range.endLineNumber,!0));let[l,a,d,h]=null!==(t=s.options.blockPadding)&&void 0!==t?t:[0,0,0,0];r.setClassName("blockDecorations-block "+s.options.blockClassName),r.setLeft(this.contentLeft-h),r.setWidth(this.contentWidth+h+a),r.setTop(n-e.scrollTop-l),r.setHeight(o-n+l+d),i++}for(let e=i;e0?this.domNode.setDisplay("block"):this.domNode.setDisplay("none"),this._cachedDomNodeOffsetWidth=-1,this._cachedDomNodeOffsetHeight=-1}_layoutBoxInViewport(e,t,i,n){let s=e.top,o=e.top+e.height,r=n.viewportHeight-o,l=e.left;return l+t>n.scrollLeft+n.viewportWidth&&(l=n.scrollLeft+n.viewportWidth-t),l=i,aboveTop:s-i,fitsBelow:r>=i,belowTop:o,left:l}}_layoutHorizontalSegmentInPage(e,t,i,n){var s;let o=Math.max(15,t.left-n),r=Math.min(t.left+t.width+n,e.width-15),l=this._viewDomNode.domNode.ownerDocument,a=l.defaultView,d=t.left+i-(null!==(s=null==a?void 0:a.scrollX)&&void 0!==s?s:0);if(d+n>r){let e=d-(r-n);d-=e,i-=e}if(d=22,v=c+i<=p.height-22;return this._fixedOverflowWidgets?{fitsAbove:_,aboveTop:Math.max(u,22),fitsBelow:v,belowTop:c,left:f}:{fitsAbove:_,aboveTop:r,fitsBelow:v,belowTop:l,left:m}}_prepareRenderWidgetAtExactPositionOverflowing(e){return new e7(e.top,e.left+this._contentLeft)}_getAnchorsCoordinates(e){var t,i;let n=r(this._primaryAnchor.viewPosition,this._affinity,this._lineHeight),s=(null===(t=this._secondaryAnchor.viewPosition)||void 0===t?void 0:t.lineNumber)===(null===(i=this._primaryAnchor.viewPosition)||void 0===i?void 0:i.lineNumber)?this._secondaryAnchor.viewPosition:null,o=r(s,this._affinity,this._lineHeight);return{primary:n,secondary:o};function r(t,i,n){if(!t)return null;let s=e.visibleRangeForPosition(t);if(!s)return null;let o=1===t.column&&3===i?0:s.left,r=e.getVerticalOffsetForLineNumber(t.lineNumber)-e.scrollTop;return new e8(r,o,n)}}_reduceAnchorCoordinates(e,t,i){if(!t)return e;let n=this._context.configuration.options.get(50),s=t.left;return s=se.endLineNumber)&&this.domNode.setMaxWidth(this._maxWidth)}prepareRender(e){this._renderData=this._prepareRenderWidget(e)}render(e){var t;if(!this._renderData||"offViewport"===this._renderData.kind){this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,(null===(t=this._renderData)||void 0===t?void 0:t.kind)==="offViewport"&&this._renderData.preserveFocus?this.domNode.setTop(-1e3):this.domNode.setVisibility("hidden")),"function"==typeof this._actual.afterRender&&te(this._actual.afterRender,this._actual,null);return}this.allowEditorOverflow?(this.domNode.setTop(this._renderData.coordinate.top),this.domNode.setLeft(this._renderData.coordinate.left)):(this.domNode.setTop(this._renderData.coordinate.top+e.scrollTop-e.bigNumbersDelta),this.domNode.setLeft(this._renderData.coordinate.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0),"function"==typeof this._actual.afterRender&&te(this._actual.afterRender,this._actual,this._renderData.position)}}class e9{constructor(e,t){this.modelPosition=e,this.viewPosition=t}}class e7{constructor(e,t){this.top=e,this.left=t,this._coordinateBrand=void 0}}class e8{constructor(e,t,i){this.top=e,this.left=t,this.height=i,this._anchorCoordinateBrand=void 0}}function te(e,t,...i){try{return e.call(t,...i)}catch(e){return null}}i(84888);var tt=i(92321);class ti extends eE{constructor(e){super(),this._context=e;let t=this._context.configuration.options,i=t.get(145);this._renderLineHighlight=t.get(96),this._renderLineHighlightOnlyWhenFocus=t.get(97),this._wordWrap=i.isViewportWrapping,this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[1],this._selections=[new em.Y(1,1,1,1)],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let e=!1,t=new Set;for(let e of this._selections)t.add(e.positionLineNumber);let i=Array.from(t);i.sort((e,t)=>e-t),C.fS(this._cursorLineNumbers,i)||(this._cursorLineNumbers=i,e=!0);let n=this._selections.every(e=>e.isEmpty());return this._selectionIsEmpty!==n&&(this._selectionIsEmpty=n,e=!0),e}onThemeChanged(e){return this._readFromSelections()}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);return this._renderLineHighlight=t.get(96),this._renderLineHighlightOnlyWhenFocus=t.get(97),this._wordWrap=i.isViewportWrapping,this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,!0}onCursorStateChanged(e){return this._selections=e.selections,this._readFromSelections()}onFlushed(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollWidthChanged||e.scrollTopChanged}onZonesChanged(e){return!0}onFocusChanged(e){return!!this._renderLineHighlightOnlyWhenFocus&&(this._focused=e.isFocused,!0)}prepareRender(e){if(!this._shouldRenderThis()){this._renderData=null;return}let t=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,n=[];for(let e=t;e<=i;e++){let i=e-t;n[i]=""}if(this._wordWrap){let s=this._renderOne(e,!1);for(let e of this._cursorLineNumbers){let o=this._context.viewModel.coordinatesConverter,r=o.convertViewPositionToModelPosition(new G.L(e,1)).lineNumber,l=o.convertModelPositionToViewPosition(new G.L(r,1)).lineNumber,a=o.convertModelPositionToViewPosition(new G.L(r,this._context.viewModel.model.getLineMaxColumn(r))).lineNumber,d=Math.max(l,t),h=Math.min(a,i);for(let e=d;e<=h;e++){let i=e-t;n[i]=s}}}let s=this._renderOne(e,!0);for(let e of this._cursorLineNumbers){if(ei)continue;let o=e-t;n[o]=s}this._renderData=n}render(e,t){if(!this._renderData)return"";let i=t-e;return i>=this._renderData.length?"":this._renderData[i]}_shouldRenderInMargin(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}_shouldRenderInContent(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}}class tn extends ti{_renderOne(e,t){let i="current-line"+(this._shouldRenderInMargin()?" current-line-both":"")+(t?" current-line-exact":"");return`
    `}_shouldRenderThis(){return this._shouldRenderInContent()}_shouldRenderOther(){return this._shouldRenderInMargin()}}class ts extends ti{_renderOne(e,t){let i="current-line"+(this._shouldRenderInMargin()?" current-line-margin":"")+(this._shouldRenderOther()?" current-line-margin-both":"")+(this._shouldRenderInMargin()&&t?" current-line-exact-margin":"");return`
    `}_shouldRenderThis(){return!0}_shouldRenderOther(){return this._shouldRenderInContent()}}(0,eI.Ic)((e,t)=>{let i=e.getColor(eT.Kh);if(i&&(t.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${i}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${i}; border: none; }`)),!i||i.isTransparent()||e.defines(eT.Mm)){let i=e.getColor(eT.Mm);i&&(t.addRule(`.monaco-editor .view-overlays .current-line-exact { border: 2px solid ${i}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-exact-margin { border: 2px solid ${i}; }`),(0,tt.c3)(e.type)&&(t.addRule(".monaco-editor .view-overlays .current-line-exact { border-width: 1px; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-exact-margin { border-width: 1px; }")))}}),i(58153);class to extends eE{constructor(e){super(),this._context=e;let t=this._context.configuration.options;this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options;return this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged||e.scrollWidthChanged}onZonesChanged(e){return!0}prepareRender(e){let t=e.getDecorationsInViewport(),i=[],n=0;for(let e=0,s=t.length;e{if(e.options.zIndext.options.zIndex)return 1;let i=e.options.className,n=t.options.className;return in?1:Q.e.compareRangesUsingStarts(e.range,t.range)});let s=e.visibleRange.startLineNumber,o=e.visibleRange.endLineNumber,r=[];for(let e=s;e<=o;e++){let t=e-s;r[t]=""}this._renderWholeLineDecorations(e,i,r),this._renderNormalDecorations(e,i,r),this._renderResult=r}_renderWholeLineDecorations(e,t,i){let n=e.visibleRange.startLineNumber,s=e.visibleRange.endLineNumber;for(let e=0,o=t.length;e',l=Math.max(o.range.startLineNumber,n),a=Math.min(o.range.endLineNumber,s);for(let e=l;e<=a;e++){let t=e-n;i[t]+=r}}}_renderNormalDecorations(e,t,i){var n;let s=e.visibleRange.startLineNumber,o=null,r=!1,l=null,a=!1;for(let d=0,h=t.length;d';r[a]+=d}}}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}class tr extends ${constructor(e,t,i,n){super(e);let s=this._context.configuration.options,o=s.get(103),r=s.get(75),l=s.get(40),a=s.get(106),d={listenOnDomNode:i.domNode,className:"editor-scrollable "+(0,eI.m6)(e.theme.type),useShadows:!1,lazyRender:!0,vertical:o.vertical,horizontal:o.horizontal,verticalHasArrows:o.verticalHasArrows,horizontalHasArrows:o.horizontalHasArrows,verticalScrollbarSize:o.verticalScrollbarSize,verticalSliderSize:o.verticalSliderSize,horizontalScrollbarSize:o.horizontalScrollbarSize,horizontalSliderSize:o.horizontalSliderSize,handleMouseWheel:o.handleMouseWheel,alwaysConsumeMouseWheel:o.alwaysConsumeMouseWheel,arrowSize:o.arrowSize,mouseWheelScrollSensitivity:r,fastScrollSensitivity:l,scrollPredominantAxis:a,scrollByPage:o.scrollByPage};this.scrollbar=this._register(new ef.$Z(t.domNode,d,this._context.viewLayout.getScrollable())),q.write(this.scrollbar.getDomNode(),6),this.scrollbarDomNode=(0,V.X)(this.scrollbar.getDomNode()),this.scrollbarDomNode.setPosition("absolute"),this._setLayout();let h=(e,t,i)=>{let n={};if(t){let t=e.scrollTop;t&&(n.scrollTop=this._context.viewLayout.getCurrentScrollTop()+t,e.scrollTop=0)}if(i){let t=e.scrollLeft;t&&(n.scrollLeft=this._context.viewLayout.getCurrentScrollLeft()+t,e.scrollLeft=0)}this._context.viewModel.viewLayout.setScrollPosition(n,1)};this._register(g.nm(i.domNode,"scroll",e=>h(i.domNode,!0,!0))),this._register(g.nm(t.domNode,"scroll",e=>h(t.domNode,!0,!1))),this._register(g.nm(n.domNode,"scroll",e=>h(n.domNode,!0,!1))),this._register(g.nm(this.scrollbarDomNode.domNode,"scroll",e=>h(this.scrollbarDomNode.domNode,!0,!1)))}dispose(){super.dispose()}_setLayout(){let e=this._context.configuration.options,t=e.get(145);this.scrollbarDomNode.setLeft(t.contentLeft);let i=e.get(73),n=i.side;"right"===n?this.scrollbarDomNode.setWidth(t.contentWidth+t.minimap.minimapWidth):this.scrollbarDomNode.setWidth(t.contentWidth),this.scrollbarDomNode.setHeight(t.height)}getOverviewRulerLayoutInfo(){return this.scrollbar.getOverviewRulerLayoutInfo()}getDomNode(){return this.scrollbarDomNode}delegateVerticalScrollbarPointerDown(e){this.scrollbar.delegateVerticalScrollbarPointerDown(e)}delegateScrollFromMouseWheelEvent(e){this.scrollbar.delegateScrollFromMouseWheelEvent(e)}onConfigurationChanged(e){if(e.hasChanged(103)||e.hasChanged(75)||e.hasChanged(40)){let e=this._context.configuration.options,t=e.get(103),i=e.get(75),n=e.get(40),s=e.get(106),o={vertical:t.vertical,horizontal:t.horizontal,verticalScrollbarSize:t.verticalScrollbarSize,horizontalScrollbarSize:t.horizontalScrollbarSize,scrollByPage:t.scrollByPage,handleMouseWheel:t.handleMouseWheel,mouseWheelScrollSensitivity:i,fastScrollSensitivity:n,scrollPredominantAxis:s};this.scrollbar.updateOptions(o)}return e.hasChanged(145)&&this._setLayout(),!0}onScrollChanged(e){return!0}onThemeChanged(e){return this.scrollbar.updateClassName("editor-scrollable "+(0,eI.m6)(this._context.theme.type)),!0}prepareRender(e){}render(e){this.scrollbar.renderNow()}}i(1237);var tl=i(84973);class ta{constructor(e,t,i,n,s){this.startLineNumber=e,this.endLineNumber=t,this.className=i,this.tooltip=n,this._decorationToRenderBrand=void 0,this.zIndex=null!=s?s:0}}class td{constructor(e,t,i){this.className=e,this.zIndex=t,this.tooltip=i}}class th{constructor(){this.decorations=[]}add(e){this.decorations.push(e)}getDecorations(){return this.decorations}}class tu extends eE{_render(e,t,i){let n=[];for(let i=e;i<=t;i++){let t=i-e;n[t]=new th}if(0===i.length)return n;i.sort((e,t)=>e.className===t.className?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.classNamen)continue;let l=Math.max(o,i),a=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new G.L(l,0)),d=this._context.viewModel.glyphLanes.getLanesAtLine(a.lineNumber).indexOf(e.preference.lane);t.push(new tp(l,d,e.preference.zIndex,e))}}_collectSortedGlyphRenderRequests(e){let t=[];return this._collectDecorationBasedGlyphRenderRequest(e,t),this._collectWidgetBasedGlyphRenderRequest(e,t),t.sort((e,t)=>{if(e.lineNumber===t.lineNumber){if(e.laneIndex===t.laneIndex)return e.zIndex===t.zIndex?t.type===e.type?0===e.type&&0===t.type?e.className0;){let e=t.peek();if(!e)break;let n=t.takeWhile(t=>t.lineNumber===e.lineNumber&&t.laneIndex===e.laneIndex);if(!n||0===n.length)break;let s=n[0];if(0===s.type){let e=[];for(let t of n){if(t.zIndex!==s.zIndex||t.type!==s.type)break;(0===e.length||e[e.length-1]!==t.className)&&e.push(t.className)}i.push(s.accept(e.join(" ")))}else s.widget.renderInfo={lineNumber:s.lineNumber,laneIndex:s.laneIndex}}this._decorationGlyphsToRender=i}render(e){if(!this._glyphMargin){for(let e of Object.values(this._widgets))e.domNode.setDisplay("none");for(;this._managedDomNodes.length>0;){let e=this._managedDomNodes.pop();null==e||e.domNode.remove()}return}let t=Math.round(this._glyphMarginWidth/this._glyphMarginDecorationLaneCount);for(let i of Object.values(this._widgets))if(i.renderInfo){let n=e.viewportData.relativeVerticalOffset[i.renderInfo.lineNumber-e.viewportData.startLineNumber],s=this._glyphMarginLeft+i.renderInfo.laneIndex*this._lineHeight;i.domNode.setDisplay("block"),i.domNode.setTop(n),i.domNode.setLeft(s),i.domNode.setWidth(t),i.domNode.setHeight(this._lineHeight)}else i.domNode.setDisplay("none");for(let i=0;ithis._decorationGlyphsToRender.length;){let e=this._managedDomNodes.pop();null==e||e.domNode.remove()}}}class tg{constructor(e,t,i,n){this.lineNumber=e,this.laneIndex=t,this.zIndex=i,this.className=n,this.type=0}accept(e){return new tm(this.lineNumber,this.laneIndex,e)}}class tp{constructor(e,t,i,n){this.lineNumber=e,this.laneIndex=t,this.zIndex=i,this.widget=n,this.type=1}}class tm{constructor(e,t,i){this.lineNumber=e,this.laneIndex=t,this.combinedClassName=i}}i(88541);var tf=i(98401),t_=i(1516),tv=i(65094);class tb extends eE{constructor(e){super(),this._context=e,this._primaryPosition=null;let t=this._context.configuration.options,i=t.get(146),n=t.get(50);this._spaceWidth=n.spaceWidth,this._maxIndentLeft=-1===i.wrappingColumn?-1:i.wrappingColumn*n.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(16),this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(146),n=t.get(50);return this._spaceWidth=n.spaceWidth,this._maxIndentLeft=-1===i.wrappingColumn?-1:i.wrappingColumn*n.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(16),!0}onCursorStateChanged(e){var t;let i=e.selections[0],n=i.getPosition();return(null===(t=this._primaryPosition)||void 0===t||!t.equals(n))&&(this._primaryPosition=n,!0)}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}onLanguageConfigurationChanged(e){return!0}prepareRender(e){var t,i,n,s;if(!this._bracketPairGuideOptions.indentation&&!1===this._bracketPairGuideOptions.bracketPairs){this._renderResult=null;return}let o=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber,l=e.scrollWidth,a=this._primaryPosition,d=this.getGuidesByLine(o,Math.min(r+1,this._context.viewModel.getLineCount()),a),h=[];for(let a=o;a<=r;a++){let r=a-o,u=d[r],c="",g=null!==(i=null===(t=e.visibleRangeForPosition(new G.L(a,1)))||void 0===t?void 0:t.left)&&void 0!==i?i:0;for(let t of u){let i=-1===t.column?g+(t.visibleColumn-1)*this._spaceWidth:e.visibleRangeForPosition(new G.L(a,t.column)).left;if(i>l||this._maxIndentLeft>0&&i>this._maxIndentLeft)break;let o=t.horizontalLine?t.horizontalLine.top?"horizontal-top":"horizontal-bottom":"vertical",r=t.horizontalLine?(null!==(s=null===(n=e.visibleRangeForPosition(new G.L(a,t.horizontalLine.endColumn)))||void 0===n?void 0:n.left)&&void 0!==s?s:i+this._spaceWidth)-i:this._spaceWidth;c+=`
    `}h[r]=c}this._renderResult=h}getGuidesByLine(e,t,i){let n=!1!==this._bracketPairGuideOptions.bracketPairs?this._context.viewModel.getBracketGuidesInRangeByLine(e,t,i,{highlightActive:this._bracketPairGuideOptions.highlightActiveBracketPair,horizontalGuides:!0===this._bracketPairGuideOptions.bracketPairsHorizontal?tv.s6.Enabled:"active"===this._bracketPairGuideOptions.bracketPairsHorizontal?tv.s6.EnabledForActive:tv.s6.Disabled,includeInactive:!0===this._bracketPairGuideOptions.bracketPairs}):null,s=this._bracketPairGuideOptions.indentation?this._context.viewModel.getLinesIndentGuides(e,t):null,o=0,r=0,l=0;if(!1!==this._bracketPairGuideOptions.highlightActiveIndentation&&i){let n=this._context.viewModel.getActiveIndentGuide(i.lineNumber,e,t);o=n.startLineNumber,r=n.endLineNumber,l=n.indent}let{indentSize:a}=this._context.viewModel.model.getOptions(),d=[];for(let i=e;i<=t;i++){let t=[];d.push(t);let h=n?n[i-e]:[],u=new C.H9(h),c=s?s[i-e]:0;for(let e=1;e<=c;e++){let n=(e-1)*a+1,s=("always"===this._bracketPairGuideOptions.highlightActiveIndentation||0===h.length)&&o<=i&&i<=r&&e===l;t.push(...u.takeWhile(e=>e.visibleColumn!0)||[])}return d}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}function tC(e){if(!(e&&e.isTransparent()))return e}(0,eI.Ic)((e,t)=>{let i=[{bracketColor:eT.zJ,guideColor:eT.oV,guideColorActive:eT.Qb},{bracketColor:eT.Vs,guideColor:eT.m$,guideColorActive:eT.m3},{bracketColor:eT.CE,guideColor:eT.DS,guideColorActive:eT.To},{bracketColor:eT.UP,guideColor:eT.lS,guideColorActive:eT.L7},{bracketColor:eT.r0,guideColor:eT.Jn,guideColorActive:eT.HV},{bracketColor:eT.m1,guideColor:eT.YF,guideColorActive:eT.f9}],n=new t_.W,s=[{indentColor:eT.gS,indentColorActive:eT.qe},{indentColor:eT.Tf,indentColorActive:eT.Xy},{indentColor:eT.H_,indentColorActive:eT.cK},{indentColor:eT.h1,indentColorActive:eT.N8},{indentColor:eT.vP,indentColorActive:eT.zd},{indentColor:eT.e9,indentColorActive:eT.ll}],o=i.map(t=>{var i,n;let s=e.getColor(t.bracketColor),o=e.getColor(t.guideColor),r=e.getColor(t.guideColorActive),l=tC(null!==(i=tC(o))&&void 0!==i?i:null==s?void 0:s.transparent(.3)),a=tC(null!==(n=tC(r))&&void 0!==n?n:s);if(l&&a)return{guideColor:l,guideColorActive:a}}).filter(tf.$K),r=s.map(t=>{let i=e.getColor(t.indentColor),n=e.getColor(t.indentColorActive),s=tC(i),o=tC(n);if(s&&o)return{indentColor:s,indentColorActive:o}}).filter(tf.$K);if(o.length>0){for(let e=0;e<30;e++){let i=o[e%o.length];t.addRule(`.monaco-editor .${n.getInlineClassNameOfLevel(e).replace(/ /g,".")} { --guide-color: ${i.guideColor}; --guide-color-active: ${i.guideColorActive}; }`)}t.addRule(".monaco-editor .vertical { box-shadow: 1px 0 0 0 var(--guide-color) inset; }"),t.addRule(".monaco-editor .horizontal-top { border-top: 1px solid var(--guide-color); }"),t.addRule(".monaco-editor .horizontal-bottom { border-bottom: 1px solid var(--guide-color); }"),t.addRule(`.monaco-editor .vertical.${n.activeClassName} { box-shadow: 1px 0 0 0 var(--guide-color-active) inset; }`),t.addRule(`.monaco-editor .horizontal-top.${n.activeClassName} { border-top: 1px solid var(--guide-color-active); }`),t.addRule(`.monaco-editor .horizontal-bottom.${n.activeClassName} { border-bottom: 1px solid var(--guide-color-active); }`)}if(r.length>0){for(let e=0;e<30;e++){let i=r[e%r.length];t.addRule(`.monaco-editor .lines-content .core-guide-indent.lvl-${e} { --indent-color: ${i.indentColor}; --indent-color-active: ${i.indentColorActive}; }`)}t.addRule(".monaco-editor .lines-content .core-guide-indent { box-shadow: 1px 0 0 0 var(--indent-color) inset; }"),t.addRule(".monaco-editor .lines-content .core-guide-indent.indent-active { box-shadow: 1px 0 0 0 var(--indent-color-active) inset; }")}});var tw=i(15393);i(48394);class ty{get didDomLayout(){return this._didDomLayout}readClientRect(){if(!this._clientRectRead){this._clientRectRead=!0;let e=this._domNode.getBoundingClientRect();this.markDidDomLayout(),this._clientRectDeltaLeft=e.left,this._clientRectScale=e.width/this._domNode.offsetWidth}}get clientRectDeltaLeft(){return this._clientRectRead||this.readClientRect(),this._clientRectDeltaLeft}get clientRectScale(){return this._clientRectRead||this.readClientRect(),this._clientRectScale}constructor(e,t){this._domNode=e,this.endNode=t,this._didDomLayout=!1,this._clientRectDeltaLeft=0,this._clientRectScale=1,this._clientRectRead=!1}markDidDomLayout(){this._didDomLayout=!0}}class tS{constructor(){this._currentVisibleRange=new Q.e(1,1,1,1)}getCurrentVisibleRange(){return this._currentVisibleRange}setCurrentVisibleRange(e){this._currentVisibleRange=e}}class tL{constructor(e,t,i,n,s,o,r){this.minimalReveal=e,this.lineNumber=t,this.startColumn=i,this.endColumn=n,this.startScrollTop=s,this.stopScrollTop=o,this.scrollType=r,this.type="range",this.minLineNumber=t,this.maxLineNumber=t}}class tk{constructor(e,t,i,n,s){this.minimalReveal=e,this.selections=t,this.startScrollTop=i,this.stopScrollTop=n,this.scrollType=s,this.type="selections";let o=t[0].startLineNumber,r=t[0].endLineNumber;for(let e=1,i=t.length;e{this._updateLineWidthsSlow()},200),this._asyncCheckMonospaceFontAssumptions=new tw.pY(()=>{this._checkMonospaceFontAssumptions()},2e3),this._lastRenderedData=new tS,this._horizontalRevealRequest=null,this._stickyScrollEnabled=n.get(115).enabled,this._maxNumberStickyLines=n.get(115).maxLineCount}dispose(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),super.dispose()}getDomNode(){return this.domNode}createVisibleLine(){return new j.Nt(this._viewLineOptions)}onConfigurationChanged(e){this._visibleLines.onConfigurationChanged(e),e.hasChanged(146)&&(this._maxLineWidth=0);let t=this._context.configuration.options,i=t.get(50),n=t.get(146);return this._lineHeight=t.get(67),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._isViewportWrapping=n.isViewportWrapping,this._revealHorizontalRightPadding=t.get(100),this._cursorSurroundingLines=t.get(29),this._cursorSurroundingLinesStyle=t.get(30),this._canUseLayerHinting=!t.get(32),this._stickyScrollEnabled=t.get(115).enabled,this._maxNumberStickyLines=t.get(115).maxLineCount,(0,v.N)(this.domNode,i),this._onOptionsMaybeChanged(),e.hasChanged(145)&&(this._maxLineWidth=0),!0}_onOptionsMaybeChanged(){let e=this._context.configuration,t=new j.ob(e,this._context.theme.type);if(!this._viewLineOptions.equals(t)){this._viewLineOptions=t;let e=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();for(let t=e;t<=i;t++){let e=this._visibleLines.getVisibleLine(t);e.onOptionsChanged(this._viewLineOptions)}return!0}return!1}onCursorStateChanged(e){let t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber(),n=!1;for(let e=t;e<=i;e++)n=this._visibleLines.getVisibleLine(e).onSelectionChanged()||n;return n}onDecorationsChanged(e){{let e=this._visibleLines.getStartLineNumber(),t=this._visibleLines.getEndLineNumber();for(let i=e;i<=t;i++)this._visibleLines.getVisibleLine(i).onDecorationsChanged()}return!0}onFlushed(e){let t=this._visibleLines.onFlushed(e);return this._maxLineWidth=0,t}onLinesChanged(e){return this._visibleLines.onLinesChanged(e)}onLinesDeleted(e){return this._visibleLines.onLinesDeleted(e)}onLinesInserted(e){return this._visibleLines.onLinesInserted(e)}onRevealRangeRequest(e){let t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),e.source,e.minimalReveal,e.range,e.selections,e.verticalType);if(-1===t)return!1;let i=this._context.viewLayout.validateScrollPosition({scrollTop:t});e.revealHorizontal?e.range&&e.range.startLineNumber!==e.range.endLineNumber?i={scrollTop:i.scrollTop,scrollLeft:0}:e.range?this._horizontalRevealRequest=new tL(e.minimalReveal,e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),i.scrollTop,e.scrollType):e.selections&&e.selections.length>0&&(this._horizontalRevealRequest=new tk(e.minimalReveal,e.selections,this._context.viewLayout.getCurrentScrollTop(),i.scrollTop,e.scrollType)):this._horizontalRevealRequest=null;let n=Math.abs(this._context.viewLayout.getCurrentScrollTop()-i.scrollTop),s=n<=this._lineHeight?1:e.scrollType;return this._context.viewModel.viewLayout.setScrollPosition(i,s),!0}onScrollChanged(e){if(this._horizontalRevealRequest&&e.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&e.scrollTopChanged){let t=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),i=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(e.scrollTopi)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(e.scrollWidth),this._visibleLines.onScrollChanged(e)||!0}onTokensChanged(e){return this._visibleLines.onTokensChanged(e)}onZonesChanged(e){return this._context.viewModel.viewLayout.setMaxLineWidth(this._maxLineWidth),this._visibleLines.onZonesChanged(e)}onThemeChanged(e){return this._onOptionsMaybeChanged()}getPositionFromDOMInfo(e,t){let i=this._getViewLineDomNode(e);if(null===i)return null;let n=this._getLineNumberFor(i);if(-1===n||n<1||n>this._context.viewModel.getLineCount())return null;if(1===this._context.viewModel.getLineMaxColumn(n))return new G.L(n,1);let s=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();if(no)return null;let r=this._visibleLines.getVisibleLine(n).getColumnOfNodeOffset(e,t),l=this._context.viewModel.getLineMinColumn(n);return ri)return -1;let n=new ty(this.domNode.domNode,this._textRangeRestingSpot),s=this._visibleLines.getVisibleLine(e).getWidth(n);return this._updateLineWidthsSlowIfDomDidLayout(n),s}linesVisibleRangesForRange(e,t){if(this.shouldRender())return null;let i=e.endLineNumber,n=Q.e.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!n)return null;let s=[],o=0,r=new ty(this.domNode.domNode,this._textRangeRestingSpot),l=0;t&&(l=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new G.L(n.startLineNumber,1)).lineNumber);let a=this._visibleLines.getStartLineNumber(),d=this._visibleLines.getEndLineNumber();for(let e=n.startLineNumber;e<=n.endLineNumber;e++){if(ed)continue;let h=e===n.startLineNumber?n.startColumn:1,u=e!==n.endLineNumber,c=u?this._context.viewModel.getLineMaxColumn(e):n.endColumn,g=this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(e,h,c,r);if(g){if(t&&ethis._visibleLines.getEndLineNumber())return null;let n=new ty(this.domNode.domNode,this._textRangeRestingSpot),s=this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(e,t,i,n);return this._updateLineWidthsSlowIfDomDidLayout(n),s}visibleRangeForPosition(e){let t=this._visibleRangesForLineRange(e.lineNumber,e.column,e.column);return t?new e$.D4(t.outsideRenderedLine,t.ranges[0].left):null}_updateLineWidthsFast(){return this._updateLineWidths(!0)}_updateLineWidthsSlow(){this._updateLineWidths(!1)}_updateLineWidthsSlowIfDomDidLayout(e){!e.didDomLayout||this._asyncUpdateLineWidths.isScheduled()||(this._asyncUpdateLineWidths.cancel(),this._updateLineWidthsSlow())}_updateLineWidths(e){let t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber(),n=1,s=!0;for(let o=t;o<=i;o++){let t=this._visibleLines.getVisibleLine(o);if(e&&!t.getWidthIsFast()){s=!1;continue}n=Math.max(n,t.getWidth(null))}return s&&1===t&&i===this._context.viewModel.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(n),s}_checkMonospaceFontAssumptions(){let e=-1,t=-1,i=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let s=i;s<=n;s++){let i=this._visibleLines.getVisibleLine(s);if(i.needsMonospaceFontCheck()){let n=i.getWidth(null);n>t&&(t=n,e=s)}}if(-1!==e&&!this._visibleLines.getVisibleLine(e).monospaceAssumptionsAreValid())for(let e=i;e<=n;e++){let t=this._visibleLines.getVisibleLine(e);t.onMonospaceAssumptionsInvalidated()}}prepareRender(){throw Error("Not supported")}render(){throw Error("Not supported")}renderText(e){if(this._visibleLines.renderLines(e),this._lastRenderedData.setCurrentVisibleRange(e.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){let t=this._horizontalRevealRequest;if(e.startLineNumber<=t.minLineNumber&&t.maxLineNumber<=e.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();let e=this._computeScrollLeftToReveal(t);e&&(this._isViewportWrapping||this._ensureMaxLineWidth(e.maxHorizontalOffset),this._context.viewModel.viewLayout.setScrollPosition({scrollLeft:e.scrollLeft},t.scrollType))}}if(this._updateLineWidthsFast()?this._asyncUpdateLineWidths.cancel():this._asyncUpdateLineWidths.schedule(),y.IJ&&!this._asyncCheckMonospaceFontAssumptions.isScheduled()){let e=this._visibleLines.getStartLineNumber(),t=this._visibleLines.getEndLineNumber();for(let i=e;i<=t;i++){let e=this._visibleLines.getVisibleLine(i);if(e.needsMonospaceFontCheck()){this._asyncCheckMonospaceFontAssumptions.schedule();break}}}this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");let t=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-t),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())}_ensureMaxLineWidth(e){let t=Math.ceil(e);this._maxLineWidth0){let e=s[0].startLineNumber,t=s[0].endLineNumber;for(let i=1,n=s.length;iu){if(!r)return -1;d=l}else if(5===o||6===o){if(6===o&&h<=l&&a<=c)d=h;else{let e=Math.max(5*this._lineHeight,.2*u),t=l-e,i=a-u;d=Math.max(i,t)}}else if(1===o||2===o){if(2===o&&h<=l&&a<=c)d=h;else{let e=(l+a)/2;d=Math.max(0,e-u/2)}}else d=this._computeMinimumScrolling(h,c,l,a,3===o,4===o);return d}_computeScrollLeftToReveal(e){let t=this._context.viewLayout.getCurrentViewport(),i=this._context.configuration.options.get(145),n=t.left,s=n+t.width-i.verticalScrollbarWidth,o=1073741824,r=0;if("range"===e.type){let t=this._visibleRangesForLineRange(e.lineNumber,e.startColumn,e.endColumn);if(!t)return null;for(let e of t.ranges)o=Math.min(o,Math.round(e.left)),r=Math.max(r,Math.round(e.left+e.width))}else for(let t of e.selections){if(t.startLineNumber!==t.endLineNumber)return null;let e=this._visibleRangesForLineRange(t.startLineNumber,t.startColumn,t.endColumn);if(!e)return null;for(let t of e.ranges)o=Math.min(o,Math.round(t.left)),r=Math.max(r,Math.round(t.left+t.width))}if(e.minimalReveal||(o=Math.max(0,o-tD.HORIZONTAL_EXTRA_PX),r+=this._revealHorizontalRightPadding),"selections"===e.type&&r-o>t.width)return null;let l=this._computeMinimumScrolling(n,s,o,r);return{scrollLeft:l,maxHorizontalOffset:r}}_computeMinimumScrolling(e,t,i,n,s,o){e|=0,t|=0,i|=0,n|=0,s=!!s,o=!!o;let r=t-e,l=n-i;return!(lt?Math.max(0,n-r):e}}tD.HORIZONTAL_EXTRA_PX=30,i(7919);class tx extends tu{constructor(e){super(),this._context=e;let t=this._context.configuration.options,i=t.get(145);this._decorationsLeft=i.decorationsLeft,this._decorationsWidth=i.decorationsWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);return this._decorationsLeft=i.decorationsLeft,this._decorationsWidth=i.decorationsWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){var t,i;let n=e.getDecorationsInViewport(),s=[],o=0;for(let e=0,r=n.length;e',l=[];for(let e=t;e<=i;e++){let i=e-t,s=n[i].getDecorations(),o="";for(let e of s){let t='
    ';s[i]=r}this._renderResult=s}render(e,t){return this._renderResult?this._renderResult[t-e]:""}}i(24850);var tE=i(93911);class tI{constructor(e,t,i,n){this._rgba8Brand=void 0,this.r=tI._clamp(e),this.g=tI._clamp(t),this.b=tI._clamp(i),this.a=tI._clamp(n)}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}static _clamp(e){return e<0?0:e>255?255:0|e}}tI.Empty=new tI(0,0,0,0);class tT extends f.JT{static getInstance(){return this._INSTANCE||(this._INSTANCE=(0,f.dk)(new tT)),this._INSTANCE}constructor(){super(),this._onDidChange=new m.Q5,this.onDidChange=this._onDidChange.event,this._updateColorMap(),this._register(eO.RW.onDidChange(e=>{e.changedColorMap&&this._updateColorMap()}))}_updateColorMap(){let e=eO.RW.getColorMap();if(!e){this._colors=[tI.Empty],this._backgroundIsLight=!0;return}this._colors=[tI.Empty];for(let t=1;t=.5,this._onDidChange.fire(void 0)}getColor(e){return(e<1||e>=this._colors.length)&&(e=2),this._colors[e]}backgroundIsLight(){return this._backgroundIsLight}}tT._INSTANCE=null;var tM=i(1118),tR=i(75974);let tA=(()=>{let e=[];for(let t=32;t<=126;t++)e.push(t);return e.push(65533),e})(),tP=(e,t)=>(e-=32)<0||e>96?t<=2?(e+96)%96:95:e;var tO=i(85427);class tF{constructor(e,t){this.scale=t,this._minimapCharRendererBrand=void 0,this.charDataNormal=tF.soften(e,.8),this.charDataLight=tF.soften(e,50/60)}static soften(e,t){let i=new Uint8ClampedArray(e.length);for(let n=0,s=e.length;ne.width||i+g>e.height){console.warn("bad render request outside image data");return}let p=d?this.charDataLight:this.charDataNormal,m=tP(n,a),f=4*e.width,_=r.r,v=r.g,b=r.b,C=s.r-_,w=s.g-v,y=s.b-b,S=Math.max(o,l),L=e.data,k=m*u*c,D=i*f+4*t;for(let e=0;ee.width||i+h>e.height){console.warn("bad render request outside image data");return}let u=4*e.width,c=.5*(s/255),g=o.r,p=o.g,m=o.b,f=n.r-g,_=n.g-p,v=n.b-m,b=g+f*c,C=p+_*c,w=m+v*c,y=Math.max(s,r),S=e.data,L=i*u+4*t;for(let e=0;e{let t=new Uint8ClampedArray(e.length/2);for(let i=0;i>1]=tW[e[i]]<<4|15&tW[e[i+1]];return t},tV={1:(0,tB.M)(()=>tH("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),2:(0,tB.M)(()=>tH("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))};class tz{static create(e,t){let i;return this.lastCreated&&e===this.lastCreated.scale&&t===this.lastFontFamily?this.lastCreated:(i=tV[e]?new tF(tV[e](),e):tz.createFromSampleData(tz.createSampleData(t).data,e),this.lastFontFamily=t,this.lastCreated=i,i)}static createSampleData(e){let t=document.createElement("canvas"),i=t.getContext("2d");t.style.height="16px",t.height=16,t.width=960,t.style.width="960px",i.fillStyle="#ffffff",i.font=`bold 16px ${e}`,i.textBaseline="middle";let n=0;for(let e of tA)i.fillText(String.fromCharCode(e),n,8),n+=10;return i.getImageData(0,0,960,16)}static createFromSampleData(e,t){if(61440!==e.length)throw Error("Unexpected source in MinimapCharRenderer");let i=tz._downsample(e,t);return new tF(i,t)}static _downsampleChar(e,t,i,n,s){let o=1*s,r=2*s,l=n,a=0;for(let n=0;n0){let e=255/l;for(let t=0;ttz.create(this.fontScale,l.fontFamily)),this.defaultBackgroundColor=i.getColor(2),this.backgroundColor=t$._getMinimapBackground(t,this.defaultBackgroundColor),this.foregroundAlpha=t$._getMinimapForegroundOpacity(t)}static _getMinimapBackground(e,t){let i=e.getColor(tR.kVY);return i?new tI(i.rgba.r,i.rgba.g,i.rgba.b,Math.round(255*i.rgba.a)):t}static _getMinimapForegroundOpacity(e){let t=e.getColor(tR.Itd);return t?tI._clamp(Math.round(255*t.rgba.a)):255}static _getSectionHeaderColor(e,t){let i=e.getColor(tR.NOs);return i?new tI(i.rgba.r,i.rgba.g,i.rgba.b,Math.round(255*i.rgba.a)):t}equals(e){return this.renderMinimap===e.renderMinimap&&this.size===e.size&&this.minimapHeightIsEditorHeight===e.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===e.scrollBeyondLastLine&&this.paddingTop===e.paddingTop&&this.paddingBottom===e.paddingBottom&&this.showSlider===e.showSlider&&this.autohide===e.autohide&&this.pixelRatio===e.pixelRatio&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.lineHeight===e.lineHeight&&this.minimapLeft===e.minimapLeft&&this.minimapWidth===e.minimapWidth&&this.minimapHeight===e.minimapHeight&&this.canvasInnerWidth===e.canvasInnerWidth&&this.canvasInnerHeight===e.canvasInnerHeight&&this.canvasOuterWidth===e.canvasOuterWidth&&this.canvasOuterHeight===e.canvasOuterHeight&&this.isSampling===e.isSampling&&this.editorHeight===e.editorHeight&&this.fontScale===e.fontScale&&this.minimapLineHeight===e.minimapLineHeight&&this.minimapCharWidth===e.minimapCharWidth&&this.sectionHeaderFontSize===e.sectionHeaderFontSize&&this.sectionHeaderLetterSpacing===e.sectionHeaderLetterSpacing&&this.defaultBackgroundColor&&this.defaultBackgroundColor.equals(e.defaultBackgroundColor)&&this.backgroundColor&&this.backgroundColor.equals(e.backgroundColor)&&this.foregroundAlpha===e.foregroundAlpha}}class tq{constructor(e,t,i,n,s,o,r,l,a){this.scrollTop=e,this.scrollHeight=t,this.sliderNeeded=i,this._computedSliderRatio=n,this.sliderTop=s,this.sliderHeight=o,this.topPaddingLineCount=r,this.startLineNumber=l,this.endLineNumber=a}getDesiredScrollTopFromDelta(e){return Math.round(this.scrollTop+e/this._computedSliderRatio)}getDesiredScrollTopFromTouchLocation(e){return Math.round((e-this.sliderHeight/2)/this._computedSliderRatio)}intersectWithViewport(e){let t=Math.max(this.startLineNumber,e.startLineNumber),i=Math.min(this.endLineNumber,e.endLineNumber);return t>i?null:[t,i]}getYForLineNumber(e,t){return+(e-this.startLineNumber+this.topPaddingLineCount)*t}static create(e,t,i,n,s,o,r,l,a,d,h){let u,c;let g=e.pixelRatio,p=e.minimapLineHeight,m=Math.floor(e.canvasInnerHeight/p),f=e.lineHeight;if(e.minimapHeightIsEditorHeight){let t=l*e.lineHeight+e.paddingTop+e.paddingBottom;e.scrollBeyondLastLine&&(t+=Math.max(0,s-e.lineHeight-e.paddingBottom));let i=Math.max(1,Math.floor(s*s/t)),n=Math.max(0,e.minimapHeight-i),o=n/(d-s),h=a*o,u=Math.floor(e.canvasInnerHeight/e.minimapLineHeight),c=Math.floor(e.paddingTop/e.lineHeight);return new tq(a,d,n>0,o,h,i,c,1,Math.min(r,u))}u=o&&i!==r?Math.floor((i-t+1)*p/g):Math.floor(s/f*p/g);let _=Math.floor(e.paddingTop/f),v=Math.floor(e.paddingBottom/f);e.scrollBeyondLastLine&&(v=Math.max(v,s/f-1)),c=v>0?(_+r+v-s/f-1)*p/g:Math.max(0,(_+r)*p/g-u),c=Math.min(e.minimapHeight-u,c);let b=c/(d-s),C=a*b;if(m>=_+r+v){let e=c>0;return new tq(a,d,e,b,C,u,_,1,r)}{let i,s;let o=Math.max(1,Math.floor((t>1?t+_:Math.max(1,a/f))-C*g/p));o<_?(i=_-o+1,o=1):(i=0,o=Math.max(1,o-_)),h&&h.scrollHeight===d&&(h.scrollTop>a&&(o=Math.min(o,h.startLineNumber),i=Math.max(i,h.topPaddingLineCount)),h.scrollTop=e.paddingTop?(t-o+i+c)*p/g:a/e.paddingTop*(i+c)*p/g,new tq(a,d,!0,b,s,u,i,o,l)}}}class tj{constructor(e){this.dy=e}onContentChanged(){this.dy=-1}onTokensChanged(){this.dy=-1}}tj.INVALID=new tj(-1);class tG{constructor(e,t,i){this.renderedLayout=e,this._imageData=t,this._renderedLines=new eZ(()=>tj.INVALID),this._renderedLines._set(e.startLineNumber,i)}linesEquals(e){if(!this.scrollEquals(e))return!1;let t=this._renderedLines._get(),i=t.lines;for(let e=0,t=i.length;e1){for(let t=0,i=n-1;t0&&this.minimapLines[i-1]>=e;)i--;let n=this.modelLineToMinimapLine(t)-1;for(;n+1t)return null}return[i+1,n+1]}decorationLineRangeToMinimapLineRange(e,t){let i=this.modelLineToMinimapLine(e),n=this.modelLineToMinimapLine(t);return e!==t&&n===i&&(n===this.minimapLines.length?i>1&&i--:n++),[i,n]}onLinesDeleted(e){let t=e.toLineNumber-e.fromLineNumber+1,i=this.minimapLines.length,n=0;for(let s=this.minimapLines.length-1;s>=0&&!(this.minimapLines[s]=0&&!(this.minimapLines[i]0,scrollWidth:e.scrollWidth,scrollHeight:e.scrollHeight,viewportStartLineNumber:t,viewportEndLineNumber:i,viewportStartLineNumberVerticalOffset:e.getVerticalOffsetForLineNumber(t),scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,viewportWidth:e.viewportWidth,viewportHeight:e.viewportHeight};this._actual.render(n)}_recreateLineSampling(){this._minimapSelections=null;let e=!!this._samplingState,[t,i]=tZ.compute(this.options,this._context.viewModel.getLineCount(),this._samplingState);if(this._samplingState=t,e&&this._samplingState)for(let e of i)switch(e.type){case"deleted":this._actual.onLinesDeleted(e.deleteFromLineNumber,e.deleteToLineNumber);break;case"inserted":this._actual.onLinesInserted(e.insertFromLineNumber,e.insertToLineNumber);break;case"flush":this._actual.onFlushed()}}getLineCount(){return this._samplingState?this._samplingState.minimapLines.length:this._context.viewModel.getLineCount()}getRealLineCount(){return this._context.viewModel.getLineCount()}getLineContent(e){return this._samplingState?this._context.viewModel.getLineContent(this._samplingState.minimapLines[e-1]):this._context.viewModel.getLineContent(e)}getLineMaxColumn(e){return this._samplingState?this._context.viewModel.getLineMaxColumn(this._samplingState.minimapLines[e-1]):this._context.viewModel.getLineMaxColumn(e)}getMinimapLinesRenderingData(e,t,i){if(this._samplingState){let n=[];for(let s=0,o=t-e+1;s{var t;return!(null===(t=e.options.minimap)||void 0===t?void 0:t.sectionHeaderStyle)});if(this._samplingState){let e=[];for(let t of i){if(!t.options.minimap)continue;let i=t.range,n=this._samplingState.modelLineToMinimapLine(i.startLineNumber),s=this._samplingState.modelLineToMinimapLine(i.endLineNumber);e.push(new tM.$l(new Q.e(n,i.startColumn,s,i.endColumn),t.options))}return e}return i}getSectionHeaderDecorationsInViewport(e,t){let i=this.options.minimapLineHeight,n=this.options.sectionHeaderFontSize;return e=Math.floor(Math.max(1,e-n/i)),this._getMinimapDecorationsInViewport(e,t).filter(e=>{var t;return!!(null===(t=e.options.minimap)||void 0===t?void 0:t.sectionHeaderStyle)})}_getMinimapDecorationsInViewport(e,t){let i;if(this._samplingState){let n=this._samplingState.minimapLines[e-1],s=this._samplingState.minimapLines[t-1];i=new Q.e(n,1,s,this._context.viewModel.getLineMaxColumn(s))}else i=new Q.e(e,1,t,this._context.viewModel.getLineMaxColumn(t));return this._context.viewModel.getMinimapDecorationsInRange(i)}getSectionHeaderText(e,t){var i;let n=null===(i=e.options.minimap)||void 0===i?void 0:i.sectionHeaderText;if(!n)return null;let s=this._sectionHeaderCache.get(n);if(s)return s;let o=t(n);return this._sectionHeaderCache.set(n,o),o}getOptions(){return this._context.viewModel.model.getOptions()}revealLineNumber(e){this._samplingState&&(e=this._samplingState.minimapLines[e-1]),this._context.viewModel.revealRange("mouse",!1,new Q.e(e,1,e,1),1,0)}setScrollTop(e){this._context.viewModel.viewLayout.setScrollPosition({scrollTop:e},1)}}class tJ extends f.JT{constructor(e,t){super(),this._renderDecorations=!1,this._gestureInProgress=!1,this._theme=e,this._model=t,this._lastRenderData=null,this._buffers=null,this._selectionColor=this._theme.getColor(tR.ov3),this._domNode=(0,V.X)(document.createElement("div")),q.write(this._domNode,9),this._domNode.setClassName(this._getMinimapDomNodeClassName()),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._shadow=(0,V.X)(document.createElement("div")),this._shadow.setClassName("minimap-shadow-hidden"),this._domNode.appendChild(this._shadow),this._canvas=(0,V.X)(document.createElement("canvas")),this._canvas.setPosition("absolute"),this._canvas.setLeft(0),this._domNode.appendChild(this._canvas),this._decorationsCanvas=(0,V.X)(document.createElement("canvas")),this._decorationsCanvas.setPosition("absolute"),this._decorationsCanvas.setClassName("minimap-decorations-layer"),this._decorationsCanvas.setLeft(0),this._domNode.appendChild(this._decorationsCanvas),this._slider=(0,V.X)(document.createElement("div")),this._slider.setPosition("absolute"),this._slider.setClassName("minimap-slider"),this._slider.setLayerHinting(!0),this._slider.setContain("strict"),this._domNode.appendChild(this._slider),this._sliderHorizontal=(0,V.X)(document.createElement("div")),this._sliderHorizontal.setPosition("absolute"),this._sliderHorizontal.setClassName("minimap-slider-horizontal"),this._slider.appendChild(this._sliderHorizontal),this._applyLayout(),this._pointerDownListener=g.mu(this._domNode.domNode,g.tw.POINTER_DOWN,e=>{e.preventDefault();let t=this._model.options.renderMinimap;if(0===t||!this._lastRenderData)return;if("proportional"!==this._model.options.size){if(0===e.button&&this._lastRenderData){let t=g.i(this._slider.domNode),i=t.top+t.height/2;this._startSliderDragging(e,i,this._lastRenderData.renderedLayout)}return}let i=this._model.options.minimapLineHeight,n=this._model.options.canvasInnerHeight/this._model.options.canvasOuterHeight*e.offsetY,s=Math.floor(n/i)+this._lastRenderData.renderedLayout.startLineNumber-this._lastRenderData.renderedLayout.topPaddingLineCount;s=Math.min(s,this._model.getLineCount()),this._model.revealLineNumber(s)}),this._sliderPointerMoveMonitor=new tE.C,this._sliderPointerDownListener=g.mu(this._slider.domNode,g.tw.POINTER_DOWN,e=>{e.preventDefault(),e.stopPropagation(),0===e.button&&this._lastRenderData&&this._startSliderDragging(e,e.pageY,this._lastRenderData.renderedLayout)}),this._gestureDisposable=ec.o.addTarget(this._domNode.domNode),this._sliderTouchStartListener=g.nm(this._domNode.domNode,ec.t.Start,e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&(this._slider.toggleClassName("active",!0),this._gestureInProgress=!0,this.scrollDueToTouchEvent(e))},{passive:!1}),this._sliderTouchMoveListener=g.nm(this._domNode.domNode,ec.t.Change,e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&this._gestureInProgress&&this.scrollDueToTouchEvent(e)},{passive:!1}),this._sliderTouchEndListener=g.mu(this._domNode.domNode,ec.t.End,e=>{e.preventDefault(),e.stopPropagation(),this._gestureInProgress=!1,this._slider.toggleClassName("active",!1)})}_startSliderDragging(e,t,i){if(!e.target||!(e.target instanceof Element))return;let n=e.pageX;this._slider.toggleClassName("active",!0);let s=(e,s)=>{let o=g.i(this._domNode.domNode),r=Math.min(Math.abs(s-n),Math.abs(s-o.left),Math.abs(s-o.left-o.width));if(y.ED&&r>140){this._model.setScrollTop(i.scrollTop);return}this._model.setScrollTop(i.getDesiredScrollTopFromDelta(e-t))};e.pageY!==t&&s(e.pageY,n),this._sliderPointerMoveMonitor.startMonitoring(e.target,e.pointerId,e.buttons,e=>s(e.pageY,e.pageX),()=>{this._slider.toggleClassName("active",!1)})}scrollDueToTouchEvent(e){let t=this._domNode.domNode.getBoundingClientRect().top,i=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(e.pageY-t);this._model.setScrollTop(i)}dispose(){this._pointerDownListener.dispose(),this._sliderPointerMoveMonitor.dispose(),this._sliderPointerDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),super.dispose()}_getMinimapDomNodeClassName(){let e=["minimap"];return"always"===this._model.options.showSlider?e.push("slider-always"):e.push("slider-mouseover"),this._model.options.autohide&&e.push("autohide"),e.join(" ")}getDomNode(){return this._domNode}_applyLayout(){this._domNode.setLeft(this._model.options.minimapLeft),this._domNode.setWidth(this._model.options.minimapWidth),this._domNode.setHeight(this._model.options.minimapHeight),this._shadow.setHeight(this._model.options.minimapHeight),this._canvas.setWidth(this._model.options.canvasOuterWidth),this._canvas.setHeight(this._model.options.canvasOuterHeight),this._canvas.domNode.width=this._model.options.canvasInnerWidth,this._canvas.domNode.height=this._model.options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._model.options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._model.options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._model.options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._model.options.canvasInnerHeight,this._slider.setWidth(this._model.options.minimapWidth)}_getBuffer(){return!this._buffers&&this._model.options.canvasInnerWidth>0&&this._model.options.canvasInnerHeight>0&&(this._buffers=new tQ(this._canvas.domNode.getContext("2d"),this._model.options.canvasInnerWidth,this._model.options.canvasInnerHeight,this._model.options.backgroundColor)),this._buffers?this._buffers.getBuffer():null}onDidChangeOptions(){this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName())}onSelectionChanged(){return this._renderDecorations=!0,!0}onDecorationsChanged(){return this._renderDecorations=!0,!0}onFlushed(){return this._lastRenderData=null,!0}onLinesChanged(e,t){return!!this._lastRenderData&&this._lastRenderData.onLinesChanged(e,t)}onLinesDeleted(e,t){var i;return null===(i=this._lastRenderData)||void 0===i||i.onLinesDeleted(e,t),!0}onLinesInserted(e,t){var i;return null===(i=this._lastRenderData)||void 0===i||i.onLinesInserted(e,t),!0}onScrollChanged(){return this._renderDecorations=!0,!0}onThemeChanged(){return this._selectionColor=this._theme.getColor(tR.ov3),this._renderDecorations=!0,!0}onTokensChanged(e){return!!this._lastRenderData&&this._lastRenderData.onTokensChanged(e)}onTokensColorsChanged(){return this._lastRenderData=null,this._buffers=null,!0}onZonesChanged(){return this._lastRenderData=null,!0}render(e){let t=this._model.options.renderMinimap;if(0===t){this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),this._sliderHorizontal.setHeight(0);return}e.scrollLeft+e.viewportWidth>=e.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");let i=tq.create(this._model.options,e.viewportStartLineNumber,e.viewportEndLineNumber,e.viewportStartLineNumberVerticalOffset,e.viewportHeight,e.viewportContainsWhitespaceGaps,this._model.getLineCount(),this._model.getRealLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setDisplay(i.sliderNeeded?"block":"none"),this._slider.setTop(i.sliderTop),this._slider.setHeight(i.sliderHeight),this._sliderHorizontal.setLeft(0),this._sliderHorizontal.setWidth(this._model.options.minimapWidth),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(i.sliderHeight),this.renderDecorations(i),this._lastRenderData=this.renderLines(i)}renderDecorations(e){if(this._renderDecorations){this._renderDecorations=!1;let t=this._model.getSelections();t.sort(Q.e.compareRangesUsingStarts);let i=this._model.getMinimapDecorationsInViewport(e.startLineNumber,e.endLineNumber);i.sort((e,t)=>(e.options.zIndex||0)-(t.options.zIndex||0));let{canvasInnerWidth:n,canvasInnerHeight:s}=this._model.options,o=this._model.options.minimapLineHeight,r=this._model.options.minimapCharWidth,l=this._model.getOptions().tabSize,a=this._decorationsCanvas.domNode.getContext("2d");a.clearRect(0,0,n,s);let d=new tX(e.startLineNumber,e.endLineNumber,!1);this._renderSelectionLineHighlights(a,t,d,e,o),this._renderDecorationsLineHighlights(a,i,d,e,o);let h=new tX(e.startLineNumber,e.endLineNumber,null);this._renderSelectionsHighlights(a,t,h,e,o,l,r,n),this._renderDecorationsHighlights(a,i,h,e,o,l,r,n),this._renderSectionHeaders(e)}}_renderSelectionLineHighlights(e,t,i,n,s){if(!this._selectionColor||this._selectionColor.isTransparent())return;e.fillStyle=this._selectionColor.transparent(.5).toString();let o=0,r=0;for(let l of t){let t=n.intersectWithViewport(l);if(!t)continue;let[a,d]=t;for(let e=a;e<=d;e++)i.set(e,!0);let h=n.getYForLineNumber(a,s),u=n.getYForLineNumber(d,s);r>=h||(r>o&&e.fillRect(I.y0,o,e.canvas.width,r-o),o=h),r=u}r>o&&e.fillRect(I.y0,o,e.canvas.width,r-o)}_renderDecorationsLineHighlights(e,t,i,n,s){let o=new Map;for(let r=t.length-1;r>=0;r--){let l=t[r],a=l.options.minimap;if(!a||1!==a.position)continue;let d=n.intersectWithViewport(l.range);if(!d)continue;let[h,u]=d,c=a.getColor(this._theme.value);if(!c||c.isTransparent())continue;let g=o.get(c.toString());g||(g=c.transparent(.5).toString(),o.set(c.toString(),g)),e.fillStyle=g;for(let t=h;t<=u;t++){if(i.has(t))continue;i.set(t,!0);let o=n.getYForLineNumber(h,s);e.fillRect(I.y0,o,e.canvas.width,s)}}}_renderSelectionsHighlights(e,t,i,n,s,o,r,l){if(!(!this._selectionColor||this._selectionColor.isTransparent()))for(let a of t){let t=n.intersectWithViewport(a);if(!t)continue;let[d,h]=t;for(let t=d;t<=h;t++)this.renderDecorationOnLine(e,i,a,this._selectionColor,n,t,s,s,o,r,l)}}_renderDecorationsHighlights(e,t,i,n,s,o,r,l){for(let a of t){let t=a.options.minimap;if(!t)continue;let d=n.intersectWithViewport(a.range);if(!d)continue;let[h,u]=d,c=t.getColor(this._theme.value);if(!(!c||c.isTransparent()))for(let d=h;d<=u;d++)switch(t.position){case 1:this.renderDecorationOnLine(e,i,a.range,c,n,d,s,s,o,r,l);continue;case 2:{let t=n.getYForLineNumber(d,s);this.renderDecoration(e,c,2,t,2,s);continue}}}}renderDecorationOnLine(e,t,i,n,s,o,r,l,a,d,h){let u=s.getYForLineNumber(o,l);if(u+r<0||u>this._model.options.canvasInnerHeight)return;let{startLineNumber:c,endLineNumber:g}=i,p=c===o?i.startColumn:1,m=g===o?i.endColumn:this._model.getLineMaxColumn(o),f=this.getXOffsetForPosition(t,o,p,a,d,h),_=this.getXOffsetForPosition(t,o,m,a,d,h);this.renderDecoration(e,n,f,u,_-f,r)}getXOffsetForPosition(e,t,i,n,s,o){if(1===i)return I.y0;if((i-1)*s>=o)return o;let r=e.get(t);if(!r){let i=this._model.getLineContent(t);r=[I.y0];let l=I.y0;for(let e=1;e=o){r[e]=o;break}r[e]=d,l=d}e.set(t,r)}return i-1e.range.startLineNumber-t.range.startLineNumber);let g=tJ._fitSectionHeader.bind(null,u,r-I.y0);for(let s of c){let l=e.getYForLineNumber(s.range.startLineNumber,i)+n,d=l-n,c=d+2,p=this._model.getSectionHeaderText(s,g);tJ._renderSectionLabel(u,p,(null===(t=s.options.minimap)||void 0===t?void 0:t.sectionHeaderStyle)===2,a,h,r,d,o,l,c)}}static _fitSectionHeader(e,t,i){if(!i)return i;let n=e.measureText(i).width,s=e.measureText("…").width;if(n<=t||n<=s)return i;let o=i.length,r=n/i.length,l=Math.floor((t-s)/r)-1,a=Math.ceil(l/2);for(;a>0&&/\s/.test(i[a-1]);)--a;return i.substring(0,a)+"…"+i.substring(o-(l-a))}static _renderSectionLabel(e,t,i,n,s,o,r,l,a,d){t&&(e.fillStyle=n,e.fillRect(0,r,o,l),e.fillStyle=s,e.fillText(t,I.y0,a)),i&&(e.beginPath(),e.moveTo(0,d),e.lineTo(o,d),e.closePath(),e.stroke())}renderLines(e){let t=e.startLineNumber,i=e.endLineNumber,n=this._model.options.minimapLineHeight;if(this._lastRenderData&&this._lastRenderData.linesEquals(e)){let t=this._lastRenderData._get();return new tG(e,t.imageData,t.lines)}let s=this._getBuffer();if(!s)return null;let[o,r,l]=tJ._renderUntouchedLines(s,e.topPaddingLineCount,t,i,n,this._lastRenderData),a=this._model.getMinimapLinesRenderingData(t,i,l),d=this._model.getOptions().tabSize,h=this._model.options.defaultBackgroundColor,u=this._model.options.backgroundColor,c=this._model.options.foregroundAlpha,g=this._model.tokensColorTracker,p=g.backgroundIsLight(),m=this._model.options.renderMinimap,f=this._model.options.charRenderer(),_=this._model.options.fontScale,v=this._model.options.minimapCharWidth,b=1===m?2:3,C=b*_,w=n>C?Math.floor((n-C)/2):0,y=u.a/255,S=new tI(Math.round((u.r-h.r)*y+h.r),Math.round((u.g-h.g)*y+h.g),Math.round((u.b-h.b)*y+h.b),255),L=e.topPaddingLineCount*n,k=[];for(let e=0,o=i-t+1;e=0&&n_)return;let r=m.charCodeAt(C);if(9===r){let e=u-(C+w)%u;w+=e-1,b+=e*o}else if(32===r)b+=o;else{let u=ex.K7(r)?2:1;for(let c=0;c_)return}}}}}class tX{constructor(e,t,i){this._startLineNumber=e,this._endLineNumber=t,this._defaultValue=i,this._values=[];for(let e=0,t=this._endLineNumber-this._startLineNumber+1;ethis._endLineNumber||(this._values[e-this._startLineNumber]=t)}get(e){return ethis._endLineNumber?this._defaultValue:this._values[e-this._startLineNumber]}}i(31282);class t0 extends ${constructor(e,t){super(e),this._viewDomNode=t;let i=this._context.configuration.options,n=i.get(145);this._widgets={},this._verticalScrollbarWidth=n.verticalScrollbarWidth,this._minimapWidth=n.minimap.minimapWidth,this._horizontalScrollbarHeight=n.horizontalScrollbarHeight,this._editorHeight=n.height,this._editorWidth=n.width,this._viewDomNodeRect={top:0,left:0,width:0,height:0},this._domNode=(0,V.X)(document.createElement("div")),q.write(this._domNode,4),this._domNode.setClassName("overlayWidgets"),this.overflowingOverlayWidgetsDomNode=(0,V.X)(document.createElement("div")),q.write(this.overflowingOverlayWidgetsDomNode,5),this.overflowingOverlayWidgetsDomNode.setClassName("overflowingOverlayWidgets")}dispose(){super.dispose(),this._widgets={}}getDomNode(){return this._domNode}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);return this._verticalScrollbarWidth=i.verticalScrollbarWidth,this._minimapWidth=i.minimap.minimapWidth,this._horizontalScrollbarHeight=i.horizontalScrollbarHeight,this._editorHeight=i.height,this._editorWidth=i.width,!0}addWidget(e){let t=(0,V.X)(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:null,domNode:t},t.setPosition("absolute"),t.setAttribute("widgetId",e.getId()),e.allowEditorOverflow?this.overflowingOverlayWidgetsDomNode.appendChild(t):this._domNode.appendChild(t),this.setShouldRender(),this._updateMaxMinWidth()}setWidgetPosition(e,t){let i=this._widgets[e.getId()],n=t?t.preference:null,s=null==t?void 0:t.stackOridinal;return i.preference===n&&i.stack===s?(this._updateMaxMinWidth(),!1):(i.preference=n,i.stack=s,this.setShouldRender(),this._updateMaxMinWidth(),!0)}removeWidget(e){let t=e.getId();if(this._widgets.hasOwnProperty(t)){let e=this._widgets[t],i=e.domNode.domNode;delete this._widgets[t],i.remove(),this.setShouldRender(),this._updateMaxMinWidth()}}_updateMaxMinWidth(){var e,t;let i=0,n=Object.keys(this._widgets);for(let s=0,o=n.length;s0);t.sort((e,t)=>(this._widgets[e].stack||0)-(this._widgets[t].stack||0));for(let e=0,n=t.length;e=3){let t=Math.floor(n/3),i=Math.floor(n/3),s=n-t-i,o=e+t;return[[0,e,o,e,e+t+s,e,o,e],[0,t,s,t+s,i,t+s+i,s+i,t+s+i]]}if(2!==i)return[[0,e,e,e,e,e,e,e],[0,n,n,n,n,n,n,n]];{let t=Math.floor(n/2),i=n-t;return[[0,e,e,e,e+t,e,e,e],[0,t,t,t,i,t+i,t+i,t+i]]}}equals(e){return this.lineHeight===e.lineHeight&&this.pixelRatio===e.pixelRatio&&this.overviewRulerLanes===e.overviewRulerLanes&&this.renderBorder===e.renderBorder&&this.borderColor===e.borderColor&&this.hideCursor===e.hideCursor&&this.cursorColorSingle===e.cursorColorSingle&&this.cursorColorPrimary===e.cursorColorPrimary&&this.cursorColorSecondary===e.cursorColorSecondary&&this.themeType===e.themeType&&eF.Il.equals(this.backgroundColor,e.backgroundColor)&&this.top===e.top&&this.right===e.right&&this.domWidth===e.domWidth&&this.domHeight===e.domHeight&&this.canvasWidth===e.canvasWidth&&this.canvasHeight===e.canvasHeight}}class t2 extends ${constructor(e){super(e),this._actualShouldRender=0,this._renderedDecorations=[],this._renderedCursorPositions=[],this._domNode=(0,V.X)(document.createElement("canvas")),this._domNode.setClassName("decorationsOverviewRuler"),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._domNode.setAttribute("aria-hidden","true"),this._updateSettings(!1),this._tokensColorTrackerListener=eO.RW.onDidChange(e=>{e.changedColorMap&&this._updateSettings(!0)}),this._cursorPositions=[{position:new G.L(1,1),color:this._settings.cursorColorSingle}]}dispose(){super.dispose(),this._tokensColorTrackerListener.dispose()}_updateSettings(e){let t=new t1(this._context.configuration,this._context.theme);return!(this._settings&&this._settings.equals(t))&&(this._settings=t,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,e&&this._render(),!0)}_markRenderingIsNeeded(){return this._actualShouldRender=2,!0}_markRenderingIsMaybeNeeded(){return this._actualShouldRender=1,!0}onConfigurationChanged(e){return!!this._updateSettings(!1)&&this._markRenderingIsNeeded()}onCursorStateChanged(e){this._cursorPositions=[];for(let t=0,i=e.selections.length;t1&&(n=0===t?this._settings.cursorColorPrimary:this._settings.cursorColorSecondary),this._cursorPositions.push({position:e.selections[t].getPosition(),color:n})}return this._cursorPositions.sort((e,t)=>G.L.compare(e.position,t.position)),this._markRenderingIsMaybeNeeded()}onDecorationsChanged(e){return!!e.affectsOverviewRuler&&this._markRenderingIsMaybeNeeded()}onFlushed(e){return this._markRenderingIsNeeded()}onScrollChanged(e){return!!e.scrollHeightChanged&&this._markRenderingIsNeeded()}onZonesChanged(e){return this._markRenderingIsNeeded()}onThemeChanged(e){return!!this._updateSettings(!1)&&this._markRenderingIsNeeded()}getDomNode(){return this._domNode.domNode}prepareRender(e){}render(e){this._render(),this._actualShouldRender=0}_render(){let e=this._settings.backgroundColor;if(0===this._settings.overviewRulerLanes){this._domNode.setBackgroundColor(e?eF.Il.Format.CSS.formatHexA(e):""),this._domNode.setDisplay("none");return}let t=this._context.viewModel.getAllOverviewRulerDecorations(this._context.theme);if(t.sort(tM.SQ.compareByRenderingProps),1!==this._actualShouldRender||tM.SQ.equalsArr(this._renderedDecorations,t)||(this._actualShouldRender=2),1!==this._actualShouldRender||(0,C.fS)(this._renderedCursorPositions,this._cursorPositions,(e,t)=>e.position.lineNumber===t.position.lineNumber&&e.color===t.color)||(this._actualShouldRender=2),1===this._actualShouldRender)return;this._renderedDecorations=t,this._renderedCursorPositions=this._cursorPositions,this._domNode.setDisplay("block");let i=this._settings.canvasWidth,n=this._settings.canvasHeight,s=this._settings.lineHeight,o=this._context.viewLayout,r=this._context.viewLayout.getScrollHeight(),l=n/r,a=6*this._settings.pixelRatio|0,d=a/2|0,h=this._domNode.domNode.getContext("2d");e?e.isOpaque()?(h.fillStyle=eF.Il.Format.CSS.formatHexA(e),h.fillRect(0,0,i,n)):(h.clearRect(0,0,i,n),h.fillStyle=eF.Il.Format.CSS.formatHexA(e),h.fillRect(0,0,i,n)):h.clearRect(0,0,i,n);let u=this._settings.x,c=this._settings.w;for(let e of t){let t=e.color,i=e.data;h.fillStyle=t;let r=0,g=0,p=0;for(let e=0,t=i.length/3;en&&(e=n-d),_=e-d,v=e+d}_>p+1||t!==r?(0!==e&&h.fillRect(u[r],g,c[r],p-g),r=t,g=_,p=v):v>p&&(p=v)}h.fillRect(u[r],g,c[r],p-g)}if(!this._settings.hideCursor){let e=2*this._settings.pixelRatio|0,t=e/2|0,i=this._settings.x[7],s=this._settings.w[7],r=-100,a=-100,d=null;for(let u=0,c=this._cursorPositions.length;un&&(p=n-t);let m=p-t,f=m+e;m>a+1||c!==d?(0!==u&&d&&h.fillRect(i,r,s,a-r),r=m,a=f):f>a&&(a=f),d=c,h.fillStyle=c}d&&h.fillRect(i,r,s,a-r)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(h.beginPath(),h.lineWidth=1,h.strokeStyle=this._settings.borderColor,h.moveTo(0,0),h.lineTo(0,n),h.stroke(),h.moveTo(0,0),h.lineTo(i,0),h.stroke())}}var t5=i(30665);class t4 extends U{constructor(e,t){super(),this._context=e;let i=this._context.configuration.options;this._domNode=(0,V.X)(document.createElement("canvas")),this._domNode.setClassName(t),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._zoneManager=new t5.Tj(e=>this._context.viewLayout.getVerticalOffsetForLineNumber(e)),this._zoneManager.setDOMWidth(0),this._zoneManager.setDOMHeight(0),this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight()),this._zoneManager.setLineHeight(i.get(67)),this._zoneManager.setPixelRatio(i.get(143)),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options;return e.hasChanged(67)&&(this._zoneManager.setLineHeight(t.get(67)),this._render()),e.hasChanged(143)&&(this._zoneManager.setPixelRatio(t.get(143)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0}onFlushed(e){return this._render(),!0}onScrollChanged(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0}onZonesChanged(e){return this._render(),!0}getDomNode(){return this._domNode.domNode}setLayout(e){this._domNode.setTop(e.top),this._domNode.setRight(e.right);let t=!1;t=this._zoneManager.setDOMWidth(e.width)||t,(t=this._zoneManager.setDOMHeight(e.height)||t)&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())}setZones(e){this._zoneManager.setZones(e),this._render()}_render(){if(0===this._zoneManager.getOuterHeight())return!1;let e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),i=this._zoneManager.resolveColorZones(),n=this._zoneManager.getId2Color(),s=this._domNode.domNode.getContext("2d");return s.clearRect(0,0,e,t),i.length>0&&this._renderOneLane(s,i,n,e),!0}_renderOneLane(e,t,i,n){let s=0,o=0,r=0;for(let l of t){let t=l.colorId,a=l.from,d=l.to;t!==s?(e.fillRect(0,o,n,r-o),s=t,e.fillStyle=i[s],o=a,r=d):r>=a?r=Math.max(r,d):(e.fillRect(0,o,n,r-o),o=a,r=d)}e.fillRect(0,o,n,r-o)}}i(2641);class t3 extends ${constructor(e){super(e),this.domNode=(0,V.X)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.domNode.setClassName("view-rulers"),this._renderedRulers=[];let t=this._context.configuration.options;this._rulers=t.get(102),this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth}dispose(){super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options;return this._rulers=t.get(102),this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,!0}onScrollChanged(e){return e.scrollHeightChanged}prepareRender(e){}_ensureRulersCount(){let e=this._renderedRulers.length,t=this._rulers.length;if(e===t)return;if(e0;){let e=(0,V.X)(document.createElement("div"));e.setClassName("view-ruler"),e.setWidth(i),this.domNode.appendChild(e),this._renderedRulers.push(e),n--}return}let i=e-t;for(;i>0;){let e=this._renderedRulers.pop();this.domNode.removeChild(e),i--}}render(e){this._ensureRulersCount();for(let t=0,i=this._rulers.length;t0;return this._shouldShow!==e&&(this._shouldShow=e,!0)}getDomNode(){return this._domNode}_updateWidth(){let e=this._context.configuration.options,t=e.get(145);0===t.minimap.renderMinimap||t.minimap.minimapWidth>0&&0===t.minimap.minimapLeft?this._width=t.width:this._width=t.width-t.verticalScrollbarWidth}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(103);return this._useShadows=i.useShadows,this._updateWidth(),this._updateShouldShow(),!0}onScrollChanged(e){return this._scrollTop=e.scrollTop,this._updateShouldShow()}prepareRender(e){}render(e){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")}}i(7525);class t9{constructor(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null}}class t7{constructor(e,t){this.lineNumber=e,this.ranges=t}}function t8(e){return new t9(e)}function ie(e){return new t7(e.lineNumber,e.ranges.map(t8))}class it extends eE{constructor(e){super(),this._previousFrameVisibleRangesWithStyle=[],this._context=e;let t=this._context.configuration.options;this._roundedSelection=t.get(101),this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,this._selections=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options;return this._roundedSelection=t.get(101),this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_visibleRangesHaveGaps(e){for(let t=0,i=e.length;t1)return!0}return!1}_enrichVisibleRangesWithStyle(e,t,i){let n=this._typicalHalfwidthCharacterWidth/4,s=null,o=null;if(i&&i.length>0&&t.length>0){let n=t[0].lineNumber;if(n===e.startLineNumber)for(let e=0;!s&&e=0;e--)i[e].lineNumber===r&&(o=i[e].ranges[0]);s&&!s.startStyle&&(s=null),o&&!o.startStyle&&(o=null)}for(let e=0,i=t.length;e0){let i=t[e-1].ranges[0].left,s=t[e-1].ranges[0].left+t[e-1].ranges[0].width;ii(l-i)i&&(d.top=1),ii(a-s)'}_actualRenderOneSelection(e,t,i,n){if(0===n.length)return;let s=!!n[0].ranges[0].startStyle,o=n[0].lineNumber,r=n[n.length-1].lineNumber;for(let l=0,a=n.length;l1,r)}this._previousFrameVisibleRangesWithStyle=s,this._renderResult=t.map(([e,t])=>e+t)}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}function ii(e){return e<0?-e:e}it.SELECTION_CLASS_NAME="selected-text",it.SELECTION_TOP_LEFT="top-left-radius",it.SELECTION_BOTTOM_LEFT="bottom-left-radius",it.SELECTION_TOP_RIGHT="top-right-radius",it.SELECTION_BOTTOM_RIGHT="bottom-right-radius",it.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",it.ROUNDED_PIECE_WIDTH=10,(0,eI.Ic)((e,t)=>{let i=e.getColor(tR.yb5);i&&!i.isTransparent()&&t.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${i}; }`)}),i(32452);class is{constructor(e,t,i,n,s,o,r){this.top=e,this.left=t,this.paddingLeft=i,this.width=n,this.height=s,this.textContent=o,this.textContentClassName=r}}(o=a||(a={}))[o.Single=0]="Single",o[o.MultiPrimary=1]="MultiPrimary",o[o.MultiSecondary=2]="MultiSecondary";class io{constructor(e,t){this._context=e;let i=this._context.configuration.options,n=i.get(50);this._cursorStyle=i.get(28),this._lineHeight=i.get(67),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(i.get(31),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=(0,V.X)(document.createElement("div")),this._domNode.setClassName(`cursor ${eP}`),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),(0,v.N)(this._domNode,n),this._domNode.setDisplay("none"),this._position=new G.L(1,1),this._pluralityClass="",this.setPlurality(t),this._lastRenderedContent="",this._renderData=null}getDomNode(){return this._domNode}getPosition(){return this._position}setPlurality(e){switch(e){default:case a.Single:this._pluralityClass="";break;case a.MultiPrimary:this._pluralityClass="cursor-primary";break;case a.MultiSecondary:this._pluralityClass="cursor-secondary"}}show(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)}hide(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(50);return this._cursorStyle=t.get(28),this._lineHeight=t.get(67),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(31),this._typicalHalfwidthCharacterWidth),(0,v.N)(this._domNode,i),!0}onCursorPositionChanged(e,t){return t?this._domNode.domNode.style.transitionProperty="none":this._domNode.domNode.style.transitionProperty="",this._position=e,!0}_getGraphemeAwarePosition(){let{lineNumber:e,column:t}=this._position,i=this._context.viewModel.getLineContent(e),[n,s]=ex.J_(i,t-1);return[new G.L(e,n+1),i.substring(n,s)]}_prepareRender(e){let t="",i="",[n,s]=this._getGraphemeAwarePosition();if(this._cursorStyle===I.d2.Line||this._cursorStyle===I.d2.LineThin){let o;let r=e.visibleRangeForPosition(n);if(!r||r.outsideRenderedLine)return null;let l=g.Jj(this._domNode.domNode);this._cursorStyle===I.d2.Line?(o=g.Uh(l,this._lineCursorWidth>0?this._lineCursorWidth:2))>2&&(t=s,i=this._getTokenClassName(n)):o=g.Uh(l,1);let a=r.left,d=0;o>=2&&a>=1&&(a-=d=1);let h=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.bigNumbersDelta;return new is(h,a,d,o,this._lineHeight,t,i)}let o=e.linesVisibleRangesForRange(new Q.e(n.lineNumber,n.column,n.lineNumber,n.column+s.length),!1);if(!o||0===o.length)return null;let r=o[0];if(r.outsideRenderedLine||0===r.ranges.length)return null;let l=r.ranges[0],a=" "===s?this._typicalHalfwidthCharacterWidth:l.width<1?this._typicalHalfwidthCharacterWidth:l.width;this._cursorStyle===I.d2.Block&&(t=s,i=this._getTokenClassName(n));let d=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.bigNumbersDelta,h=this._lineHeight;return(this._cursorStyle===I.d2.Underline||this._cursorStyle===I.d2.UnderlineThin)&&(d+=this._lineHeight-2,h=2),new is(d,l.left,0,a,h,t,i)}_getTokenClassName(e){let t=this._context.viewModel.getViewLineData(e.lineNumber),i=t.tokens.findTokenIndexAtOffset(e.column-1);return t.tokens.getClassName(i)}prepareRender(e){this._renderData=this._prepareRender(e)}render(e){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName(`cursor ${this._pluralityClass} ${eP} ${this._renderData.textContentClassName}`),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setPaddingLeft(this._renderData.paddingLeft),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)}}class ir extends ${constructor(e){super(e);let t=this._context.configuration.options;this._readOnly=t.get(91),this._cursorBlinking=t.get(26),this._cursorStyle=t.get(28),this._cursorSmoothCaretAnimation=t.get(27),this._selectionIsEmpty=!0,this._isComposingInput=!1,this._isVisible=!1,this._primaryCursor=new io(this._context,a.Single),this._secondaryCursors=[],this._renderData=[],this._domNode=(0,V.X)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._updateDomClassName(),this._domNode.appendChild(this._primaryCursor.getDomNode()),this._startCursorBlinkAnimation=new tw._F,this._cursorFlatBlinkInterval=new g.ne,this._blinkingEnabled=!1,this._editorHasFocus=!1,this._updateBlinking()}dispose(){super.dispose(),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()}getDomNode(){return this._domNode}onCompositionStart(e){return this._isComposingInput=!0,this._updateBlinking(),!0}onCompositionEnd(e){return this._isComposingInput=!1,this._updateBlinking(),!0}onConfigurationChanged(e){let t=this._context.configuration.options;this._readOnly=t.get(91),this._cursorBlinking=t.get(26),this._cursorStyle=t.get(28),this._cursorSmoothCaretAnimation=t.get(27),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(e);for(let t=0,i=this._secondaryCursors.length;tt.length){let e=this._secondaryCursors.length-t.length;for(let t=0;t{for(let i=0,n=e.ranges.length;i{this._isVisible?this._hide():this._show()},ir.BLINK_INTERVAL,(0,g.Jj)(this._domNode.domNode)):this._startCursorBlinkAnimation.setIfNotSet(()=>{this._blinkingEnabled=!0,this._updateDomClassName()},ir.BLINK_INTERVAL))}_updateDomClassName(){this._domNode.setClassName(this._getClassName())}_getClassName(){let e="cursors-layer";switch(this._selectionIsEmpty||(e+=" has-selection"),this._cursorStyle){case I.d2.Line:e+=" cursor-line-style";break;case I.d2.Block:e+=" cursor-block-style";break;case I.d2.Underline:e+=" cursor-underline-style";break;case I.d2.LineThin:e+=" cursor-line-thin-style";break;case I.d2.BlockOutline:e+=" cursor-block-outline-style";break;case I.d2.UnderlineThin:e+=" cursor-underline-thin-style";break;default:e+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:e+=" cursor-blink";break;case 2:e+=" cursor-smooth";break;case 3:e+=" cursor-phase";break;case 4:e+=" cursor-expand";break;default:e+=" cursor-solid"}else e+=" cursor-solid";return("on"===this._cursorSmoothCaretAnimation||"explicit"===this._cursorSmoothCaretAnimation)&&(e+=" cursor-smooth-caret-animation"),e}_show(){this._primaryCursor.show();for(let e=0,t=this._secondaryCursors.length;e{let i=[{class:".cursor",foreground:eT.n0,background:eT.fY},{class:".cursor-primary",foreground:eT.jD,background:eT.s2},{class:".cursor-secondary",foreground:eT.x_,background:eT.P0}];for(let n of i){let i=e.getColor(n.foreground);if(i){let s=e.getColor(n.background);s||(s=i.opposite()),t.addRule(`.monaco-editor .cursors-layer ${n.class} { background-color: ${i}; border-color: ${i}; color: ${s}; }`),(0,tt.c3)(e.type)&&t.addRule(`.monaco-editor .cursors-layer.has-selection ${n.class} { border-left: 1px solid ${s}; border-right: 1px solid ${s}; }`)}}});let il=()=>{throw Error("Invalid change accessor")};class ia extends ${constructor(e){super(e);let t=this._context.configuration.options,i=t.get(145);this._lineHeight=t.get(67),this._contentWidth=i.contentWidth,this._contentLeft=i.contentLeft,this.domNode=(0,V.X)(document.createElement("div")),this.domNode.setClassName("view-zones"),this.domNode.setPosition("absolute"),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.marginDomNode=(0,V.X)(document.createElement("div")),this.marginDomNode.setClassName("margin-view-zones"),this.marginDomNode.setPosition("absolute"),this.marginDomNode.setAttribute("role","presentation"),this.marginDomNode.setAttribute("aria-hidden","true"),this._zones={}}dispose(){super.dispose(),this._zones={}}_recomputeWhitespacesProps(){let e=this._context.viewLayout.getWhitespaces(),t=new Map;for(let i of e)t.set(i.id,i);let i=!1;return this._context.viewModel.changeWhitespace(e=>{let n=Object.keys(this._zones);for(let s=0,o=n.length;s{let n={addZone:e=>(t=!0,this._addZone(i,e)),removeZone:e=>{e&&(t=this._removeZone(i,e)||t)},layoutZone:e=>{e&&(t=this._layoutZone(i,e)||t)}};(function(e,t){try{e(t)}catch(e){(0,p.dL)(e)}})(e,n),n.addZone=il,n.removeZone=il,n.layoutZone=il}),t}_addZone(e,t){let i=this._computeWhitespaceProps(t),n=e.insertWhitespace(i.afterViewLineNumber,this._getZoneOrdinal(t),i.heightInPx,i.minWidthInPx),s={whitespaceId:n,delegate:t,isInHiddenArea:i.isInHiddenArea,isVisible:!1,domNode:(0,V.X)(t.domNode),marginDomNode:t.marginDomNode?(0,V.X)(t.marginDomNode):null};return this._safeCallOnComputedHeight(s.delegate,i.heightInPx),s.domNode.setPosition("absolute"),s.domNode.domNode.style.width="100%",s.domNode.setDisplay("none"),s.domNode.setAttribute("monaco-view-zone",s.whitespaceId),this.domNode.appendChild(s.domNode),s.marginDomNode&&(s.marginDomNode.setPosition("absolute"),s.marginDomNode.domNode.style.width="100%",s.marginDomNode.setDisplay("none"),s.marginDomNode.setAttribute("monaco-view-zone",s.whitespaceId),this.marginDomNode.appendChild(s.marginDomNode)),this._zones[s.whitespaceId]=s,this.setShouldRender(),s.whitespaceId}_removeZone(e,t){if(this._zones.hasOwnProperty(t)){let i=this._zones[t];return delete this._zones[t],e.removeWhitespace(i.whitespaceId),i.domNode.removeAttribute("monaco-visible-view-zone"),i.domNode.removeAttribute("monaco-view-zone"),i.domNode.domNode.parentNode.removeChild(i.domNode.domNode),i.marginDomNode&&(i.marginDomNode.removeAttribute("monaco-visible-view-zone"),i.marginDomNode.removeAttribute("monaco-view-zone"),i.marginDomNode.domNode.parentNode.removeChild(i.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}_layoutZone(e,t){if(this._zones.hasOwnProperty(t)){let i=this._zones[t],n=this._computeWhitespaceProps(i.delegate);return i.isInHiddenArea=n.isInHiddenArea,e.changeOneWhitespace(i.whitespaceId,n.afterViewLineNumber,n.heightInPx),this._safeCallOnComputedHeight(i.delegate,n.heightInPx),this.setShouldRender(),!0}return!1}shouldSuppressMouseDownOnViewZone(e){if(this._zones.hasOwnProperty(e)){let t=this._zones[e];return!!t.delegate.suppressMouseDown}return!1}_heightInPixels(e){return"number"==typeof e.heightInPx?e.heightInPx:"number"==typeof e.heightInLines?this._lineHeight*e.heightInLines:this._lineHeight}_minWidthInPixels(e){return"number"==typeof e.minWidthInPx?e.minWidthInPx:0}_safeCallOnComputedHeight(e,t){if("function"==typeof e.onComputedHeight)try{e.onComputedHeight(t)}catch(e){(0,p.dL)(e)}}_safeCallOnDomNodeTop(e,t){if("function"==typeof e.onDomNodeTop)try{e.onDomNodeTop(t)}catch(e){(0,p.dL)(e)}}prepareRender(e){}render(e){let t=e.viewportData.whitespaceViewportData,i={},n=!1;for(let e of t)this._zones[e.id].isInHiddenArea||(i[e.id]=e,n=!0);let s=Object.keys(this._zones);for(let t=0,n=s.length;tt)continue;let e=i.startLineNumber===t?i.startColumn:n.minColumn,o=i.endLineNumber===t?i.endColumn:n.maxColumn;e=k.endOffset&&(L++,k=i&&i[L]),9!==o&&32!==o||c&&!y&&n<=s)continue;if(u&&n>=S&&n<=s&&32===o){let e=n-1>=0?l.charCodeAt(n-1):0,t=n+1=0?l.charCodeAt(n-1):0,t=32===o&&32!==e&&9!==e;if(t)continue}if(i&&(!k||k.startOffset>n||k.endOffset<=n))continue;let h=e.visibleRangeForPosition(new G.L(t,n+1));h&&(r?(D=Math.max(D,h.left),9===o?w+=this._renderArrow(g,f,h.left):w+=``):9===o?w+=`
    ${C?String.fromCharCode(65515):String.fromCharCode(8594)}
    `:w+=`
    ${String.fromCharCode(b)}
    `)}return r?(D=Math.round(D+f),``+w+""):w}_renderArrow(e,t,i){let n=e/2,s={x:0,y:t/7/2},o={x:.8*t,y:s.y},r={x:o.x-.2*o.x,y:o.y+.2*o.x},l={x:r.x+.1*o.x,y:r.y+.1*o.x},a={x:l.x+.35*o.x,y:l.y-.35*o.x},d={x:a.x,y:-a.y},h={x:l.x,y:-l.y},u={x:r.x,y:-r.y},c={x:o.x,y:-o.y},g={x:s.x,y:-s.y},p=[s,o,r,l,a,d,h,u,c,g].map(e=>`${(i+e.x).toFixed(2)} ${(n+e.y).toFixed(2)}`).join(" L ");return``}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}class iu{constructor(e){let t=e.options,i=t.get(50),n=t.get(38);"off"===n?(this.renderWhitespace="none",this.renderWithSVG=!1):"svg"===n?(this.renderWhitespace=t.get(99),this.renderWithSVG=!0):(this.renderWhitespace=t.get(99),this.renderWithSVG=!1),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.wsmiddotWidth=i.wsmiddotWidth,this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=t.get(67),this.stopRenderingLineAfter=t.get(117)}equals(e){return this.renderWhitespace===e.renderWhitespace&&this.renderWithSVG===e.renderWithSVG&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter}}class ic{constructor(e,t,i,n){this.selections=e,this.startLineNumber=0|t.startLineNumber,this.endLineNumber=0|t.endLineNumber,this.relativeVerticalOffset=t.relativeVerticalOffset,this.bigNumbersDelta=0|t.bigNumbersDelta,this.lineHeight=0|t.lineHeight,this.whitespaceViewportData=i,this._model=n,this.visibleRange=new Q.e(t.startLineNumber,this._model.getLineMinColumn(t.startLineNumber),t.endLineNumber,this._model.getLineMaxColumn(t.endLineNumber))}getViewLineRenderingData(e){return this._model.getViewportViewLineRenderingData(this.visibleRange,e)}getDecorationsInViewport(){return this._model.getDecorationsInViewport(this.visibleRange)}}class ig{get type(){return this._theme.type}get value(){return this._theme}constructor(e){this._theme=e}update(e){this._theme=e}getColor(e){return this._theme.getColor(e)}}class ip{constructor(e,t,i){this.configuration=e,this.theme=new ig(t),this.viewModel=i,this.viewLayout=i.viewLayout}addEventHandler(e){this.viewModel.addViewEventHandler(e)}removeEventHandler(e){this.viewModel.removeViewEventHandler(e)}}let im=class extends U{constructor(e,t,i,n,s,o,r){super(),this._instantiationService=r,this._shouldRecomputeGlyphMarginLanes=!1,this._selections=[new em.Y(1,1,1,1)],this._renderAnimationFrame=null;let l=new ej(t,n,s,e);this._context=new ip(t,i,n),this._context.addEventHandler(this),this._viewParts=[],this._textAreaHandler=this._instantiationService.createInstance(eU,this._context,l,this._createTextAreaHandlerHelper()),this._viewParts.push(this._textAreaHandler),this._linesContent=(0,V.X)(document.createElement("div")),this._linesContent.setClassName("lines-content monaco-editor-background"),this._linesContent.setPosition("absolute"),this.domNode=(0,V.X)(document.createElement("div")),this.domNode.setClassName(this._getEditorClassName()),this.domNode.setAttribute("role","code"),this._overflowGuardContainer=(0,V.X)(document.createElement("div")),q.write(this._overflowGuardContainer,3),this._overflowGuardContainer.setClassName("overflow-guard"),this._scrollbar=new tr(this._context,this._linesContent,this.domNode,this._overflowGuardContainer),this._viewParts.push(this._scrollbar),this._viewLines=new tD(this._context,this._linesContent),this._viewZones=new ia(this._context),this._viewParts.push(this._viewZones);let a=new t2(this._context);this._viewParts.push(a);let d=new t6(this._context);this._viewParts.push(d);let h=new e1(this._context);this._viewParts.push(h),h.addDynamicOverlay(new tn(this._context)),h.addDynamicOverlay(new it(this._context)),h.addDynamicOverlay(new tb(this._context)),h.addDynamicOverlay(new to(this._context)),h.addDynamicOverlay(new ih(this._context));let u=new e2(this._context);this._viewParts.push(u),u.addDynamicOverlay(new ts(this._context)),u.addDynamicOverlay(new tN(this._context)),u.addDynamicOverlay(new tx(this._context)),u.addDynamicOverlay(new eM(this._context)),this._glyphMarginWidgets=new tc(this._context),this._viewParts.push(this._glyphMarginWidgets);let c=new eR(this._context);c.getDomNode().appendChild(this._viewZones.marginDomNode),c.getDomNode().appendChild(u.getDomNode()),c.getDomNode().appendChild(this._glyphMarginWidgets.domNode),this._viewParts.push(c),this._contentWidgets=new e3(this._context,this.domNode),this._viewParts.push(this._contentWidgets),this._viewCursors=new ir(this._context),this._viewParts.push(this._viewCursors),this._overlayWidgets=new t0(this._context,this.domNode),this._viewParts.push(this._overlayWidgets);let g=new t3(this._context);this._viewParts.push(g);let p=new e4(this._context);this._viewParts.push(p);let m=new tY(this._context);if(this._viewParts.push(m),a){let e=this._scrollbar.getOverviewRulerLayoutInfo();e.parent.insertBefore(a.getDomNode(),e.insertBefore)}this._linesContent.appendChild(h.getDomNode()),this._linesContent.appendChild(g.domNode),this._linesContent.appendChild(this._viewZones.domNode),this._linesContent.appendChild(this._viewLines.getDomNode()),this._linesContent.appendChild(this._contentWidgets.domNode),this._linesContent.appendChild(this._viewCursors.getDomNode()),this._overflowGuardContainer.appendChild(c.getDomNode()),this._overflowGuardContainer.appendChild(this._scrollbar.getDomNode()),this._overflowGuardContainer.appendChild(d.getDomNode()),this._overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this._overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this._overflowGuardContainer.appendChild(this._overlayWidgets.getDomNode()),this._overflowGuardContainer.appendChild(m.getDomNode()),this._overflowGuardContainer.appendChild(p.domNode),this.domNode.appendChild(this._overflowGuardContainer),o?(o.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode.domNode),o.appendChild(this._overlayWidgets.overflowingOverlayWidgetsDomNode.domNode)):(this.domNode.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode),this.domNode.appendChild(this._overlayWidgets.overflowingOverlayWidgetsDomNode)),this._applyLayout(),this._pointerHandler=this._register(new ek(this._context,l,this._createPointerHandlerHelper()))}_computeGlyphMarginLanes(){let e=this._context.viewModel.model,t=this._context.viewModel.glyphLanes,i=[],n=0;for(let s of((i=(i=i.concat(e.getAllMarginDecorations().map(e=>{var t,i,s;let o=null!==(i=null===(t=e.options.glyphMargin)||void 0===t?void 0:t.position)&&void 0!==i?i:tl.U.Center;return n=Math.max(n,e.range.endLineNumber),{range:e.range,lane:o,persist:null===(s=e.options.glyphMargin)||void 0===s?void 0:s.persistLane}}))).concat(this._glyphMarginWidgets.getWidgets().map(t=>{let i=e.validateRange(t.preference.range);return n=Math.max(n,i.endLineNumber),{range:i,lane:t.preference.lane}}))).sort((e,t)=>Q.e.compareRangesUsingStarts(e.range,t.range)),t.reset(n),i))t.push(s.lane,s.range,s.persist);return t}_createPointerHandlerHelper(){return{viewDomNode:this.domNode.domNode,linesContentDomNode:this._linesContent.domNode,viewLinesDomNode:this._viewLines.getDomNode().domNode,focusTextArea:()=>{this.focus()},dispatchTextAreaEvent:e=>{this._textAreaHandler.textArea.domNode.dispatchEvent(e)},getLastRenderData:()=>{let e=this._viewCursors.getLastRenderData()||[],t=this._textAreaHandler.getLastRenderData();return new et(e,t)},renderNow:()=>{this.render(!0,!1)},shouldSuppressMouseDownOnViewZone:e=>this._viewZones.shouldSuppressMouseDownOnViewZone(e),shouldSuppressMouseDownOnWidget:e=>this._contentWidgets.shouldSuppressMouseDownOnWidget(e),getPositionFromDOMInfo:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getPositionFromDOMInfo(e,t)),visibleRangeForPosition:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new G.L(e,t))),getLineWidth:e=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getLineWidth(e))}}_createTextAreaHandlerHelper(){return{visibleRangeForPosition:e=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(e))}}_applyLayout(){let e=this._context.configuration.options,t=e.get(145);this.domNode.setWidth(t.width),this.domNode.setHeight(t.height),this._overflowGuardContainer.setWidth(t.width),this._overflowGuardContainer.setHeight(t.height),this._linesContent.setWidth(16777216),this._linesContent.setHeight(16777216)}_getEditorClassName(){let e=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(142)+" "+(0,eI.m6)(this._context.theme.type)+e}handleEvents(e){super.handleEvents(e),this._scheduleRender()}onConfigurationChanged(e){return this.domNode.setClassName(this._getEditorClassName()),this._applyLayout(),!1}onCursorStateChanged(e){return this._selections=e.selections,!1}onDecorationsChanged(e){return e.affectsGlyphMargin&&(this._shouldRecomputeGlyphMarginLanes=!0),!1}onFocusChanged(e){return this.domNode.setClassName(this._getEditorClassName()),!1}onThemeChanged(e){return this._context.theme.update(e.theme),this.domNode.setClassName(this._getEditorClassName()),!1}dispose(){for(let e of(null!==this._renderAnimationFrame&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(),this._context.removeEventHandler(this),this._viewLines.dispose(),this._viewParts))e.dispose();super.dispose()}_scheduleRender(){if(this._store.isDisposed)throw new p.he;if(null===this._renderAnimationFrame){let e=this._createCoordinatedRendering();this._renderAnimationFrame=iv.INSTANCE.scheduleCoordinatedRendering({window:g.Jj(this.domNode.domNode),prepareRenderText:()=>{if(this._store.isDisposed)throw new p.he;try{return e.prepareRenderText()}finally{this._renderAnimationFrame=null}},renderText:()=>{if(this._store.isDisposed)throw new p.he;return e.renderText()},prepareRender:(t,i)=>{if(this._store.isDisposed)throw new p.he;return e.prepareRender(t,i)},render:(t,i)=>{if(this._store.isDisposed)throw new p.he;return e.render(t,i)}})}}_flushAccumulatedAndRenderNow(){let e=this._createCoordinatedRendering();i_(()=>e.prepareRenderText());let t=i_(()=>e.renderText());if(t){let[i,n]=t;i_(()=>e.prepareRender(i,n)),i_(()=>e.render(i,n))}}_getViewPartsToRender(){let e=[],t=0;for(let i of this._viewParts)i.shouldRender()&&(e[t++]=i);return e}_createCoordinatedRendering(){return{prepareRenderText:()=>{if(this._shouldRecomputeGlyphMarginLanes){this._shouldRecomputeGlyphMarginLanes=!1;let e=this._computeGlyphMarginLanes();this._context.configuration.setGlyphMarginDecorationLaneCount(e.requiredLanes)}z.B.onRenderStart()},renderText:()=>{if(!this.domNode.domNode.isConnected)return null;let e=this._getViewPartsToRender();if(!this._viewLines.shouldRender()&&0===e.length)return null;let t=this._context.viewLayout.getLinesViewportData();this._context.viewModel.setViewport(t.startLineNumber,t.endLineNumber,t.centeredLineNumber);let i=new ic(this._selections,t,this._context.viewLayout.getWhitespaceViewportData(),this._context.viewModel);return this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(i),this._viewLines.shouldRender()&&(this._viewLines.renderText(i),this._viewLines.onDidRender(),e=this._getViewPartsToRender()),[e,new e$.xh(this._context.viewLayout,i,this._viewLines)]},prepareRender:(e,t)=>{for(let i of e)i.prepareRender(t)},render:(e,t)=>{for(let i of e)i.render(t),i.onDidRender()}}}delegateVerticalScrollbarPointerDown(e){this._scrollbar.delegateVerticalScrollbarPointerDown(e)}delegateScrollFromMouseWheelEvent(e){this._scrollbar.delegateScrollFromMouseWheelEvent(e)}restoreState(e){this._context.viewModel.viewLayout.setScrollPosition({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft},1),this._context.viewModel.visibleLinesStabilized()}getOffsetForColumn(e,t){let i=this._context.viewModel.model.validatePosition({lineNumber:e,column:t}),n=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(i);this._flushAccumulatedAndRenderNow();let s=this._viewLines.visibleRangeForPosition(new G.L(n.lineNumber,n.column));return s?s.left:-1}getTargetAtClientPoint(e,t){let i=this._pointerHandler.getTargetAtClientPoint(e,t);return i?e5.convertViewToModelMouseTarget(i,this._context.viewModel.coordinatesConverter):null}createOverviewRuler(e){return new t4(this._context,e)}change(e){this._viewZones.changeViewZones(e),this._scheduleRender()}render(e,t){if(t)for(let e of(this._viewLines.forceShouldRender(),this._viewParts))e.forceShouldRender();e?this._flushAccumulatedAndRenderNow():this._scheduleRender()}writeScreenReaderContent(e){this._textAreaHandler.writeScreenReaderContent(e)}focus(){this._textAreaHandler.focusTextArea()}isFocused(){return this._textAreaHandler.isFocused()}setAriaOptions(e){this._textAreaHandler.setAriaOptions(e)}addContentWidget(e){this._contentWidgets.addWidget(e.widget),this.layoutContentWidget(e),this._scheduleRender()}layoutContentWidget(e){var t,i,n,s,o,r,l,a;this._contentWidgets.setWidgetPosition(e.widget,null!==(i=null===(t=e.position)||void 0===t?void 0:t.position)&&void 0!==i?i:null,null!==(s=null===(n=e.position)||void 0===n?void 0:n.secondaryPosition)&&void 0!==s?s:null,null!==(r=null===(o=e.position)||void 0===o?void 0:o.preference)&&void 0!==r?r:null,null!==(a=null===(l=e.position)||void 0===l?void 0:l.positionAffinity)&&void 0!==a?a:null),this._scheduleRender()}removeContentWidget(e){this._contentWidgets.removeWidget(e.widget),this._scheduleRender()}addOverlayWidget(e){this._overlayWidgets.addWidget(e.widget),this.layoutOverlayWidget(e),this._scheduleRender()}layoutOverlayWidget(e){let t=this._overlayWidgets.setWidgetPosition(e.widget,e.position);t&&this._scheduleRender()}removeOverlayWidget(e){this._overlayWidgets.removeWidget(e.widget),this._scheduleRender()}addGlyphMarginWidget(e){this._glyphMarginWidgets.addWidget(e.widget),this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender()}layoutGlyphMarginWidget(e){let t=e.position,i=this._glyphMarginWidgets.setWidgetPosition(e.widget,t);i&&(this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender())}removeGlyphMarginWidget(e){this._glyphMarginWidgets.removeWidget(e.widget),this._shouldRecomputeGlyphMarginLanes=!0,this._scheduleRender()}};function i_(e){try{return e()}catch(e){return(0,p.dL)(e),null}}im=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(r=eH.TG,function(e,t){r(e,t,6)})],im);class iv{constructor(){this._coordinatedRenderings=[],this._animationFrameRunners=new Map}scheduleCoordinatedRendering(e){return this._coordinatedRenderings.push(e),this._scheduleRender(e.window),{dispose:()=>{let t=this._coordinatedRenderings.indexOf(e);if(-1!==t&&(this._coordinatedRenderings.splice(t,1),0===this._coordinatedRenderings.length)){for(let[e,t]of this._animationFrameRunners)t.dispose();this._animationFrameRunners.clear()}}}}_scheduleRender(e){this._animationFrameRunners.has(e)||this._animationFrameRunners.set(e,g.lI(e,()=>{this._animationFrameRunners.delete(e),this._onRenderScheduled()},100))}_onRenderScheduled(){let e=this._coordinatedRenderings.slice(0);for(let t of(this._coordinatedRenderings=[],e))i_(()=>t.prepareRenderText());let t=[];for(let i=0,n=e.length;in.renderText())}for(let i=0,n=e.length;in.prepareRender(o,r))}for(let i=0,n=e.length;in.render(o,r))}}}iv.INSTANCE=new iv;var ib=i(35146);class iC{constructor(e,t,i,n,s){this.injectionOffsets=e,this.injectionOptions=t,this.breakOffsets=i,this.breakOffsetsVisibleColumn=n,this.wrappedTextIndentLength=s}getOutputLineCount(){return this.breakOffsets.length}getMinOutputOffset(e){return e>0?this.wrappedTextIndentLength:0}getLineLength(e){let t=e>0?this.breakOffsets[e-1]:0,i=this.breakOffsets[e],n=i-t;return e>0&&(n+=this.wrappedTextIndentLength),n}getMaxOutputOffset(e){return this.getLineLength(e)}translateToInputOffset(e,t){e>0&&(t=Math.max(0,t-this.wrappedTextIndentLength));let i=0===e?t:this.breakOffsets[e-1]+t,n=i;if(null!==this.injectionOffsets)for(let e=0;ethis.injectionOffsets[e])n0?this.breakOffsets[s-1]:0,0===t){if(e<=o)n=s-1;else if(e>r)i=s+1;else break}else if(e=r)i=s+1;else break}let r=e-o;return s>0&&(r+=this.wrappedTextIndentLength),new iS(s,r)}normalizeOutputPosition(e,t,i){if(null!==this.injectionOffsets){let n=this.outputPositionToOffsetInInputWithInjections(e,t),s=this.normalizeOffsetInInputWithInjectionsAroundInjections(n,i);if(s!==n)return this.offsetInInputWithInjectionsToOutputPosition(s,i)}if(0===i){if(e>0&&t===this.getMinOutputOffset(e))return new iS(e-1,this.getMaxOutputOffset(e-1))}else if(1===i){let i=this.getOutputLineCount()-1;if(e0&&(t=Math.max(0,t-this.wrappedTextIndentLength));let i=(e>0?this.breakOffsets[e-1]:0)+t;return i}normalizeOffsetInInputWithInjectionsAroundInjections(e,t){let i=this.getInjectedTextAtOffset(e);if(!i)return e;if(2===t){if(e===i.offsetInInputWithInjections+i.length&&iw(this.injectionOptions[i.injectedTextIndex].cursorStops))return i.offsetInInputWithInjections+i.length;{let e=i.offsetInInputWithInjections;if(iy(this.injectionOptions[i.injectedTextIndex].cursorStops))return e;let t=i.injectedTextIndex-1;for(;t>=0&&this.injectionOffsets[t]===this.injectionOffsets[i.injectedTextIndex]&&!iw(this.injectionOptions[t].cursorStops)&&(e-=this.injectionOptions[t].content.length,!iy(this.injectionOptions[t].cursorStops));)t--;return e}}if(1===t||4===t){let e=i.offsetInInputWithInjections+i.length,t=i.injectedTextIndex;for(;t+1=0&&this.injectionOffsets[t-1]===this.injectionOffsets[t];)e-=this.injectionOptions[t-1].content.length,t--;return e}(0,ib.vE)(t)}getInjectedText(e,t){let i=this.outputPositionToOffsetInInputWithInjections(e,t),n=this.getInjectedTextAtOffset(i);return n?{options:this.injectionOptions[n.injectedTextIndex]}:null}getInjectedTextAtOffset(e){let t=this.injectionOffsets,i=this.injectionOptions;if(null!==t){let n=0;for(let s=0;se)break;if(e<=l)return{injectedTextIndex:s,offsetInInputWithInjections:r,length:o};n+=o}}}}function iw(e){return null==e||e===tl.RM.Right||e===tl.RM.Both}function iy(e){return null==e||e===tl.RM.Left||e===tl.RM.Both}class iS{constructor(e,t){this.outputLineIndex=e,this.outputOffset=t}toString(){return`${this.outputLineIndex}:${this.outputOffset}`}toPosition(e){return new G.L(e+this.outputLineIndex,this.outputOffset+1)}}var iL=i(14706);let ik=(0,eG.Z)("domLineBreaksComputer",{createHTML:e=>e});class iD{static create(e){return new iD(new WeakRef(e))}constructor(e){this.targetWindow=e}createLineBreaksComputer(e,t,i,n,s){let o=[],r=[];return{addRequest:(e,t,i)=>{o.push(e),r.push(t)},finalize:()=>(function(e,t,i,n,s,o,r,l){var a;function d(e){let i=l[e];if(!i)return null;{let n=iL.gk.applyInjectedText(t[e],i),s=i.map(e=>e.options),o=i.map(e=>e.column-1);return new iC(o,s,[n.length],[],0)}}if(-1===s){let e=[];for(let i=0,n=t.length;ih?(r=0,a=0):d=h-e}}let u=s.substr(r),g=function(e,t,i,n,s,o){if(0!==o){let e=String(o);s.appendString('
    ');let r=e.length,l=t,a=0,d=[],h=[],u=0");for(let t=0;t"),d[t]=a,h[t]=l;let n=u;u=t+1"),d[e.length]=a,h[e.length]=l,s.appendString("
    "),[d,h]}(u,a,n,d,p,c);m[e]=r,f[e]=a,_[e]=u,b[e]=g[0],C[e]=g[1]}let w=p.build(),y=null!==(a=null==ik?void 0:ik.createHTML(w))&&void 0!==a?a:w;g.innerHTML=y,g.style.position="absolute",g.style.top="10000","keepAll"===r?(g.style.wordBreak="keep-all",g.style.overflowWrap="anywhere"):(g.style.wordBreak="inherit",g.style.overflowWrap="break-word"),e.document.body.appendChild(g);let S=document.createRange(),L=Array.prototype.slice.call(g.children,0),k=[];for(let e=0;e=Math.abs(o[0].top-l[0].top)))return;if(s+1===r){a.push(r);return}let d=s+(r-s)/2|0,h=ix(t,i,n[d],n[d+1]);e(t,i,n,s,o,d,h,a),e(t,i,n,d,h,r,l,a)}(e,s,n,0,null,i.length-1,null,o)}catch(e){return console.log(e),null}return 0===o.length?null:(o.push(i.length),o)}(S,n,_[e],b[e]);if(null===s){k[e]=d(e);continue}let o=m[e],r=f[e]+u,a=C[e],h=[];for(let e=0,t=s.length;ee.options),i=c.map(e=>e.column-1)):(t=null,i=null),k[e]=new iC(i,t,s,h,r)}return e.document.body.removeChild(g),k})((0,tf.cW)(this.targetWindow.deref()),o,e,t,i,n,s,r)}}}function ix(e,t,i,n){return e.setStart(t[i/16384|0].firstChild,i%16384),e.setEnd(t[n/16384|0].firstChild,n%16384),e.getClientRects()}class iN extends f.JT{constructor(){super(),this._editor=null,this._instantiationService=null,this._instances=this._register(new f.b2),this._pending=new Map,this._finishedInstantiation=[],this._finishedInstantiation[0]=!1,this._finishedInstantiation[1]=!1,this._finishedInstantiation[2]=!1,this._finishedInstantiation[3]=!1}initialize(e,t,i){for(let n of(this._editor=e,this._instantiationService=i,t)){if(this._pending.has(n.id)){(0,p.dL)(Error(`Cannot have two contributions with the same id ${n.id}`));continue}this._pending.set(n.id,n)}this._instantiateSome(0),this._register((0,g.se)((0,g.Jj)(this._editor.getDomNode()),()=>{this._instantiateSome(1)})),this._register((0,g.se)((0,g.Jj)(this._editor.getDomNode()),()=>{this._instantiateSome(2)})),this._register((0,g.se)((0,g.Jj)(this._editor.getDomNode()),()=>{this._instantiateSome(3)},5e3))}saveViewState(){let e={};for(let[t,i]of this._instances)"function"==typeof i.saveViewState&&(e[t]=i.saveViewState());return e}restoreViewState(e){for(let[t,i]of this._instances)"function"==typeof i.restoreViewState&&i.restoreViewState(e[t])}get(e){return this._instantiateById(e),this._instances.get(e)||null}onBeforeInteractionEvent(){this._instantiateSome(2)}onAfterModelAttached(){var e;return(0,g.se)((0,g.Jj)(null===(e=this._editor)||void 0===e?void 0:e.getDomNode()),()=>{this._instantiateSome(1)},50)}_instantiateSome(e){if(this._finishedInstantiation[e])return;this._finishedInstantiation[e]=!0;let t=this._findPendingContributionsByInstantiation(e);for(let e of t)this._instantiateById(e.id)}_findPendingContributionsByInstantiation(e){let t=[];for(let[,i]of this._pending)i.instantiation===e&&t.push(i);return t}_instantiateById(e){let t=this._pending.get(e);if(t){if(this._pending.delete(e),!this._instantiationService||!this._editor)throw Error("Cannot instantiate contributions before being initialized!");try{let e=this._instantiationService.createInstance(t.ctor,this._editor);this._instances.set(t.id,e),"function"==typeof e.restoreViewState&&0!==t.instantiation&&console.warn(`Editor contribution '${t.id}' should be eager instantiated because it uses saveViewState / restoreViewState.`)}catch(e){(0,p.dL)(e)}}}}var iE=i(92896),iI=i(30653),iT=i(96518),iM=i(29102),iR=i(4256),iA=i(84901),iP=i(71922),iO=i(44906);class iF{static create(e){return new iF(e.get(134),e.get(133))}constructor(e,t){this.classifier=new iB(e,t)}createLineBreaksComputer(e,t,i,n,s){let o=[],r=[],l=[];return{addRequest:(e,t,i)=>{o.push(e),r.push(t),l.push(i)},finalize:()=>{let a=e.typicalFullwidthCharacterWidth/e.typicalHalfwidthCharacterWidth,d=[];for(let e=0,h=o.length;e0?(a=i.map(e=>e.options),d=i.map(e=>e.column-1)):(a=null,d=null),-1===s)return a?new iC(d,a,[h.length],[],0):null;let u=h.length;if(u<=1)return a?new iC(d,a,[h.length],[],0):null;let c="keepAll"===l,g=iK(h,n,s,o,r),p=s-g,m=[],f=[],_=0,v=0,b=0,C=s,w=h.charCodeAt(0),y=e.get(w),S=iV(w,0,n,o),L=1;ex.ZG(w)&&(S+=1,w=h.charCodeAt(1),y=e.get(w),L++);for(let t=L;tC&&((0===v||S-b>p)&&(v=r,b=S-s),m[_]=v,f[_]=b,_++,C=b+p,v=0),w=l,y=i}return 0!==_||i&&0!==i.length?(m[_]=u,f[_]=S,new iC(d,a,m,f,g)):null}(this.classifier,o[e],h,t,i,a,n,s):d[e]=function(e,t,i,n,s,o,r,l){if(-1===s)return null;let a=i.length;if(a<=1)return null;let d="keepAll"===l,h=t.breakOffsets,u=t.breakOffsetsVisibleColumn,c=iK(i,n,s,o,r),g=s-c,p=iW,m=iH,f=0,_=0,v=0,b=s,C=h.length,w=0;{let e=Math.abs(u[w]-b);for(;w+1=e)break;e=t,w++}}for(;wt&&(t=_,s=v);let r=0,l=0,c=0,y=0;if(s<=b){let v=s,C=0===t?0:i.charCodeAt(t-1),w=0===t?0:e.get(C),S=!0;for(let s=t;s_&&iz(C,w,u,t,d)&&(r=h,l=v),(v+=a)>b){h>_?(c=h,y=v-a):(c=s+1,y=v),v-l>g&&(r=0),S=!1;break}C=u,w=t}if(S){f>0&&(p[f]=h[h.length-1],m[f]=u[h.length-1],f++);break}}if(0===r){let a=s,h=i.charCodeAt(t),u=e.get(h),p=!1;for(let n=t-1;n>=_;n--){let t,s;let m=n+1,f=i.charCodeAt(n);if(9===f){p=!0;break}if(ex.YK(f)?(n--,t=0,s=2):(t=e.get(f),s=ex.K7(f)?o:1),a<=b){if(0===c&&(c=m,y=a),a<=b-g)break;if(iz(f,t,h,u,d)){r=m,l=a;break}}a-=s,h=f,u=t}if(0!==r){let e=g-(y-l);if(e<=n){let t=i.charCodeAt(c);e-(ex.ZG(t)?2:iV(t,y,n,o))<0&&(r=0)}}if(p){w--;continue}}if(0===r&&(r=c,l=y),r<=_){let e=i.charCodeAt(_);ex.ZG(e)?(r=_+2,l=v+2):(r=_+1,l=v+iV(e,v,n,o))}for(_=r,p[f]=r,v=l,m[f]=l,f++,b=l+g;w<0||w=S)break;S=e,w++}}return 0===f?null:(p.length=f,m.length=f,iW=t.breakOffsets,iH=t.breakOffsetsVisibleColumn,t.breakOffsets=p,t.breakOffsetsVisibleColumn=m,t.wrappedTextIndentLength=c,t)}(this.classifier,u,o[e],t,i,a,n,s)}return iW.length=0,iH.length=0,d}}}}class iB extends iO.N{constructor(e,t){super(0);for(let t=0;t=0&&e<256?this._asciiMap[e]:e>=12352&&e<=12543||e>=13312&&e<=19903||e>=19968&&e<=40959?3:this._map.get(e)||this._defaultValue}}let iW=[],iH=[];function iV(e,t,i,n){return 9===e?i-t%i:ex.K7(e)||e<32?n:1}function iz(e,t,i,n,s){return 32!==i&&(2===t&&2!==n||1!==t&&1===n||!s&&3===t&&2!==n||!s&&3===n&&1!==t)}function iK(e,t,i,n,s){let o=0;if(0!==s){let r=ex.LC(e);if(-1!==r){for(let i=0;ii&&(o=0)}}return o}var iU=i(35534),i$=i(55343);class iq{constructor(e){this._selTrackedRange=null,this._trackSelection=!0,this._setState(e,new i$.rS(new Q.e(1,1,1,1),0,0,new G.L(1,1),0),new i$.rS(new Q.e(1,1,1,1),0,0,new G.L(1,1),0))}dispose(e){this._removeTrackedRange(e)}startTrackingSelection(e){this._trackSelection=!0,this._updateTrackedRange(e)}stopTrackingSelection(e){this._trackSelection=!1,this._removeTrackedRange(e)}_updateTrackedRange(e){this._trackSelection&&(this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))}_removeTrackedRange(e){this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,null,0)}asCursorState(){return new i$.Vi(this.modelState,this.viewState)}readSelectionFromMarkers(e){let t=e.model._getTrackedRange(this._selTrackedRange);return this.modelState.selection.isEmpty()&&!t.isEmpty()?em.Y.fromRange(t.collapseToEnd(),this.modelState.selection.getDirection()):em.Y.fromRange(t,this.modelState.selection.getDirection())}ensureValidState(e){this._setState(e,this.modelState,this.viewState)}setState(e,t,i){this._setState(e,t,i)}static _validatePositionWithCache(e,t,i,n){return t.equals(i)?n:e.normalizePosition(t,2)}static _validateViewState(e,t){let i=t.position,n=t.selectionStart.getStartPosition(),s=t.selectionStart.getEndPosition(),o=e.normalizePosition(i,2),r=this._validatePositionWithCache(e,n,i,o),l=this._validatePositionWithCache(e,s,n,r);return i.equals(o)&&n.equals(r)&&s.equals(l)?t:new i$.rS(Q.e.fromPositions(r,l),t.selectionStartKind,t.selectionStartLeftoverVisibleColumns+n.column-r.column,o,t.leftoverVisibleColumns+i.column-o.column)}_setState(e,t,i){if(i&&(i=iq._validateViewState(e.viewModel,i)),t){let i=e.model.validateRange(t.selectionStart),n=t.selectionStart.equalsRange(i)?t.selectionStartLeftoverVisibleColumns:0,s=e.model.validatePosition(t.position),o=t.position.equals(s)?t.leftoverVisibleColumns:0;t=new i$.rS(i,t.selectionStartKind,n,s,o)}else{if(!i)return;let n=e.model.validateRange(e.coordinatesConverter.convertViewRangeToModelRange(i.selectionStart)),s=e.model.validatePosition(e.coordinatesConverter.convertViewPositionToModelPosition(i.position));t=new i$.rS(n,i.selectionStartKind,i.selectionStartLeftoverVisibleColumns,s,i.leftoverVisibleColumns)}if(i){let n=e.coordinatesConverter.validateViewRange(i.selectionStart,t.selectionStart),s=e.coordinatesConverter.validateViewPosition(i.position,t.position);i=new i$.rS(n,t.selectionStartKind,t.selectionStartLeftoverVisibleColumns,s,t.leftoverVisibleColumns)}else{let n=e.coordinatesConverter.convertModelPositionToViewPosition(new G.L(t.selectionStart.startLineNumber,t.selectionStart.startColumn)),s=e.coordinatesConverter.convertModelPositionToViewPosition(new G.L(t.selectionStart.endLineNumber,t.selectionStart.endColumn)),o=new Q.e(n.lineNumber,n.column,s.lineNumber,s.column),r=e.coordinatesConverter.convertModelPositionToViewPosition(t.position);i=new i$.rS(o,t.selectionStartKind,t.selectionStartLeftoverVisibleColumns,r,t.leftoverVisibleColumns)}this.modelState=t,this.viewState=i,this._updateTrackedRange(e)}}class ij{constructor(e){this.context=e,this.cursors=[new iq(e)],this.lastAddedCursorIndex=0}dispose(){for(let e of this.cursors)e.dispose(this.context)}startTrackingSelections(){for(let e of this.cursors)e.startTrackingSelection(this.context)}stopTrackingSelections(){for(let e of this.cursors)e.stopTrackingSelection(this.context)}updateContext(e){this.context=e}ensureValidState(){for(let e of this.cursors)e.ensureValidState(this.context)}readSelectionFromMarkers(){return this.cursors.map(e=>e.readSelectionFromMarkers(this.context))}getAll(){return this.cursors.map(e=>e.asCursorState())}getViewPositions(){return this.cursors.map(e=>e.viewState.position)}getTopMostViewPosition(){return(0,iU.vm)(this.cursors,(0,C.tT)(e=>e.viewState.position,G.L.compare)).viewState.position}getBottomMostViewPosition(){return(0,iU.BS)(this.cursors,(0,C.tT)(e=>e.viewState.position,G.L.compare)).viewState.position}getSelections(){return this.cursors.map(e=>e.modelState.selection)}getViewSelections(){return this.cursors.map(e=>e.viewState.selection)}setSelections(e){this.setStates(i$.Vi.fromModelSelections(e))}getPrimaryCursor(){return this.cursors[0].asCursorState()}setStates(e){null!==e&&(this.cursors[0].setState(this.context,e[0].modelState,e[0].viewState),this._setSecondaryStates(e.slice(1)))}_setSecondaryStates(e){let t=this.cursors.length-1,i=e.length;if(ti){let e=t-i;for(let t=0;t=e+1&&this.lastAddedCursorIndex--,this.cursors[e+1].dispose(this.context),this.cursors.splice(e+1,1)}normalize(){if(1===this.cursors.length)return;let e=this.cursors.slice(0),t=[];for(let i=0,n=e.length;ie.selection,Q.e.compareRangesUsingStarts));for(let i=0;il&&e.index--;e.splice(l,1),t.splice(r,1),this._removeSecondaryCursor(l-1),i--}}}}class iG{constructor(e,t,i,n){this._cursorContextBrand=void 0,this.model=e,this.viewModel=t,this.coordinatesConverter=i,this.cursorConfig=n}}var iQ=i(29436),iZ=i(94729);class iY{constructor(){this.type=0}}class iJ{constructor(){this.type=1}}class iX{constructor(e){this.type=2,this._source=e}hasChanged(e){return this._source.hasChanged(e)}}class i0{constructor(e,t,i){this.selections=e,this.modelSelections=t,this.reason=i,this.type=3}}class i1{constructor(e){this.type=4,e?(this.affectsMinimap=e.affectsMinimap,this.affectsOverviewRuler=e.affectsOverviewRuler,this.affectsGlyphMargin=e.affectsGlyphMargin,this.affectsLineNumber=e.affectsLineNumber):(this.affectsMinimap=!0,this.affectsOverviewRuler=!0,this.affectsGlyphMargin=!0,this.affectsLineNumber=!0)}}class i2{constructor(){this.type=5}}class i5{constructor(e){this.type=6,this.isFocused=e}}class i4{constructor(){this.type=7}}class i3{constructor(){this.type=8}}class i6{constructor(e,t){this.fromLineNumber=e,this.count=t,this.type=9}}class i9{constructor(e,t){this.type=10,this.fromLineNumber=e,this.toLineNumber=t}}class i7{constructor(e,t){this.type=11,this.fromLineNumber=e,this.toLineNumber=t}}class i8{constructor(e,t,i,n,s,o,r){this.source=e,this.minimalReveal=t,this.range=i,this.selections=n,this.verticalType=s,this.revealHorizontal=o,this.scrollType=r,this.type=12}}class ne{constructor(e){this.type=13,this.scrollWidth=e.scrollWidth,this.scrollLeft=e.scrollLeft,this.scrollHeight=e.scrollHeight,this.scrollTop=e.scrollTop,this.scrollWidthChanged=e.scrollWidthChanged,this.scrollLeftChanged=e.scrollLeftChanged,this.scrollHeightChanged=e.scrollHeightChanged,this.scrollTopChanged=e.scrollTopChanged}}class nt{constructor(e){this.theme=e,this.type=14}}class ni{constructor(e){this.type=15,this.ranges=e}}class nn{constructor(){this.type=16}}class ns{constructor(){this.type=17}}class no extends f.JT{constructor(){super(),this._onEvent=this._register(new m.Q5),this.onEvent=this._onEvent.event,this._eventHandlers=[],this._viewEventQueue=null,this._isConsumingViewEventQueue=!1,this._collector=null,this._collectorCnt=0,this._outgoingEvents=[]}emitOutgoingEvent(e){this._addOutgoingEvent(e),this._emitOutgoingEvents()}_addOutgoingEvent(e){for(let t=0,i=this._outgoingEvents.length;t0;){if(this._collector||this._isConsumingViewEventQueue)return;let e=this._outgoingEvents.shift();e.isNoOp()||this._onEvent.fire(e)}}addViewEventHandler(e){for(let t=0,i=this._eventHandlers.length;t0&&this._emitMany(t)}this._emitOutgoingEvents()}emitSingleViewEvent(e){try{let t=this.beginEmitViewEvents();t.emitViewEvent(e)}finally{this.endEmitViewEvents()}}_emitMany(e){this._viewEventQueue?this._viewEventQueue=this._viewEventQueue.concat(e):this._viewEventQueue=e,this._isConsumingViewEventQueue||this._consumeViewEventQueue()}_consumeViewEventQueue(){try{this._isConsumingViewEventQueue=!0,this._doConsumeQueue()}finally{this._isConsumingViewEventQueue=!1}}_doConsumeQueue(){for(;this._viewEventQueue;){let e=this._viewEventQueue;this._viewEventQueue=null;let t=this._eventHandlers.slice(0);for(let i of t)i.handleEvents(e)}}}class nr{constructor(){this.viewEvents=[],this.outgoingEvents=[]}emitViewEvent(e){this.viewEvents.push(e)}emitOutgoingEvent(e){this.outgoingEvents.push(e)}}class nl{constructor(e,t,i,n){this.kind=0,this._oldContentWidth=e,this._oldContentHeight=t,this.contentWidth=i,this.contentHeight=n,this.contentWidthChanged=this._oldContentWidth!==this.contentWidth,this.contentHeightChanged=this._oldContentHeight!==this.contentHeight}isNoOp(){return!this.contentWidthChanged&&!this.contentHeightChanged}attemptToMerge(e){return e.kind!==this.kind?null:new nl(this._oldContentWidth,this._oldContentHeight,e.contentWidth,e.contentHeight)}}class na{constructor(e,t){this.kind=1,this.oldHasFocus=e,this.hasFocus=t}isNoOp(){return this.oldHasFocus===this.hasFocus}attemptToMerge(e){return e.kind!==this.kind?null:new na(this.oldHasFocus,e.hasFocus)}}class nd{constructor(e,t,i,n,s,o,r,l){this.kind=2,this._oldScrollWidth=e,this._oldScrollLeft=t,this._oldScrollHeight=i,this._oldScrollTop=n,this.scrollWidth=s,this.scrollLeft=o,this.scrollHeight=r,this.scrollTop=l,this.scrollWidthChanged=this._oldScrollWidth!==this.scrollWidth,this.scrollLeftChanged=this._oldScrollLeft!==this.scrollLeft,this.scrollHeightChanged=this._oldScrollHeight!==this.scrollHeight,this.scrollTopChanged=this._oldScrollTop!==this.scrollTop}isNoOp(){return!this.scrollWidthChanged&&!this.scrollLeftChanged&&!this.scrollHeightChanged&&!this.scrollTopChanged}attemptToMerge(e){return e.kind!==this.kind?null:new nd(this._oldScrollWidth,this._oldScrollLeft,this._oldScrollHeight,this._oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop)}}class nh{constructor(){this.kind=3}isNoOp(){return!1}attemptToMerge(e){return e.kind!==this.kind?null:this}}class nu{constructor(){this.kind=4}isNoOp(){return!1}attemptToMerge(e){return e.kind!==this.kind?null:this}}class nc{constructor(e,t,i,n,s,o,r){this.kind=6,this.oldSelections=e,this.selections=t,this.oldModelVersionId=i,this.modelVersionId=n,this.source=s,this.reason=o,this.reachedMaxCursorCount=r}static _selectionsAreEqual(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;let i=e.length,n=t.length;if(i!==n)return!1;for(let n=0;n0){let e=this._cursors.getSelections();for(let t=0;to&&(n=n.slice(0,o),s=!0);let r=nw.from(this._model,this);return this._cursors.setStates(n),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,t,i,r,s)}setCursorColumnSelectData(e){this._columnSelectData=e}revealAll(e,t,i,n,s,o){let r=this._cursors.getViewPositions(),l=null,a=null;r.length>1?a=this._cursors.getViewSelections():l=Q.e.fromPositions(r[0],r[0]),e.emitViewEvent(new i8(t,i,l,a,n,s,o))}revealPrimary(e,t,i,n,s,o){let r=this._cursors.getPrimaryCursor(),l=[r.viewState.selection];e.emitViewEvent(new i8(t,i,null,l,n,s,o))}saveState(){let e=[],t=this._cursors.getSelections();for(let i=0,n=t.length;i0){let t=i$.Vi.fromModelSelections(i.resultingSelection);this.setStates(e,"modelChange",i.isUndoing?5:i.isRedoing?6:2,t)&&this.revealAll(e,"modelChange",!1,0,!0,0)}else{let t=this._cursors.readSelectionFromMarkers();this.setStates(e,"modelChange",2,i$.Vi.fromModelSelections(t))}}}getSelection(){return this._cursors.getPrimaryCursor().modelState.selection}getTopMostViewPosition(){return this._cursors.getTopMostViewPosition()}getBottomMostViewPosition(){return this._cursors.getBottomMostViewPosition()}getCursorColumnSelectData(){if(this._columnSelectData)return this._columnSelectData;let e=this._cursors.getPrimaryCursor(),t=e.viewState.selectionStart.getStartPosition(),i=e.viewState.position;return{isReal:!1,fromViewLineNumber:t.lineNumber,fromViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,t),toViewLineNumber:i.lineNumber,toViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,i)}}getSelections(){return this._cursors.getSelections()}setSelections(e,t,i,n){this.setStates(e,t,n,i$.Vi.fromModelSelections(i))}getPrevEditOperationType(){return this._prevEditOperationType}setPrevEditOperationType(e){this._prevEditOperationType=e}_pushAutoClosedAction(e,t){let i=[],n=[];for(let s=0,o=e.length;s0&&this._pushAutoClosedAction(i,n),this._prevEditOperationType=e.type}e.shouldPushStackElementAfter&&this._model.pushStackElement()}_interpretCommandResult(e){e&&0!==e.length||(e=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(e),this._cursors.normalize()}_emitStateChangedIfNecessary(e,t,i,n,s){let o=nw.from(this._model,this);if(o.equals(n))return!1;let r=this._cursors.getSelections(),l=this._cursors.getViewSelections();if(e.emitViewEvent(new i0(l,r,i)),!n||n.cursorState.length!==o.cursorState.length||o.cursorState.some((e,t)=>!e.modelState.equals(n.cursorState[t].modelState))){let l=n?n.cursorState.map(e=>e.modelState.selection):null,a=n?n.modelVersionId:0;e.emitOutgoingEvent(new nc(l,r,a,o.modelVersionId,t||"keyboard",i,s))}return!0}_findAutoClosingPairs(e){if(!e.length)return null;let t=[];for(let i=0,n=e.length;i=0)return null;let s=n.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!s)return null;let o=s[1],r=this.context.cursorConfig.autoClosingPairs.autoClosingPairsCloseSingleChar.get(o);if(!r||1!==r.length)return null;let l=r[0].open,a=n.text.length-s[2].length-1,d=n.text.lastIndexOf(l,a-1);if(-1===d)return null;t.push([d,a])}return t}executeEdits(e,t,i,n){let s=null;"snippet"===t&&(s=this._findAutoClosingPairs(i)),s&&(i[0]._isTracked=!0);let o=[],r=[],l=this._model.pushEditOperations(this.getSelections(),i,e=>{if(s)for(let t=0,i=s.length;t0&&this._pushAutoClosedAction(o,r)}_executeEdit(e,t,i,n=0){if(this.context.cursorConfig.readOnly)return;let s=nw.from(this._model,this);this._cursors.stopTrackingSelections(),this._isHandling=!0;try{this._cursors.ensureValidState(),e()}catch(e){(0,p.dL)(e)}this._isHandling=!1,this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(t,i,n,s,!1)&&this.revealAll(t,i,!1,0,!0,0)}getAutoClosedCharacters(){return ny.getAllAutoClosedCharacters(this._autoClosedActions)}startComposition(e){this._compositionState=new nk(this._model,this.getSelections())}endComposition(e,t){let i=this._compositionState?this._compositionState.deduceOutcome(this._model,this.getSelections()):null;this._compositionState=null,this._executeEdit(()=>{"keyboard"===t&&this._executeEditOperation(iZ.u6.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,i,this.getSelections(),this.getAutoClosedCharacters()))},e,t)}type(e,t,i){this._executeEdit(()=>{if("keyboard"===i){let e=t.length,i=0;for(;i{let t=e.getPosition();return new em.Y(t.lineNumber,t.column+s,t.lineNumber,t.column+s)});this.setSelections(e,o,t,0)}return}this._executeEdit(()=>{this._executeEditOperation(iZ.u6.compositionType(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t,i,n,s))},e,o)}paste(e,t,i,n,s){this._executeEdit(()=>{this._executeEditOperation(iZ.u6.paste(this.context.cursorConfig,this._model,this.getSelections(),t,i,n||[]))},e,s,4)}cut(e,t){this._executeEdit(()=>{this._executeEditOperation(iQ.A.cut(this.context.cursorConfig,this._model,this.getSelections()))},e,t)}executeCommand(e,t,i){this._executeEdit(()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new i$.Tp(0,[t],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,i)}executeCommands(e,t,i){this._executeEdit(()=>{this._executeEditOperation(new i$.Tp(0,t,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,i)}}class nw{static from(e,t){return new nw(e.getVersionId(),t.getCursorStates())}constructor(e,t){this.modelVersionId=e,this.cursorState=t}equals(e){if(!e||this.modelVersionId!==e.modelVersionId||this.cursorState.length!==e.cursorState.length)return!1;for(let t=0,i=this.cursorState.length;t=t.length||!t[i].strictContainsRange(e[i]))return!1;return!0}}class nS{static executeCommands(e,t,i){let n={model:e,selectionsBefore:t,trackedRanges:[],trackedRangesDirection:[]},s=this._innerExecuteCommands(n,i);for(let e=0,t=n.trackedRanges.length;e0&&(o[0]._isTracked=!0);let r=e.model.pushEditOperations(e.selectionsBefore,o,i=>{let n=[];for(let t=0;te.identifier.minor-t.identifier.minor,o=[];for(let i=0;i0?(n[i].sort(s),o[i]=t[i].computeCursorState(e.model,{getInverseEditOperations:()=>n[i],getTrackedSelection:t=>{let i=parseInt(t,10),n=e.model._getTrackedRange(e.trackedRanges[i]);return 0===e.trackedRangesDirection[i]?new em.Y(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn):new em.Y(n.endLineNumber,n.endColumn,n.startLineNumber,n.startColumn)}})):o[i]=e.selectionsBefore[i];return o});r||(r=e.selectionsBefore);let l=[];for(let e in s)s.hasOwnProperty(e)&&l.push(parseInt(e,10));for(let e of(l.sort((e,t)=>t-e),l))r.splice(e,1);return r}static _arrayIsEmpty(e){for(let t=0,i=e.length;t{Q.e.isEmpty(e)&&""===o||n.push({identifier:{major:t,minor:s++},range:e,text:o,forceMoveMarkers:r,isAutoWhitespaceEdit:i.insertsAutoWhitespace})},r=!1;try{i.getEditOperations(e.model,{addEditOperation:o,addTrackedEditOperation:(e,t,i)=>{r=!0,o(e,t,i)},trackSelection:(t,i)=>{let n;let s=em.Y.liftSelection(t);if(s.isEmpty()){if("boolean"==typeof i)n=i?2:3;else{let t=e.model.getLineMaxColumn(s.startLineNumber);n=s.startColumn===t?2:3}}else n=1;let o=e.trackedRanges.length,r=e.model._setTrackedRange(null,s,n);return e.trackedRanges[o]=r,e.trackedRangesDirection[o]=s.getDirection(),o.toString()}})}catch(e){return(0,p.dL)(e),{operations:[],hadTrackedEditOperation:!1}}return{operations:n,hadTrackedEditOperation:r}}static _getLoserCursorMap(e){(e=e.slice(0)).sort((e,t)=>-Q.e.compareRangesUsingEnds(e.range,t.range));let t={};for(let i=1;is.identifier.major?n.identifier.major:s.identifier.major).toString()]=!0;for(let t=0;t0&&i--}}return t}}class nL{constructor(e,t,i){this.text=e,this.startSelection=t,this.endSelection=i}}class nk{static _capture(e,t){let i=[];for(let n of t){if(n.startLineNumber!==n.endLineNumber)return null;i.push(new nL(e.getLineContent(n.startLineNumber),n.startColumn-1,n.endColumn-1))}return i}constructor(e,t){this._original=nk._capture(e,t)}deduceOutcome(e,t){if(!this._original)return null;let i=nk._capture(e,t);if(!i||this._original.length!==i.length)return null;let n=[];for(let e=0,t=this._original.length;e>>1;t===e[o].afterLineNumber?i{t=!0,e|=0,i|=0,n|=0,s|=0;let o=this._instanceId+ ++this._lastWhitespaceId;return this._pendingChanges.insert(new nI(o,e,i,n,s)),o},changeOneWhitespace:(e,i,n)=>{t=!0,i|=0,n|=0,this._pendingChanges.change({id:e,newAfterLineNumber:i,newHeight:n})},removeWhitespace:e=>{t=!0,this._pendingChanges.remove({id:e})}};e(i)}finally{this._pendingChanges.commit(this)}return t}_commitPendingChanges(e,t,i){if((e.length>0||i.length>0)&&(this._minWidth=-1),e.length+t.length+i.length<=1){for(let t of e)this._insertWhitespace(t);for(let e of t)this._changeOneWhitespace(e.id,e.newAfterLineNumber,e.newHeight);for(let e of i){let t=this._findWhitespaceIndex(e.id);-1!==t&&this._removeWhitespace(t)}return}let n=new Set;for(let e of i)n.add(e.id);let s=new Map;for(let e of t)s.set(e.id,e);let o=e=>{let t=[];for(let i of e)if(!n.has(i.id)){if(s.has(i.id)){let e=s.get(i.id);i.afterLineNumber=e.newAfterLineNumber,i.height=e.newHeight}t.push(i)}return t},r=o(this._arr).concat(o(e));r.sort((e,t)=>e.afterLineNumber===t.afterLineNumber?e.ordinal-t.ordinal:e.afterLineNumber-t.afterLineNumber),this._arr=r,this._prefixSumValidIndex=-1}_checkPendingChanges(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}_insertWhitespace(e){let t=nT.findInsertionIndex(this._arr,e.afterLineNumber,e.ordinal);this._arr.splice(t,0,e),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,t-1)}_findWhitespaceIndex(e){let t=this._arr;for(let i=0,n=t.length;it&&(this._arr[i].afterLineNumber-=t-e+1)}}onLinesInserted(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount+=t-e+1;for(let i=0,n=this._arr.length;i=t.length||t[r+1].afterLineNumber>=e)return r;i=r+1|0}else n=r-1|0}return -1}_findFirstWhitespaceAfterLineNumber(e){e|=0;let t=this._findLastWhitespaceBeforeLineNumber(e),i=t+1;return i1?this._lineHeight*(e-1):0;let n=this.getWhitespaceAccumulatedHeightBeforeLineNumber(e-(t?1:0));return i+n+this._paddingTop}getVerticalOffsetAfterLineNumber(e,t=!1){this._checkPendingChanges(),e|=0;let i=this._lineHeight*e,n=this.getWhitespaceAccumulatedHeightBeforeLineNumber(e+(t?1:0));return i+n+this._paddingTop}getWhitespaceMinWidth(){if(this._checkPendingChanges(),-1===this._minWidth){let e=0;for(let t=0,i=this._arr.length;tt}isInTopPadding(e){return 0!==this._paddingTop&&(this._checkPendingChanges(),e=t-this._paddingBottom}getLineNumberAtOrAfterVerticalOffset(e){if(this._checkPendingChanges(),(e|=0)<0)return 1;let t=0|this._lineCount,i=this._lineHeight,n=1,s=t;for(;n=o+i)n=t+1;else{if(e>=o)return t;s=t}}return n>t?t:n}getLinesViewportData(e,t){let i,n;this._checkPendingChanges(),e|=0,t|=0;let s=this._lineHeight,o=0|this.getLineNumberAtOrAfterVerticalOffset(e),r=0|this.getVerticalOffsetForLineNumber(o),l=0|this._lineCount,a=0|this.getFirstWhitespaceIndexAfterLineNumber(o),d=0|this.getWhitespacesCount();-1===a?(a=d,n=l+1,i=0):(n=0|this.getAfterLineNumberForWhitespaceIndex(a),i=0|this.getHeightForWhitespaceIndex(a));let h=r,u=h,c=0;r>=5e5&&(u-=c=Math.floor((c=5e5*Math.floor(r/5e5))/s)*s);let g=[],p=e+(t-e)/2,m=-1;for(let e=o;e<=l;e++){if(-1===m){let t=h,i=h+s;(t<=p&&pp)&&(m=e)}for(h+=s,g[e-o]=u,u+=s;n===e;)u+=i,h+=i,++a>=d?n=l+1:(n=0|this.getAfterLineNumberForWhitespaceIndex(a),i=0|this.getHeightForWhitespaceIndex(a));if(h>=t){l=e;break}}-1===m&&(m=l);let f=0|this.getVerticalOffsetForLineNumber(l),_=o,v=l;return _t&&v--,{bigNumbersDelta:c,startLineNumber:o,endLineNumber:l,relativeVerticalOffset:g,centeredLineNumber:m,completelyVisibleStartLineNumber:_,completelyVisibleEndLineNumber:v,lineHeight:this._lineHeight}}getVerticalOffsetForWhitespaceIndex(e){this._checkPendingChanges(),e|=0;let t=this.getAfterLineNumberForWhitespaceIndex(e);return(t>=1?this._lineHeight*t:0)+(e>0?this.getWhitespacesAccumulatedHeight(e-1):0)+this._paddingTop}getWhitespaceIndexAtOrAfterVerticallOffset(e){this._checkPendingChanges(),e|=0;let t=0,i=this.getWhitespacesCount()-1;if(i<0)return -1;let n=this.getVerticalOffsetForWhitespaceIndex(i),s=this.getHeightForWhitespaceIndex(i);if(e>=n+s)return -1;for(;t=s+o)t=n+1;else{if(e>=s)return n;i=n}}return t}getWhitespaceAtVerticalOffset(e){this._checkPendingChanges(),e|=0;let t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(t<0||t>=this.getWhitespacesCount())return null;let i=this.getVerticalOffsetForWhitespaceIndex(t);if(i>e)return null;let n=this.getHeightForWhitespaceIndex(t),s=this.getIdForWhitespaceIndex(t),o=this.getAfterLineNumberForWhitespaceIndex(t);return{id:s,afterLineNumber:o,verticalOffset:i,height:n}}getWhitespaceViewportData(e,t){this._checkPendingChanges(),e|=0,t|=0;let i=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),n=this.getWhitespacesCount()-1;if(i<0)return[];let s=[];for(let e=i;e<=n;e++){let i=this.getVerticalOffsetForWhitespaceIndex(e),n=this.getHeightForWhitespaceIndex(e);if(i>=t)break;s.push({id:this.getIdForWhitespaceIndex(e),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(e),verticalOffset:i,height:n})}return s}getWhitespaces(){return this._checkPendingChanges(),this._arr.slice(0)}getWhitespacesCount(){return this._checkPendingChanges(),this._arr.length}getIdForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].id}getAfterLineNumberForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].afterLineNumber}getHeightForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].height}}nT.INSTANCE_COUNT=0;class nM{constructor(e,t,i,n){(e|=0)<0&&(e=0),(t|=0)<0&&(t=0),(i|=0)<0&&(i=0),(n|=0)<0&&(n=0),this.width=e,this.contentWidth=t,this.scrollWidth=Math.max(e,t),this.height=i,this.contentHeight=n,this.scrollHeight=Math.max(i,n)}equals(e){return this.width===e.width&&this.contentWidth===e.contentWidth&&this.height===e.height&&this.contentHeight===e.contentHeight}}class nR extends f.JT{constructor(e,t){super(),this._onDidContentSizeChange=this._register(new m.Q5),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._dimensions=new nM(0,0,0,0),this._scrollable=this._register(new nN.Rm({forceIntegerValues:!0,smoothScrollDuration:e,scheduleAtNextAnimationFrame:t})),this.onDidScroll=this._scrollable.onScroll}getScrollable(){return this._scrollable}setSmoothScrollDuration(e){this._scrollable.setSmoothScrollDuration(e)}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}getScrollDimensions(){return this._dimensions}setScrollDimensions(e){if(this._dimensions.equals(e))return;let t=this._dimensions;this._dimensions=e,this._scrollable.setScrollDimensions({width:e.width,scrollWidth:e.scrollWidth,height:e.height,scrollHeight:e.scrollHeight},!0);let i=t.contentWidth!==e.contentWidth,n=t.contentHeight!==e.contentHeight;(i||n)&&this._onDidContentSizeChange.fire(new nl(t.contentWidth,t.contentHeight,e.contentWidth,e.contentHeight))}getFutureScrollPosition(){return this._scrollable.getFutureScrollPosition()}getCurrentScrollPosition(){return this._scrollable.getCurrentScrollPosition()}setScrollPositionNow(e){this._scrollable.setScrollPositionNow(e)}setScrollPositionSmooth(e){this._scrollable.setScrollPositionSmooth(e)}hasPendingScrollAnimation(){return this._scrollable.hasPendingScrollAnimation()}}class nA extends f.JT{constructor(e,t,i){super(),this._configuration=e;let n=this._configuration.options,s=n.get(145),o=n.get(84);this._linesLayout=new nT(t,n.get(67),o.top,o.bottom),this._maxLineWidth=0,this._overlayWidgetsMinWidth=0,this._scrollable=this._register(new nR(0,i)),this._configureSmoothScrollDuration(),this._scrollable.setScrollDimensions(new nM(s.contentWidth,0,s.height,0)),this.onDidScroll=this._scrollable.onDidScroll,this.onDidContentSizeChange=this._scrollable.onDidContentSizeChange,this._updateHeight()}dispose(){super.dispose()}getScrollable(){return this._scrollable.getScrollable()}onHeightMaybeChanged(){this._updateHeight()}_configureSmoothScrollDuration(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(114)?125:0)}onConfigurationChanged(e){let t=this._configuration.options;if(e.hasChanged(67)&&this._linesLayout.setLineHeight(t.get(67)),e.hasChanged(84)){let e=t.get(84);this._linesLayout.setPadding(e.top,e.bottom)}if(e.hasChanged(145)){let e=t.get(145),i=e.contentWidth,n=e.height,s=this._scrollable.getScrollDimensions(),o=s.contentWidth;this._scrollable.setScrollDimensions(new nM(i,s.contentWidth,n,this._getContentHeight(i,n,o)))}else this._updateHeight();e.hasChanged(114)&&this._configureSmoothScrollDuration()}onFlushed(e){this._linesLayout.onFlushed(e)}onLinesDeleted(e,t){this._linesLayout.onLinesDeleted(e,t)}onLinesInserted(e,t){this._linesLayout.onLinesInserted(e,t)}_getHorizontalScrollbarHeight(e,t){let i=this._configuration.options,n=i.get(103);return 2===n.horizontal||e>=t?0:n.horizontalScrollbarSize}_getContentHeight(e,t,i){let n=this._configuration.options,s=this._linesLayout.getLinesTotalHeight();return n.get(105)?s+=Math.max(0,t-n.get(67)-n.get(84).bottom):n.get(103).ignoreHorizontalScrollbarInContentHeight||(s+=this._getHorizontalScrollbarHeight(e,i)),s}_updateHeight(){let e=this._scrollable.getScrollDimensions(),t=e.width,i=e.height,n=e.contentWidth;this._scrollable.setScrollDimensions(new nM(t,e.contentWidth,i,this._getContentHeight(t,i,n)))}getCurrentViewport(){let e=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new tM.l_(t.scrollTop,t.scrollLeft,e.width,e.height)}getFutureViewport(){let e=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new tM.l_(t.scrollTop,t.scrollLeft,e.width,e.height)}_computeContentWidth(){let e=this._configuration.options,t=this._maxLineWidth,i=e.get(146),n=e.get(50),s=e.get(145);if(i.isViewportWrapping){let i=e.get(73);return t>s.contentWidth+n.typicalHalfwidthCharacterWidth&&i.enabled&&"right"===i.side?t+s.verticalScrollbarWidth:t}{let i=e.get(104)*n.typicalHalfwidthCharacterWidth,o=this._linesLayout.getWhitespaceMinWidth();return Math.max(t+i+s.verticalScrollbarWidth,o,this._overlayWidgetsMinWidth)}}setMaxLineWidth(e){this._maxLineWidth=e,this._updateContentWidth()}setOverlayWidgetsMinWidth(e){this._overlayWidgetsMinWidth=e,this._updateContentWidth()}_updateContentWidth(){let e=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new nM(e.width,this._computeContentWidth(),e.height,e.contentHeight)),this._updateHeight()}saveState(){let e=this._scrollable.getFutureScrollPosition(),t=e.scrollTop,i=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t),n=this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(i);return{scrollTop:t,scrollTopWithoutViewZones:t-n,scrollLeft:e.scrollLeft}}changeWhitespace(e){let t=this._linesLayout.changeWhitespace(e);return t&&this.onHeightMaybeChanged(),t}getVerticalOffsetForLineNumber(e,t=!1){return this._linesLayout.getVerticalOffsetForLineNumber(e,t)}getVerticalOffsetAfterLineNumber(e,t=!1){return this._linesLayout.getVerticalOffsetAfterLineNumber(e,t)}isAfterLines(e){return this._linesLayout.isAfterLines(e)}isInTopPadding(e){return this._linesLayout.isInTopPadding(e)}isInBottomPadding(e){return this._linesLayout.isInBottomPadding(e)}getLineNumberAtVerticalOffset(e){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(e)}getWhitespaceAtVerticalOffset(e){return this._linesLayout.getWhitespaceAtVerticalOffset(e)}getLinesViewportData(){let e=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(e.top,e.top+e.height)}getLinesViewportDataAtScrollTop(e){let t=this._scrollable.getScrollDimensions();return e+t.height>t.scrollHeight&&(e=t.scrollHeight-t.height),e<0&&(e=0),this._linesLayout.getLinesViewportData(e,e+t.height)}getWhitespaceViewportData(){let e=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(e.top,e.top+e.height)}getWhitespaces(){return this._linesLayout.getWhitespaces()}getContentWidth(){let e=this._scrollable.getScrollDimensions();return e.contentWidth}getScrollWidth(){let e=this._scrollable.getScrollDimensions();return e.scrollWidth}getContentHeight(){let e=this._scrollable.getScrollDimensions();return e.contentHeight}getScrollHeight(){let e=this._scrollable.getScrollDimensions();return e.scrollHeight}getCurrentScrollLeft(){let e=this._scrollable.getCurrentScrollPosition();return e.scrollLeft}getCurrentScrollTop(){let e=this._scrollable.getCurrentScrollPosition();return e.scrollTop}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}setScrollPosition(e,t){1===t?this._scrollable.setScrollPositionNow(e):this._scrollable.setScrollPositionSmooth(e)}hasPendingScrollAnimation(){return this._scrollable.hasPendingScrollAnimation()}deltaScrollNow(e,t){let i=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:i.scrollLeft+e,scrollTop:i.scrollTop+t})}}var nP=i(30168),nO=i(77378);function nF(e,t){return null!==e?new nB(e,t):t?nW.INSTANCE:nH.INSTANCE}class nB{constructor(e,t){this._projectionData=e,this._isVisible=t}isVisible(){return this._isVisible}setVisible(e){return this._isVisible=e,this}getProjectionData(){return this._projectionData}getViewLineCount(){return this._isVisible?this._projectionData.getOutputLineCount():0}getViewLineContent(e,t,i){let n;this._assertVisible();let s=i>0?this._projectionData.breakOffsets[i-1]:0,o=this._projectionData.breakOffsets[i];if(null!==this._projectionData.injectionOffsets){let i=this._projectionData.injectionOffsets.map((e,t)=>new iL.gk(0,0,e+1,this._projectionData.injectionOptions[t],0)),r=iL.gk.applyInjectedText(e.getLineContent(t),i);n=r.substring(s,o)}else n=e.getValueInRange({startLineNumber:t,startColumn:s+1,endLineNumber:t,endColumn:o+1});return i>0&&(n=nz(this._projectionData.wrappedTextIndentLength)+n),n}getViewLineLength(e,t,i){return this._assertVisible(),this._projectionData.getLineLength(i)}getViewLineMinColumn(e,t,i){return this._assertVisible(),this._projectionData.getMinOutputOffset(i)+1}getViewLineMaxColumn(e,t,i){return this._assertVisible(),this._projectionData.getMaxOutputOffset(i)+1}getViewLineData(e,t,i){let n=[];return this.getViewLinesData(e,t,i,1,0,[!0],n),n[0]}getViewLinesData(e,t,i,n,s,o,r){let l;this._assertVisible();let a=this._projectionData,d=a.injectionOffsets,h=a.injectionOptions,u=null;if(d){u=[];let e=0,t=0;for(let i=0;i0?a.breakOffsets[i-1]:0,o=a.breakOffsets[i];for(;to)break;if(s0?a.wrappedTextIndentLength:0,r=t+Math.max(l-s,0),d=t+Math.min(u-s,o-s);r!==d&&n.push(new tM.Wx(r,d,e.inlineClassName,e.inlineClassNameAffectsLetterSpacing))}}if(u<=o)e+=r,t++;else break}}}l=d?e.tokenization.getLineTokens(t).withInserted(d.map((e,t)=>({offset:e,text:h[t].content,tokenMetadata:nO.A.defaultTokenMetadata}))):e.tokenization.getLineTokens(t);for(let e=i;e0?n.wrappedTextIndentLength:0,o=i>0?n.breakOffsets[i-1]:0,r=n.breakOffsets[i],l=e.sliceAndInflate(o,r,s),a=l.getLineContent();i>0&&(a=nz(n.wrappedTextIndentLength)+a);let d=this._projectionData.getMinOutputOffset(i)+1,h=a.length+1,u=i+1=nV.length)for(let t=1;t<=e;t++)nV[t]=Array(t+1).join(" ");return nV[e]}var nK=i(90310);class nU{constructor(e,t,i,n,s,o,r,l,a,d){this._editorId=e,this.model=t,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=i,this._monospaceLineBreaksComputerFactory=n,this.fontInfo=s,this.tabSize=o,this.wrappingStrategy=r,this.wrappingColumn=l,this.wrappingIndent=a,this.wordBreak=d,this._constructLines(!0,null)}dispose(){this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[])}createCoordinatesConverter(){return new nj(this)}_constructLines(e,t){this.modelLineProjections=[],e&&(this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[]));let i=this.model.getLinesContent(),n=this.model.getInjectedTextDecorations(this._editorId),s=i.length,o=this.createLineBreaksComputer(),r=new C.H9(iL.gk.fromDecorations(n));for(let e=0;et.lineNumber===e+1);o.addRequest(i[e],n,t?t[e]:null)}let l=o.finalize(),a=[],d=this.hiddenAreasDecorationIds.map(e=>this.model.getDecorationRange(e)).sort(Q.e.compareRangesUsingStarts),h=1,u=0,c=-1,g=0=h&&t<=u,n=nF(l[e],!i);a[e]=n.getViewLineCount(),this.modelLineProjections[e]=n}this._validModelVersionId=this.model.getVersionId(),this.projectedModelLineLineCounts=new nK.Ck(a)}getHiddenAreas(){return this.hiddenAreasDecorationIds.map(e=>this.model.getDecorationRange(e))}setHiddenAreas(e){let t=e.map(e=>this.model.validateRange(e)),i=function(e){if(0===e.length)return[];let t=e.slice();t.sort(Q.e.compareRangesUsingStarts);let i=[],n=t[0].startLineNumber,s=t[0].endLineNumber;for(let e=1,o=t.length;es+1?(i.push(new Q.e(n,1,s,1)),n=o.startLineNumber,s=o.endLineNumber):o.endLineNumber>s&&(s=o.endLineNumber)}return i.push(new Q.e(n,1,s,1)),i}(t),n=this.hiddenAreasDecorationIds.map(e=>this.model.getDecorationRange(e)).sort(Q.e.compareRangesUsingStarts);if(i.length===n.length){let e=!1;for(let t=0;t({range:e,options:iA.qx.EMPTY}));this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,s);let o=1,r=0,l=-1,a=0=o&&t<=r?this.modelLineProjections[e].isVisible()&&(this.modelLineProjections[e]=this.modelLineProjections[e].setVisible(!1),n=!0):(d=!0,this.modelLineProjections[e].isVisible()||(this.modelLineProjections[e]=this.modelLineProjections[e].setVisible(!0),n=!0)),n){let t=this.modelLineProjections[e].getViewLineCount();this.projectedModelLineLineCounts.setValue(e,t)}}return d||this.setHiddenAreas([]),!0}modelPositionIsVisible(e,t){return!(e<1)&&!(e>this.modelLineProjections.length)&&this.modelLineProjections[e-1].isVisible()}getModelLineViewLineCount(e){return e<1||e>this.modelLineProjections.length?1:this.modelLineProjections[e-1].getViewLineCount()}setTabSize(e){return this.tabSize!==e&&(this.tabSize=e,this._constructLines(!1,null),!0)}setWrappingSettings(e,t,i,n,s){let o=this.fontInfo.equals(e),r=this.wrappingStrategy===t,l=this.wrappingColumn===i,a=this.wrappingIndent===n,d=this.wordBreak===s;if(o&&r&&l&&a&&d)return!1;this.fontInfo=e,this.wrappingStrategy=t,this.wrappingColumn=i,this.wrappingIndent=n,this.wordBreak=s;let h=null;if(o&&r&&!l&&a&&d){h=[];for(let e=0,t=this.modelLineProjections.length;e2&&!this.modelLineProjections[t-2].isVisible(),o=1===t?1:this.projectedModelLineLineCounts.getPrefixSum(t-1)+1,r=0,l=[],a=[];for(let e=0,t=n.length;el?(p=(g=(h=(d=this.projectedModelLineLineCounts.getPrefixSum(t-1)+1)+l-1)+1)+(s-l)-1,a=!0):st?t:0|e}getActiveIndentGuide(e,t,i){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),i=this._toValidViewLineNumber(i);let n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),s=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),o=this.convertViewPositionToModelPosition(i,this.getViewLineMinColumn(i)),r=this.model.guides.getActiveIndentGuide(n.lineNumber,s.lineNumber,o.lineNumber),l=this.convertModelPositionToViewPosition(r.startLineNumber,1),a=this.convertModelPositionToViewPosition(r.endLineNumber,this.model.getLineMaxColumn(r.endLineNumber));return{startLineNumber:l.lineNumber,endLineNumber:a.lineNumber,indent:r.indent}}getViewLineInfo(e){e=this._toValidViewLineNumber(e);let t=this.projectedModelLineLineCounts.getIndexOf(e-1),i=t.index,n=t.remainder;return new n$(i+1,n)}getMinColumnOfViewLine(e){return this.modelLineProjections[e.modelLineNumber-1].getViewLineMinColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx)}getMaxColumnOfViewLine(e){return this.modelLineProjections[e.modelLineNumber-1].getViewLineMaxColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx)}getModelStartPositionOfViewLine(e){let t=this.modelLineProjections[e.modelLineNumber-1],i=t.getViewLineMinColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx),n=t.getModelColumnOfViewPosition(e.modelLineWrappedLineIdx,i);return new G.L(e.modelLineNumber,n)}getModelEndPositionOfViewLine(e){let t=this.modelLineProjections[e.modelLineNumber-1],i=t.getViewLineMaxColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx),n=t.getModelColumnOfViewPosition(e.modelLineWrappedLineIdx,i);return new G.L(e.modelLineNumber,n)}getViewLineInfosGroupedByModelRanges(e,t){let i=this.getViewLineInfo(e),n=this.getViewLineInfo(t),s=[],o=this.getModelStartPositionOfViewLine(i),r=[];for(let e=i.modelLineNumber;e<=n.modelLineNumber;e++){let t=this.modelLineProjections[e-1];if(t.isVisible()){let s=e===i.modelLineNumber?i.modelLineWrappedLineIdx:0,o=e===n.modelLineNumber?n.modelLineWrappedLineIdx+1:t.getViewLineCount();for(let t=s;t{if(-1!==e.forWrappedLinesAfterColumn){let t=this.modelLineProjections[n.modelLineNumber-1].getViewPositionOfModelPosition(0,e.forWrappedLinesAfterColumn);if(t.lineNumber>=n.modelLineWrappedLineIdx)return}if(-1!==e.forWrappedLinesBeforeOrAtColumn){let t=this.modelLineProjections[n.modelLineNumber-1].getViewPositionOfModelPosition(0,e.forWrappedLinesBeforeOrAtColumn);if(t.lineNumbern.modelLineWrappedLineIdx)return}let i=this.convertModelPositionToViewPosition(n.modelLineNumber,e.horizontalLine.endColumn),s=this.modelLineProjections[n.modelLineNumber-1].getViewPositionOfModelPosition(0,e.horizontalLine.endColumn);return s.lineNumber===n.modelLineWrappedLineIdx?new tv.UO(e.visibleColumn,t,e.className,new tv.vW(e.horizontalLine.top,i.column),-1,-1):s.lineNumber!!e))}}return o}getViewLinesIndentGuides(e,t){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);let i=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),n=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t)),s=[],o=[],r=[],l=i.lineNumber-1,a=n.lineNumber-1,d=null;for(let e=l;e<=a;e++){let t=this.modelLineProjections[e];if(t.isVisible()){let n=t.getViewLineNumberOfModelPosition(0,e===l?i.column:1),s=t.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(e+1)),a=s-n+1,h=0;a>1&&1===t.getViewLineMinColumn(this.model,e+1,s)&&(h=0===n?1:2),o.push(a),r.push(h),null===d&&(d=new G.L(e+1,0))}else null!==d&&(s=s.concat(this.model.guides.getLinesIndentGuides(d.lineNumber,e)),d=null)}null!==d&&(s=s.concat(this.model.guides.getLinesIndentGuides(d.lineNumber,n.lineNumber)),d=null);let h=t-e+1,u=Array(h),c=0;for(let e=0,t=s.length;et&&(u=!0,h=t-s+1),a.getViewLinesData(this.model,n+1,d,h,s-e,i,l),s+=h,u)break}return l}validateViewPosition(e,t,i){e=this._toValidViewLineNumber(e);let n=this.projectedModelLineLineCounts.getIndexOf(e-1),s=n.index,o=n.remainder,r=this.modelLineProjections[s],l=r.getViewLineMinColumn(this.model,s+1,o),a=r.getViewLineMaxColumn(this.model,s+1,o);ta&&(t=a);let d=r.getModelColumnOfViewPosition(o,t),h=this.model.validatePosition(new G.L(s+1,d));return h.equals(i)?new G.L(e,t):this.convertModelPositionToViewPosition(i.lineNumber,i.column)}validateViewRange(e,t){let i=this.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),n=this.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new Q.e(i.lineNumber,i.column,n.lineNumber,n.column)}convertViewPositionToModelPosition(e,t){let i=this.getViewLineInfo(e),n=this.modelLineProjections[i.modelLineNumber-1].getModelColumnOfViewPosition(i.modelLineWrappedLineIdx,t);return this.model.validatePosition(new G.L(i.modelLineNumber,n))}convertViewRangeToModelRange(e){let t=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),i=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new Q.e(t.lineNumber,t.column,i.lineNumber,i.column)}convertModelPositionToViewPosition(e,t,i=2,n=!1,s=!1){let o=this.model.validatePosition(new G.L(e,t)),r=o.lineNumber,l=o.column,a=r-1,d=!1;if(s)for(;a0&&!this.modelLineProjections[a].isVisible();)a--,d=!0;if(0===a&&!this.modelLineProjections[a].isVisible())return new G.L(n?0:1,1);let h=1+this.projectedModelLineLineCounts.getPrefixSum(a);return d?s?this.modelLineProjections[a].getViewPositionOfModelPosition(h,1,i):this.modelLineProjections[a].getViewPositionOfModelPosition(h,this.model.getLineMaxColumn(a+1),i):this.modelLineProjections[r-1].getViewPositionOfModelPosition(h,l,i)}convertModelRangeToViewRange(e,t=0){if(e.isEmpty()){let i=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn,t);return Q.e.fromPositions(i)}{let t=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn,1),i=this.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn,0);return new Q.e(t.lineNumber,t.column,i.lineNumber,i.column)}}getViewLineNumberOfModelPosition(e,t){let i=e-1;if(this.modelLineProjections[i].isVisible()){let e=1+this.projectedModelLineLineCounts.getPrefixSum(i);return this.modelLineProjections[i].getViewLineNumberOfModelPosition(e,t)}for(;i>0&&!this.modelLineProjections[i].isVisible();)i--;if(0===i&&!this.modelLineProjections[i].isVisible())return 1;let n=1+this.projectedModelLineLineCounts.getPrefixSum(i);return this.modelLineProjections[i].getViewLineNumberOfModelPosition(n,this.model.getLineMaxColumn(i+1))}getDecorationsInRange(e,t,i,n,s){let o=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),r=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);if(r.lineNumber-o.lineNumber<=e.endLineNumber-e.startLineNumber)return this.model.getDecorationsInRange(new Q.e(o.lineNumber,1,r.lineNumber,r.column),t,i,n,s);let l=[],a=o.lineNumber-1,d=r.lineNumber-1,h=null;for(let e=a;e<=d;e++){let s=this.modelLineProjections[e];if(s.isVisible())null===h&&(h=new G.L(e+1,e===a?o.column:1));else if(null!==h){let s=this.model.getLineMaxColumn(e);l=l.concat(this.model.getDecorationsInRange(new Q.e(h.lineNumber,h.column,e,s),t,i,n)),h=null}}null!==h&&(l=l.concat(this.model.getDecorationsInRange(new Q.e(h.lineNumber,h.column,r.lineNumber,r.column),t,i,n)),h=null),l.sort((e,t)=>{let i=Q.e.compareRangesUsingStarts(e.range,t.range);return 0===i?e.idt.id?1:0:i});let u=[],c=0,g=null;for(let e of l){let t=e.id;g!==t&&(g=t,u[c++]=e)}return u}getInjectedTextAt(e){let t=this.getViewLineInfo(e.lineNumber);return this.modelLineProjections[t.modelLineNumber-1].getInjectedTextAt(t.modelLineWrappedLineIdx,e.column)}normalizePosition(e,t){let i=this.getViewLineInfo(e.lineNumber);return this.modelLineProjections[i.modelLineNumber-1].normalizePosition(i.modelLineWrappedLineIdx,e,t)}getLineIndentColumn(e){let t=this.getViewLineInfo(e);return 0===t.modelLineWrappedLineIdx?this.model.getLineIndentColumn(t.modelLineNumber):0}}class n${constructor(e,t){this.modelLineNumber=e,this.modelLineWrappedLineIdx=t}}class nq{constructor(e,t){this.modelRange=e,this.viewLines=t}}class nj{constructor(e){this._lines=e}convertViewPositionToModelPosition(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)}convertViewRangeToModelRange(e){return this._lines.convertViewRangeToModelRange(e)}validateViewPosition(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)}validateViewRange(e,t){return this._lines.validateViewRange(e,t)}convertModelPositionToViewPosition(e,t,i,n){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column,t,i,n)}convertModelRangeToViewRange(e,t){return this._lines.convertModelRangeToViewRange(e,t)}modelPositionIsVisible(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)}getModelLineViewLineCount(e){return this._lines.getModelLineViewLineCount(e)}getViewLineNumberOfModelPosition(e,t){return this._lines.getViewLineNumberOfModelPosition(e,t)}}class nG{constructor(e){this.model=e}dispose(){}createCoordinatesConverter(){return new nQ(this)}getHiddenAreas(){return[]}setHiddenAreas(e){return!1}setTabSize(e){return!1}setWrappingSettings(e,t,i,n){return!1}createLineBreaksComputer(){let e=[];return{addRequest:(t,i,n)=>{e.push(null)},finalize:()=>e}}onModelFlushed(){}onModelLinesDeleted(e,t,i){return new i9(t,i)}onModelLinesInserted(e,t,i,n){return new i7(t,i)}onModelLineChanged(e,t,i){return[!1,new i6(t,1),null,null]}acceptVersionId(e){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(e,t,i){return{startLineNumber:e,endLineNumber:e,indent:0}}getViewLinesBracketGuides(e,t,i){return Array(t-e+1).fill([])}getViewLinesIndentGuides(e,t){let i=t-e+1,n=Array(i);for(let e=0;et)}getModelLineViewLineCount(e){return 1}getViewLineNumberOfModelPosition(e,t){return e}}let nZ=tl.U.Right;class nY{constructor(e){this.persist=0,this._requiredLanes=1,this.lanes=new Uint8Array(Math.ceil((e+1)*nZ/8))}reset(e){let t=Math.ceil((e+1)*nZ/8);this.lanes.length>>3]|=1<>>3]&1<>>3]&1<this._updateConfigurationViewLineCountNow(),0)),this._hasFocus=!1,this._viewportStart=nX.create(this.model),this.glyphLanes=new nY(0),this.model.isTooLargeForTokenization())this._lines=new nG(this.model);else{let e=this._configuration.options,t=e.get(50),i=e.get(139),o=e.get(146),r=e.get(138),l=e.get(129);this._lines=new nU(this._editorId,this.model,n,s,t,this.model.getOptions().tabSize,i,o.wrappingColumn,r,l)}this.coordinatesConverter=this._lines.createCoordinatesConverter(),this._cursor=this._register(new nC(i,this,this.coordinatesConverter,this.cursorConfig)),this.viewLayout=this._register(new nA(this._configuration,this.getLineCount(),o)),this._register(this.viewLayout.onDidScroll(e=>{e.scrollTopChanged&&this._handleVisibleLinesChanged(),e.scrollTopChanged&&this._viewportStart.invalidate(),this._eventDispatcher.emitSingleViewEvent(new ne(e)),this._eventDispatcher.emitOutgoingEvent(new nd(e.oldScrollWidth,e.oldScrollLeft,e.oldScrollHeight,e.oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop))})),this._register(this.viewLayout.onDidContentSizeChange(e=>{this._eventDispatcher.emitOutgoingEvent(e)})),this._decorations=new nP.CU(this._editorId,this.model,this._configuration,this._lines,this.coordinatesConverter),this._registerModelEvents(),this._register(this._configuration.onDidChangeFast(e=>{try{let t=this._eventDispatcher.beginEmitViewEvents();this._onConfigurationChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(tT.getInstance().onDidChange(()=>{this._eventDispatcher.emitSingleViewEvent(new nn)})),this._register(this._themeService.onDidColorThemeChange(e=>{this._invalidateDecorationsColorCache(),this._eventDispatcher.emitSingleViewEvent(new nt(e))})),this._updateConfigurationViewLineCountNow()}dispose(){super.dispose(),this._decorations.dispose(),this._lines.dispose(),this._viewportStart.dispose(),this._eventDispatcher.dispose()}createLineBreaksComputer(){return this._lines.createLineBreaksComputer()}addViewEventHandler(e){this._eventDispatcher.addViewEventHandler(e)}removeViewEventHandler(e){this._eventDispatcher.removeViewEventHandler(e)}_updateConfigurationViewLineCountNow(){this._configuration.setViewLineCount(this._lines.getViewLineCount())}getModelVisibleRanges(){let e=this.viewLayout.getLinesViewportData(),t=new Q.e(e.startLineNumber,this.getLineMinColumn(e.startLineNumber),e.endLineNumber,this.getLineMaxColumn(e.endLineNumber)),i=this._toModelVisibleRanges(t);return i}visibleLinesStabilized(){let e=this.getModelVisibleRanges();this._attachedView.setVisibleLines(e,!0)}_handleVisibleLinesChanged(){let e=this.getModelVisibleRanges();this._attachedView.setVisibleLines(e,!1)}setHasFocus(e){this._hasFocus=e,this._cursor.setHasFocus(e),this._eventDispatcher.emitSingleViewEvent(new i5(e)),this._eventDispatcher.emitOutgoingEvent(new na(!e,e))}onCompositionStart(){this._eventDispatcher.emitSingleViewEvent(new iY)}onCompositionEnd(){this._eventDispatcher.emitSingleViewEvent(new iJ)}_captureStableViewport(){if(this._viewportStart.isValid&&this.viewLayout.getCurrentScrollTop()>0){let e=new G.L(this._viewportStart.viewLineNumber,this.getLineMinColumn(this._viewportStart.viewLineNumber)),t=this.coordinatesConverter.convertViewPositionToModelPosition(e);return new n5(t,this._viewportStart.startLineDelta)}return new n5(null,0)}_onConfigurationChanged(e,t){let i=this._captureStableViewport(),n=this._configuration.options,s=n.get(50),o=n.get(139),r=n.get(146),l=n.get(138),a=n.get(129);this._lines.setWrappingSettings(s,o,r.wrappingColumn,l,a)&&(e.emitViewEvent(new i2),e.emitViewEvent(new i3),e.emitViewEvent(new i1(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this._updateConfigurationViewLineCount.schedule()),t.hasChanged(91)&&(this._decorations.reset(),e.emitViewEvent(new i1(null))),t.hasChanged(98)&&(this._decorations.reset(),e.emitViewEvent(new i1(null))),e.emitViewEvent(new iX(t)),this.viewLayout.onConfigurationChanged(t),i.recoverViewportStart(this.coordinatesConverter,this.viewLayout),i$.LM.shouldRecreate(t)&&(this.cursorConfig=new i$.LM(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig))}_registerModelEvents(){this._register(this.model.onDidChangeContentOrInjectedText(e=>{try{let t=this._eventDispatcher.beginEmitViewEvents(),i=!1,n=!1,s=e instanceof iL.fV?e.rawContentChangedEvent.changes:e.changes,o=e instanceof iL.fV?e.rawContentChangedEvent.versionId:null,r=this._lines.createLineBreaksComputer();for(let e of s)switch(e.changeType){case 4:for(let t=0;t!e.ownerId||e.ownerId===this._editorId)),r.addRequest(i,n,null)}break;case 2:{let t=null;e.injectedText&&(t=e.injectedText.filter(e=>!e.ownerId||e.ownerId===this._editorId)),r.addRequest(e.detail,t,null)}}let l=r.finalize(),a=new C.H9(l);for(let e of s)switch(e.changeType){case 1:this._lines.onModelFlushed(),t.emitViewEvent(new i2),this._decorations.reset(),this.viewLayout.onFlushed(this.getLineCount()),i=!0;break;case 3:{let n=this._lines.onModelLinesDeleted(o,e.fromLineNumber,e.toLineNumber);null!==n&&(t.emitViewEvent(n),this.viewLayout.onLinesDeleted(n.fromLineNumber,n.toLineNumber)),i=!0;break}case 4:{let n=a.takeCount(e.detail.length),s=this._lines.onModelLinesInserted(o,e.fromLineNumber,e.toLineNumber,n);null!==s&&(t.emitViewEvent(s),this.viewLayout.onLinesInserted(s.fromLineNumber,s.toLineNumber)),i=!0;break}case 2:{let i=a.dequeue(),[s,r,l,d]=this._lines.onModelLineChanged(o,e.lineNumber,i);n=s,r&&t.emitViewEvent(r),l&&(t.emitViewEvent(l),this.viewLayout.onLinesInserted(l.fromLineNumber,l.toLineNumber)),d&&(t.emitViewEvent(d),this.viewLayout.onLinesDeleted(d.fromLineNumber,d.toLineNumber))}}null!==o&&this._lines.acceptVersionId(o),this.viewLayout.onHeightMaybeChanged(),!i&&n&&(t.emitViewEvent(new i3),t.emitViewEvent(new i1(null)),this._cursor.onLineMappingChanged(t),this._decorations.onLineMappingChanged())}finally{this._eventDispatcher.endEmitViewEvents()}let t=this._viewportStart.isValid;if(this._viewportStart.invalidate(),this._configuration.setModelLineCount(this.model.getLineCount()),this._updateConfigurationViewLineCountNow(),!this._hasFocus&&this.model.getAttachedEditorCount()>=2&&t){let e=this.model._getTrackedRange(this._viewportStart.modelTrackedRange);if(e){let t=this.coordinatesConverter.convertModelPositionToViewPosition(e.getStartPosition()),i=this.viewLayout.getVerticalOffsetForLineNumber(t.lineNumber);this.viewLayout.setScrollPosition({scrollTop:i+this._viewportStart.startLineDelta},1)}}try{let t=this._eventDispatcher.beginEmitViewEvents();e instanceof iL.fV&&t.emitOutgoingEvent(new n_(e.contentChangedEvent)),this._cursor.onModelContentChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}this._handleVisibleLinesChanged()})),this._register(this.model.onDidChangeTokens(e=>{let t=[];for(let i=0,n=e.ranges.length;i{this._eventDispatcher.emitSingleViewEvent(new i4),this.cursorConfig=new i$.LM(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new nf(e))})),this._register(this.model.onDidChangeLanguage(e=>{this.cursorConfig=new i$.LM(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new nm(e))})),this._register(this.model.onDidChangeOptions(e=>{if(this._lines.setTabSize(this.model.getOptions().tabSize)){try{let e=this._eventDispatcher.beginEmitViewEvents();e.emitViewEvent(new i2),e.emitViewEvent(new i3),e.emitViewEvent(new i1(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}this.cursorConfig=new i$.LM(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new nv(e))})),this._register(this.model.onDidChangeDecorations(e=>{this._decorations.onModelDecorationsChanged(),this._eventDispatcher.emitSingleViewEvent(new i1(e)),this._eventDispatcher.emitOutgoingEvent(new np(e))}))}setHiddenAreas(e,t){var i;this.hiddenAreasModel.setHiddenAreas(t,e);let n=this.hiddenAreasModel.getMergedRanges();if(n===this.previousHiddenAreas)return;this.previousHiddenAreas=n;let s=this._captureStableViewport(),o=!1;try{let e=this._eventDispatcher.beginEmitViewEvents();(o=this._lines.setHiddenAreas(n))&&(e.emitViewEvent(new i2),e.emitViewEvent(new i3),e.emitViewEvent(new i1(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged());let t=null===(i=s.viewportStartModelPosition)||void 0===i?void 0:i.lineNumber,r=t&&n.some(e=>e.startLineNumber<=t&&t<=e.endLineNumber);r||s.recoverViewportStart(this.coordinatesConverter,this.viewLayout)}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule(),o&&this._eventDispatcher.emitOutgoingEvent(new nu)}getVisibleRangesPlusViewportAboveBelow(){let e=this._configuration.options.get(145),t=this._configuration.options.get(67),i=Math.max(20,Math.round(e.height/t)),n=this.viewLayout.getLinesViewportData(),s=Math.max(1,n.completelyVisibleStartLineNumber-i),o=Math.min(this.getLineCount(),n.completelyVisibleEndLineNumber+i);return this._toModelVisibleRanges(new Q.e(s,this.getLineMinColumn(s),o,this.getLineMaxColumn(o)))}getVisibleRanges(){let e=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(e)}getHiddenAreas(){return this._lines.getHiddenAreas()}_toModelVisibleRanges(e){let t=this.coordinatesConverter.convertViewRangeToModelRange(e),i=this._lines.getHiddenAreas();if(0===i.length)return[t];let n=[],s=0,o=t.startLineNumber,r=t.startColumn,l=t.endLineNumber,a=t.endColumn;for(let e=0,t=i.length;el||(ot.toInlineDecoration(e))]),new tM.wA(o.minColumn,o.maxColumn,o.content,o.continuesWithWrappedLine,i,n,o.tokens,t,s,o.startVisibleColumn)}getViewLineData(e){return this._lines.getViewLineData(e)}getMinimapLinesRenderingData(e,t,i){let n=this._lines.getViewLinesData(e,t,i);return new tM.ud(this.getTabSize(),n)}getAllOverviewRulerDecorations(e){let t=this.model.getOverviewRulerDecorations(this._editorId,(0,I.$J)(this._configuration.options)),i=new n0;for(let n of t){let t=n.options,s=t.overviewRuler;if(!s)continue;let o=s.position;if(0===o)continue;let r=s.getColor(e.value),l=this.coordinatesConverter.getViewLineNumberOfModelPosition(n.range.startLineNumber,n.range.startColumn),a=this.coordinatesConverter.getViewLineNumberOfModelPosition(n.range.endLineNumber,n.range.endColumn);i.accept(r,t.zIndex,l,a,o)}return i.asArray}_invalidateDecorationsColorCache(){let e=this.model.getOverviewRulerDecorations();for(let t of e){let e=t.options.overviewRuler;null==e||e.invalidateCachedColor();let i=t.options.minimap;null==i||i.invalidateCachedColor()}}getValueInRange(e,t){let i=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueInRange(i,t)}getValueLengthInRange(e,t){let i=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueLengthInRange(i,t)}modifyPosition(e,t){let i=this.coordinatesConverter.convertViewPositionToModelPosition(e),n=this.model.modifyPosition(i,t);return this.coordinatesConverter.convertModelPositionToViewPosition(n)}deduceModelPositionRelativeToViewPosition(e,t,i){let n=this.coordinatesConverter.convertViewPositionToModelPosition(e);2===this.model.getEOL().length&&(t<0?t-=i:t+=i);let s=this.model.getOffsetAt(n),o=s+t;return this.model.getPositionAt(o)}getPlainTextToCopy(e,t,i){let n=i?"\r\n":this.model.getEOL();(e=e.slice(0)).sort(Q.e.compareRangesUsingStarts);let s=!1,o=!1;for(let t of e)t.isEmpty()?s=!0:o=!0;if(!o){if(!t)return"";let i=e.map(e=>e.startLineNumber),s="";for(let e=0;e0&&i[e-1]===i[e]||(s+=this.model.getLineContent(i[e])+n);return s}if(s&&t){let t=[],n=0;for(let s of e){let e=s.startLineNumber;s.isEmpty()?e!==n&&t.push(this.model.getLineContent(e)):t.push(this.model.getValueInRange(s,i?2:0)),n=e}return 1===t.length?t[0]:t}let r=[];for(let t of e)t.isEmpty()||r.push(this.model.getValueInRange(t,i?2:0));return 1===r.length?r[0]:r}getRichTextToCopy(e,t){let i;let n=this.model.getLanguageId();if(n===nD.bd||1!==e.length)return null;let s=e[0];if(s.isEmpty()){if(!t)return null;let e=s.startLineNumber;s=new Q.e(e,this.model.getLineMinColumn(e),e,this.model.getLineMaxColumn(e))}let o=this._configuration.options.get(50),r=this._getColorMap(),l=/[:;\\\/<>]/.test(o.fontFamily),a=l||o.fontFamily===I.hL.fontFamily;if(a)i=I.hL.fontFamily;else{i=(i=o.fontFamily).replace(/"/g,"'");let e=/[,']/.test(i);if(!e){let e=/[+ ]/.test(i);e&&(i=`'${i}'`)}i=`${i}, ${I.hL.fontFamily}`}return{mode:n,html:`
    `+this._getHTMLToCopy(s,r)+"
    "}}_getHTMLToCopy(e,t){let i=e.startLineNumber,n=e.startColumn,s=e.endLineNumber,o=e.endColumn,r=this.getTabSize(),l="";for(let e=i;e<=s;e++){let a=this.model.tokenization.getLineTokens(e),d=a.getLineContent(),h=e===i?n-1:0,u=e===s?o-1:d.length;""===d?l+="
    ":l+=(0,nx.Fq)(d,a.inflate(),t,h,u,r,y.ED)}return l}_getColorMap(){let e=eO.RW.getColorMap(),t=["#000000"];if(e)for(let i=1,n=e.length;ithis._cursor.setStates(n,e,t,i))}getCursorColumnSelectData(){return this._cursor.getCursorColumnSelectData()}getCursorAutoClosedCharacters(){return this._cursor.getAutoClosedCharacters()}setCursorColumnSelectData(e){this._cursor.setCursorColumnSelectData(e)}getPrevEditOperationType(){return this._cursor.getPrevEditOperationType()}setPrevEditOperationType(e){this._cursor.setPrevEditOperationType(e)}getSelection(){return this._cursor.getSelection()}getSelections(){return this._cursor.getSelections()}getPosition(){return this._cursor.getPrimaryCursorState().modelState.position}setSelections(e,t,i=0){this._withViewEventsCollector(n=>this._cursor.setSelections(n,e,t,i))}saveCursorState(){return this._cursor.saveState()}restoreCursorState(e){this._withViewEventsCollector(t=>this._cursor.restoreState(t,e))}_executeCursorEdit(e){if(this._cursor.context.cursorConfig.readOnly){this._eventDispatcher.emitOutgoingEvent(new ng);return}this._withViewEventsCollector(e)}executeEdits(e,t,i){this._executeCursorEdit(n=>this._cursor.executeEdits(n,e,t,i))}startComposition(){this._executeCursorEdit(e=>this._cursor.startComposition(e))}endComposition(e){this._executeCursorEdit(t=>this._cursor.endComposition(t,e))}type(e,t){this._executeCursorEdit(i=>this._cursor.type(i,e,t))}compositionType(e,t,i,n,s){this._executeCursorEdit(o=>this._cursor.compositionType(o,e,t,i,n,s))}paste(e,t,i,n){this._executeCursorEdit(s=>this._cursor.paste(s,e,t,i,n))}cut(e){this._executeCursorEdit(t=>this._cursor.cut(t,e))}executeCommand(e,t){this._executeCursorEdit(i=>this._cursor.executeCommand(i,e,t))}executeCommands(e,t){this._executeCursorEdit(i=>this._cursor.executeCommands(i,e,t))}revealAllCursors(e,t,i=!1){this._withViewEventsCollector(n=>this._cursor.revealAll(n,e,i,0,t,0))}revealPrimaryCursor(e,t,i=!1){this._withViewEventsCollector(n=>this._cursor.revealPrimary(n,e,i,0,t,0))}revealTopMostCursor(e){let t=this._cursor.getTopMostViewPosition(),i=new Q.e(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(t=>t.emitViewEvent(new i8(e,!1,i,null,0,!0,0)))}revealBottomMostCursor(e){let t=this._cursor.getBottomMostViewPosition(),i=new Q.e(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(t=>t.emitViewEvent(new i8(e,!1,i,null,0,!0,0)))}revealRange(e,t,i,n,s){this._withViewEventsCollector(o=>o.emitViewEvent(new i8(e,!1,i,null,n,t,s)))}changeWhitespace(e){let t=this.viewLayout.changeWhitespace(e);t&&(this._eventDispatcher.emitSingleViewEvent(new ns),this._eventDispatcher.emitOutgoingEvent(new nh))}_withViewEventsCollector(e){try{let t=this._eventDispatcher.beginEmitViewEvents();return e(t)}finally{this._eventDispatcher.endEmitViewEvents()}}batchEvents(e){this._withViewEventsCollector(()=>{e()})}normalizePosition(e,t){return this._lines.normalizePosition(e,t)}getLineIndentColumn(e){return this._lines.getLineIndentColumn(e)}}class nX{static create(e){let t=e._setTrackedRange(null,new Q.e(1,1,1,1),1);return new nX(e,1,!1,t,0)}get viewLineNumber(){return this._viewLineNumber}get isValid(){return this._isValid}get modelTrackedRange(){return this._modelTrackedRange}get startLineDelta(){return this._startLineDelta}constructor(e,t,i,n,s){this._model=e,this._viewLineNumber=t,this._isValid=i,this._modelTrackedRange=n,this._startLineDelta=s}dispose(){this._model._setTrackedRange(this._modelTrackedRange,null,1)}update(e,t){let i=e.coordinatesConverter.convertViewPositionToModelPosition(new G.L(t,e.getLineMinColumn(t))),n=e.model._setTrackedRange(this._modelTrackedRange,new Q.e(i.lineNumber,i.column,i.lineNumber,i.column),1),s=e.viewLayout.getVerticalOffsetForLineNumber(t),o=e.viewLayout.getCurrentScrollTop();this._viewLineNumber=t,this._isValid=!0,this._modelTrackedRange=n,this._startLineDelta=o-s}invalidate(){this._isValid=!1}}class n0{constructor(){this._asMap=Object.create(null),this.asArray=[]}accept(e,t,i,n,s){let o=this._asMap[e];if(o){let e=o.data,t=e[e.length-3],r=e[e.length-1];if(t===s&&r+1>=i){n>r&&(e[e.length-1]=n);return}e.push(s,i,n)}else{let o=new tM.SQ(e,t,[s,i,n]);this._asMap[e]=o,this.asArray.push(o)}}}class n1{constructor(){this.hiddenAreas=new Map,this.shouldRecompute=!1,this.ranges=[]}setHiddenAreas(e,t){let i=this.hiddenAreas.get(e);i&&n2(i,t)||(this.hiddenAreas.set(e,t),this.shouldRecompute=!0)}getMergedRanges(){if(!this.shouldRecompute)return this.ranges;this.shouldRecompute=!1;let e=Array.from(this.hiddenAreas.values()).reduce((e,t)=>(function(e,t){let i=[],n=0,s=0;for(;n{this._onDidChangeConfiguration.fire(e);let t=this._configuration.options;if(e.hasChanged(145)){let e=t.get(145);this._onDidLayoutChange.fire(e)}})),this._contextKeyService=this._register(r.createScoped(this._domElement)),this._notificationService=a,this._codeEditorService=s,this._commandService=o,this._themeService=l,this._register(new so(this,this._contextKeyService)),this._register(new sr(this,this._contextKeyService,c)),this._instantiationService=this._register(n.createChild(new n6.y([n3.i6,this._contextKeyService]))),this._modelData=null,this._focusTracker=new sl(e,this._overflowWidgetsDomNode),this._register(this._focusTracker.onChange(()=>{this._editorWidgetFocus.setValue(this._focusTracker.hasFocus())})),this._contentWidgets={},this._overlayWidgets={},this._glyphMarginWidgets={},v=Array.isArray(i.contributions)?i.contributions:u.Uc.getEditorContributions(),this._contributions.initialize(this,v,this._instantiationService),u.Uc.getEditorActions())){if(this._actions.has(t.id)){(0,p.dL)(Error(`Cannot have two actions with the same id ${t.id}`));continue}let e=new iI.p(t.id,t.label,t.alias,t.metadata,null!==(_=t.precondition)&&void 0!==_?_:void 0,e=>this._instantiationService.invokeFunction(i=>Promise.resolve(t.runEditorCommand(i,this,e))),this._contextKeyService);this._actions.set(e.id,e)}let C=()=>!this._configuration.options.get(91)&&this._configuration.options.get(36).enabled;this._register(new g.eg(this._domElement,{onDragOver:e=>{if(!C())return;let t=this.getTargetAtClientPoint(e.clientX,e.clientY);(null==t?void 0:t.position)&&this.showDropIndicatorAt(t.position)},onDrop:async e=>{if(!C()||(this.removeDropIndicator(),!e.dataTransfer))return;let t=this.getTargetAtClientPoint(e.clientX,e.clientY);(null==t?void 0:t.position)&&this._onDropIntoEditor.fire({position:t.position,event:e})},onDragLeave:()=>{this.removeDropIndicator()},onDragEnd:()=>{this.removeDropIndicator()}})),this._codeEditorService.addCodeEditor(this)}writeScreenReaderContent(e){var t;null===(t=this._modelData)||void 0===t||t.view.writeScreenReaderContent(e)}_createConfiguration(e,t,i,n){return new P(e,t,i,this._domElement,n)}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return iT.g.ICodeEditor}dispose(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose(),this._actions.clear(),this._contentWidgets={},this._overlayWidgets={},this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),super.dispose()}invokeWithinContext(e){return this._instantiationService.invokeFunction(e)}updateOptions(e){this._configuration.updateOptions(e||{})}getOptions(){return this._configuration.options}getOption(e){return this._configuration.options.get(e)}getRawOptions(){return this._configuration.getRawOptions()}getOverflowWidgetsDomNode(){return this._overflowWidgetsDomNode}getConfiguredWordAtPosition(e){return this._modelData?iE.w.getWordAtPosition(this._modelData.model,this._configuration.options.get(131),this._configuration.options.get(130),e):null}getValue(e=null){if(!this._modelData)return"";let t=!!e&&!!e.preserveBOM,i=0;return e&&e.lineEnding&&"\n"===e.lineEnding?i=1:e&&e.lineEnding&&"\r\n"===e.lineEnding&&(i=2),this._modelData.model.getValue(i,t)}setValue(e){try{if(this._beginUpdate(),!this._modelData)return;this._modelData.model.setValue(e)}finally{this._endUpdate()}}getModel(){return this._modelData?this._modelData.model:null}setModel(e=null){var t;try{if(this._beginUpdate(),null===this._modelData&&null===e||this._modelData&&this._modelData.model===e)return;let i={oldModelUrl:(null===(t=this._modelData)||void 0===t?void 0:t.model.uri)||null,newModelUrl:(null==e?void 0:e.uri)||null};this._onWillChangeModel.fire(i);let n=this.hasTextFocus(),s=this._detachModel();this._attachModel(e),n&&this.hasModel()&&this.focus(),this._removeDecorationTypes(),this._onDidChangeModel.fire(i),this._postDetachModelCleanup(s),this._contributionsDisposable=this._contributions.onAfterModelAttached()}finally{this._endUpdate()}}_removeDecorationTypes(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(let e in this._decorationTypeSubtypes){let t=this._decorationTypeSubtypes[e];for(let i in t)this._removeDecorationType(e+"-"+i)}this._decorationTypeSubtypes={}}}getVisibleRanges(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]}getVisibleRangesPlusViewportAboveBelow(){return this._modelData?this._modelData.viewModel.getVisibleRangesPlusViewportAboveBelow():[]}getWhitespaces(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]}static _getVerticalOffsetAfterPosition(e,t,i,n){let s=e.model.validatePosition({lineNumber:t,column:i}),o=e.viewModel.coordinatesConverter.convertModelPositionToViewPosition(s);return e.viewModel.viewLayout.getVerticalOffsetAfterLineNumber(o.lineNumber,n)}getTopForLineNumber(e,t=!1){return this._modelData?d._getVerticalOffsetForPosition(this._modelData,e,1,t):-1}getTopForPosition(e,t){return this._modelData?d._getVerticalOffsetForPosition(this._modelData,e,t,!1):-1}static _getVerticalOffsetForPosition(e,t,i,n=!1){let s=e.model.validatePosition({lineNumber:t,column:i}),o=e.viewModel.coordinatesConverter.convertModelPositionToViewPosition(s);return e.viewModel.viewLayout.getVerticalOffsetForLineNumber(o.lineNumber,n)}getBottomForLineNumber(e,t=!1){return this._modelData?d._getVerticalOffsetAfterPosition(this._modelData,e,1,t):-1}setHiddenAreas(e,t){var i;null===(i=this._modelData)||void 0===i||i.viewModel.setHiddenAreas(e.map(e=>Q.e.lift(e)),t)}getVisibleColumnFromPosition(e){if(!this._modelData)return e.column;let t=this._modelData.model.validatePosition(e),i=this._modelData.model.getOptions().tabSize;return Z.i.visibleColumnFromColumn(this._modelData.model.getLineContent(t.lineNumber),t.column,i)+1}getPosition(){return this._modelData?this._modelData.viewModel.getPosition():null}setPosition(e,t="api"){if(this._modelData){if(!G.L.isIPosition(e))throw Error("Invalid arguments");this._modelData.viewModel.setSelections(t,[{selectionStartLineNumber:e.lineNumber,selectionStartColumn:e.column,positionLineNumber:e.lineNumber,positionColumn:e.column}])}}_sendRevealRange(e,t,i,n){if(!this._modelData)return;if(!Q.e.isIRange(e))throw Error("Invalid arguments");let s=this._modelData.model.validateRange(e),o=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(s);this._modelData.viewModel.revealRange("api",i,o,t,n)}revealLine(e,t=0){this._revealLine(e,0,t)}revealLineInCenter(e,t=0){this._revealLine(e,1,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._revealLine(e,2,t)}revealLineNearTop(e,t=0){this._revealLine(e,5,t)}_revealLine(e,t,i){if("number"!=typeof e)throw Error("Invalid arguments");this._sendRevealRange(new Q.e(e,1,e,1),t,!1,i)}revealPosition(e,t=0){this._revealPosition(e,0,!0,t)}revealPositionInCenter(e,t=0){this._revealPosition(e,1,!0,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._revealPosition(e,2,!0,t)}revealPositionNearTop(e,t=0){this._revealPosition(e,5,!0,t)}_revealPosition(e,t,i,n){if(!G.L.isIPosition(e))throw Error("Invalid arguments");this._sendRevealRange(new Q.e(e.lineNumber,e.column,e.lineNumber,e.column),t,i,n)}getSelection(){return this._modelData?this._modelData.viewModel.getSelection():null}getSelections(){return this._modelData?this._modelData.viewModel.getSelections():null}setSelection(e,t="api"){let i=em.Y.isISelection(e),n=Q.e.isIRange(e);if(!i&&!n)throw Error("Invalid arguments");if(i)this._setSelectionImpl(e,t);else if(n){let i={selectionStartLineNumber:e.startLineNumber,selectionStartColumn:e.startColumn,positionLineNumber:e.endLineNumber,positionColumn:e.endColumn};this._setSelectionImpl(i,t)}}_setSelectionImpl(e,t){if(!this._modelData)return;let i=new em.Y(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn);this._modelData.viewModel.setSelections(t,[i])}revealLines(e,t,i=0){this._revealLines(e,t,0,i)}revealLinesInCenter(e,t,i=0){this._revealLines(e,t,1,i)}revealLinesInCenterIfOutsideViewport(e,t,i=0){this._revealLines(e,t,2,i)}revealLinesNearTop(e,t,i=0){this._revealLines(e,t,5,i)}_revealLines(e,t,i,n){if("number"!=typeof e||"number"!=typeof t)throw Error("Invalid arguments");this._sendRevealRange(new Q.e(e,1,t,1),i,!1,n)}revealRange(e,t=0,i=!1,n=!0){this._revealRange(e,i?1:0,n,t)}revealRangeInCenter(e,t=0){this._revealRange(e,1,!0,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._revealRange(e,2,!0,t)}revealRangeNearTop(e,t=0){this._revealRange(e,5,!0,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._revealRange(e,6,!0,t)}revealRangeAtTop(e,t=0){this._revealRange(e,3,!0,t)}_revealRange(e,t,i,n){if(!Q.e.isIRange(e))throw Error("Invalid arguments");this._sendRevealRange(Q.e.lift(e),t,i,n)}setSelections(e,t="api",i=0){if(this._modelData){if(!e||0===e.length)throw Error("Invalid arguments");for(let t=0,i=e.length;t0&&this._modelData.viewModel.restoreCursorState(t):this._modelData.viewModel.restoreCursorState([t]),this._contributions.restoreViewState(e.contributionsState||{});let i=this._modelData.viewModel.reduceRestoreState(e.viewState);this._modelData.view.restoreState(i)}}handleInitialized(){var e;null===(e=this._getViewModel())||void 0===e||e.visibleLinesStabilized()}getContribution(e){return this._contributions.get(e)}getActions(){return Array.from(this._actions.values())}getSupportedActions(){return this.getActions().filter(e=>e.isSupported())}getAction(e){return this._actions.get(e)||null}trigger(e,t,i){i=i||{};try{switch(this._beginUpdate(),t){case"compositionStart":this._startComposition();return;case"compositionEnd":this._endComposition(e);return;case"type":{let t=i;this._type(e,t.text||"");return}case"replacePreviousChar":{let t=i;this._compositionType(e,t.text||"",t.replaceCharCnt||0,0,0);return}case"compositionType":{let t=i;this._compositionType(e,t.text||"",t.replacePrevCharCnt||0,t.replaceNextCharCnt||0,t.positionDelta||0);return}case"paste":{let t=i;this._paste(e,t.text||"",t.pasteOnNewLine||!1,t.multicursorText||null,t.mode||null,t.clipboardEvent);return}case"cut":this._cut(e);return}let n=this.getAction(t);if(n){Promise.resolve(n.run(i)).then(void 0,p.dL);return}if(!this._modelData||this._triggerEditorCommand(e,t,i))return;this._triggerCommand(t,i)}finally{this._endUpdate()}}_triggerCommand(e,t){this._commandService.executeCommand(e,t)}_startComposition(){this._modelData&&(this._modelData.viewModel.startComposition(),this._onDidCompositionStart.fire())}_endComposition(e){this._modelData&&(this._modelData.viewModel.endComposition(e),this._onDidCompositionEnd.fire())}_type(e,t){this._modelData&&0!==t.length&&("keyboard"===e&&this._onWillType.fire(t),this._modelData.viewModel.type(t,e),"keyboard"===e&&this._onDidType.fire(t))}_compositionType(e,t,i,n,s){this._modelData&&this._modelData.viewModel.compositionType(t,i,n,s,e)}_paste(e,t,i,n,s,o){if(!this._modelData)return;let r=this._modelData.viewModel,l=r.getSelection().getStartPosition();r.paste(t,i,n,e);let a=r.getSelection().getStartPosition();"keyboard"===e&&this._onDidPaste.fire({clipboardEvent:o,range:new Q.e(l.lineNumber,l.column,a.lineNumber,a.column),languageId:s})}_cut(e){this._modelData&&this._modelData.viewModel.cut(e)}_triggerEditorCommand(e,t,i){let n=u.Uc.getEditorCommand(t);return!!n&&((i=i||{}).source=e,this._instantiationService.invokeFunction(e=>{Promise.resolve(n.runEditorCommand(e,this,i)).then(void 0,p.dL)}),!0)}_getViewModel(){return this._modelData?this._modelData.viewModel:null}pushUndoStop(){return!(!this._modelData||this._configuration.options.get(91))&&(this._modelData.model.pushStackElement(),!0)}popUndoStop(){return!(!this._modelData||this._configuration.options.get(91))&&(this._modelData.model.popStackElement(),!0)}executeEdits(e,t,i){let n;return!(!this._modelData||this._configuration.options.get(91))&&(n=i?Array.isArray(i)?()=>i:i:()=>null,this._modelData.viewModel.executeEdits(e,t,n),!0)}executeCommand(e,t){this._modelData&&this._modelData.viewModel.executeCommand(t,e)}executeCommands(e,t){this._modelData&&this._modelData.viewModel.executeCommands(t,e)}createDecorationsCollection(e){return new sa(this,e)}changeDecorations(e){return this._modelData?this._modelData.model.changeDecorations(e,this._id):null}getLineDecorations(e){return this._modelData?this._modelData.model.getLineDecorations(e,this._id,(0,I.$J)(this._configuration.options)):null}getDecorationsInRange(e){return this._modelData?this._modelData.model.getDecorationsInRange(e,this._id,(0,I.$J)(this._configuration.options)):null}deltaDecorations(e,t){return this._modelData?0===e.length&&0===t.length?e:this._modelData.model.deltaDecorations(e,t,this._id):[]}removeDecorations(e){this._modelData&&0!==e.length&&this._modelData.model.changeDecorations(t=>{t.deltaDecorations(e,[])})}removeDecorationsByType(e){let t=this._decorationTypeKeysToIds[e];t&&this.changeDecorations(e=>e.deltaDecorations(t,[])),this._decorationTypeKeysToIds.hasOwnProperty(e)&&delete this._decorationTypeKeysToIds[e],this._decorationTypeSubtypes.hasOwnProperty(e)&&delete this._decorationTypeSubtypes[e]}getLayoutInfo(){let e=this._configuration.options,t=e.get(145);return t}createOverviewRuler(e){return this._modelData&&this._modelData.hasRealView?this._modelData.view.createOverviewRuler(e):null}getContainerDomNode(){return this._domElement}getDomNode(){return this._modelData&&this._modelData.hasRealView?this._modelData.view.domNode.domNode:null}delegateVerticalScrollbarPointerDown(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateVerticalScrollbarPointerDown(e)}delegateScrollFromMouseWheelEvent(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateScrollFromMouseWheelEvent(e)}layout(e,t=!1){this._configuration.observeContainer(e),t||this.render()}focus(){this._modelData&&this._modelData.hasRealView&&this._modelData.view.focus()}hasTextFocus(){return!!this._modelData&&!!this._modelData.hasRealView&&this._modelData.view.isFocused()}hasWidgetFocus(){return this._focusTracker&&this._focusTracker.hasFocus()}addContentWidget(e){let t={widget:e,position:e.getPosition()};this._contentWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting a content widget with the same id:"+e.getId()),this._contentWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(t)}layoutContentWidget(e){let t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){let i=this._contentWidgets[t];i.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(i)}}removeContentWidget(e){let t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){let e=this._contentWidgets[t];delete this._contentWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(e)}}addOverlayWidget(e){let t={widget:e,position:e.getPosition()};this._overlayWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting an overlay widget with the same id."),this._overlayWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(t)}layoutOverlayWidget(e){let t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){let i=this._overlayWidgets[t];i.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(i)}}removeOverlayWidget(e){let t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){let e=this._overlayWidgets[t];delete this._overlayWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(e)}}addGlyphMarginWidget(e){let t={widget:e,position:e.getPosition()};this._glyphMarginWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting a glyph margin widget with the same id."),this._glyphMarginWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addGlyphMarginWidget(t)}layoutGlyphMarginWidget(e){let t=e.getId();if(this._glyphMarginWidgets.hasOwnProperty(t)){let i=this._glyphMarginWidgets[t];i.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutGlyphMarginWidget(i)}}removeGlyphMarginWidget(e){let t=e.getId();if(this._glyphMarginWidgets.hasOwnProperty(t)){let e=this._glyphMarginWidgets[t];delete this._glyphMarginWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeGlyphMarginWidget(e)}}changeViewZones(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.change(e)}getTargetAtClientPoint(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getTargetAtClientPoint(e,t):null}getScrolledVisiblePosition(e){if(!this._modelData||!this._modelData.hasRealView)return null;let t=this._modelData.model.validatePosition(e),i=this._configuration.options,n=i.get(145),s=d._getVerticalOffsetForPosition(this._modelData,t.lineNumber,t.column)-this.getScrollTop(),o=this._modelData.view.getOffsetForColumn(t.lineNumber,t.column)+n.glyphMarginWidth+n.lineNumbersWidth+n.decorationsWidth-this.getScrollLeft();return{top:s,left:o,height:i.get(67)}}getOffsetForColumn(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getOffsetForColumn(e,t):-1}render(e=!1){this._modelData&&this._modelData.hasRealView&&this._modelData.viewModel.batchEvents(()=>{this._modelData.view.render(!0,e)})}setAriaOptions(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.setAriaOptions(e)}applyFontInfo(e){(0,v.N)(e,this._configuration.options.get(50))}setBanner(e,t){this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),this._bannerDomNode=e,this._configuration.setReservedHeight(e?t:0),this._bannerDomNode&&this._domElement.prepend(this._bannerDomNode)}_attachModel(e){if(!e){this._modelData=null;return}let t=[];this._domElement.setAttribute("data-mode-id",e.getLanguageId()),this._configuration.setIsDominatedByLongLines(e.isDominatedByLongLines()),this._configuration.setModelLineCount(e.getLineCount());let i=e.onBeforeAttached(),n=new nJ(this._id,this._configuration,e,iD.create(g.Jj(this._domElement)),iF.create(this._configuration.options),e=>g.jL(g.Jj(this._domElement),e),this.languageConfigurationService,this._themeService,i);t.push(e.onWillDispose(()=>this.setModel(null))),t.push(n.onEvent(t=>{switch(t.kind){case 0:this._onDidContentSizeChange.fire(t);break;case 1:this._editorTextFocus.setValue(t.hasFocus);break;case 2:this._onDidScrollChange.fire(t);break;case 3:this._onDidChangeViewZones.fire();break;case 4:this._onDidChangeHiddenAreas.fire();break;case 5:this._onDidAttemptReadOnlyEdit.fire();break;case 6:{if(t.reachedMaxCursorCount){let e=this.getOption(80),t=eD.NC("cursors.maximum","The number of cursors has been limited to {0}. Consider using [find and replace](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace) for larger changes or increase the editor multi cursor limit setting.",e);this._notificationService.prompt(n9.zb.Warning,t,[{label:"Find and Replace",run:()=>{this._commandService.executeCommand("editor.action.startFindReplaceAction")}},{label:eD.NC("goToSetting","Increase Multi Cursor Limit"),run:()=>{this._commandService.executeCommand("workbench.action.openSettings2",{query:"editor.multiCursorLimit"})}}])}let e=[];for(let i=0,n=t.selections.length;i{this._paste("keyboard",e,t,i,n)},type:e=>{this._type("keyboard",e)},compositionType:(e,t,i,n)=>{this._compositionType("keyboard",e,t,i,n)},startComposition:()=>{this._startComposition()},endComposition:()=>{this._endComposition("keyboard")},cut:()=>{this._cut("keyboard")}}:{paste:(e,t,i,n)=>{this._commandService.executeCommand("paste",{text:e,pasteOnNewLine:t,multicursorText:i,mode:n})},type:e=>{this._commandService.executeCommand("type",{text:e})},compositionType:(e,t,i,n)=>{i||n?this._commandService.executeCommand("compositionType",{text:e,replacePrevCharCnt:t,replaceNextCharCnt:i,positionDelta:n}):this._commandService.executeCommand("replacePreviousChar",{text:e,replaceCharCnt:t})},startComposition:()=>{this._commandService.executeCommand("compositionStart",{})},endComposition:()=>{this._commandService.executeCommand("compositionEnd",{})},cut:()=>{this._commandService.executeCommand("cut",{})}};let i=new e5(e.coordinatesConverter);i.onKeyDown=e=>this._onKeyDown.fire(e),i.onKeyUp=e=>this._onKeyUp.fire(e),i.onContextMenu=e=>this._onContextMenu.fire(e),i.onMouseMove=e=>this._onMouseMove.fire(e),i.onMouseLeave=e=>this._onMouseLeave.fire(e),i.onMouseDown=e=>this._onMouseDown.fire(e),i.onMouseUp=e=>this._onMouseUp.fire(e),i.onMouseDrag=e=>this._onMouseDrag.fire(e),i.onMouseDrop=e=>this._onMouseDrop.fire(e),i.onMouseDropCanceled=e=>this._onMouseDropCanceled.fire(e),i.onMouseWheel=e=>this._onMouseWheel.fire(e);let n=new im(t,this._configuration,this._themeService.getColorTheme(),e,i,this._overflowWidgetsDomNode,this._instantiationService);return[n,!0]}_postDetachModelCleanup(e){null==e||e.removeAllDecorationsWithOwnerId(this._id)}_detachModel(){var e;if(null===(e=this._contributionsDisposable)||void 0===e||e.dispose(),this._contributionsDisposable=void 0,!this._modelData)return null;let t=this._modelData.model,i=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),i&&this._domElement.contains(i)&&this._domElement.removeChild(i),this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),t}_removeDecorationType(e){this._codeEditorService.removeDecorationType(e)}hasModel(){return null!==this._modelData}showDropIndicatorAt(e){let t=[{range:new Q.e(e.lineNumber,e.column,e.lineNumber,e.column),options:d.dropIntoEditorDecorationOptions}];this._dropIntoEditorDecorations.set(t),this.revealPosition(e,1)}removeDropIndicator(){this._dropIntoEditorDecorations.clear()}setContextValue(e,t){this._contextKeyService.createKey(e,t)}_beginUpdate(){this._updateCounter++,1===this._updateCounter&&this._onBeginUpdate.fire()}_endUpdate(){this._updateCounter--,0===this._updateCounter&&this._onEndUpdate.fire()}};se.dropIntoEditorDecorationOptions=iA.qx.register({description:"workbench-dnd-target",className:"dnd-target"}),se=d=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([n8(3,eH.TG),n8(4,H.$),n8(5,n4.H),n8(6,n3.i6),n8(7,eI.XE),n8(8,n9.lT),n8(9,R.F),n8(10,iR.c_),n8(11,iP.p)],se);let st=0;class si{constructor(e,t,i,n,s,o){this.model=e,this.viewModel=t,this.view=i,this.hasRealView=n,this.listenersToRemove=s,this.attachedView=o}dispose(){(0,f.B9)(this.listenersToRemove),this.model.onBeforeDetached(this.attachedView),this.hasRealView&&this.view.dispose(),this.viewModel.dispose()}}class sn extends f.JT{constructor(e){super(),this._emitterOptions=e,this._onDidChangeToTrue=this._register(new m.Q5(this._emitterOptions)),this.onDidChangeToTrue=this._onDidChangeToTrue.event,this._onDidChangeToFalse=this._register(new m.Q5(this._emitterOptions)),this.onDidChangeToFalse=this._onDidChangeToFalse.event,this._value=0}setValue(e){let t=e?2:1;this._value!==t&&(this._value=t,2===this._value?this._onDidChangeToTrue.fire():1===this._value&&this._onDidChangeToFalse.fire())}}class ss extends m.Q5{constructor(e,t){super({deliveryQueue:t}),this._contributions=e}fire(e){this._contributions.onBeforeInteractionEvent(),super.fire(e)}}class so extends f.JT{constructor(e,t){super(),this._editor=e,t.createKey("editorId",e.getId()),this._editorSimpleInput=iM.u.editorSimpleInput.bindTo(t),this._editorFocus=iM.u.focus.bindTo(t),this._textInputFocus=iM.u.textInputFocus.bindTo(t),this._editorTextFocus=iM.u.editorTextFocus.bindTo(t),this._tabMovesFocus=iM.u.tabMovesFocus.bindTo(t),this._editorReadonly=iM.u.readOnly.bindTo(t),this._inDiffEditor=iM.u.inDiffEditor.bindTo(t),this._editorColumnSelection=iM.u.columnSelection.bindTo(t),this._hasMultipleSelections=iM.u.hasMultipleSelections.bindTo(t),this._hasNonEmptySelection=iM.u.hasNonEmptySelection.bindTo(t),this._canUndo=iM.u.canUndo.bindTo(t),this._canRedo=iM.u.canRedo.bindTo(t),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromConfig())),this._register(this._editor.onDidChangeCursorSelection(()=>this._updateFromSelection())),this._register(this._editor.onDidFocusEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidFocusEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidChangeModel(()=>this._updateFromModel())),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromModel())),this._register(E.n.onDidChangeTabFocus(e=>this._tabMovesFocus.set(e))),this._updateFromConfig(),this._updateFromSelection(),this._updateFromFocus(),this._updateFromModel(),this._editorSimpleInput.set(this._editor.isSimpleWidget)}_updateFromConfig(){let e=this._editor.getOptions();this._tabMovesFocus.set(E.n.getTabFocusMode()),this._editorReadonly.set(e.get(91)),this._inDiffEditor.set(e.get(61)),this._editorColumnSelection.set(e.get(22))}_updateFromSelection(){let e=this._editor.getSelections();e?(this._hasMultipleSelections.set(e.length>1),this._hasNonEmptySelection.set(e.some(e=>!e.isEmpty()))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())}_updateFromFocus(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())}_updateFromModel(){let e=this._editor.getModel();this._canUndo.set(!!(e&&e.canUndo())),this._canRedo.set(!!(e&&e.canRedo()))}}class sr extends f.JT{constructor(e,t,i){super(),this._editor=e,this._contextKeyService=t,this._languageFeaturesService=i,this._langId=iM.u.languageId.bindTo(t),this._hasCompletionItemProvider=iM.u.hasCompletionItemProvider.bindTo(t),this._hasCodeActionsProvider=iM.u.hasCodeActionsProvider.bindTo(t),this._hasCodeLensProvider=iM.u.hasCodeLensProvider.bindTo(t),this._hasDefinitionProvider=iM.u.hasDefinitionProvider.bindTo(t),this._hasDeclarationProvider=iM.u.hasDeclarationProvider.bindTo(t),this._hasImplementationProvider=iM.u.hasImplementationProvider.bindTo(t),this._hasTypeDefinitionProvider=iM.u.hasTypeDefinitionProvider.bindTo(t),this._hasHoverProvider=iM.u.hasHoverProvider.bindTo(t),this._hasDocumentHighlightProvider=iM.u.hasDocumentHighlightProvider.bindTo(t),this._hasDocumentSymbolProvider=iM.u.hasDocumentSymbolProvider.bindTo(t),this._hasReferenceProvider=iM.u.hasReferenceProvider.bindTo(t),this._hasRenameProvider=iM.u.hasRenameProvider.bindTo(t),this._hasSignatureHelpProvider=iM.u.hasSignatureHelpProvider.bindTo(t),this._hasInlayHintsProvider=iM.u.hasInlayHintsProvider.bindTo(t),this._hasDocumentFormattingProvider=iM.u.hasDocumentFormattingProvider.bindTo(t),this._hasDocumentSelectionFormattingProvider=iM.u.hasDocumentSelectionFormattingProvider.bindTo(t),this._hasMultipleDocumentFormattingProvider=iM.u.hasMultipleDocumentFormattingProvider.bindTo(t),this._hasMultipleDocumentSelectionFormattingProvider=iM.u.hasMultipleDocumentSelectionFormattingProvider.bindTo(t),this._isInEmbeddedEditor=iM.u.isInEmbeddedEditor.bindTo(t);let n=()=>this._update();this._register(e.onDidChangeModel(n)),this._register(e.onDidChangeModelLanguage(n)),this._register(i.completionProvider.onDidChange(n)),this._register(i.codeActionProvider.onDidChange(n)),this._register(i.codeLensProvider.onDidChange(n)),this._register(i.definitionProvider.onDidChange(n)),this._register(i.declarationProvider.onDidChange(n)),this._register(i.implementationProvider.onDidChange(n)),this._register(i.typeDefinitionProvider.onDidChange(n)),this._register(i.hoverProvider.onDidChange(n)),this._register(i.documentHighlightProvider.onDidChange(n)),this._register(i.documentSymbolProvider.onDidChange(n)),this._register(i.referenceProvider.onDidChange(n)),this._register(i.renameProvider.onDidChange(n)),this._register(i.documentFormattingEditProvider.onDidChange(n)),this._register(i.documentRangeFormattingEditProvider.onDidChange(n)),this._register(i.signatureHelpProvider.onDidChange(n)),this._register(i.inlayHintsProvider.onDidChange(n)),n()}dispose(){super.dispose()}reset(){this._contextKeyService.bufferChangeEvents(()=>{this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInEmbeddedEditor.reset()})}_update(){let e=this._editor.getModel();if(!e){this.reset();return}this._contextKeyService.bufferChangeEvents(()=>{this._langId.set(e.getLanguageId()),this._hasCompletionItemProvider.set(this._languageFeaturesService.completionProvider.has(e)),this._hasCodeActionsProvider.set(this._languageFeaturesService.codeActionProvider.has(e)),this._hasCodeLensProvider.set(this._languageFeaturesService.codeLensProvider.has(e)),this._hasDefinitionProvider.set(this._languageFeaturesService.definitionProvider.has(e)),this._hasDeclarationProvider.set(this._languageFeaturesService.declarationProvider.has(e)),this._hasImplementationProvider.set(this._languageFeaturesService.implementationProvider.has(e)),this._hasTypeDefinitionProvider.set(this._languageFeaturesService.typeDefinitionProvider.has(e)),this._hasHoverProvider.set(this._languageFeaturesService.hoverProvider.has(e)),this._hasDocumentHighlightProvider.set(this._languageFeaturesService.documentHighlightProvider.has(e)),this._hasDocumentSymbolProvider.set(this._languageFeaturesService.documentSymbolProvider.has(e)),this._hasReferenceProvider.set(this._languageFeaturesService.referenceProvider.has(e)),this._hasRenameProvider.set(this._languageFeaturesService.renameProvider.has(e)),this._hasSignatureHelpProvider.set(this._languageFeaturesService.signatureHelpProvider.has(e)),this._hasInlayHintsProvider.set(this._languageFeaturesService.inlayHintsProvider.has(e)),this._hasDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.has(e)||this._languageFeaturesService.documentRangeFormattingEditProvider.has(e)),this._hasDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.has(e)),this._hasMultipleDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.all(e).length+this._languageFeaturesService.documentRangeFormattingEditProvider.all(e).length>1),this._hasMultipleDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.all(e).length>1),this._isInEmbeddedEditor.set(e.uri.scheme===_.lg.walkThroughSnippet||e.uri.scheme===_.lg.vscodeChatCodeBlock)})}}class sl extends f.JT{constructor(e,t){super(),this._onChange=this._register(new m.Q5),this.onChange=this._onChange.event,this._hadFocus=void 0,this._hasDomElementFocus=!1,this._domFocusTracker=this._register(g.go(e)),this._overflowWidgetsDomNodeHasFocus=!1,this._register(this._domFocusTracker.onDidFocus(()=>{this._hasDomElementFocus=!0,this._update()})),this._register(this._domFocusTracker.onDidBlur(()=>{this._hasDomElementFocus=!1,this._update()})),t&&(this._overflowWidgetsDomNode=this._register(g.go(t)),this._register(this._overflowWidgetsDomNode.onDidFocus(()=>{this._overflowWidgetsDomNodeHasFocus=!0,this._update()})),this._register(this._overflowWidgetsDomNode.onDidBlur(()=>{this._overflowWidgetsDomNodeHasFocus=!1,this._update()})))}_update(){let e=this._hasDomElementFocus||this._overflowWidgetsDomNodeHasFocus;this._hadFocus!==e&&(this._hadFocus=e,this._onChange.fire(void 0))}hasFocus(){var e;return null!==(e=this._hadFocus)&&void 0!==e&&e}}class sa{get length(){return this._decorationIds.length}constructor(e,t){this._editor=e,this._decorationIds=[],this._isChangingDecorations=!1,Array.isArray(t)&&t.length>0&&this.set(t)}onDidChange(e,t,i){return this._editor.onDidChangeModelDecorations(i=>{this._isChangingDecorations||e.call(t,i)},i)}getRange(e){return!this._editor.hasModel()||e>=this._decorationIds.length?null:this._editor.getModel().getDecorationRange(this._decorationIds[e])}getRanges(){if(!this._editor.hasModel())return[];let e=this._editor.getModel(),t=[];for(let i of this._decorationIds){let n=e.getDecorationRange(i);n&&t.push(n)}return t}has(e){return this._decorationIds.includes(e.id)}clear(){0!==this._decorationIds.length&&this.set([])}set(e){try{this._isChangingDecorations=!0,this._editor.changeDecorations(t=>{this._decorationIds=t.deltaDecorations(this._decorationIds,e)})}finally{this._isChangingDecorations=!1}return this._decorationIds}append(e){let t=[];try{this._isChangingDecorations=!0,this._editor.changeDecorations(i=>{t=i.deltaDecorations([],e),this._decorationIds=this._decorationIds.concat(t)})}finally{this._isChangingDecorations=!1}return t}}let sd=encodeURIComponent("");function su(e){return sd+encodeURIComponent(e.toString())+sh}let sc=encodeURIComponent('');(0,eI.Ic)((e,t)=>{let i=e.getColor(tR.lXJ);i&&t.addRule(`.monaco-editor .squiggly-error { background: url("data:image/svg+xml,${su(i)}") repeat-x bottom left; }`);let n=e.getColor(tR.uoC);n&&t.addRule(`.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,${su(n)}") repeat-x bottom left; }`);let s=e.getColor(tR.c63);s&&t.addRule(`.monaco-editor .squiggly-info { background: url("data:image/svg+xml,${su(s)}") repeat-x bottom left; }`);let o=e.getColor(tR.Dut);o&&t.addRule(`.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,${sc+encodeURIComponent(o.toString())+sg}") no-repeat bottom left; }`);let r=e.getColor(eT.zu);r&&t.addRule(`.monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: ${r.rgba.a}; }`)})},22874:function(e,t,i){"use strict";i.d(t,{H:function(){return m}});var n=i(36248),s=i(11640),o=i(16741),r=i(4256),l=i(71922),a=i(31106),d=i(94565),h=i(32064),u=i(72065),c=i(59422),g=i(97781),p=function(e,t){return function(i,n){t(i,n,e)}};let m=class extends o.Gm{constructor(e,t,i,n,s,o,r,l,a,d,h,u,c){super(e,{...n.getRawOptions(),overflowWidgetsDomNode:n.getOverflowWidgetsDomNode()},i,s,o,r,l,a,d,h,u,c),this._parentEditor=n,this._overwriteOptions=t,super.updateOptions(this._overwriteOptions),this._register(n.onDidChangeConfiguration(e=>this._onParentConfigurationChanged(e)))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(e){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(e){n.jB(this._overwriteOptions,e,!0),super.updateOptions(this._overwriteOptions)}};m=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([p(4,u.TG),p(5,s.$),p(6,d.H),p(7,h.i6),p(8,g.XE),p(9,c.lT),p(10,a.F),p(11,r.c_),p(12,l.p)],m)},27913:function(e,t,i){"use strict";var n=i(78789),s=i(65321),o=i(16830),r=i(11640),l=i(4425),a=i(29102),d=i(63580),h=i(84144),u=i(33108),c=i(32064);i(48354);class g extends h.Ke{constructor(){super({id:"diffEditor.toggleCollapseUnchangedRegions",title:(0,d.vv)("toggleCollapseUnchangedRegions","Toggle Collapse Unchanged Regions"),icon:n.l.map,toggled:c.Ao.has("config.diffEditor.hideUnchangedRegions.enabled"),precondition:c.Ao.has("isInDiffEditor"),menu:{when:c.Ao.has("isInDiffEditor"),id:h.eH.EditorTitle,order:22,group:"navigation"}})}run(e,...t){let i=e.get(u.Ui),n=!i.getValue("diffEditor.hideUnchangedRegions.enabled");i.updateValue("diffEditor.hideUnchangedRegions.enabled",n)}}class p extends h.Ke{constructor(){super({id:"diffEditor.toggleShowMovedCodeBlocks",title:(0,d.vv)("toggleShowMovedCodeBlocks","Toggle Show Moved Code Blocks"),precondition:c.Ao.has("isInDiffEditor")})}run(e,...t){let i=e.get(u.Ui),n=!i.getValue("diffEditor.experimental.showMoves");i.updateValue("diffEditor.experimental.showMoves",n)}}class m extends h.Ke{constructor(){super({id:"diffEditor.toggleUseInlineViewWhenSpaceIsLimited",title:(0,d.vv)("toggleUseInlineViewWhenSpaceIsLimited","Toggle Use Inline View When Space Is Limited"),precondition:c.Ao.has("isInDiffEditor")})}run(e,...t){let i=e.get(u.Ui),n=!i.getValue("diffEditor.useInlineViewWhenSpaceIsLimited");i.updateValue("diffEditor.useInlineViewWhenSpaceIsLimited",n)}}let f=(0,d.vv)("diffEditor","Diff Editor");class _ extends o.x1{constructor(){super({id:"diffEditor.switchSide",title:(0,d.vv)("switchSide","Switch Side"),icon:n.l.arrowSwap,precondition:c.Ao.has("isInDiffEditor"),f1:!0,category:f})}runEditorCommand(e,t,i){let n=k(e);if(n instanceof l.p){if(i&&i.dryRun)return{destinationSelection:n.mapToOtherSide().destinationSelection};n.switchSide()}}}class v extends o.x1{constructor(){super({id:"diffEditor.exitCompareMove",title:(0,d.vv)("exitCompareMove","Exit Compare Move"),icon:n.l.close,precondition:a.u.comparingMovedCode,f1:!1,category:f,keybinding:{weight:1e4,primary:9}})}runEditorCommand(e,t,...i){let n=k(e);n instanceof l.p&&n.exitCompareMove()}}class b extends o.x1{constructor(){super({id:"diffEditor.collapseAllUnchangedRegions",title:(0,d.vv)("collapseAllUnchangedRegions","Collapse All Unchanged Regions"),icon:n.l.fold,precondition:c.Ao.has("isInDiffEditor"),f1:!0,category:f})}runEditorCommand(e,t,...i){let n=k(e);n instanceof l.p&&n.collapseAllUnchangedRegions()}}class C extends o.x1{constructor(){super({id:"diffEditor.showAllUnchangedRegions",title:(0,d.vv)("showAllUnchangedRegions","Show All Unchanged Regions"),icon:n.l.unfold,precondition:c.Ao.has("isInDiffEditor"),f1:!0,category:f})}runEditorCommand(e,t,...i){let n=k(e);n instanceof l.p&&n.showAllUnchangedRegions()}}class w extends h.Ke{constructor(){super({id:"diffEditor.revert",title:(0,d.vv)("revert","Revert"),f1:!1,category:f})}run(e,t){var i;let n=function(e,t,i){let n=e.get(r.$),s=n.listDiffEditors();return s.find(e=>{var n,s;let o=e.getModifiedEditor(),r=e.getOriginalEditor();return o&&(null===(n=o.getModel())||void 0===n?void 0:n.uri.toString())===i.toString()&&r&&(null===(s=r.getModel())||void 0===s?void 0:s.uri.toString())===t.toString()})||null}(e,t.originalUri,t.modifiedUri);n instanceof l.p&&n.revertRangeMappings(null!==(i=t.mapping.innerChanges)&&void 0!==i?i:[])}}let y=(0,d.vv)("accessibleDiffViewer","Accessible Diff Viewer");class S extends h.Ke{constructor(){super({id:S.id,title:(0,d.vv)("editor.action.accessibleDiffViewer.next","Go to Next Difference"),category:y,precondition:c.Ao.has("isInDiffEditor"),keybinding:{primary:65,weight:100},f1:!0})}run(e){let t=k(e);null==t||t.accessibleDiffViewerNext()}}S.id="editor.action.accessibleDiffViewer.next";class L extends h.Ke{constructor(){super({id:L.id,title:(0,d.vv)("editor.action.accessibleDiffViewer.prev","Go to Previous Difference"),category:y,precondition:c.Ao.has("isInDiffEditor"),keybinding:{primary:1089,weight:100},f1:!0})}run(e){let t=k(e);null==t||t.accessibleDiffViewerPrev()}}function k(e){let t=e.get(r.$),i=t.listDiffEditors(),n=(0,s.vY)();if(n)for(let e of i){let t=e.getContainerDomNode();if(function(e,t){let i=t;for(;i;){if(i===e)return!0;i=i.parentElement}return!1}(t,n))return e}return null}L.id="editor.action.accessibleDiffViewer.prev";var D=i(94565);for(let e of((0,h.r1)(g),(0,h.r1)(p),(0,h.r1)(m),h.BH.appendMenuItem(h.eH.EditorTitle,{command:{id:new m().desc.id,title:(0,d.NC)("useInlineViewWhenSpaceIsLimited","Use Inline View When Space Is Limited"),toggled:c.Ao.has("config.diffEditor.useInlineViewWhenSpaceIsLimited"),precondition:c.Ao.has("isInDiffEditor")},order:11,group:"1_diff",when:c.Ao.and(a.u.diffEditorRenderSideBySideInlineBreakpointReached,c.Ao.has("isInDiffEditor"))}),h.BH.appendMenuItem(h.eH.EditorTitle,{command:{id:new p().desc.id,title:(0,d.NC)("showMoves","Show Moved Code Blocks"),icon:n.l.move,toggled:c.cP.create("config.diffEditor.experimental.showMoves",!0),precondition:c.Ao.has("isInDiffEditor")},order:10,group:"1_diff",when:c.Ao.has("isInDiffEditor")}),(0,h.r1)(w),[{icon:n.l.arrowRight,key:a.u.diffEditorInlineMode.toNegated()},{icon:n.l.discard,key:a.u.diffEditorInlineMode}]))h.BH.appendMenuItem(h.eH.DiffEditorHunkToolbar,{command:{id:new w().desc.id,title:(0,d.NC)("revertHunk","Revert Block"),icon:e.icon},when:c.Ao.and(a.u.diffEditorModifiedWritable,e.key),order:5,group:"primary"}),h.BH.appendMenuItem(h.eH.DiffEditorSelectionToolbar,{command:{id:new w().desc.id,title:(0,d.NC)("revertSelection","Revert Selection"),icon:e.icon},when:c.Ao.and(a.u.diffEditorModifiedWritable,e.key),order:5,group:"primary"});(0,h.r1)(_),(0,h.r1)(v),(0,h.r1)(b),(0,h.r1)(C),h.BH.appendMenuItem(h.eH.EditorTitle,{command:{id:S.id,title:(0,d.NC)("Open Accessible Diff Viewer","Open Accessible Diff Viewer"),precondition:c.Ao.has("isInDiffEditor")},order:10,group:"2_diff",when:c.Ao.and(a.u.accessibleDiffViewerVisible.negate(),c.Ao.has("isInDiffEditor"))}),D.P.registerCommandAlias("editor.action.diffReview.next",S.id),(0,h.r1)(S),D.P.registerCommandAlias("editor.action.diffReview.prev",L.id),(0,h.r1)(L)},4425:function(e,t,i){"use strict";i.d(t,{p:function(){return tx}});var n,s,o,r,l,a,d=i(65321),h=i(35534),u=i(17301),c=i(4669),g=i(5976),p=i(39901),m=i(54282);i(60974);var f=i(16830),_=i(11640),v=i(43407),b=i(16741),C=i(77514),w=i(90317),y=i(18967),S=i(74741),L=i(9488),k=i(78789),D=i(25670),x=i(52136),N=i(31651),E=i(64141),I=i(45463),T=i(19247),M=i(50187),R=i(24314),A=i(54648),P=i(72042),O=i(77378),F=i(72202),B=i(1118),W=i(63580),H=i(38832),V=i(72065),z=i(59554);i(12113);var K=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},U=function(e,t){return function(i,n){t(i,n,e)}};let $=(0,z.q5)("diff-review-insert",k.l.add,(0,W.NC)("accessibleDiffViewerInsertIcon","Icon for 'Insert' in accessible diff viewer.")),q=(0,z.q5)("diff-review-remove",k.l.remove,(0,W.NC)("accessibleDiffViewerRemoveIcon","Icon for 'Remove' in accessible diff viewer.")),j=(0,z.q5)("diff-review-close",k.l.close,(0,W.NC)("accessibleDiffViewerCloseIcon","Icon for 'Close' in accessible diff viewer.")),G=class extends g.JT{constructor(e,t,i,n,s,o,r,l,a){super(),this._parentNode=e,this._visible=t,this._setVisible=i,this._canClose=n,this._width=s,this._height=o,this._diffs=r,this._models=l,this._instantiationService=a,this._state=(0,p.Be)(this,(e,t)=>{let i=this._visible.read(e);if(this._parentNode.style.visibility=i?"visible":"hidden",!i)return null;let n=t.add(this._instantiationService.createInstance(Q,this._diffs,this._models,this._setVisible,this._canClose)),s=t.add(this._instantiationService.createInstance(et,this._parentNode,n,this._width,this._height,this._models));return{model:n,view:s}}).recomputeInitiallyAndOnChange(this._store)}next(){(0,p.PS)(e=>{let t=this._visible.get();this._setVisible(!0,e),t&&this._state.get().model.nextGroup(e)})}prev(){(0,p.PS)(e=>{this._setVisible(!0,e),this._state.get().model.previousGroup(e)})}close(){(0,p.PS)(e=>{this._setVisible(!1,e)})}};G._ttPolicy=(0,C.Z)("diffReview",{createHTML:e=>e}),G=K([U(8,V.TG)],G);let Q=class extends g.JT{constructor(e,t,i,n,s){super(),this._diffs=e,this._models=t,this._setVisible=i,this.canClose=n,this._accessibilitySignalService=s,this._groups=(0,p.uh)(this,[]),this._currentGroupIdx=(0,p.uh)(this,0),this._currentElementIdx=(0,p.uh)(this,0),this.groups=this._groups,this.currentGroup=this._currentGroupIdx.map((e,t)=>this._groups.read(t)[e]),this.currentGroupIndex=this._currentGroupIdx,this.currentElement=this._currentElementIdx.map((e,t)=>{var i;return null===(i=this.currentGroup.read(t))||void 0===i?void 0:i.lines[e]}),this._register((0,p.EH)(e=>{let t=this._diffs.read(e);if(!t){this._groups.set([],void 0);return}let i=function(e,t,i){let n=[];for(let s of(0,L.mw)(e,(e,t)=>t.modified.startLineNumber-e.modified.endLineNumberExclusive<6)){let e=[];e.push(new Y);let o=new I.z(Math.max(1,s[0].original.startLineNumber-3),Math.min(s[s.length-1].original.endLineNumberExclusive+3,t+1)),r=new I.z(Math.max(1,s[0].modified.startLineNumber-3),Math.min(s[s.length-1].modified.endLineNumberExclusive+3,i+1));(0,L.zy)(s,(t,i)=>{let n=new I.z(t?t.original.endLineNumberExclusive:o.startLineNumber,i?i.original.startLineNumber:o.endLineNumberExclusive),s=new I.z(t?t.modified.endLineNumberExclusive:r.startLineNumber,i?i.modified.startLineNumber:r.endLineNumberExclusive);n.forEach(t=>{e.push(new ee(t,s.startLineNumber+(t-n.startLineNumber)))}),i&&(i.original.forEach(t=>{e.push(new J(i,t))}),i.modified.forEach(t=>{e.push(new X(i,t))}))});let l=s[0].modified.join(s[s.length-1].modified),a=s[0].original.join(s[s.length-1].original);n.push(new Z(new A.f0(l,a),e))}return n}(t,this._models.getOriginalModel().getLineCount(),this._models.getModifiedModel().getLineCount());(0,p.PS)(e=>{let t=this._models.getModifiedPosition();if(t){let n=i.findIndex(e=>(null==t?void 0:t.lineNumber){let t=this.currentElement.read(e);(null==t?void 0:t.type)===r.Deleted?this._accessibilitySignalService.playSignal(H.iP.diffLineDeleted,{source:"accessibleDiffViewer.currentElementChanged"}):(null==t?void 0:t.type)===r.Added&&this._accessibilitySignalService.playSignal(H.iP.diffLineInserted,{source:"accessibleDiffViewer.currentElementChanged"})})),this._register((0,p.EH)(e=>{var t;let i=this.currentElement.read(e);if(i&&i.type!==r.Header){let e=null!==(t=i.modifiedLineNumber)&&void 0!==t?t:i.diff.modified.startLineNumber;this._models.modifiedSetSelection(R.e.fromPositions(new M.L(e,1)))}}))}_goToGroupDelta(e,t){let i=this.groups.get();i&&!(i.length<=1)&&(0,p.c8)(t,t=>{this._currentGroupIdx.set(T.q.ofLength(i.length).clipCyclic(this._currentGroupIdx.get()+e),t),this._currentElementIdx.set(0,t)})}nextGroup(e){this._goToGroupDelta(1,e)}previousGroup(e){this._goToGroupDelta(-1,e)}_goToLineDelta(e){let t=this.currentGroup.get();t&&!(t.lines.length<=1)&&(0,p.PS)(i=>{this._currentElementIdx.set(T.q.ofLength(t.lines.length).clip(this._currentElementIdx.get()+e),i)})}goToNextLine(){this._goToLineDelta(1)}goToPreviousLine(){this._goToLineDelta(-1)}goToLine(e){let t=this.currentGroup.get();if(!t)return;let i=t.lines.indexOf(e);-1!==i&&(0,p.PS)(e=>{this._currentElementIdx.set(i,e)})}revealCurrentElementInEditor(){if(!this.canClose.get())return;this._setVisible(!1,void 0);let e=this.currentElement.get();e&&(e.type===r.Deleted?this._models.originalReveal(R.e.fromPositions(new M.L(e.originalLineNumber,1))):this._models.modifiedReveal(e.type!==r.Header?R.e.fromPositions(new M.L(e.modifiedLineNumber,1)):void 0))}close(){this.canClose.get()&&(this._setVisible(!1,void 0),this._models.modifiedFocus())}};Q=K([U(4,H.IV)],Q),(n=r||(r={}))[n.Header=0]="Header",n[n.Unchanged=1]="Unchanged",n[n.Deleted=2]="Deleted",n[n.Added=3]="Added";class Z{constructor(e,t){this.range=e,this.lines=t}}class Y{constructor(){this.type=r.Header}}class J{constructor(e,t){this.diff=e,this.originalLineNumber=t,this.type=r.Deleted,this.modifiedLineNumber=void 0}}class X{constructor(e,t){this.diff=e,this.modifiedLineNumber=t,this.type=r.Added,this.originalLineNumber=void 0}}class ee{constructor(e,t){this.originalLineNumber=e,this.modifiedLineNumber=t,this.type=r.Unchanged}}let et=class extends g.JT{constructor(e,t,i,n,s,o){super(),this._element=e,this._model=t,this._width=i,this._height=n,this._models=s,this._languageService=o,this.domNode=this._element,this.domNode.className="monaco-component diff-review monaco-editor-background";let r=document.createElement("div");r.className="diff-review-actions",this._actionBar=this._register(new w.o(r)),this._register((0,p.EH)(e=>{this._actionBar.clear(),this._model.canClose.read(e)&&this._actionBar.push(new S.aU("diffreview.close",(0,W.NC)("label.close","Close"),"close-diff-review "+D.k.asClassName(j),!0,async()=>t.close()),{label:!1,icon:!0})})),this._content=document.createElement("div"),this._content.className="diff-review-content",this._content.setAttribute("role","code"),this._scrollbar=this._register(new y.s$(this._content,{})),(0,d.mc)(this.domNode,this._scrollbar.getDomNode(),r),this._register((0,p.EH)(e=>{this._height.read(e),this._width.read(e),this._scrollbar.scanDomNode()})),this._register((0,g.OF)(()=>{(0,d.mc)(this.domNode)})),this._register((0,N.bg)(this.domNode,{width:this._width,height:this._height})),this._register((0,N.bg)(this._content,{width:this._width,height:this._height})),this._register((0,p.gp)((e,t)=>{this._model.currentGroup.read(e),this._render(t)})),this._register((0,d.mu)(this.domNode,"keydown",e=>{(e.equals(18)||e.equals(2066)||e.equals(530))&&(e.preventDefault(),this._model.goToNextLine()),(e.equals(16)||e.equals(2064)||e.equals(528))&&(e.preventDefault(),this._model.goToPreviousLine()),(e.equals(9)||e.equals(2057)||e.equals(521)||e.equals(1033))&&(e.preventDefault(),this._model.close()),(e.equals(10)||e.equals(3))&&(e.preventDefault(),this._model.revealCurrentElementInEditor())}))}_render(e){let t=this._models.getOriginalOptions(),i=this._models.getModifiedOptions(),n=document.createElement("div");n.className="diff-review-table",n.setAttribute("role","list"),n.setAttribute("aria-label",(0,W.NC)("ariaLabel","Accessible Diff Viewer. Use arrow up and down to navigate.")),(0,x.N)(n,i.get(50)),(0,d.mc)(this._content,n);let s=this._models.getOriginalModel(),o=this._models.getModifiedModel();if(!s||!o)return;let l=s.getOptions(),a=o.getOptions(),h=i.get(67),u=this._model.currentGroup.get();for(let c of(null==u?void 0:u.lines)||[]){let g;if(!u)break;if(c.type===r.Header){let e=document.createElement("div");e.className="diff-review-row",e.setAttribute("role","listitem");let t=u.range,i=this._model.currentGroupIndex.get(),n=this._model.groups.get().length,s=e=>0===e?(0,W.NC)("no_lines_changed","no lines changed"):1===e?(0,W.NC)("one_line_changed","1 line changed"):(0,W.NC)("more_lines_changed","{0} lines changed",e),o=s(t.original.length),r=s(t.modified.length);e.setAttribute("aria-label",(0,W.NC)({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines changed", "1 line changed" or "X lines changed", localized separately.']},"Difference {0} of {1}: original line {2}, {3}, modified line {4}, {5}",i+1,n,t.original.startLineNumber,o,t.modified.startLineNumber,r));let l=document.createElement("div");l.className="diff-review-cell diff-review-summary",l.appendChild(document.createTextNode(`${i+1}/${n}: @@ -${t.original.startLineNumber},${t.original.length} +${t.modified.startLineNumber},${t.modified.length} @@`)),e.appendChild(l),g=e}else g=this._createRow(c,h,this._width.get(),t,s,l,i,o,a);n.appendChild(g);let m=(0,p.nK)(e=>this._model.currentElement.read(e)===c);e.add((0,p.EH)(e=>{let t=m.read(e);g.tabIndex=t?0:-1,t&&g.focus()})),e.add((0,d.nm)(g,"focus",()=>{this._model.goToLine(c)}))}this._scrollbar.scanDomNode()}_createRow(e,t,i,n,s,o,l,a,d){let h;let u=n.get(145),c=u.glyphMarginWidth+u.lineNumbersWidth,g=l.get(145),p=10+g.glyphMarginWidth+g.lineNumbersWidth,m="diff-review-row",f="",_=null;switch(e.type){case r.Added:m="diff-review-row line-insert",f=" char-insert",_=$;break;case r.Deleted:m="diff-review-row line-delete",f=" char-delete",_=q}let v=document.createElement("div");v.style.minWidth=i+"px",v.className=m,v.setAttribute("role","listitem"),v.ariaLevel="";let b=document.createElement("div");b.className="diff-review-cell",b.style.height=`${t}px`,v.appendChild(b);let C=document.createElement("span");C.style.width=c+"px",C.style.minWidth=c+"px",C.className="diff-review-line-number"+f,void 0!==e.originalLineNumber?C.appendChild(document.createTextNode(String(e.originalLineNumber))):C.innerText="\xa0",b.appendChild(C);let w=document.createElement("span");w.style.width=p+"px",w.style.minWidth=p+"px",w.style.paddingRight="10px",w.className="diff-review-line-number"+f,void 0!==e.modifiedLineNumber?w.appendChild(document.createTextNode(String(e.modifiedLineNumber))):w.innerText="\xa0",b.appendChild(w);let y=document.createElement("span");if(y.className="diff-review-spacer",_){let e=document.createElement("span");e.className=D.k.asClassName(_),e.innerText="\xa0\xa0",y.appendChild(e)}else y.innerText="\xa0\xa0";if(b.appendChild(y),void 0!==e.modifiedLineNumber){let t=this._getLineHtml(a,l,d.tabSize,e.modifiedLineNumber,this._languageService.languageIdCodec);G._ttPolicy&&(t=G._ttPolicy.createHTML(t)),b.insertAdjacentHTML("beforeend",t),h=a.getLineContent(e.modifiedLineNumber)}else{let t=this._getLineHtml(s,n,o.tabSize,e.originalLineNumber,this._languageService.languageIdCodec);G._ttPolicy&&(t=G._ttPolicy.createHTML(t)),b.insertAdjacentHTML("beforeend",t),h=s.getLineContent(e.originalLineNumber)}0===h.length&&(h=(0,W.NC)("blankLine","blank"));let S="";switch(e.type){case r.Unchanged:S=e.originalLineNumber===e.modifiedLineNumber?(0,W.NC)({key:"unchangedLine",comment:["The placeholders are contents of the line and should not be translated."]},"{0} unchanged line {1}",h,e.originalLineNumber):(0,W.NC)("equalLine","{0} original line {1} modified line {2}",h,e.originalLineNumber,e.modifiedLineNumber);break;case r.Added:S=(0,W.NC)("insertLine","+ {0} modified line {1}",h,e.modifiedLineNumber);break;case r.Deleted:S=(0,W.NC)("deleteLine","- {0} original line {1}",h,e.originalLineNumber)}return v.setAttribute("aria-label",S),v}_getLineHtml(e,t,i,n,s){let o=e.getLineContent(n),r=t.get(50),l=O.A.createEmpty(o,s),a=B.wA.isBasicASCII(o,e.mightContainNonBasicASCII()),d=B.wA.containsRTL(o,a,e.mightContainRTL()),h=(0,F.tF)(new F.IJ(r.isMonospace&&!t.get(33),r.canUseHalfwidthRightwardsArrow,o,!1,a,d,0,l,[],i,0,r.spaceWidth,r.middotWidth,r.wsmiddotWidth,t.get(117),t.get(99),t.get(94),t.get(51)!==E.n0.OFF,null));return h.html}};et=K([U(5,P.O)],et);class ei{constructor(e){this.editors=e}getOriginalModel(){return this.editors.original.getModel()}getOriginalOptions(){return this.editors.original.getOptions()}originalReveal(e){this.editors.original.revealRange(e),this.editors.original.setSelection(e),this.editors.original.focus()}getModifiedModel(){return this.editors.modified.getModel()}getModifiedOptions(){return this.editors.modified.getOptions()}modifiedReveal(e){e&&(this.editors.modified.revealRange(e),this.editors.modified.setSelection(e)),this.editors.modified.focus()}modifiedSetSelection(e){this.editors.modified.setSelection(e)}modifiedFocus(){this.editors.modified.focus()}getModifiedPosition(){var e;return null!==(e=this.editors.modified.getPosition())&&void 0!==e?e:void 0}}class en extends g.JT{constructor(e,t,i,n,s){super(),this._rootElement=e,this._diffModel=t,this._originalEditorLayoutInfo=i,this._modifiedEditorLayoutInfo=n,this._editors=s,this._originalScrollTop=(0,p.rD)(this._editors.original.onDidScrollChange,()=>this._editors.original.getScrollTop()),this._modifiedScrollTop=(0,p.rD)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),this._viewZonesChanged=(0,p.aq)("onDidChangeViewZones",this._editors.modified.onDidChangeViewZones),this.width=(0,p.uh)(this,0),this._modifiedViewZonesChangedSignal=(0,p.aq)("modified.onDidChangeViewZones",this._editors.modified.onDidChangeViewZones),this._originalViewZonesChangedSignal=(0,p.aq)("original.onDidChangeViewZones",this._editors.original.onDidChangeViewZones),this._state=(0,p.Be)(this,(e,t)=>{var i;this._element.replaceChildren();let n=this._diffModel.read(e),s=null===(i=null==n?void 0:n.diff.read(e))||void 0===i?void 0:i.movedTexts;if(!s||0===s.length){this.width.set(0,void 0);return}this._viewZonesChanged.read(e);let o=this._originalEditorLayoutInfo.read(e),r=this._modifiedEditorLayoutInfo.read(e);if(!o||!r){this.width.set(0,void 0);return}this._modifiedViewZonesChangedSignal.read(e),this._originalViewZonesChangedSignal.read(e);let l=s.map(t=>{function i(e,t){let i=t.getTopForLineNumber(e.startLineNumber,!0),n=t.getTopForLineNumber(e.endLineNumberExclusive,!0);return(i+n)/2}let n=i(t.lineRangeMapping.original,this._editors.original),s=this._originalScrollTop.read(e),o=i(t.lineRangeMapping.modified,this._editors.modified),r=this._modifiedScrollTop.read(e),l=n-s,a=o-r,d=Math.min(n,o),h=Math.max(n,o);return{range:new T.q(d,h),from:l,to:a,fromWithoutScroll:n,toWithoutScroll:o,move:t}});l.sort((0,L.f_)((0,L.tT)(e=>e.fromWithoutScroll>e.toWithoutScroll,L.nW),(0,L.tT)(e=>e.fromWithoutScroll>e.toWithoutScroll?e.fromWithoutScroll:-e.toWithoutScroll,L.fv)));let a=es.compute(l.map(e=>e.range)),d=o.verticalScrollbarWidth,h=(a.getTrackCount()-1)*10+20,u=d+h+(r.contentLeft-en.movedCodeBlockPadding),c=0;for(let e of l){let i=a.getTrack(c),s=d+10+10*i,o=r.glyphMarginWidth+r.lineNumbersWidth,l=document.createElementNS("http://www.w3.org/2000/svg","rect");l.classList.add("arrow-rectangle"),l.setAttribute("x",`${u-o}`),l.setAttribute("y",`${e.to-9}`),l.setAttribute("width",`${o}`),l.setAttribute("height","18"),this._element.appendChild(l);let h=document.createElementNS("http://www.w3.org/2000/svg","g"),g=document.createElementNS("http://www.w3.org/2000/svg","path");g.setAttribute("d",`M 0 ${e.from} L ${s} ${e.from} L ${s} ${e.to} L ${u-15} ${e.to}`),g.setAttribute("fill","none"),h.appendChild(g);let m=document.createElementNS("http://www.w3.org/2000/svg","polygon");m.classList.add("arrow"),t.add((0,p.EH)(t=>{g.classList.toggle("currentMove",e.move===n.activeMovedText.read(t)),m.classList.toggle("currentMove",e.move===n.activeMovedText.read(t))})),m.setAttribute("points",`${u-15},${e.to-7.5} ${u},${e.to} ${u-15},${e.to+7.5}`),h.appendChild(m),this._element.appendChild(h),c++}this.width.set(h,void 0)}),this._element=document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("class","moved-blocks-lines"),this._rootElement.appendChild(this._element),this._register((0,g.OF)(()=>this._element.remove())),this._register((0,p.EH)(e=>{let t=this._originalEditorLayoutInfo.read(e),i=this._modifiedEditorLayoutInfo.read(e);t&&i&&(this._element.style.left=`${t.width-t.verticalScrollbarWidth}px`,this._element.style.height=`${t.height}px`,this._element.style.width=`${t.verticalScrollbarWidth+t.contentLeft-en.movedCodeBlockPadding+this.width.read(e)}px`)})),this._register((0,p.jx)(this._state));let o=(0,p.nK)(e=>{let t=this._diffModel.read(e),i=null==t?void 0:t.diff.read(e);return i?i.movedTexts.map(e=>({move:e,original:new N.GD((0,p.Dz)(e.lineRangeMapping.original.startLineNumber-1),18),modified:new N.GD((0,p.Dz)(e.lineRangeMapping.modified.startLineNumber-1),18)})):[]});this._register((0,N.Sv)(this._editors.original,o.map(e=>e.map(e=>e.original)))),this._register((0,N.Sv)(this._editors.modified,o.map(e=>e.map(e=>e.modified)))),this._register((0,p.gp)((e,t)=>{let i=o.read(e);for(let e of i)t.add(new eo(this._editors.original,e.original,e.move,"original",this._diffModel.get())),t.add(new eo(this._editors.modified,e.modified,e.move,"modified",this._diffModel.get()))}));let r=(0,p.aq)("original.onDidFocusEditorWidget",e=>this._editors.original.onDidFocusEditorWidget(()=>setTimeout(()=>e(void 0),0))),l=(0,p.aq)("modified.onDidFocusEditorWidget",e=>this._editors.modified.onDidFocusEditorWidget(()=>setTimeout(()=>e(void 0),0))),a="modified";this._register((0,p.nJ)({createEmptyChangeSummary:()=>void 0,handleChange:(e,t)=>(e.didChange(r)&&(a="original"),e.didChange(l)&&(a="modified"),!0)},e=>{let t;r.read(e),l.read(e);let i=this._diffModel.read(e);if(!i)return;let n=i.diff.read(e);if(n&&"original"===a){let i=this._editors.originalCursor.read(e);i&&(t=n.movedTexts.find(e=>e.lineRangeMapping.original.contains(i.lineNumber)))}if(n&&"modified"===a){let i=this._editors.modifiedCursor.read(e);i&&(t=n.movedTexts.find(e=>e.lineRangeMapping.modified.contains(i.lineNumber)))}t!==i.movedTextToCompare.get()&&i.movedTextToCompare.set(void 0,void 0),i.setActiveMovedText(t)}))}}en.movedCodeBlockPadding=4;class es{static compute(e){let t=[],i=[];for(let n of e){let e=t.findIndex(e=>!e.intersectsStrict(n));-1===e&&(t.length>=6?e=(0,h.Y0)(t,(0,L.tT)(e=>e.intersectWithRangeLength(n),L.fv)):(e=t.length,t.push(new T.M))),t[e].addRange(n),i.push(e)}return new es(t.length,i)}constructor(e,t){this._trackCount=e,this.trackPerLineIdx=t}getTrack(e){return this.trackPerLineIdx[e]}getTrackCount(){return this._trackCount}}class eo extends N.N9{constructor(e,t,i,n,s){let o;let r=(0,d.h)("div.diff-hidden-lines-widget");super(e,t,r.root),this._editor=e,this._move=i,this._kind=n,this._diffModel=s,this._nodes=(0,d.h)("div.diff-moved-code-block",{style:{marginRight:"4px"}},[(0,d.h)("div.text-content@textContent"),(0,d.h)("div.action-bar@actionBar")]),r.root.appendChild(this._nodes.root);let l=(0,p.rD)(this._editor.onDidLayoutChange,()=>this._editor.getLayoutInfo());this._register((0,N.bg)(this._nodes.root,{paddingRight:l.map(e=>e.verticalScrollbarWidth)})),o=i.changes.length>0?"original"===this._kind?(0,W.NC)("codeMovedToWithChanges","Code moved with changes to line {0}-{1}",this._move.lineRangeMapping.modified.startLineNumber,this._move.lineRangeMapping.modified.endLineNumberExclusive-1):(0,W.NC)("codeMovedFromWithChanges","Code moved with changes from line {0}-{1}",this._move.lineRangeMapping.original.startLineNumber,this._move.lineRangeMapping.original.endLineNumberExclusive-1):"original"===this._kind?(0,W.NC)("codeMovedTo","Code moved to line {0}-{1}",this._move.lineRangeMapping.modified.startLineNumber,this._move.lineRangeMapping.modified.endLineNumberExclusive-1):(0,W.NC)("codeMovedFrom","Code moved from line {0}-{1}",this._move.lineRangeMapping.original.startLineNumber,this._move.lineRangeMapping.original.endLineNumberExclusive-1);let a=this._register(new w.o(this._nodes.actionBar,{highlightToggledItems:!0})),h=new S.aU("",o,"",!1);a.push(h,{icon:!1,label:!0});let u=new S.aU("","Compare",D.k.asClassName(k.l.compareChanges),!0,()=>{this._editor.focus(),this._diffModel.movedTextToCompare.set(this._diffModel.movedTextToCompare.get()===i?void 0:this._move,void 0)});this._register((0,p.EH)(e=>{let t=this._diffModel.movedTextToCompare.read(e)===i;u.checked=t})),a.push(u,{icon:!1,label:!0})}}var er=i(48354);class el extends g.JT{constructor(e,t,i,n){super(),this._editors=e,this._diffModel=t,this._options=i,this._decorations=(0,p.nK)(this,e=>{var t;let i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.diff.read(e);if(!i)return null;let n=this._diffModel.read(e).movedTextToCompare.read(e),s=this._options.renderIndicators.read(e),o=this._options.showEmptyDecorations.read(e),r=[],l=[];if(!n)for(let e of i.mappings)if(e.lineRangeMapping.original.isEmpty||r.push({range:e.lineRangeMapping.original.toInclusiveRange(),options:s?er.iq:er.i_}),e.lineRangeMapping.modified.isEmpty||l.push({range:e.lineRangeMapping.modified.toInclusiveRange(),options:s?er.vv:er.rd}),e.lineRangeMapping.modified.isEmpty||e.lineRangeMapping.original.isEmpty)e.lineRangeMapping.original.isEmpty||r.push({range:e.lineRangeMapping.original.toInclusiveRange(),options:er.W3}),e.lineRangeMapping.modified.isEmpty||l.push({range:e.lineRangeMapping.modified.toInclusiveRange(),options:er.Jv});else for(let t of e.lineRangeMapping.innerChanges||[])e.lineRangeMapping.original.contains(t.originalRange.startLineNumber)&&r.push({range:t.originalRange,options:t.originalRange.isEmpty()&&o?er.$F:er.rq}),e.lineRangeMapping.modified.contains(t.modifiedRange.startLineNumber)&&l.push({range:t.modifiedRange,options:t.modifiedRange.isEmpty()&&o?er.n_:er.LE});if(n)for(let e of n.changes){let t=e.original.toInclusiveRange();t&&r.push({range:t,options:s?er.iq:er.i_});let i=e.modified.toInclusiveRange();for(let t of(i&&l.push({range:i,options:s?er.vv:er.rd}),e.innerChanges||[]))r.push({range:t.originalRange,options:er.rq}),l.push({range:t.modifiedRange,options:er.LE})}let a=this._diffModel.read(e).activeMovedText.read(e);for(let e of i.movedTexts)r.push({range:e.lineRangeMapping.original.toInclusiveRange(),options:{description:"moved",blockClassName:"movedOriginal"+(e===a?" currentMove":""),blockPadding:[en.movedCodeBlockPadding,0,en.movedCodeBlockPadding,en.movedCodeBlockPadding]}}),l.push({range:e.lineRangeMapping.modified.toInclusiveRange(),options:{description:"moved",blockClassName:"movedModified"+(e===a?" currentMove":""),blockPadding:[4,0,4,4]}});return{originalDecorations:r,modifiedDecorations:l}}),this._register((0,N.RP)(this._editors.original,this._decorations.map(e=>(null==e?void 0:e.originalDecorations)||[]))),this._register((0,N.RP)(this._editors.modified,this._decorations.map(e=>(null==e?void 0:e.modifiedDecorations)||[])))}}var ea=i(73098);class ed{resetSash(){this._sashRatio.set(void 0,void 0)}constructor(e,t){this._options=e,this.dimensions=t,this.sashLeft=(0,m.B5)(this,e=>{var t;let i=null!==(t=this._sashRatio.read(e))&&void 0!==t?t:this._options.splitViewDefaultRatio.read(e);return this._computeSashLeft(i,e)},(e,t)=>{let i=this.dimensions.width.get();this._sashRatio.set(e/i,t)}),this._sashRatio=(0,p.uh)(this,void 0)}_computeSashLeft(e,t){let i=this.dimensions.width.read(t),n=Math.floor(this._options.splitViewDefaultRatio.read(t)*i),s=this._options.enableSplitViewResizing.read(t)?Math.floor(e*i):n;return i<=200?n:s<100?100:s>i-100?i-100:s}}class eh extends g.JT{constructor(e,t,i,n,s,o){super(),this._domNode=e,this._dimensions=t,this._enabled=i,this._boundarySashes=n,this.sashLeft=s,this._resetSash=o,this._sash=this._register(new ea.g(this._domNode,{getVerticalSashTop:e=>0,getVerticalSashLeft:e=>this.sashLeft.get(),getVerticalSashHeight:e=>this._dimensions.height.get()},{orientation:0})),this._startSashPosition=void 0,this._register(this._sash.onDidStart(()=>{this._startSashPosition=this.sashLeft.get()})),this._register(this._sash.onDidChange(e=>{this.sashLeft.set(this._startSashPosition+(e.currentX-e.startX),void 0)})),this._register(this._sash.onDidEnd(()=>this._sash.layout())),this._register(this._sash.onDidReset(()=>this._resetSash())),this._register((0,p.EH)(e=>{let t=this._boundarySashes.read(e);t&&(this._sash.orthogonalEndSash=t.bottom)})),this._register((0,p.EH)(e=>{let t=this._enabled.read(e);this._sash.state=t?3:0,this.sashLeft.read(e),this._dimensions.height.read(e),this._sash.layout()}))}}var eu=i(15393),ec=i(98401),eg=i(71050),ep=i(65026),em=i(84013),ef=i(85215),e_=i(10829),ev=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},eb=function(e,t){return function(i,n){t(i,n,e)}};let eC=(0,V.yh)("diffProviderFactoryService"),ew=class{constructor(e){this.instantiationService=e}createDiffProvider(e){return this.instantiationService.createInstance(ey,e)}};ew=ev([eb(0,V.TG)],ew),(0,ep.z)(eC,ew,1);let ey=l=class{constructor(e,t,i){this.editorWorkerService=t,this.telemetryService=i,this.onDidChangeEventEmitter=new c.Q5,this.onDidChange=this.onDidChangeEventEmitter.event,this.diffAlgorithm="advanced",this.diffAlgorithmOnDidChangeSubscription=void 0,this.setOptions(e)}dispose(){var e;null===(e=this.diffAlgorithmOnDidChangeSubscription)||void 0===e||e.dispose()}async computeDiff(e,t,i,n){var s,o;if("string"!=typeof this.diffAlgorithm)return this.diffAlgorithm.computeDiff(e,t,i,n);if(e.isDisposed()||t.isDisposed())return{changes:[],identical:!0,quitEarly:!1,moves:[]};if(1===e.getLineCount()&&1===e.getLineMaxColumn(1))return 1===t.getLineCount()&&1===t.getLineMaxColumn(1)?{changes:[],identical:!0,quitEarly:!1,moves:[]}:{changes:[new A.gB(new I.z(1,2),new I.z(1,t.getLineCount()+1),[new A.iy(e.getFullModelRange(),t.getFullModelRange())])],identical:!1,quitEarly:!1,moves:[]};let r=JSON.stringify([e.uri.toString(),t.uri.toString()]),a=JSON.stringify([e.id,t.id,e.getAlternativeVersionId(),t.getAlternativeVersionId(),JSON.stringify(i)]),d=l.diffCache.get(r);if(d&&d.context===a)return d.result;let h=em.G.create(),u=await this.editorWorkerService.computeDiff(e.uri,t.uri,i,this.diffAlgorithm),c=h.elapsed();if(this.telemetryService.publicLog2("diffEditor.computeDiff",{timeMs:c,timedOut:null===(s=null==u?void 0:u.quitEarly)||void 0===s||s,detectedMoves:i.computeMoves?null!==(o=null==u?void 0:u.moves.length)&&void 0!==o?o:0:-1}),n.isCancellationRequested)return{changes:[],identical:!1,quitEarly:!0,moves:[]};if(!u)throw Error("no diff result available");return l.diffCache.size>10&&l.diffCache.delete(l.diffCache.keys().next().value),l.diffCache.set(r,{result:u,context:a}),u}setOptions(e){var t;let i=!1;e.diffAlgorithm&&this.diffAlgorithm!==e.diffAlgorithm&&(null===(t=this.diffAlgorithmOnDidChangeSubscription)||void 0===t||t.dispose(),this.diffAlgorithmOnDidChangeSubscription=void 0,this.diffAlgorithm=e.diffAlgorithm,"string"!=typeof e.diffAlgorithm&&(this.diffAlgorithmOnDidChangeSubscription=e.diffAlgorithm.onDidChange(()=>this.onDidChangeEventEmitter.fire())),i=!0),i&&this.onDidChangeEventEmitter.fire()}};ey.diffCache=new Map,ey=l=ev([eb(1,ef.p),eb(2,e_.b)],ey);var eS=i(62549),eL=i(2442),ek=i(41574),eD=i(42502),ex=i(35146);let eN=class extends g.JT{setActiveMovedText(e){this._activeMovedText.set(e,void 0)}constructor(e,t,i){super(),this.model=e,this._options=t,this._diffProviderFactoryService=i,this._isDiffUpToDate=(0,p.uh)(this,!1),this.isDiffUpToDate=this._isDiffUpToDate,this._diff=(0,p.uh)(this,void 0),this.diff=this._diff,this._unchangedRegions=(0,p.uh)(this,void 0),this.unchangedRegions=(0,p.nK)(this,e=>{var t,i;return this._options.hideUnchangedRegions.read(e)?null!==(i=null===(t=this._unchangedRegions.read(e))||void 0===t?void 0:t.regions)&&void 0!==i?i:[]:((0,p.PS)(e=>{var t;for(let i of(null===(t=this._unchangedRegions.get())||void 0===t?void 0:t.regions)||[])i.collapseAll(e)}),[])}),this.movedTextToCompare=(0,p.uh)(this,void 0),this._activeMovedText=(0,p.uh)(this,void 0),this._hoveredMovedText=(0,p.uh)(this,void 0),this.activeMovedText=(0,p.nK)(this,e=>{var t,i;return null!==(i=null!==(t=this.movedTextToCompare.read(e))&&void 0!==t?t:this._hoveredMovedText.read(e))&&void 0!==i?i:this._activeMovedText.read(e)}),this._cancellationTokenSource=new eg.AU,this._diffProvider=(0,p.nK)(this,e=>{let t=this._diffProviderFactoryService.createDiffProvider({diffAlgorithm:this._options.diffAlgorithm.read(e)}),i=(0,p.aq)("onDidChange",t.onDidChange);return{diffProvider:t,onChangeSignal:i}}),this._register((0,g.OF)(()=>this._cancellationTokenSource.cancel()));let n=(0,p.GN)("contentChangedSignal"),s=this._register(new eu.pY(()=>n.trigger(void 0),200));this._register((0,p.EH)(t=>{let i=this._unchangedRegions.read(t);if(!i||i.regions.some(e=>e.isDragged.read(t)))return;let n=i.originalDecorationIds.map(t=>e.original.getDecorationRange(t)).map(e=>e?I.z.fromRangeInclusive(e):void 0),s=i.modifiedDecorationIds.map(t=>e.modified.getDecorationRange(t)).map(e=>e?I.z.fromRangeInclusive(e):void 0),o=i.regions.map((e,i)=>n[i]&&s[i]?new eT(n[i].startLineNumber,s[i].startLineNumber,n[i].length,e.visibleLineCountTop.read(t),e.visibleLineCountBottom.read(t)):void 0).filter(ec.$K),r=[],l=!1;for(let e of(0,L.mw)(o,(e,i)=>e.getHiddenModifiedRange(t).endLineNumberExclusive===i.getHiddenModifiedRange(t).startLineNumber))if(e.length>1){l=!0;let t=e.reduce((e,t)=>e+t.lineCount,0),i=new eT(e[0].originalLineNumber,e[0].modifiedLineNumber,t,e[0].visibleLineCountTop.get(),e[e.length-1].visibleLineCountBottom.get());r.push(i)}else r.push(e[0]);if(l){let t=e.original.deltaDecorations(i.originalDecorationIds,r.map(e=>({range:e.originalUnchangedRange.toInclusiveRange(),options:{description:"unchanged"}}))),n=e.modified.deltaDecorations(i.modifiedDecorationIds,r.map(e=>({range:e.modifiedUnchangedRange.toInclusiveRange(),options:{description:"unchanged"}})));(0,p.PS)(e=>{this._unchangedRegions.set({regions:r,originalDecorationIds:t,modifiedDecorationIds:n},e)})}}));let o=(t,i,n)=>{let s;let o=eT.fromDiffs(t.changes,e.original.getLineCount(),e.modified.getLineCount(),this._options.hideUnchangedRegionsMinimumLineCount.read(n),this._options.hideUnchangedRegionsContextLineCount.read(n)),r=this._unchangedRegions.get();if(r){let t=r.originalDecorationIds.map(t=>e.original.getDecorationRange(t)).map(e=>e?I.z.fromRangeInclusive(e):void 0),i=r.modifiedDecorationIds.map(t=>e.modified.getDecorationRange(t)).map(e=>e?I.z.fromRangeInclusive(e):void 0),o=(0,N.W7)(r.regions.map((e,n)=>{if(!t[n]||!i[n])return;let s=t[n].length;return new eT(t[n].startLineNumber,i[n].startLineNumber,s,Math.min(e.visibleLineCountTop.get(),s),Math.min(e.visibleLineCountBottom.get(),s-e.visibleLineCountTop.get()))}).filter(ec.$K),(e,t)=>!t||e.modifiedLineNumber>=t.modifiedLineNumber+t.lineCount&&e.originalLineNumber>=t.originalLineNumber+t.lineCount),l=o.map(e=>new A.f0(e.getHiddenOriginalRange(n),e.getHiddenModifiedRange(n)));l=A.f0.clip(l,I.z.ofLength(1,e.original.getLineCount()),I.z.ofLength(1,e.modified.getLineCount())),s=A.f0.inverse(l,e.original.getLineCount(),e.modified.getLineCount())}let l=[];if(s)for(let e of o){let t=s.filter(t=>t.original.intersectsStrict(e.originalUnchangedRange)&&t.modified.intersectsStrict(e.modifiedUnchangedRange));l.push(...e.setVisibleRanges(t,i))}else l.push(...o);let a=e.original.deltaDecorations((null==r?void 0:r.originalDecorationIds)||[],l.map(e=>({range:e.originalUnchangedRange.toInclusiveRange(),options:{description:"unchanged"}}))),d=e.modified.deltaDecorations((null==r?void 0:r.modifiedDecorationIds)||[],l.map(e=>({range:e.modifiedUnchangedRange.toInclusiveRange(),options:{description:"unchanged"}})));this._unchangedRegions.set({regions:l,originalDecorationIds:a,modifiedDecorationIds:d},i)};this._register(e.modified.onDidChangeContent(t=>{let i=this._diff.get();if(i){let i=eL.Q.fromModelContentChanges(t.changes),n=eR(this._lastDiff,i,e.original,e.modified);n&&(this._lastDiff=n,(0,p.PS)(e=>{this._diff.set(eE.fromDiffResult(this._lastDiff),e),o(n,e);let t=this.movedTextToCompare.get();this.movedTextToCompare.set(t?this._lastDiff.moves.find(e=>e.lineRangeMapping.modified.intersect(t.lineRangeMapping.modified)):void 0,e)}))}this._isDiffUpToDate.set(!1,void 0),s.schedule()})),this._register(e.original.onDidChangeContent(t=>{let i=this._diff.get();if(i){let i=eL.Q.fromModelContentChanges(t.changes),n=eM(this._lastDiff,i,e.original,e.modified);n&&(this._lastDiff=n,(0,p.PS)(e=>{this._diff.set(eE.fromDiffResult(this._lastDiff),e),o(n,e);let t=this.movedTextToCompare.get();this.movedTextToCompare.set(t?this._lastDiff.moves.find(e=>e.lineRangeMapping.modified.intersect(t.lineRangeMapping.modified)):void 0,e)}))}this._isDiffUpToDate.set(!1,void 0),s.schedule()})),this._register((0,p.gp)(async(t,i)=>{var r,l,a,d,h;this._options.hideUnchangedRegionsMinimumLineCount.read(t),this._options.hideUnchangedRegionsContextLineCount.read(t),s.cancel(),n.read(t);let u=this._diffProvider.read(t);u.onChangeSignal.read(t),(0,N.NW)(eS.DW,t),(0,N.NW)(eD.xG,t),this._isDiffUpToDate.set(!1,void 0);let c=[];i.add(e.original.onDidChangeContent(e=>{let t=eL.Q.fromModelContentChanges(e.changes);c=(0,ek.o)(c,t)}));let g=[];i.add(e.modified.onDidChangeContent(e=>{let t=eL.Q.fromModelContentChanges(e.changes);g=(0,ek.o)(g,t)}));let m=await u.diffProvider.computeDiff(e.original,e.modified,{ignoreTrimWhitespace:this._options.ignoreTrimWhitespace.read(t),maxComputationTimeMs:this._options.maxComputationTimeMs.read(t),computeMoves:this._options.showMoves.read(t)},this._cancellationTokenSource.token);!(this._cancellationTokenSource.token.isCancellationRequested||e.original.isDisposed()||e.modified.isDisposed())&&(m=null!==(l=eR(m=null!==(r=eM((a=m,d=e.original,h=e.modified,m={changes:a.changes.map(e=>new A.gB(e.original,e.modified,e.innerChanges?e.innerChanges.map(e=>{let t,i;return t=e.originalRange,i=e.modifiedRange,(1!==t.endColumn||1!==i.endColumn)&&t.endColumn===d.getLineMaxColumn(t.endLineNumber)&&i.endColumn===h.getLineMaxColumn(i.endLineNumber)&&t.endLineNumber{o(m,e),this._lastDiff=m;let t=eE.fromDiffResult(m);this._diff.set(t,e),this._isDiffUpToDate.set(!0,e);let i=this.movedTextToCompare.get();this.movedTextToCompare.set(i?this._lastDiff.moves.find(e=>e.lineRangeMapping.modified.intersect(i.lineRangeMapping.modified)):void 0,e)}))}))}ensureModifiedLineIsVisible(e,t,i){var n,s;if((null===(n=this.diff.get())||void 0===n?void 0:n.mappings.length)===0)return;let o=(null===(s=this._unchangedRegions.get())||void 0===s?void 0:s.regions)||[];for(let n of o)if(n.getHiddenModifiedRange(void 0).contains(e)){n.showModifiedLine(e,t,i);return}}ensureOriginalLineIsVisible(e,t,i){var n,s;if((null===(n=this.diff.get())||void 0===n?void 0:n.mappings.length)===0)return;let o=(null===(s=this._unchangedRegions.get())||void 0===s?void 0:s.regions)||[];for(let n of o)if(n.getHiddenOriginalRange(void 0).contains(e)){n.showOriginalLine(e,t,i);return}}async waitForDiff(){await (0,p.F_)(this.isDiffUpToDate,e=>e)}serializeState(){let e=this._unchangedRegions.get();return{collapsedRegions:null==e?void 0:e.regions.map(e=>({range:e.getHiddenModifiedRange(void 0).serialize()}))}}restoreSerializedState(e){var t;let i=null===(t=e.collapsedRegions)||void 0===t?void 0:t.map(e=>I.z.deserialize(e.range)),n=this._unchangedRegions.get();n&&i&&(0,p.PS)(e=>{for(let t of n.regions)for(let n of i)if(t.modifiedUnchangedRange.intersect(n)){t.setHiddenModifiedRange(n,e);break}})}};eN=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([function(e,t){eC(e,t,2)}],eN);class eE{static fromDiffResult(e){return new eE(e.changes.map(e=>new eI(e)),e.moves||[],e.identical,e.quitEarly)}constructor(e,t,i,n){this.mappings=e,this.movedTexts=t,this.identical=i,this.quitEarly=n}}class eI{constructor(e){this.lineRangeMapping=e}}class eT{static fromDiffs(e,t,i,n,s){let o=A.gB.inverse(e,t,i),r=[];for(let e of o){let o=e.original.startLineNumber,l=e.modified.startLineNumber,a=e.original.length,d=1===o&&1===l,h=o+a===t+1&&l+a===i+1;(d||h)&&a>=s+n?(d&&!h&&(a-=s),h&&!d&&(o+=s,l+=s,a-=s),r.push(new eT(o,l,a,0,0))):a>=2*s+n&&(o+=s,l+=s,a-=2*s,r.push(new eT(o,l,a,0,0)))}return r}get originalUnchangedRange(){return I.z.ofLength(this.originalLineNumber,this.lineCount)}get modifiedUnchangedRange(){return I.z.ofLength(this.modifiedLineNumber,this.lineCount)}constructor(e,t,i,n,s){this.originalLineNumber=e,this.modifiedLineNumber=t,this.lineCount=i,this._visibleLineCountTop=(0,p.uh)(this,0),this.visibleLineCountTop=this._visibleLineCountTop,this._visibleLineCountBottom=(0,p.uh)(this,0),this.visibleLineCountBottom=this._visibleLineCountBottom,this._shouldHideControls=(0,p.nK)(this,e=>this.visibleLineCountTop.read(e)+this.visibleLineCountBottom.read(e)===this.lineCount&&!this.isDragged.read(e)),this.isDragged=(0,p.uh)(this,void 0);let o=Math.max(Math.min(n,this.lineCount),0),r=Math.max(Math.min(s,this.lineCount-n),0);(0,ex.wN)(n===o),(0,ex.wN)(s===r),this._visibleLineCountTop.set(o,void 0),this._visibleLineCountBottom.set(r,void 0)}setVisibleRanges(e,t){let i=[],n=new I.i(e.map(e=>e.modified)).subtractFrom(this.modifiedUnchangedRange),s=this.originalLineNumber,o=this.modifiedLineNumber,r=this.modifiedLineNumber+this.lineCount;if(0===n.ranges.length)this.showAll(t),i.push(this);else{let e=0;for(let l of n.ranges){let a=e===n.ranges.length-1;e++;let d=(a?r:l.endLineNumberExclusive)-o,h=new eT(s,o,d,0,0);h.setHiddenModifiedRange(l,t),i.push(h),s=h.originalUnchangedRange.endLineNumberExclusive,o=h.modifiedUnchangedRange.endLineNumberExclusive}}return i}shouldHideControls(e){return this._shouldHideControls.read(e)}getHiddenOriginalRange(e){return I.z.ofLength(this.originalLineNumber+this._visibleLineCountTop.read(e),this.lineCount-this._visibleLineCountTop.read(e)-this._visibleLineCountBottom.read(e))}getHiddenModifiedRange(e){return I.z.ofLength(this.modifiedLineNumber+this._visibleLineCountTop.read(e),this.lineCount-this._visibleLineCountTop.read(e)-this._visibleLineCountBottom.read(e))}setHiddenModifiedRange(e,t){let i=e.startLineNumber-this.modifiedLineNumber,n=this.modifiedLineNumber+this.lineCount-e.endLineNumberExclusive;this.setState(i,n,t)}getMaxVisibleLineCountTop(){return this.lineCount-this._visibleLineCountBottom.get()}getMaxVisibleLineCountBottom(){return this.lineCount-this._visibleLineCountTop.get()}showMoreAbove(e=10,t){let i=this.getMaxVisibleLineCountTop();this._visibleLineCountTop.set(Math.min(this._visibleLineCountTop.get()+e,i),t)}showMoreBelow(e=10,t){let i=this.lineCount-this._visibleLineCountTop.get();this._visibleLineCountBottom.set(Math.min(this._visibleLineCountBottom.get()+e,i),t)}showAll(e){this._visibleLineCountBottom.set(this.lineCount-this._visibleLineCountTop.get(),e)}showModifiedLine(e,t,i){let n=e+1-(this.modifiedLineNumber+this._visibleLineCountTop.get()),s=this.modifiedLineNumber-this._visibleLineCountBottom.get()+this.lineCount-e;0===t&&n{var s;this._contextMenuService.showContextMenu({domForShadowRoot:c&&null!==(s=i.getDomNode())&&void 0!==s?s:void 0,getAnchor:()=>({x:e,y:t}),getActions:()=>{let e=[],t=n.modified.isEmpty;e.push(new S.aU("diff.clipboard.copyDeletedContent",t?n.original.length>1?(0,W.NC)("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):(0,W.NC)("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"):n.original.length>1?(0,W.NC)("diff.clipboard.copyChangedLinesContent.label","Copy changed lines"):(0,W.NC)("diff.clipboard.copyChangedLinesContent.single.label","Copy changed line"),void 0,!0,async()=>{let e=this._originalTextModel.getValueInRange(n.original.toExclusiveRange());await this._clipboardService.writeText(e)})),n.original.length>1&&e.push(new S.aU("diff.clipboard.copyDeletedLineContent",t?(0,W.NC)("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",n.original.startLineNumber+u):(0,W.NC)("diff.clipboard.copyChangedLineContent.label","Copy changed line ({0})",n.original.startLineNumber+u),void 0,!0,async()=>{let e=this._originalTextModel.getLineContent(n.original.startLineNumber+u);if(""===e){let t=this._originalTextModel.getEndOfLineSequence();e=0===t?"\n":"\r\n"}await this._clipboardService.writeText(e)}));let s=i.getOption(91);return s||e.push(new S.aU("diff.inline.revertChange",(0,W.NC)("diff.inline.revertChange.label","Revert this change"),void 0,!0,async()=>{this._editor.revert(this._diff)})),e},autoSelectFirstItem:!0})};this._register((0,d.mu)(this._diffActions,"mousedown",e=>{if(!e.leftButton)return;let{top:t,height:i}=(0,d.i)(this._diffActions),n=Math.floor(h/3);e.preventDefault(),g(e.posx,t+i+n)})),this._register(i.onMouseMove(e=>{(8===e.target.type||5===e.target.type)&&e.target.detail.viewZoneId===this._getViewZoneId()?(u=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,h),this.visibility=!0):this.visibility=!1})),this._register(i.onMouseDown(e=>{if(e.event.leftButton&&(8===e.target.type||5===e.target.type)){let t=e.target.detail.viewZoneId;t===this._getViewZoneId()&&(e.event.preventDefault(),u=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,h),g(e.event.posx,e.event.posy+h))}}))}_updateLightBulbPosition(e,t,i){let{top:n}=(0,d.i)(e),s=Math.floor((t-n)/i);if(this._diffActions.style.top=`${s*i}px`,this._viewLineCounts){let e=0;for(let t=0;te});class eW{constructor(e,t,i,n){this.lineTokens=e,this.lineBreakData=t,this.mightContainNonBasicASCII=i,this.mightContainRTL=n}}class eH{static fromEditor(e){var t;let i=e.getOptions(),n=i.get(50),s=i.get(145);return new eH((null===(t=e.getModel())||void 0===t?void 0:t.getOptions().tabSize)||0,n,i.get(33),n.typicalHalfwidthCharacterWidth,i.get(104),i.get(67),s.decorationsWidth,i.get(117),i.get(99),i.get(94),i.get(51))}constructor(e,t,i,n,s,o,r,l,a,d,h){this.tabSize=e,this.fontInfo=t,this.disableMonospaceOptimizations=i,this.typicalHalfwidthCharacterWidth=n,this.scrollBeyondLastColumn=s,this.lineHeight=o,this.lineDecorationsWidth=r,this.stopRenderingLineAfter=l,this.renderWhitespace=a,this.renderControlCharacters=d,this.fontLigatures=h}}function eV(e,t,i,n,s,o,r,l){l.appendString('
    ');let a=t.getLineContent(),d=B.wA.isBasicASCII(a,s),h=B.wA.containsRTL(a,d,o),u=(0,F.d1)(new F.IJ(r.fontInfo.isMonospace&&!r.disableMonospaceOptimizations,r.fontInfo.canUseHalfwidthRightwardsArrow,a,!1,d,h,0,t,i,r.tabSize,0,r.fontInfo.spaceWidth,r.fontInfo.middotWidth,r.fontInfo.wsmiddotWidth,r.stopRenderingLineAfter,r.renderWhitespace,r.renderControlCharacters,r.fontLigatures!==E.n0.OFF,null),l);return l.appendString("
    "),u.characterMapping.getHorizontalOffset(u.characterMapping.length)}var ez=i(84972),eK=i(5606),eU=function(e,t){return function(i,n){t(i,n,e)}};let e$=class extends g.JT{constructor(e,t,i,n,s,o,r,l,a,h){super(),this._targetWindow=e,this._editors=t,this._diffModel=i,this._options=n,this._diffEditorWidget=s,this._canIgnoreViewZoneUpdateEvent=o,this._origViewZonesToIgnore=r,this._modViewZonesToIgnore=l,this._clipboardService=a,this._contextMenuService=h,this._originalTopPadding=(0,p.uh)(this,0),this._originalScrollOffset=(0,p.uh)(this,0),this._originalScrollOffsetAnimated=(0,N.Vm)(this._targetWindow,this._originalScrollOffset,this._store),this._modifiedTopPadding=(0,p.uh)(this,0),this._modifiedScrollOffset=(0,p.uh)(this,0),this._modifiedScrollOffsetAnimated=(0,N.Vm)(this._targetWindow,this._modifiedScrollOffset,this._store);let u=(0,p.uh)("invalidateAlignmentsState",0),c=this._register(new eu.pY(()=>{u.set(u.get()+1,void 0)},0));this._register(this._editors.original.onDidChangeViewZones(e=>{this._canIgnoreViewZoneUpdateEvent()||c.schedule()})),this._register(this._editors.modified.onDidChangeViewZones(e=>{this._canIgnoreViewZoneUpdateEvent()||c.schedule()})),this._register(this._editors.original.onDidChangeConfiguration(e=>{(e.hasChanged(146)||e.hasChanged(67))&&c.schedule()})),this._register(this._editors.modified.onDidChangeConfiguration(e=>{(e.hasChanged(146)||e.hasChanged(67))&&c.schedule()}));let m=this._diffModel.map(e=>e?(0,p.rD)(e.model.original.onDidChangeTokens,()=>2===e.model.original.tokenization.backgroundTokenizationState):void 0).map((e,t)=>null==e?void 0:e.read(t)),f=(0,p.nK)(e=>{let t=this._diffModel.read(e),i=null==t?void 0:t.diff.read(e);if(!t||!i)return null;u.read(e);let n=this._options.renderSideBySide.read(e);return eq(this._editors.original,this._editors.modified,i.mappings,this._origViewZonesToIgnore,this._modViewZonesToIgnore,n)}),_=(0,p.nK)(e=>{var t;let i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.movedTextToCompare.read(e);if(!i)return null;u.read(e);let n=i.changes.map(e=>new eI(e));return eq(this._editors.original,this._editors.modified,n,this._origViewZonesToIgnore,this._modViewZonesToIgnore,!0)});function v(){let e=document.createElement("div");return e.className="diagonal-fill",e}let b=this._register(new g.SL);this.viewZones=(0,p.Be)(this,(e,t)=>{var i,n,o,r,l,a,h,u;b.clear();let c=f.read(e)||[],g=[],p=[],C=this._modifiedTopPadding.read(e);C>0&&p.push({afterLineNumber:0,domNode:document.createElement("div"),heightInPx:C,showInHiddenAreas:!0,suppressMouseDown:!0});let w=this._originalTopPadding.read(e);w>0&&g.push({afterLineNumber:0,domNode:document.createElement("div"),heightInPx:w,showInHiddenAreas:!0,suppressMouseDown:!0});let y=this._options.renderSideBySide.read(e),S=y?void 0:null===(i=this._editors.modified._getViewModel())||void 0===i?void 0:i.createLineBreaksComputer();if(S){let e=this._editors.original.getModel();for(let t of c)if(t.diff)for(let i=t.originalRange.startLineNumber;ie.getLineCount())return{orig:g,mod:p};null==S||S.addRequest(e.getLineContent(i),null,null)}}let L=null!==(n=null==S?void 0:S.finalize())&&void 0!==n?n:[],N=0,E=this._editors.modified.getOption(67),I=null===(o=this._diffModel.read(e))||void 0===o?void 0:o.movedTextToCompare.read(e),T=null!==(l=null===(r=this._editors.original.getModel())||void 0===r?void 0:r.mightContainNonBasicASCII())&&void 0!==l&&l,M=null!==(h=null===(a=this._editors.original.getModel())||void 0===a?void 0:a.mightContainRTL())&&void 0!==h&&h,R=eH.fromEditor(this._editors.modified);for(let i of c)if(i.diff&&!y){if(!i.originalRange.isEmpty){let t;m.read(e);let n=document.createElement("div");n.classList.add("view-lines","line-delete","monaco-mouse-cursor-text");let s=this._editors.original.getModel();if(i.originalRange.endLineNumberExclusive-1>s.getLineCount())return{orig:g,mod:p};let o=new eW(i.originalRange.mapToLineArray(e=>s.tokenization.getLineTokens(e)),i.originalRange.mapToLineArray(e=>L[N++]),T,M),r=[];for(let e of i.diff.innerChanges||[])r.push(new B.$t(e.originalRange.delta(-(i.diff.original.startLineNumber-1)),er.rq.className,0));let l=function(e,t,i,n){(0,x.N)(n,t.fontInfo);let s=i.length>0,o=new eO.HT(1e4),r=0,l=0,a=[];for(let n=0;n(0,ec.cW)(t),a,this._editors.modified,i.diff,this._diffEditorWidget,l.viewLineCounts,this._editors.original.getModel(),this._contextMenuService,this._clipboardService));for(let e=0;e1&&g.push({afterLineNumber:i.originalRange.startLineNumber+e,domNode:v(),heightInPx:(t-1)*E,showInHiddenAreas:!0,suppressMouseDown:!0})}p.push({afterLineNumber:i.modifiedRange.startLineNumber-1,domNode:n,heightInPx:l.heightInLines*E,minWidthInPx:l.minWidthInPx,marginDomNode:a,setZoneId(e){t=e},showInHiddenAreas:!0,suppressMouseDown:!0})}let t=document.createElement("div");t.className="gutter-delete",g.push({afterLineNumber:i.originalRange.endLineNumberExclusive-1,domNode:v(),heightInPx:i.modifiedHeightInPx,marginDomNode:t,showInHiddenAreas:!0,suppressMouseDown:!0})}else{let n=i.modifiedHeightInPx-i.originalHeightInPx;if(n>0){if(null==I?void 0:I.lineRangeMapping.original.delta(-1).deltaLength(2).contains(i.originalRange.endLineNumberExclusive-1))continue;g.push({afterLineNumber:i.originalRange.endLineNumberExclusive-1,domNode:v(),heightInPx:n,showInHiddenAreas:!0,suppressMouseDown:!0})}else{let o;if(null==I?void 0:I.lineRangeMapping.modified.delta(-1).deltaLength(2).contains(i.modifiedRange.endLineNumberExclusive-1))continue;i.diff&&i.diff.modified.isEmpty&&this._options.shouldRenderOldRevertArrows.read(e)&&(o=function(){let e=document.createElement("div");return e.className="arrow-revert-change "+D.k.asClassName(k.l.arrowRight),t.add((0,d.nm)(e,"mousedown",e=>e.stopPropagation())),t.add((0,d.nm)(e,"click",e=>{e.stopPropagation(),s.revert(i.diff)})),(0,d.$)("div",{},e)}()),p.push({afterLineNumber:i.modifiedRange.endLineNumberExclusive-1,domNode:v(),heightInPx:-n,marginDomNode:o,showInHiddenAreas:!0,suppressMouseDown:!0})}}for(let t of null!==(u=_.read(e))&&void 0!==u?u:[]){if(!(null==I?void 0:I.lineRangeMapping.original.intersect(t.originalRange))||!(null==I?void 0:I.lineRangeMapping.modified.intersect(t.modifiedRange)))continue;let e=t.modifiedHeightInPx-t.originalHeightInPx;e>0?g.push({afterLineNumber:t.originalRange.endLineNumberExclusive-1,domNode:v(),heightInPx:e,showInHiddenAreas:!0,suppressMouseDown:!0}):p.push({afterLineNumber:t.modifiedRange.endLineNumberExclusive-1,domNode:v(),heightInPx:-e,showInHiddenAreas:!0,suppressMouseDown:!0})}return{orig:g,mod:p}});let C=!1;this._register(this._editors.original.onDidScrollChange(e=>{e.scrollLeftChanged&&!C&&(C=!0,this._editors.modified.setScrollLeft(e.scrollLeft),C=!1)})),this._register(this._editors.modified.onDidScrollChange(e=>{e.scrollLeftChanged&&!C&&(C=!0,this._editors.original.setScrollLeft(e.scrollLeft),C=!1)})),this._originalScrollTop=(0,p.rD)(this._editors.original.onDidScrollChange,()=>this._editors.original.getScrollTop()),this._modifiedScrollTop=(0,p.rD)(this._editors.modified.onDidScrollChange,()=>this._editors.modified.getScrollTop()),this._register((0,p.EH)(e=>{let t=this._originalScrollTop.read(e)-(this._originalScrollOffsetAnimated.get()-this._modifiedScrollOffsetAnimated.read(e))-(this._originalTopPadding.get()-this._modifiedTopPadding.read(e));t!==this._editors.modified.getScrollTop()&&this._editors.modified.setScrollTop(t,1)})),this._register((0,p.EH)(e=>{let t=this._modifiedScrollTop.read(e)-(this._modifiedScrollOffsetAnimated.get()-this._originalScrollOffsetAnimated.read(e))-(this._modifiedTopPadding.get()-this._originalTopPadding.read(e));t!==this._editors.original.getScrollTop()&&this._editors.original.setScrollTop(t,1)})),this._register((0,p.EH)(e=>{var t;let i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.movedTextToCompare.read(e),n=0;if(i){let e=this._editors.original.getTopForLineNumber(i.lineRangeMapping.original.startLineNumber,!0)-this._originalTopPadding.get(),t=this._editors.modified.getTopForLineNumber(i.lineRangeMapping.modified.startLineNumber,!0)-this._modifiedTopPadding.get();n=t-e}n>0?(this._modifiedTopPadding.set(0,void 0),this._originalTopPadding.set(n,void 0)):n<0?(this._modifiedTopPadding.set(-n,void 0),this._originalTopPadding.set(0,void 0)):setTimeout(()=>{this._modifiedTopPadding.set(0,void 0),this._originalTopPadding.set(0,void 0)},400),this._editors.modified.hasTextFocus()?this._originalScrollOffset.set(this._modifiedScrollOffset.get()-n,void 0,!0):this._modifiedScrollOffset.set(this._originalScrollOffset.get()+n,void 0,!0)}))}};function eq(e,t,i,n,s,o){let r=new L.H9(ej(e,n)),l=new L.H9(ej(t,s)),a=e.getOption(67),d=t.getOption(67),h=[],u=0,c=0;function g(e,t){for(;;){let i=r.peek(),n=l.peek();if(i&&i.lineNumber>=e&&(i=void 0),n&&n.lineNumber>=t&&(n=void 0),!i&&!n)break;let s=i?i.lineNumber-u:Number.MAX_VALUE,o=n?n.lineNumber-c:Number.MAX_VALUE;so?(l.dequeue(),i={lineNumber:n.lineNumber-c+u,heightInPx:0}):(r.dequeue(),l.dequeue()),h.push({originalRange:I.z.ofLength(i.lineNumber,1),modifiedRange:I.z.ofLength(n.lineNumber,1),originalHeightInPx:a+i.heightInPx,modifiedHeightInPx:d+n.heightInPx,diff:void 0})}}for(let t of i){let i=t.lineRangeMapping;g(i.original.startLineNumber,i.modified.startLineNumber);let n=!0,s=i.modified.startLineNumber,m=i.original.startLineNumber;function p(e,i){var o,u,c,g;if(et.lineNumbere+t.heightInPx,0))&&void 0!==u?u:0,v=null!==(g=null===(c=l.takeWhile(e=>e.lineNumbere+t.heightInPx,0))&&void 0!==g?g:0;h.push({originalRange:p,modifiedRange:f,originalHeightInPx:p.length*a+_,modifiedHeightInPx:f.length*d+v,diff:t.lineRangeMapping}),m=e,s=i}if(o)for(let t of i.innerChanges||[]){t.originalRange.startColumn>1&&t.modifiedRange.startColumn>1&&p(t.originalRange.startLineNumber,t.modifiedRange.startLineNumber);let i=e.getModel(),n=t.originalRange.endLineNumber<=i.getLineCount()?i.getLineMaxColumn(t.originalRange.endLineNumber):Number.MAX_SAFE_INTEGER;t.originalRange.endColumn1&&n.push({lineNumber:t,heightInPx:r*(e-1)})}for(let n of e.getWhitespaces()){if(t.has(n.id))continue;let e=0===n.afterLineNumber?0:o.convertViewPositionToModelPosition(new M.L(n.afterLineNumber,1)).lineNumber;i.push({lineNumber:e,heightInPx:n.height})}let l=(0,N.Ap)(i,n,e=>e.lineNumber,(e,t)=>({lineNumber:e.lineNumber,heightInPx:e.heightInPx+t.heightInPx}));return l}e$=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([eU(8,ez.p),eU(9,eK.i)],e$);class eG extends g.JT{constructor(e,t,i){super(),this._editor=e,this._domNode=t,this.itemProvider=i,this.scrollTop=(0,p.rD)(this._editor.onDidScrollChange,e=>this._editor.getScrollTop()),this.isScrollTopZero=this.scrollTop.map(e=>0===e),this.modelAttached=(0,p.rD)(this._editor.onDidChangeModel,e=>this._editor.hasModel()),this.editorOnDidChangeViewZones=(0,p.aq)("onDidChangeViewZones",this._editor.onDidChangeViewZones),this.editorOnDidContentSizeChange=(0,p.aq)("onDidContentSizeChange",this._editor.onDidContentSizeChange),this.domNodeSizeChanged=(0,p.GN)("domNodeSizeChanged"),this.views=new Map,this._domNode.className="gutter monaco-editor";let n=this._domNode.appendChild((0,d.h)("div.scroll-decoration",{role:"presentation",ariaHidden:"true",style:{width:"100%"}}).root),s=new ResizeObserver(()=>{(0,p.PS)(e=>{this.domNodeSizeChanged.trigger(e)})});s.observe(this._domNode),this._register((0,g.OF)(()=>s.disconnect())),this._register((0,p.EH)(e=>{n.className=this.isScrollTopZero.read(e)?"":"scroll-decoration"})),this._register((0,p.EH)(e=>this.render(e)))}dispose(){super.dispose(),(0,d.mc)(this._domNode)}render(e){if(!this.modelAttached.read(e))return;this.domNodeSizeChanged.read(e),this.editorOnDidChangeViewZones.read(e),this.editorOnDidContentSizeChange.read(e);let t=this.scrollTop.read(e),i=this._editor.getVisibleRanges(),n=new Set(this.views.keys()),s=T.q.ofStartAndLength(0,this._domNode.clientHeight);if(!s.isEmpty)for(let o of i){let i=new I.z(o.startLineNumber,o.endLineNumber+1),r=this.itemProvider.getIntersectingGutterItems(i,e);(0,p.PS)(e=>{for(let o of r){if(!o.range.intersect(i))continue;n.delete(o.id);let r=this.views.get(o.id);if(r)r.item.set(o,e);else{let e=document.createElement("div");this._domNode.appendChild(e);let t=(0,p.uh)("item",o),i=this.itemProvider.createView(t,e);r=new eQ(t,i,e),this.views.set(o.id,r)}let l=o.range.startLineNumber<=this._editor.getModel().getLineCount()?this._editor.getTopForLineNumber(o.range.startLineNumber,!0)-t:this._editor.getBottomForLineNumber(o.range.startLineNumber-1,!1)-t,a=o.range.isEmpty?l:this._editor.getBottomForLineNumber(o.range.endLineNumberExclusive-1,!0)-t,d=a-l;r.domNode.style.top=`${l}px`,r.domNode.style.height=`${d}px`,r.gutterItemView.layout(T.q.ofStartAndLength(l,d),s)}})}for(let e of n){let t=this.views.get(e);t.gutterItemView.dispose(),this._domNode.removeChild(t.domNode),this.views.delete(e)}}}class eQ{constructor(e,t,i){this.item=e,this.gutterItemView=t,this.domNode=i}}var eZ=i(33528),eY=i(40027),eJ=i(59722);class eX extends eY.MS{constructor(e){super(),this._textModel=e}getValueOfRange(e){return this._textModel.getValueInRange(e)}get length(){let e=this._textModel.getLineCount(),t=this._textModel.getLineLength(e);return new eJ.A(e-1,t)}}var e0=i(90428),e1=i(84144),e2=i(32064),e5=i(31543),e4=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},e3=function(e,t){return function(i,n){t(i,n,e)}};let e6=[],e9=class extends g.JT{constructor(e,t,i,n,s,o,r,l,a){super(),this._diffModel=t,this._editors=i,this._options=n,this._sashLayout=s,this._boundarySashes=o,this._instantiationService=r,this._contextKeyService=l,this._menuService=a,this._menu=this._register(this._menuService.createMenu(e1.eH.DiffEditorHunkToolbar,this._contextKeyService)),this._actions=(0,p.rD)(this._menu.onDidChange,()=>this._menu.getActions()),this._hasActions=this._actions.map(e=>e.length>0),this._showSash=(0,p.nK)(this,e=>this._options.renderSideBySide.read(e)&&this._hasActions.read(e)),this.width=(0,p.nK)(this,e=>this._hasActions.read(e)?35:0),this.elements=(0,d.h)("div.gutter@gutter",{style:{position:"absolute",height:"100%",width:"35px"}},[]),this._currentDiff=(0,p.nK)(this,e=>{var t;let i=this._diffModel.read(e);if(!i)return;let n=null===(t=i.diff.read(e))||void 0===t?void 0:t.mappings,s=this._editors.modifiedCursor.read(e);if(s)return null==n?void 0:n.find(e=>e.lineRangeMapping.modified.contains(s.lineNumber))}),this._selectedDiffs=(0,p.nK)(this,e=>{let t=this._diffModel.read(e),i=null==t?void 0:t.diff.read(e);if(!i)return e6;let n=this._editors.modifiedSelections.read(e);if(n.every(e=>e.isEmpty()))return e6;let s=new I.i(n.map(e=>I.z.fromRangeInclusive(e))),o=i.mappings.filter(e=>e.lineRangeMapping.innerChanges&&s.intersects(e.lineRangeMapping.modified)),r=o.map(e=>({mapping:e,rangeMappings:e.lineRangeMapping.innerChanges.filter(e=>n.some(t=>R.e.areIntersecting(e.modifiedRange,t)))}));return 0===r.length||r.every(e=>0===e.rangeMappings.length)?e6:r}),this._register((0,N.RL)(e,this.elements.root)),this._register((0,d.nm)(this.elements.root,"click",()=>{this._editors.modified.focus()})),this._register((0,N.bg)(this.elements.root,{display:this._hasActions.map(e=>e?"block":"none")})),(0,m.kA)(this,t=>{let i=this._showSash.read(t);return i?new eh(e,this._sashLayout.dimensions,this._options.enableSplitViewResizing,this._boundarySashes,(0,m.B5)(this,e=>this._sashLayout.sashLeft.read(e)-35,(e,t)=>this._sashLayout.sashLeft.set(e+35,t)),()=>this._sashLayout.resetSash()):void 0}).recomputeInitiallyAndOnChange(this._store),this._register(new eG(this._editors.modified,this.elements.root,{getIntersectingGutterItems:(e,t)=>{let i=this._diffModel.read(t);if(!i)return[];let n=i.diff.read(t);if(!n)return[];let s=this._selectedDiffs.read(t);if(s.length>0){let e=A.gB.fromRangeMappings(s.flatMap(e=>e.rangeMappings));return[new e7(e,!0,e1.eH.DiffEditorSelectionToolbar,void 0,i.model.original.uri,i.model.modified.uri)]}let o=this._currentDiff.read(t);return n.mappings.map(e=>new e7(e.lineRangeMapping.withInnerChangesFromLineRanges(),e.lineRangeMapping===(null==o?void 0:o.lineRangeMapping),e1.eH.DiffEditorHunkToolbar,void 0,i.model.original.uri,i.model.modified.uri))},createView:(e,t)=>this._instantiationService.createInstance(e8,e,t,this)})),this._register((0,d.nm)(this.elements.gutter,d.tw.MOUSE_WHEEL,e=>{this._editors.modified.getOption(103).handleMouseWheel&&this._editors.modified.delegateScrollFromMouseWheelEvent(e)},{passive:!1}))}computeStagedValue(e){var t;let i=null!==(t=e.innerChanges)&&void 0!==t?t:[],n=new eX(this._editors.modifiedModel.get()),s=new eX(this._editors.original.getModel()),o=new eY.PY(i.map(e=>e.toTextEdit(n))),r=o.apply(s);return r}layout(e){this.elements.gutter.style.left=e+"px"}};e9=e4([e3(6,V.TG),e3(7,e2.i6),e3(8,e1.co)],e9);class e7{constructor(e,t,i,n,s,o){this.mapping=e,this.showAlways=t,this.menuId=i,this.rangeOverride=n,this.originalUri=s,this.modifiedUri=o}get id(){return this.mapping.modified.toString()}get range(){var e;return null!==(e=this.rangeOverride)&&void 0!==e?e:this.mapping.modified}}let e8=class extends g.JT{constructor(e,t,i,n){super(),this._item=e,this._elements=(0,d.h)("div.gutterItem",{style:{height:"20px",width:"34px"}},[(0,d.h)("div.background@background",{},[]),(0,d.h)("div.buttons@buttons",{},[])]),this._showAlways=this._item.map(this,e=>e.showAlways),this._menuId=this._item.map(this,e=>e.menuId),this._isSmall=(0,p.uh)(this,!1),this._lastItemRange=void 0,this._lastViewRange=void 0;let s=this._register(n.createInstance(e5.mQ,"element",!0,{position:{hoverPosition:1}}));this._register((0,N.xx)(t,this._elements.root)),this._register((0,p.EH)(e=>{let t=this._showAlways.read(e);this._elements.root.classList.toggle("noTransition",!0),this._elements.root.classList.toggle("showAlways",t),setTimeout(()=>{this._elements.root.classList.toggle("noTransition",!1)},0)})),this._register((0,p.gp)((e,t)=>{this._elements.buttons.replaceChildren();let o=t.add(n.createInstance(e0.r,this._elements.buttons,this._menuId.read(e),{orientation:1,hoverDelegate:s,toolbarOptions:{primaryGroup:e=>e.startsWith("primary")},overflowBehavior:{maxItems:this._isSmall.read(e)?1:3},hiddenItemStrategy:0,actionRunner:new eZ.D(()=>{let e=this._item.get(),t=e.mapping;return{mapping:t,originalWithModifiedChanges:i.computeStagedValue(t),originalUri:e.originalUri,modifiedUri:e.modifiedUri}}),menuOptions:{shouldForwardArgs:!0}}));t.add(o.onDidChangeMenuItems(()=>{this._lastItemRange&&this.layout(this._lastItemRange,this._lastViewRange)}))}))}layout(e,t){this._lastItemRange=e,this._lastViewRange=t;let i=this._elements.buttons.clientHeight;this._isSmall.set(1===this._item.get().mapping.original.startLineNumber&&e.length<30,void 0),i=this._elements.buttons.clientHeight;let n=e.length/2-i/2,s=i,o=e.start+n,r=T.q.tryCreate(s,t.endExclusive-s-i),l=T.q.tryCreate(e.start+s,e.endExclusive-i-s);l&&r&&l.startthis._themeService.getColorTheme()),h=(0,p.nK)(e=>{let t=l.read(e),i=t.getColor(ts.P6Y)||(t.getColor(ts.ypS)||ts.CzK).transparent(2),n=t.getColor(ts.F9q)||(t.getColor(ts.P4M)||ts.keg).transparent(2);return{insertColor:i,removeColor:n}}),u=(0,tt.X)(document.createElement("div"));u.setClassName("diffViewport"),u.setPosition("absolute");let c=(0,d.h)("div.diffOverview",{style:{position:"absolute",top:"0px",width:a.ENTIRE_DIFF_OVERVIEW_WIDTH+"px"}}).root;this._register((0,N.xx)(c,u.domNode)),this._register((0,d.mu)(c,d.tw.POINTER_DOWN,e=>{this._editors.modified.delegateVerticalScrollbarPointerDown(e)})),this._register((0,d.nm)(c,d.tw.MOUSE_WHEEL,e=>{this._editors.modified.delegateScrollFromMouseWheelEvent(e)},{passive:!1})),this._register((0,N.xx)(this._rootElement,c)),this._register((0,p.gp)((e,t)=>{let i=this._diffModel.read(e),n=this._editors.original.createOverviewRuler("original diffOverviewRuler");n&&(t.add(n),t.add((0,N.xx)(c,n.getDomNode())));let s=this._editors.modified.createOverviewRuler("modified diffOverviewRuler");if(s&&(t.add(s),t.add((0,N.xx)(c,s.getDomNode()))),!n||!s)return;let o=(0,p.aq)("viewZoneChanged",this._editors.original.onDidChangeViewZones),r=(0,p.aq)("viewZoneChanged",this._editors.modified.onDidChangeViewZones),l=(0,p.aq)("hiddenRangesChanged",this._editors.original.onDidChangeHiddenAreas),d=(0,p.aq)("hiddenRangesChanged",this._editors.modified.onDidChangeHiddenAreas);t.add((0,p.EH)(e=>{var t;o.read(e),r.read(e),l.read(e),d.read(e);let a=h.read(e),u=null===(t=null==i?void 0:i.diff.read(e))||void 0===t?void 0:t.mappings;function c(e,t,i){let n=i._getViewModel();return n?e.filter(e=>e.length>0).map(e=>{let i=n.coordinatesConverter.convertModelPositionToViewPosition(new M.L(e.startLineNumber,1)),s=n.coordinatesConverter.convertModelPositionToViewPosition(new M.L(e.endLineNumberExclusive,1)),o=s.lineNumber-i.lineNumber;return new tn.EY(i.lineNumber,s.lineNumber,o,t.toString())}):[]}let g=c((u||[]).map(e=>e.lineRangeMapping.original),a.removeColor,this._editors.original),p=c((u||[]).map(e=>e.lineRangeMapping.modified),a.insertColor,this._editors.modified);null==n||n.setZones(g),null==s||s.setZones(p)})),t.add((0,p.EH)(e=>{let t=this._rootHeight.read(e),i=this._rootWidth.read(e),o=this._modifiedEditorLayoutInfo.read(e);if(o){let i=a.ENTIRE_DIFF_OVERVIEW_WIDTH-2*a.ONE_OVERVIEW_WIDTH;n.setLayout({top:0,height:t,right:i+a.ONE_OVERVIEW_WIDTH,width:a.ONE_OVERVIEW_WIDTH}),s.setLayout({top:0,height:t,right:0,width:a.ONE_OVERVIEW_WIDTH});let r=this._editors.modifiedScrollTop.read(e),l=this._editors.modifiedScrollHeight.read(e),d=this._editors.modified.getOption(103),h=new ti.M(d.verticalHasArrows?d.arrowSize:0,d.verticalScrollbarSize,0,o.height,l,r);u.setTop(h.getSliderPosition()),u.setHeight(h.getSliderSize())}else u.setTop(0),u.setHeight(0);c.style.height=t+"px",c.style.left=i-a.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",u.setWidth(a.ENTIRE_DIFF_OVERVIEW_WIDTH)}))}))}};tr.ONE_OVERVIEW_WIDTH=15,tr.ENTIRE_DIFF_OVERVIEW_WIDTH=2*a.ONE_OVERVIEW_WIDTH,tr=a=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(s=to.XE,function(e,t){s(e,t,6)})],tr);var tl=i(56811),ta=i(84973);let td=[];class th extends g.JT{constructor(e,t,i,n){super(),this._editors=e,this._diffModel=t,this._options=i,this._widget=n,this._selectedDiffs=(0,p.nK)(this,e=>{let t=this._diffModel.read(e),i=null==t?void 0:t.diff.read(e);if(!i)return td;let n=this._editors.modifiedSelections.read(e);if(n.every(e=>e.isEmpty()))return td;let s=new I.i(n.map(e=>I.z.fromRangeInclusive(e))),o=i.mappings.filter(e=>e.lineRangeMapping.innerChanges&&s.intersects(e.lineRangeMapping.modified)),r=o.map(e=>({mapping:e,rangeMappings:e.lineRangeMapping.innerChanges.filter(e=>n.some(t=>R.e.areIntersecting(e.modifiedRange,t)))}));return 0===r.length||r.every(e=>0===e.rangeMappings.length)?td:r}),this._register((0,p.gp)((e,t)=>{if(!this._options.shouldRenderOldRevertArrows.read(e))return;let i=this._diffModel.read(e),n=null==i?void 0:i.diff.read(e);if(!i||!n||i.movedTextToCompare.read(e))return;let s=[],o=this._selectedDiffs.read(e),r=new Set(o.map(e=>e.mapping));if(o.length>0){let i=this._editors.modifiedSelections.read(e),n=t.add(new tu(i[i.length-1].positionLineNumber,this._widget,o.flatMap(e=>e.rangeMappings),!0));this._editors.modified.addGlyphMarginWidget(n),s.push(n)}for(let e of n.mappings)if(!r.has(e)&&!e.lineRangeMapping.modified.isEmpty&&e.lineRangeMapping.innerChanges){let i=t.add(new tu(e.lineRangeMapping.modified.startLineNumber,this._widget,e.lineRangeMapping,!1));this._editors.modified.addGlyphMarginWidget(i),s.push(i)}t.add((0,g.OF)(()=>{for(let e of s)this._editors.modified.removeGlyphMarginWidget(e)}))}))}}class tu extends g.JT{getId(){return this._id}constructor(e,t,i,n){super(),this._lineNumber=e,this._widget=t,this._diffs=i,this._revertSelection=n,this._id=`revertButton${tu.counter++}`,this._domNode=(0,d.h)("div.revertButton",{title:this._revertSelection?(0,W.NC)("revertSelectedChanges","Revert Selected Changes"):(0,W.NC)("revertChange","Revert Change")},[(0,tl.h)(k.l.arrowRight)]).root,this._register((0,d.nm)(this._domNode,d.tw.MOUSE_DOWN,e=>{2!==e.button&&(e.stopPropagation(),e.preventDefault())})),this._register((0,d.nm)(this._domNode,d.tw.MOUSE_UP,e=>{e.stopPropagation(),e.preventDefault()})),this._register((0,d.nm)(this._domNode,d.tw.CLICK,e=>{this._diffs instanceof A.f0?this._widget.revert(this._diffs):this._widget.revertRangeMappings(this._diffs),e.stopPropagation(),e.preventDefault()}))}getDomNode(){return this._domNode}getPosition(){return{lane:ta.U.Right,range:{startColumn:1,startLineNumber:this._lineNumber,endColumn:1,endLineNumber:this._lineNumber},zIndex:10001}}}function tc(e,t,i){let n=e.bindTo(t);return(0,p.UV)({debugName:()=>`Set Context Key "${e.key}"`},e=>{n.set(i(e))})}tu.counter=0;var tg=i(96518),tp=i(29102),tm=i(60972),tf=i(90535);class t_{static get(e){let t=t_._map.get(e);if(!t){t=new t_(e),t_._map.set(e,t);let i=e.onDidDispose(()=>{t_._map.delete(e),i.dispose()})}return t}constructor(e){this.editor=e,this.model=(0,p.rD)(this.editor.onDidChangeModel,()=>this.editor.getModel())}}t_._map=new Map;var tv=i(91847),tb=function(e,t){return function(i,n){t(i,n,e)}};let tC=class extends g.JT{get onDidContentSizeChange(){return this._onDidContentSizeChange.event}constructor(e,t,i,n,s,o,r){var l;super(),this.originalEditorElement=e,this.modifiedEditorElement=t,this._options=i,this._argCodeEditorWidgetOptions=n,this._createInnerEditor=s,this._instantiationService=o,this._keybindingService=r,this.original=this._register(this._createLeftHandSideEditor(this._options.editorOptions.get(),this._argCodeEditorWidgetOptions.originalEditor||{})),this.modified=this._register(this._createRightHandSideEditor(this._options.editorOptions.get(),this._argCodeEditorWidgetOptions.modifiedEditor||{})),this._onDidContentSizeChange=this._register(new c.Q5),this.modifiedScrollTop=(0,p.rD)(this.modified.onDidScrollChange,()=>this.modified.getScrollTop()),this.modifiedScrollHeight=(0,p.rD)(this.modified.onDidScrollChange,()=>this.modified.getScrollHeight()),this.modifiedModel=(l=this.modified,t_.get(l)).model,this.modifiedSelections=(0,p.rD)(this.modified.onDidChangeCursorSelection,()=>{var e;return null!==(e=this.modified.getSelections())&&void 0!==e?e:[]}),this.modifiedCursor=(0,p.bk)({owner:this,equalsFn:M.L.equals},e=>{var t,i;return null!==(i=null===(t=this.modifiedSelections.read(e)[0])||void 0===t?void 0:t.getPosition())&&void 0!==i?i:new M.L(1,1)}),this.originalCursor=(0,p.rD)(this.original.onDidChangeCursorPosition,()=>{var e;return null!==(e=this.original.getPosition())&&void 0!==e?e:new M.L(1,1)}),this._argCodeEditorWidgetOptions=null,this._register((0,p.nJ)({createEmptyChangeSummary:()=>({}),handleChange:(e,t)=>(e.didChange(i.editorOptions)&&Object.assign(t,e.change.changedOptions),!0)},(e,t)=>{i.editorOptions.read(e),this._options.renderSideBySide.read(e),this.modified.updateOptions(this._adjustOptionsForRightHandSide(e,t)),this.original.updateOptions(this._adjustOptionsForLeftHandSide(e,t))}))}_createLeftHandSideEditor(e,t){let i=this._adjustOptionsForLeftHandSide(void 0,e),n=this._constructInnerEditor(this._instantiationService,this.originalEditorElement,i,t);return n.setContextValue("isInDiffLeftEditor",!0),n}_createRightHandSideEditor(e,t){let i=this._adjustOptionsForRightHandSide(void 0,e),n=this._constructInnerEditor(this._instantiationService,this.modifiedEditorElement,i,t);return n.setContextValue("isInDiffRightEditor",!0),n}_constructInnerEditor(e,t,i,n){let s=this._createInnerEditor(e,t,i,n);return this._register(s.onDidContentSizeChange(e=>{let t=this.original.getContentWidth()+this.modified.getContentWidth()+tr.ENTIRE_DIFF_OVERVIEW_WIDTH,i=Math.max(this.modified.getContentHeight(),this.original.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:i,contentWidth:t,contentHeightChanged:e.contentHeightChanged,contentWidthChanged:e.contentWidthChanged})})),s}_adjustOptionsForLeftHandSide(e,t){let i=this._adjustOptionsForSubEditor(t);return this._options.renderSideBySide.get()?(i.unicodeHighlight=this._options.editorOptions.get().unicodeHighlight||{},i.wordWrapOverride1=this._options.diffWordWrap.get()):(i.wordWrapOverride1="off",i.wordWrapOverride2="off",i.stickyScroll={enabled:!1},i.unicodeHighlight={nonBasicASCII:!1,ambiguousCharacters:!1,invisibleCharacters:!1}),i.glyphMargin=this._options.renderSideBySide.get(),t.originalAriaLabel&&(i.ariaLabel=t.originalAriaLabel),i.ariaLabel=this._updateAriaLabel(i.ariaLabel),i.readOnly=!this._options.originalEditable.get(),i.dropIntoEditor={enabled:!i.readOnly},i.extraEditorClassName="original-in-monaco-diff-editor",i}_adjustOptionsForRightHandSide(e,t){let i=this._adjustOptionsForSubEditor(t);return t.modifiedAriaLabel&&(i.ariaLabel=t.modifiedAriaLabel),i.ariaLabel=this._updateAriaLabel(i.ariaLabel),i.wordWrapOverride1=this._options.diffWordWrap.get(),i.revealHorizontalRightPadding=E.BH.revealHorizontalRightPadding.defaultValue+tr.ENTIRE_DIFF_OVERVIEW_WIDTH,i.scrollbar.verticalHasArrows=!1,i.extraEditorClassName="modified-in-monaco-diff-editor",i}_adjustOptionsForSubEditor(e){let t={...e,dimension:{height:0,width:0}};return t.inDiffEditor=!0,t.automaticLayout=!1,t.scrollbar={...t.scrollbar||{}},t.folding=!1,t.codeLens=this._options.diffCodeLens.get(),t.fixedOverflowWidgets=!0,t.minimap={...t.minimap||{}},t.minimap.enabled=!1,this._options.hideUnchangedRegions.get()?t.stickyScroll={enabled:!1}:t.stickyScroll=this._options.editorOptions.get().stickyScroll,t}_updateAriaLabel(e){var t;e||(e="");let i=(0,W.NC)("diff-aria-navigation-tip"," use {0} to open the accessibility help.",null===(t=this._keybindingService.lookupKeybinding("editor.action.accessibilityHelp"))||void 0===t?void 0:t.getAriaLabel());return this._options.accessibilityVerbose.get()?e+i:e?e.replaceAll(i,""):""}};tC=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([tb(5,V.TG),tb(6,tv.d)],tC);class tw extends g.JT{constructor(){super(...arguments),this._id=++tw.idCounter,this._onDidDispose=this._register(new c.Q5),this.onDidDispose=this._onDidDispose.event}getId(){return this.getEditorType()+":v2:"+this._id}getVisibleColumnFromPosition(e){return this._targetEditor.getVisibleColumnFromPosition(e)}getPosition(){return this._targetEditor.getPosition()}setPosition(e,t="api"){this._targetEditor.setPosition(e,t)}revealLine(e,t=0){this._targetEditor.revealLine(e,t)}revealLineInCenter(e,t=0){this._targetEditor.revealLineInCenter(e,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._targetEditor.revealLineInCenterIfOutsideViewport(e,t)}revealLineNearTop(e,t=0){this._targetEditor.revealLineNearTop(e,t)}revealPosition(e,t=0){this._targetEditor.revealPosition(e,t)}revealPositionInCenter(e,t=0){this._targetEditor.revealPositionInCenter(e,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._targetEditor.revealPositionInCenterIfOutsideViewport(e,t)}revealPositionNearTop(e,t=0){this._targetEditor.revealPositionNearTop(e,t)}getSelection(){return this._targetEditor.getSelection()}getSelections(){return this._targetEditor.getSelections()}setSelection(e,t="api"){this._targetEditor.setSelection(e,t)}setSelections(e,t="api"){this._targetEditor.setSelections(e,t)}revealLines(e,t,i=0){this._targetEditor.revealLines(e,t,i)}revealLinesInCenter(e,t,i=0){this._targetEditor.revealLinesInCenter(e,t,i)}revealLinesInCenterIfOutsideViewport(e,t,i=0){this._targetEditor.revealLinesInCenterIfOutsideViewport(e,t,i)}revealLinesNearTop(e,t,i=0){this._targetEditor.revealLinesNearTop(e,t,i)}revealRange(e,t=0,i=!1,n=!0){this._targetEditor.revealRange(e,t,i,n)}revealRangeInCenter(e,t=0){this._targetEditor.revealRangeInCenter(e,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._targetEditor.revealRangeInCenterIfOutsideViewport(e,t)}revealRangeNearTop(e,t=0){this._targetEditor.revealRangeNearTop(e,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._targetEditor.revealRangeNearTopIfOutsideViewport(e,t)}revealRangeAtTop(e,t=0){this._targetEditor.revealRangeAtTop(e,t)}getSupportedActions(){return this._targetEditor.getSupportedActions()}focus(){this._targetEditor.focus()}trigger(e,t,i){this._targetEditor.trigger(e,t,i)}createDecorationsCollection(e){return this._targetEditor.createDecorationsCollection(e)}changeDecorations(e){return this._targetEditor.changeDecorations(e)}}tw.idCounter=0;var ty=i(15115),tS=i(31106);let tL=class{get editorOptions(){return this._options}constructor(e,t){this._accessibilityService=t,this._diffEditorWidth=(0,p.uh)(this,0),this._screenReaderMode=(0,p.rD)(this._accessibilityService.onDidChangeScreenReaderOptimized,()=>this._accessibilityService.isScreenReaderOptimized()),this.couldShowInlineViewBecauseOfSize=(0,p.nK)(this,e=>this._options.read(e).renderSideBySide&&this._diffEditorWidth.read(e)<=this._options.read(e).renderSideBySideInlineBreakpoint),this.renderOverviewRuler=(0,p.nK)(this,e=>this._options.read(e).renderOverviewRuler),this.renderSideBySide=(0,p.nK)(this,e=>this._options.read(e).renderSideBySide&&!(this._options.read(e).useInlineViewWhenSpaceIsLimited&&this.couldShowInlineViewBecauseOfSize.read(e)&&!this._screenReaderMode.read(e))),this.readOnly=(0,p.nK)(this,e=>this._options.read(e).readOnly),this.shouldRenderOldRevertArrows=(0,p.nK)(this,e=>!(!this._options.read(e).renderMarginRevertIcon||!this.renderSideBySide.read(e)||this.readOnly.read(e)||this.shouldRenderGutterMenu.read(e))),this.shouldRenderGutterMenu=(0,p.nK)(this,e=>this._options.read(e).renderGutterMenu),this.renderIndicators=(0,p.nK)(this,e=>this._options.read(e).renderIndicators),this.enableSplitViewResizing=(0,p.nK)(this,e=>this._options.read(e).enableSplitViewResizing),this.splitViewDefaultRatio=(0,p.nK)(this,e=>this._options.read(e).splitViewDefaultRatio),this.ignoreTrimWhitespace=(0,p.nK)(this,e=>this._options.read(e).ignoreTrimWhitespace),this.maxComputationTimeMs=(0,p.nK)(this,e=>this._options.read(e).maxComputationTime),this.showMoves=(0,p.nK)(this,e=>this._options.read(e).experimental.showMoves&&this.renderSideBySide.read(e)),this.isInEmbeddedEditor=(0,p.nK)(this,e=>this._options.read(e).isInEmbeddedEditor),this.diffWordWrap=(0,p.nK)(this,e=>this._options.read(e).diffWordWrap),this.originalEditable=(0,p.nK)(this,e=>this._options.read(e).originalEditable),this.diffCodeLens=(0,p.nK)(this,e=>this._options.read(e).diffCodeLens),this.accessibilityVerbose=(0,p.nK)(this,e=>this._options.read(e).accessibilityVerbose),this.diffAlgorithm=(0,p.nK)(this,e=>this._options.read(e).diffAlgorithm),this.showEmptyDecorations=(0,p.nK)(this,e=>this._options.read(e).experimental.showEmptyDecorations),this.onlyShowAccessibleDiffViewer=(0,p.nK)(this,e=>this._options.read(e).onlyShowAccessibleDiffViewer),this.hideUnchangedRegions=(0,p.nK)(this,e=>this._options.read(e).hideUnchangedRegions.enabled),this.hideUnchangedRegionsRevealLineCount=(0,p.nK)(this,e=>this._options.read(e).hideUnchangedRegions.revealLineCount),this.hideUnchangedRegionsContextLineCount=(0,p.nK)(this,e=>this._options.read(e).hideUnchangedRegions.contextLineCount),this.hideUnchangedRegionsMinimumLineCount=(0,p.nK)(this,e=>this._options.read(e).hideUnchangedRegions.minimumLineCount);let i={...e,...tk(e,ty.k)};this._options=(0,p.uh)(this,i)}updateOptions(e){let t=tk(e,this._options.get()),i={...this._options.get(),...e,...t};this._options.set(i,void 0,{changedOptions:e})}setWidth(e){this._diffEditorWidth.set(e,void 0)}};function tk(e,t){var i,n,s,o,r,l,a,d;return{enableSplitViewResizing:(0,E.O7)(e.enableSplitViewResizing,t.enableSplitViewResizing),splitViewDefaultRatio:(0,E.L_)(e.splitViewDefaultRatio,.5,.1,.9),renderSideBySide:(0,E.O7)(e.renderSideBySide,t.renderSideBySide),renderMarginRevertIcon:(0,E.O7)(e.renderMarginRevertIcon,t.renderMarginRevertIcon),maxComputationTime:(0,E.Zc)(e.maxComputationTime,t.maxComputationTime,0,1073741824),maxFileSize:(0,E.Zc)(e.maxFileSize,t.maxFileSize,0,1073741824),ignoreTrimWhitespace:(0,E.O7)(e.ignoreTrimWhitespace,t.ignoreTrimWhitespace),renderIndicators:(0,E.O7)(e.renderIndicators,t.renderIndicators),originalEditable:(0,E.O7)(e.originalEditable,t.originalEditable),diffCodeLens:(0,E.O7)(e.diffCodeLens,t.diffCodeLens),renderOverviewRuler:(0,E.O7)(e.renderOverviewRuler,t.renderOverviewRuler),diffWordWrap:(0,E.NY)(e.diffWordWrap,t.diffWordWrap,["off","on","inherit"]),diffAlgorithm:(0,E.NY)(e.diffAlgorithm,t.diffAlgorithm,["legacy","advanced"],{smart:"legacy",experimental:"advanced"}),accessibilityVerbose:(0,E.O7)(e.accessibilityVerbose,t.accessibilityVerbose),experimental:{showMoves:(0,E.O7)(null===(i=e.experimental)||void 0===i?void 0:i.showMoves,t.experimental.showMoves),showEmptyDecorations:(0,E.O7)(null===(n=e.experimental)||void 0===n?void 0:n.showEmptyDecorations,t.experimental.showEmptyDecorations)},hideUnchangedRegions:{enabled:(0,E.O7)(null!==(o=null===(s=e.hideUnchangedRegions)||void 0===s?void 0:s.enabled)&&void 0!==o?o:null===(r=e.experimental)||void 0===r?void 0:r.collapseUnchangedRegions,t.hideUnchangedRegions.enabled),contextLineCount:(0,E.Zc)(null===(l=e.hideUnchangedRegions)||void 0===l?void 0:l.contextLineCount,t.hideUnchangedRegions.contextLineCount,0,1073741824),minimumLineCount:(0,E.Zc)(null===(a=e.hideUnchangedRegions)||void 0===a?void 0:a.minimumLineCount,t.hideUnchangedRegions.minimumLineCount,0,1073741824),revealLineCount:(0,E.Zc)(null===(d=e.hideUnchangedRegions)||void 0===d?void 0:d.revealLineCount,t.hideUnchangedRegions.revealLineCount,0,1073741824)},isInEmbeddedEditor:(0,E.O7)(e.isInEmbeddedEditor,t.isInEmbeddedEditor),onlyShowAccessibleDiffViewer:(0,E.O7)(e.onlyShowAccessibleDiffViewer,t.onlyShowAccessibleDiffViewer),renderSideBySideInlineBreakpoint:(0,E.Zc)(e.renderSideBySideInlineBreakpoint,t.renderSideBySideInlineBreakpoint,0,1073741824),useInlineViewWhenSpaceIsLimited:(0,E.O7)(e.useInlineViewWhenSpaceIsLimited,t.useInlineViewWhenSpaceIsLimited),renderGutterMenu:(0,E.O7)(e.renderGutterMenu,t.renderGutterMenu)}}tL=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(o=tS.F,function(e,t){o(e,t,1)})],tL);var tD=function(e,t){return function(i,n){t(i,n,e)}};let tx=class extends tw{get onDidContentSizeChange(){return this._editors.onDidContentSizeChange}constructor(e,t,i,n,s,o,r,l){var a;let h;super(),this._domElement=e,this._parentContextKeyService=n,this._parentInstantiationService=s,this._accessibilitySignalService=r,this._editorProgressService=l,this.elements=(0,d.h)("div.monaco-diff-editor.side-by-side",{style:{position:"relative",height:"100%"}},[(0,d.h)("div.editor.original@original",{style:{position:"absolute",height:"100%"}}),(0,d.h)("div.editor.modified@modified",{style:{position:"absolute",height:"100%"}}),(0,d.h)("div.accessibleDiffViewer@accessibleDiffViewer",{style:{position:"absolute",height:"100%"}})]),this._diffModel=(0,p.uh)(this,void 0),this._shouldDisposeDiffModel=!1,this.onDidChangeModel=c.ju.fromObservableLight(this._diffModel),this._contextKeyService=this._register(this._parentContextKeyService.createScoped(this._domElement)),this._instantiationService=this._register(this._parentInstantiationService.createChild(new tm.y([e2.i6,this._contextKeyService]))),this._boundarySashes=(0,p.uh)(this,void 0),this._accessibleDiffViewerShouldBeVisible=(0,p.uh)(this,!1),this._accessibleDiffViewerVisible=(0,p.nK)(this,e=>!!this._options.onlyShowAccessibleDiffViewer.read(e)||this._accessibleDiffViewerShouldBeVisible.read(e)),this._movedBlocksLinesPart=(0,p.uh)(this,void 0),this._layoutInfo=(0,p.nK)(this,e=>{var t,i,n,s,o;let r,l,a,d,h;let u=this._rootSizeObserver.width.read(e),c=this._rootSizeObserver.height.read(e);this._rootSizeObserver.automaticLayout?this.elements.root.style.height="100%":this.elements.root.style.height=c+"px";let g=this._sash.read(e),p=this._gutter.read(e),m=null!==(t=null==p?void 0:p.width.read(e))&&void 0!==t?t:0,f=null!==(n=null===(i=this._overviewRulerPart.read(e))||void 0===i?void 0:i.width)&&void 0!==n?n:0;if(g){let t=g.sashLeft.read(e),i=null!==(o=null===(s=this._movedBlocksLinesPart.read(e))||void 0===s?void 0:s.width.read(e))&&void 0!==o?o:0;r=0,l=t-m-i,h=t-m,d=u-(a=t)-f}else h=0,r=m,d=u-(a=m+(l=Math.max(5,this._editors.original.getLayoutInfo().decorationsLeft)))-f;return this.elements.original.style.left=r+"px",this.elements.original.style.width=l+"px",this._editors.original.layout({width:l,height:c},!0),null==p||p.layout(h),this.elements.modified.style.left=a+"px",this.elements.modified.style.width=d+"px",this._editors.modified.layout({width:d,height:c},!0),{modifiedEditor:this._editors.modified.getLayoutInfo(),originalEditor:this._editors.original.getLayoutInfo()}}),this._diffValue=this._diffModel.map((e,t)=>null==e?void 0:e.diff.read(t)),this.onDidUpdateDiff=c.ju.fromObservableLight(this._diffValue),o.willCreateDiffEditor(),this._contextKeyService.createKey("isInDiffEditor",!0),this._domElement.appendChild(this.elements.root),this._register((0,g.OF)(()=>this._domElement.removeChild(this.elements.root))),this._rootSizeObserver=this._register(new N.DU(this.elements.root,t.dimension)),this._rootSizeObserver.setAutomaticLayout(null!==(a=t.automaticLayout)&&void 0!==a&&a),this._options=this._instantiationService.createInstance(tL,t),this._register((0,p.EH)(e=>{this._options.setWidth(this._rootSizeObserver.width.read(e))})),this._contextKeyService.createKey(tp.u.isEmbeddedDiffEditor.key,!1),this._register(tc(tp.u.isEmbeddedDiffEditor,this._contextKeyService,e=>this._options.isInEmbeddedEditor.read(e))),this._register(tc(tp.u.comparingMovedCode,this._contextKeyService,e=>{var t;return!!(null===(t=this._diffModel.read(e))||void 0===t?void 0:t.movedTextToCompare.read(e))})),this._register(tc(tp.u.diffEditorRenderSideBySideInlineBreakpointReached,this._contextKeyService,e=>this._options.couldShowInlineViewBecauseOfSize.read(e))),this._register(tc(tp.u.diffEditorInlineMode,this._contextKeyService,e=>!this._options.renderSideBySide.read(e))),this._register(tc(tp.u.hasChanges,this._contextKeyService,e=>{var t,i,n;return(null!==(n=null===(i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.diff.read(e))||void 0===i?void 0:i.mappings.length)&&void 0!==n?n:0)>0})),this._editors=this._register(this._instantiationService.createInstance(tC,this.elements.original,this.elements.modified,this._options,i,(e,t,i,n)=>this._createInnerEditor(e,t,i,n))),this._register(tc(tp.u.diffEditorOriginalWritable,this._contextKeyService,e=>this._options.originalEditable.read(e))),this._register(tc(tp.u.diffEditorModifiedWritable,this._contextKeyService,e=>!this._options.readOnly.read(e))),this._register(tc(tp.u.diffEditorOriginalUri,this._contextKeyService,e=>{var t,i;return null!==(i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.model.original.uri.toString())&&void 0!==i?i:""})),this._register(tc(tp.u.diffEditorModifiedUri,this._contextKeyService,e=>{var t,i;return null!==(i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.model.modified.uri.toString())&&void 0!==i?i:""})),this._overviewRulerPart=(0,m.kA)(this,e=>this._options.renderOverviewRuler.read(e)?this._instantiationService.createInstance((0,N.NW)(tr,e),this._editors,this.elements.root,this._diffModel,this._rootSizeObserver.width,this._rootSizeObserver.height,this._layoutInfo.map(e=>e.modifiedEditor)):void 0).recomputeInitiallyAndOnChange(this._store);let u={height:this._rootSizeObserver.height,width:this._rootSizeObserver.width.map((e,t)=>{var i,n;return e-(null!==(n=null===(i=this._overviewRulerPart.read(t))||void 0===i?void 0:i.width)&&void 0!==n?n:0)})};this._sashLayout=new ed(this._options,u),this._sash=(0,m.kA)(this,e=>{let t=this._options.renderSideBySide.read(e);return this.elements.root.classList.toggle("side-by-side",t),t?new eh(this.elements.root,u,this._options.enableSplitViewResizing,this._boundarySashes,this._sashLayout.sashLeft,()=>this._sashLayout.resetSash()):void 0}).recomputeInitiallyAndOnChange(this._store);let f=(0,m.kA)(this,e=>this._instantiationService.createInstance((0,N.NW)(te.O,e),this._editors,this._diffModel,this._options)).recomputeInitiallyAndOnChange(this._store);(0,m.kA)(this,e=>this._instantiationService.createInstance((0,N.NW)(el,e),this._editors,this._diffModel,this._options,this)).recomputeInitiallyAndOnChange(this._store);let _=new Set,b=new Set,C=!1,w=(0,m.kA)(this,e=>this._instantiationService.createInstance((0,N.NW)(e$,e),(0,d.Jj)(this._domElement),this._editors,this._diffModel,this._options,this,()=>C||f.get().isUpdatingHiddenAreas,_,b)).recomputeInitiallyAndOnChange(this._store),y=(0,p.nK)(this,e=>{let t=w.read(e).viewZones.read(e).orig,i=f.read(e).viewZones.read(e).origViewZones;return t.concat(i)}),S=(0,p.nK)(this,e=>{let t=w.read(e).viewZones.read(e).mod,i=f.read(e).viewZones.read(e).modViewZones;return t.concat(i)});this._register((0,N.Sv)(this._editors.original,y,e=>{C=e},_)),this._register((0,N.Sv)(this._editors.modified,S,e=>{(C=e)?h=v.Z.capture(this._editors.modified):(null==h||h.restore(this._editors.modified),h=void 0)},b)),this._accessibleDiffViewer=(0,m.kA)(this,e=>this._instantiationService.createInstance((0,N.NW)(G,e),this.elements.accessibleDiffViewer,this._accessibleDiffViewerVisible,(e,t)=>this._accessibleDiffViewerShouldBeVisible.set(e,t),this._options.onlyShowAccessibleDiffViewer.map(e=>!e),this._rootSizeObserver.width,this._rootSizeObserver.height,this._diffModel.map((e,t)=>{var i;return null===(i=null==e?void 0:e.diff.read(t))||void 0===i?void 0:i.mappings.map(e=>e.lineRangeMapping)}),new ei(this._editors))).recomputeInitiallyAndOnChange(this._store);let L=this._accessibleDiffViewerVisible.map(e=>e?"hidden":"visible");this._register((0,N.bg)(this.elements.modified,{visibility:L})),this._register((0,N.bg)(this.elements.original,{visibility:L})),this._createDiffEditorContributions(),o.addDiffEditor(this),this._gutter=(0,m.kA)(this,e=>this._options.shouldRenderGutterMenu.read(e)?this._instantiationService.createInstance((0,N.NW)(e9,e),this.elements.root,this._diffModel,this._editors,this._options,this._sashLayout,this._boundarySashes):void 0),this._register((0,p.jx)(this._layoutInfo)),(0,m.kA)(this,e=>new((0,N.NW)(en,e))(this.elements.root,this._diffModel,this._layoutInfo.map(e=>e.originalEditor),this._layoutInfo.map(e=>e.modifiedEditor),this._editors)).recomputeInitiallyAndOnChange(this._store,e=>{this._movedBlocksLinesPart.set(e,void 0)}),this._register(c.ju.runAndSubscribe(this._editors.modified.onDidChangeCursorPosition,e=>this._handleCursorPositionChange(e,!0))),this._register(c.ju.runAndSubscribe(this._editors.original.onDidChangeCursorPosition,e=>this._handleCursorPositionChange(e,!1)));let k=this._diffModel.map(this,(e,t)=>{if(e)return void 0===e.diff.read(t)&&!e.isDiffUpToDate.read(t)});this._register((0,p.gp)((e,t)=>{if(!0===k.read(e)){let e=this._editorProgressService.show(!0,1e3);t.add((0,g.OF)(()=>e.done()))}})),this._register((0,g.OF)(()=>{var e;this._shouldDisposeDiffModel&&(null===(e=this._diffModel.get())||void 0===e||e.dispose())})),this._register((0,p.gp)((e,t)=>{t.add(new((0,N.NW)(th,e))(this._editors,this._diffModel,this._options,this))}))}_createInnerEditor(e,t,i,n){let s=e.createInstance(b.Gm,t,i,n);return s}_createDiffEditorContributions(){let e=f.Uc.getDiffEditorContributions();for(let t of e)try{this._register(this._instantiationService.createInstance(t.ctor,this))}catch(e){(0,u.dL)(e)}}get _targetEditor(){return this._editors.modified}getEditorType(){return tg.g.IDiffEditor}layout(e){this._rootSizeObserver.observe(e)}hasTextFocus(){return this._editors.original.hasTextFocus()||this._editors.modified.hasTextFocus()}saveViewState(){var e;let t=this._editors.original.saveViewState(),i=this._editors.modified.saveViewState();return{original:t,modified:i,modelState:null===(e=this._diffModel.get())||void 0===e?void 0:e.serializeState()}}restoreViewState(e){var t;e&&e.original&&e.modified&&(this._editors.original.restoreViewState(e.original),this._editors.modified.restoreViewState(e.modified),e.modelState&&(null===(t=this._diffModel.get())||void 0===t||t.restoreSerializedState(e.modelState)))}handleInitialized(){this._editors.original.handleInitialized(),this._editors.modified.handleInitialized()}createViewModel(e){return this._instantiationService.createInstance(eN,e,this._options)}getModel(){var e,t;return null!==(t=null===(e=this._diffModel.get())||void 0===e?void 0:e.model)&&void 0!==t?t:null}setModel(e,t){!e&&this._diffModel.get()&&this._accessibleDiffViewer.get().close();let i=e?"model"in e?{model:e,shouldDispose:!1}:{model:this.createViewModel(e),shouldDispose:!0}:void 0;this._diffModel.get()!==(null==i?void 0:i.model)&&(0,p.c8)(t,e=>{var t;p.rD.batchEventsGlobally(e,()=>{this._editors.original.setModel(i?i.model.model.original:null),this._editors.modified.setModel(i?i.model.model.modified:null)});let n=this._diffModel.get(),s=this._shouldDisposeDiffModel;this._shouldDisposeDiffModel=null!==(t=null==i?void 0:i.shouldDispose)&&void 0!==t&&t,this._diffModel.set(null==i?void 0:i.model,e),s&&(null==n||n.dispose())})}updateOptions(e){this._options.updateOptions(e)}getContainerDomNode(){return this._domElement}getOriginalEditor(){return this._editors.original}getModifiedEditor(){return this._editors.modified}getLineChanges(){var e;let t=null===(e=this._diffModel.get())||void 0===e?void 0:e.diff.get();return t?t.mappings.map(e=>{let t,i,n,s;let o=e.lineRangeMapping,r=o.innerChanges;return o.original.isEmpty?(t=o.original.startLineNumber-1,i=0,r=void 0):(t=o.original.startLineNumber,i=o.original.endLineNumberExclusive-1),o.modified.isEmpty?(n=o.modified.startLineNumber-1,s=0,r=void 0):(n=o.modified.startLineNumber,s=o.modified.endLineNumberExclusive-1),{originalStartLineNumber:t,originalEndLineNumber:i,modifiedStartLineNumber:n,modifiedEndLineNumber:s,charChanges:null==r?void 0:r.map(e=>({originalStartLineNumber:e.originalRange.startLineNumber,originalStartColumn:e.originalRange.startColumn,originalEndLineNumber:e.originalRange.endLineNumber,originalEndColumn:e.originalRange.endColumn,modifiedStartLineNumber:e.modifiedRange.startLineNumber,modifiedStartColumn:e.modifiedRange.startColumn,modifiedEndLineNumber:e.modifiedRange.endLineNumber,modifiedEndColumn:e.modifiedRange.endColumn}))}}):null}revert(e){let t=this._diffModel.get();t&&t.isDiffUpToDate.get()&&this._editors.modified.executeEdits("diffEditor",[{range:e.modified.toExclusiveRange(),text:t.model.original.getValueInRange(e.original.toExclusiveRange())}])}revertRangeMappings(e){let t=this._diffModel.get();if(!t||!t.isDiffUpToDate.get())return;let i=e.map(e=>({range:e.modifiedRange,text:t.model.original.getValueInRange(e.originalRange)}));this._editors.modified.executeEdits("diffEditor",i)}_goTo(e){this._editors.modified.setPosition(new M.L(e.lineRangeMapping.modified.startLineNumber,1)),this._editors.modified.revealRangeInCenter(e.lineRangeMapping.modified.toExclusiveRange())}goToDiff(e){var t,i,n,s;let o;let r=null===(i=null===(t=this._diffModel.get())||void 0===t?void 0:t.diff.get())||void 0===i?void 0:i.mappings;if(!r||0===r.length)return;let l=this._editors.modified.getPosition().lineNumber;o="next"===e?null!==(n=r.find(e=>e.lineRangeMapping.modified.startLineNumber>l))&&void 0!==n?n:r[0]:null!==(s=(0,h.dF)(r,e=>e.lineRangeMapping.modified.startLineNumber{var t;let i=null===(t=e.diff.get())||void 0===t?void 0:t.mappings;i&&0!==i.length&&this._goTo(i[0])})}accessibleDiffViewerNext(){this._accessibleDiffViewer.get().next()}accessibleDiffViewerPrev(){this._accessibleDiffViewer.get().prev()}async waitForDiff(){let e=this._diffModel.get();e&&await e.waitForDiff()}mapToOtherSide(){var e,t;let i;let n=this._editors.modified.hasWidgetFocus(),s=n?this._editors.modified:this._editors.original,o=n?this._editors.original:this._editors.modified,r=s.getSelection();if(r){let s=null===(t=null===(e=this._diffModel.get())||void 0===e?void 0:e.diff.get())||void 0===t?void 0:t.mappings.map(e=>n?e.lineRangeMapping.flip():e.lineRangeMapping);if(s){let e=(0,N.cV)(r.getStartPosition(),s),t=(0,N.cV)(r.getEndPosition(),s);i=R.e.plusRange(e,t)}}return{destination:o,destinationSelection:i}}switchSide(){let{destination:e,destinationSelection:t}=this.mapToOtherSide();e.focus(),t&&e.setSelection(t)}exitCompareMove(){let e=this._diffModel.get();e&&e.movedTextToCompare.set(void 0,void 0)}collapseAllUnchangedRegions(){var e;let t=null===(e=this._diffModel.get())||void 0===e?void 0:e.unchangedRegions.get();t&&(0,p.PS)(e=>{for(let i of t)i.collapseAll(e)})}showAllUnchangedRegions(){var e;let t=null===(e=this._diffModel.get())||void 0===e?void 0:e.unchangedRegions.get();t&&(0,p.PS)(e=>{for(let i of t)i.showAll(e)})}_handleCursorPositionChange(e,t){var i,n;if((null==e?void 0:e.reason)===3){let s=null===(n=null===(i=this._diffModel.get())||void 0===i?void 0:i.diff.get())||void 0===n?void 0:n.mappings.find(i=>t?i.lineRangeMapping.modified.contains(e.position.lineNumber):i.lineRangeMapping.original.contains(e.position.lineNumber));(null==s?void 0:s.lineRangeMapping.modified.isEmpty)?this._accessibilitySignalService.playSignal(H.iP.diffLineDeleted,{source:"diffEditor.cursorPositionChanged"}):(null==s?void 0:s.lineRangeMapping.original.isEmpty)?this._accessibilitySignalService.playSignal(H.iP.diffLineInserted,{source:"diffEditor.cursorPositionChanged"}):s&&this._accessibilitySignalService.playSignal(H.iP.diffLineModified,{source:"diffEditor.cursorPositionChanged"})}}};tx=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([tD(3,e2.i6),tD(4,V.TG),tD(5,_.$),tD(6,H.IV),tD(7,tf.ek)],tx)},78713:function(e,t,i){"use strict";i.d(t,{O:function(){return w}});var n,s,o=i(65321),r=i(56811),l=i(78789),a=i(59365),d=i(5976),h=i(39901),u=i(54282),c=i(25670),g=i(98401),p=i(31651),m=i(45463),f=i(50187),_=i(24314),v=i(43155),b=i(63580),C=i(72065);let w=s=class extends d.JT{static setBreadcrumbsSourceFactory(e){this._breadcrumbsSourceFactory.set(e,void 0)}get isUpdatingHiddenAreas(){return this._isUpdatingHiddenAreas}constructor(e,t,i,n){super(),this._editors=e,this._diffModel=t,this._options=i,this._instantiationService=n,this._modifiedOutlineSource=(0,u.kA)(this,e=>{let t=this._editors.modifiedModel.read(e),i=s._breadcrumbsSourceFactory.read(e);return t&&i?i(t,this._instantiationService):void 0}),this._isUpdatingHiddenAreas=!1,this._register(this._editors.original.onDidChangeCursorPosition(e=>{if(1===e.reason)return;let t=this._diffModel.get();(0,h.PS)(e=>{for(let i of this._editors.original.getSelections()||[])null==t||t.ensureOriginalLineIsVisible(i.getStartPosition().lineNumber,0,e),null==t||t.ensureOriginalLineIsVisible(i.getEndPosition().lineNumber,0,e)})})),this._register(this._editors.modified.onDidChangeCursorPosition(e=>{if(1===e.reason)return;let t=this._diffModel.get();(0,h.PS)(e=>{for(let i of this._editors.modified.getSelections()||[])null==t||t.ensureModifiedLineIsVisible(i.getStartPosition().lineNumber,0,e),null==t||t.ensureModifiedLineIsVisible(i.getEndPosition().lineNumber,0,e)})}));let o=this._diffModel.map((e,t)=>{var i,n;let s=null!==(i=null==e?void 0:e.unchangedRegions.read(t))&&void 0!==i?i:[];return 1===s.length&&1===s[0].modifiedLineNumber&&s[0].lineCount===(null===(n=this._editors.modifiedModel.read(t))||void 0===n?void 0:n.getLineCount())?[]:s});this.viewZones=(0,h.Be)(this,(e,t)=>{let i=this._modifiedOutlineSource.read(e);if(!i)return{origViewZones:[],modViewZones:[]};let n=[],s=[],r=this._options.renderSideBySide.read(e),l=o.read(e);for(let o of l)if(!o.shouldHideControls(e)){{let e=(0,h.nK)(this,e=>o.getHiddenOriginalRange(e).startLineNumber-1),s=new p.GD(e,24);n.push(s),t.add(new y(this._editors.original,s,o,o.originalUnchangedRange,!r,i,e=>this._diffModel.get().ensureModifiedLineIsVisible(e,2,void 0),this._options))}{let e=(0,h.nK)(this,e=>o.getHiddenModifiedRange(e).startLineNumber-1),n=new p.GD(e,24);s.push(n),t.add(new y(this._editors.modified,n,o,o.modifiedUnchangedRange,!1,i,e=>this._diffModel.get().ensureModifiedLineIsVisible(e,2,void 0),this._options))}}return{origViewZones:n,modViewZones:s}});let r={description:"unchanged lines",className:"diff-unchanged-lines",isWholeLine:!0},d={description:"Fold Unchanged",glyphMarginHoverMessage:new a.W5(void 0,{isTrusted:!0,supportThemeIcons:!0}).appendMarkdown((0,b.NC)("foldUnchanged","Fold Unchanged Region")),glyphMarginClassName:"fold-unchanged "+c.k.asClassName(l.l.fold),zIndex:10001};this._register((0,p.RP)(this._editors.original,(0,h.nK)(this,e=>{let t=o.read(e),i=t.map(e=>({range:e.originalUnchangedRange.toInclusiveRange(),options:r}));for(let n of t)n.shouldHideControls(e)&&i.push({range:_.e.fromPositions(new f.L(n.originalLineNumber,1)),options:d});return i}))),this._register((0,p.RP)(this._editors.modified,(0,h.nK)(this,e=>{let t=o.read(e),i=t.map(e=>({range:e.modifiedUnchangedRange.toInclusiveRange(),options:r}));for(let n of t)n.shouldHideControls(e)&&i.push({range:m.z.ofLength(n.modifiedLineNumber,1).toInclusiveRange(),options:d});return i}))),this._register((0,h.EH)(e=>{let t=o.read(e);this._isUpdatingHiddenAreas=!0;try{this._editors.original.setHiddenAreas(t.map(t=>t.getHiddenOriginalRange(e).toInclusiveRange()).filter(g.$K)),this._editors.modified.setHiddenAreas(t.map(t=>t.getHiddenModifiedRange(e).toInclusiveRange()).filter(g.$K))}finally{this._isUpdatingHiddenAreas=!1}})),this._register(this._editors.modified.onMouseUp(e=>{var t;if(!e.event.rightButton&&e.target.position&&(null===(t=e.target.element)||void 0===t?void 0:t.className.includes("fold-unchanged"))){let t=e.target.position.lineNumber,i=this._diffModel.get();if(!i)return;let n=i.unchangedRegions.get().find(e=>e.modifiedUnchangedRange.includes(t));if(!n)return;n.collapseAll(void 0),e.event.stopPropagation(),e.event.preventDefault()}})),this._register(this._editors.original.onMouseUp(e=>{var t;if(!e.event.rightButton&&e.target.position&&(null===(t=e.target.element)||void 0===t?void 0:t.className.includes("fold-unchanged"))){let t=e.target.position.lineNumber,i=this._diffModel.get();if(!i)return;let n=i.unchangedRegions.get().find(e=>e.originalUnchangedRange.includes(t));if(!n)return;n.collapseAll(void 0),e.event.stopPropagation(),e.event.preventDefault()}}))}};w._breadcrumbsSourceFactory=(0,h.uh)("breadcrumbsSourceFactory",void 0),w=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=C.TG,function(e,t){n(e,t,3)})],w);class y extends p.N9{constructor(e,t,i,n,s,a,d,u){let c=(0,o.h)("div.diff-hidden-lines-widget");super(e,t,c.root),this._editor=e,this._unchangedRegion=i,this._unchangedRegionRange=n,this._hide=s,this._modifiedOutlineSource=a,this._revealModifiedHiddenLine=d,this._options=u,this._nodes=(0,o.h)("div.diff-hidden-lines",[(0,o.h)("div.top@top",{title:(0,b.NC)("diff.hiddenLines.top","Click or drag to show more above")}),(0,o.h)("div.center@content",{style:{display:"flex"}},[(0,o.h)("div@first",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:"0"}},[(0,o.$)("a",{title:(0,b.NC)("showUnchangedRegion","Show Unchanged Region"),role:"button",onclick:()=>{this._unchangedRegion.showAll(void 0)}},...(0,r.T)("$(unfold)"))]),(0,o.h)("div@others",{style:{display:"flex",justifyContent:"center",alignItems:"center"}})]),(0,o.h)("div.bottom@bottom",{title:(0,b.NC)("diff.bottom","Click or drag to show more below"),role:"button"})]),c.root.appendChild(this._nodes.root);let g=(0,h.rD)(this._editor.onDidLayoutChange,()=>this._editor.getLayoutInfo());this._hide?(0,o.mc)(this._nodes.first):this._register((0,p.bg)(this._nodes.first,{width:g.map(e=>e.contentLeft)})),this._register((0,h.EH)(e=>{let t=this._unchangedRegion.visibleLineCountTop.read(e)+this._unchangedRegion.visibleLineCountBottom.read(e)===this._unchangedRegion.lineCount;this._nodes.bottom.classList.toggle("canMoveTop",!t),this._nodes.bottom.classList.toggle("canMoveBottom",this._unchangedRegion.visibleLineCountBottom.read(e)>0),this._nodes.top.classList.toggle("canMoveTop",this._unchangedRegion.visibleLineCountTop.read(e)>0),this._nodes.top.classList.toggle("canMoveBottom",!t);let i=this._unchangedRegion.isDragged.read(e),n=this._editor.getDomNode();n&&(n.classList.toggle("draggingUnchangedRegion",!!i),"top"===i?(n.classList.toggle("canMoveTop",this._unchangedRegion.visibleLineCountTop.read(e)>0),n.classList.toggle("canMoveBottom",!t)):"bottom"===i?(n.classList.toggle("canMoveTop",!t),n.classList.toggle("canMoveBottom",this._unchangedRegion.visibleLineCountBottom.read(e)>0)):(n.classList.toggle("canMoveTop",!1),n.classList.toggle("canMoveBottom",!1)))}));let m=this._editor;this._register((0,o.nm)(this._nodes.top,"mousedown",e=>{if(0!==e.button)return;this._nodes.top.classList.toggle("dragging",!0),this._nodes.root.classList.toggle("dragging",!0),e.preventDefault();let t=e.clientY,i=!1,n=this._unchangedRegion.visibleLineCountTop.get();this._unchangedRegion.isDragged.set("top",void 0);let s=(0,o.Jj)(this._nodes.top),r=(0,o.nm)(s,"mousemove",e=>{let s=e.clientY,o=s-t;i=i||Math.abs(o)>2;let r=Math.round(o/m.getOption(67)),l=Math.max(0,Math.min(n+r,this._unchangedRegion.getMaxVisibleLineCountTop()));this._unchangedRegion.visibleLineCountTop.set(l,void 0)}),l=(0,o.nm)(s,"mouseup",e=>{i||this._unchangedRegion.showMoreAbove(this._options.hideUnchangedRegionsRevealLineCount.get(),void 0),this._nodes.top.classList.toggle("dragging",!1),this._nodes.root.classList.toggle("dragging",!1),this._unchangedRegion.isDragged.set(void 0,void 0),r.dispose(),l.dispose()})})),this._register((0,o.nm)(this._nodes.bottom,"mousedown",e=>{if(0!==e.button)return;this._nodes.bottom.classList.toggle("dragging",!0),this._nodes.root.classList.toggle("dragging",!0),e.preventDefault();let t=e.clientY,i=!1,n=this._unchangedRegion.visibleLineCountBottom.get();this._unchangedRegion.isDragged.set("bottom",void 0);let s=(0,o.Jj)(this._nodes.bottom),r=(0,o.nm)(s,"mousemove",e=>{let s=e.clientY,o=s-t;i=i||Math.abs(o)>2;let r=Math.round(o/m.getOption(67)),l=Math.max(0,Math.min(n-r,this._unchangedRegion.getMaxVisibleLineCountBottom())),a=this._unchangedRegionRange.endLineNumberExclusive>m.getModel().getLineCount()?m.getContentHeight():m.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);this._unchangedRegion.visibleLineCountBottom.set(l,void 0);let d=this._unchangedRegionRange.endLineNumberExclusive>m.getModel().getLineCount()?m.getContentHeight():m.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);m.setScrollTop(m.getScrollTop()+(d-a))}),l=(0,o.nm)(s,"mouseup",e=>{if(this._unchangedRegion.isDragged.set(void 0,void 0),!i){let e=m.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);this._unchangedRegion.showMoreBelow(this._options.hideUnchangedRegionsRevealLineCount.get(),void 0);let t=m.getTopForLineNumber(this._unchangedRegionRange.endLineNumberExclusive);m.setScrollTop(m.getScrollTop()+(t-e))}this._nodes.bottom.classList.toggle("dragging",!1),this._nodes.root.classList.toggle("dragging",!1),r.dispose(),l.dispose()})})),this._register((0,h.EH)(e=>{let t=[];if(!this._hide){let n=i.getHiddenModifiedRange(e).length,s=(0,b.NC)("hiddenLines","{0} hidden lines",n),a=(0,o.$)("span",{title:(0,b.NC)("diff.hiddenLines.expandAll","Double click to unfold")},s);a.addEventListener("dblclick",e=>{0===e.button&&(e.preventDefault(),this._unchangedRegion.showAll(void 0))}),t.push(a);let d=this._unchangedRegion.getHiddenModifiedRange(e),h=this._modifiedOutlineSource.getBreadcrumbItems(d,e);if(h.length>0){t.push((0,o.$)("span",void 0,"\xa0\xa0|\xa0\xa0"));for(let e=0;e{this._revealModifiedHiddenLine(i.startLineNumber)}}}}(0,o.mc)(this._nodes.others,...t)}))}}},48354:function(e,t,i){"use strict";i.d(t,{$F:function(){return C},Jv:function(){return f},LE:function(){return m},W3:function(){return b},fO:function(){return h},i_:function(){return p},iq:function(){return c},n_:function(){return _},rd:function(){return g},rq:function(){return v},vv:function(){return u}});var n=i(78789),s=i(25670),o=i(84901),r=i(63580),l=i(75974),a=i(59554);(0,l.P6G)("diffEditor.move.border",{dark:"#8b8b8b9c",light:"#8b8b8b9c",hcDark:"#8b8b8b9c",hcLight:"#8b8b8b9c"},(0,r.NC)("diffEditor.move.border","The border color for text that got moved in the diff editor.")),(0,l.P6G)("diffEditor.moveActive.border",{dark:"#FFA500",light:"#FFA500",hcDark:"#FFA500",hcLight:"#FFA500"},(0,r.NC)("diffEditor.moveActive.border","The active border color for text that got moved in the diff editor.")),(0,l.P6G)("diffEditor.unchangedRegionShadow",{dark:"#000000",light:"#737373BF",hcDark:"#000000",hcLight:"#737373BF"},(0,r.NC)("diffEditor.unchangedRegionShadow","The color of the shadow around unchanged region widgets."));let d=(0,a.q5)("diff-insert",n.l.add,(0,r.NC)("diffInsertIcon","Line decoration for inserts in the diff editor.")),h=(0,a.q5)("diff-remove",n.l.remove,(0,r.NC)("diffRemoveIcon","Line decoration for removals in the diff editor.")),u=o.qx.register({className:"line-insert",description:"line-insert",isWholeLine:!0,linesDecorationsClassName:"insert-sign "+s.k.asClassName(d),marginClassName:"gutter-insert"}),c=o.qx.register({className:"line-delete",description:"line-delete",isWholeLine:!0,linesDecorationsClassName:"delete-sign "+s.k.asClassName(h),marginClassName:"gutter-delete"}),g=o.qx.register({className:"line-insert",description:"line-insert",isWholeLine:!0,marginClassName:"gutter-insert"}),p=o.qx.register({className:"line-delete",description:"line-delete",isWholeLine:!0,marginClassName:"gutter-delete"}),m=o.qx.register({className:"char-insert",description:"char-insert",shouldFillLineOnLineBreak:!0}),f=o.qx.register({className:"char-insert",description:"char-insert",isWholeLine:!0}),_=o.qx.register({className:"char-insert diff-range-empty",description:"char-insert diff-range-empty"}),v=o.qx.register({className:"char-delete",description:"char-delete",shouldFillLineOnLineBreak:!0}),b=o.qx.register({className:"char-delete",description:"char-delete",isWholeLine:!0}),C=o.qx.register({className:"char-delete diff-range-empty",description:"char-delete diff-range-empty"})},31651:function(e,t,i){"use strict";let n;i.d(t,{t2:function(){return x},DU:function(){return b},GD:function(){return y},N9:function(){return w},Vm:function(){return C},xx:function(){return _},RP:function(){return f},bg:function(){return L},Sv:function(){return D},W7:function(){return E},Ap:function(){return m},RL:function(){return v},NW:function(){return k},cV:function(){return N}});var s=i(35534),o=i(71050),r=i(76648);function l(){return r.OB&&!!r.OB.VSCODE_DEV}function a(e){if(!l())return{dispose(){}};{let t=function(){n||(n=new Set);let e=globalThis;return e.$hotReload_applyNewExports||(e.$hotReload_applyNewExports=e=>{let t={config:{mode:void 0},...e};for(let e of n){let i=e(t);if(i)return i}}),n}();return t.add(e),{dispose(){t.delete(e)}}}}l()&&a(({oldExports:e,newSrc:t,config:i})=>{if("patch-prototype"===i.mode)return t=>{var i,n;for(let s in t){let o=t[s];if(console.log(`[hot-reload] Patching prototype methods of '${s}'`,{exportedItem:o}),"function"==typeof o&&o.prototype){let r=e[s];if(r){for(let e of Object.getOwnPropertyNames(o.prototype)){let t=Object.getOwnPropertyDescriptor(o.prototype,e),l=Object.getOwnPropertyDescriptor(r.prototype,e);(null===(i=null==t?void 0:t.value)||void 0===i?void 0:i.toString())!==(null===(n=null==l?void 0:l.value)||void 0===n?void 0:n.toString())&&console.log(`[hot-reload] Patching prototype method '${s}.${e}'`),Object.defineProperty(r.prototype,e,t)}t[s]=r}}}return!0}});var d=i(5976),h=i(39901),u=i(54534),c=i(50187),g=i(24314),p=i(59722);function m(e,t,i,n){if(0===e.length)return t;if(0===t.length)return e;let s=[],o=0,r=0;for(;oh?(s.push(a),r++):(s.push(n(l,a)),o++,r++)}for(;o`Apply decorations from ${t.debugName}`},e=>{let i=t.read(e);n.set(i)})),i.add({dispose:()=>{n.clear()}}),i}function _(e,t){return e.appendChild(t),(0,d.OF)(()=>{e.removeChild(t)})}function v(e,t){return e.prepend(t),(0,d.OF)(()=>{e.removeChild(t)})}class b extends d.JT{get width(){return this._width}get height(){return this._height}get automaticLayout(){return this._automaticLayout}constructor(e,t){super(),this._automaticLayout=!1,this.elementSizeObserver=this._register(new u.I(e,t)),this._width=(0,h.uh)(this,this.elementSizeObserver.getWidth()),this._height=(0,h.uh)(this,this.elementSizeObserver.getHeight()),this._register(this.elementSizeObserver.onDidChange(e=>(0,h.PS)(e=>{this._width.set(this.elementSizeObserver.getWidth(),e),this._height.set(this.elementSizeObserver.getHeight(),e)})))}observe(e){this.elementSizeObserver.observe(e)}setAutomaticLayout(e){this._automaticLayout=e,e?this.elementSizeObserver.startObserving():this.elementSizeObserver.stopObserving()}}function C(e,t,i){let n,s=t.get(),o=s,r=s,l=(0,h.uh)("animatedValue",s),a=-1;return i.add((0,h.nJ)({createEmptyChangeSummary:()=>({animate:!1}),handleChange:(e,i)=>(e.didChange(t)&&(i.animate=i.animate||e.change),!0)},(i,d)=>{void 0!==n&&(e.cancelAnimationFrame(n),n=void 0),o=r,s=t.read(i),a=Date.now()-(d.animate?0:300),function t(){var i,d;let h=Date.now()-a;r=Math.floor((i=o,d=s-o,300===h?i+d:d*(-Math.pow(2,-10*h/300)+1)+i)),h<300?n=e.requestAnimationFrame(t):r=s,l.set(r,void 0)}()})),l}class w extends d.JT{constructor(e,t,i){super(),this._register(new S(e,i)),this._register(L(i,{height:t.actualHeight,top:t.actualTop}))}}class y{get afterLineNumber(){return this._afterLineNumber.get()}constructor(e,t){this._afterLineNumber=e,this.heightInPx=t,this.domNode=document.createElement("div"),this._actualTop=(0,h.uh)(this,void 0),this._actualHeight=(0,h.uh)(this,void 0),this.actualTop=this._actualTop,this.actualHeight=this._actualHeight,this.showInHiddenAreas=!0,this.onChange=this._afterLineNumber,this.onDomNodeTop=e=>{this._actualTop.set(e,void 0)},this.onComputedHeight=e=>{this._actualHeight.set(e,void 0)}}}class S{constructor(e,t){this._editor=e,this._domElement=t,this._overlayWidgetId=`managedOverlayWidget-${S._counter++}`,this._overlayWidget={getId:()=>this._overlayWidgetId,getDomNode:()=>this._domElement,getPosition:()=>null},this._editor.addOverlayWidget(this._overlayWidget)}dispose(){this._editor.removeOverlayWidget(this._overlayWidget)}}function L(e,t){return(0,h.EH)(i=>{for(let[n,s]of Object.entries(t))s&&"object"==typeof s&&"read"in s&&(s=s.read(i)),"number"==typeof s&&(s=`${s}px`),n=n.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()),e.style[n]=s})}function k(e,t){return function(e,t){if(l()){let i=(0,h.aq)("reload",t=>a(({oldExports:i})=>{if([...Object.values(i)].some(t=>e.includes(t)))return e=>(t(void 0),!0)}));i.read(t)}}([e],t),e}function D(e,t,i,n){let s=new d.SL,o=[];return s.add((0,h.gp)((s,r)=>{let l=t.read(s),a=new Map,d=new Map;i&&i(!0),e.changeViewZones(e=>{for(let t of o)e.removeZone(t),null==n||n.delete(t);for(let t of(o.length=0,l)){let i=e.addZone(t);t.setZoneId&&t.setZoneId(i),o.push(i),null==n||n.add(i),a.set(t,i)}}),i&&i(!1),r.add((0,h.nJ)({createEmptyChangeSummary:()=>({zoneIds:[]}),handleChange(e,t){let i=d.get(e.changedObservable);return void 0!==i&&t.zoneIds.push(i),!0}},(t,n)=>{for(let e of l)e.onChange&&(d.set(e.onChange,a.get(e)),e.onChange.read(t));i&&i(!0),e.changeViewZones(e=>{for(let t of n.zoneIds)e.layoutZone(t)}),i&&i(!1)}))})),s.add({dispose(){i&&i(!0),e.changeViewZones(e=>{for(let t of o)e.removeZone(t)}),null==n||n.clear(),i&&i(!1)}}),s}S._counter=0;class x extends o.AU{dispose(){super.dispose(!0)}}function N(e,t){let i=(0,s.dF)(t,t=>t.original.startLineNumber<=e.lineNumber);if(!i)return g.e.fromPositions(e);if(i.original.endLineNumberExclusive<=e.lineNumber){let t=e.lineNumber-i.original.endLineNumberExclusive+i.modified.endLineNumberExclusive;return g.e.fromPositions(new c.L(t,e.column))}if(!i.innerChanges)return g.e.fromPositions(new c.L(i.modified.startLineNumber,1));let n=(0,s.dF)(i.innerChanges,t=>t.originalRange.getStartPosition().isBeforeOrEqual(e));if(!n){let t=e.lineNumber-i.original.startLineNumber+i.modified.startLineNumber;return g.e.fromPositions(new c.L(t,e.column))}if(n.originalRange.containsPosition(e))return n.modifiedRange;{var o;let t=(o=n.originalRange.getEndPosition()).lineNumber===e.lineNumber?new p.A(0,e.column-o.column):new p.A(e.lineNumber-o.lineNumber,e.column-1);return g.e.fromPositions(t.addToPosition(n.modifiedRange.getEndPosition()))}}function E(e,t){let i;return e.filter(e=>{let n=t(e,i);return i=e,n})}},72545:function(e,t,i){"use strict";i.d(t,{$:function(){return m},N:function(){return f}});var n,s=i(5710),o=i(77514),r=i(17301),l=i(4669),a=i(5976);i(22592);var d=i(52136),h=i(72042),u=i(68801),c=i(82963),g=i(50988),p=function(e,t){return function(i,n){t(i,n,e)}};let m=n=class{constructor(e,t,i){this._options=e,this._languageService=t,this._openerService=i,this._onDidRenderAsync=new l.Q5,this.onDidRenderAsync=this._onDidRenderAsync.event}dispose(){this._onDidRenderAsync.dispose()}render(e,t,i){if(!e){let e=document.createElement("span");return{element:e,dispose:()=>{}}}let n=new a.SL,o=n.add((0,s.ap)(e,{...this._getRenderOptions(e,n),...t},i));return o.element.classList.add("rendered-markdown"),{element:o.element,dispose:()=>n.dispose()}}_getRenderOptions(e,t){return{codeBlockRenderer:async(e,t)=>{var i,s,o;let r;e?r=this._languageService.getLanguageIdByLanguageName(e):this._options.editor&&(r=null===(i=this._options.editor.getModel())||void 0===i?void 0:i.getLanguageId()),r||(r=u.bd);let l=await (0,c.C2)(this._languageService,t,r),a=document.createElement("span");if(a.innerHTML=null!==(o=null===(s=n._ttpTokenizer)||void 0===s?void 0:s.createHTML(l))&&void 0!==o?o:l,this._options.editor){let e=this._options.editor.getOption(50);(0,d.N)(a,e)}else this._options.codeBlockFontFamily&&(a.style.fontFamily=this._options.codeBlockFontFamily);return void 0!==this._options.codeBlockFontSize&&(a.style.fontSize=this._options.codeBlockFontSize),a},asyncRenderCallback:()=>this._onDidRenderAsync.fire(),actionHandler:{callback:t=>f(this._openerService,t,e.isTrusted),disposables:t}}}};async function f(e,t,i){try{return await e.open(t,{fromUserGesture:!0,allowContributedOpeners:!0,allowCommands:!0===i||!!(i&&Array.isArray(i.enabledCommands))&&i.enabledCommands})}catch(e){return(0,r.dL)(e),!1}}m._ttpTokenizer=(0,o.Z)("tokenizeToString",{createHTML:e=>e}),m=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([p(1,h.O),p(2,g.v)],m)},33528:function(e,t,i){"use strict";i.d(t,{D:function(){return s}});var n=i(74741);class s extends n.Wi{constructor(e){super(),this._getContext=e}runAction(e,t){let i=this._getContext();return super.runAction(e,i)}}},61329:function(e,t,i){"use strict";i.d(t,{OY:function(){return o},Sj:function(){return r},T4:function(){return s},Uo:function(){return l},hP:function(){return a}});var n=i(3860);class s{constructor(e,t,i=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=i}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),s=i[0].range;return n.Y.fromPositions(s.getEndPosition())}}class o{constructor(e,t){this._range=e,this._text=t}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),s=i[0].range;return n.Y.fromRange(s,0)}}class r{constructor(e,t,i=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=i}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),s=i[0].range;return n.Y.fromPositions(s.getStartPosition())}}class l{constructor(e,t,i,n,s=!1){this._range=e,this._text=t,this._columnDeltaOffset=n,this._lineNumberDeltaOffset=i,this.insertsAutoWhitespace=s}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),s=i[0].range;return n.Y.fromPositions(s.getEndPosition().delta(this._lineNumberDeltaOffset,this._columnDeltaOffset))}}class a{constructor(e,t,i,n=!1){this._range=e,this._text=t,this._initialSelection=i,this._forceMoveMarkers=n,this._selectionId=null}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text,this._forceMoveMarkers),this._selectionId=t.trackSelection(this._initialSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}},10291:function(e,t,i){"use strict";i.d(t,{U:function(){return g}});var n,s,o=i(97295),r=i(7988),l=i(24314),a=i(3860),d=i(1615),h=i(4256);let u=Object.create(null);function c(e,t){if(t<=0)return"";u[e]||(u[e]=["",e]);let i=u[e];for(let n=i.length;n<=t;n++)i[n]=i[n-1]+e;return i[t]}let g=s=class{static unshiftIndent(e,t,i,n,s){let o=r.i.visibleColumnFromColumn(e,t,i);if(s){let e=c(" ",n),t=r.i.prevIndentTabStop(o,n),i=t/n;return c(e,i)}{let e=r.i.prevRenderTabStop(o,i),t=e/i;return c(" ",t)}}static shiftIndent(e,t,i,n,s){let o=r.i.visibleColumnFromColumn(e,t,i);if(s){let e=c(" ",n),t=r.i.nextIndentTabStop(o,n),i=t/n;return c(e,i)}{let e=r.i.nextRenderTabStop(o,i),t=e/i;return c(" ",t)}}constructor(e,t,i){this._languageConfigurationService=i,this._opts=t,this._selection=e,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}_addEditOperation(e,t,i){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,i):e.addEditOperation(t,i)}getEditOperations(e,t){let i=this._selection.startLineNumber,n=this._selection.endLineNumber;1===this._selection.endColumn&&i!==n&&(n-=1);let{tabSize:a,indentSize:h,insertSpaces:u}=this._opts,g=i===n;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(e.getLineContent(i))&&(this._useLastEditRangeForCursorEndPosition=!0);let c=0,p=0;for(let m=i;m<=n;m++,c=p){let n;p=0;let f=e.getLineContent(m),_=o.LC(f);if((!this._opts.isUnshift||0!==f.length&&0!==_)&&(g||this._opts.isUnshift||0!==f.length)){if(-1===_&&(_=f.length),m>1){let t=r.i.visibleColumnFromColumn(f,_+1,a);if(t%h!=0&&e.tokenization.isCheapToTokenize(m-1)){let t=(0,d.A)(this._opts.autoIndent,e,new l.e(m-1,e.getLineMaxColumn(m-1),m-1,e.getLineMaxColumn(m-1)),this._languageConfigurationService);if(t){if(p=c,t.appendText)for(let e=0,i=t.appendText.length;e=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=h.c_,function(e,t){n(e,t,2)})],g)},15115:function(e,t,i){"use strict";i.d(t,{k:function(){return n}});let n={enableSplitViewResizing:!0,splitViewDefaultRatio:.5,renderSideBySide:!0,renderMarginRevertIcon:!0,renderGutterMenu:!0,maxComputationTime:5e3,maxFileSize:50,ignoreTrimWhitespace:!0,renderIndicators:!0,originalEditable:!1,diffCodeLens:!1,renderOverviewRuler:!0,diffWordWrap:"inherit",diffAlgorithm:"advanced",accessibilityVerbose:!1,experimental:{showMoves:!1,showEmptyDecorations:!0},hideUnchangedRegions:{enabled:!1,contextLineCount:3,minimumLineCount:3,revealLineCount:20},isInEmbeddedEditor:!1,onlyShowAccessibleDiffViewer:!1,renderSideBySideInlineBreakpoint:900,useInlineViewWhenSpaceIsLimited:!0}},800:function(e,t,i){"use strict";i.d(t,{Pe:function(){return p},ei:function(){return g},wk:function(){return d}});var n=i(15115),s=i(64141),o=i(22075),r=i(63580),l=i(23193),a=i(89872);let d=Object.freeze({id:"editor",order:5,type:"object",title:r.NC("editorConfigurationTitle","Editor"),scope:5}),h={...d,properties:{"editor.tabSize":{type:"number",default:o.D.tabSize,minimum:1,markdownDescription:r.NC("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when {0} is on.","`#editor.detectIndentation#`")},"editor.indentSize":{anyOf:[{type:"string",enum:["tabSize"]},{type:"number",minimum:1}],default:"tabSize",markdownDescription:r.NC("indentSize",'The number of spaces used for indentation or `"tabSize"` to use the value from `#editor.tabSize#`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.')},"editor.insertSpaces":{type:"boolean",default:o.D.insertSpaces,markdownDescription:r.NC("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when {0} is on.","`#editor.detectIndentation#`")},"editor.detectIndentation":{type:"boolean",default:o.D.detectIndentation,markdownDescription:r.NC("detectIndentation","Controls whether {0} and {1} will be automatically detected when a file is opened based on the file contents.","`#editor.tabSize#`","`#editor.insertSpaces#`")},"editor.trimAutoWhitespace":{type:"boolean",default:o.D.trimAutoWhitespace,description:r.NC("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:o.D.largeFileOptimizations,description:r.NC("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{enum:["off","currentDocument","matchingDocuments","allDocuments"],default:"matchingDocuments",enumDescriptions:[r.NC("wordBasedSuggestions.off","Turn off Word Based Suggestions."),r.NC("wordBasedSuggestions.currentDocument","Only suggest words from the active document."),r.NC("wordBasedSuggestions.matchingDocuments","Suggest words from all open documents of the same language."),r.NC("wordBasedSuggestions.allDocuments","Suggest words from all open documents.")],description:r.NC("wordBasedSuggestions","Controls whether completions should be computed based on words in the document and from which documents they are computed.")},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[r.NC("semanticHighlighting.true","Semantic highlighting enabled for all color themes."),r.NC("semanticHighlighting.false","Semantic highlighting disabled for all color themes."),r.NC("semanticHighlighting.configuredByTheme","Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.")],default:"configuredByTheme",description:r.NC("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:r.NC("stablePeek","Keep peek editors open even when double-clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:r.NC("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"editor.experimental.asyncTokenization":{type:"boolean",default:!1,description:r.NC("editor.experimental.asyncTokenization","Controls whether the tokenization should happen asynchronously on a web worker."),tags:["experimental"]},"editor.experimental.asyncTokenizationLogging":{type:"boolean",default:!1,description:r.NC("editor.experimental.asyncTokenizationLogging","Controls whether async tokenization should be logged. For debugging only.")},"editor.experimental.asyncTokenizationVerification":{type:"boolean",default:!1,description:r.NC("editor.experimental.asyncTokenizationVerification","Controls whether async tokenization should be verified against legacy background tokenization. Might slow down tokenization. For debugging only."),tags:["experimental"]},"editor.language.brackets":{type:["array","null"],default:null,description:r.NC("schema.brackets","Defines the bracket symbols that increase or decrease the indentation."),items:{type:"array",items:[{type:"string",description:r.NC("schema.openBracket","The opening bracket character or string sequence.")},{type:"string",description:r.NC("schema.closeBracket","The closing bracket character or string sequence.")}]}},"editor.language.colorizedBracketPairs":{type:["array","null"],default:null,description:r.NC("schema.colorizedBracketPairs","Defines the bracket pairs that are colorized by their nesting level if bracket pair colorization is enabled."),items:{type:"array",items:[{type:"string",description:r.NC("schema.openBracket","The opening bracket character or string sequence.")},{type:"string",description:r.NC("schema.closeBracket","The closing bracket character or string sequence.")}]}},"diffEditor.maxComputationTime":{type:"number",default:n.k.maxComputationTime,description:r.NC("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.maxFileSize":{type:"number",default:n.k.maxFileSize,description:r.NC("maxFileSize","Maximum file size in MB for which to compute diffs. Use 0 for no limit.")},"diffEditor.renderSideBySide":{type:"boolean",default:n.k.renderSideBySide,description:r.NC("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.renderSideBySideInlineBreakpoint":{type:"number",default:n.k.renderSideBySideInlineBreakpoint,description:r.NC("renderSideBySideInlineBreakpoint","If the diff editor width is smaller than this value, the inline view is used.")},"diffEditor.useInlineViewWhenSpaceIsLimited":{type:"boolean",default:n.k.useInlineViewWhenSpaceIsLimited,description:r.NC("useInlineViewWhenSpaceIsLimited","If enabled and the editor width is too small, the inline view is used.")},"diffEditor.renderMarginRevertIcon":{type:"boolean",default:n.k.renderMarginRevertIcon,description:r.NC("renderMarginRevertIcon","When enabled, the diff editor shows arrows in its glyph margin to revert changes.")},"diffEditor.renderGutterMenu":{type:"boolean",default:n.k.renderGutterMenu,description:r.NC("renderGutterMenu","When enabled, the diff editor shows a special gutter for revert and stage actions.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:n.k.ignoreTrimWhitespace,description:r.NC("ignoreTrimWhitespace","When enabled, the diff editor ignores changes in leading or trailing whitespace.")},"diffEditor.renderIndicators":{type:"boolean",default:n.k.renderIndicators,description:r.NC("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")},"diffEditor.codeLens":{type:"boolean",default:n.k.diffCodeLens,description:r.NC("codeLens","Controls whether the editor shows CodeLens.")},"diffEditor.wordWrap":{type:"string",enum:["off","on","inherit"],default:n.k.diffWordWrap,markdownEnumDescriptions:[r.NC("wordWrap.off","Lines will never wrap."),r.NC("wordWrap.on","Lines will wrap at the viewport width."),r.NC("wordWrap.inherit","Lines will wrap according to the {0} setting.","`#editor.wordWrap#`")]},"diffEditor.diffAlgorithm":{type:"string",enum:["legacy","advanced"],default:n.k.diffAlgorithm,markdownEnumDescriptions:[r.NC("diffAlgorithm.legacy","Uses the legacy diffing algorithm."),r.NC("diffAlgorithm.advanced","Uses the advanced diffing algorithm.")],tags:["experimental"]},"diffEditor.hideUnchangedRegions.enabled":{type:"boolean",default:n.k.hideUnchangedRegions.enabled,markdownDescription:r.NC("hideUnchangedRegions.enabled","Controls whether the diff editor shows unchanged regions.")},"diffEditor.hideUnchangedRegions.revealLineCount":{type:"integer",default:n.k.hideUnchangedRegions.revealLineCount,markdownDescription:r.NC("hideUnchangedRegions.revealLineCount","Controls how many lines are used for unchanged regions."),minimum:1},"diffEditor.hideUnchangedRegions.minimumLineCount":{type:"integer",default:n.k.hideUnchangedRegions.minimumLineCount,markdownDescription:r.NC("hideUnchangedRegions.minimumLineCount","Controls how many lines are used as a minimum for unchanged regions."),minimum:1},"diffEditor.hideUnchangedRegions.contextLineCount":{type:"integer",default:n.k.hideUnchangedRegions.contextLineCount,markdownDescription:r.NC("hideUnchangedRegions.contextLineCount","Controls how many lines are used as context when comparing unchanged regions."),minimum:1},"diffEditor.experimental.showMoves":{type:"boolean",default:n.k.experimental.showMoves,markdownDescription:r.NC("showMoves","Controls whether the diff editor should show detected code moves.")},"diffEditor.experimental.showEmptyDecorations":{type:"boolean",default:n.k.experimental.showEmptyDecorations,description:r.NC("showEmptyDecorations","Controls whether the diff editor shows empty decorations to see where characters got inserted or deleted.")}}};for(let e of s.Bc){let t=e.schema;if(void 0!==t){if(void 0!==t.type||void 0!==t.anyOf)h.properties[`editor.${e.name}`]=t;else for(let e in t)Object.hasOwnProperty.call(t,e)&&(h.properties[e]=t[e])}}let u=null;function c(){return null===u&&(u=Object.create(null),Object.keys(h.properties).forEach(e=>{u[e]=!0})),u}function g(e){let t=c();return t[`editor.${e}`]||!1}function p(e){let t=c();return t[`diffEditor.${e}`]||!1}let m=a.B.as(l.IP.Configuration);m.registerConfiguration(h)},82334:function(e,t,i){"use strict";i.d(t,{C:function(){return s}});var n=i(4669);let s=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new n.Q5,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}},27374:function(e,t,i){"use strict";i.d(t,{E4:function(){return l},pR:function(){return a}});var n=i(1432),s=i(64141),o=i(82334);let r=n.dz?1.5:1.35;class l{static createFromValidatedSettings(e,t,i){let n=e.get(49),s=e.get(53),o=e.get(52),r=e.get(51),a=e.get(54),d=e.get(67),h=e.get(64);return l._create(n,s,o,r,a,d,h,t,i)}static _create(e,t,i,n,a,d,h,u,c){0===d?d=r*i:d<8&&(d*=i),(d=Math.round(d))<8&&(d=8);let g=1+(c?0:.1*o.C.getZoomLevel());if(i*=g,d*=g,a===s.Bo.TRANSLATE){if("normal"===t||"bold"===t)a=s.Bo.OFF;else{let e=parseInt(t,10);a=`'wght' ${e}`,t="normal"}}return new l({pixelRatio:u,fontFamily:e,fontWeight:t,fontSize:i,fontFeatureSettings:n,fontVariationSettings:a,lineHeight:d,letterSpacing:h})}constructor(e){this._bareFontInfoBrand=void 0,this.pixelRatio=e.pixelRatio,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.fontVariationSettings=e.fontVariationSettings,this.lineHeight=0|e.lineHeight,this.letterSpacing=e.letterSpacing}getId(){return`${this.pixelRatio}-${this.fontFamily}-${this.fontWeight}-${this.fontSize}-${this.fontFeatureSettings}-${this.fontVariationSettings}-${this.lineHeight}-${this.letterSpacing}`}getMassagedFontFamily(){let e=s.hL.fontFamily,t=l._wrapInQuotes(this.fontFamily);return e&&this.fontFamily!==e?`${t}, ${e}`:t}static _wrapInQuotes(e){return/[,"']/.test(e)?e:/[+ ]/.test(e)?`"${e}"`:e}}class a extends l{constructor(e,t){super(e),this._editorStylingBrand=void 0,this.version=2,this.isTrusted=t,this.isMonospace=e.isMonospace,this.typicalHalfwidthCharacterWidth=e.typicalHalfwidthCharacterWidth,this.typicalFullwidthCharacterWidth=e.typicalFullwidthCharacterWidth,this.canUseHalfwidthRightwardsArrow=e.canUseHalfwidthRightwardsArrow,this.spaceWidth=e.spaceWidth,this.middotWidth=e.middotWidth,this.wsmiddotWidth=e.wsmiddotWidth,this.maxDigitWidth=e.maxDigitWidth}equals(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.fontVariationSettings===e.fontVariationSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.maxDigitWidth===e.maxDigitWidth}}},44906:function(e,t,i){"use strict";i.d(t,{N:function(){return s},q:function(){return o}});var n=i(85427);class s{constructor(e){let t=(0,n.K)(e);this._defaultValue=t,this._asciiMap=s._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);return t.fill(e),t}set(e,t){let i=(0,n.K)(t);e>=0&&e<256?this._asciiMap[e]=i:this._map.set(e,i)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class o{constructor(){this._actual=new s(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}clear(){return this._actual.clear()}}},7988:function(e,t,i){"use strict";i.d(t,{i:function(){return s}});var n=i(97295);class s{static _nextVisibleColumn(e,t,i){return 9===e?s.nextRenderTabStop(t,i):n.K7(e)||n.C8(e)?t+2:t+1}static visibleColumnFromColumn(e,t,i){let s=Math.min(t-1,e.length),o=e.substring(0,s),r=new n.W1(o),l=0;for(;!r.eol();){let e=n.ZH(o,s,r.offset);r.nextGraphemeLength(),l=this._nextVisibleColumn(e,l,i)}return l}static columnFromVisibleColumn(e,t,i){if(t<=0)return 1;let s=e.length,o=new n.W1(e),r=0,l=1;for(;!o.eol();){let a=n.ZH(e,s,o.offset);o.nextGraphemeLength();let d=this._nextVisibleColumn(a,r,i),h=o.offset+1;if(d>=t){let e=t-r,i=d-t;if(i{let i=e.getColor(o.cvW),n=e.getColor(l),s=n&&!n.isTransparent()?n:i;s&&t.addRule(`.monaco-editor .inputarea.ime-input { background-color: ${s}; }`)})},23795:function(e,t,i){"use strict";function n(e){let t=0,i=0,n=0,s=0;for(let o=0,r=e.length;ot)throw new n.he(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&et.endLineNumberExclusive>=e.startLineNumber),i=(0,r.Jw)(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)this._normalizedRanges.splice(t,0,e);else if(t===i-1){let i=this._normalizedRanges[t];this._normalizedRanges[t]=i.join(e)}else{let n=this._normalizedRanges[t].join(this._normalizedRanges[i-1]).join(e);this._normalizedRanges.splice(t,i-t,n)}}contains(e){let t=(0,r.ti)(this._normalizedRanges,t=>t.startLineNumber<=e);return!!t&&t.endLineNumberExclusive>e}intersects(e){let t=(0,r.ti)(this._normalizedRanges,t=>t.startLineNumbere.startLineNumber}getUnion(e){if(0===this._normalizedRanges.length)return e;if(0===e._normalizedRanges.length)return this;let t=[],i=0,n=0,s=null;for(;i=o.startLineNumber?s=new l(s.startLineNumber,Math.max(s.endLineNumberExclusive,o.endLineNumberExclusive)):(t.push(s),s=o)}return null!==s&&t.push(s),new a(t)}subtractFrom(e){let t=(0,r.J_)(this._normalizedRanges,t=>t.endLineNumberExclusive>=e.startLineNumber),i=(0,r.Jw)(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)return new a([e]);let n=[],s=e.startLineNumber;for(let e=t;es&&n.push(new l(s,t.startLineNumber)),s=t.endLineNumberExclusive}return se.toString()).join(", ")}getIntersection(e){let t=[],i=0,n=0;for(;it.delta(e)))}}},19247:function(e,t,i){"use strict";i.d(t,{M:function(){return o},q:function(){return s}});var n=i(17301);class s{static addRange(e,t){let i=0;for(;it))return new s(e,t)}static ofLength(e){return new s(0,e)}static ofStartAndLength(e,t){return new s(e,e+t)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new n.he(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new s(this.start+e,this.endExclusive+e)}deltaStart(e){return new s(this.start+e,this.endExclusive)}deltaEnd(e){return new s(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}contains(e){return this.start<=e&&e=e.endExclusive}slice(e){return e.slice(this.start,this.endExclusive)}substring(e){return e.substring(this.start,this.endExclusive)}clip(e){if(this.isEmpty)throw new n.he(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,e))}clipCyclic(e){if(this.isEmpty)throw new n.he(`Invalid clipping range: ${this.toString()}`);return e=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let t=this.start;te.toString()).join(", ")}intersectsStrict(e){let t=0;for(;te+t.length,0)}}},50187:function(e,t,i){"use strict";i.d(t,{L:function(){return n}});class n{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new n(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return n.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return n.isBefore(this,e)}static isBefore(e,t){return e.lineNumberi||e===i&&t>n?(this.startLineNumber=i,this.startColumn=n,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=i,this.endColumn=n)}isEmpty(){return s.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return s.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))}containsRange(e){return s.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))}strictContainsRange(e){return s.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))}plusRange(e){return s.plusRange(this,e)}static plusRange(e,t){let i,n,o,r;return t.startLineNumbere.endLineNumber?(o=t.endLineNumber,r=t.endColumn):t.endLineNumber===e.endLineNumber?(o=t.endLineNumber,r=Math.max(t.endColumn,e.endColumn)):(o=e.endLineNumber,r=e.endColumn),new s(i,n,o,r)}intersectRanges(e){return s.intersectRanges(this,e)}static intersectRanges(e,t){let i=e.startLineNumber,n=e.startColumn,o=e.endLineNumber,r=e.endColumn,l=t.startLineNumber,a=t.startColumn,d=t.endLineNumber,h=t.endColumn;return(id?(o=d,r=h):o===d&&(r=Math.min(r,h)),i>o||i===o&&n>r)?null:new s(i,n,o,r)}equalsRange(e){return s.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return s.getEndPosition(this)}static getEndPosition(e){return new n.L(e.endLineNumber,e.endColumn)}getStartPosition(){return s.getStartPosition(this)}static getStartPosition(e){return new n.L(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new s(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new s(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return s.collapseToStart(this)}static collapseToStart(e){return new s(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return s.collapseToEnd(this)}static collapseToEnd(e){return new s(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new s(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new s(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new s(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}},3860:function(e,t,i){"use strict";i.d(t,{Y:function(){return o}});var n=i(50187),s=i(24314);class o extends s.e{constructor(e,t,i,n){super(e,t,i,n),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=i,this.positionColumn=n}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return o.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new o(this.startLineNumber,this.startColumn,e,t):new o(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new n.L(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new n.L(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new o(e,t,this.endLineNumber,this.endColumn):new o(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new o(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new o(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new o(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let i=0,n=e.length;i0&&(65279===n[0]||65534===n[0])?function(e,t,i){let n=[],s=0;for(let o=0;o=this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=e;return}for(let i=0;i(0,n.DM)(e,(e,t)=>e.range.getEndPosition().isBeforeOrEqual(t.range.getStartPosition())))}apply(e){let t="",i=new o.L(1,1);for(let n of this.edits){let s=n.range,o=s.getStartPosition(),r=s.getEndPosition(),l=c(i,o);l.isEmpty()||(t+=e.getValueOfRange(l)),t+=n.text,i=r}let n=c(i,e.endPositionExclusive);return n.isEmpty()||(t+=e.getValueOfRange(n)),t}applyToString(e){let t=new p(e);return this.apply(t)}getNewRanges(){let e=[],t=0,i=0,n=0;for(let s of this.edits){let r=l.A.ofText(s.text),a=o.L.lift({lineNumber:s.range.startLineNumber+i,column:s.range.startColumn+(s.range.startLineNumber===t?n:0)}),d=r.createRange(a);e.push(d),i=d.endLineNumber-s.range.endLineNumber,n=d.endColumn-s.range.endColumn,t=s.range.endLineNumber}return e}}class u{constructor(e,t){this.range=e,this.text=t}}function c(e,t){if(e.lineNumber===t.lineNumber&&e.column===Number.MAX_SAFE_INTEGER)return d.e.fromPositions(t,t);if(!e.isBeforeOrEqual(t))throw new s.he("start must be before end");return new d.e(e.lineNumber,e.column,t.lineNumber,t.column)}class g{get endPositionExclusive(){return this.length.addToPosition(new o.L(1,1))}}class p extends g{constructor(e){super(),this.value=e,this._t=new a(this.value)}getValueOfRange(e){return this._t.getOffsetRange(e).substring(this.value)}get length(){return this._t.textLength}}},59722:function(e,t,i){"use strict";i.d(t,{A:function(){return o}});var n=i(50187),s=i(24314);class o{static betweenPositions(e,t){return e.lineNumber===t.lineNumber?new o(0,t.column-e.column):new o(t.lineNumber-e.lineNumber,t.column-1)}static ofRange(e){return o.betweenPositions(e.getStartPosition(),e.getEndPosition())}static ofText(e){let t=0,i=0;for(let n of e)"\n"===n?(t++,i=0):i++;return new o(t,i)}constructor(e,t){this.lineCount=e,this.columnCount=t}isGreaterThanOrEqualTo(e){return this.lineCount!==e.lineCount?this.lineCount>e.lineCount:this.columnCount>=e.columnCount}createRange(e){return 0===this.lineCount?new s.e(e.lineNumber,e.column,e.lineNumber,e.column+this.columnCount):new s.e(e.lineNumber,e.column,e.lineNumber+this.lineCount,this.columnCount+1)}addToPosition(e){return 0===this.lineCount?new n.L(e.lineNumber,e.column+this.columnCount):new n.L(e.lineNumber+this.lineCount,this.columnCount+1)}toString(){return`${this.lineCount},${this.columnCount}`}}o.zero=new o(0,0)},22075:function(e,t,i){"use strict";i.d(t,{D:function(){return n}});let n={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}}},24929:function(e,t,i){"use strict";i.d(t,{u:function(){return l}});var n=i(43702),s=i(44906);class o extends s.N{constructor(e,t){super(0),this._segmenter=null,this._cachedLine=null,this._cachedSegments=[],this.intlSegmenterLocales=t,this.intlSegmenterLocales.length>0?this._segmenter=new Intl.Segmenter(this.intlSegmenterLocales,{granularity:"word"}):this._segmenter=null;for(let t=0,i=e.length;tt)break;i=n}return i}findNextIntlWordAtOrAfterOffset(e,t){for(let i of this._getIntlSegmenterWordsOnLine(e))if(!(i.indexr.maxLen){let n=t-r.maxLen/2;return n<0?n=0:o+=n,s=s.substring(n,t+r.maxLen/2),e(t,i,s,o,r)}let d=Date.now(),h=t-1-o,u=-1,c=null;for(let e=1;!(Date.now()-d>=r.timeBudget);e++){let t=h-r.windowSize*e;i.lastIndex=Math.max(0,t);let n=function(e,t,i,n){let s;for(;s=e.exec(t);){let t=s.index||0;if(t<=i&&e.lastIndex>=i)return s;if(n>0&&t>n)break}return null}(i,s,h,u);if(!n&&c||(c=n,t<=0))break;u=t}if(c){let e={word:c[0],startColumn:o+1+c.index,endColumn:o+1+c.index+c[0].length};return i.lastIndex=0,e}return null}},vu:function(){return o}});var n=i(53725),s=i(91741);let o="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",r=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(let i of o)e.indexOf(i)>=0||(t+="\\"+i);return RegExp(t+="\\s]+)","g")}();function l(e){let t=r;if(e&&e instanceof RegExp){if(e.global)t=e;else{let i="g";e.ignoreCase&&(i+="i"),e.multiline&&(i+="m"),e.unicode&&(i+="u"),t=new RegExp(e.source,i)}}return t.lastIndex=0,t}let a=new s.S;a.unshift({maxLen:1e3,windowSize:15,timeBudget:150})},47128:function(e,t,i){"use strict";i.d(t,{l:function(){return s}});var n=i(7988);class s{static whitespaceVisibleColumn(e,t,i){let s=e.length,o=0,r=-1,l=-1;for(let a=0;a=u.length+1)return!1;let c=u.charAt(h.column-2),g=n.get(c);if(!g)return!1;if((0,o.LN)(c)){if("never"===i)return!1}else if("never"===t)return!1;let p=u.charAt(h.column-1),m=!1;for(let e of g)e.open===c&&e.close===p&&(m=!0);if(!m)return!1;if("auto"===e){let e=!1;for(let t=0,i=l.length;t1){let e=t.getLineContent(s.lineNumber),o=n.LC(e),l=-1===o?e.length+1:o+1;if(s.column<=l){let e=i.visibleColumnFromColumn(t,s),n=r.i.prevIndentTabStop(e,i.indentSize),o=i.columnFromVisibleColumn(t,s.lineNumber,n);return new a.e(s.lineNumber,o,s.lineNumber,s.column)}}return a.e.fromPositions(h.getPositionAfterDeleteLeft(s,t),s)}static getPositionAfterDeleteLeft(e,t){if(e.column>1){let i=n.oH(e.column-1,t.getLineContent(e.lineNumber));return e.with(void 0,i+1)}if(!(e.lineNumber>1))return e;{let i=e.lineNumber-1;return new d.L(i,t.getLineMaxColumn(i))}}static cut(e,t,i){let n=[],r=null;i.sort((e,t)=>d.L.compare(e.getStartPosition(),t.getEndPosition()));for(let o=0,l=i.length;o1&&(null==r?void 0:r.endLineNumber)!==u.lineNumber?(e=u.lineNumber-1,i=t.getLineMaxColumn(u.lineNumber-1),d=u.lineNumber,h=t.getLineMaxColumn(u.lineNumber)):(e=u.lineNumber,i=1,d=u.lineNumber,h=t.getLineMaxColumn(u.lineNumber));let c=new a.e(e,i,d,h);r=c,c.isEmpty()?n[o]=null:n[o]=new s.T4(c,"")}else n[o]=null}else n[o]=new s.T4(l,"")}return new o.Tp(0,n,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}},28108:function(e,t,i){"use strict";i.d(t,{N:function(){return s},P:function(){return u}});var n,s,o=i(98401),r=i(55343),l=i(10839),a=i(92896),d=i(50187),h=i(24314);class u{static addCursorDown(e,t,i){let n=[],s=0;for(let o=0,a=t.length;ot&&(i=t,n=e.model.getLineMaxColumn(i)),r.Vi.fromModelState(new r.rS(new h.e(o.lineNumber,1,i,n),2,0,new d.L(i,n),0))}let a=t.modelState.selectionStart.getStartPosition().lineNumber;if(o.lineNumbera){let i=e.getLineCount(),n=l.lineNumber+1,s=1;return n>i&&(n=i,s=e.getLineMaxColumn(n)),r.Vi.fromViewState(t.viewState.move(!0,n,s,0))}{let e=t.modelState.selectionStart.getEndPosition();return r.Vi.fromModelState(t.modelState.move(!0,e.lineNumber,e.column,0))}}static word(e,t,i,n){let s=e.model.validatePosition(n);return r.Vi.fromModelState(a.w.word(e.cursorConfig,e.model,t.modelState,i,s))}static cancelSelection(e,t){if(!t.modelState.hasSelection())return new r.Vi(t.modelState,t.viewState);let i=t.viewState.position.lineNumber,n=t.viewState.position.column;return r.Vi.fromViewState(new r.rS(new h.e(i,n,i,n),0,0,new d.L(i,n),0))}static moveTo(e,t,i,n,s){if(i){if(1===t.modelState.selectionStartKind)return this.word(e,t,i,n);if(2===t.modelState.selectionStartKind)return this.line(e,t,i,n,s)}let o=e.model.validatePosition(n),l=s?e.coordinatesConverter.validateViewPosition(new d.L(s.lineNumber,s.column),o):e.coordinatesConverter.convertModelPositionToViewPosition(o);return r.Vi.fromViewState(t.viewState.move(i,l.lineNumber,l.column,0))}static simpleMove(e,t,i,n,s,o){switch(i){case 0:if(4===o)return this._moveHalfLineLeft(e,t,n);return this._moveLeft(e,t,n,s);case 1:if(4===o)return this._moveHalfLineRight(e,t,n);return this._moveRight(e,t,n,s);case 2:if(2===o)return this._moveUpByViewLines(e,t,n,s);return this._moveUpByModelLines(e,t,n,s);case 3:if(2===o)return this._moveDownByViewLines(e,t,n,s);return this._moveDownByModelLines(e,t,n,s);case 4:if(2===o)return t.map(t=>r.Vi.fromViewState(l.o.moveToPrevBlankLine(e.cursorConfig,e,t.viewState,n)));return t.map(t=>r.Vi.fromModelState(l.o.moveToPrevBlankLine(e.cursorConfig,e.model,t.modelState,n)));case 5:if(2===o)return t.map(t=>r.Vi.fromViewState(l.o.moveToNextBlankLine(e.cursorConfig,e,t.viewState,n)));return t.map(t=>r.Vi.fromModelState(l.o.moveToNextBlankLine(e.cursorConfig,e.model,t.modelState,n)));case 6:return this._moveToViewMinColumn(e,t,n);case 7:return this._moveToViewFirstNonWhitespaceColumn(e,t,n);case 8:return this._moveToViewCenterColumn(e,t,n);case 9:return this._moveToViewMaxColumn(e,t,n);case 10:return this._moveToViewLastNonWhitespaceColumn(e,t,n);default:return null}}static viewportMove(e,t,i,n,s){let o=e.getCompletelyVisibleViewRange(),r=e.coordinatesConverter.convertViewRangeToModelRange(o);switch(i){case 11:{let i=this._firstLineNumberInRange(e.model,r,s),o=e.model.getLineFirstNonWhitespaceColumn(i);return[this._moveToModelPosition(e,t[0],n,i,o)]}case 13:{let i=this._lastLineNumberInRange(e.model,r,s),o=e.model.getLineFirstNonWhitespaceColumn(i);return[this._moveToModelPosition(e,t[0],n,i,o)]}case 12:{let i=Math.round((r.startLineNumber+r.endLineNumber)/2),s=e.model.getLineFirstNonWhitespaceColumn(i);return[this._moveToModelPosition(e,t[0],n,i,s)]}case 14:{let i=[];for(let s=0,r=t.length;si.endLineNumber-1?i.endLineNumber-1:sr.Vi.fromViewState(l.o.moveLeft(e.cursorConfig,e,t.viewState,i,n)))}static _moveHalfLineLeft(e,t,i){let n=[];for(let s=0,o=t.length;sr.Vi.fromViewState(l.o.moveRight(e.cursorConfig,e,t.viewState,i,n)))}static _moveHalfLineRight(e,t,i){let n=[];for(let s=0,o=t.length;se.getLineMinColumn(t.lineNumber))return t.delta(void 0,-n.HO(e.getLineContent(t.lineNumber),t.column-1));if(!(t.lineNumber>1))return t;{let i=t.lineNumber-1;return new o.L(i,e.getLineMaxColumn(i))}}static leftPositionAtomicSoftTabs(e,t,i){if(t.column<=e.getLineIndentColumn(t.lineNumber)){let n=e.getLineMinColumn(t.lineNumber),s=e.getLineContent(t.lineNumber),r=l.l.atomicPosition(s,t.column-1,i,0);if(-1!==r&&r+1>=n)return new o.L(t.lineNumber,r+1)}return this.leftPosition(e,t)}static left(e,t,i){let n=e.stickyTabStops?h.leftPositionAtomicSoftTabs(t,i,e.tabSize):h.leftPosition(t,i);return new d(n.lineNumber,n.column,0)}static moveLeft(e,t,i,n,s){let o,r;if(i.hasSelection()&&!n)o=i.selection.startLineNumber,r=i.selection.startColumn;else{let n=i.position.delta(void 0,-(s-1)),l=t.normalizePosition(h.clipPositionColumn(n,t),0),a=h.left(e,t,l);o=a.lineNumber,r=a.column}return i.move(n,o,r,0)}static clipPositionColumn(e,t){return new o.L(e.lineNumber,h.clipRange(e.column,t.getLineMinColumn(e.lineNumber),t.getLineMaxColumn(e.lineNumber)))}static clipRange(e,t,i){return ei?i:e}static rightPosition(e,t,i){return ic?(i=c,n=a?t.getLineMaxColumn(i):Math.min(t.getLineMaxColumn(i),n)):n=e.columnFromVisibleColumn(t,i,u),r=m?0:u-s.i.visibleColumnFromColumn(t.getLineContent(i),n,e.tabSize),void 0!==h){let e=new o.L(i,n),s=t.normalizePosition(e,h);r+=n-s.column,i=s.lineNumber,n=s.column}return new d(i,n,r)}static down(e,t,i,n,s,o,r){return this.vertical(e,t,i,n,s,i+o,r,4)}static moveDown(e,t,i,n,s){let r,l,a;i.hasSelection()&&!n?(r=i.selection.endLineNumber,l=i.selection.endColumn):(r=i.position.lineNumber,l=i.position.column);let d=0;do{a=h.down(e,t,r+d,l,i.leftoverVisibleColumns,s,!0);let n=t.normalizePosition(new o.L(a.lineNumber,a.column),2);if(n.lineNumber>r)break}while(d++<10&&r+d1&&this._isBlankLine(t,s);)s--;for(;s>1&&!this._isBlankLine(t,s);)s--;return i.move(n,s,t.getLineMinColumn(s),0)}static moveToNextBlankLine(e,t,i,n){let s=t.getLineCount(),o=i.position.lineNumber;for(;o1){let n;for(n=i-1;n>=1;n--){let e=t.getLineContent(n),i=s.ow(e);if(i>=0)break}if(n<1)return null;let r=t.getLineMaxColumn(n),a=(0,v.A)(e.autoIndent,t,new l.e(n,r,n,r),e.languageConfigurationService);a&&(o=a.indentation+a.appendText)}return(n&&(n===p.wU.Indent&&(o=b.shiftIndent(e,o)),n===p.wU.Outdent&&(o=b.unshiftIndent(e,o)),o=e.normalizeIndentation(o)),o)?o:null}static _replaceJumpToNextIndent(e,t,i,n){let s="",r=i.getStartPosition();if(e.insertSpaces){let i=e.visibleColumnFromColumn(t,r),n=e.indentSize,o=n-i%n;for(let e=0;ethis._compositionType(i,e,s,o,r,l));return new u.Tp(4,a,{shouldPushStackElementBefore:S(e,4),shouldPushStackElementAfter:!1})}static _compositionType(e,t,i,n,s,r){if(!t.isEmpty())return null;let a=t.getPosition(),d=Math.max(1,a.column-n),h=Math.min(e.getLineMaxColumn(a.lineNumber),a.column+s),u=new l.e(a.lineNumber,d,a.lineNumber,h),c=e.getValueInRange(u);return c===i&&0===r?null:new o.Uo(u,i,0,r)}static _typeCommand(e,t,i){return i?new o.Sj(e,t,!0):new o.T4(e,t,!0)}static _enter(e,t,i,n){if(0===e.autoIndent)return b._typeCommand(n,"\n",i);if(!t.tokenization.isCheapToTokenize(n.getStartPosition().lineNumber)||1===e.autoIndent){let o=t.getLineContent(n.startLineNumber),r=s.V8(o).substring(0,n.startColumn-1);return b._typeCommand(n,"\n"+e.normalizeIndentation(r),i)}let r=(0,v.A)(e.autoIndent,t,n,e.languageConfigurationService);if(r){if(r.indentAction===p.wU.None||r.indentAction===p.wU.Indent)return b._typeCommand(n,"\n"+e.normalizeIndentation(r.indentation+r.appendText),i);if(r.indentAction===p.wU.IndentOutdent){let t=e.normalizeIndentation(r.indentation),s=e.normalizeIndentation(r.indentation+r.appendText),l="\n"+s+"\n"+t;return i?new o.Sj(n,l,!0):new o.Uo(n,l,-1,s.length-t.length,!0)}if(r.indentAction===p.wU.Outdent){let t=b.unshiftIndent(e,r.indentation);return b._typeCommand(n,"\n"+e.normalizeIndentation(t+r.appendText),i)}}let l=t.getLineContent(n.startLineNumber),a=s.V8(l).substring(0,n.startColumn-1);if(e.autoIndent>=4){let r=(0,_.UF)(e.autoIndent,t,n,{unshiftIndent:t=>b.unshiftIndent(e,t),shiftIndent:t=>b.shiftIndent(e,t),normalizeIndentation:t=>e.normalizeIndentation(t)},e.languageConfigurationService);if(r){let l=e.visibleColumnFromColumn(t,n.getEndPosition()),a=n.endColumn,d=t.getLineContent(n.endLineNumber),h=s.LC(d);if(n=h>=0?n.setEndPosition(n.endLineNumber,Math.max(n.endColumn,h+1)):n.setEndPosition(n.endLineNumber,t.getLineMaxColumn(n.endLineNumber)),i)return new o.Sj(n,"\n"+e.normalizeIndentation(r.afterEnter),!0);{let t=0;return a<=h+1&&(e.insertSpaces||(l=Math.ceil(l/e.indentSize)),t=Math.min(l+1-e.normalizeIndentation(r.afterEnter).length-1,0)),new o.Uo(n,"\n"+e.normalizeIndentation(r.afterEnter),0,t,!0)}}}return b._typeCommand(n,"\n"+e.normalizeIndentation(a),i)}static _isAutoIndentType(e,t,i){if(e.autoIndent<4)return!1;for(let e=0,n=i.length;eb.shiftIndent(e,t),unshiftIndent:t=>b.unshiftIndent(e,t)},e.languageConfigurationService);if(null===o)return null;if(o!==e.normalizeIndentation(s)){let s=t.getLineFirstNonWhitespaceColumn(i.startLineNumber);return 0===s?b._typeCommand(new l.e(i.startLineNumber,1,i.endLineNumber,i.endColumn),e.normalizeIndentation(o)+n,!1):b._typeCommand(new l.e(i.startLineNumber,1,i.endLineNumber,i.endColumn),e.normalizeIndentation(o)+t.getLineContent(i.startLineNumber).substring(s-1,i.startColumn-1)+n,!1)}return null}static _isAutoClosingOvertype(e,t,i,n,s){if("never"===e.autoClosingOvertype||!e.autoClosingPairs.autoClosingPairsCloseSingleChar.has(s))return!1;for(let o=0,r=i.length;o2?a.charCodeAt(l.column-2):0;if(92===c&&h)return!1;if("auto"===e.autoClosingOvertype){let e=!1;for(let t=0,i=n.length;tt.startsWith(e.open)),r=s.some(e=>t.startsWith(e.close));return!o&&r}static _findAutoClosingPairOpen(e,t,i,n){let s=e.autoClosingPairs.autoClosingPairsOpenByEnd.get(n);if(!s)return null;let o=null;for(let e of s)if(null===o||e.open.length>o.open.length){let s=!0;for(let o of i){let i=t.getValueInRange(new l.e(o.lineNumber,o.column-e.open.length+1,o.lineNumber,o.column));if(i+n!==e.open){s=!1;break}}s&&(o=e)}return o}static _findContainedAutoClosingPair(e,t){if(t.open.length<=1)return null;let i=t.close.charAt(t.close.length-1),n=e.autoClosingPairs.autoClosingPairsCloseByEnd.get(i)||[],s=null;for(let e of n)e.open!==t.open&&t.open.includes(e.open)&&t.close.endsWith(e.close)&&(!s||e.open.length>s.open.length)&&(s=e);return s}static _getAutoClosingPairClose(e,t,i,n,s){let o,r;for(let e of i)if(!e.isEmpty())return null;let l=i.map(e=>{let t=e.getPosition();return s?{lineNumber:t.lineNumber,beforeColumn:t.column-n.length,afterColumn:t.column}:{lineNumber:t.lineNumber,beforeColumn:t.column,afterColumn:t.column}}),a=this._findAutoClosingPairOpen(e,t,l.map(e=>new g.L(e.lineNumber,e.beforeColumn)),n);if(!a)return null;let d=(0,u.LN)(n);if(d)o=e.autoClosingQuotes,r=e.shouldAutoCloseBefore.quote;else{let t=!!e.blockCommentStartToken&&a.open.includes(e.blockCommentStartToken);t?(o=e.autoClosingComments,r=e.shouldAutoCloseBefore.comment):(o=e.autoClosingBrackets,r=e.shouldAutoCloseBefore.bracket)}if("never"===o)return null;let h=this._findContainedAutoClosingPair(e,a),p=h?h.close:"",m=!0;for(let i of l){let{lineNumber:s,beforeColumn:l,afterColumn:d}=i,h=t.getLineContent(s),u=h.substring(0,l-1),g=h.substring(d-1);if(g.startsWith(p)||(m=!1),g.length>0){let t=g.charAt(0),i=b._isBeforeClosingBrace(e,g);if(!i&&!r(t))return null}if(1===a.open.length&&("'"===n||'"'===n)&&"always"!==o){let t=(0,c.u)(e.wordSeparators,[]);if(u.length>0){let e=u.charCodeAt(u.length-1);if(0===t.get(e))return null}}if(!t.tokenization.isCheapToTokenize(s))return null;t.tokenization.forceTokenization(s);let _=t.tokenization.getLineTokens(s),v=(0,f.wH)(_,l-1);if(!a.shouldAutoClose(v,l-v.firstCharOffset))return null;let C=a.findNeutralCharacter();if(C){let e=t.tokenization.getTokenTypeIfInsertingCharacter(s,l,C);if(!a.isOK(e))return null}}return m?a.close.substring(0,a.close.length-p.length):a.close}static _runAutoClosingOpenCharType(e,t,i,n,s,o,r){let l=[];for(let e=0,t=n.length;enew o.T4(new l.e(e.positionLineNumber,e.positionColumn,e.positionLineNumber,e.positionColumn+1),"",!1));return new u.Tp(4,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}let g=this._getAutoClosingPairClose(t,i,s,d,!0);return null!==g?this._runAutoClosingOpenCharType(e,t,i,s,d,!0,g):null}static typeWithInterceptors(e,t,i,n,s,r,l){if(!e&&"\n"===l){let e=[];for(let t=0,o=s.length;t=0;o--){let i=e.charCodeAt(o),r=t.get(i);if(s&&o===s.index)return this._createIntlWord(s,r);if(0===r){if(2===n)return this._createWord(e,n,r,o+1,this._findEndOfWord(e,t,n,o+1));n=1}else if(2===r){if(1===n)return this._createWord(e,n,r,o+1,this._findEndOfWord(e,t,n,o+1));n=2}else if(1===r&&0!==n)return this._createWord(e,n,r,o+1,this._findEndOfWord(e,t,n,o+1))}return 0!==n?this._createWord(e,n,1,0,this._findEndOfWord(e,t,n,0)):null}static _findEndOfWord(e,t,i,n){let s=t.findNextIntlWordAtOrAfterOffset(e,n),o=e.length;for(let r=n;r=0;o--){let n=e.charCodeAt(o),r=t.get(n);if(s&&o===s.index)return o;if(1===r||1===i&&2===r||2===i&&0===r)return o+1}return 0}static moveWordLeft(e,t,i,n){let s=i.lineNumber,o=i.column;1===o&&s>1&&(s-=1,o=t.getLineMaxColumn(s));let r=d._findPreviousWordOnLine(e,t,new l.L(s,o));if(0===n)return new l.L(s,r?r.start+1:1);if(1===n)return r&&2===r.wordType&&r.end-r.start==1&&0===r.nextCharClass&&(r=d._findPreviousWordOnLine(e,t,new l.L(s,r.start+1))),new l.L(s,r?r.start+1:1);if(3===n){for(;r&&2===r.wordType;)r=d._findPreviousWordOnLine(e,t,new l.L(s,r.start+1));return new l.L(s,r?r.start+1:1)}return r&&o<=r.end+1&&(r=d._findPreviousWordOnLine(e,t,new l.L(s,r.start+1))),new l.L(s,r?r.end+1:1)}static _moveWordPartLeft(e,t){let i=t.lineNumber,s=e.getLineMaxColumn(i);if(1===t.column)return i>1?new l.L(i-1,e.getLineMaxColumn(i-1)):t;let o=e.getLineContent(i);for(let e=t.column-1;e>1;e--){let t=o.charCodeAt(e-2),r=o.charCodeAt(e-1);if(95===t&&95!==r||45===t&&45!==r||(n.mK(t)||n.T5(t))&&n.df(r))return new l.L(i,e);if(n.df(t)&&n.df(r)&&e+1=a.start+1&&(a=d._findNextWordOnLine(e,t,new l.L(s,a.end+1))),o=a?a.start+1:t.getLineMaxColumn(s);return new l.L(s,o)}static _moveWordPartRight(e,t){let i=t.lineNumber,s=e.getLineMaxColumn(i);if(t.column===s)return i1?c=1:(u--,c=n.getLineMaxColumn(u)):(g&&c<=g.end+1&&(g=d._findPreviousWordOnLine(i,n,new l.L(u,g.start+1))),g?c=g.end+1:c>1?c=1:(u--,c=n.getLineMaxColumn(u))),new a.e(u,c,h.lineNumber,h.column)}static deleteInsideWord(e,t,i){if(!i.isEmpty())return i;let n=new l.L(i.positionLineNumber,i.positionColumn),s=this._deleteInsideWordWhitespace(t,n);return s||this._deleteInsideWordDetermineDeleteRange(e,t,n)}static _charAtIsWhitespace(e,t){let i=e.charCodeAt(t);return 32===i||9===i}static _deleteInsideWordWhitespace(e,t){let i=e.getLineContent(t.lineNumber),n=i.length;if(0===n)return null;let s=Math.max(t.column-2,0);if(!this._charAtIsWhitespace(i,s))return null;let o=Math.min(t.column-1,n-1);if(!this._charAtIsWhitespace(i,o))return null;for(;s>0&&this._charAtIsWhitespace(i,s-1);)s--;for(;o+11?new a.e(i.lineNumber-1,t.getLineMaxColumn(i.lineNumber-1),i.lineNumber,1):i.lineNumber(e=Math.min(e,i.column),t=Math.max(t,i.column),new a.e(i.lineNumber,e,i.lineNumber,t)),r=e=>{let t=e.start+1,i=e.end+1,r=!1;for(;i-11&&this._charAtIsWhitespace(n,t-2);)t--;return o(t,i)},l=d._findPreviousWordOnLine(e,t,i);if(l&&l.start+1<=i.column&&i.column<=l.end+1)return r(l);let h=d._findNextWordOnLine(e,t,i);return h&&h.start+1<=i.column&&i.column<=h.end+1?r(h):l&&h?o(l.end+1,h.start+1):l?o(l.start+1,l.end+1):h?o(h.start+1,h.end+1):o(1,s+1)}static _deleteWordPartLeft(e,t){if(!t.isEmpty())return t;let i=t.getPosition(),n=d._moveWordPartLeft(e,i);return new a.e(i.lineNumber,i.column,n.lineNumber,n.column)}static _findFirstNonWhitespaceChar(e,t){let i=e.length;for(let n=t;n=p.start+1&&(p=d._findNextWordOnLine(i,n,new l.L(h,p.end+1))),p?u=p.start+1:u!!e)}},55343:function(e,t,i){"use strict";i.d(t,{LM:function(){return c},LN:function(){return v},Tp:function(){return _},Vi:function(){return g},rS:function(){return f}});var n=i(50187),s=i(24314),o=i(3860),r=i(19111),l=i(7988),a=i(83158);let d=()=>!0,h=()=>!1,u=e=>" "===e||" "===e;class c{static shouldRecreate(e){return e.hasChanged(145)||e.hasChanged(131)||e.hasChanged(37)||e.hasChanged(77)||e.hasChanged(79)||e.hasChanged(80)||e.hasChanged(6)||e.hasChanged(7)||e.hasChanged(11)||e.hasChanged(9)||e.hasChanged(10)||e.hasChanged(14)||e.hasChanged(128)||e.hasChanged(50)||e.hasChanged(91)||e.hasChanged(130)}constructor(e,t,i,n){var s;this.languageConfigurationService=n,this._cursorMoveConfigurationBrand=void 0,this._languageId=e;let o=i.options,r=o.get(145),l=o.get(50);this.readOnly=o.get(91),this.tabSize=t.tabSize,this.indentSize=t.indentSize,this.insertSpaces=t.insertSpaces,this.stickyTabStops=o.get(116),this.lineHeight=l.lineHeight,this.typicalHalfwidthCharacterWidth=l.typicalHalfwidthCharacterWidth,this.pageSize=Math.max(1,Math.floor(r.height/this.lineHeight)-2),this.useTabStops=o.get(128),this.wordSeparators=o.get(131),this.emptySelectionClipboard=o.get(37),this.copyWithSyntaxHighlighting=o.get(25),this.multiCursorMergeOverlapping=o.get(77),this.multiCursorPaste=o.get(79),this.multiCursorLimit=o.get(80),this.autoClosingBrackets=o.get(6),this.autoClosingComments=o.get(7),this.autoClosingQuotes=o.get(11),this.autoClosingDelete=o.get(9),this.autoClosingOvertype=o.get(10),this.autoSurround=o.get(14),this.autoIndent=o.get(12),this.wordSegmenterLocales=o.get(130),this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:this._getShouldAutoClose(e,this.autoClosingQuotes,!0),comment:this._getShouldAutoClose(e,this.autoClosingComments,!1),bracket:this._getShouldAutoClose(e,this.autoClosingBrackets,!1)},this.autoClosingPairs=this.languageConfigurationService.getLanguageConfiguration(e).getAutoClosingPairs();let a=this.languageConfigurationService.getLanguageConfiguration(e).getSurroundingPairs();if(a)for(let e of a)this.surroundingPairs[e.open]=e.close;let d=this.languageConfigurationService.getLanguageConfiguration(e).comments;this.blockCommentStartToken=null!==(s=null==d?void 0:d.blockCommentStartToken)&&void 0!==s?s:null}get electricChars(){var e;if(!this._electricChars){this._electricChars={};let t=null===(e=this.languageConfigurationService.getLanguageConfiguration(this._languageId).electricCharacter)||void 0===e?void 0:e.getElectricCharacters();if(t)for(let e of t)this._electricChars[e]=!0}return this._electricChars}onElectricCharacter(e,t,i){let n=(0,r.wH)(t,i-1),s=this.languageConfigurationService.getLanguageConfiguration(n.languageId).electricCharacter;return s?s.onElectricCharacter(e,n,i-n.firstCharOffset):null}normalizeIndentation(e){return(0,a.x)(e,this.indentSize,this.insertSpaces)}_getShouldAutoClose(e,t,i){switch(t){case"beforeWhitespace":return u;case"languageDefined":return this._getLanguageDefinedShouldAutoClose(e,i);case"always":return d;case"never":return h}}_getLanguageDefinedShouldAutoClose(e,t){let i=this.languageConfigurationService.getLanguageConfiguration(e).getAutoCloseBeforeSet(t);return e=>-1!==i.indexOf(e)}visibleColumnFromColumn(e,t){return l.i.visibleColumnFromColumn(e.getLineContent(t.lineNumber),t.column,this.tabSize)}columnFromVisibleColumn(e,t,i){let n=l.i.columnFromVisibleColumn(e.getLineContent(t),i,this.tabSize),s=e.getLineMinColumn(t);if(no?o:n}}class g{static fromModelState(e){return new p(e)}static fromViewState(e){return new m(e)}static fromModelSelection(e){let t=o.Y.liftSelection(e),i=new f(s.e.fromPositions(t.getSelectionStart()),0,0,t.getPosition(),0);return g.fromModelState(i)}static fromModelSelections(e){let t=[];for(let i=0,n=e.length;i{i.push(l.fromOffsetPairs(e?e.getEndExclusives():a.zero,n?n.getStarts():new a(t,(e?e.seq2Range.endExclusive-e.seq1Range.endExclusive:0)+t)))}),i}static fromOffsetPairs(e,t){return new l(new o.q(e.offset1,t.offset1),new o.q(e.offset2,t.offset2))}constructor(e,t){this.seq1Range=e,this.seq2Range=t}swap(){return new l(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new l(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return 0===e?this:new l(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return 0===e?this:new l(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return 0===e?this:new l(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){let t=this.seq1Range.intersect(e.seq1Range),i=this.seq2Range.intersect(e.seq2Range);if(t&&i)return new l(t,i)}getStarts(){return new a(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new a(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}class a{constructor(e,t){this.offset1=e,this.offset2=t}toString(){return`${this.offset1} <-> ${this.offset2}`}delta(e){return 0===e?this:new a(this.offset1+e,this.offset2+e)}equals(e){return this.offset1===e.offset1&&this.offset2===e.offset2}}a.zero=new a(0,0),a.max=new a(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class d{isValid(){return!0}}d.instance=new d;class h{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new s.he("timeout must be positive")}isValid(){let e=Date.now()-this.startTime0&&d>0&&3===o.get(r-1,d-1)&&(h+=l.get(r-1,d-1)),h+=n?n(r,d):1):h=-1;let g=Math.max(u,c,h);if(g===h){let e=r>0&&d>0?l.get(r-1,d-1):0;l.set(r,d,e+1),o.set(r,d,3)}else g===u?(l.set(r,d,0),o.set(r,d,1)):g===c&&(l.set(r,d,0),o.set(r,d,2));s.set(r,d,g)}let h=[],u=e.length,c=t.length;function g(e,t){(e+1!==u||t+1!==c)&&h.push(new a.i8(new r.q(e+1,u),new r.q(t+1,c))),u=e,c=t}let p=e.length-1,m=t.length-1;for(;p>=0&&m>=0;)3===o.get(p,m)?(g(p,m),p--,m--):1===o.get(p,m)?p--:m--;return g(-1,-1),h.reverse(),new a.KU(h,!1)}}class g{compute(e,t,i=a.n0.instance){if(0===e.length||0===t.length)return a.KU.trivial(e,t);function n(i,n){for(;ie.length||c>t.length)continue;let g=n(u,c);o.set(d,g);let m=u===s?l.get(d+1):l.get(d-1);if(l.set(d,g!==u?new p(m,u,c,g-u):m),o.get(d)===e.length&&o.get(d)-d===t.length)break t}}let h=l.get(d),u=[],c=e.length,g=t.length;for(;;){let e=h?h.x+h.length:0,t=h?h.y+h.length:0;if((e!==c||t!==g)&&u.push(new a.i8(new r.q(e,c),new r.q(t,g))),!h)break;c=h.x,g=h.y,h=h.prev}return u.reverse(),new a.KU(u,!1)}}class p{constructor(e,t,i,n){this.prev=e,this.x=t,this.y=i,this.length=n}}class m{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){if(e<0){if((e=-e-1)>=this.negativeArr.length){let e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){let e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class f{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}var _=i(54648),v=i(35534),b=i(43702),C=i(50187);class w{constructor(e,t,i){this.lines=e,this.considerWhitespaceChanges=i,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let n=!1;t.start>0&&t.endExclusive>=e.length&&(t=new r.q(t.start-1,t.endExclusive),n=!0),this.lineRange=t,this.firstCharOffsetByLine[0]=0;for(let t=this.lineRange.start;tString.fromCharCode(e)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let t=L(e>0?this.elements[e-1]:-1),i=L(et<=e);return new C.L(this.lineRange.start+t+1,e-this.firstCharOffsetByLine[t]+this.additionalOffsetByLine[t]+1)}translateRange(e){return l.e.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!y(this.elements[e]))return;let t=e;for(;t>0&&y(this.elements[t-1]);)t--;let i=e;for(;it<=e.start))&&void 0!==t?t:0,s=null!==(i=(0,v.cn)(this.firstCharOffsetByLine,t=>e.endExclusive<=t))&&void 0!==i?i:this.elements.length;return new r.q(n,s)}}function y(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}let S={0:0,1:0,2:0,3:10,4:2,5:30,6:3,7:10,8:10};function L(e){if(10===e)return 8;if(13===e)return 7;if(h(e))return 6;if(e>=97&&e<=122)return 0;if(e>=65&&e<=90)return 1;if(e>=48&&e<=57)return 2;if(-1===e)return 3;else if(44===e||59===e)return 5;else return 4}function k(e,t,i){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;let n=new g,s=n.compute(new w([e],new r.q(0,1),!1),new w([t],new r.q(0,1),!1),i),o=0,l=a.i8.invert(s.diffs,e.length);for(let t of l)t.seq1Range.forEach(t=>{!h(e.charCodeAt(t))&&o++});let d=function(t){let i=0;for(let n=0;nt.length?e:t),u=o/d>.6&&d>10;return u}var D=i(42502);class x{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){let t=0===e?0:N(this.lines[e-1]),i=e===this.lines.length?0:N(this.lines[e]);return 1e3-(t+i)}getText(e){return this.lines.slice(e.start,e.endExclusive).join("\n")}isStronglyEqual(e,t){return this.lines[e]===this.lines[t]}}function N(e){let t=0;for(;te===t))return new E.h([],[],!1);if(1===e.length&&0===e[0].length||1===t.length&&0===t[0].length)return new E.h([new _.gB(new o.z(1,e.length+1),new o.z(1,t.length+1),[new _.iy(new l.e(1,1,e.length,e[e.length-1].length+1),new l.e(1,1,t.length,t[t.length-1].length+1))])],[],!1);let d=0===i.maxComputationTimeMs?a.n0.instance:new a.NT(i.maxComputationTimeMs),h=!i.ignoreTrimWhitespace,u=new Map;function c(e){let t=u.get(e);return void 0===t&&(t=u.size,u.set(e,t)),t}let g=e.map(e=>c(e.trim())),p=t.map(e=>c(e.trim())),m=new x(g,e),f=new x(p,t),v=m.length+f.length<1700?this.dynamicProgrammingDiffing.compute(m,f,d,(i,n)=>e[i]===t[n]?0===t[n].length?.1:1+Math.log(1+t[n].length):.99):this.myersDiffingAlgorithm.compute(m,f,d),b=v.diffs,C=v.hitTimeout;b=(0,D.xG)(m,f,b),b=(0,D.rh)(m,f,b);let w=[],y=i=>{if(h)for(let n=0;ni.seq1Range.start-S==i.seq2Range.start-L);let n=i.seq1Range.start-S;y(n),S=i.seq1Range.endExclusive,L=i.seq2Range.endExclusive;let o=this.refineDiff(e,t,i,d,h);for(let e of(o.hitTimeout&&(C=!0),o.mappings))w.push(e)}y(e.length-S);let k=T(w,e,t),N=[];return i.computeMoves&&(N=this.computeMoves(k,e,t,g,p,d,h)),(0,s.eZ)(()=>{function i(e,t){if(e.lineNumber<1||e.lineNumber>t.length)return!1;let i=t[e.lineNumber-1];return!(e.column<1)&&!(e.column>i.length+1)}function n(e,t){return!(e.startLineNumber<1)&&!(e.startLineNumber>t.length+1)&&!(e.endLineNumberExclusive<1)&&!(e.endLineNumberExclusive>t.length+1)}for(let s of k){if(!s.innerChanges)return!1;for(let n of s.innerChanges){let s=i(n.modifiedRange.getStartPosition(),t)&&i(n.modifiedRange.getEndPosition(),t)&&i(n.originalRange.getStartPosition(),e)&&i(n.originalRange.getEndPosition(),e);if(!s)return!1}if(!n(s.modified,t)||!n(s.original,e))return!1}return!0}),new E.h(k,N,C)}computeMoves(e,t,i,s,r,l,d){let h=function(e,t,i,s,r,l){let{moves:a,excludedChanges:d}=function(e,t,i,n){let s=[],o=e.filter(e=>e.modified.isEmpty&&e.original.length>=3).map(e=>new u(e.original,t,e)),r=new Set(e.filter(e=>e.original.isEmpty&&e.modified.length>=3).map(e=>new u(e.modified,i,e))),l=new Set;for(let e of o){let t,i=-1;for(let n of r){let s=e.computeSimilarity(n);s>i&&(i=s,t=n)}if(i>.9&&t&&(r.delete(t),s.push(new _.f0(e.range,t.range)),l.add(e.source),l.add(t.source)),!n.isValid())break}return{moves:s,excludedChanges:l}}(e,t,i,l);if(!l.isValid())return[];let h=e.filter(e=>!d.has(e)),c=function(e,t,i,s,r,l){let a=[],d=new b.ri;for(let i of e)for(let e=i.original.startLineNumber;ee.modified.startLineNumber,n.fv)),e)){let e=[];for(let n=t.modified.startLineNumber;n{for(let i of e)if(i.originalLineRange.endLineNumberExclusive+1===t.endLineNumberExclusive&&i.modifiedLineRange.endLineNumberExclusive+1===s.endLineNumberExclusive){i.originalLineRange=new o.z(i.originalLineRange.startLineNumber,t.endLineNumberExclusive),i.modifiedLineRange=new o.z(i.modifiedLineRange.startLineNumber,s.endLineNumberExclusive),r.push(i);return}let i={modifiedLineRange:s,originalLineRange:t};h.push(i),r.push(i)}),e=r}if(!l.isValid())return[]}h.sort((0,n.BV)((0,n.tT)(e=>e.modifiedLineRange.length,n.fv)));let u=new o.i,c=new o.i;for(let e of h){let t=e.modifiedLineRange.startLineNumber-e.originalLineRange.startLineNumber,i=u.subtractFrom(e.modifiedLineRange),n=c.subtractFrom(e.originalLineRange).getWithDelta(t),s=i.getIntersection(n);for(let e of s.ranges){if(e.length<3)continue;let i=e.delta(-t);a.push(new _.f0(i,e)),u.addRange(e),c.addRange(i)}}a.sort((0,n.tT)(e=>e.original.startLineNumber,n.fv));let g=new v.b1(e);for(let t=0;te.original.startLineNumber<=d.original.startLineNumber),p=(0,v.ti)(e,e=>e.modified.startLineNumber<=d.modified.startLineNumber),m=Math.max(d.original.startLineNumber-h.original.startLineNumber,d.modified.startLineNumber-p.modified.startLineNumber),f=g.findLastMonotonous(e=>e.original.startLineNumbere.modified.startLineNumbers.length||t>r.length||u.contains(t)||c.contains(e)||!k(s[e-1],r[t-1],l))break}for(i>0&&(c.addRange(new o.z(d.original.startLineNumber-i,d.original.startLineNumber)),u.addRange(new o.z(d.modified.startLineNumber-i,d.modified.startLineNumber))),n=0;ns.length||t>r.length||u.contains(t)||c.contains(e)||!k(s[e-1],r[t-1],l))break}n>0&&(c.addRange(new o.z(d.original.endLineNumberExclusive,d.original.endLineNumberExclusive+n)),u.addRange(new o.z(d.modified.endLineNumberExclusive,d.modified.endLineNumberExclusive+n))),(i>0||n>0)&&(a[t]=new _.f0(new o.z(d.original.startLineNumber-i,d.original.endLineNumberExclusive+n),new o.z(d.modified.startLineNumber-i,d.modified.endLineNumberExclusive+n)))}return a}(h,s,r,t,i,l);return(0,n.vA)(a,c),a=(a=function(e){if(0===e.length)return e;e.sort((0,n.tT)(e=>e.original.startLineNumber,n.fv));let t=[e[0]];for(let i=1;i=0&&r>=0;if(l&&o+r<=2){t[t.length-1]=n.join(s);continue}t.push(s)}return t}(a)).filter(e=>{let i=e.original.toOffsetRange().slice(t).map(e=>e.trim()),n=i.join("\n");return n.length>=15&&function(e,t){let i=0;for(let n of e)t(n)&&i++;return i}(i,e=>e.length>=2)>=2}),a=function(e,t){let i=new v.b1(e);return t=t.filter(t=>{let n=i.findLastMonotonous(e=>e.original.startLineNumbere.modified.startLineNumber{let n=this.refineDiff(t,i,new a.i8(e.original.toOffsetRange(),e.modified.toOffsetRange()),l,d),s=T(n.mappings,t,i,!0);return new E.y(e,s)});return c}refineDiff(e,t,i,n,s){let o=new w(e,i.seq1Range,s),r=new w(t,i.seq2Range,s),l=o.length+r.length<500?this.dynamicProgrammingDiffing.compute(o,r,n):this.myersDiffingAlgorithm.compute(o,r,n),a=l.diffs;a=(0,D.xG)(o,r,a),a=(0,D.g0)(o,r,a),a=(0,D.oK)(o,r,a),a=(0,D.DI)(o,r,a);let d=a.map(e=>new _.iy(o.translateRange(e.seq1Range),r.translateRange(e.seq2Range)));return{mappings:d,hitTimeout:l.hitTimeout}}}function T(e,t,i,r=!1){let l=[];for(let s of(0,n.mw)(e.map(e=>(function(e,t,i){let n=0,s=0;1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+n<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+n<=e.modifiedRange.endLineNumber&&(s=-1),e.modifiedRange.startColumn-1>=i[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+s&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+s&&(n=1);let r=new o.z(e.originalRange.startLineNumber+n,e.originalRange.endLineNumber+1+s),l=new o.z(e.modifiedRange.startLineNumber+n,e.modifiedRange.endLineNumber+1+s);return new _.gB(r,l,[e])})(e,t,i)),(e,t)=>e.original.overlapOrTouch(t.original)||e.modified.overlapOrTouch(t.modified))){let e=s[0],t=s[s.length-1];l.push(new _.gB(e.original.join(t.original),e.modified.join(t.modified),s.map(e=>e.innerChanges[0])))}return(0,s.eZ)(()=>(!!r||!(l.length>0)||l[0].modified.startLineNumber===l[0].original.startLineNumber&&i.length-l[l.length-1].modified.endLineNumberExclusive==t.length-l[l.length-1].original.endLineNumberExclusive)&&(0,s.DM)(l,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive0?i[n-1]:void 0,r=i[n],l=n+10&&(a=a.delta(r))}r.push(a)}return n.length>0&&r.push(n[n.length-1]),r}function a(e,t,i,n,s){let o=1;for(;e.seq1Range.start-o>=n.start&&e.seq2Range.start-o>=s.start&&i.isStronglyEqual(e.seq2Range.start-o,e.seq2Range.endExclusive-o)&&o<100;)o++;o--;let r=0;for(;e.seq1Range.start+ra&&(a=d,l=n)}return e.delta(l)}function d(e,t,i){let n=[];for(let e of i){let t=n[n.length-1];if(!t){n.push(e);continue}e.seq1Range.start-t.seq1Range.endExclusive<=2||e.seq2Range.start-t.seq2Range.endExclusive<=2?n[n.length-1]=new o.i8(t.seq1Range.join(e.seq1Range),t.seq2Range.join(e.seq2Range)):n.push(e)}return n}function h(e,t,i){let n=o.i8.invert(i,e.length),s=[],r=new o.zl(0,0);function l(i,l){if(i.offset10;){let i=n[0],s=i.seq1Range.intersects(h.seq1Range)||i.seq2Range.intersects(h.seq2Range);if(!s)break;let r=e.findWordContaining(i.seq1Range.start),l=t.findWordContaining(i.seq2Range.start),a=new o.i8(r,l),d=a.intersect(i);if(c+=d.seq1Range.length,g+=d.seq2Range.length,(h=h.join(a)).seq1Range.endExclusive>=i.seq1Range.endExclusive)n.shift();else break}c+g<(h.seq1Range.length+h.seq2Range.length)*2/3&&s.push(h),r=h.getEndExclusives()}for(;n.length>0;){let e=n.shift();e.seq1Range.isEmpty||(l(e.getStarts(),e),l(e.getEndExclusives().delta(-1),e))}let a=function(e,t){let i=[];for(;e.length>0||t.length>0;){let n;let s=e[0],o=t[0];n=s&&(!o||s.seq1Range.start0&&i[i.length-1].seq1Range.endExclusive>=n.seq1Range.start?i[i.length-1]=i[i.length-1].join(n):i.push(n)}return i}(i,s);return a}function u(e,t,i){let n,o=i;if(0===o.length)return o;let r=0;do{n=!1;let t=[o[0]];for(let i=1;i5||i.seq1Range.length+i.seq2Range.length>5)}(l,r);a?(n=!0,t[t.length-1]=t[t.length-1].join(r)):t.push(r)}o=t}while(r++<10&&n);return o}function c(e,t,i){let r,l=i;if(0===l.length)return l;let a=0;do{r=!1;let i=[l[0]];for(let n=1;n5||r.length>500)return!1;let d=e.getText(r).trim();if(d.length>20||d.split(/\r\n|\r|\n/).length>1)return!1;let h=e.countLinesIn(i.seq1Range),u=i.seq1Range.length,c=t.countLinesIn(i.seq2Range),g=i.seq2Range.length,p=e.countLinesIn(n.seq1Range),m=n.seq1Range.length,f=t.countLinesIn(n.seq2Range),_=n.seq2Range.length;function v(e){return Math.min(e,130)}return Math.pow(Math.pow(v(40*h+u),1.5)+Math.pow(v(40*c+g),1.5),1.5)+Math.pow(Math.pow(v(40*p+m),1.5)+Math.pow(v(40*f+_),1.5),1.5)>74184.96480721243}(a,o);d?(r=!0,i[i.length-1]=i[i.length-1].join(o)):i.push(o)}l=i}while(a++<10&&r);let d=[];return(0,n.KO)(l,(t,i,n)=>{let r=i;function l(e){return e.length>0&&e.trim().length<=3&&i.seq1Range.length+i.seq2Range.length>100}let a=e.extendToFullLines(i.seq1Range),h=e.getText(new s.q(a.start,i.seq1Range.start));l(h)&&(r=r.deltaStart(-h.length));let u=e.getText(new s.q(i.seq1Range.endExclusive,a.endExclusive));l(u)&&(r=r.deltaEnd(u.length));let c=o.i8.fromOffsetPairs(t?t.getEndExclusives():o.zl.zero,n?n.getStarts():o.zl.max),g=r.intersect(c);d.length>0&&g.getStarts().equals(d[d.length-1].getEndExclusives())?d[d.length-1]=d[d.length-1].join(g):d.push(g)}),d}},60652:function(e,t,i){"use strict";i.d(t,{h:function(){return n},y:function(){return s}});class n{constructor(e,t,i){this.changes=e,this.moves=t,this.hitTimeout=i}}class s{constructor(e,t){this.lineRangeMapping=e,this.changes=t}}},54648:function(e,t,i){"use strict";i.d(t,{f0:function(){return l},gB:function(){return a},iy:function(){return d}});var n=i(17301),s=i(45463),o=i(24314),r=i(40027);class l{static inverse(e,t,i){let n=[],o=1,r=1;for(let t of e){let e=new l(new s.z(o,t.original.startLineNumber),new s.z(r,t.modified.startLineNumber));e.modified.isEmpty||n.push(e),o=t.original.endLineNumberExclusive,r=t.modified.endLineNumberExclusive}let a=new l(new s.z(o,t+1),new s.z(r,i+1));return a.modified.isEmpty||n.push(a),n}static clip(e,t,i){let n=[];for(let s of e){let e=s.original.intersect(t),o=s.modified.intersect(i);e&&!e.isEmpty&&o&&!o.isEmpty&&n.push(new l(e,o))}return n}constructor(e,t){this.original=e,this.modified=t}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new l(this.modified,this.original)}join(e){return new l(this.original.join(e.original),this.modified.join(e.modified))}toRangeMapping(){let e=this.original.toInclusiveRange(),t=this.modified.toInclusiveRange();if(e&&t)return new d(e,t);if(1!==this.original.startLineNumber&&1!==this.modified.startLineNumber)return new d(new o.e(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),new o.e(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER));if(!(1===this.modified.startLineNumber&&1===this.original.startLineNumber))throw new n.he("not a valid diff");return new d(new o.e(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new o.e(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1))}}class a extends l{static fromRangeMappings(e){let t=s.z.join(e.map(e=>s.z.fromRangeInclusive(e.originalRange))),i=s.z.join(e.map(e=>s.z.fromRangeInclusive(e.modifiedRange)));return new a(t,i,e)}constructor(e,t,i){super(e,t),this.innerChanges=i}flip(){var e;return new a(this.modified,this.original,null===(e=this.innerChanges)||void 0===e?void 0:e.map(e=>e.flip()))}withInnerChangesFromLineRanges(){return new a(this.original,this.modified,[this.toRangeMapping()])}}class d{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new d(this.modifiedRange,this.originalRange)}toTextEdit(e){let t=e.getValueOfRange(this.modifiedRange);return new r.At(this.originalRange,t)}}},30653:function(e,t,i){"use strict";i.d(t,{p:function(){return n}});class n{constructor(e,t,i,n,s,o,r){this.id=e,this.label=t,this.alias=i,this.metadata=n,this._precondition=s,this._run=o,this._contextKeyService=r}isSupported(){return this._contextKeyService.contextMatchesRules(this._precondition)}run(e){return this.isSupported()?this._run(e):Promise.resolve(void 0)}}},96518:function(e,t,i){"use strict";i.d(t,{g:function(){return n}});let n={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"}},29102:function(e,t,i){"use strict";i.d(t,{u:function(){return s}});var n,s,o=i(63580),r=i(32064);(n=s||(s={})).editorSimpleInput=new r.uy("editorSimpleInput",!1,!0),n.editorTextFocus=new r.uy("editorTextFocus",!1,o.NC("editorTextFocus","Whether the editor text has focus (cursor is blinking)")),n.focus=new r.uy("editorFocus",!1,o.NC("editorFocus","Whether the editor or an editor widget has focus (e.g. focus is in the find widget)")),n.textInputFocus=new r.uy("textInputFocus",!1,o.NC("textInputFocus","Whether an editor or a rich text input has focus (cursor is blinking)")),n.readOnly=new r.uy("editorReadonly",!1,o.NC("editorReadonly","Whether the editor is read-only")),n.inDiffEditor=new r.uy("inDiffEditor",!1,o.NC("inDiffEditor","Whether the context is a diff editor")),n.isEmbeddedDiffEditor=new r.uy("isEmbeddedDiffEditor",!1,o.NC("isEmbeddedDiffEditor","Whether the context is an embedded diff editor")),n.inMultiDiffEditor=new r.uy("inMultiDiffEditor",!1,o.NC("inMultiDiffEditor","Whether the context is a multi diff editor")),n.multiDiffEditorAllCollapsed=new r.uy("multiDiffEditorAllCollapsed",void 0,o.NC("multiDiffEditorAllCollapsed","Whether all files in multi diff editor are collapsed")),n.hasChanges=new r.uy("diffEditorHasChanges",!1,o.NC("diffEditorHasChanges","Whether the diff editor has changes")),n.comparingMovedCode=new r.uy("comparingMovedCode",!1,o.NC("comparingMovedCode","Whether a moved code block is selected for comparison")),n.accessibleDiffViewerVisible=new r.uy("accessibleDiffViewerVisible",!1,o.NC("accessibleDiffViewerVisible","Whether the accessible diff viewer is visible")),n.diffEditorRenderSideBySideInlineBreakpointReached=new r.uy("diffEditorRenderSideBySideInlineBreakpointReached",!1,o.NC("diffEditorRenderSideBySideInlineBreakpointReached","Whether the diff editor render side by side inline breakpoint is reached")),n.diffEditorInlineMode=new r.uy("diffEditorInlineMode",!1,o.NC("diffEditorInlineMode","Whether inline mode is active")),n.diffEditorOriginalWritable=new r.uy("diffEditorOriginalWritable",!1,o.NC("diffEditorOriginalWritable","Whether modified is writable in the diff editor")),n.diffEditorModifiedWritable=new r.uy("diffEditorModifiedWritable",!1,o.NC("diffEditorModifiedWritable","Whether modified is writable in the diff editor")),n.diffEditorOriginalUri=new r.uy("diffEditorOriginalUri","",o.NC("diffEditorOriginalUri","The uri of the original document")),n.diffEditorModifiedUri=new r.uy("diffEditorModifiedUri","",o.NC("diffEditorModifiedUri","The uri of the modified document")),n.columnSelection=new r.uy("editorColumnSelection",!1,o.NC("editorColumnSelection","Whether `editor.columnSelection` is enabled")),n.writable=n.readOnly.toNegated(),n.hasNonEmptySelection=new r.uy("editorHasSelection",!1,o.NC("editorHasSelection","Whether the editor has text selected")),n.hasOnlyEmptySelection=n.hasNonEmptySelection.toNegated(),n.hasMultipleSelections=new r.uy("editorHasMultipleSelections",!1,o.NC("editorHasMultipleSelections","Whether the editor has multiple selections")),n.hasSingleSelection=n.hasMultipleSelections.toNegated(),n.tabMovesFocus=new r.uy("editorTabMovesFocus",!1,o.NC("editorTabMovesFocus","Whether `Tab` will move focus out of the editor")),n.tabDoesNotMoveFocus=n.tabMovesFocus.toNegated(),n.isInEmbeddedEditor=new r.uy("isInEmbeddedEditor",!1,!0),n.canUndo=new r.uy("canUndo",!1,!0),n.canRedo=new r.uy("canRedo",!1,!0),n.hoverVisible=new r.uy("editorHoverVisible",!1,o.NC("editorHoverVisible","Whether the editor hover is visible")),n.hoverFocused=new r.uy("editorHoverFocused",!1,o.NC("editorHoverFocused","Whether the editor hover is focused")),n.stickyScrollFocused=new r.uy("stickyScrollFocused",!1,o.NC("stickyScrollFocused","Whether the sticky scroll is focused")),n.stickyScrollVisible=new r.uy("stickyScrollVisible",!1,o.NC("stickyScrollVisible","Whether the sticky scroll is visible")),n.standaloneColorPickerVisible=new r.uy("standaloneColorPickerVisible",!1,o.NC("standaloneColorPickerVisible","Whether the standalone color picker is visible")),n.standaloneColorPickerFocused=new r.uy("standaloneColorPickerFocused",!1,o.NC("standaloneColorPickerFocused","Whether the standalone color picker is focused")),n.inCompositeEditor=new r.uy("inCompositeEditor",void 0,o.NC("inCompositeEditor","Whether the editor is part of a larger editor (e.g. notebooks)")),n.notInCompositeEditor=n.inCompositeEditor.toNegated(),n.languageId=new r.uy("editorLangId","",o.NC("editorLangId","The language identifier of the editor")),n.hasCompletionItemProvider=new r.uy("editorHasCompletionItemProvider",!1,o.NC("editorHasCompletionItemProvider","Whether the editor has a completion item provider")),n.hasCodeActionsProvider=new r.uy("editorHasCodeActionsProvider",!1,o.NC("editorHasCodeActionsProvider","Whether the editor has a code actions provider")),n.hasCodeLensProvider=new r.uy("editorHasCodeLensProvider",!1,o.NC("editorHasCodeLensProvider","Whether the editor has a code lens provider")),n.hasDefinitionProvider=new r.uy("editorHasDefinitionProvider",!1,o.NC("editorHasDefinitionProvider","Whether the editor has a definition provider")),n.hasDeclarationProvider=new r.uy("editorHasDeclarationProvider",!1,o.NC("editorHasDeclarationProvider","Whether the editor has a declaration provider")),n.hasImplementationProvider=new r.uy("editorHasImplementationProvider",!1,o.NC("editorHasImplementationProvider","Whether the editor has an implementation provider")),n.hasTypeDefinitionProvider=new r.uy("editorHasTypeDefinitionProvider",!1,o.NC("editorHasTypeDefinitionProvider","Whether the editor has a type definition provider")),n.hasHoverProvider=new r.uy("editorHasHoverProvider",!1,o.NC("editorHasHoverProvider","Whether the editor has a hover provider")),n.hasDocumentHighlightProvider=new r.uy("editorHasDocumentHighlightProvider",!1,o.NC("editorHasDocumentHighlightProvider","Whether the editor has a document highlight provider")),n.hasDocumentSymbolProvider=new r.uy("editorHasDocumentSymbolProvider",!1,o.NC("editorHasDocumentSymbolProvider","Whether the editor has a document symbol provider")),n.hasReferenceProvider=new r.uy("editorHasReferenceProvider",!1,o.NC("editorHasReferenceProvider","Whether the editor has a reference provider")),n.hasRenameProvider=new r.uy("editorHasRenameProvider",!1,o.NC("editorHasRenameProvider","Whether the editor has a rename provider")),n.hasSignatureHelpProvider=new r.uy("editorHasSignatureHelpProvider",!1,o.NC("editorHasSignatureHelpProvider","Whether the editor has a signature help provider")),n.hasInlayHintsProvider=new r.uy("editorHasInlayHintsProvider",!1,o.NC("editorHasInlayHintsProvider","Whether the editor has an inline hints provider")),n.hasDocumentFormattingProvider=new r.uy("editorHasDocumentFormattingProvider",!1,o.NC("editorHasDocumentFormattingProvider","Whether the editor has a document formatting provider")),n.hasDocumentSelectionFormattingProvider=new r.uy("editorHasDocumentSelectionFormattingProvider",!1,o.NC("editorHasDocumentSelectionFormattingProvider","Whether the editor has a document selection formatting provider")),n.hasMultipleDocumentFormattingProvider=new r.uy("editorHasMultipleDocumentFormattingProvider",!1,o.NC("editorHasMultipleDocumentFormattingProvider","Whether the editor has multiple document formatting providers")),n.hasMultipleDocumentSelectionFormattingProvider=new r.uy("editorHasMultipleDocumentSelectionFormattingProvider",!1,o.NC("editorHasMultipleDocumentSelectionFormattingProvider","Whether the editor has multiple document selection formatting providers"))},10637:function(e,t,i){"use strict";i.d(t,{n:function(){return o},y:function(){return s}});let n=[];function s(e){n.push(e)}function o(){return n.slice(0)}},45797:function(e,t,i){"use strict";i.d(t,{N:function(){return n}});class n{static getLanguageId(e){return(255&e)>>>0}static getTokenType(e){return(768&e)>>>8}static containsBalancedBrackets(e){return(1024&e)!=0}static getFontStyle(e){return(30720&e)>>>11}static getForeground(e){return(16744448&e)>>>15}static getBackground(e){return(4278190080&e)>>>24}static getClassNameFromMetadata(e){let t=this.getForeground(e),i="mtk"+t,n=this.getFontStyle(e);return 1&n&&(i+=" mtki"),2&n&&(i+=" mtkb"),4&n&&(i+=" mtku"),8&n&&(i+=" mtks"),i}static getInlineStyleFromMetadata(e,t){let i=this.getForeground(e),n=this.getFontStyle(e),s=`color: ${t[i]};`;1&n&&(s+="font-style: italic;"),2&n&&(s+="font-weight: bold;");let o="";return 4&n&&(o+=" underline"),8&n&&(o+=" line-through"),o&&(s+=`text-decoration:${o};`),s}static getPresentationFromMetadata(e){let t=this.getForeground(e),i=this.getFontStyle(e);return{foreground:t,italic:!!(1&i),bold:!!(2&i),underline:!!(4&i),strikethrough:!!(8&i)}}}},22970:function(e,t,i){"use strict";i.d(t,{G:function(){return function e(t,i,o,r,l,a){if(Array.isArray(t)){let n=0;for(let s of t){let t=e(s,i,o,r,l,a);if(10===t)return t;t>n&&(n=t)}return n}if("string"==typeof t)return r?"*"===t?5:t===o?10:0:0;if(!t)return 0;{let{language:e,pattern:d,scheme:h,hasAccessToAllModels:u,notebookType:c}=t;if(!r&&!u)return 0;c&&l&&(i=l);let g=0;if(h){if(h===i.scheme)g=10;else{if("*"!==h)return 0;g=5}}if(e){if(e===o)g=10;else{if("*"!==e)return 0;g=Math.max(g,5)}}if(c){if(c===a)g=10;else{if("*"!==c||void 0===a)return 0;g=Math.max(g,5)}}if(d){let e;if(!((e="string"==typeof d?d:{...d,base:(0,s.Fv)(d.base)})===i.fsPath||(0,n.EQ)(e,i.fsPath)))return 0;g=10}return g}}}});var n=i(14118),s=i(82663)},43155:function(e,t,i){"use strict";i.d(t,{mY:function(){return w},gX:function(){return g},MY:function(){return _},Nq:function(){return m},DI:function(){return R},AD:function(){return B},bq:function(){return c},gl:function(){return y},bw:function(){return p},rn:function(){return S},MO:function(){return W},w:function(){return b},Ll:function(){return C},ln:function(){return A},WW:function(){return f},uZ:function(){return v},WU:function(){return T},RW:function(){return H},hG:function(){return M},R4:function(){return F},vx:function(){return P}});var n,s,o,r,l,a,d,h,u,c,g,p,m,f,_,v,b,C,w,y,S,L=i(78789),k=i(70666),D=i(24314),x=i(4669),N=i(5976);class E extends N.JT{get isResolved(){return this._isResolved}constructor(e,t,i){super(),this._registry=e,this._languageId=t,this._factory=i,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){let e=await this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}}var I=i(63580);class T{constructor(e,t,i){this.offset=e,this.type=t,this.language=i,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}class M{constructor(e,t){this.tokens=e,this.endState=t,this._tokenizationResultBrand=void 0}}class R{constructor(e,t){this.tokens=e,this.endState=t,this._encodedTokenizationResultBrand=void 0}}(n=c||(c={}))[n.Increase=0]="Increase",n[n.Decrease=1]="Decrease",function(e){let t=new Map;t.set(0,L.l.symbolMethod),t.set(1,L.l.symbolFunction),t.set(2,L.l.symbolConstructor),t.set(3,L.l.symbolField),t.set(4,L.l.symbolVariable),t.set(5,L.l.symbolClass),t.set(6,L.l.symbolStruct),t.set(7,L.l.symbolInterface),t.set(8,L.l.symbolModule),t.set(9,L.l.symbolProperty),t.set(10,L.l.symbolEvent),t.set(11,L.l.symbolOperator),t.set(12,L.l.symbolUnit),t.set(13,L.l.symbolValue),t.set(15,L.l.symbolEnum),t.set(14,L.l.symbolConstant),t.set(15,L.l.symbolEnum),t.set(16,L.l.symbolEnumMember),t.set(17,L.l.symbolKeyword),t.set(27,L.l.symbolSnippet),t.set(18,L.l.symbolText),t.set(19,L.l.symbolColor),t.set(20,L.l.symbolFile),t.set(21,L.l.symbolReference),t.set(22,L.l.symbolCustomColor),t.set(23,L.l.symbolFolder),t.set(24,L.l.symbolTypeParameter),t.set(25,L.l.account),t.set(26,L.l.issues),e.toIcon=function(e){let i=t.get(e);return i||(console.info("No codicon found for CompletionItemKind "+e),i=L.l.symbolProperty),i};let i=new Map;i.set("method",0),i.set("function",1),i.set("constructor",2),i.set("field",3),i.set("variable",4),i.set("class",5),i.set("struct",6),i.set("interface",7),i.set("module",8),i.set("property",9),i.set("event",10),i.set("operator",11),i.set("unit",12),i.set("value",13),i.set("constant",14),i.set("enum",15),i.set("enum-member",16),i.set("enumMember",16),i.set("keyword",17),i.set("snippet",27),i.set("text",18),i.set("color",19),i.set("file",20),i.set("reference",21),i.set("customcolor",22),i.set("folder",23),i.set("type-parameter",24),i.set("typeParameter",24),i.set("account",25),i.set("issue",26),e.fromString=function(e,t){let n=i.get(e);return void 0!==n||t||(n=9),n}}(g||(g={})),(s=p||(p={}))[s.Automatic=0]="Automatic",s[s.Explicit=1]="Explicit";class A{constructor(e,t,i,n){this.range=e,this.text=t,this.completionKind=i,this.isSnippetText=n}equals(e){return D.e.lift(this.range).equalsRange(e.range)&&this.text===e.text&&this.completionKind===e.completionKind&&this.isSnippetText===e.isSnippetText}}function P(e){return e&&k.o.isUri(e.uri)&&D.e.isIRange(e.range)&&(D.e.isIRange(e.originSelectionRange)||D.e.isIRange(e.targetSelectionRange))}(o=m||(m={}))[o.Automatic=0]="Automatic",o[o.PasteAs=1]="PasteAs",(r=f||(f={}))[r.Invoke=1]="Invoke",r[r.TriggerCharacter=2]="TriggerCharacter",r[r.ContentChange=3]="ContentChange",(l=_||(_={}))[l.Text=0]="Text",l[l.Read=1]="Read",l[l.Write=2]="Write";let O={17:(0,I.NC)("Array","array"),16:(0,I.NC)("Boolean","boolean"),4:(0,I.NC)("Class","class"),13:(0,I.NC)("Constant","constant"),8:(0,I.NC)("Constructor","constructor"),9:(0,I.NC)("Enum","enumeration"),21:(0,I.NC)("EnumMember","enumeration member"),23:(0,I.NC)("Event","event"),7:(0,I.NC)("Field","field"),0:(0,I.NC)("File","file"),11:(0,I.NC)("Function","function"),10:(0,I.NC)("Interface","interface"),19:(0,I.NC)("Key","key"),5:(0,I.NC)("Method","method"),1:(0,I.NC)("Module","module"),2:(0,I.NC)("Namespace","namespace"),20:(0,I.NC)("Null","null"),15:(0,I.NC)("Number","number"),18:(0,I.NC)("Object","object"),24:(0,I.NC)("Operator","operator"),3:(0,I.NC)("Package","package"),6:(0,I.NC)("Property","property"),14:(0,I.NC)("String","string"),22:(0,I.NC)("Struct","struct"),25:(0,I.NC)("TypeParameter","type parameter"),12:(0,I.NC)("Variable","variable")};function F(e,t){return(0,I.NC)("symbolAriaLabel","{0} ({1})",e,O[t])}!function(e){let t=new Map;t.set(0,L.l.symbolFile),t.set(1,L.l.symbolModule),t.set(2,L.l.symbolNamespace),t.set(3,L.l.symbolPackage),t.set(4,L.l.symbolClass),t.set(5,L.l.symbolMethod),t.set(6,L.l.symbolProperty),t.set(7,L.l.symbolField),t.set(8,L.l.symbolConstructor),t.set(9,L.l.symbolEnum),t.set(10,L.l.symbolInterface),t.set(11,L.l.symbolFunction),t.set(12,L.l.symbolVariable),t.set(13,L.l.symbolConstant),t.set(14,L.l.symbolString),t.set(15,L.l.symbolNumber),t.set(16,L.l.symbolBoolean),t.set(17,L.l.symbolArray),t.set(18,L.l.symbolObject),t.set(19,L.l.symbolKey),t.set(20,L.l.symbolNull),t.set(21,L.l.symbolEnumMember),t.set(22,L.l.symbolStruct),t.set(23,L.l.symbolEvent),t.set(24,L.l.symbolOperator),t.set(25,L.l.symbolTypeParameter),e.toIcon=function(e){let i=t.get(e);return i||(console.info("No codicon found for SymbolKind "+e),i=L.l.symbolProperty),i}}(v||(v={}));class B{static fromValue(e){switch(e){case"comment":return B.Comment;case"imports":return B.Imports;case"region":return B.Region}return new B(e)}constructor(e){this.value=e}}B.Comment=new B("comment"),B.Imports=new B("imports"),B.Region=new B("region"),(a=b||(b={}))[a.AIGenerated=1]="AIGenerated",(d=C||(C={}))[d.Invoke=0]="Invoke",d[d.Automatic=1]="Automatic",(w||(w={})).is=function(e){return!!e&&"object"==typeof e&&"string"==typeof e.id&&"string"==typeof e.title},(h=y||(y={}))[h.Type=1]="Type",h[h.Parameter=2]="Parameter";class W{constructor(e){this.createSupport=e,this._tokenizationSupport=null}dispose(){this._tokenizationSupport&&this._tokenizationSupport.then(e=>{e&&e.dispose()})}get tokenizationSupport(){return this._tokenizationSupport||(this._tokenizationSupport=this.createSupport()),this._tokenizationSupport}}let H=new class{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new x.Q5,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._tokenizationSupports.set(e,t),this.handleChange([e]),(0,N.OF)(()=>{this._tokenizationSupports.get(e)===t&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var i;null===(i=this._factories.get(e))||void 0===i||i.dispose();let n=new E(this,e,t);return this._factories.set(e,n),(0,N.OF)(()=>{let t=this._factories.get(e);t&&t===n&&(this._factories.delete(e),t.dispose())})}async getOrCreate(e){let t=this.get(e);if(t)return t;let i=this._factories.get(e);return!i||i.isResolved?null:(await i.resolve(),this.get(e))}isResolved(e){let t=this.get(e);if(t)return!0;let i=this._factories.get(e);return!i||!!i.isResolved}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}};(u=S||(S={}))[u.Invoke=0]="Invoke",u[u.Automatic=1]="Automatic"},75383:function(e,t,i){"use strict";i.d(t,{$9:function(){return d},UF:function(){return a},n8:function(){return l},r7:function(){return r},tI:function(){return h}});var n=i(97295),s=i(49119),o=i(85838);function r(e,t,i,r=!0,l){if(e<4)return null;let a=l.getLanguageConfiguration(t.tokenization.getLanguageId()).indentRulesSupport;if(!a)return null;let d=new o.sW(t,a,l);if(i<=1)return{indentation:"",action:null};for(let e=i-1;e>0&&""===t.getLineContent(e);e--)if(1===e)return{indentation:"",action:null};let h=function(e,t,i){let n=e.tokenization.getLanguageIdAtPosition(t,0);if(t>1){let s;let o=-1;for(s=t-1;s>=1;s--){if(e.tokenization.getLanguageIdAtPosition(s,0)!==n)return o;let t=e.getLineContent(s);if(i.shouldIgnore(s)||/^\s+$/.test(t)||""===t){o=s;continue}return s}}return -1}(t,i,d);if(h<0)return null;if(h<1)return{indentation:"",action:null};if(d.shouldIncrease(h)||d.shouldIndentNextLine(h)){let e=t.getLineContent(h);return{indentation:n.V8(e),action:s.wU.Indent,line:h}}if(d.shouldDecrease(h)){let e=t.getLineContent(h);return{indentation:n.V8(e),action:null,line:h}}{if(1===h)return{indentation:n.V8(t.getLineContent(h)),action:null,line:h};let e=h-1,i=a.getIndentMetadata(t.getLineContent(e));if(!(3&i)&&4&i){let i=0;for(let t=e-1;t>0;t--)if(!d.shouldIndentNextLine(t)){i=t;break}return{indentation:n.V8(t.getLineContent(i+1)),action:null,line:i+1}}if(r)return{indentation:n.V8(t.getLineContent(h)),action:null,line:h};for(let e=h;e>0;e--){if(d.shouldIncrease(e))return{indentation:n.V8(t.getLineContent(e)),action:s.wU.Indent,line:e};if(d.shouldIndentNextLine(e)){let i=0;for(let t=e-1;t>0;t--)if(!d.shouldIndentNextLine(e)){i=t;break}return{indentation:n.V8(t.getLineContent(i+1)),action:null,line:i+1}}if(d.shouldDecrease(e))return{indentation:n.V8(t.getLineContent(e)),action:null,line:e}}return{indentation:n.V8(t.getLineContent(1)),action:null,line:1}}}function l(e,t,i,l,a,d){if(e<4)return null;let h=d.getLanguageConfiguration(i);if(!h)return null;let u=d.getLanguageConfiguration(i).indentRulesSupport;if(!u)return null;let c=new o.sW(t,u,d),g=r(e,t,l,void 0,d);if(g){let i=g.line;if(void 0!==i){let o=!0;for(let e=i;ee===d?m:t.tokenization.getLineTokens(e),getLanguageId:()=>t.getLanguageId(),getLanguageIdAtPosition:(e,i)=>t.getLanguageIdAtPosition(e,i)},getLineContent:e=>e===d?m.getLineContent():t.getLineContent(e)}),v=(0,o.Z1)(t,i.getStartPosition()),b=t.getLineContent(i.startLineNumber),C=n.V8(b),w=r(e,_,i.startLineNumber+1,void 0,a);if(!w){let e=v?C:f;return{beforeEnter:e,afterEnter:e}}let y=v?C:w.indentation;return w.action===s.wU.Indent&&(y=l.shiftIndent(y)),u.shouldDecrease(p.getLineContent())&&(y=l.unshiftIndent(y)),{beforeEnter:v?C:f,afterEnter:y}}function d(e,t,i,n,l,a){if(e<4)return null;let d=(0,o.Z1)(t,i.getStartPosition());if(d)return null;let h=t.getLanguageIdAtPosition(i.startLineNumber,i.startColumn),u=a.getLanguageConfiguration(h).indentRulesSupport;if(!u)return null;let c=new o.w$(t,a),g=c.getProcessedTokenContextAroundRange(i),p=g.beforeRangeProcessedTokens.getLineContent(),m=g.afterRangeProcessedTokens.getLineContent();if(!u.shouldDecrease(p+m)&&u.shouldDecrease(p+n+m)){let n=r(e,t,i.startLineNumber,!1,a);if(!n)return null;let o=n.indentation;return n.action!==s.wU.Indent&&(o=l.unshiftIndent(o)),o}return null}function h(e,t,i){let n=i.getLanguageConfiguration(e.getLanguageId()).indentRulesSupport;return!n||t<1||t>e.getLineCount()?null:n.getIndentMetadata(e.getLineContent(t))}},1615:function(e,t,i){"use strict";i.d(t,{A:function(){return r}});var n=i(49119),s=i(4256),o=i(85838);function r(e,t,i,r){t.tokenization.forceTokenization(i.startLineNumber);let l=t.getLanguageIdAtPosition(i.startLineNumber,i.startColumn),a=r.getLanguageConfiguration(l);if(!a)return null;let d=new o.w$(t,r),h=d.getProcessedTokenContextAroundRange(i),u=h.previousLineProcessedTokens.getLineContent(),c=h.beforeRangeProcessedTokens.getLineContent(),g=h.afterRangeProcessedTokens.getLineContent(),p=a.onEnter(e,u,c,g);if(!p)return null;let m=p.indentAction,f=p.appendText,_=p.removeText||0;f?m===n.wU.Indent&&(f=" "+f):f=m===n.wU.Indent||m===n.wU.IndentOutdent?" ":"";let v=(0,s.u0)(t,i.startLineNumber,i.startColumn);return _&&(v=v.substring(0,v.length-_)),{indentAction:m,appendText:f,removeText:_,indentation:v}}},72042:function(e,t,i){"use strict";i.d(t,{O:function(){return s}});var n=i(72065);let s=(0,n.yh)("languageService")},49119:function(e,t,i){"use strict";var n,s;i.d(t,{V6:function(){return o},c$:function(){return r},wU:function(){return n}}),(s=n||(n={}))[s.None=0]="None",s[s.Indent=1]="Indent",s[s.IndentOutdent=2]="IndentOutdent",s[s.Outdent=3]="Outdent";class o{constructor(e){if(this._neutralCharacter=null,this._neutralCharacterSearched=!1,this.open=e.open,this.close=e.close,this._inString=!0,this._inComment=!0,this._inRegEx=!0,Array.isArray(e.notIn))for(let t=0,i=e.notIn.length;tnew l.V6(e)):e.brackets?this._autoClosingPairs=e.brackets.map(e=>new l.V6({open:e[0],close:e[1]})):this._autoClosingPairs=[],e.__electricCharacterSupport&&e.__electricCharacterSupport.docComment){let t=e.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new l.V6({open:t.open,close:t.close||""}))}this._autoCloseBeforeForQuotes="string"==typeof e.autoCloseBefore?e.autoCloseBefore:a.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES,this._autoCloseBeforeForBrackets="string"==typeof e.autoCloseBefore?e.autoCloseBefore:a.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS,this._surroundingPairs=e.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(e){return e?this._autoCloseBeforeForQuotes:this._autoCloseBeforeForBrackets}getSurroundingPairs(){return this._surroundingPairs}}a.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES=";:.,=}])> \n ",a.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS="'\"`;:.,=}])> \n ";var d=i(9488),h=i(19111),u=i(34302);class c{constructor(e){this._richEditBrackets=e}getElectricCharacters(){let e=[];if(this._richEditBrackets)for(let t of this._richEditBrackets.brackets)for(let i of t.close){let t=i.charAt(i.length-1);e.push(t)}return(0,d.EB)(e)}onElectricCharacter(e,t,i){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;let n=t.findTokenIndexAtOffset(i-1);if((0,h.Bu)(t.getStandardTokenType(n)))return null;let s=this._richEditBrackets.reversedRegex,o=t.getLineContent().substring(0,i-1)+e,r=u.Vr.findPrevBracketInRange(s,1,o,0,o.length);if(!r)return null;let l=o.substring(r.startColumn-1,r.endColumn-1).toLowerCase(),a=this._richEditBrackets.textIsOpenBracket[l];if(a)return null;let d=t.getActualLineContentBefore(r.startColumn-1);return/^\s*$/.test(d)?{matchOpenBracket:l}:null}}function g(e){return e.global&&(e.lastIndex=0),!0}class p{constructor(e){this._indentationRules=e}shouldIncrease(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&g(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(e))}shouldDecrease(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&g(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(e))}shouldIndentNextLine(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&g(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(e))}shouldIgnore(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&g(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(e))}getIndentMetadata(e){let t=0;return this.shouldIncrease(e)&&(t+=1),this.shouldDecrease(e)&&(t+=2),this.shouldIndentNextLine(e)&&(t+=4),this.shouldIgnore(e)&&(t+=8),t}}var m=i(17301);class f{constructor(e){(e=e||{}).brackets=e.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],e.brackets.forEach(e=>{let t=f._createOpenBracketRegExp(e[0]),i=f._createCloseBracketRegExp(e[1]);t&&i&&this._brackets.push({open:e[0],openRegExp:t,close:e[1],closeRegExp:i})}),this._regExpRules=e.onEnterRules||[]}onEnter(e,t,i,n){if(e>=3)for(let e=0,s=this._regExpRules.length;e!e.reg||(e.reg.lastIndex=0,e.reg.test(e.text)));if(o)return s.action}if(e>=2&&i.length>0&&n.length>0)for(let e=0,t=this._brackets.length;e=2&&i.length>0)for(let e=0,t=this._brackets.length;e{let t=new Set;return{info:new D(this,e,t),closing:t}}),s=new y.bQ(e=>{let t=new Set,i=new Set;return{info:new x(this,e,t,i),opening:t,openingColorized:i}});for(let[e,t]of i){let i=n.get(e),o=s.get(t);i.closing.add(o.info),o.opening.add(i.info)}let o=t.colorizedBracketPairs?L(t.colorizedBracketPairs):i.filter(e=>!("<"===e[0]&&">"===e[1]));for(let[e,t]of o){let i=n.get(e),o=s.get(t);i.closing.add(o.info),o.openingColorized.add(i.info),o.opening.add(i.info)}this._openingBrackets=new Map([...n.cachedValues].map(([e,t])=>[e,t.info])),this._closingBrackets=new Map([...s.cachedValues].map(([e,t])=>[e,t.info]))}get openingBrackets(){return[...this._openingBrackets.values()]}get closingBrackets(){return[...this._closingBrackets.values()]}getOpeningBracketInfo(e){return this._openingBrackets.get(e)}getClosingBracketInfo(e){return this._closingBrackets.get(e)}getBracketInfo(e){return this.getOpeningBracketInfo(e)||this.getClosingBracketInfo(e)}getBracketRegExp(e){let t=Array.from([...this._openingBrackets.keys(),...this._closingBrackets.keys()]);return(0,u.vd)(t,e)}}function L(e){return e.filter(([e,t])=>""!==e&&""!==t)}class k{constructor(e,t){this.config=e,this.bracketText=t}get languageId(){return this.config.languageId}}class D extends k{constructor(e,t,i){super(e,t),this.openedBrackets=i,this.isOpeningBracket=!0}}class x extends k{constructor(e,t,i,n){super(e,t),this.openingBrackets=i,this.openingColorizedBrackets=n,this.isOpeningBracket=!1}closes(e){return e.config===this.config&&this.openingBrackets.has(e)}closesColorized(e){return e.config===this.config&&this.openingColorizedBrackets.has(e)}getOpeningBrackets(){return[...this.openingBrackets]}}var N=function(e,t){return function(i,n){t(i,n,e)}};class E{constructor(e){this.languageId=e}affects(e){return!this.languageId||this.languageId===e}}let I=(0,_.yh)("languageConfigurationService"),T=class extends s.JT{constructor(e,t){super(),this.configurationService=e,this.languageService=t,this._registry=this._register(new W),this.onDidChangeEmitter=this._register(new n.Q5),this.onDidChange=this.onDidChangeEmitter.event,this.configurations=new Map;let i=new Set(Object.values(M));this._register(this.configurationService.onDidChangeConfiguration(e=>{let t=e.change.keys.some(e=>i.has(e)),n=e.change.overrides.filter(([e,t])=>t.some(e=>i.has(e))).map(([e])=>e);if(t)this.configurations.clear(),this.onDidChangeEmitter.fire(new E(void 0));else for(let e of n)this.languageService.isRegisteredLanguageId(e)&&(this.configurations.delete(e),this.onDidChangeEmitter.fire(new E(e)))})),this._register(this._registry.onDidChange(e=>{this.configurations.delete(e.languageId),this.onDidChangeEmitter.fire(new E(e.languageId))}))}register(e,t,i){return this._registry.register(e,t,i)}getLanguageConfiguration(e){let t=this.configurations.get(e);return t||(t=function(e,t,i,n){let s=t.getLanguageConfiguration(e);if(!s){if(!n.isRegisteredLanguageId(e))return new H(e,{});s=new H(e,{})}let o=function(e,t){let i=t.getValue(M.brackets,{overrideIdentifier:e}),n=t.getValue(M.colorizedBracketPairs,{overrideIdentifier:e});return{brackets:R(i),colorizedBracketPairs:R(n)}}(s.languageId,i),r=O([s.underlyingConfig,o]),l=new H(s.languageId,r);return l}(e,this._registry,this.configurationService,this.languageService),this.configurations.set(e,t)),t}};T=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([N(0,v.Ui),N(1,b.O)],T);let M={brackets:"editor.language.brackets",colorizedBracketPairs:"editor.language.colorizedBracketPairs"};function R(e){if(Array.isArray(e))return e.map(e=>{if(Array.isArray(e)&&2===e.length)return[e[0],e[1]]}).filter(e=>!!e)}function A(e,t,i){let n=e.getLineContent(t),s=o.V8(n);return s.length>i-1&&(s=s.substring(0,i-1)),s}class P{constructor(e){this.languageId=e,this._resolved=null,this._entries=[],this._order=0,this._resolved=null}register(e,t){let i=new F(e,t,++this._order);return this._entries.push(i),this._resolved=null,(0,s.OF)(()=>{for(let e=0;ee.configuration)))}}function O(e){let t={comments:void 0,brackets:void 0,wordPattern:void 0,indentationRules:void 0,onEnterRules:void 0,autoClosingPairs:void 0,surroundingPairs:void 0,autoCloseBefore:void 0,folding:void 0,colorizedBracketPairs:void 0,__electricCharacterSupport:void 0};for(let i of e)t={comments:i.comments||t.comments,brackets:i.brackets||t.brackets,wordPattern:i.wordPattern||t.wordPattern,indentationRules:i.indentationRules||t.indentationRules,onEnterRules:i.onEnterRules||t.onEnterRules,autoClosingPairs:i.autoClosingPairs||t.autoClosingPairs,surroundingPairs:i.surroundingPairs||t.surroundingPairs,autoCloseBefore:i.autoCloseBefore||t.autoCloseBefore,folding:i.folding||t.folding,colorizedBracketPairs:i.colorizedBracketPairs||t.colorizedBracketPairs,__electricCharacterSupport:i.__electricCharacterSupport||t.__electricCharacterSupport};return t}class F{constructor(e,t,i){this.configuration=e,this.priority=t,this.order=i}static cmp(e,t){return e.priority===t.priority?e.order-t.order:e.priority-t.priority}}class B{constructor(e){this.languageId=e}}class W extends s.JT{constructor(){super(),this._entries=new Map,this._onDidChange=this._register(new n.Q5),this.onDidChange=this._onDidChange.event,this._register(this.register(w.bd,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],colorizedBracketPairs:[],folding:{offSide:!0}},0))}register(e,t,i=0){let n=this._entries.get(e);n||(n=new P(e),this._entries.set(e,n));let o=n.register(t,i);return this._onDidChange.fire(new B(e)),(0,s.OF)(()=>{o.dispose(),this._onDidChange.fire(new B(e))})}getLanguageConfiguration(e){let t=this._entries.get(e);return(null==t?void 0:t.getResolvedConfiguration())||null}}class H{constructor(e,t){this.languageId=e,this.underlyingConfig=t,this._brackets=null,this._electricCharacter=null,this._onEnterSupport=this.underlyingConfig.brackets||this.underlyingConfig.indentationRules||this.underlyingConfig.onEnterRules?new f(this.underlyingConfig):null,this.comments=H._handleComments(this.underlyingConfig),this.characterPair=new a(this.underlyingConfig),this.wordDefinition=this.underlyingConfig.wordPattern||r.Af,this.indentationRules=this.underlyingConfig.indentationRules,this.underlyingConfig.indentationRules?this.indentRulesSupport=new p(this.underlyingConfig.indentationRules):this.indentRulesSupport=null,this.foldingRules=this.underlyingConfig.folding||{},this.bracketsNew=new S(e,this.underlyingConfig)}getWordDefinition(){return(0,r.eq)(this.wordDefinition)}get brackets(){return!this._brackets&&this.underlyingConfig.brackets&&(this._brackets=new u.EA(this.languageId,this.underlyingConfig.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new c(this.brackets)),this._electricCharacter}onEnter(e,t,i,n){return this._onEnterSupport?this._onEnterSupport.onEnter(e,t,i,n):null}getAutoClosingPairs(){return new l.c$(this.characterPair.getAutoClosingPairs())}getAutoCloseBeforeSet(e){return this.characterPair.getAutoCloseBeforeSet(e)}getSurroundingPairs(){return this.characterPair.getSurroundingPairs()}static _handleComments(e){let t=e.comments;if(!t)return null;let i={};if(t.lineComment&&(i.lineCommentToken=t.lineComment),t.blockComment){let[e,n]=t.blockComment;i.blockCommentStartToken=e,i.blockCommentEndToken=n}return i}}(0,C.z)(I,T,1)},68801:function(e,t,i){"use strict";i.d(t,{bd:function(){return d},dQ:function(){return a}});var n=i(63580),s=i(4669),o=i(89872),r=i(81170),l=i(23193);let a=new class{constructor(){this._onDidChangeLanguages=new s.Q5,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[]}registerLanguage(e){return this._languages.push(e),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let t=0,i=this._languages.length;t>>0,new n.DI(i,null===t?s:t)}},19111:function(e,t,i){"use strict";function n(e,t){let i=e.getCount(),n=e.findTokenIndexAtOffset(t),o=e.getLanguageId(n),r=n;for(;r+10&&e.getLanguageId(l-1)===o;)l--;return new s(e,o,l,r+1,e.getStartOffset(l),e.getEndOffset(r))}i.d(t,{Bu:function(){return o},wH:function(){return n}});class s{constructor(e,t,i,n,s,o){this._scopedLineTokensBrand=void 0,this._actual=e,this.languageId=t,this._firstTokenIndex=i,this._lastTokenIndex=n,this.firstCharOffset=s,this._lastCharOffset=o,this.languageIdCodec=e.languageIdCodec}getLineContent(){let e=this._actual.getLineContent();return e.substring(this.firstCharOffset,this._lastCharOffset)}getLineLength(){return this._lastCharOffset-this.firstCharOffset}getActualLineContentBefore(e){let t=this._actual.getLineContent();return t.substring(0,this.firstCharOffset+e)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(e){return this._actual.findTokenIndexAtOffset(e+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(e){return this._actual.getStandardTokenType(e+this._firstTokenIndex)}toIViewLineTokens(){return this._actual.sliceAndInflate(this.firstCharOffset,this._lastCharOffset,0)}}function o(e){return(3&e)!=0}},85838:function(e,t,i){"use strict";i.d(t,{Z1:function(){return d},sW:function(){return r},w$:function(){return l}});var n=i(97295),s=i(19111),o=i(77378);class r{constructor(e,t,i){this._indentRulesSupport=t,this._indentationLineProcessor=new a(e,i)}shouldIncrease(e,t){let i=this._indentationLineProcessor.getProcessedLine(e,t);return this._indentRulesSupport.shouldIncrease(i)}shouldDecrease(e,t){let i=this._indentationLineProcessor.getProcessedLine(e,t);return this._indentRulesSupport.shouldDecrease(i)}shouldIgnore(e,t){let i=this._indentationLineProcessor.getProcessedLine(e,t);return this._indentRulesSupport.shouldIgnore(i)}shouldIndentNextLine(e,t){let i=this._indentationLineProcessor.getProcessedLine(e,t);return this._indentRulesSupport.shouldIndentNextLine(i)}}class l{constructor(e,t){this.model=e,this.indentationLineProcessor=new a(e,t)}getProcessedTokenContextAroundRange(e){let t=this._getProcessedTokensBeforeRange(e),i=this._getProcessedTokensAfterRange(e),n=this._getProcessedPreviousLineTokens(e);return{beforeRangeProcessedTokens:t,afterRangeProcessedTokens:i,previousLineProcessedTokens:n}}_getProcessedTokensBeforeRange(e){let t;this.model.tokenization.forceTokenization(e.startLineNumber);let i=this.model.tokenization.getLineTokens(e.startLineNumber),n=(0,s.wH)(i,e.startColumn-1);if(d(this.model,e.getStartPosition())){let s=e.startColumn-1-n.firstCharOffset,o=n.firstCharOffset,r=o+s;t=i.sliceAndInflate(o,r,0)}else{let n=e.startColumn-1;t=i.sliceAndInflate(0,n,0)}let o=this.indentationLineProcessor.getProcessedTokens(t);return o}_getProcessedTokensAfterRange(e){let t=e.isEmpty()?e.getStartPosition():e.getEndPosition();this.model.tokenization.forceTokenization(t.lineNumber);let i=this.model.tokenization.getLineTokens(t.lineNumber),n=(0,s.wH)(i,t.column-1),o=t.column-1-n.firstCharOffset,r=n.firstCharOffset+o,l=n.firstCharOffset+n.getLineLength(),a=i.sliceAndInflate(r,l,0),d=this.indentationLineProcessor.getProcessedTokens(a);return d}_getProcessedPreviousLineTokens(e){this.model.tokenization.forceTokenization(e.startLineNumber);let t=this.model.tokenization.getLineTokens(e.startLineNumber),i=(0,s.wH)(t,e.startColumn-1),n=o.A.createEmpty("",i.languageIdCodec),r=e.startLineNumber-1,l=0===r;if(l)return n;let a=0===i.firstCharOffset;if(!a)return n;let d=(e=>{this.model.tokenization.forceTokenization(e);let t=this.model.tokenization.getLineTokens(e),i=this.model.getLineMaxColumn(e)-1,n=(0,s.wH)(t,i);return n})(r),h=i.languageId===d.languageId;if(!h)return n;let u=d.toIViewLineTokens(),c=this.indentationLineProcessor.getProcessedTokens(u);return c}}class a{constructor(e,t){this.model=e,this.languageConfigurationService=t}getProcessedLine(e,t){var i,s;null===(s=(i=this.model.tokenization).forceTokenization)||void 0===s||s.call(i,e);let o=this.model.tokenization.getLineTokens(e),r=this.getProcessedTokens(o).getLineContent();return void 0!==t&&(r=((e,t)=>{let i=n.V8(e),s=t+e.substring(i.length);return s})(r,t)),r}getProcessedTokens(e){let t=e=>2===e||3===e||1===e,i=e.getLanguageId(0),n=this.languageConfigurationService.getLanguageConfiguration(i).bracketsNew,s=n.getBracketRegExp({global:!0}),r=[];e.forEach(i=>{let n=e.getStandardTokenType(i),o=e.getTokenText(i);t(n)&&(o=o.replace(s,""));let l=e.getMetadata(i);r.push({text:o,metadata:l})});let l=o.A.createFromTextAndMetadata(r,e.languageIdCodec);return l}}function d(e,t){e.tokenization.forceTokenization(t.lineNumber);let i=e.tokenization.getLineTokens(t.lineNumber),n=(0,s.wH)(i,t.column-1),o=0===n.firstCharOffset,r=i.getLanguageId(0)===n.languageId;return!o&&!r}},34302:function(e,t,i){"use strict";let n,s;i.d(t,{EA:function(){return d},Vr:function(){return f},vd:function(){return p}});var o=i(97295),r=i(50072),l=i(24314);class a{constructor(e,t,i,n,s,o){this._richEditBracketBrand=void 0,this.languageId=e,this.index=t,this.open=i,this.close=n,this.forwardRegex=s,this.reversedRegex=o,this._openSet=a._toSet(this.open),this._closeSet=a._toSet(this.close)}isOpen(e){return this._openSet.has(e)}isClose(e){return this._closeSet.has(e)}static _toSet(e){let t=new Set;for(let i of e)t.add(i);return t}}class d{constructor(e,t){this._richEditBracketsBrand=void 0;let i=function(e){let t=e.length;e=e.map(e=>[e[0].toLowerCase(),e[1].toLowerCase()]);let i=[];for(let e=0;e{let[i,n]=e,[s,o]=t;return i===s||i===o||n===s||n===o},s=(e,n)=>{let s=Math.min(e,n),o=Math.max(e,n);for(let e=0;e0&&o.push({open:s,close:r})}return o}(t);for(let t of(this.brackets=i.map((t,n)=>new a(e,n,t.open,t.close,function(e,t,i,n){let s=[];s=(s=s.concat(e)).concat(t);for(let e=0,t=s.length;e=0&&n.push(t);for(let t of o.close)t.indexOf(e)>=0&&n.push(t)}}function u(e,t){return e.length-t.length}function c(e){if(e.length<=1)return e;let t=[],i=new Set;for(let n of e)i.has(n)||(t.push(n),i.add(n));return t}function g(e){let t=/^[\w ]+$/.test(e);return e=o.ec(e),t?`\\b${e}\\b`:e}function p(e,t){let i=`(${e.map(g).join(")|(")})`;return o.GF(i,!0,t)}let m=(n=null,s=null,function(e){return n!==e&&(s=function(e){let t=new Uint16Array(e.length),i=0;for(let n=e.length-1;n>=0;n--)t[i++]=e.charCodeAt(n);return r.oe().decode(t)}(n=e)),s});class f{static _findPrevBracketInText(e,t,i,n){let s=i.match(e);if(!s)return null;let o=i.length-(s.index||0),r=s[0].length,a=n+o;return new l.e(t,a-r+1,t,a+1)}static findPrevBracketInRange(e,t,i,n,s){let o=m(i),r=o.substring(i.length-s,i.length-n);return this._findPrevBracketInText(e,t,r,n)}static findNextBracketInText(e,t,i,n){let s=i.match(e);if(!s)return null;let o=s.index||0,r=s[0].length;if(0===r)return null;let a=n+o;return new l.e(t,a+1,t,a+1+r)}static findNextBracketInRange(e,t,i,n,s){let o=i.substring(n,s);return this.findNextBracketInText(e,t,o,n)}}},82963:function(e,t,i){"use strict";i.d(t,{C2:function(){return a},Fq:function(){return d}});var n=i(97295),s=i(77378),o=i(43155),r=i(276);let l={getInitialState:()=>r.TJ,tokenizeEncoded:(e,t,i)=>(0,r.Dy)(0,i)};async function a(e,t,i){if(!i)return h(t,e.languageIdCodec,l);let n=await o.RW.getOrCreate(i);return h(t,e.languageIdCodec,n||l)}function d(e,t,i,n,s,o,r){let l="
    ",a=n,d=0,h=!0;for(let u=0,c=t.getCount();u0;)r&&h?(g+=" ",h=!1):(g+=" ",h=!0),e--;break}case 60:g+="<",h=!1;break;case 62:g+=">",h=!1;break;case 38:g+="&",h=!1;break;case 0:g+="�",h=!1;break;case 65279:case 8232:case 8233:case 133:g+="�",h=!1;break;case 13:g+="​",h=!1;break;case 32:r&&h?(g+=" ",h=!1):(g+=" ",h=!0);break;default:g+=String.fromCharCode(t),h=!1}}if(l+=`${g}`,c>s||a>=s)break}return l+"
    "}function h(e,t,i){let o='
    ',r=n.uq(e),l=i.getInitialState();for(let e=0,a=r.length;e0&&(o+="
    ");let d=i.tokenizeEncoded(a,!0,l);s.A.convertToEndOffset(d.tokens,a.length);let h=new s.A(d.tokens,a,t),u=h.inflate(),c=0;for(let e=0,t=u.getCount();e${n.YU(a.substring(c,i))}`,c=i}l=d.endState}return o+"
    "}},84973:function(e,t,i){"use strict";i.d(t,{Hf:function(){return c},Qi:function(){return g},RM:function(){return a},Tx:function(){return p},U:function(){return l},dJ:function(){return h},je:function(){return m},pt:function(){return f},sh:function(){return r},tk:function(){return u}});var n,s,o,r,l,a,d=i(36248);(n=r||(r={}))[n.Left=1]="Left",n[n.Center=2]="Center",n[n.Right=4]="Right",n[n.Full=7]="Full",(s=l||(l={}))[s.Left=1]="Left",s[s.Center=2]="Center",s[s.Right=3]="Right",(o=a||(a={}))[o.Both=0]="Both",o[o.Right=1]="Right",o[o.Left=2]="Left",o[o.None=3]="None";class h{get originalIndentSize(){return this._indentSizeIsTabSize?"tabSize":this.indentSize}constructor(e){this._textModelResolvedOptionsBrand=void 0,this.tabSize=Math.max(1,0|e.tabSize),"tabSize"===e.indentSize?(this.indentSize=this.tabSize,this._indentSizeIsTabSize=!0):(this.indentSize=Math.max(1,0|e.indentSize),this._indentSizeIsTabSize=!1),this.insertSpaces=!!e.insertSpaces,this.defaultEOL=0|e.defaultEOL,this.trimAutoWhitespace=!!e.trimAutoWhitespace,this.bracketPairColorizationOptions=e.bracketPairColorizationOptions}equals(e){return this.tabSize===e.tabSize&&this._indentSizeIsTabSize===e._indentSizeIsTabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace&&(0,d.fS)(this.bracketPairColorizationOptions,e.bracketPairColorizationOptions)}createChangeEvent(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}}}class u{constructor(e,t){this._findMatchBrand=void 0,this.range=e,this.matches=t}}function c(e){return e&&"function"==typeof e.read}class g{constructor(e,t,i,n,s,o){this.identifier=e,this.range=t,this.text=i,this.forceMoveMarkers=n,this.isAutoWhitespaceEdit=s,this._isTracked=o}}class p{constructor(e,t,i){this.regex=e,this.wordSeparators=t,this.simpleSearch=i}}class m{constructor(e,t,i){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=i}}function f(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}},66381:function(e,t,i){"use strict";i.d(t,{BH:function(){return f},Dm:function(){return v},Kd:function(){return a},Y0:function(){return d},n2:function(){return _}});var n=i(17301),s=i(7988),o=i(45035),r=i(61761);class l{get length(){return this._length}constructor(e){this._length=e}}class a extends l{static create(e,t,i){let n=e.length;return t&&(n=(0,o.Ii)(n,t.length)),i&&(n=(0,o.Ii)(n,i.length)),new a(n,e,t,i,t?t.missingOpeningBracketIds:r.tS.getEmpty())}get kind(){return 2}get listHeight(){return 0}get childrenLength(){return 3}getChild(e){switch(e){case 0:return this.openingBracket;case 1:return this.child;case 2:return this.closingBracket}throw Error("Invalid child index")}get children(){let e=[];return e.push(this.openingBracket),this.child&&e.push(this.child),this.closingBracket&&e.push(this.closingBracket),e}constructor(e,t,i,n,s){super(e),this.openingBracket=t,this.child=i,this.closingBracket=n,this.missingOpeningBracketIds=s}canBeReused(e){return!(null===this.closingBracket||e.intersects(this.missingOpeningBracketIds))}deepClone(){return new a(this.length,this.openingBracket.deepClone(),this.child&&this.child.deepClone(),this.closingBracket&&this.closingBracket.deepClone(),this.missingOpeningBracketIds)}computeMinIndentation(e,t){return this.child?this.child.computeMinIndentation((0,o.Ii)(e,this.openingBracket.length),t):Number.MAX_SAFE_INTEGER}}class d extends l{static create23(e,t,i,n=!1){let s=e.length,r=e.missingOpeningBracketIds;if(e.listHeight!==t.listHeight)throw Error("Invalid list heights");if(s=(0,o.Ii)(s,t.length),r=r.merge(t.missingOpeningBracketIds),i){if(e.listHeight!==i.listHeight)throw Error("Invalid list heights");s=(0,o.Ii)(s,i.length),r=r.merge(i.missingOpeningBracketIds)}return n?new u(s,e.listHeight+1,e,t,i,r):new h(s,e.listHeight+1,e,t,i,r)}static getEmpty(){return new g(o.xl,0,[],r.tS.getEmpty())}get kind(){return 4}get missingOpeningBracketIds(){return this._missingOpeningBracketIds}constructor(e,t,i){super(e),this.listHeight=t,this._missingOpeningBracketIds=i,this.cachedMinIndentation=-1}throwIfImmutable(){}makeLastElementMutable(){this.throwIfImmutable();let e=this.childrenLength;if(0===e)return;let t=this.getChild(e-1),i=4===t.kind?t.toMutable():t;return t!==i&&this.setChild(e-1,i),i}makeFirstElementMutable(){this.throwIfImmutable();let e=this.childrenLength;if(0===e)return;let t=this.getChild(0),i=4===t.kind?t.toMutable():t;return t!==i&&this.setChild(0,i),i}canBeReused(e){if(e.intersects(this.missingOpeningBracketIds)||0===this.childrenLength)return!1;let t=this;for(;4===t.kind;){let e=t.childrenLength;if(0===e)throw new n.he;t=t.getChild(e-1)}return t.canBeReused(e)}handleChildrenChanged(){this.throwIfImmutable();let e=this.childrenLength,t=this.getChild(0).length,i=this.getChild(0).missingOpeningBracketIds;for(let n=1;n{let t=n.e.lift(e.range);return new o((0,s.PZ)(t.getStartPosition()),(0,s.PZ)(t.getEndPosition()),(0,s.oR)(e.text))}).reverse();return t}constructor(e,t,i){this.startOffset=e,this.endOffset=t,this.newLength=i}toString(){return`[${(0,s.Hw)(this.startOffset)}...${(0,s.Hw)(this.endOffset)}) -> ${(0,s.Hw)(this.newLength)}`}}class r{constructor(e){this.nextEditIdx=0,this.deltaOldToNewLineCount=0,this.deltaOldToNewColumnCount=0,this.deltaLineIdxInOld=-1,this.edits=e.map(e=>l.from(e))}getOffsetBeforeChange(e){return this.adjustNextEdit(e),this.translateCurToOld(e)}getDistanceToNextChange(e){this.adjustNextEdit(e);let t=this.edits[this.nextEditIdx],i=t?this.translateOldToCur(t.offsetObj):null;return null===i?null:(0,s.BE)(e,i)}translateOldToCur(e){return e.lineCount===this.deltaLineIdxInOld?(0,s.Hg)(e.lineCount+this.deltaOldToNewLineCount,e.columnCount+this.deltaOldToNewColumnCount):(0,s.Hg)(e.lineCount+this.deltaOldToNewLineCount,e.columnCount)}translateCurToOld(e){let t=(0,s.Hw)(e);return t.lineCount-this.deltaOldToNewLineCount===this.deltaLineIdxInOld?(0,s.Hg)(t.lineCount-this.deltaOldToNewLineCount,t.columnCount-this.deltaOldToNewColumnCount):(0,s.Hg)(t.lineCount-this.deltaOldToNewLineCount,t.columnCount)}adjustNextEdit(e){for(;this.nextEditIdx{let t;return t=(0,n.ec)(e),/^[\w ]+/.test(e)&&(t=`\\b${t}`),/[\w ]+$/.test(e)&&(t=`${t}\\b`),t}).join("|")}}get regExpGlobal(){if(!this.hasRegExp){let e=this.getRegExpStr();this._regExpGlobal=e?RegExp(e,"gi"):null,this.hasRegExp=!0}return this._regExpGlobal}getToken(e){return this.map.get(e.toLowerCase())}findClosingTokenText(e){for(let[t,i]of this.map)if(2===i.kind&&i.bracketIds.intersects(e))return t}get isEmpty(){return 0===this.map.size}}class d{constructor(e,t){this.denseKeyProvider=e,this.getLanguageConfiguration=t,this.languageIdToBracketTokens=new Map}didLanguageChange(e){return this.languageIdToBracketTokens.has(e)}getSingleLanguageBracketTokens(e){let t=this.languageIdToBracketTokens.get(e);return t||(t=a.createFromLanguage(this.getLanguageConfiguration(e),this.denseKeyProvider),this.languageIdToBracketTokens.set(e,t)),t}}},41574:function(e,t,i){"use strict";i.d(t,{o:function(){return r}});var n=i(9488),s=i(2442),o=i(45035);function r(e,t){if(0===e.length)return t;if(0===t.length)return e;let i=new n.H9(a(e)),r=a(t);r.push({modified:!1,lengthBefore:void 0,lengthAfter:void 0});let d=i.dequeue(),h=[];function u(e,t,i){if(h.length>0&&(0,o.rM)(h[h.length-1].endOffset,e)){let e=h[h.length-1];h[h.length-1]=new s.Q(e.startOffset,t,(0,o.Ii)(e.newLength,i))}else h.push({startOffset:e,endOffset:t,newLength:i})}let c=o.xl;for(let e of r){let t=function(e){if(void 0===e){let e=i.takeWhile(e=>!0)||[];return d&&e.unshift(d),e}let t=[];for(;d&&!(0,o.xd)(e);){let[n,s]=d.splitAt(e);t.push(n),e=(0,o.BE)(n.lengthAfter,e),d=null!=s?s:i.dequeue()}return(0,o.xd)(e)||t.push(new l(!1,e,e)),t}(e.lengthBefore);if(e.modified){let i=(0,o.tQ)(t,e=>e.lengthBefore),n=(0,o.Ii)(c,i);u(c,n,e.lengthAfter),c=n}else for(let e of t){let t=c;c=(0,o.Ii)(c,e.lengthBefore),e.modified&&u(t,c,e.lengthAfter)}}return h}class l{constructor(e,t,i){this.modified=e,this.lengthBefore=t,this.lengthAfter=i}splitAt(e){let t=(0,o.BE)(e,this.lengthAfter);return(0,o.rM)(t,o.xl)?[this,void 0]:this.modified?[new l(this.modified,this.lengthBefore,e),new l(this.modified,o.xl,t)]:[new l(this.modified,e,e),new l(this.modified,t,t)]}toString(){return`${this.modified?"M":"U"}:${(0,o.Hw)(this.lengthBefore)} -> ${(0,o.Hw)(this.lengthAfter)}`}}function a(e){let t=[],i=o.xl;for(let n of e){let e=(0,o.BE)(i,n.startOffset);(0,o.xd)(e)||t.push(new l(!1,e,e));let s=(0,o.BE)(n.startOffset,n.endOffset);t.push(new l(!0,s,n.newLength)),i=n.endOffset}return t}},45035:function(e,t,i){"use strict";i.d(t,{BE:function(){return f},By:function(){return v},F_:function(){return c},Hg:function(){return d},Hw:function(){return h},Ii:function(){return g},PZ:function(){return C},Qw:function(){return w},VR:function(){return _},W9:function(){return u},Zq:function(){return b},av:function(){return r},oR:function(){return y},rM:function(){return m},tQ:function(){return p},xd:function(){return a},xl:function(){return l}});var n=i(97295),s=i(24314),o=i(59722);function r(e,t,i,n){return e!==i?d(i-e,n):d(0,n-t)}let l=0;function a(e){return 0===e}function d(e,t){return 67108864*e+t}function h(e){let t=Math.floor(e/67108864),i=e-67108864*t;return new o.A(t,i)}function u(e){return Math.floor(e/67108864)}function c(e){return e}function g(e,t){let i=e+t;return t>=67108864&&(i-=e%67108864),i}function p(e,t){return e.reduce((e,i)=>g(e,t(i)),l)}function m(e,t){return e===t}function f(e,t){if(t-e<=0)return l;let i=Math.floor(e/67108864),n=Math.floor(t/67108864),s=t-67108864*n;if(i!==n)return d(n-i,s);{let t=e-67108864*i;return d(0,s-t)}}function _(e,t){return e=t}function C(e){return d(e.lineNumber-1,e.column-1)}function w(e,t){let i=Math.floor(e/67108864),n=e-67108864*i,o=Math.floor(t/67108864),r=t-67108864*o;return new s.e(i+1,n+1,o+1,r+1)}function y(e){let t=(0,n.uq)(e);return d(t.length-1,t[t.length-1].length)}},64837:function(e,t,i){"use strict";i.d(t,{w:function(){return g}});var n=i(66381),s=i(2442),o=i(61761),r=i(45035);function l(e,t=!1){if(0===e.length)return null;if(1===e.length)return e[0];let i=e.length;for(;i>3;){let s=i>>1;for(let o=0;o=3?e[2]:null,t)}function a(e,t){return Math.abs(e.listHeight-t.listHeight)}function d(e,t){return e.listHeight===t.listHeight?n.Y0.create23(e,t,null,!1):e.listHeight>t.listHeight?function(e,t){let i;let s=e=e.toMutable(),o=[];for(;;){if(t.listHeight===s.listHeight){i=t;break}if(4!==s.kind)throw Error("unexpected");o.push(s),s=s.makeLastElementMutable()}for(let e=o.length-1;e>=0;e--){let t=o[e];i?t.childrenLength>=3?i=n.Y0.create23(t.unappendChild(),i,null,!1):(t.appendChildOfSameHeight(i),i=void 0):t.handleChildrenChanged()}return i?n.Y0.create23(e,i,null,!1):e}(e,t):function(e,t){let i=e=e.toMutable(),s=[];for(;t.listHeight!==i.listHeight;){if(4!==i.kind)throw Error("unexpected");s.push(i),i=i.makeFirstElementMutable()}let o=t;for(let e=s.length-1;e>=0;e--){let t=s[e];o?t.childrenLength>=3?o=n.Y0.create23(o,t.unprependChild(),null,!1):(t.prependChildOfSameHeight(o),o=void 0):t.handleChildrenChanged()}return o?n.Y0.create23(o,e,null,!1):e}(t,e)}class h{constructor(e){this.lastOffset=r.xl,this.nextNodes=[e],this.offsets=[r.xl],this.idxs=[]}readLongestNodeAt(e,t){if((0,r.VR)(e,this.lastOffset))throw Error("Invalid offset");for(this.lastOffset=e;;){let i=c(this.nextNodes);if(!i)return;let n=c(this.offsets);if((0,r.VR)(e,n))return;if((0,r.VR)(n,e)){if((0,r.Ii)(n,i.length)<=e)this.nextNodeAfterCurrent();else{let e=u(i);-1!==e?(this.nextNodes.push(i.getChild(e)),this.offsets.push(n),this.idxs.push(e)):this.nextNodeAfterCurrent()}}else{if(t(i))return this.nextNodeAfterCurrent(),i;{let e=u(i);if(-1===e){this.nextNodeAfterCurrent();return}this.nextNodes.push(i.getChild(e)),this.offsets.push(n),this.idxs.push(e)}}}}nextNodeAfterCurrent(){for(;;){let e=c(this.offsets),t=c(this.nextNodes);if(this.nextNodes.pop(),this.offsets.pop(),0===this.idxs.length)break;let i=c(this.nextNodes),n=u(i,this.idxs[this.idxs.length-1]);if(-1!==n){this.nextNodes.push(i.getChild(n)),this.offsets.push((0,r.Ii)(e,t.length)),this.idxs[this.idxs.length-1]=n;break}this.idxs.pop()}}}function u(e,t=-1){for(;;){if(++t>=e.childrenLength)return -1;if(e.getChild(t))return t}}function c(e){return e.length>0?e[e.length-1]:void 0}function g(e,t,i,n){let s=new p(e,t,i,n);return s.parseDocument()}class p{constructor(e,t,i,n){if(this.tokenizer=e,this.createImmutableLists=n,this._itemsConstructed=0,this._itemsFromCache=0,i&&n)throw Error("Not supported");this.oldNodeReader=i?new h(i):void 0,this.positionMapper=new s.Y(t)}parseDocument(){this._itemsConstructed=0,this._itemsFromCache=0;let e=this.parseList(o.tS.getEmpty(),0);return e||(e=n.Y0.getEmpty()),e}parseList(e,t){let i=[];for(;;){let n=this.tryReadChildFromCache(e);if(!n){let i=this.tokenizer.peek();if(!i||2===i.kind&&i.bracketIds.intersects(e))break;n=this.parseChild(e,t+1)}(4!==n.kind||0!==n.childrenLength)&&i.push(n)}let n=this.oldNodeReader?function(e){if(0===e.length)return null;if(1===e.length)return e[0];let t=0;function i(){if(t>=e.length)return null;let i=t,n=e[i].listHeight;for(t++;t=2?l(0===i&&t===e.length?e:e.slice(i,t),!1):e[i]}let n=i(),s=i();if(!s)return n;for(let e=i();e;e=i())a(n,s)<=a(s,e)?(n=d(n,s),s=e):s=d(s,e);let o=d(n,s);return o}(i):l(i,this.createImmutableLists);return n}tryReadChildFromCache(e){if(this.oldNodeReader){let t=this.positionMapper.getDistanceToNextChange(this.tokenizer.offset);if(null===t||!(0,r.xd)(t)){let i=this.oldNodeReader.readLongestNodeAt(this.positionMapper.getOffsetBeforeChange(this.tokenizer.offset),i=>{if(null!==t&&!(0,r.VR)(i.length,t))return!1;let n=i.canBeReused(e);return n});if(i)return this._itemsFromCache++,this.tokenizer.skip(i.length),i}}}parseChild(e,t){this._itemsConstructed++;let i=this.tokenizer.read();switch(i.kind){case 2:return new n.Dm(i.bracketIds,i.length);case 0:return i.astNode;case 1:{if(t>300)return new n.BH(i.length);let s=e.merge(i.bracketIds),o=this.parseList(s,t+1),r=this.tokenizer.peek();if(r&&2===r.kind&&(r.bracketId===i.bracketId||r.bracketIds.intersects(i.bracketIds)))return this.tokenizer.read(),n.Kd.create(i.astNode,o,r.astNode);return n.Kd.create(i.astNode,o,null)}default:throw Error("unexpected")}}}},61761:function(e,t,i){"use strict";i.d(t,{FE:function(){return r},Qw:function(){return o},tS:function(){return s}});let n=[];class s{static create(e,t){if(e<=128&&0===t.length){let i=s.cache[e];return i||(i=new s(e,t),s.cache[e]=i),i}return new s(e,t)}static getEmpty(){return this.empty}constructor(e,t){this.items=e,this.additionalItems=t}add(e,t){let i=t.getKey(e),n=i>>5;if(0===n){let e=1<e};class r{constructor(){this.items=new Map}getKey(e){let t=this.items.get(e);return void 0===t&&(t=this.items.size,this.items.set(e,t)),t}}},6735:function(e,t,i){"use strict";i.d(t,{WU:function(){return a},g:function(){return u},xH:function(){return d}});var n=i(17301),s=i(45797),o=i(66381),r=i(45035),l=i(61761);class a{constructor(e,t,i,n,s){this.length=e,this.kind=t,this.bracketId=i,this.bracketIds=n,this.astNode=s}}class d{constructor(e,t){this.textModel=e,this.bracketTokens=t,this.reader=new h(this.textModel,this.bracketTokens),this._offset=r.xl,this.didPeek=!1,this.peeked=null,this.textBufferLineCount=e.getLineCount(),this.textBufferLastLineLength=e.getLineLength(this.textBufferLineCount)}get offset(){return this._offset}get length(){return(0,r.Hg)(this.textBufferLineCount-1,this.textBufferLastLineLength)}skip(e){this.didPeek=!1,this._offset=(0,r.Ii)(this._offset,e);let t=(0,r.Hw)(this._offset);this.reader.setPosition(t.lineCount,t.columnCount)}read(){let e;return this.peeked?(this.didPeek=!1,e=this.peeked):e=this.reader.read(),e&&(this._offset=(0,r.Ii)(this._offset,e.length)),e}peek(){return this.didPeek||(this.peeked=this.reader.read(),this.didPeek=!0),this.peeked}}class h{constructor(e,t){this.textModel=e,this.bracketTokens=t,this.lineIdx=0,this.line=null,this.lineCharOffset=0,this.lineTokens=null,this.lineTokenOffset=0,this.peekedToken=null,this.textBufferLineCount=e.getLineCount(),this.textBufferLastLineLength=e.getLineLength(this.textBufferLineCount)}setPosition(e,t){e===this.lineIdx?(this.lineCharOffset=t,null!==this.line&&(this.lineTokenOffset=0===this.lineCharOffset?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset))):(this.lineIdx=e,this.lineCharOffset=t,this.line=null),this.peekedToken=null}read(){if(this.peekedToken){let e=this.peekedToken;return this.peekedToken=null,this.lineCharOffset+=(0,r.F_)(e.length),e}if(this.lineIdx>this.textBufferLineCount-1||this.lineIdx===this.textBufferLineCount-1&&this.lineCharOffset>=this.textBufferLastLineLength)return null;null===this.line&&(this.lineTokens=this.textModel.tokenization.getLineTokens(this.lineIdx+1),this.line=this.lineTokens.getLineContent(),this.lineTokenOffset=0===this.lineCharOffset?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset));let e=this.lineIdx,t=this.lineCharOffset,i=0;for(;;){let n=this.lineTokens,o=n.getCount(),l=null;if(this.lineTokenOffset1e3))break;if(i>1500)break}let n=(0,r.av)(e,t,this.lineIdx,this.lineCharOffset);return new a(n,0,-1,l.tS.getEmpty(),new o.BH(n))}}class u{constructor(e,t){let i;this.text=e,this._offset=r.xl,this.idx=0;let n=t.getRegExpStr(),s=n?RegExp(n+"|\n","gi"):null,d=[],h=0,u=0,c=0,g=0,p=[];for(let e=0;e<60;e++)p.push(new a((0,r.Hg)(0,e),0,-1,l.tS.getEmpty(),new o.BH((0,r.Hg)(0,e))));let m=[];for(let e=0;e<60;e++)m.push(new a((0,r.Hg)(1,e),0,-1,l.tS.getEmpty(),new o.BH((0,r.Hg)(1,e))));if(s)for(s.lastIndex=0;null!==(i=s.exec(e));){let e=i.index,n=i[0];if("\n"===n)h++,u=e+1;else{if(c!==e){let t;if(g===h){let i=e-c;if(i0&&(this.changes=(0,l.b)(this.changes,t)),this.afterEOL=i,this.afterVersionId=n,this.afterCursorState=s}static _writeSelectionsSize(e){return 4+16*(e?e.length:0)}static _writeSelections(e,t,i){if(a.T4(e,t?t.length:0,i),i+=4,t)for(let n of t)a.T4(e,n.selectionStartLineNumber,i),i+=4,a.T4(e,n.selectionStartColumn,i),i+=4,a.T4(e,n.positionLineNumber,i),i+=4,a.T4(e,n.positionColumn,i),i+=4;return i}static _readSelections(e,t,i){let n=a.Ag(e,t);t+=4;for(let s=0;se.toString()).join(", ")}matchesResource(e){let t=r.o.isUri(this.model)?this.model:this.model.uri;return t.toString()===e.toString()}setModel(e){this.model=e}canAppend(e){return this.model===e&&this._data instanceof u}append(e,t,i,n,s){this._data instanceof u&&this._data.append(e,t,i,n,s)}close(){this._data instanceof u&&(this._data=this._data.serialize())}open(){this._data instanceof u||(this._data=u.deserialize(this._data))}undo(){if(r.o.isUri(this.model))throw Error("Invalid SingleModelEditStackElement");this._data instanceof u&&(this._data=this._data.serialize());let e=u.deserialize(this._data);this.model._applyUndo(e.changes,e.beforeEOL,e.beforeVersionId,e.beforeCursorState)}redo(){if(r.o.isUri(this.model))throw Error("Invalid SingleModelEditStackElement");this._data instanceof u&&(this._data=this._data.serialize());let e=u.deserialize(this._data);this.model._applyRedo(e.changes,e.afterEOL,e.afterVersionId,e.afterCursorState)}heapSize(){return this._data instanceof u&&(this._data=this._data.serialize()),this._data.byteLength+168}}class g{get resources(){return this._editStackElementsArr.map(e=>e.resource)}constructor(e,t,i){for(let n of(this.label=e,this.code=t,this.type=1,this._isOpen=!0,this._editStackElementsArr=i.slice(0),this._editStackElementsMap=new Map,this._editStackElementsArr)){let e=h(n.resource);this._editStackElementsMap.set(e,n)}this._delegate=null}prepareUndoRedo(){if(this._delegate)return this._delegate.prepareUndoRedo(this)}matchesResource(e){let t=h(e);return this._editStackElementsMap.has(t)}setModel(e){let t=h(r.o.isUri(e)?e:e.uri);this._editStackElementsMap.has(t)&&this._editStackElementsMap.get(t).setModel(e)}canAppend(e){if(!this._isOpen)return!1;let t=h(e.uri);if(this._editStackElementsMap.has(t)){let i=this._editStackElementsMap.get(t);return i.canAppend(e)}return!1}append(e,t,i,n,s){let o=h(e.uri),r=this._editStackElementsMap.get(o);r.append(e,t,i,n,s)}close(){this._isOpen=!1}open(){}undo(){for(let e of(this._isOpen=!1,this._editStackElementsArr))e.undo()}redo(){for(let e of this._editStackElementsArr)e.redo()}heapSize(e){let t=h(e);if(this._editStackElementsMap.has(t)){let e=this._editStackElementsMap.get(t);return e.heapSize()}return 0}split(){return this._editStackElementsArr}toString(){let e=[];for(let t of this._editStackElementsArr)e.push(`${(0,d.EZ)(t.resource)}: ${t}`);return`{${e.join(", ")}}`}}function p(e){let t=e.getEOL();return"\n"===t?0:1}function m(e){return!!e&&(e instanceof c||e instanceof g)}class f{constructor(e,t){this._model=e,this._undoRedoService=t}pushStackElement(){let e=this._undoRedoService.getLastElement(this._model.uri);m(e)&&e.close()}popStackElement(){let e=this._undoRedoService.getLastElement(this._model.uri);m(e)&&e.open()}clear(){this._undoRedoService.removeElements(this._model.uri)}_getOrCreateEditStackElement(e,t){let i=this._undoRedoService.getLastElement(this._model.uri);if(m(i)&&i.canAppend(this._model))return i;let s=new c(n.NC("edit","Typing"),"undoredo.textBufferEdit",this._model,e);return this._undoRedoService.pushElement(s,t),s}pushEOL(e){let t=this._getOrCreateEditStackElement(null,void 0);this._model.setEOL(e),t.append(this._model,[],p(this._model),this._model.getAlternativeVersionId(),null)}pushEditOperation(e,t,i,n){let s=this._getOrCreateEditStackElement(e,n),o=this._model.applyEdits(t,!0),r=f._computeCursorState(i,o),l=o.map((e,t)=>({index:t,textChange:e.textChange}));return l.sort((e,t)=>e.textChange.oldPosition===t.textChange.oldPosition?e.index-t.index:e.textChange.oldPosition-t.textChange.oldPosition),s.append(this._model,l.map(e=>e.textChange),p(this._model),this._model.getAlternativeVersionId(),r),r}static _computeCursorState(e,t){try{return e?e(t):null}catch(e){return(0,s.dL)(e),null}}}},1516:function(e,t,i){"use strict";i.d(t,{W:function(){return c},l:function(){return u}});var n=i(35534),s=i(97295),o=i(7988),r=i(24314),l=i(94954),a=i(59616),d=i(65094),h=i(17301);class u extends l.U{constructor(e,t){super(),this.textModel=e,this.languageConfigurationService=t}getLanguageConfiguration(e){return this.languageConfigurationService.getLanguageConfiguration(e)}_computeIndentLevel(e){return(0,a.q)(this.textModel.getLineContent(e+1),this.textModel.getOptions().tabSize)}getActiveIndentGuide(e,t,i){this.assertNotDisposed();let n=this.textModel.getLineCount();if(e<1||e>n)throw new h.he("Illegal value for lineNumber");let s=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,o=!!(s&&s.offSide),r=-2,l=-1,a=-2,d=-1,u=e=>{if(-1!==r&&(-2===r||r>e-1)){r=-1,l=-1;for(let t=e-2;t>=0;t--){let e=this._computeIndentLevel(t);if(e>=0){r=t,l=e;break}}}if(-2===a){a=-1,d=-1;for(let t=e;t=0){a=t,d=e;break}}}},c=-2,g=-1,p=-2,m=-1,f=e=>{if(-2===c){c=-1,g=-1;for(let t=e-2;t>=0;t--){let e=this._computeIndentLevel(t);if(e>=0){c=t,g=e;break}}}if(-1!==p&&(-2===p||p=0){p=t,m=e;break}}}},_=0,v=!0,b=0,C=!0,w=0,y=0;for(let s=0;v||C;s++){let r=e-s,h=e+s;s>1&&(r<1||r1&&(h>n||h>i)&&(C=!1),s>5e4&&(v=!1,C=!1);let p=-1;if(v&&r>=1){let e=this._computeIndentLevel(r-1);e>=0?(a=r-1,d=e,p=Math.ceil(e/this.textModel.getOptions().indentSize)):(u(r),p=this._getIndentLevelForWhitespaceLine(o,l,d))}let S=-1;if(C&&h<=n){let e=this._computeIndentLevel(h-1);e>=0?(c=h-1,g=e,S=Math.ceil(e/this.textModel.getOptions().indentSize)):(f(h),S=this._getIndentLevelForWhitespaceLine(o,g,m))}if(0===s){y=p;continue}if(1===s){if(h<=n&&S>=0&&y+1===S){v=!1,_=h,b=h,w=S;continue}if(r>=1&&p>=0&&p-1===y){C=!1,_=r,b=r,w=p;continue}if(_=e,b=e,0===(w=y))break}v&&(p>=w?_=r:v=!1),C&&(S>=w?b=h:C=!1)}return{startLineNumber:_,endLineNumber:b,indent:w}}getLinesBracketGuides(e,t,i,o){var l;let a;let h=[];for(let i=e;i<=t;i++)h.push([]);let u=this.textModel.bracketPairs.getBracketPairsInRangeWithMinIndentation(new r.e(e,1,t,this.textModel.getLineMaxColumn(t))).toArray();if(i&&u.length>0){let s=(e<=i.lineNumber&&i.lineNumber<=t?u:this.textModel.bracketPairs.getBracketPairsInRange(r.e.fromPositions(i)).toArray()).filter(e=>r.e.strictContainsPosition(e.range,i));a=null===(l=(0,n.dF)(s,e=>!0))||void 0===l?void 0:l.range}let g=this.textModel.getOptions().bracketPairColorizationOptions.independentColorPoolPerBracketType,p=new c;for(let i of u){if(!i.closingBracketRange)continue;let n=a&&i.range.equalsRange(a);if(!n&&!o.includeInactive)continue;let r=p.getInlineClassName(i.nestingLevel,i.nestingLevelOfEqualBracketType,g)+(o.highlightActive&&n?" "+p.activeClassName:""),l=i.openingBracketRange.getStartPosition(),u=i.closingBracketRange.getStartPosition(),c=o.horizontalGuides===d.s6.Enabled||o.horizontalGuides===d.s6.EnabledForActive&&n;if(i.range.startLineNumber===i.range.endLineNumber){c&&h[i.range.startLineNumber-e].push(new d.UO(-1,i.openingBracketRange.getEndPosition().column,r,new d.vW(!1,u.column),-1,-1));continue}let m=this.getVisibleColumnFromPosition(u),f=this.getVisibleColumnFromPosition(i.openingBracketRange.getStartPosition()),_=Math.min(f,m,i.minVisibleColumnIndentation+1),v=!1,b=s.LC(this.textModel.getLineContent(i.closingBracketRange.startLineNumber)),C=b=e&&f>_&&h[l.lineNumber-e].push(new d.UO(_,-1,r,new d.vW(!1,l.column),-1,-1)),u.lineNumber<=t&&m>_&&h[u.lineNumber-e].push(new d.UO(_,-1,r,new d.vW(!v,u.column),-1,-1)))}for(let e of h)e.sort((e,t)=>e.visibleColumn-t.visibleColumn);return h}getVisibleColumnFromPosition(e){return o.i.visibleColumnFromColumn(this.textModel.getLineContent(e.lineNumber),e.column,this.textModel.getOptions().tabSize)+1}getLinesIndentGuides(e,t){this.assertNotDisposed();let i=this.textModel.getLineCount();if(e<1||e>i)throw Error("Illegal value for startLineNumber");if(t<1||t>i)throw Error("Illegal value for endLineNumber");let n=this.textModel.getOptions(),s=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,o=!!(s&&s.offSide),r=Array(t-e+1),l=-2,a=-1,d=-2,h=-1;for(let s=e;s<=t;s++){let t=s-e,u=this._computeIndentLevel(s-1);if(u>=0){l=s-1,a=u,r[t]=Math.ceil(u/n.indentSize);continue}if(-2===l){l=-1,a=-1;for(let e=s-2;e>=0;e--){let t=this._computeIndentLevel(e);if(t>=0){l=e,a=t;break}}}if(-1!==d&&(-2===d||d=0){d=e,h=t;break}}}r[t]=this._getIndentLevelForWhitespaceLine(o,a,h)}return r}_getIndentLevelForWhitespaceLine(e,t,i){let n=this.textModel.getOptions();return -1===t||-1===i?0:t=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=(0,s.A)(e),t=(0,s.A)(t),this.values[e]!==t&&(this.values[e]=t,e-1=i.length)return!1;let o=i.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(i.length-t),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=(0,s.A)(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let i=t;i<=e;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,i=this.values.length-1,n=0,s=0,o=0;for(;t<=i;)if(n=t+(i-t)/2|0,e<(o=(s=this.prefixSum[n])-this.values[n]))i=n-1;else if(e>=s)t=n+1;else break;return new l(n,e-o)}}class r{constructor(e){this._values=e,this._isValid=!1,this._validEndIndex=-1,this._prefixSum=[],this._indexBySum=[]}getTotalSum(){return this._ensureValid(),this._indexBySum.length}getPrefixSum(e){return(this._ensureValid(),0===e)?0:this._prefixSum[e-1]}getIndexOf(e){this._ensureValid();let t=this._indexBySum[e],i=t>0?this._prefixSum[t-1]:0;return new l(t,e-i)}removeValues(e,t){this._values.splice(e,t),this._invalidate(e)}insertValues(e,t){this._values=(0,n.Zv)(this._values,e,t),this._invalidate(e)}_invalidate(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)}_ensureValid(){if(!this._isValid){for(let e=this._validEndIndex+1,t=this._values.length;e0?this._prefixSum[e-1]:0;this._prefixSum[e]=i+t;for(let n=0;nnew D.Q((0,N.Hg)(e.fromLineNumber-1,0),(0,N.Hg)(e.toLineNumber,0),(0,N.Hg)(e.toLineNumber-e.fromLineNumber+1,0)));this.handleEdits(t,!0),this.initialAstWithoutTokens||this.didChangeEmitter.fire()}handleContentChanged(e){let t=D.Q.fromModelContentChanges(e.changes);this.handleEdits(t,!1)}handleEdits(e,t){let i=(0,M.o)(this.queuedTextEdits,e);this.queuedTextEdits=i,this.initialAstWithoutTokens&&!t&&(this.queuedTextEditsForInitialAstWithoutTokens=(0,M.o)(this.queuedTextEditsForInitialAstWithoutTokens,e))}flushQueue(){this.queuedTextEdits.length>0&&(this.astWithTokens=this.parseDocumentFromTextBuffer(this.queuedTextEdits,this.astWithTokens,!1),this.queuedTextEdits=[]),this.queuedTextEditsForInitialAstWithoutTokens.length>0&&(this.initialAstWithoutTokens&&(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer(this.queuedTextEditsForInitialAstWithoutTokens,this.initialAstWithoutTokens,!1)),this.queuedTextEditsForInitialAstWithoutTokens=[])}parseDocumentFromTextBuffer(e,t,i){let n=new T.xH(this.textModel,this.brackets),s=(0,E.w)(n,e,t,i);return s}getBracketsInRange(e,t){this.flushQueue();let i=(0,N.Hg)(e.startLineNumber-1,e.startColumn-1),n=(0,N.Hg)(e.endLineNumber-1,e.endColumn-1);return new s.W$(e=>{let s=this.initialAstWithoutTokens||this.astWithTokens;!function e(t,i,n,s,o,r,l,a,d,h,u=!1){if(l>200)return!0;i:for(;;)switch(t.kind){case 4:{let a=t.childrenLength;for(let u=0;u{let s=this.initialAstWithoutTokens||this.astWithTokens,o=new A(e,t,this.textModel);!function e(t,i,n,s,o,r,l,a){var d;if(l>200)return!0;let h=!0;if(2===t.kind){let u=0;if(a){let e=a.get(t.openingBracket.text);void 0===e&&(e=0),u=e,e++,a.set(t.openingBracket.text,e)}let c=(0,N.Ii)(i,t.openingBracket.length),g=-1;if(r.includeMinIndentation&&(g=t.computeMinIndentation(i,r.textModel)),h=r.push(new k((0,N.Qw)(i,n),(0,N.Qw)(i,c),t.closingBracket?(0,N.Qw)((0,N.Ii)(c,(null===(d=t.child)||void 0===d?void 0:d.length)||N.xl),n):void 0,l,u,t,g)),i=c,h&&t.child){let d=t.child;if(n=(0,N.Ii)(i,d.length),(0,N.By)(i,o)&&(0,N.Zq)(n,s)&&!(h=e(d,i,n,s,o,r,l+1,a)))return!1}null==a||a.set(t.openingBracket.text,u)}else{let n=i;for(let i of t.children){let t=n;if(n=(0,N.Ii)(n,i.length),(0,N.By)(t,o)&&(0,N.By)(s,n)&&!(h=e(i,t,n,s,o,r,l,a)))return!1}}return h}(s,N.xl,s.length,i,n,o,0,new Map)})}getFirstBracketAfter(e){this.flushQueue();let t=this.initialAstWithoutTokens||this.astWithTokens;return function e(t,i,n,s){if(4===t.kind||2===t.kind)for(let o of t.children){if(n=(0,N.Ii)(i,o.length),(0,N.VR)(s,n)){let t=e(o,i,n,s);if(t)return t}i=n}else if(3===t.kind);else if(1===t.kind){let e=(0,N.Qw)(i,n);return{bracketInfo:t.bracketInfo,range:e}}return null}(t,N.xl,t.length,(0,N.PZ)(e))}getFirstBracketBefore(e){this.flushQueue();let t=this.initialAstWithoutTokens||this.astWithTokens;return function e(t,i,n,s){if(4===t.kind||2===t.kind){let o=[];for(let e of t.children)n=(0,N.Ii)(i,e.length),o.push({nodeOffsetStart:i,nodeOffsetEnd:n}),i=n;for(let i=o.length-1;i>=0;i--){let{nodeOffsetStart:n,nodeOffsetEnd:r}=o[i];if((0,N.VR)(n,s)){let o=e(t.children[i],n,r,s);if(o)return o}}}else if(3===t.kind);else if(1===t.kind){let e=(0,N.Qw)(i,n);return{bracketInfo:t.bracketInfo,range:e}}return null}(t,N.xl,t.length,(0,N.PZ)(e))}}class A{constructor(e,t,i){this.push=e,this.includeMinIndentation=t,this.textModel=i}}class P extends a.JT{get canBuildAST(){return 5e6>=this.textModel.getValueLength()}constructor(e,t){super(),this.textModel=e,this.languageConfigurationService=t,this.bracketPairsTree=this._register(new a.XK),this.onDidChangeEmitter=new l.Q5,this.onDidChange=this.onDidChangeEmitter.event,this.bracketsRequested=!1,this._register(this.languageConfigurationService.onDidChange(e=>{var t;(!e.languageId||(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.didLanguageChange(e.languageId)))&&(this.bracketPairsTree.clear(),this.updateBracketPairsTree())}))}handleDidChangeOptions(e){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeLanguage(e){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeContent(e){var t;null===(t=this.bracketPairsTree.value)||void 0===t||t.object.handleContentChanged(e)}handleDidChangeBackgroundTokenizationState(){var e;null===(e=this.bracketPairsTree.value)||void 0===e||e.object.handleDidChangeBackgroundTokenizationState()}handleDidChangeTokens(e){var t;null===(t=this.bracketPairsTree.value)||void 0===t||t.object.handleDidChangeTokens(e)}updateBracketPairsTree(){if(this.bracketsRequested&&this.canBuildAST){if(!this.bracketPairsTree.value){let e=new a.SL;this.bracketPairsTree.value={object:e.add(new R(this.textModel,e=>this.languageConfigurationService.getLanguageConfiguration(e))),dispose:()=>null==e?void 0:e.dispose()},e.add(this.bracketPairsTree.value.object.onDidChange(e=>this.onDidChangeEmitter.fire(e))),this.onDidChangeEmitter.fire()}}else this.bracketPairsTree.value&&(this.bracketPairsTree.clear(),this.onDidChangeEmitter.fire())}getBracketPairsInRange(e){var t;return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.getBracketPairsInRange(e,!1))||s.W$.empty}getBracketPairsInRangeWithMinIndentation(e){var t;return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.getBracketPairsInRange(e,!0))||s.W$.empty}getBracketsInRange(e,t=!1){var i;return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(i=this.bracketPairsTree.value)||void 0===i?void 0:i.object.getBracketsInRange(e,t))||s.W$.empty}findMatchingBracketUp(e,t,i){let n=this.textModel.validatePosition(t),s=this.textModel.getLanguageIdAtPosition(n.lineNumber,n.column);if(this.canBuildAST){let i=this.languageConfigurationService.getLanguageConfiguration(s).bracketsNew.getClosingBracketInfo(e);if(!i)return null;let n=this.getBracketPairsInRange(m.e.fromPositions(t,t)).findLast(e=>i.closes(e.openingBracketInfo));return n?n.openingBracketRange:null}{let t=e.toLowerCase(),o=this.languageConfigurationService.getLanguageConfiguration(s).brackets;if(!o)return null;let r=o.textIsBracket[t];return r?B(this._findMatchingBracketUp(r,n,O(i))):null}}matchBracket(e,t){if(this.canBuildAST){let t=this.getBracketPairsInRange(m.e.fromPositions(e,e)).filter(t=>void 0!==t.closingBracketRange&&(t.openingBracketRange.containsPosition(e)||t.closingBracketRange.containsPosition(e))).findLastMaxBy((0,s.tT)(t=>t.openingBracketRange.containsPosition(e)?t.openingBracketRange:t.closingBracketRange,m.e.compareRangesUsingStarts));return t?[t.openingBracketRange,t.closingBracketRange]:null}{let i=O(t);return this._matchBracket(this.textModel.validatePosition(e),i)}}_establishBracketSearchOffsets(e,t,i,n){let s=t.getCount(),o=t.getLanguageId(n),r=Math.max(0,e.column-1-i.maxBracketLength);for(let e=n-1;e>=0;e--){let i=t.getEndOffset(e);if(i<=r)break;if((0,w.Bu)(t.getStandardTokenType(e))||t.getLanguageId(e)!==o){r=i;break}}let l=Math.min(t.getLineContent().length,e.column-1+i.maxBracketLength);for(let e=n+1;e=l)break;if((0,w.Bu)(t.getStandardTokenType(e))||t.getLanguageId(e)!==o){l=i;break}}return{searchStartOffset:r,searchEndOffset:l}}_matchBracket(e,t){let i=e.lineNumber,n=this.textModel.tokenization.getLineTokens(i),s=this.textModel.getLineContent(i),o=n.findTokenIndexAtOffset(e.column-1);if(o<0)return null;let r=this.languageConfigurationService.getLanguageConfiguration(n.getLanguageId(o)).brackets;if(r&&!(0,w.Bu)(n.getStandardTokenType(o))){let{searchStartOffset:l,searchEndOffset:a}=this._establishBracketSearchOffsets(e,n,r,o),d=null;for(;;){let n=y.Vr.findNextBracketInRange(r.forwardRegex,i,s,l,a);if(!n)break;if(n.startColumn<=e.column&&e.column<=n.endColumn){let e=s.substring(n.startColumn-1,n.endColumn-1).toLowerCase(),i=this._matchFoundBracket(n,r.textIsBracket[e],r.textIsOpenBracket[e],t);if(i){if(i instanceof F)return null;d=i}}l=n.endColumn-1}if(d)return d}if(o>0&&n.getStartOffset(o)===e.column-1){let r=o-1,l=this.languageConfigurationService.getLanguageConfiguration(n.getLanguageId(r)).brackets;if(l&&!(0,w.Bu)(n.getStandardTokenType(r))){let{searchStartOffset:o,searchEndOffset:a}=this._establishBracketSearchOffsets(e,n,l,r),d=y.Vr.findPrevBracketInRange(l.reversedRegex,i,s,o,a);if(d&&d.startColumn<=e.column&&e.column<=d.endColumn){let e=s.substring(d.startColumn-1,d.endColumn-1).toLowerCase(),i=this._matchFoundBracket(d,l.textIsBracket[e],l.textIsOpenBracket[e],t);if(i)return i instanceof F?null:i}}}return null}_matchFoundBracket(e,t,i,n){if(!t)return null;let s=i?this._findMatchingBracketDown(t,e.getEndPosition(),n):this._findMatchingBracketUp(t,e.getStartPosition(),n);return s?s instanceof F?s:[e,s]:null}_findMatchingBracketUp(e,t,i){let n=e.languageId,s=e.reversedRegex,o=-1,r=0,l=(t,n,l,a)=>{for(;;){if(i&&++r%100==0&&!i())return F.INSTANCE;let d=y.Vr.findPrevBracketInRange(s,t,n,l,a);if(!d)break;let h=n.substring(d.startColumn-1,d.endColumn-1).toLowerCase();if(e.isOpen(h)?o++:e.isClose(h)&&o--,0===o)return d;a=d.startColumn-1}return null};for(let e=t.lineNumber;e>=1;e--){let i=this.textModel.tokenization.getLineTokens(e),s=i.getCount(),o=this.textModel.getLineContent(e),r=s-1,a=o.length,d=o.length;e===t.lineNumber&&(r=i.findTokenIndexAtOffset(t.column-1),a=t.column-1,d=t.column-1);let h=!0;for(;r>=0;r--){let t=i.getLanguageId(r)===n&&!(0,w.Bu)(i.getStandardTokenType(r));if(t)h?a=i.getStartOffset(r):(a=i.getStartOffset(r),d=i.getEndOffset(r));else if(h&&a!==d){let t=l(e,o,a,d);if(t)return t}h=t}if(h&&a!==d){let t=l(e,o,a,d);if(t)return t}}return null}_findMatchingBracketDown(e,t,i){let n=e.languageId,s=e.forwardRegex,o=1,r=0,l=(t,n,l,a)=>{for(;;){if(i&&++r%100==0&&!i())return F.INSTANCE;let d=y.Vr.findNextBracketInRange(s,t,n,l,a);if(!d)break;let h=n.substring(d.startColumn-1,d.endColumn-1).toLowerCase();if(e.isOpen(h)?o++:e.isClose(h)&&o--,0===o)return d;l=d.endColumn-1}return null},a=this.textModel.getLineCount();for(let e=t.lineNumber;e<=a;e++){let i=this.textModel.tokenization.getLineTokens(e),s=i.getCount(),o=this.textModel.getLineContent(e),r=0,a=0,d=0;e===t.lineNumber&&(r=i.findTokenIndexAtOffset(t.column-1),a=t.column-1,d=t.column-1);let h=!0;for(;r=1;e--){let t=this.textModel.tokenization.getLineTokens(e),r=t.getCount(),l=this.textModel.getLineContent(e),a=r-1,d=l.length,h=l.length;if(e===i.lineNumber){a=t.findTokenIndexAtOffset(i.column-1),d=i.column-1,h=i.column-1;let e=t.getLanguageId(a);n!==e&&(n=e,s=this.languageConfigurationService.getLanguageConfiguration(n).brackets,o=this.languageConfigurationService.getLanguageConfiguration(n).bracketsNew)}let u=!0;for(;a>=0;a--){let i=t.getLanguageId(a);if(n!==i){if(s&&o&&u&&d!==h){let t=y.Vr.findPrevBracketInRange(s.reversedRegex,e,l,d,h);if(t)return this._toFoundBracket(o,t);u=!1}n=i,s=this.languageConfigurationService.getLanguageConfiguration(n).brackets,o=this.languageConfigurationService.getLanguageConfiguration(n).bracketsNew}let r=!!s&&!(0,w.Bu)(t.getStandardTokenType(a));if(r)u?d=t.getStartOffset(a):(d=t.getStartOffset(a),h=t.getEndOffset(a));else if(o&&s&&u&&d!==h){let t=y.Vr.findPrevBracketInRange(s.reversedRegex,e,l,d,h);if(t)return this._toFoundBracket(o,t)}u=r}if(o&&s&&u&&d!==h){let t=y.Vr.findPrevBracketInRange(s.reversedRegex,e,l,d,h);if(t)return this._toFoundBracket(o,t)}}return null}findNextBracket(e){var t;let i=this.textModel.validatePosition(e);if(this.canBuildAST)return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.getFirstBracketAfter(i))||null;let n=this.textModel.getLineCount(),s=null,o=null,r=null;for(let e=i.lineNumber;e<=n;e++){let t=this.textModel.tokenization.getLineTokens(e),n=t.getCount(),l=this.textModel.getLineContent(e),a=0,d=0,h=0;if(e===i.lineNumber){a=t.findTokenIndexAtOffset(i.column-1),d=i.column-1,h=i.column-1;let e=t.getLanguageId(a);s!==e&&(s=e,o=this.languageConfigurationService.getLanguageConfiguration(s).brackets,r=this.languageConfigurationService.getLanguageConfiguration(s).bracketsNew)}let u=!0;for(;avoid 0!==t.closingBracketRange&&t.range.strictContainsRange(e));return t?[t.openingBracketRange,t.closingBracketRange]:null}let n=O(t),s=this.textModel.getLineCount(),o=new Map,r=[],l=(e,t)=>{if(!o.has(e)){let i=[];for(let e=0,n=t?t.brackets.length:0;e{for(;;){if(n&&++a%100==0&&!n())return F.INSTANCE;let l=y.Vr.findNextBracketInRange(e.forwardRegex,t,i,s,o);if(!l)break;let d=i.substring(l.startColumn-1,l.endColumn-1).toLowerCase(),h=e.textIsBracket[d];if(h&&(h.isOpen(d)?r[h.index]++:h.isClose(d)&&r[h.index]--,-1===r[h.index]))return this._matchFoundBracket(l,h,!1,n);s=l.endColumn-1}return null},h=null,u=null;for(let e=i.lineNumber;e<=s;e++){let t=this.textModel.tokenization.getLineTokens(e),n=t.getCount(),s=this.textModel.getLineContent(e),o=0,r=0,a=0;if(e===i.lineNumber){o=t.findTokenIndexAtOffset(i.column-1),r=i.column-1,a=i.column-1;let e=t.getLanguageId(o);h!==e&&(h=e,u=this.languageConfigurationService.getLanguageConfiguration(h).brackets,l(h,u))}let c=!0;for(;o!0;{let t=Date.now();return()=>Date.now()-t<=e}}class F{constructor(){this._searchCanceledBrand=void 0}}function B(e){return e instanceof F?null:e}F.INSTANCE=new F;var W=i(51945),H=i(97781);class V extends a.JT{constructor(e){super(),this.textModel=e,this.colorProvider=new z,this.onDidChangeEmitter=new l.Q5,this.onDidChange=this.onDidChangeEmitter.event,this.colorizationOptions=e.getOptions().bracketPairColorizationOptions,this._register(e.bracketPairs.onDidChange(e=>{this.onDidChangeEmitter.fire()}))}handleDidChangeOptions(e){this.colorizationOptions=this.textModel.getOptions().bracketPairColorizationOptions}getDecorationsInRange(e,t,i,n){if(n||void 0===t||!this.colorizationOptions.enabled)return[];let s=this.textModel.bracketPairs.getBracketsInRange(e,!0).map(e=>({id:`bracket${e.range.toString()}-${e.nestingLevel}`,options:{description:"BracketPairColorization",inlineClassName:this.colorProvider.getInlineClassName(e,this.colorizationOptions.independentColorPoolPerBracketType)},ownerId:0,range:e.range})).toArray();return s}getAllDecorations(e,t){return void 0!==e&&this.colorizationOptions.enabled?this.getDecorationsInRange(new m.e(1,1,this.textModel.getLineCount(),1),e,t):[]}}class z{constructor(){this.unexpectedClosingBracketClassName="unexpected-closing-bracket"}getInlineClassName(e,t){return e.isInvalid?this.unexpectedClosingBracketClassName:this.getInlineClassNameOfLevel(t?e.nestingLevelOfEqualBracketType:e.nestingLevel)}getInlineClassNameOfLevel(e){return`bracket-highlighting-${e%30}`}}(0,H.Ic)((e,t)=>{let i=[W.zJ,W.Vs,W.CE,W.UP,W.r0,W.m1],n=new z;t.addRule(`.monaco-editor .${n.unexpectedClosingBracketClassName} { color: ${e.getColor(W.ts)}; }`);let s=i.map(t=>e.getColor(t)).filter(e=>!!e).filter(e=>!e.isTransparent());for(let e=0;e<30;e++){let i=s[e%s.length];t.addRule(`.monaco-editor .${n.getInlineClassNameOfLevel(e)} { color: ${i}; }`)}});var K=i(95215),U=i(1516);class ${constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}}function q(e,t,i){let n=Math.min(e.getLineCount(),1e4),s=0,o=0,r="",l=0,a=[0,0,0,0,0,0,0,0,0],d=new $;for(let h=1;h<=n;h++){let n=e.getLineLength(h),u=e.getLineContent(h),c=n<=65536,g=!1,p=0,m=0,f=0;for(let t=0;t0?s++:m>1&&o++,!function(e,t,i,n,s){let o;for(o=0,s.spacesDiff=0,s.looksLikeAlignment=!1;o0&&l>0||a>0&&d>0)return;let h=Math.abs(l-d),u=Math.abs(r-a);if(0===h){s.spacesDiff=u,u>0&&0<=a-1&&a-1{let i=a[t];i>e&&(e=i,u=t)}),4===u&&a[4]>0&&a[2]>0&&a[2]>=a[4]/2&&(u=2)}return{insertSpaces:h,tabSize:u}}function j(e){return(1&e.metadata)>>>0}function G(e,t){e.metadata=254&e.metadata|t<<0}function Q(e){return(2&e.metadata)>>>1==1}function Z(e,t){e.metadata=253&e.metadata|(t?1:0)<<1}function Y(e){return(4&e.metadata)>>>2==1}function J(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function X(e){return(64&e.metadata)>>>6==1}function ee(e,t){e.metadata=191&e.metadata|(t?1:0)<<6}function et(e,t){e.metadata=231&e.metadata|t<<3}function ei(e,t){e.metadata=223&e.metadata|(t?1:0)<<5}class en{constructor(e,t,i){this.metadata=0,this.parent=this,this.left=this,this.right=this,G(this,1),this.start=t,this.end=i,this.delta=0,this.maxEnd=i,this.id=e,this.ownerId=0,this.options=null,J(this,!1),ee(this,!1),et(this,1),ei(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=i,this.range=null,Z(this,!1)}reset(e,t,i,n){this.start=t,this.end=i,this.maxEnd=i,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=i,this.range=n}setOptions(e){this.options=e;let t=this.options.className;J(this,"squiggly-error"===t||"squiggly-warning"===t||"squiggly-info"===t),ee(this,null!==this.options.glyphMarginClassName),et(this,this.options.stickiness),ei(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(e,t,i){this.cachedVersionId!==i&&(this.range=null),this.cachedVersionId=i,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t}detach(){this.parent=null,this.left=null,this.right=null}}let es=new en(null,0,0);es.parent=es,es.left=es,es.right=es,G(es,0);class eo{constructor(){this.root=es,this.requestNormalizeDelta=!1}intervalSearch(e,t,i,n,s,o){return this.root===es?[]:function(e,t,i,n,s,o,r){let l=e.root,a=0,d=0,h=0,u=[],c=0;for(;l!==es;){if(Q(l)){Z(l.left,!1),Z(l.right,!1),l===l.parent.right&&(a-=l.parent.delta),l=l.parent;continue}if(!Q(l.left)){if(a+l.maxEndi){Z(l,!0);continue}if((h=a+l.end)>=t){l.setCachedOffsets(d,h,o);let e=!0;n&&l.ownerId&&l.ownerId!==n&&(e=!1),s&&Y(l)&&(e=!1),r&&!X(l)&&(e=!1),e&&(u[c++]=l)}if(Z(l,!0),l.right!==es&&!Q(l.right)){a+=l.delta,l=l.right;continue}}return Z(e.root,!1),u}(this,e,t,i,n,s,o)}search(e,t,i,n){return this.root===es?[]:function(e,t,i,n,s){let o=e.root,r=0,l=0,a=0,d=[],h=0;for(;o!==es;){if(Q(o)){Z(o.left,!1),Z(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),o=o.parent;continue}if(o.left!==es&&!Q(o.left)){o=o.left;continue}l=r+o.start,a=r+o.end,o.setCachedOffsets(l,a,n);let e=!0;if(t&&o.ownerId&&o.ownerId!==t&&(e=!1),i&&Y(o)&&(e=!1),s&&!X(o)&&(e=!1),e&&(d[h++]=o),Z(o,!0),o.right!==es&&!Q(o.right)){r+=o.delta,o=o.right;continue}}return Z(e.root,!1),d}(this,e,t,i,n)}collectNodesFromOwner(e){return function(e,t){let i=e.root,n=[],s=0;for(;i!==es;){if(Q(i)){Z(i.left,!1),Z(i.right,!1),i=i.parent;continue}if(i.left!==es&&!Q(i.left)){i=i.left;continue}if(i.ownerId===t&&(n[s++]=i),Z(i,!0),i.right!==es&&!Q(i.right)){i=i.right;continue}}return Z(e.root,!1),n}(this,e)}collectNodesPostOrder(){return function(e){let t=e.root,i=[],n=0;for(;t!==es;){if(Q(t)){Z(t.left,!1),Z(t.right,!1),t=t.parent;continue}if(t.left!==es&&!Q(t.left)){t=t.left;continue}if(t.right!==es&&!Q(t.right)){t=t.right;continue}i[n++]=t,Z(t,!0)}return Z(e.root,!1),i}(this)}insert(e){el(this,e),this._normalizeDeltaIfNecessary()}delete(e){ea(this,e),this._normalizeDeltaIfNecessary()}resolveNode(e,t){let i=e,n=0;for(;e!==this.root;)e===e.parent.right&&(n+=e.parent.delta),e=e.parent;let s=i.start+n,o=i.end+n;i.setCachedOffsets(s,o,t)}acceptReplace(e,t,i,n){let s=function(e,t,i){let n=e.root,s=0,o=0,r=0,l=[],a=0;for(;n!==es;){if(Q(n)){Z(n.left,!1),Z(n.right,!1),n===n.parent.right&&(s-=n.parent.delta),n=n.parent;continue}if(!Q(n.left)){if(s+n.maxEndi){Z(n,!0);continue}if((r=s+n.end)>=t&&(n.setCachedOffsets(o,r,0),l[a++]=n),Z(n,!0),n.right!==es&&!Q(n.right)){s+=n.delta,n=n.right;continue}}return Z(e.root,!1),l}(this,e,e+t);for(let e=0,t=s.length;ei){s.start+=r,s.end+=r,s.delta+=r,(s.delta<-1073741824||s.delta>1073741824)&&(e.requestNormalizeDelta=!0),Z(s,!0);continue}if(Z(s,!0),s.right!==es&&!Q(s.right)){o+=s.delta,s=s.right;continue}}Z(e.root,!1)}(this,e,e+t,i),this._normalizeDeltaIfNecessary();for(let o=0,r=s.length;o>>3,r=0===o||2===o,l=1===o||2===o,a=i-t,d=Math.min(a,n),h=e.start,u=!1,c=e.end,g=!1;t<=h&&c<=i&&(32&e.metadata)>>>5==1&&(e.start=t,u=!0,e.end=t,g=!0);{let e=s?1:a>0?2:0;!u&&er(h,r,t,e)&&(u=!0),!g&&er(c,l,t,e)&&(g=!0)}if(d>0&&!s){let e=a>n?2:0;!u&&er(h,r,t+d,e)&&(u=!0),!g&&er(c,l,t+d,e)&&(g=!0)}{let o=s?1:0;!u&&er(h,r,i,o)&&(e.start=t+n,u=!0),!g&&er(c,l,i,o)&&(e.end=t+n,g=!0)}let p=n-a;u||(e.start=Math.max(0,h+p)),g||(e.end=Math.max(0,c+p)),e.start>e.end&&(e.end=e.start)}(r,e,e+t,i,n),r.maxEnd=r.end,el(this,r)}this._normalizeDeltaIfNecessary()}_normalizeDeltaIfNecessary(){this.requestNormalizeDelta&&(this.requestNormalizeDelta=!1,function(e){let t=e.root,i=0;for(;t!==es;){if(t.left!==es&&!Q(t.left)){t=t.left;continue}if(t.right!==es&&!Q(t.right)){i+=t.delta,t=t.right;continue}t.start=i+t.start,t.end=i+t.end,t.delta=0,eg(t),Z(t,!0),Z(t.left,!1),Z(t.right,!1),t===t.parent.right&&(i-=t.parent.delta),t=t.parent}Z(e.root,!1)}(this))}}function er(e,t,i,n){return ei)&&1!==n&&(2===n||t)}function el(e,t){if(e.root===es)return t.parent=es,t.left=es,t.right=es,G(t,0),e.root=t,e.root;(function(e,t){let i=0,n=e.root,s=t.start,o=t.end;for(;;){var r,l;let e=(r=n.start+i,l=n.end+i,s===r?o-l:s-r);if(e<0){if(n.left===es){t.start-=i,t.end-=i,t.maxEnd-=i,n.left=t;break}n=n.left}else{if(n.right===es){t.start-=i+n.delta,t.end-=i+n.delta,t.maxEnd-=i+n.delta,n.right=t;break}i+=n.delta,n=n.right}}t.parent=n,t.left=es,t.right=es,G(t,1)})(e,t),ep(t.parent);let i=t;for(;i!==e.root&&1===j(i.parent);)if(i.parent===i.parent.parent.left){let t=i.parent.parent.right;1===j(t)?(G(i.parent,0),G(t,0),G(i.parent.parent,1),i=i.parent.parent):(i===i.parent.right&&eh(e,i=i.parent),G(i.parent,0),G(i.parent.parent,1),eu(e,i.parent.parent))}else{let t=i.parent.parent.left;1===j(t)?(G(i.parent,0),G(t,0),G(i.parent.parent,1),i=i.parent.parent):(i===i.parent.left&&eu(e,i=i.parent),G(i.parent,0),G(i.parent.parent,1),eh(e,i.parent.parent))}return G(e.root,0),t}function ea(e,t){let i,n,s;if(t.left===es?(i=t.right,n=t,i.delta+=t.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0),i.start+=t.delta,i.end+=t.delta):t.right===es?(i=t.left,n=t):(i=(n=function(e){for(;e.left!==es;)e=e.left;return e}(t.right)).right,i.start+=n.delta,i.end+=n.delta,i.delta+=n.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta,n.delta=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0)),n===e.root){e.root=i,G(i,0),t.detach(),ed(),eg(i),e.root.parent=es;return}let o=1===j(n);if(n===n.parent.left?n.parent.left=i:n.parent.right=i,n===t?i.parent=n.parent:(n.parent===t?i.parent=n:i.parent=n.parent,n.left=t.left,n.right=t.right,n.parent=t.parent,G(n,j(t)),t===e.root?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left!==es&&(n.left.parent=n),n.right!==es&&(n.right.parent=n)),t.detach(),o){ep(i.parent),n!==t&&(ep(n),ep(n.parent)),ed();return}for(ep(i),ep(i.parent),n!==t&&(ep(n),ep(n.parent));i!==e.root&&0===j(i);)i===i.parent.left?(1===j(s=i.parent.right)&&(G(s,0),G(i.parent,1),eh(e,i.parent),s=i.parent.right),0===j(s.left)&&0===j(s.right)?(G(s,1),i=i.parent):(0===j(s.right)&&(G(s.left,0),G(s,1),eu(e,s),s=i.parent.right),G(s,j(i.parent)),G(i.parent,0),G(s.right,0),eh(e,i.parent),i=e.root)):(1===j(s=i.parent.left)&&(G(s,0),G(i.parent,1),eu(e,i.parent),s=i.parent.left),0===j(s.left)&&0===j(s.right)?(G(s,1),i=i.parent):(0===j(s.left)&&(G(s.right,0),G(s,1),eh(e,s),s=i.parent.left),G(s,j(i.parent)),G(i.parent,0),G(s.left,0),eu(e,i.parent),i=e.root));G(i,0),ed()}function ed(){es.parent=es,es.delta=0,es.start=0,es.end=0}function eh(e,t){let i=t.right;i.delta+=t.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0),i.start+=t.delta,i.end+=t.delta,t.right=i.left,i.left!==es&&(i.left.parent=t),i.parent=t.parent,t.parent===es?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left=t,t.parent=i,eg(t),eg(i)}function eu(e,t){let i=t.left;t.delta-=i.delta,(t.delta<-1073741824||t.delta>1073741824)&&(e.requestNormalizeDelta=!0),t.start-=i.delta,t.end-=i.delta,t.left=i.right,i.right!==es&&(i.right.parent=t),i.parent=t.parent,t.parent===es?e.root=i:t===t.parent.right?t.parent.right=i:t.parent.left=i,i.right=t,t.parent=i,eg(t),eg(i)}function ec(e){let t=e.end;if(e.left!==es){let i=e.left.maxEnd;i>t&&(t=i)}if(e.right!==es){let i=e.right.maxEnd+e.delta;i>t&&(t=i)}return t}function eg(e){e.maxEnd=ec(e)}function ep(e){for(;e!==es;){let t=ec(e);if(e.maxEnd===t)return;e.maxEnd=t,e=e.parent}}class em{constructor(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}next(){if(this.right!==ef)return e_(this.right);let e=this;for(;e.parent!==ef&&e.parent.left!==e;)e=e.parent;return e.parent===ef?ef:e.parent}prev(){if(this.left!==ef)return ev(this.left);let e=this;for(;e.parent!==ef&&e.parent.right!==e;)e=e.parent;return e.parent===ef?ef:e.parent}detach(){this.parent=null,this.left=null,this.right=null}}let ef=new em(null,0);function e_(e){for(;e.left!==ef;)e=e.left;return e}function ev(e){for(;e.right!==ef;)e=e.right;return e}function eb(e){return e===ef?0:e.size_left+e.piece.length+eb(e.right)}function eC(e){return e===ef?0:e.lf_left+e.piece.lineFeedCnt+eC(e.right)}function ew(){ef.parent=ef}function ey(e,t){let i=t.right;i.size_left+=t.size_left+(t.piece?t.piece.length:0),i.lf_left+=t.lf_left+(t.piece?t.piece.lineFeedCnt:0),t.right=i.left,i.left!==ef&&(i.left.parent=t),i.parent=t.parent,t.parent===ef?e.root=i:t.parent.left===t?t.parent.left=i:t.parent.right=i,i.left=t,t.parent=i}function eS(e,t){let i=t.left;t.left=i.right,i.right!==ef&&(i.right.parent=t),i.parent=t.parent,t.size_left-=i.size_left+(i.piece?i.piece.length:0),t.lf_left-=i.lf_left+(i.piece?i.piece.lineFeedCnt:0),t.parent===ef?e.root=i:t===t.parent.right?t.parent.right=i:t.parent.left=i,i.right=t,t.parent=i}function eL(e,t){let i,n,s;if(i=t.left===ef?(n=t).right:t.right===ef?(n=t).left:(n=e_(t.right)).right,n===e.root){e.root=i,i.color=0,t.detach(),ew(),e.root.parent=ef;return}let o=1===n.color;if(n===n.parent.left?n.parent.left=i:n.parent.right=i,n===t?(i.parent=n.parent,ex(e,i)):(n.parent===t?i.parent=n:i.parent=n.parent,ex(e,i),n.left=t.left,n.right=t.right,n.parent=t.parent,n.color=t.color,t===e.root?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left!==ef&&(n.left.parent=n),n.right!==ef&&(n.right.parent=n),n.size_left=t.size_left,n.lf_left=t.lf_left,ex(e,n)),t.detach(),i.parent.left===i){let t=eb(i),n=eC(i);if(t!==i.parent.size_left||n!==i.parent.lf_left){let s=t-i.parent.size_left,o=n-i.parent.lf_left;i.parent.size_left=t,i.parent.lf_left=n,eD(e,i.parent,s,o)}}if(ex(e,i.parent),o){ew();return}for(;i!==e.root&&0===i.color;)i===i.parent.left?(1===(s=i.parent.right).color&&(s.color=0,i.parent.color=1,ey(e,i.parent),s=i.parent.right),0===s.left.color&&0===s.right.color?(s.color=1,i=i.parent):(0===s.right.color&&(s.left.color=0,s.color=1,eS(e,s),s=i.parent.right),s.color=i.parent.color,i.parent.color=0,s.right.color=0,ey(e,i.parent),i=e.root)):(1===(s=i.parent.left).color&&(s.color=0,i.parent.color=1,eS(e,i.parent),s=i.parent.left),0===s.left.color&&0===s.right.color?(s.color=1,i=i.parent):(0===s.left.color&&(s.right.color=0,s.color=1,ey(e,s),s=i.parent.left),s.color=i.parent.color,i.parent.color=0,s.left.color=0,eS(e,i.parent),i=e.root));i.color=0,ew()}function ek(e,t){for(ex(e,t);t!==e.root&&1===t.parent.color;)if(t.parent===t.parent.parent.left){let i=t.parent.parent.right;1===i.color?(t.parent.color=0,i.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.right&&ey(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,eS(e,t.parent.parent))}else{let i=t.parent.parent.left;1===i.color?(t.parent.color=0,i.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.left&&eS(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,ey(e,t.parent.parent))}e.root.color=0}function eD(e,t,i,n){for(;t!==e.root&&t!==ef;)t.parent.left===t&&(t.parent.size_left+=i,t.parent.lf_left+=n),t=t.parent}function ex(e,t){let i=0,n=0;if(t!==e.root){for(;t!==e.root&&t===t.parent.right;)t=t.parent;if(t!==e.root)for(i=eb((t=t.parent).left)-t.size_left,n=eC(t.left)-t.lf_left,t.size_left+=i,t.lf_left+=n;t!==e.root&&(0!==i||0!==n);)t.parent.left===t&&(t.parent.size_left+=i,t.parent.lf_left+=n),t=t.parent}}ef.parent=ef,ef.left=ef,ef.right=ef,ef.color=0;var eN=i(77277);function eE(e){let t;return(t=e[e.length-1]<65536?new Uint16Array(e.length):new Uint32Array(e.length)).set(e,0),t}class eI{constructor(e,t,i,n,s){this.lineStarts=e,this.cr=t,this.lf=i,this.crlf=n,this.isBasicASCII=s}}function eT(e,t=!0){let i=[0],n=1;for(let t=0,s=e.length;t(e!==ef&&this._pieces.push(e.piece),!0))}read(){return 0===this._pieces.length?0===this._index?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:0===this._index?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}class eP{constructor(e){this._limit=e,this._cache=[]}get(e){for(let t=this._cache.length-1;t>=0;t--){let i=this._cache[t];if(i.nodeStartOffset<=e&&i.nodeStartOffset+i.node.piece.length>=e)return i}return null}get2(e){for(let t=this._cache.length-1;t>=0;t--){let i=this._cache[t];if(i.nodeStartLineNumber&&i.nodeStartLineNumber=e)return i}return null}set(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)}validate(e){let t=!1,i=this._cache;for(let n=0;n=e){i[n]=null,t=!0;continue}}if(t){let e=[];for(let t of i)null!==t&&e.push(t);this._cache=e}}}class eO{constructor(e,t,i){this.create(e,t,i)}create(e,t,i){this._buffers=[new eR("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=ef,this._lineCnt=1,this._length=0,this._EOL=t,this._EOLLength=t.length,this._EOLNormalized=i;let n=null;for(let t=0,i=e.length;t0){e[t].lineStarts||(e[t].lineStarts=eT(e[t].buffer));let i=new eM(t+1,{line:0,column:0},{line:e[t].lineStarts.length-1,column:e[t].buffer.length-e[t].lineStarts[e[t].lineStarts.length-1]},e[t].lineStarts.length-1,e[t].buffer.length);this._buffers.push(e[t]),n=this.rbInsertRight(n,i)}this._searchCache=new eP(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()}normalizeEOL(e){let t=65535-Math.floor(21845),i=2*t,n="",s=0,o=[];if(this.iterate(this.root,r=>{let l=this.getNodeContent(r),a=l.length;if(s<=t||s+a0){let t=n.replace(/\r\n|\r|\n/g,e);o.push(new eR(t,eT(t)))}this.create(o,e,!0)}getEOL(){return this._EOL}setEOL(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)}createSnapshot(e){return new eA(this,e)}getOffsetAt(e,t){let i=0,n=this.root;for(;n!==ef;)if(n.left!==ef&&n.lf_left+1>=e)n=n.left;else if(n.lf_left+n.piece.lineFeedCnt+1>=e){i+=n.size_left;let s=this.getAccumulatedValue(n,e-n.lf_left-2);return i+(s+t-1)}else e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right;return i}getPositionAt(e){e=Math.max(0,e=Math.floor(e));let t=this.root,i=0,n=e;for(;t!==ef;)if(0!==t.size_left&&t.size_left>=e)t=t.left;else if(t.size_left+t.piece.length>=e){let s=this.getIndexOf(t,e-t.size_left);if(i+=t.lf_left+s.index,0===s.index){let e=this.getOffsetAt(i+1,1),t=n-e;return new p.L(i+1,t+1)}return new p.L(i+1,s.remainder+1)}else{if(e-=t.size_left+t.piece.length,i+=t.lf_left+t.piece.lineFeedCnt,t.right===ef){let t=this.getOffsetAt(i+1,1),s=n-e-t;return new p.L(i+1,s+1)}t=t.right}return new p.L(1,1)}getValueInRange(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";let i=this.nodeAt2(e.startLineNumber,e.startColumn),n=this.nodeAt2(e.endLineNumber,e.endColumn),s=this.getValueInRange2(i,n);return t?t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?s:s.replace(/\r\n|\r|\n/g,t):s}getValueInRange2(e,t){if(e.node===t.node){let i=e.node,n=this._buffers[i.piece.bufferIndex].buffer,s=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);return n.substring(s+e.remainder,s+t.remainder)}let i=e.node,n=this._buffers[i.piece.bufferIndex].buffer,s=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start),o=n.substring(s+e.remainder,s+i.piece.length);for(i=i.next();i!==ef;){let e=this._buffers[i.piece.bufferIndex].buffer,n=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);if(i===t.node){o+=e.substring(n,n+t.remainder);break}o+=e.substr(n,i.piece.length),i=i.next()}return o}getLinesContent(){let e=[],t=0,i="",n=!1;return this.iterate(this.root,s=>{if(s===ef)return!0;let o=s.piece,r=o.length;if(0===r)return!0;let l=this._buffers[o.bufferIndex].buffer,a=this._buffers[o.bufferIndex].lineStarts,d=o.start.line,h=o.end.line,u=a[d]+o.start.column;if(n&&(10===l.charCodeAt(u)&&(u++,r--),e[t++]=i,i="",n=!1,0===r))return!0;if(d===h)return this._EOLNormalized||13!==l.charCodeAt(u+r-1)?i+=l.substr(u,r):(n=!0,i+=l.substr(u,r-1)),!0;i+=this._EOLNormalized?l.substring(u,Math.max(u,a[d+1]-this._EOLLength)):l.substring(u,a[d+1]).replace(/(\r\n|\r|\n)$/,""),e[t++]=i;for(let n=d+1;ne+_,t.reset(0)):(c=p.buffer,g=e=>e,t.reset(_));do if(u=t.next(c)){if(g(u.index)>=v)return d;this.positionInBuffer(e,g(u.index)-f,b);let t=this.getLineFeedCnt(e.piece.bufferIndex,s,b),o=b.line===s.line?b.column-s.column+n:b.column+1,r=o+u[0].length;if(h[d++]=(0,eN.iE)(new m.e(i+t,o,i+t,r),u,l),g(u.index)+u[0].length>=v)return d;if(d>=a)break}while(u);return d}findMatchesLineByLine(e,t,i,n){let s=[],o=0,r=new eN.sz(t.wordSeparators,t.regex),l=this.nodeAt2(e.startLineNumber,e.startColumn);if(null===l)return[];let a=this.nodeAt2(e.endLineNumber,e.endColumn);if(null===a)return[];let d=this.positionInBuffer(l.node,l.remainder),h=this.positionInBuffer(a.node,a.remainder);if(l.node===a.node)return this.findMatchesInNode(l.node,r,e.startLineNumber,e.startColumn,d,h,t,i,n,o,s),s;let u=e.startLineNumber,c=l.node;for(;c!==a.node;){let a=this.getLineFeedCnt(c.piece.bufferIndex,d,c.piece.end);if(a>=1){let l=this._buffers[c.piece.bufferIndex].lineStarts,h=this.offsetInBuffer(c.piece.bufferIndex,c.piece.start),g=l[d.line+a],p=u===e.startLineNumber?e.startColumn:1;if((o=this.findMatchesInNode(c,r,u,p,d,this.positionInBuffer(c,g-h),t,i,n,o,s))>=n)return s;u+=a}let h=u===e.startLineNumber?e.startColumn-1:0;if(u===e.endLineNumber){let l=this.getLineContent(u).substring(h,e.endColumn-1);return o=this._findMatchesInLine(t,r,l,e.endLineNumber,h,o,s,i,n),s}if((o=this._findMatchesInLine(t,r,this.getLineContent(u).substr(h),u,h,o,s,i,n))>=n)return s;u++,c=(l=this.nodeAt2(u,1)).node,d=this.positionInBuffer(l.node,l.remainder)}if(u===e.endLineNumber){let l=u===e.startLineNumber?e.startColumn-1:0,a=this.getLineContent(u).substring(l,e.endColumn-1);return o=this._findMatchesInLine(t,r,a,e.endLineNumber,l,o,s,i,n),s}let g=u===e.startLineNumber?e.startColumn:1;return o=this.findMatchesInNode(a.node,r,u,g,d,h,t,i,n,o,s),s}_findMatchesInLine(e,t,i,n,s,o,r,l,a){let d;let h=e.wordSeparators;if(!l&&e.simpleSearch){let t=e.simpleSearch,l=t.length,d=i.length,u=-l;for(;-1!==(u=i.indexOf(t,u+l))&&(!(!h||(0,eN.cM)(h,i,d,u,l))||(r[o++]=new C.tk(new m.e(n,u+1+s,n,u+1+l+s),null),!(o>=a))););return o}t.reset(0);do if((d=t.next(i))&&(r[o++]=(0,eN.iE)(new m.e(n,d.index+1+s,n,d.index+1+d[0].length+s),d,l),o>=a))break;while(d);return o}insert(e,t,i=!1){if(this._EOLNormalized=this._EOLNormalized&&i,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==ef){let{node:i,remainder:n,nodeStartOffset:s}=this.nodeAt(e),o=i.piece,r=o.bufferIndex,l=this.positionInBuffer(i,n);if(0===i.piece.bufferIndex&&o.end.line===this._lastChangeBufferPos.line&&o.end.column===this._lastChangeBufferPos.column&&s+o.length===e&&t.length<65535){this.appendToNode(i,t),this.computeBufferMetadata();return}if(s===e)this.insertContentToNodeLeft(t,i),this._searchCache.validate(e);else if(s+i.piece.length>e){let e=[],s=new eM(o.bufferIndex,l,o.end,this.getLineFeedCnt(o.bufferIndex,l,o.end),this.offsetInBuffer(r,o.end)-this.offsetInBuffer(r,l));if(this.shouldCheckCRLF()&&this.endWithCR(t)){let e=this.nodeCharCodeAt(i,n);if(10===e){let e={line:s.start.line+1,column:0};s=new eM(s.bufferIndex,e,s.end,this.getLineFeedCnt(s.bufferIndex,e,s.end),s.length-1),t+="\n"}}if(this.shouldCheckCRLF()&&this.startWithLF(t)){let s=this.nodeCharCodeAt(i,n-1);if(13===s){let s=this.positionInBuffer(i,n-1);this.deleteNodeTail(i,s),t="\r"+t,0===i.piece.length&&e.push(i)}else this.deleteNodeTail(i,l)}else this.deleteNodeTail(i,l);let a=this.createNewPieces(t);s.length>0&&this.rbInsertRight(i,s);let d=i;for(let e=0;e=0;e--)s=this.rbInsertLeft(s,n[e]);this.validateCRLFWithPrevNode(s),this.deleteNodes(i)}insertContentToNodeRight(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+="\n");let i=this.createNewPieces(e),n=this.rbInsertRight(t,i[0]),s=n;for(let e=1;e=u)a=h+1;else break;return i?(i.line=h,i.column=l-c,null):{line:h,column:l-c}}getLineFeedCnt(e,t,i){if(0===i.column)return i.line-t.line;let n=this._buffers[e].lineStarts;if(i.line===n.length-1)return i.line-t.line;let s=n[i.line+1],o=n[i.line]+i.column;if(s>o+1)return i.line-t.line;let r=this._buffers[e].buffer;return 13===r.charCodeAt(o-1)?i.line-t.line+1:i.line-t.line}offsetInBuffer(e,t){let i=this._buffers[e].lineStarts;return i[t.line]+t.column}deleteNodes(e){for(let t=0;t65535){let t=[];for(;e.length>65535;){let i;let n=e.charCodeAt(65534);13===n||n>=55296&&n<=56319?(i=e.substring(0,65534),e=e.substring(65534)):(i=e.substring(0,65535),e=e.substring(65535));let s=eT(i);t.push(new eM(this._buffers.length,{line:0,column:0},{line:s.length-1,column:i.length-s[s.length-1]},s.length-1,i.length)),this._buffers.push(new eR(i,s))}let i=eT(e);return t.push(new eM(this._buffers.length,{line:0,column:0},{line:i.length-1,column:e.length-i[i.length-1]},i.length-1,e.length)),this._buffers.push(new eR(e,i)),t}let t=this._buffers[0].buffer.length,i=eT(e,!1),n=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===t&&0!==t&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},n=this._lastChangeBufferPos;for(let e=0;e=e-1)i=i.left;else if(i.lf_left+i.piece.lineFeedCnt>e-1){let n=this.getAccumulatedValue(i,e-i.lf_left-2),r=this.getAccumulatedValue(i,e-i.lf_left-1),l=this._buffers[i.piece.bufferIndex].buffer,a=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);return s+=i.size_left,this._searchCache.set({node:i,nodeStartOffset:s,nodeStartLineNumber:o-(e-1-i.lf_left)}),l.substring(a+n,a+r-t)}else if(i.lf_left+i.piece.lineFeedCnt===e-1){let t=this.getAccumulatedValue(i,e-i.lf_left-2),s=this._buffers[i.piece.bufferIndex].buffer,o=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);n=s.substring(o+t,o+i.piece.length);break}else e-=i.lf_left+i.piece.lineFeedCnt,s+=i.size_left+i.piece.length,i=i.right}for(i=i.next();i!==ef;){let e=this._buffers[i.piece.bufferIndex].buffer;if(i.piece.lineFeedCnt>0){let s=this.getAccumulatedValue(i,0),o=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);n+=e.substring(o,o+s-t);break}{let t=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);n+=e.substr(t,i.piece.length)}i=i.next()}return n}computeBufferMetadata(){let e=this.root,t=1,i=0;for(;e!==ef;)t+=e.lf_left+e.piece.lineFeedCnt,i+=e.size_left+e.piece.length,e=e.right;this._lineCnt=t,this._length=i,this._searchCache.validate(this._length)}getIndexOf(e,t){let i=e.piece,n=this.positionInBuffer(e,t),s=n.line-i.start.line;if(this.offsetInBuffer(i.bufferIndex,i.end)-this.offsetInBuffer(i.bufferIndex,i.start)===t){let t=this.getLineFeedCnt(e.piece.bufferIndex,i.start,n);if(t!==s)return{index:t,remainder:0}}return{index:s,remainder:n.column}}getAccumulatedValue(e,t){if(t<0)return 0;let i=e.piece,n=this._buffers[i.bufferIndex].lineStarts,s=i.start.line+t+1;return s>i.end.line?n[i.end.line]+i.end.column-n[i.start.line]-i.start.column:n[s]-n[i.start.line]-i.start.column}deleteNodeTail(e,t){let i=e.piece,n=i.lineFeedCnt,s=this.offsetInBuffer(i.bufferIndex,i.end),o=this.offsetInBuffer(i.bufferIndex,t),r=this.getLineFeedCnt(i.bufferIndex,i.start,t),l=r-n,a=o-s,d=i.length+a;e.piece=new eM(i.bufferIndex,i.start,t,r,d),eD(this,e,a,l)}deleteNodeHead(e,t){let i=e.piece,n=i.lineFeedCnt,s=this.offsetInBuffer(i.bufferIndex,i.start),o=this.getLineFeedCnt(i.bufferIndex,t,i.end),r=this.offsetInBuffer(i.bufferIndex,t),l=o-n,a=s-r,d=i.length+a;e.piece=new eM(i.bufferIndex,t,i.end,o,d),eD(this,e,a,l)}shrinkNode(e,t,i){let n=e.piece,s=n.start,o=n.end,r=n.length,l=n.lineFeedCnt,a=this.getLineFeedCnt(n.bufferIndex,n.start,t),d=this.offsetInBuffer(n.bufferIndex,t)-this.offsetInBuffer(n.bufferIndex,s);e.piece=new eM(n.bufferIndex,n.start,t,a,d),eD(this,e,d-r,a-l);let h=new eM(n.bufferIndex,i,o,this.getLineFeedCnt(n.bufferIndex,i,o),this.offsetInBuffer(n.bufferIndex,o)-this.offsetInBuffer(n.bufferIndex,i)),u=this.rbInsertRight(e,h);this.validateCRLFWithPrevNode(u)}appendToNode(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");let i=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),n=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;let s=eT(t,!1);for(let e=0;ee)t=t.left;else if(t.size_left+t.piece.length>=e){n+=t.size_left;let i={node:t,remainder:e-t.size_left,nodeStartOffset:n};return this._searchCache.set(i),i}else e-=t.size_left+t.piece.length,n+=t.size_left+t.piece.length,t=t.right;return null}nodeAt2(e,t){let i=this.root,n=0;for(;i!==ef;)if(i.left!==ef&&i.lf_left>=e-1)i=i.left;else if(i.lf_left+i.piece.lineFeedCnt>e-1){let s=this.getAccumulatedValue(i,e-i.lf_left-2),o=this.getAccumulatedValue(i,e-i.lf_left-1);return n+=i.size_left,{node:i,remainder:Math.min(s+t-1,o),nodeStartOffset:n}}else if(i.lf_left+i.piece.lineFeedCnt===e-1){let s=this.getAccumulatedValue(i,e-i.lf_left-2);if(s+t-1<=i.piece.length)return{node:i,remainder:s+t-1,nodeStartOffset:n};t-=i.piece.length-s;break}else e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right;for(i=i.next();i!==ef;){if(i.piece.lineFeedCnt>0){let e=this.getAccumulatedValue(i,0),n=this.offsetOfNode(i);return{node:i,remainder:Math.min(t-1,e),nodeStartOffset:n}}if(i.piece.length>=t-1){let e=this.offsetOfNode(i);return{node:i,remainder:t-1,nodeStartOffset:e}}t-=i.piece.length,i=i.next()}return null}nodeCharCodeAt(e,t){if(e.piece.lineFeedCnt<1)return -1;let i=this._buffers[e.piece.bufferIndex],n=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return i.buffer.charCodeAt(n)}offsetOfNode(e){if(!e)return 0;let t=e.size_left;for(;e!==this.root;)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t}shouldCheckCRLF(){return!(this._EOLNormalized&&"\n"===this._EOL)}startWithLF(e){if("string"==typeof e)return 10===e.charCodeAt(0);if(e===ef||0===e.piece.lineFeedCnt)return!1;let t=e.piece,i=this._buffers[t.bufferIndex].lineStarts,n=t.start.line,s=i[n]+t.start.column;if(n===i.length-1)return!1;let o=i[n+1];return!(o>s+1)&&10===this._buffers[t.bufferIndex].buffer.charCodeAt(s)}endWithCR(e){return"string"==typeof e?13===e.charCodeAt(e.length-1):e!==ef&&0!==e.piece.lineFeedCnt&&13===this.nodeCharCodeAt(e,e.piece.length-1)}validateCRLFWithPrevNode(e){if(this.shouldCheckCRLF()&&this.startWithLF(e)){let t=e.prev();this.endWithCR(t)&&this.fixCRLF(t,e)}}validateCRLFWithNextNode(e){if(this.shouldCheckCRLF()&&this.endWithCR(e)){let t=e.next();this.startWithLF(t)&&this.fixCRLF(e,t)}}fixCRLF(e,t){let i;let n=[],s=this._buffers[e.piece.bufferIndex].lineStarts;i=0===e.piece.end.column?{line:e.piece.end.line-1,column:s[e.piece.end.line]-s[e.piece.end.line-1]-1}:{line:e.piece.end.line,column:e.piece.end.column-1};let o=e.piece.length-1,r=e.piece.lineFeedCnt-1;e.piece=new eM(e.piece.bufferIndex,e.piece.start,i,r,o),eD(this,e,-1,-1),0===e.piece.length&&n.push(e);let l={line:t.piece.start.line+1,column:0},a=t.piece.length-1,d=this.getLineFeedCnt(t.piece.bufferIndex,l,t.piece.end);t.piece=new eM(t.piece.bufferIndex,l,t.piece.end,d,a),eD(this,t,-1,-1),0===t.piece.length&&n.push(t);let h=this.createNewPieces("\r\n");this.rbInsertRight(e,h[0]);for(let e=0;ee.sortIndex-t.sortIndex)}this._mightContainRTL=n,this._mightContainUnusualLineTerminators=s,this._mightContainNonBasicASCII=o;let p=this._doApplyEdits(l),m=null;if(t&&c.length>0){c.sort((e,t)=>t.lineNumber-e.lineNumber),m=[];for(let e=0,t=c.length;e0&&c[e-1].lineNumber===t)continue;let i=c[e].oldContent,n=this.getLineContent(t);0!==n.length&&n!==i&&-1===d.LC(n)&&m.push(t)}}return this._onDidChangeContent.fire(),new C.je(g,p,m)}_reduceOperations(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]}_toSingleEditOperation(e){let t=!1,i=e[0].range,n=e[e.length-1].range,s=new m.e(i.startLineNumber,i.startColumn,n.endLineNumber,n.endColumn),o=i.startLineNumber,r=i.startColumn,l=[];for(let i=0,n=e.length;i0&&l.push(n.text),o=s.endLineNumber,r=s.endColumn}let a=l.join(""),[d,h,c]=(0,u.Q)(a);return{sortIndex:0,identifier:e[0].identifier,range:s,rangeOffset:this.getOffsetAt(s.startLineNumber,s.startColumn),rangeLength:this.getValueLengthInRange(s,0),text:a,eolCount:d,firstLineLength:h,lastLineLength:c,forceMoveMarkers:t,isAutoWhitespaceEdit:!1}}_doApplyEdits(e){e.sort(eB._sortOpsDescending);let t=[];for(let i=0;i0){let e=d.eolCount+1;a=1===e?new m.e(r,l,r,l+d.firstLineLength):new m.e(r,l,r+e-1,d.lastLineLength+1)}else a=new m.e(r,l,r,l);i=a.endLineNumber,n=a.endColumn,t.push(a),s=d}return t}static _sortOpsAscending(e,t){let i=m.e.compareRangesUsingEnds(e.range,t.range);return 0===i?e.sortIndex-t.sortIndex:i}static _sortOpsDescending(e,t){let i=m.e.compareRangesUsingEnds(e.range,t.range);return 0===i?t.sortIndex-e.sortIndex:-i}}class eW{constructor(e,t,i,n,s,o,r,l,a){this._chunks=e,this._bom=t,this._cr=i,this._lf=n,this._crlf=s,this._containsRTL=o,this._containsUnusualLineTerminators=r,this._isBasicASCII=l,this._normalizeEOL=a}_getEOL(e){let t=this._cr+this._lf+this._crlf,i=this._cr+this._crlf;return 0===t?1===e?"\n":"\r\n":i>t/2?"\r\n":"\n"}create(e){let t=this._getEOL(e),i=this._chunks;if(this._normalizeEOL&&("\r\n"===t&&(this._cr>0||this._lf>0)||"\n"===t&&(this._cr>0||this._crlf>0)))for(let e=0,n=i.length;e=55296&&t<=56319?(this._acceptChunk1(e.substr(0,e.length-1),!1),this._hasPreviousChar=!0,this._previousChar=t):(this._acceptChunk1(e,!1),this._hasPreviousChar=!1,this._previousChar=t)}_acceptChunk1(e,t){(t||0!==e.length)&&(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+e):this._acceptChunk2(e))}_acceptChunk2(e){let t=function(e,t){e.length=0,e[0]=0;let i=1,n=0,s=0,o=0,r=!0;for(let l=0,a=t.length;l126)&&(r=!1)}let l=new eI(eE(e),n,s,o,r);return e.length=0,l}(this._tmpLineStarts,e);this.chunks.push(new eR(e,t.lineStarts)),this.cr+=t.cr,this.lf+=t.lf,this.crlf+=t.crlf,t.isBasicASCII||(this.isBasicASCII=!1,this.containsRTL||(this.containsRTL=d.Ut(e)),this.containsUnusualLineTerminators||(this.containsUnusualLineTerminators=d.ab(e)))}finish(e=!0){return this._finish(),new eW(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.containsUnusualLineTerminators,this.isBasicASCII,e)}_finish(){if(0===this.chunks.length&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;let e=this.chunks[this.chunks.length-1];e.buffer+=String.fromCharCode(this._previousChar);let t=eT(e.buffer);e.lineStarts=t,13===this._previousChar&&this.cr++}}}var eV=i(15393),ez=i(270),eK=i(43155),eU=i(94954),e$=i(1432),eq=i(84013),ej=i(19247),eG=i(276);class eQ{constructor(e){this._default=e,this._store=[]}get(e){return e=this._store.length;)this._store[this._store.length]=this._default;this._store[e]=t}replace(e,t,i){if(e>=this._store.length)return;if(0===t){this.insert(e,i);return}if(0===i){this.delete(e,t);return}let n=this._store.slice(0,e),s=this._store.slice(e+t),o=function(e,t){let i=[];for(let n=0;n=this._store.length||this._store.splice(e,t)}insert(e,t){if(0===t||e>=this._store.length)return;let i=[];for(let e=0;e0){let i=this._tokens[this._tokens.length-1];if(i.endLineNumber+1===e){i.appendLineTokens(t);return}}this._tokens.push(new eZ(e,[t]))}finalize(){return this._tokens}}var eJ=i(77378);class eX{constructor(e,t){this.tokenizationSupport=t,this.initialState=this.tokenizationSupport.getInitialState(),this.store=new e1(e)}getStartState(e){return this.store.getStartState(e,this.initialState)}getFirstInvalidLine(){return this.store.getFirstInvalidLine(this.initialState)}}class e0 extends eX{constructor(e,t,i,n){super(e,t),this._textModel=i,this._languageIdCodec=n}updateTokensUntilLine(e,t){let i=this._textModel.getLanguageId();for(;;){let n=this.getFirstInvalidLine();if(!n||n.lineNumber>t)break;let s=this._textModel.getLineContent(n.lineNumber),o=e4(this._languageIdCodec,i,this.tokenizationSupport,s,!0,n.startState);e.add(n.lineNumber,o.tokens),this.store.setEndState(n.lineNumber,o.endState)}}getTokenTypeIfInsertingCharacter(e,t){let i=this.getStartState(e.lineNumber);if(!i)return 0;let n=this._textModel.getLanguageId(),s=this._textModel.getLineContent(e.lineNumber),o=s.substring(0,e.column-1)+t+s.substring(e.column-1),r=e4(this._languageIdCodec,n,this.tokenizationSupport,o,!0,i),l=new eJ.A(r.tokens,o,this._languageIdCodec);if(0===l.getCount())return 0;let a=l.findTokenIndexAtOffset(e.column-1);return l.getStandardTokenType(a)}tokenizeLineWithEdit(e,t,i){let n=e.lineNumber,s=e.column,o=this.getStartState(n);if(!o)return null;let r=this._textModel.getLineContent(n),l=r.substring(0,s-1)+i+r.substring(s-1+t),a=this._textModel.getLanguageIdAtPosition(n,0),d=e4(this._languageIdCodec,a,this.tokenizationSupport,l,!0,o),h=new eJ.A(d.tokens,l,this._languageIdCodec);return h}hasAccurateTokensForLine(e){let t=this.store.getFirstInvalidEndStateLineNumberOrMax();return ethis._textModel.getLineLength(e))}tokenizeHeuristically(e,t,i){if(i<=this.store.getFirstInvalidEndStateLineNumberOrMax())return{heuristicTokens:!1};if(t<=this.store.getFirstInvalidEndStateLineNumberOrMax())return this.updateTokensUntilLine(e,i),{heuristicTokens:!1};let n=this.guessStartState(t),s=this._textModel.getLanguageId();for(let o=t;o<=i;o++){let t=this._textModel.getLineContent(o),i=e4(this._languageIdCodec,s,this.tokenizationSupport,t,!0,n);e.add(o,i.tokens),n=i.endState}return{heuristicTokens:!0}}guessStartState(e){let t=this._textModel.getLineFirstNonWhitespaceColumn(e),i=[],n=null;for(let s=e-1;t>1&&s>=1;s--){let e=this._textModel.getLineFirstNonWhitespaceColumn(s);if(0!==e&&e0&&i>0&&(i--,t--),this._lineEndStates.replace(e.startLineNumber,i,t)}}class e5{constructor(){this._ranges=[]}get min(){return 0===this._ranges.length?null:this._ranges[0].start}delete(e){let t=this._ranges.findIndex(t=>t.contains(e));if(-1!==t){let i=this._ranges[t];i.start===e?i.endExclusive===e+1?this._ranges.splice(t,1):this._ranges[t]=new ej.q(e+1,i.endExclusive):i.endExclusive===e+1?this._ranges[t]=new ej.q(i.start,e):this._ranges.splice(t,1,new ej.q(i.start,e),new ej.q(e+1,i.endExclusive))}}addRange(e){ej.q.addRange(e,this._ranges)}addRangeAndResize(e,t){let i=0;for(;!(i>=this._ranges.length||e.start<=this._ranges[i].endExclusive);)i++;let n=i;for(;!(n>=this._ranges.length||e.endExclusivee.toString()).join(" + ")}}function e4(e,t,i,n,s,o){let l=null;if(i)try{l=i.tokenizeEncoded(n,s,o.clone())}catch(e){(0,r.dL)(e)}return l||(l=(0,eG.Dy)(e.encodeLanguageId(t),o)),eJ.A.convertToEndOffset(l.tokens,n.length),l}class e3{constructor(e,t){this._tokenizerWithStateStore=e,this._backgroundTokenStore=t,this._isDisposed=!1,this._isScheduled=!1}dispose(){this._isDisposed=!0}handleChanges(){this._beginBackgroundTokenization()}_beginBackgroundTokenization(){!this._isScheduled&&this._tokenizerWithStateStore._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&(this._isScheduled=!0,(0,eV.jg)(e=>{this._isScheduled=!1,this._backgroundTokenizeWithDeadline(e)}))}_backgroundTokenizeWithDeadline(e){let t=Date.now()+e.timeRemaining(),i=()=>{!this._isDisposed&&this._tokenizerWithStateStore._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&(this._backgroundTokenizeForAtLeast1ms(),Date.now()1)break;let n=this._tokenizeOneInvalidLine(t);if(n>=e)break}while(this._hasLinesToTokenize());this._backgroundTokenStore.setTokens(t.finalize()),this.checkFinished()}_hasLinesToTokenize(){return!!this._tokenizerWithStateStore&&!this._tokenizerWithStateStore.store.allStatesValid()}_tokenizeOneInvalidLine(e){var t;let i=null===(t=this._tokenizerWithStateStore)||void 0===t?void 0:t.getFirstInvalidLine();return i?(this._tokenizerWithStateStore.updateTokensUntilLine(e,i.lineNumber),i.lineNumber):this._tokenizerWithStateStore._textModel.getLineCount()+1}checkFinished(){!this._isDisposed&&this._tokenizerWithStateStore.store.allStatesValid()&&this._backgroundTokenStore.backgroundTokenizationFinished()}requestTokens(e,t){this._tokenizerWithStateStore.store.invalidateEndStateRange(new g.z(e,t))}}let e6=new Uint32Array(0).buffer;class e9{static deleteBeginning(e,t){return null===e||e===e6?e:e9.delete(e,0,t)}static deleteEnding(e,t){if(null===e||e===e6)return e;let i=e7(e),n=i[i.length-2];return e9.delete(e,t,n)}static delete(e,t,i){let n,s;if(null===e||e===e6||t===i)return e;let o=e7(e),r=o.length>>>1;if(0===t&&o[o.length-2]===i)return e6;let l=eJ.A.findIndexInTokensArray(o,t),a=l>0?o[l-1<<1]:0,d=o[l<<1];if(is&&(o[n++]=t,o[n++]=o[(e<<1)+1],s=t)}if(n===o.length)return e;let u=new Uint32Array(n);return u.set(o.subarray(0,n),0),u.buffer}static append(e,t){if(t===e6)return e;if(e===e6)return t;if(null===e)return e;if(null===t)return null;let i=e7(e),n=e7(t),s=n.length>>>1,o=new Uint32Array(i.length+n.length);o.set(i,0);let r=i.length,l=i[i.length-2];for(let e=0;e>>1,o=eJ.A.findIndexInTokensArray(n,t);if(o>0){let e=n[o-1<<1];e===t&&o--}for(let e=o;e0}getTokens(e,t,i){let n=null;if(t1&&(t=e8.N.getLanguageId(n[1])!==e),!t)return e6}if(!n||0===n.length){let i=new Uint32Array(2);return i[0]=t,i[1]=tt(e),i.buffer}return(n[n.length-2]=t,0===n.byteOffset&&n.byteLength===n.buffer.byteLength)?n.buffer:n}_ensureLine(e){for(;e>=this._len;)this._lineTokens[this._len]=null,this._len++}_deleteLines(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._lineTokens.splice(e,t),this._len-=t)}_insertLines(e,t){if(0===t)return;let i=[];for(let e=0;e=this._len)return;if(e.startLineNumber===e.endLineNumber){if(e.startColumn===e.endColumn)return;this._lineTokens[t]=e9.delete(this._lineTokens[t],e.startColumn-1,e.endColumn-1);return}this._lineTokens[t]=e9.deleteEnding(this._lineTokens[t],e.startColumn-1);let i=e.endLineNumber-1,n=null;i=this._len)){if(0===t){this._lineTokens[n]=e9.insert(this._lineTokens[n],e.column-1,i);return}this._lineTokens[n]=e9.deleteEnding(this._lineTokens[n],e.column-1),this._lineTokens[n]=e9.insert(this._lineTokens[n],e.column-1,i),this._insertLines(e.lineNumber,t)}}setMultilineTokens(e,t){if(0===e.length)return{changes:[]};let i=[];for(let n=0,s=e.length;n>>0}class ti{constructor(e){this._pieces=[],this._isComplete=!1,this._languageIdCodec=e}flush(){this._pieces=[],this._isComplete=!1}isEmpty(){return 0===this._pieces.length}set(e,t){this._pieces=e||[],this._isComplete=t}setPartial(e,t){let i=e;if(t.length>0){let n=t[0].getRange(),s=t[t.length-1].getRange();if(!n||!s)return e;i=e.plusRange(n).plusRange(s)}let n=null;for(let e=0,t=this._pieces.length;ei.endLineNumber){n=n||{index:e};break}if(s.removeTokens(i),s.isEmpty()){this._pieces.splice(e,1),e--,t--;continue}if(s.endLineNumberi.endLineNumber){n=n||{index:e};continue}let[o,r]=s.split(i);if(o.isEmpty()){n=n||{index:e};continue}r.isEmpty()||(this._pieces.splice(e,1,o,r),e++,t++,n=n||{index:e})}return n=n||{index:this._pieces.length},t.length>0&&(this._pieces=s.Zv(this._pieces,n.index,t)),i}isComplete(){return this._isComplete}addSparseTokens(e,t){if(0===t.getLineContent().length)return t;let i=this._pieces;if(0===i.length)return t;let n=ti._findFirstPieceWithLine(i,e),s=i[n].getLineTokens(e);if(!s)return t;let o=t.getCount(),r=s.getCount(),l=0,a=[],d=0,h=0,u=(e,t)=>{e!==h&&(h=e,a[d++]=e,a[d++]=t)};for(let e=0;e>>0,d=~a>>>0;for(;lt)n=s-1;else{for(;s>i&&e[s-1].startLineNumber<=t&&t<=e[s-1].endLineNumber;)s--;return s}}return i}acceptEdit(e,t,i,n,s){for(let o of this._pieces)o.acceptEdit(e,t,i,n,s)}}class tn extends eU.U{constructor(e,t,i,n,s,o){super(),this._languageService=e,this._languageConfigurationService=t,this._textModel=i,this._bracketPairsTextModelPart=n,this._languageId=s,this._attachedViews=o,this._semanticTokens=new ti(this._languageService.languageIdCodec),this._onDidChangeLanguage=this._register(new l.Q5),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new l.Q5),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new l.Q5),this.onDidChangeTokens=this._onDidChangeTokens.event,this.grammarTokens=this._register(new ts(this._languageService.languageIdCodec,this._textModel,()=>this._languageId,this._attachedViews)),this._register(this._languageConfigurationService.onDidChange(e=>{e.affects(this._languageId)&&this._onDidChangeLanguageConfiguration.fire({})})),this._register(this.grammarTokens.onDidChangeTokens(e=>{this._emitModelTokensChangedEvent(e)})),this._register(this.grammarTokens.onDidChangeBackgroundTokenizationState(e=>{this._bracketPairsTextModelPart.handleDidChangeBackgroundTokenizationState()}))}handleDidChangeContent(e){if(e.isFlush)this._semanticTokens.flush();else if(!e.isEolChange)for(let t of e.changes){let[e,i,n]=(0,u.Q)(t.text);this._semanticTokens.acceptEdit(t.range,e,i,n,t.text.length>0?t.text.charCodeAt(0):0)}this.grammarTokens.handleDidChangeContent(e)}handleDidChangeAttached(){this.grammarTokens.handleDidChangeAttached()}getLineTokens(e){this.validateLineNumber(e);let t=this.grammarTokens.getLineTokens(e);return this._semanticTokens.addSparseTokens(e,t)}_emitModelTokensChangedEvent(e){this._textModel._isDisposing()||(this._bracketPairsTextModelPart.handleDidChangeTokens(e),this._onDidChangeTokens.fire(e))}validateLineNumber(e){if(e<1||e>this._textModel.getLineCount())throw new r.he("Illegal value for lineNumber")}get hasTokens(){return this.grammarTokens.hasTokens}resetTokenization(){this.grammarTokens.resetTokenization()}get backgroundTokenizationState(){return this.grammarTokens.backgroundTokenizationState}forceTokenization(e){this.validateLineNumber(e),this.grammarTokens.forceTokenization(e)}hasAccurateTokensForLine(e){return this.validateLineNumber(e),this.grammarTokens.hasAccurateTokensForLine(e)}isCheapToTokenize(e){return this.validateLineNumber(e),this.grammarTokens.isCheapToTokenize(e)}tokenizeIfCheap(e){this.validateLineNumber(e),this.grammarTokens.tokenizeIfCheap(e)}getTokenTypeIfInsertingCharacter(e,t,i){return this.grammarTokens.getTokenTypeIfInsertingCharacter(e,t,i)}tokenizeLineWithEdit(e,t,i){return this.grammarTokens.tokenizeLineWithEdit(e,t,i)}setSemanticTokens(e,t){this._semanticTokens.set(e,t),this._emitModelTokensChangedEvent({semanticTokensApplied:null!==e,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]})}hasCompleteSemanticTokens(){return this._semanticTokens.isComplete()}hasSomeSemanticTokens(){return!this._semanticTokens.isEmpty()}setPartialSemanticTokens(e,t){if(this.hasCompleteSemanticTokens())return;let i=this._textModel.validateRange(this._semanticTokens.setPartial(e,t));this._emitModelTokensChangedEvent({semanticTokensApplied:!0,ranges:[{fromLineNumber:i.startLineNumber,toLineNumber:i.endLineNumber}]})}getWordAtPosition(e){this.assertNotDisposed();let t=this._textModel.validatePosition(e),i=this._textModel.getLineContent(t.lineNumber),n=this.getLineTokens(t.lineNumber),s=n.findTokenIndexAtOffset(t.column-1),[o,r]=tn._findLanguageBoundaries(n,s),l=(0,ez.t2)(t.column,this.getLanguageConfiguration(n.getLanguageId(s)).getWordDefinition(),i.substring(o,r),o);if(l&&l.startColumn<=e.column&&e.column<=l.endColumn)return l;if(s>0&&o===t.column-1){let[o,r]=tn._findLanguageBoundaries(n,s-1),l=(0,ez.t2)(t.column,this.getLanguageConfiguration(n.getLanguageId(s-1)).getWordDefinition(),i.substring(o,r),o);if(l&&l.startColumn<=e.column&&e.column<=l.endColumn)return l}return null}getLanguageConfiguration(e){return this._languageConfigurationService.getLanguageConfiguration(e)}static _findLanguageBoundaries(e,t){let i=e.getLanguageId(t),n=0;for(let s=t;s>=0&&e.getLanguageId(s)===i;s--)n=e.getStartOffset(s);let s=e.getLineContent().length;for(let n=t,o=e.getCount();n{let t=this.getLanguageId();-1!==e.changedLanguages.indexOf(t)&&this.resetTokenization()})),this.resetTokenization(),this._register(n.onDidChangeVisibleRanges(({view:e,state:t})=>{if(t){let i=this._attachedViewStates.get(e);i||(i=new to(()=>this.refreshRanges(i.lineRanges)),this._attachedViewStates.set(e,i)),i.handleStateChange(t)}else this._attachedViewStates.deleteAndDispose(e)}))}resetTokenization(e=!0){var t;this._tokens.flush(),null===(t=this._debugBackgroundTokens)||void 0===t||t.flush(),this._debugBackgroundStates&&(this._debugBackgroundStates=new e1(this._textModel.getLineCount())),e&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]});let[i,n]=(()=>{let e;if(this._textModel.isTooLargeForTokenization())return[null,null];let t=eK.RW.get(this.getLanguageId());if(!t)return[null,null];try{e=t.getInitialState()}catch(e){return(0,r.dL)(e),[null,null]}return[t,e]})();if(i&&n?this._tokenizer=new e0(this._textModel.getLineCount(),i,this._textModel,this._languageIdCodec):this._tokenizer=null,this._backgroundTokenizer.clear(),this._defaultBackgroundTokenizer=null,this._tokenizer){let e={setTokens:e=>{this.setTokens(e)},backgroundTokenizationFinished:()=>{2!==this._backgroundTokenizationState&&(this._backgroundTokenizationState=2,this._onDidChangeBackgroundTokenizationState.fire())},setEndState:(e,t)=>{var i;if(!this._tokenizer)return;let n=this._tokenizer.store.getFirstInvalidEndStateLineNumber();null!==n&&e>=n&&(null===(i=this._tokenizer)||void 0===i||i.store.setEndState(e,t))}};i&&i.createBackgroundTokenizer&&!i.backgroundTokenizerShouldOnlyVerifyTokens&&(this._backgroundTokenizer.value=i.createBackgroundTokenizer(this._textModel,e)),this._backgroundTokenizer.value||this._textModel.isTooLargeForTokenization()||(this._backgroundTokenizer.value=this._defaultBackgroundTokenizer=new e3(this._tokenizer,e),this._defaultBackgroundTokenizer.handleChanges()),(null==i?void 0:i.backgroundTokenizerShouldOnlyVerifyTokens)&&i.createBackgroundTokenizer?(this._debugBackgroundTokens=new te(this._languageIdCodec),this._debugBackgroundStates=new e1(this._textModel.getLineCount()),this._debugBackgroundTokenizer.clear(),this._debugBackgroundTokenizer.value=i.createBackgroundTokenizer(this._textModel,{setTokens:e=>{var t;null===(t=this._debugBackgroundTokens)||void 0===t||t.setMultilineTokens(e,this._textModel)},backgroundTokenizationFinished(){},setEndState:(e,t)=>{var i;null===(i=this._debugBackgroundStates)||void 0===i||i.setEndState(e,t)}})):(this._debugBackgroundTokens=void 0,this._debugBackgroundStates=void 0,this._debugBackgroundTokenizer.value=void 0)}this.refreshAllVisibleLineTokens()}handleDidChangeAttached(){var e;null===(e=this._defaultBackgroundTokenizer)||void 0===e||e.handleChanges()}handleDidChangeContent(e){var t,i,n;if(e.isFlush)this.resetTokenization(!1);else if(!e.isEolChange){for(let i of e.changes){let[e,n]=(0,u.Q)(i.text);this._tokens.acceptEdit(i.range,e,n),null===(t=this._debugBackgroundTokens)||void 0===t||t.acceptEdit(i.range,e,n)}null===(i=this._debugBackgroundStates)||void 0===i||i.acceptChanges(e.changes),this._tokenizer&&this._tokenizer.store.acceptChanges(e.changes),null===(n=this._defaultBackgroundTokenizer)||void 0===n||n.handleChanges()}}setTokens(e){let{changes:t}=this._tokens.setMultilineTokens(e,this._textModel);return t.length>0&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:t}),{changes:t}}refreshAllVisibleLineTokens(){let e=g.z.joinMany([...this._attachedViewStates].map(([e,t])=>t.lineRanges));this.refreshRanges(e)}refreshRanges(e){for(let t of e)this.refreshRange(t.startLineNumber,t.endLineNumberExclusive-1)}refreshRange(e,t){var i,n;if(!this._tokenizer)return;e=Math.max(1,Math.min(this._textModel.getLineCount(),e)),t=Math.min(this._textModel.getLineCount(),t);let s=new eY,{heuristicTokens:o}=this._tokenizer.tokenizeHeuristically(s,e,t),r=this.setTokens(s.finalize());if(o)for(let e of r.changes)null===(i=this._backgroundTokenizer.value)||void 0===i||i.requestTokens(e.fromLineNumber,e.toLineNumber+1);null===(n=this._defaultBackgroundTokenizer)||void 0===n||n.checkFinished()}forceTokenization(e){var t,i;let n=new eY;null===(t=this._tokenizer)||void 0===t||t.updateTokensUntilLine(n,e),this.setTokens(n.finalize()),null===(i=this._defaultBackgroundTokenizer)||void 0===i||i.checkFinished()}hasAccurateTokensForLine(e){return!this._tokenizer||this._tokenizer.hasAccurateTokensForLine(e)}isCheapToTokenize(e){return!this._tokenizer||this._tokenizer.isCheapToTokenize(e)}tokenizeIfCheap(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)}getLineTokens(e){var t;let i=this._textModel.getLineContent(e),n=this._tokens.getTokens(this._textModel.getLanguageId(),e-1,i);if(this._debugBackgroundTokens&&this._debugBackgroundStates&&this._tokenizer&&this._debugBackgroundStates.getFirstInvalidEndStateLineNumberOrMax()>e&&this._tokenizer.store.getFirstInvalidEndStateLineNumberOrMax()>e){let s=this._debugBackgroundTokens.getTokens(this._textModel.getLanguageId(),e-1,i);!n.equals(s)&&(null===(t=this._debugBackgroundTokenizer.value)||void 0===t?void 0:t.reportMismatchingTokens)&&this._debugBackgroundTokenizer.value.reportMismatchingTokens(e)}return n}getTokenTypeIfInsertingCharacter(e,t,i){if(!this._tokenizer)return 0;let n=this._textModel.validatePosition(new p.L(e,t));return this.forceTokenization(n.lineNumber),this._tokenizer.getTokenTypeIfInsertingCharacter(n,i)}tokenizeLineWithEdit(e,t,i){if(!this._tokenizer)return null;let n=this._textModel.validatePosition(e);return this.forceTokenization(n.lineNumber),this._tokenizer.tokenizeLineWithEdit(n,t,i)}get hasTokens(){return this._tokens.hasTokens}}class to extends a.JT{get lineRanges(){return this._lineRanges}constructor(e){super(),this._refreshTokens=e,this.runner=this._register(new eV.pY(()=>this.update(),50)),this._computedLineRanges=[],this._lineRanges=[]}update(){(0,s.fS)(this._computedLineRanges,this._lineRanges,(e,t)=>e.equals(t))||(this._computedLineRanges=this._lineRanges,this._refreshTokens())}handleStateChange(e){this._lineRanges=e.visibleLineRanges,e.stabilized?(this.runner.cancel(),this.update()):this.runner.schedule()}}var tr=i(14706),tl=i(64862),ta=function(e,t){return function(i,n){t(i,n,e)}};function td(e,t){return("string"==typeof e?function(e){let t=new eH;return t.acceptChunk(e),t.finish()}(e):C.Hf(e)?function(e){let t;let i=new eH;for(;"string"==typeof(t=e.read());)i.acceptChunk(t);return i.finish()}(e):e).create(t)}let th=0;class tu{constructor(e){this._source=e,this._eos=!1}read(){if(this._eos)return null;let e=[],t=0,i=0;for(;;){let n=this._source.read();if(null===n){if(this._eos=!0,0===t)return null;return e.join("")}if(n.length>0&&(e[t++]=n,i+=n.length),i>=65536)return e.join("")}}}let tc=()=>{throw Error("Invalid change accessor")},tg=n=class extends a.JT{static resolveOptions(e,t){if(t.detectIndentation){let i=q(e,t.tabSize,t.insertSpaces);return new C.dJ({tabSize:i.tabSize,indentSize:"tabSize",insertSpaces:i.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL,bracketPairColorizationOptions:t.bracketPairColorizationOptions})}return new C.dJ(t)}get onDidChangeLanguage(){return this._tokenizationTextModelPart.onDidChangeLanguage}get onDidChangeLanguageConfiguration(){return this._tokenizationTextModelPart.onDidChangeLanguageConfiguration}get onDidChangeTokens(){return this._tokenizationTextModelPart.onDidChangeTokens}onDidChangeContent(e){return this._eventEmitter.slowEvent(t=>e(t.contentChangedEvent))}onDidChangeContentOrInjectedText(e){return(0,a.F8)(this._eventEmitter.fastEvent(t=>e(t)),this._onDidChangeInjectedText.event(t=>e(t)))}_isDisposing(){return this.__isDisposing}get tokenization(){return this._tokenizationTextModelPart}get bracketPairs(){return this._bracketPairs}get guides(){return this._guidesTextModelPart}constructor(e,t,i,s=null,o,r,u){super(),this._undoRedoService=o,this._languageService=r,this._languageConfigurationService=u,this._onWillDispose=this._register(new l.Q5),this.onWillDispose=this._onWillDispose.event,this._onDidChangeDecorations=this._register(new tD(e=>this.handleBeforeFireDecorationsChangedEvent(e))),this.onDidChangeDecorations=this._onDidChangeDecorations.event,this._onDidChangeOptions=this._register(new l.Q5),this.onDidChangeOptions=this._onDidChangeOptions.event,this._onDidChangeAttached=this._register(new l.Q5),this.onDidChangeAttached=this._onDidChangeAttached.event,this._onDidChangeInjectedText=this._register(new l.Q5),this._eventEmitter=this._register(new tx),this._languageSelectionListener=this._register(new a.XK),this._deltaDecorationCallCnt=0,this._attachedViews=new tN,th++,this.id="$model"+th,this.isForSimpleWidget=i.isForSimpleWidget,null==s?this._associatedResource=h.o.parse("inmemory://model/"+th):this._associatedResource=s,this._attachedEditorCount=0;let{textBuffer:c,disposable:g}=td(e,i.defaultEOL);this._buffer=c,this._bufferDisposable=g,this._options=n.resolveOptions(this._buffer,i);let p="string"==typeof t?t:t.languageId;"string"!=typeof t&&(this._languageSelectionListener.value=t.onDidChange(()=>this._setLanguage(t.languageId))),this._bracketPairs=this._register(new P(this,this._languageConfigurationService)),this._guidesTextModelPart=this._register(new U.l(this,this._languageConfigurationService)),this._decorationProvider=this._register(new V(this)),this._tokenizationTextModelPart=new tn(this._languageService,this._languageConfigurationService,this,this._bracketPairs,p,this._attachedViews);let f=this._buffer.getLineCount(),_=this._buffer.getValueLengthInRange(new m.e(1,1,f,this._buffer.getLineLength(f)+1),0);i.largeFileOptimizations?(this._isTooLargeForTokenization=_>n.LARGE_FILE_SIZE_THRESHOLD||f>n.LARGE_FILE_LINE_COUNT_THRESHOLD,this._isTooLargeForHeapOperation=_>n.LARGE_FILE_HEAP_OPERATION_THRESHOLD):(this._isTooLargeForTokenization=!1,this._isTooLargeForHeapOperation=!1),this._isTooLargeForSyncing=_>n._MODEL_SYNC_LIMIT,this._versionId=1,this._alternativeVersionId=1,this._initialUndoRedoSnapshot=null,this._isDisposed=!1,this.__isDisposing=!1,this._instanceId=d.PJ(th),this._lastDecorationId=0,this._decorations=Object.create(null),this._decorationsTree=new tf,this._commandManager=new K.NL(this,this._undoRedoService),this._isUndoing=!1,this._isRedoing=!1,this._trimAutoWhitespaceLines=null,this._register(this._decorationProvider.onDidChange(()=>{this._onDidChangeDecorations.beginDeferredEmit(),this._onDidChangeDecorations.fire(),this._onDidChangeDecorations.endDeferredEmit()})),this._languageService.requestRichLanguageFeatures(p)}dispose(){this.__isDisposing=!0,this._onWillDispose.fire(),this._tokenizationTextModelPart.dispose(),this._isDisposed=!0,super.dispose(),this._bufferDisposable.dispose(),this.__isDisposing=!1;let e=new eB([],"","\n",!1,!1,!0,!0);e.dispose(),this._buffer=e,this._bufferDisposable=a.JT.None}_assertNotDisposed(){if(this._isDisposed)throw Error("Model is disposed!")}_emitContentChangedEvent(e,t){this.__isDisposing||(this._tokenizationTextModelPart.handleDidChangeContent(t),this._bracketPairs.handleDidChangeContent(t),this._eventEmitter.fire(new tr.fV(e,t)))}setValue(e){if(this._assertNotDisposed(),null==e)throw(0,r.b1)();let{textBuffer:t,disposable:i}=td(e,this._options.defaultEOL);this._setValueFromTextBuffer(t,i)}_createContentChanged2(e,t,i,n,s,o,r,l){return{changes:[{range:e,rangeOffset:t,rangeLength:i,text:n}],eol:this._buffer.getEOL(),isEolChange:l,versionId:this.getVersionId(),isUndoing:s,isRedoing:o,isFlush:r}}_setValueFromTextBuffer(e,t){this._assertNotDisposed();let i=this.getFullModelRange(),n=this.getValueLengthInRange(i),s=this.getLineCount(),o=this.getLineMaxColumn(s);this._buffer=e,this._bufferDisposable.dispose(),this._bufferDisposable=t,this._increaseVersionId(),this._decorations=Object.create(null),this._decorationsTree=new tf,this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new tr.dQ([new tr.Jx],this._versionId,!1,!1),this._createContentChanged2(new m.e(1,1,s,o),0,n,this.getValue(),!1,!1,!0,!1))}setEOL(e){this._assertNotDisposed();let t=1===e?"\r\n":"\n";if(this._buffer.getEOL()===t)return;let i=this.getFullModelRange(),n=this.getValueLengthInRange(i),s=this.getLineCount(),o=this.getLineMaxColumn(s);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new tr.dQ([new tr.CZ],this._versionId,!1,!1),this._createContentChanged2(new m.e(1,1,s,o),0,n,this.getValue(),!1,!1,!1,!0))}_onBeforeEOLChange(){this._decorationsTree.ensureAllNodesHaveRanges(this)}_onAfterEOLChange(){let e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder();for(let i=0,n=t.length;i0}getAttachedEditorCount(){return this._attachedEditorCount}isTooLargeForSyncing(){return this._isTooLargeForSyncing}isTooLargeForTokenization(){return this._isTooLargeForTokenization}isTooLargeForHeapOperation(){return this._isTooLargeForHeapOperation}isDisposed(){return this._isDisposed}isDominatedByLongLines(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;let e=0,t=0,i=this._buffer.getLineCount();for(let n=1;n<=i;n++){let i=this._buffer.getLineLength(n);i>=1e4?t+=i:e+=i}return t>e}get uri(){return this._associatedResource}getOptions(){return this._assertNotDisposed(),this._options}getFormattingOptions(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}}updateOptions(e){this._assertNotDisposed();let t=void 0!==e.tabSize?e.tabSize:this._options.tabSize,i=void 0!==e.indentSize?e.indentSize:this._options.originalIndentSize,n=void 0!==e.insertSpaces?e.insertSpaces:this._options.insertSpaces,s=void 0!==e.trimAutoWhitespace?e.trimAutoWhitespace:this._options.trimAutoWhitespace,o=void 0!==e.bracketColorizationOptions?e.bracketColorizationOptions:this._options.bracketPairColorizationOptions,r=new C.dJ({tabSize:t,indentSize:i,insertSpaces:n,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:s,bracketPairColorizationOptions:o});if(this._options.equals(r))return;let l=this._options.createChangeEvent(r);this._options=r,this._bracketPairs.handleDidChangeOptions(l),this._decorationProvider.handleDidChangeOptions(l),this._onDidChangeOptions.fire(l)}detectIndentation(e,t){this._assertNotDisposed();let i=q(this._buffer,t,e);this.updateOptions({insertSpaces:i.insertSpaces,tabSize:i.tabSize,indentSize:i.tabSize})}normalizeIndentation(e){return this._assertNotDisposed(),(0,c.x)(e,this._options.indentSize,this._options.insertSpaces)}getVersionId(){return this._assertNotDisposed(),this._versionId}mightContainRTL(){return this._buffer.mightContainRTL()}mightContainUnusualLineTerminators(){return this._buffer.mightContainUnusualLineTerminators()}removeUnusualLineTerminators(e=null){let t=this.findMatches(d.Qe.source,!1,!0,!1,null,!1,1073741824);this._buffer.resetMightContainUnusualLineTerminators(),this.pushEditOperations(e,t.map(e=>({range:e.range,text:null})),()=>null)}mightContainNonBasicASCII(){return this._buffer.mightContainNonBasicASCII()}getAlternativeVersionId(){return this._assertNotDisposed(),this._alternativeVersionId}getInitialUndoRedoSnapshot(){return this._assertNotDisposed(),this._initialUndoRedoSnapshot}getOffsetAt(e){this._assertNotDisposed();let t=this._validatePosition(e.lineNumber,e.column,0);return this._buffer.getOffsetAt(t.lineNumber,t.column)}getPositionAt(e){this._assertNotDisposed();let t=Math.min(this._buffer.getLength(),Math.max(0,e));return this._buffer.getPositionAt(t)}_increaseVersionId(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId}_overwriteVersionId(e){this._versionId=e}_overwriteAlternativeVersionId(e){this._alternativeVersionId=e}_overwriteInitialUndoRedoSnapshot(e){this._initialUndoRedoSnapshot=e}getValue(e,t=!1){if(this._assertNotDisposed(),this.isTooLargeForHeapOperation())throw new r.he("Operation would exceed heap memory limits");let i=this.getFullModelRange(),n=this.getValueInRange(i,e);return t?this._buffer.getBOM()+n:n}createSnapshot(e=!1){return new tu(this._buffer.createSnapshot(e))}getValueLength(e,t=!1){this._assertNotDisposed();let i=this.getFullModelRange(),n=this.getValueLengthInRange(i,e);return t?this._buffer.getBOM().length+n:n}getValueInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(e),t)}getValueLengthInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(e),t)}getCharacterCountInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(e),t)}getLineCount(){return this._assertNotDisposed(),this._buffer.getLineCount()}getLineContent(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new r.he("Illegal value for lineNumber");return this._buffer.getLineContent(e)}getLineLength(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new r.he("Illegal value for lineNumber");return this._buffer.getLineLength(e)}getLinesContent(){if(this._assertNotDisposed(),this.isTooLargeForHeapOperation())throw new r.he("Operation would exceed heap memory limits");return this._buffer.getLinesContent()}getEOL(){return this._assertNotDisposed(),this._buffer.getEOL()}getEndOfLineSequence(){return this._assertNotDisposed(),"\n"===this._buffer.getEOL()?0:1}getLineMinColumn(e){return this._assertNotDisposed(),1}getLineMaxColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new r.he("Illegal value for lineNumber");return this._buffer.getLineLength(e)+1}getLineFirstNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new r.he("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(e)}getLineLastNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new r.he("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(e)}_validateRangeRelaxedNoAllocations(e){let t=this._buffer.getLineCount(),i=e.startLineNumber,n=e.startColumn,s=Math.floor("number"!=typeof i||isNaN(i)?1:i),o=Math.floor("number"!=typeof n||isNaN(n)?1:n);if(s<1)s=1,o=1;else if(s>t)s=t,o=this.getLineMaxColumn(s);else if(o<=1)o=1;else{let e=this.getLineMaxColumn(s);o>=e&&(o=e)}let r=e.endLineNumber,l=e.endColumn,a=Math.floor("number"!=typeof r||isNaN(r)?1:r),d=Math.floor("number"!=typeof l||isNaN(l)?1:l);if(a<1)a=1,d=1;else if(a>t)a=t,d=this.getLineMaxColumn(a);else if(d<=1)d=1;else{let e=this.getLineMaxColumn(a);d>=e&&(d=e)}return i===s&&n===o&&r===a&&l===d&&e instanceof m.e&&!(e instanceof f.Y)?e:new m.e(s,o,a,d)}_isValidPosition(e,t,i){if("number"!=typeof e||"number"!=typeof t||isNaN(e)||isNaN(t)||e<1||t<1||(0|e)!==e||(0|t)!==t)return!1;let n=this._buffer.getLineCount();if(e>n)return!1;if(1===t)return!0;let s=this.getLineMaxColumn(e);if(t>s)return!1;if(1===i){let i=this._buffer.getLineCharCode(e,t-2);if(d.ZG(i))return!1}return!0}_validatePosition(e,t,i){let n=Math.floor("number"!=typeof e||isNaN(e)?1:e),s=Math.floor("number"!=typeof t||isNaN(t)?1:t),o=this._buffer.getLineCount();if(n<1)return new p.L(1,1);if(n>o)return new p.L(o,this.getLineMaxColumn(o));if(s<=1)return new p.L(n,1);let r=this.getLineMaxColumn(n);if(s>=r)return new p.L(n,r);if(1===i){let e=this._buffer.getLineCharCode(n,s-2);if(d.ZG(e))return new p.L(n,s-1)}return new p.L(n,s)}validatePosition(e){return(this._assertNotDisposed(),e instanceof p.L&&this._isValidPosition(e.lineNumber,e.column,1))?e:this._validatePosition(e.lineNumber,e.column,1)}_isValidRange(e,t){let i=e.startLineNumber,n=e.startColumn,s=e.endLineNumber,o=e.endColumn;if(!this._isValidPosition(i,n,0)||!this._isValidPosition(s,o,0))return!1;if(1===t){let e=n>1?this._buffer.getLineCharCode(i,n-2):0,t=o>1&&o<=this._buffer.getLineLength(s)?this._buffer.getLineCharCode(s,o-2):0,r=d.ZG(e),l=d.ZG(t);return!r&&!l}return!0}validateRange(e){if(this._assertNotDisposed(),e instanceof m.e&&!(e instanceof f.Y)&&this._isValidRange(e,1))return e;let t=this._validatePosition(e.startLineNumber,e.startColumn,0),i=this._validatePosition(e.endLineNumber,e.endColumn,0),n=t.lineNumber,s=t.column,o=i.lineNumber,r=i.column;{let e=s>1?this._buffer.getLineCharCode(n,s-2):0,t=r>1&&r<=this._buffer.getLineLength(o)?this._buffer.getLineCharCode(o,r-2):0,i=d.ZG(e),l=d.ZG(t);return i||l?n===o&&s===r?new m.e(n,s-1,o,r-1):i&&l?new m.e(n,s-1,o,r+1):i?new m.e(n,s-1,o,r):new m.e(n,s,o,r+1):new m.e(n,s,o,r)}}modifyPosition(e,t){this._assertNotDisposed();let i=this.getOffsetAt(e)+t;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,i)))}getFullModelRange(){this._assertNotDisposed();let e=this.getLineCount();return new m.e(1,1,e,this.getLineMaxColumn(e))}findMatchesLineByLine(e,t,i,n){return this._buffer.findMatchesLineByLine(e,t,i,n)}findMatches(e,t,i,n,s,o,r=999){let l;this._assertNotDisposed();let a=null;null!==t&&(Array.isArray(t)||(t=[t]),t.every(e=>m.e.isIRange(e))&&(a=t.map(e=>this.validateRange(e)))),null===a&&(a=[this.getFullModelRange()]),a=a.sort((e,t)=>e.startLineNumber-t.startLineNumber||e.startColumn-t.startColumn);let d=[];if(d.push(a.reduce((e,t)=>m.e.areIntersecting(e,t)?e.plusRange(t):(d.push(e),t))),!i&&0>e.indexOf("\n")){let t=new eN.bc(e,i,n,s),a=t.parseSearchRequest();if(!a)return[];l=e=>this.findMatchesLineByLine(e,a,o,r)}else l=t=>eN.pM.findMatches(this,new eN.bc(e,i,n,s),t,o,r);return d.map(l).reduce((e,t)=>e.concat(t),[])}findNextMatch(e,t,i,n,s,o){this._assertNotDisposed();let r=this.validatePosition(t);if(!i&&0>e.indexOf("\n")){let t=new eN.bc(e,i,n,s),l=t.parseSearchRequest();if(!l)return null;let a=this.getLineCount(),d=new m.e(r.lineNumber,r.column,a,this.getLineMaxColumn(a)),h=this.findMatchesLineByLine(d,l,o,1);return(eN.pM.findNextMatch(this,new eN.bc(e,i,n,s),r,o),h.length>0)?h[0]:(d=new m.e(1,1,r.lineNumber,this.getLineMaxColumn(r.lineNumber)),(h=this.findMatchesLineByLine(d,l,o,1)).length>0)?h[0]:null}return eN.pM.findNextMatch(this,new eN.bc(e,i,n,s),r,o)}findPreviousMatch(e,t,i,n,s,o){this._assertNotDisposed();let r=this.validatePosition(t);return eN.pM.findPreviousMatch(this,new eN.bc(e,i,n,s),r,o)}pushStackElement(){this._commandManager.pushStackElement()}popStackElement(){this._commandManager.popStackElement()}pushEOL(e){let t="\n"===this.getEOL()?0:1;if(t!==e)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),null===this._initialUndoRedoSnapshot&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEOL(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_validateEditOperation(e){return e instanceof C.Qi?e:new C.Qi(e.identifier||null,this.validateRange(e.range),e.text,e.forceMoveMarkers||!1,e.isAutoWhitespaceEdit||!1,e._isTracked||!1)}_validateEditOperations(e){let t=[];for(let i=0,n=e.length;i({range:this.validateRange(e.range),text:e.text})),n=!0;if(e)for(let t=0,s=e.length;ts.endLineNumber,r=s.startLineNumber>t.endLineNumber;if(!n&&!r){o=!0;break}}if(!o){n=!1;break}}if(n)for(let e=0,n=this._trimAutoWhitespaceLines.length;et.endLineNumber||n===t.startLineNumber&&t.startColumn===s&&t.isEmpty()&&r&&r.length>0&&"\n"===r.charAt(0)||n===t.startLineNumber&&1===t.startColumn&&t.isEmpty()&&r&&r.length>0&&"\n"===r.charAt(r.length-1))){o=!1;break}}if(o){let e=new m.e(n,1,n,s);t.push(new C.Qi(null,e,null,!1,!1,!1))}}this._trimAutoWhitespaceLines=null}return null===this._initialUndoRedoSnapshot&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEditOperation(e,t,i,n)}_applyUndo(e,t,i,n){let s=e.map(e=>{let t=this.getPositionAt(e.newPosition),i=this.getPositionAt(e.newEnd);return{range:new m.e(t.lineNumber,t.column,i.lineNumber,i.column),text:e.oldText}});this._applyUndoRedoEdits(s,t,!0,!1,i,n)}_applyRedo(e,t,i,n){let s=e.map(e=>{let t=this.getPositionAt(e.oldPosition),i=this.getPositionAt(e.oldEnd);return{range:new m.e(t.lineNumber,t.column,i.lineNumber,i.column),text:e.newText}});this._applyUndoRedoEdits(s,t,!1,!0,i,n)}_applyUndoRedoEdits(e,t,i,n,s,o){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=i,this._isRedoing=n,this.applyEdits(e,!1),this.setEOL(t),this._overwriteAlternativeVersionId(s)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(o),this._onDidChangeDecorations.endDeferredEmit()}}applyEdits(e,t=!1){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();let i=this._validateEditOperations(e);return this._doApplyEdits(i,t)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_doApplyEdits(e,t){let i=this._buffer.getLineCount(),n=this._buffer.applyEdits(e,this._options.trimAutoWhitespace,t),o=this._buffer.getLineCount(),r=n.changes;if(this._trimAutoWhitespaceLines=n.trimAutoWhitespaceLineNumbers,0!==r.length){for(let e=0,t=r.length;e=0;t--){let i=a+t,n=m+t;b.takeFromEndWhile(e=>e.lineNumber>n);let s=b.takeFromEndWhile(e=>e.lineNumber===n);e.push(new tr.rU(i,this.getLineContent(n),s))}if(ce.lineNumbere.lineNumber===t)}e.push(new tr.Tx(n+1,a+l,u,h))}t+=g}this._emitContentChangedEvent(new tr.dQ(e,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:r,eol:this._buffer.getEOL(),isEolChange:!1,versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return null===n.reverseEdits?void 0:n.reverseEdits}undo(){return this._undoRedoService.undo(this.uri)}canUndo(){return this._undoRedoService.canUndo(this.uri)}redo(){return this._undoRedoService.redo(this.uri)}canRedo(){return this._undoRedoService.canRedo(this.uri)}handleBeforeFireDecorationsChangedEvent(e){if(null===e||0===e.size)return;let t=Array.from(e),i=t.map(e=>new tr.rU(e,this.getLineContent(e),this._getInjectedTextInLine(e)));this._onDidChangeInjectedText.fire(new tr.D8(i))}changeDecorations(e,t=0){this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(t,e)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_changeDecorations(e,t){let i={addDecoration:(t,i)=>this._deltaDecorationsImpl(e,[],[{range:t,options:i}])[0],changeDecoration:(e,t)=>{this._changeDecorationImpl(e,t)},changeDecorationOptions:(e,t)=>{this._changeDecorationOptionsImpl(e,tk(t))},removeDecoration:t=>{this._deltaDecorationsImpl(e,[t],[])},deltaDecorations:(t,i)=>0===t.length&&0===i.length?[]:this._deltaDecorationsImpl(e,t,i)},n=null;try{n=t(i)}catch(e){(0,r.dL)(e)}return i.addDecoration=tc,i.changeDecoration=tc,i.changeDecorationOptions=tc,i.removeDecoration=tc,i.deltaDecorations=tc,n}deltaDecorations(e,t,i=0){if(this._assertNotDisposed(),e||(e=[]),0===e.length&&0===t.length)return[];try{return this._deltaDecorationCallCnt++,this._deltaDecorationCallCnt>1&&(console.warn("Invoking deltaDecorations recursively could lead to leaking decorations."),(0,r.dL)(Error("Invoking deltaDecorations recursively could lead to leaking decorations."))),this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl(i,e,t)}finally{this._onDidChangeDecorations.endDeferredEmit(),this._deltaDecorationCallCnt--}}_getTrackedRange(e){return this.getDecorationRange(e)}_setTrackedRange(e,t,i){let n=e?this._decorations[e]:null;if(!n)return t?this._deltaDecorationsImpl(0,[],[{range:t,options:tL[i]}],!0)[0]:null;if(!t)return this._decorationsTree.delete(n),delete this._decorations[n.id],null;let s=this._validateRangeRelaxedNoAllocations(t),o=this._buffer.getOffsetAt(s.startLineNumber,s.startColumn),r=this._buffer.getOffsetAt(s.endLineNumber,s.endColumn);return this._decorationsTree.delete(n),n.reset(this.getVersionId(),o,r,s),n.setOptions(tL[i]),this._decorationsTree.insert(n),n.id}removeAllDecorationsWithOwnerId(e){if(this._isDisposed)return;let t=this._decorationsTree.collectNodesFromOwner(e);for(let e=0,i=t.length;ethis.getLineCount()?[]:this.getLinesDecorations(e,e,t,i)}getLinesDecorations(e,t,i=0,n=!1,o=!1){let r=this.getLineCount(),l=Math.min(r,Math.max(1,t)),a=this.getLineMaxColumn(l),d=new m.e(Math.min(r,Math.max(1,e)),1,l,a),h=this._getDecorationsInRange(d,i,n,o);return(0,s.vA)(h,this._decorationProvider.getDecorationsInRange(d,i,n)),h}getDecorationsInRange(e,t=0,i=!1,n=!1,o=!1){let r=this.validateRange(e),l=this._getDecorationsInRange(r,t,i,o);return(0,s.vA)(l,this._decorationProvider.getDecorationsInRange(r,t,i,n)),l}getOverviewRulerDecorations(e=0,t=!1){return this._decorationsTree.getAll(this,e,t,!0,!1)}getInjectedTextDecorations(e=0){return this._decorationsTree.getAllInjectedText(this,e)}_getInjectedTextInLine(e){let t=this._buffer.getOffsetAt(e,1),i=t+this._buffer.getLineLength(e),n=this._decorationsTree.getInjectedTextInInterval(this,t,i,0);return tr.gk.fromDecorations(n).filter(t=>t.lineNumber===e)}getAllDecorations(e=0,t=!1){return this._decorationsTree.getAll(this,e,t,!1,!1).concat(this._decorationProvider.getAllDecorations(e,t))}getAllMarginDecorations(e=0){return this._decorationsTree.getAll(this,e,!1,!1,!0)}_getDecorationsInRange(e,t,i,n){let s=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),o=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn);return this._decorationsTree.getAllInInterval(this,s,o,t,i,n)}getRangeAt(e,t){return this._buffer.getRangeAt(e,t-e)}_changeDecorationImpl(e,t){let i=this._decorations[e];if(!i)return;if(i.options.after){let t=this.getDecorationRange(e);this._onDidChangeDecorations.recordLineAffectedByInjectedText(t.endLineNumber)}if(i.options.before){let t=this.getDecorationRange(e);this._onDidChangeDecorations.recordLineAffectedByInjectedText(t.startLineNumber)}let n=this._validateRangeRelaxedNoAllocations(t),s=this._buffer.getOffsetAt(n.startLineNumber,n.startColumn),o=this._buffer.getOffsetAt(n.endLineNumber,n.endColumn);this._decorationsTree.delete(i),i.reset(this.getVersionId(),s,o,n),this._decorationsTree.insert(i),this._onDidChangeDecorations.checkAffectedAndFire(i.options),i.options.after&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(n.endLineNumber),i.options.before&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(n.startLineNumber)}_changeDecorationOptionsImpl(e,t){let i=this._decorations[e];if(!i)return;let n=!!i.options.overviewRuler&&!!i.options.overviewRuler.color,s=!!t.overviewRuler&&!!t.overviewRuler.color;if(this._onDidChangeDecorations.checkAffectedAndFire(i.options),this._onDidChangeDecorations.checkAffectedAndFire(t),i.options.after||t.after){let e=this._decorationsTree.getNodeRange(this,i);this._onDidChangeDecorations.recordLineAffectedByInjectedText(e.endLineNumber)}if(i.options.before||t.before){let e=this._decorationsTree.getNodeRange(this,i);this._onDidChangeDecorations.recordLineAffectedByInjectedText(e.startLineNumber)}let o=(!!t.after||!!t.before)!==tm(i);n!==s||o?(this._decorationsTree.delete(i),i.setOptions(t),this._decorationsTree.insert(i)):i.setOptions(t)}_deltaDecorationsImpl(e,t,i,n=!1){let s=this.getVersionId(),o=t.length,r=0,l=i.length,a=0;this._onDidChangeDecorations.beginDeferredEmit();try{let d=Array(l);for(;rthis._setLanguage(e.languageId,t)),this._setLanguage(e.languageId,t))}_setLanguage(e,t){this.tokenization.setLanguageId(e,t),this._languageService.requestRichLanguageFeatures(e)}getLanguageIdAtPosition(e,t){return this.tokenization.getLanguageIdAtPosition(e,t)}getWordAtPosition(e){return this._tokenizationTextModelPart.getWordAtPosition(e)}getWordUntilPosition(e){return this._tokenizationTextModelPart.getWordUntilPosition(e)}normalizePosition(e,t){return e}getLineIndentColumn(e){return function(e){let t=0;for(let i of e)if(" "===i||" "===i)t++;else break;return t}(this.getLineContent(e))+1}};function tp(e){return!!e.options.overviewRuler&&!!e.options.overviewRuler.color}function tm(e){return!!e.options.after||!!e.options.before}tg._MODEL_SYNC_LIMIT=52428800,tg.LARGE_FILE_SIZE_THRESHOLD=20971520,tg.LARGE_FILE_LINE_COUNT_THRESHOLD=3e5,tg.LARGE_FILE_HEAP_OPERATION_THRESHOLD=268435456,tg.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:_.D.tabSize,indentSize:_.D.indentSize,insertSpaces:_.D.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:_.D.trimAutoWhitespace,largeFileOptimizations:_.D.largeFileOptimizations,bracketPairColorizationOptions:_.D.bracketPairColorizationOptions},tg=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([ta(4,tl.tJ),ta(5,v.O),ta(6,b.c_)],tg);class tf{constructor(){this._decorationsTree0=new eo,this._decorationsTree1=new eo,this._injectedTextDecorationsTree=new eo}ensureAllNodesHaveRanges(e){this.getAll(e,0,!1,!1,!1)}_ensureNodesHaveRanges(e,t){for(let i of t)null===i.range&&(i.range=e.getRangeAt(i.cachedAbsoluteStart,i.cachedAbsoluteEnd));return t}getAllInInterval(e,t,i,n,s,o){let r=e.getVersionId(),l=this._intervalSearch(t,i,n,s,r,o);return this._ensureNodesHaveRanges(e,l)}_intervalSearch(e,t,i,n,s,o){let r=this._decorationsTree0.intervalSearch(e,t,i,n,s,o),l=this._decorationsTree1.intervalSearch(e,t,i,n,s,o),a=this._injectedTextDecorationsTree.intervalSearch(e,t,i,n,s,o);return r.concat(l).concat(a)}getInjectedTextInInterval(e,t,i,n){let s=e.getVersionId(),o=this._injectedTextDecorationsTree.intervalSearch(t,i,n,!1,s,!1);return this._ensureNodesHaveRanges(e,o).filter(e=>e.options.showIfCollapsed||!e.range.isEmpty())}getAllInjectedText(e,t){let i=e.getVersionId(),n=this._injectedTextDecorationsTree.search(t,!1,i,!1);return this._ensureNodesHaveRanges(e,n).filter(e=>e.options.showIfCollapsed||!e.range.isEmpty())}getAll(e,t,i,n,s){let o=e.getVersionId(),r=this._search(t,i,n,o,s);return this._ensureNodesHaveRanges(e,r)}_search(e,t,i,n,s){if(i)return this._decorationsTree1.search(e,t,n,s);{let i=this._decorationsTree0.search(e,t,n,s),o=this._decorationsTree1.search(e,t,n,s),r=this._injectedTextDecorationsTree.search(e,t,n,s);return i.concat(o).concat(r)}}collectNodesFromOwner(e){let t=this._decorationsTree0.collectNodesFromOwner(e),i=this._decorationsTree1.collectNodesFromOwner(e),n=this._injectedTextDecorationsTree.collectNodesFromOwner(e);return t.concat(i).concat(n)}collectNodesPostOrder(){let e=this._decorationsTree0.collectNodesPostOrder(),t=this._decorationsTree1.collectNodesPostOrder(),i=this._injectedTextDecorationsTree.collectNodesPostOrder();return e.concat(t).concat(i)}insert(e){tm(e)?this._injectedTextDecorationsTree.insert(e):tp(e)?this._decorationsTree1.insert(e):this._decorationsTree0.insert(e)}delete(e){tm(e)?this._injectedTextDecorationsTree.delete(e):tp(e)?this._decorationsTree1.delete(e):this._decorationsTree0.delete(e)}getNodeRange(e,t){let i=e.getVersionId();return t.cachedVersionId!==i&&this._resolveNode(t,i),null===t.range&&(t.range=e.getRangeAt(t.cachedAbsoluteStart,t.cachedAbsoluteEnd)),t.range}_resolveNode(e,t){tm(e)?this._injectedTextDecorationsTree.resolveNode(e,t):tp(e)?this._decorationsTree1.resolveNode(e,t):this._decorationsTree0.resolveNode(e,t)}acceptReplace(e,t,i,n){this._decorationsTree0.acceptReplace(e,t,i,n),this._decorationsTree1.acceptReplace(e,t,i,n),this._injectedTextDecorationsTree.acceptReplace(e,t,i,n)}}function t_(e){return e.replace(/[^a-z0-9\-_]/gi," ")}class tv{constructor(e){this.color=e.color||"",this.darkColor=e.darkColor||""}}class tb extends tv{constructor(e){super(e),this._resolvedColor=null,this.position="number"==typeof e.position?e.position:C.sh.Center}getColor(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=null}_resolveColor(e,t){if("string"==typeof e)return e;let i=e?t.getColor(e.id):null;return i?i.toString():""}}class tC{constructor(e){var t;this.position=null!==(t=null==e?void 0:e.position)&&void 0!==t?t:C.U.Center,this.persistLane=null==e?void 0:e.persistLane}}class tw extends tv{constructor(e){var t,i;super(e),this.position=e.position,this.sectionHeaderStyle=null!==(t=e.sectionHeaderStyle)&&void 0!==t?t:null,this.sectionHeaderText=null!==(i=e.sectionHeaderText)&&void 0!==i?i:null}getColor(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=void 0}_resolveColor(e,t){return"string"==typeof e?o.Il.fromHex(e):t.getColor(e.id)}}class ty{static from(e){return e instanceof ty?e:new ty(e)}constructor(e){this.content=e.content||"",this.inlineClassName=e.inlineClassName||null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.attachedData=e.attachedData||null,this.cursorStops=e.cursorStops||null}}class tS{static register(e){return new tS(e)}static createDynamic(e){return new tS(e)}constructor(e){var t,i,n,s,o,r;this.description=e.description,this.blockClassName=e.blockClassName?t_(e.blockClassName):null,this.blockDoesNotCollapse=null!==(t=e.blockDoesNotCollapse)&&void 0!==t?t:null,this.blockIsAfterEnd=null!==(i=e.blockIsAfterEnd)&&void 0!==i?i:null,this.blockPadding=null!==(n=e.blockPadding)&&void 0!==n?n:null,this.stickiness=e.stickiness||0,this.zIndex=e.zIndex||0,this.className=e.className?t_(e.className):null,this.shouldFillLineOnLineBreak=null!==(s=e.shouldFillLineOnLineBreak)&&void 0!==s?s:null,this.hoverMessage=e.hoverMessage||null,this.glyphMarginHoverMessage=e.glyphMarginHoverMessage||null,this.lineNumberHoverMessage=e.lineNumberHoverMessage||null,this.isWholeLine=e.isWholeLine||!1,this.showIfCollapsed=e.showIfCollapsed||!1,this.collapseOnReplaceEdit=e.collapseOnReplaceEdit||!1,this.overviewRuler=e.overviewRuler?new tb(e.overviewRuler):null,this.minimap=e.minimap?new tw(e.minimap):null,this.glyphMargin=e.glyphMarginClassName?new tC(e.glyphMargin):null,this.glyphMarginClassName=e.glyphMarginClassName?t_(e.glyphMarginClassName):null,this.linesDecorationsClassName=e.linesDecorationsClassName?t_(e.linesDecorationsClassName):null,this.lineNumberClassName=e.lineNumberClassName?t_(e.lineNumberClassName):null,this.linesDecorationsTooltip=e.linesDecorationsTooltip?d.fA(e.linesDecorationsTooltip):null,this.firstLineDecorationClassName=e.firstLineDecorationClassName?t_(e.firstLineDecorationClassName):null,this.marginClassName=e.marginClassName?t_(e.marginClassName):null,this.inlineClassName=e.inlineClassName?t_(e.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=e.beforeContentClassName?t_(e.beforeContentClassName):null,this.afterContentClassName=e.afterContentClassName?t_(e.afterContentClassName):null,this.after=e.after?ty.from(e.after):null,this.before=e.before?ty.from(e.before):null,this.hideInCommentTokens=null!==(o=e.hideInCommentTokens)&&void 0!==o&&o,this.hideInStringTokens=null!==(r=e.hideInStringTokens)&&void 0!==r&&r}}tS.EMPTY=tS.register({description:"empty"});let tL=[tS.register({description:"tracked-range-always-grows-when-typing-at-edges",stickiness:0}),tS.register({description:"tracked-range-never-grows-when-typing-at-edges",stickiness:1}),tS.register({description:"tracked-range-grows-only-when-typing-before",stickiness:2}),tS.register({description:"tracked-range-grows-only-when-typing-after",stickiness:3})];function tk(e){return e instanceof tS?e:tS.createDynamic(e)}class tD extends a.JT{constructor(e){super(),this.handleBeforeFire=e,this._actual=this._register(new l.Q5),this.event=this._actual.event,this._affectedInjectedTextLines=null,this._deferredCnt=0,this._shouldFireDeferred=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._affectsGlyphMargin=!1,this._affectsLineNumber=!1}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(){var e;this._deferredCnt--,0===this._deferredCnt&&(this._shouldFireDeferred&&this.doFire(),null===(e=this._affectedInjectedTextLines)||void 0===e||e.clear(),this._affectedInjectedTextLines=null)}recordLineAffectedByInjectedText(e){this._affectedInjectedTextLines||(this._affectedInjectedTextLines=new Set),this._affectedInjectedTextLines.add(e)}checkAffectedAndFire(e){var t,i;this._affectsMinimap||(this._affectsMinimap=!!(null===(t=e.minimap)||void 0===t?void 0:t.position)),this._affectsOverviewRuler||(this._affectsOverviewRuler=!!(null===(i=e.overviewRuler)||void 0===i?void 0:i.color)),this._affectsGlyphMargin||(this._affectsGlyphMargin=!!e.glyphMarginClassName),this._affectsLineNumber||(this._affectsLineNumber=!!e.lineNumberClassName),this.tryFire()}fire(){this._affectsMinimap=!0,this._affectsOverviewRuler=!0,this._affectsGlyphMargin=!0,this.tryFire()}tryFire(){0===this._deferredCnt?this.doFire():this._shouldFireDeferred=!0}doFire(){this.handleBeforeFire(this._affectedInjectedTextLines);let e={affectsMinimap:this._affectsMinimap,affectsOverviewRuler:this._affectsOverviewRuler,affectsGlyphMargin:this._affectsGlyphMargin,affectsLineNumber:this._affectsLineNumber};this._shouldFireDeferred=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._affectsGlyphMargin=!1,this._actual.fire(e)}}class tx extends a.JT{constructor(){super(),this._fastEmitter=this._register(new l.Q5),this.fastEvent=this._fastEmitter.event,this._slowEmitter=this._register(new l.Q5),this.slowEvent=this._slowEmitter.event,this._deferredCnt=0,this._deferredEvent=null}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(e=null){if(this._deferredCnt--,0===this._deferredCnt&&null!==this._deferredEvent){this._deferredEvent.rawContentChangedEvent.resultingSelection=e;let t=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(t),this._slowEmitter.fire(t)}}fire(e){if(this._deferredCnt>0){this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(e):this._deferredEvent=e;return}this._fastEmitter.fire(e),this._slowEmitter.fire(e)}}class tN{constructor(){this._onDidChangeVisibleRanges=new l.Q5,this.onDidChangeVisibleRanges=this._onDidChangeVisibleRanges.event,this._views=new Set}attachView(){let e=new tE(t=>{this._onDidChangeVisibleRanges.fire({view:e,state:t})});return this._views.add(e),e}detachView(e){this._views.delete(e),this._onDidChangeVisibleRanges.fire({view:e,state:void 0})}}class tE{constructor(e){this.handleStateChange=e}setVisibleLines(e,t){let i=e.map(e=>new g.z(e.startLineNumber,e.endLineNumber+1));this.handleStateChange({visibleLineRanges:i,stabilized:t})}}},94954:function(e,t,i){"use strict";i.d(t,{U:function(){return s}});var n=i(5976);class s extends n.JT{constructor(){super(...arguments),this._isDisposed=!1}dispose(){super.dispose(),this._isDisposed=!0}assertNotDisposed(){if(this._isDisposed)throw Error("TextModelPart is disposed!")}}},77277:function(e,t,i){"use strict";i.d(t,{bc:function(){return a},cM:function(){return c},iE:function(){return d},pM:function(){return u},sz:function(){return g}});var n=i(97295),s=i(24929),o=i(50187),r=i(24314),l=i(84973);class a{constructor(e,t,i,n){this.searchString=e,this.isRegex=t,this.matchCase=i,this.wordSeparators=n}parseSearchRequest(){let e;if(""===this.searchString)return null;e=this.isRegex?function(e){if(!e||0===e.length)return!1;for(let t=0,i=e.length;t=i)break;let n=e.charCodeAt(t);if(110===n||114===n||87===n)return!0}}return!1}(this.searchString):this.searchString.indexOf("\n")>=0;let t=null;try{t=n.GF(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch(e){return null}if(!t)return null;let i=!this.isRegex&&!e;return i&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(i=this.matchCase),new l.Tx(t,this.wordSeparators?(0,s.u)(this.wordSeparators,[]):null,i?this.searchString:null)}}function d(e,t,i){if(!i)return new l.tk(e,null);let n=[];for(let e=0,i=t.length;e>0);t[s]>=e?n=s-1:t[s+1]>=e?(i=s,n=s):i=s+1}return i+1}}class u{static findMatches(e,t,i,n,s){let o=t.parseSearchRequest();return o?o.regex.multiline?this._doFindMatchesMultiline(e,i,new g(o.wordSeparators,o.regex),n,s):this._doFindMatchesLineByLine(e,i,o,n,s):[]}static _getMultilineMatchRange(e,t,i,n,s,o){let l,a;let d=0;if(n?(d=n.findLineFeedCountBeforeOffset(s),l=t+s+d):l=t+s,n){let e=n.findLineFeedCountBeforeOffset(s+o.length),t=e-d;a=l+o.length+t}else a=l+o.length;let h=e.getPositionAt(l),u=e.getPositionAt(a);return new r.e(h.lineNumber,h.column,u.lineNumber,u.column)}static _doFindMatchesMultiline(e,t,i,n,s){let o;let r=e.getOffsetAt(t.getStartPosition()),l=e.getValueInRange(t,1),a="\r\n"===e.getEOL()?new h(l):null,u=[],c=0;for(i.reset(0);(o=i.next(l))&&(u[c++]=d(this._getMultilineMatchRange(e,r,l,a,o.index,o[0]),o,n),!(c>=s)););return u}static _doFindMatchesLineByLine(e,t,i,n,s){let o=[],r=0;if(t.startLineNumber===t.endLineNumber){let l=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);return r=this._findMatchesInLine(i,l,t.startLineNumber,t.startColumn-1,r,o,n,s),o}let l=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);r=this._findMatchesInLine(i,l,t.startLineNumber,t.startColumn-1,r,o,n,s);for(let l=t.startLineNumber+1;l=h))););return s}let m=new g(e.wordSeparators,e.regex);m.reset(0);do if((u=m.next(t))&&(o[s++]=d(new r.e(i,u.index+1+n,i,u.index+1+u[0].length+n),u,a),s>=h))break;while(u);return s}static findNextMatch(e,t,i,n){let s=t.parseSearchRequest();if(!s)return null;let o=new g(s.wordSeparators,s.regex);return s.regex.multiline?this._doFindNextMatchMultiline(e,i,o,n):this._doFindNextMatchLineByLine(e,i,o,n)}static _doFindNextMatchMultiline(e,t,i,n){let s=new o.L(t.lineNumber,1),l=e.getOffsetAt(s),a=e.getLineCount(),u=e.getValueInRange(new r.e(s.lineNumber,s.column,a,e.getLineMaxColumn(a)),1),c="\r\n"===e.getEOL()?new h(u):null;i.reset(t.column-1);let g=i.next(u);return g?d(this._getMultilineMatchRange(e,l,u,c,g.index,g[0]),g,n):1!==t.lineNumber||1!==t.column?this._doFindNextMatchMultiline(e,new o.L(1,1),i,n):null}static _doFindNextMatchLineByLine(e,t,i,n){let s=e.getLineCount(),o=t.lineNumber,r=e.getLineContent(o),l=this._findFirstMatchInLine(i,r,o,t.column,n);if(l)return l;for(let t=1;t<=s;t++){let r=(o+t-1)%s,l=e.getLineContent(r+1),a=this._findFirstMatchInLine(i,l,r+1,1,n);if(a)return a}return null}static _findFirstMatchInLine(e,t,i,n,s){e.reset(n-1);let o=e.next(t);return o?d(new r.e(i,o.index+1,i,o.index+1+o[0].length),o,s):null}static findPreviousMatch(e,t,i,n){let s=t.parseSearchRequest();if(!s)return null;let o=new g(s.wordSeparators,s.regex);return s.regex.multiline?this._doFindPreviousMatchMultiline(e,i,o,n):this._doFindPreviousMatchLineByLine(e,i,o,n)}static _doFindPreviousMatchMultiline(e,t,i,n){let s=this._doFindMatchesMultiline(e,new r.e(1,1,t.lineNumber,t.column),i,n,9990);if(s.length>0)return s[s.length-1];let l=e.getLineCount();return t.lineNumber!==l||t.column!==e.getLineMaxColumn(l)?this._doFindPreviousMatchMultiline(e,new o.L(l,e.getLineMaxColumn(l)),i,n):null}static _doFindPreviousMatchLineByLine(e,t,i,n){let s=e.getLineCount(),o=t.lineNumber,r=e.getLineContent(o).substring(0,t.column-1),l=this._findLastMatchInLine(i,r,o,n);if(l)return l;for(let t=1;t<=s;t++){let r=(s+o-t-1)%s,l=e.getLineContent(r+1),a=this._findLastMatchInLine(i,l,r+1,n);if(a)return a}return null}static _findLastMatchInLine(e,t,i,n){let s,o=null;for(e.reset(0);s=e.next(t);)o=d(new r.e(i,s.index+1,i,s.index+1+s[0].length),s,n);return o}}function c(e,t,i,n,s){return function(e,t,i,n,s){if(0===n)return!0;let o=t.charCodeAt(n-1);if(0!==e.get(o)||13===o||10===o)return!0;if(s>0){let i=t.charCodeAt(n);if(0!==e.get(i))return!0}return!1}(e,t,0,n,s)&&function(e,t,i,n,s){if(n+s===i)return!0;let o=t.charCodeAt(n+s);if(0!==e.get(o)||13===o||10===o)return!0;if(s>0){let i=t.charCodeAt(n+s-1);if(0!==e.get(i))return!0}return!1}(e,t,i,n,s)}class g{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){let t;let i=e.length;do{if(this._prevMatchStartIndex+this._prevMatchLength===i||!(t=this._searchRegex.exec(e)))break;let s=t.index,o=t[0].length;if(s===this._prevMatchStartIndex&&o===this._prevMatchLength){if(0===o){n.ZH(e,i,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}break}if(this._prevMatchStartIndex=s,this._prevMatchLength=o,!this._wordSeparators||c(this._wordSeparators,e,i,s,o))return t}while(t);return null}}},59616:function(e,t,i){"use strict";function n(e,t){let i=0,n=0,s=e.length;for(;n(0,s.SP)(n.of(t),e),0)}get(e){let t=this._key(e),i=this._cache.get(t);return i?(0,r.uZ)(i.value,this._min,this._max):this.default()}update(e,t){let i=this._key(e),n=this._cache.get(i);n||(n=new r.N(6),this._cache.set(i,n));let s=(0,r.uZ)(n.update(t),this._min,this._max);return(0,u.xn)(e.uri,"output")||this._logService.trace(`[DEBOUNCE: ${this._name}] for ${e.uri.toString()} is ${s}ms`),s}_overall(){let e=new r.nM;for(let[,t]of this._cache)e.update(t.value);return e.value}default(){let e=0|this._overall()||this._default;return(0,r.uZ)(e,this._min,this._max)}}let f=class{constructor(e,t){this._logService=e,this._data=new Map,this._isDev=t.isExtensionDevelopment||!t.isBuilt}for(e,t,i){var s,o,r;let l=null!==(s=null==i?void 0:i.min)&&void 0!==s?s:50,a=null!==(o=null==i?void 0:i.max)&&void 0!==o?o:l**2,d=null!==(r=null==i?void 0:i.key)&&void 0!==r?r:void 0,h=`${n.of(e)},${l}${d?","+d:""}`,u=this._data.get(h);return u||(this._isDev?(this._logService.debug(`[DEBOUNCE: ${t}] is disabled in developed mode`),u=new p(1.5*l)):u=new m(this._logService,t,e,0|this._overallAverage()||1.5*l,l,a),this._data.set(h,u)),u}_overallAverage(){let e=new r.nM;for(let t of this._data.values())e.update(t.default());return e.value}};f=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([c(0,h.VZ),c(1,l.Y)],f),(0,a.z)(g,f,1)},71922:function(e,t,i){"use strict";i.d(t,{p:function(){return s}});var n=i(72065);let s=(0,n.yh)("ILanguageFeaturesService")},36357:function(e,t,i){"use strict";i.d(t,{i:function(){return s}});var n=i(72065);let s=(0,n.yh)("markerDecorationsService")},73733:function(e,t,i){"use strict";i.d(t,{q:function(){return s}});var n=i(72065);let s=(0,n.yh)("modelService")},88216:function(e,t,i){"use strict";i.d(t,{S:function(){return s}});var n=i(72065);let s=(0,n.yh)("textModelService")},68997:function(e,t,i){"use strict";i.d(t,{$:function(){return p},h:function(){return m}});var n=i(45797),s=i(97781),o=i(43557),r=i(50187),l=i(24314),a=i(23795);class d{static create(e,t){return new d(e,new h(t))}get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._endLineNumber}constructor(e,t){this._startLineNumber=e,this._tokens=t,this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}toString(){return this._tokens.toString(this._startLineNumber)}_updateEndLineNumber(){this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}isEmpty(){return this._tokens.isEmpty()}getLineTokens(e){return this._startLineNumber<=e&&e<=this._endLineNumber?this._tokens.getLineTokens(e-this._startLineNumber):null}getRange(){let e=this._tokens.getRange();return e?new l.e(this._startLineNumber+e.startLineNumber,e.startColumn,this._startLineNumber+e.endLineNumber,e.endColumn):e}removeTokens(e){let t=e.startLineNumber-this._startLineNumber,i=e.endLineNumber-this._startLineNumber;this._startLineNumber+=this._tokens.removeTokens(t,e.startColumn-1,i,e.endColumn-1),this._updateEndLineNumber()}split(e){let t=e.startLineNumber-this._startLineNumber,i=e.endLineNumber-this._startLineNumber,[n,s,o]=this._tokens.split(t,e.startColumn-1,i,e.endColumn-1);return[new d(this._startLineNumber,n),new d(this._startLineNumber+o,s)]}applyEdit(e,t){let[i,n,s]=(0,a.Q)(t);this.acceptEdit(e,i,n,s,t.length>0?t.charCodeAt(0):0)}acceptEdit(e,t,i,n,s){this._acceptDeleteRange(e),this._acceptInsertText(new r.L(e.startLineNumber,e.startColumn),t,i,n,s),this._updateEndLineNumber()}_acceptDeleteRange(e){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return;let t=e.startLineNumber-this._startLineNumber,i=e.endLineNumber-this._startLineNumber;if(i<0){let e=i-t;this._startLineNumber-=e;return}let n=this._tokens.getMaxDeltaLine();if(!(t>=n+1)){if(t<0&&i>=n+1){this._startLineNumber=0,this._tokens.clear();return}if(t<0){let n=-t;this._startLineNumber-=n,this._tokens.acceptDeleteRange(e.startColumn-1,0,0,i,e.endColumn-1)}else this._tokens.acceptDeleteRange(0,t,e.startColumn-1,i,e.endColumn-1)}}_acceptInsertText(e,t,i,n,s){if(0===t&&0===i)return;let o=e.lineNumber-this._startLineNumber;if(o<0){this._startLineNumber+=t;return}let r=this._tokens.getMaxDeltaLine();o>=r+1||this._tokens.acceptInsertText(o,e.column-1,t,i,n,s)}}class h{constructor(e){this._tokens=e,this._tokenCount=e.length/4}toString(e){let t=[];for(let i=0;ie)i=n-1;else{let s=n;for(;s>t&&this._getDeltaLine(s-1)===e;)s--;let o=n;for(;oe||h===e&&c>=t)&&(he||h===e&&g>=t){if(hs?p-=s-i:p=i;else if(c===t&&g===i){if(c===n&&p>s)p-=s-i;else{d=!0;continue}}else if(cs)c=t,p=(g=i)+(p-s);else{d=!0;continue}}else if(c>n){if(0===l&&!d){a=r;break}c-=l}else if(c===n&&g>=s)e&&0===c&&(g+=e,p+=e),c-=l,g-=s-i,p-=s-i;else throw Error("Not possible!");let f=4*a;o[f]=c,o[f+1]=g,o[f+2]=p,o[f+3]=m,a++}this._tokenCount=a}acceptInsertText(e,t,i,n,s,o){let r=0===i&&1===n&&(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122),l=this._tokens,a=this._tokenCount;for(let o=0;o0&&t>=1;e>0&&this._logService.getLevel()===o.in.Trace&&(this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${t.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`),a.push("not-in-legend"));let n=this._themeService.getColorTheme().getTokenStyleMetadata(l,a,i);if(void 0===n)s=2147483647;else{if(s=0,void 0!==n.italic){let e=(n.italic?1:0)<<11;s|=1|e}if(void 0!==n.bold){let e=(n.bold?2:0)<<11;s|=2|e}if(void 0!==n.underline){let e=(n.underline?4:0)<<11;s|=4|e}if(void 0!==n.strikethrough){let e=(n.strikethrough?8:0)<<11;s|=8|e}if(n.foreground){let e=n.foreground<<15;s|=16|e}0===s&&(s=2147483647)}}else this._logService.getLevel()===o.in.Trace&&this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${e} for legend: ${JSON.stringify(this._legend.tokenTypes)}`),s=2147483647,l="not-in-legend";this._hashTable.add(e,t,r,s),this._logService.getLevel()===o.in.Trace&&this._logService.trace(`SemanticTokensProviderStyling ${e} (${l}) / ${t} (${a.join(" ")}): foreground ${n.N.getForeground(s)}, fontStyle ${n.N.getFontStyle(s).toString(2)}`)}return s}warnOverlappingSemanticTokens(e,t){this._hasWarnedOverlappingTokens||(this._hasWarnedOverlappingTokens=!0,this._logService.warn(`Overlapping semantic tokens detected at lineNumber ${e}, column ${t}`))}warnInvalidLengthSemanticTokens(e,t){this._hasWarnedInvalidLengthTokens||(this._hasWarnedInvalidLengthTokens=!0,this._logService.warn(`Semantic token with invalid length detected at lineNumber ${e}, column ${t}`))}warnInvalidEditStart(e,t,i,n,s){this._hasWarnedInvalidEditStart||(this._hasWarnedInvalidEditStart=!0,this._logService.warn(`Invalid semantic tokens edit detected (previousResultId: ${e}, resultId: ${t}) at edit #${i}: The provided start offset ${n} is outside the previous data (length ${s}).`))}};function m(e,t,i){let n=e.data,s=e.data.length/5|0,o=Math.max(Math.ceil(s/1024),400),r=[],l=0,a=1,h=0;for(;le&&0===n[5*t];)t--;if(t-1===e){let e=u;for(;e+1d)t.warnOverlappingSemanticTokens(r,d+1);else{let e=t.getMetadata(v,b,i);2147483647!==e&&(0===p&&(p=r),c[g]=r-p,c[g+1]=d,c[g+2]=_,c[g+3]=e,g+=4,m=r,f=_)}a=r,h=d,l++}g!==c.length&&(c=c.subarray(0,g));let _=d.create(p,c);r.push(_)}return r}p=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([g(1,s.XE),g(2,c.O),g(3,o.VZ)],p);class f{constructor(e,t,i,n){this.tokenTypeIndex=e,this.tokenModifierSet=t,this.languageId=i,this.metadata=n,this.next=null}}class _{constructor(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=_._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<_._SIZES.length?2/3*this._currentLength:0),this._elements=[],_._nullOutEntries(this._elements,this._currentLength)}static _nullOutEntries(e,t){for(let i=0;i=this._growCount){let e=this._elements;for(let t of(this._currentLengthIndex++,this._currentLength=_._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<_._SIZES.length?2/3*this._currentLength:0),this._elements=[],_._nullOutEntries(this._elements,this._currentLength),e)){let e=t;for(;e;){let t=e.next;e.next=null,this._add(e),e=t}}}this._add(new f(e,t,i,n))}_add(e){let t=this._hashFunc(e.tokenTypeIndex,e.tokenModifierSet,e.languageId);e.next=this._elements[t],this._elements[t]=e}}_._SIZES=[3,7,13,31,61,127,251,509,1021,2039,4093,8191,16381,32749,65521,131071,262139,524287,1048573,2097143]},73343:function(e,t,i){"use strict";i.d(t,{s:function(){return s}});var n=i(72065);let s=(0,n.yh)("semanticTokensStylingService")},71765:function(e,t,i){"use strict";i.d(t,{V:function(){return s},y:function(){return o}});var n=i(72065);let s=(0,n.yh)("textResourceConfigurationService"),o=(0,n.yh)("textResourcePropertiesService")},31446:function(e,t,i){"use strict";i.d(t,{a:function(){return a}});var n=i(24314),s=i(77277),o=i(97295),r=i(35146),l=i(270);class a{static computeUnicodeHighlights(e,t,i){let a,h;let u=i?i.startLineNumber:1,c=i?i.endLineNumber:e.getLineCount(),g=new d(t),p=g.getCandidateCodePoints();a="allNonBasicAscii"===p?RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):RegExp(`${function(e,t){let i=`[${o.ec(e.map(e=>String.fromCodePoint(e)).join(""))}]`;return i}(Array.from(p))}`,"g");let m=new s.sz(null,a),f=[],_=!1,v=0,b=0,C=0;n:for(let t=u;t<=c;t++){let i=e.getLineContent(t),s=i.length;m.reset(0);do if(h=m.next(i)){let e=h.index,a=h.index+h[0].length;if(e>0){let t=i.charCodeAt(e-1);o.ZG(t)&&e--}if(a+1=1e3){_=!0;break n}f.push(new n.e(t,e+1,t,a+1))}}while(h)}return{ranges:f,hasMore:_,ambiguousCharacterCount:v,invisibleCharacterCount:b,nonBasicAsciiCharacterCount:C}}static computeUnicodeHighlightReason(e,t){let i=new d(t),n=i.shouldHighlightNonBasicASCII(e,null);switch(n){case 0:return null;case 2:return{kind:1};case 3:{let n=e.codePointAt(0),s=i.ambiguousCharacters.getPrimaryConfusable(n),r=o.ZK.getLocales().filter(e=>!o.ZK.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(n));return{kind:0,confusableWith:String.fromCodePoint(s),notAmbiguousInLocales:r}}case 1:return{kind:2}}}}class d{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=o.ZK.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let t of o.vU.codePoints)h(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(let t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(let t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){let i=e.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let n=!1,s=!1;if(t)for(let e of t){let t=e.codePointAt(0),i=o.$i(e);n=n||i,i||this.ambiguousCharacters.isAmbiguous(t)||o.vU.isInvisibleCharacter(t)||(s=!0)}return!n&&s?0:this.options.invisibleCharacters&&!h(e)&&o.vU.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}}function h(e){return" "===e||"\n"===e||" "===e}},70902:function(e,t,i){"use strict";var n,s,o,r,l,a,d,h,u,c,g,p,m,f,_,v,b,C,w,y,S,L,k,D,x,N,E,I,T,M,R,A,P,O,F,B,W,H,V,z,K,U,$,q,j,G,Q,Z,Y,J,X,ee,et,ei,en,es,eo,er,el,ea,ed,eh,eu,ec,eg,ep,em,ef,e_,ev,eb,eC,ew,ey,eS,eL,ek,eD,ex,eN,eE,eI,eT,eM,eR,eA,eP,eO,eF,eB,eW,eH;i.d(t,{$r:function(){return V},E$:function(){return M},F5:function(){return x},Ij:function(){return a},In:function(){return $},Ll:function(){return T},Lu:function(){return O},MG:function(){return E},MY:function(){return c},NA:function(){return A},OI:function(){return j},RM:function(){return C},U:function(){return _},VD:function(){return L},Vi:function(){return h},WG:function(){return N},WW:function(){return z},ZL:function(){return k},_x:function(){return u},a$:function(){return H},a7:function(){return o},ao:function(){return n},bq:function(){return v},bw:function(){return y},cR:function(){return K},cm:function(){return r},d2:function(){return q},eB:function(){return D},g4:function(){return B},g_:function(){return W},gl:function(){return w},gm:function(){return m},jl:function(){return f},np:function(){return s},py:function(){return P},r3:function(){return d},r4:function(){return U},rf:function(){return g},rn:function(){return S},sh:function(){return R},up:function(){return G},vQ:function(){return F},w:function(){return I},wT:function(){return p},wU:function(){return b},we:function(){return l}}),(Q=n||(n={}))[Q.Unknown=0]="Unknown",Q[Q.Disabled=1]="Disabled",Q[Q.Enabled=2]="Enabled",(Z=s||(s={}))[Z.Invoke=1]="Invoke",Z[Z.Auto=2]="Auto",(Y=o||(o={}))[Y.None=0]="None",Y[Y.KeepWhitespace=1]="KeepWhitespace",Y[Y.InsertAsSnippet=4]="InsertAsSnippet",(J=r||(r={}))[J.Method=0]="Method",J[J.Function=1]="Function",J[J.Constructor=2]="Constructor",J[J.Field=3]="Field",J[J.Variable=4]="Variable",J[J.Class=5]="Class",J[J.Struct=6]="Struct",J[J.Interface=7]="Interface",J[J.Module=8]="Module",J[J.Property=9]="Property",J[J.Event=10]="Event",J[J.Operator=11]="Operator",J[J.Unit=12]="Unit",J[J.Value=13]="Value",J[J.Constant=14]="Constant",J[J.Enum=15]="Enum",J[J.EnumMember=16]="EnumMember",J[J.Keyword=17]="Keyword",J[J.Text=18]="Text",J[J.Color=19]="Color",J[J.File=20]="File",J[J.Reference=21]="Reference",J[J.Customcolor=22]="Customcolor",J[J.Folder=23]="Folder",J[J.TypeParameter=24]="TypeParameter",J[J.User=25]="User",J[J.Issue=26]="Issue",J[J.Snippet=27]="Snippet",(X=l||(l={}))[X.Deprecated=1]="Deprecated",(ee=a||(a={}))[ee.Invoke=0]="Invoke",ee[ee.TriggerCharacter=1]="TriggerCharacter",ee[ee.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(et=d||(d={}))[et.EXACT=0]="EXACT",et[et.ABOVE=1]="ABOVE",et[et.BELOW=2]="BELOW",(ei=h||(h={}))[ei.NotSet=0]="NotSet",ei[ei.ContentFlush=1]="ContentFlush",ei[ei.RecoverFromMarkers=2]="RecoverFromMarkers",ei[ei.Explicit=3]="Explicit",ei[ei.Paste=4]="Paste",ei[ei.Undo=5]="Undo",ei[ei.Redo=6]="Redo",(en=u||(u={}))[en.LF=1]="LF",en[en.CRLF=2]="CRLF",(es=c||(c={}))[es.Text=0]="Text",es[es.Read=1]="Read",es[es.Write=2]="Write",(eo=g||(g={}))[eo.None=0]="None",eo[eo.Keep=1]="Keep",eo[eo.Brackets=2]="Brackets",eo[eo.Advanced=3]="Advanced",eo[eo.Full=4]="Full",(er=p||(p={}))[er.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",er[er.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",er[er.accessibilitySupport=2]="accessibilitySupport",er[er.accessibilityPageSize=3]="accessibilityPageSize",er[er.ariaLabel=4]="ariaLabel",er[er.ariaRequired=5]="ariaRequired",er[er.autoClosingBrackets=6]="autoClosingBrackets",er[er.autoClosingComments=7]="autoClosingComments",er[er.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",er[er.autoClosingDelete=9]="autoClosingDelete",er[er.autoClosingOvertype=10]="autoClosingOvertype",er[er.autoClosingQuotes=11]="autoClosingQuotes",er[er.autoIndent=12]="autoIndent",er[er.automaticLayout=13]="automaticLayout",er[er.autoSurround=14]="autoSurround",er[er.bracketPairColorization=15]="bracketPairColorization",er[er.guides=16]="guides",er[er.codeLens=17]="codeLens",er[er.codeLensFontFamily=18]="codeLensFontFamily",er[er.codeLensFontSize=19]="codeLensFontSize",er[er.colorDecorators=20]="colorDecorators",er[er.colorDecoratorsLimit=21]="colorDecoratorsLimit",er[er.columnSelection=22]="columnSelection",er[er.comments=23]="comments",er[er.contextmenu=24]="contextmenu",er[er.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",er[er.cursorBlinking=26]="cursorBlinking",er[er.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",er[er.cursorStyle=28]="cursorStyle",er[er.cursorSurroundingLines=29]="cursorSurroundingLines",er[er.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",er[er.cursorWidth=31]="cursorWidth",er[er.disableLayerHinting=32]="disableLayerHinting",er[er.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",er[er.domReadOnly=34]="domReadOnly",er[er.dragAndDrop=35]="dragAndDrop",er[er.dropIntoEditor=36]="dropIntoEditor",er[er.emptySelectionClipboard=37]="emptySelectionClipboard",er[er.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",er[er.extraEditorClassName=39]="extraEditorClassName",er[er.fastScrollSensitivity=40]="fastScrollSensitivity",er[er.find=41]="find",er[er.fixedOverflowWidgets=42]="fixedOverflowWidgets",er[er.folding=43]="folding",er[er.foldingStrategy=44]="foldingStrategy",er[er.foldingHighlight=45]="foldingHighlight",er[er.foldingImportsByDefault=46]="foldingImportsByDefault",er[er.foldingMaximumRegions=47]="foldingMaximumRegions",er[er.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",er[er.fontFamily=49]="fontFamily",er[er.fontInfo=50]="fontInfo",er[er.fontLigatures=51]="fontLigatures",er[er.fontSize=52]="fontSize",er[er.fontWeight=53]="fontWeight",er[er.fontVariations=54]="fontVariations",er[er.formatOnPaste=55]="formatOnPaste",er[er.formatOnType=56]="formatOnType",er[er.glyphMargin=57]="glyphMargin",er[er.gotoLocation=58]="gotoLocation",er[er.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",er[er.hover=60]="hover",er[er.inDiffEditor=61]="inDiffEditor",er[er.inlineSuggest=62]="inlineSuggest",er[er.inlineEdit=63]="inlineEdit",er[er.letterSpacing=64]="letterSpacing",er[er.lightbulb=65]="lightbulb",er[er.lineDecorationsWidth=66]="lineDecorationsWidth",er[er.lineHeight=67]="lineHeight",er[er.lineNumbers=68]="lineNumbers",er[er.lineNumbersMinChars=69]="lineNumbersMinChars",er[er.linkedEditing=70]="linkedEditing",er[er.links=71]="links",er[er.matchBrackets=72]="matchBrackets",er[er.minimap=73]="minimap",er[er.mouseStyle=74]="mouseStyle",er[er.mouseWheelScrollSensitivity=75]="mouseWheelScrollSensitivity",er[er.mouseWheelZoom=76]="mouseWheelZoom",er[er.multiCursorMergeOverlapping=77]="multiCursorMergeOverlapping",er[er.multiCursorModifier=78]="multiCursorModifier",er[er.multiCursorPaste=79]="multiCursorPaste",er[er.multiCursorLimit=80]="multiCursorLimit",er[er.occurrencesHighlight=81]="occurrencesHighlight",er[er.overviewRulerBorder=82]="overviewRulerBorder",er[er.overviewRulerLanes=83]="overviewRulerLanes",er[er.padding=84]="padding",er[er.pasteAs=85]="pasteAs",er[er.parameterHints=86]="parameterHints",er[er.peekWidgetDefaultFocus=87]="peekWidgetDefaultFocus",er[er.definitionLinkOpensInPeek=88]="definitionLinkOpensInPeek",er[er.quickSuggestions=89]="quickSuggestions",er[er.quickSuggestionsDelay=90]="quickSuggestionsDelay",er[er.readOnly=91]="readOnly",er[er.readOnlyMessage=92]="readOnlyMessage",er[er.renameOnType=93]="renameOnType",er[er.renderControlCharacters=94]="renderControlCharacters",er[er.renderFinalNewline=95]="renderFinalNewline",er[er.renderLineHighlight=96]="renderLineHighlight",er[er.renderLineHighlightOnlyWhenFocus=97]="renderLineHighlightOnlyWhenFocus",er[er.renderValidationDecorations=98]="renderValidationDecorations",er[er.renderWhitespace=99]="renderWhitespace",er[er.revealHorizontalRightPadding=100]="revealHorizontalRightPadding",er[er.roundedSelection=101]="roundedSelection",er[er.rulers=102]="rulers",er[er.scrollbar=103]="scrollbar",er[er.scrollBeyondLastColumn=104]="scrollBeyondLastColumn",er[er.scrollBeyondLastLine=105]="scrollBeyondLastLine",er[er.scrollPredominantAxis=106]="scrollPredominantAxis",er[er.selectionClipboard=107]="selectionClipboard",er[er.selectionHighlight=108]="selectionHighlight",er[er.selectOnLineNumbers=109]="selectOnLineNumbers",er[er.showFoldingControls=110]="showFoldingControls",er[er.showUnused=111]="showUnused",er[er.snippetSuggestions=112]="snippetSuggestions",er[er.smartSelect=113]="smartSelect",er[er.smoothScrolling=114]="smoothScrolling",er[er.stickyScroll=115]="stickyScroll",er[er.stickyTabStops=116]="stickyTabStops",er[er.stopRenderingLineAfter=117]="stopRenderingLineAfter",er[er.suggest=118]="suggest",er[er.suggestFontSize=119]="suggestFontSize",er[er.suggestLineHeight=120]="suggestLineHeight",er[er.suggestOnTriggerCharacters=121]="suggestOnTriggerCharacters",er[er.suggestSelection=122]="suggestSelection",er[er.tabCompletion=123]="tabCompletion",er[er.tabIndex=124]="tabIndex",er[er.unicodeHighlighting=125]="unicodeHighlighting",er[er.unusualLineTerminators=126]="unusualLineTerminators",er[er.useShadowDOM=127]="useShadowDOM",er[er.useTabStops=128]="useTabStops",er[er.wordBreak=129]="wordBreak",er[er.wordSegmenterLocales=130]="wordSegmenterLocales",er[er.wordSeparators=131]="wordSeparators",er[er.wordWrap=132]="wordWrap",er[er.wordWrapBreakAfterCharacters=133]="wordWrapBreakAfterCharacters",er[er.wordWrapBreakBeforeCharacters=134]="wordWrapBreakBeforeCharacters",er[er.wordWrapColumn=135]="wordWrapColumn",er[er.wordWrapOverride1=136]="wordWrapOverride1",er[er.wordWrapOverride2=137]="wordWrapOverride2",er[er.wrappingIndent=138]="wrappingIndent",er[er.wrappingStrategy=139]="wrappingStrategy",er[er.showDeprecated=140]="showDeprecated",er[er.inlayHints=141]="inlayHints",er[er.editorClassName=142]="editorClassName",er[er.pixelRatio=143]="pixelRatio",er[er.tabFocusMode=144]="tabFocusMode",er[er.layoutInfo=145]="layoutInfo",er[er.wrappingInfo=146]="wrappingInfo",er[er.defaultColorDecorators=147]="defaultColorDecorators",er[er.colorDecoratorsActivatedOn=148]="colorDecoratorsActivatedOn",er[er.inlineCompletionsAccessibilityVerbose=149]="inlineCompletionsAccessibilityVerbose",(el=m||(m={}))[el.TextDefined=0]="TextDefined",el[el.LF=1]="LF",el[el.CRLF=2]="CRLF",(ea=f||(f={}))[ea.LF=0]="LF",ea[ea.CRLF=1]="CRLF",(ed=_||(_={}))[ed.Left=1]="Left",ed[ed.Center=2]="Center",ed[ed.Right=3]="Right",(eh=v||(v={}))[eh.Increase=0]="Increase",eh[eh.Decrease=1]="Decrease",(eu=b||(b={}))[eu.None=0]="None",eu[eu.Indent=1]="Indent",eu[eu.IndentOutdent=2]="IndentOutdent",eu[eu.Outdent=3]="Outdent",(ec=C||(C={}))[ec.Both=0]="Both",ec[ec.Right=1]="Right",ec[ec.Left=2]="Left",ec[ec.None=3]="None",(eg=w||(w={}))[eg.Type=1]="Type",eg[eg.Parameter=2]="Parameter",(ep=y||(y={}))[ep.Automatic=0]="Automatic",ep[ep.Explicit=1]="Explicit",(em=S||(S={}))[em.Invoke=0]="Invoke",em[em.Automatic=1]="Automatic",(ef=L||(L={}))[ef.DependsOnKbLayout=-1]="DependsOnKbLayout",ef[ef.Unknown=0]="Unknown",ef[ef.Backspace=1]="Backspace",ef[ef.Tab=2]="Tab",ef[ef.Enter=3]="Enter",ef[ef.Shift=4]="Shift",ef[ef.Ctrl=5]="Ctrl",ef[ef.Alt=6]="Alt",ef[ef.PauseBreak=7]="PauseBreak",ef[ef.CapsLock=8]="CapsLock",ef[ef.Escape=9]="Escape",ef[ef.Space=10]="Space",ef[ef.PageUp=11]="PageUp",ef[ef.PageDown=12]="PageDown",ef[ef.End=13]="End",ef[ef.Home=14]="Home",ef[ef.LeftArrow=15]="LeftArrow",ef[ef.UpArrow=16]="UpArrow",ef[ef.RightArrow=17]="RightArrow",ef[ef.DownArrow=18]="DownArrow",ef[ef.Insert=19]="Insert",ef[ef.Delete=20]="Delete",ef[ef.Digit0=21]="Digit0",ef[ef.Digit1=22]="Digit1",ef[ef.Digit2=23]="Digit2",ef[ef.Digit3=24]="Digit3",ef[ef.Digit4=25]="Digit4",ef[ef.Digit5=26]="Digit5",ef[ef.Digit6=27]="Digit6",ef[ef.Digit7=28]="Digit7",ef[ef.Digit8=29]="Digit8",ef[ef.Digit9=30]="Digit9",ef[ef.KeyA=31]="KeyA",ef[ef.KeyB=32]="KeyB",ef[ef.KeyC=33]="KeyC",ef[ef.KeyD=34]="KeyD",ef[ef.KeyE=35]="KeyE",ef[ef.KeyF=36]="KeyF",ef[ef.KeyG=37]="KeyG",ef[ef.KeyH=38]="KeyH",ef[ef.KeyI=39]="KeyI",ef[ef.KeyJ=40]="KeyJ",ef[ef.KeyK=41]="KeyK",ef[ef.KeyL=42]="KeyL",ef[ef.KeyM=43]="KeyM",ef[ef.KeyN=44]="KeyN",ef[ef.KeyO=45]="KeyO",ef[ef.KeyP=46]="KeyP",ef[ef.KeyQ=47]="KeyQ",ef[ef.KeyR=48]="KeyR",ef[ef.KeyS=49]="KeyS",ef[ef.KeyT=50]="KeyT",ef[ef.KeyU=51]="KeyU",ef[ef.KeyV=52]="KeyV",ef[ef.KeyW=53]="KeyW",ef[ef.KeyX=54]="KeyX",ef[ef.KeyY=55]="KeyY",ef[ef.KeyZ=56]="KeyZ",ef[ef.Meta=57]="Meta",ef[ef.ContextMenu=58]="ContextMenu",ef[ef.F1=59]="F1",ef[ef.F2=60]="F2",ef[ef.F3=61]="F3",ef[ef.F4=62]="F4",ef[ef.F5=63]="F5",ef[ef.F6=64]="F6",ef[ef.F7=65]="F7",ef[ef.F8=66]="F8",ef[ef.F9=67]="F9",ef[ef.F10=68]="F10",ef[ef.F11=69]="F11",ef[ef.F12=70]="F12",ef[ef.F13=71]="F13",ef[ef.F14=72]="F14",ef[ef.F15=73]="F15",ef[ef.F16=74]="F16",ef[ef.F17=75]="F17",ef[ef.F18=76]="F18",ef[ef.F19=77]="F19",ef[ef.F20=78]="F20",ef[ef.F21=79]="F21",ef[ef.F22=80]="F22",ef[ef.F23=81]="F23",ef[ef.F24=82]="F24",ef[ef.NumLock=83]="NumLock",ef[ef.ScrollLock=84]="ScrollLock",ef[ef.Semicolon=85]="Semicolon",ef[ef.Equal=86]="Equal",ef[ef.Comma=87]="Comma",ef[ef.Minus=88]="Minus",ef[ef.Period=89]="Period",ef[ef.Slash=90]="Slash",ef[ef.Backquote=91]="Backquote",ef[ef.BracketLeft=92]="BracketLeft",ef[ef.Backslash=93]="Backslash",ef[ef.BracketRight=94]="BracketRight",ef[ef.Quote=95]="Quote",ef[ef.OEM_8=96]="OEM_8",ef[ef.IntlBackslash=97]="IntlBackslash",ef[ef.Numpad0=98]="Numpad0",ef[ef.Numpad1=99]="Numpad1",ef[ef.Numpad2=100]="Numpad2",ef[ef.Numpad3=101]="Numpad3",ef[ef.Numpad4=102]="Numpad4",ef[ef.Numpad5=103]="Numpad5",ef[ef.Numpad6=104]="Numpad6",ef[ef.Numpad7=105]="Numpad7",ef[ef.Numpad8=106]="Numpad8",ef[ef.Numpad9=107]="Numpad9",ef[ef.NumpadMultiply=108]="NumpadMultiply",ef[ef.NumpadAdd=109]="NumpadAdd",ef[ef.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",ef[ef.NumpadSubtract=111]="NumpadSubtract",ef[ef.NumpadDecimal=112]="NumpadDecimal",ef[ef.NumpadDivide=113]="NumpadDivide",ef[ef.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",ef[ef.ABNT_C1=115]="ABNT_C1",ef[ef.ABNT_C2=116]="ABNT_C2",ef[ef.AudioVolumeMute=117]="AudioVolumeMute",ef[ef.AudioVolumeUp=118]="AudioVolumeUp",ef[ef.AudioVolumeDown=119]="AudioVolumeDown",ef[ef.BrowserSearch=120]="BrowserSearch",ef[ef.BrowserHome=121]="BrowserHome",ef[ef.BrowserBack=122]="BrowserBack",ef[ef.BrowserForward=123]="BrowserForward",ef[ef.MediaTrackNext=124]="MediaTrackNext",ef[ef.MediaTrackPrevious=125]="MediaTrackPrevious",ef[ef.MediaStop=126]="MediaStop",ef[ef.MediaPlayPause=127]="MediaPlayPause",ef[ef.LaunchMediaPlayer=128]="LaunchMediaPlayer",ef[ef.LaunchMail=129]="LaunchMail",ef[ef.LaunchApp2=130]="LaunchApp2",ef[ef.Clear=131]="Clear",ef[ef.MAX_VALUE=132]="MAX_VALUE",(e_=k||(k={}))[e_.Hint=1]="Hint",e_[e_.Info=2]="Info",e_[e_.Warning=4]="Warning",e_[e_.Error=8]="Error",(ev=D||(D={}))[ev.Unnecessary=1]="Unnecessary",ev[ev.Deprecated=2]="Deprecated",(eb=x||(x={}))[eb.Inline=1]="Inline",eb[eb.Gutter=2]="Gutter",(eC=N||(N={}))[eC.Normal=1]="Normal",eC[eC.Underlined=2]="Underlined",(ew=E||(E={}))[ew.UNKNOWN=0]="UNKNOWN",ew[ew.TEXTAREA=1]="TEXTAREA",ew[ew.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",ew[ew.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",ew[ew.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",ew[ew.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",ew[ew.CONTENT_TEXT=6]="CONTENT_TEXT",ew[ew.CONTENT_EMPTY=7]="CONTENT_EMPTY",ew[ew.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",ew[ew.CONTENT_WIDGET=9]="CONTENT_WIDGET",ew[ew.OVERVIEW_RULER=10]="OVERVIEW_RULER",ew[ew.SCROLLBAR=11]="SCROLLBAR",ew[ew.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",ew[ew.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",(ey=I||(I={}))[ey.AIGenerated=1]="AIGenerated",(eS=T||(T={}))[eS.Invoke=0]="Invoke",eS[eS.Automatic=1]="Automatic",(eL=M||(M={}))[eL.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",eL[eL.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",eL[eL.TOP_CENTER=2]="TOP_CENTER",(ek=R||(R={}))[ek.Left=1]="Left",ek[ek.Center=2]="Center",ek[ek.Right=4]="Right",ek[ek.Full=7]="Full",(eD=A||(A={}))[eD.Word=0]="Word",eD[eD.Line=1]="Line",eD[eD.Suggest=2]="Suggest",(ex=P||(P={}))[ex.Left=0]="Left",ex[ex.Right=1]="Right",ex[ex.None=2]="None",ex[ex.LeftOfInjectedText=3]="LeftOfInjectedText",ex[ex.RightOfInjectedText=4]="RightOfInjectedText",(eN=O||(O={}))[eN.Off=0]="Off",eN[eN.On=1]="On",eN[eN.Relative=2]="Relative",eN[eN.Interval=3]="Interval",eN[eN.Custom=4]="Custom",(eE=F||(F={}))[eE.None=0]="None",eE[eE.Text=1]="Text",eE[eE.Blocks=2]="Blocks",(eI=B||(B={}))[eI.Smooth=0]="Smooth",eI[eI.Immediate=1]="Immediate",(eT=W||(W={}))[eT.Auto=1]="Auto",eT[eT.Hidden=2]="Hidden",eT[eT.Visible=3]="Visible",(eM=H||(H={}))[eM.LTR=0]="LTR",eM[eM.RTL=1]="RTL",(eR=V||(V={})).Off="off",eR.OnCode="onCode",eR.On="on",(eA=z||(z={}))[eA.Invoke=1]="Invoke",eA[eA.TriggerCharacter=2]="TriggerCharacter",eA[eA.ContentChange=3]="ContentChange",(eP=K||(K={}))[eP.File=0]="File",eP[eP.Module=1]="Module",eP[eP.Namespace=2]="Namespace",eP[eP.Package=3]="Package",eP[eP.Class=4]="Class",eP[eP.Method=5]="Method",eP[eP.Property=6]="Property",eP[eP.Field=7]="Field",eP[eP.Constructor=8]="Constructor",eP[eP.Enum=9]="Enum",eP[eP.Interface=10]="Interface",eP[eP.Function=11]="Function",eP[eP.Variable=12]="Variable",eP[eP.Constant=13]="Constant",eP[eP.String=14]="String",eP[eP.Number=15]="Number",eP[eP.Boolean=16]="Boolean",eP[eP.Array=17]="Array",eP[eP.Object=18]="Object",eP[eP.Key=19]="Key",eP[eP.Null=20]="Null",eP[eP.EnumMember=21]="EnumMember",eP[eP.Struct=22]="Struct",eP[eP.Event=23]="Event",eP[eP.Operator=24]="Operator",eP[eP.TypeParameter=25]="TypeParameter",(eO=U||(U={}))[eO.Deprecated=1]="Deprecated",(eF=$||($={}))[eF.Hidden=0]="Hidden",eF[eF.Blink=1]="Blink",eF[eF.Smooth=2]="Smooth",eF[eF.Phase=3]="Phase",eF[eF.Expand=4]="Expand",eF[eF.Solid=5]="Solid",(eB=q||(q={}))[eB.Line=1]="Line",eB[eB.Block=2]="Block",eB[eB.Underline=3]="Underline",eB[eB.LineThin=4]="LineThin",eB[eB.BlockOutline=5]="BlockOutline",eB[eB.UnderlineThin=6]="UnderlineThin",(eW=j||(j={}))[eW.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",eW[eW.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",eW[eW.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",eW[eW.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(eH=G||(G={}))[eH.None=0]="None",eH[eH.Same=1]="Same",eH[eH.Indent=2]="Indent",eH[eH.DeepIndent=3]="DeepIndent"},20913:function(e,t,i){"use strict";i.d(t,{B8:function(){return u},UX:function(){return d},aq:function(){return h},iN:function(){return g},ld:function(){return a},qq:function(){return l},ug:function(){return r},xi:function(){return c}});var n,s,o,r,l,a,d,h,u,c,g,p=i(63580);(r||(r={})).inspectTokensAction=p.NC("inspectTokens","Developer: Inspect Tokens"),(l||(l={})).gotoLineActionLabel=p.NC("gotoLineActionLabel","Go to Line/Column..."),(a||(a={})).helpQuickAccessActionLabel=p.NC("helpQuickAccess","Show all Quick Access Providers"),(n=d||(d={})).quickCommandActionLabel=p.NC("quickCommandActionLabel","Command Palette"),n.quickCommandHelp=p.NC("quickCommandActionHelp","Show And Run Commands"),(s=h||(h={})).quickOutlineActionLabel=p.NC("quickOutlineActionLabel","Go to Symbol..."),s.quickOutlineByCategoryActionLabel=p.NC("quickOutlineByCategoryActionLabel","Go to Symbol by Category..."),(o=u||(u={})).editorViewAccessibleLabel=p.NC("editorViewAccessibleLabel","Editor content"),o.accessibilityHelpMessage=p.NC("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options."),(c||(c={})).toggleHighContrast=p.NC("toggleHighContrast","Toggle High Contrast Theme"),(g||(g={})).bulkEditServiceSummary=p.NC("bulkEditServiceSummary","Made {0} edits in {1} files")},14706:function(e,t,i){"use strict";i.d(t,{CZ:function(){return a},D8:function(){return h},Jx:function(){return n},Tx:function(){return l},dQ:function(){return d},fV:function(){return u},gk:function(){return s},lN:function(){return r},rU:function(){return o}});class n{constructor(){this.changeType=1}}class s{static applyInjectedText(e,t){if(!t||0===t.length)return e;let i="",n=0;for(let s of t)i+=e.substring(n,s.column-1),n=s.column-1,i+=s.options.content;return i+e.substring(n)}static fromDecorations(e){let t=[];for(let i of e)i.options.before&&i.options.before.content.length>0&&t.push(new s(i.ownerId,i.range.startLineNumber,i.range.startColumn,i.options.before,0)),i.options.after&&i.options.after.content.length>0&&t.push(new s(i.ownerId,i.range.endLineNumber,i.range.endColumn,i.options.after,1));return t.sort((e,t)=>e.lineNumber===t.lineNumber?e.column===t.column?e.order-t.order:e.column-t.column:e.lineNumber-t.lineNumber),t}constructor(e,t,i,n,s){this.ownerId=e,this.lineNumber=t,this.column=i,this.options=n,this.order=s}}class o{constructor(e,t,i){this.changeType=2,this.lineNumber=e,this.detail=t,this.injectedText=i}}class r{constructor(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t}}class l{constructor(e,t,i,n){this.changeType=4,this.injectedTexts=n,this.fromLineNumber=e,this.toLineNumber=t,this.detail=i}}class a{constructor(){this.changeType=5}}class d{constructor(e,t,i,n){this.changes=e,this.versionId=t,this.isUndoing=i,this.isRedoing=n,this.resultingSelection=null}containsEvent(e){for(let t=0,i=this.changes.length;t>>1,this._text=t,this.languageIdCodec=i}equals(e){return e instanceof s&&this.slicedEquals(e,0,this._tokensCount)}slicedEquals(e,t,i){if(this._text!==e._text||this._tokensCount!==e._tokensCount)return!1;let n=t<<1,s=n+(i<<1);for(let t=n;t0?this._tokens[e-1<<1]:0}getMetadata(e){let t=this._tokens[(e<<1)+1];return t}getLanguageId(e){let t=this._tokens[(e<<1)+1],i=n.N.getLanguageId(t);return this.languageIdCodec.decodeLanguageId(i)}getStandardTokenType(e){let t=this._tokens[(e<<1)+1];return n.N.getTokenType(t)}getForeground(e){let t=this._tokens[(e<<1)+1];return n.N.getForeground(t)}getClassName(e){let t=this._tokens[(e<<1)+1];return n.N.getClassNameFromMetadata(t)}getInlineStyle(e,t){let i=this._tokens[(e<<1)+1];return n.N.getInlineStyleFromMetadata(i,t)}getPresentation(e){let t=this._tokens[(e<<1)+1];return n.N.getPresentationFromMetadata(t)}getEndOffset(e){return this._tokens[e<<1]}findTokenIndexAtOffset(e){return s.findIndexInTokensArray(this._tokens,e)}inflate(){return this}sliceAndInflate(e,t,i){return new o(this,e,t,i)}static convertToEndOffset(e,t){let i=e.length>>>1,n=i-1;for(let t=0;t>>1)-1;for(;it&&(n=s)}return i}withInserted(e){if(0===e.length)return this;let t=0,i=0,n="",o=[],r=0;for(;;){let s=tr){n+=this._text.substring(r,l.offset);let e=this._tokens[(t<<1)+1];o.push(n.length,e),r=l.offset}n+=l.text,o.push(n.length,l.tokenMetadata),i++}else break}return new s(new Uint32Array(o),n,this.languageIdCodec)}getTokenText(e){let t=this.getStartOffset(e),i=this.getEndOffset(e),n=this._text.substring(t,i);return n}forEach(e){let t=this.getCount();for(let i=0;i=i)break;this._tokensCount++}}getMetadata(e){return this._source.getMetadata(this._firstTokenIndex+e)}getLanguageId(e){return this._source.getLanguageId(this._firstTokenIndex+e)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(e){return e instanceof o&&this._startOffset===e._startOffset&&this._endOffset===e._endOffset&&this._deltaOffset===e._deltaOffset&&this._source.slicedEquals(e._source,this._firstTokenIndex,this._tokensCount)}getCount(){return this._tokensCount}getStandardTokenType(e){return this._source.getStandardTokenType(this._firstTokenIndex+e)}getForeground(e){return this._source.getForeground(this._firstTokenIndex+e)}getEndOffset(e){let t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset}getClassName(e){return this._source.getClassName(this._firstTokenIndex+e)}getInlineStyle(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)}getPresentation(e){return this._source.getPresentation(this._firstTokenIndex+e)}findTokenIndexAtOffset(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex}getTokenText(e){let t=this._firstTokenIndex+e,i=this._source.getStartOffset(t),n=this._source.getEndOffset(t),s=this._source.getTokenText(t);return ithis._endOffset&&(s=s.substring(0,s.length-(n-this._endOffset))),s}forEach(e){for(let t=0;t=o||(l[a++]=new s(Math.max(1,t.startColumn-n+1),Math.min(r+1,t.endColumn-n+1),t.className,t.type));return l}static filter(e,t,i,n){if(0===e.length)return[];let o=[],r=0;for(let l=0,a=e.length;lt||d.isEmpty()&&(0===a.type||3===a.type))continue;let h=d.startLineNumber===t?d.startColumn:i,u=d.endLineNumber===t?d.endColumn:n;o[r++]=new s(h,u,a.inlineClassName,a.type)}return o}static _typeCompare(e,t){let i=[2,0,1,3];return i[e]-i[t]}static compare(e,t){if(e.startColumn!==t.startColumn)return e.startColumn-t.startColumn;if(e.endColumn!==t.endColumn)return e.endColumn-t.endColumn;let i=s._typeCompare(e.type,t.type);return 0!==i?i:e.className!==t.className?e.className0&&this.stopOffsets[0]0&&t=e){this.stopOffsets.splice(n,0,e),this.classNames.splice(n,0,t),this.metadata.splice(n,0,i);break}this.count++}}class l{static normalize(e,t){if(0===t.length)return[];let i=[],s=new r,o=0;for(let r=0,l=t.length;r1){let t=e.charCodeAt(a-2);n.ZG(t)&&a--}if(d>1){let t=e.charCodeAt(d-2);n.ZG(t)&&d--}let c=a-1,g=d-2;o=s.consumeLowerThan(c,o,i),0===s.count&&(o=c),s.insert(g,h,u)}return s.consumeLowerThan(1073741824,o,i),i}}},72202:function(e,t,i){"use strict";i.d(t,{Nd:function(){return h},zG:function(){return a},IJ:function(){return d},d1:function(){return g},tF:function(){return m}});var n=i(63580),s=i(97295),o=i(50072),r=i(92550);class l{constructor(e,t,i,n){this.endIndex=e,this.type=t,this.metadata=i,this.containsRTL=n,this._linePartBrand=void 0}isWhitespace(){return!!(1&this.metadata)}isPseudoAfter(){return!!(4&this.metadata)}}class a{constructor(e,t){this.startOffset=e,this.endOffset=t}equals(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset}}class d{constructor(e,t,i,n,s,o,l,a,d,h,u,c,g,p,m,f,_,v,b){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=i,this.continuesWithWrappedLine=n,this.isBasicASCII=s,this.containsRTL=o,this.fauxIndentLength=l,this.lineTokens=a,this.lineDecorations=d.sort(r.Kp.compare),this.tabSize=h,this.startVisibleColumn=u,this.spaceWidth=c,this.stopRenderingLineAfter=m,this.renderWhitespace="all"===f?4:"boundary"===f?1:"selection"===f?2:"trailing"===f?3:0,this.renderControlCharacters=_,this.fontLigatures=v,this.selectionsOnLine=b&&b.sort((e,t)=>e.startOffset>>16}static getCharIndex(e){return(65535&e)>>>0}constructor(e,t){this.length=e,this._data=new Uint32Array(this.length),this._horizontalOffset=new Uint32Array(this.length)}setColumnInfo(e,t,i,n){this._data[e-1]=(t<<16|i<<0)>>>0,this._horizontalOffset[e-1]=n}getHorizontalOffset(e){return 0===this._horizontalOffset.length?0:this._horizontalOffset[e-1]}charOffsetToPartData(e){return 0===this.length?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]}getDomPosition(e){let t=this.charOffsetToPartData(e-1),i=u.getPartIndex(t),n=u.getCharIndex(t);return new h(i,n)}getColumn(e,t){let i=this.partDataToCharOffset(e.partIndex,t,e.charIndex);return i+1}partDataToCharOffset(e,t,i){if(0===this.length)return 0;let n=(e<<16|i<<0)>>>0,s=0,o=this.length-1;for(;s+1>>1,t=this._data[e];if(t===n)return e;t>n?o=e:s=e}if(s===o)return s;let r=this._data[s],l=this._data[o];if(r===n)return s;if(l===n)return o;let a=u.getPartIndex(r),d=u.getCharIndex(r),h=u.getPartIndex(l);return i-d<=(a!==h?t:u.getCharIndex(l))-i?s:o}}class c{constructor(e,t,i){this._renderLineOutputBrand=void 0,this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=i}}function g(e,t){if(0===e.lineContent.length){if(e.lineDecorations.length>0){t.appendString("");let i=0,n=0,s=0;for(let o of e.lineDecorations)(1===o.type||2===o.type)&&(t.appendString(''),1===o.type&&(s|=1,i++),2===o.type&&(s|=2,n++));t.appendString("");let o=new u(1,i+n);return o.setColumnInfo(1,i,0,0),new c(o,!1,s)}return t.appendString(""),new c(new u(0,0),!1,0)}return function(e,t){let i=e.fontIsMonospace,o=e.canUseHalfwidthRightwardsArrow,r=e.containsForeignElements,l=e.lineContent,a=e.len,d=e.isOverflowing,h=e.overflowingCharCount,g=e.parts,p=e.fauxIndentLength,m=e.tabSize,f=e.startVisibleColumn,v=e.containsRTL,b=e.spaceWidth,C=e.renderSpaceCharCode,w=e.renderWhitespace,y=e.renderControlCharacters,S=new u(a+1,g.length),L=!1,k=0,D=f,x=0,N=0,E=0;v?t.appendString(''):t.appendString("");for(let e=0,n=g.length;e=p&&(t+=s)}}for(f&&(t.appendString(' style="width:'),t.appendString(String(b*i)),t.appendString('px"')),t.appendASCIICharCode(62);k1?t.appendCharCode(8594):t.appendCharCode(65515);for(let e=2;e<=n;e++)t.appendCharCode(160)}else i=2,n=1,t.appendCharCode(C),t.appendCharCode(8204);x+=i,N+=n,k>=p&&(D+=n)}}else for(t.appendASCIICharCode(62);k=p&&(D+=o)}v?E++:E=0,k>=a&&!L&&n.isPseudoAfter()&&(L=!0,S.setColumnInfo(k+1,e,x,N)),t.appendString("")}return L||S.setColumnInfo(a+1,g.length-1,x,N),d&&(t.appendString(''),t.appendString(n.NC("showMore","Show more ({0})",h<1024?n.NC("overflow.chars","{0} chars",h):h<1048576?`${(h/1024).toFixed(1)} KB`:`${(h/1024/1024).toFixed(1)} MB`)),t.appendString("")),t.appendString(""),new c(S,v,r)}(function(e){let t,i,n;let o=e.lineContent;-1!==e.stopRenderingLineAfter&&e.stopRenderingLineAfter0&&(r[a++]=new l(n,"",0,!1));let d=n;for(let h=0,u=i.getCount();h=o){let i=!!t&&s.Ut(e.substring(d,o));r[a++]=new l(o,c,0,i);break}let g=!!t&&s.Ut(e.substring(d,u));r[a++]=new l(u,c,0,g),d=u}return r}(o,e.containsRTL,e.lineTokens,e.fauxIndentLength,n);e.renderControlCharacters&&!e.isBasicASCII&&(a=function(e,t){let i=[],n=new l(0,"",0,!1),s=0;for(let o of t){let t=o.endIndex;for(;sn.endIndex&&(n=new l(s,o.type,o.metadata,o.containsRTL),i.push(n)),n=new l(s+1,"mtkcontrol",o.metadata,!1),i.push(n))}s>n.endIndex&&(n=new l(t,o.type,o.metadata,o.containsRTL),i.push(n))}return i}(o,a)),(4===e.renderWhitespace||1===e.renderWhitespace||2===e.renderWhitespace&&e.selectionsOnLine||3===e.renderWhitespace&&!e.continuesWithWrappedLine)&&(a=function(e,t,i,n){let o;let r=e.continuesWithWrappedLine,a=e.fauxIndentLength,d=e.tabSize,h=e.startVisibleColumn,u=e.useMonospaceOptimizations,c=e.selectionsOnLine,g=1===e.renderWhitespace,p=3===e.renderWhitespace,m=e.renderSpaceWidth!==e.spaceWidth,f=[],_=0,v=0,b=n[0].type,C=n[v].containsRTL,w=n[v].endIndex,y=n.length,S=!1,L=s.LC(t);-1===L?(S=!0,L=i,o=i):o=s.ow(t);let k=!1,D=0,x=c&&c[D],N=h%d;for(let e=a;e=x.endOffset&&(D++,x=c&&c[D]),eo)r=!0;else if(9===h)r=!0;else if(32===h){if(g){if(k)r=!0;else{let n=e+1e),r&&p&&(r=S||e>o),r&&C&&e>=L&&e<=o&&(r=!1),k){if(!r||!u&&N>=d){if(m){let t=_>0?f[_-1].endIndex:a;for(let i=t+1;i<=e;i++)f[_++]=new l(i,"mtkw",1,!1)}else f[_++]=new l(e,"mtkw",1,!1);N%=d}}else(e===w||r&&e>a)&&(f[_++]=new l(e,b,0,C),N%=d);for(9===h?N=d:s.K7(h)?N+=2:N++,k=r;e===w;)if(++v0?t.charCodeAt(i-1):0,n=i>1?t.charCodeAt(i-2):0;32===e&&32!==n&&9!==n||(E=!0)}else E=!0}if(E){if(m){let e=_>0?f[_-1].endIndex:a;for(let t=e+1;t<=i;t++)f[_++]=new l(t,"mtkw",1,!1)}else f[_++]=new l(i,"mtkw",1,!1)}else f[_++]=new l(i,b,0,C);return f}(e,o,n,a));let d=0;if(e.lineDecorations.length>0){for(let t=0,i=e.lineDecorations.length;tu&&(u=e.startOffset,d[h++]=new l(u,r,c,g)),e.endOffset+1<=n)u=e.endOffset+1,d[h++]=new l(u,r+" "+e.className,c|e.metadata,g),a++;else{u=n,d[h++]=new l(u,r+" "+e.className,c|e.metadata,g);break}}n>u&&(u=n,d[h++]=new l(u,r,c,g))}let c=i[i.length-1].endIndex;if(a=50&&(s[o++]=new l(h+1,t,i,d),u=h+1,h=-1);u!==a&&(s[o++]=new l(a,t,i,d))}else s[o++]=r;n=a}else for(let e=0,i=t.length;e50){let e=i.type,t=i.metadata,d=i.containsRTL,h=Math.ceil(a/50);for(let i=1;i=8234&&e<=8238||e>=8294&&e<=8297||e>=8206&&e<=8207||1564===e}},1118:function(e,t,i){"use strict";i.d(t,{$l:function(){return c},$t:function(){return h},IP:function(){return a},SQ:function(){return g},Wx:function(){return u},l_:function(){return r},ud:function(){return l},wA:function(){return d}});var n=i(9488),s=i(97295),o=i(24314);class r{constructor(e,t,i,n){this._viewportBrand=void 0,this.top=0|e,this.left=0|t,this.width=0|i,this.height=0|n}}class l{constructor(e,t){this.tabSize=e,this.data=t}}class a{constructor(e,t,i,n,s,o,r){this._viewLineDataBrand=void 0,this.content=e,this.continuesWithWrappedLine=t,this.minColumn=i,this.maxColumn=n,this.startVisibleColumn=s,this.tokens=o,this.inlineDecorations=r}}class d{constructor(e,t,i,n,s,o,r,l,a,h){this.minColumn=e,this.maxColumn=t,this.content=i,this.continuesWithWrappedLine=n,this.isBasicASCII=d.isBasicASCII(i,o),this.containsRTL=d.containsRTL(i,this.isBasicASCII,s),this.tokens=r,this.inlineDecorations=l,this.tabSize=a,this.startVisibleColumn=h}static isBasicASCII(e,t){return!t||s.$i(e)}static containsRTL(e,t,i){return!t&&!!i&&s.Ut(e)}}class h{constructor(e,t,i){this.range=e,this.inlineClassName=t,this.type=i}}class u{constructor(e,t,i,n){this.startOffset=e,this.endOffset=t,this.inlineClassName=i,this.inlineClassNameAffectsLetterSpacing=n}toInlineDecoration(e){return new h(new o.e(e,this.startOffset+1,e,this.endOffset+1),this.inlineClassName,this.inlineClassNameAffectsLetterSpacing?3:0)}}class c{constructor(e,t){this._viewModelDecorationBrand=void 0,this.range=e,this.options=t}}class g{constructor(e,t,i){this.color=e,this.zIndex=t,this.data=i}static compareByRenderingProps(e,t){return e.zIndex===t.zIndex?e.colort.color?1:0:e.zIndex-t.zIndex}static equals(e,t){return e.color===t.color&&e.zIndex===t.zIndex&&n.fS(e.data,t.data)}static equalsArr(e,t){return n.fS(e,t,g.equals)}}},30665:function(e,t,i){"use strict";i.d(t,{EY:function(){return s},Tj:function(){return o}});class n{constructor(e,t,i){this._colorZoneBrand=void 0,this.from=0|e,this.to=0|t,this.colorId=0|i}static compare(e,t){return e.colorId===t.colorId?e.from===t.from?e.to-t.to:e.from-t.from:e.colorId-t.colorId}}class s{constructor(e,t,i,n){this._overviewRulerZoneBrand=void 0,this.startLineNumber=e,this.endLineNumber=t,this.heightInLines=i,this.color=n,this._colorZone=null}static compare(e,t){return e.color===t.color?e.startLineNumber===t.startLineNumber?e.heightInLines===t.heightInLines?e.endLineNumber-t.endLineNumber:e.heightInLines-t.heightInLines:e.startLineNumber-t.startLineNumber:e.colori&&(g=i-p);let m=a.color,f=this._color2Id[m];f||(f=++this._lastAssignedId,this._color2Id[m]=f,this._id2Color[f]=m);let _=new n(g-p,g+p,f);a.setColorZone(_),l.push(_)}return this._colorZonesInvalid=!1,l.sort(n.compare),l}}},30168:function(e,t,i){"use strict";i.d(t,{$t:function(){return d},CU:function(){return l},Fd:function(){return a},zg:function(){return h}});var n=i(50187),s=i(24314),o=i(1118),r=i(64141);class l{constructor(e,t,i,n,s){this.editorId=e,this.model=t,this.configuration=i,this._linesCollection=n,this._coordinatesConverter=s,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}_clearCachedModelDecorationsResolver(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}dispose(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}reset(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onModelDecorationsChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onLineMappingChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}_getOrCreateViewModelDecoration(e){let t=e.id,i=this._decorationsCache[t];if(!i){let r;let l=e.range,a=e.options;if(a.isWholeLine){let e=this._coordinatesConverter.convertModelPositionToViewPosition(new n.L(l.startLineNumber,1),0,!1,!0),t=this._coordinatesConverter.convertModelPositionToViewPosition(new n.L(l.endLineNumber,this.model.getLineMaxColumn(l.endLineNumber)),1);r=new s.e(e.lineNumber,e.column,t.lineNumber,t.column)}else r=this._coordinatesConverter.convertModelRangeToViewRange(l,1);i=new o.$l(r,a),this._decorationsCache[t]=i}return i}getMinimapDecorationsInRange(e){return this._getDecorationsInRange(e,!0,!1).decorations}getDecorationsViewportData(e){let t=null!==this._cachedModelDecorationsResolver;return(t=t&&e.equalsRange(this._cachedModelDecorationsResolverViewRange))||(this._cachedModelDecorationsResolver=this._getDecorationsInRange(e,!1,!1),this._cachedModelDecorationsResolverViewRange=e),this._cachedModelDecorationsResolver}getInlineDecorationsOnLine(e,t=!1,i=!1){let n=new s.e(e,this._linesCollection.getViewLineMinColumn(e),e,this._linesCollection.getViewLineMaxColumn(e));return this._getDecorationsInRange(n,t,i).inlineDecorations[0]}_getDecorationsInRange(e,t,i){let n=this._linesCollection.getDecorationsInRange(e,this.editorId,(0,r.$J)(this.configuration.options),t,i),l=e.startLineNumber,d=e.endLineNumber,h=[],u=0,c=[];for(let e=l;e<=d;e++)c[e-l]=[];for(let e=0,t=n.length;e1===e)}function h(e,t){return u(e,t.range,e=>2===e)}function u(e,t,i){for(let n=t.startLineNumber;n<=t.endLineNumber;n++){let s=e.tokenization.getLineTokens(n),o=n===t.startLineNumber,r=n===t.endLineNumber,l=o?s.findTokenIndexAtOffset(t.startColumn-1):0;for(;lt.endColumn-1)break}let e=i(s.getStandardTokenType(l));if(!e)return!1;l++}}return!0}},90236:function(e,t,i){"use strict";var n,s,o=i(85152),r=i(59365),l=i(22258);i(41459);var a=i(16830),d=i(3860),h=i(29102),u=i(63580),c=i(32064);let g=new c.uy("selectionAnchorSet",!1),p=s=class{static get(e){return e.getContribution(s.ID)}constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=g.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}setSelectionAnchor(){if(this.editor.hasModel()){let e=this.editor.getPosition();this.editor.changeDecorations(t=>{this.decorationId&&t.removeDecoration(this.decorationId),this.decorationId=t.addDecoration(d.Y.fromPositions(e,e),{description:"selection-anchor",stickiness:1,hoverMessage:new r.W5().appendText((0,u.NC)("selectionAnchor","Selection Anchor")),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),(0,o.Z9)((0,u.NC)("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){let e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){let e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){let t=this.editor.getPosition();this.editor.setSelection(d.Y.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){let e=this.decorationId;this.editor.changeDecorations(t=>{t.removeDecoration(e),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};p.ID="editor.contrib.selectionAnchorController",p=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=c.i6,function(e,t){n(e,t,1)})],p);class m extends a.R6{constructor(){super({id:"editor.action.setSelectionAnchor",label:(0,u.NC)("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:h.u.editorTextFocus,primary:(0,l.gx)(2089,2080),weight:100}})}async run(e,t){var i;null===(i=p.get(t))||void 0===i||i.setSelectionAnchor()}}class f extends a.R6{constructor(){super({id:"editor.action.goToSelectionAnchor",label:(0,u.NC)("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:g})}async run(e,t){var i;null===(i=p.get(t))||void 0===i||i.goToSelectionAnchor()}}class _ extends a.R6{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:(0,u.NC)("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:g,kbOpts:{kbExpr:h.u.editorTextFocus,primary:(0,l.gx)(2089,2089),weight:100}})}async run(e,t){var i;null===(i=p.get(t))||void 0===i||i.selectFromAnchorToCursor()}}class v extends a.R6{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:(0,u.NC)("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:g,kbOpts:{kbExpr:h.u.editorTextFocus,primary:9,weight:100}})}async run(e,t){var i;null===(i=p.get(t))||void 0===i||i.cancelSelectionAnchor()}}(0,a._K)(p.ID,p,4),(0,a.Qr)(m),(0,a.Qr)(f),(0,a.Qr)(_),(0,a.Qr)(v)},71387:function(e,t,i){"use strict";var n=i(15393),s=i(5976);i(64287);var o=i(16830),r=i(50187),l=i(24314),a=i(3860),d=i(29102),h=i(84973),u=i(84901),c=i(63580),g=i(84144),p=i(75974),m=i(97781);let f=(0,p.P6G)("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hcDark:"#A0A0A0",hcLight:"#A0A0A0"},c.NC("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class _ extends o.R6{constructor(){super({id:"editor.action.jumpToBracket",label:c.NC("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:d.u.editorTextFocus,primary:3165,weight:100}})}run(e,t){var i;null===(i=w.get(t))||void 0===i||i.jumpToBracket()}}class v extends o.R6{constructor(){super({id:"editor.action.selectToBracket",label:c.NC("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,metadata:{description:c.vv("smartSelect.selectToBracketDescription","Select the text inside and including the brackets or curly braces"),args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,i){var n;let s=!0;i&&!1===i.selectBrackets&&(s=!1),null===(n=w.get(t))||void 0===n||n.selectToBracket(s)}}class b extends o.R6{constructor(){super({id:"editor.action.removeBrackets",label:c.NC("smartSelect.removeBrackets","Remove Brackets"),alias:"Remove Brackets",precondition:void 0,kbOpts:{kbExpr:d.u.editorTextFocus,primary:2561,weight:100}})}run(e,t){var i;null===(i=w.get(t))||void 0===i||i.removeBrackets(this.id)}}class C{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}class w extends s.JT{static get(e){return e.getContribution(w.ID)}constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new n.pY(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(72),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(e=>{"never"!==this._matchBrackets&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(e=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(e=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(e=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(e=>{e.hasChanged(72)&&(this._matchBrackets=this._editor.getOption(72),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}jumpToBracket(){if(!this._editor.hasModel())return;let e=this._editor.getModel(),t=this._editor.getSelections().map(t=>{let i=t.getStartPosition(),n=e.bracketPairs.matchBracket(i),s=null;if(n)n[0].containsPosition(i)&&!n[1].containsPosition(i)?s=n[1].getStartPosition():n[1].containsPosition(i)&&(s=n[0].getStartPosition());else{let t=e.bracketPairs.findEnclosingBrackets(i);if(t)s=t[1].getStartPosition();else{let t=e.bracketPairs.findNextBracket(i);t&&t.range&&(s=t.range.getStartPosition())}}return s?new a.Y(s.lineNumber,s.column,s.lineNumber,s.column):new a.Y(i.lineNumber,i.column,i.lineNumber,i.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;let t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{let s=n.getStartPosition(),o=t.bracketPairs.matchBracket(s);if(!o&&!(o=t.bracketPairs.findEnclosingBrackets(s))){let e=t.bracketPairs.findNextBracket(s);e&&e.range&&(o=t.bracketPairs.matchBracket(e.range.getStartPosition()))}let r=null,d=null;if(o){o.sort(l.e.compareRangesUsingStarts);let[t,i]=o;if(r=e?t.getStartPosition():t.getEndPosition(),d=e?i.getEndPosition():i.getStartPosition(),i.containsPosition(s)){let e=r;r=d,d=e}}r&&d&&i.push(new a.Y(r.lineNumber,r.column,d.lineNumber,d.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}removeBrackets(e){if(!this._editor.hasModel())return;let t=this._editor.getModel();this._editor.getSelections().forEach(i=>{let n=i.getPosition(),s=t.bracketPairs.matchBracket(n);s||(s=t.bracketPairs.findEnclosingBrackets(n)),s&&(this._editor.pushUndoStop(),this._editor.executeEdits(e,[{range:s[0],text:""},{range:s[1],text:""}]),this._editor.pushUndoStop())})}_updateBrackets(){if("never"===this._matchBrackets)return;this._recomputeBrackets();let e=[],t=0;for(let i of this._lastBracketsData){let n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations.set(e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}let e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}let t=this._editor.getModel(),i=t.getVersionId(),n=[];this._lastVersionId===i&&(n=this._lastBracketsData);let s=[],o=0;for(let t=0,i=e.length;t1&&s.sort(r.L.compare);let l=[],a=0,d=0,h=n.length;for(let e=0,i=s.length;e0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}(0,n.Qr)(d)},55833:function(e,t,i){"use strict";var n=i(16268),s=i(65321),o=i(1432),r=i(35715),l=i(16830),a=i(11640),d=i(29102),h=i(24954),u=i(63580),c=i(84144),g=i(84972),p=i(32064);let m="9_cutcopypaste",f=o.tY||document.queryCommandSupported("cut"),_=o.tY||document.queryCommandSupported("copy"),v=void 0!==navigator.clipboard&&!n.vU||document.queryCommandSupported("paste");function b(e){return e.register(),e}let C=f?b(new l.AJ({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:o.tY?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:c.eH.MenubarEditMenu,group:"2_ccp",title:u.NC({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:c.eH.EditorContext,group:m,title:u.NC("actions.clipboard.cutLabel","Cut"),when:d.u.writable,order:1},{menuId:c.eH.CommandPalette,group:"",title:u.NC("actions.clipboard.cutLabel","Cut"),order:1},{menuId:c.eH.SimpleEditorContext,group:m,title:u.NC("actions.clipboard.cutLabel","Cut"),when:d.u.writable,order:1}]})):void 0,w=_?b(new l.AJ({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:o.tY?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:c.eH.MenubarEditMenu,group:"2_ccp",title:u.NC({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:c.eH.EditorContext,group:m,title:u.NC("actions.clipboard.copyLabel","Copy"),order:2},{menuId:c.eH.CommandPalette,group:"",title:u.NC("actions.clipboard.copyLabel","Copy"),order:1},{menuId:c.eH.SimpleEditorContext,group:m,title:u.NC("actions.clipboard.copyLabel","Copy"),order:2}]})):void 0;c.BH.appendMenuItem(c.eH.MenubarEditMenu,{submenu:c.eH.MenubarCopy,title:u.vv("copy as","Copy As"),group:"2_ccp",order:3}),c.BH.appendMenuItem(c.eH.EditorContext,{submenu:c.eH.EditorContextCopy,title:u.vv("copy as","Copy As"),group:m,order:3}),c.BH.appendMenuItem(c.eH.EditorContext,{submenu:c.eH.EditorContextShare,title:u.vv("share","Share"),group:"11_share",order:-1,when:p.Ao.and(p.Ao.notEquals("resourceScheme","output"),d.u.editorTextFocus)}),c.BH.appendMenuItem(c.eH.ExplorerContext,{submenu:c.eH.ExplorerContextShare,title:u.vv("share","Share"),group:"11_share",order:-1});let y=v?b(new l.AJ({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:o.tY?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:c.eH.MenubarEditMenu,group:"2_ccp",title:u.NC({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:4},{menuId:c.eH.EditorContext,group:m,title:u.NC("actions.clipboard.pasteLabel","Paste"),when:d.u.writable,order:4},{menuId:c.eH.CommandPalette,group:"",title:u.NC("actions.clipboard.pasteLabel","Paste"),order:1},{menuId:c.eH.SimpleEditorContext,group:m,title:u.NC("actions.clipboard.pasteLabel","Paste"),when:d.u.writable,order:4}]})):void 0;class S extends l.R6{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:u.NC("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:d.u.textInputFocus,primary:0,weight:100}})}run(e,t){if(!t.hasModel())return;let i=t.getOption(37);!i&&t.getSelection().isEmpty()||(r.RA.forceCopyWithSyntaxHighlighting=!0,t.focus(),t.getContainerDomNode().ownerDocument.execCommand("copy"),r.RA.forceCopyWithSyntaxHighlighting=!1)}}function L(e,t){e&&(e.addImplementation(1e4,"code-editor",(e,i)=>{let n=e.get(a.$).getFocusedCodeEditor();if(n&&n.hasTextFocus()){let e=n.getOption(37),i=n.getSelection();return!!(i&&i.isEmpty())&&!e||(n.getContainerDomNode().ownerDocument.execCommand(t),!0)}return!1}),e.addImplementation(0,"generic-dom",(e,i)=>((0,s.uP)().execCommand(t),!0)))}L(C,"cut"),L(w,"copy"),y&&(y.addImplementation(1e4,"code-editor",(e,t)=>{var i,n;let s=e.get(a.$),l=e.get(g.p),d=s.getFocusedCodeEditor();if(d&&d.hasTextFocus()){let e=d.getContainerDomNode().ownerDocument.execCommand("paste");return e?null!==(n=null===(i=h.bO.get(d))||void 0===i?void 0:i.finishedPaste())&&void 0!==n?n:Promise.resolve():!o.$L||(async()=>{let e=await l.readText();if(""!==e){let t=r.Nl.INSTANCE.get(e),i=!1,n=null,s=null;t&&(i=d.getOption(37)&&!!t.isFromEmptySelection,n=void 0!==t.multicursorText?t.multicursorText:null,s=t.mode),d.trigger("keyboard","paste",{text:e,pasteOnNewLine:i,multicursorText:n,mode:s})}})()}return!1}),y.addImplementation(0,"generic-dom",(e,t)=>((0,s.uP)().execCommand("paste"),!0))),_&&(0,l.Qr)(S)},75396:function(e,t,i){"use strict";i.d(t,{Bb:function(){return D},LR:function(){return R},MN:function(){return x},RB:function(){return S},TM:function(){return E},UX:function(){return s},aI:function(){return M},cz:function(){return L},pZ:function(){return k},uH:function(){return N}});var n,s,o=i(9488),r=i(71050),l=i(17301),a=i(5976),d=i(70666),h=i(66007),u=i(24314),c=i(3860),g=i(71922),p=i(73733),m=i(14410),f=i(63580),_=i(94565),v=i(59422),b=i(90535),C=i(10829),w=i(87997),y=i(85373);let S="editor.action.codeAction",L="editor.action.quickFix",k="editor.action.autoFix",D="editor.action.refactor",x="editor.action.sourceAction",N="editor.action.organizeImports",E="editor.action.fixAll";class I extends a.JT{static codeActionsPreferredComparator(e,t){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:0}static codeActionsComparator({action:e},{action:t}){return e.isAI&&!t.isAI?1:!e.isAI&&t.isAI?-1:(0,o.Of)(e.diagnostics)?(0,o.Of)(t.diagnostics)?I.codeActionsPreferredComparator(e,t):-1:(0,o.Of)(t.diagnostics)?1:I.codeActionsPreferredComparator(e,t)}constructor(e,t,i){super(),this.documentation=t,this._register(i),this.allActions=[...e].sort(I.codeActionsComparator),this.validActions=this.allActions.filter(({action:e})=>!e.disabled)}get hasAutoFix(){return this.validActions.some(({action:e})=>!!e.kind&&w.yN.QuickFix.contains(new y.o(e.kind))&&!!e.isPreferred)}get hasAIFix(){return this.validActions.some(({action:e})=>!!e.isAI)}get allAIFixes(){return this.validActions.every(({action:e})=>!!e.isAI)}}let T={actions:[],documentation:void 0};async function M(e,t,i,n,s,r){var d,h;let u=n.filter||{},c={...u,excludes:[...u.excludes||[],w.yN.Notebook]},g={only:null===(d=u.include)||void 0===d?void 0:d.value,trigger:n.type},p=new m.YQ(t,r),f=2===n.type,_=(h=f?c:u,e.all(t).filter(e=>!e.providedCodeActionKinds||e.providedCodeActionKinds.some(e=>(0,w.EU)(h,new y.o(e))))),v=new a.SL,b=_.map(async e=>{try{s.report(e);let n=await e.provideCodeActions(t,i,g,p.token);if(n&&v.add(n),p.token.isCancellationRequested)return T;let o=((null==n?void 0:n.actions)||[]).filter(e=>e&&(0,w.Yl)(u,e)),r=function(e,t,i){if(!e.documentation)return;let n=e.documentation.map(e=>({kind:new y.o(e.kind),command:e.command}));if(i){let e;for(let t of n)t.kind.contains(i)&&(e?e.kind.contains(t.kind)&&(e=t):e=t);if(e)return null==e?void 0:e.command}for(let e of t)if(e.kind){for(let t of n)if(t.kind.contains(new y.o(e.kind)))return t.command}}(e,o,u.include);return{actions:o.map(t=>new w.bA(t,e)),documentation:r}}catch(e){if((0,l.n2)(e))throw e;return(0,l.Cp)(e),T}}),C=e.onDidChange(()=>{let i=e.all(t);(0,o.fS)(i,_)||p.cancel()});try{let i=await Promise.all(b),s=i.map(e=>e.actions).flat(),r=[...(0,o.kX)(i.map(e=>e.documentation)),...function*(e,t,i,n){var s,o,r;if(t&&n.length)for(let l of e.all(t))l._getAdditionalMenuItems&&(yield*null===(s=l._getAdditionalMenuItems)||void 0===s?void 0:s.call(l,{trigger:i.type,only:null===(r=null===(o=i.filter)||void 0===o?void 0:o.include)||void 0===r?void 0:r.value},n.map(e=>e.action)))}(e,t,n,s)];return new I(s,r,v)}finally{C.dispose(),p.dispose()}}async function R(e,t,i,n,o=r.Ts.None){var l;let a=e.get(h.vu),d=e.get(_.H),u=e.get(C.b),c=e.get(v.lT);if(u.publicLog2("codeAction.applyCodeAction",{codeActionTitle:t.action.title,codeActionKind:t.action.kind,codeActionIsPreferred:!!t.action.isPreferred,reason:i}),await t.resolve(o),!o.isCancellationRequested){if(null===(l=t.action.edit)||void 0===l?void 0:l.edits.length){let e=await a.apply(t.action.edit,{editor:null==n?void 0:n.editor,label:t.action.title,quotableLabel:t.action.title,code:"undoredo.codeAction",respectAutoSaveConfig:i!==s.OnSave,showPreview:null==n?void 0:n.preview});if(!e.isApplied)return}if(t.action.command)try{await d.executeCommand(t.action.command.id,...t.action.command.arguments||[])}catch(t){let e="string"==typeof t?t:t instanceof Error&&"string"==typeof t.message?t.message:void 0;c.error("string"==typeof e?e:f.NC("applyCodeActionFailed","An unknown error occurred while applying the code action"))}}}(n=s||(s={})).OnSave="onSave",n.FromProblemsView="fromProblemsView",n.FromCodeActions="fromCodeActions",n.FromAILightbulb="fromAILightbulb",_.P.registerCommand("_executeCodeActionProvider",async function(e,t,i,n,s){if(!(t instanceof d.o))throw(0,l.b1)();let{codeActionProvider:o}=e.get(g.p),a=e.get(p.q).getModel(t);if(!a)throw(0,l.b1)();let h=c.Y.isISelection(i)?c.Y.liftSelection(i):u.e.isIRange(i)?a.validateRange(i):void 0;if(!h)throw(0,l.b1)();let m="string"==typeof n?new y.o(n):void 0,f=await M(o,a,h,{type:1,triggerAction:w.aQ.Default,filter:{includeSourceActions:!0,include:m}},b.Ex.None,r.Ts.None),_=[],v=Math.min(f.validActions.length,"number"==typeof s?s:0);for(let e=0;ee.action)}finally{setTimeout(()=>f.dispose(),100)}})},86687:function(e,t,i){"use strict";var n=i(16830),s=i(800),o=i(85373),r=i(97295),l=i(29102),a=i(75396),d=i(63580),h=i(32064),u=i(87997),c=i(69543),g=i(17016);function p(e){return h.Ao.regex(g.fj.keys()[0],RegExp("(\\s|^)"+(0,r.ec)(e.value)+"\\b"))}let m={type:"object",defaultSnippets:[{body:{kind:""}}],properties:{kind:{type:"string",description:d.NC("args.schema.kind","Kind of the code action to run.")},apply:{type:"string",description:d.NC("args.schema.apply","Controls when the returned actions are applied."),default:"ifSingle",enum:["first","ifSingle","never"],enumDescriptions:[d.NC("args.schema.apply.first","Always apply the first returned code action."),d.NC("args.schema.apply.ifSingle","Apply the first returned code action if it is the only one."),d.NC("args.schema.apply.never","Do not apply the returned code actions.")]},preferred:{type:"boolean",default:!1,description:d.NC("args.schema.preferred","Controls if only preferred code actions should be returned.")}}};function f(e,t,i,n,s=u.aQ.Default){if(e.hasModel()){let o=c.G.get(e);null==o||o.manualTriggerAtCurrentPosition(t,s,i,n)}}class _ extends n.R6{constructor(){super({id:a.cz,label:d.NC("quickfix.trigger.label","Quick Fix..."),alias:"Quick Fix...",precondition:h.Ao.and(l.u.writable,l.u.hasCodeActionsProvider),kbOpts:{kbExpr:l.u.textInputFocus,primary:2137,weight:100}})}run(e,t){return f(t,d.NC("editor.action.quickFix.noneMessage","No code actions available"),void 0,void 0,u.aQ.QuickFix)}}class v extends n._l{constructor(){super({id:a.RB,precondition:h.Ao.and(l.u.writable,l.u.hasCodeActionsProvider),metadata:{description:"Trigger a code action",args:[{name:"args",schema:m}]}})}runEditorCommand(e,t,i){let n=u.wZ.fromUser(i,{kind:o.o.Empty,apply:"ifSingle"});return f(t,"string"==typeof(null==i?void 0:i.kind)?n.preferred?d.NC("editor.action.codeAction.noneMessage.preferred.kind","No preferred code actions for '{0}' available",i.kind):d.NC("editor.action.codeAction.noneMessage.kind","No code actions for '{0}' available",i.kind):n.preferred?d.NC("editor.action.codeAction.noneMessage.preferred","No preferred code actions available"):d.NC("editor.action.codeAction.noneMessage","No code actions available"),{include:n.kind,includeSourceActions:!0,onlyIncludePreferredActions:n.preferred},n.apply)}}class b extends n.R6{constructor(){super({id:a.Bb,label:d.NC("refactor.label","Refactor..."),alias:"Refactor...",precondition:h.Ao.and(l.u.writable,l.u.hasCodeActionsProvider),kbOpts:{kbExpr:l.u.textInputFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:h.Ao.and(l.u.writable,p(u.yN.Refactor))},metadata:{description:"Refactor...",args:[{name:"args",schema:m}]}})}run(e,t,i){let n=u.wZ.fromUser(i,{kind:u.yN.Refactor,apply:"never"});return f(t,"string"==typeof(null==i?void 0:i.kind)?n.preferred?d.NC("editor.action.refactor.noneMessage.preferred.kind","No preferred refactorings for '{0}' available",i.kind):d.NC("editor.action.refactor.noneMessage.kind","No refactorings for '{0}' available",i.kind):n.preferred?d.NC("editor.action.refactor.noneMessage.preferred","No preferred refactorings available"):d.NC("editor.action.refactor.noneMessage","No refactorings available"),{include:u.yN.Refactor.contains(n.kind)?n.kind:o.o.None,onlyIncludePreferredActions:n.preferred},n.apply,u.aQ.Refactor)}}class C extends n.R6{constructor(){super({id:a.MN,label:d.NC("source.label","Source Action..."),alias:"Source Action...",precondition:h.Ao.and(l.u.writable,l.u.hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:h.Ao.and(l.u.writable,p(u.yN.Source))},metadata:{description:"Source Action...",args:[{name:"args",schema:m}]}})}run(e,t,i){let n=u.wZ.fromUser(i,{kind:u.yN.Source,apply:"never"});return f(t,"string"==typeof(null==i?void 0:i.kind)?n.preferred?d.NC("editor.action.source.noneMessage.preferred.kind","No preferred source actions for '{0}' available",i.kind):d.NC("editor.action.source.noneMessage.kind","No source actions for '{0}' available",i.kind):n.preferred?d.NC("editor.action.source.noneMessage.preferred","No preferred source actions available"):d.NC("editor.action.source.noneMessage","No source actions available"),{include:u.yN.Source.contains(n.kind)?n.kind:o.o.None,includeSourceActions:!0,onlyIncludePreferredActions:n.preferred},n.apply,u.aQ.SourceAction)}}class w extends n.R6{constructor(){super({id:a.uH,label:d.NC("organizeImports.label","Organize Imports"),alias:"Organize Imports",precondition:h.Ao.and(l.u.writable,p(u.yN.SourceOrganizeImports)),kbOpts:{kbExpr:l.u.textInputFocus,primary:1581,weight:100}})}run(e,t){return f(t,d.NC("editor.action.organize.noneMessage","No organize imports action available"),{include:u.yN.SourceOrganizeImports,includeSourceActions:!0},"ifSingle",u.aQ.OrganizeImports)}}class y extends n.R6{constructor(){super({id:a.TM,label:d.NC("fixAll.label","Fix All"),alias:"Fix All",precondition:h.Ao.and(l.u.writable,p(u.yN.SourceFixAll))})}run(e,t){return f(t,d.NC("fixAll.noneMessage","No fix all action available"),{include:u.yN.SourceFixAll,includeSourceActions:!0},"ifSingle",u.aQ.FixAll)}}class S extends n.R6{constructor(){super({id:a.pZ,label:d.NC("autoFix.label","Auto Fix..."),alias:"Auto Fix...",precondition:h.Ao.and(l.u.writable,p(u.yN.QuickFix)),kbOpts:{kbExpr:l.u.textInputFocus,primary:1625,mac:{primary:2649},weight:100}})}run(e,t){return f(t,d.NC("editor.action.autoFix.noneMessage","No auto fixes available"),{include:u.yN.QuickFix,onlyIncludePreferredActions:!0},"ifSingle",u.aQ.AutoFix)}}var L=i(86490),k=i(23193),D=i(89872);(0,n._K)(c.G.ID,c.G,3),(0,n._K)(L.f.ID,L.f,4),(0,n.Qr)(_),(0,n.Qr)(b),(0,n.Qr)(C),(0,n.Qr)(w),(0,n.Qr)(S),(0,n.Qr)(y),(0,n.fK)(new v),D.B.as(k.IP.Configuration).registerConfiguration({...s.wk,properties:{"editor.codeActionWidget.showHeaders":{type:"boolean",scope:5,description:d.NC("showCodeActionHeaders","Enable/disable showing group headers in the Code Action menu."),default:!0}}}),D.B.as(k.IP.Configuration).registerConfiguration({...s.wk,properties:{"editor.codeActionWidget.includeNearbyQuickFixes":{type:"boolean",scope:5,description:d.NC("includeNearbyQuickFixes","Enable/disable showing nearest Quick Fix within a line when not currently on a diagnostic."),default:!0}}})},69543:function(e,t,i){"use strict";i.d(t,{G:function(){return ea}});var n,s,o,r=i(65321),l=i(85152),a=i(17301),d=i(79579),h=i(5976),u=i(50187),c=i(84901),g=i(71922),p=i(75396),m=i(85373),f=i(87997),_=i(91847);let v=s=class{constructor(e){this.keybindingService=e}getResolver(){let e=new d.o(()=>this.keybindingService.getKeybindings().filter(e=>s.codeActionCommands.indexOf(e.command)>=0).filter(e=>e.resolvedKeybinding).map(e=>{let t=e.commandArgs;return e.command===p.uH?t={kind:f.yN.SourceOrganizeImports.value}:e.command===p.TM&&(t={kind:f.yN.SourceFixAll.value}),{resolvedKeybinding:e.resolvedKeybinding,...f.wZ.fromUser(t,{kind:m.o.None,apply:"never"})}}));return t=>{if(t.kind){let i=this.bestKeybindingForCodeAction(t,e.value);return null==i?void 0:i.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;let i=new m.o(e.kind);return t.filter(e=>e.kind.contains(i)).filter(t=>!t.preferred||e.isPreferred).reduceRight((e,t)=>e?e.kind.contains(t.kind)?t:e:t,void 0)}};v.codeActionCommands=[p.Bb,p.RB,p.MN,p.uH,p.TM],v=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=_.d,function(e,t){n(e,t,0)})],v),i(28609);var b=i(78789);i(71713);var C=i(63580);let w=Object.freeze({kind:m.o.Empty,title:(0,C.NC)("codeAction.widget.id.more","More Actions...")}),y=Object.freeze([{kind:f.yN.QuickFix,title:(0,C.NC)("codeAction.widget.id.quickfix","Quick Fix")},{kind:f.yN.RefactorExtract,title:(0,C.NC)("codeAction.widget.id.extract","Extract"),icon:b.l.wrench},{kind:f.yN.RefactorInline,title:(0,C.NC)("codeAction.widget.id.inline","Inline"),icon:b.l.wrench},{kind:f.yN.RefactorRewrite,title:(0,C.NC)("codeAction.widget.id.convert","Rewrite"),icon:b.l.wrench},{kind:f.yN.RefactorMove,title:(0,C.NC)("codeAction.widget.id.move","Move"),icon:b.l.wrench},{kind:f.yN.SurroundWith,title:(0,C.NC)("codeAction.widget.id.surround","Surround With"),icon:b.l.surroundWith},{kind:f.yN.Source,title:(0,C.NC)("codeAction.widget.id.source","Source Action"),icon:b.l.symbolFile},w]);var S=i(86490),L=i(27753),k=i(90317);i(15284);var D=i(55496),x=i(69047),N=i(71050),E=i(1432),I=i(25670),T=i(5606),M=i(86253),R=i(75974),A=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},P=function(e,t){return function(i,n){t(i,n,e)}};let O="acceptSelectedCodeAction",F="previewSelectedCodeAction";class B{get templateId(){return"header"}renderTemplate(e){e.classList.add("group-header");let t=document.createElement("span");return e.append(t),{container:e,text:t}}renderElement(e,t,i){var n,s;i.text.textContent=null!==(s=null===(n=e.group)||void 0===n?void 0:n.title)&&void 0!==s?s:""}disposeTemplate(e){}}let W=class{get templateId(){return"action"}constructor(e,t){this._supportsPreview=e,this._keybindingService=t}renderTemplate(e){e.classList.add(this.templateId);let t=document.createElement("div");t.className="icon",e.append(t);let i=document.createElement("span");i.className="title",e.append(i);let n=new D.e(e,E.OS);return{container:e,icon:t,text:i,keybinding:n}}renderElement(e,t,i){var n,s,o;if((null===(n=e.group)||void 0===n?void 0:n.icon)?(i.icon.className=I.k.asClassName(e.group.icon),e.group.icon.color&&(i.icon.style.color=(0,R.n_1)(e.group.icon.color.id))):(i.icon.className=I.k.asClassName(b.l.lightBulb),i.icon.style.color="var(--vscode-editorLightBulb-foreground)"),!e.item||!e.label)return;i.text.textContent=U(e.label),i.keybinding.set(e.keybinding),r.iJ(!!e.keybinding,i.keybinding.element);let l=null===(s=this._keybindingService.lookupKeybinding(O))||void 0===s?void 0:s.getLabel(),a=null===(o=this._keybindingService.lookupKeybinding(F))||void 0===o?void 0:o.getLabel();i.container.classList.toggle("option-disabled",e.disabled),e.disabled?i.container.title=e.label:l&&a?this._supportsPreview&&e.canPreview?i.container.title=(0,C.NC)({key:"label-preview",comment:['placeholders are keybindings, e.g "F2 to Apply, Shift+F2 to Preview"']},"{0} to Apply, {1} to Preview",l,a):i.container.title=(0,C.NC)({key:"label",comment:['placeholder is a keybinding, e.g "F2 to Apply"']},"{0} to Apply",l):i.container.title=""}disposeTemplate(e){e.keybinding.dispose()}};W=A([P(1,_.d)],W);class H extends UIEvent{constructor(){super("acceptSelectedAction")}}class V extends UIEvent{constructor(){super("previewSelectedAction")}}function z(e){if("action"===e.kind)return e.label}let K=class extends h.JT{constructor(e,t,i,n,s,o){super(),this._delegate=n,this._contextViewService=s,this._keybindingService=o,this._actionLineHeight=24,this._headerLineHeight=26,this.cts=this._register(new N.AU),this.domNode=document.createElement("div"),this.domNode.classList.add("actionList"),this._list=this._register(new x.aV(e,this.domNode,{getHeight:e=>"header"===e.kind?this._headerLineHeight:this._actionLineHeight,getTemplateId:e=>e.kind},[new W(t,this._keybindingService),new B],{keyboardSupport:!1,typeNavigationEnabled:!0,keyboardNavigationLabelProvider:{getKeyboardNavigationLabel:z},accessibilityProvider:{getAriaLabel:e=>{if("action"===e.kind){let t=e.label?U(null==e?void 0:e.label):"";return e.disabled&&(t=(0,C.NC)({key:"customQuickFixWidget.labels",comment:["Action widget labels for accessibility."]},"{0}, Disabled Reason: {1}",t,e.disabled)),t}return null},getWidgetAriaLabel:()=>(0,C.NC)({key:"customQuickFixWidget",comment:["An action widget option"]},"Action Widget"),getRole:e=>"action"===e.kind?"option":"separator",getWidgetRole:()=>"listbox"}})),this._list.style(M.O2),this._register(this._list.onMouseClick(e=>this.onListClick(e))),this._register(this._list.onMouseOver(e=>this.onListHover(e))),this._register(this._list.onDidChangeFocus(()=>this.onFocus())),this._register(this._list.onDidChangeSelection(e=>this.onListSelection(e))),this._allMenuItems=i,this._list.splice(0,this._list.length,this._allMenuItems),this._list.length&&this.focusNext()}focusCondition(e){return!e.disabled&&"action"===e.kind}hide(e){this._delegate.onHide(e),this.cts.cancel(),this._contextViewService.hideContextView()}layout(e){let t=this._allMenuItems.filter(e=>"header"===e.kind).length,i=this._allMenuItems.length*this._actionLineHeight,n=i+t*this._headerLineHeight-t*this._actionLineHeight;this._list.layout(n);let s=e;if(this._allMenuItems.length>=50)s=380;else{let t=this._allMenuItems.map((e,t)=>{let i=this.domNode.ownerDocument.getElementById(this._list.getElementID(t));if(i){i.style.width="auto";let e=i.getBoundingClientRect().width;return i.style.width="",e}return 0});s=Math.max(...t,e)}let o=Math.min(n,.7*this.domNode.ownerDocument.body.clientHeight);return this._list.layout(o,s),this.domNode.style.height=`${o}px`,this._list.domFocus(),s}focusPrevious(){this._list.focusPrevious(1,!0,void 0,this.focusCondition)}focusNext(){this._list.focusNext(1,!0,void 0,this.focusCondition)}acceptSelected(e){let t=this._list.getFocus();if(0===t.length)return;let i=t[0],n=this._list.element(i);if(!this.focusCondition(n))return;let s=e?new V:new H;this._list.setSelection([i],s)}onListSelection(e){if(!e.elements.length)return;let t=e.elements[0];t.item&&this.focusCondition(t)?this._delegate.onSelect(t.item,e.browserEvent instanceof V):this._list.setSelection([])}onFocus(){var e,t;let i=this._list.getFocus();if(0===i.length)return;let n=i[0],s=this._list.element(n);null===(t=(e=this._delegate).onFocus)||void 0===t||t.call(e,s.item)}async onListHover(e){let t=e.element;if(t&&t.item&&this.focusCondition(t)){if(this._delegate.onHover&&!t.disabled&&"action"===t.kind){let e=await this._delegate.onHover(t.item,this.cts.token);t.canPreview=e?e.canPreview:void 0}e.index&&this._list.splice(e.index,1,[t])}this._list.setFocus("number"==typeof e.index?[e.index]:[])}onListClick(e){e.element&&this.focusCondition(e.element)&&this._list.setFocus([])}};function U(e){return e.replace(/\r\n|\r|\n/g," ")}K=A([P(4,T.u),P(5,_.d)],K);var $=i(84144),q=i(32064),j=i(65026),G=i(72065),Q=function(e,t){return function(i,n){t(i,n,e)}};(0,R.P6G)("actionBar.toggledBackground",{dark:R.XEs,light:R.XEs,hcDark:R.XEs,hcLight:R.XEs},(0,C.NC)("actionBar.toggledBackground","Background color for toggled action items in action bar."));let Z={Visible:new q.uy("codeActionMenuVisible",!1,(0,C.NC)("codeActionMenuVisible","Whether the action widget list is visible"))},Y=(0,G.yh)("actionWidgetService"),J=class extends h.JT{get isVisible(){return Z.Visible.getValue(this._contextKeyService)||!1}constructor(e,t,i){super(),this._contextViewService=e,this._contextKeyService=t,this._instantiationService=i,this._list=this._register(new h.XK)}show(e,t,i,n,s,o,r){let l=Z.Visible.bindTo(this._contextKeyService),a=this._instantiationService.createInstance(K,e,t,i,n);this._contextViewService.showContextView({getAnchor:()=>s,render:e=>(l.set(!0),this._renderWidget(e,a,null!=r?r:[])),onHide:e=>{l.reset(),this._onWidgetClosed(e)}},o,!1)}acceptSelected(e){var t;null===(t=this._list.value)||void 0===t||t.acceptSelected(e)}focusPrevious(){var e,t;null===(t=null===(e=this._list)||void 0===e?void 0:e.value)||void 0===t||t.focusPrevious()}focusNext(){var e,t;null===(t=null===(e=this._list)||void 0===e?void 0:e.value)||void 0===t||t.focusNext()}hide(e){var t;null===(t=this._list.value)||void 0===t||t.hide(e),this._list.clear()}_renderWidget(e,t,i){var n;let s=document.createElement("div");if(s.classList.add("action-widget"),e.appendChild(s),this._list.value=t,this._list.value)s.appendChild(this._list.value.domNode);else throw Error("List has no value");let o=new h.SL,l=document.createElement("div"),a=e.appendChild(l);a.classList.add("context-view-block"),o.add(r.nm(a,r.tw.MOUSE_DOWN,e=>e.stopPropagation()));let d=document.createElement("div"),u=e.appendChild(d);u.classList.add("context-view-pointerBlock"),o.add(r.nm(u,r.tw.POINTER_MOVE,()=>u.remove())),o.add(r.nm(u,r.tw.MOUSE_DOWN,()=>u.remove()));let c=0;if(i.length){let e=this._createActionBar(".action-widget-action-bar",i);e&&(s.appendChild(e.getContainer().parentElement),o.add(e),c=e.getContainer().offsetWidth)}let g=null===(n=this._list.value)||void 0===n?void 0:n.layout(c);s.style.width=`${g}px`;let p=o.add(r.go(e));return o.add(p.onDidBlur(()=>this.hide(!0))),o}_createActionBar(e,t){if(!t.length)return;let i=r.$(e),n=new k.o(i);return n.push(t,{icon:!1,label:!0}),n}_onWidgetClosed(e){var t;null===(t=this._list.value)||void 0===t||t.hide(e)}};J=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([Q(0,T.u),Q(1,q.i6),Q(2,G.TG)],J),(0,j.z)(Y,J,1),(0,$.r1)(class extends $.Ke{constructor(){super({id:"hideCodeActionWidget",title:(0,C.vv)("hideCodeActionWidget.title","Hide action widget"),precondition:Z.Visible,keybinding:{weight:1100,primary:9,secondary:[1033]}})}run(e){e.get(Y).hide(!0)}}),(0,$.r1)(class extends $.Ke{constructor(){super({id:"selectPrevCodeAction",title:(0,C.vv)("selectPrevCodeAction.title","Select previous action"),precondition:Z.Visible,keybinding:{weight:1100,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})}run(e){let t=e.get(Y);t instanceof J&&t.focusPrevious()}}),(0,$.r1)(class extends $.Ke{constructor(){super({id:"selectNextCodeAction",title:(0,C.vv)("selectNextCodeAction.title","Select next action"),precondition:Z.Visible,keybinding:{weight:1100,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})}run(e){let t=e.get(Y);t instanceof J&&t.focusNext()}}),(0,$.r1)(class extends $.Ke{constructor(){super({id:O,title:(0,C.vv)("acceptSelected.title","Accept selected action"),precondition:Z.Visible,keybinding:{weight:1100,primary:3,secondary:[2137]}})}run(e){let t=e.get(Y);t instanceof J&&t.acceptSelected()}}),(0,$.r1)(class extends $.Ke{constructor(){super({id:F,title:(0,C.vv)("previewSelected.title","Preview selected action"),precondition:Z.Visible,keybinding:{weight:1100,primary:2051}})}run(e){let t=e.get(Y);t instanceof J&&t.acceptSelected(!0)}});var X=i(94565),ee=i(33108),et=i(98674),ei=i(90535),en=i(92321),es=i(97781),eo=i(17016),er=i(10829),el=function(e,t){return function(i,n){t(i,n,e)}};let ea=o=class extends h.JT{static get(e){return e.getContribution(o.ID)}constructor(e,t,i,n,s,o,r,l,a,u,c){super(),this._commandService=r,this._configurationService=l,this._actionWidgetService=a,this._instantiationService=u,this._telemetryService=c,this._activeCodeActions=this._register(new h.XK),this._showDisabled=!1,this._disposed=!1,this._editor=e,this._model=this._register(new eo.Jt(this._editor,s.codeActionProvider,t,i,o,l)),this._register(this._model.onDidChangeState(e=>this.update(e))),this._lightBulbWidget=new d.o(()=>{let e=this._editor.getContribution(S.f.ID);return e&&this._register(e.onClick(e=>this.showCodeActionsFromLightbulb(e.actions,e))),e}),this._resolver=n.createInstance(v),this._register(this._editor.onDidLayoutChange(()=>this._actionWidgetService.hide()))}dispose(){this._disposed=!0,super.dispose()}async showCodeActionsFromLightbulb(e,t){if(this._telemetryService.publicLog2("codeAction.showCodeActionsFromLightbulb",{codeActionListLength:e.validActions.length,codeActions:e.validActions.map(e=>e.action.title),codeActionProviders:e.validActions.map(e=>{var t,i;return null!==(i=null===(t=e.provider)||void 0===t?void 0:t.displayName)&&void 0!==i?i:""})}),e.allAIFixes&&1===e.validActions.length){let t=e.validActions[0],i=t.action.command;i&&"inlineChat.start"===i.id&&i.arguments&&i.arguments.length>=1&&(i.arguments[0]={...i.arguments[0],autoSend:!1}),await this._applyCodeAction(t,!1,!1,p.UX.FromAILightbulb);return}await this.showCodeActionList(e,t,{includeDisabledActions:!1,fromLightbulb:!0})}showCodeActions(e,t,i){return this.showCodeActionList(t,i,{includeDisabledActions:!1,fromLightbulb:!1})}manualTriggerAtCurrentPosition(e,t,i,n){var s;if(!this._editor.hasModel())return;null===(s=L.O.get(this._editor))||void 0===s||s.closeMessage();let o=this._editor.getPosition();this._trigger({type:1,triggerAction:t,filter:i,autoApply:n,context:{notAvailableMessage:e,position:o}})}_trigger(e){return this._model.trigger(e)}async _applyCodeAction(e,t,i,n){try{await this._instantiationService.invokeFunction(p.LR,e,n,{preview:i,editor:this._editor})}finally{t&&this._trigger({type:2,triggerAction:f.aQ.QuickFix,filter:{}})}}async update(e){var t,i,n,s,o,r,l;let d;if(1!==e.type){null===(t=this._lightBulbWidget.rawValue)||void 0===t||t.hide();return}try{d=await e.actions}catch(e){(0,a.dL)(e);return}if(!this._disposed){if(null===(i=this._lightBulbWidget.value)||void 0===i||i.update(d,e.trigger,e.position),1===e.trigger.type){if(null===(n=e.trigger.filter)||void 0===n?void 0:n.include){let t=this.tryGetValidActionToApply(e.trigger,d);if(t){try{null===(s=this._lightBulbWidget.value)||void 0===s||s.hide(),await this._applyCodeAction(t,!1,!1,p.UX.FromCodeActions)}finally{d.dispose()}return}if(e.trigger.context){let t=this.getInvalidActionThatWouldHaveBeenApplied(e.trigger,d);if(t&&t.action.disabled){null===(o=L.O.get(this._editor))||void 0===o||o.showMessage(t.action.disabled,e.trigger.context.position),d.dispose();return}}}let t=!!(null===(r=e.trigger.filter)||void 0===r?void 0:r.include);if(e.trigger.context&&(!d.allActions.length||!t&&!d.validActions.length)){null===(l=L.O.get(this._editor))||void 0===l||l.showMessage(e.trigger.context.notAvailableMessage,e.trigger.context.position),this._activeCodeActions.value=d,d.dispose();return}this._activeCodeActions.value=d,this.showCodeActionList(d,this.toCoords(e.position),{includeDisabledActions:t,fromLightbulb:!1})}else this._actionWidgetService.isVisible?d.dispose():this._activeCodeActions.value=d}}getInvalidActionThatWouldHaveBeenApplied(e,t){if(t.allActions.length&&("first"===e.autoApply&&0===t.validActions.length||"ifSingle"===e.autoApply&&1===t.allActions.length))return t.allActions.find(({action:e})=>e.disabled)}tryGetValidActionToApply(e,t){if(t.validActions.length&&("first"===e.autoApply&&t.validActions.length>0||"ifSingle"===e.autoApply&&1===t.validActions.length))return t.validActions[0]}async showCodeActionList(e,t,i){let n=this._editor.createDecorationsCollection(),s=this._editor.getDomNode();if(!s)return;let r=i.includeDisabledActions&&(this._showDisabled||0===e.validActions.length)?e.allActions:e.validActions;if(!r.length)return;let a=u.L.isIPosition(t)?this.toCoords(t):t;this._actionWidgetService.show("codeActionWidget",!0,function(e,t,i){if(!t)return e.map(e=>{var t;return{kind:"action",item:e,group:w,disabled:!!e.action.disabled,label:e.action.disabled||e.action.title,canPreview:!!(null===(t=e.action.edit)||void 0===t?void 0:t.edits.length)}});let n=y.map(e=>({group:e,actions:[]}));for(let t of e){let e=t.action.kind?new m.o(t.action.kind):m.o.None;for(let i of n)if(i.group.kind.contains(e)){i.actions.push(t);break}}let s=[];for(let e of n)if(e.actions.length)for(let t of(s.push({kind:"header",group:e.group}),e.actions)){let n=e.group;s.push({kind:"action",item:t,group:t.action.isAI?{title:n.title,kind:n.kind,icon:b.l.sparkle}:n,label:t.action.title,disabled:!!t.action.disabled,keybinding:i(t.action)})}return s}(r,this._shouldShowHeaders(),this._resolver.getResolver()),{onSelect:async(e,t)=>{this._applyCodeAction(e,!0,!!t,i.fromLightbulb?p.UX.FromAILightbulb:p.UX.FromCodeActions),this._actionWidgetService.hide(!1),n.clear()},onHide:t=>{var s;null===(s=this._editor)||void 0===s||s.focus(),n.clear(),i.fromLightbulb&&void 0!==t&&this._telemetryService.publicLog2("codeAction.showCodeActionList.onHide",{codeActionListLength:e.validActions.length,didCancel:t,codeActions:e.validActions.map(e=>e.action.title)})},onHover:async(e,t)=>{var i;if(t.isCancellationRequested)return;let n=!1,s=e.action.kind;if(s){let e=new m.o(s),t=[f.yN.RefactorExtract,f.yN.RefactorInline,f.yN.RefactorRewrite,f.yN.RefactorMove,f.yN.Source];n=t.some(t=>t.contains(e))}return{canPreview:n||!!(null===(i=e.action.edit)||void 0===i?void 0:i.edits.length)}},onFocus:e=>{var t,i;if(e&&e.action){let s=e.action.ranges,r=e.action.diagnostics;if(n.clear(),s&&s.length>0){let e=r&&(null==r?void 0:r.length)>1?r.map(e=>({range:e,options:o.DECORATION})):s.map(e=>({range:e,options:o.DECORATION}));n.set(e)}else if(r&&r.length>0){let e=r.map(e=>({range:e,options:o.DECORATION}));n.set(e);let s=r[0];if(s.startLineNumber&&s.startColumn){let e=null===(i=null===(t=this._editor.getModel())||void 0===t?void 0:t.getWordAtPosition({lineNumber:s.startLineNumber,column:s.startColumn}))||void 0===i?void 0:i.word;l.i7((0,C.NC)("editingNewSelection","Context: {0} at line {1} and column {2}.",e,s.startLineNumber,s.startColumn))}}}else n.clear()}},a,s,this._getActionBarActions(e,t,i))}toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();let t=this._editor.getScrolledVisiblePosition(e),i=(0,r.i)(this._editor.getDomNode()),n=i.left+t.left,s=i.top+t.top+t.height;return{x:n,y:s}}_shouldShowHeaders(){var e;let t=null===(e=this._editor)||void 0===e?void 0:e.getModel();return this._configurationService.getValue("editor.codeActionWidget.showHeaders",{resource:null==t?void 0:t.uri})}_getActionBarActions(e,t,i){if(i.fromLightbulb)return[];let n=e.documentation.map(e=>{var t;return{id:e.id,label:e.title,tooltip:null!==(t=e.tooltip)&&void 0!==t?t:"",class:void 0,enabled:!0,run:()=>{var t;return this._commandService.executeCommand(e.id,...null!==(t=e.arguments)&&void 0!==t?t:[])}}});return i.includeDisabledActions&&e.validActions.length>0&&e.allActions.length!==e.validActions.length&&n.push(this._showDisabled?{id:"hideMoreActions",label:(0,C.NC)("hideMoreActions","Hide Disabled"),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!1,this.showCodeActionList(e,t,i))}:{id:"showMoreActions",label:(0,C.NC)("showMoreActions","Show Disabled"),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!0,this.showCodeActionList(e,t,i))}),n}};ea.ID="editor.contrib.codeActionController",ea.DECORATION=c.qx.register({description:"quickfix-highlight",className:"quickfix-edit-highlight"}),ea=o=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([el(1,et.lT),el(2,q.i6),el(3,G.TG),el(4,g.p),el(5,ei.ek),el(6,X.H),el(7,ee.Ui),el(8,Y),el(9,G.TG),el(10,er.b)],ea),(0,es.Ic)((e,t)=>{var i;(i=e.getColor(R.MUv))&&t.addRule(`.monaco-editor .quickfix-edit-highlight { background-color: ${i}; }`);let n=e.getColor(R.EiJ);n&&t.addRule(`.monaco-editor .quickfix-edit-highlight { border: 1px ${(0,en.c3)(e.type)?"dotted":"solid"} ${n}; box-sizing: border-box; }`)})},17016:function(e,t,i){"use strict";i.d(t,{Jt:function(){return y},fj:function(){return v}});var n,s,o=i(15393),r=i(17301),l=i(4669),a=i(5976),d=i(95935),h=i(64141),u=i(50187),c=i(3860),g=i(32064),p=i(90535),m=i(87997),f=i(75396),_=i(85373);let v=new g.uy("supportedCodeAction",""),b="_typescript.applyFixAllCodeAction";class C extends a.JT{constructor(e,t,i,n=250){super(),this._editor=e,this._markerService=t,this._signalChange=i,this._delay=n,this._autoTriggerTimer=this._register(new o._F),this._register(this._markerService.onMarkerChanged(e=>this._onMarkerChanges(e))),this._register(this._editor.onDidChangeCursorPosition(()=>this._tryAutoTrigger()))}trigger(e){let t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);this._signalChange(t?{trigger:e,selection:t}:void 0)}_onMarkerChanges(e){let t=this._editor.getModel();t&&e.some(e=>(0,d.Xy)(e,t.uri))&&this._tryAutoTrigger()}_tryAutoTrigger(){this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:2,triggerAction:m.aQ.Default})},this._delay)}_getRangeOfSelectionUnlessWhitespaceEnclosed(e){if(!this._editor.hasModel())return;let t=this._editor.getSelection();if(1===e.type)return t;let i=this._editor.getOption(65).enabled;if(i!==h.$r.Off){if(i===h.$r.On);else if(i===h.$r.OnCode){let e=t.isEmpty();if(!e)return t;let i=this._editor.getModel(),{lineNumber:n,column:s}=t.getPosition(),o=i.getLineContent(n);if(0===o.length)return;if(1===s){if(/\s/.test(o[0]))return}else if(s===i.getLineMaxColumn(n)){if(/\s/.test(o[o.length-1]))return}else if(/\s/.test(o[s-2])&&/\s/.test(o[s-1]))return}return t}}}(n=s||(s={})).Empty={type:0},n.Triggered=class{constructor(e,t,i){this.trigger=e,this.position=t,this._cancellablePromise=i,this.type=1,this.actions=i.catch(e=>{if((0,r.n2)(e))return w;throw e})}cancel(){this._cancellablePromise.cancel()}};let w=Object.freeze({allActions:[],validActions:[],dispose:()=>{},documentation:[],hasAutoFix:!1,hasAIFix:!1,allAIFixes:!1});class y extends a.JT{constructor(e,t,i,n,o,r){super(),this._editor=e,this._registry=t,this._markerService=i,this._progressService=o,this._configurationService=r,this._codeActionOracle=this._register(new a.XK),this._state=s.Empty,this._onDidChangeState=this._register(new l.Q5),this.onDidChangeState=this._onDidChangeState.event,this._disposed=!1,this._supportedCodeActions=v.bindTo(n),this._register(this._editor.onDidChangeModel(()=>this._update())),this._register(this._editor.onDidChangeModelLanguage(()=>this._update())),this._register(this._registry.onDidChange(()=>this._update())),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(65)&&this._update()})),this._update()}dispose(){this._disposed||(this._disposed=!0,super.dispose(),this.setState(s.Empty,!0))}_settingEnabledNearbyQuickfixes(){var e;let t=null===(e=this._editor)||void 0===e?void 0:e.getModel();return!!this._configurationService&&this._configurationService.getValue("editor.codeActionWidget.includeNearbyQuickFixes",{resource:null==t?void 0:t.uri})}_update(){if(this._disposed)return;this._codeActionOracle.value=void 0,this.setState(s.Empty);let e=this._editor.getModel();if(e&&this._registry.has(e)&&!this._editor.getOption(91)){let t=this._registry.all(e).flatMap(e=>{var t;return null!==(t=e.providedCodeActionKinds)&&void 0!==t?t:[]});this._supportedCodeActions.set(t.join(" ")),this._codeActionOracle.value=new C(this._editor,this._markerService,t=>{var i;if(!t){this.setState(s.Empty);return}let n=t.selection.getStartPosition(),r=(0,o.PG)(async i=>{var n,s,o,r,l,a,d,h,g,v;if(this._settingEnabledNearbyQuickfixes()&&1===t.trigger.type&&(t.trigger.triggerAction===m.aQ.QuickFix||(null===(s=null===(n=t.trigger.filter)||void 0===n?void 0:n.include)||void 0===s?void 0:s.contains(m.yN.QuickFix)))){let n=await (0,f.aI)(this._registry,e,t.selection,t.trigger,p.Ex.None,i),s=[...n.allActions];if(i.isCancellationRequested)return w;let C=null===(o=n.validActions)||void 0===o?void 0:o.some(e=>!!e.action.kind&&m.yN.QuickFix.contains(new _.o(e.action.kind))),y=this._markerService.read({resource:e.uri});if(C){for(let e of n.validActions)(null===(l=null===(r=e.action.command)||void 0===r?void 0:r.arguments)||void 0===l?void 0:l.some(e=>"string"==typeof e&&e.includes(b)))&&(e.action.diagnostics=[...y.filter(e=>e.relatedInformation)]);return{validActions:n.validActions,allActions:s,documentation:n.documentation,hasAutoFix:n.hasAutoFix,hasAIFix:n.hasAIFix,allAIFixes:n.allAIFixes,dispose:()=>{n.dispose()}}}if(!C&&y.length>0){let o=t.selection.getPosition(),r=o,l=Number.MAX_VALUE,_=[...n.validActions];for(let C of y){let w=C.endColumn,S=C.endLineNumber,L=C.startLineNumber;if(S===o.lineNumber||L===o.lineNumber){r=new u.L(S,w);let C={type:t.trigger.type,triggerAction:t.trigger.triggerAction,filter:{include:(null===(a=t.trigger.filter)||void 0===a?void 0:a.include)?null===(d=t.trigger.filter)||void 0===d?void 0:d.include:m.yN.QuickFix},autoApply:t.trigger.autoApply,context:{notAvailableMessage:(null===(h=t.trigger.context)||void 0===h?void 0:h.notAvailableMessage)||"",position:r}},L=new c.Y(r.lineNumber,r.column,r.lineNumber,r.column),k=await (0,f.aI)(this._registry,e,L,C,p.Ex.None,i);if(0!==k.validActions.length){for(let e of k.validActions)(null===(v=null===(g=e.action.command)||void 0===g?void 0:g.arguments)||void 0===v?void 0:v.some(e=>"string"==typeof e&&e.includes(b)))&&(e.action.diagnostics=[...y.filter(e=>e.relatedInformation)]);0===n.allActions.length&&s.push(...k.allActions),Math.abs(o.column-w)i.findIndex(t=>t.action.title===e.action.title)===t);return C.sort((e,t)=>e.action.isPreferred&&!t.action.isPreferred?-1:!e.action.isPreferred&&t.action.isPreferred?1:e.action.isAI&&!t.action.isAI?1:!e.action.isAI&&t.action.isAI?-1:0),{validActions:C,allActions:s,documentation:n.documentation,hasAutoFix:n.hasAutoFix,hasAIFix:n.hasAIFix,allAIFixes:n.allAIFixes,dispose:()=>{n.dispose()}}}}return(0,f.aI)(this._registry,e,t.selection,t.trigger,p.Ex.None,i)});1===t.trigger.type&&(null===(i=this._progressService)||void 0===i||i.showWhile(r,250));let l=new s.Triggered(t.trigger,n,r),a=!1;1===this._state.type&&(a=1===this._state.trigger.type&&1===l.type&&2===l.trigger.type&&this._state.position!==l.position),a?setTimeout(()=>{this.setState(l)},500):this.setState(l)},void 0),this._codeActionOracle.value.trigger({type:2,triggerAction:m.aQ.Default})}else this._supportedCodeActions.reset()}trigger(e){var t;null===(t=this._codeActionOracle.value)||void 0===t||t.trigger(e)}setState(e,t){e!==this._state&&(1===this._state.type&&this._state.cancel(),this._state=e,t||this._disposed||this._onDidChangeState.fire(e))}}},86490:function(e,t,i){"use strict";i.d(t,{f:function(){return v}});var n,s,o,r=i(65321),l=i(10553),a=i(78789),d=i(4669),h=i(5976),u=i(25670);i(36053);var c=i(59616),g=i(75396),p=i(63580),m=i(94565),f=i(91847),_=function(e,t){return function(i,n){t(i,n,e)}};(n=o||(o={})).Hidden={type:0},n.Showing=class{constructor(e,t,i,n){this.actions=e,this.trigger=t,this.editorPosition=i,this.widgetPosition=n,this.type=1}};let v=s=class extends h.JT{constructor(e,t,i){super(),this._editor=e,this._keybindingService=t,this._onClick=this._register(new d.Q5),this.onClick=this._onClick.event,this._state=o.Hidden,this._iconClasses=[],this._domNode=r.$("div.lightBulbWidget"),this._domNode.role="listbox",this._register(l.o.ignoreTarget(this._domNode)),this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(e=>{let t=this._editor.getModel();(1!==this.state.type||!t||this.state.editorPosition.lineNumber>=t.getLineCount())&&this.hide()})),this._register(r.GQ(this._domNode,e=>{if(1!==this.state.type)return;this._editor.focus(),e.preventDefault();let{top:t,height:i}=r.i(this._domNode),n=this._editor.getOption(67),s=Math.floor(n/3);null!==this.state.widgetPosition.position&&this.state.widgetPosition.position.lineNumber{(1&e.buttons)==1&&this.hide()})),this._register(d.ju.runAndSubscribe(this._keybindingService.onDidUpdateKeybindings,()=>{var e,t,i,n;this._preferredKbLabel=null!==(t=null===(e=this._keybindingService.lookupKeybinding(g.pZ))||void 0===e?void 0:e.getLabel())&&void 0!==t?t:void 0,this._quickFixKbLabel=null!==(n=null===(i=this._keybindingService.lookupKeybinding(g.cz))||void 0===i?void 0:i.getLabel())&&void 0!==n?n:void 0,this._updateLightBulbTitleAndIcon()}))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return 1===this._state.type?this._state.widgetPosition:null}update(e,t,i){if(e.validActions.length<=0)return this.hide();let n=this._editor.getOptions();if(!n.get(65).enabled)return this.hide();let r=this._editor.getModel();if(!r)return this.hide();let{lineNumber:l,column:a}=r.validatePosition(i),d=r.getOptions().tabSize,h=this._editor.getOptions().get(50),u=r.getLineContent(l),g=(0,c.q)(u,d),p=h.spaceWidth*g>22,m=e=>e>2&&this._editor.getTopForLineNumber(e)===this._editor.getTopForLineNumber(e-1),f=l,_=1;if(!p){if(l>1&&!m(l-1))f-=1;else if(l=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([_(1,f.d),_(2,m.H)],v)},87997:function(e,t,i){"use strict";i.d(t,{EU:function(){return a},Yl:function(){return d},aQ:function(){return s},bA:function(){return c},wZ:function(){return u},yN:function(){return l}});var n,s,o=i(17301),r=i(85373);let l=new class{constructor(){this.QuickFix=new r.o("quickfix"),this.Refactor=new r.o("refactor"),this.RefactorExtract=this.Refactor.append("extract"),this.RefactorInline=this.Refactor.append("inline"),this.RefactorMove=this.Refactor.append("move"),this.RefactorRewrite=this.Refactor.append("rewrite"),this.Notebook=new r.o("notebook"),this.Source=new r.o("source"),this.SourceOrganizeImports=this.Source.append("organizeImports"),this.SourceFixAll=this.Source.append("fixAll"),this.SurroundWith=this.Refactor.append("surround")}};function a(e,t){return!(e.include&&!e.include.intersects(t)||e.excludes&&e.excludes.some(i=>h(t,i,e.include))||!e.includeSourceActions&&l.Source.contains(t))}function d(e,t){let i=t.kind?new r.o(t.kind):void 0;return!(e.include&&(!i||!e.include.contains(i))||e.excludes&&i&&e.excludes.some(t=>h(i,t,e.include))||!e.includeSourceActions&&i&&l.Source.contains(i))&&(!e.onlyIncludePreferredActions||!!t.isPreferred)}function h(e,t,i){return!(!t.contains(e)||i&&t.contains(i))}(n=s||(s={})).Refactor="refactor",n.RefactorPreview="refactor preview",n.Lightbulb="lightbulb",n.Default="other (default)",n.SourceAction="source action",n.QuickFix="quick fix action",n.FixAll="fix all",n.OrganizeImports="organize imports",n.AutoFix="auto fix",n.QuickFixHover="quick fix hover window",n.OnSave="save participants",n.ProblemsView="problems view";class u{static fromUser(e,t){return e&&"object"==typeof e?new u(u.getKindFromUser(e,t.kind),u.getApplyFromUser(e,t.apply),u.getPreferredUser(e)):new u(t.kind,t.apply,!1)}static getApplyFromUser(e,t){switch("string"==typeof e.apply?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return"string"==typeof e.kind?new r.o(e.kind):t}static getPreferredUser(e){return"boolean"==typeof e.preferred&&e.preferred}constructor(e,t,i){this.kind=e,this.apply=t,this.preferred=i}}class c{constructor(e,t,i){this.action=e,this.provider=t,this.highlightRange=i}async resolve(e){var t;if((null===(t=this.provider)||void 0===t?void 0:t.resolveCodeAction)&&!this.action.edit){let t;try{t=await this.provider.resolveCodeAction(this.action,e)}catch(e){(0,o.Cp)(e)}t&&(this.action.edit=t.edit)}return this}}},38334:function(e,t,i){"use strict";var n,s=i(15393),o=i(17301),r=i(5976),l=i(43407),a=i(16830),d=i(64141),h=i(29102),u=i(71050),c=i(98401),g=i(70666),p=i(73733),m=i(94565),f=i(71922);class _{constructor(){this.lenses=[],this._disposables=new r.SL}dispose(){this._disposables.dispose()}get isDisposed(){return this._disposables.isDisposed}add(e,t){for(let i of(this._disposables.add(e),e.lenses))this.lenses.push({symbol:i,provider:t})}}async function v(e,t,i){let n=e.ordered(t),s=new Map,r=new _,l=n.map(async(e,n)=>{s.set(e,n);try{let n=await Promise.resolve(e.provideCodeLenses(t,i));n&&r.add(n,e)}catch(e){(0,o.Cp)(e)}});return await Promise.all(l),r.lenses=r.lenses.sort((e,t)=>e.symbol.range.startLineNumbert.symbol.range.startLineNumber?1:s.get(e.provider)s.get(t.provider)?1:e.symbol.range.startColumnt.symbol.range.startColumn?1:0),r}m.P.registerCommand("_executeCodeLensProvider",function(e,...t){let[i,n]=t;(0,c.p_)(g.o.isUri(i)),(0,c.p_)("number"==typeof n||!n);let{codeLensProvider:s}=e.get(f.p),l=e.get(p.q).getModel(i);if(!l)throw(0,o.b1)();let a=[],d=new r.SL;return v(s,l,u.Ts.None).then(e=>{d.add(e);let t=[];for(let i of e.lenses)null==n||i.symbol.command?a.push(i.symbol):n-- >0&&i.provider.resolveCodeLens&&t.push(Promise.resolve(i.provider.resolveCodeLens(l,i.symbol,u.Ts.None)).then(e=>a.push(e||i.symbol)));return Promise.all(t)}).then(()=>a).finally(()=>{setTimeout(()=>d.dispose(),100)})});var b=i(4669),C=i(43702),w=i(24314),y=i(65026),S=i(72065),L=i(87060),k=i(48906),D=i(65321);let x=(0,S.yh)("ICodeLensCache");class N{constructor(e,t){this.lineCount=e,this.data=t}}let E=class{constructor(e){this._fakeProvider=new class{provideCodeLenses(){throw Error("not supported")}},this._cache=new C.z6(20,.75),(0,D.se)(k.E,()=>e.remove("codelens/cache",1));let t="codelens/cache2",i=e.get(t,1,"{}");this._deserialize(i),b.ju.once(e.onWillSaveState)(i=>{i.reason===L.fk.SHUTDOWN&&e.store(t,this._serialize(),1,1)})}put(e,t){let i=t.lenses.map(e=>{var t;return{range:e.symbol.range,command:e.symbol.command&&{id:"",title:null===(t=e.symbol.command)||void 0===t?void 0:t.title}}}),n=new _;n.add({lenses:i,dispose:()=>{}},this._fakeProvider);let s=new N(e.getLineCount(),n);this._cache.set(e.uri.toString(),s)}get(e){let t=this._cache.get(e.uri.toString());return t&&t.lineCount===e.getLineCount()?t.data:void 0}delete(e){this._cache.delete(e.uri.toString())}_serialize(){let e=Object.create(null);for(let[t,i]of this._cache){let n=new Set;for(let e of i.data.lenses)n.add(e.symbol.range.startLineNumber);e[t]={lineCount:i.lineCount,lines:[...n.values()]}}return JSON.stringify(e)}_deserialize(e){try{let t=JSON.parse(e);for(let e in t){let i=t[e],n=[];for(let e of i.lines)n.push({range:new w.e(e,1,e,11)});let s=new _;s.add({lenses:n,dispose(){}},this._fakeProvider),this._cache.set(e,new N(i.lineCount,s))}}catch(e){}}};E=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=L.Uy,function(e,t){n(e,t,0)})],E),(0,y.z)(x,E,1);var I=i(56811);i(32585);var T=i(84901);class M{constructor(e,t,i){this.afterColumn=1073741824,this.afterLineNumber=e,this.heightInPx=t,this._onHeight=i,this.suppressMouseDown=!0,this.domNode=document.createElement("div")}onComputedHeight(e){void 0===this._lastHeight?this._lastHeight=e:this._lastHeight!==e&&(this._lastHeight=e,this._onHeight())}isVisible(){return 0!==this._lastHeight&&this.domNode.hasAttribute("monaco-visible-view-zone")}}class R{constructor(e,t){this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map,this._isEmpty=!0,this._editor=e,this._id=`codelens.widget-${R._idPool++}`,this.updatePosition(t),this._domNode=document.createElement("span"),this._domNode.className="codelens-decoration"}withCommands(e,t){this._commands.clear();let i=[],n=!1;for(let t=0;t{e.symbol.command&&l.push(e.symbol),i.addDecoration({range:e.symbol.range,options:P},e=>this._decorationIds[t]=e),r=r?w.e.plusRange(r,e.symbol.range):w.e.lift(e.symbol.range)}),this._viewZone=new M(r.startLineNumber-1,s,o),this._viewZoneId=n.addZone(this._viewZone),l.length>0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(l,!1))}_createContentWidgetIfNecessary(){this._contentWidget?this._editor.layoutContentWidget(this._contentWidget):(this._contentWidget=new R(this._editor,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))}dispose(e,t){this._decorationIds.forEach(e.removeDecoration,e),this._decorationIds=[],null==t||t.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0}isDisposed(){return this._isDisposed}isValid(){return this._decorationIds.some((e,t)=>{let i=this._editor.getModel().getDecorationRange(e),n=this._data[t].symbol;return!!(i&&w.e.isEmpty(n.range)===i.isEmpty())})}updateCodeLensSymbols(e,t){this._decorationIds.forEach(t.removeDecoration,t),this._decorationIds=[],this._data=e,this._data.forEach((e,i)=>{t.addDecoration({range:e.symbol.range,options:P},e=>this._decorationIds[i]=e)})}updateHeight(e,t){this._viewZone.heightInPx=e,t.layoutZone(this._viewZoneId),this._contentWidget&&this._editor.layoutContentWidget(this._contentWidget)}computeIfNecessary(e){if(!this._viewZone.isVisible())return null;for(let t=0;tthis._resolveCodeLensesInViewport(),this._resolveCodeLensesDebounce.default()),this._disposables.add(this._editor.onDidChangeModel(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeConfiguration(e=>{(e.hasChanged(50)||e.hasChanged(19)||e.hasChanged(18))&&this._updateLensStyle(),e.hasChanged(17)&&this._onModelChange()})),this._disposables.add(t.codeLensProvider.onDidChange(this._onModelChange,this)),this._onModelChange(),this._updateLensStyle()}dispose(){var e;this._localDispose(),this._disposables.dispose(),this._oldCodeLensModels.dispose(),null===(e=this._currentCodeLensModel)||void 0===e||e.dispose()}_getLayoutInfo(){let e=Math.max(1.3,this._editor.getOption(67)/this._editor.getOption(52)),t=this._editor.getOption(19);return(!t||t<5)&&(t=.9*this._editor.getOption(52)|0),{fontSize:t,codeLensHeight:t*e|0}}_updateLensStyle(){let{codeLensHeight:e,fontSize:t}=this._getLayoutInfo(),i=this._editor.getOption(18),n=this._editor.getOption(50),{style:s}=this._editor.getContainerDomNode();s.setProperty("--vscode-editorCodeLens-lineHeight",`${e}px`),s.setProperty("--vscode-editorCodeLens-fontSize",`${t}px`),s.setProperty("--vscode-editorCodeLens-fontFeatureSettings",n.fontFeatureSettings),i&&(s.setProperty("--vscode-editorCodeLens-fontFamily",i),s.setProperty("--vscode-editorCodeLens-fontFamilyDefault",d.hL.fontFamily)),this._editor.changeViewZones(t=>{for(let i of this._lenses)i.updateHeight(e,t)})}_localDispose(){var e,t,i;null===(e=this._getCodeLensModelPromise)||void 0===e||e.cancel(),this._getCodeLensModelPromise=void 0,null===(t=this._resolveCodeLensesPromise)||void 0===t||t.cancel(),this._resolveCodeLensesPromise=void 0,this._localToDispose.clear(),this._oldCodeLensModels.clear(),null===(i=this._currentCodeLensModel)||void 0===i||i.dispose()}_onModelChange(){this._localDispose();let e=this._editor.getModel();if(!e||!this._editor.getOption(17)||e.isTooLargeForTokenization())return;let t=this._codeLensCache.get(e);if(t&&this._renderCodeLensSymbols(t),!this._languageFeaturesService.codeLensProvider.has(e)){t&&(0,s.Vg)(()=>{let i=this._codeLensCache.get(e);t===i&&(this._codeLensCache.delete(e),this._onModelChange())},3e4,this._localToDispose);return}for(let t of this._languageFeaturesService.codeLensProvider.all(e))if("function"==typeof t.onDidChange){let e=t.onDidChange(()=>i.schedule());this._localToDispose.add(e)}let i=new s.pY(()=>{var t;let n=Date.now();null===(t=this._getCodeLensModelPromise)||void 0===t||t.cancel(),this._getCodeLensModelPromise=(0,s.PG)(t=>v(this._languageFeaturesService.codeLensProvider,e,t)),this._getCodeLensModelPromise.then(t=>{this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=t,this._codeLensCache.put(e,t);let s=this._provideCodeLensDebounce.update(e,Date.now()-n);i.delay=s,this._renderCodeLensSymbols(t),this._resolveCodeLensesInViewportSoon()},o.dL)},this._provideCodeLensDebounce.get(e));this._localToDispose.add(i),this._localToDispose.add((0,r.OF)(()=>this._resolveCodeLensesScheduler.cancel())),this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{var e;this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{let i=[],n=-1;this._lenses.forEach(e=>{e.isValid()&&n!==e.getLineNumber()?(e.update(t),n=e.getLineNumber()):i.push(e)});let s=new A;i.forEach(e=>{e.dispose(s,t),this._lenses.splice(this._lenses.indexOf(e),1)}),s.commit(e)})}),i.schedule(),this._resolveCodeLensesScheduler.cancel(),null===(e=this._resolveCodeLensesPromise)||void 0===e||e.cancel(),this._resolveCodeLensesPromise=void 0})),this._localToDispose.add(this._editor.onDidFocusEditorText(()=>{i.schedule()})),this._localToDispose.add(this._editor.onDidBlurEditorText(()=>{i.cancel()})),this._localToDispose.add(this._editor.onDidScrollChange(e=>{e.scrollTopChanged&&this._lenses.length>0&&this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add(this._editor.onDidLayoutChange(()=>{this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add((0,r.OF)(()=>{if(this._editor.getModel()){let e=l.Z.capture(this._editor);this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{this._disposeAllLenses(e,t)})}),e.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseDown(e=>{if(9!==e.target.type)return;let t=e.target.element;if((null==t?void 0:t.tagName)==="SPAN"&&(t=t.parentElement),(null==t?void 0:t.tagName)==="A")for(let e of this._lenses){let i=e.getCommand(t);if(i){this._commandService.executeCommand(i.id,...i.arguments||[]).catch(e=>this._notificationService.error(e));break}}})),i.schedule()}_disposeAllLenses(e,t){let i=new A;for(let e of this._lenses)e.dispose(i,t);e&&i.commit(e),this._lenses.length=0}_renderCodeLensSymbols(e){let t;if(!this._editor.hasModel())return;let i=this._editor.getModel().getLineCount(),n=[];for(let s of e.lenses){let e=s.symbol.range.startLineNumber;e<1||e>i||(t&&t[t.length-1].symbol.range.startLineNumber===e?t.push(s):(t=[s],n.push(t)))}if(!n.length&&!this._lenses.length)return;let s=l.Z.capture(this._editor),o=this._getLayoutInfo();this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{let i=new A,s=0,r=0;for(;rthis._resolveCodeLensesInViewportSoon())),s++,r++)}for(;sthis._resolveCodeLensesInViewportSoon())),r++;i.commit(e)})}),s.restore(this._editor)}_resolveCodeLensesInViewportSoon(){let e=this._editor.getModel();e&&this._resolveCodeLensesScheduler.schedule()}_resolveCodeLensesInViewport(){var e;null===(e=this._resolveCodeLensesPromise)||void 0===e||e.cancel(),this._resolveCodeLensesPromise=void 0;let t=this._editor.getModel();if(!t)return;let i=[],n=[];if(this._lenses.forEach(e=>{let s=e.computeIfNecessary(t);s&&(i.push(s),n.push(e))}),0===i.length)return;let r=Date.now(),l=(0,s.PG)(e=>{let s=i.map((i,s)=>{let r=Array(i.length),l=i.map((i,n)=>i.symbol.command||"function"!=typeof i.provider.resolveCodeLens?(r[n]=i.symbol,Promise.resolve(void 0)):Promise.resolve(i.provider.resolveCodeLens(t,i.symbol,e)).then(e=>{r[n]=e},o.Cp));return Promise.all(l).then(()=>{e.isCancellationRequested||n[s].isDisposed()||n[s].updateCommands(r)})});return Promise.all(s)});this._resolveCodeLensesPromise=l,this._resolveCodeLensesPromise.then(()=>{let e=this._resolveCodeLensesDebounce.update(t,Date.now()-r);this._resolveCodeLensesScheduler.delay=e,this._currentCodeLensModel&&this._codeLensCache.put(t,this._currentCodeLensModel),this._oldCodeLensModels.clear(),l===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)},e=>{(0,o.dL)(e),l===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)})}async getModel(){var e;return await this._getCodeLensModelPromise,await this._resolveCodeLensesPromise,(null===(e=this._currentCodeLensModel)||void 0===e?void 0:e.isDisposed)?void 0:this._currentCodeLensModel}};z.ID="css.editor.codeLens",z=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([V(1,f.p),V(2,H.A),V(3,m.H),V(4,B.lT),V(5,x)],z),(0,a._K)(z.ID,z,1),(0,a.Qr)(class extends a.R6{constructor(){super({id:"codelens.showLensesInCurrentLine",precondition:h.u.hasCodeLensProvider,label:(0,F.NC)("showLensOnLine","Show CodeLens Commands For Current Line"),alias:"Show CodeLens Commands For Current Line"})}async run(e,t){if(!t.hasModel())return;let i=e.get(W.eJ),n=e.get(m.H),s=e.get(B.lT),o=t.getSelection().positionLineNumber,r=t.getContribution(z.ID);if(!r)return;let l=await r.getModel();if(!l)return;let a=[];for(let e of l.lenses)e.symbol.command&&e.symbol.range.startLineNumber===o&&a.push({label:e.symbol.command.title,command:e.symbol.command});if(0===a.length)return;let d=await i.pick(a,{canPickMany:!1,placeHolder:(0,F.NC)("placeHolder","Select a command")});if(!d)return;let h=d.command;if(l.isDisposed){let e=await r.getModel(),t=null==e?void 0:e.lenses.find(e=>{var t;return e.symbol.range.startLineNumber===o&&(null===(t=e.symbol.command)||void 0===t?void 0:t.title)===h.title});if(!t||!t.symbol.command)return;h=t.symbol.command}try{await n.executeCommand(h.id,...h.arguments||[])}catch(e){s.error(e)}}})},52640:function(e,t,i){"use strict";i.d(t,{E:function(){return c},R:function(){return g}});var n=i(71050),s=i(17301),o=i(70666),r=i(24314),l=i(73733),a=i(94565),d=i(71922),h=i(15418),u=i(33108);async function c(e,t,i,n=!0){return _(new p,e,t,i,n)}function g(e,t,i,n){return Promise.resolve(i.provideColorPresentations(e,t,n))}class p{constructor(){}async compute(e,t,i,n){let s=await e.provideDocumentColors(t,i);if(Array.isArray(s))for(let t of s)n.push({colorInfo:t,provider:e});return Array.isArray(s)}}class m{constructor(){}async compute(e,t,i,n){let s=await e.provideDocumentColors(t,i);if(Array.isArray(s))for(let e of s)n.push({range:e.range,color:[e.color.red,e.color.green,e.color.blue,e.color.alpha]});return Array.isArray(s)}}class f{constructor(e){this.colorInfo=e}async compute(e,t,i,s){let o=await e.provideColorPresentations(t,this.colorInfo,n.Ts.None);return Array.isArray(o)&&s.push(...o),Array.isArray(o)}}async function _(e,t,i,n,o){let r,l=!1,a=[],d=t.ordered(i);for(let t=d.length-1;t>=0;t--){let o=d[t];if(o instanceof h.G)r=o;else try{await e.compute(o,i,n,a)&&(l=!0)}catch(e){(0,s.Cp)(e)}}return l?a:r&&o?(await e.compute(r,i,n,a),a):[]}function v(e,t){let{colorProvider:i}=e.get(d.p),n=e.get(l.q).getModel(t);if(!n)throw(0,s.b1)();let o=e.get(u.Ui).getValue("editor.defaultColorDecorators",{resource:t});return{model:n,colorProviderRegistry:i,isDefaultColorDecoratorsEnabled:o}}a.P.registerCommand("_executeDocumentColorProvider",function(e,...t){let[i]=t;if(!(i instanceof o.o))throw(0,s.b1)();let{model:r,colorProviderRegistry:l,isDefaultColorDecoratorsEnabled:a}=v(e,i);return _(new m,l,r,n.Ts.None,a)}),a.P.registerCommand("_executeColorPresentationProvider",function(e,...t){let[i,l]=t,{uri:a,range:d}=l;if(!(a instanceof o.o)||!Array.isArray(i)||4!==i.length||!r.e.isIRange(d))throw(0,s.b1)();let{model:h,colorProviderRegistry:u,isDefaultColorDecoratorsEnabled:c}=v(e,a),[g,p,m,b]=i;return _(new f({range:d,color:{red:g,green:p,blue:m,alpha:b}}),u,h,n.Ts.None,c)})},46838:function(e,t,i){"use strict";var n=i(5976),s=i(16830),o=i(24314),r=i(89431),l=i(1227),a=i(91265),d=i(66520);class h extends n.JT{constructor(e){super(),this._editor=e,this._register(e.onMouseDown(e=>this.onMouseDown(e)))}dispose(){super.dispose()}onMouseDown(e){let t=this._editor.getOption(148);if("click"!==t&&"clickAndHover"!==t)return;let i=e.target;if(6!==i.type||!i.detail.injectedText||i.detail.injectedText.options.attachedData!==r.Ak||!i.range)return;let n=this._editor.getContribution(a.c.ID);if(n&&!n.isColorPickerVisible){let e=new o.e(i.range.startLineNumber,i.range.startColumn+1,i.range.endLineNumber,i.range.endColumn+1);n.showContentHover(e,1,0,!1,!0)}}}h.ID="editor.contrib.colorContribution",(0,s._K)(h.ID,h,2),d.Ae.register(l.nh)},89431:function(e,t,i){"use strict";i.d(t,{Ak:function(){return C},if:function(){return w}});var n,s=i(15393),o=i(41264),r=i(17301),l=i(4669),a=i(5976),d=i(84013),h=i(97295),u=i(29994),c=i(16830),g=i(24314),p=i(84901),m=i(88191),f=i(71922),_=i(52640),v=i(33108),b=function(e,t){return function(i,n){t(i,n,e)}};let C=Object.create({}),w=n=class extends a.JT{constructor(e,t,i,s){super(),this._editor=e,this._configurationService=t,this._languageFeaturesService=i,this._localToDispose=this._register(new a.SL),this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=this._editor.createDecorationsCollection(),this._ruleFactory=new u.t7(this._editor),this._decoratorLimitReporter=new y,this._colorDecorationClassRefs=this._register(new a.SL),this._debounceInformation=s.for(i.colorProvider,"Document Colors",{min:n.RECOMPUTE_TIME}),this._register(e.onDidChangeModel(()=>{this._isColorDecoratorsEnabled=this.isEnabled(),this.updateColors()})),this._register(e.onDidChangeModelLanguage(()=>this.updateColors())),this._register(i.colorProvider.onDidChange(()=>this.updateColors())),this._register(e.onDidChangeConfiguration(e=>{let t=this._isColorDecoratorsEnabled;this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(147);let i=t!==this._isColorDecoratorsEnabled||e.hasChanged(21),n=e.hasChanged(147);(i||n)&&(this._isColorDecoratorsEnabled?this.updateColors():this.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isColorDecoratorsEnabled=this.isEnabled(),this._isDefaultColorDecoratorsEnabled=this._editor.getOption(147),this.updateColors()}isEnabled(){let e=this._editor.getModel();if(!e)return!1;let t=e.getLanguageId(),i=this._configurationService.getValue(t);if(i&&"object"==typeof i){let e=i.colorDecorators;if(e&&void 0!==e.enable&&!e.enable)return e.enable}return this._editor.getOption(20)}static get(e){return e.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}updateColors(){if(this.stop(),!this._isColorDecoratorsEnabled)return;let e=this._editor.getModel();e&&this._languageFeaturesService.colorProvider.has(e)&&(this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._timeoutTimer||(this._timeoutTimer=new s._F,this._timeoutTimer.cancelAndSet(()=>{this._timeoutTimer=null,this.beginCompute()},this._debounceInformation.get(e)))})),this.beginCompute())}async beginCompute(){this._computePromise=(0,s.PG)(async e=>{let t=this._editor.getModel();if(!t)return[];let i=new d.G(!1),n=await (0,_.E)(this._languageFeaturesService.colorProvider,t,e,this._isDefaultColorDecoratorsEnabled);return this._debounceInformation.update(t,i.elapsed()),n});try{let e=await this._computePromise;this.updateDecorations(e),this.updateColorDecorators(e),this._computePromise=null}catch(e){(0,r.dL)(e)}}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(e){let t=e.map(e=>({range:{startLineNumber:e.colorInfo.range.startLineNumber,startColumn:e.colorInfo.range.startColumn,endLineNumber:e.colorInfo.range.endLineNumber,endColumn:e.colorInfo.range.endColumn},options:p.qx.EMPTY}));this._editor.changeDecorations(i=>{this._decorationsIds=i.deltaDecorations(this._decorationsIds,t),this._colorDatas=new Map,this._decorationsIds.forEach((t,i)=>this._colorDatas.set(t,e[i]))})}updateColorDecorators(e){this._colorDecorationClassRefs.clear();let t=[],i=this._editor.getOption(21);for(let n=0;nthis._colorDatas.has(e.id));return 0===i.length?null:this._colorDatas.get(i[0].id)}isColorDecoration(e){return this._colorDecoratorIds.has(e)}};w.ID="editor.contrib.colorDetector",w.RECOMPUTE_TIME=1e3,w=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([b(1,v.Ui),b(2,f.p),b(3,m.A)],w);class y{constructor(){this._onDidChange=new l.Q5,this._computed=0,this._limited=!1}update(e,t){(e!==this._computed||t!==this._limited)&&(this._computed=e,this._limited=t,this._onDidChange.fire())}}(0,c._K)(w.ID,w,1)},1227:function(e,t,i){"use strict";i.d(t,{nh:function(){return P},PQ:function(){return F}});var n=i(15393),s=i(71050),o=i(41264),r=i(5976),l=i(24314),a=i(52640),d=i(89431),h=i(4669);class u{get color(){return this._color}set color(e){this._color.equals(e)||(this._color=e,this._onDidChangeColor.fire(e))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(e){this._colorPresentations=e,this.presentationIndex>e.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}constructor(e,t,i){this.presentationIndex=i,this._onColorFlushed=new h.Q5,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new h.Q5,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new h.Q5,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=e,this._color=e,this._colorPresentations=t}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(e,t){let i=-1;for(let e=0;e{this.backgroundColor=e.getColor(b.yJx)||o.Il.white})),this._register(g.nm(this._pickedColorNode,g.tw.CLICK,()=>this.model.selectNextColorPresentation())),this._register(g.nm(this._originalColorNode,g.tw.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this._register(t.onDidChangePresentation(this.onDidChangePresentation,this)),this._pickedColorNode.style.backgroundColor=o.Il.Format.CSS.format(t.color)||"",this._pickedColorNode.classList.toggle("light",t.color.rgba.a<.5?this.backgroundColor.isLighter():t.color.isLighter()),this.onDidChangeColor(this.model.color),this.showingStandaloneColorPicker&&(this._domNode.classList.add("standalone-colorpicker"),this._closeButton=this._register(new S(this._domNode)))}get closeButton(){return this._closeButton}get pickedColorNode(){return this._pickedColorNode}get originalColorNode(){return this._originalColorNode}onDidChangeColor(e){this._pickedColorNode.style.backgroundColor=o.Il.Format.CSS.format(e)||"",this._pickedColorNode.classList.toggle("light",e.rgba.a<.5?this.backgroundColor.isLighter():e.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this._pickedColorPresentation.textContent=this.model.presentation?this.model.presentation.label:""}}class S extends r.JT{constructor(e){super(),this._onClicked=this._register(new h.Q5),this.onClicked=this._onClicked.event,this._button=document.createElement("div"),this._button.classList.add("close-button"),g.R3(e,this._button);let t=document.createElement("div");t.classList.add("close-button-inner-div"),g.R3(this._button,t);let i=g.R3(t,w(".button"+_.k.asCSSSelector((0,C.q5)("color-picker-close",f.l.close,(0,v.NC)("closeIcon","Icon to close the color picker")))));i.classList.add("close-icon"),this._register(g.nm(this._button,g.tw.CLICK,()=>{this._onClicked.fire()}))}}class L extends r.JT{constructor(e,t,i,n=!1){super(),this.model=t,this.pixelRatio=i,this._insertButton=null,this._domNode=w(".colorpicker-body"),g.R3(e,this._domNode),this._saturationBox=new k(this._domNode,this.model,this.pixelRatio),this._register(this._saturationBox),this._register(this._saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this._saturationBox.onColorFlushed(this.flushColor,this)),this._opacityStrip=new x(this._domNode,this.model,n),this._register(this._opacityStrip),this._register(this._opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this._opacityStrip.onColorFlushed(this.flushColor,this)),this._hueStrip=new N(this._domNode,this.model,n),this._register(this._hueStrip),this._register(this._hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this._hueStrip.onColorFlushed(this.flushColor,this)),n&&(this._insertButton=this._register(new E(this._domNode)),this._domNode.classList.add("standalone-colorpicker"))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:e,v:t}){let i=this.model.color.hsva;this.model.color=new o.Il(new o.tx(i.h,e,t,i.a))}onDidOpacityChange(e){let t=this.model.color.hsva;this.model.color=new o.Il(new o.tx(t.h,t.s,t.v,e))}onDidHueChange(e){let t=this.model.color.hsva,i=(1-e)*360;this.model.color=new o.Il(new o.tx(360===i?0:i,t.s,t.v,t.a))}get domNode(){return this._domNode}get saturationBox(){return this._saturationBox}get enterButton(){return this._insertButton}layout(){this._saturationBox.layout(),this._opacityStrip.layout(),this._hueStrip.layout()}}class k extends r.JT{constructor(e,t,i){super(),this.model=t,this.pixelRatio=i,this._onDidChange=new h.Q5,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new h.Q5,this.onColorFlushed=this._onColorFlushed.event,this._domNode=w(".saturation-wrap"),g.R3(e,this._domNode),this._canvas=document.createElement("canvas"),this._canvas.className="saturation-box",g.R3(this._domNode,this._canvas),this.selection=w(".saturation-selection"),g.R3(this._domNode,this.selection),this.layout(),this._register(g.nm(this._domNode,g.tw.POINTER_DOWN,e=>this.onPointerDown(e))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}get domNode(){return this._domNode}onPointerDown(e){if(!e.target||!(e.target instanceof Element))return;this.monitor=this._register(new p.C);let t=g.i(this._domNode);e.target!==this.selection&&this.onDidChangePosition(e.offsetX,e.offsetY),this.monitor.startMonitoring(e.target,e.pointerId,e.buttons,e=>this.onDidChangePosition(e.pageX-t.left,e.pageY-t.top),()=>null);let i=g.nm(e.target.ownerDocument,g.tw.POINTER_UP,()=>{this._onColorFlushed.fire(),i.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0)}onDidChangePosition(e,t){let i=Math.max(0,Math.min(1,e/this.width)),n=Math.max(0,Math.min(1,1-t/this.height));this.paintSelection(i,n),this._onDidChange.fire({s:i,v:n})}layout(){this.width=this._domNode.offsetWidth,this.height=this._domNode.offsetHeight,this._canvas.width=this.width*this.pixelRatio,this._canvas.height=this.height*this.pixelRatio,this.paint();let e=this.model.color.hsva;this.paintSelection(e.s,e.v)}paint(){let e=this.model.color.hsva,t=new o.Il(new o.tx(e.h,1,1,1)),i=this._canvas.getContext("2d"),n=i.createLinearGradient(0,0,this._canvas.width,0);n.addColorStop(0,"rgba(255, 255, 255, 1)"),n.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),n.addColorStop(1,"rgba(255, 255, 255, 0)");let s=i.createLinearGradient(0,0,0,this._canvas.height);s.addColorStop(0,"rgba(0, 0, 0, 0)"),s.addColorStop(1,"rgba(0, 0, 0, 1)"),i.rect(0,0,this._canvas.width,this._canvas.height),i.fillStyle=o.Il.Format.CSS.format(t),i.fill(),i.fillStyle=n,i.fill(),i.fillStyle=s,i.fill()}paintSelection(e,t){this.selection.style.left=`${e*this.width}px`,this.selection.style.top=`${this.height-t*this.height}px`}onDidChangeColor(e){if(this.monitor&&this.monitor.isMonitoring())return;this.paint();let t=e.hsva;this.paintSelection(t.s,t.v)}}class D extends r.JT{constructor(e,t,i=!1){super(),this.model=t,this._onDidChange=new h.Q5,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new h.Q5,this.onColorFlushed=this._onColorFlushed.event,i?(this.domNode=g.R3(e,w(".standalone-strip")),this.overlay=g.R3(this.domNode,w(".standalone-overlay"))):(this.domNode=g.R3(e,w(".strip")),this.overlay=g.R3(this.domNode,w(".overlay"))),this.slider=g.R3(this.domNode,w(".slider")),this.slider.style.top="0px",this._register(g.nm(this.domNode,g.tw.POINTER_DOWN,e=>this.onPointerDown(e))),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;let e=this.getValue(this.model.color);this.updateSliderPosition(e)}onDidChangeColor(e){let t=this.getValue(e);this.updateSliderPosition(t)}onPointerDown(e){if(!e.target||!(e.target instanceof Element))return;let t=this._register(new p.C),i=g.i(this.domNode);this.domNode.classList.add("grabbing"),e.target!==this.slider&&this.onDidChangeTop(e.offsetY),t.startMonitoring(e.target,e.pointerId,e.buttons,e=>this.onDidChangeTop(e.pageY-i.top),()=>null);let n=g.nm(e.target.ownerDocument,g.tw.POINTER_UP,()=>{this._onColorFlushed.fire(),n.dispose(),t.stopMonitoring(!0),this.domNode.classList.remove("grabbing")},!0)}onDidChangeTop(e){let t=Math.max(0,Math.min(1,1-e/this.height));this.updateSliderPosition(t),this._onDidChange.fire(t)}updateSliderPosition(e){this.slider.style.top=`${(1-e)*this.height}px`}}class x extends D{constructor(e,t,i=!1){super(e,t,i),this.domNode.classList.add("opacity-strip"),this.onDidChangeColor(this.model.color)}onDidChangeColor(e){super.onDidChangeColor(e);let{r:t,g:i,b:n}=e.rgba,s=new o.Il(new o.VS(t,i,n,1)),r=new o.Il(new o.VS(t,i,n,0));this.overlay.style.background=`linear-gradient(to bottom, ${s} 0%, ${r} 100%)`}getValue(e){return e.hsva.a}}class N extends D{constructor(e,t,i=!1){super(e,t,i),this.domNode.classList.add("hue-strip")}getValue(e){return 1-e.hsva.h/360}}class E extends r.JT{constructor(e){super(),this._onClicked=this._register(new h.Q5),this.onClicked=this._onClicked.event,this._button=g.R3(e,document.createElement("button")),this._button.classList.add("insert-button"),this._button.textContent="Insert",this._register(g.nm(this._button,g.tw.CLICK,()=>{this._onClicked.fire()}))}get button(){return this._button}}class I extends m.${constructor(e,t,i,n,s=!1){super(),this.model=t,this.pixelRatio=i,this._register(c.T.getInstance(g.Jj(e)).onDidChange(()=>this.layout()));let o=w(".colorpicker-widget");e.appendChild(o),this.header=this._register(new y(o,this.model,n,s)),this.body=this._register(new L(o,this.model,this.pixelRatio,s))}layout(){this.body.layout()}}var T=i(97781),M=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},R=function(e,t){return function(i,n){t(i,n,e)}};class A{constructor(e,t,i,n){this.owner=e,this.range=t,this.model=i,this.provider=n,this.forceShowAtRange=!0}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let P=class{constructor(e,t){this._editor=e,this._themeService=t,this.hoverOrdinal=2}computeSync(e,t){return[]}computeAsync(e,t,i){return n.Aq.fromPromise(this._computeAsync(e,t,i))}async _computeAsync(e,t,i){if(!this._editor.hasModel())return[];let n=d.if.get(this._editor);if(!n)return[];for(let e of t){if(!n.isColorDecoration(e))continue;let t=n.getColorData(e.range.getStartPosition());if(t){let e=await B(this,this._editor.getModel(),t.colorInfo,t.provider);return[e]}}return[]}renderHoverParts(e,t){return W(this,this._editor,this._themeService,t,e)}};P=M([R(1,T.XE)],P);class O{constructor(e,t,i,n){this.owner=e,this.range=t,this.model=i,this.provider=n}}let F=class{constructor(e,t){this._editor=e,this._themeService=t,this._color=null}async createColorHover(e,t,i){if(!this._editor.hasModel())return null;let n=d.if.get(this._editor);if(!n)return null;let o=await (0,a.E)(i,this._editor.getModel(),s.Ts.None),r=null,h=null;for(let t of o){let i=t.colorInfo;l.e.containsRange(i.range,e.range)&&(r=i,h=t.provider)}let u=null!=r?r:e,c=null!=h?h:t,g=!!r;return{colorHover:await B(this,this._editor.getModel(),u,c),foundInEditor:g}}async updateEditorModel(e){if(!this._editor.hasModel())return;let t=e.model,i=new l.e(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn);this._color&&(await V(this._editor.getModel(),t,this._color,i,e),i=H(this._editor,i,t))}renderHoverParts(e,t){return W(this,this._editor,this._themeService,t,e)}set color(e){this._color=e}get color(){return this._color}};async function B(e,t,i,n){let r=t.getValueInRange(i.range),{red:d,green:h,blue:c,alpha:g}=i.color,p=new o.VS(Math.round(255*d),Math.round(255*h),Math.round(255*c),g),m=new o.Il(p),f=await (0,a.R)(t,i,n,s.Ts.None),_=new u(m,[],0);return(_.colorPresentations=f||[],_.guessColorPresentation(m,r),e instanceof P)?new A(e,l.e.lift(i.range),_,n):new O(e,l.e.lift(i.range),_,n)}function W(e,t,i,n,s){if(0===n.length||!t.hasModel())return r.JT.None;if(s.setMinimumDimensions){let e=t.getOption(67)+8;s.setMinimumDimensions(new g.Ro(302,e))}let o=new r.SL,a=n[0],d=t.getModel(),h=a.model,u=o.add(new I(s.fragment,h,t.getOption(143),i,e instanceof F));s.setColorPicker(u);let c=!1,p=new l.e(a.range.startLineNumber,a.range.startColumn,a.range.endLineNumber,a.range.endColumn);if(e instanceof F){let t=n[0].model.color;e.color=t,V(d,h,t,p,a),o.add(h.onColorFlushed(t=>{e.color=t}))}else o.add(h.onColorFlushed(async e=>{await V(d,h,e,p,a),c=!0,p=H(t,p,h)}));return o.add(h.onDidChangeColor(e=>{V(d,h,e,p,a)})),o.add(t.onDidChangeModelContent(e=>{c?c=!1:(s.hide(),t.focus())})),o}function H(e,t,i){var n,s;let o=[],r=null!==(n=i.presentation.textEdit)&&void 0!==n?n:{range:t,text:i.presentation.label,forceMoveMarkers:!1};o.push(r),i.presentation.additionalTextEdits&&o.push(...i.presentation.additionalTextEdits);let a=l.e.lift(r.range),d=e.getModel()._setTrackedRange(null,a,3);return e.executeEdits("colorpicker",o),e.pushUndoStop(),null!==(s=e.getModel()._getTrackedRange(d))&&void 0!==s?s:a}async function V(e,t,i,n,o){let r=await (0,a.R)(e,{range:n,color:{red:i.rgba.r/255,green:i.rgba.g/255,blue:i.rgba.b/255,alpha:i.rgba.a}},o.provider,s.Ts.None);t.colorPresentations=r||[]}F=M([R(1,T.XE)],F)},15418:function(e,t,i){"use strict";i.d(t,{G:function(){return u}});var n=i(41264),s=i(3666),o=i(73733),r=i(4256),l=i(5976),a=i(71922),d=i(10637),h=function(e,t){return function(i,n){t(i,n,e)}};class u{constructor(e,t){this._editorWorkerClient=new s.Q8(e,!1,"editorWorkerService",t)}async provideDocumentColors(e,t){return this._editorWorkerClient.computeDefaultDocumentColors(e.uri)}provideColorPresentations(e,t,i){let s=t.range,o=t.color,r=o.alpha,l=new n.Il(new n.VS(Math.round(255*o.red),Math.round(255*o.green),Math.round(255*o.blue),r)),a=r?n.Il.Format.CSS.formatRGB(l):n.Il.Format.CSS.formatRGBA(l),d=r?n.Il.Format.CSS.formatHSL(l):n.Il.Format.CSS.formatHSLA(l),h=r?n.Il.Format.CSS.formatHex(l):n.Il.Format.CSS.formatHexA(l),u=[];return u.push({label:a,textEdit:{range:s,text:a}}),u.push({label:d,textEdit:{range:s,text:d}}),u.push({label:h,textEdit:{range:s,text:h}}),u}}let c=class extends l.JT{constructor(e,t,i){super(),this._register(i.colorProvider.register("*",new u(e,t)))}};c=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([h(0,o.q),h(1,r.c_),h(2,a.p)],c),(0,d.y)(c)},44536:function(e,t,i){"use strict";var n,s,o=i(16830),r=i(63580),l=i(5976),a=i(1227),d=i(72065),h=i(33018),u=i(91847),c=i(4669),g=i(71922),p=i(29102),m=i(32064),f=i(73733),_=i(4256),v=i(15418),b=i(65321);i(51094);var C=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},w=function(e,t){return function(i,n){t(i,n,e)}};let y=n=class extends l.JT{constructor(e,t,i,n,s,o,r){super(),this._editor=e,this._modelService=i,this._keybindingService=n,this._instantiationService=s,this._languageFeatureService=o,this._languageConfigurationService=r,this._standaloneColorPickerWidget=null,this._standaloneColorPickerVisible=p.u.standaloneColorPickerVisible.bindTo(t),this._standaloneColorPickerFocused=p.u.standaloneColorPickerFocused.bindTo(t)}showOrFocus(){var e;this._editor.hasModel()&&(this._standaloneColorPickerVisible.get()?this._standaloneColorPickerFocused.get()||null===(e=this._standaloneColorPickerWidget)||void 0===e||e.focus():this._standaloneColorPickerWidget=new S(this._editor,this._standaloneColorPickerVisible,this._standaloneColorPickerFocused,this._instantiationService,this._modelService,this._keybindingService,this._languageFeatureService,this._languageConfigurationService))}hide(){var e;this._standaloneColorPickerFocused.set(!1),this._standaloneColorPickerVisible.set(!1),null===(e=this._standaloneColorPickerWidget)||void 0===e||e.hide(),this._editor.focus()}insertColor(){var e;null===(e=this._standaloneColorPickerWidget)||void 0===e||e.updateEditor(),this.hide()}static get(e){return e.getContribution(n.ID)}};y.ID="editor.contrib.standaloneColorPickerController",y=n=C([w(1,m.i6),w(2,f.q),w(3,u.d),w(4,d.TG),w(5,g.p),w(6,_.c_)],y),(0,o._K)(y.ID,y,1);let S=s=class extends l.JT{constructor(e,t,i,n,s,o,r,l){var d;super(),this._editor=e,this._standaloneColorPickerVisible=t,this._standaloneColorPickerFocused=i,this._modelService=s,this._keybindingService=o,this._languageFeaturesService=r,this._languageConfigurationService=l,this.allowEditorOverflow=!0,this._position=void 0,this._body=document.createElement("div"),this._colorHover=null,this._selectionSetInEditor=!1,this._onResult=this._register(new c.Q5),this.onResult=this._onResult.event,this._standaloneColorPickerVisible.set(!0),this._standaloneColorPickerParticipant=n.createInstance(a.PQ,this._editor),this._position=null===(d=this._editor._getViewModel())||void 0===d?void 0:d.getPrimaryCursorState().modelState.position;let h=this._editor.getSelection(),u=h?{startLineNumber:h.startLineNumber,startColumn:h.startColumn,endLineNumber:h.endLineNumber,endColumn:h.endColumn}:{startLineNumber:0,endLineNumber:0,endColumn:0,startColumn:0},g=this._register(b.go(this._body));this._register(g.onDidBlur(e=>{this.hide()})),this._register(g.onDidFocus(e=>{this.focus()})),this._register(this._editor.onDidChangeCursorPosition(()=>{this._selectionSetInEditor?this._selectionSetInEditor=!1:this.hide()})),this._register(this._editor.onMouseMove(e=>{var t;let i=null===(t=e.target.element)||void 0===t?void 0:t.classList;i&&i.contains("colorpicker-color-decoration")&&this.hide()})),this._register(this.onResult(e=>{this._render(e.value,e.foundInEditor)})),this._start(u),this._body.style.zIndex="50",this._editor.addContentWidget(this)}updateEditor(){this._colorHover&&this._standaloneColorPickerParticipant.updateEditorModel(this._colorHover)}getId(){return s.ID}getDomNode(){return this._body}getPosition(){if(!this._position)return null;let e=this._editor.getOption(60).above;return{position:this._position,secondaryPosition:this._position,preference:e?[1,2]:[2,1],positionAffinity:2}}hide(){this.dispose(),this._standaloneColorPickerVisible.set(!1),this._standaloneColorPickerFocused.set(!1),this._editor.removeContentWidget(this),this._editor.focus()}focus(){this._standaloneColorPickerFocused.set(!0),this._body.focus()}async _start(e){let t=await this._computeAsync(e);t&&this._onResult.fire(new L(t.result,t.foundInEditor))}async _computeAsync(e){if(!this._editor.hasModel())return null;let t=await this._standaloneColorPickerParticipant.createColorHover({range:e,color:{red:0,green:0,blue:0,alpha:1}},new v.G(this._modelService,this._languageConfigurationService),this._languageFeaturesService.colorProvider);return t?{result:t.colorHover,foundInEditor:t.foundInEditor}:null}_render(e,t){let i;let n=document.createDocumentFragment(),s=this._register(new h.m(this._keybindingService));if(this._colorHover=e,this._register(this._standaloneColorPickerParticipant.renderHoverParts({fragment:n,statusBar:s,setColorPicker:e=>i=e,onContentsChanged:()=>{},hide:()=>this.hide()},[e])),void 0===i)return;this._body.classList.add("standalone-colorpicker-body"),this._body.style.maxHeight=Math.max(this._editor.getLayoutInfo().height/4,250)+"px",this._body.style.maxWidth=Math.max(.66*this._editor.getLayoutInfo().width,500)+"px",this._body.tabIndex=0,this._body.appendChild(n),i.layout();let o=i.body,r=o.saturationBox.domNode.clientWidth,l=o.domNode.clientWidth-r-22-8,a=i.body.enterButton;null==a||a.onClicked(()=>{this.updateEditor(),this.hide()});let d=i.header,u=d.pickedColorNode;u.style.width=r+8+"px";let c=d.originalColorNode;c.style.width=l+"px";let g=i.header.closeButton;null==g||g.onClicked(()=>{this.hide()}),t&&(a&&(a.button.textContent="Replace"),this._selectionSetInEditor=!0,this._editor.setSelection(e.range)),this._editor.layoutContentWidget(this)}};S.ID="editor.contrib.standaloneColorPickerWidget",S=s=C([w(3,d.TG),w(4,f.q),w(5,u.d),w(6,g.p),w(7,_.c_)],S);class L{constructor(e,t){this.value=e,this.foundInEditor=t}}var k=i(84144);class D extends o.x1{constructor(){super({id:"editor.action.showOrFocusStandaloneColorPicker",title:{...(0,r.vv)("showOrFocusStandaloneColorPicker","Show or Focus Standalone Color Picker"),mnemonicTitle:(0,r.NC)({key:"mishowOrFocusStandaloneColorPicker",comment:["&& denotes a mnemonic"]},"&&Show or Focus Standalone Color Picker")},precondition:void 0,menu:[{id:k.eH.CommandPalette}],metadata:{description:(0,r.vv)("showOrFocusStandaloneColorPickerDescription","Show or focus a standalone color picker which uses the default color provider. It displays hex/rgb/hsl colors.")}})}runEditorCommand(e,t){var i;null===(i=y.get(t))||void 0===i||i.showOrFocus()}}class x extends o.R6{constructor(){super({id:"editor.action.hideColorPicker",label:(0,r.NC)({key:"hideColorPicker",comment:["Action that hides the color picker"]},"Hide the Color Picker"),alias:"Hide the Color Picker",precondition:p.u.standaloneColorPickerVisible.isEqualTo(!0),kbOpts:{primary:9,weight:100},metadata:{description:(0,r.vv)("hideColorPickerDescription","Hide the standalone color picker.")}})}run(e,t){var i;null===(i=y.get(t))||void 0===i||i.hide()}}class N extends o.R6{constructor(){super({id:"editor.action.insertColorWithStandaloneColorPicker",label:(0,r.NC)({key:"insertColorWithStandaloneColorPicker",comment:["Action that inserts color with standalone color picker"]},"Insert Color with Standalone Color Picker"),alias:"Insert Color with Standalone Color Picker",precondition:p.u.standaloneColorPickerFocused.isEqualTo(!0),kbOpts:{primary:3,weight:100},metadata:{description:(0,r.vv)("insertColorWithStandaloneColorPickerDescription","Insert hex/rgb/hsl colors with the focused standalone color picker.")}})}run(e,t){var i;null===(i=y.get(t))||void 0===i||i.insertColor()}}(0,o.Qr)(x),(0,o.Qr)(N),(0,k.r1)(D)},39956:function(e,t,i){"use strict";var n=i(22258),s=i(16830),o=i(24314),r=i(29102),l=i(4256),a=i(69386),d=i(50187),h=i(3860);class u{constructor(e,t,i){this.languageConfigurationService=i,this._selection=e,this._insertSpace=t,this._usedEndToken=null}static _haystackHasNeedleAtOffset(e,t,i){if(i<0)return!1;let n=t.length,s=e.length;if(i+n>s)return!1;for(let s=0;s=65)||!(n<=90)||n+32!==o)&&(!(o>=65)||!(o<=90)||o+32!==n))return!1}return!0}_createOperationsForBlockComment(e,t,i,n,s,r){let l;let a=e.startLineNumber,d=e.startColumn,h=e.endLineNumber,c=e.endColumn,g=s.getLineContent(a),p=s.getLineContent(h),m=g.lastIndexOf(t,d-1+t.length),f=p.indexOf(i,c-1-i.length);if(-1!==m&&-1!==f){if(a===h){let e=g.substring(m+t.length,f);e.indexOf(i)>=0&&(m=-1,f=-1)}else{let e=g.substring(m+t.length),n=p.substring(0,f);(e.indexOf(i)>=0||n.indexOf(i)>=0)&&(m=-1,f=-1)}}for(let s of(-1!==m&&-1!==f?(n&&m+t.length0&&32===p.charCodeAt(f-1)&&(i=" "+i,f-=1),l=u._createRemoveBlockCommentOperations(new o.e(a,m+t.length+1,h,f+1),t,i)):(l=u._createAddBlockCommentOperations(e,t,i,this._insertSpace),this._usedEndToken=1===l.length?i:null),l))r.addTrackedEditOperation(s.range,s.text)}static _createRemoveBlockCommentOperations(e,t,i){let n=[];return o.e.isEmpty(e)?n.push(a.h.delete(new o.e(e.startLineNumber,e.startColumn-t.length,e.endLineNumber,e.endColumn+i.length))):(n.push(a.h.delete(new o.e(e.startLineNumber,e.startColumn-t.length,e.startLineNumber,e.startColumn))),n.push(a.h.delete(new o.e(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn+i.length)))),n}static _createAddBlockCommentOperations(e,t,i,n){let s=[];return o.e.isEmpty(e)?s.push(a.h.replace(new o.e(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),t+" "+i)):(s.push(a.h.insert(new d.L(e.startLineNumber,e.startColumn),t+(n?" ":""))),s.push(a.h.insert(new d.L(e.endLineNumber,e.endColumn),(n?" ":"")+i))),s}getEditOperations(e,t){let i=this._selection.startLineNumber,n=this._selection.startColumn;e.tokenization.tokenizeIfCheap(i);let s=e.getLanguageIdAtPosition(i,n),o=this.languageConfigurationService.getLanguageConfiguration(s).comments;o&&o.blockCommentStartToken&&o.blockCommentEndToken&&this._createOperationsForBlockComment(this._selection,o.blockCommentStartToken,o.blockCommentEndToken,this._insertSpace,e,t)}computeCursorState(e,t){let i=t.getInverseEditOperations();if(2===i.length){let e=i[0],t=i[1];return new h.Y(e.range.endLineNumber,e.range.endColumn,t.range.startLineNumber,t.range.startColumn)}{let e=i[0].range,t=this._usedEndToken?-this._usedEndToken.length-1:0;return new h.Y(e.endLineNumber,e.endColumn+t,e.endLineNumber,e.endColumn+t)}}}var c=i(97295);class g{constructor(e,t,i,n,s,o,r){this.languageConfigurationService=e,this._selection=t,this._indentSize=i,this._type=n,this._insertSpace=s,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=o,this._ignoreFirstLine=r||!1}static _gatherPreflightCommentStrings(e,t,i,n){e.tokenization.tokenizeIfCheap(t);let s=e.getLanguageIdAtPosition(t,1),o=n.getLanguageConfiguration(s).comments,r=o?o.lineCommentToken:null;if(!r)return null;let l=[];for(let e=0,n=i-t+1;er?t[l].commentStrOffset=s-1:t[l].commentStrOffset=s}}}var p=i(63580),m=i(84144);class f extends s.R6{constructor(e,t){super(t),this._type=e}run(e,t){let i=e.get(l.c_);if(!t.hasModel())return;let n=t.getModel(),s=[],r=n.getOptions(),a=t.getOption(23),d=t.getSelections().map((e,t)=>({selection:e,index:t,ignoreFirstLine:!1}));d.sort((e,t)=>o.e.compareRangesUsingStarts(e.selection,t.selection));let h=d[0];for(let e=1;ethis._onContextMenu(e))),this._toDispose.add(this._editor.onMouseWheel(e=>{if(this._contextMenuIsBeingShownCount>0){let t=this._contextViewService.getContextViewElement(),i=e.srcElement;i.shadowRoot&&s.Ay(t)===i.shadowRoot||this._contextViewService.hideContextView()}})),this._toDispose.add(this._editor.onKeyDown(e=>{this._editor.getOption(24)&&58===e.keyCode&&(e.preventDefault(),e.stopPropagation(),this.showContextMenu())}))}_onContextMenu(e){if(!this._editor.hasModel())return;if(!this._editor.getOption(24)){this._editor.focus(),e.target.position&&!this._editor.getSelection().containsPosition(e.target.position)&&this._editor.setPosition(e.target.position);return}if(12===e.target.type||6===e.target.type&&e.target.detail.injectedText)return;if(e.event.preventDefault(),e.event.stopPropagation(),11===e.target.type)return this._showScrollbarContextMenu(e.event);if(6!==e.target.type&&7!==e.target.type&&1!==e.target.type)return;if(this._editor.focus(),e.target.position){let t=!1;for(let i of this._editor.getSelections())if(i.containsPosition(e.target.position)){t=!0;break}t||this._editor.setPosition(e.target.position)}let t=null;1!==e.target.type&&(t=e.event),this.showContextMenu(t)}showContextMenu(e){if(!this._editor.getOption(24)||!this._editor.hasModel())return;let t=this._getMenuActions(this._editor.getModel(),this._editor.contextMenuId);t.length>0&&this._doShowContextMenu(t,e)}_getMenuActions(e,t){let i=[],n=this._menuService.createMenu(t,this._contextKeyService),s=n.getActions({arg:e.uri});for(let t of(n.dispose(),s)){let[,n]=t,s=0;for(let t of n)if(t instanceof c.NZ){let n=this._getMenuActions(e,t.item.submenu);n.length>0&&(i.push(new r.wY(t.id,t.label,n)),s++)}else i.push(t),s++;s&&i.push(new r.Z0)}return i.length&&i.pop(),i}_doShowContextMenu(e,t=null){if(!this._editor.hasModel())return;let i=this._editor.getOption(60);this._editor.updateOptions({hover:{enabled:!1}});let n=t;if(!n){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();let e=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),t=s.i(this._editor.getDomNode()),i=t.left+e.left,o=t.top+e.top+e.height;n={x:i,y:o}}let r=this._editor.getOption(127)&&!a.gn;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:r?this._editor.getDomNode():void 0,getAnchor:()=>n,getActions:()=>e,getActionViewItem:e=>{let t=this._keybindingFor(e);return t?new o.gU(e,e,{label:!0,keybinding:t.getLabel(),isMenu:!0}):"function"==typeof e.getActionViewItem?e.getActionViewItem():new o.gU(e,e,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:e=>this._keybindingFor(e),onHide:e=>{this._contextMenuIsBeingShownCount--,this._editor.updateOptions({hover:i})}})}_showScrollbarContextMenu(e){if(!this._editor.hasModel()||(0,_.x)(this._workspaceContextService.getWorkspace()))return;let t=this._editor.getOption(73),i=0,n=e=>({id:`menu-action-${++i}`,label:e.label,tooltip:"",class:void 0,enabled:void 0===e.enabled||e.enabled,checked:e.checked,run:e.run}),s=(e,t)=>new r.wY(`menu-action-${++i}`,e,t,void 0),o=(e,t,i,o,r)=>{if(!t)return n({label:e,enabled:t,run:()=>{}});let l=e=>()=>{this._configurationService.updateValue(i,e)},a=[];for(let e of r)a.push(n({label:e.label,checked:o===e.value,run:l(e.value)}));return s(e,a)},l=[];l.push(n({label:u.NC("context.minimap.minimap","Minimap"),checked:t.enabled,run:()=>{this._configurationService.updateValue("editor.minimap.enabled",!t.enabled)}})),l.push(new r.Z0),l.push(n({label:u.NC("context.minimap.renderCharacters","Render Characters"),enabled:t.enabled,checked:t.renderCharacters,run:()=>{this._configurationService.updateValue("editor.minimap.renderCharacters",!t.renderCharacters)}})),l.push(o(u.NC("context.minimap.size","Vertical size"),t.enabled,"editor.minimap.size",t.size,[{label:u.NC("context.minimap.size.proportional","Proportional"),value:"proportional"},{label:u.NC("context.minimap.size.fill","Fill"),value:"fill"},{label:u.NC("context.minimap.size.fit","Fit"),value:"fit"}])),l.push(o(u.NC("context.minimap.slider","Slider"),t.enabled,"editor.minimap.showSlider",t.showSlider,[{label:u.NC("context.minimap.slider.mouseover","Mouse Over"),value:"mouseover"},{label:u.NC("context.minimap.slider.always","Always"),value:"always"}]));let d=this._editor.getOption(127)&&!a.gn;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:d?this._editor.getDomNode():void 0,getAnchor:()=>e,getActions:()=>l,onHide:e=>{this._contextMenuIsBeingShownCount--,this._editor.focus()}})}_keybindingFor(e){return this._keybindingService.lookupKeybinding(e.id)}dispose(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()}};b.ID="editor.contrib.contextmenu",b=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([v(1,p.i),v(2,p.u),v(3,g.i6),v(4,m.d),v(5,c.co),v(6,f.Ui),v(7,_.ec)],b);class C extends d.R6{constructor(){super({id:"editor.action.showContextMenu",label:u.NC("action.showContextMenu.label","Show Editor Context Menu"),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:h.u.textInputFocus,primary:1092,weight:100}})}run(e,t){var i;null===(i=b.get(t))||void 0===i||i.showContextMenu()}}(0,d._K)(b.ID,b,2),(0,d.Qr)(C)},41895:function(e,t,i){"use strict";var n=i(5976),s=i(16830),o=i(29102),r=i(63580);class l{constructor(e){this.selections=e}equals(e){let t=this.selections.length,i=e.selections.length;if(t!==i)return!1;for(let i=0;i{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeModelContent(e=>{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeCursorSelection(t=>{if(this._isCursorUndoRedo||!t.oldSelections||t.oldModelVersionId!==t.modelVersionId)return;let i=new l(t.oldSelections),n=this._undoStack.length>0&&this._undoStack[this._undoStack.length-1].cursorState.equals(i);!n&&(this._undoStack.push(new a(i,e.getScrollTop(),e.getScrollLeft())),this._redoStack=[],this._undoStack.length>50&&this._undoStack.shift())}))}cursorUndo(){this._editor.hasModel()&&0!==this._undoStack.length&&(this._redoStack.push(new a(new l(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop()))}cursorRedo(){this._editor.hasModel()&&0!==this._redoStack.length&&(this._undoStack.push(new a(new l(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop()))}_applyState(e){this._isCursorUndoRedo=!0,this._editor.setSelections(e.cursorState.selections),this._editor.setScrollPosition({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}),this._isCursorUndoRedo=!1}}d.ID="editor.contrib.cursorUndoRedoController";class h extends s.R6{constructor(){super({id:"cursorUndo",label:r.NC("cursor.undo","Cursor Undo"),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:o.u.textInputFocus,primary:2099,weight:100}})}run(e,t,i){var n;null===(n=d.get(t))||void 0===n||n.cursorUndo()}}class u extends s.R6{constructor(){super({id:"cursorRedo",label:r.NC("cursor.redo","Cursor Redo"),alias:"Cursor Redo",precondition:void 0})}run(e,t,i){var n;null===(n=d.get(t))||void 0===n||n.cursorRedo()}}(0,s._K)(d.ID,d,0),(0,s.Qr)(h),(0,s.Qr)(u)},58076:function(e,t,i){"use strict";var n=i(9488),s=i(39901),o=i(78713),r=i(31651),l=i(71922),a=i(88941),d=i(5976),h=i(4669),u=function(e,t){return function(i,n){t(i,n,e)}};let c=class extends d.JT{constructor(e,t,i){super(),this._textModel=e,this._languageFeaturesService=t,this._outlineModelService=i,this._currentModel=(0,s.uh)(this,void 0);let n=(0,s.aq)("documentSymbolProvider.onDidChange",this._languageFeaturesService.documentSymbolProvider.onDidChange),o=(0,s.aq)("_textModel.onDidChangeContent",h.ju.debounce(e=>this._textModel.onDidChangeContent(e),()=>void 0,100));this._register((0,s.gp)(async(e,t)=>{n.read(e),o.read(e);let i=t.add(new r.t2),s=await this._outlineModelService.getOrCreate(this._textModel,i.token);t.isDisposed||this._currentModel.set(s,void 0)}))}getBreadcrumbItems(e,t){let i=this._currentModel.read(t);if(!i)return[];let s=i.asListOfDocumentSymbols().filter(t=>e.contains(t.range.startLineNumber)&&!e.contains(t.range.endLineNumber));return s.sort((0,n.BV)((0,n.tT)(e=>e.range.endLineNumber-e.range.startLineNumber,n.fv))),s.map(e=>({name:e.name,kind:e.kind,startLineNumber:e.range.startLineNumber}))}};c=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([u(1,l.p),u(2,a.Je)],c),o.O.setBreadcrumbsSourceFactory((e,t)=>t.createInstance(c,e))},27107:function(e,t,i){"use strict";var n=i(5976),s=i(1432);i(32811);var o=i(16830),r=i(50187),l=i(24314),a=i(3860),d=i(84901);class h{constructor(e,t,i){this.selection=e,this.targetPosition=t,this.copy=i,this.targetSelection=null}getEditOperations(e,t){let i=e.getValueInRange(this.selection);if(this.copy||t.addEditOperation(this.selection,null),t.addEditOperation(new l.e(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),i),this.selection.containsPosition(this.targetPosition)&&!(this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition)))){this.targetSelection=this.selection;return}if(this.copy){this.targetSelection=new a.Y(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber>this.selection.endLineNumber){this.targetSelection=new a.Y(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumberthis._onEditorMouseDown(e))),this._register(this._editor.onMouseUp(e=>this._onEditorMouseUp(e))),this._register(this._editor.onMouseDrag(e=>this._onEditorMouseDrag(e))),this._register(this._editor.onMouseDrop(e=>this._onEditorMouseDrop(e))),this._register(this._editor.onMouseDropCanceled(()=>this._onEditorMouseDropCanceled())),this._register(this._editor.onKeyDown(e=>this.onEditorKeyDown(e))),this._register(this._editor.onKeyUp(e=>this.onEditorKeyUp(e))),this._register(this._editor.onDidBlurEditorWidget(()=>this.onEditorBlur())),this._register(this._editor.onDidBlurEditorText(()=>this.onEditorBlur())),this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(e){!(!this._editor.getOption(35)||this._editor.getOption(22))&&(u(e)&&(this._modifierPressed=!0),this._mouseDown&&u(e)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(e){!(!this._editor.getOption(35)||this._editor.getOption(22))&&(u(e)&&(this._modifierPressed=!1),this._mouseDown&&e.keyCode===c.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(e){this._mouseDown=!0}_onEditorMouseUp(e){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(e){let t=e.target;if(null===this._dragSelection){let e=this._editor.getSelections()||[],i=e.filter(e=>t.position&&e.containsPosition(t.position));if(1!==i.length)return;this._dragSelection=i[0]}u(e.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDropCanceled(){this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}_onEditorMouseDrop(e){if(e.target&&(this._hitContent(e.target)||this._hitMargin(e.target))&&e.target.position){let t=new r.L(e.target.position.lineNumber,e.target.position.column);if(null===this._dragSelection){let i=null;if(e.event.shiftKey){let e=this._editor.getSelection();if(e){let{selectionStartLineNumber:n,selectionStartColumn:s}=e;i=[new a.Y(n,s,t.lineNumber,t.column)]}}else i=(this._editor.getSelections()||[]).map(e=>e.containsPosition(t)?new a.Y(t.lineNumber,t.column,t.lineNumber,t.column):e);this._editor.setSelections(i||[],"mouse",3)}else(!this._dragSelection.containsPosition(t)||(u(e.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(t)||this._dragSelection.getStartPosition().equals(t)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(c.ID,new h(this._dragSelection,t,u(e.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(e){this._dndDecorationIds.set([{range:new l.e(e.lineNumber,e.column,e.lineNumber,e.column),options:c._DECORATION_OPTIONS}]),this._editor.revealPosition(e,1)}_removeDecoration(){this._dndDecorationIds.clear()}_hitContent(e){return 6===e.type||7===e.type}_hitMargin(e){return 2===e.type||3===e.type||4===e.type}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}c.ID="editor.contrib.dragAndDrop",c.TRIGGER_KEY_VALUE=s.dz?6:5,c._DECORATION_OPTIONS=d.qx.register({description:"dnd-target",className:"dnd-target"}),(0,o._K)(c.ID,c,2)},76917:function(e,t,i){"use strict";var n=i(71050),s=i(98401),o=i(70666),r=i(88216),l=i(88941);i(94565).P.registerCommand("_executeDocumentSymbolProvider",async function(e,...t){let[i]=t;(0,s.p_)(o.o.isUri(i));let a=e.get(l.Je),d=e.get(r.S),h=await d.createModelReference(i);try{return(await a.getOrCreate(h.object.textEditorModel,n.Ts.None)).getTopLevelSymbols()}finally{h.dispose()}})},88941:function(e,t,i){"use strict";i.d(t,{C3:function(){return C},H3:function(){return b},Je:function(){return w},sT:function(){return v}});var n=i(9488),s=i(71050),o=i(17301),r=i(53725),l=i(43702),a=i(50187),d=i(24314),h=i(88191),u=i(72065),c=i(65026),g=i(73733),p=i(5976),m=i(71922),f=function(e,t){return function(i,n){t(i,n,e)}};class _{remove(){var e;null===(e=this.parent)||void 0===e||e.children.delete(this.id)}static findId(e,t){let i;"string"==typeof e?i=`${t.id}/${e}`:(i=`${t.id}/${e.name}`,void 0!==t.children.get(i)&&(i=`${t.id}/${e.name}_${e.range.startLineNumber}_${e.range.startColumn}`));let n=i;for(let e=0;void 0!==t.children.get(n);e++)n=`${i}_${e}`;return n}static empty(e){return 0===e.children.size}}class v extends _{constructor(e,t,i){super(),this.id=e,this.parent=t,this.symbol=i,this.children=new Map}}class b extends _{constructor(e,t,i,n){super(),this.id=e,this.parent=t,this.label=i,this.order=n,this.children=new Map}}class C extends _{static create(e,t,i){let r=new s.AU(i),l=new C(t.uri),a=e.ordered(t),d=a.map((e,i)=>{var n;let s=_.findId(`provider_${i}`,l),a=new b(s,l,null!==(n=e.displayName)&&void 0!==n?n:"Unknown Outline Provider",i);return Promise.resolve(e.provideDocumentSymbols(t,r.token)).then(e=>{for(let t of e||[])C._makeOutlineElement(t,a);return a},e=>((0,o.Cp)(e),a)).then(e=>{_.empty(e)?e.remove():l._groups.set(s,e)})}),h=e.onDidChange(()=>{let i=e.ordered(t);(0,n.fS)(i,a)||r.cancel()});return Promise.all(d).then(()=>r.token.isCancellationRequested&&!i.isCancellationRequested?C.create(e,t,i):l._compact()).finally(()=>{r.dispose(),h.dispose(),r.dispose()})}static _makeOutlineElement(e,t){let i=_.findId(e,t),n=new v(i,t,e);if(e.children)for(let t of e.children)C._makeOutlineElement(t,n);t.children.set(n.id,n)}constructor(e){super(),this.uri=e,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}_compact(){let e=0;for(let[t,i]of this._groups)0===i.children.size?this._groups.delete(t):e+=1;if(1!==e)this.children=this._groups;else{let e=r.$.first(this._groups.values());for(let[,t]of e.children)t.parent=this,this.children.set(t.id,t)}return this}getTopLevelSymbols(){let e=[];for(let t of this.children.values())t instanceof v?e.push(t.symbol):e.push(...r.$.map(t.children.values(),e=>e.symbol));return e.sort((e,t)=>d.e.compareRangesUsingStarts(e.range,t.range))}asListOfDocumentSymbols(){let e=this.getTopLevelSymbols(),t=[];return C._flattenDocumentSymbols(t,e,""),t.sort((e,t)=>a.L.compare(d.e.getStartPosition(e.range),d.e.getStartPosition(t.range))||a.L.compare(d.e.getEndPosition(t.range),d.e.getEndPosition(e.range)))}static _flattenDocumentSymbols(e,t,i){for(let n of t)e.push({kind:n.kind,tags:n.tags,name:n.name,detail:n.detail,containerName:n.containerName||i,range:n.range,selectionRange:n.selectionRange,children:void 0}),n.children&&C._flattenDocumentSymbols(e,n.children,n.name)}}let w=(0,u.yh)("IOutlineModelService"),y=class{constructor(e,t,i){this._languageFeaturesService=e,this._disposables=new p.SL,this._cache=new l.z6(10,.7),this._debounceInformation=t.for(e.documentSymbolProvider,"DocumentSymbols",{min:350}),this._disposables.add(i.onModelRemoved(e=>{this._cache.delete(e.id)}))}dispose(){this._disposables.dispose()}async getOrCreate(e,t){let i=this._languageFeaturesService.documentSymbolProvider,o=i.ordered(e),r=this._cache.get(e.id);if(!r||r.versionId!==e.getVersionId()||!(0,n.fS)(r.provider,o)){let t=new s.AU;r={versionId:e.getVersionId(),provider:o,promiseCnt:0,source:t,promise:C.create(i,e,t.token),model:void 0},this._cache.set(e.id,r);let n=Date.now();r.promise.then(t=>{r.model=t,this._debounceInformation.update(e,Date.now()-n)}).catch(t=>{this._cache.delete(e.id)})}if(r.model)return r.model;r.promiseCnt+=1;let l=t.onCancellationRequested(()=>{0==--r.promiseCnt&&(r.source.cancel(),this._cache.delete(e.id))});try{return await r.promise}finally{l.dispose()}}};y=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([f(0,m.p),f(1,h.A),f(2,g.q)],y),(0,c.z)(w,y,1)},57811:function(e,t,i){"use strict";var n,s=i(85373),o=i(16830),r=i(29102),l=i(10637),a=i(24954),d=i(51512),h=i(63580);(0,o._K)(a.bO.ID,a.bO,0),(0,l.y)(d.vJ),(0,o.fK)(new class extends o._l{constructor(){super({id:a.iE,precondition:a.wS,kbOpts:{weight:100,primary:2137}})}runEditorCommand(e,t){var i;return null===(i=a.bO.get(t))||void 0===i?void 0:i.changePasteType()}}),(0,o.fK)(new class extends o._l{constructor(){super({id:"editor.hidePasteWidget",precondition:a.wS,kbOpts:{weight:100,primary:9}})}runEditorCommand(e,t){var i;null===(i=a.bO.get(t))||void 0===i||i.clearWidgets()}}),(0,o.Qr)(((n=class extends o.R6{constructor(){super({id:"editor.action.pasteAs",label:h.NC("pasteAs","Paste As..."),alias:"Paste As...",precondition:r.u.writable,metadata:{description:"Paste as",args:[{name:"args",schema:n.argsSchema}]}})}run(e,t,i){var n;let o="string"==typeof(null==i?void 0:i.kind)?i.kind:void 0;return!o&&i&&(o="string"==typeof i.id?i.id:void 0),null===(n=a.bO.get(t))||void 0===n?void 0:n.pasteAs(o?new s.o(o):void 0)}}).argsSchema={type:"object",properties:{kind:{type:"string",description:h.NC("pasteAs.kind","The kind of the paste edit to try applying. If not provided or there are multiple edits for this kind, the editor will show a picker.")}}},n)),(0,o.Qr)(class extends o.R6{constructor(){super({id:"editor.action.pasteAsText",label:h.NC("pasteAsText","Paste as Text"),alias:"Paste as Text",precondition:r.u.writable})}run(e,t){var i;return null===(i=a.bO.get(t))||void 0===i?void 0:i.pasteAs({providerId:d.f8.id})}})},24954:function(e,t,i){"use strict";i.d(t,{bO:function(){return P},iE:function(){return M},wS:function(){return R}});var n,s=i(65321),o=i(9488),r=i(15393),l=i(73278),a=i(85373),d=i(5976),h=i(81170),u=i(1432),c=i(98e3),g=i(35715),p=i(92944),m=i(66007),f=i(24314),_=i(43155),v=i(71922),b=i(51512),C=i(91092),w=i(14410),y=i(4074),S=i(27753),L=i(63580),k=i(84972),D=i(32064),x=i(72065),N=i(90535),E=i(41157),I=i(50987),T=function(e,t){return function(i,n){t(i,n,e)}};let M="editor.changePasteType",R=new D.uy("pasteWidgetVisible",!1,(0,L.NC)("pasteWidgetVisible","Whether the paste widget is showing")),A="application/vnd.code.copyMetadata",P=n=class extends d.JT{static get(e){return e.getContribution(n.ID)}constructor(e,t,i,n,o,r,l){super(),this._bulkEditService=i,this._clipboardService=n,this._languageFeaturesService=o,this._quickInputService=r,this._progressService=l,this._editor=e;let a=e.getContainerDomNode();this._register((0,s.nm)(a,"copy",e=>this.handleCopy(e))),this._register((0,s.nm)(a,"cut",e=>this.handleCopy(e))),this._register((0,s.nm)(a,"paste",e=>this.handlePaste(e),!0)),this._pasteProgressManager=this._register(new y.r("pasteIntoEditor",e,t)),this._postPasteWidgetManager=this._register(t.createInstance(I.p,"pasteIntoEditor",e,R,{id:M,label:(0,L.NC)("postPasteWidgetTitle","Show paste options...")}))}changePasteType(){this._postPasteWidgetManager.tryShowSelector()}pasteAs(e){this._editor.focus();try{this._pasteAsActionContext={preferred:e},(0,s.uP)().execCommand("paste")}finally{this._pasteAsActionContext=void 0}}clearWidgets(){this._postPasteWidgetManager.clear()}isPasteAsEnabled(){return this._editor.getOption(85).enabled&&!this._editor.getOption(91)}async finishedPaste(){await this._currentPasteOperation}handleCopy(e){var t,i;if(!this._editor.hasTextFocus()||(u.$L&&this._clipboardService.writeResources([]),!e.clipboardData||!this.isPasteAsEnabled()))return;let s=this._editor.getModel(),l=this._editor.getSelections();if(!s||!(null==l?void 0:l.length))return;let a=this._editor.getOption(37),d=l,h=1===l.length&&l[0].isEmpty();if(h){if(!a)return;d=[new f.e(d[0].startLineNumber,1,d[0].startLineNumber,1+s.getLineLength(d[0].startLineNumber))]}let g=null===(t=this._editor._getViewModel())||void 0===t?void 0:t.getPlainTextToCopy(l,a,u.ED),m=Array.isArray(g)?g:null,_={multicursorText:m,pasteOnNewLine:h,mode:null},v=this._languageFeaturesService.documentPasteEditProvider.ordered(s).filter(e=>!!e.prepareDocumentPaste);if(!v.length){this.setCopyMetadata(e.clipboardData,{defaultPastePayload:_});return}let b=(0,p.B)(e.clipboardData),C=v.flatMap(e=>{var t;return null!==(t=e.copyMimeTypes)&&void 0!==t?t:[]}),w=(0,c.R)();this.setCopyMetadata(e.clipboardData,{id:w,providerCopyMimeTypes:C,defaultPastePayload:_});let y=(0,r.PG)(async e=>{let t=(0,o.kX)(await Promise.all(v.map(async t=>{try{return await t.prepareDocumentPaste(s,d,b,e)}catch(e){console.error(e);return}})));for(let e of(t.reverse(),t))for(let[t,i]of e)b.replace(t,i);return b});null===(i=n._currentCopyOperation)||void 0===i||i.dataTransferPromise.cancel(),n._currentCopyOperation={handle:w,dataTransferPromise:y}}async handlePaste(e){var t,i,n,s;if(!e.clipboardData||!this._editor.hasTextFocus())return;null===(t=S.O.get(this._editor))||void 0===t||t.closeMessage(),null===(i=this._currentPasteOperation)||void 0===i||i.cancel(),this._currentPasteOperation=void 0;let o=this._editor.getModel(),r=this._editor.getSelections();if(!(null==r?void 0:r.length)||!o||!this.isPasteAsEnabled()&&!this._pasteAsActionContext)return;let a=this.fetchCopyMetadata(e),d=(0,p.L)(e.clipboardData);d.delete(A);let u=[...e.clipboardData.types,...null!==(n=null==a?void 0:a.providerCopyMimeTypes)&&void 0!==n?n:[],h.v.uriList],c=this._languageFeaturesService.documentPasteEditProvider.ordered(o).filter(e=>{var t,i;let n=null===(t=this._pasteAsActionContext)||void 0===t?void 0:t.preferred;return(!n||!e.providedPasteEditKinds||!!this.providerMatchesPreference(e,n))&&(null===(i=e.pasteMimeTypes)||void 0===i?void 0:i.some(e=>(0,l.SN)(e,u)))});if(!c.length){(null===(s=this._pasteAsActionContext)||void 0===s?void 0:s.preferred)&&this.showPasteAsNoEditMessage(r,this._pasteAsActionContext.preferred);return}e.preventDefault(),e.stopImmediatePropagation(),this._pasteAsActionContext?this.showPasteAsPick(this._pasteAsActionContext.preferred,c,r,d,a):this.doPasteInline(c,r,d,a,e)}showPasteAsNoEditMessage(e,t){var i;null===(i=S.O.get(this._editor))||void 0===i||i.showMessage((0,L.NC)("pasteAsError","No paste edits for '{0}' found",t instanceof a.o?t.value:t.providerId),e[0].getStartPosition())}doPasteInline(e,t,i,n,s){let o=(0,r.PG)(async r=>{let l=this._editor;if(!l.hasModel())return;let a=l.getModel(),d=new w.Dl(l,3,void 0,r);try{if(await this.mergeInDataFromCopy(i,n,d.token),d.token.isCancellationRequested)return;let o=e.filter(e=>this.isSupportedPasteProvider(e,i));if(!o.length||1===o.length&&o[0]instanceof b.f8)return this.applyDefaultPasteHandler(i,n,d.token,s);let r={triggerKind:_.Nq.Automatic},h=await this.getPasteEdits(o,i,a,t,r,d.token);if(d.token.isCancellationRequested)return;if(1===h.length&&h[0].provider instanceof b.f8)return this.applyDefaultPasteHandler(i,n,d.token,s);if(h.length){let e="afterPaste"===l.getOption(85).showPasteSelector;return this._postPasteWidgetManager.applyEditAndShowIfNeeded(t,{activeEditIndex:0,allEdits:h},e,async(e,t)=>{var i,n;let s=await (null===(n=(i=e.provider).resolveDocumentPasteEdit)||void 0===n?void 0:n.call(i,e,t));return s&&(e.additionalEdit=s.additionalEdit),e},d.token)}await this.applyDefaultPasteHandler(i,n,d.token,s)}finally{d.dispose(),this._currentPasteOperation===o&&(this._currentPasteOperation=void 0)}});this._pasteProgressManager.showWhile(t[0].getEndPosition(),(0,L.NC)("pasteIntoEditorProgress","Running paste handlers. Click to cancel"),o),this._currentPasteOperation=o}showPasteAsPick(e,t,i,n,s){let o=(0,r.PG)(async r=>{let l=this._editor;if(!l.hasModel())return;let d=l.getModel(),h=new w.Dl(l,3,void 0,r);try{let o;if(await this.mergeInDataFromCopy(n,s,h.token),h.token.isCancellationRequested)return;let r=t.filter(t=>this.isSupportedPasteProvider(t,n,e));e&&(r=r.filter(t=>this.providerMatchesPreference(t,e)));let l={triggerKind:_.Nq.PasteAs,only:e&&e instanceof a.o?e:void 0},u=await this.getPasteEdits(r,n,d,i,l,h.token);if(h.token.isCancellationRequested)return;if(e&&(u=u.filter(t=>e instanceof a.o?e.contains(t.kind):e.providerId===t.provider.id)),!u.length){l.only&&this.showPasteAsNoEditMessage(i,l.only);return}if(e)o=u.at(0);else{let e=await this._quickInputService.pick(u.map(e=>{var t;return{label:e.title,description:null===(t=e.kind)||void 0===t?void 0:t.value,edit:e}}),{placeHolder:(0,L.NC)("pasteAsPickerPlaceholder","Select Paste Action")});o=null==e?void 0:e.edit}if(!o)return;let c=(0,C.n)(d.uri,i,o);await this._bulkEditService.apply(c,{editor:this._editor})}finally{h.dispose(),this._currentPasteOperation===o&&(this._currentPasteOperation=void 0)}});this._progressService.withProgress({location:10,title:(0,L.NC)("pasteAsProgress","Running paste handlers")},()=>o)}setCopyMetadata(e,t){e.setData(A,JSON.stringify(t))}fetchCopyMetadata(e){var t;if(!e.clipboardData)return;let i=e.clipboardData.getData(A);if(i)try{return JSON.parse(i)}catch(e){return}let[n,s]=g.b6.getTextData(e.clipboardData);if(s)return{defaultPastePayload:{mode:s.mode,multicursorText:null!==(t=s.multicursorText)&&void 0!==t?t:null,pasteOnNewLine:!!s.isFromEmptySelection}}}async mergeInDataFromCopy(e,t,i){var s;if((null==t?void 0:t.id)&&(null===(s=n._currentCopyOperation)||void 0===s?void 0:s.handle)===t.id){let t=await n._currentCopyOperation.dataTransferPromise;if(i.isCancellationRequested)return;for(let[i,n]of t)e.replace(i,n)}if(!e.has(h.v.uriList)){let t=await this._clipboardService.readResources();if(i.isCancellationRequested)return;t.length&&e.append(h.v.uriList,(0,l.ZO)(l.Z0.create(t)))}}async getPasteEdits(e,t,i,n,s,l){let a=await (0,r.eP)(Promise.all(e.map(async e=>{var o,r;try{let a=await (null===(o=e.provideDocumentPasteEdits)||void 0===o?void 0:o.call(e,i,n,t,s,l));return null===(r=null==a?void 0:a.edits)||void 0===r?void 0:r.map(t=>({...t,provider:e}))}catch(e){console.error(e)}})),l),d=(0,o.kX)(null!=a?a:[]).flat().filter(e=>!s.only||s.only.contains(e.kind));return(0,C.C)(d)}async applyDefaultPasteHandler(e,t,i,n){var s,o,r,l;let a=null!==(s=e.get(h.v.text))&&void 0!==s?s:e.get("text"),d=null!==(o=await (null==a?void 0:a.asString()))&&void 0!==o?o:"";if(i.isCancellationRequested)return;let u={clipboardEvent:n,text:d,pasteOnNewLine:null!==(r=null==t?void 0:t.defaultPastePayload.pasteOnNewLine)&&void 0!==r&&r,multicursorText:null!==(l=null==t?void 0:t.defaultPastePayload.multicursorText)&&void 0!==l?l:null,mode:null};this._editor.trigger("keyboard","paste",u)}isSupportedPasteProvider(e,t,i){var n;return null!==(n=e.pasteMimeTypes)&&void 0!==n&&!!n.some(e=>t.matches(e))&&(!i||this.providerMatchesPreference(e,i))}providerMatchesPreference(e,t){return t instanceof a.o?!e.providedPasteEditKinds||e.providedPasteEditKinds.some(e=>t.contains(e)):e.id===t.providerId}};P.ID="editor.contrib.copyPasteActionController",P=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([T(1,x.TG),T(2,m.vu),T(3,k.p),T(4,v.p),T(5,E.eJ),T(6,N.R9)],P)},51512:function(e,t,i){"use strict";i.d(t,{P4:function(){return S},f8:function(){return v},vJ:function(){return L}});var n=i(9488),s=i(73278),o=i(85373),r=i(5976),l=i(81170),a=i(66663),d=i(95935),h=i(70666),u=i(43155),c=i(71922),g=i(63580),p=i(40382),m=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},f=function(e,t){return function(i,n){t(i,n,e)}};class _{async provideDocumentPasteEdits(e,t,i,n,s){let o=await this.getEdit(i,s);if(o)return{dispose(){},edits:[{insertText:o.insertText,title:o.title,kind:o.kind,handledMimeType:o.handledMimeType,yieldTo:o.yieldTo}]}}async provideDocumentDropEdits(e,t,i,n){let s=await this.getEdit(i,n);return s?[{insertText:s.insertText,title:s.title,kind:s.kind,handledMimeType:s.handledMimeType,yieldTo:s.yieldTo}]:void 0}}class v extends _{constructor(){super(...arguments),this.kind=v.kind,this.dropMimeTypes=[l.v.text],this.pasteMimeTypes=[l.v.text]}async getEdit(e,t){let i=e.get(l.v.text);if(!i||e.has(l.v.uriList))return;let n=await i.asString();return{handledMimeType:l.v.text,title:(0,g.NC)("text.label","Insert Plain Text"),insertText:n,kind:this.kind}}}v.id="text",v.kind=new o.o("text.plain");class b extends _{constructor(){super(...arguments),this.kind=new o.o("uri.absolute"),this.dropMimeTypes=[l.v.uriList],this.pasteMimeTypes=[l.v.uriList]}async getEdit(e,t){let i;let n=await y(e);if(!n.length||t.isCancellationRequested)return;let s=0,o=n.map(({uri:e,originalText:t})=>e.scheme===a.lg.file?e.fsPath:(s++,t)).join(" ");return i=s>0?n.length>1?(0,g.NC)("defaultDropProvider.uriList.uris","Insert Uris"):(0,g.NC)("defaultDropProvider.uriList.uri","Insert Uri"):n.length>1?(0,g.NC)("defaultDropProvider.uriList.paths","Insert Paths"):(0,g.NC)("defaultDropProvider.uriList.path","Insert Path"),{handledMimeType:l.v.uriList,insertText:o,title:i,kind:this.kind}}}let C=class extends _{constructor(e){super(),this._workspaceContextService=e,this.kind=new o.o("uri.relative"),this.dropMimeTypes=[l.v.uriList],this.pasteMimeTypes=[l.v.uriList]}async getEdit(e,t){let i=await y(e);if(!i.length||t.isCancellationRequested)return;let s=(0,n.kX)(i.map(({uri:e})=>{let t=this._workspaceContextService.getWorkspaceFolder(e);return t?(0,d.lX)(t.uri,e):void 0}));if(s.length)return{handledMimeType:l.v.uriList,insertText:s.join(" "),title:i.length>1?(0,g.NC)("defaultDropProvider.uriList.relativePaths","Insert Relative Paths"):(0,g.NC)("defaultDropProvider.uriList.relativePath","Insert Relative Path"),kind:this.kind}}};C=m([f(0,p.ec)],C);class w{constructor(){this.kind=new o.o("html"),this.pasteMimeTypes=["text/html"],this._yieldTo=[{mimeType:l.v.text}]}async provideDocumentPasteEdits(e,t,i,n,s){var o;if(n.triggerKind!==u.Nq.PasteAs&&!(null===(o=n.only)||void 0===o?void 0:o.contains(this.kind)))return;let r=i.get("text/html"),l=await (null==r?void 0:r.asString());if(l&&!s.isCancellationRequested)return{dispose(){},edits:[{insertText:l,yieldTo:this._yieldTo,title:(0,g.NC)("pasteHtmlLabel","Insert HTML"),kind:this.kind}]}}}async function y(e){let t=e.get(l.v.uriList);if(!t)return[];let i=await t.asString(),n=[];for(let e of s.Z0.parse(i))try{n.push({uri:h.o.parse(e),originalText:e})}catch(e){}return n}let S=class extends r.JT{constructor(e,t){super(),this._register(e.documentDropEditProvider.register("*",new v)),this._register(e.documentDropEditProvider.register("*",new b)),this._register(e.documentDropEditProvider.register("*",new C(t)))}};S=m([f(0,c.p),f(1,p.ec)],S);let L=class extends r.JT{constructor(e,t){super(),this._register(e.documentPasteEditProvider.register("*",new v)),this._register(e.documentPasteEditProvider.register("*",new b)),this._register(e.documentPasteEditProvider.register("*",new C(t))),this._register(e.documentPasteEditProvider.register("*",new w))}};L=m([f(0,c.p),f(1,p.ec)],L)},76454:function(e,t,i){"use strict";var n,s=i(16830),o=i(800),r=i(10637),l=i(51512),a=i(63580),d=i(23193),h=i(89872),u=i(9488),c=i(15393),g=i(73278),p=i(85373),m=i(5976),f=i(92944),_=i(24314),v=i(71922);class b{constructor(e){this.identifier=e}}var C=i(65026),w=i(72065);let y=(0,w.yh)("treeViewsDndService");(0,C.z)(y,class{constructor(){this._dragOperations=new Map}removeDragOperationTransfer(e){if(e&&this._dragOperations.has(e)){let t=this._dragOperations.get(e);return this._dragOperations.delete(e),t}}},1);var S=i(14410),L=i(4074),k=i(33108),D=i(32064),x=i(16021),N=i(91092),E=i(50987),I=function(e,t){return function(i,n){t(i,n,e)}};let T="editor.experimental.dropIntoEditor.defaultProvider",M="editor.changeDropType",R=new D.uy("dropWidgetVisible",!1,(0,a.NC)("dropWidgetVisible","Whether the drop widget is showing")),A=n=class extends m.JT{static get(e){return e.getContribution(n.ID)}constructor(e,t,i,n,s){super(),this._configService=i,this._languageFeaturesService=n,this._treeViewsDragAndDropService=s,this.treeItemsTransfer=x.Ej.getInstance(),this._dropProgressManager=this._register(t.createInstance(L.r,"dropIntoEditor",e)),this._postDropWidgetManager=this._register(t.createInstance(E.p,"dropIntoEditor",e,R,{id:M,label:(0,a.NC)("postDropWidgetTitle","Show drop options...")})),this._register(e.onDropIntoEditor(t=>this.onDropIntoEditor(e,t.position,t.event)))}clearWidgets(){this._postDropWidgetManager.clear()}changeDropType(){this._postDropWidgetManager.tryShowSelector()}async onDropIntoEditor(e,t,i){var n;if(!i.dataTransfer||!e.hasModel())return;null===(n=this._currentOperation)||void 0===n||n.cancel(),e.focus(),e.setPosition(t);let s=(0,c.PG)(async n=>{let o=new S.Dl(e,1,void 0,n);try{let s=await this.extractDataTransferData(i);if(0===s.size||o.token.isCancellationRequested)return;let r=e.getModel();if(!r)return;let l=this._languageFeaturesService.documentDropEditProvider.ordered(r).filter(e=>!e.dropMimeTypes||e.dropMimeTypes.some(e=>s.matches(e))),a=await this.getDropEdits(l,r,t,s,o);if(o.token.isCancellationRequested)return;if(a.length){let i=this.getInitialActiveEditIndex(r,a),s="afterDrop"===e.getOption(36).showDropSelector;await this._postDropWidgetManager.applyEditAndShowIfNeeded([_.e.fromPositions(t)],{activeEditIndex:i,allEdits:a},s,async e=>e,n)}}finally{o.dispose(),this._currentOperation===s&&(this._currentOperation=void 0)}});this._dropProgressManager.showWhile(t,(0,a.NC)("dropIntoEditorProgress","Running drop handlers. Click to cancel"),s),this._currentOperation=s}async getDropEdits(e,t,i,n,s){let o=await (0,c.eP)(Promise.all(e.map(async e=>{try{let o=await e.provideDocumentDropEdits(t,i,n,s.token);return null==o?void 0:o.map(t=>({...t,providerId:e.id}))}catch(e){console.error(e)}})),s.token),r=(0,u.kX)(null!=o?o:[]).flat();return(0,N.C)(r)}getInitialActiveEditIndex(e,t){let i=this._configService.getValue(T,{resource:e.uri});for(let[e,n]of Object.entries(i)){let i=new p.o(n),s=t.findIndex(t=>i.value===t.providerId&&t.handledMimeType&&(0,g.SN)(e,[t.handledMimeType]));if(s>=0)return s}return 0}async extractDataTransferData(e){if(!e.dataTransfer)return new g.Hl;let t=(0,f.L)(e.dataTransfer);if(this.treeItemsTransfer.hasData(b.prototype)){let e=this.treeItemsTransfer.getData(b.prototype);if(Array.isArray(e))for(let i of e){let e=await this._treeViewsDragAndDropService.removeDragOperationTransfer(i.identifier);if(e)for(let[i,n]of e)t.replace(i,n)}}return t}};A.ID="editor.contrib.dropIntoEditorController",A=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([I(1,w.TG),I(2,k.Ui),I(3,v.p),I(4,y)],A),(0,s._K)(A.ID,A,2),(0,r.y)(l.P4),(0,s.fK)(new class extends s._l{constructor(){super({id:M,precondition:R,kbOpts:{weight:100,primary:2137}})}runEditorCommand(e,t,i){var n;null===(n=A.get(t))||void 0===n||n.changeDropType()}}),(0,s.fK)(new class extends s._l{constructor(){super({id:"editor.hideDropWidget",precondition:R,kbOpts:{weight:100,primary:9}})}runEditorCommand(e,t,i){var n;null===(n=A.get(t))||void 0===n||n.clearWidgets()}}),h.B.as(d.IP.Configuration).registerConfiguration({...o.wk,properties:{[T]:{type:"object",scope:5,description:a.NC("defaultProviderDescription","Configures the default drop provider to use for content of a given mime type."),default:{},additionalProperties:{type:"string"}}}})},91092:function(e,t,i){"use strict";i.d(t,{C:function(){return r},n:function(){return o}});var n=i(66007),s=i(35084);function o(e,t,i){var o,r,l,a;return("string"==typeof i.insertText?""===i.insertText:""===i.insertText.snippet)?{edits:null!==(r=null===(o=i.additionalEdit)||void 0===o?void 0:o.edits)&&void 0!==r?r:[]}:{edits:[...t.map(t=>new n.Gl(e,{range:t,text:"string"==typeof i.insertText?s.Yj.escape(i.insertText)+"$0":i.insertText.snippet,insertAsSnippet:!0})),...null!==(a=null===(l=i.additionalEdit)||void 0===l?void 0:l.edits)&&void 0!==a?a:[]]}}function r(e){var t;let i=new Map;for(let n of e)for(let s of null!==(t=n.yieldTo)&&void 0!==t?t:[])for(let t of e)if(t!==n&&("mimeType"in s?s.mimeType===t.handledMimeType:!!t.kind&&s.kind.contains(t.kind))){let e=i.get(n);e||(e=[],i.set(n,e)),e.push(t)}if(!i.size)return Array.from(e);let n=new Set,s=[];return function e(t){if(!t.length)return[];let o=t[0];if(s.includes(o))return console.warn("Yield to cycle detected",o),t;if(n.has(o))return e(t.slice(1));let r=[],l=i.get(o);return l&&(s.push(o),r=e(l),s.pop()),n.add(o),[...r,o,...e(t.slice(1))]}(Array.from(e))}},50987:function(e,t,i){"use strict";i.d(t,{p:function(){return y}});var n,s=i(65321),o=i(43416),r=i(74741),l=i(59523),a=i(17301),d=i(4669),h=i(5976);i(82287);var u=i(66007),c=i(91092),g=i(63580),p=i(32064),m=i(5606),f=i(72065),_=i(91847),v=i(59422),b=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},C=function(e,t){return function(i,n){t(i,n,e)}};let w=n=class extends h.JT{constructor(e,t,i,n,s,o,r,l,a,u){super(),this.typeId=e,this.editor=t,this.showCommand=n,this.range=s,this.edits=o,this.onSelectNewEdit=r,this._contextMenuService=l,this._keybindingService=u,this.allowEditorOverflow=!0,this.suppressMouseDown=!0,this.create(),this.visibleContext=i.bindTo(a),this.visibleContext.set(!0),this._register((0,h.OF)(()=>this.visibleContext.reset())),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this),this._register((0,h.OF)(()=>this.editor.removeContentWidget(this))),this._register(this.editor.onDidChangeCursorPosition(e=>{s.containsPosition(e.position)||this.dispose()})),this._register(d.ju.runAndSubscribe(u.onDidUpdateKeybindings,()=>{this._updateButtonTitle()}))}_updateButtonTitle(){var e;let t=null===(e=this._keybindingService.lookupKeybinding(this.showCommand.id))||void 0===e?void 0:e.getLabel();this.button.element.title=this.showCommand.label+(t?` (${t})`:"")}create(){this.domNode=s.$(".post-edit-widget"),this.button=this._register(new o.z(this.domNode,{supportIcons:!0})),this.button.label="$(insert)",this._register(s.nm(this.domNode,s.tw.CLICK,()=>this.showSelector()))}getId(){return n.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:this.range.getEndPosition(),preference:[2]}}showSelector(){this._contextMenuService.showContextMenu({getAnchor:()=>{let e=s.i(this.button.element);return{x:e.left+e.width,y:e.top+e.height}},getActions:()=>this.edits.allEdits.map((e,t)=>(0,r.xw)({id:"",label:e.title,checked:t===this.edits.activeEditIndex,run:()=>{if(t!==this.edits.activeEditIndex)return this.onSelectNewEdit(t)}}))})}};w.baseId="editor.widget.postEditWidget",w=n=b([C(7,m.i),C(8,p.i6),C(9,_.d)],w);let y=class extends h.JT{constructor(e,t,i,n,s,o,r){super(),this._id=e,this._editor=t,this._visibleContext=i,this._showCommand=n,this._instantiationService=s,this._bulkEditService=o,this._notificationService=r,this._currentWidget=this._register(new h.XK),this._register(d.ju.any(t.onDidChangeModel,t.onDidChangeModelContent)(()=>this.clear()))}async applyEditAndShowIfNeeded(e,t,i,n,s){let o,r,d;let h=this._editor.getModel();if(!h||!e.length)return;let u=t.allEdits.at(t.activeEditIndex);if(!u)return;let p=async o=>{let r=this._editor.getModel();r&&(await r.undo(),this.applyEditAndShowIfNeeded(e,{activeEditIndex:o,allEdits:t.allEdits},i,n,s))},m=(n,s)=>{!(0,a.n2)(n)&&(this._notificationService.error(s),i&&this.show(e[0],t,p))};try{o=await n(u,s)}catch(e){return m(e,(0,g.NC)("resolveError","Error resolving edit '{0}':\n{1}",u.title,(0,l.y)(e)))}if(s.isCancellationRequested)return;let f=(0,c.n)(h.uri,e,o),_=e[0],v=h.deltaDecorations([],[{range:_,options:{description:"paste-line-suffix",stickiness:0}}]);this._editor.focus();try{r=await this._bulkEditService.apply(f,{editor:this._editor,token:s}),d=h.getDecorationRange(v[0])}catch(e){return m(e,(0,g.NC)("applyError","Error applying edit '{0}':\n{1}",u.title,(0,l.y)(e)))}finally{h.deltaDecorations(v,[])}!s.isCancellationRequested&&i&&r.isApplied&&t.allEdits.length>1&&this.show(null!=d?d:_,t,p)}show(e,t,i){this.clear(),this._editor.hasModel()&&(this._currentWidget.value=this._instantiationService.createInstance(w,this._id,this._editor,this._visibleContext,this._showCommand,e,t,i))}clear(){this._currentWidget.clear()}tryShowSelector(){var e;null===(e=this._currentWidget.value)||void 0===e||e.showSelector()}};y=b([C(4,f.TG),C(5,u.vu),C(6,v.lT)],y)},14410:function(e,t,i){"use strict";i.d(t,{yy:function(){return f},Dl:function(){return _},YQ:function(){return v}});var n=i(97295),s=i(24314),o=i(71050),r=i(5976),l=i(16830),a=i(32064),d=i(91741),h=i(72065),u=i(65026),c=i(63580);let g=(0,h.yh)("IEditorCancelService"),p=new a.uy("cancellableOperation",!1,(0,c.NC)("cancellableOperation","Whether the editor runs a cancellable operation, e.g. like 'Peek References'"));(0,u.z)(g,class{constructor(){this._tokens=new WeakMap}add(e,t){let i,n=this._tokens.get(e);return n||(n=e.invokeWithinContext(e=>{let t=p.bindTo(e.get(a.i6)),i=new d.S;return{key:t,tokens:i}}),this._tokens.set(e,n)),n.key.set(!0),i=n.tokens.push(t),()=>{i&&(i(),n.key.set(!n.tokens.isEmpty()),i=void 0)}}cancel(e){let t=this._tokens.get(e);if(!t)return;let i=t.tokens.pop();i&&(i.cancel(),t.key.set(!t.tokens.isEmpty()))}},1);class m extends o.AU{constructor(e,t){super(t),this.editor=e,this._unregister=e.invokeWithinContext(t=>t.get(g).add(e,this))}dispose(){this._unregister(),super.dispose()}}(0,l.fK)(new class extends l._l{constructor(){super({id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:p})}runEditorCommand(e,t){e.get(g).cancel(t)}});class f{constructor(e,t){if(this.flags=t,(1&this.flags)!=0){let t=e.getModel();this.modelVersionId=t?n.WU("{0}#{1}",t.uri.toString(),t.getVersionId()):null}else this.modelVersionId=null;(4&this.flags)!=0?this.position=e.getPosition():this.position=null,(2&this.flags)!=0?this.selection=e.getSelection():this.selection=null,(8&this.flags)!=0?(this.scrollLeft=e.getScrollLeft(),this.scrollTop=e.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}_equals(e){return e instanceof f&&this.modelVersionId===e.modelVersionId&&this.scrollLeft===e.scrollLeft&&this.scrollTop===e.scrollTop&&(!!this.position||!e.position)&&(!this.position||!!e.position)&&(!this.position||!e.position||!!this.position.equals(e.position))&&(!!this.selection||!e.selection)&&(!this.selection||!!e.selection)&&(!this.selection||!e.selection||!!this.selection.equalsRange(e.selection))}validate(e){return this._equals(new f(e,this.flags))}}class _ extends m{constructor(e,t,i,n){super(e,n),this._listener=new r.SL,4&t&&this._listener.add(e.onDidChangeCursorPosition(e=>{i&&s.e.containsPosition(i,e.position)||this.cancel()})),2&t&&this._listener.add(e.onDidChangeCursorSelection(e=>{i&&s.e.containsRange(i,e.selection)||this.cancel()})),8&t&&this._listener.add(e.onDidScrollChange(e=>this.cancel())),1&t&&(this._listener.add(e.onDidChangeModel(e=>this.cancel())),this._listener.add(e.onDidChangeModelContent(e=>this.cancel())))}dispose(){this._listener.dispose(),super.dispose()}}class v extends o.AU{constructor(e,t){super(t),this._listener=e.onDidChangeContent(()=>this.cancel())}dispose(){this._listener.dispose(),super.dispose()}}},55826:function(e,t,i){"use strict";i.d(t,{pR:function(){return eZ}});var n,s=i(15393),o=i(5976),r=i(97295),l=i(16830),a=i(51945),d=i(29102),h=i(84973),u=i(35534),c=i(61329),g=i(50187),p=i(24314),m=i(3860),f=i(77277),_=i(84901),v=i(75974),b=i(97781);class C{constructor(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.removeDecorations(this._allDecorations()),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){let e=this._findScopeDecorationIds.map(e=>this._editor.getModel().getDecorationRange(e)).filter(e=>!!e);if(e.length)return e}return null}getStartPosition(){return this._startPosition}setStartPosition(e){this._startPosition=e,this.setCurrentFindMatch(null)}_getDecorationIndex(e){let t=this._decorations.indexOf(e);return t>=0?t+1:1}getDecorationRangeAt(e){let t=e{if(null!==this._highlightedDecorationId&&(e.changeDecorationOptions(this._highlightedDecorationId,C._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),null!==t&&(this._highlightedDecorationId=t,e.changeDecorationOptions(this._highlightedDecorationId,C._CURRENT_FIND_MATCH_DECORATION)),null!==this._rangeHighlightDecorationId&&(e.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),null!==t){let i=this._editor.getModel().getDecorationRange(t);if(i.startLineNumber!==i.endLineNumber&&1===i.endColumn){let e=i.endLineNumber-1,t=this._editor.getModel().getLineMaxColumn(e);i=new p.e(i.startLineNumber,i.startColumn,e,t)}this._rangeHighlightDecorationId=e.addDecoration(i,C._RANGE_HIGHLIGHT_DECORATION)}}),i}set(e,t){this._editor.changeDecorations(i=>{let n=C._FIND_MATCH_DECORATION,s=[];if(e.length>1e3){n=C._FIND_MATCH_NO_OVERVIEW_DECORATION;let t=this._editor.getModel().getLineCount(),i=this._editor.getLayoutInfo().height,o=Math.max(2,Math.ceil(3/(i/t))),r=e[0].range.startLineNumber,l=e[0].range.endLineNumber;for(let t=1,i=e.length;t=i.startLineNumber?i.endLineNumber>l&&(l=i.endLineNumber):(s.push({range:new p.e(r,1,l,1),options:C._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),r=i.startLineNumber,l=i.endLineNumber)}s.push({range:new p.e(r,1,l,1),options:C._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}let o=Array(e.length);for(let t=0,i=e.length;ti.removeDecoration(e)),this._findScopeDecorationIds=[]),(null==t?void 0:t.length)&&(this._findScopeDecorationIds=t.map(e=>i.addDecoration(e,C._FIND_SCOPE_DECORATION)))})}matchBeforePosition(e){if(0===this._decorations.length)return null;for(let t=this._decorations.length-1;t>=0;t--){let i=this._decorations[t],n=this._editor.getModel().getDecorationRange(i);if(n&&!(n.endLineNumber>e.lineNumber)&&(n.endLineNumbere.column)))return n}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(e){if(0===this._decorations.length)return null;for(let t=0,i=this._decorations.length;te.lineNumber||!(n.startColumn0){let e=[];for(let t=0;tp.e.compareRangesUsingStarts(e.range,t.range));let i=[],n=e[0];for(let t=1;t0?t[0].toUpperCase()+t.substr(1):e[0][0].toUpperCase()!==e[0][0]&&t.length>0?t[0].toLowerCase()+t.substr(1):t}}function S(e,t,i){let n=-1!==e[0].indexOf(i)&&-1!==t.indexOf(i);return n&&e[0].split(i).length===t.split(i).length}function L(e,t,i){let n=t.split(i),s=e[0].split(i),o="";return n.forEach((e,t)=>{o+=y([s[t]],e)+i}),o.slice(0,-1)}class k{constructor(e){this.staticValue=e,this.kind=0}}class D{constructor(e){this.pieces=e,this.kind=1}}class x{static fromStaticValue(e){return new x([N.staticValue(e)])}get hasReplacementPatterns(){return 1===this._state.kind}constructor(e){e&&0!==e.length?1===e.length&&null!==e[0].staticValue?this._state=new k(e[0].staticValue):this._state=new D(e):this._state=new k("")}buildReplaceString(e,t){if(0===this._state.kind)return t?y(e,this._state.staticValue):this._state.staticValue;let i="";for(let t=0,n=this._state.pieces.length;t0){let e=[],t=n.caseOps.length,i=0;for(let o=0,r=s.length;o=t){e.push(s.slice(o));break}switch(n.caseOps[i]){case"U":e.push(s[o].toUpperCase());break;case"u":e.push(s[o].toUpperCase()),i++;break;case"L":e.push(s[o].toLowerCase());break;case"l":e.push(s[o].toLowerCase()),i++;break;default:e.push(s[o])}}s=e.join("")}i+=s}return i}static _substitute(e,t){if(null===t)return"";if(0===e)return t[0];let i="";for(;e>0;){if(ethis.research(!1),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition(e=>{(3===e.reason||5===e.reason||6===e.reason)&&this._decorations.setStartPosition(this._editor.getPosition())})),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent(e=>{this._ignoreModelContentChanged||(e.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())})),this._toDispose.add(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,(0,o.B9)(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(e){if(!this._isDisposed&&this._editor.hasModel()&&(e.searchString||e.isReplaceRevealed||e.isRegex||e.wholeWord||e.matchCase||e.searchScope)){let t=this._editor.getModel();t.isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet(()=>{e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)},240)):e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)}}static _getSearchRange(e,t){return t||e.getFullModelRange()}research(e,t){let i=null;void 0!==t?null!==t&&(i=Array.isArray(t)?t:[t]):i=this._decorations.getFindScopes(),null!==i&&(i=i.map(e=>{if(e.startLineNumber!==e.endLineNumber){let t=e.endLineNumber;return 1===e.endColumn&&(t-=1),new p.e(e.startLineNumber,1,t,this._editor.getModel().getLineMaxColumn(t))}return e}));let n=this._findMatches(i,!1,19999);this._decorations.set(n,i);let s=this._editor.getSelection(),o=this._decorations.getCurrentMatchesPosition(s);if(0===o&&n.length>0){let e=(0,u.J_)(n.map(e=>e.range),e=>p.e.compareRangesUsingStarts(e,s)>=0);o=e>0?e-1+1:o}this._state.changeMatchInfo(o,this._decorations.getCount(),void 0),e&&this._editor.getOption(41).cursorMoveOnType&&this._moveToNextMatch(this._decorations.getStartPosition())}_hasMatches(){return this._state.matchesCount>0}_cannotFind(){if(!this._hasMatches()){let e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1}_setCurrentFindMatch(e){let t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)}_prevSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:i,column:n}=e,s=this._editor.getModel();return t||1===n?(1===i?i=s.getLineCount():i--,n=s.getLineMaxColumn(i)):n--,new g.L(i,n)}_moveToPrevMatch(e,t=!1){if(!this._state.canNavigateBack()){let t=this._decorations.matchAfterPosition(e);t&&this._setCurrentFindMatch(t);return}if(19999>this._decorations.getCount()){let t=this._decorations.matchBeforePosition(e);t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._prevSearchPosition(e),t=this._decorations.matchBeforePosition(e)),t&&this._setCurrentFindMatch(t);return}if(this._cannotFind())return;let i=this._decorations.getFindScope(),n=H._getSearchRange(this._editor.getModel(),i);n.getEndPosition().isBefore(e)&&(e=n.getEndPosition()),e.isBefore(n.getStartPosition())&&(e=n.getEndPosition());let{lineNumber:s,column:o}=e,r=this._editor.getModel(),l=new g.L(s,o),a=r.findPreviousMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,!1);if(a&&a.range.isEmpty()&&a.range.getStartPosition().equals(l)&&(l=this._prevSearchPosition(l),a=r.findPreviousMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,!1)),a){if(!t&&!n.containsRange(a.range))return this._moveToPrevMatch(a.range.getStartPosition(),!0);this._setCurrentFindMatch(a.range)}}moveToPrevMatch(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())}_nextSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:i,column:n}=e,s=this._editor.getModel();return t||n===s.getLineMaxColumn(i)?(i===s.getLineCount()?i=1:i++,n=1):n++,new g.L(i,n)}_moveToNextMatch(e){if(!this._state.canNavigateForward()){let t=this._decorations.matchBeforePosition(e);t&&this._setCurrentFindMatch(t);return}if(19999>this._decorations.getCount()){let t=this._decorations.matchAfterPosition(e);t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),t=this._decorations.matchAfterPosition(e)),t&&this._setCurrentFindMatch(t);return}let t=this._getNextMatch(e,!1,!0);t&&this._setCurrentFindMatch(t.range)}_getNextMatch(e,t,i,n=!1){if(this._cannotFind())return null;let s=this._decorations.getFindScope(),o=H._getSearchRange(this._editor.getModel(),s);o.getEndPosition().isBefore(e)&&(e=o.getStartPosition()),e.isBefore(o.getStartPosition())&&(e=o.getStartPosition());let{lineNumber:r,column:l}=e,a=this._editor.getModel(),d=new g.L(r,l),h=a.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,t);return(i&&h&&h.range.isEmpty()&&h.range.getStartPosition().equals(d)&&(d=this._nextSearchPosition(d),h=a.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,t)),h)?n||o.containsRange(h.range)?h:this._getNextMatch(h.range.getEndPosition(),t,i,!0):null}moveToNextMatch(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())}_moveToMatch(e){let t=this._decorations.getDecorationRangeAt(e);t&&this._setCurrentFindMatch(t)}moveToMatch(e){this._moveToMatch(e)}_getReplacePattern(){return this._state.isRegex?function(e){if(!e||0===e.length)return new x(null);let t=[],i=new E(e);for(let n=0,s=e.length;n=s)break;let o=e.charCodeAt(n);switch(o){case 92:i.emitUnchanged(n-1),i.emitStatic("\\",n+1);break;case 110:i.emitUnchanged(n-1),i.emitStatic("\n",n+1);break;case 116:i.emitUnchanged(n-1),i.emitStatic(" ",n+1);break;case 117:case 85:case 108:case 76:i.emitUnchanged(n-1),i.emitStatic("",n+1),t.push(String.fromCharCode(o))}continue}if(36===o){if(++n>=s)break;let o=e.charCodeAt(n);if(36===o){i.emitUnchanged(n-1),i.emitStatic("$",n+1);continue}if(48===o||38===o){i.emitUnchanged(n-1),i.emitMatchIndex(0,n+1,t),t.length=0;continue}if(49<=o&&o<=57){let r=o-48;if(n+1H._getSearchRange(this._editor.getModel(),e));return this._editor.getModel().findMatches(this._state.searchString,n,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,t,i)}replaceAll(){if(!this._hasMatches())return;let e=this._decorations.getFindScopes();null===e&&this._state.matchesCount>=19999?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}_largeReplaceAll(){let e;let t=new f.bc(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null),i=t.parseSearchRequest();if(!i)return;let n=i.regex;if(!n.multiline){let e="mu";n.ignoreCase&&(e+="i"),n.global&&(e+="g"),n=new RegExp(n.source,e)}let s=this._editor.getModel(),o=s.getValue(1),r=s.getFullModelRange(),l=this._getReplacePattern(),a=this._state.preserveCase;e=l.hasReplacementPatterns||a?o.replace(n,function(){return l.buildReplaceString(arguments,a)}):o.replace(n,l.buildReplaceString(null,a));let d=new c.hP(r,e,this._editor.getSelection());this._executeEditorCommand("replaceAll",d)}_regularReplaceAll(e){let t=this._getReplacePattern(),i=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),n=[];for(let e=0,s=i.length;ee.range),n);this._executeEditorCommand("replaceAll",s)}selectAllMatches(){if(!this._hasMatches())return;let e=this._decorations.getFindScopes(),t=this._findMatches(e,!1,1073741824),i=t.map(e=>new m.Y(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)),n=this._editor.getSelection();for(let e=0,t=i.length;ethis._hide(),2e3)),this._isVisible=!1,this._editor=e,this._state=t,this._keybindingService=i,this._domNode=document.createElement("div"),this._domNode.className="findOptionsWidget",this._domNode.style.display="none",this._domNode.style.top="10px",this._domNode.style.zIndex="12",this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true");let n={inputActiveOptionBorder:(0,v.n_1)(v.PRb),inputActiveOptionForeground:(0,v.n_1)(v.Pvw),inputActiveOptionBackground:(0,v.n_1)(v.XEs)},o=this._register((0,U.p0)());this.caseSensitive=this._register(new z.rk({appendTitle:this._keybindingLabelFor(W.ToggleCaseSensitiveCommand),isChecked:this._state.matchCase,hoverDelegate:o,...n})),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange(()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)})),this.wholeWords=this._register(new z.Qx({appendTitle:this._keybindingLabelFor(W.ToggleWholeWordCommand),isChecked:this._state.wholeWord,hoverDelegate:o,...n})),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange(()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)})),this.regex=this._register(new z.eH({appendTitle:this._keybindingLabelFor(W.ToggleRegexCommand),isChecked:this._state.isRegex,hoverDelegate:o,...n})),this._domNode.appendChild(this.regex.domNode),this._register(this.regex.onChange(()=>{this._state.change({isRegex:this.regex.checked},!1)})),this._editor.addOverlayWidget(this),this._register(this._state.onFindReplaceStateChange(e=>{let t=!1;e.isRegex&&(this.regex.checked=this._state.isRegex,t=!0),e.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,t=!0),e.matchCase&&(this.caseSensitive.checked=this._state.matchCase,t=!0),!this._state.isRevealed&&t&&this._revealTemporarily()})),this._register(V.nm(this._domNode,V.tw.MOUSE_LEAVE,e=>this._onMouseLeave())),this._register(V.nm(this._domNode,"mouseover",e=>this._onMouseOver()))}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return $.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseLeave(){this._hideSoon.schedule()}_onMouseOver(){this._hideSoon.cancel()}_show(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")}_hide(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")}}$.ID="editor.contrib.findOptionsWidget";var q=i(4669);function j(e,t){return 1===e||2!==e&&t}class G extends o.JT{get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return j(this._isRegexOverride,this._isRegex)}get wholeWord(){return j(this._wholeWordOverride,this._wholeWord)}get matchCase(){return j(this._matchCaseOverride,this._matchCase)}get preserveCase(){return j(this._preserveCaseOverride,this._preserveCase)}get actualIsRegex(){return this._isRegex}get actualWholeWord(){return this._wholeWord}get actualMatchCase(){return this._matchCase}get actualPreserveCase(){return this._preserveCase}get searchScope(){return this._searchScope}get matchesPosition(){return this._matchesPosition}get matchesCount(){return this._matchesCount}get currentMatch(){return this._currentMatch}constructor(){super(),this._onFindReplaceStateChange=this._register(new q.Q5),this.onFindReplaceStateChange=this._onFindReplaceStateChange.event,this._searchString="",this._replaceString="",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._preserveCase=!1,this._preserveCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._loop=!0,this._isSearching=!1,this._filters=null}changeMatchInfo(e,t,i){let n={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1},s=!1;0===t&&(e=0),e>t&&(e=t),this._matchesPosition!==e&&(this._matchesPosition=e,n.matchesPosition=!0,s=!0),this._matchesCount!==t&&(this._matchesCount=t,n.matchesCount=!0,s=!0),void 0===i||p.e.equalsRange(this._currentMatch,i)||(this._currentMatch=i,n.currentMatch=!0,s=!0),s&&this._onFindReplaceStateChange.fire(n)}change(e,t,i=!0){var n;let s={moveCursor:t,updateHistory:i,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1},o=!1,r=this.isRegex,l=this.wholeWord,a=this.matchCase,d=this.preserveCase;void 0!==e.searchString&&this._searchString!==e.searchString&&(this._searchString=e.searchString,s.searchString=!0,o=!0),void 0!==e.replaceString&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,s.replaceString=!0,o=!0),void 0!==e.isRevealed&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,s.isRevealed=!0,o=!0),void 0!==e.isReplaceRevealed&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,s.isReplaceRevealed=!0,o=!0),void 0!==e.isRegex&&(this._isRegex=e.isRegex),void 0!==e.wholeWord&&(this._wholeWord=e.wholeWord),void 0!==e.matchCase&&(this._matchCase=e.matchCase),void 0!==e.preserveCase&&(this._preserveCase=e.preserveCase),void 0===e.searchScope||(null===(n=e.searchScope)||void 0===n?void 0:n.every(e=>{var t;return null===(t=this._searchScope)||void 0===t?void 0:t.some(t=>!p.e.equalsRange(t,e))}))||(this._searchScope=e.searchScope,s.searchScope=!0,o=!0),void 0!==e.loop&&this._loop!==e.loop&&(this._loop=e.loop,s.loop=!0,o=!0),void 0!==e.isSearching&&this._isSearching!==e.isSearching&&(this._isSearching=e.isSearching,s.isSearching=!0,o=!0),void 0!==e.filters&&(this._filters?this._filters.update(e.filters):this._filters=e.filters,s.filters=!0,o=!0),this._isRegexOverride=void 0!==e.isRegexOverride?e.isRegexOverride:0,this._wholeWordOverride=void 0!==e.wholeWordOverride?e.wholeWordOverride:0,this._matchCaseOverride=void 0!==e.matchCaseOverride?e.matchCaseOverride:0,this._preserveCaseOverride=void 0!==e.preserveCaseOverride?e.preserveCaseOverride:0,r!==this.isRegex&&(o=!0,s.isRegex=!0),l!==this.wholeWord&&(o=!0,s.wholeWord=!0),a!==this.matchCase&&(o=!0,s.matchCase=!0),d!==this.preserveCase&&(o=!0,s.preserveCase=!0),o&&this._onFindReplaceStateChange.fire(s)}canNavigateBack(){return this.canNavigateInLoop()||1!==this.matchesPosition}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition=19999}}var Q=i(85152),Z=i(82900),Y=i(73098),J=i(78789),X=i(17301),ee=i(1432);i(99580);var et=i(63580),ei=i(37726);function en(e){var t,i;return(null===(t=e.lookupKeybinding("history.showPrevious"))||void 0===t?void 0:t.getElectronAccelerator())==="Up"&&(null===(i=e.lookupKeybinding("history.showNext"))||void 0===i?void 0:i.getElectronAccelerator())==="Down"}var es=i(59554),eo=i(25670),er=i(92321),el=i(98401),ea=i(86253);let ed=(0,es.q5)("find-collapsed",J.l.chevronRight,et.NC("findCollapsedIcon","Icon to indicate that the editor find widget is collapsed.")),eh=(0,es.q5)("find-expanded",J.l.chevronDown,et.NC("findExpandedIcon","Icon to indicate that the editor find widget is expanded.")),eu=(0,es.q5)("find-selection",J.l.selection,et.NC("findSelectionIcon","Icon for 'Find in Selection' in the editor find widget.")),ec=(0,es.q5)("find-replace",J.l.replace,et.NC("findReplaceIcon","Icon for 'Replace' in the editor find widget.")),eg=(0,es.q5)("find-replace-all",J.l.replaceAll,et.NC("findReplaceAllIcon","Icon for 'Replace All' in the editor find widget.")),ep=(0,es.q5)("find-previous-match",J.l.arrowUp,et.NC("findPreviousMatchIcon","Icon for 'Find Previous' in the editor find widget.")),em=(0,es.q5)("find-next-match",J.l.arrowDown,et.NC("findNextMatchIcon","Icon for 'Find Next' in the editor find widget.")),ef=et.NC("label.findDialog","Find / Replace"),e_=et.NC("label.find","Find"),ev=et.NC("placeholder.find","Find"),eb=et.NC("label.previousMatchButton","Previous Match"),eC=et.NC("label.nextMatchButton","Next Match"),ew=et.NC("label.toggleSelectionFind","Find in Selection"),ey=et.NC("label.closeButton","Close"),eS=et.NC("label.replace","Replace"),eL=et.NC("placeholder.replace","Replace"),ek=et.NC("label.replaceButton","Replace"),eD=et.NC("label.replaceAllButton","Replace All"),ex=et.NC("label.toggleReplaceButton","Toggle Replace"),eN=et.NC("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",19999),eE=et.NC("label.matchesLocation","{0} of {1}"),eI=et.NC("label.noResults","No results"),eT=69,eM="ctrlEnterReplaceAll.windows.donotask",eR=ee.dz?256:2048;class eA{constructor(e){this.afterLineNumber=e,this.heightInPx=33,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}}function eP(e,t,i){let n=!!t.match(/\n/);if(i&&n&&i.selectionStart>0){e.stopPropagation();return}}function eO(e,t,i){let n=!!t.match(/\n/);if(i&&n&&i.selectionEndthis._updateHistoryDelayer.cancel())),this._register(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration(e=>{if(e.hasChanged(91)&&(this._codeEditor.getOption(91)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),e.hasChanged(145)&&this._tryUpdateWidgetWidth(),e.hasChanged(2)&&this.updateAccessibilitySupport(),e.hasChanged(41)){let e=this._codeEditor.getOption(41).loop;this._state.change({loop:e},!1);let t=this._codeEditor.getOption(41).addExtraSpaceOnTop;t&&!this._viewZone&&(this._viewZone=new eA(0),this._showViewZone()),!t&&this._viewZone&&this._removeViewZone()}})),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection(()=>{this._isVisible&&this._updateToggleSelectionFindButton()})),this._register(this._codeEditor.onDidFocusEditorWidget(async()=>{if(this._isVisible){let e=await this._controller.getGlobalBufferTerm();e&&e!==this._state.searchString&&(this._state.change({searchString:e},!1),this._findInput.select())}})),this._findInputFocused=M.bindTo(l),this._findFocusTracker=this._register(V.go(this._findInput.inputBox.inputElement)),this._register(this._findFocusTracker.onDidFocus(()=>{this._findInputFocused.set(!0),this._updateSearchScope()})),this._register(this._findFocusTracker.onDidBlur(()=>{this._findInputFocused.set(!1)})),this._replaceInputFocused=R.bindTo(l),this._replaceFocusTracker=this._register(V.go(this._replaceInput.inputBox.inputElement)),this._register(this._replaceFocusTracker.onDidFocus(()=>{this._replaceInputFocused.set(!0),this._updateSearchScope()})),this._register(this._replaceFocusTracker.onDidBlur(()=>{this._replaceInputFocused.set(!1)})),this._codeEditor.addOverlayWidget(this),this._codeEditor.getOption(41).addExtraSpaceOnTop&&(this._viewZone=new eA(0)),this._register(this._codeEditor.onDidChangeModel(()=>{this._isVisible&&(this._viewZoneId=void 0)})),this._register(this._codeEditor.onDidScrollChange(e=>{if(e.scrollTopChanged){this._layoutViewZone();return}setTimeout(()=>{this._layoutViewZone()},0)}))}getId(){return eF.ID}getDomNode(){return this._domNode}getPosition(){return this._isVisible?{preference:0}:null}_onStateChanged(e){if(e.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(e.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),e.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),e.isReplaceRevealed&&(this._state.isReplaceRevealed?this._codeEditor.getOption(91)||this._isReplaceVisible||(this._isReplaceVisible=!0,this._replaceInput.width=V.w(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(e.isRevealed||e.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),e.isRegex&&this._findInput.setRegex(this._state.isRegex),e.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),e.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),e.preserveCase&&this._replaceInput.setPreserveCase(this._state.preserveCase),e.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),e.searchString||e.matchesCount||e.matchesPosition){let e=this._state.searchString.length>0&&0===this._state.matchesCount;this._domNode.classList.toggle("no-results",e),this._updateMatchesCount(),this._updateButtons()}(e.searchString||e.currentMatch)&&this._layoutViewZone(),e.updateHistory&&this._delayedUpdateHistory(),e.loop&&this._updateButtons()}_delayedUpdateHistory(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this)).then(void 0,X.dL)}_updateHistory(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()}_updateMatchesCount(){let e;if(this._matchesCount.style.minWidth=eT+"px",this._state.matchesCount>=19999?this._matchesCount.title=eN:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild),this._state.matchesCount>0){let t=String(this._state.matchesCount);this._state.matchesCount>=19999&&(t+="+");let i=String(this._state.matchesPosition);"0"===i&&(i="?"),e=r.WU(eE,i,t)}else e=eI;this._matchesCount.appendChild(document.createTextNode(e)),(0,Q.Z9)(this._getAriaLabel(e,this._state.currentMatch,this._state.searchString)),eT=Math.max(eT,this._matchesCount.clientWidth)}_getAriaLabel(e,t,i){if(e===eI)return""===i?et.NC("ariaSearchNoResultEmpty","{0} found",e):et.NC("ariaSearchNoResult","{0} found for '{1}'",e,i);if(t){let n=et.NC("ariaSearchNoResultWithLineNum","{0} found for '{1}', at {2}",e,i,t.startLineNumber+":"+t.startColumn),s=this._codeEditor.getModel();if(s&&t.startLineNumber<=s.getLineCount()&&t.startLineNumber>=1){let e=s.getLineContent(t.startLineNumber);return`${e}, ${n}`}return n}return et.NC("ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for '{1}'",e,i)}_updateToggleSelectionFindButton(){let e=this._codeEditor.getSelection(),t=!!e&&(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn),i=this._toggleSelectionFind.checked;this._isVisible&&(i||t)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()}_updateButtons(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);let e=this._state.searchString.length>0,t=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateBack()),this._nextBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateForward()),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._domNode.classList.toggle("replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);let i=!this._codeEditor.getOption(91);this._toggleReplaceBtn.setEnabled(this._isVisible&&i)}_reveal(){if(this._revealTimeouts.forEach(e=>{clearTimeout(e)}),this._revealTimeouts=[],!this._isVisible){this._isVisible=!0;let e=this._codeEditor.getSelection();switch(this._codeEditor.getOption(41).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":{let t=!!e&&e.startLineNumber!==e.endLineNumber;this._toggleSelectionFind.checked=t}}this._tryUpdateWidgetWidth(),this._updateButtons(),this._revealTimeouts.push(setTimeout(()=>{this._domNode.classList.add("visible"),this._domNode.setAttribute("aria-hidden","false")},0)),this._revealTimeouts.push(setTimeout(()=>{this._findInput.validate()},200)),this._codeEditor.layoutOverlayWidget(this);let t=!0;if(this._codeEditor.getOption(41).seedSearchStringFromSelection&&e){let i=this._codeEditor.getDomNode();if(i){let n=V.i(i),s=this._codeEditor.getScrolledVisiblePosition(e.getStartPosition()),o=n.left+(s?s.left:0),r=s?s.top:0;if(this._viewZone&&re.startLineNumber&&(t=!1);let i=V.xQ(this._domNode).left;o>i&&(t=!1);let s=this._codeEditor.getScrolledVisiblePosition(e.getEndPosition()),r=n.left+(s?s.left:0);r>i&&(t=!1)}}}this._showViewZone(t)}}_hide(e){this._revealTimeouts.forEach(e=>{clearTimeout(e)}),this._revealTimeouts=[],this._isVisible&&(this._isVisible=!1,this._updateButtons(),this._domNode.classList.remove("visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())}_layoutViewZone(e){let t=this._codeEditor.getOption(41).addExtraSpaceOnTop;if(!t){this._removeViewZone();return}if(!this._isVisible)return;let i=this._viewZone;void 0===this._viewZoneId&&i&&this._codeEditor.changeViewZones(t=>{i.heightInPx=this._getHeight(),this._viewZoneId=t.addZone(i),this._codeEditor.setScrollTop(e||this._codeEditor.getScrollTop()+i.heightInPx)})}_showViewZone(e=!0){if(!this._isVisible)return;let t=this._codeEditor.getOption(41).addExtraSpaceOnTop;if(!t)return;void 0===this._viewZone&&(this._viewZone=new eA(0));let i=this._viewZone;this._codeEditor.changeViewZones(t=>{if(void 0!==this._viewZoneId){let n=this._getHeight();if(n===i.heightInPx)return;let s=n-i.heightInPx;i.heightInPx=n,t.layoutZone(this._viewZoneId),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+s);return}{let n=this._getHeight();if((n-=this._codeEditor.getOption(84).top)<=0)return;i.heightInPx=n,this._viewZoneId=t.addZone(i),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+n)}})}_removeViewZone(){this._codeEditor.changeViewZones(e=>{void 0!==this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0,this._viewZone&&(this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()-this._viewZone.heightInPx),this._viewZone=void 0))})}_tryUpdateWidgetWidth(){if(!this._isVisible||!this._domNode.isConnected)return;let e=this._codeEditor.getLayoutInfo(),t=e.contentWidth;if(t<=0){this._domNode.classList.add("hiddenEditor");return}this._domNode.classList.contains("hiddenEditor")&&this._domNode.classList.remove("hiddenEditor");let i=e.width,n=e.minimap.minimapWidth,s=!1,o=!1,r=!1;if(this._resized){let e=V.w(this._domNode);if(e>419){this._domNode.style.maxWidth=`${i-28-n-15}px`,this._replaceInput.width=V.w(this._findInput.domNode);return}}if(447+n>=i&&(o=!0),447+n-eT>=i&&(r=!0),447+n-eT>=i+50&&(s=!0),this._domNode.classList.toggle("collapsed-find-widget",s),this._domNode.classList.toggle("narrow-find-widget",r),this._domNode.classList.toggle("reduced-find-widget",o),r||s||(this._domNode.style.maxWidth=`${i-28-n-15}px`),this._findInput.layout({collapsedFindWidget:s,narrowFindWidget:r,reducedFindWidget:o}),this._resized){let e=this._findInput.inputBox.element.clientWidth;e>0&&(this._replaceInput.width=e)}else this._isReplaceVisible&&(this._replaceInput.width=V.w(this._findInput.domNode))}_getHeight(){let e;return e=4+(this._findInput.inputBox.height+2),this._isReplaceVisible&&(e+=4+(this._replaceInput.inputBox.height+2)),e+=4}_tryUpdateHeight(){let e=this._getHeight();return(null===this._cachedHeight||this._cachedHeight!==e)&&(this._cachedHeight=e,this._domNode.style.height=`${e}px`,!0)}focusFindInput(){this._findInput.select(),this._findInput.focus()}focusReplaceInput(){this._replaceInput.select(),this._replaceInput.focus()}highlightFindOptions(){this._findInput.highlightFindOptions()}_updateSearchScope(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){let e=this._codeEditor.getSelections();e.map(e=>{1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)));let t=this._state.currentMatch;return e.startLineNumber===e.endLineNumber||p.e.equalsRange(e,t)?null:e}).filter(e=>!!e),e.length&&this._state.change({searchScope:e},!0)}}_onFindInputMouseDown(e){e.middleButton&&e.stopPropagation()}_onFindInputKeyDown(e){if(e.equals(3|eR)){if(this._keybindingService.dispatchEvent(e,e.target)){e.preventDefault();return}this._findInput.inputBox.insertAtCursor("\n"),e.preventDefault();return}if(e.equals(2)){this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),e.preventDefault();return}if(e.equals(2066)){this._codeEditor.focus(),e.preventDefault();return}return e.equals(16)?eP(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):e.equals(18)?eO(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):void 0}_onReplaceInputKeyDown(e){if(e.equals(3|eR)){if(this._keybindingService.dispatchEvent(e,e.target)){e.preventDefault();return}ee.ED&&ee.tY&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(et.NC("ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store(eM,!0,0,0)),this._replaceInput.inputBox.insertAtCursor("\n"),e.preventDefault();return}if(e.equals(2)){this._findInput.focusOnCaseSensitive(),e.preventDefault();return}if(e.equals(1026)){this._findInput.focus(),e.preventDefault();return}if(e.equals(2066)){this._codeEditor.focus(),e.preventDefault();return}return e.equals(16)?eP(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):e.equals(18)?eO(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):void 0}getVerticalSashLeft(e){return 0}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}_buildDomNode(){this._findInput=this._register(new ei.Yb(null,this._contextViewProvider,{width:221,label:e_,placeholder:ev,appendCaseSensitiveLabel:this._keybindingLabelFor(W.ToggleCaseSensitiveCommand),appendWholeWordsLabel:this._keybindingLabelFor(W.ToggleWholeWordCommand),appendRegexLabel:this._keybindingLabelFor(W.ToggleRegexCommand),validation:e=>{if(0===e.length||!this._findInput.getRegex())return null;try{return RegExp(e,"gu"),null}catch(e){return{content:e.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showCommonFindToggles:!0,showHistoryHint:()=>en(this._keybindingService),inputBoxStyles:ea.Hc,toggleStyles:ea.pl},this._contextKeyService)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown(e=>this._onFindInputKeyDown(e))),this._register(this._findInput.inputBox.onDidChange(()=>{this._ignoreChangeEvent||this._state.change({searchString:this._findInput.getValue()},!0)})),this._register(this._findInput.onDidOptionChange(()=>{this._state.change({isRegex:this._findInput.getRegex(),wholeWord:this._findInput.getWholeWords(),matchCase:this._findInput.getCaseSensitive()},!0)})),this._register(this._findInput.onCaseSensitiveKeyDown(e=>{e.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),e.preventDefault())})),this._register(this._findInput.onRegexKeyDown(e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),e.preventDefault())})),this._register(this._findInput.inputBox.onDidHeightChange(e=>{this._tryUpdateHeight()&&this._showViewZone()})),ee.IJ&&this._register(this._findInput.onMouseDown(e=>this._onFindInputMouseDown(e))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount();let e=this._register((0,U.p0)());this._prevBtn=this._register(new eB({label:eb+this._keybindingLabelFor(W.PreviousMatchFindAction),icon:ep,hoverDelegate:e,onTrigger:()=>{(0,el.cW)(this._codeEditor.getAction(W.PreviousMatchFindAction)).run().then(void 0,X.dL)}},this._hoverService)),this._nextBtn=this._register(new eB({label:eC+this._keybindingLabelFor(W.NextMatchFindAction),icon:em,hoverDelegate:e,onTrigger:()=>{(0,el.cW)(this._codeEditor.getAction(W.NextMatchFindAction)).run().then(void 0,X.dL)}},this._hoverService));let t=document.createElement("div");t.className="find-part",t.appendChild(this._findInput.domNode);let i=document.createElement("div");i.className="find-actions",t.appendChild(i),i.appendChild(this._matchesCount),i.appendChild(this._prevBtn.domNode),i.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new Z.Z({icon:eu,title:ew+this._keybindingLabelFor(W.ToggleSearchScopeCommand),isChecked:!1,hoverDelegate:e,inputActiveOptionBackground:(0,v.n_1)(v.XEs),inputActiveOptionBorder:(0,v.n_1)(v.PRb),inputActiveOptionForeground:(0,v.n_1)(v.Pvw)})),this._register(this._toggleSelectionFind.onChange(()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){let e=this._codeEditor.getSelections();(e=e.map(e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty())?null:e).filter(e=>!!e)).length&&this._state.change({searchScope:e},!0)}}else this._state.change({searchScope:null},!0)})),i.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new eB({label:ey+this._keybindingLabelFor(W.CloseFindWidgetCommand),icon:es.s_,hoverDelegate:e,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceBtn.isEnabled()?this._replaceBtn.focus():this._codeEditor.focus(),e.preventDefault())}},this._hoverService)),this._replaceInput=this._register(new ei.Nq(null,void 0,{label:eS,placeholder:eL,appendPreserveCaseLabel:this._keybindingLabelFor(W.TogglePreserveCaseCommand),history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showHistoryHint:()=>en(this._keybindingService),inputBoxStyles:ea.Hc,toggleStyles:ea.pl},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown(e=>this._onReplaceInputKeyDown(e))),this._register(this._replaceInput.inputBox.onDidChange(()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)})),this._register(this._replaceInput.inputBox.onDidHeightChange(e=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()})),this._register(this._replaceInput.onDidOptionChange(()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)})),this._register(this._replaceInput.onPreserveCaseKeyDown(e=>{e.equals(2)&&(this._prevBtn.isEnabled()?this._prevBtn.focus():this._nextBtn.isEnabled()?this._nextBtn.focus():this._toggleSelectionFind.enabled?this._toggleSelectionFind.focus():this._closeBtn.isEnabled()&&this._closeBtn.focus(),e.preventDefault())}));let n=this._register((0,U.p0)());this._replaceBtn=this._register(new eB({label:ek+this._keybindingLabelFor(W.ReplaceOneAction),icon:ec,hoverDelegate:n,onTrigger:()=>{this._controller.replace()},onKeyDown:e=>{e.equals(1026)&&(this._closeBtn.focus(),e.preventDefault())}},this._hoverService)),this._replaceAllBtn=this._register(new eB({label:eD+this._keybindingLabelFor(W.ReplaceAllAction),icon:eg,hoverDelegate:n,onTrigger:()=>{this._controller.replaceAll()}},this._hoverService));let s=document.createElement("div");s.className="replace-part",s.appendChild(this._replaceInput.domNode);let o=document.createElement("div");o.className="replace-actions",s.appendChild(o),o.appendChild(this._replaceBtn.domNode),o.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new eB({label:ex,className:"codicon toggle left",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=V.w(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}},this._hoverService)),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.ariaLabel=ef,this._domNode.role="dialog",this._domNode.style.width="419px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(t),this._domNode.appendChild(this._closeBtn.domNode),this._domNode.appendChild(s),this._resizeSash=this._register(new Y.g(this._domNode,this,{orientation:0,size:2})),this._resized=!1;let r=419;this._register(this._resizeSash.onDidStart(()=>{r=V.w(this._domNode)})),this._register(this._resizeSash.onDidChange(e=>{this._resized=!0;let t=r+e.startX-e.currentX;if(t<419)return;let i=parseFloat(V.Dx(this._domNode).maxWidth)||0;t>i||(this._domNode.style.width=`${t}px`,this._isReplaceVisible&&(this._replaceInput.width=V.w(this._findInput.domNode)),this._findInput.inputBox.layout(),this._tryUpdateHeight())})),this._register(this._resizeSash.onDidReset(()=>{let e=V.w(this._domNode);if(e<419)return;let t=419;if(!this._resized||419===e){let e=this._codeEditor.getLayoutInfo();t=e.width-28-e.minimap.minimapWidth-15,this._resized=!0}this._domNode.style.width=`${t}px`,this._isReplaceVisible&&(this._replaceInput.width=V.w(this._findInput.domNode)),this._findInput.inputBox.layout()}))}updateAccessibilitySupport(){let e=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(2!==e)}}eF.ID="editor.contrib.findWidget";class eB extends K.${constructor(e,t){var i;super(),this._opts=e;let n="button";this._opts.className&&(n=n+" "+this._opts.className),this._opts.icon&&(n=n+" "+eo.k.asClassName(this._opts.icon)),this._domNode=document.createElement("div"),this._domNode.tabIndex=0,this._domNode.className=n,this._domNode.setAttribute("role","button"),this._domNode.setAttribute("aria-label",this._opts.label),this._register(t.setupUpdatableHover(null!==(i=e.hoverDelegate)&&void 0!==i?i:(0,U.tM)("element"),this._domNode,this._opts.label)),this.onclick(this._domNode,e=>{this._opts.onTrigger(),e.preventDefault()}),this.onkeydown(this._domNode,e=>{var t,i;if(e.equals(10)||e.equals(3)){this._opts.onTrigger(),e.preventDefault();return}null===(i=(t=this._opts).onKeyDown)||void 0===i||i.call(t,e)})}get domNode(){return this._domNode}isEnabled(){return this._domNode.tabIndex>=0}focus(){this._domNode.focus()}setEnabled(e){this._domNode.classList.toggle("disabled",!e),this._domNode.setAttribute("aria-disabled",String(!e)),this._domNode.tabIndex=e?0:-1}setExpanded(e){this._domNode.setAttribute("aria-expanded",String(!!e)),e?(this._domNode.classList.remove(...eo.k.asClassNameArray(ed)),this._domNode.classList.add(...eo.k.asClassNameArray(eh))):(this._domNode.classList.remove(...eo.k.asClassNameArray(eh)),this._domNode.classList.add(...eo.k.asClassNameArray(ed)))}}(0,b.Ic)((e,t)=>{let i=e.getColor(v.EiJ);i&&t.addRule(`.monaco-editor .findMatch { border: 1px ${(0,er.c3)(e.type)?"dotted":"solid"} ${i}; box-sizing: border-box; }`);let n=e.getColor(v.gkn);n&&t.addRule(`.monaco-editor .findScope { border: 1px ${(0,er.c3)(e.type)?"dashed":"solid"} ${n}; }`);let s=e.getColor(v.lRK);s&&t.addRule(`.monaco-editor .find-widget { border: 1px solid ${s}; }`);let o=e.getColor(v.zKA);o&&t.addRule(`.monaco-editor .findMatchInline { color: ${o}; }`);let r=e.getColor(v.OIo);r&&t.addRule(`.monaco-editor .currentFindMatchInline { color: ${r}; }`)});var eW=i(84144),eH=i(84972),eV=i(5606),ez=i(91847),eK=i(59422),eU=i(41157),e$=i(87060),eq=i(31543),ej=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},eG=function(e,t){return function(i,n){t(i,n,e)}};function eQ(e,t="single",i=!1){if(!e.hasModel())return null;let n=e.getSelection();if("single"===t&&n.startLineNumber===n.endLineNumber||"multiple"===t){if(n.isEmpty()){let t=e.getConfiguredWordAtPosition(n.getStartPosition());if(t&&!1===i)return t.word}else if(524288>e.getModel().getValueLengthInRange(n))return e.getModel().getValueInRange(n)}return null}let eZ=n=class extends o.JT{get editor(){return this._editor}static get(e){return e.getContribution(n.ID)}constructor(e,t,i,n,o,r){super(),this._editor=e,this._findWidgetVisible=T.bindTo(t),this._contextKeyService=t,this._storageService=i,this._clipboardService=n,this._notificationService=o,this._hoverService=r,this._updateHistoryDelayer=new s.vp(500),this._state=this._register(new G),this.loadQueryState(),this._register(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this._model=null,this._register(this._editor.onDidChangeModel(()=>{let e=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),e&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(41).loop})}))}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1,1),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1,1),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1,1),e.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1,1)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!M.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()}togglePreserveCase(){this._state.change({preserveCase:!this._state.preserveCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){let e=this._editor.getSelections();(e=e.map(e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty())?null:e).filter(e=>!!e)).length&&this._state.change({searchScope:e},!0)}}setSearchString(e){this._state.isRegex&&(e=r.ec(e)),this._state.change({searchString:e},!1)}highlightFindOptions(e=!1){}async _start(e,t){if(this.disposeModel(),!this._editor.hasModel())return;let i={...t,isRevealed:!0};if("single"===e.seedSearchStringFromSelection){let t=eQ(this._editor,e.seedSearchStringFromSelection,e.seedSearchStringFromNonEmptySelection);t&&(this._state.isRegex?i.searchString=r.ec(t):i.searchString=t)}else if("multiple"===e.seedSearchStringFromSelection&&!e.updateSearchScope){let t=eQ(this._editor,e.seedSearchStringFromSelection);t&&(i.searchString=t)}if(!i.searchString&&e.seedSearchStringFromGlobalClipboard){let e=await this.getGlobalBufferTerm();if(!this._editor.hasModel())return;e&&(i.searchString=e)}if(e.forceRevealReplace||i.isReplaceRevealed?i.isReplaceRevealed=!0:this._findWidgetVisible.get()||(i.isReplaceRevealed=!1),e.updateSearchScope){let e=this._editor.getSelections();e.some(e=>!e.isEmpty())&&(i.searchScope=e)}i.loop=e.loop,this._state.change(i,!1),this._model||(this._model=new H(this._editor,this._state))}start(e,t){return this._start(e,t)}moveToNextMatch(){return!!this._model&&(this._model.moveToNextMatch(),!0)}moveToPrevMatch(){return!!this._model&&(this._model.moveToPrevMatch(),!0)}goToMatch(e){return!!this._model&&(this._model.moveToMatch(e),!0)}replace(){return!!this._model&&(this._model.replace(),!0)}replaceAll(){var e;return!!this._model&&((null===(e=this._editor.getModel())||void 0===e?void 0:e.isTooLargeForHeapOperation())?(this._notificationService.warn(et.NC("too.large.for.replaceall","The file is too large to perform a replace all operation.")),!1):(this._model.replaceAll(),!0))}selectAllMatches(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)}async getGlobalBufferTerm(){return this._editor.getOption(41).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""}setGlobalBufferTerm(e){this._editor.getOption(41).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)}};eZ.ID="editor.contrib.findController",eZ=n=ej([eG(1,I.i6),eG(2,e$.Uy),eG(3,eH.p),eG(4,eK.lT),eG(5,eq.Bs)],eZ);let eY=class extends eZ{constructor(e,t,i,n,s,o,r,l,a){super(e,i,r,l,o,a),this._contextViewService=t,this._keybindingService=n,this._themeService=s,this._widget=null,this._findOptionsWidget=null}async _start(e,t){this._widget||this._createFindWidget();let i=this._editor.getSelection(),n=!1;switch(this._editor.getOption(41).autoFindInSelection){case"always":n=!0;break;case"never":n=!1;break;case"multiline":{let e=!!i&&i.startLineNumber!==i.endLineNumber;n=e}}e.updateSearchScope=e.updateSearchScope||n,await super._start(e,t),this._widget&&(2===e.shouldFocus?this._widget.focusReplaceInput():1===e.shouldFocus&&this._widget.focusFindInput())}highlightFindOptions(e=!1){this._widget||this._createFindWidget(),this._state.isRevealed&&!e?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()}_createFindWidget(){this._widget=this._register(new eF(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService,this._hoverService)),this._findOptionsWidget=this._register(new $(this._editor,this._state,this._keybindingService))}};eY=ej([eG(1,eV.u),eG(2,I.i6),eG(3,ez.d),eG(4,b.XE),eG(5,eK.lT),eG(6,e$.Uy),eG(7,eH.p),eG(8,eq.Bs)],eY);let eJ=(0,l.rn)(new l.jY({id:W.StartFindAction,label:et.NC("startFindAction","Find"),alias:"Find",precondition:I.Ao.or(d.u.focus,I.Ao.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:eW.eH.MenubarEditMenu,group:"3_find",title:et.NC({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}}));eJ.addImplementation(0,(e,t,i)=>{let n=eZ.get(t);return!!n&&n.start({forceRevealReplace:!1,seedSearchStringFromSelection:"never"!==t.getOption(41).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getOption(41).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop})});let eX={description:"Open a new In-Editor Find Widget.",args:[{name:"Open a new In-Editor Find Widget args",schema:{properties:{searchString:{type:"string"},replaceString:{type:"string"},isRegex:{type:"boolean"},matchWholeWord:{type:"boolean"},isCaseSensitive:{type:"boolean"},preserveCase:{type:"boolean"},findInSelection:{type:"boolean"}}}}]};class e0 extends l.R6{constructor(){super({id:W.StartFindWithArgs,label:et.NC("startFindWithArgsAction","Find With Arguments"),alias:"Find With Arguments",precondition:void 0,kbOpts:{kbExpr:null,primary:0,weight:100},metadata:eX})}async run(e,t,i){let n=eZ.get(t);if(n){let e=i?{searchString:i.searchString,replaceString:i.replaceString,isReplaceRevealed:void 0!==i.replaceString,isRegex:i.isRegex,wholeWord:i.matchWholeWord,matchCase:i.isCaseSensitive,preserveCase:i.preserveCase}:{};await n.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===n.getState().searchString.length&&"never"!==t.getOption(41).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:1,shouldAnimate:!0,updateSearchScope:(null==i?void 0:i.findInSelection)||!1,loop:t.getOption(41).loop},e),n.setGlobalBufferTerm(n.getState().searchString)}}}class e1 extends l.R6{constructor(){super({id:W.StartFindWithSelection,label:et.NC("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}async run(e,t){let i=eZ.get(t);i&&(await i.start({forceRevealReplace:!1,seedSearchStringFromSelection:"multiple",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop}),i.setGlobalBufferTerm(i.getState().searchString))}}class e2 extends l.R6{async run(e,t){let i=eZ.get(t);i&&!this._run(i)&&(await i.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===i.getState().searchString.length&&"never"!==t.getOption(41).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop}),this._run(i))}}class e5 extends l.R6{constructor(){super({id:W.GoToMatchFindAction,label:et.NC("findMatchAction.goToMatch","Go to Match..."),alias:"Go to Match...",precondition:T}),this._highlightDecorations=[]}run(e,t,i){let n=eZ.get(t);if(!n)return;let s=n.getState().matchesCount;if(s<1){let t=e.get(eK.lT);t.notify({severity:eK.zb.Warning,message:et.NC("findMatchAction.noResults","No matches. Try searching for something else.")});return}let o=e.get(eU.eJ),r=o.createInputBox();r.placeholder=et.NC("findMatchAction.inputPlaceHolder","Type a number to go to a specific match (between 1 and {0})",s);let l=e=>{let t=parseInt(e);if(isNaN(t))return;let i=n.getState().matchesCount;return t>0&&t<=i?t-1:t<0&&t>=-i?i+t:void 0},a=e=>{let i=l(e);if("number"==typeof i){r.validationMessage=void 0,n.goToMatch(i);let e=n.getState().currentMatch;e&&this.addDecorations(t,e)}else r.validationMessage=et.NC("findMatchAction.inputValidationMessage","Please type a number between 1 and {0}",n.getState().matchesCount),this.clearDecorations(t)};r.onDidChangeValue(e=>{a(e)}),r.onDidAccept(()=>{let e=l(r.value);"number"==typeof e?(n.goToMatch(e),r.hide()):r.validationMessage=et.NC("findMatchAction.inputValidationMessage","Please type a number between 1 and {0}",n.getState().matchesCount)}),r.onDidHide(()=>{this.clearDecorations(t),r.dispose()}),r.show()}clearDecorations(e){e.changeDecorations(e=>{this._highlightDecorations=e.deltaDecorations(this._highlightDecorations,[])})}addDecorations(e,t){e.changeDecorations(e=>{this._highlightDecorations=e.deltaDecorations(this._highlightDecorations,[{range:t,options:{description:"find-match-quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:t,options:{description:"find-match-quick-access-range-highlight-overview",overviewRuler:{color:(0,b.EN)(a.m9),position:h.sh.Full}}}])})}}class e4 extends l.R6{async run(e,t){let i=eZ.get(t);if(!i)return;let n=eQ(t,"single",!1);n&&i.setSearchString(n),this._run(i)||(await i.start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop}),this._run(i))}}let e3=(0,l.rn)(new l.jY({id:W.StartFindReplaceAction,label:et.NC("startReplace","Replace"),alias:"Replace",precondition:I.Ao.or(d.u.focus,I.Ao.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:eW.eH.MenubarEditMenu,group:"3_find",title:et.NC({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}}));e3.addImplementation(0,(e,t,i)=>{if(!t.hasModel()||t.getOption(91))return!1;let n=eZ.get(t);if(!n)return!1;let s=t.getSelection(),o=n.isFindInputFocused(),r=!s.isEmpty()&&s.startLineNumber===s.endLineNumber&&"never"!==t.getOption(41).seedSearchStringFromSelection&&!o;return n.start({forceRevealReplace:!0,seedSearchStringFromSelection:r?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:"never"!==t.getOption(41).seedSearchStringFromSelection,shouldFocus:o||r?2:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop})}),(0,l._K)(eZ.ID,eY,0),(0,l.Qr)(e0),(0,l.Qr)(e1),(0,l.Qr)(class extends e2{constructor(){super({id:W.NextMatchFindAction,label:et.NC("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:[{kbExpr:d.u.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100},{kbExpr:I.Ao.and(d.u.focus,M),primary:3,weight:100}]})}_run(e){let t=e.moveToNextMatch();return!!t&&(e.editor.pushUndoStop(),!0)}}),(0,l.Qr)(class extends e2{constructor(){super({id:W.PreviousMatchFindAction,label:et.NC("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:[{kbExpr:d.u.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100},{kbExpr:I.Ao.and(d.u.focus,M),primary:1027,weight:100}]})}_run(e){return e.moveToPrevMatch()}}),(0,l.Qr)(e5),(0,l.Qr)(class extends e4{constructor(){super({id:W.NextSelectionMatchFindAction,label:et.NC("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:d.u.focus,primary:2109,weight:100}})}_run(e){return e.moveToNextMatch()}}),(0,l.Qr)(class extends e4{constructor(){super({id:W.PreviousSelectionMatchFindAction,label:et.NC("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:d.u.focus,primary:3133,weight:100}})}_run(e){return e.moveToPrevMatch()}});let e6=l._l.bindToContribution(eZ.get);(0,l.fK)(new e6({id:W.CloseFindWidgetCommand,precondition:T,handler:e=>e.closeFindWidget(),kbOpts:{weight:105,kbExpr:I.Ao.and(d.u.focus,I.Ao.not("isComposing")),primary:9,secondary:[1033]}})),(0,l.fK)(new e6({id:W.ToggleCaseSensitiveCommand,precondition:void 0,handler:e=>e.toggleCaseSensitive(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:A.primary,mac:A.mac,win:A.win,linux:A.linux}})),(0,l.fK)(new e6({id:W.ToggleWholeWordCommand,precondition:void 0,handler:e=>e.toggleWholeWords(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:P.primary,mac:P.mac,win:P.win,linux:P.linux}})),(0,l.fK)(new e6({id:W.ToggleRegexCommand,precondition:void 0,handler:e=>e.toggleRegex(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:O.primary,mac:O.mac,win:O.win,linux:O.linux}})),(0,l.fK)(new e6({id:W.ToggleSearchScopeCommand,precondition:void 0,handler:e=>e.toggleSearchScope(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:F.primary,mac:F.mac,win:F.win,linux:F.linux}})),(0,l.fK)(new e6({id:W.TogglePreserveCaseCommand,precondition:void 0,handler:e=>e.togglePreserveCase(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:B.primary,mac:B.mac,win:B.win,linux:B.linux}})),(0,l.fK)(new e6({id:W.ReplaceOneAction,precondition:T,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:3094}})),(0,l.fK)(new e6({id:W.ReplaceOneAction,precondition:T,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:I.Ao.and(d.u.focus,R),primary:3}})),(0,l.fK)(new e6({id:W.ReplaceAllAction,precondition:T,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:2563}})),(0,l.fK)(new e6({id:W.ReplaceAllAction,precondition:T,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:I.Ao.and(d.u.focus,R),primary:void 0,mac:{primary:2051}}})),(0,l.fK)(new e6({id:W.SelectAllMatchesAction,precondition:T,handler:e=>e.selectAllMatches(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:515}}))},28389:function(e,t,i){"use strict";i.d(t,{f:function(){return W},n:function(){return H}});var n,s=i(15393),o=i(71050),r=i(17301),l=i(22258),a=i(5976),d=i(97295),h=i(98401);i(62736);var u=i(43407),c=i(16830),g=i(29102),p=i(43155),m=i(4256),f=i(71705),_=i(35534),v=i(4669),b=i(24314),C=i(23795);class w{get onDidChange(){return this._updateEventEmitter.event}get hiddenRanges(){return this._hiddenRanges}constructor(e){this._updateEventEmitter=new v.Q5,this._hasLineChanges=!1,this._foldingModel=e,this._foldingModelListener=e.onDidChange(e=>this.updateHiddenRanges()),this._hiddenRanges=[],e.regions.length&&this.updateHiddenRanges()}notifyChangeModelContent(e){this._hiddenRanges.length&&!this._hasLineChanges&&(this._hasLineChanges=e.changes.some(e=>e.range.endLineNumber!==e.range.startLineNumber||0!==(0,C.Q)(e.text)[0]))}updateHiddenRanges(){let e=!1,t=[],i=0,n=0,s=Number.MAX_VALUE,o=-1,r=this._foldingModel.regions;for(;i0}isHidden(e){return null!==y(this._hiddenRanges,e)}adjustSelections(e){let t=!1,i=this._foldingModel.textModel,n=null,s=e=>{var t;return(n&&e>=(t=n).startLineNumber&&e<=t.endLineNumber||(n=y(this._hiddenRanges,e)),n)?n.startLineNumber-1:null};for(let n=0,o=e.length;n0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)}}function y(e,t){let i=(0,_.J_)(e,e=>t=0&&e[i].endLineNumber>=t?e[i]:null}var S=i(84990),L=i(63580),k=i(32064),D=i(83973),x=i(37702),N=i(99155),E=i(59422),I=i(88191),T=i(84013),M=i(71922),R=i(94565),A=i(70666),P=i(73733),O=i(33108),F=function(e,t){return function(i,n){t(i,n,e)}};let B=new k.uy("foldingEnabled",!1),W=n=class extends a.JT{static get(e){return e.getContribution(n.ID)}static getFoldingRangeProviders(e,t){var i,s;let o=e.foldingRangeProvider.ordered(t);return null!==(s=null===(i=n._foldingRangeSelector)||void 0===i?void 0:i.call(n,o,t))&&void 0!==s?s:o}constructor(e,t,i,n,s,o){super(),this.contextKeyService=t,this.languageConfigurationService=i,this.languageFeaturesService=o,this.localToDispose=this._register(new a.SL),this.editor=e,this._foldingLimitReporter=new H(e);let r=this.editor.getOptions();this._isEnabled=r.get(43),this._useFoldingProviders="indentation"!==r.get(44),this._unfoldOnClickAfterEndOfLine=r.get(48),this._restoringViewState=!1,this._currentModelHasFoldedImports=!1,this._foldingImportsByDefault=r.get(46),this.updateDebounceInfo=s.for(o.foldingRangeProvider,"Folding",{min:200}),this.foldingModel=null,this.hiddenRangeModel=null,this.rangeProvider=null,this.foldingRegionPromise=null,this.foldingModelPromise=null,this.updateScheduler=null,this.cursorChangedScheduler=null,this.mouseDownInfo=null,this.foldingDecorationProvider=new D.fF(e),this.foldingDecorationProvider.showFoldingControls=r.get(110),this.foldingDecorationProvider.showFoldingHighlights=r.get(45),this.foldingEnabled=B.bindTo(this.contextKeyService),this.foldingEnabled.set(this._isEnabled),this._register(this.editor.onDidChangeModel(()=>this.onModelChanged())),this._register(this.editor.onDidChangeConfiguration(e=>{if(e.hasChanged(43)&&(this._isEnabled=this.editor.getOptions().get(43),this.foldingEnabled.set(this._isEnabled),this.onModelChanged()),e.hasChanged(47)&&this.onModelChanged(),e.hasChanged(110)||e.hasChanged(45)){let e=this.editor.getOptions();this.foldingDecorationProvider.showFoldingControls=e.get(110),this.foldingDecorationProvider.showFoldingHighlights=e.get(45),this.triggerFoldingModelChanged()}e.hasChanged(44)&&(this._useFoldingProviders="indentation"!==this.editor.getOptions().get(44),this.onFoldingStrategyChanged()),e.hasChanged(48)&&(this._unfoldOnClickAfterEndOfLine=this.editor.getOptions().get(48)),e.hasChanged(46)&&(this._foldingImportsByDefault=this.editor.getOptions().get(46))})),this.onModelChanged()}saveViewState(){let e=this.editor.getModel();if(!e||!this._isEnabled||e.isTooLargeForTokenization())return{};if(this.foldingModel){let t=this.foldingModel.getMemento(),i=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:t,lineCount:e.getLineCount(),provider:i,foldedImports:this._currentModelHasFoldedImports}}}restoreViewState(e){let t=this.editor.getModel();if(!(!t||!this._isEnabled||t.isTooLargeForTokenization())&&this.hiddenRangeModel&&e&&(this._currentModelHasFoldedImports=!!e.foldedImports,e.collapsedRegions&&e.collapsedRegions.length>0&&this.foldingModel)){this._restoringViewState=!0;try{this.foldingModel.applyMemento(e.collapsedRegions)}finally{this._restoringViewState=!1}}}onModelChanged(){this.localToDispose.clear();let e=this.editor.getModel();!this._isEnabled||!e||e.isTooLargeForTokenization()||(this._currentModelHasFoldedImports=!1,this.foldingModel=new f.av(e,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new w(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange(e=>this.onHiddenRangesChanges(e))),this.updateScheduler=new s.vp(this.updateDebounceInfo.get(e)),this.cursorChangedScheduler=new s.pY(()=>this.revealCursor(),200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(this.languageFeaturesService.foldingRangeProvider.onDidChange(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelContent(e=>this.onDidChangeModelContent(e))),this.localToDispose.add(this.editor.onDidChangeCursorPosition(()=>this.onCursorPositionChanged())),this.localToDispose.add(this.editor.onMouseDown(e=>this.onEditorMouseDown(e))),this.localToDispose.add(this.editor.onMouseUp(e=>this.onEditorMouseUp(e))),this.localToDispose.add({dispose:()=>{var e,t;this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),null===(e=this.updateScheduler)||void 0===e||e.cancel(),this.updateScheduler=null,this.foldingModel=null,this.foldingModelPromise=null,this.hiddenRangeModel=null,this.cursorChangedScheduler=null,null===(t=this.rangeProvider)||void 0===t||t.dispose(),this.rangeProvider=null}}),this.triggerFoldingModelChanged())}onFoldingStrategyChanged(){var e;null===(e=this.rangeProvider)||void 0===e||e.dispose(),this.rangeProvider=null,this.triggerFoldingModelChanged()}getRangeProvider(e){if(this.rangeProvider)return this.rangeProvider;let t=new S.aI(e,this.languageConfigurationService,this._foldingLimitReporter);if(this.rangeProvider=t,this._useFoldingProviders&&this.foldingModel){let i=n.getFoldingRangeProviders(this.languageFeaturesService,e);i.length>0&&(this.rangeProvider=new N.e(e,i,()=>this.triggerFoldingModelChanged(),this._foldingLimitReporter,t))}return this.rangeProvider}getFoldingModel(){return this.foldingModelPromise}onDidChangeModelContent(e){var t;null===(t=this.hiddenRangeModel)||void 0===t||t.notifyChangeModelContent(e),this.triggerFoldingModelChanged()}triggerFoldingModelChanged(){this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger(()=>{let e=this.foldingModel;if(!e)return null;let t=new T.G,i=this.getRangeProvider(e.textModel),n=this.foldingRegionPromise=(0,s.PG)(e=>i.compute(e));return n.then(i=>{if(i&&n===this.foldingRegionPromise){let n;if(this._foldingImportsByDefault&&!this._currentModelHasFoldedImports){let e=i.setCollapsedAllOfType(p.AD.Imports.value,!0);e&&(n=u.Z.capture(this.editor),this._currentModelHasFoldedImports=e)}let s=this.editor.getSelections(),o=s?s.map(e=>e.startLineNumber):[];e.update(i,o),null==n||n.restore(this.editor);let r=this.updateDebounceInfo.update(e.textModel,t.elapsed());this.updateScheduler&&(this.updateScheduler.defaultDelay=r)}return e})}).then(void 0,e=>((0,r.dL)(e),null)))}onHiddenRangesChanges(e){if(this.hiddenRangeModel&&e.length&&!this._restoringViewState){let e=this.editor.getSelections();e&&this.hiddenRangeModel.adjustSelections(e)&&this.editor.setSelections(e)}this.editor.setHiddenAreas(e,this)}onCursorPositionChanged(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()}revealCursor(){let e=this.getFoldingModel();e&&e.then(e=>{if(e){let t=this.editor.getSelections();if(t&&t.length>0){let i=[];for(let n of t){let t=n.selectionStartLineNumber;this.hiddenRangeModel&&this.hiddenRangeModel.isHidden(t)&&i.push(...e.getAllRegionsAtLine(t,e=>e.isCollapsed&&t>e.startLineNumber))}i.length&&(e.toggleCollapseState(i),this.reveal(t[0].getPosition()))}}}).then(void 0,r.dL)}onEditorMouseDown(e){if(this.mouseDownInfo=null,!this.hiddenRangeModel||!e.target||!e.target.range||!e.event.leftButton&&!e.event.middleButton)return;let t=e.target.range,i=!1;switch(e.target.type){case 4:{let t=e.target.detail,n=e.target.element.offsetLeft,s=t.offsetX-n;if(s<4)return;i=!0;break}case 7:if(this._unfoldOnClickAfterEndOfLine&&this.hiddenRangeModel.hasRanges()){let t=e.target.detail;if(!t.isAfterLines)break}return;case 6:if(this.hiddenRangeModel.hasRanges()){let e=this.editor.getModel();if(e&&t.startColumn===e.getLineMaxColumn(t.startLineNumber))break}return;default:return}this.mouseDownInfo={lineNumber:t.startLineNumber,iconClicked:i}}onEditorMouseUp(e){let t=this.foldingModel;if(!t||!this.mouseDownInfo||!e.target)return;let i=this.mouseDownInfo.lineNumber,n=this.mouseDownInfo.iconClicked,s=e.target.range;if(!s||s.startLineNumber!==i)return;if(n){if(4!==e.target.type)return}else{let e=this.editor.getModel();if(!e||s.startColumn!==e.getLineMaxColumn(i))return}let o=t.getRegionAtLine(i);if(o&&o.startLineNumber===i){let s=o.isCollapsed;if(n||s){let n=e.event.altKey,r=[];if(n){let e=t.getRegionsInside(null,e=>!e.containedBy(o)&&!o.containedBy(e));for(let t of e)t.isCollapsed&&r.push(t);0===r.length&&(r=e)}else{let i=e.event.middleButton||e.event.shiftKey;if(i)for(let e of t.getRegionsInside(o))e.isCollapsed===s&&r.push(e);(s||!i||0===r.length)&&r.push(o)}t.toggleCollapseState(r),this.reveal({lineNumber:i,column:1})}}}reveal(e){this.editor.revealPositionInCenterIfOutsideViewport(e,0)}};W.ID="editor.contrib.folding",W=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([F(1,k.i6),F(2,m.c_),F(3,E.lT),F(4,I.A),F(5,M.p)],W);class H{constructor(e){this.editor=e,this._onDidChange=new v.Q5,this._computed=0,this._limited=!1}get limit(){return this.editor.getOptions().get(47)}update(e,t){(e!==this._computed||t!==this._limited)&&(this._computed=e,this._limited=t,this._onDidChange.fire())}}class V extends c.R6{runEditorCommand(e,t,i){let n=e.get(m.c_),s=W.get(t);if(!s)return;let o=s.getFoldingModel();if(o)return this.reportTelemetry(e,t),o.then(e=>{if(e){this.invoke(s,e,t,i,n);let o=t.getSelection();o&&s.reveal(o.getStartPosition())}})}getSelectedLines(e){let t=e.getSelections();return t?t.map(e=>e.startLineNumber):[]}getLineNumbers(e,t){return e&&e.selectionLines?e.selectionLines.map(e=>e+1):this.getSelectedLines(t)}run(e,t){}}function z(e){return!!(h.o8(e)||h.Kn(e)&&(h.o8(e.levels)||h.hj(e.levels))&&(h.o8(e.direction)||h.HD(e.direction))&&(h.o8(e.selectionLines)||Array.isArray(e.selectionLines)&&e.selectionLines.every(h.hj)))}class K extends V{getFoldingLevel(){return parseInt(this.id.substr(K.ID_PREFIX.length))}invoke(e,t,i){(0,f.Ln)(t,this.getFoldingLevel(),!0,this.getSelectedLines(i))}}K.ID_PREFIX="editor.foldLevel",K.ID=e=>K.ID_PREFIX+e,(0,c._K)(W.ID,W,0),(0,c.Qr)(class extends V{constructor(){super({id:"editor.unfold",label:L.NC("unfoldAction.label","Unfold"),alias:"Unfold",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:3166,mac:{primary:2654},weight:100},metadata:{description:"Unfold the content in the editor",args:[{name:"Unfold editor argument",description:`Property-value pairs that can be passed through this argument: - * 'levels': Number of levels to unfold. If not set, defaults to 1. - * 'direction': If 'up', unfold given number of levels up otherwise unfolds down. - * 'selectionLines': Array of the start lines (0-based) of the editor selections to apply the unfold action to. If not set, the active selection(s) will be used. - `,constraint:z,schema:{type:"object",properties:{levels:{type:"number",default:1},direction:{type:"string",enum:["up","down"],default:"down"},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(e,t,i,n){let s=n&&n.levels||1,o=this.getLineNumbers(n,i);n&&"up"===n.direction?(0,f.gU)(t,!1,s,o):(0,f.R$)(t,!1,s,o)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.unfoldRecursively",label:L.NC("unFoldRecursivelyAction.label","Unfold Recursively"),alias:"Unfold Recursively",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2142),weight:100}})}invoke(e,t,i,n){(0,f.R$)(t,!1,Number.MAX_VALUE,this.getSelectedLines(i))}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.fold",label:L.NC("foldAction.label","Fold"),alias:"Fold",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:3164,mac:{primary:2652},weight:100},metadata:{description:"Fold the content in the editor",args:[{name:"Fold editor argument",description:`Property-value pairs that can be passed through this argument: - * 'levels': Number of levels to fold. - * 'direction': If 'up', folds given number of levels up otherwise folds down. - * 'selectionLines': Array of the start lines (0-based) of the editor selections to apply the fold action to. If not set, the active selection(s) will be used. - If no levels or direction is set, folds the region at the locations or if already collapsed, the first uncollapsed parent instead. - `,constraint:z,schema:{type:"object",properties:{levels:{type:"number"},direction:{type:"string",enum:["up","down"]},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(e,t,i,n){let s=this.getLineNumbers(n,i),o=n&&n.levels,r=n&&n.direction;"number"!=typeof o&&"string"!=typeof r?(0,f.HX)(t,!0,s):"up"===r?(0,f.gU)(t,!0,o||1,s):(0,f.R$)(t,!0,o||1,s)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.foldRecursively",label:L.NC("foldRecursivelyAction.label","Fold Recursively"),alias:"Fold Recursively",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2140),weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);(0,f.R$)(t,!0,Number.MAX_VALUE,n)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.foldAll",label:L.NC("foldAllAction.label","Fold All"),alias:"Fold All",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2069),weight:100}})}invoke(e,t,i){(0,f.R$)(t,!0)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.unfoldAll",label:L.NC("unfoldAllAction.label","Unfold All"),alias:"Unfold All",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2088),weight:100}})}invoke(e,t,i){(0,f.R$)(t,!1)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.foldAllBlockComments",label:L.NC("foldAllBlockComments.label","Fold All Block Comments"),alias:"Fold All Block Comments",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2138),weight:100}})}invoke(e,t,i,n,s){if(t.regions.hasTypes())(0,f.MW)(t,p.AD.Comment.value,!0);else{let e=i.getModel();if(!e)return;let n=s.getLanguageConfiguration(e.getLanguageId()).comments;if(n&&n.blockCommentStartToken){let e=RegExp("^\\s*"+(0,d.ec)(n.blockCommentStartToken));(0,f.DW)(t,e,!0)}}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.foldAllMarkerRegions",label:L.NC("foldAllMarkerRegions.label","Fold All Regions"),alias:"Fold All Regions",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2077),weight:100}})}invoke(e,t,i,n,s){if(t.regions.hasTypes())(0,f.MW)(t,p.AD.Region.value,!0);else{let e=i.getModel();if(!e)return;let n=s.getLanguageConfiguration(e.getLanguageId()).foldingRules;if(n&&n.markers&&n.markers.start){let e=new RegExp(n.markers.start);(0,f.DW)(t,e,!0)}}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.unfoldAllMarkerRegions",label:L.NC("unfoldAllMarkerRegions.label","Unfold All Regions"),alias:"Unfold All Regions",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2078),weight:100}})}invoke(e,t,i,n,s){if(t.regions.hasTypes())(0,f.MW)(t,p.AD.Region.value,!1);else{let e=i.getModel();if(!e)return;let n=s.getLanguageConfiguration(e.getLanguageId()).foldingRules;if(n&&n.markers&&n.markers.start){let e=new RegExp(n.markers.start);(0,f.DW)(t,e,!1)}}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.foldAllExcept",label:L.NC("foldAllExcept.label","Fold All Except Selected"),alias:"Fold All Except Selected",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2136),weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);(0,f.YT)(t,!0,n)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.unfoldAllExcept",label:L.NC("unfoldAllExcept.label","Unfold All Except Selected"),alias:"Unfold All Except Selected",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2134),weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);(0,f.YT)(t,!1,n)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.toggleFold",label:L.NC("toggleFoldAction.label","Toggle Fold"),alias:"Toggle Fold",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2090),weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);(0,f.d8)(t,1,n)}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.gotoParentFold",label:L.NC("gotoParentFold.label","Go to Parent Fold"),alias:"Go to Parent Fold",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);if(n.length>0){let e=(0,f.PV)(n[0],t);null!==e&&i.setSelection({startLineNumber:e,startColumn:1,endLineNumber:e,endColumn:1})}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.gotoPreviousFold",label:L.NC("gotoPreviousFold.label","Go to Previous Folding Range"),alias:"Go to Previous Folding Range",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);if(n.length>0){let e=(0,f.sK)(n[0],t);null!==e&&i.setSelection({startLineNumber:e,startColumn:1,endLineNumber:e,endColumn:1})}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.gotoNextFold",label:L.NC("gotoNextFold.label","Go to Next Folding Range"),alias:"Go to Next Folding Range",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);if(n.length>0){let e=(0,f.hE)(n[0],t);null!==e&&i.setSelection({startLineNumber:e,startColumn:1,endLineNumber:e,endColumn:1})}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.createFoldingRangeFromSelection",label:L.NC("createManualFoldRange.label","Create Folding Range from Selection"),alias:"Create Folding Range from Selection",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2135),weight:100}})}invoke(e,t,i){var n;let s=[],o=i.getSelections();if(o){for(let e of o){let t=e.endLineNumber;1===e.endColumn&&--t,t>e.startLineNumber&&(s.push({startLineNumber:e.startLineNumber,endLineNumber:t,type:void 0,isCollapsed:!0,source:1}),i.setSelection({startLineNumber:e.startLineNumber,startColumn:1,endLineNumber:e.startLineNumber,endColumn:1}))}if(s.length>0){s.sort((e,t)=>e.startLineNumber-t.startLineNumber);let e=x.MN.sanitizeAndMerge(t.regions,s,null===(n=i.getModel())||void 0===n?void 0:n.getLineCount());t.updatePost(x.MN.fromFoldRanges(e))}}}}),(0,c.Qr)(class extends V{constructor(){super({id:"editor.removeManualFoldingRanges",label:L.NC("removeManualFoldingRanges.label","Remove Manual Folding Ranges"),alias:"Remove Manual Folding Ranges",precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2137),weight:100}})}invoke(e,t,i){let n=i.getSelections();if(n){let i=[];for(let e of n){let{startLineNumber:t,endLineNumber:n}=e;i.push(n>=t?{startLineNumber:t,endLineNumber:n}:{endLineNumber:n,startLineNumber:t})}t.removeManualRanges(i),e.triggerFoldingModelChanged()}}});for(let e=1;e<=7;e++)(0,c.QG)(new K({id:K.ID(e),label:L.NC("foldLevelAction.label","Fold Level {0}",e),alias:`Fold Level ${e}`,precondition:B,kbOpts:{kbExpr:g.u.editorTextFocus,primary:(0,l.gx)(2089,2048|21+e),weight:100}}));R.P.registerCommand("_executeFoldingRangeProvider",async function(e,...t){let[i]=t;if(!(i instanceof A.o))throw(0,r.b1)();let n=e.get(M.p),s=e.get(P.q).getModel(i);if(!s)throw(0,r.b1)();let l=e.get(O.Ui);if(!l.getValue("editor.folding",{resource:i}))return[];let a=e.get(m.c_),d=l.getValue("editor.foldingStrategy",{resource:i}),h={get limit(){return l.getValue("editor.foldingMaximumRegions",{resource:i})},update:(e,t)=>{}},u=new S.aI(s,a,h),c=u;if("indentation"!==d){let e=W.getFoldingRangeProviders(n,s);e.length&&(c=new N.e(s,e,()=>{},h,u))}let g=await c.compute(o.Ts.None),f=[];try{if(g)for(let e=0;ee.regionIndex-t.regionIndex);let t={};this._decorationProvider.changeDecorations(i=>{let n=0,s=-1,o=-1,r=e=>{for(;no&&(o=e),n++}};for(let i of e){let e=i.regionIndex,n=this._editorDecorationIds[e];if(n&&!t[n]){t[n]=!0,r(e);let i=!this._regions.isCollapsed(e);this._regions.setCollapsed(e,i),s=Math.max(s,this._regions.getEndLineNumber(e))}}r(this._regions.length)}),this._updateEventEmitter.fire({model:this,collapseStateChanged:e})}removeManualRanges(e){let t=[],i=t=>{for(let i of e)if(!(i.startLineNumber>t.endLineNumber||t.startLineNumber>i.endLineNumber))return!0;return!1};for(let e=0;ei&&(i=o)}this._decorationProvider.changeDecorations(e=>this._editorDecorationIds=e.deltaDecorations(this._editorDecorationIds,t)),this._regions=e,this._updateEventEmitter.fire({model:this})}_currentFoldedOrManualRanges(e=[]){let t=(t,i)=>{for(let n of e)if(t=s.endLineNumber||s.startLineNumber<1||s.endLineNumber>i)continue;let o=this._getLinesChecksum(s.startLineNumber+1,s.endLineNumber);t.push({startLineNumber:s.startLineNumber,endLineNumber:s.endLineNumber,isCollapsed:s.isCollapsed,source:s.source,checksum:o})}return t.length>0?t:void 0}applyMemento(e){var t,i;if(!Array.isArray(e))return;let n=[],o=this._textModel.getLineCount();for(let s of e){if(s.startLineNumber>=s.endLineNumber||s.startLineNumber<1||s.endLineNumber>o)continue;let e=this._getLinesChecksum(s.startLineNumber+1,s.endLineNumber);s.checksum&&e!==s.checksum||n.push({startLineNumber:s.startLineNumber,endLineNumber:s.endLineNumber,type:void 0,isCollapsed:null===(t=s.isCollapsed)||void 0===t||t,source:null!==(i=s.source)&&void 0!==i?i:0})}let r=s.MN.sanitizeAndMerge(this._regions,n,o);this.updatePost(s.MN.fromFoldRanges(r))}_getLinesChecksum(e,t){let i=(0,o.vp)(this._textModel.getLineContent(e)+this._textModel.getLineContent(t));return i%1e6}dispose(){this._decorationProvider.removeDecorations(this._editorDecorationIds)}getAllRegionsAtLine(e,t){let i=[];if(this._regions){let n=this._regions.findRange(e),s=1;for(;n>=0;){let e=this._regions.toRegion(n);(!t||t(e,s))&&i.push(e),s++,n=e.parentIndex}}return i}getRegionAtLine(e){if(this._regions){let t=this._regions.findRange(e);if(t>=0)return this._regions.toRegion(t)}return null}getRegionsInside(e,t){let i=[],n=e?e.regionIndex+1:0,s=e?e.endLineNumber:Number.MAX_VALUE;if(t&&2===t.length){let e=[];for(let o=n,r=this._regions.length;o0&&!n.containedBy(e[e.length-1]);)e.pop();e.push(n),t(n,e.length)&&i.push(n)}else break}}else for(let e=n,o=this._regions.length;e1){let o=e.getRegionsInside(i,(e,i)=>e.isCollapsed!==s&&i0)for(let o of n){let n=e.getRegionAtLine(o);if(n&&(n.isCollapsed!==t&&s.push(n),i>1)){let o=e.getRegionsInside(n,(e,n)=>e.isCollapsed!==t&&ne.isCollapsed!==t&&ne.isCollapsed!==t&&n<=i);s.push(...n)}e.toggleCollapseState(s)}function h(e,t,i){let n=[];for(let s of i){let i=e.getAllRegionsAtLine(s,e=>e.isCollapsed!==t);i.length>0&&n.push(i[0])}e.toggleCollapseState(n)}function u(e,t,i,n){let s=e.getRegionsInside(null,(e,s)=>s===t&&e.isCollapsed!==i&&!n.some(t=>e.containsLine(t)));e.toggleCollapseState(s)}function c(e,t,i){let n=[];for(let t of i){let i=e.getAllRegionsAtLine(t,void 0);i.length>0&&n.push(i[0])}let s=e.getRegionsInside(null,e=>n.every(t=>!t.containedBy(e)&&!e.containedBy(t))&&e.isCollapsed!==t);e.toggleCollapseState(s)}function g(e,t,i){let n=e.textModel,s=e.regions,o=[];for(let e=s.length-1;e>=0;e--)if(i!==s.isCollapsed(e)){let i=s.getStartLineNumber(e);t.test(n.getLineContent(i))&&o.push(s.toRegion(e))}e.toggleCollapseState(o)}function p(e,t,i){let n=e.regions,s=[];for(let e=n.length-1;e>=0;e--)i!==n.isCollapsed(e)&&t===n.getType(e)&&s.push(n.toRegion(e));e.toggleCollapseState(s)}function m(e,t){let i=null,n=t.getRegionAtLine(e);if(null!==n&&(i=n.startLineNumber,e===i)){let e=n.parentIndex;i=-1!==e?t.regions.getStartLineNumber(e):null}return i}function f(e,t){let i=t.getRegionAtLine(e);if(null!==i&&i.startLineNumber===e){if(e!==i.startLineNumber)return i.startLineNumber;{let e=i.parentIndex,n=0;for(-1!==e&&(n=t.regions.getStartLineNumber(i.parentIndex));null!==i;)if(i.regionIndex>0){if((i=t.regions.toRegion(i.regionIndex-1)).startLineNumber<=n)break;if(i.parentIndex===e)return i.startLineNumber}else break}}else if(t.regions.length>0)for(i=t.regions.toRegion(t.regions.length-1);null!==i;){if(i.startLineNumber0?t.regions.toRegion(i.regionIndex-1):null}return null}function _(e,t){let i=t.getRegionAtLine(e);if(null!==i&&i.startLineNumber===e){let e=i.parentIndex,n=0;if(-1!==e)n=t.regions.getEndLineNumber(i.parentIndex);else{if(0===t.regions.length)return null;n=t.regions.getEndLineNumber(t.regions.length-1)}for(;null!==i;)if(i.regionIndex=n)break;if(i.parentIndex===e)return i.startLineNumber}else break}else if(t.regions.length>0)for(i=t.regions.toRegion(0);null!==i;){if(i.startLineNumber>e)return i.startLineNumber;i=i.regionIndex65535)throw Error("invalid startIndexes or endIndexes size");this._startIndexes=e,this._endIndexes=t,this._collapseStates=new o(e.length),this._userDefinedStates=new o(e.length),this._recoveredStates=new o(e.length),this._types=i,this._parentsComputed=!1}ensureParentIndices(){if(!this._parentsComputed){this._parentsComputed=!0;let e=[],t=(t,i)=>{let n=e[e.length-1];return this.getStartLineNumber(n)<=t&&this.getEndLineNumber(n)>=i};for(let i=0,n=this._startIndexes.length;is||o>s)throw Error("startLineNumber or endLineNumber must not exceed "+s);for(;e.length>0&&!t(n,o);)e.pop();let r=e.length>0?e[e.length-1]:-1;e.push(i),this._startIndexes[i]=n+((255&r)<<24),this._endIndexes[i]=o+((65280&r)<<16)}}}get length(){return this._startIndexes.length}getStartLineNumber(e){return this._startIndexes[e]&s}getEndLineNumber(e){return this._endIndexes[e]&s}getType(e){return this._types?this._types[e]:void 0}hasTypes(){return!!this._types}isCollapsed(e){return this._collapseStates.get(e)}setCollapsed(e,t){this._collapseStates.set(e,t)}isUserDefined(e){return this._userDefinedStates.get(e)}setUserDefined(e,t){return this._userDefinedStates.set(e,t)}isRecovered(e){return this._recoveredStates.get(e)}setRecovered(e,t){return this._recoveredStates.set(e,t)}getSource(e){return this.isUserDefined(e)?1:this.isRecovered(e)?2:0}setSource(e,t){1===t?(this.setUserDefined(e,!0),this.setRecovered(e,!1)):2===t?(this.setUserDefined(e,!1),this.setRecovered(e,!0)):(this.setUserDefined(e,!1),this.setRecovered(e,!1))}setCollapsedAllOfType(e,t){let i=!1;if(this._types)for(let n=0;n>>24)+((4278190080&this._endIndexes[e])>>>16);return 65535===t?-1:t}contains(e,t){return this.getStartLineNumber(e)<=t&&this.getEndLineNumber(e)>=t}findIndex(e){let t=0,i=this._startIndexes.length;if(0===i)return -1;for(;t=0){let i=this.getEndLineNumber(t);if(i>=e)return t;for(t=this.getParentIndex(t);-1!==t;){if(this.contains(t,e))return t;t=this.getParentIndex(t)}}return -1}toString(){let e=[];for(let t=0;tArray.isArray(e)?i=>ii=h.startLineNumber))d&&d.startLineNumber===h.startLineNumber?(1===h.source?e=h:((e=d).isCollapsed=h.isCollapsed&&d.endLineNumber===h.endLineNumber,e.source=0),d=o(++l)):(e=h,h.isCollapsed&&0===h.source&&(e.source=2)),h=r(++a);else{let t=a,i=h;for(;;){if(!i||i.startLineNumber>d.endLineNumber){e=d;break}if(1===i.source&&i.endLineNumber>d.endLineNumber)break;i=r(++t)}d=o(++l)}if(e){for(;n&&n.endLineNumbere.startLineNumber&&e.startLineNumber>c&&e.endLineNumber<=i&&(!n||n.endLineNumber>=e.endLineNumber)&&(g.push(e),c=e.startLineNumber,n&&u.push(n),n=e)}}return g}}class l{constructor(e,t){this.ranges=e,this.index=t}get startLineNumber(){return this.ranges.getStartLineNumber(this.index)}get endLineNumber(){return this.ranges.getEndLineNumber(this.index)}get regionIndex(){return this.index}get parentIndex(){return this.ranges.getParentIndex(this.index)}get isCollapsed(){return this.ranges.isCollapsed(this.index)}containedBy(e){return e.startLineNumber<=this.startLineNumber&&e.endLineNumber>=this.endLineNumber}containsLine(e){return this.startLineNumber<=e&&e<=this.endLineNumber}}},84990:function(e,t,i){"use strict";i.d(t,{aI:function(){return o}});var n=i(59616),s=i(37702);class o{constructor(e,t,i){this.editorModel=e,this.languageConfigurationService=t,this.foldingRangesLimit=i,this.id="indent"}dispose(){}compute(e){let t=this.languageConfigurationService.getLanguageConfiguration(this.editorModel.getLanguageId()).foldingRules,i=t&&!!t.offSide,s=t&&t.markers;return Promise.resolve(function(e,t,i,s=l){let o;let a=e.getOptions().tabSize,d=new r(s);i&&(o=RegExp(`(${i.start.source})|(?:${i.end.source})`));let h=[],u=e.getLineCount()+1;h.push({indent:-1,endAbove:u,line:u});for(let i=e.getLineCount();i>0;i--){let s;let r=e.getLineContent(i),l=(0,n.q)(r,a),u=h[h.length-1];if(-1===l){t&&(u.endAbove=i);continue}if(o&&(s=r.match(o))){if(s[1]){let e=h.length-1;for(;e>0&&-2!==h[e].indent;)e--;if(e>0){h.length=e+1,u=h[e],d.insertFirst(i,u.line,l),u.line=i,u.indent=l,u.endAbove=i;continue}}else{h.push({indent:-2,endAbove:i,line:i});continue}}if(u.indent>l){do h.pop(),u=h[h.length-1];while(u.indent>l);let e=u.endAbove-1;e-i>=1&&d.insertFirst(i,e,l)}u.indent===l?u.endAbove=i:h.push({indent:l,endAbove:i,line:i})}return d.toIndentRanges(e)}(this.editorModel,i,s,this.foldingRangesLimit))}}class r{constructor(e){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=e}insertFirst(e,t,i){if(e>s.Xl||t>s.Xl)return;let n=this._length;this._startIndexes[n]=e,this._endIndexes[n]=t,this._length++,i<1e3&&(this._indentOccurrences[i]=(this._indentOccurrences[i]||0)+1)}toIndentRanges(e){let t=this._foldingRangesLimit.limit;if(this._length<=t){this._foldingRangesLimit.update(this._length,!1);let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let i=this._length-1,n=0;i>=0;i--,n++)e[n]=this._startIndexes[i],t[n]=this._endIndexes[i];return new s.MN(e,t)}{this._foldingRangesLimit.update(this._length,t);let i=0,o=this._indentOccurrences.length;for(let e=0;et){o=e;break}i+=n}}let r=e.getOptions().tabSize,l=new Uint32Array(t),a=new Uint32Array(t);for(let s=this._length-1,d=0;s>=0;s--){let h=this._startIndexes[s],u=e.getLineContent(h),c=(0,n.q)(u,r);(c{}}},99155:function(e,t,i){"use strict";i.d(t,{e:function(){return l}});var n=i(17301),s=i(5976),o=i(37702);let r={};class l{constructor(e,t,i,n,o){for(let r of(this.editorModel=e,this.providers=t,this.handleFoldingRangesChange=i,this.foldingRangesLimit=n,this.fallbackRangeProvider=o,this.id="syntax",this.disposables=new s.SL,o&&this.disposables.add(o),t))"function"==typeof r.onDidChange&&this.disposables.add(r.onDidChange(i))}compute(e){return(function(e,t,i){let s=null,o=e.map((e,o)=>Promise.resolve(e.provideFoldingRanges(t,r,i)).then(e=>{if(!i.isCancellationRequested&&Array.isArray(e)){Array.isArray(s)||(s=[]);let i=t.getLineCount();for(let t of e)t.start>0&&t.end>t.start&&t.end<=i&&s.push({start:t.start,end:t.end,rank:o,kind:t.kind})}},n.Cp));return Promise.all(o).then(e=>s)})(this.providers,this.editorModel,e).then(t=>{var i,n;if(t){let e=function(e,t){let i;let n=e.sort((e,t)=>{let i=e.start-t.start;return 0===i&&(i=e.rank-t.rank),i}),s=new a(t),o=[];for(let e of n)if(i){if(e.start>i.start){if(e.end<=i.end)o.push(i),i=e,s.add(e.start,e.end,e.kind&&e.kind.value,o.length);else{if(e.start>i.end){do i=o.pop();while(i&&e.start>i.end);i&&o.push(i),i=e}s.add(e.start,e.end,e.kind&&e.kind.value,o.length)}}}else i=e,s.add(e.start,e.end,e.kind&&e.kind.value,o.length);return s.toIndentRanges()}(t,this.foldingRangesLimit);return e}return null!==(n=null===(i=this.fallbackRangeProvider)||void 0===i?void 0:i.compute(e))&&void 0!==n?n:null})}dispose(){this.disposables.dispose()}}class a{constructor(e){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=e}add(e,t,i,n){if(e>o.Xl||t>o.Xl)return;let s=this._length;this._startIndexes[s]=e,this._endIndexes[s]=t,this._nestingLevels[s]=n,this._types[s]=i,this._length++,n<30&&(this._nestingLevelCounts[n]=(this._nestingLevelCounts[n]||0)+1)}toIndentRanges(){let e=this._foldingRangesLimit.limit;if(this._length<=e){this._foldingRangesLimit.update(this._length,!1);let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let i=0;ie){i=n;break}t+=s}}let n=new Uint32Array(e),s=new Uint32Array(e),r=[];for(let o=0,l=0;oe.provideDocumentRangeFormattingEdits(t,t.getFullModelRange(),i,n)})}return n}class D{static setFormatterSelector(e){let t=D._selectors.unshift(e);return{dispose:t}}static async select(e,t,i,n){if(0===e.length)return;let s=r.$.first(D._selectors);if(s)return await s(e,t,i,n)}}async function x(e,t,i,n,s,o,r){let l=e.get(w.TG),{documentRangeFormattingEditProvider:a}=e.get(y.p),d=(0,u.CL)(t)?t.getModel():t,h=a.ordered(d),c=await D.select(h,d,n,2);c&&(s.report(c),await l.invokeFunction(N,c,t,i,o,r))}async function N(e,t,i,s,o,r){var l,a;let d,c;let f=e.get(m.p),v=e.get(S.VZ),b=e.get(L.IV);(0,u.CL)(i)?(d=i.getModel(),c=new h.Dl(i,5,void 0,o)):(d=i,c=new h.YQ(i,o));let C=[],w=0;for(let e of(0,n._2)(s).sort(g.e.compareRangesUsingStarts))w>0&&g.e.areIntersectingOrTouching(C[w-1],e)?C[w-1]=g.e.fromPositions(C[w-1].getStartPosition(),e.getEndPosition()):w=C.push(e);let y=async e=>{var i,n;v.trace("[format][provideDocumentRangeFormattingEdits] (request)",null===(i=t.extensionId)||void 0===i?void 0:i.value,e);let s=await t.provideDocumentRangeFormattingEdits(d,e,d.getFormattingOptions(),c.token)||[];return v.trace("[format][provideDocumentRangeFormattingEdits] (response)",null===(n=t.extensionId)||void 0===n?void 0:n.value,s),s},k=(e,t)=>{if(!e.length||!t.length)return!1;let i=e.reduce((e,t)=>g.e.plusRange(e,t.range),e[0].range);if(!t.some(e=>g.e.intersectRanges(i,e.range)))return!1;for(let i of e)for(let e of t)if(g.e.intersectRanges(i.range,e.range))return!0;return!1},D=[],x=[];try{if("function"==typeof t.provideDocumentRangesFormattingEdits){v.trace("[format][provideDocumentRangeFormattingEdits] (request)",null===(l=t.extensionId)||void 0===l?void 0:l.value,C);let e=await t.provideDocumentRangesFormattingEdits(d,C,d.getFormattingOptions(),c.token)||[];v.trace("[format][provideDocumentRangeFormattingEdits] (response)",null===(a=t.extensionId)||void 0===a?void 0:a.value,e),x.push(e)}else{for(let e of C){if(c.token.isCancellationRequested)return!0;x.push(await y(e))}for(let e=0;e({text:e.text,range:g.e.lift(e.range),forceMoveMarkers:!0})),e=>{for(let{range:i}of e)if(g.e.areIntersectingOrTouching(i,t))return[new p.Y(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn)];return null})}return b.playSignal(L.iP.format,{userGesture:r}),!0}async function E(e,t,i,n,s,o){let r=e.get(w.TG),l=e.get(y.p),a=(0,u.CL)(t)?t.getModel():t,d=k(l.documentFormattingEditProvider,l.documentRangeFormattingEditProvider,a),h=await D.select(d,a,i,1);h&&(n.report(h),await r.invokeFunction(I,h,t,i,s,o))}async function I(e,t,i,n,s,o){let r,l,a;let d=e.get(m.p),c=e.get(L.IV);(0,u.CL)(i)?(r=i.getModel(),l=new h.Dl(i,5,void 0,s)):(r=i,l=new h.YQ(i,s));try{let e=await t.provideDocumentFormattingEdits(r,r.getFormattingOptions(),l.token);if(a=await d.computeMoreMinimalEdits(r.uri,e),l.token.isCancellationRequested)return!0}finally{l.dispose()}if(!a||0===a.length)return!1;if((0,u.CL)(i))_.V.execute(i,a,2!==n),2!==n&&i.revealPositionInCenterIfOutsideViewport(i.getPosition(),1);else{let[{range:e}]=a,t=new p.Y(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn);r.pushEditOperations([t],a.map(e=>({text:e.text,range:g.e.lift(e.range),forceMoveMarkers:!0})),e=>{for(let{range:i}of e)if(g.e.areIntersectingOrTouching(i,t))return[new p.Y(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn)];return null})}return c.playSignal(L.iP.format,{userGesture:o}),!0}async function T(e,t,i,s,r,l){let a=t.documentRangeFormattingEditProvider.ordered(i);for(let t of a){let a=await Promise.resolve(t.provideDocumentRangeFormattingEdits(i,s,r,l)).catch(o.Cp);if((0,n.Of)(a))return await e.computeMoreMinimalEdits(i.uri,a)}}async function M(e,t,i,s,r){let l=k(t.documentFormattingEditProvider,t.documentRangeFormattingEditProvider,i);for(let t of l){let l=await Promise.resolve(t.provideDocumentFormattingEdits(i,s,r)).catch(o.Cp);if((0,n.Of)(l))return await e.computeMoreMinimalEdits(i.uri,l)}}function R(e,t,i,n,s,r,l){let a=t.onTypeFormattingEditProvider.ordered(i);return 0===a.length||0>a[0].autoFormatTriggerCharacters.indexOf(s)?Promise.resolve(void 0):Promise.resolve(a[0].provideOnTypeFormattingEdits(i,n,s,r,l)).catch(o.Cp).then(t=>e.computeMoreMinimalEdits(i.uri,t))}D._selectors=new l.S,v.P.registerCommand("_executeFormatRangeProvider",async function(e,...t){let[i,n,o]=t;(0,a.p_)(d.o.isUri(i)),(0,a.p_)(g.e.isIRange(n));let r=e.get(f.S),l=e.get(m.p),h=e.get(y.p),u=await r.createModelReference(i);try{return T(l,h,u.object.textEditorModel,g.e.lift(n),o,s.Ts.None)}finally{u.dispose()}}),v.P.registerCommand("_executeFormatDocumentProvider",async function(e,...t){let[i,n]=t;(0,a.p_)(d.o.isUri(i));let o=e.get(f.S),r=e.get(m.p),l=e.get(y.p),h=await o.createModelReference(i);try{return M(r,l,h.object.textEditorModel,n,s.Ts.None)}finally{h.dispose()}}),v.P.registerCommand("_executeFormatOnTypeProvider",async function(e,...t){let[i,n,o,r]=t;(0,a.p_)(d.o.isUri(i)),(0,a.p_)(c.L.isIPosition(n)),(0,a.p_)("string"==typeof o);let l=e.get(f.S),h=e.get(m.p),u=e.get(y.p),g=await l.createModelReference(i);try{return R(h,u,g.object.textEditorModel,c.L.lift(n),o,r,s.Ts.None)}finally{g.dispose()}})},61097:function(e,t,i){"use strict";var n=i(9488),s=i(71050),o=i(17301),r=i(22258),l=i(5976),a=i(16830),d=i(11640),h=i(44906),u=i(24314),c=i(29102),g=i(85215),p=i(71922),m=i(71373),f=i(35120),_=i(63580),v=i(38832),b=i(94565),C=i(32064),w=i(72065),y=i(90535),S=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},L=function(e,t){return function(i,n){t(i,n,e)}};let k=class{constructor(e,t,i,n){this._editor=e,this._languageFeaturesService=t,this._workerService=i,this._accessibilitySignalService=n,this._disposables=new l.SL,this._sessionDisposables=new l.SL,this._disposables.add(t.onTypeFormattingEditProvider.onDidChange(this._update,this)),this._disposables.add(e.onDidChangeModel(()=>this._update())),this._disposables.add(e.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(e.onDidChangeConfiguration(e=>{e.hasChanged(56)&&this._update()})),this._update()}dispose(){this._disposables.dispose(),this._sessionDisposables.dispose()}_update(){if(this._sessionDisposables.clear(),!this._editor.getOption(56)||!this._editor.hasModel())return;let e=this._editor.getModel(),[t]=this._languageFeaturesService.onTypeFormattingEditProvider.ordered(e);if(!t||!t.autoFormatTriggerCharacters)return;let i=new h.q;for(let e of t.autoFormatTriggerCharacters)i.add(e.charCodeAt(0));this._sessionDisposables.add(this._editor.onDidType(e=>{let t=e.charCodeAt(e.length-1);i.has(t)&&this._trigger(String.fromCharCode(t))}))}_trigger(e){if(!this._editor.hasModel()||this._editor.getSelections().length>1||!this._editor.getSelection().isEmpty())return;let t=this._editor.getModel(),i=this._editor.getPosition(),o=new s.AU,r=this._editor.onDidChangeModelContent(e=>{if(e.isFlush){o.cancel(),r.dispose();return}for(let t=0,n=e.changes.length;t{!o.token.isCancellationRequested&&(0,n.Of)(e)&&(this._accessibilitySignalService.playSignal(v.iP.format,{userGesture:!1}),f.V.execute(this._editor,e,!0))}).finally(()=>{r.dispose()})}};k.ID="editor.contrib.autoFormat",k=S([L(1,p.p),L(2,g.p),L(3,v.IV)],k);let D=class{constructor(e,t,i){this.editor=e,this._languageFeaturesService=t,this._instantiationService=i,this._callOnDispose=new l.SL,this._callOnModel=new l.SL,this._callOnDispose.add(e.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(e.onDidChangeModel(()=>this._update())),this._callOnDispose.add(e.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(t.documentRangeFormattingEditProvider.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(55)&&this.editor.hasModel()&&this._languageFeaturesService.documentRangeFormattingEditProvider.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:e})=>this._trigger(e)))}_trigger(e){this.editor.hasModel()&&!(this.editor.getSelections().length>1)&&this._instantiationService.invokeFunction(m.x$,this.editor,e,2,y.Ex.None,s.Ts.None,!1).catch(o.dL)}};D.ID="editor.contrib.formatOnPaste",D=S([L(1,p.p),L(2,w.TG)],D);class x extends a.R6{constructor(){super({id:"editor.action.formatDocument",label:_.NC("formatDocument.label","Format Document"),alias:"Format Document",precondition:C.Ao.and(c.u.notInCompositeEditor,c.u.writable,c.u.hasDocumentFormattingProvider),kbOpts:{kbExpr:c.u.editorTextFocus,primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{group:"1_modification",order:1.3}})}async run(e,t){if(t.hasModel()){let i=e.get(w.TG),n=e.get(y.ek);await n.showWhile(i.invokeFunction(m.Qq,t,1,y.Ex.None,s.Ts.None,!0),250)}}}class N extends a.R6{constructor(){super({id:"editor.action.formatSelection",label:_.NC("formatSelection.label","Format Selection"),alias:"Format Selection",precondition:C.Ao.and(c.u.writable,c.u.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:c.u.editorTextFocus,primary:(0,r.gx)(2089,2084),weight:100},contextMenuOpts:{when:c.u.hasNonEmptySelection,group:"1_modification",order:1.31}})}async run(e,t){if(!t.hasModel())return;let i=e.get(w.TG),n=t.getModel(),o=t.getSelections().map(e=>e.isEmpty()?new u.e(e.startLineNumber,1,e.startLineNumber,n.getLineMaxColumn(e.startLineNumber)):e),r=e.get(y.ek);await r.showWhile(i.invokeFunction(m.x$,t,o,1,y.Ex.None,s.Ts.None,!0),250)}}(0,a._K)(k.ID,k,2),(0,a._K)(D.ID,D,2),(0,a.Qr)(x),(0,a.Qr)(N),b.P.registerCommand("editor.action.format",async e=>{let t=e.get(d.$).getFocusedCodeEditor();if(!t||!t.hasModel())return;let i=e.get(b.H);t.getSelection().isEmpty()?await i.executeCommand("editor.action.formatDocument"):await i.executeCommand("editor.action.formatSelection")})},35120:function(e,t,i){"use strict";i.d(t,{V:function(){return r}});var n=i(69386),s=i(24314),o=i(43407);class r{static _handleEolEdits(e,t){let i;let n=[];for(let e of t)"number"==typeof e.eol&&(i=e.eol),e.range&&"string"==typeof e.text&&n.push(e);return"number"==typeof i&&e.hasModel()&&e.getModel().pushEOL(i),n}static _isFullModelReplaceEdit(e,t){if(!e.hasModel())return!1;let i=e.getModel(),n=i.validateRange(t.range),s=i.getFullModelRange();return s.equalsRange(n)}static execute(e,t,i){i&&e.pushUndoStop();let l=o.Z.capture(e),a=r._handleEolEdits(e,t);1===a.length&&r._isFullModelReplaceEdit(e,a[0])?e.executeEdits("formatEditsCommand",a.map(e=>n.h.replace(s.e.lift(e.range),e.text))):e.executeEdits("formatEditsCommand",a.map(e=>n.h.replaceMove(s.e.lift(e.range),e.text))),i&&e.pushUndoStop(),l.restoreRelativeVerticalPositionOfCursor(e)}}},81299:function(e,t,i){"use strict";i.d(t,{c:function(){return es},v:function(){return er}});var n,s,o,r=i(78789),l=i(5976),a=i(16830),d=i(11640),h=i(50187),u=i(24314),c=i(29102),g=i(9488),p=i(4669),m=i(91741),f=i(97295),_=i(70666),v=i(65026),b=i(72065),C=i(98674),w=i(33108),y=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},S=function(e,t){return function(i,n){t(i,n,e)}};class L{constructor(e,t,i){this.marker=e,this.index=t,this.total=i}}let k=class{constructor(e,t,i){this._markerService=t,this._configService=i,this._onDidChange=new p.Q5,this.onDidChange=this._onDidChange.event,this._dispoables=new l.SL,this._markers=[],this._nextIdx=-1,_.o.isUri(e)?this._resourceFilter=t=>t.toString()===e.toString():e&&(this._resourceFilter=e);let n=this._configService.getValue("problems.sortOrder"),s=(e,t)=>{let i=(0,f.qu)(e.resource.toString(),t.resource.toString());return 0===i&&(i="position"===n?u.e.compareRangesUsingStarts(e,t)||C.ZL.compare(e.severity,t.severity):C.ZL.compare(e.severity,t.severity)||u.e.compareRangesUsingStarts(e,t)),i},o=()=>{this._markers=this._markerService.read({resource:_.o.isUri(e)?e:void 0,severities:C.ZL.Error|C.ZL.Warning|C.ZL.Info}),"function"==typeof e&&(this._markers=this._markers.filter(e=>this._resourceFilter(e.resource))),this._markers.sort(s)};o(),this._dispoables.add(t.onMarkerChanged(e=>{(!this._resourceFilter||e.some(e=>this._resourceFilter(e)))&&(o(),this._nextIdx=-1,this._onDidChange.fire())}))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}matches(e){return!this._resourceFilter&&!e||!!this._resourceFilter&&!!e&&this._resourceFilter(e)}get selected(){let e=this._markers[this._nextIdx];return e&&new L(e,this._nextIdx+1,this._markers.length)}_initIdx(e,t,i){let n=!1,s=this._markers.findIndex(t=>t.resource.toString()===e.uri.toString());s<0&&(s=(0,g.ry)(this._markers,{resource:e.uri},(e,t)=>(0,f.qu)(e.resource.toString(),t.resource.toString())))<0&&(s=~s);for(let i=s;it.resource.toString()===e.toString());if(!(i<0)){for(;i{e.preventDefault();let t=this._relatedDiagnostics.get(e.target);t&&i(t)})),this._scrollable=new R.NB(o,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:6,verticalScrollbarSize:6}),e.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(e=>{o.style.left=`-${e.scrollLeft}px`,o.style.top=`-${e.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){(0,l.B9)(this._disposables)}update(e){let{source:t,message:i,relatedInformation:n,code:s}=e,o=((null==t?void 0:t.length)||0)+2;s&&("string"==typeof s?o+=s.length:o+=s.value.length);let r=(0,f.uq)(i);for(let e of(this._lines=r.length,this._longestLineLength=0,r))this._longestLineLength=Math.max(e.length+o,this._longestLineLength);M.PO(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(e)),this._editor.applyFontInfo(this._messageBlock);let l=this._messageBlock;for(let e of r)(l=document.createElement("div")).innerText=e,""===e&&(l.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(l);if(t||s){let e=document.createElement("span");if(e.classList.add("details"),l.appendChild(e),t){let i=document.createElement("span");i.innerText=t,i.classList.add("source"),e.appendChild(i)}if(s){if("string"==typeof s){let t=document.createElement("span");t.innerText=`(${s})`,t.classList.add("code"),e.appendChild(t)}else{this._codeLink=M.$("a.code-link"),this._codeLink.setAttribute("href",`${s.target.toString()}`),this._codeLink.onclick=e=>{this._openerService.open(s.target,{allowCommands:!0}),e.preventDefault(),e.stopPropagation()};let t=M.R3(this._codeLink,M.$("span"));t.innerText=s.value,e.appendChild(this._codeLink)}}}if(M.PO(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),(0,g.Of)(n)){let e=this._relatedBlock.appendChild(document.createElement("div"));for(let t of(e.style.paddingTop=`${Math.floor(.66*this._editor.getOption(67))}px`,this._lines+=1,n)){let i=document.createElement("div"),n=document.createElement("a");n.classList.add("filename"),n.innerText=`${this._labelService.getUriBasenameLabel(t.resource)}(${t.startLineNumber}, ${t.startColumn}): `,n.title=this._labelService.getUriLabel(t.resource),this._relatedDiagnostics.set(n,t);let s=document.createElement("span");s.innerText=t.message,i.appendChild(n),i.appendChild(s),this._lines+=1,e.appendChild(i)}}let a=this._editor.getOption(50),d=Math.ceil(a.typicalFullwidthCharacterWidth*this._longestLineLength*.75),h=a.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:d,scrollHeight:h})}layout(e,t){this._scrollable.getDomNode().style.height=`${e}px`,this._scrollable.getDomNode().style.width=`${t}px`,this._scrollable.setScrollDimensions({width:t,height:e})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(e){let t="";switch(e.severity){case C.ZL.Error:t=N.NC("Error","Error");break;case C.ZL.Warning:t=N.NC("Warning","Warning");break;case C.ZL.Info:t=N.NC("Info","Info");break;case C.ZL.Hint:t=N.NC("Hint","Hint")}let i=N.NC("marker aria","{0} at {1}. ",t,e.startLineNumber+":"+e.startColumn),n=this._editor.getModel();if(n&&e.startLineNumber<=n.getLineCount()&&e.startLineNumber>=1){let t=n.getLineContent(e.startLineNumber);i=`${t}, ${i}`}return i}}let q=s=class extends O.vk{constructor(e,t,i,n,s,o,r){super(e,{showArrow:!0,showFrame:!0,isAccessible:!0,frameWidth:1},s),this._themeService=t,this._openerService=i,this._menuService=n,this._contextKeyService=o,this._labelService=r,this._callOnDispose=new l.SL,this._onDidSelectRelatedInformation=new p.Q5,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=C.ZL.Warning,this._backgroundColor=A.Il.white,this._applyTheme(t.getColorTheme()),this._callOnDispose.add(t.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(e){this._backgroundColor=e.getColor(ei);let t=Z,i=Y;this._severity===C.ZL.Warning?(t=J,i=X):this._severity===C.ZL.Info&&(t=ee,i=et);let n=e.getColor(t),s=e.getColor(i);this.style({arrowColor:n,frameColor:n,headerBackgroundColor:s,primaryHeadingColor:e.getColor(O.IH),secondaryHeadingColor:e.getColor(O.R7)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(e){super._fillHead(e),this._disposables.add(this._actionbarWidget.actionRunner.onWillRun(e=>this.editor.focus()));let t=[],i=this._menuService.createMenu(s.TitleMenu,this._contextKeyService);(0,F.vr)(i,void 0,t),this._actionbarWidget.push(t,{label:!1,icon:!0,index:0}),i.dispose()}_fillTitleIcon(e){this._icon=M.R3(e,M.$(""))}_fillBody(e){this._parentContainer=e,e.classList.add("marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),e.appendChild(this._container),this._message=new $(this._container,this.editor,e=>this._onDidSelectRelatedInformation.fire(e),this._openerService,this._labelService),this._disposables.add(this._message)}show(){throw Error("call showAtMarker")}showAtMarker(e,t,i){this._container.classList.remove("stale"),this._message.update(e),this._severity=e.severity,this._applyTheme(this._themeService.getColorTheme());let s=u.e.lift(e),o=this.editor.getPosition(),r=o&&s.containsPosition(o)?o:s.getStartPosition();super.show(r,this.computeRequiredHeight());let l=this.editor.getModel();if(l){let e=i>1?N.NC("problems","{0} of {1} problems",t,i):N.NC("change","{0} of {1} problem",t,i);this.setTitle((0,P.EZ)(l.uri),e)}this._icon.className=`codicon ${n.className(C.ZL.toSeverity(this._severity))}`,this.editor.revealPositionNearTop(r,0),this.editor.focus()}updateMarker(e){this._container.classList.remove("stale"),this._message.update(e)}showStale(){this._container.classList.add("stale"),this._relayout()}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._heightInPixel=e,this._message.layout(e,t),this._container.style.height=`${e}px`}_onWidth(e){this._message.layout(this._heightInPixel,e)}_relayout(){super._relayout(this.computeRequiredHeight())}computeRequiredHeight(){return 3+this._message.getHeightInLines()}};q.TitleMenu=new E.eH("gotoErrorTitleMenu"),q=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([U(1,K.XE),U(2,W.v),U(3,E.co),U(4,b.TG),U(5,I.i6),U(6,B.e)],q);let j=(0,z.kwl)(z.lXJ,z.b6y),G=(0,z.kwl)(z.uoC,z.pW3),Q=(0,z.kwl)(z.c63,z.T83),Z=(0,z.P6G)("editorMarkerNavigationError.background",{dark:j,light:j,hcDark:z.lRK,hcLight:z.lRK},N.NC("editorMarkerNavigationError","Editor marker navigation widget error color.")),Y=(0,z.P6G)("editorMarkerNavigationError.headerBackground",{dark:(0,z.ZnX)(Z,.1),light:(0,z.ZnX)(Z,.1),hcDark:null,hcLight:null},N.NC("editorMarkerNavigationErrorHeaderBackground","Editor marker navigation widget error heading background.")),J=(0,z.P6G)("editorMarkerNavigationWarning.background",{dark:G,light:G,hcDark:z.lRK,hcLight:z.lRK},N.NC("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),X=(0,z.P6G)("editorMarkerNavigationWarning.headerBackground",{dark:(0,z.ZnX)(J,.1),light:(0,z.ZnX)(J,.1),hcDark:"#0C141F",hcLight:(0,z.ZnX)(J,.2)},N.NC("editorMarkerNavigationWarningBackground","Editor marker navigation widget warning heading background.")),ee=(0,z.P6G)("editorMarkerNavigationInfo.background",{dark:Q,light:Q,hcDark:z.lRK,hcLight:z.lRK},N.NC("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),et=(0,z.P6G)("editorMarkerNavigationInfo.headerBackground",{dark:(0,z.ZnX)(ee,.1),light:(0,z.ZnX)(ee,.1),hcDark:null,hcLight:null},N.NC("editorMarkerNavigationInfoHeaderBackground","Editor marker navigation widget info heading background.")),ei=(0,z.P6G)("editorMarkerNavigation.background",{dark:z.cvW,light:z.cvW,hcDark:z.cvW,hcLight:z.cvW},N.NC("editorMarkerNavigationBackground","Editor marker navigation widget background."));var en=function(e,t){return function(i,n){t(i,n,e)}};let es=o=class{static get(e){return e.getContribution(o.ID)}constructor(e,t,i,n,s){this._markerNavigationService=t,this._contextKeyService=i,this._editorService=n,this._instantiationService=s,this._sessionDispoables=new l.SL,this._editor=e,this._widgetVisible=ea.bindTo(this._contextKeyService)}dispose(){this._cleanUp(),this._sessionDispoables.dispose()}_cleanUp(){this._widgetVisible.reset(),this._sessionDispoables.clear(),this._widget=void 0,this._model=void 0}_getOrCreateModel(e){if(this._model&&this._model.matches(e))return this._model;let t=!1;return this._model&&(t=!0,this._cleanUp()),this._model=this._markerNavigationService.getMarkerList(e),t&&this._model.move(!0,this._editor.getModel(),this._editor.getPosition()),this._widget=this._instantiationService.createInstance(q,this._editor),this._widget.onDidClose(()=>this.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(e=>{var t,i,n;(null===(t=this._model)||void 0===t?void 0:t.selected)&&u.e.containsPosition(null===(i=this._model)||void 0===i?void 0:i.selected.marker,e.position)||null===(n=this._model)||void 0===n||n.resetIndex()})),this._sessionDispoables.add(this._model.onDidChange(()=>{if(!this._widget||!this._widget.position||!this._model)return;let e=this._model.find(this._editor.getModel().uri,this._widget.position);e?this._widget.updateMarker(e.marker):this._widget.showStale()})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(e=>{this._editorService.openCodeEditor({resource:e.resource,options:{pinned:!0,revealIfOpened:!0,selection:u.e.lift(e).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp())),this._model}close(e=!0){this._cleanUp(),e&&this._editor.focus()}showAtMarker(e){if(this._editor.hasModel()){let t=this._getOrCreateModel(this._editor.getModel().uri);t.resetIndex(),t.move(!0,this._editor.getModel(),new h.L(e.startLineNumber,e.startColumn)),t.selected&&this._widget.showAtMarker(t.selected.marker,t.selected.index,t.selected.total)}}async nagivate(e,t){var i,n;if(this._editor.hasModel()){let s=this._getOrCreateModel(t?void 0:this._editor.getModel().uri);if(s.move(e,this._editor.getModel(),this._editor.getPosition()),!s.selected)return;if(s.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();let r=await this._editorService.openCodeEditor({resource:s.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:s.selected.marker}},this._editor);r&&(null===(i=o.get(r))||void 0===i||i.close(),null===(n=o.get(r))||void 0===n||n.nagivate(e,t))}else this._widget.showAtMarker(s.selected.marker,s.selected.index,s.selected.total)}}};es.ID="editor.contrib.markerController",es=o=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([en(1,D),en(2,I.i6),en(3,d.$),en(4,b.TG)],es);class eo extends a.R6{constructor(e,t,i){super(i),this._next=e,this._multiFile=t}async run(e,t){var i;t.hasModel()&&(null===(i=es.get(t))||void 0===i||i.nagivate(this._next,this._multiFile))}}class er extends eo{constructor(){super(!0,!1,{id:er.ID,label:er.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:c.u.focus,primary:578,weight:100},menuOpts:{menuId:q.TitleMenu,title:er.LABEL,icon:(0,T.q5)("marker-navigation-next",r.l.arrowDown,N.NC("nextMarkerIcon","Icon for goto next marker.")),group:"navigation",order:1}})}}er.ID="editor.action.marker.next",er.LABEL=N.NC("markerAction.next.label","Go to Next Problem (Error, Warning, Info)");class el extends eo{constructor(){super(!1,!1,{id:el.ID,label:el.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:c.u.focus,primary:1602,weight:100},menuOpts:{menuId:q.TitleMenu,title:el.LABEL,icon:(0,T.q5)("marker-navigation-previous",r.l.arrowUp,N.NC("previousMarkerIcon","Icon for goto previous marker.")),group:"navigation",order:2}})}}el.ID="editor.action.marker.prev",el.LABEL=N.NC("markerAction.previous.label","Go to Previous Problem (Error, Warning, Info)"),(0,a._K)(es.ID,es,4),(0,a.Qr)(er),(0,a.Qr)(el),(0,a.Qr)(class extends eo{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:N.NC("markerAction.nextInFiles.label","Go to Next Problem in Files (Error, Warning, Info)"),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:c.u.focus,primary:66,weight:100},menuOpts:{menuId:E.eH.MenubarGoMenu,title:N.NC({key:"miGotoNextProblem",comment:["&& denotes a mnemonic"]},"Next &&Problem"),group:"6_problem_nav",order:1}})}}),(0,a.Qr)(class extends eo{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:N.NC("markerAction.previousInFiles.label","Go to Previous Problem in Files (Error, Warning, Info)"),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:c.u.focus,primary:1090,weight:100},menuOpts:{menuId:E.eH.MenubarGoMenu,title:N.NC({key:"miGotoPreviousProblem",comment:["&& denotes a mnemonic"]},"Previous &&Problem"),group:"6_problem_nav",order:2}})}});let ea=new I.uy("markersNavigationVisible",!1),ed=a._l.bindToContribution(es.get);(0,a.fK)(new ed({id:"closeMarkersNavigation",precondition:ea,handler:e=>e.close(),kbOpts:{weight:150,kbExpr:c.u.focus,primary:9,secondary:[1033]}}))},95817:function(e,t,i){"use strict";i.d(t,{BT:function(){return ee},Bj:function(){return X},_k:function(){return J}});var n,s,o,r,l,a,d,h,u=i(85152),c=i(15393),g=i(22258),p=i(98401),m=i(70666),f=i(14410),_=i(65520),v=i(16830),b=i(11640),C=i(22874),w=i(50187),y=i(24314),S=i(29102),L=i(43155),k=i(29010),D=i(1293),x=i(4669),N=i(5976),E=i(95935),I=i(63580),T=i(32064),M=i(65026),R=i(72065),A=i(91847),P=i(49989),O=i(59422),F=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},B=function(e,t){return function(i,n){t(i,n,e)}};let W=new T.uy("hasSymbols",!1,(0,I.NC)("hasSymbols","Whether there are symbol locations that can be navigated via keyboard-only.")),H=(0,R.yh)("ISymbolNavigationService"),V=class{constructor(e,t,i,n){this._editorService=t,this._notificationService=i,this._keybindingService=n,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=W.bindTo(e)}reset(){var e,t;this._ctxHasSymbols.reset(),null===(e=this._currentState)||void 0===e||e.dispose(),null===(t=this._currentMessage)||void 0===t||t.dispose(),this._currentModel=void 0,this._currentIdx=-1}put(e){let t=e.parent.parent;if(t.references.length<=1){this.reset();return}this._currentModel=t,this._currentIdx=t.references.indexOf(e),this._ctxHasSymbols.set(!0),this._showMessage();let i=new z(this._editorService),n=i.onDidChange(e=>{if(this._ignoreEditorChange)return;let i=this._editorService.getActiveCodeEditor();if(!i)return;let n=i.getModel(),s=i.getPosition();if(!n||!s)return;let o=!1,r=!1;for(let e of t.references)if((0,E.Xy)(e.uri,n.uri))o=!0,r=r||y.e.containsPosition(e.range,s);else if(o)break;o&&r||this.reset()});this._currentState=(0,N.F8)(i,n)}revealNext(e){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;let t=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:t.uri,options:{selection:y.e.collapseToStart(t.range),selectionRevealType:3}},e).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){var e;null===(e=this._currentMessage)||void 0===e||e.dispose();let t=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult"),i=t?(0,I.NC)("location.kb","Symbol {0} of {1}, {2} for next",this._currentIdx+1,this._currentModel.references.length,t.getLabel()):(0,I.NC)("location","Symbol {0} of {1}",this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(i)}};V=F([B(0,T.i6),B(1,b.$),B(2,O.lT),B(3,A.d)],V),(0,M.z)(H,V,1),(0,v.fK)(new class extends v._l{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:W,kbOpts:{weight:100,primary:70}})}runEditorCommand(e,t){return e.get(H).revealNext(t)}}),P.W.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:W,primary:9,handler(e){e.get(H).reset()}});let z=class{constructor(e){this._listener=new Map,this._disposables=new N.SL,this._onDidChange=new x.Q5,this.onDidChange=this._onDidChange.event,this._disposables.add(e.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(e.onCodeEditorAdd(this._onDidAddEditor,this)),e.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),(0,N.B9)(this._listener.values())}_onDidAddEditor(e){this._listener.set(e,(0,N.F8)(e.onDidChangeCursorPosition(t=>this._onDidChange.fire({editor:e})),e.onDidChangeModelContent(t=>this._onDidChange.fire({editor:e}))))}_onDidRemoveEditor(e){var t;null===(t=this._listener.get(e))||void 0===t||t.dispose(),this._listener.delete(e)}};z=F([B(0,b.$)],z);var K=i(27753),U=i(36943),$=i(84144),q=i(94565),j=i(90535),G=i(40184),Q=i(71922),Z=i(53725),Y=i(39282);$.BH.appendMenuItem($.eH.EditorContext,{submenu:$.eH.EditorContextPeek,title:I.NC("peek.submenu","Peek"),group:"navigation",order:100});class J{static is(e){return!!e&&"object"==typeof e&&!!(e instanceof J||w.L.isIPosition(e.position)&&e.model)}constructor(e,t){this.model=e,this.position=t}}class X extends v.x1{static all(){return X._allSymbolNavigationCommands.values()}static _patchConfig(e){let t={...e,f1:!0};if(t.menu)for(let i of Z.$.wrap(t.menu))(i.id===$.eH.EditorContext||i.id===$.eH.EditorContextPeek)&&(i.when=T.Ao.and(e.precondition,i.when));return t}constructor(e,t){super(X._patchConfig(t)),this.configuration=e,X._allSymbolNavigationCommands.set(t.id,this)}runEditorCommand(e,t,i,n){if(!t.hasModel())return Promise.resolve(void 0);let s=e.get(O.lT),o=e.get(b.$),r=e.get(j.ek),l=e.get(H),a=e.get(Q.p),d=e.get(R.TG),h=t.getModel(),g=t.getPosition(),p=J.is(i)?i:new J(h,g),m=new f.Dl(t,5),_=(0,c.eP)(this._getLocationModel(a,p.model,p.position,m.token),m.token).then(async e=>{var s;let r;if(!e||m.token.isCancellationRequested)return;if((0,u.Z9)(e.ariaMessage),e.referenceAt(h.uri,g)){let e=this._getAlternativeCommand(t);!X._activeAlternativeCommands.has(e)&&X._allSymbolNavigationCommands.has(e)&&(r=X._allSymbolNavigationCommands.get(e))}let a=e.references.length;if(0===a){if(!this.configuration.muteMessage){let e=h.getWordAtPosition(g);null===(s=K.O.get(t))||void 0===s||s.showMessage(this._getNoResultFoundMessage(e),g)}}else{if(1!==a||!r)return this._onResult(o,l,t,e,n);X._activeAlternativeCommands.add(this.desc.id),d.invokeFunction(e=>r.runEditorCommand(e,t,i,n).finally(()=>{X._activeAlternativeCommands.delete(this.desc.id)}))}},e=>{s.error(e)}).finally(()=>{m.dispose()});return r.showWhile(_,250),_}async _onResult(e,t,i,n,s){let o=this._getGoToPreference(i);if(i instanceof C.H||!this.configuration.openInPeek&&("peek"!==o||!(n.references.length>1))){let r=n.firstReference(),l=n.references.length>1&&"gotoAndPeek"===o,a=await this._openReference(i,e,r,this.configuration.openToSide,!l);l&&a?this._openInPeek(a,n,s):n.dispose(),"goto"===o&&t.put(r)}else this._openInPeek(i,n,s)}async _openReference(e,t,i,n,s){let o;if((0,L.vx)(i)&&(o=i.targetSelectionRange),o||(o=i.range),!o)return;let r=await t.openCodeEditor({resource:i.uri,options:{selection:y.e.collapseToStart(o),selectionRevealType:3,selectionSource:"code.jump"}},e,n);if(r){if(s){let e=r.getModel(),t=r.createDecorationsCollection([{range:o,options:{description:"symbol-navigate-action-highlight",className:"symbolHighlight"}}]);setTimeout(()=>{r.getModel()===e&&t.clear()},350)}return r}}_openInPeek(e,t,i){let n=k.J.get(e);n&&e.hasModel()?n.toggleWidget(null!=i?i:e.getSelection(),(0,c.PG)(e=>Promise.resolve(t)),this.configuration.openInPeek):t.dispose()}}X._allSymbolNavigationCommands=new Map,X._activeAlternativeCommands=new Set;class ee extends X{async _getLocationModel(e,t,i,n){return new D.oQ(await (0,G.nD)(e.definitionProvider,t,i,n),I.NC("def.title","Definitions"))}_getNoResultFoundMessage(e){return e&&e.word?I.NC("noResultWord","No definition found for '{0}'",e.word):I.NC("generic.noResults","No definition found")}_getAlternativeCommand(e){return e.getOption(58).alternativeDefinitionCommand}_getGoToPreference(e){return e.getOption(58).multipleDefinitions}}(0,$.r1)(((n=class extends ee{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:n.id,title:{...I.vv("actions.goToDecl.label","Go to Definition"),mnemonicTitle:I.NC({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")},precondition:S.u.hasDefinitionProvider,keybinding:[{when:S.u.editorTextFocus,primary:70,weight:100},{when:T.Ao.and(S.u.editorTextFocus,Y.Pf),primary:2118,weight:100}],menu:[{id:$.eH.EditorContext,group:"navigation",order:1.1},{id:$.eH.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:2}]}),q.P.registerCommandAlias("editor.action.goToDeclaration",n.id)}}).id="editor.action.revealDefinition",n)),(0,$.r1)(((s=class extends ee{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:s.id,title:I.vv("actions.goToDeclToSide.label","Open Definition to the Side"),precondition:T.Ao.and(S.u.hasDefinitionProvider,S.u.isInEmbeddedEditor.toNegated()),keybinding:[{when:S.u.editorTextFocus,primary:(0,g.gx)(2089,70),weight:100},{when:T.Ao.and(S.u.editorTextFocus,Y.Pf),primary:(0,g.gx)(2089,2118),weight:100}]}),q.P.registerCommandAlias("editor.action.openDeclarationToTheSide",s.id)}}).id="editor.action.revealDefinitionAside",s)),(0,$.r1)(((o=class extends ee{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:o.id,title:I.vv("actions.previewDecl.label","Peek Definition"),precondition:T.Ao.and(S.u.hasDefinitionProvider,U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated()),keybinding:{when:S.u.editorTextFocus,primary:582,linux:{primary:3140},weight:100},menu:{id:$.eH.EditorContextPeek,group:"peek",order:2}}),q.P.registerCommandAlias("editor.action.previewDeclaration",o.id)}}).id="editor.action.peekDefinition",o));class et extends X{async _getLocationModel(e,t,i,n){return new D.oQ(await (0,G.zq)(e.declarationProvider,t,i,n),I.NC("decl.title","Declarations"))}_getNoResultFoundMessage(e){return e&&e.word?I.NC("decl.noResultWord","No declaration found for '{0}'",e.word):I.NC("decl.generic.noResults","No declaration found")}_getAlternativeCommand(e){return e.getOption(58).alternativeDeclarationCommand}_getGoToPreference(e){return e.getOption(58).multipleDeclarations}}(0,$.r1)(((r=class extends et{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:r.id,title:{...I.vv("actions.goToDeclaration.label","Go to Declaration"),mnemonicTitle:I.NC({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")},precondition:T.Ao.and(S.u.hasDeclarationProvider,S.u.isInEmbeddedEditor.toNegated()),menu:[{id:$.eH.EditorContext,group:"navigation",order:1.3},{id:$.eH.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:3}]})}_getNoResultFoundMessage(e){return e&&e.word?I.NC("decl.noResultWord","No declaration found for '{0}'",e.word):I.NC("decl.generic.noResults","No declaration found")}}).id="editor.action.revealDeclaration",r)),(0,$.r1)(class extends et{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",title:I.vv("actions.peekDecl.label","Peek Declaration"),precondition:T.Ao.and(S.u.hasDeclarationProvider,U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated()),menu:{id:$.eH.EditorContextPeek,group:"peek",order:3}})}});class ei extends X{async _getLocationModel(e,t,i,n){return new D.oQ(await (0,G.L3)(e.typeDefinitionProvider,t,i,n),I.NC("typedef.title","Type Definitions"))}_getNoResultFoundMessage(e){return e&&e.word?I.NC("goToTypeDefinition.noResultWord","No type definition found for '{0}'",e.word):I.NC("goToTypeDefinition.generic.noResults","No type definition found")}_getAlternativeCommand(e){return e.getOption(58).alternativeTypeDefinitionCommand}_getGoToPreference(e){return e.getOption(58).multipleTypeDefinitions}}(0,$.r1)(((l=class extends ei{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:l.ID,title:{...I.vv("actions.goToTypeDefinition.label","Go to Type Definition"),mnemonicTitle:I.NC({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")},precondition:S.u.hasTypeDefinitionProvider,keybinding:{when:S.u.editorTextFocus,primary:0,weight:100},menu:[{id:$.eH.EditorContext,group:"navigation",order:1.4},{id:$.eH.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:3}]})}}).ID="editor.action.goToTypeDefinition",l)),(0,$.r1)(((a=class extends ei{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:a.ID,title:I.vv("actions.peekTypeDefinition.label","Peek Type Definition"),precondition:T.Ao.and(S.u.hasTypeDefinitionProvider,U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated()),menu:{id:$.eH.EditorContextPeek,group:"peek",order:4}})}}).ID="editor.action.peekTypeDefinition",a));class en extends X{async _getLocationModel(e,t,i,n){return new D.oQ(await (0,G.f4)(e.implementationProvider,t,i,n),I.NC("impl.title","Implementations"))}_getNoResultFoundMessage(e){return e&&e.word?I.NC("goToImplementation.noResultWord","No implementation found for '{0}'",e.word):I.NC("goToImplementation.generic.noResults","No implementation found")}_getAlternativeCommand(e){return e.getOption(58).alternativeImplementationCommand}_getGoToPreference(e){return e.getOption(58).multipleImplementations}}(0,$.r1)(((d=class extends en{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:d.ID,title:{...I.vv("actions.goToImplementation.label","Go to Implementations"),mnemonicTitle:I.NC({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},precondition:S.u.hasImplementationProvider,keybinding:{when:S.u.editorTextFocus,primary:2118,weight:100},menu:[{id:$.eH.EditorContext,group:"navigation",order:1.45},{id:$.eH.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:4}]})}}).ID="editor.action.goToImplementation",d)),(0,$.r1)(((h=class extends en{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:h.ID,title:I.vv("actions.peekImplementation.label","Peek Implementations"),precondition:T.Ao.and(S.u.hasImplementationProvider,U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated()),keybinding:{when:S.u.editorTextFocus,primary:3142,weight:100},menu:{id:$.eH.EditorContextPeek,group:"peek",order:5}})}}).ID="editor.action.peekImplementation",h));class es extends X{_getNoResultFoundMessage(e){return e?I.NC("references.no","No references found for '{0}'",e.word):I.NC("references.noGeneric","No references found")}_getAlternativeCommand(e){return e.getOption(58).alternativeReferenceCommand}_getGoToPreference(e){return e.getOption(58).multipleReferences}}(0,$.r1)(class extends es{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",title:{...I.vv("goToReferences.label","Go to References"),mnemonicTitle:I.NC({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")},precondition:T.Ao.and(S.u.hasReferenceProvider,U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated()),keybinding:{when:S.u.editorTextFocus,primary:1094,weight:100},menu:[{id:$.eH.EditorContext,group:"navigation",order:1.45},{id:$.eH.MenubarGoMenu,precondition:null,group:"4_symbol_nav",order:5}]})}async _getLocationModel(e,t,i,n){return new D.oQ(await (0,G.aA)(e.referenceProvider,t,i,!0,n),I.NC("ref.title","References"))}}),(0,$.r1)(class extends es{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",title:I.vv("references.action.label","Peek References"),precondition:T.Ao.and(S.u.hasReferenceProvider,U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated()),menu:{id:$.eH.EditorContextPeek,group:"peek",order:6}})}async _getLocationModel(e,t,i,n){return new D.oQ(await (0,G.aA)(e.referenceProvider,t,i,!1,n),I.NC("ref.title","References"))}});class eo extends X{constructor(e,t,i){super(e,{id:"editor.action.goToLocation",title:I.vv("label.generic","Go to Any Symbol"),precondition:T.Ao.and(U.Jy.notInPeekEditor,S.u.isInEmbeddedEditor.toNegated())}),this._references=t,this._gotoMultipleBehaviour=i}async _getLocationModel(e,t,i,n){return new D.oQ(this._references,I.NC("generic.title","Locations"))}_getNoResultFoundMessage(e){return e&&I.NC("generic.noResult","No results for '{0}'",e.word)||""}_getGoToPreference(e){var t;return null!==(t=this._gotoMultipleBehaviour)&&void 0!==t?t:e.getOption(58).multipleReferences}_getAlternativeCommand(){return""}}q.P.registerCommand({id:"editor.action.goToLocations",metadata:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:m.o},{name:"position",description:"The position at which to start",constraint:w.L.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto`"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:async(e,t,i,n,s,o,r)=>{(0,p.p_)(m.o.isUri(t)),(0,p.p_)(w.L.isIPosition(i)),(0,p.p_)(Array.isArray(n)),(0,p.p_)(void 0===s||"string"==typeof s),(0,p.p_)(void 0===r||"boolean"==typeof r);let l=e.get(b.$),a=await l.openCodeEditor({resource:t},l.getFocusedCodeEditor());if((0,_.CL)(a))return a.setPosition(i),a.revealPositionInCenterIfOutsideViewport(i,0),a.invokeWithinContext(e=>{let t=new class extends eo{_getNoResultFoundMessage(e){return o||super._getNoResultFoundMessage(e)}}({muteMessage:!o,openInPeek:!!r,openToSide:!1},n,s);e.get(R.TG).invokeFunction(t.run.bind(t),a)})}}),q.P.registerCommand({id:"editor.action.peekLocations",metadata:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:m.o},{name:"position",description:"The position at which to start",constraint:w.L.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto`"}]},handler:async(e,t,i,n,s)=>{e.get(q.H).executeCommand("editor.action.goToLocations",t,i,n,s,void 0,!0)}}),q.P.registerCommand({id:"editor.action.findReferences",handler:(e,t,i)=>{(0,p.p_)(m.o.isUri(t)),(0,p.p_)(w.L.isIPosition(i));let n=e.get(Q.p),s=e.get(b.$);return s.openCodeEditor({resource:t},s.getFocusedCodeEditor()).then(e=>{if(!(0,_.CL)(e)||!e.hasModel())return;let t=k.J.get(e);if(!t)return;let s=(0,c.PG)(t=>(0,G.aA)(n.referenceProvider,e.getModel(),w.L.lift(i),!1,t).then(e=>new D.oQ(e,I.NC("ref.title","References")))),o=new y.e(i.lineNumber,i.column,i.lineNumber,i.column);return Promise.resolve(t.toggleWidget(o,s,!1))})}}),q.P.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations")},40184:function(e,t,i){"use strict";i.d(t,{L3:function(){return m},aA:function(){return f},f4:function(){return p},nD:function(){return c},zq:function(){return g}});var n=i(9488),s=i(71050),o=i(17301),r=i(66663),l=i(16830),a=i(71922),d=i(1293);function h(e,t){return t.uri.scheme===e.uri.scheme||!(0,r.Gs)(t.uri,r.lg.walkThroughSnippet,r.lg.vscodeChatCodeBlock,r.lg.vscodeChatCodeCompareBlock,r.lg.vscodeCopilotBackingChatCodeBlock)}async function u(e,t,i,s){let r=i.ordered(e),l=r.map(i=>Promise.resolve(s(i,e,t)).then(void 0,e=>{(0,o.Cp)(e)})),a=await Promise.all(l);return(0,n.kX)(a.flat()).filter(t=>h(e,t))}function c(e,t,i,n){return u(t,i,e,(e,t,i)=>e.provideDefinition(t,i,n))}function g(e,t,i,n){return u(t,i,e,(e,t,i)=>e.provideDeclaration(t,i,n))}function p(e,t,i,n){return u(t,i,e,(e,t,i)=>e.provideImplementation(t,i,n))}function m(e,t,i,n){return u(t,i,e,(e,t,i)=>e.provideTypeDefinition(t,i,n))}function f(e,t,i,n,s){return u(t,i,e,async(e,t,i)=>{var o,r;let l=null===(o=await e.provideReferences(t,i,{includeDeclaration:!0},s))||void 0===o?void 0:o.filter(e=>h(t,e));if(!n||!l||2!==l.length)return l;let a=null===(r=await e.provideReferences(t,i,{includeDeclaration:!1},s))||void 0===r?void 0:r.filter(e=>h(t,e));return a&&1===a.length?a:l})}async function _(e){let t=await e(),i=new d.oQ(t,""),n=i.references.map(e=>e.link);return i.dispose(),n}(0,l.sb)("_executeDefinitionProvider",(e,t,i)=>{let n=e.get(a.p),o=c(n.definitionProvider,t,i,s.Ts.None);return _(()=>o)}),(0,l.sb)("_executeTypeDefinitionProvider",(e,t,i)=>{let n=e.get(a.p),o=m(n.typeDefinitionProvider,t,i,s.Ts.None);return _(()=>o)}),(0,l.sb)("_executeDeclarationProvider",(e,t,i)=>{let n=e.get(a.p),o=g(n.declarationProvider,t,i,s.Ts.None);return _(()=>o)}),(0,l.sb)("_executeReferenceProvider",(e,t,i)=>{let n=e.get(a.p),o=f(n.referenceProvider,t,i,!1,s.Ts.None);return _(()=>o)}),(0,l.sb)("_executeImplementationProvider",(e,t,i)=>{let n=e.get(a.p),o=p(n.implementationProvider,t,i,s.Ts.None);return _(()=>o)})},82005:function(e,t,i){"use strict";i.d(t,{yN:function(){return h}});var n=i(4669),s=i(5976),o=i(1432);class r{constructor(e,t){this.target=e.target,this.isLeftClick=e.event.leftButton,this.isMiddleClick=e.event.middleButton,this.isRightClick=e.event.rightButton,this.hasTriggerModifier=!!e.event[t.triggerModifier],this.hasSideBySideModifier=!!e.event[t.triggerSideBySideModifier],this.isNoneOrSingleMouseDown=e.event.detail<=1}}class l{constructor(e,t){this.keyCodeIsTriggerKey=e.keyCode===t.triggerKey,this.keyCodeIsSideBySideKey=e.keyCode===t.triggerSideBySideKey,this.hasTriggerModifier=!!e[t.triggerModifier]}}class a{constructor(e,t,i,n){this.triggerKey=e,this.triggerModifier=t,this.triggerSideBySideKey=i,this.triggerSideBySideModifier=n}equals(e){return this.triggerKey===e.triggerKey&&this.triggerModifier===e.triggerModifier&&this.triggerSideBySideKey===e.triggerSideBySideKey&&this.triggerSideBySideModifier===e.triggerSideBySideModifier}}function d(e){return"altKey"===e?o.dz?new a(57,"metaKey",6,"altKey"):new a(5,"ctrlKey",6,"altKey"):o.dz?new a(6,"altKey",57,"metaKey"):new a(6,"altKey",5,"ctrlKey")}class h extends s.JT{constructor(e,t){var i;super(),this._onMouseMoveOrRelevantKeyDown=this._register(new n.Q5),this.onMouseMoveOrRelevantKeyDown=this._onMouseMoveOrRelevantKeyDown.event,this._onExecute=this._register(new n.Q5),this.onExecute=this._onExecute.event,this._onCancel=this._register(new n.Q5),this.onCancel=this._onCancel.event,this._editor=e,this._extractLineNumberFromMouseEvent=null!==(i=null==t?void 0:t.extractLineNumberFromMouseEvent)&&void 0!==i?i:e=>e.target.position?e.target.position.lineNumber:0,this._opts=d(this._editor.getOption(78)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration(e=>{if(e.hasChanged(78)){let e=d(this._editor.getOption(78));this._opts.equals(e)||(this._opts=e,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire())}})),this._register(this._editor.onMouseMove(e=>this._onEditorMouseMove(new r(e,this._opts)))),this._register(this._editor.onMouseDown(e=>this._onEditorMouseDown(new r(e,this._opts)))),this._register(this._editor.onMouseUp(e=>this._onEditorMouseUp(new r(e,this._opts)))),this._register(this._editor.onKeyDown(e=>this._onEditorKeyDown(new l(e,this._opts)))),this._register(this._editor.onKeyUp(e=>this._onEditorKeyUp(new l(e,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(e=>this._onDidChangeCursorSelection(e))),this._register(this._editor.onDidChangeModel(e=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(e=>{(e.scrollTopChanged||e.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(e){e.selection&&e.selection.startColumn!==e.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(e){this._lastMouseMoveEvent=e,this._onMouseMoveOrRelevantKeyDown.fire([e,null])}_onEditorMouseDown(e){this._hasTriggerKeyOnMouseDown=e.hasTriggerModifier,this._lineNumberOnMouseDown=this._extractLineNumberFromMouseEvent(e)}_onEditorMouseUp(e){let t=this._extractLineNumberFromMouseEvent(e);this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===t&&this._onExecute.fire(e)}_onEditorKeyDown(e){this._lastMouseMoveEvent&&(e.keyCodeIsTriggerKey||e.keyCodeIsSideBySideKey&&e.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,e]):e.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(e){e.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}},22470:function(e,t,i){"use strict";i.d(t,{S:function(){return y}});var n,s=i(15393),o=i(17301),r=i(59365),l=i(5976);i(96808);var a=i(14410),d=i(16830),h=i(24314),u=i(72042),c=i(88216),g=i(82005),p=i(36943),m=i(63580),f=i(32064),_=i(95817),v=i(40184),b=i(71922),C=i(84901),w=function(e,t){return function(i,n){t(i,n,e)}};let y=n=class{constructor(e,t,i,n){this.textModelResolverService=t,this.languageService=i,this.languageFeaturesService=n,this.toUnhook=new l.SL,this.toUnhookForKeyboard=new l.SL,this.currentWordAtPosition=null,this.previousPromise=null,this.editor=e,this.linkDecorations=this.editor.createDecorationsCollection();let s=new g.yN(e);this.toUnhook.add(s),this.toUnhook.add(s.onMouseMoveOrRelevantKeyDown(([e,t])=>{this.startFindDefinitionFromMouse(e,null!=t?t:void 0)})),this.toUnhook.add(s.onExecute(e=>{this.isEnabled(e)&&this.gotoDefinition(e.target.position,e.hasSideBySideModifier).catch(e=>{(0,o.dL)(e)}).finally(()=>{this.removeLinkDecorations()})})),this.toUnhook.add(s.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(e){return e.getContribution(n.ID)}async startFindDefinitionFromCursor(e){await this.startFindDefinition(e),this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(e=>{e&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))}startFindDefinitionFromMouse(e,t){if(9===e.target.type&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(e,t)){this.currentWordAtPosition=null,this.removeLinkDecorations();return}let i=e.target.position;this.startFindDefinition(i)}async startFindDefinition(e){var t;let i;this.toUnhookForKeyboard.clear();let n=e?null===(t=this.editor.getModel())||void 0===t?void 0:t.getWordAtPosition(e):null;if(!n){this.currentWordAtPosition=null,this.removeLinkDecorations();return}if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===n.startColumn&&this.currentWordAtPosition.endColumn===n.endColumn&&this.currentWordAtPosition.word===n.word)return;this.currentWordAtPosition=n;let l=new a.yy(this.editor,15);this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=(0,s.PG)(t=>this.findDefinition(e,t));try{i=await this.previousPromise}catch(e){(0,o.dL)(e);return}if(!i||!i.length||!l.validate(this.editor)){this.removeLinkDecorations();return}let d=i[0].originSelectionRange?h.e.lift(i[0].originSelectionRange):new h.e(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn);if(i.length>1){let e=d;for(let{originSelectionRange:t}of i)t&&(e=h.e.plusRange(e,t));this.addDecoration(e,new r.W5().appendText(m.NC("multipleResults","Click to show {0} definitions.",i.length)))}else{let e=i[0];if(!e.uri)return;this.textModelResolverService.createModelReference(e.uri).then(t=>{if(!t.object||!t.object.textEditorModel){t.dispose();return}let{object:{textEditorModel:i}}=t,{startLineNumber:n}=e.range;if(n<1||n>i.getLineCount()){t.dispose();return}let s=this.getPreviewValue(i,n,e),o=this.languageService.guessLanguageIdByFilepathOrFirstLine(i.uri);this.addDecoration(d,s?new r.W5().appendCodeblock(o||"",s):void 0),t.dispose()})}}getPreviewValue(e,t,i){let s=i.range,o=s.endLineNumber-s.startLineNumber;o>=n.MAX_SOURCE_PREVIEW_LINES&&(s=this.getPreviewRangeBasedOnIndentation(e,t));let r=this.stripIndentationFromPreviewRange(e,t,s);return r}stripIndentationFromPreviewRange(e,t,i){let n=e.getLineFirstNonWhitespaceColumn(t),s=n;for(let n=t+1;n{let i=!t&&this.editor.getOption(88)&&!this.isInPeekEditor(e),n=new _.BT({openToSide:t,openInPeek:i,muteMessage:!0},{title:{value:"",original:""},id:"",precondition:void 0});return n.run(e)})}isInPeekEditor(e){let t=e.get(f.i6);return p.Jy.inPeekEditor.getValue(t)}dispose(){this.toUnhook.dispose(),this.toUnhookForKeyboard.dispose()}};y.ID="editor.contrib.gotodefinitionatposition",y.MAX_SOURCE_PREVIEW_LINES=8,y=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([w(1,c.S),w(2,u.O),w(3,b.p)],y),(0,d._K)(y.ID,y,2)},29010:function(e,t,i){"use strict";i.d(t,{J:function(){return eh}});var n,s,o=i(15393),r=i(17301),l=i(22258),a=i(5976),d=i(11640),h=i(50187),u=i(24314),c=i(36943),g=i(63580),p=i(94565),m=i(33108),f=i(32064),_=i(72065),v=i(49989),b=i(66315),C=i(59422),w=i(87060),y=i(1293),S=i(65321),L=i(23937),k=i(41264),D=i(4669),x=i(66663),N=i(95935);i(37640);var E=i(22874),I=i(84901),T=i(4256),M=i(68801),R=i(72042),A=i(88216),P=i(67488),O=i(34650),F=i(59834),B=i(60075),W=i(91847),H=i(44349),V=i(86253),z=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},K=function(e,t){return function(i,n){t(i,n,e)}};let U=class{constructor(e){this._resolverService=e}hasChildren(e){return e instanceof y.oQ||e instanceof y.F2}getChildren(e){if(e instanceof y.oQ)return e.groups;if(e instanceof y.F2)return e.resolve(this._resolverService).then(e=>e.children);throw Error("bad tree")}};U=z([K(0,A.S)],U);class ${getHeight(){return 23}getTemplateId(e){return e instanceof y.F2?Q.id:Y.id}}let q=class{constructor(e){this._keybindingService=e}getKeyboardNavigationLabel(e){var t;if(e instanceof y.WX){let i=null===(t=e.parent.getPreview(e))||void 0===t?void 0:t.preview(e.range);if(i)return i.value}return(0,N.EZ)(e.uri)}};q=z([K(0,W.d)],q);class j{getId(e){return e instanceof y.WX?e.id:e.uri}}let G=class extends a.JT{constructor(e,t){super(),this._labelService=t;let i=document.createElement("div");i.classList.add("reference-file"),this.file=this._register(new F.g(i,{supportHighlights:!0})),this.badge=new P.Z(S.R3(i,S.$(".count")),{},V.ku),e.appendChild(i)}set(e,t){let i=(0,N.XX)(e.uri);this.file.setLabel(this._labelService.getUriBasenameLabel(e.uri),this._labelService.getUriLabel(i,{relative:!0}),{title:this._labelService.getUriLabel(e.uri),matches:t});let n=e.children.length;this.badge.setCount(n),n>1?this.badge.setTitleFormat((0,g.NC)("referencesCount","{0} references",n)):this.badge.setTitleFormat((0,g.NC)("referenceCount","{0} reference",n))}};G=z([K(1,H.e)],G);let Q=n=class{constructor(e){this._instantiationService=e,this.templateId=n.id}renderTemplate(e){return this._instantiationService.createInstance(G,e)}renderElement(e,t,i){i.set(e.element,(0,B.mB)(e.filterData))}disposeTemplate(e){e.dispose()}};Q.id="FileReferencesRenderer",Q=n=z([K(0,_.TG)],Q);class Z extends a.JT{constructor(e){super(),this.label=this._register(new O.q(e))}set(e,t){var i;let n=null===(i=e.parent.getPreview(e))||void 0===i?void 0:i.preview(e.range);if(n&&n.value){let{value:e,highlight:i}=n;t&&!B.CL.isDefault(t)?(this.label.element.classList.toggle("referenceMatch",!1),this.label.set(e,(0,B.mB)(t))):(this.label.element.classList.toggle("referenceMatch",!0),this.label.set(e,[i]))}else this.label.set(`${(0,N.EZ)(e.uri)}:${e.range.startLineNumber+1}:${e.range.startColumn+1}`)}}class Y{constructor(){this.templateId=Y.id}renderTemplate(e){return new Z(e)}renderElement(e,t,i){i.set(e.element,e.filterData)}disposeTemplate(e){e.dispose()}}Y.id="OneReferenceRenderer";class J{getWidgetAriaLabel(){return(0,g.NC)("treeAriaLabel","References")}getAriaLabel(e){return e.ariaMessage}}var X=i(97781),ee=i(64862),et=function(e,t){return function(i,n){t(i,n,e)}};class ei{constructor(e,t){this._editor=e,this._model=t,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new a.SL,this._callOnModelChange=new a.SL,this._callOnDispose.add(this._editor.onDidChangeModel(()=>this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();let e=this._editor.getModel();if(e){for(let t of this._model.references)if(t.uri.toString()===e.uri.toString()){this._addDecorations(t.parent);return}}}_addDecorations(e){if(!this._editor.hasModel())return;this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));let t=[],i=[];for(let n=0,s=e.children.length;n{let s=n.deltaDecorations([],t);for(let t=0;t{e.equals(9)&&(this._keybindingService.dispatchEvent(e,e.target),e.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(es,"ReferencesWidget",this._treeContainer,new $,[this._instantiationService.createInstance(Q),this._instantiationService.createInstance(Y)],this._instantiationService.createInstance(U),t),this._splitView.addView({onDidChange:D.ju.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:e=>{this._preview.layout({height:this._dim.height,width:e})}},L.M.Distribute),this._splitView.addView({onDidChange:D.ju.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:e=>{this._treeContainer.style.height=`${this._dim.height}px`,this._treeContainer.style.width=`${e}px`,this._tree.layout(this._dim.height,e)}},L.M.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));let i=(e,t)=>{e instanceof y.WX&&("show"===t&&this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:t,source:"tree"}))};this._tree.onDidOpen(e=>{e.sideBySide?i(e.element,"side"):e.editorOptions.pinned?i(e.element,"goto"):i(e.element,"show")}),S.Cp(this._treeContainer)}_onWidth(e){this._dim&&this._doLayoutBody(this._dim.height,e)}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._dim=new S.Ro(t,e),this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(t),this._splitView.resizeView(0,t*this.layoutData.ratio)}setSelection(e){return this._revealReference(e,!0).then(()=>{this._model&&(this._tree.setSelection([e]),this._tree.setFocus([e]))})}setModel(e){return(this._disposeOnNewModel.clear(),this._model=e,this._model)?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=g.NC("noResults","No results"),S.$Z(this._messageContainer),Promise.resolve(void 0)):(S.Cp(this._messageContainer),this._decorationsManager=new ei(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(e=>this._tree.rerender(e))),this._disposeOnNewModel.add(this._preview.onMouseDown(e=>{let{event:t,target:i}=e;if(2!==t.detail)return;let n=this._getFocusedReference();n&&this._onDidSelectReference.fire({element:{uri:n.uri,range:i.range},kind:t.ctrlKey||t.metaKey||t.altKey?"side":"open",source:"editor"})})),this.container.classList.add("results-loaded"),S.$Z(this._treeContainer),S.$Z(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(1===this._model.groups.length?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){let[e]=this._tree.getFocus();return e instanceof y.WX?e:e instanceof y.F2&&e.children.length>0?e.children[0]:void 0}async revealReference(e){await this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:"goto",source:"tree"})}async _revealReference(e,t){if(this._revealedReference===e)return;this._revealedReference=e,e.uri.scheme!==x.lg.inMemory?this.setTitle((0,N.Hx)(e.uri),this._uriLabel.getUriLabel((0,N.XX)(e.uri))):this.setTitle(g.NC("peekView.alternateTitle","References"));let i=this._textModelResolverService.createModelReference(e.uri);this._tree.getInput()===e.parent||(t&&this._tree.reveal(e.parent),await this._tree.expand(e.parent)),this._tree.reveal(e);let n=await i;if(!this._model){n.dispose();return}(0,a.B9)(this._previewModelReference);let s=n.object;if(s){let t=this._preview.getModel()===s.textEditorModel?0:1,i=u.e.lift(e.range).collapseToStart();this._previewModelReference=n,this._preview.setModel(s.textEditorModel),this._preview.setSelection(i),this._preview.revealRangeInCenter(i,t)}else this._preview.setModel(this._previewNotAvailableMessage),n.dispose()}};eo=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([et(3,X.XE),et(4,A.S),et(5,_.TG),et(6,c.Fw),et(7,H.e),et(8,ee.tJ),et(9,W.d),et(10,R.O),et(11,T.c_)],eo);var er=i(29102),el=i(39282),ea=function(e,t){return function(i,n){t(i,n,e)}};let ed=new f.uy("referenceSearchVisible",!1,g.NC("referenceSearchVisible","Whether reference peek is visible, like 'Peek References' or 'Peek Definition'")),eh=s=class{static get(e){return e.getContribution(s.ID)}constructor(e,t,i,n,s,o,r,l){this._defaultTreeKeyboardSupport=e,this._editor=t,this._editorService=n,this._notificationService=s,this._instantiationService=o,this._storageService=r,this._configurationService=l,this._disposables=new a.SL,this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=ed.bindTo(i)}dispose(){var e,t;this._referenceSearchVisible.reset(),this._disposables.dispose(),null===(e=this._widget)||void 0===e||e.dispose(),null===(t=this._model)||void 0===t||t.dispose(),this._widget=void 0,this._model=void 0}toggleWidget(e,t,i){let n;if(this._widget&&(n=this._widget.position),this.closeWidget(),n&&e.containsPosition(n))return;this._peekMode=i,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));let s="peekViewLayout",o=en.fromJSON(this._storageService.get(s,0,"{}"));this._widget=this._instantiationService.createInstance(eo,this._editor,this._defaultTreeKeyboardSupport,o),this._widget.setTitle(g.NC("labelLoading","Loading...")),this._widget.show(e),this._disposables.add(this._widget.onDidClose(()=>{t.cancel(),this._widget&&(this._storageService.store(s,JSON.stringify(this._widget.layoutData),0,1),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(e=>{let{element:t,kind:n}=e;if(t)switch(n){case"open":"editor"===e.source&&this._configurationService.getValue("editor.stablePeek")||this.openReference(t,!1,!1);break;case"side":this.openReference(t,!0,!1);break;case"goto":i?this._gotoReference(t,!0):this.openReference(t,!1,!0)}}));let r=++this._requestIdPool;t.then(t=>{var i;if(r!==this._requestIdPool||!this._widget){t.dispose();return}return null===(i=this._model)||void 0===i||i.dispose(),this._model=t,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle(g.NC("metaTitle.N","{0} ({1})",this._model.title,this._model.references.length));let t=this._editor.getModel().uri,i=new h.L(e.startLineNumber,e.startColumn),n=this._model.nearestReference(t,i);if(n)return this._widget.setSelection(n).then(()=>{this._widget&&"editor"===this._editor.getOption(87)&&this._widget.focusOnPreviewEditor()})}})},e=>{this._notificationService.error(e)})}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}async goToNextOrPreviousReference(e){if(!this._editor.hasModel()||!this._model||!this._widget)return;let t=this._widget.position;if(!t)return;let i=this._model.nearestReference(this._editor.getModel().uri,t);if(!i)return;let n=this._model.nextOrPreviousReference(i,e),s=this._editor.hasTextFocus(),o=this._widget.isPreviewEditorFocused();await this._widget.setSelection(n),await this._gotoReference(n,!1),s?this._editor.focus():this._widget&&o&&this._widget.focusOnPreviewEditor()}async revealReference(e){this._editor.hasModel()&&this._model&&this._widget&&await this._widget.revealReference(e)}closeWidget(e=!0){var t,i;null===(t=this._widget)||void 0===t||t.dispose(),null===(i=this._model)||void 0===i||i.dispose(),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,e&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(e,t){var i;null===(i=this._widget)||void 0===i||i.hide(),this._ignoreModelChangeEvent=!0;let n=u.e.lift(e.range).collapseToStart();return this._editorService.openCodeEditor({resource:e.uri,options:{selection:n,selectionSource:"code.jump",pinned:t}},this._editor).then(e=>{var t;if(this._ignoreModelChangeEvent=!1,!e||!this._widget){this.closeWidget();return}if(this._editor===e)this._widget.show(n),this._widget.focusOnReferenceTree();else{let i=s.get(e),r=this._model.clone();this.closeWidget(),e.focus(),null==i||i.toggleWidget(n,(0,o.PG)(e=>Promise.resolve(r)),null!==(t=this._peekMode)&&void 0!==t&&t)}},e=>{this._ignoreModelChangeEvent=!1,(0,r.dL)(e)})}openReference(e,t,i){t||this.closeWidget();let{uri:n,range:s}=e;this._editorService.openCodeEditor({resource:n,options:{selection:s,selectionSource:"code.jump",pinned:i}},this._editor,t)}};function eu(e,t){let i=(0,c.rc)(e);if(!i)return;let n=eh.get(i);n&&t(n)}eh.ID="editor.contrib.referencesController",eh=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([ea(2,f.i6),ea(3,d.$),ea(4,C.lT),ea(5,_.TG),ea(6,w.Uy),ea(7,m.Ui)],eh),v.W.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:(0,l.gx)(2089,60),when:f.Ao.or(ed,c.Jy.inPeekEditor),handler(e){eu(e,e=>{e.changeFocusBetweenPreviewAndReferences()})}}),v.W.registerCommandAndKeybindingRule({id:"goToNextReference",weight:90,primary:62,secondary:[70],when:f.Ao.or(ed,c.Jy.inPeekEditor),handler(e){eu(e,e=>{e.goToNextOrPreviousReference(!0)})}}),v.W.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:90,primary:1086,secondary:[1094],when:f.Ao.or(ed,c.Jy.inPeekEditor),handler(e){eu(e,e=>{e.goToNextOrPreviousReference(!1)})}}),p.P.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference"),p.P.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference"),p.P.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch"),p.P.registerCommand("closeReferenceSearch",e=>eu(e,e=>e.closeWidget())),v.W.registerKeybindingRule({id:"closeReferenceSearch",weight:-1,primary:9,secondary:[1033],when:f.Ao.and(c.Jy.inPeekEditor,f.Ao.not("config.editor.stablePeek"))}),v.W.registerKeybindingRule({id:"closeReferenceSearch",weight:250,primary:9,secondary:[1033],when:f.Ao.and(ed,f.Ao.not("config.editor.stablePeek"),f.Ao.or(er.u.editorTextFocus,el.Ul.negate()))}),v.W.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:f.Ao.and(ed,b.CQ,b.PS.negate(),b.uJ.negate()),handler(e){var t;let i=e.get(b.Lw),n=null===(t=i.lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof y.WX&&eu(e,e=>e.revealReference(n[0]))}}),v.W.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:f.Ao.and(ed,b.CQ,b.PS.negate(),b.uJ.negate()),handler(e){var t;let i=e.get(b.Lw),n=null===(t=i.lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof y.WX&&eu(e,e=>e.openReference(n[0],!0,!0))}}),p.P.registerCommand("openReference",e=>{var t;let i=e.get(b.Lw),n=null===(t=i.lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof y.WX&&eu(e,e=>e.openReference(n[0],!1,!0))})},1293:function(e,t,i){"use strict";i.d(t,{F2:function(){return p},WX:function(){return c},oQ:function(){return m}});var n=i(17301),s=i(4669),o=i(44742),r=i(5976),l=i(43702),a=i(95935),d=i(97295),h=i(24314),u=i(63580);class c{constructor(e,t,i,n){this.isProviderFirst=e,this.parent=t,this.link=i,this._rangeCallback=n,this.id=o.a.nextId()}get uri(){return this.link.uri}get range(){var e,t;return null!==(t=null!==(e=this._range)&&void 0!==e?e:this.link.targetSelectionRange)&&void 0!==t?t:this.link.range}set range(e){this._range=e,this._rangeCallback(this)}get ariaMessage(){var e;let t=null===(e=this.parent.getPreview(this))||void 0===e?void 0:e.preview(this.range);return t?(0,u.NC)({key:"aria.oneReference.preview",comment:["Placeholders are: 0: filename, 1:line number, 2: column number, 3: preview snippet of source code"]},"{0} in {1} on line {2} at column {3}",t.value,(0,a.EZ)(this.uri),this.range.startLineNumber,this.range.startColumn):(0,u.NC)("aria.oneReference","in {0} on line {1} at column {2}",(0,a.EZ)(this.uri),this.range.startLineNumber,this.range.startColumn)}}class g{constructor(e){this._modelReference=e}dispose(){this._modelReference.dispose()}preview(e,t=8){let i=this._modelReference.object.textEditorModel;if(!i)return;let{startLineNumber:n,startColumn:s,endLineNumber:o,endColumn:r}=e,l=i.getWordUntilPosition({lineNumber:n,column:s-t}),a=new h.e(n,l.startColumn,n,s),d=new h.e(o,r,o,1073741824),u=i.getValueInRange(a).replace(/^\s+/,""),c=i.getValueInRange(e),g=i.getValueInRange(d).replace(/\s+$/,"");return{value:u+c+g,highlight:{start:u.length,end:u.length+c.length}}}}class p{constructor(e,t){this.parent=e,this.uri=t,this.children=[],this._previews=new l.Y9}dispose(){(0,r.B9)(this._previews.values()),this._previews.clear()}getPreview(e){return this._previews.get(e.uri)}get ariaMessage(){let e=this.children.length;return 1===e?(0,u.NC)("aria.fileReferences.1","1 symbol in {0}, full path {1}",(0,a.EZ)(this.uri),this.uri.fsPath):(0,u.NC)("aria.fileReferences.N","{0} symbols in {1}, full path {2}",e,(0,a.EZ)(this.uri),this.uri.fsPath)}async resolve(e){if(0!==this._previews.size)return this;for(let t of this.children)if(!this._previews.has(t.uri))try{let i=await e.createModelReference(t.uri);this._previews.set(t.uri,new g(i))}catch(e){(0,n.dL)(e)}return this}}class m{constructor(e,t){let i;this.groups=[],this.references=[],this._onDidChangeReferenceRange=new s.Q5,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=e,this._title=t;let[n]=e;for(let t of(e.sort(m._compareReferences),e))if(i&&a.SF.isEqual(i.uri,t.uri,!0)||(i=new p(this,t.uri),this.groups.push(i)),0===i.children.length||0!==m._compareReferences(t,i.children[i.children.length-1])){let e=new c(n===t,i,t,e=>this._onDidChangeReferenceRange.fire(e));this.references.push(e),i.children.push(e)}}dispose(){(0,r.B9)(this.groups),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new m(this._links,this._title)}get title(){return this._title}get isEmpty(){return 0===this.groups.length}get ariaMessage(){return this.isEmpty?(0,u.NC)("aria.result.0","No results found"):1===this.references.length?(0,u.NC)("aria.result.1","Found 1 symbol in {0}",this.references[0].uri.fsPath):1===this.groups.length?(0,u.NC)("aria.result.n1","Found {0} symbols in {1}",this.references.length,this.groups[0].uri.fsPath):(0,u.NC)("aria.result.nm","Found {0} symbols in {1} files",this.references.length,this.groups.length)}nextOrPreviousReference(e,t){let{parent:i}=e,n=i.children.indexOf(e),s=i.children.length,o=i.parent.groups.length;return 1===o||t&&n+10?(n=t?(n+1)%s:(n+s-1)%s,i.children[n]):(n=i.parent.groups.indexOf(i),t)?(n=(n+1)%o,i.parent.groups[n].children[0]):(n=(n+o-1)%o,i.parent.groups[n].children[i.parent.groups[n].children.length-1])}nearestReference(e,t){let i=this.references.map((i,n)=>({idx:n,prefixLen:d.Mh(i.uri.toString(),e.toString()),offsetDist:100*Math.abs(i.range.startLineNumber-t.lineNumber)+Math.abs(i.range.startColumn-t.column)})).sort((e,t)=>e.prefixLen>t.prefixLen?-1:e.prefixLent.offsetDist?1:0)[0];if(i)return this.references[i.idx]}referenceAt(e,t){for(let i of this.references)if(i.uri.toString()===e.toString()&&h.e.containsPosition(i.range,t))return i}firstReference(){for(let e of this.references)if(e.isProviderFirst)return e;return this.references[0]}static _compareReferences(e,t){return a.SF.compare(e.uri,t.uri)||h.e.compareRangesUsingStarts(e.range,t.range)}}},33018:function(e,t,i){"use strict";i.d(t,{m:function(){return d}});var n,s=i(65321),o=i(30986),r=i(5976),l=i(91847);let a=s.$,d=class extends r.JT{get hasContent(){return this._hasContent}constructor(e){super(),this._keybindingService=e,this._hasContent=!1,this.hoverElement=a("div.hover-row.status-bar"),this.hoverElement.tabIndex=0,this.actionsElement=s.R3(this.hoverElement,a("div.actions"))}addAction(e){let t=this._keybindingService.lookupKeybinding(e.commandId),i=t?t.getLabel():null;return this._hasContent=!0,this._register(o.Sr.render(this.actionsElement,e,i))}append(e){let t=s.R3(this.actionsElement,e);return this._hasContent=!0,t}};d=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=l.d,function(e,t){n(e,t,0)})],d)},41095:function(e,t,i){"use strict";i.d(t,{OP:function(){return h}});var n=i(15393),s=i(71050),o=i(17301),r=i(16830),l=i(71922);class a{constructor(e,t,i){this.provider=e,this.hover=t,this.ordinal=i}}async function d(e,t,i,n,s){let r=await Promise.resolve(e.provideHover(i,n,s)).catch(o.Cp);if(r&&function(e){let t=void 0!==e.range,i=void 0!==e.contents&&e.contents&&e.contents.length>0;return t&&i}(r))return new a(e,r,t)}function h(e,t,i,s){let o=e.ordered(t),r=o.map((e,n)=>d(e,n,t,i,s));return n.Aq.fromPromises(r).coalesce()}(0,r.sb)("_executeHoverProvider",(e,t,i)=>{let n=e.get(l.p);return h(n.hoverProvider,t,i,s.Ts.None).map(e=>e.hover).toPromise()})},18987:function(e,t,i){"use strict";i.d(t,{B:function(){return u},Gd:function(){return p},Io:function(){return c},UW:function(){return o},ap:function(){return m},cW:function(){return h},eG:function(){return _},eY:function(){return g},iS:function(){return d},m:function(){return f},p:function(){return r},q_:function(){return a},s9:function(){return s},wf:function(){return l}});var n=i(63580);let s="editor.action.showHover",o="editor.action.showDefinitionPreviewHover",r="editor.action.scrollUpHover",l="editor.action.scrollDownHover",a="editor.action.scrollLeftHover",d="editor.action.scrollRightHover",h="editor.action.pageUpHover",u="editor.action.pageDownHover",c="editor.action.goToTopHover",g="editor.action.goToBottomHover",p="editor.action.increaseHoverVerbosityLevel",m=n.NC({key:"increaseHoverVerbosityLevel",comment:["Label for action that will increase the hover verbosity level."]},"Increase Hover Verbosity Level"),f="editor.action.decreaseHoverVerbosityLevel",_=n.NC({key:"decreaseHoverVerbosityLevel",comment:["Label for action that will decrease the hover verbosity level."]},"Decrease Hover Verbosity Level")},82830:function(e,t,i){"use strict";var n,s,o,r,l=i(18987),a=i(22258),d=i(16830),h=i(24314),u=i(29102),c=i(22470),g=i(91265),p=i(43155),m=i(63580);i(24826),(n=o||(o={})).NoAutoFocus="noAutoFocus",n.FocusIfVisible="focusIfVisible",n.AutoFocusImmediately="autoFocusImmediately";class f extends d.R6{constructor(){super({id:l.s9,label:m.NC({key:"showOrFocusHover",comment:["Label for action that will trigger the showing/focusing of a hover in the editor.","If the hover is not visible, it will show the hover.","This allows for users to show the hover without using the mouse."]},"Show or Focus Hover"),metadata:{description:m.vv("showOrFocusHoverDescription","Show or focus the editor hover which shows documentation, references, and other content for a symbol at the current cursor position."),args:[{name:"args",schema:{type:"object",properties:{focus:{description:"Controls if and when the hover should take focus upon being triggered by this action.",enum:[o.NoAutoFocus,o.FocusIfVisible,o.AutoFocusImmediately],enumDescriptions:[m.NC("showOrFocusHover.focus.noAutoFocus","The hover will not automatically take focus."),m.NC("showOrFocusHover.focus.focusIfVisible","The hover will take focus only if it is already visible."),m.NC("showOrFocusHover.focus.autoFocusImmediately","The hover will automatically take focus when it appears.")],default:o.FocusIfVisible}}}}]},alias:"Show or Focus Hover",precondition:void 0,kbOpts:{kbExpr:u.u.editorTextFocus,primary:(0,a.gx)(2089,2087),weight:100}})}run(e,t,i){if(!t.hasModel())return;let n=g.c.get(t);if(!n)return;let s=null==i?void 0:i.focus,r=o.FocusIfVisible;Object.values(o).includes(s)?r=s:"boolean"==typeof s&&s&&(r=o.AutoFocusImmediately);let l=e=>{let i=t.getPosition(),s=new h.e(i.lineNumber,i.column,i.lineNumber,i.column);n.showContentHover(s,1,1,e)},a=2===t.getOption(2);n.isHoverVisible?r!==o.NoAutoFocus?n.focus():l(a):l(a||r===o.AutoFocusImmediately)}}class _ extends d.R6{constructor(){super({id:l.UW,label:m.NC({key:"showDefinitionPreviewHover",comment:["Label for action that will trigger the showing of definition preview hover in the editor.","This allows for users to show the definition preview hover without using the mouse."]},"Show Definition Preview Hover"),alias:"Show Definition Preview Hover",precondition:void 0,metadata:{description:m.vv("showDefinitionPreviewHoverDescription","Show the definition preview hover in the editor.")}})}run(e,t){let i=g.c.get(t);if(!i)return;let n=t.getPosition();if(!n)return;let s=new h.e(n.lineNumber,n.column,n.lineNumber,n.column),o=c.S.get(t);if(!o)return;let r=o.startFindDefinitionFromCursor(n);r.then(()=>{i.showContentHover(s,1,1,!0)})}}class v extends d.R6{constructor(){super({id:l.p,label:m.NC({key:"scrollUpHover",comment:["Action that allows to scroll up in the hover widget with the up arrow when the hover widget is focused."]},"Scroll Up Hover"),alias:"Scroll Up Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:16,weight:100},metadata:{description:m.vv("scrollUpHoverDescription","Scroll up the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.scrollUp()}}class b extends d.R6{constructor(){super({id:l.wf,label:m.NC({key:"scrollDownHover",comment:["Action that allows to scroll down in the hover widget with the up arrow when the hover widget is focused."]},"Scroll Down Hover"),alias:"Scroll Down Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:18,weight:100},metadata:{description:m.vv("scrollDownHoverDescription","Scroll down the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.scrollDown()}}class C extends d.R6{constructor(){super({id:l.q_,label:m.NC({key:"scrollLeftHover",comment:["Action that allows to scroll left in the hover widget with the left arrow when the hover widget is focused."]},"Scroll Left Hover"),alias:"Scroll Left Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:15,weight:100},metadata:{description:m.vv("scrollLeftHoverDescription","Scroll left the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.scrollLeft()}}class w extends d.R6{constructor(){super({id:l.iS,label:m.NC({key:"scrollRightHover",comment:["Action that allows to scroll right in the hover widget with the right arrow when the hover widget is focused."]},"Scroll Right Hover"),alias:"Scroll Right Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:17,weight:100},metadata:{description:m.vv("scrollRightHoverDescription","Scroll right the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.scrollRight()}}class y extends d.R6{constructor(){super({id:l.cW,label:m.NC({key:"pageUpHover",comment:["Action that allows to page up in the hover widget with the page up command when the hover widget is focused."]},"Page Up Hover"),alias:"Page Up Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:11,secondary:[528],weight:100},metadata:{description:m.vv("pageUpHoverDescription","Page up the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.pageUp()}}class S extends d.R6{constructor(){super({id:l.B,label:m.NC({key:"pageDownHover",comment:["Action that allows to page down in the hover widget with the page down command when the hover widget is focused."]},"Page Down Hover"),alias:"Page Down Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:12,secondary:[530],weight:100},metadata:{description:m.vv("pageDownHoverDescription","Page down the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.pageDown()}}class L extends d.R6{constructor(){super({id:l.Io,label:m.NC({key:"goToTopHover",comment:["Action that allows to go to the top of the hover widget with the home command when the hover widget is focused."]},"Go To Top Hover"),alias:"Go To Bottom Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:14,secondary:[2064],weight:100},metadata:{description:m.vv("goToTopHoverDescription","Go to the top of the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.goToTop()}}class k extends d.R6{constructor(){super({id:l.eY,label:m.NC({key:"goToBottomHover",comment:["Action that allows to go to the bottom in the hover widget with the end command when the hover widget is focused."]},"Go To Bottom Hover"),alias:"Go To Bottom Hover",precondition:u.u.hoverFocused,kbOpts:{kbExpr:u.u.hoverFocused,primary:13,secondary:[2066],weight:100},metadata:{description:m.vv("goToBottomHoverDescription","Go to the bottom of the editor hover.")}})}run(e,t){let i=g.c.get(t);i&&i.goToBottom()}}class D extends d.R6{constructor(){super({id:l.Gd,label:l.ap,alias:"Increase Hover Verbosity Level",precondition:u.u.hoverVisible})}run(e,t,i){var n;null===(n=g.c.get(t))||void 0===n||n.updateMarkdownHoverVerbosityLevel(p.bq.Increase,null==i?void 0:i.index,null==i?void 0:i.focus)}}class x extends d.R6{constructor(){super({id:l.m,label:l.eG,alias:"Decrease Hover Verbosity Level",precondition:u.u.hoverVisible})}run(e,t,i){var n;null===(n=g.c.get(t))||void 0===n||n.updateMarkdownHoverVerbosityLevel(p.bq.Decrease,null==i?void 0:i.index,null==i?void 0:i.focus)}}var N=i(75974),E=i(97781),I=i(66520),T=i(22374),M=i(65321),R=i(9488),A=i(15393),P=i(17301),O=i(5976),F=i(95935),B=i(71922),W=i(36357),H=i(75396),V=i(69543),z=i(87997),K=i(81299),U=i(98674),$=i(50988),q=i(90535),j=function(e,t){return function(i,n){t(i,n,e)}};let G=M.$;class Q{constructor(e,t,i){this.owner=e,this.range=t,this.marker=i}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let Z={type:1,filter:{include:z.yN.QuickFix},triggerAction:z.aQ.QuickFixHover},Y=class{constructor(e,t,i,n){this._editor=e,this._markerDecorationsService=t,this._openerService=i,this._languageFeaturesService=n,this.hoverOrdinal=1,this.recentMarkerCodeActionsInfo=void 0}computeSync(e,t){if(!this._editor.hasModel()||1!==e.type&&!e.supportsMarkerHover)return[];let i=this._editor.getModel(),n=e.range.startLineNumber,s=i.getLineMaxColumn(n),o=[];for(let r of t){let t=r.range.startLineNumber===n?r.range.startColumn:1,l=r.range.endLineNumber===n?r.range.endColumn:s,a=this._markerDecorationsService.getMarker(i.uri,r);if(!a)continue;let d=new h.e(e.range.startLineNumber,t,e.range.startLineNumber,l);o.push(new Q(this,d,a))}return o}renderHoverParts(e,t){if(!t.length)return O.JT.None;let i=new O.SL;t.forEach(t=>e.fragment.appendChild(this.renderMarkerHover(t,i)));let n=1===t.length?t[0]:t.sort((e,t)=>U.ZL.compare(e.marker.severity,t.marker.severity))[0];return this.renderMarkerStatusbar(e,n,i),i}renderMarkerHover(e,t){let i=G("div.hover-row");i.tabIndex=0;let n=M.R3(i,G("div.marker.hover-contents")),{source:s,message:o,code:r,relatedInformation:l}=e.marker;this._editor.applyFontInfo(n);let a=M.R3(n,G("span"));if(a.style.whiteSpace="pre-wrap",a.innerText=o,s||r){if(r&&"string"!=typeof r){let e=G("span");if(s){let t=M.R3(e,G("span"));t.innerText=s}let i=M.R3(e,G("a.code-link"));i.setAttribute("href",r.target.toString()),t.add(M.nm(i,"click",e=>{this._openerService.open(r.target,{allowCommands:!0}),e.preventDefault(),e.stopPropagation()}));let o=M.R3(i,G("span"));o.innerText=r.value;let l=M.R3(n,e);l.style.opacity="0.6",l.style.paddingLeft="6px"}else{let e=M.R3(n,G("span"));e.style.opacity="0.6",e.style.paddingLeft="6px",e.innerText=s&&r?`${s}(${r})`:s||`(${r})`}}if((0,R.Of)(l))for(let{message:e,resource:i,startLineNumber:s,startColumn:o}of l){let r=M.R3(n,G("div"));r.style.marginTop="8px";let l=M.R3(r,G("a"));l.innerText=`${(0,F.EZ)(i)}(${s}, ${o}): `,l.style.cursor="pointer",t.add(M.nm(l,"click",e=>{e.stopPropagation(),e.preventDefault(),this._openerService&&this._openerService.open(i,{fromUserGesture:!0,editorOptions:{selection:{startLineNumber:s,startColumn:o}}}).catch(P.dL)}));let a=M.R3(r,G("span"));a.innerText=e,this._editor.applyFontInfo(a)}return i}renderMarkerStatusbar(e,t,i){if(t.marker.severity===U.ZL.Error||t.marker.severity===U.ZL.Warning||t.marker.severity===U.ZL.Info){let i=K.c.get(this._editor);i&&e.statusBar.addAction({label:m.NC("view problem","View Problem"),commandId:K.v.ID,run:()=>{e.hide(),i.showAtMarker(t.marker),this._editor.focus()}})}if(!this._editor.getOption(91)){let n=e.statusBar.append(G("div"));this.recentMarkerCodeActionsInfo&&(U.H0.makeKey(this.recentMarkerCodeActionsInfo.marker)===U.H0.makeKey(t.marker)?this.recentMarkerCodeActionsInfo.hasCodeActions||(n.textContent=m.NC("noQuickFixes","No quick fixes available")):this.recentMarkerCodeActionsInfo=void 0);let s=this.recentMarkerCodeActionsInfo&&!this.recentMarkerCodeActionsInfo.hasCodeActions?O.JT.None:(0,A.Vg)(()=>n.textContent=m.NC("checkingForQuickFixes","Checking for quick fixes..."),200,i);n.textContent||(n.textContent=String.fromCharCode(160));let o=this.getCodeActions(t.marker);i.add((0,O.OF)(()=>o.cancel())),o.then(o=>{if(s.dispose(),this.recentMarkerCodeActionsInfo={marker:t.marker,hasCodeActions:o.validActions.length>0},!this.recentMarkerCodeActionsInfo.hasCodeActions){o.dispose(),n.textContent=m.NC("noQuickFixes","No quick fixes available");return}n.style.display="none";let r=!1;i.add((0,O.OF)(()=>{r||o.dispose()})),e.statusBar.addAction({label:m.NC("quick fixes","Quick Fix..."),commandId:H.cz,run:t=>{r=!0;let i=V.G.get(this._editor),n=M.i(t);e.hide(),null==i||i.showCodeActions(Z,o,{x:n.left,y:n.top,width:n.width,height:n.height})}})},P.dL)}}getCodeActions(e){return(0,A.PG)(t=>(0,H.aI)(this._languageFeaturesService.codeActionProvider,this._editor.getModel(),new h.e(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),Z,q.Ex.None,t))}};Y=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([j(1,W.i),j(2,$.v),j(3,B.p)],Y);var J=i(98685);(s=r||(r={})).intro=(0,m.NC)("intro","Focus on the hover widget to cycle through the hover parts with the Tab key."),s.increaseVerbosity=(0,m.NC)("increaseVerbosity","- The focused hover part verbosity level can be increased with the Increase Hover Verbosity command.",l.Gd),s.decreaseVerbosity=(0,m.NC)("decreaseVerbosity","- The focused hover part verbosity level can be decreased with the Decrease Hover Verbosity command.",l.m),s.hoverContent=(0,m.NC)("contentHover","The last focused hover content is the following."),(0,d._K)(g.c.ID,g.c,2),(0,d.Qr)(f),(0,d.Qr)(_),(0,d.Qr)(v),(0,d.Qr)(b),(0,d.Qr)(C),(0,d.Qr)(w),(0,d.Qr)(y),(0,d.Qr)(S),(0,d.Qr)(L),(0,d.Qr)(k),(0,d.Qr)(D),(0,d.Qr)(x),I.Ae.register(T.D5),I.Ae.register(Y),(0,E.Ic)((e,t)=>{let i=e.getColor(N.CNo);i&&(t.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${i.transparent(.5)}; }`),t.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${i.transparent(.5)}; }`),t.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${i.transparent(.5)}; }`))}),J.V.register(new class{dispose(){var e;null===(e=this._provider)||void 0===e||e.dispose()}}),J.V.register(new class{dispose(){var e;null===(e=this._provider)||void 0===e||e.dispose()}}),J.V.register(new class{dispose(){}})},91265:function(e,t,i){"use strict";i.d(t,{c:function(){return Q}});var n,s,o,r=i(18987),l=i(5976),a=i(72065),d=i(43677),h=i(91847),u=i(15393),c=i(65321),g=i(17735),p=i(50187);class m extends l.JT{constructor(e,t=new c.Ro(10,10)){super(),this._editor=e,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._resizableNode=this._register(new g.f),this._contentPosition=null,this._isResizing=!1,this._resizableNode.domNode.style.position="absolute",this._resizableNode.minSize=c.Ro.lift(t),this._resizableNode.layout(t.height,t.width),this._resizableNode.enableSashes(!0,!0,!0,!0),this._register(this._resizableNode.onDidResize(e=>{this._resize(new c.Ro(e.dimension.width,e.dimension.height)),e.done&&(this._isResizing=!1)})),this._register(this._resizableNode.onDidWillResize(()=>{this._isResizing=!0}))}get isResizing(){return this._isResizing}getDomNode(){return this._resizableNode.domNode}getPosition(){return this._contentPosition}get position(){var e;return(null===(e=this._contentPosition)||void 0===e?void 0:e.position)?p.L.lift(this._contentPosition.position):void 0}_availableVerticalSpaceAbove(e){let t=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(e);if(!t||!i)return;let n=c.i(t);return n.top+i.top-30}_availableVerticalSpaceBelow(e){let t=this._editor.getDomNode(),i=this._editor.getScrolledVisiblePosition(e);if(!t||!i)return;let n=c.i(t),s=c.D6(t.ownerDocument.body),o=n.top+i.top+i.height;return s.height-o-24}_findPositionPreference(e,t){var i,n;let s;let o=Math.min(null!==(i=this._availableVerticalSpaceBelow(t))&&void 0!==i?i:1/0,e),r=Math.min(null!==(n=this._availableVerticalSpaceAbove(t))&&void 0!==n?n:1/0,e),l=Math.min(e,Math.min(Math.max(r,o),e));return 1==(s=this._editor.getOption(60).above?l<=r?1:2:l<=o?2:1)?this._resizableNode.enableSashes(!0,!0,!1,!1):this._resizableNode.enableSashes(!1,!0,!0,!1),s}_resize(e){this._resizableNode.layout(e.height,e.width)}}var f=i(32064),_=i(33108),v=i(31106),b=i(29102),C=i(30986),w=function(e,t){return function(i,n){t(i,n,e)}};let y=n=class extends m{get isColorPickerVisible(){var e;return!!(null===(e=this._visibleData)||void 0===e?void 0:e.colorPicker)}get isVisibleFromKeyboard(){var e;return(null===(e=this._visibleData)||void 0===e?void 0:e.source)===1}get isVisible(){var e;return null!==(e=this._hoverVisibleKey.get())&&void 0!==e&&e}get isFocused(){var e;return null!==(e=this._hoverFocusedKey.get())&&void 0!==e&&e}constructor(e,t,i,n,s){let o=e.getOption(67)+8,r=new c.Ro(150,o);super(e,r),this._configurationService=i,this._accessibilityService=n,this._keybindingService=s,this._hover=this._register(new C.c8),this._minimumSize=r,this._hoverVisibleKey=b.u.hoverVisible.bindTo(t),this._hoverFocusedKey=b.u.hoverFocused.bindTo(t),c.R3(this._resizableNode.domNode,this._hover.containerDomNode),this._resizableNode.domNode.style.zIndex="50",this._register(this._editor.onDidLayoutChange(()=>{this.isVisible&&this._updateMaxDimensions()})),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(50)&&this._updateFont()}));let l=this._register(c.go(this._resizableNode.domNode));this._register(l.onDidFocus(()=>{this._hoverFocusedKey.set(!0)})),this._register(l.onDidBlur(()=>{this._hoverFocusedKey.set(!1)})),this._setHoverData(void 0),this._editor.addContentWidget(this)}dispose(){var e;super.dispose(),null===(e=this._visibleData)||void 0===e||e.disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return n.ID}static _applyDimensions(e,t,i){let n="number"==typeof t?`${t}px`:t,s="number"==typeof i?`${i}px`:i;e.style.width=n,e.style.height=s}_setContentsDomNodeDimensions(e,t){let i=this._hover.contentsDomNode;return n._applyDimensions(i,e,t)}_setContainerDomNodeDimensions(e,t){let i=this._hover.containerDomNode;return n._applyDimensions(i,e,t)}_setHoverWidgetDimensions(e,t){this._setContentsDomNodeDimensions(e,t),this._setContainerDomNodeDimensions(e,t),this._layoutContentWidget()}static _applyMaxDimensions(e,t,i){let n="number"==typeof t?`${t}px`:t,s="number"==typeof i?`${i}px`:i;e.style.maxWidth=n,e.style.maxHeight=s}_setHoverWidgetMaxDimensions(e,t){n._applyMaxDimensions(this._hover.contentsDomNode,e,t),n._applyMaxDimensions(this._hover.containerDomNode,e,t),this._hover.containerDomNode.style.setProperty("--vscode-hover-maxWidth","number"==typeof e?`${e}px`:e),this._layoutContentWidget()}_setAdjustedHoverWidgetDimensions(e){this._setHoverWidgetMaxDimensions("none","none");let t=e.width,i=e.height;this._setHoverWidgetDimensions(t,i)}_updateResizableNodeMaxDimensions(){var e,t;let i=null!==(e=this._findMaximumRenderingWidth())&&void 0!==e?e:1/0,n=null!==(t=this._findMaximumRenderingHeight())&&void 0!==t?t:1/0;this._resizableNode.maxSize=new c.Ro(i,n),this._setHoverWidgetMaxDimensions(i,n)}_resize(e){var t,i;n._lastDimensions=new c.Ro(e.width,e.height),this._setAdjustedHoverWidgetDimensions(e),this._resizableNode.layout(e.height,e.width),this._updateResizableNodeMaxDimensions(),this._hover.scrollbar.scanDomNode(),this._editor.layoutContentWidget(this),null===(i=null===(t=this._visibleData)||void 0===t?void 0:t.colorPicker)||void 0===i||i.layout()}_findAvailableSpaceVertically(){var e;let t=null===(e=this._visibleData)||void 0===e?void 0:e.showAtPosition;if(t)return 1===this._positionPreference?this._availableVerticalSpaceAbove(t):this._availableVerticalSpaceBelow(t)}_findMaximumRenderingHeight(){let e=this._findAvailableSpaceVertically();if(!e)return;let t=6;return Array.from(this._hover.contentsDomNode.children).forEach(e=>{t+=e.clientHeight}),Math.min(e,t)}_isHoverTextOverflowing(){this._hover.containerDomNode.style.setProperty("--vscode-hover-whiteSpace","nowrap"),this._hover.containerDomNode.style.setProperty("--vscode-hover-sourceWhiteSpace","nowrap");let e=Array.from(this._hover.contentsDomNode.children).some(e=>e.scrollWidth>e.clientWidth);return this._hover.containerDomNode.style.removeProperty("--vscode-hover-whiteSpace"),this._hover.containerDomNode.style.removeProperty("--vscode-hover-sourceWhiteSpace"),e}_findMaximumRenderingWidth(){if(!this._editor||!this._editor.hasModel())return;let e=this._isHoverTextOverflowing(),t=void 0===this._contentWidth?0:this._contentWidth-2;if(!e&&!(this._hover.containerDomNode.clientWidththis._visibleData.closestMouseDistance+4)&&(this._visibleData.closestMouseDistance=Math.min(this._visibleData.closestMouseDistance,n),!0)}_setHoverData(e){var t;null===(t=this._visibleData)||void 0===t||t.disposables.dispose(),this._visibleData=e,this._hoverVisibleKey.set(!!e),this._hover.containerDomNode.classList.toggle("hidden",!e)}_updateFont(){let{fontSize:e,lineHeight:t}=this._editor.getOption(50),i=this._hover.contentsDomNode;i.style.fontSize=`${e}px`,i.style.lineHeight=`${t/e}`;let n=Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code"));n.forEach(e=>this._editor.applyFontInfo(e))}_updateContent(e){let t=this._hover.contentsDomNode;t.style.paddingBottom="",t.textContent="",t.appendChild(e)}_layoutContentWidget(){this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}_updateMaxDimensions(){let e=Math.max(this._editor.getLayoutInfo().height/4,250,n._lastDimensions.height),t=Math.max(.66*this._editor.getLayoutInfo().width,500,n._lastDimensions.width);this._setHoverWidgetMaxDimensions(t,e)}_render(e,t){this._setHoverData(t),this._updateFont(),this._updateContent(e),this._updateMaxDimensions(),this.onContentsChanged(),this._editor.render()}getPosition(){var e;return this._visibleData?{position:this._visibleData.showAtPosition,secondaryPosition:this._visibleData.showAtSecondaryPosition,positionAffinity:this._visibleData.isBeforeContent?3:void 0,preference:[null!==(e=this._positionPreference)&&void 0!==e?e:1]}:null}showAt(e,t){var i,n,s,o;if(!this._editor||!this._editor.hasModel())return;this._render(e,t);let r=c.wn(this._hover.containerDomNode),l=t.showAtPosition;this._positionPreference=null!==(i=this._findPositionPreference(r,l))&&void 0!==i?i:1,this.onContentsChanged(),t.stoleFocus&&this._hover.containerDomNode.focus(),null===(n=t.colorPicker)||void 0===n||n.layout();let a=this._hover.containerDomNode.ownerDocument.activeElement===this._hover.containerDomNode,d=a&&(0,C.uX)(!0===this._configurationService.getValue("accessibility.verbosity.hover")&&this._accessibilityService.isScreenReaderOptimized(),null!==(o=null===(s=this._keybindingService.lookupKeybinding("editor.action.accessibleView"))||void 0===s?void 0:s.getAriaLabel())&&void 0!==o?o:"");d&&(this._hover.contentsDomNode.ariaLabel=this._hover.contentsDomNode.textContent+", "+d)}hide(){if(!this._visibleData)return;let e=this._visibleData.stoleFocus||this._hoverFocusedKey.get();this._setHoverData(void 0),this._resizableNode.maxSize=new c.Ro(1/0,1/0),this._resizableNode.clearSashHoverState(),this._hoverFocusedKey.set(!1),this._editor.layoutContentWidget(this),e&&this._editor.focus()}_removeConstraintsRenderNormally(){let e=this._editor.getLayoutInfo();this._resizableNode.layout(e.height,e.width),this._setHoverWidgetDimensions("auto","auto")}setMinimumDimensions(e){this._minimumSize=new c.Ro(Math.max(this._minimumSize.width,e.width),Math.max(this._minimumSize.height,e.height)),this._updateMinimumWidth()}_updateMinimumWidth(){let e=void 0===this._contentWidth?this._minimumSize.width:Math.min(this._contentWidth,this._minimumSize.width);this._resizableNode.minSize=new c.Ro(e,this._minimumSize.height)}onContentsChanged(){var e;this._removeConstraintsRenderNormally();let t=this._hover.containerDomNode,i=c.wn(t),n=c.w(t);if(this._resizableNode.layout(i,n),this._setHoverWidgetDimensions(n,i),i=c.wn(t),n=c.w(t),this._contentWidth=n,this._updateMinimumWidth(),this._resizableNode.layout(i,n),null===(e=this._visibleData)||void 0===e?void 0:e.showAtPosition){let e=c.wn(this._hover.containerDomNode);this._positionPreference=this._findPositionPreference(e,this._visibleData.showAtPosition)}this._layoutContentWidget()}focus(){this._hover.containerDomNode.focus()}scrollUp(){let e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._editor.getOption(50);this._hover.scrollbar.setScrollPosition({scrollTop:e-t.lineHeight})}scrollDown(){let e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._editor.getOption(50);this._hover.scrollbar.setScrollPosition({scrollTop:e+t.lineHeight})}scrollLeft(){let e=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:e-30})}scrollRight(){let e=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:e+30})}pageUp(){let e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:e-t})}pageDown(){let e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:e+t})}goToTop(){this._hover.scrollbar.setScrollPosition({scrollTop:0})}goToBottom(){this._hover.scrollbar.setScrollPosition({scrollTop:this._hover.scrollbar.getScrollDimensions().scrollHeight})}};function S(e,t,i,n,s,o){let r=Math.max(Math.abs(e-(i+s/2))-s/2,0),l=Math.max(Math.abs(t-(n+o/2))-o/2,0);return Math.sqrt(r*r+l*l)}y.ID="editor.contrib.resizableContentHoverWidget",y._lastDimensions=new c.Ro(0,0),y=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([w(1,f.i6),w(2,_.Ui),w(3,v.F),w(4,h.d)],y);var L=i(24314),k=i(84901),D=i(43155),x=i(17301),N=i(4669);class E{constructor(e,t,i){this.value=e,this.isComplete=t,this.hasLoadingMessage=i}}class I extends l.JT{constructor(e,t){super(),this._editor=e,this._computer=t,this._onResult=this._register(new N.Q5),this.onResult=this._onResult.event,this._firstWaitScheduler=this._register(new u.pY(()=>this._triggerAsyncComputation(),0)),this._secondWaitScheduler=this._register(new u.pY(()=>this._triggerSyncComputation(),0)),this._loadingMessageScheduler=this._register(new u.pY(()=>this._triggerLoadingMessage(),0)),this._state=0,this._asyncIterable=null,this._asyncIterableDone=!1,this._result=[]}dispose(){this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),super.dispose()}get _hoverTime(){return this._editor.getOption(60).delay}get _firstWaitTime(){return this._hoverTime/2}get _secondWaitTime(){return this._hoverTime-this._firstWaitTime}get _loadingMessageTime(){return 3*this._hoverTime}_setState(e,t=!0){this._state=e,t&&this._fireResult()}_triggerAsyncComputation(){this._setState(2),this._secondWaitScheduler.schedule(this._secondWaitTime),this._computer.computeAsync?(this._asyncIterableDone=!1,this._asyncIterable=(0,u.zS)(e=>this._computer.computeAsync(e)),(async()=>{try{for await(let e of this._asyncIterable)e&&(this._result.push(e),this._fireResult());this._asyncIterableDone=!0,(3===this._state||4===this._state)&&this._setState(0)}catch(e){(0,x.dL)(e)}})()):this._asyncIterableDone=!0}_triggerSyncComputation(){this._computer.computeSync&&(this._result=this._result.concat(this._computer.computeSync())),this._setState(this._asyncIterableDone?0:3)}_triggerLoadingMessage(){3===this._state&&this._setState(4)}_fireResult(){if(1===this._state||2===this._state)return;let e=0===this._state,t=4===this._state;this._onResult.fire(new E(this._result.slice(0),e,t))}start(e){if(0===e)0===this._state&&(this._setState(1),this._firstWaitScheduler.schedule(this._firstWaitTime),this._loadingMessageScheduler.schedule(this._loadingMessageTime));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation()}}cancel(){this._firstWaitScheduler.cancel(),this._secondWaitScheduler.cancel(),this._loadingMessageScheduler.cancel(),this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),this._result=[],this._setState(0,!1)}}var T=i(66520),M=i(22374),R=i(51586),A=i(9488);class P{get anchor(){return this._anchor}set anchor(e){this._anchor=e}get shouldFocus(){return this._shouldFocus}set shouldFocus(e){this._shouldFocus=e}get source(){return this._source}set source(e){this._source=e}get insistOnKeepingHoverVisible(){return this._insistOnKeepingHoverVisible}set insistOnKeepingHoverVisible(e){this._insistOnKeepingHoverVisible=e}constructor(e,t){this._editor=e,this._participants=t,this._anchor=null,this._shouldFocus=!1,this._source=0,this._insistOnKeepingHoverVisible=!1}static _getLineDecorations(e,t){if(1!==t.type&&!t.supportsMarkerHover)return[];let i=e.getModel(),n=t.range.startLineNumber;if(n>i.getLineCount())return[];let s=i.getLineMaxColumn(n);return e.getLineDecorations(n).filter(e=>{if(e.options.isWholeLine)return!0;let i=e.range.startLineNumber===n?e.range.startColumn:1,o=e.range.endLineNumber===n?e.range.endColumn:s;if(e.options.showIfCollapsed){if(i>t.range.startColumn+1||t.range.endColumn-1>o)return!1}else if(i>t.range.startColumn||t.range.endColumn>o)return!1;return!0})}computeAsync(e){let t=this._anchor;if(!this._editor.hasModel()||!t)return u.Aq.EMPTY;let i=P._getLineDecorations(this._editor,t);return u.Aq.merge(this._participants.map(n=>n.computeAsync?n.computeAsync(t,i,e):u.Aq.EMPTY))}computeSync(){if(!this._editor.hasModel()||!this._anchor)return[];let e=P._getLineDecorations(this._editor,this._anchor),t=[];for(let i of this._participants)t=t.concat(i.computeSync(this._anchor,e));return(0,A.kX)(t)}}class O{constructor(e,t,i){this.anchor=e,this.messages=t,this.isComplete=i}filter(e){let t=this.messages.filter(t=>t.isValidForHoverAnchor(e));return t.length===this.messages.length?this:new F(this,this.anchor,t,this.isComplete)}}class F extends O{constructor(e,t,i,n){super(t,i,n),this.original=e}filter(e){return this.original.filter(e)}}class B{constructor(e,t,i,n,s,o,r,l,a,d){this.initialMousePosX=e,this.initialMousePosY=t,this.colorPicker=i,this.showAtPosition=n,this.showAtSecondaryPosition=s,this.preferAbove=o,this.stoleFocus=r,this.source=l,this.isBeforeContent=a,this.disposables=d,this.closestMouseDistance=void 0}}var W=i(33018),H=function(e,t){return function(i,n){t(i,n,e)}};let V=s=class extends l.JT{constructor(e,t,i){for(let n of(super(),this._editor=e,this._instantiationService=t,this._keybindingService=i,this._currentResult=null,this._onContentsChanged=this._register(new N.Q5),this.onContentsChanged=this._onContentsChanged.event,this._widget=this._register(this._instantiationService.createInstance(y,this._editor)),this._participants=[],T.Ae.getAll())){let e=this._instantiationService.createInstance(n,this._editor);e instanceof M.D5&&!(e instanceof R.G)&&(this._markdownHoverParticipant=e),this._participants.push(e)}this._participants.sort((e,t)=>e.hoverOrdinal-t.hoverOrdinal),this._computer=new P(this._editor,this._participants),this._hoverOperation=this._register(new I(this._editor,this._computer)),this._register(this._hoverOperation.onResult(e=>{if(!this._computer.anchor)return;let t=e.hasLoadingMessage?this._addLoadingMessage(e.value):e.value;this._withResult(new O(this._computer.anchor,t,e.isComplete))})),this._register(c.mu(this._widget.getDomNode(),"keydown",e=>{e.equals(9)&&this.hide()})),this._register(D.RW.onDidChange(()=>{this._widget.position&&this._currentResult&&this._setCurrentResult(this._currentResult)}))}_startShowingOrUpdateHover(e,t,i,n,s){if(!this._widget.position||!this._currentResult)return!!e&&(this._startHoverOperationIfNecessary(e,t,i,n,!1),!0);let o=this._editor.getOption(60).sticky,r=o&&s&&this._widget.isMouseGettingCloser(s.event.posx,s.event.posy);return r?(e&&this._startHoverOperationIfNecessary(e,t,i,n,!0),!0):e?!!(e&&this._currentResult.anchor.equals(e))||(e.canAdoptVisibleHover(this._currentResult.anchor,this._widget.position)?(this._setCurrentResult(this._currentResult.filter(e)),this._startHoverOperationIfNecessary(e,t,i,n,!1),!0):(this._setCurrentResult(null),this._startHoverOperationIfNecessary(e,t,i,n,!1),!0)):(this._setCurrentResult(null),!1)}_startHoverOperationIfNecessary(e,t,i,n,s){this._computer.anchor&&this._computer.anchor.equals(e)||(this._hoverOperation.cancel(),this._computer.anchor=e,this._computer.shouldFocus=n,this._computer.source=i,this._computer.insistOnKeepingHoverVisible=s,this._hoverOperation.start(t))}_setCurrentResult(e){this._currentResult!==e&&(e&&0===e.messages.length&&(e=null),this._currentResult=e,this._currentResult?this._renderMessages(this._currentResult.anchor,this._currentResult.messages):this._widget.hide())}_addLoadingMessage(e){if(this._computer.anchor){for(let t of this._participants)if(t.createLoadingMessage){let i=t.createLoadingMessage(this._computer.anchor);if(i)return e.slice(0).concat([i])}}return e}_withResult(e){this._widget.position&&this._currentResult&&this._currentResult.isComplete&&(!e.isComplete||this._computer.insistOnKeepingHoverVisible&&0===e.messages.length)||this._setCurrentResult(e)}_renderMessages(e,t){let{showAtPosition:i,showAtSecondaryPosition:n,highlightRange:o}=s.computeHoverRanges(this._editor,e.range,t),r=new l.SL,a=r.add(new W.m(this._keybindingService)),d=document.createDocumentFragment(),h=null,u={fragment:d,statusBar:a,setColorPicker:e=>h=e,onContentsChanged:()=>this._doOnContentsChanged(),setMinimumDimensions:e=>this._widget.setMinimumDimensions(e),hide:()=>this.hide()};for(let e of this._participants){let i=t.filter(t=>t.owner===e);i.length>0&&r.add(e.renderHoverParts(u,i))}let c=t.some(e=>e.isBeforeContent);if(a.hasContent&&d.appendChild(a.hoverElement),d.hasChildNodes()){if(o){let e=this._editor.createDecorationsCollection();e.set([{range:o,options:s._DECORATION_OPTIONS}]),r.add((0,l.OF)(()=>{e.clear()}))}this._widget.showAt(d,new B(e.initialMousePosX,e.initialMousePosY,h,i,n,this._editor.getOption(60).above,this._computer.shouldFocus,this._computer.source,c,r))}else r.dispose()}_doOnContentsChanged(){this._onContentsChanged.fire(),this._widget.onContentsChanged()}static computeHoverRanges(e,t,i){let n=1;if(e.hasModel()){let i=e._getViewModel(),s=i.coordinatesConverter,o=s.convertModelRangeToViewRange(t),r=new p.L(o.startLineNumber,i.getLineMinColumn(o.startLineNumber));n=s.convertViewPositionToModelPosition(r).column}let s=t.startLineNumber,o=t.startColumn,r=i[0].range,l=null;for(let e of i)r=L.e.plusRange(r,e.range),e.range.startLineNumber===s&&e.range.endLineNumber===s&&(o=Math.max(Math.min(o,e.range.startColumn),n)),e.forceShowAtRange&&(l=e.range);let a=l?l.getStartPosition():new p.L(s,t.startColumn),d=l?l.getStartPosition():new p.L(s,o);return{showAtPosition:a,showAtSecondaryPosition:d,highlightRange:r}}showsOrWillShow(e){if(this._widget.isResizing)return!0;let t=[];for(let i of this._participants)if(i.suggestHoverAnchor){let n=i.suggestHoverAnchor(e);n&&t.push(n)}let i=e.target;if(6===i.type&&t.push(new T.Qj(0,i.range,e.event.posx,e.event.posy)),7===i.type){let n=this._editor.getOption(50).typicalHalfwidthCharacterWidth/2;!i.detail.isAfterLines&&"number"==typeof i.detail.horizontalDistanceToText&&i.detail.horizontalDistanceToTextt.priority-e.priority),this._startShowingOrUpdateHover(t[0],0,0,!1,e))}startShowingAtRange(e,t,i,n){this._startShowingOrUpdateHover(new T.Qj(0,e,void 0,void 0),t,i,n,null)}async updateMarkdownHoverVerbosityLevel(e,t,i){var n;null===(n=this._markdownHoverParticipant)||void 0===n||n.updateMarkdownHoverVerbosityLevel(e,t,i)}markdownHoverContentAtIndex(e){var t,i;return null!==(i=null===(t=this._markdownHoverParticipant)||void 0===t?void 0:t.markdownHoverContentAtIndex(e))&&void 0!==i?i:""}doesMarkdownHoverAtIndexSupportVerbosityAction(e,t){var i,n;return null!==(n=null===(i=this._markdownHoverParticipant)||void 0===i?void 0:i.doesMarkdownHoverAtIndexSupportVerbosityAction(e,t))&&void 0!==n&&n}containsNode(e){return!!e&&this._widget.getDomNode().contains(e)}focus(){this._widget.focus()}scrollUp(){this._widget.scrollUp()}scrollDown(){this._widget.scrollDown()}scrollLeft(){this._widget.scrollLeft()}scrollRight(){this._widget.scrollRight()}pageUp(){this._widget.pageUp()}pageDown(){this._widget.pageDown()}goToTop(){this._widget.goToTop()}goToBottom(){this._widget.goToBottom()}hide(){this._computer.anchor=null,this._hoverOperation.cancel(),this._setCurrentResult(null)}get isColorPickerVisible(){return this._widget.isColorPickerVisible}get isVisibleFromKeyboard(){return this._widget.isVisibleFromKeyboard}get isVisible(){return this._widget.isVisible}get isFocused(){return this._widget.isFocused}get isResizing(){return this._widget.isResizing}get widget(){return this._widget}};V._DECORATION_OPTIONS=k.qx.register({description:"content-hover-highlight",className:"hoverHighlight"}),V=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([H(1,a.TG),H(2,h.d)],V),i(24826);var z=i(72545),K=i(59365),U=i(84973);class ${get lineNumber(){return this._lineNumber}set lineNumber(e){this._lineNumber=e}get lane(){return this._laneOrLine}set lane(e){this._laneOrLine=e}constructor(e){this._editor=e,this._lineNumber=-1,this._laneOrLine=U.U.Center}computeSync(){var e,t;let i=e=>({value:e}),n=this._editor.getLineDecorations(this._lineNumber),s=[],o="lineNo"===this._laneOrLine;if(!n)return s;for(let r of n){let n=null!==(t=null===(e=r.options.glyphMargin)||void 0===e?void 0:e.position)&&void 0!==t?t:U.U.Center;if(!o&&n!==this._laneOrLine)continue;let l=o?r.options.lineNumberHoverMessage:r.options.glyphMarginHoverMessage;!l||(0,K.CP)(l)||s.push(...(0,A._2)(l).map(i))}return s}}let q=c.$;class j extends l.JT{constructor(e,t,i){super(),this._renderDisposeables=this._register(new l.SL),this._editor=e,this._isVisible=!1,this._messages=[],this._hover=this._register(new C.c8),this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._markdownRenderer=this._register(new z.$({editor:this._editor},t,i)),this._computer=new $(this._editor),this._hoverOperation=this._register(new I(this._editor,this._computer)),this._register(this._hoverOperation.onResult(e=>{this._withResult(e.value)})),this._register(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged())),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(50)&&this._updateFont()})),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return j.ID}getDomNode(){return this._hover.containerDomNode}getPosition(){return null}_updateFont(){let e=Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code"));e.forEach(e=>this._editor.applyFontInfo(e))}_onModelDecorationsChanged(){this._isVisible&&(this._hoverOperation.cancel(),this._hoverOperation.start(0))}showsOrWillShow(e){let t=e.target;return 2===t.type&&t.detail.glyphMarginLane?(this._startShowingAt(t.position.lineNumber,t.detail.glyphMarginLane),!0):3===t.type&&(this._startShowingAt(t.position.lineNumber,"lineNo"),!0)}_startShowingAt(e,t){(this._computer.lineNumber!==e||this._computer.lane!==t)&&(this._hoverOperation.cancel(),this.hide(),this._computer.lineNumber=e,this._computer.lane=t,this._hoverOperation.start(0))}hide(){this._computer.lineNumber=-1,this._hoverOperation.cancel(),this._isVisible&&(this._isVisible=!1,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible))}_withResult(e){this._messages=e,this._messages.length>0?this._renderMessages(this._computer.lineNumber,this._messages):this.hide()}_renderMessages(e,t){this._renderDisposeables.clear();let i=document.createDocumentFragment();for(let e of t){let t=q("div.hover-row.markdown-hover"),n=c.R3(t,q("div.hover-contents")),s=this._renderDisposeables.add(this._markdownRenderer.render(e.value));n.appendChild(s.element),i.appendChild(t)}this._updateContents(i),this._showAt(e)}_updateContents(e){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(e),this._updateFont()}_showAt(e){this._isVisible||(this._isVisible=!0,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible));let t=this._editor.getLayoutInfo(),i=this._editor.getTopForLineNumber(e),n=this._editor.getScrollTop(),s=this._editor.getOption(67),o=this._hover.containerDomNode.clientHeight,r=t.glyphMarginLeft+t.glyphMarginWidth+("lineNo"===this._computer.lane?t.lineNumbersWidth:0);this._hover.containerDomNode.style.left=`${r}px`,this._hover.containerDomNode.style.top=`${Math.max(Math.round(i-n-(o-s)/2),0)}px`}}j.ID="editor.contrib.modesGlyphHoverWidget";var G=function(e,t){return function(i,n){t(i,n,e)}};let Q=o=class extends l.JT{constructor(e,t,i){super(),this._editor=e,this._instantiationService=t,this._keybindingService=i,this._onHoverContentsChanged=this._register(new N.Q5),this.shouldKeepOpenOnEditorMouseMoveOrLeave=!1,this._listenersStore=new l.SL,this._hoverState={mouseDown:!1,activatedByDecoratorClick:!1},this._reactToEditorMouseMoveRunner=this._register(new u.pY(()=>this._reactToEditorMouseMove(this._mouseMoveEvent),0)),this._hookListeners(),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(60)&&(this._unhookListeners(),this._hookListeners())}))}static get(e){return e.getContribution(o.ID)}_hookListeners(){let e=this._editor.getOption(60);this._hoverSettings={enabled:e.enabled,sticky:e.sticky,hidingDelay:e.delay},e.enabled?(this._listenersStore.add(this._editor.onMouseDown(e=>this._onEditorMouseDown(e))),this._listenersStore.add(this._editor.onMouseUp(()=>this._onEditorMouseUp())),this._listenersStore.add(this._editor.onMouseMove(e=>this._onEditorMouseMove(e))),this._listenersStore.add(this._editor.onKeyDown(e=>this._onKeyDown(e)))):(this._listenersStore.add(this._editor.onMouseMove(e=>this._onEditorMouseMove(e))),this._listenersStore.add(this._editor.onKeyDown(e=>this._onKeyDown(e)))),this._listenersStore.add(this._editor.onMouseLeave(e=>this._onEditorMouseLeave(e))),this._listenersStore.add(this._editor.onDidChangeModel(()=>{this._cancelScheduler(),this._hideWidgets()})),this._listenersStore.add(this._editor.onDidChangeModelContent(()=>this._cancelScheduler())),this._listenersStore.add(this._editor.onDidScrollChange(e=>this._onEditorScrollChanged(e)))}_unhookListeners(){this._listenersStore.clear()}_cancelScheduler(){this._mouseMoveEvent=void 0,this._reactToEditorMouseMoveRunner.cancel()}_onEditorScrollChanged(e){(e.scrollTopChanged||e.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(e){this._hoverState.mouseDown=!0;let t=this._shouldNotHideCurrentHoverWidget(e);t||this._hideWidgets()}_shouldNotHideCurrentHoverWidget(e){return!!(this._isMouseOnContentHoverWidget(e)||this._isMouseOnMarginHoverWidget(e)||this._isContentWidgetResizing())}_isMouseOnMarginHoverWidget(e){let t=e.target;return!!t&&12===t.type&&t.detail===j.ID}_isMouseOnContentHoverWidget(e){let t=e.target;return!!t&&9===t.type&&t.detail===y.ID}_onEditorMouseUp(){this._hoverState.mouseDown=!1}_onEditorMouseLeave(e){if(this.shouldKeepOpenOnEditorMouseMoveOrLeave)return;this._cancelScheduler();let t=this._shouldNotHideCurrentHoverWidget(e);t||this._hideWidgets()}_shouldNotRecomputeCurrentHoverWidget(e){let t=this._hoverSettings.sticky;return!!(((e,t)=>{let i=this._isMouseOnMarginHoverWidget(e);return t&&i})(e,t)||((e,t)=>{let i=this._isMouseOnContentHoverWidget(e);return t&&i})(e,t)||(e=>{var t;let i=this._isMouseOnContentHoverWidget(e),n=null===(t=this._contentWidget)||void 0===t?void 0:t.isColorPickerVisible;return i&&n})(e)||((e,t)=>{var i,n,s,o;return t&&(null===(i=this._contentWidget)||void 0===i?void 0:i.containsNode(null===(n=e.event.browserEvent.view)||void 0===n?void 0:n.document.activeElement))&&!(null===(o=null===(s=e.event.browserEvent.view)||void 0===s?void 0:s.getSelection())||void 0===o?void 0:o.isCollapsed)})(e,t))}_onEditorMouseMove(e){var t,i,n,s;if(this.shouldKeepOpenOnEditorMouseMoveOrLeave||(this._mouseMoveEvent=e,(null===(t=this._contentWidget)||void 0===t?void 0:t.isFocused)||(null===(i=this._contentWidget)||void 0===i?void 0:i.isResizing)))return;let o=this._hoverSettings.sticky;if(o&&(null===(n=this._contentWidget)||void 0===n?void 0:n.isVisibleFromKeyboard))return;let r=this._shouldNotRecomputeCurrentHoverWidget(e);if(r){this._reactToEditorMouseMoveRunner.cancel();return}let l=this._hoverSettings.hidingDelay,a=null===(s=this._contentWidget)||void 0===s?void 0:s.isVisible,d=a&&o&&l>0;if(d){this._reactToEditorMouseMoveRunner.isScheduled()||this._reactToEditorMouseMoveRunner.schedule(l);return}this._reactToEditorMouseMove(e)}_reactToEditorMouseMove(e){var t;if(!e)return;let i=e.target,n=null===(t=i.element)||void 0===t?void 0:t.classList.contains("colorpicker-color-decoration"),s=this._editor.getOption(148),o=this._hoverSettings.enabled,r=this._hoverState.activatedByDecoratorClick;if(n&&("click"===s&&!r||"hover"===s&&!o||"clickAndHover"===s&&!o&&!r)||!n&&!o&&!r){this._hideWidgets();return}let l=this._tryShowHoverWidget(e,0);if(l)return;let a=this._tryShowHoverWidget(e,1);a||this._hideWidgets()}_tryShowHoverWidget(e,t){let i,n;let s=this._getOrCreateContentWidget(),o=this._getOrCreateGlyphWidget();switch(t){case 0:i=s,n=o;break;case 1:i=o,n=s;break;default:throw Error(`HoverWidgetType ${t} is unrecognized`)}let r=i.showsOrWillShow(e);return r&&n.hide(),r}_onKeyDown(e){var t;if(!this._editor.hasModel())return;let i=this._keybindingService.softDispatch(e,this._editor.getDomNode()),n=1===i.kind||2===i.kind&&(i.commandId===r.s9||i.commandId===r.Gd||i.commandId===r.m)&&(null===(t=this._contentWidget)||void 0===t?void 0:t.isVisible);5===e.keyCode||6===e.keyCode||57===e.keyCode||4===e.keyCode||n||this._hideWidgets()}_hideWidgets(){var e,t,i;this._hoverState.mouseDown&&null!==(e=this._contentWidget)&&void 0!==e&&e.isColorPickerVisible||d.QG.dropDownVisible||(this._hoverState.activatedByDecoratorClick=!1,null===(t=this._glyphWidget)||void 0===t||t.hide(),null===(i=this._contentWidget)||void 0===i||i.hide())}_getOrCreateContentWidget(){return this._contentWidget||(this._contentWidget=this._instantiationService.createInstance(V,this._editor),this._listenersStore.add(this._contentWidget.onContentsChanged(()=>this._onHoverContentsChanged.fire()))),this._contentWidget}_getOrCreateGlyphWidget(){return this._glyphWidget||(this._glyphWidget=this._instantiationService.createInstance(j,this._editor)),this._glyphWidget}showContentHover(e,t,i,n,s=!1){this._hoverState.activatedByDecoratorClick=s,this._getOrCreateContentWidget().startShowingAtRange(e,t,i,n)}_isContentWidgetResizing(){var e;return(null===(e=this._contentWidget)||void 0===e?void 0:e.widget.isResizing)||!1}markdownHoverContentAtIndex(e){return this._getOrCreateContentWidget().markdownHoverContentAtIndex(e)}doesMarkdownHoverAtIndexSupportVerbosityAction(e,t){return this._getOrCreateContentWidget().doesMarkdownHoverAtIndexSupportVerbosityAction(e,t)}updateMarkdownHoverVerbosityLevel(e,t,i){this._getOrCreateContentWidget().updateMarkdownHoverVerbosityLevel(e,t,i)}focus(){var e;null===(e=this._contentWidget)||void 0===e||e.focus()}scrollUp(){var e;null===(e=this._contentWidget)||void 0===e||e.scrollUp()}scrollDown(){var e;null===(e=this._contentWidget)||void 0===e||e.scrollDown()}scrollLeft(){var e;null===(e=this._contentWidget)||void 0===e||e.scrollLeft()}scrollRight(){var e;null===(e=this._contentWidget)||void 0===e||e.scrollRight()}pageUp(){var e;null===(e=this._contentWidget)||void 0===e||e.pageUp()}pageDown(){var e;null===(e=this._contentWidget)||void 0===e||e.pageDown()}goToTop(){var e;null===(e=this._contentWidget)||void 0===e||e.goToTop()}goToBottom(){var e;null===(e=this._contentWidget)||void 0===e||e.goToBottom()}get isColorPickerVisible(){var e;return null===(e=this._contentWidget)||void 0===e?void 0:e.isColorPickerVisible}get isHoverVisible(){var e;return null===(e=this._contentWidget)||void 0===e?void 0:e.isVisible}dispose(){var e,t;super.dispose(),this._unhookListeners(),this._listenersStore.dispose(),null===(e=this._glyphWidget)||void 0===e||e.dispose(),null===(t=this._contentWidget)||void 0===t||t.dispose()}};Q.ID="editor.contrib.hover",Q=o=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([G(1,a.TG),G(2,h.d)],Q)},66520:function(e,t,i){"use strict";i.d(t,{Ae:function(){return o},Qj:function(){return n},YM:function(){return s}});class n{constructor(e,t,i,n){this.priority=e,this.range=t,this.initialMousePosX=i,this.initialMousePosY=n,this.type=1}equals(e){return 1===e.type&&this.range.equalsRange(e.range)}canAdoptVisibleHover(e,t){return 1===e.type&&t.lineNumber===this.range.startLineNumber}}class s{constructor(e,t,i,n,s,o){this.priority=e,this.owner=t,this.range=i,this.initialMousePosX=n,this.initialMousePosY=s,this.supportsMarkerHover=o,this.type=2}equals(e){return 2===e.type&&this.owner===e.owner}canAdoptVisibleHover(e,t){return 2===e.type&&this.owner===e.owner}}let o=new class{constructor(){this._participants=[]}register(e){this._participants.push(e)}getAll(){return this._participants}}},22374:function(e,t,i){"use strict";i.d(t,{D5:function(){return M},c:function(){return A},hU:function(){return I}});var n=i(65321),s=i(9488),o=i(71050),r=i(59365),l=i(5976),a=i(72545),d=i(18987),h=i(24314),u=i(72042),c=i(63580),g=i(33108),p=i(50988),m=i(71922),f=i(43155),_=i(59554),v=i(78789),b=i(25670),C=i(17301),w=i(91847),y=i(30986),S=i(31543),L=i(15393),k=i(41095),D=function(e,t){return function(i,n){t(i,n,e)}};let x=n.$,N=(0,_.q5)("hover-increase-verbosity",v.l.add,c.NC("increaseHoverVerbosity","Icon for increaseing hover verbosity.")),E=(0,_.q5)("hover-decrease-verbosity",v.l.remove,c.NC("decreaseHoverVerbosity","Icon for decreasing hover verbosity."));class I{constructor(e,t,i,n,s,o){this.owner=e,this.range=t,this.contents=i,this.isBeforeContent=n,this.ordinal=s,this.source=o}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}class T{constructor(e,t,i){this.hover=e,this.hoverProvider=t,this.hoverPosition=i}supportsVerbosityAction(e){var t,i;switch(e){case f.bq.Increase:return null!==(t=this.hover.canIncreaseVerbosity)&&void 0!==t&&t;case f.bq.Decrease:return null!==(i=this.hover.canDecreaseVerbosity)&&void 0!==i&&i}}}let M=class{constructor(e,t,i,n,s,o,r){this._editor=e,this._languageService=t,this._openerService=i,this._configurationService=n,this._languageFeaturesService=s,this._keybindingService=o,this._hoverService=r,this.hoverOrdinal=3}createLoadingMessage(e){return new I(this,e.range,[new r.W5().appendText(c.NC("modesContentHover.loading","Loading..."))],!1,2e3)}computeSync(e,t){if(!this._editor.hasModel()||1!==e.type)return[];let i=this._editor.getModel(),n=e.range.startLineNumber,o=i.getLineMaxColumn(n),l=[],a=1e3,d=i.getLineLength(n),u=i.getLanguageIdAtPosition(e.range.startLineNumber,e.range.startColumn),g=this._editor.getOption(117),p=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:u}),m=!1;g>=0&&d>g&&e.range.startColumn>=g&&(m=!0,l.push(new I(this,e.range,[{value:c.NC("stopped rendering","Rendering paused for long line for performance reasons. This can be configured via `editor.stopRenderingLineAfter`.")}],!1,a++))),!m&&"number"==typeof p&&d>=p&&l.push(new I(this,e.range,[{value:c.NC("too many characters","Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`.")}],!1,a++));let f=!1;for(let i of t){let t=i.range.startLineNumber===n?i.range.startColumn:1,d=i.range.endLineNumber===n?i.range.endColumn:o,u=i.options.hoverMessage;if(!u||(0,r.CP)(u))continue;i.options.beforeContentClassName&&(f=!0);let c=new h.e(e.range.startLineNumber,t,e.range.startLineNumber,d);l.push(new I(this,c,(0,s._2)(u),f,a++))}return l}computeAsync(e,t,i){if(!this._editor.hasModel()||1!==e.type)return L.Aq.EMPTY;let n=this._editor.getModel(),s=this._languageFeaturesService.hoverProvider;if(!s.has(n))return L.Aq.EMPTY;let o=this._getMarkdownHovers(s,n,e,i);return o}_getMarkdownHovers(e,t,i,n){let s=i.range.getStartPosition(),o=(0,k.OP)(e,t,s,n),l=o.filter(e=>!(0,r.CP)(e.hover.contents)).map(e=>{let t=e.hover.range?h.e.lift(e.hover.range):i.range,n=new T(e.hover,e.provider,s);return new I(this,t,e.hover.contents,!1,e.ordinal,n)});return l}renderHoverParts(e,t){return this._renderedHoverParts=new R(t,e.fragment,this._editor,this._languageService,this._openerService,this._keybindingService,this._hoverService,this._configurationService,e.onContentsChanged),this._renderedHoverParts}markdownHoverContentAtIndex(e){var t,i;return null!==(i=null===(t=this._renderedHoverParts)||void 0===t?void 0:t.markdownHoverContentAtIndex(e))&&void 0!==i?i:""}doesMarkdownHoverAtIndexSupportVerbosityAction(e,t){var i,n;return null!==(n=null===(i=this._renderedHoverParts)||void 0===i?void 0:i.doesMarkdownHoverAtIndexSupportVerbosityAction(e,t))&&void 0!==n&&n}updateMarkdownHoverVerbosityLevel(e,t,i){var n;null===(n=this._renderedHoverParts)||void 0===n||n.updateMarkdownHoverPartVerbosityLevel(e,t,i)}};M=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([D(1,u.O),D(2,p.v),D(3,g.Ui),D(4,m.p),D(5,w.d),D(6,S.Bs)],M);class R extends l.JT{constructor(e,t,i,n,s,o,r,a,d){super(),this._editor=i,this._languageService=n,this._openerService=s,this._keybindingService=o,this._hoverService=r,this._configurationService=a,this._onFinishedRendering=d,this._focusedHoverPartIndex=-1,this._ongoingHoverOperations=new Map,this._renderedHoverParts=this._renderHoverParts(e,t,this._onFinishedRendering),this._register((0,l.OF)(()=>{this._renderedHoverParts.forEach(e=>{e.disposables.dispose()})})),this._register((0,l.OF)(()=>{this._ongoingHoverOperations.forEach(e=>{e.tokenSource.dispose(!0)})}))}_renderHoverParts(e,t,i){return e.sort((0,s.tT)(e=>e.ordinal,s.fv)),e.map((e,n)=>{let s=this._renderHoverPart(n,e.contents,e.source,i);return t.appendChild(s.renderedMarkdown),s})}_renderHoverPart(e,t,i,s){let{renderedMarkdown:o,disposables:r}=this._renderMarkdownContent(t,s);if(!i)return{renderedMarkdown:o,disposables:r};let l=i.supportsVerbosityAction(f.bq.Increase),a=i.supportsVerbosityAction(f.bq.Decrease);if(!l&&!a)return{renderedMarkdown:o,disposables:r,hoverSource:i};let d=x("div.verbosity-actions");return o.prepend(d),r.add(this._renderHoverExpansionAction(d,f.bq.Increase,l)),r.add(this._renderHoverExpansionAction(d,f.bq.Decrease,a)),this._register(n.nm(o,n.tw.FOCUS_IN,t=>{t.stopPropagation(),this._focusedHoverPartIndex=e})),this._register(n.nm(o,n.tw.FOCUS_OUT,e=>{e.stopPropagation(),this._focusedHoverPartIndex=-1})),{renderedMarkdown:o,disposables:r,hoverSource:i}}_renderMarkdownContent(e,t){let i=x("div.hover-row");i.tabIndex=0;let n=x("div.hover-row-contents");i.appendChild(n);let s=new l.SL;return s.add(P(this._editor,n,e,this._languageService,this._openerService,t)),{renderedMarkdown:i,disposables:s}}_renderHoverExpansionAction(e,t,i){let s=new l.SL,o=t===f.bq.Increase,r=n.R3(e,x(b.k.asCSSSelector(o?N:E)));r.tabIndex=0;let a=new S.mQ("mouse",!1,{target:e,position:{hoverPosition:0}},this._configurationService,this._hoverService);if(s.add(this._hoverService.setupUpdatableHover(a,r,function(e,t){switch(t){case f.bq.Increase:{let t=e.lookupKeybinding(d.Gd);return t?c.NC("increaseVerbosityWithKb","Increase Hover Verbosity ({0})",t.getLabel()):c.NC("increaseVerbosity","Increase Hover Verbosity")}case f.bq.Decrease:{let t=e.lookupKeybinding(d.m);return t?c.NC("decreaseVerbosityWithKb","Decrease Hover Verbosity ({0})",t.getLabel()):c.NC("decreaseVerbosity","Decrease Hover Verbosity")}}}(this._keybindingService,t))),!i)return r.classList.add("disabled"),s;r.classList.add("enabled");let h=()=>this.updateMarkdownHoverPartVerbosityLevel(t);return s.add(new y.R0(r,h)),s.add(new y.rb(r,h,[3,10])),s}async updateMarkdownHoverPartVerbosityLevel(e,t=-1,i=!0){var n;let s=this._editor.getModel();if(!s)return;let o=-1!==t?t:this._focusedHoverPartIndex,r=this._getRenderedHoverPartAtIndex(o);if(!r||!(null===(n=r.hoverSource)||void 0===n?void 0:n.supportsVerbosityAction(e)))return;let l=r.hoverSource,a=await this._fetchHover(l,s,e);if(!a)return;let d=new T(a,l.hoverProvider,l.hoverPosition),h=this._renderHoverPart(o,a.contents,d,this._onFinishedRendering);this._replaceRenderedHoverPartAtIndex(o,h),i&&this._focusOnHoverPartWithIndex(o),this._onFinishedRendering()}markdownHoverContentAtIndex(e){var t;let i=this._getRenderedHoverPartAtIndex(e);return null!==(t=null==i?void 0:i.renderedMarkdown.innerText)&&void 0!==t?t:""}doesMarkdownHoverAtIndexSupportVerbosityAction(e,t){var i;let n=this._getRenderedHoverPartAtIndex(e);return!!(n&&(null===(i=n.hoverSource)||void 0===i?void 0:i.supportsVerbosityAction(t)))}async _fetchHover(e,t,i){let n,s=i===f.bq.Increase?1:-1,r=e.hoverProvider,l=this._ongoingHoverOperations.get(r);l&&(l.tokenSource.cancel(),s+=l.verbosityDelta);let a=new o.AU;this._ongoingHoverOperations.set(r,{verbosityDelta:s,tokenSource:a});let d={verbosityRequest:{verbosityDelta:s,previousHover:e.hover}};try{n=await Promise.resolve(r.provideHover(t,e.hoverPosition,a.token,d))}catch(e){(0,C.Cp)(e)}return a.dispose(),this._ongoingHoverOperations.delete(r),n}_replaceRenderedHoverPartAtIndex(e,t){if(e>=this._renderHoverParts.length||e<0)return;let i=this._renderedHoverParts[e],n=i.renderedMarkdown;n.replaceWith(t.renderedMarkdown),i.disposables.dispose(),this._renderedHoverParts[e]=t}_focusOnHoverPartWithIndex(e){this._renderedHoverParts[e].renderedMarkdown.focus()}_getRenderedHoverPartAtIndex(e){return this._renderedHoverParts[e]}}function A(e,t,i,n,o){t.sort((0,s.tT)(e=>e.ordinal,s.fv));let r=new l.SL;for(let s of t)r.add(P(i,e.fragment,s.contents,n,o,e.onContentsChanged));return r}function P(e,t,i,s,o,d){let h=new l.SL;for(let l of i){if((0,r.CP)(l))continue;let i=x("div.markdown-hover"),u=n.R3(i,x("div.hover-contents")),c=h.add(new a.$({editor:e},s,o));h.add(c.onDidRenderAsync(()=>{u.className="hover-contents code-hover-contents",d()}));let g=h.add(c.render(l));u.appendChild(g.element),t.appendChild(i)}return h}},68077:function(e,t,i){"use strict";var n,s,o=i(15393),r=i(17301),l=i(14410),a=i(16830),d=i(24314),h=i(3860),u=i(29102),c=i(84901),g=i(85215),p=i(63580);class m{constructor(e,t,i){this._editRange=e,this._originalSelection=t,this._text=i}getEditOperations(e,t){t.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),n=i[0].range;return this._originalSelection.isEmpty()?new h.Y(n.endLineNumber,Math.min(this._originalSelection.positionColumn,n.endColumn),n.endLineNumber,Math.min(this._originalSelection.positionColumn,n.endColumn)):new h.Y(n.endLineNumber,n.endColumn-this._text.length,n.endLineNumber,n.endColumn)}}i(4591);let f=s=class{static get(e){return e.getContribution(s.ID)}constructor(e,t){this.editor=e,this.editorWorkerService=t,this.decorations=this.editor.createDecorationsCollection()}dispose(){}run(e,t){var i;null===(i=this.currentRequest)||void 0===i||i.cancel();let n=this.editor.getSelection(),a=this.editor.getModel();if(!a||!n)return;let u=n;if(u.startLineNumber!==u.endLineNumber)return;let c=new l.yy(this.editor,5),g=a.uri;return this.editorWorkerService.canNavigateValueSet(g)?(this.currentRequest=(0,o.PG)(e=>this.editorWorkerService.navigateValueSet(g,u,t)),this.currentRequest.then(t=>{var i;if(!t||!t.range||!t.value||!c.validate(this.editor))return;let n=d.e.lift(t.range),l=t.range,a=t.value.length-(u.endColumn-u.startColumn);l={startLineNumber:l.startLineNumber,startColumn:l.startColumn,endLineNumber:l.endLineNumber,endColumn:l.startColumn+t.value.length},a>1&&(u=new h.Y(u.startLineNumber,u.startColumn,u.endLineNumber,u.endColumn+a-1));let g=new m(n,u,t.value);this.editor.pushUndoStop(),this.editor.executeCommand(e,g),this.editor.pushUndoStop(),this.decorations.set([{range:l,options:s.DECORATION}]),null===(i=this.decorationRemover)||void 0===i||i.cancel(),this.decorationRemover=(0,o.Vs)(350),this.decorationRemover.then(()=>this.decorations.clear()).catch(r.dL)}).catch(r.dL)):Promise.resolve(void 0)}};f.ID="editor.contrib.inPlaceReplaceController",f.DECORATION=c.qx.register({description:"in-place-replace",className:"valueSetReplacement"}),f=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=g.p,function(e,t){n(e,t,1)})],f);class _ extends a.R6{constructor(){super({id:"editor.action.inPlaceReplace.up",label:p.NC("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:u.u.writable,kbOpts:{kbExpr:u.u.editorTextFocus,primary:3159,weight:100}})}run(e,t){let i=f.get(t);return i?i.run(this.id,!1):Promise.resolve(void 0)}}class v extends a.R6{constructor(){super({id:"editor.action.inPlaceReplace.down",label:p.NC("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:u.u.writable,kbOpts:{kbExpr:u.u.editorTextFocus,primary:3161,weight:100}})}run(e,t){let i=f.get(t);return i?i.run(this.id,!0):Promise.resolve(void 0)}}(0,a._K)(f.ID,f,4),(0,a.Qr)(_),(0,a.Qr)(v)},45624:function(e,t,i){"use strict";var n,s=i(5976),o=i(97295),r=i(16830),l=i(10291),a=i(24314),d=i(29102),h=i(4256),u=i(73733),c=i(11924),g=i(63580),p=i(41157),m=i(75383),f=i(69386),_=i(83158),v=i(3860),b=i(85838);function C(e,t,i,n){if(1===e.getLineCount()&&1===e.getLineMaxColumn(1))return[];let s=t.getLanguageConfiguration(e.getLanguageId()).indentRulesSupport;if(!s)return[];let r=new b.sW(e,s,t);for(n=Math.min(n,e.getLineCount());i<=n&&r.shouldIgnore(i);)i++;if(i>n-1)return[];let{tabSize:a,indentSize:d,insertSpaces:h}=e.getOptions(),u=(e,t)=>(t=t||1,l.U.shiftIndent(e,e.length+t,a,d,h)),c=(e,t)=>(t=t||1,l.U.unshiftIndent(e,e.length+t,a,d,h)),g=[],p=e.getLineContent(i),m=o.V8(p),C=m;r.shouldIncrease(i)?(C=u(C),m=u(m)):r.shouldIndentNextLine(i)&&(C=u(C)),i++;for(let t=i;t<=n;t++){if(function(e,t){if(!e.tokenization.isCheapToTokenize(t))return!1;let i=e.tokenization.getLineTokens(t);return 2===i.getStandardTokenType(0)}(e,t))continue;let i=e.getLineContent(t),n=o.V8(i),s=C;r.shouldDecrease(t,s)&&(C=c(C),m=c(m)),n!==C&&g.push(f.h.replaceMove(new v.Y(t,1,t,n.length+1),(0,_.x)(C,d,h))),r.shouldIgnore(t)||(C=r.shouldIncrease(t,s)?m=u(m):r.shouldIndentNextLine(t,s)?u(C):m)}return g}var w=i(77378);class y extends r.R6{constructor(){super({id:y.ID,label:g.NC("indentationToSpaces","Convert Indentation to Spaces"),alias:"Convert Indentation to Spaces",precondition:d.u.writable,metadata:{description:g.vv("indentationToSpacesDescription","Convert the tab indentation to spaces.")}})}run(e,t){let i=t.getModel();if(!i)return;let n=i.getOptions(),s=t.getSelection();if(!s)return;let o=new A(s,n.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[o]),t.pushUndoStop(),i.updateOptions({insertSpaces:!0})}}y.ID="editor.action.indentationToSpaces";class S extends r.R6{constructor(){super({id:S.ID,label:g.NC("indentationToTabs","Convert Indentation to Tabs"),alias:"Convert Indentation to Tabs",precondition:d.u.writable,metadata:{description:g.vv("indentationToTabsDescription","Convert the spaces indentation to tabs.")}})}run(e,t){let i=t.getModel();if(!i)return;let n=i.getOptions(),s=t.getSelection();if(!s)return;let o=new P(s,n.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[o]),t.pushUndoStop(),i.updateOptions({insertSpaces:!1})}}S.ID="editor.action.indentationToTabs";class L extends r.R6{constructor(e,t,i){super(i),this.insertSpaces=e,this.displaySizeOnly=t}run(e,t){let i=e.get(p.eJ),n=e.get(u.q),s=t.getModel();if(!s)return;let o=n.getCreationOptions(s.getLanguageId(),s.uri,s.isForSimpleWidget),r=s.getOptions(),l=[1,2,3,4,5,6,7,8].map(e=>({id:e.toString(),label:e.toString(),description:e===o.tabSize&&e===r.tabSize?g.NC("configuredTabSize","Configured Tab Size"):e===o.tabSize?g.NC("defaultTabSize","Default Tab Size"):e===r.tabSize?g.NC("currentTabSize","Current Tab Size"):void 0})),a=Math.min(s.getOptions().tabSize-1,7);setTimeout(()=>{i.pick(l,{placeHolder:g.NC({key:"selectTabWidth",comment:["Tab corresponds to the tab key"]},"Select Tab Size for Current File"),activeItem:l[a]}).then(e=>{if(e&&s&&!s.isDisposed()){let t=parseInt(e.label,10);this.displaySizeOnly?s.updateOptions({tabSize:t}):s.updateOptions({tabSize:t,indentSize:t,insertSpaces:this.insertSpaces})}})},50)}}class k extends L{constructor(){super(!1,!1,{id:k.ID,label:g.NC("indentUsingTabs","Indent Using Tabs"),alias:"Indent Using Tabs",precondition:void 0,metadata:{description:g.vv("indentUsingTabsDescription","Use indentation with tabs.")}})}}k.ID="editor.action.indentUsingTabs";class D extends L{constructor(){super(!0,!1,{id:D.ID,label:g.NC("indentUsingSpaces","Indent Using Spaces"),alias:"Indent Using Spaces",precondition:void 0,metadata:{description:g.vv("indentUsingSpacesDescription","Use indentation with spaces.")}})}}D.ID="editor.action.indentUsingSpaces";class x extends L{constructor(){super(!0,!0,{id:x.ID,label:g.NC("changeTabDisplaySize","Change Tab Display Size"),alias:"Change Tab Display Size",precondition:void 0,metadata:{description:g.vv("changeTabDisplaySizeDescription","Change the space size equivalent of the tab.")}})}}x.ID="editor.action.changeTabDisplaySize";class N extends r.R6{constructor(){super({id:N.ID,label:g.NC("detectIndentation","Detect Indentation from Content"),alias:"Detect Indentation from Content",precondition:void 0,metadata:{description:g.vv("detectIndentationDescription","Detect the indentation from content.")}})}run(e,t){let i=e.get(u.q),n=t.getModel();if(!n)return;let s=i.getCreationOptions(n.getLanguageId(),n.uri,n.isForSimpleWidget);n.detectIndentation(s.insertSpaces,s.tabSize)}}N.ID="editor.action.detectIndentation";class E extends r.R6{constructor(){super({id:"editor.action.reindentlines",label:g.NC("editor.reindentlines","Reindent Lines"),alias:"Reindent Lines",precondition:d.u.writable,metadata:{description:g.vv("editor.reindentlinesDescription","Reindent the lines of the editor.")}})}run(e,t){let i=e.get(h.c_),n=t.getModel();if(!n)return;let s=C(n,i,1,n.getLineCount());s.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,s),t.pushUndoStop())}}class I extends r.R6{constructor(){super({id:"editor.action.reindentselectedlines",label:g.NC("editor.reindentselectedlines","Reindent Selected Lines"),alias:"Reindent Selected Lines",precondition:d.u.writable,metadata:{description:g.vv("editor.reindentselectedlinesDescription","Reindent the selected lines of the editor.")}})}run(e,t){let i=e.get(h.c_),n=t.getModel();if(!n)return;let s=t.getSelections();if(null===s)return;let o=[];for(let e of s){let t=e.startLineNumber,s=e.endLineNumber;if(t!==s&&1===e.endColumn&&s--,1===t){if(t===s)continue}else t--;let r=C(n,i,t,s);o.push(...r)}o.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,o),t.pushUndoStop())}}class T{constructor(e,t){for(let i of(this._initialSelection=t,this._edits=[],this._selectionId=null,e))i.range&&"string"==typeof i.text&&this._edits.push(i)}getEditOperations(e,t){for(let e of this._edits)t.addEditOperation(a.e.lift(e.range),e.text);let i=!1;Array.isArray(this._edits)&&1===this._edits.length&&this._initialSelection.isEmpty()&&(this._edits[0].range.startColumn===this._initialSelection.endColumn&&this._edits[0].range.startLineNumber===this._initialSelection.endLineNumber?(i=!0,this._selectionId=t.trackSelection(this._initialSelection,!0)):this._edits[0].range.endColumn===this._initialSelection.startColumn&&this._edits[0].range.endLineNumber===this._initialSelection.startLineNumber&&(i=!0,this._selectionId=t.trackSelection(this._initialSelection,!1))),i||(this._selectionId=t.trackSelection(this._initialSelection))}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}let M=class{constructor(e,t){this.editor=e,this._languageConfigurationService=t,this.callOnDispose=new s.SL,this.callOnModel=new s.SL,this.callOnDispose.add(e.onDidChangeConfiguration(()=>this.update())),this.callOnDispose.add(e.onDidChangeModel(()=>this.update())),this.callOnDispose.add(e.onDidChangeModelLanguage(()=>this.update()))}update(){this.callOnModel.clear(),!(4>this.editor.getOption(12)||this.editor.getOption(55))&&this.editor.hasModel()&&this.callOnModel.add(this.editor.onDidPaste(({range:e})=>{this.trigger(e)}))}trigger(e){let t=this.editor.getSelections();if(null===t||t.length>1)return;let i=this.editor.getModel();if(!i||function(e,t){let i=t=>{let i=(0,w.e)(e,t);return 2===i};return i(t.getStartPosition())||i(t.getEndPosition())}(i,e)||!i.tokenization.isCheapToTokenize(e.getStartPosition().lineNumber))return;let n=this.editor.getOption(12),{tabSize:s,indentSize:r,insertSpaces:d}=i.getOptions(),h=[],u={shiftIndent:e=>l.U.shiftIndent(e,e.length+1,s,r,d),unshiftIndent:e=>l.U.unshiftIndent(e,e.length+1,s,r,d)},g=e.startLineNumber;for(;g<=e.endLineNumber;){if(this.shouldIgnoreLine(i,g)){g++;continue}break}if(g>e.endLineNumber)return;let p=i.getLineContent(g);if(!/\S/.test(p.substring(0,e.startColumn-1))){let e=(0,m.n8)(n,i,i.getLanguageId(),g,u,this._languageConfigurationService);if(null!==e){let t=o.V8(p),n=c.Y(e,s),r=c.Y(t,s);if(n!==r){let e=c.J(n,s,d);h.push({range:new a.e(g,1,g,t.length+1),text:e}),p=e+p.substr(t.length)}else{let e=(0,m.tI)(i,g,this._languageConfigurationService);if(0===e||8===e)return}}}let f=g;for(;gi.tokenization.getLineTokens(e),getLanguageId:()=>i.getLanguageId(),getLanguageIdAtPosition:(e,t)=>i.getLanguageIdAtPosition(e,t)},getLineContent:e=>e===f?p:i.getLineContent(e)},i.getLanguageId(),g+1,u,this._languageConfigurationService);if(null!==t){let n=c.Y(t,s),r=c.Y(o.V8(i.getLineContent(g+1)),s);if(n!==r){let t=n-r;for(let n=g+1;n<=e.endLineNumber;n++){let e=i.getLineContent(n),r=o.V8(e),l=c.Y(r,s),u=l+t,g=c.J(u,s,d);g!==r&&h.push({range:new a.e(n,1,n,r.length+1),text:g})}}}}if(h.length>0){this.editor.pushUndoStop();let e=new T(h,this.editor.getSelection());this.editor.executeCommand("autoIndentOnPaste",e),this.editor.pushUndoStop()}}shouldIgnoreLine(e,t){e.tokenization.forceTokenization(t);let i=e.getLineFirstNonWhitespaceColumn(t);if(0===i)return!0;let n=e.tokenization.getLineTokens(t);if(n.getCount()>0){let e=n.findTokenIndexAtOffset(i);if(e>=0&&1===n.getStandardTokenType(e))return!0}return!1}dispose(){this.callOnDispose.dispose(),this.callOnModel.dispose()}};function R(e,t,i,n){if(1===e.getLineCount()&&1===e.getLineMaxColumn(1))return;let s="";for(let e=0;e=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=h.c_,function(e,t){n(e,t,1)})],M);class A{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),R(e,t,this.tabSize,!0)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}class P{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),R(e,t,this.tabSize,!1)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}(0,r._K)(M.ID,M,2),(0,r.Qr)(y),(0,r.Qr)(S),(0,r.Qr)(k),(0,r.Qr)(D),(0,r.Qr)(x),(0,r.Qr)(N),(0,r.Qr)(E),(0,r.Qr)(I)},11924:function(e,t,i){"use strict";function n(e,t){let i=0;for(let n=0;nthis._currentResolve=void 0)),await this._currentResolve}}async _doResolve(e){var t,i,s;try{let n=await Promise.resolve(this.provider.resolveInlayHint(this.hint,e));this.hint.tooltip=null!==(t=null==n?void 0:n.tooltip)&&void 0!==t?t:this.hint.tooltip,this.hint.label=null!==(i=null==n?void 0:n.label)&&void 0!==i?i:this.hint.label,this.hint.textEdits=null!==(s=null==n?void 0:n.textEdits)&&void 0!==s?s:this.hint.textEdits,this._isResolved=!0}catch(e){(0,n.Cp)(e),this._isResolved=!1}}}class u{static async create(e,t,i,s){let o=[],r=e.ordered(t).reverse().map(e=>i.map(async i=>{try{let n=await e.provideInlayHints(t,i,s);((null==n?void 0:n.hints.length)||e.onDidChangeInlayHints)&&o.push([null!=n?n:u._emptyInlayHintList,e])}catch(e){(0,n.Cp)(e)}}));if(await Promise.all(r.flat()),s.isCancellationRequested||t.isDisposed())throw new n.FU;return new u(i,o,t)}constructor(e,t,i){this._disposables=new s.SL,this.ranges=e,this.provider=new Set;let n=[];for(let[e,s]of t)for(let t of(this._disposables.add(e),this.provider.add(s),e.hints)){let e;let o=i.validatePosition(t.position),l="before",a=u._getRangeAtPosition(i,o);a.getStartPosition().isBefore(o)?(e=r.e.fromPositions(a.getStartPosition(),o),l="after"):(e=r.e.fromPositions(o,a.getEndPosition()),l="before"),n.push(new h(t,new d(e,l),s))}this.items=n.sort((e,t)=>o.L.compare(e.hint.position,t.hint.position))}dispose(){this._disposables.dispose()}static _getRangeAtPosition(e,t){let i=t.lineNumber,n=e.getWordAtPosition(t);if(n)return new r.e(i,n.startColumn,i,n.endColumn);e.tokenization.tokenizeIfCheap(i);let s=e.tokenization.getLineTokens(i),o=t.column-1,l=s.findTokenIndexAtOffset(o),a=s.getStartOffset(l),d=s.getEndOffset(l);return d-a==1&&(a===o&&l>1?(a=s.getStartOffset(l-1),d=s.getEndOffset(l-1)):d===o&&lthis._update())),this._disposables.add(e.onDidChangeModel(()=>this._update())),this._disposables.add(e.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(e.onDidChangeConfiguration(e=>{e.hasChanged(141)&&this._update()})),this._update()}dispose(){this._sessionDisposables.dispose(),this._removeAllDecorations(),this._disposables.dispose()}_update(){let e;this._sessionDisposables.clear(),this._removeAllDecorations();let t=this._editor.getOption(141);if("off"===t.enabled)return;let i=this._editor.getModel();if(!i||!this._languageFeaturesService.inlayHintsProvider.has(i))return;if("on"===t.enabled)this._activeRenderMode=0;else{let e,i;"onUnlessPressed"===t.enabled?(e=0,i=1):(e=1,i=0),this._activeRenderMode=e,this._sessionDisposables.add(s._q.getInstance().event(t=>{if(!this._editor.hasModel())return;let n=t.altKey&&t.ctrlKey&&!(t.shiftKey||t.metaKey)?i:e;if(n!==this._activeRenderMode){this._activeRenderMode=n;let e=this._editor.getModel(),t=this._copyInlayHintsWithCurrentAnchor(e);this._updateHintsDecorators([e.getFullModelRange()],t),h.schedule(0)}}))}let n=this._inlayHintsCache.get(i);n&&this._updateHintsDecorators([i.getFullModelRange()],n),this._sessionDisposables.add((0,d.OF)(()=>{i.isDisposed()||this._cacheHintsForFastRestore(i)}));let o=new Set,h=new r.pY(async()=>{let t=Date.now();null==e||e.dispose(!0),e=new l.AU;let n=i.onWillDispose(()=>null==e?void 0:e.cancel());try{let n=e.token,s=await k.Q3.create(this._languageFeaturesService.inlayHintsProvider,i,this._getHintsRanges(),n);if(h.delay=this._debounceInfo.update(i,Date.now()-t),n.isCancellationRequested){s.dispose();return}for(let e of s.provider)"function"!=typeof e.onDidChangeInlayHints||o.has(e)||(o.add(e),this._sessionDisposables.add(e.onDidChangeInlayHints(()=>{h.isScheduled()||h.schedule()})));this._sessionDisposables.add(s),this._updateHintsDecorators(s.ranges,s.items),this._cacheHintsForFastRestore(i)}catch(e){(0,a.dL)(e)}finally{e.dispose(),n.dispose()}},this._debounceInfo.get(i));this._sessionDisposables.add(h),this._sessionDisposables.add((0,d.OF)(()=>null==e?void 0:e.dispose(!0))),h.schedule(0),this._sessionDisposables.add(this._editor.onDidScrollChange(e=>{(e.scrollTopChanged||!h.isScheduled())&&h.schedule()})),this._sessionDisposables.add(this._editor.onDidChangeModelContent(t=>{null==e||e.cancel();let i=Math.max(h.delay,1250);h.schedule(i)})),this._sessionDisposables.add(this._installDblClickGesture(()=>h.schedule(0))),this._sessionDisposables.add(this._installLinkGesture()),this._sessionDisposables.add(this._installContextMenu())}_installLinkGesture(){let e=new d.SL,t=e.add(new L.yN(this._editor)),i=new d.SL;return e.add(i),e.add(t.onMouseMoveOrRelevantKeyDown(e=>{let[t]=e,n=this._getInlayHintLabelPart(t),s=this._editor.getModel();if(!n||!s){i.clear();return}let o=new l.AU;i.add((0,d.OF)(()=>o.dispose(!0))),n.item.resolve(o.token),this._activeInlayHintPart=n.part.command||n.part.location?new F(n,t.hasTriggerModifier):void 0;let r=s.validatePosition(n.item.hint.position).lineNumber,a=new _.e(r,1,r,s.getLineMaxColumn(r)),h=this._getInlineHintsForRange(a);this._updateHintsDecorators([a],h),i.add((0,d.OF)(()=>{this._activeInlayHintPart=void 0,this._updateHintsDecorators([a],h)}))})),e.add(t.onCancel(()=>i.clear())),e.add(t.onExecute(async e=>{let t=this._getInlayHintLabelPart(e);if(t){let i=t.part;i.location?this._instaService.invokeFunction(D.K,e,this._editor,i.location):v.mY.is(i.command)&&await this._invokeCommand(i.command,t.item)}})),e}_getInlineHintsForRange(e){let t=new Set;for(let i of this._decorationsMetadata.values())e.containsRange(i.item.anchor.range)&&t.add(i.item);return Array.from(t)}_installDblClickGesture(e){return this._editor.onMouseUp(async t=>{if(2!==t.event.detail)return;let i=this._getInlayHintLabelPart(t);if(i&&(t.event.preventDefault(),await i.item.resolve(l.Ts.None),(0,o.Of)(i.item.hint.textEdits))){let t=i.item.hint.textEdits.map(e=>f.h.replace(_.e.lift(e.range),e.text));this._editor.executeEdits("inlayHint.default",t),e()}})}_installContextMenu(){return this._editor.onContextMenu(async e=>{if(!(0,s.Re)(e.event.target))return;let t=this._getInlayHintLabelPart(e);t&&await this._instaService.invokeFunction(D.u,this._editor,e.event.target,t)})}_getInlayHintLabelPart(e){var t;if(6!==e.target.type)return;let i=null===(t=e.target.detail.injectedText)||void 0===t?void 0:t.options;if(i instanceof C.HS&&(null==i?void 0:i.attachedData)instanceof O)return i.attachedData}async _invokeCommand(e,t){var i;try{await this._commandService.executeCommand(e.id,...null!==(i=e.arguments)&&void 0!==i?i:[])}catch(e){this._notificationService.notify({severity:I.zb.Error,source:t.provider.displayName,message:e})}}_cacheHintsForFastRestore(e){let t=this._copyInlayHintsWithCurrentAnchor(e);this._inlayHintsCache.set(e,t)}_copyInlayHintsWithCurrentAnchor(e){let t=new Map;for(let[i,n]of this._decorationsMetadata){if(t.has(n.item))continue;let s=e.getDecorationRange(i);if(s){let e=new k.UQ(s,n.item.anchor.direction),i=n.item.with({anchor:e});t.set(n.item,i)}}return Array.from(t.values())}_getHintsRanges(){let e=this._editor.getModel(),t=this._editor.getVisibleRangesPlusViewportAboveBelow(),i=[];for(let n of t.sort(_.e.compareRangesUsingStarts)){let t=e.validateRange(new _.e(n.startLineNumber-30,n.startColumn,n.endLineNumber+30,n.endColumn));0!==i.length&&_.e.areIntersectingOrTouching(i[i.length-1],t)?i[i.length-1]=_.e.plusRange(i[i.length-1],t):i.push(t)}return i}_updateHintsDecorators(e,t){var i,s;let r=[],l=(e,t,i,n,s)=>{let o={content:i,inlineClassNameAffectsLetterSpacing:!0,inlineClassName:t.className,cursorStops:n,attachedData:s};r.push({item:e,classNameRef:t,decoration:{range:e.anchor.range,options:{description:"InlayHint",showIfCollapsed:e.anchor.range.isEmpty(),collapseOnReplaceEdit:!e.anchor.range.isEmpty(),stickiness:0,[e.anchor.direction]:0===this._activeRenderMode?o:void 0}}})},a=(e,t)=>{let i=this._ruleFactory.createClassNameRef({width:`${d/3|0}px`,display:"inline-block"});l(e,i," ",t?b.RM.Right:b.RM.None)},{fontSize:d,fontFamily:h,padding:u,isUniform:c}=this._getLayoutInfo(),g="--code-editorInlayHintsFontFamily";this._editor.getContainerDomNode().style.setProperty(g,h);let f={line:0,totalLen:0};for(let e of t){if(f.line!==e.anchor.range.startLineNumber&&(f={line:e.anchor.range.startLineNumber,totalLen:0}),f.totalLen>n._MAX_LABEL_LEN)continue;e.hint.paddingLeft&&a(e,!1);let t="string"==typeof e.hint.label?[{label:e.hint.label}]:e.hint.label;for(let s=0;s0&&(_=_.slice(0,-C)+"…",v=!0),l(e,this._ruleFactory.createClassNameRef(p),_.replace(/[ \t]/g,"\xa0"),h&&!e.hint.paddingRight?b.RM.Right:b.RM.None,new O(e,s)),v)break}if(e.hint.paddingRight&&a(e,!0),r.length>n._MAX_DECORATORS)break}let _=[];for(let[t,i]of this._decorationsMetadata){let n=null===(s=this._editor.getModel())||void 0===s?void 0:s.getDecorationRange(t);n&&e.some(e=>e.containsRange(n))&&(_.push(t),i.classNameRef.dispose(),this._decorationsMetadata.delete(t))}let v=p.Z.capture(this._editor);this._editor.changeDecorations(e=>{let t=e.deltaDecorations(_,r.map(e=>e.decoration));for(let e=0;ei)&&(s=i);let o=e.fontFamily||n,r=!t&&o===n&&s===i;return{fontSize:s,fontFamily:o,padding:t,isUniform:r}}_removeAllDecorations(){for(let e of(this._editor.removeDecorations(Array.from(this._decorationsMetadata.keys())),this._decorationsMetadata.values()))e.classNameRef.dispose();this._decorationsMetadata.clear()}};B.ID="editor.contrib.InlayHints",B._MAX_DECORATORS=1500,B._MAX_LABEL_LEN=43,B=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([R(1,y.p),R(2,w.A),R(3,P),R(4,x.H),R(5,I.lT),R(6,E.TG)],B),x.P.registerCommand("_executeInlayHintProvider",async(e,...t)=>{let[i,n]=t;(0,u.p_)(c.o.isUri(i)),(0,u.p_)(_.e.isIRange(n));let{inlayHintsProvider:s}=e.get(y.p),o=await e.get(S.S).createModelReference(i);try{let e=await k.Q3.create(s,o.object.textEditorModel,[_.e.lift(n)],l.Ts.None),t=e.items.map(e=>e.hint);return setTimeout(()=>e.dispose(),0),t}finally{o.dispose()}})},51586:function(e,t,i){"use strict";i.d(t,{G:function(){return L}});var n=i(15393),s=i(59365),o=i(50187),r=i(84901),l=i(66520),a=i(72042),d=i(88216),h=i(41095),u=i(22374),c=i(94751),g=i(33108),p=i(50988),m=i(71922),f=i(63580),_=i(1432),v=i(71232),b=i(9488),C=i(91847),w=i(31543),y=function(e,t){return function(i,n){t(i,n,e)}};class S extends l.YM{constructor(e,t,i,n){super(10,t,e.item.anchor.range,i,n,!0),this.part=e}}let L=class extends u.D5{constructor(e,t,i,n,s,o,r,l){super(e,t,i,o,l,n,s),this._resolverService=r,this.hoverOrdinal=6}suggestHoverAnchor(e){var t;let i=c.K.get(this._editor);if(!i||6!==e.target.type)return null;let n=null===(t=e.target.detail.injectedText)||void 0===t?void 0:t.options;return n instanceof r.HS&&n.attachedData instanceof c.f?new S(n.attachedData,this,e.event.posx,e.event.posy):null}computeSync(){return[]}computeAsync(e,t,i){return e instanceof S?new n.Aq(async t=>{let n,o;let{part:r}=e;if(await r.item.resolve(i),i.isCancellationRequested)return;if("string"==typeof r.item.hint.tooltip?n=new s.W5().appendText(r.item.hint.tooltip):r.item.hint.tooltip&&(n=r.item.hint.tooltip),n&&t.emitOne(new u.hU(this,e.range,[n],!1,0)),(0,b.Of)(r.item.hint.textEdits)&&t.emitOne(new u.hU(this,e.range,[new s.W5().appendText((0,f.NC)("hint.dbl","Double-click to insert"))],!1,10001)),"string"==typeof r.part.tooltip?o=new s.W5().appendText(r.part.tooltip):r.part.tooltip&&(o=r.part.tooltip),o&&t.emitOne(new u.hU(this,e.range,[o],!1,1)),r.part.location||r.part.command){let i;let n="altKey"===this._editor.getOption(78),o=n?_.dz?(0,f.NC)("links.navigate.kb.meta.mac","cmd + click"):(0,f.NC)("links.navigate.kb.meta","ctrl + click"):_.dz?(0,f.NC)("links.navigate.kb.alt.mac","option + click"):(0,f.NC)("links.navigate.kb.alt","alt + click");r.part.location&&r.part.command?i=new s.W5().appendText((0,f.NC)("hint.defAndCommand","Go to Definition ({0}), right click for more",o)):r.part.location?i=new s.W5().appendText((0,f.NC)("hint.def","Go to Definition ({0})",o)):r.part.command&&(i=new s.W5(`[${(0,f.NC)("hint.cmd","Execute Command")}](${(0,v._I)(r.part.command)} "${r.part.command.title}") (${o})`,{isTrusted:!0})),i&&t.emitOne(new u.hU(this,e.range,[i],!1,1e4))}let l=await this._resolveInlayHintLabelPartHover(r,i);for await(let e of l)t.emitOne(e)}):n.Aq.EMPTY}async _resolveInlayHintLabelPartHover(e,t){if(!e.part.location)return n.Aq.EMPTY;let{uri:i,range:r}=e.part.location,l=await this._resolverService.createModelReference(i);try{let i=l.object.textEditorModel;if(!this._languageFeaturesService.hoverProvider.has(i))return n.Aq.EMPTY;return(0,h.OP)(this._languageFeaturesService.hoverProvider,i,new o.L(r.startLineNumber,r.startColumn),t).filter(e=>!(0,s.CP)(e.hover.contents)).map(t=>new u.hU(this,e.item.anchor.range,t.hover.contents,!1,2+t.ordinal))}finally{l.dispose()}}};L=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([y(1,a.O),y(2,p.v),y(3,C.d),y(4,w.Bs),y(5,g.Ui),y(6,d.S),y(7,m.p)],L)},58722:function(e,t,i){"use strict";i.d(t,{K:function(){return v},u:function(){return _}});var n=i(65321),s=i(74741),o=i(71050),r=i(98e3),l=i(24314),a=i(88216),d=i(95817),h=i(36943),u=i(84144),c=i(94565),g=i(32064),p=i(5606),m=i(72065),f=i(59422);async function _(e,t,i,h){var g;let _=e.get(a.S),v=e.get(p.i),b=e.get(c.H),C=e.get(m.TG),w=e.get(f.lT);if(await h.item.resolve(o.Ts.None),!h.part.location)return;let y=h.part.location,S=[],L=new Set(u.BH.getMenuItems(u.eH.EditorContext).map(e=>(0,u.vr)(e)?e.command.id:(0,r.R)()));for(let e of d.Bj.all())L.has(e.desc.id)&&S.push(new s.aU(e.desc.id,u.U8.label(e.desc,{renderShortTitle:!0}),void 0,!0,async()=>{let i=await _.createModelReference(y.uri);try{let n=new d._k(i.object.textEditorModel,l.e.getStartPosition(y.range)),s=h.item.anchor.range;await C.invokeFunction(e.runEditorCommand.bind(e),t,n,s)}finally{i.dispose()}}));if(h.part.command){let{command:e}=h.part;S.push(new s.Z0),S.push(new s.aU(e.id,e.title,void 0,!0,async()=>{var t;try{await b.executeCommand(e.id,...null!==(t=e.arguments)&&void 0!==t?t:[])}catch(e){w.notify({severity:f.zb.Error,source:h.item.provider.displayName,message:e})}}))}let k=t.getOption(127);v.showContextMenu({domForShadowRoot:k&&null!==(g=t.getDomNode())&&void 0!==g?g:void 0,getAnchor:()=>{let e=n.i(i);return{x:e.left,y:e.top+e.height+8}},getActions:()=>S,onHide:()=>{t.focus()},autoSelectFirstItem:!0})}async function v(e,t,i,n){let s=e.get(a.S),o=await s.createModelReference(n.uri);await i.invokeWithinContext(async e=>{let s=t.hasSideBySideModifier,r=e.get(g.i6),a=h.Jy.inPeekEditor.getValue(r),u=!s&&i.getOption(88)&&!a,c=new d.BT({openToSide:s,openInPeek:u,muteMessage:!0},{title:{value:"",original:""},id:"",precondition:void 0});return c.run(e,new d._k(o.object.textEditorModel,l.e.getStartPosition(n.range)),l.e.lift(n.range))}),o.dispose()}},96020:function(e,t,i){"use strict";i.d(t,{Np:function(){return s},OW:function(){return o},Ou:function(){return n}});let n="editor.action.inlineSuggest.commit",s="editor.action.inlineSuggest.showPrevious",o="editor.action.inlineSuggest.showNext"},20757:function(e,t,i){"use strict";i.d(t,{HL:function(){return c},NY:function(){return d},Vb:function(){return a},bY:function(){return u},s1:function(){return h}});var n=i(9488),s=i(97295),o=i(50187),r=i(24314),l=i(40027);class a{constructor(e,t){this.lineNumber=e,this.parts=t}equals(e){return this.lineNumber===e.lineNumber&&this.parts.length===e.parts.length&&this.parts.every((t,i)=>t.equals(e.parts[i]))}renderForScreenReader(e){if(0===this.parts.length)return"";let t=this.parts[this.parts.length-1],i=e.substr(0,t.column-1),n=new l.PY([...this.parts.map(e=>new l.At(r.e.fromPositions(new o.L(1,e.column)),e.lines.join("\n")))]).applyToString(i);return n.substring(this.parts[0].column-1)}isEmpty(){return this.parts.every(e=>0===e.lines.length)}get lineCount(){return 1+this.parts.reduce((e,t)=>e+t.lines.length-1,0)}}class d{constructor(e,t,i){this.column=e,this.text=t,this.preview=i,this.lines=(0,s.uq)(this.text)}equals(e){return this.column===e.column&&this.lines.length===e.lines.length&&this.lines.every((t,i)=>t===e.lines[i])}}class h{constructor(e,t,i,n=0){this.lineNumber=e,this.columnRange=t,this.text=i,this.additionalReservedLineCount=n,this.parts=[new d(this.columnRange.endColumnExclusive,this.text,!1)],this.newLines=(0,s.uq)(this.text)}renderForScreenReader(e){return this.newLines.join("\n")}get lineCount(){return this.newLines.length}isEmpty(){return this.parts.every(e=>0===e.lines.length)}equals(e){return this.lineNumber===e.lineNumber&&this.columnRange.equals(e.columnRange)&&this.newLines.length===e.newLines.length&&this.newLines.every((t,i)=>t===e.newLines[i])&&this.additionalReservedLineCount===e.additionalReservedLineCount}}function u(e,t){return(0,n.fS)(e,t,c)}function c(e,t){return e===t||!!e&&!!t&&(e instanceof a&&t instanceof a||e instanceof h&&t instanceof h)&&e.equals(t)}},50630:function(e,t,i){"use strict";i.d(t,{Wd:function(){return y},rw:function(){return S}});var n,s=i(77514),o=i(4669),r=i(5976),l=i(39901),a=i(97295);i(69409);var d=i(52136),h=i(64141),u=i(50187),c=i(24314),g=i(50072),p=i(72042),m=i(84973),f=i(77378),_=i(92550),v=i(72202),b=i(20757),C=i(8396);let w="ghost-text",y=class extends r.JT{constructor(e,t,i){super(),this.editor=e,this.model=t,this.languageService=i,this.isDisposed=(0,l.uh)(this,!1),this.currentTextModel=(0,l.rD)(this.editor.onDidChangeModel,()=>this.editor.getModel()),this.uiState=(0,l.nK)(this,e=>{let t;if(this.isDisposed.read(e))return;let i=this.currentTextModel.read(e);if(i!==this.model.targetTextModel.read(e))return;let n=this.model.ghostText.read(e);if(!n)return;let s=n instanceof b.s1?n.columnRange:void 0,o=[],r=[];function l(e,t){if(r.length>0){let i=r[r.length-1];t&&i.decorations.push(new _.Kp(i.content.length+1,i.content.length+1+e[0].length,t,0)),i.content+=e[0],e=e.slice(1)}for(let i of e)r.push({content:i,decorations:t?[new _.Kp(1,i.length+1,t,0)]:[]})}let a=i.getLineContent(n.lineNumber),d=0;for(let e of n.parts){let i=e.lines;void 0===t?(o.push({column:e.column,text:i[0],preview:e.preview}),i=i.slice(1)):l([a.substring(d,e.column-1)],void 0),i.length>0&&(l(i,w),void 0===t&&e.column<=a.length&&(t=e.column)),d=e.column-1}void 0!==t&&l([a.substring(d)],void 0);let h=void 0!==t?new C.rv(t,a.length+1):void 0;return{replacedRange:s,inlineTexts:o,additionalLines:r,hiddenRange:h,lineNumber:n.lineNumber,additionalReservedLineCount:this.model.minReservedLineCount.read(e),targetTextModel:i}}),this.decorations=(0,l.nK)(this,e=>{let t=this.uiState.read(e);if(!t)return[];let i=[];for(let e of(t.replacedRange&&i.push({range:t.replacedRange.toRange(t.lineNumber),options:{inlineClassName:"inline-completion-text-to-replace",description:"GhostTextReplacement"}}),t.hiddenRange&&i.push({range:t.hiddenRange.toRange(t.lineNumber),options:{inlineClassName:"ghost-text-hidden",description:"ghost-text-hidden"}}),t.inlineTexts))i.push({range:c.e.fromPositions(new u.L(t.lineNumber,e.column)),options:{description:w,after:{content:e.text,inlineClassName:e.preview?"ghost-text-decoration-preview":"ghost-text-decoration",cursorStops:m.RM.Left},showIfCollapsed:!0}});return i}),this.additionalLinesWidget=this._register(new S(this.editor,this.languageService.languageIdCodec,(0,l.nK)(e=>{let t=this.uiState.read(e);return t?{lineNumber:t.lineNumber,additionalLines:t.additionalLines,minReservedLineCount:t.additionalReservedLineCount,targetTextModel:t.targetTextModel}:void 0}))),this._register((0,r.OF)(()=>{this.isDisposed.set(!0,void 0)})),this._register((0,C.RP)(this.editor,this.decorations))}ownsViewZone(e){return this.additionalLinesWidget.viewZoneId===e}};y=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=p.O,function(e,t){n(e,t,2)})],y);class S extends r.JT{get viewZoneId(){return this._viewZoneId}constructor(e,t,i){super(),this.editor=e,this.languageIdCodec=t,this.lines=i,this._viewZoneId=void 0,this.editorOptionsChanged=(0,l.aq)("editorOptionChanged",o.ju.filter(this.editor.onDidChangeConfiguration,e=>e.hasChanged(33)||e.hasChanged(117)||e.hasChanged(99)||e.hasChanged(94)||e.hasChanged(51)||e.hasChanged(50)||e.hasChanged(67))),this._register((0,l.EH)(e=>{let t=this.lines.read(e);this.editorOptionsChanged.read(e),t?this.updateLines(t.lineNumber,t.additionalLines,t.minReservedLineCount):this.clear()}))}dispose(){super.dispose(),this.clear()}clear(){this.editor.changeViewZones(e=>{this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0)})}updateLines(e,t,i){let n=this.editor.getModel();if(!n)return;let{tabSize:s}=n.getOptions();this.editor.changeViewZones(n=>{this._viewZoneId&&(n.removeZone(this._viewZoneId),this._viewZoneId=void 0);let o=Math.max(t.length,i);if(o>0){let i=document.createElement("div");(function(e,t,i,n,s){let o=n.get(33),r=n.get(117),l=n.get(94),u=n.get(51),c=n.get(50),p=n.get(67),m=new g.HT(1e4);m.appendString('
    ');for(let e=0,n=i.length;e');let g=a.$i(d),_=a.Ut(d),b=f.A.createEmpty(d,s);(0,v.d1)(new v.IJ(c.isMonospace&&!o,c.canUseHalfwidthRightwardsArrow,d,!1,g,_,0,b,n.decorations,t,0,c.spaceWidth,c.middotWidth,c.wsmiddotWidth,r,"none",l,u!==h.n0.OFF,null),m),m.appendString("
    ")}m.appendString(""),(0,d.N)(e,c);let _=m.build(),b=L?L.createHTML(_):_;e.innerHTML=b})(i,s,t,this.editor.getOptions(),this.languageIdCodec),this._viewZoneId=n.addZone({afterLineNumber:e,heightInLines:o,domNode:i,afterColumnAffinity:1})}})}}let L=(0,s.Z)("editorGhostText",{createHTML:e=>e})},78573:function(e,t,i){"use strict";i.d(t,{f:function(){return d}});var n=i(39901),s=i(97295),o=i(7988),r=i(32064),l=i(5976),a=i(63580);class d extends l.JT{constructor(e,t){super(),this.contextKeyService=e,this.model=t,this.inlineCompletionVisible=d.inlineSuggestionVisible.bindTo(this.contextKeyService),this.inlineCompletionSuggestsIndentation=d.inlineSuggestionHasIndentation.bindTo(this.contextKeyService),this.inlineCompletionSuggestsIndentationLessThanTabSize=d.inlineSuggestionHasIndentationLessThanTabSize.bindTo(this.contextKeyService),this.suppressSuggestions=d.suppressSuggestions.bindTo(this.contextKeyService),this._register((0,n.EH)(e=>{let t=this.model.read(e),i=null==t?void 0:t.state.read(e),n=!!(null==i?void 0:i.inlineCompletion)&&(null==i?void 0:i.primaryGhostText)!==void 0&&!(null==i?void 0:i.primaryGhostText.isEmpty());this.inlineCompletionVisible.set(n),(null==i?void 0:i.primaryGhostText)&&(null==i?void 0:i.inlineCompletion)&&this.suppressSuggestions.set(i.inlineCompletion.inlineCompletion.source.inlineCompletions.suppressSuggestions)})),this._register((0,n.EH)(e=>{let t=this.model.read(e),i=!1,n=!0,r=null==t?void 0:t.primaryGhostText.read(e);if((null==t?void 0:t.selectedSuggestItem)&&r&&r.parts.length>0){let{column:e,lines:l}=r.parts[0],a=l[0],d=t.textModel.getLineIndentColumn(r.lineNumber);if(e<=d){let e=(0,s.LC)(a);-1===e&&(e=a.length-1),i=e>0;let r=t.textModel.getOptions().tabSize,l=o.i.visibleColumnFromColumn(a,e+1,r);n=lthis.lines[e-1]}}getLineCount(){return this.lines.length}getLineLength(e){return this.lines[e-1].getLineContent().length}}var Q=i(8396),Z=i(35084);async function Y(e,t,i,n,s=_.Ts.None,o){let r=function(e,t){let i=t.getWordAtPosition(e),n=t.getLineMaxColumn(e.lineNumber);return i?new R.e(e.lineNumber,i.startColumn,e.lineNumber,n):R.e.fromPositions(e,e.with(void 0,n))}(t,i),l=e.all(i),a=new z.ri;for(let e of l)e.groupId&&a.add(e.groupId,e);function d(e){if(!e.yieldsToGroupIds)return[];let t=[];for(let i of e.yieldsToGroupIds||[]){let e=a.get(i);for(let i of e)t.push(i)}return t}let h=new Map,u=new Set,c=await Promise.all(l.map(async e=>({provider:e,completions:await function e(o){let r=h.get(o);if(r)return r;let l=function e(t,i){if(i=[...i,t],u.has(t))return i;u.add(t);try{let n=d(t);for(let t of n){let n=e(t,i);if(n)return n}}finally{u.delete(t)}}(o,[]);l&&(0,I.Cp)(Error(`Inline completions: cyclic yield-to dependency detected. Path: ${l.map(e=>e.toString?e.toString():""+e).join(" -> ")}`));let a=new f.CR;return h.set(o,a.p),(async()=>{if(!l){let t=d(o);for(let i of t){let t=await e(i);if(t&&t.items.length>0)return}}try{let e=await o.provideInlineCompletions(i,t,n,s);return e}catch(e){(0,I.Cp)(e);return}})().then(e=>a.complete(e),e=>a.error(e)),a.p}(e)}))),g=new Map,p=[];for(let e of c){let t=e.completions;if(!t)continue;let n=new X(t,e.provider);for(let e of(p.push(n),t.items)){let t=ee.from(e,n,r,i,o);g.set(t.hash(),t)}}return new J(Array.from(g.values()),new Set(g.keys()),p)}class J{constructor(e,t,i){this.completions=e,this.hashs=t,this.providerResults=i}has(e){return this.hashs.has(e.hash())}dispose(){for(let e of this.providerResults)e.removeRef()}}class X{constructor(e,t){this.inlineCompletions=e,this.provider=t,this.refCount=1}addRef(){this.refCount++}removeRef(){this.refCount--,0===this.refCount&&this.provider.freeInlineCompletions(this.inlineCompletions)}}class ee{static from(e,t,i,n,s){let o,r;let l=e.range?R.e.lift(e.range):i;if("string"==typeof e.insertText){if(o=e.insertText,s&&e.completeBracketPairs){o=et(o,l.getStartPosition(),n,s);let t=o.length-e.insertText.length;0!==t&&(l=new R.e(l.startLineNumber,l.startColumn,l.endLineNumber,l.endColumn+t))}r=void 0}else if("snippet"in e.insertText){let t=e.insertText.snippet.length;if(s&&e.completeBracketPairs){e.insertText.snippet=et(e.insertText.snippet,l.getStartPosition(),n,s);let i=e.insertText.snippet.length-t;0!==i&&(l=new R.e(l.startLineNumber,l.startColumn,l.endLineNumber,l.endColumn+i))}let i=new Z.Yj().parse(e.insertText.snippet);1===i.children.length&&i.children[0]instanceof Z.xv?(o=i.children[0].value,r=void 0):(o=i.toString(),r={snippet:e.insertText.snippet,range:l})}else(0,V.vE)(e.insertText);return new ee(o,e.command,l,o,r,e.additionalTextEdits||(0,Q.He)(),e,t)}constructor(e,t,i,n,s,o,r,l){this.filterText=e,this.command=t,this.range=i,this.insertText=n,this.snippetInfo=s,this.additionalTextEdits=o,this.sourceInlineCompletion=r,this.source=l,n=(e=e.replace(/\r\n|\r/g,"\n")).replace(/\r\n|\r/g,"\n")}withRange(e){return new ee(this.filterText,this.command,e,this.insertText,this.snippetInfo,this.additionalTextEdits,this.sourceInlineCompletion,this.source)}hash(){return JSON.stringify({insertText:this.insertText,range:this.range.toString()})}}function et(e,t,i,n){let s=i.getLineContent(t.lineNumber).substring(0,t.column-1),o=s+e,r=i.tokenization.tokenizeLineWithEdit(t,o.length-(t.column-1),e),l=null==r?void 0:r.sliceAndInflate(t.column-1,o.length,0);if(!l)return e;let a=function(e,t){let i=new q.FE,n=new K.Z(i,e=>t.getLanguageConfiguration(e)),s=new j.xH(new G([e]),n),o=(0,$.w)(s,[],void 0,!0),r="",l=e.getLineContent();return!function e(t,i){if(2===t.kind){if(e(t.openingBracket,i),i=(0,U.Ii)(i,t.openingBracket.length),t.child&&(e(t.child,i),i=(0,U.Ii)(i,t.child.length)),t.closingBracket)e(t.closingBracket,i),i=(0,U.Ii)(i,t.closingBracket.length);else{let e=n.getSingleLanguageBracketTokens(t.openingBracket.languageId),i=e.findClosingTokenText(t.openingBracket.bracketIds);r+=i}}else if(3===t.kind);else if(0===t.kind||1===t.kind)r+=l.substring((0,U.F_)(i),(0,U.F_)((0,U.Ii)(i,t.length)));else if(4===t.kind)for(let n of t.children)e(n,i),i=(0,U.Ii)(i,n.length)}(o,U.xl),r}(l,n);return a}var ei=i(22571);function en(e,t,i){let n=i?e.range.intersectRanges(i):e.range;if(!n)return e;let s=t.getValueInRange(n,1),o=(0,T.Mh)(s,e.text),r=O.A.ofText(s.substring(0,o)).addToPosition(e.range.getStartPosition()),l=e.text.substring(o),a=R.e.fromPositions(r,e.range.getEndPosition());return new P.At(a,l)}function es(e,t){var i,n;return e.text.startsWith(t.text)&&(i=e.range,(n=t.range).getStartPosition().equals(i.getStartPosition())&&n.getEndPosition().isBeforeOrEqual(i.getEndPosition()))}function eo(e,t,i,s,o=0){let r=en(e,t);if(r.range.endLineNumber!==r.range.startLineNumber)return;let l=t.getLineContent(r.range.startLineNumber),a=(0,T.V8)(l).length,d=r.range.startColumn-1<=a;if(d){let e=(0,T.V8)(r.text).length,t=l.substring(r.range.startColumn-1,a),[i,n]=[r.range.getStartPosition(),r.range.getEndPosition()],s=i.column+t.length<=n.column?i.delta(0,t.length):n,o=R.e.fromPositions(s,n),d=r.text.startsWith(t)?r.text.substring(t.length):r.text.substring(e);r=new P.At(o,d)}let h=t.getValueInRange(r.range),u=function(e,t){if((null==n?void 0:n.originalValue)===e&&(null==n?void 0:n.newValue)===t)return null==n?void 0:n.changes;{let i=el(e,t,!0);if(i){let n=er(i);if(n>0){let s=el(e,t,!1);s&&er(s)0===e.originalLength);if(e.length>1||1===e.length&&e[0].originalStart!==h.length)return}let p=r.text.length-o;for(let e of u){let t=r.range.startColumn+e.originalStart+e.originalLength;if("subwordSmart"===i&&s&&s.lineNumber===r.range.startLineNumber&&t0)return;if(0===e.modifiedLength)continue;let n=e.modifiedStart+e.modifiedLength,o=Math.max(e.modifiedStart,Math.min(n,p)),l=r.text.substring(e.modifiedStart,o),a=r.text.substring(o,Math.max(e.modifiedStart,n));l.length>0&&g.push(new W.NY(t,l,!1)),a.length>0&&g.push(new W.NY(t,a,!0))}return new W.Vb(c,g)}function er(e){let t=0;for(let i of e)t+=i.originalLength;return t}function el(e,t,i){if(e.length>5e3||t.length>5e3)return;function n(e){let t=0;for(let i=0,n=e.length;it&&(t=n)}return t}let s=Math.max(n(e),n(t));function o(e){if(e<0)throw Error("unexpected");return s+e+1}function r(e){let t=0,n=0,s=new Int32Array(e.length);for(let r=0,l=e.length;rl},{getElements:()=>a}).ComputeDiff(!1).changes}var ea=function(e,t){return function(i,n){t(i,n,e)}};let ed=class extends b.JT{constructor(e,t,i,n,s){super(),this.textModel=e,this.versionId=t,this._debounceValue=i,this.languageFeaturesService=n,this.languageConfigurationService=s,this._updateOperation=this._register(new b.XK),this.inlineCompletions=(0,d.DN)("inlineCompletions",void 0),this.suggestWidgetInlineCompletions=(0,d.DN)("suggestWidgetInlineCompletions",void 0),this._register(this.textModel.onDidChangeContent(()=>{this._updateOperation.clear()}))}fetch(e,t,i){var n,s;let o=new eh(e,t,this.textModel.getVersionId()),r=t.selectedSuggestionInfo?this.suggestWidgetInlineCompletions:this.inlineCompletions;if(null===(n=this._updateOperation.value)||void 0===n?void 0:n.request.satisfies(o))return this._updateOperation.value.promise;if(null===(s=r.get())||void 0===s?void 0:s.request.satisfies(o))return Promise.resolve(!0);let l=!!this._updateOperation.value;this._updateOperation.clear();let a=new _.AU,h=(async()=>{var n,s;let h=l||t.triggerKind===F.bw.Automatic;if(h&&await (n=this._debounceValue.get(this.textModel),s=a.token,new Promise(e=>{let t;let i=setTimeout(()=>{t&&t.dispose(),e()},n);s&&(t=s.onCancellationRequested(()=>{clearTimeout(i),t&&t.dispose(),e()}))})),a.token.isCancellationRequested||this.textModel.getVersionId()!==o.versionId)return!1;let u=new Date,c=await Y(this.languageFeaturesService.inlineCompletionsProvider,e,this.textModel,t,a.token,this.languageConfigurationService);if(a.token.isCancellationRequested||this.textModel.getVersionId()!==o.versionId)return!1;let g=new Date;this._debounceValue.update(this.textModel,g.getTime()-u.getTime());let p=new ec(c,o,this.textModel,this.versionId);if(i){let t=i.toInlineCompletion(void 0);i.canBeReused(this.textModel,e)&&!c.has(t)&&p.prepend(i.inlineCompletion,t.range,!0)}return this._updateOperation.clear(),(0,d.PS)(e=>{r.set(p,e)}),!0})(),u=new eu(o,a,h);return this._updateOperation.value=u,h}clear(e){this._updateOperation.clear(),this.inlineCompletions.set(void 0,e),this.suggestWidgetInlineCompletions.set(void 0,e)}clearSuggestWidgetInlineCompletions(e){var t;(null===(t=this._updateOperation.value)||void 0===t?void 0:t.request.context.selectedSuggestionInfo)&&this._updateOperation.clear(),this.suggestWidgetInlineCompletions.set(void 0,e)}cancelUpdate(){this._updateOperation.clear()}};ed=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([ea(3,k.p),ea(4,B.c_)],ed);class eh{constructor(e,t,i){this.position=e,this.context=t,this.versionId=i}satisfies(e){return this.position.equals(e.position)&&(0,v.Tx)(this.context.selectedSuggestionInfo,e.context.selectedSuggestionInfo,(0,v.$h)())&&(e.context.triggerKind===F.bw.Automatic||this.context.triggerKind===F.bw.Explicit)&&this.versionId===e.versionId}}class eu{constructor(e,t,i){this.request=e,this.cancellationTokenSource=t,this.promise=i}dispose(){this.cancellationTokenSource.cancel()}}class ec{get inlineCompletions(){return this._inlineCompletions}constructor(e,t,i,n){this.inlineCompletionProviderResult=e,this.request=t,this._textModel=i,this._versionId=n,this._refCount=1,this._prependedInlineCompletionItems=[];let s=i.deltaDecorations([],e.completions.map(e=>({range:e.range,options:{description:"inline-completion-tracking-range"}})));this._inlineCompletions=e.completions.map((e,t)=>new eg(e,s[t],this._textModel,this._versionId))}clone(){return this._refCount++,this}dispose(){if(this._refCount--,0===this._refCount)for(let e of(setTimeout(()=>{this._textModel.isDisposed()||this._textModel.deltaDecorations(this._inlineCompletions.map(e=>e.decorationId),[])},0),this.inlineCompletionProviderResult.dispose(),this._prependedInlineCompletionItems))e.source.removeRef()}prepend(e,t,i){i&&e.source.addRef();let n=this._textModel.deltaDecorations([],[{range:t,options:{description:"inline-completion-tracking-range"}}])[0];this._inlineCompletions.unshift(new eg(e,n,this._textModel,this._versionId)),this._prependedInlineCompletionItems.push(e)}}class eg{get forwardStable(){var e;return null!==(e=this.inlineCompletion.source.inlineCompletions.enableForwardStability)&&void 0!==e&&e}constructor(e,t,i,n){this.inlineCompletion=e,this.decorationId=t,this._textModel=i,this._modelVersion=n,this.semanticId=JSON.stringify([this.inlineCompletion.filterText,this.inlineCompletion.insertText,this.inlineCompletion.range.getStartPosition().toString()]),this._updatedRange=(0,d.bk)({owner:this,equalsFn:R.e.equalsRange},e=>(this._modelVersion.read(e),this._textModel.getDecorationRange(this.decorationId)))}toInlineCompletion(e){var t;return this.inlineCompletion.withRange(null!==(t=this._updatedRange.read(e))&&void 0!==t?t:ep)}toSingleTextEdit(e){var t;return new P.At(null!==(t=this._updatedRange.read(e))&&void 0!==t?t:ep,this.inlineCompletion.insertText)}isVisible(e,t,i){let n=en(this._toFilterTextReplacement(i),e),s=this._updatedRange.read(i);if(!s||!this.inlineCompletion.range.getStartPosition().equals(s.getStartPosition())||t.lineNumber!==n.range.startLineNumber)return!1;let o=e.getValueInRange(n.range,1),r=n.text,l=Math.max(0,t.column-n.range.startColumn),a=r.substring(0,l),d=r.substring(l),h=o.substring(0,l),u=o.substring(l),c=e.getLineIndentColumn(n.range.startLineNumber);return n.range.startColumn<=c&&(0===(h=h.trimStart()).length&&(u=u.trimStart()),0===(a=a.trimStart()).length&&(d=d.trimStart())),a.startsWith(h)&&!!(0,H.Sy)(u,d)}canBeReused(e,t){let i=this._updatedRange.read(void 0),n=!!i&&i.containsPosition(t)&&this.isVisible(e,t,void 0)&&O.A.ofRange(i).isGreaterThanOrEqualTo(O.A.ofRange(this.inlineCompletion.range));return n}_toFilterTextReplacement(e){var t;return new P.At(null!==(t=this._updatedRange.read(e))&&void 0!==t?t:ep,this.inlineCompletion.filterText)}}let ep=new R.e(1,1,1,1);var em=i(98762),ef=i(94565),e_=i(72065),ev=function(e,t){return function(i,n){t(i,n,e)}};(s=o||(o={}))[s.Undo=0]="Undo",s[s.Redo=1]="Redo",s[s.AcceptWord=2]="AcceptWord",s[s.Other=3]="Other";let eb=class extends b.JT{get isAcceptingPartially(){return this._isAcceptingPartially}constructor(e,t,i,n,s,r,l,a,h,u,c,g){let p;super(),this.textModel=e,this.selectedSuggestItem=t,this.textModelVersionId=i,this._positions=n,this._debounceValue=s,this._suggestPreviewEnabled=r,this._suggestPreviewMode=l,this._inlineSuggestMode=a,this._enabled=h,this._instantiationService=u,this._commandService=c,this._languageConfigurationService=g,this._source=this._register(this._instantiationService.createInstance(ed,this.textModel,this.textModelVersionId,this._debounceValue)),this._isActive=(0,d.uh)(this,!1),this._forceUpdateExplicitlySignal=(0,d.GN)(this),this._selectedInlineCompletionId=(0,d.uh)(this,void 0),this._primaryPosition=(0,d.nK)(this,e=>{var t;return null!==(t=this._positions.read(e)[0])&&void 0!==t?t:new S.L(1,1)}),this._isAcceptingPartially=!1,this._preserveCurrentCompletionReasons=new Set([o.Redo,o.Undo,o.AcceptWord]),this._fetchInlineCompletionsPromise=(0,d.aK)({owner:this,createEmptyChangeSummary:()=>({preserveCurrentCompletion:!1,inlineCompletionTriggerKind:F.bw.Automatic}),handleChange:(e,t)=>(e.didChange(this.textModelVersionId)&&this._preserveCurrentCompletionReasons.has(e.change)?t.preserveCurrentCompletion=!0:e.didChange(this._forceUpdateExplicitlySignal)&&(t.inlineCompletionTriggerKind=F.bw.Explicit),!0)},(e,t)=>{this._forceUpdateExplicitlySignal.read(e);let i=this._enabled.read(e)&&this.selectedSuggestItem.read(e)||this._isActive.read(e);if(!i){this._source.cancelUpdate();return}this.textModelVersionId.read(e);let n=this._source.suggestWidgetInlineCompletions.get(),s=this.selectedSuggestItem.read(e);if(n&&!s){let e=this._source.inlineCompletions.get();(0,d.PS)(t=>{(!e||n.request.versionId>e.request.versionId)&&this._source.inlineCompletions.set(n.clone(),t),this._source.clearSuggestWidgetInlineCompletions(t)})}let o=this._primaryPosition.read(e),r={triggerKind:t.inlineCompletionTriggerKind,selectedSuggestionInfo:null==s?void 0:s.toSelectedSuggestionInfo()},l=this.selectedInlineCompletion.get(),a=t.preserveCurrentCompletion||(null==l?void 0:l.forwardStable)?l:void 0;return this._source.fetch(o,r,a)}),this._filteredInlineCompletionItems=(0,d.bk)({owner:this,equalsFn:(0,v.ZC)()},e=>{let t=this._source.inlineCompletions.read(e);if(!t)return[];let i=this._primaryPosition.read(e),n=t.inlineCompletions.filter(t=>t.isVisible(this.textModel,i,e));return n}),this.selectedInlineCompletionIndex=(0,d.nK)(this,e=>{let t=this._selectedInlineCompletionId.read(e),i=this._filteredInlineCompletionItems.read(e),n=void 0===this._selectedInlineCompletionId?-1:i.findIndex(e=>e.semanticId===t);return -1===n?(this._selectedInlineCompletionId.set(void 0,void 0),0):n}),this.selectedInlineCompletion=(0,d.nK)(this,e=>{let t=this._filteredInlineCompletionItems.read(e),i=this.selectedInlineCompletionIndex.read(e);return t[i]}),this.activeCommands=(0,d.bk)({owner:this,equalsFn:(0,v.ZC)()},e=>{var t,i;return null!==(i=null===(t=this.selectedInlineCompletion.read(e))||void 0===t?void 0:t.inlineCompletion.source.inlineCompletions.commands)&&void 0!==i?i:[]}),this.lastTriggerKind=this._source.inlineCompletions.map(this,e=>null==e?void 0:e.request.context.triggerKind),this.inlineCompletionsCount=(0,d.nK)(this,e=>this.lastTriggerKind.read(e)===F.bw.Explicit?this._filteredInlineCompletionItems.read(e).length:void 0),this.state=(0,d.bk)({owner:this,equalsFn:(e,t)=>e&&t?(0,W.bY)(e.ghostTexts,t.ghostTexts)&&e.inlineCompletion===t.inlineCompletion&&e.suggestItem===t.suggestItem:e===t},e=>{var t,i;let n=this.textModel,s=this.selectedSuggestItem.read(e);if(s){let o=en(s.toSingleTextEdit(),n),r=this._computeAugmentation(o,e),l=this._suggestPreviewEnabled.read(e);if(!l&&!r)return;let a=null!==(t=null==r?void 0:r.edit)&&void 0!==t?t:o,d=r?r.edit.text.length-o.text.length:0,h=this._suggestPreviewMode.read(e),u=this._positions.read(e),c=[a,...eC(this.textModel,u,a)],g=c.map((e,t)=>eo(e,n,h,u[t],d)).filter(w.$K),p=null!==(i=g[0])&&void 0!==i?i:new W.Vb(a.range.endLineNumber,[]);return{edits:c,primaryGhostText:p,ghostTexts:g,inlineCompletion:null==r?void 0:r.completion,suggestItem:s}}{if(!this._isActive.read(e))return;let t=this.selectedInlineCompletion.read(e);if(!t)return;let i=t.toSingleTextEdit(e),s=this._inlineSuggestMode.read(e),o=this._positions.read(e),r=[i,...eC(this.textModel,o,i)],l=r.map((e,t)=>eo(e,n,s,o[t],0)).filter(w.$K);if(!l[0])return;return{edits:r,primaryGhostText:l[0],ghostTexts:l,inlineCompletion:t,suggestItem:void 0}}}),this.ghostTexts=(0,d.bk)({owner:this,equalsFn:W.bY},e=>{let t=this.state.read(e);if(t)return t.ghostTexts}),this.primaryGhostText=(0,d.bk)({owner:this,equalsFn:W.HL},e=>{let t=this.state.read(e);if(t)return null==t?void 0:t.primaryGhostText}),this._register((0,d.jx)(this._fetchInlineCompletionsPromise)),this._register((0,d.EH)(e=>{var t,i;let n=this.state.read(e),s=null==n?void 0:n.inlineCompletion;if((null==s?void 0:s.semanticId)!==(null==p?void 0:p.semanticId)&&(p=s,s)){let e=s.inlineCompletion,n=e.source;null===(i=(t=n.provider).handleItemDidShow)||void 0===i||i.call(t,n.inlineCompletions,e.sourceInlineCompletion,e.insertText)}}))}async trigger(e){this._isActive.set(!0,e),await this._fetchInlineCompletionsPromise.get()}async triggerExplicitly(e){(0,d.c8)(e,e=>{this._isActive.set(!0,e),this._forceUpdateExplicitlySignal.trigger(e)}),await this._fetchInlineCompletionsPromise.get()}stop(e){(0,d.c8)(e,e=>{this._isActive.set(!1,e),this._source.clear(e)})}_computeAugmentation(e,t){let i=this.textModel,n=this._source.suggestWidgetInlineCompletions.read(t),s=n?n.inlineCompletions:[this.selectedInlineCompletion.read(t)].filter(w.$K),o=(0,E.Fr)(s,n=>{let s=n.toSingleTextEdit(t);return es(s=en(s,i,R.e.fromPositions(s.range.getStartPosition(),e.range.getEndPosition())),e)?{completion:n,edit:s}:void 0});return o}async _deltaSelectedInlineCompletionIndex(e){await this.triggerExplicitly();let t=this._filteredInlineCompletionItems.get()||[];if(t.length>0){let i=(this.selectedInlineCompletionIndex.get()+e+t.length)%t.length;this._selectedInlineCompletionId.set(t[i].semanticId,void 0)}else this._selectedInlineCompletionId.set(void 0,void 0)}async next(){await this._deltaSelectedInlineCompletionIndex(1)}async previous(){await this._deltaSelectedInlineCompletionIndex(-1)}async accept(e){var t;if(e.getModel()!==this.textModel)throw new I.he;let i=this.state.get();if(!i||i.primaryGhostText.isEmpty()||!i.inlineCompletion)return;let n=i.inlineCompletion.toInlineCompletion(void 0);if(e.pushUndoStop(),n.snippetInfo)e.executeEdits("inlineSuggestion.accept",[M.h.replace(n.range,""),...n.additionalTextEdits]),e.setPosition(n.snippetInfo.range.getStartPosition(),"inlineCompletionAccept"),null===(t=em.f.get(e))||void 0===t||t.insert(n.snippetInfo.snippet,{undoStopBefore:!1});else{let t=i.edits,s=ew(t).map(e=>A.Y.fromPositions(e));e.executeEdits("inlineSuggestion.accept",[...t.map(e=>M.h.replace(e.range,e.text)),...n.additionalTextEdits]),e.setSelections(s,"inlineCompletionAccept")}n.command&&n.source.addRef(),(0,d.PS)(e=>{this._source.clear(e),this._isActive.set(!1,e)}),n.command&&(await this._commandService.executeCommand(n.command.id,...n.command.arguments||[]).then(void 0,I.Cp),n.source.removeRef())}async acceptNextWord(e){await this._acceptNext(e,(e,t)=>{let i=this.textModel.getLanguageIdAtPosition(e.lineNumber,e.column),n=this._languageConfigurationService.getLanguageConfiguration(i),s=new RegExp(n.wordDefinition.source,n.wordDefinition.flags.replace("g","")),o=t.match(s),r=0;r=o&&void 0!==o.index?0===o.index?o[0].length:o.index:t.length;let l=/\s+/g.exec(t);return l&&void 0!==l.index&&l.index+l[0].length{let i=t.match(/\n/);return i&&void 0!==i.index?i.index+1:t.length},1)}async _acceptNext(e,t,i){if(e.getModel()!==this.textModel)throw new I.he;let n=this.state.get();if(!n||n.primaryGhostText.isEmpty()||!n.inlineCompletion)return;let s=n.primaryGhostText,o=n.inlineCompletion.toInlineCompletion(void 0);if(o.snippetInfo||o.filterText!==o.insertText){await this.accept(e);return}let r=s.parts[0],l=new S.L(s.lineNumber,r.column),a=r.text,d=t(l,a);if(d===a.length&&1===s.parts.length){this.accept(e);return}let h=a.substring(0,d),u=this._positions.get(),c=u[0];o.source.addRef();try{this._isAcceptingPartially=!0;try{e.pushUndoStop();let t=R.e.fromPositions(c,l),i=e.getModel().getValueInRange(t)+h,n=new P.At(t,i),s=[n,...eC(this.textModel,u,n)],o=ew(s).map(e=>A.Y.fromPositions(e));e.executeEdits("inlineSuggestion.accept",s.map(e=>M.h.replace(e.range,e.text))),e.setSelections(o,"inlineCompletionPartialAccept"),e.revealPositionInCenterIfOutsideViewport(e.getPosition(),1)}finally{this._isAcceptingPartially=!1}if(o.source.provider.handlePartialAccept){let t=R.e.fromPositions(o.range.getStartPosition(),O.A.ofText(h).addToPosition(l)),n=e.getModel().getValueInRange(t,1);o.source.provider.handlePartialAccept(o.source.inlineCompletions,o.sourceInlineCompletion,n.length,{kind:i})}}finally{o.source.removeRef()}}handleSuggestAccepted(e){var t,i;let n=en(e.toSingleTextEdit(),this.textModel),s=this._computeAugmentation(n,void 0);if(!s)return;let o=s.completion.inlineCompletion;null===(i=(t=o.source.provider).handlePartialAccept)||void 0===i||i.call(t,o.source.inlineCompletions,o.sourceInlineCompletion,n.text.length,{kind:2})}};function eC(e,t,i){if(1===t.length)return[];let n=t[0],s=t.slice(1),o=i.range.getStartPosition(),r=i.range.getEndPosition(),l=e.getValueInRange(R.e.fromPositions(n,r)),a=(0,Q.Bm)(n,o);if(a.lineNumber<1)return(0,I.dL)(new I.he(`positionWithinTextEdit line number should be bigger than 0. - Invalid subtraction between ${n.toString()} and ${o.toString()}`)),[];let d=function(e,t){let i="",n=(0,T.Fw)(e);for(let e=t.lineNumber-1;e{let i=(0,Q.QO)((0,Q.Bm)(t,o),r),n=e.getValueInRange(R.e.fromPositions(t,i)),s=(0,T.Mh)(l,n),a=R.e.fromPositions(t,t.delta(0,s));return new P.At(a,d)})}function ew(e){let t=N._i.createSortPermutation(e,(e,t)=>R.e.compareRangesUsingStarts(e.range,t.range)),i=new P.PY(t.apply(e)),n=i.getNewRanges(),s=t.inverse().apply(n);return s.map(e=>e.getEndPosition())}eb=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([ev(9,e_.TG),ev(10,ef.H),ev(11,B.c_)],eb);var ey=i(4669),eS=i(7307),eL=i(73802);class ek extends b.JT{get selectedItem(){return this._selectedItem}constructor(e,t,i,n){super(),this.editor=e,this.suggestControllerPreselector=t,this.checkModelVersion=i,this.onWillAccept=n,this.isSuggestWidgetVisible=!1,this.isShiftKeyPressed=!1,this._isActive=!1,this._currentSuggestItemInfo=void 0,this._selectedItem=(0,d.uh)(this,void 0),this._register(e.onKeyDown(e=>{e.shiftKey&&!this.isShiftKeyPressed&&(this.isShiftKeyPressed=!0,this.update(this._isActive))})),this._register(e.onKeyUp(e=>{e.shiftKey&&this.isShiftKeyPressed&&(this.isShiftKeyPressed=!1,this.update(this._isActive))}));let s=eL.n.get(this.editor);if(s){this._register(s.registerSelector({priority:100,select:(e,t,i)=>{(0,d.PS)(e=>this.checkModelVersion(e));let n=this.editor.getModel();if(!n)return -1;let o=this.suggestControllerPreselector(),r=o?en(o,n):void 0;if(!r)return -1;let l=S.L.lift(t),a=i.map((e,t)=>{let i=eD.fromSuggestion(s,n,l,e,this.isShiftKeyPressed),o=en(i.toSingleTextEdit(),n),a=es(r,o);return{index:t,valid:a,prefixLength:o.text.length,suggestItem:e}}).filter(e=>e&&e.valid&&e.prefixLength>0),h=(0,E.hV)(a,(0,N.tT)(e=>e.prefixLength,N.fv));return h?h.index:-1}}));let e=!1,t=()=>{e||(e=!0,this._register(s.widget.value.onDidShow(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})),this._register(s.widget.value.onDidHide(()=>{this.isSuggestWidgetVisible=!1,this.update(!1)})),this._register(s.widget.value.onDidFocus(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})))};this._register(ey.ju.once(s.model.onDidTrigger)(e=>{t()})),this._register(s.onWillInsertSuggestItem(e=>{let t=this.editor.getPosition(),i=this.editor.getModel();if(!t||!i)return;let n=eD.fromSuggestion(s,i,t,e.item,this.isShiftKeyPressed);this.onWillAccept(n)}))}this.update(this._isActive)}update(e){var t;let i=this.getSuggestItemInfo();this._isActive===e&&((t=this._currentSuggestItemInfo)===i||t&&i&&t.equals(i))||(this._isActive=e,this._currentSuggestItemInfo=i,(0,d.PS)(e=>{this.checkModelVersion(e),this._selectedItem.set(this._isActive?this._currentSuggestItemInfo:void 0,e)}))}getSuggestItemInfo(){let e=eL.n.get(this.editor);if(!e||!this.isSuggestWidgetVisible)return;let t=e.widget.value.getFocusedItem(),i=this.editor.getPosition(),n=this.editor.getModel();if(t&&i&&n)return eD.fromSuggestion(e,n,i,t.item,this.isShiftKeyPressed)}stopForceRenderingAbove(){let e=eL.n.get(this.editor);null==e||e.stopForceRenderingAbove()}forceRenderingAbove(){let e=eL.n.get(this.editor);null==e||e.forceRenderingAbove()}}class eD{static fromSuggestion(e,t,i,n,s){let{insertText:o}=n.completion,r=!1;if(4&n.completion.insertTextRules){let e=new Z.Yj().parse(o);e.children.length<100&&eS.l.adjustWhitespace(t,i,!0,e),o=e.toString(),r=!0}let l=e.getOverwriteInfo(n,s);return new eD(R.e.fromPositions(i.delta(0,-l.overwriteBefore),i.delta(0,Math.max(l.overwriteAfter,0))),o,n.completion.kind,r)}constructor(e,t,i,n){this.range=e,this.insertText=t,this.completionItemKind=i,this.isSnippetText=n}equals(e){return this.range.equalsRange(e.range)&&this.insertText===e.insertText&&this.completionItemKind===e.completionItemKind&&this.isSnippetText===e.isSnippetText}toSelectedSuggestionInfo(){return new F.ln(this.range,this.insertText,this.completionItemKind,this.isSnippetText)}toSingleTextEdit(){return new P.At(this.range,this.insertText)}}var ex=i(63580),eN=i(31106),eE=i(38832),eI=i(33108),eT=i(32064),eM=i(91847),eR=function(e,t){return function(i,n){t(i,n,e)}};let eA=r=class extends b.JT{static get(e){return e.getContribution(r.ID)}constructor(e,t,i,n,s,r,l,a,u,m){let L;super(),this.editor=e,this._instantiationService=t,this._contextKeyService=i,this._configurationService=n,this._commandService=s,this._debounceService=r,this._languageFeaturesService=l,this._accessibilitySignalService=a,this._keybindingService=u,this._accessibilityService=m,this.model=this._register((0,d.DN)("inlineCompletionModel",void 0)),this._textModelVersionId=(0,d.uh)(this,-1),this._positions=(0,h.Ku)({owner:this,equalsFn:(0,v.ZC)((0,v.$h)())},[new S.L(1,1)]),this._suggestWidgetAdaptor=this._register(new ek(this.editor,()=>{var e,t;return null===(t=null===(e=this.model.get())||void 0===e?void 0:e.selectedInlineCompletion.get())||void 0===t?void 0:t.toSingleTextEdit(void 0)},e=>this.updateObservables(e,o.Other),e=>{(0,d.PS)(t=>{var i;this.updateObservables(t,o.Other),null===(i=this.model.get())||void 0===i||i.handleSuggestAccepted(e)})})),this._enabledInConfig=(0,d.rD)(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(62).enabled),this._isScreenReaderEnabled=(0,d.rD)(this._accessibilityService.onDidChangeScreenReaderOptimized,()=>this._accessibilityService.isScreenReaderOptimized()),this._editorDictationInProgress=(0,d.rD)(this._contextKeyService.onDidChangeContext,()=>!0===this._contextKeyService.getContext(this.editor.getDomNode()).getValue("editorDictation.inProgress")),this._enabled=(0,d.nK)(this,e=>this._enabledInConfig.read(e)&&(!this._isScreenReaderEnabled.read(e)||!this._editorDictationInProgress.read(e))),this._fontFamily=(0,d.rD)(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(62).fontFamily),this._ghostTexts=(0,d.nK)(this,e=>{var t;let i=this.model.read(e);return null!==(t=null==i?void 0:i.ghostTexts.read(e))&&void 0!==t?t:[]}),this._stablizedGhostTexts=function(e,t){let i=(0,d.uh)("result",[]),n=[];return t.add((0,d.EH)(t=>{let s=e.read(t);(0,d.PS)(e=>{if(s.length!==n.length){n.length=s.length;for(let e=0;et.set(s[i],e))})})),i}(this._ghostTexts,this._store),this._ghostTextWidgets=(0,C.Zg)(this,this._stablizedGhostTexts,(e,t)=>t.add(this._instantiationService.createInstance(D.Wd,this.editor,{ghostText:e,minReservedLineCount:(0,d.Dz)(0),targetTextModel:this.model.map(e=>null==e?void 0:e.textModel)}))).recomputeInitiallyAndOnChange(this._store),this._debounceValue=this._debounceService.for(this._languageFeaturesService.inlineCompletionsProvider,"InlineCompletionsDebounce",{min:50,max:50}),this._playAccessibilitySignal=(0,d.GN)(this),this._isReadonly=(0,d.rD)(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(91)),this._textModel=(0,d.rD)(this.editor.onDidChangeModel,()=>this.editor.getModel()),this._textModelIfWritable=(0,d.nK)(e=>this._isReadonly.read(e)?void 0:this._textModel.read(e)),this._register(new g.f(this._contextKeyService,this.model)),this._register((0,d.EH)(i=>{let n=this._textModelIfWritable.read(i);(0,d.PS)(i=>{if(this.model.set(void 0,i),this.updateObservables(i,o.Other),n){let s=t.createInstance(eb,n,this._suggestWidgetAdaptor.selectedItem,this._textModelVersionId,this._positions,this._debounceValue,(0,d.rD)(e.onDidChangeConfiguration,()=>e.getOption(118).preview),(0,d.rD)(e.onDidChangeConfiguration,()=>e.getOption(118).previewMode),(0,d.rD)(e.onDidChangeConfiguration,()=>e.getOption(62).mode),this._enabled);this.model.set(s,i)}})}));let k=this._register((0,p.aU)());this._register((0,d.EH)(e=>{let t=this._fontFamily.read(e);k.setStyle(""===t||"default"===t?"":` -.monaco-editor .ghost-text-decoration, -.monaco-editor .ghost-text-decoration-preview, -.monaco-editor .ghost-text { - font-family: ${t}; -}`)}));let N=e=>{var t;return e.isUndoing?o.Undo:e.isRedoing?o.Redo:(null===(t=this.model.get())||void 0===t?void 0:t.isAcceptingPartially)?o.AcceptWord:o.Other};this._register(e.onDidChangeModelContent(e=>(0,d.PS)(t=>this.updateObservables(t,N(e))))),this._register(e.onDidChangeCursorPosition(e=>(0,d.PS)(t=>{var i;this.updateObservables(t,o.Other),(3===e.reason||"api"===e.source)&&(null===(i=this.model.get())||void 0===i||i.stop(t))}))),this._register(e.onDidType(()=>(0,d.PS)(e=>{var t;this.updateObservables(e,o.Other),this._enabled.get()&&(null===(t=this.model.get())||void 0===t||t.trigger(e))}))),this._register(this._commandService.onDidExecuteCommand(t=>{let i=new Set([y.wk.Tab.id,y.wk.DeleteLeft.id,y.wk.DeleteRight.id,c.Ou,"acceptSelectedSuggestion"]);i.has(t.commandId)&&e.hasTextFocus()&&this._enabled.get()&&(0,d.PS)(e=>{var t;null===(t=this.model.get())||void 0===t||t.trigger(e)})})),this._register(this.editor.onDidBlurEditorWidget(()=>{this._contextKeyService.getContextKeyValue("accessibleViewIsShown")||this._configurationService.getValue("editor.inlineSuggest.keepOnBlur")||e.getOption(62).keepOnBlur||x.QG.dropDownVisible||(0,d.PS)(e=>{var t;null===(t=this.model.get())||void 0===t||t.stop(e)})})),this._register((0,d.EH)(e=>{var t;let i=null===(t=this.model.read(e))||void 0===t?void 0:t.state.read(e);(null==i?void 0:i.suggestItem)?i.primaryGhostText.lineCount>=2&&this._suggestWidgetAdaptor.forceRenderingAbove():this._suggestWidgetAdaptor.stopForceRenderingAbove()})),this._register((0,b.OF)(()=>{this._suggestWidgetAdaptor.stopForceRenderingAbove()}));let E=this._register(new b.SL);this._register((0,d.nJ)({handleChange:(e,t)=>(e.didChange(this._playAccessibilitySignal)&&(L=void 0),!0)},async(e,t)=>{this._playAccessibilitySignal.read(e);let i=this.model.read(e),n=null==i?void 0:i.state.read(e);if(!i||!n||!n.inlineCompletion){L=void 0;return}if(n.inlineCompletion.semanticId!==L){E.clear(),L=n.inlineCompletion.semanticId;let e=i.textModel.getLineContent(n.primaryGhostText.lineNumber);await (0,f.Vs)(50,(0,_.bP)(E)),await (0,d.F_)(this._suggestWidgetAdaptor.selectedItem,w.o8,()=>!1,(0,_.bP)(E)),await this._accessibilitySignalService.playSignal(eE.iP.inlineSuggestion),this.editor.getOption(8)&&this.provideScreenReaderUpdate(n.primaryGhostText.renderForScreenReader(e))}})),this._register(new x.oU(this.editor,this.model,this._instantiationService)),this._register(this._configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration("accessibility.verbosity.inlineCompletions")&&this.editor.updateOptions({inlineCompletionsAccessibilityVerbose:this._configurationService.getValue("accessibility.verbosity.inlineCompletions")})})),this.editor.updateOptions({inlineCompletionsAccessibilityVerbose:this._configurationService.getValue("accessibility.verbosity.inlineCompletions")})}playAccessibilitySignal(e){this._playAccessibilitySignal.trigger(e)}provideScreenReaderUpdate(e){let t;let i=this._contextKeyService.getContextKeyValue("accessibleViewIsShown"),n=this._keybindingService.lookupKeybinding("editor.action.accessibleView");!i&&n&&this.editor.getOption(149)&&(t=(0,ex.NC)("showAccessibleViewHint","Inspect this in the accessible view ({0})",n.getAriaLabel())),t?(0,m.Z9)(e+", "+t):(0,m.Z9)(e)}updateObservables(e,t){var i,n,s;let o=this.editor.getModel();this._textModelVersionId.set(null!==(i=null==o?void 0:o.getVersionId())&&void 0!==i?i:-1,e,t),this._positions.set(null!==(s=null===(n=this.editor.getSelections())||void 0===n?void 0:n.map(e=>e.getPosition()))&&void 0!==s?s:[new S.L(1,1)],e)}shouldShowHoverAt(e){var t;let i=null===(t=this.model.get())||void 0===t?void 0:t.primaryGhostText.get();return!!i&&i.parts.some(t=>e.containsPosition(new S.L(i.lineNumber,t.column)))}shouldShowHoverAtViewZone(e){var t,i;return null!==(i=null===(t=this._ghostTextWidgets.get()[0])||void 0===t?void 0:t.ownsViewZone(e))&&void 0!==i&&i}};eA.ID="editor.contrib.inlineCompletionsController",eA=r=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([eR(1,e_.TG),eR(2,eT.i6),eR(3,eI.Ui),eR(4,ef.H),eR(5,L.A),eR(6,k.p),eR(7,eE.IV),eR(8,eM.d),eR(9,eN.F)],eA);var eP=i(55621),eO=i(84144);class eF extends l.R6{constructor(){super({id:eF.ID,label:ex.NC("action.inlineSuggest.showNext","Show Next Inline Suggestion"),alias:"Show Next Inline Suggestion",precondition:eT.Ao.and(u.u.writable,g.f.inlineSuggestionVisible),kbOpts:{weight:100,primary:606}})}async run(e,t){var i;let n=eA.get(t);null===(i=null==n?void 0:n.model.get())||void 0===i||i.next()}}eF.ID=c.OW;class eB extends l.R6{constructor(){super({id:eB.ID,label:ex.NC("action.inlineSuggest.showPrevious","Show Previous Inline Suggestion"),alias:"Show Previous Inline Suggestion",precondition:eT.Ao.and(u.u.writable,g.f.inlineSuggestionVisible),kbOpts:{weight:100,primary:604}})}async run(e,t){var i;let n=eA.get(t);null===(i=null==n?void 0:n.model.get())||void 0===i||i.previous()}}eB.ID=c.Np;class eW extends l.R6{constructor(){super({id:"editor.action.inlineSuggest.trigger",label:ex.NC("action.inlineSuggest.trigger","Trigger Inline Suggestion"),alias:"Trigger Inline Suggestion",precondition:u.u.writable})}async run(e,t){let i=eA.get(t);await (0,h.Hr)(async e=>{var t;await (null===(t=null==i?void 0:i.model.get())||void 0===t?void 0:t.triggerExplicitly(e)),null==i||i.playAccessibilitySignal(e)})}}class eH extends l.R6{constructor(){super({id:"editor.action.inlineSuggest.acceptNextWord",label:ex.NC("action.inlineSuggest.acceptNextWord","Accept Next Word Of Inline Suggestion"),alias:"Accept Next Word Of Inline Suggestion",precondition:eT.Ao.and(u.u.writable,g.f.inlineSuggestionVisible),kbOpts:{weight:101,primary:2065,kbExpr:eT.Ao.and(u.u.writable,g.f.inlineSuggestionVisible)},menuOpts:[{menuId:eO.eH.InlineSuggestionToolbar,title:ex.NC("acceptWord","Accept Word"),group:"primary",order:2}]})}async run(e,t){var i;let n=eA.get(t);await (null===(i=null==n?void 0:n.model.get())||void 0===i?void 0:i.acceptNextWord(n.editor))}}class eV extends l.R6{constructor(){super({id:"editor.action.inlineSuggest.acceptNextLine",label:ex.NC("action.inlineSuggest.acceptNextLine","Accept Next Line Of Inline Suggestion"),alias:"Accept Next Line Of Inline Suggestion",precondition:eT.Ao.and(u.u.writable,g.f.inlineSuggestionVisible),kbOpts:{weight:101},menuOpts:[{menuId:eO.eH.InlineSuggestionToolbar,title:ex.NC("acceptLine","Accept Line"),group:"secondary",order:2}]})}async run(e,t){var i;let n=eA.get(t);await (null===(i=null==n?void 0:n.model.get())||void 0===i?void 0:i.acceptNextLine(n.editor))}}class ez extends l.R6{constructor(){super({id:c.Ou,label:ex.NC("action.inlineSuggest.accept","Accept Inline Suggestion"),alias:"Accept Inline Suggestion",precondition:g.f.inlineSuggestionVisible,menuOpts:[{menuId:eO.eH.InlineSuggestionToolbar,title:ex.NC("accept","Accept"),group:"primary",order:1}],kbOpts:{primary:2,weight:200,kbExpr:eT.Ao.and(g.f.inlineSuggestionVisible,u.u.tabMovesFocus.toNegated(),g.f.inlineSuggestionHasIndentationLessThanTabSize,eP._y.Visible.toNegated(),u.u.hoverFocused.toNegated())}})}async run(e,t){var i;let n=eA.get(t);n&&(null===(i=n.model.get())||void 0===i||i.accept(n.editor),n.editor.focus())}}class eK extends l.R6{constructor(){super({id:eK.ID,label:ex.NC("action.inlineSuggest.hide","Hide Inline Suggestion"),alias:"Hide Inline Suggestion",precondition:g.f.inlineSuggestionVisible,kbOpts:{weight:100,primary:9}})}async run(e,t){let i=eA.get(t);(0,d.PS)(e=>{var t;null===(t=null==i?void 0:i.model.get())||void 0===t||t.stop(e)})}}eK.ID="editor.action.inlineSuggest.hide";class eU extends eO.Ke{constructor(){super({id:eU.ID,title:ex.NC("action.inlineSuggest.alwaysShowToolbar","Always Show Toolbar"),f1:!1,precondition:void 0,menu:[{id:eO.eH.InlineSuggestionToolbar,group:"secondary",order:10}],toggled:eT.Ao.equals("config.editor.inlineSuggest.showToolbar","always")})}async run(e,t){let i=e.get(eI.Ui),n=i.getValue("editor.inlineSuggest.showToolbar");i.updateValue("editor.inlineSuggest.showToolbar","always"===n?"onHover":"always")}}eU.ID="editor.action.inlineSuggest.toggleAlwaysShowToolbar";var e$=i(59365),eq=i(72042),ej=i(72545),eG=i(50988),eQ=i(10829),eZ=function(e,t){return function(i,n){t(i,n,e)}};class eY{constructor(e,t,i){this.owner=e,this.range=t,this.controller=i}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let eJ=class{constructor(e,t,i,n,s,o){this._editor=e,this._languageService=t,this._openerService=i,this.accessibilityService=n,this._instantiationService=s,this._telemetryService=o,this.hoverOrdinal=4}suggestHoverAnchor(e){let t=eA.get(this._editor);if(!t)return null;let i=e.target;if(8===i.type){let n=i.detail;if(t.shouldShowHoverAtViewZone(n.viewZoneId))return new a.YM(1e3,this,R.e.fromPositions(this._editor.getModel().validatePosition(n.positionBefore||n.position)),e.event.posx,e.event.posy,!1)}if(7===i.type&&t.shouldShowHoverAt(i.range))return new a.YM(1e3,this,i.range,e.event.posx,e.event.posy,!1);if(6===i.type){let n=i.detail.mightBeForeignElement;if(n&&t.shouldShowHoverAt(i.range))return new a.YM(1e3,this,i.range,e.event.posx,e.event.posy,!1)}return null}computeSync(e,t){if("onHover"!==this._editor.getOption(62).showToolbar)return[];let i=eA.get(this._editor);return i&&i.shouldShowHoverAt(e.range)?[new eY(this,e.range,i)]:[]}renderHoverParts(e,t){let i=new b.SL,n=t[0];this._telemetryService.publicLog2("inlineCompletionHover.shown"),this.accessibilityService.isScreenReaderOptimized()&&!this._editor.getOption(8)&&this.renderScreenReaderText(e,n,i);let s=n.controller.model.get(),o=this._instantiationService.createInstance(x.QG,this._editor,!1,(0,d.Dz)(null),s.selectedInlineCompletionIndex,s.inlineCompletionsCount,s.activeCommands);return e.fragment.appendChild(o.getDomNode()),s.triggerExplicitly(),i.add(o),i}renderScreenReaderText(e,t,i){let n=p.$,s=n("div.hover-row.markdown-hover"),o=p.R3(s,n("div.hover-contents",{"aria-live":"assertive"})),r=i.add(new ej.$({editor:this._editor},this._languageService,this._openerService)),l=t=>{i.add(r.onDidRenderAsync(()=>{o.className="hover-contents code-hover-contents",e.onContentsChanged()}));let n=ex.NC("inlineSuggestionFollows","Suggestion:"),s=i.add(r.render(new e$.W5().appendText(n).appendCodeblock("text",t)));o.replaceChildren(s.element)};i.add((0,d.EH)(e=>{var i;let n=null===(i=t.controller.model.read(e))||void 0===i?void 0:i.primaryGhostText.read(e);if(n){let e=this._editor.getModel().getLineContent(n.lineNumber);l(n.renderForScreenReader(e))}else p.mc(o)})),e.fragment.appendChild(s)}};eJ=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([eZ(1,eq.O),eZ(2,eG.v),eZ(3,eN.F),eZ(4,e_.TG),eZ(5,eQ.b)],eJ);class eX extends b.JT{constructor(){super()}}var e0=i(98685);(0,l._K)(eA.ID,eA,3),(0,l.Qr)(eW),(0,l.Qr)(eF),(0,l.Qr)(eB),(0,l.Qr)(eH),(0,l.Qr)(eV),(0,l.Qr)(ez),(0,l.Qr)(eK),(0,eO.r1)(eU),a.Ae.register(eJ),e0.V.register(new eX)},43677:function(e,t,i){"use strict";i.d(t,{QG:function(){return P},oU:function(){return M}});var n,s=i(65321),o=i(45560),r=i(55496),l=i(74741),a=i(9488),d=i(15393),h=i(78789),u=i(5976),c=i(39901),g=i(54282),p=i(1432),m=i(25670);i(52005);var f=i(50187),_=i(43155),v=i(96020),b=i(63580),C=i(27628),w=i(90428),y=i(84144),S=i(94565),L=i(32064),k=i(5606),D=i(72065),x=i(91847),N=i(10829),E=i(59554),I=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},T=function(e,t){return function(i,n){t(i,n,e)}};let M=class extends u.JT{constructor(e,t,i){super(),this.editor=e,this.model=t,this.instantiationService=i,this.alwaysShowToolbar=(0,c.rD)(this.editor.onDidChangeConfiguration,()=>"always"===this.editor.getOption(62).showToolbar),this.sessionPosition=void 0,this.position=(0,c.nK)(this,e=>{var t,i,n;let s=null===(t=this.model.read(e))||void 0===t?void 0:t.primaryGhostText.read(e);if(!this.alwaysShowToolbar.read(e)||!s||0===s.parts.length)return this.sessionPosition=void 0,null;let o=s.parts[0].column;this.sessionPosition&&this.sessionPosition.lineNumber!==s.lineNumber&&(this.sessionPosition=void 0);let r=new f.L(s.lineNumber,Math.min(o,null!==(n=null===(i=this.sessionPosition)||void 0===i?void 0:i.column)&&void 0!==n?n:Number.MAX_SAFE_INTEGER));return this.sessionPosition=r,r}),this._register((0,c.gp)((t,i)=>{let n=this.model.read(t);if(!n||!this.alwaysShowToolbar.read(t))return;let s=(0,g.Be)((t,i)=>{let s=i.add(this.instantiationService.createInstance(P,this.editor,!0,this.position,n.selectedInlineCompletionIndex,n.inlineCompletionsCount,n.activeCommands));return e.addContentWidget(s),i.add((0,u.OF)(()=>e.removeContentWidget(s))),i.add((0,c.EH)(e=>{let t=this.position.read(e);t&&n.lastTriggerKind.read(e)!==_.bw.Explicit&&n.triggerExplicitly()})),s}),o=(0,c.bx)(this,(e,t)=>!!this.position.read(e)||!!t);i.add((0,c.EH)(e=>{o.read(e)&&s.read(e)}))}))}};M=I([T(2,D.TG)],M);let R=(0,E.q5)("inline-suggestion-hints-next",h.l.chevronRight,(0,b.NC)("parameterHintsNextIcon","Icon for show next parameter hint.")),A=(0,E.q5)("inline-suggestion-hints-previous",h.l.chevronLeft,(0,b.NC)("parameterHintsPreviousIcon","Icon for show previous parameter hint.")),P=n=class extends u.JT{static get dropDownVisible(){return this._dropDownVisible}createCommandAction(e,t,i){let n=new l.aU(e,t,i,!0,()=>this._commandService.executeCommand(e)),s=this.keybindingService.lookupKeybinding(e,this._contextKeyService),o=t;return s&&(o=(0,b.NC)({key:"content",comment:["A label","A keybinding"]},"{0} ({1})",t,s.getLabel())),n.tooltip=o,n}constructor(e,t,i,o,r,a,h,u,g,p,f){super(),this.editor=e,this.withBorder=t,this._position=i,this._currentSuggestionIdx=o,this._suggestionCount=r,this._extraCommands=a,this._commandService=h,this.keybindingService=g,this._contextKeyService=p,this._menuService=f,this.id=`InlineSuggestionHintsContentWidget${n.id++}`,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this.nodes=(0,s.h)("div.inlineSuggestionsHints",{className:this.withBorder?".withBorder":""},[(0,s.h)("div@toolBar")]),this.previousAction=this.createCommandAction(v.Np,(0,b.NC)("previous","Previous"),m.k.asClassName(A)),this.availableSuggestionCountAction=new l.aU("inlineSuggestionHints.availableSuggestionCount","",void 0,!1),this.nextAction=this.createCommandAction(v.OW,(0,b.NC)("next","Next"),m.k.asClassName(R)),this.inlineCompletionsActionsMenus=this._register(this._menuService.createMenu(y.eH.InlineCompletionsActions,this._contextKeyService)),this.clearAvailableSuggestionCountLabelDebounced=this._register(new d.pY(()=>{this.availableSuggestionCountAction.label=""},100)),this.disableButtonsDebounced=this._register(new d.pY(()=>{this.previousAction.enabled=this.nextAction.enabled=!1},100)),this.toolBar=this._register(u.createInstance(B,this.nodes.toolBar,y.eH.InlineSuggestionToolbar,{menuOptions:{renderShortTitle:!0},toolbarOptions:{primaryGroup:e=>e.startsWith("primary")},actionViewItemProvider:(e,t)=>{if(e instanceof y.U8)return u.createInstance(F,e,void 0);if(e===this.availableSuggestionCountAction){let t=new O(void 0,e,{label:!0,icon:!1});return t.setClass("availableSuggestionCount"),t}},telemetrySource:"InlineSuggestionToolbar"})),this.toolBar.setPrependedPrimaryActions([this.previousAction,this.availableSuggestionCountAction,this.nextAction]),this._register(this.toolBar.onDidChangeDropdownVisibility(e=>{n._dropDownVisible=e})),this._register((0,c.EH)(e=>{this._position.read(e),this.editor.layoutContentWidget(this)})),this._register((0,c.EH)(e=>{let t=this._suggestionCount.read(e),i=this._currentSuggestionIdx.read(e);void 0!==t?(this.clearAvailableSuggestionCountLabelDebounced.cancel(),this.availableSuggestionCountAction.label=`${i+1}/${t}`):this.clearAvailableSuggestionCountLabelDebounced.schedule(),void 0!==t&&t>1?(this.disableButtonsDebounced.cancel(),this.previousAction.enabled=this.nextAction.enabled=!0):this.disableButtonsDebounced.schedule()})),this._register((0,c.EH)(e=>{let t=this._extraCommands.read(e),i=t.map(e=>({class:void 0,id:e.id,enabled:!0,tooltip:e.tooltip||"",label:e.title,run:t=>this._commandService.executeCommand(e.id)}));for(let[e,t]of this.inlineCompletionsActionsMenus.getActions())for(let e of t)e instanceof y.U8&&i.push(e);i.length>0&&i.unshift(new l.Z0),this.toolBar.setAdditionalSecondaryActions(i)}))}getId(){return this.id}getDomNode(){return this.nodes.root}getPosition(){return{position:this._position.get(),preference:[1,2],positionAffinity:3}}};P._dropDownVisible=!1,P.id=0,P=n=I([T(6,S.H),T(7,D.TG),T(8,x.d),T(9,L.i6),T(10,y.co)],P);class O extends o.gU{constructor(){super(...arguments),this._className=void 0}setClass(e){this._className=e}render(e){super.render(e),this._className&&e.classList.add(this._className)}updateTooltip(){}}class F extends C.Mm{updateLabel(){let e=this._keybindingService.lookupKeybinding(this._action.id,this._contextKeyService);if(!e)return super.updateLabel();if(this.label){let t=(0,s.h)("div.keybinding").root,i=this._register(new r.e(t,p.OS,{disableTitle:!0,...r.F}));i.set(e),this.label.textContent=this._action.label,this.label.appendChild(t),this.label.classList.add("inlineSuggestionStatusBarItemLabel")}}updateTooltip(){}}let B=class extends w.T{constructor(e,t,i,n,s,o,r,l,a){super(e,{resetMenu:t,...i},n,s,o,r,l,a),this.menuId=t,this.options2=i,this.menuService=n,this.contextKeyService=s,this.menu=this._store.add(this.menuService.createMenu(this.menuId,this.contextKeyService,{emitEventsForSubmenuChanges:!0})),this.additionalActions=[],this.prependedPrimaryActions=[],this._store.add(this.menu.onDidChange(()=>this.updateToolbar())),this.updateToolbar()}updateToolbar(){var e,t,i,n,s,o,r;let l=[],a=[];(0,C.vr)(this.menu,null===(e=this.options2)||void 0===e?void 0:e.menuOptions,{primary:l,secondary:a},null===(i=null===(t=this.options2)||void 0===t?void 0:t.toolbarOptions)||void 0===i?void 0:i.primaryGroup,null===(s=null===(n=this.options2)||void 0===n?void 0:n.toolbarOptions)||void 0===s?void 0:s.shouldInlineSubmenu,null===(r=null===(o=this.options2)||void 0===o?void 0:o.toolbarOptions)||void 0===r?void 0:r.useSeparatorsInPrimaryActions),a.push(...this.additionalActions),l.unshift(...this.prependedPrimaryActions),this.setActions(l,a)}setPrependedPrimaryActions(e){(0,a.fS)(this.prependedPrimaryActions,e,(e,t)=>e===t)||(this.prependedPrimaryActions=e,this.updateToolbar())}setAdditionalSecondaryActions(e){(0,a.fS)(this.additionalActions,e,(e,t)=>e===t)||(this.additionalActions=e,this.updateToolbar())}};B=I([T(3,y.co),T(4,L.i6),T(5,k.i),T(6,x.d),T(7,S.H),T(8,N.b)],B)},8396:function(e,t,i){"use strict";i.d(t,{Bm:function(){return g},He:function(){return d},QO:function(){return c},RP:function(){return u},rv:function(){return h}});var n=i(17301),s=i(5976),o=i(39901),r=i(50187),l=i(24314);let a=[];function d(){return a}class h{constructor(e,t){if(this.startColumn=e,this.endColumnExclusive=t,e>t)throw new n.he(`startColumn ${e} cannot be after endColumnExclusive ${t}`)}toRange(e){return new l.e(e,this.startColumn,e,this.endColumnExclusive)}equals(e){return this.startColumn===e.startColumn&&this.endColumnExclusive===e.endColumnExclusive}}function u(e,t){let i=new s.SL,n=e.createDecorationsCollection();return i.add((0,o.UV)({debugName:()=>`Apply decorations from ${t.debugName}`},e=>{let i=t.read(e);n.set(i)})),i.add({dispose:()=>{n.clear()}}),i}function c(e,t){return new r.L(e.lineNumber+t.lineNumber-1,1===t.lineNumber?e.column+t.column-1:t.column)}function g(e,t){return new r.L(e.lineNumber-t.lineNumber+1,e.lineNumber-t.lineNumber==0?e.column-t.column+1:e.column)}},99406:function(e,t,i){"use strict";var n,s,o,r=i(16830),l=i(66520),a=i(29102),d=i(5976),h=i(39901),u=i(69386),c=i(50187),g=i(24314);i(66202);var p=i(72042),m=i(84973),f=i(92550),_=i(50630),v=i(8396);let b="inline-edit",C=class extends d.JT{constructor(e,t,i){super(),this.editor=e,this.model=t,this.languageService=i,this.isDisposed=(0,h.uh)(this,!1),this.currentTextModel=(0,h.rD)(this.editor.onDidChangeModel,()=>this.editor.getModel()),this.uiState=(0,h.nK)(this,e=>{var t;let i;if(this.isDisposed.read(e))return;let n=this.currentTextModel.read(e);if(n!==this.model.targetTextModel.read(e))return;let s=this.model.ghostText.read(e);if(!s)return;let o=null===(t=this.model.range)||void 0===t?void 0:t.read(e);o&&o.startLineNumber===o.endLineNumber&&o.startColumn===o.endColumn&&(o=void 0);let r=(!o||o.startLineNumber===o.endLineNumber)&&1===s.parts.length&&1===s.parts[0].lines.length,l=1===s.parts.length&&s.parts[0].lines.every(e=>0===e.length),a=[],d=[];function h(e,t){if(d.length>0){let i=d[d.length-1];t&&i.decorations.push(new f.Kp(i.content.length+1,i.content.length+1+e[0].length,t,0)),i.content+=e[0],e=e.slice(1)}for(let i of e)d.push({content:i,decorations:t?[new f.Kp(1,i.length+1,t,0)]:[]})}let u=n.getLineContent(s.lineNumber),c=0;if(!l){for(let e of s.parts){let t=e.lines;o&&!r&&(h(t,b),t=[]),void 0===i?(a.push({column:e.column,text:t[0],preview:e.preview}),t=t.slice(1)):h([u.substring(c,e.column-1)],void 0),t.length>0&&(h(t,b),void 0===i&&e.column<=u.length&&(i=e.column)),c=e.column-1}void 0!==i&&h([u.substring(c)],void 0)}let g=void 0!==i?new v.rv(i,u.length+1):void 0,p=r||!o?s.lineNumber:o.endLineNumber-1;return{inlineTexts:a,additionalLines:d,hiddenRange:g,lineNumber:p,additionalReservedLineCount:this.model.minReservedLineCount.read(e),targetTextModel:n,range:o,isSingleLine:r,isPureRemove:l,backgroundColoring:this.model.backgroundColoring.read(e)}}),this.decorations=(0,h.nK)(this,e=>{let t=this.uiState.read(e);if(!t)return[];let i=[];if(t.hiddenRange&&i.push({range:t.hiddenRange.toRange(t.lineNumber),options:{inlineClassName:"inline-edit-hidden",description:"inline-edit-hidden"}}),t.range){let e=[];if(t.isSingleLine)e.push(t.range);else if(t.isPureRemove){let i=t.range.endLineNumber-t.range.startLineNumber;for(let n=0;n{let t=this.uiState.read(e);return t&&!t.isPureRemove?{lineNumber:t.lineNumber,additionalLines:t.additionalLines,minReservedLineCount:t.additionalReservedLineCount,targetTextModel:t.targetTextModel}:void 0}))),this._register((0,d.OF)(()=>{this.isDisposed.set(!0,void 0)})),this._register((0,v.RP)(this.editor,this.decorations))}ownsViewZone(e){return this.additionalLinesWidget.viewZoneId===e}};C=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=p.O,function(e,t){n(e,t,2)})],C);var w=i(32064),y=i(72065),S=i(43155),L=i(71922),k=i(71050),D=i(20757),x=i(94565),N=i(65321),E=i(55496),I=i(74741),T=i(9488),M=i(1432);i(21399);var R=i(27628),A=i(90428),P=i(84144),O=i(5606),F=i(91847),B=i(10829),W=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},H=function(e,t){return function(i,n){t(i,n,e)}};let V=class extends d.JT{constructor(e,t,i){super(),this.editor=e,this.model=t,this.instantiationService=i,this.alwaysShowToolbar=(0,h.rD)(this.editor.onDidChangeConfiguration,()=>"always"===this.editor.getOption(63).showToolbar),this.sessionPosition=void 0,this.position=(0,h.nK)(this,e=>{var t,i,n;let s=null===(t=this.model.read(e))||void 0===t?void 0:t.widget.model.ghostText.read(e);if(!this.alwaysShowToolbar.read(e)||!s||0===s.parts.length)return this.sessionPosition=void 0,null;let o=s.parts[0].column;this.sessionPosition&&this.sessionPosition.lineNumber!==s.lineNumber&&(this.sessionPosition=void 0);let r=new c.L(s.lineNumber,Math.min(o,null!==(n=null===(i=this.sessionPosition)||void 0===i?void 0:i.column)&&void 0!==n?n:Number.MAX_SAFE_INTEGER));return this.sessionPosition=r,r}),this._register((0,h.gp)((t,i)=>{let n=this.model.read(t);if(!n||!this.alwaysShowToolbar.read(t))return;let s=i.add(this.instantiationService.createInstance(z,this.editor,!0,this.position));e.addContentWidget(s),i.add((0,d.OF)(()=>e.removeContentWidget(s)))}))}};V=W([H(2,y.TG)],V);let z=s=class extends d.JT{constructor(e,t,i,n,o,r){super(),this.editor=e,this.withBorder=t,this._position=i,this._contextKeyService=o,this._menuService=r,this.id=`InlineEditHintsContentWidget${s.id++}`,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this.nodes=(0,N.h)("div.inlineEditHints",{className:this.withBorder?".withBorder":""},[(0,N.h)("div@toolBar")]),this.inlineCompletionsActionsMenus=this._register(this._menuService.createMenu(P.eH.InlineEditActions,this._contextKeyService)),this.toolBar=this._register(n.createInstance(U,this.nodes.toolBar,this.editor,P.eH.InlineEditToolbar,{menuOptions:{renderShortTitle:!0},toolbarOptions:{primaryGroup:e=>e.startsWith("primary")},actionViewItemProvider:(e,t)=>{if(e instanceof P.U8)return n.createInstance(K,e,void 0)},telemetrySource:"InlineEditToolbar"})),this._register(this.toolBar.onDidChangeDropdownVisibility(e=>{s._dropDownVisible=e})),this._register((0,h.EH)(e=>{this._position.read(e),this.editor.layoutContentWidget(this)})),this._register((0,h.EH)(e=>{let t=[];for(let[e,i]of this.inlineCompletionsActionsMenus.getActions())for(let e of i)e instanceof P.U8&&t.push(e);t.length>0&&t.unshift(new I.Z0),this.toolBar.setAdditionalSecondaryActions(t)}))}getId(){return this.id}getDomNode(){return this.nodes.root}getPosition(){return{position:this._position.get(),preference:[1,2],positionAffinity:3}}};z._dropDownVisible=!1,z.id=0,z=s=W([H(3,y.TG),H(4,w.i6),H(5,P.co)],z);class K extends R.Mm{updateLabel(){let e=this._keybindingService.lookupKeybinding(this._action.id,this._contextKeyService);if(!e)return super.updateLabel();if(this.label){let t=(0,N.h)("div.keybinding").root,i=this._register(new E.e(t,M.OS,{disableTitle:!0,...E.F}));i.set(e),this.label.textContent=this._action.label,this.label.appendChild(t),this.label.classList.add("inlineEditStatusBarItemLabel")}}updateTooltip(){}}let U=class extends A.T{constructor(e,t,i,n,s,o,r,l,a,d){super(e,{resetMenu:i,...n},s,o,r,l,a,d),this.editor=t,this.menuId=i,this.options2=n,this.menuService=s,this.contextKeyService=o,this.menu=this._store.add(this.menuService.createMenu(this.menuId,this.contextKeyService,{emitEventsForSubmenuChanges:!0})),this.additionalActions=[],this.prependedPrimaryActions=[],this._store.add(this.menu.onDidChange(()=>this.updateToolbar())),this._store.add(this.editor.onDidChangeCursorPosition(()=>this.updateToolbar())),this.updateToolbar()}updateToolbar(){var e,t,i,n,s,o,r;let l=[],a=[];(0,R.vr)(this.menu,null===(e=this.options2)||void 0===e?void 0:e.menuOptions,{primary:l,secondary:a},null===(i=null===(t=this.options2)||void 0===t?void 0:t.toolbarOptions)||void 0===i?void 0:i.primaryGroup,null===(s=null===(n=this.options2)||void 0===n?void 0:n.toolbarOptions)||void 0===s?void 0:s.shouldInlineSubmenu,null===(r=null===(o=this.options2)||void 0===o?void 0:o.toolbarOptions)||void 0===r?void 0:r.useSeparatorsInPrimaryActions),a.push(...this.additionalActions),l.unshift(...this.prependedPrimaryActions),this.setActions(l,a)}setAdditionalSecondaryActions(e){(0,T.fS)(this.additionalActions,e,(e,t)=>e===t)||(this.additionalActions=e,this.updateToolbar())}};U=W([H(4,P.co),H(5,w.i6),H(6,O.i),H(7,F.d),H(8,x.H),H(9,B.b)],U);var $=i(33108),q=i(17301),j=function(e,t){return function(i,n){t(i,n,e)}};class G{constructor(e,t){this.widget=e,this.edit=t}dispose(){this.widget.dispose()}}let Q=o=class extends d.JT{static get(e){return e.getContribution(o.ID)}constructor(e,t,i,n,s,r){super(),this.editor=e,this.instantiationService=t,this.contextKeyService=i,this.languageFeaturesService=n,this._commandService=s,this._configurationService=r,this._isVisibleContext=o.inlineEditVisibleContext.bindTo(this.contextKeyService),this._isCursorAtInlineEditContext=o.cursorAtInlineEditContext.bindTo(this.contextKeyService),this._currentEdit=this._register((0,h.DN)(this,void 0)),this._isAccepting=(0,h.uh)(this,!1),this._enabled=(0,h.rD)(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(63).enabled),this._fontFamily=(0,h.rD)(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(63).fontFamily),this._backgroundColoring=(0,h.rD)(this.editor.onDidChangeConfiguration,()=>this.editor.getOption(63).backgroundColoring);let l=(0,h.aq)("InlineEditController.modelContentChangedSignal",e.onDidChangeModelContent);this._register((0,h.EH)(t=>{this._enabled.read(t)&&(l.read(t),this._isAccepting.read(t)||this.getInlineEdit(e,!0))}));let a=(0,h.rD)(e.onDidChangeCursorPosition,()=>e.getPosition());this._register((0,h.EH)(e=>{if(!this._enabled.read(e))return;let t=a.read(e);t&&this.checkCursorPosition(t)})),this._register((0,h.EH)(t=>{let i=this._currentEdit.read(t);if(this._isCursorAtInlineEditContext.set(!1),!i){this._isVisibleContext.set(!1);return}this._isVisibleContext.set(!0);let n=e.getPosition();n&&this.checkCursorPosition(n)}));let d=(0,h.aq)("InlineEditController.editorBlurSignal",e.onDidBlurEditorWidget);this._register((0,h.EH)(async t=>{var i;this._enabled.read(t)&&(d.read(t),this._configurationService.getValue("editor.experimentalInlineEdit.keepOnBlur")||e.getOption(63).keepOnBlur||(null===(i=this._currentRequestCts)||void 0===i||i.dispose(!0),this._currentRequestCts=void 0,await this.clear(!1)))}));let u=(0,h.aq)("InlineEditController.editorFocusSignal",e.onDidFocusEditorText);this._register((0,h.EH)(t=>{this._enabled.read(t)&&(u.read(t),this.getInlineEdit(e,!0))}));let c=this._register((0,N.aU)());this._register((0,h.EH)(e=>{let t=this._fontFamily.read(e);c.setStyle(""===t||"default"===t?"":` -.monaco-editor .inline-edit-decoration, -.monaco-editor .inline-edit-decoration-preview, -.monaco-editor .inline-edit { - font-family: ${t}; -}`)})),this._register(new V(this.editor,this._currentEdit,this.instantiationService))}checkCursorPosition(e){var t;if(!this._currentEdit){this._isCursorAtInlineEditContext.set(!1);return}let i=null===(t=this._currentEdit.get())||void 0===t?void 0:t.edit;if(!i){this._isCursorAtInlineEditContext.set(!1);return}this._isCursorAtInlineEditContext.set(g.e.containsPosition(i.range,e))}validateInlineEdit(e,t){var i,n;if(t.text.includes("\n")&&t.range.startLineNumber!==t.range.endLineNumber&&t.range.startColumn!==t.range.endColumn){let s=t.range.startColumn;if(1!==s)return!1;let o=t.range.endLineNumber,r=t.range.endColumn,l=null!==(n=null===(i=e.getModel())||void 0===i?void 0:i.getLineLength(o))&&void 0!==n?n:0;if(r!==l+1)return!1}return!0}async fetchInlineEdit(e,t){this._currentRequestCts&&this._currentRequestCts.dispose(!0);let i=e.getModel();if(!i)return;let n=i.getVersionId(),s=this.languageFeaturesService.inlineEditProvider.all(i);if(0===s.length)return;let o=s[0];this._currentRequestCts=new k.AU;let r=this._currentRequestCts.token,l=t?S.rn.Automatic:S.rn.Invoke;if(t&&await new Promise(e=>{let t;let i=setTimeout(()=>{t&&t.dispose(),e()},50);r&&(t=r.onCancellationRequested(()=>{clearTimeout(i),t&&t.dispose(),e()}))}),r.isCancellationRequested||i.isDisposed()||i.getVersionId()!==n)return;let a=await o.provideInlineEdit(i,{triggerKind:l},r);if(!(!a||r.isCancellationRequested||i.isDisposed()||i.getVersionId()!==n)&&this.validateInlineEdit(e,a))return a}async getInlineEdit(e,t){var i;this._isCursorAtInlineEditContext.set(!1),await this.clear();let n=await this.fetchInlineEdit(e,t);if(!n)return;let s=n.range.endLineNumber,o=n.range.endColumn,r=n.text.endsWith("\n")&&!(n.range.startLineNumber===n.range.endLineNumber&&n.range.startColumn===n.range.endColumn)?n.text.slice(0,-1):n.text,l=new D.Vb(s,[new D.NY(o,r,!1)]),a=this.instantiationService.createInstance(C,this.editor,{ghostText:(0,h.Dz)(l),minReservedLineCount:(0,h.Dz)(0),targetTextModel:(0,h.Dz)(null!==(i=this.editor.getModel())&&void 0!==i?i:void 0),range:(0,h.Dz)(n.range),backgroundColoring:this._backgroundColoring});this._currentEdit.set(new G(a,n),void 0)}async trigger(){await this.getInlineEdit(this.editor,!1)}async jumpBack(){this._jumpBackPosition&&(this.editor.setPosition(this._jumpBackPosition),this.editor.revealPositionInCenterIfOutsideViewport(this._jumpBackPosition))}async accept(){var e;this._isAccepting.set(!0,void 0);let t=null===(e=this._currentEdit.get())||void 0===e?void 0:e.edit;if(!t)return;let i=t.text;t.text.startsWith("\n")&&(i=t.text.substring(1)),this.editor.pushUndoStop(),this.editor.executeEdits("acceptCurrent",[u.h.replace(g.e.lift(t.range),i)]),t.accepted&&await this._commandService.executeCommand(t.accepted.id,...t.accepted.arguments||[]).then(void 0,q.Cp),this.freeEdit(t),(0,h.PS)(e=>{this._currentEdit.set(void 0,e),this._isAccepting.set(!1,e)})}jumpToCurrent(){var e,t;this._jumpBackPosition=null===(e=this.editor.getSelection())||void 0===e?void 0:e.getStartPosition();let i=null===(t=this._currentEdit.get())||void 0===t?void 0:t.edit;if(!i)return;let n=c.L.lift({lineNumber:i.range.startLineNumber,column:i.range.startColumn});this.editor.setPosition(n),this.editor.revealPositionInCenterIfOutsideViewport(n)}async clear(e=!0){var t;let i=null===(t=this._currentEdit.get())||void 0===t?void 0:t.edit;i&&(null==i?void 0:i.rejected)&&e&&await this._commandService.executeCommand(i.rejected.id,...i.rejected.arguments||[]).then(void 0,q.Cp),i&&this.freeEdit(i),this._currentEdit.set(void 0,void 0)}freeEdit(e){let t=this.editor.getModel();if(!t)return;let i=this.languageFeaturesService.inlineEditProvider.all(t);0!==i.length&&i[0].freeInlineEdit(e)}shouldShowHoverAt(e){let t=this._currentEdit.get();if(!t)return!1;let i=t.edit,n=t.widget.model,s=g.e.containsPosition(i.range,e.getStartPosition())||g.e.containsPosition(i.range,e.getEndPosition());if(s)return!0;let o=n.ghostText.get();return!!o&&o.parts.some(t=>e.containsPosition(new c.L(o.lineNumber,t.column)))}shouldShowHoverAtViewZone(e){var t,i;return null!==(i=null===(t=this._currentEdit.get())||void 0===t?void 0:t.widget.ownsViewZone(e))&&void 0!==i&&i}};Q.ID="editor.contrib.inlineEditController",Q.inlineEditVisibleKey="inlineEditVisible",Q.inlineEditVisibleContext=new w.uy(o.inlineEditVisibleKey,!1),Q.cursorAtInlineEditKey="cursorAtInlineEdit",Q.cursorAtInlineEditContext=new w.uy(o.cursorAtInlineEditKey,!1),Q=o=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([j(1,y.TG),j(2,w.i6),j(3,L.p),j(4,x.H),j(5,$.Ui)],Q);class Z extends r.R6{constructor(){super({id:"editor.action.inlineEdit.accept",label:"Accept Inline Edit",alias:"Accept Inline Edit",precondition:w.Ao.and(a.u.writable,Q.inlineEditVisibleContext),kbOpts:[{weight:101,primary:2,kbExpr:w.Ao.and(a.u.writable,Q.inlineEditVisibleContext,Q.cursorAtInlineEditContext)}],menuOpts:[{menuId:P.eH.InlineEditToolbar,title:"Accept",group:"primary",order:1}]})}async run(e,t){let i=Q.get(t);await (null==i?void 0:i.accept())}}class Y extends r.R6{constructor(){let e=w.Ao.and(a.u.writable,w.Ao.not(Q.inlineEditVisibleKey));super({id:"editor.action.inlineEdit.trigger",label:"Trigger Inline Edit",alias:"Trigger Inline Edit",precondition:e,kbOpts:{weight:101,primary:2646,kbExpr:e}})}async run(e,t){let i=Q.get(t);null==i||i.trigger()}}class J extends r.R6{constructor(){let e=w.Ao.and(a.u.writable,Q.inlineEditVisibleContext,w.Ao.not(Q.cursorAtInlineEditKey));super({id:"editor.action.inlineEdit.jumpTo",label:"Jump to Inline Edit",alias:"Jump to Inline Edit",precondition:e,kbOpts:{weight:101,primary:2646,kbExpr:e},menuOpts:[{menuId:P.eH.InlineEditToolbar,title:"Jump To Edit",group:"primary",order:3,when:e}]})}async run(e,t){let i=Q.get(t);null==i||i.jumpToCurrent()}}class X extends r.R6{constructor(){let e=w.Ao.and(a.u.writable,Q.cursorAtInlineEditContext);super({id:"editor.action.inlineEdit.jumpBack",label:"Jump Back from Inline Edit",alias:"Jump Back from Inline Edit",precondition:e,kbOpts:{weight:110,primary:2646,kbExpr:e},menuOpts:[{menuId:P.eH.InlineEditToolbar,title:"Jump Back",group:"primary",order:3,when:e}]})}async run(e,t){let i=Q.get(t);null==i||i.jumpBack()}}class ee extends r.R6{constructor(){let e=w.Ao.and(a.u.writable,Q.inlineEditVisibleContext);super({id:"editor.action.inlineEdit.reject",label:"Reject Inline Edit",alias:"Reject Inline Edit",precondition:e,kbOpts:{weight:100,primary:9,kbExpr:e},menuOpts:[{menuId:P.eH.InlineEditToolbar,title:"Reject",group:"secondary",order:2}]})}async run(e,t){let i=Q.get(t);await (null==i?void 0:i.clear())}}var et=function(e,t){return function(i,n){t(i,n,e)}};class ei{constructor(e,t,i){this.owner=e,this.range=t,this.controller=i}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let en=class{constructor(e,t,i){this._editor=e,this._instantiationService=t,this._telemetryService=i,this.hoverOrdinal=5}suggestHoverAnchor(e){let t=Q.get(this._editor);if(!t)return null;let i=e.target;if(8===i.type){let n=i.detail;if(t.shouldShowHoverAtViewZone(n.viewZoneId)){let t=i.range;return new l.YM(1e3,this,t,e.event.posx,e.event.posy,!1)}}if(7===i.type&&t.shouldShowHoverAt(i.range))return new l.YM(1e3,this,i.range,e.event.posx,e.event.posy,!1);if(6===i.type){let n=i.detail.mightBeForeignElement;if(n&&t.shouldShowHoverAt(i.range))return new l.YM(1e3,this,i.range,e.event.posx,e.event.posy,!1)}return null}computeSync(e,t){if("onHover"!==this._editor.getOption(63).showToolbar)return[];let i=Q.get(this._editor);return i&&i.shouldShowHoverAt(e.range)?[new ei(this,e.range,i)]:[]}renderHoverParts(e,t){let i=new d.SL;this._telemetryService.publicLog2("inlineEditHover.shown");let n=this._instantiationService.createInstance(z,this._editor,!1,(0,h.Dz)(null));return e.fragment.appendChild(n.getDomNode()),i.add(n),i}};en=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([et(1,y.TG),et(2,B.b)],en),(0,r.Qr)(Z),(0,r.Qr)(ee),(0,r.Qr)(J),(0,r.Qr)(X),(0,r.Qr)(Y),(0,r._K)(Q.ID,Q,3),l.Ae.register(en)},4074:function(e,t,i){"use strict";i.d(t,{r:function(){return m}});var n,s=i(65321),o=i(15393),r=i(78789),l=i(5976),a=i(97295),d=i(25670);i(34448);var h=i(24314),u=i(84901),c=i(72065);let g=u.qx.register({description:"inline-progress-widget",stickiness:1,showIfCollapsed:!0,after:{content:a.B4,inlineClassName:"inline-editor-progress-decoration",inlineClassNameAffectsLetterSpacing:!0}});class p extends l.JT{constructor(e,t,i,n,s){super(),this.typeId=e,this.editor=t,this.range=i,this.delegate=s,this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this.create(n),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this)}create(e){this.domNode=s.$(".inline-progress-widget"),this.domNode.role="button",this.domNode.title=e;let t=s.$("span.icon");this.domNode.append(t),t.classList.add(...d.k.asClassNameArray(r.l.loading),"codicon-modifier-spin");let i=()=>{let e=this.editor.getOption(67);this.domNode.style.height=`${e}px`,this.domNode.style.width=`${Math.ceil(.8*e)}px`};i(),this._register(this.editor.onDidChangeConfiguration(e=>{(e.hasChanged(52)||e.hasChanged(67))&&i()})),this._register(s.nm(this.domNode,s.tw.CLICK,e=>{this.delegate.cancel()}))}getId(){return p.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:{lineNumber:this.range.startLineNumber,column:this.range.startColumn},preference:[0]}}dispose(){super.dispose(),this.editor.removeContentWidget(this)}}p.baseId="editor.widget.inlineProgressWidget";let m=class extends l.JT{constructor(e,t,i){super(),this.id=e,this._editor=t,this._instantiationService=i,this._showDelay=500,this._showPromise=this._register(new l.XK),this._currentWidget=new l.XK,this._operationIdPool=0,this._currentDecorations=t.createDecorationsCollection()}async showWhile(e,t,i){let n=this._operationIdPool++;this._currentOperation=n,this.clear(),this._showPromise.value=(0,o.Vg)(()=>{let n=h.e.fromPositions(e),s=this._currentDecorations.set([{range:n,options:g}]);s.length>0&&(this._currentWidget.value=this._instantiationService.createInstance(p,this.id,this._editor,n,t,i))},this._showDelay);try{return await i}finally{this._currentOperation===n&&(this.clear(),this._currentOperation=void 0)}}clear(){this._showPromise.clear(),this._currentDecorations.clear(),this._currentWidget.clear()}};m=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=c.TG,function(e,t){n(e,t,2)})],m)},97615:function(e,t,i){"use strict";var n=i(16830),s=i(28108),o=i(29102),r=i(63580);class l extends n.R6{constructor(){super({id:"expandLineSelection",label:r.NC("expandLineSelection","Expand Line Selection"),alias:"Expand Line Selection",precondition:void 0,kbOpts:{weight:0,kbExpr:o.u.textInputFocus,primary:2090}})}run(e,t,i){if(i=i||{},!t.hasModel())return;let n=t._getViewModel();n.model.pushStackElement(),n.setCursorStates(i.source,3,s.P.expandLineSelection(n,n.getCursorStates())),n.revealAllCursors(i.source,!0)}}(0,n.Qr)(l)},49504:function(e,t,i){"use strict";var n,s=i(22258),o=i(42549),r=i(16830),l=i(61329),a=i(97295),d=i(69386),h=i(24314);class u{constructor(e,t,i){this._selection=e,this._cursors=t,this._selectionId=null,this._trimInRegexesAndStrings=i}getEditOperations(e,t){let i=function(e,t,i){t.sort((e,t)=>e.lineNumber===t.lineNumber?e.column-t.column:e.lineNumber-t.lineNumber);for(let e=t.length-2;e>=0;e--)t[e].lineNumber===t[e+1].lineNumber&&t.splice(e,1);let n=[],s=0,o=0,r=t.length;for(let l=1,u=e.getLineCount();l<=u;l++){let u=e.getLineContent(l),c=u.length+1,g=0;if(oe.getLanguageId(),n=(t,i)=>e.getLanguageIdAtPosition(t,i),s=e.getLineCount();if(this._isMovingDown&&this._selection.endLineNumber===s||!this._isMovingDown&&1===this._selection.startLineNumber){this._selectionId=t.trackSelection(this._selection);return}this._moveEndPositionDown=!1;let o=this._selection;o.startLineNumbert===o.startLineNumber?e.tokenization.getLineTokens(s):e.tokenization.getLineTokens(t),getLanguageId:i,getLanguageIdAtPosition:n},getLineContent:t=>t===o.startLineNumber?e.getLineContent(s):e.getLineContent(t)},e.getLanguageIdAtPosition(s,1),o.startLineNumber,u,this._languageConfigurationService);if(null!==t){let i=a.V8(e.getLineContent(s)),n=C.Y(t,r),o=C.Y(i,r);if(n!==o){let e=C.J(n,r,d);c=e+this.trimStart(l)}}}t.addEditOperation(new h.e(o.startLineNumber,1,o.startLineNumber,1),c+"\n");let p=this.matchEnterRuleMovingDown(e,u,r,o.startLineNumber,s,c);if(null!==p)0!==p&&this.getIndentEditsOfMovingBlock(e,t,o,r,d,p);else{let l=(0,w.n8)(this._autoIndent,{tokenization:{getLineTokens:t=>t===o.startLineNumber?e.tokenization.getLineTokens(s):t>=o.startLineNumber+1&&t<=o.endLineNumber+1?e.tokenization.getLineTokens(t-1):e.tokenization.getLineTokens(t),getLanguageId:i,getLanguageIdAtPosition:n},getLineContent:t=>t===o.startLineNumber?c:t>=o.startLineNumber+1&&t<=o.endLineNumber+1?e.getLineContent(t-1):e.getLineContent(t)},e.getLanguageIdAtPosition(s,1),o.startLineNumber+1,u,this._languageConfigurationService);if(null!==l){let i=a.V8(e.getLineContent(o.startLineNumber)),n=C.Y(l,r),s=C.Y(i,r);n!==s&&this.getIndentEditsOfMovingBlock(e,t,o,r,d,n-s)}}}else t.addEditOperation(new h.e(o.startLineNumber,1,o.startLineNumber,1),c+"\n")}else if(s=o.startLineNumber-1,l=e.getLineContent(s),t.addEditOperation(new h.e(s,1,s+1,1),null),t.addEditOperation(new h.e(o.endLineNumber,e.getLineMaxColumn(o.endLineNumber),o.endLineNumber,e.getLineMaxColumn(o.endLineNumber)),"\n"+l),this.shouldAutoIndent(e,o)){let l=this.matchEnterRule(e,u,r,o.startLineNumber,o.startLineNumber-2);if(null!==l)0!==l&&this.getIndentEditsOfMovingBlock(e,t,o,r,d,l);else{let l=(0,w.n8)(this._autoIndent,{tokenization:{getLineTokens:t=>t===s?e.tokenization.getLineTokens(o.startLineNumber):e.tokenization.getLineTokens(t),getLanguageId:i,getLanguageIdAtPosition:n},getLineContent:t=>t===s?e.getLineContent(o.startLineNumber):e.getLineContent(t)},e.getLanguageIdAtPosition(o.startLineNumber,1),s,u,this._languageConfigurationService);if(null!==l){let i=a.V8(e.getLineContent(o.startLineNumber)),n=C.Y(l,r),s=C.Y(i,r);n!==s&&this.getIndentEditsOfMovingBlock(e,t,o,r,d,n-s)}}}}this._selectionId=t.trackSelection(o)}buildIndentConverter(e,t,i){return{shiftIndent:n=>_.U.shiftIndent(n,n.length+1,e,t,i),unshiftIndent:n=>_.U.unshiftIndent(n,n.length+1,e,t,i)}}parseEnterResult(e,t,i,n,s){if(s){let o=s.indentation;s.indentAction===v.wU.None?o=s.indentation+s.appendText:s.indentAction===v.wU.Indent?o=s.indentation+s.appendText:s.indentAction===v.wU.IndentOutdent?o=s.indentation:s.indentAction===v.wU.Outdent&&(o=t.unshiftIndent(s.indentation)+s.appendText);let r=e.getLineContent(n);if(this.trimStart(r).indexOf(this.trimStart(o))>=0){let s=a.V8(e.getLineContent(n)),r=a.V8(o),l=(0,w.tI)(e,n,this._languageConfigurationService);null!==l&&2&l&&(r=t.unshiftIndent(r));let d=C.Y(r,i),h=C.Y(s,i);return d-h}}return null}matchEnterRuleMovingDown(e,t,i,n,s,o){if(a.ow(o)>=0){let o=e.getLineMaxColumn(s),r=(0,y.A)(this._autoIndent,e,new h.e(s,o,s,o),this._languageConfigurationService);return this.parseEnterResult(e,t,i,n,r)}{let s=n-1;for(;s>=1;){let t=e.getLineContent(s),i=a.ow(t);if(i>=0)break;s--}if(s<1||n>e.getLineCount())return null;let o=e.getLineMaxColumn(s),r=(0,y.A)(this._autoIndent,e,new h.e(s,o,s,o),this._languageConfigurationService);return this.parseEnterResult(e,t,i,n,r)}}matchEnterRule(e,t,i,n,s,o){let r=s;for(;r>=1;){let t;t=r===s&&void 0!==o?o:e.getLineContent(r);let i=a.ow(t);if(i>=0)break;r--}if(r<1||n>e.getLineCount())return null;let l=e.getLineMaxColumn(r),d=(0,y.A)(this._autoIndent,e,new h.e(r,l,r,l),this._languageConfigurationService);return this.parseEnterResult(e,t,i,n,d)}trimStart(e){return e.replace(/^\s+/,"")}shouldAutoIndent(e,t){if(this._autoIndent<4||!e.tokenization.isCheapToTokenize(t.startLineNumber))return!1;let i=e.getLanguageIdAtPosition(t.startLineNumber,1),n=e.getLanguageIdAtPosition(t.endLineNumber,1);return i===n&&null!==this._languageConfigurationService.getLanguageConfiguration(i).indentRulesSupport}getIndentEditsOfMovingBlock(e,t,i,n,s,o){for(let r=i.startLineNumber;r<=i.endLineNumber;r++){let l=e.getLineContent(r),d=a.V8(l),u=C.Y(d,n),c=u+o,g=C.J(c,n,s);g!==d&&(t.addEditOperation(new h.e(r,1,r,d.length+1),g),r===i.endLineNumber&&i.endColumn<=d.length+1&&""===g&&(this._moveEndLineSelectionShrink=!0))}}computeCursorState(e,t){let i=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(i=i.setEndPosition(i.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&i.startLineNumber=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=b.c_,function(e,t){n(e,t,3)})],S);class L{static getCollator(){return L._COLLATOR||(L._COLLATOR=new Intl.Collator),L._COLLATOR}constructor(e,t){this.selection=e,this.descending=t,this.selectionId=null}getEditOperations(e,t){let i=function(e,t,i){let n=k(e,t,i);return n?d.h.replace(new h.e(n.startLineNumber,1,n.endLineNumber,e.getLineMaxColumn(n.endLineNumber)),n.after.join("\n")):null}(e,this.selection,this.descending);i&&t.addEditOperation(i.range,i.text),this.selectionId=t.trackSelection(this.selection)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}static canRun(e,t,i){if(null===e)return!1;let n=k(e,t,i);if(!n)return!1;for(let e=0,t=n.before.length;e=s)return null;let o=[];for(let t=n;t<=s;t++)o.push(e.getLineContent(t));let r=o.slice(0);return r.sort(L.getCollator().compare),!0===i&&(r=r.reverse()),{startLineNumber:n,endLineNumber:s,before:o,after:r}}L._COLLATOR=null;var D=i(63580),x=i(84144),N=i(33108);class E extends r.R6{constructor(e,t){super(t),this.down=e}run(e,t){if(!t.hasModel())return;let i=t.getSelections().map((e,t)=>({selection:e,index:t,ignore:!1}));i.sort((e,t)=>h.e.compareRangesUsingStarts(e.selection,t.selection));let n=i[0];for(let e=1;enew g.L(e.positionLineNumber,e.positionColumn)));let s=t.getSelection();if(null===s)return;let o=e.get(N.Ui),r=t.getModel(),l=o.getValue("files.trimTrailingWhitespaceInRegexAndStrings",{overrideIdentifier:null==r?void 0:r.getLanguageId(),resource:null==r?void 0:r.uri}),a=new u(s,n,l);t.pushUndoStop(),t.executeCommands(this.id,[a]),t.pushUndoStop()}}A.ID="editor.action.trimTrailingWhitespace";class P extends r.R6{constructor(){super({id:"editor.action.deleteLines",label:D.NC("lines.delete","Delete Line"),alias:"Delete Line",precondition:m.u.writable,kbOpts:{kbExpr:m.u.textInputFocus,primary:3113,weight:100}})}run(e,t){if(!t.hasModel())return;let i=this._getLinesToRemove(t),n=t.getModel();if(1===n.getLineCount()&&1===n.getLineMaxColumn(1))return;let s=0,o=[],r=[];for(let e=0,t=i.length;e1&&(l-=1,h=n.getLineMaxColumn(l)),o.push(d.h.replace(new p.Y(l,h,a,u),"")),r.push(new p.Y(l-s,t.positionColumn,l-s,t.positionColumn)),s+=t.endLineNumber-t.startLineNumber+1}t.pushUndoStop(),t.executeEdits(this.id,o,r),t.pushUndoStop()}_getLinesToRemove(e){let t=e.getSelections().map(e=>{let t=e.endLineNumber;return e.startLineNumbere.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber);let i=[],n=t[0];for(let e=1;e=t[e].startLineNumber?n.endLineNumber=t[e].endLineNumber:(i.push(n),n=t[e]);return i.push(n),i}}class O extends r.R6{constructor(){super({id:"editor.action.indentLines",label:D.NC("lines.indent","Indent Line"),alias:"Indent Line",precondition:m.u.writable,kbOpts:{kbExpr:m.u.editorTextFocus,primary:2142,weight:100}})}run(e,t){let i=t._getViewModel();i&&(t.pushUndoStop(),t.executeCommands(this.id,c.u6.indent(i.cursorConfig,t.getModel(),t.getSelections())),t.pushUndoStop())}}class F extends r.R6{constructor(){super({id:"editor.action.outdentLines",label:D.NC("lines.outdent","Outdent Line"),alias:"Outdent Line",precondition:m.u.writable,kbOpts:{kbExpr:m.u.editorTextFocus,primary:2140,weight:100}})}run(e,t){o.wk.Outdent.runEditorCommand(e,t,null)}}class B extends r.R6{constructor(){super({id:"editor.action.insertLineBefore",label:D.NC("lines.insertBefore","Insert Line Above"),alias:"Insert Line Above",precondition:m.u.writable,kbOpts:{kbExpr:m.u.editorTextFocus,primary:3075,weight:100}})}run(e,t){let i=t._getViewModel();i&&(t.pushUndoStop(),t.executeCommands(this.id,c.u6.lineInsertBefore(i.cursorConfig,t.getModel(),t.getSelections())))}}class W extends r.R6{constructor(){super({id:"editor.action.insertLineAfter",label:D.NC("lines.insertAfter","Insert Line Below"),alias:"Insert Line Below",precondition:m.u.writable,kbOpts:{kbExpr:m.u.editorTextFocus,primary:2051,weight:100}})}run(e,t){let i=t._getViewModel();i&&(t.pushUndoStop(),t.executeCommands(this.id,c.u6.lineInsertAfter(i.cursorConfig,t.getModel(),t.getSelections())))}}class H extends r.R6{run(e,t){if(!t.hasModel())return;let i=t.getSelection(),n=this._getRangesToDelete(t),s=[];for(let e=0,t=n.length-1;ed.h.replace(e,""));t.pushUndoStop(),t.executeEdits(this.id,r,o),t.pushUndoStop()}}class V extends r.R6{constructor(){super({id:"editor.action.joinLines",label:D.NC("lines.joinLines","Join Lines"),alias:"Join Lines",precondition:m.u.writable,kbOpts:{kbExpr:m.u.editorTextFocus,primary:0,mac:{primary:296},weight:100}})}run(e,t){let i=t.getSelections();if(null===i)return;let n=t.getSelection();if(null===n)return;i.sort(h.e.compareRangesUsingStarts);let s=[],o=i.reduce((e,t)=>e.isEmpty()?e.endLineNumber===t.startLineNumber?(n.equalsSelection(e)&&(n=t),t):t.startLineNumber>e.endLineNumber+1?(s.push(e),t):new p.Y(e.startLineNumber,e.startColumn,t.endLineNumber,t.endColumn):t.startLineNumber>e.endLineNumber?(s.push(e),t):new p.Y(e.startLineNumber,e.startColumn,t.endLineNumber,t.endColumn));s.push(o);let r=t.getModel();if(null===r)return;let l=[],a=[],u=n,c=0;for(let e=0,t=s.length;e=1){let e=!0;""===_&&(e=!1),e&&(" "===_.charAt(_.length-1)||" "===_.charAt(_.length-1))&&(e=!1,_=_.replace(/[\s\uFEFF\xA0]+$/g," "));let n=t.substr(i-1);_+=(e?" ":"")+n,m=e?n.length+1:n.length}else m=0}let v=new h.e(g,1,t,i);if(!v.isEmpty()){let e;o.isEmpty()?(l.push(d.h.replace(v,_)),e=new p.Y(v.startLineNumber-c,_.length-m+1,g-c,_.length-m+1)):o.startLineNumber===o.endLineNumber?(l.push(d.h.replace(v,_)),e=new p.Y(o.startLineNumber-c,o.startColumn,o.endLineNumber-c,o.endColumn)):(l.push(d.h.replace(v,_)),e=new p.Y(o.startLineNumber-c,o.startColumn,o.startLineNumber-c,_.length-f)),null!==h.e.intersectRanges(v,n)?u=e:a.push(e)}c+=v.endLineNumber-v.startLineNumber}a.unshift(u),t.pushUndoStop(),t.executeEdits(this.id,l,a),t.pushUndoStop()}}class z extends r.R6{constructor(){super({id:"editor.action.transpose",label:D.NC("editor.transpose","Transpose Characters around the Cursor"),alias:"Transpose Characters around the Cursor",precondition:m.u.writable})}run(e,t){let i=t.getSelections();if(null===i)return;let n=t.getModel();if(null===n)return;let s=[];for(let e=0,t=i.length;e=r){if(o.lineNumber===n.getLineCount())continue;let e=new h.e(o.lineNumber,Math.max(1,o.column-1),o.lineNumber+1,1),t=n.getValueInRange(e).split("").reverse().join("");s.push(new l.T4(new p.Y(o.lineNumber,Math.max(1,o.column-1),o.lineNumber+1,1),t))}else{let e=new h.e(o.lineNumber,Math.max(1,o.column-1),o.lineNumber,o.column+1),t=n.getValueInRange(e).split("").reverse().join("");s.push(new l.hP(e,t,new p.Y(o.lineNumber,o.column+1,o.lineNumber,o.column+1)))}}t.pushUndoStop(),t.executeCommands(this.id,s),t.pushUndoStop()}}class K extends r.R6{run(e,t){let i=t.getSelections();if(null===i)return;let n=t.getModel();if(null===n)return;let s=t.getOption(131),o=[];for(let e of i)if(e.isEmpty()){let i=e.getStartPosition(),r=t.getConfiguredWordAtPosition(i);if(!r)continue;let l=new h.e(i.lineNumber,r.startColumn,i.lineNumber,r.endColumn),a=n.getValueInRange(l);o.push(d.h.replace(l,this._modifyText(a,s)))}else{let t=n.getValueInRange(e);o.push(d.h.replace(e,this._modifyText(t,s)))}t.pushUndoStop(),t.executeEdits(this.id,o),t.pushUndoStop()}}class U{constructor(e,t){this._pattern=e,this._flags=t,this._actual=null,this._evaluated=!1}get(){if(!this._evaluated){this._evaluated=!0;try{this._actual=new RegExp(this._pattern,this._flags)}catch(e){}}return this._actual}isSupported(){return null!==this.get()}}class $ extends K{constructor(){super({id:"editor.action.transformToTitlecase",label:D.NC("editor.transformToTitlecase","Transform to Title Case"),alias:"Transform to Title Case",precondition:m.u.writable})}_modifyText(e,t){let i=$.titleBoundary.get();return i?e.toLocaleLowerCase().replace(i,e=>e.toLocaleUpperCase()):e}}$.titleBoundary=new U("(^|[^\\p{L}\\p{N}']|((^|\\P{L})'))\\p{L}","gmu");class q extends K{constructor(){super({id:"editor.action.transformToSnakecase",label:D.NC("editor.transformToSnakecase","Transform to Snake Case"),alias:"Transform to Snake Case",precondition:m.u.writable})}_modifyText(e,t){let i=q.caseBoundary.get(),n=q.singleLetters.get();return i&&n?e.replace(i,"$1_$2").replace(n,"$1_$2$3").toLocaleLowerCase():e}}q.caseBoundary=new U("(\\p{Ll})(\\p{Lu})","gmu"),q.singleLetters=new U("(\\p{Lu}|\\p{N})(\\p{Lu})(\\p{Ll})","gmu");class j extends K{constructor(){super({id:"editor.action.transformToCamelcase",label:D.NC("editor.transformToCamelcase","Transform to Camel Case"),alias:"Transform to Camel Case",precondition:m.u.writable})}_modifyText(e,t){let i=j.wordBoundary.get();if(!i)return e;let n=e.split(i),s=n.shift();return s+n.map(e=>e.substring(0,1).toLocaleUpperCase()+e.substring(1)).join("")}}j.wordBoundary=new U("[_\\s-]","gm");class G extends K{constructor(){super({id:"editor.action.transformToPascalcase",label:D.NC("editor.transformToPascalcase","Transform to Pascal Case"),alias:"Transform to Pascal Case",precondition:m.u.writable})}_modifyText(e,t){let i=G.wordBoundary.get(),n=G.wordBoundaryToMaintain.get();if(!i||!n)return e;let s=e.split(n),o=s.map(e=>e.split(i)).flat();return o.map(e=>e.substring(0,1).toLocaleUpperCase()+e.substring(1)).join("")}}G.wordBoundary=new U("[_\\s-]","gm"),G.wordBoundaryToMaintain=new U("(?<=\\.)","gm");class Q extends K{static isSupported(){let e=[this.caseBoundary,this.singleLetters,this.underscoreBoundary].every(e=>e.isSupported());return e}constructor(){super({id:"editor.action.transformToKebabcase",label:D.NC("editor.transformToKebabcase","Transform to Kebab Case"),alias:"Transform to Kebab Case",precondition:m.u.writable})}_modifyText(e,t){let i=Q.caseBoundary.get(),n=Q.singleLetters.get(),s=Q.underscoreBoundary.get();return i&&n&&s?e.replace(s,"$1-$3").replace(i,"$1-$2").replace(n,"$1-$2").toLocaleLowerCase():e}}Q.caseBoundary=new U("(\\p{Ll})(\\p{Lu})","gmu"),Q.singleLetters=new U("(\\p{Lu}|\\p{N})(\\p{Lu}\\p{Ll})","gmu"),Q.underscoreBoundary=new U("(\\S)(_)(\\S)","gm"),(0,r.Qr)(class extends E{constructor(){super(!1,{id:"editor.action.copyLinesUpAction",label:D.NC("lines.copyUp","Copy Line Up"),alias:"Copy Line Up",precondition:m.u.writable,kbOpts:{kbExpr:m.u.editorTextFocus,primary:1552,linux:{primary:3600},weight:100},menuOpts:{menuId:x.eH.MenubarSelectionMenu,group:"2_line",title:D.NC({key:"miCopyLinesUp",comment:["&& denotes a mnemonic"]},"&&Copy Line Up"),order:1}})}}),(0,r.Qr)(class extends E{constructor(){super(!0,{id:"editor.action.copyLinesDownAction",label:D.NC("lines.copyDown","Copy Line Down"),alias:"Copy Line Down",precondition:m.u.writable,kbOpts:{kbExpr:m.u.editorTextFocus,primary:1554,linux:{primary:3602},weight:100},menuOpts:{menuId:x.eH.MenubarSelectionMenu,group:"2_line",title:D.NC({key:"miCopyLinesDown",comment:["&& denotes a mnemonic"]},"Co&&py Line Down"),order:2}})}}),(0,r.Qr)(I),(0,r.Qr)(class extends T{constructor(){super(!1,{id:"editor.action.moveLinesUpAction",label:D.NC("lines.moveUp","Move Line Up"),alias:"Move Line Up",precondition:m.u.writable,kbOpts:{kbExpr:m.u.editorTextFocus,primary:528,linux:{primary:528},weight:100},menuOpts:{menuId:x.eH.MenubarSelectionMenu,group:"2_line",title:D.NC({key:"miMoveLinesUp",comment:["&& denotes a mnemonic"]},"Mo&&ve Line Up"),order:3}})}}),(0,r.Qr)(class extends T{constructor(){super(!0,{id:"editor.action.moveLinesDownAction",label:D.NC("lines.moveDown","Move Line Down"),alias:"Move Line Down",precondition:m.u.writable,kbOpts:{kbExpr:m.u.editorTextFocus,primary:530,linux:{primary:530},weight:100},menuOpts:{menuId:x.eH.MenubarSelectionMenu,group:"2_line",title:D.NC({key:"miMoveLinesDown",comment:["&& denotes a mnemonic"]},"Move &&Line Down"),order:4}})}}),(0,r.Qr)(class extends M{constructor(){super(!1,{id:"editor.action.sortLinesAscending",label:D.NC("lines.sortAscending","Sort Lines Ascending"),alias:"Sort Lines Ascending",precondition:m.u.writable})}}),(0,r.Qr)(class extends M{constructor(){super(!0,{id:"editor.action.sortLinesDescending",label:D.NC("lines.sortDescending","Sort Lines Descending"),alias:"Sort Lines Descending",precondition:m.u.writable})}}),(0,r.Qr)(R),(0,r.Qr)(A),(0,r.Qr)(P),(0,r.Qr)(O),(0,r.Qr)(F),(0,r.Qr)(B),(0,r.Qr)(W),(0,r.Qr)(class extends H{constructor(){super({id:"deleteAllLeft",label:D.NC("lines.deleteAllLeft","Delete All Left"),alias:"Delete All Left",precondition:m.u.writable,kbOpts:{kbExpr:m.u.textInputFocus,primary:0,mac:{primary:2049},weight:100}})}_getEndCursorState(e,t){let i=null,n=[],s=0;return t.forEach(t=>{let o;if(1===t.endColumn&&s>0){let e=t.startLineNumber-s;o=new p.Y(e,t.startColumn,e,t.startColumn)}else o=new p.Y(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn);s+=t.endLineNumber-t.startLineNumber,t.intersectRanges(e)?i=o:n.push(o)}),i&&n.unshift(i),n}_getRangesToDelete(e){let t=e.getSelections();if(null===t)return[];let i=t,n=e.getModel();return null===n?[]:(i.sort(h.e.compareRangesUsingStarts),i=i.map(e=>{if(!e.isEmpty())return new h.e(e.startLineNumber,1,e.endLineNumber,e.endColumn);if(1!==e.startColumn)return new h.e(e.startLineNumber,1,e.startLineNumber,e.startColumn);{let t=Math.max(1,e.startLineNumber-1),i=1===e.startLineNumber?1:n.getLineLength(t)+1;return new h.e(t,i,e.startLineNumber,1)}}))}}),(0,r.Qr)(class extends H{constructor(){super({id:"deleteAllRight",label:D.NC("lines.deleteAllRight","Delete All Right"),alias:"Delete All Right",precondition:m.u.writable,kbOpts:{kbExpr:m.u.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})}_getEndCursorState(e,t){let i=null,n=[];for(let s=0,o=t.length;s{if(e.isEmpty()){let i=t.getLineMaxColumn(e.startLineNumber);return e.startColumn===i?new h.e(e.startLineNumber,e.startColumn,e.startLineNumber+1,1):new h.e(e.startLineNumber,e.startColumn,e.startLineNumber,i)}return e});return n.sort(h.e.compareRangesUsingStarts),n}}),(0,r.Qr)(V),(0,r.Qr)(z),(0,r.Qr)(class extends K{constructor(){super({id:"editor.action.transformToUppercase",label:D.NC("editor.transformToUppercase","Transform to Uppercase"),alias:"Transform to Uppercase",precondition:m.u.writable})}_modifyText(e,t){return e.toLocaleUpperCase()}}),(0,r.Qr)(class extends K{constructor(){super({id:"editor.action.transformToLowercase",label:D.NC("editor.transformToLowercase","Transform to Lowercase"),alias:"Transform to Lowercase",precondition:m.u.writable})}_modifyText(e,t){return e.toLocaleLowerCase()}}),q.caseBoundary.isSupported()&&q.singleLetters.isSupported()&&(0,r.Qr)(q),j.wordBoundary.isSupported()&&(0,r.Qr)(j),G.wordBoundary.isSupported()&&(0,r.Qr)(G),$.titleBoundary.isSupported()&&(0,r.Qr)($),Q.isSupported()&&(0,r.Qr)(Q)},76:function(e,t,i){"use strict";var n,s=i(9488),o=i(15393),r=i(71050),l=i(41264),a=i(17301),d=i(4669),h=i(5976),u=i(97295),c=i(70666),g=i(16830),p=i(11640),m=i(50187),f=i(24314),_=i(29102),v=i(84901),b=i(4256),C=i(63580),w=i(32064),y=i(71922),S=i(75974),L=i(88191),k=i(84013);i(32072);var D=function(e,t){return function(i,n){t(i,n,e)}};let x=new w.uy("LinkedEditingInputVisible",!1),N=n=class extends h.JT{static get(e){return e.getContribution(n.ID)}constructor(e,t,i,n,s){super(),this.languageConfigurationService=n,this._syncRangesToken=0,this._localToDispose=this._register(new h.SL),this._editor=e,this._providers=i.linkedEditingRangeProvider,this._enabled=!1,this._visibleContextKey=x.bindTo(t),this._debounceInformation=s.for(this._providers,"Linked Editing",{max:200}),this._currentDecorations=this._editor.createDecorationsCollection(),this._languageWordPattern=null,this._currentWordPattern=null,this._ignoreChangeEvent=!1,this._localToDispose=this._register(new h.SL),this._rangeUpdateTriggerPromise=null,this._rangeSyncTriggerPromise=null,this._currentRequestCts=null,this._currentRequestPosition=null,this._currentRequestModelVersion=null,this._register(this._editor.onDidChangeModel(()=>this.reinitialize(!0))),this._register(this._editor.onDidChangeConfiguration(e=>{(e.hasChanged(70)||e.hasChanged(93))&&this.reinitialize(!1)})),this._register(this._providers.onDidChange(()=>this.reinitialize(!1))),this._register(this._editor.onDidChangeModelLanguage(()=>this.reinitialize(!0))),this.reinitialize(!0)}reinitialize(e){let t=this._editor.getModel(),i=null!==t&&(this._editor.getOption(70)||this._editor.getOption(93))&&this._providers.has(t);if(i===this._enabled&&!e||(this._enabled=i,this.clearRanges(),this._localToDispose.clear(),!i||null===t))return;this._localToDispose.add(d.ju.runAndSubscribe(t.onDidChangeLanguageConfiguration,()=>{this._languageWordPattern=this.languageConfigurationService.getLanguageConfiguration(t.getLanguageId()).getWordDefinition()}));let n=new o.vp(this._debounceInformation.get(t)),s=()=>{var e;this._rangeUpdateTriggerPromise=n.trigger(()=>this.updateRanges(),null!==(e=this._debounceDuration)&&void 0!==e?e:this._debounceInformation.get(t))},r=new o.vp(0),l=e=>{this._rangeSyncTriggerPromise=r.trigger(()=>this._syncRanges(e))};this._localToDispose.add(this._editor.onDidChangeCursorPosition(()=>{s()})),this._localToDispose.add(this._editor.onDidChangeModelContent(e=>{if(!this._ignoreChangeEvent&&this._currentDecorations.length>0){let t=this._currentDecorations.getRange(0);if(t&&e.changes.every(e=>t.intersectRanges(e.range))){l(this._syncRangesToken);return}}s()})),this._localToDispose.add({dispose:()=>{n.dispose(),r.dispose()}}),this.updateRanges()}_syncRanges(e){if(!this._editor.hasModel()||e!==this._syncRangesToken||0===this._currentDecorations.length)return;let t=this._editor.getModel(),i=this._currentDecorations.getRange(0);if(!i||i.startLineNumber!==i.endLineNumber)return this.clearRanges();let n=t.getValueInRange(i);if(this._currentWordPattern){let e=n.match(this._currentWordPattern),t=e?e[0].length:0;if(t!==n.length)return this.clearRanges()}let s=[];for(let e=1,i=this._currentDecorations.length;e1){this.clearRanges();return}let i=this._editor.getModel(),s=i.getVersionId();if(this._currentRequestPosition&&this._currentRequestModelVersion===s){if(t.equals(this._currentRequestPosition))return;if(this._currentDecorations.length>0){let e=this._currentDecorations.getRange(0);if(e&&e.containsPosition(t))return}}this.clearRanges(),this._currentRequestPosition=t,this._currentRequestModelVersion=s;let o=this._currentRequestCts=new r.AU;try{let e=new k.G(!1),r=await T(this._providers,i,t,o.token);if(this._debounceInformation.update(i,e.elapsed()),o!==this._currentRequestCts||(this._currentRequestCts=null,s!==i.getVersionId()))return;let l=[];(null==r?void 0:r.ranges)&&(l=r.ranges),this._currentWordPattern=(null==r?void 0:r.wordPattern)||this._languageWordPattern;let a=!1;for(let e=0,i=l.length;e({range:e,options:n.DECORATION}));this._visibleContextKey.set(!0),this._currentDecorations.set(d),this._syncRangesToken++}catch(e){(0,a.n2)(e)||(0,a.dL)(e),this._currentRequestCts!==o&&this._currentRequestCts||this.clearRanges()}}};N.ID="editor.contrib.linkedEditing",N.DECORATION=v.qx.register({description:"linked-editing",stickiness:0,className:"linked-editing-decoration"}),N=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([D(1,w.i6),D(2,y.p),D(3,b.c_),D(4,L.A)],N);class E extends g.R6{constructor(){super({id:"editor.action.linkedEditing",label:C.NC("linkedEditing.label","Start Linked Editing"),alias:"Start Linked Editing",precondition:w.Ao.and(_.u.writable,_.u.hasRenameProvider),kbOpts:{kbExpr:_.u.editorTextFocus,primary:3132,weight:100}})}runCommand(e,t){let i=e.get(p.$),[n,s]=Array.isArray(t)&&t||[void 0,void 0];return c.o.isUri(n)&&m.L.isIPosition(s)?i.openCodeEditor({resource:n},i.getActiveCodeEditor()).then(e=>{e&&(e.setPosition(s),e.invokeWithinContext(t=>(this.reportTelemetry(t,e),this.run(t,e))))},a.dL):super.runCommand(e,t)}run(e,t){let i=N.get(t);return i?Promise.resolve(i.updateRanges(!0)):Promise.resolve()}}let I=g._l.bindToContribution(N.get);function T(e,t,i,n){let r=e.ordered(t);return(0,o.Ps)(r.map(e=>async()=>{try{return await e.provideLinkedEditingRanges(t,i,n)}catch(e){(0,a.Cp)(e);return}}),e=>!!e&&s.Of(null==e?void 0:e.ranges))}(0,g.fK)(new I({id:"cancelLinkedEditingInput",precondition:x,handler:e=>e.clearRanges(),kbOpts:{kbExpr:_.u.editorTextFocus,weight:199,primary:9,secondary:[1033]}})),(0,S.P6G)("editor.linkedEditingBackground",{dark:l.Il.fromHex("#f00").transparent(.3),light:l.Il.fromHex("#f00").transparent(.3),hcDark:l.Il.fromHex("#f00").transparent(.3),hcLight:l.Il.white},C.NC("editorLinkedEditingBackground","Background color when the editor auto renames on type.")),(0,g.sb)("_executeLinkedEditingProvider",(e,t,i)=>{let{linkedEditingRangeProvider:n}=e.get(y.p);return T(n,t,i,r.Ts.None)}),(0,g._K)(N.ID,N,1),(0,g.Qr)(E)},18408:function(e,t,i){"use strict";var n,s=i(15393),o=i(71050),r=i(17301),l=i(59365),a=i(5976),d=i(66663),h=i(1432),u=i(95935),c=i(84013),g=i(70666);i(82438);var p=i(16830),m=i(84901),f=i(88191),_=i(71922),v=i(82005),b=i(9488),C=i(98401),w=i(24314),y=i(73733),S=i(94565);class L{constructor(e,t){this._link=e,this._provider=t}toJSON(){return{range:this.range,url:this.url,tooltip:this.tooltip}}get range(){return this._link.range}get url(){return this._link.url}get tooltip(){return this._link.tooltip}async resolve(e){return this._link.url?this._link.url:"function"==typeof this._provider.resolveLink?Promise.resolve(this._provider.resolveLink(this._link,e)).then(t=>(this._link=t||this._link,this._link.url)?this.resolve(e):Promise.reject(Error("missing"))):Promise.reject(Error("missing"))}}class k{constructor(e){this._disposables=new a.SL;let t=[];for(let[i,n]of e){let e=i.links.map(e=>new L(e,n));t=k._union(t,e),(0,a.Wf)(i)&&this._disposables.add(i)}this.links=t}dispose(){this._disposables.dispose(),this.links.length=0}static _union(e,t){let i,n,s,o;let r=[];for(i=0,s=0,n=e.length,o=t.length;iPromise.resolve(e.provideLinks(t,i)).then(t=>{t&&(n[s]=[t,e])},r.Cp));return Promise.all(s).then(()=>{let e=new k((0,b.kX)(n));return i.isCancellationRequested?(e.dispose(),new k([])):e})}S.P.registerCommand("_executeLinkProvider",async(e,...t)=>{let[i,n]=t;(0,C.p_)(i instanceof g.o),"number"!=typeof n&&(n=0);let{linkProvider:s}=e.get(_.p),r=e.get(y.q).getModel(i);if(!r)return[];let l=await D(s,r,o.Ts.None);if(!l)return[];for(let e=0;ethis.computeLinksNow(),1e3)),this.computePromise=null,this.activeLinksList=null,this.currentOccurrences={},this.activeLinkDecorationId=null;let r=this._register(new v.yN(e));this._register(r.onMouseMoveOrRelevantKeyDown(([e,t])=>{this._onEditorMouseMove(e,t)})),this._register(r.onExecute(e=>{this.onEditorMouseUp(e)})),this._register(r.onCancel(e=>{this.cleanUpActiveLinkDecoration()})),this._register(e.onDidChangeConfiguration(e=>{e.hasChanged(71)&&(this.updateDecorations([]),this.stop(),this.computeLinks.schedule(0))})),this._register(e.onDidChangeModelContent(e=>{this.editor.hasModel()&&this.computeLinks.schedule(this.debounceInformation.get(this.editor.getModel()))})),this._register(e.onDidChangeModel(e=>{this.currentOccurrences={},this.activeLinkDecorationId=null,this.stop(),this.computeLinks.schedule(0)})),this._register(e.onDidChangeModelLanguage(e=>{this.stop(),this.computeLinks.schedule(0)})),this._register(this.providers.onDidChange(e=>{this.stop(),this.computeLinks.schedule(0)})),this.computeLinks.schedule(0)}async computeLinksNow(){if(!this.editor.hasModel()||!this.editor.getOption(71))return;let e=this.editor.getModel();if(!e.isTooLargeForSyncing()&&this.providers.has(e)){this.activeLinksList&&(this.activeLinksList.dispose(),this.activeLinksList=null),this.computePromise=(0,s.PG)(t=>D(this.providers,e,t));try{let t=new c.G(!1);if(this.activeLinksList=await this.computePromise,this.debounceInformation.update(e,t.elapsed()),e.isDisposed())return;this.updateDecorations(this.activeLinksList.links)}catch(e){(0,r.dL)(e)}finally{this.computePromise=null}}}updateDecorations(e){let t="altKey"===this.editor.getOption(78),i=[],n=Object.keys(this.currentOccurrences);for(let e of n){let t=this.currentOccurrences[e];i.push(t.decorationId)}let s=[];if(e)for(let i of e)s.push(R.decoration(i,t));this.editor.changeDecorations(t=>{let n=t.deltaDecorations(i,s);this.currentOccurrences={},this.activeLinkDecorationId=null;for(let t=0,i=n.length;t{t.activate(e,i),this.activeLinkDecorationId=t.decorationId})}else this.cleanUpActiveLinkDecoration()}cleanUpActiveLinkDecoration(){let e="altKey"===this.editor.getOption(78);if(this.activeLinkDecorationId){let t=this.currentOccurrences[this.activeLinkDecorationId];t&&this.editor.changeDecorations(i=>{t.deactivate(i,e)}),this.activeLinkDecorationId=null}}onEditorMouseUp(e){if(!this.isEnabled(e))return;let t=this.getLinkOccurrence(e.target.position);t&&this.openLinkOccurrence(t,e.hasSideBySideModifier,!0)}openLinkOccurrence(e,t,i=!1){if(!this.openerService)return;let{link:n}=e;n.resolve(o.Ts.None).then(e=>{if("string"==typeof e&&this.editor.hasModel()){let t=this.editor.getModel().uri;if(t.scheme===d.lg.file&&e.startsWith(`${d.lg.file}:`)){let i=g.o.parse(e);if(i.scheme===d.lg.file){let n=u.z_(i),s=null;n.startsWith("/./")||n.startsWith("\\.\\")?s=`.${n.substr(1)}`:(n.startsWith("//./")||n.startsWith("\\\\.\\"))&&(s=`.${n.substr(2)}`),s&&(e=u.Vo(t,s))}}}return this.openerService.open(e,{openToSide:t,fromUserGesture:i,allowContributedOpeners:!0,allowCommands:!0,fromWorkspace:!0})},e=>{let t=e instanceof Error?e.message:e;"invalid"===t?this.notificationService.warn(x.NC("invalid.url","Failed to open this link because it is not well-formed: {0}",n.url.toString())):"missing"===t?this.notificationService.warn(x.NC("missing.url","Failed to open this link because its target is missing.")):(0,r.dL)(e)})}getLinkOccurrence(e){if(!this.editor.hasModel()||!e)return null;let t=this.editor.getModel().getDecorationsInRange({startLineNumber:e.lineNumber,startColumn:e.column,endLineNumber:e.lineNumber,endColumn:e.column},0,!0);for(let e of t){let t=this.currentOccurrences[e.id];if(t)return t}return null}isEnabled(e,t){return!!(6===e.target.type&&(e.hasTriggerModifier||t&&t.keyCodeIsTriggerKey))}stop(){var e;this.computeLinks.cancel(),this.activeLinksList&&(null===(e=this.activeLinksList)||void 0===e||e.dispose(),this.activeLinksList=null),this.computePromise&&(this.computePromise.cancel(),this.computePromise=null)}dispose(){super.dispose(),this.stop()}};T.ID="editor.linkDetector",T=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([I(1,E.v),I(2,N.lT),I(3,_.p),I(4,f.A)],T);let M={general:m.qx.register({description:"detected-link",stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link"}),active:m.qx.register({description:"detected-link-active",stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link-active"})};class R{static decoration(e,t){return{range:e.range,options:R._getOptions(e,t,!1)}}static _getOptions(e,t,i){let n={...i?M.active:M.general};return n.hoverMessage=function(e,t){let i=e.url&&/^command:/i.test(e.url.toString()),n=e.tooltip?e.tooltip:i?x.NC("links.navigate.executeCmd","Execute command"):x.NC("links.navigate.follow","Follow link"),s=t?h.dz?x.NC("links.navigate.kb.meta.mac","cmd + click"):x.NC("links.navigate.kb.meta","ctrl + click"):h.dz?x.NC("links.navigate.kb.alt.mac","option + click"):x.NC("links.navigate.kb.alt","alt + click");if(!e.url)return new l.W5().appendText(`${n} (${s})`);{let t="";if(/^command:/i.test(e.url.toString())){let i=e.url.toString().match(/^command:([^?#]+)/);if(i){let e=i[1];t=x.NC("tooltip.explanation","Execute command {0}",e)}}let i=new l.W5("",!0).appendLink(e.url.toString(!0).replace(/ /g,"%20"),n,t).appendMarkdown(` (${s})`);return i}}(e,t),n}constructor(e,t){this.link=e,this.decorationId=t}activate(e,t){e.changeDecorationOptions(this.decorationId,R._getOptions(this.link,t,!0))}deactivate(e,t){e.changeDecorationOptions(this.decorationId,R._getOptions(this.link,t,!1))}}class A extends p.R6{constructor(){super({id:"editor.action.openLink",label:x.NC("label","Open Link"),alias:"Open Link",precondition:void 0})}run(e,t){let i=T.get(t);if(!i||!t.hasModel())return;let n=t.getSelections();for(let e of n){let t=i.getLinkOccurrence(e.getEndPosition());t&&i.openLinkOccurrence(t,!1)}}}(0,p._K)(T.ID,T,1),(0,p.Qr)(A)},93519:function(e,t,i){"use strict";var n=i(5976),s=i(16830);class o extends n.JT{constructor(e){super(),this._editor=e,this._register(this._editor.onMouseDown(e=>{let t=this._editor.getOption(117);t>=0&&6===e.target.type&&e.target.position.column>=t&&this._editor.updateOptions({stopRenderingLineAfter:-1})}))}}o.ID="editor.contrib.longLinesHelper",(0,s._K)(o.ID,o,2)},27753:function(e,t,i){"use strict";i.d(t,{O:function(){return _}});var n,s=i(5710),o=i(85152),r=i(4669),l=i(59365),a=i(5976);i(52205);var d=i(16830),h=i(24314),u=i(72545),c=i(63580),g=i(32064),p=i(50988),m=i(65321),f=function(e,t){return function(i,n){t(i,n,e)}};let _=n=class{static get(e){return e.getContribution(n.ID)}constructor(e,t,i){this._openerService=i,this._messageWidget=new a.XK,this._messageListeners=new a.SL,this._mouseOverMessage=!1,this._editor=e,this._visible=n.MESSAGE_VISIBLE.bindTo(t)}dispose(){var e;null===(e=this._message)||void 0===e||e.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){let i;(0,o.Z9)((0,l.Fr)(e)?e.value:e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._message=(0,l.Fr)(e)?(0,s.ap)(e,{actionHandler:{callback:t=>{this.closeMessage(),(0,u.N)(this._openerService,t,(0,l.Fr)(e)?e.isTrusted:void 0)},disposables:this._messageListeners}}):void 0,this._messageWidget.value=new b(this._editor,t,"string"==typeof e?e:this._message.element),this._messageListeners.add(r.ju.debounce(this._editor.onDidBlurEditorText,(e,t)=>t,0)(()=>{this._mouseOverMessage||this._messageWidget.value&&m.jg(m.vY(),this._messageWidget.value.getDomNode())||this.closeMessage()})),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(m.nm(this._messageWidget.value.getDomNode(),m.tw.MOUSE_ENTER,()=>this._mouseOverMessage=!0,!0)),this._messageListeners.add(m.nm(this._messageWidget.value.getDomNode(),m.tw.MOUSE_LEAVE,()=>this._mouseOverMessage=!1,!0)),this._messageListeners.add(this._editor.onMouseMove(e=>{e.target.position&&(i?i.containsPosition(e.target.position)||this.closeMessage():i=new h.e(t.lineNumber-3,1,e.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(b.fadeOut(this._messageWidget.value))}};_.ID="editor.contrib.messageController",_.MESSAGE_VISIBLE=new g.uy("messageVisible",!1,c.NC("messageVisible","Whether the editor is currently showing an inline message")),_=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([f(1,g.i6),f(2,p.v)],_);let v=d._l.bindToContribution(_.get);(0,d.fK)(new v({id:"leaveEditorMessage",precondition:_.MESSAGE_VISIBLE,handler:e=>e.closeMessage(),kbOpts:{weight:130,primary:9}}));class b{static fadeOut(e){let t=()=>{e.dispose(),clearTimeout(i),e.getDomNode().removeEventListener("animationend",t)},i=setTimeout(t,110);return e.getDomNode().addEventListener("animationend",t),e.getDomNode().classList.add("fadeOut"),{dispose:t}}constructor(e,{lineNumber:t,column:i},n){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:i},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage"),this._domNode.style.marginLeft="-6px";let s=document.createElement("div");s.classList.add("anchor","top"),this._domNode.appendChild(s);let o=document.createElement("div");"string"==typeof n?(o.classList.add("message"),o.textContent=n):(n.classList.add("message"),o.appendChild(n)),this._domNode.appendChild(o);let r=document.createElement("div");r.classList.add("anchor","below"),this._domNode.appendChild(r),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2],positionAffinity:1}}afterRender(e){this._domNode.classList.toggle("below",2===e)}}(0,d._K)(_.ID,_,4)},77061:function(e,t,i){"use strict";var n,s,o=i(85152),r=i(15393),l=i(22258),a=i(5976),d=i(16830),h=i(28108),u=i(24314),c=i(3860),g=i(29102),p=i(55826),m=i(63580),f=i(84144),_=i(32064),v=i(71922),b=i(14495),C=i(72065);function w(e,t){let i=t.filter(t=>!e.find(e=>e.equals(t)));if(i.length>=1){let e=i.map(e=>`line ${e.viewState.position.lineNumber} column ${e.viewState.position.column}`).join(", "),t=1===i.length?m.NC("cursorAdded","Cursor added: {0}",e):m.NC("cursorsAdded","Cursors added: {0}",e);(0,o.i7)(t)}}class y extends d.R6{constructor(){super({id:"editor.action.insertCursorAbove",label:m.NC("mutlicursor.insertAbove","Add Cursor Above"),alias:"Add Cursor Above",precondition:void 0,kbOpts:{kbExpr:g.u.editorTextFocus,primary:2576,linux:{primary:1552,secondary:[3088]},weight:100},menuOpts:{menuId:f.eH.MenubarSelectionMenu,group:"3_multi",title:m.NC({key:"miInsertCursorAbove",comment:["&& denotes a mnemonic"]},"&&Add Cursor Above"),order:2}})}run(e,t,i){if(!t.hasModel())return;let n=!0;i&&!1===i.logicalLine&&(n=!1);let s=t._getViewModel();if(s.cursorConfig.readOnly)return;s.model.pushStackElement();let o=s.getCursorStates();s.setCursorStates(i.source,3,h.P.addCursorUp(s,o,n)),s.revealTopMostCursor(i.source),w(o,s.getCursorStates())}}class S extends d.R6{constructor(){super({id:"editor.action.insertCursorBelow",label:m.NC("mutlicursor.insertBelow","Add Cursor Below"),alias:"Add Cursor Below",precondition:void 0,kbOpts:{kbExpr:g.u.editorTextFocus,primary:2578,linux:{primary:1554,secondary:[3090]},weight:100},menuOpts:{menuId:f.eH.MenubarSelectionMenu,group:"3_multi",title:m.NC({key:"miInsertCursorBelow",comment:["&& denotes a mnemonic"]},"A&&dd Cursor Below"),order:3}})}run(e,t,i){if(!t.hasModel())return;let n=!0;i&&!1===i.logicalLine&&(n=!1);let s=t._getViewModel();if(s.cursorConfig.readOnly)return;s.model.pushStackElement();let o=s.getCursorStates();s.setCursorStates(i.source,3,h.P.addCursorDown(s,o,n)),s.revealBottomMostCursor(i.source),w(o,s.getCursorStates())}}class L extends d.R6{constructor(){super({id:"editor.action.insertCursorAtEndOfEachLineSelected",label:m.NC("mutlicursor.insertAtEndOfEachLineSelected","Add Cursors to Line Ends"),alias:"Add Cursors to Line Ends",precondition:void 0,kbOpts:{kbExpr:g.u.editorTextFocus,primary:1575,weight:100},menuOpts:{menuId:f.eH.MenubarSelectionMenu,group:"3_multi",title:m.NC({key:"miInsertCursorAtEndOfEachLineSelected",comment:["&& denotes a mnemonic"]},"Add C&&ursors to Line Ends"),order:4}})}getCursorsForSelection(e,t,i){if(!e.isEmpty()){for(let n=e.startLineNumber;n1&&i.push(new c.Y(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn))}}run(e,t){if(!t.hasModel())return;let i=t.getModel(),n=t.getSelections(),s=t._getViewModel(),o=s.getCursorStates(),r=[];n.forEach(e=>this.getCursorsForSelection(e,i,r)),r.length>0&&t.setSelections(r),w(o,s.getCursorStates())}}class k extends d.R6{constructor(){super({id:"editor.action.addCursorsToBottom",label:m.NC("mutlicursor.addCursorsToBottom","Add Cursors To Bottom"),alias:"Add Cursors To Bottom",precondition:void 0})}run(e,t){if(!t.hasModel())return;let i=t.getSelections(),n=t.getModel().getLineCount(),s=[];for(let e=i[0].startLineNumber;e<=n;e++)s.push(new c.Y(e,i[0].startColumn,e,i[0].endColumn));let o=t._getViewModel(),r=o.getCursorStates();s.length>0&&t.setSelections(s),w(r,o.getCursorStates())}}class D extends d.R6{constructor(){super({id:"editor.action.addCursorsToTop",label:m.NC("mutlicursor.addCursorsToTop","Add Cursors To Top"),alias:"Add Cursors To Top",precondition:void 0})}run(e,t){if(!t.hasModel())return;let i=t.getSelections(),n=[];for(let e=i[0].startLineNumber;e>=1;e--)n.push(new c.Y(e,i[0].startColumn,e,i[0].endColumn));let s=t._getViewModel(),o=s.getCursorStates();n.length>0&&t.setSelections(n),w(o,s.getCursorStates())}}class x{constructor(e,t,i){this.selections=e,this.revealRange=t,this.revealScrollType=i}}class N{static create(e,t){let i,n,s;if(!e.hasModel())return null;let o=t.getState();if(!e.hasTextFocus()&&o.isRevealed&&o.searchString.length>0)return new N(e,t,!1,o.searchString,o.wholeWord,o.matchCase,null);let r=!1,l=e.getSelections();1===l.length&&l[0].isEmpty()?(r=!0,i=!0,n=!0):(i=o.wholeWord,n=o.matchCase);let a=e.getSelection(),d=null;if(a.isEmpty()){let t=e.getConfiguredWordAtPosition(a.getStartPosition());if(!t)return null;s=t.word,d=new c.Y(a.startLineNumber,t.startColumn,a.startLineNumber,t.endColumn)}else s=e.getModel().getValueInRange(a).replace(/\r\n/g,"\n");return new N(e,t,r,s,i,n,d)}constructor(e,t,i,n,s,o,r){this._editor=e,this.findController=t,this.isDisconnectedFromFindController=i,this.searchText=n,this.wholeWord=s,this.matchCase=o,this.currentMatch=r}addSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;let e=this._getNextMatch();if(!e)return null;let t=this._editor.getSelections();return new x(t.concat(e),e,0)}moveSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;let e=this._getNextMatch();if(!e)return null;let t=this._editor.getSelections();return new x(t.slice(0,t.length-1).concat(e),e,0)}_getNextMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){let e=this.currentMatch;return this.currentMatch=null,e}this.findController.highlightFindOptions();let e=this._editor.getSelections(),t=e[e.length-1],i=this._editor.getModel().findNextMatch(this.searchText,t.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(131):null,!1);return i?new c.Y(i.range.startLineNumber,i.range.startColumn,i.range.endLineNumber,i.range.endColumn):null}addSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;let e=this._getPreviousMatch();if(!e)return null;let t=this._editor.getSelections();return new x(t.concat(e),e,0)}moveSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;let e=this._getPreviousMatch();if(!e)return null;let t=this._editor.getSelections();return new x(t.slice(0,t.length-1).concat(e),e,0)}_getPreviousMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){let e=this.currentMatch;return this.currentMatch=null,e}this.findController.highlightFindOptions();let e=this._editor.getSelections(),t=e[e.length-1],i=this._editor.getModel().findPreviousMatch(this.searchText,t.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(131):null,!1);return i?new c.Y(i.range.startLineNumber,i.range.startColumn,i.range.endLineNumber,i.range.endColumn):null}selectAll(e){if(!this._editor.hasModel())return[];this.findController.highlightFindOptions();let t=this._editor.getModel();return e?t.findMatches(this.searchText,e,!1,this.matchCase,this.wholeWord?this._editor.getOption(131):null,!1,1073741824):t.findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getOption(131):null,!1,1073741824)}}class E extends a.JT{static get(e){return e.getContribution(E.ID)}constructor(e){super(),this._sessionDispose=this._register(new a.SL),this._editor=e,this._ignoreSelectionChange=!1,this._session=null}dispose(){this._endSession(),super.dispose()}_beginSessionIfNeeded(e){if(!this._session){let t=N.create(this._editor,e);if(!t)return;this._session=t;let i={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(i.wholeWordOverride=1,i.matchCaseOverride=1,i.isRegexOverride=2),e.getState().change(i,!1),this._sessionDispose.add(this._editor.onDidChangeCursorSelection(e=>{this._ignoreSelectionChange||this._endSession()})),this._sessionDispose.add(this._editor.onDidBlurEditorText(()=>{this._endSession()})),this._sessionDispose.add(e.getState().onFindReplaceStateChange(e=>{(e.matchCase||e.wholeWord)&&this._endSession()}))}}_endSession(){this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController&&this._session.findController.getState().change({wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0},!1),this._session=null}_setSelections(e){this._ignoreSelectionChange=!0,this._editor.setSelections(e),this._ignoreSelectionChange=!1}_expandEmptyToWord(e,t){if(!t.isEmpty())return t;let i=this._editor.getConfiguredWordAtPosition(t.getStartPosition());return i?new c.Y(t.startLineNumber,i.startColumn,t.startLineNumber,i.endColumn):t}_applySessionResult(e){e&&(this._setSelections(e.selections),e.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(e.revealRange,e.revealScrollType))}getSession(e){return this._session}addSelectionToNextFindMatch(e){if(this._editor.hasModel()){if(!this._session){let t=this._editor.getSelections();if(t.length>1){let i=e.getState(),n=i.matchCase,s=R(this._editor.getModel(),t,n);if(!s){let e=this._editor.getModel(),i=[];for(let n=0,s=t.length;n0&&i.isRegex){let e=this._editor.getModel();t=i.searchScope?e.findMatches(i.searchString,i.searchScope,i.isRegex,i.matchCase,i.wholeWord?this._editor.getOption(131):null,!1,1073741824):e.findMatches(i.searchString,!0,i.isRegex,i.matchCase,i.wholeWord?this._editor.getOption(131):null,!1,1073741824)}else{if(this._beginSessionIfNeeded(e),!this._session)return;t=this._session.selectAll(i.searchScope)}if(t.length>0){let e=this._editor.getSelection();for(let i=0,n=t.length;inew c.Y(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)))}}}E.ID="editor.contrib.multiCursorController";class I extends d.R6{run(e,t){let i=E.get(t);if(!i)return;let n=t._getViewModel();if(n){let s=n.getCursorStates(),o=p.pR.get(t);if(o)this._run(i,o);else{let n=e.get(C.TG).createInstance(p.pR,t);this._run(i,n),n.dispose()}w(s,n.getCursorStates())}}}class T{constructor(e,t,i,n,s){this._model=e,this._searchText=t,this._matchCase=i,this._wordSeparators=n,this._modelVersionId=this._model.getVersionId(),this._cachedFindMatches=null,s&&this._model===s._model&&this._searchText===s._searchText&&this._matchCase===s._matchCase&&this._wordSeparators===s._wordSeparators&&this._modelVersionId===s._modelVersionId&&(this._cachedFindMatches=s._cachedFindMatches)}findMatches(){return null===this._cachedFindMatches&&(this._cachedFindMatches=this._model.findMatches(this._searchText,!0,!1,this._matchCase,this._wordSeparators,!1).map(e=>e.range),this._cachedFindMatches.sort(u.e.compareRangesUsingStarts)),this._cachedFindMatches}}let M=s=class extends a.JT{constructor(e,t){super(),this._languageFeaturesService=t,this.editor=e,this._isEnabled=e.getOption(108),this._decorations=e.createDecorationsCollection(),this.updateSoon=this._register(new r.pY(()=>this._update(),300)),this.state=null,this._register(e.onDidChangeConfiguration(t=>{this._isEnabled=e.getOption(108)})),this._register(e.onDidChangeCursorSelection(e=>{this._isEnabled&&(e.selection.isEmpty()?3===e.reason?(this.state&&this._setState(null),this.updateSoon.schedule()):this._setState(null):this._update())})),this._register(e.onDidChangeModel(e=>{this._setState(null)})),this._register(e.onDidChangeModelContent(e=>{this._isEnabled&&this.updateSoon.schedule()}));let i=p.pR.get(e);i&&this._register(i.getState().onFindReplaceStateChange(e=>{this._update()})),this.updateSoon.schedule()}_update(){this._setState(s._createState(this.state,this._isEnabled,this.editor))}static _createState(e,t,i){if(!t||!i.hasModel())return null;let n=i.getSelection();if(n.startLineNumber!==n.endLineNumber)return null;let s=E.get(i);if(!s)return null;let o=p.pR.get(i);if(!o)return null;let r=s.getSession(o);if(!r){let e=i.getSelections();if(e.length>1){let t=o.getState(),n=t.matchCase,s=R(i.getModel(),e,n);if(!s)return null}r=N.create(i,o)}if(!r||r.currentMatch||/^[ \t]+$/.test(r.searchText)||r.searchText.length>200)return null;let l=o.getState(),a=l.matchCase;if(l.isRevealed){let e=l.searchString;a||(e=e.toLowerCase());let t=r.searchText;if(a||(t=t.toLowerCase()),e===t&&r.matchCase===l.matchCase&&r.wholeWord===l.wholeWord&&!l.isRegex)return null}return new T(i.getModel(),r.searchText,r.matchCase,r.wholeWord?i.getOption(131):null,e)}_setState(e){if(this.state=e,!this.state){this._decorations.clear();return}if(!this.editor.hasModel())return;let t=this.editor.getModel();if(t.isTooLargeForTokenization())return;let i=this.state.findMatches(),n=this.editor.getSelections();n.sort(u.e.compareRangesUsingStarts);let s=[];for(let e=0,t=0,o=i.length,r=n.length;e=r)s.push(o),e++;else{let i=u.e.compareRangesUsingStarts(o,n[t]);i<0?((n[t].isEmpty()||!u.e.areIntersecting(o,n[t]))&&s.push(o),e++):(i>0||e++,t++)}}let o="off"!==this.editor.getOption(81),r=this._languageFeaturesService.documentHighlightProvider.has(t)&&o,l=s.map(e=>({range:e,options:(0,b.w)(r)}));this._decorations.set(l)}dispose(){this._setState(null),super.dispose()}};function R(e,t,i){let n=A(e,t[0],!i);for(let s=1,o=t.length;s=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=v.p,function(e,t){n(e,t,1)})],M);class P extends d.R6{constructor(){super({id:"editor.action.focusNextCursor",label:m.NC("mutlicursor.focusNextCursor","Focus Next Cursor"),metadata:{description:m.NC("mutlicursor.focusNextCursor.description","Focuses the next cursor"),args:[]},alias:"Focus Next Cursor",precondition:void 0})}run(e,t,i){if(!t.hasModel())return;let n=t._getViewModel();if(n.cursorConfig.readOnly)return;n.model.pushStackElement();let s=Array.from(n.getCursorStates()),o=s.shift();o&&(s.push(o),n.setCursorStates(i.source,3,s),n.revealPrimaryCursor(i.source,!0),w(s,n.getCursorStates()))}}class O extends d.R6{constructor(){super({id:"editor.action.focusPreviousCursor",label:m.NC("mutlicursor.focusPreviousCursor","Focus Previous Cursor"),metadata:{description:m.NC("mutlicursor.focusPreviousCursor.description","Focuses the previous cursor"),args:[]},alias:"Focus Previous Cursor",precondition:void 0})}run(e,t,i){if(!t.hasModel())return;let n=t._getViewModel();if(n.cursorConfig.readOnly)return;n.model.pushStackElement();let s=Array.from(n.getCursorStates()),o=s.pop();o&&(s.unshift(o),n.setCursorStates(i.source,3,s),n.revealPrimaryCursor(i.source,!0),w(s,n.getCursorStates()))}}(0,d._K)(E.ID,E,4),(0,d._K)(M.ID,M,1),(0,d.Qr)(y),(0,d.Qr)(S),(0,d.Qr)(L),(0,d.Qr)(class extends I{constructor(){super({id:"editor.action.addSelectionToNextFindMatch",label:m.NC("addSelectionToNextFindMatch","Add Selection To Next Find Match"),alias:"Add Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:g.u.focus,primary:2082,weight:100},menuOpts:{menuId:f.eH.MenubarSelectionMenu,group:"3_multi",title:m.NC({key:"miAddSelectionToNextFindMatch",comment:["&& denotes a mnemonic"]},"Add &&Next Occurrence"),order:5}})}_run(e,t){e.addSelectionToNextFindMatch(t)}}),(0,d.Qr)(class extends I{constructor(){super({id:"editor.action.addSelectionToPreviousFindMatch",label:m.NC("addSelectionToPreviousFindMatch","Add Selection To Previous Find Match"),alias:"Add Selection To Previous Find Match",precondition:void 0,menuOpts:{menuId:f.eH.MenubarSelectionMenu,group:"3_multi",title:m.NC({key:"miAddSelectionToPreviousFindMatch",comment:["&& denotes a mnemonic"]},"Add P&&revious Occurrence"),order:6}})}_run(e,t){e.addSelectionToPreviousFindMatch(t)}}),(0,d.Qr)(class extends I{constructor(){super({id:"editor.action.moveSelectionToNextFindMatch",label:m.NC("moveSelectionToNextFindMatch","Move Last Selection To Next Find Match"),alias:"Move Last Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:g.u.focus,primary:(0,l.gx)(2089,2082),weight:100}})}_run(e,t){e.moveSelectionToNextFindMatch(t)}}),(0,d.Qr)(class extends I{constructor(){super({id:"editor.action.moveSelectionToPreviousFindMatch",label:m.NC("moveSelectionToPreviousFindMatch","Move Last Selection To Previous Find Match"),alias:"Move Last Selection To Previous Find Match",precondition:void 0})}_run(e,t){e.moveSelectionToPreviousFindMatch(t)}}),(0,d.Qr)(class extends I{constructor(){super({id:"editor.action.selectHighlights",label:m.NC("selectAllOccurrencesOfFindMatch","Select All Occurrences of Find Match"),alias:"Select All Occurrences of Find Match",precondition:void 0,kbOpts:{kbExpr:g.u.focus,primary:3114,weight:100},menuOpts:{menuId:f.eH.MenubarSelectionMenu,group:"3_multi",title:m.NC({key:"miSelectHighlights",comment:["&& denotes a mnemonic"]},"Select All &&Occurrences"),order:7}})}_run(e,t){e.selectAll(t)}}),(0,d.Qr)(class extends I{constructor(){super({id:"editor.action.changeAll",label:m.NC("changeAll.label","Change All Occurrences"),alias:"Change All Occurrences",precondition:_.Ao.and(g.u.writable,g.u.editorTextFocus),kbOpts:{kbExpr:g.u.editorTextFocus,primary:2108,weight:100},contextMenuOpts:{group:"1_modification",order:1.2}})}_run(e,t){e.selectAll(t)}}),(0,d.Qr)(k),(0,d.Qr)(D),(0,d.Qr)(P),(0,d.Qr)(O)},97660:function(e,t,i){"use strict";var n,s,o,r,l=i(79579),a=i(5976),d=i(16830),h=i(29102),u=i(43155),c=i(71922),g=i(15393),p=i(17301),m=i(4669),f=i(44906),_=i(71050),v=i(98401),b=i(70666),C=i(50187),w=i(88216),y=i(94565),S=i(32064);let L={Visible:new S.uy("parameterHintsVisible",!1),MultipleSignatures:new S.uy("parameterHintsMultipleSignatures",!1)};async function k(e,t,i,n,s){let o=e.ordered(t);for(let e of o)try{let o=await e.provideSignatureHelp(t,i,s,n);if(o)return o}catch(e){(0,p.Cp)(e)}}y.P.registerCommand("_executeSignatureHelpProvider",async(e,...t)=>{let[i,n,s]=t;(0,v.p_)(b.o.isUri(i)),(0,v.p_)(C.L.isIPosition(n)),(0,v.p_)("string"==typeof s||!s);let o=e.get(c.p),r=await e.get(w.S).createModelReference(i);try{let e=await k(o.signatureHelpProvider,r.object.textEditorModel,C.L.lift(n),{triggerKind:u.WW.Invoke,isRetrigger:!1,triggerCharacter:s},_.Ts.None);if(!e)return;return setTimeout(()=>e.dispose(),0),e.value}finally{r.dispose()}}),(n=s||(s={})).Default={type:0},n.Pending=class{constructor(e,t){this.request=e,this.previouslyActiveHints=t,this.type=2}},n.Active=class{constructor(e){this.hints=e,this.type=1}};class D extends a.JT{constructor(e,t,i=D.DEFAULT_DELAY){super(),this._onChangedHints=this._register(new m.Q5),this.onChangedHints=this._onChangedHints.event,this.triggerOnType=!1,this._state=s.Default,this._pendingTriggers=[],this._lastSignatureHelpResult=this._register(new a.XK),this.triggerChars=new f.q,this.retriggerChars=new f.q,this.triggerId=0,this.editor=e,this.providers=t,this.throttledDelayer=new g.vp(i),this._register(this.editor.onDidBlurEditorWidget(()=>this.cancel())),this._register(this.editor.onDidChangeConfiguration(()=>this.onEditorConfigurationChange())),this._register(this.editor.onDidChangeModel(e=>this.onModelChanged())),this._register(this.editor.onDidChangeModelLanguage(e=>this.onModelChanged())),this._register(this.editor.onDidChangeCursorSelection(e=>this.onCursorChange(e))),this._register(this.editor.onDidChangeModelContent(e=>this.onModelContentChange())),this._register(this.providers.onDidChange(this.onModelChanged,this)),this._register(this.editor.onDidType(e=>this.onDidType(e))),this.onEditorConfigurationChange(),this.onModelChanged()}get state(){return this._state}set state(e){2===this._state.type&&this._state.request.cancel(),this._state=e}cancel(e=!1){this.state=s.Default,this.throttledDelayer.cancel(),e||this._onChangedHints.fire(void 0)}trigger(e,t){let i=this.editor.getModel();if(!i||!this.providers.has(i))return;let n=++this.triggerId;this._pendingTriggers.push(e),this.throttledDelayer.trigger(()=>this.doTrigger(n),t).catch(p.dL)}next(){if(1!==this.state.type)return;let e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,i=t%e==e-1,n=this.editor.getOption(86).cycle;if((e<2||i)&&!n){this.cancel();return}this.updateActiveSignature(i&&n?0:t+1)}previous(){if(1!==this.state.type)return;let e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,i=0===t,n=this.editor.getOption(86).cycle;if((e<2||i)&&!n){this.cancel();return}this.updateActiveSignature(i&&n?e-1:t-1)}updateActiveSignature(e){1===this.state.type&&(this.state=new s.Active({...this.state.hints,activeSignature:e}),this._onChangedHints.fire(this.state.hints))}async doTrigger(e){let t=1===this.state.type||2===this.state.type,i=this.getLastActiveHints();if(this.cancel(!0),0===this._pendingTriggers.length)return!1;let n=this._pendingTriggers.reduce(x);this._pendingTriggers=[];let o={triggerKind:n.triggerKind,triggerCharacter:n.triggerCharacter,isRetrigger:t,activeSignatureHelp:i};if(!this.editor.hasModel())return!1;let r=this.editor.getModel(),l=this.editor.getPosition();this.state=new s.Pending((0,g.PG)(e=>k(this.providers,r,l,o,e)),i);try{let t=await this.state.request;if(e!==this.triggerId)return null==t||t.dispose(),!1;if(!t||!t.value.signatures||0===t.value.signatures.length)return null==t||t.dispose(),this._lastSignatureHelpResult.clear(),this.cancel(),!1;return this.state=new s.Active(t.value),this._lastSignatureHelpResult.value=t,this._onChangedHints.fire(this.state.hints),!0}catch(t){return e===this.triggerId&&(this.state=s.Default),(0,p.dL)(t),!1}}getLastActiveHints(){switch(this.state.type){case 1:return this.state.hints;case 2:return this.state.previouslyActiveHints;default:return}}get isTriggered(){return 1===this.state.type||2===this.state.type||this.throttledDelayer.isTriggered()}onModelChanged(){this.cancel(),this.triggerChars.clear(),this.retriggerChars.clear();let e=this.editor.getModel();if(e)for(let t of this.providers.ordered(e)){for(let e of t.signatureHelpTriggerCharacters||[])if(e.length){let t=e.charCodeAt(0);this.triggerChars.add(t),this.retriggerChars.add(t)}for(let e of t.signatureHelpRetriggerCharacters||[])e.length&&this.retriggerChars.add(e.charCodeAt(0))}}onDidType(e){if(!this.triggerOnType)return;let t=e.length-1,i=e.charCodeAt(t);(this.triggerChars.has(i)||this.isTriggered&&this.retriggerChars.has(i))&&this.trigger({triggerKind:u.WW.TriggerCharacter,triggerCharacter:e.charAt(t)})}onCursorChange(e){"mouse"===e.source?this.cancel():this.isTriggered&&this.trigger({triggerKind:u.WW.ContentChange})}onModelContentChange(){this.isTriggered&&this.trigger({triggerKind:u.WW.ContentChange})}onEditorConfigurationChange(){this.triggerOnType=this.editor.getOption(86).enabled,this.triggerOnType||this.cancel()}dispose(){this.cancel(!0),super.dispose()}}function x(e,t){switch(t.triggerKind){case u.WW.Invoke:return t;case u.WW.ContentChange:return e;case u.WW.TriggerCharacter:default:return t}}D.DEFAULT_DELAY=120;var N=i(63580),E=i(72065),I=i(65321),T=i(85152),M=i(18967),R=i(78789),A=i(97295);i(51397);var P=i(72042),O=i(72545),F=i(50988),B=i(75974),W=i(59554),H=i(25670),V=i(84013),z=i(10829),K=function(e,t){return function(i,n){t(i,n,e)}};let U=I.$,$=(0,W.q5)("parameter-hints-next",R.l.chevronDown,N.NC("parameterHintsNextIcon","Icon for show next parameter hint.")),q=(0,W.q5)("parameter-hints-previous",R.l.chevronUp,N.NC("parameterHintsPreviousIcon","Icon for show previous parameter hint.")),j=o=class extends a.JT{constructor(e,t,i,n,s,o){super(),this.editor=e,this.model=t,this.telemetryService=o,this.renderDisposeables=this._register(new a.SL),this.visible=!1,this.announcedLabel=null,this.allowEditorOverflow=!0,this.markdownRenderer=this._register(new O.$({editor:e},s,n)),this.keyVisible=L.Visible.bindTo(i),this.keyMultipleSignatures=L.MultipleSignatures.bindTo(i)}createParameterHintDOMNodes(){let e=U(".editor-widget.parameter-hints-widget"),t=I.R3(e,U(".phwrapper"));t.tabIndex=-1;let i=I.R3(t,U(".controls")),n=I.R3(i,U(".button"+H.k.asCSSSelector(q))),s=I.R3(i,U(".overloads")),o=I.R3(i,U(".button"+H.k.asCSSSelector($)));this._register(I.nm(n,"click",e=>{I.zB.stop(e),this.previous()})),this._register(I.nm(o,"click",e=>{I.zB.stop(e),this.next()}));let r=U(".body"),l=new M.s$(r,{alwaysConsumeMouseWheel:!0});this._register(l),t.appendChild(l.getDomNode());let a=I.R3(r,U(".signature")),d=I.R3(r,U(".docs"));e.style.userSelect="text",this.domNodes={element:e,signature:a,overloads:s,docs:d,scrollbar:l},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection(e=>{this.visible&&this.editor.layoutContentWidget(this)}));let h=()=>{if(!this.domNodes)return;let e=this.editor.getOption(50);this.domNodes.element.style.fontSize=`${e.fontSize}px`,this.domNodes.element.style.lineHeight=`${e.lineHeight/e.fontSize}`};h(),this._register(m.ju.chain(this.editor.onDidChangeConfiguration.bind(this.editor),e=>e.filter(e=>e.hasChanged(50)))(h)),this._register(this.editor.onDidLayoutChange(e=>this.updateMaxHeight())),this.updateMaxHeight()}show(){this.visible||(this.domNodes||this.createParameterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout(()=>{var e;null===(e=this.domNodes)||void 0===e||e.element.classList.add("visible")},100),this.editor.layoutContentWidget(this))}hide(){var e;this.renderDisposeables.clear(),this.visible&&(this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,null===(e=this.domNodes)||void 0===e||e.element.classList.remove("visible"),this.editor.layoutContentWidget(this))}getPosition(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null}render(e){var t;if(this.renderDisposeables.clear(),!this.domNodes)return;let i=e.signatures.length>1;this.domNodes.element.classList.toggle("multiple",i),this.keyMultipleSignatures.set(i),this.domNodes.signature.innerText="",this.domNodes.docs.innerText="";let n=e.signatures[e.activeSignature];if(!n)return;let s=I.R3(this.domNodes.signature,U(".code")),o=this.editor.getOption(50);s.style.fontSize=`${o.fontSize}px`,s.style.fontFamily=o.fontFamily;let r=n.parameters.length>0,l=null!==(t=n.activeParameter)&&void 0!==t?t:e.activeParameter;if(r)this.renderParameters(s,n,l);else{let e=I.R3(s,U("span"));e.textContent=n.label}let a=n.parameters[l];if(null==a?void 0:a.documentation){let e=U("span.documentation");if("string"==typeof a.documentation)e.textContent=a.documentation;else{let t=this.renderMarkdownDocs(a.documentation);e.appendChild(t.element)}I.R3(this.domNodes.docs,U("p",{},e))}if(void 0===n.documentation);else if("string"==typeof n.documentation)I.R3(this.domNodes.docs,U("p",{},n.documentation));else{let e=this.renderMarkdownDocs(n.documentation);I.R3(this.domNodes.docs,e.element)}let d=this.hasDocs(n,a);if(this.domNodes.signature.classList.toggle("has-docs",d),this.domNodes.docs.classList.toggle("empty",!d),this.domNodes.overloads.textContent=String(e.activeSignature+1).padStart(e.signatures.length.toString().length,"0")+"/"+e.signatures.length,a){let e="",t=n.parameters[l];e=Array.isArray(t.label)?n.label.substring(t.label[0],t.label[1]):t.label,t.documentation&&(e+="string"==typeof t.documentation?`, ${t.documentation}`:`, ${t.documentation.value}`),n.documentation&&(e+="string"==typeof n.documentation?`, ${n.documentation}`:`, ${n.documentation.value}`),this.announcedLabel!==e&&(T.Z9(N.NC("hint","{0}, hint",e)),this.announcedLabel=e)}this.editor.layoutContentWidget(this),this.domNodes.scrollbar.scanDomNode()}renderMarkdownDocs(e){let t=new V.G,i=this.renderDisposeables.add(this.markdownRenderer.render(e,{asyncRenderCallback:()=>{var e;null===(e=this.domNodes)||void 0===e||e.scrollbar.scanDomNode()}}));i.element.classList.add("markdown-docs");let n=t.elapsed();return n>300&&this.telemetryService.publicLog2("parameterHints.parseMarkdown",{renderDuration:n}),i}hasDocs(e,t){return!!t&&"string"==typeof t.documentation&&(0,v.cW)(t.documentation).length>0||!!t&&"object"==typeof t.documentation&&(0,v.cW)(t.documentation).value.length>0||!!e.documentation&&"string"==typeof e.documentation&&(0,v.cW)(e.documentation).length>0||!!e.documentation&&"object"==typeof e.documentation&&(0,v.cW)(e.documentation.value).length>0}renderParameters(e,t,i){let[n,s]=this.getParameterLabelOffsets(t,i),o=document.createElement("span");o.textContent=t.label.substring(0,n);let r=document.createElement("span");r.textContent=t.label.substring(n,s),r.className="parameter active";let l=document.createElement("span");l.textContent=t.label.substring(s),I.R3(e,o,r,l)}getParameterLabelOffsets(e,t){let i=e.parameters[t];if(!i)return[0,0];if(Array.isArray(i.label))return i.label;if(!i.label.length)return[0,0];{let t=RegExp(`(\\W|^)${(0,A.ec)(i.label)}(?=\\W|$)`,"g");t.test(e.label);let n=t.lastIndex-i.label.length;return n>=0?[n,t.lastIndex]:[0,0]}}next(){this.editor.focus(),this.model.next()}previous(){this.editor.focus(),this.model.previous()}getDomNode(){return this.domNodes||this.createParameterHintDOMNodes(),this.domNodes.element}getId(){return o.ID}updateMaxHeight(){if(!this.domNodes)return;let e=Math.max(this.editor.getLayoutInfo().height/4,250),t=`${e}px`;this.domNodes.element.style.maxHeight=t;let i=this.domNodes.element.getElementsByClassName("phwrapper");i.length&&(i[0].style.maxHeight=t)}};j.ID="editor.widget.parameterHintsWidget",j=o=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([K(2,S.i6),K(3,F.v),K(4,P.O),K(5,z.b)],j),(0,B.P6G)("editorHoverWidget.highlightForeground",{dark:B.Gwp,light:B.Gwp,hcDark:B.Gwp,hcLight:B.Gwp},N.NC("editorHoverWidgetHighlightForeground","Foreground color of the active item in the parameter hint."));var G=function(e,t){return function(i,n){t(i,n,e)}};let Q=r=class extends a.JT{static get(e){return e.getContribution(r.ID)}constructor(e,t,i){super(),this.editor=e,this.model=this._register(new D(e,i.signatureHelpProvider)),this._register(this.model.onChangedHints(e=>{var t;e?(this.widget.value.show(),this.widget.value.render(e)):null===(t=this.widget.rawValue)||void 0===t||t.hide()})),this.widget=new l.o(()=>this._register(t.createInstance(j,this.editor,this.model)))}cancel(){this.model.cancel()}previous(){var e;null===(e=this.widget.rawValue)||void 0===e||e.previous()}next(){var e;null===(e=this.widget.rawValue)||void 0===e||e.next()}trigger(e){this.model.trigger(e,0)}};Q.ID="editor.controller.parameterHints",Q=r=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([G(1,E.TG),G(2,c.p)],Q);class Z extends d.R6{constructor(){super({id:"editor.action.triggerParameterHints",label:N.NC("parameterHints.trigger.label","Trigger Parameter Hints"),alias:"Trigger Parameter Hints",precondition:h.u.hasSignatureHelpProvider,kbOpts:{kbExpr:h.u.editorTextFocus,primary:3082,weight:100}})}run(e,t){let i=Q.get(t);null==i||i.trigger({triggerKind:u.WW.Invoke})}}(0,d._K)(Q.ID,Q,2),(0,d.Qr)(Z);let Y=d._l.bindToContribution(Q.get);(0,d.fK)(new Y({id:"closeParameterHints",precondition:L.Visible,handler:e=>e.cancel(),kbOpts:{weight:175,kbExpr:h.u.focus,primary:9,secondary:[1033]}})),(0,d.fK)(new Y({id:"showPrevParameterHint",precondition:S.Ao.and(L.Visible,L.MultipleSignatures),handler:e=>e.previous(),kbOpts:{weight:175,kbExpr:h.u.focus,primary:16,secondary:[528],mac:{primary:16,secondary:[528,302]}}})),(0,d.fK)(new Y({id:"showNextParameterHint",precondition:S.Ao.and(L.Visible,L.MultipleSignatures),handler:e=>e.next(),kbOpts:{weight:175,kbExpr:h.u.focus,primary:18,secondary:[530],mac:{primary:18,secondary:[530,300]}}}))},36943:function(e,t,i){"use strict";i.d(t,{Fw:function(){return P},Jy:function(){return s},vk:function(){return W},rc:function(){return F},SC:function(){return K},M8:function(){return U},KY:function(){return H},IH:function(){return V},R7:function(){return z}});var n,s,o=i(65321),r=i(90317),l=i(74741),a=i(78789),d=i(25670),h=i(41264),u=i(4669),c=i(36248);i(13791);var g=i(16830),p=i(11640),m=i(22874),f=i(73098),_=i(44742),v=i(5976);i(96909);var b=i(24314),C=i(84901);let w=new h.Il(new h.VS(0,122,204)),y={showArrow:!0,showFrame:!0,className:"",frameColor:w,arrowColor:w,keepEditorSelection:!1};class S{constructor(e,t,i,n,s,o,r,l){this.id="",this.domNode=e,this.afterLineNumber=t,this.afterColumn=i,this.heightInLines=n,this.showInHiddenAreas=r,this.ordinal=l,this._onDomNodeTop=s,this._onComputedHeight=o}onDomNodeTop(e){this._onDomNodeTop(e)}onComputedHeight(e){this._onComputedHeight(e)}}class L{constructor(e,t){this._id=e,this._domNode=t}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}class k{constructor(e){this._editor=e,this._ruleName=k._IdGenerator.nextId(),this._decorations=this._editor.createDecorationsCollection(),this._color=null,this._height=-1}dispose(){this.hide(),o.uN(this._ruleName)}set color(e){this._color!==e&&(this._color=e,this._updateStyle())}set height(e){this._height!==e&&(this._height=e,this._updateStyle())}_updateStyle(){o.uN(this._ruleName),o.fk(`.monaco-editor ${this._ruleName}`,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px !important; margin-left: -${this._height}px; `)}show(e){1===e.column&&(e={lineNumber:e.lineNumber,column:2}),this._decorations.set([{range:b.e.fromPositions(e),options:{description:"zone-widget-arrow",className:this._ruleName,stickiness:1}}])}hide(){this._decorations.clear()}}k._IdGenerator=new _.R(".arrow-decoration-");class D{constructor(e,t={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._viewZone=null,this._disposables=new v.SL,this.container=null,this._isShowing=!1,this.editor=e,this._positionMarkerId=this.editor.createDecorationsCollection(),this.options=c.I8(t),c.jB(this.options,y,!1),this.domNode=document.createElement("div"),this.options.isAccessible||(this.domNode.setAttribute("aria-hidden","true"),this.domNode.setAttribute("role","presentation")),this._disposables.add(this.editor.onDidLayoutChange(e=>{let t=this._getWidth(e);this.domNode.style.width=t+"px",this.domNode.style.left=this._getLeft(e)+"px",this._onWidth(t)}))}dispose(){this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._viewZone=null}),this._positionMarkerId.clear(),this._disposables.dispose()}create(){this.domNode.classList.add("zone-widget"),this.options.className&&this.domNode.classList.add(this.options.className),this.container=document.createElement("div"),this.container.classList.add("zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new k(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()}style(e){e.frameColor&&(this.options.frameColor=e.frameColor),e.arrowColor&&(this.options.arrowColor=e.arrowColor),this._applyStyles()}_applyStyles(){if(this.container&&this.options.frameColor){let e=this.options.frameColor.toString();this.container.style.borderTopColor=e,this.container.style.borderBottomColor=e}if(this._arrow&&this.options.arrowColor){let e=this.options.arrowColor.toString();this._arrow.color=e}}_getWidth(e){return e.width-e.minimap.minimapWidth-e.verticalScrollbarWidth}_getLeft(e){return e.minimap.minimapWidth>0&&0===e.minimap.minimapLeft?e.minimap.minimapWidth:0}_onViewZoneTop(e){this.domNode.style.top=e+"px"}_onViewZoneHeight(e){var t;if(this.domNode.style.height=`${e}px`,this.container){let t=e-this._decoratingElementsHeight();this.container.style.height=`${t}px`;let i=this.editor.getLayoutInfo();this._doLayout(t,this._getWidth(i))}null===(t=this._resizeSash)||void 0===t||t.layout()}get position(){let e=this._positionMarkerId.getRange(0);if(e)return e.getStartPosition()}show(e,t){let i=b.e.isIRange(e)?b.e.lift(e):b.e.fromPositions(e);this._isShowing=!0,this._showImpl(i,t),this._isShowing=!1,this._positionMarkerId.set([{range:i,options:C.qx.EMPTY}])}hide(){var e;this._viewZone&&(this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),null===(e=this._arrow)||void 0===e||e.hide(),this._positionMarkerId.clear()}_decoratingElementsHeight(){let e=this.editor.getOption(67),t=0;return this.options.showArrow&&(t+=2*Math.round(e/3)),this.options.showFrame&&(t+=2*Math.round(e/9)),t}_showImpl(e,t){let i=e.getStartPosition(),n=this.editor.getLayoutInfo(),s=this._getWidth(n);this.domNode.style.width=`${s}px`,this.domNode.style.left=this._getLeft(n)+"px";let o=document.createElement("div");o.style.overflow="hidden";let r=this.editor.getOption(67);if(!this.options.allowUnlimitedHeight){let e=Math.max(12,this.editor.getLayoutInfo().height/r*.8);t=Math.min(t,e)}let l=0,a=0;if(this._arrow&&this.options.showArrow&&(l=Math.round(r/3),this._arrow.height=l,this._arrow.show(i)),this.options.showFrame&&(a=Math.round(r/9)),this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top="-1000px",this._viewZone=new S(o,i.lineNumber,i.column,t,e=>this._onViewZoneTop(e),e=>this._onViewZoneHeight(e),this.options.showInHiddenAreas,this.options.ordinal),this._viewZone.id=e.addZone(this._viewZone),this._overlayWidget=new L("vs.editor.contrib.zoneWidget"+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)}),this.container&&this.options.showFrame){let e=this.options.frameWidth?this.options.frameWidth:a;this.container.style.borderTopWidth=e+"px",this.container.style.borderBottomWidth=e+"px"}let d=t*r-this._decoratingElementsHeight();this.container&&(this.container.style.top=l+"px",this.container.style.height=d+"px",this.container.style.overflow="hidden"),this._doLayout(d,s),this.options.keepEditorSelection||this.editor.setSelection(e);let h=this.editor.getModel();if(h){let t=h.validateRange(new b.e(e.startLineNumber,1,e.endLineNumber+1,1));this.revealRange(t,t.startLineNumber===h.getLineCount())}}revealRange(e,t){t?this.editor.revealLineNearTop(e.endLineNumber,0):this.editor.revealRange(e,0)}setCssClass(e,t){this.container&&(t&&this.container.classList.remove(t),this.container.classList.add(e))}_onWidth(e){}_doLayout(e,t){}_relayout(e){this._viewZone&&this._viewZone.heightInLines!==e&&this.editor.changeViewZones(t=>{this._viewZone&&(this._viewZone.heightInLines=e,t.layoutZone(this._viewZone.id))})}_initSash(){let e;this._resizeSash||(this._resizeSash=this._disposables.add(new f.g(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.state=0),this._disposables.add(this._resizeSash.onDidStart(t=>{this._viewZone&&(e={startY:t.startY,heightInLines:this._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(()=>{e=void 0})),this._disposables.add(this._resizeSash.onDidChange(t=>{if(e){let i=(t.currentY-e.startY)/this.editor.getOption(67),n=e.heightInLines+(i<0?Math.ceil(i):Math.floor(i));n>5&&n<35&&this._relayout(n)}})))}getHorizontalSashLeft(){return 0}getHorizontalSashTop(){return(null===this.domNode.style.height?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2}getHorizontalSashWidth(){let e=this.editor.getLayoutInfo();return e.width-e.minimap.minimapWidth}}var x=i(63580),N=i(27628),E=i(32064),I=i(65026),T=i(72065),M=i(75974),R=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},A=function(e,t){return function(i,n){t(i,n,e)}};let P=(0,T.yh)("IPeekViewService");(0,I.z)(P,class{constructor(){this._widgets=new Map}addExclusiveWidget(e,t){let i=this._widgets.get(e);i&&(i.listener.dispose(),i.widget.dispose()),this._widgets.set(e,{widget:t,listener:t.onDidClose(()=>{let i=this._widgets.get(e);i&&i.widget===t&&(i.listener.dispose(),this._widgets.delete(e))})})}},1),(n=s||(s={})).inPeekEditor=new E.uy("inReferenceSearchEditor",!0,x.NC("inReferenceSearchEditor","Whether the current code editor is embedded inside peek")),n.notInPeekEditor=n.inPeekEditor.toNegated();let O=class{constructor(e,t){e instanceof m.H&&s.inPeekEditor.bindTo(t)}dispose(){}};function F(e){let t=e.get(p.$).getFocusedCodeEditor();return t instanceof m.H?t.getParentEditor():t}O.ID="editor.contrib.referenceController",O=R([A(1,E.i6)],O),(0,g._K)(O.ID,O,0);let B={headerBackgroundColor:h.Il.white,primaryHeadingColor:h.Il.fromHex("#333333"),secondaryHeadingColor:h.Il.fromHex("#6c6c6cb3")},W=class extends D{constructor(e,t,i){super(e,t),this.instantiationService=i,this._onDidClose=new u.Q5,this.onDidClose=this._onDidClose.event,c.jB(this.options,B,!1)}dispose(){this.disposed||(this.disposed=!0,super.dispose(),this._onDidClose.fire(this))}style(e){let t=this.options;e.headerBackgroundColor&&(t.headerBackgroundColor=e.headerBackgroundColor),e.primaryHeadingColor&&(t.primaryHeadingColor=e.primaryHeadingColor),e.secondaryHeadingColor&&(t.secondaryHeadingColor=e.secondaryHeadingColor),super.style(e)}_applyStyles(){super._applyStyles();let e=this.options;this._headElement&&e.headerBackgroundColor&&(this._headElement.style.backgroundColor=e.headerBackgroundColor.toString()),this._primaryHeading&&e.primaryHeadingColor&&(this._primaryHeading.style.color=e.primaryHeadingColor.toString()),this._secondaryHeading&&e.secondaryHeadingColor&&(this._secondaryHeading.style.color=e.secondaryHeadingColor.toString()),this._bodyElement&&e.frameColor&&(this._bodyElement.style.borderColor=e.frameColor.toString())}_fillContainer(e){this.setCssClass("peekview-widget"),this._headElement=o.$(".head"),this._bodyElement=o.$(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),e.appendChild(this._headElement),e.appendChild(this._bodyElement)}_fillHead(e,t){this._titleElement=o.$(".peekview-title"),this.options.supportOnTitleClick&&(this._titleElement.classList.add("clickable"),o.mu(this._titleElement,"click",e=>this._onTitleClick(e))),o.R3(this._headElement,this._titleElement),this._fillTitleIcon(this._titleElement),this._primaryHeading=o.$("span.filename"),this._secondaryHeading=o.$("span.dirname"),this._metaHeading=o.$("span.meta"),o.R3(this._titleElement,this._primaryHeading,this._secondaryHeading,this._metaHeading);let i=o.$(".peekview-actions");o.R3(this._headElement,i);let n=this._getActionBarOptions();this._actionbarWidget=new r.o(i,n),this._disposables.add(this._actionbarWidget),t||this._actionbarWidget.push(new l.aU("peekview.close",x.NC("label.close","Close"),d.k.asClassName(a.l.close),!0,()=>(this.dispose(),Promise.resolve())),{label:!1,icon:!0})}_fillTitleIcon(e){}_getActionBarOptions(){return{actionViewItemProvider:N.Id.bind(void 0,this.instantiationService),orientation:0}}_onTitleClick(e){}setTitle(e,t){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerText=e,this._primaryHeading.setAttribute("title",e),t?this._secondaryHeading.innerText=t:o.PO(this._secondaryHeading))}setMetaTitle(e){this._metaHeading&&(e?(this._metaHeading.innerText=e,o.$Z(this._metaHeading)):o.Cp(this._metaHeading))}_doLayout(e,t){if(!this._isShowing&&e<0){this.dispose();return}let i=Math.ceil(1.2*this.editor.getOption(67)),n=Math.round(e-(i+2));this._doLayoutHead(i,t),this._doLayoutBody(n,t)}_doLayoutHead(e,t){this._headElement&&(this._headElement.style.height=`${e}px`,this._headElement.style.lineHeight=this._headElement.style.height)}_doLayoutBody(e,t){this._bodyElement&&(this._bodyElement.style.height=`${e}px`)}};W=R([A(2,T.TG)],W);let H=(0,M.P6G)("peekViewTitle.background",{dark:"#252526",light:"#F3F3F3",hcDark:h.Il.black,hcLight:h.Il.white},x.NC("peekViewTitleBackground","Background color of the peek view title area.")),V=(0,M.P6G)("peekViewTitleLabel.foreground",{dark:h.Il.white,light:h.Il.black,hcDark:h.Il.white,hcLight:M.NOs},x.NC("peekViewTitleForeground","Color of the peek view title.")),z=(0,M.P6G)("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161",hcDark:"#FFFFFF99",hcLight:"#292929"},x.NC("peekViewTitleInfoForeground","Color of the peek view title info.")),K=(0,M.P6G)("peekView.border",{dark:M.c63,light:M.c63,hcDark:M.lRK,hcLight:M.lRK},x.NC("peekViewBorder","Color of the peek view borders and arrow.")),U=(0,M.P6G)("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hcDark:h.Il.black,hcLight:h.Il.white},x.NC("peekViewResultsBackground","Background color of the peek view result list."));(0,M.P6G)("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hcDark:h.Il.white,hcLight:M.NOs},x.NC("peekViewResultsMatchForeground","Foreground color for line nodes in the peek view result list.")),(0,M.P6G)("peekViewResult.fileForeground",{dark:h.Il.white,light:"#1E1E1E",hcDark:h.Il.white,hcLight:M.NOs},x.NC("peekViewResultsFileForeground","Foreground color for file nodes in the peek view result list.")),(0,M.P6G)("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hcDark:null,hcLight:null},x.NC("peekViewResultsSelectionBackground","Background color of the selected entry in the peek view result list.")),(0,M.P6G)("peekViewResult.selectionForeground",{dark:h.Il.white,light:"#6C6C6C",hcDark:h.Il.white,hcLight:M.NOs},x.NC("peekViewResultsSelectionForeground","Foreground color of the selected entry in the peek view result list."));let $=(0,M.P6G)("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hcDark:h.Il.black,hcLight:h.Il.white},x.NC("peekViewEditorBackground","Background color of the peek view editor."));(0,M.P6G)("peekViewEditorGutter.background",{dark:$,light:$,hcDark:$,hcLight:$},x.NC("peekViewEditorGutterBackground","Background color of the gutter in the peek view editor.")),(0,M.P6G)("peekViewEditorStickyScroll.background",{dark:$,light:$,hcDark:$,hcLight:$},x.NC("peekViewEditorStickScrollBackground","Background color of sticky scroll in the peek view editor.")),(0,M.P6G)("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hcDark:null,hcLight:null},x.NC("peekViewResultsMatchHighlight","Match highlight color in the peek view result list.")),(0,M.P6G)("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hcDark:null,hcLight:null},x.NC("peekViewEditorMatchHighlight","Match highlight color in the peek view editor.")),(0,M.P6G)("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hcDark:M.xL1,hcLight:M.xL1},x.NC("peekViewEditorMatchHighlightBorder","Match highlight border in the peek view editor."))},83943:function(e,t,i){"use strict";i.d(t,{X:function(){return h}});var n=i(88289),s=i(5976),o=i(65520),r=i(84973),l=i(51945),a=i(97781),d=i(85152);class h{constructor(e){this.options=e,this.rangeHighlightDecorationId=void 0}provide(e,t,i){var n;let o=new s.SL;e.canAcceptInBackground=!!(null===(n=this.options)||void 0===n?void 0:n.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;let r=o.add(new s.XK);return r.value=this.doProvide(e,t,i),o.add(this.onDidActiveTextEditorControlChange(()=>{r.value=void 0,r.value=this.doProvide(e,t)})),o}doProvide(e,t,i){var r;let l=new s.SL,a=this.activeTextEditorControl;if(a&&this.canProvideWithTextEditor(a)){let d={editor:a},h=(0,o.Pi)(a);if(h){let e=null!==(r=a.saveViewState())&&void 0!==r?r:void 0;l.add(h.onDidChangeCursorPosition(()=>{var t;e=null!==(t=a.saveViewState())&&void 0!==t?t:void 0})),d.restoreViewState=()=>{e&&a===this.activeTextEditorControl&&a.restoreViewState(e)},l.add((0,n.M)(t.onCancellationRequested)(()=>{var e;return null===(e=d.restoreViewState)||void 0===e?void 0:e.call(d)}))}l.add((0,s.OF)(()=>this.clearDecorations(a))),l.add(this.provideWithTextEditor(d,e,t,i))}else l.add(this.provideWithoutTextEditor(e,t));return l}canProvideWithTextEditor(e){return!0}gotoLocation({editor:e},t){e.setSelection(t.range,"code.jump"),e.revealRangeInCenter(t.range,0),t.preserveFocus||e.focus();let i=e.getModel();i&&"getLineContent"in i&&(0,d.i7)(`${i.getLineContent(t.range.startLineNumber)}`)}getModel(e){var t;return(0,o.QI)(e)?null===(t=e.getModel())||void 0===t?void 0:t.modified:e.getModel()}addDecorations(e,t){e.changeDecorations(e=>{let i=[];this.rangeHighlightDecorationId&&(i.push(this.rangeHighlightDecorationId.overviewRulerDecorationId),i.push(this.rangeHighlightDecorationId.rangeHighlightId),this.rangeHighlightDecorationId=void 0);let n=[{range:t,options:{description:"quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:t,options:{description:"quick-access-range-highlight-overview",overviewRuler:{color:(0,a.EN)(l.m9),position:r.sh.Full}}}],[s,o]=e.deltaDecorations(i,n);this.rangeHighlightDecorationId={rangeHighlightId:s,overviewRulerDecorationId:o}})}clearDecorations(e){let t=this.rangeHighlightDecorationId;t&&(e.changeDecorations(e=>{e.deltaDecorations([t.overviewRulerDecorationId,t.rangeHighlightId],[])}),this.rangeHighlightDecorationId=void 0)}}},73945:function(e,t,i){"use strict";var n=i(59365),s=i(5976),o=i(16830),r=i(27753),l=i(63580);class a extends s.JT{constructor(e){super(),this.editor=e,this._register(this.editor.onDidAttemptReadOnlyEdit(()=>this._onDidAttemptReadOnlyEdit()))}_onDidAttemptReadOnlyEdit(){let e=r.O.get(this.editor);if(e&&this.editor.hasModel()){let t=this.editor.getOptions().get(92);t||(t=new n.W5(this.editor.isSimpleWidget?l.NC("editor.simple.readonly","Cannot edit in read-only input"):l.NC("editor.readonly","Cannot edit in read-only editor"))),e.showMessage(t,this.editor.getPosition())}}}a.ID="editor.contrib.readOnlyMessageController",(0,o._K)(a.ID,a,2)},88767:function(e,t,i){"use strict";var n,s=i(85152),o=i(15393),r=i(71050),l=i(17301),a=i(59365),d=i(5976),h=i(98401),u=i(70666),c=i(16830),g=i(66007),p=i(11640),m=i(50187),f=i(24314),_=i(29102),v=i(43155),b=i(71922),C=i(71765),w=i(14410),y=i(27753),S=i(63580),L=i(84144),k=i(23193),D=i(32064),x=i(72065),N=i(43557),E=i(59422),I=i(90535),T=i(89872),M=i(10829),R=i(65321),A=i(59069),P=i(21661),O=i(97759),F=i(56811),B=i(69047),W=i(9488),H=i(78789),V=i(4669),z=i(84013);i(78987);var K=i(52136),U=i(91847),$=i(86253),q=i(75974),j=i(97781),G=function(e,t){return function(i,n){t(i,n,e)}};let Q=new D.uy("renameInputVisible",!1,(0,S.NC)("renameInputVisible","Whether the rename input widget is visible"));new D.uy("renameInputFocused",!1,(0,S.NC)("renameInputFocused","Whether the rename input widget is focused"));let Z=class{constructor(e,t,i,n,s,o){this._editor=e,this._acceptKeybindings=t,this._themeService=i,this._keybindingService=n,this._logService=o,this.allowEditorOverflow=!0,this._disposables=new d.SL,this._visibleContextKey=Q.bindTo(s),this._isEditingRenameCandidate=!1,this._nRenameSuggestionsInvocations=0,this._hadAutomaticRenameSuggestionsInvocation=!1,this._candidates=new Set,this._beforeFirstInputFieldEditSW=new z.G,this._inputWithButton=new J,this._disposables.add(this._inputWithButton),this._editor.addContentWidget(this),this._disposables.add(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(50)&&this._updateFont()})),this._disposables.add(i.onDidColorThemeChange(this._updateStyles,this))}dispose(){this._disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return"__renameInputWidget"}getDomNode(){return this._domNode||(this._domNode=document.createElement("div"),this._domNode.className="monaco-editor rename-box",this._domNode.appendChild(this._inputWithButton.domNode),this._renameCandidateListView=this._disposables.add(new Y(this._domNode,{fontInfo:this._editor.getOption(50),onFocusChange:e=>{this._inputWithButton.input.value=e,this._isEditingRenameCandidate=!1},onSelectionChange:()=>{this._isEditingRenameCandidate=!1,this.acceptInput(!1)}})),this._disposables.add(this._inputWithButton.onDidInputChange(()=>{var e,t,i,n;(null===(e=this._renameCandidateListView)||void 0===e?void 0:e.focusedCandidate)!==void 0&&(this._isEditingRenameCandidate=!0),null!==(t=this._timeBeforeFirstInputFieldEdit)&&void 0!==t||(this._timeBeforeFirstInputFieldEdit=this._beforeFirstInputFieldEditSW.elapsed()),(null===(i=this._renameCandidateProvidersCts)||void 0===i?void 0:i.token.isCancellationRequested)===!1&&this._renameCandidateProvidersCts.cancel(),null===(n=this._renameCandidateListView)||void 0===n||n.clearFocus()})),this._label=document.createElement("div"),this._label.className="rename-label",this._domNode.appendChild(this._label),this._updateFont(),this._updateStyles(this._themeService.getColorTheme())),this._domNode}_updateStyles(e){var t,i,n,s,o;if(!this._domNode)return;let r=e.getColor(q.rh),l=e.getColor(q.A42);this._domNode.style.backgroundColor=String(null!==(t=e.getColor(q.D0T))&&void 0!==t?t:""),this._domNode.style.boxShadow=r?` 0 0 8px 2px ${r}`:"",this._domNode.style.border=l?`1px solid ${l}`:"",this._domNode.style.color=String(null!==(i=e.getColor(q.zJb))&&void 0!==i?i:"");let a=e.getColor(q.dt_);this._inputWithButton.domNode.style.backgroundColor=String(null!==(n=e.getColor(q.sEe))&&void 0!==n?n:""),this._inputWithButton.input.style.backgroundColor=String(null!==(s=e.getColor(q.sEe))&&void 0!==s?s:""),this._inputWithButton.domNode.style.borderWidth=a?"1px":"0px",this._inputWithButton.domNode.style.borderStyle=a?"solid":"none",this._inputWithButton.domNode.style.borderColor=null!==(o=null==a?void 0:a.toString())&&void 0!==o?o:"none"}_updateFont(){if(void 0===this._domNode)return;(0,h.p_)(void 0!==this._label,"RenameWidget#_updateFont: _label must not be undefined given _domNode is defined"),this._editor.applyFontInfo(this._inputWithButton.input);let e=this._editor.getOption(50);this._label.style.fontSize=`${this._computeLabelFontSize(e.fontSize)}px`}_computeLabelFontSize(e){return .8*e}getPosition(){if(!this._visible||!this._editor.hasModel()||!this._editor.getDomNode())return null;let e=R.D6(this.getDomNode().ownerDocument.body),t=R.i(this._editor.getDomNode()),i=this._getTopForPosition();this._nPxAvailableAbove=i+t.top,this._nPxAvailableBelow=e.height-this._nPxAvailableAbove;let n=this._editor.getOption(67),{totalHeight:s}=X.getLayoutInfo({lineHeight:n}),o=this._nPxAvailableBelow>6*s?[2,1]:[1,2];return{position:this._position,preference:o}}beforeRender(){var e,t;let[i,n]=this._acceptKeybindings;return this._label.innerText=(0,S.NC)({key:"label",comment:['placeholders are keybindings, e.g "F2 to Rename, Shift+F2 to Preview"']},"{0} to Rename, {1} to Preview",null===(e=this._keybindingService.lookupKeybinding(i))||void 0===e?void 0:e.getLabel(),null===(t=this._keybindingService.lookupKeybinding(n))||void 0===t?void 0:t.getLabel()),this._domNode.style.minWidth="200px",null}afterRender(e){let t;if(this._trace("invoking afterRender, position: ",e?"not null":"null"),null===e){this.cancelInput(!0,"afterRender (because position is null)");return}if(!this._editor.hasModel()||!this._editor.getDomNode())return;(0,h.p_)(this._renameCandidateListView),(0,h.p_)(void 0!==this._nPxAvailableAbove),(0,h.p_)(void 0!==this._nPxAvailableBelow);let i=R.wn(this._inputWithButton.domNode),n=R.wn(this._label);t=2===e?this._nPxAvailableBelow:this._nPxAvailableAbove,this._renameCandidateListView.layout({height:t-n-i,width:R.w(this._inputWithButton.domNode)})}acceptInput(e){var t;this._trace("invoking acceptInput"),null===(t=this._currentAcceptInput)||void 0===t||t.call(this,e)}cancelInput(e,t){var i;this._trace(`invoking cancelInput, caller: ${t}, _currentCancelInput: ${this._currentAcceptInput?"not undefined":"undefined"}`),null===(i=this._currentCancelInput)||void 0===i||i.call(this,e)}focusNextRenameSuggestion(){var e;(null===(e=this._renameCandidateListView)||void 0===e?void 0:e.focusNext())||(this._inputWithButton.input.value=this._currentName)}focusPreviousRenameSuggestion(){var e;(null===(e=this._renameCandidateListView)||void 0===e?void 0:e.focusPrevious())||(this._inputWithButton.input.value=this._currentName)}getInput(e,t,i,n,s){let{start:r,end:l}=this._getSelection(e,t);this._renameCts=s;let a=new d.SL;this._nRenameSuggestionsInvocations=0,this._hadAutomaticRenameSuggestionsInvocation=!1,void 0===n?this._inputWithButton.button.style.display="none":(this._inputWithButton.button.style.display="flex",this._requestRenameCandidatesOnce=n,this._requestRenameCandidates(t,!1),a.add(R.nm(this._inputWithButton.button,"click",()=>this._requestRenameCandidates(t,!0))),a.add(R.nm(this._inputWithButton.button,R.tw.KEY_DOWN,e=>{let i=new A.y(e);(i.equals(3)||i.equals(10))&&(i.stopPropagation(),i.preventDefault(),this._requestRenameCandidates(t,!0))}))),this._isEditingRenameCandidate=!1,this._domNode.classList.toggle("preview",i),this._position=new m.L(e.startLineNumber,e.startColumn),this._currentName=t,this._inputWithButton.input.value=t,this._inputWithButton.input.setAttribute("selectionStart",r.toString()),this._inputWithButton.input.setAttribute("selectionEnd",l.toString()),this._inputWithButton.input.size=Math.max((e.endColumn-e.startColumn)*1.1,20),this._beforeFirstInputFieldEditSW.reset(),a.add((0,d.OF)(()=>{this._renameCts=void 0,s.dispose(!0)})),a.add((0,d.OF)(()=>{void 0!==this._renameCandidateProvidersCts&&(this._renameCandidateProvidersCts.dispose(!0),this._renameCandidateProvidersCts=void 0)})),a.add((0,d.OF)(()=>this._candidates.clear()));let u=new o.CR;return u.p.finally(()=>{a.dispose(),this._hide()}),this._currentCancelInput=e=>{var t;return this._trace("invoking _currentCancelInput"),this._currentAcceptInput=void 0,this._currentCancelInput=void 0,null===(t=this._renameCandidateListView)||void 0===t||t.clearCandidates(),u.complete(e),!0},this._currentAcceptInput=e=>{let n,s;this._trace("invoking _currentAcceptInput"),(0,h.p_)(void 0!==this._renameCandidateListView);let o=this._renameCandidateListView.nCandidates,r=this._renameCandidateListView.focusedCandidate;if(void 0!==r?(this._trace("using new name from renameSuggestion"),n=r,s={k:"renameSuggestion"}):(this._trace("using new name from inputField"),n=this._inputWithButton.input.value,s=this._isEditingRenameCandidate?{k:"userEditedRenameSuggestion"}:{k:"inputField"}),n===t||0===n.trim().length){this.cancelInput(!0,"_currentAcceptInput (because newName === value || newName.trim().length === 0)");return}this._currentAcceptInput=void 0,this._currentCancelInput=void 0,this._renameCandidateListView.clearCandidates(),u.complete({newName:n,wantsPreview:i&&e,stats:{source:s,nRenameSuggestions:o,timeBeforeFirstInputFieldEdit:this._timeBeforeFirstInputFieldEdit,nRenameSuggestionsInvocations:this._nRenameSuggestionsInvocations,hadAutomaticRenameSuggestionsInvocation:this._hadAutomaticRenameSuggestionsInvocation}})},a.add(s.token.onCancellationRequested(()=>this.cancelInput(!0,"cts.token.onCancellationRequested"))),a.add(this._editor.onDidBlurEditorWidget(()=>{var e;return this.cancelInput(!(null===(e=this._domNode)||void 0===e?void 0:e.ownerDocument.hasFocus()),"editor.onDidBlurEditorWidget")})),this._show(),u.p}_requestRenameCandidates(e,t){if(void 0!==this._requestRenameCandidatesOnce&&(void 0!==this._renameCandidateProvidersCts&&this._renameCandidateProvidersCts.dispose(!0),(0,h.p_)(this._renameCts),"stop"!==this._inputWithButton.buttonState)){this._renameCandidateProvidersCts=new r.AU;let i=t?v.Ll.Invoke:v.Ll.Automatic,n=this._requestRenameCandidatesOnce(i,this._renameCandidateProvidersCts.token);if(0===n.length){this._inputWithButton.setSparkleButton();return}t||(this._hadAutomaticRenameSuggestionsInvocation=!0),this._nRenameSuggestionsInvocations+=1,this._inputWithButton.setStopButton(),this._updateRenameCandidates(n,e,this._renameCts.token)}}_getSelection(e,t){(0,h.p_)(this._editor.hasModel());let i=this._editor.getSelection(),n=0,s=t.length;return!f.e.isEmpty(i)&&!f.e.spansMultipleLines(i)&&f.e.containsRange(e,i)&&(n=Math.max(0,i.startColumn-e.startColumn),s=Math.min(e.endColumn,i.endColumn)-e.startColumn),{start:n,end:s}}_show(){this._trace("invoking _show"),this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout(()=>{this._inputWithButton.input.focus(),this._inputWithButton.input.setSelectionRange(parseInt(this._inputWithButton.input.getAttribute("selectionStart")),parseInt(this._inputWithButton.input.getAttribute("selectionEnd")))},100)}async _updateRenameCandidates(e,t,i){let n=(...e)=>this._trace("_updateRenameCandidates",...e);n("start");let s=await (0,o.eP)(Promise.allSettled(e),i);if(this._inputWithButton.setSparkleButton(),void 0===s){n("returning early - received updateRenameCandidates results - undefined");return}let r=s.flatMap(e=>"fulfilled"===e.status&&(0,h.$K)(e.value)?e.value:[]);n(`received updateRenameCandidates results - total (unfiltered) ${r.length} candidates.`);let l=W.EB(r,e=>e.newSymbolName);n(`distinct candidates - ${l.length} candidates.`);let a=l.filter(({newSymbolName:e})=>e.trim().length>0&&e!==this._inputWithButton.input.value&&e!==t&&!this._candidates.has(e));if(n(`valid distinct candidates - ${r.length} candidates.`),a.forEach(e=>this._candidates.add(e.newSymbolName)),a.length<1){n("returning early - no valid distinct candidates");return}n("setting candidates"),this._renameCandidateListView.setCandidates(a),n("asking editor to re-layout"),this._editor.layoutContentWidget(this)}_hide(){this._trace("invoked _hide"),this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)}_getTopForPosition(){let e;let t=this._editor.getVisibleRanges();return t.length>0?e=t[0].startLineNumber:(this._logService.warn("RenameWidget#_getTopForPosition: this should not happen - visibleRanges is empty"),e=Math.max(1,this._position.lineNumber-5)),this._editor.getTopForLineNumber(this._position.lineNumber)-this._editor.getTopForLineNumber(e)}_trace(...e){this._logService.trace("RenameWidget",...e)}};Z=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([G(2,j.XE),G(3,U.d),G(4,D.i6),G(5,N.VZ)],Z);class Y{constructor(e,t){this._disposables=new d.SL,this._availableHeight=0,this._minimumWidth=0,this._lineHeight=t.fontInfo.lineHeight,this._typicalHalfwidthCharacterWidth=t.fontInfo.typicalHalfwidthCharacterWidth,this._listContainer=document.createElement("div"),this._listContainer.className="rename-box rename-candidate-list-container",e.appendChild(this._listContainer),this._listWidget=Y._createListWidget(this._listContainer,this._candidateViewHeight,t.fontInfo),this._listWidget.onDidChangeFocus(e=>{1===e.elements.length&&t.onFocusChange(e.elements[0].newSymbolName)},this._disposables),this._listWidget.onDidChangeSelection(e=>{1===e.elements.length&&t.onSelectionChange()},this._disposables),this._disposables.add(this._listWidget.onDidBlur(e=>{this._listWidget.setFocus([])})),this._listWidget.style((0,$.TU)({listInactiveFocusForeground:q.NPS,listInactiveFocusBackground:q.Vqd}))}dispose(){this._listWidget.dispose(),this._disposables.dispose()}layout({height:e,width:t}){this._availableHeight=e,this._minimumWidth=t}setCandidates(e){this._listWidget.splice(0,0,e);let t=this._pickListHeight(this._listWidget.length),i=this._pickListWidth(e);this._listWidget.layout(t,i),this._listContainer.style.height=`${t}px`,this._listContainer.style.width=`${i}px`,s.i7((0,S.NC)("renameSuggestionsReceivedAria","Received {0} rename suggestions",e.length))}clearCandidates(){this._listContainer.style.height="0px",this._listContainer.style.width="0px",this._listWidget.splice(0,this._listWidget.length,[])}get nCandidates(){return this._listWidget.length}get focusedCandidate(){if(0===this._listWidget.length)return;let e=this._listWidget.getSelectedElements()[0];if(void 0!==e)return e.newSymbolName;let t=this._listWidget.getFocusedElements()[0];if(void 0!==t)return t.newSymbolName}focusNext(){if(0===this._listWidget.length)return!1;let e=this._listWidget.getFocus();if(0===e.length)return this._listWidget.focusFirst(),this._listWidget.reveal(0),!0;if(e[0]===this._listWidget.length-1)return this._listWidget.setFocus([]),this._listWidget.reveal(0),!1;{this._listWidget.focusNext();let e=this._listWidget.getFocus()[0];return this._listWidget.reveal(e),!0}}focusPrevious(){if(0===this._listWidget.length)return!1;let e=this._listWidget.getFocus();if(0===e.length){this._listWidget.focusLast();let e=this._listWidget.getFocus()[0];return this._listWidget.reveal(e),!0}if(0===e[0])return this._listWidget.setFocus([]),!1;{this._listWidget.focusPrevious();let e=this._listWidget.getFocus()[0];return this._listWidget.reveal(e),!0}}clearFocus(){this._listWidget.setFocus([])}get _candidateViewHeight(){let{totalHeight:e}=X.getLayoutInfo({lineHeight:this._lineHeight});return e}_pickListHeight(e){let t=this._candidateViewHeight*e,i=Math.min(t,this._availableHeight,7*this._candidateViewHeight);return i}_pickListWidth(e){let t=Math.ceil(Math.max(...e.map(e=>e.newSymbolName.length))*this._typicalHalfwidthCharacterWidth),i=Math.max(this._minimumWidth,25+t+10);return i}static _createListWidget(e,t,i){let n=new class{getTemplateId(e){return"candidate"}getHeight(e){return t}},s=new class{constructor(){this.templateId="candidate"}renderTemplate(e){return new X(e,i)}renderElement(e,t,i){i.populate(e)}disposeTemplate(e){e.dispose()}};return new B.aV("NewSymbolNameCandidates",e,n,[s],{keyboardSupport:!1,mouseSupport:!0,multipleSelectionSupport:!1})}}class J{constructor(){this._onDidInputChange=new V.Q5,this.onDidInputChange=this._onDidInputChange.event,this._disposables=new d.SL}get domNode(){return this._domNode||(this._domNode=document.createElement("div"),this._domNode.className="rename-input-with-button",this._domNode.style.display="flex",this._domNode.style.flexDirection="row",this._domNode.style.alignItems="center",this._inputNode=document.createElement("input"),this._inputNode.className="rename-input",this._inputNode.type="text",this._inputNode.style.border="none",this._inputNode.setAttribute("aria-label",(0,S.NC)("renameAriaLabel","Rename input. Type new name and press Enter to commit.")),this._domNode.appendChild(this._inputNode),this._buttonNode=document.createElement("div"),this._buttonNode.className="rename-suggestions-button",this._buttonNode.setAttribute("tabindex","0"),this._buttonGenHoverText=S.NC("generateRenameSuggestionsButton","Generate new name suggestions"),this._buttonCancelHoverText=S.NC("cancelRenameSuggestionsButton","Cancel"),this._buttonHover=(0,P.B)().setupUpdatableHover((0,O.tM)("element"),this._buttonNode,this._buttonGenHoverText),this._disposables.add(this._buttonHover),this._domNode.appendChild(this._buttonNode),this._disposables.add(R.nm(this.input,R.tw.INPUT,()=>this._onDidInputChange.fire())),this._disposables.add(R.nm(this.input,R.tw.KEY_DOWN,e=>{let t=new A.y(e);(15===t.keyCode||17===t.keyCode)&&this._onDidInputChange.fire()})),this._disposables.add(R.nm(this.input,R.tw.CLICK,()=>this._onDidInputChange.fire())),this._disposables.add(R.nm(this.input,R.tw.FOCUS,()=>{this.domNode.style.outlineWidth="1px",this.domNode.style.outlineStyle="solid",this.domNode.style.outlineOffset="-1px",this.domNode.style.outlineColor="var(--vscode-focusBorder)"})),this._disposables.add(R.nm(this.input,R.tw.BLUR,()=>{this.domNode.style.outline="none"}))),this._domNode}get input(){return(0,h.p_)(this._inputNode),this._inputNode}get button(){return(0,h.p_)(this._buttonNode),this._buttonNode}get buttonState(){return this._buttonState}setSparkleButton(){var e,t;this._buttonState="sparkle",null!==(e=this._sparkleIcon)&&void 0!==e||(this._sparkleIcon=(0,F.h)(H.l.sparkle)),R.PO(this.button),this.button.appendChild(this._sparkleIcon),this.button.setAttribute("aria-label","Generating new name suggestions"),null===(t=this._buttonHover)||void 0===t||t.update(this._buttonGenHoverText),this.input.focus()}setStopButton(){var e,t;this._buttonState="stop",null!==(e=this._stopIcon)&&void 0!==e||(this._stopIcon=(0,F.h)(H.l.primitiveSquare)),R.PO(this.button),this.button.appendChild(this._stopIcon),this.button.setAttribute("aria-label","Cancel generating new name suggestions"),null===(t=this._buttonHover)||void 0===t||t.update(this._buttonCancelHoverText),this.input.focus()}dispose(){this._disposables.dispose()}}class X{constructor(e,t){this._domNode=document.createElement("div"),this._domNode.className="rename-box rename-candidate",this._domNode.style.display="flex",this._domNode.style.columnGap="5px",this._domNode.style.alignItems="center",this._domNode.style.height=`${t.lineHeight}px`,this._domNode.style.padding=`${X._PADDING}px`;let i=document.createElement("div");i.style.display="flex",i.style.alignItems="center",i.style.width=i.style.height=`${.8*t.lineHeight}px`,this._domNode.appendChild(i),this._icon=(0,F.h)(H.l.sparkle),this._icon.style.display="none",i.appendChild(this._icon),this._label=document.createElement("div"),K.N(this._label,t),this._domNode.appendChild(this._label),e.appendChild(this._domNode)}populate(e){this._updateIcon(e),this._updateLabel(e)}_updateIcon(e){var t;let i=!!(null===(t=e.tags)||void 0===t?void 0:t.includes(v.w.AIGenerated));this._icon.style.display=i?"inherit":"none"}_updateLabel(e){this._label.innerText=e.newSymbolName}static getLayoutInfo({lineHeight:e}){let t=e+2*X._PADDING;return{totalHeight:t}}dispose(){}}X._PADDING=2;var ee=function(e,t){return function(i,n){t(i,n,e)}};class et{constructor(e,t,i){this.model=e,this.position=t,this._providerRenameIdx=0,this._providers=i.ordered(e)}hasProvider(){return this._providers.length>0}async resolveRenameLocation(e){let t=[];for(this._providerRenameIdx=0;this._providerRenameIdx0?t.join("\n"):void 0}:{range:f.e.fromPositions(this.position),text:"",rejectReason:t.length>0?t.join("\n"):void 0}}async provideRenameEdits(e,t){return this._provideRenameEdits(e,this._providerRenameIdx,[],t)}async _provideRenameEdits(e,t,i,n){let s=this._providers[t];if(!s)return{edits:[],rejectReason:i.join("\n")};let o=await s.provideRenameEdits(this.model,this.position,e,n);return o?o.rejectReason?this._provideRenameEdits(e,t+1,i.concat(o.rejectReason),n):o:this._provideRenameEdits(e,t+1,i.concat(S.NC("no result","No result.")),n)}}async function ei(e,t,i,n){let s=new et(t,i,e),o=await s.resolveRenameLocation(r.Ts.None);return(null==o?void 0:o.rejectReason)?{edits:[],rejectReason:o.rejectReason}:s.provideRenameEdits(n,r.Ts.None)}let en=n=class{static get(e){return e.getContribution(n.ID)}constructor(e,t,i,n,s,o,l,a,h){this.editor=e,this._instaService=t,this._notificationService=i,this._bulkEditService=n,this._progressService=s,this._logService=o,this._configService=l,this._languageFeaturesService=a,this._telemetryService=h,this._disposableStore=new d.SL,this._cts=new r.AU,this._renameWidget=this._disposableStore.add(this._instaService.createInstance(Z,this.editor,["acceptRenameInput","acceptRenameInputWithPreview"]))}dispose(){this._disposableStore.dispose(),this._cts.dispose(!0)}async run(){var e,t;let i;let n=this._logService.trace.bind(this._logService,"[rename]");if(this._cts.dispose(!0),this._cts=new r.AU,!this.editor.hasModel()){n("editor has no model");return}let d=this.editor.getPosition(),h=new et(this.editor.getModel(),d,this._languageFeaturesService.renameProvider);if(!h.hasProvider()){n("skeleton has no provider");return}let u=new w.Dl(this.editor,5,void 0,this._cts.token);try{n("resolving rename location");let e=h.resolveRenameLocation(u.token);this._progressService.showWhile(e,250),i=await e,n("resolved rename location")}catch(t){t instanceof l.FU?n("resolve rename location cancelled",JSON.stringify(t,null," ")):(n("resolve rename location failed",t instanceof Error?t:JSON.stringify(t,null," ")),("string"==typeof t||(0,a.Fr)(t))&&(null===(e=y.O.get(this.editor))||void 0===e||e.showMessage(t||S.NC("resolveRenameLocationFailed","An unknown error occurred while resolving rename location"),d)));return}finally{u.dispose()}if(!i){n("returning early - no loc");return}if(i.rejectReason){n(`returning early - rejected with reason: ${i.rejectReason}`,i.rejectReason),null===(t=y.O.get(this.editor))||void 0===t||t.showMessage(i.rejectReason,d);return}if(u.token.isCancellationRequested){n("returning early - cts1 cancelled");return}let c=new w.Dl(this.editor,5,i.range,this._cts.token),g=this.editor.getModel(),p=this._languageFeaturesService.newSymbolNamesProvider.all(g),m=await Promise.all(p.map(async e=>{var t;return[e,null!==(t=await e.supportsAutomaticNewSymbolNamesTriggerKind)&&void 0!==t&&t]}));n("creating rename input field and awaiting its result");let _=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,"editor.rename.enablePreview"),b=await this._renameWidget.getInput(i.range,i.text,_,p.length>0?(e,t)=>{let n=m.slice();return e===v.Ll.Automatic&&(n=n.filter(([e,t])=>t)),n.map(([n])=>n.provideNewSymbolNames(g,i.range,e,t))}:void 0,c);if(n("received response from rename input field"),p.length>0&&this._reportTelemetry(p.length,g.getLanguageId(),b),"boolean"==typeof b){n(`returning early - rename input field response - ${b}`),b&&this.editor.focus(),c.dispose();return}this.editor.focus(),n("requesting rename edits");let C=(0,o.eP)(h.provideRenameEdits(b.newName,c.token),c.token).then(async e=>{if(!e){n("returning early - no rename edits result");return}if(!this.editor.hasModel()){n("returning early - no model after rename edits are provided");return}if(e.rejectReason){n(`returning early - rejected with reason: ${e.rejectReason}`),this._notificationService.info(e.rejectReason);return}this.editor.setSelection(f.e.fromPositions(this.editor.getSelection().getPosition())),n("applying edits"),this._bulkEditService.apply(e,{editor:this.editor,showPreview:b.wantsPreview,label:S.NC("label","Renaming '{0}' to '{1}'",null==i?void 0:i.text,b.newName),code:"undoredo.rename",quotableLabel:S.NC("quotableLabel","Renaming {0} to {1}",null==i?void 0:i.text,b.newName),respectAutoSaveConfig:!0}).then(e=>{n("edits applied"),e.ariaSummary&&(0,s.Z9)(S.NC("aria","Successfully renamed '{0}' to '{1}'. Summary: {2}",i.text,b.newName,e.ariaSummary))}).catch(e=>{n(`error when applying edits ${JSON.stringify(e,null," ")}`),this._notificationService.error(S.NC("rename.failedApply","Rename failed to apply edits")),this._logService.error(e)})},e=>{n("error when providing rename edits",JSON.stringify(e,null," ")),this._notificationService.error(S.NC("rename.failed","Rename failed to compute edits")),this._logService.error(e)}).finally(()=>{c.dispose()});return n("returning rename operation"),this._progressService.showWhile(C,250),C}acceptRenameInput(e){this._renameWidget.acceptInput(e)}cancelRenameInput(){this._renameWidget.cancelInput(!0,"cancelRenameInput command")}focusNextRenameSuggestion(){this._renameWidget.focusNextRenameSuggestion()}focusPreviousRenameSuggestion(){this._renameWidget.focusPreviousRenameSuggestion()}_reportTelemetry(e,t,i){let n="boolean"==typeof i?{kind:"cancelled",languageId:t,nRenameSuggestionProviders:e}:{kind:"accepted",languageId:t,nRenameSuggestionProviders:e,source:i.stats.source.k,nRenameSuggestions:i.stats.nRenameSuggestions,timeBeforeFirstInputFieldEdit:i.stats.timeBeforeFirstInputFieldEdit,wantsPreview:i.wantsPreview,nRenameSuggestionsInvocations:i.stats.nRenameSuggestionsInvocations,hadAutomaticRenameSuggestionsInvocation:i.stats.hadAutomaticRenameSuggestionsInvocation};this._telemetryService.publicLog2("renameInvokedEvent",n)}};en.ID="editor.contrib.renameController",en=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([ee(1,x.TG),ee(2,E.lT),ee(3,g.vu),ee(4,I.ek),ee(5,N.VZ),ee(6,C.V),ee(7,b.p),ee(8,M.b)],en);class es extends c.R6{constructor(){super({id:"editor.action.rename",label:S.NC("rename.label","Rename Symbol"),alias:"Rename Symbol",precondition:D.Ao.and(_.u.writable,_.u.hasRenameProvider),kbOpts:{kbExpr:_.u.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:"1_modification",order:1.1}})}runCommand(e,t){let i=e.get(p.$),[n,s]=Array.isArray(t)&&t||[void 0,void 0];return u.o.isUri(n)&&m.L.isIPosition(s)?i.openCodeEditor({resource:n},i.getActiveCodeEditor()).then(e=>{e&&(e.setPosition(s),e.invokeWithinContext(t=>(this.reportTelemetry(t,e),this.run(t,e))))},l.dL):super.runCommand(e,t)}run(e,t){let i=e.get(N.VZ),n=en.get(t);return n?(i.trace("[RenameAction] got controller, running..."),n.run()):(i.trace("[RenameAction] returning early - controller missing"),Promise.resolve())}}(0,c._K)(en.ID,en,4),(0,c.Qr)(es);let eo=c._l.bindToContribution(en.get);(0,c.fK)(new eo({id:"acceptRenameInput",precondition:Q,handler:e=>e.acceptRenameInput(!1),kbOpts:{weight:199,kbExpr:D.Ao.and(_.u.focus,D.Ao.not("isComposing")),primary:3}})),(0,c.fK)(new eo({id:"acceptRenameInputWithPreview",precondition:D.Ao.and(Q,D.Ao.has("config.editor.rename.enablePreview")),handler:e=>e.acceptRenameInput(!0),kbOpts:{weight:199,kbExpr:D.Ao.and(_.u.focus,D.Ao.not("isComposing")),primary:2051}})),(0,c.fK)(new eo({id:"cancelRenameInput",precondition:Q,handler:e=>e.cancelRenameInput(),kbOpts:{weight:199,kbExpr:_.u.focus,primary:9,secondary:[1033]}})),(0,L.r1)(class extends L.Ke{constructor(){super({id:"focusNextRenameSuggestion",title:{...S.vv("focusNextRenameSuggestion","Focus Next Rename Suggestion")},precondition:Q,keybinding:[{primary:18,weight:199}]})}run(e){let t=e.get(p.$).getFocusedCodeEditor();if(!t)return;let i=en.get(t);i&&i.focusNextRenameSuggestion()}}),(0,L.r1)(class extends L.Ke{constructor(){super({id:"focusPreviousRenameSuggestion",title:{...S.vv("focusPreviousRenameSuggestion","Focus Previous Rename Suggestion")},precondition:Q,keybinding:[{primary:16,weight:199}]})}run(e){let t=e.get(p.$).getFocusedCodeEditor();if(!t)return;let i=en.get(t);i&&i.focusPreviousRenameSuggestion()}}),(0,c.sb)("_executeDocumentRenameProvider",function(e,t,i,...n){let[s]=n;(0,h.p_)("string"==typeof s);let{renameProvider:o}=e.get(b.p);return ei(o,t,i,s)}),(0,c.sb)("_executePrepareRename",async function(e,t,i){let{renameProvider:n}=e.get(b.p),s=new et(t,i,n),o=await s.resolveRenameLocation(r.Ts.None);if(null==o?void 0:o.rejectReason)throw Error(o.rejectReason);return o}),T.B.as(k.IP.Configuration).registerConfiguration({id:"editor",properties:{"editor.rename.enablePreview":{scope:5,description:S.NC("enablePreview","Enable/disable the ability to preview changes before renaming"),default:!0,type:"boolean"}}})},28763:function(e,t,i){"use strict";var n=i(15393),s=i(5976),o=i(16830),r=i(4256),l=i(84901),a=i(85215),d=function(e,t){return function(i,n){t(i,n,e)}};let h=class extends s.JT{constructor(e,t,i){super(),this.editor=e,this.languageConfigurationService=t,this.editorWorkerService=i,this.decorations=this.editor.createDecorationsCollection(),this.options=this.createOptions(e.getOption(73)),this.computePromise=null,this.currentOccurrences={},this._register(e.onDidChangeModel(t=>{this.currentOccurrences={},this.options=this.createOptions(e.getOption(73)),this.stop(),this.computeSectionHeaders.schedule(0)})),this._register(e.onDidChangeModelLanguage(t=>{this.currentOccurrences={},this.options=this.createOptions(e.getOption(73)),this.stop(),this.computeSectionHeaders.schedule(0)})),this._register(t.onDidChange(t=>{var i;let n=null===(i=this.editor.getModel())||void 0===i?void 0:i.getLanguageId();n&&t.affects(n)&&(this.currentOccurrences={},this.options=this.createOptions(e.getOption(73)),this.stop(),this.computeSectionHeaders.schedule(0))})),this._register(e.onDidChangeConfiguration(t=>{(!this.options||t.hasChanged(73))&&(this.options=this.createOptions(e.getOption(73)),this.updateDecorations([]),this.stop(),this.computeSectionHeaders.schedule(0))})),this._register(this.editor.onDidChangeModelContent(e=>{this.computeSectionHeaders.schedule()})),this._register(e.onDidChangeModelTokens(e=>{this.computeSectionHeaders.isScheduled()||this.computeSectionHeaders.schedule(1e3)})),this.computeSectionHeaders=this._register(new n.pY(()=>{this.findSectionHeaders()},250)),this.computeSectionHeaders.schedule(0)}createOptions(e){if(!e||!this.editor.hasModel())return;let t=this.editor.getModel().getLanguageId();if(!t)return;let i=this.languageConfigurationService.getLanguageConfiguration(t).comments,n=this.languageConfigurationService.getLanguageConfiguration(t).foldingRules;if(i||(null==n?void 0:n.markers))return{foldingRules:n,findMarkSectionHeaders:e.showMarkSectionHeaders,findRegionSectionHeaders:e.showRegionSectionHeaders}}findSectionHeaders(){var e,t;if(!this.editor.hasModel()||!(null===(e=this.options)||void 0===e?void 0:e.findMarkSectionHeaders)&&!(null===(t=this.options)||void 0===t?void 0:t.findRegionSectionHeaders))return;let i=this.editor.getModel();if(i.isDisposed()||i.isTooLargeForSyncing())return;let n=i.getVersionId();this.editorWorkerService.findSectionHeaders(i.uri,this.options).then(e=>{i.isDisposed()||i.getVersionId()!==n||this.updateDecorations(e)})}updateDecorations(e){let t=this.editor.getModel();t&&(e=e.filter(e=>{if(!e.shouldBeInComments)return!0;let i=t.validateRange(e.range),n=t.tokenization.getLineTokens(i.startLineNumber),s=n.findTokenIndexAtOffset(i.startColumn-1),o=n.getStandardTokenType(s),r=n.getLanguageId(s);return r===t.getLanguageId()&&1===o}));let i=Object.values(this.currentOccurrences).map(e=>e.decorationId),n=e.map(e=>({range:e.range,options:l.qx.createDynamic({description:"section-header",stickiness:3,collapseOnReplaceEdit:!0,minimap:{color:void 0,position:1,sectionHeaderStyle:e.hasSeparatorLine?2:1,sectionHeaderText:e.text}})}));this.editor.changeDecorations(t=>{let s=t.deltaDecorations(i,n);this.currentOccurrences={};for(let t=0,i=s.length;t=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([d(1,r.c_),d(2,a.p)],h),(0,o._K)(h.ID,h,1)},61168:function(e,t,i){"use strict";var n,s=i(5976),o=i(17301),r=i(73733),l=i(33108),a=i(15393),d=i(71050),h=i(97781),u=i(68997),c=i(40018),g=i(88191),p=i(84013),m=i(71922),f=i(73343),_=i(10637),v=i(44408),b=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},C=function(e,t){return function(i,n){t(i,n,e)}};let w=class extends s.JT{constructor(e,t,i,n,s,o){super(),this._watchers=Object.create(null);let r=t=>{this._watchers[t.uri.toString()]=new y(t,e,i,s,o)},l=(e,t)=>{t.dispose(),delete this._watchers[e.uri.toString()]},a=()=>{for(let e of t.getModels()){let t=this._watchers[e.uri.toString()];(0,v.t)(e,i,n)?t||r(e):t&&l(e,t)}};t.getModels().forEach(e=>{(0,v.t)(e,i,n)&&r(e)}),this._register(t.onModelAdded(e=>{(0,v.t)(e,i,n)&&r(e)})),this._register(t.onModelRemoved(e=>{let t=this._watchers[e.uri.toString()];t&&l(e,t)})),this._register(n.onDidChangeConfiguration(e=>{e.affectsConfiguration(v.e)&&a()})),this._register(i.onDidColorThemeChange(a))}dispose(){for(let e of Object.values(this._watchers))e.dispose();super.dispose()}};w=b([C(0,f.s),C(1,r.q),C(2,h.XE),C(3,l.Ui),C(4,g.A),C(5,m.p)],w);let y=n=class extends s.JT{constructor(e,t,i,o,r){super(),this._semanticTokensStylingService=t,this._isDisposed=!1,this._model=e,this._provider=r.documentSemanticTokensProvider,this._debounceInformation=o.for(this._provider,"DocumentSemanticTokens",{min:n.REQUEST_MIN_DELAY,max:n.REQUEST_MAX_DELAY}),this._fetchDocumentSemanticTokens=this._register(new a.pY(()=>this._fetchDocumentSemanticTokensNow(),n.REQUEST_MIN_DELAY)),this._currentDocumentResponse=null,this._currentDocumentRequestCancellationTokenSource=null,this._documentProvidersChangeListeners=[],this._providersChangedDuringRequest=!1,this._register(this._model.onDidChangeContent(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(this._model.onDidChangeAttached(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(this._model.onDidChangeLanguage(()=>{this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(0)}));let l=()=>{for(let t of((0,s.B9)(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[],this._provider.all(e)))"function"==typeof t.onDidChange&&this._documentProvidersChangeListeners.push(t.onDidChange(()=>{if(this._currentDocumentRequestCancellationTokenSource){this._providersChangedDuringRequest=!0;return}this._fetchDocumentSemanticTokens.schedule(0)}))};l(),this._register(this._provider.onDidChange(()=>{l(),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(i.onDidColorThemeChange(e=>{this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._fetchDocumentSemanticTokens.schedule(0)}dispose(){this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),(0,s.B9)(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[],this._setDocumentSemanticTokens(null,null,null,[]),this._isDisposed=!0,super.dispose()}_fetchDocumentSemanticTokensNow(){if(this._currentDocumentRequestCancellationTokenSource)return;if(!(0,c.Jc)(this._provider,this._model)){this._currentDocumentResponse&&this._model.tokenization.setSemanticTokens(null,!1);return}if(!this._model.isAttachedToEditor())return;let e=new d.AU,t=this._currentDocumentResponse?this._currentDocumentResponse.provider:null,i=this._currentDocumentResponse&&this._currentDocumentResponse.resultId||null,n=(0,c.ML)(this._provider,this._model,t,i,e.token);this._currentDocumentRequestCancellationTokenSource=e,this._providersChangedDuringRequest=!1;let s=[],r=this._model.onDidChangeContent(e=>{s.push(e)}),l=new p.G(!1);n.then(e=>{if(this._debounceInformation.update(this._model,l.elapsed()),this._currentDocumentRequestCancellationTokenSource=null,r.dispose(),e){let{provider:t,tokens:i}=e,n=this._semanticTokensStylingService.getStyling(t);this._setDocumentSemanticTokens(t,i||null,n,s)}else this._setDocumentSemanticTokens(null,null,null,s)},e=>{let t=e&&(o.n2(e)||"string"==typeof e.message&&-1!==e.message.indexOf("busy"));t||o.dL(e),this._currentDocumentRequestCancellationTokenSource=null,r.dispose(),(s.length>0||this._providersChangedDuringRequest)&&!this._fetchDocumentSemanticTokens.isScheduled()&&this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})}static _copy(e,t,i,n,s){s=Math.min(s,i.length-n,e.length-t);for(let o=0;o{(s.length>0||this._providersChangedDuringRequest)&&!this._fetchDocumentSemanticTokens.isScheduled()&&this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))};if(this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._isDisposed){e&&t&&e.releaseDocumentSemanticTokens(t.resultId);return}if(!e||!i){this._model.tokenization.setSemanticTokens(null,!1);return}if(!t){this._model.tokenization.setSemanticTokens(null,!0),r();return}if((0,c.Vj)(t)){if(!o){this._model.tokenization.setSemanticTokens(null,!0);return}if(0===t.edits.length)t={resultId:t.resultId,data:o.data};else{let e=0;for(let i of t.edits)e+=(i.data?i.data.length:0)-i.deleteCount;let s=o.data,r=new Uint32Array(s.length+e),l=s.length,a=r.length;for(let e=t.edits.length-1;e>=0;e--){let d=t.edits[e];if(d.start>s.length){i.warnInvalidEditStart(o.resultId,t.resultId,e,d.start,s.length),this._model.tokenization.setSemanticTokens(null,!0);return}let h=l-(d.start+d.deleteCount);h>0&&(n._copy(s,l-h,r,a-h,h),a-=h),d.data&&(n._copy(d.data,0,r,a-d.data.length,d.data.length),a-=d.data.length),l=d.start}l>0&&n._copy(s,0,r,0,l),t={resultId:t.resultId,data:r}}}if((0,c.Vl)(t)){this._currentDocumentResponse=new S(e,t.resultId,t.data);let n=(0,u.h)(t,i,this._model.getLanguageId());if(s.length>0)for(let e of s)for(let t of n)for(let i of e.changes)t.applyEdit(i.range,i.text);this._model.tokenization.setSemanticTokens(n,!0)}else this._model.tokenization.setSemanticTokens(null,!0);r()}};y.REQUEST_MIN_DELAY=300,y.REQUEST_MAX_DELAY=2e3,y=n=b([C(1,f.s),C(2,h.XE),C(3,g.A),C(4,m.p)],y);class S{constructor(e,t,i){this.provider=e,this.resultId=t,this.data=i}dispose(){this.provider.releaseDocumentSemanticTokens(this.resultId)}}(0,_.y)(w)},89995:function(e,t,i){"use strict";var n=i(15393),s=i(5976),o=i(16830),r=i(40018),l=i(44408),a=i(68997),d=i(33108),h=i(97781),u=i(88191),c=i(84013),g=i(71922),p=i(73343),m=function(e,t){return function(i,n){t(i,n,e)}};let f=class extends s.JT{constructor(e,t,i,s,o,r){super(),this._semanticTokensStylingService=t,this._themeService=i,this._configurationService=s,this._editor=e,this._provider=r.documentRangeSemanticTokensProvider,this._debounceInformation=o.for(this._provider,"DocumentRangeSemanticTokens",{min:100,max:500}),this._tokenizeViewport=this._register(new n.pY(()=>this._tokenizeViewportNow(),100)),this._outstandingRequests=[];let a=()=>{this._editor.hasModel()&&this._tokenizeViewport.schedule(this._debounceInformation.get(this._editor.getModel()))};this._register(this._editor.onDidScrollChange(()=>{a()})),this._register(this._editor.onDidChangeModel(()=>{this._cancelAll(),a()})),this._register(this._editor.onDidChangeModelContent(e=>{this._cancelAll(),a()})),this._register(this._provider.onDidChange(()=>{this._cancelAll(),a()})),this._register(this._configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(l.e)&&(this._cancelAll(),a())})),this._register(this._themeService.onDidColorThemeChange(()=>{this._cancelAll(),a()})),a()}_cancelAll(){for(let e of this._outstandingRequests)e.cancel();this._outstandingRequests=[]}_removeOutstandingRequest(e){for(let t=0,i=this._outstandingRequests.length;tthis._requestRange(e,t)))}_requestRange(e,t){let i=e.getVersionId(),s=(0,n.PG)(i=>Promise.resolve((0,r.OG)(this._provider,e,t,i))),o=new c.G(!1);return s.then(n=>{if(this._debounceInformation.update(e,o.elapsed()),!n||!n.tokens||e.isDisposed()||e.getVersionId()!==i)return;let{provider:s,tokens:r}=n,l=this._semanticTokensStylingService.getStyling(s);e.tokenization.setPartialSemanticTokens(t,(0,a.h)(r,l,e.getLanguageId()))}).then(()=>this._removeOutstandingRequest(s),()=>this._removeOutstandingRequest(s)),s}};f.ID="editor.contrib.viewportSemanticTokens",f=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([m(1,p.s),m(2,h.XE),m(3,d.Ui),m(4,u.A),m(5,g.p)],f),(0,o._K)(f.ID,f,1)},40018:function(e,t,i){"use strict";i.d(t,{OG:function(){return y},ML:function(){return v},KO:function(){return C},Jc:function(){return _},Vl:function(){return p},Vj:function(){return m}});var n=i(71050),s=i(17301),o=i(70666),r=i(73733),l=i(94565),a=i(98401),d=i(53060),h=i(1432);function u(e){let t=new Uint32Array(function(e){let t;if(t=2,"full"===e.type)t+=1+e.data.length;else for(let i of(t+=1+3*e.deltas.length,e.deltas))i.data&&(t+=i.data.length);return t}(e)),i=0;if(t[i++]=e.id,"full"===e.type)t[i++]=1,t[i++]=e.data.length,t.set(e.data,i),i+=e.data.length;else for(let n of(t[i++]=2,t[i++]=e.deltas.length,e.deltas))t[i++]=n.start,t[i++]=n.deleteCount,n.data?(t[i++]=n.data.length,t.set(n.data,i),i+=n.data.length):t[i++]=0;return function(e){let t=new Uint8Array(e.buffer,e.byteOffset,4*e.length);return h.r()||function(e){for(let t=0,i=e.length;t0?i[0]:[]}(e,t),r=await Promise.all(o.map(async e=>{let o;let r=null;try{o=await e.provideDocumentSemanticTokens(t,e===i?n:null,s)}catch(e){r=e,o=null}return o&&(p(o)||m(o))||(o=null),new f(e,o,r)}));for(let e of r){if(e.error)throw e.error;if(e.tokens)return e}return r.length>0?r[0]:null}class b{constructor(e,t){this.provider=e,this.tokens=t}}function C(e,t){return e.has(t)}function w(e,t){let i=e.orderedGroups(t);return i.length>0?i[0]:[]}async function y(e,t,i,n){let o=w(e,t),r=await Promise.all(o.map(async e=>{let o;try{o=await e.provideDocumentRangeSemanticTokens(t,i,n)}catch(e){(0,s.Cp)(e),o=null}return o&&p(o)||(o=null),new b(e,o)}));for(let e of r)if(e.tokens)return e;return r.length>0?r[0]:null}l.P.registerCommand("_provideDocumentSemanticTokensLegend",async(e,...t)=>{let[i]=t;(0,a.p_)(i instanceof o.o);let n=e.get(r.q).getModel(i);if(!n)return;let{documentSemanticTokensProvider:s}=e.get(g.p),d=function(e,t){let i=e.orderedGroups(t);return i.length>0?i[0]:null}(s,n);return d?d[0].getLegend():e.get(l.H).executeCommand("_provideDocumentRangeSemanticTokensLegend",i)}),l.P.registerCommand("_provideDocumentSemanticTokens",async(e,...t)=>{let[i]=t;(0,a.p_)(i instanceof o.o);let s=e.get(r.q).getModel(i);if(!s)return;let{documentSemanticTokensProvider:d}=e.get(g.p);if(!_(d,s))return e.get(l.H).executeCommand("_provideDocumentRangeSemanticTokens",i,s.getFullModelRange());let h=await v(d,s,null,null,n.Ts.None);if(!h)return;let{provider:c,tokens:m}=h;if(!m||!p(m))return;let f=u({id:0,type:"full",data:m.data});return m.resultId&&c.releaseDocumentSemanticTokens(m.resultId),f}),l.P.registerCommand("_provideDocumentRangeSemanticTokensLegend",async(e,...t)=>{let[i,s]=t;(0,a.p_)(i instanceof o.o);let l=e.get(r.q).getModel(i);if(!l)return;let{documentRangeSemanticTokensProvider:d}=e.get(g.p),h=w(d,l);if(0===h.length)return;if(1===h.length)return h[0].getLegend();if(!s||!c.e.isIRange(s))return console.warn("provideDocumentRangeSemanticTokensLegend might be out-of-sync with provideDocumentRangeSemanticTokens unless a range argument is passed in"),h[0].getLegend();let u=await y(d,l,c.e.lift(s),n.Ts.None);if(u)return u.provider.getLegend()}),l.P.registerCommand("_provideDocumentRangeSemanticTokens",async(e,...t)=>{let[i,s]=t;(0,a.p_)(i instanceof o.o),(0,a.p_)(c.e.isIRange(s));let l=e.get(r.q).getModel(i);if(!l)return;let{documentRangeSemanticTokensProvider:d}=e.get(g.p),h=await y(d,l,c.e.lift(s),n.Ts.None);if(h&&h.tokens)return u({id:0,type:"full",data:h.tokens.data})})},44408:function(e,t,i){"use strict";i.d(t,{e:function(){return n},t:function(){return s}});let n="editor.semanticHighlighting";function s(e,t,i){var s;let o=null===(s=i.getValue(n,{overrideIdentifier:e.getLanguageId(),resource:e.uri}))||void 0===s?void 0:s.enabled;return"boolean"==typeof o?o:t.getColorTheme().semanticHighlighting}},79694:function(e,t,i){"use strict";i.d(t,{x:function(){return r}});var n=i(91741),s=i(50187),o=i(24314);class r{async provideSelectionRanges(e,t){let i=[];for(let n of t){let t=[];i.push(t);let s=new Map;await new Promise(t=>r._bracketsRightYield(t,0,e,n,s)),await new Promise(i=>r._bracketsLeftYield(i,0,e,n,s,t))}return i}static _bracketsRightYield(e,t,i,s,o){let l=new Map,a=Date.now();for(;;){if(t>=r._maxRounds||!s){e();break}let d=i.bracketPairs.findNextBracket(s);if(!d){e();break}let h=Date.now()-a;if(h>r._maxDuration){setTimeout(()=>r._bracketsRightYield(e,t+1,i,s,o));break}if(d.bracketInfo.isOpeningBracket){let e=d.bracketInfo.bracketText,t=l.has(e)?l.get(e):0;l.set(e,t+1)}else{let e=d.bracketInfo.getOpeningBrackets()[0].bracketText,t=l.has(e)?l.get(e):0;if(t-=1,l.set(e,Math.max(0,t)),t<0){let t=o.get(e);t||(t=new n.S,o.set(e,t)),t.push(d.range)}}s=d.range.getEndPosition()}}static _bracketsLeftYield(e,t,i,n,s,l){let a=new Map,d=Date.now();for(;;){if(t>=r._maxRounds&&0===s.size||!n){e();break}let h=i.bracketPairs.findPrevBracket(n);if(!h){e();break}let u=Date.now()-d;if(u>r._maxDuration){setTimeout(()=>r._bracketsLeftYield(e,t+1,i,n,s,l));break}if(h.bracketInfo.isOpeningBracket){let e=h.bracketInfo.bracketText,t=a.has(e)?a.get(e):0;if(t-=1,a.set(e,Math.max(0,t)),t<0){let t=s.get(e);if(t){let n=t.shift();0===t.size&&s.delete(e);let a=o.e.fromPositions(h.range.getEndPosition(),n.getStartPosition()),d=o.e.fromPositions(h.range.getStartPosition(),n.getEndPosition());l.push({range:a}),l.push({range:d}),r._addBracketLeading(i,d,l)}}}else{let e=h.bracketInfo.getOpeningBrackets()[0].bracketText,t=a.has(e)?a.get(e):0;a.set(e,t+1)}n=h.range.getStartPosition()}}static _addBracketLeading(e,t,i){if(t.startLineNumber===t.endLineNumber)return;let n=t.startLineNumber,r=e.getLineFirstNonWhitespaceColumn(n);0!==r&&r!==t.startColumn&&(i.push({range:o.e.fromPositions(new s.L(n,r),t.getEndPosition())}),i.push({range:o.e.fromPositions(new s.L(n,1),t.getEndPosition())}));let l=n-1;if(l>0){let n=e.getLineFirstNonWhitespaceColumn(l);n===t.startColumn&&n!==e.getLineLastNonWhitespaceColumn(l)&&(i.push({range:o.e.fromPositions(new s.L(l,n),t.getEndPosition())}),i.push({range:o.e.fromPositions(new s.L(l,1),t.getEndPosition())}))}}}r._maxDuration=30,r._maxRounds=2},47721:function(e,t,i){"use strict";var n,s,o=i(9488),r=i(71050),l=i(17301),a=i(16830),d=i(50187),h=i(24314),u=i(3860),c=i(29102),g=i(79694),p=i(97295);class m{constructor(e=!0){this.selectSubwords=e}provideSelectionRanges(e,t){let i=[];for(let n of t){let t=[];i.push(t),this.selectSubwords&&this._addInWordRanges(t,e,n),this._addWordRanges(t,e,n),this._addWhitespaceLine(t,e,n),t.push({range:e.getFullModelRange()})}return i}_addInWordRanges(e,t,i){let n=t.getWordAtPosition(i);if(!n)return;let{word:s,startColumn:o}=n,r=i.column-o,l=r,a=r,d=0;for(;l>=0;l--){let e=s.charCodeAt(l);if(l!==r&&(95===e||45===e)||(0,p.mK)(e)&&(0,p.df)(d))break;d=e}for(l+=1;a0&&0===t.getLineFirstNonWhitespaceColumn(i.lineNumber)&&0===t.getLineLastNonWhitespaceColumn(i.lineNumber)&&e.push({range:new h.e(i.lineNumber,1,i.lineNumber,t.getLineMaxColumn(i.lineNumber))})}}var f=i(63580),_=i(84144),v=i(94565),b=i(71922),C=i(88216),w=i(98401),y=i(70666);class S{constructor(e,t){this.index=e,this.ranges=t}mov(e){let t=this.index+(e?1:-1);if(t<0||t>=this.ranges.length)return this;let i=new S(t,this.ranges);return i.ranges[t].equalsRange(this.ranges[this.index])?i.mov(e):i}}let L=s=class{static get(e){return e.getContribution(s.ID)}constructor(e,t){this._editor=e,this._languageFeaturesService=t,this._ignoreSelection=!1}dispose(){var e;null===(e=this._selectionListener)||void 0===e||e.dispose()}async run(e){if(!this._editor.hasModel())return;let t=this._editor.getSelections(),i=this._editor.getModel();if(this._state||await D(this._languageFeaturesService.selectionRangeProvider,i,t.map(e=>e.getPosition()),this._editor.getOption(113),r.Ts.None).then(e=>{var i;if(o.Of(e)&&e.length===t.length&&this._editor.hasModel()&&o.fS(this._editor.getSelections(),t,(e,t)=>e.equalsSelection(t))){for(let i=0;ie.containsPosition(t[i].getStartPosition())&&e.containsPosition(t[i].getEndPosition())),e[i].unshift(t[i]);this._state=e.map(e=>new S(0,e)),null===(i=this._selectionListener)||void 0===i||i.dispose(),this._selectionListener=this._editor.onDidChangeCursorPosition(()=>{var e;this._ignoreSelection||(null===(e=this._selectionListener)||void 0===e||e.dispose(),this._state=void 0)})}}),!this._state)return;this._state=this._state.map(t=>t.mov(e));let n=this._state.map(e=>u.Y.fromPositions(e.ranges[e.index].getStartPosition(),e.ranges[e.index].getEndPosition()));this._ignoreSelection=!0;try{this._editor.setSelections(n)}finally{this._ignoreSelection=!1}}};L.ID="editor.contrib.smartSelectController",L=s=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=b.p,function(e,t){n(e,t,1)})],L);class k extends a.R6{constructor(e,t){super(t),this._forward=e}async run(e,t){let i=L.get(t);i&&await i.run(this._forward)}}async function D(e,t,i,n,s){let r=e.all(t).concat(new m(n.selectSubwords));1===r.length&&r.unshift(new g.x);let a=[],u=[];for(let e of r)a.push(Promise.resolve(e.provideSelectionRanges(t,i,s)).then(e=>{if(o.Of(e)&&e.length===i.length)for(let t=0;t{let i;if(0===e.length)return[];e.sort((e,t)=>d.L.isBefore(e.getStartPosition(),t.getStartPosition())?1:d.L.isBefore(t.getStartPosition(),e.getStartPosition())?-1:d.L.isBefore(e.getEndPosition(),t.getEndPosition())?-1:d.L.isBefore(t.getEndPosition(),e.getEndPosition())?1:0);let s=[];for(let t of e)(!i||h.e.containsRange(t,i)&&!h.e.equalsRange(t,i))&&(s.push(t),i=t);if(!n.selectLeadingAndTrailingWhitespace)return s;let o=[s[0]];for(let e=1;e")}}_doInsert(e,t){var i;if(this._editor.hasModel()){if(this._snippetListener.clear(),t.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session&&"string"!=typeof e&&this.cancel(),this._session?((0,o.p_)("string"==typeof e),this._session.merge(e,t)):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new m.l(this._editor,e,t,this._languageConfigurationService),this._session.insert()),t.undoStopAfter&&this._editor.getModel().pushStackElement(),null===(i=this._session)||void 0===i?void 0:i.hasChoice){let e;let t={_debugDisplayName:"snippetChoiceCompletions",provideCompletionItems:(e,t)=>{if(!this._session||e!==this._editor.getModel()||!l.L.equals(this._editor.getPosition(),t))return;let{activeChoice:i}=this._session;if(!i||0===i.choice.options.length)return;let n=e.getValueInRange(i.range),s=!!i.choice.options.find(e=>e.value===n),o=[];for(let e=0;e{n||(e=this._languageFeaturesService.completionProvider.register({language:i.getLanguageId(),pattern:i.uri.fsPath,scheme:i.uri.scheme,exclusive:!0},t),this._snippetListener.add(e),n=!0)},disable:()=>{null==e||e.dispose(),n=!1}}}this._updateState(),this._snippetListener.add(this._editor.onDidChangeModelContent(e=>e.isFlush&&this.cancel())),this._snippetListener.add(this._editor.onDidChangeModel(()=>this.cancel())),this._snippetListener.add(this._editor.onDidChangeCursorSelection(()=>this._updateState()))}}_updateState(){return this._session&&this._editor.hasModel()?this._modelVersionId!==this._editor.getModel().getAlternativeVersionId()&&this._session.hasPlaceholder?this._session.isAtLastPlaceholder||!this._session.isSelectionWithinPlaceholders()?(this._editor.getModel().pushStackElement(),this.cancel()):void(this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),this._handleChoice()):this.cancel():void 0}_handleChoice(){var e;if(!this._session||!this._editor.hasModel()){this._currentChoice=void 0;return}let{activeChoice:t}=this._session;if(!t||!this._choiceCompletions){null===(e=this._choiceCompletions)||void 0===e||e.disable(),this._currentChoice=void 0;return}this._currentChoice!==t.choice&&(this._currentChoice=t.choice,this._choiceCompletions.enable(),queueMicrotask(()=>{(0,u.i5)(this._editor,this._choiceCompletions.provider)}))}finish(){for(;this._inSnippet.get();)this.next()}cancel(e=!1){var t;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),this._currentChoice=void 0,null===(t=this._session)||void 0===t||t.dispose(),this._session=void 0,this._modelVersionId=-1,e&&this._editor.setSelections([this._editor.getSelection()])}prev(){var e;null===(e=this._session)||void 0===e||e.prev(),this._updateState()}next(){var e;null===(e=this._session)||void 0===e||e.next(),this._updateState()}isInSnippet(){return!!this._inSnippet.get()}};v.ID="snippetController2",v.InSnippetMode=new g.uy("inSnippetMode",!1,(0,c.NC)("inSnippetMode","Whether the editor in current in snippet mode")),v.HasNextTabstop=new g.uy("hasNextTabstop",!1,(0,c.NC)("hasNextTabstop","Whether there is a next tab stop when in snippet mode")),v.HasPrevTabstop=new g.uy("hasPrevTabstop",!1,(0,c.NC)("hasPrevTabstop","Whether there is a previous tab stop when in snippet mode")),v=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([f(1,p.VZ),f(2,h.p),f(3,g.i6),f(4,d.c_)],v),(0,r._K)(v.ID,v,4);let b=r._l.bindToContribution(v.get);(0,r.fK)(new b({id:"jumpToNextSnippetPlaceholder",precondition:g.Ao.and(v.InSnippetMode,v.HasNextTabstop),handler:e=>e.next(),kbOpts:{weight:130,kbExpr:a.u.textInputFocus,primary:2}})),(0,r.fK)(new b({id:"jumpToPrevSnippetPlaceholder",precondition:g.Ao.and(v.InSnippetMode,v.HasPrevTabstop),handler:e=>e.prev(),kbOpts:{weight:130,kbExpr:a.u.textInputFocus,primary:1026}})),(0,r.fK)(new b({id:"leaveSnippet",precondition:v.InSnippetMode,handler:e=>e.cancel(!0),kbOpts:{weight:130,kbExpr:a.u.textInputFocus,primary:9,secondary:[1033]}})),(0,r.fK)(new b({id:"acceptSnippet",precondition:v.InSnippetMode,handler:e=>e.finish()}))},35084:function(e,t,i){"use strict";i.d(t,{Lv:function(){return a},Vm:function(){return l},Yj:function(){return p},xv:function(){return o},y1:function(){return g}});class n{constructor(){this.value="",this.pos=0}static isDigitCharacter(e){return e>=48&&e<=57}static isVariableCharacter(e){return 95===e||e>=97&&e<=122||e>=65&&e<=90}text(e){this.value=e,this.pos=0}tokenText(e){return this.value.substr(e.pos,e.len)}next(){let e;if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};let t=this.pos,i=0,s=this.value.charCodeAt(t);if("number"==typeof(e=n._table[s]))return this.pos+=1,{type:e,pos:t,len:1};if(n.isDigitCharacter(s)){e=8;do i+=1,s=this.value.charCodeAt(t+i);while(n.isDigitCharacter(s));return this.pos+=i,{type:e,pos:t,len:i}}if(n.isVariableCharacter(s)){e=9;do s=this.value.charCodeAt(t+ ++i);while(n.isVariableCharacter(s)||n.isDigitCharacter(s));return this.pos+=i,{type:e,pos:t,len:i}}e=10;do i+=1,s=this.value.charCodeAt(t+i);while(!isNaN(s)&&void 0===n._table[s]&&!n.isDigitCharacter(s)&&!n.isVariableCharacter(s));return this.pos+=i,{type:e,pos:t,len:i}}}n._table={36:0,58:1,44:2,123:3,125:4,92:5,47:6,124:7,43:11,45:12,63:13};class s{constructor(){this._children=[]}appendChild(e){return e instanceof o&&this._children[this._children.length-1]instanceof o?this._children[this._children.length-1].value+=e.value:(e.parent=this,this._children.push(e)),this}replace(e,t){let{parent:i}=e,n=i.children.indexOf(e),s=i.children.slice(0);s.splice(n,1,...t),i._children=s,function e(t,i){for(let n of t)n.parent=i,e(n.children,n)}(t,i)}get children(){return this._children}get rightMostDescendant(){return this._children.length>0?this._children[this._children.length-1].rightMostDescendant:this}get snippet(){let e=this;for(;;){if(!e)return;if(e instanceof g)return e;e=e.parent}}toString(){return this.children.reduce((e,t)=>e+t.toString(),"")}len(){return 0}}class o extends s{constructor(e){super(),this.value=e}toString(){return this.value}len(){return this.value.length}clone(){return new o(this.value)}}class r extends s{}class l extends r{static compareByIndex(e,t){return e.index===t.index?0:e.isFinalTabstop?1:t.isFinalTabstop||e.indext.index?1:0}constructor(e){super(),this.index=e}get isFinalTabstop(){return 0===this.index}get choice(){return 1===this._children.length&&this._children[0]instanceof a?this._children[0]:void 0}clone(){let e=new l(this.index);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(e=>e.clone()),e}}class a extends s{constructor(){super(...arguments),this.options=[]}appendChild(e){return e instanceof o&&(e.parent=this,this.options.push(e)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){let e=new a;return this.options.forEach(e.appendChild,e),e}}class d extends s{constructor(){super(...arguments),this.regexp=RegExp("")}resolve(e){let t=this,i=!1,n=e.replace(this.regexp,function(){return i=!0,t._replace(Array.prototype.slice.call(arguments,0,-2))});return!i&&this._children.some(e=>e instanceof h&&!!e.elseValue)&&(n=this._replace([])),n}_replace(e){let t="";for(let i of this._children)if(i instanceof h){let n=e[i.index]||"";t+=n=i.resolve(n)}else t+=i.toString();return t}toString(){return""}clone(){let e=new d;return e.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),e._children=this.children.map(e=>e.clone()),e}}class h extends s{constructor(e,t,i,n){super(),this.index=e,this.shorthandName=t,this.ifValue=i,this.elseValue=n}resolve(e){if("upcase"===this.shorthandName)return e?e.toLocaleUpperCase():"";if("downcase"===this.shorthandName)return e?e.toLocaleLowerCase():"";if("capitalize"===this.shorthandName)return e?e[0].toLocaleUpperCase()+e.substr(1):"";if("pascalcase"===this.shorthandName)return e?this._toPascalCase(e):"";if("camelcase"===this.shorthandName)return e?this._toCamelCase(e):"";if(e&&"string"==typeof this.ifValue)return this.ifValue;if(!e&&"string"==typeof this.elseValue)return this.elseValue;else return e||""}_toPascalCase(e){let t=e.match(/[a-z0-9]+/gi);return t?t.map(e=>e.charAt(0).toUpperCase()+e.substr(1)).join(""):e}_toCamelCase(e){let t=e.match(/[a-z0-9]+/gi);return t?t.map((e,t)=>0===t?e.charAt(0).toLowerCase()+e.substr(1):e.charAt(0).toUpperCase()+e.substr(1)).join(""):e}clone(){let e=new h(this.index,this.shorthandName,this.ifValue,this.elseValue);return e}}class u extends r{constructor(e){super(),this.name=e}resolve(e){let t=e.resolve(this);return this.transform&&(t=this.transform.resolve(t||"")),void 0!==t&&(this._children=[new o(t)],!0)}clone(){let e=new u(this.name);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(e=>e.clone()),e}}function c(e,t){let i=[...e];for(;i.length>0;){let e=i.shift(),n=t(e);if(!n)break;i.unshift(...e.children)}}class g extends s{get placeholderInfo(){if(!this._placeholders){let e;let t=[];this.walk(function(i){return i instanceof l&&(t.push(i),e=!e||e.indexn===e?(i=!0,!1):(t+=n.len(),!0)),i)?t:-1}fullLen(e){let t=0;return c([e],e=>(t+=e.len(),!0)),t}enclosingPlaceholders(e){let t=[],{parent:i}=e;for(;i;)i instanceof l&&t.push(i),i=i.parent;return t}resolveVariables(e){return this.walk(t=>(t instanceof u&&t.resolve(e)&&(this._placeholders=void 0),!0)),this}appendChild(e){return this._placeholders=void 0,super.appendChild(e)}replace(e,t){return this._placeholders=void 0,super.replace(e,t)}clone(){let e=new g;return this._children=this.children.map(e=>e.clone()),e}walk(e){c(this.children,e)}}class p{constructor(){this._scanner=new n,this._token={type:14,pos:0,len:0}}static escape(e){return e.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(e){return/\${?CLIPBOARD/.test(e)}parse(e,t,i){let n=new g;return this.parseFragment(e,n),this.ensureFinalTabstop(n,null!=i&&i,null!=t&&t),n}parseFragment(e,t){let i=t.children.length;for(this._scanner.text(e),this._token=this._scanner.next();this._parse(t););let n=new Map,s=[];t.walk(e=>(e instanceof l&&(e.isFinalTabstop?n.set(0,void 0):!n.has(e.index)&&e.children.length>0?n.set(e.index,e.children):s.push(e)),!0));let o=(e,i)=>{let s=n.get(e.index);if(!s)return;let r=new l(e.index);for(let t of(r.transform=e.transform,s)){let e=t.clone();r.appendChild(e),e instanceof l&&n.has(e.index)&&!i.has(e.index)&&(i.add(e.index),o(e,i),i.delete(e.index))}t.replace(e,[r])},r=new Set;for(let e of s)o(e,r);return t.children.slice(i)}ensureFinalTabstop(e,t,i){if(t||i&&e.placeholders.length>0){let t=e.placeholders.find(e=>0===e.index);t||e.appendChild(new l(0))}}_accept(e,t){if(void 0===e||this._token.type===e){let e=!t||this._scanner.tokenText(this._token);return this._token=this._scanner.next(),e}return!1}_backTo(e){return this._scanner.pos=e.pos+e.len,this._token=e,!1}_until(e){let t=this._token;for(;this._token.type!==e;){if(14===this._token.type)return!1;if(5===this._token.type){let e=this._scanner.next();if(0!==e.type&&4!==e.type&&5!==e.type)return!1}this._token=this._scanner.next()}let i=this._scanner.value.substring(t.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),i}_parse(e){return this._parseEscaped(e)||this._parseTabstopOrVariableName(e)||this._parseComplexPlaceholder(e)||this._parseComplexVariable(e)||this._parseAnything(e)}_parseEscaped(e){let t;return!!(t=this._accept(5,!0))&&(t=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||t,e.appendChild(new o(t)),!0)}_parseTabstopOrVariableName(e){let t;let i=this._token,n=this._accept(0)&&(t=this._accept(9,!0)||this._accept(8,!0));return n?(e.appendChild(/^\d+$/.test(t)?new l(Number(t)):new u(t)),!0):this._backTo(i)}_parseComplexPlaceholder(e){let t;let i=this._token,n=this._accept(0)&&this._accept(3)&&(t=this._accept(8,!0));if(!n)return this._backTo(i);let s=new l(Number(t));if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(s),!0;if(!this._parse(s))return e.appendChild(new o("${"+t+":")),s.children.forEach(e.appendChild,e),!0}else if(s.index>0&&this._accept(7)){let t=new a;for(;;){if(this._parseChoiceElement(t)){if(this._accept(2))continue;if(this._accept(7)&&(s.appendChild(t),this._accept(4)))return e.appendChild(s),!0}return this._backTo(i),!1}}else if(this._accept(6))return this._parseTransform(s)?(e.appendChild(s),!0):(this._backTo(i),!1);else if(this._accept(4))return e.appendChild(s),!0;else return this._backTo(i)}_parseChoiceElement(e){let t=this._token,i=[];for(;;){let e;if(2===this._token.type||7===this._token.type)break;if(!(e=(e=this._accept(5,!0))?this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||e:this._accept(void 0,!0)))return this._backTo(t),!1;i.push(e)}return 0===i.length?(this._backTo(t),!1):(e.appendChild(new o(i.join(""))),!0)}_parseComplexVariable(e){let t;let i=this._token,n=this._accept(0)&&this._accept(3)&&(t=this._accept(9,!0));if(!n)return this._backTo(i);let s=new u(t);if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(s),!0;if(!this._parse(s))return e.appendChild(new o("${"+t+":")),s.children.forEach(e.appendChild,e),!0}else if(this._accept(6))return this._parseTransform(s)?(e.appendChild(s),!0):(this._backTo(i),!1);else if(this._accept(4))return e.appendChild(s),!0;else return this._backTo(i)}_parseTransform(e){let t=new d,i="",n="";for(;;){let e;if(this._accept(6))break;if(e=this._accept(5,!0)){i+=e=this._accept(6,!0)||e;continue}if(14!==this._token.type){i+=this._accept(void 0,!0);continue}return!1}for(;;){let e;if(this._accept(6))break;if(e=this._accept(5,!0)){e=this._accept(5,!0)||this._accept(6,!0)||e,t.appendChild(new o(e));continue}if(!(this._parseFormatString(t)||this._parseAnything(t)))return!1}for(;!this._accept(4);){if(14!==this._token.type){n+=this._accept(void 0,!0);continue}return!1}try{t.regexp=new RegExp(i,n)}catch(e){return!1}return e.transform=t,!0}_parseFormatString(e){let t=this._token;if(!this._accept(0))return!1;let i=!1;this._accept(3)&&(i=!0);let n=this._accept(8,!0);if(!n)return this._backTo(t),!1;if(!i||this._accept(4))return e.appendChild(new h(Number(n))),!0;if(!this._accept(1))return this._backTo(t),!1;if(this._accept(6)){let i=this._accept(9,!0);return i&&this._accept(4)?(e.appendChild(new h(Number(n),i)),!0):(this._backTo(t),!1)}if(this._accept(11)){let t=this._until(4);if(t)return e.appendChild(new h(Number(n),void 0,t,void 0)),!0}else if(this._accept(12)){let t=this._until(4);if(t)return e.appendChild(new h(Number(n),void 0,void 0,t)),!0}else if(this._accept(13)){let t=this._until(1);if(t){let i=this._until(4);if(i)return e.appendChild(new h(Number(n),void 0,t,i)),!0}}else{let t=this._until(4);if(t)return e.appendChild(new h(Number(n),void 0,void 0,t)),!0}return this._backTo(t),!1}_parseAnything(e){return 14!==this._token.type&&(e.appendChild(new o(this._scanner.tokenText(this._token))),this._accept(void 0),!0)}}},7307:function(e,t,i){"use strict";i.d(t,{l:function(){return A}});var n,s,o,r=i(9488),l=i(5976),a=i(97295);i(32365);var d=i(69386),h=i(24314),u=i(3860),c=i(4256),g=i(84901),p=i(44349),m=i(40382),f=i(35084),_=i(15527),v=i(1432);function b(e,t=v.ED){return(0,_.oP)(e,t)?e.charAt(0).toUpperCase()+e.slice(1):e}Object.create(null);var C=i(82663),w=i(95935),y=i(98e3),S=i(63580);Object.freeze({CURRENT_YEAR:!0,CURRENT_YEAR_SHORT:!0,CURRENT_MONTH:!0,CURRENT_DATE:!0,CURRENT_HOUR:!0,CURRENT_MINUTE:!0,CURRENT_SECOND:!0,CURRENT_DAY_NAME:!0,CURRENT_DAY_NAME_SHORT:!0,CURRENT_MONTH_NAME:!0,CURRENT_MONTH_NAME_SHORT:!0,CURRENT_SECONDS_UNIX:!0,CURRENT_TIMEZONE_OFFSET:!0,SELECTION:!0,CLIPBOARD:!0,TM_SELECTED_TEXT:!0,TM_CURRENT_LINE:!0,TM_CURRENT_WORD:!0,TM_LINE_INDEX:!0,TM_LINE_NUMBER:!0,TM_FILENAME:!0,TM_FILENAME_BASE:!0,TM_DIRECTORY:!0,TM_FILEPATH:!0,CURSOR_INDEX:!0,CURSOR_NUMBER:!0,RELATIVE_FILEPATH:!0,BLOCK_COMMENT_START:!0,BLOCK_COMMENT_END:!0,LINE_COMMENT:!0,WORKSPACE_NAME:!0,WORKSPACE_FOLDER:!0,RANDOM:!0,RANDOM_HEX:!0,UUID:!0});class L{constructor(e){this._delegates=e}resolve(e){for(let t of this._delegates){let i=t.resolve(e);if(void 0!==i)return i}}}class k{constructor(e,t,i,n){this._model=e,this._selection=t,this._selectionIdx=i,this._overtypingCapturer=n}resolve(e){let{name:t}=e;if("SELECTION"===t||"TM_SELECTED_TEXT"===t){let t=this._model.getValueInRange(this._selection)||void 0,i=this._selection.startLineNumber!==this._selection.endLineNumber;if(!t&&this._overtypingCapturer){let e=this._overtypingCapturer.getLastOvertypedInfo(this._selectionIdx);e&&(t=e.value,i=e.multiline)}if(t&&i&&e.snippet){let i=this._model.getLineContent(this._selection.startLineNumber),n=(0,a.V8)(i,0,this._selection.startColumn-1),s=n;e.snippet.walk(t=>t!==e&&(t instanceof f.xv&&(s=(0,a.V8)((0,a.uq)(t.value).pop())),!0));let o=(0,a.Mh)(s,n);t=t.replace(/(\r\n|\r|\n)(.*)/g,(e,t,i)=>`${t}${s.substr(o)}${i}`)}return t}if("TM_CURRENT_LINE"===t)return this._model.getLineContent(this._selection.positionLineNumber);if("TM_CURRENT_WORD"===t){let e=this._model.getWordAtPosition({lineNumber:this._selection.positionLineNumber,column:this._selection.positionColumn});return e&&e.word||void 0}if("TM_LINE_INDEX"===t)return String(this._selection.positionLineNumber-1);if("TM_LINE_NUMBER"===t)return String(this._selection.positionLineNumber);if("CURSOR_INDEX"===t)return String(this._selectionIdx);if("CURSOR_NUMBER"===t)return String(this._selectionIdx+1)}}class D{constructor(e,t){this._labelService=e,this._model=t}resolve(e){let{name:t}=e;if("TM_FILENAME"===t)return C.EZ(this._model.uri.fsPath);if("TM_FILENAME_BASE"===t){let e=C.EZ(this._model.uri.fsPath),t=e.lastIndexOf(".");return t<=0?e:e.slice(0,t)}return"TM_DIRECTORY"===t?"."===C.XX(this._model.uri.fsPath)?"":this._labelService.getUriLabel((0,w.XX)(this._model.uri)):"TM_FILEPATH"===t?this._labelService.getUriLabel(this._model.uri):"RELATIVE_FILEPATH"===t?this._labelService.getUriLabel(this._model.uri,{relative:!0,noPrefix:!0}):void 0}}class x{constructor(e,t,i,n){this._readClipboardText=e,this._selectionIdx=t,this._selectionCount=i,this._spread=n}resolve(e){if("CLIPBOARD"!==e.name)return;let t=this._readClipboardText();if(t){if(this._spread){let e=t.split(/\r\n|\n|\r/).filter(e=>!(0,a.m5)(e));if(e.length===this._selectionCount)return e[this._selectionIdx]}return t}}}let N=class{constructor(e,t,i){this._model=e,this._selection=t,this._languageConfigurationService=i}resolve(e){let{name:t}=e,i=this._model.getLanguageIdAtPosition(this._selection.selectionStartLineNumber,this._selection.selectionStartColumn),n=this._languageConfigurationService.getLanguageConfiguration(i).comments;if(n){if("LINE_COMMENT"===t)return n.lineCommentToken||void 0;if("BLOCK_COMMENT_START"===t)return n.blockCommentStartToken||void 0;if("BLOCK_COMMENT_END"===t)return n.blockCommentEndToken||void 0}}};N=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=c.c_,function(e,t){n(e,t,2)})],N);class E{constructor(){this._date=new Date}resolve(e){let{name:t}=e;if("CURRENT_YEAR"===t)return String(this._date.getFullYear());if("CURRENT_YEAR_SHORT"===t)return String(this._date.getFullYear()).slice(-2);if("CURRENT_MONTH"===t)return String(this._date.getMonth().valueOf()+1).padStart(2,"0");if("CURRENT_DATE"===t)return String(this._date.getDate().valueOf()).padStart(2,"0");if("CURRENT_HOUR"===t)return String(this._date.getHours().valueOf()).padStart(2,"0");if("CURRENT_MINUTE"===t)return String(this._date.getMinutes().valueOf()).padStart(2,"0");if("CURRENT_SECOND"===t)return String(this._date.getSeconds().valueOf()).padStart(2,"0");else if("CURRENT_DAY_NAME"===t)return E.dayNames[this._date.getDay()];else if("CURRENT_DAY_NAME_SHORT"===t)return E.dayNamesShort[this._date.getDay()];else if("CURRENT_MONTH_NAME"===t)return E.monthNames[this._date.getMonth()];else if("CURRENT_MONTH_NAME_SHORT"===t)return E.monthNamesShort[this._date.getMonth()];else if("CURRENT_SECONDS_UNIX"===t)return String(Math.floor(this._date.getTime()/1e3));else if("CURRENT_TIMEZONE_OFFSET"===t){let e=this._date.getTimezoneOffset(),t=Math.trunc(Math.abs(e/60)),i=Math.abs(e)-60*t;return(e>0?"-":"+")+(t<10?"0"+t:t)+":"+(i<10?"0"+i:i)}}}E.dayNames=[S.NC("Sunday","Sunday"),S.NC("Monday","Monday"),S.NC("Tuesday","Tuesday"),S.NC("Wednesday","Wednesday"),S.NC("Thursday","Thursday"),S.NC("Friday","Friday"),S.NC("Saturday","Saturday")],E.dayNamesShort=[S.NC("SundayShort","Sun"),S.NC("MondayShort","Mon"),S.NC("TuesdayShort","Tue"),S.NC("WednesdayShort","Wed"),S.NC("ThursdayShort","Thu"),S.NC("FridayShort","Fri"),S.NC("SaturdayShort","Sat")],E.monthNames=[S.NC("January","January"),S.NC("February","February"),S.NC("March","March"),S.NC("April","April"),S.NC("May","May"),S.NC("June","June"),S.NC("July","July"),S.NC("August","August"),S.NC("September","September"),S.NC("October","October"),S.NC("November","November"),S.NC("December","December")],E.monthNamesShort=[S.NC("JanuaryShort","Jan"),S.NC("FebruaryShort","Feb"),S.NC("MarchShort","Mar"),S.NC("AprilShort","Apr"),S.NC("MayShort","May"),S.NC("JuneShort","Jun"),S.NC("JulyShort","Jul"),S.NC("AugustShort","Aug"),S.NC("SeptemberShort","Sep"),S.NC("OctoberShort","Oct"),S.NC("NovemberShort","Nov"),S.NC("DecemberShort","Dec")];class I{constructor(e){this._workspaceService=e}resolve(e){if(!this._workspaceService)return;let t=(0,m.uT)(this._workspaceService.getWorkspace());return(0,m.c$)(t)?void 0:"WORKSPACE_NAME"===e.name?this._resolveWorkspaceName(t):"WORKSPACE_FOLDER"===e.name?this._resoveWorkspacePath(t):void 0}_resolveWorkspaceName(e){if((0,m.eb)(e))return C.EZ(e.uri.path);let t=C.EZ(e.configPath.path);return t.endsWith(m.A6)&&(t=t.substr(0,t.length-m.A6.length-1)),t}_resoveWorkspacePath(e){if((0,m.eb)(e))return b(e.uri.fsPath);let t=C.EZ(e.configPath.path),i=e.configPath.fsPath;return i.endsWith(t)&&(i=i.substr(0,i.length-t.length-1)),i?b(i):"/"}}class T{resolve(e){let{name:t}=e;return"RANDOM"===t?Math.random().toString().slice(-6):"RANDOM_HEX"===t?Math.random().toString(16).slice(-6):"UUID"===t?(0,y.R)():void 0}}class M{constructor(e,t,i){this._editor=e,this._snippet=t,this._snippetLineLeadingWhitespace=i,this._offset=-1,this._nestingLevel=1,this._placeholderGroups=(0,r.vM)(t.placeholders,f.Vm.compareByIndex),this._placeholderGroupsIdx=-1}initialize(e){this._offset=e.newPosition}dispose(){this._placeholderDecorations&&this._editor.removeDecorations([...this._placeholderDecorations.values()]),this._placeholderGroups.length=0}_initDecorations(){if(-1===this._offset)throw Error("Snippet not initialized!");if(this._placeholderDecorations)return;this._placeholderDecorations=new Map;let e=this._editor.getModel();this._editor.changeDecorations(t=>{for(let i of this._snippet.placeholders){let n=this._snippet.offset(i),s=this._snippet.fullLen(i),o=h.e.fromPositions(e.getPositionAt(this._offset+n),e.getPositionAt(this._offset+n+s)),r=i.isFinalTabstop?M._decor.inactiveFinal:M._decor.inactive,l=t.addDecoration(o,r);this._placeholderDecorations.set(i,l)}})}move(e){if(!this._editor.hasModel())return[];if(this._initDecorations(),this._placeholderGroupsIdx>=0){let e=[];for(let t of this._placeholderGroups[this._placeholderGroupsIdx])if(t.transform){let i=this._placeholderDecorations.get(t),n=this._editor.getModel().getDecorationRange(i),s=this._editor.getModel().getValueInRange(n),o=t.transform.resolve(s).split(/\r\n|\r|\n/);for(let e=1;e0&&this._editor.executeEdits("snippet.placeholderTransform",e)}let t=!1;!0===e&&this._placeholderGroupsIdx0&&(this._placeholderGroupsIdx-=1,t=!0);let i=this._editor.getModel().changeDecorations(e=>{let i=new Set,n=[];for(let s of this._placeholderGroups[this._placeholderGroupsIdx]){let o=this._placeholderDecorations.get(s),r=this._editor.getModel().getDecorationRange(o);for(let l of(n.push(new u.Y(r.startLineNumber,r.startColumn,r.endLineNumber,r.endColumn)),t=t&&this._hasPlaceholderBeenCollapsed(s),e.changeDecorationOptions(o,s.isFinalTabstop?M._decor.activeFinal:M._decor.active),i.add(s),this._snippet.enclosingPlaceholders(s))){let t=this._placeholderDecorations.get(l);e.changeDecorationOptions(t,l.isFinalTabstop?M._decor.activeFinal:M._decor.active),i.add(l)}}for(let[t,n]of this._placeholderDecorations)i.has(t)||e.changeDecorationOptions(n,t.isFinalTabstop?M._decor.inactiveFinal:M._decor.inactive);return n});return t?this.move(e):null!=i?i:[]}_hasPlaceholderBeenCollapsed(e){let t=e;for(;t;){if(t instanceof f.Vm){let e=this._placeholderDecorations.get(t),i=this._editor.getModel().getDecorationRange(e);if(i.isEmpty()&&t.toString().length>0)return!0}t=t.parent}return!1}get isAtFirstPlaceholder(){return this._placeholderGroupsIdx<=0||0===this._placeholderGroups.length}get isAtLastPlaceholder(){return this._placeholderGroupsIdx===this._placeholderGroups.length-1}get hasPlaceholder(){return this._snippet.placeholders.length>0}get isTrivialSnippet(){if(0===this._snippet.placeholders.length)return!0;if(1===this._snippet.placeholders.length){let[e]=this._snippet.placeholders;if(e.isFinalTabstop&&this._snippet.rightMostDescendant===e)return!0}return!1}computePossibleSelections(){let e=new Map;for(let t of this._placeholderGroups){let i;for(let n of t){if(n.isFinalTabstop)break;i||(i=[],e.set(n.index,i));let t=this._placeholderDecorations.get(n),s=this._editor.getModel().getDecorationRange(t);if(!s){e.delete(n.index);break}i.push(s)}}return e}get activeChoice(){if(!this._placeholderDecorations)return;let e=this._placeholderGroups[this._placeholderGroupsIdx][0];if(!(null==e?void 0:e.choice))return;let t=this._placeholderDecorations.get(e);if(!t)return;let i=this._editor.getModel().getDecorationRange(t);if(i)return{range:i,choice:e.choice}}get hasChoice(){let e=!1;return this._snippet.walk(t=>!(e=t instanceof f.Lv)),e}merge(e){let t=this._editor.getModel();this._nestingLevel*=10,this._editor.changeDecorations(i=>{for(let n of this._placeholderGroups[this._placeholderGroupsIdx]){let s=e.shift();console.assert(-1!==s._offset),console.assert(!s._placeholderDecorations);let o=s._snippet.placeholderInfo.last.index;for(let e of s._snippet.placeholderInfo.all)e.isFinalTabstop?e.index=n.index+(o+1)/this._nestingLevel:e.index=n.index+e.index/this._nestingLevel;this._snippet.replace(n,s._snippet.children);let r=this._placeholderDecorations.get(n);for(let e of(i.removeDecoration(r),this._placeholderDecorations.delete(n),s._snippet.placeholders)){let n=s._snippet.offset(e),o=s._snippet.fullLen(e),r=h.e.fromPositions(t.getPositionAt(s._offset+n),t.getPositionAt(s._offset+n+o)),l=i.addDecoration(r,M._decor.inactive);this._placeholderDecorations.set(e,l)}}this._placeholderGroups=(0,r.vM)(this._snippet.placeholders,f.Vm.compareByIndex)})}}M._decor={active:g.qx.register({description:"snippet-placeholder-1",stickiness:0,className:"snippet-placeholder"}),inactive:g.qx.register({description:"snippet-placeholder-2",stickiness:1,className:"snippet-placeholder"}),activeFinal:g.qx.register({description:"snippet-placeholder-3",stickiness:1,className:"finish-snippet-placeholder"}),inactiveFinal:g.qx.register({description:"snippet-placeholder-4",stickiness:1,className:"finish-snippet-placeholder"})};let R={overwriteBefore:0,overwriteAfter:0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0},A=o=class{static adjustWhitespace(e,t,i,n,s){let o;let r=e.getLineContent(t.lineNumber),l=(0,a.V8)(r,0,t.column-1);return n.walk(t=>{if(!(t instanceof f.xv)||t.parent instanceof f.Lv||s&&!s.has(t))return!0;let r=t.value.split(/\r\n|\r|\n/);if(i){let i=n.offset(t);if(0===i)r[0]=e.normalizeIndentation(r[0]);else{o=null!=o?o:n.toString();let t=o.charCodeAt(i-1);(10===t||13===t)&&(r[0]=e.normalizeIndentation(l+r[0]))}for(let t=1;te.get(m.ec)),b=e.invokeWithinContext(e=>new D(e.get(p.e),_)),C=()=>l,w=_.getValueInRange(o.adjustSelection(_,e.getSelection(),i,0)),y=_.getValueInRange(o.adjustSelection(_,e.getSelection(),0,n)),S=_.getLineFirstNonWhitespaceColumn(e.getSelection().positionLineNumber),R=e.getSelections().map((e,t)=>({selection:e,idx:t})).sort((e,t)=>h.e.compareRangesUsingStarts(e.selection,t.selection));for(let{selection:l,idx:h}of R){let p=o.adjustSelection(_,l,i,0),m=o.adjustSelection(_,l,0,n);w!==_.getValueInRange(p)&&(p=l),y!==_.getValueInRange(m)&&(m=l);let D=l.setStartPosition(p.startLineNumber,p.startColumn).setEndPosition(m.endLineNumber,m.endColumn),A=new f.Yj().parse(t,!0,s),P=D.getStartPosition(),O=o.adjustWhitespace(_,P,r||h>0&&S!==_.getLineFirstNonWhitespaceColumn(l.positionLineNumber),A);A.resolveVariables(new L([b,new x(C,h,R.length,"spread"===e.getOption(79)),new k(_,l,h,a),new N(_,l,u),new E,new I(v),new T])),c[h]=d.h.replace(D,A.toString()),c[h].identifier={major:h,minor:0},c[h]._isTracked=!0,g[h]=new M(e,A,O)}return{edits:c,snippets:g}}static createEditsAndSnippetsFromEdits(e,t,i,n,s,r,l){if(!e.hasModel()||0===t.length)return{edits:[],snippets:[]};let a=[],u=e.getModel(),c=new f.Yj,g=new f.y1,_=new L([e.invokeWithinContext(e=>new D(e.get(p.e),u)),new x(()=>s,0,e.getSelections().length,"spread"===e.getOption(79)),new k(u,e.getSelection(),0,r),new N(u,e.getSelection(),l),new E,new I(e.invokeWithinContext(e=>e.get(m.ec))),new T]);t=t.sort((e,t)=>h.e.compareRangesUsingStarts(e.range,t.range));let v=0;for(let e=0;e0){let n=t[e-1].range,s=h.e.fromPositions(n.getEndPosition(),i.getStartPosition()),o=new f.xv(u.getValueInRange(s));g.appendChild(o),v+=o.value.length}let s=c.parseFragment(n,g);o.adjustWhitespace(u,i.getStartPosition(),!0,g,new Set(s)),g.resolveVariables(_);let r=g.toString(),l=r.slice(v);v=r.length;let p=d.h.replace(i,l);p.identifier={major:e,minor:0},p._isTracked=!0,a.push(p)}return c.ensureFinalTabstop(g,i,!0),{edits:a,snippets:[new M(e,g,"")]}}constructor(e,t,i=R,n){this._editor=e,this._template=t,this._options=i,this._languageConfigurationService=n,this._templateMerges=[],this._snippets=[]}dispose(){(0,l.B9)(this._snippets)}_logInfo(){return`template="${this._template}", merged_templates="${this._templateMerges.join(" -> ")}"`}insert(){if(!this._editor.hasModel())return;let{edits:e,snippets:t}="string"==typeof this._template?o.createEditsAndSnippetsFromSelections(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer,this._languageConfigurationService):o.createEditsAndSnippetsFromEdits(this._editor,this._template,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer,this._languageConfigurationService);this._snippets=t,this._editor.executeEdits("snippet",e,e=>{let i=e.filter(e=>!!e.identifier);for(let e=0;eu.Y.fromPositions(e.range.getEndPosition()))}),this._editor.revealRange(this._editor.getSelections()[0])}merge(e,t=R){if(!this._editor.hasModel())return;this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,e]);let{edits:i,snippets:n}=o.createEditsAndSnippetsFromSelections(this._editor,e,t.overwriteBefore,t.overwriteAfter,!0,t.adjustWhitespace,t.clipboardText,t.overtypingCapturer,this._languageConfigurationService);this._editor.executeEdits("snippet",i,e=>{let t=e.filter(e=>!!e.identifier);for(let e=0;eu.Y.fromPositions(e.range.getEndPosition()))})}next(){let e=this._move(!0);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}prev(){let e=this._move(!1);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}_move(e){let t=[];for(let i of this._snippets){let n=i.move(e);t.push(...n)}return t}get isAtFirstPlaceholder(){return this._snippets[0].isAtFirstPlaceholder}get isAtLastPlaceholder(){return this._snippets[0].isAtLastPlaceholder}get hasPlaceholder(){return this._snippets[0].hasPlaceholder}get hasChoice(){return this._snippets[0].hasChoice}get activeChoice(){return this._snippets[0].activeChoice}isSelectionWithinPlaceholders(){if(!this.hasPlaceholder)return!1;let e=this._editor.getSelections();if(e.length{e.push(...n.get(t))})}for(let[i,n]of(e.sort(h.e.compareRangesUsingStarts),t)){if(n.length!==e.length){t.delete(i);continue}n.sort(h.e.compareRangesUsingStarts);for(let s=0;s0}};A=o=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(s=c.c_,function(e,t){s(e,t,3)})],A)},75408:function(e,t,i){"use strict";var n,s,o,r,l,a=i(16830),d=i(63580);let h=Object.freeze({View:(0,d.vv)("view","View"),Help:(0,d.vv)("help","Help"),Test:(0,d.vv)("test","Test"),File:(0,d.vv)("file","File"),Preferences:(0,d.vv)("preferences","Preferences"),Developer:(0,d.vv)({key:"developer",comment:["A developer on Code itself or someone diagnosing issues in Code"]},"Developer")});var u=i(84144),c=i(33108),g=i(32064),p=i(29102),m=i(5976),f=i(71922),_=i(65321),v=i(77514),b=i(9488),C=i(25670);i(17447);var w=i(95939),y=i(22874),S=i(50187),L=i(50072),k=i(92550),D=i(72202),x=i(83973);class N{constructor(e,t,i,n=null){this.startLineNumbers=e,this.endLineNumbers=t,this.lastLineRelativePosition=i,this.showEndForLine=n}equals(e){return!!e&&this.lastLineRelativePosition===e.lastLineRelativePosition&&this.showEndForLine===e.showEndForLine&&(0,b.fS)(this.startLineNumbers,e.startLineNumbers)&&(0,b.fS)(this.endLineNumbers,e.endLineNumbers)}}let E=(0,v.Z)("stickyScrollViewLayer",{createHTML:e=>e}),I="data-sticky-line-index",T="data-sticky-is-line",M="data-sticky-is-folding-icon";class R extends m.JT{constructor(e){super(),this._editor=e,this._foldingIconStore=new m.SL,this._rootDomNode=document.createElement("div"),this._lineNumbersDomNode=document.createElement("div"),this._linesDomNodeScrollable=document.createElement("div"),this._linesDomNode=document.createElement("div"),this._lineHeight=this._editor.getOption(67),this._renderedStickyLines=[],this._lineNumbers=[],this._lastLineRelativePosition=0,this._minContentWidthInPx=0,this._isOnGlyphMargin=!1,this._lineNumbersDomNode.className="sticky-widget-line-numbers",this._lineNumbersDomNode.setAttribute("role","none"),this._linesDomNode.className="sticky-widget-lines",this._linesDomNode.setAttribute("role","list"),this._linesDomNodeScrollable.className="sticky-widget-lines-scrollable",this._linesDomNodeScrollable.appendChild(this._linesDomNode),this._rootDomNode.className="sticky-widget",this._rootDomNode.classList.toggle("peek",e instanceof y.H),this._rootDomNode.appendChild(this._lineNumbersDomNode),this._rootDomNode.appendChild(this._linesDomNodeScrollable);let t=()=>{this._linesDomNode.style.left=this._editor.getOption(115).scrollWithEditor?`-${this._editor.getScrollLeft()}px`:"0px"};this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(115)&&t(),e.hasChanged(67)&&(this._lineHeight=this._editor.getOption(67))})),this._register(this._editor.onDidScrollChange(e=>{e.scrollLeftChanged&&t(),e.scrollWidthChanged&&this._updateWidgetWidth()})),this._register(this._editor.onDidChangeModel(()=>{t(),this._updateWidgetWidth()})),this._register(this._foldingIconStore),t(),this._register(this._editor.onDidLayoutChange(e=>{this._updateWidgetWidth()})),this._updateWidgetWidth()}get lineNumbers(){return this._lineNumbers}get lineNumberCount(){return this._lineNumbers.length}getRenderedStickyLine(e){return this._renderedStickyLines.find(t=>t.lineNumber===e)}getCurrentLines(){return this._lineNumbers}setState(e,t,i){if(void 0===i&&(!this._previousState&&!e||this._previousState&&this._previousState.equals(e)))return;let n=this._isWidgetHeightZero(e),s=n?void 0:e,o=n?0:this._findLineToRebuildWidgetFrom(e,i);this._renderRootNode(s,t,o),this._previousState=e}_isWidgetHeightZero(e){if(!e)return!0;let t=e.startLineNumbers.length*this._lineHeight+e.lastLineRelativePosition;if(t>0){this._lastLineRelativePosition=e.lastLineRelativePosition;let t=[...e.startLineNumbers];null!==e.showEndForLine&&(t[e.showEndForLine]=e.endLineNumbers[e.showEndForLine]),this._lineNumbers=t}else this._lastLineRelativePosition=0,this._lineNumbers=[];return 0===t}_findLineToRebuildWidgetFrom(e,t){if(!e||!this._previousState)return 0;if(void 0!==t)return t;let i=this._previousState,n=e.startLineNumbers.findIndex(e=>!i.startLineNumbers.includes(e));return -1===n?0:n}_updateWidgetWidth(){let e=this._editor.getLayoutInfo(),t=e.contentLeft;this._lineNumbersDomNode.style.width=`${t}px`,this._linesDomNodeScrollable.style.setProperty("--vscode-editorStickyScroll-scrollableWidth",`${this._editor.getScrollWidth()-e.verticalScrollbarWidth}px`),this._rootDomNode.style.width=`${e.width-e.verticalScrollbarWidth}px`}_clearStickyLinesFromLine(e){this._foldingIconStore.clear();for(let t=e;te.scrollWidth))+n.verticalScrollbarWidth,this._editor.layoutOverlayWidget(this)}_setFoldingHoverListeners(){let e=this._editor.getOption(110);"mouseover"===e&&(this._foldingIconStore.add(_.nm(this._lineNumbersDomNode,_.tw.MOUSE_ENTER,()=>{this._isOnGlyphMargin=!0,this._setFoldingIconsVisibility(!0)})),this._foldingIconStore.add(_.nm(this._lineNumbersDomNode,_.tw.MOUSE_LEAVE,()=>{this._isOnGlyphMargin=!1,this._useFoldingOpacityTransition(!0),this._setFoldingIconsVisibility(!1)})))}_renderChildNode(e,t,i,n){let s,o;let r=this._editor._getViewModel();if(!r)return;let l=r.coordinatesConverter.convertModelPositionToViewPosition(new S.L(t,1)).lineNumber,a=r.getViewLineRenderingData(l),d=this._editor.getOption(68);try{s=k.Kp.filter(a.inlineDecorations,l,a.minColumn,a.maxColumn)}catch(e){s=[]}let h=new D.IJ(!0,!0,a.content,a.continuesWithWrappedLine,a.isBasicASCII,a.containsRTL,0,a.tokens,s,a.tabSize,a.startVisibleColumn,1,1,1,500,"none",!0,!0,null),u=new L.HT(2e3),c=(0,D.d1)(h,u);o=E?E.createHTML(u.build()):u.build();let g=document.createElement("span");g.setAttribute(I,String(e)),g.setAttribute(T,""),g.setAttribute("role","listitem"),g.tabIndex=0,g.className="sticky-line-content",g.classList.add(`stickyLine${t}`),g.style.lineHeight=`${this._lineHeight}px`,g.innerHTML=o;let p=document.createElement("span");p.setAttribute(I,String(e)),p.setAttribute("data-sticky-is-line-number",""),p.className="sticky-line-number",p.style.lineHeight=`${this._lineHeight}px`;let m=n.contentLeft;p.style.width=`${m}px`;let f=document.createElement("span");1===d.renderType||3===d.renderType&&t%10==0?f.innerText=t.toString():2===d.renderType&&(f.innerText=Math.abs(t-this._editor.getPosition().lineNumber).toString()),f.className="sticky-line-number-inner",f.style.lineHeight=`${this._lineHeight}px`,f.style.width=`${n.lineNumbersWidth}px`,f.style.paddingLeft=`${n.lineNumbersLeft}px`,p.appendChild(f);let _=this._renderFoldingIconForLine(i,t);_&&p.appendChild(_.domNode),this._editor.applyFontInfo(g),this._editor.applyFontInfo(f),p.style.lineHeight=`${this._lineHeight}px`,g.style.lineHeight=`${this._lineHeight}px`,p.style.height=`${this._lineHeight}px`,g.style.height=`${this._lineHeight}px`;let v=new A(e,t,g,p,_,c.characterMapping,g.scrollWidth);return this._updateTopAndZIndexOfStickyLine(v)}_updateTopAndZIndexOfStickyLine(e){var t;let i=e.index,n=e.lineDomNode,s=e.lineNumberDomNode,o=i===this._lineNumbers.length-1;n.style.zIndex=o?"0":"1",s.style.zIndex=o?"0":"1";let r=`${i*this._lineHeight+this._lastLineRelativePosition+((null===(t=e.foldingIcon)||void 0===t?void 0:t.isCollapsed)?1:0)}px`,l=`${i*this._lineHeight}px`;return n.style.top=o?r:l,s.style.top=o?r:l,e}_renderFoldingIconForLine(e,t){let i=this._editor.getOption(110);if(!e||"never"===i)return;let n=e.regions,s=n.findRange(t),o=n.getStartLineNumber(s),r=t===o;if(!r)return;let l=n.isCollapsed(s),a=new P(l,o,n.getEndLineNumber(s),this._lineHeight);return a.setVisible(!!this._isOnGlyphMargin||l||"always"===i),a.domNode.setAttribute(M,""),a}getId(){return"editor.contrib.stickyScrollWidget"}getDomNode(){return this._rootDomNode}getPosition(){return{preference:2,stackOridinal:10}}getMinContentWidthInPx(){return this._minContentWidthInPx}focusLineWithIndex(e){0<=e&&e0)return null;let t=this._getRenderedStickyLineFromChildDomNode(e);if(!t)return null;let i=(0,w.dL)(t.characterMapping,e,0);return new S.L(t.lineNumber,i)}getLineNumberFromChildDomNode(e){var t,i;return null!==(i=null===(t=this._getRenderedStickyLineFromChildDomNode(e))||void 0===t?void 0:t.lineNumber)&&void 0!==i?i:null}_getRenderedStickyLineFromChildDomNode(e){let t=this.getLineIndexFromChildDomNode(e);return null===t||t<0||t>=this._renderedStickyLines.length?null:this._renderedStickyLines[t]}getLineIndexFromChildDomNode(e){let t=this._getAttributeValue(e,I);return t?parseInt(t,10):null}isInStickyLine(e){let t=this._getAttributeValue(e,T);return void 0!==t}isInFoldingIconDomNode(e){let t=this._getAttributeValue(e,M);return void 0!==t}_getAttributeValue(e,t){for(;e&&e!==this._rootDomNode;){let i=e.getAttribute(t);if(null!==i)return i;e=e.parentElement}}}class A{constructor(e,t,i,n,s,o,r){this.index=e,this.lineNumber=t,this.lineDomNode=i,this.lineNumberDomNode=n,this.foldingIcon=s,this.characterMapping=o,this.scrollWidth=r}}class P{constructor(e,t,i,n){this.isCollapsed=e,this.foldingStartLine=t,this.foldingEndLine=i,this.dimension=n,this.domNode=document.createElement("div"),this.domNode.style.width=`${n}px`,this.domNode.style.height=`${n}px`,this.domNode.className=C.k.asClassName(e?x.f5:x.Iy)}setVisible(e){this.domNode.style.cursor=e?"pointer":"default",this.domNode.style.opacity=e?"1":"0"}}var O=i(71050),F=i(15393),B=i(4669),W=i(4256),H=i(88941),V=i(28389),z=i(99155),K=i(84990),U=i(17301);class ${constructor(e,t){this.startLineNumber=e,this.endLineNumber=t}}class q{constructor(e,t,i){this.range=e,this.children=t,this.parent=i}}class j{constructor(e,t,i,n){this.uri=e,this.version=t,this.element=i,this.outlineProviderId=n}}var G=i(53725),Q=i(72065),Z=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},Y=function(e,t){return function(i,n){t(i,n,e)}};(n=o||(o={})).OUTLINE_MODEL="outlineModel",n.FOLDING_PROVIDER_MODEL="foldingProviderModel",n.INDENTATION_MODEL="indentationModel",(s=r||(r={}))[s.VALID=0]="VALID",s[s.INVALID=1]="INVALID",s[s.CANCELED=2]="CANCELED";let J=class extends m.JT{constructor(e,t,i,n){switch(super(),this._editor=e,this._modelProviders=[],this._modelPromise=null,this._updateScheduler=this._register(new F.vp(300)),this._updateOperation=this._register(new m.SL),this._editor.getOption(115).defaultModel){case o.OUTLINE_MODEL:this._modelProviders.push(new ee(this._editor,n));case o.FOLDING_PROVIDER_MODEL:this._modelProviders.push(new en(this._editor,t,n));case o.INDENTATION_MODEL:this._modelProviders.push(new ei(this._editor,i))}}dispose(){this._modelProviders.forEach(e=>e.dispose()),this._updateOperation.clear(),this._cancelModelPromise(),super.dispose()}_cancelModelPromise(){this._modelPromise&&(this._modelPromise.cancel(),this._modelPromise=null)}async update(e){return this._updateOperation.clear(),this._updateOperation.add({dispose:()=>{this._cancelModelPromise(),this._updateScheduler.cancel()}}),this._cancelModelPromise(),await this._updateScheduler.trigger(async()=>{for(let t of this._modelProviders){let{statusPromise:i,modelPromise:n}=t.computeStickyModel(e);this._modelPromise=n;let s=await i;if(this._modelPromise!==n)break;switch(s){case r.CANCELED:return this._updateOperation.clear(),null;case r.VALID:return t.stickyModel}}return null}).catch(e=>((0,U.dL)(e),null))}};J=Z([Y(2,Q.TG),Y(3,f.p)],J);class X extends m.JT{constructor(e){super(),this._editor=e,this._stickyModel=null}get stickyModel(){return this._stickyModel}_invalid(){return this._stickyModel=null,r.INVALID}computeStickyModel(e){if(e.isCancellationRequested||!this.isProviderValid())return{statusPromise:this._invalid(),modelPromise:null};let t=(0,F.PG)(e=>this.createModelFromProvider(e));return{statusPromise:t.then(t=>this.isModelValid(t)?e.isCancellationRequested?r.CANCELED:(this._stickyModel=this.createStickyModel(e,t),r.VALID):this._invalid()).then(void 0,e=>((0,U.dL)(e),r.CANCELED)),modelPromise:t}}isModelValid(e){return!0}isProviderValid(){return!0}}let ee=class extends X{constructor(e,t){super(e),this._languageFeaturesService=t}createModelFromProvider(e){return H.C3.create(this._languageFeaturesService.documentSymbolProvider,this._editor.getModel(),e)}createStickyModel(e,t){var i;let{stickyOutlineElement:n,providerID:s}=this._stickyModelFromOutlineModel(t,null===(i=this._stickyModel)||void 0===i?void 0:i.outlineProviderId),o=this._editor.getModel();return new j(o.uri,o.getVersionId(),n,s)}isModelValid(e){return e&&e.children.size>0}_stickyModelFromOutlineModel(e,t){let i;if(G.$.first(e.children.values()) instanceof H.H3){let n=G.$.find(e.children.values(),e=>e.id===t);if(n)i=n.children;else{let n,s="",o=-1;for(let[t,i]of e.children.entries()){let e=this._findSumOfRangesOfGroup(i);e>o&&(n=i,o=e,s=i.id)}t=s,i=n.children}}else i=e.children;let n=[],s=Array.from(i.values()).sort((e,t)=>{let i=new $(e.symbol.range.startLineNumber,e.symbol.range.endLineNumber),n=new $(t.symbol.range.startLineNumber,t.symbol.range.endLineNumber);return this._comparator(i,n)});for(let e of s)n.push(this._stickyModelFromOutlineElement(e,e.symbol.selectionRange.startLineNumber));let o=new q(void 0,n,void 0);return{stickyOutlineElement:o,providerID:t}}_stickyModelFromOutlineElement(e,t){let i=[];for(let n of e.children.values())if(n.symbol.selectionRange.startLineNumber!==n.symbol.range.endLineNumber){if(n.symbol.selectionRange.startLineNumber!==t)i.push(this._stickyModelFromOutlineElement(n,n.symbol.selectionRange.startLineNumber));else for(let e of n.children.values())i.push(this._stickyModelFromOutlineElement(e,n.symbol.selectionRange.startLineNumber))}i.sort((e,t)=>this._comparator(e.range,t.range));let n=new $(e.symbol.selectionRange.startLineNumber,e.symbol.range.endLineNumber);return new q(n,i,void 0)}_comparator(e,t){return e.startLineNumber!==t.startLineNumber?e.startLineNumber-t.startLineNumber:t.endLineNumber-e.endLineNumber}_findSumOfRangesOfGroup(e){let t=0;for(let i of e.children.values())t+=this._findSumOfRangesOfGroup(i);return e instanceof H.sT?t+e.symbol.range.endLineNumber-e.symbol.selectionRange.startLineNumber:t}};ee=Z([Y(1,f.p)],ee);class et extends X{constructor(e){super(e),this._foldingLimitReporter=new V.n(e)}createStickyModel(e,t){let i=this._fromFoldingRegions(t),n=this._editor.getModel();return new j(n.uri,n.getVersionId(),i,void 0)}isModelValid(e){return null!==e}_fromFoldingRegions(e){let t=e.length,i=[],n=new q(void 0,[],void 0);for(let s=0;s0&&(this.provider=this._register(new z.e(e.getModel(),n,t,this._foldingLimitReporter,void 0)))}isProviderValid(){return void 0!==this.provider}async createModelFromProvider(e){var t,i;return null!==(i=null===(t=this.provider)||void 0===t?void 0:t.compute(e))&&void 0!==i?i:null}};en=Z([Y(2,f.p)],en);var es=function(e,t){return function(i,n){t(i,n,e)}};class eo{constructor(e,t,i){this.startLineNumber=e,this.endLineNumber=t,this.nestingDepth=i}}let er=class extends m.JT{constructor(e,t,i){super(),this._languageFeaturesService=t,this._languageConfigurationService=i,this._onDidChangeStickyScroll=this._register(new B.Q5),this.onDidChangeStickyScroll=this._onDidChangeStickyScroll.event,this._model=null,this._cts=null,this._stickyModelProvider=null,this._editor=e,this._sessionStore=this._register(new m.SL),this._updateSoon=this._register(new F.pY(()=>this.update(),50)),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(115)&&this.readConfiguration()})),this.readConfiguration()}readConfiguration(){this._sessionStore.clear();let e=this._editor.getOption(115);e.enabled&&(this._sessionStore.add(this._editor.onDidChangeModel(()=>{this._model=null,this.updateStickyModelProvider(),this._onDidChangeStickyScroll.fire(),this.update()})),this._sessionStore.add(this._editor.onDidChangeHiddenAreas(()=>this.update())),this._sessionStore.add(this._editor.onDidChangeModelContent(()=>this._updateSoon.schedule())),this._sessionStore.add(this._languageFeaturesService.documentSymbolProvider.onDidChange(()=>this.update())),this._sessionStore.add((0,m.OF)(()=>{var e;null===(e=this._stickyModelProvider)||void 0===e||e.dispose(),this._stickyModelProvider=null})),this.updateStickyModelProvider(),this.update())}getVersionId(){var e;return null===(e=this._model)||void 0===e?void 0:e.version}updateStickyModelProvider(){var e;null===(e=this._stickyModelProvider)||void 0===e||e.dispose(),this._stickyModelProvider=null;let t=this._editor;t.hasModel()&&(this._stickyModelProvider=new J(t,()=>this._updateSoon.schedule(),this._languageConfigurationService,this._languageFeaturesService))}async update(){var e;null===(e=this._cts)||void 0===e||e.dispose(!0),this._cts=new O.AU,await this.updateStickyModel(this._cts.token),this._onDidChangeStickyScroll.fire()}async updateStickyModel(e){if(!this._editor.hasModel()||!this._stickyModelProvider||this._editor.getModel().isTooLargeForTokenization()){this._model=null;return}let t=await this._stickyModelProvider.update(e);e.isCancellationRequested||(this._model=t)}updateIndex(e){return -1===e?e=0:e<0&&(e=-e-2),e}getCandidateStickyLinesIntersectingFromStickyModel(e,t,i,n,s){if(0===t.children.length)return;let o=s,r=[];for(let e=0;ee-t)),a=this.updateIndex((0,b.ry)(r,e.startLineNumber+n,(e,t)=>e-t));for(let r=l;r<=a;r++){let l=t.children[r];if(!l)return;if(l.range){let t=l.range.startLineNumber,s=l.range.endLineNumber;e.startLineNumber<=s+1&&t-1<=e.endLineNumber&&t!==o&&(o=t,i.push(new eo(t,s-1,n+1)),this.getCandidateStickyLinesIntersectingFromStickyModel(e,l,i,n+1,t))}else this.getCandidateStickyLinesIntersectingFromStickyModel(e,l,i,n,s)}}getCandidateStickyLinesIntersecting(e){var t,i;if(!(null===(t=this._model)||void 0===t?void 0:t.element))return[];let n=[];this.getCandidateStickyLinesIntersectingFromStickyModel(e,this._model.element,n,0,-1);let s=null===(i=this._editor._getViewModel())||void 0===i?void 0:i.getHiddenAreas();if(s)for(let e of s)n=n.filter(t=>!(t.startLineNumber>=e.startLineNumber&&t.endLineNumber<=e.endLineNumber+1));return n}};er=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([es(1,f.p),es(2,W.c_)],er);var el=i(5606),ea=i(82005),ed=i(24314),eh=i(40184),eu=i(58722),ec=i(88191),eg=i(7317),ep=i(71705),em=function(e,t){return function(i,n){t(i,n,e)}};let ef=l=class extends m.JT{constructor(e,t,i,n,s,o,r){super(),this._editor=e,this._contextMenuService=t,this._languageFeaturesService=i,this._instaService=n,this._contextKeyService=r,this._sessionStore=new m.SL,this._foldingModel=null,this._maxStickyLines=Number.MAX_SAFE_INTEGER,this._candidateDefinitionsLength=-1,this._focusedStickyElementIndex=-1,this._enabled=!1,this._focused=!1,this._positionRevealed=!1,this._onMouseDown=!1,this._endLineNumbers=[],this._showEndForLine=null,this._stickyScrollWidget=new R(this._editor),this._stickyLineCandidateProvider=new er(this._editor,i,s),this._register(this._stickyScrollWidget),this._register(this._stickyLineCandidateProvider),this._widgetState=new N([],[],0),this._onDidResize(),this._readConfiguration();let l=this._stickyScrollWidget.getDomNode();this._register(this._editor.onDidChangeConfiguration(e=>{this._readConfigurationChange(e)})),this._register(_.nm(l,_.tw.CONTEXT_MENU,async e=>{this._onContextMenu(_.Jj(l),e)})),this._stickyScrollFocusedContextKey=p.u.stickyScrollFocused.bindTo(this._contextKeyService),this._stickyScrollVisibleContextKey=p.u.stickyScrollVisible.bindTo(this._contextKeyService);let a=this._register(_.go(l));this._register(a.onDidBlur(e=>{!1===this._positionRevealed&&0===l.clientHeight?(this._focusedStickyElementIndex=-1,this.focus()):this._disposeFocusStickyScrollStore()})),this._register(a.onDidFocus(e=>{this.focus()})),this._registerMouseListeners(),this._register(_.nm(l,_.tw.MOUSE_DOWN,e=>{this._onMouseDown=!0}))}static get(e){return e.getContribution(l.ID)}_disposeFocusStickyScrollStore(){var e;this._stickyScrollFocusedContextKey.set(!1),null===(e=this._focusDisposableStore)||void 0===e||e.dispose(),this._focused=!1,this._positionRevealed=!1,this._onMouseDown=!1}focus(){if(this._onMouseDown){this._onMouseDown=!1,this._editor.focus();return}let e=this._stickyScrollFocusedContextKey.get();!0!==e&&(this._focused=!0,this._focusDisposableStore=new m.SL,this._stickyScrollFocusedContextKey.set(!0),this._focusedStickyElementIndex=this._stickyScrollWidget.lineNumbers.length-1,this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex))}focusNext(){this._focusedStickyElementIndex0&&this._focusNav(!1)}selectEditor(){this._editor.focus()}_focusNav(e){this._focusedStickyElementIndex=e?this._focusedStickyElementIndex+1:this._focusedStickyElementIndex-1,this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex)}goToFocused(){let e=this._stickyScrollWidget.lineNumbers;this._disposeFocusStickyScrollStore(),this._revealPosition({lineNumber:e[this._focusedStickyElementIndex],column:1})}_revealPosition(e){this._reveaInEditor(e,()=>this._editor.revealPosition(e))}_revealLineInCenterIfOutsideViewport(e){this._reveaInEditor(e,()=>this._editor.revealLineInCenterIfOutsideViewport(e.lineNumber,0))}_reveaInEditor(e,t){this._focused&&this._disposeFocusStickyScrollStore(),this._positionRevealed=!0,t(),this._editor.setSelection(ed.e.fromPositions(e)),this._editor.focus()}_registerMouseListeners(){let e=this._register(new m.SL),t=this._register(new ea.yN(this._editor,{extractLineNumberFromMouseEvent:e=>{let t=this._stickyScrollWidget.getEditorPositionFromNode(e.target.element);return t?t.lineNumber:0}})),i=e=>{if(!this._editor.hasModel()||12!==e.target.type||e.target.detail!==this._stickyScrollWidget.getId())return null;let t=e.target.element;if(!t||t.innerText!==t.innerHTML)return null;let i=this._stickyScrollWidget.getEditorPositionFromNode(t);return i?{range:new ed.e(i.lineNumber,i.column,i.lineNumber,i.column+t.innerText.length),textElement:t}:null},n=this._stickyScrollWidget.getDomNode();this._register(_.mu(n,_.tw.CLICK,e=>{if(e.ctrlKey||e.altKey||e.metaKey||!e.leftButton)return;if(e.shiftKey){let t=this._stickyScrollWidget.getLineIndexFromChildDomNode(e.target);if(null===t)return;let i=new S.L(this._endLineNumbers[t],1);this._revealLineInCenterIfOutsideViewport(i);return}let t=this._stickyScrollWidget.isInFoldingIconDomNode(e.target);if(t){let t=this._stickyScrollWidget.getLineNumberFromChildDomNode(e.target);this._toggleFoldingRegionForLine(t);return}let i=this._stickyScrollWidget.isInStickyLine(e.target);if(!i)return;let n=this._stickyScrollWidget.getEditorPositionFromNode(e.target);if(!n){let t=this._stickyScrollWidget.getLineNumberFromChildDomNode(e.target);if(null===t)return;n=new S.L(t,1)}this._revealPosition(n)})),this._register(_.mu(n,_.tw.MOUSE_MOVE,e=>{if(e.shiftKey){let t=this._stickyScrollWidget.getLineIndexFromChildDomNode(e.target);if(null===t||null!==this._showEndForLine&&this._showEndForLine===t)return;this._showEndForLine=t,this._renderStickyScroll();return}null!==this._showEndForLine&&(this._showEndForLine=null,this._renderStickyScroll())})),this._register(_.nm(n,_.tw.MOUSE_LEAVE,e=>{null!==this._showEndForLine&&(this._showEndForLine=null,this._renderStickyScroll())})),this._register(t.onMouseMoveOrRelevantKeyDown(([t,n])=>{let s;let o=i(t);if(!o||!t.hasTriggerModifier||!this._editor.hasModel()){e.clear();return}let{range:r,textElement:l}=o;if(r.equalsRange(this._stickyRangeProjectedOnEditor)){if("underline"===l.style.textDecoration)return}else this._stickyRangeProjectedOnEditor=r,e.clear();let a=new O.AU;e.add((0,m.OF)(()=>a.dispose(!0))),(0,eh.nD)(this._languageFeaturesService.definitionProvider,this._editor.getModel(),new S.L(r.startLineNumber,r.startColumn+1),a.token).then(t=>{!a.token.isCancellationRequested&&(0!==t.length?(this._candidateDefinitionsLength=t.length,s!==l?(e.clear(),(s=l).style.textDecoration="underline",e.add((0,m.OF)(()=>{s.style.textDecoration="none"}))):s||((s=l).style.textDecoration="underline",e.add((0,m.OF)(()=>{s.style.textDecoration="none"})))):e.clear())})})),this._register(t.onCancel(()=>{e.clear()})),this._register(t.onExecute(async e=>{if(12!==e.target.type||e.target.detail!==this._stickyScrollWidget.getId())return;let t=this._stickyScrollWidget.getEditorPositionFromNode(e.target.element);t&&this._editor.hasModel()&&this._stickyRangeProjectedOnEditor&&(this._candidateDefinitionsLength>1&&(this._focused&&this._disposeFocusStickyScrollStore(),this._revealPosition({lineNumber:t.lineNumber,column:1})),this._instaService.invokeFunction(eu.K,e,this._editor,{uri:this._editor.getModel().uri,range:this._stickyRangeProjectedOnEditor}))}))}_onContextMenu(e,t){let i=new eg.n(e,t);this._contextMenuService.showContextMenu({menuId:u.eH.StickyScrollContext,getAnchor:()=>i})}_toggleFoldingRegionForLine(e){if(!this._foldingModel||null===e)return;let t=this._stickyScrollWidget.getRenderedStickyLine(e),i=null==t?void 0:t.foldingIcon;if(!i)return;(0,ep.d8)(this._foldingModel,Number.MAX_VALUE,[e]),i.isCollapsed=!i.isCollapsed;let n=(i.isCollapsed?this._editor.getTopForLineNumber(i.foldingEndLine):this._editor.getTopForLineNumber(i.foldingStartLine))-this._editor.getOption(67)*t.index+1;this._editor.setScrollTop(n),this._renderStickyScroll(e)}_readConfiguration(){let e=this._editor.getOption(115);if(!1===e.enabled){this._editor.removeOverlayWidget(this._stickyScrollWidget),this._sessionStore.clear(),this._enabled=!1;return}e.enabled&&!this._enabled&&(this._editor.addOverlayWidget(this._stickyScrollWidget),this._sessionStore.add(this._editor.onDidScrollChange(e=>{e.scrollTopChanged&&(this._showEndForLine=null,this._renderStickyScroll())})),this._sessionStore.add(this._editor.onDidLayoutChange(()=>this._onDidResize())),this._sessionStore.add(this._editor.onDidChangeModelTokens(e=>this._onTokensChange(e))),this._sessionStore.add(this._stickyLineCandidateProvider.onDidChangeStickyScroll(()=>{this._showEndForLine=null,this._renderStickyScroll()})),this._enabled=!0);let t=this._editor.getOption(68);2===t.renderType&&this._sessionStore.add(this._editor.onDidChangeCursorPosition(()=>{this._showEndForLine=null,this._renderStickyScroll(0)}))}_readConfigurationChange(e){(e.hasChanged(115)||e.hasChanged(73)||e.hasChanged(67)||e.hasChanged(110)||e.hasChanged(68))&&this._readConfiguration(),e.hasChanged(68)&&this._renderStickyScroll(0)}_needsUpdate(e){let t=this._stickyScrollWidget.getCurrentLines();for(let i of t)for(let t of e.ranges)if(i>=t.fromLineNumber&&i<=t.toLineNumber)return!0;return!1}_onTokensChange(e){this._needsUpdate(e)&&this._renderStickyScroll(0)}_onDidResize(){let e=this._editor.getLayoutInfo(),t=e.height/this._editor.getOption(67);this._maxStickyLines=Math.round(.25*t)}async _renderStickyScroll(e){var t,i;let n=this._editor.getModel();if(!n||n.isTooLargeForTokenization()){this._foldingModel=null,this._stickyScrollWidget.setState(void 0,null);return}let s=this._stickyLineCandidateProvider.getVersionId();if(void 0===s||s===n.getVersionId()){if(this._foldingModel=null!==(i=await (null===(t=V.f.get(this._editor))||void 0===t?void 0:t.getFoldingModel()))&&void 0!==i?i:null,this._widgetState=this.findScrollWidgetState(),this._stickyScrollVisibleContextKey.set(0!==this._widgetState.startLineNumbers.length),this._focused){if(-1===this._focusedStickyElementIndex)this._stickyScrollWidget.setState(this._widgetState,this._foldingModel,e),this._focusedStickyElementIndex=this._stickyScrollWidget.lineNumberCount-1,-1!==this._focusedStickyElementIndex&&this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex);else{let t=this._stickyScrollWidget.lineNumbers[this._focusedStickyElementIndex];if(this._stickyScrollWidget.setState(this._widgetState,this._foldingModel,e),0===this._stickyScrollWidget.lineNumberCount)this._focusedStickyElementIndex=-1;else{let e=this._stickyScrollWidget.lineNumbers.includes(t);e||(this._focusedStickyElementIndex=this._stickyScrollWidget.lineNumberCount-1),this._stickyScrollWidget.focusLineWithIndex(this._focusedStickyElementIndex)}}}else this._stickyScrollWidget.setState(this._widgetState,this._foldingModel,e)}}findScrollWidgetState(){let e=this._editor.getOption(67),t=Math.min(this._maxStickyLines,this._editor.getOption(115).maxLineCount),i=this._editor.getScrollTop(),n=0,s=[],o=[],r=this._editor.getVisibleRanges();if(0!==r.length){let l=new $(r[0].startLineNumber,r[r.length-1].endLineNumber),a=this._stickyLineCandidateProvider.getCandidateStickyLinesIntersecting(l);for(let r of a){let l=r.startLineNumber,a=r.endLineNumber,d=r.nestingDepth;if(a-l>0){let r=(d-1)*e,h=d*e,u=this._editor.getBottomForLineNumber(l)-i,c=this._editor.getTopForLineNumber(a)-i,g=this._editor.getBottomForLineNumber(a)-i;if(r>c&&r<=g){s.push(l),o.push(a+1),n=g-h;break}if(h>u&&h<=g&&(s.push(l),o.push(a+1)),s.length===t)break}}}return this._endLineNumbers=o,new N(s,o,n,this._showEndForLine)}dispose(){super.dispose(),this._sessionStore.dispose()}};ef.ID="store.contrib.stickyScrollController",ef=l=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([em(1,el.i),em(2,f.p),em(3,Q.TG),em(4,W.c_),em(5,ec.A),em(6,g.i6)],ef);class e_ extends u.Ke{constructor(){super({id:"editor.action.toggleStickyScroll",title:{...(0,d.vv)("toggleEditorStickyScroll","Toggle Editor Sticky Scroll"),mnemonicTitle:(0,d.NC)({key:"mitoggleStickyScroll",comment:["&& denotes a mnemonic"]},"&&Toggle Editor Sticky Scroll")},metadata:{description:(0,d.vv)("toggleEditorStickyScroll.description","Toggle/enable the editor sticky scroll which shows the nested scopes at the top of the viewport")},category:h.View,toggled:{condition:g.Ao.equals("config.editor.stickyScroll.enabled",!0),title:(0,d.NC)("stickyScroll","Sticky Scroll"),mnemonicTitle:(0,d.NC)({key:"miStickyScroll",comment:["&& denotes a mnemonic"]},"&&Sticky Scroll")},menu:[{id:u.eH.CommandPalette},{id:u.eH.MenubarAppearanceMenu,group:"4_editor",order:3},{id:u.eH.StickyScrollContext}]})}async run(e){let t=e.get(c.Ui),i=!t.getValue("editor.stickyScroll.enabled");return t.updateValue("editor.stickyScroll.enabled",i)}}class ev extends a.x1{constructor(){super({id:"editor.action.focusStickyScroll",title:{...(0,d.vv)("focusStickyScroll","Focus on the editor sticky scroll"),mnemonicTitle:(0,d.NC)({key:"mifocusStickyScroll",comment:["&& denotes a mnemonic"]},"&&Focus Sticky Scroll")},precondition:g.Ao.and(g.Ao.has("config.editor.stickyScroll.enabled"),p.u.stickyScrollVisible),menu:[{id:u.eH.CommandPalette}]})}runEditorCommand(e,t){var i;null===(i=ef.get(t))||void 0===i||i.focus()}}class eb extends a.x1{constructor(){super({id:"editor.action.selectNextStickyScrollLine",title:(0,d.vv)("selectNextStickyScrollLine.title","Select the next editor sticky scroll line"),precondition:p.u.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:100,primary:18}})}runEditorCommand(e,t){var i;null===(i=ef.get(t))||void 0===i||i.focusNext()}}class eC extends a.x1{constructor(){super({id:"editor.action.selectPreviousStickyScrollLine",title:(0,d.vv)("selectPreviousStickyScrollLine.title","Select the previous sticky scroll line"),precondition:p.u.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:100,primary:16}})}runEditorCommand(e,t){var i;null===(i=ef.get(t))||void 0===i||i.focusPrevious()}}class ew extends a.x1{constructor(){super({id:"editor.action.goToFocusedStickyScrollLine",title:(0,d.vv)("goToFocusedStickyScrollLine.title","Go to the focused sticky scroll line"),precondition:p.u.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:100,primary:3}})}runEditorCommand(e,t){var i;null===(i=ef.get(t))||void 0===i||i.goToFocused()}}class ey extends a.x1{constructor(){super({id:"editor.action.selectEditor",title:(0,d.vv)("selectEditor.title","Select Editor"),precondition:p.u.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:100,primary:9}})}runEditorCommand(e,t){var i;null===(i=ef.get(t))||void 0===i||i.selectEditor()}}(0,a._K)(ef.ID,ef,1),(0,u.r1)(e_),(0,u.r1)(ev),(0,u.r1)(eC),(0,u.r1)(eb),(0,u.r1)(ew),(0,u.r1)(ey)},74961:function(e,t,i){"use strict";i.d(t,{_:function(){return l},t:function(){return r}});var n=i(9488),s=i(60075),o=i(97295);class r{constructor(e,t){this.leadingLineContent=e,this.characterCountDelta=t}}class l{constructor(e,t,i,n,o,r,a=s.mX.default,d){this.clipboardText=d,this._snippetCompareFn=l._compareCompletionItems,this._items=e,this._column=t,this._wordDistance=n,this._options=o,this._refilterKind=1,this._lineContext=i,this._fuzzyScoreOptions=a,"top"===r?this._snippetCompareFn=l._compareCompletionItemsSnippetsUp:"bottom"===r&&(this._snippetCompareFn=l._compareCompletionItemsSnippetsDown)}get lineContext(){return this._lineContext}set lineContext(e){(this._lineContext.leadingLineContent!==e.leadingLineContent||this._lineContext.characterCountDelta!==e.characterCountDelta)&&(this._refilterKind=this._lineContext.characterCountDelta0&&i[0].container.incomplete&&e.add(t);return e}get stats(){return this._ensureCachedState(),this._stats}_ensureCachedState(){0!==this._refilterKind&&this._createCachedState()}_createCachedState(){this._itemsByProvider=new Map;let e=[],{leadingLineContent:t,characterCountDelta:i}=this._lineContext,r="",l="",a=1===this._refilterKind?this._items:this._filteredItems,d=[],h=!this._options.filterGraceful||a.length>2e3?s.EW:s.l7;for(let n=0;n=p)u.score=s.CL.Default;else if("string"==typeof u.completion.filterText){let t=h(r,l,e,u.completion.filterText,u.filterTextLow,0,this._fuzzyScoreOptions);if(!t)continue;0===(0,o.zY)(u.completion.filterText,u.textLabel)?u.score=t:(u.score=(0,s.jB)(r,l,e,u.textLabel,u.labelLow,0),u.score[0]=t[0])}else{let t=h(r,l,e,u.textLabel,u.labelLow,0,this._fuzzyScoreOptions);if(!t)continue;u.score=t}}u.idx=n,u.distance=this._wordDistance.distance(u.position,u.completion),d.push(u),e.push(u.textLabel.length)}this._filteredItems=d.sort(this._snippetCompareFn),this._refilterKind=0,this._stats={pLabelLen:e.length?(0,n.HW)(e.length-.85,e,(e,t)=>e-t):0}}static _compareCompletionItems(e,t){return e.score[0]>t.score[0]?-1:e.score[0]t.distance?1:e.idxt.idx?1:0}static _compareCompletionItemsSnippetsDown(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return 1;if(27===t.completion.kind)return -1}return l._compareCompletionItems(e,t)}static _compareCompletionItemsSnippetsUp(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return -1;if(27===t.completion.kind)return 1}return l._compareCompletionItems(e,t)}}},55621:function(e,t,i){"use strict";let n;i.d(t,{A9:function(){return L},GI:function(){return y},ZJ:function(){return k},_y:function(){return w},i5:function(){return I},kL:function(){return x},tG:function(){return T}});var s=i(71050),o=i(17301),r=i(60075),l=i(5976),a=i(84013),d=i(98401),h=i(70666),u=i(50187),c=i(24314),g=i(88216),p=i(35084),m=i(63580),f=i(84144),_=i(94565),v=i(32064),b=i(71922),C=i(37726);let w={Visible:C.iX,HasFocusedSuggestion:new v.uy("suggestWidgetHasFocusedSuggestion",!1,(0,m.NC)("suggestWidgetHasSelection","Whether any suggestion is focused")),DetailsVisible:new v.uy("suggestWidgetDetailsVisible",!1,(0,m.NC)("suggestWidgetDetailsVisible","Whether suggestion details are visible")),MultipleSuggestions:new v.uy("suggestWidgetMultipleSuggestions",!1,(0,m.NC)("suggestWidgetMultipleSuggestions","Whether there are multiple suggestions to pick from")),MakesTextEdit:new v.uy("suggestionMakesTextEdit",!0,(0,m.NC)("suggestionMakesTextEdit","Whether inserting the current suggestion yields in a change or has everything already been typed")),AcceptSuggestionsOnEnter:new v.uy("acceptSuggestionOnEnter",!0,(0,m.NC)("acceptSuggestionOnEnter","Whether suggestions are inserted when pressing Enter")),HasInsertAndReplaceRange:new v.uy("suggestionHasInsertAndReplaceRange",!1,(0,m.NC)("suggestionHasInsertAndReplaceRange","Whether the current suggestion has insert and replace behaviour")),InsertMode:new v.uy("suggestionInsertMode",void 0,{type:"string",description:(0,m.NC)("suggestionInsertMode","Whether the default behaviour is to insert or replace")}),CanResolve:new v.uy("suggestionCanResolve",!1,(0,m.NC)("suggestionCanResolve","Whether the current suggestion supports to resolve further details"))},y=new f.eH("suggestWidgetStatusBar");class S{constructor(e,t,i,n){var s;this.position=e,this.completion=t,this.container=i,this.provider=n,this.isInvalid=!1,this.score=r.CL.Default,this.distance=0,this.textLabel="string"==typeof t.label?t.label:null===(s=t.label)||void 0===s?void 0:s.label,this.labelLow=this.textLabel.toLowerCase(),this.isInvalid=!this.textLabel,this.sortTextLow=t.sortText&&t.sortText.toLowerCase(),this.filterTextLow=t.filterText&&t.filterText.toLowerCase(),this.extensionId=t.extensionId,c.e.isIRange(t.range)?(this.editStart=new u.L(t.range.startLineNumber,t.range.startColumn),this.editInsertEnd=new u.L(t.range.endLineNumber,t.range.endColumn),this.editReplaceEnd=new u.L(t.range.endLineNumber,t.range.endColumn),this.isInvalid=this.isInvalid||c.e.spansMultipleLines(t.range)||t.range.startLineNumber!==e.lineNumber):(this.editStart=new u.L(t.range.insert.startLineNumber,t.range.insert.startColumn),this.editInsertEnd=new u.L(t.range.insert.endLineNumber,t.range.insert.endColumn),this.editReplaceEnd=new u.L(t.range.replace.endLineNumber,t.range.replace.endColumn),this.isInvalid=this.isInvalid||c.e.spansMultipleLines(t.range.insert)||c.e.spansMultipleLines(t.range.replace)||t.range.insert.startLineNumber!==e.lineNumber||t.range.replace.startLineNumber!==e.lineNumber||t.range.insert.startColumn!==t.range.replace.startColumn),"function"!=typeof n.resolveCompletionItem&&(this._resolveCache=Promise.resolve(),this._resolveDuration=0)}get isResolved(){return void 0!==this._resolveDuration}get resolveDuration(){return void 0!==this._resolveDuration?this._resolveDuration:-1}async resolve(e){if(!this._resolveCache){let t=e.onCancellationRequested(()=>{this._resolveCache=void 0,this._resolveDuration=void 0}),i=new a.G(!0);this._resolveCache=Promise.resolve(this.provider.resolveCompletionItem(this.completion,e)).then(e=>{Object.assign(this.completion,e),this._resolveDuration=i.elapsed()},e=>{(0,o.n2)(e)&&(this._resolveCache=void 0,this._resolveDuration=void 0)}).finally(()=>{t.dispose()})}return this._resolveCache}}class L{constructor(e=2,t=new Set,i=new Set,n=new Map,s=!0){this.snippetSortOrder=e,this.kindFilter=t,this.providerFilter=i,this.providerItemsToReuse=n,this.showDeprecated=s}}function k(){return n}L.default=new L;class D{constructor(e,t,i,n){this.items=e,this.needsClipboard=t,this.durations=i,this.disposable=n}}async function x(e,t,i,r=L.default,d={triggerKind:0},h=s.Ts.None){var u;let g=new a.G;i=i.clone();let m=t.getWordAtPosition(i),f=m?new c.e(i.lineNumber,m.startColumn,i.lineNumber,m.endColumn):c.e.fromPositions(i),_={replace:f,insert:f.setEndPosition(i.lineNumber,i.column)},v=[],b=new l.SL,C=[],w=!1,y=(e,t,n)=>{var s,o,a;let d=!1;if(!t)return d;for(let n of t.suggestions)if(!r.kindFilter.has(n.kind)){if(!r.showDeprecated&&(null===(s=null==n?void 0:n.tags)||void 0===s?void 0:s.includes(1)))continue;n.range||(n.range=_),n.sortText||(n.sortText="string"==typeof n.label?n.label:n.label.label),!w&&n.insertTextRules&&4&n.insertTextRules&&(w=p.Yj.guessNeedsClipboard(n.insertText)),v.push(new S(i,n,t,e)),d=!0}return(0,l.Wf)(t)&&b.add(t),C.push({providerName:null!==(o=e._debugDisplayName)&&void 0!==o?o:"unknown_provider",elapsedProvider:null!==(a=t.duration)&&void 0!==a?a:-1,elapsedOverall:n.elapsed()}),d},k=(async()=>{if(!n||r.kindFilter.has(27))return;let e=r.providerItemsToReuse.get(n);if(e){e.forEach(e=>v.push(e));return}if(r.providerFilter.size>0&&!r.providerFilter.has(n))return;let s=new a.G,o=await n.provideCompletionItems(t,i,d,h);y(n,o,s)})();for(let n of e.orderedGroups(t)){let e=!1;if(await Promise.all(n.map(async n=>{if(r.providerItemsToReuse.has(n)){let t=r.providerItemsToReuse.get(n);t.forEach(e=>v.push(e)),e=e||t.length>0;return}if(!(r.providerFilter.size>0)||r.providerFilter.has(n))try{let s=new a.G,o=await n.provideCompletionItems(t,i,d,h);e=y(n,o,s)||e}catch(e){(0,o.Cp)(e)}})),e||h.isCancellationRequested)break}return(await k,h.isCancellationRequested)?(b.dispose(),Promise.reject(new o.FU)):new D(v.sort((u=r.snippetSortOrder,E.get(u))),w,{entries:C,elapsed:g.elapsed()},b)}function N(e,t){if(e.sortTextLow&&t.sortTextLow){if(e.sortTextLowt.sortTextLow)return 1}return e.textLabelt.textLabel?1:e.completion.kind-t.completion.kind}let E=new Map;function I(e,t){var i;null===(i=e.getContribution("editor.contrib.suggestController"))||void 0===i||i.triggerSuggest(new Set().add(t),void 0,!0)}E.set(0,function(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return -1;if(27===t.completion.kind)return 1}return N(e,t)}),E.set(2,function(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return 1;if(27===t.completion.kind)return -1}return N(e,t)}),E.set(1,N),_.P.registerCommand("_executeCompletionItemProvider",async(e,...t)=>{let[i,n,o,r]=t;(0,d.p_)(h.o.isUri(i)),(0,d.p_)(u.L.isIPosition(n)),(0,d.p_)("string"==typeof o||!o),(0,d.p_)("number"==typeof r||!r);let{completionProvider:l}=e.get(b.p),a=await e.get(g.S).createModelReference(i);try{let e={incomplete:!1,suggestions:[]},t=[],i=a.object.textEditorModel.validatePosition(n),d=await x(l,a.object.textEditorModel,i,void 0,{triggerCharacter:null!=o?o:void 0,triggerKind:o?1:0});for(let i of d.items)t.length<(null!=r?r:0)&&t.push(i.resolve(s.Ts.None)),e.incomplete=e.incomplete||i.container.incomplete,e.suggestions.push(i.completion);try{return await Promise.all(t),e}finally{setTimeout(()=>d.disposable.dispose(),100)}}finally{a.dispose()}});class T{static isAllOff(e){return"off"===e.other&&"off"===e.comments&&"off"===e.strings}static isAllOn(e){return"on"===e.other&&"on"===e.comments&&"on"===e.strings}static valueFor(e,t){switch(t){case 1:return e.comments;case 2:return e.strings;default:return e.other}}}},73802:function(e,t,i){"use strict";i.d(t,{n:function(){return eq}});var n,s,o,r,l,a,d,h,u,c,g=i(85152),p=i(9488),m=i(71050),f=i(17301),_=i(4669),v=i(8313),b=i(5976),C=i(1432),w=i(84013),y=i(98401),S=i(43407),L=i(16830),k=i(69386),D=i(50187),x=i(24314),N=i(29102),E=i(98762),I=i(35084),T=i(80378),M=i(32064);let R=l=class{constructor(e,t){this._editor=e,this._enabled=!1,this._ckAtEnd=l.AtEnd.bindTo(t),this._configListener=this._editor.onDidChangeConfiguration(e=>e.hasChanged(123)&&this._update()),this._update()}dispose(){var e;this._configListener.dispose(),null===(e=this._selectionListener)||void 0===e||e.dispose(),this._ckAtEnd.reset()}_update(){let e="on"===this._editor.getOption(123);if(this._enabled!==e){if(this._enabled=e,this._enabled){let e=()=>{if(!this._editor.hasModel()){this._ckAtEnd.set(!1);return}let e=this._editor.getModel(),t=this._editor.getSelection(),i=e.getWordAtPosition(t.getStartPosition());if(!i){this._ckAtEnd.set(!1);return}this._ckAtEnd.set(i.endColumn===t.getStartPosition().column)};this._selectionListener=this._editor.onDidChangeCursorSelection(e),e()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)}}};R.AtEnd=new M.uy("atEndOfWord",!1),R=l=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=M.i6,function(e,t){n(e,t,1)})],R);var A=i(63580),P=i(94565),O=i(72065),F=i(43557),B=i(55621);let W=a=class{constructor(e,t){this._editor=e,this._index=0,this._ckOtherSuggestions=a.OtherSuggestions.bindTo(t)}dispose(){this.reset()}reset(){var e;this._ckOtherSuggestions.reset(),null===(e=this._listener)||void 0===e||e.dispose(),this._model=void 0,this._acceptNext=void 0,this._ignore=!1}set({model:e,index:t},i){if(0===e.items.length){this.reset();return}let n=a._moveIndex(!0,e,t);if(n===t){this.reset();return}this._acceptNext=i,this._model=e,this._index=t,this._listener=this._editor.onDidChangeCursorPosition(()=>{this._ignore||this.reset()}),this._ckOtherSuggestions.set(!0)}static _moveIndex(e,t,i){let n=i;for(let s=t.items.length;s>0&&(n=(n+t.items.length+(e?1:-1))%t.items.length)!==i&&t.items[n].completion.additionalTextEdits;s--);return n}next(){this._move(!0)}prev(){this._move(!1)}_move(e){if(this._model)try{this._ignore=!0,this._index=a._moveIndex(e,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}}};W.OtherSuggestions=new M.uy("hasOtherSuggestions",!1),W=a=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(s=M.i6,function(e,t){s(e,t,1)})],W);var H=i(44906);class V{constructor(e,t,i,n){this._disposables=new b.SL,this._disposables.add(i.onDidSuggest(e=>{0===e.completionModel.items.length&&this.reset()})),this._disposables.add(i.onDidCancel(e=>{this.reset()})),this._disposables.add(t.onDidShow(()=>this._onItem(t.getFocusedItem()))),this._disposables.add(t.onDidFocus(this._onItem,this)),this._disposables.add(t.onDidHide(this.reset,this)),this._disposables.add(e.onWillType(s=>{if(this._active&&!t.isFrozen()&&0!==i.state){let t=s.charCodeAt(s.length-1);this._active.acceptCharacters.has(t)&&e.getOption(0)&&n(this._active.item)}}))}_onItem(e){if(!e||!(0,p.Of)(e.item.completion.commitCharacters)){this.reset();return}if(this._active&&this._active.item.item===e.item)return;let t=new H.q;for(let i of e.item.completion.commitCharacters)i.length>0&&t.add(i.charCodeAt(0));this._active={acceptCharacters:t,item:e}}reset(){this._active=void 0}dispose(){this._disposables.dispose()}}var z=i(85996);class K{constructor(e,t){this._disposables=new b.SL,this._lastOvertyped=[],this._locked=!1,this._disposables.add(e.onWillType(()=>{if(this._locked||!e.hasModel())return;let t=e.getSelections(),i=t.length,n=!1;for(let e=0;eK._maxSelectionLength)return;this._lastOvertyped[e]={value:s.getValueInRange(i),multiline:i.startLineNumber!==i.endLineNumber}}})),this._disposables.add(t.onDidTrigger(e=>{this._locked=!0})),this._disposables.add(t.onDidCancel(e=>{this._locked=!1}))}getLastOvertypedInfo(e){if(e>=0&&ee instanceof J.U8?i.createInstance(ee,e,void 0):void 0;this._leftActions=new Z.o(this.element,{actionViewItemProvider:o}),this._rightActions=new Z.o(this.element,{actionViewItemProvider:o}),this._leftActions.domNode.classList.add("left"),this._rightActions.domNode.classList.add("right")}dispose(){this._menuDisposables.dispose(),this._leftActions.dispose(),this._rightActions.dispose(),this.element.remove()}show(){let e=this._menuService.createMenu(this._menuId,this._contextKeyService),t=()=>{let t=[],i=[];for(let[n,s]of e.getActions())"left"===n?t.push(...s):i.push(...s);this._leftActions.clear(),this._leftActions.push(t),this._rightActions.clear(),this._rightActions.push(i)};this._menuDisposables.add(e.onDidChange(()=>t())),this._menuDisposables.add(e)}hide(){this._menuDisposables.clear()}};et=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([X(2,O.TG),X(3,J.co),X(4,M.i6)],et),i(71713);var ei=i(87060),en=i(75974),es=i(92321),eo=i(97781),er=i(17735),el=i(18967),ea=i(78789),ed=i(25670),eh=i(59365),eu=i(72545);function ec(e){return!!e&&!!(e.completion.documentation||e.completion.detail&&e.completion.detail!==e.completion.label)}let eg=class{constructor(e,t){this._editor=e,this._onDidClose=new _.Q5,this.onDidClose=this._onDidClose.event,this._onDidChangeContents=new _.Q5,this.onDidChangeContents=this._onDidChangeContents.event,this._disposables=new b.SL,this._renderDisposeable=new b.SL,this._borderWidth=1,this._size=new U.Ro(330,0),this.domNode=U.$(".suggest-details"),this.domNode.classList.add("no-docs"),this._markdownRenderer=t.createInstance(eu.$,{editor:e}),this._body=U.$(".body"),this._scrollbar=new el.s$(this._body,{alwaysConsumeMouseWheel:!0}),U.R3(this.domNode,this._scrollbar.getDomNode()),this._disposables.add(this._scrollbar),this._header=U.R3(this._body,U.$(".header")),this._close=U.R3(this._header,U.$("span"+ed.k.asCSSSelector(ea.l.close))),this._close.title=A.NC("details.close","Close"),this._type=U.R3(this._header,U.$("p.type")),this._docs=U.R3(this._body,U.$("p.docs")),this._configureFont(),this._disposables.add(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(50)&&this._configureFont()}))}dispose(){this._disposables.dispose(),this._renderDisposeable.dispose()}_configureFont(){let e=this._editor.getOptions(),t=e.get(50),i=t.getMassagedFontFamily(),n=e.get(119)||t.fontSize,s=e.get(120)||t.lineHeight,o=t.fontWeight,r=`${n}px`,l=`${s}px`;this.domNode.style.fontSize=r,this.domNode.style.lineHeight=`${s/n}`,this.domNode.style.fontWeight=o,this.domNode.style.fontFeatureSettings=t.fontFeatureSettings,this._type.style.fontFamily=i,this._close.style.height=l,this._close.style.width=l}getLayoutInfo(){let e=this._editor.getOption(120)||this._editor.getOption(50).lineHeight,t=this._borderWidth;return{lineHeight:e,borderWidth:t,borderHeight:2*t,verticalPadding:22,horizontalPadding:14}}renderLoading(){this._type.textContent=A.NC("loading","Loading..."),this._docs.textContent="",this.domNode.classList.remove("no-docs","no-type"),this.layout(this.size.width,2*this.getLayoutInfo().lineHeight),this._onDidChangeContents.fire(this)}renderItem(e,t){var i,n;this._renderDisposeable.clear();let{detail:s,documentation:o}=e.completion;if(t){let t="";t+=`score: ${e.score[0]} -prefix: ${null!==(i=e.word)&&void 0!==i?i:"(no prefix)"} -word: ${e.completion.filterText?e.completion.filterText+" (filterText)":e.textLabel} -distance: ${e.distance} (localityBonus-setting) -index: ${e.idx}, based on ${e.completion.sortText&&`sortText: "${e.completion.sortText}"`||"label"} -commit_chars: ${null===(n=e.completion.commitCharacters)||void 0===n?void 0:n.join("")} -`,o=new eh.W5().appendCodeblock("empty",t),s=`Provider: ${e.provider._debugDisplayName}`}if(!t&&!ec(e)){this.clearContents();return}if(this.domNode.classList.remove("no-docs","no-type"),s){let e=s.length>1e5?`${s.substr(0,1e5)}…`:s;this._type.textContent=e,this._type.title=e,U.$Z(this._type),this._type.classList.toggle("auto-wrap",!/\r?\n^\s+/gmi.test(e))}else U.PO(this._type),this._type.title="",U.Cp(this._type),this.domNode.classList.add("no-type");if(U.PO(this._docs),"string"==typeof o)this._docs.classList.remove("markdown-docs"),this._docs.textContent=o;else if(o){this._docs.classList.add("markdown-docs"),U.PO(this._docs);let e=this._markdownRenderer.render(o);this._docs.appendChild(e.element),this._renderDisposeable.add(e),this._renderDisposeable.add(this._markdownRenderer.onDidRenderAsync(()=>{this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)}))}this.domNode.style.userSelect="text",this.domNode.tabIndex=-1,this._close.onmousedown=e=>{e.preventDefault(),e.stopPropagation()},this._close.onclick=e=>{e.preventDefault(),e.stopPropagation(),this._onDidClose.fire()},this._body.scrollTop=0,this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)}clearContents(){this.domNode.classList.add("no-docs"),this._type.textContent="",this._docs.textContent=""}get isEmpty(){return this.domNode.classList.contains("no-docs")}get size(){return this._size}layout(e,t){let i=new U.Ro(e,t);U.Ro.equals(i,this._size)||(this._size=i,U.dp(this.domNode,e,t)),this._scrollbar.scanDomNode()}scrollDown(e=8){this._body.scrollTop+=e}scrollUp(e=8){this._body.scrollTop-=e}scrollTop(){this._body.scrollTop=0}scrollBottom(){this._body.scrollTop=this._body.scrollHeight}pageDown(){this.scrollDown(80)}pageUp(){this.scrollUp(80)}set borderWidth(e){this._borderWidth=e}get borderWidth(){return this._borderWidth}};eg=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(o=O.TG,function(e,t){o(e,t,1)})],eg);class ep{constructor(e,t){let i,n;this.widget=e,this._editor=t,this.allowEditorOverflow=!0,this._disposables=new b.SL,this._added=!1,this._preferAlignAtTop=!0,this._resizable=new er.f,this._resizable.domNode.classList.add("suggest-details-container"),this._resizable.domNode.appendChild(e.domNode),this._resizable.enableSashes(!1,!0,!0,!1);let s=0,o=0;this._disposables.add(this._resizable.onDidWillResize(()=>{i=this._topLeft,n=this._resizable.size})),this._disposables.add(this._resizable.onDidResize(e=>{if(i&&n){this.widget.layout(e.dimension.width,e.dimension.height);let t=!1;e.west&&(o=n.width-e.dimension.width,t=!0),e.north&&(s=n.height-e.dimension.height,t=!0),t&&this._applyTopLeft({top:i.top+s,left:i.left+o})}e.done&&(i=void 0,n=void 0,s=0,o=0,this._userSize=e.dimension)})),this._disposables.add(this.widget.onDidChangeContents(()=>{var e;this._anchorBox&&this._placeAtAnchor(this._anchorBox,null!==(e=this._userSize)&&void 0!==e?e:this.widget.size,this._preferAlignAtTop)}))}dispose(){this._resizable.dispose(),this._disposables.dispose(),this.hide()}getId(){return"suggest.details"}getDomNode(){return this._resizable.domNode}getPosition(){return this._topLeft?{preference:this._topLeft}:null}show(){this._added||(this._editor.addOverlayWidget(this),this._added=!0)}hide(e=!1){this._resizable.clearSashHoverState(),this._added&&(this._editor.removeOverlayWidget(this),this._added=!1,this._anchorBox=void 0,this._topLeft=void 0),e&&(this._userSize=void 0,this.widget.clearContents())}placeAtAnchor(e,t){var i;let n=e.getBoundingClientRect();this._anchorBox=n,this._preferAlignAtTop=t,this._placeAtAnchor(this._anchorBox,null!==(i=this._userSize)&&void 0!==i?i:this.widget.size,t)}_placeAtAnchor(e,t,i){var n;let s,o;let r=U.D6(this.getDomNode().ownerDocument.body),l=this.widget.getLayoutInfo(),a=new U.Ro(220,2*l.lineHeight),d=e.top,h=function(){let i=r.width-(e.left+e.width+l.borderWidth+l.horizontalPadding),n=-l.borderWidth+e.left+e.width,s=new U.Ro(i,r.height-e.top-l.borderHeight-l.verticalPadding),o=s.with(void 0,e.top+e.height-l.borderHeight-l.verticalPadding);return{top:d,left:n,fit:i-t.width,maxSizeTop:s,maxSizeBottom:o,minSize:a.with(Math.min(i,a.width))}}(),u=function(){let i=e.left-l.borderWidth-l.horizontalPadding,n=Math.max(l.horizontalPadding,e.left-t.width-l.borderWidth),s=new U.Ro(i,r.height-e.top-l.borderHeight-l.verticalPadding),o=s.with(void 0,e.top+e.height-l.borderHeight-l.verticalPadding);return{top:d,left:n,fit:i-t.width,maxSizeTop:s,maxSizeBottom:o,minSize:a.with(Math.min(i,a.width))}}(),c=function(){let i=e.left,n=-l.borderWidth+e.top+e.height,s=new U.Ro(e.width-l.borderHeight,r.height-e.top-e.height-l.verticalPadding);return{top:n,left:i,fit:s.height-t.height,maxSizeBottom:s,maxSizeTop:s,minSize:a.with(s.width)}}(),g=[h,u,c],p=null!==(n=g.find(e=>e.fit>=0))&&void 0!==n?n:g.sort((e,t)=>t.fit-e.fit)[0],m=e.top+e.height-l.borderHeight,f=t.height,_=Math.max(p.maxSizeTop.height,p.maxSizeBottom.height);f>_&&(f=_),i?f<=p.maxSizeTop.height?(s=!0,o=p.maxSizeTop):(s=!1,o=p.maxSizeBottom):f<=p.maxSizeBottom.height?(s=!1,o=p.maxSizeBottom):(s=!0,o=p.maxSizeTop);let{top:v,left:b}=p;!s&&f>e.height&&(v=m-f);let C=this._editor.getDomNode();if(C){let e=C.getBoundingClientRect();v-=e.top,b-=e.left}this._applyTopLeft({left:b,top:v}),this._resizable.enableSashes(!s,p===h,s,p!==h),this._resizable.minSize=p.minSize,this._resizable.maxSize=o,this._resizable.layout(f,Math.min(o.width,t.width)),this.widget.layout(this._resizable.size.width,this._resizable.size.height)}_applyTopLeft(e){this._topLeft=e,this._editor.layoutOverlayWidget(this)}}var em=i(59834),ef=i(60075),e_=i(70666),ev=i(43155),eb=i(66663),eC=i(95935),ew=i(68801);(r=d||(d={}))[r.FILE=0]="FILE",r[r.FOLDER=1]="FOLDER",r[r.ROOT_FOLDER=2]="ROOT_FOLDER";let ey=/(?:\/|^)(?:([^\/]+)\/)?([^\/]+)$/;function eS(e,t,i,n,s){if(ed.k.isThemeIcon(s))return[`codicon-${s.id}`,"predefined-file-icon"];if(e_.o.isUri(s))return[];let o=n===d.ROOT_FOLDER?["rootfolder-icon"]:n===d.FOLDER?["folder-icon"]:["file-icon"];if(i){let s;if(i.scheme===eb.lg.data){let e=eC.Vb.parseMetaData(i);s=e.get(eC.Vb.META_DATA_LABEL)}else{let e=i.path.match(ey);e?(s=eL(e[2].toLowerCase()),e[1]&&o.push(`${eL(e[1].toLowerCase())}-name-dir-icon`)):s=eL(i.authority.toLowerCase())}if(n===d.ROOT_FOLDER)o.push(`${s}-root-name-folder-icon`);else if(n===d.FOLDER)o.push(`${s}-name-folder-icon`);else{if(s){if(o.push(`${s}-name-file-icon`),o.push("name-file-icon"),s.length<=255){let e=s.split(".");for(let t=1;t{let t=this._editor.getOptions(),n=t.get(50),s=n.getMassagedFontFamily(),r=n.fontFeatureSettings,l=t.get(119)||n.fontSize,a=t.get(120)||n.lineHeight,d=n.fontWeight,h=n.letterSpacing,u=`${l}px`,c=`${a}px`,p=`${h}px`;e.style.fontSize=u,e.style.fontWeight=d,e.style.letterSpacing=p,o.style.fontFamily=s,o.style.fontFeatureSettings=r,o.style.lineHeight=c,i.style.height=c,i.style.width=c,g.style.height=c,g.style.width=c}}}renderElement(e,t,i){i.configureFont();let{completion:n}=e;i.root.id=eE(t),i.colorspan.style.backgroundColor="";let s={labelEscapeNewLines:!0,matches:(0,ef.mB)(e.score)},o=[];if(19===n.kind&&eT.extract(e,o))i.icon.className="icon customcolor",i.iconContainer.className="icon hide",i.colorspan.style.backgroundColor=o[0];else if(20===n.kind&&this._themeService.getFileIconTheme().hasFileIcons){i.icon.className="icon hide",i.iconContainer.className="icon hide";let t=eS(this._modelService,this._languageService,e_.o.from({scheme:"fake",path:e.textLabel}),d.FILE),o=eS(this._modelService,this._languageService,e_.o.from({scheme:"fake",path:n.detail}),d.FILE);s.extraClasses=t.length>o.length?t:o}else 23===n.kind&&this._themeService.getFileIconTheme().hasFolderIcons?(i.icon.className="icon hide",i.iconContainer.className="icon hide",s.extraClasses=[eS(this._modelService,this._languageService,e_.o.from({scheme:"fake",path:e.textLabel}),d.FOLDER),eS(this._modelService,this._languageService,e_.o.from({scheme:"fake",path:n.detail}),d.FOLDER)].flat()):(i.icon.className="icon hide",i.iconContainer.className="",i.iconContainer.classList.add("suggest-icon",...ed.k.asClassNameArray(ev.gX.toIcon(n.kind))));n.tags&&n.tags.indexOf(1)>=0&&(s.extraClasses=(s.extraClasses||[]).concat(["deprecated"]),s.matches=[]),i.iconLabel.setLabel(e.textLabel,void 0,s),"string"==typeof n.label?(i.parametersLabel.textContent="",i.detailsLabel.textContent=eR(n.detail||""),i.root.classList.add("string-label")):(i.parametersLabel.textContent=eR(n.label.detail||""),i.detailsLabel.textContent=eR(n.label.description||""),i.root.classList.remove("string-label")),this._editor.getOption(118).showInlineDetails?(0,U.$Z)(i.detailsLabel):(0,U.Cp)(i.detailsLabel),ec(e)?(i.right.classList.add("can-expand-details"),(0,U.$Z)(i.readMore),i.readMore.onmousedown=e=>{e.stopPropagation(),e.preventDefault()},i.readMore.onclick=e=>{e.stopPropagation(),e.preventDefault(),this._onDidToggleDetails.fire()}):(i.right.classList.remove("can-expand-details"),(0,U.Cp)(i.readMore),i.readMore.onmousedown=null,i.readMore.onclick=null)}disposeTemplate(e){e.disposables.dispose()}};function eR(e){return e.replace(/\r\n|\r|\n/g,"")}eM=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([eN(1,ek.q),eN(2,eD.O),eN(3,eo.XE)],eM);var eA=i(86253),eP=function(e,t){return function(i,n){t(i,n,e)}};(0,en.P6G)("editorSuggestWidget.background",{dark:en.D0T,light:en.D0T,hcDark:en.D0T,hcLight:en.D0T},A.NC("editorSuggestWidgetBackground","Background color of the suggest widget.")),(0,en.P6G)("editorSuggestWidget.border",{dark:en.D1_,light:en.D1_,hcDark:en.D1_,hcLight:en.D1_},A.NC("editorSuggestWidgetBorder","Border color of the suggest widget."));let eO=(0,en.P6G)("editorSuggestWidget.foreground",{dark:en.NOs,light:en.NOs,hcDark:en.NOs,hcLight:en.NOs},A.NC("editorSuggestWidgetForeground","Foreground color of the suggest widget."));(0,en.P6G)("editorSuggestWidget.selectedForeground",{dark:en.NPS,light:en.NPS,hcDark:en.NPS,hcLight:en.NPS},A.NC("editorSuggestWidgetSelectedForeground","Foreground color of the selected entry in the suggest widget.")),(0,en.P6G)("editorSuggestWidget.selectedIconForeground",{dark:en.cbQ,light:en.cbQ,hcDark:en.cbQ,hcLight:en.cbQ},A.NC("editorSuggestWidgetSelectedIconForeground","Icon foreground color of the selected entry in the suggest widget."));let eF=(0,en.P6G)("editorSuggestWidget.selectedBackground",{dark:en.Vqd,light:en.Vqd,hcDark:en.Vqd,hcLight:en.Vqd},A.NC("editorSuggestWidgetSelectedBackground","Background color of the selected entry in the suggest widget."));(0,en.P6G)("editorSuggestWidget.highlightForeground",{dark:en.Gwp,light:en.Gwp,hcDark:en.Gwp,hcLight:en.Gwp},A.NC("editorSuggestWidgetHighlightForeground","Color of the match highlights in the suggest widget.")),(0,en.P6G)("editorSuggestWidget.focusHighlightForeground",{dark:en.PX0,light:en.PX0,hcDark:en.PX0,hcLight:en.PX0},A.NC("editorSuggestWidgetFocusHighlightForeground","Color of the match highlights in the suggest widget when an item is focused.")),(0,en.P6G)("editorSuggestWidgetStatus.foreground",{dark:(0,en.ZnX)(eO,.5),light:(0,en.ZnX)(eO,.5),hcDark:(0,en.ZnX)(eO,.5),hcLight:(0,en.ZnX)(eO,.5)},A.NC("editorSuggestWidgetStatusForeground","Foreground color of the suggest widget status."));class eB{constructor(e,t){this._service=e,this._key=`suggestWidget.size/${t.getEditorType()}/${t instanceof Q.H}`}restore(){var e;let t=null!==(e=this._service.get(this._key,0))&&void 0!==e?e:"";try{let e=JSON.parse(t);if(U.Ro.is(e))return U.Ro.lift(e)}catch(e){}}store(e){this._service.store(this._key,JSON.stringify(e),0,1)}reset(){this._service.remove(this._key,0)}}let eW=u=class{constructor(e,t,i,n,s){let o;this.editor=e,this._storageService=t,this._state=0,this._isAuto=!1,this._pendingLayout=new b.XK,this._pendingShowDetails=new b.XK,this._ignoreFocusEvents=!1,this._forceRenderingAbove=!1,this._explainMode=!1,this._showTimeout=new q._F,this._disposables=new b.SL,this._onDidSelect=new _.K3,this._onDidFocus=new _.K3,this._onDidHide=new _.Q5,this._onDidShow=new _.Q5,this.onDidSelect=this._onDidSelect.event,this.onDidFocus=this._onDidFocus.event,this.onDidHide=this._onDidHide.event,this.onDidShow=this._onDidShow.event,this._onDetailsKeydown=new _.Q5,this.onDetailsKeyDown=this._onDetailsKeydown.event,this.element=new er.f,this.element.domNode.classList.add("editor-widget","suggest-widget"),this._contentWidget=new eH(this,e),this._persistedSize=new eB(t,e);class r{constructor(e,t,i=!1,n=!1){this.persistedSize=e,this.currentSize=t,this.persistHeight=i,this.persistWidth=n}}this._disposables.add(this.element.onDidWillResize(()=>{this._contentWidget.lockPreference(),o=new r(this._persistedSize.restore(),this.element.size)})),this._disposables.add(this.element.onDidResize(e=>{var t,i,n,s;if(this._resize(e.dimension.width,e.dimension.height),o&&(o.persistHeight=o.persistHeight||!!e.north||!!e.south,o.persistWidth=o.persistWidth||!!e.east||!!e.west),e.done){if(o){let{itemHeight:e,defaultSize:r}=this.getLayoutInfo(),l=Math.round(e/2),{width:a,height:d}=this.element.size;(!o.persistHeight||Math.abs(o.currentSize.height-d)<=l)&&(d=null!==(i=null===(t=o.persistedSize)||void 0===t?void 0:t.height)&&void 0!==i?i:r.height),(!o.persistWidth||Math.abs(o.currentSize.width-a)<=l)&&(a=null!==(s=null===(n=o.persistedSize)||void 0===n?void 0:n.width)&&void 0!==s?s:r.width),this._persistedSize.store(new U.Ro(a,d))}this._contentWidget.unlockPreference(),o=void 0}})),this._messageElement=U.R3(this.element.domNode,U.$(".message")),this._listElement=U.R3(this.element.domNode,U.$(".tree"));let l=this._disposables.add(s.createInstance(eg,this.editor));l.onDidClose(this.toggleDetails,this,this._disposables),this._details=new ep(l,this.editor);let a=()=>this.element.domNode.classList.toggle("no-icons",!this.editor.getOption(118).showIcons);a();let d=s.createInstance(eM,this.editor);this._disposables.add(d),this._disposables.add(d.onDidToggleDetails(()=>this.toggleDetails())),this._list=new $.aV("SuggestWidget",this._listElement,{getHeight:e=>this.getLayoutInfo().itemHeight,getTemplateId:e=>"suggestion"},[d],{alwaysConsumeMouseWheel:!0,useShadows:!1,mouseSupport:!1,multipleSelectionSupport:!1,accessibilityProvider:{getRole:()=>"option",getWidgetAriaLabel:()=>A.NC("suggest","Suggest"),getWidgetRole:()=>"listbox",getAriaLabel:e=>{let t=e.textLabel;if("string"!=typeof e.completion.label){let{detail:i,description:n}=e.completion.label;i&&n?t=A.NC("label.full","{0} {1}, {2}",t,i,n):i?t=A.NC("label.detail","{0} {1}",t,i):n&&(t=A.NC("label.desc","{0}, {1}",t,n))}if(!e.isResolved||!this._isDetailsVisible())return t;let{documentation:i,detail:n}=e.completion,s=G.WU("{0}{1}",n||"",i?"string"==typeof i?i:i.value:"");return A.NC("ariaCurrenttSuggestionReadDetails","{0}, docs: {1}",t,s)}}}),this._list.style((0,eA.TU)({listInactiveFocusBackground:eF,listInactiveFocusOutline:en.xL1})),this._status=s.createInstance(et,this.element.domNode,B.GI);let h=()=>this.element.domNode.classList.toggle("with-status-bar",this.editor.getOption(118).showStatusBar);h(),this._disposables.add(n.onDidColorThemeChange(e=>this._onThemeChange(e))),this._onThemeChange(n.getColorTheme()),this._disposables.add(this._list.onMouseDown(e=>this._onListMouseDownOrTap(e))),this._disposables.add(this._list.onTap(e=>this._onListMouseDownOrTap(e))),this._disposables.add(this._list.onDidChangeSelection(e=>this._onListSelection(e))),this._disposables.add(this._list.onDidChangeFocus(e=>this._onListFocus(e))),this._disposables.add(this.editor.onDidChangeCursorSelection(()=>this._onCursorSelectionChanged())),this._disposables.add(this.editor.onDidChangeConfiguration(e=>{e.hasChanged(118)&&(h(),a()),this._completionModel&&(e.hasChanged(50)||e.hasChanged(119)||e.hasChanged(120))&&this._list.splice(0,this._list.length,this._completionModel.items)})),this._ctxSuggestWidgetVisible=B._y.Visible.bindTo(i),this._ctxSuggestWidgetDetailsVisible=B._y.DetailsVisible.bindTo(i),this._ctxSuggestWidgetMultipleSuggestions=B._y.MultipleSuggestions.bindTo(i),this._ctxSuggestWidgetHasFocusedSuggestion=B._y.HasFocusedSuggestion.bindTo(i),this._disposables.add(U.mu(this._details.widget.domNode,"keydown",e=>{this._onDetailsKeydown.fire(e)})),this._disposables.add(this.editor.onMouseDown(e=>this._onEditorMouseDown(e)))}dispose(){var e;this._details.widget.dispose(),this._details.dispose(),this._list.dispose(),this._status.dispose(),this._disposables.dispose(),null===(e=this._loadingTimeout)||void 0===e||e.dispose(),this._pendingLayout.dispose(),this._pendingShowDetails.dispose(),this._showTimeout.dispose(),this._contentWidget.dispose(),this.element.dispose()}_onEditorMouseDown(e){this._details.widget.domNode.contains(e.target.element)?this._details.widget.domNode.focus():this.element.domNode.contains(e.target.element)&&this.editor.focus()}_onCursorSelectionChanged(){0!==this._state&&this._contentWidget.layout()}_onListMouseDownOrTap(e){void 0!==e.element&&void 0!==e.index&&(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation(),this._select(e.element,e.index))}_onListSelection(e){e.elements.length&&this._select(e.elements[0],e.indexes[0])}_select(e,t){let i=this._completionModel;i&&(this._onDidSelect.fire({item:e,index:t,model:i}),this.editor.focus())}_onThemeChange(e){this._details.widget.borderWidth=(0,es.c3)(e.type)?2:1}_onListFocus(e){var t;if(this._ignoreFocusEvents)return;if(!e.elements.length){this._currentSuggestionDetails&&(this._currentSuggestionDetails.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=void 0),this.editor.setAriaOptions({activeDescendant:void 0}),this._ctxSuggestWidgetHasFocusedSuggestion.set(!1);return}if(!this._completionModel)return;this._ctxSuggestWidgetHasFocusedSuggestion.set(!0);let i=e.elements[0],n=e.indexes[0];i!==this._focusedItem&&(null===(t=this._currentSuggestionDetails)||void 0===t||t.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=i,this._list.reveal(n),this._currentSuggestionDetails=(0,q.PG)(async e=>{let t=(0,q.Vg)(()=>{this._isDetailsVisible()&&this.showDetails(!0)},250),n=e.onCancellationRequested(()=>t.dispose());try{return await i.resolve(e)}finally{t.dispose(),n.dispose()}}),this._currentSuggestionDetails.then(()=>{n>=this._list.length||i!==this._list.element(n)||(this._ignoreFocusEvents=!0,this._list.splice(n,1,[i]),this._list.setFocus([n]),this._ignoreFocusEvents=!1,this._isDetailsVisible()?this.showDetails(!1):this.element.domNode.classList.remove("docs-side"),this.editor.setAriaOptions({activeDescendant:eE(n)}))}).catch(f.dL)),this._onDidFocus.fire({item:i,index:n,model:this._completionModel})}_setState(e){if(this._state!==e)switch(this._state=e,this.element.domNode.classList.toggle("frozen",4===e),this.element.domNode.classList.remove("message"),e){case 0:U.Cp(this._messageElement,this._listElement,this._status.element),this._details.hide(!0),this._status.hide(),this._contentWidget.hide(),this._ctxSuggestWidgetVisible.reset(),this._ctxSuggestWidgetMultipleSuggestions.reset(),this._ctxSuggestWidgetHasFocusedSuggestion.reset(),this._showTimeout.cancel(),this.element.domNode.classList.remove("visible"),this._list.splice(0,this._list.length),this._focusedItem=void 0,this._cappedHeight=void 0,this._explainMode=!1;break;case 1:this.element.domNode.classList.add("message"),this._messageElement.textContent=u.LOADING_MESSAGE,U.Cp(this._listElement,this._status.element),U.$Z(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0,(0,g.i7)(u.LOADING_MESSAGE);break;case 2:this.element.domNode.classList.add("message"),this._messageElement.textContent=u.NO_SUGGESTIONS_MESSAGE,U.Cp(this._listElement,this._status.element),U.$Z(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0,(0,g.i7)(u.NO_SUGGESTIONS_MESSAGE);break;case 3:case 4:U.Cp(this._messageElement),U.$Z(this._listElement,this._status.element),this._show();break;case 5:U.Cp(this._messageElement),U.$Z(this._listElement,this._status.element),this._details.show(),this._show()}}_show(){this._status.show(),this._contentWidget.show(),this._layout(this._persistedSize.restore()),this._ctxSuggestWidgetVisible.set(!0),this._showTimeout.cancelAndSet(()=>{this.element.domNode.classList.add("visible"),this._onDidShow.fire(this)},100)}showTriggered(e,t){0===this._state&&(this._contentWidget.setPosition(this.editor.getPosition()),this._isAuto=!!e,this._isAuto||(this._loadingTimeout=(0,q.Vg)(()=>this._setState(1),t)))}showSuggestions(e,t,i,n,s){var o,r;if(this._contentWidget.setPosition(this.editor.getPosition()),null===(o=this._loadingTimeout)||void 0===o||o.dispose(),null===(r=this._currentSuggestionDetails)||void 0===r||r.cancel(),this._currentSuggestionDetails=void 0,this._completionModel!==e&&(this._completionModel=e),i&&2!==this._state&&0!==this._state){this._setState(4);return}let l=this._completionModel.items.length,a=0===l;if(this._ctxSuggestWidgetMultipleSuggestions.set(l>1),a){this._setState(n?0:2),this._completionModel=void 0;return}this._focusedItem=void 0,this._onDidFocus.pause(),this._onDidSelect.pause();try{this._list.splice(0,this._list.length,this._completionModel.items),this._setState(i?4:3),this._list.reveal(t,0),this._list.setFocus(s?[]:[t])}finally{this._onDidFocus.resume(),this._onDidSelect.resume()}this._pendingLayout.value=U.lI(U.Jj(this.element.domNode),()=>{this._pendingLayout.clear(),this._layout(this.element.size),this._details.widget.domNode.classList.remove("focused")})}focusSelected(){this._list.length>0&&this._list.setFocus([0])}selectNextPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageDown(),!0;case 1:return!this._isAuto;default:return this._list.focusNextPage(),!0}}selectNext(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusNext(1,!0),!0}}selectLast(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollBottom(),!0;case 1:return!this._isAuto;default:return this._list.focusLast(),!0}}selectPreviousPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageUp(),!0;case 1:return!this._isAuto;default:return this._list.focusPreviousPage(),!0}}selectPrevious(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusPrevious(1,!0),!1}}selectFirst(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollTop(),!0;case 1:return!this._isAuto;default:return this._list.focusFirst(),!0}}getFocusedItem(){if(0!==this._state&&2!==this._state&&1!==this._state&&this._completionModel&&this._list.getFocus().length>0)return{item:this._list.getFocusedElements()[0],index:this._list.getFocus()[0],model:this._completionModel}}toggleDetailsFocus(){5===this._state?(this._setState(3),this._details.widget.domNode.classList.remove("focused")):3===this._state&&this._isDetailsVisible()&&(this._setState(5),this._details.widget.domNode.classList.add("focused"))}toggleDetails(){this._isDetailsVisible()?(this._pendingShowDetails.clear(),this._ctxSuggestWidgetDetailsVisible.set(!1),this._setDetailsVisible(!1),this._details.hide(),this.element.domNode.classList.remove("shows-details")):(ec(this._list.getFocusedElements()[0])||this._explainMode)&&(3===this._state||5===this._state||4===this._state)&&(this._ctxSuggestWidgetDetailsVisible.set(!0),this._setDetailsVisible(!0),this.showDetails(!1))}showDetails(e){this._pendingShowDetails.value=U.lI(U.Jj(this.element.domNode),()=>{this._pendingShowDetails.clear(),this._details.show(),e?this._details.widget.renderLoading():this._details.widget.renderItem(this._list.getFocusedElements()[0],this._explainMode),this._details.widget.isEmpty?this._details.hide():(this._positionDetails(),this.element.domNode.classList.add("shows-details")),this.editor.focus()})}toggleExplainMode(){this._list.getFocusedElements()[0]&&(this._explainMode=!this._explainMode,this._isDetailsVisible()?this.showDetails(!1):this.toggleDetails())}resetPersistedSize(){this._persistedSize.reset()}hideWidget(){var e;this._pendingLayout.clear(),this._pendingShowDetails.clear(),null===(e=this._loadingTimeout)||void 0===e||e.dispose(),this._setState(0),this._onDidHide.fire(this),this.element.clearSashHoverState();let t=this._persistedSize.restore(),i=Math.ceil(4.3*this.getLayoutInfo().itemHeight);t&&t.heighta&&(l=a);let d=this._completionModel?this._completionModel.stats.pLabelLen*o.typicalHalfwidthCharacterWidth:l,h=o.statusBarHeight+this._list.contentHeight+o.borderHeight,u=o.itemHeight+o.statusBarHeight,c=U.i(this.editor.getDomNode()),g=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),p=c.top+g.top+g.height,m=Math.min(s.height-p-o.verticalPadding,h),f=c.top+g.top-o.verticalPadding,_=Math.min(f,h),v=Math.min(Math.max(_,m)+o.borderHeight,h);r===(null===(t=this._cappedHeight)||void 0===t?void 0:t.capped)&&(r=this._cappedHeight.wanted),rv&&(r=v),r>m||this._forceRenderingAbove&&f>150?(this._contentWidget.setPreference(1),this.element.enableSashes(!0,!0,!1,!1),v=_):(this._contentWidget.setPreference(2),this.element.enableSashes(!1,!0,!0,!1),v=m),this.element.preferredSize=new U.Ro(d,o.defaultSize.height),this.element.maxSize=new U.Ro(a,v),this.element.minSize=new U.Ro(220,u),this._cappedHeight=r===h?{wanted:null!==(n=null===(i=this._cappedHeight)||void 0===i?void 0:i.wanted)&&void 0!==n?n:e.height,capped:r}:void 0}this._resize(l,r)}_resize(e,t){let{width:i,height:n}=this.element.maxSize;e=Math.min(i,e),t=Math.min(n,t);let{statusBarHeight:s}=this.getLayoutInfo();this._list.layout(t-s,e),this._listElement.style.height=`${t-s}px`,this.element.layout(t,e),this._contentWidget.layout(),this._positionDetails()}_positionDetails(){var e;this._isDetailsVisible()&&this._details.placeAtAnchor(this.element.domNode,(null===(e=this._contentWidget.getPosition())||void 0===e?void 0:e.preference[0])===2)}getLayoutInfo(){let e=this.editor.getOption(50),t=(0,j.uZ)(this.editor.getOption(120)||e.lineHeight,8,1e3),i=this.editor.getOption(118).showStatusBar&&2!==this._state&&1!==this._state?t:0,n=this._details.widget.borderWidth,s=2*n;return{itemHeight:t,statusBarHeight:i,borderWidth:n,borderHeight:s,typicalHalfwidthCharacterWidth:e.typicalHalfwidthCharacterWidth,verticalPadding:22,horizontalPadding:14,defaultSize:new U.Ro(430,i+12*t+s)}}_isDetailsVisible(){return this._storageService.getBoolean("expandSuggestionDocs",0,!1)}_setDetailsVisible(e){this._storageService.store("expandSuggestionDocs",e,0,0)}forceRenderingAbove(){this._forceRenderingAbove||(this._forceRenderingAbove=!0,this._layout(this._persistedSize.restore()))}stopForceRenderingAbove(){this._forceRenderingAbove=!1}};eW.LOADING_MESSAGE=A.NC("suggestWidget.loading","Loading..."),eW.NO_SUGGESTIONS_MESSAGE=A.NC("suggestWidget.noSuggestions","No suggestions."),eW=u=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([eP(1,ei.Uy),eP(2,M.i6),eP(3,eo.XE),eP(4,O.TG)],eW);class eH{constructor(e,t){this._widget=e,this._editor=t,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._preferenceLocked=!1,this._added=!1,this._hidden=!1}dispose(){this._added&&(this._added=!1,this._editor.removeContentWidget(this))}getId(){return"editor.widget.suggestWidget"}getDomNode(){return this._widget.element.domNode}show(){this._hidden=!1,this._added||(this._added=!0,this._editor.addContentWidget(this))}hide(){this._hidden||(this._hidden=!0,this.layout())}layout(){this._editor.layoutContentWidget(this)}getPosition(){return!this._hidden&&this._position&&this._preference?{position:this._position,preference:[this._preference]}:null}beforeRender(){let{height:e,width:t}=this._widget.element.size,{borderWidth:i,horizontalPadding:n}=this._widget.getLayoutInfo();return new U.Ro(t+2*i+n,e+2*i)}afterRender(e){this._widget._afterRender(e)}setPreference(e){this._preferenceLocked||(this._preference=e)}lockPreference(){this._preferenceLocked=!0}unlockPreference(){this._preferenceLocked=!1}setPosition(e){this._position=e}}var eV=i(10829),ez=i(89954),eK=i(84901),eU=function(e,t){return function(i,n){t(i,n,e)}};class e${constructor(e,t){this._model=e,this._position=t,this._decorationOptions=eK.qx.register({description:"suggest-line-suffix",stickiness:1});let i=e.getLineMaxColumn(t.lineNumber);if(i!==t.column){let i=e.getOffsetAt(t),n=e.getPositionAt(i+1);e.changeDecorations(e=>{this._marker&&e.removeDecoration(this._marker),this._marker=e.addDecoration(x.e.fromPositions(t,n),this._decorationOptions)})}}dispose(){this._marker&&!this._model.isDisposed()&&this._model.changeDecorations(e=>{e.removeDecoration(this._marker),this._marker=void 0})}delta(e){if(this._model.isDisposed()||this._position.lineNumber!==e.lineNumber)return 0;if(!this._marker)return this._model.getLineMaxColumn(e.lineNumber)-e.column;{let t=this._model.getDecorationRange(this._marker),i=this._model.getOffsetAt(t.getStartPosition());return i-this._model.getOffsetAt(e)}}}let eq=c=class{static get(e){return e.getContribution(c.ID)}constructor(e,t,i,n,s,o,r){this._memoryService=t,this._commandService=i,this._contextKeyService=n,this._instantiationService=s,this._logService=o,this._telemetryService=r,this._lineSuffix=new b.XK,this._toDispose=new b.SL,this._selectors=new ej(e=>e.priority),this._onWillInsertSuggestItem=new _.Q5,this.onWillInsertSuggestItem=this._onWillInsertSuggestItem.event,this.editor=e,this.model=s.createInstance(z.U,this.editor),this._selectors.register({priority:0,select:(e,t,i)=>this._memoryService.select(e,t,i)});let l=B._y.InsertMode.bindTo(n);l.set(e.getOption(118).insertMode),this._toDispose.add(this.model.onDidTrigger(()=>l.set(e.getOption(118).insertMode))),this.widget=this._toDispose.add(new U.vx((0,U.Jj)(e.getDomNode()),()=>{let e=this._instantiationService.createInstance(eW,this.editor);this._toDispose.add(e),this._toDispose.add(e.onDidSelect(e=>this._insertSuggestion(e,0),this));let t=new V(this.editor,e,this.model,e=>this._insertSuggestion(e,2));this._toDispose.add(t);let i=B._y.MakesTextEdit.bindTo(this._contextKeyService),n=B._y.HasInsertAndReplaceRange.bindTo(this._contextKeyService),s=B._y.CanResolve.bindTo(this._contextKeyService);return this._toDispose.add((0,b.OF)(()=>{i.reset(),n.reset(),s.reset()})),this._toDispose.add(e.onDidFocus(({item:e})=>{let t=this.editor.getPosition(),o=e.editStart.column,r=t.column,l=!0;if("smart"===this.editor.getOption(1)&&2===this.model.state&&!e.completion.additionalTextEdits&&!(4&e.completion.insertTextRules)&&r-o===e.completion.insertText.length){let i=this.editor.getModel().getValueInRange({startLineNumber:t.lineNumber,startColumn:o,endLineNumber:t.lineNumber,endColumn:r});l=i!==e.completion.insertText}i.set(l),n.set(!D.L.equals(e.editInsertEnd,e.editReplaceEnd)),s.set(!!e.provider.resolveCompletionItem||!!e.completion.documentation||e.completion.detail!==e.completion.label)})),this._toDispose.add(e.onDetailsKeyDown(e=>{if(e.toKeyCodeChord().equals(new v.$M(!0,!1,!1,!1,33))||C.dz&&e.toKeyCodeChord().equals(new v.$M(!1,!1,!1,!0,33))){e.stopPropagation();return}e.toKeyCodeChord().isModifierKey()||this.editor.focus()})),e})),this._overtypingCapturer=this._toDispose.add(new U.vx((0,U.Jj)(e.getDomNode()),()=>this._toDispose.add(new K(this.editor,this.model)))),this._alternatives=this._toDispose.add(new U.vx((0,U.Jj)(e.getDomNode()),()=>this._toDispose.add(new W(this.editor,this._contextKeyService)))),this._toDispose.add(s.createInstance(R,e)),this._toDispose.add(this.model.onDidTrigger(e=>{this.widget.value.showTriggered(e.auto,e.shy?250:50),this._lineSuffix.value=new e$(this.editor.getModel(),e.position)})),this._toDispose.add(this.model.onDidSuggest(e=>{if(e.triggerOptions.shy)return;let t=-1;for(let i of this._selectors.itemsOrderedByPriorityDesc)if(-1!==(t=i.select(this.editor.getModel(),this.editor.getPosition(),e.completionModel.items)))break;if(-1===t&&(t=0),0===this.model.state)return;let i=!1;if(e.triggerOptions.auto){let t=this.editor.getOption(118);"never"===t.selectionMode||"always"===t.selectionMode?i="never"===t.selectionMode:"whenTriggerCharacter"===t.selectionMode?i=1!==e.triggerOptions.triggerKind:"whenQuickSuggestion"===t.selectionMode&&(i=1===e.triggerOptions.triggerKind&&!e.triggerOptions.refilter)}this.widget.value.showSuggestions(e.completionModel,t,e.isFrozen,e.triggerOptions.auto,i)})),this._toDispose.add(this.model.onDidCancel(e=>{e.retrigger||this.widget.value.hideWidget()})),this._toDispose.add(this.editor.onDidBlurEditorWidget(()=>{this.model.cancel(),this.model.clear()}));let a=B._y.AcceptSuggestionsOnEnter.bindTo(n),d=()=>{let e=this.editor.getOption(1);a.set("on"===e||"smart"===e)};this._toDispose.add(this.editor.onDidChangeConfiguration(()=>d())),d()}dispose(){this._alternatives.dispose(),this._toDispose.dispose(),this.widget.dispose(),this.model.dispose(),this._lineSuffix.dispose(),this._onWillInsertSuggestItem.dispose()}_insertSuggestion(e,t){if(!e||!e.item){this._alternatives.value.reset(),this.model.cancel(),this.model.clear();return}if(!this.editor.hasModel())return;let i=E.f.get(this.editor);if(!i)return;this._onWillInsertSuggestItem.fire({item:e.item});let n=this.editor.getModel(),s=n.getAlternativeVersionId(),{item:o}=e,r=[],l=new m.AU;1&t||this.editor.pushUndoStop();let a=this.getOverwriteInfo(o,!!(8&t));this._memoryService.memorize(n,this.editor.getPosition(),o);let d=o.isResolved,h=-1,u=-1;if(Array.isArray(o.completion.additionalTextEdits)){this.model.cancel();let e=S.Z.capture(this.editor);this.editor.executeEdits("suggestController.additionalTextEdits.sync",o.completion.additionalTextEdits.map(e=>{let t=x.e.lift(e.range);if(t.startLineNumber===o.position.lineNumber&&t.startColumn>o.position.column){let e=this.editor.getPosition().column-o.position.column,i=x.e.spansMultipleLines(t)?0:e;t=new x.e(t.startLineNumber,t.startColumn+e,t.endLineNumber,t.endColumn+i)}return k.h.replaceMove(t,e.text)})),e.restoreRelativeVerticalPositionOfCursor(this.editor)}else if(!d){let e;let i=new w.G,s=n.onDidChangeContent(t=>{if(t.isFlush){l.cancel(),s.dispose();return}for(let i of t.changes){let t=x.e.getEndPosition(i.range);(!e||D.L.isBefore(t,e))&&(e=t)}}),a=t;t|=2;let d=!1,h=this.editor.onWillType(()=>{h.dispose(),d=!0,2&a||this.editor.pushUndoStop()});r.push(o.resolve(l.token).then(()=>{if(!o.completion.additionalTextEdits||l.token.isCancellationRequested)return;if(e&&o.completion.additionalTextEdits.some(t=>D.L.isBefore(e,x.e.getStartPosition(t.range))))return!1;d&&this.editor.pushUndoStop();let t=S.Z.capture(this.editor);return this.editor.executeEdits("suggestController.additionalTextEdits.async",o.completion.additionalTextEdits.map(e=>k.h.replaceMove(x.e.lift(e.range),e.text))),t.restoreRelativeVerticalPositionOfCursor(this.editor),(d||!(2&a))&&this.editor.pushUndoStop(),!0}).then(e=>{this._logService.trace("[suggest] async resolving of edits DONE (ms, applied?)",i.elapsed(),e),u=!0===e?1:!1===e?0:-2}).finally(()=>{s.dispose(),h.dispose()}))}let{insertText:c}=o.completion;if(4&o.completion.insertTextRules||(c=I.Yj.escape(c)),this.model.cancel(),i.insert(c,{overwriteBefore:a.overwriteBefore,overwriteAfter:a.overwriteAfter,undoStopBefore:!1,undoStopAfter:!1,adjustWhitespace:!(1&o.completion.insertTextRules),clipboardText:e.model.clipboardText,overtypingCapturer:this._overtypingCapturer.value}),2&t||this.editor.pushUndoStop(),o.completion.command){if(o.completion.command.id===eG.id)this.model.trigger({auto:!0,retrigger:!0});else{let e=new w.G;r.push(this._commandService.executeCommand(o.completion.command.id,...o.completion.command.arguments?[...o.completion.command.arguments]:[]).catch(e=>{o.completion.extensionId?(0,f.Cp)(e):(0,f.dL)(e)}).finally(()=>{h=e.elapsed()}))}}4&t&&this._alternatives.value.set(e,e=>{for(l.cancel();n.canUndo();){s!==n.getAlternativeVersionId()&&n.undo(),this._insertSuggestion(e,3|(8&t?8:0));break}}),this._alertCompletionItem(o),Promise.all(r).finally(()=>{this._reportSuggestionAcceptedTelemetry(o,n,d,h,u),this.model.clear(),l.dispose()})}_reportSuggestionAcceptedTelemetry(e,t,i,n,s){var o,r,l;0!==Math.floor(100*Math.random())&&this._telemetryService.publicLog2("suggest.acceptedSuggestion",{extensionId:null!==(r=null===(o=e.extensionId)||void 0===o?void 0:o.value)&&void 0!==r?r:"unknown",providerId:null!==(l=e.provider._debugDisplayName)&&void 0!==l?l:"unknown",kind:e.completion.kind,basenameHash:(0,ez.vp)((0,eC.EZ)(t.uri)).toString(16),languageId:t.getLanguageId(),fileExtension:(0,eC.DZ)(t.uri),resolveInfo:e.provider.resolveCompletionItem?i?1:0:-1,resolveDuration:e.resolveDuration,commandDuration:n,additionalEditsAsync:s})}getOverwriteInfo(e,t){(0,y.p_)(this.editor.hasModel());let i="replace"===this.editor.getOption(118).insertMode;t&&(i=!i);let n=e.position.column-e.editStart.column,s=(i?e.editReplaceEnd.column:e.editInsertEnd.column)-e.position.column,o=this.editor.getPosition().column-e.position.column,r=this._lineSuffix.value?this._lineSuffix.value.delta(this.editor.getPosition()):0;return{overwriteBefore:n+o,overwriteAfter:s+r}}_alertCompletionItem(e){if((0,p.Of)(e.completion.additionalTextEdits)){let t=A.NC("aria.alert.snippet","Accepting '{0}' made {1} additional edits",e.textLabel,e.completion.additionalTextEdits.length);(0,g.Z9)(t)}}triggerSuggest(e,t,i){this.editor.hasModel()&&(this.model.trigger({auto:null!=t&&t,completionOptions:{providerFilter:e,kindFilter:i?new Set:void 0}}),this.editor.revealPosition(this.editor.getPosition(),0),this.editor.focus())}triggerSuggestAndAcceptBest(e){if(!this.editor.hasModel())return;let t=this.editor.getPosition(),i=()=>{t.equals(this.editor.getPosition())&&this._commandService.executeCommand(e.fallback)},n=e=>{if(4&e.completion.insertTextRules||e.completion.additionalTextEdits)return!0;let t=this.editor.getPosition(),i=e.editStart.column,n=t.column;if(n-i!==e.completion.insertText.length)return!0;let s=this.editor.getModel().getValueInRange({startLineNumber:t.lineNumber,startColumn:i,endLineNumber:t.lineNumber,endColumn:n});return s!==e.completion.insertText};_.ju.once(this.model.onDidTrigger)(e=>{let t=[];_.ju.any(this.model.onDidTrigger,this.model.onDidCancel)(()=>{(0,b.B9)(t),i()},void 0,t),this.model.onDidSuggest(({completionModel:e})=>{if((0,b.B9)(t),0===e.items.length){i();return}let s=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),e.items),o=e.items[s];if(!n(o)){i();return}this.editor.pushUndoStop(),this._insertSuggestion({index:s,item:o,model:e},7)},void 0,t)}),this.model.trigger({auto:!1,shy:!0}),this.editor.revealPosition(t,0),this.editor.focus()}acceptSelectedSuggestion(e,t){let i=this.widget.value.getFocusedItem(),n=0;e&&(n|=4),t&&(n|=8),this._insertSuggestion(i,n)}acceptNextSuggestion(){this._alternatives.value.next()}acceptPrevSuggestion(){this._alternatives.value.prev()}cancelSuggestWidget(){this.model.cancel(),this.model.clear(),this.widget.value.hideWidget()}focusSuggestion(){this.widget.value.focusSelected()}selectNextSuggestion(){this.widget.value.selectNext()}selectNextPageSuggestion(){this.widget.value.selectNextPage()}selectLastSuggestion(){this.widget.value.selectLast()}selectPrevSuggestion(){this.widget.value.selectPrevious()}selectPrevPageSuggestion(){this.widget.value.selectPreviousPage()}selectFirstSuggestion(){this.widget.value.selectFirst()}toggleSuggestionDetails(){this.widget.value.toggleDetails()}toggleExplainMode(){this.widget.value.toggleExplainMode()}toggleSuggestionFocus(){this.widget.value.toggleDetailsFocus()}resetWidgetSize(){this.widget.value.resetPersistedSize()}forceRenderingAbove(){this.widget.value.forceRenderingAbove()}stopForceRenderingAbove(){this.widget.isInitialized&&this.widget.value.stopForceRenderingAbove()}registerSelector(e){return this._selectors.register(e)}};eq.ID="editor.contrib.suggestController",eq=c=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([eU(1,T.Fh),eU(2,P.H),eU(3,M.i6),eU(4,O.TG),eU(5,F.VZ),eU(6,eV.b)],eq);class ej{constructor(e){this.prioritySelector=e,this._items=[]}register(e){if(-1!==this._items.indexOf(e))throw Error("Value is already registered");return this._items.push(e),this._items.sort((e,t)=>this.prioritySelector(t)-this.prioritySelector(e)),{dispose:()=>{let t=this._items.indexOf(e);t>=0&&this._items.splice(t,1)}}}get itemsOrderedByPriorityDesc(){return this._items}}class eG extends L.R6{constructor(){super({id:eG.id,label:A.NC("suggest.trigger.label","Trigger Suggest"),alias:"Trigger Suggest",precondition:M.Ao.and(N.u.writable,N.u.hasCompletionItemProvider,B._y.Visible.toNegated()),kbOpts:{kbExpr:N.u.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[521,2087]},weight:100}})}run(e,t,i){let n;let s=eq.get(t);s&&(i&&"object"==typeof i&&!0===i.auto&&(n=!0),s.triggerSuggest(void 0,n,void 0))}}eG.id="editor.action.triggerSuggest",(0,L._K)(eq.ID,eq,2),(0,L.Qr)(eG);let eQ=L._l.bindToContribution(eq.get);(0,L.fK)(new eQ({id:"acceptSelectedSuggestion",precondition:M.Ao.and(B._y.Visible,B._y.HasFocusedSuggestion),handler(e){e.acceptSelectedSuggestion(!0,!1)},kbOpts:[{primary:2,kbExpr:M.Ao.and(B._y.Visible,N.u.textInputFocus),weight:190},{primary:3,kbExpr:M.Ao.and(B._y.Visible,N.u.textInputFocus,B._y.AcceptSuggestionsOnEnter,B._y.MakesTextEdit),weight:190}],menuOpts:[{menuId:B.GI,title:A.NC("accept.insert","Insert"),group:"left",order:1,when:B._y.HasInsertAndReplaceRange.toNegated()},{menuId:B.GI,title:A.NC("accept.insert","Insert"),group:"left",order:1,when:M.Ao.and(B._y.HasInsertAndReplaceRange,B._y.InsertMode.isEqualTo("insert"))},{menuId:B.GI,title:A.NC("accept.replace","Replace"),group:"left",order:1,when:M.Ao.and(B._y.HasInsertAndReplaceRange,B._y.InsertMode.isEqualTo("replace"))}]})),(0,L.fK)(new eQ({id:"acceptAlternativeSelectedSuggestion",precondition:M.Ao.and(B._y.Visible,N.u.textInputFocus,B._y.HasFocusedSuggestion),kbOpts:{weight:190,kbExpr:N.u.textInputFocus,primary:1027,secondary:[1026]},handler(e){e.acceptSelectedSuggestion(!1,!0)},menuOpts:[{menuId:B.GI,group:"left",order:2,when:M.Ao.and(B._y.HasInsertAndReplaceRange,B._y.InsertMode.isEqualTo("insert")),title:A.NC("accept.replace","Replace")},{menuId:B.GI,group:"left",order:2,when:M.Ao.and(B._y.HasInsertAndReplaceRange,B._y.InsertMode.isEqualTo("replace")),title:A.NC("accept.insert","Insert")}]})),P.P.registerCommandAlias("acceptSelectedSuggestionOnEnter","acceptSelectedSuggestion"),(0,L.fK)(new eQ({id:"hideSuggestWidget",precondition:B._y.Visible,handler:e=>e.cancelSuggestWidget(),kbOpts:{weight:190,kbExpr:N.u.textInputFocus,primary:9,secondary:[1033]}})),(0,L.fK)(new eQ({id:"selectNextSuggestion",precondition:M.Ao.and(B._y.Visible,M.Ao.or(B._y.MultipleSuggestions,B._y.HasFocusedSuggestion.negate())),handler:e=>e.selectNextSuggestion(),kbOpts:{weight:190,kbExpr:N.u.textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})),(0,L.fK)(new eQ({id:"selectNextPageSuggestion",precondition:M.Ao.and(B._y.Visible,M.Ao.or(B._y.MultipleSuggestions,B._y.HasFocusedSuggestion.negate())),handler:e=>e.selectNextPageSuggestion(),kbOpts:{weight:190,kbExpr:N.u.textInputFocus,primary:12,secondary:[2060]}})),(0,L.fK)(new eQ({id:"selectLastSuggestion",precondition:M.Ao.and(B._y.Visible,M.Ao.or(B._y.MultipleSuggestions,B._y.HasFocusedSuggestion.negate())),handler:e=>e.selectLastSuggestion()})),(0,L.fK)(new eQ({id:"selectPrevSuggestion",precondition:M.Ao.and(B._y.Visible,M.Ao.or(B._y.MultipleSuggestions,B._y.HasFocusedSuggestion.negate())),handler:e=>e.selectPrevSuggestion(),kbOpts:{weight:190,kbExpr:N.u.textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})),(0,L.fK)(new eQ({id:"selectPrevPageSuggestion",precondition:M.Ao.and(B._y.Visible,M.Ao.or(B._y.MultipleSuggestions,B._y.HasFocusedSuggestion.negate())),handler:e=>e.selectPrevPageSuggestion(),kbOpts:{weight:190,kbExpr:N.u.textInputFocus,primary:11,secondary:[2059]}})),(0,L.fK)(new eQ({id:"selectFirstSuggestion",precondition:M.Ao.and(B._y.Visible,M.Ao.or(B._y.MultipleSuggestions,B._y.HasFocusedSuggestion.negate())),handler:e=>e.selectFirstSuggestion()})),(0,L.fK)(new eQ({id:"focusSuggestion",precondition:M.Ao.and(B._y.Visible,B._y.HasFocusedSuggestion.negate()),handler:e=>e.focusSuggestion(),kbOpts:{weight:190,kbExpr:N.u.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[2087]}}})),(0,L.fK)(new eQ({id:"focusAndAcceptSuggestion",precondition:M.Ao.and(B._y.Visible,B._y.HasFocusedSuggestion.negate()),handler:e=>{e.focusSuggestion(),e.acceptSelectedSuggestion(!0,!1)}})),(0,L.fK)(new eQ({id:"toggleSuggestionDetails",precondition:M.Ao.and(B._y.Visible,B._y.HasFocusedSuggestion),handler:e=>e.toggleSuggestionDetails(),kbOpts:{weight:190,kbExpr:N.u.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[2087]}},menuOpts:[{menuId:B.GI,group:"right",order:1,when:M.Ao.and(B._y.DetailsVisible,B._y.CanResolve),title:A.NC("detail.more","show less")},{menuId:B.GI,group:"right",order:1,when:M.Ao.and(B._y.DetailsVisible.toNegated(),B._y.CanResolve),title:A.NC("detail.less","show more")}]})),(0,L.fK)(new eQ({id:"toggleExplainMode",precondition:B._y.Visible,handler:e=>e.toggleExplainMode(),kbOpts:{weight:100,primary:2138}})),(0,L.fK)(new eQ({id:"toggleSuggestionFocus",precondition:B._y.Visible,handler:e=>e.toggleSuggestionFocus(),kbOpts:{weight:190,kbExpr:N.u.textInputFocus,primary:2570,mac:{primary:778}}})),(0,L.fK)(new eQ({id:"insertBestCompletion",precondition:M.Ao.and(N.u.textInputFocus,M.Ao.equals("config.editor.tabCompletion","on"),R.AtEnd,B._y.Visible.toNegated(),W.OtherSuggestions.toNegated(),E.f.InSnippetMode.toNegated()),handler:(e,t)=>{e.triggerSuggestAndAcceptBest((0,y.Kn)(t)?{fallback:"tab",...t}:{fallback:"tab"})},kbOpts:{weight:190,primary:2}})),(0,L.fK)(new eQ({id:"insertNextSuggestion",precondition:M.Ao.and(N.u.textInputFocus,M.Ao.equals("config.editor.tabCompletion","on"),W.OtherSuggestions,B._y.Visible.toNegated(),E.f.InSnippetMode.toNegated()),handler:e=>e.acceptNextSuggestion(),kbOpts:{weight:190,kbExpr:N.u.textInputFocus,primary:2}})),(0,L.fK)(new eQ({id:"insertPrevSuggestion",precondition:M.Ao.and(N.u.textInputFocus,M.Ao.equals("config.editor.tabCompletion","on"),W.OtherSuggestions,B._y.Visible.toNegated(),E.f.InSnippetMode.toNegated()),handler:e=>e.acceptPrevSuggestion(),kbOpts:{weight:190,kbExpr:N.u.textInputFocus,primary:1026}})),(0,L.Qr)(class extends L.R6{constructor(){super({id:"editor.action.resetSuggestSize",label:A.NC("suggest.reset.label","Reset Suggest Widget Size"),alias:"Reset Suggest Widget Size",precondition:void 0})}run(e,t){var i;null===(i=eq.get(t))||void 0===i||i.resetWidgetSize()}})},88088:function(e,t,i){"use strict";var n=i(71050),s=i(60075),o=i(53725),r=i(5976),l=i(11640),a=i(24314),d=i(10637),h=i(71922),u=i(74961),c=i(55621),g=i(80378),p=i(85996),m=i(24477),f=i(84972),_=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},v=function(e,t){return function(i,n){t(i,n,e)}};class b{constructor(e,t,i,n,s,o){this.range=e,this.insertText=t,this.filterText=i,this.additionalTextEdits=n,this.command=s,this.completion=o}}let C=class extends r.L6{constructor(e,t,i,n,s,o){super(s.disposable),this.model=e,this.line=t,this.word=i,this.completionModel=n,this._suggestMemoryService=o}canBeReused(e,t,i){return this.model===e&&this.line===t&&this.word.word.length>0&&this.word.startColumn===i.startColumn&&this.word.endColumn=0&&i.resolve(n.Ts.None)}return t}};C=_([v(5,g.Fh)],C);let w=class extends r.JT{constructor(e,t,i,n){super(),this._languageFeatureService=e,this._clipboardService=t,this._suggestMemoryService=i,this._editorService=n,this._store.add(e.inlineCompletionsProvider.register("*",this))}async provideInlineCompletions(e,t,i,n){var s;let o,r,l;if(i.selectedSuggestionInfo)return;for(let t of this._editorService.listCodeEditors())if(t.getModel()===e){o=t;break}if(!o)return;let d=o.getOption(89);if(c.tG.isAllOff(d))return;e.tokenization.tokenizeIfCheap(t.lineNumber);let h=e.tokenization.getLineTokens(t.lineNumber),g=h.getStandardTokenType(h.findTokenIndexAtOffset(Math.max(t.column-1-1,0)));if("inline"!==c.tG.valueFor(d,g))return;let f=e.getWordAtPosition(t);if((null==f?void 0:f.word)||(r=this._getTriggerCharacterInfo(e,t)),!(null==f?void 0:f.word)&&!r||(f||(f=e.getWordUntilPosition(t)),f.endColumn!==t.column))return;let _=e.getValueInRange(new a.e(t.lineNumber,1,t.lineNumber,t.column));if(!r&&(null===(s=this._lastResult)||void 0===s?void 0:s.canBeReused(e,t.lineNumber,f))){let e=new u.t(_,t.column-this._lastResult.word.endColumn);this._lastResult.completionModel.lineContext=e,this._lastResult.acquire(),l=this._lastResult}else{let i;let s=await (0,c.kL)(this._languageFeatureService.completionProvider,e,t,new c.A9(void 0,p.U.createSuggestFilter(o).itemKind,null==r?void 0:r.providers),r&&{triggerKind:1,triggerCharacter:r.ch},n);s.needsClipboard&&(i=await this._clipboardService.readText());let a=new u._(s.items,t.column,new u.t(_,0),m.K.None,o.getOption(118),o.getOption(112),{boostFullMatch:!1,firstMatchCanBeWeak:!1},i);l=new C(e,t.lineNumber,f,a,s,this._suggestMemoryService)}return this._lastResult=l,l}handleItemDidShow(e,t){t.completion.resolve(n.Ts.None)}freeInlineCompletions(e){e.release()}_getTriggerCharacterInfo(e,t){var i;let n=e.getValueInRange(a.e.fromPositions({lineNumber:t.lineNumber,column:t.column-1},t)),s=new Set;for(let t of this._languageFeatureService.completionProvider.all(e))(null===(i=t.triggerCharacters)||void 0===i?void 0:i.includes(n))&&s.add(t);if(0!==s.size)return{providers:s,ch:n}}};w=_([v(0,h.p),v(1,f.p),v(2,g.Fh),v(3,l.$)],w),(0,d.y)(w)},80378:function(e,t,i){"use strict";i.d(t,{Fh:function(){return _}});var n,s=i(15393),o=i(5976),r=i(43702),l=i(4767),a=i(43155),d=i(33108),h=i(65026),u=i(72065),c=i(87060),g=function(e,t){return function(i,n){t(i,n,e)}};class p{constructor(e){this.name=e}select(e,t,i){if(0===i.length)return 0;let n=i[0].score[0];for(let e=0;ethis._saveState(),500),this._disposables.add(e.onWillSaveState(e=>{e.reason===c.fk.SHUTDOWN&&this._saveState()}))}dispose(){this._disposables.dispose(),this._persistSoon.dispose()}memorize(e,t,i){this._withStrategy(e,t).memorize(e,t,i),this._persistSoon.schedule()}select(e,t,i){return this._withStrategy(e,t).select(e,t,i)}_withStrategy(e,t){var i;let s=this._configService.getValue("editor.suggestSelection",{overrideIdentifier:e.getLanguageIdAtPosition(t.lineNumber,t.column),resource:e.uri});if((null===(i=this._strategy)||void 0===i?void 0:i.name)!==s){this._saveState();let e=n._strategyCtors.get(s)||m;this._strategy=new e;try{let e=this._configService.getValue("editor.suggest.shareSuggestSelections"),t=this._storageService.get(`${n._storagePrefix}/${s}`,e?0:1);t&&this._strategy.fromJSON(JSON.parse(t))}catch(e){}}return this._strategy}_saveState(){if(this._strategy){let e=this._configService.getValue("editor.suggest.shareSuggestSelections"),t=JSON.stringify(this._strategy);this._storageService.store(`${n._storagePrefix}/${this._strategy.name}`,t,e?0:1,1)}}};f._strategyCtors=new Map([["recentlyUsedByPrefix",class extends p{constructor(){super("recentlyUsedByPrefix"),this._trie=l.Id.forStrings(),this._seq=0}memorize(e,t,i){let{word:n}=e.getWordUntilPosition(t),s=`${e.getLanguageId()}/${n}`;this._trie.set(s,{type:i.completion.kind,insertText:i.completion.insertText,touch:this._seq++})}select(e,t,i){let{word:n}=e.getWordUntilPosition(t);if(!n)return super.select(e,t,i);let s=`${e.getLanguageId()}/${n}`,o=this._trie.get(s);if(o||(o=this._trie.findSubstr(s)),o)for(let e=0;ee.push([i,t])),e.sort((e,t)=>-(e[1].touch-t[1].touch)).forEach((e,t)=>e[1].touch=t),e.slice(0,200)}fromJSON(e){if(this._trie.clear(),e.length>0)for(let[t,i]of(this._seq=e[0][1].touch+1,e))i.type="number"==typeof i.type?i.type:a.gX.fromString(i.type),this._trie.set(t,i)}}],["recentlyUsed",class extends p{constructor(){super("recentlyUsed"),this._cache=new r.z6(300,.66),this._seq=0}memorize(e,t,i){let n=`${e.getLanguageId()}/${i.textLabel}`;this._cache.set(n,{touch:this._seq++,type:i.completion.kind,insertText:i.completion.insertText})}select(e,t,i){if(0===i.length)return 0;let n=e.getLineContent(t.lineNumber).substr(t.column-10,t.column-1);if(/\s$/.test(n))return super.select(e,t,i);let s=i[0].score[0],o=-1,r=-1;for(let t=0;tr&&s.type===i[t].completion.kind&&s.insertText===i[t].completion.insertText&&(r=s.touch,o=t),i[t].completion.preselect)return t}return -1!==o?o:0}toJSON(){return this._cache.toJSON()}fromJSON(e){for(let[t,i]of(this._cache.clear(),e))i.touch=0,i.type="number"==typeof i.type?i.type:a.gX.fromString(i.type),this._cache.set(t,i);this._seq=this._cache.size}}],["first",m]]),f._storagePrefix="suggest/memories",f=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([g(0,c.Uy),g(1,d.Ui)],f);let _=(0,u.yh)("ISuggestMemories");(0,h.z)(_,f,1)},85996:function(e,t,i){"use strict";i.d(t,{U:function(){return N}});var n,s=i(15393),o=i(71050),r=i(17301),l=i(4669),a=i(5976),d=i(97295),h=i(3860),u=i(85215),c=i(24477),g=i(84972),p=i(33108),m=i(32064),f=i(43557),_=i(10829),v=i(74961),b=i(55621),C=i(71922),w=i(60075),y=i(98401),S=i(78573),L=i(98762),k=i(48814),D=function(e,t){return function(i,n){t(i,n,e)}};class x{static shouldAutoTrigger(e){if(!e.hasModel())return!1;let t=e.getModel(),i=e.getPosition();t.tokenization.tokenizeIfCheap(i.lineNumber);let n=t.getWordAtPosition(i);return!!(n&&(n.endColumn===i.column||n.startColumn+1===i.column)&&isNaN(Number(n.word)))}constructor(e,t,i){this.leadingLineContent=e.getLineContent(t.lineNumber).substr(0,t.column-1),this.leadingWord=e.getWordUntilPosition(t),this.lineNumber=t.lineNumber,this.column=t.column,this.triggerOptions=i}}let N=n=class{constructor(e,t,i,n,o,r,d,u,c){this._editor=e,this._editorWorkerService=t,this._clipboardService=i,this._telemetryService=n,this._logService=o,this._contextKeyService=r,this._configurationService=d,this._languageFeaturesService=u,this._envService=c,this._toDispose=new a.SL,this._triggerCharacterListener=new a.SL,this._triggerQuickSuggest=new s._F,this._triggerState=void 0,this._completionDisposables=new a.SL,this._onDidCancel=new l.Q5,this._onDidTrigger=new l.Q5,this._onDidSuggest=new l.Q5,this.onDidCancel=this._onDidCancel.event,this.onDidTrigger=this._onDidTrigger.event,this.onDidSuggest=this._onDidSuggest.event,this._telemetryGate=0,this._currentSelection=this._editor.getSelection()||new h.Y(1,1,1,1),this._toDispose.add(this._editor.onDidChangeModel(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeModelLanguage(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeConfiguration(()=>{this._updateTriggerCharacters()})),this._toDispose.add(this._languageFeaturesService.completionProvider.onDidChange(()=>{this._updateTriggerCharacters(),this._updateActiveSuggestSession()}));let g=!1;this._toDispose.add(this._editor.onDidCompositionStart(()=>{g=!0})),this._toDispose.add(this._editor.onDidCompositionEnd(()=>{g=!1,this._onCompositionEnd()})),this._toDispose.add(this._editor.onDidChangeCursorSelection(e=>{g||this._onCursorChange(e)})),this._toDispose.add(this._editor.onDidChangeModelContent(()=>{g||void 0===this._triggerState||this._refilterCompletionItems()})),this._updateTriggerCharacters()}dispose(){(0,a.B9)(this._triggerCharacterListener),(0,a.B9)([this._onDidCancel,this._onDidSuggest,this._onDidTrigger,this._triggerQuickSuggest]),this._toDispose.dispose(),this._completionDisposables.dispose(),this.cancel()}_updateTriggerCharacters(){if(this._triggerCharacterListener.clear(),this._editor.getOption(91)||!this._editor.hasModel()||!this._editor.getOption(121))return;let e=new Map;for(let t of this._languageFeaturesService.completionProvider.all(this._editor.getModel()))for(let i of t.triggerCharacters||[]){let n=e.get(i);n||((n=new Set).add((0,b.ZJ)()),e.set(i,n)),n.add(t)}let t=t=>{var i;if(!function(e,t,i){if(!t.getContextKeyValue("inlineSuggestionVisible"))return!0;let n=t.getContextKeyValue(S.f.suppressSuggestions.key);return void 0!==n?!n:!e.getOption(62).suppressSuggestions}(this._editor,this._contextKeyService,this._configurationService)||x.shouldAutoTrigger(this._editor))return;if(!t){let e=this._editor.getPosition(),i=this._editor.getModel();t=i.getLineContent(e.lineNumber).substr(0,e.column-1)}let n="";(0,d.YK)(t.charCodeAt(t.length-1))?(0,d.ZG)(t.charCodeAt(t.length-2))&&(n=t.substr(t.length-2)):n=t.charAt(t.length-1);let s=e.get(n);if(s){let e=new Map;if(this._completionModel)for(let[t,i]of this._completionModel.getItemsByProvider())s.has(t)||e.set(t,i);this.trigger({auto:!0,triggerKind:1,triggerCharacter:n,retrigger:!!this._completionModel,clipboardText:null===(i=this._completionModel)||void 0===i?void 0:i.clipboardText,completionOptions:{providerFilter:s,providerItemsToReuse:e}})}};this._triggerCharacterListener.add(this._editor.onDidType(t)),this._triggerCharacterListener.add(this._editor.onDidCompositionEnd(()=>t()))}get state(){return this._triggerState?this._triggerState.auto?2:1:0}cancel(e=!1){var t;void 0!==this._triggerState&&(this._triggerQuickSuggest.cancel(),null===(t=this._requestToken)||void 0===t||t.cancel(),this._requestToken=void 0,this._triggerState=void 0,this._completionModel=void 0,this._context=void 0,this._onDidCancel.fire({retrigger:e}))}clear(){this._completionDisposables.clear()}_updateActiveSuggestSession(){void 0!==this._triggerState&&(this._editor.hasModel()&&this._languageFeaturesService.completionProvider.has(this._editor.getModel())?this.trigger({auto:this._triggerState.auto,retrigger:!0}):this.cancel())}_onCursorChange(e){if(!this._editor.hasModel())return;let t=this._currentSelection;if(this._currentSelection=this._editor.getSelection(),!e.selection.isEmpty()||0!==e.reason&&3!==e.reason||"keyboard"!==e.source&&"deleteLeft"!==e.source){this.cancel();return}void 0===this._triggerState&&0===e.reason?(t.containsRange(this._currentSelection)||t.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition()))&&this._doTriggerQuickSuggest():void 0!==this._triggerState&&3===e.reason&&this._refilterCompletionItems()}_onCompositionEnd(){void 0===this._triggerState?this._doTriggerQuickSuggest():this._refilterCompletionItems()}_doTriggerQuickSuggest(){var e;b.tG.isAllOff(this._editor.getOption(89))||this._editor.getOption(118).snippetsPreventQuickSuggestions&&(null===(e=L.f.get(this._editor))||void 0===e?void 0:e.isInSnippet())||(this.cancel(),this._triggerQuickSuggest.cancelAndSet(()=>{if(void 0!==this._triggerState||!x.shouldAutoTrigger(this._editor)||!this._editor.hasModel()||!this._editor.hasWidgetFocus())return;let e=this._editor.getModel(),t=this._editor.getPosition(),i=this._editor.getOption(89);if(!b.tG.isAllOff(i)){if(!b.tG.isAllOn(i)){e.tokenization.tokenizeIfCheap(t.lineNumber);let n=e.tokenization.getLineTokens(t.lineNumber),s=n.getStandardTokenType(n.findTokenIndexAtOffset(Math.max(t.column-1-1,0)));if("on"!==b.tG.valueFor(i,s))return}(function(e,t,i){if(!t.getContextKeyValue(S.f.inlineSuggestionVisible.key))return!0;let n=t.getContextKeyValue(S.f.suppressSuggestions.key);return void 0!==n?!n:!e.getOption(62).suppressSuggestions})(this._editor,this._contextKeyService,this._configurationService)&&this._languageFeaturesService.completionProvider.has(e)&&this.trigger({auto:!0})}},this._editor.getOption(90)))}_refilterCompletionItems(){(0,y.p_)(this._editor.hasModel()),(0,y.p_)(void 0!==this._triggerState);let e=this._editor.getModel(),t=this._editor.getPosition(),i=new x(e,t,{...this._triggerState,refilter:!0});this._onNewContext(i)}trigger(e){var t,i,s,l,a,d;if(!this._editor.hasModel())return;let h=this._editor.getModel(),u=new x(h,this._editor.getPosition(),e);this.cancel(e.retrigger),this._triggerState=e,this._onDidTrigger.fire({auto:e.auto,shy:null!==(t=e.shy)&&void 0!==t&&t,position:this._editor.getPosition()}),this._context=u;let g={triggerKind:null!==(i=e.triggerKind)&&void 0!==i?i:0};e.triggerCharacter&&(g={triggerKind:1,triggerCharacter:e.triggerCharacter}),this._requestToken=new o.AU;let p=this._editor.getOption(112),m=1;switch(p){case"top":m=0;break;case"bottom":m=2}let{itemKind:f,showDeprecated:_}=n.createSuggestFilter(this._editor),C=new b.A9(m,null!==(l=null===(s=e.completionOptions)||void 0===s?void 0:s.kindFilter)&&void 0!==l?l:f,null===(a=e.completionOptions)||void 0===a?void 0:a.providerFilter,null===(d=e.completionOptions)||void 0===d?void 0:d.providerItemsToReuse,_),y=c.K.create(this._editorWorkerService,this._editor),S=(0,b.kL)(this._languageFeaturesService.completionProvider,h,this._editor.getPosition(),C,g,this._requestToken.token);Promise.all([S,y]).then(async([t,i])=>{var n;if(null===(n=this._requestToken)||void 0===n||n.dispose(),!this._editor.hasModel())return;let s=null==e?void 0:e.clipboardText;if(!s&&t.needsClipboard&&(s=await this._clipboardService.readText()),void 0===this._triggerState)return;let o=this._editor.getModel(),r=new x(o,this._editor.getPosition(),e),l={...w.mX.default,firstMatchCanBeWeak:!this._editor.getOption(118).matchOnWordStartOnly};if(this._completionModel=new v._(t.items,this._context.column,{leadingLineContent:r.leadingLineContent,characterCountDelta:r.column-this._context.column},i,this._editor.getOption(118),this._editor.getOption(112),l,s),this._completionDisposables.add(t.disposable),this._onNewContext(r),this._reportDurationsTelemetry(t.durations),!this._envService.isBuilt||this._envService.isExtensionDevelopment)for(let e of t.items)e.isInvalid&&this._logService.warn(`[suggest] did IGNORE invalid completion item from ${e.provider._debugDisplayName}`,e.completion)}).catch(r.dL)}_reportDurationsTelemetry(e){this._telemetryGate++%230==0&&setTimeout(()=>{this._telemetryService.publicLog2("suggest.durations.json",{data:JSON.stringify(e)}),this._logService.debug("suggest.durations.json",e)})}static createSuggestFilter(e){let t=new Set,i=e.getOption(112);"none"===i&&t.add(27);let n=e.getOption(118);return n.showMethods||t.add(0),n.showFunctions||t.add(1),n.showConstructors||t.add(2),n.showFields||t.add(3),n.showVariables||t.add(4),n.showClasses||t.add(5),n.showStructs||t.add(6),n.showInterfaces||t.add(7),n.showModules||t.add(8),n.showProperties||t.add(9),n.showEvents||t.add(10),n.showOperators||t.add(11),n.showUnits||t.add(12),n.showValues||t.add(13),n.showConstants||t.add(14),n.showEnums||t.add(15),n.showEnumMembers||t.add(16),n.showKeywords||t.add(17),n.showWords||t.add(18),n.showColors||t.add(19),n.showFiles||t.add(20),n.showReferences||t.add(21),n.showColors||t.add(22),n.showFolders||t.add(23),n.showTypeParameters||t.add(24),n.showSnippets||t.add(27),n.showUsers||t.add(25),n.showIssues||t.add(26),{itemKind:t,showDeprecated:n.showDeprecated}}_onNewContext(e){if(this._context){if(e.lineNumber!==this._context.lineNumber||(0,d.V8)(e.leadingLineContent)!==(0,d.V8)(this._context.leadingLineContent)){this.cancel();return}if(e.columnthis._context.leadingWord.startColumn){let e=x.shouldAutoTrigger(this._editor);if(e&&this._context){let e=this._completionModel.getItemsByProvider();this.trigger({auto:this._context.triggerOptions.auto,retrigger:!0,clipboardText:this._completionModel.clipboardText,completionOptions:{providerItemsToReuse:e}})}return}if(e.column>this._context.column&&this._completionModel.getIncompleteProvider().size>0&&0!==e.leadingWord.word.length){let e=new Map,t=new Set;for(let[i,n]of this._completionModel.getItemsByProvider())n.length>0&&n[0].container.incomplete?t.add(i):e.set(i,n);this.trigger({auto:this._context.triggerOptions.auto,triggerKind:2,retrigger:!0,clipboardText:this._completionModel.clipboardText,completionOptions:{providerFilter:t,providerItemsToReuse:e}})}else{let t=this._completionModel.lineContext,i=!1;if(this._completionModel.lineContext={leadingLineContent:e.leadingLineContent,characterCountDelta:e.column-this._context.column},0===this._completionModel.items.length){let n=x.shouldAutoTrigger(this._editor);if(!this._context){this.cancel();return}if(n&&this._context.leadingWord.endColumn0)&&0===e.leadingWord.word.length)){this.cancel();return}}this._onDidSuggest.fire({completionModel:this._completionModel,triggerOptions:e.triggerOptions,isFrozen:i})}}}}};N=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([D(1,u.p),D(2,g.p),D(3,_.b),D(4,f.VZ),D(5,m.i6),D(6,p.Ui),D(7,C.p),D(8,k.Y)],N)},24477:function(e,t,i){"use strict";i.d(t,{K:function(){return r}});var n=i(9488),s=i(24314),o=i(79694);class r{static async create(e,t){if(!t.getOption(118).localityBonus||!t.hasModel())return r.None;let i=t.getModel(),l=t.getPosition();if(!e.canComputeWordRanges(i.uri))return r.None;let[a]=await new o.x().provideSelectionRanges(i,[l]);if(0===a.length)return r.None;let d=await e.computeWordRanges(i.uri,a[0].range);if(!d)return r.None;let h=i.getWordUntilPosition(l);return delete d[h.word],new class extends r{distance(e,i){if(!l.equals(t.getPosition()))return 0;if(17===i.kind)return 2097152;let o="string"==typeof i.label?i.label:i.label.label,r=d[o];if((0,n.XY)(r))return 2097152;let h=(0,n.ry)(r,s.e.fromPositions(e),s.e.compareRangesUsingStarts),u=h>=0?r[h]:r[Math.max(0,~h-1)],c=a.length;for(let e of a){if(!s.e.containsRange(e.range,u))break;c-=1}return c}}}}r.None=new class extends r{distance(){return 0}}},71713:function(e,t,i){"use strict";i(56808);var n=i(63580),s=i(75974);(0,s.P6G)("symbolIcon.arrayForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.arrayForeground","The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.booleanForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.booleanForeground","The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.classForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},(0,n.NC)("symbolIcon.classForeground","The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.colorForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.colorForeground","The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.constantForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.constantForeground","The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.constructorForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},(0,n.NC)("symbolIcon.constructorForeground","The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.enumeratorForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},(0,n.NC)("symbolIcon.enumeratorForeground","The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.enumeratorMemberForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,n.NC)("symbolIcon.enumeratorMemberForeground","The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.eventForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},(0,n.NC)("symbolIcon.eventForeground","The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.fieldForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,n.NC)("symbolIcon.fieldForeground","The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.fileForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.fileForeground","The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.folderForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.folderForeground","The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.functionForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},(0,n.NC)("symbolIcon.functionForeground","The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.interfaceForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,n.NC)("symbolIcon.interfaceForeground","The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.keyForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.keyForeground","The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.keywordForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.keywordForeground","The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.methodForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},(0,n.NC)("symbolIcon.methodForeground","The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.moduleForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.moduleForeground","The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.namespaceForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.namespaceForeground","The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.nullForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.nullForeground","The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.numberForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.numberForeground","The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.objectForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.objectForeground","The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.operatorForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.operatorForeground","The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.packageForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.packageForeground","The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.propertyForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.propertyForeground","The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.referenceForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.referenceForeground","The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.snippetForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.snippetForeground","The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.stringForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.stringForeground","The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.structForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.structForeground","The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.textForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.textForeground","The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.typeParameterForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.typeParameterForeground","The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.unitForeground",{dark:s.dRz,light:s.dRz,hcDark:s.dRz,hcLight:s.dRz},(0,n.NC)("symbolIcon.unitForeground","The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),(0,s.P6G)("symbolIcon.variableForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,n.NC)("symbolIcon.variableForeground","The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget."))},64662:function(e,t,i){"use strict";var n=i(85152),s=i(37940),o=i(63580),r=i(84144);class l extends r.Ke{constructor(){super({id:l.ID,title:o.vv({key:"toggle.tabMovesFocus",comment:["Turn on/off use of tab key for moving focus around VS Code"]},"Toggle Tab Key Moves Focus"),precondition:void 0,keybinding:{primary:2091,mac:{primary:1323},weight:100},metadata:{description:o.vv("tabMovesFocusDescriptions","Determines whether the tab key moves focus around the workbench or inserts the tab character in the current editor. This is also called tab trapping, tab navigation, or tab focus mode.")},f1:!0})}run(){let e=s.n.getTabFocusMode(),t=!e;s.n.setTabFocusMode(t),t?(0,n.Z9)(o.NC("toggle.tabMovesFocus.on","Pressing Tab will now move focus to the next focusable element")):(0,n.Z9)(o.NC("toggle.tabMovesFocus.off","Pressing Tab will now insert the tab character"))}}l.ID="editor.action.toggleTabFocusMode",(0,r.r1)(l)},52614:function(e,t,i){"use strict";var n=i(84013),s=i(16830),o=i(63580);class r extends s.R6{constructor(){super({id:"editor.action.forceRetokenize",label:o.NC("forceRetokenize","Developer: Force Retokenize"),alias:"Developer: Force Retokenize",precondition:void 0})}run(e,t){if(!t.hasModel())return;let i=t.getModel();i.tokenization.resetTokenization();let s=new n.G;i.tokenization.forceTokenization(i.getLineCount()),s.stop(),console.log(`tokenization took ${s.elapsed()}`)}}(0,s.Qr)(r)},95180:function(e,t,i){"use strict";var n=i(15393),s=i(78789),o=i(59365),r=i(5976),l=i(1432),a=i(97295);i(60858);var d=i(16830),h=i(64141),u=i(84901),c=i(31446),g=i(85215),p=i(72042),m=i(30168),f=i(66520),_=i(22374);i(36046);var v=i(65321),b=i(90317),C=i(74741),w=i(72545),y=i(72065),S=i(4850),L=i(59069),k=i(10553),D=i(4669),x=i(50988);i(58960);var N=i(97759),E=i(31543),I=function(e,t){return function(i,n){t(i,n,e)}};let T=class extends r.JT{get enabled(){return this._enabled}set enabled(e){e?(this.el.setAttribute("aria-disabled","false"),this.el.tabIndex=0,this.el.style.pointerEvents="auto",this.el.style.opacity="1",this.el.style.cursor="pointer",this._enabled=!1):(this.el.setAttribute("aria-disabled","true"),this.el.tabIndex=-1,this.el.style.pointerEvents="none",this.el.style.opacity="0.4",this.el.style.cursor="default",this._enabled=!0),this._enabled=e}constructor(e,t,i={},n,s){var o,r;super(),this._link=t,this._hoverService=n,this._enabled=!0,this.el=(0,v.R3)(e,(0,v.$)("a.monaco-link",{tabIndex:null!==(o=t.tabIndex)&&void 0!==o?o:0,href:t.href},t.label)),this.hoverDelegate=null!==(r=i.hoverDelegate)&&void 0!==r?r:(0,N.tM)("mouse"),this.setTooltip(t.title),this.el.setAttribute("role","button");let l=this._register(new S.Y(this.el,"click")),a=this._register(new S.Y(this.el,"keypress")),d=D.ju.chain(a.event,e=>e.map(e=>new L.y(e)).filter(e=>3===e.keyCode)),h=this._register(new S.Y(this.el,k.t.Tap)).event;this._register(k.o.addTarget(this.el));let u=D.ju.any(l.event,d,h);this._register(u(e=>{this.enabled&&(v.zB.stop(e,!0),(null==i?void 0:i.opener)?i.opener(this._link.href):s.open(this._link.href,{allowCommands:!0}))})),this.enabled=!0}setTooltip(e){this.hoverDelegate.showNativeHover?this.el.title=null!=e?e:"":!this.hover&&e?this.hover=this._register(this._hoverService.setupUpdatableHover(this.hoverDelegate,this.el,e)):this.hover&&this.hover.update(e)}};T=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([I(3,E.Bs),I(4,x.v)],T);var M=i(59554),R=i(25670),A=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},P=function(e,t){return function(i,n){t(i,n,e)}};let O=class extends r.JT{constructor(e,t){super(),this._editor=e,this.instantiationService=t,this.banner=this._register(this.instantiationService.createInstance(F))}hide(){this._editor.setBanner(null,0),this.banner.clear()}show(e){this.banner.show({...e,onClose:()=>{var t;this.hide(),null===(t=e.onClose)||void 0===t||t.call(e)}}),this._editor.setBanner(this.banner.element,26)}};O=A([P(1,y.TG)],O);let F=class extends r.JT{constructor(e){super(),this.instantiationService=e,this.markdownRenderer=this.instantiationService.createInstance(w.$,{}),this.element=(0,v.$)("div.editor-banner"),this.element.tabIndex=0}getAriaLabel(e){return e.ariaLabel?e.ariaLabel:"string"==typeof e.message?e.message:void 0}getBannerMessage(e){if("string"==typeof e){let t=(0,v.$)("span");return t.innerText=e,t}return this.markdownRenderer.render(e).element}clear(){(0,v.PO)(this.element)}show(e){(0,v.PO)(this.element);let t=this.getAriaLabel(e);t&&this.element.setAttribute("aria-label",t);let i=(0,v.R3)(this.element,(0,v.$)("div.icon-container"));i.setAttribute("aria-hidden","true"),e.icon&&i.appendChild((0,v.$)(`div${R.k.asCSSSelector(e.icon)}`));let n=(0,v.R3)(this.element,(0,v.$)("div.message-container"));if(n.setAttribute("aria-hidden","true"),n.appendChild(this.getBannerMessage(e.message)),this.messageActionsContainer=(0,v.R3)(this.element,(0,v.$)("div.message-actions-container")),e.actions)for(let t of e.actions)this._register(this.instantiationService.createInstance(T,this.messageActionsContainer,{...t,tabIndex:-1},{}));let s=(0,v.R3)(this.element,(0,v.$)("div.action-container"));this.actionBar=this._register(new b.o(s)),this.actionBar.push(this._register(new C.aU("banner.close","Close Banner",R.k.asClassName(M.s_),!0,()=>{"function"==typeof e.onClose&&e.onClose()})),{icon:!0,label:!1}),this.actionBar.setFocusable(!1)}};F=A([P(0,y.TG)],F);var B=i(63580),W=i(33108),H=i(41157),V=i(33425),z=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},K=function(e,t){return function(i,n){t(i,n,e)}};let U=(0,M.q5)("extensions-warning-message",s.l.warning,B.NC("warningIcon","Icon shown with a warning message in the extensions editor.")),$=class extends r.JT{constructor(e,t,i,n){super(),this._editor=e,this._editorWorkerService=t,this._workspaceTrustService=i,this._highlighter=null,this._bannerClosed=!1,this._updateState=e=>{if(e&&e.hasMore){let t;if(this._bannerClosed)return;let i=Math.max(e.ambiguousCharacterCount,e.nonBasicAsciiCharacterCount,e.invisibleCharacterCount);if(e.nonBasicAsciiCharacterCount>=i)t={message:B.NC("unicodeHighlighting.thisDocumentHasManyNonBasicAsciiUnicodeCharacters","This document contains many non-basic ASCII unicode characters"),command:new es};else if(e.ambiguousCharacterCount>=i)t={message:B.NC("unicodeHighlighting.thisDocumentHasManyAmbiguousUnicodeCharacters","This document contains many ambiguous unicode characters"),command:new ei};else if(e.invisibleCharacterCount>=i)t={message:B.NC("unicodeHighlighting.thisDocumentHasManyInvisibleUnicodeCharacters","This document contains many invisible unicode characters"),command:new en};else throw Error("Unreachable");this._bannerController.show({id:"unicodeHighlightBanner",message:t.message,icon:U,actions:[{label:t.command.shortLabel,href:`command:${t.command.id}`}],onClose:()=>{this._bannerClosed=!0}})}else this._bannerController.hide()},this._bannerController=this._register(n.createInstance(O,e)),this._register(this._editor.onDidChangeModel(()=>{this._bannerClosed=!1,this._updateHighlighter()})),this._options=e.getOption(125),this._register(i.onDidChangeTrust(e=>{this._updateHighlighter()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(125)&&(this._options=e.getOption(125),this._updateHighlighter())})),this._updateHighlighter()}dispose(){this._highlighter&&(this._highlighter.dispose(),this._highlighter=null),super.dispose()}_updateHighlighter(){var e,t;if(this._updateState(null),this._highlighter&&(this._highlighter.dispose(),this._highlighter=null),!this._editor.hasModel())return;let i=(e=this._workspaceTrustService.isWorkspaceTrusted(),{nonBasicASCII:(t=this._options).nonBasicASCII===h.Av?!e:t.nonBasicASCII,ambiguousCharacters:t.ambiguousCharacters,invisibleCharacters:t.invisibleCharacters,includeComments:t.includeComments===h.Av?!e:t.includeComments,includeStrings:t.includeStrings===h.Av?!e:t.includeStrings,allowedCharacters:t.allowedCharacters,allowedLocales:t.allowedLocales});if([i.nonBasicASCII,i.ambiguousCharacters,i.invisibleCharacters].every(e=>!1===e))return;let n={nonBasicASCII:i.nonBasicASCII,ambiguousCharacters:i.ambiguousCharacters,invisibleCharacters:i.invisibleCharacters,includeComments:i.includeComments,includeStrings:i.includeStrings,allowedCodePoints:Object.keys(i.allowedCharacters).map(e=>e.codePointAt(0)),allowedLocales:Object.keys(i.allowedLocales).map(e=>{if("_os"===e){let e=new Intl.NumberFormat().resolvedOptions().locale;return e}return"_vscode"===e?l.dK:e})};this._editorWorkerService.canComputeUnicodeHighlights(this._editor.getModel().uri)?this._highlighter=new q(this._editor,n,this._updateState,this._editorWorkerService):this._highlighter=new j(this._editor,n,this._updateState)}getDecorationInfo(e){return this._highlighter?this._highlighter.getDecorationInfo(e):null}};$.ID="editor.contrib.unicodeHighlighter",$=z([K(1,g.p),K(2,V.Y),K(3,y.TG)],$);let q=class extends r.JT{constructor(e,t,i,s){super(),this._editor=e,this._options=t,this._updateState=i,this._editorWorkerService=s,this._model=this._editor.getModel(),this._decorations=this._editor.createDecorationsCollection(),this._updateSoon=this._register(new n.pY(()=>this._update(),250)),this._register(this._editor.onDidChangeModelContent(()=>{this._updateSoon.schedule()})),this._updateSoon.schedule()}dispose(){this._decorations.clear(),super.dispose()}_update(){if(this._model.isDisposed())return;if(!this._model.mightContainNonBasicASCII()){this._decorations.clear();return}let e=this._model.getVersionId();this._editorWorkerService.computedUnicodeHighlights(this._model.uri,this._options).then(t=>{if(this._model.isDisposed()||this._model.getVersionId()!==e)return;this._updateState(t);let i=[];if(!t.hasMore)for(let e of t.ranges)i.push({range:e,options:X.instance.getDecorationFromOptions(this._options)});this._decorations.set(i)})}getDecorationInfo(e){if(!this._decorations.has(e))return null;let t=this._editor.getModel();if(!(0,m.Fd)(t,e))return null;let i=t.getValueInRange(e.range);return{reason:J(i,this._options),inComment:(0,m.$t)(t,e),inString:(0,m.zg)(t,e)}}};q=z([K(3,g.p)],q);class j extends r.JT{constructor(e,t,i){super(),this._editor=e,this._options=t,this._updateState=i,this._model=this._editor.getModel(),this._decorations=this._editor.createDecorationsCollection(),this._updateSoon=this._register(new n.pY(()=>this._update(),250)),this._register(this._editor.onDidLayoutChange(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidScrollChange(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidChangeHiddenAreas(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidChangeModelContent(()=>{this._updateSoon.schedule()})),this._updateSoon.schedule()}dispose(){this._decorations.clear(),super.dispose()}_update(){if(this._model.isDisposed())return;if(!this._model.mightContainNonBasicASCII()){this._decorations.clear();return}let e=this._editor.getVisibleRanges(),t=[],i={ranges:[],ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0,hasMore:!1};for(let t of e){let e=c.a.computeUnicodeHighlights(this._model,this._options,t);for(let t of e.ranges)i.ranges.push(t);i.ambiguousCharacterCount+=i.ambiguousCharacterCount,i.invisibleCharacterCount+=i.invisibleCharacterCount,i.nonBasicAsciiCharacterCount+=i.nonBasicAsciiCharacterCount,i.hasMore=i.hasMore||e.hasMore}if(!i.hasMore)for(let e of i.ranges)t.push({range:e,options:X.instance.getDecorationFromOptions(this._options)});this._updateState(i),this._decorations.set(t)}getDecorationInfo(e){if(!this._decorations.has(e))return null;let t=this._editor.getModel(),i=t.getValueInRange(e.range);return(0,m.Fd)(t,e)?{reason:J(i,this._options),inComment:(0,m.$t)(t,e),inString:(0,m.zg)(t,e)}:null}}let G=B.NC("unicodeHighlight.configureUnicodeHighlightOptions","Configure Unicode Highlight Options"),Q=class{constructor(e,t,i){this._editor=e,this._languageService=t,this._openerService=i,this.hoverOrdinal=5}computeSync(e,t){if(!this._editor.hasModel()||1!==e.type)return[];let i=this._editor.getModel(),n=this._editor.getContribution($.ID);if(!n)return[];let s=[],r=new Set,l=300;for(let e of t){let t;let d=n.getDecorationInfo(e);if(!d)continue;let h=i.getValueInRange(e.range),u=h.codePointAt(0),c=Y(u);switch(d.reason.kind){case 0:t=(0,a.$i)(d.reason.confusableWith)?B.NC("unicodeHighlight.characterIsAmbiguousASCII","The character {0} could be confused with the ASCII character {1}, which is more common in source code.",c,Y(d.reason.confusableWith.codePointAt(0))):B.NC("unicodeHighlight.characterIsAmbiguous","The character {0} could be confused with the character {1}, which is more common in source code.",c,Y(d.reason.confusableWith.codePointAt(0)));break;case 1:t=B.NC("unicodeHighlight.characterIsInvisible","The character {0} is invisible.",c);break;case 2:t=B.NC("unicodeHighlight.characterIsNonBasicAscii","The character {0} is not a basic ASCII character.",c)}if(r.has(t))continue;r.add(t);let g={codePoint:u,reason:d.reason,inComment:d.inComment,inString:d.inString},p=B.NC("unicodeHighlight.adjustSettings","Adjust settings"),m=`command:${eo.ID}?${encodeURIComponent(JSON.stringify(g))}`,f=new o.W5("",!0).appendMarkdown(t).appendText(" ").appendLink(m,p,G);s.push(new _.hU(this,e.range,[f],!1,l++))}return s}renderHoverParts(e,t){return(0,_.c)(e,t,this._editor,this._languageService,this._openerService)}};function Z(e){return`U+${e.toString(16).padStart(4,"0")}`}function Y(e){let t=`\`${Z(e)}\``;return a.vU.isInvisibleCharacter(e)||(t+=` "${96===e?"`` ` ``":"`"+String.fromCodePoint(e)+"`"}"`),t}function J(e,t){return c.a.computeUnicodeHighlightReason(e,t)}Q=z([K(1,p.O),K(2,x.v)],Q);class X{constructor(){this.map=new Map}getDecorationFromOptions(e){return this.getDecoration(!e.includeComments,!e.includeStrings)}getDecoration(e,t){let i=`${e}${t}`,n=this.map.get(i);return n||(n=u.qx.createDynamic({description:"unicode-highlight",stickiness:1,className:"unicode-highlight",showIfCollapsed:!0,overviewRuler:null,minimap:null,hideInCommentTokens:e,hideInStringTokens:t}),this.map.set(i,n)),n}}X.instance=new X;class ee extends d.R6{constructor(){super({id:ei.ID,label:B.NC("action.unicodeHighlight.disableHighlightingInComments","Disable highlighting of characters in comments"),alias:"Disable highlighting of characters in comments",precondition:void 0}),this.shortLabel=B.NC("unicodeHighlight.disableHighlightingInComments.shortLabel","Disable Highlight In Comments")}async run(e,t,i){let n=null==e?void 0:e.get(W.Ui);n&&this.runAction(n)}async runAction(e){await e.updateValue(h.qt.includeComments,!1,2)}}class et extends d.R6{constructor(){super({id:ei.ID,label:B.NC("action.unicodeHighlight.disableHighlightingInStrings","Disable highlighting of characters in strings"),alias:"Disable highlighting of characters in strings",precondition:void 0}),this.shortLabel=B.NC("unicodeHighlight.disableHighlightingInStrings.shortLabel","Disable Highlight In Strings")}async run(e,t,i){let n=null==e?void 0:e.get(W.Ui);n&&this.runAction(n)}async runAction(e){await e.updateValue(h.qt.includeStrings,!1,2)}}class ei extends d.R6{constructor(){super({id:ei.ID,label:B.NC("action.unicodeHighlight.disableHighlightingOfAmbiguousCharacters","Disable highlighting of ambiguous characters"),alias:"Disable highlighting of ambiguous characters",precondition:void 0}),this.shortLabel=B.NC("unicodeHighlight.disableHighlightingOfAmbiguousCharacters.shortLabel","Disable Ambiguous Highlight")}async run(e,t,i){let n=null==e?void 0:e.get(W.Ui);n&&this.runAction(n)}async runAction(e){await e.updateValue(h.qt.ambiguousCharacters,!1,2)}}ei.ID="editor.action.unicodeHighlight.disableHighlightingOfAmbiguousCharacters";class en extends d.R6{constructor(){super({id:en.ID,label:B.NC("action.unicodeHighlight.disableHighlightingOfInvisibleCharacters","Disable highlighting of invisible characters"),alias:"Disable highlighting of invisible characters",precondition:void 0}),this.shortLabel=B.NC("unicodeHighlight.disableHighlightingOfInvisibleCharacters.shortLabel","Disable Invisible Highlight")}async run(e,t,i){let n=null==e?void 0:e.get(W.Ui);n&&this.runAction(n)}async runAction(e){await e.updateValue(h.qt.invisibleCharacters,!1,2)}}en.ID="editor.action.unicodeHighlight.disableHighlightingOfInvisibleCharacters";class es extends d.R6{constructor(){super({id:es.ID,label:B.NC("action.unicodeHighlight.disableHighlightingOfNonBasicAsciiCharacters","Disable highlighting of non basic ASCII characters"),alias:"Disable highlighting of non basic ASCII characters",precondition:void 0}),this.shortLabel=B.NC("unicodeHighlight.disableHighlightingOfNonBasicAsciiCharacters.shortLabel","Disable Non ASCII Highlight")}async run(e,t,i){let n=null==e?void 0:e.get(W.Ui);n&&this.runAction(n)}async runAction(e){await e.updateValue(h.qt.nonBasicASCII,!1,2)}}es.ID="editor.action.unicodeHighlight.disableHighlightingOfNonBasicAsciiCharacters";class eo extends d.R6{constructor(){super({id:eo.ID,label:B.NC("action.unicodeHighlight.showExcludeOptions","Show Exclude Options"),alias:"Show Exclude Options",precondition:void 0})}async run(e,t,i){let{codePoint:n,reason:s,inString:o,inComment:r}=i,l=String.fromCodePoint(n),d=e.get(H.eJ),h=e.get(W.Ui),u=[];if(0===s.kind)for(let e of s.notAmbiguousInLocales)u.push({label:B.NC("unicodeHighlight.allowCommonCharactersInLanguage",'Allow unicode characters that are more common in the language "{0}".',e),run:async()=>{el(h,[e])}});if(u.push({label:a.vU.isInvisibleCharacter(n)?B.NC("unicodeHighlight.excludeInvisibleCharFromBeingHighlighted","Exclude {0} (invisible character) from being highlighted",Z(n)):B.NC("unicodeHighlight.excludeCharFromBeingHighlighted","Exclude {0} from being highlighted",`${Z(n)} "${l}"`),run:()=>er(h,[n])}),r){let e=new ee;u.push({label:e.label,run:async()=>e.runAction(h)})}else if(o){let e=new et;u.push({label:e.label,run:async()=>e.runAction(h)})}if(0===s.kind){let e=new ei;u.push({label:e.label,run:async()=>e.runAction(h)})}else if(1===s.kind){let e=new en;u.push({label:e.label,run:async()=>e.runAction(h)})}else if(2===s.kind){let e=new es;u.push({label:e.label,run:async()=>e.runAction(h)})}else!function(e){throw Error(`Unexpected value: ${e}`)}(s);let c=await d.pick(u,{title:G});c&&await c.run()}}async function er(e,t){let i;let n=e.getValue(h.qt.allowedCharacters);for(let e of(i="object"==typeof n&&n?n:{},t))i[String.fromCodePoint(e)]=!0;await e.updateValue(h.qt.allowedCharacters,i,2)}async function el(e,t){var i;let n;let s=null===(i=e.inspect(h.qt.allowedLocales).user)||void 0===i?void 0:i.value;for(let e of(n="object"==typeof s&&s?Object.assign({},s):{},t))n[e]=!0;await e.updateValue(h.qt.allowedLocales,n,2)}eo.ID="editor.action.unicodeHighlight.showExcludeOptions",(0,d.Qr)(ei),(0,d.Qr)(en),(0,d.Qr)(es),(0,d.Qr)(eo),(0,d._K)($.ID,$,1),f.Ae.register(Q)},79607:function(e,t,i){"use strict";var n=i(5976),s=i(95935),o=i(16830),r=i(11640),l=i(63580),a=i(28820),d=function(e,t){return function(i,n){t(i,n,e)}};let h="ignoreUnusualLineTerminators",u=class extends n.JT{constructor(e,t,i){super(),this._editor=e,this._dialogService=t,this._codeEditorService=i,this._isPresentingDialog=!1,this._config=this._editor.getOption(126),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(126)&&(this._config=this._editor.getOption(126),this._checkForUnusualLineTerminators())})),this._register(this._editor.onDidChangeModel(()=>{this._checkForUnusualLineTerminators()})),this._register(this._editor.onDidChangeModelContent(e=>{e.isUndoing||this._checkForUnusualLineTerminators()})),this._checkForUnusualLineTerminators()}async _checkForUnusualLineTerminators(){let e;if("off"===this._config||!this._editor.hasModel())return;let t=this._editor.getModel();if(!t.mightContainUnusualLineTerminators())return;let i=this._codeEditorService.getModelProperty(t.uri,h);if(!(!0===i||this._editor.getOption(91))){if("auto"===this._config){t.removeUnusualLineTerminators(this._editor.getSelections());return}if(!this._isPresentingDialog){try{this._isPresentingDialog=!0,e=await this._dialogService.confirm({title:l.NC("unusualLineTerminators.title","Unusual Line Terminators"),message:l.NC("unusualLineTerminators.message","Detected unusual line terminators"),detail:l.NC("unusualLineTerminators.detail","The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.",(0,s.EZ)(t.uri)),primaryButton:l.NC({key:"unusualLineTerminators.fix",comment:["&& denotes a mnemonic"]},"&&Remove Unusual Line Terminators"),cancelButton:l.NC("unusualLineTerminators.ignore","Ignore")})}finally{this._isPresentingDialog=!1}if(!e.confirmed){!function(e,t,i){e.setModelProperty(t.uri,h,i)}(this._codeEditorService,t,!0);return}t.removeUnusualLineTerminators(this._editor.getSelections())}}}};u.ID="editor.contrib.unusualLineTerminatorsDetector",u=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([d(1,a.S),d(2,r.$)],u),(0,o._K)(u.ID,u,1)},14495:function(e,t,i){"use strict";i.d(t,{G:function(){return b},w:function(){return C}}),i(99914);var n=i(84973),s=i(84901),o=i(43155),r=i(63580),l=i(75974),a=i(97781);let d=(0,l.P6G)("editor.wordHighlightBackground",{dark:"#575757B8",light:"#57575740",hcDark:null,hcLight:null},r.NC("wordHighlight","Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations."),!0);(0,l.P6G)("editor.wordHighlightStrongBackground",{dark:"#004972B8",light:"#0e639c40",hcDark:null,hcLight:null},r.NC("wordHighlightStrong","Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations."),!0),(0,l.P6G)("editor.wordHighlightTextBackground",{light:d,dark:d,hcDark:d,hcLight:d},r.NC("wordHighlightText","Background color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations."),!0);let h=(0,l.P6G)("editor.wordHighlightBorder",{light:null,dark:null,hcDark:l.xL1,hcLight:l.xL1},r.NC("wordHighlightBorder","Border color of a symbol during read-access, like reading a variable."));(0,l.P6G)("editor.wordHighlightStrongBorder",{light:null,dark:null,hcDark:l.xL1,hcLight:l.xL1},r.NC("wordHighlightStrongBorder","Border color of a symbol during write-access, like writing to a variable.")),(0,l.P6G)("editor.wordHighlightTextBorder",{light:h,dark:h,hcDark:h,hcLight:h},r.NC("wordHighlightTextBorder","Border color of a textual occurrence for a symbol."));let u=(0,l.P6G)("editorOverviewRuler.wordHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hcDark:"#A0A0A0CC",hcLight:"#A0A0A0CC"},r.NC("overviewRulerWordHighlightForeground","Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),c=(0,l.P6G)("editorOverviewRuler.wordHighlightStrongForeground",{dark:"#C0A0C0CC",light:"#C0A0C0CC",hcDark:"#C0A0C0CC",hcLight:"#C0A0C0CC"},r.NC("overviewRulerWordHighlightStrongForeground","Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),g=(0,l.P6G)("editorOverviewRuler.wordHighlightTextForeground",{dark:l.SPM,light:l.SPM,hcDark:l.SPM,hcLight:l.SPM},r.NC("overviewRulerWordHighlightTextForeground","Overview ruler marker color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations."),!0),p=s.qx.register({description:"word-highlight-strong",stickiness:1,className:"wordHighlightStrong",overviewRuler:{color:(0,a.EN)(c),position:n.sh.Center},minimap:{color:(0,a.EN)(l.IYc),position:1}}),m=s.qx.register({description:"word-highlight-text",stickiness:1,className:"wordHighlightText",overviewRuler:{color:(0,a.EN)(g),position:n.sh.Center},minimap:{color:(0,a.EN)(l.IYc),position:1}}),f=s.qx.register({description:"selection-highlight-overview",stickiness:1,className:"selectionHighlight",overviewRuler:{color:(0,a.EN)(l.SPM),position:n.sh.Center},minimap:{color:(0,a.EN)(l.IYc),position:1}}),_=s.qx.register({description:"selection-highlight",stickiness:1,className:"selectionHighlight"}),v=s.qx.register({description:"word-highlight",stickiness:1,className:"wordHighlight",overviewRuler:{color:(0,a.EN)(u),position:n.sh.Center},minimap:{color:(0,a.EN)(l.IYc),position:1}});function b(e){return e===o.MY.Write?p:e===o.MY.Text?m:v}function C(e){return e?_:f}(0,a.Ic)((e,t)=>{let i=e.getColor(l.Rzx);i&&t.addRule(`.monaco-editor .selectionHighlight { background-color: ${i.transparent(.5)}; }`)})},70943:function(e,t,i){"use strict";var n,s,o=i(63580),r=i(9488),l=i(85152),a=i(15393),d=i(71050),h=i(17301),u=i(5976),c=i(65520),g=i(16830),p=i(11640),m=i(24314),f=i(29102),_=i(43155),v=i(84973),b=i(71922),C=i(14495),w=i(32064),y=i(66663),S=i(43702),L=i(22970),k=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},D=function(e,t){return function(i,n){t(i,n,e)}};let x=new w.uy("hasWordHighlights",!1);function N(e,t,i,n){let s=e.ordered(t);return(0,a.Ps)(s.map(e=>()=>Promise.resolve(e.provideDocumentHighlights(t,i,n)).then(void 0,h.Cp)),r.Of).then(e=>{if(e){let i=new S.Y9;return i.set(t.uri,e),i}return new S.Y9})}class E{constructor(e,t,i){this._model=e,this._selection=t,this._wordSeparators=i,this._wordRange=this._getCurrentWordRange(e,t),this._result=null}get result(){return this._result||(this._result=(0,a.PG)(e=>this._compute(this._model,this._selection,this._wordSeparators,e))),this._result}_getCurrentWordRange(e,t){let i=e.getWordAtPosition(t.getPosition());return i?new m.e(t.startLineNumber,i.startColumn,t.startLineNumber,i.endColumn):null}isValid(e,t,i){let n=t.startLineNumber,s=t.startColumn,o=t.endColumn,r=this._getCurrentWordRange(e,t),l=!!(this._wordRange&&this._wordRange.equalsRange(r));for(let e=0,t=i.length;!l&&e=o&&(l=!0)}return l}cancel(){this.result.cancel()}}class I extends E{constructor(e,t,i,n){super(e,t,i),this._providers=n}_compute(e,t,i,n){return N(this._providers,e,t.getPosition(),n).then(e=>e||new S.Y9)}}class T extends E{constructor(e,t,i,n,s){super(e,t,i),this._providers=n,this._otherModels=s}_compute(e,t,i,n){return(function(e,t,i,n,s,o){let r=e.ordered(t);return(0,a.Ps)(r.map(e=>()=>{let n=o.filter(e=>(0,v.pt)(e)).filter(t=>(0,L.G)(e.selector,t.uri,t.getLanguageId(),!0,void 0,void 0)>0);return Promise.resolve(e.provideMultiDocumentHighlights(t,i,n,s)).then(void 0,h.Cp)}),e=>e instanceof S.Y9&&e.size>0)})(this._providers,e,t.getPosition(),0,n,this._otherModels).then(e=>e||new S.Y9)}}class M extends E{constructor(e,t,i,n,s){super(e,t,n),this._otherModels=s,this._selectionIsEmpty=t.isEmpty(),this._word=i}_compute(e,t,i,n){return(0,a.Vs)(250,n).then(()=>{let n;let s=new S.Y9;if(!(n=this._word?this._word:e.getWordAtPosition(t.getPosition())))return new S.Y9;let o=[e,...this._otherModels];for(let e of o){if(e.isDisposed())continue;let t=e.findMatches(n.word,!0,!1,!0,i,!1),o=t.map(e=>({range:e.range,kind:_.MY.Text}));o&&s.set(e.uri,o)}return s})}isValid(e,t,i){let n=t.isEmpty();return this._selectionIsEmpty===n&&super.isValid(e,t,i)}}(0,g.sb)("_executeDocumentHighlights",async(e,t,i)=>{let n=e.get(b.p),s=await N(n.documentHighlightProvider,t,i,d.Ts.None);return null==s?void 0:s.get(t.uri)});let R=n=class{constructor(e,t,i,s,o){this.toUnhook=new u.SL,this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=new S.Y9,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=e,this.providers=t,this.multiDocumentProviders=i,this.codeEditorService=o,this._hasWordHighlights=x.bindTo(s),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getOption(81),this.model=this.editor.getModel(),this.toUnhook.add(e.onDidChangeCursorPosition(e=>{this._ignorePositionChangeEvent||"off"===this.occurrencesHighlight||this._onPositionChanged(e)})),this.toUnhook.add(e.onDidFocusEditorText(e=>{"off"!==this.occurrencesHighlight&&(this.workerRequest||this._run())})),this.toUnhook.add(e.onDidChangeModelContent(e=>{this._stopAll()})),this.toUnhook.add(e.onDidChangeModel(e=>{!e.newModelUrl&&e.oldModelUrl?this._stopSingular():n.query&&this._run()})),this.toUnhook.add(e.onDidChangeConfiguration(e=>{let t=this.editor.getOption(81);this.occurrencesHighlight!==t&&(this.occurrencesHighlight=t,this._stopAll())})),this.decorations=this.editor.createDecorationsCollection(),this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,n.query&&this._run()}hasDecorations(){return this.decorations.length>0}restore(){"off"!==this.occurrencesHighlight&&this._run()}_getSortedHighlights(){return this.decorations.getRanges().sort(m.e.compareRangesUsingStarts)}moveNext(){let e=this._getSortedHighlights(),t=e.findIndex(e=>e.containsPosition(this.editor.getPosition())),i=(t+1)%e.length,n=e[i];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(n.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(n);let t=this._getWord();if(t){let s=this.editor.getModel().getLineContent(n.startLineNumber);(0,l.Z9)(`${s}, ${i+1} of ${e.length} for '${t.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}moveBack(){let e=this._getSortedHighlights(),t=e.findIndex(e=>e.containsPosition(this.editor.getPosition())),i=(t-1+e.length)%e.length,n=e[i];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(n.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(n);let t=this._getWord();if(t){let s=this.editor.getModel().getLineContent(n.startLineNumber);(0,l.Z9)(`${s}, ${i+1} of ${e.length} for '${t.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}_removeSingleDecorations(){if(!this.editor.hasModel())return;let e=n.storedDecorations.get(this.editor.getModel().uri);e&&(this.editor.removeDecorations(e),n.storedDecorations.delete(this.editor.getModel().uri),this.decorations.length>0&&(this.decorations.clear(),this._hasWordHighlights.set(!1)))}_removeAllDecorations(){let e=this.codeEditorService.listCodeEditors(),t=[];for(let i of e){if(!i.hasModel())continue;let e=n.storedDecorations.get(i.getModel().uri);if(!e)continue;i.removeDecorations(e),t.push(i.getModel().uri);let s=A.get(i);(null==s?void 0:s.wordHighlighter)&&s.wordHighlighter.decorations.length>0&&(s.wordHighlighter.decorations.clear(),s.wordHighlighter.workerRequest=null,s.wordHighlighter._hasWordHighlights.set(!1))}for(let e of t)n.storedDecorations.delete(e)}_stopSingular(){var e,t,i,s;this._removeSingleDecorations(),this.editor.hasTextFocus()&&((null===(e=this.editor.getModel())||void 0===e?void 0:e.uri.scheme)!==y.lg.vscodeNotebookCell&&(null===(i=null===(t=n.query)||void 0===t?void 0:t.modelInfo)||void 0===i?void 0:i.model.uri.scheme)!==y.lg.vscodeNotebookCell?(n.query=null,this._run()):(null===(s=n.query)||void 0===s?void 0:s.modelInfo)&&(n.query.modelInfo=null)),-1!==this.renderDecorationsTimer&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),null!==this.workerRequest&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)}_stopAll(){this._removeAllDecorations(),-1!==this.renderDecorationsTimer&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),null!==this.workerRequest&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)}_onPositionChanged(e){var t;if("off"===this.occurrencesHighlight||3!==e.reason&&(null===(t=this.editor.getModel())||void 0===t?void 0:t.uri.scheme)!==y.lg.vscodeNotebookCell){this._stopAll();return}this._run()}_getWord(){let e=this.editor.getSelection(),t=e.startLineNumber,i=e.startColumn;return this.model.isDisposed()?null:this.model.getWordAtPosition({lineNumber:t,column:i})}getOtherModelsToHighlight(e){if(!e)return[];let t=e.uri.scheme===y.lg.vscodeNotebookCell;if(t){let t=[],i=this.codeEditorService.listCodeEditors();for(let n of i){let i=n.getModel();i&&i!==e&&i.uri.scheme===y.lg.vscodeNotebookCell&&t.push(i)}return t}let i=[],n=this.codeEditorService.listCodeEditors();for(let t of n){if(!(0,c.QI)(t))continue;let n=t.getModel();n&&e===n.modified&&i.push(n.modified)}if(i.length)return i;if("singleFile"===this.occurrencesHighlight)return[];for(let t of n){let n=t.getModel(),s=n&&n!==e;s&&i.push(n)}return i}_run(){var e;let t;let i=this.editor.hasTextFocus();if(i){let e=this.editor.getSelection();if(!e||e.startLineNumber!==e.endLineNumber){n.query=null,this._stopAll();return}let i=e.startColumn,s=e.endColumn,o=this._getWord();if(!o||o.startColumn>i||o.endColumn{t===this.workerRequestTokenId&&(this.workerRequestCompleted=!0,this.workerRequestValue=e||[],this._beginRenderDecorations())},h.dL)}}computeWithModel(e,t,i,n){var s,o,r,l;return n.length?(s=this.multiDocumentProviders,o=this.editor.getOption(131),s.has(e)?new T(e,t,o,s,n):new M(e,t,i,o,n)):(r=this.providers,l=this.editor.getOption(131),r.has(e)?new I(e,t,l,r):new M(e,t,i,l,[]))}_beginRenderDecorations(){let e=new Date().getTime(),t=this.lastCursorPositionChangeTime+250;e>=t?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout(()=>{this.renderDecorations()},t-e)}renderDecorations(){var e,t,i;this.renderDecorationsTimer=-1;let s=this.codeEditorService.listCodeEditors();for(let o of s){let s=A.get(o);if(!s)continue;let r=[],l=null===(e=o.getModel())||void 0===e?void 0:e.uri;if(l&&this.workerRequestValue.has(l)){let e=n.storedDecorations.get(l),a=this.workerRequestValue.get(l);if(a)for(let e of a)e.range&&r.push({range:e.range,options:(0,C.G)(e.kind)});let d=[];o.changeDecorations(t=>{d=t.deltaDecorations(null!=e?e:[],r)}),n.storedDecorations=n.storedDecorations.set(l,d),r.length>0&&(null===(t=s.wordHighlighter)||void 0===t||t.decorations.set(r),null===(i=s.wordHighlighter)||void 0===i||i._hasWordHighlights.set(!0))}}}dispose(){this._stopSingular(),this.toUnhook.dispose()}};R.storedDecorations=new S.Y9,R.query=null,R=n=k([D(4,p.$)],R);let A=s=class extends u.JT{static get(e){return e.getContribution(s.ID)}constructor(e,t,i,n){super(),this._wordHighlighter=null;let s=()=>{e.hasModel()&&!e.getModel().isTooLargeForTokenization()&&(this._wordHighlighter=new R(e,i.documentHighlightProvider,i.multiDocumentHighlightProvider,t,n))};this._register(e.onDidChangeModel(e=>{this._wordHighlighter&&(this._wordHighlighter.dispose(),this._wordHighlighter=null),s()})),s()}get wordHighlighter(){return this._wordHighlighter}saveViewState(){return!!(this._wordHighlighter&&this._wordHighlighter.hasDecorations())}moveNext(){var e;null===(e=this._wordHighlighter)||void 0===e||e.moveNext()}moveBack(){var e;null===(e=this._wordHighlighter)||void 0===e||e.moveBack()}restoreViewState(e){this._wordHighlighter&&e&&this._wordHighlighter.restore()}dispose(){this._wordHighlighter&&(this._wordHighlighter.dispose(),this._wordHighlighter=null),super.dispose()}};A.ID="editor.contrib.wordHighlighter",A=s=k([D(1,w.i6),D(2,b.p),D(3,p.$)],A);class P extends g.R6{constructor(e,t){super(t),this._isNext=e}run(e,t){let i=A.get(t);i&&(this._isNext?i.moveNext():i.moveBack())}}class O extends g.R6{constructor(){super({id:"editor.action.wordHighlight.trigger",label:o.NC("wordHighlight.trigger.label","Trigger Symbol Highlight"),alias:"Trigger Symbol Highlight",precondition:x.toNegated(),kbOpts:{kbExpr:f.u.editorTextFocus,primary:0,weight:100}})}run(e,t,i){let n=A.get(t);n&&n.restoreViewState(!0)}}(0,g._K)(A.ID,A,0),(0,g.Qr)(class extends P{constructor(){super(!0,{id:"editor.action.wordHighlight.next",label:o.NC("wordHighlight.next.label","Go to Next Symbol Highlight"),alias:"Go to Next Symbol Highlight",precondition:x,kbOpts:{kbExpr:f.u.editorTextFocus,primary:65,weight:100}})}}),(0,g.Qr)(class extends P{constructor(){super(!1,{id:"editor.action.wordHighlight.prev",label:o.NC("wordHighlight.previous.label","Go to Previous Symbol Highlight"),alias:"Go to Previous Symbol Highlight",precondition:x,kbOpts:{kbExpr:f.u.editorTextFocus,primary:1089,weight:100}})}}),(0,g.Qr)(O)},37181:function(e,t,i){"use strict";i.d(t,{IA:function(){return v},t8:function(){return w}});var n=i(16830),s=i(61329),o=i(64141),r=i(55343),l=i(92896),a=i(24929),d=i(50187),h=i(24314),u=i(3860),c=i(29102),g=i(4256),p=i(63580),m=i(31106),f=i(32064),_=i(39282);class v extends n._l{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,i){if(!t.hasModel())return;let n=(0,a.u)(t.getOption(131),t.getOption(130)),s=t.getModel(),o=t.getSelections(),l=o.map(e=>{let t=new d.L(e.positionLineNumber,e.positionColumn),i=this._move(n,s,t,this._wordNavigationType);return this._moveTo(e,i,this._inSelectionMode)});if(s.pushStackElement(),t._getViewModel().setCursorStates("moveWordCommand",3,l.map(e=>r.Vi.fromModelSelection(e))),1===l.length){let e=new d.L(l[0].positionLineNumber,l[0].positionColumn);t.revealPosition(e,0)}}_moveTo(e,t,i){return i?new u.Y(e.selectionStartLineNumber,e.selectionStartColumn,t.lineNumber,t.column):new u.Y(t.lineNumber,t.column,t.lineNumber,t.column)}}class b extends v{_move(e,t,i,n){return l.w.moveWordLeft(e,t,i,n)}}class C extends v{_move(e,t,i,n){return l.w.moveWordRight(e,t,i,n)}}class w extends n._l{constructor(e){super(e),this._whitespaceHeuristics=e.whitespaceHeuristics,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,i){let n=e.get(g.c_);if(!t.hasModel())return;let o=(0,a.u)(t.getOption(131),t.getOption(130)),r=t.getModel(),l=t.getSelections(),d=t.getOption(6),h=t.getOption(11),u=n.getLanguageConfiguration(r.getLanguageId()).getAutoClosingPairs(),c=t._getViewModel(),p=l.map(e=>{let i=this._delete({wordSeparators:o,model:r,selection:e,whitespaceHeuristics:this._whitespaceHeuristics,autoClosingDelete:t.getOption(9),autoClosingBrackets:d,autoClosingQuotes:h,autoClosingPairs:u,autoClosedCharacters:c.getCursorAutoClosedCharacters()},this._wordNavigationType);return new s.T4(i,"")});t.pushUndoStop(),t.executeCommands(this.id,p),t.pushUndoStop()}}class y extends w{_delete(e,t){let i=l.w.deleteWordLeft(e,t);return i||new h.e(1,1,1,1)}}class S extends w{_delete(e,t){let i=l.w.deleteWordRight(e,t);if(i)return i;let n=e.model.getLineCount(),s=e.model.getLineMaxColumn(n);return new h.e(n,s,n,s)}}class L extends n.R6{constructor(){super({id:"deleteInsideWord",precondition:c.u.writable,label:p.NC("deleteInsideWord","Delete Word"),alias:"Delete Word"})}run(e,t,i){if(!t.hasModel())return;let n=(0,a.u)(t.getOption(131),t.getOption(130)),o=t.getModel(),r=t.getSelections(),d=r.map(e=>{let t=l.w.deleteInsideWord(n,o,e);return new s.T4(t,"")});t.pushUndoStop(),t.executeCommands(this.id,d),t.pushUndoStop()}}(0,n.fK)(new class extends b{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartLeft",precondition:void 0})}}),(0,n.fK)(new class extends b{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndLeft",precondition:void 0})}}),(0,n.fK)(new class extends b{constructor(){var e;super({inSelectionMode:!1,wordNavigationType:1,id:"cursorWordLeft",precondition:void 0,kbOpts:{kbExpr:f.Ao.and(c.u.textInputFocus,null===(e=f.Ao.and(m.U,_.cv))||void 0===e?void 0:e.negate()),primary:2063,mac:{primary:527},weight:100}})}}),(0,n.fK)(new class extends b{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartLeftSelect",precondition:void 0})}}),(0,n.fK)(new class extends b{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndLeftSelect",precondition:void 0})}}),(0,n.fK)(new class extends b{constructor(){var e;super({inSelectionMode:!0,wordNavigationType:1,id:"cursorWordLeftSelect",precondition:void 0,kbOpts:{kbExpr:f.Ao.and(c.u.textInputFocus,null===(e=f.Ao.and(m.U,_.cv))||void 0===e?void 0:e.negate()),primary:3087,mac:{primary:1551},weight:100}})}}),(0,n.fK)(new class extends C{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartRight",precondition:void 0})}}),(0,n.fK)(new class extends C{constructor(){var e;super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndRight",precondition:void 0,kbOpts:{kbExpr:f.Ao.and(c.u.textInputFocus,null===(e=f.Ao.and(m.U,_.cv))||void 0===e?void 0:e.negate()),primary:2065,mac:{primary:529},weight:100}})}}),(0,n.fK)(new class extends C{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordRight",precondition:void 0})}}),(0,n.fK)(new class extends C{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartRightSelect",precondition:void 0})}}),(0,n.fK)(new class extends C{constructor(){var e;super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndRightSelect",precondition:void 0,kbOpts:{kbExpr:f.Ao.and(c.u.textInputFocus,null===(e=f.Ao.and(m.U,_.cv))||void 0===e?void 0:e.negate()),primary:3089,mac:{primary:1553},weight:100}})}}),(0,n.fK)(new class extends C{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordRightSelect",precondition:void 0})}}),(0,n.fK)(new class extends b{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityLeft",precondition:void 0})}_move(e,t,i,n){return super._move((0,a.u)(o.BH.wordSeparators.defaultValue,e.intlSegmenterLocales),t,i,n)}}),(0,n.fK)(new class extends b{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityLeftSelect",precondition:void 0})}_move(e,t,i,n){return super._move((0,a.u)(o.BH.wordSeparators.defaultValue,e.intlSegmenterLocales),t,i,n)}}),(0,n.fK)(new class extends C{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityRight",precondition:void 0})}_move(e,t,i,n){return super._move((0,a.u)(o.BH.wordSeparators.defaultValue,e.intlSegmenterLocales),t,i,n)}}),(0,n.fK)(new class extends C{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityRightSelect",precondition:void 0})}_move(e,t,i,n){return super._move((0,a.u)(o.BH.wordSeparators.defaultValue,e.intlSegmenterLocales),t,i,n)}}),(0,n.fK)(new class extends y{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartLeft",precondition:c.u.writable})}}),(0,n.fK)(new class extends y{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndLeft",precondition:c.u.writable})}}),(0,n.fK)(new class extends y{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordLeft",precondition:c.u.writable,kbOpts:{kbExpr:c.u.textInputFocus,primary:2049,mac:{primary:513},weight:100}})}}),(0,n.fK)(new class extends S{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartRight",precondition:c.u.writable})}}),(0,n.fK)(new class extends S{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndRight",precondition:c.u.writable})}}),(0,n.fK)(new class extends S{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordRight",precondition:c.u.writable,kbOpts:{kbExpr:c.u.textInputFocus,primary:2068,mac:{primary:532},weight:100}})}}),(0,n.Qr)(L)},86709:function(e,t,i){"use strict";var n=i(16830),s=i(92896),o=i(24314),r=i(29102),l=i(37181),a=i(94565);class d extends l.t8{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordPartLeft",precondition:r.u.writable,kbOpts:{kbExpr:r.u.textInputFocus,primary:0,mac:{primary:769},weight:100}})}_delete(e,t){let i=s.L.deleteWordPartLeft(e);return i||new o.e(1,1,1,1)}}class h extends l.t8{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordPartRight",precondition:r.u.writable,kbOpts:{kbExpr:r.u.textInputFocus,primary:0,mac:{primary:788},weight:100}})}_delete(e,t){let i=s.L.deleteWordPartRight(e);if(i)return i;let n=e.model.getLineCount(),r=e.model.getLineMaxColumn(n);return new o.e(n,r,n,r)}}class u extends l.IA{_move(e,t,i,n){return s.L.moveWordPartLeft(e,t,i)}}a.P.registerCommandAlias("cursorWordPartStartLeft","cursorWordPartLeft"),a.P.registerCommandAlias("cursorWordPartStartLeftSelect","cursorWordPartLeftSelect");class c extends l.IA{_move(e,t,i,n){return s.L.moveWordPartRight(e,t,i)}}(0,n.fK)(new d),(0,n.fK)(new h),(0,n.fK)(new class extends u{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordPartLeft",precondition:void 0,kbOpts:{kbExpr:r.u.textInputFocus,primary:0,mac:{primary:783},weight:100}})}}),(0,n.fK)(new class extends u{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordPartLeftSelect",precondition:void 0,kbOpts:{kbExpr:r.u.textInputFocus,primary:0,mac:{primary:1807},weight:100}})}}),(0,n.fK)(new class extends c{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordPartRight",precondition:void 0,kbOpts:{kbExpr:r.u.textInputFocus,primary:0,mac:{primary:785},weight:100}})}}),(0,n.fK)(new class extends c{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordPartRightSelect",precondition:void 0,kbOpts:{kbExpr:r.u.textInputFocus,primary:0,mac:{primary:1809},weight:100}})}})},19646:function(e,t,i){"use strict";i(63737);var n=i(65321),s=i(5976),o=i(16830),r=i(1432);class l extends s.JT{constructor(e){super(),this.editor=e,this.widget=null,r.gn&&(this._register(e.onDidChangeConfiguration(()=>this.update())),this.update())}update(){let e=!this.editor.getOption(91);!this.widget&&e?this.widget=new a(this.editor):this.widget&&!e&&(this.widget.dispose(),this.widget=null)}dispose(){super.dispose(),this.widget&&(this.widget.dispose(),this.widget=null)}}l.ID="editor.contrib.iPadShowKeyboard";class a extends s.JT{constructor(e){super(),this.editor=e,this._domNode=document.createElement("textarea"),this._domNode.className="iPadShowKeyboard",this._register(n.nm(this._domNode,"touchstart",e=>{this.editor.focus()})),this._register(n.nm(this._domNode,"focus",e=>{this.editor.focus()})),this.editor.addOverlayWidget(this)}dispose(){this.editor.removeOverlayWidget(this),super.dispose()}getId(){return a.ID}getDomNode(){return this._domNode}getPosition(){return{preference:1}}}a.ID="editor.contrib.ShowKeyboardWidget",(0,o._K)(l.ID,l,3)},97830:function(e,t,i){"use strict";i(544);var n,s=i(65321),o=i(41264),r=i(5976),l=i(16830),a=i(43155),d=i(45797),h=i(276),u=i(72042),c=i(44156),g=i(20913),p=function(e,t){return function(i,n){t(i,n,e)}};let m=n=class extends r.JT{static get(e){return e.getContribution(n.ID)}constructor(e,t,i){super(),this._editor=e,this._languageService=i,this._widget=null,this._register(this._editor.onDidChangeModel(e=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(e=>this.stop())),this._register(a.RW.onDidChange(e=>this.stop())),this._register(this._editor.onKeyUp(e=>9===e.keyCode&&this.stop()))}dispose(){this.stop(),super.dispose()}launch(){!this._widget&&this._editor.hasModel()&&(this._widget=new _(this._editor,this._languageService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};m.ID="editor.contrib.inspectTokens",m=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([p(1,c.Z),p(2,u.O)],m);class f extends l.R6{constructor(){super({id:"editor.action.inspectTokens",label:g.ug.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(e,t){let i=m.get(t);null==i||i.launch()}}class _ extends r.JT{constructor(e,t){super(),this.allowEditorOverflow=!0,this._editor=e,this._languageService=t,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=function(e,t){let i=a.RW.get(t);if(i)return i;let n=e.encodeLanguageId(t);return{getInitialState:()=>h.TJ,tokenize:(e,i,n)=>(0,h.Ri)(t,n),tokenizeEncoded:(e,t,i)=>(0,h.Dy)(n,i)}}(this._languageService.languageIdCodec,this._model.getLanguageId()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(e=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return _._ID}_compute(e){let t=this._getTokensAtLine(e.lineNumber),i=0;for(let n=t.tokens1.length-1;n>=0;n--){let s=t.tokens1[n];if(e.column-1>=s.offset){i=n;break}}let n=0;for(let i=t.tokens2.length>>>1;i>=0;i--)if(e.column-1>=t.tokens2[i<<1]){n=i;break}let r=this._model.getLineContent(e.lineNumber),l="";if(i0&&s.push({key:e,score:o})}}return s}static termFrequencies(e){return function(e){var t;let i=new Map;for(let n of e)i.set(n,(null!==(t=i.get(n))&&void 0!==t?t:0)+1);return i}(b.splitTerms(e))}static*splitTerms(e){let t=e=>e.toLowerCase();for(let[i]of e.matchAll(/\b\p{Letter}[\p{Letter}\d]{2,}\b/gu)){yield t(i);let e=i.replace(/([a-z])([A-Z])/g,"$1 $2").split(/\s+/g);if(e.length>1)for(let i of e)i.length>2&&/\p{Letter}{3,}/gu.test(i)&&(yield t(i))}}updateDocuments(e){var t;for(let{key:t}of e)this.deleteDocument(t);for(let i of e){let e=[];for(let n of i.textChunks){let i=b.termFrequencies(n);for(let e of i.keys())this.chunkOccurrences.set(e,(null!==(t=this.chunkOccurrences.get(e))&&void 0!==t?t:0)+1);e.push({text:n,tf:i})}this.chunkCount+=e.length,this.documents.set(i.key,{chunks:e})}return this}deleteDocument(e){let t=this.documents.get(e);if(t)for(let i of(this.documents.delete(e),this.chunkCount-=t.chunks.length,t.chunks))for(let e of i.tf.keys()){let t=this.chunkOccurrences.get(e);if("number"==typeof t){let i=t-1;i<=0?this.chunkOccurrences.delete(e):this.chunkOccurrences.set(e,i)}}}computeSimilarityScore(e,t,i){let n=0;for(let[s,o]of Object.entries(t)){let t=e.tf.get(s);if(!t)continue;let r=i.get(s);"number"!=typeof r&&(r=this.computeIdf(s),i.set(s,r));let l=t*r;n+=l*o}return n}computeEmbedding(e){let t=b.termFrequencies(e);return this.computeTfidf(t)}computeIdf(e){var t;let i=null!==(t=this.chunkOccurrences.get(e))&&void 0!==t?t:0;return i>0?Math.log((this.chunkCount+1)/i):0}computeTfidf(e){let t=Object.create(null);for(let[i,n]of e){let e=this.computeIdf(i);e>0&&(t[i]=n*e)}return t}}var C=i(63580),w=i(94565),y=i(33108),S=i(28820),L=i(72065),k=i(91847),D=i(43557),x=i(15393),N=i(71050),E=i(98401);function I(e){return Array.isArray(e.items)}function T(e){return!!e.picks&&e.additionalPicks instanceof Promise}(n=s||(s={}))[n.NO_ACTION=0]="NO_ACTION",n[n.CLOSE_PICKER=1]="CLOSE_PICKER",n[n.REFRESH_PICKER=2]="REFRESH_PICKER",n[n.REMOVE_ITEM=3]="REMOVE_ITEM";class M extends _.JT{constructor(e,t){super(),this.prefix=e,this.options=t}provide(e,t,i){var n;let o;let r=new _.SL;e.canAcceptInBackground=!!(null===(n=this.options)||void 0===n?void 0:n.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;let l=r.add(new _.XK),a=async()=>{var n;let s=l.value=new _.SL;null==o||o.dispose(!0),e.busy=!1,o=new N.AU(t);let r=o.token,a=e.value.substring(this.prefix.length);(null===(n=this.options)||void 0===n?void 0:n.shouldSkipTrimPickFilter)||(a=a.trim());let d=this._getPicks(a,s,r,i),h=(t,i)=>{var n;let s,o;if(I(t)?(s=t.items,o=t.active):s=t,0===s.length){if(i)return!1;(a.length>0||e.hideInput)&&(null===(n=this.options)||void 0===n?void 0:n.noResultsPick)&&(s=(0,E.mf)(this.options.noResultsPick)?[this.options.noResultsPick(a)]:[this.options.noResultsPick])}return e.items=s,o&&(e.activeItems=[o]),!0},u=async t=>{let i=!1,n=!1;await Promise.all([(async()=>{("number"!=typeof t.mergeDelay||(await (0,x.Vs)(t.mergeDelay),!r.isCancellationRequested))&&(n||(i=h(t.picks,!0)))})(),(async()=>{e.busy=!0;try{let n,s,o,l;let a=await t.additionalPicks;if(r.isCancellationRequested)return;if(I(t.picks)?(n=t.picks.items,o=t.picks.active):n=t.picks,I(a)?(s=a.items,l=a.active):s=a,s.length>0||!i){let t;if(!o&&!l){let i=e.activeItems[0];i&&-1!==n.indexOf(i)&&(t=i)}h({items:[...n,...s],active:o||l||t})}}finally{r.isCancellationRequested||(e.busy=!1),n=!0}})()])};if(null===d);else if(T(d))await u(d);else if(d instanceof Promise){e.busy=!0;try{let e=await d;if(r.isCancellationRequested)return;T(e)?await u(e):h(e)}finally{r.isCancellationRequested||(e.busy=!1)}}else h(d)};r.add(e.onDidChangeValue(()=>a())),a(),r.add(e.onDidAccept(t=>{var n;if(null==i?void 0:i.handleAccept){t.inBackground||e.hide(),null===(n=i.handleAccept)||void 0===n||n.call(i,e.activeItems[0]);return}let[s]=e.selectedItems;"function"==typeof(null==s?void 0:s.accept)&&(t.inBackground||e.hide(),s.accept(e.keyMods,t))}));let d=async(i,n)=>{var o,r;if("function"!=typeof n.trigger)return;let l=null!==(r=null===(o=n.buttons)||void 0===o?void 0:o.indexOf(i))&&void 0!==r?r:-1;if(l>=0){let i=n.trigger(l,e.keyMods),o="number"==typeof i?i:await i;if(t.isCancellationRequested)return;switch(o){case s.NO_ACTION:break;case s.CLOSE_PICKER:e.hide();break;case s.REFRESH_PICKER:a();break;case s.REMOVE_ITEM:{let t=e.items.indexOf(n);if(-1!==t){let i=e.items.slice(),n=i.splice(t,1),s=e.activeItems.filter(e=>e!==n[0]),o=e.keepScrollPosition;e.keepScrollPosition=!0,e.items=i,s&&(e.activeItems=s),e.keepScrollPosition=o}}}}};return r.add(e.onDidTriggerItemButton(({button:e,item:t})=>d(e,t))),r.add(e.onDidTriggerSeparatorButton(({button:e,separator:t})=>d(e,t))),r}}var R=i(87060),A=i(10829),P=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},O=function(e,t){return function(i,n){t(i,n,e)}};let F=o=class extends M{constructor(e,t,i,n,s,r){super(o.PREFIX,e),this.instantiationService=t,this.keybindingService=i,this.commandService=n,this.telemetryService=s,this.dialogService=r,this.commandsHistory=this._register(this.instantiationService.createInstance(B)),this.options=e}async _getPicks(e,t,i,n){var s,r,l,a;let d=await this.getCommandPicks(i);if(i.isCancellationRequested)return[];let h=(0,f.M)(()=>{let t=new b;t.updateDocuments(d.map(e=>({key:e.commandId,textChunks:[this.getTfIdfChunk(e)]})));let n=t.calculateScores(e,i);return(function(e){var t,i;let n=e.slice(0);n.sort((e,t)=>t.score-e.score);let s=null!==(i=null===(t=n[0])||void 0===t?void 0:t.score)&&void 0!==i?i:0;if(s>0)for(let e of n)e.score/=s;return n})(n).filter(e=>e.score>o.TFIDF_THRESHOLD).slice(0,o.TFIDF_MAX_RESULTS)}),u=[];for(let t of d){let n=null!==(s=o.WORD_FILTER(e,t.label))&&void 0!==s?s:void 0,l=t.commandAlias&&null!==(r=o.WORD_FILTER(e,t.commandAlias))&&void 0!==r?r:void 0;if(n||l)t.highlights={label:n,detail:this.options.showAlias?l:void 0},u.push(t);else if(e===t.commandId)u.push(t);else if(e.length>=3){let e=h();if(i.isCancellationRequested)return[];let n=e.find(e=>e.key===t.commandId);n&&(t.tfIdfScore=n.score,u.push(t))}}let c=new Map;for(let e of u){let t=c.get(e.label);t?(e.description=e.commandId,t.description=t.commandId):c.set(e.label,e)}u.sort((e,t)=>{if(e.tfIdfScore&&t.tfIdfScore)return e.tfIdfScore===t.tfIdfScore?e.label.localeCompare(t.label):t.tfIdfScore-e.tfIdfScore;if(e.tfIdfScore)return 1;if(t.tfIdfScore)return -1;let i=this.commandsHistory.peek(e.commandId),n=this.commandsHistory.peek(t.commandId);if(i&&n)return i>n?-1:1;if(i)return -1;if(n)return 1;if(this.options.suggestedCommandIds){let i=this.options.suggestedCommandIds.has(e.commandId),n=this.options.suggestedCommandIds.has(t.commandId);if(i&&n)return 0;if(i)return -1;if(n)return 1}return e.label.localeCompare(t.label)});let g=[],p=!1,m=!0,_=!!this.options.suggestedCommandIds;for(let e=0;e{var t;let s=await this.getAdditionalCommandPicks(d,u,e,i);if(i.isCancellationRequested)return[];let o=s.map(e=>this.toCommandPick(e,n));return m&&(null===(t=o[0])||void 0===t?void 0:t.type)!=="separator"&&o.unshift({type:"separator",label:(0,C.NC)("suggested","similar commands")}),o})()}:g}toCommandPick(e,t){if("separator"===e.type)return e;let i=this.keybindingService.lookupKeybinding(e.commandId),n=i?(0,C.NC)("commandPickAriaLabelWithKeybinding","{0}, {1}",e.label,i.getAriaLabel()):e.label;return{...e,ariaLabel:n,detail:this.options.showAlias&&e.commandAlias!==e.label?e.commandAlias:void 0,keybinding:i,accept:async()=>{var i,n;this.commandsHistory.push(e.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:e.commandId,from:null!==(i=null==t?void 0:t.from)&&void 0!==i?i:"quick open"});try{(null===(n=e.args)||void 0===n?void 0:n.length)?await this.commandService.executeCommand(e.commandId,...e.args):await this.commandService.executeCommand(e.commandId)}catch(t){(0,p.n2)(t)||this.dialogService.error((0,C.NC)("canNotRun","Command '{0}' resulted in an error",e.label),(0,g.y)(t))}}}}getTfIdfChunk({label:e,commandAlias:t,commandDescription:i}){let n=e;return t&&t!==e&&(n+=` - ${t}`),i&&i.value!==e&&(n+=` - ${i.value===i.original?i.value:`${i.value} (${i.original})`}`),n}};F.PREFIX=">",F.TFIDF_THRESHOLD=.5,F.TFIDF_MAX_RESULTS=5,F.WORD_FILTER=(0,m.or)(m.Ji,m.KZ,m.ir),F=o=P([O(1,L.TG),O(2,k.d),O(3,w.H),O(4,A.b),O(5,S.S)],F);let B=r=class extends _.JT{constructor(e,t,i){super(),this.storageService=e,this.configurationService=t,this.logService=i,this.configuredCommandsHistoryLength=0,this.updateConfiguration(),this.load(),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(e=>this.updateConfiguration(e))),this._register(this.storageService.onWillSaveState(e=>{e.reason===R.fk.SHUTDOWN&&this.saveState()}))}updateConfiguration(e){(!e||e.affectsConfiguration("workbench.commandPalette.history"))&&(this.configuredCommandsHistoryLength=r.getConfiguredCommandHistoryLength(this.configurationService),r.cache&&r.cache.limit!==this.configuredCommandsHistoryLength&&(r.cache.limit=this.configuredCommandsHistoryLength,r.hasChanges=!0))}load(){let e;let t=this.storageService.get(r.PREF_KEY_CACHE,0);if(t)try{e=JSON.parse(t)}catch(e){this.logService.error(`[CommandsHistory] invalid data: ${e}`)}let i=r.cache=new v.z6(this.configuredCommandsHistoryLength,1);e&&(e.usesLRU?e.entries:e.entries.sort((e,t)=>e.value-t.value)).forEach(e=>i.set(e.key,e.value)),r.counter=this.storageService.getNumber(r.PREF_KEY_COUNTER,0,r.counter)}push(e){r.cache&&(r.cache.set(e,r.counter++),r.hasChanges=!0)}peek(e){var t;return null===(t=r.cache)||void 0===t?void 0:t.peek(e)}saveState(){if(!r.cache||!r.hasChanges)return;let e={usesLRU:!0,entries:[]};r.cache.forEach((t,i)=>e.entries.push({key:i,value:t})),this.storageService.store(r.PREF_KEY_CACHE,JSON.stringify(e),0,0),this.storageService.store(r.PREF_KEY_COUNTER,r.counter,0,0),r.hasChanges=!1}static getConfiguredCommandHistoryLength(e){var t,i;let n=e.getValue(),s=null===(i=null===(t=n.workbench)||void 0===t?void 0:t.commandPalette)||void 0===i?void 0:i.history;return"number"==typeof s?s:r.DEFAULT_COMMANDS_HISTORY_LENGTH}};B.DEFAULT_COMMANDS_HISTORY_LENGTH=50,B.PREF_KEY_CACHE="commandPalette.mru.cache",B.PREF_KEY_COUNTER="commandPalette.mru.counter",B.counter=1,B.hasChanges=!1,B=r=P([O(0,R.Uy),O(1,y.Ui),O(2,D.VZ)],B);class W extends F{constructor(e,t,i,n,s,o){super(e,t,i,n,s,o)}getCodeEditorCommandPicks(){var e;let t=this.activeTextEditorControl;if(!t)return[];let i=[];for(let n of t.getSupportedActions()){let t;(null===(e=n.metadata)||void 0===e?void 0:e.description)&&(t=(0,c.q)(n.metadata.description)?n.metadata.description:{original:n.metadata.description,value:n.metadata.description}),i.push({commandId:n.id,commandAlias:n.alias,commandDescription:t,label:(0,u.x$)(n.label)||n.id})}return i}}var H=i(16830),V=i(29102),z=i(41157),K=function(e,t){return function(i,n){t(i,n,e)}};let U=class extends W{get activeTextEditorControl(){var e;return null!==(e=this.codeEditorService.getFocusedCodeEditor())&&void 0!==e?e:void 0}constructor(e,t,i,n,s,o){super({showAlias:!1},e,i,n,s,o),this.codeEditorService=t}async getCommandPicks(){return this.getCodeEditorCommandPicks()}hasAdditionalCommandPicks(){return!1}async getAdditionalCommandPicks(){return[]}};U=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([K(0,L.TG),K(1,h.$),K(2,k.d),K(3,w.H),K(4,A.b),K(5,S.S)],U);class $ extends H.R6{constructor(){super({id:$.ID,label:d.UX.quickCommandActionLabel,alias:"Command Palette",precondition:void 0,kbOpts:{kbExpr:V.u.focus,primary:59,weight:100},contextMenuOpts:{group:"z_commands",order:1}})}run(e){e.get(z.eJ).quickAccess.show(U.PREFIX)}}$.ID="editor.action.quickCommand",(0,H.Qr)($),l.B.as(a.IP.Quickaccess).registerQuickAccessProvider({ctor:U,prefix:U.PREFIX,helpEntries:[{description:d.UX.quickCommandHelp,commandId:$.ID}]})},62078:function(e,t,i){"use strict";var n,s=i(5976),o=i(65520),r=i(83943),l=i(63580);class a extends r.X{constructor(){super({canAcceptInBackground:!0})}provideWithoutTextEditor(e){let t=(0,l.NC)("cannotRunGotoLine","Open a text editor first to go to a line.");return e.items=[{label:t}],e.ariaLabel=t,s.JT.None}provideWithTextEditor(e,t,i){let n=e.editor,r=new s.SL;r.add(t.onDidAccept(i=>{let[s]=t.selectedItems;if(s){if(!this.isValidLineNumber(n,s.lineNumber))return;this.gotoLocation(e,{range:this.toRange(s.lineNumber,s.column),keyMods:t.keyMods,preserveFocus:i.inBackground}),i.inBackground||t.hide()}}));let l=()=>{let e=this.parsePosition(n,t.value.trim().substr(a.PREFIX.length)),i=this.getPickLabel(n,e.lineNumber,e.column);if(t.items=[{lineNumber:e.lineNumber,column:e.column,label:i}],t.ariaLabel=i,!this.isValidLineNumber(n,e.lineNumber)){this.clearDecorations(n);return}let s=this.toRange(e.lineNumber,e.column);n.revealRangeInCenter(s,0),this.addDecorations(n,s)};l(),r.add(t.onDidChangeValue(()=>l()));let d=(0,o.Pi)(n);if(d){let e=d.getOptions(),t=e.get(68);2===t.renderType&&(d.updateOptions({lineNumbers:"on"}),r.add((0,s.OF)(()=>d.updateOptions({lineNumbers:"relative"}))))}return r}toRange(e=1,t=1){return{startLineNumber:e,startColumn:t,endLineNumber:e,endColumn:t}}parsePosition(e,t){let i=t.split(/,|:|#/).map(e=>parseInt(e,10)).filter(e=>!isNaN(e)),n=this.lineCount(e)+1;return{lineNumber:i[0]>0?i[0]:n+i[0],column:i[1]}}getPickLabel(e,t,i){if(this.isValidLineNumber(e,t))return this.isValidColumn(e,t,i)?(0,l.NC)("gotoLineColumnLabel","Go to line {0} and character {1}.",t,i):(0,l.NC)("gotoLineLabel","Go to line {0}.",t);let n=e.getPosition()||{lineNumber:1,column:1},s=this.lineCount(e);return s>1?(0,l.NC)("gotoLineLabelEmptyWithLimit","Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.",n.lineNumber,n.column,s):(0,l.NC)("gotoLineLabelEmpty","Current Line: {0}, Character: {1}. Type a line number to navigate to.",n.lineNumber,n.column)}isValidLineNumber(e,t){return!!t&&"number"==typeof t&&t>0&&t<=this.lineCount(e)}isValidColumn(e,t,i){if(!i||"number"!=typeof i)return!1;let n=this.getModel(e);if(!n)return!1;let s={lineNumber:t,column:i};return n.validatePosition(s).equals(s)}lineCount(e){var t,i;return null!==(i=null===(t=this.getModel(e))||void 0===t?void 0:t.getLineCount())&&void 0!==i?i:0}}a.PREFIX=":";var d=i(89872),h=i(45503),u=i(11640),c=i(20913),g=i(4669),p=i(16830),m=i(29102),f=i(41157);let _=class extends a{constructor(e){super(),this.editorService=e,this.onDidActiveTextEditorControlChange=g.ju.None}get activeTextEditorControl(){var e;return null!==(e=this.editorService.getFocusedCodeEditor())&&void 0!==e?e:void 0}};_=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([(n=u.$,function(e,t){n(e,t,0)})],_);class v extends p.R6{constructor(){super({id:v.ID,label:c.qq.gotoLineActionLabel,alias:"Go to Line/Column...",precondition:void 0,kbOpts:{kbExpr:m.u.focus,primary:2085,mac:{primary:293},weight:100}})}run(e){e.get(f.eJ).quickAccess.show(_.PREFIX)}}v.ID="editor.action.gotoLine",(0,p.Qr)(v),d.B.as(h.IP.Quickaccess).registerQuickAccessProvider({ctor:_,prefix:_.PREFIX,helpEntries:[{description:c.qq.gotoLineActionLabel,commandId:v.ID}]})},96816:function(e,t,i){"use strict";i(28609),i(71713);var n,s=i(15393),o=i(71050),r=i(78789),l=i(25670),a=i(60075),d=i(82663),h=i(1432),u=i(97295);let c=[void 0,[]];function g(e,t,i=0,n=0){return t.values&&t.values.length>1?function(e,t,i,n){let s=0,o=[];for(let r of t){let[t,l]=p(e,r,i,n);if("number"!=typeof t)return c;s+=t,o.push(...l)}return[s,function(e){let t;let i=e.sort((e,t)=>e.start-t.start),n=[];for(let e of i){var s;!t||(s=t).end=0,l=m(e),a=e.split(" ");if(a.length>1)for(let e of a){let i=m(e),{pathNormalized:n,normalized:s,normalizedLowercase:o}=_(e);s&&(t||(t=[]),t.push({original:e,originalLowercase:e.toLowerCase(),pathNormalized:n,normalized:s,normalizedLowercase:o,expectContiguousMatch:i}))}return{original:e,originalLowercase:i,pathNormalized:n,normalized:s,normalizedLowercase:o,values:t,containsPathSeparator:r,expectContiguousMatch:l}}function _(e){let t;t=h.ED?e.replace(/\//g,d.ir):e.replace(/\\/g,d.ir);let i=(0,u.R1)(t).replace(/\s|"/g,"");return{pathNormalized:t,normalized:i,normalizedLowercase:i.toLowerCase()}}function v(e){return Array.isArray(e)?f(e.map(e=>e.original).join(" ")):f(e.original)}Object.freeze({score:0});var b=i(5976),C=i(24314),w=i(43155),y=i(88941),S=i(83943),L=i(63580),k=i(71922),D=i(35534),x=function(e,t){return function(i,n){t(i,n,e)}};let N=n=class extends S.X{constructor(e,t,i=Object.create(null)){super(i),this._languageFeaturesService=e,this._outlineModelService=t,this.options=i,this.options.canAcceptInBackground=!0}provideWithoutTextEditor(e){return this.provideLabelPick(e,(0,L.NC)("cannotRunGotoSymbolWithoutEditor","To go to a symbol, first open a text editor with symbol information.")),b.JT.None}provideWithTextEditor(e,t,i,n){let s=e.editor,o=this.getModel(s);return o?this._languageFeaturesService.documentSymbolProvider.has(o)?this.doProvideWithEditorSymbols(e,o,t,i,n):this.doProvideWithoutEditorSymbols(e,o,t,i):b.JT.None}doProvideWithoutEditorSymbols(e,t,i,n){let s=new b.SL;return this.provideLabelPick(i,(0,L.NC)("cannotRunGotoSymbolWithoutSymbolProvider","The active text editor does not provide symbol information.")),(async()=>{let o=await this.waitForLanguageSymbolRegistry(t,s);o&&!n.isCancellationRequested&&s.add(this.doProvideWithEditorSymbols(e,t,i,n))})(),s}provideLabelPick(e,t){e.items=[{label:t,index:0,kind:14}],e.ariaLabel=t}async waitForLanguageSymbolRegistry(e,t){if(this._languageFeaturesService.documentSymbolProvider.has(e))return!0;let i=new s.CR,n=t.add(this._languageFeaturesService.documentSymbolProvider.onDidChange(()=>{this._languageFeaturesService.documentSymbolProvider.has(e)&&(n.dispose(),i.complete(!0))}));return t.add((0,b.OF)(()=>i.complete(!1))),i.p}doProvideWithEditorSymbols(e,t,i,s,r){var l;let a;let d=e.editor,h=new b.SL;h.add(i.onDidAccept(t=>{var n;let[s]=i.selectedItems;s&&s.range&&(this.gotoLocation(e,{range:s.range.selection,keyMods:i.keyMods,preserveFocus:t.inBackground}),null===(n=null==r?void 0:r.handleAccept)||void 0===n||n.call(r,s),t.inBackground||i.hide())})),h.add(i.onDidTriggerItemButton(({item:t})=>{t&&t.range&&(this.gotoLocation(e,{range:t.range.selection,keyMods:i.keyMods,forceSideBySide:!0}),i.hide())}));let u=this.getDocumentSymbols(t,s),c=async e=>{null==a||a.dispose(!0),i.busy=!1,a=new o.AU(s),i.busy=!0;try{let o=f(i.value.substr(n.PREFIX.length).trim()),r=await this.doGetSymbolPicks(u,o,void 0,a.token,t);if(s.isCancellationRequested)return;if(r.length>0){if(i.items=r,e&&0===o.original.length){let t=(0,D.dF)(r,t=>!!("separator"!==t.type&&t.range&&C.e.containsPosition(t.range.decoration,e)));t&&(i.activeItems=[t])}}else o.original.length>0?this.provideLabelPick(i,(0,L.NC)("noMatchingSymbolResults","No matching editor symbols")):this.provideLabelPick(i,(0,L.NC)("noSymbolResults","No editor symbols"))}finally{s.isCancellationRequested||(i.busy=!1)}};return h.add(i.onDidChangeValue(()=>c(void 0))),c(null===(l=d.getSelection())||void 0===l?void 0:l.getPosition()),h.add(i.onDidChangeActive(()=>{let[e]=i.activeItems;e&&e.range&&(d.revealRangeInCenter(e.range.selection,0),this.addDecorations(d,e.range.decoration))})),h}async doGetSymbolPicks(e,t,i,s,o){var a,d;let h,c,p;let m=await e;if(s.isCancellationRequested)return[];let f=0===t.original.indexOf(n.SCOPE_PREFIX),_=f?1:0;t.values&&t.values.length>1?(h=v(t.values[0]),c=v(t.values.slice(1))):h=t;let b=null===(d=null===(a=this.options)||void 0===a?void 0:a.openSideBySideDirection)||void 0===d?void 0:d.call(a);b&&(p=[{iconClass:"right"===b?l.k.asClassName(r.l.splitHorizontal):l.k.asClassName(r.l.splitVertical),tooltip:"right"===b?(0,L.NC)("openToSide","Open to the Side"):(0,L.NC)("openToBottom","Open to the Bottom")}]);let y=[];for(let e=0;e_){let e=!1;if(h!==t&&([n,s]=g(f,{...t,values:void 0},_,v),"number"==typeof n&&(e=!0)),"number"!=typeof n&&([n,s]=g(f,h,_,v),"number"!=typeof n))continue;if(!e&&c){if(b&&c.original.length>0&&([r,l]=g(b,c)),"number"!=typeof r)continue;"number"==typeof n&&(n+=r)}}let S=a.tags&&a.tags.indexOf(1)>=0;y.push({index:e,kind:a.kind,score:n,label:f,ariaLabel:(0,w.R4)(a.name,a.kind),description:b,highlights:S?void 0:{label:s,description:l},range:{selection:C.e.collapseToStart(a.selectionRange),decoration:a.range},uri:o.uri,symbolName:d,strikethrough:S,buttons:p})}let S=y.sort((e,t)=>f?this.compareByKindAndScore(e,t):this.compareByScore(e,t)),k=[];if(f){let e,t;let i=0;function D(){t&&"number"==typeof e&&i>0&&(t.label=(0,u.WU)(I[e]||E,i))}for(let n of S)e!==n.kind?(D(),e=n.kind,i=1,t={type:"separator"},k.push(t)):i++,k.push(n);D()}else S.length>0&&(k=[{label:(0,L.NC)("symbols","symbols ({0})",y.length),type:"separator"},...S]);return k}compareByScore(e,t){if("number"!=typeof e.score&&"number"==typeof t.score)return 1;if("number"==typeof e.score&&"number"!=typeof t.score)return -1;if("number"==typeof e.score&&"number"==typeof t.score){if(e.score>t.score)return -1;if(e.scoret.index?1:0}compareByKindAndScore(e,t){let i=I[e.kind]||E,n=I[t.kind]||E,s=i.localeCompare(n);return 0===s?this.compareByScore(e,t):s}async getDocumentSymbols(e,t){let i=await this._outlineModelService.getOrCreate(e,t);return t.isCancellationRequested?[]:i.asListOfDocumentSymbols()}};N.PREFIX="@",N.SCOPE_PREFIX=":",N.PREFIX_BY_CATEGORY=`${n.PREFIX}${n.SCOPE_PREFIX}`,N=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([x(0,k.p),x(1,y.Je)],N);let E=(0,L.NC)("property","properties ({0})"),I={5:(0,L.NC)("method","methods ({0})"),11:(0,L.NC)("function","functions ({0})"),8:(0,L.NC)("_constructor","constructors ({0})"),12:(0,L.NC)("variable","variables ({0})"),4:(0,L.NC)("class","classes ({0})"),22:(0,L.NC)("struct","structs ({0})"),23:(0,L.NC)("event","events ({0})"),24:(0,L.NC)("operator","operators ({0})"),10:(0,L.NC)("interface","interfaces ({0})"),2:(0,L.NC)("namespace","namespaces ({0})"),3:(0,L.NC)("package","packages ({0})"),25:(0,L.NC)("typeParameter","type parameters ({0})"),1:(0,L.NC)("modules","modules ({0})"),6:(0,L.NC)("property","properties ({0})"),9:(0,L.NC)("enum","enumerations ({0})"),21:(0,L.NC)("enumMember","enumeration members ({0})"),14:(0,L.NC)("string","strings ({0})"),0:(0,L.NC)("file","files ({0})"),17:(0,L.NC)("array","arrays ({0})"),15:(0,L.NC)("number","numbers ({0})"),16:(0,L.NC)("boolean","booleans ({0})"),18:(0,L.NC)("object","objects ({0})"),19:(0,L.NC)("key","keys ({0})"),7:(0,L.NC)("field","fields ({0})"),13:(0,L.NC)("constant","constants ({0})")};var T=i(89872),M=i(45503),R=i(11640),A=i(20913),P=i(4669),O=i(16830),F=i(29102),B=i(41157),W=function(e,t){return function(i,n){t(i,n,e)}};let H=class extends N{constructor(e,t,i){super(t,i),this.editorService=e,this.onDidActiveTextEditorControlChange=P.ju.None}get activeTextEditorControl(){var e;return null!==(e=this.editorService.getFocusedCodeEditor())&&void 0!==e?e:void 0}};H=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([W(0,R.$),W(1,k.p),W(2,y.Je)],H);class V extends O.R6{constructor(){super({id:V.ID,label:A.aq.quickOutlineActionLabel,alias:"Go to Symbol...",precondition:F.u.hasDocumentSymbolProvider,kbOpts:{kbExpr:F.u.focus,primary:3117,weight:100},contextMenuOpts:{group:"navigation",order:3}})}run(e){e.get(B.eJ).quickAccess.show(N.PREFIX,{itemActivation:B.jG.NONE})}}V.ID="editor.action.quickOutline",(0,O.Qr)(V),T.B.as(M.IP.Quickaccess).registerQuickAccessProvider({ctor:H,prefix:N.PREFIX,helpEntries:[{description:A.aq.quickOutlineActionLabel,prefix:N.PREFIX,commandId:V.ID},{description:A.aq.quickOutlineByCategoryActionLabel,prefix:N.PREFIX_BY_CATEGORY}]})},60669:function(e,t,i){"use strict";var n,s=i(89872),o=i(45503),r=i(20913),l=i(63580),a=i(5976),d=i(91847),h=i(41157),u=function(e,t){return function(i,n){t(i,n,e)}};let c=n=class{constructor(e,t){this.quickInputService=e,this.keybindingService=t,this.registry=s.B.as(o.IP.Quickaccess)}provide(e){let t=new a.SL;return t.add(e.onDidAccept(()=>{let[t]=e.selectedItems;t&&this.quickInputService.quickAccess.show(t.prefix,{preserveValue:!0})})),t.add(e.onDidChangeValue(e=>{let t=this.registry.getQuickAccessProvider(e.substr(n.PREFIX.length));t&&t.prefix&&t.prefix!==n.PREFIX&&this.quickInputService.quickAccess.show(t.prefix,{preserveValue:!0})})),e.items=this.getQuickAccessProviders().filter(e=>e.prefix!==n.PREFIX),t}getQuickAccessProviders(){let e=this.registry.getQuickAccessProviders().sort((e,t)=>e.prefix.localeCompare(t.prefix)).flatMap(e=>this.createPicks(e));return e}createPicks(e){return e.helpEntries.map(t=>{let i=t.prefix||e.prefix,n=i||"…";return{prefix:i,label:n,keybinding:t.commandId?this.keybindingService.lookupKeybinding(t.commandId):void 0,ariaLabel:(0,l.NC)("helpPickAriaLabel","{0}, {1}",n,t.description),description:t.description}})}};c.PREFIX="?",c=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([u(0,h.eJ),u(1,d.d)],c),s.B.as(o.IP.Quickaccess).registerQuickAccessProvider({ctor:c,prefix:"",helpEntries:[{description:r.ld.helpQuickAccessActionLabel}]})},45048:function(e,t,i){"use strict";var n=i(16830),s=i(11640),o=i(29010),r=i(33108),l=i(32064),a=i(72065),d=i(59422),h=i(87060),u=function(e,t){return function(i,n){t(i,n,e)}};let c=class extends o.J{constructor(e,t,i,n,s,o,r){super(!0,e,t,i,n,s,o,r)}};c=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([u(1,l.i6),u(2,s.$),u(3,d.lT),u(4,a.TG),u(5,h.Uy),u(6,r.Ui)],c),(0,n._K)(o.J.ID,c,4)},88542:function(e,t,i){"use strict";i.d(t,{kR:function(){return M},MU:function(){return R},nI:function(){return H},rW:function(){return T},TG:function(){return I}});var n=i(65321),s=i(16268),o=i(41264),r=i(4669),l=i(43155),a=i(45797);class d{constructor(e,t,i,n,s){this._parsedThemeRuleBrand=void 0,this.token=e,this.index=t,this.fontStyle=i,this.foreground=n,this.background=s}}let h=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/;class u{constructor(){this._lastColorId=0,this._id2color=[],this._color2id=new Map}getId(e){if(null===e)return 0;let t=e.match(h);if(!t)throw Error("Illegal value for token color: "+e);e=t[1].toUpperCase();let i=this._color2id.get(e);return i||(i=++this._lastColorId,this._color2id.set(e,i),this._id2color[i]=o.Il.fromHex("#"+e)),i}getColorMap(){return this._id2color.slice(0)}}class c{static createFromRawTokenTheme(e,t){return this.createFromParsedTokenTheme(function(e){if(!e||!Array.isArray(e))return[];let t=[],i=0;for(let n=0,s=e.length;n{var i,n;let s=(i=e.token)<(n=t.token)?-1:i>n?1:0;return 0!==s?s:e.index-t.index});let i=0,n="000000",s="ffffff";for(;e.length>=1&&""===e[0].token;){let t=e.shift();-1!==t.fontStyle&&(i=t.fontStyle),null!==t.foreground&&(n=t.foreground),null!==t.background&&(s=t.background)}let o=new u;for(let e of t)o.getId(e);let r=o.getId(n),l=o.getId(s),a=new p(i,r,l),d=new m(a);for(let t=0,i=e.length;t>>0,this._cache.set(t,i)}return(i|e<<0)>>>0}}let g=/\b(comment|string|regex|regexp)\b/;class p{constructor(e,t,i){this._themeTrieElementRuleBrand=void 0,this._fontStyle=e,this._foreground=t,this._background=i,this.metadata=(this._fontStyle<<11|this._foreground<<15|this._background<<24)>>>0}clone(){return new p(this._fontStyle,this._foreground,this._background)}acceptOverwrite(e,t,i){-1!==e&&(this._fontStyle=e),0!==t&&(this._foreground=t),0!==i&&(this._background=i),this.metadata=(this._fontStyle<<11|this._foreground<<15|this._background<<24)>>>0}}class m{constructor(e){this._themeTrieElementBrand=void 0,this._mainRule=e,this._children=new Map}match(e){let t,i;if(""===e)return this._mainRule;let n=e.indexOf(".");-1===n?(t=e,i=""):(t=e.substring(0,n),i=e.substring(n+1));let s=this._children.get(t);return void 0!==s?s.match(i):this._mainRule}insert(e,t,i,n){let s,o;if(""===e){this._mainRule.acceptOverwrite(t,i,n);return}let r=e.indexOf(".");-1===r?(s=e,o=""):(s=e.substring(0,r),o=e.substring(r+1));let l=this._children.get(s);void 0===l&&(l=new m(this._mainRule.clone()),this._children.set(s,l)),l.insert(o,t,i,n)}}var f=i(51945),_=i(75974);let v={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"C700C7"}],colors:{[_.cvW]:"#FFFFFE",[_.NOs]:"#000000",[_.ES4]:"#E5EBF1",[f.gS]:"#D3D3D3",[f.qe]:"#939393",[_.Rzx]:"#ADD6FF4D"}},b={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[_.cvW]:"#1E1E1E",[_.NOs]:"#D4D4D4",[_.ES4]:"#3A3D41",[f.gS]:"#404040",[f.qe]:"#707070",[_.Rzx]:"#ADD6FF26"}},C={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[_.cvW]:"#000000",[_.NOs]:"#FFFFFF",[f.gS]:"#FFFFFF",[f.qe]:"#FFFFFF"}},w={base:"hc-light",inherit:!1,rules:[{token:"",foreground:"292929",background:"FFFFFF"},{token:"invalid",foreground:"B5200D"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"264F70"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"B5200D"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"264F78"},{token:"attribute.value",foreground:"0451A5"},{token:"string",foreground:"A31515"},{token:"string.sql",foreground:"B5200D"},{token:"keyword",foreground:"0000FF"},{token:"keyword.flow",foreground:"AF00DB"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"C700C7"}],colors:{[_.cvW]:"#FFFFFF",[_.NOs]:"#292929",[f.gS]:"#292929",[f.qe]:"#292929"}};var y=i(89872),S=i(97781),L=i(5976),k=i(92321),D=i(25670),x=i(59554);class N{getIcon(e){let t=(0,x.Ks)(),i=e.defaults;for(;D.k.isThemeIcon(i);){let e=t.getIcon(i.id);if(!e)return;i=e.defaults}return i}}var E=i(48906);let I="vs",T="vs-dark",M="hc-black",R="hc-light",A=y.B.as(_.IPX.ColorContribution),P=y.B.as(S.IP.ThemingContribution);class O{constructor(e,t){this.semanticHighlighting=!1,this.themeData=t;let i=t.base;e.length>0?(F(e)?this.id=e:this.id=i+" "+e,this.themeName=e):(this.id=i,this.themeName=i),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}get base(){return this.themeData.base}notifyBaseUpdated(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)}getColors(){if(!this.colors){let e=new Map;for(let t in this.themeData.colors)e.set(t,o.Il.fromHex(this.themeData.colors[t]));if(this.themeData.inherit){let t=B(this.themeData.base);for(let i in t.colors)e.has(i)||e.set(i,o.Il.fromHex(t.colors[i]))}this.colors=e}return this.colors}getColor(e,t){let i=this.getColors().get(e);return i||(!1!==t?this.getDefault(e):void 0)}getDefault(e){let t=this.defaultColors[e];return t||(t=A.resolveDefaultColor(e,this),this.defaultColors[e]=t),t}defines(e){return this.getColors().has(e)}get type(){switch(this.base){case I:return k.eL.LIGHT;case M:return k.eL.HIGH_CONTRAST_DARK;case R:return k.eL.HIGH_CONTRAST_LIGHT;default:return k.eL.DARK}}get tokenTheme(){if(!this._tokenTheme){let e=[],t=[];if(this.themeData.inherit){let i=B(this.themeData.base);e=i.rules,i.encodedTokensColors&&(t=i.encodedTokensColors)}let i=this.themeData.colors["editor.foreground"],n=this.themeData.colors["editor.background"];if(i||n){let t={token:""};i&&(t.foreground=i),n&&(t.background=n),e.push(t)}e=e.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(t=this.themeData.encodedTokensColors),this._tokenTheme=c.createFromRawTokenTheme(e,t)}return this._tokenTheme}getTokenStyleMetadata(e,t,i){let n=this.tokenTheme._match([e].concat(t).join(".")),s=n.metadata,o=a.N.getForeground(s),r=a.N.getFontStyle(s);return{foreground:o,italic:!!(1&r),bold:!!(2&r),underline:!!(4&r),strikethrough:!!(8&r)}}}function F(e){return e===I||e===T||e===M||e===R}function B(e){switch(e){case I:return v;case T:return b;case M:return C;case R:return w}}function W(e){let t=B(e);return new O(e,t)}class H extends L.JT{constructor(){super(),this._onColorThemeChange=this._register(new r.Q5),this.onDidColorThemeChange=this._onColorThemeChange.event,this._onProductIconThemeChange=this._register(new r.Q5),this.onDidProductIconThemeChange=this._onProductIconThemeChange.event,this._environment=Object.create(null),this._builtInProductIconTheme=new N,this._autoDetectHighContrast=!0,this._knownThemes=new Map,this._knownThemes.set(I,W(I)),this._knownThemes.set(T,W(T)),this._knownThemes.set(M,W(M)),this._knownThemes.set(R,W(R));let e=this._register(function(e){let t=new L.SL,i=t.add(new r.Q5),s=(0,x.Ks)();return t.add(s.onDidChange(()=>i.fire())),e&&t.add(e.onDidProductIconThemeChange(()=>i.fire())),{dispose:()=>t.dispose(),onDidChange:i.event,getCSS(){let t=e?e.getProductIconTheme():new N,i={},o=[],r=[];for(let e of s.getIcons()){let s=t.getIcon(e);if(!s)continue;let l=s.font,a=`--vscode-icon-${e.id}-font-family`,d=`--vscode-icon-${e.id}-content`;l?(i[l.id]=l.definition,r.push(`${a}: ${(0,n._h)(l.id)};`,`${d}: '${s.fontCharacter}';`),o.push(`.codicon-${e.id}:before { content: '${s.fontCharacter}'; font-family: ${(0,n._h)(l.id)}; }`)):(r.push(`${d}: '${s.fontCharacter}'; ${a}: 'codicon';`),o.push(`.codicon-${e.id}:before { content: '${s.fontCharacter}'; }`))}for(let e in i){let t=i[e],s=t.weight?`font-weight: ${t.weight};`:"",r=t.style?`font-style: ${t.style};`:"",l=t.src.map(e=>`${(0,n.wY)(e.location)} format('${e.format}')`).join(", ");o.push(`@font-face { src: ${l}; font-family: ${(0,n._h)(e)};${s}${r} font-display: block; }`)}return o.push(`:root { ${r.join(" ")} }`),o.join("\n")}}}(this));this._codiconCSS=e.getCSS(),this._themeCSS="",this._allCSS=`${this._codiconCSS} -${this._themeCSS}`,this._globalStyleElement=null,this._styleElements=[],this._colorMapOverride=null,this.setTheme(I),this._onOSSchemeChanged(),this._register(e.onDidChange(()=>{this._codiconCSS=e.getCSS(),this._updateCSS()})),(0,s.uB)(E.E,"(forced-colors: active)",()=>{this._onOSSchemeChanged()})}registerEditorContainer(e){return n.OO(e)?this._registerShadowDomContainer(e):this._registerRegularEditorContainer()}_registerRegularEditorContainer(){return this._globalStyleElement||(this._globalStyleElement=n.dS(void 0,e=>{e.className="monaco-colors",e.textContent=this._allCSS}),this._styleElements.push(this._globalStyleElement)),L.JT.None}_registerShadowDomContainer(e){let t=n.dS(e,e=>{e.className="monaco-colors",e.textContent=this._allCSS});return this._styleElements.push(t),{dispose:()=>{for(let e=0;e{t.base===e&&t.notifyBaseUpdated()}),this._theme.themeName===e&&this.setTheme(e)}getColorTheme(){return this._theme}setColorMapOverride(e){this._colorMapOverride=e,this._updateThemeOrColorMap()}setTheme(e){let t;t=this._knownThemes.has(e)?this._knownThemes.get(e):this._knownThemes.get(I),this._updateActualTheme(t)}_updateActualTheme(e){e&&this._theme!==e&&(this._theme=e,this._updateThemeOrColorMap())}_onOSSchemeChanged(){if(this._autoDetectHighContrast){let e=E.E.matchMedia("(forced-colors: active)").matches;if(e!==(0,k.c3)(this._theme.type)){let t;t=(0,k._T)(this._theme.type)?e?M:T:e?R:I,this._updateActualTheme(this._knownThemes.get(t))}}}setAutoDetectHighContrast(e){this._autoDetectHighContrast=e,this._onOSSchemeChanged()}_updateThemeOrColorMap(){let e=[],t={},i={addRule:i=>{t[i]||(e.push(i),t[i]=!0)}};P.getThemingParticipants().forEach(e=>e(this._theme,i,this._environment));let n=[];for(let e of A.getColors()){let t=this._theme.getColor(e.id,!0);t&&n.push(`${(0,_.QO2)(e.id)}: ${t.toString()};`)}i.addRule(`.monaco-editor, .monaco-diff-editor, .monaco-component { ${n.join("\n")} }`);let s=this._colorMapOverride||this._theme.tokenTheme.getColorMap();i.addRule(function(e){let t=[];for(let i=1,n=e.length;ie.textContent=this._allCSS)}getFileIconTheme(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}}getProductIconTheme(){return this._builtInProductIconTheme}}},15662:function(e,t,i){"use strict";var n=i(16830),s=i(44156),o=i(20913),r=i(92321),l=i(88542);class a extends n.R6{constructor(){super({id:"editor.action.toggleHighContrast",label:o.xi.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(e,t){let i=e.get(s.Z),n=i.getColorTheme();(0,r.c3)(n.type)?(i.setTheme(this._originalThemeName||((0,r._T)(n.type)?l.rW:l.TG)),this._originalThemeName=null):(i.setTheme((0,r._T)(n.type)?l.kR:l.MU),this._originalThemeName=n.themeName)}}(0,n.Qr)(a)},44156:function(e,t,i){"use strict";i.d(t,{Z:function(){return s}});var n=i(72065);let s=(0,n.yh)("themeService")},63580:function(e,t,i){"use strict";i.d(t,{NC:function(){return o},aj:function(){return l},vv:function(){return r}});let n="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function s(e,t){let i;return i=0===t.length?e:e.replace(/\{(\d+)\}/g,(e,i)=>{let n=i[0],s=t[n],o=e;return"string"==typeof s?o=s:("number"==typeof s||"boolean"==typeof s||null==s)&&(o=String(s)),o}),n&&(i="["+i.replace(/[aouei]/g,"$&$&")+"]"),i}function o(e,t,...i){return s(t,i)}function r(e,t,...i){let n=s(t,i);return{value:n,original:n}}function l(e){}},98685:function(e,t,i){"use strict";i.d(t,{V:function(){return n}});let n=new class{constructor(){this._implementations=[]}register(e){return this._implementations.push(e),{dispose:()=>{let t=this._implementations.indexOf(e);-1!==t&&this._implementations.splice(t,1),e.dispose()}}}getImplementations(){return this._implementations}}},31106:function(e,t,i){"use strict";i.d(t,{F:function(){return o},U:function(){return r}});var n=i(32064),s=i(72065);let o=(0,s.yh)("accessibilityService"),r=new n.uy("accessibilityModeEnabled",!1)},38832:function(e,t,i){"use strict";i.d(t,{IV:function(){return o},iP:function(){return a}});var n=i(63580),s=i(72065);let o=(0,s.yh)("accessibilitySignalService");Symbol("AcknowledgeDocCommentsToken");class r{static register(e){let t=new r(e.fileName);return t}constructor(e){this.fileName=e}}r.error=r.register({fileName:"error.mp3"}),r.warning=r.register({fileName:"warning.mp3"}),r.success=r.register({fileName:"success.mp3"}),r.foldedArea=r.register({fileName:"foldedAreas.mp3"}),r.break=r.register({fileName:"break.mp3"}),r.quickFixes=r.register({fileName:"quickFixes.mp3"}),r.taskCompleted=r.register({fileName:"taskCompleted.mp3"}),r.taskFailed=r.register({fileName:"taskFailed.mp3"}),r.terminalBell=r.register({fileName:"terminalBell.mp3"}),r.diffLineInserted=r.register({fileName:"diffLineInserted.mp3"}),r.diffLineDeleted=r.register({fileName:"diffLineDeleted.mp3"}),r.diffLineModified=r.register({fileName:"diffLineModified.mp3"}),r.chatRequestSent=r.register({fileName:"chatRequestSent.mp3"}),r.chatResponseReceived1=r.register({fileName:"chatResponseReceived1.mp3"}),r.chatResponseReceived2=r.register({fileName:"chatResponseReceived2.mp3"}),r.chatResponseReceived3=r.register({fileName:"chatResponseReceived3.mp3"}),r.chatResponseReceived4=r.register({fileName:"chatResponseReceived4.mp3"}),r.clear=r.register({fileName:"clear.mp3"}),r.save=r.register({fileName:"save.mp3"}),r.format=r.register({fileName:"format.mp3"}),r.voiceRecordingStarted=r.register({fileName:"voiceRecordingStarted.mp3"}),r.voiceRecordingStopped=r.register({fileName:"voiceRecordingStopped.mp3"}),r.progress=r.register({fileName:"progress.mp3"});class l{constructor(e){this.randomOneOf=e}}class a{constructor(e,t,i,n,s,o,r){this.sound=e,this.name=t,this.legacySoundSettingsKey=i,this.settingsKey=n,this.legacyAnnouncementSettingsKey=s,this.announcementMessage=o,this.delaySettingsKey=r}static register(e){let t=new l("randomOneOf"in e.sound?e.sound.randomOneOf:[e.sound]),i=new a(t,e.name,e.legacySoundSettingsKey,e.settingsKey,e.legacyAnnouncementSettingsKey,e.announcementMessage,e.delaySettingsKey);return a._signals.add(i),i}}a._signals=new Set,a.errorAtPosition=a.register({name:(0,n.NC)("accessibilitySignals.positionHasError.name","Error at Position"),sound:r.error,announcementMessage:(0,n.NC)("accessibility.signals.positionHasError","Error"),settingsKey:"accessibility.signals.positionHasError",delaySettingsKey:"accessibility.signalOptions.delays.errorAtPosition"}),a.warningAtPosition=a.register({name:(0,n.NC)("accessibilitySignals.positionHasWarning.name","Warning at Position"),sound:r.warning,announcementMessage:(0,n.NC)("accessibility.signals.positionHasWarning","Warning"),settingsKey:"accessibility.signals.positionHasWarning",delaySettingsKey:"accessibility.signalOptions.delays.warningAtPosition"}),a.errorOnLine=a.register({name:(0,n.NC)("accessibilitySignals.lineHasError.name","Error on Line"),sound:r.error,legacySoundSettingsKey:"audioCues.lineHasError",legacyAnnouncementSettingsKey:"accessibility.alert.error",announcementMessage:(0,n.NC)("accessibility.signals.lineHasError","Error on Line"),settingsKey:"accessibility.signals.lineHasError"}),a.warningOnLine=a.register({name:(0,n.NC)("accessibilitySignals.lineHasWarning.name","Warning on Line"),sound:r.warning,legacySoundSettingsKey:"audioCues.lineHasWarning",legacyAnnouncementSettingsKey:"accessibility.alert.warning",announcementMessage:(0,n.NC)("accessibility.signals.lineHasWarning","Warning on Line"),settingsKey:"accessibility.signals.lineHasWarning"}),a.foldedArea=a.register({name:(0,n.NC)("accessibilitySignals.lineHasFoldedArea.name","Folded Area on Line"),sound:r.foldedArea,legacySoundSettingsKey:"audioCues.lineHasFoldedArea",legacyAnnouncementSettingsKey:"accessibility.alert.foldedArea",announcementMessage:(0,n.NC)("accessibility.signals.lineHasFoldedArea","Folded"),settingsKey:"accessibility.signals.lineHasFoldedArea"}),a.break=a.register({name:(0,n.NC)("accessibilitySignals.lineHasBreakpoint.name","Breakpoint on Line"),sound:r.break,legacySoundSettingsKey:"audioCues.lineHasBreakpoint",legacyAnnouncementSettingsKey:"accessibility.alert.breakpoint",announcementMessage:(0,n.NC)("accessibility.signals.lineHasBreakpoint","Breakpoint"),settingsKey:"accessibility.signals.lineHasBreakpoint"}),a.inlineSuggestion=a.register({name:(0,n.NC)("accessibilitySignals.lineHasInlineSuggestion.name","Inline Suggestion on Line"),sound:r.quickFixes,legacySoundSettingsKey:"audioCues.lineHasInlineSuggestion",settingsKey:"accessibility.signals.lineHasInlineSuggestion"}),a.terminalQuickFix=a.register({name:(0,n.NC)("accessibilitySignals.terminalQuickFix.name","Terminal Quick Fix"),sound:r.quickFixes,legacySoundSettingsKey:"audioCues.terminalQuickFix",legacyAnnouncementSettingsKey:"accessibility.alert.terminalQuickFix",announcementMessage:(0,n.NC)("accessibility.signals.terminalQuickFix","Quick Fix"),settingsKey:"accessibility.signals.terminalQuickFix"}),a.onDebugBreak=a.register({name:(0,n.NC)("accessibilitySignals.onDebugBreak.name","Debugger Stopped on Breakpoint"),sound:r.break,legacySoundSettingsKey:"audioCues.onDebugBreak",legacyAnnouncementSettingsKey:"accessibility.alert.onDebugBreak",announcementMessage:(0,n.NC)("accessibility.signals.onDebugBreak","Breakpoint"),settingsKey:"accessibility.signals.onDebugBreak"}),a.noInlayHints=a.register({name:(0,n.NC)("accessibilitySignals.noInlayHints","No Inlay Hints on Line"),sound:r.error,legacySoundSettingsKey:"audioCues.noInlayHints",legacyAnnouncementSettingsKey:"accessibility.alert.noInlayHints",announcementMessage:(0,n.NC)("accessibility.signals.noInlayHints","No Inlay Hints"),settingsKey:"accessibility.signals.noInlayHints"}),a.taskCompleted=a.register({name:(0,n.NC)("accessibilitySignals.taskCompleted","Task Completed"),sound:r.taskCompleted,legacySoundSettingsKey:"audioCues.taskCompleted",legacyAnnouncementSettingsKey:"accessibility.alert.taskCompleted",announcementMessage:(0,n.NC)("accessibility.signals.taskCompleted","Task Completed"),settingsKey:"accessibility.signals.taskCompleted"}),a.taskFailed=a.register({name:(0,n.NC)("accessibilitySignals.taskFailed","Task Failed"),sound:r.taskFailed,legacySoundSettingsKey:"audioCues.taskFailed",legacyAnnouncementSettingsKey:"accessibility.alert.taskFailed",announcementMessage:(0,n.NC)("accessibility.signals.taskFailed","Task Failed"),settingsKey:"accessibility.signals.taskFailed"}),a.terminalCommandFailed=a.register({name:(0,n.NC)("accessibilitySignals.terminalCommandFailed","Terminal Command Failed"),sound:r.error,legacySoundSettingsKey:"audioCues.terminalCommandFailed",legacyAnnouncementSettingsKey:"accessibility.alert.terminalCommandFailed",announcementMessage:(0,n.NC)("accessibility.signals.terminalCommandFailed","Command Failed"),settingsKey:"accessibility.signals.terminalCommandFailed"}),a.terminalCommandSucceeded=a.register({name:(0,n.NC)("accessibilitySignals.terminalCommandSucceeded","Terminal Command Succeeded"),sound:r.success,announcementMessage:(0,n.NC)("accessibility.signals.terminalCommandSucceeded","Command Succeeded"),settingsKey:"accessibility.signals.terminalCommandSucceeded"}),a.terminalBell=a.register({name:(0,n.NC)("accessibilitySignals.terminalBell","Terminal Bell"),sound:r.terminalBell,legacySoundSettingsKey:"audioCues.terminalBell",legacyAnnouncementSettingsKey:"accessibility.alert.terminalBell",announcementMessage:(0,n.NC)("accessibility.signals.terminalBell","Terminal Bell"),settingsKey:"accessibility.signals.terminalBell"}),a.notebookCellCompleted=a.register({name:(0,n.NC)("accessibilitySignals.notebookCellCompleted","Notebook Cell Completed"),sound:r.taskCompleted,legacySoundSettingsKey:"audioCues.notebookCellCompleted",legacyAnnouncementSettingsKey:"accessibility.alert.notebookCellCompleted",announcementMessage:(0,n.NC)("accessibility.signals.notebookCellCompleted","Notebook Cell Completed"),settingsKey:"accessibility.signals.notebookCellCompleted"}),a.notebookCellFailed=a.register({name:(0,n.NC)("accessibilitySignals.notebookCellFailed","Notebook Cell Failed"),sound:r.taskFailed,legacySoundSettingsKey:"audioCues.notebookCellFailed",legacyAnnouncementSettingsKey:"accessibility.alert.notebookCellFailed",announcementMessage:(0,n.NC)("accessibility.signals.notebookCellFailed","Notebook Cell Failed"),settingsKey:"accessibility.signals.notebookCellFailed"}),a.diffLineInserted=a.register({name:(0,n.NC)("accessibilitySignals.diffLineInserted","Diff Line Inserted"),sound:r.diffLineInserted,legacySoundSettingsKey:"audioCues.diffLineInserted",settingsKey:"accessibility.signals.diffLineInserted"}),a.diffLineDeleted=a.register({name:(0,n.NC)("accessibilitySignals.diffLineDeleted","Diff Line Deleted"),sound:r.diffLineDeleted,legacySoundSettingsKey:"audioCues.diffLineDeleted",settingsKey:"accessibility.signals.diffLineDeleted"}),a.diffLineModified=a.register({name:(0,n.NC)("accessibilitySignals.diffLineModified","Diff Line Modified"),sound:r.diffLineModified,legacySoundSettingsKey:"audioCues.diffLineModified",settingsKey:"accessibility.signals.diffLineModified"}),a.chatRequestSent=a.register({name:(0,n.NC)("accessibilitySignals.chatRequestSent","Chat Request Sent"),sound:r.chatRequestSent,legacySoundSettingsKey:"audioCues.chatRequestSent",legacyAnnouncementSettingsKey:"accessibility.alert.chatRequestSent",announcementMessage:(0,n.NC)("accessibility.signals.chatRequestSent","Chat Request Sent"),settingsKey:"accessibility.signals.chatRequestSent"}),a.chatResponseReceived=a.register({name:(0,n.NC)("accessibilitySignals.chatResponseReceived","Chat Response Received"),legacySoundSettingsKey:"audioCues.chatResponseReceived",sound:{randomOneOf:[r.chatResponseReceived1,r.chatResponseReceived2,r.chatResponseReceived3,r.chatResponseReceived4]},settingsKey:"accessibility.signals.chatResponseReceived"}),a.progress=a.register({name:(0,n.NC)("accessibilitySignals.progress","Progress"),sound:r.progress,legacySoundSettingsKey:"audioCues.chatResponsePending",legacyAnnouncementSettingsKey:"accessibility.alert.progress",announcementMessage:(0,n.NC)("accessibility.signals.progress","Progress"),settingsKey:"accessibility.signals.progress"}),a.clear=a.register({name:(0,n.NC)("accessibilitySignals.clear","Clear"),sound:r.clear,legacySoundSettingsKey:"audioCues.clear",legacyAnnouncementSettingsKey:"accessibility.alert.clear",announcementMessage:(0,n.NC)("accessibility.signals.clear","Clear"),settingsKey:"accessibility.signals.clear"}),a.save=a.register({name:(0,n.NC)("accessibilitySignals.save","Save"),sound:r.save,legacySoundSettingsKey:"audioCues.save",legacyAnnouncementSettingsKey:"accessibility.alert.save",announcementMessage:(0,n.NC)("accessibility.signals.save","Save"),settingsKey:"accessibility.signals.save"}),a.format=a.register({name:(0,n.NC)("accessibilitySignals.format","Format"),sound:r.format,legacySoundSettingsKey:"audioCues.format",legacyAnnouncementSettingsKey:"accessibility.alert.format",announcementMessage:(0,n.NC)("accessibility.signals.format","Format"),settingsKey:"accessibility.signals.format"}),a.voiceRecordingStarted=a.register({name:(0,n.NC)("accessibilitySignals.voiceRecordingStarted","Voice Recording Started"),sound:r.voiceRecordingStarted,legacySoundSettingsKey:"audioCues.voiceRecordingStarted",settingsKey:"accessibility.signals.voiceRecordingStarted"}),a.voiceRecordingStopped=a.register({name:(0,n.NC)("accessibilitySignals.voiceRecordingStopped","Voice Recording Stopped"),sound:r.voiceRecordingStopped,legacySoundSettingsKey:"audioCues.voiceRecordingStopped",settingsKey:"accessibility.signals.voiceRecordingStopped"})},31382:function(e,t,i){"use strict";function n(e){return e&&"object"==typeof e&&"string"==typeof e.original&&"string"==typeof e.value}function s(e){return!!e&&void 0!==e.condition}i.d(t,{X:function(){return s},q:function(){return n}})},27628:function(e,t,i){"use strict";i.d(t,{Id:function(){return O},LJ:function(){return E},Mm:function(){return M},vr:function(){return I}});var n=i(65321),s=i(59069),o=i(45560),r=i(47583),l=i(74741),a=i(8030),d=i(5976),h=i(1432);i(45778);var u=i(63580),c=i(84144),g=i(31382),p=i(32064),m=i(5606),f=i(72065),_=i(91847),v=i(59422),b=i(87060),C=i(97781),w=i(25670),y=i(92321),S=i(98401),L=i(75974),k=i(86253),D=i(31106),x=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},N=function(e,t){return function(i,n){t(i,n,e)}};function E(e,t,i,s){let o=e.getActions(t),r=n._q.getInstance(),l=r.keyStatus.altKey||(h.ED||h.IJ)&&r.keyStatus.shiftKey;T(o,i,l,s?e=>e===s:e=>"navigation"===e)}function I(e,t,i,n,s,o){let r=e.getActions(t),l="string"==typeof n?e=>e===n:n;T(r,i,!1,l,s,o)}function T(e,t,i,n=e=>"navigation"===e,s=()=>!1,o=!1){let r,a;Array.isArray(t)?(r=t,a=t):(r=t.primary,a=t.secondary);let d=new Set;for(let[t,s]of e){let e;for(let h of(n(t)?(e=r).length>0&&o&&e.push(new l.Z0):(e=a).length>0&&e.push(new l.Z0),s)){i&&(h=h instanceof c.U8&&h.alt?h.alt:h);let n=e.push(h);h instanceof l.wY&&d.add({group:t,action:h,index:n-1})}}for(let{group:e,action:t,index:i}of d){let o=n(e)?r:a,l=t.actions;s(t,e,o.length)&&o.splice(i,1,...l)}}let M=class extends o.gU{constructor(e,t,i,s,o,r,l,a){super(void 0,e,{icon:!!(e.class||e.item.icon),label:!e.class&&!e.item.icon,draggable:null==t?void 0:t.draggable,keybinding:null==t?void 0:t.keybinding,hoverDelegate:null==t?void 0:t.hoverDelegate}),this._keybindingService=i,this._notificationService=s,this._contextKeyService=o,this._themeService=r,this._contextMenuService=l,this._accessibilityService=a,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new d.XK),this._altKey=n._q.getInstance()}get _menuItemAction(){return this._action}get _commandAction(){return this._wantsAltCommand&&this._menuItemAction.alt||this._menuItemAction}async onClick(e){e.preventDefault(),e.stopPropagation();try{await this.actionRunner.run(this._commandAction,this._context)}catch(e){this._notificationService.error(e)}}render(e){if(super.render(e),e.classList.add("menu-entry"),this.options.icon&&this._updateItemClass(this._menuItemAction.item),this._menuItemAction.alt){let t=!1,i=()=>{var e;let i=!!(null===(e=this._menuItemAction.alt)||void 0===e?void 0:e.enabled)&&(!this._accessibilityService.isMotionReduced()||t)&&(this._altKey.keyStatus.altKey||this._altKey.keyStatus.shiftKey&&t);i!==this._wantsAltCommand&&(this._wantsAltCommand=i,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._register(this._altKey.event(i)),this._register((0,n.nm)(e,"mouseleave",e=>{t=!1,i()})),this._register((0,n.nm)(e,"mouseenter",e=>{t=!0,i()})),i()}}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}getTooltip(){var e;let t=this._keybindingService.lookupKeybinding(this._commandAction.id,this._contextKeyService),i=t&&t.getLabel(),n=this._commandAction.tooltip||this._commandAction.label,s=i?(0,u.NC)("titleAndKb","{0} ({1})",n,i):n;if(!this._wantsAltCommand&&(null===(e=this._menuItemAction.alt)||void 0===e?void 0:e.enabled)){let e=this._menuItemAction.alt.tooltip||this._menuItemAction.alt.label,t=this._keybindingService.lookupKeybinding(this._menuItemAction.alt.id,this._contextKeyService),i=t&&t.getLabel(),n=i?(0,u.NC)("titleAndKb","{0} ({1})",e,i):e;s=(0,u.NC)("titleAndKbAndAlt","{0}\n[{1}] {2}",s,a.xo.modifierLabels[h.OS].altKey,n)}return s}updateClass(){this.options.icon&&(this._commandAction!==this._menuItemAction?this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.alt.item):this._updateItemClass(this._menuItemAction.item))}_updateItemClass(e){this._itemClassDispose.value=void 0;let{element:t,label:i}=this;if(!t||!i)return;let s=this._commandAction.checked&&(0,g.X)(e.toggled)&&e.toggled.icon?e.toggled.icon:e.icon;if(s){if(w.k.isThemeIcon(s)){let e=w.k.asClassNameArray(s);i.classList.add(...e),this._itemClassDispose.value=(0,d.OF)(()=>{i.classList.remove(...e)})}else i.style.backgroundImage=(0,y._T)(this._themeService.getColorTheme().type)?(0,n.wY)(s.dark):(0,n.wY)(s.light),i.classList.add("icon"),this._itemClassDispose.value=(0,d.F8)((0,d.OF)(()=>{i.style.backgroundImage="",i.classList.remove("icon")}),this._themeService.onDidColorThemeChange(()=>{this.updateClass()}))}}};M=x([N(2,_.d),N(3,v.lT),N(4,p.i6),N(5,C.XE),N(6,m.i),N(7,D.F)],M);let R=class extends r.C{constructor(e,t,i,n,s){var o,r,l;let a={...t,menuAsChild:null!==(o=null==t?void 0:t.menuAsChild)&&void 0!==o&&o,classNames:null!==(r=null==t?void 0:t.classNames)&&void 0!==r?r:w.k.isThemeIcon(e.item.icon)?w.k.asClassName(e.item.icon):void 0,keybindingProvider:null!==(l=null==t?void 0:t.keybindingProvider)&&void 0!==l?l:e=>i.lookupKeybinding(e.id)};super(e,{getActions:()=>e.actions},n,a),this._keybindingService=i,this._contextMenuService=n,this._themeService=s}render(e){super.render(e),(0,S.p_)(this.element),e.classList.add("menu-entry");let t=this._action,{icon:i}=t.item;if(i&&!w.k.isThemeIcon(i)){this.element.classList.add("icon");let e=()=>{this.element&&(this.element.style.backgroundImage=(0,y._T)(this._themeService.getColorTheme().type)?(0,n.wY)(i.dark):(0,n.wY)(i.light))};e(),this._register(this._themeService.onDidColorThemeChange(()=>{e()}))}}};R=x([N(2,_.d),N(3,m.i),N(4,C.XE)],R);let A=class extends o.YH{constructor(e,t,i,n,s,o,a,d){var h,u,g;let p;super(null,e),this._keybindingService=i,this._notificationService=n,this._contextMenuService=s,this._menuService=o,this._instaService=a,this._storageService=d,this._container=null,this._options=t,this._storageKey=`${e.item.submenu.id}_lastActionId`;let m=(null==t?void 0:t.persistLastActionId)?d.get(this._storageKey,1):void 0;m&&(p=e.actions.find(e=>m===e.id)),p||(p=e.actions[0]),this._defaultAction=this._instaService.createInstance(M,p,{keybinding:this._getDefaultActionKeybindingLabel(p)});let f={keybindingProvider:e=>this._keybindingService.lookupKeybinding(e.id),...t,menuAsChild:null===(h=null==t?void 0:t.menuAsChild)||void 0===h||h,classNames:null!==(u=null==t?void 0:t.classNames)&&void 0!==u?u:["codicon","codicon-chevron-down"],actionRunner:null!==(g=null==t?void 0:t.actionRunner)&&void 0!==g?g:new l.Wi};this._dropdown=new r.C(e,e.actions,this._contextMenuService,f),this._register(this._dropdown.actionRunner.onDidRun(e=>{e.action instanceof c.U8&&this.update(e.action)}))}update(e){var t;(null===(t=this._options)||void 0===t?void 0:t.persistLastActionId)&&this._storageService.store(this._storageKey,e.id,1,1),this._defaultAction.dispose(),this._defaultAction=this._instaService.createInstance(M,e,{keybinding:this._getDefaultActionKeybindingLabel(e)}),this._defaultAction.actionRunner=new class extends l.Wi{async runAction(e,t){await e.run(void 0)}},this._container&&this._defaultAction.render((0,n.Ce)(this._container,(0,n.$)(".action-container")))}_getDefaultActionKeybindingLabel(e){var t;let i;if(null===(t=this._options)||void 0===t?void 0:t.renderKeybindingWithDefaultActionLabel){let t=this._keybindingService.lookupKeybinding(e.id);t&&(i=`(${t.getLabel()})`)}return i}setActionContext(e){super.setActionContext(e),this._defaultAction.setActionContext(e),this._dropdown.setActionContext(e)}render(e){this._container=e,super.render(this._container),this._container.classList.add("monaco-dropdown-with-default");let t=(0,n.$)(".action-container");this._defaultAction.render((0,n.R3)(this._container,t)),this._register((0,n.nm)(t,n.tw.KEY_DOWN,e=>{let t=new s.y(e);t.equals(17)&&(this._defaultAction.element.tabIndex=-1,this._dropdown.focus(),t.stopPropagation())}));let i=(0,n.$)(".dropdown-action-container");this._dropdown.render((0,n.R3)(this._container,i)),this._register((0,n.nm)(i,n.tw.KEY_DOWN,e=>{var t;let i=new s.y(e);i.equals(15)&&(this._defaultAction.element.tabIndex=0,this._dropdown.setFocusable(!1),null===(t=this._defaultAction.element)||void 0===t||t.focus(),i.stopPropagation())}))}focus(e){e?this._dropdown.focus():(this._defaultAction.element.tabIndex=0,this._defaultAction.element.focus())}blur(){this._defaultAction.element.tabIndex=-1,this._dropdown.blur(),this._container.blur()}setFocusable(e){e?this._defaultAction.element.tabIndex=0:(this._defaultAction.element.tabIndex=-1,this._dropdown.setFocusable(!1))}dispose(){this._defaultAction.dispose(),this._dropdown.dispose(),super.dispose()}};A=x([N(2,_.d),N(3,v.lT),N(4,m.i),N(5,c.co),N(6,f.TG),N(7,b.Uy)],A);let P=class extends o.Lc{constructor(e,t){super(null,e,e.actions.map(e=>({text:e.id===l.Z0.ID?"─────────":e.label,isDisabled:!e.enabled})),0,t,k.BM,{ariaLabel:e.tooltip,optionsAsChildren:!0}),this.select(Math.max(0,e.actions.findIndex(e=>e.checked)))}render(e){super.render(e),e.style.borderColor=(0,L.n_1)(L.a9O)}runAction(e,t){let i=this.action.actions[t];i&&this.actionRunner.run(i)}};function O(e,t,i){return t instanceof c.U8?e.createInstance(M,t,i):t instanceof c.NZ?t.item.isSelection?e.createInstance(P,t):t.item.rememberDefaultAction?e.createInstance(A,t,{...i,persistLastActionId:!0}):e.createInstance(R,t,i):void 0}P=x([N(1,m.u)],P)},90428:function(e,t,i){"use strict";i.d(t,{r:function(){return T},T:function(){return I}});var n=i(65321),s=i(7317),o=i(90317),r=i(47583),l=i(74741),a=i(78789),d=i(25670),h=i(4669),u=i(5976);i(68927);var c=i(63580),g=i(97759);class p extends u.JT{constructor(e,t,i={orientation:0}){var n;super(),this.submenuActionViewItems=[],this.hasSecondaryActions=!1,this._onDidChangeDropdownVisibility=this._register(new h.z5),this.onDidChangeDropdownVisibility=this._onDidChangeDropdownVisibility.event,this.disposables=this._register(new u.SL),i.hoverDelegate=null!==(n=i.hoverDelegate)&&void 0!==n?n:this._register((0,g.p0)()),this.options=i,this.lookupKeybindings="function"==typeof this.options.getKeyBinding,this.toggleMenuAction=this._register(new m(()=>{var e;return null===(e=this.toggleMenuActionViewItem)||void 0===e?void 0:e.show()},i.toggleMenuTitle)),this.element=document.createElement("div"),this.element.className="monaco-toolbar",e.appendChild(this.element),this.actionBar=this._register(new o.o(this.element,{orientation:i.orientation,ariaLabel:i.ariaLabel,actionRunner:i.actionRunner,allowContextMenu:i.allowContextMenu,highlightToggledItems:i.highlightToggledItems,hoverDelegate:i.hoverDelegate,actionViewItemProvider:(e,n)=>{var s;if(e.id===m.ID)return this.toggleMenuActionViewItem=new r.C(e,e.menuActions,t,{actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,keybindingProvider:this.options.getKeyBinding,classNames:d.k.asClassNameArray(null!==(s=i.moreIcon)&&void 0!==s?s:a.l.toolBarMore),anchorAlignmentProvider:this.options.anchorAlignmentProvider,menuAsChild:!!this.options.renderDropdownAsChildElement,skipTelemetry:this.options.skipTelemetry,isMenu:!0,hoverDelegate:this.options.hoverDelegate}),this.toggleMenuActionViewItem.setActionContext(this.actionBar.context),this.disposables.add(this._onDidChangeDropdownVisibility.add(this.toggleMenuActionViewItem.onDidChangeVisibility)),this.toggleMenuActionViewItem;if(i.actionViewItemProvider){let t=i.actionViewItemProvider(e,n);if(t)return t}if(e instanceof l.wY){let i=new r.C(e,e.actions,t,{actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,keybindingProvider:this.options.getKeyBinding,classNames:e.class,anchorAlignmentProvider:this.options.anchorAlignmentProvider,menuAsChild:!!this.options.renderDropdownAsChildElement,skipTelemetry:this.options.skipTelemetry,hoverDelegate:this.options.hoverDelegate});return i.setActionContext(this.actionBar.context),this.submenuActionViewItems.push(i),this.disposables.add(this._onDidChangeDropdownVisibility.add(i.onDidChangeVisibility)),i}}}))}set actionRunner(e){this.actionBar.actionRunner=e}get actionRunner(){return this.actionBar.actionRunner}getElement(){return this.element}getItemAction(e){return this.actionBar.getAction(e)}setActions(e,t){this.clear();let i=e?e.slice(0):[];this.hasSecondaryActions=!!(t&&t.length>0),this.hasSecondaryActions&&t&&(this.toggleMenuAction.menuActions=t.slice(0),i.push(this.toggleMenuAction)),i.forEach(e=>{this.actionBar.push(e,{icon:!0,label:!1,keybinding:this.getKeybindingLabel(e)})})}getKeybindingLabel(e){var t,i,n;let s=this.lookupKeybindings?null===(i=(t=this.options).getKeyBinding)||void 0===i?void 0:i.call(t,e):void 0;return null!==(n=null==s?void 0:s.getLabel())&&void 0!==n?n:void 0}clear(){this.submenuActionViewItems=[],this.disposables.clear(),this.actionBar.clear()}dispose(){this.clear(),this.disposables.dispose(),super.dispose()}}class m extends l.aU{constructor(e,t){super(m.ID,t=t||c.NC("moreActions","More Actions..."),void 0,!0),this._menuActions=[],this.toggleDropdownMenu=e}async run(){this.toggleDropdownMenu()}get menuActions(){return this._menuActions}set menuActions(e){this._menuActions=e}}m.ID="toolbar.toggle.more";var f=i(9488),_=i(6626),v=i(17301),b=i(53725),C=i(27628),w=i(84144),y=i(84363),S=i(94565),L=i(32064),k=i(5606),D=i(91847),x=i(10829),N=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},E=function(e,t){return function(i,n){t(i,n,e)}};let I=class extends p{constructor(e,t,i,n,s,o,r,l){super(e,s,{getKeyBinding:e=>{var t;return null!==(t=o.lookupKeybinding(e.id))&&void 0!==t?t:void 0},...t,allowContextMenu:!0,skipTelemetry:"string"==typeof(null==t?void 0:t.telemetrySource)}),this._options=t,this._menuService=i,this._contextKeyService=n,this._contextMenuService=s,this._keybindingService=o,this._commandService=r,this._sessionDisposables=this._store.add(new u.SL);let a=null==t?void 0:t.telemetrySource;a&&this._store.add(this.actionBar.onDidRun(e=>l.publicLog2("workbenchActionExecuted",{id:e.action.id,from:a})))}setActions(e,t=[],i){var o,r,a;this._sessionDisposables.clear();let d=e.slice(),h=t.slice(),u=[],g=0,p=[],v=!1;if((null===(o=this._options)||void 0===o?void 0:o.hiddenItemStrategy)!==-1)for(let e=0;enull==e?void 0:e.id)),t=this._options.overflowBehavior.maxItems-e.size,i=0;for(let n=0;n=t&&(d[n]=void 0,p[n]=s))}}(0,f.Rs)(d),(0,f.Rs)(p),super.setActions(d,l.Z0.join(p,h)),(u.length>0||d.length>0)&&this._sessionDisposables.add((0,n.nm)(this.getElement(),"contextmenu",e=>{var t,o,r,a,d;let h=new s.n((0,n.Jj)(this.getElement()),e),p=this.getItemAction(h.target);if(!p)return;h.preventDefault(),h.stopPropagation();let f=[];if(p instanceof w.U8&&p.menuKeybinding?f.push(p.menuKeybinding):p instanceof w.NZ||p instanceof m||f.push((0,y.p)(p.id,void 0,this._commandService,this._keybindingService)),u.length>0){let e=!1;if(1===g&&(null===(t=this._options)||void 0===t?void 0:t.hiddenItemStrategy)===0){e=!0;for(let e=0;ethis._menuService.resetHiddenStates(i)}))),0!==_.length&&this._contextMenuService.showContextMenu({getAnchor:()=>h,getActions:()=>_,menuId:null===(r=this._options)||void 0===r?void 0:r.contextMenu,menuActionOptions:{renderShortTitle:!0,...null===(a=this._options)||void 0===a?void 0:a.menuOptions},skipTelemetry:"string"==typeof(null===(d=this._options)||void 0===d?void 0:d.telemetrySource),contextKeyService:this._contextKeyService})}))}};I=N([E(2,w.co),E(3,L.i6),E(4,k.i),E(5,D.d),E(6,S.H),E(7,x.b)],I);let T=class extends I{constructor(e,t,i,n,s,o,r,l,a){super(e,{resetMenu:t,...i},n,s,o,r,l,a),this._onDidChangeMenuItems=this._store.add(new h.Q5),this.onDidChangeMenuItems=this._onDidChangeMenuItems.event;let d=this._store.add(n.createMenu(t,s,{emitEventsForSubmenuChanges:!0})),u=()=>{var t,n,s;let o=[],r=[];(0,C.vr)(d,null==i?void 0:i.menuOptions,{primary:o,secondary:r},null===(t=null==i?void 0:i.toolbarOptions)||void 0===t?void 0:t.primaryGroup,null===(n=null==i?void 0:i.toolbarOptions)||void 0===n?void 0:n.shouldInlineSubmenu,null===(s=null==i?void 0:i.toolbarOptions)||void 0===s?void 0:s.useSeparatorsInPrimaryActions),e.classList.toggle("has-no-actions",0===o.length&&0===r.length),super.setActions(o,r)};this._store.add(d.onDidChange(()=>{u(),this._onDidChangeMenuItems.fire(this)})),u()}setActions(){throw new v.he("This toolbar is populated from a menu.")}};T=N([E(3,w.co),E(4,L.i6),E(5,k.i),E(6,D.d),E(7,S.H),E(8,x.b)],T)},84144:function(e,t,i){"use strict";i.d(t,{BH:function(){return b},Ke:function(){return y},NZ:function(){return C},U8:function(){return w},co:function(){return _},eH:function(){return f},f6:function(){return m},r1:function(){return S},vr:function(){return p}});var n,s=i(74741),o=i(25670),r=i(4669),l=i(5976),a=i(91741),d=i(94565),h=i(32064),u=i(72065),c=i(49989),g=function(e,t){return function(i,n){t(i,n,e)}};function p(e){return void 0!==e.command}function m(e){return void 0!==e.submenu}class f{constructor(e){if(f._instances.has(e))throw TypeError(`MenuId with identifier '${e}' already exists. Use MenuId.for(ident) or a unique identifier`);f._instances.set(e,this),this.id=e}}f._instances=new Map,f.CommandPalette=new f("CommandPalette"),f.DebugBreakpointsContext=new f("DebugBreakpointsContext"),f.DebugCallStackContext=new f("DebugCallStackContext"),f.DebugConsoleContext=new f("DebugConsoleContext"),f.DebugVariablesContext=new f("DebugVariablesContext"),f.NotebookVariablesContext=new f("NotebookVariablesContext"),f.DebugHoverContext=new f("DebugHoverContext"),f.DebugWatchContext=new f("DebugWatchContext"),f.DebugToolBar=new f("DebugToolBar"),f.DebugToolBarStop=new f("DebugToolBarStop"),f.EditorContext=new f("EditorContext"),f.SimpleEditorContext=new f("SimpleEditorContext"),f.EditorContent=new f("EditorContent"),f.EditorLineNumberContext=new f("EditorLineNumberContext"),f.EditorContextCopy=new f("EditorContextCopy"),f.EditorContextPeek=new f("EditorContextPeek"),f.EditorContextShare=new f("EditorContextShare"),f.EditorTitle=new f("EditorTitle"),f.EditorTitleRun=new f("EditorTitleRun"),f.EditorTitleContext=new f("EditorTitleContext"),f.EditorTitleContextShare=new f("EditorTitleContextShare"),f.EmptyEditorGroup=new f("EmptyEditorGroup"),f.EmptyEditorGroupContext=new f("EmptyEditorGroupContext"),f.EditorTabsBarContext=new f("EditorTabsBarContext"),f.EditorTabsBarShowTabsSubmenu=new f("EditorTabsBarShowTabsSubmenu"),f.EditorTabsBarShowTabsZenModeSubmenu=new f("EditorTabsBarShowTabsZenModeSubmenu"),f.EditorActionsPositionSubmenu=new f("EditorActionsPositionSubmenu"),f.ExplorerContext=new f("ExplorerContext"),f.ExplorerContextShare=new f("ExplorerContextShare"),f.ExtensionContext=new f("ExtensionContext"),f.GlobalActivity=new f("GlobalActivity"),f.CommandCenter=new f("CommandCenter"),f.CommandCenterCenter=new f("CommandCenterCenter"),f.LayoutControlMenuSubmenu=new f("LayoutControlMenuSubmenu"),f.LayoutControlMenu=new f("LayoutControlMenu"),f.MenubarMainMenu=new f("MenubarMainMenu"),f.MenubarAppearanceMenu=new f("MenubarAppearanceMenu"),f.MenubarDebugMenu=new f("MenubarDebugMenu"),f.MenubarEditMenu=new f("MenubarEditMenu"),f.MenubarCopy=new f("MenubarCopy"),f.MenubarFileMenu=new f("MenubarFileMenu"),f.MenubarGoMenu=new f("MenubarGoMenu"),f.MenubarHelpMenu=new f("MenubarHelpMenu"),f.MenubarLayoutMenu=new f("MenubarLayoutMenu"),f.MenubarNewBreakpointMenu=new f("MenubarNewBreakpointMenu"),f.PanelAlignmentMenu=new f("PanelAlignmentMenu"),f.PanelPositionMenu=new f("PanelPositionMenu"),f.ActivityBarPositionMenu=new f("ActivityBarPositionMenu"),f.MenubarPreferencesMenu=new f("MenubarPreferencesMenu"),f.MenubarRecentMenu=new f("MenubarRecentMenu"),f.MenubarSelectionMenu=new f("MenubarSelectionMenu"),f.MenubarShare=new f("MenubarShare"),f.MenubarSwitchEditorMenu=new f("MenubarSwitchEditorMenu"),f.MenubarSwitchGroupMenu=new f("MenubarSwitchGroupMenu"),f.MenubarTerminalMenu=new f("MenubarTerminalMenu"),f.MenubarViewMenu=new f("MenubarViewMenu"),f.MenubarHomeMenu=new f("MenubarHomeMenu"),f.OpenEditorsContext=new f("OpenEditorsContext"),f.OpenEditorsContextShare=new f("OpenEditorsContextShare"),f.ProblemsPanelContext=new f("ProblemsPanelContext"),f.SCMInputBox=new f("SCMInputBox"),f.SCMChangesSeparator=new f("SCMChangesSeparator"),f.SCMIncomingChanges=new f("SCMIncomingChanges"),f.SCMIncomingChangesContext=new f("SCMIncomingChangesContext"),f.SCMIncomingChangesSetting=new f("SCMIncomingChangesSetting"),f.SCMOutgoingChanges=new f("SCMOutgoingChanges"),f.SCMOutgoingChangesContext=new f("SCMOutgoingChangesContext"),f.SCMOutgoingChangesSetting=new f("SCMOutgoingChangesSetting"),f.SCMIncomingChangesAllChangesContext=new f("SCMIncomingChangesAllChangesContext"),f.SCMIncomingChangesHistoryItemContext=new f("SCMIncomingChangesHistoryItemContext"),f.SCMOutgoingChangesAllChangesContext=new f("SCMOutgoingChangesAllChangesContext"),f.SCMOutgoingChangesHistoryItemContext=new f("SCMOutgoingChangesHistoryItemContext"),f.SCMChangeContext=new f("SCMChangeContext"),f.SCMResourceContext=new f("SCMResourceContext"),f.SCMResourceContextShare=new f("SCMResourceContextShare"),f.SCMResourceFolderContext=new f("SCMResourceFolderContext"),f.SCMResourceGroupContext=new f("SCMResourceGroupContext"),f.SCMSourceControl=new f("SCMSourceControl"),f.SCMSourceControlInline=new f("SCMSourceControlInline"),f.SCMSourceControlTitle=new f("SCMSourceControlTitle"),f.SCMTitle=new f("SCMTitle"),f.SearchContext=new f("SearchContext"),f.SearchActionMenu=new f("SearchActionContext"),f.StatusBarWindowIndicatorMenu=new f("StatusBarWindowIndicatorMenu"),f.StatusBarRemoteIndicatorMenu=new f("StatusBarRemoteIndicatorMenu"),f.StickyScrollContext=new f("StickyScrollContext"),f.TestItem=new f("TestItem"),f.TestItemGutter=new f("TestItemGutter"),f.TestMessageContext=new f("TestMessageContext"),f.TestMessageContent=new f("TestMessageContent"),f.TestPeekElement=new f("TestPeekElement"),f.TestPeekTitle=new f("TestPeekTitle"),f.TouchBarContext=new f("TouchBarContext"),f.TitleBarContext=new f("TitleBarContext"),f.TitleBarTitleContext=new f("TitleBarTitleContext"),f.TunnelContext=new f("TunnelContext"),f.TunnelPrivacy=new f("TunnelPrivacy"),f.TunnelProtocol=new f("TunnelProtocol"),f.TunnelPortInline=new f("TunnelInline"),f.TunnelTitle=new f("TunnelTitle"),f.TunnelLocalAddressInline=new f("TunnelLocalAddressInline"),f.TunnelOriginInline=new f("TunnelOriginInline"),f.ViewItemContext=new f("ViewItemContext"),f.ViewContainerTitle=new f("ViewContainerTitle"),f.ViewContainerTitleContext=new f("ViewContainerTitleContext"),f.ViewTitle=new f("ViewTitle"),f.ViewTitleContext=new f("ViewTitleContext"),f.CommentEditorActions=new f("CommentEditorActions"),f.CommentThreadTitle=new f("CommentThreadTitle"),f.CommentThreadActions=new f("CommentThreadActions"),f.CommentThreadAdditionalActions=new f("CommentThreadAdditionalActions"),f.CommentThreadTitleContext=new f("CommentThreadTitleContext"),f.CommentThreadCommentContext=new f("CommentThreadCommentContext"),f.CommentTitle=new f("CommentTitle"),f.CommentActions=new f("CommentActions"),f.CommentsViewThreadActions=new f("CommentsViewThreadActions"),f.InteractiveToolbar=new f("InteractiveToolbar"),f.InteractiveCellTitle=new f("InteractiveCellTitle"),f.InteractiveCellDelete=new f("InteractiveCellDelete"),f.InteractiveCellExecute=new f("InteractiveCellExecute"),f.InteractiveInputExecute=new f("InteractiveInputExecute"),f.IssueReporter=new f("IssueReporter"),f.NotebookToolbar=new f("NotebookToolbar"),f.NotebookStickyScrollContext=new f("NotebookStickyScrollContext"),f.NotebookCellTitle=new f("NotebookCellTitle"),f.NotebookCellDelete=new f("NotebookCellDelete"),f.NotebookCellInsert=new f("NotebookCellInsert"),f.NotebookCellBetween=new f("NotebookCellBetween"),f.NotebookCellListTop=new f("NotebookCellTop"),f.NotebookCellExecute=new f("NotebookCellExecute"),f.NotebookCellExecuteGoTo=new f("NotebookCellExecuteGoTo"),f.NotebookCellExecutePrimary=new f("NotebookCellExecutePrimary"),f.NotebookDiffCellInputTitle=new f("NotebookDiffCellInputTitle"),f.NotebookDiffCellMetadataTitle=new f("NotebookDiffCellMetadataTitle"),f.NotebookDiffCellOutputsTitle=new f("NotebookDiffCellOutputsTitle"),f.NotebookOutputToolbar=new f("NotebookOutputToolbar"),f.NotebookOutlineFilter=new f("NotebookOutlineFilter"),f.NotebookOutlineActionMenu=new f("NotebookOutlineActionMenu"),f.NotebookEditorLayoutConfigure=new f("NotebookEditorLayoutConfigure"),f.NotebookKernelSource=new f("NotebookKernelSource"),f.BulkEditTitle=new f("BulkEditTitle"),f.BulkEditContext=new f("BulkEditContext"),f.TimelineItemContext=new f("TimelineItemContext"),f.TimelineTitle=new f("TimelineTitle"),f.TimelineTitleContext=new f("TimelineTitleContext"),f.TimelineFilterSubMenu=new f("TimelineFilterSubMenu"),f.AccountsContext=new f("AccountsContext"),f.SidebarTitle=new f("SidebarTitle"),f.PanelTitle=new f("PanelTitle"),f.AuxiliaryBarTitle=new f("AuxiliaryBarTitle"),f.AuxiliaryBarHeader=new f("AuxiliaryBarHeader"),f.TerminalInstanceContext=new f("TerminalInstanceContext"),f.TerminalEditorInstanceContext=new f("TerminalEditorInstanceContext"),f.TerminalNewDropdownContext=new f("TerminalNewDropdownContext"),f.TerminalTabContext=new f("TerminalTabContext"),f.TerminalTabEmptyAreaContext=new f("TerminalTabEmptyAreaContext"),f.TerminalStickyScrollContext=new f("TerminalStickyScrollContext"),f.WebviewContext=new f("WebviewContext"),f.InlineCompletionsActions=new f("InlineCompletionsActions"),f.InlineEditActions=new f("InlineEditActions"),f.NewFile=new f("NewFile"),f.MergeInput1Toolbar=new f("MergeToolbar1Toolbar"),f.MergeInput2Toolbar=new f("MergeToolbar2Toolbar"),f.MergeBaseToolbar=new f("MergeBaseToolbar"),f.MergeInputResultToolbar=new f("MergeToolbarResultToolbar"),f.InlineSuggestionToolbar=new f("InlineSuggestionToolbar"),f.InlineEditToolbar=new f("InlineEditToolbar"),f.ChatContext=new f("ChatContext"),f.ChatCodeBlock=new f("ChatCodeblock"),f.ChatCompareBlock=new f("ChatCompareBlock"),f.ChatMessageTitle=new f("ChatMessageTitle"),f.ChatExecute=new f("ChatExecute"),f.ChatExecuteSecondary=new f("ChatExecuteSecondary"),f.ChatInputSide=new f("ChatInputSide"),f.AccessibleView=new f("AccessibleView"),f.MultiDiffEditorFileToolbar=new f("MultiDiffEditorFileToolbar"),f.DiffEditorHunkToolbar=new f("DiffEditorHunkToolbar"),f.DiffEditorSelectionToolbar=new f("DiffEditorSelectionToolbar");let _=(0,u.yh)("menuService");class v{static for(e){let t=this._all.get(e);return t||(t=new v(e),this._all.set(e,t)),t}static merge(e){let t=new Set;for(let i of e)i instanceof v&&t.add(i.id);return t}constructor(e){this.id=e,this.has=t=>t===e}}v._all=new Map;let b=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new r.SZ({merge:v.merge}),this.onDidChangeMenu=this._onDidChangeMenu.event}addCommand(e){return this._commands.set(e.id,e),this._onDidChangeMenu.fire(v.for(f.CommandPalette)),(0,l.OF)(()=>{this._commands.delete(e.id)&&this._onDidChangeMenu.fire(v.for(f.CommandPalette))})}getCommand(e){return this._commands.get(e)}getCommands(){let e=new Map;return this._commands.forEach((t,i)=>e.set(i,t)),e}appendMenuItem(e,t){let i=this._menuItems.get(e);i||(i=new a.S,this._menuItems.set(e,i));let n=i.push(t);return this._onDidChangeMenu.fire(v.for(e)),(0,l.OF)(()=>{n(),this._onDidChangeMenu.fire(v.for(e))})}appendMenuItems(e){let t=new l.SL;for(let{id:i,item:n}of e)t.add(this.appendMenuItem(i,n));return t}getMenuItems(e){let t;return t=this._menuItems.has(e)?[...this._menuItems.get(e)]:[],e===f.CommandPalette&&this._appendImplicitItems(t),t}_appendImplicitItems(e){let t=new Set;for(let i of e)p(i)&&(t.add(i.command.id),i.alt&&t.add(i.alt.id));this._commands.forEach((i,n)=>{t.has(n)||e.push({command:i})})}};class C extends s.wY{constructor(e,t,i){super(`submenuitem.${e.submenu.id}`,"string"==typeof e.title?e.title:e.title.value,i,"submenu"),this.item=e,this.hideActions=t}}let w=n=class{static label(e,t){return(null==t?void 0:t.renderShortTitle)&&e.shortTitle?"string"==typeof e.shortTitle?e.shortTitle:e.shortTitle.value:"string"==typeof e.title?e.title:e.title.value}constructor(e,t,i,s,r,l,a){var d,h;let u;if(this.hideActions=s,this.menuKeybinding=r,this._commandService=a,this.id=e.id,this.label=n.label(e,i),this.tooltip=null!==(h="string"==typeof e.tooltip?e.tooltip:null===(d=e.tooltip)||void 0===d?void 0:d.value)&&void 0!==h?h:"",this.enabled=!e.precondition||l.contextMatchesRules(e.precondition),this.checked=void 0,e.toggled){let t=e.toggled.condition?e.toggled:{condition:e.toggled};this.checked=l.contextMatchesRules(t.condition),this.checked&&t.tooltip&&(this.tooltip="string"==typeof t.tooltip?t.tooltip:t.tooltip.value),this.checked&&o.k.isThemeIcon(t.icon)&&(u=t.icon),this.checked&&t.title&&(this.label="string"==typeof t.title?t.title:t.title.value)}u||(u=o.k.isThemeIcon(e.icon)?e.icon:void 0),this.item=e,this.alt=t?new n(t,void 0,i,s,void 0,l,a):void 0,this._options=i,this.class=u&&o.k.asClassName(u)}run(...e){var t,i;let n=[];return(null===(t=this._options)||void 0===t?void 0:t.arg)&&(n=[...n,this._options.arg]),(null===(i=this._options)||void 0===i?void 0:i.shouldForwardArgs)&&(n=[...n,...e]),this._commandService.executeCommand(this.id,...n)}};w=n=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([g(5,h.i6),g(6,d.H)],w);class y{constructor(e){this.desc=e}}function S(e){let t=[],i=new e,{f1:n,menu:s,keybinding:o,...r}=i.desc;if(d.P.getCommand(r.id))throw Error(`Cannot register two commands with the same id: ${r.id}`);if(t.push(d.P.registerCommand({id:r.id,handler:(e,...t)=>i.run(e,...t),metadata:r.metadata})),Array.isArray(s))for(let e of s)t.push(b.appendMenuItem(e.id,{command:{...r,precondition:null===e.precondition?void 0:r.precondition},...e}));else s&&t.push(b.appendMenuItem(s.id,{command:{...r,precondition:null===s.precondition?void 0:r.precondition},...s}));if(n&&(t.push(b.appendMenuItem(f.CommandPalette,{command:r,when:r.precondition})),t.push(b.addCommand(r))),Array.isArray(o))for(let e of o)t.push(c.W.registerKeybindingRule({...e,id:r.id,when:r.precondition?h.Ao.and(r.precondition,e.when):e.when}));else o&&t.push(c.W.registerKeybindingRule({...o,id:r.id,when:r.precondition?h.Ao.and(r.precondition,o.when):o.when}));return{dispose(){(0,l.B9)(t)}}}},84363:function(e,t,i){"use strict";i.d(t,{h:function(){return v},p:function(){return y}});var n,s,o=i(15393),r=i(4669),l=i(5976),a=i(84144),d=i(94565),h=i(32064),u=i(74741),c=i(87060),g=i(9488),p=i(63580),m=i(91847),f=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},_=function(e,t){return function(i,n){t(i,n,e)}};let v=class{constructor(e,t,i){this._commandService=e,this._keybindingService=t,this._hiddenStates=new b(i)}createMenu(e,t,i){return new w(e,this._hiddenStates,{emitEventsForSubmenuChanges:!1,eventDebounceDelay:50,...i},this._commandService,this._keybindingService,t)}resetHiddenStates(e){this._hiddenStates.reset(e)}};v=f([_(0,d.H),_(1,m.d),_(2,c.Uy)],v);let b=n=class{constructor(e){this._storageService=e,this._disposables=new l.SL,this._onDidChange=new r.Q5,this.onDidChange=this._onDidChange.event,this._ignoreChangeEvent=!1,this._hiddenByDefaultCache=new Map;try{let t=e.get(n._key,0,"{}");this._data=JSON.parse(t)}catch(e){this._data=Object.create(null)}this._disposables.add(e.onDidChangeValue(0,n._key,this._disposables)(()=>{if(!this._ignoreChangeEvent)try{let t=e.get(n._key,0,"{}");this._data=JSON.parse(t)}catch(e){console.log("FAILED to read storage after UPDATE",e)}this._onDidChange.fire()}))}dispose(){this._onDidChange.dispose(),this._disposables.dispose()}_isHiddenByDefault(e,t){var i;return null!==(i=this._hiddenByDefaultCache.get(`${e.id}/${t}`))&&void 0!==i&&i}setDefaultState(e,t,i){this._hiddenByDefaultCache.set(`${e.id}/${t}`,i)}isHidden(e,t){var i,n;let s=this._isHiddenByDefault(e,t),o=null!==(n=null===(i=this._data[e.id])||void 0===i?void 0:i.includes(t))&&void 0!==n&&n;return s?!o:o}updateHidden(e,t,i){let n=this._isHiddenByDefault(e,t);n&&(i=!i);let s=this._data[e.id];if(i){if(s){let e=s.indexOf(t);e<0&&s.push(t)}else this._data[e.id]=[t]}else if(s){let i=s.indexOf(t);i>=0&&(0,g.LS)(s,i),0===s.length&&delete this._data[e.id]}this._persist()}reset(e){if(void 0===e)this._data=Object.create(null),this._persist();else{for(let{id:t}of e)this._data[t]&&delete this._data[t];this._persist()}}_persist(){try{this._ignoreChangeEvent=!0;let e=JSON.stringify(this._data);this._storageService.store(n._key,e,0,0)}finally{this._ignoreChangeEvent=!1}}};b._key="menu.hiddenCommands",b=n=f([_(0,c.Uy)],b);let C=s=class{constructor(e,t,i,n,s,o){this._id=e,this._hiddenStates=t,this._collectContextKeysForSubmenus=i,this._commandService=n,this._keybindingService=s,this._contextKeyService=o,this._menuGroups=[],this._structureContextKeys=new Set,this._preconditionContextKeys=new Set,this._toggledContextKeys=new Set,this.refresh()}get structureContextKeys(){return this._structureContextKeys}get preconditionContextKeys(){return this._preconditionContextKeys}get toggledContextKeys(){return this._toggledContextKeys}refresh(){let e;this._menuGroups.length=0,this._structureContextKeys.clear(),this._preconditionContextKeys.clear(),this._toggledContextKeys.clear();let t=a.BH.getMenuItems(this._id);for(let i of(t.sort(s._compareMenuItems),t)){let t=i.group||"";e&&e[0]===t||(e=[t,[]],this._menuGroups.push(e)),e[1].push(i),this._collectContextKeys(i)}}_collectContextKeys(e){if(s._fillInKbExprKeys(e.when,this._structureContextKeys),(0,a.vr)(e)){if(e.command.precondition&&s._fillInKbExprKeys(e.command.precondition,this._preconditionContextKeys),e.command.toggled){let t=e.command.toggled.condition||e.command.toggled;s._fillInKbExprKeys(t,this._toggledContextKeys)}}else this._collectContextKeysForSubmenus&&a.BH.getMenuItems(e.submenu).forEach(this._collectContextKeys,this)}createActionGroups(e){let t=[];for(let i of this._menuGroups){let n;let[o,r]=i;for(let t of r)if(this._contextKeyService.contextMatchesRules(t.when)){let i=(0,a.vr)(t);i&&this._hiddenStates.setDefaultState(this._id,t.command.id,!!t.isHiddenByDefault);let o=function(e,t,i){let n=(0,a.f6)(t)?t.submenu.id:t.id,s="string"==typeof t.title?t.title:t.title.value,o=(0,u.xw)({id:`hide/${e.id}/${n}`,label:(0,p.NC)("hide.label","Hide '{0}'",s),run(){i.updateHidden(e,n,!0)}}),r=(0,u.xw)({id:`toggle/${e.id}/${n}`,label:s,get checked(){return!i.isHidden(e,n)},run(){i.updateHidden(e,n,!!this.checked)}});return{hide:o,toggle:r,get isHidden(){return!r.checked}}}(this._id,i?t.command:t,this._hiddenStates);if(i){let i=y(t.command.id,t.when,this._commandService,this._keybindingService);(null!=n?n:n=[]).push(new a.U8(t.command,t.alt,e,o,i,this._contextKeyService,this._commandService))}else{let i=new s(t.submenu,this._hiddenStates,this._collectContextKeysForSubmenus,this._commandService,this._keybindingService,this._contextKeyService).createActionGroups(e),r=u.Z0.join(...i.map(e=>e[1]));r.length>0&&(null!=n?n:n=[]).push(new a.NZ(t,o,r))}}n&&n.length>0&&t.push([o,n])}return t}static _fillInKbExprKeys(e,t){if(e)for(let i of e.keys())t.add(i)}static _compareMenuItems(e,t){let i=e.group,n=t.group;if(i!==n){if(!i)return 1;if(!n||"navigation"===i)return -1;if("navigation"===n)return 1;let e=i.localeCompare(n);if(0!==e)return e}let o=e.order||0,r=t.order||0;return or?1:s._compareTitles((0,a.vr)(e)?e.command.title:e.title,(0,a.vr)(t)?t.command.title:t.title)}static _compareTitles(e,t){let i="string"==typeof e?e:e.original,n="string"==typeof t?t:t.original;return i.localeCompare(n)}};C=s=f([_(3,d.H),_(4,m.d),_(5,h.i6)],C);let w=class{constructor(e,t,i,n,s,d){this._disposables=new l.SL,this._menuInfo=new C(e,t,i.emitEventsForSubmenuChanges,n,s,d);let h=new o.pY(()=>{this._menuInfo.refresh(),this._onDidChange.fire({menu:this,isStructuralChange:!0,isEnablementChange:!0,isToggleChange:!0})},i.eventDebounceDelay);this._disposables.add(h),this._disposables.add(a.BH.onDidChangeMenu(t=>{t.has(e)&&h.schedule()}));let u=this._disposables.add(new l.SL);this._onDidChange=new r.D0({onWillAddFirstListener:()=>{u.add(d.onDidChangeContext(e=>{let t=e.affectsSome(this._menuInfo.structureContextKeys),i=e.affectsSome(this._menuInfo.preconditionContextKeys),n=e.affectsSome(this._menuInfo.toggledContextKeys);(t||i||n)&&this._onDidChange.fire({menu:this,isStructuralChange:t,isEnablementChange:i,isToggleChange:n})})),u.add(t.onDidChange(e=>{this._onDidChange.fire({menu:this,isStructuralChange:!0,isEnablementChange:!1,isToggleChange:!1})}))},onDidRemoveLastListener:u.clear.bind(u),delay:i.eventDebounceDelay,merge:e=>{let t=!1,i=!1,n=!1;for(let s of e)if(t=t||s.isStructuralChange,i=i||s.isEnablementChange,n=n||s.isToggleChange,t&&i&&n)break;return{menu:this,isStructuralChange:t,isEnablementChange:i,isToggleChange:n}}}),this.onDidChange=this._onDidChange.event}getActions(e){return this._menuInfo.createActionGroups(e)}dispose(){this._disposables.dispose(),this._onDidChange.dispose()}};function y(e,t,i,n){return(0,u.xw)({id:`configureKeybinding/${e}`,label:(0,p.NC)("configure keybinding","Configure Keybinding"),run(){let s=!!n.lookupKeybinding(e),o=!s&&t?t.serialize():void 0;i.executeCommand("workbench.action.openGlobalKeybindings",`@command:${e}`+(o?` +when:${o}`:""))}})}w=f([_(3,d.H),_(4,m.d),_(5,h.i6)],w)},84972:function(e,t,i){"use strict";i.d(t,{p:function(){return s}});var n=i(72065);let s=(0,n.yh)("clipboardService")},94565:function(e,t,i){"use strict";i.d(t,{H:function(){return d},P:function(){return h}});var n=i(4669),s=i(53725),o=i(5976),r=i(91741),l=i(98401),a=i(72065);let d=(0,a.yh)("commandService"),h=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new n.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,t){if(!e)throw Error("invalid command");if("string"==typeof e){if(!t)throw Error("invalid command");return this.registerCommand({id:e,handler:t})}if(e.metadata&&Array.isArray(e.metadata.args)){let t=[];for(let i of e.metadata.args)t.push(i.constraint);let i=e.handler;e.handler=function(e,...n){return(0,l.D8)(n,t),i(e,...n)}}let{id:i}=e,n=this._commands.get(i);n||(n=new r.S,this._commands.set(i,n));let s=n.unshift(e),a=(0,o.OF)(()=>{s();let e=this._commands.get(i);(null==e?void 0:e.isEmpty())&&this._commands.delete(i)});return this._onDidRegisterCommand.fire(i),a}registerCommandAlias(e,t){return h.registerCommand(e,(e,...i)=>e.get(d).executeCommand(t,...i))}getCommand(e){let t=this._commands.get(e);if(!(!t||t.isEmpty()))return s.$.first(t)}getCommands(){let e=new Map;for(let t of this._commands.keys()){let i=this.getCommand(t);i&&e.set(t,i)}return e}};h.registerCommand("noop",()=>{})},33108:function(e,t,i){"use strict";i.d(t,{KV:function(){return r},Mt:function(){return a},Od:function(){return o},UI:function(){return d},Ui:function(){return s},xL:function(){return l}});var n=i(72065);let s=(0,n.yh)("configurationService");function o(e,t){let i=Object.create(null);for(let n in e)r(i,n,e[n],t);return i}function r(e,t,i,n){let s=t.split("."),o=s.pop(),r=e;for(let e=0;e{this.validateAndRegisterProperties(e,t,e.extensionInfo,e.restrictedProperties,void 0,i),this.configurationContributors.push(e),this.registerJSONConfiguration(e)})}validateAndRegisterProperties(e,t=!0,i,n,s=3,l){var a;s=o.Jp(e.scope)?s:e.scope;let d=e.properties;if(d)for(let e in d){let h=d[e];if(t&&function(e,t){var i,n,s,o;return e.trim()?y.test(e)?r.NC("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",e):void 0!==L.getConfigurationProperties()[e]?r.NC("config.property.duplicate","Cannot register '{0}'. This property is already registered.",e):(null===(i=t.policy)||void 0===i?void 0:i.name)&&void 0!==L.getPolicyConfigurations().get(null===(n=t.policy)||void 0===n?void 0:n.name)?r.NC("config.policy.duplicate","Cannot register '{0}'. The associated policy {1} is already registered with {2}.",e,null===(s=t.policy)||void 0===s?void 0:s.name,L.getPolicyConfigurations().get(null===(o=t.policy)||void 0===o?void 0:o.name)):null:r.NC("config.property.empty","Cannot register an empty property")}(e,h)){delete d[e];continue}if(h.source=i,h.defaultDefaultValue=d[e].default,this.updatePropertyDefaultValue(e,h),y.test(e)?h.scope=void 0:(h.scope=o.Jp(h.scope)?s:h.scope,h.restricted=o.Jp(h.restricted)?!!(null==n?void 0:n.includes(e)):h.restricted),d[e].hasOwnProperty("included")&&!d[e].included){this.excludedConfigurationProperties[e]=d[e],delete d[e];continue}this.configurationProperties[e]=d[e],(null===(a=d[e].policy)||void 0===a?void 0:a.name)&&this.policyConfigurations.set(d[e].policy.name,e),!d[e].deprecationMessage&&d[e].markdownDeprecationMessage&&(d[e].deprecationMessage=d[e].markdownDeprecationMessage),l.add(e)}let h=e.allOf;if(h)for(let e of h)this.validateAndRegisterProperties(e,t,i,n,s,l)}getConfigurationProperties(){return this.configurationProperties}getPolicyConfigurations(){return this.policyConfigurations}registerJSONConfiguration(e){let t=e=>{let i=e.properties;if(i)for(let e in i)this.updateSchema(e,i[e]);let n=e.allOf;null==n||n.forEach(t)};t(e)}updateSchema(e,t){switch(u.properties[e]=t,t.scope){case 1:c.properties[e]=t;break;case 2:g.properties[e]=t;break;case 6:p.properties[e]=t;break;case 3:m.properties[e]=t;break;case 4:f.properties[e]=t;break;case 5:f.properties[e]=t,this.resourceLanguageSettingsSchema.properties[e]=t}}updateOverridePropertyPatternKey(){for(let e of this.overrideIdentifiers.values()){let t=`[${e}]`,i={type:"object",description:r.NC("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:r.NC("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:_};this.updatePropertyDefaultValue(t,i),u.properties[t]=i,c.properties[t]=i,g.properties[t]=i,p.properties[t]=i,m.properties[t]=i,f.properties[t]=i}}registerOverridePropertyPatternKey(){let e={type:"object",description:r.NC("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:r.NC("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:_};u.patternProperties[w]=e,c.patternProperties[w]=e,g.patternProperties[w]=e,p.patternProperties[w]=e,m.patternProperties[w]=e,f.patternProperties[w]=e,this._onDidSchemaChange.fire()}updatePropertyDefaultValue(e,t){let i=this.configurationDefaultsOverrides.get(e),n=null==i?void 0:i.value,s=null==i?void 0:i.source;o.o8(n)&&(n=t.defaultDefaultValue,s=void 0),o.o8(n)&&(n=function(e){let t=Array.isArray(e)?e[0]:e;switch(t){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}(t.type)),t.default=n,t.defaultValueSource=s}};d.B.add(h.Configuration,L)},32064:function(e,t,i){"use strict";i.d(t,{cP:function(){return I},Ao:function(){return L},i6:function(){return q},uy:function(){return $},Fb:function(){return k},K8:function(){return function e(t,i){if(0===t.type||1===i.type)return!0;if(9===t.type)return 9===i.type&&G(t.expr,i.expr);if(9===i.type){for(let n of i.expr)if(e(t,n))return!0;return!1}if(6===t.type){if(6===i.type)return G(i.expr,t.expr);for(let n of t.expr)if(e(n,i))return!0;return!1}return t.equals(i)}}});var n=i(1432),s=i(97295),o=i(17301),r=i(63580);function l(...e){switch(e.length){case 1:return(0,r.NC)("contextkey.scanner.hint.didYouMean1","Did you mean {0}?",e[0]);case 2:return(0,r.NC)("contextkey.scanner.hint.didYouMean2","Did you mean {0} or {1}?",e[0],e[1]);case 3:return(0,r.NC)("contextkey.scanner.hint.didYouMean3","Did you mean {0}, {1} or {2}?",e[0],e[1],e[2]);default:return}}let a=(0,r.NC)("contextkey.scanner.hint.didYouForgetToOpenOrCloseQuote","Did you forget to open or close the quote?"),d=(0,r.NC)("contextkey.scanner.hint.didYouForgetToEscapeSlash","Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\/'.");class h{constructor(){this._input="",this._start=0,this._current=0,this._tokens=[],this._errors=[],this.stringRe=/[a-zA-Z0-9_<>\-\./\\:\*\?\+\[\]\^,#@;"%\$\p{L}-]+/uy}static getLexeme(e){switch(e.type){case 0:return"(";case 1:return")";case 2:return"!";case 3:return e.isTripleEq?"===":"==";case 4:return e.isTripleEq?"!==":"!=";case 5:return"<";case 6:return"<=";case 7:case 8:return">=";case 9:return"=~";case 10:case 17:case 18:case 19:return e.lexeme;case 11:return"true";case 12:return"false";case 13:return"in";case 14:return"not";case 15:return"&&";case 16:return"||";case 20:return"EOF";default:throw(0,o.L6)(`unhandled token type: ${JSON.stringify(e)}; have you forgotten to add a case?`)}}reset(e){return this._input=e,this._start=0,this._current=0,this._tokens=[],this._errors=[],this}scan(){for(;!this._isAtEnd();){this._start=this._current;let e=this._advance();switch(e){case 40:this._addToken(0);break;case 41:this._addToken(1);break;case 33:if(this._match(61)){let e=this._match(61);this._tokens.push({type:4,offset:this._start,isTripleEq:e})}else this._addToken(2);break;case 39:this._quotedString();break;case 47:this._regex();break;case 61:if(this._match(61)){let e=this._match(61);this._tokens.push({type:3,offset:this._start,isTripleEq:e})}else this._match(126)?this._addToken(9):this._error(l("==","=~"));break;case 60:this._addToken(this._match(61)?6:5);break;case 62:this._addToken(this._match(61)?8:7);break;case 38:this._match(38)?this._addToken(15):this._error(l("&&"));break;case 124:this._match(124)?this._addToken(16):this._error(l("||"));break;case 32:case 13:case 9:case 10:case 160:break;default:this._string()}}return this._start=this._current,this._addToken(20),Array.from(this._tokens)}_match(e){return!this._isAtEnd()&&this._input.charCodeAt(this._current)===e&&(this._current++,!0)}_advance(){return this._input.charCodeAt(this._current++)}_peek(){return this._isAtEnd()?0:this._input.charCodeAt(this._current)}_addToken(e){this._tokens.push({type:e,offset:this._start})}_error(e){let t=this._start,i=this._input.substring(this._start,this._current),n={type:19,offset:this._start,lexeme:i};this._errors.push({offset:t,lexeme:i,additionalInfo:e}),this._tokens.push(n)}_string(){this.stringRe.lastIndex=this._start;let e=this.stringRe.exec(this._input);if(e){this._current=this._start+e[0].length;let t=this._input.substring(this._start,this._current),i=h._keywords.get(t);i?this._addToken(i):this._tokens.push({type:17,lexeme:t,offset:this._start})}}_quotedString(){for(;39!==this._peek()&&!this._isAtEnd();)this._advance();if(this._isAtEnd()){this._error(a);return}this._advance(),this._tokens.push({type:18,lexeme:this._input.substring(this._start+1,this._current-1),offset:this._start+1})}_regex(){let e=this._current,t=!1,i=!1;for(;;){if(e>=this._input.length){this._current=e,this._error(d);return}let n=this._input.charCodeAt(e);if(t)t=!1;else if(47!==n||i)91===n?i=!0:92===n?t=!0:93===n&&(i=!1);else{e++;break}e++}for(;e=this._input.length}}h._regexFlags=new Set(["i","g","s","m","y","u"].map(e=>e.charCodeAt(0))),h._keywords=new Map([["not",14],["in",13],["false",12],["true",11]]);var u=i(72065);let c=new Map;c.set("false",!1),c.set("true",!0),c.set("isMac",n.dz),c.set("isLinux",n.IJ),c.set("isWindows",n.ED),c.set("isWeb",n.$L),c.set("isMacNative",n.dz&&!n.$L),c.set("isEdge",n.un),c.set("isFirefox",n.vU),c.set("isChrome",n.i7),c.set("isSafari",n.G6);let g=Object.prototype.hasOwnProperty,p={regexParsingWithErrorRecovery:!0},m=(0,r.NC)("contextkey.parser.error.emptyString","Empty context key expression"),f=(0,r.NC)("contextkey.parser.error.emptyString.hint","Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively."),_=(0,r.NC)("contextkey.parser.error.noInAfterNot","'in' after 'not'."),v=(0,r.NC)("contextkey.parser.error.closingParenthesis","closing parenthesis ')'"),b=(0,r.NC)("contextkey.parser.error.unexpectedToken","Unexpected token"),C=(0,r.NC)("contextkey.parser.error.unexpectedToken.hint","Did you forget to put && or || before the token?"),w=(0,r.NC)("contextkey.parser.error.unexpectedEOF","Unexpected end of expression"),y=(0,r.NC)("contextkey.parser.error.unexpectedEOF.hint","Did you forget to put a context key?");class S{constructor(e=p){this._config=e,this._scanner=new h,this._tokens=[],this._current=0,this._parsingErrors=[],this._flagsGYRe=/g|y/g}parse(e){if(""===e){this._parsingErrors.push({message:m,offset:0,lexeme:"",additionalInfo:f});return}this._tokens=this._scanner.reset(e).scan(),this._current=0,this._parsingErrors=[];try{let e=this._expr();if(!this._isAtEnd()){let e=this._peek(),t=17===e.type?C:void 0;throw this._parsingErrors.push({message:b,offset:e.offset,lexeme:h.getLexeme(e),additionalInfo:t}),S._parseError}return e}catch(e){if(e!==S._parseError)throw e;return}}_expr(){return this._or()}_or(){let e=[this._and()];for(;this._matchOne(16);){let t=this._and();e.push(t)}return 1===e.length?e[0]:L.or(...e)}_and(){let e=[this._term()];for(;this._matchOne(15);){let t=this._term();e.push(t)}return 1===e.length?e[0]:L.and(...e)}_term(){if(this._matchOne(2)){let e=this._peek();switch(e.type){case 11:return this._advance(),x.INSTANCE;case 12:return this._advance(),N.INSTANCE;case 0:{this._advance();let e=this._expr();return this._consume(1,v),null==e?void 0:e.negate()}case 17:return this._advance(),A.create(e.lexeme);default:throw this._errExpectedButGot("KEY | true | false | '(' expression ')'",e)}}return this._primary()}_primary(){let e=this._peek();switch(e.type){case 11:return this._advance(),L.true();case 12:return this._advance(),L.false();case 0:{this._advance();let e=this._expr();return this._consume(1,v),e}case 17:{let t=e.lexeme;if(this._advance(),this._matchOne(9)){let e=this._peek();if(!this._config.regexParsingWithErrorRecovery){let i;if(this._advance(),10!==e.type)throw this._errExpectedButGot("REGEX",e);let n=e.lexeme,s=n.lastIndexOf("/"),o=s===n.length-1?void 0:this._removeFlagsGY(n.substring(s+1));try{i=new RegExp(n.substring(1,s),o)}catch(t){throw this._errExpectedButGot("REGEX",e)}return H.create(t,i)}switch(e.type){case 10:case 19:{let i;let n=[e.lexeme];this._advance();let s=this._peek(),o=0;for(let t=0;t=0){let o=i.slice(t+1,s),r="i"===i[s+1]?"i":"";try{n=new RegExp(o,r)}catch(t){throw this._errExpectedButGot("REGEX",e)}}}if(null===n)throw this._errExpectedButGot("REGEX",e);return H.create(t,n)}default:throw this._errExpectedButGot("REGEX",this._peek())}}if(this._matchOne(14)){this._consume(13,_);let e=this._value();return L.notIn(t,e)}let i=this._peek().type;switch(i){case 3:{this._advance();let e=this._value();if(18===this._previous().type)return L.equals(t,e);switch(e){case"true":return L.has(t);case"false":return L.not(t);default:return L.equals(t,e)}}case 4:{this._advance();let e=this._value();if(18===this._previous().type)return L.notEquals(t,e);switch(e){case"true":return L.not(t);case"false":return L.has(t);default:return L.notEquals(t,e)}}case 5:return this._advance(),B.create(t,this._value());case 6:return this._advance(),W.create(t,this._value());case 7:return this._advance(),O.create(t,this._value());case 8:return this._advance(),F.create(t,this._value());case 13:return this._advance(),L.in(t,this._value());default:return L.has(t)}}case 20:throw this._parsingErrors.push({message:w,offset:e.offset,lexeme:"",additionalInfo:y}),S._parseError;default:throw this._errExpectedButGot(`true | false | KEY - | KEY '=~' REGEX - | KEY ('==' | '!=' | '<' | '<=' | '>' | '>=' | 'in' | 'not' 'in') value`,this._peek())}}_value(){let e=this._peek();switch(e.type){case 17:case 18:return this._advance(),e.lexeme;case 11:return this._advance(),"true";case 12:return this._advance(),"false";case 13:return this._advance(),"in";default:return""}}_removeFlagsGY(e){return e.replaceAll(this._flagsGYRe,"")}_previous(){return this._tokens[this._current-1]}_matchOne(e){return!!this._check(e)&&(this._advance(),!0)}_advance(){return!this._isAtEnd()&&this._current++,this._previous()}_consume(e,t){if(this._check(e))return this._advance();throw this._errExpectedButGot(t,this._peek())}_errExpectedButGot(e,t,i){let n=(0,r.NC)("contextkey.parser.error.expectedButGot","Expected: {0}\nReceived: '{1}'.",e,h.getLexeme(t)),s=t.offset,o=h.getLexeme(t);return this._parsingErrors.push({message:n,offset:s,lexeme:o,additionalInfo:i}),S._parseError}_check(e){return this._peek().type===e}_peek(){return this._tokens[this._current]}_isAtEnd(){return 20===this._peek().type}}S._parseError=Error();class L{static false(){return x.INSTANCE}static true(){return N.INSTANCE}static has(e){return E.create(e)}static equals(e,t){return I.create(e,t)}static notEquals(e,t){return R.create(e,t)}static regex(e,t){return H.create(e,t)}static in(e,t){return T.create(e,t)}static notIn(e,t){return M.create(e,t)}static not(e){return A.create(e)}static and(...e){return K.create(e,null,!0)}static or(...e){return U.create(e,null,!0)}static deserialize(e){if(null==e)return;let t=this._parser.parse(e);return t}}function k(e,t){let i=e?e.substituteConstants():void 0,n=t?t.substituteConstants():void 0;return!i&&!n||!!i&&!!n&&i.equals(n)}function D(e,t){return e.cmp(t)}L._parser=new S({regexParsingWithErrorRecovery:!1});class x{constructor(){this.type=0}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!1}serialize(){return"false"}keys(){return[]}negate(){return N.INSTANCE}}x.INSTANCE=new x;class N{constructor(){this.type=1}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!0}serialize(){return"true"}keys(){return[]}negate(){return x.INSTANCE}}N.INSTANCE=new N;class E{static create(e,t=null){let i=c.get(e);return"boolean"==typeof i?i?N.INSTANCE:x.INSTANCE:new E(e,t)}constructor(e,t){this.key=e,this.negated=t,this.type=2}cmp(e){var t,i;return e.type!==this.type?this.type-e.type:(t=this.key,t<(i=e.key)?-1:t>i?1:0)}equals(e){return e.type===this.type&&this.key===e.key}substituteConstants(){let e=c.get(this.key);return"boolean"==typeof e?e?N.INSTANCE:x.INSTANCE:this}evaluate(e){return!!e.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=A.create(this.key,this)),this.negated}}class I{static create(e,t,i=null){if("boolean"==typeof t)return t?E.create(e,i):A.create(e,i);let n=c.get(e);return"boolean"==typeof n?t===(n?"true":"false")?N.INSTANCE:x.INSTANCE:new I(e,t,i)}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=4}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){let e=c.get(this.key);return"boolean"==typeof e?this.value===(e?"true":"false")?N.INSTANCE:x.INSTANCE:this}evaluate(e){return e.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=R.create(this.key,this.value,this)),this.negated}}class T{static create(e,t){return new T(e,t)}constructor(e,t){this.key=e,this.valueKey=t,this.type=10,this.negated=null}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.valueKey,e.key,e.valueKey)}equals(e){return e.type===this.type&&this.key===e.key&&this.valueKey===e.valueKey}substituteConstants(){return this}evaluate(e){let t=e.getValue(this.valueKey),i=e.getValue(this.key);return Array.isArray(t)?t.includes(i):"string"==typeof i&&"object"==typeof t&&null!==t&&g.call(t,i)}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=M.create(this.key,this.valueKey)),this.negated}}class M{static create(e,t){return new M(e,t)}constructor(e,t){this.key=e,this.valueKey=t,this.type=11,this._negated=T.create(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this._negated.cmp(e._negated)}equals(e){return e.type===this.type&&this._negated.equals(e._negated)}substituteConstants(){return this}evaluate(e){return!this._negated.evaluate(e)}serialize(){return`${this.key} not in '${this.valueKey}'`}keys(){return this._negated.keys()}negate(){return this._negated}}class R{static create(e,t,i=null){if("boolean"==typeof t)return t?A.create(e,i):E.create(e,i);let n=c.get(e);return"boolean"==typeof n?t===(n?"true":"false")?x.INSTANCE:N.INSTANCE:new R(e,t,i)}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=5}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){let e=c.get(this.key);return"boolean"==typeof e?this.value===(e?"true":"false")?x.INSTANCE:N.INSTANCE:this}evaluate(e){return e.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=I.create(this.key,this.value,this)),this.negated}}class A{static create(e,t=null){let i=c.get(e);return"boolean"==typeof i?i?x.INSTANCE:N.INSTANCE:new A(e,t)}constructor(e,t){this.key=e,this.negated=t,this.type=3}cmp(e){var t,i;return e.type!==this.type?this.type-e.type:(t=this.key,t<(i=e.key)?-1:t>i?1:0)}equals(e){return e.type===this.type&&this.key===e.key}substituteConstants(){let e=c.get(this.key);return"boolean"==typeof e?e?x.INSTANCE:N.INSTANCE:this}evaluate(e){return!e.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=E.create(this.key,this)),this.negated}}function P(e,t){if("string"==typeof e){let t=parseFloat(e);isNaN(t)||(e=t)}return"string"==typeof e||"number"==typeof e?t(e):x.INSTANCE}class O{static create(e,t,i=null){return P(t,t=>new O(e,t,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=12}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=W.create(this.key,this.value,this)),this.negated}}class F{static create(e,t,i=null){return P(t,t=>new F(e,t,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=13}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=B.create(this.key,this.value,this)),this.negated}}class B{static create(e,t,i=null){return P(t,t=>new B(e,t,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=14}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))new W(e,t,i))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=15}cmp(e){return e.type!==this.type?this.type-e.type:j(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=O.create(this.key,this.value,this)),this.negated}}class H{static create(e,t){return new H(e,t)}constructor(e,t){this.key=e,this.regexp=t,this.type=7,this.negated=null}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.keye.key)return 1;let t=this.regexp?this.regexp.source:"",i=e.regexp?e.regexp.source:"";return ti?1:0}equals(e){if(e.type===this.type){let t=this.regexp?this.regexp.source:"",i=e.regexp?e.regexp.source:"";return this.key===e.key&&t===i}return!1}substituteConstants(){return this}evaluate(e){let t=e.getValue(this.key);return!!this.regexp&&this.regexp.test(t)}serialize(){let e=this.regexp?`/${this.regexp.source}/${this.regexp.flags}`:"/invalid/";return`${this.key} =~ ${e}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=V.create(this)),this.negated}}class V{static create(e){return new V(e)}constructor(e){this._actual=e,this.type=8}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}substituteConstants(){return this}evaluate(e){return!this._actual.evaluate(e)}serialize(){return`!(${this._actual.serialize()})`}keys(){return this._actual.keys()}negate(){return this._actual}}function z(e){let t=null;for(let i=0,n=e.length;ie.expr.length)return 1;for(let t=0,i=this.expr.length;t1;){let e=n[n.length-1];if(9!==e.type)break;n.pop();let t=n.pop(),s=0===n.length,o=U.create(e.expr.map(e=>K.create([e,t],null,i)),null,s);o&&(n.push(o),n.sort(D))}if(1===n.length)return n[0];if(i){for(let e=0;ee.serialize()).join(" && ")}keys(){let e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){let e=[];for(let t of this.expr)e.push(t.negate());this.negated=U.create(e,this,!0)}return this.negated}}class U{static create(e,t,i){return U._normalizeArr(e,t,i)}constructor(e,t){this.expr=e,this.negated=t,this.type=9}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.lengthe.expr.length)return 1;for(let t=0,i=this.expr.length;te.serialize()).join(" || ")}keys(){let e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){let e=[];for(let t of this.expr)e.push(t.negate());for(;e.length>1;){let t=e.shift(),i=e.shift(),n=[];for(let e of Q(t))for(let t of Q(i))n.push(K.create([e,t],null,!1));e.unshift(U.create(n,null,!1))}this.negated=U.create(e,this,!0)}return this.negated}}class $ extends E{static all(){return $._info.values()}constructor(e,t,i){super(e,null),this._defaultValue=t,"object"==typeof i?$._info.push({...i,key:e}):!0!==i&&$._info.push({key:e,description:i,type:null!=t?typeof t:void 0})}bindTo(e){return e.createKey(this.key,this._defaultValue)}getValue(e){return e.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(e){return I.create(this.key,e)}}$._info=[];let q=(0,u.yh)("contextKeyService");function j(e,t,i,n){return ei?1:tn?1:0}function G(e,t){let i=0,n=0;for(;i{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.preserveCase.onKeyDown(e=>{this._onPreserveCaseKeyDown.fire(e)})),this._showOptionButtons?this.cachedOptionsWidth=this.preserveCase.width():this.cachedOptionsWidth=0;let c=[this.preserveCase.domNode];this.onkeydown(this.domNode,e=>{if(e.equals(15)||e.equals(17)||e.equals(9)){let t=c.indexOf(this.domNode.ownerDocument.activeElement);if(t>=0){let i=-1;e.equals(17)?i=(t+1)%c.length:e.equals(15)&&(i=0===t?c.length-1:t-1),e.equals(9)?(c[t].blur(),this.inputBox.focus()):i>=0&&c[i].focus(),o.zB.stop(e,!0)}}});let p=document.createElement("div");p.className="controls",p.style.display=this._showOptionButtons?"block":"none",p.appendChild(this.preserveCase.domNode),this.domNode.appendChild(p),null==e||e.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,e=>this._onKeyDown.fire(e)),this.onkeyup(this.inputBox.inputElement,e=>this._onKeyUp.fire(e)),this.oninput(this.inputBox.inputElement,e=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,e=>this._onMouseDown.fire(e))}enable(){this.domNode.classList.remove("disabled"),this.inputBox.enable(),this.preserveCase.enable()}disable(){this.domNode.classList.add("disabled"),this.inputBox.disable(),this.preserveCase.disable()}setEnabled(e){e?this.enable():this.disable()}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getPreserveCase(){return this.preserveCase.checked}setPreserveCase(e){this.preserveCase.checked=e}focusOnPreserve(){this.preserveCase.focus()}validate(){var e;null===(e=this.inputBox)||void 0===e||e.validate()}set width(e){this.inputBox.paddingRight=this.cachedOptionsWidth,this.domNode.style.width=e+"px"}dispose(){super.dispose()}}var _=i(32064),v=i(49989),b=i(5976),C=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},w=function(e,t){return function(i,n){t(i,n,e)}};let y=new _.uy("suggestWidgetVisible",!1,(0,u.NC)("suggestWidgetVisible","Whether suggestion are visible")),S="historyNavigationWidgetFocus",L="historyNavigationForwardsEnabled",k="historyNavigationBackwardsEnabled",D=[];function x(e,t){if(D.includes(t))throw Error("Cannot register the same widget multiple times");D.push(t);let i=new b.SL,s=new _.uy(S,!1).bindTo(e),r=new _.uy(L,!0).bindTo(e),l=new _.uy(k,!0).bindTo(e),a=()=>{s.set(!0),n=t},d=()=>{s.set(!1),n===t&&(n=void 0)};return(0,o.H9)(t.element)&&a(),i.add(t.onDidFocus(()=>a())),i.add(t.onDidBlur(()=>d())),i.add((0,b.OF)(()=>{D.splice(D.indexOf(t),1),d()})),{historyNavigationForwardsEnablement:r,historyNavigationBackwardsEnablement:l,dispose(){i.dispose()}}}let N=class extends s.V{constructor(e,t,i,n){super(e,t,i);let s=this._register(n.createScoped(this.inputBox.element));this._register(x(s,this.inputBox))}};N=C([w(3,_.i6)],N);let E=class extends f{constructor(e,t,i,n,s=!1){super(e,t,s,i);let o=this._register(n.createScoped(this.inputBox.element));this._register(x(o,this.inputBox))}};E=C([w(3,_.i6)],E),v.W.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:_.Ao.and(_.Ao.has(S),_.Ao.equals(k,!0),_.Ao.not("isComposing"),y.isEqualTo(!1)),primary:16,secondary:[528],handler:e=>{null==n||n.showPreviousValue()}}),v.W.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:_.Ao.and(_.Ao.has(S),_.Ao.equals(L,!0),_.Ao.not("isComposing"),y.isEqualTo(!1)),primary:18,secondary:[530],handler:e=>{null==n||n.showNextValue()}})},31543:function(e,t,i){"use strict";i.d(t,{Bs:function(){return a},mQ:function(){return d}});var n=i(72065),s=i(5976),o=i(33108),r=i(65321),l=function(e,t){return function(i,n){t(i,n,e)}};let a=(0,n.yh)("hoverService"),d=class extends s.JT{get delay(){return this.isInstantlyHovering()?0:this._delay}constructor(e,t,i={},n,o){super(),this.placement=e,this.instantHover=t,this.overrideOptions=i,this.configurationService=n,this.hoverService=o,this.lastHoverHideTime=0,this.timeLimit=200,this.hoverDisposables=this._register(new s.SL),this._delay=this.configurationService.getValue("workbench.hover.delay"),this._register(this.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration("workbench.hover.delay")&&(this._delay=this.configurationService.getValue("workbench.hover.delay"))}))}showHover(e,t){let i="function"==typeof this.overrideOptions?this.overrideOptions(e,t):this.overrideOptions;this.hoverDisposables.clear();let n=(0,r.Re)(e.target)?[e.target]:e.target.targetElements;for(let e of n)this.hoverDisposables.add((0,r.mu)(e,"keydown",e=>{e.equals(9)&&this.hoverService.hideHover()}));let s=(0,r.Re)(e.content)?void 0:e.content.toString();return this.hoverService.showHover({...e,...i,persistence:{hideOnKeyDown:!0,...i.persistence},id:s,appearance:{...e.appearance,compact:!0,skipFadeInAnimation:this.isInstantlyHovering(),...i.appearance}},t)}isInstantlyHovering(){return this.instantHover&&Date.now()-this.lastHoverHideTime=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}([l(3,o.Ui),l(4,a)],d)},97108:function(e,t,i){"use strict";i.d(t,{M:function(){return n}});class n{constructor(e,t=[],i=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=i}}},65026:function(e,t,i){"use strict";i.d(t,{d:function(){return r},z:function(){return o}});var n=i(97108);let s=[];function o(e,t,i){t instanceof n.M||(t=new n.M(t,[],!!i)),s.push([e,t])}function r(){return s}},72065:function(e,t,i){"use strict";var n,s;i.d(t,{I8:function(){return n},TG:function(){return o},yh:function(){return r}}),(s=n||(n={})).serviceIds=new Map,s.DI_TARGET="$di$target",s.DI_DEPENDENCIES="$di$dependencies",s.getServiceDependencies=function(e){return e[s.DI_DEPENDENCIES]||[]};let o=r("instantiationService");function r(e){if(n.serviceIds.has(e))return n.serviceIds.get(e);let t=function(e,i,s){if(3!=arguments.length)throw Error("@IServiceName-decorator can only be used to decorate a parameter");e[n.DI_TARGET]===e?e[n.DI_DEPENDENCIES].push({id:t,index:s}):(e[n.DI_DEPENDENCIES]=[{id:t,index:s}],e[n.DI_TARGET]=e)};return t.toString=()=>e,n.serviceIds.set(e,t),t}},60972:function(e,t,i){"use strict";i.d(t,{y:function(){return n}});class n{constructor(...e){for(let[t,i]of(this._entries=new Map,e))this.set(t,i)}set(e,t){let i=this._entries.get(e);return this._entries.set(e,t),i}get(e){return this._entries.get(e)}}},81294:function(e,t,i){"use strict";i.d(t,{I:function(){return o}});var n=i(4669),s=i(89872);let o={JSONContribution:"base.contributions.json"},r=new class{constructor(){this._onDidChangeSchema=new n.Q5,this.schemasById={}}registerSchema(e,t){this.schemasById[e.length>0&&"#"===e.charAt(e.length-1)?e.substring(0,e.length-1):e]=t,this._onDidChangeSchema.fire(e)}notifySchemaChanged(e){this._onDidChangeSchema.fire(e)}};s.B.add(o.JSONContribution,r)},91847:function(e,t,i){"use strict";i.d(t,{d:function(){return s}});var n=i(72065);let s=(0,n.yh)("keybindingService")},49989:function(e,t,i){"use strict";i.d(t,{W:function(){return h}});var n=i(8313),s=i(1432),o=i(94565),r=i(89872),l=i(5976),a=i(91741);class d{constructor(){this._coreKeybindings=new a.S,this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(e){if(1===s.OS){if(e&&e.win)return e.win}else if(2===s.OS){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e}registerKeybindingRule(e){let t=d.bindToCurrentPlatform(e),i=new l.SL;if(t&&t.primary){let o=(0,n.Z9)(t.primary,s.OS);o&&i.add(this._registerDefaultKeybinding(o,e.id,e.args,e.weight,0,e.when))}if(t&&Array.isArray(t.secondary))for(let o=0,r=t.secondary.length;o{r(),this._cachedMergedKeybindings=null})}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=Array.from(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(u)),this._cachedMergedKeybindings.slice(0)}}let h=new d;function u(e,t){if(e.weight1!==t.weight1)return e.weight1-t.weight1;if(e.command&&t.command){if(e.commandt.command)return 1}return e.weight2-t.weight2}r.B.add("platform.keybindingsRegistry",h)},44349:function(e,t,i){"use strict";i.d(t,{e:function(){return s}});var n=i(72065);let s=(0,n.yh)("labelService")},66315:function(e,t,i){"use strict";i.d(t,{Lw:function(){return ef},XN:function(){return e_},ls:function(){return ti},CQ:function(){return ey},PF:function(){return e8},PS:function(){return eN},uJ:function(){return eI}});var n=i(65321),s=i(9488),o=i(71050),r=i(4669),l=i(5976);i(50203);var a=i(69047);class d{get templateId(){return this.renderer.templateId}constructor(e,t){this.renderer=e,this.modelProvider=t}renderTemplate(e){let t=this.renderer.renderTemplate(e);return{data:t,disposable:l.JT.None}}renderElement(e,t,i,n){var s;if(null===(s=i.disposable)||void 0===s||s.dispose(),!i.data)return;let r=this.modelProvider();if(r.isResolved(e))return this.renderer.renderElement(r.get(e),e,i.data,n);let l=new o.AU,a=r.resolve(e,l.token);i.disposable={dispose:()=>l.cancel()},this.renderer.renderPlaceholder(e,i.data),a.then(t=>this.renderer.renderElement(t,e,i.data,n))}disposeTemplate(e){e.disposable&&(e.disposable.dispose(),e.disposable=void 0),e.data&&(this.renderer.disposeTemplate(e.data),e.data=void 0)}}class h{constructor(e,t){this.modelProvider=e,this.accessibilityProvider=t}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(e){let t=this.modelProvider();return t.isResolved(e)?this.accessibilityProvider.getAriaLabel(t.get(e)):null}}class u{constructor(e,t,i,n,s={}){let o=()=>this.model,r=n.map(e=>new d(e,o));this.list=new a.aV(e,t,i,r,{...s,accessibilityProvider:s.accessibilityProvider&&new h(o,s.accessibilityProvider)})}updateOptions(e){this.list.updateOptions(e)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get widget(){return this.list}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return r.ju.map(this.list.onMouseDblClick,({element:e,index:t,browserEvent:i})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:i}))}get onPointer(){return r.ju.map(this.list.onPointer,({element:e,index:t,browserEvent:i})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:i}))}get onDidChangeSelection(){return r.ju.map(this.list.onDidChangeSelection,({elements:e,indexes:t,browserEvent:i})=>({elements:e.map(e=>this._model.get(e)),indexes:t,browserEvent:i}))}get model(){return this._model}set model(e){this._model=e,this.list.splice(0,this.list.length,(0,s.w6)(e.length))}getFocus(){return this.list.getFocus()}getSelection(){return this.list.getSelection()}getSelectedElements(){return this.getSelection().map(e=>this.model.get(e))}style(e){this.list.style(e)}dispose(){this.list.dispose()}}var c=i(21661),g=i(97759),p=i(23937);i(98524);class m{constructor(e,t,i){this.columns=e,this.getColumnSize=i,this.templateId=m.TemplateId,this.renderedTemplates=new Set;let n=new Map(t.map(e=>[e.templateId,e]));for(let t of(this.renderers=[],e)){let e=n.get(t.templateId);if(!e)throw Error(`Table cell renderer for template id ${t.templateId} not found.`);this.renderers.push(e)}}renderTemplate(e){let t=(0,n.R3)(e,(0,n.$)(".monaco-table-tr")),i=[],s=[];for(let e=0;ethis.disposables.add(new f(e,t))),u={size:h.reduce((e,t)=>e+t.column.weight,0),views:h.map(e=>({size:e.column.weight,view:e}))};this.splitview=this.disposables.add(new p.z(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:u})),this.splitview.el.style.height=`${i.headerRowHeight}px`,this.splitview.el.style.lineHeight=`${i.headerRowHeight}px`;let c=new m(s,o,e=>this.splitview.getViewSize(e));this.list=this.disposables.add(new a.aV(e,this.domNode,{getHeight:e=>i.getHeight(e),getTemplateId:()=>m.TemplateId},[c],d)),r.ju.any(...h.map(e=>e.onDidLayout))(([e,t])=>c.layoutColumn(e,t),null,this.disposables),this.splitview.onDidSashReset(e=>{let t=s.reduce((e,t)=>e+t.weight,0),i=s[e].weight/t*this.cachedWidth;this.splitview.resizeView(e,i)},null,this.disposables),this.styleElement=(0,n.dS)(this.domNode),this.style(a.uZ)}updateOptions(e){this.list.updateOptions(e)}splice(e,t,i=[]){this.list.splice(e,t,i)}getHTMLElement(){return this.domNode}style(e){let t=[];t.push(`.monaco-table.${this.domId} > .monaco-split-view2 .monaco-sash.vertical::before { - top: ${this.virtualDelegate.headerRowHeight+1}px; - height: calc(100% - ${this.virtualDelegate.headerRowHeight}px); - }`),this.styleElement.textContent=t.join("\n"),this.list.style(e)}getSelectedElements(){return this.list.getSelectedElements()}getSelection(){return this.list.getSelection()}getFocus(){return this.list.getFocus()}dispose(){this.disposables.dispose()}}_.InstanceCount=0;var v=i(5637),b=i(72010),C=i(71782),w=i(60350),y=i(53725);class S{constructor(e,t,i={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new C.X(e,t,null,i),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,i.sorter&&(this.sorter={compare:(e,t)=>i.sorter.compare(e.element,t.element)}),this.identityProvider=i.identityProvider}setChildren(e,t=y.$.empty(),i={}){let n=this.getElementLocation(e);this._setChildren(n,this.preserveCollapseState(t),i)}_setChildren(e,t=y.$.empty(),i){let n=new Set,s=new Set;this.model.splice([...e,0],Number.MAX_VALUE,t,{...i,onDidCreateNode:e=>{var t;if(null!==e.element){if(n.add(e.element),this.nodes.set(e.element,e),this.identityProvider){let t=this.identityProvider.getId(e.element).toString();s.add(t),this.nodesByIdentity.set(t,e)}null===(t=i.onDidCreateNode)||void 0===t||t.call(i,e)}},onDidDeleteNode:e=>{var t;if(null!==e.element){if(n.has(e.element)||this.nodes.delete(e.element),this.identityProvider){let t=this.identityProvider.getId(e.element).toString();s.has(t)||this.nodesByIdentity.delete(t)}null===(t=i.onDidDeleteNode)||void 0===t||t.call(i,e)}}})}preserveCollapseState(e=y.$.empty()){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),y.$.map(e,e=>{let t,i=this.nodes.get(e.element);if(!i&&this.identityProvider){let t=this.identityProvider.getId(e.element).toString();i=this.nodesByIdentity.get(t)}if(!i){let t;return t=void 0===e.collapsed?void 0:e.collapsed===w.kn.Collapsed||e.collapsed===w.kn.PreserveOrCollapsed||e.collapsed!==w.kn.Expanded&&e.collapsed!==w.kn.PreserveOrExpanded&&!!e.collapsed,{...e,children:this.preserveCollapseState(e.children),collapsed:t}}let n="boolean"==typeof e.collapsible?e.collapsible:i.collapsible;return t=void 0===e.collapsed||e.collapsed===w.kn.PreserveOrCollapsed||e.collapsed===w.kn.PreserveOrExpanded?i.collapsed:e.collapsed===w.kn.Collapsed||e.collapsed!==w.kn.Expanded&&!!e.collapsed,{...e,collapsible:n,collapsed:t,children:this.preserveCollapseState(e.children)}})}rerender(e){let t=this.getElementLocation(e);this.model.rerender(t)}getFirstElementChild(e=null){let t=this.getElementLocation(e);return this.model.getFirstElementChild(t)}has(e){return this.nodes.has(e)}getListIndex(e){let t=this.getElementLocation(e);return this.model.getListIndex(t)}getListRenderCount(e){let t=this.getElementLocation(e);return this.model.getListRenderCount(t)}isCollapsible(e){let t=this.getElementLocation(e);return this.model.isCollapsible(t)}setCollapsible(e,t){let i=this.getElementLocation(e);return this.model.setCollapsible(i,t)}isCollapsed(e){let t=this.getElementLocation(e);return this.model.isCollapsed(t)}setCollapsed(e,t,i){let n=this.getElementLocation(e);return this.model.setCollapsed(n,t,i)}expandTo(e){let t=this.getElementLocation(e);this.model.expandTo(t)}refilter(){this.model.refilter()}getNode(e=null){if(null===e)return this.model.getNode(this.model.rootRef);let t=this.nodes.get(e);if(!t)throw new w.ac(this.user,`Tree element not found: ${e}`);return t}getNodeLocation(e){return e.element}getParentNodeLocation(e){if(null===e)throw new w.ac(this.user,"Invalid getParentNodeLocation call");let t=this.nodes.get(e);if(!t)throw new w.ac(this.user,`Tree element not found: ${e}`);let i=this.model.getNodeLocation(t),n=this.model.getParentNodeLocation(i),s=this.model.getNode(n);return s.element}getElementLocation(e){if(null===e)return[];let t=this.nodes.get(e);if(!t)throw new w.ac(this.user,`Tree element not found: ${e}`);return this.model.getNodeLocation(t)}}function L(e){let t=[e.element],i=e.incompressible||!1;return{element:{elements:t,incompressible:i},children:y.$.map(y.$.from(e.children),L),collapsible:e.collapsible,collapsed:e.collapsed}}function k(e){let t,i;let n=[e.element],s=e.incompressible||!1;for(;[i,t]=y.$.consume(y.$.from(e.children),2),1===i.length&&!i[0].incompressible;)n.push((e=i[0]).element);return{element:{elements:n,incompressible:s},children:y.$.map(y.$.concat(i,t),k),collapsible:e.collapsible,collapsed:e.collapsed}}function D(e){return function e(t,i=0){let n;return(n=ie(t,0)),0===i&&t.element.incompressible)?{element:t.element.elements[i],children:n,incompressible:!0,collapsible:t.collapsible,collapsed:t.collapsed}:{element:t.element.elements[i],children:n,collapsible:t.collapsible,collapsed:t.collapsed}}(e,0)}let x=e=>({getId:t=>t.elements.map(t=>e.getId(t).toString()).join("\x00")});class N{get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}constructor(e,t,i={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.model=new S(e,t,i),this.enabled=void 0===i.compressionEnabled||i.compressionEnabled,this.identityProvider=i.identityProvider}setChildren(e,t=y.$.empty(),i){let n=i.diffIdentityProvider&&x(i.diffIdentityProvider);if(null===e){let e=y.$.map(t,this.enabled?k:L);this._setChildren(null,e,{diffIdentityProvider:n,diffDepth:1/0});return}let o=this.nodes.get(e);if(!o)throw new w.ac(this.user,"Unknown compressed tree node");let r=this.model.getNode(o),l=this.model.getParentNodeLocation(o),a=this.model.getNode(l),d=D(r),h=function e(t,i,n){return t.element===i?{...t,children:n}:{...t,children:y.$.map(y.$.from(t.children),t=>e(t,i,n))}}(d,e,t),u=(this.enabled?k:L)(h),c=i.diffIdentityProvider?(e,t)=>i.diffIdentityProvider.getId(e)===i.diffIdentityProvider.getId(t):void 0;if((0,s.fS)(u.element.elements,r.element.elements,c)){this._setChildren(o,u.children||y.$.empty(),{diffIdentityProvider:n,diffDepth:1});return}let g=a.children.map(e=>e===r?u:e);this._setChildren(a.element,g,{diffIdentityProvider:n,diffDepth:r.depth-a.depth})}isCompressionEnabled(){return this.enabled}setCompressionEnabled(e){if(e===this.enabled)return;this.enabled=e;let t=this.model.getNode(),i=t.children,n=y.$.map(i,D),s=y.$.map(n,e?k:L);this._setChildren(null,s,{diffIdentityProvider:this.identityProvider,diffDepth:1/0})}_setChildren(e,t,i){let n=new Set;this.model.setChildren(e,t,{...i,onDidCreateNode:e=>{for(let t of e.element.elements)n.add(t),this.nodes.set(t,e.element)},onDidDeleteNode:e=>{for(let t of e.element.elements)n.has(t)||this.nodes.delete(t)}})}has(e){return this.nodes.has(e)}getListIndex(e){let t=this.getCompressedNode(e);return this.model.getListIndex(t)}getListRenderCount(e){let t=this.getCompressedNode(e);return this.model.getListRenderCount(t)}getNode(e){if(void 0===e)return this.model.getNode();let t=this.getCompressedNode(e);return this.model.getNode(t)}getNodeLocation(e){let t=this.model.getNodeLocation(e);return null===t?null:t.elements[t.elements.length-1]}getParentNodeLocation(e){let t=this.getCompressedNode(e),i=this.model.getParentNodeLocation(t);return null===i?null:i.elements[i.elements.length-1]}getFirstElementChild(e){let t=this.getCompressedNode(e);return this.model.getFirstElementChild(t)}isCollapsible(e){let t=this.getCompressedNode(e);return this.model.isCollapsible(t)}setCollapsible(e,t){let i=this.getCompressedNode(e);return this.model.setCollapsible(i,t)}isCollapsed(e){let t=this.getCompressedNode(e);return this.model.isCollapsed(t)}setCollapsed(e,t,i){let n=this.getCompressedNode(e);return this.model.setCollapsed(n,t,i)}expandTo(e){let t=this.getCompressedNode(e);this.model.expandTo(t)}rerender(e){let t=this.getCompressedNode(e);this.model.rerender(t)}refilter(){this.model.refilter()}getCompressedNode(e){if(null===e)return null;let t=this.nodes.get(e);if(!t)throw new w.ac(this.user,`Tree element not found: ${e}`);return t}}let E=e=>e[e.length-1];class I{get element(){return null===this.node.element?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map(e=>new I(this.unwrapper,e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}constructor(e,t){this.unwrapper=e,this.node=t}}class T{get onDidSplice(){return r.ju.map(this.model.onDidSplice,({insertedNodes:e,deletedNodes:t})=>({insertedNodes:e.map(e=>this.nodeMapper.map(e)),deletedNodes:t.map(e=>this.nodeMapper.map(e))}))}get onDidChangeCollapseState(){return r.ju.map(this.model.onDidChangeCollapseState,({node:e,deep:t})=>({node:this.nodeMapper.map(e),deep:t}))}get onDidChangeRenderNodeCount(){return r.ju.map(this.model.onDidChangeRenderNodeCount,e=>this.nodeMapper.map(e))}constructor(e,t,i={}){var n;this.rootRef=null,this.elementMapper=i.elementMapper||E;let s=e=>this.elementMapper(e.elements);this.nodeMapper=new w.VA(e=>new I(s,e)),this.model=new N(e,(n=this.nodeMapper,{splice(e,i,s){t.splice(e,i,s.map(e=>n.map(e)))},updateElementHeight(e,i){t.updateElementHeight(e,i)}}),{...i,identityProvider:i.identityProvider&&{getId:e=>i.identityProvider.getId(s(e))},sorter:i.sorter&&{compare:(e,t)=>i.sorter.compare(e.elements[0],t.elements[0])},filter:i.filter&&{filter:(e,t)=>i.filter.filter(s(e),t)}})}setChildren(e,t=y.$.empty(),i={}){this.model.setChildren(e,t,i)}isCompressionEnabled(){return this.model.isCompressionEnabled()}setCompressionEnabled(e){this.model.setCompressionEnabled(e)}has(e){return this.model.has(e)}getListIndex(e){return this.model.getListIndex(e)}getListRenderCount(e){return this.model.getListRenderCount(e)}getNode(e){return this.nodeMapper.map(this.model.getNode(e))}getNodeLocation(e){return e.element}getParentNodeLocation(e){return this.model.getParentNodeLocation(e)}getFirstElementChild(e){let t=this.model.getFirstElementChild(e);return null==t?t:this.elementMapper(t.elements)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}setCollapsed(e,t,i){return this.model.setCollapsed(e,t,i)}expandTo(e){return this.model.expandTo(e)}rerender(e){return this.model.rerender(e)}refilter(){return this.model.refilter()}getCompressedTreeNode(e=null){return this.model.getNode(e)}}var M=i(49898);class R extends v.CH{get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}constructor(e,t,i,n,s={}){super(e,t,i,n,s),this.user=e}setChildren(e,t=y.$.empty(),i){this.model.setChildren(e,t,i)}rerender(e){if(void 0===e){this.view.rerender();return}this.model.rerender(e)}hasElement(e){return this.model.has(e)}createModel(e,t,i){return new S(e,t,i)}}class A{get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}constructor(e,t,i){this._compressedTreeNodeProvider=e,this.stickyScrollDelegate=t,this.renderer=i,this.templateId=i.templateId,i.onDidChangeTwistieState&&(this.onDidChangeTwistieState=i.onDidChangeTwistieState)}renderTemplate(e){let t=this.renderer.renderTemplate(e);return{compressedTreeNode:void 0,data:t}}renderElement(e,t,i,n){let s=this.stickyScrollDelegate.getCompressedNode(e);s||(s=this.compressedTreeNodeProvider.getCompressedTreeNode(e.element)),1===s.element.elements.length?(i.compressedTreeNode=void 0,this.renderer.renderElement(e,t,i.data,n)):(i.compressedTreeNode=s,this.renderer.renderCompressedElements(s,t,i.data,n))}disposeElement(e,t,i,n){var s,o,r,l;i.compressedTreeNode?null===(o=(s=this.renderer).disposeCompressedElements)||void 0===o||o.call(s,i.compressedTreeNode,t,i.data,n):null===(l=(r=this.renderer).disposeElement)||void 0===l||l.call(r,e,t,i.data,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.data)}renderTwistie(e,t){return!!this.renderer.renderTwistie&&this.renderer.renderTwistie(e,t)}}!function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);o>3&&r&&Object.defineProperty(t,i,r)}([M.H],A.prototype,"compressedTreeNodeProvider",null);class P{constructor(e){this.modelProvider=e,this.compressedStickyNodes=new Map}getCompressedNode(e){return this.compressedStickyNodes.get(e)}constrainStickyScrollNodes(e,t,i){if(this.compressedStickyNodes.clear(),0===e.length)return[];for(let n=0;ni;if(r||n>=t-1&&tthis,r=new P(()=>this.model),l=n.map(e=>new A(o,r,e));super(e,t,i,l,{...s&&{...s,keyboardNavigationLabelProvider:s.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(e){let t;try{t=o().getCompressedTreeNode(e)}catch(t){return s.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e)}return 1===t.element.elements.length?s.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e):s.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.element.elements)}}},stickyScrollDelegate:r})}setChildren(e,t=y.$.empty(),i){this.model.setChildren(e,t,i)}createModel(e,t,i){return new T(e,t,i)}updateOptions(e={}){super.updateOptions(e),void 0!==e.compressionEnabled&&this.model.setCompressionEnabled(e.compressionEnabled)}getCompressedTreeNode(e=null){return this.model.getCompressedTreeNode(e)}}var F=i(15393),B=i(78789),W=i(25670),H=i(17301),V=i(98401);function z(e){return{...e,children:[],refreshPromise:void 0,stale:!0,slow:!1,forceExpanded:!1}}function K(e,t){return!!t.parent&&(t.parent===e||K(e,t.parent))}class U{get element(){return this.node.element.element}get children(){return this.node.children.map(e=>new U(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}constructor(e){this.node=e}}class ${constructor(e,t,i){this.renderer=e,this.nodeMapper=t,this.onDidChangeTwistieState=i,this.renderedNodes=new Map,this.templateId=e.templateId}renderTemplate(e){let t=this.renderer.renderTemplate(e);return{templateData:t}}renderElement(e,t,i,n){this.renderer.renderElement(this.nodeMapper.map(e),t,i.templateData,n)}renderTwistie(e,t){return e.slow?(t.classList.add(...W.k.asClassNameArray(B.l.treeItemLoading)),!0):(t.classList.remove(...W.k.asClassNameArray(B.l.treeItemLoading)),!1)}disposeElement(e,t,i,n){var s,o;null===(o=(s=this.renderer).disposeElement)||void 0===o||o.call(s,this.nodeMapper.map(e),t,i.templateData,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear()}}function q(e){return{browserEvent:e.browserEvent,elements:e.elements.map(e=>e.element)}}function j(e){return{browserEvent:e.browserEvent,element:e.element&&e.element.element,target:e.target}}class G extends b.kX{constructor(e){super(e.elements.map(e=>e.element)),this.data=e}}function Q(e){return e instanceof b.kX?new G(e):e}class Z{constructor(e){this.dnd=e}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(e=>e.element),t)}onDragStart(e,t){var i,n;null===(n=(i=this.dnd).onDragStart)||void 0===n||n.call(i,Q(e),t)}onDragOver(e,t,i,n,s,o=!0){return this.dnd.onDragOver(Q(e),t&&t.element,i,n,s)}drop(e,t,i,n,s){this.dnd.drop(Q(e),t&&t.element,i,n,s)}onDragEnd(e){var t,i;null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}dispose(){this.dnd.dispose()}}function Y(e){return e&&{...e,collapseByDefault:!0,identityProvider:e.identityProvider&&{getId:t=>e.identityProvider.getId(t.element)},dnd:e.dnd&&new Z(e.dnd),multipleSelectionController:e.multipleSelectionController&&{isSelectionSingleChangeEvent:t=>e.multipleSelectionController.isSelectionSingleChangeEvent({...t,element:t.element}),isSelectionRangeChangeEvent:t=>e.multipleSelectionController.isSelectionRangeChangeEvent({...t,element:t.element})},accessibilityProvider:e.accessibilityProvider&&{...e.accessibilityProvider,getPosInSet:void 0,getSetSize:void 0,getRole:e.accessibilityProvider.getRole?t=>e.accessibilityProvider.getRole(t.element):()=>"treeitem",isChecked:e.accessibilityProvider.isChecked?t=>{var i;return!!(null===(i=e.accessibilityProvider)||void 0===i?void 0:i.isChecked(t.element))}:void 0,getAriaLabel:t=>e.accessibilityProvider.getAriaLabel(t.element),getWidgetAriaLabel:()=>e.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:e.accessibilityProvider.getWidgetRole?()=>e.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:e.accessibilityProvider.getAriaLevel&&(t=>e.accessibilityProvider.getAriaLevel(t.element)),getActiveDescendantId:e.accessibilityProvider.getActiveDescendantId&&(t=>e.accessibilityProvider.getActiveDescendantId(t.element))},filter:e.filter&&{filter:(t,i)=>e.filter.filter(t.element,i)},keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&{...e.keyboardNavigationLabelProvider,getKeyboardNavigationLabel:t=>e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t.element)},sorter:void 0,expandOnlyOnTwistieClick:void 0===e.expandOnlyOnTwistieClick?void 0:"function"!=typeof e.expandOnlyOnTwistieClick?e.expandOnlyOnTwistieClick:t=>e.expandOnlyOnTwistieClick(t.element),defaultFindVisibility:t=>t.hasChildren&&t.stale?1:"number"==typeof e.defaultFindVisibility?e.defaultFindVisibility:void 0===e.defaultFindVisibility?2:e.defaultFindVisibility(t.element)}}function J(e,t){t(e),e.children.forEach(e=>J(e,t))}class X{get onDidScroll(){return this.tree.onDidScroll}get onDidChangeFocus(){return r.ju.map(this.tree.onDidChangeFocus,q)}get onDidChangeSelection(){return r.ju.map(this.tree.onDidChangeSelection,q)}get onMouseDblClick(){return r.ju.map(this.tree.onMouseDblClick,j)}get onPointer(){return r.ju.map(this.tree.onPointer,j)}get onDidFocus(){return this.tree.onDidFocus}get onDidChangeModel(){return this.tree.onDidChangeModel}get onDidChangeCollapseState(){return this.tree.onDidChangeCollapseState}get onDidChangeFindOpenState(){return this.tree.onDidChangeFindOpenState}get onDidChangeStickyScrollFocused(){return this.tree.onDidChangeStickyScrollFocused}get onDidDispose(){return this.tree.onDidDispose}constructor(e,t,i,n,s,o={}){this.user=e,this.dataSource=s,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new r.Q5,this._onDidChangeNodeSlowState=new r.Q5,this.nodeMapper=new w.VA(e=>new U(e)),this.disposables=new l.SL,this.identityProvider=o.identityProvider,this.autoExpandSingleChildren=void 0!==o.autoExpandSingleChildren&&o.autoExpandSingleChildren,this.sorter=o.sorter,this.getDefaultCollapseState=e=>o.collapseByDefault?o.collapseByDefault(e)?w.kn.PreserveOrCollapsed:w.kn.PreserveOrExpanded:void 0,this.tree=this.createTree(e,t,i,n,o),this.onDidChangeFindMode=this.tree.onDidChangeFindMode,this.onDidChangeFindMatchType=this.tree.onDidChangeFindMatchType,this.root=z({element:void 0,parent:null,hasChildren:!0,defaultCollapseState:void 0}),this.identityProvider&&(this.root={...this.root,id:null}),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}createTree(e,t,i,n,s){let o=new v.cz(i),r=n.map(e=>new $(e,this.nodeMapper,this._onDidChangeNodeSlowState.event)),l=Y(s)||{};return new R(e,t,o,r,l)}updateOptions(e={}){this.tree.updateOptions(e)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(e){this.tree.scrollTop=e}get scrollHeight(){return this.tree.scrollHeight}get renderHeight(){return this.tree.renderHeight}domFocus(){this.tree.domFocus()}layout(e,t){this.tree.layout(e,t)}style(e){this.tree.style(e)}getInput(){return this.root.element}async setInput(e,t){this.refreshPromises.forEach(e=>e.cancel()),this.refreshPromises.clear(),this.root.element=e;let i=t&&{viewState:t,focus:[],selection:[]};await this._updateChildren(e,!0,!1,i),i&&(this.tree.setFocus(i.focus),this.tree.setSelection(i.selection)),t&&"number"==typeof t.scrollTop&&(this.scrollTop=t.scrollTop)}async _updateChildren(e=this.root.element,t=!0,i=!1,n,s){if(void 0===this.root.element)throw new w.ac(this.user,"Tree input not set");this.root.refreshPromise&&(await this.root.refreshPromise,await r.ju.toPromise(this._onDidRender.event));let o=this.getDataNode(e);if(await this.refreshAndRenderNode(o,t,n,s),i)try{this.tree.rerender(o)}catch(e){}}rerender(e){if(void 0===e||e===this.root.element){this.tree.rerender();return}let t=this.getDataNode(e);this.tree.rerender(t)}getNode(e=this.root.element){let t=this.getDataNode(e),i=this.tree.getNode(t===this.root?null:t);return this.nodeMapper.map(i)}collapse(e,t=!1){let i=this.getDataNode(e);return this.tree.collapse(i===this.root?null:i,t)}async expand(e,t=!1){if(void 0===this.root.element)throw new w.ac(this.user,"Tree input not set");this.root.refreshPromise&&(await this.root.refreshPromise,await r.ju.toPromise(this._onDidRender.event));let i=this.getDataNode(e);if(this.tree.hasElement(i)&&!this.tree.isCollapsible(i)||(i.refreshPromise&&(await this.root.refreshPromise,await r.ju.toPromise(this._onDidRender.event)),i!==this.root&&!i.refreshPromise&&!this.tree.isCollapsed(i)))return!1;let n=this.tree.expand(i===this.root?null:i,t);return i.refreshPromise&&(await this.root.refreshPromise,await r.ju.toPromise(this._onDidRender.event)),n}setSelection(e,t){let i=e.map(e=>this.getDataNode(e));this.tree.setSelection(i,t)}getSelection(){let e=this.tree.getSelection();return e.map(e=>e.element)}setFocus(e,t){let i=e.map(e=>this.getDataNode(e));this.tree.setFocus(i,t)}getFocus(){let e=this.tree.getFocus();return e.map(e=>e.element)}reveal(e,t){this.tree.reveal(this.getDataNode(e),t)}getParentElement(e){let t=this.tree.getParentElement(this.getDataNode(e));return t&&t.element}getFirstElementChild(e=this.root.element){let t=this.getDataNode(e),i=this.tree.getFirstElementChild(t===this.root?null:t);return i&&i.element}getDataNode(e){let t=this.nodes.get(e===this.root.element?null:e);if(!t)throw new w.ac(this.user,`Data tree node not found: ${e}`);return t}async refreshAndRenderNode(e,t,i,n){await this.refreshNode(e,t,i),this.disposables.isDisposed||this.render(e,i,n)}async refreshNode(e,t,i){let n;if(this.subTreeRefreshPromises.forEach((s,o)=>{!n&&(o===e||K(o,e)||K(e,o))&&(n=s.then(()=>this.refreshNode(e,t,i)))}),n)return n;if(e!==this.root){let n=this.tree.getNode(e);if(n.collapsed){e.hasChildren=!!this.dataSource.hasChildren(e.element),e.stale=!0,this.setChildren(e,[],t,i);return}}return this.doRefreshSubTree(e,t,i)}async doRefreshSubTree(e,t,i){let n;e.refreshPromise=new Promise(e=>n=e),this.subTreeRefreshPromises.set(e,e.refreshPromise),e.refreshPromise.finally(()=>{e.refreshPromise=void 0,this.subTreeRefreshPromises.delete(e)});try{let n=await this.doRefreshNode(e,t,i);e.stale=!1,await F.jT.settled(n.map(e=>this.doRefreshSubTree(e,t,i)))}finally{n()}}async doRefreshNode(e,t,i){let n;if(e.hasChildren=!!this.dataSource.hasChildren(e.element),e.hasChildren){let t=this.doGetChildren(e);if((0,V.TW)(t))n=Promise.resolve(t);else{let i=(0,F.Vs)(800);i.then(()=>{e.slow=!0,this._onDidChangeNodeSlowState.fire(e)},e=>null),n=t.finally(()=>i.cancel())}}else n=Promise.resolve(y.$.empty());try{let s=await n;return this.setChildren(e,s,t,i)}catch(t){if(e!==this.root&&this.tree.hasElement(e)&&this.tree.collapse(e),(0,H.n2)(t))return[];throw t}finally{e.slow&&(e.slow=!1,this._onDidChangeNodeSlowState.fire(e))}}doGetChildren(e){let t=this.refreshPromises.get(e);if(t)return t;let i=this.dataSource.getChildren(e.element);return(0,V.TW)(i)?this.processChildren(i):(t=(0,F.PG)(async()=>this.processChildren(await i)),this.refreshPromises.set(e,t),t.finally(()=>{this.refreshPromises.delete(e)}))}_onDidChangeCollapseState({node:e,deep:t}){null!==e.element&&!e.collapsed&&e.element.stale&&(t?this.collapse(e.element.element):this.refreshAndRenderNode(e.element,!1).catch(H.dL))}setChildren(e,t,i,n){let s=[...t];if(0===e.children.length&&0===s.length)return[];let o=new Map,r=new Map;for(let t of e.children)o.set(t.element,t),this.identityProvider&&r.set(t.id,{node:t,collapsed:this.tree.hasElement(t)&&this.tree.isCollapsed(t)});let l=[],a=s.map(t=>{let s=!!this.dataSource.hasChildren(t);if(!this.identityProvider){let i=z({element:t,parent:e,hasChildren:s,defaultCollapseState:this.getDefaultCollapseState(t)});return s&&i.defaultCollapseState===w.kn.PreserveOrExpanded&&l.push(i),i}let a=this.identityProvider.getId(t).toString(),d=r.get(a);if(d){let e=d.node;return o.delete(e.element),this.nodes.delete(e.element),this.nodes.set(t,e),e.element=t,e.hasChildren=s,i?d.collapsed?(e.children.forEach(e=>J(e,e=>this.nodes.delete(e.element))),e.children.splice(0,e.children.length),e.stale=!0):l.push(e):s&&!d.collapsed&&l.push(e),e}let h=z({element:t,parent:e,id:a,hasChildren:s,defaultCollapseState:this.getDefaultCollapseState(t)});return n&&n.viewState.focus&&n.viewState.focus.indexOf(a)>-1&&n.focus.push(h),n&&n.viewState.selection&&n.viewState.selection.indexOf(a)>-1&&n.selection.push(h),n&&n.viewState.expanded&&n.viewState.expanded.indexOf(a)>-1?l.push(h):s&&h.defaultCollapseState===w.kn.PreserveOrExpanded&&l.push(h),h});for(let e of o.values())J(e,e=>this.nodes.delete(e.element));for(let e of a)this.nodes.set(e.element,e);return e.children.splice(0,e.children.length,...a),e!==this.root&&this.autoExpandSingleChildren&&1===a.length&&0===l.length&&(a[0].forceExpanded=!0,l.push(a[0])),l}render(e,t,i){let n=e.children.map(e=>this.asTreeElement(e,t)),s=i&&{...i,diffIdentityProvider:i.diffIdentityProvider&&{getId:e=>i.diffIdentityProvider.getId(e.element)}};this.tree.setChildren(e===this.root?null:e,n,s),e!==this.root&&this.tree.setCollapsible(e,e.hasChildren),this._onDidRender.fire()}asTreeElement(e,t){let i;return e.stale?{element:e,collapsible:e.hasChildren,collapsed:!0}:(t&&t.viewState.expanded&&e.id&&t.viewState.expanded.indexOf(e.id)>-1?i=!1:e.forceExpanded?(i=!1,e.forceExpanded=!1):i=e.defaultCollapseState,{element:e,children:e.hasChildren?y.$.map(e.children,e=>this.asTreeElement(e,t)):[],collapsible:e.hasChildren,collapsed:i})}processChildren(e){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),e}dispose(){this.disposables.dispose(),this.tree.dispose()}}class ee{get element(){return{elements:this.node.element.elements.map(e=>e.element),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map(e=>new ee(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}constructor(e){this.node=e}}class et{constructor(e,t,i,n){this.renderer=e,this.nodeMapper=t,this.compressibleNodeMapperProvider=i,this.onDidChangeTwistieState=n,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}renderTemplate(e){let t=this.renderer.renderTemplate(e);return{templateData:t}}renderElement(e,t,i,n){this.renderer.renderElement(this.nodeMapper.map(e),t,i.templateData,n)}renderCompressedElements(e,t,i,n){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(e),t,i.templateData,n)}renderTwistie(e,t){return e.slow?(t.classList.add(...W.k.asClassNameArray(B.l.treeItemLoading)),!0):(t.classList.remove(...W.k.asClassNameArray(B.l.treeItemLoading)),!1)}disposeElement(e,t,i,n){var s,o;null===(o=(s=this.renderer).disposeElement)||void 0===o||o.call(s,this.nodeMapper.map(e),t,i.templateData,n)}disposeCompressedElements(e,t,i,n){var s,o;null===(o=(s=this.renderer).disposeCompressedElements)||void 0===o||o.call(s,this.compressibleNodeMapperProvider().map(e),t,i.templateData,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=(0,l.B9)(this.disposables)}}class ei extends X{constructor(e,t,i,n,s,o,r={}){super(e,t,i,s,o,r),this.compressionDelegate=n,this.compressibleNodeMapper=new w.VA(e=>new ee(e)),this.filter=r.filter}createTree(e,t,i,n,s){let o=new v.cz(i),r=n.map(e=>new et(e,this.nodeMapper,()=>this.compressibleNodeMapper,this._onDidChangeNodeSlowState.event)),l=function(e){let t=e&&Y(e);return t&&{...t,keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&{...t.keyboardNavigationLabelProvider,getCompressedNodeKeyboardNavigationLabel:t=>e.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.map(e=>e.element))}}}(s)||{};return new O(e,t,o,r,l)}asTreeElement(e,t){return{incompressible:this.compressionDelegate.isIncompressible(e.element),...super.asTreeElement(e,t)}}updateOptions(e={}){this.tree.updateOptions(e)}render(e,t,i){if(!this.identityProvider)return super.render(e,t);let n=e=>this.identityProvider.getId(e).toString(),s=e=>{let t=new Set;for(let i of e){let e=this.tree.getCompressedTreeNode(i===this.root?null:i);if(e.element)for(let i of e.element.elements)t.add(n(i.element))}return t},o=s(this.tree.getSelection()),r=s(this.tree.getFocus());super.render(e,t,i);let l=this.getSelection(),a=!1,d=this.getFocus(),h=!1,u=e=>{let t=e.element;if(t)for(let e=0;e{let t=this.filter.filter(e,1),i="boolean"==typeof t?t?1:0:(0,C.gB)(t)?(0,C.aG)(t.visibility):(0,C.aG)(t);if(2===i)throw Error("Recursive tree visibility not supported in async data compressed trees");return 1===i})),super.processChildren(e)}}class en extends v.CH{constructor(e,t,i,n,s,o={}){super(e,t,i,n,o),this.user=e,this.dataSource=s,this.identityProvider=o.identityProvider}createModel(e,t,i){return new S(e,t,i)}}var es=i(63580),eo=i(33108),er=i(23193),el=i(32064),ea=i(39282),ed=i(5606),eh=i(72065),eu=i(91847),ec=i(89872),eg=i(86253),ep=function(e,t,i,n){var s,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,i,r):s(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},em=function(e,t){return function(i,n){t(i,n,e)}};let ef=(0,eh.yh)("listService");class e_{get lastFocusedList(){return this._lastFocusedWidget}constructor(){this.disposables=new l.SL,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}setLastFocusedList(e){var t,i;e!==this._lastFocusedWidget&&(null===(t=this._lastFocusedWidget)||void 0===t||t.getHTMLElement().classList.remove("last-focused"),this._lastFocusedWidget=e,null===(i=this._lastFocusedWidget)||void 0===i||i.getHTMLElement().classList.add("last-focused"))}register(e,t){if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;let e=new a.wD((0,n.dS)(),"");e.style(eg.O2)}if(this.lists.some(t=>t.widget===e))throw Error("Cannot register the same widget multiple times");let i={widget:e,extraContextKeys:t};return this.lists.push(i),(0,n.H9)(e.getHTMLElement())&&this.setLastFocusedList(e),(0,l.F8)(e.onDidFocus(()=>this.setLastFocusedList(e)),(0,l.OF)(()=>this.lists.splice(this.lists.indexOf(i),1)),e.onDidDispose(()=>{this.lists=this.lists.filter(e=>e!==i),this._lastFocusedWidget===e&&this.setLastFocusedList(void 0)}))}dispose(){this.disposables.dispose()}}let ev=new el.uy("listScrollAtBoundary","none");el.Ao.or(ev.isEqualTo("top"),ev.isEqualTo("both")),el.Ao.or(ev.isEqualTo("bottom"),ev.isEqualTo("both"));let eb=new el.uy("listFocus",!0),eC=new el.uy("treestickyScrollFocused",!1),ew=new el.uy("listSupportsMultiselect",!0),ey=el.Ao.and(eb,el.Ao.not(ea.d0),eC.negate()),eS=new el.uy("listHasSelectionOrFocus",!1),eL=new el.uy("listDoubleSelection",!1),ek=new el.uy("listMultiSelection",!1),eD=new el.uy("listSelectionNavigation",!1),ex=new el.uy("listSupportsFind",!0),eN=new el.uy("treeElementCanCollapse",!1),eE=new el.uy("treeElementHasParent",!1),eI=new el.uy("treeElementCanExpand",!1),eT=new el.uy("treeElementHasChild",!1),eM=new el.uy("treeFindOpen",!1),eR="listTypeNavigationMode",eA="listAutomaticKeyboardNavigation";function eP(e,t){let i=e.createScoped(t.getHTMLElement());return eb.bindTo(i),i}function eO(e,t){let i=ev.bindTo(e),n=()=>{let e=0===t.scrollTop,n=t.scrollHeight-t.renderHeight-t.scrollTop<1;e&&n?i.set("both"):e?i.set("top"):n?i.set("bottom"):i.set("none")};return n(),t.onDidScroll(n)}let eF="workbench.list.multiSelectModifier",eB="workbench.list.openMode",eW="workbench.list.horizontalScrolling",eH="workbench.list.defaultFindMode",eV="workbench.list.typeNavigationMode",ez="workbench.list.keyboardNavigation",eK="workbench.list.scrollByPage",eU="workbench.list.defaultFindMatchType",e$="workbench.tree.indent",eq="workbench.tree.renderIndentGuides",ej="workbench.list.smoothScrolling",eG="workbench.list.mouseWheelScrollSensitivity",eQ="workbench.list.fastScrollSensitivity",eZ="workbench.tree.expandMode",eY="workbench.tree.enableStickyScroll",eJ="workbench.tree.stickyScrollMaxItemCount";function eX(e){return"alt"===e.getValue(eF)}class e0 extends l.JT{constructor(e){super(),this.configurationService=e,this.useAltAsMultipleSelectionModifier=eX(e),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(eF)&&(this.useAltAsMultipleSelectionModifier=eX(this.configurationService))}))}isSelectionSingleChangeEvent(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:(0,a.Zo)(e)}isSelectionRangeChangeEvent(e){return(0,a.wn)(e)}}function e1(e,t){var i;let n;let s=e.get(eo.Ui),o=e.get(eu.d),r=new l.SL,a={...t,keyboardNavigationDelegate:{mightProducePrintableCharacter:e=>o.mightProducePrintableCharacter(e)},smoothScrolling:!!s.getValue(ej),mouseWheelScrollSensitivity:s.getValue(eG),fastScrollSensitivity:s.getValue(eQ),multipleSelectionController:null!==(i=t.multipleSelectionController)&&void 0!==i?i:r.add(new e0(s)),keyboardNavigationEventFilter:(n=!1,e=>{if(e.toKeyCodeChord().isModifierKey())return!1;if(n)return n=!1,!1;let t=o.softDispatch(e,e.target);return 1===t.kind?(n=!0,!1):(n=!1,0===t.kind)}),scrollByPage:!!s.getValue(eK)};return[a,r]}let e2=class extends a.aV{constructor(e,t,i,n,s,o,r,l,a){let d=void 0!==s.horizontalScrolling?s.horizontalScrolling:!!l.getValue(eW),[h,u]=a.invokeFunction(e1,s);super(e,t,i,n,{keyboardSupport:!1,...h,horizontalScrolling:d}),this.disposables.add(u),this.contextKeyService=eP(o,this),this.disposables.add(eO(this.contextKeyService,this)),this.listSupportsMultiSelect=ew.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==s.multipleSelectionSupport);let c=eD.bindTo(this.contextKeyService);c.set(!!s.selectionNavigation),this.listHasSelectionOrFocus=eS.bindTo(this.contextKeyService),this.listDoubleSelection=eL.bindTo(this.contextKeyService),this.listMultiSelection=ek.bindTo(this.contextKeyService),this.horizontalScrolling=s.horizontalScrolling,this._useAltAsMultipleSelectionModifier=eX(l),this.disposables.add(this.contextKeyService),this.disposables.add(r.register(this)),this.updateStyles(s.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{let e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(e.length>0||t.length>0),this.listMultiSelection.set(e.length>1),this.listDoubleSelection.set(2===e.length)})})),this.disposables.add(this.onDidChangeFocus(()=>{let e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(e.length>0||t.length>0)})),this.disposables.add(l.onDidChangeConfiguration(e=>{e.affectsConfiguration(eF)&&(this._useAltAsMultipleSelectionModifier=eX(l));let t={};if(e.affectsConfiguration(eW)&&void 0===this.horizontalScrolling){let e=!!l.getValue(eW);t={...t,horizontalScrolling:e}}if(e.affectsConfiguration(eK)){let e=!!l.getValue(eK);t={...t,scrollByPage:e}}if(e.affectsConfiguration(ej)){let e=!!l.getValue(ej);t={...t,smoothScrolling:e}}if(e.affectsConfiguration(eG)){let e=l.getValue(eG);t={...t,mouseWheelScrollSensitivity:e}}if(e.affectsConfiguration(eQ)){let e=l.getValue(eQ);t={...t,fastScrollSensitivity:e}}Object.keys(t).length>0&&this.updateOptions(t)})),this.navigator=new e6(this,{configurationService:l,...s}),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),void 0!==e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){this.style(e?(0,eg.TU)(e):eg.O2)}};e2=ep([em(5,el.i6),em(6,ef),em(7,eo.Ui),em(8,eh.TG)],e2);let e5=class extends u{constructor(e,t,i,n,s,o,r,a,d){let h=void 0!==s.horizontalScrolling?s.horizontalScrolling:!!a.getValue(eW),[u,c]=d.invokeFunction(e1,s);super(e,t,i,n,{keyboardSupport:!1,...u,horizontalScrolling:h}),this.disposables=new l.SL,this.disposables.add(c),this.contextKeyService=eP(o,this),this.disposables.add(eO(this.contextKeyService,this.widget)),this.horizontalScrolling=s.horizontalScrolling,this.listSupportsMultiSelect=ew.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==s.multipleSelectionSupport);let g=eD.bindTo(this.contextKeyService);g.set(!!s.selectionNavigation),this._useAltAsMultipleSelectionModifier=eX(a),this.disposables.add(this.contextKeyService),this.disposables.add(r.register(this)),this.updateStyles(s.overrideStyles),this.disposables.add(a.onDidChangeConfiguration(e=>{e.affectsConfiguration(eF)&&(this._useAltAsMultipleSelectionModifier=eX(a));let t={};if(e.affectsConfiguration(eW)&&void 0===this.horizontalScrolling){let e=!!a.getValue(eW);t={...t,horizontalScrolling:e}}if(e.affectsConfiguration(eK)){let e=!!a.getValue(eK);t={...t,scrollByPage:e}}if(e.affectsConfiguration(ej)){let e=!!a.getValue(ej);t={...t,smoothScrolling:e}}if(e.affectsConfiguration(eG)){let e=a.getValue(eG);t={...t,mouseWheelScrollSensitivity:e}}if(e.affectsConfiguration(eQ)){let e=a.getValue(eQ);t={...t,fastScrollSensitivity:e}}Object.keys(t).length>0&&this.updateOptions(t)})),this.navigator=new e6(this,{configurationService:a,...s}),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),void 0!==e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){this.style(e?(0,eg.TU)(e):eg.O2)}dispose(){this.disposables.dispose(),super.dispose()}};e5=ep([em(5,el.i6),em(6,ef),em(7,eo.Ui),em(8,eh.TG)],e5);let e4=class extends _{constructor(e,t,i,n,s,o,r,l,a,d){let h=void 0!==o.horizontalScrolling?o.horizontalScrolling:!!a.getValue(eW),[u,c]=d.invokeFunction(e1,o);super(e,t,i,n,s,{keyboardSupport:!1,...u,horizontalScrolling:h}),this.disposables.add(c),this.contextKeyService=eP(r,this),this.disposables.add(eO(this.contextKeyService,this)),this.listSupportsMultiSelect=ew.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==o.multipleSelectionSupport);let g=eD.bindTo(this.contextKeyService);g.set(!!o.selectionNavigation),this.listHasSelectionOrFocus=eS.bindTo(this.contextKeyService),this.listDoubleSelection=eL.bindTo(this.contextKeyService),this.listMultiSelection=ek.bindTo(this.contextKeyService),this.horizontalScrolling=o.horizontalScrolling,this._useAltAsMultipleSelectionModifier=eX(a),this.disposables.add(this.contextKeyService),this.disposables.add(l.register(this)),this.updateStyles(o.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{let e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(e.length>0||t.length>0),this.listMultiSelection.set(e.length>1),this.listDoubleSelection.set(2===e.length)})})),this.disposables.add(this.onDidChangeFocus(()=>{let e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(e.length>0||t.length>0)})),this.disposables.add(a.onDidChangeConfiguration(e=>{e.affectsConfiguration(eF)&&(this._useAltAsMultipleSelectionModifier=eX(a));let t={};if(e.affectsConfiguration(eW)&&void 0===this.horizontalScrolling){let e=!!a.getValue(eW);t={...t,horizontalScrolling:e}}if(e.affectsConfiguration(eK)){let e=!!a.getValue(eK);t={...t,scrollByPage:e}}if(e.affectsConfiguration(ej)){let e=!!a.getValue(ej);t={...t,smoothScrolling:e}}if(e.affectsConfiguration(eG)){let e=a.getValue(eG);t={...t,mouseWheelScrollSensitivity:e}}if(e.affectsConfiguration(eQ)){let e=a.getValue(eQ);t={...t,fastScrollSensitivity:e}}Object.keys(t).length>0&&this.updateOptions(t)})),this.navigator=new e9(this,{configurationService:a,...o}),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),void 0!==e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){this.style(e?(0,eg.TU)(e):eg.O2)}dispose(){this.disposables.dispose(),super.dispose()}};e4=ep([em(6,el.i6),em(7,ef),em(8,eo.Ui),em(9,eh.TG)],e4);class e3 extends l.JT{constructor(e,t){var i;super(),this.widget=e,this._onDidOpen=this._register(new r.Q5),this.onDidOpen=this._onDidOpen.event,this._register(r.ju.filter(this.widget.onDidChangeSelection,e=>(0,n.vd)(e.browserEvent))(e=>this.onSelectionFromKeyboard(e))),this._register(this.widget.onPointer(e=>this.onPointer(e.element,e.browserEvent))),this._register(this.widget.onMouseDblClick(e=>this.onMouseDblClick(e.element,e.browserEvent))),"boolean"!=typeof(null==t?void 0:t.openOnSingleClick)&&(null==t?void 0:t.configurationService)?(this.openOnSingleClick=(null==t?void 0:t.configurationService.getValue(eB))!=="doubleClick",this._register(null==t?void 0:t.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(eB)&&(this.openOnSingleClick=(null==t?void 0:t.configurationService.getValue(eB))!=="doubleClick")}))):this.openOnSingleClick=null===(i=null==t?void 0:t.openOnSingleClick)||void 0===i||i}onSelectionFromKeyboard(e){if(1!==e.elements.length)return;let t=e.browserEvent,i="boolean"!=typeof t.preserveFocus||t.preserveFocus,n="boolean"==typeof t.pinned?t.pinned:!i;this._open(this.getSelectedElement(),i,n,!1,e.browserEvent)}onPointer(e,t){if(!this.openOnSingleClick)return;let i=2===t.detail;if(i)return;let n=1===t.button,s=t.ctrlKey||t.metaKey||t.altKey;this._open(e,!0,n,s,t)}onMouseDblClick(e,t){if(!t)return;let i=t.target,n=i.classList.contains("monaco-tl-twistie")||i.classList.contains("monaco-icon-label")&&i.classList.contains("folder-icon")&&t.offsetX<16;if(n)return;let s=t.ctrlKey||t.metaKey||t.altKey;this._open(e,!1,!0,s,t)}_open(e,t,i,n,s){e&&this._onDidOpen.fire({editorOptions:{preserveFocus:t,pinned:i,revealIfVisible:!0},sideBySide:n,element:e,browserEvent:s})}}class e6 extends e3{constructor(e,t){super(e,t),this.widget=e}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class e9 extends e3{constructor(e,t){super(e,t)}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class e7 extends e3{constructor(e,t){super(e,t)}getSelectedElement(){var e;return null!==(e=this.widget.getSelection()[0])&&void 0!==e?e:void 0}}let e8=class extends R{constructor(e,t,i,n,s,o,r,l,a){let{options:d,getTypeNavigationMode:h,disposable:u}=o.invokeFunction(tr,s);super(e,t,i,n,d),this.disposables.add(u),this.internals=new tl(this,s,h,s.overrideStyles,r,l,a),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};e8=ep([em(5,eh.TG),em(6,el.i6),em(7,ef),em(8,eo.Ui)],e8);let te=class extends O{constructor(e,t,i,n,s,o,r,l,a){let{options:d,getTypeNavigationMode:h,disposable:u}=o.invokeFunction(tr,s);super(e,t,i,n,d),this.disposables.add(u),this.internals=new tl(this,s,h,s.overrideStyles,r,l,a),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};te=ep([em(5,eh.TG),em(6,el.i6),em(7,ef),em(8,eo.Ui)],te);let tt=class extends en{constructor(e,t,i,n,s,o,r,l,a,d){let{options:h,getTypeNavigationMode:u,disposable:c}=r.invokeFunction(tr,o);super(e,t,i,n,s,h),this.disposables.add(c),this.internals=new tl(this,o,u,o.overrideStyles,l,a,d),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),void 0!==e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};tt=ep([em(6,eh.TG),em(7,el.i6),em(8,ef),em(9,eo.Ui)],tt);let ti=class extends X{get onDidOpen(){return this.internals.onDidOpen}constructor(e,t,i,n,s,o,r,l,a,d){let{options:h,getTypeNavigationMode:u,disposable:c}=r.invokeFunction(tr,o);super(e,t,i,n,s,h),this.disposables.add(c),this.internals=new tl(this,o,u,o.overrideStyles,l,a,d),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};ti=ep([em(6,eh.TG),em(7,el.i6),em(8,ef),em(9,eo.Ui)],ti);let tn=class extends ei{constructor(e,t,i,n,s,o,r,l,a,d,h){let{options:u,getTypeNavigationMode:c,disposable:g}=l.invokeFunction(tr,r);super(e,t,i,n,s,o,u),this.disposables.add(g),this.internals=new tl(this,r,c,r.overrideStyles,a,d,h),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};function ts(e){let t=e.getValue(eH);if("highlight"===t)return v.sZ.Highlight;if("filter"===t)return v.sZ.Filter;let i=e.getValue(ez);return"simple"===i||"highlight"===i?v.sZ.Highlight:"filter"===i?v.sZ.Filter:void 0}function to(e){let t=e.getValue(eU);return"fuzzy"===t?v.Zd.Fuzzy:"contiguous"===t?v.Zd.Contiguous:void 0}function tr(e,t){var i;let n=e.get(eo.Ui),s=e.get(ed.u),o=e.get(el.i6),r=e.get(eh.TG),l=void 0!==t.horizontalScrolling?t.horizontalScrolling:!!n.getValue(eW),[d,h]=r.invokeFunction(e1,t),u=t.paddingBottom,c=void 0!==t.renderIndentGuides?t.renderIndentGuides:n.getValue(eq);return{getTypeNavigationMode:()=>{let e=o.getContextKeyValue(eR);if("automatic"===e)return a.AA.Automatic;if("trigger"===e)return a.AA.Trigger;let t=o.getContextKeyValue(eA);if(!1===t)return a.AA.Trigger;let i=n.getValue(eV);return"automatic"===i?a.AA.Automatic:"trigger"===i?a.AA.Trigger:void 0},disposable:h,options:{keyboardSupport:!1,...d,indent:"number"==typeof n.getValue(e$)?n.getValue(e$):void 0,renderIndentGuides:c,smoothScrolling:!!n.getValue(ej),defaultFindMode:ts(n),defaultFindMatchType:to(n),horizontalScrolling:l,scrollByPage:!!n.getValue(eK),paddingBottom:u,hideTwistiesOfChildlessElements:t.hideTwistiesOfChildlessElements,expandOnlyOnTwistieClick:null!==(i=t.expandOnlyOnTwistieClick)&&void 0!==i?i:"doubleClick"===n.getValue(eZ),contextViewProvider:s,findWidgetStyles:eg.uX,enableStickyScroll:!!n.getValue(eY),stickyScrollMaxItemCount:Number(n.getValue(eJ))}}}tn=ep([em(7,eh.TG),em(8,el.i6),em(9,ef),em(10,eo.Ui)],tn);let tl=class{get onDidOpen(){return this.navigator.onDidOpen}constructor(e,t,i,n,s,o,r){var l;this.tree=e,this.disposables=[],this.contextKeyService=eP(s,e),this.disposables.push(eO(this.contextKeyService,e)),this.listSupportsMultiSelect=ew.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==t.multipleSelectionSupport);let a=eD.bindTo(this.contextKeyService);a.set(!!t.selectionNavigation),this.listSupportFindWidget=ex.bindTo(this.contextKeyService),this.listSupportFindWidget.set(null===(l=t.findWidgetEnabled)||void 0===l||l),this.hasSelectionOrFocus=eS.bindTo(this.contextKeyService),this.hasDoubleSelection=eL.bindTo(this.contextKeyService),this.hasMultiSelection=ek.bindTo(this.contextKeyService),this.treeElementCanCollapse=eN.bindTo(this.contextKeyService),this.treeElementHasParent=eE.bindTo(this.contextKeyService),this.treeElementCanExpand=eI.bindTo(this.contextKeyService),this.treeElementHasChild=eT.bindTo(this.contextKeyService),this.treeFindOpen=eM.bindTo(this.contextKeyService),this.treeStickyScrollFocused=eC.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=eX(r),this.updateStyleOverrides(n);let d=()=>{let t=e.getFocus()[0];if(!t)return;let i=e.getNode(t);this.treeElementCanCollapse.set(i.collapsible&&!i.collapsed),this.treeElementHasParent.set(!!e.getParentElement(t)),this.treeElementCanExpand.set(i.collapsible&&i.collapsed),this.treeElementHasChild.set(!!e.getFirstElementChild(t))},h=new Set;h.add(eR),h.add(eA),this.disposables.push(this.contextKeyService,o.register(e),e.onDidChangeSelection(()=>{let t=e.getSelection(),i=e.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.hasSelectionOrFocus.set(t.length>0||i.length>0),this.hasMultiSelection.set(t.length>1),this.hasDoubleSelection.set(2===t.length)})}),e.onDidChangeFocus(()=>{let t=e.getSelection(),i=e.getFocus();this.hasSelectionOrFocus.set(t.length>0||i.length>0),d()}),e.onDidChangeCollapseState(d),e.onDidChangeModel(d),e.onDidChangeFindOpenState(e=>this.treeFindOpen.set(e)),e.onDidChangeStickyScrollFocused(e=>this.treeStickyScrollFocused.set(e)),r.onDidChangeConfiguration(n=>{let s={};if(n.affectsConfiguration(eF)&&(this._useAltAsMultipleSelectionModifier=eX(r)),n.affectsConfiguration(e$)){let e=r.getValue(e$);s={...s,indent:e}}if(n.affectsConfiguration(eq)&&void 0===t.renderIndentGuides){let e=r.getValue(eq);s={...s,renderIndentGuides:e}}if(n.affectsConfiguration(ej)){let e=!!r.getValue(ej);s={...s,smoothScrolling:e}}if(n.affectsConfiguration(eH)||n.affectsConfiguration(ez)){let e=ts(r);s={...s,defaultFindMode:e}}if(n.affectsConfiguration(eV)||n.affectsConfiguration(ez)){let e=i();s={...s,typeNavigationMode:e}}if(n.affectsConfiguration(eU)){let e=to(r);s={...s,defaultFindMatchType:e}}if(n.affectsConfiguration(eW)&&void 0===t.horizontalScrolling){let e=!!r.getValue(eW);s={...s,horizontalScrolling:e}}if(n.affectsConfiguration(eK)){let e=!!r.getValue(eK);s={...s,scrollByPage:e}}if(n.affectsConfiguration(eZ)&&void 0===t.expandOnlyOnTwistieClick&&(s={...s,expandOnlyOnTwistieClick:"doubleClick"===r.getValue(eZ)}),n.affectsConfiguration(eY)){let e=r.getValue(eY);s={...s,enableStickyScroll:e}}if(n.affectsConfiguration(eJ)){let e=Math.max(1,r.getValue(eJ));s={...s,stickyScrollMaxItemCount:e}}if(n.affectsConfiguration(eG)){let e=r.getValue(eG);s={...s,mouseWheelScrollSensitivity:e}}if(n.affectsConfiguration(eQ)){let e=r.getValue(eQ);s={...s,fastScrollSensitivity:e}}Object.keys(s).length>0&&e.updateOptions(s)}),this.contextKeyService.onDidChangeContext(t=>{t.affectsSome(h)&&e.updateOptions({typeNavigationMode:i()})})),this.navigator=new e7(e,{configurationService:r,...t}),this.disposables.push(this.navigator)}updateOptions(e){void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyleOverrides(e){this.tree.style(e?(0,eg.TU)(e):eg.O2)}dispose(){this.disposables=(0,l.B9)(this.disposables)}};tl=ep([em(4,el.i6),em(5,ef),em(6,eo.Ui)],tl);let ta=ec.B.as(er.IP.Configuration);ta.registerConfiguration({id:"workbench",order:7,title:(0,es.NC)("workbenchConfigurationTitle","Workbench"),type:"object",properties:{[eF]:{type:"string",enum:["ctrlCmd","alt"],markdownEnumDescriptions:[(0,es.NC)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),(0,es.NC)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:(0,es.NC)({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},[eB]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,es.NC)({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")},[eW]:{type:"boolean",default:!1,description:(0,es.NC)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")},[eK]:{type:"boolean",default:!1,description:(0,es.NC)("list.scrollByPage","Controls whether clicks in the scrollbar scroll page by page.")},[e$]:{type:"number",default:8,minimum:4,maximum:40,description:(0,es.NC)("tree indent setting","Controls tree indentation in pixels.")},[eq]:{type:"string",enum:["none","onHover","always"],default:"onHover",description:(0,es.NC)("render tree indent guides","Controls whether the tree should render indent guides.")},[ej]:{type:"boolean",default:!1,description:(0,es.NC)("list smoothScrolling setting","Controls whether lists and trees have smooth scrolling.")},[eG]:{type:"number",default:1,markdownDescription:(0,es.NC)("Mouse Wheel Scroll Sensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")},[eQ]:{type:"number",default:5,markdownDescription:(0,es.NC)("Fast Scroll Sensitivity","Scrolling speed multiplier when pressing `Alt`.")},[eH]:{type:"string",enum:["highlight","filter"],enumDescriptions:[(0,es.NC)("defaultFindModeSettingKey.highlight","Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."),(0,es.NC)("defaultFindModeSettingKey.filter","Filter elements when searching.")],default:"highlight",description:(0,es.NC)("defaultFindModeSettingKey","Controls the default find mode for lists and trees in the workbench.")},[ez]:{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[(0,es.NC)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),(0,es.NC)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),(0,es.NC)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:(0,es.NC)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter."),deprecated:!0,deprecationMessage:(0,es.NC)("keyboardNavigationSettingKeyDeprecated","Please use 'workbench.list.defaultFindMode' and 'workbench.list.typeNavigationMode' instead.")},[eU]:{type:"string",enum:["fuzzy","contiguous"],enumDescriptions:[(0,es.NC)("defaultFindMatchTypeSettingKey.fuzzy","Use fuzzy matching when searching."),(0,es.NC)("defaultFindMatchTypeSettingKey.contiguous","Use contiguous matching when searching.")],default:"fuzzy",description:(0,es.NC)("defaultFindMatchTypeSettingKey","Controls the type of matching used when searching lists and trees in the workbench.")},[eZ]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,es.NC)("expand mode","Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable.")},[eY]:{type:"boolean",default:!0,description:(0,es.NC)("sticky scroll","Controls whether sticky scrolling is enabled in trees.")},[eJ]:{type:"number",minimum:1,default:7,markdownDescription:(0,es.NC)("sticky scroll maximum items","Controls the number of sticky elements displayed in the tree when `#workbench.tree.enableStickyScroll#` is enabled.")},[eV]:{type:"string",enum:["automatic","trigger"],default:"automatic",markdownDescription:(0,es.NC)("typeNavigationMode2","Controls how type navigation works in lists and trees in the workbench. When set to `trigger`, type navigation begins once the `list.triggerTypeNavigation` command is run.")}}})},43557:function(e,t,i){"use strict";i.d(t,{VZ:function(){return d},in:function(){return s},kw:function(){return c},qA:function(){return g}});var n,s,o=i(4669),r=i(5976),l=i(32064),a=i(72065);let d=(0,a.yh)("logService");(n=s||(s={}))[n.Off=0]="Off",n[n.Trace=1]="Trace",n[n.Debug=2]="Debug",n[n.Info=3]="Info",n[n.Warning=4]="Warning",n[n.Error=5]="Error";let h=s.Info;class u extends r.JT{constructor(){super(...arguments),this.level=h,this._onDidChangeLogLevel=this._register(new o.Q5),this.onDidChangeLogLevel=this._onDidChangeLogLevel.event}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}checkLogLevel(e){return this.level!==s.Off&&this.level<=e}}class c extends u{constructor(e=h,t=!0){super(),this.useColors=t,this.setLevel(e)}trace(e,...t){this.checkLogLevel(s.Trace)&&(this.useColors?console.log("%cTRACE","color: #888",e,...t):console.log(e,...t))}debug(e,...t){this.checkLogLevel(s.Debug)&&(this.useColors?console.log("%cDEBUG","background: #eee; color: #888",e,...t):console.log(e,...t))}info(e,...t){this.checkLogLevel(s.Info)&&(this.useColors?console.log("%c INFO","color: #33f",e,...t):console.log(e,...t))}warn(e,...t){this.checkLogLevel(s.Warning)&&(this.useColors?console.log("%c WARN","color: #993",e,...t):console.log(e,...t))}error(e,...t){this.checkLogLevel(s.Error)&&(this.useColors?console.log("%c ERR","color: #f33",e,...t):console.error(e,...t))}}class g extends u{constructor(e){super(),this.loggers=e,e.length&&this.setLevel(e[0].getLevel())}setLevel(e){for(let t of this.loggers)t.setLevel(e);super.setLevel(e)}trace(e,...t){for(let i of this.loggers)i.trace(e,...t)}debug(e,...t){for(let i of this.loggers)i.debug(e,...t)}info(e,...t){for(let i of this.loggers)i.info(e,...t)}warn(e,...t){for(let i of this.loggers)i.warn(e,...t)}error(e,...t){for(let i of this.loggers)i.error(e,...t)}dispose(){for(let e of this.loggers)e.dispose();super.dispose()}}new l.uy("logLevel",function(e){switch(e){case s.Trace:return"trace";case s.Debug:return"debug";case s.Info:return"info";case s.Warning:return"warn";case s.Error:return"error";case s.Off:return"off"}}(s.Info))},98674:function(e,t,i){"use strict";i.d(t,{H0:function(){return o},ZL:function(){return s},lT:function(){return d}});var n,s,o,r=i(14603),l=i(63580),a=i(72065);(n=s||(s={}))[n.Hint=1]="Hint",n[n.Info=2]="Info",n[n.Warning=4]="Warning",n[n.Error=8]="Error",function(e){e.compare=function(e,t){return t-e};let t=Object.create(null);t[e.Error]=(0,l.NC)("sev.error","Error"),t[e.Warning]=(0,l.NC)("sev.warning","Warning"),t[e.Info]=(0,l.NC)("sev.info","Info"),e.toString=function(e){return t[e]||""},e.fromSeverity=function(t){switch(t){case r.Z.Error:return e.Error;case r.Z.Warning:return e.Warning;case r.Z.Info:return e.Info;case r.Z.Ignore:return e.Hint}},e.toSeverity=function(t){switch(t){case e.Error:return r.Z.Error;case e.Warning:return r.Z.Warning;case e.Info:return r.Z.Info;case e.Hint:return r.Z.Ignore}}}(s||(s={})),function(e){function t(e,t){let i=[""];return e.source?i.push(e.source.replace("\xa6","\\\xa6")):i.push(""),e.code?"string"==typeof e.code?i.push(e.code.replace("\xa6","\\\xa6")):i.push(e.code.value.replace("\xa6","\\\xa6")):i.push(""),void 0!==e.severity&&null!==e.severity?i.push(s.toString(e.severity)):i.push(""),e.message&&t?i.push(e.message.replace("\xa6","\\\xa6")):i.push(""),void 0!==e.startLineNumber&&null!==e.startLineNumber?i.push(e.startLineNumber.toString()):i.push(""),void 0!==e.startColumn&&null!==e.startColumn?i.push(e.startColumn.toString()):i.push(""),void 0!==e.endLineNumber&&null!==e.endLineNumber?i.push(e.endLineNumber.toString()):i.push(""),void 0!==e.endColumn&&null!==e.endColumn?i.push(e.endColumn.toString()):i.push(""),i.push(""),i.join("\xa6")}e.makeKey=function(e){return t(e,!0)},e.makeKeyOptionalMessage=t}(o||(o={}));let d=(0,a.yh)("markerService")},59422:function(e,t,i){"use strict";i.d(t,{EO:function(){return l},lT:function(){return r},zb:function(){return o}});var n=i(14603),s=i(72065),o=n.Z;let r=(0,s.yh)("notificationService");class l{}},50988:function(e,t,i){"use strict";i.d(t,{v:function(){return s},x:function(){return o}});var n=i(72065);let s=(0,n.yh)("openerService");function o(e){let t;let i=/^L?(\d+)(?:,(\d+))?(-L?(\d+)(?:,(\d+))?)?/.exec(e.fragment);return i&&(t={startLineNumber:parseInt(i[1]),startColumn:i[2]?parseInt(i[2]):1,endLineNumber:i[4]?parseInt(i[4]):void 0,endColumn:i[4]?i[5]?parseInt(i[5]):1:void 0},e=e.with({fragment:""})),{selection:t,uri:e}}},90535:function(e,t,i){"use strict";i.d(t,{Ex:function(){return o},R9:function(){return s},ek:function(){return r}});var n=i(72065);let s=(0,n.yh)("progressService");Object.freeze({total(){},worked(){},done(){}});class o{constructor(e){this.callback=e}report(e){this._value=e,this.callback(this._value)}}o.None=Object.freeze({report(){}});let r=(0,n.yh)("editorProgressService")},45503:function(e,t,i){"use strict";i.d(t,{IP:function(){return a},Ry:function(){return s}});var n,s,o=i(9488),r=i(5976),l=i(89872);(n=s||(s={}))[n.PRESERVE=0]="PRESERVE",n[n.LAST=1]="LAST";let a={Quickaccess:"workbench.contributions.quickaccess"};l.B.add(a.Quickaccess,new class{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(e){return 0===e.prefix.length?this.defaultProvider=e:this.providers.push(e),this.providers.sort((e,t)=>t.prefix.length-e.prefix.length),(0,r.OF)(()=>{this.providers.splice(this.providers.indexOf(e),1),this.defaultProvider===e&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return(0,o.kX)([this.defaultProvider,...this.providers])}getQuickAccessProvider(e){let t=e&&this.providers.find(t=>e.startsWith(t.prefix))||void 0;return t||this.defaultProvider}})},41157:function(e,t,i){"use strict";i.d(t,{Jq:function(){return r},X5:function(){return h},eJ:function(){return u},jG:function(){return l},vn:function(){return a}});var n,s,o,r,l,a,d=i(72065);let h={ctrlCmd:!1,alt:!1};(n=r||(r={}))[n.Blur=1]="Blur",n[n.Gesture=2]="Gesture",n[n.Other=3]="Other",(s=l||(l={}))[s.NONE=0]="NONE",s[s.FIRST=1]="FIRST",s[s.SECOND=2]="SECOND",s[s.LAST=3]="LAST",(o=a||(a={}))[o.First=1]="First",o[o.Second=2]="Second",o[o.Last=3]="Last",o[o.Next=4]="Next",o[o.Previous=5]="Previous",o[o.NextPage=6]="NextPage",o[o.PreviousPage=7]="PreviousPage",o[o.NextSeparator=8]="NextSeparator",o[o.PreviousSeparator=9]="PreviousSeparator",new class{constructor(e){this.options=e}};let u=(0,d.yh)("quickInputService")},89872:function(e,t,i){"use strict";i.d(t,{B:function(){return o}});var n=i(35146),s=i(98401);let o=new class{constructor(){this.data=new Map}add(e,t){n.ok(s.HD(e)),n.ok(s.Kn(t)),n.ok(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)}as(e){return this.data.get(e)||null}}},87060:function(e,t,i){"use strict";i.d(t,{Uy:function(){return v},vm:function(){return C},fk:function(){return a}});var n,s,o,r,l,a,d=i(4669),h=i(5976),u=i(98401),c=i(15393),g=i(23897);(n=r||(r={}))[n.STORAGE_DOES_NOT_EXIST=0]="STORAGE_DOES_NOT_EXIST",n[n.STORAGE_IN_MEMORY=1]="STORAGE_IN_MEMORY",(s=l||(l={}))[s.None=0]="None",s[s.Initialized=1]="Initialized",s[s.Closed=2]="Closed";class p extends h.JT{constructor(e,t=Object.create(null)){super(),this.database=e,this.options=t,this._onDidChangeStorage=this._register(new d.K3),this.onDidChangeStorage=this._onDidChangeStorage.event,this.state=l.None,this.cache=new Map,this.flushDelayer=this._register(new c.rH(p.DEFAULT_FLUSH_DELAY)),this.pendingDeletes=new Set,this.pendingInserts=new Map,this.whenFlushedCallbacks=[],this.registerListeners()}registerListeners(){this._register(this.database.onDidChangeItemsExternal(e=>this.onDidChangeItemsExternal(e)))}onDidChangeItemsExternal(e){var t,i;this._onDidChangeStorage.pause();try{null===(t=e.changed)||void 0===t||t.forEach((e,t)=>this.acceptExternal(t,e)),null===(i=e.deleted)||void 0===i||i.forEach(e=>this.acceptExternal(e,void 0))}finally{this._onDidChangeStorage.resume()}}acceptExternal(e,t){if(this.state===l.Closed)return;let i=!1;if((0,u.Jp)(t))i=this.cache.delete(e);else{let n=this.cache.get(e);n!==t&&(this.cache.set(e,t),i=!0)}i&&this._onDidChangeStorage.fire({key:e,external:!0})}get(e,t){let i=this.cache.get(e);return(0,u.Jp)(i)?t:i}getBoolean(e,t){let i=this.get(e);return(0,u.Jp)(i)?t:"true"===i}getNumber(e,t){let i=this.get(e);return(0,u.Jp)(i)?t:parseInt(i,10)}async set(e,t,i=!1){if(this.state===l.Closed)return;if((0,u.Jp)(t))return this.delete(e,i);let n=(0,u.Kn)(t)||Array.isArray(t)?(0,g.Pz)(t):String(t),s=this.cache.get(e);if(s!==n)return this.cache.set(e,n),this.pendingInserts.set(e,n),this.pendingDeletes.delete(e),this._onDidChangeStorage.fire({key:e,external:i}),this.doFlush()}async delete(e,t=!1){if(this.state===l.Closed)return;let i=this.cache.delete(e);if(i)return this.pendingDeletes.has(e)||this.pendingDeletes.add(e),this.pendingInserts.delete(e),this._onDidChangeStorage.fire({key:e,external:t}),this.doFlush()}get hasPending(){return this.pendingInserts.size>0||this.pendingDeletes.size>0}async flushPending(){if(!this.hasPending)return;let e={insert:this.pendingInserts,delete:this.pendingDeletes};return this.pendingDeletes=new Set,this.pendingInserts=new Map,this.database.updateItems(e).finally(()=>{var e;if(!this.hasPending)for(;this.whenFlushedCallbacks.length;)null===(e=this.whenFlushedCallbacks.pop())||void 0===e||e()})}async doFlush(e){return this.options.hint===r.STORAGE_IN_MEMORY?this.flushPending():this.flushDelayer.trigger(()=>this.flushPending(),e)}}p.DEFAULT_FLUSH_DELAY=100;class m{constructor(){this.onDidChangeItemsExternal=d.ju.None,this.items=new Map}async updateItems(e){var t,i;null===(t=e.insert)||void 0===t||t.forEach((e,t)=>this.items.set(t,e)),null===(i=e.delete)||void 0===i||i.forEach(e=>this.items.delete(e))}}var f=i(72065);let _="__$__targetStorageMarker",v=(0,f.yh)("storageService");(o=a||(a={}))[o.NONE=0]="NONE",o[o.SHUTDOWN=1]="SHUTDOWN";class b extends h.JT{constructor(e={flushInterval:b.DEFAULT_FLUSH_INTERVAL}){super(),this.options=e,this._onDidChangeValue=this._register(new d.K3),this._onDidChangeTarget=this._register(new d.K3),this._onWillSaveState=this._register(new d.Q5),this.onWillSaveState=this._onWillSaveState.event,this._workspaceKeyTargets=void 0,this._profileKeyTargets=void 0,this._applicationKeyTargets=void 0}onDidChangeValue(e,t,i){return d.ju.filter(this._onDidChangeValue.event,i=>i.scope===e&&(void 0===t||i.key===t),i)}emitDidChangeValue(e,t){let{key:i,external:n}=t;if(i===_){switch(e){case -1:this._applicationKeyTargets=void 0;break;case 0:this._profileKeyTargets=void 0;break;case 1:this._workspaceKeyTargets=void 0}this._onDidChangeTarget.fire({scope:e})}else this._onDidChangeValue.fire({scope:e,key:i,target:this.getKeyTargets(e)[i],external:n})}get(e,t,i){var n;return null===(n=this.getStorage(t))||void 0===n?void 0:n.get(e,i)}getBoolean(e,t,i){var n;return null===(n=this.getStorage(t))||void 0===n?void 0:n.getBoolean(e,i)}getNumber(e,t,i){var n;return null===(n=this.getStorage(t))||void 0===n?void 0:n.getNumber(e,i)}store(e,t,i,n,s=!1){if((0,u.Jp)(t)){this.remove(e,i,s);return}this.withPausedEmitters(()=>{var o;this.updateKeyTarget(e,i,n),null===(o=this.getStorage(i))||void 0===o||o.set(e,t,s)})}remove(e,t,i=!1){this.withPausedEmitters(()=>{var n;this.updateKeyTarget(e,t,void 0),null===(n=this.getStorage(t))||void 0===n||n.delete(e,i)})}withPausedEmitters(e){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{e()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}updateKeyTarget(e,t,i,n=!1){var s,o;let r=this.getKeyTargets(t);"number"==typeof i?r[e]!==i&&(r[e]=i,null===(s=this.getStorage(t))||void 0===s||s.set(_,JSON.stringify(r),n)):"number"==typeof r[e]&&(delete r[e],null===(o=this.getStorage(t))||void 0===o||o.set(_,JSON.stringify(r),n))}get workspaceKeyTargets(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}get profileKeyTargets(){return this._profileKeyTargets||(this._profileKeyTargets=this.loadKeyTargets(0)),this._profileKeyTargets}get applicationKeyTargets(){return this._applicationKeyTargets||(this._applicationKeyTargets=this.loadKeyTargets(-1)),this._applicationKeyTargets}getKeyTargets(e){switch(e){case -1:return this.applicationKeyTargets;case 0:return this.profileKeyTargets;default:return this.workspaceKeyTargets}}loadKeyTargets(e){let t=this.getStorage(e);return t?function(e){let t=e.get(_);if(t)try{return JSON.parse(t)}catch(e){}return Object.create(null)}(t):Object.create(null)}}b.DEFAULT_FLUSH_INTERVAL=6e4;class C extends b{constructor(){super(),this.applicationStorage=this._register(new p(new m,{hint:r.STORAGE_IN_MEMORY})),this.profileStorage=this._register(new p(new m,{hint:r.STORAGE_IN_MEMORY})),this.workspaceStorage=this._register(new p(new m,{hint:r.STORAGE_IN_MEMORY})),this._register(this.workspaceStorage.onDidChangeStorage(e=>this.emitDidChangeValue(1,e))),this._register(this.profileStorage.onDidChangeStorage(e=>this.emitDidChangeValue(0,e))),this._register(this.applicationStorage.onDidChangeStorage(e=>this.emitDidChangeValue(-1,e)))}getStorage(e){switch(e){case -1:return this.applicationStorage;case 0:return this.profileStorage;default:return this.workspaceStorage}}}},10829:function(e,t,i){"use strict";i.d(t,{b:function(){return s}});var n=i(72065);let s=(0,n.yh)("telemetryService")},86253:function(e,t,i){"use strict";i.d(t,{BM:function(){return p},Hc:function(){return d},O2:function(){return c},TU:function(){return g},ZR:function(){return m},b5:function(){return l},eO:function(){return o},ku:function(){return u},pl:function(){return a},uX:function(){return h},wG:function(){return r}});var n=i(75974),s=i(41264);let o={keybindingLabelBackground:(0,n.n_1)(n.oQ$),keybindingLabelForeground:(0,n.n_1)(n.lWp),keybindingLabelBorder:(0,n.n_1)(n.AWI),keybindingLabelBottomBorder:(0,n.n_1)(n.K19),keybindingLabelShadow:(0,n.n_1)(n.rh)},r={buttonForeground:(0,n.n_1)(n.j5u),buttonSeparator:(0,n.n_1)(n.iFQ),buttonBackground:(0,n.n_1)(n.b7$),buttonHoverBackground:(0,n.n_1)(n.GO4),buttonSecondaryForeground:(0,n.n_1)(n.qBU),buttonSecondaryBackground:(0,n.n_1)(n.ESD),buttonSecondaryHoverBackground:(0,n.n_1)(n.xEn),buttonBorder:(0,n.n_1)(n.GYc)},l={progressBarBackground:(0,n.n_1)(n.zRJ)},a={inputActiveOptionBorder:(0,n.n_1)(n.PRb),inputActiveOptionForeground:(0,n.n_1)(n.Pvw),inputActiveOptionBackground:(0,n.n_1)(n.XEs)};(0,n.n_1)(n.SUp),(0,n.n_1)(n.nd),(0,n.n_1)(n.BQ0),(0,n.n_1)(n.D0T),(0,n.n_1)(n.Hfx),(0,n.n_1)(n.rh),(0,n.n_1)(n.lRK),(0,n.n_1)(n.JpG),(0,n.n_1)(n.BOY),(0,n.n_1)(n.OLZ),(0,n.n_1)(n.url);let d={inputBackground:(0,n.n_1)(n.sEe),inputForeground:(0,n.n_1)(n.zJb),inputBorder:(0,n.n_1)(n.dt_),inputValidationInfoBorder:(0,n.n_1)(n.EPQ),inputValidationInfoBackground:(0,n.n_1)(n._lC),inputValidationInfoForeground:(0,n.n_1)(n.YI3),inputValidationWarningBorder:(0,n.n_1)(n.C3g),inputValidationWarningBackground:(0,n.n_1)(n.RV_),inputValidationWarningForeground:(0,n.n_1)(n.SUG),inputValidationErrorBorder:(0,n.n_1)(n.OZR),inputValidationErrorBackground:(0,n.n_1)(n.paE),inputValidationErrorForeground:(0,n.n_1)(n._t9)},h={listFilterWidgetBackground:(0,n.n_1)(n.vGG),listFilterWidgetOutline:(0,n.n_1)(n.oSI),listFilterWidgetNoMatchesOutline:(0,n.n_1)(n.Saq),listFilterWidgetShadow:(0,n.n_1)(n.y65),inputBoxStyles:d,toggleStyles:a},u={badgeBackground:(0,n.n_1)(n.g8u),badgeForeground:(0,n.n_1)(n.qeD),badgeBorder:(0,n.n_1)(n.lRK)};(0,n.n_1)(n.ixd),(0,n.n_1)(n.l80),(0,n.n_1)(n.H6q),(0,n.n_1)(n.H6q),(0,n.n_1)(n.fSI);let c={listBackground:void 0,listInactiveFocusForeground:void 0,listFocusBackground:(0,n.n_1)(n._bK),listFocusForeground:(0,n.n_1)(n._2n),listFocusOutline:(0,n.n_1)(n.Oop),listActiveSelectionBackground:(0,n.n_1)(n.dCr),listActiveSelectionForeground:(0,n.n_1)(n.M6C),listActiveSelectionIconForeground:(0,n.n_1)(n.Tnx),listFocusAndSelectionOutline:(0,n.n_1)(n.Bqu),listFocusAndSelectionBackground:(0,n.n_1)(n.dCr),listFocusAndSelectionForeground:(0,n.n_1)(n.M6C),listInactiveSelectionBackground:(0,n.n_1)(n.rg2),listInactiveSelectionIconForeground:(0,n.n_1)(n.kvU),listInactiveSelectionForeground:(0,n.n_1)(n.ytC),listInactiveFocusBackground:(0,n.n_1)(n.s$),listInactiveFocusOutline:(0,n.n_1)(n.F3d),listHoverBackground:(0,n.n_1)(n.mV1),listHoverForeground:(0,n.n_1)(n.$d5),listDropOverBackground:(0,n.n_1)(n.pdn),listDropBetweenBackground:(0,n.n_1)(n.XVp),listSelectionOutline:(0,n.n_1)(n.xL1),listHoverOutline:(0,n.n_1)(n.xL1),treeIndentGuidesStroke:(0,n.n_1)(n.UnT),treeInactiveIndentGuidesStroke:(0,n.n_1)(n.KjV),treeStickyScrollBackground:void 0,treeStickyScrollBorder:void 0,treeStickyScrollShadow:void 0,tableColumnsBorder:(0,n.n_1)(n.uxu),tableOddRowsBackgroundColor:(0,n.n_1)(n.EQn)};function g(e){return function(e,t){let i={...t};for(let t in e){let s=e[t];i[t]=void 0!==s?(0,n.n_1)(s):void 0}return i}(e,c)}let p={selectBackground:(0,n.n_1)(n.XV0),selectListBackground:(0,n.n_1)(n.Fgs),selectForeground:(0,n.n_1)(n._g0),decoratorRightForeground:(0,n.n_1)(n.kJk),selectBorder:(0,n.n_1)(n.a9O),focusBorder:(0,n.n_1)(n.R80),listFocusBackground:(0,n.n_1)(n.Vqd),listInactiveSelectionIconForeground:(0,n.n_1)(n.cbQ),listFocusForeground:(0,n.n_1)(n.NPS),listFocusOutline:(0,n.BtC)(n.xL1,s.Il.transparent.toString()),listHoverBackground:(0,n.n_1)(n.mV1),listHoverForeground:(0,n.n_1)(n.$d5),listHoverOutline:(0,n.n_1)(n.xL1),selectListBorder:(0,n.n_1)(n.D1_),listBackground:void 0,listActiveSelectionBackground:void 0,listActiveSelectionForeground:void 0,listActiveSelectionIconForeground:void 0,listFocusAndSelectionBackground:void 0,listDropOverBackground:void 0,listDropBetweenBackground:void 0,listInactiveSelectionBackground:void 0,listInactiveSelectionForeground:void 0,listInactiveFocusBackground:void 0,listInactiveFocusOutline:void 0,listSelectionOutline:void 0,listFocusAndSelectionForeground:void 0,listFocusAndSelectionOutline:void 0,listInactiveFocusForeground:void 0,tableColumnsBorder:void 0,tableOddRowsBackgroundColor:void 0,treeIndentGuidesStroke:void 0,treeInactiveIndentGuidesStroke:void 0,treeStickyScrollBackground:void 0,treeStickyScrollBorder:void 0,treeStickyScrollShadow:void 0},m={shadowColor:(0,n.n_1)(n.rh),borderColor:(0,n.n_1)(n.Cdg),foregroundColor:(0,n.n_1)(n.DEr),backgroundColor:(0,n.n_1)(n.Hz8),selectionForegroundColor:(0,n.n_1)(n.jbW),selectionBackgroundColor:(0,n.n_1)(n.$DX),selectionBorderColor:(0,n.n_1)(n.E3h),separatorColor:(0,n.n_1)(n.ZGJ),scrollbarShadow:(0,n.n_1)(n._wn),scrollbarSliderBackground:(0,n.n_1)(n.etL),scrollbarSliderHoverBackground:(0,n.n_1)(n.ABB),scrollbarSliderActiveBackground:(0,n.n_1)(n.ynu)}},75974:function(e,t,i){"use strict";i.d(t,{IPX:function(){return c},xL1:function(){return N},n_1:function(){return h},QO2:function(){return d},BtC:function(){return u},g8u:function(){return I},qeD:function(){return T},fSI:function(){return ex},ixd:function(){return ek},H6q:function(){return eD},l80:function(){return eL},b7$:function(){return to},GYc:function(){return tl},j5u:function(){return tn},GO4:function(){return tr},ESD:function(){return td},qBU:function(){return ta},xEn:function(){return th},iFQ:function(){return ts},SUp:function(){return tu},nd:function(){return tg},BQ0:function(){return tc},lRK:function(){return x},CzK:function(){return em},keg:function(){return ef},ypS:function(){return e_},P6Y:function(){return eb},F9q:function(){return eC},P4M:function(){return ev},_Yy:function(){return Z},cvW:function(){return F},b6y:function(){return K},lXJ:function(){return z},zKA:function(){return et},MUv:function(){return ei},EiJ:function(){return es},OIo:function(){return en},gkn:function(){return eo},NOs:function(){return B},Dut:function(){return Q},yJx:function(){return er},CNo:function(){return el},ES4:function(){return X},T83:function(){return G},c63:function(){return j},PpC:function(){return ed},VVv:function(){return ea},phM:function(){return eg},HCL:function(){return ec},bKB:function(){return eu},hX8:function(){return eh},hEj:function(){return Y},yb5:function(){return J},Rzx:function(){return ee},gpD:function(){return U},pW3:function(){return q},uoC:function(){return $},D0T:function(){return W},D1_:function(){return V},Hfx:function(){return H},R80:function(){return D},dRz:function(){return L},XZx:function(){return k},XEs:function(){return eJ},PRb:function(){return eY},Pvw:function(){return eX},sEe:function(){return eG},dt_:function(){return eZ},zJb:function(){return eQ},paE:function(){return e6},OZR:function(){return e7},_t9:function(){return e9},_lC:function(){return e0},EPQ:function(){return e2},YI3:function(){return e1},RV_:function(){return e5},C3g:function(){return e3},SUG:function(){return e4},oQ$:function(){return tp},AWI:function(){return tf},K19:function(){return t_},lWp:function(){return tm},dCr:function(){return ty},M6C:function(){return tS},Tnx:function(){return tL},XVp:function(){return tR},pdn:function(){return tM},vGG:function(){return tO},Saq:function(){return tB},oSI:function(){return tF},y65:function(){return tW},Bqu:function(){return tw},_bK:function(){return tv},_2n:function(){return tb},PX0:function(){return tP},Oop:function(){return tC},Gwp:function(){return tA},mV1:function(){return tI},$d5:function(){return tT},s$:function(){return tN},F3d:function(){return tE},rg2:function(){return tk},ytC:function(){return tD},kvU:function(){return tx},Hz8:function(){return tq},Cdg:function(){return tU},DEr:function(){return t$},$DX:function(){return tG},E3h:function(){return tQ},jbW:function(){return tj},ZGJ:function(){return tZ},kVY:function(){return eq},Gj_:function(){return e$},SUY:function(){return eH},Itd:function(){return ej},Gvr:function(){return eK},ov3:function(){return ez},IYc:function(){return eV},Ivo:function(){return eU},kwl:function(){return v},Fm_:function(){return eP},SPM:function(){return eO},opG:function(){return t1},kJk:function(){return t0},JpG:function(){return eF},OLZ:function(){return eW},BOY:function(){return eB},zRJ:function(){return O},zKr:function(){return tY},tZ6:function(){return tJ},Vqd:function(){return t3},NPS:function(){return t5},cbQ:function(){return t4},loF:function(){return tX},P6G:function(){return p},_wn:function(){return M},ynu:function(){return P},etL:function(){return R},ABB:function(){return A},XV0:function(){return e8},a9O:function(){return ti},_g0:function(){return tt},Fgs:function(){return te},uxu:function(){return tz},EQn:function(){return tK},url:function(){return E},ZnX:function(){return _},KjV:function(){return tV},UnT:function(){return tH},A42:function(){return ey},rh:function(){return ew}});var n=i(35146),s=i(15393),o=i(41264),r=i(4669),l=i(81294),a=i(89872);function d(e){return`--vscode-${e.replace(/\./g,"-")}`}function h(e){return`var(${d(e)})`}function u(e,t){return`var(${d(e)}, ${t})`}let c={ColorContribution:"base.contributions.colors"},g=new class{constructor(){this._onDidChangeSchema=new r.Q5,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(e,t,i,n=!1,s){this.colorsById[e]={id:e,description:i,defaults:t,needsTransparency:n,deprecationMessage:s};let o={type:"string",description:i,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return s&&(o.deprecationMessage=s),n&&(o.pattern="^#(?:(?[0-9a-fA-f]{3}[0-9a-eA-E])|(?:[0-9a-fA-F]{6}(?:(?![fF]{2})(?:[0-9a-fA-F]{2}))))?$",o.patternErrorMessage="This color must be transparent or it will obscure content"),this.colorSchema.properties[e]=o,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(i),this._onDidChangeSchema.fire(),e}getColors(){return Object.keys(this.colorsById).map(e=>this.colorsById[e])}resolveDefaultColor(e,t){let i=this.colorsById[e];if(i&&i.defaults){let e=i.defaults[t.type];return function e(t,i){if(null===t);else if("string"==typeof t)return"#"===t[0]?o.Il.fromHex(t):i.getColor(t);else if(t instanceof o.Il)return t;else if("object"==typeof t)return function(t,i){var s,r,l,a;switch(t.op){case 0:return null===(s=e(t.value,i))||void 0===s?void 0:s.darken(t.factor);case 1:return null===(r=e(t.value,i))||void 0===r?void 0:r.lighten(t.factor);case 2:return null===(l=e(t.value,i))||void 0===l?void 0:l.transparent(t.factor);case 3:{let n=e(t.background,i);if(!n)return e(t.value,i);return null===(a=e(t.value,i))||void 0===a?void 0:a.makeOpaque(n)}case 4:for(let n of t.values){let t=e(n,i);if(t)return t}return;case 6:return e(i.defines(t.if)?t.then:t.else,i);case 5:{let n=e(t.value,i);if(!n)return;let s=e(t.background,i);if(!s)return n.transparent(t.factor*t.transparency);return n.isDarkerThan(s)?o.Il.getLighterColor(n,s,t.factor).transparent(t.transparency):o.Il.getDarkerColor(n,s,t.factor).transparent(t.transparency)}default:throw(0,n.vE)(t)}}(t,i)}(e,t)}}getColorSchema(){return this.colorSchema}toString(){return Object.keys(this.colorsById).sort((e,t)=>{let i=-1===e.indexOf(".")?0:1,n=-1===t.indexOf(".")?0:1;return i!==n?i-n:e.localeCompare(t)}).map(e=>`- \`${e}\`: ${this.colorsById[e].description}`).join("\n")}};function p(e,t,i,n,s){return g.registerColor(e,t,i,n,s)}function m(e,t){return{op:0,value:e,factor:t}}function f(e,t){return{op:1,value:e,factor:t}}function _(e,t){return{op:2,value:e,factor:t}}function v(...e){return{op:4,values:e}}function b(e,t,i,n){return{op:5,value:e,background:t,factor:i,transparency:n}}a.B.add(c.ColorContribution,g);let C="vscode://schemas/workbench-colors",w=a.B.as(l.I.JSONContribution);w.registerSchema(C,g.getColorSchema());let y=new s.pY(()=>w.notifySchemaChanged(C),200);g.onDidChangeSchema(()=>{y.isScheduled()||y.schedule()});var S=i(63580);let L=p("foreground",{dark:"#CCCCCC",light:"#616161",hcDark:"#FFFFFF",hcLight:"#292929"},S.NC("foreground","Overall foreground color. This color is only used if not overridden by a component."));p("disabledForeground",{dark:"#CCCCCC80",light:"#61616180",hcDark:"#A5A5A5",hcLight:"#7F7F7F"},S.NC("disabledForeground","Overall foreground for disabled elements. This color is only used if not overridden by a component.")),p("errorForeground",{dark:"#F48771",light:"#A1260D",hcDark:"#F48771",hcLight:"#B5200D"},S.NC("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),p("descriptionForeground",{light:"#717171",dark:_(L,.7),hcDark:_(L,.7),hcLight:_(L,.7)},S.NC("descriptionForeground","Foreground color for description text providing additional information, for example for a label."));let k=p("icon.foreground",{dark:"#C5C5C5",light:"#424242",hcDark:"#FFFFFF",hcLight:"#292929"},S.NC("iconForeground","The default color for icons in the workbench.")),D=p("focusBorder",{dark:"#007FD4",light:"#0090F1",hcDark:"#F38518",hcLight:"#006BBD"},S.NC("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),x=p("contrastBorder",{light:null,dark:null,hcDark:"#6FC3DF",hcLight:"#0F4A85"},S.NC("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),N=p("contrastActiveBorder",{light:null,dark:null,hcDark:D,hcLight:D},S.NC("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast."));p("selection.background",{light:null,dark:null,hcDark:null,hcLight:null},S.NC("selectionBackground","The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor."));let E=p("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hcDark:"#21A6FF",hcLight:"#0F4A85"},S.NC("textLinkForeground","Foreground color for links in text."));p("textLink.activeForeground",{light:"#006AB1",dark:"#3794FF",hcDark:"#21A6FF",hcLight:"#0F4A85"},S.NC("textLinkActiveForeground","Foreground color for links in text when clicked on and on mouse hover.")),p("textSeparator.foreground",{light:"#0000002e",dark:"#ffffff2e",hcDark:o.Il.black,hcLight:"#292929"},S.NC("textSeparatorForeground","Color for text separators.")),p("textPreformat.foreground",{light:"#A31515",dark:"#D7BA7D",hcDark:"#000000",hcLight:"#FFFFFF"},S.NC("textPreformatForeground","Foreground color for preformatted text segments.")),p("textPreformat.background",{light:"#0000001A",dark:"#FFFFFF1A",hcDark:"#FFFFFF",hcLight:"#09345f"},S.NC("textPreformatBackground","Background color for preformatted text segments.")),p("textBlockQuote.background",{light:"#f2f2f2",dark:"#222222",hcDark:null,hcLight:"#F2F2F2"},S.NC("textBlockQuoteBackground","Background color for block quotes in text.")),p("textBlockQuote.border",{light:"#007acc80",dark:"#007acc80",hcDark:o.Il.white,hcLight:"#292929"},S.NC("textBlockQuoteBorder","Border color for block quotes in text.")),p("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hcDark:o.Il.black,hcLight:"#F2F2F2"},S.NC("textCodeBlockBackground","Background color for code blocks in text.")),p("sash.hoverBorder",{dark:D,light:D,hcDark:D,hcLight:D},S.NC("sashActiveBorder","Border color of active sashes."));let I=p("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hcDark:o.Il.black,hcLight:"#0F4A85"},S.NC("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),T=p("badge.foreground",{dark:o.Il.white,light:"#333",hcDark:o.Il.white,hcLight:o.Il.white},S.NC("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),M=p("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hcDark:null,hcLight:null},S.NC("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),R=p("scrollbarSlider.background",{dark:o.Il.fromHex("#797979").transparent(.4),light:o.Il.fromHex("#646464").transparent(.4),hcDark:_(x,.6),hcLight:_(x,.4)},S.NC("scrollbarSliderBackground","Scrollbar slider background color.")),A=p("scrollbarSlider.hoverBackground",{dark:o.Il.fromHex("#646464").transparent(.7),light:o.Il.fromHex("#646464").transparent(.7),hcDark:_(x,.8),hcLight:_(x,.8)},S.NC("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),P=p("scrollbarSlider.activeBackground",{dark:o.Il.fromHex("#BFBFBF").transparent(.4),light:o.Il.fromHex("#000000").transparent(.6),hcDark:x,hcLight:x},S.NC("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),O=p("progressBar.background",{dark:o.Il.fromHex("#0E70C0"),light:o.Il.fromHex("#0E70C0"),hcDark:x,hcLight:x},S.NC("progressBarBackground","Background color of the progress bar that can show for long running operations.")),F=p("editor.background",{light:"#ffffff",dark:"#1E1E1E",hcDark:o.Il.black,hcLight:o.Il.white},S.NC("editorBackground","Editor background color.")),B=p("editor.foreground",{light:"#333333",dark:"#BBBBBB",hcDark:o.Il.white,hcLight:L},S.NC("editorForeground","Editor default foreground color."));p("editorStickyScroll.background",{light:F,dark:F,hcDark:F,hcLight:F},S.NC("editorStickyScrollBackground","Background color of sticky scroll in the editor")),p("editorStickyScrollHover.background",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:null,hcLight:o.Il.fromHex("#0F4A85").transparent(.1)},S.NC("editorStickyScrollHoverBackground","Background color of sticky scroll on hover in the editor")),p("editorStickyScroll.border",{dark:null,light:null,hcDark:x,hcLight:x},S.NC("editorStickyScrollBorder","Border color of sticky scroll in the editor")),p("editorStickyScroll.shadow",{dark:M,light:M,hcDark:M,hcLight:M},S.NC("editorStickyScrollShadow"," Shadow color of sticky scroll in the editor"));let W=p("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hcDark:"#0C141F",hcLight:o.Il.white},S.NC("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),H=p("editorWidget.foreground",{dark:L,light:L,hcDark:L,hcLight:L},S.NC("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),V=p("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hcDark:x,hcLight:x},S.NC("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget."));p("editorWidget.resizeBorder",{light:null,dark:null,hcDark:null,hcLight:null},S.NC("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),p("editorError.background",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("editorError.background","Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0);let z=p("editorError.foreground",{dark:"#F14C4C",light:"#E51400",hcDark:"#F48771",hcLight:"#B5200D"},S.NC("editorError.foreground","Foreground color of error squigglies in the editor.")),K=p("editorError.border",{dark:null,light:null,hcDark:o.Il.fromHex("#E47777").transparent(.8),hcLight:"#B5200D"},S.NC("errorBorder","If set, color of double underlines for errors in the editor.")),U=p("editorWarning.background",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("editorWarning.background","Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),$=p("editorWarning.foreground",{dark:"#CCA700",light:"#BF8803",hcDark:"#FFD370",hcLight:"#895503"},S.NC("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),q=p("editorWarning.border",{dark:null,light:null,hcDark:o.Il.fromHex("#FFCC00").transparent(.8),hcLight:o.Il.fromHex("#FFCC00").transparent(.8)},S.NC("warningBorder","If set, color of double underlines for warnings in the editor."));p("editorInfo.background",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("editorInfo.background","Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0);let j=p("editorInfo.foreground",{dark:"#3794FF",light:"#1a85ff",hcDark:"#3794FF",hcLight:"#1a85ff"},S.NC("editorInfo.foreground","Foreground color of info squigglies in the editor.")),G=p("editorInfo.border",{dark:null,light:null,hcDark:o.Il.fromHex("#3794FF").transparent(.8),hcLight:"#292929"},S.NC("infoBorder","If set, color of double underlines for infos in the editor.")),Q=p("editorHint.foreground",{dark:o.Il.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hcDark:null,hcLight:null},S.NC("editorHint.foreground","Foreground color of hint squigglies in the editor."));p("editorHint.border",{dark:null,light:null,hcDark:o.Il.fromHex("#eeeeee").transparent(.8),hcLight:"#292929"},S.NC("hintBorder","If set, color of double underlines for hints in the editor."));let Z=p("editorLink.activeForeground",{dark:"#4E94CE",light:o.Il.blue,hcDark:o.Il.cyan,hcLight:"#292929"},S.NC("activeLinkForeground","Color of active links.")),Y=p("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hcDark:"#f3f518",hcLight:"#0F4A85"},S.NC("editorSelectionBackground","Color of the editor selection.")),J=p("editor.selectionForeground",{light:null,dark:null,hcDark:"#000000",hcLight:o.Il.white},S.NC("editorSelectionForeground","Color of the selected text for high contrast.")),X=p("editor.inactiveSelectionBackground",{light:_(Y,.5),dark:_(Y,.5),hcDark:_(Y,.7),hcLight:_(Y,.5)},S.NC("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),ee=p("editor.selectionHighlightBackground",{light:b(Y,F,.3,.6),dark:b(Y,F,.3,.6),hcDark:null,hcLight:null},S.NC("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0);p("editor.selectionHighlightBorder",{light:null,dark:null,hcDark:N,hcLight:N},S.NC("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),p("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hcDark:null,hcLight:null},S.NC("editorFindMatch","Color of the current search match."));let et=p("editor.findMatchForeground",{light:null,dark:null,hcDark:null,hcLight:null},S.NC("editorFindMatchForeground","Text color of the current search match.")),ei=p("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hcDark:null,hcLight:null},S.NC("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),en=p("editor.findMatchHighlightForeground",{light:null,dark:null,hcDark:null,hcLight:null},S.NC("findMatchHighlightForeground","Foreground color of the other search matches."),!0);p("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hcDark:null,hcLight:null},S.NC("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),p("editor.findMatchBorder",{light:null,dark:null,hcDark:N,hcLight:N},S.NC("editorFindMatchBorder","Border color of the current search match."));let es=p("editor.findMatchHighlightBorder",{light:null,dark:null,hcDark:N,hcLight:N},S.NC("findMatchHighlightBorder","Border color of the other search matches.")),eo=p("editor.findRangeHighlightBorder",{dark:null,light:null,hcDark:_(N,.4),hcLight:_(N,.4)},S.NC("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0);p("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hcDark:"#ADD6FF26",hcLight:null},S.NC("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0);let er=p("editorHoverWidget.background",{light:W,dark:W,hcDark:W,hcLight:W},S.NC("hoverBackground","Background color of the editor hover."));p("editorHoverWidget.foreground",{light:H,dark:H,hcDark:H,hcLight:H},S.NC("hoverForeground","Foreground color of the editor hover."));let el=p("editorHoverWidget.border",{light:V,dark:V,hcDark:V,hcLight:V},S.NC("hoverBorder","Border color of the editor hover."));p("editorHoverWidget.statusBarBackground",{dark:f(er,.2),light:m(er,.05),hcDark:W,hcLight:W},S.NC("statusBarBackground","Background color of the editor hover status bar."));let ea=p("editorInlayHint.foreground",{dark:"#969696",light:"#969696",hcDark:o.Il.white,hcLight:o.Il.black},S.NC("editorInlayHintForeground","Foreground color of inline hints")),ed=p("editorInlayHint.background",{dark:_(I,.1),light:_(I,.1),hcDark:_(o.Il.white,.1),hcLight:_(I,.1)},S.NC("editorInlayHintBackground","Background color of inline hints")),eh=p("editorInlayHint.typeForeground",{dark:ea,light:ea,hcDark:ea,hcLight:ea},S.NC("editorInlayHintForegroundTypes","Foreground color of inline hints for types")),eu=p("editorInlayHint.typeBackground",{dark:ed,light:ed,hcDark:ed,hcLight:ed},S.NC("editorInlayHintBackgroundTypes","Background color of inline hints for types")),ec=p("editorInlayHint.parameterForeground",{dark:ea,light:ea,hcDark:ea,hcLight:ea},S.NC("editorInlayHintForegroundParameter","Foreground color of inline hints for parameters")),eg=p("editorInlayHint.parameterBackground",{dark:ed,light:ed,hcDark:ed,hcLight:ed},S.NC("editorInlayHintBackgroundParameter","Background color of inline hints for parameters")),ep=p("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hcDark:"#FFCC00",hcLight:"#007ACC"},S.NC("editorLightBulbForeground","The color used for the lightbulb actions icon."));p("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},S.NC("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),p("editorLightBulbAi.foreground",{dark:ep,light:ep,hcDark:ep,hcLight:ep},S.NC("editorLightBulbAiForeground","The color used for the lightbulb AI icon.")),p("editor.snippetTabstopHighlightBackground",{dark:new o.Il(new o.VS(124,124,124,.3)),light:new o.Il(new o.VS(10,50,100,.2)),hcDark:new o.Il(new o.VS(124,124,124,.3)),hcLight:new o.Il(new o.VS(10,50,100,.2))},S.NC("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),p("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),p("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),p("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new o.Il(new o.VS(10,50,100,.5)),hcDark:"#525252",hcLight:"#292929"},S.NC("snippetFinalTabstopHighlightBorder","Highlight border color of the final tabstop of a snippet."));let em=new o.Il(new o.VS(155,185,85,.2)),ef=new o.Il(new o.VS(255,0,0,.2)),e_=p("diffEditor.insertedTextBackground",{dark:"#9ccc2c33",light:"#9ccc2c40",hcDark:null,hcLight:null},S.NC("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),ev=p("diffEditor.removedTextBackground",{dark:"#ff000033",light:"#ff000033",hcDark:null,hcLight:null},S.NC("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0);p("diffEditor.insertedLineBackground",{dark:em,light:em,hcDark:null,hcLight:null},S.NC("diffEditorInsertedLines","Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),p("diffEditor.removedLineBackground",{dark:ef,light:ef,hcDark:null,hcLight:null},S.NC("diffEditorRemovedLines","Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),p("diffEditorGutter.insertedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("diffEditorInsertedLineGutter","Background color for the margin where lines got inserted.")),p("diffEditorGutter.removedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("diffEditorRemovedLineGutter","Background color for the margin where lines got removed."));let eb=p("diffEditorOverview.insertedForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("diffEditorOverviewInserted","Diff overview ruler foreground for inserted content.")),eC=p("diffEditorOverview.removedForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("diffEditorOverviewRemoved","Diff overview ruler foreground for removed content."));p("diffEditor.insertedTextBorder",{dark:null,light:null,hcDark:"#33ff2eff",hcLight:"#374E06"},S.NC("diffEditorInsertedOutline","Outline color for the text that got inserted.")),p("diffEditor.removedTextBorder",{dark:null,light:null,hcDark:"#FF008F",hcLight:"#AD0707"},S.NC("diffEditorRemovedOutline","Outline color for text that got removed.")),p("diffEditor.border",{dark:null,light:null,hcDark:x,hcLight:x},S.NC("diffEditorBorder","Border color between the two text editors.")),p("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hcDark:null,hcLight:null},S.NC("diffDiagonalFill","Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.")),p("diffEditor.unchangedRegionBackground",{dark:"sideBar.background",light:"sideBar.background",hcDark:"sideBar.background",hcLight:"sideBar.background"},S.NC("diffEditor.unchangedRegionBackground","The background color of unchanged blocks in the diff editor.")),p("diffEditor.unchangedRegionForeground",{dark:"foreground",light:"foreground",hcDark:"foreground",hcLight:"foreground"},S.NC("diffEditor.unchangedRegionForeground","The foreground color of unchanged blocks in the diff editor.")),p("diffEditor.unchangedCodeBackground",{dark:"#74747429",light:"#b8b8b829",hcDark:null,hcLight:null},S.NC("diffEditor.unchangedCodeBackground","The background color of unchanged code in the diff editor."));let ew=p("widget.shadow",{dark:_(o.Il.black,.36),light:_(o.Il.black,.16),hcDark:null,hcLight:null},S.NC("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),ey=p("widget.border",{dark:null,light:null,hcDark:x,hcLight:x},S.NC("widgetBorder","Border color of widgets such as find/replace inside the editor.")),eS=p("toolbar.hoverBackground",{dark:"#5a5d5e50",light:"#b8b8b850",hcDark:null,hcLight:null},S.NC("toolbarHoverBackground","Toolbar background when hovering over actions using the mouse"));p("toolbar.hoverOutline",{dark:null,light:null,hcDark:N,hcLight:N},S.NC("toolbarHoverOutline","Toolbar outline when hovering over actions using the mouse")),p("toolbar.activeBackground",{dark:f(eS,.1),light:m(eS,.1),hcDark:null,hcLight:null},S.NC("toolbarActiveBackground","Toolbar background when holding the mouse over actions"));let eL=p("breadcrumb.foreground",{light:_(L,.8),dark:_(L,.8),hcDark:_(L,.8),hcLight:_(L,.8)},S.NC("breadcrumbsFocusForeground","Color of focused breadcrumb items.")),ek=p("breadcrumb.background",{light:F,dark:F,hcDark:F,hcLight:F},S.NC("breadcrumbsBackground","Background color of breadcrumb items.")),eD=p("breadcrumb.focusForeground",{light:m(L,.2),dark:f(L,.1),hcDark:f(L,.1),hcLight:f(L,.1)},S.NC("breadcrumbsFocusForeground","Color of focused breadcrumb items.")),ex=p("breadcrumb.activeSelectionForeground",{light:m(L,.2),dark:f(L,.1),hcDark:f(L,.1),hcLight:f(L,.1)},S.NC("breadcrumbsSelectedForeground","Color of selected breadcrumb items."));p("breadcrumbPicker.background",{light:W,dark:W,hcDark:W,hcLight:W},S.NC("breadcrumbsSelectedBackground","Background color of breadcrumb item picker."));let eN=o.Il.fromHex("#40C8AE").transparent(.5),eE=o.Il.fromHex("#40A6FF").transparent(.5),eI=o.Il.fromHex("#606060").transparent(.4),eT=p("merge.currentHeaderBackground",{dark:eN,light:eN,hcDark:null,hcLight:null},S.NC("mergeCurrentHeaderBackground","Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);p("merge.currentContentBackground",{dark:_(eT,.4),light:_(eT,.4),hcDark:_(eT,.4),hcLight:_(eT,.4)},S.NC("mergeCurrentContentBackground","Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);let eM=p("merge.incomingHeaderBackground",{dark:eE,light:eE,hcDark:null,hcLight:null},S.NC("mergeIncomingHeaderBackground","Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);p("merge.incomingContentBackground",{dark:_(eM,.4),light:_(eM,.4),hcDark:_(eM,.4),hcLight:_(eM,.4)},S.NC("mergeIncomingContentBackground","Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);let eR=p("merge.commonHeaderBackground",{dark:eI,light:eI,hcDark:null,hcLight:null},S.NC("mergeCommonHeaderBackground","Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);p("merge.commonContentBackground",{dark:_(eR,.4),light:_(eR,.4),hcDark:_(eR,.4),hcLight:_(eR,.4)},S.NC("mergeCommonContentBackground","Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);let eA=p("merge.border",{dark:null,light:null,hcDark:"#C3DF6F",hcLight:"#007ACC"},S.NC("mergeBorder","Border color on headers and the splitter in inline merge-conflicts."));p("editorOverviewRuler.currentContentForeground",{dark:_(eT,1),light:_(eT,1),hcDark:eA,hcLight:eA},S.NC("overviewRulerCurrentContentForeground","Current overview ruler foreground for inline merge-conflicts.")),p("editorOverviewRuler.incomingContentForeground",{dark:_(eM,1),light:_(eM,1),hcDark:eA,hcLight:eA},S.NC("overviewRulerIncomingContentForeground","Incoming overview ruler foreground for inline merge-conflicts.")),p("editorOverviewRuler.commonContentForeground",{dark:_(eR,1),light:_(eR,1),hcDark:eA,hcLight:eA},S.NC("overviewRulerCommonContentForeground","Common ancestor overview ruler foreground for inline merge-conflicts."));let eP=p("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hcDark:"#AB5A00",hcLight:""},S.NC("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),eO=p("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hcDark:"#A0A0A0CC",hcLight:"#A0A0A0CC"},S.NC("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),eF=p("problemsErrorIcon.foreground",{dark:z,light:z,hcDark:z,hcLight:z},S.NC("problemsErrorIconForeground","The color used for the problems error icon.")),eB=p("problemsWarningIcon.foreground",{dark:$,light:$,hcDark:$,hcLight:$},S.NC("problemsWarningIconForeground","The color used for the problems warning icon.")),eW=p("problemsInfoIcon.foreground",{dark:j,light:j,hcDark:j,hcLight:j},S.NC("problemsInfoIconForeground","The color used for the problems info icon.")),eH=p("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hcDark:"#AB5A00",hcLight:"#0F4A85"},S.NC("minimapFindMatchHighlight","Minimap marker color for find matches."),!0),eV=p("minimap.selectionOccurrenceHighlight",{light:"#c9c9c9",dark:"#676767",hcDark:"#ffffff",hcLight:"#0F4A85"},S.NC("minimapSelectionOccurrenceHighlight","Minimap marker color for repeating editor selections."),!0),ez=p("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hcDark:"#ffffff",hcLight:"#0F4A85"},S.NC("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),eK=p("minimap.infoHighlight",{dark:j,light:j,hcDark:G,hcLight:G},S.NC("minimapInfo","Minimap marker color for infos.")),eU=p("minimap.warningHighlight",{dark:$,light:$,hcDark:q,hcLight:q},S.NC("overviewRuleWarning","Minimap marker color for warnings.")),e$=p("minimap.errorHighlight",{dark:new o.Il(new o.VS(255,18,18,.7)),light:new o.Il(new o.VS(255,18,18,.7)),hcDark:new o.Il(new o.VS(255,50,50,1)),hcLight:"#B5200D"},S.NC("minimapError","Minimap marker color for errors.")),eq=p("minimap.background",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("minimapBackground","Minimap background color.")),ej=p("minimap.foregroundOpacity",{dark:o.Il.fromHex("#000f"),light:o.Il.fromHex("#000f"),hcDark:o.Il.fromHex("#000f"),hcLight:o.Il.fromHex("#000f")},S.NC("minimapForegroundOpacity",'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.'));p("minimapSlider.background",{light:_(R,.5),dark:_(R,.5),hcDark:_(R,.5),hcLight:_(R,.5)},S.NC("minimapSliderBackground","Minimap slider background color.")),p("minimapSlider.hoverBackground",{light:_(A,.5),dark:_(A,.5),hcDark:_(A,.5),hcLight:_(A,.5)},S.NC("minimapSliderHoverBackground","Minimap slider background color when hovering.")),p("minimapSlider.activeBackground",{light:_(P,.5),dark:_(P,.5),hcDark:_(P,.5),hcLight:_(P,.5)},S.NC("minimapSliderActiveBackground","Minimap slider background color when clicked on.")),p("charts.foreground",{dark:L,light:L,hcDark:L,hcLight:L},S.NC("chartsForeground","The foreground color used in charts.")),p("charts.lines",{dark:_(L,.5),light:_(L,.5),hcDark:_(L,.5),hcLight:_(L,.5)},S.NC("chartsLines","The color used for horizontal lines in charts.")),p("charts.red",{dark:z,light:z,hcDark:z,hcLight:z},S.NC("chartsRed","The red color used in chart visualizations.")),p("charts.blue",{dark:j,light:j,hcDark:j,hcLight:j},S.NC("chartsBlue","The blue color used in chart visualizations.")),p("charts.yellow",{dark:$,light:$,hcDark:$,hcLight:$},S.NC("chartsYellow","The yellow color used in chart visualizations.")),p("charts.orange",{dark:eH,light:eH,hcDark:eH,hcLight:eH},S.NC("chartsOrange","The orange color used in chart visualizations.")),p("charts.green",{dark:"#89D185",light:"#388A34",hcDark:"#89D185",hcLight:"#374e06"},S.NC("chartsGreen","The green color used in chart visualizations.")),p("charts.purple",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},S.NC("chartsPurple","The purple color used in chart visualizations."));let eG=p("input.background",{dark:"#3C3C3C",light:o.Il.white,hcDark:o.Il.black,hcLight:o.Il.white},S.NC("inputBoxBackground","Input box background.")),eQ=p("input.foreground",{dark:L,light:L,hcDark:L,hcLight:L},S.NC("inputBoxForeground","Input box foreground.")),eZ=p("input.border",{dark:null,light:null,hcDark:x,hcLight:x},S.NC("inputBoxBorder","Input box border.")),eY=p("inputOption.activeBorder",{dark:"#007ACC",light:"#007ACC",hcDark:x,hcLight:x},S.NC("inputBoxActiveOptionBorder","Border color of activated options in input fields."));p("inputOption.hoverBackground",{dark:"#5a5d5e80",light:"#b8b8b850",hcDark:null,hcLight:null},S.NC("inputOption.hoverBackground","Background color of activated options in input fields."));let eJ=p("inputOption.activeBackground",{dark:_(D,.4),light:_(D,.2),hcDark:o.Il.transparent,hcLight:o.Il.transparent},S.NC("inputOption.activeBackground","Background hover color of options in input fields.")),eX=p("inputOption.activeForeground",{dark:o.Il.white,light:o.Il.black,hcDark:L,hcLight:L},S.NC("inputOption.activeForeground","Foreground color of activated options in input fields."));p("input.placeholderForeground",{light:_(L,.5),dark:_(L,.5),hcDark:_(L,.7),hcLight:_(L,.7)},S.NC("inputPlaceholderForeground","Input box foreground color for placeholder text."));let e0=p("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hcDark:o.Il.black,hcLight:o.Il.white},S.NC("inputValidationInfoBackground","Input validation background color for information severity.")),e1=p("inputValidation.infoForeground",{dark:null,light:null,hcDark:null,hcLight:L},S.NC("inputValidationInfoForeground","Input validation foreground color for information severity.")),e2=p("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hcDark:x,hcLight:x},S.NC("inputValidationInfoBorder","Input validation border color for information severity.")),e5=p("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hcDark:o.Il.black,hcLight:o.Il.white},S.NC("inputValidationWarningBackground","Input validation background color for warning severity.")),e4=p("inputValidation.warningForeground",{dark:null,light:null,hcDark:null,hcLight:L},S.NC("inputValidationWarningForeground","Input validation foreground color for warning severity.")),e3=p("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hcDark:x,hcLight:x},S.NC("inputValidationWarningBorder","Input validation border color for warning severity.")),e6=p("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hcDark:o.Il.black,hcLight:o.Il.white},S.NC("inputValidationErrorBackground","Input validation background color for error severity.")),e9=p("inputValidation.errorForeground",{dark:null,light:null,hcDark:null,hcLight:L},S.NC("inputValidationErrorForeground","Input validation foreground color for error severity.")),e7=p("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hcDark:x,hcLight:x},S.NC("inputValidationErrorBorder","Input validation border color for error severity.")),e8=p("dropdown.background",{dark:"#3C3C3C",light:o.Il.white,hcDark:o.Il.black,hcLight:o.Il.white},S.NC("dropdownBackground","Dropdown background.")),te=p("dropdown.listBackground",{dark:null,light:null,hcDark:o.Il.black,hcLight:o.Il.white},S.NC("dropdownListBackground","Dropdown list background.")),tt=p("dropdown.foreground",{dark:"#F0F0F0",light:L,hcDark:o.Il.white,hcLight:L},S.NC("dropdownForeground","Dropdown foreground.")),ti=p("dropdown.border",{dark:e8,light:"#CECECE",hcDark:x,hcLight:x},S.NC("dropdownBorder","Dropdown border.")),tn=p("button.foreground",{dark:o.Il.white,light:o.Il.white,hcDark:o.Il.white,hcLight:o.Il.white},S.NC("buttonForeground","Button foreground color.")),ts=p("button.separator",{dark:_(tn,.4),light:_(tn,.4),hcDark:_(tn,.4),hcLight:_(tn,.4)},S.NC("buttonSeparator","Button separator color.")),to=p("button.background",{dark:"#0E639C",light:"#007ACC",hcDark:null,hcLight:"#0F4A85"},S.NC("buttonBackground","Button background color.")),tr=p("button.hoverBackground",{dark:f(to,.2),light:m(to,.2),hcDark:to,hcLight:to},S.NC("buttonHoverBackground","Button background color when hovering.")),tl=p("button.border",{dark:x,light:x,hcDark:x,hcLight:x},S.NC("buttonBorder","Button border color.")),ta=p("button.secondaryForeground",{dark:o.Il.white,light:o.Il.white,hcDark:o.Il.white,hcLight:L},S.NC("buttonSecondaryForeground","Secondary button foreground color.")),td=p("button.secondaryBackground",{dark:"#3A3D41",light:"#5F6A79",hcDark:null,hcLight:o.Il.white},S.NC("buttonSecondaryBackground","Secondary button background color.")),th=p("button.secondaryHoverBackground",{dark:f(td,.2),light:m(td,.2),hcDark:null,hcLight:null},S.NC("buttonSecondaryHoverBackground","Secondary button background color when hovering.")),tu=p("checkbox.background",{dark:e8,light:e8,hcDark:e8,hcLight:e8},S.NC("checkbox.background","Background color of checkbox widget."));p("checkbox.selectBackground",{dark:W,light:W,hcDark:W,hcLight:W},S.NC("checkbox.select.background","Background color of checkbox widget when the element it's in is selected."));let tc=p("checkbox.foreground",{dark:tt,light:tt,hcDark:tt,hcLight:tt},S.NC("checkbox.foreground","Foreground color of checkbox widget.")),tg=p("checkbox.border",{dark:ti,light:ti,hcDark:ti,hcLight:ti},S.NC("checkbox.border","Border color of checkbox widget."));p("checkbox.selectBorder",{dark:k,light:k,hcDark:k,hcLight:k},S.NC("checkbox.select.border","Border color of checkbox widget when the element it's in is selected."));let tp=p("keybindingLabel.background",{dark:new o.Il(new o.VS(128,128,128,.17)),light:new o.Il(new o.VS(221,221,221,.4)),hcDark:o.Il.transparent,hcLight:o.Il.transparent},S.NC("keybindingLabelBackground","Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")),tm=p("keybindingLabel.foreground",{dark:o.Il.fromHex("#CCCCCC"),light:o.Il.fromHex("#555555"),hcDark:o.Il.white,hcLight:L},S.NC("keybindingLabelForeground","Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")),tf=p("keybindingLabel.border",{dark:new o.Il(new o.VS(51,51,51,.6)),light:new o.Il(new o.VS(204,204,204,.4)),hcDark:new o.Il(new o.VS(111,195,223)),hcLight:x},S.NC("keybindingLabelBorder","Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")),t_=p("keybindingLabel.bottomBorder",{dark:new o.Il(new o.VS(68,68,68,.6)),light:new o.Il(new o.VS(187,187,187,.4)),hcDark:new o.Il(new o.VS(111,195,223)),hcLight:L},S.NC("keybindingLabelBottomBorder","Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.")),tv=p("list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tb=p("list.focusForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tC=p("list.focusOutline",{dark:D,light:D,hcDark:N,hcLight:N},S.NC("listFocusOutline","List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tw=p("list.focusAndSelectionOutline",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listFocusAndSelectionOutline","List/Tree outline color for the focused item when the list/tree is active and selected. An active list/tree has keyboard focus, an inactive does not.")),ty=p("list.activeSelectionBackground",{dark:"#04395E",light:"#0060C0",hcDark:null,hcLight:o.Il.fromHex("#0F4A85").transparent(.1)},S.NC("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tS=p("list.activeSelectionForeground",{dark:o.Il.white,light:o.Il.white,hcDark:null,hcLight:null},S.NC("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tL=p("list.activeSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listActiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tk=p("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hcDark:null,hcLight:o.Il.fromHex("#0F4A85").transparent(.1)},S.NC("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),tD=p("list.inactiveSelectionForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),tx=p("list.inactiveSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listInactiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),tN=p("list.inactiveFocusBackground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),tE=p("list.inactiveFocusOutline",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listInactiveFocusOutline","List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),tI=p("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:o.Il.white.transparent(.1),hcLight:o.Il.fromHex("#0F4A85").transparent(.1)},S.NC("listHoverBackground","List/Tree background when hovering over items using the mouse.")),tT=p("list.hoverForeground",{dark:null,light:null,hcDark:null,hcLight:null},S.NC("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),tM=p("list.dropBackground",{dark:"#062F4A",light:"#D6EBFF",hcDark:null,hcLight:null},S.NC("listDropBackground","List/Tree drag and drop background when moving items over other items when using the mouse.")),tR=p("list.dropBetweenBackground",{dark:k,light:k,hcDark:null,hcLight:null},S.NC("listDropBetweenBackground","List/Tree drag and drop border color when moving items between items when using the mouse.")),tA=p("list.highlightForeground",{dark:"#2AAAFF",light:"#0066BF",hcDark:D,hcLight:D},S.NC("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),tP=p("list.focusHighlightForeground",{dark:tA,light:{op:6,if:ty,then:tA,else:"#BBE7FF"},hcDark:tA,hcLight:tA},S.NC("listFocusHighlightForeground","List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree."));p("list.invalidItemForeground",{dark:"#B89500",light:"#B89500",hcDark:"#B89500",hcLight:"#B5200D"},S.NC("invalidItemForeground","List/Tree foreground color for invalid items, for example an unresolved root in explorer.")),p("list.errorForeground",{dark:"#F88070",light:"#B01011",hcDark:null,hcLight:null},S.NC("listErrorForeground","Foreground color of list items containing errors.")),p("list.warningForeground",{dark:"#CCA700",light:"#855F00",hcDark:null,hcLight:null},S.NC("listWarningForeground","Foreground color of list items containing warnings."));let tO=p("listFilterWidget.background",{light:m(W,0),dark:f(W,0),hcDark:W,hcLight:W},S.NC("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),tF=p("listFilterWidget.outline",{dark:o.Il.transparent,light:o.Il.transparent,hcDark:"#f38518",hcLight:"#007ACC"},S.NC("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),tB=p("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hcDark:x,hcLight:x},S.NC("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),tW=p("listFilterWidget.shadow",{dark:ew,light:ew,hcDark:ew,hcLight:ew},S.NC("listFilterWidgetShadow","Shadow color of the type filter widget in lists and trees."));p("list.filterMatchBackground",{dark:ei,light:ei,hcDark:null,hcLight:null},S.NC("listFilterMatchHighlight","Background color of the filtered match.")),p("list.filterMatchBorder",{dark:es,light:es,hcDark:x,hcLight:N},S.NC("listFilterMatchHighlightBorder","Border color of the filtered match.")),p("list.deemphasizedForeground",{dark:"#8C8C8C",light:"#8E8E90",hcDark:"#A7A8A9",hcLight:"#666666"},S.NC("listDeemphasizedForeground","List/Tree foreground color for items that are deemphasized."));let tH=p("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hcDark:"#a9a9a9",hcLight:"#a5a5a5"},S.NC("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),tV=p("tree.inactiveIndentGuidesStroke",{dark:_(tH,.4),light:_(tH,.4),hcDark:_(tH,.4),hcLight:_(tH,.4)},S.NC("treeInactiveIndentGuidesStroke","Tree stroke color for the indentation guides that are not active.")),tz=p("tree.tableColumnsBorder",{dark:"#CCCCCC20",light:"#61616120",hcDark:null,hcLight:null},S.NC("tableColumnsBorder","Table border color between columns.")),tK=p("tree.tableOddRowsBackground",{dark:_(L,.04),light:_(L,.04),hcDark:null,hcLight:null},S.NC("tableOddRowsBackgroundColor","Background color for odd table rows.")),tU=p("menu.border",{dark:null,light:null,hcDark:x,hcLight:x},S.NC("menuBorder","Border color of menus.")),t$=p("menu.foreground",{dark:tt,light:tt,hcDark:tt,hcLight:tt},S.NC("menuForeground","Foreground color of menu items.")),tq=p("menu.background",{dark:e8,light:e8,hcDark:e8,hcLight:e8},S.NC("menuBackground","Background color of menu items.")),tj=p("menu.selectionForeground",{dark:tS,light:tS,hcDark:tS,hcLight:tS},S.NC("menuSelectionForeground","Foreground color of the selected menu item in menus.")),tG=p("menu.selectionBackground",{dark:ty,light:ty,hcDark:ty,hcLight:ty},S.NC("menuSelectionBackground","Background color of the selected menu item in menus.")),tQ=p("menu.selectionBorder",{dark:null,light:null,hcDark:N,hcLight:N},S.NC("menuSelectionBorder","Border color of the selected menu item in menus.")),tZ=p("menu.separatorBackground",{dark:"#606060",light:"#D4D4D4",hcDark:x,hcLight:x},S.NC("menuSeparatorBackground","Color of a separator menu item in menus.")),tY=p("quickInput.background",{dark:W,light:W,hcDark:W,hcLight:W},S.NC("pickerBackground","Quick picker background color. The quick picker widget is the container for pickers like the command palette.")),tJ=p("quickInput.foreground",{dark:H,light:H,hcDark:H,hcLight:H},S.NC("pickerForeground","Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")),tX=p("quickInputTitle.background",{dark:new o.Il(new o.VS(255,255,255,.105)),light:new o.Il(new o.VS(0,0,0,.06)),hcDark:"#000000",hcLight:o.Il.white},S.NC("pickerTitleBackground","Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")),t0=p("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hcDark:o.Il.white,hcLight:"#0F4A85"},S.NC("pickerGroupForeground","Quick picker color for grouping labels.")),t1=p("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hcDark:o.Il.white,hcLight:"#0F4A85"},S.NC("pickerGroupBorder","Quick picker color for grouping borders.")),t2=p("quickInput.list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},"",void 0,S.NC("quickInput.list.focusBackground deprecation","Please use quickInputList.focusBackground instead")),t5=p("quickInputList.focusForeground",{dark:tS,light:tS,hcDark:tS,hcLight:tS},S.NC("quickInput.listFocusForeground","Quick picker foreground color for the focused item.")),t4=p("quickInputList.focusIconForeground",{dark:tL,light:tL,hcDark:tL,hcLight:tL},S.NC("quickInput.listFocusIconForeground","Quick picker icon foreground color for the focused item.")),t3=p("quickInputList.focusBackground",{dark:v(t2,ty),light:v(t2,ty),hcDark:null,hcLight:null},S.NC("quickInput.listFocusBackground","Quick picker background color for the focused item."));p("search.resultsInfoForeground",{light:L,dark:_(L,.65),hcDark:L,hcLight:L},S.NC("search.resultsInfoForeground","Color of the text in the search viewlet's completion message.")),p("searchEditor.findMatchBackground",{light:_(ei,.66),dark:_(ei,.66),hcDark:ei,hcLight:ei},S.NC("searchEditor.queryMatch","Color of the Search Editor query matches.")),p("searchEditor.findMatchBorder",{light:_(es,.66),dark:_(es,.66),hcDark:es,hcLight:es},S.NC("searchEditor.editorFindMatchBorder","Border color of the Search Editor query matches."))},59554:function(e,t,i){"use strict";i.d(t,{Ks:function(){return v},q5:function(){return _},s_:function(){return y}});var n,s,o,r=i(15393),l=i(78789),a=i(77236),d=i(25670),h=i(4669),u=i(98401),c=i(70666),g=i(63580),p=i(81294),m=i(89872);(s||(s={})).getDefinition=function(e,t){let i=e.defaults;for(;d.k.isThemeIcon(i);){let e=f.getIcon(i.id);if(!e)return;i=e.defaults}return i},(n=o||(o={})).toJSONObject=function(e){return{weight:e.weight,style:e.style,src:e.src.map(e=>({format:e.format,location:e.location.toString()}))}},n.fromJSONObject=function(e){let t=e=>(0,u.HD)(e)?e:void 0;if(e&&Array.isArray(e.src)&&e.src.every(e=>(0,u.HD)(e.format)&&(0,u.HD)(e.location)))return{weight:t(e.weight),style:t(e.style),src:e.src.map(e=>({format:e.format,location:c.o.parse(e.location)}))}};let f=new class{constructor(){this._onDidChange=new h.Q5,this.onDidChange=this._onDidChange.event,this.iconSchema={definitions:{icons:{type:"object",properties:{fontId:{type:"string",description:(0,g.NC)("iconDefinition.fontId","The id of the font to use. If not set, the font that is defined first is used.")},fontCharacter:{type:"string",description:(0,g.NC)("iconDefinition.fontCharacter","The font character associated with the icon definition.")}},additionalProperties:!1,defaultSnippets:[{body:{fontCharacter:"\\\\e030"}}]}},type:"object",properties:{}},this.iconReferenceSchema={type:"string",pattern:`^${d.k.iconNameExpression}$`,enum:[],enumDescriptions:[]},this.iconsById={},this.iconFontsById={}}registerIcon(e,t,i,n){let s=this.iconsById[e];if(s){if(i&&!s.description){s.description=i,this.iconSchema.properties[e].markdownDescription=`${i} $(${e})`;let t=this.iconReferenceSchema.enum.indexOf(e);-1!==t&&(this.iconReferenceSchema.enumDescriptions[t]=i),this._onDidChange.fire()}return s}this.iconsById[e]={id:e,description:i,defaults:t,deprecationMessage:n};let o={$ref:"#/definitions/icons"};return n&&(o.deprecationMessage=n),i&&(o.markdownDescription=`${i}: $(${e})`),this.iconSchema.properties[e]=o,this.iconReferenceSchema.enum.push(e),this.iconReferenceSchema.enumDescriptions.push(i||""),this._onDidChange.fire(),{id:e}}getIcons(){return Object.keys(this.iconsById).map(e=>this.iconsById[e])}getIcon(e){return this.iconsById[e]}getIconSchema(){return this.iconSchema}toString(){let e=(e,t)=>e.id.localeCompare(t.id),t=e=>{for(;d.k.isThemeIcon(e.defaults);)e=this.iconsById[e.defaults.id];return`codicon codicon-${e?e.id:""}`},i=[];i.push("| preview | identifier | default codicon ID | description"),i.push("| ----------- | --------------------------------- | --------------------------------- | --------------------------------- |");let n=Object.keys(this.iconsById).map(e=>this.iconsById[e]);for(let s of n.filter(e=>!!e.description).sort(e))i.push(`||${s.id}|${d.k.isThemeIcon(s.defaults)?s.defaults.id:s.id}|${s.description||""}|`);for(let s of(i.push("| preview | identifier "),i.push("| ----------- | --------------------------------- |"),n.filter(e=>!d.k.isThemeIcon(e.defaults)).sort(e)))i.push(`||${s.id}|`);return i.join("\n")}};function _(e,t,i,n){return f.registerIcon(e,t,i,n)}function v(){return f}m.B.add("base.contributions.icons",f),function(){let e=(0,a.u)();for(let t in e){let i="\\"+e[t].toString(16);f.registerIcon(t,{fontCharacter:i})}}();let b="vscode://schemas/icons",C=m.B.as(p.I.JSONContribution);C.registerSchema(b,f.getIconSchema());let w=new r.pY(()=>C.notifySchemaChanged(b),200);f.onDidChange(()=>{w.isScheduled()||w.schedule()});let y=_("widget-close",l.l.close,(0,g.NC)("widgetClose","Icon for the close action in widgets."));_("goto-previous-location",l.l.arrowUp,(0,g.NC)("previousChangeIcon","Icon for goto previous editor location.")),_("goto-next-location",l.l.arrowDown,(0,g.NC)("nextChangeIcon","Icon for goto next editor location.")),d.k.modify(l.l.sync,"spin"),d.k.modify(l.l.loading,"spin")},92321:function(e,t,i){"use strict";var n,s;function o(e){return e===n.HIGH_CONTRAST_DARK||e===n.HIGH_CONTRAST_LIGHT}function r(e){return e===n.DARK||e===n.HIGH_CONTRAST_DARK}i.d(t,{_T:function(){return r},c3:function(){return o},eL:function(){return n}}),(s=n||(n={})).DARK="dark",s.LIGHT="light",s.HIGH_CONTRAST_DARK="hcDark",s.HIGH_CONTRAST_LIGHT="hcLight"},97781:function(e,t,i){"use strict";i.d(t,{EN:function(){return d},IP:function(){return u},Ic:function(){return g},XE:function(){return a},bB:function(){return p},m6:function(){return h}});var n=i(4669),s=i(5976),o=i(72065),r=i(89872),l=i(92321);let a=(0,o.yh)("themeService");function d(e){return{id:e}}function h(e){switch(e){case l.eL.DARK:return"vs-dark";case l.eL.HIGH_CONTRAST_DARK:return"hc-black";case l.eL.HIGH_CONTRAST_LIGHT:return"hc-light";default:return"vs"}}let u={ThemingContribution:"base.contributions.theming"},c=new class{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new n.Q5}onColorThemeChange(e){return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),(0,s.OF)(()=>{let t=this.themingParticipants.indexOf(e);this.themingParticipants.splice(t,1)})}getThemingParticipants(){return this.themingParticipants}};function g(e){return c.onColorThemeChange(e)}r.B.add(u.ThemingContribution,c);class p extends s.JT{constructor(e){super(),this.themeService=e,this.theme=e.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(e=>this.onThemeChange(e)))}onThemeChange(e){this.theme=e,this.updateStyles()}updateStyles(){}}},64862:function(e,t,i){"use strict";i.d(t,{Xt:function(){return r},YO:function(){return o},gJ:function(){return l},tJ:function(){return s}});var n=i(72065);let s=(0,n.yh)("undoRedoService");class o{constructor(e,t){this.resource=e,this.elements=t}}class r{constructor(){this.id=r._ID++,this.order=1}nextOrder(){return 0===this.id?0:this.order++}}r._ID=0,r.None=new r;class l{constructor(){this.id=l._ID++,this.order=1}nextOrder(){return 0===this.id?0:this.order++}}l._ID=0,l.None=new l},40382:function(e,t,i){"use strict";i.d(t,{A6:function(){return p},c$:function(){return d},eb:function(){return a},ec:function(){return l},md:function(){return g},p$:function(){return m},uT:function(){return c},x:function(){return f}});var n=i(63580),s=i(82663);i(4767);var o=i(70666),r=i(72065);let l=(0,r.yh)("contextService");function a(e){return"string"==typeof(null==e?void 0:e.id)&&o.o.isUri(e.uri)}function d(e){return"string"==typeof(null==e?void 0:e.id)&&!a(e)&&!("string"==typeof(null==e?void 0:e.id)&&o.o.isUri(e.configPath))}let h={id:"ext-dev"},u={id:"empty-window"};function c(e,t){return"string"==typeof e||void 0===e?"string"==typeof e?{id:(0,s.EZ)(e)}:t?h:u:e.configuration?{id:e.id,configPath:e.configuration}:1===e.folders.length?{id:e.id,uri:e.folders[0].uri}:{id:e.id}}class g{constructor(e,t){this.raw=t,this.uri=e.uri,this.index=e.index,this.name=e.name}toJSON(){return{uri:this.uri,name:this.name,index:this.index}}}let p="code-workspace";(0,n.NC)("codeWorkspace","Code Workspace");let m="4064f6ec-cb38-4ad0-af64-ee6467e63c82";function f(e){return e.id===m}},33425:function(e,t,i){"use strict";i.d(t,{Y:function(){return s}});var n=i(72065);let s=(0,n.yh)("workspaceTrustManagementService")},13880:function(){},40944:function(){},49373:function(){},44142:function(){},90900:function(){},7697:function(){},32501:function(){},63513:function(){},82654:function(){},18843:function(){},14075:function(){},92845:function(){},98727:function(){},50203:function(){},30591:function(){},7226:function(){},91550:function(){},85947:function(){},92257:function(){},8633:function(){},39769:function(){},98524:function(){},58206:function(){},68927:function(){},38386:function(){},33094:function(){},76469:function(){},47848:function(){},84888:function(){},58153:function(){},1237:function(){},88541:function(){},44789:function(){},48394:function(){},7919:function(){},37913:function(){},83765:function(){},24850:function(){},31282:function(){},2641:function(){},27505:function(){},7525:function(){},32452:function(){},23639:function(){},84428:function(){},12113:function(){},60974:function(){},22592:function(){},62866:function(){},41459:function(){},64287:function(){},36053:function(){},32585:function(){},51094:function(){},32811:function(){},82287:function(){},91734:function(){},99580:function(){},62736:function(){},55484:function(){},96808:function(){},37640:function(){},24826:function(){},4591:function(){},69409:function(){},52005:function(){},66202:function(){},21399:function(){},34448:function(){},32072:function(){},82438:function(){},52205:function(){},51397:function(){},13791:function(){},78987:function(){},32365:function(){},17447:function(){},60624:function(){},56808:function(){},36046:function(){},60858:function(){},99914:function(){},96909:function(){},63737:function(){},544:function(){},79807:function(){},95656:function(){},15284:function(){},45778:function(){},58960:function(){},91642:function(){},25806:function(){}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4257-668156f8a1c38c56.js b/dbgpt/app/static/web/_next/static/chunks/4257-668156f8a1c38c56.js deleted file mode 100644 index b2c6a1e7c..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/4257-668156f8a1c38c56.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4257,242,2500,7399,8538,2524,2293,7209],{39055:function(e,t){t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"}},91321:function(e,t,r){r.d(t,{Z:function(){return f}});var n=r(87462),l=r(45987),o=r(67294),a=r(16165),c=["type","children"],i=new Set;function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e[t];if("string"==typeof r&&r.length&&!i.has(r)){var n=document.createElement("script");n.setAttribute("src",r),n.setAttribute("data-namespace",r),e.length>t+1&&(n.onload=function(){s(e,t+1)},n.onerror=function(){s(e,t+1)}),i.add(r),document.body.appendChild(n)}}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,r=e.extraCommonProps,i=void 0===r?{}:r;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?s(t.reverse()):s([t]));var f=o.forwardRef(function(e,t){var r=e.type,s=e.children,f=(0,l.Z)(e,c),u=null;return e.type&&(u=o.createElement("use",{xlinkHref:"#".concat(r)})),s&&(u=s),o.createElement(a.Z,(0,n.Z)({},i,f,{ref:t}),u)});return f.displayName="Iconfont",f}},52645:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),l=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},15381:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),l=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},58638:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),l=r(67294),o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},83266:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),l=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},65429:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),l=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},79090:function(e,t,r){var n=r(87462),l=r(67294),o=r(15294),a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o.Z}))});t.Z=c},30159:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),l=r(67294),o={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},87740:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),l=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},27496:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),l=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},41441:function(e,t,r){var n=r(87462),l=r(67294),o=r(39055),a=r(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:o.Z}))});t.Z=c},2093:function(e,t,r){var n=r(97582),l=r(67294),o=r(92770);t.Z=function(e,t){(0,l.useEffect)(function(){var t=e(),r=!1;return!function(){(0,n.mG)(this,void 0,void 0,function(){return(0,n.Jh)(this,function(e){switch(e.label){case 0:if(!(0,o.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||r)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){r=!0}},t)}},86250:function(e,t,r){r.d(t,{Z:function(){return j}});var n=r(67294),l=r(93967),o=r.n(l),a=r(98423),c=r(98065),i=r(53124),s=r(83559),f=r(87893);let u=["wrap","nowrap","wrap-reverse"],d=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],p=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],g=(e,t)=>{let r=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${r}`]:r&&u.includes(r)}},m=(e,t)=>{let r={};return p.forEach(n=>{r[`${e}-align-${n}`]=t.align===n}),r[`${e}-align-stretch`]=!t.align&&!!t.vertical,r},h=(e,t)=>{let r={};return d.forEach(n=>{r[`${e}-justify-${n}`]=t.justify===n}),r},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},v=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},$=e=>{let{componentCls:t}=e,r={};return u.forEach(e=>{r[`${t}-wrap-${e}`]={flexWrap:e}}),r},y=e=>{let{componentCls:t}=e,r={};return p.forEach(e=>{r[`${t}-align-${e}`]={alignItems:e}}),r},x=e=>{let{componentCls:t}=e,r={};return d.forEach(e=>{r[`${t}-justify-${e}`]={justifyContent:e}}),r};var C=(0,s.I$)("Flex",e=>{let{paddingXS:t,padding:r,paddingLG:n}=e,l=(0,f.IX)(e,{flexGapSM:t,flexGap:r,flexGapLG:n});return[b(l),v(l),$(l),y(l),x(l)]},()=>({}),{resetStyle:!1}),w=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,n=Object.getOwnPropertySymbols(e);lt.indexOf(n[l])&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r};let O=n.forwardRef((e,t)=>{let{prefixCls:r,rootClassName:l,className:s,style:f,flex:u,gap:d,children:p,vertical:b=!1,component:v="div"}=e,$=w(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:y,direction:x,getPrefixCls:O}=n.useContext(i.E_),j=O("flex",r),[E,Z,S]=C(j),k=null!=b?b:null==y?void 0:y.vertical,H=o()(s,l,null==y?void 0:y.className,j,Z,S,o()(Object.assign(Object.assign(Object.assign({},g(j,e)),m(j,e)),h(j,e))),{[`${j}-rtl`]:"rtl"===x,[`${j}-gap-${d}`]:(0,c.n)(d),[`${j}-vertical`]:k}),I=Object.assign(Object.assign({},null==y?void 0:y.style),f);return u&&(I.flex=u),d&&!(0,c.n)(d)&&(I.gap=d),E(n.createElement(v,Object.assign({ref:t,className:H,style:I},(0,a.Z)($,["justify","wrap","align"])),p))});var j=O},99134:function(e,t,r){var n=r(67294);let l=(0,n.createContext)({});t.Z=l},21584:function(e,t,r){var n=r(67294),l=r(93967),o=r.n(l),a=r(53124),c=r(99134),i=r(6999),s=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,n=Object.getOwnPropertySymbols(e);lt.indexOf(n[l])&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r};function f(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let u=["xs","sm","md","lg","xl","xxl"],d=n.forwardRef((e,t)=>{let{getPrefixCls:r,direction:l}=n.useContext(a.E_),{gutter:d,wrap:p}=n.useContext(c.Z),{prefixCls:g,span:m,order:h,offset:b,push:v,pull:$,className:y,children:x,flex:C,style:w}=e,O=s(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),j=r("col",g),[E,Z,S]=(0,i.cG)(j),k={},H={};u.forEach(t=>{let r={},n=e[t];"number"==typeof n?r.span=n:"object"==typeof n&&(r=n||{}),delete O[t],H=Object.assign(Object.assign({},H),{[`${j}-${t}-${r.span}`]:void 0!==r.span,[`${j}-${t}-order-${r.order}`]:r.order||0===r.order,[`${j}-${t}-offset-${r.offset}`]:r.offset||0===r.offset,[`${j}-${t}-push-${r.push}`]:r.push||0===r.push,[`${j}-${t}-pull-${r.pull}`]:r.pull||0===r.pull,[`${j}-rtl`]:"rtl"===l}),r.flex&&(H[`${j}-${t}-flex`]=!0,k[`--${j}-${t}-flex`]=f(r.flex))});let I=o()(j,{[`${j}-${m}`]:void 0!==m,[`${j}-order-${h}`]:h,[`${j}-offset-${b}`]:b,[`${j}-push-${v}`]:v,[`${j}-pull-${$}`]:$},y,H,Z,S),M={};if(d&&d[0]>0){let e=d[0]/2;M.paddingLeft=e,M.paddingRight=e}return C&&(M.flex=f(C),!1!==p||M.minWidth||(M.minWidth=0)),E(n.createElement("div",Object.assign({},O,{style:Object.assign(Object.assign(Object.assign({},M),w),k),className:I,ref:t}),x))});t.Z=d},92820:function(e,t,r){var n=r(67294),l=r(93967),o=r.n(l),a=r(74443),c=r(53124),i=r(99134),s=r(6999),f=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,n=Object.getOwnPropertySymbols(e);lt.indexOf(n[l])&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r};function u(e,t){let[r,l]=n.useState("string"==typeof e?e:""),o=()=>{if("string"==typeof e&&l(e),"object"==typeof e)for(let r=0;r{o()},[JSON.stringify(e),t]),r}let d=n.forwardRef((e,t)=>{let{prefixCls:r,justify:l,align:d,className:p,style:g,children:m,gutter:h=0,wrap:b}=e,v=f(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:$,direction:y}=n.useContext(c.E_),[x,C]=n.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[w,O]=n.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),j=u(d,w),E=u(l,w),Z=n.useRef(h),S=(0,a.ZP)();n.useEffect(()=>{let e=S.subscribe(e=>{O(e);let t=Z.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&C(e)});return()=>S.unsubscribe(e)},[]);let k=$("row",r),[H,I,M]=(0,s.VM)(k),z=(()=>{let e=[void 0,void 0],t=Array.isArray(h)?h:[h,void 0];return t.forEach((t,r)=>{if("object"==typeof t)for(let n=0;n0?-(z[0]/2):void 0;R&&(N.marginLeft=R,N.marginRight=R);let[B,V]=z;N.rowGap=V;let L=n.useMemo(()=>({gutter:[B,V],wrap:b}),[B,V,b]);return H(n.createElement(i.Z.Provider,{value:L},n.createElement("div",Object.assign({},v,{className:P,style:Object.assign(Object.assign({},N),g),ref:t}),m)))});t.Z=d},6999:function(e,t,r){r.d(t,{VM:function(){return f},cG:function(){return u}});var n=r(47648),l=r(83559),o=r(87893);let a=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},c=(e,t)=>{let{prefixCls:r,componentCls:n,gridColumns:l}=e,o={};for(let e=l;e>=0;e--)0===e?(o[`${n}${t}-${e}`]={display:"none"},o[`${n}-push-${e}`]={insetInlineStart:"auto"},o[`${n}-pull-${e}`]={insetInlineEnd:"auto"},o[`${n}${t}-push-${e}`]={insetInlineStart:"auto"},o[`${n}${t}-pull-${e}`]={insetInlineEnd:"auto"},o[`${n}${t}-offset-${e}`]={marginInlineStart:0},o[`${n}${t}-order-${e}`]={order:0}):(o[`${n}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/l*100}%`,maxWidth:`${e/l*100}%`}],o[`${n}${t}-push-${e}`]={insetInlineStart:`${e/l*100}%`},o[`${n}${t}-pull-${e}`]={insetInlineEnd:`${e/l*100}%`},o[`${n}${t}-offset-${e}`]={marginInlineStart:`${e/l*100}%`},o[`${n}${t}-order-${e}`]={order:e});return o[`${n}${t}-flex`]={flex:`var(--${r}${t}-flex)`},o},i=(e,t)=>c(e,t),s=(e,t,r)=>({[`@media (min-width: ${(0,n.bf)(t)})`]:Object.assign({},i(e,r))}),f=(0,l.I$)("Grid",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"}}}},()=>({})),u=(0,l.I$)("Grid",e=>{let t=(0,o.IX)(e,{gridColumns:24}),r={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[a(t),i(t,""),i(t,"-xs"),Object.keys(r).map(e=>s(t,r[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},66309:function(e,t,r){r.d(t,{Z:function(){return H}});var n=r(67294),l=r(93967),o=r.n(l),a=r(98423),c=r(98787),i=r(69760),s=r(96159),f=r(45353),u=r(53124),d=r(47648),p=r(10274),g=r(14747),m=r(87893),h=r(83559);let b=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:l,calc:o}=e,a=o(n).sub(r).equal(),c=o(t).sub(r).equal();return{[l]:Object.assign(Object.assign({},(0,g.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,d.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${l}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${l}-close-icon`]:{marginInlineStart:c,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${l}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${l}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${l}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{let{lineWidth:t,fontSizeIcon:r,calc:n}=e,l=e.fontSizeSM,o=(0,m.IX)(e,{tagFontSize:l,tagLineHeight:(0,d.bf)(n(e.lineHeightSM).mul(l).equal()),tagIconSize:n(r).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return o},$=e=>({defaultBg:new p.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,h.I$)("Tag",e=>{let t=v(e);return b(t)},$),x=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,n=Object.getOwnPropertySymbols(e);lt.indexOf(n[l])&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r};let C=n.forwardRef((e,t)=>{let{prefixCls:r,style:l,className:a,checked:c,onChange:i,onClick:s}=e,f=x(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:d,tag:p}=n.useContext(u.E_),g=d("tag",r),[m,h,b]=y(g),v=o()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:c},null==p?void 0:p.className,a,h,b);return m(n.createElement("span",Object.assign({},f,{ref:t,style:Object.assign(Object.assign({},l),null==p?void 0:p.style),className:v,onClick:e=>{null==i||i(!c),null==s||s(e)}})))});var w=r(98719);let O=e=>(0,w.Z)(e,(t,r)=>{let{textColor:n,lightBorderColor:l,lightColor:o,darkColor:a}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:o,borderColor:l,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var j=(0,h.bk)(["Tag","preset"],e=>{let t=v(e);return O(t)},$);let E=(e,t,r)=>{let n=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Z=(0,h.bk)(["Tag","status"],e=>{let t=v(e);return[E(t,"success","Success"),E(t,"processing","Info"),E(t,"error","Error"),E(t,"warning","Warning")]},$),S=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,n=Object.getOwnPropertySymbols(e);lt.indexOf(n[l])&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r};let k=n.forwardRef((e,t)=>{let{prefixCls:r,className:l,rootClassName:d,style:p,children:g,icon:m,color:h,onClose:b,bordered:v=!0,visible:$}=e,x=S(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:C,direction:w,tag:O}=n.useContext(u.E_),[E,k]=n.useState(!0),H=(0,a.Z)(x,["closeIcon","closable"]);n.useEffect(()=>{void 0!==$&&k($)},[$]);let I=(0,c.o2)(h),M=(0,c.yT)(h),z=I||M,P=Object.assign(Object.assign({backgroundColor:h&&!z?h:void 0},null==O?void 0:O.style),p),N=C("tag",r),[R,B,V]=y(N),L=o()(N,null==O?void 0:O.className,{[`${N}-${h}`]:z,[`${N}-has-color`]:h&&!z,[`${N}-hidden`]:!E,[`${N}-rtl`]:"rtl"===w,[`${N}-borderless`]:!v},l,d,B,V),G=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||k(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)(O),{closable:!1,closeIconRender:e=>{let t=n.createElement("span",{className:`${N}-close-icon`,onClick:G},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var r;null===(r=null==e?void 0:e.onClick)||void 0===r||r.call(e,t),G(t)},className:o()(null==e?void 0:e.className,`${N}-close-icon`)}))}}),T="function"==typeof x.onClick||g&&"a"===g.type,W=m||null,_=W?n.createElement(n.Fragment,null,W,g&&n.createElement("span",null,g)):g,X=n.createElement("span",Object.assign({},H,{ref:t,className:L,style:P}),_,A,I&&n.createElement(j,{key:"preset",prefixCls:N}),M&&n.createElement(Z,{key:"status",prefixCls:N}));return R(T?n.createElement(f.Z,{component:"Tag"},X):X)});k.CheckableTag=C;var H=k}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4296-03a1c6f7e5fa7978.js b/dbgpt/app/static/web/_next/static/chunks/4296-03a1c6f7e5fa7978.js deleted file mode 100644 index 8d1816fb3..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/4296-03a1c6f7e5fa7978.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4296],{78290:function(e,t,n){var a=n(67294),r=n(17012);t.Z=e=>{let t;return"object"==typeof e&&(null==e?void 0:e.clearIcon)?t=e:e&&(t={clearIcon:a.createElement(r.Z,null)}),t}},82586:function(e,t,n){n.d(t,{Z:function(){return Z},n:function(){return y}});var a=n(67294),r=n(93967),l=n.n(r),o=n(67656),i=n(42550),u=n(89942),s=n(78290),c=n(9708),d=n(53124),f=n(98866),p=n(35792),v=n(98675),m=n(65223),g=n(27833),b=n(4173),x=n(72922),h=n(47673),w=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};function y(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)}}}let C=(0,a.forwardRef)((e,t)=>{var n;let{prefixCls:r,bordered:y=!0,status:C,size:Z,disabled:z,onBlur:O,onFocus:S,suffix:E,allowClear:N,addonAfter:j,addonBefore:R,className:A,style:$,styles:P,rootClassName:F,onChange:V,classNames:T,variant:k}=e,I=w(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:B,direction:H,input:W}=a.useContext(d.E_),_=B("input",r),M=(0,a.useRef)(null),L=(0,p.Z)(_),[D,K,J]=(0,h.ZP)(_,L),{compactSize:Q,compactItemClassnames:Y}=(0,b.ri)(_,H),X=(0,v.Z)(e=>{var t;return null!==(t=null!=Z?Z:Q)&&void 0!==t?t:e}),q=a.useContext(f.Z),{status:G,hasFeedback:U,feedbackIcon:ee}=(0,a.useContext)(m.aM),et=(0,c.F)(G,C),en=!!(e.prefix||e.suffix||e.allowClear||e.showCount)||!!U;(0,a.useRef)(en);let ea=(0,x.Z)(M,!0),er=(U||E)&&a.createElement(a.Fragment,null,E,U&&ee),el=(0,s.Z)(null!=N?N:null==W?void 0:W.allowClear),[eo,ei]=(0,g.Z)("input",k,y);return D(a.createElement(o.Z,Object.assign({ref:(0,i.sQ)(t,M),prefixCls:_,autoComplete:null==W?void 0:W.autoComplete},I,{disabled:null!=z?z:q,onBlur:e=>{ea(),null==O||O(e)},onFocus:e=>{ea(),null==S||S(e)},style:Object.assign(Object.assign({},null==W?void 0:W.style),$),styles:Object.assign(Object.assign({},null==W?void 0:W.styles),P),suffix:er,allowClear:el,className:l()(A,F,J,L,Y,null==W?void 0:W.className),onChange:e=>{ea(),null==V||V(e)},addonBefore:R&&a.createElement(u.Z,{form:!0,space:!0},R),addonAfter:j&&a.createElement(u.Z,{form:!0,space:!0},j),classNames:Object.assign(Object.assign(Object.assign({},T),null==W?void 0:W.classNames),{input:l()({[`${_}-sm`]:"small"===X,[`${_}-lg`]:"large"===X,[`${_}-rtl`]:"rtl"===H},null==T?void 0:T.input,null===(n=null==W?void 0:W.classNames)||void 0===n?void 0:n.input,K),variant:l()({[`${_}-${eo}`]:ei},(0,c.Z)(_,et)),affixWrapper:l()({[`${_}-affix-wrapper-sm`]:"small"===X,[`${_}-affix-wrapper-lg`]:"large"===X,[`${_}-affix-wrapper-rtl`]:"rtl"===H},K),wrapper:l()({[`${_}-group-rtl`]:"rtl"===H},K),groupWrapper:l()({[`${_}-group-wrapper-sm`]:"small"===X,[`${_}-group-wrapper-lg`]:"large"===X,[`${_}-group-wrapper-rtl`]:"rtl"===H,[`${_}-group-wrapper-${eo}`]:ei},(0,c.Z)(`${_}-group-wrapper`,et,U),K)})})))});var Z=C},22913:function(e,t,n){n.d(t,{Z:function(){return B}});var a,r=n(67294),l=n(93967),o=n.n(l),i=n(87462),u=n(4942),s=n(1413),c=n(74902),d=n(97685),f=n(45987),p=n(67656),v=n(82234),m=n(87887),g=n(21770),b=n(71002),x=n(9220),h=n(8410),w=n(75164),y=["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"],C={},Z=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],z=r.forwardRef(function(e,t){var n=e.prefixCls,l=e.defaultValue,c=e.value,p=e.autoSize,v=e.onResize,m=e.className,z=e.style,O=e.disabled,S=e.onChange,E=(e.onInternalAutoSize,(0,f.Z)(e,Z)),N=(0,g.Z)(l,{value:c,postState:function(e){return null!=e?e:""}}),j=(0,d.Z)(N,2),R=j[0],A=j[1],$=r.useRef();r.useImperativeHandle(t,function(){return{textArea:$.current}});var P=r.useMemo(function(){return p&&"object"===(0,b.Z)(p)?[p.minRows,p.maxRows]:[]},[p]),F=(0,d.Z)(P,2),V=F[0],T=F[1],k=!!p,I=function(){try{if(document.activeElement===$.current){var e=$.current,t=e.selectionStart,n=e.selectionEnd,a=e.scrollTop;$.current.setSelectionRange(t,n),$.current.scrollTop=a}}catch(e){}},B=r.useState(2),H=(0,d.Z)(B,2),W=H[0],_=H[1],M=r.useState(),L=(0,d.Z)(M,2),D=L[0],K=L[1],J=function(){_(0)};(0,h.Z)(function(){k&&J()},[c,V,T,k]),(0,h.Z)(function(){if(0===W)_(1);else if(1===W){var e=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;a||((a=document.createElement("textarea")).setAttribute("tab-index","-1"),a.setAttribute("aria-hidden","true"),document.body.appendChild(a)),e.getAttribute("wrap")?a.setAttribute("wrap",e.getAttribute("wrap")):a.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&&C[n])return C[n];var a=window.getComputedStyle(e),r=a.getPropertyValue("box-sizing")||a.getPropertyValue("-moz-box-sizing")||a.getPropertyValue("-webkit-box-sizing"),l=parseFloat(a.getPropertyValue("padding-bottom"))+parseFloat(a.getPropertyValue("padding-top")),o=parseFloat(a.getPropertyValue("border-bottom-width"))+parseFloat(a.getPropertyValue("border-top-width")),i={sizingStyle:y.map(function(e){return"".concat(e,":").concat(a.getPropertyValue(e))}).join(";"),paddingSize:l,borderSize:o,boxSizing:r};return t&&n&&(C[n]=i),i}(e,n),i=o.paddingSize,u=o.borderSize,s=o.boxSizing,c=o.sizingStyle;a.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")),a.value=e.value||e.placeholder||"";var d=void 0,f=void 0,p=a.scrollHeight;if("border-box"===s?p+=u:"content-box"===s&&(p-=i),null!==r||null!==l){a.value=" ";var v=a.scrollHeight-i;null!==r&&(d=v*r,"border-box"===s&&(d=d+i+u),p=Math.max(d,p)),null!==l&&(f=v*l,"border-box"===s&&(f=f+i+u),t=p>f?"":"hidden",p=Math.min(f,p))}var m={height:p,overflowY:t,resize:"none"};return d&&(m.minHeight=d),f&&(m.maxHeight=f),m}($.current,!1,V,T);_(2),K(e)}else I()},[W]);var Q=r.useRef(),Y=function(){w.Z.cancel(Q.current)};r.useEffect(function(){return Y},[]);var X=k?D:null,q=(0,s.Z)((0,s.Z)({},z),X);return(0===W||1===W)&&(q.overflowY="hidden",q.overflowX="hidden"),r.createElement(x.Z,{onResize:function(e){2===W&&(null==v||v(e),p&&(Y(),Q.current=(0,w.Z)(function(){J()})))},disabled:!(p||v)},r.createElement("textarea",(0,i.Z)({},E,{ref:$,style:q,className:o()(n,m,(0,u.Z)({},"".concat(n,"-disabled"),O)),disabled:O,value:R,onChange:function(e){A(e.target.value),null==S||S(e)}})))}),O=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],S=r.forwardRef(function(e,t){var n,a,l=e.defaultValue,b=e.value,x=e.onFocus,h=e.onBlur,w=e.onChange,y=e.allowClear,C=e.maxLength,Z=e.onCompositionStart,S=e.onCompositionEnd,E=e.suffix,N=e.prefixCls,j=void 0===N?"rc-textarea":N,R=e.showCount,A=e.count,$=e.className,P=e.style,F=e.disabled,V=e.hidden,T=e.classNames,k=e.styles,I=e.onResize,B=e.onClear,H=e.onPressEnter,W=e.readOnly,_=e.autoSize,M=e.onKeyDown,L=(0,f.Z)(e,O),D=(0,g.Z)(l,{value:b,defaultValue:l}),K=(0,d.Z)(D,2),J=K[0],Q=K[1],Y=null==J?"":String(J),X=r.useState(!1),q=(0,d.Z)(X,2),G=q[0],U=q[1],ee=r.useRef(!1),et=r.useState(null),en=(0,d.Z)(et,2),ea=en[0],er=en[1],el=(0,r.useRef)(null),eo=(0,r.useRef)(null),ei=function(){var e;return null===(e=eo.current)||void 0===e?void 0:e.textArea},eu=function(){ei().focus()};(0,r.useImperativeHandle)(t,function(){var e;return{resizableTextArea:eo.current,focus:eu,blur:function(){ei().blur()},nativeElement:(null===(e=el.current)||void 0===e?void 0:e.nativeElement)||ei()}}),(0,r.useEffect)(function(){U(function(e){return!F&&e})},[F]);var es=r.useState(null),ec=(0,d.Z)(es,2),ed=ec[0],ef=ec[1];r.useEffect(function(){if(ed){var e;(e=ei()).setSelectionRange.apply(e,(0,c.Z)(ed))}},[ed]);var ep=(0,v.Z)(A,R),ev=null!==(n=ep.max)&&void 0!==n?n:C,em=Number(ev)>0,eg=ep.strategy(Y),eb=!!ev&&eg>ev,ex=function(e,t){var n=t;!ee.current&&ep.exceedFormatter&&ep.max&&ep.strategy(t)>ep.max&&(n=ep.exceedFormatter(t,{max:ep.max}),t!==n&&ef([ei().selectionStart||0,ei().selectionEnd||0])),Q(n),(0,m.rJ)(e.currentTarget,e,w,n)},eh=E;ep.show&&(a=ep.showFormatter?ep.showFormatter({value:Y,count:eg,maxLength:ev}):"".concat(eg).concat(em?" / ".concat(ev):""),eh=r.createElement(r.Fragment,null,eh,r.createElement("span",{className:o()("".concat(j,"-data-count"),null==T?void 0:T.count),style:null==k?void 0:k.count},a)));var ew=!_&&!R&&!y;return r.createElement(p.Q,{ref:el,value:Y,allowClear:y,handleReset:function(e){Q(""),eu(),(0,m.rJ)(ei(),e,w)},suffix:eh,prefixCls:j,classNames:(0,s.Z)((0,s.Z)({},T),{},{affixWrapper:o()(null==T?void 0:T.affixWrapper,(0,u.Z)((0,u.Z)({},"".concat(j,"-show-count"),R),"".concat(j,"-textarea-allow-clear"),y))}),disabled:F,focused:G,className:o()($,eb&&"".concat(j,"-out-of-range")),style:(0,s.Z)((0,s.Z)({},P),ea&&!ew?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof a?a:void 0}},hidden:V,readOnly:W,onClear:B},r.createElement(z,(0,i.Z)({},L,{autoSize:_,maxLength:C,onKeyDown:function(e){"Enter"===e.key&&H&&H(e),null==M||M(e)},onChange:function(e){ex(e,e.target.value)},onFocus:function(e){U(!0),null==x||x(e)},onBlur:function(e){U(!1),null==h||h(e)},onCompositionStart:function(e){ee.current=!0,null==Z||Z(e)},onCompositionEnd:function(e){ee.current=!1,ex(e,e.currentTarget.value),null==S||S(e)},className:o()(null==T?void 0:T.textarea),style:(0,s.Z)((0,s.Z)({},null==k?void 0:k.textarea),{},{resize:null==P?void 0:P.resize}),disabled:F,prefixCls:j,onResize:function(e){var t;null==I||I(e),null!==(t=ei())&&void 0!==t&&t.style.height&&er(!0)},ref:eo,readOnly:W})))}),E=n(78290),N=n(9708),j=n(53124),R=n(98866),A=n(35792),$=n(98675),P=n(65223),F=n(27833),V=n(82586),T=n(47673),k=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};let I=(0,r.forwardRef)((e,t)=>{var n,a;let{prefixCls:l,bordered:i=!0,size:u,disabled:s,status:c,allowClear:d,classNames:f,rootClassName:p,className:v,style:m,styles:g,variant:b}=e,x=k(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:h,direction:w,textArea:y}=r.useContext(j.E_),C=(0,$.Z)(u),Z=r.useContext(R.Z),{status:z,hasFeedback:O,feedbackIcon:I}=r.useContext(P.aM),B=(0,N.F)(z,c),H=r.useRef(null);r.useImperativeHandle(t,()=>{var e;return{resizableTextArea:null===(e=H.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,n;(0,V.n)(null===(n=null===(t=H.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:()=>{var e;return null===(e=H.current)||void 0===e?void 0:e.blur()}}});let W=h("input",l),_=(0,A.Z)(W),[M,L,D]=(0,T.ZP)(W,_),[K,J]=(0,F.Z)("textArea",b,i),Q=(0,E.Z)(null!=d?d:null==y?void 0:y.allowClear);return M(r.createElement(S,Object.assign({autoComplete:null==y?void 0:y.autoComplete},x,{style:Object.assign(Object.assign({},null==y?void 0:y.style),m),styles:Object.assign(Object.assign({},null==y?void 0:y.styles),g),disabled:null!=s?s:Z,allowClear:Q,className:o()(D,_,v,p,null==y?void 0:y.className),classNames:Object.assign(Object.assign(Object.assign({},f),null==y?void 0:y.classNames),{textarea:o()({[`${W}-sm`]:"small"===C,[`${W}-lg`]:"large"===C},L,null==f?void 0:f.textarea,null===(n=null==y?void 0:y.classNames)||void 0===n?void 0:n.textarea),variant:o()({[`${W}-${K}`]:J},(0,N.Z)(W,B)),affixWrapper:o()(`${W}-textarea-affix-wrapper`,{[`${W}-affix-wrapper-rtl`]:"rtl"===w,[`${W}-affix-wrapper-sm`]:"small"===C,[`${W}-affix-wrapper-lg`]:"large"===C,[`${W}-textarea-show-count`]:e.showCount||(null===(a=e.count)||void 0===a?void 0:a.show)},L)}),prefixCls:W,suffix:O&&r.createElement("span",{className:`${W}-textarea-suffix`},I),ref:H})))});var B=I},72922:function(e,t,n){n.d(t,{Z:function(){return r}});var a=n(67294);function r(e,t){let n=(0,a.useRef)([]),r=()=>{n.current.push(setTimeout(()=>{var t,n,a,r;(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===(a=e.current)||void 0===a?void 0:a.input.hasAttribute("value"))&&(null===(r=e.current)||void 0===r||r.input.removeAttribute("value"))}))};return(0,a.useEffect)(()=>(t&&r(),()=>n.current.forEach(e=>{e&&clearTimeout(e)})),[]),r}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4330-b561a3ebc6c7d177.js b/dbgpt/app/static/web/_next/static/chunks/4330-a1b5cee9f3b8b8f7.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/4330-b561a3ebc6c7d177.js rename to dbgpt/app/static/web/_next/static/chunks/4330-a1b5cee9f3b8b8f7.js index 652a1cfdc..41dbf37b1 100644 --- a/dbgpt/app/static/web/_next/static/chunks/4330-b561a3ebc6c7d177.js +++ b/dbgpt/app/static/web/_next/static/chunks/4330-a1b5cee9f3b8b8f7.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4330],{74330:function(e,t,i){let n;i.d(t,{Z:function(){return k}});var o=i(67294),a=i(93967),l=i.n(a),r=i(53124),s=i(96159),d=i(8410);let c=80*Math.PI,u=e=>{let{dotClassName:t,style:i,hasCircleCls:n}=e;return o.createElement("circle",{className:l()(`${t}-circle`,{[`${t}-circle-bg`]:n}),r:40,cx:50,cy:50,strokeWidth:20,style:i})};var m=e=>{let{percent:t,prefixCls:i}=e,n=`${i}-dot`,a=`${n}-holder`,r=`${a}-hidden`,[s,m]=o.useState(!1);(0,d.Z)(()=>{0!==t&&m(!0)},[0!==t]);let p=Math.max(Math.min(t,100),0);if(!s)return null;let h={strokeDashoffset:`${c/4}`,strokeDasharray:`${c*p/100} ${c*(100-p)/100}`};return o.createElement("span",{className:l()(a,`${n}-progress`,p<=0&&r)},o.createElement("svg",{viewBox:"0 0 100 100",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":p},o.createElement(u,{dotClassName:n,hasCircleCls:!0}),o.createElement(u,{dotClassName:n,style:h})))};function p(e){let{prefixCls:t,percent:i=0}=e,n=`${t}-dot`,a=`${n}-holder`,r=`${a}-hidden`;return o.createElement(o.Fragment,null,o.createElement("span",{className:l()(a,i>0&&r)},o.createElement("span",{className:l()(n,`${t}-dot-spin`)},[1,2,3,4].map(e=>o.createElement("i",{className:`${t}-dot-item`,key:e})))),o.createElement(m,{prefixCls:t,percent:i}))}function h(e){let{prefixCls:t,indicator:i,percent:n}=e,a=`${t}-dot`;return i&&o.isValidElement(i)?(0,s.Tm)(i,{className:l()(i.props.className,a),percent:n}):o.createElement(p,{prefixCls:t,percent:n})}var v=i(47648),f=i(14747),g=i(83559),S=i(87893);let $=new v.E4("antSpinMove",{to:{opacity:1}}),b=new v.E4("antRotate",{to:{transform:"rotate(405deg)"}}),y=e=>{let{componentCls:t,calc:i}=e;return{[t]:Object.assign(Object.assign({},(0,f.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:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:i(i(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:i(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:i(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:i(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:i(i(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:i(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:i(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:i(i(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:i(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-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"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",top:"50%",transform:"translate(-50%, -50%)",insetInlineStart:"50%"},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:i(e.dotSize).sub(i(e.marginXXS).div(2)).div(2).equal(),height:i(e.dotSize).sub(i(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:$,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&: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:b,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(t=>`${t} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:i(i(e.dotSizeSM).sub(i(e.marginXXS).div(2))).div(2).equal(),height:i(i(e.dotSizeSM).sub(i(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:i(i(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:i(i(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}};var w=(0,g.I$)("Spin",e=>{let t=(0,S.IX)(e,{spinDotDefault:e.colorTextDescription});return[y(t)]},e=>{let{controlHeightLG:t,controlHeight:i}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:i}});let x=[[30,.05],[70,.03],[96,.01]];var z=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let E=e=>{var t;let{prefixCls:i,spinning:a=!0,delay:s=0,className:d,rootClassName:c,size:u="default",tip:m,wrapperClassName:p,style:v,children:f,fullscreen:g=!1,indicator:S,percent:$}=e,b=z(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:y,direction:E,spin:k}=o.useContext(r.E_),D=y("spin",i),[N,I,C]=w(D),[O,M]=o.useState(()=>a&&(!a||!s||!!isNaN(Number(s)))),q=function(e,t){let[i,n]=o.useState(0),a=o.useRef(),l="auto"===t;return o.useEffect(()=>(l&&e&&(n(0),a.current=setInterval(()=>{n(e=>{let t=100-e;for(let i=0;i{clearInterval(a.current)}),[l,e]),l?i:t}(O,$);o.useEffect(()=>{if(a){var e;let t=function(e,t,i){var n,o=i||{},a=o.noTrailing,l=void 0!==a&&a,r=o.noLeading,s=void 0!==r&&r,d=o.debounceMode,c=void 0===d?void 0:d,u=!1,m=0;function p(){n&&clearTimeout(n)}function h(){for(var i=arguments.length,o=Array(i),a=0;ae?s?(m=Date.now(),l||(n=setTimeout(c?v:h,e))):h():!0!==l&&(n=setTimeout(c?v:h,void 0===c?e-d:e)))}return h.cancel=function(e){var t=(e||{}).upcomingOnly;p(),u=!(void 0!==t&&t)},h}(s,()=>{M(!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)}}M(!1)},[s,a]);let T=o.useMemo(()=>void 0!==f&&!g,[f,g]),X=l()(D,null==k?void 0:k.className,{[`${D}-sm`]:"small"===u,[`${D}-lg`]:"large"===u,[`${D}-spinning`]:O,[`${D}-show-text`]:!!m,[`${D}-rtl`]:"rtl"===E},d,!g&&c,I,C),j=l()(`${D}-container`,{[`${D}-blur`]:O}),L=null!==(t=null!=S?S:null==k?void 0:k.indicator)&&void 0!==t?t:n,G=Object.assign(Object.assign({},null==k?void 0:k.style),v),P=o.createElement("div",Object.assign({},b,{style:G,className:X,"aria-live":"polite","aria-busy":O}),o.createElement(h,{prefixCls:D,indicator:L,percent:q}),m&&(T||g)?o.createElement("div",{className:`${D}-text`},m):null);return N(T?o.createElement("div",Object.assign({},b,{className:l()(`${D}-nested-loading`,p,I,C)}),O&&o.createElement("div",{key:"loading"},P),o.createElement("div",{className:j,key:"container"},f)):g?o.createElement("div",{className:l()(`${D}-fullscreen`,{[`${D}-fullscreen-show`]:O},c,I,C)},P):P)};E.setDefaultIndicator=e=>{n=e};var k=E}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4330],{74330:function(e,t,i){let n;i.d(t,{Z:function(){return k}});var o=i(67294),a=i(93967),l=i.n(a),r=i(53124),s=i(96159),d=i(8410);let c=80*Math.PI,u=e=>{let{dotClassName:t,style:i,hasCircleCls:n}=e;return o.createElement("circle",{className:l()(`${t}-circle`,{[`${t}-circle-bg`]:n}),r:40,cx:50,cy:50,strokeWidth:20,style:i})};var m=e=>{let{percent:t,prefixCls:i}=e,n=`${i}-dot`,a=`${n}-holder`,r=`${a}-hidden`,[s,m]=o.useState(!1);(0,d.Z)(()=>{0!==t&&m(!0)},[0!==t]);let p=Math.max(Math.min(t,100),0);if(!s)return null;let h={strokeDashoffset:`${c/4}`,strokeDasharray:`${c*p/100} ${c*(100-p)/100}`};return o.createElement("span",{className:l()(a,`${n}-progress`,p<=0&&r)},o.createElement("svg",{viewBox:"0 0 100 100",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":p},o.createElement(u,{dotClassName:n,hasCircleCls:!0}),o.createElement(u,{dotClassName:n,style:h})))};function p(e){let{prefixCls:t,percent:i=0}=e,n=`${t}-dot`,a=`${n}-holder`,r=`${a}-hidden`;return o.createElement(o.Fragment,null,o.createElement("span",{className:l()(a,i>0&&r)},o.createElement("span",{className:l()(n,`${t}-dot-spin`)},[1,2,3,4].map(e=>o.createElement("i",{className:`${t}-dot-item`,key:e})))),o.createElement(m,{prefixCls:t,percent:i}))}function h(e){let{prefixCls:t,indicator:i,percent:n}=e,a=`${t}-dot`;return i&&o.isValidElement(i)?(0,s.Tm)(i,{className:l()(i.props.className,a),percent:n}):o.createElement(p,{prefixCls:t,percent:n})}var v=i(25446),f=i(14747),g=i(83559),S=i(83262);let $=new v.E4("antSpinMove",{to:{opacity:1}}),b=new v.E4("antRotate",{to:{transform:"rotate(405deg)"}}),y=e=>{let{componentCls:t,calc:i}=e;return{[t]:Object.assign(Object.assign({},(0,f.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:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:i(i(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:i(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:i(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:i(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:i(i(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:i(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:i(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:i(i(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:i(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-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"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",top:"50%",transform:"translate(-50%, -50%)",insetInlineStart:"50%"},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:i(e.dotSize).sub(i(e.marginXXS).div(2)).div(2).equal(),height:i(e.dotSize).sub(i(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:$,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&: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:b,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(t=>`${t} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:i(i(e.dotSizeSM).sub(i(e.marginXXS).div(2))).div(2).equal(),height:i(i(e.dotSizeSM).sub(i(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:i(i(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:i(i(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}};var w=(0,g.I$)("Spin",e=>{let t=(0,S.IX)(e,{spinDotDefault:e.colorTextDescription});return[y(t)]},e=>{let{controlHeightLG:t,controlHeight:i}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:i}});let x=[[30,.05],[70,.03],[96,.01]];var z=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i};let E=e=>{var t;let{prefixCls:i,spinning:a=!0,delay:s=0,className:d,rootClassName:c,size:u="default",tip:m,wrapperClassName:p,style:v,children:f,fullscreen:g=!1,indicator:S,percent:$}=e,b=z(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:y,direction:E,spin:k}=o.useContext(r.E_),D=y("spin",i),[N,I,C]=w(D),[O,M]=o.useState(()=>a&&(!a||!s||!!isNaN(Number(s)))),q=function(e,t){let[i,n]=o.useState(0),a=o.useRef(),l="auto"===t;return o.useEffect(()=>(l&&e&&(n(0),a.current=setInterval(()=>{n(e=>{let t=100-e;for(let i=0;i{clearInterval(a.current)}),[l,e]),l?i:t}(O,$);o.useEffect(()=>{if(a){var e;let t=function(e,t,i){var n,o=i||{},a=o.noTrailing,l=void 0!==a&&a,r=o.noLeading,s=void 0!==r&&r,d=o.debounceMode,c=void 0===d?void 0:d,u=!1,m=0;function p(){n&&clearTimeout(n)}function h(){for(var i=arguments.length,o=Array(i),a=0;ae?s?(m=Date.now(),l||(n=setTimeout(c?v:h,e))):h():!0!==l&&(n=setTimeout(c?v:h,void 0===c?e-d:e)))}return h.cancel=function(e){var t=(e||{}).upcomingOnly;p(),u=!(void 0!==t&&t)},h}(s,()=>{M(!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)}}M(!1)},[s,a]);let T=o.useMemo(()=>void 0!==f&&!g,[f,g]),X=l()(D,null==k?void 0:k.className,{[`${D}-sm`]:"small"===u,[`${D}-lg`]:"large"===u,[`${D}-spinning`]:O,[`${D}-show-text`]:!!m,[`${D}-rtl`]:"rtl"===E},d,!g&&c,I,C),j=l()(`${D}-container`,{[`${D}-blur`]:O}),L=null!==(t=null!=S?S:null==k?void 0:k.indicator)&&void 0!==t?t:n,G=Object.assign(Object.assign({},null==k?void 0:k.style),v),P=o.createElement("div",Object.assign({},b,{style:G,className:X,"aria-live":"polite","aria-busy":O}),o.createElement(h,{prefixCls:D,indicator:L,percent:q}),m&&(T||g)?o.createElement("div",{className:`${D}-text`},m):null);return N(T?o.createElement("div",Object.assign({},b,{className:l()(`${D}-nested-loading`,p,I,C)}),O&&o.createElement("div",{key:"loading"},P),o.createElement("div",{className:j,key:"container"},f)):g?o.createElement("div",{className:l()(`${D}-fullscreen`,{[`${D}-fullscreen-show`]:O},c,I,C)},P):P)};E.setDefaultIndicator=e=>{n=e};var k=E}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4354-e57cde4433c5fd5c.js b/dbgpt/app/static/web/_next/static/chunks/4354-e57cde4433c5fd5c.js new file mode 100644 index 000000000..a6ee78740 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/4354-e57cde4433c5fd5c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4354,950,6047,1437,5005,1390,5654],{91321:function(e,t,n){n.d(t,{Z:function(){return d}});var o=n(87462),r=n(45987),a=n(67294),l=n(16165),i=["type","children"],c=new Set;function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e[t];if("string"==typeof n&&n.length&&!c.has(n)){var o=document.createElement("script");o.setAttribute("src",n),o.setAttribute("data-namespace",n),e.length>t+1&&(o.onload=function(){s(e,t+1)},o.onerror=function(){s(e,t+1)}),c.add(n),document.body.appendChild(o)}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,c=void 0===n?{}:n;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?s(t.reverse()):s([t]));var d=a.forwardRef(function(e,t){var n=e.type,s=e.children,d=(0,r.Z)(e,i),u=null;return e.type&&(u=a.createElement("use",{xlinkHref:"#".concat(n)})),s&&(u=s),a.createElement(l.Z,(0,o.Z)({},c,d,{ref:t}),u)});return d.displayName="Iconfont",d}},52645:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=n(13401),i=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},15381:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},l=n(13401),i=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},58638:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=n(13401),i=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},83266:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},l=n(13401),i=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},65429:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},l=n(13401),i=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},30159:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(87462),r=n(67294),a={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=n(13401),i=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},87740:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=n(13401),i=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},27496:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=n(13401),i=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},94668:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=n(13401),i=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},96074:function(e,t,n){n.d(t,{Z:function(){return p}});var o=n(67294),r=n(93967),a=n.n(r),l=n(53124),i=n(25446),c=n(14747),s=n(83559),d=n(83262);let u=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:o,lineWidth:r,textPaddingInline:a,orientationMargin:l,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{borderBlockStart:`${(0,i.bf)(r)} solid ${o}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,i.bf)(r)} solid ${o}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,i.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,i.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${o}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,i.bf)(r)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${l} * 100%)`},"&::after":{width:`calc(100% - ${l} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${l} * 100%)`},"&::after":{width:`calc(${l} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:a},"&-dashed":{background:"none",borderColor:o,borderStyle:"dashed",borderWidth:`${(0,i.bf)(r)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:r,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:o,borderStyle:"dotted",borderWidth:`${(0,i.bf)(r)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:r,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 f=(0,s.I$)("Divider",e=>{let t=(0,d.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[u(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),m=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},p=e=>{let{getPrefixCls:t,direction:n,divider:r}=o.useContext(l.E_),{prefixCls:i,type:c="horizontal",orientation:s="center",orientationMargin:d,className:u,rootClassName:p,children:h,dashed:v,variant:g="solid",plain:b,style:y}=e,w=m(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),x=t("divider",i),[$,C,k]=f(x),O=!!h,E="left"===s&&null!=d,S="right"===s&&null!=d,Z=a()(x,null==r?void 0:r.className,C,k,`${x}-${c}`,{[`${x}-with-text`]:O,[`${x}-with-text-${s}`]:O,[`${x}-dashed`]:!!v,[`${x}-${g}`]:"solid"!==g,[`${x}-plain`]:!!b,[`${x}-rtl`]:"rtl"===n,[`${x}-no-default-orientation-margin-left`]:E,[`${x}-no-default-orientation-margin-right`]:S},u,p),j=o.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),z=Object.assign(Object.assign({},E&&{marginLeft:j}),S&&{marginRight:j});return $(o.createElement("div",Object.assign({className:Z,style:Object.assign(Object.assign({},null==r?void 0:r.style),y)},w,{role:"separator"}),h&&"vertical"!==c&&o.createElement("span",{className:`${x}-inner-text`,style:z},h)))}},85265:function(e,t,n){n.d(t,{Z:function(){return q}});var o=n(67294),r=n(93967),a=n.n(r),l=n(1413),i=n(97685),c=n(2788),s=n(8410),d=o.createContext(null),u=o.createContext({}),f=n(4942),m=n(87462),p=n(29372),h=n(15105),v=n(64217),g=n(45987),b=n(42550),y=["prefixCls","className","containerRef"],w=function(e){var t=e.prefixCls,n=e.className,r=e.containerRef,l=(0,g.Z)(e,y),i=o.useContext(u).panel,c=(0,b.x1)(i,r);return o.createElement("div",(0,m.Z)({className:a()("".concat(t,"-content"),n),role:"dialog",ref:c},(0,v.Z)(e,{aria:!0}),{"aria-modal":"true"},l))},x=n(80334);function $(e){return"string"==typeof e&&String(Number(e))===e?((0,x.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var C={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},k=o.forwardRef(function(e,t){var n,r,c,s=e.prefixCls,u=e.open,g=e.placement,b=e.inline,y=e.push,x=e.forceRender,k=e.autoFocus,O=e.keyboard,E=e.classNames,S=e.rootClassName,Z=e.rootStyle,j=e.zIndex,z=e.className,N=e.id,I=e.style,M=e.motion,H=e.width,B=e.height,R=e.children,P=e.mask,D=e.maskClosable,L=e.maskMotion,T=e.maskClassName,V=e.maskStyle,W=e.afterOpenChange,_=e.onClose,A=e.onMouseEnter,K=e.onMouseOver,X=e.onMouseLeave,F=e.onClick,U=e.onKeyDown,q=e.onKeyUp,G=e.styles,Y=e.drawerRender,Q=o.useRef(),J=o.useRef(),ee=o.useRef();o.useImperativeHandle(t,function(){return Q.current}),o.useEffect(function(){if(u&&k){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[u]);var et=o.useState(!1),en=(0,i.Z)(et,2),eo=en[0],er=en[1],ea=o.useContext(d),el=null!==(n=null!==(r=null===(c="boolean"==typeof y?y?{}:{distance:0}:y||{})||void 0===c?void 0:c.distance)&&void 0!==r?r:null==ea?void 0:ea.pushDistance)&&void 0!==n?n:180,ei=o.useMemo(function(){return{pushDistance:el,push:function(){er(!0)},pull:function(){er(!1)}}},[el]);o.useEffect(function(){var e,t;u?null==ea||null===(e=ea.push)||void 0===e||e.call(ea):null==ea||null===(t=ea.pull)||void 0===t||t.call(ea)},[u]),o.useEffect(function(){return function(){var e;null==ea||null===(e=ea.pull)||void 0===e||e.call(ea)}},[]);var ec=P&&o.createElement(p.ZP,(0,m.Z)({key:"mask"},L,{visible:u}),function(e,t){var n=e.className,r=e.style;return o.createElement("div",{className:a()("".concat(s,"-mask"),n,null==E?void 0:E.mask,T),style:(0,l.Z)((0,l.Z)((0,l.Z)({},r),V),null==G?void 0:G.mask),onClick:D&&u?_:void 0,ref:t})}),es="function"==typeof M?M(g):M,ed={};if(eo&&el)switch(g){case"top":ed.transform="translateY(".concat(el,"px)");break;case"bottom":ed.transform="translateY(".concat(-el,"px)");break;case"left":ed.transform="translateX(".concat(el,"px)");break;default:ed.transform="translateX(".concat(-el,"px)")}"left"===g||"right"===g?ed.width=$(H):ed.height=$(B);var eu={onMouseEnter:A,onMouseOver:K,onMouseLeave:X,onClick:F,onKeyDown:U,onKeyUp:q},ef=o.createElement(p.ZP,(0,m.Z)({key:"panel"},es,{visible:u,forceRender:x,onVisibleChanged:function(e){null==W||W(e)},removeOnLeave:!1,leavedClassName:"".concat(s,"-content-wrapper-hidden")}),function(t,n){var r=t.className,i=t.style,c=o.createElement(w,(0,m.Z)({id:N,containerRef:n,prefixCls:s,className:a()(z,null==E?void 0:E.content),style:(0,l.Z)((0,l.Z)({},I),null==G?void 0:G.content)},(0,v.Z)(e,{aria:!0}),eu),R);return o.createElement("div",(0,m.Z)({className:a()("".concat(s,"-content-wrapper"),null==E?void 0:E.wrapper,r),style:(0,l.Z)((0,l.Z)((0,l.Z)({},ed),i),null==G?void 0:G.wrapper)},(0,v.Z)(e,{data:!0})),Y?Y(c):c)}),em=(0,l.Z)({},Z);return j&&(em.zIndex=j),o.createElement(d.Provider,{value:ei},o.createElement("div",{className:a()(s,"".concat(s,"-").concat(g),S,(0,f.Z)((0,f.Z)({},"".concat(s,"-open"),u),"".concat(s,"-inline"),b)),style:em,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,o=e.keyCode,r=e.shiftKey;switch(o){case h.Z.TAB:o===h.Z.TAB&&(r||document.activeElement!==ee.current?r&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case h.Z.ESC:_&&O&&(e.stopPropagation(),_(e))}}},ec,o.createElement("div",{tabIndex:0,ref:J,style:C,"aria-hidden":"true","data-sentinel":"start"}),ef,o.createElement("div",{tabIndex:0,ref:ee,style:C,"aria-hidden":"true","data-sentinel":"end"})))}),O=function(e){var t=e.open,n=e.prefixCls,r=e.placement,a=e.autoFocus,d=e.keyboard,f=e.width,m=e.mask,p=void 0===m||m,h=e.maskClosable,v=e.getContainer,g=e.forceRender,b=e.afterOpenChange,y=e.destroyOnClose,w=e.onMouseEnter,x=e.onMouseOver,$=e.onMouseLeave,C=e.onClick,O=e.onKeyDown,E=e.onKeyUp,S=e.panelRef,Z=o.useState(!1),j=(0,i.Z)(Z,2),z=j[0],N=j[1],I=o.useState(!1),M=(0,i.Z)(I,2),H=M[0],B=M[1];(0,s.Z)(function(){B(!0)},[]);var R=!!H&&void 0!==t&&t,P=o.useRef(),D=o.useRef();(0,s.Z)(function(){R&&(D.current=document.activeElement)},[R]);var L=o.useMemo(function(){return{panel:S}},[S]);if(!g&&!z&&!R&&y)return null;var T=(0,l.Z)((0,l.Z)({},e),{},{open:R,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===r?"right":r,autoFocus:void 0===a||a,keyboard:void 0===d||d,width:void 0===f?378:f,mask:p,maskClosable:void 0===h||h,inline:!1===v,afterOpenChange:function(e){var t,n;N(e),null==b||b(e),e||!D.current||null!==(t=P.current)&&void 0!==t&&t.contains(D.current)||null===(n=D.current)||void 0===n||n.focus({preventScroll:!0})},ref:P},{onMouseEnter:w,onMouseOver:x,onMouseLeave:$,onClick:C,onKeyDown:O,onKeyUp:E});return o.createElement(u.Provider,{value:L},o.createElement(c.Z,{open:R||g||z,autoDestroy:!1,getContainer:v,autoLock:p&&(R||z)},o.createElement(k,T)))},E=n(89942),S=n(87263),Z=n(33603),j=n(43945),z=n(53124),N=n(16569),I=n(69760),M=n(48054),H=e=>{var t,n;let{prefixCls:r,title:l,footer:i,extra:c,loading:s,onClose:d,headerStyle:u,bodyStyle:f,footerStyle:m,children:p,classNames:h,styles:v}=e,{drawer:g}=o.useContext(z.E_),b=o.useCallback(e=>o.createElement("button",{type:"button",onClick:d,"aria-label":"Close",className:`${r}-close`},e),[d]),[y,w]=(0,I.Z)((0,I.w)(e),(0,I.w)(g),{closable:!0,closeIconRender:b}),x=o.useMemo(()=>{var e,t;return l||y?o.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==g?void 0:g.styles)||void 0===e?void 0:e.header),u),null==v?void 0:v.header),className:a()(`${r}-header`,{[`${r}-header-close-only`]:y&&!l&&!c},null===(t=null==g?void 0:g.classNames)||void 0===t?void 0:t.header,null==h?void 0:h.header)},o.createElement("div",{className:`${r}-header-title`},w,l&&o.createElement("div",{className:`${r}-title`},l)),c&&o.createElement("div",{className:`${r}-extra`},c)):null},[y,w,c,u,r,l]),$=o.useMemo(()=>{var e,t;if(!i)return null;let n=`${r}-footer`;return o.createElement("div",{className:a()(n,null===(e=null==g?void 0:g.classNames)||void 0===e?void 0:e.footer,null==h?void 0:h.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==g?void 0:g.styles)||void 0===t?void 0:t.footer),m),null==v?void 0:v.footer)},i)},[i,m,r]);return o.createElement(o.Fragment,null,x,o.createElement("div",{className:a()(`${r}-body`,null==h?void 0:h.body,null===(t=null==g?void 0:g.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==g?void 0:g.styles)||void 0===n?void 0:n.body),f),null==v?void 0:v.body)},s?o.createElement(M.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${r}-body-skeleton`}):p),$)},B=n(25446),R=n(14747),P=n(83559),D=n(83262);let L=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},T=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),V=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},T({opacity:e},{opacity:1})),W=(e,t)=>[V(.7,t),T({transform:L(e)},{transform:"none"})];var _=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:V(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:W(t,n)}),{})}}};let A=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:o,colorBgMask:r,colorBgElevated:a,motionDurationSlow:l,motionDurationMid:i,paddingXS:c,padding:s,paddingLG:d,fontSizeLG:u,lineHeightLG:f,lineWidth:m,lineType:p,colorSplit:h,marginXS:v,colorIcon:g,colorIconHover:b,colorBgTextHover:y,colorBgTextActive:w,colorText:x,fontWeightStrong:$,footerPaddingBlock:C,footerPaddingInline:k,calc:O}=e,E=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:o,pointerEvents:"none",color:x,"&-pure":{position:"relative",background:a,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:o,background:r,pointerEvents:"auto"},[E]:{position:"absolute",zIndex:o,maxWidth:"100vw",transition:`all ${l}`,"&-hidden":{display:"none"}},[`&-left > ${E}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${E}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${E}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${E}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:a,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,B.bf)(s)} ${(0,B.bf)(d)}`,fontSize:u,lineHeight:f,borderBottom:`${(0,B.bf)(m)} ${p} ${h}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:O(u).add(c).equal(),height:O(u).add(c).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:v,color:g,fontWeight:$,fontSize:u,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${i}`,textRendering:"auto","&:hover":{color:b,backgroundColor:y,textDecoration:"none"},"&:active":{backgroundColor:w}},(0,R.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:u,lineHeight:f},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:d,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,B.bf)(C)} ${(0,B.bf)(k)}`,borderTop:`${(0,B.bf)(m)} ${p} ${h}`},"&-rtl":{direction:"rtl"}}}};var K=(0,P.I$)("Drawer",e=>{let t=(0,D.IX)(e,{});return[A(t),_(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),X=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};let F={distance:180},U=e=>{let{rootClassName:t,width:n,height:r,size:l="default",mask:i=!0,push:c=F,open:s,afterOpenChange:d,onClose:u,prefixCls:f,getContainer:m,style:p,className:h,visible:v,afterVisibleChange:g,maskStyle:b,drawerStyle:y,contentWrapperStyle:w}=e,x=X(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:$,getPrefixCls:C,direction:k,drawer:I}=o.useContext(z.E_),M=C("drawer",f),[B,R,P]=K(M),D=a()({"no-mask":!i,[`${M}-rtl`]:"rtl"===k},t,R,P),L=o.useMemo(()=>null!=n?n:"large"===l?736:378,[n,l]),T=o.useMemo(()=>null!=r?r:"large"===l?736:378,[r,l]),V={motionName:(0,Z.m)(M,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},W=(0,N.H)(),[_,A]=(0,S.Cn)("Drawer",x.zIndex),{classNames:U={},styles:q={}}=x,{classNames:G={},styles:Y={}}=I||{};return B(o.createElement(E.Z,{form:!0,space:!0},o.createElement(j.Z.Provider,{value:A},o.createElement(O,Object.assign({prefixCls:M,onClose:u,maskMotion:V,motion:e=>({motionName:(0,Z.m)(M,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},x,{classNames:{mask:a()(U.mask,G.mask),content:a()(U.content,G.content),wrapper:a()(U.wrapper,G.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},q.mask),b),Y.mask),content:Object.assign(Object.assign(Object.assign({},q.content),y),Y.content),wrapper:Object.assign(Object.assign(Object.assign({},q.wrapper),w),Y.wrapper)},open:null!=s?s:v,mask:i,push:c,width:L,height:T,style:Object.assign(Object.assign({},null==I?void 0:I.style),p),className:a()(null==I?void 0:I.className,h),rootClassName:D,getContainer:void 0===m&&$?()=>$(document.body):m,afterOpenChange:null!=d?d:g,panelRef:W,zIndex:_}),o.createElement(H,Object.assign({prefixCls:M},x,{onClose:u}))))))};U._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:r,placement:l="right"}=e,i=X(e,["prefixCls","style","className","placement"]),{getPrefixCls:c}=o.useContext(z.E_),s=c("drawer",t),[d,u,f]=K(s),m=a()(s,`${s}-pure`,`${s}-${l}`,u,f,r);return d(o.createElement("div",{className:m,style:n},o.createElement(H,Object.assign({prefixCls:s},i))))};var q=U},66309:function(e,t,n){n.d(t,{Z:function(){return z}});var o=n(67294),r=n(93967),a=n.n(r),l=n(98423),i=n(98787),c=n(69760),s=n(96159),d=n(45353),u=n(53124),f=n(25446),m=n(10274),p=n(14747),h=n(83262),v=n(83559);let g=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:o,componentCls:r,calc:a}=e,l=a(o).sub(n).equal(),i=a(t).sub(n).equal();return{[r]:Object.assign(Object.assign({},(0,p.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${r}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${r}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${r}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${r}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:t,fontSizeIcon:n,calc:o}=e,r=e.fontSizeSM,a=(0,h.IX)(e,{tagFontSize:r,tagLineHeight:(0,f.bf)(o(e.lineHeightSM).mul(r).equal()),tagIconSize:o(n).sub(o(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},y=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var w=(0,v.I$)("Tag",e=>{let t=b(e);return g(t)},y),x=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};let $=o.forwardRef((e,t)=>{let{prefixCls:n,style:r,className:l,checked:i,onChange:c,onClick:s}=e,d=x(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:m}=o.useContext(u.E_),p=f("tag",n),[h,v,g]=w(p),b=a()(p,`${p}-checkable`,{[`${p}-checkable-checked`]:i},null==m?void 0:m.className,l,v,g);return h(o.createElement("span",Object.assign({},d,{ref:t,style:Object.assign(Object.assign({},r),null==m?void 0:m.style),className:b,onClick:e=>{null==c||c(!i),null==s||s(e)}})))});var C=n(98719);let k=e=>(0,C.Z)(e,(t,n)=>{let{textColor:o,lightBorderColor:r,lightColor:a,darkColor:l}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:o,background:a,borderColor:r,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var O=(0,v.bk)(["Tag","preset"],e=>{let t=b(e);return k(t)},y);let E=(e,t,n)=>{let o=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var S=(0,v.bk)(["Tag","status"],e=>{let t=b(e);return[E(t,"success","Success"),E(t,"processing","Info"),E(t,"error","Error"),E(t,"warning","Warning")]},y),Z=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};let j=o.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:f,style:m,children:p,icon:h,color:v,onClose:g,bordered:b=!0,visible:y}=e,x=Z(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:$,direction:C,tag:k}=o.useContext(u.E_),[E,j]=o.useState(!0),z=(0,l.Z)(x,["closeIcon","closable"]);o.useEffect(()=>{void 0!==y&&j(y)},[y]);let N=(0,i.o2)(v),I=(0,i.yT)(v),M=N||I,H=Object.assign(Object.assign({backgroundColor:v&&!M?v:void 0},null==k?void 0:k.style),m),B=$("tag",n),[R,P,D]=w(B),L=a()(B,null==k?void 0:k.className,{[`${B}-${v}`]:M,[`${B}-has-color`]:v&&!M,[`${B}-hidden`]:!E,[`${B}-rtl`]:"rtl"===C,[`${B}-borderless`]:!b},r,f,P,D),T=e=>{e.stopPropagation(),null==g||g(e),e.defaultPrevented||j(!1)},[,V]=(0,c.Z)((0,c.w)(e),(0,c.w)(k),{closable:!1,closeIconRender:e=>{let t=o.createElement("span",{className:`${B}-close-icon`,onClick:T},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),T(t)},className:a()(null==e?void 0:e.className,`${B}-close-icon`)}))}}),W="function"==typeof x.onClick||p&&"a"===p.type,_=h||null,A=_?o.createElement(o.Fragment,null,_,p&&o.createElement("span",null,p)):p,K=o.createElement("span",Object.assign({},z,{ref:t,className:L,style:H}),A,V,N&&o.createElement(O,{key:"preset",prefixCls:B}),I&&o.createElement(S,{key:"status",prefixCls:B}));return R(W?o.createElement(d.Z,{component:"Tag"},K):K)});j.CheckableTag=$;var z=j}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4368.d3847a5521aace91.js b/dbgpt/app/static/web/_next/static/chunks/4368.1ebb98928d2a14fa.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/4368.d3847a5521aace91.js rename to dbgpt/app/static/web/_next/static/chunks/4368.1ebb98928d2a14fa.js index c9cfb4edf..ade6126d0 100644 --- a/dbgpt/app/static/web/_next/static/chunks/4368.d3847a5521aace91.js +++ b/dbgpt/app/static/web/_next/static/chunks/4368.1ebb98928d2a14fa.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4368],{84368:function(e,t,n){n.r(t),n.d(t,{conf:function(){return i},language:function(){return s}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},s={defaultToken:"",tokenPostfix:".kt",keywords:["as","as?","break","class","continue","do","else","false","for","fun","if","in","!in","interface","is","!is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","field","it"],operators:["+","-","*","/","%","=","+=","-=","*=","/=","%=","++","--","&&","||","!","==","!=","===","!==",">","<","<=",">=","[","]","!!","?.","?:","::","..",":","?","->","@",";","$","_"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc","@push"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4386.b208e9cc56be4e79.js b/dbgpt/app/static/web/_next/static/chunks/4386.4e5b990dc31d1f8f.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/4386.b208e9cc56be4e79.js rename to dbgpt/app/static/web/_next/static/chunks/4386.4e5b990dc31d1f8f.js index d8186c3f7..f6c70ab0d 100644 --- a/dbgpt/app/static/web/_next/static/chunks/4386.b208e9cc56be4e79.js +++ b/dbgpt/app/static/web/_next/static/chunks/4386.4e5b990dc31d1f8f.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4386],{54386:function(e,t,s){s.r(t),s.d(t,{conf:function(){return n},language:function(){return r}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},o=e=>e.charAt(0).toUpperCase()+e.substr(1),i=[];["abstract","activate","and","any","array","as","asc","assert","autonomous","begin","bigdecimal","blob","boolean","break","bulk","by","case","cast","catch","char","class","collect","commit","const","continue","convertcurrency","decimal","default","delete","desc","do","double","else","end","enum","exception","exit","export","extends","false","final","finally","float","for","from","future","get","global","goto","group","having","hint","if","implements","import","in","inner","insert","instanceof","int","interface","into","join","last_90_days","last_month","last_n_days","last_week","like","limit","list","long","loop","map","merge","native","new","next_90_days","next_month","next_n_days","next_week","not","null","nulls","number","object","of","on","or","outer","override","package","parallel","pragma","private","protected","public","retrieve","return","returning","rollback","savepoint","search","select","set","short","sort","stat","static","strictfp","super","switch","synchronized","system","testmethod","then","this","this_month","this_week","throw","throws","today","tolabel","tomorrow","transaction","transient","trigger","true","try","type","undelete","update","upsert","using","virtual","void","volatile","webservice","when","where","while","yesterday"].forEach(e=>{i.push(e),i.push(e.toUpperCase()),i.push(o(e))});var r={defaultToken:"",tokenPostfix:".apex",keywords:i,operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@apexdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],apexdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4393-b2ea16a41b98d023.js b/dbgpt/app/static/web/_next/static/chunks/4393-bd13a27cd00a20d6.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/4393-b2ea16a41b98d023.js rename to dbgpt/app/static/web/_next/static/chunks/4393-bd13a27cd00a20d6.js index d9d91c5c1..8bf58bb0d 100644 --- a/dbgpt/app/static/web/_next/static/chunks/4393-b2ea16a41b98d023.js +++ b/dbgpt/app/static/web/_next/static/chunks/4393-bd13a27cd00a20d6.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4393],{4393:function(e,t,a){a.d(t,{Z:function(){return T}});var n=a(67294),r=a(93967),i=a.n(r),o=a(98423),l=a(53124),d=a(98675),s=a(87564),c=a(11941),b=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a},g=e=>{var{prefixCls:t,className:a,hoverable:r=!0}=e,o=b(e,["prefixCls","className","hoverable"]);let{getPrefixCls:d}=n.useContext(l.E_),s=d("card",t),c=i()(`${s}-grid`,a,{[`${s}-grid-hoverable`]:r});return n.createElement("div",Object.assign({},o,{className:c}))},$=a(47648),p=a(14747),f=a(83559),u=a(87893);let m=e=>{let{antCls:t,componentCls:a,headerHeight:n,cardPaddingBase:r,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:n,marginBottom:-1,padding:`0 ${(0,$.bf)(r)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,$.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,$.bf)(e.borderRadiusLG)} ${(0,$.bf)(e.borderRadiusLG)} 0 0`},(0,p.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},p.vS),{[` +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4393],{4393:function(e,t,a){a.d(t,{Z:function(){return T}});var n=a(67294),r=a(93967),i=a.n(r),o=a(98423),l=a(53124),d=a(98675),s=a(48054),c=a(92398),b=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a},g=e=>{var{prefixCls:t,className:a,hoverable:r=!0}=e,o=b(e,["prefixCls","className","hoverable"]);let{getPrefixCls:d}=n.useContext(l.E_),s=d("card",t),c=i()(`${s}-grid`,a,{[`${s}-grid-hoverable`]:r});return n.createElement("div",Object.assign({},o,{className:c}))},$=a(25446),p=a(14747),f=a(83559),u=a(83262);let m=e=>{let{antCls:t,componentCls:a,headerHeight:n,cardPaddingBase:r,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:n,marginBottom:-1,padding:`0 ${(0,$.bf)(r)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,$.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,$.bf)(e.borderRadiusLG)} ${(0,$.bf)(e.borderRadiusLG)} 0 0`},(0,p.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},p.vS),{[` > ${a}-typography, > ${a}-typography-edit-content `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,$.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},h=e=>{let{cardPaddingBase:t,colorBorderSecondary:a,cardShadow:n,lineWidth:r}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` diff --git a/dbgpt/app/static/web/_next/static/chunks/4407.6478a9125e415ef1.js b/dbgpt/app/static/web/_next/static/chunks/4407.fd842bdc07287b41.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/4407.6478a9125e415ef1.js rename to dbgpt/app/static/web/_next/static/chunks/4407.fd842bdc07287b41.js index 7279fb54b..37cb3f91a 100644 --- a/dbgpt/app/static/web/_next/static/chunks/4407.6478a9125e415ef1.js +++ b/dbgpt/app/static/web/_next/static/chunks/4407.fd842bdc07287b41.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4407],{94407:function(e,t,a){a.r(t),a.d(t,{conf:function(){return n},language:function(){return i}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment","identifier"]},{open:"[",close:"]",notIn:["string","comment","identifier"]},{open:"(",close:")",notIn:["string","comment","identifier"]},{open:"{",close:"}",notIn:["string","comment","identifier"]}]},i={defaultToken:"",tokenPostfix:".pq",ignoreCase:!1,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],operatorKeywords:["and","not","or"],keywords:["as","each","else","error","false","if","in","is","let","meta","otherwise","section","shared","then","true","try","type"],constructors:["#binary","#date","#datetime","#datetimezone","#duration","#table","#time"],constants:["#infinity","#nan","#sections","#shared"],typeKeywords:["action","any","anynonnull","none","null","logical","number","time","date","datetime","datetimezone","duration","text","binary","list","record","table","function"],builtinFunctions:["Access.Database","Action.Return","Action.Sequence","Action.Try","ActiveDirectory.Domains","AdoDotNet.DataSource","AdoDotNet.Query","AdobeAnalytics.Cubes","AnalysisServices.Database","AnalysisServices.Databases","AzureStorage.BlobContents","AzureStorage.Blobs","AzureStorage.Tables","Binary.Buffer","Binary.Combine","Binary.Compress","Binary.Decompress","Binary.End","Binary.From","Binary.FromList","Binary.FromText","Binary.InferContentType","Binary.Length","Binary.ToList","Binary.ToText","BinaryFormat.7BitEncodedSignedInteger","BinaryFormat.7BitEncodedUnsignedInteger","BinaryFormat.Binary","BinaryFormat.Byte","BinaryFormat.ByteOrder","BinaryFormat.Choice","BinaryFormat.Decimal","BinaryFormat.Double","BinaryFormat.Group","BinaryFormat.Length","BinaryFormat.List","BinaryFormat.Null","BinaryFormat.Record","BinaryFormat.SignedInteger16","BinaryFormat.SignedInteger32","BinaryFormat.SignedInteger64","BinaryFormat.Single","BinaryFormat.Text","BinaryFormat.Transform","BinaryFormat.UnsignedInteger16","BinaryFormat.UnsignedInteger32","BinaryFormat.UnsignedInteger64","Byte.From","Character.FromNumber","Character.ToNumber","Combiner.CombineTextByDelimiter","Combiner.CombineTextByEachDelimiter","Combiner.CombineTextByLengths","Combiner.CombineTextByPositions","Combiner.CombineTextByRanges","Comparer.Equals","Comparer.FromCulture","Comparer.Ordinal","Comparer.OrdinalIgnoreCase","Csv.Document","Cube.AddAndExpandDimensionColumn","Cube.AddMeasureColumn","Cube.ApplyParameter","Cube.AttributeMemberId","Cube.AttributeMemberProperty","Cube.CollapseAndRemoveColumns","Cube.Dimensions","Cube.DisplayFolders","Cube.Measures","Cube.Parameters","Cube.Properties","Cube.PropertyKey","Cube.ReplaceDimensions","Cube.Transform","Currency.From","DB2.Database","Date.AddDays","Date.AddMonths","Date.AddQuarters","Date.AddWeeks","Date.AddYears","Date.Day","Date.DayOfWeek","Date.DayOfWeekName","Date.DayOfYear","Date.DaysInMonth","Date.EndOfDay","Date.EndOfMonth","Date.EndOfQuarter","Date.EndOfWeek","Date.EndOfYear","Date.From","Date.FromText","Date.IsInCurrentDay","Date.IsInCurrentMonth","Date.IsInCurrentQuarter","Date.IsInCurrentWeek","Date.IsInCurrentYear","Date.IsInNextDay","Date.IsInNextMonth","Date.IsInNextNDays","Date.IsInNextNMonths","Date.IsInNextNQuarters","Date.IsInNextNWeeks","Date.IsInNextNYears","Date.IsInNextQuarter","Date.IsInNextWeek","Date.IsInNextYear","Date.IsInPreviousDay","Date.IsInPreviousMonth","Date.IsInPreviousNDays","Date.IsInPreviousNMonths","Date.IsInPreviousNQuarters","Date.IsInPreviousNWeeks","Date.IsInPreviousNYears","Date.IsInPreviousQuarter","Date.IsInPreviousWeek","Date.IsInPreviousYear","Date.IsInYearToDate","Date.IsLeapYear","Date.Month","Date.MonthName","Date.QuarterOfYear","Date.StartOfDay","Date.StartOfMonth","Date.StartOfQuarter","Date.StartOfWeek","Date.StartOfYear","Date.ToRecord","Date.ToText","Date.WeekOfMonth","Date.WeekOfYear","Date.Year","DateTime.AddZone","DateTime.Date","DateTime.FixedLocalNow","DateTime.From","DateTime.FromFileTime","DateTime.FromText","DateTime.IsInCurrentHour","DateTime.IsInCurrentMinute","DateTime.IsInCurrentSecond","DateTime.IsInNextHour","DateTime.IsInNextMinute","DateTime.IsInNextNHours","DateTime.IsInNextNMinutes","DateTime.IsInNextNSeconds","DateTime.IsInNextSecond","DateTime.IsInPreviousHour","DateTime.IsInPreviousMinute","DateTime.IsInPreviousNHours","DateTime.IsInPreviousNMinutes","DateTime.IsInPreviousNSeconds","DateTime.IsInPreviousSecond","DateTime.LocalNow","DateTime.Time","DateTime.ToRecord","DateTime.ToText","DateTimeZone.FixedLocalNow","DateTimeZone.FixedUtcNow","DateTimeZone.From","DateTimeZone.FromFileTime","DateTimeZone.FromText","DateTimeZone.LocalNow","DateTimeZone.RemoveZone","DateTimeZone.SwitchZone","DateTimeZone.ToLocal","DateTimeZone.ToRecord","DateTimeZone.ToText","DateTimeZone.ToUtc","DateTimeZone.UtcNow","DateTimeZone.ZoneHours","DateTimeZone.ZoneMinutes","Decimal.From","Diagnostics.ActivityId","Diagnostics.Trace","DirectQueryCapabilities.From","Double.From","Duration.Days","Duration.From","Duration.FromText","Duration.Hours","Duration.Minutes","Duration.Seconds","Duration.ToRecord","Duration.ToText","Duration.TotalDays","Duration.TotalHours","Duration.TotalMinutes","Duration.TotalSeconds","Embedded.Value","Error.Record","Excel.CurrentWorkbook","Excel.Workbook","Exchange.Contents","Expression.Constant","Expression.Evaluate","Expression.Identifier","Facebook.Graph","File.Contents","Folder.Contents","Folder.Files","Function.From","Function.Invoke","Function.InvokeAfter","Function.IsDataSource","GoogleAnalytics.Accounts","Guid.From","HdInsight.Containers","HdInsight.Contents","HdInsight.Files","Hdfs.Contents","Hdfs.Files","Informix.Database","Int16.From","Int32.From","Int64.From","Int8.From","ItemExpression.From","Json.Document","Json.FromValue","Lines.FromBinary","Lines.FromText","Lines.ToBinary","Lines.ToText","List.Accumulate","List.AllTrue","List.Alternate","List.AnyTrue","List.Average","List.Buffer","List.Combine","List.Contains","List.ContainsAll","List.ContainsAny","List.Count","List.Covariance","List.DateTimeZones","List.DateTimes","List.Dates","List.Difference","List.Distinct","List.Durations","List.FindText","List.First","List.FirstN","List.Generate","List.InsertRange","List.Intersect","List.IsDistinct","List.IsEmpty","List.Last","List.LastN","List.MatchesAll","List.MatchesAny","List.Max","List.MaxN","List.Median","List.Min","List.MinN","List.Mode","List.Modes","List.NonNullCount","List.Numbers","List.PositionOf","List.PositionOfAny","List.Positions","List.Product","List.Random","List.Range","List.RemoveFirstN","List.RemoveItems","List.RemoveLastN","List.RemoveMatchingItems","List.RemoveNulls","List.RemoveRange","List.Repeat","List.ReplaceMatchingItems","List.ReplaceRange","List.ReplaceValue","List.Reverse","List.Select","List.Single","List.SingleOrDefault","List.Skip","List.Sort","List.StandardDeviation","List.Sum","List.Times","List.Transform","List.TransformMany","List.Union","List.Zip","Logical.From","Logical.FromText","Logical.ToText","MQ.Queue","MySQL.Database","Number.Abs","Number.Acos","Number.Asin","Number.Atan","Number.Atan2","Number.BitwiseAnd","Number.BitwiseNot","Number.BitwiseOr","Number.BitwiseShiftLeft","Number.BitwiseShiftRight","Number.BitwiseXor","Number.Combinations","Number.Cos","Number.Cosh","Number.Exp","Number.Factorial","Number.From","Number.FromText","Number.IntegerDivide","Number.IsEven","Number.IsNaN","Number.IsOdd","Number.Ln","Number.Log","Number.Log10","Number.Mod","Number.Permutations","Number.Power","Number.Random","Number.RandomBetween","Number.Round","Number.RoundAwayFromZero","Number.RoundDown","Number.RoundTowardZero","Number.RoundUp","Number.Sign","Number.Sin","Number.Sinh","Number.Sqrt","Number.Tan","Number.Tanh","Number.ToText","OData.Feed","Odbc.DataSource","Odbc.Query","OleDb.DataSource","OleDb.Query","Oracle.Database","Percentage.From","PostgreSQL.Database","RData.FromBinary","Record.AddField","Record.Combine","Record.Field","Record.FieldCount","Record.FieldNames","Record.FieldOrDefault","Record.FieldValues","Record.FromList","Record.FromTable","Record.HasFields","Record.RemoveFields","Record.RenameFields","Record.ReorderFields","Record.SelectFields","Record.ToList","Record.ToTable","Record.TransformFields","Replacer.ReplaceText","Replacer.ReplaceValue","RowExpression.Column","RowExpression.From","Salesforce.Data","Salesforce.Reports","SapBusinessWarehouse.Cubes","SapHana.Database","SharePoint.Contents","SharePoint.Files","SharePoint.Tables","Single.From","Soda.Feed","Splitter.SplitByNothing","Splitter.SplitTextByAnyDelimiter","Splitter.SplitTextByDelimiter","Splitter.SplitTextByEachDelimiter","Splitter.SplitTextByLengths","Splitter.SplitTextByPositions","Splitter.SplitTextByRanges","Splitter.SplitTextByRepeatedLengths","Splitter.SplitTextByWhitespace","Sql.Database","Sql.Databases","SqlExpression.SchemaFrom","SqlExpression.ToExpression","Sybase.Database","Table.AddColumn","Table.AddIndexColumn","Table.AddJoinColumn","Table.AddKey","Table.AggregateTableColumn","Table.AlternateRows","Table.Buffer","Table.Column","Table.ColumnCount","Table.ColumnNames","Table.ColumnsOfType","Table.Combine","Table.CombineColumns","Table.Contains","Table.ContainsAll","Table.ContainsAny","Table.DemoteHeaders","Table.Distinct","Table.DuplicateColumn","Table.ExpandListColumn","Table.ExpandRecordColumn","Table.ExpandTableColumn","Table.FillDown","Table.FillUp","Table.FilterWithDataTable","Table.FindText","Table.First","Table.FirstN","Table.FirstValue","Table.FromColumns","Table.FromList","Table.FromPartitions","Table.FromRecords","Table.FromRows","Table.FromValue","Table.Group","Table.HasColumns","Table.InsertRows","Table.IsDistinct","Table.IsEmpty","Table.Join","Table.Keys","Table.Last","Table.LastN","Table.MatchesAllRows","Table.MatchesAnyRows","Table.Max","Table.MaxN","Table.Min","Table.MinN","Table.NestedJoin","Table.Partition","Table.PartitionValues","Table.Pivot","Table.PositionOf","Table.PositionOfAny","Table.PrefixColumns","Table.Profile","Table.PromoteHeaders","Table.Range","Table.RemoveColumns","Table.RemoveFirstN","Table.RemoveLastN","Table.RemoveMatchingRows","Table.RemoveRows","Table.RemoveRowsWithErrors","Table.RenameColumns","Table.ReorderColumns","Table.Repeat","Table.ReplaceErrorValues","Table.ReplaceKeys","Table.ReplaceMatchingRows","Table.ReplaceRelationshipIdentity","Table.ReplaceRows","Table.ReplaceValue","Table.ReverseRows","Table.RowCount","Table.Schema","Table.SelectColumns","Table.SelectRows","Table.SelectRowsWithErrors","Table.SingleRow","Table.Skip","Table.Sort","Table.SplitColumn","Table.ToColumns","Table.ToList","Table.ToRecords","Table.ToRows","Table.TransformColumnNames","Table.TransformColumnTypes","Table.TransformColumns","Table.TransformRows","Table.Transpose","Table.Unpivot","Table.UnpivotOtherColumns","Table.View","Table.ViewFunction","TableAction.DeleteRows","TableAction.InsertRows","TableAction.UpdateRows","Tables.GetRelationships","Teradata.Database","Text.AfterDelimiter","Text.At","Text.BeforeDelimiter","Text.BetweenDelimiters","Text.Clean","Text.Combine","Text.Contains","Text.End","Text.EndsWith","Text.Format","Text.From","Text.FromBinary","Text.Insert","Text.Length","Text.Lower","Text.Middle","Text.NewGuid","Text.PadEnd","Text.PadStart","Text.PositionOf","Text.PositionOfAny","Text.Proper","Text.Range","Text.Remove","Text.RemoveRange","Text.Repeat","Text.Replace","Text.ReplaceRange","Text.Select","Text.Split","Text.SplitAny","Text.Start","Text.StartsWith","Text.ToBinary","Text.ToList","Text.Trim","Text.TrimEnd","Text.TrimStart","Text.Upper","Time.EndOfHour","Time.From","Time.FromText","Time.Hour","Time.Minute","Time.Second","Time.StartOfHour","Time.ToRecord","Time.ToText","Type.AddTableKey","Type.ClosedRecord","Type.Facets","Type.ForFunction","Type.ForRecord","Type.FunctionParameters","Type.FunctionRequiredParameters","Type.FunctionReturn","Type.Is","Type.IsNullable","Type.IsOpenRecord","Type.ListItem","Type.NonNullable","Type.OpenRecord","Type.RecordFields","Type.ReplaceFacets","Type.ReplaceTableKeys","Type.TableColumn","Type.TableKeys","Type.TableRow","Type.TableSchema","Type.Union","Uri.BuildQueryString","Uri.Combine","Uri.EscapeDataString","Uri.Parts","Value.Add","Value.As","Value.Compare","Value.Divide","Value.Equals","Value.Firewall","Value.FromText","Value.Is","Value.Metadata","Value.Multiply","Value.NativeQuery","Value.NullableEquals","Value.RemoveMetadata","Value.ReplaceMetadata","Value.ReplaceType","Value.Subtract","Value.Type","ValueAction.NativeStatement","ValueAction.Replace","Variable.Value","Web.Contents","Web.Page","WebAction.Request","Xml.Document","Xml.Tables"],builtinConstants:["BinaryEncoding.Base64","BinaryEncoding.Hex","BinaryOccurrence.Optional","BinaryOccurrence.Repeating","BinaryOccurrence.Required","ByteOrder.BigEndian","ByteOrder.LittleEndian","Compression.Deflate","Compression.GZip","CsvStyle.QuoteAfterDelimiter","CsvStyle.QuoteAlways","Culture.Current","Day.Friday","Day.Monday","Day.Saturday","Day.Sunday","Day.Thursday","Day.Tuesday","Day.Wednesday","ExtraValues.Error","ExtraValues.Ignore","ExtraValues.List","GroupKind.Global","GroupKind.Local","JoinAlgorithm.Dynamic","JoinAlgorithm.LeftHash","JoinAlgorithm.LeftIndex","JoinAlgorithm.PairwiseHash","JoinAlgorithm.RightHash","JoinAlgorithm.RightIndex","JoinAlgorithm.SortMerge","JoinKind.FullOuter","JoinKind.Inner","JoinKind.LeftAnti","JoinKind.LeftOuter","JoinKind.RightAnti","JoinKind.RightOuter","JoinSide.Left","JoinSide.Right","MissingField.Error","MissingField.Ignore","MissingField.UseNull","Number.E","Number.Epsilon","Number.NaN","Number.NegativeInfinity","Number.PI","Number.PositiveInfinity","Occurrence.All","Occurrence.First","Occurrence.Last","Occurrence.Optional","Occurrence.Repeating","Occurrence.Required","Order.Ascending","Order.Descending","Precision.Decimal","Precision.Double","QuoteStyle.Csv","QuoteStyle.None","RelativePosition.FromEnd","RelativePosition.FromStart","RoundingMode.AwayFromZero","RoundingMode.Down","RoundingMode.ToEven","RoundingMode.TowardZero","RoundingMode.Up","SapHanaDistribution.All","SapHanaDistribution.Connection","SapHanaDistribution.Off","SapHanaDistribution.Statement","SapHanaRangeOperator.Equals","SapHanaRangeOperator.GreaterThan","SapHanaRangeOperator.GreaterThanOrEquals","SapHanaRangeOperator.LessThan","SapHanaRangeOperator.LessThanOrEquals","SapHanaRangeOperator.NotEquals","TextEncoding.Ascii","TextEncoding.BigEndianUnicode","TextEncoding.Unicode","TextEncoding.Utf16","TextEncoding.Utf8","TextEncoding.Windows","TraceLevel.Critical","TraceLevel.Error","TraceLevel.Information","TraceLevel.Verbose","TraceLevel.Warning","WebMethod.Delete","WebMethod.Get","WebMethod.Head","WebMethod.Patch","WebMethod.Post","WebMethod.Put"],builtinTypes:["Action.Type","Any.Type","Binary.Type","BinaryEncoding.Type","BinaryOccurrence.Type","Byte.Type","ByteOrder.Type","Character.Type","Compression.Type","CsvStyle.Type","Currency.Type","Date.Type","DateTime.Type","DateTimeZone.Type","Day.Type","Decimal.Type","Double.Type","Duration.Type","ExtraValues.Type","Function.Type","GroupKind.Type","Guid.Type","Int16.Type","Int32.Type","Int64.Type","Int8.Type","JoinAlgorithm.Type","JoinKind.Type","JoinSide.Type","List.Type","Logical.Type","MissingField.Type","None.Type","Null.Type","Number.Type","Occurrence.Type","Order.Type","Password.Type","Percentage.Type","Precision.Type","QuoteStyle.Type","Record.Type","RelativePosition.Type","RoundingMode.Type","SapHanaDistribution.Type","SapHanaRangeOperator.Type","Single.Type","Table.Type","Text.Type","TextEncoding.Type","Time.Type","TraceLevel.Type","Type.Type","Uri.Type","WebMethod.Type"],tokenizer:{root:[[/#"[\w \.]+"/,"identifier.quote"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+([eE][\-+]?\d+)?/,"number"],[/(#?[a-z]+)\b/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@constants":"constant","@constructors":"constructor","@operatorKeywords":"operators","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.Type)\b/,{cases:{"@builtinTypes":"type","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/,{cases:{"@builtinFunctions":"keyword.function","@builtinConstants":"constant","@default":"identifier"}}],[/\b([a-zA-Z_][\w\.]*)\b/,"identifier"],{include:"@whitespace"},{include:"@comments"},{include:"@strings"},[/[{}()\[\]]/,"@brackets"],[/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/,"operators"],[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],strings:[['"',"string","@string"]],string:[['""',"string.escape"],['"',"string","@pop"],[".","string"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4434.2e999e7dac0e59c2.js b/dbgpt/app/static/web/_next/static/chunks/4434.2e999e7dac0e59c2.js deleted file mode 100644 index c58d81441..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/4434.2e999e7dac0e59c2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4434],{74434:function(e,o,r){let n;r.d(o,{Z:function(){return b}});var t=r(85893),f=r(5036),d=r(63764),a=r(93967),u=r.n(a),i=r(67294),g=r(41468),c=r(62418),k=r(3930);async function l(){window.obMonaco={getWorkerUrl:e=>{switch(e){case"mysql":return location.origin+"/_next/static/ob-workers/mysql.js";case"obmysql":return location.origin+"/_next/static/ob-workers/obmysql.js";case"oboracle":return location.origin+"/_next/static/ob-workers/oracle.js"}return""}};let e=await r.e(2057).then(r.bind(r,12057)),o=e.default;return n||(n=new o).setup(["mysql"]),n}function b(e){let{className:o,value:r,language:n="mysql",onChange:f,thoughts:a,session:b}=e,s=(0,i.useMemo)(()=>"mysql"!==n?r:a&&a.length>0?(0,c._m)("-- ".concat(a," \n").concat(r)):(0,c._m)(r),[r,a]),m=(0,k.Z)(b),p=(0,i.useContext)(g.p);async function h(e){var o,r;let n=await l();n.setModelOptions((null===(o=e.getModel())||void 0===o?void 0:o.id)||"",function(e,o){let{modelId:r,delimiter:n}=e;return{delimiter:n,async getTableList(e){var r;return(null==o?void 0:null===(r=o())||void 0===r?void 0:r.getTableList(e))||[]},async getTableColumns(e,r){var n;return(null==o?void 0:null===(n=o())||void 0===n?void 0:n.getTableColumns(e))||[]},async getSchemaList(){var e;return(null==o?void 0:null===(e=o())||void 0===e?void 0:e.getSchemaList())||[]}}}({modelId:(null===(r=e.getModel())||void 0===r?void 0:r.id)||"",delimiter:";"},()=>m.current||null))}return(0,t.jsx)(d.ZP,{className:u()(o),onMount:h,value:s,defaultLanguage:n,onChange:f,theme:(null==p?void 0:p.mode)!=="dark"?"github":"githubDark",options:{minimap:{enabled:!1},wordWrap:"on"}})}d._m.config({monaco:f}),f.editor.defineTheme("github",{base:"vs",inherit:!0,rules:[{background:"ffffff",token:""},{foreground:"6a737d",token:"comment"},{foreground:"6a737d",token:"punctuation.definition.comment"},{foreground:"6a737d",token:"string.comment"},{foreground:"005cc5",token:"constant"},{foreground:"005cc5",token:"entity.name.constant"},{foreground:"005cc5",token:"variable.other.constant"},{foreground:"005cc5",token:"variable.language"},{foreground:"6f42c1",token:"entity"},{foreground:"6f42c1",token:"entity.name"},{foreground:"24292e",token:"variable.parameter.function"},{foreground:"22863a",token:"entity.name.tag"},{foreground:"d73a49",token:"keyword"},{foreground:"d73a49",token:"storage"},{foreground:"d73a49",token:"storage.type"},{foreground:"24292e",token:"storage.modifier.package"},{foreground:"24292e",token:"storage.modifier.import"},{foreground:"24292e",token:"storage.type.java"},{foreground:"032f62",token:"string"},{foreground:"032f62",token:"punctuation.definition.string"},{foreground:"032f62",token:"string punctuation.section.embedded source"},{foreground:"005cc5",token:"support"},{foreground:"005cc5",token:"meta.property-name"},{foreground:"e36209",token:"variable"},{foreground:"24292e",token:"variable.other"},{foreground:"b31d28",fontStyle:"bold italic underline",token:"invalid.broken"},{foreground:"b31d28",fontStyle:"bold italic underline",token:"invalid.deprecated"},{foreground:"fafbfc",background:"b31d28",fontStyle:"italic underline",token:"invalid.illegal"},{foreground:"fafbfc",background:"d73a49",fontStyle:"italic underline",token:"carriage-return"},{foreground:"b31d28",fontStyle:"bold italic underline",token:"invalid.unimplemented"},{foreground:"b31d28",token:"message.error"},{foreground:"24292e",token:"string source"},{foreground:"005cc5",token:"string variable"},{foreground:"032f62",token:"source.regexp"},{foreground:"032f62",token:"string.regexp"},{foreground:"032f62",token:"string.regexp.character-class"},{foreground:"032f62",token:"string.regexp constant.character.escape"},{foreground:"032f62",token:"string.regexp source.ruby.embedded"},{foreground:"032f62",token:"string.regexp string.regexp.arbitrary-repitition"},{foreground:"22863a",fontStyle:"bold",token:"string.regexp constant.character.escape"},{foreground:"005cc5",token:"support.constant"},{foreground:"005cc5",token:"support.variable"},{foreground:"005cc5",token:"meta.module-reference"},{foreground:"735c0f",token:"markup.list"},{foreground:"005cc5",fontStyle:"bold",token:"markup.heading"},{foreground:"005cc5",fontStyle:"bold",token:"markup.heading entity.name"},{foreground:"22863a",token:"markup.quote"},{foreground:"24292e",fontStyle:"italic",token:"markup.italic"},{foreground:"24292e",fontStyle:"bold",token:"markup.bold"},{foreground:"005cc5",token:"markup.raw"},{foreground:"b31d28",background:"ffeef0",token:"markup.deleted"},{foreground:"b31d28",background:"ffeef0",token:"meta.diff.header.from-file"},{foreground:"b31d28",background:"ffeef0",token:"punctuation.definition.deleted"},{foreground:"22863a",background:"f0fff4",token:"markup.inserted"},{foreground:"22863a",background:"f0fff4",token:"meta.diff.header.to-file"},{foreground:"22863a",background:"f0fff4",token:"punctuation.definition.inserted"},{foreground:"e36209",background:"ffebda",token:"markup.changed"},{foreground:"e36209",background:"ffebda",token:"punctuation.definition.changed"},{foreground:"f6f8fa",background:"005cc5",token:"markup.ignored"},{foreground:"f6f8fa",background:"005cc5",token:"markup.untracked"},{foreground:"6f42c1",fontStyle:"bold",token:"meta.diff.range"},{foreground:"005cc5",token:"meta.diff.header"},{foreground:"005cc5",fontStyle:"bold",token:"meta.separator"},{foreground:"005cc5",token:"meta.output"},{foreground:"586069",token:"brackethighlighter.tag"},{foreground:"586069",token:"brackethighlighter.curly"},{foreground:"586069",token:"brackethighlighter.round"},{foreground:"586069",token:"brackethighlighter.square"},{foreground:"586069",token:"brackethighlighter.angle"},{foreground:"586069",token:"brackethighlighter.quote"},{foreground:"b31d28",token:"brackethighlighter.unmatched"},{foreground:"b31d28",token:"sublimelinter.mark.error"},{foreground:"e36209",token:"sublimelinter.mark.warning"},{foreground:"959da5",token:"sublimelinter.gutter-mark"},{foreground:"032f62",fontStyle:"underline",token:"constant.other.reference.link"},{foreground:"032f62",fontStyle:"underline",token:"string.other.link"}],colors:{"editor.foreground":"#24292e","editor.background":"#ffffff","editor.selectionBackground":"#c8c8fa","editor.inactiveSelectionBackground":"#fafbfc","editor.lineHighlightBackground":"#fafbfc","editorCursor.foreground":"#24292e","editorWhitespace.foreground":"#959da5","editorIndentGuide.background":"#959da5","editorIndentGuide.activeBackground":"#24292e","editor.selectionHighlightBorder":"#fafbfc"}}),f.editor.defineTheme("githubDark",{base:"vs-dark",inherit:!0,rules:[{background:"24292e",token:""},{foreground:"959da5",token:"comment"},{foreground:"959da5",token:"punctuation.definition.comment"},{foreground:"959da5",token:"string.comment"},{foreground:"c8e1ff",token:"constant"},{foreground:"c8e1ff",token:"entity.name.constant"},{foreground:"c8e1ff",token:"variable.other.constant"},{foreground:"c8e1ff",token:"variable.language"},{foreground:"b392f0",token:"entity"},{foreground:"b392f0",token:"entity.name"},{foreground:"f6f8fa",token:"variable.parameter.function"},{foreground:"7bcc72",token:"entity.name.tag"},{foreground:"ea4a5a",token:"keyword"},{foreground:"ea4a5a",token:"storage"},{foreground:"ea4a5a",token:"storage.type"},{foreground:"f6f8fa",token:"storage.modifier.package"},{foreground:"f6f8fa",token:"storage.modifier.import"},{foreground:"f6f8fa",token:"storage.type.java"},{foreground:"79b8ff",token:"string"},{foreground:"79b8ff",token:"punctuation.definition.string"},{foreground:"79b8ff",token:"string punctuation.section.embedded source"},{foreground:"c8e1ff",token:"support"},{foreground:"c8e1ff",token:"meta.property-name"},{foreground:"fb8532",token:"variable"},{foreground:"f6f8fa",token:"variable.other"},{foreground:"d73a49",fontStyle:"bold italic underline",token:"invalid.broken"},{foreground:"d73a49",fontStyle:"bold italic underline",token:"invalid.deprecated"},{foreground:"fafbfc",background:"d73a49",fontStyle:"italic underline",token:"invalid.illegal"},{foreground:"fafbfc",background:"d73a49",fontStyle:"italic underline",token:"carriage-return"},{foreground:"d73a49",fontStyle:"bold italic underline",token:"invalid.unimplemented"},{foreground:"d73a49",token:"message.error"},{foreground:"f6f8fa",token:"string source"},{foreground:"c8e1ff",token:"string variable"},{foreground:"79b8ff",token:"source.regexp"},{foreground:"79b8ff",token:"string.regexp"},{foreground:"79b8ff",token:"string.regexp.character-class"},{foreground:"79b8ff",token:"string.regexp constant.character.escape"},{foreground:"79b8ff",token:"string.regexp source.ruby.embedded"},{foreground:"79b8ff",token:"string.regexp string.regexp.arbitrary-repitition"},{foreground:"7bcc72",fontStyle:"bold",token:"string.regexp constant.character.escape"},{foreground:"c8e1ff",token:"support.constant"},{foreground:"c8e1ff",token:"support.variable"},{foreground:"c8e1ff",token:"meta.module-reference"},{foreground:"fb8532",token:"markup.list"},{foreground:"0366d6",fontStyle:"bold",token:"markup.heading"},{foreground:"0366d6",fontStyle:"bold",token:"markup.heading entity.name"},{foreground:"c8e1ff",token:"markup.quote"},{foreground:"f6f8fa",fontStyle:"italic",token:"markup.italic"},{foreground:"f6f8fa",fontStyle:"bold",token:"markup.bold"},{foreground:"c8e1ff",token:"markup.raw"},{foreground:"b31d28",background:"ffeef0",token:"markup.deleted"},{foreground:"b31d28",background:"ffeef0",token:"meta.diff.header.from-file"},{foreground:"b31d28",background:"ffeef0",token:"punctuation.definition.deleted"},{foreground:"176f2c",background:"f0fff4",token:"markup.inserted"},{foreground:"176f2c",background:"f0fff4",token:"meta.diff.header.to-file"},{foreground:"176f2c",background:"f0fff4",token:"punctuation.definition.inserted"},{foreground:"b08800",background:"fffdef",token:"markup.changed"},{foreground:"b08800",background:"fffdef",token:"punctuation.definition.changed"},{foreground:"2f363d",background:"959da5",token:"markup.ignored"},{foreground:"2f363d",background:"959da5",token:"markup.untracked"},{foreground:"b392f0",fontStyle:"bold",token:"meta.diff.range"},{foreground:"c8e1ff",token:"meta.diff.header"},{foreground:"0366d6",fontStyle:"bold",token:"meta.separator"},{foreground:"0366d6",token:"meta.output"},{foreground:"ffeef0",token:"brackethighlighter.tag"},{foreground:"ffeef0",token:"brackethighlighter.curly"},{foreground:"ffeef0",token:"brackethighlighter.round"},{foreground:"ffeef0",token:"brackethighlighter.square"},{foreground:"ffeef0",token:"brackethighlighter.angle"},{foreground:"ffeef0",token:"brackethighlighter.quote"},{foreground:"d73a49",token:"brackethighlighter.unmatched"},{foreground:"d73a49",token:"sublimelinter.mark.error"},{foreground:"fb8532",token:"sublimelinter.mark.warning"},{foreground:"6a737d",token:"sublimelinter.gutter-mark"},{foreground:"79b8ff",fontStyle:"underline",token:"constant.other.reference.link"},{foreground:"79b8ff",fontStyle:"underline",token:"string.other.link"}],colors:{"editor.foreground":"#f6f8fa","editor.background":"#24292e","editor.selectionBackground":"#4c2889","editor.inactiveSelectionBackground":"#444d56","editor.lineHighlightBackground":"#444d56","editorCursor.foreground":"#ffffff","editorWhitespace.foreground":"#6a737d","editorIndentGuide.background":"#6a737d","editorIndentGuide.activeBackground":"#f6f8fa","editor.selectionHighlightBorder":"#444d56"}})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4434.a56374ff9de68aa0.js b/dbgpt/app/static/web/_next/static/chunks/4434.a56374ff9de68aa0.js new file mode 100644 index 000000000..2084ddba8 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/4434.a56374ff9de68aa0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4434],{74434:function(e,o,r){let n;r.d(o,{Z:function(){return b}});var t=r(85893),f=r(41468),d=r(62418),a=r(63764),u=r(3930),i=r(93967),g=r.n(i),c=r(72339),k=r(67294);async function l(){window.obMonaco={getWorkerUrl:e=>{switch(e){case"mysql":return location.origin+"/_next/static/ob-workers/mysql.js";case"obmysql":return location.origin+"/_next/static/ob-workers/obmysql.js";case"oboracle":return location.origin+"/_next/static/ob-workers/oracle.js"}return""}};let e=await r.e(2057).then(r.bind(r,12057)),o=e.default;return n||(n=new o).setup(["mysql"]),n}function b(e){let{className:o,value:r,language:n="mysql",onChange:i,thoughts:c,session:b}=e,s=(0,k.useMemo)(()=>"mysql"!==n?r:c&&c.length>0?(0,d._m)("-- ".concat(c," \n").concat(r)):(0,d._m)(r),[r,c]),m=(0,u.Z)(b),p=(0,k.useContext)(f.p);async function h(e){var o,r;let n=await l();n.setModelOptions((null===(o=e.getModel())||void 0===o?void 0:o.id)||"",function(e,o){let{_modelId:r,delimiter:n}=e;return{delimiter:n,async getTableList(e){var r;return(null==o?void 0:null===(r=o())||void 0===r?void 0:r.getTableList(e))||[]},async getTableColumns(e,r){var n;return(null==o?void 0:null===(n=o())||void 0===n?void 0:n.getTableColumns(e))||[]},async getSchemaList(){var e;return(null==o?void 0:null===(e=o())||void 0===e?void 0:e.getSchemaList())||[]}}}({modelId:(null===(r=e.getModel())||void 0===r?void 0:r.id)||"",delimiter:";"},()=>m.current||null))}return(0,t.jsx)(a.ZP,{className:g()(o),onMount:h,value:s,defaultLanguage:n,onChange:i,theme:(null==p?void 0:p.mode)!=="dark"?"github":"githubDark",options:{minimap:{enabled:!1},wordWrap:"on"}})}a._m.config({monaco:c}),c.editor.defineTheme("github",{base:"vs",inherit:!0,rules:[{background:"ffffff",token:""},{foreground:"6a737d",token:"comment"},{foreground:"6a737d",token:"punctuation.definition.comment"},{foreground:"6a737d",token:"string.comment"},{foreground:"005cc5",token:"constant"},{foreground:"005cc5",token:"entity.name.constant"},{foreground:"005cc5",token:"variable.other.constant"},{foreground:"005cc5",token:"variable.language"},{foreground:"6f42c1",token:"entity"},{foreground:"6f42c1",token:"entity.name"},{foreground:"24292e",token:"variable.parameter.function"},{foreground:"22863a",token:"entity.name.tag"},{foreground:"d73a49",token:"keyword"},{foreground:"d73a49",token:"storage"},{foreground:"d73a49",token:"storage.type"},{foreground:"24292e",token:"storage.modifier.package"},{foreground:"24292e",token:"storage.modifier.import"},{foreground:"24292e",token:"storage.type.java"},{foreground:"032f62",token:"string"},{foreground:"032f62",token:"punctuation.definition.string"},{foreground:"032f62",token:"string punctuation.section.embedded source"},{foreground:"005cc5",token:"support"},{foreground:"005cc5",token:"meta.property-name"},{foreground:"e36209",token:"variable"},{foreground:"24292e",token:"variable.other"},{foreground:"b31d28",fontStyle:"bold italic underline",token:"invalid.broken"},{foreground:"b31d28",fontStyle:"bold italic underline",token:"invalid.deprecated"},{foreground:"fafbfc",background:"b31d28",fontStyle:"italic underline",token:"invalid.illegal"},{foreground:"fafbfc",background:"d73a49",fontStyle:"italic underline",token:"carriage-return"},{foreground:"b31d28",fontStyle:"bold italic underline",token:"invalid.unimplemented"},{foreground:"b31d28",token:"message.error"},{foreground:"24292e",token:"string source"},{foreground:"005cc5",token:"string variable"},{foreground:"032f62",token:"source.regexp"},{foreground:"032f62",token:"string.regexp"},{foreground:"032f62",token:"string.regexp.character-class"},{foreground:"032f62",token:"string.regexp constant.character.escape"},{foreground:"032f62",token:"string.regexp source.ruby.embedded"},{foreground:"032f62",token:"string.regexp string.regexp.arbitrary-repitition"},{foreground:"22863a",fontStyle:"bold",token:"string.regexp constant.character.escape"},{foreground:"005cc5",token:"support.constant"},{foreground:"005cc5",token:"support.variable"},{foreground:"005cc5",token:"meta.module-reference"},{foreground:"735c0f",token:"markup.list"},{foreground:"005cc5",fontStyle:"bold",token:"markup.heading"},{foreground:"005cc5",fontStyle:"bold",token:"markup.heading entity.name"},{foreground:"22863a",token:"markup.quote"},{foreground:"24292e",fontStyle:"italic",token:"markup.italic"},{foreground:"24292e",fontStyle:"bold",token:"markup.bold"},{foreground:"005cc5",token:"markup.raw"},{foreground:"b31d28",background:"ffeef0",token:"markup.deleted"},{foreground:"b31d28",background:"ffeef0",token:"meta.diff.header.from-file"},{foreground:"b31d28",background:"ffeef0",token:"punctuation.definition.deleted"},{foreground:"22863a",background:"f0fff4",token:"markup.inserted"},{foreground:"22863a",background:"f0fff4",token:"meta.diff.header.to-file"},{foreground:"22863a",background:"f0fff4",token:"punctuation.definition.inserted"},{foreground:"e36209",background:"ffebda",token:"markup.changed"},{foreground:"e36209",background:"ffebda",token:"punctuation.definition.changed"},{foreground:"f6f8fa",background:"005cc5",token:"markup.ignored"},{foreground:"f6f8fa",background:"005cc5",token:"markup.untracked"},{foreground:"6f42c1",fontStyle:"bold",token:"meta.diff.range"},{foreground:"005cc5",token:"meta.diff.header"},{foreground:"005cc5",fontStyle:"bold",token:"meta.separator"},{foreground:"005cc5",token:"meta.output"},{foreground:"586069",token:"brackethighlighter.tag"},{foreground:"586069",token:"brackethighlighter.curly"},{foreground:"586069",token:"brackethighlighter.round"},{foreground:"586069",token:"brackethighlighter.square"},{foreground:"586069",token:"brackethighlighter.angle"},{foreground:"586069",token:"brackethighlighter.quote"},{foreground:"b31d28",token:"brackethighlighter.unmatched"},{foreground:"b31d28",token:"sublimelinter.mark.error"},{foreground:"e36209",token:"sublimelinter.mark.warning"},{foreground:"959da5",token:"sublimelinter.gutter-mark"},{foreground:"032f62",fontStyle:"underline",token:"constant.other.reference.link"},{foreground:"032f62",fontStyle:"underline",token:"string.other.link"}],colors:{"editor.foreground":"#24292e","editor.background":"#ffffff","editor.selectionBackground":"#c8c8fa","editor.inactiveSelectionBackground":"#fafbfc","editor.lineHighlightBackground":"#fafbfc","editorCursor.foreground":"#24292e","editorWhitespace.foreground":"#959da5","editorIndentGuide.background":"#959da5","editorIndentGuide.activeBackground":"#24292e","editor.selectionHighlightBorder":"#fafbfc"}}),c.editor.defineTheme("githubDark",{base:"vs-dark",inherit:!0,rules:[{background:"24292e",token:""},{foreground:"959da5",token:"comment"},{foreground:"959da5",token:"punctuation.definition.comment"},{foreground:"959da5",token:"string.comment"},{foreground:"c8e1ff",token:"constant"},{foreground:"c8e1ff",token:"entity.name.constant"},{foreground:"c8e1ff",token:"variable.other.constant"},{foreground:"c8e1ff",token:"variable.language"},{foreground:"b392f0",token:"entity"},{foreground:"b392f0",token:"entity.name"},{foreground:"f6f8fa",token:"variable.parameter.function"},{foreground:"7bcc72",token:"entity.name.tag"},{foreground:"ea4a5a",token:"keyword"},{foreground:"ea4a5a",token:"storage"},{foreground:"ea4a5a",token:"storage.type"},{foreground:"f6f8fa",token:"storage.modifier.package"},{foreground:"f6f8fa",token:"storage.modifier.import"},{foreground:"f6f8fa",token:"storage.type.java"},{foreground:"79b8ff",token:"string"},{foreground:"79b8ff",token:"punctuation.definition.string"},{foreground:"79b8ff",token:"string punctuation.section.embedded source"},{foreground:"c8e1ff",token:"support"},{foreground:"c8e1ff",token:"meta.property-name"},{foreground:"fb8532",token:"variable"},{foreground:"f6f8fa",token:"variable.other"},{foreground:"d73a49",fontStyle:"bold italic underline",token:"invalid.broken"},{foreground:"d73a49",fontStyle:"bold italic underline",token:"invalid.deprecated"},{foreground:"fafbfc",background:"d73a49",fontStyle:"italic underline",token:"invalid.illegal"},{foreground:"fafbfc",background:"d73a49",fontStyle:"italic underline",token:"carriage-return"},{foreground:"d73a49",fontStyle:"bold italic underline",token:"invalid.unimplemented"},{foreground:"d73a49",token:"message.error"},{foreground:"f6f8fa",token:"string source"},{foreground:"c8e1ff",token:"string variable"},{foreground:"79b8ff",token:"source.regexp"},{foreground:"79b8ff",token:"string.regexp"},{foreground:"79b8ff",token:"string.regexp.character-class"},{foreground:"79b8ff",token:"string.regexp constant.character.escape"},{foreground:"79b8ff",token:"string.regexp source.ruby.embedded"},{foreground:"79b8ff",token:"string.regexp string.regexp.arbitrary-repitition"},{foreground:"7bcc72",fontStyle:"bold",token:"string.regexp constant.character.escape"},{foreground:"c8e1ff",token:"support.constant"},{foreground:"c8e1ff",token:"support.variable"},{foreground:"c8e1ff",token:"meta.module-reference"},{foreground:"fb8532",token:"markup.list"},{foreground:"0366d6",fontStyle:"bold",token:"markup.heading"},{foreground:"0366d6",fontStyle:"bold",token:"markup.heading entity.name"},{foreground:"c8e1ff",token:"markup.quote"},{foreground:"f6f8fa",fontStyle:"italic",token:"markup.italic"},{foreground:"f6f8fa",fontStyle:"bold",token:"markup.bold"},{foreground:"c8e1ff",token:"markup.raw"},{foreground:"b31d28",background:"ffeef0",token:"markup.deleted"},{foreground:"b31d28",background:"ffeef0",token:"meta.diff.header.from-file"},{foreground:"b31d28",background:"ffeef0",token:"punctuation.definition.deleted"},{foreground:"176f2c",background:"f0fff4",token:"markup.inserted"},{foreground:"176f2c",background:"f0fff4",token:"meta.diff.header.to-file"},{foreground:"176f2c",background:"f0fff4",token:"punctuation.definition.inserted"},{foreground:"b08800",background:"fffdef",token:"markup.changed"},{foreground:"b08800",background:"fffdef",token:"punctuation.definition.changed"},{foreground:"2f363d",background:"959da5",token:"markup.ignored"},{foreground:"2f363d",background:"959da5",token:"markup.untracked"},{foreground:"b392f0",fontStyle:"bold",token:"meta.diff.range"},{foreground:"c8e1ff",token:"meta.diff.header"},{foreground:"0366d6",fontStyle:"bold",token:"meta.separator"},{foreground:"0366d6",token:"meta.output"},{foreground:"ffeef0",token:"brackethighlighter.tag"},{foreground:"ffeef0",token:"brackethighlighter.curly"},{foreground:"ffeef0",token:"brackethighlighter.round"},{foreground:"ffeef0",token:"brackethighlighter.square"},{foreground:"ffeef0",token:"brackethighlighter.angle"},{foreground:"ffeef0",token:"brackethighlighter.quote"},{foreground:"d73a49",token:"brackethighlighter.unmatched"},{foreground:"d73a49",token:"sublimelinter.mark.error"},{foreground:"fb8532",token:"sublimelinter.mark.warning"},{foreground:"6a737d",token:"sublimelinter.gutter-mark"},{foreground:"79b8ff",fontStyle:"underline",token:"constant.other.reference.link"},{foreground:"79b8ff",fontStyle:"underline",token:"string.other.link"}],colors:{"editor.foreground":"#f6f8fa","editor.background":"#24292e","editor.selectionBackground":"#4c2889","editor.inactiveSelectionBackground":"#444d56","editor.lineHighlightBackground":"#444d56","editorCursor.foreground":"#ffffff","editorWhitespace.foreground":"#6a737d","editorIndentGuide.background":"#6a737d","editorIndentGuide.activeBackground":"#f6f8fa","editor.selectionHighlightBorder":"#444d56"}})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4451.0a12e4b67fece561.js b/dbgpt/app/static/web/_next/static/chunks/4451.0a12e4b67fece561.js deleted file mode 100644 index a1334921e..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/4451.0a12e4b67fece561.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4451],{96991:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(87462),a=l(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zM464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16z"}}]},name:"appstore",theme:"filled"},r=l(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},37653:function(e,t,l){"use strict";var n=l(87462),a=l(67294),i=l(26554),r=l(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},43929:function(e,t,l){"use strict";var n=l(87462),a=l(67294),i=l(50756),r=l(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},36986:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(87462),a=l(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-12-12-28.3-18.7-45.3-18.7H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 176h256v112H384V176zm128 554c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zm0-224c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80z"}}]},name:"save",theme:"filled"},r=l(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},49591:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(87462),a=l(67294),i={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 32h360c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H184V184h656v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM653.3 599.4l52.2-52.2a8.01 8.01 0 00-4.7-13.6l-179.4-21c-5.1-.6-9.5 3.7-8.9 8.9l21 179.4c.8 6.6 8.9 9.4 13.6 4.7l52.4-52.4 256.2 256.2c3.1 3.1 8.2 3.1 11.3 0l42.4-42.4c3.1-3.1 3.1-8.2 0-11.3L653.3 599.4z"}}]},name:"select",theme:"outlined"},r=l(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},88484:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(87462),a=l(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},r=l(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},99134:function(e,t,l){"use strict";var n=l(67294);let a=(0,n.createContext)({});t.Z=a},21584:function(e,t,l){"use strict";var n=l(67294),a=l(93967),i=l.n(a),r=l(53124),s=l(99134),o=l(6999),d=function(e,t){var l={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(l[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(l[n[a]]=e[n[a]]);return l};function c(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let u=["xs","sm","md","lg","xl","xxl"],h=n.forwardRef((e,t)=>{let{getPrefixCls:l,direction:a}=n.useContext(r.E_),{gutter:h,wrap:m}=n.useContext(s.Z),{prefixCls:v,span:f,order:p,offset:x,push:y,pull:g,className:j,children:w,flex:b,style:_}=e,N=d(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),Z=l("col",v),[C,$,k]=(0,o.cG)(Z),S={},O={};u.forEach(t=>{let l={},n=e[t];"number"==typeof n?l.span=n:"object"==typeof n&&(l=n||{}),delete N[t],O=Object.assign(Object.assign({},O),{[`${Z}-${t}-${l.span}`]:void 0!==l.span,[`${Z}-${t}-order-${l.order}`]:l.order||0===l.order,[`${Z}-${t}-offset-${l.offset}`]:l.offset||0===l.offset,[`${Z}-${t}-push-${l.push}`]:l.push||0===l.push,[`${Z}-${t}-pull-${l.pull}`]:l.pull||0===l.pull,[`${Z}-rtl`]:"rtl"===a}),l.flex&&(O[`${Z}-${t}-flex`]=!0,S[`--${Z}-${t}-flex`]=c(l.flex))});let E=i()(Z,{[`${Z}-${f}`]:void 0!==f,[`${Z}-order-${p}`]:p,[`${Z}-offset-${x}`]:x,[`${Z}-push-${y}`]:y,[`${Z}-pull-${g}`]:g},j,O,$,k),P={};if(h&&h[0]>0){let e=h[0]/2;P.paddingLeft=e,P.paddingRight=e}return b&&(P.flex=c(b),!1!==m||P.minWidth||(P.minWidth=0)),C(n.createElement("div",Object.assign({},N,{style:Object.assign(Object.assign(Object.assign({},P),_),S),className:E,ref:t}),w))});t.Z=h},92820:function(e,t,l){"use strict";var n=l(67294),a=l(93967),i=l.n(a),r=l(74443),s=l(53124),o=l(99134),d=l(6999),c=function(e,t){var l={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(l[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(l[n[a]]=e[n[a]]);return l};function u(e,t){let[l,a]=n.useState("string"==typeof e?e:""),i=()=>{if("string"==typeof e&&a(e),"object"==typeof e)for(let l=0;l{i()},[JSON.stringify(e),t]),l}let h=n.forwardRef((e,t)=>{let{prefixCls:l,justify:a,align:h,className:m,style:v,children:f,gutter:p=0,wrap:x}=e,y=c(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:g,direction:j}=n.useContext(s.E_),[w,b]=n.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[_,N]=n.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),Z=u(h,_),C=u(a,_),$=n.useRef(p),k=(0,r.ZP)();n.useEffect(()=>{let e=k.subscribe(e=>{N(e);let t=$.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&b(e)});return()=>k.unsubscribe(e)},[]);let S=g("row",l),[O,E,P]=(0,d.VM)(S),M=(()=>{let e=[void 0,void 0],t=Array.isArray(p)?p:[p,void 0];return t.forEach((t,l)=>{if("object"==typeof t)for(let n=0;n0?-(M[0]/2):void 0;V&&(R.marginLeft=V,R.marginRight=V);let[I,T]=M;R.rowGap=T;let D=n.useMemo(()=>({gutter:[I,T],wrap:x}),[I,T,x]);return O(n.createElement(o.Z.Provider,{value:D},n.createElement("div",Object.assign({},y,{className:z,style:Object.assign(Object.assign({},R),v),ref:t}),f)))});t.Z=h},6999:function(e,t,l){"use strict";l.d(t,{VM:function(){return c},cG:function(){return u}});var n=l(47648),a=l(83559),i=l(87893);let r=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},s=(e,t)=>{let{prefixCls:l,componentCls:n,gridColumns:a}=e,i={};for(let e=a;e>=0;e--)0===e?(i[`${n}${t}-${e}`]={display:"none"},i[`${n}-push-${e}`]={insetInlineStart:"auto"},i[`${n}-pull-${e}`]={insetInlineEnd:"auto"},i[`${n}${t}-push-${e}`]={insetInlineStart:"auto"},i[`${n}${t}-pull-${e}`]={insetInlineEnd:"auto"},i[`${n}${t}-offset-${e}`]={marginInlineStart:0},i[`${n}${t}-order-${e}`]={order:0}):(i[`${n}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/a*100}%`,maxWidth:`${e/a*100}%`}],i[`${n}${t}-push-${e}`]={insetInlineStart:`${e/a*100}%`},i[`${n}${t}-pull-${e}`]={insetInlineEnd:`${e/a*100}%`},i[`${n}${t}-offset-${e}`]={marginInlineStart:`${e/a*100}%`},i[`${n}${t}-order-${e}`]={order:e});return i[`${n}${t}-flex`]={flex:`var(--${l}${t}-flex)`},i},o=(e,t)=>s(e,t),d=(e,t,l)=>({[`@media (min-width: ${(0,n.bf)(t)})`]:Object.assign({},o(e,l))}),c=(0,a.I$)("Grid",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"}}}},()=>({})),u=(0,a.I$)("Grid",e=>{let t=(0,i.IX)(e,{gridColumns:24}),l={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[r(t),o(t,""),o(t,"-xs"),Object.keys(l).map(e=>d(t,l[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},21332:function(e,t,l){"use strict";l.d(t,{_:function(){return R},a:function(){return M}});var n=l(85893),a=l(34041),i=l(71230),r=l(15746),s=l(42075),o=l(83062),d=l(14726),c=l(32983),u=l(99802),h=l(64371),m=l(64352),v=l(8625),f=l(96486);let p=e=>{let{charts:t,scopeOfCharts:l,ruleConfig:n}=e,a={};if(null==t||t.forEach(e=>{if(e.chartKnowledge.toSpec){let t=e.chartKnowledge.toSpec;e.chartKnowledge.toSpec=(e,l)=>({...t(e,l),dataProps:l})}else e.chartKnowledge.toSpec=(e,t)=>({dataProps:t});a[e.chartType]=e.chartKnowledge}),(null==l?void 0:l.exclude)&&l.exclude.forEach(e=>{Object.keys(a).includes(e)&&delete a[e]}),null==l?void 0:l.include){let e=l.include;Object.keys(a).forEach(t=>{e.includes(t)||delete a[t]})}let i={...l,custom:a},r={...n},s=new m.w({ckbCfg:i,ruleCfg:r});return s},x=e=>{var t;let{data:l,dataMetaMap:n,myChartAdvisor:a}=e,i=n?Object.keys(n).map(e=>({name:e,...n[e]})):null,r=new v.Z(l).info(),s=(0,f.size)(r)>2?null==r?void 0:r.filter(e=>"string"!==e.recommendation&&"date"!==e.recommendation||e.distinct&&e.distinct>1):r,o=null==a?void 0:a.adviseWithLog({data:l,dataProps:i,fields:null==s?void 0:s.map(e=>e.name)});return null!==(t=null==o?void 0:o.advices)&&void 0!==t?t:[]};var y=l(67294);function g(e,t){return t.every(t=>e.includes(t))}function j(e,t){let l=t.find(t=>t.name===e);return(null==l?void 0:l.recommendation)==="date"?t=>new Date(t[e]):e}function w(e){return e.find(e=>{var t;return e.levelOfMeasurements&&(t=e.levelOfMeasurements,["Time","Ordinal"].some(e=>t.includes(e)))})}function b(e){return e.find(e=>e.levelOfMeasurements&&g(e.levelOfMeasurements,["Nominal"]))}let _=e=>{let{data:t,xField:l}=e,n=(0,f.uniq)(t.map(e=>e[l]));return n.length<=1},N=(e,t,l)=>{let{field4Split:n,field4X:a}=l;if((null==n?void 0:n.name)&&(null==a?void 0:a.name)){let l=e[n.name],i=t.filter(e=>n.name&&e[n.name]===l);return _({data:i,xField:a.name})?5:void 0}return(null==a?void 0:a.name)&&_({data:t,xField:a.name})?5:void 0},Z=e=>{let{data:t,chartType:l,xField:n}=e,a=(0,f.cloneDeep)(t);try{if(l.includes("line")&&(null==n?void 0:n.name)&&"date"===n.recommendation)return a.sort((e,t)=>new Date(e[n.name]).getTime()-new Date(t[n.name]).getTime()),a;l.includes("line")&&(null==n?void 0:n.name)&&["float","integer"].includes(n.recommendation)&&a.sort((e,t)=>e[n.name]-t[n.name])}catch(e){console.error(e)}return a},C=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return e.map(e=>{let l={};return Object.keys(e).forEach(n=>{l[n]=e[n]===t?null:e[n]}),l})},$="multi_line_chart",k="multi_measure_line_chart",S=[{chartType:"multi_line_chart",chartKnowledge:{id:$,name:"multi_line_chart",alias:["multi_line_chart"],family:["LineCharts"],def:"multi_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{var l,n;let a=w(t),i=b(t),r=null!==(l=null!=a?a:i)&&void 0!==l?l:t[0],s=t.filter(e=>e.name!==(null==r?void 0:r.name)),o=null!==(n=s.filter(e=>e.levelOfMeasurements&&g(e.levelOfMeasurements,["Interval"])))&&void 0!==n?n:[s[0]],d=s.filter(e=>!o.find(t=>t.name===e.name)).find(e=>e.levelOfMeasurements&&g(e.levelOfMeasurements,["Nominal"]));if(!r||!o)return null;let c={type:"view",autoFit:!0,data:Z({data:e,chartType:$,xField:r}),children:[]};return o.forEach(l=>{let n={type:"line",encode:{x:j(r.name,t),y:l.name,size:t=>N(t,e,{field4Split:d,field4X:r})},legend:{size:!1}};d&&(n.encode.color=d.name),c.children.push(n)}),c}},chineseName:"折线图"},{chartType:"multi_measure_column_chart",chartKnowledge:{id:"multi_measure_column_chart",name:"multi_measure_column_chart",alias:["multi_measure_column_chart"],family:["ColumnCharts"],def:"multi_measure_column_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{try{let l=null==t?void 0:t.filter(e=>g(e.levelOfMeasurements,["Interval"])),n=b(t),a=w(t),i=null!=n?n:a;if(!i||!l)return null;let r={type:"view",data:e,children:[]};return null==l||l.forEach(e=>{let t={type:"interval",encode:{x:i.name,y:e.name,color:()=>e.name,series:()=>e.name}};r.children.push(t)}),r}catch(e){return console.log(e),null}}},chineseName:"折线图"},{chartType:"multi_measure_line_chart",chartKnowledge:{id:k,name:"multi_measure_line_chart",alias:["multi_measure_line_chart"],family:["LineCharts"],def:"multi_measure_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{try{var l,n;let a=null!==(n=null!==(l=b(t))&&void 0!==l?l:w(t))&&void 0!==n?n:t[0],i=null==t?void 0:t.filter(e=>e.name!==(null==a?void 0:a.name)&&g(e.levelOfMeasurements,["Interval"]));if(!a||!i)return null;let r={type:"view",data:Z({data:e,chartType:k,xField:a}),children:[]};return null==i||i.forEach(l=>{let n={type:"line",encode:{x:j(a.name,t),y:l.name,color:()=>l.name,series:()=>l.name,size:t=>N(t,e,{field4X:a})},legend:{size:!1}};r.children.push(n)}),r}catch(e){return console.log(e),null}}},chineseName:"折线图"}];var O=l(41468);let E=e=>{if(!e)return;let t=e.getContainer(),l=t.getElementsByTagName("canvas")[0];return l};var P=l(69753);let M=e=>"response_line_chart"===e?["multi_line_chart","multi_measure_line_chart"]:"response_bar_chart"===e?["multi_measure_column_chart"]:"response_pie_chart"===e?["pie_chart"]:"response_scatter_chart"===e?["scatter_plot"]:"response_area_chart"===e?["area_chart"]:"response_heatmap_chart"===e?["heatmap"]:[],{Option:z}=a.default,R=e=>{let{data:t,chartType:l,scopeOfCharts:m,ruleConfig:v}=e,g=C(t),{mode:j}=(0,y.useContext)(O.p),[w,b]=(0,y.useState)(),[_,N]=(0,y.useState)([]),[$,k]=(0,y.useState)(),M=(0,y.useRef)();(0,y.useEffect)(()=>{b(p({charts:S,scopeOfCharts:{exclude:["area_chart","stacked_area_chart","percent_stacked_area_chart"]},ruleConfig:v}))},[v,m]);let R=e=>{if(!w)return[];let t=function(e){let{advices:t}=e;return t}({advices:e}),n=(0,f.uniq)((0,f.compact)((0,f.concat)(l,e.map(e=>e.type)))),a=n.map(e=>{let l=t.find(t=>t.type===e);if(l)return l;let n=w.dataAnalyzer.execute({data:g});if("data"in n){var a;let t=w.specGenerator.execute({data:n.data,dataProps:n.dataProps,chartTypeRecommendations:[{chartType:e,score:1}]});if("advices"in t)return null===(a=t.advices)||void 0===a?void 0:a[0]}}).filter(e=>null==e?void 0:e.spec);return a};(0,y.useEffect)(()=>{if(g&&w){var e;let t=x({data:g,myChartAdvisor:w}),l=R(t);N(l),k(null===(e=l[0])||void 0===e?void 0:e.type)}},[JSON.stringify(g),w,l]);let V=(0,y.useMemo)(()=>{if((null==_?void 0:_.length)>0){var e,t,l,a;let i=null!=$?$:_[0].type,r=null!==(t=null===(e=null==_?void 0:_.find(e=>e.type===i))||void 0===e?void 0:e.spec)&&void 0!==t?t:void 0;if(r){if(r.data&&["line_chart","step_line_chart"].includes(i)){let e=null==w?void 0:w.dataAnalyzer.execute({data:g});e&&"dataProps"in e&&(r.data=Z({data:r.data,xField:null===(a=e.dataProps)||void 0===a?void 0:a.find(e=>"date"===e.recommendation),chartType:i}))}return"pie_chart"===i&&(null==r?void 0:null===(l=r.encode)||void 0===l?void 0:l.color)&&(r.tooltip={title:{field:r.encode.color}}),(0,n.jsx)(u.k,{options:{...r,autoFit:!0,theme:j,height:300},ref:M},i)}}},[_,j,$]);return $?(0,n.jsxs)("div",{children:[(0,n.jsxs)(i.Z,{justify:"space-between",className:"mb-2",children:[(0,n.jsx)(r.Z,{children:(0,n.jsxs)(s.Z,{children:[(0,n.jsx)("span",{children:h.Z.t("Advices")}),(0,n.jsx)(a.default,{className:"w-52",value:$,placeholder:"Chart Switcher",onChange:e=>k(e),size:"small",children:null==_?void 0:_.map(e=>{let t=h.Z.t(e.type);return(0,n.jsx)(z,{value:e.type,children:(0,n.jsx)(o.Z,{title:t,placement:"right",children:(0,n.jsx)("div",{children:t})})},e.type)})})]})}),(0,n.jsx)(r.Z,{children:(0,n.jsx)(o.Z,{title:h.Z.t("Download"),children:(0,n.jsx)(d.ZP,{onClick:()=>(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Chart",l=document.createElement("a"),n="".concat(t,".png");setTimeout(()=>{let t=function(e){let t=E(e);if(t){let e=t.toDataURL("image/png");return e}}(e);if(t){l.addEventListener("click",()=>{l.download=n,l.href=t});let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),l.dispatchEvent(e)}},16)})(M.current,h.Z.t($)),icon:(0,n.jsx)(P.Z,{}),type:"text"})})})]}),(0,n.jsx)("div",{className:"flex",children:V})]}):(0,n.jsx)(c.Z,{image:c.Z.PRESENTED_IMAGE_SIMPLE,description:"暂无合适的可视化视图"})}},39156:function(e,t,l){"use strict";l.d(t,{_z:function(){return f._},ZP:function(){return p},aG:function(){return f.a}});var n=l(85893),a=l(41118),i=l(30208),r=l(40911),s=l(41468),o=l(99802),d=l(67294);function c(e){let{chart:t}=e,{mode:l}=(0,d.useContext)(s.p);return(0,n.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,n.jsxs)("div",{className:"h-full",children:[(0,n.jsx)("div",{className:"mb-2",children:t.chart_name}),(0,n.jsx)("div",{className:"opacity-80 text-sm mb-2",children:t.chart_desc}),(0,n.jsx)("div",{className:"h-[300px]",children:(0,n.jsx)(o.k,{style:{height:"100%"},options:{autoFit:!0,theme:l,type:"interval",data:t.values,encode:{x:"name",y:"value",color:"type"},axis:{x:{labelAutoRotate:!1}}}})})]})})}function u(e){let{chart:t}=e,{mode:l}=(0,d.useContext)(s.p);return(0,n.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,n.jsxs)("div",{className:"h-full",children:[(0,n.jsx)("div",{className:"mb-2",children:t.chart_name}),(0,n.jsx)("div",{className:"opacity-80 text-sm mb-2",children:t.chart_desc}),(0,n.jsx)("div",{className:"h-[300px]",children:(0,n.jsx)(o.k,{style:{height:"100%"},options:{autoFit:!0,theme:l,type:"view",data:t.values,children:[{type:"line",encode:{x:"name",y:"value",color:"type",shape:"smooth"}},{type:"area",encode:{x:"name",y:"value",color:"type",shape:"smooth"},legend:!1,style:{fillOpacity:.15}}],axis:{x:{labelAutoRotate:!1}}}})})]})})}var h=l(61685),m=l(96486);function v(e){var t,l;let{chart:a}=e,i=(0,m.groupBy)(a.values,"type");return(0,n.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,n.jsxs)("div",{className:"h-full",children:[(0,n.jsx)("div",{className:"mb-2",children:a.chart_name}),(0,n.jsx)("div",{className:"opacity-80 text-sm mb-2",children:a.chart_desc}),(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsxs)(h.Z,{"aria-label":"basic table",stripe:"odd",hoverRow:!0,borderAxis:"bothBetween",children:[(0,n.jsx)("thead",{children:(0,n.jsx)("tr",{children:Object.keys(i).map(e=>(0,n.jsx)("th",{children:e},e))})}),(0,n.jsx)("tbody",{children:null===(t=Object.values(i))||void 0===t?void 0:null===(l=t[0])||void 0===l?void 0:l.map((e,t)=>{var l;return(0,n.jsx)("tr",{children:null===(l=Object.keys(i))||void 0===l?void 0:l.map(e=>{var l;return(0,n.jsx)("td",{children:(null==i?void 0:null===(l=i[e])||void 0===l?void 0:l[t].value)||""},e)})},t)})})]})})]})})}var f=l(21332),p=function(e){let{chartsData:t}=e;console.log(t,"xxx");let l=(0,d.useMemo)(()=>{if(t){let e=[],l=null==t?void 0:t.filter(e=>"IndicatorValue"===e.chart_type);l.length>0&&e.push({charts:l,type:"IndicatorValue"});let n=null==t?void 0:t.filter(e=>"IndicatorValue"!==e.chart_type),a=n.length,i=0;return[[0],[1],[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]][a].forEach(t=>{if(t>0){let l=n.slice(i,i+t);i+=t,e.push({charts:l})}}),e}},[t]);return(0,n.jsx)("div",{className:"flex flex-col gap-3",children:null==l?void 0:l.map((e,t)=>(0,n.jsx)("div",{className:"".concat((null==e?void 0:e.type)!=="IndicatorValue"?"flex gap-3":""),children:e.charts.map(e=>"IndicatorValue"===e.chart_type||"IndicatorValue"===e.type?(0,n.jsx)("div",{className:"flex flex-row gap-3",children:e.values.map(e=>(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsx)(a.Z,{sx:{background:"transparent"},children:(0,n.jsxs)(i.Z,{className:"justify-around",children:[(0,n.jsx)(r.ZP,{gutterBottom:!0,component:"div",children:e.name}),(0,n.jsx)(r.ZP,{children:e.value})]})})},e.name))},e.chart_uid):"LineChart"===e.chart_type||"LineChart"===e.type?(0,n.jsx)(u,{chart:e},e.chart_uid):"BarChart"===e.chart_type||"BarChart"===e.type?(0,n.jsx)(c,{chart:e},e.chart_uid):"Table"===e.chart_type||"TableChartData"===e.type?(0,n.jsx)(v,{chart:e},e.chart_uid):void 0)},"chart_row_".concat(t)))})}},96307:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return P}});var n=l(85893),a=l(67294),i=l(65654),r=l(42611),s=l(83062),o=l(34041),d=l(14726),c=l(16165),u=l(55102),h=l(41952),m=l(74434),v=l(30119),f=l(39332),p=l(34625),x=l(39156),y=l(37653),g=l(43929),j=l(14313),w=l(36986);function b(){return(0,n.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"49817",width:"1em",height:"1em",children:[(0,n.jsx)("path",{d:"M512 64c-247.424 0-448 62.72-448 140.032v112c0 77.312 200.576 139.968 448 139.968s448-62.72 448-140.032v-112C960 126.72 759.424 64 512 64z m0 728c-247.424 0-448-62.72-448-140.032v168.064C64 897.28 264.576 960 512 960s448-62.72 448-140.032v-167.936c0 77.312-200.576 139.968-448 139.968z",fill:"#3699FF","p-id":"49818"}),(0,n.jsx)("path",{d:"M512 540.032c-247.424 0-448-62.72-448-140.032v168c0 77.312 200.576 140.032 448 140.032s448-62.72 448-140.032V400c0 77.312-200.576 140.032-448 140.032z",fill:"#3699FF",opacity:".32","p-id":"49819"})]})}function _(){return(0,n.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"59847",width:"1em",height:"1em",children:[(0,n.jsx)("path",{d:"M149.2 99.7h726.6c27.7 0 50.1 22.4 50.1 50.1V336H99.1V149.8c0-27.6 22.4-50.1 50.1-50.1z",fill:"#1ECD93","p-id":"59848"}),(0,n.jsx)("path",{d:"M99.1 395h236.2v236.3H99.1zM99.1 690.3h236.2v236.2H149.2c-27.7 0-50.1-22.4-50.1-50.1V690.3zM394.4 395h236.2v236.3H394.4z",fill:"#1ECD93","fill-opacity":".5","p-id":"59849"}),(0,n.jsx)("path",{d:"M394.4 690.3h236.2v236.3H394.4z",fill:"#A1E6C9","p-id":"59850","data-spm-anchor-id":"a313x.search_index.0.i13.27343a81CqKUWU"}),(0,n.jsx)("path",{d:"M689.7 395h236.2v236.3H689.7z",fill:"#1ECD93","fill-opacity":".5","p-id":"59851"}),(0,n.jsx)("path",{d:"M689.7 690.3h236.2v186.1c0 27.7-22.4 50.1-50.1 50.1H689.7V690.3z",fill:"#A1E6C9","p-id":"59852","data-spm-anchor-id":"a313x.search_index.0.i17.27343a81CqKUWU"})]})}function N(){return(0,n.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"67616",width:"1em",height:"1em",children:(0,n.jsx)("path",{d:"M39.385 204.83h346.571L252.054 976.74l-23.63 39.383h259.929v-31.506L614.379 204.83H771.91S960.951 220.584 984.581 0.038H236.3S94.52-7.84 39.384 204.83",fill:"#1296db","p-id":"67617"})})}var Z=l(93967),C=l.n(Z),$=l(91085),k=function(){return(0,n.jsx)("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",version:"1.1",children:(0,n.jsx)("path",{d:"M171.85792 110.9504a58.65472 58.65472 0 0 0-58.65472 58.65472v701.9008a58.7264 58.7264 0 0 0 58.65472 58.65472h680.28416a58.7264 58.7264 0 0 0 58.65472-58.65472V169.64608a57.98912 57.98912 0 0 0-17.08032-41.41056 58.1632 58.1632 0 0 0-41.472-17.27488H171.85792z m670.60736 750.77632H181.53472V554.77248h660.93056v306.95424z m0-375.38816H181.53472V179.38432h660.93056v306.95424z","p-id":"14553"})})},S=function(){return(0,n.jsx)("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",version:"1.1",children:(0,n.jsx)("path",{d:"M161.05472 919.3472h701.9008a58.71616 58.71616 0 0 0 58.65472-58.65472V180.40832a58.71616 58.71616 0 0 0-58.65472-58.65472H161.09568a58.03008 58.03008 0 0 0-41.4208 17.08032A58.1632 58.1632 0 0 0 102.4 180.30592v680.38656a58.64448 58.64448 0 0 0 58.65472 58.65472z m385.15712-589.568V190.08512h306.95424v660.93056H546.21184V329.7792zM170.83392 190.08512h306.95424v660.93056H170.83392V190.08512z","p-id":"13913"})})};let{Search:O}=u.default;function E(e){let{layout:t="LR",editorValue:l,chartData:i,tableData:s,tables:o,handleChange:d}=e,c=(0,a.useMemo)(()=>i?(0,n.jsx)("div",{className:"flex-1 overflow-auto p-2",style:{flexShrink:0,overflow:"hidden"},children:(0,n.jsx)(x.ZP,{chartsData:[i]})}):null,[i]),{columns:u,dataSource:h}=(0,a.useMemo)(()=>{let{columns:e=[],values:t=[]}=null!=s?s:{},l=e.map(e=>({key:e,dataIndex:e,title:e})),n=t.map(t=>t.reduce((t,l,n)=>(t[e[n]]=l,t),{}));return{columns:l,dataSource:n}},[s]),v=(0,a.useMemo)(()=>{let e={},t=null==o?void 0:o.data,l=null==t?void 0:t.children;return null==l||l.forEach(t=>{e[t.title]=t.children.map(e=>({columnName:e.title,columnType:e.type}))}),{getTableList:async e=>e&&e!==(null==t?void 0:t.title)?[]:(null==l?void 0:l.map(e=>e.title))||[],getTableColumns:async t=>e[t]||[],getSchemaList:async()=>(null==t?void 0:t.title)?[null==t?void 0:t.title]:[]}},[o]);return(0,n.jsxs)("div",{className:C()("flex w-full flex-1 h-full gap-2 overflow-hidden",{"flex-col":"TB"===t,"flex-row":"LR"===t}),children:[(0,n.jsx)("div",{className:"flex-1 flex overflow-hidden rounded",children:(0,n.jsx)(m.Z,{value:(null==l?void 0:l.sql)||"",language:"mysql",onChange:d,thoughts:(null==l?void 0:l.thoughts)||"",session:v})}),(0,n.jsxs)("div",{className:"flex-1 h-full overflow-auto bg-white dark:bg-theme-dark-container rounded p-4",children:[(null==s?void 0:s.values.length)?(0,n.jsx)(r.Z,{bordered:!0,scroll:{x:"auto"},rowKey:u[0].key,columns:u,dataSource:h}):(0,n.jsx)("div",{className:"h-full flex justify-center items-center",children:(0,n.jsx)($.Z,{})}),c]})]})}var P=function(){var e,t,l,r,u;let[m,x]=(0,a.useState)([]),[Z,$]=(0,a.useState)(""),[P,M]=(0,a.useState)(),[z,R]=(0,a.useState)(!0),[V,I]=(0,a.useState)(),[T,D]=(0,a.useState)(),[H,L]=(0,a.useState)(),[q,A]=(0,a.useState)(),[B,F]=(0,a.useState)(),[U,Q]=(0,a.useState)(!1),[G,K]=(0,a.useState)("TB"),W=(0,f.useSearchParams)(),X=null==W?void 0:W.get("id"),J=null==W?void 0:W.get("scene"),{data:Y,loading:ee}=(0,i.Z)(async()=>await (0,v.Tk)("/v1/editor/sql/rounds",{con_uid:X}),{onSuccess:e=>{var t,l;let n=null==e?void 0:null===(t=e.data)||void 0===t?void 0:t[(null==e?void 0:null===(l=e.data)||void 0===l?void 0:l.length)-1];n&&M(null==n?void 0:n.round)}}),{run:et,loading:el}=(0,i.Z)(async()=>{var e,t;let l=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===P))||void 0===e?void 0:e.db_name;return await (0,v.PR)("/api/v1/editor/sql/run",{db_name:l,sql:null==H?void 0:H.sql})},{manual:!0,onSuccess:e=>{var t,l;A({columns:null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.colunms,values:null==e?void 0:null===(l=e.data)||void 0===l?void 0:l.values})}}),{run:en,loading:ea}=(0,i.Z)(async()=>{var e,t;let l=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===P))||void 0===e?void 0:e.db_name,n={db_name:l,sql:null==H?void 0:H.sql};return"chat_dashboard"===J&&(n.chart_type=null==H?void 0:H.showcase),await (0,v.PR)("/api/v1/editor/chart/run",n)},{manual:!0,ready:!!(null==H?void 0:H.sql),onSuccess:e=>{if(null==e?void 0:e.success){var t,l,n,a,i,r,s;A({columns:(null==e?void 0:null===(t=e.data)||void 0===t?void 0:null===(l=t.sql_data)||void 0===l?void 0:l.colunms)||[],values:(null==e?void 0:null===(n=e.data)||void 0===n?void 0:null===(a=n.sql_data)||void 0===a?void 0:a.values)||[]}),(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.chart_values)?I({type:null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.chart_type,values:null==e?void 0:null===(s=e.data)||void 0===s?void 0:s.chart_values,title:null==H?void 0:H.title,description:null==H?void 0:H.thoughts}):I(void 0)}}}),{run:ei,loading:er}=(0,i.Z)(async()=>{var e,t,l,n,a;let i=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===P))||void 0===e?void 0:e.db_name;return await (0,v.PR)("/api/v1/sql/editor/submit",{conv_uid:X,db_name:i,conv_round:P,old_sql:null==T?void 0:T.sql,old_speak:null==T?void 0:T.thoughts,new_sql:null==H?void 0:H.sql,new_speak:(null===(l=null==H?void 0:null===(n=H.thoughts)||void 0===n?void 0:n.match(/^\n--(.*)\n\n$/))||void 0===l?void 0:null===(a=l[1])||void 0===a?void 0:a.trim())||(null==H?void 0:H.thoughts)})},{manual:!0,onSuccess:e=>{(null==e?void 0:e.success)&&et()}}),{run:es,loading:eo}=(0,i.Z)(async()=>{var e,t,l,n,a,i;let r=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===P))||void 0===e?void 0:e.db_name;return await (0,v.PR)("/api/v1/chart/editor/submit",{conv_uid:X,chart_title:null==H?void 0:H.title,db_name:r,old_sql:null==T?void 0:null===(l=T[B])||void 0===l?void 0:l.sql,new_chart_type:null==H?void 0:H.showcase,new_sql:null==H?void 0:H.sql,new_comment:(null===(n=null==H?void 0:null===(a=H.thoughts)||void 0===a?void 0:a.match(/^\n--(.*)\n\n$/))||void 0===n?void 0:null===(i=n[1])||void 0===i?void 0:i.trim())||(null==H?void 0:H.thoughts),gmt_create:new Date().getTime()})},{manual:!0,onSuccess:e=>{(null==e?void 0:e.success)&&en()}}),{data:ed}=(0,i.Z)(async()=>{var e,t;let l=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===P))||void 0===e?void 0:e.db_name;return await (0,v.Tk)("/v1/editor/db/tables",{db_name:l,page_index:1,page_size:200})},{ready:!!(null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===P))||void 0===e?void 0:e.db_name),refreshDeps:[null===(l=null==Y?void 0:null===(r=Y.data)||void 0===r?void 0:r.find(e=>e.round===P))||void 0===l?void 0:l.db_name]}),{run:ec}=(0,i.Z)(async e=>await (0,v.Tk)("/v1/editor/sql",{con_uid:X,round:e}),{manual:!0,onSuccess:e=>{let t;try{if(Array.isArray(null==e?void 0:e.data))t=null==e?void 0:e.data,F(0);else if("string"==typeof(null==e?void 0:e.data)){let l=JSON.parse(null==e?void 0:e.data);t=l}else t=null==e?void 0:e.data}catch(e){console.log(e)}finally{D(t),Array.isArray(t)?L(null==t?void 0:t[Number(B||0)]):L(t)}}}),eu=(0,a.useMemo)(()=>{let e=(t,l)=>t.map(t=>{let a=t.title,i=a.indexOf(Z),r=a.substring(0,i),o=a.slice(i+Z.length),d=e=>{switch(e){case"db":return(0,n.jsx)(b,{});case"table":return(0,n.jsx)(_,{});default:return(0,n.jsx)(N,{})}},c=i>-1?(0,n.jsx)(s.Z,{title:((null==t?void 0:t.comment)||(null==t?void 0:t.title))+((null==t?void 0:t.can_null)==="YES"?"(can null)":"(can't null)"),children:(0,n.jsxs)("div",{className:"flex items-center",children:[d(t.type),"\xa0\xa0\xa0",r,(0,n.jsx)("span",{className:"text-[#1677ff]",children:Z}),o,"\xa0",(null==t?void 0:t.type)&&(0,n.jsx)("div",{className:"text-gray-400",children:null==t?void 0:t.type})]})}):(0,n.jsx)(s.Z,{title:((null==t?void 0:t.comment)||(null==t?void 0:t.title))+((null==t?void 0:t.can_null)==="YES"?"(can null)":"(can't null)"),children:(0,n.jsxs)("div",{className:"flex items-center",children:[d(t.type),"\xa0\xa0\xa0",a,"\xa0",(null==t?void 0:t.type)&&(0,n.jsx)("div",{className:"text-gray-400",children:null==t?void 0:t.type})]})});if(t.children){let n=l?String(l)+"_"+t.key:t.key;return{title:a,showTitle:c,key:n,children:e(t.children,n)}}return{title:a,showTitle:c,key:t.key}});return(null==ed?void 0:ed.data)?(x([null==ed?void 0:ed.data.key]),e([null==ed?void 0:ed.data])):[]},[Z,ed]),eh=(0,a.useMemo)(()=>{let e=[],t=(l,n)=>{if(l&&!((null==l?void 0:l.length)<=0))for(let a=0;a{let l;for(let n=0;nt.key===e)?l=a.key:em(e,a.children)&&(l=em(e,a.children)))}return l};function ev(e){let t;if(!e)return{sql:"",thoughts:""};let l=e&&e.match(/(--.*)?\n?([\s\S]*)/),n="";return l&&l.length>=3&&(n=l[1],t=l[2]),{sql:t,thoughts:n}}return(0,a.useEffect)(()=>{P&&ec(P)},[ec,P]),(0,a.useEffect)(()=>{T&&"chat_dashboard"===J&&B&&en()},[B,J,T,en]),(0,a.useEffect)(()=>{T&&"chat_dashboard"!==J&&et()},[J,T,et]),(0,n.jsxs)("div",{className:"flex flex-col w-full h-full overflow-hidden",children:[(0,n.jsx)(p.Z,{}),(0,n.jsxs)("div",{className:"relative flex flex-1 p-4 pt-0 overflow-hidden",children:[(0,n.jsxs)("div",{className:"relative flex overflow-hidden mr-4",children:[(0,n.jsx)("div",{className:C()("h-full relative transition-[width] overflow-hidden",{"w-0":U,"w-64":!U}),children:(0,n.jsxs)("div",{className:"relative w-64 h-full overflow-hidden flex flex-col rounded bg-white dark:bg-theme-dark-container p-4",children:[(0,n.jsx)(o.default,{size:"middle",className:"w-full mb-2",value:P,options:null==Y?void 0:null===(u=Y.data)||void 0===u?void 0:u.map(e=>({label:e.round_name,value:e.round})),onChange:e=>{M(e)}}),(0,n.jsx)(O,{className:"mb-2",placeholder:"Search",onChange:e=>{let{value:t}=e.target;if(null==ed?void 0:ed.data){if(t){let e=eh.map(e=>e.title.indexOf(t)>-1?em(e.key,eu):null).filter((e,t,l)=>e&&l.indexOf(e)===t);x(e)}else x([]);$(t),R(!0)}}}),eu&&eu.length>0&&(0,n.jsx)("div",{className:"flex-1 overflow-y-auto",children:(0,n.jsx)(h.Z,{onExpand:e=>{x(e),R(!1)},expandedKeys:m,autoExpandParent:z,treeData:eu,fieldNames:{title:"showTitle"}})})]})}),(0,n.jsx)("div",{className:"absolute right-0 top-0 translate-x-full h-full flex items-center justify-center opacity-0 hover:opacity-100 group-hover/side:opacity-100 transition-opacity",children:(0,n.jsx)("div",{className:"bg-white w-4 h-10 flex items-center justify-center dark:bg-theme-dark-container rounded-tr rounded-br z-10 text-xs cursor-pointer shadow-[4px_0_10px_rgba(0,0,0,0.06)] text-opacity-80",onClick:()=>{Q(!U)},children:U?(0,n.jsx)(g.Z,{}):(0,n.jsx)(y.Z,{})})})]}),(0,n.jsxs)("div",{className:"flex flex-col flex-1 max-w-full overflow-hidden",children:[(0,n.jsxs)("div",{className:"mb-2 bg-white dark:bg-theme-dark-container p-2 flex justify-between items-center",children:[(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)(d.ZP,{className:"text-xs rounded-none",size:"small",type:"primary",icon:(0,n.jsx)(j.Z,{}),loading:el||ea,onClick:async()=>{"chat_dashboard"===J?en():et()},children:"Run"}),(0,n.jsx)(d.ZP,{className:"text-xs rounded-none",type:"primary",size:"small",loading:er||eo,icon:(0,n.jsx)(w.Z,{}),onClick:async()=>{"chat_dashboard"===J?await es():await ei()},children:"Save"})]}),(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)(c.Z,{className:C()("flex items-center justify-center w-6 h-6 text-lg rounded",{"bg-theme-primary bg-opacity-10":"TB"===G}),component:k,onClick:()=>{K("TB")}}),(0,n.jsx)(c.Z,{className:C()("flex items-center justify-center w-6 h-6 text-lg rounded",{"bg-theme-primary bg-opacity-10":"LR"===G}),component:S,onClick:()=>{K("LR")}})]})]}),Array.isArray(T)?(0,n.jsxs)("div",{className:"flex flex-col h-full overflow-hidden",children:[(0,n.jsx)("div",{className:"w-full whitespace-nowrap overflow-x-auto bg-white dark:bg-theme-dark-container mb-2 text-[0px]",children:T.map((e,t)=>(0,n.jsx)(s.Z,{className:"inline-block",title:e.title,children:(0,n.jsx)("div",{className:C()("max-w-[240px] px-3 h-10 text-ellipsis overflow-hidden whitespace-nowrap text-sm leading-10 cursor-pointer font-semibold hover:text-theme-primary transition-colors mr-2 last-of-type:mr-0",{"border-b-2 border-solid border-theme-primary text-theme-primary":B===t}),onClick:()=>{F(t),L(null==T?void 0:T[t])},children:e.title})},e.title))}),(0,n.jsx)("div",{className:"flex flex-1 overflow-hidden",children:T.map((e,t)=>(0,n.jsx)("div",{className:C()("w-full overflow-hidden",{hidden:t!==B,"block flex-1":t===B}),children:(0,n.jsx)(E,{layout:G,editorValue:e,handleChange:e=>{let{sql:t,thoughts:l}=ev(e);L(e=>Object.assign({},e,{sql:t,thoughts:l}))},tableData:q,chartData:V})},e.title))})]}):(0,n.jsx)(E,{layout:G,editorValue:T,handleChange:e=>{let{sql:t,thoughts:l}=ev(e);L(e=>Object.assign({},e,{sql:t,thoughts:l}))},tableData:q,chartData:void 0,tables:ed})]})]})]})}},34625:function(e,t,l){"use strict";l.d(t,{Z:function(){return O}});var n=l(85893),a=l(67294),i=l(45360),r=l(83062),s=l(2913),o=l(14726),d=l(49591),c=l(88484),u=l(29158),h=l(76212),m=l(41468),v=function(e){var t;let{convUid:l,chatMode:v,onComplete:f,...p}=e,[x,y]=(0,a.useState)(!1),[g,j]=i.ZP.useMessage(),[w,b]=(0,a.useState)([]),[_,N]=(0,a.useState)(),{model:Z}=(0,a.useContext)(m.p),C=async e=>{var t;if(!e){i.ZP.error("Please select the *.(csv|xlsx|xls) file");return}if(!/\.(csv|xlsx|xls)$/.test(null!==(t=e.file.name)&&void 0!==t?t:"")){i.ZP.error("File type must be csv, xlsx or xls");return}b([e.file])},$=async()=>{y(!0);try{let e=new FormData;e.append("doc_file",w[0]),g.open({content:"Uploading ".concat(w[0].name),type:"loading",duration:0});let[t]=await (0,h.Vx)((0,h.qn)({convUid:l,chatMode:v,data:e,model:Z,config:{timeout:36e5,onUploadProgress:e=>{let t=Math.ceil(e.loaded/(e.total||0)*100);N(t)}}}));if(t)return;i.ZP.success("success"),null==f||f()}catch(e){i.ZP.error((null==e?void 0:e.message)||"Upload Error")}finally{y(!1),g.destroy()}};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"flex items-start gap-2",children:[j,(0,n.jsx)(r.Z,{placement:"bottom",title:"File cannot be changed after upload",children:(0,n.jsx)(s.default,{disabled:x,className:"mr-1",beforeUpload:()=>!1,fileList:w,name:"file",accept:".csv,.xlsx,.xls",multiple:!1,onChange:C,showUploadList:{showDownloadIcon:!1,showPreviewIcon:!1,showRemoveIcon:!1},itemRender:()=>(0,n.jsx)(n.Fragment,{}),...p,children:(0,n.jsx)(o.ZP,{className:"flex justify-center items-center",type:"primary",disabled:x,icon:(0,n.jsx)(d.Z,{}),children:"Select File"})})}),(0,n.jsx)(o.ZP,{type:"primary",loading:x,className:"flex justify-center items-center",disabled:!w.length,icon:(0,n.jsx)(c.Z,{}),onClick:$,children:x?100===_?"Analysis":"Uploading":"Upload"}),!!w.length&&(0,n.jsxs)("div",{className:"mt-2 text-gray-500 text-sm flex items-center",onClick:()=>b([]),children:[(0,n.jsx)(u.Z,{className:"mr-2"}),(0,n.jsx)("span",{children:null===(t=w[0])||void 0===t?void 0:t.name})]})]})})},f=function(e){let{onComplete:t}=e,{currentDialogue:l,scene:i,chatId:r}=(0,a.useContext)(m.p);return"chat_excel"!==i?null:(0,n.jsx)("div",{className:"max-w-md h-full relative",children:l?(0,n.jsxs)("div",{className:"flex h-8 overflow-hidden rounded",children:[(0,n.jsx)("div",{className:"flex items-center justify-center px-2 bg-gray-600 text-lg",children:(0,n.jsx)(u.Z,{className:"text-white"})}),(0,n.jsx)("div",{className:"flex items-center justify-center px-3 bg-gray-100 text-xs rounded-tr rounded-br dark:text-gray-800 truncate",children:l.select_param})]}):(0,n.jsx)(v,{convUid:r,chatMode:i,onComplete:t})})};l(23293);var p=l(78045),x=l(16165),y=l(96991),g=l(82353);function j(){let{isContract:e,setIsContract:t,scene:l}=(0,a.useContext)(m.p),i=l&&["chat_with_db_execute","chat_dashboard"].includes(l);return i?(0,n.jsxs)(p.ZP.Group,{value:e,defaultValue:!0,buttonStyle:"solid",onChange:()=>{t(!e)},children:[(0,n.jsxs)(p.ZP.Button,{value:!1,children:[(0,n.jsx)(x.Z,{component:g.ig,className:"mr-1"}),"Preview"]}),(0,n.jsxs)(p.ZP.Button,{value:!0,children:[(0,n.jsx)(y.Z,{className:"mr-1"}),"Editor"]})]}):null}var w=l(81799),b=l(62418),_=l(2093),N=l(34041),Z=l(23430),C=function(){let{scene:e,dbParam:t,setDbParam:l}=(0,a.useContext)(m.p),[i,r]=(0,a.useState)([]);(0,_.Z)(async()=>{let[,t]=await (0,h.Vx)((0,h.vD)(e));r(null!=t?t:[])},[e]);let s=(0,a.useMemo)(()=>{var e;return null===(e=i.map)||void 0===e?void 0:e.call(i,e=>({name:e.param,...b.S$[e.type]}))},[i]);return((0,a.useEffect)(()=>{(null==s?void 0:s.length)&&!t&&l(s[0].name)},[s,l,t]),null==s?void 0:s.length)?(0,n.jsx)(N.default,{value:t,className:"w-36",onChange:e=>{l(e)},children:s.map(e=>(0,n.jsxs)(N.default.Option,{children:[(0,n.jsx)(Z.Z,{width:24,height:24,src:e.icon,label:e.label,className:"w-[1.5em] h-[1.5em] mr-1 inline-block mt-[-4px]"}),e.name]},e.name))}):null},$=l(65654),k=l(67421),S=function(){let{t:e}=(0,k.$G)(),{agent:t,setAgent:l}=(0,a.useContext)(m.p),{data:i=[]}=(0,$.Z)(async()=>{let[,e]=await (0,h.Vx)((0,h.H4)());return null!=e?e:[]});return(0,n.jsx)(N.default,{className:"w-60",value:t,placeholder:e("Select_Plugins"),options:i.map(e=>({label:e.app_name,value:e.app_code})),allowClear:!0,onChange:e=>{null==l||l(e)}})},O=function(e){let{refreshHistory:t,modelChange:l}=e,{scene:i,refreshDialogList:r}=(0,a.useContext)(m.p);return(0,n.jsxs)("div",{className:"w-full py-2 px-4 md:px-4 flex flex-wrap items-center justify-center gap-1 md:gap-4",children:[(0,n.jsx)(w.Z,{onChange:l}),(0,n.jsx)(C,{}),"chat_excel"===i&&(0,n.jsx)(f,{onComplete:()=>{null==r||r(),null==t||t()}}),"chat_agent"===i&&(0,n.jsx)(S,{}),(0,n.jsx)(j,{})]})}},81799:function(e,t,l){"use strict";l.d(t,{A:function(){return h}});var n=l(85893),a=l(41468),i=l(19284),r=l(34041),s=l(25675),o=l.n(s),d=l(67294),c=l(67421);let u="/models/huggingface.svg";function h(e,t){var l,a;let{width:r,height:s}=t||{};return e?(0,n.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:r||24,height:s||24,src:(null===(l=i.Hf[e])||void 0===l?void 0:l.icon)||u,alt:"llm"},(null===(a=i.Hf[e])||void 0===a?void 0:a.icon)||u):null}t.Z=function(e){let{onChange:t}=e,{t:l}=(0,c.$G)(),{modelList:s,model:o}=(0,d.useContext)(a.p);return!s||s.length<=0?null:(0,n.jsx)(r.default,{value:o,placeholder:l("choose_model"),className:"w-52",onChange:e=>{null==t||t(e)},children:s.map(e=>{var t;return(0,n.jsx)(r.default.Option,{children:(0,n.jsxs)("div",{className:"flex items-center",children:[h(e),(0,n.jsx)("span",{className:"ml-2",children:(null===(t=i.Hf[e])||void 0===t?void 0:t.label)||e})]})},e)})})}},91085:function(e,t,l){"use strict";var n=l(85893),a=l(32983),i=l(14726),r=l(93967),s=l.n(r),o=l(67421);t.Z=function(e){let{className:t,error:l,description:r,refresh:d}=e,{t:c}=(0,o.$G)();return(0,n.jsx)(a.Z,{image:"/empty.png",imageStyle:{width:320,height:196,margin:"0 auto",maxWidth:"100%",maxHeight:"100%"},className:s()("flex items-center justify-center flex-col h-full w-full",t),description:l?(0,n.jsx)(i.ZP,{type:"primary",onClick:d,children:c("try_again")}):null!=r?r:c("no_data")})}},30119:function(e,t,l){"use strict";l.d(t,{Tk:function(){return d},PR:function(){return c}});var n=l(45360),a=l(87066),i=l(83454);let r=a.default.create({baseURL:i.env.API_BASE_URL});r.defaults.timeout=1e4,r.interceptors.response.use(e=>e.data,e=>Promise.reject(e)),l(96486);var s=l(62418);let o={"content-type":"application/json","User-Id":(0,s.n5)()},d=(e,t)=>{if(t){let l=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");l&&(e+="?".concat(l))}return r.get("/api"+e,{headers:o}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},c=(e,t)=>r.post(e,t,{headers:o}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},23293:function(){},36459:function(e,t,l){"use strict";function n(e){if(null==e)throw TypeError("Cannot destructure "+e)}l.d(t,{Z:function(){return n}})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4451.bd23057ea2e75db6.js b/dbgpt/app/static/web/_next/static/chunks/4451.bd23057ea2e75db6.js new file mode 100644 index 000000000..473036f12 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/4451.bd23057ea2e75db6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4451],{96991:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(87462),a=l(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zM464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16z"}}]},name:"appstore",theme:"filled"},r=l(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},36986:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(87462),a=l(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-12-12-28.3-18.7-45.3-18.7H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 176h256v112H384V176zm128 554c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zm0-224c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80z"}}]},name:"save",theme:"filled"},r=l(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},49591:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(87462),a=l(67294),i={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 32h360c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H184V184h656v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM653.3 599.4l52.2-52.2a8.01 8.01 0 00-4.7-13.6l-179.4-21c-5.1-.6-9.5 3.7-8.9 8.9l21 179.4c.8 6.6 8.9 9.4 13.6 4.7l52.4-52.4 256.2 256.2c3.1 3.1 8.2 3.1 11.3 0l42.4-42.4c3.1-3.1 3.1-8.2 0-11.3L653.3 599.4z"}}]},name:"select",theme:"outlined"},r=l(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},88484:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(87462),a=l(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},r=l(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},99134:function(e,t,l){"use strict";var n=l(67294);let a=(0,n.createContext)({});t.Z=a},21584:function(e,t,l){"use strict";var n=l(67294),a=l(93967),i=l.n(a),r=l(53124),s=l(99134),o=l(6999),d=function(e,t){var l={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(l[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(l[n[a]]=e[n[a]]);return l};function c(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let u=["xs","sm","md","lg","xl","xxl"],h=n.forwardRef((e,t)=>{let{getPrefixCls:l,direction:a}=n.useContext(r.E_),{gutter:h,wrap:m}=n.useContext(s.Z),{prefixCls:v,span:f,order:p,offset:x,push:y,pull:g,className:j,children:w,flex:b,style:_}=e,N=d(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),C=l("col",v),[$,Z,k]=(0,o.cG)(C),S={},O={};u.forEach(t=>{let l={},n=e[t];"number"==typeof n?l.span=n:"object"==typeof n&&(l=n||{}),delete N[t],O=Object.assign(Object.assign({},O),{[`${C}-${t}-${l.span}`]:void 0!==l.span,[`${C}-${t}-order-${l.order}`]:l.order||0===l.order,[`${C}-${t}-offset-${l.offset}`]:l.offset||0===l.offset,[`${C}-${t}-push-${l.push}`]:l.push||0===l.push,[`${C}-${t}-pull-${l.pull}`]:l.pull||0===l.pull,[`${C}-rtl`]:"rtl"===a}),l.flex&&(O[`${C}-${t}-flex`]=!0,S[`--${C}-${t}-flex`]=c(l.flex))});let E=i()(C,{[`${C}-${f}`]:void 0!==f,[`${C}-order-${p}`]:p,[`${C}-offset-${x}`]:x,[`${C}-push-${y}`]:y,[`${C}-pull-${g}`]:g},j,O,Z,k),P={};if(h&&h[0]>0){let e=h[0]/2;P.paddingLeft=e,P.paddingRight=e}return b&&(P.flex=c(b),!1!==m||P.minWidth||(P.minWidth=0)),$(n.createElement("div",Object.assign({},N,{style:Object.assign(Object.assign(Object.assign({},P),_),S),className:E,ref:t}),w))});t.Z=h},92820:function(e,t,l){"use strict";var n=l(67294),a=l(93967),i=l.n(a),r=l(74443),s=l(53124),o=l(99134),d=l(6999),c=function(e,t){var l={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(l[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(l[n[a]]=e[n[a]]);return l};function u(e,t){let[l,a]=n.useState("string"==typeof e?e:""),i=()=>{if("string"==typeof e&&a(e),"object"==typeof e)for(let l=0;l{i()},[JSON.stringify(e),t]),l}let h=n.forwardRef((e,t)=>{let{prefixCls:l,justify:a,align:h,className:m,style:v,children:f,gutter:p=0,wrap:x}=e,y=c(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:g,direction:j}=n.useContext(s.E_),[w,b]=n.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[_,N]=n.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),C=u(h,_),$=u(a,_),Z=n.useRef(p),k=(0,r.ZP)();n.useEffect(()=>{let e=k.subscribe(e=>{N(e);let t=Z.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&b(e)});return()=>k.unsubscribe(e)},[]);let S=g("row",l),[O,E,P]=(0,d.VM)(S),M=(()=>{let e=[void 0,void 0],t=Array.isArray(p)?p:[p,void 0];return t.forEach((t,l)=>{if("object"==typeof t)for(let n=0;n0?-(M[0]/2):void 0;I&&(V.marginLeft=I,V.marginRight=I);let[R,T]=M;V.rowGap=T;let D=n.useMemo(()=>({gutter:[R,T],wrap:x}),[R,T,x]);return O(n.createElement(o.Z.Provider,{value:D},n.createElement("div",Object.assign({},y,{className:z,style:Object.assign(Object.assign({},V),v),ref:t}),f)))});t.Z=h},6999:function(e,t,l){"use strict";l.d(t,{VM:function(){return c},cG:function(){return u}});var n=l(25446),a=l(83559),i=l(83262);let r=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},s=(e,t)=>{let{prefixCls:l,componentCls:n,gridColumns:a}=e,i={};for(let e=a;e>=0;e--)0===e?(i[`${n}${t}-${e}`]={display:"none"},i[`${n}-push-${e}`]={insetInlineStart:"auto"},i[`${n}-pull-${e}`]={insetInlineEnd:"auto"},i[`${n}${t}-push-${e}`]={insetInlineStart:"auto"},i[`${n}${t}-pull-${e}`]={insetInlineEnd:"auto"},i[`${n}${t}-offset-${e}`]={marginInlineStart:0},i[`${n}${t}-order-${e}`]={order:0}):(i[`${n}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/a*100}%`,maxWidth:`${e/a*100}%`}],i[`${n}${t}-push-${e}`]={insetInlineStart:`${e/a*100}%`},i[`${n}${t}-pull-${e}`]={insetInlineEnd:`${e/a*100}%`},i[`${n}${t}-offset-${e}`]={marginInlineStart:`${e/a*100}%`},i[`${n}${t}-order-${e}`]={order:e});return i[`${n}${t}-flex`]={flex:`var(--${l}${t}-flex)`},i},o=(e,t)=>s(e,t),d=(e,t,l)=>({[`@media (min-width: ${(0,n.bf)(t)})`]:Object.assign({},o(e,l))}),c=(0,a.I$)("Grid",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"}}}},()=>({})),u=(0,a.I$)("Grid",e=>{let t=(0,i.IX)(e,{gridColumns:24}),l={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[r(t),o(t,""),o(t,"-xs"),Object.keys(l).map(e=>d(t,l[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},21332:function(e,t,l){"use strict";l.d(t,{_:function(){return V},a:function(){return M}});var n=l(85893),a=l(41468),i=l(64371),r=l(23430),s=l(67190),o=l(34041),d=l(71230),c=l(15746),u=l(42075),h=l(83062),m=l(14726),v=l(32983),f=l(96486),p=l(67294);let x=e=>{if(!e)return;let t=e.getContainer(),l=t.getElementsByTagName("canvas")[0];return l};var y=l(64352),g=l(8625);let j=e=>{let{charts:t,scopeOfCharts:l,ruleConfig:n}=e,a={};if(null==t||t.forEach(e=>{if(e.chartKnowledge.toSpec){let t=e.chartKnowledge.toSpec;e.chartKnowledge.toSpec=(e,l)=>({...t(e,l),dataProps:l})}else e.chartKnowledge.toSpec=(e,t)=>({dataProps:t});a[e.chartType]=e.chartKnowledge}),(null==l?void 0:l.exclude)&&l.exclude.forEach(e=>{Object.keys(a).includes(e)&&delete a[e]}),null==l?void 0:l.include){let e=l.include;Object.keys(a).forEach(t=>{e.includes(t)||delete a[t]})}let i={...l,custom:a},r={...n},s=new y.w({ckbCfg:i,ruleCfg:r});return s},w=e=>{var t;let{data:l,dataMetaMap:n,myChartAdvisor:a}=e,i=n?Object.keys(n).map(e=>({name:e,...n[e]})):null,r=new g.Z(l).info(),s=(0,f.size)(r)>2?null==r?void 0:r.filter(e=>"string"!==e.recommendation&&"date"!==e.recommendation||e.distinct&&e.distinct>1):r,o=null==a?void 0:a.adviseWithLog({data:l,dataProps:i,fields:null==s?void 0:s.map(e=>e.name)});return null!==(t=null==o?void 0:o.advices)&&void 0!==t?t:[]};function b(e,t){return t.every(t=>e.includes(t))}function _(e,t){let l=t.find(t=>t.name===e);return(null==l?void 0:l.recommendation)==="date"?t=>new Date(t[e]):e}function N(e){return e.find(e=>{var t;return e.levelOfMeasurements&&(t=e.levelOfMeasurements,["Time","Ordinal"].some(e=>t.includes(e)))})}function C(e){return e.find(e=>e.levelOfMeasurements&&b(e.levelOfMeasurements,["Nominal"]))}let $=e=>{let{data:t,xField:l}=e,n=(0,f.uniq)(t.map(e=>e[l]));return n.length<=1},Z=(e,t,l)=>{let{field4Split:n,field4X:a}=l;if((null==n?void 0:n.name)&&(null==a?void 0:a.name)){let l=e[n.name],i=t.filter(e=>n.name&&e[n.name]===l);return $({data:i,xField:a.name})?5:void 0}return(null==a?void 0:a.name)&&$({data:t,xField:a.name})?5:void 0},k=e=>{let{data:t,chartType:l,xField:n}=e,a=(0,f.cloneDeep)(t);try{if(l.includes("line")&&(null==n?void 0:n.name)&&"date"===n.recommendation)return a.sort((e,t)=>new Date(e[n.name]).getTime()-new Date(t[n.name]).getTime()),a;l.includes("line")&&(null==n?void 0:n.name)&&["float","integer"].includes(n.recommendation)&&a.sort((e,t)=>e[n.name]-t[n.name])}catch(e){console.error(e)}return a},S=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return e.map(e=>{let l={};return Object.keys(e).forEach(n=>{l[n]=e[n]===t?null:e[n]}),l})},O="multi_line_chart",E="multi_measure_line_chart",P=[{chartType:"multi_line_chart",chartKnowledge:{id:O,name:"multi_line_chart",alias:["multi_line_chart"],family:["LineCharts"],def:"multi_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{var l,n;let a=N(t),i=C(t),r=null!==(l=null!=a?a:i)&&void 0!==l?l:t[0],s=t.filter(e=>e.name!==(null==r?void 0:r.name)),o=null!==(n=s.filter(e=>e.levelOfMeasurements&&b(e.levelOfMeasurements,["Interval"])))&&void 0!==n?n:[s[0]],d=s.filter(e=>!o.find(t=>t.name===e.name)).find(e=>e.levelOfMeasurements&&b(e.levelOfMeasurements,["Nominal"]));if(!r||!o)return null;let c={type:"view",autoFit:!0,data:k({data:e,chartType:O,xField:r}),children:[]};return o.forEach(l=>{let n={type:"line",encode:{x:_(r.name,t),y:l.name,size:t=>Z(t,e,{field4Split:d,field4X:r})},legend:{size:!1}};d&&(n.encode.color=d.name),c.children.push(n)}),c}},chineseName:"折线图"},{chartType:"multi_measure_column_chart",chartKnowledge:{id:"multi_measure_column_chart",name:"multi_measure_column_chart",alias:["multi_measure_column_chart"],family:["ColumnCharts"],def:"multi_measure_column_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{try{let l=null==t?void 0:t.filter(e=>b(e.levelOfMeasurements,["Interval"])),n=C(t),a=N(t),i=null!=n?n:a;if(!i||!l)return null;let r={type:"view",data:e,children:[]};return null==l||l.forEach(e=>{let t={type:"interval",encode:{x:i.name,y:e.name,color:()=>e.name,series:()=>e.name}};r.children.push(t)}),r}catch(e){return console.log(e),null}}},chineseName:"折线图"},{chartType:"multi_measure_line_chart",chartKnowledge:{id:E,name:"multi_measure_line_chart",alias:["multi_measure_line_chart"],family:["LineCharts"],def:"multi_measure_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{try{var l,n;let a=null!==(n=null!==(l=C(t))&&void 0!==l?l:N(t))&&void 0!==n?n:t[0],i=null==t?void 0:t.filter(e=>e.name!==(null==a?void 0:a.name)&&b(e.levelOfMeasurements,["Interval"]));if(!a||!i)return null;let r={type:"view",data:k({data:e,chartType:E,xField:a}),children:[]};return null==i||i.forEach(l=>{let n={type:"line",encode:{x:_(a.name,t),y:l.name,color:()=>l.name,series:()=>l.name,size:t=>Z(t,e,{field4X:a})},legend:{size:!1}};r.children.push(n)}),r}catch(e){return console.log(e),null}}},chineseName:"折线图"}],M=e=>"response_line_chart"===e?["multi_line_chart","multi_measure_line_chart"]:"response_bar_chart"===e?["multi_measure_column_chart"]:"response_pie_chart"===e?["pie_chart"]:"response_scatter_chart"===e?["scatter_plot"]:"response_area_chart"===e?["area_chart"]:"response_heatmap_chart"===e?["heatmap"]:[],{Option:z}=o.default,V=e=>{let{data:t,chartType:l,scopeOfCharts:y,ruleConfig:g}=e,b=S(t),{mode:_}=(0,p.useContext)(a.p),[N,C]=(0,p.useState)(),[$,Z]=(0,p.useState)([]),[O,E]=(0,p.useState)(),M=(0,p.useRef)();(0,p.useEffect)(()=>{C(j({charts:P,scopeOfCharts:{exclude:["area_chart","stacked_area_chart","percent_stacked_area_chart"]},ruleConfig:g}))},[g,y]);let V=e=>{if(!N)return[];let t=function(e){let{advices:t}=e;return t}({advices:e}),n=(0,f.uniq)((0,f.compact)((0,f.concat)(l,e.map(e=>e.type)))),a=n.map(e=>{let l=t.find(t=>t.type===e);if(l)return l;let n=N.dataAnalyzer.execute({data:b});if("data"in n){var a;let t=N.specGenerator.execute({data:n.data,dataProps:n.dataProps,chartTypeRecommendations:[{chartType:e,score:1}]});if("advices"in t)return null===(a=t.advices)||void 0===a?void 0:a[0]}}).filter(e=>null==e?void 0:e.spec);return a};(0,p.useEffect)(()=>{if(b&&N){var e;let t=w({data:b,myChartAdvisor:N}),l=V(t);Z(l),E(null===(e=l[0])||void 0===e?void 0:e.type)}},[JSON.stringify(b),N,l]);let I=(0,p.useMemo)(()=>{if((null==$?void 0:$.length)>0){var e,t,l,a;let i=null!=O?O:$[0].type,r=null!==(t=null===(e=null==$?void 0:$.find(e=>e.type===i))||void 0===e?void 0:e.spec)&&void 0!==t?t:void 0;if(r){if(r.data&&["line_chart","step_line_chart"].includes(i)){let e=null==N?void 0:N.dataAnalyzer.execute({data:b});e&&"dataProps"in e&&(r.data=k({data:r.data,xField:null===(a=e.dataProps)||void 0===a?void 0:a.find(e=>"date"===e.recommendation),chartType:i}))}return"pie_chart"===i&&(null==r?void 0:null===(l=r.encode)||void 0===l?void 0:l.color)&&(r.tooltip={title:{field:r.encode.color}}),(0,n.jsx)(s.k,{options:{...r,autoFit:!0,theme:_,height:300},ref:M},i)}}},[$,_,O]);return O?(0,n.jsxs)("div",{children:[(0,n.jsxs)(d.Z,{justify:"space-between",className:"mb-2",children:[(0,n.jsx)(c.Z,{children:(0,n.jsxs)(u.Z,{children:[(0,n.jsx)("span",{children:i.Z.t("Advices")}),(0,n.jsx)(o.default,{className:"w-52",value:O,placeholder:"Chart Switcher",onChange:e=>E(e),size:"small",children:null==$?void 0:$.map(e=>{let t=i.Z.t(e.type);return(0,n.jsx)(z,{value:e.type,children:(0,n.jsx)(h.Z,{title:t,placement:"right",children:(0,n.jsx)("div",{children:t})})},e.type)})})]})}),(0,n.jsx)(c.Z,{children:(0,n.jsx)(h.Z,{title:i.Z.t("Download"),children:(0,n.jsx)(m.ZP,{onClick:()=>(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Chart",l=document.createElement("a"),n="".concat(t,".png");setTimeout(()=>{let t=function(e){let t=x(e);if(t){let e=t.toDataURL("image/png");return e}}(e);if(t){l.addEventListener("click",()=>{l.download=n,l.href=t});let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),l.dispatchEvent(e)}},16)})(M.current,i.Z.t(O)),icon:(0,n.jsx)(r.Z,{}),type:"text"})})})]}),(0,n.jsx)("div",{className:"flex",children:I})]}):(0,n.jsx)(v.Z,{image:v.Z.PRESENTED_IMAGE_SIMPLE,description:"暂无合适的可视化视图"})}},39156:function(e,t,l){"use strict";l.d(t,{_z:function(){return f._},ZP:function(){return p},aG:function(){return f.a}});var n=l(85893),a=l(41118),i=l(30208),r=l(40911),s=l(67294),o=l(41468),d=l(67190);function c(e){let{chart:t}=e,{mode:l}=(0,s.useContext)(o.p);return(0,n.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,n.jsxs)("div",{className:"h-full",children:[(0,n.jsx)("div",{className:"mb-2",children:t.chart_name}),(0,n.jsx)("div",{className:"opacity-80 text-sm mb-2",children:t.chart_desc}),(0,n.jsx)("div",{className:"h-[300px]",children:(0,n.jsx)(d.k,{style:{height:"100%"},options:{autoFit:!0,theme:l,type:"interval",data:t.values,encode:{x:"name",y:"value",color:"type"},axis:{x:{labelAutoRotate:!1}}}})})]})})}function u(e){let{chart:t}=e,{mode:l}=(0,s.useContext)(o.p);return(0,n.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,n.jsxs)("div",{className:"h-full",children:[(0,n.jsx)("div",{className:"mb-2",children:t.chart_name}),(0,n.jsx)("div",{className:"opacity-80 text-sm mb-2",children:t.chart_desc}),(0,n.jsx)("div",{className:"h-[300px]",children:(0,n.jsx)(d.k,{style:{height:"100%"},options:{autoFit:!0,theme:l,type:"view",data:t.values,children:[{type:"line",encode:{x:"name",y:"value",color:"type",shape:"smooth"}},{type:"area",encode:{x:"name",y:"value",color:"type",shape:"smooth"},legend:!1,style:{fillOpacity:.15}}],axis:{x:{labelAutoRotate:!1}}}})})]})})}var h=l(61685),m=l(96486);function v(e){var t,l;let{chart:a}=e,i=(0,m.groupBy)(a.values,"type");return(0,n.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,n.jsxs)("div",{className:"h-full",children:[(0,n.jsx)("div",{className:"mb-2",children:a.chart_name}),(0,n.jsx)("div",{className:"opacity-80 text-sm mb-2",children:a.chart_desc}),(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsxs)(h.Z,{"aria-label":"basic table",stripe:"odd",hoverRow:!0,borderAxis:"bothBetween",children:[(0,n.jsx)("thead",{children:(0,n.jsx)("tr",{children:Object.keys(i).map(e=>(0,n.jsx)("th",{children:e},e))})}),(0,n.jsx)("tbody",{children:null===(t=Object.values(i))||void 0===t?void 0:null===(l=t[0])||void 0===l?void 0:l.map((e,t)=>{var l;return(0,n.jsx)("tr",{children:null===(l=Object.keys(i))||void 0===l?void 0:l.map(e=>{var l;return(0,n.jsx)("td",{children:(null==i?void 0:null===(l=i[e])||void 0===l?void 0:l[t].value)||""},e)})},t)})})]})})]})})}var f=l(21332),p=function(e){let{chartsData:t}=e,l=(0,s.useMemo)(()=>{if(t){let e=[],l=null==t?void 0:t.filter(e=>"IndicatorValue"===e.chart_type);l.length>0&&e.push({charts:l,type:"IndicatorValue"});let n=null==t?void 0:t.filter(e=>"IndicatorValue"!==e.chart_type),a=n.length,i=0;return[[0],[1],[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]][a].forEach(t=>{if(t>0){let l=n.slice(i,i+t);i+=t,e.push({charts:l})}}),e}},[t]);return(0,n.jsx)("div",{className:"flex flex-col gap-3",children:null==l?void 0:l.map((e,t)=>(0,n.jsx)("div",{className:"".concat((null==e?void 0:e.type)!=="IndicatorValue"?"flex gap-3":""),children:e.charts.map(e=>"IndicatorValue"===e.chart_type||"IndicatorValue"===e.type?(0,n.jsx)("div",{className:"flex flex-row gap-3",children:e.values.map(e=>(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsx)(a.Z,{sx:{background:"transparent"},children:(0,n.jsxs)(i.Z,{className:"justify-around",children:[(0,n.jsx)(r.ZP,{gutterBottom:!0,component:"div",children:e.name}),(0,n.jsx)(r.ZP,{children:e.value})]})})},e.name))},e.chart_uid):"LineChart"===e.chart_type||"LineChart"===e.type?(0,n.jsx)(u,{chart:e},e.chart_uid):"BarChart"===e.chart_type||"BarChart"===e.type?(0,n.jsx)(c,{chart:e},e.chart_uid):"Table"===e.chart_type||"TableChartData"===e.type?(0,n.jsx)(v,{chart:e},e.chart_uid):void 0)},"chart_row_".concat(t)))})}},96307:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return P}});var n=l(85893),a=l(30119),i=l(16165),r=l(65654),s=l(25278),o=l(39773),d=l(83062),c=l(34041),u=l(20863),h=l(14726),m=l(39332),v=l(67294),f=l(39156),p=l(34625),x=l(74434),y=function(){return(0,n.jsx)("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",version:"1.1",children:(0,n.jsx)("path",{d:"M161.05472 919.3472h701.9008a58.71616 58.71616 0 0 0 58.65472-58.65472V180.40832a58.71616 58.71616 0 0 0-58.65472-58.65472H161.09568a58.03008 58.03008 0 0 0-41.4208 17.08032A58.1632 58.1632 0 0 0 102.4 180.30592v680.38656a58.64448 58.64448 0 0 0 58.65472 58.65472z m385.15712-589.568V190.08512h306.95424v660.93056H546.21184V329.7792zM170.83392 190.08512h306.95424v660.93056H170.83392V190.08512z"})})},g=function(){return(0,n.jsx)("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",version:"1.1",children:(0,n.jsx)("path",{d:"M171.85792 110.9504a58.65472 58.65472 0 0 0-58.65472 58.65472v701.9008a58.7264 58.7264 0 0 0 58.65472 58.65472h680.28416a58.7264 58.7264 0 0 0 58.65472-58.65472V169.64608a57.98912 57.98912 0 0 0-17.08032-41.41056 58.1632 58.1632 0 0 0-41.472-17.27488H171.85792z m670.60736 750.77632H181.53472V554.77248h660.93056v306.95424z m0-375.38816H181.53472V179.38432h660.93056v306.95424z"})})},j=l(6171),w=l(18073),b=l(14313),_=l(36986),N=l(93967),C=l.n(N),$=l(91085);function Z(){return(0,n.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",children:[(0,n.jsx)("path",{d:"M512 64c-247.424 0-448 62.72-448 140.032v112c0 77.312 200.576 139.968 448 139.968s448-62.72 448-140.032v-112C960 126.72 759.424 64 512 64z m0 728c-247.424 0-448-62.72-448-140.032v168.064C64 897.28 264.576 960 512 960s448-62.72 448-140.032v-167.936c0 77.312-200.576 139.968-448 139.968z",fill:"#3699FF"}),(0,n.jsx)("path",{d:"M512 540.032c-247.424 0-448-62.72-448-140.032v168c0 77.312 200.576 140.032 448 140.032s448-62.72 448-140.032V400c0 77.312-200.576 140.032-448 140.032z",fill:"#3699FF",opacity:".32"})]})}function k(){return(0,n.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",children:(0,n.jsx)("path",{d:"M39.385 204.83h346.571L252.054 976.74l-23.63 39.383h259.929v-31.506L614.379 204.83H771.91S960.951 220.584 984.581 0.038H236.3S94.52-7.84 39.384 204.83",fill:"#1296db"})})}function S(){return(0,n.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",children:[(0,n.jsx)("path",{d:"M149.2 99.7h726.6c27.7 0 50.1 22.4 50.1 50.1V336H99.1V149.8c0-27.6 22.4-50.1 50.1-50.1z",fill:"#1ECD93"}),(0,n.jsx)("path",{d:"M99.1 395h236.2v236.3H99.1zM99.1 690.3h236.2v236.2H149.2c-27.7 0-50.1-22.4-50.1-50.1V690.3zM394.4 395h236.2v236.3H394.4z",fill:"#1ECD93",fillOpacity:".5"}),(0,n.jsx)("path",{d:"M394.4 690.3h236.2v236.3H394.4z",fill:"#A1E6C9","data-spm-anchor-id":"a313x.search_index.0.i13.27343a81CqKUWU"}),(0,n.jsx)("path",{d:"M689.7 395h236.2v236.3H689.7z",fill:"#1ECD93",fillOpacity:".5"}),(0,n.jsx)("path",{d:"M689.7 690.3h236.2v186.1c0 27.7-22.4 50.1-50.1 50.1H689.7V690.3z",fill:"#A1E6C9","data-spm-anchor-id":"a313x.search_index.0.i17.27343a81CqKUWU"})]})}let{Search:O}=s.default;function E(e){let{layout:t="LR",editorValue:l,chartData:a,tableData:i,tables:r,handleChange:s}=e,d=(0,v.useMemo)(()=>a?(0,n.jsx)("div",{className:"flex-1 overflow-auto p-2",style:{flexShrink:0,overflow:"hidden"},children:(0,n.jsx)(f.ZP,{chartsData:[a]})}):null,[a]),{columns:c,dataSource:u}=(0,v.useMemo)(()=>{let{columns:e=[],values:t=[]}=null!=i?i:{},l=e.map(e=>({key:e,dataIndex:e,title:e})),n=t.map(t=>t.reduce((t,l,n)=>(t[e[n]]=l,t),{}));return{columns:l,dataSource:n}},[i]),h=(0,v.useMemo)(()=>{let e={},t=null==r?void 0:r.data,l=null==t?void 0:t.children;return null==l||l.forEach(t=>{e[t.title]=t.children.map(e=>({columnName:e.title,columnType:e.type}))}),{getTableList:async e=>e&&e!==(null==t?void 0:t.title)?[]:(null==l?void 0:l.map(e=>e.title))||[],getTableColumns:async t=>e[t]||[],getSchemaList:async()=>(null==t?void 0:t.title)?[null==t?void 0:t.title]:[]}},[r]);return(0,n.jsxs)("div",{className:C()("flex w-full flex-1 h-full gap-2 overflow-hidden",{"flex-col":"TB"===t,"flex-row":"LR"===t}),children:[(0,n.jsx)("div",{className:"flex-1 flex overflow-hidden rounded",children:(0,n.jsx)(x.Z,{value:(null==l?void 0:l.sql)||"",language:"mysql",onChange:s,thoughts:(null==l?void 0:l.thoughts)||"",session:h})}),(0,n.jsxs)("div",{className:"flex-1 h-full overflow-auto bg-white dark:bg-theme-dark-container rounded p-4",children:[(null==i?void 0:i.values.length)?(0,n.jsx)(o.Z,{bordered:!0,scroll:{x:"auto"},rowKey:c[0].key,columns:c,dataSource:u}):(0,n.jsx)("div",{className:"h-full flex justify-center items-center",children:(0,n.jsx)($.Z,{})}),d]})]})}var P=function(){var e,t,l,s,o;let[f,x]=(0,v.useState)([]),[N,$]=(0,v.useState)(""),[P,M]=(0,v.useState)(),[z,V]=(0,v.useState)(!0),[I,R]=(0,v.useState)(),[T,D]=(0,v.useState)(),[H,L]=(0,v.useState)(),[q,A]=(0,v.useState)(),[B,F]=(0,v.useState)(),[U,Q]=(0,v.useState)(!1),[G,K]=(0,v.useState)("TB"),W=(0,m.useSearchParams)(),X=null==W?void 0:W.get("id"),J=null==W?void 0:W.get("scene"),{data:Y}=(0,r.Z)(async()=>await (0,a.Tk)("/v1/editor/sql/rounds",{con_uid:X}),{onSuccess:e=>{var t,l;let n=null==e?void 0:null===(t=e.data)||void 0===t?void 0:t[(null==e?void 0:null===(l=e.data)||void 0===l?void 0:l.length)-1];n&&M(null==n?void 0:n.round)}}),{run:ee,loading:et}=(0,r.Z)(async()=>{var e,t;let l=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===P))||void 0===e?void 0:e.db_name;return await (0,a.PR)("/api/v1/editor/sql/run",{db_name:l,sql:null==H?void 0:H.sql})},{manual:!0,onSuccess:e=>{var t,l;A({columns:null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.colunms,values:null==e?void 0:null===(l=e.data)||void 0===l?void 0:l.values})}}),{run:el,loading:en}=(0,r.Z)(async()=>{var e,t;let l=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===P))||void 0===e?void 0:e.db_name,n={db_name:l,sql:null==H?void 0:H.sql};return"chat_dashboard"===J&&(n.chart_type=null==H?void 0:H.showcase),await (0,a.PR)("/api/v1/editor/chart/run",n)},{manual:!0,ready:!!(null==H?void 0:H.sql),onSuccess:e=>{if(null==e?void 0:e.success){var t,l,n,a,i,r,s;A({columns:(null==e?void 0:null===(t=e.data)||void 0===t?void 0:null===(l=t.sql_data)||void 0===l?void 0:l.colunms)||[],values:(null==e?void 0:null===(n=e.data)||void 0===n?void 0:null===(a=n.sql_data)||void 0===a?void 0:a.values)||[]}),(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.chart_values)?R({type:null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.chart_type,values:null==e?void 0:null===(s=e.data)||void 0===s?void 0:s.chart_values,title:null==H?void 0:H.title,description:null==H?void 0:H.thoughts}):R(void 0)}}}),{run:ea,loading:ei}=(0,r.Z)(async()=>{var e,t,l,n,i;let r=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===P))||void 0===e?void 0:e.db_name;return await (0,a.PR)("/api/v1/sql/editor/submit",{conv_uid:X,db_name:r,conv_round:P,old_sql:null==T?void 0:T.sql,old_speak:null==T?void 0:T.thoughts,new_sql:null==H?void 0:H.sql,new_speak:(null===(l=null==H?void 0:null===(n=H.thoughts)||void 0===n?void 0:n.match(/^\n--(.*)\n\n$/))||void 0===l?void 0:null===(i=l[1])||void 0===i?void 0:i.trim())||(null==H?void 0:H.thoughts)})},{manual:!0,onSuccess:e=>{(null==e?void 0:e.success)&&ee()}}),{run:er,loading:es}=(0,r.Z)(async()=>{var e,t,l,n,i,r;let s=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===P))||void 0===e?void 0:e.db_name;return await (0,a.PR)("/api/v1/chart/editor/submit",{conv_uid:X,chart_title:null==H?void 0:H.title,db_name:s,old_sql:null==T?void 0:null===(l=T[null!=B?B:0])||void 0===l?void 0:l.sql,new_chart_type:null==H?void 0:H.showcase,new_sql:null==H?void 0:H.sql,new_comment:(null===(n=null==H?void 0:null===(i=H.thoughts)||void 0===i?void 0:i.match(/^\n--(.*)\n\n$/))||void 0===n?void 0:null===(r=n[1])||void 0===r?void 0:r.trim())||(null==H?void 0:H.thoughts),gmt_create:new Date().getTime()})},{manual:!0,onSuccess:e=>{(null==e?void 0:e.success)&&el()}}),{data:eo}=(0,r.Z)(async()=>{var e,t;let l=null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===P))||void 0===e?void 0:e.db_name;return await (0,a.Tk)("/v1/editor/db/tables",{db_name:l,page_index:1,page_size:200})},{ready:!!(null===(e=null==Y?void 0:null===(t=Y.data)||void 0===t?void 0:t.find(e=>e.round===P))||void 0===e?void 0:e.db_name),refreshDeps:[null===(l=null==Y?void 0:null===(s=Y.data)||void 0===s?void 0:s.find(e=>e.round===P))||void 0===l?void 0:l.db_name]}),{run:ed}=(0,r.Z)(async e=>await (0,a.Tk)("/v1/editor/sql",{con_uid:X,round:e}),{manual:!0,onSuccess:e=>{let t;try{if(Array.isArray(null==e?void 0:e.data))t=null==e?void 0:e.data,F(0);else if("string"==typeof(null==e?void 0:e.data)){let l=JSON.parse(null==e?void 0:e.data);t=l}else t=null==e?void 0:e.data}catch(e){console.log(e)}finally{D(t),Array.isArray(t)?L(null==t?void 0:t[Number(B||0)]):L(t)}}}),ec=(0,v.useMemo)(()=>{let e=(t,l)=>t.map(t=>{let a=t.title,i=a.indexOf(N),r=a.substring(0,i),s=a.slice(i+N.length),o=e=>{switch(e){case"db":return(0,n.jsx)(Z,{});case"table":return(0,n.jsx)(S,{});default:return(0,n.jsx)(k,{})}},c=i>-1?(0,n.jsx)(d.Z,{title:((null==t?void 0:t.comment)||(null==t?void 0:t.title))+((null==t?void 0:t.can_null)==="YES"?"(can null)":"(can't null)"),children:(0,n.jsxs)("div",{className:"flex items-center",children:[o(t.type),"\xa0\xa0\xa0",r,(0,n.jsx)("span",{className:"text-[#1677ff]",children:N}),s,"\xa0",(null==t?void 0:t.type)&&(0,n.jsx)("div",{className:"text-gray-400",children:null==t?void 0:t.type})]})}):(0,n.jsx)(d.Z,{title:((null==t?void 0:t.comment)||(null==t?void 0:t.title))+((null==t?void 0:t.can_null)==="YES"?"(can null)":"(can't null)"),children:(0,n.jsxs)("div",{className:"flex items-center",children:[o(t.type),"\xa0\xa0\xa0",a,"\xa0",(null==t?void 0:t.type)&&(0,n.jsx)("div",{className:"text-gray-400",children:null==t?void 0:t.type})]})});if(t.children){let n=l?String(l)+"_"+t.key:t.key;return{title:a,showTitle:c,key:n,children:e(t.children,n)}}return{title:a,showTitle:c,key:t.key}});return(null==eo?void 0:eo.data)?(x([null==eo?void 0:eo.data.key]),e([null==eo?void 0:eo.data])):[]},[N,eo]),eu=(0,v.useMemo)(()=>{let e=[],t=(l,n)=>{if(l&&!((null==l?void 0:l.length)<=0))for(let a=0;a{let l;for(let n=0;nt.key===e)?l=a.key:eh(e,a.children)&&(l=eh(e,a.children)))}return l};function em(e){let t;if(!e)return{sql:"",thoughts:""};let l=e&&e.match(/(--.*)?\n?([\s\S]*)/),n="";return l&&l.length>=3&&(n=l[1],t=l[2]),{sql:t,thoughts:n}}return(0,v.useEffect)(()=>{P&&ed(P)},[ed,P]),(0,v.useEffect)(()=>{T&&"chat_dashboard"===J&&B&&el()},[B,J,T,el]),(0,v.useEffect)(()=>{T&&"chat_dashboard"!==J&&ee()},[J,T,ee]),(0,n.jsxs)("div",{className:"flex flex-col w-full h-full overflow-hidden",children:[(0,n.jsx)(p.Z,{}),(0,n.jsxs)("div",{className:"relative flex flex-1 p-4 pt-0 overflow-hidden",children:[(0,n.jsxs)("div",{className:"relative flex overflow-hidden mr-4",children:[(0,n.jsx)("div",{className:C()("h-full relative transition-[width] overflow-hidden",{"w-0":U,"w-64":!U}),children:(0,n.jsxs)("div",{className:"relative w-64 h-full overflow-hidden flex flex-col rounded bg-white dark:bg-theme-dark-container p-4",children:[(0,n.jsx)(c.default,{size:"middle",className:"w-full mb-2",value:P,options:null==Y?void 0:null===(o=Y.data)||void 0===o?void 0:o.map(e=>({label:e.round_name,value:e.round})),onChange:e=>{M(e)}}),(0,n.jsx)(O,{className:"mb-2",placeholder:"Search",onChange:e=>{let{value:t}=e.target;if(null==eo?void 0:eo.data){if(t){let e=eu.map(e=>e.title.indexOf(t)>-1?eh(e.key,ec):null).filter((e,t,l)=>e&&l.indexOf(e)===t);x(e)}else x([]);$(t),V(!0)}}}),ec&&ec.length>0&&(0,n.jsx)("div",{className:"flex-1 overflow-y-auto",children:(0,n.jsx)(u.Z,{onExpand:e=>{x(e),V(!1)},expandedKeys:f,autoExpandParent:z,treeData:ec,fieldNames:{title:"showTitle"}})})]})}),(0,n.jsx)("div",{className:"absolute right-0 top-0 translate-x-full h-full flex items-center justify-center opacity-0 hover:opacity-100 group-hover/side:opacity-100 transition-opacity",children:(0,n.jsx)("div",{className:"bg-white w-4 h-10 flex items-center justify-center dark:bg-theme-dark-container rounded-tr rounded-br z-10 text-xs cursor-pointer shadow-[4px_0_10px_rgba(0,0,0,0.06)] text-opacity-80",onClick:()=>{Q(!U)},children:U?(0,n.jsx)(w.Z,{}):(0,n.jsx)(j.Z,{})})})]}),(0,n.jsxs)("div",{className:"flex flex-col flex-1 max-w-full overflow-hidden",children:[(0,n.jsxs)("div",{className:"mb-2 bg-white dark:bg-theme-dark-container p-2 flex justify-between items-center",children:[(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)(h.ZP,{className:"text-xs rounded-none",size:"small",type:"primary",icon:(0,n.jsx)(b.Z,{}),loading:et||en,onClick:async()=>{"chat_dashboard"===J?el():ee()},children:"Run"}),(0,n.jsx)(h.ZP,{className:"text-xs rounded-none",type:"primary",size:"small",loading:ei||es,icon:(0,n.jsx)(_.Z,{}),onClick:async()=>{"chat_dashboard"===J?await er():await ea()},children:"Save"})]}),(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)(i.Z,{className:C()("flex items-center justify-center w-6 h-6 text-lg rounded",{"bg-theme-primary bg-opacity-10":"TB"===G}),component:g,onClick:()=>{K("TB")}}),(0,n.jsx)(i.Z,{className:C()("flex items-center justify-center w-6 h-6 text-lg rounded",{"bg-theme-primary bg-opacity-10":"LR"===G}),component:y,onClick:()=>{K("LR")}})]})]}),Array.isArray(T)?(0,n.jsxs)("div",{className:"flex flex-col h-full overflow-hidden",children:[(0,n.jsx)("div",{className:"w-full whitespace-nowrap overflow-x-auto bg-white dark:bg-theme-dark-container mb-2 text-[0px]",children:T.map((e,t)=>(0,n.jsx)(d.Z,{className:"inline-block",title:e.title,children:(0,n.jsx)("div",{className:C()("max-w-[240px] px-3 h-10 text-ellipsis overflow-hidden whitespace-nowrap text-sm leading-10 cursor-pointer font-semibold hover:text-theme-primary transition-colors mr-2 last-of-type:mr-0",{"border-b-2 border-solid border-theme-primary text-theme-primary":B===t}),onClick:()=>{F(t),L(null==T?void 0:T[t])},children:e.title})},e.title))}),(0,n.jsx)("div",{className:"flex flex-1 overflow-hidden",children:T.map((e,t)=>(0,n.jsx)("div",{className:C()("w-full overflow-hidden",{hidden:t!==B,"block flex-1":t===B}),children:(0,n.jsx)(E,{layout:G,editorValue:e,handleChange:e=>{let{sql:t,thoughts:l}=em(e);L(e=>Object.assign({},e,{sql:t,thoughts:l}))},tableData:q,chartData:I})},e.title))})]}):(0,n.jsx)(E,{layout:G,editorValue:T,handleChange:e=>{let{sql:t,thoughts:l}=em(e);L(e=>Object.assign({},e,{sql:t,thoughts:l}))},tableData:q,chartData:void 0,tables:eo})]})]})]})}},34625:function(e,t,l){"use strict";l.d(t,{Z:function(){return O}});var n=l(85893),a=l(41468),i=l(81799),r=l(82353),s=l(16165),o=l(96991),d=l(78045),c=l(67294);function u(){let{isContract:e,setIsContract:t,scene:l}=(0,c.useContext)(a.p),i=l&&["chat_with_db_execute","chat_dashboard"].includes(l);return i?(0,n.jsxs)(d.ZP.Group,{value:e,defaultValue:!0,buttonStyle:"solid",onChange:()=>{t(!e)},children:[(0,n.jsxs)(d.ZP.Button,{value:!1,children:[(0,n.jsx)(s.Z,{component:r.ig,className:"mr-1"}),"Preview"]}),(0,n.jsxs)(d.ZP.Button,{value:!0,children:[(0,n.jsx)(o.Z,{className:"mr-1"}),"Editor"]})]}):null}l(23293);var h=l(76212),m=l(65654),v=l(34041),f=l(67421),p=function(){let{t:e}=(0,f.$G)(),{agent:t,setAgent:l}=(0,c.useContext)(a.p),{data:i=[]}=(0,m.Z)(async()=>{let[,e]=await (0,h.Vx)((0,h.H4)());return null!=e?e:[]});return(0,n.jsx)(v.default,{className:"w-60",value:t,placeholder:e("Select_Plugins"),options:i.map(e=>({label:e.app_name,value:e.app_code})),allowClear:!0,onChange:e=>{null==l||l(e)}})},x=l(29158),y=l(49591),g=l(88484),j=l(45360),w=l(83062),b=l(23799),_=l(14726),N=function(e){var t;let{convUid:l,chatMode:i,onComplete:r,...s}=e,[o,d]=(0,c.useState)(!1),[u,m]=j.ZP.useMessage(),[v,f]=(0,c.useState)([]),[p,N]=(0,c.useState)(),{model:C}=(0,c.useContext)(a.p),$=async e=>{var t;if(!e){j.ZP.error("Please select the *.(csv|xlsx|xls) file");return}if(!/\.(csv|xlsx|xls)$/.test(null!==(t=e.file.name)&&void 0!==t?t:"")){j.ZP.error("File type must be csv, xlsx or xls");return}f([e.file])},Z=async()=>{d(!0);try{let e=new FormData;e.append("doc_file",v[0]),u.open({content:"Uploading ".concat(v[0].name),type:"loading",duration:0});let[t]=await (0,h.Vx)((0,h.qn)({convUid:l,chatMode:i,data:e,model:C,config:{timeout:36e5,onUploadProgress:e=>{let t=Math.ceil(e.loaded/(e.total||0)*100);N(t)}}}));if(t)return;j.ZP.success("success"),null==r||r()}catch(e){j.ZP.error((null==e?void 0:e.message)||"Upload Error")}finally{d(!1),u.destroy()}};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"flex items-start gap-2",children:[m,(0,n.jsx)(w.Z,{placement:"bottom",title:"File cannot be changed after upload",children:(0,n.jsx)(b.default,{disabled:o,className:"mr-1",beforeUpload:()=>!1,fileList:v,name:"file",accept:".csv,.xlsx,.xls",multiple:!1,onChange:$,showUploadList:{showDownloadIcon:!1,showPreviewIcon:!1,showRemoveIcon:!1},itemRender:()=>(0,n.jsx)(n.Fragment,{}),...s,children:(0,n.jsx)(_.ZP,{className:"flex justify-center items-center",type:"primary",disabled:o,icon:(0,n.jsx)(y.Z,{}),children:"Select File"})})}),(0,n.jsx)(_.ZP,{type:"primary",loading:o,className:"flex justify-center items-center",disabled:!v.length,icon:(0,n.jsx)(g.Z,{}),onClick:Z,children:o?100===p?"Analysis":"Uploading":"Upload"}),!!v.length&&(0,n.jsxs)("div",{className:"mt-2 text-gray-500 text-sm flex items-center",onClick:()=>f([]),children:[(0,n.jsx)(x.Z,{className:"mr-2"}),(0,n.jsx)("span",{children:null===(t=v[0])||void 0===t?void 0:t.name})]})]})})},C=function(e){let{onComplete:t}=e,{currentDialogue:l,scene:i,chatId:r}=(0,c.useContext)(a.p);return"chat_excel"!==i?null:(0,n.jsx)("div",{className:"max-w-md h-full relative",children:l?(0,n.jsxs)("div",{className:"flex h-8 overflow-hidden rounded",children:[(0,n.jsx)("div",{className:"flex items-center justify-center px-2 bg-gray-600 text-lg",children:(0,n.jsx)(x.Z,{className:"text-white"})}),(0,n.jsx)("div",{className:"flex items-center justify-center px-3 bg-gray-100 text-xs rounded-tr rounded-br dark:text-gray-800 truncate",children:l.select_param})]}):(0,n.jsx)(N,{convUid:r,chatMode:i,onComplete:t})})},$=l(98978),Z=l(62418),k=l(2093),S=function(){let{scene:e,dbParam:t,setDbParam:l}=(0,c.useContext)(a.p),[i,r]=(0,c.useState)([]);(0,k.Z)(async()=>{let[,t]=await (0,h.Vx)((0,h.vD)(e));r(null!=t?t:[])},[e]);let s=(0,c.useMemo)(()=>{var e;return null===(e=i.map)||void 0===e?void 0:e.call(i,e=>({name:e.param,...Z.S$[e.type]}))},[i]);return((0,c.useEffect)(()=>{(null==s?void 0:s.length)&&!t&&l(s[0].name)},[s,l,t]),null==s?void 0:s.length)?(0,n.jsx)(v.default,{value:t,className:"w-36",onChange:e=>{l(e)},children:s.map(e=>(0,n.jsxs)(v.default.Option,{children:[(0,n.jsx)($.Z,{width:24,height:24,src:e.icon,label:e.label,className:"w-[1.5em] h-[1.5em] mr-1 inline-block mt-[-4px]"}),e.name]},e.name))}):null},O=function(e){let{refreshHistory:t,modelChange:l}=e,{scene:r,refreshDialogList:s}=(0,c.useContext)(a.p);return(0,n.jsxs)("div",{className:"w-full py-2 px-4 md:px-4 flex flex-wrap items-center justify-center gap-1 md:gap-4",children:[(0,n.jsx)(i.Z,{onChange:l}),(0,n.jsx)(S,{}),"chat_excel"===r&&(0,n.jsx)(C,{onComplete:()=>{null==s||s(),null==t||t()}}),"chat_agent"===r&&(0,n.jsx)(p,{}),(0,n.jsx)(u,{})]})}},81799:function(e,t,l){"use strict";l.d(t,{A:function(){return h}});var n=l(85893),a=l(41468),i=l(19284),r=l(34041),s=l(25675),o=l.n(s),d=l(67294),c=l(67421);let u="/models/huggingface.svg";function h(e,t){var l,a;let{width:r,height:s}=t||{};return e?(0,n.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:r||24,height:s||24,src:(null===(l=i.Hf[e])||void 0===l?void 0:l.icon)||u,alt:"llm"},(null===(a=i.Hf[e])||void 0===a?void 0:a.icon)||u):null}t.Z=function(e){let{onChange:t}=e,{t:l}=(0,c.$G)(),{modelList:s,model:o}=(0,d.useContext)(a.p);return!s||s.length<=0?null:(0,n.jsx)(r.default,{value:o,placeholder:l("choose_model"),className:"w-52",onChange:e=>{null==t||t(e)},children:s.map(e=>{var t;return(0,n.jsx)(r.default.Option,{children:(0,n.jsxs)("div",{className:"flex items-center",children:[h(e),(0,n.jsx)("span",{className:"ml-2",children:(null===(t=i.Hf[e])||void 0===t?void 0:t.label)||e})]})},e)})})}},91085:function(e,t,l){"use strict";var n=l(85893),a=l(32983),i=l(14726),r=l(93967),s=l.n(r),o=l(67421);t.Z=function(e){let{className:t,error:l,description:r,refresh:d}=e,{t:c}=(0,o.$G)();return(0,n.jsx)(a.Z,{image:"/empty.png",imageStyle:{width:320,height:196,margin:"0 auto",maxWidth:"100%",maxHeight:"100%"},className:s()("flex items-center justify-center flex-col h-full w-full",t),description:l?(0,n.jsx)(i.ZP,{type:"primary",onClick:d,children:c("try_again")}):null!=r?r:c("no_data")})}},30119:function(e,t,l){"use strict";l.d(t,{Tk:function(){return d},PR:function(){return c}});var n=l(62418),a=l(45360);l(96486);var i=l(87066),r=l(83454);let s=i.default.create({baseURL:r.env.API_BASE_URL});s.defaults.timeout=1e4,s.interceptors.response.use(e=>e.data,e=>Promise.reject(e));let o={"content-type":"application/json","User-Id":(0,n.n5)()},d=(e,t)=>{if(t){let l=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");l&&(e+="?".concat(l))}return s.get("/api"+e,{headers:o}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},c=(e,t)=>s.post(e,t,{headers:o}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},23293:function(){},36459:function(e,t,l){"use strict";function n(e){if(null==e)throw TypeError("Cannot destructure "+e)}l.d(t,{Z:function(){return n}})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4456.947d72c20c26df02.js b/dbgpt/app/static/web/_next/static/chunks/4456.947d72c20c26df02.js deleted file mode 100644 index e10784ba5..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/4456.947d72c20c26df02.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4456],{4456:function(e,t,n){n.r(t),n.d(t,{conf:function(){return k},language:function(){return l}});var o,i=n(5036),s=Object.defineProperty,r=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,p=(e,t,n,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of d(t))c.call(e,i)||i===n||s(e,i,{get:()=>t[i],enumerable:!(o=r(t,i))||o.enumerable});return e},a={};p(a,i,"default"),o&&p(o,i,"default");var k={comments:{blockComment:["{/*","*/}"]},brackets:[["{","}"]],autoClosingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"“",close:"”"},{open:"‘",close:"’"},{open:"`",close:"`"},{open:"{",close:"}"},{open:"(",close:")"},{open:"_",close:"_"},{open:"**",close:"**"},{open:"<",close:">"}],onEnterRules:[{beforeText:/^\s*- .+/,action:{indentAction:a.languages.IndentAction.None,appendText:"- "}},{beforeText:/^\s*\+ .+/,action:{indentAction:a.languages.IndentAction.None,appendText:"+ "}},{beforeText:/^\s*\* .+/,action:{indentAction:a.languages.IndentAction.None,appendText:"* "}},{beforeText:/^> /,action:{indentAction:a.languages.IndentAction.None,appendText:"> "}},{beforeText:/<\w+/,action:{indentAction:a.languages.IndentAction.Indent}},{beforeText:/\s+>\s*$/,action:{indentAction:a.languages.IndentAction.Indent}},{beforeText:/<\/\w+>/,action:{indentAction:a.languages.IndentAction.Outdent}},...Array.from({length:100},(e,t)=>({beforeText:RegExp(`^${t}\\. .+`),action:{indentAction:a.languages.IndentAction.None,appendText:`${t+1}. `}}))]},l={defaultToken:"",tokenPostfix:".mdx",control:/[!#()*+.[\\\]_`{}\-]/,escapes:/\\@control/,tokenizer:{root:[[/^---$/,{token:"meta.content",next:"@frontmatter",nextEmbedded:"yaml"}],[/^\s*import/,{token:"keyword",next:"@import",nextEmbedded:"js"}],[/^\s*export/,{token:"keyword",next:"@export",nextEmbedded:"js"}],[/<\w+/,{token:"type.identifier",next:"@jsx"}],[/<\/?\w+>/,"type.identifier"],[/^(\s*)(>*\s*)(#{1,6}\s)/,[{token:"white"},{token:"comment"},{token:"keyword",next:"@header"}]],[/^(\s*)(>*\s*)([*+-])(\s+)/,["white","comment","keyword","white"]],[/^(\s*)(>*\s*)(\d{1,9}\.)(\s+)/,["white","comment","number","white"]],[/^(\s*)(>*\s*)(\d{1,9}\.)(\s+)/,["white","comment","number","white"]],[/^(\s*)(>*\s*)(-{3,}|\*{3,}|_{3,})$/,["white","comment","keyword"]],[/`{3,}(\s.*)?$/,{token:"string",next:"@codeblock_backtick"}],[/~{3,}(\s.*)?$/,{token:"string",next:"@codeblock_tilde"}],[/`{3,}(\S+).*$/,{token:"string",next:"@codeblock_highlight_backtick",nextEmbedded:"$1"}],[/~{3,}(\S+).*$/,{token:"string",next:"@codeblock_highlight_tilde",nextEmbedded:"$1"}],[/^(\s*)(-{4,})$/,["white","comment"]],[/^(\s*)(>+)/,["white","comment"]],{include:"content"}],content:[[/(\[)(.+)(]\()(.+)(\s+".*")(\))/,["","string.link","","type.identifier","string.link",""]],[/(\[)(.+)(]\()(.+)(\))/,["","type.identifier","","string.link",""]],[/(\[)(.+)(]\[)(.+)(])/,["","type.identifier","","type.identifier",""]],[/(\[)(.+)(]:\s+)(\S*)/,["","type.identifier","","string.link"]],[/(\[)(.+)(])/,["","type.identifier",""]],[/`.*`/,"variable.source"],[/_/,{token:"emphasis",next:"@emphasis_underscore"}],[/\*(?!\*)/,{token:"emphasis",next:"@emphasis_asterisk"}],[/\*\*/,{token:"strong",next:"@strong"}],[/{/,{token:"delimiter.bracket",next:"@expression",nextEmbedded:"js"}]],import:[[/'\s*(;|$)/,{token:"string",next:"@pop",nextEmbedded:"@pop"}]],expression:[[/{/,{token:"delimiter.bracket",next:"@expression"}],[/}/,{token:"delimiter.bracket",next:"@pop",nextEmbedded:"@pop"}]],export:[[/^\s*$/,{token:"delimiter.bracket",next:"@pop",nextEmbedded:"@pop"}]],jsx:[[/\s+/,""],[/(\w+)(=)("(?:[^"\\]|\\.)*")/,["attribute.name","operator","string"]],[/(\w+)(=)('(?:[^'\\]|\\.)*')/,["attribute.name","operator","string"]],[/(\w+(?=\s|>|={|$))/,["attribute.name"]],[/={/,{token:"delimiter.bracket",next:"@expression",nextEmbedded:"js"}],[/>/,{token:"type.identifier",next:"@pop"}]],header:[[/.$/,{token:"keyword",next:"@pop"}],{include:"content"},[/./,{token:"keyword"}]],strong:[[/\*\*/,{token:"strong",next:"@pop"}],{include:"content"},[/./,{token:"strong"}]],emphasis_underscore:[[/_/,{token:"emphasis",next:"@pop"}],{include:"content"},[/./,{token:"emphasis"}]],emphasis_asterisk:[[/\*(?!\*)/,{token:"emphasis",next:"@pop"}],{include:"content"},[/./,{token:"emphasis"}]],frontmatter:[[/^---$/,{token:"meta.content",nextEmbedded:"@pop",next:"@pop"}]],codeblock_highlight_backtick:[[/\s*`{3,}\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/.*$/,"variable.source"]],codeblock_highlight_tilde:[[/\s*~{3,}\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/.*$/,"variable.source"]],codeblock_backtick:[[/\s*`{3,}\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblock_tilde:[[/\s*~{3,}\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4502-ef22a56109b9712d.js b/dbgpt/app/static/web/_next/static/chunks/4502-ef22a56109b9712d.js new file mode 100644 index 000000000..1fda44032 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/4502-ef22a56109b9712d.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4502,9277],{41156:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},50067:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},63606:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},52645:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},9020:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},23430:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},9641:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 100c-61.8 0-112 50.2-112 112 0 47.7 29.9 88.5 72 104.6v27.6L512 601.4 312 344.2v-27.6c42.1-16.1 72-56.9 72-104.6 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 50.6 33.8 93.5 80 107.3v34.4c0 9.7 3.3 19.3 9.3 27L476 672.3v33.6c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-33.6l226.7-291.6c6-7.7 9.3-17.3 9.3-27v-34.4c46.2-13.8 80-56.7 80-107.3 0-61.8-50.2-112-112-112zM224 212a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm336 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm192-552a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"fork",theme:"outlined"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},6171:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},38545:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},92962:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},98165:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},8745:function(e,t,n){n.d(t,{i:function(){return l}});var r=n(67294),o=n(21770),a=n(28459),i=n(53124);function l(e){return t=>r.createElement(a.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,Object.assign({},t)))}t.Z=(e,t,n,a)=>l(l=>{let{prefixCls:c,style:s}=l,d=r.useRef(null),[u,f]=r.useState(0),[m,g]=r.useState(0),[h,v]=(0,o.Z)(!1,{value:l.open}),{getPrefixCls:p}=r.useContext(i.E_),b=p(t||"select",c);r.useEffect(()=>{if(v(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;f(t.offsetHeight+8),g(t.offsetWidth)}),t=setInterval(()=>{var r;let o=n?`.${n(b)}`:`.${b}-dropdown`,a=null===(r=d.current)||void 0===r?void 0:r.querySelector(o);a&&(clearInterval(t),e.observe(a))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let y=Object.assign(Object.assign({},l),{style:Object.assign(Object.assign({},s),{margin:0}),open:h,visible:h,getPopupContainer:()=>d.current});return a&&(y=a(y)),r.createElement("div",{ref:d,style:{paddingBottom:u,position:"relative",minWidth:m}},r.createElement(e,Object.assign({},y)))})},98065:function(e,t,n){function r(e){return["small","middle","large"].includes(e)}function o(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}n.d(t,{T:function(){return o},n:function(){return r}})},96074:function(e,t,n){n.d(t,{Z:function(){return g}});var r=n(67294),o=n(93967),a=n.n(o),i=n(53124),l=n(25446),c=n(14747),s=n(83559),d=n(83262);let u=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o,textPaddingInline:a,orientationMargin:i,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{borderBlockStart:`${(0,l.bf)(o)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,l.bf)(o)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,l.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,l.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,l.bf)(o)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${i} * 100%)`},"&::after":{width:`calc(100% - ${i} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${i} * 100%)`},"&::after":{width:`calc(${i} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:a},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${(0,l.bf)(o)} 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},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:`${(0,l.bf)(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{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 f=(0,s.I$)("Divider",e=>{let t=(0,d.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[u(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),m=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},g=e=>{let{getPrefixCls:t,direction:n,divider:o}=r.useContext(i.E_),{prefixCls:l,type:c="horizontal",orientation:s="center",orientationMargin:d,className:u,rootClassName:g,children:h,dashed:v,variant:p="solid",plain:b,style:y}=e,$=m(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),O=t("divider",l),[w,C,x]=f(O),E=!!h,z="left"===s&&null!=d,k="right"===s&&null!=d,S=a()(O,null==o?void 0:o.className,C,x,`${O}-${c}`,{[`${O}-with-text`]:E,[`${O}-with-text-${s}`]:E,[`${O}-dashed`]:!!v,[`${O}-${p}`]:"solid"!==p,[`${O}-plain`]:!!b,[`${O}-rtl`]:"rtl"===n,[`${O}-no-default-orientation-margin-left`]:z,[`${O}-no-default-orientation-margin-right`]:k},u,g),Z=r.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),H=Object.assign(Object.assign({},z&&{marginLeft:Z}),k&&{marginRight:Z});return w(r.createElement("div",Object.assign({className:S,style:Object.assign(Object.assign({},null==o?void 0:o.style),y)},$,{role:"separator"}),h&&"vertical"!==c&&r.createElement("span",{className:`${O}-inner-text`,style:H},h)))}},45360:function(e,t,n){var r=n(74902),o=n(67294),a=n(38135),i=n(66968),l=n(53124),c=n(28459),s=n(66277),d=n(16474),u=n(84926);let f=null,m=e=>e(),g=[],h={};function v(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=h,a=(null==e?void 0:e())||document.body;return{getContainer:()=>a,duration:t,rtl:n,maxCount:r,top:o}}let p=o.forwardRef((e,t)=>{let{messageConfig:n,sync:r}=e,{getPrefixCls:a}=(0,o.useContext)(l.E_),c=h.prefixCls||a("message"),s=(0,o.useContext)(i.J),[u,f]=(0,d.K)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:c}),s.message));return o.useImperativeHandle(t,()=>{let e=Object.assign({},u);return Object.keys(e).forEach(t=>{e[t]=function(){return r(),u[t].apply(u,arguments)}}),{instance:e,sync:r}}),f}),b=o.forwardRef((e,t)=>{let[n,r]=o.useState(v),a=()=>{r(v)};o.useEffect(a,[]);let i=(0,c.w6)(),l=i.getRootPrefixCls(),s=i.getIconPrefixCls(),d=i.getTheme(),u=o.createElement(p,{ref:t,sync:a,messageConfig:n});return o.createElement(c.ZP,{prefixCls:l,iconPrefixCls:s,theme:d},i.holderRender?i.holderRender(u):u)});function y(){if(!f){let e=document.createDocumentFragment(),t={fragment:e};f=t,m(()=>{(0,a.s)(o.createElement(b,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,y())})}}),e)});return}f.instance&&(g.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":m(()=>{let t=f.instance.open(Object.assign(Object.assign({},h),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":m(()=>{null==f||f.instance.destroy(e.key)});break;default:m(()=>{var n;let o=(n=f.instance)[t].apply(n,(0,r.Z)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),g=[])}let $={open:function(e){let t=(0,u.J)(t=>{let n;let r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return g.push(r),()=>{n?m(()=>{n()}):r.skipped=!0}});return y(),t},destroy:e=>{g.push({type:"destroy",key:e}),y()},config:function(e){h=Object.assign(Object.assign({},h),e),m(()=>{var e;null===(e=null==f?void 0:f.sync)||void 0===e||e.call(f)})},useMessage:d.Z,_InternalPanelDoNotUseOrYouWillBeFired:s.ZP};["success","info","warning","error","loading"].forEach(e=>{$[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 g.push(o),()=>{r?m(()=>{r()}):o.skipped=!0}});return y(),n}(e,n)}}),t.ZP=$},42075:function(e,t,n){n.d(t,{Z:function(){return v}});var r=n(67294),o=n(93967),a=n.n(o),i=n(50344),l=n(98065),c=n(53124),s=n(4173);let d=r.createContext({latestIndex:0}),u=d.Provider;var f=e=>{let{className:t,index:n,children:o,split:a,style:i}=e,{latestIndex:l}=r.useContext(d);return null==o?null:r.createElement(r.Fragment,null,r.createElement("div",{className:t,style:i},o),nt.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=r.forwardRef((e,t)=>{var n,o,s;let{getPrefixCls:d,space:h,direction:v}=r.useContext(c.E_),{size:p=null!==(n=null==h?void 0:h.size)&&void 0!==n?n:"small",align:b,className:y,rootClassName:$,children:O,direction:w="horizontal",prefixCls:C,split:x,style:E,wrap:z=!1,classNames:k,styles:S}=e,Z=g(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[H,j]=Array.isArray(p)?p:[p,p],M=(0,l.n)(j),I=(0,l.n)(H),B=(0,l.T)(j),V=(0,l.T)(H),P=(0,i.Z)(O,{keepEmpty:!0}),N=void 0===b&&"horizontal"===w?"center":b,R=d("space",C),[T,W,L]=(0,m.Z)(R),F=a()(R,null==h?void 0:h.className,W,`${R}-${w}`,{[`${R}-rtl`]:"rtl"===v,[`${R}-align-${N}`]:N,[`${R}-gap-row-${j}`]:M,[`${R}-gap-col-${H}`]:I},y,$,L),D=a()(`${R}-item`,null!==(o=null==k?void 0:k.item)&&void 0!==o?o:null===(s=null==h?void 0:h.classNames)||void 0===s?void 0:s.item),A=0,_=P.map((e,t)=>{var n,o;null!=e&&(A=t);let a=(null==e?void 0:e.key)||`${D}-${t}`;return r.createElement(f,{className:D,key:a,index:t,split:x,style:null!==(n=null==S?void 0:S.item)&&void 0!==n?n:null===(o=null==h?void 0:h.styles)||void 0===o?void 0:o.item},e)}),K=r.useMemo(()=>({latestIndex:A}),[A]);if(0===P.length)return null;let G={};return z&&(G.flexWrap="wrap"),!I&&V&&(G.columnGap=H),!M&&B&&(G.rowGap=j),T(r.createElement("div",Object.assign({ref:t,className:F,style:Object.assign(Object.assign(Object.assign({},G),null==h?void 0:h.style),E)},Z),r.createElement(u,{value:K},_)))});h.Compact=s.ZP;var v=h},33507:function(e,t){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`}}})},33297:function(e,t,n){n.d(t,{Fm:function(){return g}});var r=n(25446),o=n(93590);let a=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}}),i=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}}),c=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}}),s=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}}),d=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}}),u=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}}),f=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}}),m={"move-up":{inKeyframes:u,outKeyframes:f},"move-down":{inKeyframes:a,outKeyframes:i},"move-left":{inKeyframes:l,outKeyframes:c},"move-right":{inKeyframes:s,outKeyframes:d}},g=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=m[t];return[(0,o.R)(r,a,i,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},66309:function(e,t,n){n.d(t,{Z:function(){return H}});var r=n(67294),o=n(93967),a=n.n(o),i=n(98423),l=n(98787),c=n(69760),s=n(96159),d=n(45353),u=n(53124),f=n(25446),m=n(10274),g=n(14747),h=n(83262),v=n(83559);let p=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o,calc:a}=e,i=a(r).sub(n).equal(),l=a(t).sub(n).equal();return{[o]:Object.assign(Object.assign({},(0,g.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:i}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,o=e.fontSizeSM,a=(0,h.IX)(e,{tagFontSize:o,tagLineHeight:(0,f.bf)(r(e.lineHeightSM).mul(o).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},y=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var $=(0,v.I$)("Tag",e=>{let t=b(e);return p(t)},y),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 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 w=r.forwardRef((e,t)=>{let{prefixCls:n,style:o,className:i,checked:l,onChange:c,onClick:s}=e,d=O(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:m}=r.useContext(u.E_),g=f("tag",n),[h,v,p]=$(g),b=a()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:l},null==m?void 0:m.className,i,v,p);return h(r.createElement("span",Object.assign({},d,{ref:t,style:Object.assign(Object.assign({},o),null==m?void 0:m.style),className:b,onClick:e=>{null==c||c(!l),null==s||s(e)}})))});var C=n(98719);let x=e=>(0,C.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:a,darkColor:i}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var E=(0,v.bk)(["Tag","preset"],e=>{let t=b(e);return x(t)},y);let z=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var k=(0,v.bk)(["Tag","status"],e=>{let t=b(e);return[z(t,"success","Success"),z(t,"processing","Info"),z(t,"error","Error"),z(t,"warning","Warning")]},y),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 Z=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:f,style:m,children:g,icon:h,color:v,onClose:p,bordered:b=!0,visible:y}=e,O=S(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:C,tag:x}=r.useContext(u.E_),[z,Z]=r.useState(!0),H=(0,i.Z)(O,["closeIcon","closable"]);r.useEffect(()=>{void 0!==y&&Z(y)},[y]);let j=(0,l.o2)(v),M=(0,l.yT)(v),I=j||M,B=Object.assign(Object.assign({backgroundColor:v&&!I?v:void 0},null==x?void 0:x.style),m),V=w("tag",n),[P,N,R]=$(V),T=a()(V,null==x?void 0:x.className,{[`${V}-${v}`]:I,[`${V}-has-color`]:v&&!I,[`${V}-hidden`]:!z,[`${V}-rtl`]:"rtl"===C,[`${V}-borderless`]:!b},o,f,N,R),W=e=>{e.stopPropagation(),null==p||p(e),e.defaultPrevented||Z(!1)},[,L]=(0,c.Z)((0,c.w)(e),(0,c.w)(x),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${V}-close-icon`,onClick:W},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),W(t)},className:a()(null==e?void 0:e.className,`${V}-close-icon`)}))}}),F="function"==typeof O.onClick||g&&"a"===g.type,D=h||null,A=D?r.createElement(r.Fragment,null,D,g&&r.createElement("span",null,g)):g,_=r.createElement("span",Object.assign({},H,{ref:t,className:T,style:B}),A,L,j&&r.createElement(E,{key:"preset",prefixCls:V}),M&&r.createElement(k,{key:"status",prefixCls:V}));return P(F?r.createElement(d.Z,{component:"Tag"},_):_)});Z.CheckableTag=w;var H=Z}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4567-d1df11aa7b25e1cf.js b/dbgpt/app/static/web/_next/static/chunks/4567-e13d92805b9a662c.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/4567-d1df11aa7b25e1cf.js rename to dbgpt/app/static/web/_next/static/chunks/4567-e13d92805b9a662c.js index 4deb2109e..a5497fcd6 100644 --- a/dbgpt/app/static/web/_next/static/chunks/4567-d1df11aa7b25e1cf.js +++ b/dbgpt/app/static/web/_next/static/chunks/4567-e13d92805b9a662c.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4567],{84567:function(e,r,t){t.d(r,{Z:function(){return C}});var n=t(67294),o=t(93967),a=t.n(o),l=t(50132),i=t(45353),c=t(17415),s=t(53124),d=t(98866),u=t(35792),p=t(65223);let b=n.createContext(null);var f=t(63185),v=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let m=n.forwardRef((e,r)=>{var t;let{prefixCls:o,className:m,rootClassName:g,children:h,indeterminate:$=!1,style:y,onMouseEnter:C,onMouseLeave:k,skipGroup:x=!1,disabled:O}=e,S=v(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:w,direction:E,checkbox:Z}=n.useContext(s.E_),j=n.useContext(b),{isFormItemInput:P}=n.useContext(p.aM),N=n.useContext(d.Z),I=null!==(t=(null==j?void 0:j.disabled)||O)&&void 0!==t?t:N,z=n.useRef(S.value);n.useEffect(()=>{null==j||j.registerValue(S.value)},[]),n.useEffect(()=>{if(!x)return S.value!==z.current&&(null==j||j.cancelValue(z.current),null==j||j.registerValue(S.value),z.current=S.value),()=>null==j?void 0:j.cancelValue(S.value)},[S.value]);let B=w("checkbox",o),D=(0,u.Z)(B),[R,M,_]=(0,f.ZP)(B,D),V=Object.assign({},S);j&&!x&&(V.onChange=function(){S.onChange&&S.onChange.apply(S,arguments),j.toggleOption&&j.toggleOption({label:h,value:S.value})},V.name=j.name,V.checked=j.value.includes(S.value));let W=a()(`${B}-wrapper`,{[`${B}-rtl`]:"rtl"===E,[`${B}-wrapper-checked`]:V.checked,[`${B}-wrapper-disabled`]:I,[`${B}-wrapper-in-form-item`]:P},null==Z?void 0:Z.className,m,g,_,D,M),q=a()({[`${B}-indeterminate`]:$},c.A,M);return R(n.createElement(i.Z,{component:"Checkbox",disabled:I},n.createElement("label",{className:W,style:Object.assign(Object.assign({},null==Z?void 0:Z.style),y),onMouseEnter:C,onMouseLeave:k},n.createElement(l.Z,Object.assign({"aria-checked":$?"mixed":void 0},V,{prefixCls:B,className:q,disabled:I,ref:r})),void 0!==h&&n.createElement("span",null,h))))});var g=t(96641),h=t(98423),$=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let y=n.forwardRef((e,r)=>{let{defaultValue:t,children:o,options:l=[],prefixCls:i,className:c,rootClassName:d,style:p,onChange:v}=e,y=$(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:C,direction:k}=n.useContext(s.E_),[x,O]=n.useState(y.value||t||[]),[S,w]=n.useState([]);n.useEffect(()=>{"value"in y&&O(y.value||[])},[y.value]);let E=n.useMemo(()=>l.map(e=>"string"==typeof e||"number"==typeof e?{label:e,value:e}:e),[l]),Z=C("checkbox",i),j=`${Z}-group`,P=(0,u.Z)(Z),[N,I,z]=(0,f.ZP)(Z,P),B=(0,h.Z)(y,["value","disabled"]),D=l.length?E.map(e=>n.createElement(m,{prefixCls:Z,key:e.value.toString(),disabled:"disabled"in e?e.disabled:y.disabled,value:e.value,checked:x.includes(e.value),onChange:e.onChange,className:`${j}-item`,style:e.style,title:e.title,id:e.id,required:e.required},e.label)):o,R={toggleOption:e=>{let r=x.indexOf(e.value),t=(0,g.Z)(x);-1===r?t.push(e.value):t.splice(r,1),"value"in y||O(t),null==v||v(t.filter(e=>S.includes(e)).sort((e,r)=>{let t=E.findIndex(r=>r.value===e),n=E.findIndex(e=>e.value===r);return t-n}))},value:x,disabled:y.disabled,name:y.name,registerValue:e=>{w(r=>[].concat((0,g.Z)(r),[e]))},cancelValue:e=>{w(r=>r.filter(r=>r!==e))}},M=a()(j,{[`${j}-rtl`]:"rtl"===k},c,d,z,P,I);return N(n.createElement("div",Object.assign({className:M,style:p},B,{ref:r}),n.createElement(b.Provider,{value:R},D)))});m.Group=y,m.__ANT_CHECKBOX=!0;var C=m},63185:function(e,r,t){t.d(r,{C2:function(){return c}});var n=t(47648),o=t(14747),a=t(87893),l=t(83559);let i=e=>{let{checkboxCls:r}=e,t=`${r}-wrapper`;return[{[`${r}-group`]:Object.assign(Object.assign({},(0,o.Wf)(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[t]:Object.assign(Object.assign({},(0,o.Wf)(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${t}`]:{marginInlineStart:0},[`&${t}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[r]:Object.assign(Object.assign({},(0,o.Wf)(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${r}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${r}-inner`]:Object.assign({},(0,o.oN)(e))},[`${r}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${(0,n.bf)(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4567],{84567:function(e,r,t){t.d(r,{Z:function(){return C}});var n=t(67294),o=t(93967),a=t.n(o),l=t(50132),i=t(45353),c=t(17415),s=t(53124),d=t(98866),u=t(35792),p=t(65223);let b=n.createContext(null);var f=t(63185),v=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let m=n.forwardRef((e,r)=>{var t;let{prefixCls:o,className:m,rootClassName:g,children:h,indeterminate:$=!1,style:y,onMouseEnter:C,onMouseLeave:k,skipGroup:x=!1,disabled:O}=e,S=v(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:w,direction:E,checkbox:Z}=n.useContext(s.E_),j=n.useContext(b),{isFormItemInput:P}=n.useContext(p.aM),N=n.useContext(d.Z),I=null!==(t=(null==j?void 0:j.disabled)||O)&&void 0!==t?t:N,z=n.useRef(S.value);n.useEffect(()=>{null==j||j.registerValue(S.value)},[]),n.useEffect(()=>{if(!x)return S.value!==z.current&&(null==j||j.cancelValue(z.current),null==j||j.registerValue(S.value),z.current=S.value),()=>null==j?void 0:j.cancelValue(S.value)},[S.value]);let B=w("checkbox",o),D=(0,u.Z)(B),[R,M,_]=(0,f.ZP)(B,D),V=Object.assign({},S);j&&!x&&(V.onChange=function(){S.onChange&&S.onChange.apply(S,arguments),j.toggleOption&&j.toggleOption({label:h,value:S.value})},V.name=j.name,V.checked=j.value.includes(S.value));let W=a()(`${B}-wrapper`,{[`${B}-rtl`]:"rtl"===E,[`${B}-wrapper-checked`]:V.checked,[`${B}-wrapper-disabled`]:I,[`${B}-wrapper-in-form-item`]:P},null==Z?void 0:Z.className,m,g,_,D,M),q=a()({[`${B}-indeterminate`]:$},c.A,M);return R(n.createElement(i.Z,{component:"Checkbox",disabled:I},n.createElement("label",{className:W,style:Object.assign(Object.assign({},null==Z?void 0:Z.style),y),onMouseEnter:C,onMouseLeave:k},n.createElement(l.Z,Object.assign({"aria-checked":$?"mixed":void 0},V,{prefixCls:B,className:q,disabled:I,ref:r})),void 0!==h&&n.createElement("span",null,h))))});var g=t(74902),h=t(98423),$=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let y=n.forwardRef((e,r)=>{let{defaultValue:t,children:o,options:l=[],prefixCls:i,className:c,rootClassName:d,style:p,onChange:v}=e,y=$(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:C,direction:k}=n.useContext(s.E_),[x,O]=n.useState(y.value||t||[]),[S,w]=n.useState([]);n.useEffect(()=>{"value"in y&&O(y.value||[])},[y.value]);let E=n.useMemo(()=>l.map(e=>"string"==typeof e||"number"==typeof e?{label:e,value:e}:e),[l]),Z=C("checkbox",i),j=`${Z}-group`,P=(0,u.Z)(Z),[N,I,z]=(0,f.ZP)(Z,P),B=(0,h.Z)(y,["value","disabled"]),D=l.length?E.map(e=>n.createElement(m,{prefixCls:Z,key:e.value.toString(),disabled:"disabled"in e?e.disabled:y.disabled,value:e.value,checked:x.includes(e.value),onChange:e.onChange,className:`${j}-item`,style:e.style,title:e.title,id:e.id,required:e.required},e.label)):o,R={toggleOption:e=>{let r=x.indexOf(e.value),t=(0,g.Z)(x);-1===r?t.push(e.value):t.splice(r,1),"value"in y||O(t),null==v||v(t.filter(e=>S.includes(e)).sort((e,r)=>{let t=E.findIndex(r=>r.value===e),n=E.findIndex(e=>e.value===r);return t-n}))},value:x,disabled:y.disabled,name:y.name,registerValue:e=>{w(r=>[].concat((0,g.Z)(r),[e]))},cancelValue:e=>{w(r=>r.filter(r=>r!==e))}},M=a()(j,{[`${j}-rtl`]:"rtl"===k},c,d,z,P,I);return N(n.createElement("div",Object.assign({className:M,style:p},B,{ref:r}),n.createElement(b.Provider,{value:R},D)))});m.Group=y,m.__ANT_CHECKBOX=!0;var C=m},63185:function(e,r,t){t.d(r,{C2:function(){return c}});var n=t(25446),o=t(14747),a=t(83262),l=t(83559);let i=e=>{let{checkboxCls:r}=e,t=`${r}-wrapper`;return[{[`${r}-group`]:Object.assign(Object.assign({},(0,o.Wf)(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[t]:Object.assign(Object.assign({},(0,o.Wf)(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${t}`]:{marginInlineStart:0},[`&${t}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[r]:Object.assign(Object.assign({},(0,o.Wf)(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${r}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${r}-inner`]:Object.assign({},(0,o.oN)(e))},[`${r}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${(0,n.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${(0,n.bf)(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` ${t}:not(${t}-disabled), ${r}:not(${r}-disabled) `]:{[`&:hover ${r}-inner`]:{borderColor:e.colorPrimary}},[`${t}:not(${t}-disabled)`]:{[`&:hover ${r}-checked:not(${r}-disabled) ${r}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${r}-checked:not(${r}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${r}-checked`]:{[`${r}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[` diff --git a/dbgpt/app/static/web/_next/static/chunks/464-1d45eb3a49b059fc.js b/dbgpt/app/static/web/_next/static/chunks/464-1d45eb3a49b059fc.js new file mode 100644 index 000000000..c4d9b53f3 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/464-1d45eb3a49b059fc.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[464,6231,2783,6388,950,6047,1437,5005,1390,5654],{91321:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(87462),l=n(45987),o=n(67294),a=n(16165),i=["type","children"],c=new Set;function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e[t];if("string"==typeof n&&n.length&&!c.has(n)){var r=document.createElement("script");r.setAttribute("src",n),r.setAttribute("data-namespace",n),e.length>t+1&&(r.onload=function(){s(e,t+1)},r.onerror=function(){s(e,t+1)}),c.add(n),document.body.appendChild(r)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,c=void 0===n?{}:n;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?s(t.reverse()):s([t]));var u=o.forwardRef(function(e,t){var n=e.type,s=e.children,u=(0,l.Z)(e,i),d=null;return e.type&&(d=o.createElement("use",{xlinkHref:"#".concat(n)})),s&&(d=s),o.createElement(a.Z,(0,r.Z)({},c,u,{ref:t}),d)});return u.displayName="Iconfont",u}},52645:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},a=n(13401),i=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},15381:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},a=n(13401),i=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},58638:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},a=n(13401),i=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},83266:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},a=n(13401),i=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},65429:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},a=n(13401),i=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},30159:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),l=n(67294),o={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},a=n(13401),i=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},87740:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},a=n(13401),i=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},27496:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},a=n(13401),i=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},94668:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},a=n(13401),i=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},1375:function(e,t,n){"use strict";async function r(e,t){let n;let r=e.getReader();for(;!(n=await r.read()).done;)t(n.value)}function l(){return{data:"",event:"",id:"",retry:void 0}}n.d(t,{a:function(){return a},L:function(){return c}});var 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 a="text/event-stream",i="last-event-id";function c(e,t){var{signal:n,headers:c,onopen:u,onmessage:d,onclose:f,onerror:m,openWhenHidden:p,fetch:b}=t,g=o(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,o)=>{let h;let v=Object.assign({},c);function y(){h.abort(),document.hidden||j()}v.accept||(v.accept=a),p||document.addEventListener("visibilitychange",y);let $=1e3,x=0;function w(){document.removeEventListener("visibilitychange",y),window.clearTimeout(x),h.abort()}null==n||n.addEventListener("abort",()=>{w(),t()});let O=null!=b?b:window.fetch,C=null!=u?u:s;async function j(){var n,a;h=new AbortController;try{let n,o,c,s;let u=await O(e,Object.assign(Object.assign({},g),{headers:v,signal:h.signal}));await C(u),await r(u.body,(a=function(e,t,n){let r=l(),o=new TextDecoder;return function(a,i){if(0===a.length)null==n||n(r),r=l();else if(i>0){let n=o.decode(a.subarray(0,i)),l=i+(32===a[i+1]?2:1),c=o.decode(a.subarray(l));switch(n){case"data":r.data=r.data?r.data+"\n"+c:c;break;case"event":r.event=c;break;case"id":e(r.id=c);break;case"retry":let s=parseInt(c,10);isNaN(s)||t(r.retry=s)}}}}(e=>{e?v[i]=e:delete v[i]},e=>{$=e},d),s=!1,function(e){void 0===n?(n=e,o=0,c=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;o{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},b=(e,t)=>{let n={};return m.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},g=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},h=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},v=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},y=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},$=e=>{let{componentCls:t}=e,n={};return m.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},x=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var w=(0,s.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,l=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[h(l),v(l),y(l),$(l),x(l)]},()=>({}),{resetStyle:!1}),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 C=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:l,className:s,style:u,flex:d,gap:f,children:m,vertical:h=!1,component:v="div"}=e,y=O(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:$,direction:x,getPrefixCls:C}=r.useContext(c.E_),j=C("flex",n),[S,E,k]=w(j),Z=null!=h?h:null==$?void 0:$.vertical,_=o()(s,l,null==$?void 0:$.className,j,E,k,o()(Object.assign(Object.assign(Object.assign({},p(j,e)),b(j,e)),g(j,e))),{[`${j}-rtl`]:"rtl"===x,[`${j}-gap-${f}`]:(0,i.n)(f),[`${j}-vertical`]:Z}),M=Object.assign(Object.assign({},null==$?void 0:$.style),u);return d&&(M.flex=d),f&&!(0,i.n)(f)&&(M.gap=f),S(r.createElement(v,Object.assign({ref:t,className:_,style:M},(0,a.Z)(y,["justify","wrap","align"])),m))});var j=C},99134:function(e,t,n){"use strict";var r=n(67294);let l=(0,r.createContext)({});t.Z=l},21584:function(e,t,n){"use strict";var r=n(67294),l=n(93967),o=n.n(l),a=n(53124),i=n(99134),c=n(6999),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 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 u(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let d=["xs","sm","md","lg","xl","xxl"],f=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:l}=r.useContext(a.E_),{gutter:f,wrap:m}=r.useContext(i.Z),{prefixCls:p,span:b,order:g,offset:h,push:v,pull:y,className:$,children:x,flex:w,style:O}=e,C=s(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),j=n("col",p),[S,E,k]=(0,c.cG)(j),Z={},_={};d.forEach(t=>{let n={},r=e[t];"number"==typeof r?n.span=r:"object"==typeof r&&(n=r||{}),delete C[t],_=Object.assign(Object.assign({},_),{[`${j}-${t}-${n.span}`]:void 0!==n.span,[`${j}-${t}-order-${n.order}`]:n.order||0===n.order,[`${j}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${j}-${t}-push-${n.push}`]:n.push||0===n.push,[`${j}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${j}-rtl`]:"rtl"===l}),n.flex&&(_[`${j}-${t}-flex`]=!0,Z[`--${j}-${t}-flex`]=u(n.flex))});let M=o()(j,{[`${j}-${b}`]:void 0!==b,[`${j}-order-${g}`]:g,[`${j}-offset-${h}`]:h,[`${j}-push-${v}`]:v,[`${j}-pull-${y}`]:y},$,_,E,k),P={};if(f&&f[0]>0){let e=f[0]/2;P.paddingLeft=e,P.paddingRight=e}return w&&(P.flex=u(w),!1!==m||P.minWidth||(P.minWidth=0)),S(r.createElement("div",Object.assign({},C,{style:Object.assign(Object.assign(Object.assign({},P),O),Z),className:M,ref:t}),x))});t.Z=f},92820:function(e,t,n){"use strict";var r=n(67294),l=n(93967),o=n.n(l),a=n(74443),i=n(53124),c=n(99134),s=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};function d(e,t){let[n,l]=r.useState("string"==typeof e?e:""),o=()=>{if("string"==typeof e&&l(e),"object"==typeof e)for(let n=0;n{o()},[JSON.stringify(e),t]),n}let f=r.forwardRef((e,t)=>{let{prefixCls:n,justify:l,align:f,className:m,style:p,children:b,gutter:g=0,wrap:h}=e,v=u(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:y,direction:$}=r.useContext(i.E_),[x,w]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[O,C]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),j=d(f,O),S=d(l,O),E=r.useRef(g),k=(0,a.ZP)();r.useEffect(()=>{let e=k.subscribe(e=>{C(e);let t=E.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&w(e)});return()=>k.unsubscribe(e)},[]);let Z=y("row",n),[_,M,P]=(0,s.VM)(Z),H=(()=>{let e=[void 0,void 0],t=Array.isArray(g)?g:[g,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let r=0;r0?-(H[0]/2):void 0;N&&(R.marginLeft=N,R.marginRight=N);let[z,L]=H;R.rowGap=L;let V=r.useMemo(()=>({gutter:[z,L],wrap:h}),[z,L,h]);return _(r.createElement(c.Z.Provider,{value:V},r.createElement("div",Object.assign({},v,{className:I,style:Object.assign(Object.assign({},R),p),ref:t}),b)))});t.Z=f},6999:function(e,t,n){"use strict";n.d(t,{VM:function(){return u},cG:function(){return d}});var r=n(25446),l=n(83559),o=n(83262);let a=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},i=(e,t)=>{let{prefixCls:n,componentCls:r,gridColumns:l}=e,o={};for(let e=l;e>=0;e--)0===e?(o[`${r}${t}-${e}`]={display:"none"},o[`${r}-push-${e}`]={insetInlineStart:"auto"},o[`${r}-pull-${e}`]={insetInlineEnd:"auto"},o[`${r}${t}-push-${e}`]={insetInlineStart:"auto"},o[`${r}${t}-pull-${e}`]={insetInlineEnd:"auto"},o[`${r}${t}-offset-${e}`]={marginInlineStart:0},o[`${r}${t}-order-${e}`]={order:0}):(o[`${r}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/l*100}%`,maxWidth:`${e/l*100}%`}],o[`${r}${t}-push-${e}`]={insetInlineStart:`${e/l*100}%`},o[`${r}${t}-pull-${e}`]={insetInlineEnd:`${e/l*100}%`},o[`${r}${t}-offset-${e}`]={marginInlineStart:`${e/l*100}%`},o[`${r}${t}-order-${e}`]={order:e});return o[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},o},c=(e,t)=>i(e,t),s=(e,t,n)=>({[`@media (min-width: ${(0,r.bf)(t)})`]:Object.assign({},c(e,n))}),u=(0,l.I$)("Grid",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"}}}},()=>({})),d=(0,l.I$)("Grid",e=>{let t=(0,o.IX)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[a(t),c(t,""),c(t,"-xs"),Object.keys(n).map(e=>s(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},92783:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var r=n(67294),l=n(93967),o=n.n(l),a=n(87462),i=n(97685),c=n(45987),s=n(4942),u=n(1413),d=n(71002),f=n(21770),m=n(42550),p=n(98423),b=n(29372),g=n(8410),h=function(e){return e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null},v=function(e){return void 0!==e?"".concat(e,"px"):void 0};function y(e){var t=e.prefixCls,n=e.containerRef,l=e.value,a=e.getValueIndex,c=e.motionName,s=e.onMotionStart,d=e.onMotionEnd,f=e.direction,p=r.useRef(null),y=r.useState(l),$=(0,i.Z)(y,2),x=$[0],w=$[1],O=function(e){var r,l=a(e),o=null===(r=n.current)||void 0===r?void 0:r.querySelectorAll(".".concat(t,"-item"))[l];return(null==o?void 0:o.offsetParent)&&o},C=r.useState(null),j=(0,i.Z)(C,2),S=j[0],E=j[1],k=r.useState(null),Z=(0,i.Z)(k,2),_=Z[0],M=Z[1];(0,g.Z)(function(){if(x!==l){var e=O(x),t=O(l),n=h(e),r=h(t);w(l),E(n),M(r),e&&t?s():d()}},[l]);var P=r.useMemo(function(){return"rtl"===f?v(-(null==S?void 0:S.right)):v(null==S?void 0:S.left)},[f,S]),H=r.useMemo(function(){return"rtl"===f?v(-(null==_?void 0:_.right)):v(null==_?void 0:_.left)},[f,_]);return S&&_?r.createElement(b.ZP,{visible:!0,motionName:c,motionAppear:!0,onAppearStart:function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){E(null),M(null),d()}},function(e,n){var l=e.className,a=e.style,i=(0,u.Z)((0,u.Z)({},a),{},{"--thumb-start-left":P,"--thumb-start-width":v(null==S?void 0:S.width),"--thumb-active-left":H,"--thumb-active-width":v(null==_?void 0:_.width)}),c={ref:(0,m.sQ)(p,n),style:i,className:o()("".concat(t,"-thumb"),l)};return r.createElement("div",c)}):null}var $=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"],x=function(e){var t=e.prefixCls,n=e.className,l=e.disabled,a=e.checked,i=e.label,c=e.title,u=e.value,d=e.onChange;return r.createElement("label",{className:o()(n,(0,s.Z)({},"".concat(t,"-item-disabled"),l))},r.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:l,checked:a,onChange:function(e){l||d(e,u)}}),r.createElement("div",{className:"".concat(t,"-item-label"),title:c},i))},w=r.forwardRef(function(e,t){var n,l,b=e.prefixCls,g=void 0===b?"rc-segmented":b,h=e.direction,v=e.options,w=void 0===v?[]:v,O=e.disabled,C=e.defaultValue,j=e.value,S=e.onChange,E=e.className,k=void 0===E?"":E,Z=e.motionName,_=void 0===Z?"thumb-motion":Z,M=(0,c.Z)(e,$),P=r.useRef(null),H=r.useMemo(function(){return(0,m.sQ)(P,t)},[P,t]),I=r.useMemo(function(){return w.map(function(e){if("object"===(0,d.Z)(e)&&null!==e){var t=function(e){if(void 0!==e.title)return e.title;if("object"!==(0,d.Z)(e.label)){var t;return null===(t=e.label)||void 0===t?void 0:t.toString()}}(e);return(0,u.Z)((0,u.Z)({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}})},[w]),R=(0,f.Z)(null===(n=I[0])||void 0===n?void 0:n.value,{value:j,defaultValue:C}),N=(0,i.Z)(R,2),z=N[0],L=N[1],V=r.useState(!1),B=(0,i.Z)(V,2),A=B[0],T=B[1],G=function(e,t){O||(L(t),null==S||S(t))},D=(0,p.Z)(M,["children"]);return r.createElement("div",(0,a.Z)({},D,{className:o()(g,(l={},(0,s.Z)(l,"".concat(g,"-rtl"),"rtl"===h),(0,s.Z)(l,"".concat(g,"-disabled"),O),l),k),ref:H}),r.createElement("div",{className:"".concat(g,"-group")},r.createElement(y,{prefixCls:g,value:z,containerRef:P,motionName:"".concat(g,"-").concat(_),direction:h,getValueIndex:function(e){return I.findIndex(function(t){return t.value===e})},onMotionStart:function(){T(!0)},onMotionEnd:function(){T(!1)}}),I.map(function(e){return r.createElement(x,(0,a.Z)({},e,{key:e.value,prefixCls:g,className:o()(e.className,"".concat(g,"-item"),(0,s.Z)({},"".concat(g,"-item-selected"),e.value===z&&!A)),checked:e.value===z,onChange:G,disabled:!!O||!!e.disabled}))})))}),O=n(53124),C=n(98675),j=n(25446),S=n(14747),E=n(83559),k=n(83262);function Z(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function _(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}let M=Object.assign({overflow:"hidden"},S.vS),P=e=>{let{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),r=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),l=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.Wf)(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},_(e)),{color:e.itemSelectedColor}),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:(0,j.bf)(n),padding:`0 ${(0,j.bf)(e.segmentedPaddingHorizontal)}`},M),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},_(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${(0,j.bf)(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:r,lineHeight:(0,j.bf)(r),padding:`0 ${(0,j.bf)(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:l,lineHeight:(0,j.bf)(l),padding:`0 ${(0,j.bf)(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),Z(`&-disabled ${t}-item`,e)),Z(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}};var H=(0,E.I$)("Segmented",e=>{let{lineWidth:t,calc:n}=e,r=(0,k.IX)(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()});return[P(r)]},e=>{let{colorTextLabel:t,colorText:n,colorFillSecondary:r,colorBgElevated:l,colorFill:o,lineWidthBold:a,colorBgLayout:i}=e;return{trackPadding:a,trackBg:i,itemColor:t,itemHoverColor:n,itemHoverBg:r,itemSelectedBg:l,itemActiveBg:o,itemSelectedColor:n}}),I=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 R=r.forwardRef((e,t)=>{let{prefixCls:n,className:l,rootClassName:a,block:i,options:c=[],size:s="middle",style:u}=e,d=I(e,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:f,direction:m,segmented:p}=r.useContext(O.E_),b=f("segmented",n),[g,h,v]=H(b),y=(0,C.Z)(s),$=r.useMemo(()=>c.map(e=>{if("object"==typeof e&&(null==e?void 0:e.icon)){let{icon:t,label:n}=e,l=I(e,["icon","label"]);return Object.assign(Object.assign({},l),{label:r.createElement(r.Fragment,null,r.createElement("span",{className:`${b}-item-icon`},t),n&&r.createElement("span",null,n))})}return e}),[c,b]),x=o()(l,a,null==p?void 0:p.className,{[`${b}-block`]:i,[`${b}-sm`]:"small"===y,[`${b}-lg`]:"large"===y},h,v),j=Object.assign(Object.assign({},null==p?void 0:p.style),u);return g(r.createElement(w,Object.assign({},d,{className:x,style:j,options:$,ref:t,prefixCls:b,direction:m})))});var N=R},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),l=n(93967),o=n.n(l),a=n(98423),i=n(98787),c=n(69760),s=n(96159),u=n(45353),d=n(53124),f=n(25446),m=n(10274),p=n(14747),b=n(83262),g=n(83559);let h=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:l,calc:o}=e,a=o(r).sub(n).equal(),i=o(t).sub(n).equal();return{[l]:Object.assign(Object.assign({},(0,p.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${l}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${l}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${l}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${l}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${l}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,l=e.fontSizeSM,o=(0,b.IX)(e,{tagFontSize:l,tagLineHeight:(0,f.bf)(r(e.lineHeightSM).mul(l).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return o},y=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var $=(0,g.I$)("Tag",e=>{let t=v(e);return h(t)},y),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 w=r.forwardRef((e,t)=>{let{prefixCls:n,style:l,className:a,checked:i,onChange:c,onClick:s}=e,u=x(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:m}=r.useContext(d.E_),p=f("tag",n),[b,g,h]=$(p),v=o()(p,`${p}-checkable`,{[`${p}-checkable-checked`]:i},null==m?void 0:m.className,a,g,h);return b(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},l),null==m?void 0:m.style),className:v,onClick:e=>{null==c||c(!i),null==s||s(e)}})))});var O=n(98719);let C=e=>(0,O.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:l,lightColor:o,darkColor:a}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:o,borderColor:l,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var j=(0,g.bk)(["Tag","preset"],e=>{let t=v(e);return C(t)},y);let S=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var E=(0,g.bk)(["Tag","status"],e=>{let t=v(e);return[S(t,"success","Success"),S(t,"processing","Info"),S(t,"error","Error"),S(t,"warning","Warning")]},y),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 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 Z=r.forwardRef((e,t)=>{let{prefixCls:n,className:l,rootClassName:f,style:m,children:p,icon:b,color:g,onClose:h,bordered:v=!0,visible:y}=e,x=k(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:O,tag:C}=r.useContext(d.E_),[S,Z]=r.useState(!0),_=(0,a.Z)(x,["closeIcon","closable"]);r.useEffect(()=>{void 0!==y&&Z(y)},[y]);let M=(0,i.o2)(g),P=(0,i.yT)(g),H=M||P,I=Object.assign(Object.assign({backgroundColor:g&&!H?g:void 0},null==C?void 0:C.style),m),R=w("tag",n),[N,z,L]=$(R),V=o()(R,null==C?void 0:C.className,{[`${R}-${g}`]:H,[`${R}-has-color`]:g&&!H,[`${R}-hidden`]:!S,[`${R}-rtl`]:"rtl"===O,[`${R}-borderless`]:!v},l,f,z,L),B=e=>{e.stopPropagation(),null==h||h(e),e.defaultPrevented||Z(!1)},[,A]=(0,c.Z)((0,c.w)(e),(0,c.w)(C),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${R}-close-icon`,onClick:B},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),B(t)},className:o()(null==e?void 0:e.className,`${R}-close-icon`)}))}}),T="function"==typeof x.onClick||p&&"a"===p.type,G=b||null,D=G?r.createElement(r.Fragment,null,G,p&&r.createElement("span",null,p)):p,W=r.createElement("span",Object.assign({},_,{ref:t,className:V,style:I}),D,A,M&&r.createElement(j,{key:"preset",prefixCls:R}),P&&r.createElement(E,{key:"status",prefixCls:R}));return N(T?r.createElement(u.Z,{component:"Tag"},W):W)});Z.CheckableTag=w;var _=Z},50948: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,{noSSR:function(){return a},default:function(){return i}});let r=n(38754),l=(n(67294),r._(n(23900)));function o(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function i(e,t){let n=l.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e}),r={...r,...t};let i=r.loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=i?i().then(o):Promise.resolve(o(()=>null))}):(delete r.webpack,delete r.modules,a(n,r))}("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)},2804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return o}});let r=n(38754),l=r._(n(67294)),o=l.default.createContext(null)},23900:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});let r=n(38754),l=r._(n(67294)),o=n(2804),a=[],i=[],c=!1;function s(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),r=null;function a(){if(!r){let t=new u(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!c){let e=n.webpack?n.webpack():n.modules;e&&i.push(t=>{for(let n of e)if(t.includes(n))return a()})}function s(e,t){!function(){a();let e=l.default.useContext(o.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let i=l.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return l.default.useImperativeHandle(t,()=>({retry:r.retry}),[]),l.default.useMemo(()=>{var t;return i.loading||i.error?l.default.createElement(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:r.retry}):i.loaded?l.default.createElement((t=i.loaded)&&t.default?t.default:t,e):null},[e,i])}return s.preload=()=>a(),s.displayName="LoadableComponent",l.default.forwardRef(s)}(s,e)}function f(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return f(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{f(a).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(c=!0,t());f(i,e).then(n,n)})),window.__NEXT_PRELOADREADY=d.preloadReady;let m=d},5152:function(e,t,n){e.exports=n(50948)}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4705-2eff40c5bfd5b99a.js b/dbgpt/app/static/web/_next/static/chunks/4705-2eff40c5bfd5b99a.js new file mode 100644 index 000000000..f6cc72778 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/4705-2eff40c5bfd5b99a.js @@ -0,0 +1,53 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4705],{8751:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{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"}}]},name:"check-circle",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},24019:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=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 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:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},18429:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=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 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},43749:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},56424:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},32198:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},98165:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},35598:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},15668:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},47727:function(e,t,n){"use strict";var r=n(28549),a=n(85893);t.Z=(0,r.Z)((0,a.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"CheckOutlined")},15273:function(e,t,n){"use strict";var r=n(28549),a=n(85893);t.Z=(0,r.Z)((0,a.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"CloseOutlined")},28549:function(e,t,n){"use strict";n.d(t,{Z:function(){return Q}});var r=n(87462),a=n(67294),i=n(63366),o=n(90512),s=n(58510),l=n(62908).Z,c=n(44065),u=n(78758),d=n(68027),p=n(44920),f=n(86523),m=n(88647),g=n(2101),h={black:"#000",white:"#fff"},b={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},y={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},E={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},T={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},v={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},S={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},A={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};let O=["mode","contrastThreshold","tonalOffset"],_={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:h.white,default:h.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},k={text:{primary:h.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:h.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function I(e,t,n,r){let a=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,g.$n)(e.main,a):"dark"===t&&(e.dark=(0,g._j)(e.main,i)))}let C=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],N={textTransform:"uppercase"},x='"Roboto", "Helvetica", "Arial", sans-serif';function w(...e){return`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2),${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14),${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`}let R=["none",w(0,2,1,-1,0,1,1,0,0,1,3,0),w(0,3,1,-2,0,2,2,0,0,1,5,0),w(0,3,3,-2,0,3,4,0,0,1,8,0),w(0,2,4,-1,0,4,5,0,0,1,10,0),w(0,3,5,-1,0,5,8,0,0,1,14,0),w(0,3,5,-1,0,6,10,0,0,1,18,0),w(0,4,5,-2,0,7,10,1,0,2,16,1),w(0,5,5,-3,0,8,10,1,0,3,14,2),w(0,5,6,-3,0,9,12,1,0,3,16,2),w(0,6,6,-3,0,10,14,1,0,4,18,3),w(0,6,7,-4,0,11,15,1,0,4,20,3),w(0,7,8,-4,0,12,17,2,0,5,22,4),w(0,7,8,-4,0,13,19,2,0,5,24,4),w(0,7,9,-4,0,14,21,2,0,5,26,4),w(0,8,9,-5,0,15,22,2,0,6,28,5),w(0,8,10,-5,0,16,24,2,0,6,30,5),w(0,8,11,-5,0,17,26,2,0,6,32,5),w(0,9,11,-5,0,18,28,2,0,7,34,6),w(0,9,12,-6,0,19,29,2,0,7,36,6),w(0,10,13,-6,0,20,31,3,0,8,38,7),w(0,10,13,-6,0,21,33,3,0,8,40,7),w(0,10,14,-6,0,22,35,3,0,8,42,7),w(0,11,14,-7,0,23,36,3,0,9,44,8),w(0,11,15,-7,0,24,38,3,0,9,46,8)],L=["duration","easing","delay"],D={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},P={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function M(e){return`${Math.round(e)}ms`}function F(e){if(!e)return 0;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}var B={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};let j=["breakpoints","mixins","spacing","palette","transitions","typography","shape"],U=function(e={}){var t;let{mixins:n={},palette:a={},transitions:o={},typography:s={}}=e,l=(0,i.Z)(e,j);if(e.vars)throw Error((0,u.Z)(18));let c=function(e){let{mode:t="light",contrastThreshold:n=3,tonalOffset:a=.2}=e,o=(0,i.Z)(e,O),s=e.primary||function(e="light"){return"dark"===e?{main:v[200],light:v[50],dark:v[400]}:{main:v[700],light:v[400],dark:v[800]}}(t),l=e.secondary||function(e="light"){return"dark"===e?{main:y[200],light:y[50],dark:y[400]}:{main:y[500],light:y[300],dark:y[700]}}(t),c=e.error||function(e="light"){return"dark"===e?{main:E[500],light:E[300],dark:E[700]}:{main:E[700],light:E[400],dark:E[800]}}(t),p=e.info||function(e="light"){return"dark"===e?{main:S[400],light:S[300],dark:S[700]}:{main:S[700],light:S[500],dark:S[900]}}(t),f=e.success||function(e="light"){return"dark"===e?{main:A[400],light:A[300],dark:A[700]}:{main:A[800],light:A[500],dark:A[900]}}(t),m=e.warning||function(e="light"){return"dark"===e?{main:T[400],light:T[300],dark:T[700]}:{main:"#ed6c02",light:T[500],dark:T[900]}}(t);function C(e){let t=(0,g.mi)(e,k.text.primary)>=n?k.text.primary:_.text.primary;return t}let N=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,u.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,u.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return I(e,"light",i,a),I(e,"dark",o,a),e.contrastText||(e.contrastText=C(e.main)),e},x=(0,d.Z)((0,r.Z)({common:(0,r.Z)({},h),mode:t,primary:N({color:s,name:"primary"}),secondary:N({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:N({color:c,name:"error"}),warning:N({color:m,name:"warning"}),info:N({color:p,name:"info"}),success:N({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:C,augmentColor:N,tonalOffset:a},{dark:k,light:_}[t]),o);return x}(a),w=(0,m.Z)(e),U=(0,d.Z)(w,{mixins:(t=w.breakpoints,(0,r.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:R.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:a=x,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:p=16,allVariants:f,pxToRem:m}=n,g=(0,i.Z)(n,C),h=o/14,b=m||(e=>`${e/p*h}rem`),y=(e,t,n,i,o)=>(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:b(t),lineHeight:n},a===x?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},o,f),E={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,N),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,N),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,d.Z)((0,r.Z)({htmlFontSize:p,pxToRem:b,fontFamily:a,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},E),g,{clone:!1})}(c,s),transitions:function(e){let t=(0,r.Z)({},D,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:F,create:(e=["all"],r={})=>{let{duration:a=n.standard,easing:o=t.easeInOut,delay:s=0}=r;return(0,i.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:M(a)} ${o} ${"string"==typeof s?s:M(s)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,r.Z)({},B)});return(U=[].reduce((e,t)=>(0,d.Z)(e,t),U=(0,d.Z)(U,l))).unstable_sxConfig=(0,r.Z)({},p.Z,null==l?void 0:l.unstable_sxConfig),U.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},U}();var H="$$material",G=n(58128);let $=(0,G.ZP)({themeId:H,defaultTheme:U,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var z=n(1977),Z=n(8027);function W(e){return(0,Z.ZP)("MuiSvgIcon",e)}(0,z.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var Y=n(85893);let V=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=e=>{let{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${l(t)}`,`fontSize${l(n)}`]};return(0,s.Z)(a,W,r)},K=$("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${l(n.color)}`],t[`fontSize${l(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,i,o,s,l,c,u,d,p,f,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(a=e.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:({action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(m=(e.vars||e).palette)||null==(m=m.action)?void 0:m.disabled,inherit:void 0})[t.color]}}),X=a.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,c.Z)({props:e,name:t,defaultTheme:U,themeId:H})}({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:d="svg",fontSize:p="medium",htmlColor:f,inheritViewBox:m=!1,titleAccess:g,viewBox:h="0 0 24 24"}=n,b=(0,i.Z)(n,V),y=a.isValidElement(s)&&"svg"===s.type,E=(0,r.Z)({},n,{color:u,component:d,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:m,viewBox:h,hasSvgAsChild:y}),T={};m||(T.viewBox=h);let v=q(E);return(0,Y.jsxs)(K,(0,r.Z)({as:d,className:(0,o.Z)(v.root,l),focusable:"false",color:f,"aria-hidden":!g||void 0,role:g?"img":void 0,ref:t},T,b,y&&s.props,{ownerState:E,children:[y?s.props.children:s,g?(0,Y.jsx)("title",{children:g}):null]}))});function Q(e,t){function n(n,a){return(0,Y.jsx)(X,(0,r.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=X.muiName,a.memo(a.forwardRef(n))}X.muiName="SvgIcon"},2101:function(e,t,n){"use strict";var r=n(64836);t._j=function(e,t){if(e=s(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)},t.mi=function(e,t){let n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=function(e,t){if(e=s(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)};var a=r(n(743)),i=r(n(49425));function o(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(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("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw Error((0,a.default)(9,e));let i=e.substring(n+1,e.length-1);if("color"===r){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,a.default)(10,t))}else i=i.split(",");return{type:r,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}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 c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=(e,t=(e+n/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(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))}},58128:function(e,t,n){"use strict";var r=n(64836);t.ZP=function(e={}){let{themeId:t,defaultTheme:n=g,rootShouldForwardProp:r=m,slotShouldForwardProp:l=m}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:b((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{var d;let f;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:g,slot:E,skipVariantsResolver:T,skipSx:v,overridesResolver:S=(d=h(E))?(e,t)=>t[d]:null}=c,A=(0,i.default)(c,p),O=void 0!==T?T:E&&"Root"!==E&&"root"!==E||!1,_=v||!1,k=m;"Root"===E||"root"===E?k=r:E?k=l:"string"==typeof e&&e.charCodeAt(0)>96&&(k=void 0);let I=(0,o.default)(e,(0,a.default)({shouldForwardProp:k,label:f},A)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>y(e,(0,a.default)({},r,{theme:b({theme:r.theme,defaultTheme:n,themeId:t})})):e,N=(r,...i)=>{let o=C(r),s=i?i.map(C):[];g&&S&&s.push(e=>{let r=b((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[g]||!r.components[g].styleOverrides)return null;let i=r.components[g].styleOverrides,o={};return Object.entries(i).forEach(([t,n])=>{o[t]=y(n,(0,a.default)({},e,{theme:r}))}),S(e,o)}),g&&!O&&s.push(e=>{var r;let i=b((0,a.default)({},e,{defaultTheme:n,themeId:t})),o=null==i||null==(r=i.components)||null==(r=r[g])?void 0:r.variants;return y({variants:o},(0,a.default)({},e,{theme:i}))}),_||s.push(u);let l=s.length-i.length;if(Array.isArray(r)&&l>0){let e=Array(l).fill("");(o=[...r,...e]).raw=[...r.raw,...e]}let c=I(o,...s);return e.muiName&&(c.muiName=e.muiName),c};return I.withConfig&&(N.withConfig=I.withConfig),N}};var a=r(n(10434)),i=r(n(7071)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(23534)),s=n(211);r(n(99698)),r(n(37889));var l=r(n(19926)),c=r(n(386));let u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function m(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let g=(0,l.default)(),h=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function y(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u),o="function"==typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,a.default)({ownerState:n},r)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,i.default)(o,d),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach(a=>{(null==n?void 0:n[a])!==e.props[a]&&r[a]!==e.props[a]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))}),s}return o}},19926:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},private_createBreakpoints:function(){return a.Z},unstable_applyStyles:function(){return i.Z}});var r=n(88647),a=n(41512),i=n(57064)},386:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},extendSxProp:function(){return a.Z},unstable_createStyleFunctionSx:function(){return r.n},unstable_defaultSxConfig:function(){return i.Z}});var r=n(86523),a=n(39707),i=n(44920)},99698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(62908)},49425:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},isPlainObject:function(){return r.P}});var r=n(68027)},743:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(78758)},37889:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(59864);let a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(a),n=t&&t[1];return n||""}function o(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){let r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo")}}}},47221:function(e,t,n){"use strict";n.d(t,{Z:function(){return z}});var r=n(67294),a=n(18073),i=n(93967),o=n.n(i),s=n(87462),l=n(74902),c=n(97685),u=n(71002),d=n(21770),p=n(80334),f=n(45987),m=n(50344),g=n(4942),h=n(29372),b=n(15105),y=r.forwardRef(function(e,t){var n=e.prefixCls,a=e.forceRender,i=e.className,s=e.style,l=e.children,u=e.isActive,d=e.role,p=r.useState(u||a),f=(0,c.Z)(p,2),m=f[0],h=f[1];return(r.useEffect(function(){(a||u)&&h(!0)},[a,u]),m)?r.createElement("div",{ref:t,className:o()("".concat(n,"-content"),(0,g.Z)((0,g.Z)({},"".concat(n,"-content-active"),u),"".concat(n,"-content-inactive"),!u),i),style:s,role:d},r.createElement("div",{className:"".concat(n,"-content-box")},l)):null});y.displayName="PanelContent";var E=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],T=r.forwardRef(function(e,t){var n=e.showArrow,a=void 0===n||n,i=e.headerClass,l=e.isActive,c=e.onItemClick,u=e.forceRender,d=e.className,p=e.prefixCls,m=e.collapsible,T=e.accordion,v=e.panelKey,S=e.extra,A=e.header,O=e.expandIcon,_=e.openMotion,k=e.destroyInactivePanel,I=e.children,C=(0,f.Z)(e,E),N="disabled"===m,x="header"===m,w="icon"===m,R=null!=S&&"boolean"!=typeof S,L=function(){null==c||c(v)},D="function"==typeof O?O(e):r.createElement("i",{className:"arrow"});D&&(D=r.createElement("div",{className:"".concat(p,"-expand-icon"),onClick:["header","icon"].includes(m)?L:void 0},D));var P=o()((0,g.Z)((0,g.Z)((0,g.Z)({},"".concat(p,"-item"),!0),"".concat(p,"-item-active"),l),"".concat(p,"-item-disabled"),N),d),M={className:o()(i,(0,g.Z)((0,g.Z)((0,g.Z)({},"".concat(p,"-header"),!0),"".concat(p,"-header-collapsible-only"),x),"".concat(p,"-icon-collapsible-only"),w)),"aria-expanded":l,"aria-disabled":N,onKeyDown:function(e){("Enter"===e.key||e.keyCode===b.Z.ENTER||e.which===b.Z.ENTER)&&L()}};return x||w||(M.onClick=L,M.role=T?"tab":"button",M.tabIndex=N?-1:0),r.createElement("div",(0,s.Z)({},C,{ref:t,className:P}),r.createElement("div",M,a&&D,r.createElement("span",{className:"".concat(p,"-header-text"),onClick:"header"===m?L:void 0},A),R&&r.createElement("div",{className:"".concat(p,"-extra")},S)),r.createElement(h.ZP,(0,s.Z)({visible:l,leavedClassName:"".concat(p,"-content-hidden")},_,{forceRender:u,removeOnLeave:k}),function(e,t){var n=e.className,a=e.style;return r.createElement(y,{ref:t,prefixCls:p,className:n,style:a,isActive:l,forceRender:u,role:T?"tabpanel":void 0},I)}))}),v=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],S=function(e,t){var n=t.prefixCls,a=t.accordion,i=t.collapsible,o=t.destroyInactivePanel,l=t.onItemClick,c=t.activeKey,u=t.openMotion,d=t.expandIcon;return e.map(function(e,t){var p=e.children,m=e.label,g=e.key,h=e.collapsible,b=e.onItemClick,y=e.destroyInactivePanel,E=(0,f.Z)(e,v),S=String(null!=g?g:t),A=null!=h?h:i,O=!1;return O=a?c[0]===S:c.indexOf(S)>-1,r.createElement(T,(0,s.Z)({},E,{prefixCls:n,key:S,panelKey:S,isActive:O,accordion:a,openMotion:u,expandIcon:d,header:m,collapsible:A,onItemClick:function(e){"disabled"!==A&&(l(e),null==b||b(e))},destroyInactivePanel:null!=y?y:o}),p)})},A=function(e,t,n){if(!e)return null;var a=n.prefixCls,i=n.accordion,o=n.collapsible,s=n.destroyInactivePanel,l=n.onItemClick,c=n.activeKey,u=n.openMotion,d=n.expandIcon,p=e.key||String(t),f=e.props,m=f.header,g=f.headerClass,h=f.destroyInactivePanel,b=f.collapsible,y=f.onItemClick,E=!1;E=i?c[0]===p:c.indexOf(p)>-1;var T=null!=b?b:o,v={key:p,panelKey:p,header:m,headerClass:g,isActive:E,prefixCls:a,destroyInactivePanel:null!=h?h:s,openMotion:u,accordion:i,children:e.props.children,onItemClick:function(e){"disabled"!==T&&(l(e),null==y||y(e))},expandIcon:d,collapsible:T};return"string"==typeof e.type?e:(Object.keys(v).forEach(function(e){void 0===v[e]&&delete v[e]}),r.cloneElement(e,v))},O=n(64217);function _(e){var t=e;if(!Array.isArray(t)){var n=(0,u.Z)(t);t="number"===n||"string"===n?[t]:[]}return t.map(function(e){return String(e)})}var k=Object.assign(r.forwardRef(function(e,t){var n,a=e.prefixCls,i=void 0===a?"rc-collapse":a,u=e.destroyInactivePanel,f=e.style,g=e.accordion,h=e.className,b=e.children,y=e.collapsible,E=e.openMotion,T=e.expandIcon,v=e.activeKey,k=e.defaultActiveKey,I=e.onChange,C=e.items,N=o()(i,h),x=(0,d.Z)([],{value:v,onChange:function(e){return null==I?void 0:I(e)},defaultValue:k,postState:_}),w=(0,c.Z)(x,2),R=w[0],L=w[1];(0,p.ZP)(!b,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var D=(n={prefixCls:i,accordion:g,openMotion:E,expandIcon:T,collapsible:y,destroyInactivePanel:void 0!==u&&u,onItemClick:function(e){return L(function(){return g?R[0]===e?[]:[e]:R.indexOf(e)>-1?R.filter(function(t){return t!==e}):[].concat((0,l.Z)(R),[e])})},activeKey:R},Array.isArray(C)?S(C,n):(0,m.Z)(b).map(function(e,t){return A(e,t,n)}));return r.createElement("div",(0,s.Z)({ref:t,className:N,style:f,role:g?"tablist":void 0},(0,O.Z)(e,{aria:!0,data:!0})),D)}),{Panel:T});k.Panel;var I=n(98423),C=n(33603),N=n(96159),x=n(53124),w=n(98675);let R=r.forwardRef((e,t)=>{let{getPrefixCls:n}=r.useContext(x.E_),{prefixCls:a,className:i,showArrow:s=!0}=e,l=n("collapse",a),c=o()({[`${l}-no-arrow`]:!s},i);return r.createElement(k.Panel,Object.assign({ref:t},e,{prefixCls:l,className:c}))});var L=n(25446),D=n(14747),P=n(33507),M=n(83559),F=n(83262);let B=e=>{let{componentCls:t,contentBg:n,padding:r,headerBg:a,headerPadding:i,collapseHeaderPaddingSM:o,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:l,lineWidth:c,lineType:u,colorBorder:d,colorText:p,colorTextHeading:f,colorTextDisabled:m,fontSizeLG:g,lineHeight:h,lineHeightLG:b,marginSM:y,paddingSM:E,paddingLG:T,paddingXS:v,motionDurationSlow:S,fontSizeIcon:A,contentPadding:O,fontHeight:_,fontHeightLG:k}=e,I=`${(0,L.bf)(c)} ${u} ${d}`;return{[t]:Object.assign(Object.assign({},(0,D.Wf)(e)),{backgroundColor:a,border:I,borderRadius:l,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:I,"&:last-child":{[` + &, + & > ${t}-header`]:{borderRadius:`0 0 ${(0,L.bf)(l)} ${(0,L.bf)(l)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:f,lineHeight:h,cursor:"pointer",transition:`all ${S}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:_,display:"flex",alignItems:"center",paddingInlineEnd:y},[`${t}-arrow`]:Object.assign(Object.assign({},(0,D.Ro)()),{fontSize:A,transition:`transform ${S}`,svg:{transition:`transform ${S}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:p,backgroundColor:n,borderTop:I,[`& > ${t}-content-box`]:{padding:O},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:o,paddingInlineStart:v,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(E).sub(v).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:E}}},"&-large":{[`> ${t}-item`]:{fontSize:g,lineHeight:b,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:k,marginInlineStart:e.calc(T).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:T}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${(0,L.bf)(l)} ${(0,L.bf)(l)}`}},[`& ${t}-item-disabled > ${t}-header`]:{[` + &, + & > .arrow + `]:{color:m,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:y}}}}})}},j=e=>{let{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},U=e=>{let{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[` + > ${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:r}}}},H=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 G=(0,M.I$)("Collapse",e=>{let t=(0,F.IX)(e,{collapseHeaderPaddingSM:`${(0,L.bf)(e.paddingXS)} ${(0,L.bf)(e.paddingSM)}`,collapseHeaderPaddingLG:`${(0,L.bf)(e.padding)} ${(0,L.bf)(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[B(t),U(t),H(t),j(t),(0,P.Z)(t)]},e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}));let $=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:i,collapse:s}=r.useContext(x.E_),{prefixCls:l,className:c,rootClassName:u,style:d,bordered:p=!0,ghost:f,size:g,expandIconPosition:h="start",children:b,expandIcon:y}=e,E=(0,w.Z)(e=>{var t;return null!==(t=null!=g?g:e)&&void 0!==t?t:"middle"}),T=n("collapse",l),v=n(),[S,A,O]=G(T),_=r.useMemo(()=>"left"===h?"start":"right"===h?"end":h,[h]),R=null!=y?y:null==s?void 0:s.expandIcon,L=r.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t="function"==typeof R?R(e):r.createElement(a.Z,{rotate:e.isActive?90:void 0,"aria-label":e.isActive?"expanded":"collapsed"});return(0,N.Tm)(t,()=>{var e;return{className:o()(null===(e=null==t?void 0:t.props)||void 0===e?void 0:e.className,`${T}-arrow`)}})},[R,T]),D=o()(`${T}-icon-position-${_}`,{[`${T}-borderless`]:!p,[`${T}-rtl`]:"rtl"===i,[`${T}-ghost`]:!!f,[`${T}-${E}`]:"middle"!==E},null==s?void 0:s.className,c,u,A,O),P=Object.assign(Object.assign({},(0,C.Z)(v)),{motionAppear:!1,leavedClassName:`${T}-content-hidden`}),M=r.useMemo(()=>b?(0,m.Z)(b).map((e,t)=>{var n,r;if(null===(n=e.props)||void 0===n?void 0:n.disabled){let n=null!==(r=e.key)&&void 0!==r?r:String(t),{disabled:a,collapsible:i}=e.props,o=Object.assign(Object.assign({},(0,I.Z)(e.props,["disabled"])),{key:n,collapsible:null!=i?i:a?"disabled":void 0});return(0,N.Tm)(e,o)}return e}):null,[b]);return S(r.createElement(k,Object.assign({ref:t,openMotion:P},(0,I.Z)(e,["rootClassName"]),{expandIcon:L,prefixCls:T,className:D,style:Object.assign(Object.assign({},null==s?void 0:s.style),d)}),M))});var z=Object.assign($,{Panel:R})},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),m=n(29372),g=n(15105),h=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],T=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,h.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},v=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,v.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},O=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,v=e.forceRender,O=e.autoFocus,_=e.keyboard,k=e.classNames,I=e.rootClassName,C=e.rootStyle,N=e.zIndex,x=e.className,w=e.id,R=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,B=e.maskClosable,j=e.maskMotion,U=e.maskClassName,H=e.maskStyle,G=e.afterOpenChange,$=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,Y=e.onClick,V=e.onKeyDown,q=e.onKeyUp,K=e.styles,X=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&O){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(m.ZP,(0,f.Z)({key:"mask"},j,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),H),null==K?void 0:K.mask),onClick:B&&d?$:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:Y,onKeyDown:V,onKeyUp:q},ep=r.createElement(m.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:v,onVisibleChanged:function(e){null==G||G(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(T,(0,f.Z)({id:w,containerRef:n,prefixCls:c,className:i()(x,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},R),null==K?void 0:K.content)},(0,h.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==K?void 0:K.wrapper)},(0,h.Z)(e,{data:!0})),X?X(l):l)}),ef=(0,o.Z)({},C);return N&&(ef.zIndex=N),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),I,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case g.Z.TAB:r===g.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case g.Z.ESC:$&&_&&(e.stopPropagation(),$(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:A,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"end"})))}),_=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,m=void 0===f||f,g=e.maskClosable,h=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,T=e.onMouseEnter,v=e.onMouseOver,S=e.onMouseLeave,A=e.onClick,_=e.onKeyDown,k=e.onKeyUp,I=e.panelRef,C=r.useState(!1),N=(0,s.Z)(C,2),x=N[0],w=N[1],R=r.useState(!1),L=(0,s.Z)(R,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),B=r.useRef();(0,c.Z)(function(){M&&(B.current=document.activeElement)},[M]);var j=r.useMemo(function(){return{panel:I}},[I]);if(!b&&!x&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:m,maskClosable:void 0===g||g,inline:!1===h,afterOpenChange:function(e){var t,n;w(e),null==y||y(e),e||!B.current||null!==(t=F.current)&&void 0!==t&&t.contains(B.current)||null===(n=B.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:T,onMouseOver:v,onMouseLeave:S,onClick:A,onKeyDown:_,onKeyUp:k});return r.createElement(d.Provider,{value:j},r.createElement(l.Z,{open:M||b||x,autoDestroy:!1,getContainer:h,autoLock:m&&(M||x)},r.createElement(O,U)))},k=n(89942),I=n(87263),C=n(33603),N=n(43945),x=n(53124),w=n(16569),R=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:m,classNames:g,styles:h}=e,{drawer:b}=r.useContext(x.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,T]=(0,R.Z)((0,R.w)(e),(0,R.w)(b),{closable:!0,closeIconRender:y}),v=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==h?void 0:h.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==g?void 0:g.header)},r.createElement("div",{className:`${a}-header-title`},T,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,T,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==g?void 0:g.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==h?void 0:h.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,v,r.createElement("div",{className:i()(`${a}-body`,null==g?void 0:g.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==h?void 0:h.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):m),S)},P=n(25446),M=n(14747),F=n(83559),B=n(83262);let j=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),H=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),G=(e,t)=>[H(.7,t),U({transform:j(e)},{transform:"none"})];var $=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:H(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:G(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:m,colorSplit:g,marginXS:h,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:T,colorText:v,fontWeightStrong:S,footerPaddingBlock:A,footerPaddingInline:O,calc:_}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:v,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${m} ${g}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:_(d).add(l).equal(),height:_(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:h,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:T}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(A)} ${(0,P.bf)(O)}`,borderTop:`${(0,P.bf)(f)} ${m} ${g}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,B.IX)(e,{});return[z(t),$(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let Y={distance:180},V=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=Y,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:m,className:g,visible:h,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:T}=e,v=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:A,direction:O,drawer:R}=r.useContext(x.E_),L=A("drawer",p),[P,M,F]=Z(L),B=void 0===f&&S?()=>S(document.body):f,j=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===O},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),H=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),G={motionName:(0,C.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$=(0,w.H)(),[z,V]=(0,I.Cn)("Drawer",v.zIndex),{classNames:q={},styles:K={}}=v,{classNames:X={},styles:Q={}}=R||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(N.Z.Provider,{value:V},r.createElement(_,Object.assign({prefixCls:L,onClose:d,maskMotion:G,motion:e=>({motionName:(0,C.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},v,{classNames:{mask:i()(q.mask,X.mask),content:i()(q.content,X.content),wrapper:i()(q.wrapper,X.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},K.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},K.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},K.wrapper),T),Q.wrapper)},open:null!=c?c:h,mask:s,push:l,width:U,height:H,style:Object.assign(Object.assign({},null==R?void 0:R.style),m),className:i()(null==R?void 0:R.className,g),rootClassName:j,getContainer:B,afterOpenChange:null!=u?u:b,panelRef:$,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},v,{onClose:d}))))))};V._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(x.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=V},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return ev}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),m=n(21770),g=n(40974),h=n(64019),b=n(15105),y=n(2788),E=n(29372),T=r.createContext(null),v=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,m=e.current,g=e.transform,h=e.count,v=e.scale,S=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,I=e.onClose,C=e.onZoomIn,N=e.onZoomOut,x=e.onRotateRight,w=e.onRotateLeft,R=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(T),j=u.rotateLeft,U=u.rotateRight,H=u.zoomIn,G=u.zoomOut,$=u.close,z=u.left,Z=u.right,W=u.flipX,Y=u.flipY,V="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&I()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:Y,onClick:L,type:"flipY"},{icon:W,onClick:R,type:"flipX"},{icon:j,onClick:w,type:"rotateLeft"},{icon:U,onClick:x,type:"rotateRight"},{icon:G,onClick:N,type:"zoomOut",disabled:v<=S},{icon:H,onClick:C,type:"zoomIn",disabled:v===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(V,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:I},O||$),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===m)),onClick:_},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),m===h-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(m+1,h):"".concat(m+1," / ").concat(h)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:R,onRotateLeft:w,onRotateRight:x,onZoomOut:N,onZoomIn:C,onReset:D,onClose:I},transform:g},B?{current:m,total:h}:{}),{},{image:F})):K)))})},S=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function I(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function C(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function N(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var x=["fallback","src","imgRef"],w=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],R=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,x),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,m,y,E,k,C,x,L,D,P,M,F,B,j,U,H,G,$,z,Z,W,Y,V,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,em=e.scaleStep,eg=void 0===em?.5:em,eh=e.minScale,eb=void 0===eh?1:eh,ey=e.maxScale,eE=void 0===ey?50:ey,eT=e.transitionName,ev=e.maskTransitionName,eS=void 0===ev?"fade":ev,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,eI=e.onChange,eC=(0,p.Z)(e,w),eN=(0,r.useRef)(),ex=(0,r.useContext)(T),ew=ex&&ep>1,eR=ex&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(O),d=(i=(0,u.Z)(a,2))[0],m=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.Z)(function(){m(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){m(O),(0,S.Z)(O,d)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=eN.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,m=e,g=d.scale*e;g>eE?(g=eE,m=eE/d.scale):g0&&(t=1/t),eH(t,"wheel",e.clientX,e.clientY)}}}),e$=eG.isMoving,ez=eG.onMouseDown,eZ=eG.onWheel,eW=(U=eB.rotate,H=eB.scale,G=eB.x,$=eB.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],Y=Z[1],V=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){V.current=(0,l.Z)((0,l.Z)({},V.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,h.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),Y(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-G,y:n[0].clientY-$},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=V.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=N(e,n),i=N(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];eH(N(s,l)/N(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&Y(!1),q({eventType:"none"}),eb>H)return eU({x:0,y:0,scale:eb},"touchZoom");var e=eN.current.offsetWidth*H,t=eN.current.offsetHeight*H,n=eN.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=I(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eY=eW.isTouching,eV=eW.onTouchStart,eq=eW.onTouchMove,eK=eW.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),e$));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==eI||eI(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},em=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},eg=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var eh=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[em(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),eg(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(K.Z,null),rotateRight:r.createElement(X.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(Y.Z,null),left:r.createElement(V.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var 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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let eT=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:m}=r.useContext(z.E_),g=d("image",n),h=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(g),[E,T,v]=eh(g,y),S=o()(l,T,v,y),A=o()(s,T,null==m?void 0:m.className),[O]=(0,G.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${g}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,$.m)(h,"zoom",t.transitionName),maskTransitionName:(0,$.m)(h,"fade",t.maskTransitionName),zIndex:O,closeIcon:null!=o?o:null===(e=null==m?void 0:m.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==m?void 0:m.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==m?void 0:m.style),c);return E(r.createElement(H,Object.assign({prefixCls:g,preview:_,rootClassName:S,className:A,style:k},u)))};eT.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=eh(s,u),[m]=(0,G.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),g=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,$.m)(c,"zoom",t.transitionName),maskTransitionName:(0,$.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:m})},[n]);return d(r.createElement(H.PreviewGroup,Object.assign({preview:g,previewPrefixCls:l,icons:ey},a)))};var ev=eT},94470:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},o=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,a=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!a&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(a)return a(e,n).value}return e[n]};e.exports=function e(){var t,n,r,a,c,u,d=arguments[0],p=1,f=arguments.length,m=!1;for("boolean"==typeof d&&(m=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p4&&m.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?g=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),h=a),new h(g,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:c,pattern:null,ping:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:c,security:null,unselectable:null}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},33890:function(e,t,n){"use strict";n.d(t,{r:function(){return T0}});var r,a,i,o,s,l,c,u,d,p,f,m,g,h,b,y,E,T,v,S,A,O,_,k,I,C,N,x,w,R,L,D,P,M,F,B,j,U,H,G,$,z,Z,W,Y,V,q,K={};n.r(K),n.d(K,{area:function(){return aU},bottom:function(){return aV},bottomLeft:function(){return aV},bottomRight:function(){return aV},inside:function(){return aV},left:function(){return aV},outside:function(){return aQ},right:function(){return aV},spider:function(){return a4},surround:function(){return a6},top:function(){return aV},topLeft:function(){return aV},topRight:function(){return aV}});var X={};n.r(X),n.d(X,{geoAlbers:function(){return g9.Z},geoAlbersUsa:function(){return g6.Z},geoAzimuthalEqualArea:function(){return g8.Z},geoAzimuthalEqualAreaRaw:function(){return g8.l},geoAzimuthalEquidistant:function(){return g7.Z},geoAzimuthalEquidistantRaw:function(){return g7.N},geoConicConformal:function(){return he.Z},geoConicConformalRaw:function(){return he.l},geoConicEqualArea:function(){return ht.Z},geoConicEqualAreaRaw:function(){return ht.v},geoConicEquidistant:function(){return hn.Z},geoConicEquidistantRaw:function(){return hn.o},geoEqualEarth:function(){return hr.Z},geoEqualEarthRaw:function(){return hr.i},geoEquirectangular:function(){return ha.Z},geoEquirectangularRaw:function(){return ha.k},geoGnomonic:function(){return hi.Z},geoGnomonicRaw:function(){return hi.M},geoIdentity:function(){return ho.Z},geoMercator:function(){return hl.ZP},geoMercatorRaw:function(){return hl.hk},geoNaturalEarth1:function(){return hc.Z},geoNaturalEarth1Raw:function(){return hc.K},geoOrthographic:function(){return hu.Z},geoOrthographicRaw:function(){return hu.I},geoProjection:function(){return hs.Z},geoProjectionMutator:function(){return hs.r},geoStereographic:function(){return hd.Z},geoStereographicRaw:function(){return hd.T},geoTransverseMercator:function(){return hp.Z},geoTransverseMercatorRaw:function(){return hp.F}});var Q={};n.r(Q),n.d(Q,{frequency:function(){return bs},id:function(){return bl},name:function(){return bc},weight:function(){return bo}});var J=n(74902),ee=n(1413),et=n(87462),en=n(97685),er=n(45987),ea=n(50888),ei=n(96486),eo=n(67294),es=function(){return(es=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case eh:e.return=function e(t,n,r){var a;switch(a=n,45^eO(t,0)?(((a<<2^eO(t,0))<<2^eO(t,1))<<2^eO(t,2))<<2^eO(t,3):0){case 5103:return ef+"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 ef+t+t;case 4789:return ep+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return ef+t+ep+t+ed+t+t;case 5936:switch(eO(t,n+11)){case 114:return ef+t+ed+eS(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return ef+t+ed+eS(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return ef+t+ed+eS(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return ef+t+ed+t+t;case 6165:return ef+t+ed+"flex-"+t+t;case 5187:return ef+t+eS(t,/(\w+).+(:[^]+)/,ef+"box-$1$2"+ed+"flex-$1$2")+t;case 5443:return ef+t+ed+"flex-item-"+eS(t,/flex-|-self/g,"")+(ev(t,/flex-|baseline/)?"":ed+"grid-row-"+eS(t,/flex-|-self/g,""))+t;case 4675:return ef+t+ed+"flex-line-pack"+eS(t,/align-content|flex-|-self/g,"")+t;case 5548:return ef+t+ed+eS(t,"shrink","negative")+t;case 5292:return ef+t+ed+eS(t,"basis","preferred-size")+t;case 6060:return ef+"box-"+eS(t,"-grow","")+ef+t+ed+eS(t,"grow","positive")+t;case 4554:return ef+eS(t,/([^-])(transform)/g,"$1"+ef+"$2")+t;case 6187:return eS(eS(eS(t,/(zoom-|grab)/,ef+"$1"),/(image-set)/,ef+"$1"),t,"")+t;case 5495:case 3959:return eS(t,/(image-set\([^]*)/,ef+"$1$`$1");case 4968:return eS(eS(t,/(.+:)(flex-)?(.*)/,ef+"box-pack:$3"+ed+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ef+t+t;case 4200:if(!ev(t,/flex-|baseline/))return ed+"grid-column-align"+e_(t,n)+t;break;case 2592:case 3360:return ed+eS(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,ev(e.props,/grid-\w+-end/)}))return~eA(t+(r=r[n].value),"span",0)?t:ed+eS(t,"-start","")+t+ed+"grid-row-span:"+(~eA(r,"span",0)?ev(r,/\d+/):+ev(r,/\d+/)-+ev(t,/\d+/))+";";return ed+eS(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return ev(e.props,/grid-\w+-start/)})?t:ed+eS(eS(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eS(t,/(.+)-inline(.+)/,ef+"$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(ek(t)-1-n>6)switch(eO(t,n+1)){case 109:if(45!==eO(t,n+4))break;case 102:return eS(t,/(.+:)(.+)-([^]+)/,"$1"+ef+"$2-$3$1"+ep+(108==eO(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eA(t,"stretch",0)?e(eS(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eS(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return ed+n+":"+r+s+(a?ed+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eO(t,n+6))return eS(t,":",":"+ef)+t;break;case 6444:switch(eO(t,45===eO(t,14)?18:11)){case 120:return eS(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ef+(45===eO(t,14)?"inline-":"")+"box$3$1"+ef+"$2$3$1"+ed+"$2box$3")+t;case 100:return eS(t,":",":"+ed)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eS(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case eb:return eG([eM(e,{value:eS(e.value,"@","@"+ef)})],r);case eg:if(e.length)return(n=e.props).map(function(t){switch(ev(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eF(eM(e,{props:[eS(t,/:(read-\w+)/,":"+ep+"$1")]})),eF(eM(e,{props:[t]})),eT(e,{props:eC(n,r)});break;case"::placeholder":eF(eM(e,{props:[eS(t,/:(plac\w+)/,":"+ef+"input-$1")]})),eF(eM(e,{props:[eS(t,/:(plac\w+)/,":"+ep+"$1")]})),eF(eM(e,{props:[eS(t,/:(plac\w+)/,ed+"input-$1")]})),eF(eM(e,{props:[t]})),eT(e,{props:eC(n,r)})}return""}).join("")}}function eZ(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],m=f.length,g=0,h=0,b=0;g0?f[y]+" "+E:eS(E,/&\f/g,f[y])).trim())&&(l[b++]=T);return eP(e,t,n,0===a?eg:s,l,c,u,d)}function eW(e,t,n,r,a){return eP(e,t,n,eh,e_(e,0,r),e_(e,r+1,-1),r,a)}var eY=n(94371),eV=n(83454),eq=void 0!==eV&&void 0!==eV.env&&(eV.env.REACT_APP_SC_ATTR||eV.env.SC_ATTR)||"data-styled",eK="active",eX="data-styled-version",eQ="6.1.12",eJ="/*!sc*/\n",e0="undefined"!=typeof window&&"HTMLElement"in window,e1=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==eV&&void 0!==eV.env&&void 0!==eV.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==eV.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==eV.env.REACT_APP_SC_DISABLE_SPEEDY&&eV.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==eV&&void 0!==eV.env&&void 0!==eV.env.SC_DISABLE_SPEEDY&&""!==eV.env.SC_DISABLE_SPEEDY&&"false"!==eV.env.SC_DISABLE_SPEEDY&&eV.env.SC_DISABLE_SPEEDY),e2=Object.freeze([]),e3=Object.freeze({}),e4=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),e5=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,e6=/(^-|-$)/g;function e9(e){return e.replace(e5,"-").replace(e6,"")}var e8=/(a)(d)/gi,e7=function(e){return String.fromCharCode(e+(e>25?39:97))};function te(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=e7(t%52)+n;return(e7(t%52)+n).replace(e8,"$1-$2")}var tt,tn=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tr=function(e){return tn(5381,e)};function ta(e){return"string"==typeof e}var ti="function"==typeof Symbol&&Symbol.for,to=ti?Symbol.for("react.memo"):60115,ts=ti?Symbol.for("react.forward_ref"):60112,tl={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tc={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tu={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},td=((tt={})[ts]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},tt[to]=tu,tt);function tp(e){return("type"in e&&e.type.$$typeof)===to?tu:"$$typeof"in e?td[e.$$typeof]:tl}var tf=Object.defineProperty,tm=Object.getOwnPropertyNames,tg=Object.getOwnPropertySymbols,th=Object.getOwnPropertyDescriptor,tb=Object.getPrototypeOf,ty=Object.prototype;function tE(e){return"function"==typeof e}function tT(e){return"object"==typeof e&&"styledComponentId"in e}function tv(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tS(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tk=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw t_(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(eJ)}}})(a);return r}(r)})}return e.registerId=function(e){return tx(e)},e.prototype.rehydrate=function(){!this.server&&e0&&tM(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(es(es({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tU(r):n?new tB(r):new tj(r),new tk(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tx(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tx(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tx(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),tz=/&/g,tZ=/^\s*\/\/.*$/gm;function tW(e){var t,n,r,a=void 0===e?e3:e,i=a.options,o=void 0===i?e3:i,s=a.plugins,l=void 0===s?e2:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===eg&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(tz,n).replace(r,c))}),o.prefix&&u.push(ez),u.push(e$);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,m=e.replace(tZ,""),g=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,m=0,g=0,h=0,b=1,y=1,E=1,T=0,v="",S=i,A=o,O=a,_=v;y;)switch(h=T,T=eB()){case 40:if(108!=h&&58==eO(_,f-1)){-1!=eA(_+=eS(eH(T),"&","&\f"),"&\f",ey(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eH(T);break;case 9:case 10:case 13:case 32:_+=function(e){for(;eL=ej();)if(eL<33)eB();else break;return eU(e)>2||eU(eL)>3?"":" "}(h);break;case 92:_+=function(e,t){for(var n;--t&&eB()&&!(eL<48)&&!(eL>102)&&(!(eL>57)||!(eL<65))&&(!(eL>70)||!(eL<97)););return n=eR+(t<6&&32==ej()&&32==eB()),e_(eD,e,n)}(eR-1,7);continue;case 47:switch(ej()){case 42:case 47:eI(eP(u=function(e,t){for(;eB();)if(e+eL===57)break;else if(e+eL===84&&47===ej())break;return"/*"+e_(eD,t,eR-1)+"*"+eE(47===e?e:eB())}(eB(),eR),n,r,em,eE(eL),e_(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[d++]=ek(_)*E;case 125*b:case 59:case 0:switch(T){case 0:case 125:y=0;case 59+p:-1==E&&(_=eS(_,/\f/g,"")),g>0&&ek(_)-f&&eI(g>32?eW(_+";",a,r,f-1,c):eW(eS(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eI(O=eZ(_,n,r,d,p,i,l,v,S=[],A=[],f,o),o),123===T){if(0===p)e(_,n,O,O,S,o,f,l,A);else switch(99===m&&110===eO(_,3)?100:m){case 100:case 108:case 109:case 115:e(t,O,O,a&&eI(eZ(t,O,O,0,0,i,l,v,i,S=[],f,A),A),i,A,f,l,a?S:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}d=p=g=0,b=E=1,v=_="",f=s;break;case 58:f=1+ek(_),g=h;default:if(b<1){if(123==T)--b;else if(125==T&&0==b++&&125==(eL=eR>0?eO(eD,--eR):0,ex--,10===eL&&(ex=1,eN--),eL))continue}switch(_+=eE(T),T*b){case 38:E=p>0?1:(_+="\f",-1);break;case 44:l[d++]=(ek(_)-1)*E,E=1;break;case 64:45===ej()&&(_+=eH(eB())),m=ej(),p=f=ek(v=_+=function(e){for(;!eU(ej());)eB();return e_(eD,e,eR)}(eR)),T++;break;case 45:45===h&&2==ek(_)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(m," }"):m,eN=ex=1,ew=ek(eD=p),eR=0,d=[]),0,[0],d),eD="",f);o.namespace&&(g=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(g,o.namespace));var h=[];return eG(g,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,h.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var t1=function(e){return null==e||!1===e||""===e},t2=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!t1(r)&&(Array.isArray(r)&&r.isCss||tE(r)?t.push("".concat(t0(n),":"),r,";"):tA(r)?t.push.apply(t,el(el(["".concat(n," {")],t2(r),!1),["}"],!1)):t.push("".concat(t0(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in eY.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function t3(e,t,n,r){return t1(e)?[]:tT(e)?[".".concat(e.styledComponentId)]:tE(e)?!tE(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:t3(e(t),t,n,r):e instanceof tJ?n?(e.inject(n,r),[e.getName(r)]):[e]:tA(e)?t2(e):Array.isArray(e)?Array.prototype.concat.apply(e2,e.map(function(e){return t3(e,t,n,r)})):[e.toString()]}function t4(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tv(r,i),this.staticRulesId=i}}else{for(var s=tn(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tv(r,p)}}return r},e}(),t9=eo.createContext(void 0);t9.Consumer;var t8={};function t7(e,t,n){var r,a,i,o,s=tT(e),l=!ta(e),c=t.attrs,u=void 0===c?e2:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,t8[i="string"!=typeof r?"sc":e9(r)]=(t8[i]||0)+1,o="".concat(i,"-").concat(te(tr(eQ+i+t8[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,m=void 0===f?ta(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,g=t.displayName&&t.componentId?"".concat(e9(t.displayName),"-").concat(t.componentId):t.componentId||p,h=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var T=new t6(n,g,s?e.componentStyle:void 0);function v(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=eo.useContext(t9),p=tX(),f=e.shouldForwardProp||p.shouldForwardProp,m=(void 0===(r=s)&&(r=e3),t.theme!==r.theme&&t.theme||d||r.theme||e3),g=function(e,t,n){for(var r,a=es(es({},t),{className:void 0,theme:n}),i=0;i2&&t$.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tS([r&&'nonce="'.concat(r,'"'),"".concat(eq,'="true"'),"".concat(eX,'="').concat(eQ,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw t_(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw t_(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[eq]="",t[eX]=eQ,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[eo.createElement("style",es({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new t$({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw t_(2);return eo.createElement(tQ,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw t_(3)}}();var na=n(4942),ni=n(73935),no=n.t(ni,2),ns=function(){return(ns=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(V=nl.createRoot)}catch(e){}function nd(e){var t=nl.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var np="__rc_react_root__",nf=new Map;"undefined"!=typeof document&&nf.set("tooltip",document.createElement("div"));var nm=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nf.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nf.get(e.key);r?n=r:nf.set(e.key,n)}return!function(e,t){if(V){var n;nd(!0),n=t[np]||V(t),nd(!1),n.render(e),t[np]=n;return}nu(e,t)}(e,n),n},ng=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
    ",t.appendChild(r),t.appendChild(n)},nh=function(e){var t=e.loadingTemplate,n=e.theme,r=eo.useRef(null);return eo.useEffect(function(){!t&&r.current&&ng(r.current)},[]),eo.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||eo.createElement("div",{ref:r}))},nb=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),ny=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||eo.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nb(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):eo.createElement(eo.Fragment,null,this.props.children)},t}(eo.Component),nE=function(){return(nE=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},nv=n(90494),nS=n(1242),nA=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let nO=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];nO.style=["fill"];let n_=nO.bind(void 0);n_.style=["stroke","lineWidth"];let nk=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];nk.style=["fill"];let nI=nk.bind(void 0);nI.style=["fill"];let nC=nk.bind(void 0);nC.style=["stroke","lineWidth"];let nN=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};nN.style=["fill"];let nx=nN.bind(void 0);nx.style=["stroke","lineWidth"];let nw=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};nw.style=["fill"];let nR=nw.bind(void 0);nR.style=["stroke","lineWidth"];let nL=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};nL.style=["fill"];let nD=nL.bind(void 0);nD.style=["stroke","lineWidth"];let nP=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};nP.style=["fill"];let nM=nP.bind(void 0);nM.style=["stroke","lineWidth"];let nF=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};nF.style=["fill"];let nB=nF.bind(void 0);nB.style=["stroke","lineWidth"];let nj=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];nj.style=["stroke","lineWidth"];let nU=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];nU.style=["stroke","lineWidth"];let nH=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];nH.style=["stroke","lineWidth"];let nG=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];nG.style=["stroke","lineWidth"];let n$=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];n$.style=["stroke","lineWidth"];let nz=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];nz.style=["stroke","lineWidth"];let nZ=nz.bind(void 0);nZ.style=["stroke","lineWidth"];let nW=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];nW.style=["stroke","lineWidth"];let nY=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];nY.style=["stroke","lineWidth"];let nV=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];nV.style=["stroke","lineWidth"];let nq=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];nq.style=["stroke","lineWidth"];let nK=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];nK.style=["stroke","lineWidth"];let nX=new Map([["bowtie",nF],["cross",nU],["dash",nZ],["diamond",nN],["dot",nz],["hexagon",nP],["hollowBowtie",nB],["hollowDiamond",nx],["hollowHexagon",nM],["hollowPoint",n_],["hollowSquare",nC],["hollowTriangle",nR],["hollowTriangleDown",nD],["hv",nY],["hvh",nq],["hyphen",n$],["line",nj],["plus",nG],["point",nO],["rect",nI],["smooth",nW],["square",nk],["tick",nH],["triangleDown",nL],["triangle",nw],["vh",nV],["vhv",nK]]),nQ={};function nJ(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),nX.set(n,t)}else Object.assign(nQ,{[e]:t})}var n0=n(31989),n1=n(98875),n2=n(68040),n3=n(83787),n4=n(44022),n5=n(73576),n6=n(83845);function n9(e){return e}function n8(e){return e.reduce((e,t)=>(n,...r)=>t(e(n,...r),...r),n9)}function n7(e){return e.replace(/( |^)[a-z]/g,e=>e.toUpperCase())}function re(e=""){throw Error(e)}function rt(e,t){let{attributes:n}=t,r=new Set(["id","className"]);for(let[t,a]of Object.entries(n))r.has(t)||e.attr(t,a)}function rn(e){return null!=e&&!Number.isNaN(e)}function rr(e,t){return ra(e,t)||{}}function ra(e,t){let n=Object.entries(e||{}).filter(([e])=>e.startsWith(t)).map(([e,n])=>[(0,n5.Z)(e.replace(t,"").trim()),n]).filter(([e])=>!!e);return 0===n.length?null:Object.fromEntries(n)}function ri(e,...t){return Object.fromEntries(Object.entries(e).filter(([e])=>t.every(t=>!e.startsWith(t))))}function ro(e,t){if(void 0===e)return null;if("number"==typeof e)return e;let n=+e.replace("%","");return Number.isNaN(n)?null:n/100*t}function rs(e){return"object"==typeof e&&!(e instanceof Date)&&null!==e&&!Array.isArray(e)}function rl(e){return null===e||!1===e}function rc(e){return new ru([e],null,e,e.ownerDocument)}class ru{constructor(e=null,t=null,n=null,r=null,a=[null,null,null,null,null],i=[],o=[]){this._elements=Array.from(e),this._data=t,this._parent=n,this._document=r,this._enter=a[0],this._update=a[1],this._exit=a[2],this._merge=a[3],this._split=a[4],this._transitions=i,this._facetElements=o}selectAll(e){let t="string"==typeof e?this._parent.querySelectorAll(e):e;return new ru(t,null,this._elements[0],this._document)}selectFacetAll(e){let t="string"==typeof e?this._parent.querySelectorAll(e):e;return new ru(this._elements,null,this._parent,this._document,void 0,void 0,t)}select(e){let t="string"==typeof e?this._parent.querySelectorAll(e)[0]||null:e;return new ru([t],null,t,this._document)}append(e){let t="function"==typeof e?e:()=>this.createElement(e),n=[];if(null!==this._data){for(let e=0;ee,n=()=>null){let r=[],a=[],i=new Set(this._elements),o=[],s=new Set,l=new Map(this._elements.map((e,n)=>[t(e.__data__,n),e])),c=new Map(this._facetElements.map((e,n)=>[t(e.__data__,n),e])),u=(0,n4.ZP)(this._elements,e=>n(e.__data__));for(let d=0;de,t=e=>e,n=e=>e.remove(),r=e=>e,a=e=>e.remove()){let i=e(this._enter),o=t(this._update),s=n(this._exit),l=r(this._merge),c=a(this._split);return o.merge(i).merge(s).merge(l).merge(c)}remove(){for(let e=0;ee.finished)).then(()=>{let t=this._elements[e];t.remove()})}else{let t=this._elements[e];t.remove()}}return new ru([],null,this._parent,this._document,void 0,this._transitions)}each(e){for(let t=0;tt:t;return this.each(function(r,a,i){void 0!==t&&(i[e]=n(r,a,i))})}style(e,t){let n="function"!=typeof t?()=>t:t;return this.each(function(r,a,i){void 0!==t&&(i.style[e]=n(r,a,i))})}transition(e){let t="function"!=typeof e?()=>e:e,{_transitions:n}=this;return this.each(function(e,r,a){n[r]=t(e,r,a)})}on(e,t){return this.each(function(n,r,a){a.addEventListener(e,t)}),this}call(e,...t){return e(this,...t),this}node(){return this._elements[0]}nodes(){return this._elements}transitions(){return this._transitions}parent(){return this._parent}}ru.registry={g:nS.ZA,rect:nS.UL,circle:nS.Cd,path:nS.y$,text:nS.xv,ellipse:nS.Pj,image:nS.Ee,line:nS.x1,polygon:nS.mg,polyline:nS.aH,html:nS.k9};let rd={BEFORE_RENDER:"beforerender",AFTER_RENDER:"afterrender",BEFORE_PAINT:"beforepaint",AFTER_PAINT:"afterpaint",BEFORE_CHANGE_DATA:"beforechangedata",AFTER_CHANGE_DATA:"afterchangedata",BEFORE_CLEAR:"beforeclear",AFTER_CLEAR:"afterclear",BEFORE_DESTROY:"beforedestroy",AFTER_DESTROY:"afterdestroy",BEFORE_CHANGE_SIZE:"beforechangesize",AFTER_CHANGE_SIZE:"afterchangesize",POINTER_TAP:"pointertap",POINTER_DOWN:"pointerdown",POINTER_UP:"pointerup",POINTER_OVER:"pointerover",POINTER_OUT:"pointerout",POINTER_MOVE:"pointermove",POINTER_ENTER:"pointerenter",POINTER_LEAVE:"pointerleave",POINTER_UPOUTSIDE:"pointerupoutside",DRAG_START:"dragstart",DRAG:"drag",DRAG_END:"dragend",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"DROP",CLICK:"click",DBLCLICK:"dblclick"};var rp=n(5199),rf=n(83914),rm=n(17694);function rg(e,t){return Object.entries(e).reduce((n,[r,a])=>(n[r]=t(a,r,e),n),{})}function rh(e){return e.map((e,t)=>t)}function rb(e){return e[e.length-1]}function ry(e,t){let n=[[],[]];return e.forEach(e=>{n[t(e)?0:1].push(e)}),n}var rE=n(30335),rT=n(90155),rv=n(98823);let rS=(e={})=>{var t,n;let r=Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),e);return Object.assign(Object.assign({},r),(t=r.startAngle,n=r.endAngle,t%=2*Math.PI,n%=2*Math.PI,t<0&&(t=2*Math.PI+t),n<0&&(n=2*Math.PI+n),t>=n&&(n+=2*Math.PI),{startAngle:t,endAngle:n}))},rA=e=>{let{startAngle:t,endAngle:n,innerRadius:r,outerRadius:a}=rS(e);return[["translate",0,.5],["reflect.y"],["translate",0,-.5],["polar",t,n,r,a]]};rA.props={};let rO=(e={})=>Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),e),r_=e=>{let{startAngle:t,endAngle:n,innerRadius:r,outerRadius:a}=rO(e);return[["transpose"],["translate",.5,.5],["reflect"],["translate",-.5,-.5],...rA({startAngle:t,endAngle:n,innerRadius:r,outerRadius:a})]};function rk(e,t,n){return Math.max(t,Math.min(e,n))}function rI(e,t=10){return"number"!=typeof e?e:1e-15>Math.abs(e)?e:parseFloat(e.toFixed(t))}r_.props={};let rC=[["legendCategory",[[["color","discrete"],["opacity","discrete"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","constant"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","constant"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","discrete"]],[["color","discrete"],["opacity","discrete"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","discrete"]],[["color","discrete"],["opacity","constant"],["size","constant"]],[["color","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","constant"]],[["color","discrete"],["opacity","constant"],["shape","constant"]],[["color","constant"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","discrete"]],[["color","constant"],["opacity","discrete"],["size","constant"]],[["color","constant"],["opacity","constant"],["shape","discrete"]],[["color","constant"],["opacity","discrete"],["shape","constant"]],[["color","discrete"],["shape","discrete"]],[["color","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"]],[["color","discrete"],["opacity","constant"]],[["color","discrete"],["shape","constant"]],[["color","constant"],["shape","discrete"]],[["color","constant"],["size","constant"]],[["color","constant"],["opacity","discrete"]],[["color","discrete"]]]],["legendContinuousSize",[[["color","continuous"],["opacity","continuous"],["size","continuous"]],[["color","constant"],["opacity","continuous"],["size","continuous"]],[["color","continuous"],["size","continuous"]],[["color","constant"],["size","continuous"]],[["size","continuous"],["opacity","continuous"]],[["size","continuous"]]]],["legendContinuousBlockSize",[[["color","distribution"],["opacity","distribution"],["size","distribution"]],[["color","distribution"],["size","distribution"]]]],["legendContinuousBlock",[[["color","distribution"],["opacity","continuous"]],[["color","distribution"]]]],["legendContinuous",[[["color","continuous"],["opacity","continuous"]],[["color","continuous"]],[["opacity","continuous"]]]]];var rN=n(17816);function rx(e){let{transformations:t}=e.getOptions(),n=t.map(([e])=>e).filter(e=>"transpose"===e);return n.length%2!=0}function rw(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"polar"===e)}function rR(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"reflect"===e)&&t.some(([e])=>e.startsWith("transpose"))}function rL(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"helix"===e)}function rD(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"parallel"===e)}function rP(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"fisheye"===e)}function rM(e){return rL(e)||rw(e)}function rF(e){let{transformations:t}=e.getOptions(),[,,,n,r]=t.find(e=>"polar"===e[0]);return[+n,+r]}function rB(e,t=!0){let{transformations:n}=e.getOptions(),[,r,a]=n.find(e=>"polar"===e[0]);return t?[180*+r/Math.PI,180*+a/Math.PI]:[r,a]}var rj=n(47537),rU=n(36380),rH=n(69959),rG=n(23865),r$=n(64493),rz=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function rZ(e,t,n){return e.querySelector(t)?rc(e).select(t):rc(e).append(n)}function rW(e){return Array.isArray(e)?e.join(", "):`${e||""}`}function rY(e,t){let{flexDirection:n,justifyContent:r,alignItems:a}={display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"center"},i={top:["row","flex-start","center"],bottom:["row","flex-start","center"],left:["column","flex-start","center"],right:["column","flex-start","center"],center:["column","center","center"]};return e in i&&([n,r,a]=i[e]),Object.assign({display:"flex",flexDirection:n,justifyContent:r,alignItems:a},t)}class rV extends r$.A{get child(){var e;return null===(e=this.children)||void 0===e?void 0:e[0]}update(e){var t;this.attr(e);let{subOptions:n}=e;null===(t=this.child)||void 0===t||t.update(n)}}class rq extends rV{update(e){var t;let{subOptions:n}=e;this.attr(e),null===(t=this.child)||void 0===t||t.update(n)}}function rK(e,t){var n;return null===(n=e.filter(e=>e.getOptions().name===t))||void 0===n?void 0:n[0]}function rX(e,t,n){let{bbox:r}=e,{position:a="top",size:i,length:o}=t,s=["top","bottom","center"].includes(a),[l,c]=s?[r.height,r.width]:[r.width,r.height],{defaultSize:u,defaultLength:d}=n.props,p=i||u||l,f=o||d||c,[m,g]=s?[f,p]:[p,f];return{orientation:s?"horizontal":"vertical",width:m,height:g,size:p,length:f}}function rQ(e){let t=["arrow","crosshairs","grid","handle","handleLabel","indicator","label","line","tick","tip","title","trunc"],{style:n}=e,r=rz(e,["style"]),a={};return Object.entries(r).forEach(([e,n])=>{t.includes(e)?a[`show${(0,rf.Z)(e)}`]=n:a[e]=n}),Object.assign(Object.assign({},a),n)}var rJ=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function r0(e,t){let{eulerAngles:n,origin:r}=t;r&&e.setOrigin(r),n&&e.rotate(n[0],n[1],n[2])}function r1(e){let{innerWidth:t,innerHeight:n,depth:r}=e.getOptions();return[t,n,r]}function r2(e,t,n,r,a,i,o,s){var l;(void 0!==n||void 0!==i)&&e.update(Object.assign(Object.assign({},n&&{tickCount:n}),i&&{tickMethod:i}));let c=function(e,t,n){if(e.getTicks)return e.getTicks();if(!n)return t;let[r,a]=(0,rG.Z)(t,e=>+e),{tickCount:i}=e.getOptions();return n(r,a,i)}(e,t,i),u=a?c.filter(a):c,d=e=>e instanceof Date?String(e):"object"==typeof e&&e?e:String(e),p=r||(null===(l=e.getFormatter)||void 0===l?void 0:l.call(e))||d,f=function(e,t){if(rw(t))return e=>e;let n=t.getOptions(),{innerWidth:r,innerHeight:a,insetTop:i,insetBottom:o,insetLeft:s,insetRight:l}=n,[c,u,d]="left"===e||"right"===e?[i,o,a]:[s,l,r],p=new rU.b({domain:[0,1],range:[c/d,1-u/d]});return e=>p.map(e)}(o,s),m=function(e,t){let{width:n,height:r}=t.getOptions();return a=>{if(!rP(t))return a;let i=t.map("bottom"===e?[a,1]:[0,a]);if("bottom"===e){let e=i[0],t=new rU.b({domain:[0,n],range:[0,1]});return t.map(e)}if("left"===e){let e=i[1],t=new rU.b({domain:[0,r],range:[0,1]});return t.map(e)}return a}}(o,s),g=e=>["top","bottom","center","outer"].includes(e),h=e=>["left","right"].includes(e);return rw(s)||rx(s)?u.map((t,n,r)=>{var a,i;let l=(null===(a=e.getBandWidth)||void 0===a?void 0:a.call(e,t))/2||0,c=f(e.map(t)+l),u=rR(s)&&"center"===o||rx(s)&&(null===(i=e.getTicks)||void 0===i?void 0:i.call(e))&&g(o)||rx(s)&&h(o);return{value:u?1-c:c,label:d(p(rI(t),n,r)),id:String(n)}}):u.map((t,n,r)=>{var a;let i=(null===(a=e.getBandWidth)||void 0===a?void 0:a.call(e,t))/2||0,s=m(f(e.map(t)+i)),l=h(o);return{value:l?1-s:s,label:d(p(rI(t),n,r)),id:String(n)}})}let r3=e=>t=>{let{labelFormatter:n,labelFilter:r=()=>!0}=t;return a=>{var i;let{scales:[o]}=a,s=(null===(i=o.getTicks)||void 0===i?void 0:i.call(o))||o.getOptions().domain,l="string"==typeof n?(0,rm.WU)(n):n,c=Object.assign(Object.assign({},t),{labelFormatter:l,labelFilter:(e,t,n)=>r(s[t],t,s),scale:o});return e(c)(a)}},r4=r3(e=>{let{direction:t="left",important:n={},labelFormatter:r,order:a,orientation:i,actualPosition:o,position:s,size:l,style:c={},title:u,tickCount:d,tickFilter:p,tickMethod:f,transform:m,indexBBox:g}=e,h=rJ(e,["direction","important","labelFormatter","order","orientation","actualPosition","position","size","style","title","tickCount","tickFilter","tickMethod","transform","indexBBox"]);return({scales:a,value:b,coordinate:y,theme:E})=>{var T;let{bbox:v}=b,[S]=a,{domain:A,xScale:O}=S.getOptions(),_=function(e,t,n,r,a,i){let o=function(e,t,n,r,a,i){let o=n.axis,s=["top","right","bottom","left"].includes(a)?n[`axis${n7(a)}`]:n.axisLinear,l=e.getOptions().name,c=n[`axis${(0,rf.Z)(l)}`]||{};return Object.assign({},o,s,c)}(e,0,n,0,a,0);return"center"===a?Object.assign(Object.assign(Object.assign(Object.assign({},o),{labelDirection:"right"===r?"negative":"positive"}),"center"===r?{labelTransform:"translate(50%,0)"}:null),{tickDirection:"right"===r?"negative":"positive",labelSpacing:"center"===r?0:4,titleSpacing:"vertical"===i||i===-Math.PI/2?10:0,tick:"center"!==r&&void 0}):o}(S,0,E,t,s,i),k=Object.assign(Object.assign(Object.assign({},_),c),h),I=function(e,t,n="xy"){let[r,a,i]=r1(t);return"xy"===n?e.includes("bottom")||e.includes("top")?a:r:"xz"===n?e.includes("bottom")||e.includes("top")?i:r:e.includes("bottom")||e.includes("top")?a:i}(o||s,y,e.plane),C=function(e,t,n,r,a){let{x:i,y:o,width:s,height:l}=n;if("bottom"===e)return{startPos:[i,o],endPos:[i+s,o]};if("left"===e)return{startPos:[i+s,o+l],endPos:[i+s,o]};if("right"===e)return{startPos:[i,o+l],endPos:[i,o]};if("top"===e)return{startPos:[i,o+l],endPos:[i+s,o+l]};if("center"===e){if("vertical"===t)return{startPos:[i,o],endPos:[i,o+l]};if("horizontal"===t)return{startPos:[i,o],endPos:[i+s,o]};if("number"==typeof t){let[e,n]=r.getCenter(),[c,u]=rF(r),[d,p]=rB(r),f=Math.min(s,l)/2,{insetLeft:m,insetTop:g}=r.getOptions(),h=c*f,b=u*f,[y,E]=[e+i-m,n+o-g],[T,v]=[Math.cos(t),Math.sin(t)],S=rw(r)&&a?(()=>{let{domain:e}=a.getOptions();return e.length})():3;return{startPos:[y+b*T,E+b*v],endPos:[y+h*T,E+h*v],gridClosed:1e-6>Math.abs(p-d-360),gridCenter:[y,E],gridControlAngles:Array(S).fill(0).map((e,t,n)=>(p-d)/S*t)}}}return{}}(s,i,v,y,O),N=function(e){let{depth:t}=e.getOptions();return t?{tickIsBillboard:!0,lineIsBillboard:!0,labelIsBillboard:!0,titleIsBillboard:!0,gridIsBillboard:!0}:{}}(y),x=r2(S,A,d,r,p,f,s,y),w=g?x.map((e,t)=>{let n=g.get(t);return n&&n[0]===e.label?Object.assign(Object.assign({},e),{bbox:n[1]}):e}):x,R=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},k),{type:"linear",data:w,crossSize:l,titleText:rW(u),labelOverlap:function(e=[],t){if(e.length>0)return e;let{labelAutoRotate:n,labelAutoHide:r,labelAutoEllipsis:a,labelAutoWrap:i}=t,o=[],s=(e,t)=>{t&&o.push(Object.assign(Object.assign({},e),t))};return s({type:"rotate",optionalAngles:[0,15,30,45,60,90]},n),s({type:"ellipsis",minLength:20},a),s({type:"hide"},r),s({type:"wrap",wordWrapWidth:100,maxLines:3,recoveryWhenFail:!0},i),o}(m,k),grid:(T=k.grid,!(rw(y)&&rx(y)||rD(y))&&(void 0===T?!!S.getTicks:T)),gridLength:I,line:!0,indexBBox:g}),k.line?null:{lineOpacity:0}),C),N),n),L=R.labelOverlap.find(e=>"hide"===e.type);return L&&(R.crossSize=!1),new rj.R({className:"axis",style:rQ(R)})}}),r5=r3(e=>{let{order:t,size:n,position:r,orientation:a,labelFormatter:i,tickFilter:o,tickCount:s,tickMethod:l,important:c={},style:u={},indexBBox:d,title:p,grid:f=!1}=e,m=rJ(e,["order","size","position","orientation","labelFormatter","tickFilter","tickCount","tickMethod","important","style","indexBBox","title","grid"]);return({scales:[e],value:t,coordinate:n,theme:a})=>{let{bbox:u}=t,{domain:g}=e.getOptions(),h=r2(e,g,s,i,o,l,r,n),b=d?h.map((e,t)=>{let n=d.get(t);return n&&n[0]===e.label?Object.assign(Object.assign({},e),{bbox:n[1]}):e}):h,[y,E]=rF(n),T=function(e,t,n,r,a){let{x:i,y:o,width:s,height:l}=t,c=[i+s/2,o+l/2],[u,d]=rB(a),[p,f]=r1(a),m={center:c,radius:Math.min(s,l)/2,startAngle:u,endAngle:d,gridLength:(r-n)*(Math.min(p,f)/2)};if("inner"===e){let{insetLeft:e,insetTop:t}=a.getOptions();return Object.assign(Object.assign({},m),{center:[c[0]-e,c[1]-t],labelAlign:"perpendicular",labelDirection:"positive",tickDirection:"positive",gridDirection:"negative"})}return Object.assign(Object.assign({},m),{labelAlign:"parallel",labelDirection:"negative",tickDirection:"negative",gridDirection:"positive"})}(r,u,y,E,n),{axis:v,axisArc:S={}}=a,A=rQ((0,n3.Z)({},v,S,T,Object.assign(Object.assign({type:"arc",data:b,titleText:rW(p),grid:f},m),c)));return new rj.R({style:(0,rH.Z)(A,["transform"])})}});r4.props={defaultPosition:"center",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]},r5.props={defaultPosition:"outer",defaultOrientation:"vertical",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]};var r6=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let r9=e=>{let{important:t={}}=e,n=r6(e,["important"]);return r=>{let{theme:a,coordinate:i,scales:o}=r;return r4(Object.assign(Object.assign(Object.assign({},n),function(e){let t=e%(2*Math.PI);return t===Math.PI/2?{titleTransform:"translate(0, 50%)"}:t>-Math.PI/2&&tMath.PI/2&&t<3*Math.PI/2?{titleTransform:"translate(-50%, 0)"}:{}}(e.orientation)),{important:Object.assign(Object.assign({},function(e,t,n,r){let{radar:a}=e,[i]=r,o=i.getOptions().name,[s,l]=rB(n),{axisRadar:c={}}=t;return Object.assign(Object.assign({},c),{grid:"position"===o,gridConnect:"line",gridControlAngles:Array(a.count).fill(0).map((e,t)=>{let n=(l-s)/a.count;return n*t})})}(e,a,i,o)),t)}))(r)}};r9.props=Object.assign(Object.assign({},r4.props),{defaultPosition:"center"});var r8=n(37948),r7=n(84965),ae=n(90314),at=n(29631),an=n(15203),ar=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function aa(e){let{domain:t}=e.getOptions(),[n,r]=[t[0],rb(t)];return[n,r]}let ai=e=>{let{labelFormatter:t,layout:n,order:r,orientation:a,position:i,size:o,title:s,style:l,crossPadding:c,padding:u}=e,d=ar(e,["labelFormatter","layout","order","orientation","position","size","title","style","crossPadding","padding"]);return({scales:r,value:a,theme:o,scale:c})=>{let{bbox:u}=a,{x:p,y:f,width:m,height:g}=u,h=rY(i,n),{legendContinuous:b={}}=o,y=rQ(Object.assign({},b,Object.assign(Object.assign({titleText:rW(s),labelAlign:"value",labelFormatter:"string"==typeof t?e=>(0,rm.WU)(t)(e.label):t},function(e,t,n,r,a,i){let o=rK(e,"color"),s=function(e,t,n){var r,a,i;let{size:o}=t,s=rX(e,t,n);return r=s,a=o,i=s.orientation,(r.size=a,"horizontal"===i||0===i)?r.height=a:r.width=a,r}(n,r,a);if(o instanceof ae.M){let{range:e}=o.getOptions(),[t,n]=aa(o);return o instanceof at.J||o instanceof an.c?function(e,t,n,r,a){let i=t.thresholds;return Object.assign(Object.assign({},e),{color:a,data:[n,...i,r].map(e=>({value:e/r,label:String(e)}))})}(s,o,t,n,e):function(e,t,n){let r=t.thresholds,a=[-1/0,...r,1/0].map((e,t)=>({value:t,label:e}));return Object.assign(Object.assign({},e),{data:a,color:n,labelFilter:(e,t)=>t>0&&tvoid 0!==e).find(e=>!(e instanceof r7.s)));return Object.assign(Object.assign({},e),{domain:[d,p],data:l.getTicks().map(e=>({value:e})),color:Array(Math.floor(o)).fill(0).map((e,t)=>{let n=(u-c)/(o-1)*t+c,a=l.map(n)||s,i=r?r.map(n):1;return a.replace(/rgb[a]*\(([\d]{1,3}) *, *([\d]{1,3}) *, *([\d]{1,3})[\S\s]*\)/,(e,t,n,r)=>`rgba(${t}, ${n}, ${r}, ${i})`)})})}(s,o,l,c,t,i)}(r,c,a,e,ai,o)),l),d)),E=new rV({style:Object.assign(Object.assign({x:p,y:f,width:m,height:g},h),{subOptions:y})});return E.appendChild(new r8.V({className:"legend-continuous",style:y})),E}};ai.props={defaultPosition:"top",defaultOrientation:"vertical",defaultOrder:1,defaultSize:60,defaultLength:200,defaultLegendSize:60,defaultPadding:[20,10],defaultCrossPadding:[12,12]};let ao=e=>(...t)=>ai(Object.assign({},{block:!0},e))(...t);ao.props=Object.assign(Object.assign({},ai.props),{defaultPosition:"top",defaultOrientation:"horizontal"});let as=e=>t=>{let{scales:n}=t,r=rK(n,"size");return ai(Object.assign({},{type:"size",data:r.getTicks().map((e,t)=>({value:e,label:String(e)}))},e))(t)};as.props=Object.assign(Object.assign({},ai.props),{defaultPosition:"top",defaultOrientation:"horizontal"});let al=e=>as(Object.assign({},{block:!0},e));al.props=Object.assign(Object.assign({},ai.props),{defaultPosition:"top",defaultOrientation:"horizontal"});var ac=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let au=({static:e=!1}={})=>t=>{let{width:n,height:r,depth:a,paddingLeft:i,paddingRight:o,paddingTop:s,paddingBottom:l,padding:c,inset:u,insetLeft:d,insetTop:p,insetRight:f,insetBottom:m,margin:g,marginLeft:h,marginBottom:b,marginTop:y,marginRight:E,data:T,coordinate:v,theme:S,component:A,interaction:O,x:_,y:k,z:I,key:C,frame:N,labelTransform:x,parentKey:w,clip:R,viewStyle:L,title:D}=t,P=ac(t,["width","height","depth","paddingLeft","paddingRight","paddingTop","paddingBottom","padding","inset","insetLeft","insetTop","insetRight","insetBottom","margin","marginLeft","marginBottom","marginTop","marginRight","data","coordinate","theme","component","interaction","x","y","z","key","frame","labelTransform","parentKey","clip","viewStyle","title"]);return[Object.assign(Object.assign({type:"standardView",x:_,y:k,z:I,key:C,width:n,height:r,depth:a,padding:c,paddingLeft:i,paddingRight:o,paddingTop:s,inset:u,insetLeft:d,insetTop:p,insetRight:f,insetBottom:m,paddingBottom:l,theme:S,coordinate:v,component:A,interaction:O,frame:N,labelTransform:x,margin:g,marginLeft:h,marginBottom:b,marginTop:y,marginRight:E,parentKey:w,clip:R,style:L},!e&&{title:D}),{marks:[Object.assign(Object.assign(Object.assign({},P),{key:`${C}-0`,data:T}),e&&{title:D})]})]};au.props={};var ad=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function ap(e){return(t,...n)=>(0,n3.Z)({},e(t,...n),t)}function af(e){return(t,...n)=>(0,n3.Z)({},t,e(t,...n))}function am(e,t){if(!e)return t;if(Array.isArray(e))return e;if(!(e instanceof Date)&&"object"==typeof e){let{value:n=t}=e,r=ad(e,["value"]);return Object.assign(Object.assign({},r),{value:n})}return e}var ag=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ah=()=>e=>{let{children:t}=e,n=ag(e,["children"]);if(!Array.isArray(t))return[];let{data:r,scale:a={},axis:i={},legend:o={},encode:s={},transform:l=[]}=n,c=ag(n,["data","scale","axis","legend","encode","transform"]),u=t.map(e=>{var{data:t,scale:n={},axis:c={},legend:u={},encode:d={},transform:p=[]}=e,f=ag(e,["data","scale","axis","legend","encode","transform"]);return Object.assign({data:am(t,r),scale:(0,n3.Z)({},a,n),encode:(0,n3.Z)({},s,d),transform:[...l,...p],axis:!!c&&!!i&&(0,n3.Z)({},i,c),legend:!!u&&!!o&&(0,n3.Z)({},o,u)},f)});return[Object.assign(Object.assign({},c),{marks:u,type:"standardView"})]};ah.props={};var ab=n(25897);function ay([e,t],[n,r]){return[e-n,t-r]}function aE([e,t],[n,r]){return Math.sqrt(Math.pow(e-n,2)+Math.pow(t-r,2))}function aT([e,t]){return Math.atan2(t,e)}function av([e,t]){return aT([e,t])+Math.PI/2}function aS(e,t){let n=aT(e),r=aT(t);return no[e]),u=new rU.b({domain:[l,c],range:[0,100]}),d=e=>(0,ab.Z)(o[e])&&!Number.isNaN(o[e])?u.map(o[e]):0,p={between:t=>`${e[t]} ${d(t)}%`,start:t=>0===t?`${e[t]} ${d(t)}%`:`${e[t-1]} ${d(t)}%, ${e[t]} ${d(t)}%`,end:t=>t===e.length-1?`${e[t]} ${d(t)}%`:`${e[t]} ${d(t)}%, ${e[t+1]} ${d(t)}%`},f=s.sort((e,t)=>d(e)-d(t)).map(p[a]||p.between).join(",");return`linear-gradient(${"y"===r||!0===r?i?180:90:i?90:0}deg, ${f})`}function aC(e){let[t,n,r,a]=e;return[a,t,n,r]}function aN(e,t,n){let[r,a,,i]=rx(e)?aC(t):t,[o,s]=n,l=e.getCenter(),c=av(ay(r,l)),u=av(ay(a,l)),d=u===c&&o!==s?u+2*Math.PI:u;return{startAngle:c,endAngle:d-c>=0?d:2*Math.PI+d,innerRadius:aE(i,l),outerRadius:aE(r,l)}}function ax(e){let{colorAttribute:t,opacityAttribute:n=t}=e;return`${n}Opacity`}function aw(e,t){if(!rw(e))return"";let n=e.getCenter(),{transform:r}=t;return`translate(${n[0]}, ${n[1]}) ${r||""}`}function aR(e){if(1===e.length)return e[0];let[[t,n,r=0],[a,i,o=0]]=e;return[(t+a)/2,(n+i)/2,(r+o)/2]}function aL(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})}var aD=n(86224),aP=n(25049);function aM(e){let t="function"==typeof e?e:e.render;return class extends nS.b_{connectedCallback(){this.draw()}attributeChangedCallback(){this.draw()}draw(){t(this)}}}var aF=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let aB=aM(e=>{let t;let n=e.attributes,{className:r,class:a,transform:i,rotate:o,labelTransform:s,labelTransformOrigin:l,x:c,y:u,x0:d=c,y0:p=u,text:f,background:m,connector:g,startMarker:h,endMarker:b,coordCenter:y,innerHTML:E}=n,T=aF(n,["className","class","transform","rotate","labelTransform","labelTransformOrigin","x","y","x0","y0","text","background","connector","startMarker","endMarker","coordCenter","innerHTML"]);if(e.style.transform=`translate(${c}, ${u})`,[c,u,d,p].some(e=>!(0,ab.Z)(e))){e.children.forEach(e=>e.remove());return}let v=rr(T,"background"),{padding:S}=v,A=aF(v,["padding"]),O=rr(T,"connector"),{points:_=[]}=O,k=aF(O,["points"]);t=E?rc(e).maybeAppend("html","html",r).style("zIndex",0).style("innerHTML",E).call(a_,Object.assign({transform:s,transformOrigin:l},T)).node():rc(e).maybeAppend("text","text").style("zIndex",0).style("text",f).call(a_,Object.assign({textBaseline:"middle",transform:s,transformOrigin:l},T)).node();let I=rc(e).maybeAppend("background","rect").style("zIndex",-1).call(a_,function(e,t=[]){let[n=0,r=0,a=n,i=r]=t,o=e.parentNode,s=o.getEulerAngles();o.setEulerAngles(0);let{min:l,halfExtents:c}=e.getLocalBounds(),[u,d]=l,[p,f]=c;return o.setEulerAngles(s),{x:u-i,y:d-n,width:2*p+i+r,height:2*f+n+a}}(t,S)).call(a_,m?A:{}).node(),C=+d(0,aP.Z)()(e);if(!t[0]&&!t[1])return o([function(e){let{min:[t,n],max:[r,a]}=e.getLocalBounds(),i=0,o=0;return t>0&&(i=t),r<0&&(i=r),n>0&&(o=n),a<0&&(o=a),[i,o]}(e),t]);if(!n.length)return o([[0,0],t]);let[s,l]=n,c=[...l],u=[...s];if(l[0]!==s[0]){let e=a?-4:4;c[1]=l[1],i&&!a&&(c[0]=Math.max(s[0],l[0]-e),l[1]s[1]?u[1]=c[1]:(u[1]=s[1],u[0]=Math.max(u[0],c[0]-e))),!i&&a&&(c[0]=Math.min(s[0],l[0]-e),l[1]>s[1]?u[1]=c[1]:(u[1]=s[1],u[0]=Math.min(u[0],c[0]-e))),i&&a&&(c[0]=Math.min(s[0],l[0]-e),l[1]Math.abs(e[1]-o[t][1]));s=Math.max(Math.min(s,a-2),1);let l=e=>[i[e][0],(i[e][1]+o[e][1])/2],c=l(s),u=l(s-1),d=l(s+1),p=aT(ay(d,u))/Math.PI*180;return{x:c[0],y:c[1],transform:`rotate(${p})`,textAlign:"center",textBaseline:"middle"}}function aH(e,t,n,r){let{bounds:a}=n,[[i,o],[s,l]]=a,c=s-i,u=l-o;return(e=>{let{x:t,y:r}=e,a=ro(n.x,c),s=ro(n.y,u);return Object.assign(Object.assign({},e),{x:(a||t)+i,y:(s||r)+o})})("left"===e?{x:0,y:u/2,textAlign:"start",textBaseline:"middle"}:"right"===e?{x:c,y:u/2,textAlign:"end",textBaseline:"middle"}:"top"===e?{x:c/2,y:0,textAlign:"center",textBaseline:"top"}:"bottom"===e?{x:c/2,y:u,textAlign:"center",textBaseline:"bottom"}:"top-left"===e?{x:0,y:0,textAlign:"start",textBaseline:"top"}:"top-right"===e?{x:c,y:0,textAlign:"end",textBaseline:"top"}:"bottom-left"===e?{x:0,y:u,textAlign:"start",textBaseline:"bottom"}:"bottom-right"===e?{x:c,y:u,textAlign:"end",textBaseline:"bottom"}:{x:c/2,y:u/2,textAlign:"center",textBaseline:"middle"})}function aG(e,t,n,r){let{y:a,y1:i,autoRotate:o,rotateToAlignArc:s}=n,l=r.getCenter(),c=aN(r,t,[a,i]),{innerRadius:u,outerRadius:d,startAngle:p,endAngle:f}=c,m="inside"===e?(p+f)/2:f,g=az(m,o,s),h=(()=>{let[n,r]=t,[a,i]="inside"===e?a$(l,m,u+(d-u)*.5):aO(n,r);return{x:a,y:i}})();return Object.assign(Object.assign({},h),{textAlign:"inside"===e?"center":"start",textBaseline:"middle",rotate:g})}function a$(e,t,n){return[e[0]+Math.sin(t)*n,e[1]-Math.cos(t)*n]}function az(e,t,n){return t?e/Math.PI*180+(n?0:0>Math.sin(e)?90:-90):0}function aZ(e,t,n,r){let{y:a,y1:i,autoRotate:o,rotateToAlignArc:s,radius:l=.5,offset:c=0}=n,u=aN(r,t,[a,i]),{startAngle:d,endAngle:p}=u,f=r.getCenter(),m=(d+p)/2,g=az(m,o,s),{innerRadius:h,outerRadius:b}=u,[y,E]=a$(f,m,h+(b-h)*l+c);return Object.assign({x:y,y:E},{textAlign:"center",textBaseline:"middle",rotate:g})}function aW(e){return void 0===e?null:e}function aY(e,t,n,r){let{bounds:a}=n,[i]=a;return{x:aW(i[0]),y:aW(i[1])}}function aV(e,t,n,r){let{bounds:a}=n;if(1===a.length)return aY(e,t,n,r);let i=rR(r)?aG:rM(r)?aZ:aH;return i(e,t,n,r)}function aq(e,t,n){let r=aN(n,e,[t.y,t.y1]),{innerRadius:a,outerRadius:i}=r;return a+(i-a)}function aK(e,t,n){let r=aN(n,e,[t.y,t.y1]),{startAngle:a,endAngle:i}=r;return(a+i)/2}function aX(e,t,n,r){let{autoRotate:a,rotateToAlignArc:i,offset:o=0,connector:s=!0,connectorLength:l=o,connectorLength2:c=0,connectorDistance:u=0}=n,d=r.getCenter(),p=aK(t,n,r),f=Math.sin(p)>0?1:-1,m=az(p,a,i),g={textAlign:f>0||rR(r)?"start":"end",textBaseline:"middle",rotate:m},h=aq(t,n,r),b=h+(s?l:o),[[y,E],[T,v],[S,A]]=function(e,t,n,r,a){let[i,o]=a$(e,t,n),[s,l]=a$(e,t,r),c=Math.sin(t)>0?1:-1;return[[i,o],[s,l],[s+c*a,l]]}(d,p,h,b,s?c:0),O=s?+u*f:0,_=S+O;return Object.assign(Object.assign({x0:y,y0:E,x:S+O,y:A},g),{connector:s,connectorPoints:[[T-_,v-A],[S-_,A-A]]})}function aQ(e,t,n,r){let{bounds:a}=n;if(1===a.length)return aY(e,t,n,r);let i=rR(r)?aG:rM(r)?aX:aH;return i(e,t,n,r)}var aJ=n(80732);function a0(e,t={}){let{labelHeight:n=14,height:r}=t,a=(0,aJ.Z)(e,e=>e.y),i=a.length,o=Array(i);for(let e=0;e0;e--){let t=o[e],n=o[e-1];if(n.y1>t.y){s=!0,n.labels.push(...t.labels),o.splice(e,1),n.y1+=t.y1-t.y;let a=n.y1-n.y;n.y1=Math.max(Math.min(n.y1,r),a),n.y=n.y1-a}}}let l=0;for(let e of o){let{y:t,labels:r}=e,i=t-n;for(let e of r){let t=a[l++],r=i+n,o=r-e;t.connectorPoints[0][1]-=o,t.y=i+n,i+=n}}}function a1(e,t){let n=(0,aJ.Z)(e,e=>e.y),{height:r,labelHeight:a=14}=t,i=Math.ceil(r/a);if(n.length<=i)return a0(n,t);let o=[];for(let e=0;et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let a3=new WeakMap;function a4(e,t,n,r,a,i){if(!rM(r))return{};if(a3.has(t))return a3.get(t);let o=i.map(e=>(function(e,t,n){let{connectorLength:r,connectorLength2:a,connectorDistance:i}=t,o=a2(aX("outside",e,t,n),[]),s=n.getCenter(),l=aq(e,t,n),c=aK(e,t,n),u=s[0]+(l+r+a+ +i)*(Math.sin(c)>0?1:-1),{x:d}=o,p=u-d;return o.x+=p,o.connectorPoints[0][0]-=p,o})(e,n,r)),{width:s,height:l}=r.getOptions(),c=o.filter(e=>e.xe.x>=s/2),d=Object.assign(Object.assign({},a),{height:l});return a1(c,d),a1(u,d),o.forEach((e,t)=>a3.set(i[t],e)),a3.get(t)}var a5=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function a6(e,t,n,r){if(!rM(r))return{};let{connectorLength:a,connectorLength2:i,connectorDistance:o}=n,s=a5(aX("outside",t,n,r),[]),{x0:l,y0:c}=s,u=r.getCenter(),d=function(e){if(rM(e)){let[t,n]=e.getSize(),r=e.getOptions().transformations.find(e=>"polar"===e[0]);if(r)return Math.max(t,n)/2*r[4]}return 0}(r),p=av([l-u[0],c-u[1]]),f=Math.sin(p)>0?1:-1,[m,g]=a$(u,p,d+a);return s.x=m+(i+o)*f,s.y=g,s}var a9=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let a8=(e,t)=>{let{coordinate:n,theme:r}=t,{render:a}=e;return(t,i,o,s)=>{let{text:l,x:c,y:u,transform:d="",transformOrigin:p,className:f=""}=i,m=a9(i,["text","x","y","transform","transformOrigin","className"]),g=function(e,t,n,r,a,i){let{position:o}=t,{render:s}=a,l=void 0!==o?o:rM(n)?"inside":rx(n)?"right":"top",c=s?"htmlLabel":"inside"===l?"innerLabel":"label",u=r[c],d=Object.assign({},u,t),p=K[aL(l)];if(!p)throw Error(`Unknown position: ${l}`);return Object.assign(Object.assign({},u),p(l,e,d,n,a,i))}(t,i,n,r,e,s),{rotate:h=0,transform:b=""}=g,y=a9(g,["rotate","transform"]);return rc(new aB).call(a_,y).style("text",`${l}`).style("className",`${f} g2-label`).style("innerHTML",a?a(l,i.datum,i.index):void 0).style("labelTransform",`${b} rotate(${+h}) ${d}`.trim()).style("labelTransformOrigin",p).style("coordCenter",n.getCenter()).call(a_,m).node()}};a8.props={defaultMarker:"point"};var a7=n(11108),ie=n(47666);let it="main-layer",ir="label-layer",ia="element",ii="view",io="plot",is="component",il="label",ic="area";var iu=n(44355);function id(e){return!!e.getBandWidth}function ip(e,t,n){if(!id(e))return e.invert(t);let{adjustedRange:r}=e,{domain:a}=e.getOptions(),i=e.getStep(),o=n?r:r.map(e=>e+i),s=(0,iu.Nw)(o,t),l=Math.min(a.length-1,Math.max(0,s+(n?-1:0)));return a[l]}function im(e,t,n){if(!t)return e.getOptions().domain;if(!id(e)){let r=(0,aJ.Z)(t);if(!n)return r;let[a]=r,{range:i}=e.getOptions(),[o,s]=i,l=e.invert(e.map(a)+(o>s?-1:1)*n);return[a,l]}let{domain:r}=e.getOptions(),a=t[0],i=r.indexOf(a);if(n){let e=i+Math.round(r.length*n);return r.slice(i,e)}let o=t[t.length-1],s=r.indexOf(o);return r.slice(i,s+1)}function ig(e,t,n,r,a,i){let{x:o,y:s}=a,l=(e,t)=>{let[n,r]=i.invert(e);return[ip(o,n,t),ip(s,r,t)]},c=l([e,t],!0),u=l([n,r],!1),d=im(o,[c[0],u[0]]),p=im(s,[c[1],u[1]]);return[d,p]}function ih(e,t){let[n,r]=e;return[t.map(n),t.map(r)+(t.getStep?t.getStep():0)]}var ib=n(10233),iy=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function iE(e,t,n,r,a={}){let{inset:i=0,radius:o=0,insetLeft:s=i,insetTop:l=i,insetRight:c=i,insetBottom:u=i,radiusBottomLeft:d=o,radiusBottomRight:p=o,radiusTopLeft:f=o,radiusTopRight:m=o,minWidth:g=-1/0,maxWidth:h=1/0,minHeight:b=-1/0}=a,y=iy(a,["inset","radius","insetLeft","insetTop","insetRight","insetBottom","radiusBottomLeft","radiusBottomRight","radiusTopLeft","radiusTopRight","minWidth","maxWidth","minHeight"]);if(!rw(r)&&!rL(r)){let n=!!rx(r),[a,,i]=n?aC(t):t,[o,E]=a,[T,v]=ay(i,a),S=(T>0?o:o+T)+s,A=(v>0?E:E+v)+l,O=Math.abs(T)-(s+c),_=Math.abs(v)-(l+u),k=n?rk(O,b,1/0):rk(O,g,h),I=n?rk(_,g,h):rk(_,b,1/0),C=n?S:S-(k-O)/2,N=n?A-(I-_)/2:A-(I-_);return rc(e.createElement("rect",{})).style("x",C).style("y",N).style("width",k).style("height",I).style("radius",[f,m,p,d]).call(a_,y).node()}let{y:E,y1:T}=n,v=r.getCenter(),S=aN(r,t,[E,T]),A=(0,ib.Z)().cornerRadius(o).padAngle(i*Math.PI/180);return rc(e.createElement("path",{})).style("d",A(S)).style("transform",`translate(${v[0]}, ${v[1]})`).style("radius",o).style("inset",i).call(a_,y).node()}let iT=(e,t)=>{let{colorAttribute:n,opacityAttribute:r="fill",first:a=!0,last:i=!0}=e,o=iy(e,["colorAttribute","opacityAttribute","first","last"]),{coordinate:s,document:l}=t;return(t,r,c)=>{let{color:u,radius:d=0}=c,p=iy(c,["color","radius"]),f=p.lineWidth||1,{stroke:m,radius:g=d,radiusTopLeft:h=g,radiusTopRight:b=g,radiusBottomRight:y=g,radiusBottomLeft:E=g,innerRadius:T=0,innerRadiusTopLeft:v=T,innerRadiusTopRight:S=T,innerRadiusBottomRight:A=T,innerRadiusBottomLeft:O=T,lineWidth:_="stroke"===n||m?f:0,inset:k=0,insetLeft:I=k,insetRight:C=k,insetBottom:N=k,insetTop:x=k,minWidth:w,maxWidth:R,minHeight:L}=o,D=iy(o,["stroke","radius","radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft","innerRadius","innerRadiusTopLeft","innerRadiusTopRight","innerRadiusBottomRight","innerRadiusBottomLeft","lineWidth","inset","insetLeft","insetRight","insetBottom","insetTop","minWidth","maxWidth","minHeight"]),{color:P=u,opacity:M}=r,F=[a?h:v,a?b:S,i?y:A,i?E:O],B=["radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft"];rx(s)&&B.push(B.shift());let j=Object.assign(Object.assign({radius:g},Object.fromEntries(B.map((e,t)=>[e,F[t]]))),{inset:k,insetLeft:I,insetRight:C,insetBottom:N,insetTop:x,minWidth:w,maxWidth:R,minHeight:L});return rc(iE(l,t,r,s,j)).call(a_,p).style("fill","transparent").style(n,P).style(ax(e),M).style("lineWidth",_).style("stroke",void 0===m?P:m).call(a_,D).node()}};iT.props={defaultEnterAnimation:"scaleInY",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let iv={visibility:"visible",opacity:1,fillOpacity:1,strokeOpacity:1};function iS(e,t,n,r){e.style[t]=n,r&&e.children.forEach(e=>iS(e,t,n,r))}function iA(e){iS(e,"visibility","hidden",!0)}function iO(e){iS(e,"visibility","visible",!0)}var i_=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function ik(e){return rc(e).selectAll(`.${ia}`).nodes().filter(e=>!e.__removed__)}function iI(e,t){return iC(e,t).flatMap(({container:e})=>ik(e))}function iC(e,t){return t.filter(t=>t!==e&&t.options.parentKey===e.options.key)}function iN(e){return rc(e).select(`.${io}`).node()}function ix(e){if("g"===e.tagName)return e.getRenderBounds();let t=e.getGeometryBounds(),n=new nS.mN;return n.setFromTransformedAABB(t,e.getWorldTransform()),n}function iw(e,t){let{offsetX:n,offsetY:r}=t,a=ix(e),{min:[i,o],max:[s,l]}=a;return ns||rl?null:[n-i,r-o]}function iR(e,t){let{offsetX:n,offsetY:r}=t,[a,i,o,s]=function(e){let t=e.getRenderBounds(),{min:[n,r],max:[a,i]}=t;return[n,r,a,i]}(e);return[Math.min(o,Math.max(a,n))-a,Math.min(s,Math.max(i,r))-i]}function iL(e){return e=>e.__data__.color}function iD(e){return e=>e.__data__.x}function iP(e){let t=Array.isArray(e)?e:[e],n=new Map(t.flatMap(e=>{let t=Array.from(e.markState.keys());return t.map(t=>[iF(e.key,t.key),t.data])}));return e=>{let{index:t,markKey:r,viewKey:a}=e.__data__,i=n.get(iF(a,r));return i[t]}}function iM(e,t=(e,t)=>e,n=(e,t,n)=>e.setAttribute(t,n)){let r="__states__",a="__ordinal__",i=i=>{let{[r]:o=[],[a]:s={}}=i,l=o.reduce((t,n)=>Object.assign(Object.assign({},t),e[n]),s);if(0!==Object.keys(l).length){for(let[e,r]of Object.entries(l)){let a=function(e,t){var n;return null!==(n=e.style[t])&&void 0!==n?n:iv[t]}(i,e),o=t(r,i);n(i,e,o),e in s||(s[e]=a)}i[a]=s}},o=e=>{e[r]||(e[r]=[])};return{setState:(e,...t)=>{o(e),e[r]=[...t],i(e)},removeState:(e,...t)=>{for(let n of(o(e),t)){let t=e[r].indexOf(n);-1!==t&&e[r].splice(t,1)}i(e)},hasState:(e,t)=>(o(e),-1!==e[r].indexOf(t))}}function iF(e,t){return`${e},${t}`}function iB(e,t){let n=Array.isArray(e)?e:[e],r=n.flatMap(e=>e.marks.map(t=>[iF(e.key,t.key),t.state])),a={};for(let e of t){let[t,n]=Array.isArray(e)?e:[e,{}];a[t]=r.reduce((e,r)=>{var a;let[i,o={}]=r,s=void 0===(a=o[t])||"object"==typeof a&&0===Object.keys(a).length?n:o[t];for(let[t,n]of Object.entries(s)){let r=e[t],a=(e,t,a,o)=>{let s=iF(o.__data__.viewKey,o.__data__.markKey);return i!==s?null==r?void 0:r(e,t,a,o):"function"!=typeof n?n:n(e,t,a,o)};e[t]=a}return e},{})}return a}function ij(e,t){let n=new Map(e.map((e,t)=>[e,t])),r=t?e.map(t):e;return(e,a)=>{if("function"!=typeof e)return e;let i=n.get(a),o=t?t(a):a;return e(o,i,r,a)}}function iU(e){var{link:t=!1,valueof:n=(e,t)=>e,coordinate:r}=e,a=i_(e,["link","valueof","coordinate"]);if(!t)return[()=>{},()=>{}];let i=e=>e.__data__.points,o=(e,t)=>{let[,n,r]=e,[a,,,i]=t;return[n,a,i,r]};return[e=>{var t;if(e.length<=1)return;let r=(0,aJ.Z)(e,(e,t)=>{let{x:n}=e.__data__,{x:r}=t.__data__;return n-r});for(let e=1;en(e,l)),{fill:g=l.getAttribute("fill")}=m,h=i_(m,["fill"]),b=new nS.y$({className:"element-link",style:Object.assign({d:s.toString(),fill:g,zIndex:-2},h)});null===(t=l.link)||void 0===t||t.remove(),l.parentNode.appendChild(b),l.link=b}},e=>{var t;null===(t=e.link)||void 0===t||t.remove(),e.link=null}]}function iH(e,t,n){let r=t=>{let{transform:n}=e.style;return n?`${n} ${t}`:t};if(rw(n)){let{points:a}=e.__data__,[i,o]=rx(n)?aC(a):a,s=n.getCenter(),l=ay(i,s),c=ay(o,s),u=aT(l),d=aS(l,c),p=u+d/2,f=t*Math.cos(p),m=t*Math.sin(p);return r(`translate(${f}, ${m})`)}return r(rx(n)?`translate(${t}, 0)`:`translate(0, ${-t})`)}function iG(e){var{document:t,background:n,scale:r,coordinate:a,valueof:i}=e,o=i_(e,["document","background","scale","coordinate","valueof"]);let s="element-background";if(!n)return[()=>{},()=>{}];let l=(e,t,n)=>{let r=e.invert(t),a=t+e.getBandWidth(r)/2,i=e.getStep(r)/2,o=i*n;return[a-i+o,a+i-o]},c=(e,t)=>{let{x:n}=r;if(!id(n))return[0,1];let{__data__:a}=e,{x:i}=a,[o,s]=l(n,i,t);return[o,s]},u=(e,t)=>{let{y:n}=r;if(!id(n))return[0,1];let{__data__:a}=e,{y:i}=a,[o,s]=l(n,i,t);return[o,s]},d=(e,n)=>{let{padding:r}=n,[i,o]=c(e,r),[s,l]=u(e,r),d=[[i,s],[o,s],[o,l],[i,l]].map(e=>a.map(e)),{__data__:p}=e,{y:f,y1:m}=p;return iE(t,d,{y:f,y1:m},a,n)},p=(e,t)=>{let{transform:n="scale(1.2, 1.2)",transformOrigin:r="center center",stroke:a=""}=t,i=i_(t,["transform","transformOrigin","stroke"]),o=Object.assign({transform:n,transformOrigin:r,stroke:a},i),s=e.cloneNode(!0);for(let[e,t]of Object.entries(o))s.style[e]=t;return s},f=()=>{let{x:e,y:t}=r;return[e,t].some(id)};return[e=>{e.background&&e.background.remove();let t=rg(o,t=>i(t,e)),{fill:n="#CCD6EC",fillOpacity:r=.3,zIndex:a=-2,padding:l=.001,lineWidth:c=0}=t,u=i_(t,["fill","fillOpacity","zIndex","padding","lineWidth"]),m=Object.assign(Object.assign({},u),{fill:n,fillOpacity:r,zIndex:a,padding:l,lineWidth:c}),g=f()?d:p,h=g(e,m);h.className=s,e.parentNode.parentNode.appendChild(h),e.background=h},e=>{var t;null===(t=e.background)||void 0===t||t.remove(),e.background=null},e=>e.className===s]}function i$(e,t){let n=e.getRootNode().defaultView,r=n.getContextService().getDomElement();(null==r?void 0:r.style)&&(e.cursor=r.style.cursor,r.style.cursor=t)}function iz(e,t,n){return e.find(e=>Object.entries(t).every(([t,r])=>n(e)[t]===r))}function iZ(e,t){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))}function iW(e,t=!1){let n=(0,ie.Z)(e,e=>!!e).map((e,t)=>[0===t?"M":"L",...e]);return t&&n.push(["Z"]),n}function iY(e){return e.querySelectorAll(".element")}function iV(e,t){if(t(e))return e;let n=e.parent;for(;n&&!t(n);)n=n.parent;return n}function iq(e,t){let{__data__:n}=e,{markKey:r,index:a,seriesIndex:i}=n,{markState:o}=t,s=Array.from(o.keys()).find(e=>e.key===r);if(s)return i?i.map(e=>s.data[e]):s.data[a]}function iK(e,t,n,r=e=>!0){return a=>{if(!r(a))return;n.emit(`plot:${e}`,a);let{target:i}=a;if(!i)return;let{className:o}=i;if("plot"===o)return;let s=iV(i,e=>"element"===e.className),l=iV(i,e=>"component"===e.className),c=iV(i,e=>"label"===e.className),u=s||l||c;if(!u)return;let{className:d,markType:p}=u,f=Object.assign(Object.assign({},a),{nativeEvent:!0});"element"===d?(f.data={data:iq(u,t)},n.emit(`element:${e}`,f),n.emit(`${p}:${e}`,f)):"label"===d?(f.data={data:u.attributes.datum},n.emit(`label:${e}`,f),n.emit(`${o}:${e}`,f)):(n.emit(`component:${e}`,f),n.emit(`${o}:${e}`,f))}}function iX(){return(e,t,n)=>{let{container:r,view:a}=e,i=iK(rd.CLICK,a,n,e=>1===e.detail),o=iK(rd.DBLCLICK,a,n,e=>2===e.detail),s=iK(rd.POINTER_TAP,a,n),l=iK(rd.POINTER_DOWN,a,n),c=iK(rd.POINTER_UP,a,n),u=iK(rd.POINTER_OVER,a,n),d=iK(rd.POINTER_OUT,a,n),p=iK(rd.POINTER_MOVE,a,n),f=iK(rd.POINTER_ENTER,a,n),m=iK(rd.POINTER_LEAVE,a,n),g=iK(rd.POINTER_UPOUTSIDE,a,n),h=iK(rd.DRAG_START,a,n),b=iK(rd.DRAG,a,n),y=iK(rd.DRAG_END,a,n),E=iK(rd.DRAG_ENTER,a,n),T=iK(rd.DRAG_LEAVE,a,n),v=iK(rd.DRAG_OVER,a,n),S=iK(rd.DROP,a,n);return r.addEventListener("click",i),r.addEventListener("click",o),r.addEventListener("pointertap",s),r.addEventListener("pointerdown",l),r.addEventListener("pointerup",c),r.addEventListener("pointerover",u),r.addEventListener("pointerout",d),r.addEventListener("pointermove",p),r.addEventListener("pointerenter",f),r.addEventListener("pointerleave",m),r.addEventListener("pointerupoutside",g),r.addEventListener("dragstart",h),r.addEventListener("drag",b),r.addEventListener("dragend",y),r.addEventListener("dragenter",E),r.addEventListener("dragleave",T),r.addEventListener("dragover",v),r.addEventListener("drop",S),()=>{r.removeEventListener("click",i),r.removeEventListener("click",o),r.removeEventListener("pointertap",s),r.removeEventListener("pointerdown",l),r.removeEventListener("pointerup",c),r.removeEventListener("pointerover",u),r.removeEventListener("pointerout",d),r.removeEventListener("pointermove",p),r.removeEventListener("pointerenter",f),r.removeEventListener("pointerleave",m),r.removeEventListener("pointerupoutside",g),r.removeEventListener("dragstart",h),r.removeEventListener("drag",b),r.removeEventListener("dragend",y),r.removeEventListener("dragenter",E),r.removeEventListener("dragleave",T),r.removeEventListener("dragover",v),r.removeEventListener("drop",S)}}}iX.props={reapplyWhenUpdate:!0};var iQ=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function iJ(e,t){let n=Object.assign(Object.assign({},{"component.axisRadar":r9,"component.axisLinear":r4,"component.axisArc":r5,"component.legendContinuousBlock":ao,"component.legendContinuousBlockSize":al,"component.legendContinuousSize":as,"interaction.event":iX,"composition.mark":au,"composition.view":ah,"shape.label.label":a8}),t),r=t=>{if("string"!=typeof t)return t;let r=`${e}.${t}`;return n[r]||re(`Unknown Component: ${r}`)};return[(e,t)=>{let{type:n}=e,a=iQ(e,["type"]);n||re("Plot type is required!");let i=r(n);return null==i?void 0:i(a,t)},r]}function i0(e){let{canvas:t,group:n}=e;return(null==t?void 0:t.document)||(null==n?void 0:n.ownerDocument)||re("Cannot find library document")}var i1=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function i2(e,t){let{coordinate:n={},coordinates:r}=e,a=i1(e,["coordinate","coordinates"]);if(r)return e;let{type:i,transform:o=[]}=n,s=i1(n,["type","transform"]);if(!i)return Object.assign(Object.assign({},a),{coordinates:o});let[,l]=iJ("coordinate",t),{transform:c=!1}=l(i).props||{};if(c)throw Error(`Unknown coordinate: ${i}.`);return Object.assign(Object.assign({},a),{coordinates:[Object.assign({type:i},s),...o]})}function i3(e,t){return e.filter(e=>e.type===t)}function i4(e){return i3(e,"polar").length>0}function i5(e){return i3(e,"transpose").length%2==1}function i6(e){return i3(e,"theta").length>0}function i9(e){return i3(e,"radial").length>0}var i8=n(25338),i7=n(63488);function oe(e,t){let n=Object.keys(e);for(let r of Object.values(t)){let{name:t}=r.getOptions();if(t in e){let a=n.filter(e=>e.startsWith(t)).map(e=>+(e.replace(t,"")||0)),i=(0,rv.Z)(a)+1,o=`${t}${i}`;e[o]=r,r.getOptions().key=o}else e[t]=r}return e}function ot(e,t){let n,r;let[a]=iJ("scale",t),{relations:i}=e,[o]=i&&Array.isArray(i)?[e=>{var t;n=e.map.bind(e),r=null===(t=e.invert)||void 0===t?void 0:t.bind(e);let a=i.filter(([e])=>"function"==typeof e),o=i.filter(([e])=>"function"!=typeof e),s=new Map(o);if(e.map=e=>{for(let[t,n]of a)if(t(e))return n;return s.has(e)?s.get(e):n(e)},!r)return e;let l=new Map(o.map(([e,t])=>[t,e])),c=new Map(a.map(([e,t])=>[t,e]));return e.invert=e=>c.has(e)?e:l.has(e)?l.get(e):r(e),e},e=>(null!==n&&(e.map=n),null!==r&&(e.invert=r),e)]:[n9,n9],s=a(e);return o(s)}function on(e,t){let n=e.filter(({name:e,facet:n=!0})=>n&&e===t),r=n.flatMap(e=>e.domain),a=n.every(or)?(0,rG.Z)(r):n.every(oa)?Array.from(new Set(r)):null;if(null!==a)for(let e of n)e.domain=a}function or(e){let{type:t}=e;return"string"==typeof t&&["linear","log","pow","time"].includes(t)}function oa(e){let{type:t}=e;return"string"==typeof t&&["band","point","ordinal"].includes(t)}function oi(e,t,n,r,a){let[i]=iJ("palette",a),{category10:o,category20:s}=r,l=Array.from(new Set(n)).length<=o.length?o:s,{palette:c=l,offset:u}=t;if(Array.isArray(c))return c;try{return i({type:c})}catch(t){let e=function(e,t,n=e=>e){if(!e)return null;let r=(0,rf.Z)(e),a=i7[`scheme${r}`],i=i7[`interpolate${r}`];if(!a&&!i)return null;if(a){if(!a.some(Array.isArray))return a;let e=a[t.length];if(e)return e}return t.map((e,r)=>i(n(r/t.length)))}(c,n,u);if(e)return e;throw Error(`Unknown Component: ${c} `)}}function oo(e,t){return t||(e.startsWith("x")||e.startsWith("y")||e.startsWith("position")||e.startsWith("size")?"point":"ordinal")}function os(e,t,n){return n||("color"!==e?"linear":t?"linear":"sequential")}function ol(e,t){if(0===e.length)return e;let{domainMin:n,domainMax:r}=t,[a,i]=e;return[null!=n?n:a,null!=r?r:i]}function oc(e){return od(e,e=>{let t=typeof e;return"string"===t||"boolean"===t})}function ou(e){return od(e,e=>e instanceof Date)}function od(e,t){for(let n of e)if(n.some(t))return!0;return!1}let op={linear:"linear",identity:"identity",log:"log",pow:"pow",sqrt:"sqrt",sequential:"sequential"},of={threshold:"threshold",quantize:"quantize",quantile:"quantile"},om={ordinal:"ordinal",band:"band",point:"point"},og={constant:"constant"};var oh=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function ob(e,t,n,r,a){let[i]=iJ("component",r),{scaleInstances:o,scale:s,bbox:l}=e,c=oh(e,["scaleInstances","scale","bbox"]),u=i(c);return u({coordinate:t,library:r,markState:a,scales:o,theme:n,value:{bbox:l,library:r},scale:s})}function oy(e,t){let n=["left","right","bottom","top"],r=(0,n4.Xx)(e,({type:e,position:t,group:r})=>n.includes(t)?void 0===r?e.startsWith("legend")?`legend-${t}`:Symbol("independent"):"independent"===r?Symbol("independent"):r:Symbol("independent"));return r.flatMap(([,e])=>{if(1===e.length)return e[0];if(void 0!==t){let n=e.filter(e=>void 0!==e.length).map(e=>e.length),r=(0,rT.Z)(n);if(r>t)return e.forEach(e=>e.group=Symbol("independent")),e;let a=e.length-n.length,i=(t-r)/a;e.forEach(e=>{void 0===e.length&&(e.length=i)})}let n=(0,rv.Z)(e,e=>e.size),r=(0,rv.Z)(e,e=>e.order),a=(0,rv.Z)(e,e=>e.crossPadding),i=e[0].position;return{type:"group",size:n,order:r,position:i,children:e,crossPadding:a}})}function oE(e){let t=i3(e,"polar");if(t.length){let e=t[t.length-1],{startAngle:n,endAngle:r}=rS(e);return[n,r]}let n=i3(e,"radial");if(n.length){let e=n[n.length-1],{startAngle:t,endAngle:r}=rO(e);return[t,r]}return[-Math.PI/2,Math.PI/2*3]}function oT(e,t,n,r,a,i){let{type:o}=e;if(["left","right","bottom","top"].includes(r)&&"string"==typeof o)return(o.startsWith("axis")?o_:o.startsWith("group")?ov:o.startsWith("legendContinuous")?ok:"legendCategory"===o?oI:o.startsWith("slider")?oO:"title"===o?oA:o.startsWith("scrollbar")?oS:()=>{})(e,t,n,r,a,i)}function ov(e,t,n,r,a,i){let{children:o}=e,s=(0,rv.Z)(o,e=>e.crossPadding);o.forEach(e=>e.crossPadding=s),o.forEach(e=>oT(e,t,n,r,a,i));let l=(0,rv.Z)(o,e=>e.size);e.size=l,o.forEach(e=>e.size=l)}function oS(e,t,n,r,a,i){let{trackSize:o=6}=(0,n3.Z)({},a.scrollbar,e);e.size=o}function oA(e,t,n,r,a,i){let o=(0,n3.Z)({},a.title,e),{title:s,subtitle:l,spacing:c=0}=o,u=oh(o,["title","subtitle","spacing"]);if(s){let t=rr(u,"title"),n=oL(s,t);e.size=n.height}if(l){let t=rr(u,"subtitle"),n=oL(l,t);e.size+=c+n.height}}function oO(e,t,n,r,a,i){let{trackSize:o,handleIconSize:s}=(()=>{let{slider:t}=a;return(0,n3.Z)({},t,e)})();e.size=Math.max(o,2.4*s)}function o_(e,t,n,r,a,i){var o;e.transform=e.transform||[{type:"hide"}];let s="left"===r||"right"===r,l=ow(e,r,a),{tickLength:c=0,labelSpacing:u=0,titleSpacing:d=0,labelAutoRotate:p}=l,f=oh(l,["tickLength","labelSpacing","titleSpacing","labelAutoRotate"]),m=oC(e,i),g=oN(f,m),h=c+u;if(g&&g.length){let r=(0,rv.Z)(g,e=>e.width),a=(0,rv.Z)(g,e=>e.height);if(s)e.size=r+h;else{let{tickFilter:i,labelTransform:s}=e;(function(e,t,n,r,a){let i=(0,rT.Z)(t,e=>e.width);if(i>n)return!0;let o=e.clone();o.update({range:[0,n]});let s=oR(e,a),l=s.map(e=>o.map(e)+function(e,t){if(!e.getBandWidth)return 0;let n=e.getBandWidth(t)/2;return n}(o,e)),c=s.map((e,t)=>t),u=-r[0],d=n+r[1],p=(e,t)=>{let{width:n}=t;return[e-n/2,e+n/2]};for(let e=0;ed)return!0;let i=l[e+1];if(i){let[n]=p(i,t[e+1]);if(a>n)return!0}}return!1})(m,g,t,n,i)&&!s&&!1!==p&&null!==p?(e.labelTransform="rotate(90)",e.size=r+h):(e.labelTransform=null!==(o=e.labelTransform)&&void 0!==o?o:"rotate(0)",e.size=a+h)}}else e.size=c;let b=ox(f);b&&(s?e.size+=d+b.width:e.size+=d+b.height)}function ok(e,t,n,r,a,i){let o=(()=>{let{legendContinuous:t}=a;return(0,n3.Z)({},t,e)})(),{labelSpacing:s=0,titleSpacing:l=0}=o,c=oh(o,["labelSpacing","titleSpacing"]),u="left"===r||"right"===r,d=rr(c,"ribbon"),{size:p}=d,f=rr(c,"handleIcon"),{size:m}=f;e.size=Math.max(p,2.4*m);let g=oC(e,i),h=oN(c,g);if(h){let t=u?"width":"height",n=(0,rv.Z)(h,e=>e[t]);e.size+=n+s}let b=ox(c);b&&(u?e.size=Math.max(e.size,b.width):e.size+=l+b.height)}function oI(e,t,n,r,a,i){let o=(()=>{let{legendCategory:t}=a,{title:n}=e,[r,i]=Array.isArray(n)?[n,void 0]:[void 0,n];return(0,n3.Z)({title:r},t,Object.assign(Object.assign({},e),{title:i}))})(),{itemSpacing:s,itemMarkerSize:l,titleSpacing:c,rowPadding:u,colPadding:d,maxCols:p=1/0,maxRows:f=1/0}=o,m=oh(o,["itemSpacing","itemMarkerSize","titleSpacing","rowPadding","colPadding","maxCols","maxRows"]),{cols:g,length:h}=e,b=e=>Math.min(e,f),y=e=>Math.min(e,p),E="left"===r||"right"===r,T=void 0===h?t+(E?0:n[0]+n[1]):h,v=ox(m),S=oC(e,i),A=oN(m,S,"itemLabel"),O=Math.max(A[0].height,l)+u,_=(e,t=0)=>l+e+s[0]+t;E?(()=>{let t=-1/0,n=0,r=1,a=0,i=-1/0,o=-1/0,s=v?v.height:0,l=T-s;for(let{width:e}of A){let s=_(e,d);t=Math.max(t,s),n+O>l?(r++,i=Math.max(i,a),o=Math.max(o,n),a=1,n=O):(n+=O,a++)}r<=1&&(i=a,o=n),e.size=t*y(r),e.length=o+s,(0,n3.Z)(e,{cols:y(r),gridRow:i})})():"number"==typeof g?(()=>{let t=Math.ceil(A.length/g),n=(0,rv.Z)(A,e=>_(e.width))*g;e.size=O*b(t)-u,e.length=Math.min(n,T)})():(()=>{let t=1,n=0,r=-1/0;for(let{width:e}of A){let a=_(e,d);n+a>T?(r=Math.max(r,n),n=a,t++):n+=a}1===t&&(r=n),e.size=O*b(t)-u,e.length=r})(),v&&(E?e.size=Math.max(e.size,v.width):e.size+=c+v.height)}function oC(e,t){let[n]=iJ("scale",t),{scales:r,tickCount:a,tickMethod:i}=e,o=r.find(e=>"constant"!==e.type&&"identity"!==e.type);return void 0!==a&&(o.tickCount=a),void 0!==i&&(o.tickMethod=i),n(o)}function oN(e,t,n="label"){let{labelFormatter:r,tickFilter:a,label:i=!0}=e,o=oh(e,["labelFormatter","tickFilter","label"]);if(!i)return null;let s=function(e,t,n){let r=oR(e,n),a=r.map(e=>"number"==typeof e?rI(e):e),i=t?"string"==typeof t?(0,rm.WU)(t):t:e.getFormatter?e.getFormatter():e=>`${e}`;return a.map(i)}(t,r,a),l=rr(o,n),c=s.map((e,t)=>Object.fromEntries(Object.entries(l).map(([n,r])=>[n,"function"==typeof r?r(e,t):r]))),u=s.map((e,t)=>{let n=c[t];return oL(e,n)}),d=c.some(e=>e.transform);if(!d){let t=s.map((e,t)=>t);e.indexBBox=new Map(t.map(e=>[e,[s[e],u[e]]]))}return u}function ox(e){let{title:t}=e,n=oh(e,["title"]);if(!1===t||null==t)return null;let r=rr(n,"title"),{direction:a,transform:i}=r,o=Array.isArray(t)?t.join(","):t;if("string"!=typeof o)return null;let s=oL(o,Object.assign(Object.assign({},r),{transform:i||("vertical"===a?"rotate(-90)":"")}));return s}function ow(e,t,n){let{title:r}=e,[a,i]=Array.isArray(r)?[r,void 0]:[void 0,r],{axis:o,[`axis${n7(t)}`]:s}=n;return(0,n3.Z)({title:a},o,s,Object.assign(Object.assign({},e),{title:i}))}function oR(e,t){let n=e.getTicks?e.getTicks():e.getOptions().domain;return t?n.filter(t):n}function oL(e,t){let n=e instanceof nS.s$?e:new nS.xv({style:{text:`${e}`}}),{filter:r}=t,a=oh(t,["filter"]);n.attr(Object.assign(Object.assign({},a),{visibility:"none"}));let i=n.getBBox();return i}var oD=n(47622),oP=n(91077);function oM(e,t,n,r,a,i,o){let s=(0,n4.ZP)(e,e=>e.position),{padding:l=i.padding,paddingLeft:c=l,paddingRight:u=l,paddingBottom:d=l,paddingTop:p=l}=a,f={paddingBottom:d,paddingLeft:c,paddingTop:p,paddingRight:u};for(let e of r){let r=`padding${n7(aL(e))}`,a=s.get(e)||[],l=f[r],c=e=>{void 0===e.size&&(e.size=e.defaultSize)},u=e=>{"group"===e.type?(e.children.forEach(c),e.size=(0,rv.Z)(e.children,e=>e.size)):e.size=e.defaultSize},d=r=>{r.size||("auto"!==l?u(r):(oT(r,t,n,e,i,o),c(r)))},p=e=>{e.type.startsWith("axis")&&void 0===e.labelAutoHide&&(e.labelAutoHide=!0)},m="bottom"===e||"top"===e,g=(0,oD.Z)(a,e=>e.order),h=a.filter(e=>e.type.startsWith("axis")&&e.order==g);if(h.length&&(h[0].crossPadding=0),"number"==typeof l)a.forEach(c),a.forEach(p);else if(0===a.length)f[r]=0;else{let e=m?t+n[0]+n[1]:t,i=oy(a,e);i.forEach(d);let o=i.reduce((e,{size:t,crossPadding:n=12})=>e+t+n,0);f[r]=o}}return f}function oF({width:e,height:t,paddingLeft:n,paddingRight:r,paddingTop:a,paddingBottom:i,marginLeft:o,marginTop:s,marginBottom:l,marginRight:c,innerHeight:u,innerWidth:d,insetBottom:p,insetLeft:f,insetRight:m,insetTop:g}){let h=n+o,b=a+s,y=r+c,E=i+l,T=e-o-c,v=[h+f,b+g,d-f-m,u-g-p,"center",null,null],S={top:[h,0,d,b,"vertical",!0,oP.Z,o,T],right:[e-y,b,y,u,"horizontal",!1,oP.Z],bottom:[h,t-E,d,E,"vertical",!1,oP.Z,o,T],left:[0,b,h,u,"horizontal",!0,oP.Z],"top-left":[h,0,d,b,"vertical",!0,oP.Z],"top-right":[h,0,d,b,"vertical",!0,oP.Z],"bottom-left":[h,t-E,d,E,"vertical",!1,oP.Z],"bottom-right":[h,t-E,d,E,"vertical",!1,oP.Z],center:v,inner:v,outer:v};return S}function oB(e,t,n={},r=!1){if(rl(e)||Array.isArray(e)&&r)return e;let a=rr(e,t);return(0,n3.Z)(n,a)}function oj(e,t={}){return rl(e)||Array.isArray(e)||!oU(e)?e:(0,n3.Z)(t,e)}function oU(e){if(0===Object.keys(e).length)return!0;let{title:t,items:n}=e;return void 0!==t||void 0!==n}function oH(e,t){return"object"==typeof e?rr(e,t):e}var oG=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function o$(e,t,n){let{encode:r={},scale:a={},transform:i=[]}=t,o=oG(t,["encode","scale","transform"]);return[e,Object.assign(Object.assign({},o),{encode:r,scale:a,transform:i})]}function oz(e,t,n){var r,a,i,o;return r=this,a=void 0,i=void 0,o=function*(){let{library:e}=n,{data:r}=t,[a]=iJ("data",e),i=function(e){if((0,ab.Z)(e))return{type:"inline",value:e};if(!e)return{type:"inline",value:null};if(Array.isArray(e))return{type:"inline",value:e};let{type:t="inline"}=e,n=oG(e,["type"]);return Object.assign(Object.assign({},n),{type:t})}(r),{transform:o=[]}=i,s=oG(i,["transform"]),l=[s,...o],c=l.map(e=>a(e,n)),u=yield(function(e){return e.reduce((e,t)=>n=>{var r,a,i,o;return r=this,a=void 0,i=void 0,o=function*(){let r=yield e(n);return t(r)},new(i||(i=Promise))(function(e,t){function n(e){try{l(o.next(e))}catch(e){t(e)}}function s(e){try{l(o.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof i?r:new i(function(e){e(r)})).then(n,s)}l((o=o.apply(r,a||[])).next())})},n9)})(c)(r),d=!r||Array.isArray(r)||Array.isArray(u)?u:{value:u};return[Array.isArray(u)?rh(u):[],Object.assign(Object.assign({},t),{data:d})]},new(i||(i=Promise))(function(e,t){function n(e){try{l(o.next(e))}catch(e){t(e)}}function s(e){try{l(o.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof i?r:new i(function(e){e(r)})).then(n,s)}l((o=o.apply(r,a||[])).next())})}function oZ(e,t,n){let{encode:r}=t;if(!r)return[e,t];let a={};for(let[e,t]of Object.entries(r))if(Array.isArray(t))for(let n=0;n{if(function(e){if("object"!=typeof e||e instanceof Date||null===e)return!1;let{type:t}=e;return rn(t)}(e))return e;let t="function"==typeof e?"transform":"string"==typeof e&&Array.isArray(a)&&a.some(t=>void 0!==t[e])?"field":"constant";return{type:t,value:e}});return[e,Object.assign(Object.assign({},t),{encode:i})]}function oY(e,t,n){let{encode:r}=t;if(!r)return[e,t];let a=rg(r,(e,t)=>{var n;let{type:r}=e;return"constant"!==r||(n=t).startsWith("x")||n.startsWith("y")||n.startsWith("position")||"enterDelay"===n||"enterDuration"===n||"updateDelay"===n||"updateDuration"===n||"exitDelay"===n||"exitDuration"===n?e:Object.assign(Object.assign({},e),{constant:!0})});return[e,Object.assign(Object.assign({},t),{encode:a})]}function oV(e,t,n){let{encode:r,data:a}=t;if(!r)return[e,t];let{library:i}=n,o=function(e){let[t]=iJ("encode",e);return(e,n)=>void 0===n||void 0===e?null:Object.assign(Object.assign({},n),{type:"column",value:t(n)(e),field:function(e){let{type:t,value:n}=e;return"field"===t&&"string"==typeof n?n:null}(n)})}(i),s=rg(r,e=>o(a,e));return[e,Object.assign(Object.assign({},t),{encode:s})]}function oq(e,t,n){let{tooltip:r={}}=t;return rl(r)?[e,t]:Array.isArray(r)?[e,Object.assign(Object.assign({},t),{tooltip:{items:r}})]:rs(r)&&oU(r)?[e,Object.assign(Object.assign({},t),{tooltip:r})]:[e,Object.assign(Object.assign({},t),{tooltip:{items:[r]}})]}function oK(e,t,n){let{data:r,encode:a,tooltip:i={}}=t;if(rl(i))return[e,t];let o=t=>{if(!t)return t;if("string"==typeof t)return e.map(e=>({name:t,value:r[e][t]}));if(rs(t)){let{field:n,channel:i,color:o,name:s=n,valueFormatter:l=e=>e}=t,c="string"==typeof l?(0,rm.WU)(l):l,u=i&&a[i],d=u&&a[i].field,p=s||d||i,f=[];for(let t of e){let e=n?r[t][n]:u?a[i].value[t]:null;f[t]={name:p,color:o,value:c(e)}}return f}if("function"==typeof t){let n=[];for(let i of e){let e=t(r[i],i,r,a);rs(e)?n[i]=e:n[i]={value:e}}return n}return t},{title:s,items:l=[]}=i,c=oG(i,["title","items"]),u=Object.assign({title:o(s),items:Array.isArray(l)?l.map(o):[]},c);return[e,Object.assign(Object.assign({},t),{tooltip:u})]}function oX(e,t,n){let{encode:r}=t,a=oG(t,["encode"]);if(!r)return[e,t];let i=Object.entries(r),o=i.filter(([,e])=>{let{value:t}=e;return Array.isArray(t[0])}).flatMap(([t,n])=>{let r=[[t,Array(e.length).fill(void 0)]],{value:a}=n,i=oG(n,["value"]);for(let n=0;n[e,Object.assign({type:"column",value:t},i)])}),s=Object.fromEntries([...i,...o]);return[e,Object.assign(Object.assign({},a),{encode:s})]}function oQ(e,t,n){let{axis:r={},legend:a={},slider:i={},scrollbar:o={}}=t,s=(e,t)=>{if("boolean"==typeof e)return e?{}:null;let n=e[t];return void 0===n||n?n:null},l="object"==typeof r?Array.from(new Set(["x","y","z",...Object.keys(r)])):["x","y","z"];return(0,n3.Z)(t,{scale:Object.assign(Object.assign({},Object.fromEntries(l.map(e=>{let t=s(o,e);return[e,Object.assign({guide:s(r,e),slider:s(i,e),scrollbar:t},t&&{ratio:void 0===t.ratio?.5:t.ratio})]}))),{color:{guide:s(a,"color")},size:{guide:s(a,"size")},shape:{guide:s(a,"shape")},opacity:{guide:s(a,"opacity")}})}),[e,t]}function oJ(e,t,n){let{animate:r}=t;return r||void 0===r||(0,n3.Z)(t,{animate:{enter:{type:null},exit:{type:null},update:{type:null}}}),[e,t]}var o0=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})},o1=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},o2=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})},o3=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function o4(e){e.style("transform",e=>`translate(${e.layout.x}, ${e.layout.y})`)}function o5(e,t){return o2(this,void 0,void 0,function*(){let{library:n}=t,r=yield function(e,t){return o2(this,void 0,void 0,function*(){let{library:n}=t,[r,a]=iJ("mark",n),i=new Set(Object.keys(n).map(e=>{var t;return null===(t=/component\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(rn)),{marks:o}=e,s=[],l=[],c=[...o],{width:u,height:d}=function(e){let{height:t,width:n,padding:r=0,paddingLeft:a=r,paddingRight:i=r,paddingTop:o=r,paddingBottom:s=r,margin:l=16,marginLeft:c=l,marginRight:u=l,marginTop:d=l,marginBottom:p=l,inset:f=0,insetLeft:m=f,insetRight:g=f,insetTop:h=f,insetBottom:b=f}=e,y=e=>"auto"===e?20:e,E=n-y(a)-y(i)-c-u-m-g,T=t-y(o)-y(s)-d-p-h-b;return{width:E,height:T}}(e),p={options:e,width:u,height:d};for(;c.length;){let[e]=c.splice(0,1),n=yield so(e,t),{type:o=re("G2Mark type is required."),key:u}=n;if(i.has(o))l.push(n);else{let{props:e={}}=a(o),{composite:t=!0}=e;if(t){let{data:e}=n,t=Object.assign(Object.assign({},n),{data:e?Array.isArray(e)?e:e.value:e}),a=yield r(t,p),i=Array.isArray(a)?a:[a];c.unshift(...i.map((e,t)=>Object.assign(Object.assign({},e),{key:`${u}-${t}`})))}else s.push(n)}}return Object.assign(Object.assign({},e),{marks:s,components:l})})}(e,t),a=function(e){let{coordinate:t={},interaction:n={},style:r={},marks:a}=e,i=o3(e,["coordinate","interaction","style","marks"]),o=a.map(e=>e.coordinate||{}),s=a.map(e=>e.interaction||{}),l=a.map(e=>e.viewStyle||{}),c=[...o,t].reduceRight((e,t)=>(0,n3.Z)(e,t),{}),u=[n,...s].reduce((e,t)=>(0,n3.Z)(e,t),{}),d=[...l,r].reduce((e,t)=>(0,n3.Z)(e,t),{});return Object.assign(Object.assign({},i),{marks:a,coordinate:c,interaction:u,style:d})}(r);e.interaction=a.interaction,e.coordinate=a.coordinate,e.marks=[...a.marks,...a.components];let i=i2(a,n),o=yield o6(i,t);return o8(o,i,n)})}function o6(e,t){return o2(this,void 0,void 0,function*(){let{library:n}=t,[r]=iJ("theme",n),[,a]=iJ("mark",n),{theme:i,marks:o,coordinates:s=[]}=e,l=r(sa(i)),c=new Map;for(let e of o){let{type:n}=e,{props:r={}}=a(n),i=yield function(e,t,n){return o0(this,void 0,void 0,function*(){let[r,a]=yield function(e,t,n){return o0(this,void 0,void 0,function*(){let{library:r}=n,[a]=iJ("transform",r),{preInference:i=[],postInference:o=[]}=t,{transform:s=[]}=e,l=[o$,oz,oZ,oW,oY,oV,oX,oJ,oQ,oq,...i.map(a),...s.map(a),...o.map(a),oK],c=[],u=e;for(let e of l)[c,u]=yield e(c,u,n);return[c,u]})}(e,t,n),{encode:i,scale:o,data:s,tooltip:l}=a;if(!1===Array.isArray(s))return null;let{channels:c}=t,u=(0,n4.Q3)(Object.entries(i).filter(([,e])=>rn(e)),e=>e.map(([e,t])=>Object.assign({name:e},t)),([e])=>{var t;let n=null===(t=/([^\d]+)\d*$/.exec(e))||void 0===t?void 0:t[1],r=c.find(e=>e.name===n);return(null==r?void 0:r.independent)?e:n}),d=c.filter(e=>{let{name:t,required:n}=e;if(u.find(([e])=>e===t))return!0;if(n)throw Error(`Missing encoding for channel: ${t}.`);return!1}).flatMap(e=>{let{name:t,scale:n,scaleKey:r,range:a,quantitative:i,ordinal:s}=e,l=u.filter(([e])=>e.startsWith(t));return l.map(([e,t],l)=>{let c=t.some(e=>e.visual),u=t.some(e=>e.constant),d=o[e]||{},{independent:p=!1,key:f=r||e,type:m=u?"constant":c?"identity":n}=d,g=o1(d,["independent","key","type"]),h="constant"===m;return{name:e,values:t,scaleKey:p||h?Symbol("independent"):f,scale:Object.assign(Object.assign({type:m,range:h?void 0:a},g),{quantitative:i,ordinal:s})}})});return[a,Object.assign(Object.assign({},t),{index:r,channels:d,tooltip:l})]})}(e,r,t);if(i){let[e,t]=i;c.set(e,t)}}let u=(0,n4.ZP)(Array.from(c.values()).flatMap(e=>e.channels),({scaleKey:e})=>e);for(let e of u.values()){let t=e.reduce((e,{scale:t})=>(0,n3.Z)(e,t),{}),{scaleKey:r}=e[0],{values:a}=e[0],i=Array.from(new Set(a.map(e=>e.field).filter(rn))),o=(0,n3.Z)({guide:{title:0===i.length?void 0:i},field:i[0]},t),{name:c}=e[0],u=e.flatMap(({values:e})=>e.map(e=>e.value)),d=Object.assign(Object.assign({},function(e,t,n,r,a,i){let{guide:o={}}=n,s=function(e,t,n){let{type:r,domain:a,range:i,quantitative:o,ordinal:s}=n;return void 0!==r?r:od(t,rs)?"identity":"string"==typeof i?"linear":(a||i||[]).length>2?oo(e,s):void 0!==a?oc([a])?oo(e,s):ou(t)?"time":os(e,i,o):oc(t)?oo(e,s):ou(t)?"time":os(e,i,o)}(e,t,n);if("string"!=typeof s)return n;let l=function(e,t,n,r){let{domain:a}=r;if(void 0!==a)return a;switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":case"quantize":case"threshold":return ol(function(e,t){let{zero:n=!1}=t,r=1/0,a=-1/0;for(let t of e)for(let e of t)rn(e)&&(r=Math.min(r,+e),a=Math.max(a,+e));return r===1/0?[]:n?[Math.min(0,r),a]:[r,a]}(n,r),r);case"band":case"ordinal":case"point":return Array.from(new Set(n.flat()));case"quantile":return n.flat().sort();case"sequential":return ol(function(e){let t=1/0,n=-1/0;for(let r of e)for(let e of r)rn(e)&&(t=Math.min(t,+e),n=Math.max(n,+e));return t===1/0?[]:[t<0?-n:t,n]}(n),r);default:return[]}}(s,0,t,n),c=function(e,t,n){let{ratio:r}=n;return null==r?t:or({type:e})?function(e,t,n){let r=e.map(Number),a=new rU.b({domain:r,range:[r[0],r[0]+(r[r.length-1]-r[0])*t]});return"time"===n?e.map(e=>new Date(a.map(e))):e.map(e=>a.map(e))}(t,r,e):oa({type:e})?function(e,t){let n=Math.round(e.length*t);return e.slice(0,n)}(t,r):t}(s,l,n);return Object.assign(Object.assign(Object.assign({},n),function(e,t,n,r,a){switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":return function(e,t){let{interpolate:n=i8.wp,nice:r=!1,tickCount:a=5}=t;return Object.assign(Object.assign({},t),{interpolate:n,nice:r,tickCount:a})}(0,r);case"band":case"point":return function(e,t,n,r){if(void 0!==r.padding||void 0!==r.paddingInner||void 0!==r.paddingOuter)return Object.assign(Object.assign({},r),{unknown:NaN});let a="enterDelay"===t||"enterDuration"===t||"size"===t?0:"band"===e?i6(n)?0:.1:"point"===e?.5:0,{paddingInner:i=a,paddingOuter:o=a}=r;return Object.assign(Object.assign({},r),{paddingInner:i,paddingOuter:o,padding:a,unknown:NaN})}(e,t,a,r);case"sequential":return function(e){let{palette:t="ylGnBu",offset:n}=e,r=(0,rf.Z)(t),a=i7[`interpolate${r}`];if(!a)throw Error(`Unknown palette: ${r}`);return{interpolator:n?e=>a(n(e)):a}}(r);default:return r}}(s,e,0,n,r)),{domain:c,range:function(e,t,n,r,a,i,o){let{range:s}=r;if("string"==typeof s)return s.split("-");if(void 0!==s)return s;let{rangeMin:l,rangeMax:c}=r;switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":{let e=oi(n,r,a,i,o),[s,u]="enterDelay"===t?[0,1e3]:"enterDuration"==t?[300,1e3]:t.startsWith("y")||t.startsWith("position")?[1,0]:"color"===t?[e[0],rb(e)]:"opacity"===t?[0,1]:"size"===t?[1,10]:[0,1];return[null!=l?l:s,null!=c?c:u]}case"band":case"point":{let e="size"===t?5:0,n="size"===t?10:1;return[null!=l?l:e,null!=c?c:n]}case"ordinal":return oi(n,r,a,i,o);case"sequential":return;case"constant":return[n[0][0]];default:return[]}}(s,e,t,n,c,a,i),expectedDomain:l,guide:o,name:e,type:s})}(c,u,o,s,l,n)),{uid:Symbol("scale"),key:r});e.forEach(e=>e.scale=d)}return c})}function o9(e,t,n,r){let a=e.theme,i="string"==typeof t&&a[t]||{},o=r((0,n3.Z)(i,Object.assign({type:t},n)));return o}function o8(e,t,n){var r;let[a]=iJ("mark",n),[i]=iJ("theme",n),[o]=iJ("labelTransform",n),{key:s,frame:l=!1,theme:c,clip:u,style:d={},labelTransform:p=[]}=t,f=i(sa(c)),m=Array.from(e.values()),g=function(e,t){var n;let{components:r=[]}=t,a=["scale","encode","axis","legend","data","transform"],i=Array.from(new Set(e.flatMap(e=>e.channels.map(e=>e.scale)))),o=new Map(i.map(e=>[e.name,e]));for(let e of r){let t=function(e){let{channels:t=[],type:n,scale:r={}}=e,a=["shape","color","opacity","size"];return 0!==t.length?t:"axisX"===n?["x"]:"axisY"===n?["y"]:"legends"===n?Object.keys(r).filter(e=>a.includes(e)):[]}(e);for(let r of t){let t=o.get(r),s=(null===(n=e.scale)||void 0===n?void 0:n[r])||{},{independent:l=!1}=s;if(t&&!l){let{guide:n}=t,r="boolean"==typeof n?{}:n;t.guide=(0,n3.Z)({},r,e),Object.assign(t,s)}else{let t=Object.assign(Object.assign({},s),{expectedDomain:s.domain,name:r,guide:(0,rH.Z)(e,a)});i.push(t)}}}return i}(m,t),h=(function(e,t,n){let{coordinates:r=[],title:a}=t,[,i]=iJ("component",n),o=e.filter(({guide:e})=>null!==e),s=[],l=function(e,t,n){let[,r]=iJ("component",n),{coordinates:a}=e;function i(e,t,n,i){let o=function(e,t,n=[]){return"x"===e?i5(n)?`${t}Y`:`${t}X`:"y"===e?i5(n)?`${t}X`:`${t}Y`:null}(t,e,a);if(!i||!o)return;let{props:s}=r(o),{defaultPosition:l,defaultSize:c,defaultOrder:u,defaultCrossPadding:[d]}=s;return Object.assign(Object.assign({position:l,defaultSize:c,order:u,type:o,crossPadding:d},i),{scales:[n]})}return t.filter(e=>e.slider||e.scrollbar).flatMap(e=>{let{slider:t,scrollbar:n,name:r}=e;return[i("slider",r,e,t),i("scrollbar",r,e,n)]}).filter(e=>!!e)}(t,e,n);if(s.push(...l),a){let{props:e}=i("title"),{defaultPosition:t,defaultOrientation:n,defaultOrder:r,defaultSize:o,defaultCrossPadding:l}=e,c="string"==typeof a?{title:a}:a;s.push(Object.assign({type:"title",position:t,orientation:n,order:r,crossPadding:l[0],defaultSize:o},c))}let c=function(e,t){let n=e.filter(e=>(function(e){if(!e||!e.type)return!1;if("function"==typeof e.type)return!0;let{type:t,domain:n,range:r,interpolator:a}=e,i=n&&n.length>0,o=r&&r.length>0;return!!(["linear","sqrt","log","time","pow","threshold","quantize","quantile","ordinal","band","point"].includes(t)&&i&&o||["sequential"].includes(t)&&i&&(o||a)||["constant","identity"].includes(t)&&o)})(e));return[...function(e,t){let n=["shape","size","color","opacity"],r=(e,t)=>"constant"===e&&"size"===t,a=e.filter(({type:e,name:t})=>"string"==typeof e&&n.includes(t)&&!r(e,t)),i=a.filter(({type:e})=>"constant"===e),o=a.filter(({type:e})=>"constant"!==e),s=(0,n4.Xx)(o,e=>e.field?e.field:Symbol("independent")).map(([e,t])=>[e,[...t,...i]]).filter(([,e])=>e.some(e=>"constant"!==e.type)),l=new Map(s);if(0===l.size)return[];let c=e=>e.sort(([e],[t])=>e.localeCompare(t)),u=Array.from(l).map(([,e])=>{let t=(function(e){if(1===e.length)return[e];let t=[];for(let n=1;n<=e.length;n++)t.push(...function e(t,n=t.length){if(1===n)return t.map(e=>[e]);let r=[];for(let a=0;a{r.push([t[a],...e])})}return r}(e,n));return t})(e).sort((e,t)=>t.length-e.length),n=t.map(e=>({combination:e,option:e.map(e=>[e.name,function(e){let{type:t}=e;return"string"!=typeof t?null:t in op?"continuous":t in om?"discrete":t in of?"distribution":t in og?"constant":null}(e)])}));for(let{option:e,combination:t}of n)if(!e.every(e=>"constant"===e[1])&&e.every(e=>"discrete"===e[1]||"constant"===e[1]))return["legendCategory",t];for(let[e,t]of rC)for(let{option:r,combination:a}of n)if(t.some(e=>(0,rE.Z)(c(e),c(r))))return[e,a];return null}).filter(rn);return u}(n,0),...n.map(e=>{let{name:n}=e;if(i3(t,"helix").length>0||i6(t)||i5(t)&&(i4(t)||i9(t)))return null;if(n.startsWith("x"))return i4(t)?["axisArc",[e]]:i9(t)?["axisLinear",[e]]:[i5(t)?"axisY":"axisX",[e]];if(n.startsWith("y"))return i4(t)?["axisLinear",[e]]:i9(t)?["axisArc",[e]]:[i5(t)?"axisX":"axisY",[e]];if(n.startsWith("z"))return["axisZ",[e]];if(n.startsWith("position")){if(i3(t,"radar").length>0)return["axisRadar",[e]];if(!i4(t))return["axisY",[e]]}return null}).filter(rn)]}(o,r);return c.forEach(([e,t])=>{let{props:n}=i(e),{defaultPosition:a,defaultPlane:l="xy",defaultOrientation:c,defaultSize:u,defaultOrder:d,defaultLength:p,defaultPadding:f=[0,0],defaultCrossPadding:m=[0,0]}=n,g=(0,n3.Z)({},...t),{guide:h,field:b}=g,y=Array.isArray(h)?h:[h];for(let n of y){let[i,g]=function(e,t,n,r,a,i,o){let[s]=oE(o),l=[r.position||t,null!=s?s:n];return"string"==typeof e&&e.startsWith("axis")?function(e,t,n,r,a){let{name:i}=n[0];if("axisRadar"===e){let e=r.filter(e=>e.name.startsWith("position")),t=function(e){let t=/position(\d*)/g.exec(e);return t?+t[1]:null}(i);if(i===e.slice(-1)[0].name||null===t)return[null,null];let[n,o]=oE(a),s=(o-n)/(e.length-1)*t+n;return["center",s]}if("axisY"===e&&i3(a,"parallel").length>0)return i5(a)?["center","horizontal"]:["center","vertical"];if("axisLinear"===e){let[e]=oE(a);return["center",e]}return"axisArc"===e?"inner"===t[0]?["inner",null]:["outer",null]:i4(a)||i9(a)?["center",null]:"axisX"===e&&i3(a,"reflect").length>0||"axisX"===e&&i3(a,"reflectY").length>0?["top",null]:t}(e,l,a,i,o):"string"==typeof e&&e.startsWith("legend")&&i4(o)&&"center"===r.position?["center","vertical"]:l}(e,a,c,n,t,o,r);if(!i&&!g)continue;let h="left"===i||"right"===i,y=h?f[1]:f[0],E=h?m[1]:m[0],{size:T,order:v=d,length:S=p,padding:A=y,crossPadding:O=E}=n;s.push(Object.assign(Object.assign({title:b},n),{defaultSize:u,length:S,position:i,plane:l,orientation:g,padding:A,order:v,crossPadding:O,size:T,type:e,scales:t}))}}),s})(function(e,t,n){var r;for(let[t]of n.entries())if("cell"===t.type)return e.filter(e=>"shape"!==e.name);if(1!==t.length||e.some(e=>"shape"===e.name))return e;let{defaultShape:a}=t[0];if(!["point","line","rect","hollow"].includes(a))return e;let i=(null===(r=e.find(e=>"color"===e.name))||void 0===r?void 0:r.field)||null;return[...e,{field:i,name:"shape",type:"constant",domain:[],range:[{point:"point",line:"hyphen",rect:"square",hollow:"hollow"}[a]]}]}(Array.from(g),m,e),t,n).map(e=>{let t=(0,n3.Z)(e,e.style);return delete t.style,t}),b=function(e,t,n,r){var a,i;let{width:o,height:s,depth:l,x:c=0,y:u=0,z:d=0,inset:p=null!==(a=n.inset)&&void 0!==a?a:0,insetLeft:f=p,insetTop:m=p,insetBottom:g=p,insetRight:h=p,margin:b=null!==(i=n.margin)&&void 0!==i?i:0,marginLeft:y=b,marginBottom:E=b,marginTop:T=b,marginRight:v=b,padding:S=n.padding,paddingBottom:A=S,paddingLeft:O=S,paddingRight:_=S,paddingTop:k=S}=function(e,t,n,r){let{coordinates:a}=t;if(!i4(a)&&!i9(a))return t;let i=e.filter(e=>"string"==typeof e.type&&e.type.startsWith("axis"));if(0===i.length)return t;let o=i.map(e=>{let t="axisArc"===e.type?"arc":"linear";return ow(e,t,n)}),s=(0,rv.Z)(o,e=>{var t;return null!==(t=e.labelSpacing)&&void 0!==t?t:0}),l=i.flatMap((e,t)=>{let n=o[t],a=oC(e,r),i=oN(n,a);return i}).filter(rn),c=(0,rv.Z)(l,e=>e.height)+s,u=i.flatMap((e,t)=>{let n=o[t];return ox(n)}).filter(e=>null!==e),d=0===u.length?0:(0,rv.Z)(u,e=>e.height),{inset:p=c,insetLeft:f=p,insetBottom:m=p,insetTop:g=p+d,insetRight:h=p}=t;return Object.assign(Object.assign({},t),{insetLeft:f,insetBottom:m,insetTop:g,insetRight:h})}(e,t,n,r),I=1/4,C=(e,n,r,a,i)=>{let{marks:o}=t;if(0===o.length||e-a-i-e*I>0)return[a,i];let s=e*(1-I);return["auto"===n?s*a/(a+i):a,"auto"===r?s*i/(a+i):i]},N=e=>"auto"===e?20:null!=e?e:20,x=N(k),w=N(A),R=oM(e,s-x-w,[x+T,w+E],["left","right"],t,n,r),{paddingLeft:L,paddingRight:D}=R,P=o-y-v,[M,F]=C(P,O,_,L,D),B=P-M-F,j=oM(e,B,[M+y,F+v],["bottom","top"],t,n,r),{paddingTop:U,paddingBottom:H}=j,G=s-E-T,[$,z]=C(G,A,k,H,U),Z=G-$-z;return{width:o,height:s,depth:l,insetLeft:f,insetTop:m,insetBottom:g,insetRight:h,innerWidth:B,innerHeight:Z,paddingLeft:M,paddingRight:F,paddingTop:z,paddingBottom:$,marginLeft:y,marginBottom:E,marginTop:T,marginRight:v,x:c,y:u,z:d}}(h,t,f,n),y=function(e,t,n){let[r]=iJ("coordinate",n),{innerHeight:a,innerWidth:i,insetLeft:o,insetTop:s,insetRight:l,insetBottom:c}=e,{coordinates:u=[]}=t,d=u.find(e=>"cartesian"===e.type||"cartesian3D"===e.type)?u:[...u,{type:"cartesian"}],p="cartesian3D"===d[0].type,f=Object.assign(Object.assign({},e),{x:o,y:s,width:i-o-l,height:a-c-s,transformations:d.flatMap(r)}),m=p?new rN.Coordinate3D(f):new rN.Coordinate(f);return m}(b,t,n),E=l?(0,n3.Z)({mainLineWidth:1,mainStroke:"#000"},d):d;!function(e,t,n){let r=(0,n4.ZP)(e,e=>`${e.plane||"xy"}-${e.position}`),{paddingLeft:a,paddingRight:i,paddingTop:o,paddingBottom:s,marginLeft:l,marginTop:c,marginBottom:u,marginRight:d,innerHeight:p,innerWidth:f,insetBottom:m,insetLeft:g,insetRight:h,insetTop:b,height:y,width:E,depth:T}=n,v={xy:oF({width:E,height:y,paddingLeft:a,paddingRight:i,paddingTop:o,paddingBottom:s,marginLeft:l,marginTop:c,marginBottom:u,marginRight:d,innerHeight:p,innerWidth:f,insetBottom:m,insetLeft:g,insetRight:h,insetTop:b}),yz:oF({width:T,height:y,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:T,innerHeight:y,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0}),xz:oF({width:E,height:T,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:E,innerHeight:T,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0})};for(let[e,n]of r.entries()){let[r,a]=e.split("-"),i=v[r][a],[o,s]=ry(n,e=>"string"==typeof e.type&&!!("center"===a||e.type.startsWith("axis")&&["inner","outer"].includes(a)));o.length&&function(e,t,n,r){let[a,i]=ry(e,e=>!!("string"==typeof e.type&&e.type.startsWith("axis")));(function(e,t,n,r){if("center"===r){if(rD(t)&&rw(t))(function(e,t,n,r){let[a,i,o,s]=n;for(let t of e)t.bbox={x:a,y:i,width:o,height:s},t.radar={index:e.indexOf(t),count:e.length}})(e,0,n,0);else{var a;rw(t)?function(e,t,n){let[r,a,i,o]=n;for(let t of e)t.bbox={x:r,y:a,width:i,height:o}}(e,0,n):rD(t)&&("horizontal"===(a=e[0].orientation)?function(e,t,n){let[r,a,i]=n,o=Array(e.length).fill(0),s=t.map(o),l=s.filter((e,t)=>t%2==1).map(e=>e+a);for(let t=0;tt%2==0).map(e=>e+r);for(let t=0;tnull==c?void 0:c(e.order,t.order));let T=e=>"title"===e||"group"===e||e.startsWith("legend"),v=(e,t,n)=>void 0===n?t:T(e)?n:t,S=(e,t,n)=>void 0===n?t:T(e)?n:t;for(let t=0,n=l?f+b:f;t"group"===e.type);for(let e of A){let{bbox:t,children:n}=e,r=t[y],a=r/n.length,i=n.reduce((e,t)=>{var n;let r=null===(n=t.layout)||void 0===n?void 0:n.justifyContent;return r||e},"flex-start"),o=n.map((e,t)=>{let{length:r=a,padding:i=0}=e;return r+(t===n.length-1?0:i)}),s=(0,rT.Z)(o),l=r-s,c="flex-start"===i?0:"center"===i?l/2:l;for(let e=0,r=t[m]+c;e"axisX"===e),n=e.find(({type:e})=>"axisY"===e),r=e.find(({type:e})=>"axisZ"===e);t&&n&&r&&(t.plane="xy",n.plane="xy",r.plane="yz",r.origin=[t.bbox.x,t.bbox.y,0],r.eulerAngles=[0,-90,0],r.bbox.x=t.bbox.x,r.bbox.y=t.bbox.y,e.push(Object.assign(Object.assign({},t),{plane:"xz",showLabel:!1,showTitle:!1,origin:[t.bbox.x,t.bbox.y,0],eulerAngles:[-90,0,0]})),e.push(Object.assign(Object.assign({},n),{plane:"yz",showLabel:!1,showTitle:!1,origin:[n.bbox.x+n.bbox.width,n.bbox.y,0],eulerAngles:[0,-90,0]})),e.push(Object.assign(Object.assign({},r),{plane:"xz",actualPosition:"left",showLabel:!1,showTitle:!1,eulerAngles:[90,-90,0]})))}(h);let T=new Map(Array.from(e.values()).flatMap(e=>{let{channels:t}=e;return t.map(({scale:e})=>[e.uid,ot(e,n)])}));!function(e,t){let n=Array.from(e.values()).flatMap(e=>e.channels),r=(0,n4.Q3)(n,e=>e.map(e=>t.get(e.scale.uid)),e=>e.name).filter(([,e])=>e.some(e=>"function"==typeof e.getOptions().groupTransform)&&e.every(e=>e.getTicks)).map(e=>e[1]);r.forEach(e=>{let t=e.map(e=>e.getOptions().groupTransform)[0];t(e)})}(e,T);let v={};for(let e of h){let{scales:t=[]}=e,a=[];for(let e of t){let{name:t,uid:i}=e,o=null!==(r=T.get(i))&&void 0!==r?r:ot(e,n);a.push(o),"y"===t&&o.update(Object.assign(Object.assign({},o.getOptions()),{xScale:v.x})),oe(v,{[t]:o})}e.scaleInstances=a}let S=[];for(let[t,n]of e.entries()){let{children:e,dataDomain:r,modifier:i,key:o}=t,{index:l,channels:c,tooltip:u}=n,d=Object.fromEntries(c.map(({name:e,scale:t})=>[e,t])),p=rg(d,({uid:e})=>T.get(e));oe(v,p);let f=function(e,t){let n={};for(let r of e){let{values:e,name:a}=r,i=t[a];for(let t of e){let{name:e,value:r}=t;n[e]=r.map(e=>i.map(e))}}return n}(c,p),m=a(t),[g,h,E]=function([e,t,n]){if(n)return[e,t,n];let r=[],a=[];for(let n=0;nrn(e)&&rn(t))&&(r.push(i),a.push(o))}return[r,a]}(m(l,p,f,y)),A=r||g.length,O=i?i(h,A,b):[],_=e=>{var t,n;return null===(n=null===(t=u.title)||void 0===t?void 0:t[e])||void 0===n?void 0:n.value},k=e=>u.items.map(t=>t[e]),I=g.map((e,t)=>{let n=Object.assign({points:h[t],transform:O[t],index:e,markKey:o,viewKey:s},u&&{title:_(e),items:k(e)});for(let[r,a]of Object.entries(f))n[r]=a[e],E&&(n[`series${(0,rf.Z)(r)}`]=E[t].map(e=>a[e]));return E&&(n.seriesIndex=E[t]),E&&u&&(n.seriesItems=E[t].map(e=>k(e)),n.seriesTitle=E[t].map(e=>_(e))),n});n.data=I,n.index=g;let C=null==e?void 0:e(I,p,b);S.push(...C||[])}let A={layout:b,theme:f,coordinate:y,markState:e,key:s,clip:u,scale:v,style:E,components:h,labelTransform:n8(p.map(o))};return[A,S]}function o7(e,t,n,r){return o2(this,void 0,void 0,function*(){let{library:a}=r,{components:i,theme:o,layout:s,markState:l,coordinate:c,key:u,style:d,clip:p,scale:f}=e,{x:m,y:g,width:h,height:b}=s,y=o3(s,["x","y","width","height"]),E=["view","plot","main","content"],T=E.map((e,t)=>t),v=E.map(e=>ra(Object.assign({},o.view,d),e)),S=["a","margin","padding","inset"].map(e=>rr(y,e)),A=e=>e.style("x",e=>C[e].x).style("y",e=>C[e].y).style("width",e=>C[e].width).style("height",e=>C[e].height).each(function(e,t,n){!function(e,t){for(let[n,r]of Object.entries(t))e.style(n,r)}(rc(n),v[e])}),O=0,_=0,k=h,I=b,C=T.map(e=>{let t=S[e],{left:n=0,top:r=0,bottom:a=0,right:i=0}=t;return{x:O+=n,y:_+=r,width:k-=n+i,height:I-=r+a}});t.selectAll(su(ic)).data(T.filter(e=>rn(v[e])),e=>E[e]).join(e=>e.append("rect").attr("className",ic).style("zIndex",-2).call(A),e=>e.call(A),e=>e.remove());let N=function(e){let t=-1/0,n=1/0;for(let[r,a]of e){let{animate:e={}}=r,{data:i}=a,{enter:o={},update:s={},exit:l={}}=e,{type:c,duration:u=300,delay:d=0}=s,{type:p,duration:f=300,delay:m=0}=o,{type:g,duration:h=300,delay:b=0}=l;for(let e of i){let{updateType:r=c,updateDuration:a=u,updateDelay:i=d,enterType:o=p,enterDuration:s=f,enterDelay:l=m,exitDuration:y=h,exitDelay:E=b,exitType:T=g}=e;(void 0===r||r)&&(t=Math.max(t,a+i),n=Math.min(n,i)),(void 0===T||T)&&(t=Math.max(t,y+E),n=Math.min(n,E)),(void 0===o||o)&&(t=Math.max(t,s+l),n=Math.min(n,l))}}return t===-1/0?null:[n,t-n]}(l),x=!!N&&{duration:N[1]};for(let[,e]of(0,n4.Xx)(i,e=>`${e.type}-${e.position}`))e.forEach((e,t)=>e.index=t);let w=t.selectAll(su(is)).data(i,e=>`${e.type}-${e.position}-${e.index}`).join(e=>e.append("g").style("zIndex",({zIndex:e})=>e||-1).attr("className",is).append(e=>ob((0,n3.Z)({animate:x,scale:f},e),c,o,a,l)),e=>e.transition(function(e,t,n){let{preserve:r=!1}=e;if(r)return;let i=ob((0,n3.Z)({animate:x,scale:f},e),c,o,a,l),{attributes:s}=i,[u]=n.childNodes;return u.update(s,!1)})).transitions();n.push(...w.flat().filter(rn));let R=t.selectAll(su(io)).data([s],()=>u).join(e=>e.append("rect").style("zIndex",0).style("fill","transparent").attr("className",io).call(ss).call(sc,Array.from(l.keys())).call(sd,p),e=>e.call(sc,Array.from(l.keys())).call(e=>N?function(e,t){let[n,r]=t;e.transition(function(e,t,a){let{transform:i,width:o,height:s}=a.style,{paddingLeft:l,paddingTop:c,innerWidth:u,innerHeight:d,marginLeft:p,marginTop:f}=e,m=[{transform:i,width:o,height:s},{transform:`translate(${l+p}, ${c+f})`,width:u,height:d}];return a.animate(m,{delay:n,duration:r,fill:"both"})})}(e,N):ss(e)).call(sd,p)).transitions();for(let[i,o]of(n.push(...R.flat()),l.entries())){let{data:s}=o,{key:l,class:c,type:u}=i,d=t.select(`#${l}`),p=function(e,t,n,r){let{library:a}=r,[i]=iJ("shape",a),{data:o,encode:s}=e,{defaultShape:l,data:c,shape:u}=t,d=rg(s,e=>e.value),p=c.map(e=>e.points),{theme:f,coordinate:m}=n,{type:g,style:h={}}=e,b=Object.assign(Object.assign({},r),{document:i0(r),coordinate:m,theme:f});return t=>{let{shape:n=l}=h,{shape:r=n,points:a,seriesIndex:s,index:c}=t,m=o3(t,["shape","points","seriesIndex","index"]),y=Object.assign(Object.assign({},m),{index:c}),E=s?s.map(e=>o[e]):o[c],T=s||c,v=rg(h,e=>se(e,E,T,o,{channel:d})),S=u[r]?u[r](v,b):i(Object.assign(Object.assign({},v),{type:sl(e,r)}),b),A=st(f,g,r,l);return S(a,y,A,p)}}(i,o,e,r),f=sn("enter",i,o,e,a),m=sn("update",i,o,e,a),g=sn("exit",i,o,e,a),h=function(e,t,n,r){let a=e.node().parentElement;return a.findAll(e=>void 0!==e.style.facet&&e.style.facet===n&&e!==t.node()).flatMap(e=>e.getElementsByClassName(r))}(t,d,c,"element"),b=d.selectAll(su(ia)).selectFacetAll(h).data(s,e=>e.key,e=>e.groupKey).join(e=>e.append(p).attr("className",ia).attr("markType",u).transition(function(e,t,n){return f(e,[n])}),e=>e.call(e=>{let t=e.parent(),n=function(e){let t=new Map;return n=>{if(t.has(n))return t.get(n);let r=e(n);return t.set(n,r),r}}(e=>{let[t,n]=e.getBounds().min;return[t,n]});e.transition(function(e,r,a){!function(e,t,n){if(!e.__facet__)return;let r=e.parentNode.parentNode,a=t.parentNode,[i,o]=n(r),[s,l]=n(a),c=`translate(${i-s}, ${o-l})`;!function(e,t){let{transform:n}=e.style,r="none"===n||void 0===n?"":n;e.style.transform=`${r} ${t}`.trimStart()}(e,c),t.append(e)}(a,t,n);let i=p(e,r),o=m(e,[a],[i]);return null!==o||(a.nodeName===i.nodeName&&"g"!==i.nodeName?rt(a,i):(a.parentNode.replaceChild(i,a),i.className=ia,i.markType=u,i.__data__=a.__data__)),o}).attr("markType",u).attr("className",ia)}),e=>e.each(function(e,t,n){n.__removed__=!0}).transition(function(e,t,n){return g(e,[n])}).remove(),e=>e.append(p).attr("className",ia).attr("markType",u).transition(function(e,t,n){let{__fromElements__:r}=n,a=m(e,r,[n]),i=new ru(r,null,n.parentNode);return i.transition(a).remove(),a}),e=>e.transition(function(e,t,n){let r=new ru([],n.__toData__,n.parentNode),a=r.append(p).attr("className",ia).attr("markType",u).nodes();return m(e,[n],a)}).remove()).transitions();n.push(...b.flat())}!function(e,t,n,r,a){let[i]=iJ("labelTransform",r),{markState:o,labelTransform:s}=e,l=t.select(su(ir)).node(),c=new Map,u=new Map,d=Array.from(o.entries()).flatMap(([n,i])=>{let{labels:o=[],key:s}=n,l=function(e,t,n,r,a){let[i]=iJ("shape",r),{data:o,encode:s}=e,{data:l,defaultLabelShape:c}=t,u=l.map(e=>e.points),d=rg(s,e=>e.value),{theme:p,coordinate:f}=n,m=Object.assign(Object.assign({},a),{document:i0(a),theme:p,coordinate:f});return e=>{let{index:t,points:n}=e,r=o[t],{formatter:a=e=>`${e}`,transform:s,style:l,render:f}=e,g=o3(e,["formatter","transform","style","render"]),h=rg(Object.assign(Object.assign({},g),l),e=>se(e,r,t,o,{channel:d})),{shape:b=c,text:y}=h,E=o3(h,["shape","text"]),T="string"==typeof a?(0,rm.WU)(a):a,v=Object.assign(Object.assign({},E),{text:T(y,r,t,o),datum:r}),S=Object.assign({type:`label.${b}`,render:f},E),A=i(S,m),O=st(p,"label",b,"label");return A(n,v,O,u)}}(n,i,e,r,a),d=t.select(`#${s}`).selectAll(su(ia)).nodes().filter(e=>!e.__removed__);return o.flatMap((e,t)=>{let{transform:n=[]}=e,r=o3(e,["transform"]);return d.flatMap(n=>{let a=function(e,t,n){let{seriesIndex:r,seriesKey:a,points:i,key:o,index:s}=n.__data__,l=function(e){let t=e.cloneNode(),n=e.getAnimations();t.style.visibility="hidden",n.forEach(e=>{let n=e.effect.getKeyframes();t.attr(n[n.length-1])}),e.parentNode.appendChild(t);let r=t.getLocalBounds();t.destroy();let{min:a,max:i}=r;return[a,i]}(n);if(!r)return[Object.assign(Object.assign({},e),{key:`${o}-${t}`,bounds:l,index:s,points:i,dependentElement:n})];let c=function(e){let{selector:t}=e;if(!t)return null;if("function"==typeof t)return t;if("first"===t)return e=>[e[0]];if("last"===t)return e=>[e[e.length-1]];throw Error(`Unknown selector: ${t}`)}(e),u=r.map((r,o)=>Object.assign(Object.assign({},e),{key:`${a[o]}-${t}`,bounds:[i[o]],index:r,points:i,dependentElement:n}));return c?c(u):u}(r,t,n);return a.forEach(t=>{c.set(t,l),u.set(t,e)}),a})})}),p=rc(l).selectAll(su(il)).data(d,e=>e.key).join(e=>e.append(e=>c.get(e)(e)).attr("className",il),e=>e.each(function(e,t,n){let r=c.get(e),a=r(e);rt(n,a)}),e=>e.remove()).nodes(),f=(0,n4.ZP)(p,e=>u.get(e.__data__)),{coordinate:m}=e,g={canvas:a.canvas,coordinate:m};for(let[e,t]of f){let{transform:n=[]}=e,r=n8(n.map(i));r(t,g)}s&&s(p,g)}(e,t,0,a,r)})}function se(e,t,n,r,a){return"function"==typeof e?e(t,n,r,a):"string"!=typeof e?e:rs(t)&&void 0!==t[e]?t[e]:e}function st(e,t,n,r){if("string"!=typeof t)return;let{color:a}=e,i=e[t]||{},o=i[n]||i[r];return Object.assign({color:a},o)}function sn(e,t,n,r,a){var i,o;let[,s]=iJ("shape",a),[l]=iJ("animation",a),{defaultShape:c,shape:u}=n,{theme:d,coordinate:p}=r,f=(0,rf.Z)(e),m=`default${f}Animation`,{[m]:g}=(null===(i=u[c])||void 0===i?void 0:i.props)||s(sl(t,c)).props,{[e]:h={}}=d,b=(null===(o=t.animate)||void 0===o?void 0:o[e])||{},y={coordinate:p};return(t,n,r)=>{let{[`${e}Type`]:a,[`${e}Delay`]:i,[`${e}Duration`]:o,[`${e}Easing`]:s}=t,c=Object.assign({type:a||g},b);if(!c.type)return null;let u=l(c,y),d=u(n,r,(0,n3.Z)(h,{delay:i,duration:o,easing:s}));return Array.isArray(d)?d:[d]}}function sr(e){return e.finished.then(()=>{e.cancel()}),e}function sa(e={}){if("string"==typeof e)return{type:e};let{type:t="light"}=e,n=o3(e,["type"]);return Object.assign(Object.assign({},n),{type:t})}function si(e){let{interaction:t={}}=e;return Object.entries((0,n3.Z)({event:!0,tooltip:!0,sliderFilter:!0,legendFilter:!0,scrollbarFilter:!0},t)).reverse()}function so(e,t){return o2(this,void 0,void 0,function*(){let{data:n}=e,r=o3(e,["data"]);if(void 0==n)return e;let[,{data:a}]=yield oz([],{data:n},t);return Object.assign({data:a},r)})}function ss(e){e.style("transform",e=>`translate(${e.paddingLeft+e.marginLeft}, ${e.paddingTop+e.marginTop})`).style("width",e=>e.innerWidth).style("height",e=>e.innerHeight)}function sl(e,t){let{type:n}=e;return"string"==typeof t?`${n}.${t}`:t}function sc(e,t){let n=e=>void 0!==e.class?`${e.class}`:"",r=e.nodes();if(0===r.length)return;e.selectAll(su(it)).data(t,e=>e.key).join(e=>e.append("g").attr("className",it).attr("id",e=>e.key).style("facet",n).style("fill","transparent").style("zIndex",e=>{var t;return null!==(t=e.zIndex)&&void 0!==t?t:0}),e=>e.style("facet",n).style("fill","transparent").style("zIndex",e=>{var t;return null!==(t=e.zIndex)&&void 0!==t?t:0}),e=>e.remove());let a=e.select(su(ir)).node();a||e.append("g").attr("className",ir).style("zIndex",0)}function su(...e){return e.map(e=>`.${e}`).join("")}function sd(e,t){e.node()&&e.style("clipPath",e=>{if(!t)return null;let{paddingTop:n,paddingLeft:r,marginLeft:a,marginTop:i,innerWidth:o,innerHeight:s}=e;return new nS.UL({style:{x:r+a,y:n+i,width:o,height:s}})})}function sp(e,t={},n=!1){let{canvas:r,emitter:a}=t;r&&(function(e){let t=e.getRoot().querySelectorAll(`.${ii}`);null==t||t.forEach(e=>{let{nameInteraction:t=new Map}=e;(null==t?void 0:t.size)>0&&Array.from(null==t?void 0:t.values()).forEach(e=>{null==e||e.destroy()})})}(r),n?r.destroy():r.destroyChildren()),a.off()}let sf=e=>e?parseInt(e):0;function sm(e,t){let n=[e];for(;n.length;){let e=n.shift();t&&t(e);let r=e.children||[];for(let e of r)n.push(e)}}class sg{constructor(e={},t){this.parentNode=null,this.children=[],this.index=0,this.type=t,this.value=e}map(e=e=>e){let t=e(this.value);return this.value=t,this}attr(e,t){return 1==arguments.length?this.value[e]:this.map(n=>(n[e]=t,n))}append(e){let t=new e({});return t.children=[],this.push(t),t}push(e){return e.parentNode=this,e.index=this.children.length,this.children.push(e),this}remove(){let e=this.parentNode;if(e){let{children:t}=e,n=t.findIndex(e=>e===this);t.splice(n,1)}return this}getNodeByKey(e){let t=null;return sm(this,n=>{e===n.attr("key")&&(t=n)}),t}getNodesByType(e){let t=[];return sm(this,n=>{e===n.type&&t.push(n)}),t}getNodeByType(e){let t=null;return sm(this,n=>{t||e!==n.type||(t=n)}),t}call(e,...t){return e(this.map(),...t),this}getRoot(){let e=this;for(;e&&e.parentNode;)e=e.parentNode;return e}}var sh=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let sb=["width","height","depth","padding","paddingLeft","paddingRight","paddingBottom","paddingTop","inset","insetLeft","insetRight","insetTop","insetBottom","margin","marginLeft","marginRight","marginTop","marginBottom","autoFit","theme","title","interaction"],sy="__remove__",sE="__callback__";function sT(e){return Object.assign(Object.assign({},e.value),{type:e.type})}function sv(e,t){let{width:n,height:r,autoFit:a,depth:i=0}=e,o=640,s=480;if(a){let{width:e,height:n}=function(e){let t=getComputedStyle(e),n=e.clientWidth||sf(t.width),r=e.clientHeight||sf(t.height),a=sf(t.paddingLeft)+sf(t.paddingRight),i=sf(t.paddingTop)+sf(t.paddingBottom);return{width:n-a,height:r-i}}(t);o=e||o,s=n||s}return o=n||o,s=r||s,{width:Math.max((0,ab.Z)(o)?o:1,1),height:Math.max((0,ab.Z)(s)?s:1,1),depth:i}}function sS(e){return t=>{for(let[n,r]of Object.entries(e)){let{type:e}=r;"value"===e?function(e,t,{key:n=t}){e.prototype[t]=function(e){return 0==arguments.length?this.attr(n):this.attr(n,e)}}(t,n,r):"array"===e?function(e,t,{key:n=t}){e.prototype[t]=function(e){if(0==arguments.length)return this.attr(n);if(Array.isArray(e))return this.attr(n,e);let t=[...this.attr(n)||[],e];return this.attr(n,t)}}(t,n,r):"object"===e?function(e,t,{key:n=t}){e.prototype[t]=function(e,t){if(0==arguments.length)return this.attr(n);if(1==arguments.length&&"string"!=typeof e)return this.attr(n,e);let r=this.attr(n)||{};return r[e]=1==arguments.length||t,this.attr(n,r)}}(t,n,r):"node"===e?function(e,t,{ctor:n}){e.prototype[t]=function(e){let r=this.append(n);return"mark"===t&&(r.type=e),r}}(t,n,r):"container"===e?function(e,t,{ctor:n}){e.prototype[t]=function(){return this.type=null,this.append(n)}}(t,n,r):"mix"===e&&function(e,t,n){e.prototype[t]=function(e){if(0==arguments.length)return this.attr(t);if(Array.isArray(e))return this.attr(t,{items:e});if(rs(e)&&(void 0!==e.title||void 0!==e.items)||null===e||!1===e)return this.attr(t,e);let n=this.attr(t)||{},{items:r=[]}=n;return r.push(e),n.items=r,this.attr(t,n)}}(t,n,0)}return t}}function sA(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,{type:"node",ctor:t}]))}let sO={encode:{type:"object"},scale:{type:"object"},data:{type:"value"},transform:{type:"array"},style:{type:"object"},animate:{type:"object"},coordinate:{type:"object"},interaction:{type:"object"},label:{type:"array",key:"labels"},axis:{type:"object"},legend:{type:"object"},slider:{type:"object"},scrollbar:{type:"object"},state:{type:"object"},layout:{type:"object"},theme:{type:"object"},title:{type:"value"}},s_=Object.assign(Object.assign({},sO),{tooltip:{type:"mix"},viewStyle:{type:"object"}}),sk=Object.assign(Object.assign({},sO),{labelTransform:{type:"array"}}),sI=class extends sg{changeData(e){var t;let n=this.getRoot();if(n)return this.attr("data",e),(null===(t=this.children)||void 0===t?void 0:t.length)&&this.children.forEach(t=>{t.attr("data",e)}),null==n?void 0:n.render()}getView(){let e=this.getRoot(),{views:t}=e.getContext();if(null==t?void 0:t.length)return t.find(e=>e.key===this._key)}getScale(){var e;return null===(e=this.getView())||void 0===e?void 0:e.scale}getScaleByChannel(e){let t=this.getScale();if(t)return t[e]}getCoordinate(){var e;return null===(e=this.getView())||void 0===e?void 0:e.coordinate}getTheme(){var e;return null===(e=this.getView())||void 0===e?void 0:e.theme}getGroup(){let e=this._key;if(!e)return;let t=this.getRoot(),n=t.getContext().canvas.getRoot();return n.getElementById(e)}show(){let e=this.getGroup();e&&(e.isVisible()||iO(e))}hide(){let e=this.getGroup();e&&e.isVisible()&&iA(e)}};sI=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}([sS(sk)],sI);let sC=class extends sg{changeData(e){let t=this.getRoot();if(t)return this.attr("data",e),null==t?void 0:t.render()}getMark(){var e;let t=null===(e=this.getRoot())||void 0===e?void 0:e.getView();if(!t)return;let{markState:n}=t,r=Array.from(n.keys()).find(e=>e.key===this.attr("key"));return n.get(r)}getScale(){var e;let t=null===(e=this.getRoot())||void 0===e?void 0:e.getView();if(t)return null==t?void 0:t.scale}getScaleByChannel(e){var t,n;let r=null===(t=this.getRoot())||void 0===t?void 0:t.getView();if(r)return null===(n=null==r?void 0:r.scale)||void 0===n?void 0:n[e]}getGroup(){let e=this.attr("key");if(!e)return;let t=this.getRoot(),n=t.getContext().canvas.getRoot();return n.getElementById(e)}};sC=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}([sS(s_)],sC);var sN=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},sx=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},sw=n(23413),sR=n(53032),sL=n(8080),sD=n(36849),sP=n(70569),sM=n(76714);function sF(e,t){for(var n in t)t.hasOwnProperty(n)&&"constructor"!==n&&void 0!==t[n]&&(e[n]=t[n])}var sB=n(7745),sj=n(72349);let sU={field:"value",size:[1,1],round:!1,padding:0,sort:(e,t)=>t.value-e.value,as:["x","y"],ignoreParentValue:!0},sH="childNodeCount",sG="Invalid field: it must be a string!";var 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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let sz="sunburst",sZ="markType",sW="path",sY="ancestor-node",sV={id:sz,encode:{x:"x",y:"y",key:sW,color:sY,value:"value"},axis:{x:!1,y:!1},style:{[sZ]:sz,stroke:"#fff",lineWidth:.5,fillOpacity:"fillOpacity",[sH]:sH,depth:"depth"},state:{active:{zIndex:2,stroke:"#000"},inactive:{zIndex:1,stroke:"#fff"}},legend:!1,interaction:{drillDown:!0},coordinate:{type:"polar",innerRadius:.2}},sq=e=>{let{encode:t,data:n=[],legend:r}=e,a=s$(e,["encode","data","legend"]),i=Object.assign(Object.assign({},a.coordinate),{innerRadius:Math.max((0,sR.Z)(a,["coordinate","innerRadius"],.2),1e-5)}),o=Object.assign(Object.assign({},sV.encode),t),{value:s}=o,l=function(e){let{data:t,encode:n}=e,{color:r,value:a}=n,i=function(e,t){var n,r,a;let i;n={},r=t,sU&&sF(n,sU),r&&sF(n,r),a&&sF(n,a),t=n;let o=t.as;if(!(0,rp.Z)(o)||2!==o.length)throw TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{i=function(e,t){let{field:n,fields:r}=e;if((0,sM.Z)(n))return n;if((0,rp.Z)(n))return console.warn(sG),n[0];if(console.warn("".concat(sG," will try to get fields instead.")),(0,sM.Z)(r))return r;if((0,rp.Z)(r)&&r.length)return r[0];if(t)return t;throw TypeError(sG)}(t)}catch(e){console.warn(e)}let s=(function(){var e=1,t=1,n=0,r=!1;function a(a){var i,o=a.height+1;return a.x0=a.y0=n,a.x1=e,a.y1=t/o,a.eachBefore((i=t,function(e){e.children&&(0,sD.Z)(e,e.x0,i*(e.depth+1)/o,e.x1,i*(e.depth+2)/o);var t=e.x0,r=e.y0,a=e.x1-n,s=e.y1-n;a(0,sB.Z)(e.children)?t.ignoreParentValue?0:e[i]-(0,sj.Z)(e.children,(e,t)=>e+t[i],0):e[i]).sort(t.sort)),l=o[0],c=o[1];return s.each(e=>{var t,n;e[l]=[e.x0,e.x1,e.x1,e.x0],e[c]=[e.y1,e.y1,e.y0,e.y0],e.name=e.name||(null===(t=e.data)||void 0===t?void 0:t.name)||(null===(n=e.data)||void 0===n?void 0:n.label),e.data.name=e.name,["x0","x1","y0","y1"].forEach(t=>{-1===o.indexOf(t)&&delete e[t]})}),function(e){let t=[];if(e&&e.each){let n,r;e.each(e=>{var a,i;e.parent!==n?(n=e.parent,r=0):r+=1;let o=(0,ie.Z)(((null===(a=e.ancestors)||void 0===a?void 0:a.call(e))||[]).map(e=>t.find(t=>t.name===e.name)||e),t=>{let{depth:n}=t;return n>0&&n{t.push(e)});return t}(s)}(t,{field:a,type:"hierarchy.".concat("partition"),as:["x","y"]}),o=[];return i.forEach(e=>{var t,n,i,s;if(0===e.depth)return null;let l=e.data.name,c=[l],u=Object.assign({},e);for(;u.depth>1;)l="".concat(null===(t=u.parent.data)||void 0===t?void 0:t.name," / ").concat(l),c.unshift(null===(n=u.parent.data)||void 0===n?void 0:n.name),u=u.parent;let d=Object.assign(Object.assign(Object.assign({},(0,sw.Z)(e.data,[a])),{[sW]:l,[sY]:u.data.name}),e);r&&r!==sY&&(d[r]=e.data[r]||(null===(s=null===(i=e.parent)||void 0===i?void 0:i.data)||void 0===s?void 0:s[r])),o.push(d)}),o.map(e=>{let t=e.x.slice(0,2),n=[e.y[2],e.y[0]];return t[0]===t[1]&&(n[0]=n[1]=(e.y[2]+e.y[0])/2),Object.assign(Object.assign({},e),{x:t,y:n,fillOpacity:Math.pow(.85,e.depth)})})}({encode:o,data:n});return console.log(l,"rectData"),[(0,n3.Z)({},sV,Object.assign(Object.assign({type:"rect",data:l,encode:o,tooltip:{title:"path",items:[e=>({name:s,value:e[s]})]}},a),{coordinate:i}))]};sq.props={};var sK=n(38523),sX=n(50368);let sQ=e=>e.querySelectorAll(".element").filter(e=>(0,sR.Z)(e,["style",sZ])===sz),sJ={rootText:"root",style:{fill:"rgba(0, 0, 0, 0.85)",fontSize:12,y:1},active:{fill:"rgba(0, 0, 0, 0.5)"}},s0=()=>[["cartesian"]];s0.props={};let s1=()=>[["transpose"],["translate",.5,.5],["reflect.x"],["translate",-.5,-.5]];s1.props={transform:!0};let s2=(e={})=>Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),e),s3=e=>{let{startAngle:t,endAngle:n,innerRadius:r,outerRadius:a}=s2(e);return[...s1(),...rA({startAngle:t,endAngle:n,innerRadius:r,outerRadius:a})]};s3.props={};let s4=()=>[["parallel",0,1,0,1]];s4.props={};let s5=({focusX:e=0,focusY:t=0,distortionX:n=2,distortionY:r=2,visual:a=!1})=>[["fisheye",e,t,n,r,a]];s5.props={transform:!0};let s6=e=>{let{startAngle:t=-Math.PI/2,endAngle:n=3*Math.PI/2,innerRadius:r=0,outerRadius:a=1}=e;return[...s4(),...rA({startAngle:t,endAngle:n,innerRadius:r,outerRadius:a})]};s6.props={};let s9=({value:e})=>t=>t.map(()=>e);s9.props={};let s8=({value:e})=>t=>t.map(t=>t[e]);s8.props={};let s7=({value:e})=>t=>t.map(e);s7.props={};let le=({value:e})=>()=>e;function lt(e,t){if(null!==e)return{type:"column",value:e,field:t}}function ln(e,t){let n=lt(e,t);return Object.assign(Object.assign({},n),{inferred:!0})}function lr(e,t){if(null!==e)return{type:"column",value:e,field:t,visual:!0}}function la(e,t){let n=[];for(let r of e)n[r]=t;return n}function li(e,t){let n=e[t];if(!n)return[null,null];let{value:r,field:a=null}=n;return[r,a]}function lo(e,...t){for(let n of t){if("string"!=typeof n)return[n,null];{let[t,r]=li(e,n);if(null!==t)return[t,r]}}return[null,null]}function ls(e){return!(e instanceof Date)&&"object"==typeof e}le.props={};let ll=()=>(e,t)=>{let{encode:n}=t,{y1:r}=n;return void 0!==r?[e,t]:[e,(0,n3.Z)({},t,{encode:{y1:ln(la(e,0))}})]};ll.props={};let lc=()=>(e,t)=>{let{encode:n}=t,{x:r}=n;return void 0!==r?[e,t]:[e,(0,n3.Z)({},t,{encode:{x:ln(la(e,0))},scale:{x:{guide:null}}})]};lc.props={};let lu=(e,t)=>iT(Object.assign({colorAttribute:"fill"},e),t);lu.props=Object.assign(Object.assign({},iT.props),{defaultMarker:"square"});let ld=(e,t)=>iT(Object.assign({colorAttribute:"stroke"},e),t);ld.props=Object.assign(Object.assign({},iT.props),{defaultMarker:"hollowSquare"});var lp=n(57481),lf=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function lm(e,t,n){let[r,a,i,o]=e;if(rx(n)){let e=[t?t[0][0]:a[0],a[1]],n=[t?t[3][0]:i[0],i[1]];return[r,e,n,o]}let s=[a[0],t?t[0][1]:a[1]],l=[i[0],t?t[3][1]:i[1]];return[r,s,l,o]}let lg=(e,t)=>{let{adjustPoints:n=lm}=e,r=lf(e,["adjustPoints"]),{coordinate:a,document:i}=t;return(e,t,o,s)=>{let{index:l}=t,{color:c}=o,u=lf(o,["color"]),d=s[l+1],p=n(e,d,a),f=!!rx(a),[m,g,h,b]=f?aC(p):p,{color:y=c,opacity:E}=t,T=(0,aP.Z)().curve(lp.Z)([m,g,h,b]);return rc(i.createElement("path",{})).call(a_,u).style("d",T).style("fill",y).style("fillOpacity",E).call(a_,r).node()}};function lh(e,t,n){let[r,a,i,o]=e;if(rx(n)){let e=[t?t[0][0]:(a[0]+i[0])/2,a[1]],n=[t?t[3][0]:(a[0]+i[0])/2,i[1]];return[r,e,n,o]}let s=[a[0],t?t[0][1]:(a[1]+i[1])/2],l=[i[0],t?t[3][1]:(a[1]+i[1])/2];return[r,s,l,o]}lg.props={defaultMarker:"square"};let lb=(e,t)=>lg(Object.assign({adjustPoints:lh},e),t);function ly(e){return Math.abs(e)>10?String(e):e.toString().padStart(2,"0")}lb.props={defaultMarker:"square"};let lE=(e={})=>{let{channel:t="x"}=e;return(e,n)=>{let{encode:r}=n,{tooltip:a}=n;if(rl(a))return[e,n];let{title:i}=a;if(void 0!==i)return[e,n];let o=Object.keys(r).filter(e=>e.startsWith(t)).filter(e=>!r[e].inferred).map(e=>li(r,e)).filter(([e])=>e).map(e=>e[0]);if(0===o.length)return[e,n];let s=[];for(let t of e)s[t]={value:o.map(e=>e[t]instanceof Date?function(e){let t=e.getFullYear(),n=ly(e.getMonth()+1),r=ly(e.getDate()),a=`${t}-${n}-${r}`,i=e.getHours(),o=e.getMinutes(),s=e.getSeconds();return i||o||s?`${a} ${ly(i)}:${ly(o)}:${ly(s)}`:a}(e[t]):e[t]).join(", ")};return[e,(0,n3.Z)({},n,{tooltip:{title:s}})]}};lE.props={};let lT=e=>{let{channel:t}=e;return(e,n)=>{let{encode:r,tooltip:a}=n;if(rl(a))return[e,n];let{items:i=[]}=a;if(!i||i.length>0)return[e,n];let o=Array.isArray(t)?t:[t],s=o.flatMap(e=>Object.keys(r).filter(t=>t.startsWith(e)).map(e=>{let{field:t,value:n,inferred:a=!1,aggregate:i}=r[e];return a?null:i&&n?{channel:e}:t?{field:t}:n?{channel:e}:null}).filter(e=>null!==e));return[e,(0,n3.Z)({},n,{tooltip:{items:s}})]}};lT.props={};var lv=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let lS=()=>(e,t)=>{let{encode:n}=t,{key:r}=n,a=lv(n,["key"]);if(void 0!==r)return[e,t];let i=Object.values(a).map(({value:e})=>e),o=e.map(e=>i.filter(Array.isArray).map(t=>t[e]).join("-"));return[e,(0,n3.Z)({},t,{encode:{key:lt(o)}})]};function lA(e={}){let{shapes:t}=e;return[{name:"color"},{name:"opacity"},{name:"shape",range:t},{name:"enterType"},{name:"enterDelay",scaleKey:"enter"},{name:"enterDuration",scaleKey:"enter"},{name:"enterEasing"},{name:"key",scale:"identity"},{name:"groupKey",scale:"identity"},{name:"label",scale:"identity"}]}function lO(e={}){return[...lA(e),{name:"title",scale:"identity"}]}function l_(){return[{type:lE,channel:"color"},{type:lT,channel:["x","y"]}]}function lk(){return[{type:lE,channel:"x"},{type:lT,channel:["y"]}]}function lI(e={}){return lA(e)}function lC(){return[{type:lS}]}function lN(e,t){return e.getBandWidth(e.invert(t))}function lx(e,t,n={}){let{x:r,y:a,series:i}=t,{x:o,y:s,series:l}=e,{style:{bandOffset:c=l?0:.5,bandOffsetX:u=c,bandOffsetY:d=c}={}}=n,p=!!(null==o?void 0:o.getBandWidth),f=!!(null==s?void 0:s.getBandWidth),m=!!(null==l?void 0:l.getBandWidth);return p||f?(e,t)=>{let n=p?lN(o,r[t]):0,c=f?lN(s,a[t]):0,g=m&&i?(lN(l,i[t])/2+ +i[t])*n:0,[h,b]=e;return[h+u*n+g,b+d*c]}:e=>e}function lw(e){return parseFloat(e)/100}function lR(e,t,n,r){let{x:a,y:i}=n,{innerWidth:o,innerHeight:s}=r.getOptions(),l=Array.from(e,e=>{let t=a[e],n=i[e],r="string"==typeof t?lw(t)*o:+t,l="string"==typeof n?lw(n)*s:+n;return[[r,l]]});return[e,l]}function lL(e){return"function"==typeof e?e:t=>t[e]}function lD(e,t){return Array.from(e,lL(t))}function lP(e,t){let{source:n=e=>e.source,target:r=e=>e.target,value:a=e=>e.value}=t,{links:i,nodes:o}=e,s=lD(i,n),l=lD(i,r),c=lD(i,a);return{links:i.map((e,t)=>({target:l[t],source:s[t],value:c[t]})),nodes:o||Array.from(new Set([...s,...l]),e=>({key:e}))}}function lM(e,t){return e.getBandWidth(e.invert(t))}lS.props={};let lF={rect:lu,hollow:ld,funnel:lg,pyramid:lb},lB=()=>(e,t,n,r)=>{let{x:a,y:i,y1:o,series:s,size:l}=n,c=t.x,u=t.series,[d]=r.getSize(),p=l?l.map(e=>+e/d):null,f=l?(e,t,n)=>{let r=e+t/2,a=p[n];return[r-a/2,r+a/2]}:(e,t,n)=>[e,e+t],m=Array.from(e,e=>{let t=lM(c,a[e]),n=u?lM(u,null==s?void 0:s[e]):1,l=(+(null==s?void 0:s[e])||0)*t,d=+a[e]+l,[p,m]=f(d,t*n,e),g=+i[e],h=+o[e];return[[p,g],[m,g],[m,h],[p,h]].map(e=>r.map(e))});return[e,m]};lB.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:lF,channels:[...lO({shapes:Object.keys(lF)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size"}],preInference:[...lC(),{type:ll},{type:lc}],postInference:[...lk()],interaction:{shareTooltip:!0}};let lj={rect:lu,hollow:ld},lU=()=>(e,t,n,r)=>{let{x:a,x1:i,y:o,y1:s}=n,l=Array.from(e,e=>{let t=[+a[e],+o[e]],n=[+i[e],+o[e]],l=[+i[e],+s[e]],c=[+a[e],+s[e]];return[t,n,l,c].map(e=>r.map(e))});return[e,l]};lU.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:lj,channels:[...lO({shapes:Object.keys(lj)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...lC(),{type:ll}],postInference:[...lk()],interaction:{shareTooltip:!0}};var lH=n(18143),lG=n(73671),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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let lz=aM(e=>{let{d1:t,d2:n,style1:r,style2:a}=e.attributes,i=e.ownerDocument;rc(e).maybeAppend("line",()=>i.createElement("path",{})).style("d",t).call(a_,r),rc(e).maybeAppend("line1",()=>i.createElement("path",{})).style("d",n).call(a_,a)}),lZ=(e,t)=>{let{curve:n,gradient:r=!1,gradientColor:a="between",defined:i=e=>!Number.isNaN(e)&&null!=e,connect:o=!1}=e,s=l$(e,["curve","gradient","gradientColor","defined","connect"]),{coordinate:l,document:c}=t;return(e,t,u)=>{let d;let{color:p,lineWidth:f}=u,m=l$(u,["color","lineWidth"]),{color:g=p,size:h=f,seriesColor:b,seriesX:y,seriesY:E}=t,T=aw(l,t),v=rx(l),S=r&&b?aI(b,y,E,r,a,v):g,A=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},m),S&&{stroke:S}),h&&{lineWidth:h}),T&&{transform:T}),s);if(rw(l)){let e=l.getCenter();d=t=>(0,lG.Z)().angle((n,r)=>av(ay(t[r],e))).radius((n,r)=>aE(t[r],e)).defined(([e,t])=>i(e)&&i(t)).curve(n)(t)}else d=(0,aP.Z)().x(e=>e[0]).y(e=>e[1]).defined(([e,t])=>i(e)&&i(t)).curve(n);let[O,_]=function(e,t){let n=[],r=[],a=!1,i=null;for(let o of e)t(o[0])&&t(o[1])?(n.push(o),a&&(a=!1,r.push([i,o])),i=o):a=!0;return[n,r]}(e,i),k=rr(A,"connect"),I=!!_.length;return I&&(!o||Object.keys(k).length)?I&&!o?rc(c.createElement("path",{})).style("d",d(e)).call(a_,A).node():rc(new lz).style("style1",Object.assign(Object.assign({},A),k)).style("style2",A).style("d1",_.map(d).join(",")).style("d2",d(e)).node():rc(c.createElement("path",{})).style("d",d(O)||[]).call(a_,A).node()}};lZ.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let lW=(e,t)=>{let{coordinate:n}=t;return(...r)=>{let a=rw(n)?lp.Z:lH.Z;return lZ(Object.assign({curve:a},e),t)(...r)}};lW.props=Object.assign(Object.assign({},lZ.props),{defaultMarker:"line"});var lY=n(43683),lV=n(65165),lq=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let lK=(e,t)=>{let n=lq(e,[]),{coordinate:r}=t;return(...e)=>{let a=rw(r)?lY.Z:rx(r)?lV.s:lV.Z;return lZ(Object.assign({curve:a},n),t)(...e)}};lK.props=Object.assign(Object.assign({},lZ.props),{defaultMarker:"smooth"});var lX=n(77059);let lQ=(e,t)=>lZ(Object.assign({curve:lX.cD},e),t);lQ.props=Object.assign(Object.assign({},lZ.props),{defaultMarker:"hv"});let lJ=(e,t)=>lZ(Object.assign({curve:lX.RN},e),t);lJ.props=Object.assign(Object.assign({},lZ.props),{defaultMarker:"vh"});let l0=(e,t)=>lZ(Object.assign({curve:lX.ZP},e),t);l0.props=Object.assign(Object.assign({},lZ.props),{defaultMarker:"hvh"});var l1=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let l2=(e,t)=>{let{document:n}=t;return(t,r,a)=>{let{seriesSize:i,color:o}=r,{color:s}=a,l=l1(a,["color"]),c=(0,a7.Z)();for(let e=0;e(e,t)=>{let{style:n={},encode:r}=t,{series:a}=r,{gradient:i}=n;return!i||a?[e,t]:[e,(0,n3.Z)({},t,{encode:{series:lr(la(e,void 0))}})]};l3.props={};let l4=()=>(e,t)=>{let{encode:n}=t,{series:r,color:a}=n;if(void 0!==r||void 0===a)return[e,t];let[i,o]=li(n,"color");return[e,(0,n3.Z)({},t,{encode:{series:lt(i,o)}})]};l4.props={};let l5={line:lW,smooth:lK,hv:lQ,vh:lJ,hvh:l0,trail:l2},l6=(e,t,n,r)=>{var a,i;let{series:o,x:s,y:l}=n,{x:c,y:u}=t;if(void 0===s||void 0===l)throw Error("Missing encode for x or y channel.");let d=o?Array.from((0,n4.ZP)(e,e=>o[e]).values()):[e],p=d.map(e=>e[0]).filter(e=>void 0!==e),f=((null===(a=null==c?void 0:c.getBandWidth)||void 0===a?void 0:a.call(c))||0)/2,m=((null===(i=null==u?void 0:u.getBandWidth)||void 0===i?void 0:i.call(u))||0)/2,g=Array.from(d,e=>e.map(e=>r.map([+s[e]+f,+l[e]+m])));return[p,g,d]},l9=(e,t,n,r)=>{let a=Object.entries(n).filter(([e])=>e.startsWith("position")).map(([,e])=>e);if(0===a.length)throw Error("Missing encode for position channel.");let i=Array.from(e,e=>{let t=a.map(t=>+t[e]),n=r.map(t),i=[];for(let e=0;e(e,t,n,r)=>{let a=rD(r)?l9:l6;return a(e,t,n,r)};l8.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:l5,channels:[...lO({shapes:Object.keys(l5)}),{name:"x"},{name:"y"},{name:"position",independent:!0},{name:"size"},{name:"series",scale:"band"}],preInference:[...lC(),{type:l3},{type:l4}],postInference:[...lk(),{type:lE,channel:"color"},{type:lT,channel:["position"]}],interaction:{shareTooltip:!0,seriesTooltip:!0,crosshairs:!0}};var l7=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function ce(e,t,n,r){if(1===t.length)return;let{size:a}=n;if("fixed"===e)return a;if("normal"===e||rP(r)){let[[e,n],[r,a]]=t;return Math.max(0,(Math.abs((r-e)/2)+Math.abs((a-n)/2))/2)}return a}let ct=(e,t)=>{let{colorAttribute:n,symbol:r,mode:a="auto"}=e,i=l7(e,["colorAttribute","symbol","mode"]),o=nX.get(r)||nX.get("point"),{coordinate:s,document:l}=t;return(t,r,c)=>{let{lineWidth:u,color:d}=c,p=i.stroke?u||1:u,{color:f=d,transform:m,opacity:g}=r,[h,b]=aR(t),y=ce(a,t,r,s),E=y||i.r||c.r;return rc(l.createElement("path",{})).call(a_,c).style("fill","transparent").style("d",o(h,b,E)).style("lineWidth",p).style("transform",m).style("transformOrigin",`${h-E} ${b-E}`).style("stroke",f).style(ax(e),g).style(n,f).call(a_,i).node()}};ct.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let cn=(e,t)=>ct(Object.assign({colorAttribute:"stroke",symbol:"point"},e),t);cn.props=Object.assign({defaultMarker:"hollowPoint"},ct.props);let cr=(e,t)=>ct(Object.assign({colorAttribute:"stroke",symbol:"diamond"},e),t);cr.props=Object.assign({defaultMarker:"hollowDiamond"},ct.props);let ca=(e,t)=>ct(Object.assign({colorAttribute:"stroke",symbol:"hexagon"},e),t);ca.props=Object.assign({defaultMarker:"hollowHexagon"},ct.props);let ci=(e,t)=>ct(Object.assign({colorAttribute:"stroke",symbol:"square"},e),t);ci.props=Object.assign({defaultMarker:"hollowSquare"},ct.props);let co=(e,t)=>ct(Object.assign({colorAttribute:"stroke",symbol:"triangle-down"},e),t);co.props=Object.assign({defaultMarker:"hollowTriangleDown"},ct.props);let cs=(e,t)=>ct(Object.assign({colorAttribute:"stroke",symbol:"triangle"},e),t);cs.props=Object.assign({defaultMarker:"hollowTriangle"},ct.props);let cl=(e,t)=>ct(Object.assign({colorAttribute:"stroke",symbol:"bowtie"},e),t);cl.props=Object.assign({defaultMarker:"hollowBowtie"},ct.props);var cc=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let cu=(e,t)=>{let{colorAttribute:n,mode:r="auto"}=e,a=cc(e,["colorAttribute","mode"]),{coordinate:i,document:o}=t;return(t,s,l)=>{let{lineWidth:c,color:u}=l,d=a.stroke?c||1:c,{color:p=u,transform:f,opacity:m}=s,[g,h]=aR(t),b=ce(r,t,s,i),y=b||a.r||l.r;return rc(o.createElement("circle",{})).call(a_,l).style("fill","transparent").style("cx",g).style("cy",h).style("r",y).style("lineWidth",d).style("transform",f).style("transformOrigin",`${g} ${h}`).style("stroke",p).style(ax(e),m).style(n,p).call(a_,a).node()}},cd=(e,t)=>cu(Object.assign({colorAttribute:"fill"},e),t);cd.props={defaultMarker:"circle",defaultEnterAnimation:"fadeIn",defaultExitAnimation:"fadeOut"};let cp=(e,t)=>cu(Object.assign({colorAttribute:"stroke"},e),t);cp.props=Object.assign({defaultMarker:"hollowPoint"},cd.props);let cf=(e,t)=>ct(Object.assign({colorAttribute:"fill",symbol:"point"},e),t);cf.props=Object.assign({defaultMarker:"point"},ct.props);let cm=(e,t)=>ct(Object.assign({colorAttribute:"stroke",symbol:"plus"},e),t);cm.props=Object.assign({defaultMarker:"plus"},ct.props);let cg=(e,t)=>ct(Object.assign({colorAttribute:"fill",symbol:"diamond"},e),t);cg.props=Object.assign({defaultMarker:"diamond"},ct.props);let ch=(e,t)=>ct(Object.assign({colorAttribute:"fill",symbol:"square"},e),t);ch.props=Object.assign({defaultMarker:"square"},ct.props);let cb=(e,t)=>ct(Object.assign({colorAttribute:"fill",symbol:"triangle"},e),t);cb.props=Object.assign({defaultMarker:"triangle"},ct.props);let cy=(e,t)=>ct(Object.assign({colorAttribute:"fill",symbol:"hexagon"},e),t);cy.props=Object.assign({defaultMarker:"hexagon"},ct.props);let cE=(e,t)=>ct(Object.assign({colorAttribute:"stroke",symbol:"cross"},e),t);cE.props=Object.assign({defaultMarker:"cross"},ct.props);let cT=(e,t)=>ct(Object.assign({colorAttribute:"fill",symbol:"bowtie"},e),t);cT.props=Object.assign({defaultMarker:"bowtie"},ct.props);let cv=(e,t)=>ct(Object.assign({colorAttribute:"stroke",symbol:"hyphen"},e),t);cv.props=Object.assign({defaultMarker:"hyphen"},ct.props);let cS=(e,t)=>ct(Object.assign({colorAttribute:"stroke",symbol:"line"},e),t);cS.props=Object.assign({defaultMarker:"line"},ct.props);let cA=(e,t)=>ct(Object.assign({colorAttribute:"stroke",symbol:"tick"},e),t);cA.props=Object.assign({defaultMarker:"tick"},ct.props);let cO=(e,t)=>ct(Object.assign({colorAttribute:"fill",symbol:"triangle-down"},e),t);cO.props=Object.assign({defaultMarker:"triangleDown"},ct.props);let c_=()=>(e,t)=>{let{encode:n}=t,{y:r}=n;return void 0!==r?[e,t]:[e,(0,n3.Z)({},t,{encode:{y:ln(la(e,0))},scale:{y:{guide:null}}})]};c_.props={};let ck=()=>(e,t)=>{let{encode:n}=t,{size:r}=n;return void 0!==r?[e,t]:[e,(0,n3.Z)({},t,{encode:{size:lr(la(e,3))}})]};ck.props={};let cI={hollow:cn,hollowDiamond:cr,hollowHexagon:ca,hollowSquare:ci,hollowTriangleDown:co,hollowTriangle:cs,hollowBowtie:cl,hollowCircle:cp,point:cf,plus:cm,diamond:cg,square:ch,triangle:cb,hexagon:cy,cross:cE,bowtie:cT,hyphen:cv,line:cS,tick:cA,triangleDown:cO,circle:cd},cC=e=>(t,n,r,a)=>{let{x:i,y:o,x1:s,y1:l,size:c,dx:u,dy:d}=r,[p,f]=a.getSize(),m=lx(n,r,e),g=e=>{let t=+((null==u?void 0:u[e])||0),n=+((null==d?void 0:d[e])||0),r=s?(+i[e]+ +s[e])/2:+i[e],a=l?(+o[e]+ +l[e])/2:+o[e];return[r+t,a+n]},h=c?Array.from(t,e=>{let[t,n]=g(e),r=+c[e],i=r/p,o=r/f;return[a.map(m([t-i,n-o],e)),a.map(m([t+i,n+o],e))]}):Array.from(t,e=>[a.map(m(g(e),e))]);return[t,h]};cC.props={defaultShape:"hollow",defaultLabelShape:"label",composite:!1,shape:cI,channels:[...lO({shapes:Object.keys(cI)}),{name:"x",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size",quantitative:"sqrt"},{name:"dx",scale:"identity"},{name:"dy",scale:"identity"}],preInference:[...lC(),{type:lc},{type:c_}],postInference:[{type:ck},...l_()]};let cN=(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let{color:i,text:o="",fontSize:s,rotate:l=0,transform:c=""}=r,u={text:String(o),stroke:i,fill:i,fontSize:s},[[d,p]]=t;return rc(new aB).style("x",d).style("y",p).call(a_,a).style("transform",`${c}rotate(${+l})`).style("coordCenter",n.getCenter()).call(a_,u).call(a_,e).node()}};cN.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var cx=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let cw=aM(e=>{let t=e.attributes,{class:n,x:r,y:a,transform:i}=t,o=cx(t,["class","x","y","transform"]),s=rr(o,"marker"),{size:l=24}=s,c=()=>(function(e){let t=e/Math.sqrt(2),n=e*Math.sqrt(2),[r,a]=[-t,t-n],[i,o]=[0,0],[s,l]=[t,t-n];return[["M",r,a],["A",e,e,0,1,1,s,l],["L",i,o],["Z"]]})(l/2),u=rc(e).maybeAppend("marker",()=>new aD.J({})).call(e=>e.node().update(Object.assign({symbol:c},s))).node(),[d,p]=function(e){let{min:t,max:n}=e.getLocalBounds();return[(t[0]+n[0])*.5,(t[1]+n[1])*.5]}(u);rc(e).maybeAppend("text","text").style("x",d).style("y",p).call(a_,o)}),cR=(e,t)=>{let n=cx(e,[]);return(e,t,r)=>{let{color:a}=r,i=cx(r,["color"]),{color:o=a,text:s=""}=t,l={text:String(s),stroke:o,fill:o},[[c,u]]=e;return rc(new cw).call(a_,i).style("transform",`translate(${c},${u})`).call(a_,l).call(a_,n).node()}};cR.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let cL=(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let{color:i,text:o="",fontSize:s,rotate:l=0,transform:c=""}=r,u={text:String(o),stroke:i,fill:i,fontSize:s,textAlign:"center",textBaseline:"middle"},[[d,p]]=t,f=rc(new nS.xv).style("x",d).style("y",p).call(a_,a).style("transformOrigin","center center").style("transform",`${c}rotate(${l}deg)`).style("coordCenter",n.getCenter()).call(a_,u).call(a_,e).node();return f}};cL.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let cD=()=>(e,t)=>{let{data:n}=t;if(!Array.isArray(n)||n.some(ls))return[e,t];let r=Array.isArray(n[0])?n:[n],a=r.map(e=>e[0]),i=r.map(e=>e[1]);return[e,(0,n3.Z)({},t,{encode:{x:lt(a),y:lt(i)}})]};cD.props={};var cP=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let cM=()=>(e,t)=>{let{data:n,style:r={}}=t,a=cP(t,["data","style"]),{x:i,y:o}=r,s=cP(r,["x","y"]);if(void 0==i||void 0==o)return[e,t];let l=i||0,c=o||0;return[[0],(0,n3.Z)({},a,{data:[0],cartesian:!0,encode:{x:lt([l]),y:lt([c])},scale:{x:{type:"identity",independent:!0,guide:null},y:{type:"identity",independent:!0,guide:null}},style:s})]};cM.props={};let cF={text:cN,badge:cR,tag:cL},cB=e=>{let{cartesian:t=!1}=e;return t?lR:(t,n,r,a)=>{let{x:i,y:o}=r,s=lx(n,r,e),l=Array.from(t,e=>{let t=[+i[e],+o[e]];return[a.map(s(t,e))]});return[t,l]}};cB.props={defaultShape:"text",defaultLabelShape:"label",composite:!1,shape:cF,channels:[...lO({shapes:Object.keys(cF)}),{name:"x",required:!0},{name:"y",required:!0},{name:"text",scale:"identity"},{name:"fontSize",scale:"identity"},{name:"rotate",scale:"identity"}],preInference:[...lC(),{type:cD},{type:cM}],postInference:[...l_()]};let cj=()=>(e,t)=>[e,(0,n3.Z)({scale:{x:{padding:0},y:{padding:0}}},t)];cj.props={};let cU={cell:lu,hollow:ld},cH=()=>(e,t,n,r)=>{let{x:a,y:i}=n,o=t.x,s=t.y,l=Array.from(e,e=>{let t=o.getBandWidth(o.invert(+a[e])),n=s.getBandWidth(s.invert(+i[e])),l=+a[e],c=+i[e];return[[l,c],[l+t,c],[l+t,c+n],[l,c+n]].map(e=>r.map(e))});return[e,l]};cH.props={defaultShape:"cell",defaultLabelShape:"label",shape:cU,composite:!1,channels:[...lO({shapes:Object.keys(cU)}),{name:"x",required:!0,scale:"band"},{name:"y",required:!0,scale:"band"}],preInference:[...lC(),{type:lc},{type:c_},{type:cj}],postInference:[...l_()]};var cG=n(37633),c$=n(53253),cz=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let cZ=aM(e=>{let{areaPath:t,connectPath:n,areaStyle:r,connectStyle:a}=e.attributes,i=e.ownerDocument;rc(e).maybeAppend("connect-path",()=>i.createElement("path",{})).style("d",n).call(a_,a),rc(e).maybeAppend("area-path",()=>i.createElement("path",{})).style("d",t).call(a_,r)}),cW=(e,t)=>{let{curve:n,gradient:r=!1,defined:a=e=>!Number.isNaN(e)&&null!=e,connect:i=!1}=e,o=cz(e,["curve","gradient","defined","connect"]),{coordinate:s,document:l}=t;return(e,t,c)=>{let{color:u}=c,{color:d=u,seriesColor:p,seriesX:f,seriesY:m}=t,g=rx(s),h=aw(s,t),b=r&&p?aI(p,f,m,r,void 0,g):d,y=Object.assign(Object.assign(Object.assign(Object.assign({},c),{stroke:b,fill:b}),h&&{transform:h}),o),[E,T]=function(e,t){let n=[],r=[],a=[],i=!1,o=null,s=e.length/2;for(let l=0;l!t(e)))i=!0;else{if(n.push(c),r.push(u),i&&o){i=!1;let[e,t]=o;a.push([e,c,t,u])}o=[c,u]}}return[n.concat(r),a]}(e,a),v=rr(y,"connect"),S=!!T.length,A=e=>rc(l.createElement("path",{})).style("d",e||"").call(a_,y).node();if(rw(s)){let t=e=>{let t=s.getCenter(),r=e.slice(0,e.length/2),i=e.slice(e.length/2);return(0,c$.Z)().angle((e,n)=>av(ay(r[n],t))).outerRadius((e,n)=>aE(r[n],t)).innerRadius((e,n)=>aE(i[n],t)).defined((e,t)=>[...r[t],...i[t]].every(a)).curve(n)(i)};return S&&(!i||Object.keys(v).length)?S&&!i?A(t(e)):rc(new cZ).style("areaStyle",y).style("connectStyle",Object.assign(Object.assign({},v),o)).style("areaPath",t(e)).style("connectPath",T.map(t).join("")).node():A(t(E))}{let t=e=>{let t=e.slice(0,e.length/2),r=e.slice(e.length/2);return g?(0,cG.Z)().y((e,n)=>t[n][1]).x1((e,n)=>t[n][0]).x0((e,t)=>r[t][0]).defined((e,n)=>[...t[n],...r[n]].every(a)).curve(n)(t):(0,cG.Z)().x((e,n)=>t[n][0]).y1((e,n)=>t[n][1]).y0((e,t)=>r[t][1]).defined((e,n)=>[...t[n],...r[n]].every(a)).curve(n)(t)};return S&&(!i||Object.keys(v).length)?S&&!i?A(t(e)):rc(new cZ).style("areaStyle",y).style("connectStyle",Object.assign(Object.assign({},v),o)).style("areaPath",t(e)).style("connectPath",T.map(t).join("")).node():A(t(E))}}};cW.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let cY=(e,t)=>{let{coordinate:n}=t;return(...r)=>{let a=rw(n)?lp.Z:lH.Z;return cW(Object.assign({curve:a},e),t)(...r)}};cY.props=Object.assign(Object.assign({},cW.props),{defaultMarker:"square"});var cV=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let cq=(e,t)=>{let n=cV(e,[]),{coordinate:r}=t;return(...e)=>{let a=rw(r)?lY.Z:rx(r)?lV.s:lV.Z;return cW(Object.assign({curve:a},n),t)(...e)}};cq.props=Object.assign(Object.assign({},cW.props),{defaultMarker:"smooth"});let cK=(e,t)=>(...n)=>cW(Object.assign({curve:lX.ZP},e),t)(...n);cK.props=Object.assign(Object.assign({},cW.props),{defaultMarker:"hvh"});let cX=(e,t)=>(...n)=>cW(Object.assign({curve:lX.RN},e),t)(...n);cX.props=Object.assign(Object.assign({},cW.props),{defaultMarker:"vh"});let cQ=(e,t)=>(...n)=>cW(Object.assign({curve:lX.cD},e),t)(...n);cQ.props=Object.assign(Object.assign({},cW.props),{defaultMarker:"hv"});let cJ={area:cY,smooth:cq,hvh:cK,vh:cX,hv:cQ},c0=()=>(e,t,n,r)=>{var a,i;let{x:o,y:s,y1:l,series:c}=n,{x:u,y:d}=t,p=c?Array.from((0,n4.ZP)(e,e=>c[e]).values()):[e],f=p.map(e=>e[0]).filter(e=>void 0!==e),m=((null===(a=null==u?void 0:u.getBandWidth)||void 0===a?void 0:a.call(u))||0)/2,g=((null===(i=null==d?void 0:d.getBandWidth)||void 0===i?void 0:i.call(d))||0)/2,h=Array.from(p,e=>{let t=e.length,n=Array(2*t);for(let a=0;a(e,t)=>{let{encode:n}=t,{y1:r}=n;if(r)return[e,t];let[a]=li(n,"y");return[e,(0,n3.Z)({},t,{encode:{y1:lt([...a])}})]};c1.props={};let c2=()=>(e,t)=>{let{encode:n}=t,{x1:r}=n;if(r)return[e,t];let[a]=li(n,"x");return[e,(0,n3.Z)({},t,{encode:{x1:lt([...a])}})]};c2.props={};var c3=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let c4=(e,t)=>{let{arrow:n=!0,arrowSize:r="40%"}=e,a=c3(e,["arrow","arrowSize"]),{document:i}=t;return(e,t,o)=>{let{defaultColor:s}=o,l=c3(o,["defaultColor"]),{color:c=s,transform:u}=t,[d,p]=e,f=(0,a7.Z)();if(f.moveTo(...d),f.lineTo(...p),n){let[e,t]=function(e,t,n){let{arrowSize:r}=n,a="string"==typeof r?+parseFloat(r)/100*aE(e,t):r,i=Math.PI/6,o=Math.atan2(t[1]-e[1],t[0]-e[0]),s=Math.PI/2-o-i,l=[t[0]-a*Math.sin(s),t[1]-a*Math.cos(s)],c=o-i,u=[t[0]-a*Math.cos(c),t[1]-a*Math.sin(c)];return[l,u]}(d,p,{arrowSize:r});f.moveTo(...e),f.lineTo(...p),f.lineTo(...t)}return rc(i.createElement("path",{})).call(a_,l).style("d",f.toString()).style("stroke",c).style("transform",u).call(a_,a).node()}};c4.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let c5=(e,t)=>{let{arrow:n=!1}=e;return(...r)=>c4(Object.assign(Object.assign({},e),{arrow:n}),t)(...r)};c5.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var c6=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let c9=(e,t)=>{let n=c6(e,[]),{coordinate:r,document:a}=t;return(e,t,i)=>{let{color:o}=i,s=c6(i,["color"]),{color:l=o,transform:c}=t,[u,d]=e,p=(0,a7.Z)();if(p.moveTo(u[0],u[1]),rw(r)){let e=r.getCenter();p.quadraticCurveTo(e[0],e[1],d[0],d[1])}else{let e=aO(u,d),t=aE(u,d)/2;ak(p,u,d,e,t)}return rc(a.createElement("path",{})).call(a_,s).style("d",p.toString()).style("stroke",l).style("transform",c).call(a_,n).node()}};c9.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var c8=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let c7=(e,t)=>{let n=c8(e,[]),{document:r}=t;return(e,t,a)=>{let{color:i}=a,o=c8(a,["color"]),{color:s=i,transform:l}=t,[c,u]=e,d=(0,a7.Z)();return d.moveTo(c[0],c[1]),d.bezierCurveTo(c[0]/2+u[0]/2,c[1],c[0]/2+u[0]/2,u[1],u[0],u[1]),rc(r.createElement("path",{})).call(a_,o).style("d",d.toString()).style("stroke",s).style("transform",l).call(a_,n).node()}};c7.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var ue=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ut=(e,t)=>{let{cornerRatio:n=1/3}=e,r=ue(e,["cornerRatio"]),{coordinate:a,document:i}=t;return(e,t,o)=>{let{defaultColor:s}=o,l=ue(o,["defaultColor"]),{color:c=s,transform:u}=t,[d,p]=e,f=function(e,t,n,r){let a=(0,a7.Z)();if(rw(n)){let i=n.getCenter(),o=aE(e,i),s=aE(t,i),l=(s-o)*r+o;return a.moveTo(e[0],e[1]),ak(a,e,t,i,l),a.lineTo(t[0],t[1]),a}return rx(n)?(a.moveTo(e[0],e[1]),a.lineTo(e[0]+(t[0]-e[0])*r,e[1]),a.lineTo(e[0]+(t[0]-e[0])*r,t[1]),a.lineTo(t[0],t[1]),a):(a.moveTo(e[0],e[1]),a.lineTo(e[0],e[1]+(t[1]-e[1])*r),a.lineTo(t[0],e[1]+(t[1]-e[1])*r),a.lineTo(t[0],t[1]),a)}(d,p,a,n);return rc(i.createElement("path",{})).call(a_,l).style("d",f.toString()).style("stroke",c).style("transform",u).call(a_,r).node()}};ut.props={defaultMarker:"vhv",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let un={link:c5,arc:c9,smooth:c7,vhv:ut},ur=e=>(t,n,r,a)=>{let{x:i,y:o,x1:s=i,y1:l=o}=r,c=lx(n,r,e),u=t.map(e=>[a.map(c([+i[e],+o[e]],e)),a.map(c([+s[e],+l[e]],e))]);return[t,u]};ur.props={defaultShape:"link",defaultLabelShape:"label",composite:!1,shape:un,channels:[...lO({shapes:Object.keys(un)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...lC(),{type:c1},{type:c2}],postInference:[...l_()]};var ua=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ui=(e,t)=>{let{coordinate:n,document:r}=t;return(t,a,i)=>{let{color:o}=i,s=ua(i,["color"]),{color:l=o,src:c="",size:u=32,transform:d=""}=a,{width:p=u,height:f=u}=e,[[m,g]]=t,[h,b]=n.getSize();p="string"==typeof p?lw(p)*h:p,f="string"==typeof f?lw(f)*b:f;let y=m-Number(p)/2,E=g-Number(f)/2;return rc(r.createElement("image",{})).call(a_,s).style("x",y).style("y",E).style("src",c).style("stroke",l).style("transform",d).call(a_,e).style("width",p).style("height",f).node()}};ui.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uo={image:ui},us=e=>{let{cartesian:t}=e;return t?lR:(t,n,r,a)=>{let{x:i,y:o}=r,s=lx(n,r,e),l=Array.from(t,e=>{let t=[+i[e],+o[e]];return[a.map(s(t,e))]});return[t,l]}};us.props={defaultShape:"image",defaultLabelShape:"label",composite:!1,shape:uo,channels:[...lO({shapes:Object.keys(uo)}),{name:"x",required:!0},{name:"y",required:!0},{name:"src",scale:"identity"},{name:"size"}],preInference:[...lC(),{type:cD},{type:cM}],postInference:[...l_()]};var ul=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let uc=(e,t)=>{let{coordinate:n,document:r}=t;return(t,a,i)=>{let{color:o}=i,s=ul(i,["color"]),{color:l=o,transform:c}=a,u=function(e,t){let n=(0,a7.Z)();if(rw(t)){let r=t.getCenter(),a=[...e,e[0]],i=a.map(e=>aE(e,r));return a.forEach((t,a)=>{if(0===a){n.moveTo(t[0],t[1]);return}let o=i[a],s=e[a-1],l=i[a-1];void 0!==l&&1e-10>Math.abs(o-l)?ak(n,s,t,r,o):n.lineTo(t[0],t[1])}),n.closePath(),n}return e.forEach((e,t)=>0===t?n.moveTo(e[0],e[1]):n.lineTo(e[0],e[1])),n.closePath(),n}(t,n);return rc(r.createElement("path",{})).call(a_,s).style("d",u.toString()).style("stroke",l).style("fill",l).style("transform",c).call(a_,e).node()}};uc.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var uu=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ud=(e,t)=>{let n=uu(e,[]),{coordinate:r,document:a}=t;return(e,t,i)=>{let{color:o}=i,s=uu(i,["color"]),{color:l=o,transform:c}=t,u=function(e,t){let[n,r,a,i]=e,o=(0,a7.Z)();if(rw(t)){let e=t.getCenter(),s=aE(e,n);return o.moveTo(n[0],n[1]),o.quadraticCurveTo(e[0],e[1],a[0],a[1]),ak(o,a,i,e,s),o.quadraticCurveTo(e[0],e[1],r[0],r[1]),ak(o,r,n,e,s),o.closePath(),o}return o.moveTo(n[0],n[1]),o.bezierCurveTo(n[0]/2+a[0]/2,n[1],n[0]/2+a[0]/2,a[1],a[0],a[1]),o.lineTo(i[0],i[1]),o.bezierCurveTo(i[0]/2+r[0]/2,i[1],i[0]/2+r[0]/2,r[1],r[0],r[1]),o.lineTo(n[0],n[1]),o.closePath(),o}(e,r);return rc(a.createElement("path",{})).call(a_,s).style("d",u.toString()).style("fill",l||o).style("stroke",l||o).style("transform",c).call(a_,n).node()}};ud.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let up={polygon:uc,ribbon:ud},uf=()=>(e,t,n,r)=>{let a=Object.entries(n).filter(([e])=>e.startsWith("x")).map(([,e])=>e),i=Object.entries(n).filter(([e])=>e.startsWith("y")).map(([,e])=>e),o=e.map(e=>{let t=[];for(let n=0;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ug=(e,t)=>{let{coordinate:n,document:r}=t;return(t,a,i)=>{let{color:o,transform:s}=a,{color:l,fill:c=l,stroke:u=l}=i,d=um(i,["color","fill","stroke"]),p=function(e,t){let n=(0,a7.Z)();if(rw(t)){let r=t.getCenter(),[a,i]=r,o=aT(ay(e[0],r)),s=aT(ay(e[1],r)),l=aE(r,e[2]),c=aE(r,e[3]),u=aE(r,e[8]),d=aE(r,e[10]),p=aE(r,e[11]);n.moveTo(...e[0]),n.arc(a,i,l,o,s),n.arc(a,i,l,s,o,!0),n.moveTo(...e[2]),n.lineTo(...e[3]),n.moveTo(...e[4]),n.arc(a,i,c,o,s),n.lineTo(...e[6]),n.arc(a,i,d,s,o,!0),n.closePath(),n.moveTo(...e[8]),n.arc(a,i,u,o,s),n.arc(a,i,u,s,o,!0),n.moveTo(...e[10]),n.lineTo(...e[11]),n.moveTo(...e[12]),n.arc(a,i,p,o,s),n.arc(a,i,p,s,o,!0)}else n.moveTo(...e[0]),n.lineTo(...e[1]),n.moveTo(...e[2]),n.lineTo(...e[3]),n.moveTo(...e[4]),n.lineTo(...e[5]),n.lineTo(...e[6]),n.lineTo(...e[7]),n.closePath(),n.moveTo(...e[8]),n.lineTo(...e[9]),n.moveTo(...e[10]),n.lineTo(...e[11]),n.moveTo(...e[12]),n.lineTo(...e[13]);return n}(t,n);return rc(r.createElement("path",{})).call(a_,d).style("d",p.toString()).style("stroke",u).style("fill",o||c).style("transform",s).call(a_,e).node()}};ug.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var uh=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ub=(e,t)=>{let{coordinate:n,document:r}=t;return(t,a,i)=>{let{color:o,transform:s}=a,{color:l,fill:c=l,stroke:u=l}=i,d=uh(i,["color","fill","stroke"]),p=function(e,t,n=4){let r=(0,a7.Z)();if(!rw(t))return r.moveTo(...e[2]),r.lineTo(...e[3]),r.lineTo(e[3][0]-n,e[3][1]),r.lineTo(e[10][0]-n,e[10][1]),r.lineTo(e[10][0]+n,e[10][1]),r.lineTo(e[3][0]+n,e[3][1]),r.lineTo(...e[3]),r.closePath(),r.moveTo(...e[10]),r.lineTo(...e[11]),r.moveTo(e[3][0]+n/2,e[8][1]),r.arc(e[3][0],e[8][1],n/2,0,2*Math.PI),r.closePath(),r;let a=t.getCenter(),[i,o]=a,s=aE(a,e[3]),l=aE(a,e[8]),c=aE(a,e[10]),u=aT(ay(e[2],a)),d=Math.asin(n/l),p=u-d,f=u+d;r.moveTo(...e[2]),r.lineTo(...e[3]),r.moveTo(Math.cos(p)*s+i,Math.sin(p)*s+o),r.arc(i,o,s,p,f),r.lineTo(Math.cos(f)*c+i,Math.sin(f)*c+o),r.arc(i,o,c,f,p,!0),r.lineTo(Math.cos(p)*s+i,Math.sin(p)*s+o),r.closePath(),r.moveTo(...e[10]),r.lineTo(...e[11]);let m=(p+f)/2;return r.moveTo(Math.cos(m)*(l+n/2)+i,Math.sin(m)*(l+n/2)+o),r.arc(Math.cos(m)*l+i,Math.sin(m)*l+o,n/2,m,2*Math.PI+m),r.closePath(),r}(t,n,4);return rc(r.createElement("path",{})).call(a_,d).style("d",p.toString()).style("stroke",u).style("fill",o||c).style("transform",s).call(a_,e).node()}};ub.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uy={box:ug,violin:ub},uE=()=>(e,t,n,r)=>{let{x:a,y:i,y1:o,y2:s,y3:l,y4:c,series:u}=n,d=t.x,p=t.series,f=Array.from(e,e=>{let t=d.getBandWidth(d.invert(+a[e])),n=p?p.getBandWidth(p.invert(+(null==u?void 0:u[e]))):1,f=t*n,m=(+(null==u?void 0:u[e])||0)*t,g=+a[e]+m+f/2,[h,b,y,E,T]=[+i[e],+o[e],+s[e],+l[e],+c[e]];return[[g-f/2,T],[g+f/2,T],[g,T],[g,E],[g-f/2,E],[g+f/2,E],[g+f/2,b],[g-f/2,b],[g-f/2,y],[g+f/2,y],[g,b],[g,h],[g-f/2,h],[g+f/2,h]].map(e=>r.map(e))});return[e,f]};uE.props={defaultShape:"box",defaultLabelShape:"label",composite:!1,shape:uy,channels:[...lO({shapes:Object.keys(uy)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"}],preInference:[...lC(),{type:lc}],postInference:[...lk()],interaction:{shareTooltip:!0}};let uT={vector:c4},uv=()=>(e,t,n,r)=>{let{x:a,y:i,size:o,rotate:s}=n,[l,c]=r.getSize(),u=e.map(e=>{let t=+s[e]/180*Math.PI,n=+o[e],u=n/l*Math.cos(t),d=-(n/c)*Math.sin(t);return[r.map([+a[e]-u/2,+i[e]-d/2]),r.map([+a[e]+u/2,+i[e]+d/2])]});return[e,u]};uv.props={defaultShape:"vector",defaultLabelShape:"label",composite:!1,shape:uT,channels:[...lO({shapes:Object.keys(uT)}),{name:"x",required:!0},{name:"y",required:!0},{name:"rotate",required:!0,scale:"identity"},{name:"size",required:!0}],preInference:[...lC()],postInference:[...l_()]};var uS=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let uA=(e,t)=>{let{arrow:n,arrowSize:r=4}=e,a=uS(e,["arrow","arrowSize"]),{coordinate:i,document:o}=t;return(e,t,s)=>{let{color:l,lineWidth:c}=s,u=uS(s,["color","lineWidth"]),{color:d=l,size:p=c}=t,f=n?function(e,t,n){let r=e.createElement("path",{style:Object.assign({d:`M ${t},${t} L -${t},0 L ${t},-${t} L 0,0 Z`,transformOrigin:"center"},n)});return r}(o,r,Object.assign({fill:a.stroke||d,stroke:a.stroke||d},rr(a,"arrow"))):null,m=function(e,t){if(!rw(t))return(0,aP.Z)().x(e=>e[0]).y(e=>e[1])(e);let n=t.getCenter();return(0,ib.Z)()({startAngle:0,endAngle:2*Math.PI,outerRadius:aE(e[0],n),innerRadius:aE(e[1],n)})}(e,i),g=function(e,t){if(!rw(e))return t;let[n,r]=e.getCenter();return`translate(${n}, ${r}) ${t||""}`}(i,t.transform);return rc(o.createElement("path",{})).call(a_,u).style("d",m).style("stroke",d).style("lineWidth",p).style("transform",g).style("markerEnd",f).call(a_,a).node()}};uA.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uO=()=>(e,t)=>{let{data:n}=t;return!Array.isArray(n)||n.some(ls)?[e,t]:[e,(0,n3.Z)({},t,{encode:{x:lt(n)}})]};uO.props={};let u_={line:uA},uk=e=>(t,n,r,a)=>{let{x:i}=r,o=lx(n,r,(0,n3.Z)({style:{bandOffset:0}},e)),s=Array.from(t,e=>{let t=[i[e],1],n=[i[e],0];return[t,n].map(t=>a.map(o(t,e)))});return[t,s]};uk.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:u_,channels:[...lI({shapes:Object.keys(u_)}),{name:"x",required:!0}],preInference:[...lC(),{type:uO}],postInference:[]};let uI=()=>(e,t)=>{let{data:n}=t;return!Array.isArray(n)||n.some(ls)?[e,t]:[e,(0,n3.Z)({},t,{encode:{y:lt(n)}})]};uI.props={};let uC={line:uA},uN=e=>(t,n,r,a)=>{let{y:i}=r,o=lx(n,r,(0,n3.Z)({style:{bandOffset:0}},e)),s=Array.from(t,e=>{let t=[0,i[e]],n=[1,i[e]];return[t,n].map(t=>a.map(o(t,e)))});return[t,s]};uN.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:uC,channels:[...lI({shapes:Object.keys(uC)}),{name:"y",required:!0}],preInference:[...lC(),{type:uI}],postInference:[]};var ux=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function uw(e,t,n){return[["M",e,t],["L",e+2*n,t-n],["L",e+2*n,t+n],["Z"]]}let uR=(e,t)=>{let{offset:n=0,offset1:r=n,offset2:a=n,connectLength1:i,endMarker:o=!0}=e,s=ux(e,["offset","offset1","offset2","connectLength1","endMarker"]),{coordinate:l}=t;return(e,t,n)=>{let{color:c,connectLength1:u}=n,d=ux(n,["color","connectLength1"]),{color:p,transform:f}=t,m=function(e,t,n,r,a=0){let[[i,o],[s,l]]=t;if(rx(e)){let e=i+n,t=e+a;return[[e,o],[t,o],[t,l],[s+r,l]]}let c=o-n,u=c-a;return[[i,c],[i,u],[s,u],[s,l-r]]}(l,e,r,a,null!=i?i:u),g=rr(Object.assign(Object.assign({},s),n),"endMarker");return rc(new nS.y$).call(a_,d).style("d",(0,aP.Z)().x(e=>e[0]).y(e=>e[1])(m)).style("stroke",p||c).style("transform",f).style("markerEnd",o?new aD.J({className:"marker",style:Object.assign(Object.assign({},g),{symbol:uw})}):null).call(a_,s).node()}};uR.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uL={connector:uR},uD=(...e)=>ur(...e);function uP(e,t,n,r){if(t)return()=>[0,1];let{[e]:a,[`${e}1`]:i}=n;return e=>{var t;let n=(null===(t=r.getBandWidth)||void 0===t?void 0:t.call(r,r.invert(+i[e])))||0;return[a[e],i[e]+n]}}function uM(e={}){let{extendX:t=!1,extendY:n=!1}=e;return(e,r,a,i)=>{let o=uP("x",t,a,r.x),s=uP("y",n,a,r.y),l=Array.from(e,e=>{let[t,n]=o(e),[r,a]=s(e);return[[t,r],[n,r],[n,a],[t,a]].map(e=>i.map(e))});return[e,l]}}uD.props={defaultShape:"connector",defaultLabelShape:"label",composite:!1,shape:uL,channels:[...lI({shapes:Object.keys(uL)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...lC()],postInference:[]};let uF={range:lu},uB=()=>uM();uB.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:uF,channels:[...lI({shapes:Object.keys(uF)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...lC()],postInference:[]};let uj=()=>(e,t)=>{let{data:n}=t;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(ls))){let r=(e,t)=>Array.isArray(e[0])?e.map(e=>e[t]):[e[t]];return[e,(0,n3.Z)({},t,{encode:{x:lt(r(n,0)),x1:lt(r(n,1))}})]}return[e,t]};uj.props={};let uU={range:lu},uH=()=>uM({extendY:!0});uH.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:uU,channels:[...lI({shapes:Object.keys(uU)}),{name:"x",required:!0}],preInference:[...lC(),{type:uj}],postInference:[]};let uG=()=>(e,t)=>{let{data:n}=t;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(ls))){let r=(e,t)=>Array.isArray(e[0])?e.map(e=>e[t]):[e[t]];return[e,(0,n3.Z)({},t,{encode:{y:lt(r(n,0)),y1:lt(r(n,1))}})]}return[e,t]};uG.props={};let u$={range:lu},uz=()=>uM({extendX:!0});uz.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:u$,channels:[...lI({shapes:Object.keys(u$)}),{name:"y",required:!0}],preInference:[...lC(),{type:uG}],postInference:[]};var uZ=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let uW=(e,t)=>{let{arrow:n,colorAttribute:r}=e,a=uZ(e,["arrow","colorAttribute"]),{coordinate:i,document:o}=t;return(e,t,n)=>{let{color:s,stroke:l}=n,c=uZ(n,["color","stroke"]),{d:u,color:d=s}=t,[p,f]=i.getSize();return rc(o.createElement("path",{})).call(a_,c).style("d","function"==typeof u?u({width:p,height:f}):u).style(r,d).call(a_,a).node()}};uW.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uY=(e,t)=>uW(Object.assign({colorAttribute:"fill"},e),t);uY.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uV=(e,t)=>uW(Object.assign({fill:"none",colorAttribute:"stroke"},e),t);uV.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uq={path:uY,hollow:uV},uK=e=>(e,t,n,r)=>[e,e.map(()=>[[0,0]])];uK.props={defaultShape:"path",defaultLabelShape:"label",shape:uq,composite:!1,channels:[...lO({shapes:Object.keys(uq)}),{name:"d",scale:"identity"}],preInference:[...lC()],postInference:[]};var uX=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let uQ=(e,t)=>{let{render:n}=e,r=uX(e,["render"]);return e=>{let[[a,i]]=e;return n(Object.assign(Object.assign({},r),{x:a,y:i}),t)}};uQ.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uJ=()=>(e,t)=>{let{style:n={}}=t;return[e,(0,n3.Z)({},t,{style:Object.assign(Object.assign({},n),Object.fromEntries(Object.entries(n).filter(([,e])=>"function"==typeof e).map(([e,t])=>[e,()=>t])))})]};uJ.props={};let u0=e=>{let{cartesian:t}=e;return t?lR:(t,n,r,a)=>{let{x:i,y:o}=r,s=lx(n,r,e),l=Array.from(t,e=>{let t=[+i[e],+o[e]];return[a.map(s(t,e))]});return[t,l]}};u0.props={defaultShape:"shape",defaultLabelShape:"label",composite:!1,shape:{shape:uQ},channels:[{name:"x",required:!0},{name:"y",required:!0}],preInference:[...lC(),{type:cD},{type:cM},{type:uJ}]};var u1=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let u2=(e,t)=>{let{document:n}=t;return(t,r,a)=>{let{transform:i}=r,{color:o}=a,s=u1(a,["color"]),{color:l=o}=r,[c,...u]=t,d=(0,a7.Z)();return d.moveTo(...c),u.forEach(([e,t])=>{d.lineTo(e,t)}),d.closePath(),rc(n.createElement("path",{})).call(a_,s).style("d",d.toString()).style("stroke",l||o).style("fill",l||o).style("fillOpacity",.4).style("transform",i).call(a_,e).node()}};u2.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let u3={density:u2},u4=()=>(e,t,n,r)=>{let{x:a,series:i}=n,o=Object.entries(n).filter(([e])=>e.startsWith("y")).map(([,e])=>e),s=Object.entries(n).filter(([e])=>e.startsWith("size")).map(([,e])=>e);if(void 0===a||void 0===o||void 0===s)throw Error("Missing encode for x or y or size channel.");let l=t.x,c=t.series,u=Array.from(e,t=>{let n=l.getBandWidth(l.invert(+a[t])),u=c?c.getBandWidth(c.invert(+(null==i?void 0:i[t]))):1,d=(+(null==i?void 0:i[t])||0)*n,p=+a[t]+d+n*u/2,f=[...o.map((n,r)=>[p+ +s[r][t]/e.length,+o[r][t]]),...o.map((n,r)=>[p-+s[r][t]/e.length,+o[r][t]]).reverse()];return f.map(e=>r.map(e))});return[e,u]};u4.props={defaultShape:"density",defaultLabelShape:"label",composite:!1,shape:u3,channels:[...lO({shapes:Object.keys(u3)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"size",required:!0},{name:"series",scale:"band"},{name:"size",required:!0,scale:"identity"}],preInference:[...lC(),{type:ll},{type:lc}],postInference:[...lk()],interaction:{shareTooltip:!0}};var u5=n(82631);function u6(e,t,n){let r=e?e():document.createElement("canvas");return r.width=t,r.height=n,r}(0,u5.Z)(3);let u9=function(e,t=(...e)=>`${e[0]}`,n=16){let r=(0,u5.Z)(n);return(...n)=>{let a=t(...n),i=r.get(a);return r.has(a)?r.get(a):(i=e(...n),r.set(a,i),i)}}((e,t,n)=>{let r=u6(n,2*e,2*e),a=r.getContext("2d");if(1===t)a.beginPath(),a.arc(e,e,e,0,2*Math.PI,!1),a.fillStyle="rgba(0,0,0,1)",a.fill();else{let n=a.createRadialGradient(e,e,e*t,e,e,e);n.addColorStop(0,"rgba(0,0,0,1)"),n.addColorStop(1,"rgba(0,0,0,0)"),a.fillStyle=n,a.fillRect(0,0,2*e,2*e)}return r},e=>`${e}`);var u8=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let u7=(e,t)=>{let{gradient:n,opacity:r,maxOpacity:a,minOpacity:i,blur:o,useGradientOpacity:s}=e,l=u8(e,["gradient","opacity","maxOpacity","minOpacity","blur","useGradientOpacity"]),{coordinate:c,createCanvas:u,document:d}=t;return(e,t,p)=>{var f,m;let{transform:g}=t,[h,b]=c.getSize(),y=e.map(e=>({x:e[0],y:e[1],value:e[2],radius:e[3]})),E=(0,oD.Z)(e,e=>e[2]),T=(0,rv.Z)(e,e=>e[2]),v=h&&b?function(e,t,n,r,a,i,o){let s=Object.assign({blur:.85,minOpacity:0,opacity:.6,maxOpacity:1,gradient:[[.25,"rgb(0,0,255)"],[.55,"rgb(0,255,0)"],[.85,"yellow"],[1,"rgb(255,0,0)"]]},i);s.minOpacity*=255,s.opacity*=255,s.maxOpacity*=255;let l=u6(o,e,t),c=l.getContext("2d"),u=function(e,t){let n=u6(t,256,1),r=n.getContext("2d"),a=r.createLinearGradient(0,0,256,1);return("string"==typeof e?e.split(" ").map(e=>{let[t,n]=e.split(":");return[+t,n]}):e).forEach(([e,t])=>{a.addColorStop(e,t)}),r.fillStyle=a,r.fillRect(0,0,256,1),r.getImageData(0,0,256,1).data}(s.gradient,o);c.clearRect(0,0,e,t),function(e,t,n,r,a,i){let{blur:o}=a,s=r.length;for(;s--;){let{x:a,y:l,value:c,radius:u}=r[s],d=Math.min(c,n),p=a-u,f=l-u,m=u9(u,1-o,i),g=(d-t)/(n-t);e.globalAlpha=Math.max(g,.001),e.drawImage(m,p,f)}}(c,n,r,a,s,o);let d=function(e,t,n,r,a){let{minOpacity:i,opacity:o,maxOpacity:s,useGradientOpacity:l}=a,c=e.getImageData(0,0,t,n),u=c.data,d=u.length;for(let e=3;evoid 0===e,Object.keys(f).reduce((e,t)=>{let n=f[t];return m(n,t)||(e[t]=n),e},{})),u):{canvas:null};return rc(d.createElement("image",{})).call(a_,p).style("x",0).style("y",0).style("width",h).style("height",b).style("src",v.canvas).style("transform",g).call(a_,l).node()}};u7.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let de={heatmap:u7},dt=e=>(e,t,n,r)=>{let{x:a,y:i,size:o,color:s}=n,l=Array.from(e,e=>{let t=o?+o[e]:40;return[...r.map([+a[e],+i[e]]),s[e],t]});return[[0],[l]]};dt.props={defaultShape:"heatmap",defaultLabelShape:"label",composite:!1,shape:de,channels:[...lO({shapes:Object.keys(de)}),{name:"x",required:!0},{name:"y",required:!0},{name:"color",scale:"identity",required:!0},{name:"size"}],preInference:[...lC(),{type:lc},{type:c_}],postInference:[...l_()]};var dn=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let dr=()=>({axis:!1,type:"text",encode:{x:"x",y:"y",text:"text",rotate:"rotate",fontSize:"size",shape:"tag"},scale:{x:{range:[0,1]},y:{range:[0,1]}},style:{fontFamily:e=>e.fontFamily}}),da=(e,t)=>{var n,r,a,i;return n=void 0,r=void 0,a=void 0,i=function*(){let{width:n,height:r}=t,{data:a,encode:i={},scale:o,style:s={},layout:l={}}=e,c=dn(e,["data","encode","scale","style","layout"]),u=function(e,t){let{text:n="text",value:r="value"}=t;return e.map(e=>Object.assign(Object.assign({},e),{text:e[n],value:e[r]}))}(a,i);return(0,n3.Z)({},dr(),Object.assign(Object.assign({data:{value:u,transform:[Object.assign({type:"wordCloud",size:[n,r]},l)]},encode:i,scale:o,style:s},c),{axis:!1}))},new(a||(a=Promise))(function(e,t){function o(e){try{l(i.next(e))}catch(e){t(e)}}function s(e){try{l(i.throw(e))}catch(e){t(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof a?n:new a(function(e){e(n)})).then(o,s)}l((i=i.apply(n,r||[])).next())})};da.props={};let di=()=>["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"];di.props={};let ds=()=>["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"];ds.props={};let dl=e=>new rU.b(e);dl.props={};var dc=n(8064);let du=e=>new dc.r(e);du.props={};var dd=n(88944);let dp=e=>new dd.t(e);dp.props={};var df=n(30655);let dm=e=>new df.i(e);dm.props={};var dg=n(64117);let dh=e=>new dg.E(e);dh.props={};var db=n(27527);let dy=e=>new db.q(e);dy.props={};var dE=n(63117);let dT=e=>new dE.Z(e);dT.props={};var dv=n(23331);let dS=e=>new dv.p(e);dS.props={};var dA=n(69437);let dO=e=>new dA.F(e);dO.props={};let d_=e=>new ae.M(e);d_.props={};let dk=e=>new an.c(e);dk.props={};let dI=e=>new at.J(e);dI.props={};var dC=n(67559);let dN=e=>new dC.s(e);dN.props={};let dx=e=>new r7.s(e);function dw({colorDefault:e,colorBlack:t,colorWhite:n,colorStroke:r,colorBackground:a,padding1:i,padding2:o,padding3:s,alpha90:l,alpha65:c,alpha45:u,alpha25:d,alpha10:p,category10:f,category20:m,sizeDefault:g=1,padding:h="auto",margin:b=16}){return{padding:h,margin:b,size:g,color:e,category10:f,category20:m,enter:{duration:300,fill:"both",delay:0},update:{duration:300,fill:"both",delay:0},exit:{duration:300,fill:"both",delay:0},view:{viewFill:a,plotFill:"transparent",mainFill:"transparent",contentFill:"transparent"},line:{line:{fill:"",strokeOpacity:1,lineWidth:1,lineCap:"round"}},point:{point:{r:3,fillOpacity:.95,lineWidth:0},hollow:{r:3,strokeOpacity:.95,lineWidth:1},plus:{r:3,strokeOpacity:.95,lineWidth:3},diamond:{r:3,strokeOpacity:.95,lineWidth:1}},interval:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},area:{area:{fillOpacity:.85,lineWidth:0}},polygon:{polygon:{fillOpacity:.95}},cell:{cell:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},rect:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},link:{link:{fill:"",strokeOpacity:1}},vector:{vector:{fillOpacity:1}},box:{box:{fillOpacity:.95,stroke:t,lineWidth:1}},text:{text:{fill:"#1D2129",fontSize:12,lineWidth:0,connectorStroke:r,connectorStrokeOpacity:.45,connectorLineWidth:1,backgroundFill:r,backgroundFillOpacity:.15,backgroundPadding:[2,4],startMarkerSymbol:"circle",startMarkerSize:4,endMarkerSymbol:"circle",endMarkerSize:4},badge:{fill:"#1D2129",fillOpacity:.65,lineWidth:0,fontSize:10,textAlign:"center",textBaseline:"middle",markerFill:r,markerFillOpacity:.25,markerStrokeOpacity:0}},lineX:{line:{stroke:r,strokeOpacity:.45,lineWidth:1}},lineY:{line:{stroke:r,strokeOpacity:.45,lineWidth:1}},rangeX:{range:{fill:r,fillOpacity:.15,lineWidth:0}},rangeY:{range:{fill:r,fillOpacity:.15,lineWidth:0}},connector:{connector:{stroke:r,strokeOpacity:.45,lineWidth:1,connectLength1:12,endMarker:!0,endMarkerSize:6,endMarkerFill:r,endMarkerFillOpacity:.95}},axis:{arrow:!1,gridLineDash:[3,4],gridLineWidth:.5,gridStroke:t,gridStrokeOpacity:p,labelAlign:"horizontal",labelFill:t,labelOpacity:u,labelFontSize:12,labelFontWeight:"normal",labelSpacing:i,line:!1,lineLineWidth:.5,lineStroke:t,lineStrokeOpacity:u,tickLength:4,tickLineWidth:1,tickStroke:t,tickOpacity:u,titleFill:t,titleOpacity:l,titleFontSize:12,titleFontWeight:"normal",titleSpacing:12,titleTransformOrigin:"center",lineArrowOffset:6,lineArrowSize:6},axisTop:{gridDirection:"positive",labelDirection:"negative",tickDirection:"negative",titlePosition:"top",titleSpacing:12,labelSpacing:4,titleTextBaseline:"middle"},axisBottom:{gridDirection:"negative",labelDirection:"positive",tickDirection:"positive",titlePosition:"bottom",titleSpacing:12,labelSpacing:4,titleTextBaseline:"bottom",titleTransform:"translate(0, 8)"},axisLeft:{gridDirection:"positive",labelDirection:"negative",labelSpacing:4,tickDirection:"negative",titlePosition:"left",titleSpacing:12,titleTextBaseline:"middle",titleDirection:"vertical",titleTransform:"rotate(-90) translate(0, -8)",titleTransformOrigin:"center"},axisRight:{gridDirection:"negative",labelDirection:"positive",labelSpacing:4,tickDirection:"positive",titlePosition:"right",titleSpacing:12,titleTextBaseline:"top",titleDirection:"vertical",titleTransformOrigin:"center"},axisLinear:{girdClosed:!0,gridConnect:"arc",gridDirection:"negative",gridType:"surround",titlePosition:"top",titleSpacing:0},axisArc:{title:!1,titlePosition:"inner",line:!1,tick:!0,labelSpacing:4},axisRadar:{girdClosed:!0,gridStrokeOpacity:.3,gridType:"surround",label:!1,tick:!1,titlePosition:"start"},legendCategory:{backgroundFill:"transparent",itemBackgroundFill:"transparent",itemLabelFill:t,itemLabelFillOpacity:l,itemLabelFontSize:12,itemLabelFontWeight:"normal",itemMarkerFillOpacity:1,itemMarkerSize:8,itemSpacing:[i,i],itemValueFill:t,itemValueFillOpacity:.65,itemValueFontSize:12,itemValueFontWeight:"normal",navButtonFill:t,navButtonFillOpacity:.65,navPageNumFill:t,navPageNumFillOpacity:.45,navPageNumFontSize:12,padding:8,title:!1,titleFill:t,titleFillOpacity:.65,titleFontSize:12,titleFontWeight:"normal",titleSpacing:4,tickStroke:t,tickStrokeOpacity:.25,rowPadding:i,colPadding:o,maxRows:3,maxCols:3},legendContinuous:{handleHeight:12,handleLabelFill:t,handleLabelFillOpacity:u,handleLabelFontSize:12,handleLabelFontWeight:"normal",handleMarkerFill:t,handleMarkerFillOpacity:.6,handleMarkerLineWidth:1,handleMarkerStroke:t,handleMarkerStrokeOpacity:.25,handleWidth:10,labelFill:t,labelFillOpacity:u,labelFontSize:12,labelFontWeight:"normal",labelSpacing:3,tick:!0,tickLength:12,ribbonSize:12,ribbonFill:"#aaa",handle:!0,handleLabel:!1,handleShape:"slider",handleIconSize:12/1.8,indicator:!1,titleFontSize:12,titleSpacing:4,titleFontWeight:"normal",titleFillOpacity:l,tickStroke:t,tickStrokeOpacity:u},label:{fill:t,fillOpacity:.65,fontSize:12,fontWeight:"normal",stroke:void 0,offset:12,connectorStroke:t,connectorStrokeOpacity:.45,connectorLineWidth:1,connectorLength:12,connectorLength2:8,connectorDistance:4},innerLabel:{fill:n,fontSize:12,fillOpacity:.85,fontWeight:"normal",stroke:void 0,offset:0},htmlLabel:{fontSize:12,opacity:.65,color:t,fontWeight:"normal"},slider:{trackSize:16,trackFill:r,trackFillOpacity:1,selectionFill:e,selectionFillOpacity:.15,handleIconSize:10,handleIconFill:"#f7f7f7",handleIconFillOpacity:1,handleIconStroke:t,handleIconStrokeOpacity:.25,handleIconLineWidth:1,handleIconRadius:2,handleLabelFill:t,handleLabelFillOpacity:.45,handleLabelFontSize:12,handleLabelFontWeight:"normal"},scrollbar:{padding:[0,0,0,0],trackSize:6,isRound:!0,slidable:!0,scrollable:!0,trackFill:"#e5e5e5",trackFillOpacity:0,thumbFill:"#000",thumbFillOpacity:.15,thumbHighlightedFillOpacity:.2},title:{spacing:8,titleFill:t,titleFillOpacity:l,titleFontSize:16,titleFontWeight:"bold",titleTextBaseline:"top",subtitleFill:t,subtitleFillOpacity:c,subtitleFontSize:12,subtitleFontWeight:"normal",subtitleTextBaseline:"top"},tooltip:{css:{".g2-tooltip":{"font-family":"sans-serif"}}}}}dx.props={};let dR=dw({colorBlack:"#1D2129",colorWhite:"#ffffff",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1}),dL=e=>(0,n3.Z)({},dR,e);dL.props={};let dD=e=>(0,n3.Z)({},dL(),{category10:"category10",category20:"category20"},e);dD.props={};let dP=dw({colorBlack:"#fff",colorWhite:"#000",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.25}),dM=e=>(0,n3.Z)({},dP,{tooltip:{crosshairsStroke:"#fff",crosshairsLineWidth:1,crosshairsStrokeOpacity:.25,css:{".g2-tooltip":{background:"#1f1f1f",opacity:.95},".g2-tooltip-title":{color:"#A6A6A6"},".g2-tooltip-list-item-name-label":{color:"#A6A6A6"},".g2-tooltip-list-item-value":{color:"#A6A6A6"}}}},e),dF=e=>Object.assign({},dM(),{category10:"category10",category20:"category20"},e);dF.props={};let dB=dw({colorBlack:"#000",colorWhite:"#fff",colorStroke:"#888",colorDefault:"#4e79a7",colorBackground:"transparent",category10:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],category20:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1}),dj=e=>(0,n3.Z)({},dB,{text:{text:{fontSize:10}},axis:{gridLineDash:[0,0],gridLineWidth:1,gridStroke:"#ddd",gridStrokeOpacity:1,labelOpacity:1,labelStrokeOpacity:1,labelFontSize:10,line:!0,lineLineWidth:1,lineStroke:"#888",lineStrokeOpacity:1,tickLength:5,tickStrokeOpacity:1,titleOpacity:1,titleStrokeOpacity:1,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},axisLeft:{gridFilter:(e,t)=>0!==t},axisRight:{gridFilter:(e,t)=>0!==t},legendCategory:{itemLabelFillOpacity:1,itemLabelFontSize:10,itemValueFillOpacity:1,itemValueFontSize:10,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},legendContinuous:{handleLabelFontSize:10,labelFillOpacity:.45,labelFontSize:10},label:{fontSize:10},innerLabel:{fontSize:10},htmlLabel:{fontSize:10},slider:{handleLabelFontSize:10,trackFillOpacity:.05}},e);dj.props={};let dU=e=>(...t)=>{let n=r4(Object.assign({},{crossPadding:50},e))(...t);return r0(n,e),n};dU.props=Object.assign(Object.assign({},r4.props),{defaultPosition:"bottom"});let dH=e=>(...t)=>{let n=r4(Object.assign({},{crossPadding:10},e))(...t);return r0(n,e),n};dH.props=Object.assign(Object.assign({},r4.props),{defaultPosition:"left"});var dG=n(45130),d$=n(73645),dz=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let dZ=e=>{let{labelFormatter:t,layout:n,order:r,orientation:a,position:i,size:o,title:s,cols:l,itemMarker:c}=e,u=dz(e,["labelFormatter","layout","order","orientation","position","size","title","cols","itemMarker"]),{gridRow:d}=u;return t=>{let{value:r,theme:a}=t,{bbox:o}=r,{width:c,height:p}=function(e,t,n){let{position:r}=t;if("center"===r){let{bbox:t}=e,{width:n,height:r}=t;return{width:n,height:r}}let{width:a,height:i}=rX(e,t,n);return{width:a,height:i}}(r,e,dZ),f=rY(i,n),m=Object.assign(Object.assign(Object.assign(Object.assign({orientation:["right","left","center"].includes(i)?"vertical":"horizontal",width:c,height:p,layout:void 0!==l?"grid":"flex"},void 0!==l&&{gridCol:l}),void 0!==d&&{gridRow:d}),{titleText:rW(s)}),function(e,t){let{labelFormatter:n=e=>`${e}`}=e,{scales:r,theme:a}=t,i=a.legendCategory.itemMarkerSize,o=function(e,t){let n=rK(e,"size");return n instanceof df.i?2*n.map(NaN):t}(r,i),s={itemMarker:function(e,t){let{scales:n,library:r,markState:a}=t,[i,o]=function(e,t){let n=rK(e,"shape"),r=rK(e,"color"),a=n?n.clone():null,i=[];for(let[e,n]of t){let t=e.type,o=(null==r?void 0:r.getOptions().domain.length)>0?null==r?void 0:r.getOptions().domain:n.data,s=o.map((t,r)=>{var i;return a?a.map(t||"point"):(null===(i=null==e?void 0:e.style)||void 0===i?void 0:i.shape)||n.defaultShape||"point"});"string"==typeof t&&i.push([t,s])}if(0===i.length)return["point",["point"]];if(1===i.length||!n)return i[0];let{range:o}=n.getOptions();return i.map(([e,t])=>{let n=0;for(let e=0;et[0]-e[0])[0][1]}(n,a),{itemMarker:s,itemMarkerSize:l}=e,c=(e,t)=>{var n,a,o;let s=(null===(o=null===(a=null===(n=r[`mark.${i}`])||void 0===n?void 0:n.props)||void 0===a?void 0:a.shape[e])||void 0===o?void 0:o.props.defaultMarker)||(0,d$.Z)(e.split(".")),c="function"==typeof l?l(t):l;return()=>(function(e,t){var{d:n,fill:r,lineWidth:a,path:i,stroke:o,color:s}=t,l=nA(t,["d","fill","lineWidth","path","stroke","color"]);let c=nX.get(e)||nX.get("point");return(...e)=>{let t=new nS.y$({style:Object.assign(Object.assign({},l),{d:c(...e),stroke:c.style.includes("stroke")?s||o:"",fill:c.style.includes("fill")?s||r:"",lineWidth:c.style.includes("lineWidth")?a||a||2:0})});return t}})(s,{color:t.color})(0,0,c)},u=e=>`${o[e]}`,d=rK(n,"shape");return d&&!s?(e,t)=>c(u(t),e):"function"==typeof s?(e,t)=>{let n=s(e.id,t);return"string"==typeof n?c(n,e):n}:(e,t)=>c(s||u(t),e)}(Object.assign(Object.assign({},e),{itemMarkerSize:o}),t),itemMarkerSize:o,itemMarkerOpacity:function(e){let t=rK(e,"opacity");if(t){let{range:e}=t.getOptions();return(t,n)=>e[n]}}(r)},l="string"==typeof n?(0,rm.WU)(n):n,c=rK(r,"color"),u=r.find(e=>e.getOptions().domain.length>0).getOptions().domain,d=c?e=>c.map(e):()=>t.theme.color;return Object.assign(Object.assign({},s),{data:u.map(e=>({id:e,label:l(e),color:d(e)}))})}(e,t)),{legendCategory:g={}}=a,h=rQ(Object.assign({},g,m,u)),b=new rq({style:Object.assign(Object.assign({x:o.x,y:o.y,width:o.width,height:o.height},f),{subOptions:h})});return b.appendChild(new dG.W({className:"legend-category",style:h})),b}};dZ.props={defaultPosition:"top",defaultOrder:1,defaultSize:40,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let dW=e=>()=>new nS.ZA;dW.props={};var dY=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function dV(e,t,n,r){switch(r){case"center":return{x:e+n/2,y:t,textAlign:"middle"};case"right":return{x:e+n,y:t,textAlign:"right"};default:return{x:e,y:t,textAlign:"left"}}}let dq=(a={render(e,t){let{width:n,title:r,subtitle:a,spacing:i=2,align:o="left",x:s,y:l}=e,c=dY(e,["width","title","subtitle","spacing","align","x","y"]);t.style.transform=`translate(${s}, ${l})`;let u=rr(c,"title"),d=rr(c,"subtitle"),p=rZ(t,".title","text").attr("className","title").call(a_,Object.assign(Object.assign(Object.assign({},dV(0,0,n,o)),{fontSize:14,textBaseline:"top",text:r}),u)).node(),f=p.getLocalBounds();rZ(t,".sub-title","text").attr("className","sub-title").call(e=>{if(!a)return e.node().remove();e.node().attr(Object.assign(Object.assign(Object.assign({},dV(0,f.max[1]+i,n,o)),{fontSize:12,textBaseline:"top",text:a}),d))})}},class extends nS.b_{constructor(e){super(e),this.descriptor=a}connectedCallback(){var e,t;null===(t=(e=this.descriptor).render)||void 0===t||t.call(e,this.attributes,this)}update(e={}){var t,n;this.attr((0,n3.Z)({},this.attributes,e)),null===(n=(t=this.descriptor).render)||void 0===n||n.call(t,this.attributes,this)}}),dK=e=>({value:t,theme:n})=>{let{x:r,y:a,width:i,height:o}=t.bbox;return new dq({style:(0,n3.Z)({},n.title,Object.assign({x:r,y:a,width:i,height:o},e))})};dK.props={defaultPosition:"top",defaultOrder:2,defaultSize:36,defaultCrossPadding:[20,20],defaultPadding:[12,12]};var dX=n(6394),dQ=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let dJ=e=>{let{orientation:t,labelFormatter:n,size:r,style:a={},position:i}=e,o=dQ(e,["orientation","labelFormatter","size","style","position"]);return r=>{var s;let{scales:[l],value:c,theme:u,coordinate:d}=r,{bbox:p}=c,{width:f,height:m}=p,{slider:g={}}=u,h=(null===(s=l.getFormatter)||void 0===s?void 0:s.call(l))||(e=>e+""),b="string"==typeof n?(0,rm.WU)(n):n,y="horizontal"===t,E=rx(d)&&y,{trackSize:T=g.trackSize}=a,[v,S]=function(e,t,n){let{x:r,y:a,width:i,height:o}=e;return"left"===t?[r+i-n,a]:"right"===t||"bottom"===t?[r,a]:"top"===t?[r,a+o-n]:void 0}(p,i,T);return new dX.i({className:"slider",style:Object.assign({},g,Object.assign(Object.assign({x:v,y:S,trackLength:y?f:m,orientation:t,formatter:e=>{let t=ip(l,E?1-e:e,!0);return(b||h)(t)},sparklineData:function(e,t){let{markState:n}=t;return(0,rp.Z)(e.sparklineData)?e.sparklineData:function(e,t){let[n]=Array.from(e.entries()).filter(([e])=>"line"===e.type||"area"===e.type).filter(([e])=>e.slider).map(([e])=>{let{encode:n,slider:r}=e;if(null==r?void 0:r.x)return Object.fromEntries(t.map(e=>{let t=n[e];return[e,t?t.value:void 0]}))});if(!(null==n?void 0:n.series))return null==n?void 0:n.y;let r=n.series.reduce((e,t,r)=>(e[t]=e[t]||[],e[t].push(n.y[r]),e),{});return Object.values(r)}(n,["y","series"])}(e,r)},a),o))})}};dJ.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let d0=e=>dJ(Object.assign(Object.assign({},e),{orientation:"horizontal"}));d0.props=Object.assign(Object.assign({},dJ.props),{defaultPosition:"bottom"});let d1=e=>dJ(Object.assign(Object.assign({},e),{orientation:"vertical"}));d1.props=Object.assign(Object.assign({},dJ.props),{defaultPosition:"left"});var d2=n(53020),d3=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let d4=e=>{let{orientation:t,labelFormatter:n,style:r}=e,a=d3(e,["orientation","labelFormatter","style"]);return({scales:[e],value:n,theme:i})=>{let{bbox:o}=n,{x:s,y:l,width:c,height:u}=o,{scrollbar:d={}}=i,{ratio:p,range:f}=e.getOptions(),m="horizontal"===t?c:u,[g,h]=f;return new d2.L({className:"g2-scrollbar",style:Object.assign({},d,Object.assign(Object.assign(Object.assign(Object.assign({},r),{x:s,y:l,trackLength:m,value:h>g?0:1}),a),{orientation:t,contentLength:m/p,viewportLength:m}))})}};d4.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let d5=e=>d4(Object.assign(Object.assign({},e),{orientation:"horizontal"}));d5.props=Object.assign(Object.assign({},d4.props),{defaultPosition:"bottom"});let d6=e=>d4(Object.assign(Object.assign({},e),{orientation:"vertical"}));d6.props=Object.assign(Object.assign({},d4.props),{defaultPosition:"left"});let d9=(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let[i]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=i.style,[u,d]=rx(n)?["left bottom","scale(1, 0.0001)"]:["left top","scale(0.0001, 1)"],p=[{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.01},{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c}],f=i.animate(p,Object.assign(Object.assign({},a),e));return f}},d8=(e,t)=>{let{coordinate:n}=t;return nS.ux.registerProperty({name:"scaleInYRadius",inherits:!1,initialValue:"",interpolable:!0,syntax:nS.h0.NUMBER}),(t,r,a)=>{let[i]=t;return rw(n)?(t=>{let{__data__:r,style:i}=t,{radius:o=0,inset:s=0,fillOpacity:l=1,strokeOpacity:c=1,opacity:u=1}=i,{points:d,y:p,y1:f}=r,m=aN(n,d,[p,f]),{innerRadius:g,outerRadius:h}=m,b=(0,ib.Z)().cornerRadius(o).padAngle(s*Math.PI/180),y=new nS.y$({}),E=e=>{y.attr({d:b(e)});let t=(0,nS.YR)(y);return t},T=t.animate([{scaleInYRadius:g+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{scaleInYRadius:g+1e-4,fillOpacity:l,strokeOpacity:c,opacity:u,offset:.01},{scaleInYRadius:h,fillOpacity:l,strokeOpacity:c,opacity:u}],Object.assign(Object.assign({},a),e));return T.onframe=function(){t.style.d=E(Object.assign(Object.assign({},m),{outerRadius:Number(t.style.scaleInYRadius)}))},T.onfinish=function(){t.style.d=E(Object.assign(Object.assign({},m),{outerRadius:h}))},T})(i):(t=>{let{style:r}=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=r,[c,u]=rx(n)?["left top","scale(0.0001, 1)"]:["left bottom","scale(1, 0.0001)"],d=[{transform:`${i} ${u}`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${i} ${u}`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.01},{transform:`${i} scale(1, 1)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l}],p=t.animate(d,Object.assign(Object.assign({},a),e));return p})(i)}},d7=(e,t)=>{nS.ux.registerProperty({name:"waveInArcAngle",inherits:!1,initialValue:"",interpolable:!0,syntax:nS.h0.NUMBER});let{coordinate:n}=t;return(r,a,i)=>{let[o]=r;if(!rw(n))return d9(e,t)(r,a,i);let{__data__:s,style:l}=o,{radius:c=0,inset:u=0,fillOpacity:d=1,strokeOpacity:p=1,opacity:f=1}=l,{points:m,y:g,y1:h}=s,b=(0,ib.Z)().cornerRadius(c).padAngle(u*Math.PI/180),y=aN(n,m,[g,h]),{startAngle:E,endAngle:T}=y,v=o.animate([{waveInArcAngle:E+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{waveInArcAngle:E+1e-4,fillOpacity:d,strokeOpacity:p,opacity:f,offset:.01},{waveInArcAngle:T,fillOpacity:d,strokeOpacity:p,opacity:f}],Object.assign(Object.assign({},i),e));return v.onframe=function(){o.style.d=b(Object.assign(Object.assign({},y),{endAngle:Number(o.style.waveInArcAngle)}))},v.onfinish=function(){o.style.d=b(Object.assign(Object.assign({},y),{endAngle:T}))},v}};d7.props={};let pe=e=>(t,n,r)=>{let[a]=t,{fillOpacity:i=1,strokeOpacity:o=1,opacity:s=1}=a.style,l=[{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:i,strokeOpacity:o,opacity:s}];return a.animate(l,Object.assign(Object.assign({},r),e))};pe.props={};let pt=e=>(t,n,r)=>{let[a]=t,{fillOpacity:i=1,strokeOpacity:o=1,opacity:s=1}=a.style,l=[{fillOpacity:i,strokeOpacity:o,opacity:s},{fillOpacity:0,strokeOpacity:0,opacity:0}];return a.animate(l,Object.assign(Object.assign({},r),e))};pt.props={};let pn=e=>(t,n,r)=>{var a;let[i]=t,o=(null===(a=i.getTotalLength)||void 0===a?void 0:a.call(i))||0,s=[{lineDash:[0,o]},{lineDash:[o,0]}];return i.animate(s,Object.assign(Object.assign({},r),e))};pn.props={};let pr={opacity:1,strokeOpacity:1,fillOpacity:1,lineWidth:0,x:0,y:0,cx:0,cy:0,r:0,rx:0,ry:0,width:0,height:0},pa={[nS.bn.CIRCLE]:["cx","cy","r"],[nS.bn.ELLIPSE]:["cx","cy","rx","ry"],[nS.bn.RECT]:["x","y","width","height"],[nS.bn.IMAGE]:["x","y","width","height"],[nS.bn.LINE]:["x1","y1","x2","y2"],[nS.bn.POLYLINE]:["points"],[nS.bn.POLYGON]:["points"]};function pi(e,t,n=!1){let r={};for(let a of t){let t=e.style[a];t?r[a]=t:n&&(r[a]=pr[a])}return r}let po=["fill","stroke","fillOpacity","strokeOpacity","opacity","lineWidth"];function ps(e){let{min:t,max:n}=e.getLocalBounds(),[r,a]=t,[i,o]=n;return[r,a,i-r,o-a]}function pl(e,t){let[n,r,a,i]=ps(e),o=Math.ceil(Math.sqrt(t/(i/a))),s=[],l=i/Math.ceil(t/o),c=0,u=t;for(;u>0;){let e=Math.min(u,o),t=a/e;for(let a=0;a{let e=c.style.d;rt(c,n),c.style.d=e,c.style.transform="none"},c.style.transform="none",e}return null}let pf=e=>(t,n,r)=>{let a=function(e="pack"){return"function"==typeof e?e:pl}(e.split),i=Object.assign(Object.assign({},r),e),{length:o}=t,{length:s}=n;if(1===o&&1===s||o>1&&s>1){let[e]=t,[r]=n;return pp(e,e,r,i)}if(1===o&&s>1){let[e]=t;return function(e,t,n,r){e.style.visibility="hidden";let a=r(e,t.length);return t.map((t,r)=>{let i=new nS.y$({style:Object.assign({d:a[r]},pi(e,po))});return pp(t,i,t,n)})}(e,n,i,a)}if(o>1&&1===s){let[e]=n;return function(e,t,n,r){let a=r(t,e.length),{fillOpacity:i=1,strokeOpacity:o=1,opacity:s=1}=t.style,l=t.animate([{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:0,strokeOpacity:0,opacity:0,offset:.99},{fillOpacity:i,strokeOpacity:o,opacity:s}],n),c=e.map((e,r)=>{let i=new nS.y$({style:{d:a[r],fill:t.style.fill}});return pp(e,e,i,n)});return[...c,l]}(t,e,i,a)}return null};pf.props={};let pm=(e,t)=>(n,r,a)=>{let[i]=n,{min:[o,s],halfExtents:l}=i.getLocalBounds(),c=2*l[0],u=2*l[1],d=new nS.y$({style:{d:`M${o},${s}L${o+c},${s}L${o+c},${s+u}L${o},${s+u}Z`}});i.appendChild(d),i.style.clipPath=d;let p=d9(e,t)([d],r,a);return p};pm.props={};let pg=(e,t)=>(n,r,a)=>{let[i]=n,{min:[o,s],halfExtents:l}=i.getLocalBounds(),c=2*l[0],u=2*l[1],d=new nS.y$({style:{d:`M${o},${s}L${o+c},${s}L${o+c},${s+u}L${o},${s+u}Z`}});i.appendChild(d),i.style.clipPath=d;let p=d8(e,t)([d],r,a);return p};pg.props={};var ph=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function pb(e){var{delay:t,createGroup:n,background:r=!1,link:a=!1}=e,i=ph(e,["delay","createGroup","background","link"]);return(e,o,s)=>{let{container:l,view:c,options:u}=e,{scale:d,coordinate:p}=c,f=iN(l);return function(e,{elements:t,datum:n,groupKey:r=e=>e,link:a=!1,background:i=!1,delay:o=60,scale:s,coordinate:l,emitter:c,state:u={}}){var d;let p;let f=t(e),m=new Set(f),g=(0,n4.ZP)(f,r),h=ij(f,n),[b,y]=iU(Object.assign({elements:f,valueof:h,link:a,coordinate:l},rr(u.active,"link"))),[E,T,v]=iG(Object.assign({document:e.ownerDocument,scale:s,coordinate:l,background:i,valueof:h},rr(u.active,"background"))),S=(0,n3.Z)(u,{active:Object.assign({},(null===(d=u.active)||void 0===d?void 0:d.offset)&&{transform:(...e)=>{let t=u.active.offset(...e),[,n]=e;return iH(f[n],t,l)}})}),{setState:A,removeState:O,hasState:_}=iM(S,h),k=e=>{let{target:t,nativeEvent:a=!0}=e;if(!m.has(t))return;p&&clearTimeout(p);let i=r(t),o=g.get(i),s=new Set(o);for(let e of f)s.has(e)?_(e,"active")||A(e,"active"):(A(e,"inactive"),y(e)),e!==t&&T(e);E(t),b(o),a&&c.emit("element:highlight",{nativeEvent:a,data:{data:n(t),group:o.map(n)}})},I=()=>{p&&clearTimeout(p),p=setTimeout(()=>{C(),p=null},o)},C=(e=!0)=>{for(let e of f)O(e,"active","inactive"),T(e),y(e);e&&c.emit("element:unhighlight",{nativeEvent:e})},N=e=>{let{target:t}=e;(!i||v(t))&&(i||m.has(t))&&(o>0?I():C())},x=()=>{C()};e.addEventListener("pointerover",k),e.addEventListener("pointerout",N),e.addEventListener("pointerleave",x);let w=e=>{let{nativeEvent:t}=e;t||C(!1)},R=e=>{let{nativeEvent:t}=e;if(t)return;let{data:r}=e.data,a=iz(f,r,n);a&&k({target:a,nativeEvent:!1})};return c.on("element:highlight",R),c.on("element:unhighlight",w),()=>{for(let t of(e.removeEventListener("pointerover",k),e.removeEventListener("pointerout",N),e.removeEventListener("pointerleave",x),c.off("element:highlight",R),c.off("element:unhighlight",w),f))T(t),y(t)}}(f,Object.assign({elements:ik,datum:iP(c),groupKey:n?n(c):void 0,coordinate:p,scale:d,state:iB(u,[["active",r?{}:{lineWidth:"1",stroke:"#000"}],"inactive"]),background:r,link:a,delay:t,emitter:s},i))}}function py(e){return pb(Object.assign(Object.assign({},e),{createGroup:iD}))}function pE(e){return pb(Object.assign(Object.assign({},e),{createGroup:iL}))}pb.props={reapplyWhenUpdate:!0},py.props={reapplyWhenUpdate:!0},pE.props={reapplyWhenUpdate:!0};var pT=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function pv(e){var{createGroup:t,background:n=!1,link:r=!1}=e,a=pT(e,["createGroup","background","link"]);return(e,i,o)=>{let{container:s,view:l,options:c}=e,{coordinate:u,scale:d}=l,p=iN(s);return function(e,{elements:t,datum:n,groupKey:r=e=>e,link:a=!1,single:i=!1,coordinate:o,background:s=!1,scale:l,emitter:c,state:u={}}){var d;let p=t(e),f=new Set(p),m=(0,n4.ZP)(p,r),g=ij(p,n),[h,b]=iU(Object.assign({link:a,elements:p,valueof:g,coordinate:o},rr(u.selected,"link"))),[y,E]=iG(Object.assign({document:e.ownerDocument,background:s,coordinate:o,scale:l,valueof:g},rr(u.selected,"background"))),T=(0,n3.Z)(u,{selected:Object.assign({},(null===(d=u.selected)||void 0===d?void 0:d.offset)&&{transform:(...e)=>{let t=u.selected.offset(...e),[,n]=e;return iH(p[n],t,o)}})}),{setState:v,removeState:S,hasState:A}=iM(T,g),O=(e=!0)=>{for(let e of p)S(e,"selected","unselected"),b(e),E(e);e&&c.emit("element:unselect",{nativeEvent:!0})},_=(e,t,a=!0)=>{if(A(t,"selected"))O();else{let i=r(t),o=m.get(i),s=new Set(o);for(let e of p)s.has(e)?v(e,"selected"):(v(e,"unselected"),b(e)),e!==t&&E(e);if(h(o),y(t),!a)return;c.emit("element:select",Object.assign(Object.assign({},e),{nativeEvent:a,data:{data:[n(t),...o.map(n)]}}))}},k=(e,t,i=!0)=>{let o=r(t),s=m.get(o),l=new Set(s);if(A(t,"selected")){let e=p.some(e=>!l.has(e)&&A(e,"selected"));if(!e)return O();for(let e of s)v(e,"unselected"),b(e),E(e)}else{let e=s.some(e=>A(e,"selected"));for(let e of p)l.has(e)?v(e,"selected"):A(e,"selected")||v(e,"unselected");!e&&a&&h(s),y(t)}i&&c.emit("element:select",Object.assign(Object.assign({},e),{nativeEvent:i,data:{data:p.filter(e=>A(e,"selected")).map(n)}}))},I=e=>{let{target:t,nativeEvent:n=!0}=e;return f.has(t)?i?_(e,t,n):k(e,t,n):O()};e.addEventListener("click",I);let C=e=>{let{nativeEvent:t,data:r}=e;if(t)return;let a=i?r.data.slice(0,1):r.data;for(let e of a){let t=iz(p,e,n);I({target:t,nativeEvent:!1})}},N=()=>{O(!1)};return c.on("element:select",C),c.on("element:unselect",N),()=>{for(let e of p)b(e);e.removeEventListener("click",I),c.off("element:select",C),c.off("element:unselect",N)}}(p,Object.assign({elements:ik,datum:iP(l),groupKey:t?t(l):void 0,coordinate:u,scale:d,state:iB(c,[["selected",n?{}:{lineWidth:"1",stroke:"#000"}],"unselected"]),background:n,link:r,emitter:o},a))}}function pS(e){return pv(Object.assign(Object.assign({},e),{createGroup:iD}))}function pA(e){return pv(Object.assign(Object.assign({},e),{createGroup:iL}))}pv.props={reapplyWhenUpdate:!0},pS.props={reapplyWhenUpdate:!0},pA.props={reapplyWhenUpdate:!0};var pO=n(99711),p_=n(29173),pk=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function pI(e){var{wait:t=20,leading:n,trailing:r=!1,labelFormatter:a=e=>`${e}`}=e,i=pk(e,["wait","leading","trailing","labelFormatter"]);return e=>{let o;let{view:s,container:l,update:c,setState:u}=e,{markState:d,scale:p,coordinate:f}=s,m=function(e,t,n){let[r]=Array.from(e.entries()).filter(([e])=>e.type===t).map(([e])=>{let{encode:t}=e;return Object.fromEntries(n.map(e=>{let n=t[e];return[e,n?n.value:void 0]}))});return r}(d,"line",["x","y","series"]);if(!m)return;let{y:g,x:h,series:b=[]}=m,y=g.map((e,t)=>t),E=(0,aJ.Z)(y.map(e=>h[e])),T=iN(l),v=l.getElementsByClassName(ia),S=l.getElementsByClassName(il),A=(0,n4.ZP)(S,e=>e.__data__.key.split("-")[0]),O=new nS.x1({style:Object.assign({x1:0,y1:0,x2:0,y2:T.getAttribute("height"),stroke:"black",lineWidth:1},rr(i,"rule"))}),_=new nS.xv({style:Object.assign({x:0,y:T.getAttribute("height"),text:"",fontSize:10},rr(i,"label"))});O.append(_),T.appendChild(O);let k=(e,t,n)=>{let[r]=e.invert(n),a=t.invert(r);return E[(0,iu.ZR)(E,a)]},I=(e,t)=>{O.setAttribute("x1",e[0]),O.setAttribute("x2",e[0]),_.setAttribute("text",a(t))},C=e=>{let{scale:t,coordinate:n}=o,{x:r,y:a}=t,i=k(n,r,e);for(let t of(I(e,i),v)){let{seriesIndex:e,key:r}=t.__data__,o=e[(0,p_.Z)(e=>h[+e]).center(e,i)],s=[0,a.map(1)],l=[0,a.map(g[o]/g[e[0]])],[,c]=n.map(s),[,u]=n.map(l),d=c-u;t.setAttribute("transform",`translate(0, ${d})`);let p=A.get(r)||[];for(let e of p)e.setAttribute("dy",d)}},N=(0,pO.Z)(e=>{let t=iw(T,e);t&&C(t)},t,{leading:n,trailing:r});return(e=>{var t,n,r,a;return t=this,n=void 0,r=void 0,a=function*(){let{x:t}=p,n=k(f,t,e);I(e,n),u("chartIndex",e=>{let t=(0,n3.Z)({},e),r=t.marks.find(e=>"line"===e.type),a=(0,rv.Z)((0,n4.jJ)(y,e=>(0,rv.Z)(e,e=>+g[e])/(0,oD.Z)(e,e=>+g[e]),e=>b[e]).values());(0,n3.Z)(r,{scale:{y:{domain:[1/a,a]}}});let i=function(e){let{transform:t=[]}=e,n=t.find(e=>"normalizeY"===e.type);if(n)return n;let r={type:"normalizeY"};return t.push(r),e.transform=t,r}(r);for(let e of(i.groupBy="color",i.basis=(e,t)=>{let r=e[(0,p_.Z)(e=>h[+e]).center(e,n)];return t[r]},t.marks))e.animate=!1;return t});let r=yield c("chartIndex");o=r.view},new(r||(r=Promise))(function(e,i){function o(e){try{l(a.next(e))}catch(e){i(e)}}function s(e){try{l(a.throw(e))}catch(e){i(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof r?n:new r(function(e){e(n)})).then(o,s)}l((a=a.apply(t,n||[])).next())})})([0,0]),T.addEventListener("pointerenter",N),T.addEventListener("pointermove",N),T.addEventListener("pointerleave",N),()=>{O.remove(),T.removeEventListener("pointerenter",N),T.removeEventListener("pointermove",N),T.removeEventListener("pointerleave",N)}}}pI.props={reapplyWhenUpdate:!0};var pC=n(18320),pN=n(71894),px=n(61385),pw=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function pR(e,t){if(t)return"string"==typeof t?document.querySelector(t):t;let n=e.ownerDocument.defaultView.getContextService().getDomElement();return n.parentElement}function pL({root:e,data:t,x:n,y:r,render:a,event:i,single:o,position:s="right-bottom",enterable:l=!1,css:c,mount:u,bounding:d,offset:p}){let f=pR(e,u),m=pR(e),g=o?m:e,h=d||function(e){let t=e.getRenderBounds(),{min:[n,r],max:[a,i]}=t;return{x:n,y:r,width:a-n,height:i-r}}(e),b=function(e,t){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:n.x-r.x,y:n.y-r.y}}(m,f),{tooltipElement:y=function(e,t,n,r,a,i,o,s={},l=[10,10]){let c=new px.u({className:"tooltip",style:{x:t,y:n,container:o,data:[],bounding:i,position:r,enterable:a,title:"",offset:l,template:{prefixCls:"g2-"},style:(0,n3.Z)({".g2-tooltip":{},".g2-tooltip-title":{overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},s)}});return e.appendChild(c.HTMLTooltipElement),c}(f,n,r,s,l,h,b,c,p)}=g,{items:E,title:T=""}=t;y.update(Object.assign({x:n,y:r,data:E,title:T,position:s,enterable:l},void 0!==a&&{content:a(i,{items:E,title:T})})),g.tooltipElement=y}function pD({root:e,single:t,emitter:n,nativeEvent:r=!0,event:a=null}){r&&n.emit("tooltip:hide",{nativeEvent:r});let i=pR(e),o=t?i:e,{tooltipElement:s}=o;s&&s.hide(null==a?void 0:a.clientX,null==a?void 0:a.clientY),pU(e),pH(e),pG(e)}function pP({root:e,single:t}){let n=pR(e),r=t?n:e;if(!r)return;let{tooltipElement:a}=r;a&&(a.destroy(),r.tooltipElement=void 0),pU(e),pH(e),pG(e)}function pM(e){let{value:t}=e;return Object.assign(Object.assign({},e),{value:void 0===t?"undefined":t})}function pF(e){let t=e.getAttribute("fill"),n=e.getAttribute("stroke"),{__data__:r}=e,{color:a=t&&"transparent"!==t?t:n}=r;return a}function pB(e,t=e=>e){let n=new Map(e.map(e=>[t(e),e]));return Array.from(n.values())}function pj(e,t,n,r=e.map(e=>e.__data__),a={}){let i=e=>e instanceof Date?+e:e,o=pB(r.map(e=>e.title),i).filter(rn),s=r.flatMap((r,i)=>{let o=e[i],{items:s=[],title:l}=r,c=s.filter(rn),u=void 0!==n?n:s.length<=1;return c.map(e=>{var{color:n=pF(o)||a.color,name:i}=e,s=pw(e,["color","name"]);let c=function(e,t){let{color:n,series:r,facet:a=!1}=e,{color:i,series:o}=t;if(r&&r.invert&&!(r instanceof dd.t)&&!(r instanceof r7.s)){let e=r.clone();return e.invert(o)}if(o&&r instanceof dd.t&&r.invert(o)!==i&&!a)return r.invert(o);if(n&&n.invert&&!(n instanceof dd.t)&&!(n instanceof r7.s)){let e=n.invert(i);return Array.isArray(e)?null:e}return null}(t,r);return Object.assign(Object.assign({},s),{color:n,name:(u?c||i:i||c)||l})})}).map(pM);return Object.assign(Object.assign({},o.length>0&&{title:o.join(",")}),{items:pB(s,e=>`(${i(e.name)}, ${i(e.value)}, ${i(e.color)})`)})}function pU(e){e.ruleY&&(e.ruleY.remove(),e.ruleY=void 0)}function pH(e){e.ruleX&&(e.ruleX.remove(),e.ruleX=void 0)}function pG(e){e.markers&&(e.markers.forEach(e=>e.remove()),e.markers=[])}function p$(e,t){return Array.from(e.values()).some(e=>{var n;return null===(n=e.interaction)||void 0===n?void 0:n[t]})}function pz(e,t){return void 0===e?t:e}function pZ(e){let{title:t,items:n}=e;return 0===n.length&&void 0===t}function pW(e,t){var{elements:n,sort:r,filter:a,scale:i,coordinate:o,crosshairs:s,crosshairsX:l,crosshairsY:c,render:u,groupName:d,emitter:p,wait:f=50,leading:m=!0,trailing:g=!1,startX:h=0,startY:b=0,body:y=!0,single:E=!0,position:T,enterable:v,mount:S,bounding:A,theme:O,offset:_,disableNative:k=!1,marker:I=!0,preserve:C=!1,style:N={},css:x={}}=t,w=pw(t,["elements","sort","filter","scale","coordinate","crosshairs","crosshairsX","crosshairsY","render","groupName","emitter","wait","leading","trailing","startX","startY","body","single","position","enterable","mount","bounding","theme","offset","disableNative","marker","preserve","style","css"]);let R=n(e),L=rx(o),D=rw(o),P=(0,n3.Z)(N,w),{innerWidth:M,innerHeight:F,width:B,height:j,insetLeft:U,insetTop:H}=o.getOptions(),G=[],$=[];for(let e of R){let{__data__:t}=e,{seriesX:n,title:r,items:a}=t;n?G.push(e):(r||a)&&$.push(e)}let z=$.length&&$.every(e=>"interval"===e.markType)&&!rw(o),Z=e=>e.__data__.x,W=!!i.x.getBandWidth,Y=W&&$.length>0;G.sort((e,t)=>{let n=L?0:1,r=e=>e.getBounds().min[n];return L?r(t)-r(e):r(e)-r(t)});let V=e=>{let t=L?1:0,{min:n,max:r}=e.getLocalBounds();return(0,aJ.Z)([n[t],r[t]])};z?R.sort((e,t)=>Z(e)-Z(t)):$.sort((e,t)=>{let[n,r]=V(e),[a,i]=V(t),o=(n+r)/2,s=(a+i)/2;return L?s-o:o-s});let q=new Map(G.map(e=>{let{__data__:t}=e,{seriesX:n}=t,r=n.map((e,t)=>t),a=(0,aJ.Z)(r,e=>n[+e]);return[e,[a,n]]})),{x:K}=i,X=(null==K?void 0:K.getBandWidth)?K.getBandWidth()/2:0,Q=e=>{let[t]=o.invert(e);return t-X},J=(e,t,n,r)=>{let{_x:a}=e,i=void 0!==a?K.map(a):Q(t),o=r.filter(rn),[s,l]=(0,aJ.Z)([o[0],o[o.length-1]]);if(!Y&&(il)&&s!==l)return null;let c=(0,p_.Z)(e=>r[+e]).center,u=c(n,i);return n[u]},ee=z?(e,t)=>{let n=(0,p_.Z)(Z).center,r=n(t,Q(e)),a=t[r],i=(0,n4.ZP)(t,Z),o=i.get(Z(a));return o}:(e,t)=>{let n=L?1:0,r=e[n],a=t.filter(e=>{let[t,n]=V(e);return r>=t&&r<=n});if(!Y||a.length>0)return a;let i=(0,p_.Z)(e=>{let[t,n]=V(e);return(t+n)/2}).center,o=i(t,r);return[t[o]].filter(rn)},et=(e,t)=>{let{__data__:n}=e;return Object.fromEntries(Object.entries(n).filter(([e])=>e.startsWith("series")&&"series"!==e).map(([e,n])=>{let r=n[t];return[(0,n5.Z)(e.replace("series","")),r]}))},en=(0,pO.Z)(t=>{var n;let f=iw(e,t);if(!f)return;let m=ix(e),g=m.min[0],k=m.min[1],C=[f[0]-h,f[1]-b];if(!C)return;let N=ee(C,$),w=[],R=[];for(let e of G){let[n,r]=q.get(e),a=J(t,C,n,r);if(null!==a){w.push(e);let t=et(e,a),{x:n,y:r}=t,i=o.map([(n||0)+X,r||0]);R.push([Object.assign(Object.assign({},t),{element:e}),i])}}let z=Array.from(new Set(R.map(e=>e[0].x))),Z=z[(0,pC.Z)(z,e=>Math.abs(e-Q(C)))],W=R.filter(e=>e[0].x===Z),Y=[...W.map(e=>e[0]),...N.map(e=>e.__data__)],V=[...w,...N],K=pj(V,i,d,Y,O);if(r&&K.items.sort((e,t)=>r(e)-r(t)),a&&(K.items=K.items.filter(a)),0===V.length||pZ(K)){er(t);return}if(y&&pL({root:e,data:K,x:f[0]+g,y:f[1]+k,render:u,event:t,single:E,position:T,enterable:v,mount:S,bounding:A,css:x,offset:_}),s||l||c){let t=rr(P,"crosshairs"),n=Object.assign(Object.assign({},t),rr(P,"crosshairsX")),r=Object.assign(Object.assign({},t),rr(P,"crosshairsY")),a=W.map(e=>e[1]);l&&function(e,t,n,r){var{plotWidth:a,plotHeight:i,mainWidth:o,mainHeight:s,startX:l,startY:c,transposed:u,polar:d,insetLeft:p,insetTop:f}=r,m=pw(r,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);let g=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},m),h=((e,t)=>{if(1===t.length)return t[0];let n=t.map(t=>aE(t,e)),r=(0,pC.Z)(n,e=>e);return t[r]})(n,t);if(d){let[t,n,r]=(()=>{let e=l+p+o/2,t=c+f+s/2,n=aE([e,t],h);return[e,t,n]})(),a=e.ruleX||((t,n,r)=>{let a=new nS.Cd({style:Object.assign({cx:t,cy:n,r},g)});return e.appendChild(a),a})(t,n,r);a.style.cx=t,a.style.cy=n,a.style.r=r,e.ruleX=a}else{let[t,n,r,o]=u?[l+h[0],l+h[0],c,c+i]:[l,l+a,h[1]+c,h[1]+c],s=e.ruleX||((t,n,r,a)=>{let i=new nS.x1({style:Object.assign({x1:t,x2:n,y1:r,y2:a},g)});return e.appendChild(i),i})(t,n,r,o);s.style.x1=t,s.style.x2=n,s.style.y1=r,s.style.y2=o,e.ruleX=s}}(e,a,f,Object.assign(Object.assign({},n),{plotWidth:M,plotHeight:F,mainWidth:B,mainHeight:j,insetLeft:U,insetTop:H,startX:h,startY:b,transposed:L,polar:D})),c&&function(e,t,n){var{plotWidth:r,plotHeight:a,mainWidth:i,mainHeight:o,startX:s,startY:l,transposed:c,polar:u,insetLeft:d,insetTop:p}=n,f=pw(n,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);let m=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},f),g=t.map(e=>e[1]),h=t.map(e=>e[0]),b=(0,pN.Z)(g),y=(0,pN.Z)(h),[E,T,v,S]=(()=>{if(u){let e=Math.min(i,o)/2,t=s+d+i/2,n=l+p+o/2,r=aT(ay([y,b],[t,n])),a=t+e*Math.cos(r),c=n+e*Math.sin(r);return[t,a,n,c]}return c?[s,s+r,b+l,b+l]:[y+s,y+s,l,l+a]})();if(h.length>0){let t=e.ruleY||(()=>{let t=new nS.x1({style:Object.assign({x1:E,x2:T,y1:v,y2:S},m)});return e.appendChild(t),t})();t.style.x1=E,t.style.x2=T,t.style.y1=v,t.style.y2=S,e.ruleY=t}}(e,a,Object.assign(Object.assign({},r),{plotWidth:M,plotHeight:F,mainWidth:B,mainHeight:j,insetLeft:U,insetTop:H,startX:h,startY:b,transposed:L,polar:D}))}if(I){let t=rr(P,"marker");!function(e,{data:t,style:n,theme:r}){e.markers&&e.markers.forEach(e=>e.remove());let{type:a=""}=n,i=t.filter(e=>{let[{x:t,y:n}]=e;return rn(t)&&rn(n)}).map(e=>{let[{color:t,element:i},o]=e,s=t||i.style.fill||i.style.stroke||r.color,l=new nS.Cd({className:"g2-tooltip-marker",style:Object.assign({cx:o[0],cy:o[1],fill:"hollow"===a?"transparent":s,r:4,stroke:"hollow"===a?s:"#fff",lineWidth:2},n)});return l});for(let t of i)e.appendChild(t);e.markers=i}(e,{data:W,style:t,theme:O})}let en=null===(n=W[0])||void 0===n?void 0:n[0].x,ea=null!=en?en:Q(C);p.emit("tooltip:show",Object.assign(Object.assign({},t),{nativeEvent:!0,data:{data:{x:ip(i.x,ea,!0)}}}))},f,{leading:m,trailing:g}),er=t=>{pD({root:e,single:E,emitter:p,event:t})},ea=()=>{pP({root:e,single:E})},ei=t=>{var n,{nativeEvent:r,data:a,offsetX:s,offsetY:l}=t,c=pw(t,["nativeEvent","data","offsetX","offsetY"]);if(r)return;let u=null===(n=null==a?void 0:a.data)||void 0===n?void 0:n.x,d=i.x,p=d.map(u),[f,m]=o.map([p,.5]),g=e.getRenderBounds(),h=g.min[0],b=g.min[1];en(Object.assign(Object.assign({},c),{offsetX:void 0!==s?s:h+f,offsetY:void 0!==l?l:b+m,_x:u}))},eo=()=>{pD({root:e,single:E,emitter:p,nativeEvent:!1})},es=()=>{eu(),ea()},el=()=>{ec()},ec=()=>{k||(e.addEventListener("pointerenter",en),e.addEventListener("pointermove",en),e.addEventListener("pointerleave",t=>{iw(e,t)||er(t)}))},eu=()=>{k||(e.removeEventListener("pointerenter",en),e.removeEventListener("pointermove",en),e.removeEventListener("pointerleave",er))};return ec(),p.on("tooltip:show",ei),p.on("tooltip:hide",eo),p.on("tooltip:disable",es),p.on("tooltip:enable",el),()=>{eu(),p.off("tooltip:show",ei),p.off("tooltip:hide",eo),p.off("tooltip:disable",es),p.off("tooltip:enable",el),C?pD({root:e,single:E,emitter:p,nativeEvent:!1}):ea()}}function pY(e){let{shared:t,crosshairs:n,crosshairsX:r,crosshairsY:a,series:i,name:o,item:s=()=>({}),facet:l=!1}=e,c=pw(e,["shared","crosshairs","crosshairsX","crosshairsY","series","name","item","facet"]);return(e,o,u)=>{let{container:d,view:p}=e,{scale:f,markState:m,coordinate:g,theme:h}=p,b=p$(m,"seriesTooltip"),y=p$(m,"crosshairs"),E=iN(d),T=pz(i,b),v=pz(n,y);if(T&&Array.from(m.values()).some(e=>{var t;return(null===(t=e.interaction)||void 0===t?void 0:t.seriesTooltip)&&e.tooltip})&&!l)return pW(E,Object.assign(Object.assign({},c),{theme:h,elements:ik,scale:f,coordinate:g,crosshairs:v,crosshairsX:pz(pz(r,n),!1),crosshairsY:pz(a,v),item:s,emitter:u}));if(T&&l){let t=o.filter(t=>t!==e&&t.options.parentKey===e.options.key),i=iI(e,o),l=t[0].view.scale,d=E.getBounds(),p=d.min[0],f=d.min[1];return Object.assign(l,{facet:!0}),pW(E.parentNode.parentNode,Object.assign(Object.assign({},c),{theme:h,elements:()=>i,scale:l,coordinate:g,crosshairs:pz(n,y),crosshairsX:pz(pz(r,n),!1),crosshairsY:pz(a,v),item:s,startX:p,startY:f,emitter:u}))}return function(e,{elements:t,coordinate:n,scale:r,render:a,groupName:i,sort:o,filter:s,emitter:l,wait:c=50,leading:u=!0,trailing:d=!1,groupKey:p=e=>e,single:f=!0,position:m,enterable:g,datum:h,view:b,mount:y,bounding:E,theme:T,offset:v,shared:S=!1,body:A=!0,disableNative:O=!1,preserve:_=!1,css:k={}}){var I,C;let N=t(e),x=(0,n4.ZP)(N,p),w=N.every(e=>"interval"===e.markType)&&!rw(n),R=r.x,L=r.series,D=null!==(C=null===(I=null==R?void 0:R.getBandWidth)||void 0===I?void 0:I.call(R))&&void 0!==C?C:0,P=L?e=>e.__data__.x+e.__data__.series*D:e=>e.__data__.x+D/2;w&&N.sort((e,t)=>P(e)-P(t));let M=e=>{let{target:t}=e;return iV(t,e=>!!e.classList&&e.classList.includes("element"))},F=w?t=>{let r=iw(e,t);if(!r)return;let[a]=n.invert(r),i=(0,p_.Z)(P).center,o=i(N,a),s=N[o];if(!S){let e=N.find(e=>e!==s&&P(e)===P(s));if(e)return M(t)}return s}:M,B=(0,pO.Z)(t=>{let n=F(t);if(!n){pD({root:e,single:f,emitter:l,event:t});return}let c=p(n),u=x.get(c);if(!u)return;let d=1!==u.length||S?pj(u,r,i,void 0,T):function(e){let{__data__:t}=e,{title:n,items:r=[]}=t,a=r.filter(rn).map(t=>{var{color:n=pF(e)}=t;return Object.assign(Object.assign({},pw(t,["color"])),{color:n})}).map(pM);return Object.assign(Object.assign({},n&&{title:n}),{items:a})}(u[0]);if(o&&d.items.sort((e,t)=>o(e)-o(t)),s&&(d.items=d.items.filter(s)),pZ(d)){pD({root:e,single:f,emitter:l,event:t});return}let{offsetX:h,offsetY:O}=t;A&&pL({root:e,data:d,x:h,y:O,render:a,event:t,single:f,position:m,enterable:g,mount:y,bounding:E,css:k,offset:v}),l.emit("tooltip:show",Object.assign(Object.assign({},t),{nativeEvent:!0,data:{data:iq(n,b)}}))},c,{leading:u,trailing:d}),j=t=>{pD({root:e,single:f,emitter:l,event:t})},U=()=>{O||(e.addEventListener("pointermove",B),e.addEventListener("pointerleave",j))},H=()=>{O||(e.removeEventListener("pointermove",B),e.removeEventListener("pointerleave",j))},G=({nativeEvent:t,offsetX:n,offsetY:r,data:a})=>{if(t)return;let{data:i}=a,o=iz(N,i,h);if(!o)return;let s=o.getBBox(),{x:l,y:c,width:u,height:d}=s,p=e.getBBox();B({target:o,offsetX:void 0!==n?n+p.x:l+u/2,offsetY:void 0!==r?r+p.y:c+d/2})},$=({nativeEvent:t}={})=>{t||pD({root:e,single:f,emitter:l,nativeEvent:!1})};return l.on("tooltip:show",G),l.on("tooltip:hide",$),l.on("tooltip:enable",()=>{U()}),l.on("tooltip:disable",()=>{H(),pP({root:e,single:f})}),U(),()=>{H(),l.off("tooltip:show",G),l.off("tooltip:hide",$),_?pD({root:e,single:f,emitter:l,nativeEvent:!1}):pP({root:e,single:f})}}(E,Object.assign(Object.assign({},c),{datum:iP(p),elements:ik,scale:f,coordinate:g,groupKey:t?iD(p):void 0,item:s,emitter:u,view:p,theme:h,shared:t}))}}pY.props={reapplyWhenUpdate:!0};var pV=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};let pq="legend-category";function pK(e){return e.getElementsByClassName("legend-category-item-marker")[0]}function pX(e){return e.getElementsByClassName("legend-category-item-label")[0]}function pQ(e){return e.getElementsByClassName("items-item")}function pJ(e){return e.getElementsByClassName(pq)}function p0(e){return e.getElementsByClassName("legend-continuous")}function p1(e){let t=e.parentNode;for(;t&&!t.__data__;)t=t.parentNode;return t.__data__}function p2(e,{legend:t,channel:n,value:r,ordinal:a,channels:i,allChannels:o,facet:s=!1}){return pV(this,void 0,void 0,function*(){let{view:l,update:c,setState:u}=e;u(t,e=>{let{marks:t}=e,c=t.map(e=>{if("legends"===e.type)return e;let{transform:t=[],data:c=[]}=e,u=t.findIndex(({type:e})=>e.startsWith("group")||e.startsWith("bin")),d=[...t];c.length&&d.splice(u+1,0,{type:"filter",[n]:{value:r,ordinal:a}});let p=Object.fromEntries(i.map(e=>[e,{domain:l.scale[e].getOptions().domain}]));return(0,n3.Z)({},e,Object.assign(Object.assign({transform:d,scale:p},!a&&{animate:!1}),{legend:!s&&Object.fromEntries(o.map(e=>[e,{preserve:!0}]))}))});return Object.assign(Object.assign({},e),{marks:c})}),yield c()})}function p3(e,t){for(let n of e)p2(n,Object.assign(Object.assign({},t),{facet:!0}))}var p4=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function p5(e,t){for(let[n,r]of Object.entries(t))e.style(n,r)}let p6=aM(e=>{let t=e.attributes,{x:n,y:r,width:a,height:i,class:o,renders:s={},handleSize:l=10,document:c}=t,u=p4(t,["x","y","width","height","class","renders","handleSize","document"]);if(!c||void 0===a||void 0===i||void 0===n||void 0===r)return;let d=l/2,p=(e,t,n)=>{e.handle||(e.handle=n.createElement("rect"),e.append(e.handle));let{handle:r}=e;return r.attr(t),r},f=rr(ri(u,"handleNW","handleNE"),"handleN"),{render:m=p}=f,g=p4(f,["render"]),h=rr(u,"handleE"),{render:b=p}=h,y=p4(h,["render"]),E=rr(ri(u,"handleSE","handleSW"),"handleS"),{render:T=p}=E,v=p4(E,["render"]),S=rr(u,"handleW"),{render:A=p}=S,O=p4(S,["render"]),_=rr(u,"handleNW"),{render:k=p}=_,I=p4(_,["render"]),C=rr(u,"handleNE"),{render:N=p}=C,x=p4(C,["render"]),w=rr(u,"handleSE"),{render:R=p}=w,L=p4(w,["render"]),D=rr(u,"handleSW"),{render:P=p}=D,M=p4(D,["render"]),F=(e,t)=>{let{id:n}=e,r=t(e,e.attributes,c);r.id=n,r.style.draggable=!0},B=e=>()=>{let t=aM(t=>F(t,e));return new t({})},j=rc(e).attr("className",o).style("transform",`translate(${n}, ${r})`).style("draggable",!0);j.maybeAppend("selection","rect").style("draggable",!0).style("fill","transparent").call(p5,Object.assign(Object.assign({width:a,height:i},ri(u,"handle")),{transform:void 0})),j.maybeAppend("handle-n",B(m)).style("x",d).style("y",-d).style("width",a-l).style("height",l).style("fill","transparent").call(p5,g),j.maybeAppend("handle-e",B(b)).style("x",a-d).style("y",d).style("width",l).style("height",i-l).style("fill","transparent").call(p5,y),j.maybeAppend("handle-s",B(T)).style("x",d).style("y",i-d).style("width",a-l).style("height",l).style("fill","transparent").call(p5,v),j.maybeAppend("handle-w",B(A)).style("x",-d).style("y",d).style("width",l).style("height",i-l).style("fill","transparent").call(p5,O),j.maybeAppend("handle-nw",B(k)).style("x",-d).style("y",-d).style("width",l).style("height",l).style("fill","transparent").call(p5,I),j.maybeAppend("handle-ne",B(N)).style("x",a-d).style("y",-d).style("width",l).style("height",l).style("fill","transparent").call(p5,x),j.maybeAppend("handle-se",B(R)).style("x",a-d).style("y",i-d).style("width",l).style("height",l).style("fill","transparent").call(p5,L),j.maybeAppend("handle-sw",B(P)).style("x",-d).style("y",i-d).style("width",l).style("height",l).style("fill","transparent").call(p5,M)});function p9(e,t){var{brushed:n=()=>{},brushended:r=()=>{},brushcreated:a=()=>{},brushstarted:i=()=>{},brushupdated:o=()=>{},extent:s=function(e){let{width:t,height:n}=e.getBBox();return[0,0,t,n]}(e),brushRegion:l=(e,t,n,r,a)=>[e,t,n,r],reverse:c=!1,fill:u="#777",fillOpacity:d="0.3",stroke:p="#fff",selectedHandles:f=["handle-n","handle-e","handle-s","handle-w","handle-nw","handle-ne","handle-se","handle-sw"]}=t,m=p4(t,["brushed","brushended","brushcreated","brushstarted","brushupdated","extent","brushRegion","reverse","fill","fillOpacity","stroke","selectedHandles"]);let g=null,h=null,b=null,y=null,E=null,T=!1,[v,S,A,O]=s;i$(e,"crosshair"),e.style.draggable=!0;let _=(e,t,n)=>{if(i(n),y&&y.remove(),E&&E.remove(),g=[e,t],c)return k();I()},k=()=>{E=new nS.y$({style:Object.assign(Object.assign({},m),{fill:u,fillOpacity:d,stroke:p,pointerEvents:"none"})}),y=new p6({style:{x:0,y:0,width:0,height:0,draggable:!0,document:e.ownerDocument},className:"mask"}),e.appendChild(E),e.appendChild(y)},I=()=>{y=new p6({style:Object.assign(Object.assign({document:e.ownerDocument,x:0,y:0},m),{fill:u,fillOpacity:d,stroke:p,draggable:!0}),className:"mask"}),e.appendChild(y)},C=(e=!0)=>{y&&y.remove(),E&&E.remove(),g=null,h=null,b=null,T=!1,y=null,E=null,r(e)},N=(e,t,r=!0)=>{let[a,i,o,u]=function(e,t,n,r,a){let[i,o,s,l]=a;return[Math.max(i,Math.min(e,n)),Math.max(o,Math.min(t,r)),Math.min(s,Math.max(e,n)),Math.min(l,Math.max(t,r))]}(e[0],e[1],t[0],t[1],s),[d,p,f,m]=l(a,i,o,u,s);return c?w(d,p,f,m):x(d,p,f,m),n(d,p,f,m,r),[d,p,f,m]},x=(e,t,n,r)=>{y.style.x=e,y.style.y=t,y.style.width=n-e,y.style.height=r-t},w=(e,t,n,r)=>{E.style.d=` + M${v},${S}L${A},${S}L${A},${O}L${v},${O}Z + M${e},${t}L${e},${r}L${n},${r}L${n},${t}Z + `,y.style.x=e,y.style.y=t,y.style.width=n-e,y.style.height=r-t},R=e=>{let t=(e,t,n,r,a)=>e+ta?a-n:e,n=e[0]-b[0],r=e[1]-b[1],a=t(n,g[0],h[0],v,A),i=t(r,g[1],h[1],S,O),o=[g[0]+a,g[1]+i],s=[h[0]+a,h[1]+i];N(o,s)},L={"handle-n":{vector:[0,1,0,0],cursor:"ns-resize"},"handle-e":{vector:[0,0,1,0],cursor:"ew-resize"},"handle-s":{vector:[0,0,0,1],cursor:"ns-resize"},"handle-w":{vector:[1,0,0,0],cursor:"ew-resize"},"handle-nw":{vector:[1,1,0,0],cursor:"nwse-resize"},"handle-ne":{vector:[0,1,1,0],cursor:"nesw-resize"},"handle-se":{vector:[0,0,1,1],cursor:"nwse-resize"},"handle-sw":{vector:[1,0,0,1],cursor:"nesw-resize"}},D=e=>M(e)||P(e),P=e=>{let{id:t}=e;return -1!==f.indexOf(t)&&new Set(Object.keys(L)).has(t)},M=e=>e===y.getElementById("selection"),F=t=>{let{target:n}=t,[r,a]=iR(e,t);if(!y||!D(n)){_(r,a,t),T=!0;return}D(n)&&(b=[r,a])},B=t=>{let{target:n}=t,r=iR(e,t);if(!g)return;if(!b)return N(g,r);if(M(n))return R(r);let[a,i]=[r[0]-b[0],r[1]-b[1]],{id:o}=n;if(L[o]){let[e,t,n,r]=L[o].vector;return N([g[0]+a*e,g[1]+i*t],[h[0]+a*n,h[1]+i*r])}},j=t=>{if(b){b=null;let{x:e,y:n,width:r,height:a}=y.style;g=[e,n],h=[e+r,n+a],o(e,n,e+r,n+a,t);return}h=iR(e,t);let[n,r,i,s]=N(g,h);T=!1,a(n,r,i,s,t)},U=e=>{let{target:t}=e;y&&!D(t)&&C()},H=t=>{let{target:n}=t;y&&D(n)&&!T?M(n)?i$(e,"move"):P(n)&&i$(e,L[n.id].cursor):i$(e,"crosshair")},G=()=>{i$(e,"default")};return e.addEventListener("dragstart",F),e.addEventListener("drag",B),e.addEventListener("dragend",j),e.addEventListener("click",U),e.addEventListener("pointermove",H),e.addEventListener("pointerleave",G),{mask:y,move(e,t,n,r,a=!0){y||_(e,t,{}),g=[e,t],h=[n,r],N([e,t],[n,r],a)},remove(e=!0){y&&C(e)},destroy(){y&&C(!1),i$(e,"default"),e.removeEventListener("dragstart",F),e.removeEventListener("drag",B),e.removeEventListener("dragend",j),e.removeEventListener("click",U),e.removeEventListener("pointermove",H),e.removeEventListener("pointerleave",G)}}}function p8(e,t,n){return t.filter(t=>{if(t===e)return!1;let{interaction:r={}}=t.options;return Object.values(r).find(e=>e.brushKey===n)})}function p7(e,t){var{elements:n,selectedHandles:r,siblings:a=e=>[],datum:i,brushRegion:o,extent:s,reverse:l,scale:c,coordinate:u,series:d=!1,key:p=e=>e,bboxOf:f=e=>{let{x:t,y:n,width:r,height:a}=e.style;return{x:t,y:n,width:r,height:a}},state:m={},emitter:g}=t,h=p4(t,["elements","selectedHandles","siblings","datum","brushRegion","extent","reverse","scale","coordinate","series","key","bboxOf","state","emitter"]);let b=n(e),y=a(e),E=y.flatMap(n),T=ij(b,i),v=rr(h,"mask"),{setState:S,removeState:A}=iM(m,T),O=new Map,{width:_,height:k,x:I=0,y:C=0}=f(e),N=()=>{for(let e of[...b,...E])A(e,"active","inactive")},x=(e,t,n,r)=>{var a;for(let e of y)null===(a=e.brush)||void 0===a||a.remove();let i=new Set;for(let a of b){let{min:o,max:s}=a.getLocalBounds(),[l,c]=o,[u,d]=s;!function(e,t){let[n,r,a,i]=e,[o,s,l,c]=t;return!(o>a||li||c{for(let e of b)A(e,"inactive");for(let e of O.values())e.remove();O.clear()},R=(t,n,r,a)=>{let i=e=>{let t=e.cloneNode();return t.__data__=e.__data__,e.parentNode.appendChild(t),O.set(e,t),t},o=new nS.UL({style:{x:t+I,y:n+C,width:r-t,height:a-n}});for(let t of(e.appendChild(o),b)){let e=O.get(t)||i(t);e.style.clipPath=o,S(t,"inactive"),S(e,"active")}},L=p9(e,Object.assign(Object.assign({},v),{extent:s||[0,0,_,k],brushRegion:o,reverse:l,selectedHandles:r,brushended:e=>{let t=d?w:N;e&&g.emit("brush:remove",{nativeEvent:!0}),t()},brushed:(e,t,n,r,a)=>{let i=ig(e,t,n,r,c,u);a&&g.emit("brush:highlight",{nativeEvent:!0,data:{selection:i}});let o=d?R:x;o(e,t,n,r)},brushcreated:(e,t,n,r,a)=>{let i=ig(e,t,n,r,c,u);g.emit("brush:end",Object.assign(Object.assign({},a),{nativeEvent:!0,data:{selection:i}}))},brushupdated:(e,t,n,r,a)=>{let i=ig(e,t,n,r,c,u);g.emit("brush:end",Object.assign(Object.assign({},a),{nativeEvent:!0,data:{selection:i}}))},brushstarted:e=>{g.emit("brush:start",e)}})),D=({nativeEvent:e,data:t})=>{if(e)return;let{selection:n}=t,[r,a,i,o]=function(e,t,n){let{x:r,y:a}=t,[i,o]=e,s=ih(i,r),l=ih(o,a),c=[s[0],l[0]],u=[s[1],l[1]],[d,p]=n.map(c),[f,m]=n.map(u);return[d,p,f,m]}(n,c,u);L.move(r,a,i,o,!1)};g.on("brush:highlight",D);let P=({nativeEvent:e}={})=>{e||L.remove(!1)};g.on("brush:remove",P);let M=L.destroy.bind(L);return L.destroy=()=>{g.off("brush:highlight",D),g.off("brush:remove",P),M()},L}function fe(e){var{facet:t,brushKey:n}=e,r=p4(e,["facet","brushKey"]);return(e,a,i)=>{let{container:o,view:s,options:l}=e,c=iN(o),u={maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",reverse:!1},d=["active",["inactive",{opacity:.5}]],{scale:p,coordinate:f}=s;if(t){let t=c.getBounds(),n=t.min[0],o=t.min[1],s=t.max[0],l=t.max[1];return p7(c.parentNode.parentNode,Object.assign(Object.assign({elements:()=>iI(e,a),datum:iP(iC(e,a).map(e=>e.view)),brushRegion:(e,t,n,r)=>[e,t,n,r],extent:[n,o,s,l],state:iB(iC(e,a).map(e=>e.options),d),emitter:i,scale:p,coordinate:f,selectedHandles:void 0},u),r))}let m=p7(c,Object.assign(Object.assign({elements:ik,key:e=>e.__data__.key,siblings:()=>p8(e,a,n).map(e=>iN(e.container)),datum:iP([s,...p8(e,a,n).map(e=>e.view)]),brushRegion:(e,t,n,r)=>[e,t,n,r],extent:void 0,state:iB([l,...p8(e,a,n).map(e=>e.options)],d),emitter:i,scale:p,coordinate:f,selectedHandles:void 0},u),r));return c.brush=m,()=>m.destroy()}}function ft(e,t,n,r,a){let[,i,,o]=a;return[e,i,n,o]}function fn(e,t,n,r,a){let[i,,o]=a;return[i,t,o,r]}var fr=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let fa="axis-hot-area";function fi(e){return e.getElementsByClassName("axis")}function fo(e){return e.getElementsByClassName("axis-line")[0]}function fs(e){return e.getElementsByClassName("axis-main-group")[0].getLocalBounds()}function fl(e,t){var{cross:n,offsetX:r,offsetY:a}=t,i=fr(t,["cross","offsetX","offsetY"]);let o=fs(e),s=fo(e),[l]=s.getLocalBounds().min,[c,u]=o.min,[d,p]=o.max,f=(d-c)*2;return{brushRegion:fn,hotZone:new nS.UL({className:fa,style:Object.assign({width:n?f/2:f,transform:`translate(${(n?c:l-f/2).toFixed(2)}, ${u})`,height:p-u},i)}),extent:n?(e,t,n,r)=>[-1/0,t,1/0,r]:(e,t,n,a)=>[Math.floor(c-r),t,Math.ceil(d-r),a]}}function fc(e,t){var{offsetY:n,offsetX:r,cross:a=!1}=t,i=fr(t,["offsetY","offsetX","cross"]);let o=fs(e),s=fo(e),[,l]=s.getLocalBounds().min,[c,u]=o.min,[d,p]=o.max,f=p-u;return{brushRegion:ft,hotZone:new nS.UL({className:fa,style:Object.assign({width:d-c,height:a?f:2*f,transform:`translate(${c}, ${a?u:l-f})`},i)}),extent:a?(e,t,n,r)=>[e,-1/0,n,1/0]:(e,t,r,a)=>[e,Math.floor(u-n),r,Math.ceil(p-n)]}}var fu=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function fd(e){var{hideX:t=!0,hideY:n=!0}=e,r=fu(e,["hideX","hideY"]);return(e,a,i)=>{let{container:o,view:s,options:l,update:c,setState:u}=e,d=iN(o),p=!1,f=!1,m=s,{scale:g,coordinate:h}=s;return function(e,t){var{filter:n,reset:r,brushRegion:a,extent:i,reverse:o,emitter:s,scale:l,coordinate:c,selection:u,series:d=!1}=t,p=fu(t,["filter","reset","brushRegion","extent","reverse","emitter","scale","coordinate","selection","series"]);let f=rr(p,"mask"),{width:m,height:g}=e.getBBox(),h=function(e=300){let t=null;return n=>{let{timeStamp:r}=n;return null!==t&&r-t{if(e)return;let{selection:r}=t;n(r,{nativeEvent:!1})};return s.on("brush:filter",E),()=>{b.destroy(),s.off("brush:filter",E),e.removeEventListener("click",y)}}(d,Object.assign(Object.assign({brushRegion:(e,t,n,r)=>[e,t,n,r],selection:(e,t,n,r)=>{let{scale:a,coordinate:i}=m;return ig(e,t,n,r,a,i)},filter:(e,r)=>{var a,o,s,d;return a=this,o=void 0,s=void 0,d=function*(){if(f)return;f=!0;let[a,o]=e;u("brushFilter",e=>{let{marks:r}=e,i=r.map(e=>(0,n3.Z)({axis:Object.assign(Object.assign({},t&&{x:{transform:[{type:"hide"}]}}),n&&{y:{transform:[{type:"hide"}]}})},e,{scale:{x:{domain:a,nice:!1},y:{domain:o,nice:!1}}}));return Object.assign(Object.assign({},l),{marks:i,clip:!0})}),i.emit("brush:filter",Object.assign(Object.assign({},r),{data:{selection:[a,o]}}));let s=yield c();m=s.view,f=!1,p=!0},new(s||(s=Promise))(function(e,t){function n(e){try{i(d.next(e))}catch(e){t(e)}}function r(e){try{i(d.throw(e))}catch(e){t(e)}}function i(t){var a;t.done?e(t.value):((a=t.value)instanceof s?a:new s(function(e){e(a)})).then(n,r)}i((d=d.apply(a,o||[])).next())})},reset:e=>{if(f||!p)return;let{scale:t}=s,{x:n,y:r}=t,a=n.getOptions().domain,o=r.getOptions().domain;i.emit("brush:filter",Object.assign(Object.assign({},e),{data:{selection:[a,o]}})),p=!1,m=s,u("brushFilter"),c()},extent:void 0,emitter:i,scale:g,coordinate:h},{maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",unhighlightedOpacity:.5,reverse:!1}),r))}}var fp=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};function ff(e){return[e[0],e[e.length-1]]}function fm({initDomain:e={},className:t="slider",prefix:n="slider",setValue:r=(e,t)=>e.setValues(t),hasState:a=!1,wait:i=50,leading:o=!0,trailing:s=!1,getInitValues:l=e=>{var t;let n=null===(t=null==e?void 0:e.attributes)||void 0===t?void 0:t.values;if(0!==n[0]||1!==n[1])return n}}){return(c,u,d)=>{let{container:p,view:f,update:m,setState:g}=c,h=p.getElementsByClassName(t);if(!h.length)return()=>{};let b=!1,{scale:y,coordinate:E,layout:T}=f,{paddingLeft:v,paddingTop:S,paddingBottom:A,paddingRight:O}=T,{x:_,y:k}=y,I=rx(E),C=e=>{let t="vertical"===e?"y":"x",n="vertical"===e?"x":"y";return I?[n,t]:[t,n]},N=new Map,x=new Set,w={x:e.x||_.getOptions().domain,y:e.y||k.getOptions().domain};for(let e of h){let{orientation:t}=e.attributes,[c,u]=C(t),p=`${n}${(0,rf.Z)(c)}:filter`,f="x"===c,{ratio:h}=_.getOptions(),{ratio:E}=k.getOptions(),T=e=>{if(e.data){let{selection:t}=e.data,[n=ff(w.x),r=ff(w.y)]=t;return f?[im(_,n,h),im(k,r,E)]:[im(k,r,E),im(_,n,h)]}let{value:n}=e.detail,r=y[c],a=function(e,t,n){let[r,a]=e,i=n?e=>1-e:e=>e,o=ip(t,i(r),!0),s=ip(t,i(a),!1);return im(t,[o,s])}(n,r,I&&"horizontal"===t),i=w[u];return[a,i]},R=(0,pO.Z)(t=>fp(this,void 0,void 0,function*(){let{initValue:r=!1}=t;if(b&&!r)return;b=!0;let{nativeEvent:i=!0}=t,[o,s]=T(t);if(w[c]=o,w[u]=s,i){let e=f?o:s,n=f?s:o;d.emit(p,Object.assign(Object.assign({},t),{nativeEvent:i,data:{selection:[ff(e),ff(n)]}}))}g(e,e=>Object.assign(Object.assign({},function(e,t,n,r=!1,a="x",i="y"){let{marks:o}=e,s=o.map(e=>{var o,s;return(0,n3.Z)({axis:{x:{transform:[{type:"hide"}]},y:{transform:[{type:"hide"}]}}},e,{scale:t,[n]:Object.assign(Object.assign({},(null===(o=e[n])||void 0===o?void 0:o[a])&&{[a]:Object.assign({preserve:!0},r&&{ratio:null})}),(null===(s=e[n])||void 0===s?void 0:s[i])&&{[i]:{preserve:!0}}),animate:!1})});return Object.assign(Object.assign({},e),{marks:s,clip:!0,animate:!1})}(e,{[c]:{domain:o,nice:!1}},n,a,c,u)),{paddingLeft:v,paddingTop:S,paddingBottom:A,paddingRight:O})),yield m(),b=!1}),i,{leading:o,trailing:s}),L=t=>{let{nativeEvent:n}=t;if(n)return;let{data:a}=t,{selection:i}=a,[o,s]=i;e.dispatchEvent(new nS.Aw("valuechange",{data:a,nativeEvent:!1}));let l=f?ih(o,_):ih(s,k);r(e,l)};d.on(p,L),e.addEventListener("valuechange",R),N.set(e,R),x.add([p,L]);let D=l(e);D&&e.dispatchEvent(new nS.Aw("valuechange",{detail:{value:D},nativeEvent:!1,initValue:!0}))}return()=>{for(let[e,t]of N)e.removeEventListener("valuechange",t);for(let[e,t]of x)d.off(e,t)}}}let fg="g2-scrollbar";var fh=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let fb={backgroundColor:"rgba(0,0,0,0.75)",color:"#fff",width:"max-content",padding:"1px 4px",fontSize:"12px",borderRadius:"2.5px",boxShadow:"0 3px 6px -4px rgba(0,0,0,0.12), 0 6px 16px 0 rgba(0,0,0,0.08), 0 9px 28px 8px rgba(0,0,0,0.05)"};function fy(e){return"text"===e.nodeName&&!!e.isOverflowing()}function fE(e){var{offsetX:t=8,offsetY:n=8}=e,r=fh(e,["offsetX","offsetY"]);return e=>{let{container:a}=e,[i,o]=a.getBounds().min,s=rr(r,"tip"),l=new Set,c=e=>{let{target:r}=e;if(!fy(r)){e.stopPropagation();return}let{offsetX:c,offsetY:u}=e,d=c+t-i,p=u+n-o;if(r.tip){r.tip.style.x=d,r.tip.style.y=p;return}let{text:f}=r.style,m=new nS.k9({className:"poptip",style:{innerHTML:`
    ${f}
    `,x:d,y:p}});a.appendChild(m),r.tip=m,l.add(m)},u=e=>{let{target:t}=e;if(!fy(t)){e.stopPropagation();return}t.tip&&(t.tip.remove(),t.tip=null,l.delete(t.tip))};return a.addEventListener("pointerover",c),a.addEventListener("pointerout",u),()=>{a.removeEventListener("pointerover",c),a.removeEventListener("pointerout",u),l.forEach(e=>e.remove())}}}fE.props={reapplyWhenUpdate:!0};var fT=n(89205),fv=n(47370),fS=n(70239),fA=n(71831),fO=n(54786),f_=n(58834),fk=n(84173),fI=n(33533);function fC(e,t,n){var r;let{value:a}=n,i=function(e,t){let n={treemapBinary:fS.Z,treemapDice:sD.Z,treemapSlice:fA.Z,treemapSliceDice:fO.Z,treemapSquarify:f_.ZP,treemapResquarify:fk.Z},r="treemapSquarify"===e?n[e].ratio(t):n[e];if(!r)throw TypeError("Invalid tile method!");return r}(t.tile,t.ratio),o=(r=t.path,Array.isArray(e)?"function"==typeof r?(0,fv.Z)().path(r)(e):(0,fv.Z)()(e):(0,sP.ZP)(e));(0,rp.Z)(e)?function e(t){let n=(0,sR.Z)(t,["data","name"]);n.replaceAll&&(t.path=n.replaceAll(".","/").split("/")),t.children&&t.children.forEach(t=>{e(t)})}(o):function e(t,n=[t.data.name]){t.id=t.id||t.data.name,t.path=n,t.children&&t.children.forEach(r=>{r.id=`${t.id}/${r.data.name}`,r.path=[...n,r.data.name],e(r,r.path)})}(o),a?o.sum(e=>t.ignoreParentValue&&e.children?0:lL(a)(e)).sort(t.sort):o.count(),(0,fI.Z)().tile(i).size(t.size).round(t.round).paddingInner(t.paddingInner).paddingOuter(t.paddingOuter).paddingTop(t.paddingTop).paddingRight(t.paddingRight).paddingBottom(t.paddingBottom).paddingLeft(t.paddingLeft)(o);let s=o.descendants().map(e=>Object.assign(e,{id:e.id.replace(/^\//,""),x:[e.x0,e.x1],y:[e.y0,e.y1]})),l=s.filter("function"==typeof t.layer?t.layer:e=>e.height===t.layer);return[l,s]}var fN=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let fx={breadCrumbFill:"rgba(0, 0, 0, 0.85)",breadCrumbFontSize:12,breadCrumbY:12,activeFill:"rgba(0, 0, 0, 0.5)"};var fw=n(71154),fR=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})},fL=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let fD={pointR:6,pointStrokeWidth:1,pointStroke:"#888",pointActiveStroke:"#f5f5f5",pathStroke:"#888",pathLineDash:[3,4],labelFontSize:12,labelFill:"#888",labelStroke:"#fff",labelLineWidth:1,labelY:-6,labelX:2},fP="movePoint",fM=e=>{let t=e.target,{markType:n}=t;"line"===n&&(t.attr("_lineWidth",t.attr("lineWidth")||1),t.attr("lineWidth",t.attr("_lineWidth")+3)),"interval"===n&&(t.attr("_opacity",t.attr("opacity")||1),t.attr("opacity",.7*t.attr("_opacity")))},fF=e=>{let t=e.target,{markType:n}=t;"line"===n&&t.attr("lineWidth",t.attr("_lineWidth")),"interval"===n&&t.attr("opacity",t.attr("_opacity"))},fB=(e,t,n)=>t.map(t=>{let r=["x","color"].reduce((r,a)=>{let i=n[a];return i?t[i]===e[i]&&r:r},!0);return r?Object.assign(Object.assign({},t),e):t}),fj=e=>{let t=(0,sR.Z)(e,["__data__","y"]),n=(0,sR.Z)(e,["__data__","y1"]),r=n-t,{__data__:{data:a,encode:i,transform:o},childNodes:s}=e.parentNode,l=(0,fT.Z)(o,({type:e})=>"normalizeY"===e),c=(0,sR.Z)(i,["y","field"]),u=a[s.indexOf(e)][c];return(e,t=!1)=>l||t?e/(1-e)/(r/(1-r))*u:e},fU=(e,t)=>{let n=(0,sR.Z)(e,["__data__","seriesItems",t,"0","value"]),r=(0,sR.Z)(e,["__data__","seriesIndex",t]),{__data__:{data:a,encode:i,transform:o}}=e.parentNode,s=(0,fT.Z)(o,({type:e})=>"normalizeY"===e),l=(0,sR.Z)(i,["y","field"]),c=a[r][l];return e=>s?1===n?e:e/(1-e)/(n/(1-n))*c:e},fH=(e,t,n)=>{e.forEach((e,r)=>{e.attr("stroke",t[1]===r?n.activeStroke:n.stroke)})},fG=(e,t,n,r)=>{let a=new nS.y$({style:n}),i=new nS.xv({style:r});return t.appendChild(i),e.appendChild(a),[a,i]},f$=(e,t)=>{let n=(0,sR.Z)(e,["options","range","indexOf"]);if(!n)return;let r=e.options.range.indexOf(t);return e.sortedDomain[r]},fz=(e,t,n)=>{let r=iZ(e,t),a=iZ(e,n),i=a/r,o=e[0]+(t[0]-e[0])*i,s=e[1]+(t[1]-e[1])*i;return[o,s]};var fZ=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let fW=()=>e=>{let{children:t}=e;if(!Array.isArray(t))return[];let{x:n=0,y:r=0,width:a,height:i,data:o}=e;return t.map(e=>{var{data:t,x:s,y:l,width:c,height:u}=e;return Object.assign(Object.assign({},fZ(e,["data","x","y","width","height"])),{data:am(t,o),x:null!=s?s:n,y:null!=l?l:r,width:null!=c?c:a,height:null!=u?u:i})})};fW.props={};var fY=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let fV=()=>e=>{let{children:t}=e;if(!Array.isArray(t))return[];let{direction:n="row",ratio:r=t.map(()=>1),padding:a=0,data:i}=e,[o,s,l,c]="col"===n?["y","height","width","x"]:["x","width","height","y"],u=r.reduce((e,t)=>e+t),d=e[s]-a*(t.length-1),p=r.map(e=>d*(e/u)),f=[],m=e[o]||0;for(let n=0;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let fX=ap(e=>{let{encode:t,data:n,scale:r,shareSize:a=!1}=e,{x:i,y:o}=t,s=(e,t)=>{var i;if(void 0===e||!a)return{};let o=(0,n4.ZP)(n,t=>t[e]),s=(null===(i=null==r?void 0:r[t])||void 0===i?void 0:i.domain)||Array.from(o.keys()),l=s.map(e=>o.has(e)?o.get(e).length:1);return{domain:s,flex:l}};return{scale:{x:Object.assign(Object.assign({paddingOuter:0,paddingInner:.1,guide:void 0===i?null:{position:"top"}},void 0===i&&{paddingInner:0}),s(i,"x")),y:Object.assign(Object.assign({range:[0,1],paddingOuter:0,paddingInner:.1,guide:void 0===o?null:{position:"right"}},void 0===o&&{paddingInner:0}),s(o,"y"))}}}),fQ=af(e=>{let t,n,r;let{data:a,scale:i,legend:o}=e,s=[e];for(;s.length;){let e=s.shift(),{children:a,encode:i={},scale:o={},legend:l={}}=e,{color:c}=i,{color:u}=o,{color:d}=l;void 0!==c&&(t=c),void 0!==u&&(n=u),void 0!==d&&(r=d),Array.isArray(a)&&s.push(...a)}let l="string"==typeof t?t:"",[c,u]=(()=>{var e;let n=null===(e=null==i?void 0:i.color)||void 0===e?void 0:e.domain;if(void 0!==n)return[n];if(void 0===t)return[void 0];let r="function"==typeof t?t:e=>e[t],o=a.map(r);return o.some(e=>"number"==typeof e)?[(0,rG.Z)(o)]:[Array.from(new Set(o)),"ordinal"]})();return Object.assign({encode:{color:{type:"column",value:null!=c?c:[]}},scale:{color:(0,n3.Z)({},n,{domain:c,type:u})}},void 0===o&&{legend:{color:(0,n3.Z)({title:l},r)}})}),fJ=ap(()=>({animate:{enterType:"fadeIn"}})),f0=af(()=>({frame:!1,encode:{shape:"hollow"},style:{lineWidth:0}})),f1=af(()=>({type:"cell"})),f2=af(e=>{let{data:t}=e;return{data:{type:"inline",value:t,transform:[{type:"custom",callback:()=>{let{data:t,encode:n}=e,{x:r,y:a}=n,i=r?Array.from(new Set(t.map(e=>e[r]))):[],o=a?Array.from(new Set(t.map(e=>e[a]))):[];return(()=>{if(i.length&&o.length){let e=[];for(let t of i)for(let n of o)e.push({[r]:t,[a]:n});return e}return i.length?i.map(e=>({[r]:e})):o.length?o.map(e=>({[a]:e})):void 0})()}}]}}}),f3=af((e,t=f4,n=f6,r=f9,a={})=>{let{data:i,encode:o,children:s,scale:l,x:c=0,y:u=0,shareData:d=!1,key:p}=e,{value:f}=i,{x:m,y:g}=o,{color:h}=l,{domain:b}=h;return{children:(e,i,o)=>{let{x:l,y:h}=i,{paddingLeft:y,paddingTop:E,marginLeft:T,marginTop:v}=o,{domain:S}=l.getOptions(),{domain:A}=h.getOptions(),O=rh(e),_=e.map(t),k=e.map(({x:e,y:t})=>[l.invert(e),h.invert(t)]),I=k.map(([e,t])=>n=>{let{[m]:r,[g]:a}=n;return(void 0===m||r===e)&&(void 0===g||a===t)}),C=I.map(e=>f.filter(e)),N=d?(0,rv.Z)(C,e=>e.length):void 0,x=k.map(([e,t])=>({columnField:m,columnIndex:S.indexOf(e),columnValue:e,columnValuesLength:S.length,rowField:g,rowIndex:A.indexOf(t),rowValue:t,rowValuesLength:A.length})),w=x.map(e=>Array.isArray(s)?s:[s(e)].flat(1));return O.flatMap(e=>{let[t,i,o,s]=_[e],l=x[e],d=C[e],h=w[e];return h.map(h=>{var S,A,{scale:O,key:_,facet:k=!0,axis:I={},legend:C={}}=h,x=fK(h,["scale","key","facet","axis","legend"]);let w=(null===(S=null==O?void 0:O.y)||void 0===S?void 0:S.guide)||I.y,R=(null===(A=null==O?void 0:O.x)||void 0===A?void 0:A.guide)||I.x,L=k?d:0===d.length?[]:f,D={x:f8(R,n)(l,L),y:f8(w,r)(l,L)};return Object.assign(Object.assign({key:`${_}-${e}`,data:L,margin:0,x:t+y+c+T,y:i+E+u+v,parentKey:p,width:o,height:s,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!!L.length,dataDomain:N,scale:(0,n3.Z)({x:{tickCount:m?5:void 0},y:{tickCount:g?5:void 0}},O,{color:{domain:b}}),axis:(0,n3.Z)({},I,D),legend:!1},x),a)})})}}});function f4(e){let{points:t}=e;return aA(t)}function f5(e,t){return t.length?(0,n3.Z)({title:!1,tick:null,label:null},e):(0,n3.Z)({title:!1,tick:null,label:null,grid:null},e)}function f6(e){return(t,n)=>{let{rowIndex:r,rowValuesLength:a,columnIndex:i,columnValuesLength:o}=t;if(r!==a-1)return f5(e,n);let s=n.length?void 0:null;return(0,n3.Z)({title:i===o-1&&void 0,grid:s},e)}}function f9(e){return(t,n)=>{let{rowIndex:r,columnIndex:a}=t;if(0!==a)return f5(e,n);let i=n.length?void 0:null;return(0,n3.Z)({title:0===r&&void 0,grid:i},e)}}function f8(e,t){return"function"==typeof e?e:null===e||!1===e?()=>null:t(e)}let f7=()=>e=>{let t=fq.of(e).call(f1).call(fQ).call(fJ).call(fX).call(f0).call(f2).call(f3).value();return[t]};f7.props={};var me=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let mt=ap(e=>({scale:{x:{guide:null,paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),mn=af(e=>{let{data:t,children:n,x:r=0,y:a=0,key:i}=e;return{children:(e,o,s)=>{let{x:l,y:c}=o,{paddingLeft:u,paddingTop:d,marginLeft:p,marginTop:f}=s,{domain:m}=l.getOptions(),{domain:g}=c.getOptions(),h=rh(e),b=e.map(({points:e})=>aA(e)),y=e.map(({x:e,y:t})=>[l.invert(e),c.invert(t)]),E=y.map(([e,t])=>({columnField:e,columnIndex:m.indexOf(e),columnValue:e,columnValuesLength:m.length,rowField:t,rowIndex:g.indexOf(t),rowValue:t,rowValuesLength:g.length})),T=E.map(e=>Array.isArray(n)?n:[n(e)].flat(1));return h.flatMap(e=>{let[n,o,s,l]=b[e],[c,m]=y[e],g=E[e],h=T[e];return h.map(h=>{var b,y;let{scale:E,key:T,encode:v,axis:S,interaction:A}=h,O=me(h,["scale","key","encode","axis","interaction"]),_=null===(b=null==E?void 0:E.y)||void 0===b?void 0:b.guide,k=null===(y=null==E?void 0:E.x)||void 0===y?void 0:y.guide,I={x:("function"==typeof k?k:null===k?()=>null:(e,t)=>{let{rowIndex:n,rowValuesLength:r}=e;if(n!==r-1)return f5(k,t)})(g,t),y:("function"==typeof _?_:null===_?()=>null:(e,t)=>{let{columnIndex:n}=e;if(0!==n)return f5(_,t)})(g,t)};return Object.assign({data:t,parentKey:i,key:`${T}-${e}`,x:n+u+r+p,y:o+d+a+f,width:s,height:l,margin:0,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!0,scale:(0,n3.Z)({x:{facet:!1},y:{facet:!1}},E),axis:(0,n3.Z)({x:{tickCount:5},y:{tickCount:5}},S,I),legend:!1,encode:(0,n3.Z)({},v,{x:c,y:m}),interaction:(0,n3.Z)({},A,{legendFilter:!1})},O)})})}}}),mr=af(e=>{let{encode:t}=e,n=me(e,["encode"]),{position:r=[],x:a=r,y:i=[...r].reverse()}=t,o=me(t,["position","x","y"]),s=[];for(let e of[a].flat(1))for(let t of[i].flat(1))s.push({$x:e,$y:t});return Object.assign(Object.assign({},n),{data:s,encode:Object.assign(Object.assign({},o),{x:"$x",y:"$y"}),scale:Object.assign(Object.assign({},1===[a].flat(1).length&&{x:{paddingInner:0}}),1===[i].flat(1).length&&{y:{paddingInner:0}})})});var ma=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let mi=ap(e=>({scale:{x:{guide:{type:"axisArc"},paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),mo=ap(e=>({coordinate:{type:"polar"}})),ms=e=>{let{encode:t}=e,n=ma(e,["encode"]),{position:r}=t;return Object.assign(Object.assign({},n),{encode:{x:r}})};function ml(e){return e=>null}function mc(e){let{points:t}=e,[n,r,a,i]=t,o=aE(n,i),s=ay(n,i),l=ay(r,a),c=aS(s,l),u=1/Math.sin(c/2),d=o/(1+u),p=d*Math.sqrt(2),[f,m]=a,g=av(s),h=g+c/2,b=d*u;return[f+b*Math.sin(h)-p/2,m-b*Math.cos(h)-p/2,p,p]}let mu=()=>e=>{let{children:t=[],duration:n=1e3,iterationCount:r=1,direction:a="normal",easing:i="ease-in-out-sine"}=e,o=t.length;if(!Array.isArray(t)||0===o)return[];let{key:s}=t[0],l=t.map(e=>Object.assign(Object.assign({},e),{key:s})).map(e=>(function(e,t,n){let r=[e];for(;r.length;){let e=r.pop();e.animate=(0,n3.Z)({enter:{duration:t},update:{duration:t,easing:n,type:"morphing",fill:"both"},exit:{type:"fadeOut",duration:t}},e.animate||{});let{children:a}=e;Array.isArray(a)&&r.push(...a)}return e})(e,n,i));return function*(){let e,t=0;for(;"infinite"===r||t{var t;return[e,null===(t=li(r,e))||void 0===t?void 0:t[0]]}).filter(([,e])=>rn(e));return Array.from((0,n4.ZP)(t,e=>a.map(([,t])=>t[e]).join("-")).values())}function mp(e){return Array.isArray(e)?(t,n,r)=>(n,r)=>e.reduce((e,a)=>0!==e?e:(0,oP.Z)(t[n][a],t[r][a]),0):"function"==typeof e?(t,n,r)=>mE(n=>e(t[n])):"series"===e?mg:"value"===e?mh:"sum"===e?mb:"maxIndex"===e?my:null}function mf(e,t){for(let n of e)n.sort(t)}function mm(e,t){return(null==t?void 0:t.domain)||Array.from(new Set(e))}function mg(e,t,n){return mE(e=>n[e])}function mh(e,t,n){return mE(e=>t[e])}function mb(e,t,n){let r=rh(e),a=Array.from((0,n4.ZP)(r,e=>n[+e]).entries()),i=new Map(a.map(([e,n])=>[e,n.reduce((e,n)=>e+ +t[n])]));return mE(e=>i.get(n[e]))}function my(e,t,n){let r=rh(e),a=Array.from((0,n4.ZP)(r,e=>n[+e]).entries()),i=new Map(a.map(([e,n])=>[e,(0,aj.Z)(n,e=>t[e])]));return mE(e=>i.get(n[e]))}function mE(e){return(t,n)=>(0,oP.Z)(e(t),e(n))}mu.props={};let mT=(e={})=>{let{groupBy:t="x",orderBy:n=null,reverse:r=!1,y:a="y",y1:i="y1",series:o=!0}=e;return(e,s)=>{var l;let{data:c,encode:u,style:d={}}=s,[p,f]=li(u,"y"),[m,g]=li(u,"y1"),[h]=o?lo(u,"series","color"):li(u,"color"),b=md(t,e,s),y=null!==(l=mp(n))&&void 0!==l?l:()=>null,E=y(c,p,h);E&&mf(b,E);let T=Array(e.length),v=Array(e.length),S=Array(e.length),A=[],O=[];for(let e of b){r&&e.reverse();let t=m?+m[e[0]]:0,n=[],a=[];for(let r of e){let e=S[r]=+p[r]-t;e<0?a.push(r):e>=0&&n.push(r)}let i=n.length>0?n:a,o=a.length>0?a:n,s=n.length-1,l=0;for(;s>0&&0===p[i[s]];)s--;for(;l0?u=T[e]=(v[e]=u)+t:T[e]=v[e]=u}}let _=new Set(A),k=new Set(O),I="y"===a?T:v,C="y"===i?T:v;return[e,(0,n3.Z)({},s,{encode:{y0:ln(p,f),y:lt(I,f),y1:lt(C,g)},style:Object.assign({first:(e,t)=>_.has(t),last:(e,t)=>k.has(t)},d)})]}};mT.props={};var mv=n(52362),mS=n(87568),mA=n(76132),mO=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function m_(e){return t=>null===t?e:`${e} of ${t}`}function mk(){let e=m_("mean");return[(e,t)=>(0,pN.Z)(e,e=>+t[e]),e]}function mI(){let e=m_("median");return[(e,t)=>(0,mA.Z)(e,e=>+t[e]),e]}function mC(){let e=m_("max");return[(e,t)=>(0,rv.Z)(e,e=>+t[e]),e]}function mN(){let e=m_("min");return[(e,t)=>(0,oD.Z)(e,e=>+t[e]),e]}function mx(){let e=m_("count");return[(e,t)=>e.length,e]}function mw(){let e=m_("sum");return[(e,t)=>(0,rT.Z)(e,e=>+t[e]),e]}function mR(){let e=m_("first");return[(e,t)=>t[e[0]],e]}function mL(){let e=m_("last");return[(e,t)=>t[e[e.length-1]],e]}let mD=(e={})=>{let{groupBy:t}=e,n=mO(e,["groupBy"]);return(e,r)=>{let{data:a,encode:i}=r,o=t(e,r);if(!o)return[e,r];let s=(e,t)=>{if(e)return e;let{from:n}=t;if(!n)return e;let[,r]=li(i,n);return r},l=Object.entries(n).map(([e,t])=>{let[n,r]=function(e){if("function"==typeof e)return[e,null];let t={mean:mk,max:mC,count:mx,first:mR,last:mL,sum:mw,min:mN,median:mI}[e];if(!t)throw Error(`Unknown reducer: ${e}.`);return t()}(t),[l,c]=li(i,e),u=s(c,t),d=o.map(e=>n(e,null!=l?l:a));return[e,Object.assign(Object.assign({},function(e,t){let n=lt(e,t);return Object.assign(Object.assign({},n),{constant:!1})}(d,(null==r?void 0:r(u))||u)),{aggregate:!0})]}),c=Object.keys(i).map(e=>{let[t,n]=li(i,e),r=o.map(e=>t[e[0]]);return[e,lt(r,n)]}),u=o.map(e=>a[e[0]]),d=rh(o);return[d,(0,n3.Z)({},r,{data:u,encode:Object.fromEntries([...c,...l])})]}};mD.props={};var mP=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let mM="thresholds",mF=(e={})=>{let{groupChannels:t=["color"],binChannels:n=["x","y"]}=e,r=mP(e,["groupChannels","binChannels"]),a={};return mD(Object.assign(Object.assign(Object.assign({},Object.fromEntries(Object.entries(r).filter(([e])=>!e.startsWith(mM)))),Object.fromEntries(n.flatMap(e=>{let t=([t])=>+a[e].get(t).split(",")[1];return t.from=e,[[e,([t])=>+a[e].get(t).split(",")[0]],[`${e}1`,t]]}))),{groupBy:(e,i)=>{let{encode:o}=i,s=n.map(e=>{let[t]=li(o,e);return t}),l=rr(r,mM),c=e.filter(e=>s.every(t=>rn(t[e]))),u=[...t.map(e=>{let[t]=li(o,e);return t}).filter(rn).map(e=>t=>e[t]),...n.map((e,t)=>{let n=s[t],r=l[e]||function(e){let[t,n]=(0,rG.Z)(e);return Math.min(200,(0,mv.Z)(e,t,n))}(n),i=(0,mS.Z)().thresholds(r).value(e=>+n[e])(c),o=new Map(i.flatMap(e=>{let{x0:t,x1:n}=e,r=`${t},${n}`;return e.map(e=>[e,r])}));return a[e]=o,e=>o.get(e)})];return Array.from((0,n4.ZP)(c,e=>u.map(t=>t(e)).join("-")).values())}}))};mF.props={};let mB=(e={})=>{let{thresholds:t}=e;return mF(Object.assign(Object.assign({},e),{thresholdsX:t,groupChannels:["color"],binChannels:["x"]}))};mB.props={};var mj=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let mU=(e={})=>{let{groupBy:t="x",reverse:n=!1,orderBy:r,padding:a}=e;return mj(e,["groupBy","reverse","orderBy","padding"]),(e,i)=>{let{data:o,encode:s,scale:l}=i,{series:c}=l,[u]=li(s,"y"),[d]=lo(s,"series","color"),p=mm(d,c),f=(0,n3.Z)({},i,{scale:{series:{domain:p,paddingInner:a}}}),m=md(t,e,i),g=mp(r);if(!g)return[e,(0,n3.Z)(f,{encode:{series:lt(d)}})];let h=g(o,u,d);h&&mf(m,h);let b=Array(e.length);for(let e of m){n&&e.reverse();for(let t=0;t{let{padding:t=0,paddingX:n=t,paddingY:r=t,random:a=Math.random}=e;return(e,t)=>{let{encode:i,scale:o}=t,{x:s,y:l}=o,[c]=li(i,"x"),[u]=li(i,"y"),d=mH(c,s,n),p=mH(u,l,r),f=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(a(),...p)),m=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(a(),...d));return[e,(0,n3.Z)({scale:{x:{padding:.5},y:{padding:.5}}},t,{encode:{dy:lt(f),dx:lt(m)}})]}};mG.props={};let m$=(e={})=>{let{padding:t=0,random:n=Math.random}=e;return(e,r)=>{let{encode:a,scale:i}=r,{x:o}=i,[s]=li(a,"x"),l=mH(s,o,t),c=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(n(),...l));return[e,(0,n3.Z)({scale:{x:{padding:.5}}},r,{encode:{dx:lt(c)}})]}};m$.props={};let mz=(e={})=>{let{padding:t=0,random:n=Math.random}=e;return(e,r)=>{let{encode:a,scale:i}=r,{y:o}=i,[s]=li(a,"y"),l=mH(s,o,t),c=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(n(),...l));return[e,(0,n3.Z)({scale:{y:{padding:.5}}},r,{encode:{dy:lt(c)}})]}};mz.props={};var mZ=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let mW=(e={})=>{let{groupBy:t="x"}=e;return(e,n)=>{let{encode:r}=n,{x:a}=r,i=mZ(r,["x"]),o=Object.entries(i).filter(([e])=>e.startsWith("y")).map(([e])=>[e,li(r,e)[0]]),s=o.map(([t])=>[t,Array(e.length)]),l=md(t,e,n),c=Array(l.length);for(let e=0;eo.map(([,t])=>+t[e])),[r,a]=(0,rG.Z)(n);c[e]=(r+a)/2}let u=Math.max(...c);for(let e=0;e[e,lt(t,li(r,e)[1])]))})]}};mW.props={};let mY=(e={})=>{let{groupBy:t="x",series:n=!0}=e;return(e,r)=>{let{encode:a}=r,[i]=li(a,"y"),[o,s]=li(a,"y1"),[l]=n?lo(a,"series","color"):li(a,"color"),c=md(t,e,r),u=Array(e.length);for(let e of c){let t=e.map(e=>+i[e]);for(let n=0;nt!==n));u[r]=+i[r]>a?a:i[r]}}return[e,(0,n3.Z)({},r,{encode:{y1:lt(u,s)}})]}};mY.props={};let mV=e=>{let{groupBy:t=["x"],reducer:n=(e,t)=>t[e[0]],orderBy:r=null,reverse:a=!1,duration:i}=e;return(e,o)=>{let{encode:s}=o,l=Array.isArray(t)?t:[t],c=l.map(e=>[e,li(s,e)[0]]);if(0===c.length)return[e,o];let u=[e];for(let[,e]of c){let t=[];for(let n of u){let r=Array.from((0,n4.ZP)(n,t=>e[t]).values());t.push(...r)}u=t}if(r){let[e]=li(s,r);e&&u.sort((t,r)=>n(t,e)-n(r,e)),a&&u.reverse()}let d=(i||3e3)/u.length,[p]=i?[la(e,d)]:lo(s,"enterDuration",la(e,d)),[f]=lo(s,"enterDelay",la(e,0)),m=Array(e.length);for(let e=0,t=0;e+p[e]);for(let e of n)m[e]=+f[e]+t;t+=r}return[e,(0,n3.Z)({},o,{encode:{enterDuration:lr(p),enterDelay:lr(m)}})]}};mV.props={};var mq=n(93209),mK=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let mX=(e={})=>{let{groupBy:t="x",basis:n="max"}=e;return(e,r)=>{let{encode:a,tooltip:i}=r,{x:o}=a,s=mK(a,["x"]),l=Object.entries(s).filter(([e])=>e.startsWith("y")).map(([e])=>[e,li(a,e)[0]]),[,c]=l.find(([e])=>"y"===e),u=l.map(([t])=>[t,Array(e.length)]),d=md(t,e,r),p="function"==typeof n?n:({min:(e,t)=>(0,oD.Z)(e,e=>t[+e]),max:(e,t)=>(0,rv.Z)(e,e=>t[+e]),first:(e,t)=>t[e[0]],last:(e,t)=>t[e[e.length-1]],mean:(e,t)=>(0,pN.Z)(e,e=>t[+e]),median:(e,t)=>(0,mA.Z)(e,e=>t[+e]),sum:(e,t)=>(0,rT.Z)(e,e=>t[+e]),deviation:(e,t)=>(0,mq.Z)(e,e=>t[+e])})[n]||rv.Z;for(let e of d){let t=p(e,c);for(let n of e)for(let e=0;e[e,lt(t,li(a,e)[1])]))},!f&&a.y0&&{tooltip:{items:[{channel:"y0"}]}}))]}};function mQ(e,t){return[e[0]]}function mJ(e,t){let n=e.length-1;return[e[n]]}function m0(e,t){let n=(0,aj.Z)(e,e=>t[e]);return[e[n]]}function m1(e,t){let n=(0,pC.Z)(e,e=>t[e]);return[e[n]]}mX.props={};let m2=(e={})=>{let{groupBy:t="series",channel:n,selector:r}=e;return(e,a)=>{let{encode:i}=a,o=md(t,e,a),[s]=li(i,n),l="function"==typeof r?r:({first:mQ,last:mJ,max:m0,min:m1})[r]||mQ;return[o.flatMap(e=>l(e,s)),a]}};m2.props={};var m3=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let m4=(e={})=>{let{selector:t}=e,n=m3(e,["selector"]);return m2(Object.assign({channel:"x",selector:t},n))};m4.props={};var m5=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let m6=(e={})=>{let{selector:t}=e,n=m5(e,["selector"]);return m2(Object.assign({channel:"y",selector:t},n))};m6.props={};var m9=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let m8=(e={})=>{let{channels:t=["x","y"]}=e,n=m9(e,["channels"]);return mD(Object.assign(Object.assign({},n),{groupBy:(e,n)=>md(t,e,n)}))};m8.props={};let m7=(e={})=>m8(Object.assign(Object.assign({},e),{channels:["x","color","series"]}));m7.props={};let ge=(e={})=>m8(Object.assign(Object.assign({},e),{channels:["y","color","series"]}));ge.props={};let gt=(e={})=>m8(Object.assign(Object.assign({},e),{channels:["color"]}));gt.props={};var gn=n(28085),gr=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ga=(e={})=>{let{reverse:t=!1,slice:n,channel:r,ordinal:a=!0}=e,i=gr(e,["reverse","slice","channel","ordinal"]);return(e,o)=>a?function(e,t,n){var r;let{reverse:a,slice:i,channel:o}=n,s=gr(n,["reverse","slice","channel"]),{encode:l,scale:c={}}=t,u=null===(r=c[o])||void 0===r?void 0:r.domain,[d]=li(l,o),p=function(e,t,n){let{by:r=e,reducer:a="max"}=t,[i]=li(n,r);if("function"==typeof a)return e=>a(e,i);if("max"===a)return e=>(0,rv.Z)(e,e=>+i[e]);if("min"===a)return e=>(0,oD.Z)(e,e=>+i[e]);if("sum"===a)return e=>(0,rT.Z)(e,e=>+i[e]);if("median"===a)return e=>(0,mA.Z)(e,e=>+i[e]);if("mean"===a)return e=>(0,pN.Z)(e,e=>+i[e]);if("first"===a)return e=>i[e[0]];if("last"===a)return e=>i[e[e.length-1]];throw Error(`Unknown reducer: ${a}`)}(o,s,l),f=function(e,t,n){if(!Array.isArray(n))return e;let r=new Set(n);return e.filter(e=>r.has(t[e]))}(e,d,u),m=(0,gn.Z)(f,p,e=>d[e]);a&&m.reverse();let g=i?m.slice(..."number"==typeof i?[0,i]:i):m;return[e,(0,n3.Z)(t,{scale:{[o]:{domain:g}}})]}(e,o,Object.assign({reverse:t,slice:n,channel:r},i)):function(e,t,n){let{reverse:r,channel:a}=n,{encode:i}=t,[o]=li(i,a),s=(0,aJ.Z)(e,e=>o[e]);return r&&s.reverse(),[s,t]}(e,o,Object.assign({reverse:t,slice:n,channel:r},i))};ga.props={};let gi=(e={})=>ga(Object.assign(Object.assign({},e),{channel:"x"}));gi.props={};let go=(e={})=>ga(Object.assign(Object.assign({},e),{channel:"y"}));go.props={};let gs=(e={})=>ga(Object.assign(Object.assign({},e),{channel:"color"}));gs.props={};let gl=(e={})=>{let{field:t,channel:n="y",reducer:r="sum"}=e;return(e,a)=>{let{data:i,encode:o}=a,[s]=li(o,"x"),l=t?"string"==typeof t?i.map(e=>e[t]):i.map(t):li(o,n)[0],c=function(e,t){if("function"==typeof e)return n=>e(n,t);if("sum"===e)return e=>(0,rT.Z)(e,e=>+t[e]);throw Error(`Unknown reducer: ${e}`)}(r,l),u=(0,n4.Q3)(e,c,e=>s[e]).map(e=>e[1]);return[e,(0,n3.Z)({},a,{scale:{x:{flex:u}}})]}};gl.props={};let gc=e=>(t,n)=>[t,(0,n3.Z)({},n,{modifier:function(e){let{padding:t=0,direction:n="col"}=e;return(e,r,a)=>{let i=e.length;if(0===i)return[];let{innerWidth:o,innerHeight:s}=a,l=Math.ceil(Math.sqrt(r/(s/o))),c=o/l,u=Math.ceil(r/l),d=u*c;for(;d>s;)l+=1,c=o/l,d=(u=Math.ceil(r/l))*c;let p=s-u*c,f=u<=1?0:p/(u-1),[m,g]=u<=1?[(o-i*c)/(i-1),(s-c)/2]:[0,0];return e.map((e,r)=>{let[a,i,o,s]=aA(e),d="col"===n?r%l:Math.floor(r/u),h="col"===n?Math.floor(r/l):r%u,b=d*c,y=(u-h-1)*c+p,E=(c-t)/o,T=(c-t)/s;return`translate(${b-a+m*d+.5*t}, ${y-i-f*h-g+.5*t}) scale(${E}, ${T})`})}}(e),axis:!1})];gc.props={};var gu=n(80091);function gd(e,t,n,r){let a,i,o;let s=e.length;if(r>=s||0===r)return e;let l=n=>1*t[e[n]],c=t=>1*n[e[t]],u=[],d=(s-2)/(r-2),p=0;u.push(p);for(let e=0;ea&&(a=i,o=g);u.push(o),p=o}return u.push(s-1),u.map(t=>e[t])}let gp=(e={})=>{let{strategy:t="median",thresholds:n=2e3,groupBy:r=["series","color"]}=e,a=function(e){if("function"==typeof e)return e;if("lttb"===e)return gd;let t={first:e=>[e[0]],last:e=>[e[e.length-1]],min:(e,t,n)=>[e[(0,pC.Z)(e,e=>n[e])]],max:(e,t,n)=>[e[(0,aj.Z)(e,e=>n[e])]],median:(e,t,n)=>[e[(0,gu.medianIndex)(e,e=>n[e])]]},n=t[e]||t.median;return(e,t,r,a)=>{let i=Math.max(1,Math.floor(e.length/a)),o=function(e,t){let n=e.length,r=[],a=0;for(;an(e,t,r))}}(t);return(e,t)=>{let{encode:i}=t,o=md(r,e,t),[s]=li(i,"x"),[l]=li(i,"y");return[o.flatMap(e=>a(e,s,l,n)),t]}};gp.props={};let gf=(e={})=>(t,n)=>{let{encode:r,data:a}=n,i=Object.entries(e).map(([e,t])=>{let[n]=li(r,e);if(!n)return null;let[a,i=!0]="object"==typeof t?[t.value,t.ordinal]:[t,!0];if("function"==typeof a)return e=>a(n[e]);if(i){let e=Array.isArray(a)?a:[a];return 0===e.length?null:t=>e.includes(n[t])}{let[e,t]=a;return r=>n[r]>=e&&n[r]<=t}}).filter(rn),o=t.filter(e=>i.every(t=>t(e))),s=o.map((e,t)=>t);if(0===i.length){let e=function(e){var t;let n;let{encode:r}=e,a=Object.assign(Object.assign({},e),{encode:Object.assign(Object.assign({},e.encode),{y:Object.assign(Object.assign({},e.encode.y),{value:[]})})}),i=null===(t=null==r?void 0:r.color)||void 0===t?void 0:t.field;if(!r||!i)return a;for(let[e,t]of Object.entries(r))("x"===e||"y"===e)&&t.field===i&&(n=Object.assign(Object.assign({},n),{[e]:Object.assign(Object.assign({},t),{value:[]})}));return n?Object.assign(Object.assign({},e),{encode:Object.assign(Object.assign({},e.encode),n)}):a}(n);return[t,e]}let l=Object.entries(r).map(([e,t])=>[e,Object.assign(Object.assign({},t),{value:s.map(e=>t.value[o[e]]).filter(e=>void 0!==e)})]);return[s,(0,n3.Z)({},n,{encode:Object.fromEntries(l),data:o.map(e=>a[e])})]};gf.props={};var gm=n(42132),gg=n(6586);let gh=e=>{let{value:t,format:n=t.split(".").pop(),delimiter:r=",",autoType:a=!0}=e;return()=>{var e,i,o,s;return e=void 0,i=void 0,o=void 0,s=function*(){let e=yield fetch(t);if("csv"===n){let t=yield e.text();return(0,gm.Z)(r).parse(t,a?gg.Z:n9)}if("json"===n)return yield e.json();throw Error(`Unknown format: ${n}.`)},new(o||(o=Promise))(function(t,n){function r(e){try{l(s.next(e))}catch(e){n(e)}}function a(e){try{l(s.throw(e))}catch(e){n(e)}}function l(e){var n;e.done?t(e.value):((n=e.value)instanceof o?n:new o(function(e){e(n)})).then(r,a)}l((s=s.apply(e,i||[])).next())})}};gh.props={};let gb=e=>{let{value:t}=e;return()=>t};gb.props={};let gy=e=>{let{fields:t=[]}=e,n=t.map(e=>{if(Array.isArray(e)){let[t,n=!0]=e;return[t,n]}return[e,!0]});return e=>[...e].sort((e,t)=>n.reduce((n,[r,a=!0])=>0!==n?n:a?e[r]t[r]?-1:+(e[r]!==t[r]),0))};gy.props={};let gE=e=>{let{callback:t}=e;return e=>Array.isArray(e)?[...e].sort(t):e};function gT(e){return null!=e&&!Number.isNaN(e)}gE.props={};let gv=e=>{let{callback:t=gT}=e;return e=>e.filter(t)};gv.props={};let gS=e=>{let{fields:t}=e;return e=>e.map(e=>(function(e,t=[]){return t.reduce((t,n)=>(n in e&&(t[n]=e[n]),t),{})})(e,t))};gS.props={};let gA=e=>t=>e&&0!==Object.keys(e).length?t.map(t=>Object.entries(t).reduce((t,[n,r])=>(t[e[n]||n]=r,t),{})):t;gA.props={};let gO=e=>{let{fields:t,key:n="key",value:r="value"}=e;return e=>t&&0!==Object.keys(t).length?e.flatMap(e=>t.map(t=>Object.assign(Object.assign({},e),{[n]:t,[r]:e[t]}))):e};gO.props={};let g_=e=>{let{start:t,end:n}=e;return e=>e.slice(t,n)};g_.props={};let gk=e=>{let{callback:t=n9}=e;return e=>t(e)};gk.props={};let gI=e=>{let{callback:t=n9}=e;return e=>Array.isArray(e)?e.map(t):e};function gC(e){return"string"==typeof e?t=>t[e]:e}gI.props={};let gN=e=>{let{join:t,on:n,select:r=[],as:a=r,unknown:i=NaN}=e,[o,s]=n,l=gC(s),c=gC(o),u=(0,n4.jJ)(t,([e])=>e,e=>l(e));return e=>e.map(e=>{let t=u.get(c(e));return Object.assign(Object.assign({},e),r.reduce((e,n,r)=>(e[a[r]]=t?t[n]:i,e),{}))})};gN.props={};var gx=n(53843),gw=n.n(gx);let gR=e=>{let{field:t,groupBy:n,as:r=["y","size"],min:a,max:i,size:o=10,width:s}=e,[l,c]=r;return e=>{let r=Array.from((0,n4.ZP)(e,e=>n.map(t=>e[t]).join("-")).values());return r.map(e=>{let n=gw().create(e.map(e=>e[t]),{min:a,max:i,size:o,width:s}),r=n.map(e=>e.x),u=n.map(e=>e.y);return Object.assign(Object.assign({},e[0]),{[l]:r,[c]:u})})}};gR.props={};let gL=()=>e=>(console.log("G2 data section:",e),e);gL.props={};let gD=Math.PI/180;function gP(e){return e.text}function gM(){return"serif"}function gF(){return"normal"}function gB(e){return e.value}function gj(){return 90*~~(2*Math.random())}function gU(){return 1}function gH(){}function gG(e){let t=e[0]/e[1];return function(e){return[t*(e*=.1)*Math.cos(e),e*Math.sin(e)]}}function g$(e){let t=[],n=-1;for(;++nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let gV={fontSize:[20,60],font:"Impact",padding:2,rotate:function(){return(~~(6*Math.random())-3)*30}};function gq(e){return new Promise((t,n)=>{if(e instanceof HTMLImageElement){t(e);return}if("string"==typeof e){let r=new Image;r.crossOrigin="anonymous",r.src=e,r.onload=()=>t(r),r.onerror=()=>{console.error(`'image ${e} load failed !!!'`),n()};return}n()})}let gK=(e,t)=>n=>{var r,a,i,o;return r=void 0,a=void 0,i=void 0,o=function*(){let r=Object.assign({},gV,e,{canvas:t.createCanvas}),a=function(){let e=[256,256],t=gP,n=gM,r=gB,a=gF,i=gj,o=gU,s=gG,l=Math.random,c=gH,u=[],d=null,p=1/0,f=gz,m={};return m.start=function(){let[g,h]=e,b=function(e){e.width=e.height=1;let t=Math.sqrt(e.getContext("2d").getImageData(0,0,1,1).data.length>>2);e.width=2048/t,e.height=2048/t;let n=e.getContext("2d");return n.fillStyle=n.strokeStyle="red",n.textAlign="center",n.textBaseline="middle",{context:n,ratio:t}}(f()),y=m.board?m.board:g$((e[0]>>5)*e[1]),E=u.length,T=[],v=u.map(function(e,s,l){return e.text=t.call(this,e,s,l),e.font=n.call(this,e,s,l),e.style=gF.call(this,e,s,l),e.weight=a.call(this,e,s,l),e.rotate=i.call(this,e,s,l),e.size=~~r.call(this,e,s,l),e.padding=o.call(this,e,s,l),e}).sort(function(e,t){return t.size-e.size}),S=-1,A=m.board?[{x:0,y:0},{x:g,y:h}]:void 0;function O(){let t=Date.now();for(;Date.now()-t>1,t.y=h*(l()+.5)>>1,function(e,t,n,r){if(t.sprite)return;let a=e.context,i=e.ratio;a.clearRect(0,0,2048/i,2048/i);let o=0,s=0,l=0,c=n.length;for(--r;++r>5<<5,c=~~Math.max(Math.abs(i+o),Math.abs(i-o))}else e=e+31>>5<<5;if(c>l&&(l=c),o+e>=2048&&(o=0,s+=l,l=0),s+c>=2048)break;a.translate((o+(e>>1))/i,(s+(c>>1))/i),t.rotate&&a.rotate(t.rotate*gD),a.fillText(t.text,0,0),t.padding&&(a.lineWidth=2*t.padding,a.strokeText(t.text,0,0)),a.restore(),t.width=e,t.height=c,t.xoff=o,t.yoff=s,t.x1=e>>1,t.y1=c>>1,t.x0=-t.x1,t.y0=-t.y1,t.hasText=!0,o+=e}let u=a.getImageData(0,0,2048/i,2048/i).data,d=[];for(;--r>=0;){if(!(t=n[r]).hasText)continue;let e=t.width,a=e>>5,i=t.y1-t.y0;for(let e=0;e>5),r=u[(s+n)*2048+(o+t)<<2]?1<<31-t%32:0;d[e]|=r,l|=r}l?c=n:(t.y0++,i--,n--,s++)}t.y1=t.y0+c,t.sprite=d.slice(0,(t.y1-t.y0)*a)}}(b,t,v,S),t.hasText&&function(t,n,r){let a=n.x,i=n.y,o=Math.sqrt(e[0]*e[0]+e[1]*e[1]),c=s(e),u=.5>l()?1:-1,d,p=-u,f,m;for(;(d=c(p+=u))&&!(Math.min(Math.abs(f=~~d[0]),Math.abs(m=~~d[1]))>=o);)if(n.x=a+f,n.y=i+m,!(n.x+n.x0<0)&&!(n.y+n.y0<0)&&!(n.x+n.x1>e[0])&&!(n.y+n.y1>e[1])&&(!r||!function(e,t,n){n>>=5;let r=e.sprite,a=e.width>>5,i=e.x-(a<<4),o=127&i,s=32-o,l=e.y1-e.y0,c=(e.y+e.y0)*n+(i>>5),u;for(let e=0;e>>o:0))&t[c+n])return!0;c+=n}return!1}(n,t,e[0]))&&(!r||n.x+n.x1>r[0].x&&n.x+n.x0r[0].y&&n.y+n.y0>5,i=e[0]>>5,o=n.x-(a<<4),s=127&o,l=32-s,c=n.y1-n.y0,u,d=(n.y+n.y0)*i+(o>>5);for(let e=0;e>>s:0);d+=i}return delete n.sprite,!0}return!1}(y,t,A)&&(c.call(null,"word",{cloud:m,word:t}),T.push(t),A?m.hasImage||function(e,t){let n=e[0],r=e[1];t.x+t.x0r.x&&(r.x=t.x+t.x1),t.y+t.y1>r.y&&(r.y=t.y+t.y1)}(A,t):A=[{x:t.x+t.x0,y:t.y+t.y0},{x:t.x+t.x1,y:t.y+t.y1}],t.x-=e[0]>>1,t.y-=e[1]>>1)}m._tags=T,m._bounds=A,S>=E&&(m.stop(),c.call(null,"end",{cloud:m,words:T,bounds:A}))}return d&&clearInterval(d),d=setInterval(O,0),O(),m},m.stop=function(){return d&&(clearInterval(d),d=null),m},m.createMask=t=>{let n=document.createElement("canvas"),[r,a]=e;if(!r||!a)return;let i=r>>5,o=g$((r>>5)*a);n.width=r,n.height=a;let s=n.getContext("2d");s.drawImage(t,0,0,t.width,t.height,0,0,r,a);let l=s.getImageData(0,0,r,a).data;for(let e=0;e>5),a=e*r+t<<2,s=l[a]>=250&&l[a+1]>=250&&l[a+2]>=250,c=s?1<<31-t%32:0;o[n]|=c}m.board=o,m.hasImage=!0},m.timeInterval=function(e){p=null==e?1/0:e},m.words=function(e){u=e},m.size=function(t=[]){e=[+t[0],+t[1]]},m.text=function(e){t=gZ(e)},m.font=function(e){n=gZ(e)},m.fontWeight=function(e){a=gZ(e)},m.rotate=function(e){i=gZ(e)},m.canvas=function(e){f=gZ(e)},m.spiral=function(e){s=gW[e]||e},m.fontSize=function(e){r=gZ(e)},m.padding=function(e){o=gZ(e)},m.random=function(e){l=gZ(e)},m.on=function(e){c=gZ(e)},m}();yield({set(e,t,n){if(void 0===r[e])return this;let i=t?t.call(null,r[e]):r[e];return n?n.call(null,i):"function"==typeof a[e]?a[e](i):a[e]=i,this},setAsync(e,t,n){var i,o,s,l;return i=this,o=void 0,s=void 0,l=function*(){if(void 0===r[e])return this;let i=t?yield t.call(null,r[e]):r[e];return n?n.call(null,i):"function"==typeof a[e]?a[e](i):a[e]=i,this},new(s||(s=Promise))(function(e,t){function n(e){try{a(l.next(e))}catch(e){t(e)}}function r(e){try{a(l.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof s?a:new s(function(e){e(a)})).then(n,r)}a((l=l.apply(i,o||[])).next())})}}).set("fontSize",e=>{let t=n.map(e=>e.value);return function(e,t){if("function"==typeof e)return e;if(Array.isArray(e)){let[n,r]=e;if(!t)return()=>(r+n)/2;let[a,i]=t;return i===a?()=>(r+n)/2:({value:e})=>(r-n)/(i-a)*(e-a)+n}return()=>e}(e,[(0,oD.Z)(t),(0,rv.Z)(t)])}).set("font").set("fontStyle").set("fontWeight").set("padding").set("rotate").set("size").set("spiral").set("timeInterval").set("random").set("text").set("on").set("canvas").setAsync("imageMask",gq,a.createMask),a.words([...n]);let i=a.start(),[o,s]=r.size,{_bounds:l=[{x:0,y:0},{x:o,y:s}],_tags:c,hasImage:u}=i,d=c.map(e=>{var{x:t,y:n,font:r}=e;return Object.assign(Object.assign({},gY(e,["x","y","font"])),{x:t+o/2,y:n+s/2,fontFamily:r})}),[{x:p,y:f},{x:m,y:g}]=l,h={text:"",value:0,opacity:0,fontSize:0};return d.push(Object.assign(Object.assign({},h),{x:u?0:p,y:u?0:f}),Object.assign(Object.assign({},h),{x:u?o:m,y:u?s:g})),d},new(i||(i=Promise))(function(e,t){function n(e){try{l(o.next(e))}catch(e){t(e)}}function s(e){try{l(o.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof i?r:new i(function(e){e(r)})).then(n,s)}l((o=o.apply(r,a||[])).next())})};function gX(e){let{min:t,max:n}=e;return[[t[0],t[1]],[n[0],n[1]]]}function gQ(e,t){let[n,r]=e,[a,i]=t;return n>=a[0]&&n<=i[0]&&r>=a[1]&&r<=i[1]}function gJ(){let e=new Map;return[t=>e.get(t),(t,n)=>e.set(t,n)]}function g0(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}function g1(e,t,n){return .2126*g0(e)+.7152*g0(t)+.0722*g0(n)}function g2(e,t){let{r:n,g:r,b:a}=e,{r:i,g:o,b:s}=t,l=g1(n,r,a),c=g1(i,o,s);return(Math.max(l,c)+.05)/(Math.min(l,c)+.05)}gK.props={};let g3=(e,t)=>{let[[n,r],[a,i]]=t,[[o,s],[l,c]]=e,u=0,d=0;return oa&&(u=a-l),si&&(d=i-c),[u,d]};var g4=n(30348),g5=n(70603),g6=n(60261),g9=n(33487),g8=n(84699),g7=n(58271),he=n(72051),ht=n(26477),hn=n(75053),hr=n(40552),ha=n(11261),hi=n(40916),ho=n(93437),hs=n(32427),hl=n(23007),hc=n(38839),hu=n(50435),hd=n(30378),hp=n(17421),hf=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function hm(e){let{data:t}=e;if(Array.isArray(t))return Object.assign(Object.assign({},e),{data:{value:t}});let{type:n}=t;return"graticule10"===n?Object.assign(Object.assign({},e),{data:{value:[(0,g5.e)()]}}):"sphere"===n?Object.assign(Object.assign({},e),{sphere:!0,data:{value:[{type:"Sphere"}]}}):e}function hg(e){return"geoPath"===e.type}let hh=()=>e=>{let t;let{children:n,coordinate:r={}}=e;if(!Array.isArray(n))return[];let{type:a="equalEarth"}=r,i=hf(r,["type"]),o=function(e){if("function"==typeof e)return e;let t=`geo${(0,rf.Z)(e)}`,n=X[t];if(!n)throw Error(`Unknown coordinate: ${e}`);return n}(a),s=n.map(hm);return[Object.assign(Object.assign({},e),{type:"view",scale:{x:{type:"identity"},y:{type:"identity"}},axis:!1,coordinate:{type:function(){return[["custom",(e,n,r,a)=>{let l=o();!function(e,t,n,r){let{outline:a=(()=>{let e=t.filter(hg),n=e.find(e=>e.sphere);return n?{type:"Sphere"}:{type:"FeatureCollection",features:e.filter(e=>!e.sphere).flatMap(e=>e.data.value).flatMap(e=>(function(e){if(!e||!e.type)return null;let t={Point:"geometry",MultiPoint:"geometry",LineString:"geometry",MultiLineString:"geometry",Polygon:"geometry",MultiPolygon:"geometry",GeometryCollection:"geometry",Feature:"feature",FeatureCollection:"featureCollection"}[e.type];return t?"geometry"===t?{type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:e}]}:"feature"===t?{type:"FeatureCollection",features:[e]}:"featureCollection"===t?e:void 0:null})(e).features)}})()}=r,{size:i="fitExtent"}=r;"fitExtent"===i?function(e,t,n){let{x:r,y:a,width:i,height:o}=n;e.fitExtent([[r,a],[i,o]],t)}(e,a,n):"fitWidth"===i&&function(e,t,n){let{width:r,height:a}=n,[[i,o],[s,l]]=(0,g4.Z)(e.fitWidth(r,t)).bounds(t),c=Math.ceil(l-o),u=Math.min(Math.ceil(s-i),c),d=e.scale()*(u-1)/u,[p,f]=e.translate();e.scale(d).translate([p,f+(a-c)/2]).precision(.2)}(e,a,n)}(l,s,{x:e,y:n,width:r,height:a},i),function(e,t){var n;for(let[r,a]of Object.entries(t))null===(n=e[r])||void 0===n||n.call(e,a)}(l,i),t=(0,g4.Z)(l);let c=new rU.b({domain:[e,e+r]}),u=new rU.b({domain:[n,n+a]}),d=e=>{let t=l(e);if(!t)return[null,null];let[n,r]=t;return[c.map(n),u.map(r)]},p=e=>{if(!e)return null;let[t,n]=e,r=[c.invert(t),u.invert(n)];return l.invert(r)};return{transform:e=>d(e),untransform:e=>p(e)}}]]}},children:s.flatMap(e=>hg(e)?function(e){let{style:n,tooltip:r={}}=e;return Object.assign(Object.assign({},e),{type:"path",tooltip:oj(r,{title:"id",items:[{channel:"color"}]}),style:Object.assign(Object.assign({},n),{d:e=>t(e)||[]})})}(e):e)})]};hh.props={};var hb=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let hy=()=>e=>{let{type:t,data:n,scale:r,encode:a,style:i,animate:o,key:s,state:l}=e,c=hb(e,["type","data","scale","encode","style","animate","key","state"]);return[Object.assign(Object.assign({type:"geoView"},c),{children:[{type:"geoPath",key:`${s}-0`,data:{value:n},scale:r,encode:a,style:i,animate:o,state:l}]})]};hy.props={};var hE=n(43231),hT=n(58571),hv=n(69299),hS=n(77715),hA=n(26464),hO=n(32878),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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let hk={joint:!0},hI={type:"link",axis:!1,legend:!1,encode:{x:[e=>e.source.x,e=>e.target.x],y:[e=>e.source.y,e=>e.target.y]},style:{stroke:"#999",strokeOpacity:.6}},hC={type:"point",axis:!1,legend:!1,encode:{x:"x",y:"y",size:5,color:"group",shape:"point"},style:{stroke:"#fff"}},hN={text:""},hx=e=>{let{data:t,encode:n={},scale:r,style:a={},layout:i={},nodeLabels:o=[],linkLabels:s=[],animate:l={},tooltip:c={}}=e,{nodeKey:u=e=>e.id,linkKey:d=e=>e.id}=n,p=h_(n,["nodeKey","linkKey"]),f=Object.assign({nodeKey:u,linkKey:d},p),m=rr(f,"node"),g=rr(f,"link"),{links:h,nodes:b}=lP(t,f),{nodesData:y,linksData:E}=function(e,t,n){let{nodes:r,links:a}=e,{joint:i,nodeStrength:o,linkStrength:s}=t,{nodeKey:l=e=>e.id,linkKey:c=e=>e.id}=n,u=(0,hE.Z)(),d=(0,hT.Z)(a).id(lL(c));"function"==typeof o&&u.strength(o),"function"==typeof s&&d.strength(s);let p=(0,hv.Z)(r).force("link",d).force("charge",u);i?p.force("center",(0,hS.Z)()):p.force("x",(0,hA.Z)()).force("y",(0,hO.Z)()),p.stop();let f=Math.ceil(Math.log(p.alphaMin())/Math.log(1-p.alphaDecay()));for(let e=0;e({name:"source",value:lL(d)(e.source)}),e=>({name:"target",value:lL(d)(e.target)})]}),v=oB(c,"node",{items:[e=>({name:"key",value:lL(u)(e)})]},!0);return[(0,n3.Z)({},hI,{data:E,encode:g,labels:s,style:rr(a,"link"),tooltip:T,animate:oH(l,"link")}),(0,n3.Z)({},hC,{data:y,encode:Object.assign({},m),scale:r,style:rr(a,"node"),tooltip:v,labels:[Object.assign(Object.assign({},hN),rr(a,"label")),...o],animate:oH(l,"link")})]};hx.props={};var hw=n(81594),hR=n(95608);let hL=e=>t=>n=>{let{field:r="value",nodeSize:a,separation:i,sortBy:o,as:s=["x","y"]}=t,[l,c]=s,u=(0,sP.ZP)(n,e=>e.children).sum(e=>e[r]).sort(o),d=e();d.size([1,1]),a&&d.nodeSize(a),i&&d.separation(i),d(u);let p=[];u.each(e=>{e[l]=e.x,e[c]=e.y,e.name=e.data.name,p.push(e)});let f=u.links();return f.forEach(e=>{e[l]=[e.source[l],e.target[l]],e[c]=[e.source[c],e.target[c]]}),{nodes:p,edges:f}},hD=e=>hL(hR.Z)(e);hD.props={};let hP=e=>hL(hw.Z)(e);hP.props={};let hM={sortBy:(e,t)=>t.value-e.value},hF={axis:!1,legend:!1,type:"point",encode:{x:"x",y:"y",size:2,shape:"point"}},hB={type:"link",encode:{x:"x",y:"y",shape:"smooth"}},hj={text:"",fontSize:10},hU=e=>{let{data:t,encode:n={},scale:r={},style:a={},layout:i={},nodeLabels:o=[],linkLabels:s=[],animate:l={},tooltip:c={}}=e,u=null==n?void 0:n.value,{nodes:d,edges:p}=hP(Object.assign(Object.assign(Object.assign({},hM),i),{field:u}))(t),f=oB(c,"node",{title:"name",items:["value"]},!0),m=oB(c,"link",{title:"",items:[e=>({name:"source",value:e.source.name}),e=>({name:"target",value:e.target.name})]});return[(0,n3.Z)({},hB,{data:p,encode:rr(n,"link"),scale:rr(r,"link"),labels:s,style:Object.assign({stroke:"#999"},rr(a,"link")),tooltip:m,animate:oH(l,"link")}),(0,n3.Z)({},hF,{data:d,scale:rr(r,"node"),encode:rr(n,"node"),labels:[Object.assign(Object.assign({},hj),rr(a,"label")),...o],style:Object.assign({},rr(a,"node")),tooltip:f,animate:oH(l,"node")})]};hU.props={};var hH=n(45571),hG=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let h$=(e,t)=>({size:[e,t],padding:0,sort:(e,t)=>t.value-e.value}),hz=(e,t,n)=>({type:"point",axis:!1,legend:!1,scale:{x:{domain:[0,e]},y:{domain:[0,t]},size:{type:"identity"}},encode:{x:"x",y:"y",size:"r",shape:"point"},style:{fill:n.color?void 0:e=>0===e.height?"#ddd":"#fff",stroke:n.color?void 0:e=>0===e.height?"":"#000"}}),hZ={text:"",position:"inside",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:e=>2*e.r},hW={title:e=>e.data.name,items:[{field:"value"}]},hY=(e,t,n)=>{let{value:r}=n,a=(0,rp.Z)(e)?(0,fv.Z)().path(t.path)(e):(0,sP.ZP)(e);return r?a.sum(e=>lL(r)(e)).sort(t.sort):a.count(),(0,hH.Z)().size(t.size).padding(t.padding)(a),a.descendants()},hV=(e,t)=>{let{width:n,height:r}=t,{data:a,encode:i={},scale:o={},style:s={},layout:l={},labels:c=[],tooltip:u={}}=e,d=hG(e,["data","encode","scale","style","layout","labels","tooltip"]),p=hz(n,r,i),f=hY(a,(0,n3.Z)({},h$(n,r),l),(0,n3.Z)({},p.encode,i)),m=rr(s,"label");return(0,n3.Z)({},p,Object.assign(Object.assign({data:f,encode:i,scale:o,style:s,labels:[Object.assign(Object.assign({},hZ),m),...c]},d),{tooltip:oj(u,hW),axis:!1}))};function hq(e){return e.target.depth}function hK(e,t){return e.sourceLinks.length?e.depth:t-1}function hX(e){return function(){return e}}function hQ(e,t){return h0(e.source,t.source)||e.index-t.index}function hJ(e,t){return h0(e.target,t.target)||e.index-t.index}function h0(e,t){return e.y0-t.y0}function h1(e){return e.value}function h2(e){return e.index}function h3(e){return e.nodes}function h4(e){return e.links}function h5(e,t){let n=e.get(t);if(!n)throw Error("missing: "+t);return n}function h6({nodes:e}){for(let t of e){let e=t.y0,n=e;for(let n of t.sourceLinks)n.y0=e+n.width/2,e+=n.width;for(let e of t.targetLinks)e.y1=n+e.width/2,n+=e.width}}hV.props={};let h9={nodeAlign:"justify",nodeWidth:.008,nodePadding:.03,nodes:e=>e.nodes,links:e=>e.links,nodeSort:void 0,linkSort:void 0,iterations:6},h8={left:function(e){return e.depth},right:function(e,t){return t-1-e.height},center:function(e){return e.targetLinks.length?e.depth:e.sourceLinks.length?(0,oD.Z)(e.sourceLinks,hq)-1:0},justify:hK},h7=e=>t=>{let{nodeId:n,nodeSort:r,nodeAlign:a,nodeWidth:i,nodePadding:o,nodeDepth:s,nodes:l,links:c,linkSort:u,iterations:d}=Object.assign({},h9,e),p=(function(){let e,t,n,r=0,a=0,i=1,o=1,s=24,l=8,c,u=h2,d=hK,p=h3,f=h4,m=6;function g(g){let b={nodes:p(g),links:f(g)};return function({nodes:e,links:t}){e.forEach((e,t)=>{e.index=t,e.sourceLinks=[],e.targetLinks=[]});let r=new Map(e.map(e=>[u(e),e]));if(t.forEach((e,t)=>{e.index=t;let{source:n,target:a}=e;"object"!=typeof n&&(n=e.source=h5(r,n)),"object"!=typeof a&&(a=e.target=h5(r,a)),n.sourceLinks.push(e),a.targetLinks.push(e)}),null!=n)for(let{sourceLinks:t,targetLinks:r}of e)t.sort(n),r.sort(n)}(b),function({nodes:e}){for(let t of e)t.value=void 0===t.fixedValue?Math.max((0,rT.Z)(t.sourceLinks,h1),(0,rT.Z)(t.targetLinks,h1)):t.fixedValue}(b),function({nodes:t}){let n=t.length,r=new Set(t),a=new Set,i=0;for(;r.size;){if(r.forEach(e=>{for(let{target:t}of(e.depth=i,e.sourceLinks))a.add(t)}),++i>n)throw Error("circular link");r=a,a=new Set}if(e){let n;let r=Math.max((0,rv.Z)(t,e=>e.depth)+1,0);for(let a=0;a{for(let{source:t}of(e.height=a,e.targetLinks))r.add(t)}),++a>t)throw Error("circular link");n=r,r=new Set}}(b),function(e){let u=function({nodes:e}){let n=Math.max((0,rv.Z)(e,e=>e.depth)+1,0),a=(i-r-s)/(n-1),o=Array(n).fill(0).map(()=>[]);for(let t of e){let e=Math.max(0,Math.min(n-1,Math.floor(d.call(null,t,n))));t.layer=e,t.x0=r+e*a,t.x1=t.x0+s,o[e]?o[e].push(t):o[e]=[t]}if(t)for(let e of o)e.sort(t);return o}(e);c=Math.min(l,(o-a)/((0,rv.Z)(u,e=>e.length)-1)),function(e){let t=(0,oD.Z)(e,e=>(o-a-(e.length-1)*c)/(0,rT.Z)(e,h1));for(let r of e){let e=a;for(let n of r)for(let r of(n.y0=e,n.y1=e+n.value*t,e=n.y1+c,n.sourceLinks))r.width=r.value*t;e=(o-e+c)/(r.length+1);for(let t=0;t=0;--i){let a=e[i];for(let e of a){let t=0,r=0;for(let{target:n,value:a}of e.sourceLinks){let i=a*(n.layer-e.layer);t+=function(e,t){let n=t.y0-(t.targetLinks.length-1)*c/2;for(let{source:r,width:a}of t.targetLinks){if(r===e)break;n+=a+c}for(let{target:r,width:a}of e.sourceLinks){if(r===t)break;n-=a}return n}(e,n)*i,r+=i}if(!(r>0))continue;let a=(t/r-e.y0)*n;e.y0+=a,e.y1+=a,E(e)}void 0===t&&a.sort(h0),a.length&&h(a,r)}})(u,n,r),function(e,n,r){for(let a=1,i=e.length;a0))continue;let a=(t/r-e.y0)*n;e.y0+=a,e.y1+=a,E(e)}void 0===t&&i.sort(h0),i.length&&h(i,r)}}(u,n,r)}}(b),h6(b),b}function h(e,t){let n=e.length>>1,r=e[n];y(e,r.y0-c,n-1,t),b(e,r.y1+c,n+1,t),y(e,o,e.length-1,t),b(e,a,0,t)}function b(e,t,n,r){for(;n1e-6&&(a.y0+=i,a.y1+=i),t=a.y1+c}}function y(e,t,n,r){for(;n>=0;--n){let a=e[n],i=(a.y1-t)*r;i>1e-6&&(a.y0-=i,a.y1-=i),t=a.y0-c}}function E({sourceLinks:e,targetLinks:t}){if(void 0===n){for(let{source:{sourceLinks:e}}of t)e.sort(hJ);for(let{target:{targetLinks:t}}of e)t.sort(hQ)}}return g.update=function(e){return h6(e),e},g.nodeId=function(e){return arguments.length?(u="function"==typeof e?e:hX(e),g):u},g.nodeAlign=function(e){return arguments.length?(d="function"==typeof e?e:hX(e),g):d},g.nodeDepth=function(t){return arguments.length?(e=t,g):e},g.nodeSort=function(e){return arguments.length?(t=e,g):t},g.nodeWidth=function(e){return arguments.length?(s=+e,g):s},g.nodePadding=function(e){return arguments.length?(l=c=+e,g):l},g.nodes=function(e){return arguments.length?(p="function"==typeof e?e:hX(e),g):p},g.links=function(e){return arguments.length?(f="function"==typeof e?e:hX(e),g):f},g.linkSort=function(e){return arguments.length?(n=e,g):n},g.size=function(e){return arguments.length?(r=a=0,i=+e[0],o=+e[1],g):[i-r,o-a]},g.extent=function(e){return arguments.length?(r=+e[0][0],i=+e[1][0],a=+e[0][1],o=+e[1][1],g):[[r,a],[i,o]]},g.iterations=function(e){return arguments.length?(m=+e,g):m},g})().nodeSort(r).linkSort(u).links(c).nodes(l).nodeWidth(i).nodePadding(o).nodeDepth(s).nodeAlign(function(e){let t=typeof e;return"string"===t?h8[e]||hK:"function"===t?e:hK}(a)).iterations(d).extent([[0,0],[1,1]]);"function"==typeof n&&p.nodeId(n);let f=p(t),{nodes:m,links:g}=f,h=m.map(e=>{let{x0:t,x1:n,y0:r,y1:a}=e;return Object.assign(Object.assign({},e),{x:[t,n,n,t],y:[r,r,a,a]})}),b=g.map(e=>{let{source:t,target:n}=e,r=t.x1,a=n.x0,i=e.width/2;return Object.assign(Object.assign({},e),{x:[r,r,a,a],y:[e.y0+i,e.y0-i,e.y1+i,e.y1-i]})});return{nodes:h,links:b}};h7.props={};var be=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let bt={nodeId:e=>e.key,nodeWidth:.02,nodePadding:.02},bn={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{stroke:"#000"}},br={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{fillOpacity:.5,stroke:void 0}},ba={textAlign:e=>e.x[0]<.5?"start":"end",position:e=>e.x[0]<.5?"right":"left",fontSize:10},bi=e=>{let{data:t,encode:n={},scale:r,style:a={},layout:i={},nodeLabels:o=[],linkLabels:s=[],animate:l={},tooltip:c={}}=e,{links:u,nodes:d}=lP(t,n),p=rr(n,"node"),f=rr(n,"link"),{key:m=e=>e.key,color:g=m}=p,{links:h,nodes:b}=h7(Object.assign(Object.assign(Object.assign({},bt),{nodeId:lL(m)}),i))({links:u,nodes:d}),y=rr(a,"label"),{text:E=m,spacing:T=5}=y,v=be(y,["text","spacing"]),S=lL(m),A=oB(c,"node",{title:S,items:[{field:"value"}]},!0),O=oB(c,"link",{title:"",items:[e=>({name:"source",value:S(e.source)}),e=>({name:"target",value:S(e.target)})]});return[(0,n3.Z)({},bn,{data:b,encode:Object.assign(Object.assign({},p),{color:g}),scale:r,style:rr(a,"node"),labels:[Object.assign(Object.assign(Object.assign({},ba),{text:E,dx:e=>e.x[0]<.5?T:-T}),v),...o],tooltip:A,animate:oH(l,"node"),axis:!1}),(0,n3.Z)({},br,{data:h,encode:f,labels:s,style:Object.assign({fill:f.color?void 0:"#aaa",lineWidth:0},rr(a,"link")),tooltip:O,animate:oH(l,"link")})]};function bo(e,t){return t.value-e.value}function bs(e,t){return t.frequency-e.frequency}function bl(e,t){return`${e.id}`.localeCompare(`${t.id}`)}function bc(e,t){return`${e.name}`.localeCompare(`${t.name}`)}bi.props={};let bu={y:0,thickness:.05,weight:!1,marginRatio:.1,id:e=>e.id,source:e=>e.source,target:e=>e.target,sourceWeight:e=>e.value||1,targetWeight:e=>e.value||1,sortBy:null},bd=e=>t=>(function(e){let{y:t,thickness:n,weight:r,marginRatio:a,id:i,source:o,target:s,sourceWeight:l,targetWeight:c,sortBy:u}=Object.assign(Object.assign({},bu),e);return function(e){let d=e.nodes.map(e=>Object.assign({},e)),p=e.edges.map(e=>Object.assign({},e));return function(e,t){t.forEach(e=>{e.source=o(e),e.target=s(e),e.sourceWeight=l(e),e.targetWeight=c(e)});let n=(0,n4.ZP)(t,e=>e.source),r=(0,n4.ZP)(t,e=>e.target);e.forEach(e=>{e.id=i(e);let t=n.has(e.id)?n.get(e.id):[],a=r.has(e.id)?r.get(e.id):[];e.frequency=t.length+a.length,e.value=(0,rT.Z)(t,e=>e.sourceWeight)+(0,rT.Z)(a,e=>e.targetWeight)})}(d,p),function(e,t){let n="function"==typeof u?u:Q[u];n&&e.sort(n)}(d,0),function(e,i){let o=e.length;if(!o)throw re("Invalid nodes: it's empty!");if(!r){let n=1/o;return e.forEach((e,r)=>{e.x=(r+.5)*n,e.y=t})}let s=a/(2*o),l=e.reduce((e,t)=>e+=t.value,0);e.reduce((e,r)=>{r.weight=r.value/l,r.width=r.weight*(1-a),r.height=n;let i=s+e,o=i+r.width,c=t-n/2,u=c+n;return r.x=[i,o,o,i],r.y=[c,c,u,u],e+r.width+2*s},0)}(d,0),function(e,n){let a=new Map(e.map(e=>[e.id,e]));if(!r)return n.forEach(e=>{let t=o(e),n=s(e),r=a.get(t),i=a.get(n);r&&i&&(e.x=[r.x,i.x],e.y=[r.y,i.y])});n.forEach(e=>{e.x=[0,0,0,0],e.y=[t,t,t,t]});let i=(0,n4.ZP)(n,e=>e.source),l=(0,n4.ZP)(n,e=>e.target);e.forEach(e=>{let{edges:t,width:n,x:r,y:a,value:o,id:s}=e,c=i.get(s)||[],u=l.get(s)||[],d=0;c.map(e=>{let t=e.sourceWeight/o*n;e.x[0]=r[0]+d,e.x[1]=r[0]+d+t,d+=t}),u.forEach(e=>{let t=e.targetWeight/o*n;e.x[3]=r[0]+d,e.x[2]=r[0]+d+t,d+=t})})}(d,p),{nodes:d,edges:p}}})(e)(t);bd.props={};var bp=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let bf={y:0,thickness:.05,marginRatio:.1,id:e=>e.key,source:e=>e.source,target:e=>e.target,sourceWeight:e=>e.value||1,targetWeight:e=>e.value||1,sortBy:null},bm={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{opacity:1,fillOpacity:1,lineWidth:1}},bg={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{opacity:.5,lineWidth:1}},bh={position:"outside",fontSize:10},bb=(e,t)=>{let{data:n,encode:r={},scale:a,style:i={},layout:o={},nodeLabels:s=[],linkLabels:l=[],animate:c={},tooltip:u={}}=e,{nodes:d,links:p}=lP(n,r),f=rr(r,"node"),m=rr(r,"link"),{key:g=e=>e.key,color:h=g}=f,{linkEncodeColor:b=e=>e.source}=m,{nodeWidthRatio:y=bf.thickness,nodePaddingRatio:E=bf.marginRatio}=o,T=bp(o,["nodeWidthRatio","nodePaddingRatio"]),{nodes:v,edges:S}=bd(Object.assign(Object.assign(Object.assign(Object.assign({},bf),{id:lL(g),thickness:y,marginRatio:E}),T),{weight:!0}))({nodes:d,edges:p}),A=rr(i,"label"),{text:O=g}=A,_=bp(A,["text"]),k=oB(u,"node",{title:"",items:[e=>({name:e.key,value:e.value})]},!0),I=oB(u,"link",{title:"",items:[e=>({name:`${e.source} -> ${e.target}`,value:e.value})]}),{height:C,width:N}=t,x=Math.min(C,N);return[(0,n3.Z)({},bg,{data:S,encode:Object.assign(Object.assign({},m),{color:b}),labels:l,style:Object.assign({fill:b?void 0:"#aaa"},rr(i,"link")),tooltip:I,animate:oH(c,"link")}),(0,n3.Z)({},bm,{data:v,encode:Object.assign(Object.assign({},f),{color:h}),scale:a,style:rr(i,"node"),coordinate:{type:"polar",outerRadius:(x-20)/x,startAngle:-(2*Math.PI),endAngle:0},labels:[Object.assign(Object.assign(Object.assign({},bh),{text:O}),_),...s],tooltip:k,animate:oH(c,"node"),axis:!1})]};bb.props={};var by=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let bE=(e,t)=>({tile:"treemapSquarify",ratio:.5*(1+Math.sqrt(5)),size:[e,t],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,sort:(e,t)=>t.value-e.value,layer:0}),bT=(e,t)=>({type:"rect",axis:!1,encode:{x:"x",y:"y",key:"id",color:e=>e.path[1]},scale:{x:{domain:[0,e],range:[0,1]},y:{domain:[0,t],range:[0,1]}},style:{stroke:"#fff"},state:{active:{opacity:.6},inactive:{opacity:1}}}),bv={fontSize:10,text:e=>(0,d$.Z)(e.path),position:"inside",fill:"#000",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:e=>e.x1-e.x0},bS={title:e=>{var t,n;return null===(n=null===(t=e.path)||void 0===t?void 0:t.join)||void 0===n?void 0:n.call(t,".")},items:[{field:"value"}]},bA={title:e=>(0,d$.Z)(e.path),items:[{field:"value"}]},bO=(e,t)=>{let{width:n,height:r,options:a}=t,{data:i,encode:o={},scale:s,style:l={},layout:c={},labels:u=[],tooltip:d={}}=e,p=by(e,["data","encode","scale","style","layout","labels","tooltip"]),f=(0,sR.Z)(a,["interaction","treemapDrillDown"]),m=(0,n3.Z)({},bE(n,r),c,{layer:f?e=>1===e.depth:c.layer}),[g,h]=fC(i,m,o),b=rr(l,"label");return(0,n3.Z)({},bT(n,r),Object.assign(Object.assign({data:g,scale:s,style:l,labels:[Object.assign(Object.assign({},bv),b),...u]},p),{encode:o,tooltip:oj(d,bS),axis:!1}),f?{interaction:Object.assign(Object.assign({},p.interaction),{treemapDrillDown:f?Object.assign(Object.assign({},f),{originData:h,layout:m}):void 0}),encode:Object.assign({color:e=>(0,d$.Z)(e.path)},o),tooltip:oj(d,bA)}:{})};bO.props={};var b_=n(51758),bk=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function bI(e,t){return(0,oD.Z)(e,e=>t[e])}function bC(e,t){return(0,rv.Z)(e,e=>t[e])}function bN(e,t){let n=2.5*bx(e,t)-1.5*bR(e,t);return(0,oD.Z)(e,e=>t[e]>=n?t[e]:NaN)}function bx(e,t){return(0,b_.Z)(e,.25,e=>t[e])}function bw(e,t){return(0,b_.Z)(e,.5,e=>t[e])}function bR(e,t){return(0,b_.Z)(e,.75,e=>t[e])}function bL(e,t){let n=2.5*bR(e,t)-1.5*bx(e,t);return(0,rv.Z)(e,e=>t[e]<=n?t[e]:NaN)}function bD(){return(e,t)=>{let{encode:n}=t,{y:r,x:a}=n,{value:i}=r,{value:o}=a,s=Array.from((0,n4.ZP)(e,e=>o[+e]).values()),l=s.flatMap(e=>{let t=bN(e,i),n=bL(e,i);return e.filter(e=>i[e]n)});return[l,t]}}let bP=e=>{let{data:t,encode:n,style:r={},tooltip:a={},transform:i,animate:o}=e,s=bk(e,["data","encode","style","tooltip","transform","animate"]),{point:l=!0}=r,c=bk(r,["point"]),{y:u}=n,d={y:u,y1:u,y2:u,y3:u,y4:u},p={y1:bx,y2:bw,y3:bR},f=oB(a,"box",{items:[{channel:"y",name:"min"},{channel:"y1",name:"q1"},{channel:"y2",name:"q2"},{channel:"y3",name:"q3"},{channel:"y4",name:"max"}]},!0),m=oB(a,"point",{title:{channel:"x"},items:[{name:"outlier",channel:"y"}]});if(!l)return Object.assign({type:"box",data:t,transform:[Object.assign(Object.assign({type:"groupX",y:bI},p),{y4:bC})],encode:Object.assign(Object.assign({},n),d),style:c,tooltip:f},s);let g=rr(c,"box"),h=rr(c,"point");return[Object.assign({type:"box",data:t,transform:[Object.assign(Object.assign({type:"groupX",y:bN},p),{y4:bL})],encode:Object.assign(Object.assign({},n),d),style:g,tooltip:f,animate:oH(o,"box")},s),{type:"point",data:t,transform:[{type:bD}],encode:n,style:Object.assign({},h),tooltip:m,animate:oH(o,"point")}]};bP.props={};let bM=(e,t)=>Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))/2,bF=(e,t)=>{if(!t)return;let{coordinate:n}=t;if(!(null==n?void 0:n.getCenter))return;let r=n.getCenter();return(n,a,i)=>{let{document:o}=t.canvas,{color:s,index:l}=a,c=o.createElement("g",{}),u=bM(n[0],n[1]),d=2*bM(n[0],r),p=o.createElement("path",{style:Object.assign(Object.assign(Object.assign({d:[["M",...n[0]],["A",u,u,0,1,0,...n[1]],["A",d+2*u,d+2*u,0,0,0,...n[2]],["A",u,u,0,1,0===l?0:1,...n[3]],["A",d,d,0,0,1,...n[0]],["Z"]]},i),(0,rH.Z)(e,["shape","last","first"])),{fill:s||i.color})});return c.appendChild(p),c}};var bB=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let bj={coordinate:{type:"radial",innerRadius:.9,outerRadius:1,startAngle:-1.1*Math.PI,endAngle:.1*Math.PI},axis:{x:!1},legend:!1,tooltip:!1,encode:{x:"x",y:"y",color:"color"},scale:{color:{range:["#30BF78","#D0D0D0"]}}},bU={style:{shape:(e,t)=>{let{shape:n,radius:r}=e,a=bB(e,["shape","radius"]),i=rr(a,"pointer"),o=rr(a,"pin"),{shape:s}=i,l=bB(i,["shape"]),{shape:c}=o,u=bB(o,["shape"]),{coordinate:d,theme:p}=t;return(e,t)=>{let n=e.map(e=>d.invert(e)),[i,o,f]=function(e,t){let{transformations:n}=e.getOptions(),[,...r]=n.find(e=>e[0]===t);return r}(d,"polar"),m=d.clone(),{color:g}=t,h=r_({startAngle:i,endAngle:o,innerRadius:f,outerRadius:r});h.push(["cartesian"]),m.update({transformations:h});let b=n.map(e=>m.map(e)),[y,E]=aR(b),[T,v]=d.getCenter(),S=Object.assign(Object.assign({x1:y,y1:E,x2:T,y2:v,stroke:g},l),a),A=Object.assign(Object.assign({cx:T,cy:v,stroke:g},u),a),O=rc(new nS.ZA);return rl(s)||("function"==typeof s?O.append(()=>s(b,t,m,p)):O.append("line").call(a_,S).node()),rl(c)||("function"==typeof c?O.append(()=>c(b,t,m,p)):O.append("circle").call(a_,A).node()),O.node()}},lineWidth:4,pointerLineCap:"round",pinR:10,pinFill:"#fff",radius:.6}},bH={type:"text",style:{x:"50%",y:"60%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"}},bG=e=>{var t;let{data:n={},scale:r={},style:a={},animate:i={},transform:o=[]}=e,s=bB(e,["data","scale","style","animate","transform"]),{targetData:l,totalData:c,target:u,total:d,scale:p}=function(e,t){let{name:n="score",target:r,total:a,percent:i,thresholds:o=[]}=function(e){if((0,ab.Z)(e)){let t=Math.max(0,Math.min(e,1));return{percent:t,target:t,total:1}}return e}(e),s=i||r,l=i?1:a,c=Object.assign({y:{domain:[0,l]}},t);return o.length?{targetData:[{x:n,y:s,color:"target"}],totalData:o.map((e,t)=>({x:n,y:t>=1?e-o[t-1]:e,color:t})),target:s,total:l,scale:c}:{targetData:[{x:n,y:s,color:"target"}],totalData:[{x:n,y:s,color:"target"},{x:n,y:l-s,color:"total"}],target:s,total:l,scale:c}}(n,r),f=rr(a,"text"),m=(t=["pointer","pin"],Object.fromEntries(Object.entries(a).filter(([e])=>t.find(t=>e.startsWith(t))))),g=rr(a,"arc"),h=g.shape;return[(0,n3.Z)({},bj,Object.assign({type:"interval",transform:[{type:"stackY"}],data:c,scale:p,style:"round"===h?Object.assign(Object.assign({},g),{shape:bF}):g,animate:"object"==typeof i?rr(i,"arc"):i},s)),(0,n3.Z)({},bj,bU,Object.assign({type:"point",data:l,scale:p,style:m,animate:"object"==typeof i?rr(i,"indicator"):i},s)),(0,n3.Z)({},bH,{style:Object.assign({text:function(e,{target:t,total:n}){let{content:r}=e;return r?r(t,n):t.toString()}(f,{target:u,total:d})},f),animate:"object"==typeof i?rr(i,"text"):i})]};bG.props={};var b$=n(45607);let bz={pin:function(e,t,n){let r=4*n/3,a=Math.max(r,2*n),i=r/2,o=i+t-a/2,s=Math.asin(i/((a-i)*.85)),l=Math.cos(s)*i,c=e-l,u=o+Math.sin(s)*i,d=o+i/Math.sin(s);return` + M ${c} ${u} + A ${i} ${i} 0 1 1 ${c+2*l} ${u} + Q ${e} ${d} ${e} ${t+a/2} + Q ${e} ${d} ${c} ${u} + Z + `},rect:function(e,t,n){let r=.618*n;return` + M ${e-r} ${t-n} + L ${e+r} ${t-n} + L ${e+r} ${t+n} + L ${e-r} ${t+n} + Z + `},circle:function(e,t,n){return` + M ${e} ${t-n} + a ${n} ${n} 0 1 0 0 ${2*n} + a ${n} ${n} 0 1 0 0 ${-(2*n)} + Z + `},diamond:function(e,t,n){return` + M ${e} ${t-n} + L ${e+n} ${t} + L ${e} ${t+n} + L ${e-n} ${t} + Z + `},triangle:function(e,t,n){return` + M ${e} ${t-n} + L ${e+n} ${t+n} + L ${e-n} ${t+n} + Z + `}};var bZ=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let bW=(e="circle")=>bz[e]||bz.circle,bY=(e,t)=>{if(!t)return;let{coordinate:n}=t,{liquidOptions:r,styleOptions:a}=e,{liquidShape:i,percent:o}=r,{background:s,outline:l={},wave:c={}}=a,u=bZ(a,["background","outline","wave"]),{border:d=2,distance:p=0}=l,f=bZ(l,["border","distance"]),{length:m=192,count:g=3}=c;return(e,r,a)=>{let{document:l}=t.canvas,{color:c,fillOpacity:h}=a,b=Object.assign(Object.assign({fill:c},a),u),y=l.createElement("g",{}),[E,T]=n.getCenter(),v=n.getSize(),S=Math.min(...v)/2,A=(0,b$.Z)(i)?i:bW(i),O=A(E,T,S,...v);if(Object.keys(s).length){let e=l.createElement("path",{style:Object.assign({d:O,fill:"#fff"},s)});y.appendChild(e)}if(o>0){let e=l.createElement("path",{style:{d:O}});y.appendChild(e),y.style.clipPath=e,function(e,t,n,r,a,i,o,s,l,c,u){let{fill:d,fillOpacity:p,opacity:f}=a;for(let a=0;a0;)c-=2*Math.PI;c=c/Math.PI/2*n;let u=i-e+c-2*e;l.push(["M",u,t]);let d=0;for(let e=0;et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let bq={axis:{x:!1,y:!1},legend:!1,tooltip:!1,encode:{x:"type",y:"percent"},scale:{y:{domain:[0,1]}},style:{shape:bY},animate:{enter:{type:"fadeIn"}}},bK={type:"text",style:{x:"50%",y:"50%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"},animate:{enter:{type:"fadeIn"}}},bX=e=>{let{data:t={},style:n={},animate:r}=e,a=bV(e,["data","style","animate"]),i=Math.max(0,(0,ab.Z)(t)?t:null==t?void 0:t.percent),o=[{percent:i,type:"liquid"}],s=Object.assign(Object.assign({},rr(n,"text")),rr(n,"content")),l=rr(n,"outline"),c=rr(n,"wave"),u=rr(n,"background");return[(0,n3.Z)({},bq,Object.assign({type:"interval",data:o,style:{liquidOptions:{percent:i,liquidShape:null==n?void 0:n.shape},styleOptions:Object.assign(Object.assign({},n),{outline:l,wave:c,background:u})},animate:r},a)),(0,n3.Z)({},bK,{style:Object.assign({text:`${rI(100*i)} %`},s),animate:r})]};bX.props={};var bQ=n(69916);function bJ(e,t){let n=function(e){let t=[];for(let n=0;nt[n].radius+1e-10)return!1;return!0}(t,e)}),a=0,i=0,o,s=[];if(r.length>1){let t=function(e){let t={x:0,y:0};for(let n=0;n-1){let a=e[t.parentIndex[r]],i=Math.atan2(t.x-a.x,t.y-a.y),o=Math.atan2(n.x-a.x,n.y-a.y),s=o-i;s<0&&(s+=2*Math.PI);let u=o-s/2,d=b1(l,{x:a.x+a.radius*Math.sin(u),y:a.y+a.radius*Math.cos(u)});d>2*a.radius&&(d=2*a.radius),(null===c||c.width>d)&&(c={circle:a,width:d,p1:t,p2:n})}null!==c&&(s.push(c),a+=b0(c.circle.radius,c.width),n=t)}}else{let t=e[0];for(o=1;oMath.abs(t.radius-e[o].radius)){n=!0;break}n?a=i=0:(a=t.radius*t.radius*Math.PI,s.push({circle:t,p1:{x:t.x,y:t.y+t.radius},p2:{x:t.x-1e-10,y:t.y+t.radius},width:2*t.radius}))}return i/=2,t&&(t.area=a+i,t.arcArea=a,t.polygonArea=i,t.arcs=s,t.innerPoints=r,t.intersectionPoints=n),a+i}function b0(e,t){return e*e*Math.acos(1-t/e)-(e-t)*Math.sqrt(t*(2*e-t))}function b1(e,t){return Math.sqrt((e.x-t.x)*(e.x-t.x)+(e.y-t.y)*(e.y-t.y))}function b2(e,t,n){if(n>=e+t)return 0;if(n<=Math.abs(e-t))return Math.PI*Math.min(e,t)*Math.min(e,t);let r=e-(n*n-t*t+e*e)/(2*n),a=t-(n*n-e*e+t*t)/(2*n);return b0(e,r)+b0(t,a)}function b3(e,t){let n=b1(e,t),r=e.radius,a=t.radius;if(n>=r+a||n<=Math.abs(r-a))return[];let i=(r*r-a*a+n*n)/(2*n),o=Math.sqrt(r*r-i*i),s=e.x+i*(t.x-e.x)/n,l=e.y+i*(t.y-e.y)/n,c=-(t.y-e.y)*(o/n),u=-(t.x-e.x)*(o/n);return[{x:s+c,y:l-u},{x:s-c,y:l+u}]}function b4(e,t,n){return Math.min(e,t)*Math.min(e,t)*Math.PI<=n+1e-10?Math.abs(e-t):(0,bQ.bisect)(function(r){return b2(e,t,r)-n},0,e+t)}function b5(e,t){let n=function(e,t){let n;let r=t&&t.lossFunction?t.lossFunction:b6,a={},i={};for(let t=0;t=Math.min(a[o].size,a[s].size)&&(r=0),i[o].push({set:s,size:n.size,weight:r}),i[s].push({set:o,size:n.size,weight:r})}let o=[];for(n in i)if(i.hasOwnProperty(n)){let e=0;for(let t=0;t=8){let a=function(e,t){let n,r,a;t=t||{};let i=t.restarts||10,o=[],s={};for(n=0;n=Math.min(t[i].size,t[o].size)?u=1:e.size<=1e-10&&(u=-1),a[i][o]=a[o][i]=u}),{distances:r,constraints:a}}(e,o,s),c=l.distances,u=l.constraints,d=(0,bQ.norm2)(c.map(bQ.norm2))/c.length;c=c.map(function(e){return e.map(function(e){return e/d})});let p=function(e,t){return function(e,t,n,r){let a=0,i;for(i=0;i0&&m<=d||p<0&&m>=d||(a+=2*g*g,t[2*i]+=4*g*(o-c),t[2*i+1]+=4*g*(s-u),t[2*l]+=4*g*(c-o),t[2*l+1]+=4*g*(u-s))}}return a}(e,t,c,u)};for(n=0;n{let{sets:t="sets",size:n="size",as:r=["key","path"],padding:a=0}=e,[i,o]=r;return e=>{let r;let s=e.map(e=>Object.assign(Object.assign({},e),{sets:e[t],size:e[n],[i]:e.sets.join("&")}));s.sort((e,t)=>e.sets.length-t.sets.length);let l=function(e,t){let n;(t=t||{}).maxIterations=t.maxIterations||500;let r=t.initialLayout||b5,a=t.lossFunction||b6;e=function(e){let t,n,r,a;e=e.slice();let i=[],o={};for(t=0;te>t?1:-1),t=0;t{let n=e[t];return Object.assign(Object.assign({},e),{[o]:({width:e,height:t})=>{r=r||function(e,t,n,r){let a=[],i=[];for(let t in e)e.hasOwnProperty(t)&&(i.push(t),a.push(e[t]));t-=2*r,n-=2*r;let o=function(e){let t=function(t){let n=Math.max.apply(null,e.map(function(e){return e[t]+e.radius})),r=Math.min.apply(null,e.map(function(e){return e[t]-e.radius}));return{max:n,min:r}};return{xRange:t("x"),yRange:t("y")}}(a),s=o.xRange,l=o.yRange;if(s.max==s.min||l.max==l.min)return console.log("not scaling solution: zero size detected"),e;let c=t/(s.max-s.min),u=n/(l.max-l.min),d=Math.min(u,c),p=(t-(s.max-s.min)*d)/2,f=(n-(l.max-l.min)*d)/2,m={};for(let e=0;er[e]),o=function(e){let t={};bJ(e,t);let n=t.arcs;if(0===n.length)return"M 0 0";if(1==n.length){let e=n[0].circle;return function(e,t,n){let r=[],a=e-n;return r.push("M",a,t),r.push("A",n,n,0,1,0,a+2*n,t),r.push("A",n,n,0,1,0,a,t),r.join(" ")}(e.x,e.y,e.radius)}{let e=["\nM",n[0].p2.x,n[0].p2.y];for(let t=0;ta;e.push("\nA",a,a,0,i?1:0,1,r.p1.x,r.p1.y)}return e.join(" ")}}(i);return/[zZ]$/.test(o)||(o+=" Z"),o}})})}};b9.props={};var b8=function(){return(b8=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{this.forceFit()},300),this._renderer=r||new n0.Th,this._plugins=a||[],this._container=function(e){if(void 0===e){let e=document.createElement("div");return e[sy]=!0,e}if("string"==typeof e){let t=document.getElementById(e);return t}return e}(t),this._emitter=new nv.Z,this._context={library:Object.assign(Object.assign({},i),nQ),emitter:this._emitter,canvas:n,createCanvas:o},this._create()}render(){if(this._rendering)return this._addToTrailing();this._context.canvas||this._createCanvas(),this._context.canvas.getConfig().supportsCSSTransform=!0,this._bindAutoFit(),this._rendering=!0;let e=new Promise((e,t)=>(function(e,t={},n=()=>{},r=e=>{throw e}){var a;let{width:i=640,height:o=480,depth:s=0}=e,l=function(e){let t=(0,n3.Z)({},e),n=new Map([[t,null]]),r=new Map([[null,-1]]),a=[t];for(;a.length;){let e=a.shift();if(void 0===e.key){let t=n.get(e),a=r.get(e),i=null===t?"0":`${t.key}-${a}`;e.key=i}let{children:t=[]}=e;if(Array.isArray(t))for(let i=0;i(function e(t,n,r){var a;return o2(this,void 0,void 0,function*(){let{library:i}=r,[o]=iJ("composition",i),[s]=iJ("interaction",i),l=new Set(Object.keys(i).map(e=>{var t;return null===(t=/mark\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(rn)),c=new Set(Object.keys(i).map(e=>{var t;return null===(t=/component\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(rn)),u=e=>{let{type:t}=e;if("function"==typeof t){let{props:e={}}=t,{composite:n=!0}=e;if(n)return"mark"}return"string"!=typeof t?t:l.has(t)||c.has(t)?"mark":t},d=e=>"mark"===u(e),p=e=>"standardView"===u(e),f=e=>{let{type:t}=e;return"string"==typeof t&&!!c.has(t)},m=e=>{if(p(e))return[e];let t=u(e),n=o({type:t,static:f(e)});return n(e)},g=[],h=new Map,b=new Map,y=[t],E=[];for(;y.length;){let e=y.shift();if(p(e)){let t=b.get(e),[n,a]=t?o8(t,e,i):yield o5(e,r);h.set(n,e),g.push(n);let o=a.flatMap(m).map(e=>i2(e,i));if(y.push(...o),o.every(p)){let e=yield Promise.all(o.map(e=>o6(e,r)));!function(e){let t=e.flatMap(e=>Array.from(e.values())).flatMap(e=>e.channels.map(e=>e.scale));on(t,"x"),on(t,"y")}(e);for(let t=0;te.key).join(e=>e.append("g").attr("className",ii).attr("id",e=>e.key).call(o4).each(function(e,t,n){o7(e,rc(n),S,r),T.set(e,n)}),e=>e.call(o4).each(function(e,t,n){o7(e,rc(n),S,r),v.set(e,n)}),e=>e.each(function(e,t,n){let r=n.nameInteraction.values();for(let e of r)e.destroy()}).remove());let A=(t,n,a)=>Array.from(t.entries()).map(([i,o])=>{let s=a||new Map,l=h.get(i),c=function(t,n,r){let{library:a}=r,i=function(e){let[,t]=iJ("interaction",e);return e=>{let[n,r]=e;try{return[n,t(n)]}catch(e){return[n,r.type]}}}(a),o=si(n),s=o.map(i).filter(e=>e[1]&&e[1].props&&e[1].props.reapplyWhenUpdate).map(e=>e[0]);return(n,a,i)=>o2(this,void 0,void 0,function*(){let[o,l]=yield o5(n,r);for(let e of(o7(o,t,[],r),s.filter(e=>e!==a)))!function(e,t,n,r,a){var i;let{library:o}=a,[s]=iJ("interaction",o),l=t.node(),c=l.nameInteraction,u=si(n).find(([t])=>t===e),d=c.get(e);if(!d||(null===(i=d.destroy)||void 0===i||i.call(d),!u[1]))return;let p=o9(r,e,u[1],s),f={options:n,view:r,container:t.node(),update:e=>Promise.resolve(e)},m=p(f,[],a.emitter);c.set(e,{destroy:m})}(e,t,n,o,r);for(let n of l)e(n,t,r);return i(),{options:n,view:o}})}(rc(o),l,r);return{view:i,container:o,options:l,setState:(e,t=e=>e)=>s.set(e,t),update:(e,r)=>o2(this,void 0,void 0,function*(){let a=n8(Array.from(s.values())),i=a(l);return yield c(i,e,()=>{(0,rp.Z)(r)&&n(t,r,s)})})}}),O=(e=v,t,n)=>{var a;let i=A(e,O,n);for(let e of i){let{options:n,container:o}=e,l=o.nameInteraction,c=si(n);for(let n of(t&&(c=c.filter(e=>t.includes(e[0]))),c)){let[t,o]=n,c=l.get(t);if(c&&(null===(a=c.destroy)||void 0===a||a.call(c)),o){let n=o9(e.view,t,o,s),a=n(e,i,r.emitter);l.set(t,{destroy:a})}}}},_=A(T,O);for(let e of _){let{options:t}=e,n=new Map;for(let a of(e.container.nameInteraction=n,si(t))){let[t,i]=a;if(i){let a=o9(e.view,t,i,s),o=a(e,_,r.emitter);n.set(t,{destroy:o})}}}O();let{width:k,height:I}=t,C=[];for(let t of E){let a=new Promise(a=>o2(this,void 0,void 0,function*(){for(let a of t){let t=Object.assign({width:k,height:I},a);yield e(t,n,r)}a()}));C.push(a)}r.views=g,null===(a=r.animations)||void 0===a||a.forEach(e=>null==e?void 0:e.cancel()),r.animations=S,r.emitter.emit(rd.AFTER_PAINT);let N=S.filter(rn).map(sr).map(e=>e.finished);return Promise.all([...N,...C])})})(Object.assign(Object.assign({},l),{width:i,height:o,depth:s}),m,t)).then(()=>{if(s){let[e,t]=c.document.documentElement.getPosition();c.document.documentElement.setPosition(e,t,-s/2)}c.requestAnimationFrame(()=>{u.emit(rd.AFTER_RENDER),null==n||n()})}).catch(e=>{null==r||r(e)}),"string"==typeof(a=c.getConfig().container)?document.getElementById(a):a})(this._computedOptions(),this._context,this._createResolve(e),this._createReject(t))),[t,n,r]=function(){let e,t;let n=new Promise((n,r)=>{t=n,e=r});return[n,t,e]}();return e.then(n).catch(r).then(()=>this._renderTrailing()),t}options(e){if(0==arguments.length)return function(e){let t=function(e){if(null!==e.type)return e;let t=e.children[e.children.length-1];for(let n of sb)t.attr(n,e.attr(n));return t}(e),n=[t],r=new Map;for(r.set(t,sT(t));n.length;){let e=n.pop(),t=r.get(e),{children:a=[]}=e;for(let e of a)if(e.type===sE)t.children=e.value;else{let a=sT(e),{children:i=[]}=t;i.push(a),n.push(e),r.set(e,a),t.children=i}}return r.get(t)}(this);let{type:t}=e;return t&&(this._previousDefinedType=t),function(e,t,n,r,a){let i=function(e,t,n,r,a){let{type:i}=e,{type:o=n||i}=t;if("function"!=typeof o&&new Set(Object.keys(a)).has(o)){for(let n of sb)void 0!==e.attr(n)&&void 0===t[n]&&(t[n]=e.attr(n));return t}if("function"==typeof o||new Set(Object.keys(r)).has(o)){let e={type:"view"},n=Object.assign({},t);for(let t of sb)void 0!==n[t]&&(e[t]=n[t],delete n[t]);return Object.assign(Object.assign({},e),{children:[n]})}return t}(e,t,n,r,a),o=[[null,e,i]];for(;o.length;){let[e,t,n]=o.shift();if(t){if(n){!function(e,t){let{type:n,children:r}=t,a=sh(t,["type","children"]);e.type===n||void 0===n?function e(t,n,r=5,a=0){if(!(a>=r)){for(let i of Object.keys(n)){let o=n[i];(0,n6.Z)(o)&&(0,n6.Z)(t[i])?e(t[i],o,r,a+1):t[i]=o}return t}}(e.value,a):"string"==typeof n&&(e.type=n,e.value=a)}(t,n);let{children:e}=n,{children:r}=t;if(Array.isArray(e)&&Array.isArray(r)){let n=Math.max(e.length,r.length);for(let a=0;a{this.emit(rd.AFTER_CHANGE_SIZE)}),n}changeSize(e,t){if(e===this._width&&t===this._height)return Promise.resolve(this);this.emit(rd.BEFORE_CHANGE_SIZE),this.attr("width",e),this.attr("height",t);let n=this.render();return n.then(()=>{this.emit(rd.AFTER_CHANGE_SIZE)}),n}_create(){let{library:e}=this._context,t=["mark.mark",...Object.keys(e).filter(e=>e.startsWith("mark.")||"component.axisX"===e||"component.axisY"===e||"component.legends"===e)];for(let e of(this._marks={},t)){let t=e.split(".").pop();class n extends sC{constructor(){super({},t)}}this._marks[t]=n,this[t]=function(e){let r=this.append(n);return"mark"===t&&(r.type=e),r}}let n=["composition.view",...Object.keys(e).filter(e=>e.startsWith("composition.")&&"composition.mark"!==e)];for(let e of(this._compositions=Object.fromEntries(n.map(e=>{let t=e.split(".").pop(),n=class extends sI{constructor(){super({},t)}};return n=sN([sS(sA(this._marks))],n),[t,n]})),Object.values(this._compositions)))sS(sA(this._compositions))(e);for(let e of n){let t=e.split(".").pop();this[t]=function(){let e=this._compositions[t];return this.type=null,this.append(e)}}}_reset(){let e=["theme","type","width","height","autoFit"];this.type="view",this.value=Object.fromEntries(Object.entries(this.value).filter(([t])=>t.startsWith("margin")||t.startsWith("padding")||t.startsWith("inset")||e.includes(t))),this.children=[]}_renderTrailing(){this._trailing&&(this._trailing=!1,this.render().then(()=>{let e=this._trailingResolve.bind(this);this._trailingResolve=null,e(this)}).catch(e=>{let t=this._trailingReject.bind(this);this._trailingReject=null,t(e)}))}_createResolve(e){return()=>{this._rendering=!1,e(this)}}_createReject(e){return t=>{this._rendering=!1,e(t)}}_computedOptions(){let e=this.options(),{key:t="G2_CHART_KEY"}=e,{width:n,height:r,depth:a}=sv(e,this._container);return this._width=n,this._height=r,this._key=t,Object.assign(Object.assign({key:this._key},e),{width:n,height:r,depth:a})}_createCanvas(){let{width:e,height:t}=sv(this.options(),this._container);this._plugins.push(new n1.S),this._plugins.forEach(e=>this._renderer.registerPlugin(e)),this._context.canvas=new nS.Xz({container:this._container,width:e,height:t,renderer:this._renderer})}_addToTrailing(){var e;null===(e=this._trailingResolve)||void 0===e||e.call(this,this),this._trailing=!0;let t=new Promise((e,t)=>{this._trailingResolve=e,this._trailingReject=t});return t}_bindAutoFit(){let e=this.options(),{autoFit:t}=e;if(this._hasBindAutoFit){t||this._unbindAutoFit();return}t&&(this._hasBindAutoFit=!0,window.addEventListener("resize",this._onResize))}_unbindAutoFit(){this._hasBindAutoFit&&(this._hasBindAutoFit=!1,window.removeEventListener("resize",this._onResize))}},o=b8(b8({},Object.assign(Object.assign(Object.assign(Object.assign({},{"composition.geoView":hh,"composition.geoPath":hy}),{"data.arc":bd,"data.cluster":hD,"mark.forceGraph":hx,"mark.tree":hU,"mark.pack":hV,"mark.sankey":bi,"mark.chord":bb,"mark.treemap":bO}),{"data.venn":b9,"mark.boxplot":bP,"mark.gauge":bG,"mark.wordCloud":da,"mark.liquid":bX}),{"data.fetch":gh,"data.inline":gb,"data.sortBy":gy,"data.sort":gE,"data.filter":gv,"data.pick":gS,"data.rename":gA,"data.fold":gO,"data.slice":g_,"data.custom":gk,"data.map":gI,"data.join":gN,"data.kde":gR,"data.log":gL,"data.wordCloud":gK,"transform.stackY":mT,"transform.binX":mB,"transform.bin":mF,"transform.dodgeX":mU,"transform.jitter":mG,"transform.jitterX":m$,"transform.jitterY":mz,"transform.symmetryY":mW,"transform.diffY":mY,"transform.stackEnter":mV,"transform.normalizeY":mX,"transform.select":m2,"transform.selectX":m4,"transform.selectY":m6,"transform.groupX":m7,"transform.groupY":ge,"transform.groupColor":gt,"transform.group":m8,"transform.sortX":gi,"transform.sortY":go,"transform.sortColor":gs,"transform.flexX":gl,"transform.pack":gc,"transform.sample":gp,"transform.filter":gf,"coordinate.cartesian":s0,"coordinate.polar":rA,"coordinate.transpose":s1,"coordinate.theta":s3,"coordinate.parallel":s4,"coordinate.fisheye":s5,"coordinate.radial":r_,"coordinate.radar":s6,"encode.constant":s9,"encode.field":s8,"encode.transform":s7,"encode.column":le,"mark.interval":lB,"mark.rect":lU,"mark.line":l8,"mark.point":cC,"mark.text":cB,"mark.cell":cH,"mark.area":c0,"mark.link":ur,"mark.image":us,"mark.polygon":uf,"mark.box":uE,"mark.vector":uv,"mark.lineX":uk,"mark.lineY":uN,"mark.connector":uD,"mark.range":uB,"mark.rangeX":uH,"mark.rangeY":uz,"mark.path":uK,"mark.shape":u0,"mark.density":u4,"mark.heatmap":dt,"mark.wordCloud":da,"palette.category10":di,"palette.category20":ds,"scale.linear":dl,"scale.ordinal":du,"scale.band":dp,"scale.identity":dm,"scale.point":dh,"scale.time":dy,"scale.log":dT,"scale.pow":dS,"scale.sqrt":dO,"scale.threshold":d_,"scale.quantile":dk,"scale.quantize":dI,"scale.sequential":dN,"scale.constant":dx,"theme.classic":dD,"theme.classicDark":dF,"theme.academy":dj,"theme.light":dL,"theme.dark":dM,"component.axisX":dU,"component.axisY":dH,"component.legendCategory":dZ,"component.legendContinuous":ai,"component.legends":dW,"component.title":dK,"component.sliderX":d0,"component.sliderY":d1,"component.scrollbarX":d5,"component.scrollbarY":d6,"animation.scaleInX":d9,"animation.scaleOutX":(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let[i]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=i.style,[u,d]=rx(n)?["left bottom","scale(1, 0.0001)"]:["left top","scale(0.0001, 1)"],p=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(p,Object.assign(Object.assign({},a),e));return f}},"animation.scaleInY":d8,"animation.scaleOutY":(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let[i]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=i.style,[u,d]=rx(n)?["left top","scale(0.0001, 1)"]:["left bottom","scale(1, 0.0001)"],p=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(p,Object.assign(Object.assign({},a),e));return f}},"animation.waveIn":d7,"animation.fadeIn":pe,"animation.fadeOut":pt,"animation.zoomIn":e=>(t,n,r)=>{let[a]=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=a.style,c="center center",u=[{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.01},{transform:`${i} scale(1)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l}],d=a.animate(u,Object.assign(Object.assign({},r),e));return d},"animation.zoomOut":e=>(t,n,r)=>{let[a]=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=a.style,c="center center",u=[{transform:`${i} scale(1)`.trimStart(),transformOrigin:c},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.99},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0}],d=a.animate(u,Object.assign(Object.assign({},r),e));return d},"animation.pathIn":pn,"animation.morphing":pf,"animation.growInX":pm,"animation.growInY":pg,"interaction.elementHighlight":pb,"interaction.elementHighlightByX":py,"interaction.elementHighlightByColor":pE,"interaction.elementSelect":pv,"interaction.elementSelectByX":pS,"interaction.elementSelectByColor":pA,"interaction.fisheye":function({wait:e=30,leading:t,trailing:n=!1}){return r=>{let{options:a,update:i,setState:o,container:s}=r,l=iN(s),c=(0,pO.Z)(e=>{let t=iw(l,e);if(!t){o("fisheye"),i();return}o("fisheye",e=>{let n=(0,n3.Z)({},e,{interaction:{tooltip:{preserve:!0}}});for(let e of n.marks)e.animate=!1;let[r,a]=t,i=function(e){let{coordinate:t={}}=e,{transform:n=[]}=t,r=n.find(e=>"fisheye"===e.type);if(r)return r;let a={type:"fisheye"};return n.push(a),t.transform=n,e.coordinate=t,a}(n);return i.focusX=r,i.focusY=a,i.visual=!0,n}),i()},e,{leading:t,trailing:n});return l.addEventListener("pointerenter",c),l.addEventListener("pointermove",c),l.addEventListener("pointerleave",c),()=>{l.removeEventListener("pointerenter",c),l.removeEventListener("pointermove",c),l.removeEventListener("pointerleave",c)}}},"interaction.chartIndex":pI,"interaction.tooltip":pY,"interaction.legendFilter":function(){return(e,t,n)=>{let{container:r}=e,a=t.filter(t=>t!==e),i=a.length>0,o=e=>p1(e).scales.map(e=>e.name),s=[...pJ(r),...p0(r)],l=s.flatMap(o),c=i?(0,pO.Z)(p3,50,{trailing:!0}):(0,pO.Z)(p2,50,{trailing:!0}),u=s.map(t=>{let{name:s,domain:u}=p1(t).scales[0],d=o(t),p={legend:t,channel:s,channels:d,allChannels:l};return t.className===pq?function(e,{legends:t,marker:n,label:r,datum:a,filter:i,emitter:o,channel:s,state:l={}}){let c=new Map,u=new Map,d=new Map,{unselected:p={markerStroke:"#aaa",markerFill:"#aaa",labelFill:"#aaa"}}=l,f={unselected:rr(p,"marker")},m={unselected:rr(p,"label")},{setState:g,removeState:h}=iM(f,void 0),{setState:b,removeState:y}=iM(m,void 0),E=Array.from(t(e)),T=E.map(a),v=()=>{for(let e of E){let t=a(e),i=n(e),o=r(e);T.includes(t)?(h(i,"unselected"),y(o,"unselected")):(g(i,"unselected"),b(o,"unselected"))}};for(let t of E){let n=()=>{i$(e,"pointer")},r=()=>{i$(e,e.cursor)},l=e=>pV(this,void 0,void 0,function*(){let n=a(t),r=T.indexOf(n);-1===r?T.push(n):T.splice(r,1),yield i(T),v();let{nativeEvent:l=!0}=e;l&&(T.length===E.length?o.emit("legend:reset",{nativeEvent:l}):o.emit("legend:filter",Object.assign(Object.assign({},e),{nativeEvent:l,data:{channel:s,values:T}})))});t.addEventListener("click",l),t.addEventListener("pointerenter",n),t.addEventListener("pointerout",r),c.set(t,l),u.set(t,n),d.set(t,r)}let S=e=>pV(this,void 0,void 0,function*(){let{nativeEvent:t}=e;if(t)return;let{data:n}=e,{channel:r,values:a}=n;r===s&&(T=a,yield i(T),v())}),A=e=>pV(this,void 0,void 0,function*(){let{nativeEvent:t}=e;t||(T=E.map(a),yield i(T),v())});return o.on("legend:filter",S),o.on("legend:reset",A),()=>{for(let e of E)e.removeEventListener("click",c.get(e)),e.removeEventListener("pointerenter",u.get(e)),e.removeEventListener("pointerout",d.get(e)),o.off("legend:filter",S),o.off("legend:reset",A)}}(r,{legends:pQ,marker:pK,label:pX,datum:e=>{let{__data__:t}=e,{index:n}=t;return u[n]},filter:t=>{let n=Object.assign(Object.assign({},p),{value:t,ordinal:!0});i?c(a,n):c(e,n)},state:t.attributes.state,channel:s,emitter:n}):function(e,{legend:t,filter:n,emitter:r,channel:a}){let i=({detail:{value:e}})=>{n(e),r.emit({nativeEvent:!0,data:{channel:a,values:e}})};return t.addEventListener("valuechange",i),()=>{t.removeEventListener("valuechange",i)}}(0,{legend:t,filter:t=>{let n=Object.assign(Object.assign({},p),{value:t,ordinal:!1});i?c(a,n):c(e,n)},emitter:n,channel:s})});return()=>{u.forEach(e=>e())}}},"interaction.legendHighlight":function(){return(e,t,n)=>{let{container:r,view:a,options:i}=e,o=pJ(r),s=ik(r),l=e=>p1(e).scales[0].name,c=e=>{let{scale:{[e]:t}}=a;return t},u=iB(i,["active","inactive"]),d=ij(s,iP(a)),p=[];for(let e of o){let t=t=>{let{data:n}=e.attributes,{__data__:r}=t,{index:a}=r;return n[a].label},r=l(e),a=pQ(e),i=c(r),o=(0,n4.ZP)(s,e=>i.invert(e.__data__[r])),{state:f={}}=e.attributes,{inactive:m={}}=f,{setState:g,removeState:h}=iM(u,d),b={inactive:rr(m,"marker")},y={inactive:rr(m,"label")},{setState:E,removeState:T}=iM(b),{setState:v,removeState:S}=iM(y),A=e=>{for(let t of a){let n=pK(t),r=pX(t);t===e||null===e?(T(n,"inactive"),S(r,"inactive")):(E(n,"inactive"),v(r,"inactive"))}},O=(e,a)=>{let i=t(a),l=new Set(o.get(i));for(let e of s)l.has(e)?g(e,"active"):g(e,"inactive");A(a);let{nativeEvent:c=!0}=e;c&&n.emit("legend:highlight",Object.assign(Object.assign({},e),{nativeEvent:c,data:{channel:r,value:i}}))},_=new Map;for(let e of a){let t=t=>{O(t,e)};e.addEventListener("pointerover",t),_.set(e,t)}let k=e=>{for(let e of s)h(e,"inactive","active");A(null);let{nativeEvent:t=!0}=e;t&&n.emit("legend:unhighlight",{nativeEvent:t})},I=e=>{let{nativeEvent:n,data:i}=e;if(n)return;let{channel:o,value:s}=i;if(o!==r)return;let l=a.find(e=>t(e)===s);l&&O({nativeEvent:!1},l)},C=e=>{let{nativeEvent:t}=e;t||k({nativeEvent:!1})};e.addEventListener("pointerleave",k),n.on("legend:highlight",I),n.on("legend:unhighlight",C);let N=()=>{for(let[t,r]of(e.removeEventListener(k),n.off("legend:highlight",I),n.off("legend:unhighlight",C),_))t.removeEventListener(r)};p.push(N)}return()=>p.forEach(e=>e())}},"interaction.brushHighlight":fe,"interaction.brushXHighlight":function(e){return fe(Object.assign(Object.assign({},e),{brushRegion:ft,selectedHandles:["handle-e","handle-w"]}))},"interaction.brushYHighlight":function(e){return fe(Object.assign(Object.assign({},e),{brushRegion:fn,selectedHandles:["handle-n","handle-s"]}))},"interaction.brushAxisHighlight":function(e){return(t,n,r)=>{let{container:a,view:i,options:o}=t,s=iN(a),{x:l,y:c}=s.getBBox(),{coordinate:u}=i;return function(e,t){var{axes:n,elements:r,points:a,horizontal:i,datum:o,offsetY:s,offsetX:l,reverse:c=!1,state:u={},emitter:d,coordinate:p}=t,f=fr(t,["axes","elements","points","horizontal","datum","offsetY","offsetX","reverse","state","emitter","coordinate"]);let m=r(e),g=n(e),h=ij(m,o),{setState:b,removeState:y}=iM(u,h),E=new Map,T=rr(f,"mask"),v=e=>Array.from(E.values()).every(([t,n,r,a])=>e.some(([e,i])=>e>=t&&e<=r&&i>=n&&i<=a)),S=g.map(e=>e.attributes.scale),A=e=>e.length>2?[e[0],e[e.length-1]]:e,O=new Map,_=()=>{O.clear();for(let e=0;e{let n=[];for(let e of m){let t=a(e);v(t)?(b(e,"active"),n.push(e)):b(e,"inactive")}O.set(e,C(n,e)),t&&d.emit("brushAxis:highlight",{nativeEvent:!0,data:{selection:(()=>{if(!N)return Array.from(O.values());let e=[];for(let[t,n]of O){let r=S[t],{name:a}=r.getOptions();"x"===a?e[0]=n:e[1]=n}return e})()}})},I=e=>{for(let e of m)y(e,"active","inactive");_(),e&&d.emit("brushAxis:remove",{nativeEvent:!0})},C=(e,t)=>{let n=S[t],{name:r}=n.getOptions(),a=e.map(e=>{let t=e.__data__;return n.invert(t[r])});return A(im(n,a))},N=g.some(i)&&g.some(e=>!i(e)),x=[];for(let e=0;e{let{nativeEvent:t}=e;t||x.forEach(e=>e.remove(!1))},R=(e,t,n)=>{let[r,a]=e,o=L(r,t,n),s=L(a,t,n)+(t.getStep?t.getStep():0);return i(n)?[o,-1/0,s,1/0]:[-1/0,o,1/0,s]},L=(e,t,n)=>{let{height:r,width:a}=p.getOptions(),o=t.clone();return i(n)?o.update({range:[0,a]}):o.update({range:[r,0]}),o.map(e)},D=e=>{let{nativeEvent:t}=e;if(t)return;let{selection:n}=e.data;for(let e=0;e{x.forEach(e=>e.destroy()),d.off("brushAxis:remove",w),d.off("brushAxis:highlight",D)}}(a,Object.assign({elements:ik,axes:fi,offsetY:c,offsetX:l,points:e=>e.__data__.points,horizontal:e=>{let{startPos:[t,n],endPos:[r,a]}=e.attributes;return t!==r&&n===a},datum:iP(i),state:iB(o,["active",["inactive",{opacity:.5}]]),coordinate:u,emitter:r},e))}},"interaction.brushFilter":fd,"interaction.brushXFilter":function(e){return fd(Object.assign(Object.assign({hideX:!0},e),{brushRegion:ft}))},"interaction.brushYFilter":function(e){return fd(Object.assign(Object.assign({hideY:!0},e),{brushRegion:fn}))},"interaction.sliderFilter":fm,"interaction.scrollbarFilter":function(e={}){return(t,n,r)=>{let{view:a,container:i}=t,o=i.getElementsByClassName(fg);if(!o.length)return()=>{};let{scale:s}=a,{x:l,y:c}=s,u={x:[...l.getOptions().domain],y:[...c.getOptions().domain]};l.update({domain:l.getOptions().expectedDomain}),c.update({domain:c.getOptions().expectedDomain});let d=fm(Object.assign(Object.assign({},e),{initDomain:u,className:fg,prefix:"scrollbar",hasState:!0,setValue:(e,t)=>e.setValue(t[0]),getInitValues:e=>{let t=e.slider.attributes.values;if(0!==t[0])return t}}));return d(t,n,r)}},"interaction.poptip":fE,"interaction.treemapDrillDown":function(e={}){let{originData:t=[],layout:n}=e,r=fN(e,["originData","layout"]),a=(0,n3.Z)({},fx,r),i=rr(a,"breadCrumb"),o=rr(a,"active");return e=>{let{update:r,setState:a,container:s,options:l}=e,c=rc(s).select(`.${io}`).node(),u=l.marks[0],{state:d}=u,p=new nS.ZA;c.appendChild(p);let f=(e,l)=>{var u,d,m,g;return u=this,d=void 0,m=void 0,g=function*(){if(p.removeChildren(),l){let t="",n=i.y,r=0,a=[],s=c.getBBox().width,l=e.map((o,l)=>{t=`${t}${o}/`,a.push(o);let c=new nS.xv({name:t.replace(/\/$/,""),style:Object.assign(Object.assign({text:o,x:r,path:[...a],depth:l},i),{y:n})});p.appendChild(c),r+=c.getBBox().width;let u=new nS.xv({style:Object.assign(Object.assign({x:r,text:" / "},i),{y:n})});return p.appendChild(u),(r+=u.getBBox().width)>s&&(n=p.getBBox().height+i.y,r=0,c.attr({x:r,y:n}),r+=c.getBBox().width,u.attr({x:r,y:n}),r+=u.getBBox().width),l===(0,sB.Z)(e)-1&&u.remove(),c});l.forEach((e,t)=>{if(t===(0,sB.Z)(l)-1)return;let n=Object.assign({},e.attributes);e.attr("cursor","pointer"),e.addEventListener("mouseenter",()=>{e.attr(o)}),e.addEventListener("mouseleave",()=>{e.attr(n)}),e.addEventListener("click",()=>{f((0,sR.Z)(e,["style","path"]),(0,sR.Z)(e,["style","depth"]))})})}(function(e,t){let n=[...pJ(e),...p0(e)];n.forEach(e=>{t(e,e=>e)})})(s,a),a("treemapDrillDown",r=>{let{marks:a}=r,i=e.join("/"),o=a.map(e=>{if("rect"!==e.type)return e;let r=t;if(l){let e=t.filter(e=>{let t=(0,sR.Z)(e,["id"]);return t&&(t.match(`${i}/`)||i.match(t))}).map(e=>({value:0===e.height?(0,sR.Z)(e,["value"]):void 0,name:(0,sR.Z)(e,["id"])})),{paddingLeft:a,paddingBottom:o,paddingRight:s}=n,c=Object.assign(Object.assign({},n),{paddingTop:(n.paddingTop||p.getBBox().height+10)/(l+1),paddingLeft:a/(l+1),paddingBottom:o/(l+1),paddingRight:s/(l+1),path:e=>e.name,layer:e=>e.depth===l+1});r=fC(e,c,{value:"value"})[0]}else r=t.filter(e=>1===e.depth);let a=[];return r.forEach(({path:e})=>{a.push((0,d$.Z)(e))}),(0,n3.Z)({},e,{data:r,scale:{color:{domain:a}}})});return Object.assign(Object.assign({},r),{marks:o})}),yield r(void 0,["legendFilter"])},new(m||(m=Promise))(function(e,t){function n(e){try{a(g.next(e))}catch(e){t(e)}}function r(e){try{a(g.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof m?a:new m(function(e){e(a)})).then(n,r)}a((g=g.apply(u,d||[])).next())})},m=e=>{let n=e.target;if("rect"!==(0,sR.Z)(n,["markType"]))return;let r=(0,sR.Z)(n,["__data__","key"]),a=(0,fT.Z)(t,e=>e.id===r);(0,sR.Z)(a,"height")&&f((0,sR.Z)(a,"path"),(0,sR.Z)(a,"depth"))};c.addEventListener("click",m);let g=(0,sK.Z)(Object.assign(Object.assign({},d.active),d.inactive)),h=()=>{let e=iY(c);e.forEach(e=>{let n=(0,sR.Z)(e,["style","cursor"]),r=(0,fT.Z)(t,t=>t.id===(0,sR.Z)(e,["__data__","key"]));if("pointer"!==n&&(null==r?void 0:r.height)){e.style.cursor="pointer";let t=(0,sw.Z)(e.attributes,g);e.addEventListener("mouseenter",()=>{e.attr(d.active)}),e.addEventListener("mouseleave",()=>{e.attr((0,n3.Z)(t,d.inactive))})}})};return h(),c.addEventListener("mousemove",h),()=>{p.remove(),c.removeEventListener("click",m),c.removeEventListener("mousemove",h)}}},"interaction.elementPointMove":function(e={}){let{selection:t=[],precision:n=2}=e,r=fL(e,["selection","precision"]),a=Object.assign(Object.assign({},fD),r||{}),i=rr(a,"path"),o=rr(a,"label"),s=rr(a,"point");return(e,r,a)=>{let l;let{update:c,setState:u,container:d,view:p,options:{marks:f,coordinate:m}}=e,g=iN(d),h=iY(g),b=t,{transform:y=[],type:E}=m,T=!!(0,fT.Z)(y,({type:e})=>"transpose"===e),v="polar"===E,S="theta"===E,A=!!(0,fT.Z)(h,({markType:e})=>"area"===e);A&&(h=h.filter(({markType:e})=>"area"===e));let O=new nS.ZA({style:{zIndex:2}});g.appendChild(O);let _=()=>{a.emit("element-point:select",{nativeEvent:!0,data:{selection:b}})},k=(e,t)=>{a.emit("element-point:moved",{nativeEvent:!0,data:{changeData:e,data:t}})},I=e=>{let t=e.target;b=[t.parentNode.childNodes.indexOf(t)],_(),N(t)},C=e=>{let{data:{selection:t},nativeEvent:n}=e;if(n)return;b=t;let r=(0,sR.Z)(h,[null==b?void 0:b[0]]);r&&N(r)},N=e=>{let t;let{attributes:r,markType:a,__data__:m}=e,{stroke:g}=r,{points:h,seriesTitle:y,color:E,title:I,seriesX:C,y1:x}=m;if(T&&"interval"!==a)return;let{scale:w,coordinate:R}=(null==l?void 0:l.view)||p,{color:L,y:D,x:P}=w,M=R.getCenter();O.removeChildren();let F=(e,t,n,r)=>fR(this,void 0,void 0,function*(){return u("elementPointMove",a=>{var i;let o=((null===(i=null==l?void 0:l.options)||void 0===i?void 0:i.marks)||f).map(a=>{if(!r.includes(a.type))return a;let{data:i,encode:o}=a,s=Object.keys(o),l=s.reduce((r,a)=>{let i=o[a];return"x"===a&&(r[i]=e),"y"===a&&(r[i]=t),"color"===a&&(r[i]=n),r},{}),c=fB(l,i,o);return k(l,c),(0,n3.Z)({},a,{data:c,animate:!1})});return Object.assign(Object.assign({},a),{marks:o})}),yield c("elementPointMove")});if(["line","area"].includes(a))h.forEach((r,a)=>{let c=P.invert(C[a]);if(!c)return;let u=new nS.Cd({name:fP,style:Object.assign({cx:r[0],cy:r[1],fill:g},s)}),p=fU(e,a);u.addEventListener("mousedown",f=>{let m=R.output([C[a],0]),g=null==y?void 0:y.length;d.attr("cursor","move"),b[1]!==a&&(b[1]=a,_()),fH(O.childNodes,b,s);let[T,S]=fG(O,u,i,o),k=e=>{let i=r[1]+e.clientY-t[1];if(A){if(v){let o=r[0]+e.clientX-t[0],[s,l]=fz(M,m,[o,i]),[,c]=R.output([1,D.output(0)]),[,d]=R.invert([s,c-(h[a+g][1]-l)]),f=(a+1)%g,b=(a-1+g)%g,E=iW([h[b],[s,l],y[f]&&h[f]]);S.attr("text",p(D.invert(d)).toFixed(n)),T.attr("d",E),u.attr("cx",s),u.attr("cy",l)}else{let[,e]=R.output([1,D.output(0)]),[,t]=R.invert([r[0],e-(h[a+g][1]-i)]),o=iW([h[a-1],[r[0],i],y[a+1]&&h[a+1]]);S.attr("text",p(D.invert(t)).toFixed(n)),T.attr("d",o),u.attr("cy",i)}}else{let[,e]=R.invert([r[0],i]),t=iW([h[a-1],[r[0],i],h[a+1]]);S.attr("text",D.invert(e).toFixed(n)),T.attr("d",t),u.attr("cy",i)}};t=[f.clientX,f.clientY],window.addEventListener("mousemove",k);let I=()=>fR(this,void 0,void 0,function*(){if(d.attr("cursor","default"),window.removeEventListener("mousemove",k),d.removeEventListener("mouseup",I),(0,fw.Z)(S.attr("text")))return;let t=Number(S.attr("text")),n=f$(L,E);l=yield F(c,t,n,["line","area"]),S.remove(),T.remove(),N(e)});d.addEventListener("mouseup",I)}),O.appendChild(u)}),fH(O.childNodes,b,s);else if("interval"===a){let r=[(h[0][0]+h[1][0])/2,h[0][1]];T?r=[h[0][0],(h[0][1]+h[1][1])/2]:S&&(r=h[0]);let c=fj(e),u=new nS.Cd({name:fP,style:Object.assign(Object.assign({cx:r[0],cy:r[1],fill:g},s),{stroke:s.activeStroke})});u.addEventListener("mousedown",s=>{d.attr("cursor","move");let p=f$(L,E),[f,m]=fG(O,u,i,o),g=e=>{if(T){let a=r[0]+e.clientX-t[0],[i]=R.output([D.output(0),D.output(0)]),[,o]=R.invert([i+(a-h[2][0]),r[1]]),s=iW([[a,h[0][1]],[a,h[1][1]],h[2],h[3]],!0);m.attr("text",c(D.invert(o)).toFixed(n)),f.attr("d",s),u.attr("cx",a)}else if(S){let a=r[1]+e.clientY-t[1],i=r[0]+e.clientX-t[0],[o,s]=fz(M,[i,a],r),[l,d]=fz(M,[i,a],h[1]),p=R.invert([o,s])[1],g=x-p;if(g<0)return;let b=function(e,t,n=0){let r=[["M",...t[1]]],a=iZ(e,t[1]),i=iZ(e,t[0]);return 0===a?r.push(["L",...t[3]],["A",i,i,0,n,1,...t[0]],["Z"]):r.push(["A",a,a,0,n,0,...t[2]],["L",...t[3]],["A",i,i,0,n,1,...t[0]],["Z"]),r}(M,[[o,s],[l,d],h[2],h[3]],g>.5?1:0);m.attr("text",c(g,!0).toFixed(n)),f.attr("d",b),u.attr("cx",o),u.attr("cy",s)}else{let a=r[1]+e.clientY-t[1],[,i]=R.output([1,D.output(0)]),[,o]=R.invert([r[0],i-(h[2][1]-a)]),s=iW([[h[0][0],a],[h[1][0],a],h[2],h[3]],!0);m.attr("text",c(D.invert(o)).toFixed(n)),f.attr("d",s),u.attr("cy",a)}};t=[s.clientX,s.clientY],window.addEventListener("mousemove",g);let b=()=>fR(this,void 0,void 0,function*(){if(d.attr("cursor","default"),d.removeEventListener("mouseup",b),window.removeEventListener("mousemove",g),(0,fw.Z)(m.attr("text")))return;let t=Number(m.attr("text"));l=yield F(I,t,p,[a]),m.remove(),f.remove(),N(e)});d.addEventListener("mouseup",b)}),O.appendChild(u)}};h.forEach((e,t)=>{b[0]===t&&N(e),e.addEventListener("click",I),e.addEventListener("mouseenter",fM),e.addEventListener("mouseleave",fF)});let x=e=>{let t=null==e?void 0:e.target;t&&(t.name===fP||h.includes(t))||(b=[],_(),O.removeChildren())};return a.on("element-point:select",C),a.on("element-point:unselect",x),d.addEventListener("mousedown",x),()=>{O.remove(),a.off("element-point:select",C),a.off("element-point:unselect",x),d.removeEventListener("mousedown",x),h.forEach(e=>{e.removeEventListener("click",I),e.removeEventListener("mouseenter",fM),e.removeEventListener("mouseleave",fF)})}}},"composition.spaceLayer":fW,"composition.spaceFlex":fV,"composition.facetRect":f7,"composition.repeatMatrix":()=>e=>{let t=fq.of(e).call(f1).call(fQ).call(mn).call(mr).call(fJ).call(f0).call(mt).value();return[t]},"composition.facetCircle":()=>e=>{let t=fq.of(e).call(f1).call(ms).call(fQ).call(mo).call(f2).call(f3,mc,ml,ml,{frame:!1}).call(fJ).call(f0).call(mi).value();return[t]},"composition.timingKeyframe":mu,"labelTransform.overlapHide":e=>{let{priority:t}=e;return e=>{let n=[];return t&&e.sort(t),e.forEach(e=>{iO(e);let t=e.getLocalBounds(),r=n.some(e=>(function(e,t){let[n,r]=e,[a,i]=t;return n[0]a[0]&&n[1]a[1]})(gX(t),gX(e.getLocalBounds())));r?iA(e):n.push(e)}),e}},"labelTransform.overlapDodgeY":e=>{let{maxIterations:t=10,maxError:n=.1,padding:r=1}=e;return e=>{let a=e.length;if(a<=1)return e;let[i,o]=gJ(),[s,l]=gJ(),[c,u]=gJ(),[d,p]=gJ();for(let t of e){let{min:e,max:n}=function(e){let t=e.cloneNode(!0),n=t.getElementById("connector");n&&t.removeChild(n);let{min:r,max:a}=t.getRenderBounds();return t.destroy(),{min:r,max:a}}(t),[r,a]=e,[i,s]=n;o(t,a),l(t,a),u(t,s-a),p(t,[r,i])}for(let i=0;i(0,oP.Z)(s(e),s(t)));let t=0;for(let n=0;ne&&t>n}(d(i),d(a));)o+=1;if(a){let e=s(i),n=c(i),o=s(a),u=o-(e+n);if(ue=>(e.forEach(e=>{iO(e);let t=e.attr("bounds"),n=e.getLocalBounds(),r=function(e,t){let[n,r]=e;return!(gQ(n,t)&&gQ(r,t))}(gX(n),t);r&&iA(e)}),e),"labelTransform.contrastReverse":e=>{let{threshold:t=4.5,palette:n=["#000","#fff"]}=e;return e=>(e.forEach(e=>{let r=e.attr("dependentElement").parsedStyle.fill,a=e.parsedStyle.fill,i=g2(a,r);ig2(e,"object"==typeof t?t:(0,nS.lu)(t)));return t[n]}(r,n))}),e)},"labelTransform.exceedAdjust":()=>(e,{canvas:t})=>{let{width:n,height:r}=t.getConfig();return e.forEach(e=>{iO(e);let{max:t,min:a}=e.getRenderBounds(),[i,o]=t,[s,l]=a,c=g3([[s,l],[i,o]],[[0,0],[n,r]]);e.style.connector&&e.style.connectorPoints&&(e.style.connectorPoints[0][0]-=c[0],e.style.connectorPoints[0][1]-=c[1]),e.style.x+=c[0],e.style.y+=c[1]}),e}})),{"interaction.drillDown":function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{breadCrumb:t={},isFixedColor:n=!1}=e,r=(0,n3.Z)({},sJ,t);return e=>{let{update:t,setState:a,container:i,view:o,options:s}=e,l=i.ownerDocument,c=(0,sX.Ys)(i).select(".".concat(sX.V$)).node(),u=s.marks.find(e=>{let{id:t}=e;return t===sz}),{state:d}=u,p=l.createElement("g");c.appendChild(p);let f=(e,i)=>{var s,u,d,m;return s=this,u=void 0,d=void 0,m=function*(){if(p.removeChildren(),e){let t=l.createElement("text",{style:Object.assign({x:0,text:r.rootText,depth:0},r.style)});p.appendChild(t);let n="",a=null==e?void 0:e.split(" / "),i=r.style.y,o=p.getBBox().width,s=c.getBBox().width,u=a.map((e,t)=>{let a=l.createElement("text",{style:Object.assign(Object.assign({x:o,text:" / "},r.style),{y:i})});p.appendChild(a),o+=a.getBBox().width,n="".concat(n).concat(e," / ");let c=l.createElement("text",{name:n.replace(/\s\/\s$/,""),style:Object.assign(Object.assign({text:e,x:o,depth:t+1},r.style),{y:i})});return p.appendChild(c),(o+=c.getBBox().width)>s&&(i=p.getBBox().height,o=0,a.attr({x:o,y:i}),o+=a.getBBox().width,c.attr({x:o,y:i}),o+=c.getBBox().width),c});[t,...u].forEach((e,t)=>{if(t===u.length)return;let n=Object.assign({},e.attributes);e.attr("cursor","pointer"),e.addEventListener("mouseenter",()=>{e.attr(r.active)}),e.addEventListener("mouseleave",()=>{e.attr(n)}),e.addEventListener("click",()=>{f(e.name,(0,sR.Z)(e,["style","depth"]))})})}a("drillDown",t=>{let{marks:r}=t,a=r.map(t=>{if(t.id!==sz&&"rect"!==t.type)return t;let{data:r}=t,a=Object.fromEntries(["color"].map(e=>[e,{domain:o.scale[e].getOptions().domain}])),s=r.filter(t=>{let r=t.path;if(n||(t[sY]=r.split(" / ")[i]),!e)return!0;let a=new RegExp("^".concat(e,".+"));return a.test(r)});return(0,n3.Z)({},t,n?{data:s,scale:a}:{data:s})});return Object.assign(Object.assign({},t),{marks:a})}),yield t()},new(d||(d=Promise))(function(e,t){function n(e){try{a(m.next(e))}catch(e){t(e)}}function r(e){try{a(m.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof d?a:new d(function(e){e(a)})).then(n,r)}a((m=m.apply(s,u||[])).next())})},m=e=>{let t=e.target;if((0,sR.Z)(t,["style",sZ])!==sz||"rect"!==(0,sR.Z)(t,["markType"])||!(0,sR.Z)(t,["style",sH]))return;let n=(0,sR.Z)(t,["__data__","key"]),r=(0,sR.Z)(t,["style","depth"]);t.style.cursor="pointer",f(n,r)};c.addEventListener("click",m);let g=(0,sK.Z)(Object.assign(Object.assign({},d.active),d.inactive)),h=()=>{let e=sQ(c);e.forEach(e=>{let t=(0,sR.Z)(e,["style",sH]),n=(0,sR.Z)(e,["style","cursor"]);if("pointer"!==n&&t){e.style.cursor="pointer";let t=(0,sw.Z)(e.attributes,g);e.addEventListener("mouseenter",()=>{e.attr(d.active)}),e.addEventListener("mouseleave",()=>{e.attr((0,n3.Z)(t,d.inactive))})}})};return c.addEventListener("mousemove",h),()=>{p.remove(),c.removeEventListener("click",m),c.removeEventListener("mousemove",h)}}},"mark.sunburst":sq}),class extends i{constructor(e){super(Object.assign(Object.assign({},e),{lib:o}))}}),ye=function(){return(ye=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},yn=["renderer"],yr=["width","height","autoFit","theme","inset","insetLeft","insetRight","insetTop","insetBottom","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","margin","marginTop","marginRight","marginBottom","marginLeft","depth","title","clip","children","type","data","direction"],ya="__transform__",yi=function(e,t){return(0,ei.isBoolean)(t)?{type:e,available:t}:ye({type:e},t)},yo={xField:"encode.x",yField:"encode.y",colorField:"encode.color",angleField:"encode.y",keyField:"encode.key",sizeField:"encode.size",shapeField:"encode.shape",seriesField:"encode.series",positionField:"encode.position",textField:"encode.text",valueField:"encode.value",binField:"encode.x",srcField:"encode.src",linkColorField:"encode.linkColor",fontSizeField:"encode.fontSize",radius:"coordinate.outerRadius",innerRadius:"coordinate.innerRadius",startAngle:"coordinate.startAngle",endAngle:"coordinate.endAngle",focusX:"coordinate.focusX",focusY:"coordinate.focusY",distortionX:"coordinate.distortionX",distortionY:"coordinate.distortionY",visual:"coordinate.visual",stack:{target:"transform",value:function(e){return yi("stackY",e)}},normalize:{target:"transform",value:function(e){return yi("normalizeY",e)}},percent:{target:"transform",value:function(e){return yi("normalizeY",e)}},group:{target:"transform",value:function(e){return yi("dodgeX",e)}},sort:{target:"transform",value:function(e){return yi("sortX",e)}},symmetry:{target:"transform",value:function(e){return yi("symmetryY",e)}},diff:{target:"transform",value:function(e){return yi("diffY",e)}},meta:{target:"scale",value:function(e){return e}},label:{target:"labels",value:function(e){return e}},shape:"style.shape",connectNulls:{target:"style",value:function(e){return(0,ei.isBoolean)(e)?{connect:e}:e}}},ys=["xField","yField","seriesField","colorField","keyField","positionField","meta","tooltip","animate","stack","normalize","percent","group","sort","symmetry","diff"],yl=[{key:"annotations",extend_keys:[]},{key:"line",type:"line",extend_keys:ys},{key:"point",type:"point",extend_keys:ys},{key:"area",type:"area",extend_keys:ys}],yc=[{key:"transform",callback:function(e,t,n){e[t]=e[t]||[];var r,a=n.available,i=yt(n,["available"]);if(void 0===a||a)e[t].push(ye(((r={})[ya]=!0,r),i));else{var o=e[t].indexOf(function(e){return e.type===n.type});-1!==o&&e[t].splice(o,1)}}},{key:"labels",callback:function(e,t,n){var r;if(!n||(0,ei.isArray)(n)){e[t]=n||[];return}n.text||(n.text=e.yField),e[t]=e[t]||[],e[t].push(ye(((r={})[ya]=!0,r),n))}}],yu=[{key:"conversionTag",shape:"ConversionTag"},{key:"axisText",shape:"BidirectionalBarAxisText"}],yd=(s=function(e,t){return(s=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),yp=function(){return(yp=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},ym=function(e){function t(t){void 0===t&&(t={});var n=t.style,r=yf(t,["style"]);return e.call(this,yp({style:yp({fill:"#eee"},n)},r))||this}return yd(t,e),t}(nS.mg),yg=(l=function(e,t){return(l=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),yh=function(){return(yh=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},yy=function(e){function t(t){void 0===t&&(t={});var n=t.style,r=yb(t,["style"]);return e.call(this,yh({style:yh({text:"",fontSize:12,textBaseline:"middle",textAlign:"center",fill:"#000",fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",lineWidth:1},n)},r))||this}return yg(t,e),t}(nS.xv),yE=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a0){var r=t.x,a=t.y,i=t.height,o=t.width,s=t.data,p=t.key,f=(0,ei.get)(s,l),g=m/2;if(e){var b=r+o/2,E=a;d.push({points:[[b+g,E-u+y],[b+g,E-h-y],[b,E-y],[b-g,E-h-y],[b-g,E-u+y]],center:[b,E-u/2-y],width:u,value:[c,f],key:p})}else{var b=r,E=a+i/2;d.push({points:[[r-u+y,E-g],[r-h-y,E-g],[b-y,E],[r-h-y,E+g],[r-u+y,E+g]],center:[b-u/2-y,E],width:u,value:[c,f],key:p})}c=f}}),d},t.prototype.render=function(){this.setDirection(),this.drawConversionTag()},t.prototype.setDirection=function(){var e=this.chart.getCoordinate(),t=(0,ei.get)(e,"options.transformations"),n="horizontal";t.forEach(function(e){e.includes("transpose")&&(n="vertical")}),this.direction=n},t.prototype.drawConversionTag=function(){var e=this,t=this.getConversionTagLayout(),n=this.attributes,r=n.style,a=n.text,i=a.style,o=a.formatter;t.forEach(function(t){var n=t.points,a=t.center,s=t.value,l=t.key,c=s[0],u=s[1],d=a[0],p=a[1],f=new ym({style:y_({points:n,fill:"#eee"},r),id:"polygon-".concat(l)}),m=new yy({style:y_({x:d,y:p,text:(0,ei.isFunction)(o)?o(c,u):(u/c*100).toFixed(2)+"%"},i),id:"text-".concat(l)});e.appendChild(f),e.appendChild(m)})},t.prototype.update=function(){var e=this;this.getConversionTagLayout().forEach(function(t){var n=t.points,r=t.center,a=t.key,i=r[0],o=r[1],s=e.getElementById("polygon-".concat(a)),l=e.getElementById("text-".concat(a));s.setAttribute("points",n),l.setAttribute("x",i),l.setAttribute("y",o)})},t.tag="ConversionTag",t}(yA),yI=(d=function(e,t){return(d=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),yC=function(){return(yC=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},yx={ConversionTag:yk,BidirectionalBarAxisText:function(e){function t(n,r){return e.call(this,n,r,{type:t.tag})||this}return yI(t,e),t.prototype.render=function(){this.drawText()},t.prototype.getBidirectionalBarAxisTextLayout=function(){var e="vertical"===this.attributes.layout,t=this.getElementsLayout(),n=e?(0,ei.uniqBy)(t,"x"):(0,ei.uniqBy)(t,"y"),r=["title"],a=[],i=this.chart.getContext().views,o=(0,ei.get)(i,[0,"layout"]),s=o.width,l=o.height;return n.forEach(function(t){var n=t.x,i=t.y,o=t.height,c=t.width,u=t.data,d=t.key,p=(0,ei.get)(u,r);e?a.push({x:n+c/2,y:l,text:p,key:d}):a.push({x:s,y:i+o/2,text:p,key:d})}),(0,ei.uniqBy)(a,"text").length!==a.length&&(a=Object.values((0,ei.groupBy)(a,"text")).map(function(t){var n,r=t.reduce(function(t,n){return t+(e?n.x:n.y)},0);return yC(yC({},t[0]),((n={})[e?"x":"y"]=r/t.length,n))})),a},t.prototype.transformLabelStyle=function(e){var t={},n=/^label[A-Z]/;return Object.keys(e).forEach(function(r){n.test(r)&&(t[r.replace("label","").replace(/^[A-Z]/,function(e){return e.toLowerCase()})]=e[r])}),t},t.prototype.drawText=function(){var e=this,t=this.getBidirectionalBarAxisTextLayout(),n=this.attributes,r=n.layout,a=n.labelFormatter,i=yN(n,["layout","labelFormatter"]);t.forEach(function(t){var n=t.x,o=t.y,s=t.text,l=t.key,c=new yy({style:yC({x:n,y:o,text:(0,ei.isFunction)(a)?a(s):s,wordWrap:!0,wordWrapWidth:"horizontal"===r?64:120,maxLines:2,textOverflow:"ellipsis"},e.transformLabelStyle(i)),id:"text-".concat(l)});e.appendChild(c)})},t.prototype.update=function(){var e=this;this.getBidirectionalBarAxisTextLayout().forEach(function(t){var n=t.x,r=t.y,a=t.key,i=e.getElementById("text-".concat(a));i.setAttribute("x",n),i.setAttribute("y",r)})},t.tag="BidirectionalBarAxisText",t}(yA)},yw=function(){function e(e,t){this.container=new Map,this.chart=e,this.config=t,this.init()}return e.prototype.init=function(){var e=this;yu.forEach(function(t){var n,r=t.key,a=t.shape,i=e.config[r];if(i){var o=new yx[a](e.chart,i);e.chart.getContext().canvas.appendChild(o),e.container.set(r,o)}else null===(n=e.container.get(r))||void 0===n||n.clear()})},e.prototype.update=function(){var e=this;this.container.size&&yu.forEach(function(t){var n=t.key,r=e.container.get(n);null==r||r.update()})},e}(),yR=(p=function(e,t){return(p=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),yL=function(){return(yL=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&(0,ei.set)(t,"children",[{type:"interval"}]);var n=t.scale,r=t.markBackground,a=t.data,i=t.children,o=t.yField,s=(0,ei.get)(n,"y.domain",[]);if(r&&s.length&&(0,ei.isArray)(a)){var l="domainMax",c=a.map(function(e){var t;return yV(yV({originData:yV({},e)},(0,ei.omit)(e,o)),((t={})[l]=s[s.length-1],t))});i.unshift(yV({type:"interval",data:c,yField:l,tooltip:!1,style:{fill:"#eee"},label:!1},r))}return e},yz,yH)(e)}var yK=(g=function(e,t){return(g=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}g(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});nJ("shape.interval.bar25D",function(e,t){return function(n){var r=e.fill,a=void 0===r?"#2888FF":r,i=e.stroke,o=e.fillOpacity,s=void 0===o?1:o,l=e.strokeOpacity,c=void 0===l?.2:l,u=e.pitch,d=void 0===u?8:u,p=n[0],f=n[1],m=n[2],g=n[3],h=(f[1]-p[1])/2,b=t.document,y=b.createElement("g",{}),E=b.createElement("polygon",{style:{points:[p,[p[0]-d,p[1]+h],[m[0]-d,p[1]+h],g],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c,inset:30}}),T=b.createElement("polygon",{style:{points:[[p[0]-d,p[1]+h],f,m,[m[0]-d,p[1]+h]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c}}),v=b.createElement("polygon",{style:{points:[p,[p[0]-d,p[1]+h],f,[p[0]+d,p[1]+h]],fill:a,fillOpacity:s-.2}});return y.appendChild(E),y.appendChild(T),y.appendChild(v),y}});var yX=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="Bar",t}return yK(t,e),t.getDefaultOptions=function(){return{type:"view",coordinate:{transform:[{type:"transpose"}]},children:[{type:"interval"}],scale:{y:{nice:!0}},axis:{y:{title:!1},x:{title:!1}},interaction:{tooltip:{shared:!0},elementHighlight:{background:!0}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return yq},t}(yP),yQ=(h=function(e,t){return(h=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});nJ("shape.interval.column25D",function(e,t){return function(n){var r=e.fill,a=void 0===r?"#2888FF":r,i=e.stroke,o=e.fillOpacity,s=void 0===o?1:o,l=e.strokeOpacity,c=void 0===l?.2:l,u=e.pitch,d=void 0===u?8:u,p=(n[1][0]-n[0][0])/2+n[0][0],f=t.document,m=f.createElement("g",{}),g=f.createElement("polygon",{style:{points:[[n[0][0],n[0][1]],[p,n[1][1]+d],[p,n[3][1]+d],[n[3][0],n[3][1]]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c,inset:30}}),h=f.createElement("polygon",{style:{points:[[p,n[1][1]+d],[n[1][0],n[1][1]],[n[2][0],n[2][1]],[p,n[2][1]+d]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c}}),b=f.createElement("polygon",{style:{points:[[n[0][0],n[0][1]],[p,n[1][1]-d],[n[1][0],n[1][1]],[p,n[1][1]+d]],fill:a,fillOpacity:s-.2}});return m.appendChild(h),m.appendChild(g),m.appendChild(b),m}});var yJ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="column",t}return yQ(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{y:{nice:!0}},interaction:{tooltip:{shared:!0},elementHighlight:{background:!0}},axis:{y:{title:!1},x:{title:!1}},children:[{type:"interval"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return yq},t}(yP);function y0(e){return(0,ei.flow)(function(e){var t=e.options,n=t.children;return t.legend&&(void 0===n?[]:n).forEach(function(e){if(!(0,ei.get)(e,"colorField")){var t=(0,ei.get)(e,"yField");(0,ei.set)(e,"colorField",function(){return t})}}),e},function(e){var t=e.options,n=t.annotations,r=void 0===n?[]:n,a=t.children,i=t.scale,o=!1;return(0,ei.get)(i,"y.key")||(void 0===a?[]:a).forEach(function(e,t){if(!(0,ei.get)(e,"scale.y.key")){var n="child".concat(t,"Scale");(0,ei.set)(e,"scale.y.key",n);var a=e.annotations,i=void 0===a?[]:a;i.length>0&&((0,ei.set)(e,"scale.y.independent",!1),i.forEach(function(e){(0,ei.set)(e,"scale.y.key",n)})),!o&&r.length>0&&void 0===(0,ei.get)(e,"scale.y.independent")&&(o=!0,(0,ei.set)(e,"scale.y.independent",!1),r.forEach(function(e){(0,ei.set)(e,"scale.y.key",n)}))}}),e},yz,yH)(e)}var y1=(b=function(e,t){return(b=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}b(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),y2=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="DualAxes",t}return y1(t,e),t.getDefaultOptions=function(){return{type:"view",axis:{y:{title:!1,tick:!1},x:{title:!1}},scale:{y:{independent:!0,nice:!0}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return y0},t}(yP);function y3(e){return(0,ei.flow)(function(e){var t=e.options,n=t.xField;return t.colorField||(0,ei.set)(t,"colorField",n),e},function(e){var t=e.options,n=t.compareField,r=t.transform,a=t.isTransposed,i=t.coordinate;return r||(n?(0,ei.set)(t,"transform",[]):(0,ei.set)(t,"transform",[{type:"symmetryY"}])),!i&&(void 0===a||a)&&(0,ei.set)(t,"coordinate",{transform:[{type:"transpose"}]}),e},function(e){var t=e.options,n=t.compareField,r=t.seriesField,a=t.data,i=t.children,o=t.yField,s=t.isTransposed;if(n||r){var l=Object.values((0,ei.groupBy)(a,function(e){return e[n||r]}));i[0].data=l[0],i.push({type:"interval",data:l[1],yField:function(e){return-e[o]}}),delete t.compareField,delete t.data}return r&&((0,ei.set)(t,"type","spaceFlex"),(0,ei.set)(t,"ratio",[1,1]),(0,ei.set)(t,"direction",void 0===s||s?"row":"col"),delete t.seriesField),e},function(e){var t=e.options,n=t.tooltip,r=t.xField,a=t.yField;return n||(0,ei.set)(t,"tooltip",{title:!1,items:[function(e){return{name:e[r],value:e[a]}}]}),e},yz,yH)(e)}var y4=(y=function(e,t){return(y=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}y(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),y5=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="column",t}return y4(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{x:{padding:0}},animate:{enter:{type:"fadeIn"}},axis:!1,shapeField:"funnel",label:{position:"inside",transform:[{type:"contrastReverse"}]},children:[{type:"interval"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return y3},t}(yP);function y6(e){return(0,ei.flow)(yz,yH)(e)}var y9=(E=function(e,t){return(E=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}E(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),y8=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="line",t}return y9(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{y:{nice:!0}},interaction:{tooltip:{shared:!0}},axis:{y:{title:!1},x:{title:!1}},children:[{type:"line"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return y6},t}(yP);function y7(e){switch(typeof e){case"function":return e;case"string":return function(t){return(0,ei.get)(t,[e])};default:return function(){return e}}}var Ee=function(){return(Ee=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(t.x1=e[r],t.x2=t[r],t.y1=e[EM]),t},[]),o.shift(),a.push({type:"link",xField:["x1","x2"],yField:"y1",zIndex:-1,data:o,style:EB({stroke:"#697474"},i),label:!1,tooltip:!1}),e},yz,yH)(e)}var EH=(x=function(e,t){return(x=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}x(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),EG=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="waterfall",t}return EH(t,e),t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{field:EF,valueFormatter:"~s",name:"value"},axis:{y:{title:null,labelFormatter:"~s"},x:{title:null}},children:[{type:"interval",interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return EU},t}(yP);function E$(e){return(0,ei.flow)(function(e){var t=e.options,n=t.data,r=t.binNumber,a=t.binWidth,i=t.children,o=t.channel,s=void 0===o?"count":o,l=(0,ei.get)(i,"[0].transform[0]",{});return(0,ei.isNumber)(a)?((0,ei.assign)(l,{thresholds:(0,ei.ceil)((0,ei.divide)(n.length,a)),y:s}),e):((0,ei.isNumber)(r)&&(0,ei.assign)(l,{thresholds:r,y:s}),e)},yz,yH)(e)}var Ez=(w=function(e,t){return(w=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}w(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),EZ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="Histogram",t}return Ez(t,e),t.getDefaultOptions=function(){return{type:"view",autoFit:!0,axis:{y:{title:!1},x:{title:!1}},children:[{type:"rect",transform:[{type:"binX",y:"count"}],interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return E$},t}(yP);function EW(e){return(0,ei.flow)(function(e){var t=e.options,n=t.tooltip,r=void 0===n?{}:n,a=t.colorField,i=t.sizeField;return r&&!r.field&&(r.field=a||i),e},function(e){var t=e.options,n=t.mark,r=t.children;return n&&(r[0].type=n),e},yz,yH)(e)}var EY=(R=function(e,t){return(R=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}R(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),EV=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="heatmap",t}return EY(t,e),t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{valueFormatter:"~s"},axis:{y:{title:null,grid:!0},x:{title:null,grid:!0}},children:[{type:"point",interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return EW},t}(yP);function Eq(e){return(0,ei.flow)(function(e){var t=e.options.boxType;return e.options.children[0].type=void 0===t?"box":t,e},yz,yH)(e)}var EK=(L=function(e,t){return(L=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}L(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),EX=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="box",t}return EK(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"box"}],axis:{y:{title:!1},x:{title:!1}},tooltip:{items:[{name:"min",channel:"y"},{name:"q1",channel:"y1"},{name:"q2",channel:"y2"},{name:"q3",channel:"y3"},{name:"max",channel:"y4"}]}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Eq},t}(yP);function EQ(e){return(0,ei.flow)(function(e){var t=e.options,n=t.data,r=[{type:"custom",callback:function(e){return{links:e}}}];if((0,ei.isArray)(n))n.length>0?(0,ei.set)(t,"data",{value:n,transform:r}):delete t.children;else if("fetch"===(0,ei.get)(n,"type")&&(0,ei.get)(n,"value")){var a=(0,ei.get)(n,"transform");(0,ei.isArray)(a)?(0,ei.set)(n,"transform",a.concat(r)):(0,ei.set)(n,"transform",r)}return e},yz,yH)(e)}var EJ=(D=function(e,t){return(D=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}D(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),E0=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="sankey",t}return EJ(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"sankey"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return EQ},t}(yP);function E1(e){t=e.options.layout,e.options.coordinate.transform="horizontal"!==(void 0===t?"horizontal":t)?void 0:[{type:"transpose"}];var t,n=e.options.layout,r=void 0===n?"horizontal":n;return e.options.children.forEach(function(e){var t;(null===(t=null==e?void 0:e.coordinate)||void 0===t?void 0:t.transform)&&(e.coordinate.transform="horizontal"!==r?void 0:[{type:"transpose"}])}),e}var E2=function(){return(E2=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},TP=(0,eo.forwardRef)(function(e,t){var n,r,a,i,o,s,l,c,u,d=e.chartType,p=TD(e,["chartType"]),f=p.containerStyle,m=p.containerAttributes,g=void 0===m?{}:m,h=p.className,b=p.loading,y=p.loadingTemplate,E=p.errorTemplate,T=TD(p,["containerStyle","containerAttributes","className","loading","loadingTemplate","errorTemplate"]),v=(n=TR[void 0===d?"Base":d],r=(0,eo.useRef)(),a=(0,eo.useRef)(),i=(0,eo.useRef)(null),o=T.onReady,s=T.onEvent,l=function(e,t){void 0===e&&(e="image/png");var n,r=null===(n=i.current)||void 0===n?void 0:n.getElementsByTagName("canvas")[0];return null==r?void 0:r.toDataURL(e,t)},c=function(e,t,n){void 0===e&&(e="download"),void 0===t&&(t="image/png");var r=e;-1===e.indexOf(".")&&(r="".concat(e,".").concat(t.split("/")[1]));var a=l(t,n),i=document.createElement("a");return i.href=a,i.download=r,document.body.appendChild(i),i.click(),document.body.removeChild(i),i=null,r},u=function(e,t){void 0===t&&(t=!1);var n=Object.keys(e),r=t;n.forEach(function(n){var a,i=e[n];("tooltip"===n&&(r=!0),(0,ei.isFunction)(i)&&(a="".concat(i),/react|\.jsx|children:\[\(|return\s+[A-Za-z0-9].createElement\((?!['"][g|circle|ellipse|image|rect|line|polyline|polygon|text|path|html|mesh]['"])([^\)])*,/i.test(a)))?e[n]=function(){for(var e=[],t=0;t0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function j(e,t){let n=[],r=-1,a=e.passKeys?new Map:x;for(;++r=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return ethis.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let a=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&q(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),q(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),q(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length)){if(er))return;let s=a.events.length,l=s;for(;l--;)if("exit"===a.events[l][0]&&"chunkFlow"===a.events[l][1].type){if(e){n=a.events[l][1].end;break}e=!0}for(h(o),i=s;it;){let t=i[n];a.containerState=t[1],t[0].exit.call(a,e)}i.length=t}function b(){t.write([null]),n=void 0,t=void 0,a.containerState._closeFlow=void 0}}},en={tokenize:function(e,t,n){return(0,Q.f)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var er=n(23402);let ea={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?a(t):(0,J.Ch)(t)?e.check(ei,i,a)(t):(e.consume(t),r)}function a(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return K(e),e}},ei={tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,Q.f)(e,a,"linePrefix")};function a(a){if(null===a||(0,J.Ch)(a))return n(a);let i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}},partial:!0},eo={tokenize:function(e){let t=this,n=e.attempt(er.w,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,(0,Q.f)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ea,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},es={resolveAll:ed()},el=eu("string"),ec=eu("text");function eu(e){return{tokenize:function(t){let n=this,r=this.parser.constructs[e],a=t.attempt(r,i,o);return i;function i(e){return l(e)?a(e):o(e)}function o(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),s}function s(e){return l(e)?(t.exit("data"),a(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;let t=r[e],a=-1;if(t)for(;++a=3&&(null===o||(0,J.Ch)(o))?(e.exit("thematicBreak"),t(o)):n(o)}(i)}}},eg={name:"list",tokenize:function(e,t,n){let r=this,a=r.events[r.events.length-1],i=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,o=0;return function(t){let a=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===a?!r.containerState.marker||t===r.containerState.marker:(0,J.pY)(t)){if(r.containerState.type||(r.containerState.type=a,e.enter(a,{_container:!0})),"listUnordered"===a)return e.enter("listItemPrefix"),42===t||45===t?e.check(em,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(a){return(0,J.pY)(a)&&++o<10?(e.consume(a),t):(!r.interrupt||o<2)&&(r.containerState.marker?a===r.containerState.marker:41===a||46===a)?(e.exit("listItemValue"),s(a)):n(a)}(t)}return n(t)};function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(er.w,r.interrupt?n:l,e.attempt(eh,u,c))}function l(e){return r.containerState.initialBlankLine=!0,i++,u(e)}function c(t){return(0,J.xz)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(er.w,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,Q.f)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,J.xz)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(eb,t,a)(n))});function a(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,Q.f)(e,e.attempt(eg,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}},exit:function(e){e.exit(this.containerState.type)}},eh={tokenize:function(e,t,n){let r=this;return(0,Q.f)(e,function(e){let a=r.events[r.events.length-1];return!(0,J.xz)(e)&&a&&"listItemPrefixWhitespace"===a[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},eb={tokenize:function(e,t,n){let r=this;return(0,Q.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"listItemIndent"===a[1].type&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0},ey={name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),a}return n(t)};function a(n){return(0,J.xz)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,J.xz)(t)?(0,Q.f)(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):a(t)};function a(r){return e.attempt(ey,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function eE(e,t,n,r,a,i,o,s,l){let c=l||Number.POSITIVE_INFINITY,u=0;return function(t){return 60===t?(e.enter(r),e.enter(a),e.enter(i),e.consume(t),e.exit(i),d):null===t||32===t||41===t||(0,J.Av)(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),m(t))};function d(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(a),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||(0,J.Ch)(t)?n(t):(e.consume(t),92===t?f:p)}function f(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function m(a){return!u&&(null===a||41===a||(0,J.z3)(a))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(a)):u999||null===d||91===d||93===d&&!o||94===d&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(d):93===d?(e.exit(i),e.enter(a),e.consume(d),e.exit(a),e.exit(r),t):(0,J.Ch)(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||(0,J.Ch)(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),o||(o=!(0,J.xz)(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function ev(e,t,n,r,a,i){let o;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(a),e.consume(t),e.exit(a),o=40===t?41:t,s):n(t)};function s(n){return n===o?(e.enter(a),e.consume(n),e.exit(a),e.exit(r),t):(e.enter(i),l(n))}function l(t){return t===o?(e.exit(i),s(o)):null===t?n(t):(0,J.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,Q.f)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===o||null===t||(0,J.Ch)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===o||92===t?(e.consume(t),c):c(t)}}function eS(e,t){let n;return function r(a){return(0,J.Ch)(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):(0,J.xz)(a)?(0,Q.f)(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}var eA=n(11098);let eO={tokenize:function(e,t,n){return function(t){return(0,J.z3)(t)?eS(e,r)(t):n(t)};function r(t){return ev(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function a(t){return(0,J.xz)(t)?(0,Q.f)(e,i,"whitespace")(t):i(t)}function i(e){return null===e||(0,J.Ch)(e)?t(e):n(e)}},partial:!0},e_={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),(0,Q.f)(e,a,"linePrefix",5)(t)};function a(t){let a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?function t(n){return null===n?i(n):(0,J.Ch)(n)?e.attempt(ek,t,i)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,J.Ch)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function i(n){return e.exit("codeIndented"),t(n)}}},ek={tokenize:function(e,t,n){let r=this;return a;function a(t){return r.parser.lazy[r.now().line]?n(t):(0,J.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(0,Q.f)(e,i,"linePrefix",5)(t)}function i(e){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):(0,J.Ch)(e)?a(e):n(e)}},partial:!0},eI={name:"setextUnderline",tokenize:function(e,t,n){let r;let a=this;return function(t){let o,s=a.events.length;for(;s--;)if("lineEnding"!==a.events[s][1].type&&"linePrefix"!==a.events[s][1].type&&"content"!==a.events[s][1].type){o="paragraph"===a.events[s][1].type;break}return!a.parser.lazy[a.now().line]&&(a.interrupt||o)?(e.enter("setextHeadingLine"),r=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,J.xz)(n)?(0,Q.f)(e,i,"lineSuffix")(n):i(n))}(t)):n(t)};function i(r){return null===r||(0,J.Ch)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,a,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),a||"definition"!==e[i][1].type||(a=i);let o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",a?(e.splice(r,0,["enter",o,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[a][1].end)):e[n][1]=o,e.push(["exit",o,t]),e}},eC=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],eN=["pre","script","style","textarea"],ex={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(er.w,t,n)}},partial:!0},ew={tokenize:function(e,t,n){let r=this;return function(t){return(0,J.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):n(t)};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eR={tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a)};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eL={name:"codeFenced",tokenize:function(e,t,n){let r;let a=this,i={tokenize:function(e,t,n){let i=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(t){return e.enter("codeFencedFence"),(0,J.xz)(t)?(0,Q.f)(e,l,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(a){return a===r?(i++,e.consume(a),t):i>=s?(e.exit("codeFencedFenceSequence"),(0,J.xz)(a)?(0,Q.f)(e,c,"whitespace")(a):c(a)):n(a)}(t)):n(t)}function c(r){return null===r||(0,J.Ch)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},o=0,s=0;return function(t){return function(t){let i=a.events[a.events.length-1];return o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(a){return a===r?(s++,e.consume(a),t):s<3?n(a):(e.exit("codeFencedFenceSequence"),(0,J.xz)(a)?(0,Q.f)(e,l,"whitespace")(a):l(a))}(t)}(t)};function l(i){return null===i||(0,J.Ch)(i)?(e.exit("codeFencedFence"),a.interrupt?t(i):e.check(eR,u,m)(i)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||(0,J.Ch)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(a)):(0,J.xz)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,Q.f)(e,c,"whitespace")(a)):96===a&&a===r?n(a):(e.consume(a),t)}(i))}function c(t){return null===t||(0,J.Ch)(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||(0,J.Ch)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(a)):96===a&&a===r?n(a):(e.consume(a),t)}(t))}function u(t){return e.attempt(i,m,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return o>0&&(0,J.xz)(t)?(0,Q.f)(e,f,"linePrefix",o+1)(t):f(t)}function f(t){return null===t||(0,J.Ch)(t)?e.check(eR,u,m)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,J.Ch)(n)?(e.exit("codeFlowValue"),f(n)):(e.consume(n),t)}(t))}function m(n){return e.exit("codeFenced"),t(n)}},concrete:!0},eD=document.createElement("i");function eP(e){let t="&"+e+";";eD.innerHTML=t;let n=eD.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let eM={name:"characterReference",tokenize:function(e,t,n){let r,a;let i=this,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,a=J.H$,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,a=J.AF,c):(e.enter("characterReferenceValue"),r=7,a=J.pY,c(t))}function c(s){if(59===s&&o){let r=e.exit("characterReferenceValue");return a!==J.H$||eP(i.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return a(s)&&o++1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let d=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start);eW(d,-s),eW(p,s),i={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},o={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},a={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},o.end)},e[n][1].end=Object.assign({},i.start),e[u][1].start=Object.assign({},o.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=(0,Y.V)(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=(0,Y.V)(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",a,t]]),l=(0,Y.V)(l,(0,ef.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=(0,Y.V)(l,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=(0,Y.V)(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,(0,Y.d)(e,n-1,u-n+3,l),u=n+l.length-c-2;break}}for(u=-1;++ui&&"whitespace"===e[a][1].type&&(a-=2),"atxHeadingSequence"===e[a][1].type&&(i===a-1||a-4>i&&"whitespace"===e[a-2][1].type)&&(a-=i+1===a?2:4),a>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},r={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},(0,Y.d)(e,i,a-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:em,45:[eI,em],60:{name:"htmlFlow",tokenize:function(e,t,n){let r,a,i,o,s;let l=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c};function c(o){return 33===o?(e.consume(o),u):47===o?(e.consume(o),a=!0,f):63===o?(e.consume(o),r=3,l.interrupt?t:R):(0,J.jv)(o)?(e.consume(o),i=String.fromCharCode(o),m):n(o)}function u(a){return 45===a?(e.consume(a),r=2,d):91===a?(e.consume(a),r=5,o=0,p):(0,J.jv)(a)?(e.consume(a),r=4,l.interrupt?t:R):n(a)}function d(r){return 45===r?(e.consume(r),l.interrupt?t:R):n(r)}function p(r){let a="CDATA[";return r===a.charCodeAt(o++)?(e.consume(r),o===a.length)?l.interrupt?t:O:p:n(r)}function f(t){return(0,J.jv)(t)?(e.consume(t),i=String.fromCharCode(t),m):n(t)}function m(o){if(null===o||47===o||62===o||(0,J.z3)(o)){let s=47===o,c=i.toLowerCase();return!s&&!a&&eN.includes(c)?(r=1,l.interrupt?t(o):O(o)):eC.includes(i.toLowerCase())?(r=6,s)?(e.consume(o),g):l.interrupt?t(o):O(o):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(o):a?function t(n){return(0,J.xz)(n)?(e.consume(n),t):S(n)}(o):h(o))}return 45===o||(0,J.H$)(o)?(e.consume(o),i+=String.fromCharCode(o),m):n(o)}function g(r){return 62===r?(e.consume(r),l.interrupt?t:O):n(r)}function h(t){return 47===t?(e.consume(t),S):58===t||95===t||(0,J.jv)(t)?(e.consume(t),b):(0,J.xz)(t)?(e.consume(t),h):S(t)}function b(t){return 45===t||46===t||58===t||95===t||(0,J.H$)(t)?(e.consume(t),b):y(t)}function y(t){return 61===t?(e.consume(t),E):(0,J.xz)(t)?(e.consume(t),y):h(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,T):(0,J.xz)(t)?(e.consume(t),E):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,J.z3)(n)?y(n):(e.consume(n),t)}(t)}function T(t){return t===s?(e.consume(t),s=null,v):null===t||(0,J.Ch)(t)?n(t):(e.consume(t),T)}function v(e){return 47===e||62===e||(0,J.xz)(e)?h(e):n(e)}function S(t){return 62===t?(e.consume(t),A):n(t)}function A(t){return null===t||(0,J.Ch)(t)?O(t):(0,J.xz)(t)?(e.consume(t),A):n(t)}function O(t){return 45===t&&2===r?(e.consume(t),C):60===t&&1===r?(e.consume(t),N):62===t&&4===r?(e.consume(t),L):63===t&&3===r?(e.consume(t),R):93===t&&5===r?(e.consume(t),w):(0,J.Ch)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(ex,D,_)(t)):null===t||(0,J.Ch)(t)?(e.exit("htmlFlowData"),_(t)):(e.consume(t),O)}function _(t){return e.check(ew,k,D)(t)}function k(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return null===t||(0,J.Ch)(t)?_(t):(e.enter("htmlFlowData"),O(t))}function C(t){return 45===t?(e.consume(t),R):O(t)}function N(t){return 47===t?(e.consume(t),i="",x):O(t)}function x(t){if(62===t){let n=i.toLowerCase();return eN.includes(n)?(e.consume(t),L):O(t)}return(0,J.jv)(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),x):O(t)}function w(t){return 93===t?(e.consume(t),R):O(t)}function R(t){return 62===t?(e.consume(t),L):45===t&&2===r?(e.consume(t),R):O(t)}function L(t){return null===t||(0,J.Ch)(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),L)}function D(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},61:eI,95:em,96:eL,126:eL},eQ={38:eM,92:eF},eJ={[-5]:eB,[-4]:eB,[-3]:eB,33:e$,38:eM,42:eZ,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a};function a(t){return(0,J.jv)(t)?(e.consume(t),i):64===t?n(t):s(t)}function i(t){return 43===t||45===t||46===t||(0,J.H$)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,o):(43===n||45===n||46===n||(0,J.H$)(n))&&r++<32?(e.consume(n),t):(r=0,s(n))}(t)):s(t)}function o(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,J.Av)(r)?n(r):(e.consume(r),o)}function s(t){return 64===t?(e.consume(t),l):(0,J.n9)(t)?(e.consume(t),s):n(t)}function l(a){return(0,J.H$)(a)?function a(i){return 46===i?(e.consume(i),r=0,l):62===i?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(i),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(i){if((45===i||(0,J.H$)(i))&&r++<63){let n=45===i?t:a;return e.consume(i),n}return n(i)}(i)}(a):n(a)}}},{name:"htmlText",tokenize:function(e,t,n){let r,a,i;let o=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),T):63===t?(e.consume(t),y):(0,J.jv)(t)?(e.consume(t),S):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),a=0,f):(0,J.jv)(t)?(e.consume(t),b):n(t)}function c(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):(0,J.Ch)(t)?(i=u,x(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?N(e):45===e?d(e):u(e)}function f(t){let r="CDATA[";return t===r.charCodeAt(a++)?(e.consume(t),a===r.length?m:f):n(t)}function m(t){return null===t?n(t):93===t?(e.consume(t),g):(0,J.Ch)(t)?(i=m,x(t)):(e.consume(t),m)}function g(t){return 93===t?(e.consume(t),h):m(t)}function h(t){return 62===t?N(t):93===t?(e.consume(t),h):m(t)}function b(t){return null===t||62===t?N(t):(0,J.Ch)(t)?(i=b,x(t)):(e.consume(t),b)}function y(t){return null===t?n(t):63===t?(e.consume(t),E):(0,J.Ch)(t)?(i=y,x(t)):(e.consume(t),y)}function E(e){return 62===e?N(e):y(e)}function T(t){return(0,J.jv)(t)?(e.consume(t),v):n(t)}function v(t){return 45===t||(0,J.H$)(t)?(e.consume(t),v):function t(n){return(0,J.Ch)(n)?(i=t,x(n)):(0,J.xz)(n)?(e.consume(n),t):N(n)}(t)}function S(t){return 45===t||(0,J.H$)(t)?(e.consume(t),S):47===t||62===t||(0,J.z3)(t)?A(t):n(t)}function A(t){return 47===t?(e.consume(t),N):58===t||95===t||(0,J.jv)(t)?(e.consume(t),O):(0,J.Ch)(t)?(i=A,x(t)):(0,J.xz)(t)?(e.consume(t),A):N(t)}function O(t){return 45===t||46===t||58===t||95===t||(0,J.H$)(t)?(e.consume(t),O):function t(n){return 61===n?(e.consume(n),_):(0,J.Ch)(n)?(i=t,x(n)):(0,J.xz)(n)?(e.consume(n),t):A(n)}(t)}function _(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,k):(0,J.Ch)(t)?(i=_,x(t)):(0,J.xz)(t)?(e.consume(t),_):(e.consume(t),I)}function k(t){return t===r?(e.consume(t),r=void 0,C):null===t?n(t):(0,J.Ch)(t)?(i=k,x(t)):(e.consume(t),k)}function I(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,J.z3)(t)?A(t):(e.consume(t),I)}function C(e){return 47===e||62===e||(0,J.z3)(e)?A(e):n(e)}function N(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function x(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),w}function w(t){return(0,J.xz)(t)?(0,Q.f)(e,R,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):R(t)}function R(t){return e.enter("htmlTextData"),i(t)}}}],91:eY,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,J.Ch)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},eF],93:ej,95:eZ,96:{name:"codeText",tokenize:function(e,t,n){let r,a,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),i++,t):(e.exit("codeTextSequence"),o(n))}(t)};function o(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),o):96===l?(a=e.enter("codeTextSequence"),r=0,function n(o){return 96===o?(e.consume(o),r++,n):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(a.type="codeTextData",s(o))}(l)):(0,J.Ch)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):(e.enter("codeTextData"),s(l))}function s(t){return null===t||32===t||96===t||(0,J.Ch)(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),s)}},resolve:function(e){let t,n,r=e.length-4,a=3;if(("lineEnding"===e[3][1].type||"space"===e[a][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=a;++t13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let e5=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function e6(e,t,n){if(t)return t;let r=n.charCodeAt(0);if(35===r){let e=n.charCodeAt(1),t=120===e||88===e;return e4(n.slice(t?2:1),t?16:10)}return eP(n)||e}let e9={}.hasOwnProperty;function e8(e){return{line:e.line,column:e.column,offset:e.offset}}function e7(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+O({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+O({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+O({start:t.start,end:t.end})+") is still open")}function te(e){let t=this;t.parser=function(n){var a,i;let o,s,l,c;return"string"!=typeof(a={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(i=a,a=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(b),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(m),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(f),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:r(f,a),codeText:r(function(){return{type:"inlineCode",value:""}},a),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(g),hardBreakTrailing:r(g),htmlFlow:r(h,a),htmlFlowData:c,htmlText:r(h,a),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:r(b),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}},listOrdered:r(y,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(y),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:r(m),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:o(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let n=this.sliceSerialize(e).length;t.depth=n}},autolink:o(),autolinkEmail:function(e){u.call(this,e);let t=this.stack[this.stack.length-1];t.url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){u.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)},blockQuote:o(),characterEscapeValue:u,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){let t;let n=this.sliceSerialize(e),r=this.data.characterReferenceType;if(r)t=e4(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0;else{let e=eP(n);t=e}let a=this.stack[this.stack.length-1];a.value+=t},characterReference:function(e){let t=this.stack.pop();t.position.end=e8(e.end)},codeFenced:o(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e},codeFencedFenceMeta:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e},codeFlowValue:u,codeIndented:o(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:o(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),codeTextData:u,data:u,definition:o(),definitionDestinationString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,eA.d)(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},emphasis:o(),hardBreakEscape:o(d),hardBreakTrailing:o(d),htmlFlow:o(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlFlowData:u,htmlText:o(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlTextData:u,image:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){let t=e.children;n.children=t}else n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(e5,e6),n.identifier=(0,eA.d)(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=e8(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(c.call(this,e),u.call(this,e))},link:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,eA.d)(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},resourceTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},resource:function(){this.data.inReference=void 0},setextHeading:o(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){let t=this.stack[this.stack.length-1];t.depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:o(),thematicBreak:o()}};(function e(t,n){let r=-1;for(;++r0){let e=o.tokenStack[o.tokenStack.length-1],t=e[1]||e7;t.call(o,void 0,e[0])}for(r.position={start:e8(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:e8(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u-1){let e=n[0];"string"==typeof e?n[0]=e.slice(a):n.shift()}o>0&&n.push(e[i].slice(0,o))}return n}(o,e)}function p(){let{line:e,column:t,offset:n,_index:a,_bufferIndex:i}=r;return{line:e,column:t,offset:n,_index:a,_bufferIndex:i}}function f(e,t){t.restore()}function m(e,t){return function(n,a,i){let o,u,d,f;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null,a=[...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]];return m(a)(e)};function m(e){return(o=e,u=0,0===e.length)?i:g(e[u])}function g(e){return function(n){return(f=function(){let e=p(),t=c.previous,n=c.currentConstruct,a=c.events.length,i=Array.from(s);return{restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=a,s=i,h()},from:a}}(),d=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?y(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,b,y)(n)}}function b(t){return e(d,f),a}function y(e){return(f.restore(),++u55295&&i<57344){let t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(o=String.fromCharCode(i,t),a=1):o="�"}else o=String.fromCharCode(i);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+a+1,o=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function tr(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function ta(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var ti=n(21623);function to(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let a=e.all(t),i=a[0];i&&"text"===i.type?i.value="["+i.value:a.unshift({type:"text",value:"["});let o=a[a.length-1];return o&&"text"===o.type?o.value+=r:a.push({type:"text",value:r}),a}function ts(e){let t=e.spread;return null==t?e.children.length>1:t}function tl(e,t,n){let r=0,a=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(a-1);for(;9===t||32===t;)a--,t=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}let tc={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n;let r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),i=tn(a.toLowerCase()),o=e.footnoteOrder.indexOf(a),s=e.footnoteCounts.get(a);void 0===s?(s=0,e.footnoteOrder.push(a),n=e.footnoteOrder.length):n=o+1,s+=1,e.footnoteCounts.set(a,s);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+i,id:r+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return to(e,t);let a={src:tn(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(a.title=r.title);let i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){let n={src:tn(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return to(e,t);let a={href:tn(r.url||"")};null!==r.title&&void 0!==r.title&&(a.title=r.title);let i={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){let n={href:tn(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),a=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=(0,A.Pk)(t.children[1]),o=(0,A.rb)(t.children[t.children.length-1]);i&&o&&(r.position={start:i,end:o}),a.push(r)}let i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,a=r?r.indexOf(t):1,i=0===a?"th":"td",o=n&&"table"===n.type?n.align:void 0,s=o?o.length:t.children.length,l=-1,c=[];for(;++l0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return i.push(tl(t.slice(a),a>0,!1)),i.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:tu,yaml:tu,definition:tu,footnoteDefinition:tu};function tu(){}let td={}.hasOwnProperty,tp={};function tf(e,t){e.position&&(t.position=(0,A.FK)(e))}function tm(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,a=e.data.hProperties;if("string"==typeof t){if("element"===n.type)n.tagName=t;else{let e="children"in n?n.children:[n];n={type:"element",tagName:t,properties:{},children:e}}}"element"===n.type&&a&&Object.assign(n.properties,(0,tt.ZP)(a)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function tg(e,t){let n=t.data||{},r="value"in t&&!(td.call(n,"hProperties")||td.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function th(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r0&&n.push({type:"text",value:"\n"}),n}function tb(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function ty(e,t){let n=function(e,t){let n=t||tp,r=new Map,a=new Map,i=new Map,o={...tc,...n.handlers},s={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let f=i[i.length-1];if(f&&"element"===f.type&&"p"===f.tagName){let e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...d)}else i.push(...d);let m={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(i,!0)};e.patch(a,m),s.push(m)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...(0,tt.ZP)(o),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&((0,c.ok)("children"in i),i.children.push({type:"text",value:"\n"},a)),i}function tE(e,t){return e&&"run"in e?async function(n,r){let a=ty(n,{file:r,...t});await e.run(a,r)}:function(n,r){return ty(n,{file:r,...t||e})}}function tT(e){if(e)throw e}var tv=n(94470);function tS(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let tA={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');tO(e);let r=0,a=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1);return a<0?"":e.slice(r,a)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(a=i):(s=-1,a=o));return r===a?a=o:a<0&&(a=e.length),e.slice(r,a)},dirname:function(e){let t;if(tO(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){let t;tO(e);let n=e.length,r=-1,a=0,i=-1,o=0;for(;n--;){let s=e.codePointAt(n);if(47===s){if(t){a=n+1;break}continue}r<0&&(t=!0,r=n+1),46===s?i<0?i=n:1!==o&&(o=1):i>-1&&(o=-1)}return i<0||r<0||0===o||1===o&&i===r-1&&i===a+1?"":e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n2){if((r=a.lastIndexOf("/"))!==a.length-1){r<0?(a="",i=0):i=(a=a.slice(0,r)).length-1-a.lastIndexOf("/"),o=l,s=0;continue}}else if(a.length>0){a="",i=0,o=l,s=0;continue}}t&&(a=a.length>0?a+"/..":"..",i=2)}else a.length>0?a+="/"+e.slice(o+1,l):a=e.slice(o+1,l),i=l-o-1;o=l,s=0}else 46===n&&s>-1?s++:s=-1}return a}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function tO(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let t_={cwd:function(){return"/"}};function tk(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let tI=["history","path","basename","stem","extname","dirname"];class tC{constructor(e){let t,n;t=e?tk(e)?{path:e}:"string"==typeof e||e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e?{value:e}:e:{},this.cwd="cwd"in t?"":t_.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++rt.length;o&&t.push(r);try{i=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(i&&i.then&&"function"==typeof i.then?i.then(a,r):i instanceof Error?r(i):a(i))};function r(e,...a){n||(n=!0,t(e,...a))}function a(e){r(null,e)}})(s,a)(...o):r(null,...o)})(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new tD,t=-1;for(;++t0){let[r,...i]=t,o=n[a][1];tS(o)&&tS(r)&&(r=tv(!0,o,r)),n[a]=[e,r,...i]}}}}let tP=new tD().freeze();function tM(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function tF(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function tB(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function tj(e){if(!tS(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function tU(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function tH(e){return e&&"object"==typeof e&&"message"in e&&"messages"in e?e:new tC(e)}let tG=[],t$={allowDangerousHtml:!0},tz=/^(https?|ircs?|mailto|xmpp)$/i,tZ=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function tW(e){let t=e.allowedElements,n=e.allowElement,r=e.children||"",a=e.className,i=e.components,o=e.disallowedElements,s=e.rehypePlugins||tG,l=e.remarkPlugins||tG,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...t$}:t$,d=e.skipHtml,p=e.unwrapDisallowed,f=e.urlTransform||tY,m=tP().use(te).use(l).use(tE,u).use(s),g=new tC;for(let n of("string"==typeof r?g.value=r:(0,c.t1)("Unexpected value `"+r+"` for `children` prop, expected `string`"),t&&o&&(0,c.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),tZ))Object.hasOwn(e,n.from)&&(0,c.t1)("Unexpected `"+n.from+"` prop, "+(n.to?"use `"+n.to+"` instead":"remove it")+" (see for more info)");let h=m.parse(g),y=m.runSync(h,g);return a&&(y={type:"element",tagName:"div",properties:{className:a},children:"root"===y.type?y.children:[y]}),(0,ti.Vn)(y,function(e,r,a){if("raw"===e.type&&a&&"number"==typeof r)return d?a.children.splice(r,1):a.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in z)if(Object.hasOwn(z,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=z[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=f(String(n||""),t,e))}}if("element"===e.type){let i=t?!t.includes(e.tagName):!!o&&o.includes(e.tagName);if(!i&&n&&"number"==typeof r&&(i=!n(e,r,a)),i&&a&&"number"==typeof r)return p&&e.children?a.children.splice(r,1,...e.children):a.children.splice(r,1),r}}),function(e,t){var n,r,a;let i;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let o=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=t.jsxDEV,i=function(e,t,r,a){let i=Array.isArray(r.children),s=(0,A.Pk)(e);return n(t,r,a,i,{columnNumber:s?s.column-1:void 0,fileName:o,lineNumber:s?s.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");r=t.jsx,a=t.jsxs,i=function(e,t,n,i){let o=Array.isArray(n.children),s=o?a:r;return i?s(t,n,i):s(t,n)}}let s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:i,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:o,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?b.YP:b.dy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},l=M(s,e,void 0);return l&&"string"!=typeof l?l:s.create(e,s.Fragment,{children:l||void 0},void 0)}(y,{Fragment:Z.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Z.jsx,jsxs:Z.jsxs,passKeys:!0,passNode:!0})}function tY(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),a=e.indexOf("/");return t<0||a>-1&&t>a||n>-1&&t>n||r>-1&&t>r||tz.test(e.slice(0,t))?e:""}var tV=n(14660),tq=n(33890),tK=["children","components","rehypePlugins"],tX=function(e){var t=e.children,n=e.components,r=e.rehypePlugins,c=(0,s.Z)(e,tK),u=(0,tq.r)();return l.createElement(tW,(0,a.Z)({components:(0,o.Z)({code:u},n),rehypePlugins:[tV.Z].concat((0,i.Z)(r||[]))},c),t)}},84502:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r,a,i=n(45987),o=n(74902),s=n(4942),l=n(67294),c=n(87462);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(function(e){if(0===e.length||1===e.length)return e;var t,n=e.join(".");return p[n]||(p[n]=0===(t=e.length)||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0),p[n]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return d(d({},e),n[t])},t)}(s.className,Object.assign({},s.style,void 0===a?{}:a),r)})}else h=d(d({},s),{},{className:s.className.join(" ")});var v=b(n.children);return l.createElement(f,(0,c.Z)({key:o},h),v)}}({node:e,stylesheet:n,useInlineStyles:r,key:"code-segement".concat(t)})})}function S(e){return e&&void 0!==e.highlightAuto}var A=n(98695),O=(r=n.n(A)(),a={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},function(e){var t=e.language,n=e.children,s=e.style,c=void 0===s?a:s,u=e.customStyle,d=void 0===u?{}:u,p=e.codeTagProps,m=void 0===p?{className:t?"language-".concat(t):void 0,style:g(g({},c['code[class*="language-"]']),c['code[class*="language-'.concat(t,'"]')])}:p,A=e.useInlineStyles,O=void 0===A||A,_=e.showLineNumbers,k=void 0!==_&&_,I=e.showInlineLineNumbers,C=void 0===I||I,N=e.startingLineNumber,x=void 0===N?1:N,w=e.lineNumberContainerStyle,R=e.lineNumberStyle,L=void 0===R?{}:R,D=e.wrapLines,P=e.wrapLongLines,M=void 0!==P&&P,F=e.lineProps,B=void 0===F?{}:F,j=e.renderer,U=e.PreTag,H=void 0===U?"pre":U,G=e.CodeTag,$=void 0===G?"code":G,z=e.code,Z=void 0===z?(Array.isArray(n)?n[0]:n)||"":z,W=e.astGenerator,Y=(0,i.Z)(e,f);W=W||r;var V=k?l.createElement(b,{containerStyle:w,codeStyle:m.style||{},numberStyle:L,startingLineNumber:x,codeString:Z}):null,q=c.hljs||c['pre[class*="language-"]']||{backgroundColor:"#fff"},K=S(W)?"hljs":"prismjs",X=O?Object.assign({},Y,{style:Object.assign({},q,d)}):Object.assign({},Y,{className:Y.className?"".concat(K," ").concat(Y.className):K,style:Object.assign({},d)});if(M?m.style=g(g({},m.style),{},{whiteSpace:"pre-wrap"}):m.style=g(g({},m.style),{},{whiteSpace:"pre"}),!W)return l.createElement(H,X,V,l.createElement($,m,Z));(void 0===D&&j||M)&&(D=!0),j=j||v;var Q=[{type:"text",value:Z}],J=function(e){var t=e.astGenerator,n=e.language,r=e.code,a=e.defaultCodeValue;if(S(t)){var i=-1!==t.listLanguages().indexOf(n);return"text"===n?{value:a,language:"text"}:i?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:a}}catch(e){return{value:a}}}({astGenerator:W,language:t,code:Z,defaultCodeValue:Q});null===J.language&&(J.value=Q);var ee=J.value.length+x,et=function(e,t,n,r,a,i,s,l,c){var u,d=function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a2&&void 0!==arguments[2]?arguments[2]:[];return t||o.length>0?function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return T({children:e,lineNumber:t,lineNumberStyle:l,largestLineNumber:s,showInlineLineNumbers:a,lineProps:n,className:i,showLineNumbers:r,wrapLongLines:c})}(e,i,o):function(e,t){if(r&&t&&a){var n=E(l,t,s);e.unshift(y(t,n))}return e}(e,i)}for(;m code[class*="language-"]':{background:"#111b27",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#8da1b9"},prolog:{color:"#8da1b9"},doctype:{color:"#8da1b9"},cdata:{color:"#8da1b9"},punctuation:{color:"#e3eaf2"},"delimiter.important":{color:"#66cccc",fontWeight:"inherit"},"selector.parent":{color:"#66cccc"},tag:{color:"#66cccc"},"tag.punctuation":{color:"#66cccc"},"attr-name":{color:"#e6d37a"},boolean:{color:"#e6d37a"},"boolean.important":{color:"#e6d37a"},number:{color:"#e6d37a"},constant:{color:"#e6d37a"},"selector.attribute":{color:"#e6d37a"},"class-name":{color:"#6cb8e6"},key:{color:"#6cb8e6"},parameter:{color:"#6cb8e6"},property:{color:"#6cb8e6"},"property-access":{color:"#6cb8e6"},variable:{color:"#6cb8e6"},"attr-value":{color:"#91d076"},inserted:{color:"#91d076"},color:{color:"#91d076"},"selector.value":{color:"#91d076"},string:{color:"#91d076"},"string.url-link":{color:"#91d076"},builtin:{color:"#f4adf4"},"keyword-array":{color:"#f4adf4"},package:{color:"#f4adf4"},regex:{color:"#f4adf4"},function:{color:"#c699e3"},"selector.class":{color:"#c699e3"},"selector.id":{color:"#c699e3"},"atrule.rule":{color:"#e9ae7e"},combinator:{color:"#e9ae7e"},keyword:{color:"#e9ae7e"},operator:{color:"#e9ae7e"},"pseudo-class":{color:"#e9ae7e"},"pseudo-element":{color:"#e9ae7e"},selector:{color:"#e9ae7e"},unit:{color:"#e9ae7e"},deleted:{color:"#cd6660"},important:{color:"#cd6660",fontWeight:"bold"},"keyword-this":{color:"#6cb8e6",fontWeight:"bold"},this:{color:"#6cb8e6",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#f4adf4"},".language-markdown .token.code":{color:"#66cccc"},".language-markdown .token.hr.punctuation":{color:"#6cb8e6"},".language-markdown .token.url .token.content":{color:"#91d076"},".language-markdown .token.url-link":{color:"#e6d37a"},".language-markdown .token.list.punctuation":{color:"#f4adf4"},".language-markdown .token.table-header":{color:"#e3eaf2"},".language-json .token.operator":{color:"#e3eaf2"},".language-scss .token.variable":{color:"#66cccc"},"token.tab:not(:empty):before":{color:"#8da1b9"},"token.cr:before":{color:"#8da1b9"},"token.lf:before":{color:"#8da1b9"},"token.space:before":{color:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#111b27",background:"#8da1b9"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #3c526d5f 70%, #3c526d55)"},".line-highlight.line-highlight:before":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#8da1b918"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #0b121b",background:"#0b121b7a"},".line-numbers .line-numbers-rows > span:before":{color:"#8da1b9da"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#c699e3"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},".command-line .command-line-prompt":{borderRight:"1px solid #0b121b"},".command-line .command-line-prompt > span:before":{color:"#8da1b9da"}}},12187:function(e,t){"use strict";t.Z={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}}},89144:function(e,t){"use strict";t.Z={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}}},89435:function(e){"use strict";var t;e.exports=function(e){var n,r="&"+e+";";return(t=t||document.createElement("i")).innerHTML=r,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==r&&n}},57574:function(e,t,n){"use strict";var r=n(21922),a=n(93580),i=n(46195),o=n(79480),s=n(7961),l=n(89435);e.exports=function(e,t){var n,i,o={};for(i in t||(t={}),p)n=t[i],o[i]=null==n?p[i]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),function(e,t){var n,i,o,p,E,T,v,S,A,O,_,k,I,C,N,x,w,R,L,D,P,M=t.additional,F=t.nonTerminated,B=t.text,j=t.reference,U=t.warning,H=t.textContext,G=t.referenceContext,$=t.warningContext,z=t.position,Z=t.indent||[],W=e.length,Y=0,V=-1,q=z.column||1,K=z.line||1,X="",Q=[];for("string"==typeof M&&(M=M.charCodeAt(0)),R=J(),O=U?function(e,t){var n=J();n.column+=t,n.offset+=t,U.call($,y[e],n,e)}:d,Y--,W++;++Y=55296&&n<=57343||n>1114111?(O(7,D),S=u(65533)):S in a?(O(6,D),S=a[S]):(k="",((i=S)>=1&&i<=8||11===i||i>=13&&i<=31||i>=127&&i<=159||i>=64976&&i<=65007||(65535&i)==65535||(65535&i)==65534)&&O(6,D),S>65535&&(S-=65536,k+=u(S>>>10|55296),S=56320|1023&S),S=k+u(S))):x!==f&&O(4,D)),S?(ee(),R=J(),Y=P-1,q+=P-N+1,Q.push(S),L=J(),L.offset++,j&&j.call(G,S,{start:R,end:L},e.slice(N-1,P)),R=L):(X+=T=e.slice(N-1,P),q+=T.length,Y=P-1)}else 10===v&&(K++,V++,q=0),v==v?(X+=u(v),q++):ee();return Q.join("");function J(){return{line:K,column:q,offset:Y+(z.offset||0)}}function ee(){X&&(Q.push(X),B&&B.call(H,X,{start:R,end:J()}),X="")}}(e,o)};var c={}.hasOwnProperty,u=String.fromCharCode,d=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},f="named",m="hexadecimal",g="decimal",h={};h[m]=16,h[g]=10;var b={};b[f]=s,b[g]=i,b[m]=o;var y={};y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"},11215:function(e,t,n){"use strict";var r,a,i="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},o=(a=(r="Prism"in i)?i.Prism:void 0,function(){r?i.Prism=a:delete i.Prism,r=void 0,a=void 0});i.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(31742),l=n(57574),c=n(59216),u=n(2717),d=n(12049),p=n(29726),f=n(36155);o();var m={}.hasOwnProperty;function g(){}g.prototype=c;var h=new g;function b(e){if("function"!=typeof e||!e.displayName)throw Error("Expected `function` for `grammar`, got `"+e+"`");void 0===h.languages[e.displayName]&&e(h)}e.exports=h,h.highlight=function(e,t){var n,r=c.highlight;if("string"!=typeof e)throw Error("Expected `string` for `value`, got `"+e+"`");if("Object"===h.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw Error("Expected `string` for `name`, got `"+t+"`");if(m.call(h.languages,t))n=h.languages[t];else throw Error("Unknown language: `"+t+"` is not registered")}return r.call(this,e,n,t)},h.register=b,h.alias=function(e,t){var n,r,a,i,o=h.languages,s=e;for(n in t&&((s={})[e]=t),s)for(a=(r="string"==typeof(r=s[n])?[r]:r).length,i=-1;++i]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}e.exports=t,t.displayName="abap",t.aliases=[]},68313:function(e){"use strict";function t(e){var t;t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)",e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}e.exports=t,t.displayName="abnf",t.aliases=[]},21207:function(e){"use strict";function t(e){e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}e.exports=t,t.displayName="actionscript",t.aliases=[]},89693:function(e){"use strict";function t(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}e.exports=t,t.displayName="ada",t.aliases=[]},24001:function(e){"use strict";function t(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}e.exports=t,t.displayName="agda",t.aliases=[]},18018:function(e){"use strict";function t(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}e.exports=t,t.displayName="al",t.aliases=[]},36363:function(e){"use strict";function t(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}e.exports=t,t.displayName="antlr4",t.aliases=["g4"]},35281:function(e){"use strict";function t(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}e.exports=t,t.displayName="apacheconf",t.aliases=[]},10433:function(e,t,n){"use strict";var r=n(11114);function a(e){e.register(r),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return t.source});function r(e){return RegExp(e.replace(//g,function(){return n}),"i")}var a={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:r(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:a},{pattern:r(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:a},{pattern:r(/(?=\s*\w+\s*[;=,(){:])/.source),inside:a}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}e.exports=a,a.displayName="apex",a.aliases=[]},84039:function(e){"use strict";function t(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}e.exports=t,t.displayName="apl",t.aliases=[]},71336:function(e){"use strict";function t(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}e.exports=t,t.displayName="applescript",t.aliases=[]},4481:function(e){"use strict";function t(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}e.exports=t,t.displayName="aql",t.aliases=[]},2159:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}e.exports=a,a.displayName="arduino",a.aliases=["ino"]},60274:function(e){"use strict";function t(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}e.exports=t,t.displayName="arff",t.aliases=[]},18738:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function r(e){e=e.split(" ");for(var t={},r=0,a=e.length;r>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}e.exports=t,t.displayName="asmatmel",t.aliases=[]},78734:function(e,t,n){"use strict";var r=n(61958);function a(e){e.register(r),e.languages.aspnet=e.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}e.exports=a,a.displayName="aspnet",a.aliases=[]},6681:function(e){"use strict";function t(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}e.exports=t,t.displayName="autohotkey",t.aliases=[]},53358:function(e){"use strict";function t(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}e.exports=t,t.displayName="autoit",t.aliases=[]},81700:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return RegExp(e.replace(/<<(\d+)>>/g,function(e,n){return t[+n]}),n||"")}var n=/bool|clip|float|int|string|val/.source,r=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:t(/\b(?:<<0>>)\b/.source,[r],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}e.exports=t,t.displayName="avisynth",t.aliases=["avs"]},37219:function(e){"use strict";function t(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}e.exports=t,t.displayName="avroIdl",t.aliases=[]},6979:function(e){"use strict";function t(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,o=0;o?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}e.exports=t,t.displayName="basic",t.aliases=[]},94781:function(e){"use strict";function t(e){var t,n,r,a;t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},r=/"(?:[\\"]"|[^"])*"(?!")/,a=/(?:\b|-)\d+\b/,e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:r,parameter:n,variable:t,number:a,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:r,parameter:n,variable:t,number:a,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:r,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:a,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:r,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:a,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}e.exports=t,t.displayName="batch",t.aliases=[]},62260:function(e){"use strict";function t(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}e.exports=t,t.displayName="bbcode",t.aliases=["shortcode"]},36153:function(e){"use strict";function t(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}e.exports=t,t.displayName="bicep",t.aliases=[]},59258:function(e){"use strict";function t(e){e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}e.exports=t,t.displayName="birb",t.aliases=[]},62890:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}e.exports=a,a.displayName="bison",a.aliases=[]},15958:function(e){"use strict";function t(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}e.exports=t,t.displayName="bnf",t.aliases=["rbnf"]},61321:function(e){"use strict";function t(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}e.exports=t,t.displayName="brainfuck",t.aliases=[]},77856:function(e){"use strict";function t(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}e.exports=t,t.displayName="brightscript",t.aliases=[]},90741:function(e){"use strict";function t(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="bro",t.aliases=[]},83410:function(e){"use strict";function t(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}e.exports=t,t.displayName="bsl",t.aliases=[]},65806:function(e){"use strict";function t(e){e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}e.exports=t,t.displayName="c",t.aliases=[]},33039:function(e){"use strict";function t(e){e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}e.exports=t,t.displayName="cfscript",t.aliases=[]},85082:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}e.exports=a,a.displayName="chaiscript",a.aliases=[]},79415:function(e){"use strict";function t(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}e.exports=t,t.displayName="cil",t.aliases=[]},29726:function(e){"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},62849:function(e){"use strict";function t(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}e.exports=t,t.displayName="clojure",t.aliases=[]},55773:function(e){"use strict";function t(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}e.exports=t,t.displayName="cmake",t.aliases=[]},32762:function(e){"use strict";function t(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}e.exports=t,t.displayName="cobol",t.aliases=[]},43576:function(e){"use strict";function t(e){var t,n;t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"},e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}e.exports=t,t.displayName="coffeescript",t.aliases=["coffee"]},71794:function(e){"use strict";function t(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}e.exports=t,t.displayName="concurnas",t.aliases=["conc"]},1315:function(e){"use strict";function t(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return t})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(e)}e.exports=t,t.displayName="coq",t.aliases=[]},80096:function(e,t,n){"use strict";var r=n(65806);function a(e){var t,n;e.register(r),t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return t.source}),e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}e.exports=a,a.displayName="cpp",a.aliases=[]},99176:function(e,t,n){"use strict";var r=n(56939);function a(e){e.register(r),e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}e.exports=a,a.displayName="crystal",a.aliases=[]},61958:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}var a={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function i(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var o=i(a.typeDeclaration),s=RegExp(i(a.type+" "+a.typeDeclaration+" "+a.contextual+" "+a.other)),l=i(a.typeDeclaration+" "+a.contextual+" "+a.other),c=i(a.type+" "+a.typeDeclaration+" "+a.other),u=r(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),d=r(/\((?:[^()]|<>)*\)/.source,2),p=/@?\b[A-Za-z_]\w*\b/.source,f=t(/<<0>>(?:\s*<<1>>)?/.source,[p,u]),m=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[l,f]),g=/\[\s*(?:,\s*)*\]/.source,h=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[m,g]),b=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[u,d,g]),y=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[b]),E=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[y,m,g]),T={keyword:s,punctuation:/[<>()?,.:[\]]/},v=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,S=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[S]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[m]),lookbehind:!0,inside:T},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[p,E]),lookbehind:!0,inside:T},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[p]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[o,f]),lookbehind:!0,inside:T},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[m]),lookbehind:!0,inside:T},{pattern:n(/(\bwhere\s+)<<0>>/.source,[p]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[h]),lookbehind:!0,inside:T},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[E,c,p]),inside:T}],keyword:s,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[p]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[p]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[d]),lookbehind:!0,alias:"class-name",inside:T},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[E,m]),inside:T,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[E]),lookbehind:!0,inside:T,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[p,u]),inside:{function:n(/^<<0>>/.source,[p]),generic:{pattern:RegExp(u),alias:"class-name",inside:T}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[o,f,p,E,s.source,d,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[f,d]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:s,"class-name":{pattern:RegExp(E),greedy:!0,inside:T},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var O=S+"|"+v,_=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[O]),k=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[_]),2),I=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,C=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[m,k]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[I,C]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[I]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[k]),inside:e.languages.csharp},"class-name":{pattern:RegExp(m),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var N=/:[^}\r\n]+/.source,x=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[_]),2),w=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[x,N]),R=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[O]),2),L=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,N]);function D(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,N]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[w]),lookbehind:!0,greedy:!0,inside:D(w,x)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:D(L,R)}],char:{pattern:RegExp(v),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},90312:function(e,t,n){"use strict";var r=n(61958);function a(e){e.register(r),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function r(e,r){for(var a=0;a/g,function(){return"(?:"+e+")"});return e.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+n+")").replace(//g,"(?:"+t+")")}var a=r(/\((?:[^()'"@/]|||)*\)/.source,2),i=r(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),o=r(/\{(?:[^{}'"@/]|||)*\}/.source,2),s=r(/<(?:[^<>'"@/]|||)*>/.source,2),l=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,c=/(?!\d)[^\s>\/=$<%]+/.source+l+/\s*\/?>/.source,u=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source)+c+"|"+r(/<\1/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|")+/<\/?(?!\1\b)/.source+c+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(e)}e.exports=t,t.displayName="cssExtras",t.aliases=[]},12049:function(e){"use strict";function t(e){var t,n;t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(n=e.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}e.exports=t,t.displayName="css",t.aliases=[]},78090:function(e){"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},40315:function(e){"use strict";function t(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}e.exports=t,t.displayName="cypher",t.aliases=[]},7902:function(e){"use strict";function t(e){e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}e.exports=t,t.displayName="d",t.aliases=[]},28651:function(e){"use strict";function t(e){var t,n,r;t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],r={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}},e.languages.dart=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}e.exports=t,t.displayName="dart",t.aliases=[]},55579:function(e){"use strict";function t(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}e.exports=t,t.displayName="dataweave",t.aliases=[]},93685:function(e){"use strict";function t(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}e.exports=t,t.displayName="dax",t.aliases=[]},13934:function(e){"use strict";function t(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}e.exports=t,t.displayName="dhall",t.aliases=[]},93336:function(e){"use strict";function t(e){var t;e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]},Object.keys(t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"}).forEach(function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}e.exports=t,t.displayName="diff",t.aliases=[]},13294:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n;e.register(r),e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/},t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"],e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"django",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"django")}),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"jinja2",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"jinja2")})}e.exports=a,a.displayName="django",a.aliases=["jinja2"]},38223:function(e){"use strict";function t(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}e.exports=t,t.displayName="dnsZoneFile",t.aliases=[]},97266:function(e){"use strict";function t(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return t}),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,a=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return r}),i={pattern:RegExp(r),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return RegExp(e=e.replace(//g,function(){return a}).replace(//g,function(){return n}),t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(e)}e.exports=t,t.displayName="docker",t.aliases=["dockerfile"]},77125:function(e){"use strict";function t(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function r(e,n){return RegExp(e.replace(//g,function(){return t}),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:r(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:r(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:r(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:r(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}e.exports=t,t.displayName="dot",t.aliases=["gv"]},36500:function(e){"use strict";function t(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}e.exports=t,t.displayName="ebnf",t.aliases=[]},30296:function(e){"use strict";function t(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}e.exports=t,t.displayName="editorconfig",t.aliases=[]},50115:function(e){"use strict";function t(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}e.exports=t,t.displayName="eiffel",t.aliases=[]},20791:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")}),e.languages.eta=e.languages.ejs}e.exports=a,a.displayName="ejs",a.aliases=["eta"]},11974:function(e){"use strict";function t(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach(function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}})}e.exports=t,t.displayName="elixir",t.aliases=[]},8645:function(e){"use strict";function t(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}e.exports=t,t.displayName="elm",t.aliases=[]},84790:function(e,t,n){"use strict";var r=n(56939),a=n(93205);function i(e){e.register(r),e.register(a),e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")})}e.exports=i,i.displayName="erb",i.aliases=[]},4502:function(e){"use strict";function t(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}e.exports=t,t.displayName="erlang",t.aliases=[]},66055:function(e,t,n){"use strict";var r=n(59803),a=n(93205);function i(e){e.register(r),e.register(a),e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")})}e.exports=i,i.displayName="etlua",i.aliases=[]},34668:function(e){"use strict";function t(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}e.exports=t,t.displayName="excelFormula",t.aliases=[]},95126:function(e){"use strict";function t(e){var t,n,r,a,i,o;r={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/}},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:(n={number:/\\[^\s']|%\w/}).number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},a=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},i=function(e){return RegExp("(^|\\s)(?:"+e.map(a).join("|")+")(?=\\s|$)")},Object.keys(o={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]}).forEach(function(e){r[e].pattern=i(o[e])}),r.combinators.pattern=i(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"]),e.languages.factor=r}e.exports=t,t.displayName="factor",t.aliases=[]},90618:function(e){"use strict";function t(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}e.exports=t,t.displayName="firestoreSecurityRules",t.aliases=[]},37225:function(e){"use strict";function t(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}e.exports=t,t.displayName="flow",t.aliases=[]},16725:function(e){"use strict";function t(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}e.exports=t,t.displayName="fortran",t.aliases=[]},95559:function(e){"use strict";function t(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}e.exports=t,t.displayName="fsharp",t.aliases=[]},82114:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),function(e){for(var t=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var r={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return t})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return t})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};r.string[1].inside.interpolation.inside.rest=r,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}}},e.hooks.add("before-tokenize",function(n){var r=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return t}),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",r)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")})}(e)}e.exports=a,a.displayName="ftl",a.aliases=[]},6806:function(e){"use strict";function t(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}e.exports=t,t.displayName="gap",t.aliases=[]},12208:function(e){"use strict";function t(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}e.exports=t,t.displayName="gcode",t.aliases=[]},62728:function(e){"use strict";function t(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}e.exports=t,t.displayName="gdscript",t.aliases=[]},81549:function(e){"use strict";function t(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}e.exports=t,t.displayName="gedcom",t.aliases=[]},6024:function(e){"use strict";function t(e){var t;t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source,e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}e.exports=t,t.displayName="gherkin",t.aliases=[]},13600:function(e){"use strict";function t(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}e.exports=t,t.displayName="git",t.aliases=[]},3322:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}e.exports=a,a.displayName="glsl",a.aliases=[]},53877:function(e){"use strict";function t(e){e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}e.exports=t,t.displayName="gml",t.aliases=[]},60794:function(e){"use strict";function t(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}e.exports=t,t.displayName="gn",t.aliases=["gni"]},20222:function(e){"use strict";function t(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="goModule",t.aliases=[]},51519:function(e){"use strict";function t(e){e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}e.exports=t,t.displayName="go",t.aliases=[]},94055:function(e){"use strict";function t(e){e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:e.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},e.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n0)){var s=d(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&p(c,"variable-input")}}}}function u(e,r){r=r||0;for(var a=0;a]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.hooks.add("wrap",function(t){if("groovy"===t.language&&"string"===t.type){var n=t.content.value[0];if("'"!=n){var r=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===n&&(r=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content.value=t.content.value.replace(/</g,"<").replace(/&/g,"&"),t.content=e.highlight(t.content.value,{expression:{pattern:r,lookbehind:!0,inside:e.languages.groovy}}),t.classes.push("/"===n?"regex":"gstring")}}})}e.exports=t,t.displayName="groovy",t.aliases=[]},29536:function(e,t,n){"use strict";var r=n(56939);function a(e){e.register(r),function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},r=0,a=t.length;r@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")}),e.languages.hbs=e.languages.handlebars}e.exports=a,a.displayName="handlebars",a.aliases=["hbs"]},58090:function(e){"use strict";function t(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}e.exports=t,t.displayName="haskell",t.aliases=["hs"]},95121:function(e){"use strict";function t(e){e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}e.exports=t,t.displayName="haxe",t.aliases=[]},59904:function(e){"use strict";function t(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}e.exports=t,t.displayName="hcl",t.aliases=[]},9436:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}e.exports=a,a.displayName="hlsl",a.aliases=[]},60591:function(e){"use strict";function t(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}e.exports=t,t.displayName="hoon",t.aliases=[]},76942:function(e){"use strict";function t(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hpkp",t.aliases=[]},60561:function(e){"use strict";function t(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hsts",t.aliases=[]},49660:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ ]*(?![ ]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,r=e.languages,a={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},i={"application/json":!0,"application/xml":!0};for(var o in a)if(a[o]){n=n||{};var s=i[o]?function(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-]))"}(o):o;n[o.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+s+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:a[o]}}n&&e.languages.insertBefore("http","header",n)}(e)}e.exports=t,t.displayName="http",t.aliases=[]},30615:function(e){"use strict";function t(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}e.exports=t,t.displayName="ichigojam",t.aliases=[]},93865:function(e){"use strict";function t(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}e.exports=t,t.displayName="icon",t.aliases=[]},51078:function(e){"use strict";function t(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(//g,function(){return t(e,n-1)})}var n=/'[{}:=,](?:[^']|'')*'(?!')/,r={pattern:/''/,greedy:!0,alias:"operator"},a=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return n.source}),8),i={pattern:RegExp(a),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(a),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":i,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":i,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:r,string:{pattern:n,greedy:!0,inside:{escape:r}}},i.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}e.exports=t,t.displayName="icuMessageFormat",t.aliases=[]},91178:function(e,t,n){"use strict";var r=n(58090);function a(e){e.register(r),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}e.exports=a,a.displayName="idris",a.aliases=["idr"]},40011:function(e){"use strict";function t(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}e.exports=t,t.displayName="iecst",t.aliases=[]},12017:function(e){"use strict";function t(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}e.exports=t,t.displayName="ignore",t.aliases=["gitignore","hgignore","npmignore"]},65175:function(e){"use strict";function t(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}e.exports=t,t.displayName="inform7",t.aliases=[]},14970:function(e){"use strict";function t(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}e.exports=t,t.displayName="ini",t.aliases=[]},30764:function(e){"use strict";function t(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}e.exports=t,t.displayName="j",t.aliases=[]},15909:function(e){"use strict";function t(e){var t,n,r;t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}e.exports=t,t.displayName="java",t.aliases=[]},36553:function(e,t,n){"use strict";var r=n(15909),a=n(9858);function i(e){var t,n,i;e.register(r),e.register(a),t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,i=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return n}),e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+i+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}e.exports=i,i.displayName="javadoc",i.aliases=[]},9858:function(e){"use strict";function t(e){var t;Object.defineProperty(t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach(function(t){!function(t,n){var r="doc-comment",a=e.languages[t];if(a){var i=a[r];if(!i){var o={};o[r]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},i=(a=e.languages.insertBefore(t,"comment",o))[r]}if(i instanceof RegExp&&(i=a[r]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},11223:function(e){"use strict";function t(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}e.exports=t,t.displayName="javastacktrace",t.aliases=[]},57957:function(e){"use strict";function t(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}e.exports=t,t.displayName="jexl",t.aliases=[]},66604:function(e){"use strict";function t(e){e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}e.exports=t,t.displayName="jolie",t.aliases=[]},77935:function(e){"use strict";function t(e){var t,n,r,a;t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return t})),r={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},a=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:r},string:{pattern:n,lookbehind:!0,greedy:!0,inside:r},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}},r.interpolation.inside.content.inside=a}e.exports=t,t.displayName="jq",t.aliases=[]},46155:function(e){"use strict";function t(e){!function(e){function t(e,t){return RegExp(e.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r=p.length)return;var o=n[i];if("string"==typeof o||"string"==typeof o.content){var l=p[c],d="string"==typeof o?o:o.content,f=d.indexOf(l);if(-1!==f){++c;var m=d.substring(0,f),g=function(t){var n={};n["interpolation-punctuation"]=a;var i=e.tokenize(t,n);if(3===i.length){var o=[1,1];o.push.apply(o,s(i[1],e.languages.javascript,"javascript")),i.splice.apply(i,o)}return new e.Token("interpolation",i,r.alias,t)}(u[l]),h=d.substring(f+l.length),b=[];if(m&&b.push(m),b.push(g),h){var y=[h];t(y),b.push.apply(b,y)}"string"==typeof o?(n.splice.apply(n,[i,1].concat(b)),i+=b.length-1):o.content=b}}else{var E=o.content;Array.isArray(E)?t(E):t([E])}}}(d),new e.Token(o,d,"language-"+o,t)}(p,g,m)}}else t(u)}}}(t.tokens)})}(e)}e.exports=t,t.displayName="jsTemplates",t.aliases=[]},25319:function(e,t,n){"use strict";var r=n(9858),a=n(4979);function i(e){var t,n,i;e.register(r),e.register(a),t=e.languages.javascript,i="(@(?:arg|argument|param|property)\\s+(?:"+(n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(i+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(i+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}e.exports=i,i.displayName="jsdoc",i.aliases=[]},45950:function(e){"use strict";function t(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},50235:function(e,t,n){"use strict";var r=n(45950);function a(e){var t;e.register(r),t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/,e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}e.exports=a,a.displayName="json5",a.aliases=[]},80963:function(e,t,n){"use strict";var r=n(45950);function a(e){e.register(r),e.languages.jsonp=e.languages.extend("json",{punctuation:/[{}[\]();,.]/}),e.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}e.exports=a,a.displayName="jsonp",a.aliases=[]},79358:function(e){"use strict";function t(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}e.exports=t,t.displayName="jsstacktrace",t.aliases=[]},96412:function(e){"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function i(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return r}).replace(//g,function(){return a}),t)}a=i(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},s=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===o(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:o(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var l=o(a);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=o(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}a.content&&"string"!=typeof a.content&&s(a.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&s(e.tokens)})}(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},39259:function(e){"use strict";function t(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}e.exports=t,t.displayName="julia",t.aliases=[]},51466:function(e){"use strict";function t(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}e.exports=t,t.displayName="keepalived",t.aliases=[]},35760:function(e){"use strict";function t(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}e.exports=t,t.displayName="keyman",t.aliases=[]},19715:function(e){"use strict";function t(e){var t;e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"],t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}},e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}e.exports=t,t.displayName="kotlin",t.aliases=["kt","kts"]},27614:function(e){"use strict";function t(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(//g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}e.exports=t,t.displayName="kumir",t.aliases=["kum"]},82819:function(e){"use strict";function t(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}e.exports=t,t.displayName="kusto",t.aliases=[]},42876:function(e){"use strict";function t(e){var t,n;n={"equation-command":{pattern:t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,alias:"regex"}},e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}e.exports=t,t.displayName="latex",t.aliases=["tex","context"]},2980:function(e,t,n){"use strict";var r=n(93205),a=n(88262);function i(e){var t;e.register(r),e.register(a),e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}},t=e.languages.extend("markup",{}),e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",function(n){"latte"===n.language&&(e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")})}e.exports=i,i.displayName="latte",i.aliases=[]},41701:function(e){"use strict";function t(e){e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}e.exports=t,t.displayName="less",t.aliases=[]},42491:function(e,t,n){"use strict";var r=n(9997);function a(e){e.register(r),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,n=0;n<5;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var r=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return t}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};r["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=r,e.languages.ly=r}(e)}e.exports=a,a.displayName="lilypond",a.aliases=[]},34927:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var r=t[1];if("raw"===r&&!n)return n=!0,!0;if("endraw"===r)return n=!1,!0}return!n})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}e.exports=a,a.displayName="liquid",a.aliases=[]},3848:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var r=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,a="&"+r,i="(\\()",o="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,l={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+r+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+r),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+r),alias:"property"},splice:{pattern:RegExp(",@?"+r),alias:["symbol","variable"]},keyword:[{pattern:RegExp(i+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+o),lookbehind:!0},{pattern:RegExp(i+"(?:append|by|collect|concat|do|finally|for|in|return)"+o),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(i+"def(?:const|custom|group|var)\\s+"+r),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(r)}},defun:{pattern:RegExp(i+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+r+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+r),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(i+"lambda\\s+\\(\\s*(?:&?"+r+"(?:\\s+&?"+r+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(i+r),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},c={"lisp-marker":RegExp(a),varform:{pattern:RegExp(/\(/.source+r+/\s+(?=\S)/.source+s+/\)/.source),inside:l},argument:{pattern:RegExp(/(^|[\s(])/.source+r),lookbehind:!0,alias:"variable"},rest:l},u="\\S+(?:\\s+\\S+)*",d={pattern:RegExp(i+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+u),inside:c},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+u),inside:c},keys:{pattern:RegExp("&key\\s+"+u+"(?:\\s+&allow-other-keys)?"),inside:c},argument:{pattern:RegExp(r),alias:"variable"},punctuation:/[()]/}};l.lambda.inside.arguments=d,l.defun.inside.arguments=e.util.clone(d),l.defun.inside.arguments.inside.sublist=d,e.languages.lisp=l,e.languages.elisp=l,e.languages.emacs=l,e.languages["emacs-lisp"]=l}(e)}e.exports=t,t.displayName="lisp",t.aliases=[]},41469:function(e){"use strict";function t(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}e.exports=t,t.displayName="livescript",t.aliases=[]},73070:function(e){"use strict";function t(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}e.exports=t,t.displayName="llvm",t.aliases=[]},35049:function(e){"use strict";function t(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}e.exports=t,t.displayName="log",t.aliases=[]},8789:function(e){"use strict";function t(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}e.exports=t,t.displayName="lolcode",t.aliases=[]},59803:function(e){"use strict";function t(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}e.exports=t,t.displayName="lua",t.aliases=[]},86328:function(e){"use strict";function t(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}e.exports=t,t.displayName="magma",t.aliases=[]},33055:function(e){"use strict";function t(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}e.exports=t,t.displayName="makefile",t.aliases=[]},90542:function(e){"use strict";function t(e){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+i+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+i+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)}e.exports=t,t.displayName="markdown",t.aliases=["md"]},93205:function(e){"use strict";function t(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,i){if(n.language===r){var o=n.tokenStack=[];n.code=n.code.replace(a,function(e){if("function"==typeof i&&!i(e))return e;for(var a,s=o.length;-1!==n.code.indexOf(a=t(r,s));)++s;return o[s]=e,a}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,i=Object.keys(n.tokenStack);!function o(s){for(var l=0;l=i.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=i[a],d=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(r,u),m=p.indexOf(f);if(m>-1){++a;var g=p.substring(0,m),h=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(m+f.length),y=[];g&&y.push.apply(y,o([g])),y.push(h),b&&y.push.apply(y,o([b])),"string"==typeof c?s.splice.apply(s,[l,1].concat(y)):c.content=y}}else c.content&&o(c.content)}return s}(n.tokens)}}}})}(e)}e.exports=t,t.displayName="markupTemplating",t.aliases=[]},2717:function(e){"use strict";function t(e){e.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^$/i;var a={"included-cdata":{pattern://i,inside:r}};a["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:a},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},27992:function(e){"use strict";function t(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}e.exports=t,t.displayName="matlab",t.aliases=[]},91115:function(e){"use strict";function t(e){var t;t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i,e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|")+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ ]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+t.source+")"+/[a-z_]/.source+"|")+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}e.exports=t,t.displayName="maxscript",t.aliases=[]},606:function(e){"use strict";function t(e){e.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},e.languages.mel.code.inside.rest=e.languages.mel}e.exports=t,t.displayName="mel",t.aliases=[]},68582:function(e){"use strict";function t(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}e.exports=t,t.displayName="mermaid",t.aliases=[]},23388:function(e){"use strict";function t(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}e.exports=t,t.displayName="mizar",t.aliases=[]},90596:function(e){"use strict";function t(e){var t,n;n="(?:"+["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"].map(function(e){return e.replace("$","\\$")}).join("|")+")\\b",e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:ObjectId|Code|BinData|DBRef|Timestamp|NumberLong|NumberDecimal|MaxKey|MinKey|RegExp|ISODate|UUID)\\b"),alias:"keyword"}})}e.exports=t,t.displayName="mongodb",t.aliases=[]},95721:function(e){"use strict";function t(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}e.exports=t,t.displayName="monkey",t.aliases=[]},64262:function(e){"use strict";function t(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}e.exports=t,t.displayName="moonscript",t.aliases=["moon"]},18190:function(e){"use strict";function t(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}e.exports=t,t.displayName="n1ql",t.aliases=[]},70896:function(e){"use strict";function t(e){e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}e.exports=t,t.displayName="n4js",t.aliases=["n4jsd"]},42242:function(e){"use strict";function t(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="nand2tetrisHdl",t.aliases=[]},37943:function(e){"use strict";function t(e){var t,n;n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t=/\{[^\r\n\[\]{}]*\}/,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]},e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",function(e){e.tokens.forEach(function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(e);!function(e){for(var t=[],n=0;n=&|$!]/}}e.exports=t,t.displayName="nasm",t.aliases=[]},83873:function(e){"use strict";function t(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}e.exports=t,t.displayName="neon",t.aliases=[]},75932:function(e){"use strict";function t(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}e.exports=t,t.displayName="nevod",t.aliases=[]},60221:function(e){"use strict";function t(e){var t;t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i,e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}}e.exports=t,t.displayName="nginx",t.aliases=[]},44188:function(e){"use strict";function t(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}e.exports=t,t.displayName="nim",t.aliases=[]},74426:function(e){"use strict";function t(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}e.exports=t,t.displayName="nix",t.aliases=[]},88447:function(e){"use strict";function t(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}e.exports=t,t.displayName="nsis",t.aliases=[]},16032:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.objectivec=e.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}e.exports=a,a.displayName="objectivec",a.aliases=["objc"]},33607:function(e){"use strict";function t(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}e.exports=t,t.displayName="ocaml",t.aliases=[]},22001:function(e,t,n){"use strict";var r=n(65806);function a(e){var t;e.register(r),e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}}),t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}},e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))}e.exports=a,a.displayName="opencl",a.aliases=[]},22950:function(e){"use strict";function t(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}e.exports=t,t.displayName="openqasm",t.aliases=["qasm"]},23254:function(e){"use strict";function t(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}e.exports=t,t.displayName="oz",t.aliases=[]},92694:function(e){"use strict";function t(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:RegExp("\\b(?:"+["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"].map(function(e){return e.split("").join(" *")}).join("|")+")\\b"),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}e.exports=t,t.displayName="parigp",t.aliases=[]},43273:function(e){"use strict";function t(e){var t;t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/}),t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}e.exports=t,t.displayName="parser",t.aliases=[]},60718:function(e){"use strict";function t(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}e.exports=t,t.displayName="pascal",t.aliases=["objectpascal"]},39303:function(e){"use strict";function t(e){var t,n,r,a;t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return t}),r=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return n}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return n}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return n})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},a=["comment","keyword","builtin","operator","punctuation"].reduce(function(e,t){return e[t]=r[t],e},{}),r["class-name"].forEach(function(e){e.inside=a})}e.exports=t,t.displayName="pascaligo",t.aliases=[]},77393:function(e){"use strict";function t(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}e.exports=t,t.displayName="pcaxis",t.aliases=["px"]},19023:function(e){"use strict";function t(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}e.exports=t,t.displayName="peoplecode",t.aliases=["pcode"]},74212:function(e){"use strict";function t(e){var t;t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source,e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="perl",t.aliases=[]},5137:function(e,t,n){"use strict";var r=n(88262);function a(e){e.register(r),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}e.exports=a,a.displayName="phpExtras",a.aliases=[]},88262:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n,a,i,o,s,l;e.register(r),t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],a=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/,e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:a,operator:i,punctuation:o},l=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:s={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php}}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:s}}],e.languages.insertBefore("php","variable",{string:l,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:l,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:a,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})}e.exports=a,a.displayName="php",a.aliases=[]},63632:function(e,t,n){"use strict";var r=n(88262),a=n(9858);function i(e){var t;e.register(r),e.register(a),t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source,e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}e.exports=i,i.displayName="phpdoc",i.aliases=[]},59149:function(e,t,n){"use strict";var r=n(11114);function a(e){e.register(r),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}e.exports=a,a.displayName="plsql",a.aliases=[]},50256:function(e){"use strict";function t(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}e.exports=t,t.displayName="powerquery",t.aliases=[]},61777:function(e){"use strict";function t(e){var t;(t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}e.exports=t,t.displayName="powershell",t.aliases=[]},3623:function(e){"use strict";function t(e){e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}e.exports=t,t.displayName="processing",t.aliases=[]},82707:function(e){"use strict";function t(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}e.exports=t,t.displayName="prolog",t.aliases=[]},59338:function(e){"use strict";function t(e){var t,n;n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t=["on","ignoring","group_right","group_left","by","without"],["offset"]),e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:RegExp("((?:"+t.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:RegExp("\\b(?:"+n.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}e.exports=t,t.displayName="promql",t.aliases=[]},56267:function(e){"use strict";function t(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}e.exports=t,t.displayName="properties",t.aliases=[]},98809:function(e){"use strict";function t(e){var t;t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/,e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}e.exports=t,t.displayName="protobuf",t.aliases=[]},37548:function(e){"use strict";function t(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}e.exports=t,t.displayName="psl",t.aliases=[]},82161:function(e){"use strict";function t(e){!function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],r={},a=0,i=n.length;a",function(){return o.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("pug","filter",r)}(e)}e.exports=t,t.displayName="pug",t.aliases=[]},80625:function(e){"use strict";function t(e){var t;e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/},t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}],e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}e.exports=t,t.displayName="puppet",t.aliases=[]},88393:function(e){"use strict";function t(e){var t;e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/},t=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source,["c",{lang:"c++",alias:"cpp"},"fortran"].forEach(function(n){var r=n;if("string"!=typeof n&&(r=n.alias,n=n.lang),e.languages[r]){var a={};a["inline-lang-"+r]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},a["inline-lang-"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore("pure","inline-lang",a)}}),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}e.exports=t,t.displayName="pure",t.aliases=[]},78404:function(e){"use strict";function t(e){e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}e.exports=t,t.displayName="purebasic",t.aliases=[]},92923:function(e,t,n){"use strict";var r=n(58090);function a(e){e.register(r),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}e.exports=a,a.displayName="purescript",a.aliases=["purs"]},52992:function(e){"use strict";function t(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}e.exports=t,t.displayName="python",t.aliases=["py"]},55762:function(e){"use strict";function t(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}e.exports=t,t.displayName="q",t.aliases=[]},4137:function(e){"use strict";function t(e){!function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,r=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return t}).replace(//g,function(){return n}),a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return r}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return r}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}e.exports=t,t.displayName="qml",t.aliases=[]},28260:function(e){"use strict";function t(e){e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}e.exports=t,t.displayName="qore",t.aliases=[]},71360:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),r||"")}var r={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"},a=RegExp("\\b(?:"+(r.type+" "+r.other).trim().replace(/ /g,"|")+")\\b"),i=/\b[A-Za-z_]\w*\b/.source,o=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[i]),s={keyword:a,punctuation:/[<>()?,.:[\]]/},l=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[l]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[o]),lookbehind:!0,inside:s},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[o]),lookbehind:!0,inside:s}],keyword:a,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var c=function(e,t){for(var n=0;n<2;n++)e=e.replace(/<>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[l]),0);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[c]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[c]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}e.exports=t,t.displayName="qsharp",t.aliases=["qs"]},29308:function(e){"use strict";function t(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}e.exports=t,t.displayName="r",t.aliases=[]},32168:function(e,t,n){"use strict";var r=n(9997);function a(e){e.register(r),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}e.exports=a,a.displayName="racket",a.aliases=["rkt"]},5755:function(e){"use strict";function t(e){e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}e.exports=t,t.displayName="reason",t.aliases=[]},54105:function(e){"use strict";function t(e){var t,n,r,a,i;t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=RegExp((r="(?:[^\\\\-]|"+(n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+r),i={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:a,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":i}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}e.exports=t,t.displayName="rego",t.aliases=[]},35108:function(e){"use strict";function t(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}e.exports=t,t.displayName="renpy",t.aliases=["rpy"]},46678:function(e){"use strict";function t(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}e.exports=t,t.displayName="rest",t.aliases=[]},47496:function(e){"use strict";function t(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}e.exports=t,t.displayName="rip",t.aliases=[]},30527:function(e){"use strict";function t(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}e.exports=t,t.displayName="roboconf",t.aliases=[]},5261:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function r(e,r){var a={};for(var i in a["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"},r)a[i]=r[i];return a.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},a.variable=n,a.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return e}),"im"),alias:"section",inside:a}}var a={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},i={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:r("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:r("Variables"),"test-cases":r("Test Cases",{"test-name":i,documentation:a,property:o}),keywords:r("Keywords",{"keyword-name":i,documentation:a,property:o}),tasks:r("Tasks",{"task-name":i,documentation:a,property:o}),comment:t},e.languages.robot=e.languages.robotframework}(e)}e.exports=t,t.displayName="robotframework",t.aliases=[]},56939:function(e){"use strict";function t(e){var t,n,r;e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}},delete e.languages.ruby.function,n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source,e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}e.exports=t,t.displayName="ruby",t.aliases=["rb"]},83648:function(e){"use strict";function t(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}e.exports=t,t.displayName="rust",t.aliases=[]},16009:function(e){"use strict";function t(e){var t,n,r,a,i,o,s,l,c,u,d,p,f,m,g,h,b,y;t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,r={pattern:RegExp(t+"[bx]"),alias:"number"},i={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],d={function:u={pattern:/%?\b\w+(?=\()/,alias:"keyword"},"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":a={pattern:/&[a-z_]\w*/i},arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c=/[$%@.(){}\[\];,\\]/,string:l={pattern:RegExp(t),greedy:!0}},p={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},f={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},m={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},g={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},h=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,b={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return h}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return h}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:u,"arg-value":d["arg-value"],operator:d.operator,argument:d.arg,number:n,"numeric-constant":r,punctuation:c,string:l}},y={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0},e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return t}),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":m,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:y,"submit-statement":g,"global-statements":m,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:y,"submit-statement":g,"global-statements":m,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:d}},"cas-actions":b,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:d},step:o,keyword:y,function:u,format:p,altformat:f,"global-statements":m,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,inside:d},"macro-keyword":i,"macro-variable":a,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":i,"macro-variable":a,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:c}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:n,"numeric-constant":r}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:d},"cas-actions":b,comment:s,function:u,format:p,altformat:f,"numeric-constant":r,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:l,step:o,keyword:y,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:c}}e.exports=t,t.displayName="sas",t.aliases=[]},41720:function(e){"use strict";function t(e){var t,n;e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule,t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}e.exports=t,t.displayName="sass",t.aliases=[]},6054:function(e,t,n){"use strict";var r=n(15909);function a(e){e.register(r),e.languages.scala=e.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function}e.exports=a,a.displayName="scala",a.aliases=[]},9997:function(e){"use strict";function t(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,function(t){return"(?:"+e[t].trim()+")"});return e[t]}({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}e.exports=t,t.displayName="scheme",t.aliases=[]},24296:function(e){"use strict";function t(e){e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e.exports=t,t.displayName="scss",t.aliases=[]},49246:function(e,t,n){"use strict";var r=n(6979);function a(e){var t;e.register(r),t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|"),e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}e.exports=a,a.displayName="shellSession",a.aliases=[]},18890:function(e){"use strict";function t(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}e.exports=t,t.displayName="smali",t.aliases=[]},11037:function(e){"use strict";function t(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}e.exports=t,t.displayName="smalltalk",t.aliases=[]},64020:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n;e.register(r),e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty,t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return t.source}),"g"),e.hooks.add("before-tokenize",function(t){var r=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,function(e){return"{/literal}"===e&&(r=!1),!r&&("{literal}"===e&&(r=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")})}e.exports=a,a.displayName="smarty",a.aliases=[]},49760:function(e){"use strict";function t(e){var t;t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i,e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return t.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}e.exports=t,t.displayName="sml",t.aliases=["smlnj"]},33351:function(e){"use strict";function t(e){e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}e.exports=t,t.displayName="solidity",t.aliases=["sol"]},13570:function(e){"use strict";function t(e){var t;t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}},e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}e.exports=t,t.displayName="solutionFile",t.aliases=[]},38181:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n;e.register(r),t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/,e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")})}e.exports=a,a.displayName="soy",a.aliases=[]},98774:function(e,t,n){"use strict";var r=n(24691);function a(e){e.register(r),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}e.exports=a,a.displayName="sparql",a.aliases=["rq"]},22855:function(e){"use strict";function t(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="splunkSpl",t.aliases=[]},29611:function(e){"use strict";function t(e){e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}e.exports=t,t.displayName="sqf",t.aliases=[]},11114:function(e){"use strict";function t(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}e.exports=t,t.displayName="sql",t.aliases=[]},67386:function(e){"use strict";function t(e){e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}e.exports=t,t.displayName="squirrel",t.aliases=[]},28067:function(e){"use strict";function t(e){var t;t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/,e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}e.exports=t,t.displayName="stan",t.aliases=[]},49168:function(e){"use strict";function t(e){var t,n,r;(r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},number:n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/}).interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}e.exports=t,t.displayName="stylus",t.aliases=[]},23651:function(e){"use strict";function t(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=e.languages.swift})}e.exports=t,t.displayName="swift",t.aliases=[]},21483:function(e){"use strict";function t(e){var t,n;t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source,e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|')+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}e.exports=t,t.displayName="systemd",t.aliases=[]},32268:function(e,t,n){"use strict";var r=n(2329),a=n(61958);function i(e){e.register(r),e.register(a),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}e.exports=i,i.displayName="t4Cs",i.aliases=[]},2329:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var r=e.languages[n],a="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",r,a),"class-feature":t("\\+",r,a),standard:t("",r,a)}}}}})}(e)}e.exports=t,t.displayName="t4Templating",t.aliases=[]},82996:function(e,t,n){"use strict";var r=n(2329),a=n(53813);function i(e){e.register(r),e.register(a),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}e.exports=i,i.displayName="t4Vb",i.aliases=[]},17290:function(e,t,n){"use strict";var r=n(65039);function a(e){e.register(r),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}e.exports=a,a.displayName="tap",a.aliases=[]},67989:function(e){"use strict";function t(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}e.exports=t,t.displayName="tcl",t.aliases=[]},31065:function(e){"use strict";function t(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function r(e,r){return RegExp(e.replace(//g,function(){return"(?:"+t+")"}).replace(//g,function(){return"(?:"+n+")"}),r||"")}var a={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},i=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:r(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:r(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:a},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:r(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:r(/(^[*#]+)+/.source),lookbehind:!0,inside:a},punctuation:/^[*#]+/}},table:{pattern:r(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:r(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:a},punctuation:/\||^\./}},inline:{pattern:r(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:r(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:r(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:r(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:r(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:r(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:r(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:r(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:r(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:a},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:r(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:r(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:r(/(^")+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:r(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:r(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:r(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),o=i.phrase.inside,s={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};i.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var l=o.inline.inside;l.bold.inside=s,l.italic.inside=s,l.inserted.inside=s,l.deleted.inside=s,l.span.inside=s;var c=o.table.inside;c.inline=s.inline,c.link=s.link,c.image=s.image,c.footnote=s.footnote,c.acronym=s.acronym,c.mark=s.mark}(e)}e.exports=t,t.displayName="textile",t.aliases=[]},85572:function(e){"use strict";function t(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,function(){return t})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}e.exports=t,t.displayName="toml",t.aliases=[]},27536:function(e){"use strict";function t(e){var t;e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/},t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source,e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}e.exports=t,t.displayName="tremor",t.aliases=[]},87041:function(e,t,n){"use strict";var r=n(96412),a=n(4979);function i(e){var t,n;e.register(r),e.register(a),t=e.util.clone(e.languages.typescript),e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],(n=e.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}e.exports=i,i.displayName="tsx",i.aliases=[]},61028:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")})}e.exports=a,a.displayName="tt2",a.aliases=[]},24691:function(e){"use strict";function t(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}e.exports=t,t.displayName="turtle",t.aliases=[]},19892:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",function(t){"twig"===t.language&&e.languages["markup-templating"].buildPlaceholders(t,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")})}e.exports=a,a.displayName="twig",a.aliases=[]},4979:function(e){"use strict";function t(e){var t;e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},23159:function(e){"use strict";function t(e){var t;t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/,e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}e.exports=t,t.displayName="typoscript",t.aliases=["tsconfig"]},34966:function(e){"use strict";function t(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}e.exports=t,t.displayName="unrealscript",t.aliases=["uc","uscript"]},44623:function(e){"use strict";function t(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}e.exports=t,t.displayName="uorazor",t.aliases=[]},38521:function(e){"use strict";function t(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source)+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}e.exports=t,t.displayName="uri",t.aliases=["url"]},7255:function(e){"use strict";function t(e){var t;t={pattern:/[\s\S]+/,inside:null},e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}e.exports=t,t.displayName="v",t.aliases=[]},28173:function(e){"use strict";function t(e){e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}e.exports=t,t.displayName="vala",t.aliases=[]},53813:function(e,t,n){"use strict";var r=n(46241);function a(e){e.register(r),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}e.exports=a,a.displayName="vbnet",a.aliases=[]},46891:function(e){"use strict";function t(e){var t;e.languages.velocity=e.languages.extend("markup",{}),(t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/}).variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}e.exports=t,t.displayName="velocity",t.aliases=[]},91824:function(e){"use strict";function t(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}e.exports=t,t.displayName="verilog",t.aliases=[]},9447:function(e){"use strict";function t(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="vhdl",t.aliases=[]},53062:function(e){"use strict";function t(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}e.exports=t,t.displayName="vim",t.aliases=[]},46215:function(e){"use strict";function t(e){e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}e.exports=t,t.displayName="visualBasic",t.aliases=[]},10784:function(e){"use strict";function t(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}e.exports=t,t.displayName="warpscript",t.aliases=[]},17684:function(e){"use strict";function t(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}e.exports=t,t.displayName="wasm",t.aliases=[]},64851:function(e){"use strict";function t(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,r={};for(var a in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:r}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==a&&(r[a]=e.languages["web-idl"][a]);e.languages.webidl=e.languages["web-idl"]}(e)}e.exports=t,t.displayName="webIdl",t.aliases=[]},18191:function(e){"use strict";function t(e){e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}e.exports=t,t.displayName="wiki",t.aliases=[]},75242:function(e){"use strict";function t(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}e.exports=t,t.displayName="wolfram",t.aliases=["mathematica","wl","nb"]},93639:function(e){"use strict";function t(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}e.exports=t,t.displayName="wren",t.aliases=[]},97202:function(e){"use strict";function t(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}e.exports=t,t.displayName="xeora",t.aliases=["xeoracube"]},13808:function(e){"use strict";function t(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",{pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}})}(e)}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},21301:function(e){"use strict";function t(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}e.exports=t,t.displayName="xojo",t.aliases=[]},20349:function(e){"use strict";function t(e){!function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(r){for(var a=[],i=0;i0&&a[a.length-1].tagName===t(o.content[0].content[1])&&a.pop():"/>"===o.content[o.content.length-1].content||a.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(a.length>0)||"punctuation"!==o.type||"{"!==o.content||r[i+1]&&"punctuation"===r[i+1].type&&"{"===r[i+1].content||r[i-1]&&"plain-text"===r[i-1].type&&"{"===r[i-1].content?a.length>0&&a[a.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?a[a.length-1].openedBraces--:"comment"!==o.type&&(s=!0):a[a.length-1].openedBraces++),(s||"string"==typeof o)&&a.length>0&&0===a[a.length-1].openedBraces){var l=t(o);i0&&("string"==typeof r[i-1]||"plain-text"===r[i-1].type)&&(l=t(r[i-1])+l,r.splice(i-1,1),i--),/^\s+$/.test(l)?r[i]=l:r[i]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&n(o.content)}};e.hooks.add("after-tokenize",function(e){"xquery"===e.language&&n(e.tokens)})}(e)}e.exports=t,t.displayName="xquery",t.aliases=[]},65039:function(e){"use strict";function t(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return"(?:"+a+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}e.exports=t,t.displayName="yaml",t.aliases=["yml"]},96319:function(e){"use strict";function t(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}e.exports=t,t.displayName="yang",t.aliases=[]},31501:function(e){"use strict";function t(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,r="\\b(?!"+n.source+")(?!\\d)\\w+\\b",a=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,i="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(a))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(r))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,t(i)).replace(//g,t(a))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(i)).replace(//g,t(a))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach(function(t){null===t.inside&&(t.inside=e.languages.zig)})}(e)}e.exports=t,t.displayName="zig",t.aliases=[]},59216:function(e,t,n){/** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT + * @author Lea Verou + * @namespace + * @public + */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=v.value.length,v=v.next){var A,O=v.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(T,S,t,h))||A.index>=t.length)break;var k=A.index,I=A.index+A[0].length,C=S;for(C+=v.value.length;k>=C;)C+=(v=v.next).value.length;if(C-=v.value.length,S=C,v.value instanceof i)continue;for(var N=v;N!==n.tail&&(Cu.reach&&(u.reach=L);var D=v.prev;w&&(D=l(n,D,w),S+=w.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,v.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l{let n=(t,n)=>(e.set(n,t),t),a=i=>{if(e.has(i))return e.get(i);let[o,s]=t[i];switch(o){case 0:case -1:return n(s,i);case 1:{let e=n([],i);for(let t of s)e.push(a(t));return e}case 2:{let e=n({},i);for(let[t,n]of s)e[a(t)]=a(n);return e}case 3:return n(new Date(s),i);case 4:{let{source:e,flags:t}=s;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of s)e.set(a(t),a(n));return e}case 6:{let e=n(new Set,i);for(let t of s)e.add(a(t));return e}case 7:{let{name:e,message:t}=s;return n(new r[e](t),i)}case 8:return n(BigInt(s),i);case"BigInt":return n(Object(BigInt(s)),i)}return n(new r[o](s),i)};return a},i=e=>a(new Map,e)(0),{toString:o}={},{keys:s}=Object,l=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=o.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},c=([e,t])=>0===e&&("function"===t||"symbol"===t),u=(e,t,n,r)=>{let a=(e,t)=>{let a=r.push(e)-1;return n.set(t,a),a},i=r=>{if(n.has(r))return n.get(r);let[o,u]=l(r);switch(o){case 0:{let t=r;switch(u){case"bigint":o=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+u);t=null;break;case"undefined":return a([-1],r)}return a([o,t],r)}case 1:{if(u)return a([u,[...r]],r);let e=[],t=a([o,e],r);for(let t of r)e.push(i(t));return t}case 2:{if(u)switch(u){case"BigInt":return a([u,r.toString()],r);case"Boolean":case"Number":case"String":return a([u,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());let n=[],d=a([o,n],r);for(let t of s(r))(e||!c(l(r[t])))&&n.push([i(t),i(r[t])]);return d}case 3:return a([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return a([o,{source:e,flags:t}],r)}case 5:{let t=[],n=a([o,t],r);for(let[n,a]of r)(e||!(c(l(n))||c(l(a))))&&t.push([i(n),i(a)]);return n}case 6:{let t=[],n=a([o,t],r);for(let n of r)(e||!c(l(n)))&&t.push(i(n));return n}}let{message:d}=r;return a([o,{name:u,message:d}],r)};return i},d=(e,{json:t,lossy:n}={})=>{let r=[];return u(!(t||n),!!t,new Map,r)(e),r};var p="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?i(d(e,t)):structuredClone(e):(e,t)=>i(d(e,t))},25668:function(e,t,n){"use strict";function r(e){let t=[],n=String(e||""),r=n.indexOf(","),a=0,i=!1;for(;!i;){-1===r&&(r=n.length,i=!0);let e=n.slice(a,r).trim();(e||!i)&&t.push(e),a=r+1,r=n.indexOf(",",a)}return t}function a(e,t){let n=t||{},r=""===e[e.length-1]?[...e,""]:e;return r.join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}n.d(t,{P:function(){return a},Q:function(){return r}})},24345:function(e,t,n){"use strict";function r(){}function a(){}n.d(t,{ok:function(){return r},t1:function(){return a}})},27962:function(e,t,n){"use strict";n.d(t,{B:function(){return a}});let r={};function a(e,t){let n=t||r,a="boolean"!=typeof n.includeImageAlt||n.includeImageAlt,o="boolean"!=typeof n.includeHtml||n.includeHtml;return i(e,a,o)}function i(e,t,n){if(e&&"object"==typeof e){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return o(e.children,t,n)}return Array.isArray(e)?o(e,t,n):""}function o(e,t,n){let r=[],a=-1;for(;++a-1&&e.test(String.fromCharCode(t))}}},21905:function(e,t,n){"use strict";function r(e,t,n,r){let a;let i=e.length,o=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)(a=Array.from(r)).unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);o0?(r(e,e.length,0,t),e):t}n.d(t,{V:function(){return a},d:function(){return r}})},62987:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});var r=n(15459);function a(e){return null===e||(0,r.z3)(e)||(0,r.B8)(e)?1:(0,r.Xh)(e)?2:void 0}},4663:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var r=n(21905);let a={}.hasOwnProperty;function i(e){let t={},n=-1;for(;++n"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),u=l({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function d(e,t){return t in e?e[t]:t}function p(e,t){return d(e,t.toLowerCase())}let f=l({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:p,properties:{xmlns:null,xmlnsXLink:null}});var m=n(47312);let g=l({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:m.booleanish,ariaAutoComplete:null,ariaBusy:m.booleanish,ariaChecked:m.booleanish,ariaColCount:m.number,ariaColIndex:m.number,ariaColSpan:m.number,ariaControls:m.spaceSeparated,ariaCurrent:null,ariaDescribedBy:m.spaceSeparated,ariaDetails:null,ariaDisabled:m.booleanish,ariaDropEffect:m.spaceSeparated,ariaErrorMessage:null,ariaExpanded:m.booleanish,ariaFlowTo:m.spaceSeparated,ariaGrabbed:m.booleanish,ariaHasPopup:null,ariaHidden:m.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:m.spaceSeparated,ariaLevel:m.number,ariaLive:null,ariaModal:m.booleanish,ariaMultiLine:m.booleanish,ariaMultiSelectable:m.booleanish,ariaOrientation:null,ariaOwns:m.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:m.number,ariaPressed:m.booleanish,ariaReadOnly:m.booleanish,ariaRelevant:null,ariaRequired:m.booleanish,ariaRoleDescription:m.spaceSeparated,ariaRowCount:m.number,ariaRowIndex:m.number,ariaRowSpan:m.number,ariaSelected:m.booleanish,ariaSetSize:m.number,ariaSort:null,ariaValueMax:m.number,ariaValueMin:m.number,ariaValueNow:m.number,ariaValueText:null,role:null}}),h=l({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:p,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:m.commaSeparated,acceptCharset:m.spaceSeparated,accessKey:m.spaceSeparated,action:null,allow:null,allowFullScreen:m.boolean,allowPaymentRequest:m.boolean,allowUserMedia:m.boolean,alt:null,as:null,async:m.boolean,autoCapitalize:null,autoComplete:m.spaceSeparated,autoFocus:m.boolean,autoPlay:m.boolean,blocking:m.spaceSeparated,capture:null,charSet:null,checked:m.boolean,cite:null,className:m.spaceSeparated,cols:m.number,colSpan:null,content:null,contentEditable:m.booleanish,controls:m.boolean,controlsList:m.spaceSeparated,coords:m.number|m.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:m.boolean,defer:m.boolean,dir:null,dirName:null,disabled:m.boolean,download:m.overloadedBoolean,draggable:m.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:m.boolean,formTarget:null,headers:m.spaceSeparated,height:m.number,hidden:m.boolean,high:m.number,href:null,hrefLang:null,htmlFor:m.spaceSeparated,httpEquiv:m.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:m.boolean,inputMode:null,integrity:null,is:null,isMap:m.boolean,itemId:null,itemProp:m.spaceSeparated,itemRef:m.spaceSeparated,itemScope:m.boolean,itemType:m.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:m.boolean,low:m.number,manifest:null,max:null,maxLength:m.number,media:null,method:null,min:null,minLength:m.number,multiple:m.boolean,muted:m.boolean,name:null,nonce:null,noModule:m.boolean,noValidate:m.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:m.boolean,optimum:m.number,pattern:null,ping:m.spaceSeparated,placeholder:null,playsInline:m.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:m.boolean,referrerPolicy:null,rel:m.spaceSeparated,required:m.boolean,reversed:m.boolean,rows:m.number,rowSpan:m.number,sandbox:m.spaceSeparated,scope:null,scoped:m.boolean,seamless:m.boolean,selected:m.boolean,shadowRootClonable:m.boolean,shadowRootDelegatesFocus:m.boolean,shadowRootMode:null,shape:null,size:m.number,sizes:null,slot:null,span:m.number,spellCheck:m.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:m.number,step:null,style:null,tabIndex:m.number,target:null,title:null,translate:null,type:null,typeMustMatch:m.boolean,useMap:null,value:m.booleanish,width:m.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:m.spaceSeparated,axis:null,background:null,bgColor:null,border:m.number,borderColor:null,bottomMargin:m.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:m.boolean,declare:m.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:m.number,leftMargin:m.number,link:null,longDesc:null,lowSrc:null,marginHeight:m.number,marginWidth:m.number,noResize:m.boolean,noHref:m.boolean,noShade:m.boolean,noWrap:m.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:m.number,rules:null,scheme:null,scrolling:m.booleanish,standby:null,summary:null,text:null,topMargin:m.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:m.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:m.boolean,disableRemotePlayback:m.boolean,prefix:null,property:null,results:m.number,security:null,unselectable:null}}),b=l({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:d,properties:{about:m.commaOrSpaceSeparated,accentHeight:m.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:m.number,amplitude:m.number,arabicForm:null,ascent:m.number,attributeName:null,attributeType:null,azimuth:m.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:m.number,by:null,calcMode:null,capHeight:m.number,className:m.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:m.number,diffuseConstant:m.number,direction:null,display:null,dur:null,divisor:m.number,dominantBaseline:null,download:m.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:m.number,enableBackground:null,end:null,event:null,exponent:m.number,externalResourcesRequired:null,fill:null,fillOpacity:m.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:m.commaSeparated,g2:m.commaSeparated,glyphName:m.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:m.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:m.number,horizOriginX:m.number,horizOriginY:m.number,id:null,ideographic:m.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:m.number,k:m.number,k1:m.number,k2:m.number,k3:m.number,k4:m.number,kernelMatrix:m.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:m.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:m.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:m.number,overlineThickness:m.number,paintOrder:null,panose1:null,path:null,pathLength:m.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:m.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:m.number,pointsAtY:m.number,pointsAtZ:m.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:m.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:m.commaOrSpaceSeparated,rev:m.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:m.commaOrSpaceSeparated,requiredFeatures:m.commaOrSpaceSeparated,requiredFonts:m.commaOrSpaceSeparated,requiredFormats:m.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:m.number,specularExponent:m.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:m.number,strikethroughThickness:m.number,string:null,stroke:null,strokeDashArray:m.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:m.number,strokeOpacity:m.number,strokeWidth:null,style:null,surfaceScale:m.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:m.commaOrSpaceSeparated,tabIndex:m.number,tableValues:null,target:null,targetX:m.number,targetY:m.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:m.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:m.number,underlineThickness:m.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:m.number,values:null,vAlphabetic:m.number,vMathematical:m.number,vectorEffect:null,vHanging:m.number,vIdeographic:m.number,version:null,vertAdvY:m.number,vertOriginX:m.number,vertOriginY:m.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:m.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),y=a([u,c,f,g,h],"html"),E=a([u,c,f,g,b],"svg")},26103:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(28051),a=n(75729),i=n(49255);let o=/^data[-\w.:]+$/i,s=/-[a-z]/g,l=/[A-Z]/g;function c(e,t){let n=(0,r.F)(t),c=t,p=i.k;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&o.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(s,d);c="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!s.test(e)){let n=e.replace(l,u);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}p=a.I}return new p(c,t)}function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},28051:function(e,t,n){"use strict";function r(e){return e.toLowerCase()}n.d(t,{F:function(){return r}})},75729:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var r=n(49255),a=n(47312);let i=Object.keys(a);class o extends r.k{constructor(e,t,n,r){var o,s;let l=-1;if(super(e,t),r&&(this.space=r),"number"==typeof n)for(;++l1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.svg?I.YP:I.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=g=g||(g={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,m.EOF;return this._err(g.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,m.EOF;let n=this.html.charCodeAt(t);return n===m.CARRIAGE_RETURN?m.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,m.EOF;let e=this.html.charCodeAt(this.pos);if(e===m.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,m.LINE_FEED;if(e===m.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===m.LINE_FEED||e===m.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(g.controlCharacterInInputStream):eo(e)&&this._err(g.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=h=h||(h={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=T=T||(T={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=v=v||(v={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[T.A,v.A],[T.ADDRESS,v.ADDRESS],[T.ANNOTATION_XML,v.ANNOTATION_XML],[T.APPLET,v.APPLET],[T.AREA,v.AREA],[T.ARTICLE,v.ARTICLE],[T.ASIDE,v.ASIDE],[T.B,v.B],[T.BASE,v.BASE],[T.BASEFONT,v.BASEFONT],[T.BGSOUND,v.BGSOUND],[T.BIG,v.BIG],[T.BLOCKQUOTE,v.BLOCKQUOTE],[T.BODY,v.BODY],[T.BR,v.BR],[T.BUTTON,v.BUTTON],[T.CAPTION,v.CAPTION],[T.CENTER,v.CENTER],[T.CODE,v.CODE],[T.COL,v.COL],[T.COLGROUP,v.COLGROUP],[T.DD,v.DD],[T.DESC,v.DESC],[T.DETAILS,v.DETAILS],[T.DIALOG,v.DIALOG],[T.DIR,v.DIR],[T.DIV,v.DIV],[T.DL,v.DL],[T.DT,v.DT],[T.EM,v.EM],[T.EMBED,v.EMBED],[T.FIELDSET,v.FIELDSET],[T.FIGCAPTION,v.FIGCAPTION],[T.FIGURE,v.FIGURE],[T.FONT,v.FONT],[T.FOOTER,v.FOOTER],[T.FOREIGN_OBJECT,v.FOREIGN_OBJECT],[T.FORM,v.FORM],[T.FRAME,v.FRAME],[T.FRAMESET,v.FRAMESET],[T.H1,v.H1],[T.H2,v.H2],[T.H3,v.H3],[T.H4,v.H4],[T.H5,v.H5],[T.H6,v.H6],[T.HEAD,v.HEAD],[T.HEADER,v.HEADER],[T.HGROUP,v.HGROUP],[T.HR,v.HR],[T.HTML,v.HTML],[T.I,v.I],[T.IMG,v.IMG],[T.IMAGE,v.IMAGE],[T.INPUT,v.INPUT],[T.IFRAME,v.IFRAME],[T.KEYGEN,v.KEYGEN],[T.LABEL,v.LABEL],[T.LI,v.LI],[T.LINK,v.LINK],[T.LISTING,v.LISTING],[T.MAIN,v.MAIN],[T.MALIGNMARK,v.MALIGNMARK],[T.MARQUEE,v.MARQUEE],[T.MATH,v.MATH],[T.MENU,v.MENU],[T.META,v.META],[T.MGLYPH,v.MGLYPH],[T.MI,v.MI],[T.MO,v.MO],[T.MN,v.MN],[T.MS,v.MS],[T.MTEXT,v.MTEXT],[T.NAV,v.NAV],[T.NOBR,v.NOBR],[T.NOFRAMES,v.NOFRAMES],[T.NOEMBED,v.NOEMBED],[T.NOSCRIPT,v.NOSCRIPT],[T.OBJECT,v.OBJECT],[T.OL,v.OL],[T.OPTGROUP,v.OPTGROUP],[T.OPTION,v.OPTION],[T.P,v.P],[T.PARAM,v.PARAM],[T.PLAINTEXT,v.PLAINTEXT],[T.PRE,v.PRE],[T.RB,v.RB],[T.RP,v.RP],[T.RT,v.RT],[T.RTC,v.RTC],[T.RUBY,v.RUBY],[T.S,v.S],[T.SCRIPT,v.SCRIPT],[T.SECTION,v.SECTION],[T.SELECT,v.SELECT],[T.SOURCE,v.SOURCE],[T.SMALL,v.SMALL],[T.SPAN,v.SPAN],[T.STRIKE,v.STRIKE],[T.STRONG,v.STRONG],[T.STYLE,v.STYLE],[T.SUB,v.SUB],[T.SUMMARY,v.SUMMARY],[T.SUP,v.SUP],[T.TABLE,v.TABLE],[T.TBODY,v.TBODY],[T.TEMPLATE,v.TEMPLATE],[T.TEXTAREA,v.TEXTAREA],[T.TFOOT,v.TFOOT],[T.TD,v.TD],[T.TH,v.TH],[T.THEAD,v.THEAD],[T.TITLE,v.TITLE],[T.TR,v.TR],[T.TRACK,v.TRACK],[T.TT,v.TT],[T.U,v.U],[T.UL,v.UL],[T.SVG,v.SVG],[T.VAR,v.VAR],[T.WBR,v.WBR],[T.XMP,v.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:v.UNKNOWN}let ep=v,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function em(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}T.STYLE,T.SCRIPT,T.XMP,T.IFRAME,T.NOEMBED,T.NOFRAMES,T.PLAINTEXT;let eg=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let eh={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=m.DIGIT_0&&e<=m.DIGIT_9}function ey(e){return e>=m.LATIN_CAPITAL_A&&e<=m.LATIN_CAPITAL_Z}function eE(e){return e>=m.LATIN_SMALL_A&&e<=m.LATIN_SMALL_Z||ey(e)}function eT(e){return eE(e)||eb(e)}function ev(e){return e>=m.LATIN_CAPITAL_A&&e<=m.LATIN_CAPITAL_F}function eS(e){return e>=m.LATIN_SMALL_A&&e<=m.LATIN_SMALL_F}function eA(e){return e===m.SPACE||e===m.LINE_FEED||e===m.TABULATION||e===m.FORM_FEED}function eO(e){return eA(e)||e===m.SOLIDUS||e===m.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(g.endTagWithAttributes),e.selfClosing&&this._err(g.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case h.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case h.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case h.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:h.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eA(e)?h.WHITESPACE_CHARACTER:e===m.NULL?h.NULL_CHARACTER:h.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(h.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==m.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===m.EQUALS_SIGN||eT(a))?(t=[m.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==m.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(g.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case m.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case m.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case m.NULL:this._err(g.unexpectedNullCharacter),this._emitCodePoint(e);break;case m.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case m.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case m.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case m.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case m.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case m.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case m.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case m.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case m.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case m.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case m.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case m.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case m.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case m.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case m.SOLIDUS:this.state=S.END_TAG_OPEN;break;case m.QUESTION_MARK:this._err(g.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case m.EOF:this._err(g.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(g.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case m.GREATER_THAN_SIGN:this._err(g.missingEndTagName),this.state=S.DATA;break;case m.EOF:this._err(g.eofBeforeTagName),this._emitChars("");break;case m.NULL:this._err(g.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case m.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===m.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case m.NULL:this._err(g.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case m.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===m.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(g.characterReferenceOutsideUnicodeRange),this.charRefCode=m.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(g.surrogateCharacterReference),this.charRefCode=m.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(g.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===m.CARRIAGE_RETURN){this._err(g.controlCharacterReference);let e=eg.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([v.DD,v.DT,v.LI,v.OPTGROUP,v.OPTION,v.P,v.RB,v.RP,v.RT,v.RTC]),eI=new Set([...ek,v.CAPTION,v.COLGROUP,v.TBODY,v.TD,v.TFOOT,v.TH,v.THEAD,v.TR]),eC=new Map([[v.APPLET,b.HTML],[v.CAPTION,b.HTML],[v.HTML,b.HTML],[v.MARQUEE,b.HTML],[v.OBJECT,b.HTML],[v.TABLE,b.HTML],[v.TD,b.HTML],[v.TEMPLATE,b.HTML],[v.TH,b.HTML],[v.ANNOTATION_XML,b.MATHML],[v.MI,b.MATHML],[v.MN,b.MATHML],[v.MO,b.MATHML],[v.MS,b.MATHML],[v.MTEXT,b.MATHML],[v.DESC,b.SVG],[v.FOREIGN_OBJECT,b.SVG],[v.TITLE,b.SVG]]),eN=[v.H1,v.H2,v.H3,v.H4,v.H5,v.H6],ex=[v.TR,v.TEMPLATE,v.HTML],ew=[v.TBODY,v.TFOOT,v.THEAD,v.TEMPLATE,v.HTML],eR=[v.TABLE,v.TEMPLATE,v.HTML],eL=[v.TD,v.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=v.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===v.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(ew,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(ex,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===v.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===v.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eC.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(em(t)&&n===b.HTML)break;if(eC.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===v.UL||n===v.OL)&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===v.BUTTON&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===v.TABLE||n===v.TEMPLATE||n===v.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===v.TBODY||t===v.THEAD||t===v.TFOOT)break;if(t===v.TABLE||t===v.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==v.OPTION&&n!==v.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;eI.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&eI.has(this.currentTagId);)this.pop()}}(p=A=A||(A={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:A.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eH=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eG=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eY=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eV=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([v.B,v.BIG,v.BLOCKQUOTE,v.BODY,v.BR,v.CENTER,v.CODE,v.DD,v.DIV,v.DL,v.DT,v.EM,v.EMBED,v.H1,v.H2,v.H3,v.H4,v.H5,v.H6,v.HEAD,v.HR,v.I,v.IMG,v.LI,v.LISTING,v.MENU,v.META,v.NOBR,v.OL,v.P,v.PRE,v.RUBY,v.S,v.SMALL,v.SPAN,v.STRONG,v.STRIKE,v.SUB,v.SUP,v.TABLE,v.TT,v.U,v.UL,v.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=eh.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===T.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case v.TITLE:case v.TEXTAREA:this.tokenizer.state=eh.RCDATA;break;case v.STYLE:case v.XMP:case v.IFRAME:case v.NOEMBED:case v.NOFRAMES:case v.NOSCRIPT:this.tokenizer.state=eh.RAWTEXT;break;case v.SCRIPT:this.tokenizer.state=eh.SCRIPT_DATA;break;case v.PLAINTEXT:this.tokenizer.state=eh.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(T.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,v.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===h.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==v.SVG||this.treeAdapter.getTagName(t)!==T.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===v.MGLYPH||e.tagID===v.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case h.CHARACTER:this.onCharacter(e);break;case h.NULL_CHARACTER:this.onNullCharacter(e);break;case h.COMMENT:this.onComment(e);break;case h.DOCTYPE:this.onDoctype(e);break;case h.START_TAG:this._processStartTag(e);break;case h.END_TAG:this.onEndTag(e);break;case h.EOF:this.onEof(e);break;case h.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===v.ANNOTATION_XML){for(let e=0;ee.type===A.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(v.P),this.openElements.popUntilTagNamePopped(v.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case v.TR:this.insertionMode=O.IN_ROW;return;case v.TBODY:case v.THEAD:case v.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case v.CAPTION:this.insertionMode=O.IN_CAPTION;return;case v.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case v.TABLE:this.insertionMode=O.IN_TABLE;return;case v.BODY:this.insertionMode=O.IN_BODY;return;case v.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case v.SELECT:this._resetInsertionModeForSelect(e);return;case v.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case v.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case v.TD:case v.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case v.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===v.TEMPLATE)break;if(e===v.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case v.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case v.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:th(this,e);break;case O.IN_TABLE_TEXT:tv(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:th(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e5(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e5(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eG.has(n))return E.QUIRKS;let e=null===t?eH:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?e$:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,g.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,g.misplacedDoctype);break;case O.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,g.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===v.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e.tagID===v.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e8(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case v.HTML:tp(e,t);break;case v.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case v.HTML:tp(e,t);break;case v.BASEFONT:case v.BGSOUND:case v.HEAD:case v.LINK:case v.META:case v.NOFRAMES:case v.STYLE:te(e,t);break;case v.NOSCRIPT:e._err(t,g.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case v.HTML:tp(e,t);break;case v.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case v.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case v.BASE:case v.BASEFONT:case v.BGSOUND:case v.LINK:case v.META:case v.NOFRAMES:case v.SCRIPT:case v.STYLE:case v.TEMPLATE:case v.TITLE:e._err(t,g.abandonedHeadElementChild),e.openElements.push(e.headElement,v.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case v.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:tp(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(v.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(v.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tC(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(v.TD)||e.openElements.hasInTableScope(v.TH))&&(e._closeTableCell(),tC(e,t)):tp(e,t)}(this,e);break;case O.IN_SELECT:tx(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===v.CAPTION||n===v.TABLE||n===v.TBODY||n===v.TFOOT||n===v.THEAD||n===v.TR||n===v.TD||n===v.TH?(e.openElements.popUntilTagNamePopped(v.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tx(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case v.BASE:case v.BASEFONT:case v.BGSOUND:case v.LINK:case v.META:case v.NOFRAMES:case v.SCRIPT:case v.STYLE:case v.TEMPLATE:case v.TITLE:te(e,t);break;case v.CAPTION:case v.COLGROUP:case v.TBODY:case v.TFOOT:case v.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case v.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case v.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case v.TD:case v.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,tp(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===v.HTML?tp(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case v.HTML:tp(e,t);break;case v.FRAMESET:e._insertElement(t,b.HTML);break;case v.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case v.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case v.HTML:tp(e,t);break;case v.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===v.HTML?tp(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case v.HTML:tp(e,t);break;case v.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===v.P||t.tagID===v.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===v.HTML||n===v.HEAD||n===v.BODY||n===v.BR)&&e8(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===v.HEAD||n===v.BODY||n===v.HTML||n===v.BR?e7(e,t):e._err(t,g.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case v.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case v.BODY:case v.BR:case v.HTML:tn(e,t);break;case v.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case v.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case v.BR:tr(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case v.BODY:case v.HTML:case v.BR:ta(e,t);break;case v.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:tm(this,e);break;case O.TEXT:e.tagID===v.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case v.CAPTION:case v.TABLE:e.openElements.hasInTableScope(v.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(v.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===v.TABLE&&ty(e,t));break;case v.BODY:case v.COL:case v.COLGROUP:case v.HTML:case v.TBODY:case v.TD:case v.TFOOT:case v.TH:case v.THEAD:case v.TR:break;default:tm(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case v.COLGROUP:e.openElements.currentTagId===v.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case v.TEMPLATE:tt(e,t);break;case v.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tI(this,e);break;case O.IN_ROW:tN(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case v.TD:case v.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case v.TABLE:case v.TBODY:case v.TFOOT:case v.THEAD:case v.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tN(e,t));break;case v.BODY:case v.CAPTION:case v.COL:case v.COLGROUP:case v.HTML:break;default:tm(e,t)}}(this,e);break;case O.IN_SELECT:tw(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===v.CAPTION||n===v.TABLE||n===v.TBODY||n===v.TFOOT||n===v.THEAD||n===v.TR||n===v.TD||n===v.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(v.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tw(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===v.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==v.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===v.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===v.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tg(this,e);break;case O.TEXT:this._err(e,g.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_TEMPLATE:tR(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===m.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:th(this,e);break;case O.IN_TABLE_TEXT:tT(this,e)}}}function e4(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===v.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e5(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,g.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(T.HEAD,v.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case v.HTML:tp(e,t);break;case v.BASE:case v.BASEFONT:case v.BGSOUND:case v.LINK:case v.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case v.TITLE:e._switchToTextParsing(t,eh.RCDATA);break;case v.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eh.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case v.NOFRAMES:case v.STYLE:e._switchToTextParsing(t,eh.RAWTEXT);break;case v.SCRIPT:e._switchToTextParsing(t,eh.SCRIPT_DATA);break;case v.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case v.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==v.TEMPLATE&&e._err(t,g.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(v.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,g.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===h.EOF?g.openElementsLeftAfterEof:g.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(T.BODY,v.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case h.CHARACTER:ts(e,t);break;case h.WHITESPACE_CHARACTER:to(e,t);break;case h.COMMENT:e5(e,t);break;case h.START_TAG:tp(e,t);break;case h.END_TAG:tm(e,t);break;case h.EOF:tg(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,eh.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case v.I:case v.S:case v.B:case v.U:case v.EM:case v.TT:case v.BIG:case v.CODE:case v.FONT:case v.SMALL:case v.STRIKE:case v.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case v.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(T.A);n&&(e4(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case v.H1:case v.H2:case v.H3:case v.H4:case v.H5:case v.H6:e.openElements.hasInButtonScope(v.P)&&e._closePElement(),em(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case v.P:case v.DL:case v.OL:case v.UL:case v.DIV:case v.DIR:case v.NAV:case v.MAIN:case v.MENU:case v.ASIDE:case v.CENTER:case v.FIGURE:case v.FOOTER:case v.HEADER:case v.HGROUP:case v.DIALOG:case v.DETAILS:case v.ADDRESS:case v.ARTICLE:case v.SECTION:case v.SUMMARY:case v.FIELDSET:case v.BLOCKQUOTE:case v.FIGCAPTION:e.openElements.hasInButtonScope(v.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case v.LI:case v.DD:case v.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===v.LI&&r===v.LI||(n===v.DD||n===v.DT)&&(r===v.DD||r===v.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==v.ADDRESS&&r!==v.DIV&&r!==v.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(v.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case v.BR:case v.IMG:case v.WBR:case v.AREA:case v.EMBED:case v.KEYGEN:tl(e,t);break;case v.HR:e.openElements.hasInButtonScope(v.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case v.RB:case v.RTC:e.openElements.hasInScope(v.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case v.RT:case v.RP:e.openElements.hasInScope(v.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(v.RTC),e._insertElement(t,b.HTML);break;case v.PRE:case v.LISTING:e.openElements.hasInButtonScope(v.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case v.XMP:e.openElements.hasInButtonScope(v.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eh.RAWTEXT);break;case v.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case v.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case v.BASE:case v.LINK:case v.META:case v.STYLE:case v.TITLE:case v.SCRIPT:case v.BGSOUND:case v.BASEFONT:case v.TEMPLATE:te(e,t);break;case v.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case v.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(v.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case v.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(v.NOBR)&&(e4(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case v.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case v.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(v.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case v.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case v.PARAM:case v.TRACK:case v.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case v.IMAGE:t.tagName=T.IMG,t.tagID=v.IMG,tl(e,t);break;case v.BUTTON:e.openElements.hasInScope(v.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(v.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case v.APPLET:case v.OBJECT:case v.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case v.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eh.RAWTEXT);break;case v.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case v.OPTION:case v.OPTGROUP:e.openElements.currentTagId===v.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case v.NOEMBED:tu(e,t);break;case v.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET)}(e,t);break;case v.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eh.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case v.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case v.PLAINTEXT:e.openElements.hasInButtonScope(v.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=eh.PLAINTEXT;break;case v.COL:case v.TH:case v.TD:case v.TR:case v.HEAD:case v.FRAME:case v.TBODY:case v.TFOOT:case v.THEAD:case v.CAPTION:case v.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==v.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function tm(e,t){switch(t.tagID){case v.A:case v.B:case v.I:case v.S:case v.U:case v.EM:case v.TT:case v.BIG:case v.CODE:case v.FONT:case v.NOBR:case v.SMALL:case v.STRIKE:case v.STRONG:e4(e,t);break;case v.P:e.openElements.hasInButtonScope(v.P)||e._insertFakeElement(T.P,v.P),e._closePElement();break;case v.DL:case v.UL:case v.OL:case v.DIR:case v.DIV:case v.NAV:case v.PRE:case v.MAIN:case v.MENU:case v.ASIDE:case v.BUTTON:case v.CENTER:case v.FIGURE:case v.FOOTER:case v.HEADER:case v.HGROUP:case v.DIALOG:case v.ADDRESS:case v.ARTICLE:case v.DETAILS:case v.SECTION:case v.SUMMARY:case v.LISTING:case v.FIELDSET:case v.BLOCKQUOTE:case v.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case v.LI:e.openElements.hasInListItemScope(v.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(v.LI),e.openElements.popUntilTagNamePopped(v.LI));break;case v.DD:case v.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case v.H1:case v.H2:case v.H3:case v.H4:case v.H5:case v.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case v.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(T.BR,v.BR),e.openElements.pop(),e.framesetOk=!1;break;case v.BODY:!function(e,t){if(e.openElements.hasInScope(v.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case v.HTML:e.openElements.hasInScope(v.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case v.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(v.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(v.FORM):n&&e.openElements.remove(n))}(e);break;case v.APPLET:case v.OBJECT:case v.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case v.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tg(e,t){e.tmplInsertionModeStack.length>0?tR(e,t):e6(e,t)}function th(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case h.CHARACTER:tv(e,t);break;case h.WHITESPACE_CHARACTER:tT(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case v.TD:case v.TH:case v.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(T.TBODY,v.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case v.STYLE:case v.SCRIPT:case v.TEMPLATE:te(e,t);break;case v.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(T.COLGROUP,v.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case v.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case v.TABLE:e.openElements.hasInTableScope(v.TABLE)&&(e.openElements.popUntilTagNamePopped(v.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case v.TBODY:case v.TFOOT:case v.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case v.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case v.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case v.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case v.TABLE:e.openElements.hasInTableScope(v.TABLE)&&(e.openElements.popUntilTagNamePopped(v.TABLE),e._resetInsertionMode());break;case v.TEMPLATE:tt(e,t);break;case v.BODY:case v.CAPTION:case v.COL:case v.COLGROUP:case v.HTML:case v.TBODY:case v.TD:case v.TFOOT:case v.TH:case v.THEAD:case v.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tT(e,t){e.pendingCharacterTokens.push(t)}function tv(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===v.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===v.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===v.OPTGROUP&&e.openElements.pop();break;case v.OPTION:e.openElements.currentTagId===v.OPTION&&e.openElements.pop();break;case v.SELECT:e.openElements.hasInSelectScope(v.SELECT)&&(e.openElements.popUntilTagNamePopped(v.SELECT),e._resetInsertionMode());break;case v.TEMPLATE:tt(e,t)}}function tR(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(v.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===v.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===v.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),T.AREA,T.BASE,T.BASEFONT,T.BGSOUND,T.BR,T.COL,T.EMBED,T.FRAME,T.HR,T.IMG,T.INPUT,T.KEYGEN,T.LINK,T.META,T.PARAM,T.SOURCE,T.TRACK,T.WBR;var tF=n(3980),tB=n(21623);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tH(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:t$,element:tz,text:tZ,comment:tY,doctype:tW,raw:tV},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return $({file:n.file||void 0,location:!1,schema:"svg"===n.space?I.YP:I.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tG(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:h.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:h.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tY(e,t){let n=e.value,r={type:h.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tV(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tH({type:"root",children:e.children},t.options);n.children=r.children}tY({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eh.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tH(t,{...e,file:n});return r}}},55186:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eX}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function m(e){this.config.exit.autolinkEmail.call(this,e)}function g(e){this.exit(e)}function h(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var T=n(11098);function v(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,T.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function I(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,T.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function N(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function x(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),w)),o(),i}function w(e,t,n){return 0===t?e:(n?"":" ")+e}N.peek=function(){return"["};let R=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function V(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function q(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function X(e,t,n,r){let a,i;let o=G(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(K(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function Q(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function J(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function ee(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}W.peek=function(){return"<"},Y.peek=function(){return"!"},V.peek=function(){return"!"},q.peek=function(){return"`"},X.peek=function(e,t,n){return K(e,n)?"<":"["},Q.peek=function(){return"["};let et=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function en(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}en.peek=function(e,t,n){return n.options.strong||"*"};let er={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max(function(e,t){let n=String(e),r=n.indexOf(t),a=r,i=0,o=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==r;)r===a?++i>o&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=G(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:$,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,Z.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:W,image:Y,imageReference:V,inlineCode:q,link:X,linkReference:Q,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):J(n),s=e.ordered?"."===o?")":".":function(e){let t=J(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),ee(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return et(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:en,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(ee(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ea(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function ei(e){this.exit(e),this.data.inTable=void 0}function eo(e){this.enter({type:"tableRow",children:[]},e)}function es(e){this.exit(e)}function el(e){this.enter({type:"tableCell",children:[]},e)}function ec(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,eu));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function eu(e,t){return"|"===t?t:e}function ed(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ep(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eA[43]=eS,eA[45]=eS,eA[46]=eS,eA[95]=eS,eA[72]=[eS,ev],eA[104]=[eS,ev],eA[87]=[eS,eT],eA[119]=[eS,eT];var ex=n(23402),ew=n(42761);let eR={tokenize:function(e,t,n){let r=this;return(0,ew.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eL(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,T.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eD(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eP(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,T.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eM(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,T.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,ew.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eF(e,t,n){return e.check(ex.w,t,e.attempt(eR,t,n))}function eB(e){e.exit("gfmFootnoteDefinition")}var ej=n(21905),eU=n(62987),eH=n(63233);class eG{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function e$(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,ew.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,ew.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?g(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),m):n(t)}function m(t){return(0,i.xz)(t)?(0,ew.f)(e,g,"whitespace")(t):g(t)}function g(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),h):45===t?(s+=1,h(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function h(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,ew.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),T(t)}function T(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),T):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,ew.f)(e,T,"whitespace")(n):(e.enter("data"),v(n))}function v(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),T(t)):(e.consume(t),92===t?S:v)}function S(t){return 92===t||124===t?(e.consume(t),v):v(t)}}function ez(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new eG;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eW(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eV={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eq},t,n)(r):n(r)}}};function eq(e,t,n){return(0,ew.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eK={};function eX(e){let t=e||eK,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,em.W)([{text:eA},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eM,continuation:{tokenize:eF},exit:eB}},text:{91:{name:"gfmFootnoteCall",tokenize:eP},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eL,resolveTo:eD}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eU.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eU.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let m=[];for(;++c0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function o(e){let t=a(e),n=r(e);if(t&&n)return{start:t,end:n}}},88718:function(e,t,n){"use strict";n.d(t,{BK:function(){return i},S4:function(){return o}});var r=n(96093);let a=[],i=!1;function o(e,t,n,o){let s;"function"==typeof t&&"function"!=typeof n?(o=n,n=t):s=t;let l=(0,r.O)(s),c=o?-1:1;(function e(r,s,u){let d=r&&"object"==typeof r?r:{};if("string"==typeof d.type){let e="string"==typeof d.tagName?d.tagName:"string"==typeof d.name?d.name:void 0;Object.defineProperty(p,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return p;function p(){var d;let p,f,m,g=a;if((!t||l(r,s,u[u.length-1]||void 0))&&(g=Array.isArray(d=n(r,u))?d:"number"==typeof d?[!0,d]:null==d?a:[d])[0]===i)return g;if("children"in r&&r.children&&r.children&&"skip"!==g[0])for(f=(o?r.children.length:-1)+c,m=u.concat(r);f>-1&&f","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4744-a431699d60da1732.js b/dbgpt/app/static/web/_next/static/chunks/4744-a431699d60da1732.js new file mode 100644 index 000000000..d04da88c4 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/4744-a431699d60da1732.js @@ -0,0 +1,8 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4744],{72137:function(t,e,r){"use strict";r.d(e,{k:function(){return u}});var n=r(90494);function i(t,e,r,n){for(;t.length;){let i=t.shift(),o=r(i);if(o)return!0;e.add(i.id),n(i.id).forEach(r=>{e.has(r.id)||(e.add(r.id),t.push(r))})}return!1}function o(t,e,r,n){let i=r(t);if(i)return!0;for(let i of(e.add(t.id),n(t.id)))if(!e.has(i.id)&&o(i,e,r,n))return!0;return!1}let s=()=>!0;class a{graph;nodeFilter;edgeFilter;cacheEnabled;inEdgesMap=new Map;outEdgesMap=new Map;bothEdgesMap=new Map;allNodesMap=new Map;allEdgesMap=new Map;constructor(t){this.graph=t.graph;let e=t.nodeFilter||s,r=t.edgeFilter||s;this.nodeFilter=e,this.edgeFilter=t=>{let{source:n,target:i}=this.graph.getEdgeDetail(t.id);return!!(e(n)&&e(i))&&r(t,n,i)},"auto"===t.cache?(this.cacheEnabled=!0,this.startAutoCache()):"manual"===t.cache?this.cacheEnabled=!0:this.cacheEnabled=!1}clearCache=()=>{this.inEdgesMap.clear(),this.outEdgesMap.clear(),this.bothEdgesMap.clear(),this.allNodesMap.clear(),this.allEdgesMap.clear()};refreshCache=()=>{this.clearCache(),this.updateCache(this.graph.getAllNodes().map(t=>t.id))};updateCache=t=>{let e=new Set;t.forEach(t=>{let r=this.bothEdgesMap.get(t);if(r&&r.forEach(t=>e.add(t.id)),this.hasNode(t)){let r=this.graph.getRelatedEdges(t,"in").filter(this.edgeFilter),n=this.graph.getRelatedEdges(t,"out").filter(this.edgeFilter),i=Array.from(new Set([...r,...n]));i.forEach(t=>e.add(t.id)),this.inEdgesMap.set(t,r),this.outEdgesMap.set(t,n),this.bothEdgesMap.set(t,i),this.allNodesMap.set(t,this.graph.getNode(t))}else this.inEdgesMap.delete(t),this.outEdgesMap.delete(t),this.bothEdgesMap.delete(t),this.allNodesMap.delete(t)}),e.forEach(t=>{this.hasEdge(t)?this.allEdgesMap.set(t,this.graph.getEdge(t)):this.allEdgesMap.delete(t)})};startAutoCache(){this.refreshCache(),this.graph.on("changed",this.handleGraphChanged)}stopAutoCache(){this.graph.off("changed",this.handleGraphChanged)}handleGraphChanged=t=>{let e=new Set;t.changes.forEach(r=>{switch(r.type){case"NodeAdded":case"NodeRemoved":e.add(r.value.id);break;case"NodeDataUpdated":e.add(r.id);break;case"EdgeAdded":case"EdgeRemoved":e.add(r.value.source),e.add(r.value.target);break;case"EdgeUpdated":("source"===r.propertyName||"target"===r.propertyName)&&(e.add(r.oldValue),e.add(r.newValue));break;case"EdgeDataUpdated":if(t.graph.hasEdge(r.id)){let n=t.graph.getEdge(r.id);e.add(n.source),e.add(n.target)}}}),this.updateCache(e)};checkNodeExistence(t){this.getNode(t)}hasNode(t){if(!this.graph.hasNode(t))return!1;let e=this.graph.getNode(t);return this.nodeFilter(e)}areNeighbors(t,e){return this.checkNodeExistence(t),this.getNeighbors(e).some(e=>e.id===t)}getNode(t){let e=this.graph.getNode(t);if(!this.nodeFilter(e))throw Error("Node not found for id: "+t);return e}getRelatedEdges(t,e){if(this.checkNodeExistence(t),this.cacheEnabled)return"in"===e?this.inEdgesMap.get(t):"out"===e?this.outEdgesMap.get(t):this.bothEdgesMap.get(t);let r=this.graph.getRelatedEdges(t,e);return r.filter(this.edgeFilter)}getDegree(t,e){return this.getRelatedEdges(t,e).length}getSuccessors(t){let e=this.getRelatedEdges(t,"out"),r=e.map(t=>this.getNode(t.target));return Array.from(new Set(r))}getPredecessors(t){let e=this.getRelatedEdges(t,"in"),r=e.map(t=>this.getNode(t.source));return Array.from(new Set(r))}getNeighbors(t){let e=this.getPredecessors(t),r=this.getSuccessors(t);return Array.from(new Set([...e,...r]))}hasEdge(t){if(!this.graph.hasEdge(t))return!1;let e=this.graph.getEdge(t);return this.edgeFilter(e)}getEdge(t){let e=this.graph.getEdge(t);if(!this.edgeFilter(e))throw Error("Edge not found for id: "+t);return e}getEdgeDetail(t){let e=this.getEdge(t);return{edge:e,source:this.getNode(e.source),target:this.getNode(e.target)}}hasTreeStructure(t){return this.graph.hasTreeStructure(t)}getRoots(t){return this.graph.getRoots(t).filter(this.nodeFilter)}getChildren(t,e){return this.checkNodeExistence(t),this.graph.getChildren(t,e).filter(this.nodeFilter)}getParent(t,e){this.checkNodeExistence(t);let r=this.graph.getParent(t,e);return r&&this.nodeFilter(r)?r:null}getAllNodes(){return this.cacheEnabled?Array.from(this.allNodesMap.values()):this.graph.getAllNodes().filter(this.nodeFilter)}getAllEdges(){return this.cacheEnabled?Array.from(this.allEdgesMap.values()):this.graph.getAllEdges().filter(this.edgeFilter)}bfs(t,e,r="out"){let n={in:this.getPredecessors.bind(this),out:this.getSuccessors.bind(this),both:this.getNeighbors.bind(this)}[r];i([this.getNode(t)],new Set,e,n)}dfs(t,e,r="out"){let n={in:this.getPredecessors.bind(this),out:this.getSuccessors.bind(this),both:this.getNeighbors.bind(this)}[r];o(this.getNode(t),new Set,e,n)}}class u extends n.Z{nodeMap=new Map;edgeMap=new Map;inEdgesMap=new Map;outEdgesMap=new Map;bothEdgesMap=new Map;treeIndices=new Map;changes=[];batchCount=0;onChanged=()=>{};constructor(t){if(super(),!t)return;t.nodes&&this.addNodes(t.nodes),t.edges&&this.addEdges(t.edges),t.tree&&this.addTree(t.tree),t.onChanged&&(this.onChanged=t.onChanged)}batch=t=>{this.batchCount+=1,t(),this.batchCount-=1,this.batchCount||this.commit()};commit(){let t=this.changes;this.changes=[];let e={graph:this,changes:t};this.emit("changed",e),this.onChanged(e)}reduceChanges(t){let e=[];return t.forEach(t=>{switch(t.type){case"NodeRemoved":{let r=!1;e=e.filter(e=>{if("NodeAdded"===e.type){let n=e.value.id===t.value.id;return n&&(r=!0),!n}return"NodeDataUpdated"===e.type?e.id!==t.value.id:"TreeStructureChanged"!==e.type||e.nodeId!==t.value.id}),r||e.push(t);break}case"EdgeRemoved":{let r=!1;e=e.filter(e=>{if("EdgeAdded"===e.type){let n=e.value.id===t.value.id;return n&&(r=!0),!n}return"EdgeDataUpdated"!==e.type&&"EdgeUpdated"!==e.type||e.id!==t.value.id}),r||e.push(t);break}case"NodeDataUpdated":case"EdgeDataUpdated":case"EdgeUpdated":{let r=e.findIndex(e=>e.type===t.type&&e.id===t.id&&(void 0===t.propertyName||e.propertyName===t.propertyName)),n=e[r];n?void 0!==t.propertyName?n.newValue=t.newValue:(e.splice(r,1),e.push(t)):e.push(t);break}case"TreeStructureDetached":(e=e.filter(e=>"TreeStructureAttached"===e.type?e.treeKey!==t.treeKey:"TreeStructureChanged"!==e.type||e.treeKey!==t.treeKey)).push(t);break;case"TreeStructureChanged":{let r=e.find(e=>"TreeStructureChanged"===e.type&&e.treeKey===t.treeKey&&e.nodeId===t.nodeId);r?r.newParentId=t.newParentId:e.push(t);break}default:e.push(t)}}),e}checkNodeExistence(t){this.getNode(t)}hasNode(t){return this.nodeMap.has(t)}areNeighbors(t,e){return this.getNeighbors(e).some(e=>e.id===t)}getNode(t){let e=this.nodeMap.get(t);if(!e)throw Error("Node not found for id: "+t);return e}getRelatedEdges(t,e){if(this.checkNodeExistence(t),"in"===e){let e=this.inEdgesMap.get(t);return Array.from(e)}if("out"===e){let e=this.outEdgesMap.get(t);return Array.from(e)}{let e=this.bothEdgesMap.get(t);return Array.from(e)}}getDegree(t,e){return this.getRelatedEdges(t,e).length}getSuccessors(t){let e=this.getRelatedEdges(t,"out"),r=e.map(t=>this.getNode(t.target));return Array.from(new Set(r))}getPredecessors(t){let e=this.getRelatedEdges(t,"in"),r=e.map(t=>this.getNode(t.source));return Array.from(new Set(r))}getNeighbors(t){let e=this.getPredecessors(t),r=this.getSuccessors(t);return Array.from(new Set([...e,...r]))}doAddNode(t){if(this.hasNode(t.id))throw Error("Node already exists: "+t.id);this.nodeMap.set(t.id,t),this.inEdgesMap.set(t.id,new Set),this.outEdgesMap.set(t.id,new Set),this.bothEdgesMap.set(t.id,new Set),this.treeIndices.forEach(e=>{e.childrenMap.set(t.id,new Set)}),this.changes.push({type:"NodeAdded",value:t})}addNodes(t){this.batch(()=>{for(let e of t)this.doAddNode(e)})}addNode(t){this.addNodes([t])}doRemoveNode(t){let e=this.getNode(t),r=this.bothEdgesMap.get(t);r?.forEach(t=>this.doRemoveEdge(t.id)),this.nodeMap.delete(t),this.treeIndices.forEach(r=>{r.childrenMap.get(t)?.forEach(t=>{r.parentMap.delete(t.id)});let n=r.parentMap.get(t);n&&r.childrenMap.get(n.id)?.delete(e),r.parentMap.delete(t),r.childrenMap.delete(t)}),this.bothEdgesMap.delete(t),this.inEdgesMap.delete(t),this.outEdgesMap.delete(t),this.changes.push({type:"NodeRemoved",value:e})}removeNodes(t){this.batch(()=>{t.forEach(t=>this.doRemoveNode(t))})}removeNode(t){this.removeNodes([t])}updateNodeDataProperty(t,e,r){let n=this.getNode(t);this.batch(()=>{let i=n.data[e];n.data[e]=r,this.changes.push({type:"NodeDataUpdated",id:t,propertyName:e,oldValue:i,newValue:r})})}mergeNodeData(t,e){this.batch(()=>{Object.entries(e).forEach(([e,r])=>{this.updateNodeDataProperty(t,e,r)})})}updateNodeData(...t){let e;let r=t[0],n=this.getNode(r);if("string"==typeof t[1]){this.updateNodeDataProperty(r,t[1],t[2]);return}if("function"==typeof t[1]){let r=t[1];e=r(n.data)}else"object"==typeof t[1]&&(e=t[1]);this.batch(()=>{let t=n.data,i=e;n.data=e,this.changes.push({type:"NodeDataUpdated",id:r,oldValue:t,newValue:i})})}checkEdgeExistence(t){if(!this.hasEdge(t))throw Error("Edge not found for id: "+t)}hasEdge(t){return this.edgeMap.has(t)}getEdge(t){return this.checkEdgeExistence(t),this.edgeMap.get(t)}getEdgeDetail(t){let e=this.getEdge(t);return{edge:e,source:this.getNode(e.source),target:this.getNode(e.target)}}doAddEdge(t){if(this.hasEdge(t.id))throw Error("Edge already exists: "+t.id);this.checkNodeExistence(t.source),this.checkNodeExistence(t.target),this.edgeMap.set(t.id,t);let e=this.inEdgesMap.get(t.target),r=this.outEdgesMap.get(t.source),n=this.bothEdgesMap.get(t.source),i=this.bothEdgesMap.get(t.target);e.add(t),r.add(t),n.add(t),i.add(t),this.changes.push({type:"EdgeAdded",value:t})}addEdges(t){this.batch(()=>{for(let e of t)this.doAddEdge(e)})}addEdge(t){this.addEdges([t])}doRemoveEdge(t){let e=this.getEdge(t),r=this.outEdgesMap.get(e.source),n=this.inEdgesMap.get(e.target),i=this.bothEdgesMap.get(e.source),o=this.bothEdgesMap.get(e.target);r.delete(e),n.delete(e),i.delete(e),o.delete(e),this.edgeMap.delete(t),this.changes.push({type:"EdgeRemoved",value:e})}removeEdges(t){this.batch(()=>{t.forEach(t=>this.doRemoveEdge(t))})}removeEdge(t){this.removeEdges([t])}updateEdgeSource(t,e){let r=this.getEdge(t);this.checkNodeExistence(e);let n=r.source;this.outEdgesMap.get(n).delete(r),this.bothEdgesMap.get(n).delete(r),this.outEdgesMap.get(e).add(r),this.bothEdgesMap.get(e).add(r),r.source=e,this.batch(()=>{this.changes.push({type:"EdgeUpdated",id:t,propertyName:"source",oldValue:n,newValue:e})})}updateEdgeTarget(t,e){let r=this.getEdge(t);this.checkNodeExistence(e);let n=r.target;this.inEdgesMap.get(n).delete(r),this.bothEdgesMap.get(n).delete(r),this.inEdgesMap.get(e).add(r),this.bothEdgesMap.get(e).add(r),r.target=e,this.batch(()=>{this.changes.push({type:"EdgeUpdated",id:t,propertyName:"target",oldValue:n,newValue:e})})}updateEdgeDataProperty(t,e,r){let n=this.getEdge(t);this.batch(()=>{let i=n.data[e];n.data[e]=r,this.changes.push({type:"EdgeDataUpdated",id:t,propertyName:e,oldValue:i,newValue:r})})}updateEdgeData(...t){let e;let r=t[0],n=this.getEdge(r);if("string"==typeof t[1]){this.updateEdgeDataProperty(r,t[1],t[2]);return}if("function"==typeof t[1]){let r=t[1];e=r(n.data)}else"object"==typeof t[1]&&(e=t[1]);this.batch(()=>{let t=n.data,i=e;n.data=e,this.changes.push({type:"EdgeDataUpdated",id:r,oldValue:t,newValue:i})})}mergeEdgeData(t,e){this.batch(()=>{Object.entries(e).forEach(([e,r])=>{this.updateEdgeDataProperty(t,e,r)})})}checkTreeExistence(t){if(!this.hasTreeStructure(t))throw Error("Tree structure not found for treeKey: "+t)}hasTreeStructure(t){return this.treeIndices.has(t)}attachTreeStructure(t){this.treeIndices.has(t)||(this.treeIndices.set(t,{parentMap:new Map,childrenMap:new Map}),this.batch(()=>{this.changes.push({type:"TreeStructureAttached",treeKey:t})}))}detachTreeStructure(t){this.checkTreeExistence(t),this.treeIndices.delete(t),this.batch(()=>{this.changes.push({type:"TreeStructureDetached",treeKey:t})})}addTree(t,e){this.batch(()=>{this.attachTreeStructure(e);let r=[],n=Array.isArray(t)?t:[t];for(;n.length;){let t=n.shift();r.push(t),t.children&&n.push(...t.children)}this.addNodes(r),r.forEach(t=>{t.children?.forEach(r=>{this.setParent(r.id,t.id,e)})})})}getRoots(t){return this.checkTreeExistence(t),this.getAllNodes().filter(e=>!this.getParent(e.id,t))}getChildren(t,e){this.checkNodeExistence(t),this.checkTreeExistence(e);let r=this.treeIndices.get(e),n=r.childrenMap.get(t);return Array.from(n||[])}getParent(t,e){this.checkNodeExistence(t),this.checkTreeExistence(e);let r=this.treeIndices.get(e);return r.parentMap.get(t)||null}getAncestors(t,e){let r;let n=[],i=this.getNode(t);for(;r=this.getParent(i.id,e);)n.push(r),i=r;return n}setParent(t,e,r){this.checkTreeExistence(r);let n=this.treeIndices.get(r),i=this.getNode(t),o=n.parentMap.get(t);if(o?.id===e)return;if(void 0===e){o&&n.childrenMap.get(o.id)?.delete(i),n.parentMap.delete(t);return}let s=this.getNode(e);n.parentMap.set(t,s),o&&n.childrenMap.get(o.id)?.delete(i);let a=n.childrenMap.get(s.id);a||(a=new Set,n.childrenMap.set(s.id,a)),a.add(i),this.batch(()=>{this.changes.push({type:"TreeStructureChanged",treeKey:r,nodeId:t,oldParentId:o?.id,newParentId:s.id})})}dfsTree(t,e,r){return o(this.getNode(t),new Set,e,t=>this.getChildren(t,r))}bfsTree(t,e,r){return i([this.getNode(t)],new Set,e,t=>this.getChildren(t,r))}getAllNodes(){return Array.from(this.nodeMap.values())}getAllEdges(){return Array.from(this.edgeMap.values())}bfs(t,e,r="out"){let n={in:this.getPredecessors.bind(this),out:this.getSuccessors.bind(this),both:this.getNeighbors.bind(this)}[r];return i([this.getNode(t)],new Set,e,n)}dfs(t,e,r="out"){let n={in:this.getPredecessors.bind(this),out:this.getSuccessors.bind(this),both:this.getNeighbors.bind(this)}[r];return o(this.getNode(t),new Set,e,n)}clone(){let t=this.getAllNodes().map(t=>({...t,data:{...t.data}})),e=this.getAllEdges().map(t=>({...t,data:{...t.data}})),r=new u({nodes:t,edges:e});return this.treeIndices.forEach(({parentMap:t,childrenMap:e},n)=>{let i=new Map;t.forEach((t,e)=>{i.set(e,r.getNode(t.id))});let o=new Map;e.forEach((t,e)=>{o.set(e,new Set(Array.from(t).map(t=>r.getNode(t.id))))}),r.treeIndices.set(n,{parentMap:i,childrenMap:o})}),r}toJSON(){return JSON.stringify({nodes:this.getAllNodes(),edges:this.getAllEdges()})}createView(t){return new a({graph:this,...t})}}},28104:function(t,e,r){"use strict";r.d(e,{b:function(){return eS}});var n=r(97582),i=r(72137),o=r(61035);let s=(t,e)=>{if("next"!==t&&"prev"!==t)return e},a=t=>{t.prev.next=t.next,t.next.prev=t.prev,delete t.next,delete t.prev};class u{constructor(){let t={};t.prev=t,t.next=t.prev,this.shortcut=t}dequeue(){let t=this.shortcut,e=t.prev;if(e&&e!==t)return a(e),e}enqueue(t){let e=this.shortcut;t.prev&&t.next&&a(t),t.next=e.next,e.next.prev=t,e.next=t,t.prev=e}toString(){let t=[],e=this.shortcut,r=e.prev;for(;r!==e;)t.push(JSON.stringify(r,s)),r=null==r?void 0:r.prev;return`[${t.join(", ")}]`}}class d extends u{}let l=()=>1,h=(t,e)=>{var r;if(t.getAllNodes().length<=1)return[];let n=g(t,e||l),i=c(n.graph,n.buckets,n.zeroIdx);return null===(r=i.map(e=>t.getRelatedEdges(e.v,"out").filter(({target:t})=>t===e.w)))||void 0===r?void 0:r.flat()},c=(t,e,r)=>{let n,i=[],o=e[e.length-1],s=e[0];for(;t.getAllNodes().length;){for(;n=s.dequeue();)f(t,e,r,n);for(;n=o.dequeue();)f(t,e,r,n);if(t.getAllNodes().length){for(let o=e.length-2;o>0;--o)if(n=e[o].dequeue()){i=i.concat(f(t,e,r,n,!0));break}}}return i},f=(t,e,r,n,i)=>{var o,s;let a=[];return t.hasNode(n.v)&&(null===(o=t.getRelatedEdges(n.v,"in"))||void 0===o||o.forEach(n=>{let o=n.data.weight,s=t.getNode(n.source);i&&a.push({v:n.source,w:n.target,in:0,out:0}),void 0===s.data.out&&(s.data.out=0),s.data.out-=o,p(e,r,Object.assign({v:s.id},s.data))}),null===(s=t.getRelatedEdges(n.v,"out"))||void 0===s||s.forEach(n=>{let i=n.data.weight,o=n.target,s=t.getNode(o);void 0===s.data.in&&(s.data.in=0),s.data.in-=i,p(e,r,Object.assign({v:s.id},s.data))}),t.removeNode(n.v)),i?a:void 0},g=(t,e)=>{let r=new i.k,n=0,o=0;t.getAllNodes().forEach(t=>{r.addNode({id:t.id,data:{v:t.id,in:0,out:0}})}),t.getAllEdges().forEach(t=>{let i=r.getRelatedEdges(t.source,"out").find(e=>e.target===t.target),s=(null==e?void 0:e(t))||1;i?r.updateEdgeData(null==i?void 0:i.id,Object.assign(Object.assign({},i.data),{weight:i.data.weight+s})):r.addEdge({id:t.id,source:t.source,target:t.target,data:{weight:s}}),o=Math.max(o,r.getNode(t.source).data.out+=s),n=Math.max(n,r.getNode(t.target).data.in+=s)});let s=[],a=o+n+3;for(let t=0;t{p(s,u,Object.assign({v:t.id},r.getNode(t.id).data))}),{buckets:s,zeroIdx:u,graph:r}},p=(t,e,r)=>{r.out?r.in?t[r.out-r.in+e].enqueue(r):t[t.length-1].enqueue(r):t[0].enqueue(r)},m=(t,e)=>{let r="greedy"===e?h(t,t=>t.data.weight||1):v(t);null==r||r.forEach(e=>{let r=e.data;t.removeEdge(e.id),r.forwardName=e.data.name,r.reversed=!0,t.addEdge({id:e.id,source:e.target,target:e.source,data:Object.assign({},r)})})},v=t=>{let e=[],r={},n={},i=o=>{n[o]||(n[o]=!0,r[o]=!0,t.getRelatedEdges(o,"out").forEach(t=>{r[t.target]?e.push(t):i(t.target)}),delete r[o])};return t.getAllNodes().forEach(t=>i(t.id)),e},y=t=>{t.getAllEdges().forEach(e=>{let r=e.data;if(r.reversed){t.removeEdge(e.id);let n=r.forwardName;delete r.reversed,delete r.forwardName,t.addEdge({id:e.id,source:e.target,target:e.source,data:Object.assign(Object.assign({},r),{forwardName:n})})}})},w=(t,e)=>Number(t)-Number(e),x=(t,e,r,n)=>{let i;do i=`${n}${Math.random()}`;while(t.hasNode(i));return r.dummy=e,t.addNode({id:i,data:r}),i},b=t=>{let e=new i.k;return t.getAllNodes().forEach(t=>{e.addNode(Object.assign({},t))}),t.getAllEdges().forEach(t=>{let r=e.getRelatedEdges(t.source,"out").find(e=>e.target===t.target);r?e.updateEdgeData(null==r?void 0:r.id,Object.assign(Object.assign({},r.data),{weight:r.data.weight+t.data.weight||0,minlen:Math.max(r.data.minlen,t.data.minlen||1)})):e.addEdge({id:t.id,source:t.source,target:t.target,data:{weight:t.data.weight||0,minlen:t.data.minlen||1}})}),e},E=t=>{let e=new i.k;return t.getAllNodes().forEach(r=>{t.getChildren(r.id).length||e.addNode(Object.assign({},r))}),t.getAllEdges().forEach(t=>{e.addEdge(t)}),e},N=(t,e)=>null==t?void 0:t.reduce((t,r,n)=>(t[r]=e[n],t),{}),M=(t,e)=>{let r,n;let i=Number(t.x),o=Number(t.y),s=Number(e.x)-i,a=Number(e.y)-o,u=Number(t.width)/2,d=Number(t.height)/2;return s||a?(Math.abs(a)*u>Math.abs(s)*d?(a<0&&(d=-d),r=d*s/a,n=d):(s<0&&(u=-u),r=u,n=u*a/s),{x:i+r,y:o+n}):{x:0,y:0}},_=t=>{let e=[],r=j(t)+1;for(let t=0;t{let r=t.data.rank;void 0!==r&&e[r]&&e[r].push(t.id)});for(let n=0;nw(t.getNode(e).data.order,t.getNode(r).data.order));return e},k=t=>{let e=t.getAllNodes().filter(t=>void 0!==t.data.rank).map(t=>t.data.rank),r=Math.min(...e);t.getAllNodes().forEach(t=>{t.data.hasOwnProperty("rank")&&r!==1/0&&(t.data.rank-=r)})},A=(t,e=0)=>{let r=t.getAllNodes(),n=r.filter(t=>void 0!==t.data.rank).map(t=>t.data.rank),i=Math.min(...n),o=[];r.forEach(t=>{let e=(t.data.rank||0)-i;o[e]||(o[e]=[]),o[e].push(t.id)});let s=0;for(let r=0;r{let r=t.getNode(e);r&&(r.data.rank=r.data.rank||0,r.data.rank+=s)}))}},S=(t,e,r,n)=>{let i={width:0,height:0};return(0,o.Z)(r)&&(0,o.Z)(n)&&(i.rank=r,i.order=n),x(t,"border",i,e)},j=t=>{let e;return t.getAllNodes().forEach(t=>{let r=t.data.rank;void 0!==r&&(void 0===e||r>e)&&(e=r)}),e||(e=0),e},O=(t,e)=>{let r={lhs:[],rhs:[]};return null==t||t.forEach(t=>{e(t)?r.lhs.push(t):r.rhs.push(t)}),r},R=(t,e)=>t.reduce((t,r)=>{let n=e(t),i=e(r);return n>i?r:t}),z=(t,e,r,n,i,o)=>{!n.includes(e.id)&&(n.push(e.id),r||o.push(e.id),i(e.id).forEach(e=>z(t,e,r,n,i,o)),r&&o.push(e.id))},I=(t,e,r,n)=>{let i=Array.isArray(e)?e:[e],o=e=>n?t.getSuccessors(e):t.getNeighbors(e),s=[],a=[];return i.forEach(e=>{if(t.hasNode(e.id))z(t,e,"post"===r,a,o,s);else throw Error(`Graph does not have node: ${e}`)}),s},C=t=>{let e=r=>{let n=t.getChildren(r),i=t.getNode(r);if((null==n?void 0:n.length)&&n.forEach(t=>e(t.id)),i.data.hasOwnProperty("minRank")){i.data.borderLeft=[],i.data.borderRight=[];for(let e=i.data.minRank,n=i.data.maxRank+1;ee(t.id))},D=(t,e,r,n,i,o)=>{let s=i.data[e][o-1],a=x(t,"border",{rank:o,borderType:e,width:0,height:0},r);i.data[e][o]=a,t.setParent(a,n),s&&t.addEdge({id:`e${Math.random()}`,source:s,target:a,data:{weight:1}})},P=(t,e)=>{let r=e.toLowerCase();("lr"===r||"rl"===r)&&L(t)},T=(t,e)=>{let r=e.toLowerCase();("bt"===r||"rl"===r)&&q(t),("lr"===r||"rl"===r)&&(G(t),L(t))},L=t=>{t.getAllNodes().forEach(t=>{F(t)}),t.getAllEdges().forEach(t=>{F(t)})},F=t=>{let e=t.data.width;t.data.width=t.data.height,t.data.height=e},q=t=>{t.getAllNodes().forEach(t=>{Z(t.data)}),t.getAllEdges().forEach(t=>{var e;null===(e=t.data.points)||void 0===e||e.forEach(t=>Z(t)),t.data.hasOwnProperty("y")&&Z(t.data)})},Z=t=>{(null==t?void 0:t.y)&&(t.y=-t.y)},G=t=>{t.getAllNodes().forEach(t=>{V(t.data)}),t.getAllEdges().forEach(t=>{var e;null===(e=t.data.points)||void 0===e||e.forEach(t=>V(t)),t.data.hasOwnProperty("x")&&V(t.data)})},V=t=>{let e=t.x;t.x=t.y,t.y=e},U=t=>{let e=x(t,"root",{},"_root"),r=B(t),n=Math.max(...Object.values(r));Math.abs(n)===1/0&&(n=1);let i=n-1,o=2*i+1;t.getAllEdges().forEach(t=>{t.data.minlen*=o});let s=W(t)+1;return t.getRoots().forEach(n=>{$(t,e,o,s,i,r,n.id)}),{nestingRoot:e,nodeRankFactor:o}},$=(t,e,r,n,i,o,s)=>{let a=t.getChildren(s);if(!(null==a?void 0:a.length)){s!==e&&t.addEdge({id:`e${Math.random()}`,source:e,target:s,data:{weight:0,minlen:r}});return}let u=S(t,"_bt"),d=S(t,"_bb"),l=t.getNode(s);t.setParent(u,s),l.data.borderTop=u,t.setParent(d,s),l.data.borderBottom=d,null==a||a.forEach(a=>{$(t,e,r,n,i,o,a.id);let l=a.data.borderTop?a.data.borderTop:a.id,h=a.data.borderBottom?a.data.borderBottom:a.id,c=a.data.borderTop?n:2*n,f=l!==h?1:i-o[s]+1;t.addEdge({id:`e${Math.random()}`,source:u,target:l,data:{minlen:f,weight:c,nestingEdge:!0}}),t.addEdge({id:`e${Math.random()}`,source:h,target:d,data:{minlen:f,weight:c,nestingEdge:!0}})}),t.getParent(s)||t.addEdge({id:`e${Math.random()}`,source:e,target:u,data:{weight:0,minlen:i+o[s]}})},B=t=>{let e={},r=(n,i)=>{let o=t.getChildren(n);null==o||o.forEach(t=>r(t.id,i+1)),e[n]=i};return t.getRoots().forEach(t=>r(t.id,1)),e},W=t=>{let e=0;return t.getAllEdges().forEach(t=>{e+=t.data.weight}),e},Y=(t,e)=>{e&&t.removeNode(e),t.getAllEdges().forEach(e=>{e.data.nestingEdge&&t.removeEdge(e.id)})},H="edge-label",J=(t,e)=>{t.getAllEdges().forEach(r=>K(t,r,e))},K=(t,e,r)=>{let n,i,o,s=e.source,a=t.getNode(s).data.rank,u=e.target,d=t.getNode(u).data.rank,l=e.data.labelRank;if(d!==a+1){for(t.removeEdge(e.id),o=0,++a;a{e.forEach(e=>{let r,n=t.getNode(e),{data:i}=n,o=i.originalEdge;o&&t.addEdge(o);let s=e;for(;n.data.dummy;)r=t.getSuccessors(s)[0],t.removeNode(s),o.data.points.push({x:n.data.x,y:n.data.y}),n.data.dummy===H&&(o.data.x=n.data.x,o.data.y=n.data.y,o.data.width=n.data.width,o.data.height=n.data.height),s=r.id,n=t.getNode(s)})};var X=r(59145),tt=function(t){if("object"!=typeof t||null===t)return t;if((0,X.Z)(t)){e=[];for(var e,r=0,n=t.length;r{let n;let i={};null==r||r.forEach(r=>{let o,s,a=t.getParent(r);for(;a;){if((o=t.getParent(a.id))?(s=i[o.id],i[o.id]=a.id):(s=n,n=a.id),s&&s!==a.id){e.hasNode(s)||e.addNode({id:s,data:{}}),e.hasNode(a.id)||e.addNode({id:a.id,data:{}}),e.hasEdge(`e${s}-${a.id}`)||e.addEdge({id:`e${s}-${a.id}`,source:s,target:a.id,data:{}});return}a=o}})},tr=(t,e,r)=>{let n=tn(t),o=new i.k({tree:[{id:n,children:[],data:{}}]});return t.getAllNodes().forEach(i=>{let s=t.getParent(i.id);(i.data.rank===e||i.data.minRank<=e&&e<=i.data.maxRank)&&(o.hasNode(i.id)||o.addNode(Object.assign({},i)),(null==s?void 0:s.id)&&!o.hasNode(null==s?void 0:s.id)&&o.addNode(Object.assign({},s)),o.setParent(i.id,(null==s?void 0:s.id)||n),t.getRelatedEdges(i.id,r).forEach(e=>{let r=e.source===i.id?e.target:e.source;o.hasNode(r)||o.addNode(Object.assign({},t.getNode(r)));let n=o.getRelatedEdges(r,"out").find(({target:t})=>t===i.id),s=void 0!==n?n.data.weight:0;n?o.updateEdgeData(n.id,Object.assign(Object.assign({},n.data),{weight:e.data.weight+s})):o.addEdge({id:e.id,source:r,target:i.id,data:{weight:e.data.weight+s}})}),i.data.hasOwnProperty("minRank")&&o.updateNodeData(i.id,Object.assign(Object.assign({},i.data),{borderLeft:i.data.borderLeft[e],borderRight:i.data.borderRight[e]})))}),o},tn=t=>{let e;for(;t.hasNode(e=`_root${Math.random()}`););return e},ti=(t,e,r)=>{let n=N(r,r.map((t,e)=>e)),i=e.map(e=>{let r=t.getRelatedEdges(e,"out").map(t=>({pos:n[t.target]||0,weight:t.data.weight}));return null==r?void 0:r.sort((t,e)=>t.pos-e.pos)}),o=i.flat().filter(t=>void 0!==t),s=1;for(;s{if(t){let e=t.pos+s;u[e]+=t.weight;let r=0;for(;e>0;)e%2&&(r+=u[e+1]),e=e-1>>1,u[e]+=t.weight;d+=t.weight*r}}),d},to=(t,e)=>{let r=0;for(let n=1;n<(null==e?void 0:e.length);n+=1)r+=ti(t,e[n-1],e[n]);return r},ts=t=>{let e={},r=t.getAllNodes(),n=r.map(t=>{var e;return null!==(e=t.data.rank)&&void 0!==e?e:-1/0}),i=Math.max(...n),o=[];for(let t=0;tt.getNode(e.id).data.rank-t.getNode(r.id).data.rank),a=s.filter(e=>void 0!==t.getNode(e.id).data.fixorder),u=a.sort((e,r)=>t.getNode(e.id).data.fixorder-t.getNode(r.id).data.fixorder);return null==u||u.forEach(r=>{isNaN(t.getNode(r.id).data.rank)||o[t.getNode(r.id).data.rank].push(r.id),e[r.id]=!0}),null==s||s.forEach(r=>t.dfsTree(r.id,t=>{if(e.hasOwnProperty(t.id))return!0;e[t.id]=!0,isNaN(t.data.rank)||o[t.data.rank].push(t.id)})),o},ta=(t,e)=>e.map(e=>{let r=t.getRelatedEdges(e,"in");if(!(null==r?void 0:r.length))return{v:e};let n={sum:0,weight:0};return null==r||r.forEach(e=>{let r=t.getNode(e.source);n.sum+=e.data.weight*r.data.order,n.weight+=e.data.weight}),{v:e,barycenter:n.sum/n.weight,weight:n.weight}}),tu=t=>{var e,r;let n=[],i=t=>e=>{!e.merged&&(void 0===e.barycenter||void 0===t.barycenter||e.barycenter>=t.barycenter)&&td(t,e)},o=e=>r=>{r.in.push(e),0==--r.indegree&&t.push(r)};for(;null==t?void 0:t.length;){let s=t.pop();n.push(s),null===(e=s.in.reverse())||void 0===e||e.forEach(t=>i(s)(t)),null===(r=s.out)||void 0===r||r.forEach(t=>o(s)(t))}let s=n.filter(t=>!t.merged),a=["vs","i","barycenter","weight"];return s.map(t=>{let e={};return null==a||a.forEach(r=>{void 0!==t[r]&&(e[r]=t[r])}),e})},td=(t,e)=>{var r;let n=0,i=0;t.weight&&(n+=t.barycenter*t.weight,i+=t.weight),e.weight&&(n+=e.barycenter*e.weight,i+=e.weight),t.vs=null===(r=e.vs)||void 0===r?void 0:r.concat(t.vs),t.barycenter=n/i,t.weight=i,t.i=Math.min(e.i,t.i),e.merged=!0};var tl=(t,e)=>{var r,n,i;let o={};null==t||t.forEach((t,e)=>{o[t.v]={i:e,indegree:0,in:[],out:[],vs:[t.v]};let r=o[t.v];void 0!==t.barycenter&&(r.barycenter=t.barycenter,r.weight=t.weight)}),null===(r=e.getAllEdges())||void 0===r||r.forEach(t=>{let e=o[t.source],r=o[t.target];void 0!==e&&void 0!==r&&(r.indegree++,e.out.push(o[t.target]))});let s=null===(i=(n=Object.values(o)).filter)||void 0===i?void 0:i.call(n,t=>!t.indegree);return tu(s)};let th=(t,e,r,n)=>{let i=O(t,t=>{let e=t.hasOwnProperty("fixorder")&&!isNaN(t.fixorder);return n?!e&&t.hasOwnProperty("barycenter"):e||t.hasOwnProperty("barycenter")}),o=i.lhs,s=i.rhs.sort((t,e)=>-t.i- -e.i),a=[],u=0,d=0,l=0;null==o||o.sort(tf(!!e,!!r)),l=tc(a,s,l),null==o||o.forEach(t=>{var e;l+=null===(e=t.vs)||void 0===e?void 0:e.length,a.push(t.vs),u+=t.barycenter*t.weight,d+=t.weight,l=tc(a,s,l)});let h={vs:a.flat()};return d&&(h.barycenter=u/d,h.weight=d),h},tc=(t,e,r)=>{let n,i=r;for(;e.length&&(n=e[e.length-1]).i<=i;)e.pop(),null==t||t.push(n.vs),i++;return i},tf=(t,e)=>(r,n)=>{if(void 0!==r.fixorder&&void 0!==n.fixorder)return r.fixorder-n.fixorder;if(r.barycentern.barycenter)return 1;if(e&&void 0!==r.order&&void 0!==n.order){if(r.ordern.order)return 1}return t?n.i-r.i:r.i-n.i},tg=(t,e,r,n,i,o)=>{var s,a,u,d;let l=t.getChildren(e).map(t=>t.id),h=t.getNode(e),c=h?h.data.borderLeft:void 0,f=h?h.data.borderRight:void 0,g={};c&&(l=null==l?void 0:l.filter(t=>t!==c&&t!==f));let p=ta(t,l||[]);null==p||p.forEach(e=>{var i;if(null===(i=t.getChildren(e.v))||void 0===i?void 0:i.length){let i=tg(t,e.v,r,n,o);g[e.v]=i,i.hasOwnProperty("barycenter")&&tm(e,i)}});let m=tl(p,r);tp(m,g),null===(s=m.filter(t=>t.vs.length>0))||void 0===s||s.forEach(e=>{let r=t.getNode(e.vs[0]);r&&(e.fixorder=r.data.fixorder,e.order=r.data.order)});let v=th(m,n,i,o);if(c&&(v.vs=[c,v.vs,f].flat(),null===(a=t.getPredecessors(c))||void 0===a?void 0:a.length)){let e=t.getNode((null===(u=t.getPredecessors(c))||void 0===u?void 0:u[0].id)||""),r=t.getNode((null===(d=t.getPredecessors(f))||void 0===d?void 0:d[0].id)||"");v.hasOwnProperty("barycenter")||(v.barycenter=0,v.weight=0),v.barycenter=(v.barycenter*v.weight+e.data.order+r.data.order)/(v.weight+2),v.weight+=2}return v},tp=(t,e)=>{null==t||t.forEach(t=>{var r;let n=null===(r=t.vs)||void 0===r?void 0:r.map(t=>e[t]?e[t].vs:t);t.vs=n.flat()})},tm=(t,e)=>{void 0!==t.barycenter?(t.barycenter=(t.barycenter*t.weight+e.barycenter*e.weight)/(t.weight+e.weight),t.weight+=e.weight):(t.barycenter=e.barycenter,t.weight=e.weight)},tv=(t,e)=>{let r;let n=j(t),i=[],o=[];for(let t=1;t-1;t--)o.push(t);let s=ty(t,i,"in"),a=ty(t,o,"out"),u=ts(t);tx(t,u);let d=Number.POSITIVE_INFINITY;for(let n=0,i=0;i<4;++n,++i){tw(n%2?s:a,n%4>=2,!1,e),u=_(t);let o=to(t,u);o=2,!0,e),u=_(t);let o=to(t,u);oe.map(e=>tr(t,e,r)),tw=(t,e,r,n)=>{let o=new i.k;null==t||t.forEach(t=>{var i;let s=t.getRoots()[0].id,a=tg(t,s,o,e,r,n);for(let e=0;e<(null===(i=a.vs)||void 0===i?void 0:i.length);e++){let r=t.getNode(a.vs[e]);r&&(r.data.order=e)}te(t,o,a.vs)})},tx=(t,e)=>{null==e||e.forEach(e=>{null==e||e.forEach((e,r)=>{t.getNode(e).data.order=r})})},tb=(t,e)=>{let r=t.getAllNodes().filter(e=>{var r;return!(null===(r=t.getChildren(e.id))||void 0===r?void 0:r.length)}),n=r.map(t=>t.data.rank),i=Math.max(...n),o=[];for(let t=0;t{let r=t.getNode(e);r&&!r.data.dummy&&(isNaN(r.data.rank)||(r.data.fixorder=o[r.data.rank].length,o[r.data.rank].push(e)))})},tE=t=>{let e={},r=0,n=i=>{let o=r;t.getChildren(i).forEach(t=>n(t.id)),e[i]={low:o,lim:r++}};return t.getRoots().forEach(t=>n(t.id)),e},tN=(t,e,r,n)=>{var i,o;let s,a;let u=[],d=[],l=Math.min(e[r].low,e[n].low),h=Math.max(e[r].lim,e[n].lim);s=r;do u.push(s=null===(i=t.getParent(s))||void 0===i?void 0:i.id);while(s&&(e[s].low>l||h>e[s].lim));for(a=s,s=n;s&&s!==a;)d.push(s),s=null===(o=t.getParent(s))||void 0===o?void 0:o.id;return{lca:a,path:u.concat(d.reverse())}},tM=(t,e)=>{let r=tE(t);e.forEach(e=>{var n,i;let o=e,s=t.getNode(o),a=s.data.originalEdge;if(!a)return;let u=tN(t,r,a.source,a.target),d=u.path,l=u.lca,h=0,c=d[0],f=!0;for(;o!==a.target;){if(s=t.getNode(o),f){for(;c!==l&&(null===(n=t.getNode(c))||void 0===n?void 0:n.data.maxRank){let r={};return(null==e?void 0:e.length)&&e.reduce((e,n)=>{let i=0,o=0,s=e.length,a=null==n?void 0:n[(null==n?void 0:n.length)-1];return null==n||n.forEach((e,u)=>{var d;let l=tA(t,e),h=l?t.getNode(l.id).data.order:s;(l||e===a)&&(null===(d=n.slice(o,u+1))||void 0===d||d.forEach(e=>{var n;null===(n=t.getPredecessors(e))||void 0===n||n.forEach(n=>{var o;let s=t.getNode(n.id),a=s.data.order;(a{let r={};function n(e,n){let i=JSON.stringify(e.slice(1));n.get(i)||(!function(e,n,i,o,s){var a,u;let d;for(let l=n;l{let n=t.getNode(e.id);n.data.dummy&&(n.data.orders)&&tS(r,e.id,d)}))}(...e),n.set(i,!0))}return(null==e?void 0:e.length)&&e.reduce((e,r)=>{let i,o=-1,s=0,a=new Map;return null==r||r.forEach((u,d)=>{var l;if((null===(l=t.getNode(u))||void 0===l?void 0:l.data.dummy)==="border"){let e=t.getPredecessors(u)||[];e.length&&(n([r,s,d,o,i=t.getNode(e[0].id).data.order],a),s=d,o=i)}n([r,s,r.length,i,e.length],a)}),r}),r},tA=(t,e)=>{var r,n;if(null===(r=t.getNode(e))||void 0===r?void 0:r.data.dummy)return null===(n=t.getPredecessors(e))||void 0===n?void 0:n.find(e=>t.getNode(e.id).data.dummy)},tS=(t,e,r)=>{let n=e,i=r;if(n>i){let t=n;n=i,i=t}let o=t[n];o||(t[n]=o={}),o[i]=!0},tj=(t,e,r)=>{let n=e,i=r;return n>i&&(n=i,i=e),!!t[n]},tO=(t,e,r,n)=>{let i={},o={},s={};return null==e||e.forEach(t=>{null==t||t.forEach((t,e)=>{i[t]=t,o[t]=t,s[t]=e})}),null==e||e.forEach(t=>{let e=-1;null==t||t.forEach(t=>{let a=n(t).map(t=>t.id);if(a.length){a=a.sort((t,e)=>s[t]-s[e]);let n=(a.length-1)/2;for(let u=Math.floor(n),d=Math.ceil(n);u<=d;++u){let n=a[u];o[t]===t&&e{var a;let u={},d=tz(t,e,r,i,o,s),l=s?"borderLeft":"borderRight",h=(t,e)=>{let r=d.getAllNodes(),n=r.pop(),i={};for(;n;)i[n.id]?t(n.id):(i[n.id]=!0,r.push(n),r=r.concat(e(n.id))),n=r.pop()};return h(t=>{u[t]=(d.getRelatedEdges(t,"in")||[]).reduce((t,e)=>Math.max(t,(u[e.source]||0)+e.data.weight),0)},d.getPredecessors.bind(d)),h(e=>{let r=(d.getRelatedEdges(e,"out")||[]).reduce((t,e)=>Math.min(t,(u[e.target]||0)-e.data.weight),Number.POSITIVE_INFINITY),n=t.getNode(e);r!==Number.POSITIVE_INFINITY&&n.data.borderType!==l&&(u[e]=Math.max(u[e],r))},d.getSuccessors.bind(d)),null===(a=Object.values(n))||void 0===a||a.forEach(t=>{u[t]=u[r[t]]}),u},tz=(t,e,r,n,o,s)=>{let a=new i.k,u=tD(n,o,s);return null==e||e.forEach(e=>{let n;null==e||e.forEach(e=>{let i=r[e];if(a.hasNode(i)||a.addNode({id:i,data:{}}),n){let o=r[n],s=a.getRelatedEdges(o,"out").find(t=>t.target===i);s?a.updateEdgeData(s.id,Object.assign(Object.assign({},s.data),{weight:Math.max(u(t,e,n),s.data.weight||0)})):a.addEdge({id:`e${Math.random()}`,source:o,target:i,data:{weight:Math.max(u(t,e,n),0)}})}n=e})}),a},tI=(t,e)=>R(Object.values(e),e=>{var r;let n=Number.NEGATIVE_INFINITY,i=Number.POSITIVE_INFINITY;return null===(r=Object.keys(e))||void 0===r||r.forEach(r=>{let o=e[r],s=tP(t,r)/2;n=Math.max(o+s,n),i=Math.min(o-s,i)}),n-i}),tC=(t,e)=>{let r={};return Object.keys(t.ul).forEach(n=>{if(e)r[n]=t[e.toLowerCase()][n];else{let e=Object.values(t).map(t=>t[n]);r[n]=(e[0]+e[1])/2}}),r},tD=(t,e,r)=>(n,i,o)=>{let s;let a=n.getNode(i),u=n.getNode(o),d=0;if(s=0+a.data.width/2,a.data.hasOwnProperty("labelpos"))switch((a.data.labelpos||"").toLowerCase()){case"l":d=-a.data.width/2;break;case"r":d=a.data.width/2}if(d&&(s+=r?d:-d),d=0,s+=(a.data.dummy?e:t)/2+(u.data.dummy?e:t)/2+u.data.width/2,u.data.labelpos)switch((u.data.labelpos||"").toLowerCase()){case"l":d=u.data.width/2;break;case"r":d=-u.data.width/2}return d&&(s+=r?d:-d),d=0,s},tP=(t,e)=>t.getNode(e).data.width||0,tT=(t,e)=>{let{ranksep:r=0}=e||{},n=_(t),i=0;null==n||n.forEach(e=>{let n=e.map(e=>t.getNode(e).data.height),o=Math.max(...n,0);null==e||e.forEach(e=>{t.getNode(e).data.y=i+o/2}),i+=o+r})},tL=(t,e)=>{let{align:r,nodesep:n=0,edgesep:i=0}=e||{},o=_(t),s=Object.assign(t_(t,o),tk(t,o)),a={},u=[];["u","d"].forEach(e=>{u="u"===e?o:Object.values(o).reverse(),["l","r"].forEach(r=>{"r"===r&&(u=u.map(t=>Object.values(t).reverse()));let o=("u"===e?t.getPredecessors:t.getSuccessors).bind(t),d=tO(t,u,s,o),l=tR(t,u,d.root,d.align,n,i,"r"===r);"r"===r&&Object.keys(l).forEach(t=>l[t]=-l[t]),a[e+r]=l})});let d=tI(t,a);return d&&function(t,e){let r=Object.values(e),n=Math.min(...r),i=Math.max(...r);["u","d"].forEach(r=>{["l","r"].forEach(o=>{let s;let a=r+o,u=t[a];if(u===e)return;let d=Object.values(u);(s="l"===o?n-Math.min(...d):i-Math.max(...d))&&(t[a]={},Object.keys(u).forEach(e=>{t[a][e]=u[e]+s}))})})}(a,d),tC(a,r)},tF=(t,e)=>{var r;let n=E(t);tT(n,e);let i=tL(n,e);null===(r=Object.keys(i))||void 0===r||r.forEach(t=>{n.getNode(t).data.x=i[t]})},tq=t=>{let e={},r=n=>{var i;let o;let s=t.getNode(n);return s?e[n]?s.data.rank:(e[n]=!0,null===(i=t.getRelatedEdges(n,"out"))||void 0===i||i.forEach(t=>{let e=r(t.target),n=t.data.minlen,i=e-n;i&&(void 0===o||i0===t.getRelatedEdges(e.id,"in").length).forEach(t=>r(t.id))},tZ=t=>{let e;let r={},n=i=>{var o;let s;let a=t.getNode(i);return a?r[i]?a.data.rank:(r[i]=!0,null===(o=t.getRelatedEdges(i,"out"))||void 0===o||o.forEach(t=>{let e=n(t.target),r=t.data.minlen,i=e-r;i&&(void 0===s||i0===t.getRelatedEdges(e.id,"in").length).forEach(t=>{t&&n(t.id)}),void 0===e&&(e=0);let i={},o=(e,r)=>{var n;let s=t.getNode(e),a=isNaN(s.data.layer)?r:s.data.layer;(void 0===s.data.rank||s.data.rank{o(t.target,a+t.data.minlen)}))};t.getAllNodes().forEach(t=>{let r=t.data;r&&(isNaN(r.layer)?r.rank-=e:o(t.id,r.layer))})},tG=(t,e)=>t.getNode(e.target).data.rank-t.getNode(e.source).data.rank-e.data.minlen,tV=t=>{let e,r;let n=new i.k({tree:[]}),o=t.getAllNodes()[0],s=t.getAllNodes().length;for(n.addNode(o);tU(n,t){let r=n=>{e.getRelatedEdges(n,"both").forEach(i=>{let o=i.source,s=n===o?i.target:o;t.hasNode(s)||tG(e,i)||(t.addNode({id:s,data:{}}),t.addEdge({id:i.id,source:n,target:s,data:{}}),r(s))})};return t.getAllNodes().forEach(t=>r(t.id)),t.getAllNodes().length},t$=t=>{let e,r;let n=new i.k({tree:[]}),o=t.getAllNodes()[0],s=t.getAllNodes().length;for(n.addNode(o);tB(n,t){let r=n=>{var i;null===(i=e.getRelatedEdges(n,"both"))||void 0===i||i.forEach(i=>{let o=i.source,s=n===o?i.target:o;t.hasNode(s)||void 0===e.getNode(s).data.layer&&tG(e,i)||(t.addNode({id:s,data:{}}),t.addEdge({id:i.id,source:n,target:s,data:{}}),r(s))})};return t.getAllNodes().forEach(t=>r(t.id)),t.getAllNodes().length},tW=(t,e)=>R(e.getAllEdges(),r=>t.hasNode(r.source)!==t.hasNode(r.target)?tG(e,r):1/0),tY=(t,e,r)=>{t.getAllNodes().forEach(t=>{let n=e.getNode(t.id);n.data.rank||(n.data.rank=0),n.data.rank+=r})},tH=t=>{let e,r;let n=b(t);tq(n);let i=tV(n);for(tX(i),tJ(i,n);e=t1(i);)r=t2(i,n,e),t3(i,n,e,r)},tJ=(t,e)=>{let r=I(t,t.getAllNodes(),"post",!1);(r=r.slice(0,(null==r?void 0:r.length)-1)).forEach(r=>{tK(t,e,r)})},tK=(t,e,r)=>{let n=t.getNode(r),i=n.data.parent,o=t.getRelatedEdges(r,"both").find(t=>t.target===i||t.source===i);o.data.cutvalue=tQ(t,e,r)},tQ=(t,e,r)=>{let n=t.getNode(r),i=n.data.parent,o=!0,s=e.getRelatedEdges(r,"out").find(t=>t.target===i),a=0;return s||(o=!1,s=e.getRelatedEdges(i,"out").find(t=>t.target===r)),a=s.data.weight,e.getRelatedEdges(r,"both").forEach(e=>{let n=e.source===r,s=n?e.target:e.source;if(s!==i){let i=n===o,u=e.data.weight;if(a+=i?u:-u,t6(t,r,s)){let e=t.getRelatedEdges(r,"both").find(t=>t.source===s||t.target===s).data.cutvalue;a+=i?-e:e}}}),a},tX=(t,e=t.getAllNodes()[0].id)=>{t0(t,{},1,e)},t0=(t,e,r,n,i)=>{var o;let s=r,a=t.getNode(n);return e[n]=!0,null===(o=t.getNeighbors(n))||void 0===o||o.forEach(r=>{e[r.id]||(s=t0(t,e,s,r.id,n))}),a.data.low=r,a.data.lim=s++,i?a.data.parent=i:delete a.data.parent,s},t1=t=>t.getAllEdges().find(t=>t.data.cutvalue<0),t2=(t,e,r)=>{let n=r.source,i=r.target;e.getRelatedEdges(n,"out").find(t=>t.target===i)||(n=r.target,i=r.source);let o=t.getNode(n),s=t.getNode(i),a=o,u=!1;o.data.lim>s.data.lim&&(a=s,u=!0);let d=e.getAllEdges().filter(e=>u===t4(t.getNode(e.source),a)&&u!==t4(t.getNode(e.target),a));return R(d,t=>tG(e,t))},t3=(t,e,r,n)=>{let i=t.getRelatedEdges(r.source,"both").find(t=>t.source===r.target||t.target===r.target);i&&t.removeEdge(i.id),t.addEdge({id:`e${Math.random()}`,source:n.source,target:n.target,data:{}}),tX(t),tJ(t,e),t8(t,e)},t8=(t,e)=>{let r=t.getAllNodes().find(t=>!t.data.parent),n=I(t,r,"pre",!1);(n=n.slice(1)).forEach(r=>{let n=t.getNode(r).data.parent,i=e.getRelatedEdges(r,"out").find(t=>t.target===n),o=!1;!i&&e.hasNode(n)&&(i=e.getRelatedEdges(n,"out").find(t=>t.target===r),o=!0),e.getNode(r).data.rank=(e.hasNode(n)&&e.getNode(n).data.rank||0)+(o?null==i?void 0:i.data.minlen:-(null==i?void 0:i.data.minlen))})},t6=(t,e,r)=>t.getRelatedEdges(e,"both").find(t=>t.source===r||t.target===r),t4=(t,e)=>e.data.low<=t.data.lim&&t.data.lim<=e.data.lim,t7=(t,e)=>{switch(e){case"network-simplex":et(t);break;case"tight-tree":default:t9(t);break;case"longest-path":t5(t)}},t5=tq,t9=t=>{tZ(t),t$(t)},et=t=>{tH(t)},ee=(t,e)=>{let r;let{edgeLabelSpace:n,keepNodeOrder:i,prevGraph:o,rankdir:s,ranksep:a}=e;!i&&o&&en(t,o);let u=el(t);n&&(e.ranksep=eh(u,{rankdir:s,ranksep:a}));try{r=er(u,e)}catch(t){if("Not possible to find intersection inside of the rectangle"===t.message){console.error("The following error may be caused by improper layer setting, please make sure your manual layer setting does not violate the graph's structure:\n",t);return}throw t}return ei(t,u),r},er=(t,e)=>{let{acyclicer:r,ranker:n,rankdir:i="tb",nodeOrder:o,keepNodeOrder:s,align:a,nodesep:u=50,edgesep:d=20,ranksep:l=50}=e;ex(t),m(t,r);let{nestingRoot:h,nodeRankFactor:c}=U(t);t7(E(t),n),ec(t),A(t,c),Y(t,h),k(t),ef(t),eg(t);let f=[];J(t,f),tM(t,f),C(t),s&&tb(t,o),tv(t,s),eb(t),P(t,i),tF(t,{align:a,nodesep:u,edgesep:d,ranksep:l}),eE(t),ew(t),Q(t,f),ev(t),T(t,i);let{width:g,height:p}=ep(t);return em(t),ey(t),y(t),{width:g,height:p}},en=(t,e)=>{t.getAllNodes().forEach(r=>{let n=t.getNode(r.id);if(e.hasNode(r.id)){let t=e.getNode(r.id);n.data.fixorder=t.data._order,delete t.data._order}else delete n.data.fixorder})},ei=(t,e)=>{t.getAllNodes().forEach(r=>{var n;let i=t.getNode(r.id);if(i){let t=e.getNode(r.id);i.data.x=t.data.x,i.data.y=t.data.y,i.data._order=t.data.order,i.data._rank=t.data.rank,(null===(n=e.getChildren(r.id))||void 0===n?void 0:n.length)&&(i.data.width=t.data.width,i.data.height=t.data.height)}}),t.getAllEdges().forEach(r=>{let n=t.getEdge(r.id),i=e.getEdge(r.id);n.data.points=i?i.data.points:[],i&&i.data.hasOwnProperty("x")&&(n.data.x=i.data.x,n.data.y=i.data.y)})},eo=["width","height","layer","fixorder"],es={width:0,height:0},ea=["minlen","weight","width","height","labeloffset"],eu={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},ed=["labelpos"],el=t=>{let e=new i.k({tree:[]});return t.getAllNodes().forEach(r=>{let n=eM(t.getNode(r.id).data),i=Object.assign(Object.assign({},es),n),o=eN(i,eo);e.hasNode(r.id)||e.addNode({id:r.id,data:Object.assign({},o)});let s=t.hasTreeStructure("combo")?t.getParent(r.id,"combo"):t.getParent(r.id);null!=s&&(e.hasNode(s.id)||e.addNode(Object.assign({},s)),e.setParent(r.id,s.id))}),t.getAllEdges().forEach(r=>{let n=eM(t.getEdge(r.id).data),i={};null==ed||ed.forEach(t=>{void 0!==n[t]&&(i[t]=n[t])}),e.addEdge({id:r.id,source:r.source,target:r.target,data:Object.assign({},eu,eN(n,ea),i)})}),e},eh=(t,e)=>{let{ranksep:r=0,rankdir:n}=e;return t.getAllNodes().forEach(t=>{isNaN(t.data.layer)||t.data.layer||(t.data.layer=0)}),t.getAllEdges().forEach(t=>{var e;t.data.minlen*=2,(null===(e=t.data.labelpos)||void 0===e?void 0:e.toLowerCase())!=="c"&&("TB"===n||"BT"===n?t.data.width+=t.data.labeloffset:t.data.height+=t.data.labeloffset)}),r/2},ec=t=>{t.getAllEdges().forEach(e=>{if(e.data.width&&e.data.height){let r=t.getNode(e.source),n=t.getNode(e.target),i={e,rank:(n.data.rank-r.data.rank)/2+r.data.rank};x(t,"edge-proxy",i,"_ep")}})},ef=t=>{let e=0;return t.getAllNodes().forEach(r=>{var n,i;r.data.borderTop&&(r.data.minRank=null===(n=t.getNode(r.data.borderTop))||void 0===n?void 0:n.data.rank,r.data.maxRank=null===(i=t.getNode(r.data.borderBottom))||void 0===i?void 0:i.data.rank,e=Math.max(e,r.data.maxRank||-1/0))}),e},eg=t=>{t.getAllNodes().forEach(e=>{"edge-proxy"===e.data.dummy&&(t.getEdge(e.data.e.id).data.labelRank=e.data.rank,t.removeNode(e.id))})},ep=(t,e)=>{let r,n;let i=0,o=0,{marginx:s=0,marginy:a=0}=e||{},u=t=>{if(!t.data)return;let e=t.data.x,s=t.data.y,a=t.data.width,u=t.data.height;isNaN(e)||isNaN(a)||(void 0===r&&(r=e-a/2),r=Math.min(r,e-a/2),i=Math.max(i,e+a/2)),isNaN(s)||isNaN(u)||(void 0===n&&(n=s-u/2),n=Math.min(n,s-u/2),o=Math.max(o,s+u/2))};return t.getAllNodes().forEach(t=>{u(t)}),t.getAllEdges().forEach(t=>{(null==t?void 0:t.data.hasOwnProperty("x"))&&u(t)}),r-=s,n-=a,t.getAllNodes().forEach(t=>{t.data.x-=r,t.data.y-=n}),t.getAllEdges().forEach(t=>{var e;null===(e=t.data.points)||void 0===e||e.forEach(t=>{t.x-=r,t.y-=n}),t.data.hasOwnProperty("x")&&(t.data.x-=r),t.data.hasOwnProperty("y")&&(t.data.y-=n)}),{width:i-r+s,height:o-n+a}},em=t=>{t.getAllEdges().forEach(e=>{let r,n;let i=t.getNode(e.source),o=t.getNode(e.target);e.data.points?(r=e.data.points[0],n=e.data.points[e.data.points.length-1]):(e.data.points=[],r={x:o.data.x,y:o.data.y},n={x:i.data.x,y:i.data.y}),e.data.points.unshift(M(i.data,r)),e.data.points.push(M(o.data,n))})},ev=t=>{t.getAllEdges().forEach(t=>{if(t.data.hasOwnProperty("x"))switch(("l"===t.data.labelpos||"r"===t.data.labelpos)&&(t.data.width-=t.data.labeloffset),t.data.labelpos){case"l":t.data.x-=t.data.width/2+t.data.labeloffset;break;case"r":t.data.x+=t.data.width/2+t.data.labeloffset}})},ey=t=>{t.getAllEdges().forEach(t=>{var e;t.data.reversed&&(null===(e=t.data.points)||void 0===e||e.reverse())})},ew=t=>{t.getAllNodes().forEach(e=>{var r,n,i;if(null===(r=t.getChildren(e.id))||void 0===r?void 0:r.length){let r=t.getNode(e.id),o=t.getNode(r.data.borderTop),s=t.getNode(r.data.borderBottom),a=t.getNode(r.data.borderLeft[(null===(n=r.data.borderLeft)||void 0===n?void 0:n.length)-1]),u=t.getNode(r.data.borderRight[(null===(i=r.data.borderRight)||void 0===i?void 0:i.length)-1]);r.data.width=Math.abs((null==u?void 0:u.data.x)-(null==a?void 0:a.data.x))||10,r.data.height=Math.abs((null==s?void 0:s.data.y)-(null==o?void 0:o.data.y))||10,r.data.x=((null==a?void 0:a.data.x)||0)+r.data.width/2,r.data.y=((null==o?void 0:o.data.y)||0)+r.data.height/2}}),t.getAllNodes().forEach(e=>{"border"===e.data.dummy&&t.removeNode(e.id)})},ex=t=>{t.getAllEdges().forEach(e=>{if(e.source===e.target){let r=t.getNode(e.source);r.data.selfEdges||(r.data.selfEdges=[]),r.data.selfEdges.push(e),t.removeEdge(e.id)}})},eb=t=>{let e=_(t);null==e||e.forEach(e=>{let r=0;null==e||e.forEach((e,n)=>{var i;let o=t.getNode(e);o.data.order=n+r,null===(i=o.data.selfEdges)||void 0===i||i.forEach(e=>{x(t,"selfedge",{width:e.data.width,height:e.data.height,rank:o.data.rank,order:n+ ++r,e:e},"_se")}),delete o.data.selfEdges})})},eE=t=>{t.getAllNodes().forEach(e=>{let r=t.getNode(e.id);if("selfedge"===r.data.dummy){let n=t.getNode(r.data.e.source),i=n.data.x+n.data.width/2,o=n.data.y,s=r.data.x-i,a=n.data.height/2;t.hasEdge(r.data.e.id)?t.updateEdgeData(r.data.e.id,r.data.e.data):t.addEdge({id:r.data.e.id,source:r.data.e.source,target:r.data.e.target,data:r.data.e.data}),t.removeNode(e.id),r.data.e.data.points=[{x:i+2*s/3,y:o-a},{x:i+5*s/6,y:o-a},{y:o,x:i+s},{x:i+5*s/6,y:o+a},{x:i+2*s/3,y:o+a}],r.data.e.data.x=r.data.x,r.data.e.data.y=r.data.y}})},eN=(t,e)=>{let r={};return null==e||e.forEach(e=>{void 0!==t[e]&&(r[e]=+t[e])}),r},eM=(t={})=>{let e={};return Object.keys(t).forEach(r=>{e[r.toLowerCase()]=t[r]}),e};var e_=r(78732),ek=r(98130);let eA={rankdir:"TB",nodesep:50,ranksep:50,edgeLabelSpace:!0,ranker:"tight-tree",controlPoints:!1,radial:!1,focusNode:null};class eS{constructor(t={}){this.options=t,this.id="antv-dagre",this.options=Object.assign(Object.assign({},eA),t)}execute(t,e){return(0,n.mG)(this,void 0,void 0,function*(){return this.genericDagreLayout(!1,t,e)})}assign(t,e){return(0,n.mG)(this,void 0,void 0,function*(){yield this.genericDagreLayout(!0,t,e)})}genericDagreLayout(t,e,r){return(0,n.mG)(this,void 0,void 0,function*(){let n;let s=Object.assign(Object.assign({},this.options),r),{nodeSize:a,align:u,rankdir:d="TB",ranksep:l,nodesep:h,ranksepFunc:c,nodesepFunc:f,edgeLabelSpace:g,ranker:p,nodeOrder:m,begin:v,controlPoints:y,radial:w,sortByCombo:x,preset:b}=s,E=new i.k({tree:[]}),N=(0,e_.jE)(l||50,c),M=(0,e_.jE)(h||50,f),_=M,k=N;("LR"===d||"RL"===d)&&(_=N,k=M);let A=(0,e_.gl)(a,void 0),S=e.getAllNodes(),j=e.getAllEdges();S.forEach(t=>{let e=A(t),r=k(t),n=_(t),i=e+2*n,s=e+2*r,a=t.data.layer;(0,o.Z)(a)?E.addNode({id:t.id,data:{width:i,height:s,layer:a}}):E.addNode({id:t.id,data:{width:i,height:s}})}),x&&(E.attachTreeStructure("combo"),S.forEach(t=>{let{parentId:e}=t.data;void 0!==e&&E.hasNode(e)&&E.setParent(t.id,e,"combo")})),j.forEach(t=>{E.addEdge({id:t.id,source:t.source,target:t.target,data:{weight:t.data.weight||1}})}),(null==b?void 0:b.length)&&(n=new i.k({nodes:b})),ee(E,{prevGraph:n,edgeLabelSpace:g,keepNodeOrder:!!m,nodeOrder:m||[],acyclicer:"greedy",ranker:p,rankdir:d,nodesep:h,align:u});let O=[0,0];if(v){let t=1/0,e=1/0;E.getAllNodes().forEach(r=>{t>r.data.x&&(t=r.data.x),e>r.data.y&&(e=r.data.y)}),E.getAllEdges().forEach(r=>{var n;null===(n=r.data.points)||void 0===n||n.forEach(r=>{t>r.x&&(t=r.x),e>r.y&&(e=r.y)})}),O[0]=v[0]-t,O[1]=v[1]-e}let R="LR"===d||"RL"===d;if(w);else{let t=new Set,e="BT"===d||"RL"===d;E.getAllNodes().forEach(e=>{e.data.x=e.data.x+O[0],e.data.y=e.data.y+O[1],t.add(R?e.data.x:e.data.y)});let r=Array.from(t).sort(e?(t,e)=>e-t:(t,e)=>t-e),n=R?(t,e)=>t.x!==e.x:(t,e)=>t.y!==e.y,i=R?(t,e,r)=>{let n=Math.max(e.y,r.y),i=Math.min(e.y,r.y);return t.filter(t=>t.y<=n&&t.y>=i)}:(t,e,r)=>{let n=Math.max(e.x,r.x),i=Math.min(e.x,r.x);return t.filter(t=>t.x<=n&&t.x>=i)};E.getAllEdges().forEach((t,e)=>{var o;g&&y&&"loop"!==t.data.type&&(t.data.controlPoints=ej(null===(o=t.data.points)||void 0===o?void 0:o.map(({x:t,y:e})=>({x:t+O[0],y:e+O[1]})),E.getNode(t.source),E.getNode(t.target),r,R,n,i))})}let z=[];z=E.getAllNodes().map(t=>(0,ek.u)(t));let I=E.getAllEdges();t&&(z.forEach(t=>{e.mergeNodeData(t.id,{x:t.data.x,y:t.data.y})}),I.forEach(t=>{e.mergeEdgeData(t.id,{controlPoints:t.data.controlPoints})}));let C={nodes:z,edges:I};return C})}}let ej=(t,e,r,n,i,o,s)=>{let a=(null==t?void 0:t.slice(1,t.length-1))||[];if(e&&r){let{x:t,y:u}=e.data,{x:d,y:l}=r.data;if(i&&(t=e.data.y,u=e.data.x,d=r.data.y,l=r.data.x),l!==u&&t!==d){let h=n.indexOf(u),c=n[h+1];if(c){let t=a[0],e=i?{x:(u+c)/2,y:(null==t?void 0:t.y)||d}:{x:(null==t?void 0:t.x)||d,y:(u+c)/2};(!t||o(t,e))&&a.unshift(e)}let f=n.indexOf(l),g=Math.abs(f-h);if(1===g)(a=s(a,e.data,r.data)).length||a.push(i?{x:(u+l)/2,y:t}:{x:t,y:(u+l)/2});else if(g>1){let e=n[f-1];if(e){let r=a[a.length-1],n=i?{x:(l+e)/2,y:(null==r?void 0:r.y)||d}:{x:(null==r?void 0:r.x)||t,y:(l+e)/2};(!r||o(r,n))&&a.push(n)}}}}return a}},63795:function(t,e,r){"use strict";r.d(e,{S:function(){return u}});var n=r(97582),i=r(78732),o=r(98130),s=r(20464);let a={radius:null,startRadius:null,endRadius:null,startAngle:0,endAngle:2*Math.PI,clockwise:!0,divisions:1,ordering:null,angleRatio:1};class u{constructor(t={}){this.options=t,this.id="circular",this.options=Object.assign(Object.assign({},a),t)}execute(t,e){return(0,n.mG)(this,void 0,void 0,function*(){return this.genericCircularLayout(!1,t,e)})}assign(t,e){return(0,n.mG)(this,void 0,void 0,function*(){yield this.genericCircularLayout(!0,t,e)})}genericCircularLayout(t,e,r){return(0,n.mG)(this,void 0,void 0,function*(){let n=Object.assign(Object.assign({},this.options),r),{width:a,height:u,center:h,divisions:c,startAngle:f=0,endAngle:g=2*Math.PI,angleRatio:p,ordering:m,clockwise:v,nodeSpacing:y,nodeSize:w}=n,x=e.getAllNodes(),b=e.getAllEdges(),[E,N,M]=l(a,u,h),_=null==x?void 0:x.length;if(!_||1===_)return(0,s.P)(e,t,M);let{radius:k,startRadius:A,endRadius:S}=n;if(y){let t=(0,i.jE)(10,y),e=(0,i.tO)(10,w),r=-1/0;x.forEach(t=>{let n=e(t);r{0===i?n+=r||10:n+=(t(e)||0)+(r||10)}),k=n/(2*Math.PI)}else k||A||S?!A&&S?A=S:A&&!S&&(S=A):k=Math.min(N,E)/2;let j=(g-f)/_*p,O=[];O="topology"===m?d(e,x):"topology-directed"===m?d(e,x,!0):"degree"===m?function(t,e){let r=[];return e.forEach((t,e)=>{r.push((0,o.u)(t))}),r.sort((e,r)=>t.getDegree(e.id,"both")-t.getDegree(r.id,"both")),r}(e,x):x.map(t=>(0,o.u)(t));let R=Math.ceil(_/c);for(let t=0;t<_;++t){let e=k;e||null===A||null===S||(e=A+t*(S-A)/(_-1)),e||(e=10+100*t/(_-1));let r=f+t%R*j+2*Math.PI/c*Math.floor(t/R);v||(r=g-t%R*j-2*Math.PI/c*Math.floor(t/R)),O[t].data.x=M[0]+Math.cos(r)*e,O[t].data.y=M[1]+Math.sin(r)*e}t&&O.forEach(t=>{e.mergeNodeData(t.id,{x:t.data.x,y:t.data.y})});let z={nodes:O,edges:b};return z})}}let d=(t,e,r=!1)=>{let n=[(0,o.u)(e[0])],i={},s=e.length;i[e[0].id]=!0;let a=0;return e.forEach((u,d)=>{if(0!==d){if((d===s-1||t.getDegree(u.id,"both")!==t.getDegree(e[d+1].id,"both")||t.areNeighbors(n[a].id,u.id))&&!i[u.id])n.push((0,o.u)(u)),i[u.id]=!0,a++;else{let d=r?t.getSuccessors(n[a].id):t.getNeighbors(n[a].id),l=!1;for(let e=0;e{let n=t,i=e,o=r;return n||"undefined"==typeof window||(n=window.innerWidth),i||"undefined"==typeof window||(i=window.innerHeight),o||(o=[n/2,i/2]),[n,i,o]}},39233:function(t,e,r){"use strict";r.d(e,{u:function(){return m}});var n=r(97582),i=r(72137),o=r(61035),s=r(38027),a=r(97653),u=r(5192),d=r(12368),l=r(64912),h=r(80628),c=r(85087),f=r(20464);let g={gForce:!0,force2:!0,d3force:!0,fruchterman:!0,forceAtlas2:!0,force:!0,"graphin-force":!0},p={center:[0,0],comboPadding:10,treeKey:"combo"};class m{constructor(t={}){this.options=t,this.id="comboCombined",this.options=Object.assign(Object.assign({},p),t)}execute(t,e){return(0,n.mG)(this,void 0,void 0,function*(){return this.genericComboCombinedLayout(!1,t,e)})}assign(t,e){return(0,n.mG)(this,void 0,void 0,function*(){yield this.genericComboCombinedLayout(!0,t,e)})}genericComboCombinedLayout(t,e,r){return(0,n.mG)(this,void 0,void 0,function*(){let n;let o=this.initVals(Object.assign(Object.assign({},this.options),r)),{center:s,treeKey:a,outerLayout:c}=o,p=e.getAllNodes().filter(t=>!t.data._isCombo),m=e.getAllNodes().filter(t=>t.data._isCombo),v=e.getAllEdges(),y=null==p?void 0:p.length;if(!y||1===y)return(0,f.P)(e,t,s);let w=[],x=new Map;p.forEach(t=>{x.set(t.id,t)});let b=new Map;m.forEach(t=>{b.set(t.id,t)});let E=new Map,N=this.getInnerGraphs(e,a,x,b,v,o,E);yield Promise.all(N);let M=new Map,_=[],k=new Map,A=!0;e.getRoots(a).forEach(t=>{let r=E.get(t.id),n=b.get(t.id)||x.get(t.id),i={id:t.id,data:Object.assign(Object.assign({},t.data),{x:r.data.x||n.data.x,y:r.data.y||n.data.y,fx:r.data.fx||n.data.fx,fy:r.data.fy||n.data.fy,mass:r.data.mass||n.data.mass,size:r.data.size})};_.push(i),M.set(t.id,!0),isNaN(i.data.x)||0===i.data.x||isNaN(i.data.y)||0===i.data.y?(i.data.x=100*Math.random(),i.data.y=100*Math.random()):A=!1,(0,h._)(e,[t],e=>{e.id!==t.id&&k.set(e.id,t.id)},"TB",a)});let S=[];if(v.forEach(t=>{let e=k.get(t.source)||t.source,r=k.get(t.target)||t.target;e!==r&&M.has(e)&&M.has(r)&&S.push({id:t.id,source:e,target:r,data:{}})}),null==_?void 0:_.length){if(1===_.length)_[0].data.x=s[0],_[0].data.y=s[1];else{let t=new i.k({nodes:_,edges:S}),e=c||new d.y;if(A&&g[e.id]){let e=_.length<100?new l.A:new u.W;yield e.assign(t)}n=yield e.execute(t,Object.assign({center:s,kg:5,preventOverlap:!0,animate:!1},"force"===e.id?{gravity:1,factor:4,linkDistance:(t,e,r)=>{let n=Math.max(...e.data.size)||32,i=Math.max(...r.data.size)||32;return n/2+i/2+200}}:{}))}E.forEach(t=>{var e;let r=n.nodes.find(e=>e.id===t.id);if(r){let{x:e,y:n}=r.data;t.data.visited=!0,t.data.x=e,t.data.y=n,w.push({id:t.id,data:{x:e,y:n}})}let{x:i,y:o}=t.data;null===(e=t.data.nodes)||void 0===e||e.forEach(t=>{w.push({id:t.id,data:{x:t.data.x+i,y:t.data.y+o}})})}),E.forEach(({data:t})=>{let{x:e,y:r,visited:n,nodes:i}=t;null==i||i.forEach(t=>{if(!n){let n=w.find(e=>e.id===t.id);n.data.x+=e||0,n.data.y+=r||0}})})}return t&&w.forEach(t=>{e.mergeNodeData(t.id,{x:t.data.x,y:t.data.y})}),{nodes:w,edges:v}})}initVals(t){let e,r,n;let i=Object.assign({},t),{nodeSize:u,spacing:d,comboPadding:l}=t;if(r=(0,o.Z)(d)?()=>d:(0,s.Z)(d)?d:()=>0,i.spacing=r,u){if((0,s.Z)(u))e=t=>{let e=u(t),n=r(t);if((0,c.k)(t.size)){let e=t.size[0]>t.size[1]?t.size[0]:t.size[1];return(e+n)/2}return((e||32)+n)/2};else if((0,c.k)(u)){let t=u[0]>u[1]?u[0]:u[1],n=t/2;e=t=>n+r(t)/2}else{let t=u/2;e=e=>t+r(e)/2}}else e=t=>{let e=r(t);if(t.size){if((0,c.k)(t.size)){let r=t.size[0]>t.size[1]?t.size[0]:t.size[1];return(r+e)/2}if((0,a.Z)(t.size)){let r=t.size.width>t.size.height?t.size.width:t.size.height;return(r+e)/2}return(t.size+e)/2}return 32+e/2};return i.nodeSize=e,n=(0,o.Z)(l)?()=>l:(0,c.k)(l)?()=>Math.max.apply(null,l):(0,s.Z)(l)?l:()=>0,i.comboPadding=n,i}getInnerGraphs(t,e,r,s,a,d,l){let{nodeSize:f,comboPadding:g,spacing:p,innerLayout:m}=d,v=m||new u.W({}),y={center:[0,0],preventOverlap:!0,nodeSpacing:p},w=[],x=t=>{let e=(null==g?void 0:g(t))||10;return(0,c.k)(e)&&(e=Math.max(...e)),{size:e?[2*e,2*e]:[30,30],padding:e}};return t.getRoots(e).forEach(u=>{l.set(u.id,{id:u.id,data:{nodes:[],size:x(u).size}});let d=Promise.resolve();(0,h._)(t,[u],u=>{var c;if(!u.data._isCombo)return;let{size:g,padding:p}=x(u);if(null===(c=t.getChildren(u.id,e))||void 0===c?void 0:c.length){let c=l.get(u.id);l.set(u.id,{id:u.id,data:Object.assign({nodes:[]},null==c?void 0:c.data)});let g=new Map,m=t.getChildren(u.id,e).map(t=>{if(t.data._isCombo)return l.has(t.id)||l.set(t.id,{id:t.id,data:Object.assign({},t.data)}),g.set(t.id,!0),l.get(t.id);let e=r.get(t.id)||s.get(t.id);return g.set(t.id,!0),{id:t.id,data:Object.assign(Object.assign({},e.data),t.data)}}),w={nodes:m,edges:a.filter(t=>g.has(t.source)&&g.has(t.target))},x=1/0;m.forEach(t=>{var e;let{size:r}=t.data;r||(r=(null===(e=l.get(t.id))||void 0===e?void 0:e.data.size)||(null==f?void 0:f(t))||[30,30]),(0,o.Z)(r)&&(r=[r,r]);let[n,i]=r;x>n&&(x=n),x>i&&(x=i),t.data.size=r}),d=d.then(()=>(0,n.mG)(this,void 0,void 0,function*(){let t=new i.k(w),e=yield v.assign(t,y),{minX:r,minY:n,maxX:o,maxY:s}=(0,h.H0)(m),a={x:(o+r)/2,y:(s+n)/2};w.nodes.forEach(t=>{t.data.x-=a.x,t.data.y-=a.y});let d=[Math.max(o-r,x)+2*p,Math.max(s-n,x)+2*p];return l.get(u.id).data.size=d,l.get(u.id).data.nodes=m,e}))}else l.set(u.id,{id:u.id,data:Object.assign(Object.assign({},u.data),{size:g})});return!0},"BT",e),w.push(d)}),w}}},5192:function(t,e,r){"use strict";r.d(e,{W:function(){return c}});var n=r(97582),i=r(38027),o=r(61035),s=r(97653),a=r(52940),u=r(85087),d=r(98130),l=r(20464);let h={nodeSize:30,nodeSpacing:10,preventOverlap:!1,sweep:void 0,equidistant:!1,startAngle:1.5*Math.PI,clockwise:!0,maxLevelDiff:void 0,sortBy:"degree"};class c{constructor(t={}){this.options=t,this.id="concentric",this.options=Object.assign(Object.assign({},h),t)}execute(t,e){return(0,n.mG)(this,void 0,void 0,function*(){return this.genericConcentricLayout(!1,t,e)})}assign(t,e){return(0,n.mG)(this,void 0,void 0,function*(){yield this.genericConcentricLayout(!0,t,e)})}genericConcentricLayout(t,e,r){return(0,n.mG)(this,void 0,void 0,function*(){let n;let h=Object.assign(Object.assign({},this.options),r),{center:c,width:f,height:g,sortBy:p,maxLevelDiff:m,sweep:v,clockwise:y,equidistant:w,preventOverlap:x,startAngle:b=1.5*Math.PI,nodeSize:E,nodeSpacing:N}=h,M=e.getAllNodes(),_=e.getAllEdges(),k=f||"undefined"==typeof window?f:window.innerWidth,A=g||"undefined"==typeof window?g:window.innerHeight,S=c||[k/2,A/2];if(!(null==M?void 0:M.length)||1===M.length)return(0,l.P)(e,t,S);let j=[],O=0;(0,u.k)(E)?n=Math.max(E[0],E[1]):(0,i.Z)(E)?(n=-1/0,M.forEach(t=>{let e=E(t);e>n&&(n=e)})):n=E,(0,u.k)(N)?O=Math.max(N[0],N[1]):(0,o.Z)(N)&&(O=N),M.forEach(t=>{let e=(0,d.u)(t);j.push(e);let r=n,{data:a}=e;(0,u.k)(a.size)?r=Math.max(a.size[0],a.size[1]):(0,o.Z)(a.size)?r=a.size:(0,s.Z)(a.size)&&(r=Math.max(a.size.width,a.size.height)),n=Math.max(n,r),(0,i.Z)(N)&&(O=Math.max(N(t),O))});let R={};j.forEach((t,e)=>{R[t.id]=e});let z=p;(0,a.Z)(z)&&void 0!==j[0].data[z]||(z="degree"),"degree"===z?j.sort((t,r)=>e.getDegree(r.id,"both")-e.getDegree(t.id,"both")):j.sort((t,e)=>e.data[z]-t.data[z]);let I=j[0],C=(m||("degree"===z?e.getDegree(I.id,"both"):I.data[z]))/4,D=[{nodes:[]}],P=D[0];j.forEach(t=>{if(P.nodes.length>0){let r="degree"===z?Math.abs(e.getDegree(P.nodes[0].id,"both")-e.getDegree(t.id,"both")):Math.abs(P.nodes[0].data[z]-t.data[z]);C&&r>=C&&(P={nodes:[]},D.push(P))}P.nodes.push(t)});let T=n+O;if(!x){let t=D.length>0&&D[0].nodes.length>1,e=Math.min(k,A)/2-T,r=e/(D.length+(t?1:0));T=Math.min(T,r)}let L=0;if(D.forEach(t=>{let e=void 0===v?2*Math.PI-2*Math.PI/t.nodes.length:v;if(t.dTheta=e/Math.max(1,t.nodes.length-1),t.nodes.length>1&&x){let e=Math.cos(t.dTheta)-1,r=Math.sin(t.dTheta)-0,n=Math.sqrt(T*T/(e*e+r*r));L=Math.max(n,L)}t.r=L,L+=T}),w){let t=0,e=0;for(let r=0;r{0===n&&(e=r.r||0),r.r=e,e+=t})}return D.forEach(t=>{let e=t.dTheta||0,r=t.r||0;t.nodes.forEach((t,n)=>{let i=b+(y?1:-1)*e*n;t.data.x=S[0]+r*Math.cos(i),t.data.y=S[1]+r*Math.sin(i)})}),t&&j.forEach(t=>e.mergeNodeData(t.id,{x:t.data.x,y:t.data.y})),{nodes:j,edges:_}})}}},63330:function(t,e,r){"use strict";r.d(e,{j:function(){return _}});var n=r(97582),i=r(59145),o=r(19782),s=function(t){if(!("object"==typeof t&&null!==t)||!(0,o.Z)(t,"Object"))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e},a=function(t){for(var e=[],r=1;ru.index){var p=d-a.x-a.vx,m=l-a.y-a.vy,y=p*p+m*m;yd+g||ol+g||st.r&&(t.r=t[e].r)}function u(){if(e){var n,i,o=e.length;for(n=0,r=Array(o);nt.id},manyBody:{},center:{x:0,y:0}},this.context={options:{},assign:!1,nodes:[],edges:[]},a(this.options,t),this.options.forceSimulation&&(this.simulation=this.options.forceSimulation)}execute(t,e){return(0,n.mG)(this,void 0,void 0,function*(){return this.genericLayout(!1,t,e)})}assign(t,e){return(0,n.mG)(this,void 0,void 0,function*(){yield this.genericLayout(!0,t,e)})}stop(){this.simulation.stop()}tick(t){return this.simulation.tick(t),this.getResult()}restart(){this.simulation.restart()}setFixedPosition(t,e){let r=this.context.nodes.find(e=>e.id===t);r&&e.forEach((t,e)=>{if("number"==typeof t||null===t){let n=["fx","fy","fz"][e];r[n]=t}})}getOptions(t){var e,r;let n=a({},this.options,t);return n.collide&&(null===(e=n.collide)||void 0===e?void 0:e.radius)===void 0&&(n.collide=n.collide||{},n.collide.radius=null!==(r=n.nodeSize)&&void 0!==r?r:10),void 0===n.iterations&&(n.link&&void 0===n.link.iterations&&(n.iterations=n.link.iterations),n.collide&&void 0===n.collide.iterations&&(n.iterations=n.collide.iterations)),this.context.options=n,n}genericLayout(t,e,r){var i;return(0,n.mG)(this,void 0,void 0,function*(){let n=this.getOptions(r),o=e.getAllNodes().map(({id:t,data:e})=>Object.assign({id:t,data:e},h(e,this.config.inputNodeAttrs))),s=e.getAllEdges().map(t=>Object.assign({},t));Object.assign(this.context,{assign:t,nodes:o,edges:s,graph:e});let a=new Promise(t=>{this.resolver=t}),u=this.setSimulation(n);return u.nodes(o),null===(i=u.force("link"))||void 0===i||i.links(s),a})}getResult(){let{assign:t,nodes:e,edges:r,graph:n}=this.context,i=e.map(t=>({id:t.id,data:Object.assign(Object.assign({},t.data),h(t,this.config.outputNodeAttrs))})),o=r.map(({id:t,source:e,target:r,data:n})=>({id:t,source:"object"==typeof e?e.id:e,target:"object"==typeof r?r.id:r,data:n}));return t&&i.forEach(t=>n.mergeNodeData(t.id,t.data)),{nodes:i,edges:o}}initSimulation(){return(0,M.Z)()}setSimulation(t){let e=this.simulation||this.options.forceSimulation||this.initSimulation();return this.simulation||(this.simulation=e.on("tick",()=>{var e;return null===(e=t.onTick)||void 0===e?void 0:e.call(t,this.getResult())}).on("end",()=>{var t;return null===(t=this.resolver)||void 0===t?void 0:t.call(this,this.getResult())})),k(e,this.config.simulationAttrs.map(e=>[e,t[e]])),Object.entries(this.forceMap).forEach(([r,n])=>{if(t[r]){let i=e.force(r);i||(i=n(),e.force(r,i)),k(i,Object.entries(t[r]))}else e.force(r,null)}),e}}let k=(t,e)=>e.reduce((e,[r,n])=>e[r]&&void 0!==n?e[r].call(t,n):e,t)},51712:function(t,e,r){"use strict";r.d(e,{V:function(){return u}});var n=r(97582),i=r(61035),o=r(38027),s=r(70681),a=r.n(s);class u{constructor(t){this.id="dagre",this.options={},Object.assign(this.options,u.defaultOptions,t)}execute(t,e){return(0,n.mG)(this,void 0,void 0,function*(){return this.genericDagreLayout(!1,t,Object.assign(Object.assign({},this.options),e))})}assign(t,e){return(0,n.mG)(this,void 0,void 0,function*(){yield this.genericDagreLayout(!0,t,Object.assign(Object.assign({},this.options),e))})}genericDagreLayout(t,e,r){return(0,n.mG)(this,void 0,void 0,function*(){let{nodeSize:u}=r,d=new s.graphlib.Graph;d.setGraph(r),d.setDefaultEdgeLabel(()=>({}));let l=e.getAllNodes(),h=e.getAllEdges();[...l,...h].some(({id:t})=>(0,i.Z)(t))&&console.error("Dagre layout only support string id, it will convert number to string."),e.getAllNodes().forEach(t=>{let{id:e}=t,r=Object.assign({},t.data);if(void 0!==u){let[e,n]=function(t){if(!t)return[0,0,0];if((0,i.Z)(t))return[t,t,t];if(0===t.length)return[0,0,0];let[e,r=e,n=e]=t;return[e,r,n]}((0,o.Z)(u)?u(t):u);Object.assign(r,{width:e,height:n})}d.setNode(e.toString(),r)}),e.getAllEdges().forEach(({id:t,source:e,target:r})=>{d.setEdge(e.toString(),r.toString(),{id:t})}),a().layout(d);let c={nodes:[],edges:[]};return d.nodes().forEach(r=>{let n=d.node(r);c.nodes.push({id:r,data:n}),t&&e.mergeNodeData(r,n)}),d.edges().forEach(r=>{let i=d.edge(r),{id:o}=i,s=(0,n._T)(i,["id"]),{v:a,w:u}=r;c.edges.push({id:o,source:a,target:u,data:s}),t&&e.mergeEdgeData(o,s)}),c})}}u.defaultOptions={}},12368:function(t,e,r){"use strict";r.d(e,{y:function(){return p}});var n=r(97582),i=r(72137),o=r(61035),s=r(97653),a=r(38027),u=r(78732),d=r(85087),l=r(47148),h=r(33953);function c(t){let e=0,r=0,n=0,i=0,o=0,s=t.length;if(s){for(let a=0;a{var a;if((null===(a=t.data)||void 0===a?void 0:a.id)===o.id)return;let u=[r,n,i][s-1],d=o.x-t.x||.1,l=o.y-t.y||.1,h=o.z-t.z||.1,c=[d,l,h],f=u-e,g=0;for(let t=0;tthis.lastOptions.minMovement||e<1)&&ethis.lastGraph.mergeNodeData(t.id,{x:t.data.x,y:t.data.y,z:3===this.options.dimensions?t.data.z:void 0})),e}genericForceLayout(t,e,r){return(0,n.mG)(this,void 0,void 0,function*(){let n=Object.assign(Object.assign({},this.options),r),s=e.getAllNodes(),a=e.getAllEdges(),u=this.formatOptions(n,e),{dimensions:d,width:l,height:h,nodeSize:c,getMass:f,nodeStrength:g,edgeStrength:p,linkDistance:m}=u,v=s.map((t,e)=>Object.assign(Object.assign({},t),{data:Object.assign(Object.assign({},t.data),{x:(0,o.Z)(t.data.x)?t.data.x:Math.random()*l,y:(0,o.Z)(t.data.y)?t.data.y:Math.random()*h,z:(0,o.Z)(t.data.z)?t.data.z:Math.random()*Math.sqrt(l*h),size:c(t)||30,mass:f(t),nodeStrength:g(t)})})),y=a.map(t=>Object.assign(Object.assign({},t),{data:Object.assign(Object.assign({},t.data),{edgeStrength:p(t),linkDistance:m(t,e.getNode(t.source),e.getNode(t.target))})}));if(!(null==s?void 0:s.length))return this.lastResult={nodes:[],edges:a},{nodes:[],edges:a};let w={};s.forEach((t,e)=>{w[t.id]={x:0,y:0,z:0}});let b=new i.k({nodes:v,edges:y});this.formatCentripetal(u,b);let{maxIteration:E,minMovement:N,onTick:M}=u;if(this.lastLayoutNodes=v,this.lastLayoutEdges=y,this.lastAssign=t,this.lastGraph=e,this.lastCalcGraph=b,this.lastOptions=u,this.lastVelMap=w,"undefined"==typeof window)return;let _=0;return new Promise(r=>{this.timeInterval=window.setInterval(()=>{s&&this.running||r({nodes:x(e,v),edges:a}),this.runOneStep(b,e,_,w,u),this.updatePosition(e,b,w,u),t&&v.forEach(t=>e.mergeNodeData(t.id,{x:t.data.x,y:t.data.y,z:3===d?t.data.z:void 0})),null==M||M({nodes:x(e,v),edges:a}),(++_>=E||this.judgingDistance{let r=1;(0,o.Z)(null==t?void 0:t.data.mass)&&(r=null==t?void 0:t.data.mass);let n=e.getDegree(t.id,"both");return!n||n<5?r:5*n*r});let f=(0,u.jE)(0,t.nodeSpacing);r=c?(0,a.Z)(c)?t=>c(t)+f(t):(0,d.k)(c)?t=>Math.max(c[0],c[1])+f(t):t=>c+f(t):t=>{let{size:e}=(null==t?void 0:t.data)||{};return e?(0,d.k)(e)?Math.max(e[0],e[1])+f(t):(0,s.Z)(e)?Math.max(e.width,e.height)+f(t):e+f(t):10+f(t)},n.nodeSize=r;let g=t.linkDistance?(0,u.jE)(1,t.linkDistance):t=>1+n.nodeSize(e.getNode(t.source))+n.nodeSize(e.getNode(t.target));return n.linkDistance=g,n.nodeStrength=(0,u.jE)(1,t.nodeStrength),n.edgeStrength=(0,u.jE)(1,t.edgeStrength),n}formatCentripetal(t,e){let r,n;let{dimensions:i,centripetalOptions:o,center:s,clusterNodeStrength:a,leafCluster:u,clustering:d,nodeClusterBy:l}=t,h=e.getAllNodes(),c=o||{leaf:2,single:2,others:1,center:t=>({x:s[0],y:s[1],z:3===i?s[2]:void 0})};if("function"!=typeof a&&(t.clusterNodeStrength=t=>a),u&&l&&(r=m(e,l),n=Array.from(new Set(null==h?void 0:h.map(t=>t.data[l])))||[],t.centripetalOptions=Object.assign(c,{single:100,leaf:e=>{let{siblingLeaves:i,sameTypeLeaves:o}=r[e.id]||{};return(null==o?void 0:o.length)===(null==i?void 0:i.length)||(null==n?void 0:n.length)===1?1:t.clusterNodeStrength(e)},others:1,center:t=>{let n;let i=e.getDegree(t.id,"both");if(!i)return{x:100,y:100,z:0};if(1===i){let{sameTypeLeaves:e=[]}=r[t.id]||{};1===e.length?n=void 0:e.length>1&&(n=w(e))}else n=void 0;return{x:null==n?void 0:n.x,y:null==n?void 0:n.y,z:null==n?void 0:n.z}}})),d&&l){r||(r=m(e,l)),n||(n=Array.from(new Set(h.map(t=>t.data[l])))),n=n.filter(t=>void 0!==t);let i={};n.forEach(t=>{let r=h.filter(e=>e.data[l]===t).map(t=>e.getNode(t.id));i[t]=w(r)}),t.centripetalOptions=Object.assign(c,{single:e=>t.clusterNodeStrength(e),leaf:e=>t.clusterNodeStrength(e),others:e=>t.clusterNodeStrength(e),center:t=>{let e=i[t.data[l]];return{x:null==e?void 0:e.x,y:null==e?void 0:e.y,z:null==e?void 0:e.z}}})}let{leaf:f,single:g,others:p}=t.centripetalOptions||{};f&&"function"!=typeof f&&(t.centripetalOptions.leaf=()=>f),g&&"function"!=typeof g&&(t.centripetalOptions.single=()=>g),p&&"function"!=typeof p&&(t.centripetalOptions.others=()=>p)}runOneStep(t,e,r,n,i){let o={},s=t.getAllNodes(),a=t.getAllEdges();if(!(null==s?void 0:s.length))return;let{monitor:u}=i;if(this.calRepulsive(t,o,i),a&&this.calAttractive(t,o,i),this.calGravity(t,e,o,i),this.updateVelocity(t,o,n,i),u){let t=this.calTotalEnergy(o,s);u({energy:t,nodes:e.getAllNodes(),edges:e.getAllEdges(),iterations:r})}}calTotalEnergy(t,e){if(!(null==e?void 0:e.length))return 0;let r=0;return e.forEach((e,n)=>{let i=t[e.id].x,o=t[e.id].y,s=3===this.options.dimensions?t[e.id].z:0,{mass:a=1}=e.data;r+=a*(i*i+o*o+s*s)*.5}),r}calRepulsive(t,e,r){let{dimensions:n,factor:i,coulombDisScale:o}=r;!function(t,e,r,n,i=2){let o=e/r,s=t.getAllNodes(),a=s.map((t,e)=>{let{nodeStrength:r,x:n,y:i,z:s,size:a}=t.data;return{x:n,y:i,z:s,size:a,index:e,id:t.id,vx:0,vy:0,vz:0,weight:o*r}}),u=(2===i?(0,l.Z)(a,t=>t.x,t=>t.y):(0,h.Z)(a,t=>t.x,t=>t.y,t=>t.z)).visitAfter(c),d=new Map;a.forEach(t=>{d.set(t.id,t),function(t,e,r){e.visit((e,n,i,o,s)=>f(e,n,i,o,s,t,r))}(t,u,i)}),a.map((t,e)=>{let{id:r,data:i}=s[e],{mass:o=1}=i;n[r]={x:t.vx/o,y:t.vy/o,z:t.vz/o}})}(t,i,o*o,e,n)}calAttractive(t,e,r){let{dimensions:n,nodeSize:i}=r;t.getAllEdges().forEach((r,o)=>{let{source:s,target:a}=r,u=t.getNode(s),d=t.getNode(a);if(!u||!d)return;let l=d.data.x-u.data.x,h=d.data.y-u.data.y,c=3===n?d.data.z-u.data.z:0;l||h||(l=.01*Math.random(),h=.01*Math.random(),3!==n||c||(c=.01*Math.random()));let f=Math.sqrt(l*l+h*h+c*c);if(f{let{id:s,data:g}=n,{mass:p,x:m,y:v,z:y}=g,w=e.getNode(s),x=0,b=0,E=0,N=c,M=t.getDegree(s,"in"),_=t.getDegree(s,"out"),k=t.getDegree(s,"both"),A=null==i?void 0:i(w,k);if(A){let[t,e,r]=A;x=m-t,b=v-e,N=r}else x=m-h[0],b=v-h[1],E=y-h[2];if(N&&(r[s].x-=N*x/p,r[s].y-=N*b/p,r[s].z-=N*E/p),f){let{leaf:t,single:e,others:n,center:i}=f,{x:h,y:c,z:g,centerStrength:x}=(null==i?void 0:i(w,a,u,d,l))||{x:0,y:0,z:0,centerStrength:0};if(!(0,o.Z)(h)||!(0,o.Z)(c))return;let b=(m-h)/p,E=(v-c)/p,N=(y-g)/p;if(x&&(r[s].x-=x*b,r[s].y-=x*E,r[s].z-=x*N),0===k){let t=e(w);if(!t)return;r[s].x-=t*b,r[s].y-=t*E,r[s].z-=t*N;return}if(0===M||0===_){let e=t(w,a,u);if(!e)return;r[s].x-=e*b,r[s].y-=e*E,r[s].z-=e*N;return}let A=n(w);if(!A)return;r[s].x-=A*b,r[s].y-=A*E,r[s].z-=A*N}})}updateVelocity(t,e,r,n){let{damping:i,maxSpeed:o,interval:s,dimensions:a}=n,u=t.getAllNodes();(null==u?void 0:u.length)&&u.forEach(t=>{let{id:n}=t,u=(r[n].x+e[n].x*s)*i||.01,d=(r[n].y+e[n].y*s)*i||.01,l=3===a?(r[n].z+e[n].z*s)*i||.01:0,h=Math.sqrt(u*u+d*d+l*l);if(h>o){let t=o/h;u*=t,d*=t,l*=t}r[n]={x:u,y:d,z:l}})}updatePosition(t,e,r,n){let{distanceThresholdMode:i,interval:s,dimensions:a}=n,u=e.getAllNodes();if(!(null==u?void 0:u.length)){this.judgingDistance=0;return}let d=0;"max"===i?this.judgingDistance=-1/0:"min"===i&&(this.judgingDistance=1/0),u.forEach(n=>{let{id:u}=n,l=t.getNode(u);if((0,o.Z)(l.data.fx)&&(0,o.Z)(l.data.fy)){e.mergeNodeData(u,{x:l.data.fx,y:l.data.fy,z:3===a?l.data.fz:void 0});return}let h=r[u].x*s,c=r[u].y*s,f=3===a?r[u].z*s:0;e.mergeNodeData(u,{x:n.data.x+h,y:n.data.y+c,z:n.data.z+f});let g=Math.sqrt(h*h+c*c+f*f);switch(i){case"max":this.judgingDistanceg&&(this.judgingDistance=g);break;default:d+=g}}),i&&"mean"!==i||(this.judgingDistance=d/u.length)}}let m=(t,e)=>{let r=t.getAllNodes();if(!(null==r?void 0:r.length))return{};let n={};return r.forEach((r,i)=>{let o=t.getDegree(r.id,"both");1===o&&(n[r.id]=v(t,"leaf",r,e))}),n},v=(t,e,r,n)=>{let i=t.getDegree(r.id,"in"),o=t.getDegree(r.id,"out"),s=r,a=[];0===i?(s=t.getSuccessors(r.id)[0],a=t.getNeighbors(s.id)):0===o&&(s=t.getPredecessors(r.id)[0],a=t.getNeighbors(s.id)),a=a.filter(e=>0===t.getDegree(e.id,"in")||0===t.getDegree(e.id,"out"));let u=y(t,e,n,r,a);return{coreNode:s,siblingLeaves:a,sameTypeLeaves:u}},y=(t,e,r,n,i)=>{let o=n.data[r]||"",s=(null==i?void 0:i.filter(t=>t.data[r]===o))||[];return"leaf"===e&&(s=s.filter(e=>0===t.getDegree(e.id,"in")||0===t.getDegree(e.id,"out"))),s},w=t=>{let e={x:0,y:0};t.forEach(t=>{let{x:r,y:n}=t.data;e.x+=r||0,e.y+=n||0});let r=t.length||1;return{x:e.x/r,y:e.y/r}},x=(t,e)=>e.map(e=>{let{id:r,data:n}=e,i=t.getNode(r);return Object.assign(Object.assign({},i),{data:Object.assign(Object.assign({},i.data),{x:n.x,y:n.y,z:n.z})})})},67753:function(t,e,r){"use strict";r.d(e,{E:function(){return p}});var n=r(97582),i=r(72137),o=r(61035),s=r(97653),a=r(38027),u=r(98130),d=r(85087),l=r(20464);class h{constructor(t){this.id=t.id||0,this.rx=t.rx,this.ry=t.ry,this.fx=0,this.fy=0,this.mass=t.mass,this.degree=t.degree,this.g=t.g||0}distanceTo(t){let e=this.rx-t.rx,r=this.ry-t.ry;return Math.hypot(e,r)}setPos(t,e){this.rx=t,this.ry=e}resetForce(){this.fx=0,this.fy=0}addForce(t){let e=t.rx-this.rx,r=t.ry-this.ry,n=Math.hypot(e,r);n=n<1e-4?1e-4:n;let i=this.g*(this.degree+1)*(t.degree+1)/n;this.fx+=i*e/n,this.fy+=i*r/n}in(t){return t.contains(this.rx,this.ry)}add(t){let e=this.mass+t.mass,r=(this.rx*this.mass+t.rx*t.mass)/e,n=(this.ry*this.mass+t.ry*t.mass)/e,i=this.degree+t.degree;return new h({rx:r,ry:n,mass:e,degree:i})}}class c{constructor(t){this.xmid=t.xmid,this.ymid=t.ymid,this.length=t.length,this.massCenter=t.massCenter||[0,0],this.mass=t.mass||1}getLength(){return this.length}contains(t,e){let r=this.length/2;return t<=this.xmid+r&&t>=this.xmid-r&&e<=this.ymid+r&&e>=this.ymid-r}NW(){let t=this.xmid-this.length/4,e=this.ymid+this.length/4,r=this.length/2,n=new c({xmid:t,ymid:e,length:r});return n}NE(){let t=this.xmid+this.length/4,e=this.ymid+this.length/4,r=this.length/2,n=new c({xmid:t,ymid:e,length:r});return n}SW(){let t=this.xmid-this.length/4,e=this.ymid-this.length/4,r=this.length/2,n=new c({xmid:t,ymid:e,length:r});return n}SE(){let t=this.xmid+this.length/4,e=this.ymid-this.length/4,r=this.length/2,n=new c({xmid:t,ymid:e,length:r});return n}}class f{constructor(t){this.body=null,this.quad=null,this.NW=null,this.NE=null,this.SW=null,this.SE=null,this.theta=.5,null!=t&&(this.quad=t)}insert(t){if(null==this.body){this.body=t;return}this._isExternal()?(this.quad&&(this.NW=new f(this.quad.NW()),this.NE=new f(this.quad.NE()),this.SW=new f(this.quad.SW()),this.SE=new f(this.quad.SE())),this._putBody(this.body),this._putBody(t),this.body=this.body.add(t)):(this.body=this.body.add(t),this._putBody(t))}_putBody(t){this.quad&&(t.in(this.quad.NW())&&this.NW?this.NW.insert(t):t.in(this.quad.NE())&&this.NE?this.NE.insert(t):t.in(this.quad.SW())&&this.SW?this.SW.insert(t):t.in(this.quad.SE())&&this.SE&&this.SE.insert(t))}_isExternal(){return null==this.NW&&null==this.NE&&null==this.SW&&null==this.SE}updateForce(t){if(null!=this.body&&t!==this.body){if(this._isExternal())t.addForce(this.body);else{let e=this.quad?this.quad.getLength():0,r=this.body.distanceTo(t);e/r(0,u.u)(t,[a,d])),m=n.filter(t=>{let{source:e,target:r}=t;return e!==r}),v=new i.k({nodes:p,edges:m}),y=this.getSizes(v,e,f);if(this.run(v,e,c,y,t,s),h){for(let t=0;t250&&(r.barnesHut=!0),void 0===a&&e>100&&(r.prune=!0),0!==u||a?0===u&&a&&(r.maxIteration=100,e<=200&&e>100?r.maxIteration=500:e>200&&(r.maxIteration=950)):(r.maxIteration=250,e<=200&&e>100?r.maxIteration=1e3:e>200&&(r.maxIteration=1200)),!d&&(r.kr=50,e>100&&e<=500?r.kr=20:e>500&&(r.kr=1)),!l&&(r.kg=20,e>100&&e<=500?r.kg=10:e>500&&(r.kg=1)),r}run(t,e,r,n,i,o){let{kr:s,barnesHut:a,onTick:u}=o,d=t.getAllNodes(),l=0,c=r,f={},g={},p={};for(let e=0;e0;)l=this.oneStep(t,{iter:c,preventOverlapIters:50,krPrime:100,sg:l,forces:f,preForces:g,bodies:p,sizes:n},o),c--,null==u||u({nodes:d,edges:e.getAllEdges()});return t}oneStep(t,e,r){let{iter:n,preventOverlapIters:i,krPrime:o,sg:s,preForces:a,bodies:u,sizes:d}=e,{forces:l}=e,{preventOverlap:h,barnesHut:c}=r,f=t.getAllNodes();for(let t=0;ti||!h)?this.getOptRepGraForces(t,l,u,r):this.getRepGraForces(t,n,i,l,o,d,r),this.updatePos(t,l,a,s,r)}getAttrForces(t,e,r,n,i,o){let{preventOverlap:s,dissuadeHubs:a,mode:u,prune:d}=o,l=t.getAllEdges();for(let o=0;o0&&(w=y,x=y),i[h][0]+=w*v[0],i[c][0]-=x*v[0],i[h][1]+=w*v[1],i[c][1]-=x*v[1]}return i}getOptRepGraForces(t,e,r,n){let{kg:i,center:o,prune:s}=n,a=t.getAllNodes(),u=a.length,d=9e10,l=-9e10,h=9e10,g=-9e10;for(let e=0;e=t.getDegree(n))&&(r[n].setPos(i.x,i.y),i.x>=l&&(l=i.x),i.x<=d&&(d=i.x),i.y>=g&&(g=i.y),i.y<=h&&(h=i.y))}let p=Math.max(l-d,g-h),m={xmid:(l+d)/2,ymid:(g+h)/2,length:p,massCenter:o,mass:u},v=new c(m),y=new f(v);for(let e=0;e=t.getDegree(n))&&r[n].in(v)&&y.insert(r[n])}for(let n=0;n0&&(v=u*(p+1)*(l+1)/m),n[g.id][0]-=v*f[0],n[s.id][0]+=v*f[0],n[g.id][1]-=v*f[1],n[s.id][1]+=v*f[1]}let m=[g.data.x-l[0],g.data.y-l[1]],v=Math.hypot(m[0],m[1]);m[0]=m[0]/v,m[1]=m[1]/v;let y=d*(p+1);n[g.id][0]-=y*m[0],n[g.id][1]-=y*m[1]}return n}updatePos(t,e,r,n,i){let{ks:s,tao:a,prune:u,ksmax:d}=i,l=t.getAllNodes(),h=l.length,c=[],f=[],g=0,p=0,m=n;for(let n=0;n1.5*v?1.5*v:m);for(let r=0;rg?g:h;let p=h*e[n][0],v=h*e[n][1];t.mergeNodeData(n,{x:i.x+p,y:i.y+v})}return m}}},89469:function(t,e,r){"use strict";r.d(e,{O:function(){return u}});var n=r(97582),i=r(72137),o=r(61035),s=r(98130);let a={maxIteration:1e3,gravity:10,speed:5,clustering:!1,clusterGravity:10,width:300,height:300,nodeClusterBy:"cluster"};class u{constructor(t={}){this.options=t,this.id="fruchterman",this.timeInterval=0,this.running=!1,this.options=Object.assign(Object.assign({},a),t)}execute(t,e){return(0,n.mG)(this,void 0,void 0,function*(){return this.genericFruchtermanLayout(!1,t,e)})}assign(t,e){return(0,n.mG)(this,void 0,void 0,function*(){yield this.genericFruchtermanLayout(!0,t,e)})}stop(){this.timeInterval&&"undefined"!=typeof window&&window.clearInterval(this.timeInterval),this.running=!1}tick(t=this.options.maxIteration||1){if(this.lastResult)return this.lastResult;for(let e=0;ethis.lastGraph.mergeNodeData(t.id,{x:t.data.x,y:t.data.y,z:3===this.options.dimensions?t.data.z:void 0})),e}genericFruchtermanLayout(t,e,r){return(0,n.mG)(this,void 0,void 0,function*(){if(this.running)return;let n=this.formatOptions(r),{dimensions:o,width:a,height:u,center:d,clustering:l,nodeClusterBy:h,maxIteration:c,onTick:f}=n,g=e.getAllNodes(),p=e.getAllEdges();if(!(null==g?void 0:g.length)){let t={nodes:[],edges:p};return this.lastResult=t,t}if(1===g.length){t&&e.mergeNodeData(g[0].id,{x:d[0],y:d[1],z:3===o?d[2]:void 0});let r={nodes:[Object.assign(Object.assign({},g[0]),{data:Object.assign(Object.assign({},g[0].data),{x:d[0],y:d[1],z:3===o?d[2]:void 0})})],edges:p};return this.lastResult=r,r}let m=g.map(t=>(0,s.u)(t,[a,u])),v=new i.k({nodes:m,edges:p}),y={};if(l&&m.forEach(t=>{let e=t.data[h];y[e]||(y[e]={name:e,cx:0,cy:0,count:0})}),this.lastLayoutNodes=m,this.lastLayoutEdges=p,this.lastAssign=t,this.lastGraph=v,this.lastOptions=n,this.lastClusterMap=y,"undefined"==typeof window)return;let w=0;return new Promise(r=>{this.timeInterval=window.setInterval(()=>{if(!this.running){r({nodes:m,edges:p});return}this.runOneStep(v,y,n),t&&m.forEach(({id:t,data:r})=>e.mergeNodeData(t,{x:r.x,y:r.y,z:3===o?r.z:void 0})),null==f||f({nodes:m,edges:p}),++w>=c&&(window.clearInterval(this.timeInterval),r({nodes:m,edges:p}))},0),this.running=!0})})}formatOptions(t={}){let e=Object.assign(Object.assign({},this.options),t),{clustering:r,nodeClusterBy:n}=e,{center:i,width:o,height:s}=e;return e.width=o||"undefined"==typeof window?o:window.innerWidth,e.height=s||"undefined"==typeof window?s:window.innerHeight,e.center=i||[e.width/2,e.height/2],e.clustering=r&&!!n,e}runOneStep(t,e,r){let{dimensions:n,height:i,width:s,gravity:a,center:u,speed:d,clustering:l,nodeClusterBy:h,clusterGravity:c}=r,f=i*s,g=Math.sqrt(f)/10,p=t.getAllNodes(),m=f/(p.length+1),v=Math.sqrt(m),y={};if(this.applyCalculate(t,y,v,m),l){for(let t in e)e[t].cx=0,e[t].cy=0,e[t].count=0;for(let t in p.forEach(t=>{let{data:r}=t,n=e[r[h]];(0,o.Z)(r.x)&&(n.cx+=r.x),(0,o.Z)(r.y)&&(n.cy+=r.y),n.count++}),e)e[t].cx/=e[t].count,e[t].cy/=e[t].count;let t=c||a;p.forEach((r,n)=>{let{id:i,data:s}=r;if(!(0,o.Z)(s.x)||!(0,o.Z)(s.y))return;let a=e[s[h]],u=Math.sqrt((s.x-a.cx)*(s.x-a.cx)+(s.y-a.cy)*(s.y-a.cy)),d=v*t;y[i].x-=d*(s.x-a.cx)/u,y[i].y-=d*(s.y-a.cy)/u})}p.forEach((t,e)=>{let{id:r,data:i}=t;if(!(0,o.Z)(i.x)||!(0,o.Z)(i.y))return;let s=.01*v*a;y[r].x-=s*(i.x-u[0]),y[r].y-=s*(i.y-u[1]),3===n&&(y[r].z-=s*(i.z-u[2]))}),p.forEach((e,r)=>{let{id:i,data:s}=e;if((0,o.Z)(s.fx)&&(0,o.Z)(s.fy)){s.x=s.fx,s.y=s.fy,3===n&&(s.z=s.fz);return}if(!(0,o.Z)(s.x)||!(0,o.Z)(s.y))return;let a=Math.sqrt(y[i].x*y[i].x+y[i].y*y[i].y+(3===n?y[i].z*y[i].z:0));if(a>0){let e=Math.min(g*(d/800),a);t.mergeNodeData(i,{x:s.x+y[i].x/a*e,y:s.y+y[i].y/a*e,z:3===n?s.z+y[i].z/a*e:void 0})}})}applyCalculate(t,e,r,n){this.calRepulsive(t,e,n),this.calAttractive(t,e,r)}calRepulsive(t,e,r){let n=t.getAllNodes();n.forEach(({data:t,id:i},s)=>{e[i]={x:0,y:0,z:0},n.forEach(({data:n,id:a},u)=>{if(s<=u||!(0,o.Z)(t.x)||!(0,o.Z)(n.x)||!(0,o.Z)(t.y)||!(0,o.Z)(n.y))return;let d=t.x-n.x,l=t.y-n.y,h=3===this.options.dimensions?t.z-n.z:0,c=d*d+l*l+h*h;0===c&&(c=1,d=.01,l=.01,h=.01);let f=r/c,g=d*f,p=l*f,m=h*f;e[i].x+=g,e[i].y+=p,e[a].x-=g,e[a].y-=p,3===this.options.dimensions&&(e[i].z+=m,e[a].z-=m)})})}calAttractive(t,e,r){let n=t.getAllEdges();n.forEach(n=>{let{source:i,target:s}=n;if(!i||!s||i===s)return;let{data:a}=t.getNode(i),{data:u}=t.getNode(s);if(!(0,o.Z)(u.x)||!(0,o.Z)(a.x)||!(0,o.Z)(u.y)||!(0,o.Z)(a.y))return;let d=u.x-a.x,l=u.y-a.y,h=3===this.options.dimensions?u.z-a.z:0,c=Math.sqrt(d*d+l*l+h*h)/r,f=d*c,g=l*c,p=h*c;e[i].x+=f,e[i].y+=g,e[s].x-=f,e[s].y-=g,3===this.options.dimensions&&(e[i].z+=p,e[s].z-=p)})}}},41733:function(t,e,r){"use strict";r.d(e,{M:function(){return h}});var n=r(97582),i=r(52940),o=r(61035),s=r(98130),a=r(78732),u=r(85087),d=r(20464);let l={begin:[0,0],preventOverlap:!0,preventOverlapPadding:10,condense:!1,rows:void 0,cols:void 0,position:void 0,sortBy:"degree",nodeSize:30,width:300,height:300};class h{constructor(t={}){this.options=t,this.id="grid",this.options=Object.assign(Object.assign({},l),t)}execute(t,e){return(0,n.mG)(this,void 0,void 0,function*(){return this.genericGridLayout(!1,t,e)})}assign(t,e){return(0,n.mG)(this,void 0,void 0,function*(){yield this.genericGridLayout(!0,t,e)})}genericGridLayout(t,e,r){return(0,n.mG)(this,void 0,void 0,function*(){let n=Object.assign(Object.assign({},this.options),r),{begin:l=[0,0],condense:h,preventOverlapPadding:m,preventOverlap:y,rows:w,cols:x,nodeSpacing:b,nodeSize:E,width:N,height:M,position:_}=n,{sortBy:k}=n,A=e.getAllNodes(),S=e.getAllEdges(),j=null==A?void 0:A.length;if(!j||1===j)return(0,d.P)(e,t,l);let O=A.map(t=>(0,s.u)(t));"id"===k||(0,i.Z)(k)&&void 0!==O[0].data[k]||(k="degree"),"degree"===k?O.sort((t,r)=>e.getDegree(r.id,"both")-e.getDegree(t.id,"both")):"id"===k?O.sort((t,e)=>(0,o.Z)(e.id)&&(0,o.Z)(t.id)?e.id-t.id:`${t.id}`.localeCompare(`${e.id}`)):O.sort((t,e)=>e.data[k]-t.data[k]);let R=N||"undefined"==typeof window?N:window.innerWidth,z=M||"undefined"==typeof window?M:window.innerHeight,I={rows:w,cols:x};if(null!=w&&null!=x)I.rows=w,I.cols=x;else if(null!=w&&null==x)I.rows=w,I.cols=Math.ceil(j/I.rows);else if(null==w&&null!=x)I.cols=x,I.rows=Math.ceil(j/I.cols);else{let t=Math.sqrt(j*z/R);I.rows=Math.round(t),I.cols=Math.round(R/z*t)}if(I.rows=Math.max(I.rows,1),I.cols=Math.max(I.cols,1),I.cols*I.rows>j){let t=c(I),e=f(I);(t-1)*e>=j?c(I,t-1):(e-1)*t>=j&&f(I,e-1)}else for(;I.cols*I.rows=j?f(I,e+1):c(I,t+1)}let C=h?0:R/I.cols,D=h?0:z/I.rows;if(y||b){let t=(0,a.jE)(10,b),r=(0,a.tO)(30,E,!1);O.forEach(n=>{let i,o;n.data.x&&n.data.y||(n.data.x=0,n.data.y=0);let s=e.getNode(n.id),a=r(s)||30;(0,u.k)(a)?(i=a[0],o=a[1]):(i=a,o=a);let d=void 0!==t?t(n):m,l=i+d,h=o+d;C=Math.max(C,l),D=Math.max(D,h)})}let P={},T={row:0,col:0},L={};for(let t=0;t{e.mergeNodeData(t.id,{x:t.data.x,y:t.data.y})}),{nodes:O,edges:S}})}}let c=(t,e)=>{let r;let n=t.rows||5,i=t.cols||5;return null==e?r=Math.min(n,i):Math.min(n,i)===t.rows?t.rows=e:t.cols=e,r},f=(t,e)=>{let r;let n=t.rows||5,i=t.cols||5;return null==e?r=Math.max(n,i):Math.max(n,i)===t.rows?t.rows=e:t.cols=e,r},g=(t,e)=>t[`c-${e.row}-${e.col}`]||!1,p=(t,e)=>t[`c-${e.row}-${e.col}`]=!0,m=(t,e)=>{let r=t.cols||5;e.col++,e.col>=r&&(e.col=0,e.row++)},v=(t,e,r,n,i,o,s,a)=>{let u,d;let l=i[t.id];if(l)u=l.col*r+r/2+e[0],d=l.row*n+n/2+e[1];else{for(;g(a,s);)m(o,s);u=s.col*r+r/2+e[0],d=s.row*n+n/2+e[1],p(a,s),m(o,s)}t.data.x=u,t.data.y=d}},64912:function(t,e,r){"use strict";r.d(e,{A:function(){return d}});var n=r(97582),i=r(93396),o=r(80628),s=r(98130),a=r(20464);let u={center:[0,0],linkDistance:50};class d{constructor(t={}){this.options=t,this.id="mds",this.options=Object.assign(Object.assign({},u),t)}execute(t,e){return(0,n.mG)(this,void 0,void 0,function*(){return this.genericMDSLayout(!1,t,e)})}assign(t,e){return(0,n.mG)(this,void 0,void 0,function*(){yield this.genericMDSLayout(!0,t,e)})}genericMDSLayout(t,e,r){return(0,n.mG)(this,void 0,void 0,function*(){let n=Object.assign(Object.assign({},this.options),r),{center:i=[0,0],linkDistance:u=50}=n,d=e.getAllNodes(),c=e.getAllEdges();if(!(null==d?void 0:d.length)||1===d.length)return(0,a.P)(e,t,i);let f=(0,o.zJ)({nodes:d,edges:c},!1),g=(0,o.qs)(f);l(g);let p=(0,o.nu)(g,u),m=h(p),v=[];return m.forEach((t,e)=>{let r=(0,s.u)(d[e]);r.data.x=t[0]+i[0],r.data.y=t[1]+i[1],v.push(r)}),t&&v.forEach(t=>e.mergeNodeData(t.id,{x:t.data.x,y:t.data.y})),{nodes:v,edges:c}})}}let l=t=>{let e=-999999;t.forEach(t=>{t.forEach(t=>{t!==1/0&&e{r.forEach((r,i)=>{r===1/0&&(t[n][i]=e)})})},h=t=>{let e=i.y3.mul(i.y3.pow(t,2),-.5),r=e.mean("row"),n=e.mean("column"),o=e.mean();e.add(o).subRowVector(r).subColumnVector(n);let s=new i.Sc(e),a=i.y3.sqrt(s.diagonalMatrix).diagonal();return s.leftSingularVectors.toJSON().map(t=>i.y3.mul([t],[a]).toJSON()[0].splice(0,2))}},29257:function(t,e,r){"use strict";r.d(e,{D:function(){return m}});var n=r(97582),i=r(52940),o=r(80628),s=r(78732),a=r(98130),u=r(20464),d=r(93396);let l=(t,e,r)=>{try{let r=d.y3.mul(d.y3.pow(e,2),-.5),n=r.mean("row"),i=r.mean("column"),o=r.mean();r.add(o).subRowVector(n).subColumnVector(i);let s=new d.Sc(r),a=d.y3.sqrt(s.diagonalMatrix).diagonal();return s.leftSingularVectors.toJSON().map(e=>d.y3.mul([e],[a]).toJSON()[0].splice(0,t))}catch(n){let t=[];for(let n=0;n{let r=Object.assign(Object.assign({},h),e),{positions:n,iterations:i,width:o,k:s,speed:a=100,strictRadial:u,focusIdx:d,radii:l=[],nodeSizeFunc:c}=r,p=t.getAllNodes(),m=[],v=o/10;for(let t=0;t{m[e]={x:0,y:0}}),f(p,n,m,s,l,c),g(n,m,a,u,d,v,o,l);return n},f=(t,e,r,n,i,o)=>{e.forEach((s,a)=>{r[a]={x:0,y:0},e.forEach((e,u)=>{if(a===u||i[a]!==i[u])return;let d=s.x-e.x,l=s.y-e.y,h=Math.sqrt(d*d+l*l);if(0===h){h=1;let t=a>u?1:-1;d=.01*t,l=.01*t}if(h{let u=o||s/10;return n&&e.forEach((e,r)=>{let n=t[r].x-t[i].x,o=t[r].y-t[i].y,s=Math.sqrt(n*n+o*o),a=o/s,u=-n/s,d=Math.sqrt(e.x*e.x+e.y*e.y),l=Math.acos((a*e.x+u*e.y)/d);l>Math.PI/2&&(l-=Math.PI/2,a*=-1,u*=-1);let h=Math.cos(l)*d;e.x=a*h,e.y=u*h}),t.forEach((o,s)=>{if(s===i)return;let d=Math.sqrt(e[s].x*e[s].x+e[s].y*e[s].y);if(d>0&&s!==i){let l=Math.min(u*(r/800),d);if(o.x+=e[s].x/d*l,o.y+=e[s].y/d*l,n){let e=o.x-t[i].x,r=o.y-t[i].y,n=Math.sqrt(e*e+r*r);e=e/n*a[s],r=r/n*a[s],o.x=t[i].x+e,o.y=t[i].y+r}}}),t},p={maxIteration:1e3,focusNode:null,unitRadius:null,linkDistance:50,preventOverlap:!1,strictRadial:!0,maxPreventOverlapIteration:200,sortStrength:10};class m{constructor(t={}){this.options=t,this.id="radial",this.options=Object.assign(Object.assign({},p),t)}execute(t,e){return(0,n.mG)(this,void 0,void 0,function*(){return this.genericRadialLayout(!1,t,e)})}assign(t,e){return(0,n.mG)(this,void 0,void 0,function*(){yield this.genericRadialLayout(!0,t,e)})}genericRadialLayout(t,e,r){return(0,n.mG)(this,void 0,void 0,function*(){let n;let d=Object.assign(Object.assign({},this.options),r),{width:h,height:f,center:g,focusNode:p,unitRadius:m,nodeSize:E,nodeSpacing:N,strictRadial:M,preventOverlap:_,maxPreventOverlapIteration:k,sortBy:A,linkDistance:S=50,sortStrength:j=10,maxIteration:O=1e3}=d,R=e.getAllNodes(),z=e.getAllEdges(),I=h||"undefined"==typeof window?h:window.innerWidth,C=f||"undefined"==typeof window?f:window.innerHeight,D=g||[I/2,C/2];if(!(null==R?void 0:R.length)||1===R.length)return(0,u.P)(e,t,D);let P=R[0];if((0,i.Z)(p)){for(let t=0;tD[0]?D[0]:I-D[0],V=C-D[1]>D[1]?D[1]:C-D[1];0===G&&(G=I/2),0===V&&(V=C/2);let U=Math.min(G,V),$=[],B=m||U/Math.max(...Z);Z.forEach((t,e)=>{$[e]=t*B});let W=v(R,F,S,$,B,A,j),Y=y(W),H=l(S,W,S),J=H.map(([t,e])=>({x:(isNaN(t)?Math.random()*S:t)-H[T][0],y:(isNaN(e)?Math.random()*S:e)-H[T][1]}));if(this.run(O,J,Y,W,$,T),_){n=(0,s.gl)(E,N);let t={nodes:R,nodeSizeFunc:n,positions:J,radii:$,height:C,width:I,strictRadial:!!M,focusIdx:T,iterations:k||200,k:J.length/4.5};J=c(e,t)}let K=[];return J.forEach((t,e)=>{let r=(0,a.u)(R[e]);r.data.x=t.x+D[0],r.data.y=t.y+D[1],K.push(r)}),t&&K.forEach(t=>e.mergeNodeData(t.id,{x:t.data.x,y:t.data.y})),{nodes:K,edges:z}})}run(t,e,r,n,i,o){for(let s=0;s<=t;s++){let a=s/t;this.oneIteration(a,e,i,n,r,o)}}oneIteration(t,e,r,n,i,s){let a=1-t;e.forEach((u,d)=>{let l=(0,o.$y)(u,{x:0,y:0}),h=0===l?0:1/l;if(d===s)return;let c=0,f=0,g=0;e.forEach((t,e)=>{if(d===e)return;let r=(0,o.$y)(u,t),s=0===r?0:1/r,a=n[e][d];g+=i[d][e],c+=i[d][e]*(t.x+a*(u.x-t.x)*s),f+=i[d][e]*(t.y+a*(u.y-t.y)*s)});let p=0===r[d]?0:1/r[d];g*=a,g+=t*p*p,c*=a,c+=t*p*u.x*h,u.x=c/g,f*=a,f+=t*p*u.y*h,u.y=f/g})}}let v=(t,e,r,n,o,s,a)=>{if(!t)return[];let u=[];if(e){let d={};e.forEach((e,l)=>{let h=[];e.forEach((e,u)=>{var c,f;if(l===u)h.push(0);else if(n[l]===n[u]){if("data"===s)h.push(e*(Math.abs(l-u)*a)/(n[l]/o));else if(s){let r,g;if(d[t[l].id])r=d[t[l].id];else{let e=("id"===s?t[l].id:null===(c=t[l].data)||void 0===c?void 0:c[s])||0;r=(0,i.Z)(e)?e.charCodeAt(0):e,d[t[l].id]=r}if(d[t[u].id])g=d[t[u].id];else{let e=("id"===s?t[u].id:null===(f=t[u].data)||void 0===f?void 0:f[s])||0;g=(0,i.Z)(e)?e.charCodeAt(0):e,d[t[u].id]=g}h.push(e*(Math.abs(r-g)*a)/(n[l]/o))}else h.push(e*r/(n[l]/o))}else{let t=(r+o)/2;h.push(e*t)}}),u.push(h)})}return u},y=t=>{let e=t.length,r=t[0].length,n=[];for(let i=0;i{let r=-1;return t.forEach((t,n)=>{t.id===e&&(r=n)}),Math.max(r,0)},x=(t,e,r)=>{let n=t.length;for(let i=0;i{let r=0;for(let n=0;nr?t[e][n]:r);return r}},26629:function(t,e,r){"use strict";r.d(e,{_:function(){return o}});var n=r(97582);let i={center:[0,0],width:300,height:300};class o{constructor(t={}){this.options=t,this.id="random",this.options=Object.assign(Object.assign({},i),t)}execute(t,e){return(0,n.mG)(this,void 0,void 0,function*(){return this.genericRandomLayout(!1,t,e)})}assign(t,e){return(0,n.mG)(this,void 0,void 0,function*(){yield this.genericRandomLayout(!0,t,e)})}genericRandomLayout(t,e,r){return(0,n.mG)(this,void 0,void 0,function*(){let n=Object.assign(Object.assign({},this.options),r),{center:i,width:o,height:s}=n,a=e.getAllNodes(),u=o||"undefined"==typeof window?o:window.innerWidth,d=s||"undefined"==typeof window?s:window.innerHeight,l=i||[u/2,d/2],h=[];a&&a.forEach(t=>{h.push({id:t.id,data:{x:(Math.random()-.5)*.9*u+l[0],y:(Math.random()-.5)*.9*d+l[1]}})}),t&&h.forEach(t=>e.mergeNodeData(t.id,{x:t.data.x,y:t.data.y}));let c={nodes:h,edges:e.getAllEdges()};return c})}}},10779:function(t,e,r){"use strict";function n(t){return!!t.tick&&!!t.stop}r.d(e,{h:function(){return n}})},85087:function(t,e,r){"use strict";r.d(e,{k:function(){return n}});let n=Array.isArray},20464:function(t,e,r){"use strict";r.d(e,{P:function(){return n}});let n=(t,e,r)=>{let n=t.getAllNodes(),i=t.getAllEdges();if(!(null==n?void 0:n.length))return{nodes:[],edges:i};if(1===n.length){e&&t.mergeNodeData(n[0].id,{x:r[0],y:r[1]});let o={nodes:[Object.assign(Object.assign({},n[0]),{data:Object.assign(Object.assign({},n[0].data),{x:r[0],y:r[1]})})],edges:i};return o}}},78732:function(t,e,r){"use strict";r.d(e,{gl:function(){return u},jE:function(){return s},tO:function(){return a}});var n=r(38027),i=r(61035),o=r(97653);function s(t,e){return(0,n.Z)(e)?e:(0,i.Z)(e)?()=>e:()=>t}function a(t,e,r=!0){return e||0===e?(0,n.Z)(e)?e:(0,i.Z)(e)?()=>e:Array.isArray(e)?()=>{if(r){let r=Math.max(...e);return isNaN(r)?t:r}return e}:(0,o.Z)(e)?()=>{if(r){let r=Math.max(e.width,e.height);return isNaN(r)?t:r}return[e.width,e.height]}:()=>t:e=>{let{size:r}=e.data||{};return r?Array.isArray(r)?r[0]>r[1]?r[0]:r[1]:(0,o.Z)(r)?r.width>r.height?r.width:r.height:r:t}}let u=(t,e)=>{let r;return r=(0,i.Z)(e)?()=>e:(0,n.Z)(e)?e:()=>0,t?Array.isArray(t)?e=>{let n=t[0]>t[1]?t[0]:t[1];return n+r(e)}:(0,n.Z)(t)?t:e=>t+r(e):t=>{var e,n;if(null===(e=t.data)||void 0===e?void 0:e.bboxSize)return Math.max(t.data.bboxSize[0],t.data.bboxSize[1])+r(t);if(null===(n=t.data)||void 0===n?void 0:n.size){if(Array.isArray(t.data.size))return Math.max(t.data.size[0],t.data.size[1])+r(t);let e=t.data.size;if((0,o.Z)(e)){let n=e.width>e.height?e.width:e.height;return n+r(t)}return e+r(t)}return 10+r(t)}}},80628:function(t,e,r){"use strict";r.d(e,{$y:function(){return d},H0:function(){return u},_:function(){return l},nu:function(){return a},qs:function(){return o},zJ:function(){return s}});var n=r(61035),i=r(85087);let o=t=>{let e=[],r=t.length;for(let n=0;ne[n][t]+e[t][i]&&(e[n][i]=e[n][t]+e[t][i]);return e},s=(t,e)=>{let{nodes:r,edges:n}=t,i=[],o={};if(!r)throw Error("invalid nodes data!");return r&&r.forEach((t,e)=>{o[t.id]=e,i.push([])}),null==n||n.forEach(t=>{let{source:r,target:n}=t,s=o[r],a=o[n];void 0===s||void 0===a||(i[s][a]=1,e||(i[a][s]=1))}),i},a=(t,e)=>{let r=[];return t.forEach(t=>{let n=[];t.forEach(t=>{n.push(t*e)}),r.push(n)}),r},u=t=>{let e=1/0,r=1/0,o=-1/0,s=-1/0;return t.forEach(t=>{let a=t.data.size;(0,i.k)(a)?1===a.length&&(a=[a[0],a[0]]):(0,n.Z)(a)?a=[a,a]:(void 0===a||isNaN(a))&&(a=[30,30]);let u=[a[0]/2,a[1]/2],d=t.data.x-u[0],l=t.data.x+u[0],h=t.data.y-u[1],c=t.data.y+u[1];e>d&&(e=d),r>h&&(r=h),oMath.sqrt((t.x-e.x)*(t.x-e.x)+(t.y-e.y)*(t.y-e.y)),l=(t,e,r,n="TB",i,o={})=>{if(!(null==e?void 0:e.length))return;let{stopBranchFn:s,stopAllFn:a}=o;for(let u=0;u{if(null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof Array){let e=[];return t.forEach(t=>{e.push(t)}),e.map(t=>i(t))}if("object"==typeof t){let e={};return Object.keys(t).forEach(r=>{e[r]=i(t[r])}),e}return t},o=(t,e)=>{let r=i(t);return r.data=r.data||{},e&&((0,n.Z)(r.data.x)||(r.data.x=Math.random()*e[0]),(0,n.Z)(r.data.y)||(r.data.y=Math.random()*e[1])),r}},59145:function(t,e,r){"use strict";var n=r(19782);e.Z=function(t){return Array.isArray?Array.isArray(t):(0,n.Z)(t,"Array")}},38027:function(t,e){"use strict";e.Z=function(t){return"function"==typeof t}},61035:function(t,e,r){"use strict";var n=r(19782);e.Z=function(t){return(0,n.Z)(t,"Number")}},97653:function(t,e){"use strict";e.Z=function(t){var e=typeof t;return null!==t&&"object"===e||"function"===e}},52940:function(t,e,r){"use strict";var n=r(19782);e.Z=function(t){return(0,n.Z)(t,"String")}},19782:function(t,e){"use strict";var r={}.toString;e.Z=function(t,e){return r.call(t)==="[object "+e+"]"}},70681:function(t,e,r){t.exports={graphlib:r(70574),layout:r(98123),debug:r(27570),util:{time:r(11138).time,notime:r(11138).notime},version:r(88177)}},92188:function(t,e,r){"use strict";var n=r(38436),i=r(74079);t.exports={run:function(t){var e,r,o,s="greedy"===t.graph().acyclicer?i(t,function(e){return t.edge(e).weight}):(e=[],r={},o={},n.forEach(t.nodes(),function i(s){n.has(o,s)||(o[s]=!0,r[s]=!0,n.forEach(t.outEdges(s),function(t){n.has(r,t.w)?e.push(t):i(t.w)}),delete r[s])}),e);n.forEach(s,function(e){var r=t.edge(e);t.removeEdge(e),r.forwardName=e.name,r.reversed=!0,t.setEdge(e.w,e.v,r,n.uniqueId("rev"))})},undo:function(t){n.forEach(t.edges(),function(e){var r=t.edge(e);if(r.reversed){t.removeEdge(e);var n=r.forwardName;delete r.reversed,delete r.forwardName,t.setEdge(e.w,e.v,r,n)}})}}},61133:function(t,e,r){var n=r(38436),i=r(11138);function o(t,e,r,n,o,s){var a=o[e][s-1],u=i.addDummyNode(t,"border",{width:0,height:0,rank:s,borderType:e},r);o[e][s]=u,t.setParent(u,n),a&&t.setEdge(a,u,{weight:1})}t.exports=function(t){n.forEach(t.children(),function e(r){var i=t.children(r),s=t.node(r);if(i.length&&n.forEach(i,e),n.has(s,"minRank")){s.borderLeft=[],s.borderRight=[];for(var a=s.minRank,u=s.maxRank+1;a=t.nodeCount())return[];var r,d,l,h,c,f,g=(r=e||s,d=new i,l=0,h=0,n.forEach(t.nodes(),function(t){d.setNode(t,{v:t,in:0,out:0})}),n.forEach(t.edges(),function(t){var e=d.edge(t.v,t.w)||0,n=r(t),i=e+n;d.setEdge(t.v,t.w,i),h=Math.max(h,d.node(t.v).out+=n),l=Math.max(l,d.node(t.w).in+=n)}),c=n.range(h+l+3).map(function(){return new o}),f=l+1,n.forEach(d.nodes(),function(t){u(c,f,d.node(t))}),{graph:d,buckets:c,zeroIdx:f}),p=function(t,e,r){for(var n,i=[],o=e[e.length-1],s=e[0];t.nodeCount();){for(;n=s.dequeue();)a(t,e,r,n);for(;n=o.dequeue();)a(t,e,r,n);if(t.nodeCount()){for(var u=e.length-2;u>0;--u)if(n=e[u].dequeue()){i=i.concat(a(t,e,r,n,!0));break}}}return i}(g.graph,g.buckets,g.zeroIdx);return n.flatten(n.map(p,function(e){return t.outEdges(e.v,e.w)}),!0)};var s=n.constant(1);function a(t,e,r,i,o){var s=o?[]:void 0;return n.forEach(t.inEdges(i.v),function(n){var i=t.edge(n),a=t.node(n.v);o&&s.push({v:n.v,w:n.w}),a.out-=i,u(e,r,a)}),n.forEach(t.outEdges(i.v),function(n){var i=t.edge(n),o=n.w,s=t.node(o);s.in-=i,u(e,r,s)}),t.removeNode(i.v),s}function u(t,e,r){r.out?r.in?t[r.out-r.in+e].enqueue(r):t[t.length-1].enqueue(r):t[0].enqueue(r)}},98123:function(t,e,r){"use strict";var n=r(38436),i=r(92188),o=r(45995),s=r(78093),a=r(11138).normalizeRanks,u=r(24219),d=r(11138).removeEmptyRanks,l=r(72981),h=r(61133),c=r(53258),f=r(53408),g=r(17873),p=r(11138),m=r(70574).Graph;t.exports=function(t,e){var r=e&&e.debugTiming?p.time:p.notime;r("layout",function(){var e=r(" buildLayoutGraph",function(){var e,r;return e=new m({multigraph:!0,compound:!0}),r=k(t.graph()),e.setGraph(n.merge({},y,_(r,v),n.pick(r,w))),n.forEach(t.nodes(),function(r){var i=k(t.node(r));e.setNode(r,n.defaults(_(i,x),b)),e.setParent(r,t.parent(r))}),n.forEach(t.edges(),function(r){var i=k(t.edge(r));e.setEdge(r,n.merge({},N,_(i,E),n.pick(i,M)))}),e});r(" runLayout",function(){r(" makeSpaceForEdgeLabels",function(){var t;t=e.graph(),t.ranksep/=2,n.forEach(e.edges(),function(r){var n=e.edge(r);n.minlen*=2,"c"!==n.labelpos.toLowerCase()&&("TB"===t.rankdir||"BT"===t.rankdir?n.width+=n.labeloffset:n.height+=n.labeloffset)})}),r(" removeSelfEdges",function(){n.forEach(e.edges(),function(t){if(t.v===t.w){var r=e.node(t.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e:t,label:e.edge(t)}),e.removeEdge(t)}})}),r(" acyclic",function(){i.run(e)}),r(" nestingGraph.run",function(){l.run(e)}),r(" rank",function(){s(p.asNonCompoundGraph(e))}),r(" injectEdgeLabelProxies",function(){n.forEach(e.edges(),function(t){var r=e.edge(t);if(r.width&&r.height){var n=e.node(t.v),i={rank:(e.node(t.w).rank-n.rank)/2+n.rank,e:t};p.addDummyNode(e,"edge-proxy",i,"_ep")}})}),r(" removeEmptyRanks",function(){d(e)}),r(" nestingGraph.cleanup",function(){l.cleanup(e)}),r(" normalizeRanks",function(){a(e)}),r(" assignRankMinMax",function(){var t;t=0,n.forEach(e.nodes(),function(r){var i=e.node(r);i.borderTop&&(i.minRank=e.node(i.borderTop).rank,i.maxRank=e.node(i.borderBottom).rank,t=n.max(t,i.maxRank))}),e.graph().maxRank=t}),r(" removeEdgeLabelProxies",function(){n.forEach(e.nodes(),function(t){var r=e.node(t);"edge-proxy"===r.dummy&&(e.edge(r.e).labelRank=r.rank,e.removeNode(t))})}),r(" normalize.run",function(){o.run(e)}),r(" parentDummyChains",function(){u(e)}),r(" addBorderSegments",function(){h(e)}),r(" order",function(){f(e)}),r(" insertSelfEdges",function(){var t;t=p.buildLayerMatrix(e),n.forEach(t,function(t){var r=0;n.forEach(t,function(t,i){var o=e.node(t);o.order=i+r,n.forEach(o.selfEdges,function(t){p.addDummyNode(e,"selfedge",{width:t.label.width,height:t.label.height,rank:o.rank,order:i+ ++r,e:t.e,label:t.label},"_se")}),delete o.selfEdges})})}),r(" adjustCoordinateSystem",function(){c.adjust(e)}),r(" position",function(){g(e)}),r(" positionSelfEdges",function(){n.forEach(e.nodes(),function(t){var r=e.node(t);if("selfedge"===r.dummy){var n=e.node(r.e.v),i=n.x+n.width/2,o=n.y,s=r.x-i,a=n.height/2;e.setEdge(r.e,r.label),e.removeNode(t),r.label.points=[{x:i+2*s/3,y:o-a},{x:i+5*s/6,y:o-a},{x:i+s,y:o},{x:i+5*s/6,y:o+a},{x:i+2*s/3,y:o+a}],r.label.x=r.x,r.label.y=r.y}})}),r(" removeBorderNodes",function(){n.forEach(e.nodes(),function(t){if(e.children(t).length){var r=e.node(t),i=e.node(r.borderTop),o=e.node(r.borderBottom),s=e.node(n.last(r.borderLeft)),a=e.node(n.last(r.borderRight));r.width=Math.abs(a.x-s.x),r.height=Math.abs(o.y-i.y),r.x=s.x+r.width/2,r.y=i.y+r.height/2}}),n.forEach(e.nodes(),function(t){"border"===e.node(t).dummy&&e.removeNode(t)})}),r(" normalize.undo",function(){o.undo(e)}),r(" fixupEdgeLabelCoords",function(){n.forEach(e.edges(),function(t){var r=e.edge(t);if(n.has(r,"x"))switch(("l"===r.labelpos||"r"===r.labelpos)&&(r.width-=r.labeloffset),r.labelpos){case"l":r.x-=r.width/2+r.labeloffset;break;case"r":r.x+=r.width/2+r.labeloffset}})}),r(" undoCoordinateSystem",function(){c.undo(e)}),r(" translateGraph",function(){(function(t){var e=Number.POSITIVE_INFINITY,r=0,i=Number.POSITIVE_INFINITY,o=0,s=t.graph(),a=s.marginx||0,u=s.marginy||0;function d(t){var n=t.x,s=t.y,a=t.width,u=t.height;e=Math.min(e,n-a/2),r=Math.max(r,n+a/2),i=Math.min(i,s-u/2),o=Math.max(o,s+u/2)}n.forEach(t.nodes(),function(e){d(t.node(e))}),n.forEach(t.edges(),function(e){var r=t.edge(e);n.has(r,"x")&&d(r)}),e-=a,i-=u,n.forEach(t.nodes(),function(r){var n=t.node(r);n.x-=e,n.y-=i}),n.forEach(t.edges(),function(r){var o=t.edge(r);n.forEach(o.points,function(t){t.x-=e,t.y-=i}),n.has(o,"x")&&(o.x-=e),n.has(o,"y")&&(o.y-=i)}),s.width=r-e+a,s.height=o-i+u})(e)}),r(" assignNodeIntersects",function(){n.forEach(e.edges(),function(t){var r,n,i=e.edge(t),o=e.node(t.v),s=e.node(t.w);i.points?(r=i.points[0],n=i.points[i.points.length-1]):(i.points=[],r=s,n=o),i.points.unshift(p.intersectRect(o,r)),i.points.push(p.intersectRect(s,n))})}),r(" reversePoints",function(){n.forEach(e.edges(),function(t){var r=e.edge(t);r.reversed&&r.points.reverse()})}),r(" acyclic.undo",function(){i.undo(e)})}),r(" updateInputGraph",function(){n.forEach(t.nodes(),function(r){var n=t.node(r),i=e.node(r);n&&(n.x=i.x,n.y=i.y,e.children(r).length&&(n.width=i.width,n.height=i.height))}),n.forEach(t.edges(),function(r){var i=t.edge(r),o=e.edge(r);i.points=o.points,n.has(o,"x")&&(i.x=o.x,i.y=o.y)}),t.graph().width=e.graph().width,t.graph().height=e.graph().height})})};var v=["nodesep","edgesep","ranksep","marginx","marginy"],y={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},w=["acyclicer","ranker","rankdir","align"],x=["width","height"],b={width:0,height:0},E=["minlen","weight","width","height","labeloffset"],N={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},M=["labelpos"];function _(t,e){return n.mapValues(n.pick(t,e),Number)}function k(t){var e={};return n.forEach(t,function(t,r){e[r.toLowerCase()]=t}),e}},38436:function(t,e,r){var n;try{n={cloneDeep:r(50361),constant:r(75703),defaults:r(91747),each:r(66073),filter:r(63105),find:r(13311),flatten:r(85564),forEach:r(84486),forIn:r(62620),has:r(18721),isUndefined:r(52353),last:r(10928),map:r(35161),mapValues:r(8521),max:r(6162),merge:r(82492),min:r(53632),minBy:r(22762),now:r(7771),pick:r(78718),range:r(96026),reduce:r(54061),sortBy:r(89734),uniqueId:r(73955),values:r(52628),zipObject:r(7287)}}catch(t){}n||(n=window._),t.exports=n},72981:function(t,e,r){var n=r(38436),i=r(11138);t.exports={run:function(t){var e,r=i.addDummyNode(t,"root",{},"_root"),o=(e={},n.forEach(t.children(),function(r){!function r(i,o){var s=t.children(i);s&&s.length&&n.forEach(s,function(t){r(t,o+1)}),e[i]=o}(r,1)}),e),s=n.max(n.values(o))-1,a=2*s+1;t.graph().nestingRoot=r,n.forEach(t.edges(),function(e){t.edge(e).minlen*=a});var u=n.reduce(t.edges(),function(e,r){return e+t.edge(r).weight},0)+1;n.forEach(t.children(),function(e){(function t(e,r,o,s,a,u,d){var l=e.children(d);if(!l.length){d!==r&&e.setEdge(r,d,{weight:0,minlen:o});return}var h=i.addBorderNode(e,"_bt"),c=i.addBorderNode(e,"_bb"),f=e.node(d);e.setParent(h,d),f.borderTop=h,e.setParent(c,d),f.borderBottom=c,n.forEach(l,function(n){t(e,r,o,s,a,u,n);var i=e.node(n),l=i.borderTop?i.borderTop:n,f=i.borderBottom?i.borderBottom:n,g=i.borderTop?s:2*s,p=l!==f?1:a-u[d]+1;e.setEdge(h,l,{weight:g,minlen:p,nestingEdge:!0}),e.setEdge(f,c,{weight:g,minlen:p,nestingEdge:!0})}),e.parent(d)||e.setEdge(r,h,{weight:0,minlen:a+u[d]})})(t,r,a,u,s,o,e)}),t.graph().nodeRankFactor=a},cleanup:function(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,n.forEach(t.edges(),function(e){t.edge(e).nestingEdge&&t.removeEdge(e)})}}},45995:function(t,e,r){"use strict";var n=r(38436),i=r(11138);t.exports={run:function(t){t.graph().dummyChains=[],n.forEach(t.edges(),function(e){(function(t,e){var r,n,o,s=e.v,a=t.node(s).rank,u=e.w,d=t.node(u).rank,l=e.name,h=t.edge(e),c=h.labelRank;if(d!==a+1){for(t.removeEdge(e),o=0,++a;a0;)e%2&&(r+=u[e+1]),e=e-1>>1,u[e]+=t.weight;d+=t.weight*r})),d}(t,e[i-1],e[i]);return r}},53408:function(t,e,r){"use strict";var n=r(38436),i=r(2588),o=r(56630),s=r(61026),a=r(23128),u=r(55093),d=r(70574).Graph,l=r(11138);function h(t,e,r){return n.map(e,function(e){return a(t,e,r)})}function c(t,e){n.forEach(e,function(e){n.forEach(e,function(e,r){t.node(e).order=r})})}t.exports=function(t){var e=l.maxRank(t),r=h(t,n.range(1,e+1),"inEdges"),a=h(t,n.range(e-1,-1,-1),"outEdges"),f=i(t);c(t,f);for(var g,p=Number.POSITIVE_INFINITY,m=0,v=0;v<4;++m,++v){(function(t,e){var r=new d;n.forEach(t,function(t){var i=t.graph().root,o=s(t,i,r,e);n.forEach(o.vs,function(e,r){t.node(e).order=r}),u(t,r,o.vs)})})(m%2?r:a,m%4>=2),f=l.buildLayerMatrix(t);var y=o(t,f);y=t.barycenter)&&function(t,e){var r=0,n=0;t.weight&&(r+=t.barycenter*t.weight,n+=t.weight),e.weight&&(r+=e.barycenter*e.weight,n+=e.weight),t.vs=e.vs.concat(t.vs),t.barycenter=r/n,t.weight=n,t.i=Math.min(e.i,t.i),e.merged=!0}(t,e)}}(r)),n.forEach(r.out,function(e){return function(r){r.in.push(e),0==--r.indegree&&t.push(r)}}(r))}return n.map(n.filter(e,function(t){return!t.merged}),function(t){return n.pick(t,["vs","i","barycenter","weight"])})}(n.filter(r,function(t){return!t.indegree}))}},61026:function(t,e,r){var n=r(38436),i=r(35439),o=r(83678),s=r(87304);t.exports=function t(e,r,a,u){var d=e.children(r),l=e.node(r),h=l?l.borderLeft:void 0,c=l?l.borderRight:void 0,f={};h&&(d=n.filter(d,function(t){return t!==h&&t!==c}));var g=i(e,d);n.forEach(g,function(r){if(e.children(r.v).length){var i=t(e,r.v,a,u);f[r.v]=i,n.has(i,"barycenter")&&(n.isUndefined(r.barycenter)?(r.barycenter=i.barycenter,r.weight=i.weight):(r.barycenter=(r.barycenter*r.weight+i.barycenter*i.weight)/(r.weight+i.weight),r.weight+=i.weight))}});var p=o(g,a);n.forEach(p,function(t){t.vs=n.flatten(t.vs.map(function(t){return f[t]?f[t].vs:t}),!0)});var m=s(p,u);if(h&&(m.vs=n.flatten([h,m.vs,c],!0),e.predecessors(h).length)){var v=e.node(e.predecessors(h)[0]),y=e.node(e.predecessors(c)[0]);n.has(m,"barycenter")||(m.barycenter=0,m.weight=0),m.barycenter=(m.barycenter*m.weight+v.order+y.order)/(m.weight+2),m.weight+=2}return m}},87304:function(t,e,r){var n=r(38436),i=r(11138);function o(t,e,r){for(var i;e.length&&(i=n.last(e)).i<=r;)e.pop(),t.push(i.vs),r++;return r}t.exports=function(t,e){var r,s=i.partition(t,function(t){return n.has(t,"barycenter")}),a=s.lhs,u=n.sortBy(s.rhs,function(t){return-t.i}),d=[],l=0,h=0,c=0;a.sort((r=!!e,function(t,e){return t.barycentere.barycenter?1:r?e.i-t.i:t.i-e.i})),c=o(d,u,c),n.forEach(a,function(t){c+=t.vs.length,d.push(t.vs),l+=t.barycenter*t.weight,h+=t.weight,c=o(d,u,c)});var f={vs:n.flatten(d,!0)};return h&&(f.barycenter=l/h,f.weight=h),f}},24219:function(t,e,r){var n=r(38436);t.exports=function(t){var e,r,i=(e={},r=0,n.forEach(t.children(),function i(o){var s=r;n.forEach(t.children(o),i),e[o]={low:s,lim:r++}}),e);n.forEach(t.graph().dummyChains,function(e){for(var r=t.node(e),n=r.edgeObj,o=function(t,e,r,n){var i,o,s=[],a=[],u=Math.min(e[r].low,e[n].low),d=Math.max(e[r].lim,e[n].lim);i=r;do s.push(i=t.parent(i));while(i&&(e[i].low>u||d>e[i].lim));for(o=i,i=n;(i=t.parent(i))!==o;)a.push(i);return{path:s.concat(a.reverse()),lca:o}}(t,i,n.v,n.w),s=o.path,a=o.lca,u=0,d=s[0],l=!0;e!==n.w;){if(r=t.node(e),l){for(;(d=s[u])!==a&&t.node(d).maxRanka)&&u(r,e,d)})})}return n.reduce(e,function(e,r){var o,s=-1,a=0;return n.forEach(r,function(n,u){if("border"===t.node(n).dummy){var d=t.predecessors(n);d.length&&(i(r,a,u,s,o=t.node(d[0]).order),a=u,s=o)}i(r,a,r.length,o,e.length)}),r}),r}function u(t,e,r){if(e>r){var n=e;e=r,r=n}var i=t[e];i||(t[e]=i={}),i[r]=!0}function d(t,e,r){if(e>r){var i=e;e=r,r=i}return n.has(t[e],r)}function l(t,e,r,i){var o={},s={},a={};return n.forEach(e,function(t){n.forEach(t,function(t,e){o[t]=t,s[t]=t,a[t]=e})}),n.forEach(e,function(t){var e=-1;n.forEach(t,function(t){var u=i(t);if(u.length)for(var l=((u=n.sortBy(u,function(t){return a[t]})).length-1)/2,h=Math.floor(l),c=Math.ceil(l);h<=c;++h){var f=u[h];s[t]===t&&eu.lim&&(d=u,l=!0);var h=n.filter(e.edges(),function(e){return l===v(t,t.node(e.v),d)&&l!==v(t,t.node(e.w),d)});return n.minBy(h,function(t){return o(e,t)})}function m(t,e,r,i){var o,s,u=r.v,d=r.w;t.removeEdge(u,d),t.setEdge(i.v,i.w,{}),f(t),h(t,e),o=n.find(t.nodes(),function(t){return!e.node(t).parent}),s=(s=a(t,o)).slice(1),n.forEach(s,function(r){var n=t.node(r).parent,i=e.edge(r,n),o=!1;i||(i=e.edge(n,r),o=!0),e.node(r).rank=e.node(n).rank+(o?i.minlen:-i.minlen)})}function v(t,e,r){return r.low<=e.lim&&e.lim<=r.lim}t.exports=l,l.initLowLimValues=f,l.initCutValues=h,l.calcCutValue=c,l.leaveEdge=g,l.enterEdge=p,l.exchangeEdges=m},76681:function(t,e,r){"use strict";var n=r(38436);t.exports={longestPath:function(t){var e={};n.forEach(t.sources(),function r(i){var o=t.node(i);if(n.has(e,i))return o.rank;e[i]=!0;var s=n.min(n.map(t.outEdges(i),function(e){return r(e.w)-t.edge(e).minlen}));return(s===Number.POSITIVE_INFINITY||null==s)&&(s=0),o.rank=s})},slack:function(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}}},11138:function(t,e,r){"use strict";var n=r(38436),i=r(70574).Graph;function o(t,e,r,i){var o;do o=n.uniqueId(i);while(t.hasNode(o));return r.dummy=e,t.setNode(o,r),o}function s(t){return n.max(n.map(t.nodes(),function(e){var r=t.node(e).rank;if(!n.isUndefined(r))return r}))}t.exports={addDummyNode:o,simplify:function(t){var e=new i().setGraph(t.graph());return n.forEach(t.nodes(),function(r){e.setNode(r,t.node(r))}),n.forEach(t.edges(),function(r){var n=e.edge(r.v,r.w)||{weight:0,minlen:1},i=t.edge(r);e.setEdge(r.v,r.w,{weight:n.weight+i.weight,minlen:Math.max(n.minlen,i.minlen)})}),e},asNonCompoundGraph:function(t){var e=new i({multigraph:t.isMultigraph()}).setGraph(t.graph());return n.forEach(t.nodes(),function(r){t.children(r).length||e.setNode(r,t.node(r))}),n.forEach(t.edges(),function(r){e.setEdge(r,t.edge(r))}),e},successorWeights:function(t){var e=n.map(t.nodes(),function(e){var r={};return n.forEach(t.outEdges(e),function(e){r[e.w]=(r[e.w]||0)+t.edge(e).weight}),r});return n.zipObject(t.nodes(),e)},predecessorWeights:function(t){var e=n.map(t.nodes(),function(e){var r={};return n.forEach(t.inEdges(e),function(e){r[e.v]=(r[e.v]||0)+t.edge(e).weight}),r});return n.zipObject(t.nodes(),e)},intersectRect:function(t,e){var r,n,i=t.x,o=t.y,s=e.x-i,a=e.y-o,u=t.width/2,d=t.height/2;if(!s&&!a)throw Error("Not possible to find intersection inside of the rectangle");return Math.abs(a)*u>Math.abs(s)*d?(a<0&&(d=-d),r=d*s/a,n=d):(s<0&&(u=-u),r=u,n=u*a/s),{x:i+r,y:o+n}},buildLayerMatrix:function(t){var e=n.map(n.range(s(t)+1),function(){return[]});return n.forEach(t.nodes(),function(r){var i=t.node(r),o=i.rank;n.isUndefined(o)||(e[o][i.order]=r)}),e},normalizeRanks:function(t){var e=n.min(n.map(t.nodes(),function(e){return t.node(e).rank}));n.forEach(t.nodes(),function(r){var i=t.node(r);n.has(i,"rank")&&(i.rank-=e)})},removeEmptyRanks:function(t){var e=n.min(n.map(t.nodes(),function(e){return t.node(e).rank})),r=[];n.forEach(t.nodes(),function(n){var i=t.node(n).rank-e;r[i]||(r[i]=[]),r[i].push(n)});var i=0,o=t.graph().nodeRankFactor;n.forEach(r,function(e,r){n.isUndefined(e)&&r%o!=0?--i:i&&n.forEach(e,function(e){t.node(e).rank+=i})})},addBorderNode:function(t,e,r,n){var i={width:0,height:0};return arguments.length>=4&&(i.rank=r,i.order=n),o(t,"border",i,e)},maxRank:s,partition:function(t,e){var r={lhs:[],rhs:[]};return n.forEach(t,function(t){e(t)?r.lhs.push(t):r.rhs.push(t)}),r},time:function(t,e){var r=n.now();try{return e()}finally{console.log(t+" time: "+(n.now()-r)+"ms")}},notime:function(t,e){return e()}}},88177:function(t){t.exports="0.8.5"},28282:function(t,e,r){var n=r(82354);t.exports={Graph:n.Graph,json:r(28974),alg:r(12440),version:n.version}},2842:function(t,e,r){var n=r(89126);t.exports=function(t){var e,r={},i=[];return n.each(t.nodes(),function(o){e=[],function i(o){n.has(r,o)||(r[o]=!0,e.push(o),n.each(t.successors(o),i),n.each(t.predecessors(o),i))}(o),e.length&&i.push(e)}),i}},53984:function(t,e,r){var n=r(89126);t.exports=function(t,e,r){n.isArray(e)||(e=[e]);var i=(t.isDirected()?t.successors:t.neighbors).bind(t),o=[],s={};return n.each(e,function(e){if(!t.hasNode(e))throw Error("Graph does not have node: "+e);(function t(e,r,i,o,s,a){!n.has(o,r)&&(o[r]=!0,i||a.push(r),n.each(s(r),function(r){t(e,r,i,o,s,a)}),i&&a.push(r))})(t,e,"post"===r,s,i,o)}),o}},84847:function(t,e,r){var n=r(63763),i=r(89126);t.exports=function(t,e,r){return i.transform(t.nodes(),function(i,o){i[o]=n(t,o,e,r)},{})}},63763:function(t,e,r){var n=r(89126),i=r(75639);t.exports=function(t,e,r,n){return function(t,e,r,n){var o,s,a={},u=new i,d=function(t){var e=t.v!==o?t.v:t.w,n=a[e],i=r(t),d=s.distance+i;if(i<0)throw Error("dijkstra does not allow negative edge weights. Bad edge: "+t+" Weight: "+i);d0&&(s=a[o=u.removeMin()]).distance!==Number.POSITIVE_INFINITY;)n(o).forEach(d);return a}(t,String(e),r||o,n||function(e){return t.outEdges(e)})};var o=n.constant(1)},9096:function(t,e,r){var n=r(89126),i=r(5023);t.exports=function(t){return n.filter(i(t),function(e){return e.length>1||1===e.length&&t.hasEdge(e[0],e[0])})}},38924:function(t,e,r){var n=r(89126);t.exports=function(t,e,r){var n,o,s,a;return n=e||i,o=r||function(e){return t.outEdges(e)},s={},(a=t.nodes()).forEach(function(t){s[t]={},s[t][t]={distance:0},a.forEach(function(e){t!==e&&(s[t][e]={distance:Number.POSITIVE_INFINITY})}),o(t).forEach(function(e){var r=e.v===t?e.w:e.v,i=n(e);s[t][r]={distance:i,predecessor:t}})}),a.forEach(function(t){var e=s[t];a.forEach(function(r){var n=s[r];a.forEach(function(r){var i=n[t],o=e[r],s=n[r],a=i.distance+o.distance;a0;){if(r=u.removeMin(),n.has(a,r))s.setEdge(r,a[r]);else if(l)throw Error("Input graph is not connected: "+t);else l=!0;t.nodeEdges(r).forEach(d)}return s}},5023:function(t,e,r){var n=r(89126);t.exports=function(t){var e=0,r=[],i={},o=[];return t.nodes().forEach(function(s){n.has(i,s)||function s(a){var u=i[a]={onStack:!0,lowlink:e,index:e++};if(r.push(a),t.successors(a).forEach(function(t){n.has(i,t)?i[t].onStack&&(u.lowlink=Math.min(u.lowlink,i[t].index)):(s(t),u.lowlink=Math.min(u.lowlink,i[t].lowlink))}),u.lowlink===u.index){var d,l=[];do i[d=r.pop()].onStack=!1,l.push(d);while(a!==d);o.push(l)}}(s)}),o}},2166:function(t,e,r){var n=r(89126);function i(t){var e={},r={},i=[];if(n.each(t.sinks(),function s(a){if(n.has(r,a))throw new o;n.has(e,a)||(r[a]=!0,e[a]=!0,n.each(t.predecessors(a),s),delete r[a],i.push(a))}),n.size(e)!==t.nodeCount())throw new o;return i}function o(){}t.exports=i,i.CycleException=o,o.prototype=Error()},75639:function(t,e,r){var n=r(89126);function i(){this._arr=[],this._keyIndices={}}t.exports=i,i.prototype.size=function(){return this._arr.length},i.prototype.keys=function(){return this._arr.map(function(t){return t.key})},i.prototype.has=function(t){return n.has(this._keyIndices,t)},i.prototype.priority=function(t){var e=this._keyIndices[t];if(void 0!==e)return this._arr[e].priority},i.prototype.min=function(){if(0===this.size())throw Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(t,e){var r=this._keyIndices;if(t=String(t),!n.has(r,t)){var i=this._arr,o=i.length;return r[t]=o,i.push({key:t,priority:e}),this._decrease(o),!0}return!1},i.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var t=this._arr.pop();return delete this._keyIndices[t.key],this._heapify(0),t.key},i.prototype.decrease=function(t,e){var r=this._keyIndices[t];if(e>this._arr[r].priority)throw Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[r].priority+" New: "+e);this._arr[r].priority=e,this._decrease(r)},i.prototype._heapify=function(t){var e=this._arr,r=2*t,n=r+1,i=t;r>1].prioritys){var a=o;o=s,s=a}return o+"\x01"+s+"\x01"+(n.isUndefined(i)?"\x00":i)}function u(t,e){return a(t,e.v,e.w,e.name)}t.exports=i,i.prototype._nodeCount=0,i.prototype._edgeCount=0,i.prototype.isDirected=function(){return this._isDirected},i.prototype.isMultigraph=function(){return this._isMultigraph},i.prototype.isCompound=function(){return this._isCompound},i.prototype.setGraph=function(t){return this._label=t,this},i.prototype.graph=function(){return this._label},i.prototype.setDefaultNodeLabel=function(t){return n.isFunction(t)||(t=n.constant(t)),this._defaultNodeLabelFn=t,this},i.prototype.nodeCount=function(){return this._nodeCount},i.prototype.nodes=function(){return n.keys(this._nodes)},i.prototype.sources=function(){var t=this;return n.filter(this.nodes(),function(e){return n.isEmpty(t._in[e])})},i.prototype.sinks=function(){var t=this;return n.filter(this.nodes(),function(e){return n.isEmpty(t._out[e])})},i.prototype.setNodes=function(t,e){var r=arguments,i=this;return n.each(t,function(t){r.length>1?i.setNode(t,e):i.setNode(t)}),this},i.prototype.setNode=function(t,e){return n.has(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]="\x00",this._children[t]={},this._children["\x00"][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)},i.prototype.node=function(t){return this._nodes[t]},i.prototype.hasNode=function(t){return n.has(this._nodes,t)},i.prototype.removeNode=function(t){var e=this;if(n.has(this._nodes,t)){var r=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],n.each(this.children(t),function(t){e.setParent(t)}),delete this._children[t]),n.each(n.keys(this._in[t]),r),delete this._in[t],delete this._preds[t],n.each(n.keys(this._out[t]),r),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},i.prototype.setParent=function(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(n.isUndefined(e))e="\x00";else{e+="";for(var r=e;!n.isUndefined(r);r=this.parent(r))if(r===t)throw Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this},i.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},i.prototype.parent=function(t){if(this._isCompound){var e=this._parent[t];if("\x00"!==e)return e}},i.prototype.children=function(t){if(n.isUndefined(t)&&(t="\x00"),this._isCompound){var e=this._children[t];if(e)return n.keys(e)}else if("\x00"===t)return this.nodes();else if(this.hasNode(t))return[]},i.prototype.predecessors=function(t){var e=this._preds[t];if(e)return n.keys(e)},i.prototype.successors=function(t){var e=this._sucs[t];if(e)return n.keys(e)},i.prototype.neighbors=function(t){var e=this.predecessors(t);if(e)return n.union(e,this.successors(t))},i.prototype.isLeaf=function(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length},i.prototype.filterNodes=function(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var r=this;n.each(this._nodes,function(r,n){t(n)&&e.setNode(n,r)}),n.each(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,r.edge(t))});var i={};return this._isCompound&&n.each(e.nodes(),function(t){e.setParent(t,function t(n){var o=r.parent(n);return void 0===o||e.hasNode(o)?(i[n]=o,o):o in i?i[o]:t(o)}(t))}),e},i.prototype.setDefaultEdgeLabel=function(t){return n.isFunction(t)||(t=n.constant(t)),this._defaultEdgeLabelFn=t,this},i.prototype.edgeCount=function(){return this._edgeCount},i.prototype.edges=function(){return n.values(this._edgeObjs)},i.prototype.setPath=function(t,e){var r=this,i=arguments;return n.reduce(t,function(t,n){return i.length>1?r.setEdge(t,n,e):r.setEdge(t,n),n}),this},i.prototype.setEdge=function(){var t,e,r,i,s=!1,u=arguments[0];"object"==typeof u&&null!==u&&"v"in u?(t=u.v,e=u.w,r=u.name,2==arguments.length&&(i=arguments[1],s=!0)):(t=u,e=arguments[1],r=arguments[3],arguments.length>2&&(i=arguments[2],s=!0)),t=""+t,e=""+e,n.isUndefined(r)||(r=""+r);var d=a(this._isDirected,t,e,r);if(n.has(this._edgeLabels,d))return s&&(this._edgeLabels[d]=i),this;if(!n.isUndefined(r)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[d]=s?i:this._defaultEdgeLabelFn(t,e,r);var l=function(t,e,r,n){var i=""+e,o=""+r;if(!t&&i>o){var s=i;i=o,o=s}var a={v:i,w:o};return n&&(a.name=n),a}(this._isDirected,t,e,r);return t=l.v,e=l.w,Object.freeze(l),this._edgeObjs[d]=l,o(this._preds[e],t),o(this._sucs[t],e),this._in[e][d]=l,this._out[t][d]=l,this._edgeCount++,this},i.prototype.edge=function(t,e,r){var n=1==arguments.length?u(this._isDirected,arguments[0]):a(this._isDirected,t,e,r);return this._edgeLabels[n]},i.prototype.hasEdge=function(t,e,r){var i=1==arguments.length?u(this._isDirected,arguments[0]):a(this._isDirected,t,e,r);return n.has(this._edgeLabels,i)},i.prototype.removeEdge=function(t,e,r){var n=1==arguments.length?u(this._isDirected,arguments[0]):a(this._isDirected,t,e,r),i=this._edgeObjs[n];return i&&(t=i.v,e=i.w,delete this._edgeLabels[n],delete this._edgeObjs[n],s(this._preds[e],t),s(this._sucs[t],e),delete this._in[e][n],delete this._out[t][n],this._edgeCount--),this},i.prototype.inEdges=function(t,e){var r=this._in[t];if(r){var i=n.values(r);return e?n.filter(i,function(t){return t.v===e}):i}},i.prototype.outEdges=function(t,e){var r=this._out[t];if(r){var i=n.values(r);return e?n.filter(i,function(t){return t.w===e}):i}},i.prototype.nodeEdges=function(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}},82354:function(t,e,r){t.exports={Graph:r(30771),version:r(49631)}},28974:function(t,e,r){var n=r(89126),i=r(30771);t.exports={write:function(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:n.map(t.nodes(),function(e){var r=t.node(e),i=t.parent(e),o={v:e};return n.isUndefined(r)||(o.value=r),n.isUndefined(i)||(o.parent=i),o}),edges:n.map(t.edges(),function(e){var r=t.edge(e),i={v:e.v,w:e.w};return n.isUndefined(e.name)||(i.name=e.name),n.isUndefined(r)||(i.value=r),i})};return n.isUndefined(t.graph())||(e.value=n.clone(t.graph())),e},read:function(t){var e=new i(t.options).setGraph(t.value);return n.each(t.nodes,function(t){e.setNode(t.v,t.value),t.parent&&e.setParent(t.v,t.parent)}),n.each(t.edges,function(t){e.setEdge({v:t.v,w:t.w,name:t.name},t.value)}),e}}},89126:function(t,e,r){var n;try{n={clone:r(66678),constant:r(75703),each:r(66073),filter:r(63105),has:r(18721),isArray:r(1469),isEmpty:r(41609),isFunction:r(23560),isUndefined:r(52353),keys:r(3674),map:r(35161),reduce:r(54061),size:r(84238),transform:r(68718),union:r(93386),values:r(52628)}}catch(t){}n||(n=window._),t.exports=n},49631:function(t){t.exports="2.1.8"},44091:function(t,e,r){"use strict";r.r(e),r.d(e,{isAnyArray:function(){return i}});let n=Object.prototype.toString;function i(t){let e=n.call(t);return e.endsWith("Array]")&&!e.includes("Big")}},1989:function(t,e,r){var n=r(51789),i=r(80401),o=r(57667),s=r(21327),a=r(81866);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1}},1196:function(t){t.exports=function(t,e,r){for(var n=-1,i=null==t?0:t.length;++n0&&o(l)?r>1?t(l,r-1,o,s,a):n(a,l):s||(a[a.length]=l)}return a}},28483:function(t,e,r){var n=r(25063)();t.exports=n},47816:function(t,e,r){var n=r(28483),i=r(3674);t.exports=function(t,e){return t&&n(t,e,i)}},97786:function(t,e,r){var n=r(71811),i=r(40327);t.exports=function(t,e){e=n(e,t);for(var r=0,o=e.length;null!=t&&re}},78565:function(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t,r){return null!=t&&e.call(t,r)}},13:function(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},90939:function(t,e,r){var n=r(2492),i=r(37005);t.exports=function t(e,r,o,s,a){return e===r||(null!=e&&null!=r&&(i(e)||i(r))?n(e,r,o,s,t,a):e!=e&&r!=r)}},2492:function(t,e,r){var n=r(46384),i=r(67114),o=r(18351),s=r(16096),a=r(64160),u=r(1469),d=r(44144),l=r(36719),h="[object Arguments]",c="[object Array]",f="[object Object]",g=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,p,m,v){var y=u(t),w=u(e),x=y?c:a(t),b=w?c:a(e);x=x==h?f:x,b=b==h?f:b;var E=x==f,N=b==f,M=x==b;if(M&&d(t)){if(!d(e))return!1;y=!0,E=!1}if(M&&!E)return v||(v=new n),y||l(t)?i(t,e,r,p,m,v):o(t,e,x,r,p,m,v);if(!(1&r)){var _=E&&g.call(t,"__wrapped__"),k=N&&g.call(e,"__wrapped__");if(_||k){var A=_?t.value():t,S=k?e.value():e;return v||(v=new n),m(A,S,r,p,v)}}return!!M&&(v||(v=new n),s(t,e,r,p,m,v))}},25588:function(t,e,r){var n=r(64160),i=r(37005);t.exports=function(t){return i(t)&&"[object Map]"==n(t)}},2958:function(t,e,r){var n=r(46384),i=r(90939);t.exports=function(t,e,r,o){var s=r.length,a=s,u=!o;if(null==t)return!a;for(t=Object(t);s--;){var d=r[s];if(u&&d[2]?d[1]!==t[d[0]]:!(d[0]in t))return!1}for(;++s=200){var p=e?null:a(t);if(p)return u(p);c=!1,l=s,g=new n}else g=e?[]:f;t:for(;++de||s&&a&&d&&!u&&!l||i&&a&&d||!r&&d||!o)return 1;if(!i&&!s&&!l&&t=u)return d;return d*("desc"==r[i]?-1:1)}}return t.index-e.index}},278:function(t){t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r1?r[o-1]:void 0,a=o>2?r[2]:void 0;for(s=t.length>3&&"function"==typeof s?(o--,s):void 0,a&&i(r[0],r[1],a)&&(s=o<3?void 0:s,o=1),e=Object(e);++n-1?a[u?e[d]:d]:void 0}}},47445:function(t,e,r){var n=r(40098),i=r(16612),o=r(18601);t.exports=function(t){return function(e,r,s){return s&&"number"!=typeof s&&i(e,r,s)&&(r=s=void 0),e=o(e),void 0===r?(r=e,e=0):r=o(r),s=void 0===s?el))return!1;var c=u.get(t),f=u.get(e);if(c&&f)return c==e&&f==t;var g=-1,p=!0,m=2&r?new n:void 0;for(u.set(t,e),u.set(e,t);++g-1}},54705:function(t,e,r){var n=r(18470);t.exports=function(t,e){var r=this.__data__,i=n(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this}},24785:function(t,e,r){var n=r(1989),i=r(38407),o=r(57071);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},11285:function(t,e,r){var n=r(45050);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},96e3:function(t,e,r){var n=r(45050);t.exports=function(t){return n(this,t).get(t)}},49916:function(t,e,r){var n=r(45050);t.exports=function(t){return n(this,t).has(t)}},95265:function(t,e,r){var n=r(45050);t.exports=function(t,e){var r=n(this,t),i=r.size;return r.set(t,e),this.size+=r.size==i?0:1,this}},68776:function(t){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}},42634:function(t){t.exports=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}},24523:function(t,e,r){var n=r(15644);t.exports=function(t){var e=n(t,function(t){return 500===r.size&&r.clear(),t}),r=e.cache;return e}},94536:function(t,e,r){var n=r(10852)(Object,"create");t.exports=n},33498:function(t){t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},45357:function(t,e,r){var n=r(96874),i=Math.max;t.exports=function(t,e,r){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,s=-1,a=i(o.length-e,0),u=Array(a);++s0){if(++r>=800)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}},37465:function(t,e,r){var n=r(38407);t.exports=function(){this.__data__=new n,this.size=0}},63779:function(t){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},67599:function(t){t.exports=function(t){return this.__data__.get(t)}},44758:function(t){t.exports=function(t){return this.__data__.has(t)}},34309:function(t,e,r){var n=r(38407),i=r(57071),o=r(83369);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!i||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new o(s)}return r.set(t,e),this.size=r.size,this}},88016:function(t,e,r){var n=r(48983),i=r(62689),o=r(21903);t.exports=function(t){return i(t)?o(t):n(t)}},55514:function(t,e,r){var n=r(24523),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=n(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,function(t,r,n,i){e.push(n?i.replace(o,"$1"):r||t)}),e});t.exports=s},40327:function(t,e,r){var n=r(33448),i=1/0;t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}},21903:function(t){var e="\ud800-\udfff",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\ud83c[\udffb-\udfff]",i="[^"+e+"]",o="(?:\ud83c[\udde6-\uddff]){2}",s="[\ud800-\udbff][\udc00-\udfff]",a="(?:"+r+"|"+n+")?",u="[\\ufe0e\\ufe0f]?",d="(?:\\u200d(?:"+[i,o,s].join("|")+")"+u+a+")*",l=RegExp(n+"(?="+n+")|(?:"+[i+r+"?",r,o,s,"["+e+"]"].join("|")+")"+(u+a+d),"g");t.exports=function(t){for(var e=l.lastIndex=0;l.test(t);)++e;return e}},66678:function(t,e,r){var n=r(85990);t.exports=function(t){return n(t,4)}},50361:function(t,e,r){var n=r(85990);t.exports=function(t){return n(t,5)}},75703:function(t){t.exports=function(t){return function(){return t}}},91747:function(t,e,r){var n=r(5976),i=r(77813),o=r(16612),s=r(81704),a=Object.prototype,u=a.hasOwnProperty,d=n(function(t,e){t=Object(t);var r=-1,n=e.length,d=n>2?e[2]:void 0;for(d&&o(e[0],e[1],d)&&(n=1);++r1&&s(t,e[0],e[1])?e=[]:r>2&&s(e[0],e[1],e[2])&&(e=[e[0]]),i(t,n(e,1),[])});t.exports=a},70479:function(t){t.exports=function(){return[]}},59881:function(t,e,r){var n=r(98363),i=r(81704);t.exports=function(t){return n(t,i(t))}},68718:function(t,e,r){var n=r(77412),i=r(3118),o=r(47816),s=r(67206),a=r(85924),u=r(1469),d=r(44144),l=r(23560),h=r(13218),c=r(36719);t.exports=function(t,e,r){var f=u(t),g=f||d(t)||c(t);if(e=s(e,4),null==r){var p=t&&t.constructor;r=g?f?new p:[]:h(t)&&l(p)?i(a(t)):{}}return(g?n:o)(t,function(t,n,i){return e(r,t,n,i)}),r}},93386:function(t,e,r){var n=r(21078),i=r(5976),o=r(45652),s=r(29246),a=i(function(t){return o(n(t,1,s,!0))});t.exports=a},73955:function(t,e,r){var n=r(79833),i=0;t.exports=function(t){var e=++i;return n(t)+e}},7287:function(t,e,r){var n=r(34865),i=r(1757);t.exports=function(t,e){return i(t||[],e||[],n)}},75823:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return i}});var n=r(44091);function i(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((0,n.isAnyArray)(t)){if(0===t.length)throw TypeError("input must not be empty")}else throw TypeError("input must be an array");if(void 0!==r.output){if(!(0,n.isAnyArray)(r.output))throw TypeError("output option must be an array if specified");e=r.output}else e=Array(t.length);var i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,n.isAnyArray)(t))throw TypeError("input must be an array");if(0===t.length)throw TypeError("input must not be empty");var r=e.fromIndex,i=void 0===r?0:r,o=e.toIndex,s=void 0===o?t.length:o;if(i<0||i>=t.length||!Number.isInteger(i))throw Error("fromIndex must be a positive integer smaller than length");if(s<=i||s>t.length||!Number.isInteger(s))throw Error("toIndex must be an integer greater than fromIndex and at most equal to length");for(var a=t[i],u=i+1;u1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,n.isAnyArray)(t))throw TypeError("input must be an array");if(0===t.length)throw TypeError("input must not be empty");var r=e.fromIndex,i=void 0===r?0:r,o=e.toIndex,s=void 0===o?t.length:o;if(i<0||i>=t.length||!Number.isInteger(i))throw Error("fromIndex must be a positive integer smaller than length");if(s<=i||s>t.length||!Number.isInteger(s))throw Error("toIndex must be an integer greater than fromIndex and at most equal to length");for(var a=t[i],u=i+1;ua&&(a=t[u]);return a}(t);if(i===o)throw RangeError("minimum and maximum input values are equal. Cannot rescale a constant array");var s=r.min,a=void 0===s?r.autoMinMax?i:0:s,u=r.max,d=void 0===u?r.autoMinMax?o:1:u;if(a>=d)throw RangeError("min option must be smaller than max option");for(var l=(d-a)/(o-i),h=0;ht.get(e,r)){i=!0;break e}}for(let e=0;e=0&&f?` ${u(c,n-1)}`:u(c,n)).padEnd(n)))}h.push(`${r.join(" ")}`)}return l!==a&&(h[h.length-1]+=` ... ${a-r} more columns`),d!==o&&h.push(`... ${o-e} more rows`),h.join(` +${s}`)}(t,r,n,i,a)} +${o}] +${o}rows: ${t.rows} +${o}columns: ${t.columns} +}`}function u(t,e){let r=t.toString();if(r.length<=e)return r;let n=t.toFixed(e);if(n.length>e&&(n=t.toFixed(Math.max(0,e-(n.length-e)))),n.length<=e&&!n.startsWith("0.000")&&!n.startsWith("-0.000"))return n;let i=t.toExponential(e);return i.length>e&&(i=t.toExponential(Math.max(0,e-(i.length-e)))),i.slice(0)}function d(t,e,r){let n=r?t.rows:t.rows-1;if(e<0||e>n)throw RangeError("Row index out of range")}function l(t,e,r){let n=r?t.columns:t.columns-1;if(e<0||e>n)throw RangeError("Column index out of range")}function h(t,e){if(e.to1DArray&&(e=e.to1DArray()),e.length!==t.columns)throw RangeError("vector size must be the same as the number of columns");return e}function c(t,e){if(e.to1DArray&&(e=e.to1DArray()),e.length!==t.rows)throw RangeError("vector size must be the same as the number of rows");return e}function f(t,e){if(!n.isAnyArray(e))throw TypeError("row indices must be an array");for(let r=0;r=t.rows)throw RangeError("row indices are out of range")}function g(t,e){if(!n.isAnyArray(e))throw TypeError("column indices must be an array");for(let r=0;r=t.columns)throw RangeError("column indices are out of range")}function p(t,e,r,n,i){if(5!=arguments.length)throw RangeError("expected 4 arguments");if(v("startRow",e),v("endRow",r),v("startColumn",n),v("endColumn",i),e>r||n>i||e<0||e>=t.rows||r<0||r>=t.rows||n<0||n>=t.columns||i<0||i>=t.columns)throw RangeError("Submatrix indices are out of range")}function m(t,e=0){let r=[];for(let n=0;n=i)throw RangeError("min must be smaller than max");let s=i-n,a=new b(t,e);for(let r=0;rr?(i=!0,r=e):(n=!1,i=!0);t++}return n}isReducedEchelonForm(){let t=0,e=0,r=-1,n=!0,i=!1;for(;tr?(i=!0,r=e):(n=!1,i=!0);for(let r=e+1;rt.get(n,r)&&(n=i);if(0===t.get(n,r))r++;else{t.swapRows(e,n);let i=t.get(e,r);for(let n=r;n=0;)if(0===t.maxRow(n))n--;else{let i=0,o=!1;for(;it[e]&&(t[e]=this.get(e,r));return t}case"column":{let t=Array(this.columns).fill(Number.NEGATIVE_INFINITY);for(let e=0;et[r]&&(t[r]=this.get(e,r));return t}case void 0:{let t=this.get(0,0);for(let e=0;et&&(t=this.get(e,r));return t}default:throw Error(`invalid option: ${t}`)}}maxIndex(){y(this);let t=this.get(0,0),e=[0,0];for(let r=0;rt&&(t=this.get(r,n),e[0]=r,e[1]=n);return e}min(t){if(this.isEmpty())return NaN;switch(t){case"row":{let t=Array(this.rows).fill(Number.POSITIVE_INFINITY);for(let e=0;ee&&(e=this.get(t,r));return e}maxRowIndex(t){d(this,t),y(this);let e=this.get(t,0),r=[t,0];for(let n=1;ne&&(e=this.get(t,n),r[1]=n);return r}minRow(t){if(d(this,t),this.isEmpty())return NaN;let e=this.get(t,0);for(let r=1;re&&(e=this.get(r,t));return e}maxColumnIndex(t){l(this,t),y(this);let e=this.get(0,t),r=[0,t];for(let n=1;ne&&(e=this.get(n,t),r[0]=n);return r}minColumn(t){if(l(this,t),this.isEmpty())return NaN;let e=this.get(0,t);for(let r=1;r=r)throw RangeError("min must be smaller than max");let n=new b(this.rows,this.columns);for(let t=0;t0&&i(o,{min:e,max:r,output:o}),n.setRow(t,o)}return n}scaleColumns(t={}){if("object"!=typeof t)throw TypeError("options must be an object");let{min:e=0,max:r=1}=t;if(!Number.isFinite(e))throw TypeError("min must be a number");if(!Number.isFinite(r))throw TypeError("max must be a number");if(e>=r)throw RangeError("min must be smaller than max");let n=new b(this.rows,this.columns);for(let t=0;tr||e<0||e>=this.columns||r<0||r>=this.columns)throw RangeError("Argument out of range");let n=new b(t.length,r-e+1);for(let i=0;i=this.rows)throw RangeError(`Row index out of range: ${t[i]}`);n.set(i,o-e,this.get(t[i],o))}return n}subMatrixColumn(t,e,r){if(void 0===e&&(e=0),void 0===r&&(r=this.rows-1),e>r||e<0||e>=this.rows||r<0||r>=this.rows)throw RangeError("Argument out of range");let n=new b(r-e+1,t.length);for(let i=0;i=this.columns)throw RangeError(`Column index out of range: ${t[i]}`);n.set(o-e,i,this.get(o,t[i]))}return n}setSubMatrix(t,e,r){if((t=b.checkMatrix(t)).isEmpty())return this;let n=e+t.rows-1,i=r+t.columns-1;p(this,e,n,r,i);for(let n=0;n=0)for(let r=0;r=0)this.#t(t,e);else if(n.isAnyArray(t)){let r=t;if("number"!=typeof(e=(t=r.length)?r[0].length:0))throw TypeError("Data must be a 2D array with at least one element");this.data=[];for(let n=0;n"number"==typeof t))throw TypeError("Input data contains non-numeric values");this.data.push(Float64Array.from(r[n]))}this.rows=t,this.columns=e}else throw TypeError("First argument must be a positive number or an array")}set(t,e,r){return this.data[t][e]=r,this}get(t,e){return this.data[t][e]}removeRow(t){return d(this,t),this.data.splice(t,1),this.rows-=1,this}addRow(t,e){return void 0===e&&(e=t,t=this.rows),d(this,t,!0),e=Float64Array.from(h(this,e)),this.data.splice(t,0,e),this.rows+=1,this}removeColumn(t){l(this,t);for(let e=0;e>t);return this},w.prototype.signPropagatingRightShiftM=function(t){if(t=b.checkMatrix(t),this.rows!==t.rows||this.columns!==t.columns)throw RangeError("Matrices dimensions must be equal");for(let e=0;e>t.get(e,r));return this},w.signPropagatingRightShift=function(t,e){let r=new b(t);return r.signPropagatingRightShift(e)},w.prototype.rightShift=function(t){return"number"==typeof t?this.rightShiftS(t):this.rightShiftM(t)},w.prototype.rightShiftS=function(t){for(let e=0;e>>t);return this},w.prototype.rightShiftM=function(t){if(t=b.checkMatrix(t),this.rows!==t.rows||this.columns!==t.columns)throw RangeError("Matrices dimensions must be equal");for(let e=0;e>>t.get(e,r));return this},w.rightShift=function(t,e){let r=new b(t);return r.rightShift(e)},w.prototype.zeroFillRightShift=w.prototype.rightShift,w.prototype.zeroFillRightShiftS=w.prototype.rightShiftS,w.prototype.zeroFillRightShiftM=w.prototype.rightShiftM,w.zeroFillRightShift=w.rightShift,w.prototype.not=function(){for(let t=0;t=0)this.#e=new b(t,t);else if(this.#e=new b(t),!this.isSymmetric())throw TypeError("not symmetric data")}clone(){let t=new E(this.diagonalSize);for(let[e,r,n]of this.upperRightEntries())t.set(e,r,n);return t}toMatrix(){return new b(this)}get(t,e){return this.#e.get(t,e)}set(t,e,r){return this.#e.set(t,e,r),this.#e.set(e,t,r),this}removeCross(t){return this.#e.removeRow(t),this.#e.removeColumn(t),this}addCross(t,e){void 0===e&&(e=t,t=this.diagonalSize);let r=e.slice();return r.splice(t,1),this.#e.addRow(t,r),this.#e.addColumn(t,e),this}applyMask(t){if(t.length!==this.diagonalSize)throw RangeError("Mask size do not match with matrix size");let e=[];for(let[r,n]of t.entries())n||e.push(r);for(let t of(e.reverse(),e))this.removeCross(t);return this}toCompact(){let{diagonalSize:t}=this,e=Array(t*(t+1)/2);for(let r=0,n=0,i=0;i=t&&(r=++n);return e}static fromCompact(t){let e=t.length,r=(Math.sqrt(8*e+1)-1)/2;if(!Number.isInteger(r))throw TypeError(`This array is not a compact representation of a Symmetric Matrix, ${JSON.stringify(t)}`);let n=new E(r);for(let i=0,o=0,s=0;s=r&&(i=++o);return n}*upperRightEntries(){for(let t=0,e=0;t=this.diagonalSize&&(e=++t)}}*upperRightValues(){for(let t=0,e=0;t=this.diagonalSize&&(e=++t)}}}E.prototype.klassType="SymmetricMatrix";class N extends E{static isDistanceMatrix(t){return E.isSymmetricMatrix(t)&&"DistanceMatrix"===t.klassSubType}constructor(t){if(super(t),!this.isDistance())throw TypeError("Provided arguments do no produce a distance matrix")}set(t,e,r){return t===e&&(r=0),super.set(t,e,r)}addCross(t,e){return void 0===e&&(e=t,t=this.diagonalSize),(e=e.slice())[t]=0,super.addCross(t,e)}toSymmetricMatrix(){return new E(this)}clone(){let t=new N(this.diagonalSize);for(let[e,r,n]of this.upperRightEntries())e!==r&&t.set(e,r,n);return t}toCompact(){let{diagonalSize:t}=this,e=Array((t-1)*t/2);for(let r=1,n=0,i=0;i=t&&(r=++n+1);return e}static fromCompact(t){let e=t.length;if(0===e)return new this(0);let r=(Math.sqrt(8*e+1)+1)/2;if(!Number.isInteger(r))throw TypeError(`This array is not a compact representation of a DistanceMatrix, ${JSON.stringify(t)}`);let n=new this(r);for(let i=1,o=0,s=0;s=r&&(i=++o+1);return n}}N.prototype.klassSubType="DistanceMatrix";class M extends w{constructor(t,e,r){super(),this.matrix=t,this.rows=e,this.columns=r}}class _ extends M{constructor(t,e,r){f(t,e),g(t,r),super(t,e.length,r.length),this.rowIndices=e,this.columnIndices=r}set(t,e,r){return this.matrix.set(this.rowIndices[t],this.columnIndices[e],r),this}get(t,e){return this.matrix.get(this.rowIndices[t],this.columnIndices[e])}}class k extends w{constructor(t,e={}){let{rows:r=1}=e;if(t.length%r!=0)throw Error("the data length is not divisible by the number of rows");super(),this.rows=r,this.columns=t.length/r,this.data=t}set(t,e,r){let n=this._calculateIndex(t,e);return this.data[n]=r,this}get(t,e){let r=this._calculateIndex(t,e);return this.data[r]}_calculateIndex(t,e){return t*this.columns+e}}class A extends w{constructor(t){super(),this.data=t,this.rows=t.length,this.columns=t[0].length}set(t,e,r){return this.data[t][e]=r,this}get(t,e){return this.data[t][e]}}class S{constructor(t){let e,r,n,i,o,s,a,u,d;let l=(t=A.checkMatrix(t)).clone(),h=l.rows,c=l.columns,f=new Float64Array(h),g=1;for(e=0;eMath.abs(u[i])&&(i=e);if(i!==r){for(n=0;n=0;n--){for(r=0;re?n.set(i,e,t.get(i,e)):i===e?n.set(i,e,1):n.set(i,e,0);return n}get upperTriangularMatrix(){let t=this.LU,e=t.rows,r=t.columns,n=new b(e,r);for(let i=0;iMath.abs(e)?(r=e/t,Math.abs(t)*Math.sqrt(1+r*r)):0!==e?(r=t/e,Math.abs(e)*Math.sqrt(1+r*r)):0}class O{constructor(t){let e,r,n,i;let o=(t=A.checkMatrix(t)).clone(),s=t.rows,a=t.columns,u=new Float64Array(a);for(n=0;no.get(n,n)&&(t=-t),e=n;e=0;n--){for(r=0;r=0;r--){for(t=0;tr.get(t,t)&&(f[t]=-f[t]);for(let e=t;e=0;t--)if(0!==f[t]){for(let e=t+1;e=0;t--){if(t0;){let t,e;for(t=N-2;t>=-1&&-1!==t;t--){let e=Number.MIN_VALUE+_*Math.abs(f[t]+Math.abs(f[t+1]));if(Math.abs(m[t])<=e||Number.isNaN(m[t])){m[t]=0;break}}if(t===N-2)e=4;else{let r;for(r=N-1;r>=t&&r!==t;r--){let e=(r!==N?Math.abs(m[r]):0)+(r!==t+1?Math.abs(m[r-1]):0);if(Math.abs(f[r])<=_*e){f[r]=0;break}}r===t?e=3:r===N-1?e=1:(e=2,t=r)}switch(t++,e){case 1:{let e=m[N-2];m[N-2]=0;for(let r=N-2;r>=t;r--){let n=j(f[r],e),o=f[r]/n,s=e/n;if(f[r]=n,r!==t&&(e=-s*m[r-1],m[r-1]=o*m[r-1]),d)for(let t=0;t=f[t+1]);){let e=f[t];if(f[t]=f[t+1],f[t+1]=e,d&&te&&i.set(o,r,t.get(o,r)/this.s[r]);let o=this.U,s=o.rows,a=o.columns,u=new b(r,s);for(let t=0;tt&&e++;return e}get diagonal(){return Array.from(this.s)}get threshold(){return Number.EPSILON/2*Math.max(this.m,this.n)*this.s[0]}get leftSingularVectors(){return this.U}get rightSingularVectors(){return this.V}get diagonalMatrix(){return b.diag(this.s)}}function z(t,e,r=!1){return(t=A.checkMatrix(t),e=A.checkMatrix(e),r)?new R(t).solve(e):t.isSquare()?new S(t).solve(e):new O(t).solve(e)}class I{constructor(t,e={}){let r,n;let{assumeSymmetric:i=!1}=e;if(!(t=A.checkMatrix(t)).isSquare())throw Error("Matrix is not a square matrix");if(t.isEmpty())throw Error("Matrix must be non-empty");let o=t.columns,s=new b(o,o),a=new Float64Array(o),u=new Float64Array(o),d=t;if(i||t.isSymmetric()){for(r=0;r0;a--){for(d=0,h=0,s=0;d0&&(o=-o),e[a]=h*o,s-=i*o,r[a-1]=i-o,u=0;ud)do{for(i=r[d],c=j(h=(r[d+1]-i)/(2*e[d]),1),h<0&&(c=-c),r[d]=e[d]/(h+c),r[d+1]=e[d]*(h+c),f=r[d+1],o=i-r[d],s=d+2;s=d;s--)for(u=0,m=p,p=g,w=y,i=g*e[s],o=g*h,c=j(h,e[s]),e[s+1]=y*c,y=e[s]/c,h=(g=h/c)*r[s]-y*i,r[s+1]=o+y*(g*i+y*r[s]);uE*b);r[d]=r[d]+x,e[d]=0}for(s=0;s=d;a--)r[a]=e.get(a,d-1)/l,s+=r[a]*r[a];for(o=Math.sqrt(s),r[d]>0&&(o=-o),s-=r[d]*o,r[d]=r[d]-o,u=d;u=d;a--)i+=r[a]*e.get(a,u);for(i/=s,a=d;a<=h;a++)e.set(a,u,e.get(a,u)-i*r[a])}for(a=0;a<=h;a++){for(i=0,u=h;u>=d;u--)i+=r[u]*e.get(a,u);for(i/=s,u=d;u<=h;u++)e.set(a,u,e.get(a,u)-i*r[u])}r[d]=l*r[d],e.set(d,d-1,l*o)}}for(a=0;a=1;d--)if(0!==e.get(d,d-1)){for(a=d+1;a<=h;a++)r[a]=e.get(a,d-1);for(u=d;u<=h;u++){for(o=0,a=d;a<=h;a++)o+=r[a]*n.get(a,u);for(o=o/r[d]/e.get(d,d-1),a=d;a<=h;a++)n.set(a,u,n.get(a,u)+o*r[a])}}})(o,t,e,s),function(t,e,r,n,i){let o,s,a,u,d,l,h,c,f,g,p,m,v,y,w,x=t-1,b=t-1,E=Number.EPSILON,N=0,M=0,_=0,k=0,A=0,S=0,j=0,O=0;for(o=0;ob)&&(r[o]=i.get(o,o),e[o]=0),s=Math.max(o-1,0);s=0;){for(u=x;u>0&&(0===(S=Math.abs(i.get(u-1,u-1))+Math.abs(i.get(u,u)))&&(S=M),!(Math.abs(i.get(u,u-1))=0){for(j=_>=0?_+j:_-j,r[x-1]=c+j,r[x]=r[x-1],0!==j&&(r[x]=c-h/j),e[x-1]=0,e[x]=0,S=Math.abs(c=i.get(x,x-1))+Math.abs(j),A=Math.sqrt((_=c/S)*_+(k=j/S)*k),_/=A,k/=A,s=x-1;s0){for(S=Math.sqrt(S),f=u&&(S=Math.abs(_=((A=c-(j=i.get(d,d)))*(S=f-j)-h)/i.get(d+1,d)+i.get(d,d+1))+Math.abs(k=i.get(d+1,d+1)-j-A-S)+Math.abs(A=i.get(d+2,d+1)),_/=S,k/=S,A/=S,!(d===u||Math.abs(i.get(d,d-1))*(Math.abs(k)+Math.abs(A))d+2&&i.set(o,o-3,0);for(a=d;a<=x-1&&(y=a!==x-1,a!==d&&0!==(c=Math.abs(_=i.get(a,a-1))+Math.abs(k=i.get(a+1,a-1))+Math.abs(A=y?i.get(a+2,a-1):0))&&(_/=c,k/=c,A/=c),0!==c);a++)if(S=Math.sqrt(_*_+k*k+A*A),_<0&&(S=-S),0!==S){for(a!==d?i.set(a,a-1,-S*c):u!==d&&i.set(a,a-1,-i.get(a,a-1)),_+=S,c=_/S,f=k/S,j=A/S,k/=_,A/=_,s=a;s=0;x--)if(_=r[x],0===(k=e[x]))for(u=x,i.set(x,x,1),o=x-1;o>=0;o--){for(h=i.get(o,o)-_,A=0,s=u;s<=x;s++)A+=i.get(o,s)*i.get(s,x);if(e[o]<0)j=h,S=A;else if(u=o,0===e[o]?i.set(o,x,0!==h?-A/h:-A/(E*M)):(c=i.get(o,o+1),f=i.get(o+1,o),k=(r[o]-_)*(r[o]-_)+e[o]*e[o],l=(c*S-j*A)/k,i.set(o,x,l),i.set(o+1,x,Math.abs(c)>Math.abs(j)?(-A-h*l)/c:(-S-f*l)/j)),E*(l=Math.abs(i.get(o,x)))*l>1)for(s=o;s<=x;s++)i.set(s,x,i.get(s,x)/l)}else if(k<0)for(u=x-1,Math.abs(i.get(x,x-1))>Math.abs(i.get(x-1,x))?(i.set(x-1,x-1,k/i.get(x,x-1)),i.set(x-1,x,-(i.get(x,x)-_)/i.get(x,x-1))):(w=C(0,-i.get(x-1,x),i.get(x-1,x-1)-_,k),i.set(x-1,x-1,w[0]),i.set(x-1,x,w[1])),i.set(x,x-1,0),i.set(x,x,1),o=x-2;o>=0;o--){for(g=0,p=0,s=u;s<=x;s++)g+=i.get(o,s)*i.get(s,x-1),p+=i.get(o,s)*i.get(s,x);if(h=i.get(o,o)-_,e[o]<0)j=h,A=g,S=p;else if(u=o,0===e[o]?(w=C(-g,-p,h,k),i.set(o,x-1,w[0]),i.set(o,x,w[1])):(c=i.get(o,o+1),f=i.get(o+1,o),m=(r[o]-_)*(r[o]-_)+e[o]*e[o]-k*k,v=(r[o]-_)*2*k,0===m&&0===v&&(m=E*M*(Math.abs(h)+Math.abs(k)+Math.abs(c)+Math.abs(f)+Math.abs(j))),w=C(c*A-j*g+k*p,c*S-j*p-k*g,m,v),i.set(o,x-1,w[0]),i.set(o,x,w[1]),Math.abs(c)>Math.abs(j)+Math.abs(k)?(i.set(o+1,x-1,(-g-h*i.get(o,x-1)+k*i.get(o,x))/c),i.set(o+1,x,(-p-h*i.get(o,x)-k*i.get(o,x-1))/c)):(w=C(-A-f*i.get(o,x-1),-S-f*i.get(o,x),j,k),i.set(o+1,x-1,w[0]),i.set(o+1,x,w[1]))),E*(l=Math.max(Math.abs(i.get(o,x-1)),Math.abs(i.get(o,x))))*l>1)for(s=o;s<=x;s++)i.set(s,x-1,i.get(s,x-1)/l),i.set(s,x,i.get(s,x)/l)}for(o=0;ob)for(s=o;s=0;s--)for(o=0;o<=b;o++){for(a=0,j=0;a<=Math.min(s,b);a++)j+=n.get(o,a)*i.get(a,s);n.set(o,s,j)}}}(o,u,a,s,t)}this.n=o,this.e=u,this.d=a,this.V=s}get realEigenvalues(){return Array.from(this.d)}get imaginaryEigenvalues(){return Array.from(this.e)}get eigenvectorMatrix(){return this.V}get diagonalMatrix(){let t,e,r=this.n,n=this.e,i=this.d,o=new b(r,r);for(t=0;t0?o.set(t,t+1,n[t]):n[t]<0&&o.set(t,t-1,n[t])}return o}}function C(t,e,r,n){let i,o;return Math.abs(r)>Math.abs(n)?(i=n/r,o=r+i*n,[(t+i*e)/o,(e-i*t)/o]):(i=r/n,o=n+i*r,[(i*t+e)/o,(i*e-t)/o])}class D{constructor(t){let e,r,n;if(!(t=A.checkMatrix(t)).isSymmetric())throw Error("Matrix is not symmetric");let i=t,o=i.rows,s=new b(o,o),a=!0;for(r=0;r0,s.set(r,r,Math.sqrt(Math.max(t,0))),n=r+1;n=0;n--)for(r=0;rh;e++)s=(s=t.transpose().mmul(r).div(r.transpose().mmul(r).get(0,0))).div(s.norm()),i=t.mmul(s).div(s.transpose().mmul(s).get(0,0)),e>0&&(c=i.clone().sub(a).pow(2).sum()),a=i.clone(),u?(o=(o=u.transpose().mmul(i).div(i.transpose().mmul(i).get(0,0))).div(o.norm()),r=u.mmul(o).div(o.transpose().mmul(o).get(0,0))):r=i;if(u){let e=t.transpose().mmul(i).div(i.transpose().mmul(i).get(0,0));e=e.div(e.norm());let n=t.clone().sub(i.clone().mmul(e.transpose())),a=r.transpose().mmul(i).div(i.transpose().mmul(i).get(0,0)),d=u.clone().sub(i.clone().mulS(a.get(0,0)).mmul(o.transpose()));this.t=i,this.p=e.transpose(),this.w=s.transpose(),this.q=o,this.u=r,this.s=i.transpose().mmul(i),this.xResidual=n,this.yResidual=d,this.betas=a}else this.w=s.transpose(),this.s=i.transpose().mmul(i).sqrt(),d?this.t=i.clone().div(this.s.get(0,0)):this.t=i,this.xResidual=t.sub(i.mmul(s.transpose()))}}e.XA=w,e.a_=D,e.yQ=D,e.Hs=N,e.Ec=I,e.dx=I,e.LU=S,e.Rm=S,e.y3=b,e.qK=class extends M{constructor(t,e){g(t,e),super(t,t.rows,e.length),this.columnIndices=e}set(t,e,r){return this.matrix.set(t,this.columnIndices[e],r),this}get(t,e){return this.matrix.get(t,this.columnIndices[e])}},e.pb=class extends M{constructor(t,e){l(t,e),super(t,t.rows,1),this.column=e}set(t,e,r){return this.matrix.set(t,this.column,r),this}get(t){return this.matrix.get(t,this.column)}},e.j=class extends M{constructor(t){super(t,t.rows,t.columns)}set(t,e,r){return this.matrix.set(t,this.columns-e-1,r),this}get(t,e){return this.matrix.get(t,this.columns-e-1)}},e.sO=class extends M{constructor(t){super(t,t.rows,t.columns)}set(t,e,r){return this.matrix.set(this.rows-t-1,e,r),this}get(t,e){return this.matrix.get(this.rows-t-1,e)}},e.BZ=class extends M{constructor(t,e){f(t,e),super(t,e.length,t.columns),this.rowIndices=e}set(t,e,r){return this.matrix.set(this.rowIndices[t],e,r),this}get(t,e){return this.matrix.get(this.rowIndices[t],e)}},e.EK=class extends M{constructor(t,e){d(t,e),super(t,1,t.columns),this.row=e}set(t,e,r){return this.matrix.set(this.row,e,r),this}get(t,e){return this.matrix.get(this.row,e)}},e.Db=_,e.Fx=class extends M{constructor(t,e,r,n,i){p(t,e,r,n,i),super(t,r-e+1,i-n+1),this.startRow=e,this.startColumn=n}set(t,e,r){return this.matrix.set(this.startRow+t,this.startColumn+e,r),this}get(t,e){return this.matrix.get(this.startRow+t,this.startColumn+e)}},e.tU=class extends M{constructor(t){super(t,t.columns,t.rows)}set(t,e,r){return this.matrix.set(e,t,r),this}get(t,e){return this.matrix.get(e,t)}},e.Ym=P,e.rs=P,e.QR=O,e.TB=O,e.oH=R,e.Sc=R,e.BN=E,e.it=k,e.$r=A,e.QM=function(t,e=t,r={}){t=new b(t);let i=!1;if("object"!=typeof e||b.isMatrix(e)||n.isAnyArray(e)?e=new b(e):(r=e,e=t,i=!0),t.rows!==e.rows)throw TypeError("Both matrices must have the same number of rows");let{center:o=!0,scale:s=!0}=r;o&&(t.center("column"),i||e.center("column")),s&&(t.scale("column"),i||e.scale("column"));let a=t.standardDeviation("column",{unbiased:!0}),u=i?a:e.standardDeviation("column",{unbiased:!0}),d=t.transpose().mmul(e);for(let e=0;ei)return Array(e.rows+1).fill(0);{let t=e.addRow(r,[0]);for(let e=0;ee?o[t]=1/o[t]:o[t]=0;return i.mmul(b.diag(o).mmul(n.transpose()))},e.F1=z,e.re=function(t,e){if(n.isAnyArray(t))return t[0]&&n.isAnyArray(t[0])?new A(t):new k(t,e);throw Error("the argument is not an array")}},33953:function(t,e,r){"use strict";function n(t,e,r,n,i){if(isNaN(e)||isNaN(r)||isNaN(n))return t;var o,s,a,u,d,l,h,c,f,g,p,m,v=t._root,y={data:i},w=t._x0,x=t._y0,b=t._z0,E=t._x1,N=t._y1,M=t._z1;if(!v)return t._root=y,t;for(;v.length;)if((c=e>=(s=(w+E)/2))?w=s:E=s,(f=r>=(a=(x+N)/2))?x=a:N=a,(g=n>=(u=(b+M)/2))?b=u:M=u,o=v,!(v=v[p=g<<2|f<<1|c]))return o[p]=y,t;if(d=+t._x.call(null,v.data),l=+t._y.call(null,v.data),h=+t._z.call(null,v.data),e===d&&r===l&&n===h)return y.next=v,o?o[p]=y:t._root=y,t;do o=o?o[p]=Array(8):t._root=Array(8),(c=e>=(s=(w+E)/2))?w=s:E=s,(f=r>=(a=(x+N)/2))?x=a:N=a,(g=n>=(u=(b+M)/2))?b=u:M=u;while((p=g<<2|f<<1|c)==(m=(h>=u)<<2|(l>=a)<<1|d>=s));return o[m]=v,o[p]=y,t}function i(t,e,r,n,i,o,s){this.node=t,this.x0=e,this.y0=r,this.z0=n,this.x1=i,this.y1=o,this.z1=s}function o(t){return t[0]}function s(t){return t[1]}function a(t){return t[2]}function u(t,e,r,n){var i=new d(null==e?o:e,null==r?s:r,null==n?a:n,NaN,NaN,NaN,NaN,NaN,NaN);return null==t?i:i.addAll(t)}function d(t,e,r,n,i,o,s,a,u){this._x=t,this._y=e,this._z=r,this._x0=n,this._y0=i,this._z0=o,this._x1=s,this._y1=a,this._z1=u,this._root=void 0}function l(t){for(var e={data:t.data},r=e;t=t.next;)r=r.next={data:t.data};return e}r.d(e,{Z:function(){return u}});var h=u.prototype=d.prototype;h.copy=function(){var t,e,r=new d(this._x,this._y,this._z,this._x0,this._y0,this._z0,this._x1,this._y1,this._z1),n=this._root;if(!n)return r;if(!n.length)return r._root=l(n),r;for(t=[{source:n,target:r._root=Array(8)}];n=t.pop();)for(var i=0;i<8;++i)(e=n.source[i])&&(e.length?t.push({source:e,target:n.target[i]=Array(8)}):n.target[i]=l(e));return r},h.add=function(t){let e=+this._x.call(null,t),r=+this._y.call(null,t),i=+this._z.call(null,t);return n(this.cover(e,r,i),e,r,i,t)},h.addAll=function(t){Array.isArray(t)||(t=Array.from(t));let e=t.length,r=new Float64Array(e),i=new Float64Array(e),o=new Float64Array(e),s=1/0,a=1/0,u=1/0,d=-1/0,l=-1/0,h=-1/0;for(let n=0,c,f,g,p;nd&&(d=f),gl&&(l=g),ph&&(h=p));if(s>d||a>l||u>h)return this;this.cover(s,a,u).cover(d,l,h);for(let s=0;st||t>=s||i>e||e>=a||o>r||r>=u;)switch(l=(rv)&&!((a=c.y0)>y)&&!((u=c.z0)>w)&&!((d=c.x1)=M)<<2|(e>=N)<<1|t>=E)&&(c=x[x.length-1],x[x.length-1]=x[x.length-1-f],x[x.length-1-f]=c)}else{var _=t-+this._x.call(null,b.data),k=e-+this._y.call(null,b.data),A=r-+this._z.call(null,b.data),S=_*_+k*k+A*A;if(S=(u=(v+x)/2))?v=u:x=u,(c=s>=(d=(y+b)/2))?y=d:b=d,(f=a>=(l=(w+E)/2))?w=l:E=l,e=m,!(m=m[g=f<<2|c<<1|h]))return this;if(!m.length)break;(e[g+1&7]||e[g+2&7]||e[g+3&7]||e[g+4&7]||e[g+5&7]||e[g+6&7]||e[g+7&7])&&(r=e,p=g)}for(;m.data!==t;)if(n=m,!(m=m.next))return this;return((i=m.next)&&delete m.next,n)?(i?n.next=i:delete n.next,this):e?(i?e[g]=i:delete e[g],(m=e[0]||e[1]||e[2]||e[3]||e[4]||e[5]||e[6]||e[7])&&m===(e[7]||e[6]||e[5]||e[4]||e[3]||e[2]||e[1]||e[0])&&!m.length&&(r?r[p]=m:this._root=m),this):(this._root=i,this)},h.removeAll=function(t){for(var e=0,r=t.length;e1&&void 0!==arguments[1]?arguments[1]:0,t=e[n];if("string"==typeof t&&t.length&&!o.has(t)){var a=document.createElement("script");a.setAttribute("src",t),a.setAttribute("data-namespace",t),e.length>n+1&&(a.onload=function(){d(e,n+1)},a.onerror=function(){d(e,n+1)}),o.add(t),document.body.appendChild(a)}}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.scriptUrl,t=e.extraCommonProps,o=void 0===t?{}:t;n&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(n)?d(n.reverse()):d([n]));var s=r.forwardRef(function(e,n){var t=e.type,d=e.children,s=(0,i.Z)(e,l),u=null;return e.type&&(u=r.createElement("use",{xlinkHref:"#".concat(t)})),d&&(u=d),r.createElement(c.Z,(0,a.Z)({},o,s,{ref:n}),u)});return s.displayName="Iconfont",s}},56466:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),i=t(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"appstore-add",theme:"outlined"},c=t(13401),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},61086:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),i=t(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-600-80h56c4.4 0 8-3.6 8-8V560c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V384c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v320c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V462c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v242c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v400c0 4.4 3.6 8 8 8z"}}]},name:"bar-chart",theme:"outlined"},c=t(13401),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},89035:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),i=t(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 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:"code",theme:"outlined"},c=t(13401),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},13520:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),i=t(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-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"database",theme:"outlined"},c=t(13401),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},13179:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),i=t(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z"}}]},name:"deployment-unit",theme:"outlined"},c=t(13401),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},97175:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),i=t(67294),r={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 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z"}}]},name:"file-excel",theme:"outlined"},c=t(13401),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},16801:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),i=t(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"}}]},name:"picture",theme:"outlined"},c=t(13401),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},48869:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),i=t(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552a398.46 398.46 0 00117.1 282.8c36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952a398.46 398.46 0 00282.8-117.1c36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552c0-88.7 34.5-172.1 97.2-234.8 54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8zM952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-4.7-.4-8.7 3.2-8.7 7.9V464c0 4.4 3.6 8 8 8l384-1c4.7 0 8.4-4 8-8.6zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z"}}]},name:"pie-chart",theme:"outlined"},c=t(13401),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},79383:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),i=t(67294),r={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V160a16 16 0 0116-16zm-52 68H212v200h200zm493.33 87.69a16 16 0 010 22.62L724.31 503.33a16 16 0 01-22.62 0L520.67 322.31a16 16 0 010-22.62l181.02-181.02a16 16 0 0122.62 0zm-84.85 11.3L713 203.53 605.52 311 713 418.48zM464 544a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V560a16 16 0 0116-16zm-52 68H212v200h200zm452-68a16 16 0 0116 16v304a16 16 0 01-16 16H560a16 16 0 01-16-16V560a16 16 0 0116-16zm-52 68H612v200h200z"}}]},name:"product",theme:"outlined"},c=t(13401),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},97879:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),i=t(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917 211.1l-199.2 24c-6.6.8-9.4 8.9-4.7 13.6l59.3 59.3-226 226-101.8-101.7c-6.3-6.3-16.4-6.2-22.6 0L100.3 754.1a8.03 8.03 0 000 11.3l45 45.2c3.1 3.1 8.2 3.1 11.3 0L433.3 534 535 635.7c6.3 6.2 16.4 6.2 22.6 0L829 364.5l59.3 59.3a8.01 8.01 0 0013.6-4.7l24-199.2c.7-5.1-3.7-9.5-8.9-8.8z"}}]},name:"rise",theme:"outlined"},c=t(13401),l=i.forwardRef(function(e,n){return i.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:r}))})},86738:function(e,n,t){t.d(n,{Z:function(){return z}});var a=t(67294),i=t(21640),r=t(93967),c=t.n(r),l=t(21770),o=t(98423),d=t(53124),s=t(55241),u=t(86743),m=t(81643),h=t(14726),f=t(33671),g=t(10110),p=t(24457),v=t(66330),b=t(83559);let $=e=>{let{componentCls:n,iconCls:t,antCls:a,zIndexPopup:i,colorText:r,colorWarning:c,marginXXS:l,marginXS:o,fontSize:d,fontWeightStrong:s,colorTextHeading:u}=e;return{[n]:{zIndex:i,[`&${a}-popover`]:{fontSize:d},[`${n}-message`]:{marginBottom:o,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${n}-message-icon ${t}`]:{color:c,fontSize:d,lineHeight:1,marginInlineEnd:o},[`${n}-title`]:{fontWeight:s,color:u,"&:only-child":{fontWeight:"normal"}},[`${n}-description`]:{marginTop:l,color:r}},[`${n}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:o}}}}};var y=(0,b.I$)("Popconfirm",e=>$(e),e=>{let{zIndexPopupBase:n}=e;return{zIndexPopup:n+60}},{resetStyle:!1}),w=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>n.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,a=Object.getOwnPropertySymbols(e);in.indexOf(a[i])&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(t[a[i]]=e[a[i]]);return t};let E=e=>{let{prefixCls:n,okButtonProps:t,cancelButtonProps:r,title:c,description:l,cancelText:o,okText:s,okType:v="primary",icon:b=a.createElement(i.Z,null),showCancel:$=!0,close:y,onConfirm:w,onCancel:E,onPopupClick:k}=e,{getPrefixCls:I}=a.useContext(d.E_),[z]=(0,g.Z)("Popconfirm",p.Z.Popconfirm),C=(0,m.Z)(c),S=(0,m.Z)(l);return a.createElement("div",{className:`${n}-inner-content`,onClick:k},a.createElement("div",{className:`${n}-message`},b&&a.createElement("span",{className:`${n}-message-icon`},b),a.createElement("div",{className:`${n}-message-text`},C&&a.createElement("div",{className:`${n}-title`},C),S&&a.createElement("div",{className:`${n}-description`},S))),a.createElement("div",{className:`${n}-buttons`},$&&a.createElement(h.ZP,Object.assign({onClick:E,size:"small"},r),o||(null==z?void 0:z.cancelText)),a.createElement(u.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,f.nx)(v)),t),actionFn:w,close:y,prefixCls:I("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},s||(null==z?void 0:z.okText))))};var k=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>n.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,a=Object.getOwnPropertySymbols(e);in.indexOf(a[i])&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(t[a[i]]=e[a[i]]);return t};let I=a.forwardRef((e,n)=>{var t,r;let{prefixCls:u,placement:m="top",trigger:h="click",okType:f="primary",icon:g=a.createElement(i.Z,null),children:p,overlayClassName:v,onOpenChange:b,onVisibleChange:$}=e,w=k(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:I}=a.useContext(d.E_),[z,C]=(0,l.Z)(!1,{value:null!==(t=e.open)&&void 0!==t?t:e.visible,defaultValue:null!==(r=e.defaultOpen)&&void 0!==r?r:e.defaultVisible}),S=(e,n)=>{C(e,!0),null==$||$(e),null==b||b(e,n)},Z=I("popconfirm",u),x=c()(Z,v),[O]=y(Z);return O(a.createElement(s.Z,Object.assign({},(0,o.Z)(w,["title"]),{trigger:h,placement:m,onOpenChange:(n,t)=>{let{disabled:a=!1}=e;a||S(n,t)},open:z,ref:n,overlayClassName:x,content:a.createElement(E,Object.assign({okType:f,icon:g},e,{prefixCls:Z,close:e=>{S(!1,e)},onConfirm:n=>{var t;return null===(t=e.onConfirm)||void 0===t?void 0:t.call(void 0,n)},onCancel:n=>{var t;S(!1,n),null===(t=e.onCancel)||void 0===t||t.call(void 0,n)}})),"data-popover-inject":!0}),p))});I._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:n,placement:t,className:i,style:r}=e,l=w(e,["prefixCls","placement","className","style"]),{getPrefixCls:o}=a.useContext(d.E_),s=o("popconfirm",n),[u]=y(s);return u(a.createElement(v.ZP,{placement:t,className:c()(s,i),style:r,content:a.createElement(E,Object.assign({prefixCls:s},l))}))};var z=I},72269:function(e,n,t){t.d(n,{Z:function(){return H}});var a=t(67294),i=t(50888),r=t(93967),c=t.n(r),l=t(87462),o=t(4942),d=t(97685),s=t(45987),u=t(21770),m=t(15105),h=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],f=a.forwardRef(function(e,n){var t,i=e.prefixCls,r=void 0===i?"rc-switch":i,f=e.className,g=e.checked,p=e.defaultChecked,v=e.disabled,b=e.loadingIcon,$=e.checkedChildren,y=e.unCheckedChildren,w=e.onClick,E=e.onChange,k=e.onKeyDown,I=(0,s.Z)(e,h),z=(0,u.Z)(!1,{value:g,defaultValue:p}),C=(0,d.Z)(z,2),S=C[0],Z=C[1];function x(e,n){var t=S;return v||(Z(t=e),null==E||E(t,n)),t}var O=c()(r,f,(t={},(0,o.Z)(t,"".concat(r,"-checked"),S),(0,o.Z)(t,"".concat(r,"-disabled"),v),t));return a.createElement("button",(0,l.Z)({},I,{type:"button",role:"switch","aria-checked":S,disabled:v,className:O,ref:n,onKeyDown:function(e){e.which===m.Z.LEFT?x(!1,e):e.which===m.Z.RIGHT&&x(!0,e),null==k||k(e)},onClick:function(e){var n=x(!S,e);null==w||w(n,e)}}),b,a.createElement("span",{className:"".concat(r,"-inner")},a.createElement("span",{className:"".concat(r,"-inner-checked")},$),a.createElement("span",{className:"".concat(r,"-inner-unchecked")},y)))});f.displayName="Switch";var g=t(45353),p=t(53124),v=t(98866),b=t(98675),$=t(25446),y=t(10274),w=t(14747),E=t(83559),k=t(83262);let I=e=>{let{componentCls:n,trackHeightSM:t,trackPadding:a,trackMinWidthSM:i,innerMinMarginSM:r,innerMaxMarginSM:c,handleSizeSM:l,calc:o}=e,d=`${n}-inner`,s=(0,$.bf)(o(l).add(o(a).mul(2)).equal()),u=(0,$.bf)(o(c).mul(2).equal());return{[n]:{[`&${n}-small`]:{minWidth:i,height:t,lineHeight:(0,$.bf)(t),[`${n}-inner`]:{paddingInlineStart:c,paddingInlineEnd:r,[`${d}-checked, ${d}-unchecked`]:{minHeight:t},[`${d}-checked`]:{marginInlineStart:`calc(-100% + ${s} - ${u})`,marginInlineEnd:`calc(100% - ${s} + ${u})`},[`${d}-unchecked`]:{marginTop:o(t).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${n}-handle`]:{width:l,height:l},[`${n}-loading-icon`]:{top:o(o(l).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${n}-checked`]:{[`${n}-inner`]:{paddingInlineStart:r,paddingInlineEnd:c,[`${d}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${d}-unchecked`]:{marginInlineStart:`calc(100% - ${s} + ${u})`,marginInlineEnd:`calc(-100% + ${s} - ${u})`}},[`${n}-handle`]:{insetInlineStart:`calc(100% - ${(0,$.bf)(o(l).add(a).equal())})`}},[`&:not(${n}-disabled):active`]:{[`&:not(${n}-checked) ${d}`]:{[`${d}-unchecked`]:{marginInlineStart:o(e.marginXXS).div(2).equal(),marginInlineEnd:o(e.marginXXS).mul(-1).div(2).equal()}},[`&${n}-checked ${d}`]:{[`${d}-checked`]:{marginInlineStart:o(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:o(e.marginXXS).div(2).equal()}}}}}}},z=e=>{let{componentCls:n,handleSize:t,calc:a}=e;return{[n]:{[`${n}-loading-icon${e.iconCls}`]:{position:"relative",top:a(a(t).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${n}-checked ${n}-loading-icon`]:{color:e.switchColor}}}},C=e=>{let{componentCls:n,trackPadding:t,handleBg:a,handleShadow:i,handleSize:r,calc:c}=e,l=`${n}-handle`;return{[n]:{[l]:{position:"absolute",top:t,insetInlineStart:t,width:r,height:r,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:a,borderRadius:c(r).div(2).equal(),boxShadow:i,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${n}-checked ${l}`]:{insetInlineStart:`calc(100% - ${(0,$.bf)(c(r).add(t).equal())})`},[`&:not(${n}-disabled):active`]:{[`${l}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${n}-checked ${l}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},S=e=>{let{componentCls:n,trackHeight:t,trackPadding:a,innerMinMargin:i,innerMaxMargin:r,handleSize:c,calc:l}=e,o=`${n}-inner`,d=(0,$.bf)(l(c).add(l(a).mul(2)).equal()),s=(0,$.bf)(l(r).mul(2).equal());return{[n]:{[o]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:r,paddingInlineEnd:i,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${o}-checked, ${o}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:t},[`${o}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${s})`,marginInlineEnd:`calc(100% - ${d} + ${s})`},[`${o}-unchecked`]:{marginTop:l(t).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${n}-checked ${o}`]:{paddingInlineStart:i,paddingInlineEnd:r,[`${o}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${o}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${s})`,marginInlineEnd:`calc(-100% + ${d} - ${s})`}},[`&:not(${n}-disabled):active`]:{[`&:not(${n}-checked) ${o}`]:{[`${o}-unchecked`]:{marginInlineStart:l(a).mul(2).equal(),marginInlineEnd:l(a).mul(-1).mul(2).equal()}},[`&${n}-checked ${o}`]:{[`${o}-checked`]:{marginInlineStart:l(a).mul(-1).mul(2).equal(),marginInlineEnd:l(a).mul(2).equal()}}}}}},Z=e=>{let{componentCls:n,trackHeight:t,trackMinWidth:a}=e;return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,w.Wf)(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:a,height:t,lineHeight:(0,$.bf)(t),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${n}-disabled)`]:{background:e.colorTextTertiary}}),(0,w.Qy)(e)),{[`&${n}-checked`]:{background:e.switchColor,[`&:hover:not(${n}-disabled)`]:{background:e.colorPrimaryHover}},[`&${n}-loading, &${n}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${n}-rtl`]:{direction:"rtl"}})}};var x=(0,E.I$)("Switch",e=>{let n=(0,k.IX)(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Z(n),S(n),C(n),z(n),I(n)]},e=>{let{fontSize:n,lineHeight:t,controlHeight:a,colorWhite:i}=e,r=n*t,c=a/2,l=r-4,o=c-4;return{trackHeight:r,trackHeightSM:c,trackMinWidth:2*l+8,trackMinWidthSM:2*o+4,trackPadding:2,handleBg:i,handleSize:l,handleSizeSM:o,handleShadow:`0 2px 4px 0 ${new y.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:l/2,innerMaxMargin:l+2+4,innerMinMarginSM:o/2,innerMaxMarginSM:o+2+4}}),O=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>n.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,a=Object.getOwnPropertySymbols(e);in.indexOf(a[i])&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(t[a[i]]=e[a[i]]);return t};let V=a.forwardRef((e,n)=>{let{prefixCls:t,size:r,disabled:l,loading:o,className:d,rootClassName:s,style:m,checked:h,value:$,defaultChecked:y,defaultValue:w,onChange:E}=e,k=O(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[I,z]=(0,u.Z)(!1,{value:null!=h?h:$,defaultValue:null!=y?y:w}),{getPrefixCls:C,direction:S,switch:Z}=a.useContext(p.E_),V=a.useContext(v.Z),H=(null!=l?l:V)||o,M=C("switch",t),N=a.createElement("div",{className:`${M}-handle`},o&&a.createElement(i.Z,{className:`${M}-loading-icon`})),[j,L,R]=x(M),q=(0,b.Z)(r),P=c()(null==Z?void 0:Z.className,{[`${M}-small`]:"small"===q,[`${M}-loading`]:o,[`${M}-rtl`]:"rtl"===S},d,s,L,R),A=Object.assign(Object.assign({},null==Z?void 0:Z.style),m);return j(a.createElement(g.Z,{component:"Switch"},a.createElement(f,Object.assign({},k,{checked:I,onChange:function(){z(arguments.length<=0?void 0:arguments[0]),null==E||E.apply(void 0,arguments)},prefixCls:M,className:P,style:A,disabled:H,ref:n,loadingIcon:N}))))});V.__ANT_SWITCH=!0;var H=V},25934:function(e,n,t){t.d(n,{Z:function(){return s}});var a,i=new Uint8Array(16);function r(){if(!a&&!(a="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a(i)}for(var c=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,l=[],o=0;o<256;++o)l.push((o+256).toString(16).substr(1));var d=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=(l[e[n+0]]+l[e[n+1]]+l[e[n+2]]+l[e[n+3]]+"-"+l[e[n+4]]+l[e[n+5]]+"-"+l[e[n+6]]+l[e[n+7]]+"-"+l[e[n+8]]+l[e[n+9]]+"-"+l[e[n+10]]+l[e[n+11]]+l[e[n+12]]+l[e[n+13]]+l[e[n+14]]+l[e[n+15]]).toLowerCase();if(!("string"==typeof t&&c.test(t)))throw TypeError("Stringified UUID is invalid");return t},s=function(e,n,t){var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,n){t=t||0;for(var i=0;i<16;++i)n[t+i]=a[i];return n}return d(a)}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4769.5653cbc64ff693b3.js b/dbgpt/app/static/web/_next/static/chunks/4769.5653cbc64ff693b3.js new file mode 100644 index 000000000..8619ec448 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/4769.5653cbc64ff693b3.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4769],{36517:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return eI}});var n=l(85893),a=l(41468),s=l(76212),r=l(43446),o=l(62418),i=l(2093),c=l(93967),d=l.n(c),u=l(39332),x=l(67294),m=l(39156),h=l(91085),p=l(45247),f=()=>{let{history:e,setHistory:t,chatId:l,model:n,docId:o}=(0,x.useContext)(a.p),{chat:i}=(0,r.Z)({queryAgentURL:"/knowledge/document/summary"}),c=(0,x.useCallback)(async e=>{let[,a]=await (0,s.Vx)((0,s.$i)(l)),r=[...a,{role:"human",context:"",model_name:n,order:0,time_stamp:0},{role:"view",context:"",model_name:n,order:0,time_stamp:0,retry:!0}],c=r.length-1;t([...r]),await i({data:{doc_id:e||o,model_name:n},chatId:l,onMessage:e=>{r[c].context=e,t([...r])}})},[e,n,o,l]);return c},v=l(87740),g=l(57132),j=l(66478),w=l(14553),b=l(45360),y=l(83062),Z=l(85576),_=l(20640),N=l.n(_),C=l(96486),P=l(67421),k=l(27496),S=l(25278),R=l(14726),E=l(11163),I=l(82353),D=l(1051);function F(e){let{document:t}=e;switch(t.status){case"RUNNING":return(0,n.jsx)(I.Rp,{});case"FINISHED":default:return(0,n.jsx)(I.s2,{});case"FAILED":return(0,n.jsx)(D.Z,{})}}function M(e){let{documents:t,dbParam:l}=e,a=(0,E.useRouter)(),s=e=>{a.push("/knowledge/chunk/?spaceName=".concat(l,"&id=").concat(e))};return(null==t?void 0:t.length)?(0,n.jsx)("div",{className:"absolute flex overflow-scroll h-12 top-[-35px] w-full z-10",children:t.map(e=>{let t;switch(e.status){case"RUNNING":t="#2db7f5";break;case"FINISHED":default:t="#87d068";break;case"FAILED":t="#f50"}return(0,n.jsx)(y.Z,{title:e.result,children:(0,n.jsxs)(R.ZP,{style:{color:t},onClick:()=>{s(e.id)},className:"shrink flex items-center mr-3",children:[(0,n.jsx)(F,{document:e}),e.doc_name]})},e.id)})}):null}var U=l(5392),L=l(23799);function O(e){let{dbParam:t,setDocId:l}=(0,x.useContext)(a.p),{onUploadFinish:r,handleFinish:o}=e,i=f(),[c,d]=(0,x.useState)(!1),u=async e=>{d(!0);let n=new FormData;n.append("doc_name",e.file.name),n.append("doc_file",e.file),n.append("doc_type","DOCUMENT");let a=await (0,s.Vx)((0,s.iG)(t||"default",n));if(!a[1]){d(!1);return}l(a[1]),r(),d(!1),null==o||o(!0),await i(a[1]),null==o||o(!1)};return(0,n.jsx)(L.default,{customRequest:u,showUploadList:!1,maxCount:1,multiple:!1,className:"absolute z-10 top-2 left-2",accept:".pdf,.ppt,.pptx,.xls,.xlsx,.doc,.docx,.txt,.md",children:(0,n.jsx)(R.ZP,{loading:c,size:"small",shape:"circle",icon:(0,n.jsx)(U.Z,{})})})}var $=l(30119),A=l(65654),V=l(2487),G=l(28459),z=l(55241),H=l(99859),q=l(34041),B=l(12652);let T=e=>{let{data:t,loading:l,submit:a,close:s}=e,{t:r}=(0,P.$G)(),o=e=>()=>{a(e),s()};return(0,n.jsx)("div",{style:{maxHeight:400,overflow:"auto"},children:(0,n.jsx)(V.Z,{dataSource:null==t?void 0:t.data,loading:l,rowKey:e=>e.prompt_name,renderItem:e=>(0,n.jsx)(V.Z.Item,{onClick:o(e.content),children:(0,n.jsx)(y.Z,{title:e.content,children:(0,n.jsx)(V.Z.Item.Meta,{style:{cursor:"copy"},title:e.prompt_name,description:r("Prompt_Info_Scene")+":".concat(e.chat_scene,",")+r("Prompt_Info_Sub_Scene")+":".concat(e.sub_chat_scene)})})},e.prompt_name)})})};var J=e=>{let{submit:t}=e,{t:l}=(0,P.$G)(),[a,s]=(0,x.useState)(!1),[r,o]=(0,x.useState)("common"),{data:i,loading:c}=(0,A.Z)(()=>(0,$.PR)("/prompt/list",{prompt_type:r}),{refreshDeps:[r],onError:e=>{b.ZP.error(null==e?void 0:e.message)}});return(0,n.jsx)(G.ZP,{theme:{components:{Popover:{minWidth:250}}},children:(0,n.jsx)(z.Z,{title:(0,n.jsx)(H.default.Item,{label:"Prompt "+l("Type"),children:(0,n.jsx)(q.default,{style:{width:150},value:r,onChange:e=>{o(e)},options:[{label:l("Public")+" Prompts",value:"common"},{label:l("Private")+" Prompts",value:"private"}]})}),content:(0,n.jsx)(T,{data:i,loading:c,submit:t,close:()=>{s(!1)}}),placement:"topRight",trigger:"click",open:a,onOpenChange:e=>{s(e)},children:(0,n.jsx)(y.Z,{title:l("Click_Select")+" Prompt",children:(0,n.jsx)(B.Z,{className:"bottom-[30%]"})})})})},Q=function(e){let{children:t,loading:l,onSubmit:r,handleFinish:o,placeholder:i,...c}=e,{dbParam:d,scene:u}=(0,x.useContext)(a.p),[m,h]=(0,x.useState)(""),p=(0,x.useMemo)(()=>"chat_knowledge"===u,[u]),[f,v]=(0,x.useState)([]),g=(0,x.useRef)(0);async function j(){if(!d)return null;let[e,t]=await (0,s.Vx)((0,s._Q)(d,{page:1,page_size:g.current}));v((null==t?void 0:t.data)||[])}(0,x.useEffect)(()=>{p&&j()},[d]);let w=async()=>{g.current+=1,await j()};return(0,n.jsxs)("div",{className:"flex-1 relative",children:[(0,n.jsx)(M,{documents:f,dbParam:d}),p&&(0,n.jsx)(O,{handleFinish:o,onUploadFinish:w,className:"absolute z-10 top-2 left-2"}),(0,n.jsx)(S.default.TextArea,{className:"flex-1 ".concat(p?"pl-10":""," pr-10"),size:"large",value:m,autoSize:{minRows:1,maxRows:4},...c,onPressEnter:e=>{if(m.trim()&&13===e.keyCode){if(e.shiftKey){e.preventDefault(),h(e=>e+"\n");return}r(m),setTimeout(()=>{h("")},0)}},onChange:e=>{if("number"==typeof c.maxLength){h(e.target.value.substring(0,c.maxLength));return}h(e.target.value)},placeholder:i}),(0,n.jsx)(R.ZP,{className:"ml-2 flex items-center justify-center absolute right-0 bottom-0",size:"large",type:"text",loading:l,icon:(0,n.jsx)(k.Z,{}),onClick:()=>{r(m)}}),(0,n.jsx)(J,{submit:e=>{h(m+e)}}),t]})},W=l(87554),K=l(14660),X=l(30853),Y=(0,x.memo)(function(e){var t;let{content:l}=e,{scene:s}=(0,x.useContext)(a.p),r="view"===l.role;return(0,n.jsx)("div",{className:d()("relative w-full p-2 md:p-4 rounded-xl break-words",{"bg-white dark:bg-[#232734]":r,"lg:w-full xl:w-full pl-0":["chat_with_db_execute","chat_dashboard"].includes(s)}),children:r?(0,n.jsx)(W.Z,{components:X.Z,rehypePlugins:[K.Z],children:null==(t=l.context)?void 0:t.replace(/]+)>/gi,"").replace(/]+)>/gi,"")}):(0,n.jsx)("div",{className:"",children:l.context})})}),ee=l(24019),et=l(50888),el=l(97937),en=l(63606),ea=l(50228),es=l(87547),er=l(89035),eo=l(66309),ei=l(55186),ec=l(81799);let ed={todo:{bgClass:"bg-gray-500",icon:(0,n.jsx)(ee.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,n.jsx)(et.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,n.jsx)(el.Z,{className:"ml-2"})},completed:{bgClass:"bg-green-500",icon:(0,n.jsx)(en.Z,{className:"ml-2"})}};function eu(e){return e.replaceAll("\\n","\n").replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"")}var ex=(0,x.memo)(function(e){let{children:t,content:l,isChartChat:s,onLinkClick:r}=e,{scene:o}=(0,x.useContext)(a.p),{context:i,model_name:c,role:u}=l,m="view"===u,{relations:h,value:p,cachePluginContext:f}=(0,x.useMemo)(()=>{if("string"!=typeof i)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=i.split(" relations:"),l=t?t.split(","):[],n=[],a=0,s=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let l=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),s=JSON.parse(l),r="".concat(a,"");return n.push({...s,result:eu(null!==(t=s.result)&&void 0!==t?t:"")}),a++,r}catch(t){return console.log(t.message,t),e}});return{relations:l,cachePluginContext:n,value:s}},[i]),v=(0,x.useMemo)(()=>({"custom-view"(e){var t;let{children:l}=e,a=+l.toString();if(!f[a])return l;let{name:s,status:r,err_msg:o,result:i}=f[a],{bgClass:c,icon:u}=null!==(t=ed[r])&&void 0!==t?t:{};return(0,n.jsxs)("div",{className:"bg-white dark:bg-[#212121] rounded-lg overflow-hidden my-2 flex flex-col lg:max-w-[80%]",children:[(0,n.jsxs)("div",{className:d()("flex px-4 md:px-6 py-2 items-center text-white text-sm",c),children:[s,u]}),i?(0,n.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:(0,n.jsx)(W.Z,{components:X.Z,rehypePlugins:[K.Z],remarkPlugins:[ei.Z],children:null!=i?i:""})}):(0,n.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:o})]})}}),[i,f]);return m||i?(0,n.jsxs)("div",{className:d()("relative flex flex-wrap w-full p-2 md:p-4 rounded-xl break-words",{"bg-white dark:bg-[#232734]":m,"lg:w-full xl:w-full pl-0":["chat_with_db_execute","chat_dashboard"].includes(o)}),children:[(0,n.jsx)("div",{className:"mr-2 flex flex-shrink-0 items-center justify-center h-7 w-7 rounded-full text-lg sm:mr-4",children:m?(0,ec.A)(c)||(0,n.jsx)(ea.Z,{}):(0,n.jsx)(es.Z,{})}),(0,n.jsxs)("div",{className:"flex-1 overflow-hidden items-center text-md leading-8 pb-2",children:[!m&&"string"==typeof i&&i,m&&s&&"object"==typeof i&&(0,n.jsxs)("div",{children:["[".concat(i.template_name,"]: "),(0,n.jsxs)("span",{className:"text-theme-primary cursor-pointer",onClick:r,children:[(0,n.jsx)(er.Z,{className:"mr-1"}),i.template_introduce||"More Details"]})]}),m&&"string"==typeof i&&(0,n.jsx)(W.Z,{components:{...X.Z,...v},rehypePlugins:[K.Z],remarkPlugins:[ei.Z],children:eu(p)}),!!(null==h?void 0:h.length)&&(0,n.jsx)("div",{className:"flex flex-wrap mt-2",children:null==h?void 0:h.map((e,t)=>(0,n.jsx)(eo.Z,{color:"#108ee9",children:e},e+t))})]}),t]}):(0,n.jsx)("div",{className:"h-12"})}),em=l(59301),eh=l(41132),ep=l(74312),ef=l(3414),ev=l(72868),eg=l(59562),ej=l(25359),ew=l(7203),eb=l(48665),ey=l(26047),eZ=l(99056),e_=l(57814),eN=l(64415),eC=l(21694),eP=l(40911),ek=e=>{var t;let{conv_index:l,question:r,knowledge_space:o,select_param:i}=e,{t:c}=(0,P.$G)(),{chatId:d}=(0,x.useContext)(a.p),[u,m]=(0,x.useState)(""),[h,p]=(0,x.useState)(4),[f,v]=(0,x.useState)(""),g=(0,x.useRef)(null),[Z,_]=b.ZP.useMessage(),N=(0,x.useCallback)((e,t)=>{t?(0,s.Vx)((0,s.Eb)(d,l)).then(e=>{var t,l,n,a;let s=null!==(t=e[1])&&void 0!==t?t:{};m(null!==(l=s.ques_type)&&void 0!==l?l:""),p(parseInt(null!==(n=s.score)&&void 0!==n?n:"4")),v(null!==(a=s.messages)&&void 0!==a?a:"")}).catch(e=>{console.log(e)}):(m(""),p(4),v(""))},[d,l]),C=(0,ep.Z)(ef.Z)(e=>{let{theme:t}=e;return{backgroundColor:"dark"===t.palette.mode?"#FBFCFD":"#0E0E10",...t.typography["body-sm"],padding:t.spacing(1),display:"flex",alignItems:"center",justifyContent:"center",borderRadius:4,width:"100%",height:"100%"}});return(0,n.jsxs)(ev.L,{onOpenChange:N,children:[_,(0,n.jsx)(y.Z,{title:c("Rating"),children:(0,n.jsx)(eg.Z,{slots:{root:w.ZP},slotProps:{root:{variant:"plain",color:"primary"}},sx:{borderRadius:40},children:(0,n.jsx)(em.Z,{})})}),(0,n.jsxs)(ej.Z,{children:[(0,n.jsx)(ew.Z,{disabled:!0,sx:{minHeight:0}}),(0,n.jsx)(eb.Z,{sx:{width:"100%",maxWidth:350,display:"grid",gap:3,padding:1},children:(0,n.jsx)("form",{onSubmit:e=>{e.preventDefault(),(0,s.Vx)((0,s.VC)({data:{conv_uid:d,conv_index:l,question:r,knowledge_space:o,score:h,ques_type:u,messages:f}})).then(e=>{Z.open({type:"success",content:"save success"})}).catch(e=>{Z.open({type:"error",content:"save error"})})},children:(0,n.jsxs)(ey.Z,{container:!0,spacing:.5,columns:13,sx:{flexGrow:1},children:[(0,n.jsx)(ey.Z,{xs:3,children:(0,n.jsx)(C,{children:c("Q_A_Category")})}),(0,n.jsx)(ey.Z,{xs:10,children:(0,n.jsx)(eZ.Z,{action:g,value:u,placeholder:"Choose one…",onChange:(e,t)=>m(null!=t?t:""),...u&&{endDecorator:(0,n.jsx)(w.ZP,{size:"sm",variant:"plain",color:"neutral",onMouseDown:e=>{e.stopPropagation()},onClick:()=>{var e;m(""),null===(e=g.current)||void 0===e||e.focusVisible()},children:(0,n.jsx)(eh.Z,{})}),indicator:null},sx:{width:"100%"},children:i&&(null===(t=Object.keys(i))||void 0===t?void 0:t.map(e=>(0,n.jsx)(e_.Z,{value:e,children:i[e]},e)))})}),(0,n.jsx)(ey.Z,{xs:3,children:(0,n.jsx)(C,{children:(0,n.jsx)(y.Z,{title:(0,n.jsx)(eb.Z,{children:(0,n.jsx)("div",{children:c("feed_back_desc")})}),variant:"solid",placement:"left",children:c("Q_A_Rating")})})}),(0,n.jsx)(ey.Z,{xs:10,sx:{pl:0,ml:0},children:(0,n.jsx)(eN.Z,{"aria-label":"Custom",step:1,min:0,max:5,valueLabelFormat:function(e){return({0:c("Lowest"),1:c("Missed"),2:c("Lost"),3:c("Incorrect"),4:c("Verbose"),5:c("Best")})[e]},valueLabelDisplay:"on",marks:[{value:0,label:"0"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"}],sx:{width:"90%",pt:3,m:2,ml:1},onChange:e=>{var t;return p(null===(t=e.target)||void 0===t?void 0:t.value)},value:h})}),(0,n.jsx)(ey.Z,{xs:13,children:(0,n.jsx)(eC.Z,{placeholder:c("Please_input_the_text"),value:f,onChange:e=>v(e.target.value),minRows:2,maxRows:4,endDecorator:(0,n.jsx)(eP.ZP,{level:"body-xs",sx:{ml:"auto"},children:c("input_count")+f.length+c("input_unit")}),sx:{width:"100%",fontSize:14}})}),(0,n.jsx)(ey.Z,{xs:13,children:(0,n.jsx)(j.Z,{type:"submit",variant:"outlined",sx:{width:"100%",height:"100%"},children:c("submit")})})]})})})]})]})},eS=l(74434),eR=e=>{var t,l;let{messages:r,onSubmit:c}=e,{dbParam:m,currentDialogue:p,scene:_,model:k,refreshDialogList:S,chatId:R,agent:E,docId:I}=(0,x.useContext)(a.p),{t:D}=(0,P.$G)(),F=(0,u.useSearchParams)(),M=null!==(t=F&&F.get("select_param"))&&void 0!==t?t:"",U=null!==(l=F&&F.get("spaceNameOriginal"))&&void 0!==l?l:"",[L,O]=(0,x.useState)(!1),[$,A]=(0,x.useState)(!1),[V,G]=(0,x.useState)(r),[z,H]=(0,x.useState)(""),[q,B]=(0,x.useState)(),T=(0,x.useRef)(null),J=(0,x.useMemo)(()=>"chat_dashboard"===_,[_]),W=f(),K=(0,x.useMemo)(()=>{switch(_){case"chat_agent":return E;case"chat_excel":return null==p?void 0:p.select_param;case"chat_flow":return M;default:return U||m}},[_,E,p,m,U,M]),X=async e=>{if(!L&&e.trim()){if("chat_agent"===_&&!E){b.ZP.warning(D("choice_agent_tip"));return}try{O(!0),await c(e,{select_param:null!=K?K:""})}finally{O(!1)}}},ee=e=>{try{return JSON.parse(e)}catch(t){return e}},[et,el]=b.ZP.useMessage(),en=async e=>{let t=null==e?void 0:e.replace(/\trelations:.*/g,""),l=N()(t);l?t?et.open({type:"success",content:D("copy_success")}):et.open({type:"warning",content:D("copy_nothing")}):et.open({type:"error",content:D("copy_failed")})},ea=async()=>{!L&&I&&(O(!0),await W(I),O(!1))};return(0,i.Z)(async()=>{let e=(0,o.a_)();e&&e.id===R&&(await X(e.message),S(),localStorage.removeItem(o.rU))},[R]),(0,x.useEffect)(()=>{let e=r;J&&(e=(0,C.cloneDeep)(r).map(e=>((null==e?void 0:e.role)==="view"&&"string"==typeof(null==e?void 0:e.context)&&(e.context=ee(null==e?void 0:e.context)),e))),G(e.filter(e=>["view","human"].includes(e.role)))},[J,r]),(0,x.useEffect)(()=>{(0,s.Vx)((0,s.Lu)()).then(e=>{var t;B(null!==(t=e[1])&&void 0!==t?t:{})}).catch(e=>{console.log(e)})},[]),(0,x.useEffect)(()=>{setTimeout(()=>{var e;null===(e=T.current)||void 0===e||e.scrollTo(0,T.current.scrollHeight)},50)},[r]),(0,n.jsxs)(n.Fragment,{children:[el,(0,n.jsx)("div",{ref:T,className:"flex flex-1 overflow-y-auto pb-8 w-full flex-col",children:(0,n.jsx)("div",{className:"flex items-center flex-1 flex-col text-sm leading-6 text-slate-900 dark:text-slate-300 sm:text-base sm:leading-7",children:V.length?V.map((e,t)=>{var l;return"chat_agent"===_?(0,n.jsx)(Y,{content:e},t):(0,n.jsx)(ex,{content:e,isChartChat:J,onLinkClick:()=>{A(!0),H(JSON.stringify(null==e?void 0:e.context,null,2))},children:"view"===e.role&&(0,n.jsxs)("div",{className:"flex w-full border-t border-gray-200 dark:border-theme-dark",children:["chat_knowledge"===_&&e.retry?(0,n.jsxs)(j.Z,{onClick:ea,slots:{root:w.ZP},slotProps:{root:{variant:"plain",color:"primary"}},children:[(0,n.jsx)(v.Z,{}),"\xa0",(0,n.jsx)("span",{className:"text-sm",children:D("Retry")})]}):null,(0,n.jsxs)("div",{className:"flex w-full flex-row-reverse",children:[(0,n.jsx)(ek,{select_param:q,conv_index:Math.ceil((t+1)/2),question:null===(l=null==V?void 0:V.filter(t=>(null==t?void 0:t.role)==="human"&&(null==t?void 0:t.order)===e.order)[0])||void 0===l?void 0:l.context,knowledge_space:U||m||""}),(0,n.jsx)(y.Z,{title:D("Copy_Btn"),children:(0,n.jsx)(j.Z,{onClick:()=>en(null==e?void 0:e.context),slots:{root:w.ZP},slotProps:{root:{variant:"plain",color:"primary"}},sx:{borderRadius:40},children:(0,n.jsx)(g.Z,{})})})]})]})},t)}):(0,n.jsx)(h.Z,{description:"Start a conversation"})})}),(0,n.jsx)("div",{className:d()("relative after:absolute after:-top-8 after:h-8 after:w-full after:bg-gradient-to-t after:from-theme-light after:to-transparent dark:after:from-theme-dark",{"cursor-not-allowed":"chat_excel"===_&&!(null==p?void 0:p.select_param)}),children:(0,n.jsxs)("div",{className:"flex flex-wrap w-full py-2 sm:pt-6 sm:pb-10 items-center",children:[k&&(0,n.jsx)("div",{className:"mr-2 flex",children:(0,ec.A)(k)}),(0,n.jsx)(Q,{loading:L,onSubmit:X,handleFinish:O})]})}),(0,n.jsx)(Z.default,{title:"JSON Editor",open:$,width:"60%",cancelButtonProps:{hidden:!0},onOk:()=>{A(!1)},onCancel:()=>{A(!1)},children:(0,n.jsx)(eS.Z,{className:"w-full h-[500px]",language:"json",value:z})})]})},eE=l(34625),eI=()=>{var e;let t=(0,u.useSearchParams)(),{scene:l,chatId:c,model:f,agent:v,setModel:g,history:j,setHistory:w}=(0,x.useContext)(a.p),{chat:b}=(0,r.Z)({}),y=null!==(e=t&&t.get("initMessage"))&&void 0!==e?e:"",[Z,_]=(0,x.useState)(!1),[N,C]=(0,x.useState)(),P=async()=>{_(!0);let[,e]=await (0,s.Vx)((0,s.$i)(c));w(null!=e?e:[]),_(!1)},k=e=>{var t;let l=null===(t=e[e.length-1])||void 0===t?void 0:t.context;if(l)try{let e="string"==typeof l?JSON.parse(l):l;C((null==e?void 0:e.template_name)==="report"?null==e?void 0:e.charts:void 0)}catch(e){console.log(e),C([])}};(0,i.Z)(async()=>{let e=(0,o.a_)();e&&e.id===c||await P()},[y,c]),(0,x.useEffect)(()=>{var e,t;if(!j.length)return;let l=null===(e=null===(t=j.filter(e=>"view"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];(null==l?void 0:l.model_name)&&g(l.model_name),k(j)},[j.length]),(0,x.useEffect)(()=>()=>{w([])},[]);let S=(0,x.useCallback)((e,t)=>new Promise(n=>{let a=[...j,{role:"human",context:e,model_name:f,order:0,time_stamp:0},{role:"view",context:"",model_name:f,order:0,time_stamp:0}],s=a.length-1;w([...a]),b({data:{...t,chat_mode:l||"chat_normal",model_name:f,user_input:e},chatId:c,onMessage:e=>{(null==t?void 0:t.incremental)?a[s].context+=e:a[s].context=e,w([...a])},onDone:()=>{k(a),n()},onClose:()=>{k(a),n()},onError:e=>{a[s].context=e,w([...a]),n()}})}),[j,b,c,f,v,l]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p.Z,{visible:Z}),(0,n.jsx)(eE.Z,{refreshHistory:P,modelChange:e=>{g(e)}}),(0,n.jsxs)("div",{className:"px-4 flex flex-1 flex-wrap overflow-hidden relative",children:[!!(null==N?void 0:N.length)&&(0,n.jsx)("div",{className:"w-full pb-4 xl:w-3/4 h-1/2 xl:pr-4 xl:h-full overflow-y-auto",children:(0,n.jsx)(m.ZP,{chartsData:N})}),!(null==N?void 0:N.length)&&"chat_dashboard"===l&&(0,n.jsx)(h.Z,{className:"w-full xl:w-3/4 h-1/2 xl:h-full"}),(0,n.jsx)("div",{className:d()("flex flex-1 flex-col overflow-hidden",{"px-0 xl:pl-4 h-1/2 w-full xl:w-auto xl:h-full border-t xl:border-t-0 xl:border-l dark:border-gray-800":"chat_dashboard"===l,"h-full lg:px-8":"chat_dashboard"!==l}),children:(0,n.jsx)(eR,{messages:j,onSubmit:S})})]})]})}},34625:function(e,t,l){"use strict";l.d(t,{Z:function(){return R}});var n=l(85893),a=l(41468),s=l(81799),r=l(82353),o=l(16165),i=l(96991),c=l(78045),d=l(67294);function u(){let{isContract:e,setIsContract:t,scene:l}=(0,d.useContext)(a.p),s=l&&["chat_with_db_execute","chat_dashboard"].includes(l);return s?(0,n.jsxs)(c.ZP.Group,{value:e,defaultValue:!0,buttonStyle:"solid",onChange:()=>{t(!e)},children:[(0,n.jsxs)(c.ZP.Button,{value:!1,children:[(0,n.jsx)(o.Z,{component:r.ig,className:"mr-1"}),"Preview"]}),(0,n.jsxs)(c.ZP.Button,{value:!0,children:[(0,n.jsx)(i.Z,{className:"mr-1"}),"Editor"]})]}):null}l(23293);var x=l(76212),m=l(65654),h=l(34041),p=l(67421),f=function(){let{t:e}=(0,p.$G)(),{agent:t,setAgent:l}=(0,d.useContext)(a.p),{data:s=[]}=(0,m.Z)(async()=>{let[,e]=await (0,x.Vx)((0,x.H4)());return null!=e?e:[]});return(0,n.jsx)(h.default,{className:"w-60",value:t,placeholder:e("Select_Plugins"),options:s.map(e=>({label:e.app_name,value:e.app_code})),allowClear:!0,onChange:e=>{null==l||l(e)}})},v=l(29158),g=l(49591),j=l(88484),w=l(45360),b=l(83062),y=l(23799),Z=l(14726),_=function(e){var t;let{convUid:l,chatMode:s,onComplete:r,...o}=e,[i,c]=(0,d.useState)(!1),[u,m]=w.ZP.useMessage(),[h,p]=(0,d.useState)([]),[f,_]=(0,d.useState)(),{model:N}=(0,d.useContext)(a.p),C=async e=>{var t;if(!e){w.ZP.error("Please select the *.(csv|xlsx|xls) file");return}if(!/\.(csv|xlsx|xls)$/.test(null!==(t=e.file.name)&&void 0!==t?t:"")){w.ZP.error("File type must be csv, xlsx or xls");return}p([e.file])},P=async()=>{c(!0);try{let e=new FormData;e.append("doc_file",h[0]),u.open({content:"Uploading ".concat(h[0].name),type:"loading",duration:0});let[t]=await (0,x.Vx)((0,x.qn)({convUid:l,chatMode:s,data:e,model:N,config:{timeout:36e5,onUploadProgress:e=>{let t=Math.ceil(e.loaded/(e.total||0)*100);_(t)}}}));if(t)return;w.ZP.success("success"),null==r||r()}catch(e){w.ZP.error((null==e?void 0:e.message)||"Upload Error")}finally{c(!1),u.destroy()}};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"flex items-start gap-2",children:[m,(0,n.jsx)(b.Z,{placement:"bottom",title:"File cannot be changed after upload",children:(0,n.jsx)(y.default,{disabled:i,className:"mr-1",beforeUpload:()=>!1,fileList:h,name:"file",accept:".csv,.xlsx,.xls",multiple:!1,onChange:C,showUploadList:{showDownloadIcon:!1,showPreviewIcon:!1,showRemoveIcon:!1},itemRender:()=>(0,n.jsx)(n.Fragment,{}),...o,children:(0,n.jsx)(Z.ZP,{className:"flex justify-center items-center",type:"primary",disabled:i,icon:(0,n.jsx)(g.Z,{}),children:"Select File"})})}),(0,n.jsx)(Z.ZP,{type:"primary",loading:i,className:"flex justify-center items-center",disabled:!h.length,icon:(0,n.jsx)(j.Z,{}),onClick:P,children:i?100===f?"Analysis":"Uploading":"Upload"}),!!h.length&&(0,n.jsxs)("div",{className:"mt-2 text-gray-500 text-sm flex items-center",onClick:()=>p([]),children:[(0,n.jsx)(v.Z,{className:"mr-2"}),(0,n.jsx)("span",{children:null===(t=h[0])||void 0===t?void 0:t.name})]})]})})},N=function(e){let{onComplete:t}=e,{currentDialogue:l,scene:s,chatId:r}=(0,d.useContext)(a.p);return"chat_excel"!==s?null:(0,n.jsx)("div",{className:"max-w-md h-full relative",children:l?(0,n.jsxs)("div",{className:"flex h-8 overflow-hidden rounded",children:[(0,n.jsx)("div",{className:"flex items-center justify-center px-2 bg-gray-600 text-lg",children:(0,n.jsx)(v.Z,{className:"text-white"})}),(0,n.jsx)("div",{className:"flex items-center justify-center px-3 bg-gray-100 text-xs rounded-tr rounded-br dark:text-gray-800 truncate",children:l.select_param})]}):(0,n.jsx)(_,{convUid:r,chatMode:s,onComplete:t})})},C=l(98978),P=l(62418),k=l(2093),S=function(){let{scene:e,dbParam:t,setDbParam:l}=(0,d.useContext)(a.p),[s,r]=(0,d.useState)([]);(0,k.Z)(async()=>{let[,t]=await (0,x.Vx)((0,x.vD)(e));r(null!=t?t:[])},[e]);let o=(0,d.useMemo)(()=>{var e;return null===(e=s.map)||void 0===e?void 0:e.call(s,e=>({name:e.param,...P.S$[e.type]}))},[s]);return((0,d.useEffect)(()=>{(null==o?void 0:o.length)&&!t&&l(o[0].name)},[o,l,t]),null==o?void 0:o.length)?(0,n.jsx)(h.default,{value:t,className:"w-36",onChange:e=>{l(e)},children:o.map(e=>(0,n.jsxs)(h.default.Option,{children:[(0,n.jsx)(C.Z,{width:24,height:24,src:e.icon,label:e.label,className:"w-[1.5em] h-[1.5em] mr-1 inline-block mt-[-4px]"}),e.name]},e.name))}):null},R=function(e){let{refreshHistory:t,modelChange:l}=e,{scene:r,refreshDialogList:o}=(0,d.useContext)(a.p);return(0,n.jsxs)("div",{className:"w-full py-2 px-4 md:px-4 flex flex-wrap items-center justify-center gap-1 md:gap-4",children:[(0,n.jsx)(s.Z,{onChange:l}),(0,n.jsx)(S,{}),"chat_excel"===r&&(0,n.jsx)(N,{onComplete:()=>{null==o||o(),null==t||t()}}),"chat_agent"===r&&(0,n.jsx)(f,{}),(0,n.jsx)(u,{})]})}},81799:function(e,t,l){"use strict";l.d(t,{A:function(){return x}});var n=l(85893),a=l(41468),s=l(19284),r=l(34041),o=l(25675),i=l.n(o),c=l(67294),d=l(67421);let u="/models/huggingface.svg";function x(e,t){var l,a;let{width:r,height:o}=t||{};return e?(0,n.jsx)(i(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:r||24,height:o||24,src:(null===(l=s.Hf[e])||void 0===l?void 0:l.icon)||u,alt:"llm"},(null===(a=s.Hf[e])||void 0===a?void 0:a.icon)||u):null}t.Z=function(e){let{onChange:t}=e,{t:l}=(0,d.$G)(),{modelList:o,model:i}=(0,c.useContext)(a.p);return!o||o.length<=0?null:(0,n.jsx)(r.default,{value:i,placeholder:l("choose_model"),className:"w-52",onChange:e=>{null==t||t(e)},children:o.map(e=>{var t;return(0,n.jsx)(r.default.Option,{children:(0,n.jsxs)("div",{className:"flex items-center",children:[x(e),(0,n.jsx)("span",{className:"ml-2",children:(null===(t=s.Hf[e])||void 0===t?void 0:t.label)||e})]})},e)})})}},91085:function(e,t,l){"use strict";var n=l(85893),a=l(32983),s=l(14726),r=l(93967),o=l.n(r),i=l(67421);t.Z=function(e){let{className:t,error:l,description:r,refresh:c}=e,{t:d}=(0,i.$G)();return(0,n.jsx)(a.Z,{image:"/empty.png",imageStyle:{width:320,height:196,margin:"0 auto",maxWidth:"100%",maxHeight:"100%"},className:o()("flex items-center justify-center flex-col h-full w-full",t),description:l?(0,n.jsx)(s.ZP,{type:"primary",onClick:c,children:d("try_again")}):null!=r?r:d("no_data")})}},45247:function(e,t,l){"use strict";var n=l(85893),a=l(50888);t.Z=function(e){let{visible:t}=e;return t?(0,n.jsx)("div",{className:"absolute w-full h-full top-0 left-0 flex justify-center items-center z-10 bg-white dark:bg-black bg-opacity-50 dark:bg-opacity-50 backdrop-blur-sm text-3xl animate-fade animate-duration-200",children:(0,n.jsx)(a.Z,{})}):null}},2440:function(e,t,l){"use strict";var n=l(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},30119:function(e,t,l){"use strict";l.d(t,{Tk:function(){return c},PR:function(){return d}});var n=l(62418),a=l(45360);l(96486);var s=l(87066),r=l(83454);let o=s.default.create({baseURL:r.env.API_BASE_URL});o.defaults.timeout=1e4,o.interceptors.response.use(e=>e.data,e=>Promise.reject(e));let i={"content-type":"application/json","User-Id":(0,n.n5)()},c=(e,t)=>{if(t){let l=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");l&&(e+="?".concat(l))}return o.get("/api"+e,{headers:i}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},d=(e,t)=>o.post(e,t,{headers:i}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},23293:function(){}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4769.e22bd26c9f9cb6b0.js b/dbgpt/app/static/web/_next/static/chunks/4769.e22bd26c9f9cb6b0.js deleted file mode 100644 index 6182d7783..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/4769.e22bd26c9f9cb6b0.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4769],{36517:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return eE}});var n=l(85893),a=l(67294),s=l(2093),r=l(43446),o=l(41468),i=l(76212),c=()=>{let{history:e,setHistory:t,chatId:l,model:n,docId:s}=(0,a.useContext)(o.p),{chat:c}=(0,r.Z)({queryAgentURL:"/knowledge/document/summary"}),d=(0,a.useCallback)(async e=>{let[,a]=await (0,i.Vx)((0,i.$i)(l)),r=[...a,{role:"human",context:"",model_name:n,order:0,time_stamp:0},{role:"view",context:"",model_name:n,order:0,time_stamp:0,retry:!0}],o=r.length-1;t([...r]),await c({data:{doc_id:e||s,model_name:n},chatId:l,onMessage:e=>{r[o].context=e,t([...r])}})},[e,n,s,l]);return d},d=l(62418),u=l(87740),x=l(85175),m=l(66478),h=l(14553),p=l(45360),f=l(83062),v=l(85576),g=l(93967),j=l.n(g),w=l(20640),b=l.n(w),y=l(96486),Z=l(39332),_=l(67421),N=l(27496),C=l(55102),P=l(14726),k=l(11163),S=l(82353),R=l(1051);function E(e){let{document:t}=e;switch(t.status){case"RUNNING":return(0,n.jsx)(S.Rp,{});case"FINISHED":default:return(0,n.jsx)(S.s2,{});case"FAILED":return(0,n.jsx)(R.Z,{})}}function I(e){let{documents:t,dbParam:l}=e,a=(0,k.useRouter)(),s=e=>{a.push("/knowledge/chunk/?spaceName=".concat(l,"&id=").concat(e))};return(null==t?void 0:t.length)?(0,n.jsx)("div",{className:"absolute flex overflow-scroll h-12 top-[-35px] w-full z-10",children:t.map(e=>{let t;switch(e.status){case"RUNNING":t="#2db7f5";break;case"FINISHED":default:t="#87d068";break;case"FAILED":t="#f50"}return(0,n.jsx)(f.Z,{title:e.result,children:(0,n.jsxs)(P.ZP,{style:{color:t},onClick:()=>{s(e.id)},className:"shrink flex items-center mr-3",children:[(0,n.jsx)(E,{document:e}),e.doc_name]})},e.id)})}):null}var D=l(45128),F=l(2913);function M(e){let{dbParam:t,setDocId:l}=(0,a.useContext)(o.p),{onUploadFinish:s,handleFinish:r}=e,d=c(),[u,x]=(0,a.useState)(!1),m=async e=>{x(!0);let n=new FormData;n.append("doc_name",e.file.name),n.append("doc_file",e.file),n.append("doc_type","DOCUMENT");let a=await (0,i.Vx)((0,i.iG)(t||"default",n));if(!a[1]){x(!1);return}l(a[1]),s(),x(!1),null==r||r(!0),await d(a[1]),null==r||r(!1)};return(0,n.jsx)(F.default,{customRequest:m,showUploadList:!1,maxCount:1,multiple:!1,className:"absolute z-10 top-2 left-2",accept:".pdf,.ppt,.pptx,.xls,.xlsx,.doc,.docx,.txt,.md",children:(0,n.jsx)(P.ZP,{loading:u,size:"small",shape:"circle",icon:(0,n.jsx)(D.Z,{})})})}var U=l(2487),L=l(28459),O=l(55241),$=l(8232),A=l(34041),V=l(37364),G=l(65654),z=l(30119);let H=e=>{let{data:t,loading:l,submit:a,close:s}=e,{t:r}=(0,_.$G)(),o=e=>()=>{a(e),s()};return(0,n.jsx)("div",{style:{maxHeight:400,overflow:"auto"},children:(0,n.jsx)(U.Z,{dataSource:null==t?void 0:t.data,loading:l,rowKey:e=>e.prompt_name,renderItem:e=>(0,n.jsx)(U.Z.Item,{onClick:o(e.content),children:(0,n.jsx)(f.Z,{title:e.content,children:(0,n.jsx)(U.Z.Item.Meta,{style:{cursor:"copy"},title:e.prompt_name,description:r("Prompt_Info_Scene")+":".concat(e.chat_scene,",")+r("Prompt_Info_Sub_Scene")+":".concat(e.sub_chat_scene)})})},e.prompt_name)})})};var q=e=>{let{submit:t}=e,{t:l}=(0,_.$G)(),[s,r]=(0,a.useState)(!1),[o,i]=(0,a.useState)("common"),{data:c,loading:d}=(0,G.Z)(()=>(0,z.PR)("/prompt/list",{prompt_type:o}),{refreshDeps:[o],onError:e=>{p.ZP.error(null==e?void 0:e.message)}});return(0,n.jsx)(L.ZP,{theme:{components:{Popover:{minWidth:250}}},children:(0,n.jsx)(O.Z,{title:(0,n.jsx)($.default.Item,{label:"Prompt "+l("Type"),children:(0,n.jsx)(A.default,{style:{width:150},value:o,onChange:e=>{i(e)},options:[{label:l("Public")+" Prompts",value:"common"},{label:l("Private")+" Prompts",value:"private"}]})}),content:(0,n.jsx)(H,{data:c,loading:d,submit:t,close:()=>{r(!1)}}),placement:"topRight",trigger:"click",open:s,onOpenChange:e=>{r(e)},children:(0,n.jsx)(f.Z,{title:l("Click_Select")+" Prompt",children:(0,n.jsx)(V.Z,{className:"bottom-[30%]"})})})})},B=function(e){let{children:t,loading:l,onSubmit:s,handleFinish:r,placeholder:c,...d}=e,{dbParam:u,scene:x}=(0,a.useContext)(o.p),[m,h]=(0,a.useState)(""),p=(0,a.useMemo)(()=>"chat_knowledge"===x,[x]),[f,v]=(0,a.useState)([]),g=(0,a.useRef)(0);async function j(){if(!u)return null;let[e,t]=await (0,i.Vx)((0,i._Q)(u,{page:1,page_size:g.current}));v(null==t?void 0:t.data)}(0,a.useEffect)(()=>{p&&j()},[u]);let w=async()=>{g.current+=1,await j()};return(0,n.jsxs)("div",{className:"flex-1 relative",children:[(0,n.jsx)(I,{documents:f,dbParam:u}),p&&(0,n.jsx)(M,{handleFinish:r,onUploadFinish:w,className:"absolute z-10 top-2 left-2"}),(0,n.jsx)(C.default.TextArea,{className:"flex-1 ".concat(p?"pl-10":""," pr-10"),size:"large",value:m,autoSize:{minRows:1,maxRows:4},...d,onPressEnter:e=>{if(m.trim()&&13===e.keyCode){if(e.shiftKey){e.preventDefault(),h(e=>e+"\n");return}s(m),setTimeout(()=>{h("")},0)}},onChange:e=>{if("number"==typeof d.maxLength){h(e.target.value.substring(0,d.maxLength));return}h(e.target.value)},placeholder:c}),(0,n.jsx)(P.ZP,{className:"ml-2 flex items-center justify-center absolute right-0 bottom-0",size:"large",type:"text",loading:l,icon:(0,n.jsx)(N.Z,{}),onClick:()=>{s(m)}}),(0,n.jsx)(q,{submit:e=>{h(m+e)}}),t]})},T=l(95988),J=l(30853),Q=l(14660),W=(0,a.memo)(function(e){var t;let{content:l}=e,{scene:s}=(0,a.useContext)(o.p),r="view"===l.role;return(0,n.jsx)("div",{className:j()("relative w-full p-2 md:p-4 rounded-xl break-words",{"bg-white dark:bg-[#232734]":r,"lg:w-full xl:w-full pl-0":["chat_with_db_execute","chat_dashboard"].includes(s)}),children:r?(0,n.jsx)(T.Z,{components:J.Z,rehypePlugins:[Q.Z],children:null==(t=l.context)?void 0:t.replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"")}):(0,n.jsx)("div",{className:"",children:l.context})})}),K=l(30071),X=l(79090),Y=l(28508),ee=l(88284),et=l(50228),el=l(87547),en=l(89035),ea=l(66309),es=l(81799);let er={todo:{bgClass:"bg-gray-500",icon:(0,n.jsx)(K.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,n.jsx)(X.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,n.jsx)(Y.Z,{className:"ml-2"})},completed:{bgClass:"bg-green-500",icon:(0,n.jsx)(ee.Z,{className:"ml-2"})}};function eo(e){return e.replaceAll("\\n","\n").replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"")}var ei=(0,a.memo)(function(e){let{children:t,content:l,isChartChat:s,onLinkClick:r}=e,{scene:i}=(0,a.useContext)(o.p),{context:c,model_name:d,role:u}=l,x="view"===u,{relations:m,value:h,cachePluginContext:p}=(0,a.useMemo)(()=>{if("string"!=typeof c)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=c.split(" relations:"),l=t?t.split(","):[],n=[],a=0,s=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let l=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),s=JSON.parse(l),r="".concat(a,"");return n.push({...s,result:eo(null!==(t=s.result)&&void 0!==t?t:"")}),a++,r}catch(t){return console.log(t.message,t),e}});return{relations:l,cachePluginContext:n,value:s}},[c]),f=(0,a.useMemo)(()=>({"custom-view"(e){var t;let{children:l}=e,a=+l.toString();if(!p[a])return l;let{name:s,status:r,err_msg:o,result:i}=p[a],{bgClass:c,icon:d}=null!==(t=er[r])&&void 0!==t?t:{};return(0,n.jsxs)("div",{className:"bg-white dark:bg-[#212121] rounded-lg overflow-hidden my-2 flex flex-col lg:max-w-[80%]",children:[(0,n.jsxs)("div",{className:j()("flex px-4 md:px-6 py-2 items-center text-white text-sm",c),children:[s,d]}),i?(0,n.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:(0,n.jsx)(T.Z,{components:J.Z,rehypePlugins:[Q.Z],children:null!=i?i:""})}):(0,n.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:o})]})}}),[c,p]);return x||c?(0,n.jsxs)("div",{className:j()("relative flex flex-wrap w-full p-2 md:p-4 rounded-xl break-words",{"bg-white dark:bg-[#232734]":x,"lg:w-full xl:w-full pl-0":["chat_with_db_execute","chat_dashboard"].includes(i)}),children:[(0,n.jsx)("div",{className:"mr-2 flex flex-shrink-0 items-center justify-center h-7 w-7 rounded-full text-lg sm:mr-4",children:x?(0,es.A)(d)||(0,n.jsx)(et.Z,{}):(0,n.jsx)(el.Z,{})}),(0,n.jsxs)("div",{className:"flex-1 overflow-hidden items-center text-md leading-8 pb-2",children:[!x&&"string"==typeof c&&c,x&&s&&"object"==typeof c&&(0,n.jsxs)("div",{children:["[".concat(c.template_name,"]: "),(0,n.jsxs)("span",{className:"text-theme-primary cursor-pointer",onClick:r,children:[(0,n.jsx)(en.Z,{className:"mr-1"}),c.template_introduce||"More Details"]})]}),x&&"string"==typeof c&&(0,n.jsx)(T.Z,{components:{...J.Z,...f},rehypePlugins:[Q.Z],children:eo(h)}),!!(null==m?void 0:m.length)&&(0,n.jsx)("div",{className:"flex flex-wrap mt-2",children:null==m?void 0:m.map((e,t)=>(0,n.jsx)(ea.Z,{color:"#108ee9",children:e},e+t))})]}),t]}):(0,n.jsx)("div",{className:"h-12"})}),ec=l(59301),ed=l(41132),eu=l(74312),ex=l(3414),em=l(72868),eh=l(59562),ep=l(25359),ef=l(7203),ev=l(48665),eg=l(26047),ej=l(99056),ew=l(57814),eb=l(64415),ey=l(21694),eZ=l(40911),e_=e=>{var t;let{conv_index:l,question:s,knowledge_space:r,select_param:c}=e,{t:d}=(0,_.$G)(),{chatId:u}=(0,a.useContext)(o.p),[x,v]=(0,a.useState)(""),[g,j]=(0,a.useState)(4),[w,b]=(0,a.useState)(""),y=(0,a.useRef)(null),[Z,N]=p.ZP.useMessage(),C=(0,a.useCallback)((e,t)=>{t?(0,i.Vx)((0,i.Eb)(u,l)).then(e=>{var t,l,n,a;let s=null!==(t=e[1])&&void 0!==t?t:{};v(null!==(l=s.ques_type)&&void 0!==l?l:""),j(parseInt(null!==(n=s.score)&&void 0!==n?n:"4")),b(null!==(a=s.messages)&&void 0!==a?a:"")}).catch(e=>{console.log(e)}):(v(""),j(4),b(""))},[u,l]),P=(0,eu.Z)(ex.Z)(e=>{let{theme:t}=e;return{backgroundColor:"dark"===t.palette.mode?"#FBFCFD":"#0E0E10",...t.typography["body-sm"],padding:t.spacing(1),display:"flex",alignItems:"center",justifyContent:"center",borderRadius:4,width:"100%",height:"100%"}});return(0,n.jsxs)(em.L,{onOpenChange:C,children:[N,(0,n.jsx)(f.Z,{title:d("Rating"),children:(0,n.jsx)(eh.Z,{slots:{root:h.ZP},slotProps:{root:{variant:"plain",color:"primary"}},sx:{borderRadius:40},children:(0,n.jsx)(ec.Z,{})})}),(0,n.jsxs)(ep.Z,{children:[(0,n.jsx)(ef.Z,{disabled:!0,sx:{minHeight:0}}),(0,n.jsx)(ev.Z,{sx:{width:"100%",maxWidth:350,display:"grid",gap:3,padding:1},children:(0,n.jsx)("form",{onSubmit:e=>{e.preventDefault();let t={conv_uid:u,conv_index:l,question:s,knowledge_space:r,score:g,ques_type:x,messages:w};console.log(t),(0,i.Vx)((0,i.VC)({data:t})).then(e=>{Z.open({type:"success",content:"save success"})}).catch(e=>{Z.open({type:"error",content:"save error"})})},children:(0,n.jsxs)(eg.Z,{container:!0,spacing:.5,columns:13,sx:{flexGrow:1},children:[(0,n.jsx)(eg.Z,{xs:3,children:(0,n.jsx)(P,{children:d("Q_A_Category")})}),(0,n.jsx)(eg.Z,{xs:10,children:(0,n.jsx)(ej.Z,{action:y,value:x,placeholder:"Choose one…",onChange:(e,t)=>v(null!=t?t:""),...x&&{endDecorator:(0,n.jsx)(h.ZP,{size:"sm",variant:"plain",color:"neutral",onMouseDown:e=>{e.stopPropagation()},onClick:()=>{var e;v(""),null===(e=y.current)||void 0===e||e.focusVisible()},children:(0,n.jsx)(ed.Z,{})}),indicator:null},sx:{width:"100%"},children:c&&(null===(t=Object.keys(c))||void 0===t?void 0:t.map(e=>(0,n.jsx)(ew.Z,{value:e,children:c[e]},e)))})}),(0,n.jsx)(eg.Z,{xs:3,children:(0,n.jsx)(P,{children:(0,n.jsx)(f.Z,{title:(0,n.jsx)(ev.Z,{children:(0,n.jsx)("div",{children:d("feed_back_desc")})}),variant:"solid",placement:"left",children:d("Q_A_Rating")})})}),(0,n.jsx)(eg.Z,{xs:10,sx:{pl:0,ml:0},children:(0,n.jsx)(eb.Z,{"aria-label":"Custom",step:1,min:0,max:5,valueLabelFormat:function(e){return({0:d("Lowest"),1:d("Missed"),2:d("Lost"),3:d("Incorrect"),4:d("Verbose"),5:d("Best")})[e]},valueLabelDisplay:"on",marks:[{value:0,label:"0"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"}],sx:{width:"90%",pt:3,m:2,ml:1},onChange:e=>{var t;return j(null===(t=e.target)||void 0===t?void 0:t.value)},value:g})}),(0,n.jsx)(eg.Z,{xs:13,children:(0,n.jsx)(ey.Z,{placeholder:d("Please_input_the_text"),value:w,onChange:e=>b(e.target.value),minRows:2,maxRows:4,endDecorator:(0,n.jsx)(eZ.ZP,{level:"body-xs",sx:{ml:"auto"},children:d("input_count")+w.length+d("input_unit")}),sx:{width:"100%",fontSize:14}})}),(0,n.jsx)(eg.Z,{xs:13,children:(0,n.jsx)(m.Z,{type:"submit",variant:"outlined",sx:{width:"100%",height:"100%"},children:d("submit")})})]})})})]})]})},eN=l(74434),eC=l(91085),eP=e=>{var t,l;let{messages:r,onSubmit:g}=e,{dbParam:w,currentDialogue:N,scene:C,model:P,refreshDialogList:k,chatId:S,agent:R,docId:E}=(0,a.useContext)(o.p),{t:I}=(0,_.$G)(),D=(0,Z.useSearchParams)(),F=null!==(t=D&&D.get("select_param"))&&void 0!==t?t:"",M=null!==(l=D&&D.get("spaceNameOriginal"))&&void 0!==l?l:"",[U,L]=(0,a.useState)(!1),[O,$]=(0,a.useState)(!1),[A,V]=(0,a.useState)(r),[G,z]=(0,a.useState)(""),[H,q]=(0,a.useState)(),T=(0,a.useRef)(null),J=(0,a.useMemo)(()=>"chat_dashboard"===C,[C]),Q=c(),K=(0,a.useMemo)(()=>{switch(C){case"chat_agent":return R;case"chat_excel":return null==N?void 0:N.select_param;case"chat_flow":return F;default:return M||w}},[C,R,N,w,M,F]),X=async e=>{if(!U&&e.trim()){if("chat_agent"===C&&!R){p.ZP.warning(I("choice_agent_tip"));return}try{L(!0),await g(e,{select_param:null!=K?K:""})}finally{L(!1)}}},Y=e=>{try{return JSON.parse(e)}catch(t){return e}},[ee,et]=p.ZP.useMessage(),el=async e=>{let t=null==e?void 0:e.replace(/\trelations:.*/g,""),l=b()(t);l?t?ee.open({type:"success",content:I("copy_success")}):ee.open({type:"warning",content:I("copy_nothing")}):ee.open({type:"error",content:I("copy_failed")})},en=async()=>{!U&&E&&(L(!0),await Q(E),L(!1))};return(0,s.Z)(async()=>{let e=(0,d.a_)();e&&e.id===S&&(await X(e.message),k(),localStorage.removeItem(d.rU))},[S]),(0,a.useEffect)(()=>{let e=r;J&&(e=(0,y.cloneDeep)(r).map(e=>((null==e?void 0:e.role)==="view"&&"string"==typeof(null==e?void 0:e.context)&&(e.context=Y(null==e?void 0:e.context)),e))),V(e.filter(e=>["view","human"].includes(e.role)))},[J,r]),(0,a.useEffect)(()=>{(0,i.Vx)((0,i.Lu)()).then(e=>{var t;q(null!==(t=e[1])&&void 0!==t?t:{})}).catch(e=>{console.log(e)})},[]),(0,a.useEffect)(()=>{setTimeout(()=>{var e;null===(e=T.current)||void 0===e||e.scrollTo(0,T.current.scrollHeight)},50)},[r]),(0,n.jsxs)(n.Fragment,{children:[et,(0,n.jsx)("div",{ref:T,className:"flex flex-1 overflow-y-auto pb-8 w-full flex-col",children:(0,n.jsx)("div",{className:"flex items-center flex-1 flex-col text-sm leading-6 text-slate-900 dark:text-slate-300 sm:text-base sm:leading-7",children:A.length?A.map((e,t)=>{var l;return"chat_agent"===C?(0,n.jsx)(W,{content:e},t):(0,n.jsx)(ei,{content:e,isChartChat:J,onLinkClick:()=>{$(!0),z(JSON.stringify(null==e?void 0:e.context,null,2))},children:"view"===e.role&&(0,n.jsxs)("div",{className:"flex w-full border-t border-gray-200 dark:border-theme-dark",children:["chat_knowledge"===C&&e.retry?(0,n.jsxs)(m.Z,{onClick:en,slots:{root:h.ZP},slotProps:{root:{variant:"plain",color:"primary"}},children:[(0,n.jsx)(u.Z,{}),"\xa0",(0,n.jsx)("span",{className:"text-sm",children:I("Retry")})]}):null,(0,n.jsxs)("div",{className:"flex w-full flex-row-reverse",children:[(0,n.jsx)(e_,{select_param:H,conv_index:Math.ceil((t+1)/2),question:null===(l=null==A?void 0:A.filter(t=>(null==t?void 0:t.role)==="human"&&(null==t?void 0:t.order)===e.order)[0])||void 0===l?void 0:l.context,knowledge_space:M||w||""}),(0,n.jsx)(f.Z,{title:I("Copy_Btn"),children:(0,n.jsx)(m.Z,{onClick:()=>el(null==e?void 0:e.context),slots:{root:h.ZP},slotProps:{root:{variant:"plain",color:"primary"}},sx:{borderRadius:40},children:(0,n.jsx)(x.Z,{})})})]})]})},t)}):(0,n.jsx)(eC.Z,{description:"Start a conversation"})})}),(0,n.jsx)("div",{className:j()("relative after:absolute after:-top-8 after:h-8 after:w-full after:bg-gradient-to-t after:from-theme-light after:to-transparent dark:after:from-theme-dark",{"cursor-not-allowed":"chat_excel"===C&&!(null==N?void 0:N.select_param)}),children:(0,n.jsxs)("div",{className:"flex flex-wrap w-full py-2 sm:pt-6 sm:pb-10 items-center",children:[P&&(0,n.jsx)("div",{className:"mr-2 flex",children:(0,es.A)(P)}),(0,n.jsx)(B,{loading:U,onSubmit:X,handleFinish:L})]})}),(0,n.jsx)(v.default,{title:"JSON Editor",open:O,width:"60%",cancelButtonProps:{hidden:!0},onOk:()=>{$(!1)},onCancel:()=>{$(!1)},children:(0,n.jsx)(eN.Z,{className:"w-full h-[500px]",language:"json",value:G})})]})},ek=l(34625),eS=l(39156),eR=l(45247),eE=()=>{var e;let t=(0,Z.useSearchParams)(),{scene:l,chatId:c,model:u,agent:x,setModel:m,history:h,setHistory:p}=(0,a.useContext)(o.p),{chat:f}=(0,r.Z)({}),v=null!==(e=t&&t.get("initMessage"))&&void 0!==e?e:"",[g,w]=(0,a.useState)(!1),[b,y]=(0,a.useState)(),_=async()=>{w(!0);let[,e]=await (0,i.Vx)((0,i.$i)(c));p(null!=e?e:[]),w(!1)},N=e=>{var t;let l=null===(t=e[e.length-1])||void 0===t?void 0:t.context;if(l)try{let e="string"==typeof l?JSON.parse(l):l;console.log("contextObj",e),y((null==e?void 0:e.template_name)==="report"?null==e?void 0:e.charts:void 0)}catch(e){console.log(e),y([])}};(0,s.Z)(async()=>{let e=(0,d.a_)();e&&e.id===c||await _()},[v,c]),(0,a.useEffect)(()=>{var e,t;if(!h.length)return;let l=null===(e=null===(t=h.filter(e=>"view"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];(null==l?void 0:l.model_name)&&m(l.model_name),N(h)},[h.length]),(0,a.useEffect)(()=>()=>{p([])},[]);let C=(0,a.useCallback)((e,t)=>new Promise(n=>{let a=[...h,{role:"human",context:e,model_name:u,order:0,time_stamp:0},{role:"view",context:"",model_name:u,order:0,time_stamp:0}],s=a.length-1;p([...a]),f({data:{...t,chat_mode:l||"chat_normal",model_name:u,user_input:e},chatId:c,onMessage:e=>{(null==t?void 0:t.incremental)?a[s].context+=e:a[s].context=e,p([...a])},onDone:()=>{N(a),n()},onClose:()=>{N(a),n()},onError:e=>{a[s].context=e,p([...a]),n()}})}),[h,f,c,u,x,l]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eR.Z,{visible:g}),(0,n.jsx)(ek.Z,{refreshHistory:_,modelChange:e=>{m(e)}}),(0,n.jsxs)("div",{className:"px-4 flex flex-1 flex-wrap overflow-hidden relative",children:[!!(null==b?void 0:b.length)&&(0,n.jsx)("div",{className:"w-full pb-4 xl:w-3/4 h-1/2 xl:pr-4 xl:h-full overflow-y-auto",children:(0,n.jsx)(eS.ZP,{chartsData:b})}),!(null==b?void 0:b.length)&&"chat_dashboard"===l&&(0,n.jsx)(eC.Z,{className:"w-full xl:w-3/4 h-1/2 xl:h-full"}),(0,n.jsx)("div",{className:j()("flex flex-1 flex-col overflow-hidden",{"px-0 xl:pl-4 h-1/2 w-full xl:w-auto xl:h-full border-t xl:border-t-0 xl:border-l dark:border-gray-800":"chat_dashboard"===l,"h-full lg:px-8":"chat_dashboard"!==l}),children:(0,n.jsx)(eP,{messages:h,onSubmit:C})})]})]})}},34625:function(e,t,l){"use strict";l.d(t,{Z:function(){return R}});var n=l(85893),a=l(67294),s=l(45360),r=l(83062),o=l(2913),i=l(14726),c=l(49591),d=l(88484),u=l(29158),x=l(76212),m=l(41468),h=function(e){var t;let{convUid:l,chatMode:h,onComplete:p,...f}=e,[v,g]=(0,a.useState)(!1),[j,w]=s.ZP.useMessage(),[b,y]=(0,a.useState)([]),[Z,_]=(0,a.useState)(),{model:N}=(0,a.useContext)(m.p),C=async e=>{var t;if(!e){s.ZP.error("Please select the *.(csv|xlsx|xls) file");return}if(!/\.(csv|xlsx|xls)$/.test(null!==(t=e.file.name)&&void 0!==t?t:"")){s.ZP.error("File type must be csv, xlsx or xls");return}y([e.file])},P=async()=>{g(!0);try{let e=new FormData;e.append("doc_file",b[0]),j.open({content:"Uploading ".concat(b[0].name),type:"loading",duration:0});let[t]=await (0,x.Vx)((0,x.qn)({convUid:l,chatMode:h,data:e,model:N,config:{timeout:36e5,onUploadProgress:e=>{let t=Math.ceil(e.loaded/(e.total||0)*100);_(t)}}}));if(t)return;s.ZP.success("success"),null==p||p()}catch(e){s.ZP.error((null==e?void 0:e.message)||"Upload Error")}finally{g(!1),j.destroy()}};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"flex items-start gap-2",children:[w,(0,n.jsx)(r.Z,{placement:"bottom",title:"File cannot be changed after upload",children:(0,n.jsx)(o.default,{disabled:v,className:"mr-1",beforeUpload:()=>!1,fileList:b,name:"file",accept:".csv,.xlsx,.xls",multiple:!1,onChange:C,showUploadList:{showDownloadIcon:!1,showPreviewIcon:!1,showRemoveIcon:!1},itemRender:()=>(0,n.jsx)(n.Fragment,{}),...f,children:(0,n.jsx)(i.ZP,{className:"flex justify-center items-center",type:"primary",disabled:v,icon:(0,n.jsx)(c.Z,{}),children:"Select File"})})}),(0,n.jsx)(i.ZP,{type:"primary",loading:v,className:"flex justify-center items-center",disabled:!b.length,icon:(0,n.jsx)(d.Z,{}),onClick:P,children:v?100===Z?"Analysis":"Uploading":"Upload"}),!!b.length&&(0,n.jsxs)("div",{className:"mt-2 text-gray-500 text-sm flex items-center",onClick:()=>y([]),children:[(0,n.jsx)(u.Z,{className:"mr-2"}),(0,n.jsx)("span",{children:null===(t=b[0])||void 0===t?void 0:t.name})]})]})})},p=function(e){let{onComplete:t}=e,{currentDialogue:l,scene:s,chatId:r}=(0,a.useContext)(m.p);return"chat_excel"!==s?null:(0,n.jsx)("div",{className:"max-w-md h-full relative",children:l?(0,n.jsxs)("div",{className:"flex h-8 overflow-hidden rounded",children:[(0,n.jsx)("div",{className:"flex items-center justify-center px-2 bg-gray-600 text-lg",children:(0,n.jsx)(u.Z,{className:"text-white"})}),(0,n.jsx)("div",{className:"flex items-center justify-center px-3 bg-gray-100 text-xs rounded-tr rounded-br dark:text-gray-800 truncate",children:l.select_param})]}):(0,n.jsx)(h,{convUid:r,chatMode:s,onComplete:t})})};l(23293);var f=l(78045),v=l(16165),g=l(96991),j=l(82353);function w(){let{isContract:e,setIsContract:t,scene:l}=(0,a.useContext)(m.p),s=l&&["chat_with_db_execute","chat_dashboard"].includes(l);return s?(0,n.jsxs)(f.ZP.Group,{value:e,defaultValue:!0,buttonStyle:"solid",onChange:()=>{t(!e)},children:[(0,n.jsxs)(f.ZP.Button,{value:!1,children:[(0,n.jsx)(v.Z,{component:j.ig,className:"mr-1"}),"Preview"]}),(0,n.jsxs)(f.ZP.Button,{value:!0,children:[(0,n.jsx)(g.Z,{className:"mr-1"}),"Editor"]})]}):null}var b=l(81799),y=l(62418),Z=l(2093),_=l(34041),N=l(23430),C=function(){let{scene:e,dbParam:t,setDbParam:l}=(0,a.useContext)(m.p),[s,r]=(0,a.useState)([]);(0,Z.Z)(async()=>{let[,t]=await (0,x.Vx)((0,x.vD)(e));r(null!=t?t:[])},[e]);let o=(0,a.useMemo)(()=>{var e;return null===(e=s.map)||void 0===e?void 0:e.call(s,e=>({name:e.param,...y.S$[e.type]}))},[s]);return((0,a.useEffect)(()=>{(null==o?void 0:o.length)&&!t&&l(o[0].name)},[o,l,t]),null==o?void 0:o.length)?(0,n.jsx)(_.default,{value:t,className:"w-36",onChange:e=>{l(e)},children:o.map(e=>(0,n.jsxs)(_.default.Option,{children:[(0,n.jsx)(N.Z,{width:24,height:24,src:e.icon,label:e.label,className:"w-[1.5em] h-[1.5em] mr-1 inline-block mt-[-4px]"}),e.name]},e.name))}):null},P=l(65654),k=l(67421),S=function(){let{t:e}=(0,k.$G)(),{agent:t,setAgent:l}=(0,a.useContext)(m.p),{data:s=[]}=(0,P.Z)(async()=>{let[,e]=await (0,x.Vx)((0,x.H4)());return null!=e?e:[]});return(0,n.jsx)(_.default,{className:"w-60",value:t,placeholder:e("Select_Plugins"),options:s.map(e=>({label:e.app_name,value:e.app_code})),allowClear:!0,onChange:e=>{null==l||l(e)}})},R=function(e){let{refreshHistory:t,modelChange:l}=e,{scene:s,refreshDialogList:r}=(0,a.useContext)(m.p);return(0,n.jsxs)("div",{className:"w-full py-2 px-4 md:px-4 flex flex-wrap items-center justify-center gap-1 md:gap-4",children:[(0,n.jsx)(b.Z,{onChange:l}),(0,n.jsx)(C,{}),"chat_excel"===s&&(0,n.jsx)(p,{onComplete:()=>{null==r||r(),null==t||t()}}),"chat_agent"===s&&(0,n.jsx)(S,{}),(0,n.jsx)(w,{})]})}},81799:function(e,t,l){"use strict";l.d(t,{A:function(){return x}});var n=l(85893),a=l(41468),s=l(19284),r=l(34041),o=l(25675),i=l.n(o),c=l(67294),d=l(67421);let u="/models/huggingface.svg";function x(e,t){var l,a;let{width:r,height:o}=t||{};return e?(0,n.jsx)(i(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:r||24,height:o||24,src:(null===(l=s.Hf[e])||void 0===l?void 0:l.icon)||u,alt:"llm"},(null===(a=s.Hf[e])||void 0===a?void 0:a.icon)||u):null}t.Z=function(e){let{onChange:t}=e,{t:l}=(0,d.$G)(),{modelList:o,model:i}=(0,c.useContext)(a.p);return!o||o.length<=0?null:(0,n.jsx)(r.default,{value:i,placeholder:l("choose_model"),className:"w-52",onChange:e=>{null==t||t(e)},children:o.map(e=>{var t;return(0,n.jsx)(r.default.Option,{children:(0,n.jsxs)("div",{className:"flex items-center",children:[x(e),(0,n.jsx)("span",{className:"ml-2",children:(null===(t=s.Hf[e])||void 0===t?void 0:t.label)||e})]})},e)})})}},91085:function(e,t,l){"use strict";var n=l(85893),a=l(32983),s=l(14726),r=l(93967),o=l.n(r),i=l(67421);t.Z=function(e){let{className:t,error:l,description:r,refresh:c}=e,{t:d}=(0,i.$G)();return(0,n.jsx)(a.Z,{image:"/empty.png",imageStyle:{width:320,height:196,margin:"0 auto",maxWidth:"100%",maxHeight:"100%"},className:o()("flex items-center justify-center flex-col h-full w-full",t),description:l?(0,n.jsx)(s.ZP,{type:"primary",onClick:c,children:d("try_again")}):null!=r?r:d("no_data")})}},45247:function(e,t,l){"use strict";var n=l(85893),a=l(79090);t.Z=function(e){let{visible:t}=e;return t?(0,n.jsx)("div",{className:"absolute w-full h-full top-0 left-0 flex justify-center items-center z-10 bg-white dark:bg-black bg-opacity-50 dark:bg-opacity-50 backdrop-blur-sm text-3xl animate-fade animate-duration-200",children:(0,n.jsx)(a.Z,{})}):null}},2440:function(e,t,l){"use strict";var n=l(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},30119:function(e,t,l){"use strict";l.d(t,{Tk:function(){return c},PR:function(){return d}});var n=l(45360),a=l(87066),s=l(83454);let r=a.default.create({baseURL:s.env.API_BASE_URL});r.defaults.timeout=1e4,r.interceptors.response.use(e=>e.data,e=>Promise.reject(e)),l(96486);var o=l(62418);let i={"content-type":"application/json","User-Id":(0,o.n5)()},c=(e,t)=>{if(t){let l=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");l&&(e+="?".concat(l))}return r.get("/api"+e,{headers:i}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},d=(e,t)=>r.post(e,t,{headers:i}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},23293:function(){}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/481.36777b51a603767c.js b/dbgpt/app/static/web/_next/static/chunks/481.ed077e61b0c7b405.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/481.36777b51a603767c.js rename to dbgpt/app/static/web/_next/static/chunks/481.ed077e61b0c7b405.js index 90bb92c1c..7be1301b2 100644 --- a/dbgpt/app/static/web/_next/static/chunks/481.36777b51a603767c.js +++ b/dbgpt/app/static/web/_next/static/chunks/481.ed077e61b0c7b405.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[481],{69400:function(e,t,o){o.r(t),o.d(t,{conf:function(){return n},language:function(){return s}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var n={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},s={keywords:["namespace","open","as","operation","function","body","adjoint","newtype","controlled","if","elif","else","repeat","until","fixup","for","in","while","return","fail","within","apply","Adjoint","Controlled","Adj","Ctl","is","self","auto","distribute","invert","intrinsic","let","set","w/","new","not","and","or","use","borrow","using","borrowing","mutable","internal"],typeKeywords:["Unit","Int","BigInt","Double","Bool","String","Qubit","Result","Pauli","Range"],invalidKeywords:["abstract","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","enum","event","explicit","extern","finally","fixed","float","foreach","goto","implicit","int","interface","lock","long","null","object","operator","out","override","params","private","protected","public","readonly","ref","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","try","typeof","unit","ulong","unchecked","unsafe","ushort","virtual","void","volatile"],constants:["true","false","PauliI","PauliX","PauliY","PauliZ","One","Zero"],builtin:["X","Y","Z","H","HY","S","T","SWAP","CNOT","CCNOT","MultiX","R","RFrac","Rx","Ry","Rz","R1","R1Frac","Exp","ExpFrac","Measure","M","MultiM","Message","Length","Assert","AssertProb","AssertEqual"],operators:["and=","<-","->","*","*=","@","!","^","^=",":","::","..","==","...","=","=>",">",">=","<","<=","-","-=","!=","or=","%","%=","|","+","+=","?","/","/=","&&&","&&&=","^^^","^^^=",">>>",">>>=","<<<","<<<=","|||","|||=","~~~","_","w/","w/="],namespaceFollows:["namespace","open"],symbols:/[=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of c(t))l.call(e,a)||a===n||i(e,a,{get:()=>t[a],enumerable:!(o=r(t,a))||o.enumerable});return e},u={};m(u,a,"default"),o&&m(o,a,"default");var d={comments:{blockComment:[""]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],onEnterRules:[{beforeText:RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:u.languages.IndentAction.IndentOutdent}},{beforeText:RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:u.languages.IndentAction.Indent}}]},s={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[//,{token:"comment",next:"@pop"}],[/"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],onEnterRules:[{beforeText:RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:u.languages.IndentAction.IndentOutdent}},{beforeText:RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:u.languages.IndentAction.Indent}}]},s={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[//,{token:"comment",next:"@pop"}],[/"),"string"!=typeof e&&!e4(e)){if("function"!=typeof e.toString)throw L("toString is not a function");if("string"!=typeof(e=e.toString()))throw L("dirty is not a string, aborting")}if(!i.isSupported){if("object"===q(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(e4(e))return t.toStaticHTML(e.outerHTML)}return e}if(ek||eG(o),i.removed=[],"string"==typeof e&&(eA=!1),eA);else if(e instanceof a)1===(l=(s=e2("")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===l.nodeName?s=l:"HTML"===l.nodeName?s=l:s.appendChild(l);else{if(!eD&&!eS&&!eL&&-1===e.indexOf("<"))return en&&eE?en.createHTML(e):e;if(!(s=e2(e)))return eD?null:eo}s&&eN&&e0(s.firstChild);for(var c=e5(eA?e:s);h=c.nextNode();)3===h.nodeType&&h===d||e9(h)||(h.content instanceof r&&e8(h.content),e6(h),d=h);if(d=null,eA)return e;if(eD){if(ex)for(u=el.call(s.ownerDocument);s.firstChild;)u.appendChild(s.firstChild);else u=s;return eI&&(u=ed.call(n,u,!0)),u}var g=eL?s.outerHTML:s.innerHTML;return eS&&(g=b(g,W," "),g=b(g,H," ")),en&&eE?en.createHTML(g):g},i.setConfig=function(e){eG(e),ek=!0},i.clearConfig=function(){ej=null,ek=!1},i.isValidAttribute=function(e,t,i){return ej||eG({}),e7(v(e),v(t),i)},i.addHook=function(e,t){"function"==typeof t&&(ec[e]=ec[e]||[],_(ec[e],t))},i.removeHook=function(e){ec[e]&&f(ec[e])},i.removeHooks=function(e){ec[e]&&(ec[e]=[])},i.removeAllHooks=function(){ec={}},i}();Z.version,Z.isSupported;let Y=Z.sanitize;Z.setConfig,Z.clearConfig,Z.isValidAttribute;let J=Z.addHook,X=Z.removeHook;Z.removeHooks,Z.removeAllHooks},4850:function(e,t,i){"use strict";i.d(t,{Y:function(){return o},p:function(){return r}});var n=i(4669);class o{constructor(e,t,i){let o=e=>this.emitter.fire(e);this.emitter=new n.Q5({onFirstListenerAdd:()=>e.addEventListener(t,o,i),onLastListenerRemove:()=>e.removeEventListener(t,o,i)})}get event(){return this.emitter.event}dispose(){this.emitter.dispose()}}function r(e){return e.preventDefault(),e.stopPropagation(),e}},38626:function(e,t,i){"use strict";i.d(t,{X:function(){return r},Z:function(){return n}});class n{constructor(e){this.domNode=e,this._maxWidth="",this._width="",this._height="",this._top="",this._left="",this._bottom="",this._right="",this._fontFamily="",this._fontWeight="",this._fontSize="",this._fontStyle="",this._fontFeatureSettings="",this._textDecoration="",this._lineHeight="",this._letterSpacing="",this._className="",this._display="",this._position="",this._visibility="",this._color="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(e){let t=o(e);this._maxWidth!==t&&(this._maxWidth=t,this.domNode.style.maxWidth=this._maxWidth)}setWidth(e){let t=o(e);this._width!==t&&(this._width=t,this.domNode.style.width=this._width)}setHeight(e){let t=o(e);this._height!==t&&(this._height=t,this.domNode.style.height=this._height)}setTop(e){let t=o(e);this._top!==t&&(this._top=t,this.domNode.style.top=this._top)}setLeft(e){let t=o(e);this._left!==t&&(this._left=t,this.domNode.style.left=this._left)}setBottom(e){let t=o(e);this._bottom!==t&&(this._bottom=t,this.domNode.style.bottom=this._bottom)}setRight(e){let t=o(e);this._right!==t&&(this._right=t,this.domNode.style.right=this._right)}setFontFamily(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(e){let t=o(e);this._fontSize!==t&&(this._fontSize=t,this.domNode.style.fontSize=this._fontSize)}setFontStyle(e){this._fontStyle!==e&&(this._fontStyle=e,this.domNode.style.fontStyle=this._fontStyle)}setFontFeatureSettings(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setTextDecoration(e){this._textDecoration!==e&&(this._textDecoration=e,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(e){let t=o(e);this._lineHeight!==t&&(this._lineHeight=t,this.domNode.style.lineHeight=this._lineHeight)}setLetterSpacing(e){let t=o(e);this._letterSpacing!==t&&(this._letterSpacing=t,this.domNode.style.letterSpacing=this._letterSpacing)}setClassName(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)}toggleClassName(e,t){this.domNode.classList.toggle(e,t),this._className=this.domNode.className}setDisplay(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)}setPosition(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)}setColor(e){this._color!==e&&(this._color=e,this.domNode.style.color=this._color)}setBackgroundColor(e){this._backgroundColor!==e&&(this._backgroundColor=e,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(e){this._boxShadow!==e&&(this._boxShadow=e,this.domNode.style.boxShadow=e)}setContain(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)}setAttribute(e,t){this.domNode.setAttribute(e,t)}removeAttribute(e){this.domNode.removeAttribute(e)}appendChild(e){this.domNode.appendChild(e.domNode)}removeChild(e){this.domNode.removeChild(e.domNode)}}function o(e){return"number"==typeof e?`${e}px`:e}function r(e){return new n(e)}},94079:function(e,t,i){"use strict";i.d(t,{BO:function(){return r},IY:function(){return o},az:function(){return s}});var n=i(65321);function o(e,t={}){let i=s(t);return i.textContent=e,i}function r(e,t={}){let i=s(t);return function e(t,i,o,r){let s;if(2===i.type)s=document.createTextNode(i.content||"");else if(3===i.type)s=document.createElement("b");else if(4===i.type)s=document.createElement("i");else if(7===i.type&&r)s=document.createElement("code");else if(5===i.type&&o){let e=document.createElement("a");o.disposables.add(n.mu(e,"click",e=>{o.callback(String(i.index),e)})),s=e}else 8===i.type?s=document.createElement("br"):1===i.type&&(s=t);s&&t!==s&&t.appendChild(s),s&&Array.isArray(i.children)&&i.children.forEach(t=>{e(s,t,o,r)})}(i,function(e,t){let i={type:1,children:[]},n=0,o=i,r=[],s=new a(e);for(;!s.eos();){let e=s.next(),i="\\"===e&&0!==l(s.peek(),t);if(i&&(e=s.next()),i||0===l(e,t)||e!==s.peek()){if("\n"===e)2===o.type&&(o=r.pop()),o.children.push({type:8});else if(2!==o.type){let t={type:2,content:e};o.children.push(t),r.push(o),o=t}else o.content+=e}else{s.advance(),2===o.type&&(o=r.pop());let i=l(e,t);if(o.type===i||5===o.type&&6===i)o=r.pop();else{let e={type:i,children:[]};5===i&&(e.index=n,n++),o.children.push(e),r.push(o),o=e}}}return 2===o.type&&(o=r.pop()),r.length,i}(e,!!t.renderCodeSegments),t.actionHandler,t.renderCodeSegments),i}function s(e){let t=e.inline?"span":"div",i=document.createElement(t);return e.className&&(i.className=e.className),i}class a{constructor(e){this.source=e,this.index=0}eos(){return this.index>=this.source.length}next(){let e=this.peek();return this.advance(),e}peek(){return this.source[this.index]}advance(){this.index++}}function l(e,t){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;case"`":return t?7:0;default:return 0}}},93911:function(e,t,i){"use strict";i.d(t,{C:function(){return r}});var n=i(65321),o=i(9917);class r{constructor(){this._hooks=new o.SL,this._pointerMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(e,t){if(!this.isMonitoring())return;this._hooks.clear(),this._pointerMoveCallback=null;let i=this._onStopCallback;this._onStopCallback=null,e&&i&&i(t)}isMonitoring(){return!!this._pointerMoveCallback}startMonitoring(e,t,i,r,s){this.isMonitoring()&&this.stopMonitoring(!1),this._pointerMoveCallback=r,this._onStopCallback=s;let a=e;try{e.setPointerCapture(t),this._hooks.add((0,o.OF)(()=>{e.releasePointerCapture(t)}))}catch(e){a=window}this._hooks.add(n.nm(a,n.tw.POINTER_MOVE,e=>{if(e.buttons!==i){this.stopMonitoring(!0);return}e.preventDefault(),this._pointerMoveCallback(e)})),this._hooks.add(n.nm(a,n.tw.POINTER_UP,e=>this.stopMonitoring(!0)))}}},59069:function(e,t,i){"use strict";i.d(t,{y:function(){return h}});var n=i(16268),o=i(22258),r=i(8313),s=i(1432);let a=s.dz?256:2048,l=s.dz?2048:256;class h{constructor(e){this._standardKeyboardEventBrand=!0,this.browserEvent=e,this.target=e.target,this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,this.keyCode=function(e){if(e.charCode){let t=String.fromCharCode(e.charCode).toUpperCase();return o.kL.fromString(t)}let t=e.keyCode;if(3===t)return 7;if(n.isFirefox){if(59===t)return 80;if(107===t)return 81;if(109===t)return 83;if(s.dz&&224===t)return 57}else if(n.isWebKit&&(91===t||s.dz&&93===t||!s.dz&&92===t))return 57;return o.H_[t]||0}(e),this.code=e.code,this.ctrlKey=this.ctrlKey||5===this.keyCode,this.altKey=this.altKey||6===this.keyCode,this.shiftKey=this.shiftKey||4===this.keyCode,this.metaKey=this.metaKey||57===this.keyCode,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeybinding(){return this._asRuntimeKeybinding}equals(e){return this._asKeybinding===e}_computeKeybinding(){let e=0;5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode);let t=0;return this.ctrlKey&&(t|=a),this.altKey&&(t|=512),this.shiftKey&&(t|=1024),this.metaKey&&(t|=l),t|=e}_computeRuntimeKeybinding(){let e=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode),new r.QC(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}},7317:function(e,t,i){"use strict";i.d(t,{n:function(){return a},q:function(){return l}});var n=i(16268);let o=null;class r{static getSameOriginWindowChain(){if(!o){let e;o=[];let t=window;do(e=function(e){if(!e.parent||e.parent===e)return null;try{let t=e.location,i=e.parent.location;if("null"!==t.origin&&"null"!==i.origin&&t.origin!==i.origin)return null}catch(e){return null}return e.parent}(t))?o.push({window:t,iframeElement:t.frameElement||null}):o.push({window:t,iframeElement:null}),t=e;while(t)}return o.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){if(!t||e===t)return{top:0,left:0};let i=0,n=0,o=this.getSameOriginWindowChain();for(let e of o){if(i+=e.window.scrollY,n+=e.window.scrollX,e.window===t||!e.iframeElement)break;let o=e.iframeElement.getBoundingClientRect();i+=o.top,n+=o.left}return{top:i,left:n}}}var s=i(1432);class a{constructor(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=0===e.button,this.middleButton=1===e.button,this.rightButton=2===e.button,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,"dblclick"===e.type&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,"number"==typeof e.pageX?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop);let t=r.getPositionOfChildWindowRelativeToAncestorWindow(self,e.view);this.posx-=t.left,this.posy-=t.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class l{constructor(e,t=0,i=0){this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=i,this.deltaX=t,e&&(void 0!==e.wheelDeltaY?this.deltaY=e.wheelDeltaY/120:void 0!==e.VERTICAL_AXIS&&e.axis===e.VERTICAL_AXIS?this.deltaY=-e.detail/3:"wheel"===e.type&&(e.deltaMode===e.DOM_DELTA_LINE?n.isFirefox&&!s.dz?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40),void 0!==e.wheelDeltaX?n.isSafari&&s.ED?this.deltaX=-(e.wheelDeltaX/120):this.deltaX=e.wheelDeltaX/120:void 0!==e.HORIZONTAL_AXIS&&e.axis===e.HORIZONTAL_AXIS?this.deltaX=-e.detail/3:"wheel"===e.type&&(e.deltaMode===e.DOM_DELTA_LINE?n.isFirefox&&!s.dz?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40),0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120))}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation()}}},10553:function(e,t,i){"use strict";i.d(t,{o:function(){return h},t:function(){return o}});var n,o,r=i(65321),s=i(9488),a=i(49898),l=i(9917);(n=o||(o={})).Tap="-monaco-gesturetap",n.Change="-monaco-gesturechange",n.Start="-monaco-gesturestart",n.End="-monaco-gesturesend",n.Contextmenu="-monaco-gesturecontextmenu";class h extends l.JT{constructor(){super(),this.dispatched=!1,this.activeTouches={},this.handle=null,this.targets=[],this.ignoreTargets=[],this._lastSetTapCountTime=0,this._register(r.nm(document,"touchstart",e=>this.onTouchStart(e),{passive:!1})),this._register(r.nm(document,"touchend",e=>this.onTouchEnd(e))),this._register(r.nm(document,"touchmove",e=>this.onTouchMove(e),{passive:!1}))}static addTarget(e){return h.isTouchDevice()?(h.INSTANCE||(h.INSTANCE=new h),h.INSTANCE.targets.push(e),{dispose:()=>{h.INSTANCE.targets=h.INSTANCE.targets.filter(t=>t!==e)}}):l.JT.None}static ignoreTarget(e){return h.isTouchDevice()?(h.INSTANCE||(h.INSTANCE=new h),h.INSTANCE.ignoreTargets.push(e),{dispose:()=>{h.INSTANCE.ignoreTargets=h.INSTANCE.ignoreTargets.filter(t=>t!==e)}}):l.JT.None}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(e){let t=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let i=0,n=e.targetTouches.length;iMath.abs(a.initialPageX-s.Gb(a.rollingPageX))&&30>Math.abs(a.initialPageY-s.Gb(a.rollingPageY))){let e=this.newGestureEvent(o.Tap,a.initialTarget);e.pageX=s.Gb(a.rollingPageX),e.pageY=s.Gb(a.rollingPageY),this.dispatchEvent(e)}else if(l>=h.HOLD_DELAY&&30>Math.abs(a.initialPageX-s.Gb(a.rollingPageX))&&30>Math.abs(a.initialPageY-s.Gb(a.rollingPageY))){let e=this.newGestureEvent(o.Contextmenu,a.initialTarget);e.pageX=s.Gb(a.rollingPageX),e.pageY=s.Gb(a.rollingPageY),this.dispatchEvent(e)}else if(1===i){let e=s.Gb(a.rollingPageX),i=s.Gb(a.rollingPageY),n=s.Gb(a.rollingTimestamps)-a.rollingTimestamps[0],o=e-a.rollingPageX[0],r=i-a.rollingPageY[0],l=this.targets.filter(e=>a.initialTarget instanceof Node&&e.contains(a.initialTarget));this.inertia(l,t,Math.abs(o)/n,o>0?1:-1,e,Math.abs(r)/n,r>0?1:-1,i)}this.dispatchEvent(this.newGestureEvent(o.End,a.initialTarget)),delete this.activeTouches[r.identifier]}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}newGestureEvent(e,t){let i=document.createEvent("CustomEvent");return i.initEvent(e,!1,!0),i.initialTarget=t,i.tapCount=0,i}dispatchEvent(e){if(e.type===o.Tap){let t=new Date().getTime(),i=0;i=t-this._lastSetTapCountTime>h.CLEAR_TAP_COUNT_TIME?1:2,this._lastSetTapCountTime=t,e.tapCount=i}else(e.type===o.Change||e.type===o.Contextmenu)&&(this._lastSetTapCountTime=0);for(let t=0;t{e.initialTarget instanceof Node&&t.contains(e.initialTarget)&&(t.dispatchEvent(e),this.dispatched=!0)})}inertia(e,t,i,n,s,a,l,d){this.handle=r.jL(()=>{let r=Date.now(),u=r-t,c=0,g=0,p=!0;i+=h.SCROLL_FRICTION*u,a+=h.SCROLL_FRICTION*u,i>0&&(p=!1,c=n*i*u),a>0&&(p=!1,g=l*a*u);let m=this.newGestureEvent(o.Change);m.translationX=c,m.translationY=g,e.forEach(e=>e.dispatchEvent(m)),p||this.inertia(e,r,i,n,s+c,a,l,d+g)})}onTouchMove(e){let t=Date.now();for(let i=0,n=e.changedTouches.length;i3&&(r.rollingPageX.shift(),r.rollingPageY.shift(),r.rollingTimestamps.shift()),r.rollingPageX.push(n.pageX),r.rollingPageY.push(n.pageY),r.rollingTimestamps.push(t)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}}h.SCROLL_FRICTION=-.005,h.HOLD_DELAY=700,h.CLEAR_TAP_COUNT_TIME=400,function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);r>3&&s&&Object.defineProperty(t,i,s)}([a.H],h,"isTouchDevice",null)},76033:function(e,t,i){"use strict";i.d(t,{Y:function(){return g},g:function(){return p}});var n=i(16268),o=i(23547),r=i(65321),s=i(10553),a=i(51433),l=i(74741),h=i(9917),d=i(1432),u=i(98401);i(13880);var c=i(63580);class g extends h.JT{constructor(e,t,i={}){super(),this.options=i,this._context=e||this,this._action=t,t instanceof l.aU&&this._register(t.onDidChange(e=>{this.element&&this.handleActionChangeEvent(e)}))}get action(){return this._action}handleActionChangeEvent(e){void 0!==e.enabled&&this.updateEnabled(),void 0!==e.checked&&this.updateChecked(),void 0!==e.class&&this.updateClass(),void 0!==e.label&&(this.updateLabel(),this.updateTooltip()),void 0!==e.tooltip&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new l.Wi)),this._actionRunner}set actionRunner(e){this._actionRunner=e}getAction(){return this._action}isEnabled(){return this._action.enabled}setActionContext(e){this._context=e}render(e){let t=this.element=e;this._register(s.o.addTarget(e));let i=this.options&&this.options.draggable;i&&(e.draggable=!0,n.isFirefox&&this._register((0,r.nm)(e,r.tw.DRAG_START,e=>{var t;return null===(t=e.dataTransfer)||void 0===t?void 0:t.setData(o.g.TEXT,this._action.label)}))),this._register((0,r.nm)(t,s.t.Tap,e=>this.onClick(e,!0))),this._register((0,r.nm)(t,r.tw.MOUSE_DOWN,e=>{i||r.zB.stop(e,!0),this._action.enabled&&0===e.button&&t.classList.add("active")})),d.dz&&this._register((0,r.nm)(t,r.tw.CONTEXT_MENU,e=>{0===e.button&&!0===e.ctrlKey&&this.onClick(e)})),this._register((0,r.nm)(t,r.tw.CLICK,e=>{r.zB.stop(e,!0),this.options&&this.options.isMenu||this.onClick(e)})),this._register((0,r.nm)(t,r.tw.DBLCLICK,e=>{r.zB.stop(e,!0)})),[r.tw.MOUSE_UP,r.tw.MOUSE_OUT].forEach(e=>{this._register((0,r.nm)(t,e,e=>{r.zB.stop(e),t.classList.remove("active")}))})}onClick(e,t=!1){var i;r.zB.stop(e,!0);let n=u.Jp(this._context)?(null===(i=this.options)||void 0===i?void 0:i.useEventAsContext)?e:{preserveFocus:t}:this._context;this.actionRunner.run(this._action,n)}focus(){this.element&&(this.element.tabIndex=0,this.element.focus(),this.element.classList.add("focused"))}blur(){this.element&&(this.element.blur(),this.element.tabIndex=-1,this.element.classList.remove("focused"))}setFocusable(e){this.element&&(this.element.tabIndex=e?0:-1)}get trapsArrowNavigation(){return!1}updateEnabled(){}updateLabel(){}getTooltip(){return this.getAction().tooltip}updateTooltip(){var e;if(!this.element)return;let t=null!==(e=this.getTooltip())&&void 0!==e?e:"";this.element.setAttribute("aria-label",t),this.options.hoverDelegate?(this.element.title="",this.customHover?this.customHover.update(t):(this.customHover=(0,a.g)(this.options.hoverDelegate,this.element,t),this._store.add(this.customHover))):this.element.title=t}updateClass(){}updateChecked(){}dispose(){this.element&&(this.element.remove(),this.element=void 0),super.dispose()}}class p extends g{constructor(e,t,i={}){super(e,t,i),this.options=i,this.options.icon=void 0!==i.icon&&i.icon,this.options.label=void 0===i.label||i.label,this.cssClass=""}render(e){super.render(e),this.element&&(this.label=(0,r.R3)(this.element,(0,r.$)("a.action-label"))),this.label&&(this._action.id===l.Z0.ID?this.label.setAttribute("role","presentation"):this.options.isMenu?this.label.setAttribute("role","menuitem"):this.label.setAttribute("role","button")),this.options.label&&this.options.keybinding&&this.element&&((0,r.R3)(this.element,(0,r.$)("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}focus(){this.label&&(this.label.tabIndex=0,this.label.focus())}blur(){this.label&&(this.label.tabIndex=-1)}setFocusable(e){this.label&&(this.label.tabIndex=e?0:-1)}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.getAction().label)}getTooltip(){let e=null;return this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=c.NC({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),null!=e?e:void 0}updateClass(){var e;this.cssClass&&this.label&&this.label.classList.remove(...this.cssClass.split(" ")),this.options.icon?(this.cssClass=this.getAction().class,this.label&&(this.label.classList.add("codicon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" "))),this.updateEnabled()):null===(e=this.label)||void 0===e||e.classList.remove("codicon")}updateEnabled(){var e,t;this.getAction().enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),this.label.classList.remove("disabled")),null===(e=this.element)||void 0===e||e.classList.remove("disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),this.label.classList.add("disabled")),null===(t=this.element)||void 0===t||t.classList.add("disabled"))}updateChecked(){this.label&&(this.getAction().checked?this.label.classList.add("checked"):this.label.classList.remove("checked"))}}},90317:function(e,t,i){"use strict";i.d(t,{o:function(){return d}});var n=i(65321),o=i(59069),r=i(76033),s=i(74741),a=i(4669),l=i(9917),h=i(98401);i(13880);class d extends l.JT{constructor(e,t={}){var i,l,h,d,u,c;let g,p;switch(super(),this.triggerKeyDown=!1,this.focusable=!0,this._onDidBlur=this._register(new a.Q5),this.onDidBlur=this._onDidBlur.event,this._onDidCancel=this._register(new a.Q5({onFirstListenerAdd:()=>this.cancelHasListener=!0})),this.onDidCancel=this._onDidCancel.event,this.cancelHasListener=!1,this._onDidRun=this._register(new a.Q5),this.onDidRun=this._onDidRun.event,this._onBeforeRun=this._register(new a.Q5),this.onBeforeRun=this._onBeforeRun.event,this.options=t,this._context=null!==(i=t.context)&&void 0!==i?i:null,this._orientation=null!==(l=this.options.orientation)&&void 0!==l?l:0,this._triggerKeys={keyDown:null!==(d=null===(h=this.options.triggerKeys)||void 0===h?void 0:h.keyDown)&&void 0!==d&&d,keys:null!==(c=null===(u=this.options.triggerKeys)||void 0===u?void 0:u.keys)&&void 0!==c?c:[3,10]},this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new s.Wi,this._register(this._actionRunner)),this._register(this._actionRunner.onDidRun(e=>this._onDidRun.fire(e))),this._register(this._actionRunner.onBeforeRun(e=>this._onBeforeRun.fire(e))),this._actionIds=[],this.viewItems=[],this.viewItemDisposables=new Map,this.focusedItem=void 0,this.domNode=document.createElement("div"),this.domNode.className="monaco-action-bar",!1!==t.animated&&this.domNode.classList.add("animated"),this._orientation){case 0:g=[15],p=[17];break;case 1:g=[16],p=[18],this.domNode.className+=" vertical"}this._register(n.nm(this.domNode,n.tw.KEY_DOWN,e=>{let t=new o.y(e),i=!0,n="number"==typeof this.focusedItem?this.viewItems[this.focusedItem]:void 0;g&&(t.equals(g[0])||t.equals(g[1]))?i=this.focusPrevious():p&&(t.equals(p[0])||t.equals(p[1]))?i=this.focusNext():t.equals(9)&&this.cancelHasListener?this._onDidCancel.fire():t.equals(14)?i=this.focusFirst():t.equals(13)?i=this.focusLast():t.equals(2)&&n instanceof r.Y&&n.trapsArrowNavigation?i=this.focusNext():this.isTriggerKeyEvent(t)?this._triggerKeys.keyDown?this.doTrigger(t):this.triggerKeyDown=!0:i=!1,i&&(t.preventDefault(),t.stopPropagation())})),this._register(n.nm(this.domNode,n.tw.KEY_UP,e=>{let t=new o.y(e);this.isTriggerKeyEvent(t)?(!this._triggerKeys.keyDown&&this.triggerKeyDown&&(this.triggerKeyDown=!1,this.doTrigger(t)),t.preventDefault(),t.stopPropagation()):(t.equals(2)||t.equals(1026))&&this.updateFocusedItem()})),this.focusTracker=this._register(n.go(this.domNode)),this._register(this.focusTracker.onDidBlur(()=>{n.vY()!==this.domNode&&n.jg(n.vY(),this.domNode)||(this._onDidBlur.fire(),this.focusedItem=void 0,this.previouslyFocusedItem=void 0,this.triggerKeyDown=!1)})),this._register(this.focusTracker.onDidFocus(()=>this.updateFocusedItem())),this.actionsList=document.createElement("ul"),this.actionsList.className="actions-container",this.actionsList.setAttribute("role",this.options.ariaRole||"toolbar"),this.options.ariaLabel&&this.actionsList.setAttribute("aria-label",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),e.appendChild(this.domNode)}refreshRole(){this.length()>=2?this.actionsList.setAttribute("role",this.options.ariaRole||"toolbar"):this.actionsList.setAttribute("role","presentation")}setFocusable(e){if(this.focusable=e,this.focusable){let e=this.viewItems.find(e=>e instanceof r.Y&&e.isEnabled());e instanceof r.Y&&e.setFocusable(!0)}else this.viewItems.forEach(e=>{e instanceof r.Y&&e.setFocusable(!1)})}isTriggerKeyEvent(e){let t=!1;return this._triggerKeys.keys.forEach(i=>{t=t||e.equals(i)}),t}updateFocusedItem(){for(let e=0;et.setActionContext(e))}get actionRunner(){return this._actionRunner}set actionRunner(e){e&&(this._actionRunner=e,this.viewItems.forEach(t=>t.actionRunner=e))}getContainer(){return this.domNode}push(e,t={}){let i=Array.isArray(e)?e:[e],o=h.hj(t.index)?t.index:null;i.forEach(e=>{let i;let s=document.createElement("li");s.className="action-item",s.setAttribute("role","presentation"),this.options.actionViewItemProvider&&(i=this.options.actionViewItemProvider(e)),i||(i=new r.g(this.context,e,Object.assign({hoverDelegate:this.options.hoverDelegate},t))),this.options.allowContextMenu||this.viewItemDisposables.set(i,n.nm(s,n.tw.CONTEXT_MENU,e=>{n.zB.stop(e,!0)})),i.actionRunner=this._actionRunner,i.setActionContext(this.context),i.render(s),this.focusable&&i instanceof r.Y&&0===this.viewItems.length&&i.setFocusable(!0),null===o||o<0||o>=this.actionsList.children.length?(this.actionsList.appendChild(s),this.viewItems.push(i),this._actionIds.push(e.id)):(this.actionsList.insertBefore(s,this.actionsList.children[o]),this.viewItems.splice(o,0,i),this._actionIds.splice(o,0,e.id),o++)}),"number"==typeof this.focusedItem&&this.focus(this.focusedItem),this.refreshRole()}clear(){(0,l.B9)(this.viewItems),this.viewItemDisposables.forEach(e=>e.dispose()),this.viewItemDisposables.clear(),this.viewItems=[],this._actionIds=[],n.PO(this.actionsList),this.refreshRole()}length(){return this.viewItems.length}focus(e){let t,i=!1;if(void 0===e?i=!0:"number"==typeof e?t=e:"boolean"==typeof e&&(i=e),i&&void 0===this.focusedItem){let e=this.viewItems.findIndex(e=>e.isEnabled());this.focusedItem=-1===e?void 0:e,this.updateFocus(void 0,void 0,!0)}else void 0!==t&&(this.focusedItem=t),this.updateFocus(void 0,void 0,!0)}focusFirst(){return this.focusedItem=this.length()-1,this.focusNext(!0)}focusLast(){return this.focusedItem=0,this.focusPrevious(!0)}focusNext(e){let t;if(void 0===this.focusedItem)this.focusedItem=this.viewItems.length-1;else if(this.viewItems.length<=1)return!1;let i=this.focusedItem;do{if(!e&&this.options.preventLoopNavigation&&this.focusedItem+1>=this.viewItems.length)return this.focusedItem=i,!1;this.focusedItem=(this.focusedItem+1)%this.viewItems.length,t=this.viewItems[this.focusedItem]}while(this.focusedItem!==i&&(this.options.focusOnlyEnabledItems&&!t.isEnabled()||t.action.id===s.Z0.ID));return this.updateFocus(),!0}focusPrevious(e){let t;if(void 0===this.focusedItem)this.focusedItem=0;else if(this.viewItems.length<=1)return!1;let i=this.focusedItem;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(!e&&this.options.preventLoopNavigation)return this.focusedItem=i,!1;this.focusedItem=this.viewItems.length-1}t=this.viewItems[this.focusedItem]}while(this.focusedItem!==i&&(this.options.focusOnlyEnabledItems&&!t.isEnabled()||t.action.id===s.Z0.ID));return this.updateFocus(!0),!0}updateFocus(e,t,i=!1){var n;void 0===this.focusedItem&&this.actionsList.focus({preventScroll:t}),void 0!==this.previouslyFocusedItem&&this.previouslyFocusedItem!==this.focusedItem&&(null===(n=this.viewItems[this.previouslyFocusedItem])||void 0===n||n.blur());let o=void 0!==this.focusedItem&&this.viewItems[this.focusedItem];if(o){let n=!0;h.mf(o.focus)||(n=!1),this.options.focusOnlyEnabledItems&&h.mf(o.isEnabled)&&!o.isEnabled()&&(n=!1),o.action.id===s.Z0.ID&&(n=!1),n?(i||this.previouslyFocusedItem!==this.focusedItem)&&(o.focus(e),this.previouslyFocusedItem=this.focusedItem):(this.actionsList.focus({preventScroll:t}),this.previouslyFocusedItem=void 0)}}doTrigger(e){if(void 0===this.focusedItem)return;let t=this.viewItems[this.focusedItem];if(t instanceof r.Y){let i=null===t._context||void 0===t._context?e:t._context;this.run(t._action,i)}}run(e,t){var i,n,o,r;return i=this,n=void 0,o=void 0,r=function*(){yield this._actionRunner.run(e,t)},new(o||(o=Promise))(function(e,t){function s(e){try{l(r.next(e))}catch(e){t(e)}}function a(e){try{l(r.throw(e))}catch(e){t(e)}}function l(t){var i;t.done?e(t.value):((i=t.value)instanceof o?i:new o(function(e){e(i)})).then(s,a)}l((r=r.apply(i,n||[])).next())})}dispose(){(0,l.B9)(this.viewItems),this.viewItems=[],this._actionIds=[],this.getContainer().remove(),super.dispose()}}},85152:function(e,t,i){"use strict";let n,o,r,s,a;i.d(t,{Z9:function(){return u},i7:function(){return c},wW:function(){return d}});var l=i(65321),h=i(1432);function d(e){(n=document.createElement("div")).className="monaco-aria-container";let t=()=>{let e=document.createElement("div");return e.className="monaco-alert",e.setAttribute("role","alert"),e.setAttribute("aria-atomic","true"),n.appendChild(e),e};o=t(),r=t();let i=()=>{let e=document.createElement("div");return e.className="monaco-status",e.setAttribute("role","complementary"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),n.appendChild(e),e};s=i(),a=i(),e.appendChild(n)}function u(e){n&&(o.textContent!==e?(l.PO(r),g(o,e)):(l.PO(o),g(r,e)))}function c(e){n&&(h.dz?u(e):s.textContent!==e?(l.PO(a),g(s,e)):(l.PO(s),g(a,e)))}function g(e,t){l.PO(e),t.length>2e4&&(t=t.substr(0,2e4)),e.textContent=t,e.style.visibility="hidden",e.style.visibility="visible"}i(40944)},28609:function(e,t,i){"use strict";i.d(t,{a:function(){return o}});var n=i(73046);function o(e){let t=e.definition;for(;t instanceof n.lA;)t=t.definition;return`.codicon-${e.id}:before { content: '${t.fontCharacter}'; }`}i(90900),i(44142)},67488:function(e,t,i){"use strict";i.d(t,{Z:function(){return l}});var n=i(65321),o=i(41264),r=i(36248),s=i(97295);i(32501);let a={badgeBackground:o.Il.fromHex("#4D4D4D"),badgeForeground:o.Il.fromHex("#FFFFFF")};class l{constructor(e,t){this.count=0,this.options=t||Object.create(null),(0,r.jB)(this.options,a,!1),this.badgeBackground=this.options.badgeBackground,this.badgeForeground=this.options.badgeForeground,this.badgeBorder=this.options.badgeBorder,this.element=(0,n.R3)(e,(0,n.$)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(e){this.count=e,this.render()}setTitleFormat(e){this.titleFormat=e,this.render()}render(){this.element.textContent=(0,s.WU)(this.countFormat,this.count),this.element.title=(0,s.WU)(this.titleFormat,this.count),this.applyStyles()}style(e){this.badgeBackground=e.badgeBackground,this.badgeForeground=e.badgeForeground,this.badgeBorder=e.badgeBorder,this.applyStyles()}applyStyles(){if(this.element){let e=this.badgeBackground?this.badgeBackground.toString():"",t=this.badgeForeground?this.badgeForeground.toString():"",i=this.badgeBorder?this.badgeBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.element.style.borderWidth=i?"1px":"",this.element.style.borderStyle=i?"solid":"",this.element.style.borderColor=i}}}},3070:function(e,t,i){"use strict";i.d(t,{V:function(){return d}});var n=i(65321),o=i(51307),r=i(49111),s=i(93794),a=i(4669);i(82654);var l=i(63580);let h=l.NC("defaultLabel","input");class d extends s.${constructor(e,t,i,s){var l;super(),this._showOptionButtons=i,this.fixFocusOnOptionClickEnabled=!0,this.imeSessionInProgress=!1,this.additionalToggles=[],this._onDidOptionChange=this._register(new a.Q5),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new a.Q5),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new a.Q5),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new a.Q5),this._onKeyUp=this._register(new a.Q5),this._onCaseSensitiveKeyDown=this._register(new a.Q5),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new a.Q5),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.contextViewProvider=t,this.placeholder=s.placeholder||"",this.validation=s.validation,this.label=s.label||h,this.inputActiveOptionBorder=s.inputActiveOptionBorder,this.inputActiveOptionForeground=s.inputActiveOptionForeground,this.inputActiveOptionBackground=s.inputActiveOptionBackground,this.inputBackground=s.inputBackground,this.inputForeground=s.inputForeground,this.inputBorder=s.inputBorder,this.inputValidationInfoBorder=s.inputValidationInfoBorder,this.inputValidationInfoBackground=s.inputValidationInfoBackground,this.inputValidationInfoForeground=s.inputValidationInfoForeground,this.inputValidationWarningBorder=s.inputValidationWarningBorder,this.inputValidationWarningBackground=s.inputValidationWarningBackground,this.inputValidationWarningForeground=s.inputValidationWarningForeground,this.inputValidationErrorBorder=s.inputValidationErrorBorder,this.inputValidationErrorBackground=s.inputValidationErrorBackground,this.inputValidationErrorForeground=s.inputValidationErrorForeground;let d=s.appendCaseSensitiveLabel||"",u=s.appendWholeWordsLabel||"",c=s.appendRegexLabel||"",g=s.history||[],p=!!s.flexibleHeight,m=!!s.flexibleWidth,f=s.flexibleMaxHeight;this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new r.p(this.domNode,this.contextViewProvider,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:g,showHistoryHint:s.showHistoryHint,flexibleHeight:p,flexibleWidth:m,flexibleMaxHeight:f})),this.regex=this._register(new o.eH({appendTitle:c,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.regex.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.regex.onKeyDown(e=>{this._onRegexKeyDown.fire(e)})),this.wholeWords=this._register(new o.Qx({appendTitle:u,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.wholeWords.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this.caseSensitive=this._register(new o.rk({appendTitle:d,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.caseSensitive.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.caseSensitive.onKeyDown(e=>{this._onCaseSensitiveKeyDown.fire(e)}));let _=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];for(let e of(this.onkeydown(this.domNode,e=>{if(e.equals(15)||e.equals(17)||e.equals(9)){let t=_.indexOf(document.activeElement);if(t>=0){let i=-1;e.equals(17)?i=(t+1)%_.length:e.equals(15)&&(i=0===t?_.length-1:t-1),e.equals(9)?(_[t].blur(),this.inputBox.focus()):i>=0&&_[i].focus(),n.zB.stop(e,!0)}}}),this.controls=document.createElement("div"),this.controls.className="controls",this.controls.style.display=this._showOptionButtons?"block":"none",this.controls.appendChild(this.caseSensitive.domNode),this.controls.appendChild(this.wholeWords.domNode),this.controls.appendChild(this.regex.domNode),this._showOptionButtons||(this.caseSensitive.domNode.style.display="none",this.wholeWords.domNode.style.display="none",this.regex.domNode.style.display="none"),null!==(l=null==s?void 0:s.additionalToggles)&&void 0!==l?l:[]))this._register(e),this.controls.appendChild(e.domNode),this._register(e.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus()})),this.additionalToggles.push(e);this.additionalToggles.length>0&&(this.controls.style.display="block"),this.inputBox.paddingRight=(this._showOptionButtons?this.caseSensitive.width()+this.wholeWords.width()+this.regex.width():0)+this.additionalToggles.reduce((e,t)=>e+t.width(),0),this.domNode.appendChild(this.controls),null==e||e.appendChild(this.domNode),this._register(n.nm(this.inputBox.inputElement,"compositionstart",e=>{this.imeSessionInProgress=!0})),this._register(n.nm(this.inputBox.inputElement,"compositionend",e=>{this.imeSessionInProgress=!1,this._onInput.fire()})),this.onkeydown(this.inputBox.inputElement,e=>this._onKeyDown.fire(e)),this.onkeyup(this.inputBox.inputElement,e=>this._onKeyUp.fire(e)),this.oninput(this.inputBox.inputElement,e=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,e=>this._onMouseDown.fire(e))}get onDidChange(){return this.inputBox.onDidChange}enable(){for(let e of(this.domNode.classList.remove("disabled"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable(),this.additionalToggles))e.enable()}disable(){for(let e of(this.domNode.classList.add("disabled"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable(),this.additionalToggles))e.disable()}setFocusInputOnOptionClick(e){this.fixFocusOnOptionClickEnabled=e}setEnabled(e){e?this.enable():this.disable()}getValue(){return this.inputBox.value}setValue(e){this.inputBox.value!==e&&(this.inputBox.value=e)}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){if(this.domNode){let e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground};for(let t of(this.regex.style(e),this.wholeWords.style(e),this.caseSensitive.style(e),this.additionalToggles))t.style(e);let t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){return this.caseSensitive.checked}setCaseSensitive(e){this.caseSensitive.checked=e}getWholeWords(){return this.wholeWords.checked}setWholeWords(e){this.wholeWords.checked=e}getRegex(){return this.regex.checked}setRegex(e){this.regex.checked=e,this.validate()}focusOnCaseSensitive(){this.caseSensitive.focus()}highlightFindOptions(){this.domNode.classList.remove("highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,this.domNode.classList.add("highlight-"+this._lastHighlightFindOptions)}validate(){this.inputBox.validate()}showMessage(e){this.inputBox.showMessage(e)}clearMessage(){this.inputBox.hideMessage()}}},51307:function(e,t,i){"use strict";i.d(t,{Qx:function(){return d},eH:function(){return u},rk:function(){return h}});var n=i(82900),o=i(73046),r=i(63580);let s=r.NC("caseDescription","Match Case"),a=r.NC("wordsDescription","Match Whole Word"),l=r.NC("regexDescription","Use Regular Expression");class h extends n.Z{constructor(e){super({icon:o.lA.caseSensitive,title:s+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class d extends n.Z{constructor(e){super({icon:o.lA.wholeWord,title:a+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class u extends n.Z{constructor(e){super({icon:o.lA.regex,title:l+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}},34650:function(e,t,i){"use strict";i.d(t,{q:function(){return s}});var n=i(65321),o=i(56811),r=i(36248);class s{constructor(e,t){var i;this.text="",this.title="",this.highlights=[],this.didEverRender=!1,this.supportIcons=null!==(i=null==t?void 0:t.supportIcons)&&void 0!==i&&i,this.domNode=n.R3(e,n.$("span.monaco-highlighted-label"))}get element(){return this.domNode}set(e,t=[],i="",n){e||(e=""),n&&(e=s.escapeNewLines(e,t)),this.didEverRender&&this.text===e&&this.title===i&&r.fS(this.highlights,t)||(this.text=e,this.title=i,this.highlights=t,this.render())}render(){let e=[],t=0;for(let i of this.highlights){if(i.end===i.start)continue;if(t{for(let r of(n="\r\n"===e?-1:0,o+=i,t))!(r.end<=o)&&(r.start>=o&&(r.start+=n),r.end>=o&&(r.end+=n));return i+=n,"⏎"})}}},59834:function(e,t,i){"use strict";i.d(t,{g:function(){return d}}),i(14075);var n=i(65321),o=i(34650),r=i(51433),s=i(9917),a=i(36248),l=i(61134);class h{constructor(e){this._element=e}get element(){return this._element}set textContent(e){this.disposed||e===this._textContent||(this._textContent=e,this._element.textContent=e)}set className(e){this.disposed||e===this._className||(this._className=e,this._element.className=e)}set empty(e){this.disposed||e===this._empty||(this._empty=e,this._element.style.marginLeft=e?"0":"")}dispose(){this.disposed=!0}}class d extends s.JT{constructor(e,t){super(),this.customHovers=new Map,this.domNode=this._register(new h(n.R3(e,n.$(".monaco-icon-label")))),this.labelContainer=n.R3(this.domNode.element,n.$(".monaco-icon-label-container"));let i=n.R3(this.labelContainer,n.$("span.monaco-icon-name-container"));this.descriptionContainer=this._register(new h(n.R3(this.labelContainer,n.$("span.monaco-icon-description-container")))),(null==t?void 0:t.supportHighlights)||(null==t?void 0:t.supportIcons)?this.nameNode=new c(i,!!t.supportIcons):this.nameNode=new u(i),(null==t?void 0:t.supportDescriptionHighlights)?this.descriptionNodeFactory=()=>new o.q(n.R3(this.descriptionContainer.element,n.$("span.label-description")),{supportIcons:!!t.supportIcons}):this.descriptionNodeFactory=()=>this._register(new h(n.R3(this.descriptionContainer.element,n.$("span.label-description")))),this.hoverDelegate=null==t?void 0:t.hoverDelegate}get element(){return this.domNode.element}setLabel(e,t,i){let n=["monaco-icon-label"];i&&(i.extraClasses&&n.push(...i.extraClasses),i.italic&&n.push("italic"),i.strikethrough&&n.push("strikethrough")),this.domNode.className=n.join(" "),this.setupHover((null==i?void 0:i.descriptionTitle)?this.labelContainer:this.element,null==i?void 0:i.title),this.nameNode.setLabel(e,i),(t||this.descriptionNode)&&(this.descriptionNode||(this.descriptionNode=this.descriptionNodeFactory()),this.descriptionNode instanceof o.q?(this.descriptionNode.set(t||"",i?i.descriptionMatches:void 0),this.setupHover(this.descriptionNode.element,null==i?void 0:i.descriptionTitle)):(this.descriptionNode.textContent=t||"",this.setupHover(this.descriptionNode.element,(null==i?void 0:i.descriptionTitle)||""),this.descriptionNode.empty=!t))}setupHover(e,t){let i=this.customHovers.get(e);if(i&&(i.dispose(),this.customHovers.delete(e)),!t){e.removeAttribute("title");return}if(this.hoverDelegate){let i=(0,r.g)(this.hoverDelegate,e,t);i&&this.customHovers.set(e,i)}else(0,r.O)(e,t)}dispose(){for(let e of(super.dispose(),this.customHovers.values()))e.dispose();this.customHovers.clear()}}class u{constructor(e){this.container=e,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(!(this.label===e&&(0,a.fS)(this.options,t))){if(this.label=e,this.options=t,"string"==typeof e)this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=n.R3(this.container,n.$("a.label-name",{id:null==t?void 0:t.domId}))),this.singleLabel.textContent=e;else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;for(let i=0;i{let o={start:n,end:n+e.length},r=i.map(e=>l.e.intersect(o,e)).filter(e=>!l.e.isEmpty(e)).map(({start:e,end:t})=>({start:e-n,end:t-n}));return n=o.end+t.length,r})}(e,i,null==t?void 0:t.matches);for(let s=0;s{var n;t&&(null==a||a.dispose(),a=void 0),i&&(null==s||s.dispose(),s=void 0),null===(n=e.onDidHideHover)||void 0===n||n.call(e)},d=(n,s,l)=>new o._F(()=>u(this,void 0,void 0,function*(){(!a||a.isDisposed)&&(a=new g(e,l||t,n>0),yield a.update(i,s,r))}),n),c=n.nm(t,n.tw.MOUSE_OVER,()=>{if(s)return;let i=new l.SL;i.add(n.nm(t,n.tw.MOUSE_LEAVE,e=>h(!1,e.fromElement===t),!0)),i.add(n.nm(t,n.tw.MOUSE_DOWN,()=>h(!0,!0),!0));let o={targetElements:[t],dispose:()=>{}};(void 0===e.placement||"mouse"===e.placement)&&i.add(n.nm(t,n.tw.MOUSE_MOVE,e=>{o.x=e.x+10,e.target instanceof HTMLElement&&e.target.classList.contains("action-label")&&h(!0,!0)},!0)),i.add(d(e.delay,!1,o)),s=i},!0);return{show:e=>{h(!1,!0),d(0,e)},hide:()=>{h(!0,!0)},update:(e,t)=>u(this,void 0,void 0,function*(){i=e,yield null==a?void 0:a.update(i,void 0,t)}),dispose:()=>{c.dispose(),h(!0,!0)}}}},56811:function(e,t,i){"use strict";i.d(t,{T:function(){return s}});var n=i(65321),o=i(73046);let r=RegExp(`(\\\\)?\\$\\((${o.dT.iconNameExpression}(?:${o.dT.iconModifierExpression})?)\\)`,"g");function s(e){let t;let i=[],s=0,a=0;for(;null!==(t=r.exec(e));){a=t.index||0,i.push(e.substring(s,a)),s=(t.index||0)+t[0].length;let[,r,l]=t;i.push(r?`$(${l})`:function(e){let t=n.$("span");return t.classList.add(...o.dT.asClassNameArray(e)),t}({id:l}))}return sthis._limit&&this._initialize(e.slice(e.length-this._limit))}_currentPosition(){let e=this._navigator.current();return e?this._elements.indexOf(e):-1}_initialize(e){for(let t of(this._history=new Set,e))this._history.add(t)}get _elements(){let e=[];return this._history.forEach(t=>e.push(t)),e}}var p=i(36248);i(92845);var m=i(63580);let f=n.$,_={inputBackground:d.Il.fromHex("#3C3C3C"),inputForeground:d.Il.fromHex("#CCCCCC"),inputValidationInfoBorder:d.Il.fromHex("#55AAFF"),inputValidationInfoBackground:d.Il.fromHex("#063B49"),inputValidationWarningBorder:d.Il.fromHex("#B89500"),inputValidationWarningBackground:d.Il.fromHex("#352A05"),inputValidationErrorBorder:d.Il.fromHex("#BE1100"),inputValidationErrorBackground:d.Il.fromHex("#5A1D1D")};class v extends h.${constructor(e,t,i){var r;super(),this.state="idle",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new u.Q5),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new u.Q5),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=t,this.options=i||Object.create(null),(0,p.jB)(this.options,_,!1),this.message=null,this.placeholder=this.options.placeholder||"",this.tooltip=null!==(r=this.options.tooltip)&&void 0!==r?r:this.placeholder||"",this.ariaLabel=this.options.ariaLabel||"",this.inputBackground=this.options.inputBackground,this.inputForeground=this.options.inputForeground,this.inputBorder=this.options.inputBorder,this.inputValidationInfoBorder=this.options.inputValidationInfoBorder,this.inputValidationInfoBackground=this.options.inputValidationInfoBackground,this.inputValidationInfoForeground=this.options.inputValidationInfoForeground,this.inputValidationWarningBorder=this.options.inputValidationWarningBorder,this.inputValidationWarningBackground=this.options.inputValidationWarningBackground,this.inputValidationWarningForeground=this.options.inputValidationWarningForeground,this.inputValidationErrorBorder=this.options.inputValidationErrorBorder,this.inputValidationErrorBackground=this.options.inputValidationErrorBackground,this.inputValidationErrorForeground=this.options.inputValidationErrorForeground,this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=n.R3(e,f(".monaco-inputbox.idle"));let a=this.options.flexibleHeight?"textarea":"input",h=n.R3(this.element,f(".ibwrapper"));if(this.input=n.R3(h,f(a+".input.empty")),this.input.setAttribute("autocorrect","off"),this.input.setAttribute("autocapitalize","off"),this.input.setAttribute("spellcheck","false"),this.onfocus(this.input,()=>this.element.classList.add("synthetic-focus")),this.onblur(this.input,()=>this.element.classList.remove("synthetic-focus")),this.options.flexibleHeight){this.maxHeight="number"==typeof this.options.flexibleMaxHeight?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=n.R3(h,f("div.mirror")),this.mirror.innerText="\xa0",this.scrollableElement=new l.NB(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute("wrap","off"),this.mirror.style.whiteSpace="pre",this.mirror.style.wordWrap="initial"),n.R3(e,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll(e=>this.input.scrollTop=e.scrollTop));let t=this._register(new o.Y(document,"selectionchange")),i=u.ju.filter(t.event,()=>{let e=document.getSelection();return(null==e?void 0:e.anchorNode)===h});this._register(i(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||"text",this.input.setAttribute("wrap","off");this.ariaLabel&&this.input.setAttribute("aria-label",this.ariaLabel),this.placeholder&&!this.options.showPlaceholderOnFocus&&this.setPlaceHolder(this.placeholder),this.tooltip&&this.setTooltip(this.tooltip),this.oninput(this.input,()=>this.onValueChange()),this.onblur(this.input,()=>this.onBlur()),this.onfocus(this.input,()=>this.onFocus()),this.ignoreGesture(this.input),setTimeout(()=>this.updateMirror(),0),this.options.actions&&(this.actionbar=this._register(new s.o(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder","")}onFocus(){this._showMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder",this.placeholder||"")}setPlaceHolder(e){this.placeholder=e,this.input.setAttribute("placeholder",e)}setTooltip(e){this.tooltip=e,this.input.title=e}setAriaLabel(e){this.ariaLabel=e,e?this.input.setAttribute("aria-label",this.ariaLabel):this.input.removeAttribute("aria-label")}getAriaLabel(){return this.ariaLabel}get inputElement(){return this.input}get value(){return this.input.value}set value(e){this.input.value!==e&&(this.input.value=e,this.onValueChange())}get height(){return"number"==typeof this.cachedHeight?this.cachedHeight:n.wn(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return document.activeElement===this.input}select(e=null){this.input.select(),e&&(this.input.setSelectionRange(e.start,e.end),e.end===this.input.value.length&&(this.input.scrollLeft=this.input.scrollWidth))}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}enable(){this.input.removeAttribute("disabled")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}get width(){return n.w(this.input)}set width(e){if(this.options.flexibleHeight&&this.options.flexibleWidth){let t=0;if(this.mirror){let e=parseFloat(this.mirror.style.paddingLeft||"")||0,i=parseFloat(this.mirror.style.paddingRight||"")||0;t=e+i}this.input.style.width=e-t+"px"}else this.input.style.width=e+"px";this.mirror&&(this.mirror.style.width=e+"px")}set paddingRight(e){this.input.style.width=`calc(100% - ${e}px)`,this.mirror&&(this.mirror.style.paddingRight=e+"px")}updateScrollDimensions(){if("number"!=typeof this.cachedContentHeight||"number"!=typeof this.cachedHeight||!this.scrollableElement)return;let e=this.cachedContentHeight,t=this.cachedHeight,i=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:e,height:t}),this.scrollableElement.setScrollPosition({scrollTop:i})}showMessage(e,t){this.message=e,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(e.type));let i=this.stylesForType(this.message.type);this.element.style.border=i.border?`1px solid ${i.border}`:"",(this.hasFocus()||t)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}validate(){let e=null;return this.validation&&((e=this.validation(this.value))?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(e)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),null==e?void 0:e.type}stylesForType(e){switch(e){case 1:return{border:this.inputValidationInfoBorder,background:this.inputValidationInfoBackground,foreground:this.inputValidationInfoForeground};case 2:return{border:this.inputValidationWarningBorder,background:this.inputValidationWarningBackground,foreground:this.inputValidationWarningForeground};default:return{border:this.inputValidationErrorBorder,background:this.inputValidationErrorBackground,foreground:this.inputValidationErrorForeground}}}classForType(e){switch(e){case 1:return"info";case 2:return"warning";default:return"error"}}_showMessage(){let e,t;if(!this.contextViewProvider||!this.message)return;let i=()=>e.style.width=n.w(this.element)+"px";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:t=>{if(!this.message)return null;e=n.R3(t,f(".monaco-inputbox-container")),i();let o={inline:!0,className:"monaco-inputbox-message"},s=this.message.formatContent?(0,r.BO)(this.message.content,o):(0,r.IY)(this.message.content,o);s.classList.add(this.classForType(this.message.type));let a=this.stylesForType(this.message.type);return s.style.backgroundColor=a.background?a.background.toString():"",s.style.color=a.foreground?a.foreground.toString():"",s.style.border=a.border?`1px solid ${a.border}`:"",n.R3(e,s),null},onHide:()=>{this.state="closed"},layout:i}),t=3===this.message.type?m.NC("alertErrorMessage","Error: {0}",this.message.content):2===this.message.type?m.NC("alertWarningMessage","Warning: {0}",this.message.content):m.NC("alertInfoMessage","Info: {0}",this.message.content),a.Z9(t),this.state="open"}_hideMessage(){this.contextViewProvider&&("open"===this.state&&this.contextViewProvider.hideContextView(),this.state="idle")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),"open"===this.state&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(!this.mirror)return;let e=this.value,t=e.charCodeAt(e.length-1),i=10===t?" ":"",n=(e+i).replace(/\u000c/g,"");n?this.mirror.textContent=e+i:this.mirror.innerText="\xa0",this.layout()}style(e){this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){let e=this.inputBackground?this.inputBackground.toString():"",t=this.inputForeground?this.inputForeground.toString():"",i=this.inputBorder?this.inputBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.input.style.backgroundColor="inherit",this.input.style.color=t,this.element.style.borderWidth=i?"1px":"",this.element.style.borderStyle=i?"solid":"",this.element.style.borderColor=i}layout(){if(!this.mirror)return;let e=this.cachedContentHeight;this.cachedContentHeight=n.wn(this.mirror),e!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}insertAtCursor(e){let t=this.inputElement,i=t.selectionStart,n=t.selectionEnd,o=t.value;null!==i&&null!==n&&(this.value=o.substr(0,i)+e+o.substr(n),t.setSelectionRange(i+1,i+1),this.layout())}dispose(){this._hideMessage(),this.message=null,this.actionbar&&this.actionbar.dispose(),super.dispose()}}class C extends v{constructor(e,t,i){let n=m.NC({key:"history.inputbox.hint",comment:["Text will be prefixed with ⇅ plus a single space, then used as a hint where input field keeps history"]},"for history"),o=` or \u21C5 ${n}`,r=` (\u21C5 ${n})`;super(e,t,i),this._onDidFocus=this._register(new u.Q5),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new u.Q5),this.onDidBlur=this._onDidBlur.event,this.history=new g(i.history,100);let s=()=>{if(i.showHistoryHint&&i.showHistoryHint()&&!this.placeholder.endsWith(o)&&!this.placeholder.endsWith(r)&&this.history.getHistory().length){let e=this.placeholder.endsWith(")")?o:r,t=this.placeholder+e;i.showPlaceholderOnFocus&&document.activeElement!==this.input?this.placeholder=t:this.setPlaceHolder(t)}};this.observer=new MutationObserver((e,t)=>{e.forEach(e=>{e.target.textContent||s()})}),this.observer.observe(this.input,{attributeFilter:["class"]}),this.onfocus(this.input,()=>s()),this.onblur(this.input,()=>{let e=e=>{if(!this.placeholder.endsWith(e))return!1;{let t=this.placeholder.slice(0,this.placeholder.length-e.length);return i.showPlaceholderOnFocus?this.placeholder=t:this.setPlaceHolder(t),!0}};e(r)||e(o)})}dispose(){super.dispose(),this.observer&&(this.observer.disconnect(),this.observer=void 0)}addToHistory(){this.value&&this.value!==this.getCurrentValue()&&this.history.add(this.value)}showNextValue(){this.history.has(this.value)||this.addToHistory();let e=this.getNextValue();e&&(e=e===this.value?this.getNextValue():e),e&&(this.value=e,a.i7(this.value))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let e=this.getPreviousValue();e&&(e=e===this.value?this.getPreviousValue():e),e&&(this.value=e,a.i7(this.value))}onBlur(){super.onBlur(),this._onDidBlur.fire()}onFocus(){super.onFocus(),this._onDidFocus.fire()}getCurrentValue(){let e=this.history.current();return e||(e=this.history.last(),this.history.next()),e}getPreviousValue(){return this.history.previous()||this.history.first()}getNextValue(){return this.history.next()||this.history.last()}}},72010:function(e,t,i){"use strict";i.d(t,{kX:function(){return y},Bv:function(){return N}});var n=i(16268),o=i(23547),r=i(65321),s=i(4850),a=i(10553),l=i(63161),h=i(9488),d=i(15393),u=i(49898),c=i(4669),g=i(9917),p=i(61134),m=i(76633);function f(e,t){let i=[];for(let n of t){if(e.start>=n.range.end)continue;if(e.end({range:_(e.range,n),size:e.size})),s=i.map((t,i)=>({range:{start:e+i,end:e+i+1},size:t.size}));this.groups=function(...e){return function(e){let t=[],i=null;for(let n of e){let e=n.range.start,o=n.range.end,r=n.size;if(i&&r===i.size){i.range.end=o;continue}i={range:{start:e,end:o},size:r},t.push(i)}return t}(e.reduce((e,t)=>e.concat(t),[]))}(o,s,r),this._size=this.groups.reduce((e,t)=>e+t.size*(t.range.end-t.range.start),0)}get count(){let e=this.groups.length;return e?this.groups[e-1].range.end:0}get size(){return this._size}indexAt(e){if(e<0)return -1;let t=0,i=0;for(let n of this.groups){let o=n.range.end-n.range.start,r=i+o*n.size;if(e{for(let i of e){let e=this.getRenderer(t);e.disposeTemplate(i.templateData),i.templateData=null}}),this.cache.clear()}getRenderer(e){let t=this.renderers.get(e);if(!t)throw Error(`No renderer found for ${e}`);return t}}var b=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let w={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements:e=>[e],getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){}},horizontalScrolling:!1,transformOptimization:!0,alwaysConsumeMouseWheel:!0};class y{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class S{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class L{constructor(){this.types=[],this.files=[]}update(e){if(e.types&&this.types.splice(0,this.types.length,...e.types),e.files){this.files.splice(0,this.files.length);for(let t=0;ti,(null==e?void 0:e.getPosInSet)?this.getPosInSet=e.getPosInSet.bind(e):this.getPosInSet=(e,t)=>t+1,(null==e?void 0:e.getRole)?this.getRole=e.getRole.bind(e):this.getRole=e=>"listitem",(null==e?void 0:e.isChecked)?this.isChecked=e.isChecked.bind(e):this.isChecked=e=>void 0}}class N{constructor(e,t,i,n=w){var o,s,h,u,p,f,_,b,y,S;if(this.virtualDelegate=t,this.domId=`list_id_${++N.InstanceCount}`,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new d.vp(50),this.splicing=!1,this.dragOverAnimationStopDisposable=g.JT.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=g.JT.None,this.onDragLeaveTimeout=g.JT.None,this.disposables=new g.SL,this._onDidChangeContentHeight=new c.Q5,this._horizontalScrolling=!1,n.horizontalScrolling&&n.supportDynamicHeights)throw Error("Horizontal scrolling and dynamic heights not supported simultaneously");for(let e of(this.items=[],this.itemId=0,this.rangeMap=new v,i))this.renderers.set(e.templateId,e);this.cache=this.disposables.add(new C(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",this.domNode.classList.add(this.domId),this.domNode.tabIndex=0,this.domNode.classList.toggle("mouse-support","boolean"!=typeof n.mouseSupport||n.mouseSupport),this._horizontalScrolling=null!==(o=n.horizontalScrolling)&&void 0!==o?o:w.horizontalScrolling,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this.additionalScrollHeight=void 0===n.additionalScrollHeight?0:n.additionalScrollHeight,this.accessibilityProvider=new k(n.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows";let L=null!==(s=n.transformOptimization)&&void 0!==s?s:w.transformOptimization;L&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)"),this.disposables.add(a.o.addTarget(this.rowsContainer)),this.scrollable=new m.Rm({forceIntegerValues:!0,smoothScrollDuration:null!==(h=n.smoothScrolling)&&void 0!==h&&h?125:0,scheduleAtNextAnimationFrame:e=>(0,r.jL)(e)}),this.scrollableElement=this.disposables.add(new l.$Z(this.rowsContainer,{alwaysConsumeMouseWheel:null!==(u=n.alwaysConsumeMouseWheel)&&void 0!==u?u:w.alwaysConsumeMouseWheel,horizontal:1,vertical:null!==(p=n.verticalScrollMode)&&void 0!==p?p:w.verticalScrollMode,useShadows:null!==(f=n.useShadows)&&void 0!==f?f:w.useShadows,mouseWheelScrollSensitivity:n.mouseWheelScrollSensitivity,fastScrollSensitivity:n.fastScrollSensitivity},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),e.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),this.disposables.add((0,r.nm)(this.rowsContainer,a.t.Change,e=>this.onTouchChange(e))),this.disposables.add((0,r.nm)(this.scrollableElement.getDomNode(),"scroll",e=>e.target.scrollTop=0)),this.disposables.add((0,r.nm)(this.domNode,"dragover",e=>this.onDragOver(this.toDragEvent(e)))),this.disposables.add((0,r.nm)(this.domNode,"drop",e=>this.onDrop(this.toDragEvent(e)))),this.disposables.add((0,r.nm)(this.domNode,"dragleave",e=>this.onDragLeave(this.toDragEvent(e)))),this.disposables.add((0,r.nm)(this.domNode,"dragend",e=>this.onDragEnd(e))),this.setRowLineHeight=null!==(_=n.setRowLineHeight)&&void 0!==_?_:w.setRowLineHeight,this.setRowHeight=null!==(b=n.setRowHeight)&&void 0!==b?b:w.setRowHeight,this.supportDynamicHeights=null!==(y=n.supportDynamicHeights)&&void 0!==y?y:w.supportDynamicHeights,this.dnd=null!==(S=n.dnd)&&void 0!==S?S:w.dnd,this.layout()}get contentHeight(){return this.rangeMap.size}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(e){if(e!==this._horizontalScrolling){if(e&&this.supportDynamicHeights)throw Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=e,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(let e of this.items)this.measureItemWidth(e);this.updateScrollWidth(),this.scrollableElement.setScrollDimensions({width:(0,r.FK)(this.domNode)}),this.rowsContainer.style.width=`${Math.max(this.scrollWidth||0,this.renderWidth)}px`}else this.scrollableElementWidthDelayer.cancel(),this.scrollableElement.setScrollDimensions({width:this.renderWidth,scrollWidth:this.renderWidth}),this.rowsContainer.style.width=""}}updateOptions(e){void 0!==e.additionalScrollHeight&&(this.additionalScrollHeight=e.additionalScrollHeight,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),void 0!==e.smoothScrolling&&this.scrollable.setSmoothScrollDuration(e.smoothScrolling?125:0),void 0!==e.horizontalScrolling&&(this.horizontalScrolling=e.horizontalScrolling),void 0!==e.mouseWheelScrollSensitivity&&this.scrollableElement.updateOptions({mouseWheelScrollSensitivity:e.mouseWheelScrollSensitivity}),void 0!==e.fastScrollSensitivity&&this.scrollableElement.updateOptions({fastScrollSensitivity:e.fastScrollSensitivity})}splice(e,t,i=[]){if(this.splicing)throw Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(e,t,i)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(e,t,i=[]){let n;let o=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),r=p.e.intersect(o,{start:e,end:e+t}),s=new Map;for(let e=r.end-1;e>=r.start;e--){let t=this.items[e];if(t.dragStartDisposable.dispose(),t.checkedDisposable.dispose(),t.row){let i=s.get(t.templateId);i||(i=[],s.set(t.templateId,i));let n=this.renderers.get(t.templateId);n&&n.disposeElement&&n.disposeElement(t.element,e,t.row.templateData,t.size),i.push(t.row)}t.row=null}let a={start:e+t,end:this.items.length},l=p.e.intersect(a,o),h=p.e.relativeComplement(a,o),d=i.map(e=>({id:String(this.itemId++),element:e,templateId:this.virtualDelegate.getTemplateId(e),size:this.virtualDelegate.getHeight(e),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(e),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:g.JT.None,checkedDisposable:g.JT.None}));0===e&&t>=this.items.length?(this.rangeMap=new v,this.rangeMap.splice(0,0,d),n=this.items,this.items=d):(this.rangeMap.splice(e,t,d),n=this.items.splice(e,t,...d));let u=i.length-t,c=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),m=_(l,u),f=p.e.intersect(c,m);for(let e=f.start;e_(e,u)),w={start:e,end:e+i.length},y=[w,...b].map(e=>p.e.intersect(c,e)),S=this.getNextToLastElement(y);for(let e of y)for(let t=e.start;te.element)}eventuallyUpdateScrollDimensions(){this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=`${this._scrollHeight}px`,this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=(0,r.jL)(()=>{this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight}),this.updateScrollWidth(),this.scrollableElementUpdateDisposable=null}))}eventuallyUpdateScrollWidth(){if(!this.horizontalScrolling){this.scrollableElementWidthDelayer.cancel();return}this.scrollableElementWidthDelayer.trigger(()=>this.updateScrollWidth())}updateScrollWidth(){if(!this.horizontalScrolling)return;let e=0;for(let t of this.items)void 0!==t.width&&(e=Math.max(e,t.width));this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:0===e?0:e+10})}rerender(){if(this.supportDynamicHeights){for(let e of this.items)e.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){let e=this.scrollableElement.getScrollDimensions();return e.height}element(e){return this.items[e].element}domElement(e){let t=this.items[e].row;return t&&t.domNode}elementHeight(e){return this.items[e].size}elementTop(e){return this.rangeMap.positionAt(e)}indexAt(e){return this.rangeMap.indexAt(e)}indexAfter(e){return this.rangeMap.indexAfter(e)}layout(e,t){let i={height:"number"==typeof e?e:(0,r.If)(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,i.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(i),void 0!==t&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight)),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:"number"==typeof t?t:(0,r.FK)(this.domNode)})}render(e,t,i,n,o,r=!1){let s=this.getRenderRange(t,i),a=p.e.relativeComplement(s,e),l=p.e.relativeComplement(e,s),h=this.getNextToLastElement(a);if(r){let t=p.e.intersect(e,s);for(let e=t.start;en.row.domNode.setAttribute("aria-checked",String(!!e));e(s.value),n.checkedDisposable=s.onDidChange(e)}n.row.domNode.parentElement||(t?this.rowsContainer.insertBefore(n.row.domNode,t):this.rowsContainer.appendChild(n.row.domNode)),this.updateItemInDOM(n,e);let a=this.renderers.get(n.templateId);if(!a)throw Error(`No renderer found for template id ${n.templateId}`);null==a||a.renderElement(n.element,e,n.row.templateData,n.size);let l=this.dnd.getDragURI(n.element);n.dragStartDisposable.dispose(),n.row.domNode.draggable=!!l,l&&(n.dragStartDisposable=(0,r.nm)(n.row.domNode,"dragstart",e=>this.onDragStart(n.element,l,e))),this.horizontalScrolling&&(this.measureItemWidth(n),this.eventuallyUpdateScrollWidth())}measureItemWidth(e){if(!e.row||!e.row.domNode)return;e.row.domNode.style.width=n.isFirefox?"-moz-fit-content":"fit-content",e.width=(0,r.FK)(e.row.domNode);let t=window.getComputedStyle(e.row.domNode);t.paddingLeft&&(e.width+=parseFloat(t.paddingLeft)),t.paddingRight&&(e.width+=parseFloat(t.paddingRight)),e.row.domNode.style.width=""}updateItemInDOM(e,t){e.row.domNode.style.top=`${this.elementTop(t)}px`,this.setRowHeight&&(e.row.domNode.style.height=`${e.size}px`),this.setRowLineHeight&&(e.row.domNode.style.lineHeight=`${e.size}px`),e.row.domNode.setAttribute("data-index",`${t}`),e.row.domNode.setAttribute("data-last-element",t===this.length-1?"true":"false"),e.row.domNode.setAttribute("data-parity",t%2==0?"even":"odd"),e.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(e.element,t,this.length))),e.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(e.element,t))),e.row.domNode.setAttribute("id",this.getElementDomId(t)),e.row.domNode.classList.toggle("drop-target",e.dropTarget)}removeItemFromDOM(e){let t=this.items[e];if(t.dragStartDisposable.dispose(),t.checkedDisposable.dispose(),t.row){let i=this.renderers.get(t.templateId);i&&i.disposeElement&&i.disposeElement(t.element,e,t.row.templateData,t.size),this.cache.release(t.row),t.row=null}this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){let e=this.scrollableElement.getScrollPosition();return e.scrollTop}setScrollTop(e,t){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:e,reuseAnimation:t})}get scrollTop(){return this.getScrollTop()}set scrollTop(e){this.setScrollTop(e)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.additionalScrollHeight}get onMouseClick(){return c.ju.map(this.disposables.add(new s.Y(this.domNode,"click")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseDblClick(){return c.ju.map(this.disposables.add(new s.Y(this.domNode,"dblclick")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseMiddleClick(){return c.ju.filter(c.ju.map(this.disposables.add(new s.Y(this.domNode,"auxclick")).event,e=>this.toMouseEvent(e),this.disposables),e=>1===e.browserEvent.button,this.disposables)}get onMouseDown(){return c.ju.map(this.disposables.add(new s.Y(this.domNode,"mousedown")).event,e=>this.toMouseEvent(e),this.disposables)}get onMouseOver(){return c.ju.map(this.disposables.add(new s.Y(this.domNode,"mouseover")).event,e=>this.toMouseEvent(e),this.disposables)}get onContextMenu(){return c.ju.any(c.ju.map(this.disposables.add(new s.Y(this.domNode,"contextmenu")).event,e=>this.toMouseEvent(e),this.disposables),c.ju.map(this.disposables.add(new s.Y(this.domNode,a.t.Contextmenu)).event,e=>this.toGestureEvent(e),this.disposables))}get onTouchStart(){return c.ju.map(this.disposables.add(new s.Y(this.domNode,"touchstart")).event,e=>this.toTouchEvent(e),this.disposables)}get onTap(){return c.ju.map(this.disposables.add(new s.Y(this.rowsContainer,a.t.Tap)).event,e=>this.toGestureEvent(e),this.disposables)}toMouseEvent(e){let t=this.getItemIndexFromEventTarget(e.target||null),i=void 0===t?void 0:this.items[t],n=i&&i.element;return{browserEvent:e,index:t,element:n}}toTouchEvent(e){let t=this.getItemIndexFromEventTarget(e.target||null),i=void 0===t?void 0:this.items[t],n=i&&i.element;return{browserEvent:e,index:t,element:n}}toGestureEvent(e){let t=this.getItemIndexFromEventTarget(e.initialTarget||null),i=void 0===t?void 0:this.items[t],n=i&&i.element;return{browserEvent:e,index:t,element:n}}toDragEvent(e){let t=this.getItemIndexFromEventTarget(e.target||null),i=void 0===t?void 0:this.items[t],n=i&&i.element;return{browserEvent:e,index:t,element:n}}onScroll(e){try{let t=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(t,e.scrollTop,e.height,e.scrollLeft,e.scrollWidth),this.supportDynamicHeights&&this._rerender(e.scrollTop,e.height,e.inSmoothScrolling)}catch(t){throw console.error("Got bad scroll event:",e),t}}onTouchChange(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY}onDragStart(e,t,i){var n,s;if(!i.dataTransfer)return;let a=this.dnd.getDragElements(e);if(i.dataTransfer.effectAllowed="copyMove",i.dataTransfer.setData(o.g.TEXT,t),i.dataTransfer.setDragImage){let e;this.dnd.getDragLabel&&(e=this.dnd.getDragLabel(a,i)),void 0===e&&(e=String(a.length));let t=(0,r.$)(".monaco-drag-image");t.textContent=e,document.body.appendChild(t),i.dataTransfer.setDragImage(t,-10,-10),setTimeout(()=>document.body.removeChild(t),0)}this.currentDragData=new y(a),o.P.CurrentDragAndDropData=new S(a),null===(s=(n=this.dnd).onDragStart)||void 0===s||s.call(n,this.currentDragData,i)}onDragOver(e){var t,i,n;let r;if(e.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),o.P.CurrentDragAndDropData&&"vscode-ui"===o.P.CurrentDragAndDropData.getData()||(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer))return!1;if(!this.currentDragData){if(o.P.CurrentDragAndDropData)this.currentDragData=o.P.CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new L}}let s=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.browserEvent);if(this.canDrop="boolean"==typeof s?s:s.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;if(e.browserEvent.dataTransfer.dropEffect="boolean"!=typeof s&&0===s.effect?"copy":"move",r="boolean"!=typeof s&&s.feedback?s.feedback:void 0===e.index?[-1]:[e.index],r=-1===(r=(0,h.EB)(r).filter(e=>e>=-1&&ee-t))[0]?[-1]:r,i=this.currentDragFeedback,n=r,Array.isArray(i)&&Array.isArray(n)?(0,h.fS)(i,n):i===n)return!0;if(this.currentDragFeedback=r,this.currentDragFeedbackDisposable.dispose(),-1===r[0])this.domNode.classList.add("drop-target"),this.rowsContainer.classList.add("drop-target"),this.currentDragFeedbackDisposable=(0,g.OF)(()=>{this.domNode.classList.remove("drop-target"),this.rowsContainer.classList.remove("drop-target")});else{for(let e of r){let i=this.items[e];i.dropTarget=!0,null===(t=i.row)||void 0===t||t.domNode.classList.add("drop-target")}this.currentDragFeedbackDisposable=(0,g.OF)(()=>{var e;for(let t of r){let i=this.items[t];i.dropTarget=!1,null===(e=i.row)||void 0===e||e.domNode.classList.remove("drop-target")}})}return!0}onDragLeave(e){var t,i;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=(0,d.Vg)(()=>this.clearDragOverFeedback(),100),this.currentDragData&&(null===(i=(t=this.dnd).onDragLeave)||void 0===i||i.call(t,this.currentDragData,e.element,e.index,e.browserEvent))}onDrop(e){if(!this.canDrop)return;let t=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,o.P.CurrentDragAndDropData=void 0,t&&e.browserEvent.dataTransfer&&(e.browserEvent.preventDefault(),t.update(e.browserEvent.dataTransfer),this.dnd.drop(t,e.element,e.index,e.browserEvent))}onDragEnd(e){var t,i;this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,o.P.CurrentDragAndDropData=void 0,null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=g.JT.None}setupDragAndDropScrollTopAnimation(e){if(!this.dragOverAnimationDisposable){let e=(0,r.xQ)(this.domNode).top;this.dragOverAnimationDisposable=(0,r.jt)(this.animateDragAndDropScrollTop.bind(this,e))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=(0,d.Vg)(()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},1e3),this.dragOverMouseY=e.pageY}animateDragAndDropScrollTop(e){if(void 0===this.dragOverMouseY)return;let t=this.dragOverMouseY-e,i=this.renderHeight-35;t<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(t-35))):t>i&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-i))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getItemIndexFromEventTarget(e){let t=this.scrollableElement.getDomNode(),i=e;for(;i instanceof HTMLElement&&i!==this.rowsContainer&&t.contains(i);){let e=i.getAttribute("data-index");if(e){let t=Number(e);if(!isNaN(t))return t}i=i.parentElement}}getRenderRange(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}}_rerender(e,t,i){let n,o;let r=this.getRenderRange(e,t);e===this.elementTop(r.start)?(n=r.start,o=0):r.end-r.start>1&&(n=r.start+1,o=this.elementTop(n)-e);let s=0;for(;;){let a=this.getRenderRange(e,t),l=!1;for(let e=a.start;en.splice(e,t,i))}}var g=i(9488),p=i(15393),m=i(41264),f=i(49898),_=i(4669),v=i(75392),C=i(9917),b=i(59870),w=i(36248),y=i(1432),S=i(98401);i(50203);class L extends Error{constructor(e,t){super(`ListError [${e}] ${t}`)}}var k=i(72010),N=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},D=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class x{constructor(e){this.trait=e,this.renderedElements=[]}get templateId(){return`template:${this.trait.name}`}renderTemplate(e){return e}renderElement(e,t,i){let n=this.renderedElements.findIndex(e=>e.templateData===i);if(n>=0){let e=this.renderedElements[n];this.trait.unrender(i),e.index=t}else this.renderedElements.push({index:t,templateData:i});this.trait.renderIndex(t,i)}splice(e,t,i){let n=[];for(let o of this.renderedElements)o.index=e+t&&n.push({index:o.index+i-t,templateData:o.templateData});this.renderedElements=n}renderIndexes(e){for(let{index:t,templateData:i}of this.renderedElements)e.indexOf(t)>-1&&this.trait.renderIndex(t,i)}disposeTemplate(e){let t=this.renderedElements.findIndex(t=>t.templateData===e);t<0||this.renderedElements.splice(t,1)}}class I{constructor(e){this._trait=e,this.length=0,this.indexes=[],this.sortedIndexes=[],this._onChange=new _.Q5,this.onChange=this._onChange.event}get name(){return this._trait}get renderer(){return new x(this)}splice(e,t,i){var n;t=Math.max(0,Math.min(t,this.length-e));let o=i.length-t,r=e+t,s=[...this.sortedIndexes.filter(t=>tt?i+e:-1).filter(e=>-1!==e),...this.sortedIndexes.filter(e=>e>=r).map(e=>e+o)],a=this.length+o;if(this.sortedIndexes.length>0&&0===s.length&&a>0){let t=null!==(n=this.sortedIndexes.find(t=>t>=e))&&void 0!==n?n:a-1;s.push(Math.min(t,a-1))}this.renderer.splice(e,t,i.length),this._set(s,s),this.length=a}renderIndex(e,t){t.classList.toggle(this._trait,this.contains(e))}unrender(e){e.classList.remove(this._trait)}set(e,t){return this._set(e,[...e].sort(j),t)}_set(e,t,i){let n=this.indexes,o=this.sortedIndexes;this.indexes=e,this.sortedIndexes=t;let r=$(o,e);return this.renderer.renderIndexes(r),this._onChange.fire({indexes:e,browserEvent:i}),n}get(){return this.indexes}contains(e){return(0,g.ry)(this.sortedIndexes,e,j)>=0}dispose(){(0,C.B9)(this._onChange)}}N([f.H],I.prototype,"renderer",null);class E extends I{constructor(e){super("selected"),this.setAriaSelected=e}renderIndex(e,t){super.renderIndex(e,t),this.setAriaSelected&&(this.contains(e)?t.setAttribute("aria-selected","true"):t.setAttribute("aria-selected","false"))}}class T{constructor(e,t,i){this.trait=e,this.view=t,this.identityProvider=i}splice(e,t,i){if(!this.identityProvider)return this.trait.splice(e,t,i.map(()=>!1));let n=this.trait.get().map(e=>this.identityProvider.getId(this.view.element(e)).toString()),o=i.map(e=>n.indexOf(this.identityProvider.getId(e).toString())>-1);this.trait.splice(e,t,o)}}function M(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}function A(e){return!!e.classList.contains("monaco-editor")||!e.classList.contains("monaco-list")&&!!e.parentElement&&A(e.parentElement)}class R{constructor(e,t,i){this.list=e,this.view=t,this.disposables=new C.SL,this.multipleSelectionDisposables=new C.SL,this.onKeyDown.filter(e=>3===e.keyCode).on(this.onEnter,this,this.disposables),this.onKeyDown.filter(e=>16===e.keyCode).on(this.onUpArrow,this,this.disposables),this.onKeyDown.filter(e=>18===e.keyCode).on(this.onDownArrow,this,this.disposables),this.onKeyDown.filter(e=>11===e.keyCode).on(this.onPageUpArrow,this,this.disposables),this.onKeyDown.filter(e=>12===e.keyCode).on(this.onPageDownArrow,this,this.disposables),this.onKeyDown.filter(e=>9===e.keyCode).on(this.onEscape,this,this.disposables),!1!==i.multipleSelectionSupport&&this.onKeyDown.filter(e=>(y.dz?e.metaKey:e.ctrlKey)&&31===e.keyCode).on(this.onCtrlA,this,this.multipleSelectionDisposables)}get onKeyDown(){return this.disposables.add(_.ju.chain(this.disposables.add(new l.Y(this.view.domNode,"keydown")).event).filter(e=>!M(e.target)).map(e=>new h.y(e)))}updateOptions(e){void 0!==e.multipleSelectionSupport&&(this.multipleSelectionDisposables.clear(),e.multipleSelectionSupport&&this.onKeyDown.filter(e=>(y.dz?e.metaKey:e.ctrlKey)&&31===e.keyCode).on(this.onCtrlA,this,this.multipleSelectionDisposables))}onEnter(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(this.list.getFocus(),e.browserEvent)}onUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPrevious(1,!1,e.browserEvent);let t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNext(1,!1,e.browserEvent);let t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onPageUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPreviousPage(e.browserEvent);let t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onPageDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNextPage(e.browserEvent);let t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onCtrlA(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection((0,g.w6)(this.list.length),e.browserEvent),this.list.setAnchor(void 0),this.view.domNode.focus()}onEscape(e){this.list.getSelection().length&&(e.preventDefault(),e.stopPropagation(),this.list.setSelection([],e.browserEvent),this.list.setAnchor(void 0),this.view.domNode.focus())}dispose(){this.disposables.dispose(),this.multipleSelectionDisposables.dispose()}}N([f.H],R.prototype,"onKeyDown",null),(n=r||(r={}))[n.Automatic=0]="Automatic",n[n.Trigger=1]="Trigger",(o=s||(s={}))[o.Idle=0]="Idle",o[o.Typing=1]="Typing";let O=new class{mightProducePrintableCharacter(e){return!e.ctrlKey&&!e.metaKey&&!e.altKey&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30||e.keyCode>=93&&e.keyCode<=102||e.keyCode>=80&&e.keyCode<=90)}};class P{constructor(e,t,i,n,o){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=i,this.keyboardNavigationEventFilter=n,this.delegate=o,this.enabled=!1,this.state=s.Idle,this.mode=r.Automatic,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new C.SL,this.disposables=new C.SL,this.updateOptions(e.options)}updateOptions(e){var t,i;null===(t=e.typeNavigationEnabled)||void 0===t||t?this.enable():this.disable(),this.mode=null!==(i=e.typeNavigationMode)&&void 0!==i?i:r.Automatic}enable(){if(this.enabled)return;let e=!1,t=this.enabledDisposables.add(_.ju.chain(this.enabledDisposables.add(new l.Y(this.view.domNode,"keydown")).event)).filter(e=>!M(e.target)).filter(()=>this.mode===r.Automatic||this.triggered).map(e=>new h.y(e)).filter(t=>e||this.keyboardNavigationEventFilter(t)).filter(e=>this.delegate.mightProducePrintableCharacter(e)).forEach(l.p).map(e=>e.browserEvent.key).event,i=_.ju.debounce(t,()=>null,800,void 0,void 0,this.enabledDisposables),n=_.ju.reduce(_.ju.any(t,i),(e,t)=>null===t?null:(e||"")+t,void 0,this.enabledDisposables);n(this.onInput,this,this.enabledDisposables),i(this.onClear,this,this.enabledDisposables),t(()=>e=!0,void 0,this.enabledDisposables),i(()=>e=!1,void 0,this.enabledDisposables),this.enabled=!0,this.triggered=!1}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var e;let t=this.list.getFocus();if(t.length>0&&t[0]===this.previouslyFocused){let i=null===(e=this.list.options.accessibilityProvider)||void 0===e?void 0:e.getAriaLabel(this.list.element(t[0]));i&&(0,u.Z9)(i)}this.previouslyFocused=-1}onInput(e){if(!e){this.state=s.Idle,this.triggered=!1;return}let t=this.list.getFocus(),i=t.length>0?t[0]:0,n=this.state===s.Idle?1:0;this.state=s.Typing;for(let t=0;t!M(e.target)).map(e=>new h.y(e));i.filter(e=>2===e.keyCode&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey).on(this.onTab,this,this.disposables)}onTab(e){if(e.target!==this.view.domNode)return;let t=this.list.getFocus();if(0===t.length)return;let i=this.view.domElement(t[0]);if(!i)return;let n=i.querySelector("[tabIndex]");if(!n||!(n instanceof HTMLElement)||-1===n.tabIndex)return;let o=window.getComputedStyle(n);"hidden"!==o.visibility&&"none"!==o.display&&(e.preventDefault(),e.stopPropagation(),n.focus())}dispose(){this.disposables.dispose()}}function B(e){return y.dz?e.browserEvent.metaKey:e.browserEvent.ctrlKey}function V(e){return e.browserEvent.shiftKey}let W={isSelectionSingleChangeEvent:B,isSelectionRangeChangeEvent:V};class H{constructor(e){this.list=e,this.disposables=new C.SL,this._onPointer=new _.Q5,this.onPointer=this._onPointer.event,!1!==e.options.multipleSelectionSupport&&(this.multipleSelectionController=this.list.options.multipleSelectionController||W),this.mouseSupport=void 0===e.options.mouseSupport||!!e.options.mouseSupport,this.mouseSupport&&(e.onMouseDown(this.onMouseDown,this,this.disposables),e.onContextMenu(this.onContextMenu,this,this.disposables),e.onMouseDblClick(this.onDoubleClick,this,this.disposables),e.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(d.o.addTarget(e.getHTMLElement()))),_.ju.any(e.onMouseClick,e.onMouseMiddleClick,e.onTap)(this.onViewPointer,this,this.disposables)}updateOptions(e){void 0!==e.multipleSelectionSupport&&(this.multipleSelectionController=void 0,e.multipleSelectionSupport&&(this.multipleSelectionController=this.list.options.multipleSelectionController||W))}isSelectionSingleChangeEvent(e){return!!this.multipleSelectionController&&this.multipleSelectionController.isSelectionSingleChangeEvent(e)}isSelectionRangeChangeEvent(e){return!!this.multipleSelectionController&&this.multipleSelectionController.isSelectionRangeChangeEvent(e)}isSelectionChangeEvent(e){return this.isSelectionSingleChangeEvent(e)||this.isSelectionRangeChangeEvent(e)}onMouseDown(e){A(e.browserEvent.target)||document.activeElement===e.browserEvent.target||this.list.domFocus()}onContextMenu(e){if(A(e.browserEvent.target))return;let t=void 0===e.index?[]:[e.index];this.list.setFocus(t,e.browserEvent)}onViewPointer(e){var t;if(!this.mouseSupport||M(e.browserEvent.target)||A(e.browserEvent.target))return;let i=e.index;if(void 0===i){this.list.setFocus([],e.browserEvent),this.list.setSelection([],e.browserEvent),this.list.setAnchor(void 0);return}if(this.isSelectionRangeChangeEvent(e)||this.isSelectionChangeEvent(e))return this.changeSelection(e);this.list.setFocus([i],e.browserEvent),this.list.setAnchor(i),(t=e.browserEvent)instanceof MouseEvent&&2===t.button||this.list.setSelection([i],e.browserEvent),this._onPointer.fire(e)}onDoubleClick(e){if(M(e.browserEvent.target)||A(e.browserEvent.target)||this.isSelectionChangeEvent(e))return;let t=this.list.getFocus();this.list.setSelection(t,e.browserEvent)}changeSelection(e){let t=e.index,i=this.list.getAnchor();if(this.isSelectionRangeChangeEvent(e)){if(void 0===i){let e=this.list.getFocus()[0];i=null!=e?e:t,this.list.setAnchor(i)}let n=Math.min(i,t),o=Math.max(i,t),r=(0,g.w6)(n,o+1),s=this.list.getSelection(),a=function(e,t){let i=e.indexOf(t);if(-1===i)return[];let n=[],o=i-1;for(;o>=0&&e[o]===t-(i-o);)n.push(e[o--]);for(n.reverse(),o=i;o=e.length)i.push(t[o++]);else if(o>=t.length)i.push(e[n++]);else if(e[n]===t[o]){n++,o++;continue}else e[n]e!==t);this.list.setFocus([t]),this.list.setAnchor(t),i.length===n.length?this.list.setSelection([...n,t],e.browserEvent):this.list.setSelection(n,e.browserEvent)}}dispose(){this.disposables.dispose()}}class z{constructor(e,t){this.styleElement=e,this.selectorSuffix=t}style(e){let t=this.selectorSuffix&&`.${this.selectorSuffix}`,i=[];e.listBackground&&(e.listBackground.isOpaque()?i.push(`.monaco-list${t} .monaco-list-rows { background: ${e.listBackground}; }`):y.dz||console.warn(`List with id '${this.selectorSuffix}' was styled with a non-opaque background color. This will break sub-pixel antialiasing.`)),e.listFocusBackground&&(i.push(`.monaco-list${t}:focus .monaco-list-row.focused { background-color: ${e.listFocusBackground}; }`),i.push(`.monaco-list${t}:focus .monaco-list-row.focused:hover { background-color: ${e.listFocusBackground}; }`)),e.listFocusForeground&&i.push(`.monaco-list${t}:focus .monaco-list-row.focused { color: ${e.listFocusForeground}; }`),e.listActiveSelectionBackground&&(i.push(`.monaco-list${t}:focus .monaco-list-row.selected { background-color: ${e.listActiveSelectionBackground}; }`),i.push(`.monaco-list${t}:focus .monaco-list-row.selected:hover { background-color: ${e.listActiveSelectionBackground}; }`)),e.listActiveSelectionForeground&&i.push(`.monaco-list${t}:focus .monaco-list-row.selected { color: ${e.listActiveSelectionForeground}; }`),e.listActiveSelectionIconForeground&&i.push(`.monaco-list${t}:focus .monaco-list-row.selected .codicon { color: ${e.listActiveSelectionIconForeground}; }`),e.listFocusAndSelectionOutline&&i.push(`.monaco-list${t}:focus .monaco-list-row.selected { outline-color: ${e.listFocusAndSelectionOutline} !important; }`),e.listFocusAndSelectionBackground&&i.push(` + .monaco-drag-image, + .monaco-list${t}:focus .monaco-list-row.selected.focused { background-color: ${e.listFocusAndSelectionBackground}; } + `),e.listFocusAndSelectionForeground&&i.push(` + .monaco-drag-image, + .monaco-list${t}:focus .monaco-list-row.selected.focused { color: ${e.listFocusAndSelectionForeground}; } + `),e.listInactiveFocusForeground&&(i.push(`.monaco-list${t} .monaco-list-row.focused { color: ${e.listInactiveFocusForeground}; }`),i.push(`.monaco-list${t} .monaco-list-row.focused:hover { color: ${e.listInactiveFocusForeground}; }`)),e.listInactiveSelectionIconForeground&&i.push(`.monaco-list${t} .monaco-list-row.focused .codicon { color: ${e.listInactiveSelectionIconForeground}; }`),e.listInactiveFocusBackground&&(i.push(`.monaco-list${t} .monaco-list-row.focused { background-color: ${e.listInactiveFocusBackground}; }`),i.push(`.monaco-list${t} .monaco-list-row.focused:hover { background-color: ${e.listInactiveFocusBackground}; }`)),e.listInactiveSelectionBackground&&(i.push(`.monaco-list${t} .monaco-list-row.selected { background-color: ${e.listInactiveSelectionBackground}; }`),i.push(`.monaco-list${t} .monaco-list-row.selected:hover { background-color: ${e.listInactiveSelectionBackground}; }`)),e.listInactiveSelectionForeground&&i.push(`.monaco-list${t} .monaco-list-row.selected { color: ${e.listInactiveSelectionForeground}; }`),e.listHoverBackground&&i.push(`.monaco-list${t}:not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: ${e.listHoverBackground}; }`),e.listHoverForeground&&i.push(`.monaco-list${t} .monaco-list-row:hover:not(.selected):not(.focused) { color: ${e.listHoverForeground}; }`),e.listSelectionOutline&&i.push(`.monaco-list${t} .monaco-list-row.selected { outline: 1px dotted ${e.listSelectionOutline}; outline-offset: -1px; }`),e.listFocusOutline&&i.push(` + .monaco-drag-image, + .monaco-list${t}:focus .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; } + .monaco-workbench.context-menu-visible .monaco-list${t}.last-focused .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; } + `),e.listInactiveFocusOutline&&i.push(`.monaco-list${t} .monaco-list-row.focused { outline: 1px dotted ${e.listInactiveFocusOutline}; outline-offset: -1px; }`),e.listHoverOutline&&i.push(`.monaco-list${t} .monaco-list-row:hover { outline: 1px dashed ${e.listHoverOutline}; outline-offset: -1px; }`),e.listDropBackground&&i.push(` + .monaco-list${t}.drop-target, + .monaco-list${t} .monaco-list-rows.drop-target, + .monaco-list${t} .monaco-list-row.drop-target { background-color: ${e.listDropBackground} !important; color: inherit !important; } + `),e.tableColumnsBorder&&i.push(` + .monaco-table:hover > .monaco-split-view2, + .monaco-table:hover > .monaco-split-view2 .monaco-sash.vertical::before { + border-color: ${e.tableColumnsBorder}; + }`),e.tableOddRowsBackgroundColor&&i.push(` + .monaco-table .monaco-list-row[data-parity=odd]:not(.focused):not(.selected):not(:hover) .monaco-table-tr, + .monaco-table .monaco-list:not(:focus) .monaco-list-row[data-parity=odd].focused:not(.selected):not(:hover) .monaco-table-tr, + .monaco-table .monaco-list:not(.focused) .monaco-list-row[data-parity=odd].focused:not(.selected):not(:hover) .monaco-table-tr { + background-color: ${e.tableOddRowsBackgroundColor}; + } + `),this.styleElement.textContent=i.join("\n")}}let K={listFocusBackground:m.Il.fromHex("#7FB0D0"),listActiveSelectionBackground:m.Il.fromHex("#0E639C"),listActiveSelectionForeground:m.Il.fromHex("#FFFFFF"),listActiveSelectionIconForeground:m.Il.fromHex("#FFFFFF"),listFocusAndSelectionOutline:m.Il.fromHex("#90C2F9"),listFocusAndSelectionBackground:m.Il.fromHex("#094771"),listFocusAndSelectionForeground:m.Il.fromHex("#FFFFFF"),listInactiveSelectionBackground:m.Il.fromHex("#3F3F46"),listInactiveSelectionIconForeground:m.Il.fromHex("#FFFFFF"),listHoverBackground:m.Il.fromHex("#2A2D2E"),listDropBackground:m.Il.fromHex("#383B3D"),treeIndentGuidesStroke:m.Il.fromHex("#a9a9a9"),tableColumnsBorder:m.Il.fromHex("#cccccc").transparent(.2),tableOddRowsBackgroundColor:m.Il.fromHex("#cccccc").transparent(.04)},U={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){}}};function $(e,t){let i=[],n=0,o=0;for(;n=e.length)i.push(t[o++]);else if(o>=t.length)i.push(e[n++]);else if(e[n]===t[o]){i.push(e[n]),n++,o++;continue}else e[n]e-t;class q{constructor(e,t){this._templateId=e,this.renderers=t}get templateId(){return this._templateId}renderTemplate(e){return this.renderers.map(t=>t.renderTemplate(e))}renderElement(e,t,i,n){let o=0;for(let r of this.renderers)r.renderElement(e,t,i[o++],n)}disposeElement(e,t,i,n){var o;let r=0;for(let s of this.renderers)null===(o=s.disposeElement)||void 0===o||o.call(s,e,t,i[r],n),r+=1}disposeTemplate(e){let t=0;for(let i of this.renderers)i.disposeTemplate(e[t++])}}class G{constructor(e){this.accessibilityProvider=e,this.templateId="a18n"}renderTemplate(e){return e}renderElement(e,t,i){let n=this.accessibilityProvider.getAriaLabel(e);n?i.setAttribute("aria-label",n):i.removeAttribute("aria-label");let o=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(e);"number"==typeof o?i.setAttribute("aria-level",`${o}`):i.removeAttribute("aria-level")}disposeTemplate(e){}}class Q{constructor(e,t){this.list=e,this.dnd=t}getDragElements(e){let t=this.list.getSelectedElements(),i=t.indexOf(e)>-1?t:[e];return i}getDragURI(e){return this.dnd.getDragURI(e)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e,t)}onDragStart(e,t){var i,n;null===(n=(i=this.dnd).onDragStart)||void 0===n||n.call(i,e,t)}onDragOver(e,t,i,n){return this.dnd.onDragOver(e,t,i,n)}onDragLeave(e,t,i,n){var o,r;null===(r=(o=this.dnd).onDragLeave)||void 0===r||r.call(o,e,t,i,n)}onDragEnd(e){var t,i;null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}drop(e,t,i,n){this.dnd.drop(e,t,i,n)}}class Z{constructor(e,t,i,n,o=U){var r,s,l,h;this.user=e,this._options=o,this.focus=new I("focused"),this.anchor=new I("anchor"),this.eventBufferer=new _.E7,this._ariaLabel="",this.disposables=new C.SL,this._onDidDispose=new _.Q5,this.onDidDispose=this._onDidDispose.event;let d=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?null===(r=this._options.accessibilityProvider)||void 0===r?void 0:r.getWidgetRole():"list";this.selection=new E("listbox"!==d),(0,w.jB)(o,K,!1);let u=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=o.accessibilityProvider,this.accessibilityProvider&&(u.push(new G(this.accessibilityProvider)),null===(l=(s=this.accessibilityProvider).onDidChangeActiveDescendant)||void 0===l||l.call(s,this.onDidChangeActiveDescendant,this,this.disposables)),n=n.map(e=>new q(e.templateId,[...u,e]));let g=Object.assign(Object.assign({},o),{dnd:o.dnd&&new Q(this,o.dnd)});if(this.view=new k.Bv(t,i,n,g),this.view.domNode.setAttribute("role",d),o.styleController)this.styleController=o.styleController(this.view.domId);else{let e=(0,a.dS)(this.view.domNode);this.styleController=new z(e,this.view.domId)}if(this.spliceable=new c([new T(this.focus,this.view,o.identityProvider),new T(this.selection,this.view,o.identityProvider),new T(this.anchor,this.view,o.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.anchor),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.disposables.add(new F(this,this.view)),("boolean"!=typeof o.keyboardSupport||o.keyboardSupport)&&(this.keyboardController=new R(this,this.view,o),this.disposables.add(this.keyboardController)),o.keyboardNavigationLabelProvider){let e=o.keyboardNavigationDelegate||O;this.typeNavigationController=new P(this,this.view,o.keyboardNavigationLabelProvider,null!==(h=o.keyboardNavigationEventFilter)&&void 0!==h?h:()=>!0,e),this.disposables.add(this.typeNavigationController)}this.mouseController=this.createMouseController(o),this.disposables.add(this.mouseController),this.onDidChangeFocus(this._onFocusChange,this,this.disposables),this.onDidChangeSelection(this._onSelectionChange,this,this.disposables),this.accessibilityProvider&&(this.ariaLabel=this.accessibilityProvider.getWidgetAriaLabel()),!1!==this._options.multipleSelectionSupport&&this.view.domNode.setAttribute("aria-multiselectable","true")}get onDidChangeFocus(){return _.ju.map(this.eventBufferer.wrapEvent(this.focus.onChange),e=>this.toListEvent(e),this.disposables)}get onDidChangeSelection(){return _.ju.map(this.eventBufferer.wrapEvent(this.selection.onChange),e=>this.toListEvent(e),this.disposables)}get domId(){return this.view.domId}get onMouseClick(){return this.view.onMouseClick}get onMouseDblClick(){return this.view.onMouseDblClick}get onMouseMiddleClick(){return this.view.onMouseMiddleClick}get onPointer(){return this.mouseController.onPointer}get onMouseDown(){return this.view.onMouseDown}get onMouseOver(){return this.view.onMouseOver}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){let e=!1,t=this.disposables.add(_.ju.chain(this.disposables.add(new l.Y(this.view.domNode,"keydown")).event)).map(e=>new h.y(e)).filter(t=>e=58===t.keyCode||t.shiftKey&&68===t.keyCode).map(l.p).filter(()=>!1).event,i=this.disposables.add(_.ju.chain(this.disposables.add(new l.Y(this.view.domNode,"keyup")).event)).forEach(()=>e=!1).map(e=>new h.y(e)).filter(e=>58===e.keyCode||e.shiftKey&&68===e.keyCode).map(l.p).map(({browserEvent:e})=>{let t=this.getFocus(),i=t.length?t[0]:void 0,n=void 0!==i?this.view.element(i):void 0,o=void 0!==i?this.view.domElement(i):this.view.domNode;return{index:i,element:n,anchor:o,browserEvent:e}}).event,n=this.disposables.add(_.ju.chain(this.view.onContextMenu)).filter(t=>!e).map(({element:e,index:t,browserEvent:i})=>({element:e,index:t,anchor:{x:i.pageX+1,y:i.pageY},browserEvent:i})).event;return _.ju.any(t,i,n)}get onKeyDown(){return this.disposables.add(new l.Y(this.view.domNode,"keydown")).event}get onDidFocus(){return _.ju.signal(this.disposables.add(new l.Y(this.view.domNode,"focus",!0)).event)}createMouseController(e){return new H(this)}updateOptions(e={}){var t,i;this._options=Object.assign(Object.assign({},this._options),e),null===(t=this.typeNavigationController)||void 0===t||t.updateOptions(this._options),void 0!==this._options.multipleSelectionController&&(this._options.multipleSelectionSupport?this.view.domNode.setAttribute("aria-multiselectable","true"):this.view.domNode.removeAttribute("aria-multiselectable")),this.mouseController.updateOptions(e),null===(i=this.keyboardController)||void 0===i||i.updateOptions(e),this.view.updateOptions(e)}get options(){return this._options}splice(e,t,i=[]){if(e<0||e>this.view.length)throw new L(this.user,`Invalid start index: ${e}`);if(t<0)throw new L(this.user,`Invalid delete count: ${t}`);(0!==t||0!==i.length)&&this.eventBufferer.bufferEvents(()=>this.spliceable.splice(e,t,i))}rerender(){this.view.rerender()}element(e){return this.view.element(e)}get length(){return this.view.length}get contentHeight(){return this.view.contentHeight}get scrollTop(){return this.view.getScrollTop()}set scrollTop(e){this.view.setScrollTop(e)}get ariaLabel(){return this._ariaLabel}set ariaLabel(e){this._ariaLabel=e,this.view.domNode.setAttribute("aria-label",e)}domFocus(){this.view.domNode.focus({preventScroll:!0})}layout(e,t){this.view.layout(e,t)}setSelection(e,t){for(let t of e)if(t<0||t>=this.length)throw new L(this.user,`Invalid index ${t}`);this.selection.set(e,t)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map(e=>this.view.element(e))}setAnchor(e){if(void 0===e){this.anchor.set([]);return}if(e<0||e>=this.length)throw new L(this.user,`Invalid index ${e}`);this.anchor.set([e])}getAnchor(){return(0,g.Xh)(this.anchor.get(),void 0)}getAnchorElement(){let e=this.getAnchor();return void 0===e?void 0:this.element(e)}setFocus(e,t){for(let t of e)if(t<0||t>=this.length)throw new L(this.user,`Invalid index ${t}`);this.focus.set(e,t)}focusNext(e=1,t=!1,i,n){if(0===this.length)return;let o=this.focus.get(),r=this.findNextIndex(o.length>0?o[0]+e:0,t,n);r>-1&&this.setFocus([r],i)}focusPrevious(e=1,t=!1,i,n){if(0===this.length)return;let o=this.focus.get(),r=this.findPreviousIndex(o.length>0?o[0]-e:0,t,n);r>-1&&this.setFocus([r],i)}focusNextPage(e,t){return D(this,void 0,void 0,function*(){let i=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);i=0===i?0:i-1;let n=this.getFocus()[0];if(n!==i&&(void 0===n||i>n)){let o=this.findPreviousIndex(i,!1,t);o>-1&&n!==o?this.setFocus([o],e):this.setFocus([i],e)}else{let o=this.view.getScrollTop(),r=o+this.view.renderHeight;i>n&&(r-=this.view.elementHeight(i)),this.view.setScrollTop(r),this.view.getScrollTop()!==o&&(this.setFocus([]),yield(0,p.Vs)(0),yield this.focusNextPage(e,t))}})}focusPreviousPage(e,t){return D(this,void 0,void 0,function*(){let i;let n=this.view.getScrollTop();i=0===n?this.view.indexAt(n):this.view.indexAfter(n-1);let o=this.getFocus()[0];if(o!==i&&(void 0===o||o>=i)){let n=this.findNextIndex(i,!1,t);n>-1&&o!==n?this.setFocus([n],e):this.setFocus([i],e)}else this.view.setScrollTop(n-this.view.renderHeight),this.view.getScrollTop()!==n&&(this.setFocus([]),yield(0,p.Vs)(0),yield this.focusPreviousPage(e,t))})}focusLast(e,t){if(0===this.length)return;let i=this.findPreviousIndex(this.length-1,!1,t);i>-1&&this.setFocus([i],e)}focusFirst(e,t){this.focusNth(0,e,t)}focusNth(e,t,i){if(0===this.length)return;let n=this.findNextIndex(e,!1,i);n>-1&&this.setFocus([n],t)}findNextIndex(e,t=!1,i){for(let n=0;n=this.length)||t);n++){if(e%=this.length,!i||i(this.element(e)))return e;e++}return -1}findPreviousIndex(e,t=!1,i){for(let n=0;nthis.view.element(e))}reveal(e,t){if(e<0||e>=this.length)throw new L(this.user,`Invalid index ${e}`);let i=this.view.getScrollTop(),n=this.view.elementTop(e),o=this.view.elementHeight(e);if((0,S.hj)(t)){let e=o-this.view.renderHeight;this.view.setScrollTop(e*(0,b.uZ)(t,0,1)+n)}else{let e=n+o,t=i+this.view.renderHeight;n=t||(n=t&&o>=this.view.renderHeight?this.view.setScrollTop(n):e>=t&&this.view.setScrollTop(e-this.view.renderHeight))}}getHTMLElement(){return this.view.domNode}getElementID(e){return this.view.getElementDomId(e)}style(e){this.styleController.style(e)}toListEvent({indexes:e,browserEvent:t}){return{indexes:e,elements:e.map(e=>this.view.element(e)),browserEvent:t}}_onFocusChange(){let e=this.focus.get();this.view.domNode.classList.toggle("element-focused",e.length>0),this.onDidChangeActiveDescendant()}onDidChangeActiveDescendant(){var e;let t=this.focus.get();if(t.length>0){let i;(null===(e=this.accessibilityProvider)||void 0===e?void 0:e.getActiveDescendantId)&&(i=this.accessibilityProvider.getActiveDescendantId(this.view.element(t[0]))),this.view.domNode.setAttribute("aria-activedescendant",i||this.view.getElementDomId(t[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")}_onSelectionChange(){let e=this.selection.get();this.view.domNode.classList.toggle("selection-none",0===e.length),this.view.domNode.classList.toggle("selection-single",1===e.length),this.view.domNode.classList.toggle("selection-multiple",e.length>1)}dispose(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidDispose.dispose()}}N([f.H],Z.prototype,"onDidChangeFocus",null),N([f.H],Z.prototype,"onDidChangeSelection",null),N([f.H],Z.prototype,"onContextMenu",null),N([f.H],Z.prototype,"onKeyDown",null),N([f.H],Z.prototype,"onDidFocus",null)},96542:function(e,t,i){"use strict";i.d(t,{S:function(){return n}}),i(30591);let n="monaco-mouse-cursor-text"},73098:function(e,t,i){"use strict";i.d(t,{g:function(){return b},l:function(){return o}});var n,o,r=i(65321),s=i(4850),a=i(10553),l=i(15393),h=i(49898),d=i(4669),u=i(9917),c=i(1432);i(91550);var g=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};(n=o||(o={})).North="north",n.South="south",n.East="east",n.West="west";let p=new d.Q5,m=new d.Q5;class f{constructor(){this.disposables=new u.SL}get onPointerMove(){return this.disposables.add(new s.Y(window,"mousemove")).event}get onPointerUp(){return this.disposables.add(new s.Y(window,"mouseup")).event}dispose(){this.disposables.dispose()}}g([h.H],f.prototype,"onPointerMove",null),g([h.H],f.prototype,"onPointerUp",null);class _{constructor(e){this.el=e,this.disposables=new u.SL}get onPointerMove(){return this.disposables.add(new s.Y(this.el,a.t.Change)).event}get onPointerUp(){return this.disposables.add(new s.Y(this.el,a.t.End)).event}dispose(){this.disposables.dispose()}}g([h.H],_.prototype,"onPointerMove",null),g([h.H],_.prototype,"onPointerUp",null);class v{constructor(e){this.factory=e}get onPointerMove(){return this.factory.onPointerMove}get onPointerUp(){return this.factory.onPointerUp}dispose(){}}g([h.H],v.prototype,"onPointerMove",null),g([h.H],v.prototype,"onPointerUp",null);let C="pointer-events-disabled";class b extends u.JT{constructor(e,t,i){super(),this.hoverDelay=300,this.hoverDelayer=this._register(new l.vp(this.hoverDelay)),this._state=3,this.onDidEnablementChange=this._register(new d.Q5),this._onDidStart=this._register(new d.Q5),this._onDidChange=this._register(new d.Q5),this._onDidReset=this._register(new d.Q5),this._onDidEnd=this._register(new d.Q5),this.orthogonalStartSashDisposables=this._register(new u.SL),this.orthogonalStartDragHandleDisposables=this._register(new u.SL),this.orthogonalEndSashDisposables=this._register(new u.SL),this.orthogonalEndDragHandleDisposables=this._register(new u.SL),this.onDidStart=this._onDidStart.event,this.onDidChange=this._onDidChange.event,this.onDidReset=this._onDidReset.event,this.onDidEnd=this._onDidEnd.event,this.linkedSash=void 0,this.el=(0,r.R3)(e,(0,r.$)(".monaco-sash")),i.orthogonalEdge&&this.el.classList.add(`orthogonal-edge-${i.orthogonalEdge}`),c.dz&&this.el.classList.add("mac");let n=this._register(new s.Y(this.el,"mousedown")).event;this._register(n(e=>this.onPointerStart(e,new f),this));let o=this._register(new s.Y(this.el,"dblclick")).event;this._register(o(this.onPointerDoublePress,this));let h=this._register(new s.Y(this.el,"mouseenter")).event;this._register(h(()=>b.onMouseEnter(this)));let g=this._register(new s.Y(this.el,"mouseleave")).event;this._register(g(()=>b.onMouseLeave(this))),this._register(a.o.addTarget(this.el));let v=d.ju.map(this._register(new s.Y(this.el,a.t.Start)).event,e=>{var t;return Object.assign(Object.assign({},e),{target:null!==(t=e.initialTarget)&&void 0!==t?t:null})});this._register(v(e=>this.onPointerStart(e,new _(this.el)),this));let C=this._register(new s.Y(this.el,a.t.Tap)).event,w=d.ju.map(d.ju.filter(d.ju.debounce(C,(e,t)=>{var i;return{event:t,count:(null!==(i=null==e?void 0:e.count)&&void 0!==i?i:0)+1}},250),({count:e})=>2===e),({event:e})=>{var t;return Object.assign(Object.assign({},e),{target:null!==(t=e.initialTarget)&&void 0!==t?t:null})});this._register(w(this.onPointerDoublePress,this)),"number"==typeof i.size?(this.size=i.size,0===i.orientation?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=4,this._register(p.event(e=>{this.size=e,this.layout()}))),this._register(m.event(e=>this.hoverDelay=e)),this.layoutProvider=t,this.orthogonalStartSash=i.orthogonalStartSash,this.orthogonalEndSash=i.orthogonalEndSash,this.orientation=i.orientation||0,1===this.orientation?(this.el.classList.add("horizontal"),this.el.classList.remove("vertical")):(this.el.classList.remove("horizontal"),this.el.classList.add("vertical")),this.el.classList.toggle("debug",!1),this.layout()}get state(){return this._state}get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}set state(e){this._state!==e&&(this.el.classList.toggle("disabled",0===e),this.el.classList.toggle("minimum",1===e),this.el.classList.toggle("maximum",2===e),this._state=e,this.onDidEnablementChange.fire(e))}set orthogonalStartSash(e){if(this.orthogonalStartDragHandleDisposables.clear(),this.orthogonalStartSashDisposables.clear(),e){let t=t=>{this.orthogonalStartDragHandleDisposables.clear(),0!==t&&(this._orthogonalStartDragHandle=(0,r.R3)(this.el,(0,r.$)(".orthogonal-drag-handle.start")),this.orthogonalStartDragHandleDisposables.add((0,u.OF)(()=>this._orthogonalStartDragHandle.remove())),this.orthogonalStartDragHandleDisposables.add(new s.Y(this._orthogonalStartDragHandle,"mouseenter")).event(()=>b.onMouseEnter(e),void 0,this.orthogonalStartDragHandleDisposables),this.orthogonalStartDragHandleDisposables.add(new s.Y(this._orthogonalStartDragHandle,"mouseleave")).event(()=>b.onMouseLeave(e),void 0,this.orthogonalStartDragHandleDisposables))};this.orthogonalStartSashDisposables.add(e.onDidEnablementChange.event(t,this)),t(e.state)}this._orthogonalStartSash=e}set orthogonalEndSash(e){if(this.orthogonalEndDragHandleDisposables.clear(),this.orthogonalEndSashDisposables.clear(),e){let t=t=>{this.orthogonalEndDragHandleDisposables.clear(),0!==t&&(this._orthogonalEndDragHandle=(0,r.R3)(this.el,(0,r.$)(".orthogonal-drag-handle.end")),this.orthogonalEndDragHandleDisposables.add((0,u.OF)(()=>this._orthogonalEndDragHandle.remove())),this.orthogonalEndDragHandleDisposables.add(new s.Y(this._orthogonalEndDragHandle,"mouseenter")).event(()=>b.onMouseEnter(e),void 0,this.orthogonalEndDragHandleDisposables),this.orthogonalEndDragHandleDisposables.add(new s.Y(this._orthogonalEndDragHandle,"mouseleave")).event(()=>b.onMouseLeave(e),void 0,this.orthogonalEndDragHandleDisposables))};this.orthogonalEndSashDisposables.add(e.onDidEnablementChange.event(t,this)),t(e.state)}this._orthogonalEndSash=e}onPointerStart(e,t){r.zB.stop(e);let i=!1;if(!e.__orthogonalSashEvent){let n=this.getOrthogonalSash(e);n&&(i=!0,e.__orthogonalSashEvent=!0,n.onPointerStart(e,new v(t)))}if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onPointerStart(e,new v(t))),!this.state)return;let n=(0,r.H$)("iframe");for(let e of n)e.classList.add(C);let o=e.pageX,s=e.pageY,a=e.altKey;this.el.classList.add("active"),this._onDidStart.fire({startX:o,currentX:o,startY:s,currentY:s,altKey:a});let l=(0,r.dS)(this.el),h=()=>{let e="";e=i?"all-scroll":1===this.orientation?1===this.state?"s-resize":2===this.state?"n-resize":c.dz?"row-resize":"ns-resize":1===this.state?"e-resize":2===this.state?"w-resize":c.dz?"col-resize":"ew-resize",l.textContent=`* { cursor: ${e} !important; }`},d=new u.SL;h(),i||this.onDidEnablementChange.event(h,null,d),t.onPointerMove(e=>{r.zB.stop(e,!1);let t={startX:o,currentX:e.pageX,startY:s,currentY:e.pageY,altKey:a};this._onDidChange.fire(t)},null,d),t.onPointerUp(e=>{for(let t of(r.zB.stop(e,!1),this.el.removeChild(l),this.el.classList.remove("active"),this._onDidEnd.fire(),d.dispose(),n))t.classList.remove(C)},null,d),d.add(t)}onPointerDoublePress(e){let t=this.getOrthogonalSash(e);t&&t._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}static onMouseEnter(e,t=!1){e.el.classList.contains("active")?(e.hoverDelayer.cancel(),e.el.classList.add("hover")):e.hoverDelayer.trigger(()=>e.el.classList.add("hover"),e.hoverDelay).then(void 0,()=>{}),!t&&e.linkedSash&&b.onMouseEnter(e.linkedSash,!0)}static onMouseLeave(e,t=!1){e.hoverDelayer.cancel(),e.el.classList.remove("hover"),!t&&e.linkedSash&&b.onMouseLeave(e.linkedSash,!0)}clearSashHoverState(){b.onMouseLeave(this)}layout(){if(0===this.orientation){let e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{let e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+"px",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+"px"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+"px")}}getOrthogonalSash(e){if(e.target&&e.target instanceof HTMLElement&&e.target.classList.contains("orthogonal-drag-handle"))return e.target.classList.contains("start")?this.orthogonalStartSash:this.orthogonalEndSash}dispose(){super.dispose(),this.el.remove()}}},63161:function(e,t,i){"use strict";i.d(t,{s$:function(){return N},NB:function(){return L},$Z:function(){return k}});var n=i(16268),o=i(65321),r=i(38626),s=i(7317),a=i(93911),l=i(93794),h=i(15393);class d extends l.${constructor(e){super(),this._onActivate=e.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=e.bgWidth+"px",this.bgDomNode.style.height=e.bgHeight+"px",void 0!==e.top&&(this.bgDomNode.style.top="0px"),void 0!==e.left&&(this.bgDomNode.style.left="0px"),void 0!==e.bottom&&(this.bgDomNode.style.bottom="0px"),void 0!==e.right&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=e.className,this.domNode.classList.add(...e.icon.classNamesArray),this.domNode.style.position="absolute",this.domNode.style.width="11px",this.domNode.style.height="11px",void 0!==e.top&&(this.domNode.style.top=e.top+"px"),void 0!==e.left&&(this.domNode.style.left=e.left+"px"),void 0!==e.bottom&&(this.domNode.style.bottom=e.bottom+"px"),void 0!==e.right&&(this.domNode.style.right=e.right+"px"),this._pointerMoveMonitor=this._register(new a.C),this._register(o.mu(this.bgDomNode,o.tw.POINTER_DOWN,e=>this._arrowPointerDown(e))),this._register(o.mu(this.domNode,o.tw.POINTER_DOWN,e=>this._arrowPointerDown(e))),this._pointerdownRepeatTimer=this._register(new h.zh),this._pointerdownScheduleRepeatTimer=this._register(new h._F)}_arrowPointerDown(e){e.target&&e.target instanceof Element&&(this._onActivate(),this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancelAndSet(()=>{this._pointerdownRepeatTimer.cancelAndSet(()=>this._onActivate(),1e3/24)},200),this._pointerMoveMonitor.startMonitoring(e.target,e.pointerId,e.buttons,e=>{},()=>{this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancel()}),e.preventDefault())}}var u=i(9917);class c extends u.JT{constructor(e,t,i){super(),this._visibility=e,this._visibleClassName=t,this._invisibleClassName=i,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._rawShouldBeVisible=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new h._F)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this._updateShouldBeVisible())}setShouldBeVisible(e){this._rawShouldBeVisible=e,this._updateShouldBeVisible()}_applyVisibilitySetting(){return 2!==this._visibility&&(3===this._visibility||this._rawShouldBeVisible)}_updateShouldBeVisible(){let e=this._applyVisibilitySetting();this._shouldBeVisible!==e&&(this._shouldBeVisible=e,this.ensureVisibility())}setIsNeeded(e){this._isNeeded!==e&&(this._isNeeded=e,this.ensureVisibility())}setDomNode(e){this._domNode=e,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)}ensureVisibility(){if(!this._isNeeded){this._hide(!1);return}this._shouldBeVisible?this._reveal():this._hide(!0)}_reveal(){this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet(()=>{var e;null===(e=this._domNode)||void 0===e||e.setClassName(this._visibleClassName)},0))}_hide(e){var t;this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,null===(t=this._domNode)||void 0===t||t.setClassName(this._invisibleClassName+(e?" fade":"")))}}var g=i(1432);class p extends l.${constructor(e){super(),this._lazyRender=e.lazyRender,this._host=e.host,this._scrollable=e.scrollable,this._scrollByPage=e.scrollByPage,this._scrollbarState=e.scrollbarState,this._visibilityController=this._register(new c(e.visibility,"visible scrollbar "+e.extraScrollbarClassName,"invisible scrollbar "+e.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._pointerMoveMonitor=this._register(new a.C),this._shouldRender=!0,this.domNode=(0,r.X)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this._visibilityController.setDomNode(this.domNode),this.domNode.setPosition("absolute"),this._register(o.nm(this.domNode.domNode,o.tw.POINTER_DOWN,e=>this._domNodePointerDown(e)))}_createArrow(e){let t=this._register(new d(e));this.domNode.domNode.appendChild(t.bgDomNode),this.domNode.domNode.appendChild(t.domNode)}_createSlider(e,t,i,n){this.slider=(0,r.X)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(e),this.slider.setLeft(t),"number"==typeof i&&this.slider.setWidth(i),"number"==typeof n&&this.slider.setHeight(n),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this._register(o.nm(this.slider.domNode,o.tw.POINTER_DOWN,e=>{0===e.button&&(e.preventDefault(),this._sliderPointerDown(e))})),this.onclick(this.slider.domNode,e=>{e.leftButton&&e.stopPropagation()})}_onElementSize(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}beginReveal(){this._visibilityController.setShouldBeVisible(!0)}beginHide(){this._visibilityController.setShouldBeVisible(!1)}render(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))}_domNodePointerDown(e){e.target===this.domNode.domNode&&this._onPointerDown(e)}delegatePointerDown(e){let t=this.domNode.domNode.getClientRects()[0].top,i=t+this._scrollbarState.getSliderPosition(),n=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),o=this._sliderPointerPosition(e);i<=o&&o<=n?0===e.button&&(e.preventDefault(),this._sliderPointerDown(e)):this._onPointerDown(e)}_onPointerDown(e){let t,i;if(e.target===this.domNode.domNode&&"number"==typeof e.offsetX&&"number"==typeof e.offsetY)t=e.offsetX,i=e.offsetY;else{let n=o.i(this.domNode.domNode);t=e.pageX-n.left,i=e.pageY-n.top}let n=this._pointerDownRelativePosition(t,i);this._setDesiredScrollPositionNow(this._scrollByPage?this._scrollbarState.getDesiredScrollPositionFromOffsetPaged(n):this._scrollbarState.getDesiredScrollPositionFromOffset(n)),0===e.button&&(e.preventDefault(),this._sliderPointerDown(e))}_sliderPointerDown(e){if(!e.target||!(e.target instanceof Element))return;let t=this._sliderPointerPosition(e),i=this._sliderOrthogonalPointerPosition(e),n=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._pointerMoveMonitor.startMonitoring(e.target,e.pointerId,e.buttons,e=>{let o=this._sliderOrthogonalPointerPosition(e);if(g.ED&&Math.abs(o-i)>140){this._setDesiredScrollPositionNow(n.getScrollPosition());return}let r=this._sliderPointerPosition(e);this._setDesiredScrollPositionNow(n.getDesiredScrollPositionFromDelta(r-t))},()=>{this.slider.toggleClassName("active",!1),this._host.onDragEnd()}),this._host.onDragStart()}_setDesiredScrollPositionNow(e){let t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)}updateScrollbarSize(e){this._updateScrollbarSize(e),this._scrollbarState.setScrollbarSize(e),this._shouldRender=!0,this._lazyRender||this.render()}isNeeded(){return this._scrollbarState.isNeeded()}}class m{constructor(e,t,i,n,o,r){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(i),this._arrowSize=Math.round(e),this._visibleSize=n,this._scrollSize=o,this._scrollPosition=r,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new m(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(e){let t=Math.round(e);return this._visibleSize!==t&&(this._visibleSize=t,this._refreshComputedValues(),!0)}setScrollSize(e){let t=Math.round(e);return this._scrollSize!==t&&(this._scrollSize=t,this._refreshComputedValues(),!0)}setScrollPosition(e){let t=Math.round(e);return this._scrollPosition!==t&&(this._scrollPosition=t,this._refreshComputedValues(),!0)}setScrollbarSize(e){this._scrollbarSize=Math.round(e)}setOppositeScrollbarSize(e){this._oppositeScrollbarSize=Math.round(e)}static _computeValues(e,t,i,n,o){let r=Math.max(0,i-e),s=Math.max(0,r-2*t),a=n>0&&n>i;if(!a)return{computedAvailableSize:Math.round(r),computedIsNeeded:a,computedSliderSize:Math.round(s),computedSliderRatio:0,computedSliderPosition:0};let l=Math.round(Math.max(20,Math.floor(i*s/n))),h=(s-l)/(n-i);return{computedAvailableSize:Math.round(r),computedIsNeeded:a,computedSliderSize:Math.round(l),computedSliderRatio:h,computedSliderPosition:Math.round(o*h)}}_refreshComputedValues(){let e=m._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=e.computedAvailableSize,this._computedIsNeeded=e.computedIsNeeded,this._computedSliderSize=e.computedSliderSize,this._computedSliderRatio=e.computedSliderRatio,this._computedSliderPosition=e.computedSliderPosition}getArrowSize(){return this._arrowSize}getScrollPosition(){return this._scrollPosition}getRectangleLargeSize(){return this._computedAvailableSize}getRectangleSmallSize(){return this._scrollbarSize}isNeeded(){return this._computedIsNeeded}getSliderSize(){return this._computedSliderSize}getSliderPosition(){return this._computedSliderPosition}getDesiredScrollPositionFromOffset(e){if(!this._computedIsNeeded)return 0;let t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)}getDesiredScrollPositionFromOffsetPaged(e){if(!this._computedIsNeeded)return 0;let t=e-this._arrowSize,i=this._scrollPosition;return tthis._host.onMouseWheel(new s.q(null,1,0))}),this._createArrow({className:"scra",icon:f.lA.scrollbarButtonRight,top:i,left:void 0,bottom:void 0,right:e,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new s.q(null,-1,0))})}this._createSlider(Math.floor((t.horizontalScrollbarSize-t.horizontalSliderSize)/2),0,void 0,t.horizontalSliderSize)}_updateSlider(e,t){this.slider.setWidth(e),this.slider.setLeft(t)}_renderDomNode(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(e,t){return e}_sliderPointerPosition(e){return e.pageX}_sliderOrthogonalPointerPosition(e){return e.pageY}_updateScrollbarSize(e){this.slider.setHeight(e)}writeScrollPosition(e,t){e.scrollLeft=t}updateOptions(e){this.updateScrollbarSize(2===e.horizontal?0:e.horizontalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(2===e.vertical?0:e.verticalScrollbarSize),this._visibilityController.setVisibility(e.horizontal),this._scrollByPage=e.scrollByPage}}class v extends p{constructor(e,t,i){let n=e.getScrollDimensions(),o=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:i,scrollbarState:new m(t.verticalHasArrows?t.arrowSize:0,2===t.vertical?0:t.verticalScrollbarSize,0,n.height,n.scrollHeight,o.scrollTop),visibility:t.vertical,extraScrollbarClassName:"vertical",scrollable:e,scrollByPage:t.scrollByPage}),t.verticalHasArrows){let e=(t.arrowSize-11)/2,i=(t.verticalScrollbarSize-11)/2;this._createArrow({className:"scra",icon:f.lA.scrollbarButtonUp,top:e,left:i,bottom:void 0,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new s.q(null,0,1))}),this._createArrow({className:"scra",icon:f.lA.scrollbarButtonDown,top:void 0,left:i,bottom:e,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new s.q(null,0,-1))})}this._createSlider(0,Math.floor((t.verticalScrollbarSize-t.verticalSliderSize)/2),t.verticalSliderSize,void 0)}_updateSlider(e,t){this.slider.setHeight(e),this.slider.setTop(t)}_renderDomNode(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(e,t){return t}_sliderPointerPosition(e){return e.pageY}_sliderOrthogonalPointerPosition(e){return e.pageX}_updateScrollbarSize(e){this.slider.setWidth(e)}writeScrollPosition(e,t){e.scrollTop=t}updateOptions(e){this.updateScrollbarSize(2===e.vertical?0:e.verticalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(0),this._visibilityController.setVisibility(e.vertical),this._scrollByPage=e.scrollByPage}}var C=i(4669),b=i(76633);i(85947);class w{constructor(e,t,i){this.timestamp=e,this.deltaX=t,this.deltaY=i,this.score=0}}class y{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(-1===this._front&&-1===this._rear)return!1;let e=1,t=0,i=1,n=this._rear;for(;;){let o=n===this._front?e:Math.pow(2,-i);if(e-=o,t+=this._memory[n].score*o,n===this._front)break;n=(this._capacity+n-1)%this._capacity,i++}return t<=.5}accept(e,t,i){let n=new w(e,t,i);n.score=this._computeScore(n),-1===this._front&&-1===this._rear?(this._memory[0]=n,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=n)}_computeScore(e){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;let t=.5;return -1===this._front&&-1===this._rear||this._memory[this._rear],this._isAlmostInt(e.deltaX)&&this._isAlmostInt(e.deltaY)||(t+=.25),Math.min(Math.max(t,0),1)}_isAlmostInt(e){return .01>Math.abs(Math.round(e)-e)}}y.INSTANCE=new y;class S extends l.${constructor(e,t,i){super(),this._onScroll=this._register(new C.Q5),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new C.Q5),e.style.overflow="hidden",this._options=function(e){let t={lazyRender:void 0!==e.lazyRender&&e.lazyRender,className:void 0!==e.className?e.className:"",useShadows:void 0===e.useShadows||e.useShadows,handleMouseWheel:void 0===e.handleMouseWheel||e.handleMouseWheel,flipAxes:void 0!==e.flipAxes&&e.flipAxes,consumeMouseWheelIfScrollbarIsNeeded:void 0!==e.consumeMouseWheelIfScrollbarIsNeeded&&e.consumeMouseWheelIfScrollbarIsNeeded,alwaysConsumeMouseWheel:void 0!==e.alwaysConsumeMouseWheel&&e.alwaysConsumeMouseWheel,scrollYToX:void 0!==e.scrollYToX&&e.scrollYToX,mouseWheelScrollSensitivity:void 0!==e.mouseWheelScrollSensitivity?e.mouseWheelScrollSensitivity:1,fastScrollSensitivity:void 0!==e.fastScrollSensitivity?e.fastScrollSensitivity:5,scrollPredominantAxis:void 0===e.scrollPredominantAxis||e.scrollPredominantAxis,mouseWheelSmoothScroll:void 0===e.mouseWheelSmoothScroll||e.mouseWheelSmoothScroll,arrowSize:void 0!==e.arrowSize?e.arrowSize:11,listenOnDomNode:void 0!==e.listenOnDomNode?e.listenOnDomNode:null,horizontal:void 0!==e.horizontal?e.horizontal:1,horizontalScrollbarSize:void 0!==e.horizontalScrollbarSize?e.horizontalScrollbarSize:10,horizontalSliderSize:void 0!==e.horizontalSliderSize?e.horizontalSliderSize:0,horizontalHasArrows:void 0!==e.horizontalHasArrows&&e.horizontalHasArrows,vertical:void 0!==e.vertical?e.vertical:1,verticalScrollbarSize:void 0!==e.verticalScrollbarSize?e.verticalScrollbarSize:10,verticalHasArrows:void 0!==e.verticalHasArrows&&e.verticalHasArrows,verticalSliderSize:void 0!==e.verticalSliderSize?e.verticalSliderSize:0,scrollByPage:void 0!==e.scrollByPage&&e.scrollByPage};return t.horizontalSliderSize=void 0!==e.horizontalSliderSize?e.horizontalSliderSize:t.horizontalScrollbarSize,t.verticalSliderSize=void 0!==e.verticalSliderSize?e.verticalSliderSize:t.verticalScrollbarSize,g.dz&&(t.className+=" mac"),t}(t),this._scrollable=i,this._register(this._scrollable.onScroll(e=>{this._onWillScroll.fire(e),this._onDidScroll(e),this._onScroll.fire(e)}));let n={onMouseWheel:e=>this._onMouseWheel(e),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new v(this._scrollable,this._options,n)),this._horizontalScrollbar=this._register(new _(this._scrollable,this._options,n)),this._domNode=document.createElement("div"),this._domNode.className="monaco-scrollable-element "+this._options.className,this._domNode.setAttribute("role","presentation"),this._domNode.style.position="relative",this._domNode.style.overflow="hidden",this._domNode.appendChild(e),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=(0,r.X)(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=(0,r.X)(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=(0,r.X)(document.createElement("div")),this._topLeftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topLeftShadowDomNode.domNode)):(this._leftShadowDomNode=null,this._topShadowDomNode=null,this._topLeftShadowDomNode=null),this._listenOnDomNode=this._options.listenOnDomNode||this._domNode,this._mouseWheelToDispose=[],this._setListeningToMouseWheel(this._options.handleMouseWheel),this.onmouseover(this._listenOnDomNode,e=>this._onMouseOver(e)),this.onmouseleave(this._listenOnDomNode,e=>this._onMouseLeave(e)),this._hideTimeout=this._register(new h._F),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}get options(){return this._options}dispose(){this._mouseWheelToDispose=(0,u.B9)(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarPointerDown(e){this._verticalScrollbar.delegatePointerDown(e)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(e){this._scrollable.setScrollDimensions(e,!1)}updateClassName(e){this._options.className=e,g.dz&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(e){void 0!==e.handleMouseWheel&&(this._options.handleMouseWheel=e.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),void 0!==e.mouseWheelScrollSensitivity&&(this._options.mouseWheelScrollSensitivity=e.mouseWheelScrollSensitivity),void 0!==e.fastScrollSensitivity&&(this._options.fastScrollSensitivity=e.fastScrollSensitivity),void 0!==e.scrollPredominantAxis&&(this._options.scrollPredominantAxis=e.scrollPredominantAxis),void 0!==e.horizontal&&(this._options.horizontal=e.horizontal),void 0!==e.vertical&&(this._options.vertical=e.vertical),void 0!==e.horizontalScrollbarSize&&(this._options.horizontalScrollbarSize=e.horizontalScrollbarSize),void 0!==e.verticalScrollbarSize&&(this._options.verticalScrollbarSize=e.verticalScrollbarSize),void 0!==e.scrollByPage&&(this._options.scrollByPage=e.scrollByPage),this._horizontalScrollbar.updateOptions(this._options),this._verticalScrollbar.updateOptions(this._options),this._options.lazyRender||this._render()}_setListeningToMouseWheel(e){let t=this._mouseWheelToDispose.length>0;t!==e&&(this._mouseWheelToDispose=(0,u.B9)(this._mouseWheelToDispose),e&&this._mouseWheelToDispose.push(o.nm(this._listenOnDomNode,o.tw.MOUSE_WHEEL,e=>{this._onMouseWheel(new s.q(e))},{passive:!1})))}_onMouseWheel(e){let t=y.INSTANCE;{let i=window.devicePixelRatio/(0,n.getZoomFactor)();g.ED||g.IJ?t.accept(Date.now(),e.deltaX/i,e.deltaY/i):t.accept(Date.now(),e.deltaX,e.deltaY)}let i=!1;if(e.deltaY||e.deltaX){let n=e.deltaY*this._options.mouseWheelScrollSensitivity,o=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(Math.abs(n)>=Math.abs(o)?o=0:n=0),this._options.flipAxes&&([n,o]=[o,n]);let r=!g.dz&&e.browserEvent&&e.browserEvent.shiftKey;(this._options.scrollYToX||r)&&!o&&(o=n,n=0),e.browserEvent&&e.browserEvent.altKey&&(o*=this._options.fastScrollSensitivity,n*=this._options.fastScrollSensitivity);let s=this._scrollable.getFutureScrollPosition(),a={};if(n){let e=50*n,t=s.scrollTop-(e<0?Math.floor(e):Math.ceil(e));this._verticalScrollbar.writeScrollPosition(a,t)}if(o){let e=50*o,t=s.scrollLeft-(e<0?Math.floor(e):Math.ceil(e));this._horizontalScrollbar.writeScrollPosition(a,t)}if(a=this._scrollable.validateScrollPosition(a),s.scrollLeft!==a.scrollLeft||s.scrollTop!==a.scrollTop){let e=this._options.mouseWheelSmoothScroll&&t.isPhysicalMouseWheel();e?this._scrollable.setScrollPositionSmooth(a):this._scrollable.setScrollPositionNow(a),i=!0}}let o=i;!o&&this._options.alwaysConsumeMouseWheel&&(o=!0),!o&&this._options.consumeMouseWheelIfScrollbarIsNeeded&&(this._verticalScrollbar.isNeeded()||this._horizontalScrollbar.isNeeded())&&(o=!0),o&&(e.preventDefault(),e.stopPropagation())}_onDidScroll(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()}renderNow(){if(!this._options.lazyRender)throw Error("Please use `lazyRender` together with `renderNow`!");this._render()}_render(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){let e=this._scrollable.getCurrentScrollPosition(),t=e.scrollTop>0,i=e.scrollLeft>0,n=i?" left":"",o=t?" top":"",r=i||t?" top-left-corner":"";this._leftShadowDomNode.setClassName(`shadow${n}`),this._topShadowDomNode.setClassName(`shadow${o}`),this._topLeftShadowDomNode.setClassName(`shadow${r}${o}${n}`)}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseLeave(e){this._mouseIsOver=!1,this._hide()}_onMouseOver(e){this._mouseIsOver=!0,this._reveal()}_reveal(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()}_hide(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())}_scheduleHide(){this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet(()=>this._hide(),500)}}class L extends S{constructor(e,t){(t=t||{}).mouseWheelSmoothScroll=!1;let i=new b.Rm({forceIntegerValues:!0,smoothScrollDuration:0,scheduleAtNextAnimationFrame:e=>o.jL(e)});super(e,t,i),this._register(i)}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}}class k extends S{constructor(e,t,i){super(e,t,i)}setScrollPosition(e){e.reuseAnimation?this._scrollable.setScrollPositionSmooth(e,e.reuseAnimation):this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}class N extends S{constructor(e,t){(t=t||{}).mouseWheelSmoothScroll=!1;let i=new b.Rm({forceIntegerValues:!1,smoothScrollDuration:0,scheduleAtNextAnimationFrame:e=>o.jL(e)});super(e,t,i),this._register(i),this._element=e,this.onScroll(e=>{e.scrollTopChanged&&(this._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(this._element.scrollLeft=e.scrollLeft)}),this.scanDomNode()}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}scanDomNode(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})}}},23937:function(e,t,i){"use strict";i.d(t,{M:function(){return s},z:function(){return w}});var n,o,r,s,a=i(65321),l=i(73098),h=i(63161),d=i(9488),u=i(41264),c=i(4669),g=i(9917),p=i(59870),m=i(76633),f=i(98401);i(39769);let _={separatorBorder:u.Il.transparent};class v{constructor(e,t,i,n){this.container=e,this.view=t,this.disposable=n,this._cachedVisibleSize=void 0,"number"==typeof i?(this._size=i,this._cachedVisibleSize=void 0,e.classList.add("visible")):(this._size=0,this._cachedVisibleSize=i.cachedVisibleSize)}set size(e){this._size=e}get size(){return this._size}get visible(){return void 0===this._cachedVisibleSize}setVisible(e,t){var i,n;e!==this.visible&&(e?(this.size=(0,p.uZ)(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize="number"==typeof t?t:this.size,this.size=0),this.container.classList.toggle("visible",e),null===(n=(i=this.view).setVisible)||void 0===n||n.call(i,e))}get minimumSize(){return this.visible?this.view.minimumSize:0}get viewMinimumSize(){return this.view.minimumSize}get maximumSize(){return this.visible?this.view.maximumSize:0}get viewMaximumSize(){return this.view.maximumSize}get priority(){return this.view.priority}get snap(){return!!this.view.snap}set enabled(e){this.container.style.pointerEvents=e?"":"none"}layout(e,t){this.layoutContainer(e),this.view.layout(this.size,e,t)}dispose(){return this.disposable.dispose(),this.view}}class C extends v{layoutContainer(e){this.container.style.top=`${e}px`,this.container.style.height=`${this.size}px`}}class b extends v{layoutContainer(e){this.container.style.left=`${e}px`,this.container.style.width=`${this.size}px`}}(n=r||(r={}))[n.Idle=0]="Idle",n[n.Busy=1]="Busy",(o=s||(s={})).Distribute={type:"distribute"},o.Split=function(e){return{type:"split",index:e}},o.Invisible=function(e){return{type:"invisible",cachedVisibleSize:e}};class w extends g.JT{constructor(e,t={}){var i,n,o,s,l;super(),this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.state=r.Idle,this._onDidSashChange=this._register(new c.Q5),this._onDidSashReset=this._register(new c.Q5),this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.onDidSashChange=this._onDidSashChange.event,this.onDidSashReset=this._onDidSashReset.event,this.orientation=null!==(i=t.orientation)&&void 0!==i?i:0,this.inverseAltBehavior=null!==(n=t.inverseAltBehavior)&&void 0!==n&&n,this.proportionalLayout=null===(o=t.proportionalLayout)||void 0===o||o,this.getSashOrthogonalSize=t.getSashOrthogonalSize,this.el=document.createElement("div"),this.el.classList.add("monaco-split-view2"),this.el.classList.add(0===this.orientation?"vertical":"horizontal"),e.appendChild(this.el),this.sashContainer=(0,a.R3)(this.el,(0,a.$)(".sash-container")),this.viewContainer=(0,a.$)(".split-view-container"),this.scrollable=new m.Rm({forceIntegerValues:!0,smoothScrollDuration:125,scheduleAtNextAnimationFrame:a.jL}),this.scrollableElement=this._register(new h.$Z(this.viewContainer,{vertical:0===this.orientation?null!==(s=t.scrollbarVisibility)&&void 0!==s?s:1:2,horizontal:1===this.orientation?null!==(l=t.scrollbarVisibility)&&void 0!==l?l:1:2},this.scrollable)),this.onDidScroll=this.scrollableElement.onScroll,this._register(this.onDidScroll(e=>{this.viewContainer.scrollTop=e.scrollTop,this.viewContainer.scrollLeft=e.scrollLeft})),(0,a.R3)(this.el,this.scrollableElement.getDomNode()),this.style(t.styles||_),t.descriptor&&(this.size=t.descriptor.size,t.descriptor.views.forEach((e,t)=>{let i=f.o8(e.visible)||e.visible?e.size:{type:"invisible",cachedVisibleSize:e.size},n=e.view;this.doAddView(n,i,t,!0)}),this.contentSize=this.viewItems.reduce((e,t)=>e+t.size,0),this.saveProportions())}get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}get startSnappingEnabled(){return this._startSnappingEnabled}get endSnappingEnabled(){return this._endSnappingEnabled}set orthogonalStartSash(e){for(let t of this.sashItems)t.sash.orthogonalStartSash=e;this._orthogonalStartSash=e}set orthogonalEndSash(e){for(let t of this.sashItems)t.sash.orthogonalEndSash=e;this._orthogonalEndSash=e}set startSnappingEnabled(e){this._startSnappingEnabled!==e&&(this._startSnappingEnabled=e,this.updateSashEnablement())}set endSnappingEnabled(e){this._endSnappingEnabled!==e&&(this._endSnappingEnabled=e,this.updateSashEnablement())}style(e){e.separatorBorder.isTransparent()?(this.el.classList.remove("separator-border"),this.el.style.removeProperty("--separator-border")):(this.el.classList.add("separator-border"),this.el.style.setProperty("--separator-border",e.separatorBorder.toString()))}addView(e,t,i=this.viewItems.length,n){this.doAddView(e,t,i,n)}layout(e,t){let i=Math.max(this.size,this.contentSize);if(this.size=e,this.layoutContext=t,this.proportions)for(let t=0;t1===this.viewItems[e].priority),o=t.filter(e=>2===this.viewItems[e].priority);this.resize(this.viewItems.length-1,e-i,void 0,n,o)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map(e=>e.size/this.contentSize))}onSashStart({sash:e,start:t,alt:i}){for(let e of this.viewItems)e.enabled=!1;let n=this.sashItems.findIndex(t=>t.sash===e),o=(0,g.F8)((0,a.nm)(document.body,"keydown",e=>r(this.sashDragState.current,e.altKey)),(0,a.nm)(document.body,"keyup",()=>r(this.sashDragState.current,!1))),r=(e,t)=>{let i,r;let s=this.viewItems.map(e=>e.size),a=Number.NEGATIVE_INFINITY,l=Number.POSITIVE_INFINITY;if(this.inverseAltBehavior&&(t=!t),t){let e=n===this.sashItems.length-1;if(e){let e=this.viewItems[n];a=(e.minimumSize-e.size)/2,l=(e.maximumSize-e.size)/2}else{let e=this.viewItems[n+1];a=(e.size-e.maximumSize)/2,l=(e.size-e.minimumSize)/2}}if(!t){let e=(0,d.w6)(n,-1),t=(0,d.w6)(n+1,this.viewItems.length),o=e.reduce((e,t)=>e+(this.viewItems[t].minimumSize-s[t]),0),a=e.reduce((e,t)=>e+(this.viewItems[t].viewMaximumSize-s[t]),0),l=0===t.length?Number.POSITIVE_INFINITY:t.reduce((e,t)=>e+(s[t]-this.viewItems[t].minimumSize),0),h=0===t.length?Number.NEGATIVE_INFINITY:t.reduce((e,t)=>e+(s[t]-this.viewItems[t].viewMaximumSize),0),u=Math.max(o,h),c=Math.min(l,a),g=this.findFirstSnapIndex(e),p=this.findFirstSnapIndex(t);if("number"==typeof g){let e=this.viewItems[g],t=Math.floor(e.viewMinimumSize/2);i={index:g,limitDelta:e.visible?u-t:u+t,size:e.size}}if("number"==typeof p){let e=this.viewItems[p],t=Math.floor(e.viewMinimumSize/2);r={index:p,limitDelta:e.visible?c+t:c-t,size:e.size}}}this.sashDragState={start:e,current:e,index:n,sizes:s,minDelta:a,maxDelta:l,alt:t,snapBefore:i,snapAfter:r,disposable:o}};r(t,i)}onSashChange({current:e}){let{index:t,start:i,sizes:n,alt:o,minDelta:r,maxDelta:s,snapBefore:a,snapAfter:l}=this.sashDragState;this.sashDragState.current=e;let h=this.resize(t,e-i,n,void 0,void 0,r,s,a,l);if(o){let e=t===this.sashItems.length-1,i=this.viewItems.map(e=>e.size),n=e?t:t+1,o=this.viewItems[n],r=o.size-o.maximumSize,s=o.size-o.minimumSize,a=e?t-1:t+1;this.resize(a,-h,i,void 0,void 0,r,s)}this.distributeEmptySpace(),this.layoutViews()}onSashEnd(e){for(let t of(this._onDidSashChange.fire(e),this.sashDragState.disposable.dispose(),this.saveProportions(),this.viewItems))t.enabled=!0}onViewChange(e,t){let i=this.viewItems.indexOf(e);i<0||i>=this.viewItems.length||(t="number"==typeof t?t:e.size,t=(0,p.uZ)(t,e.minimumSize,e.maximumSize),this.inverseAltBehavior&&i>0?(this.resize(i-1,Math.floor((e.size-t)/2)),this.distributeEmptySpace(),this.layoutViews()):(e.size=t,this.relayout([i],void 0)))}resizeView(e,t){if(this.state!==r.Idle)throw Error("Cant modify splitview");if(this.state=r.Busy,e<0||e>=this.viewItems.length)return;let i=(0,d.w6)(this.viewItems.length).filter(t=>t!==e),n=[...i.filter(e=>1===this.viewItems[e].priority),e],o=i.filter(e=>2===this.viewItems[e].priority),s=this.viewItems[e];t=Math.round(t),t=(0,p.uZ)(t,s.minimumSize,Math.min(s.maximumSize,this.size)),s.size=t,this.relayout(n,o),this.state=r.Idle}distributeViewSizes(){let e=[],t=0;for(let i of this.viewItems)i.maximumSize-i.minimumSize>0&&(e.push(i),t+=i.size);let i=Math.floor(t/e.length);for(let t of e)t.size=(0,p.uZ)(i,t.minimumSize,t.maximumSize);let n=(0,d.w6)(this.viewItems.length),o=n.filter(e=>1===this.viewItems[e].priority),r=n.filter(e=>2===this.viewItems[e].priority);this.relayout(o,r)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}doAddView(e,t,i=this.viewItems.length,n){let o,s;if(this.state!==r.Idle)throw Error("Cant modify splitview");this.state=r.Busy;let h=(0,a.$)(".split-view-view");i===this.viewItems.length?this.viewContainer.appendChild(h):this.viewContainer.insertBefore(h,this.viewContainer.children.item(i));let u=e.onDidChange(e=>this.onViewChange(f,e)),p=(0,g.OF)(()=>this.viewContainer.removeChild(h)),m=(0,g.F8)(u,p);o="number"==typeof t?t:"split"===t.type?this.getViewSize(t.index)/2:"invisible"===t.type?{cachedVisibleSize:t.cachedVisibleSize}:e.minimumSize;let f=0===this.orientation?new C(h,e,o,m):new b(h,e,o,m);if(this.viewItems.splice(i,0,f),this.viewItems.length>1){let e={orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash},t=0===this.orientation?new l.g(this.sashContainer,{getHorizontalSashTop:e=>this.getSashPosition(e),getHorizontalSashWidth:this.getSashOrthogonalSize},Object.assign(Object.assign({},e),{orientation:1})):new l.g(this.sashContainer,{getVerticalSashLeft:e=>this.getSashPosition(e),getVerticalSashHeight:this.getSashOrthogonalSize},Object.assign(Object.assign({},e),{orientation:0})),n=0===this.orientation?e=>({sash:t,start:e.startY,current:e.currentY,alt:e.altKey}):e=>({sash:t,start:e.startX,current:e.currentX,alt:e.altKey}),o=c.ju.map(t.onDidStart,n),r=o(this.onSashStart,this),s=c.ju.map(t.onDidChange,n),a=s(this.onSashChange,this),h=c.ju.map(t.onDidEnd,()=>this.sashItems.findIndex(e=>e.sash===t)),u=h(this.onSashEnd,this),p=t.onDidReset(()=>{let e=this.sashItems.findIndex(e=>e.sash===t),i=(0,d.w6)(e,-1),n=(0,d.w6)(e+1,this.viewItems.length),o=this.findFirstSnapIndex(i),r=this.findFirstSnapIndex(n);("number"!=typeof o||this.viewItems[o].visible)&&("number"!=typeof r||this.viewItems[r].visible)&&this._onDidSashReset.fire(e)}),m=(0,g.F8)(r,a,u,p,t);this.sashItems.splice(i-1,0,{sash:t,disposable:m})}h.appendChild(e.element),"number"!=typeof t&&"split"===t.type&&(s=[t.index]),n||this.relayout([i],s),this.state=r.Idle,n||"number"==typeof t||"distribute"!==t.type||this.distributeViewSizes()}relayout(e,t){let i=this.viewItems.reduce((e,t)=>e+t.size,0);this.resize(this.viewItems.length-1,this.size-i,void 0,e,t),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(e,t,i=this.viewItems.map(e=>e.size),n,o,r=Number.NEGATIVE_INFINITY,s=Number.POSITIVE_INFINITY,a,l){if(e<0||e>=this.viewItems.length)return 0;let h=(0,d.w6)(e,-1),u=(0,d.w6)(e+1,this.viewItems.length);if(o)for(let e of o)(0,d.zI)(h,e),(0,d.zI)(u,e);if(n)for(let e of n)(0,d.al)(h,e),(0,d.al)(u,e);let c=h.map(e=>this.viewItems[e]),g=h.map(e=>i[e]),m=u.map(e=>this.viewItems[e]),f=u.map(e=>i[e]),_=h.reduce((e,t)=>e+(this.viewItems[t].minimumSize-i[t]),0),v=h.reduce((e,t)=>e+(this.viewItems[t].maximumSize-i[t]),0),C=0===u.length?Number.POSITIVE_INFINITY:u.reduce((e,t)=>e+(i[t]-this.viewItems[t].minimumSize),0),b=0===u.length?Number.NEGATIVE_INFINITY:u.reduce((e,t)=>e+(i[t]-this.viewItems[t].maximumSize),0),w=Math.max(_,b,r),y=Math.min(C,v,s),S=!1;if(a){let e=this.viewItems[a.index],i=t>=a.limitDelta;S=i!==e.visible,e.setVisible(i,a.size)}if(!S&&l){let e=this.viewItems[l.index],i=te+t.size,0),i=this.size-t,n=(0,d.w6)(this.viewItems.length-1,-1),o=n.filter(e=>1===this.viewItems[e].priority),r=n.filter(e=>2===this.viewItems[e].priority);for(let e of r)(0,d.zI)(n,e);for(let e of o)(0,d.al)(n,e);"number"==typeof e&&(0,d.al)(n,e);for(let e=0;0!==i&&ee+t.size,0);let e=0;for(let t of this.viewItems)t.layout(e,this.layoutContext),e+=t.size;this.sashItems.forEach(e=>e.sash.layout()),this.updateSashEnablement(),this.updateScrollableElement()}updateScrollableElement(){0===this.orientation?this.scrollableElement.setScrollDimensions({height:this.size,scrollHeight:this.contentSize}):this.scrollableElement.setScrollDimensions({width:this.size,scrollWidth:this.contentSize})}updateSashEnablement(){let e=!1,t=this.viewItems.map(t=>e=t.size-t.minimumSize>0||e);e=!1;let i=this.viewItems.map(t=>e=t.maximumSize-t.size>0||e),n=[...this.viewItems].reverse();e=!1;let o=n.map(t=>e=t.size-t.minimumSize>0||e).reverse();e=!1;let r=n.map(t=>e=t.maximumSize-t.size>0||e).reverse(),s=0;for(let e=0;e0||this.startSnappingEnabled)?n.state=1:u&&t[e]&&(s0)break;if(!e.visible&&e.snap)return t}}dispose(){super.dispose(),(0,g.B9)(this.viewItems),this.viewItems=[],this.sashItems.forEach(e=>e.disposable.dispose()),this.sashItems=[]}}},82900:function(e,t,i){"use strict";i.d(t,{Z:function(){return l}});var n=i(93794),o=i(73046),r=i(41264),s=i(4669);i(58206);let a={inputActiveOptionBorder:r.Il.fromHex("#007ACC00"),inputActiveOptionForeground:r.Il.fromHex("#FFFFFF"),inputActiveOptionBackground:r.Il.fromHex("#0E639C50")};class l extends n.${constructor(e){super(),this._onChange=this._register(new s.Q5),this.onChange=this._onChange.event,this._onKeyDown=this._register(new s.Q5),this.onKeyDown=this._onKeyDown.event,this._opts=Object.assign(Object.assign({},a),e),this._checked=this._opts.isChecked;let t=["monaco-custom-toggle"];this._opts.icon&&(this._icon=this._opts.icon,t.push(...o.dT.asClassNameArray(this._icon))),this._opts.actionClassName&&t.push(...this._opts.actionClassName.split(" ")),this._checked&&t.push("checked"),this.domNode=document.createElement("div"),this.domNode.title=this._opts.title,this.domNode.classList.add(...t),this._opts.notFocusable||(this.domNode.tabIndex=0),this.domNode.setAttribute("role","checkbox"),this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.setAttribute("aria-label",this._opts.title),this.applyStyles(),this.onclick(this.domNode,e=>{this.enabled&&(this.checked=!this._checked,this._onChange.fire(!1),e.preventDefault())}),this.ignoreGesture(this.domNode),this.onkeydown(this.domNode,e=>{if(10===e.keyCode||3===e.keyCode){this.checked=!this._checked,this._onChange.fire(!0),e.preventDefault(),e.stopPropagation();return}this._onKeyDown.fire(e)})}get enabled(){return"true"!==this.domNode.getAttribute("aria-disabled")}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.classList.toggle("checked",this._checked),this.applyStyles()}width(){return 22}style(e){e.inputActiveOptionBorder&&(this._opts.inputActiveOptionBorder=e.inputActiveOptionBorder),e.inputActiveOptionForeground&&(this._opts.inputActiveOptionForeground=e.inputActiveOptionForeground),e.inputActiveOptionBackground&&(this._opts.inputActiveOptionBackground=e.inputActiveOptionBackground),this.applyStyles()}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder?this._opts.inputActiveOptionBorder.toString():"",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground?this._opts.inputActiveOptionForeground.toString():"inherit",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground?this._opts.inputActiveOptionBackground.toString():"")}enable(){this.domNode.setAttribute("aria-disabled",String(!1))}disable(){this.domNode.setAttribute("aria-disabled",String(!0))}}},93794:function(e,t,i){"use strict";i.d(t,{$:function(){return l}});var n=i(65321),o=i(59069),r=i(7317),s=i(10553),a=i(9917);class l extends a.JT{onclick(e,t){this._register(n.nm(e,n.tw.CLICK,e=>t(new r.n(e))))}onmousedown(e,t){this._register(n.nm(e,n.tw.MOUSE_DOWN,e=>t(new r.n(e))))}onmouseover(e,t){this._register(n.nm(e,n.tw.MOUSE_OVER,e=>t(new r.n(e))))}onmouseleave(e,t){this._register(n.nm(e,n.tw.MOUSE_LEAVE,e=>t(new r.n(e))))}onkeydown(e,t){this._register(n.nm(e,n.tw.KEY_DOWN,e=>t(new o.y(e))))}onkeyup(e,t){this._register(n.nm(e,n.tw.KEY_UP,e=>t(new o.y(e))))}oninput(e,t){this._register(n.nm(e,n.tw.INPUT,t))}onblur(e,t){this._register(n.nm(e,n.tw.BLUR,t))}onfocus(e,t){this._register(n.nm(e,n.tw.FOCUS,t))}ignoreGesture(e){s.o.ignoreTarget(e)}}},74741:function(e,t,i){"use strict";i.d(t,{Wi:function(){return l},Z0:function(){return h},aU:function(){return a},eZ:function(){return u},wY:function(){return d},xw:function(){return c}});var n=i(4669),o=i(9917),r=i(63580),s=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class a extends o.JT{constructor(e,t="",i="",o=!0,r){super(),this._onDidChange=this._register(new n.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=e,this._label=t,this._cssClass=i,this._enabled=o,this._actionCallback=r}get id(){return this._id}get label(){return this._label}set label(e){this._setLabel(e)}_setLabel(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))}get tooltip(){return this._tooltip||""}set tooltip(e){this._setTooltip(e)}_setTooltip(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))}get class(){return this._cssClass}set class(e){this._setClass(e)}_setClass(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))}get enabled(){return this._enabled}set enabled(e){this._setEnabled(e)}_setEnabled(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))}get checked(){return this._checked}set checked(e){this._setChecked(e)}_setChecked(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))}run(e,t){return s(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(e))})}}class l extends o.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new n.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new n.Q5),this.onDidRun=this._onDidRun.event}run(e,t){return s(this,void 0,void 0,function*(){let i;if(e.enabled){this._onBeforeRun.fire({action:e});try{yield this.runAction(e,t)}catch(e){i=e}this._onDidRun.fire({action:e,error:i})}})}runAction(e,t){return s(this,void 0,void 0,function*(){yield e.run(t)})}}class h extends a{constructor(e){super(h.ID,e,e?"separator text":"separator"),this.checked=!1,this.enabled=!1}}h.ID="vs.actions.separator";class d{constructor(e,t,i,n){this.tooltip="",this.enabled=!0,this.checked=void 0,this.id=e,this.label=t,this.class=n,this._actions=i}get actions(){return this._actions}dispose(){}run(){return s(this,void 0,void 0,function*(){})}}class u extends a{constructor(){super(u.ID,r.NC("submenu.empty","(empty)"),void 0,!1)}}function c(e){var t,i;return{id:e.id,label:e.label,class:void 0,enabled:null===(t=e.enabled)||void 0===t||t,checked:null!==(i=e.checked)&&void 0!==i&&i,run:()=>s(this,void 0,void 0,function*(){return e.run()}),tooltip:e.label,dispose:()=>{}}}u.ID="vs.actions.empty"},9488:function(e,t,i){"use strict";var n,o;function r(e,t=0){return e[e.length-(1+t)]}function s(e){if(0===e.length)throw Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function a(e,t,i=(e,t)=>e===t){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let n=0,o=e.length;n0))return e;n=e-1}}return-(i+1)}(e.length,n=>i(e[n],t))}function d(e,t){let i=0,n=e.length;if(0===n)return 0;for(;i!!e)}function g(e){return!Array.isArray(e)||0===e.length}function p(e){return Array.isArray(e)&&e.length>0}function m(e,t=e=>e){let i=new Set;return e.filter(e=>{let n=t(e);return!i.has(n)&&(i.add(n),!0)})}function f(e,t){let i=function(e,t){for(let i=e.length-1;i>=0;i--){let n=e[i];if(t(n))return i}return -1}(e,t);if(-1!==i)return e[i]}function _(e,t){return e.length>0?e[0]:t}function v(e,t){let i="number"==typeof t?e:0;"number"==typeof t?i=e:(i=0,t=e);let n=[];if(i<=t)for(let e=i;et;e--)n.push(e);return n}function C(e,t,i){let n=e.slice(0,t),o=e.slice(t);return n.concat(i,o)}function b(e,t){let i=e.indexOf(t);i>-1&&(e.splice(i,1),e.unshift(t))}function w(e,t){let i=e.indexOf(t);i>-1&&(e.splice(i,1),e.push(t))}function y(e,t){for(let i of t)e.push(i)}function S(e){return Array.isArray(e)?e:[e]}function L(e,t,i,n){let o=k(e,t),r=e.splice(o,i);return!function(e,t,i){let n=k(e,t),o=e.length,r=i.length;e.length=o+r;for(let t=o-1;t>=n;t--)e[t+r]=e[t];for(let t=0;tt(e(i),e(n))}i.d(t,{Dc:function(){return x},EB:function(){return m},Gb:function(){return r},H9:function(){return T},HW:function(){return function e(t,i,n){if((t|=0)>=i.length)throw TypeError("invalid index");let o=i[Math.floor(i.length*Math.random())],r=[],s=[],a=[];for(let e of i){let t=n(e,o);t<0?r.push(e):t>0?s.push(e):a.push(e)}return t0},o.isNeitherLessOrGreaterThan=function(e){return 0===e},o.greaterThan=1,o.lessThan=-1,o.neitherLessOrGreaterThan=0;let D=(e,t)=>e-t;function x(e,t){if(0===e.length)return;let i=e[0];for(let n=1;n0&&(i=o)}return i}function I(e,t){if(0===e.length)return;let i=e[0];for(let n=1;n=0&&(i=o)}return i}function E(e,t){return x(e,(e,i)=>-t(e,i))}class T{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t=0&&e(this.items[t]);)t--;let i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(0!==this.length)return this.items[this.firstIdx]}dequeue(){let e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){let t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}},35146:function(e,t,i){"use strict";function n(e,t){if(!e)throw Error(t?`Assertion failed (${t})`:"Assertion Failed")}i.d(t,{ok:function(){return n}})},15393:function(e,t,i){"use strict";let n;i.d(t,{Aq:function(){return I},CR:function(){return x},J8:function(){return g},PG:function(){return p},Ps:function(){return S},To:function(){return n},Ue:function(){return D},Vg:function(){return y},Vs:function(){return function e(t,i){return i?new Promise((e,n)=>{let o=setTimeout(()=>{r.dispose(),e()},t),r=i.onCancellationRequested(()=>{clearTimeout(o),r.dispose(),n(new a.FU)})}):p(i=>e(t,i))}},_F:function(){return L},eP:function(){return m},jT:function(){return r},ne:function(){return C},pY:function(){return N},rH:function(){return w},vp:function(){return b},zS:function(){return T},zh:function(){return k}});var o,r,s=i(71050),a=i(17301),l=i(4669),h=i(9917),d=i(1432),u=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})},c=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,i=e[Symbol.asyncIterator];return i?i.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(i){t[i]=e[i]&&function(t){return new Promise(function(n,o){!function(e,t,i,n){Promise.resolve(n).then(function(t){e({value:t,done:i})},t)}(n,o,(t=e[i](t)).done,t.value)})}}};function g(e){return!!e&&"function"==typeof e.then}function p(e){let t=new s.A,i=e(t.token),n=new Promise((e,n)=>{let o=t.token.onCancellationRequested(()=>{o.dispose(),t.dispose(),n(new a.FU)});Promise.resolve(i).then(i=>{o.dispose(),t.dispose(),e(i)},e=>{o.dispose(),t.dispose(),n(e)})});return new class{cancel(){t.cancel()}then(e,t){return n.then(e,t)}catch(e){return this.then(void 0,e)}finally(e){return n.finally(e)}}}function m(e,t,i){return new Promise((n,o)=>{let r=t.onCancellationRequested(()=>{r.dispose(),n(i)});e.then(n,o).finally(()=>r.dispose())})}class f{constructor(){this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(e){if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){let e=()=>{this.queuedPromise=null;let e=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,e};this.queuedPromise=new Promise(t=>{this.activePromise.then(e,e).then(t)})}return new Promise((e,t)=>{this.queuedPromise.then(e,t)})}return this.activePromise=e(),new Promise((e,t)=>{this.activePromise.then(t=>{this.activePromise=null,e(t)},e=>{this.activePromise=null,t(e)})})}}let _=(e,t)=>{let i=!0,n=setTimeout(()=>{i=!1,t()},e);return{isTriggered:()=>i,dispose:()=>{clearTimeout(n),i=!1}}},v=e=>{let t=!0;return queueMicrotask(()=>{t&&(t=!1,e())}),{isTriggered:()=>t,dispose:()=>{t=!1}}},C=Symbol("MicrotaskDelay");class b{constructor(e){this.defaultDelay=e,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(e,t=this.defaultDelay){this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((e,t)=>{this.doResolve=e,this.doReject=t}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){let e=this.task;return this.task=null,e()}}));let i=()=>{var e;this.deferred=null,null===(e=this.doResolve)||void 0===e||e.call(this,null)};return this.deferred=t===C?v(i):_(t,i),this.completionPromise}isTriggered(){var e;return!!(null===(e=this.deferred)||void 0===e?void 0:e.isTriggered())}cancel(){var e;this.cancelTimeout(),this.completionPromise&&(null===(e=this.doReject)||void 0===e||e.call(this,new a.FU),this.completionPromise=null)}cancelTimeout(){var e;null===(e=this.deferred)||void 0===e||e.dispose(),this.deferred=null}dispose(){this.cancel()}}class w{constructor(e){this.delayer=new b(e),this.throttler=new f}trigger(e,t){return this.delayer.trigger(()=>this.throttler.queue(e),t)}dispose(){this.delayer.dispose()}}function y(e,t=0){let i=setTimeout(e,t);return(0,h.OF)(()=>clearTimeout(i))}function S(e,t=e=>!!e,i=null){let n=0,o=e.length,r=()=>{if(n>=o)return Promise.resolve(i);let s=e[n++],a=Promise.resolve(s());return a.then(e=>t(e)?Promise.resolve(e):r())};return r()}class L{constructor(e,t){this._token=-1,"function"==typeof e&&"number"==typeof t&&this.setIfNotSet(e,t)}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setTimeout(()=>{this._token=-1,e()},t)}setIfNotSet(e,t){-1===this._token&&(this._token=setTimeout(()=>{this._token=-1,e()},t))}}class k{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearInterval(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setInterval(()=>{e()},t)}}class N{constructor(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}get delay(){return this.timeout}set delay(e){this.timeout=e}isScheduled(){return -1!==this.timeoutToken}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){var e;null===(e=this.runner)||void 0===e||e.call(this)}}n="function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback?e=>{(0,d.fn)(()=>{if(t)return;let i=Date.now()+15;e(Object.freeze({didTimeout:!0,timeRemaining:()=>Math.max(0,i-Date.now())}))});let t=!1;return{dispose(){t||(t=!0)}}}:(e,t)=>{let i=requestIdleCallback(e,"number"==typeof t?{timeout:t}:void 0),n=!1;return{dispose(){n||(n=!0,cancelIdleCallback(i))}}};class D{constructor(e){this._didRun=!1,this._executor=()=>{try{this._value=e()}catch(e){this._error=e}finally{this._didRun=!0}},this._handle=n(()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}get isInitialized(){return this._didRun}}class x{constructor(){this.rejected=!1,this.resolved=!1,this.p=new Promise((e,t)=>{this.completeCallback=e,this.errorCallback=t})}get isRejected(){return this.rejected}get isSettled(){return this.rejected||this.resolved}complete(e){return new Promise(t=>{this.completeCallback(e),this.resolved=!0,t()})}cancel(){new Promise(e=>{this.errorCallback(new a.FU),this.rejected=!0,e()})}}(o=r||(r={})).settled=function(e){return u(this,void 0,void 0,function*(){let t;let i=yield Promise.all(e.map(e=>e.then(e=>e,e=>{t||(t=e)})));if(void 0!==t)throw t;return i})},o.withAsyncBody=function(e){return new Promise((t,i)=>u(this,void 0,void 0,function*(){try{yield e(t,i)}catch(e){i(e)}}))};class I{constructor(e){this._state=0,this._results=[],this._error=null,this._onStateChanged=new l.Q5,queueMicrotask(()=>u(this,void 0,void 0,function*(){let t={emitOne:e=>this.emitOne(e),emitMany:e=>this.emitMany(e),reject:e=>this.reject(e)};try{yield Promise.resolve(e(t)),this.resolve()}catch(e){this.reject(e)}finally{t.emitOne=void 0,t.emitMany=void 0,t.reject=void 0}}))}static fromArray(e){return new I(t=>{t.emitMany(e)})}static fromPromise(e){return new I(t=>u(this,void 0,void 0,function*(){t.emitMany((yield e))}))}static fromPromises(e){return new I(t=>u(this,void 0,void 0,function*(){yield Promise.all(e.map(e=>u(this,void 0,void 0,function*(){return t.emitOne((yield e))})))}))}static merge(e){return new I(t=>u(this,void 0,void 0,function*(){yield Promise.all(e.map(e=>{var i,n;return u(this,void 0,void 0,function*(){var o,r;try{for(i=c(e);!(n=yield i.next()).done;){let e=n.value;t.emitOne(e)}}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&(yield r.call(i))}finally{if(o)throw o.error}}})}))}))}[Symbol.asyncIterator](){let e=0;return{next:()=>u(this,void 0,void 0,function*(){for(;;){if(2===this._state)throw this._error;if(eu(this,void 0,void 0,function*(){var n,o;try{for(var r,s=c(e);!(r=yield s.next()).done;){let e=r.value;i.emitOne(t(e))}}catch(e){n={error:e}}finally{try{r&&!r.done&&(o=s.return)&&(yield o.call(s))}finally{if(n)throw n.error}}}))}map(e){return I.map(this,e)}static filter(e,t){return new I(i=>u(this,void 0,void 0,function*(){var n,o;try{for(var r,s=c(e);!(r=yield s.next()).done;){let e=r.value;t(e)&&i.emitOne(e)}}catch(e){n={error:e}}finally{try{r&&!r.done&&(o=s.return)&&(yield o.call(s))}finally{if(n)throw n.error}}}))}filter(e){return I.filter(this,e)}static coalesce(e){return I.filter(e,e=>!!e)}coalesce(){return I.coalesce(this)}static toPromise(e){var t,i,n,o;return u(this,void 0,void 0,function*(){let r=[];try{for(t=c(e);!(i=yield t.next()).done;){let e=i.value;r.push(e)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(n)throw n.error}}return r})}toPromise(){return I.toPromise(this)}emitOne(e){0===this._state&&(this._results.push(e),this._onStateChanged.fire())}emitMany(e){0===this._state&&(this._results=this._results.concat(e),this._onStateChanged.fire())}resolve(){0===this._state&&(this._state=1,this._onStateChanged.fire())}reject(e){0===this._state&&(this._state=2,this._error=e,this._onStateChanged.fire())}}I.EMPTY=I.fromArray([]);class E extends I{constructor(e,t){super(t),this._source=e}cancel(){this._source.cancel()}}function T(e){let t=new s.A,i=e(t.token);return new E(t,e=>u(this,void 0,void 0,function*(){var n,o;let r=t.token.onCancellationRequested(()=>{r.dispose(),t.dispose(),e.reject(new a.FU)});try{try{for(var s,l=c(i);!(s=yield l.next()).done;){let i=s.value;if(t.token.isCancellationRequested)return;e.emitOne(i)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(o=l.return)&&(yield o.call(l))}finally{if(n)throw n.error}}r.dispose(),t.dispose()}catch(i){r.dispose(),t.dispose(),e.reject(i)}}))}},53060:function(e,t,i){"use strict";let n;i.d(t,{Ag:function(){return h},Cg:function(){return c},KN:function(){return s},Q$:function(){return u},T4:function(){return d},mP:function(){return a},oq:function(){return l}});var o=i(48764).lW;let r=void 0!==o;class s{constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}static wrap(e){return r&&!o.isBuffer(e)&&(e=o.from(e.buffer,e.byteOffset,e.byteLength)),new s(e)}toString(){return r?this.buffer.toString():(n||(n=new TextDecoder),n.decode(this.buffer))}}function a(e,t){return e[t+0]<<0>>>0|e[t+1]<<8>>>0}function l(e,t,i){e[i+0]=255&t,t>>>=8,e[i+1]=255&t}function h(e,t){return 16777216*e[t]+65536*e[t+1]+256*e[t+2]+e[t+3]}function d(e,t,i){e[i+3]=t,t>>>=8,e[i+2]=t,t>>>=8,e[i+1]=t,t>>>=8,e[i]=t}function u(e,t){return e[t]}function c(e,t,i){e[i]=t}},701:function(e,t,i){"use strict";i.d(t,{b:function(){return o},t:function(){return n}});class n{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){let t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}class o{constructor(e){this.fn=e,this._map=new Map}get cachedValues(){return this._map}get(e){if(this._map.has(e))return this._map.get(e);let t=this.fn(e);return this._map.set(e,t),t}}},71050:function(e,t,i){"use strict";i.d(t,{A:function(){return l},T:function(){return o}});var n,o,r=i(4669);let s=Object.freeze(function(e,t){let i=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(i)}}});(n=o||(o={})).isCancellationToken=function(e){return e===n.None||e===n.Cancelled||e instanceof a||!!e&&"object"==typeof e&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},n.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.ju.None}),n.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:s});class a{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?s:(this._emitter||(this._emitter=new r.Q5),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class l{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new a),this._token}cancel(){this._token?this._token instanceof a&&this._token.cancel():this._token=o.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof a&&this._token.dispose():this._token=o.None}}},73046:function(e,t,i){"use strict";var n;function o(e){return e?e.replace(/\$\((.*?)\)/g,(e,t)=>` ${t} `).trim():""}i.d(t,{JL:function(){return o},dT:function(){return n},lA:function(){return r}});class r{constructor(e,t,i){this.id=e,this.definition=t,this.description=i,r._allCodicons.push(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}static getAll(){return r._allCodicons}}r._allCodicons=[],r.add=new r("add",{fontCharacter:"\\ea60"}),r.plus=new r("plus",r.add.definition),r.gistNew=new r("gist-new",r.add.definition),r.repoCreate=new r("repo-create",r.add.definition),r.lightbulb=new r("lightbulb",{fontCharacter:"\\ea61"}),r.lightBulb=new r("light-bulb",{fontCharacter:"\\ea61"}),r.repo=new r("repo",{fontCharacter:"\\ea62"}),r.repoDelete=new r("repo-delete",{fontCharacter:"\\ea62"}),r.gistFork=new r("gist-fork",{fontCharacter:"\\ea63"}),r.repoForked=new r("repo-forked",{fontCharacter:"\\ea63"}),r.gitPullRequest=new r("git-pull-request",{fontCharacter:"\\ea64"}),r.gitPullRequestAbandoned=new r("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),r.recordKeys=new r("record-keys",{fontCharacter:"\\ea65"}),r.keyboard=new r("keyboard",{fontCharacter:"\\ea65"}),r.tag=new r("tag",{fontCharacter:"\\ea66"}),r.tagAdd=new r("tag-add",{fontCharacter:"\\ea66"}),r.tagRemove=new r("tag-remove",{fontCharacter:"\\ea66"}),r.person=new r("person",{fontCharacter:"\\ea67"}),r.personFollow=new r("person-follow",{fontCharacter:"\\ea67"}),r.personOutline=new r("person-outline",{fontCharacter:"\\ea67"}),r.personFilled=new r("person-filled",{fontCharacter:"\\ea67"}),r.gitBranch=new r("git-branch",{fontCharacter:"\\ea68"}),r.gitBranchCreate=new r("git-branch-create",{fontCharacter:"\\ea68"}),r.gitBranchDelete=new r("git-branch-delete",{fontCharacter:"\\ea68"}),r.sourceControl=new r("source-control",{fontCharacter:"\\ea68"}),r.mirror=new r("mirror",{fontCharacter:"\\ea69"}),r.mirrorPublic=new r("mirror-public",{fontCharacter:"\\ea69"}),r.star=new r("star",{fontCharacter:"\\ea6a"}),r.starAdd=new r("star-add",{fontCharacter:"\\ea6a"}),r.starDelete=new r("star-delete",{fontCharacter:"\\ea6a"}),r.starEmpty=new r("star-empty",{fontCharacter:"\\ea6a"}),r.comment=new r("comment",{fontCharacter:"\\ea6b"}),r.commentAdd=new r("comment-add",{fontCharacter:"\\ea6b"}),r.alert=new r("alert",{fontCharacter:"\\ea6c"}),r.warning=new r("warning",{fontCharacter:"\\ea6c"}),r.search=new r("search",{fontCharacter:"\\ea6d"}),r.searchSave=new r("search-save",{fontCharacter:"\\ea6d"}),r.logOut=new r("log-out",{fontCharacter:"\\ea6e"}),r.signOut=new r("sign-out",{fontCharacter:"\\ea6e"}),r.logIn=new r("log-in",{fontCharacter:"\\ea6f"}),r.signIn=new r("sign-in",{fontCharacter:"\\ea6f"}),r.eye=new r("eye",{fontCharacter:"\\ea70"}),r.eyeUnwatch=new r("eye-unwatch",{fontCharacter:"\\ea70"}),r.eyeWatch=new r("eye-watch",{fontCharacter:"\\ea70"}),r.circleFilled=new r("circle-filled",{fontCharacter:"\\ea71"}),r.primitiveDot=new r("primitive-dot",{fontCharacter:"\\ea71"}),r.closeDirty=new r("close-dirty",{fontCharacter:"\\ea71"}),r.debugBreakpoint=new r("debug-breakpoint",{fontCharacter:"\\ea71"}),r.debugBreakpointDisabled=new r("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),r.debugHint=new r("debug-hint",{fontCharacter:"\\ea71"}),r.primitiveSquare=new r("primitive-square",{fontCharacter:"\\ea72"}),r.edit=new r("edit",{fontCharacter:"\\ea73"}),r.pencil=new r("pencil",{fontCharacter:"\\ea73"}),r.info=new r("info",{fontCharacter:"\\ea74"}),r.issueOpened=new r("issue-opened",{fontCharacter:"\\ea74"}),r.gistPrivate=new r("gist-private",{fontCharacter:"\\ea75"}),r.gitForkPrivate=new r("git-fork-private",{fontCharacter:"\\ea75"}),r.lock=new r("lock",{fontCharacter:"\\ea75"}),r.mirrorPrivate=new r("mirror-private",{fontCharacter:"\\ea75"}),r.close=new r("close",{fontCharacter:"\\ea76"}),r.removeClose=new r("remove-close",{fontCharacter:"\\ea76"}),r.x=new r("x",{fontCharacter:"\\ea76"}),r.repoSync=new r("repo-sync",{fontCharacter:"\\ea77"}),r.sync=new r("sync",{fontCharacter:"\\ea77"}),r.clone=new r("clone",{fontCharacter:"\\ea78"}),r.desktopDownload=new r("desktop-download",{fontCharacter:"\\ea78"}),r.beaker=new r("beaker",{fontCharacter:"\\ea79"}),r.microscope=new r("microscope",{fontCharacter:"\\ea79"}),r.vm=new r("vm",{fontCharacter:"\\ea7a"}),r.deviceDesktop=new r("device-desktop",{fontCharacter:"\\ea7a"}),r.file=new r("file",{fontCharacter:"\\ea7b"}),r.fileText=new r("file-text",{fontCharacter:"\\ea7b"}),r.more=new r("more",{fontCharacter:"\\ea7c"}),r.ellipsis=new r("ellipsis",{fontCharacter:"\\ea7c"}),r.kebabHorizontal=new r("kebab-horizontal",{fontCharacter:"\\ea7c"}),r.mailReply=new r("mail-reply",{fontCharacter:"\\ea7d"}),r.reply=new r("reply",{fontCharacter:"\\ea7d"}),r.organization=new r("organization",{fontCharacter:"\\ea7e"}),r.organizationFilled=new r("organization-filled",{fontCharacter:"\\ea7e"}),r.organizationOutline=new r("organization-outline",{fontCharacter:"\\ea7e"}),r.newFile=new r("new-file",{fontCharacter:"\\ea7f"}),r.fileAdd=new r("file-add",{fontCharacter:"\\ea7f"}),r.newFolder=new r("new-folder",{fontCharacter:"\\ea80"}),r.fileDirectoryCreate=new r("file-directory-create",{fontCharacter:"\\ea80"}),r.trash=new r("trash",{fontCharacter:"\\ea81"}),r.trashcan=new r("trashcan",{fontCharacter:"\\ea81"}),r.history=new r("history",{fontCharacter:"\\ea82"}),r.clock=new r("clock",{fontCharacter:"\\ea82"}),r.folder=new r("folder",{fontCharacter:"\\ea83"}),r.fileDirectory=new r("file-directory",{fontCharacter:"\\ea83"}),r.symbolFolder=new r("symbol-folder",{fontCharacter:"\\ea83"}),r.logoGithub=new r("logo-github",{fontCharacter:"\\ea84"}),r.markGithub=new r("mark-github",{fontCharacter:"\\ea84"}),r.github=new r("github",{fontCharacter:"\\ea84"}),r.terminal=new r("terminal",{fontCharacter:"\\ea85"}),r.console=new r("console",{fontCharacter:"\\ea85"}),r.repl=new r("repl",{fontCharacter:"\\ea85"}),r.zap=new r("zap",{fontCharacter:"\\ea86"}),r.symbolEvent=new r("symbol-event",{fontCharacter:"\\ea86"}),r.error=new r("error",{fontCharacter:"\\ea87"}),r.stop=new r("stop",{fontCharacter:"\\ea87"}),r.variable=new r("variable",{fontCharacter:"\\ea88"}),r.symbolVariable=new r("symbol-variable",{fontCharacter:"\\ea88"}),r.array=new r("array",{fontCharacter:"\\ea8a"}),r.symbolArray=new r("symbol-array",{fontCharacter:"\\ea8a"}),r.symbolModule=new r("symbol-module",{fontCharacter:"\\ea8b"}),r.symbolPackage=new r("symbol-package",{fontCharacter:"\\ea8b"}),r.symbolNamespace=new r("symbol-namespace",{fontCharacter:"\\ea8b"}),r.symbolObject=new r("symbol-object",{fontCharacter:"\\ea8b"}),r.symbolMethod=new r("symbol-method",{fontCharacter:"\\ea8c"}),r.symbolFunction=new r("symbol-function",{fontCharacter:"\\ea8c"}),r.symbolConstructor=new r("symbol-constructor",{fontCharacter:"\\ea8c"}),r.symbolBoolean=new r("symbol-boolean",{fontCharacter:"\\ea8f"}),r.symbolNull=new r("symbol-null",{fontCharacter:"\\ea8f"}),r.symbolNumeric=new r("symbol-numeric",{fontCharacter:"\\ea90"}),r.symbolNumber=new r("symbol-number",{fontCharacter:"\\ea90"}),r.symbolStructure=new r("symbol-structure",{fontCharacter:"\\ea91"}),r.symbolStruct=new r("symbol-struct",{fontCharacter:"\\ea91"}),r.symbolParameter=new r("symbol-parameter",{fontCharacter:"\\ea92"}),r.symbolTypeParameter=new r("symbol-type-parameter",{fontCharacter:"\\ea92"}),r.symbolKey=new r("symbol-key",{fontCharacter:"\\ea93"}),r.symbolText=new r("symbol-text",{fontCharacter:"\\ea93"}),r.symbolReference=new r("symbol-reference",{fontCharacter:"\\ea94"}),r.goToFile=new r("go-to-file",{fontCharacter:"\\ea94"}),r.symbolEnum=new r("symbol-enum",{fontCharacter:"\\ea95"}),r.symbolValue=new r("symbol-value",{fontCharacter:"\\ea95"}),r.symbolRuler=new r("symbol-ruler",{fontCharacter:"\\ea96"}),r.symbolUnit=new r("symbol-unit",{fontCharacter:"\\ea96"}),r.activateBreakpoints=new r("activate-breakpoints",{fontCharacter:"\\ea97"}),r.archive=new r("archive",{fontCharacter:"\\ea98"}),r.arrowBoth=new r("arrow-both",{fontCharacter:"\\ea99"}),r.arrowDown=new r("arrow-down",{fontCharacter:"\\ea9a"}),r.arrowLeft=new r("arrow-left",{fontCharacter:"\\ea9b"}),r.arrowRight=new r("arrow-right",{fontCharacter:"\\ea9c"}),r.arrowSmallDown=new r("arrow-small-down",{fontCharacter:"\\ea9d"}),r.arrowSmallLeft=new r("arrow-small-left",{fontCharacter:"\\ea9e"}),r.arrowSmallRight=new r("arrow-small-right",{fontCharacter:"\\ea9f"}),r.arrowSmallUp=new r("arrow-small-up",{fontCharacter:"\\eaa0"}),r.arrowUp=new r("arrow-up",{fontCharacter:"\\eaa1"}),r.bell=new r("bell",{fontCharacter:"\\eaa2"}),r.bold=new r("bold",{fontCharacter:"\\eaa3"}),r.book=new r("book",{fontCharacter:"\\eaa4"}),r.bookmark=new r("bookmark",{fontCharacter:"\\eaa5"}),r.debugBreakpointConditionalUnverified=new r("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),r.debugBreakpointConditional=new r("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),r.debugBreakpointConditionalDisabled=new r("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),r.debugBreakpointDataUnverified=new r("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),r.debugBreakpointData=new r("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),r.debugBreakpointDataDisabled=new r("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),r.debugBreakpointLogUnverified=new r("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),r.debugBreakpointLog=new r("debug-breakpoint-log",{fontCharacter:"\\eaab"}),r.debugBreakpointLogDisabled=new r("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),r.briefcase=new r("briefcase",{fontCharacter:"\\eaac"}),r.broadcast=new r("broadcast",{fontCharacter:"\\eaad"}),r.browser=new r("browser",{fontCharacter:"\\eaae"}),r.bug=new r("bug",{fontCharacter:"\\eaaf"}),r.calendar=new r("calendar",{fontCharacter:"\\eab0"}),r.caseSensitive=new r("case-sensitive",{fontCharacter:"\\eab1"}),r.check=new r("check",{fontCharacter:"\\eab2"}),r.checklist=new r("checklist",{fontCharacter:"\\eab3"}),r.chevronDown=new r("chevron-down",{fontCharacter:"\\eab4"}),r.dropDownButton=new r("drop-down-button",r.chevronDown.definition),r.chevronLeft=new r("chevron-left",{fontCharacter:"\\eab5"}),r.chevronRight=new r("chevron-right",{fontCharacter:"\\eab6"}),r.chevronUp=new r("chevron-up",{fontCharacter:"\\eab7"}),r.chromeClose=new r("chrome-close",{fontCharacter:"\\eab8"}),r.chromeMaximize=new r("chrome-maximize",{fontCharacter:"\\eab9"}),r.chromeMinimize=new r("chrome-minimize",{fontCharacter:"\\eaba"}),r.chromeRestore=new r("chrome-restore",{fontCharacter:"\\eabb"}),r.circleOutline=new r("circle-outline",{fontCharacter:"\\eabc"}),r.debugBreakpointUnverified=new r("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),r.circleSlash=new r("circle-slash",{fontCharacter:"\\eabd"}),r.circuitBoard=new r("circuit-board",{fontCharacter:"\\eabe"}),r.clearAll=new r("clear-all",{fontCharacter:"\\eabf"}),r.clippy=new r("clippy",{fontCharacter:"\\eac0"}),r.closeAll=new r("close-all",{fontCharacter:"\\eac1"}),r.cloudDownload=new r("cloud-download",{fontCharacter:"\\eac2"}),r.cloudUpload=new r("cloud-upload",{fontCharacter:"\\eac3"}),r.code=new r("code",{fontCharacter:"\\eac4"}),r.collapseAll=new r("collapse-all",{fontCharacter:"\\eac5"}),r.colorMode=new r("color-mode",{fontCharacter:"\\eac6"}),r.commentDiscussion=new r("comment-discussion",{fontCharacter:"\\eac7"}),r.compareChanges=new r("compare-changes",{fontCharacter:"\\eafd"}),r.creditCard=new r("credit-card",{fontCharacter:"\\eac9"}),r.dash=new r("dash",{fontCharacter:"\\eacc"}),r.dashboard=new r("dashboard",{fontCharacter:"\\eacd"}),r.database=new r("database",{fontCharacter:"\\eace"}),r.debugContinue=new r("debug-continue",{fontCharacter:"\\eacf"}),r.debugDisconnect=new r("debug-disconnect",{fontCharacter:"\\ead0"}),r.debugPause=new r("debug-pause",{fontCharacter:"\\ead1"}),r.debugRestart=new r("debug-restart",{fontCharacter:"\\ead2"}),r.debugStart=new r("debug-start",{fontCharacter:"\\ead3"}),r.debugStepInto=new r("debug-step-into",{fontCharacter:"\\ead4"}),r.debugStepOut=new r("debug-step-out",{fontCharacter:"\\ead5"}),r.debugStepOver=new r("debug-step-over",{fontCharacter:"\\ead6"}),r.debugStop=new r("debug-stop",{fontCharacter:"\\ead7"}),r.debug=new r("debug",{fontCharacter:"\\ead8"}),r.deviceCameraVideo=new r("device-camera-video",{fontCharacter:"\\ead9"}),r.deviceCamera=new r("device-camera",{fontCharacter:"\\eada"}),r.deviceMobile=new r("device-mobile",{fontCharacter:"\\eadb"}),r.diffAdded=new r("diff-added",{fontCharacter:"\\eadc"}),r.diffIgnored=new r("diff-ignored",{fontCharacter:"\\eadd"}),r.diffModified=new r("diff-modified",{fontCharacter:"\\eade"}),r.diffRemoved=new r("diff-removed",{fontCharacter:"\\eadf"}),r.diffRenamed=new r("diff-renamed",{fontCharacter:"\\eae0"}),r.diff=new r("diff",{fontCharacter:"\\eae1"}),r.discard=new r("discard",{fontCharacter:"\\eae2"}),r.editorLayout=new r("editor-layout",{fontCharacter:"\\eae3"}),r.emptyWindow=new r("empty-window",{fontCharacter:"\\eae4"}),r.exclude=new r("exclude",{fontCharacter:"\\eae5"}),r.extensions=new r("extensions",{fontCharacter:"\\eae6"}),r.eyeClosed=new r("eye-closed",{fontCharacter:"\\eae7"}),r.fileBinary=new r("file-binary",{fontCharacter:"\\eae8"}),r.fileCode=new r("file-code",{fontCharacter:"\\eae9"}),r.fileMedia=new r("file-media",{fontCharacter:"\\eaea"}),r.filePdf=new r("file-pdf",{fontCharacter:"\\eaeb"}),r.fileSubmodule=new r("file-submodule",{fontCharacter:"\\eaec"}),r.fileSymlinkDirectory=new r("file-symlink-directory",{fontCharacter:"\\eaed"}),r.fileSymlinkFile=new r("file-symlink-file",{fontCharacter:"\\eaee"}),r.fileZip=new r("file-zip",{fontCharacter:"\\eaef"}),r.files=new r("files",{fontCharacter:"\\eaf0"}),r.filter=new r("filter",{fontCharacter:"\\eaf1"}),r.flame=new r("flame",{fontCharacter:"\\eaf2"}),r.foldDown=new r("fold-down",{fontCharacter:"\\eaf3"}),r.foldUp=new r("fold-up",{fontCharacter:"\\eaf4"}),r.fold=new r("fold",{fontCharacter:"\\eaf5"}),r.folderActive=new r("folder-active",{fontCharacter:"\\eaf6"}),r.folderOpened=new r("folder-opened",{fontCharacter:"\\eaf7"}),r.gear=new r("gear",{fontCharacter:"\\eaf8"}),r.gift=new r("gift",{fontCharacter:"\\eaf9"}),r.gistSecret=new r("gist-secret",{fontCharacter:"\\eafa"}),r.gist=new r("gist",{fontCharacter:"\\eafb"}),r.gitCommit=new r("git-commit",{fontCharacter:"\\eafc"}),r.gitCompare=new r("git-compare",{fontCharacter:"\\eafd"}),r.gitMerge=new r("git-merge",{fontCharacter:"\\eafe"}),r.githubAction=new r("github-action",{fontCharacter:"\\eaff"}),r.githubAlt=new r("github-alt",{fontCharacter:"\\eb00"}),r.globe=new r("globe",{fontCharacter:"\\eb01"}),r.grabber=new r("grabber",{fontCharacter:"\\eb02"}),r.graph=new r("graph",{fontCharacter:"\\eb03"}),r.gripper=new r("gripper",{fontCharacter:"\\eb04"}),r.heart=new r("heart",{fontCharacter:"\\eb05"}),r.home=new r("home",{fontCharacter:"\\eb06"}),r.horizontalRule=new r("horizontal-rule",{fontCharacter:"\\eb07"}),r.hubot=new r("hubot",{fontCharacter:"\\eb08"}),r.inbox=new r("inbox",{fontCharacter:"\\eb09"}),r.issueClosed=new r("issue-closed",{fontCharacter:"\\eba4"}),r.issueReopened=new r("issue-reopened",{fontCharacter:"\\eb0b"}),r.issues=new r("issues",{fontCharacter:"\\eb0c"}),r.italic=new r("italic",{fontCharacter:"\\eb0d"}),r.jersey=new r("jersey",{fontCharacter:"\\eb0e"}),r.json=new r("json",{fontCharacter:"\\eb0f"}),r.kebabVertical=new r("kebab-vertical",{fontCharacter:"\\eb10"}),r.key=new r("key",{fontCharacter:"\\eb11"}),r.law=new r("law",{fontCharacter:"\\eb12"}),r.lightbulbAutofix=new r("lightbulb-autofix",{fontCharacter:"\\eb13"}),r.linkExternal=new r("link-external",{fontCharacter:"\\eb14"}),r.link=new r("link",{fontCharacter:"\\eb15"}),r.listOrdered=new r("list-ordered",{fontCharacter:"\\eb16"}),r.listUnordered=new r("list-unordered",{fontCharacter:"\\eb17"}),r.liveShare=new r("live-share",{fontCharacter:"\\eb18"}),r.loading=new r("loading",{fontCharacter:"\\eb19"}),r.location=new r("location",{fontCharacter:"\\eb1a"}),r.mailRead=new r("mail-read",{fontCharacter:"\\eb1b"}),r.mail=new r("mail",{fontCharacter:"\\eb1c"}),r.markdown=new r("markdown",{fontCharacter:"\\eb1d"}),r.megaphone=new r("megaphone",{fontCharacter:"\\eb1e"}),r.mention=new r("mention",{fontCharacter:"\\eb1f"}),r.milestone=new r("milestone",{fontCharacter:"\\eb20"}),r.mortarBoard=new r("mortar-board",{fontCharacter:"\\eb21"}),r.move=new r("move",{fontCharacter:"\\eb22"}),r.multipleWindows=new r("multiple-windows",{fontCharacter:"\\eb23"}),r.mute=new r("mute",{fontCharacter:"\\eb24"}),r.noNewline=new r("no-newline",{fontCharacter:"\\eb25"}),r.note=new r("note",{fontCharacter:"\\eb26"}),r.octoface=new r("octoface",{fontCharacter:"\\eb27"}),r.openPreview=new r("open-preview",{fontCharacter:"\\eb28"}),r.package_=new r("package",{fontCharacter:"\\eb29"}),r.paintcan=new r("paintcan",{fontCharacter:"\\eb2a"}),r.pin=new r("pin",{fontCharacter:"\\eb2b"}),r.play=new r("play",{fontCharacter:"\\eb2c"}),r.run=new r("run",{fontCharacter:"\\eb2c"}),r.plug=new r("plug",{fontCharacter:"\\eb2d"}),r.preserveCase=new r("preserve-case",{fontCharacter:"\\eb2e"}),r.preview=new r("preview",{fontCharacter:"\\eb2f"}),r.project=new r("project",{fontCharacter:"\\eb30"}),r.pulse=new r("pulse",{fontCharacter:"\\eb31"}),r.question=new r("question",{fontCharacter:"\\eb32"}),r.quote=new r("quote",{fontCharacter:"\\eb33"}),r.radioTower=new r("radio-tower",{fontCharacter:"\\eb34"}),r.reactions=new r("reactions",{fontCharacter:"\\eb35"}),r.references=new r("references",{fontCharacter:"\\eb36"}),r.refresh=new r("refresh",{fontCharacter:"\\eb37"}),r.regex=new r("regex",{fontCharacter:"\\eb38"}),r.remoteExplorer=new r("remote-explorer",{fontCharacter:"\\eb39"}),r.remote=new r("remote",{fontCharacter:"\\eb3a"}),r.remove=new r("remove",{fontCharacter:"\\eb3b"}),r.replaceAll=new r("replace-all",{fontCharacter:"\\eb3c"}),r.replace=new r("replace",{fontCharacter:"\\eb3d"}),r.repoClone=new r("repo-clone",{fontCharacter:"\\eb3e"}),r.repoForcePush=new r("repo-force-push",{fontCharacter:"\\eb3f"}),r.repoPull=new r("repo-pull",{fontCharacter:"\\eb40"}),r.repoPush=new r("repo-push",{fontCharacter:"\\eb41"}),r.report=new r("report",{fontCharacter:"\\eb42"}),r.requestChanges=new r("request-changes",{fontCharacter:"\\eb43"}),r.rocket=new r("rocket",{fontCharacter:"\\eb44"}),r.rootFolderOpened=new r("root-folder-opened",{fontCharacter:"\\eb45"}),r.rootFolder=new r("root-folder",{fontCharacter:"\\eb46"}),r.rss=new r("rss",{fontCharacter:"\\eb47"}),r.ruby=new r("ruby",{fontCharacter:"\\eb48"}),r.saveAll=new r("save-all",{fontCharacter:"\\eb49"}),r.saveAs=new r("save-as",{fontCharacter:"\\eb4a"}),r.save=new r("save",{fontCharacter:"\\eb4b"}),r.screenFull=new r("screen-full",{fontCharacter:"\\eb4c"}),r.screenNormal=new r("screen-normal",{fontCharacter:"\\eb4d"}),r.searchStop=new r("search-stop",{fontCharacter:"\\eb4e"}),r.server=new r("server",{fontCharacter:"\\eb50"}),r.settingsGear=new r("settings-gear",{fontCharacter:"\\eb51"}),r.settings=new r("settings",{fontCharacter:"\\eb52"}),r.shield=new r("shield",{fontCharacter:"\\eb53"}),r.smiley=new r("smiley",{fontCharacter:"\\eb54"}),r.sortPrecedence=new r("sort-precedence",{fontCharacter:"\\eb55"}),r.splitHorizontal=new r("split-horizontal",{fontCharacter:"\\eb56"}),r.splitVertical=new r("split-vertical",{fontCharacter:"\\eb57"}),r.squirrel=new r("squirrel",{fontCharacter:"\\eb58"}),r.starFull=new r("star-full",{fontCharacter:"\\eb59"}),r.starHalf=new r("star-half",{fontCharacter:"\\eb5a"}),r.symbolClass=new r("symbol-class",{fontCharacter:"\\eb5b"}),r.symbolColor=new r("symbol-color",{fontCharacter:"\\eb5c"}),r.symbolCustomColor=new r("symbol-customcolor",{fontCharacter:"\\eb5c"}),r.symbolConstant=new r("symbol-constant",{fontCharacter:"\\eb5d"}),r.symbolEnumMember=new r("symbol-enum-member",{fontCharacter:"\\eb5e"}),r.symbolField=new r("symbol-field",{fontCharacter:"\\eb5f"}),r.symbolFile=new r("symbol-file",{fontCharacter:"\\eb60"}),r.symbolInterface=new r("symbol-interface",{fontCharacter:"\\eb61"}),r.symbolKeyword=new r("symbol-keyword",{fontCharacter:"\\eb62"}),r.symbolMisc=new r("symbol-misc",{fontCharacter:"\\eb63"}),r.symbolOperator=new r("symbol-operator",{fontCharacter:"\\eb64"}),r.symbolProperty=new r("symbol-property",{fontCharacter:"\\eb65"}),r.wrench=new r("wrench",{fontCharacter:"\\eb65"}),r.wrenchSubaction=new r("wrench-subaction",{fontCharacter:"\\eb65"}),r.symbolSnippet=new r("symbol-snippet",{fontCharacter:"\\eb66"}),r.tasklist=new r("tasklist",{fontCharacter:"\\eb67"}),r.telescope=new r("telescope",{fontCharacter:"\\eb68"}),r.textSize=new r("text-size",{fontCharacter:"\\eb69"}),r.threeBars=new r("three-bars",{fontCharacter:"\\eb6a"}),r.thumbsdown=new r("thumbsdown",{fontCharacter:"\\eb6b"}),r.thumbsup=new r("thumbsup",{fontCharacter:"\\eb6c"}),r.tools=new r("tools",{fontCharacter:"\\eb6d"}),r.triangleDown=new r("triangle-down",{fontCharacter:"\\eb6e"}),r.triangleLeft=new r("triangle-left",{fontCharacter:"\\eb6f"}),r.triangleRight=new r("triangle-right",{fontCharacter:"\\eb70"}),r.triangleUp=new r("triangle-up",{fontCharacter:"\\eb71"}),r.twitter=new r("twitter",{fontCharacter:"\\eb72"}),r.unfold=new r("unfold",{fontCharacter:"\\eb73"}),r.unlock=new r("unlock",{fontCharacter:"\\eb74"}),r.unmute=new r("unmute",{fontCharacter:"\\eb75"}),r.unverified=new r("unverified",{fontCharacter:"\\eb76"}),r.verified=new r("verified",{fontCharacter:"\\eb77"}),r.versions=new r("versions",{fontCharacter:"\\eb78"}),r.vmActive=new r("vm-active",{fontCharacter:"\\eb79"}),r.vmOutline=new r("vm-outline",{fontCharacter:"\\eb7a"}),r.vmRunning=new r("vm-running",{fontCharacter:"\\eb7b"}),r.watch=new r("watch",{fontCharacter:"\\eb7c"}),r.whitespace=new r("whitespace",{fontCharacter:"\\eb7d"}),r.wholeWord=new r("whole-word",{fontCharacter:"\\eb7e"}),r.window=new r("window",{fontCharacter:"\\eb7f"}),r.wordWrap=new r("word-wrap",{fontCharacter:"\\eb80"}),r.zoomIn=new r("zoom-in",{fontCharacter:"\\eb81"}),r.zoomOut=new r("zoom-out",{fontCharacter:"\\eb82"}),r.listFilter=new r("list-filter",{fontCharacter:"\\eb83"}),r.listFlat=new r("list-flat",{fontCharacter:"\\eb84"}),r.listSelection=new r("list-selection",{fontCharacter:"\\eb85"}),r.selection=new r("selection",{fontCharacter:"\\eb85"}),r.listTree=new r("list-tree",{fontCharacter:"\\eb86"}),r.debugBreakpointFunctionUnverified=new r("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),r.debugBreakpointFunction=new r("debug-breakpoint-function",{fontCharacter:"\\eb88"}),r.debugBreakpointFunctionDisabled=new r("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),r.debugStackframeActive=new r("debug-stackframe-active",{fontCharacter:"\\eb89"}),r.circleSmallFilled=new r("circle-small-filled",{fontCharacter:"\\eb8a"}),r.debugStackframeDot=new r("debug-stackframe-dot",r.circleSmallFilled.definition),r.debugStackframe=new r("debug-stackframe",{fontCharacter:"\\eb8b"}),r.debugStackframeFocused=new r("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),r.debugBreakpointUnsupported=new r("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),r.symbolString=new r("symbol-string",{fontCharacter:"\\eb8d"}),r.debugReverseContinue=new r("debug-reverse-continue",{fontCharacter:"\\eb8e"}),r.debugStepBack=new r("debug-step-back",{fontCharacter:"\\eb8f"}),r.debugRestartFrame=new r("debug-restart-frame",{fontCharacter:"\\eb90"}),r.callIncoming=new r("call-incoming",{fontCharacter:"\\eb92"}),r.callOutgoing=new r("call-outgoing",{fontCharacter:"\\eb93"}),r.menu=new r("menu",{fontCharacter:"\\eb94"}),r.expandAll=new r("expand-all",{fontCharacter:"\\eb95"}),r.feedback=new r("feedback",{fontCharacter:"\\eb96"}),r.groupByRefType=new r("group-by-ref-type",{fontCharacter:"\\eb97"}),r.ungroupByRefType=new r("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),r.account=new r("account",{fontCharacter:"\\eb99"}),r.bellDot=new r("bell-dot",{fontCharacter:"\\eb9a"}),r.debugConsole=new r("debug-console",{fontCharacter:"\\eb9b"}),r.library=new r("library",{fontCharacter:"\\eb9c"}),r.output=new r("output",{fontCharacter:"\\eb9d"}),r.runAll=new r("run-all",{fontCharacter:"\\eb9e"}),r.syncIgnored=new r("sync-ignored",{fontCharacter:"\\eb9f"}),r.pinned=new r("pinned",{fontCharacter:"\\eba0"}),r.githubInverted=new r("github-inverted",{fontCharacter:"\\eba1"}),r.debugAlt=new r("debug-alt",{fontCharacter:"\\eb91"}),r.serverProcess=new r("server-process",{fontCharacter:"\\eba2"}),r.serverEnvironment=new r("server-environment",{fontCharacter:"\\eba3"}),r.pass=new r("pass",{fontCharacter:"\\eba4"}),r.stopCircle=new r("stop-circle",{fontCharacter:"\\eba5"}),r.playCircle=new r("play-circle",{fontCharacter:"\\eba6"}),r.record=new r("record",{fontCharacter:"\\eba7"}),r.debugAltSmall=new r("debug-alt-small",{fontCharacter:"\\eba8"}),r.vmConnect=new r("vm-connect",{fontCharacter:"\\eba9"}),r.cloud=new r("cloud",{fontCharacter:"\\ebaa"}),r.merge=new r("merge",{fontCharacter:"\\ebab"}),r.exportIcon=new r("export",{fontCharacter:"\\ebac"}),r.graphLeft=new r("graph-left",{fontCharacter:"\\ebad"}),r.magnet=new r("magnet",{fontCharacter:"\\ebae"}),r.notebook=new r("notebook",{fontCharacter:"\\ebaf"}),r.redo=new r("redo",{fontCharacter:"\\ebb0"}),r.checkAll=new r("check-all",{fontCharacter:"\\ebb1"}),r.pinnedDirty=new r("pinned-dirty",{fontCharacter:"\\ebb2"}),r.passFilled=new r("pass-filled",{fontCharacter:"\\ebb3"}),r.circleLargeFilled=new r("circle-large-filled",{fontCharacter:"\\ebb4"}),r.circleLargeOutline=new r("circle-large-outline",{fontCharacter:"\\ebb5"}),r.combine=new r("combine",{fontCharacter:"\\ebb6"}),r.gather=new r("gather",{fontCharacter:"\\ebb6"}),r.table=new r("table",{fontCharacter:"\\ebb7"}),r.variableGroup=new r("variable-group",{fontCharacter:"\\ebb8"}),r.typeHierarchy=new r("type-hierarchy",{fontCharacter:"\\ebb9"}),r.typeHierarchySub=new r("type-hierarchy-sub",{fontCharacter:"\\ebba"}),r.typeHierarchySuper=new r("type-hierarchy-super",{fontCharacter:"\\ebbb"}),r.gitPullRequestCreate=new r("git-pull-request-create",{fontCharacter:"\\ebbc"}),r.runAbove=new r("run-above",{fontCharacter:"\\ebbd"}),r.runBelow=new r("run-below",{fontCharacter:"\\ebbe"}),r.notebookTemplate=new r("notebook-template",{fontCharacter:"\\ebbf"}),r.debugRerun=new r("debug-rerun",{fontCharacter:"\\ebc0"}),r.workspaceTrusted=new r("workspace-trusted",{fontCharacter:"\\ebc1"}),r.workspaceUntrusted=new r("workspace-untrusted",{fontCharacter:"\\ebc2"}),r.workspaceUnspecified=new r("workspace-unspecified",{fontCharacter:"\\ebc3"}),r.terminalCmd=new r("terminal-cmd",{fontCharacter:"\\ebc4"}),r.terminalDebian=new r("terminal-debian",{fontCharacter:"\\ebc5"}),r.terminalLinux=new r("terminal-linux",{fontCharacter:"\\ebc6"}),r.terminalPowershell=new r("terminal-powershell",{fontCharacter:"\\ebc7"}),r.terminalTmux=new r("terminal-tmux",{fontCharacter:"\\ebc8"}),r.terminalUbuntu=new r("terminal-ubuntu",{fontCharacter:"\\ebc9"}),r.terminalBash=new r("terminal-bash",{fontCharacter:"\\ebca"}),r.arrowSwap=new r("arrow-swap",{fontCharacter:"\\ebcb"}),r.copy=new r("copy",{fontCharacter:"\\ebcc"}),r.personAdd=new r("person-add",{fontCharacter:"\\ebcd"}),r.filterFilled=new r("filter-filled",{fontCharacter:"\\ebce"}),r.wand=new r("wand",{fontCharacter:"\\ebcf"}),r.debugLineByLine=new r("debug-line-by-line",{fontCharacter:"\\ebd0"}),r.inspect=new r("inspect",{fontCharacter:"\\ebd1"}),r.layers=new r("layers",{fontCharacter:"\\ebd2"}),r.layersDot=new r("layers-dot",{fontCharacter:"\\ebd3"}),r.layersActive=new r("layers-active",{fontCharacter:"\\ebd4"}),r.compass=new r("compass",{fontCharacter:"\\ebd5"}),r.compassDot=new r("compass-dot",{fontCharacter:"\\ebd6"}),r.compassActive=new r("compass-active",{fontCharacter:"\\ebd7"}),r.azure=new r("azure",{fontCharacter:"\\ebd8"}),r.issueDraft=new r("issue-draft",{fontCharacter:"\\ebd9"}),r.gitPullRequestClosed=new r("git-pull-request-closed",{fontCharacter:"\\ebda"}),r.gitPullRequestDraft=new r("git-pull-request-draft",{fontCharacter:"\\ebdb"}),r.debugAll=new r("debug-all",{fontCharacter:"\\ebdc"}),r.debugCoverage=new r("debug-coverage",{fontCharacter:"\\ebdd"}),r.runErrors=new r("run-errors",{fontCharacter:"\\ebde"}),r.folderLibrary=new r("folder-library",{fontCharacter:"\\ebdf"}),r.debugContinueSmall=new r("debug-continue-small",{fontCharacter:"\\ebe0"}),r.beakerStop=new r("beaker-stop",{fontCharacter:"\\ebe1"}),r.graphLine=new r("graph-line",{fontCharacter:"\\ebe2"}),r.graphScatter=new r("graph-scatter",{fontCharacter:"\\ebe3"}),r.pieChart=new r("pie-chart",{fontCharacter:"\\ebe4"}),r.bracket=new r("bracket",r.json.definition),r.bracketDot=new r("bracket-dot",{fontCharacter:"\\ebe5"}),r.bracketError=new r("bracket-error",{fontCharacter:"\\ebe6"}),r.lockSmall=new r("lock-small",{fontCharacter:"\\ebe7"}),r.azureDevops=new r("azure-devops",{fontCharacter:"\\ebe8"}),r.verifiedFilled=new r("verified-filled",{fontCharacter:"\\ebe9"}),r.newLine=new r("newline",{fontCharacter:"\\ebea"}),r.layout=new r("layout",{fontCharacter:"\\ebeb"}),r.layoutActivitybarLeft=new r("layout-activitybar-left",{fontCharacter:"\\ebec"}),r.layoutActivitybarRight=new r("layout-activitybar-right",{fontCharacter:"\\ebed"}),r.layoutPanelLeft=new r("layout-panel-left",{fontCharacter:"\\ebee"}),r.layoutPanelCenter=new r("layout-panel-center",{fontCharacter:"\\ebef"}),r.layoutPanelJustify=new r("layout-panel-justify",{fontCharacter:"\\ebf0"}),r.layoutPanelRight=new r("layout-panel-right",{fontCharacter:"\\ebf1"}),r.layoutPanel=new r("layout-panel",{fontCharacter:"\\ebf2"}),r.layoutSidebarLeft=new r("layout-sidebar-left",{fontCharacter:"\\ebf3"}),r.layoutSidebarRight=new r("layout-sidebar-right",{fontCharacter:"\\ebf4"}),r.layoutStatusbar=new r("layout-statusbar",{fontCharacter:"\\ebf5"}),r.layoutMenubar=new r("layout-menubar",{fontCharacter:"\\ebf6"}),r.layoutCentered=new r("layout-centered",{fontCharacter:"\\ebf7"}),r.layoutSidebarRightOff=new r("layout-sidebar-right-off",{fontCharacter:"\\ec00"}),r.layoutPanelOff=new r("layout-panel-off",{fontCharacter:"\\ec01"}),r.layoutSidebarLeftOff=new r("layout-sidebar-left-off",{fontCharacter:"\\ec02"}),r.target=new r("target",{fontCharacter:"\\ebf8"}),r.indent=new r("indent",{fontCharacter:"\\ebf9"}),r.recordSmall=new r("record-small",{fontCharacter:"\\ebfa"}),r.errorSmall=new r("error-small",{fontCharacter:"\\ebfb"}),r.arrowCircleDown=new r("arrow-circle-down",{fontCharacter:"\\ebfc"}),r.arrowCircleLeft=new r("arrow-circle-left",{fontCharacter:"\\ebfd"}),r.arrowCircleRight=new r("arrow-circle-right",{fontCharacter:"\\ebfe"}),r.arrowCircleUp=new r("arrow-circle-up",{fontCharacter:"\\ebff"}),r.heartFilled=new r("heart-filled",{fontCharacter:"\\ec04"}),r.map=new r("map",{fontCharacter:"\\ec05"}),r.mapFilled=new r("map-filled",{fontCharacter:"\\ec06"}),r.circleSmall=new r("circle-small",{fontCharacter:"\\ec07"}),r.bellSlash=new r("bell-slash",{fontCharacter:"\\ec08"}),r.bellSlashDot=new r("bell-slash-dot",{fontCharacter:"\\ec09"}),r.commentUnresolved=new r("comment-unresolved",{fontCharacter:"\\ec0a"}),r.gitPullRequestGoToChanges=new r("git-pull-request-go-to-changes",{fontCharacter:"\\ec0b"}),r.gitPullRequestNewChanges=new r("git-pull-request-new-changes",{fontCharacter:"\\ec0c"}),r.dialogError=new r("dialog-error",r.error.definition),r.dialogWarning=new r("dialog-warning",r.warning.definition),r.dialogInfo=new r("dialog-info",r.info.definition),r.dialogClose=new r("dialog-close",r.close.definition),r.treeItemExpanded=new r("tree-item-expanded",r.chevronDown.definition),r.treeFilterOnTypeOn=new r("tree-filter-on-type-on",r.listFilter.definition),r.treeFilterOnTypeOff=new r("tree-filter-on-type-off",r.listSelection.definition),r.treeFilterClear=new r("tree-filter-clear",r.close.definition),r.treeItemLoading=new r("tree-item-loading",r.loading.definition),r.menuSelection=new r("menu-selection",r.check.definition),r.menuSubmenu=new r("menu-submenu",r.chevronRight.definition),r.menuBarMore=new r("menubar-more",r.more.definition),r.scrollbarButtonLeft=new r("scrollbar-button-left",r.triangleLeft.definition),r.scrollbarButtonRight=new r("scrollbar-button-right",r.triangleRight.definition),r.scrollbarButtonUp=new r("scrollbar-button-up",r.triangleUp.definition),r.scrollbarButtonDown=new r("scrollbar-button-down",r.triangleDown.definition),r.toolBarMore=new r("toolbar-more",r.more.definition),r.quickInputBack=new r("quick-input-back",r.arrowLeft.definition),function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9-]+",e.iconModifierExpression="~[A-Za-z]+",e.iconNameCharacter="[A-Za-z0-9~-]";let t=RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function i(e){if(e instanceof r)return["codicon","codicon-"+e.id];let n=t.exec(e.id);if(!n)return i(r.error);let[,o,s]=n,a=["codicon","codicon-"+o];return s&&a.push("codicon-modifier-"+s.substr(1)),a}e.asClassNameArray=i,e.asClassName=function(e){return i(e).join(" ")},e.asCSSSelector=function(e){return"."+i(e).join(".")}}(n||(n={}))},41264:function(e,t,i){"use strict";var n,o;function r(e,t){let i=Math.pow(10,t);return Math.round(e*i)/i}i.d(t,{Il:function(){return h},VS:function(){return s},tx:function(){return l}});class s{constructor(e,t,i,n=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,i)),this.a=r(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class a{constructor(e,t,i,n){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=r(Math.max(Math.min(1,t),0),3),this.l=r(Math.max(Math.min(1,i),0),3),this.a=r(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){let t=e.r/255,i=e.g/255,n=e.b/255,o=e.a,r=Math.max(t,i,n),s=Math.min(t,i,n),l=0,h=0,d=(s+r)/2,u=r-s;if(u>0){switch(h=Math.min(d<=.5?u/(2*d):u/(2-2*d),1),r){case t:l=(i-n)/u+(i1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}static toRGBA(e){let t,i,n;let o=e.h/360,{s:r,l,a:h}=e;if(0===r)t=i=n=l;else{let e=l<.5?l*(1+r):l+r-l*r,s=2*l-e;t=a._hue2rgb(s,e,o+1/3),i=a._hue2rgb(s,e,o),n=a._hue2rgb(s,e,o-1/3)}return new s(Math.round(255*t),Math.round(255*i),Math.round(255*n),h)}}class l{constructor(e,t,i,n){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=r(Math.max(Math.min(1,t),0),3),this.v=r(Math.max(Math.min(1,i),0),3),this.a=r(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){let t;let i=e.r/255,n=e.g/255,o=e.b/255,r=Math.max(i,n,o),s=Math.min(i,n,o),a=r-s,h=0===r?0:a/r;return t=0===a?0:r===i?((n-o)/a%6+6)%6:r===n?(o-i)/a+2:(i-n)/a+4,new l(Math.round(60*t),h,r,e.a)}static toRGBA(e){let{h:t,s:i,v:n,a:o}=e,r=n*i,a=r*(1-Math.abs(t/60%2-1)),l=n-r,[h,d,u]=[0,0,0];return t<60?(h=r,d=a):t<120?(h=a,d=r):t<180?(d=r,u=a):t<240?(d=a,u=r):t<300?(h=a,u=r):t<=360&&(h=r,u=a),h=Math.round((h+l)*255),d=Math.round((d+l)*255),u=Math.round((u+l)*255),new s(h,d,u,o)}}class h{constructor(e){if(e){if(e instanceof s)this.rgba=e;else if(e instanceof a)this._hsla=e,this.rgba=a.toRGBA(e);else if(e instanceof l)this._hsva=e,this.rgba=l.toRGBA(e);else throw Error("Invalid color ctor argument")}else throw Error("Color needs a value")}static fromHex(e){return h.Format.CSS.parseHex(e)||h.red}get hsla(){return this._hsla?this._hsla:a.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:l.fromRGBA(this.rgba)}equals(e){return!!e&&s.equals(this.rgba,e.rgba)&&a.equals(this.hsla,e.hsla)&&l.equals(this.hsva,e.hsva)}getRelativeLuminance(){let e=h._relativeLuminanceForComponent(this.rgba.r),t=h._relativeLuminanceForComponent(this.rgba.g),i=h._relativeLuminanceForComponent(this.rgba.b);return r(.2126*e+.7152*t+.0722*i,4)}static _relativeLuminanceForComponent(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){let e=(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3;return e>=128}isLighterThan(e){let t=this.getRelativeLuminance(),i=e.getRelativeLuminance();return t>i}isDarkerThan(e){let t=this.getRelativeLuminance(),i=e.getRelativeLuminance();return tn(this,void 0,void 0,function*(){return e}),asFile:()=>void 0,value:"string"==typeof e?e:void 0}}function r(e,t,i){return{asString:()=>n(this,void 0,void 0,function*(){return""}),asFile:()=>({name:e,uri:t,data:i}),value:void 0}}class s{constructor(){this._entries=new Map}get size(){return this._entries.size}has(e){return this._entries.has(this.toKey(e))}get(e){var t;return null===(t=this._entries.get(this.toKey(e)))||void 0===t?void 0:t[0]}append(e,t){let i=this._entries.get(e);i?i.push(t):this._entries.set(this.toKey(e),[t])}replace(e,t){this._entries.set(this.toKey(e),[t])}delete(e){this._entries.delete(this.toKey(e))}*entries(){for(let[e,t]of this._entries.entries())for(let i of t)yield[e,i]}values(){return Array.from(this._entries.values()).flat()}forEach(e){for(let[t,i]of this.entries())e(i,t)}toKey(e){return e.toLowerCase()}}},49898:function(e,t,i){"use strict";function n(e,t,i){let n=null,o=null;if("function"==typeof i.value?(n="value",0!==(o=i.value).length&&console.warn("Memoize should only be used in functions with zero parameters")):"function"==typeof i.get&&(n="get",o=i.get),!o)throw Error("not supported");let r=`$memoize$${t}`;i[n]=function(...e){return this.hasOwnProperty(r)||Object.defineProperty(this,r,{configurable:!1,enumerable:!1,writable:!1,value:o.apply(this,e)}),this[r]}}i.d(t,{H:function(){return n}})},22571:function(e,t,i){"use strict";i.d(t,{Hs:function(){return d},a$:function(){return s}});class n{constructor(e,t,i,n){this.originalStart=e,this.originalLength=t,this.modifiedStart=i,this.modifiedLength=n}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var o=i(89954);class r{constructor(e){this.source=e}getElements(){let e=this.source,t=new Int32Array(e.length);for(let i=0,n=e.length;i0||this.m_modifiedCount>0)&&this.m_changes.push(new n(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class d{constructor(e,t,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=e,this._modifiedSequence=t;let[n,o,r]=d._getElements(e),[s,a,l]=d._getElements(t);this._hasStrings=r&&l,this._originalStringElements=n,this._originalElementsOrHash=o,this._modifiedStringElements=s,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){let t=e.getElements();if(d._isStringArray(t)){let e=new Int32Array(t.length);for(let i=0,n=t.length;i=e&&o>=i&&this.ElementsAreEqual(t,o);)t--,o--;if(e>t||i>o){let r;return i<=o?(a.Assert(e===t+1,"originalStart should only be one more than originalEnd"),r=[new n(e,0,i,o-i+1)]):e<=t?(a.Assert(i===o+1,"modifiedStart should only be one more than modifiedEnd"),r=[new n(e,t-e+1,i,0)]):(a.Assert(e===t+1,"originalStart should only be one more than originalEnd"),a.Assert(i===o+1,"modifiedStart should only be one more than modifiedEnd"),r=[]),r}let s=[0],l=[0],h=this.ComputeRecursionPoint(e,t,i,o,s,l,r),d=s[0],u=l[0];if(null!==h)return h;if(!r[0]){let s=this.ComputeDiffRecursive(e,d,i,u,r),a=[];return a=r[0]?[new n(d+1,t-(d+1)+1,u+1,o-(u+1)+1)]:this.ComputeDiffRecursive(d+1,t,u+1,o,r),this.ConcatenateChanges(s,a)}return[new n(e,t-e+1,i,o-i+1)]}WALKTRACE(e,t,i,o,r,s,a,l,d,u,c,g,p,m,f,_,v,C){let b=null,w=null,y=new h,S=t,L=i,k=p[0]-_[0]-o,N=-1073741824,D=this.m_forwardHistory.length-1;do{let t=k+e;t===S||t=0&&(e=(d=this.m_forwardHistory[D])[0],S=1,L=d.length-1)}while(--D>=-1);if(b=y.getReverseChanges(),C[0]){let e=p[0]+1,t=_[0]+1;if(null!==b&&b.length>0){let i=b[b.length-1];e=Math.max(e,i.getOriginalEnd()),t=Math.max(t,i.getModifiedEnd())}w=[new n(e,g-e+1,t,f-t+1)]}else{y=new h,S=s,L=a,k=p[0]-_[0]-l,N=1073741824,D=v?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let e=k+r;e===S||e=u[e+1]?(m=(c=u[e+1]-1)-k-l,c>N&&y.MarkNextChange(),N=c+1,y.AddOriginalElement(c+1,m+1),k=e+1-r):(m=(c=u[e-1])-k-l,c>N&&y.MarkNextChange(),N=c,y.AddModifiedElement(c+1,m+1),k=e-1-r),D>=0&&(r=(u=this.m_reverseHistory[D])[0],S=1,L=u.length-1)}while(--D>=-1);w=y.getChanges()}return this.ConcatenateChanges(b,w)}ComputeRecursionPoint(e,t,i,o,r,s,a){let h=0,d=0,u=0,c=0,g=0,p=0;e--,i--,r[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let m=t-e+(o-i),f=m+1,_=new Int32Array(f),v=new Int32Array(f),C=o-i,b=t-e,w=e-i,y=t-o,S=b-C,L=S%2==0;_[C]=e,v[b]=t,a[0]=!1;for(let S=1;S<=m/2+1;S++){let m=0,k=0;u=this.ClipDiagonalBound(C-S,S,C,f),c=this.ClipDiagonalBound(C+S,S,C,f);for(let e=u;e<=c;e+=2){d=(h=e===u||em+k&&(m=h,k=d),!L&&Math.abs(e-b)<=S-1&&h>=v[e]){if(r[0]=h,s[0]=d,i<=v[e]&&S<=1448)return this.WALKTRACE(C,u,c,w,b,g,p,y,_,v,h,t,r,d,o,s,L,a);return null}}let N=(m-e+(k-i)-S)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(m,N)){if(a[0]=!0,r[0]=m,s[0]=k,!(N>0)||!(S<=1448))return e++,i++,[new n(e,t-e+1,i,o-i+1)];break}g=this.ClipDiagonalBound(b-S,S,b,f),p=this.ClipDiagonalBound(b+S,S,b,f);for(let n=g;n<=p;n+=2){d=(h=n===g||n=v[n+1]?v[n+1]-1:v[n-1])-(n-b)-y;let l=h;for(;h>e&&d>i&&this.ElementsAreEqual(h,d);)h--,d--;if(v[n]=h,L&&Math.abs(n-C)<=S&&h<=_[n]){if(r[0]=h,s[0]=d,l>=_[n]&&S<=1448)return this.WALKTRACE(C,u,c,w,b,g,p,y,_,v,h,t,r,d,o,s,L,a);return null}}if(S<=1447){let e=new Int32Array(c-u+2);e[0]=C-u+1,l.Copy2(_,u,e,1,c-u+1),this.m_forwardHistory.push(e),(e=new Int32Array(p-g+2))[0]=b-g+1,l.Copy2(v,g,e,1,p-g+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(C,u,c,w,b,g,p,y,_,v,h,t,r,d,o,s,L,a)}PrettifyChanges(e){for(let t=0;t0,s=i.modifiedLength>0;for(;i.originalStart+i.originalLength=0;t--){let i=e[t],n=0,o=0;if(t>0){let i=e[t-1];n=i.originalStart+i.originalLength,o=i.modifiedStart+i.modifiedLength}let r=i.originalLength>0,s=i.modifiedLength>0,a=0,l=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let e=1;;e++){let t=i.originalStart-e,h=i.modifiedStart-e;if(tl&&(l=u,a=e)}i.originalStart-=a,i.modifiedStart-=a;let h=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],h)){e[t-1]=h[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,i=e.length;t0&&i>a&&(a=i,l=t,h=e)}return a>0?[l,h]:null}_contiguousSequenceScore(e,t,i){let n=0;for(let o=0;o=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){let i=e+t;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){let i=e+t;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(e,t,i,n){let o=this._OriginalRegionIsBoundary(e,t)?1:0,r=this._ModifiedRegionIsBoundary(i,n)?1:0;return o+r}ConcatenateChanges(e,t){let i=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],i)){let n=Array(e.length+t.length-1);return l.Copy(e,0,n,0,e.length-1),n[e.length-1]=i[0],l.Copy(t,1,n,e.length,t.length-1),n}{let i=Array(e.length+t.length);return l.Copy(e,0,i,0,e.length),l.Copy(t,0,i,e.length,t.length),i}}ChangesOverlap(e,t,i){if(a.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),a.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),!(e.originalStart+e.originalLength>=t.originalStart)&&!(e.modifiedStart+e.modifiedLength>=t.modifiedStart))return i[0]=null,!1;{let o=e.originalStart,r=e.originalLength,s=e.modifiedStart,a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(r=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),i[0]=new n(o,r,s,a),!0}}ClipDiagonalBound(e,t,i,n){if(e>=0&&e{if(e.stack){if(p.isErrorNoTelemetry(e))throw new p(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function o(e){l(e)||n.onUnexpectedError(e)}function r(e){l(e)||n.onUnexpectedExternalError(e)}function s(e){if(e instanceof Error){let{name:t,message:i}=e,n=e.stacktrace||e.stack;return{$isError:!0,name:t,message:i,stack:n,noTelemetry:p.isErrorNoTelemetry(e)}}return e}let a="Canceled";function l(e){return e instanceof h||e instanceof Error&&e.name===a&&e.message===a}class h extends Error{constructor(){super(a),this.name=this.message}}function d(){let e=Error(a);return e.name=e.message,e}function u(e){return e?Error(`Illegal argument: ${e}`):Error("Illegal argument")}function c(e){return e?Error(`Illegal state: ${e}`):Error("Illegal state")}class g extends Error{constructor(e){super("NotSupported"),e&&(this.message=e)}}class p extends Error{constructor(e){super(e),this.name="ErrorNoTelemetry"}static fromError(e){if(e instanceof p)return e;let t=new p;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"ErrorNoTelemetry"===e.name}}class m extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,m.prototype)}}},4669:function(e,t,i){"use strict";i.d(t,{D0:function(){return f},E7:function(){return _},F3:function(){return c},K3:function(){return m},Q5:function(){return u},ZD:function(){return v},ju:function(){return n}});var n,o=i(17301),r=i(9917),s=i(91741),a=i(84013);!function(e){function t(e){return(t,i=null,n)=>{let o,r=!1;return o=e(e=>r?void 0:(o?o.dispose():r=!0,t.call(i,e)),null,n),r&&o.dispose(),o}}function i(e,t,i){return a((i,n=null,o)=>e(e=>i.call(n,t(e)),null,o),i)}function n(e,t,i){return a((i,n=null,o)=>e(e=>{t(e),i.call(n,e)},null,o),i)}function o(e,t,i){return a((i,n=null,o)=>e(e=>t(e)&&i.call(n,e),null,o),i)}function s(e,t,n,o){let r=n;return i(e,e=>r=t(r,e),o)}function a(e,t){let i;let n=new u({onFirstListenerAdd(){i=e(n.fire,n)},onLastListenerRemove(){null==i||i.dispose()}});return null==t||t.add(n),n.event}function l(e,t,i=100,n=!1,o,r){let s,a,l;let h=0,d=new u({leakWarningThreshold:o,onFirstListenerAdd(){s=e(e=>{h++,a=t(a,e),n&&!l&&(d.fire(a),a=void 0),clearTimeout(l),l=setTimeout(()=>{let e=a;a=void 0,l=void 0,(!n||h>1)&&d.fire(e),h=0},i)})},onLastListenerRemove(){s.dispose()}});return null==r||r.add(d),d.event}function h(e,t=(e,t)=>e===t,i){let n,r=!0;return o(e,e=>{let i=r||!t(e,n);return r=!1,n=e,i},i)}e.None=()=>r.JT.None,e.once=t,e.map=i,e.forEach=n,e.filter=o,e.signal=function(e){return e},e.any=function(...e){return(t,i=null,n)=>(0,r.F8)(...e.map(e=>e(e=>t.call(i,e),null,n)))},e.reduce=s,e.debounce=l,e.latch=h,e.split=function(t,i,n){return[e.filter(t,i,n),e.filter(t,e=>!i(e),n)]},e.buffer=function(e,t=!1,i=[]){let n=i.slice(),o=e(e=>{n?n.push(e):s.fire(e)}),r=()=>{null==n||n.forEach(e=>s.fire(e)),n=null},s=new u({onFirstListenerAdd(){o||(o=e(e=>s.fire(e)))},onFirstListenerDidAdd(){n&&(t?setTimeout(r):r())},onLastListenerRemove(){o&&o.dispose(),o=null}});return s.event};class d{constructor(e){this.event=e,this.disposables=new r.SL}map(e){return new d(i(this.event,e,this.disposables))}forEach(e){return new d(n(this.event,e,this.disposables))}filter(e){return new d(o(this.event,e,this.disposables))}reduce(e,t){return new d(s(this.event,e,t,this.disposables))}latch(){return new d(h(this.event,void 0,this.disposables))}debounce(e,t=100,i=!1,n){return new d(l(this.event,e,t,i,n,this.disposables))}on(e,t,i){return this.event(e,t,i)}once(e,i,n){return t(this.event)(e,i,n)}dispose(){this.disposables.dispose()}}e.chain=function(e){return new d(e)},e.fromNodeEventEmitter=function(e,t,i=e=>e){let n=(...e)=>o.fire(i(...e)),o=new u({onFirstListenerAdd:()=>e.on(t,n),onLastListenerRemove:()=>e.removeListener(t,n)});return o.event},e.fromDOMEventEmitter=function(e,t,i=e=>e){let n=(...e)=>o.fire(i(...e)),o=new u({onFirstListenerAdd:()=>e.addEventListener(t,n),onLastListenerRemove:()=>e.removeEventListener(t,n)});return o.event},e.toPromise=function(e){return new Promise(i=>t(e)(i))},e.runAndSubscribe=function(e,t){return t(void 0),e(e=>t(e))},e.runAndSubscribeWithStore=function(e,t){let i=null;function n(e){null==i||i.dispose(),t(e,i=new r.SL)}n(void 0);let o=e(e=>n(e));return(0,r.OF)(()=>{o.dispose(),null==i||i.dispose()})};class c{constructor(e,t){this.obs=e,this._counter=0,this._hasChanged=!1;this.emitter=new u({onFirstListenerAdd:()=>{e.addObserver(this)},onLastListenerRemove:()=>{e.removeObserver(this)}}),t&&t.add(this.emitter)}beginUpdate(e){this._counter++}handleChange(e,t){this._hasChanged=!0}endUpdate(e){0==--this._counter&&this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this.obs.get()))}}e.fromObservable=function(e,t){let i=new c(e,t);return i.emitter.event}}(n||(n={}));class l{constructor(e){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${e}_${l._idPool++}`}start(e){this._stopWatch=new a.G(!0),this._listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this._elapsedOverall+=e,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${e.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}l._idPool=0;class h{constructor(e){this.value=e}static create(){var e;return new h(null!==(e=Error().stack)&&void 0!==e?e:"")}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class d{constructor(e,t,i){this.callback=e,this.callbackThis=t,this.stack=i,this.subscription=new r.dt}invoke(e){this.callback.call(this.callbackThis,e)}}class u{constructor(e){var t,i;this._disposed=!1,this._options=e,this._leakageMon=void 0,this._perfMon=(null===(t=this._options)||void 0===t?void 0:t._profName)?new l(this._options._profName):void 0,this._deliveryQueue=null===(i=this._options)||void 0===i?void 0:i.deliveryQueue}dispose(){var e,t,i,n;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),null===(e=this._deliveryQueue)||void 0===e||e.clear(this),null===(i=null===(t=this._options)||void 0===t?void 0:t.onLastListenerRemove)||void 0===i||i.call(t),null===(n=this._leakageMon)||void 0===n||n.dispose())}get event(){return this._event||(this._event=(e,t,i)=>{var n,o,a;let l,u;this._listeners||(this._listeners=new s.S);let c=this._listeners.isEmpty();c&&(null===(n=this._options)||void 0===n?void 0:n.onFirstListenerAdd)&&this._options.onFirstListenerAdd(this),this._leakageMon&&this._listeners.size>=30&&(u=h.create(),l=this._leakageMon.check(u,this._listeners.size+1));let g=new d(e,t,u),p=this._listeners.push(g);c&&(null===(o=this._options)||void 0===o?void 0:o.onFirstListenerDidAdd)&&this._options.onFirstListenerDidAdd(this),(null===(a=this._options)||void 0===a?void 0:a.onListenerDidAdd)&&this._options.onListenerDidAdd(this,e,t);let m=g.subscription.set(()=>{if(null==l||l(),!this._disposed&&(p(),this._options&&this._options.onLastListenerRemove)){let e=this._listeners&&!this._listeners.isEmpty();e||this._options.onLastListenerRemove(this)}});return i instanceof r.SL?i.add(m):Array.isArray(i)&&i.push(m),m}),this._event}fire(e){var t,i;if(this._listeners){for(let t of(this._deliveryQueue||(this._deliveryQueue=new g),this._listeners))this._deliveryQueue.push(this,t,e);null===(t=this._perfMon)||void 0===t||t.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),null===(i=this._perfMon)||void 0===i||i.stop()}}}class c{constructor(){this._queue=new s.S}get size(){return this._queue.size}push(e,t,i){this._queue.push(new p(e,t,i))}clear(e){let t=new s.S;for(let i of this._queue)i.emitter!==e&&t.push(i);this._queue=t}deliver(){for(;this._queue.size>0;){let e=this._queue.shift();try{e.listener.invoke(e.event)}catch(e){(0,o.dL)(e)}}}}class g extends c{clear(e){this._queue.clear()}}class p{constructor(e,t,i){this.emitter=e,this.listener=t,this.event=i}}class m extends u{constructor(e){super(e),this._isPaused=0,this._eventQueue=new s.S,this._mergeFn=null==e?void 0:e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused){if(this._mergeFn){let e=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class f extends m{constructor(e){var t;super(e),this._delay=null!==(t=e.delay)&&void 0!==t?t:100}fire(e){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(e)}}class _{constructor(){this.buffers=[]}wrapEvent(e){return(t,i,n)=>e(e=>{let n=this.buffers[this.buffers.length-1];n?n.push(()=>t.call(i,e)):t.call(i,e)},void 0,n)}bufferEvents(e){let t=[];this.buffers.push(t);let i=e();return this.buffers.pop(),t.forEach(e=>e()),i}}class v{constructor(){this.listening=!1,this.inputEvent=n.None,this.inputEventListener=r.JT.None,this.emitter=new u({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},15527:function(e,t,i){"use strict";i.d(t,{KM:function(){return d},ej:function(){return a},fn:function(){return l},oP:function(){return c},yj:function(){return h}});var n=i(55336),o=i(1432),r=i(97295);function s(e){return 47===e||92===e}function a(e){return e.replace(/[\\/]/g,n.KR.sep)}function l(e){return -1===e.indexOf("/")&&(e=a(e)),/^[a-zA-Z]:(\/|$)/.test(e)&&(e="/"+e),e}function h(e,t=n.KR.sep){if(!e)return"";let i=e.length,o=e.charCodeAt(0);if(s(o)){if(s(e.charCodeAt(1))&&!s(e.charCodeAt(2))){let n=3,o=n;for(;ne.length)return!1;if(i){let i=(0,r.ok)(e,t);if(!i)return!1;if(t.length===e.length)return!0;let n=t.length;return t.charAt(t.length-1)===o&&n--,e.charAt(n)===o}return t.charAt(t.length-1)!==o&&(t+=o),0===e.indexOf(t)}function u(e){return e>=65&&e<=90||e>=97&&e<=122}function c(e,t=o.ED){return!!t&&u(e.charCodeAt(0))&&58===e.charCodeAt(1)}},75392:function(e,t,i){"use strict";i.d(t,{CL:function(){return o},EW:function(){return W},Ji:function(){return l},KZ:function(){return y},Oh:function(){return D},Sy:function(){return u},ir:function(){return d},jB:function(){return x},l7:function(){return H},mB:function(){return I},mX:function(){return V},or:function(){return a}});var n,o,r=i(43702),s=i(97295);function a(...e){return function(t,i){for(let n=0,o=e.length;n0?[{start:0,end:t.length}]:[]:null}function d(e,t){let i=t.toLowerCase().indexOf(e.toLowerCase());return -1===i?null:[{start:i,end:i+e.length}]}function u(e,t){return function e(t,i,n,o){if(n===t.length)return[];if(o===i.length)return null;if(t[n]===i[o]){let r=null;return(r=e(t,i,n+1,o+1))?C({start:o,end:o+1},r):null}return e(t,i,n,o+1)}(e.toLowerCase(),t.toLowerCase(),0,0)}function c(e){return 97<=e&&e<=122}function g(e){return 65<=e&&e<=90}function p(e){return 48<=e&&e<=57}function m(e){return 32===e||9===e||10===e||13===e}let f=new Set;function _(e){return m(e)||f.has(e)}function v(e){return c(e)||g(e)||p(e)}function C(e,t){return 0===t.length?t=[e]:e.end===t[0].start?t[0].start=e.start:t.unshift(e),t}function b(e,t){for(let i=t;i0&&!v(e.charCodeAt(i-1)))return i}return e.length}function w(e,t){if(!t||0===(t=t.trim()).length||!function(e){let t=0,i=0,n=0,o=0;for(let r=0;r60)return null;let i=function(e){let t=0,i=0,n=0,o=0,r=0;for(let s=0;s.2&&t<.8&&n>.6&&o<.2}(i)){if(!function(e){let{upperPercent:t,lowerPercent:i}=e;return 0===i&&t>.6}(i))return null;t=t.toLowerCase()}let n=null,o=0;for(e=e.toLowerCase();o0&&_(e.charCodeAt(i-1)))return i;return e.length}"()[]{}<>`'\"-/;:,.?!".split("").forEach(e=>f.add(e.charCodeAt(0)));let L=a(l,w,d),k=a(l,w,u),N=new r.z6(1e4);function D(e,t,i=!1){if("string"!=typeof e||"string"!=typeof t)return null;let n=N.get(e);n||(n=RegExp(s.un(e),"i"),N.set(e,n));let o=n.exec(t);return o?[{start:o.index,end:o.index+o[0].length}]:i?k(e,t):L(e,t)}function x(e,t,i,n,o,r){let s=Math.min(13,e.length);for(;i1;n--){let o=e[n]+i,r=t[t.length-1];r&&r.end===o?r.end=o+1:t.push({start:o,end:o+1})}return t}function E(){let e=[],t=[];for(let e=0;e<=128;e++)t[e]=0;for(let i=0;i<=128;i++)e.push(t.slice(0));return e}function T(e){let t=[];for(let i=0;i<=e;i++)t[i]=0;return t}let M=T(256),A=T(256),R=E(),O=E(),P=E();function F(e,t){if(t<0||t>=e.length)return!1;let i=e.codePointAt(t);switch(i){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:case 60:case 62:case 40:case 41:case 91:case 93:case 123:case 125:return!0;case void 0:return!1;default:if(s.C8(i))return!0;return!1}}function B(e,t){if(t<0||t>=e.length)return!1;let i=e.charCodeAt(t);switch(i){case 32:case 9:return!0;default:return!1}}(n=o||(o={})).Default=[-100,0],n.isDefault=function(e){return!e||2===e.length&&-100===e[0]&&0===e[1]};class V{constructor(e,t){this.firstMatchCanBeWeak=e,this.boostFullMatch=t}}function W(e,t,i,n,o,r,s=V.default){var a;let l=e.length>128?128:e.length,h=n.length>128?128:n.length;if(i>=l||r>=h||l-i>h-r||!function(e,t,i,n,o,r,s=!1){for(;t=i&&a>=n;)o[s]===r[a]&&(A[s]=a,s--),a--}(l,h,i,r,t,o);let d=1,u=1,c=i,g=r,p=[!1];for(d=1,c=i;c1&&i===n&&(d[0]=!0),g||(g=o[s]!==r[s]||F(r,s-1)||B(r,s-1)),i===n?s>l&&(c-=g?3:5):h?c+=g?2:0:c+=g?0:1,s+1===a&&(c-=g?3:5),c}(e,t,c,i,n,o,g,h,r,0===R[d-1][u-1],p));let f=0;l!==Number.MAX_SAFE_INTEGER&&(m=!0,f=l+O[d-1][u-1]);let _=g>s,v=_?O[d][u-1]+(R[d][u-1]>0?-5:0):0,C=g>s+1&&R[d][u-1]>0,b=C?O[d][u-2]+(R[d][u-2]>0?-5:0):0;if(C&&(!_||b>=v)&&(!m||b>=f))O[d][u]=b,P[d][u]=3,R[d][u]=0;else if(_&&(!m||v>=f))O[d][u]=v,P[d][u]=2,R[d][u]=0;else if(m)O[d][u]=f,P[d][u]=1,R[d][u]=R[d-1][u-1]+1;else throw Error("not possible")}}if(!p[0]&&!s.firstMatchCanBeWeak)return;d--,u--;let m=[O[d][u],r],f=0,_=0;for(;d>=1;){let e=u;do{let t=P[d][e];if(3===t)e-=2;else if(2===t)e-=1;else break}while(e>=1);f>1&&t[i+d-1]===o[r+u-1]&&n[a=e+r-1]===o[a]&&f+1>R[d][e]&&(e=u),e===u?f++:f=1,_||(_=e),d--,u=e-1,m.push(u)}h===l&&s.boostFullMatch&&(m[0]+=2);let v=_-l;return m[0]-=v,m}function H(e,t,i,n,o,r,s){return function(e,t,i,n,o,r,s,a){let l=W(e,t,i,n,o,r,a);if(l&&!s)return l;if(e.length>=3){let t=Math.min(7,e.length-1);for(let s=i+1;s=e.length)return;let i=e[t],n=e[t+1];if(i!==n)return e.slice(0,t)+n+i+e.slice(t+2)}(e,s);if(t){let e=W(t,t.toLowerCase(),i,n,o,r,a);e&&(e[0]-=3,(!l||e[0]>l[0])&&(l=e))}}}return l}(e,t,i,n,o,r,!0,s)}V.default={boostFullMatch:!0,firstMatchCanBeWeak:!1}},88289:function(e,t,i){"use strict";function n(e){let t;let i=this,n=!1;return function(){return n?t:(n=!0,t=e.apply(i,arguments))}}i.d(t,{I:function(){return n}})},89954:function(e,t,i){"use strict";i.d(t,{Cv:function(){return a},SP:function(){return r},vp:function(){return o},yP:function(){return u}});var n=i(97295);function o(e){return r(e,0)}function r(e,t){switch(typeof e){case"object":var i,n;if(null===e)return s(349,t);if(Array.isArray(e))return i=s(104579,i=t),e.reduce((e,t)=>r(t,e),i);return n=s(181387,n=t),Object.keys(e).sort().reduce((t,i)=>(t=a(i,t),r(e[i],t)),n);case"string":return a(e,t);case"boolean":return s(e?433:863,t);case"number":return s(e,t);case"undefined":return s(937,t);default:return s(617,t)}}function s(e,t){return(t<<5)-t+e|0}function a(e,t){t=s(149417,t);for(let i=0,n=e.length;i>>n)>>>0}function h(e,t=0,i=e.byteLength,n=0){for(let o=0;oe.toString(16).padStart(2,"0")).join(""):function(e,t,i="0"){for(;e.length>>0).toString(16),t/4)}class u{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,i;let o=e.length;if(0===o)return;let r=this._buff,s=this._buffLen,a=this._leftoverHighSurrogate;for(0!==a?(t=a,i=-1,a=0):(t=e.charCodeAt(0),i=0);;){let l=t;if(n.ZG(t)){if(i+1>>6,e[t++]=128|(63&i)>>>0):i<65536?(e[t++]=224|(61440&i)>>>12,e[t++]=128|(4032&i)>>>6,e[t++]=128|(63&i)>>>0):(e[t++]=240|(1835008&i)>>>18,e[t++]=128|(258048&i)>>>12,e[t++]=128|(4032&i)>>>6,e[t++]=128|(63&i)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),d(this._h0)+d(this._h1)+d(this._h2)+d(this._h3)+d(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,h(this._buff,this._buffLen),this._buffLen>56&&(this._step(),h(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){let e,t,i;let n=u._bigBlock32,o=this._buffDV;for(let e=0;e<64;e+=4)n.setUint32(e,o.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)n.setUint32(e,l(n.getUint32(e-12,!1)^n.getUint32(e-32,!1)^n.getUint32(e-56,!1)^n.getUint32(e-64,!1),1),!1);let r=this._h0,s=this._h1,a=this._h2,h=this._h3,d=this._h4;for(let o=0;o<80;o++)o<20?(e=s&a|~s&h,t=1518500249):o<40?(e=s^a^h,t=1859775393):o<60?(e=s&a|s&h|a&h,t=2400959708):(e=s^a^h,t=3395469782),i=l(r,5)+e+d+t+n.getUint32(4*o,!1)&4294967295,d=h,h=a,a=l(s,30),s=r,r=i;this._h0=this._h0+r&4294967295,this._h1=this._h1+s&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+h&4294967295,this._h4=this._h4+d&4294967295}}u._bigBlock32=new DataView(new ArrayBuffer(320))},59365:function(e,t,i){"use strict";i.d(t,{CP:function(){return a},Fr:function(){return l},W5:function(){return s},d9:function(){return h},oR:function(){return d},v1:function(){return u}});var n=i(17301),o=i(21212),r=i(97295);class s{constructor(e="",t=!1){var i,o,r;if(this.value=e,"string"!=typeof this.value)throw(0,n.b1)("value");"boolean"==typeof t?(this.isTrusted=t,this.supportThemeIcons=!1,this.supportHtml=!1):(this.isTrusted=null!==(i=t.isTrusted)&&void 0!==i?i:void 0,this.supportThemeIcons=null!==(o=t.supportThemeIcons)&&void 0!==o&&o,this.supportHtml=null!==(r=t.supportHtml)&&void 0!==r&&r)}appendText(e,t=0){return this.value+=(this.supportThemeIcons?(0,o.Qo)(e):e).replace(/[\\`*_{}[\]()#+\-!]/g,"\\$&").replace(/([ \t]+)/g,(e,t)=>" ".repeat(t.length)).replace(/\>/gm,"\\>").replace(/\n/g,1===t?"\\\n":"\n\n"),this}appendMarkdown(e){return this.value+=e,this}appendCodeblock(e,t){return this.value+="\n```",this.value+=e,this.value+="\n",this.value+=t,this.value+="\n```\n",this}appendLink(e,t,i){return this.value+="[",this.value+=this._escape(t,"]"),this.value+="](",this.value+=this._escape(String(e),")"),i&&(this.value+=` "${this._escape(this._escape(i,'"'),")")}"`),this.value+=")",this}_escape(e,t){let i=RegExp((0,r.ec)(t),"g");return e.replace(i,(t,i)=>"\\"!==e.charAt(i-1)?`\\${t}`:t)}}function a(e){return l(e)?!e.value:!Array.isArray(e)||e.every(a)}function l(e){return e instanceof s||!!e&&"object"==typeof e&&"string"==typeof e.value&&("boolean"==typeof e.isTrusted||void 0===e.isTrusted)&&("boolean"==typeof e.supportThemeIcons||void 0===e.supportThemeIcons)}function h(e){return e.replace(/"/g,""")}function d(e){return e?e.replace(/\\([\\`*_{}[\]()#+\-.!])/g,"$1"):e}function u(e){let t=[],i=e.split("|").map(e=>e.trim());e=i[0];let n=i[1];if(n){let e=/height=(\d+)/.exec(n),i=/width=(\d+)/.exec(n),o=e?e[1]:"",r=i?i[1]:"",s=isFinite(parseInt(r)),a=isFinite(parseInt(o));s&&t.push(`width="${r}"`),a&&t.push(`height="${o}"`)}return{href:e,dimensions:t}}},21212:function(e,t,i){"use strict";i.d(t,{Gt:function(){return m},Ho:function(){return p},Qo:function(){return h},f$:function(){return u},x$:function(){return g}});var n=i(73046),o=i(75392),r=i(97295);let s=RegExp(`\\$\\(${n.dT.iconNameExpression}(?:${n.dT.iconModifierExpression})?\\)`,"g"),a=new RegExp(n.dT.iconNameCharacter),l=RegExp(`(\\\\)?${s.source}`,"g");function h(e){return e.replace(l,(e,t)=>t?e:`\\${e}`)}let d=RegExp(`\\\\${s.source}`,"g");function u(e){return e.replace(d,e=>`\\${e}`)}let c=RegExp(`(\\s)?(\\\\)?${s.source}(\\s)?`,"g");function g(e){return -1===e.indexOf("$(")?e:e.replace(c,(e,t,i,n)=>i?e:t||n||"")}function p(e){let t=e.indexOf("$(");return -1===t?{text:e}:function(e,t){let i,n;let o=[],r="";function s(e){if(e)for(let t of(r+=e,e))o.push(d)}let l=-1,h="",d=0,u=t,c=e.length;for(s(e.substr(0,t));uo}]}e.empty=function(){return t},e.single=function*(e){yield e},e.from=function(e){return e||t},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(let i of e)if(t(i))return!0;return!1},e.find=function(e,t){for(let i of e)if(t(i))return i},e.filter=function*(e,t){for(let i of e)t(i)&&(yield i)},e.map=function*(e,t){let i=0;for(let n of e)yield t(n,i++)},e.concat=function*(...e){for(let t of e)for(let e of t)yield e},e.concatNested=function*(e){for(let t of e)for(let e of t)yield e},e.reduce=function(e,t,i){let n=i;for(let i of e)n=t(n,i);return n},e.forEach=function(e,t){let i=0;for(let n of e)t(n,i++)},e.slice=function*(e,t,i=e.length){for(t<0&&(t+=e.length),i<0?i+=e.length:i>e.length&&(i=e.length);te===t){let n=e[Symbol.iterator](),o=t[Symbol.iterator]();for(;;){let e=n.next(),t=o.next();if(e.done!==t.done)return!1;if(e.done)return!0;if(!i(e.value,t.value))return!1}}}(n||(n={}))},22258:function(e,t,i){"use strict";var n,o;i.d(t,{H_:function(){return h},Vd:function(){return p},gx:function(){return f},kL:function(){return n}});class r{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}let s=new r,a=new r,l=new r,h=Array(230),d={},u=[],c=Object.create(null),g=Object.create(null),p=[],m=[];for(let e=0;e<=193;e++)p[e]=-1;for(let e=0;e<=127;e++)m[e]=-1;function f(e,t){return(e|(65535&t)<<16>>>0)>>>0}!function(){let e=[],t=[];for(let i of[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[0,1,1,"Hyper",0,"",0,"","",""],[0,1,2,"Super",0,"",0,"","",""],[0,1,3,"Fn",0,"",0,"","",""],[0,1,4,"FnLock",0,"",0,"","",""],[0,1,5,"Suspend",0,"",0,"","",""],[0,1,6,"Resume",0,"",0,"","",""],[0,1,7,"Turbo",0,"",0,"","",""],[0,1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[0,1,9,"WakeUp",0,"",0,"","",""],[31,0,10,"KeyA",31,"A",65,"VK_A","",""],[32,0,11,"KeyB",32,"B",66,"VK_B","",""],[33,0,12,"KeyC",33,"C",67,"VK_C","",""],[34,0,13,"KeyD",34,"D",68,"VK_D","",""],[35,0,14,"KeyE",35,"E",69,"VK_E","",""],[36,0,15,"KeyF",36,"F",70,"VK_F","",""],[37,0,16,"KeyG",37,"G",71,"VK_G","",""],[38,0,17,"KeyH",38,"H",72,"VK_H","",""],[39,0,18,"KeyI",39,"I",73,"VK_I","",""],[40,0,19,"KeyJ",40,"J",74,"VK_J","",""],[41,0,20,"KeyK",41,"K",75,"VK_K","",""],[42,0,21,"KeyL",42,"L",76,"VK_L","",""],[43,0,22,"KeyM",43,"M",77,"VK_M","",""],[44,0,23,"KeyN",44,"N",78,"VK_N","",""],[45,0,24,"KeyO",45,"O",79,"VK_O","",""],[46,0,25,"KeyP",46,"P",80,"VK_P","",""],[47,0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[48,0,27,"KeyR",48,"R",82,"VK_R","",""],[49,0,28,"KeyS",49,"S",83,"VK_S","",""],[50,0,29,"KeyT",50,"T",84,"VK_T","",""],[51,0,30,"KeyU",51,"U",85,"VK_U","",""],[52,0,31,"KeyV",52,"V",86,"VK_V","",""],[53,0,32,"KeyW",53,"W",87,"VK_W","",""],[54,0,33,"KeyX",54,"X",88,"VK_X","",""],[55,0,34,"KeyY",55,"Y",89,"VK_Y","",""],[56,0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[22,0,36,"Digit1",22,"1",49,"VK_1","",""],[23,0,37,"Digit2",23,"2",50,"VK_2","",""],[24,0,38,"Digit3",24,"3",51,"VK_3","",""],[25,0,39,"Digit4",25,"4",52,"VK_4","",""],[26,0,40,"Digit5",26,"5",53,"VK_5","",""],[27,0,41,"Digit6",27,"6",54,"VK_6","",""],[28,0,42,"Digit7",28,"7",55,"VK_7","",""],[29,0,43,"Digit8",29,"8",56,"VK_8","",""],[30,0,44,"Digit9",30,"9",57,"VK_9","",""],[21,0,45,"Digit0",21,"0",48,"VK_0","",""],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[2,1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[10,1,50,"Space",10,"Space",32,"VK_SPACE","",""],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,"",0,"","",""],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[59,1,64,"F1",59,"F1",112,"VK_F1","",""],[60,1,65,"F2",60,"F2",113,"VK_F2","",""],[61,1,66,"F3",61,"F3",114,"VK_F3","",""],[62,1,67,"F4",62,"F4",115,"VK_F4","",""],[63,1,68,"F5",63,"F5",116,"VK_F5","",""],[64,1,69,"F6",64,"F6",117,"VK_F6","",""],[65,1,70,"F7",65,"F7",118,"VK_F7","",""],[66,1,71,"F8",66,"F8",119,"VK_F8","",""],[67,1,72,"F9",67,"F9",120,"VK_F9","",""],[68,1,73,"F10",68,"F10",121,"VK_F10","",""],[69,1,74,"F11",69,"F11",122,"VK_F11","",""],[70,1,75,"F12",70,"F12",123,"VK_F12","",""],[0,1,76,"PrintScreen",0,"",0,"","",""],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL","",""],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[14,1,80,"Home",14,"Home",36,"VK_HOME","",""],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[13,1,83,"End",13,"End",35,"VK_END","",""],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK","",""],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE","",""],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD","",""],[3,1,94,"NumpadEnter",3,"",0,"","",""],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1","",""],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2","",""],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3","",""],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4","",""],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5","",""],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6","",""],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7","",""],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8","",""],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9","",""],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0","",""],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL","",""],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102","",""],[58,1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[0,1,108,"Power",0,"",0,"","",""],[0,1,109,"NumpadEqual",0,"",0,"","",""],[71,1,110,"F13",71,"F13",124,"VK_F13","",""],[72,1,111,"F14",72,"F14",125,"VK_F14","",""],[73,1,112,"F15",73,"F15",126,"VK_F15","",""],[74,1,113,"F16",74,"F16",127,"VK_F16","",""],[75,1,114,"F17",75,"F17",128,"VK_F17","",""],[76,1,115,"F18",76,"F18",129,"VK_F18","",""],[77,1,116,"F19",77,"F19",130,"VK_F19","",""],[0,1,117,"F20",0,"",0,"VK_F20","",""],[0,1,118,"F21",0,"",0,"VK_F21","",""],[0,1,119,"F22",0,"",0,"VK_F22","",""],[0,1,120,"F23",0,"",0,"VK_F23","",""],[0,1,121,"F24",0,"",0,"VK_F24","",""],[0,1,122,"Open",0,"",0,"","",""],[0,1,123,"Help",0,"",0,"","",""],[0,1,124,"Select",0,"",0,"","",""],[0,1,125,"Again",0,"",0,"","",""],[0,1,126,"Undo",0,"",0,"","",""],[0,1,127,"Cut",0,"",0,"","",""],[0,1,128,"Copy",0,"",0,"","",""],[0,1,129,"Paste",0,"",0,"","",""],[0,1,130,"Find",0,"",0,"","",""],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR","",""],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1","",""],[0,1,136,"KanaMode",0,"",0,"","",""],[0,0,137,"IntlYen",0,"",0,"","",""],[0,1,138,"Convert",0,"",0,"","",""],[0,1,139,"NonConvert",0,"",0,"","",""],[0,1,140,"Lang1",0,"",0,"","",""],[0,1,141,"Lang2",0,"",0,"","",""],[0,1,142,"Lang3",0,"",0,"","",""],[0,1,143,"Lang4",0,"",0,"","",""],[0,1,144,"Lang5",0,"",0,"","",""],[0,1,145,"Abort",0,"",0,"","",""],[0,1,146,"Props",0,"",0,"","",""],[0,1,147,"NumpadParenLeft",0,"",0,"","",""],[0,1,148,"NumpadParenRight",0,"",0,"","",""],[0,1,149,"NumpadBackspace",0,"",0,"","",""],[0,1,150,"NumpadMemoryStore",0,"",0,"","",""],[0,1,151,"NumpadMemoryRecall",0,"",0,"","",""],[0,1,152,"NumpadMemoryClear",0,"",0,"","",""],[0,1,153,"NumpadMemoryAdd",0,"",0,"","",""],[0,1,154,"NumpadMemorySubtract",0,"",0,"","",""],[0,1,155,"NumpadClear",126,"Clear",12,"VK_CLEAR","",""],[0,1,156,"NumpadClearEntry",0,"",0,"","",""],[5,1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[4,1,0,"",4,"Shift",16,"VK_SHIFT","",""],[6,1,0,"",6,"Alt",18,"VK_MENU","",""],[57,1,0,"",57,"Meta",0,"VK_COMMAND","",""],[5,1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[4,1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[6,1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[57,1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[5,1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[4,1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[6,1,163,"AltRight",6,"",0,"VK_RMENU","",""],[57,1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[0,1,165,"BrightnessUp",0,"",0,"","",""],[0,1,166,"BrightnessDown",0,"",0,"","",""],[0,1,167,"MediaPlay",0,"",0,"","",""],[0,1,168,"MediaRecord",0,"",0,"","",""],[0,1,169,"MediaFastForward",0,"",0,"","",""],[0,1,170,"MediaRewind",0,"",0,"","",""],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP","",""],[0,1,174,"Eject",0,"",0,"","",""],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[0,1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[0,1,180,"SelectTask",0,"",0,"","",""],[0,1,181,"LaunchScreenSaver",0,"",0,"","",""],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME","",""],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK","",""],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[0,1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[0,1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[0,1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[0,1,189,"ZoomToggle",0,"",0,"","",""],[0,1,190,"MailReply",0,"",0,"","",""],[0,1,191,"MailForward",0,"",0,"","",""],[0,1,192,"MailSend",0,"",0,"","",""],[109,1,0,"",109,"KeyInComposition",229,"","",""],[111,1,0,"",111,"ABNT_C2",194,"VK_ABNT_C2","",""],[91,1,0,"",91,"OEM_8",223,"VK_OEM_8","",""],[0,1,0,"",0,"",0,"VK_KANA","",""],[0,1,0,"",0,"",0,"VK_HANGUL","",""],[0,1,0,"",0,"",0,"VK_JUNJA","",""],[0,1,0,"",0,"",0,"VK_FINAL","",""],[0,1,0,"",0,"",0,"VK_HANJA","",""],[0,1,0,"",0,"",0,"VK_KANJI","",""],[0,1,0,"",0,"",0,"VK_CONVERT","",""],[0,1,0,"",0,"",0,"VK_NONCONVERT","",""],[0,1,0,"",0,"",0,"VK_ACCEPT","",""],[0,1,0,"",0,"",0,"VK_MODECHANGE","",""],[0,1,0,"",0,"",0,"VK_SELECT","",""],[0,1,0,"",0,"",0,"VK_PRINT","",""],[0,1,0,"",0,"",0,"VK_EXECUTE","",""],[0,1,0,"",0,"",0,"VK_SNAPSHOT","",""],[0,1,0,"",0,"",0,"VK_HELP","",""],[0,1,0,"",0,"",0,"VK_APPS","",""],[0,1,0,"",0,"",0,"VK_PROCESSKEY","",""],[0,1,0,"",0,"",0,"VK_PACKET","",""],[0,1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[0,1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[0,1,0,"",0,"",0,"VK_ATTN","",""],[0,1,0,"",0,"",0,"VK_CRSEL","",""],[0,1,0,"",0,"",0,"VK_EXSEL","",""],[0,1,0,"",0,"",0,"VK_EREOF","",""],[0,1,0,"",0,"",0,"VK_PLAY","",""],[0,1,0,"",0,"",0,"VK_ZOOM","",""],[0,1,0,"",0,"",0,"VK_NONAME","",""],[0,1,0,"",0,"",0,"VK_PA1","",""],[0,1,0,"",0,"",0,"VK_OEM_CLEAR","",""]]){let[n,o,r,f,_,v,C,b,w,y]=i;if(!t[r]&&(t[r]=!0,u[r]=f,c[f]=r,g[f.toLowerCase()]=r,o&&(p[r]=_,0!==_&&3!==_&&5!==_&&4!==_&&6!==_&&57!==_&&(m[_]=r))),!e[_]){if(e[_]=!0,!v)throw Error(`String representation missing for key code ${_} around scan code ${f}`);s.define(_,v),a.define(_,w||v),l.define(_,y||w||v)}C&&(h[C]=_),b&&(d[b]=_)}m[3]=46}(),(o=n||(n={})).toString=function(e){return s.keyCodeToStr(e)},o.fromString=function(e){return s.strToKeyCode(e)},o.toUserSettingsUS=function(e){return a.keyCodeToStr(e)},o.toUserSettingsGeneral=function(e){return l.keyCodeToStr(e)},o.fromUserSettings=function(e){return a.strToKeyCode(e)||l.strToKeyCode(e)},o.toElectronAccelerator=function(e){if(e>=93&&e<=108)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return s.keyCodeToStr(e)}},8030:function(e,t,i){"use strict";i.d(t,{X4:function(){return s},jC:function(){return a},xo:function(){return r}});var n=i(63580);class o{constructor(e,t,i=t){this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=t,this.modifierLabels[3]=i}toLabel(e,t,i){if(0===t.length)return null;let n=[];for(let o=0,r=t.length;o>>0,n=(4294901760&e)>>>16;return new a(0!==n?[r(i,t),r(n,t)]:[r(i,t)])}function r(e,t){let i=!!(2048&e),n=!!(256&e),o=2===t?n:i,r=2===t?i:n;return new s(o,!!(1024&e),!!(512&e),r,255&e)}class s{constructor(e,t,i,n,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=i,this.metaKey=n,this.keyCode=o}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new a([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class a{constructor(e){if(0===e.length)throw(0,n.b1)("parts");this.parts=e}}class l{constructor(e,t,i,n,o,r){this.ctrlKey=e,this.shiftKey=t,this.altKey=i,this.metaKey=n,this.keyLabel=o,this.keyAriaLabel=r}}class h{}},79579:function(e,t,i){"use strict";i.d(t,{o:function(){return n}});class n{constructor(e){this.executor=e,this._didRun=!1}hasValue(){return this._didRun}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}},9917:function(e,t,i){"use strict";i.d(t,{B9:function(){return u},F8:function(){return c},JT:function(){return m},Jz:function(){return C},L6:function(){return _},OF:function(){return g},SL:function(){return p},Wf:function(){return d},XK:function(){return f},dk:function(){return l},dt:function(){return v}});var n=i(88289),o=i(53725);function r(e){return e}function s(e){}function a(e,t){}function l(e){return e}class h extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function d(e){return"function"==typeof e.dispose&&0===e.dispose.length}function u(e){if(o.$.is(e)){let t=[];for(let i of e)if(i)try{i.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw new h(t);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function c(...e){let t=g(()=>u(e));return t}function g(e){let t={dispose:(0,n.I)(()=>{e()})};return t}class p{constructor(){var e;this._toDispose=new Set,this._isDisposed=!1,e=this}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{u(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw Error("Cannot register a disposable on itself!");return this._isDisposed?p.DISABLE_DISPOSED_WARNING||console.warn(Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}p.DISABLE_DISPOSED_WARNING=!1;class m{constructor(){var e;this._store=new p,e=this,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw Error("Cannot register a disposable on itself!");return this._store.add(e)}}m.None=Object.freeze({dispose(){}});class f{constructor(){var e;this._isDisposed=!1,e=this}get value(){return this._isDisposed?void 0:this._value}set value(e){var t;this._isDisposed||e===this._value||(null===(t=this._value)||void 0===t||t.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,null===(e=this._value)||void 0===e||e.dispose(),this._value=void 0}clearAndLeak(){let e=this._value;return this._value=void 0,e}}class _{constructor(e){this._disposable=e,this._counter=1}acquire(){return this._counter++,this}release(){return 0==--this._counter&&this._disposable.dispose(),this}}class v{constructor(){var e;this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1,e=this}set(e){let t=e;return this.unset=()=>t=void 0,this.isset=()=>void 0!==t,this.dispose=()=>{t&&(t(),t=void 0)},this}}class C{constructor(e){this.object=e}dispose(){}}},91741:function(e,t,i){"use strict";i.d(t,{S:function(){return o}});class n{constructor(e){this.element=e,this.next=n.Undefined,this.prev=n.Undefined}}n.Undefined=new n(void 0);class o{constructor(){this._first=n.Undefined,this._last=n.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===n.Undefined}clear(){let e=this._first;for(;e!==n.Undefined;){let t=e.next;e.prev=n.Undefined,e.next=n.Undefined,e=t}this._first=n.Undefined,this._last=n.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let i=new n(e);if(this._first===n.Undefined)this._first=i,this._last=i;else if(t){let e=this._last;this._last=i,i.prev=e,e.next=i}else{let e=this._first;this._first=i,i.next=e,e.prev=i}this._size+=1;let o=!1;return()=>{o||(o=!0,this._remove(i))}}shift(){if(this._first!==n.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==n.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==n.Undefined&&e.next!==n.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===n.Undefined&&e.next===n.Undefined?(this._first=n.Undefined,this._last=n.Undefined):e.next===n.Undefined?(this._last=this._last.prev,this._last.next=n.Undefined):e.prev===n.Undefined&&(this._first=this._first.next,this._first.prev=n.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==n.Undefined;)yield e.element,e=e.next}}},43702:function(e,t,i){"use strict";i.d(t,{Id:function(){return u},Y9:function(){return g},z6:function(){return m}});var n,o,r=i(97295);class s{constructor(){this._value="",this._pos=0}reset(e){return this._value=e,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos=0;t--,this._valueLen--){let e=this._value.charCodeAt(t);if(!(47===e||this._splitOnBackslash&&92===e))break}return this.next()}hasNext(){return this._to!1,t=()=>!1){return new u(new h(e,t))}static forStrings(){return new u(new s)}static forConfigKeys(){return new u(new a)}clear(){this._root=void 0}set(e,t){let i;let n=this._iter.reset(e);this._root||(this._root=new d,this._root.segment=n.value());let o=[];for(i=this._root;;){let e=n.cmp(i.segment);if(e>0)i.left||(i.left=new d,i.left.segment=n.value()),o.push([-1,i]),i=i.left;else if(e<0)i.right||(i.right=new d,i.right.segment=n.value()),o.push([1,i]),i=i.right;else if(n.hasNext())n.next(),i.mid||(i.mid=new d,i.mid.segment=n.value()),o.push([0,i]),i=i.mid;else break}let r=i.value;i.value=t,i.key=e;for(let e=o.length-1;e>=0;e--){let t=o[e][1];t.updateHeight();let i=t.balanceFactor();if(i<-1||i>1){let i=o[e][0],n=o[e+1][0];if(1===i&&1===n)o[e][1]=t.rotateLeft();else if(-1===i&&-1===n)o[e][1]=t.rotateRight();else if(1===i&&-1===n)t.right=o[e+1][1]=o[e+1][1].rotateRight(),o[e][1]=t.rotateLeft();else if(-1===i&&1===n)t.left=o[e+1][1]=o[e+1][1].rotateLeft(),o[e][1]=t.rotateRight();else throw Error();if(e>0)switch(o[e-1][0]){case -1:o[e-1][1].left=o[e][1];break;case 1:o[e-1][1].right=o[e][1];break;case 0:o[e-1][1].mid=o[e][1]}else this._root=o[0][1]}}return r}get(e){var t;return null===(t=this._getNode(e))||void 0===t?void 0:t.value}_getNode(e){let t=this._iter.reset(e),i=this._root;for(;i;){let e=t.cmp(i.segment);if(e>0)i=i.left;else if(e<0)i=i.right;else if(t.hasNext())t.next(),i=i.mid;else break}return i}has(e){let t=this._getNode(e);return!((null==t?void 0:t.value)===void 0&&(null==t?void 0:t.mid)===void 0)}delete(e){return this._delete(e,!1)}deleteSuperstr(e){return this._delete(e,!0)}_delete(e,t){var i;let n=this._iter.reset(e),o=[],r=this._root;for(;r;){let e=n.cmp(r.segment);if(e>0)o.push([-1,r]),r=r.left;else if(e<0)o.push([1,r]),r=r.right;else if(n.hasNext())n.next(),o.push([0,r]),r=r.mid;else break}if(r){if(t?(r.left=void 0,r.mid=void 0,r.right=void 0,r.height=1):(r.key=void 0,r.value=void 0),!r.mid&&!r.value){if(r.left&&r.right){let e=this._min(r.right),{key:t,value:i,segment:n}=e;this._delete(e.key,!1),r.key=t,r.value=i,r.segment=n}else{let e=null!==(i=r.left)&&void 0!==i?i:r.right;if(o.length>0){let[t,i]=o[o.length-1];switch(t){case -1:i.left=e;break;case 0:i.mid=e;break;case 1:i.right=e}}else this._root=e}}for(let e=o.length-1;e>=0;e--){let t=o[e][1];t.updateHeight();let i=t.balanceFactor();if(i>1?(t.right.balanceFactor()>=0||(t.right=t.right.rotateRight()),o[e][1]=t.rotateLeft()):i<-1&&(0>=t.left.balanceFactor()||(t.left=t.left.rotateLeft()),o[e][1]=t.rotateRight()),e>0)switch(o[e-1][0]){case -1:o[e-1][1].left=o[e][1];break;case 1:o[e-1][1].right=o[e][1];break;case 0:o[e-1][1].mid=o[e][1]}else this._root=o[0][1]}}}_min(e){for(;e.left;)e=e.left;return e}findSubstr(e){let t;let i=this._iter.reset(e),n=this._root;for(;n;){let e=i.cmp(n.segment);if(e>0)n=n.left;else if(e<0)n=n.right;else if(i.hasNext())i.next(),t=n.value||t,n=n.mid;else break}return n&&n.value||t}findSuperstr(e){let t=this._iter.reset(e),i=this._root;for(;i;){let e=t.cmp(i.segment);if(e>0)i=i.left;else if(e<0)i=i.right;else if(t.hasNext())t.next(),i=i.mid;else{if(i.mid)return this._entries(i.mid);break}}}forEach(e){for(let[t,i]of this)e(i,t)}*[Symbol.iterator](){yield*this._entries(this._root)}_entries(e){let t=[];return this._dfsEntries(e,t),t[Symbol.iterator]()}_dfsEntries(e,t){e&&(e.left&&this._dfsEntries(e.left,t),e.value&&t.push([e.key,e.value]),e.mid&&this._dfsEntries(e.mid,t),e.right&&this._dfsEntries(e.right,t))}}class c{constructor(e,t){this.uri=e,this.value=t}}class g{constructor(e,t){this[n]="ResourceMap",e instanceof g?(this.map=new Map(e.map),this.toKey=null!=t?t:g.defaultToKey):(this.map=new Map,this.toKey=null!=e?e:g.defaultToKey)}set(e,t){return this.map.set(this.toKey(e),new c(e,t)),this}get(e){var t;return null===(t=this.map.get(this.toKey(e)))||void 0===t?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){for(let[i,n]of(void 0!==t&&(e=e.bind(t)),this.map))e(n.value,n.uri,this)}*values(){for(let e of this.map.values())yield e.value}*keys(){for(let e of this.map.values())yield e.uri}*entries(){for(let e of this.map.values())yield[e.uri,e.value]}*[(n=Symbol.toStringTag,Symbol.iterator)](){for(let[,e]of this.map)yield[e.uri,e.value]}}g.defaultToKey=e=>e.toString();class p{constructor(){this[o]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return null===(e=this._head)||void 0===e?void 0:e.value}get last(){var e;return null===(e=this._tail)||void 0===e?void 0:e.value}has(e){return this._map.has(e)}get(e,t=0){let i=this._map.get(e);if(i)return 0!==t&&this.touch(i,t),i.value}set(e,t,i=0){let n=this._map.get(e);if(n)n.value=t,0!==i&&this.touch(n,i);else{switch(n={key:e,value:t,next:void 0,previous:void 0},i){case 0:case 2:default:this.addItemLast(n);break;case 1:this.addItemFirst(n)}this._map.set(e,n),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw Error("Invalid list");let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){let i=this._state,n=this._head;for(;n;){if(t?e.bind(t)(n.value,n.key,this):e(n.value,n.key,this),this._state!==i)throw Error("LinkedMap got modified during iteration.");n=n.next}}keys(){let e=this,t=this._state,i=this._head,n={[Symbol.iterator]:()=>n,next(){if(e._state!==t)throw Error("LinkedMap got modified during iteration.");if(!i)return{value:void 0,done:!0};{let e={value:i.key,done:!1};return i=i.next,e}}};return n}values(){let e=this,t=this._state,i=this._head,n={[Symbol.iterator]:()=>n,next(){if(e._state!==t)throw Error("LinkedMap got modified during iteration.");if(!i)return{value:void 0,done:!0};{let e={value:i.value,done:!1};return i=i.next,e}}};return n}entries(){let e=this,t=this._state,i=this._head,n={[Symbol.iterator]:()=>n,next(){if(e._state!==t)throw Error("LinkedMap got modified during iteration.");if(!i)return{value:void 0,done:!0};{let e={value:[i.key,i.value],done:!1};return i=i.next,e}}};return n}[(o=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(0===e){this.clear();return}let t=this._head,i=this.size;for(;t&&i>e;)this._map.delete(t.key),t=t.next,i--;this._head=t,this._size=i,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(this._head||this._tail){if(this._head)e.next=this._head,this._head.previous=e;else throw Error("Invalid list")}else this._tail=e;this._head=e,this._state++}addItemLast(e){if(this._head||this._tail){if(this._tail)e.previous=this._tail,this._tail.next=e;else throw Error("Invalid list")}else this._head=e;this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{let t=e.next,i=e.previous;if(!t||!i)throw Error("Invalid list");t.previous=i,i.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw Error("Invalid list");if(1===t||2===t){if(1===t){if(e===this._head)return;let t=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(t.previous=i,i.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(2===t){if(e===this._tail)return;let t=e.next,i=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=i,i.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((t,i)=>{e.push([i,t])}),e}fromJSON(e){for(let[t,i]of(this.clear(),e))this.set(t,i)}}class m extends p{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,t=2){return super.get(e,t)}peek(e){return super.get(e,0)}set(e,t){return super.set(e,t,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}},23897:function(e,t,i){"use strict";i.d(t,{Q:function(){return r}});var n=i(53060),o=i(70666);function r(e){return function e(t,i=0){if(!t||i>200)return t;if("object"==typeof t){switch(t.$mid){case 1:return o.o.revive(t);case 2:return new RegExp(t.source,t.flags);case 14:return new Date(t.source)}if(t instanceof n.KN||t instanceof Uint8Array)return t;if(Array.isArray(t))for(let n=0;n{t[n]&&"object"==typeof t[n]?i[n]=e(t[n]):i[n]=t[n]}),i}},_A:function(){return o},fS:function(){return function e(t,i){let n,o;if(t===i)return!0;if(null==t||null==i||typeof t!=typeof i||"object"!=typeof t||Array.isArray(t)!==Array.isArray(i))return!1;if(Array.isArray(t)){if(t.length!==i.length)return!1;for(n=0;n{r in t?o&&((0,n.Kn)(t[r])&&(0,n.Kn)(i[r])?e(t[r],i[r],o):t[r]=i[r]):t[r]=i[r]}),t):i}},rs:function(){return s}});var n=i(98401);function o(e){if(!e||"object"!=typeof e)return e;let t=[e];for(;t.length>0;){let e=t.shift();for(let i in Object.freeze(e),e)if(r.call(e,i)){let o=e[i];"object"!=typeof o||Object.isFrozen(o)||(0,n.fU)(o)||t.push(o)}}return e}let r=Object.prototype.hasOwnProperty;function s(e,t){return function e(t,i,o){if((0,n.Jp)(t))return t;let s=i(t);if(void 0!==s)return s;if((0,n.kJ)(t)){let n=[];for(let r of t)n.push(e(r,i,o));return n}if((0,n.Kn)(t)){if(o.has(t))throw Error("Cannot clone recursive data-structure");o.add(t);let n={};for(let s in t)r.call(t,s)&&(n[s]=e(t[s],i,o));return o.delete(t),n}return t}(e,t,new Set)}},55336:function(e,t,i){"use strict";let n;i.d(t,{EZ:function(){return y},XX:function(){return w},DZ:function(){return S},Fv:function(){return v},KR:function(){return _},Gf:function(){return b},DB:function(){return C},ir:function(){return L},Ku:function(){return f}});var o=i(1432),r=i(83454);if(void 0!==o.li.vscode&&void 0!==o.li.vscode.process){let e=o.li.vscode.process;n={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd:()=>e.cwd()}}else n=void 0!==r?{get platform(){return r.platform},get arch(){return r.arch},get env(){return r.env},cwd:()=>r.env.VSCODE_CWD||r.cwd()}:{get platform(){return o.ED?"win32":o.dz?"darwin":"linux"},get arch(){return},get env(){return{}},cwd:()=>"/"};let s=n.cwd,a=n.env,l=n.platform;class h extends Error{constructor(e,t,i){let n;"string"==typeof t&&0===t.indexOf("not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let o=-1!==e.indexOf(".")?"property":"argument",r=`The "${e}" ${o} ${n} of type ${t}`;super(r+=`. Received type ${typeof i}`),this.code="ERR_INVALID_ARG_TYPE"}}function d(e,t){if("string"!=typeof e)throw new h(t,"string",e)}function u(e){return 47===e||92===e}function c(e){return 47===e}function g(e){return e>=65&&e<=90||e>=97&&e<=122}function p(e,t,i,n){let o="",r=0,s=-1,a=0,l=0;for(let h=0;h<=e.length;++h){if(h2){let e=o.lastIndexOf(i);-1===e?(o="",r=0):r=(o=o.slice(0,e)).length-1-o.lastIndexOf(i),s=h,a=0;continue}if(0!==o.length){o="",r=0,s=h,a=0;continue}}t&&(o+=o.length>0?`${i}..`:"..",r=2)}else o.length>0?o+=`${i}${e.slice(s+1,h)}`:o=e.slice(s+1,h),r=h-s-1;s=h,a=0}else 46===l&&-1!==a?++a:a=-1}return o}function m(e,t){if(null===t||"object"!=typeof t)throw new h("pathObject","Object",t);let i=t.dir||t.root,n=t.base||`${t.name||""}${t.ext||""}`;return i?i===t.root?`${i}${n}`:`${i}${e}${n}`:n}let f={resolve(...e){let t="",i="",n=!1;for(let o=e.length-1;o>=-1;o--){let r;if(o>=0){if(d(r=e[o],"path"),0===r.length)continue}else 0===t.length?r=s():(void 0===(r=a[`=${t}`]||s())||r.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===r.charCodeAt(2))&&(r=`${t}\\`);let l=r.length,h=0,c="",p=!1,m=r.charCodeAt(0);if(1===l)u(m)&&(h=1,p=!0);else if(u(m)){if(p=!0,u(r.charCodeAt(1))){let e=2,t=2;for(;e2&&u(r.charCodeAt(2))&&(p=!0,h=3));if(c.length>0){if(t.length>0){if(c.toLowerCase()!==t.toLowerCase())continue}else t=c}if(n){if(t.length>0)break}else if(i=`${r.slice(h)}\\${i}`,n=p,p&&t.length>0)break}return i=p(i,!n,"\\",u),n?`${t}\\${i}`:`${t}${i}`||"."},normalize(e){let t;d(e,"path");let i=e.length;if(0===i)return".";let n=0,o=!1,r=e.charCodeAt(0);if(1===i)return c(r)?"\\":e;if(u(r)){if(o=!0,u(e.charCodeAt(1))){let o=2,r=2;for(;o2&&u(e.charCodeAt(2))&&(o=!0,n=3));let s=n0&&u(e.charCodeAt(i-1))&&(s+="\\"),void 0===t)?o?`\\${s}`:s:o?`${t}\\${s}`:`${t}${s}`},isAbsolute(e){d(e,"path");let t=e.length;if(0===t)return!1;let i=e.charCodeAt(0);return u(i)||t>2&&g(i)&&58===e.charCodeAt(1)&&u(e.charCodeAt(2))},join(...e){let t,i;if(0===e.length)return".";for(let n=0;n0&&(void 0===t?t=i=o:t+=`\\${o}`)}if(void 0===t)return".";let n=!0,o=0;if("string"==typeof i&&u(i.charCodeAt(0))){++o;let e=i.length;e>1&&u(i.charCodeAt(1))&&(++o,e>2&&(u(i.charCodeAt(2))?++o:n=!1))}if(n){for(;o=2&&(t=`\\${t.slice(o)}`)}return f.normalize(t)},relative(e,t){if(d(e,"from"),d(t,"to"),e===t)return"";let i=f.resolve(e),n=f.resolve(t);if(i===n||(e=i.toLowerCase())===(t=n.toLowerCase()))return"";let o=0;for(;oo&&92===e.charCodeAt(r-1);)r--;let s=r-o,a=0;for(;aa&&92===t.charCodeAt(l-1);)l--;let h=l-a,u=su){if(92===t.charCodeAt(a+g))return n.slice(a+g+1);if(2===g)return n.slice(a+g)}s>u&&(92===e.charCodeAt(o+g)?c=g:2===g&&(c=3)),-1===c&&(c=0)}let p="";for(g=o+c+1;g<=r;++g)(g===r||92===e.charCodeAt(g))&&(p+=0===p.length?"..":"\\..");return(a+=c,p.length>0)?`${p}${n.slice(a,l)}`:(92===n.charCodeAt(a)&&++a,n.slice(a,l))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";let t=f.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){let e=t.charCodeAt(2);if(63!==e&&46!==e)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(g(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return`\\\\?\\${t}`;return e},dirname(e){d(e,"path");let t=e.length;if(0===t)return".";let i=-1,n=0,o=e.charCodeAt(0);if(1===t)return u(o)?e:".";if(u(o)){if(i=n=1,u(e.charCodeAt(1))){let o=2,r=2;for(;o2&&u(e.charCodeAt(2))?3:2);let r=-1,s=!0;for(let i=t-1;i>=n;--i)if(u(e.charCodeAt(i))){if(!s){r=i;break}}else s=!1;if(-1===r){if(-1===i)return".";r=i}return e.slice(0,r)},basename(e,t){let i;void 0!==t&&d(t,"ext"),d(e,"path");let n=0,o=-1,r=!0;if(e.length>=2&&g(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(n=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let s=t.length-1,a=-1;for(i=e.length-1;i>=n;--i){let l=e.charCodeAt(i);if(u(l)){if(!r){n=i+1;break}}else -1===a&&(r=!1,a=i+1),s>=0&&(l===t.charCodeAt(s)?-1==--s&&(o=i):(s=-1,o=a))}return n===o?o=a:-1===o&&(o=e.length),e.slice(n,o)}for(i=e.length-1;i>=n;--i)if(u(e.charCodeAt(i))){if(!r){n=i+1;break}}else -1===o&&(r=!1,o=i+1);return -1===o?"":e.slice(n,o)},extname(e){d(e,"path");let t=0,i=-1,n=0,o=-1,r=!0,s=0;e.length>=2&&58===e.charCodeAt(1)&&g(e.charCodeAt(0))&&(t=n=2);for(let a=e.length-1;a>=t;--a){let t=e.charCodeAt(a);if(u(t)){if(!r){n=a+1;break}continue}-1===o&&(r=!1,o=a+1),46===t?-1===i?i=a:1!==s&&(s=1):-1!==i&&(s=-1)}return -1===i||-1===o||0===s||1===s&&i===o-1&&i===n+1?"":e.slice(i,o)},format:m.bind(null,"\\"),parse(e){d(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;let i=e.length,n=0,o=e.charCodeAt(0);if(1===i)return u(o)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(u(o)){if(n=1,u(e.charCodeAt(1))){let t=2,o=2;for(;t0&&(t.root=e.slice(0,n));let r=-1,s=n,a=-1,l=!0,h=e.length-1,c=0;for(;h>=n;--h){if(u(o=e.charCodeAt(h))){if(!l){s=h+1;break}continue}-1===a&&(l=!1,a=h+1),46===o?-1===r?r=h:1!==c&&(c=1):-1!==r&&(c=-1)}return -1!==a&&(-1===r||0===c||1===c&&r===a-1&&r===s+1?t.base=t.name=e.slice(s,a):(t.name=e.slice(s,r),t.base=e.slice(s,a),t.ext=e.slice(r,a))),s>0&&s!==n?t.dir=e.slice(0,s-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},_={resolve(...e){let t="",i=!1;for(let n=e.length-1;n>=-1&&!i;n--){let o=n>=0?e[n]:s();d(o,"path"),0!==o.length&&(t=`${o}/${t}`,i=47===o.charCodeAt(0))}return(t=p(t,!i,"/",c),i)?`/${t}`:t.length>0?t:"."},normalize(e){if(d(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0===(e=p(e,!t,"/",c)).length?t?"/":i?"./":".":(i&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(d(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){let t;if(0===e.length)return".";for(let i=0;i0&&(void 0===t?t=n:t+=`/${n}`)}return void 0===t?".":_.normalize(t)},relative(e,t){if(d(e,"from"),d(t,"to"),e===t||(e=_.resolve(e))===(t=_.resolve(t)))return"";let i=e.length,n=i-1,o=t.length-1,r=nr){if(47===t.charCodeAt(1+a))return t.slice(1+a+1);if(0===a)return t.slice(1+a)}else n>r&&(47===e.charCodeAt(1+a)?s=a:0===a&&(s=0))}let l="";for(a=1+s+1;a<=i;++a)(a===i||47===e.charCodeAt(a))&&(l+=0===l.length?"..":"/..");return`${l}${t.slice(1+s)}`},toNamespacedPath:e=>e,dirname(e){if(d(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),i=-1,n=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!n){i=t;break}}else n=!1;return -1===i?t?"/":".":t&&1===i?"//":e.slice(0,i)},basename(e,t){let i;void 0!==t&&d(t,"ext"),d(e,"path");let n=0,o=-1,r=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let s=t.length-1,a=-1;for(i=e.length-1;i>=0;--i){let l=e.charCodeAt(i);if(47===l){if(!r){n=i+1;break}}else -1===a&&(r=!1,a=i+1),s>=0&&(l===t.charCodeAt(s)?-1==--s&&(o=i):(s=-1,o=a))}return n===o?o=a:-1===o&&(o=e.length),e.slice(n,o)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!r){n=i+1;break}}else -1===o&&(r=!1,o=i+1);return -1===o?"":e.slice(n,o)},extname(e){d(e,"path");let t=-1,i=0,n=-1,o=!0,r=0;for(let s=e.length-1;s>=0;--s){let a=e.charCodeAt(s);if(47===a){if(!o){i=s+1;break}continue}-1===n&&(o=!1,n=s+1),46===a?-1===t?t=s:1!==r&&(r=1):-1!==t&&(r=-1)}return -1===t||-1===n||0===r||1===r&&t===n-1&&t===i+1?"":e.slice(t,n)},format:m.bind(null,"/"),parse(e){let t;d(e,"path");let i={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return i;let n=47===e.charCodeAt(0);n?(i.root="/",t=1):t=0;let o=-1,r=0,s=-1,a=!0,l=e.length-1,h=0;for(;l>=t;--l){let t=e.charCodeAt(l);if(47===t){if(!a){r=l+1;break}continue}-1===s&&(a=!1,s=l+1),46===t?-1===o?o=l:1!==h&&(h=1):-1!==o&&(h=-1)}if(-1!==s){let t=0===r&&n?1:r;-1===o||0===h||1===h&&o===s-1&&o===r+1?i.base=i.name=e.slice(t,s):(i.name=e.slice(t,o),i.base=e.slice(t,s),i.ext=e.slice(o,s))}return r>0?i.dir=e.slice(0,r-1):n&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};_.win32=f.win32=f,_.posix=f.posix=_;let v="win32"===l?f.normalize:_.normalize,C="win32"===l?f.resolve:_.resolve,b="win32"===l?f.relative:_.relative,w="win32"===l?f.dirname:_.dirname,y="win32"===l?f.basename:_.basename,S="win32"===l?f.extname:_.extname,L="win32"===l?f.sep:_.sep},1432:function(e,t,i){"use strict";let n,o;i.d(t,{$L:function(){return y},ED:function(){return v},G6:function(){return O},IJ:function(){return b},OS:function(){return I},dK:function(){return N},dz:function(){return C},fn:function(){return x},gn:function(){return L},i7:function(){return A},li:function(){return m},n2:function(){return S},r:function(){return M},tY:function(){return w},un:function(){return P},vU:function(){return R}});var r,s=i(63580),a=i(83454);let l=!1,h=!1,d=!1,u=!1,c=!1,g=!1,p="en",m="object"==typeof self?self:"object"==typeof i.g?i.g:{};void 0!==m.vscode&&void 0!==m.vscode.process?o=m.vscode.process:void 0!==a&&(o=a);let f="string"==typeof(null===(r=null==o?void 0:o.versions)||void 0===r?void 0:r.electron),_=f&&(null==o?void 0:o.type)==="renderer";if("object"!=typeof navigator||_){if("object"==typeof o){l="win32"===o.platform,h="darwin"===o.platform,(d="linux"===o.platform)&&o.env.SNAP&&o.env.SNAP_REVISION,o.env.CI||o.env.BUILD_ARTIFACTSTAGINGDIRECTORY,p="en";let e=o.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e),i=t.availableLanguages["*"];t.locale,p=i||"en",t._translationsConfigFile}catch(e){}u=!0}else console.error("Unable to resolve platform.")}else{l=(n=navigator.userAgent).indexOf("Windows")>=0,h=n.indexOf("Macintosh")>=0,g=(n.indexOf("Macintosh")>=0||n.indexOf("iPad")>=0||n.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,d=n.indexOf("Linux")>=0,c=!0;let e=s.aj(s.NC({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"));p=e||"en"}let v=l,C=h,b=d,w=u,y=c,S=c&&"function"==typeof m.importScripts,L=g,k=n,N=p,D="function"==typeof m.postMessage&&!m.importScripts,x=(()=>{if(D){let e=[];m.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=e.length;i{let n=++t;e.push({id:n,callback:i}),m.postMessage({vscodeScheduleAsyncWork:n},"*")}}return e=>setTimeout(e)})(),I=h||g?2:l?1:3,E=!0,T=!1;function M(){if(!T){T=!0;let e=new Uint8Array(2);e[0]=1,e[1]=2;let t=new Uint16Array(e.buffer);E=513===t[0]}return E}let A=!!(k&&k.indexOf("Chrome")>=0),R=!!(k&&k.indexOf("Firefox")>=0),O=!!(!A&&k&&k.indexOf("Safari")>=0),P=!!(k&&k.indexOf("Edg/")>=0);k&&k.indexOf("Android")},61134:function(e,t,i){"use strict";var n;i.d(t,{e:function(){return n}}),function(e){function t(e,t){if(e.start>=t.end||t.start>=e.end)return{start:0,end:0};let i=Math.max(e.start,t.start),n=Math.min(e.end,t.end);return n-i<=0?{start:0,end:0}:{start:i,end:n}}function i(e){return e.end-e.start<=0}e.intersect=t,e.isEmpty=i,e.intersects=function(e,n){return!i(t(e,n))},e.relativeComplement=function(e,t){let n=[],o={start:e.start,end:Math.min(t.start,e.end)},r={start:Math.max(t.end,e.start),end:e.end};return i(o)||n.push(o),i(r)||n.push(r),n}}(n||(n={}))},95935:function(e,t,i){"use strict";i.d(t,{AH:function(){return b},DZ:function(){return _},EZ:function(){return f},Hx:function(){return m},SF:function(){return g},Vb:function(){return o},Vo:function(){return C},XX:function(){return v},Xy:function(){return p},i3:function(){return y},lX:function(){return w},z_:function(){return u}});var n,o,r=i(15527),s=i(66663),a=i(55336),l=i(1432),h=i(97295),d=i(70666);function u(e){return(0,d.q)(e,!0)}class c{constructor(e){this._ignorePathCasing=e}compare(e,t,i=!1){return e===t?0:(0,h.qu)(this.getComparisonKey(e,i),this.getComparisonKey(t,i))}isEqual(e,t,i=!1){return e===t||!!e&&!!t&&this.getComparisonKey(e,i)===this.getComparisonKey(t,i)}getComparisonKey(e,t=!1){return e.with({path:this._ignorePathCasing(e)?e.path.toLowerCase():void 0,fragment:t?null:void 0}).toString()}isEqualOrParent(e,t,i=!1){if(e.scheme===t.scheme){if(e.scheme===s.lg.file)return r.KM(u(e),u(t),this._ignorePathCasing(e))&&e.query===t.query&&(i||e.fragment===t.fragment);if(S(e.authority,t.authority))return r.KM(e.path,t.path,this._ignorePathCasing(e),"/")&&e.query===t.query&&(i||e.fragment===t.fragment)}return!1}joinPath(e,...t){return d.o.joinPath(e,...t)}basenameOrAuthority(e){return f(e)||e.authority}basename(e){return a.KR.basename(e.path)}extname(e){return a.KR.extname(e.path)}dirname(e){let t;return 0===e.path.length?e:(e.scheme===s.lg.file?t=d.o.file(a.XX(u(e))).path:(t=a.KR.dirname(e.path),e.authority&&t.length&&47!==t.charCodeAt(0)&&(console.error(`dirname("${e.toString})) resulted in a relative path`),t="/")),e.with({path:t}))}normalizePath(e){let t;return e.path.length?(t=e.scheme===s.lg.file?d.o.file(a.Fv(u(e))).path:a.KR.normalize(e.path),e.with({path:t})):e}relativePath(e,t){if(e.scheme!==t.scheme||!S(e.authority,t.authority))return;if(e.scheme===s.lg.file){let i=a.Gf(u(e),u(t));return l.ED?r.ej(i):i}let i=e.path||"/",n=t.path||"/";if(this._ignorePathCasing(e)){let e=0;for(let t=Math.min(i.length,n.length);er.yj(i).length&&i[i.length-1]===t}{let t=e.path;return t.length>1&&47===t.charCodeAt(t.length-1)&&!/^[a-zA-Z]:(\/$|\\$)/.test(e.fsPath)}}removeTrailingPathSeparator(e,t=a.ir){return L(e,t)?e.with({path:e.path.substr(0,e.path.length-1)}):e}addTrailingPathSeparator(e,t=a.ir){let i=!1;if(e.scheme===s.lg.file){let n=u(e);i=void 0!==n&&n.length===r.yj(n).length&&n[n.length-1]===t}else{t="/";let n=e.path;i=1===n.length&&47===n.charCodeAt(n.length-1)}return i||L(e,t)?e:e.with({path:e.path+"/"})}}let g=new c(()=>!1);new c(e=>e.scheme!==s.lg.file||!l.IJ),new c(e=>!0);let p=g.isEqual.bind(g);g.isEqualOrParent.bind(g),g.getComparisonKey.bind(g);let m=g.basenameOrAuthority.bind(g),f=g.basename.bind(g),_=g.extname.bind(g),v=g.dirname.bind(g),C=g.joinPath.bind(g),b=g.normalizePath.bind(g),w=g.relativePath.bind(g),y=g.resolvePath.bind(g);g.isAbsolutePath.bind(g);let S=g.isEqualAuthority.bind(g),L=g.hasTrailingPathSeparator.bind(g);g.removeTrailingPathSeparator.bind(g),g.addTrailingPathSeparator.bind(g),(n=o||(o={})).META_DATA_LABEL="label",n.META_DATA_DESCRIPTION="description",n.META_DATA_SIZE="size",n.META_DATA_MIME="mime",n.parseMetaData=function(e){let t=new Map,i=e.path.substring(e.path.indexOf(";")+1,e.path.lastIndexOf(";"));i.split(";").forEach(e=>{let[i,n]=e.split(":");i&&n&&t.set(i,n)});let o=e.path.substring(0,e.path.indexOf(";"));return o&&t.set(n.META_DATA_MIME,o),t}},76633:function(e,t,i){"use strict";i.d(t,{Rm:function(){return s}});var n=i(4669),o=i(9917);class r{constructor(e,t,i,n,o,r,s){this._forceIntegerValues=e,this._scrollStateBrand=void 0,this._forceIntegerValues&&(t|=0,i|=0,n|=0,o|=0,r|=0,s|=0),this.rawScrollLeft=n,this.rawScrollTop=s,t<0&&(t=0),n+t>i&&(n=i-t),n<0&&(n=0),o<0&&(o=0),s+o>r&&(s=r-o),s<0&&(s=0),this.width=t,this.scrollWidth=i,this.scrollLeft=n,this.height=o,this.scrollHeight=r,this.scrollTop=s}equals(e){return this.rawScrollLeft===e.rawScrollLeft&&this.rawScrollTop===e.rawScrollTop&&this.width===e.width&&this.scrollWidth===e.scrollWidth&&this.scrollLeft===e.scrollLeft&&this.height===e.height&&this.scrollHeight===e.scrollHeight&&this.scrollTop===e.scrollTop}withScrollDimensions(e,t){return new r(this._forceIntegerValues,void 0!==e.width?e.width:this.width,void 0!==e.scrollWidth?e.scrollWidth:this.scrollWidth,t?this.rawScrollLeft:this.scrollLeft,void 0!==e.height?e.height:this.height,void 0!==e.scrollHeight?e.scrollHeight:this.scrollHeight,t?this.rawScrollTop:this.scrollTop)}withScrollPosition(e){return new r(this._forceIntegerValues,this.width,this.scrollWidth,void 0!==e.scrollLeft?e.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,void 0!==e.scrollTop?e.scrollTop:this.rawScrollTop)}createScrollEvent(e,t){let i=this.width!==e.width,n=this.scrollWidth!==e.scrollWidth,o=this.scrollLeft!==e.scrollLeft,r=this.height!==e.height,s=this.scrollHeight!==e.scrollHeight,a=this.scrollTop!==e.scrollTop;return{inSmoothScrolling:t,oldWidth:e.width,oldScrollWidth:e.scrollWidth,oldScrollLeft:e.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:e.height,oldScrollHeight:e.scrollHeight,oldScrollTop:e.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:i,scrollWidthChanged:n,scrollLeftChanged:o,heightChanged:r,scrollHeightChanged:s,scrollTopChanged:a}}}class s extends o.JT{constructor(e){super(),this._scrollableBrand=void 0,this._onScroll=this._register(new n.Q5),this.onScroll=this._onScroll.event,this._smoothScrollDuration=e.smoothScrollDuration,this._scheduleAtNextAnimationFrame=e.scheduleAtNextAnimationFrame,this._state=new r(e.forceIntegerValues,0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(e){this._smoothScrollDuration=e}validateScrollPosition(e){return this._state.withScrollPosition(e)}getScrollDimensions(){return this._state}setScrollDimensions(e,t){var i;let n=this._state.withScrollDimensions(e,t);this._setState(n,!!this._smoothScrolling),null===(i=this._smoothScrolling)||void 0===i||i.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(e){let t=this._state.withScrollPosition(e);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t,!1)}setScrollPositionSmooth(e,t){if(0===this._smoothScrollDuration)return this.setScrollPositionNow(e);if(this._smoothScrolling){let i;e={scrollLeft:void 0===e.scrollLeft?this._smoothScrolling.to.scrollLeft:e.scrollLeft,scrollTop:void 0===e.scrollTop?this._smoothScrolling.to.scrollTop:e.scrollTop};let n=this._state.withScrollPosition(e);if(this._smoothScrolling.to.scrollLeft===n.scrollLeft&&this._smoothScrolling.to.scrollTop===n.scrollTop)return;i=t?new h(this._smoothScrolling.from,n,this._smoothScrolling.startTime,this._smoothScrolling.duration):this._smoothScrolling.combine(this._state,n,this._smoothScrollDuration),this._smoothScrolling.dispose(),this._smoothScrolling=i}else{let t=this._state.withScrollPosition(e);this._smoothScrolling=h.start(this._state,t,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}_performSmoothScrolling(){if(!this._smoothScrolling)return;let e=this._smoothScrolling.tick(),t=this._state.withScrollPosition(e);if(this._setState(t,!0),this._smoothScrolling){if(e.isDone){this._smoothScrolling.dispose(),this._smoothScrolling=null;return}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}}_setState(e,t){let i=this._state;i.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(i,t)))}}class a{constructor(e,t,i){this.scrollLeft=e,this.scrollTop=t,this.isDone=i}}function l(e,t){let i=t-e;return function(t){return e+i*(1-Math.pow(1-t,3))}}class h{constructor(e,t,i,n){this.from=e,this.to=t,this.duration=n,this.startTime=i,this.animationFrameDisposable=null,this._initAnimations()}_initAnimations(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)}_initAnimation(e,t,i){let n=Math.abs(e-t);if(n>2.5*i){var o,r;let n,s;return e=t.length?e:t[n]})}function l(e){return e.replace(/[<>&]/g,function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}})}function h(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function d(e,t=" "){let i=u(e,t);return c(i,t)}function u(e,t){if(!e||!t)return e;let i=t.length;if(0===i||0===e.length)return e;let n=0;for(;e.indexOf(t,n)===n;)n+=i;return e.substring(n)}function c(e,t){if(!e||!t)return e;let i=t.length,n=e.length;if(0===i||0===n)return e;let o=n,r=-1;for(;-1!==(r=e.lastIndexOf(t,o-1))&&r+i===o;){if(0===r)return"";o=r}return e.substring(0,o)}function g(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function p(e){return e.replace(/\*/g,"")}function m(e,t,i={}){if(!e)throw Error("Cannot create regex from empty string");t||(e=h(e)),i.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let n="";return i.global&&(n+="g"),i.matchCase||(n+="i"),i.multiline&&(n+="m"),i.unicode&&(n+="u"),new RegExp(e,n)}function f(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;let t=e.exec("");return!!(t&&0===e.lastIndex)}function _(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function v(e){return e.split(/\r\n|\r|\n/)}function C(e){for(let t=0,i=e.length;t=0;i--){let t=e.charCodeAt(i);if(32!==t&&9!==t)return i}return -1}function y(e,t){return et?1:0}function S(e,t,i=0,n=e.length,o=0,r=t.length){for(;ir)return 1}let s=n-i,a=r-o;return sa?1:0}function L(e,t){return k(e,t,0,e.length,0,t.length)}function k(e,t,i=0,n=e.length,o=0,r=t.length){for(;i=128||a>=128)return S(e.toLowerCase(),t.toLowerCase(),i,n,o,r);D(s)&&(s-=32),D(a)&&(a-=32);let l=s-a;if(0!==l)return l}let s=n-i,a=r-o;return sa?1:0}function N(e){return e>=48&&e<=57}function D(e){return e>=97&&e<=122}function x(e){return e>=65&&e<=90}function I(e,t){return e.length===t.length&&0===k(e,t)}function E(e,t){let i=t.length;return!(t.length>e.length)&&0===k(e,t,0,i)}function T(e,t){let i;let n=Math.min(e.length,t.length);for(i=0;i1){let n=e.charCodeAt(t-2);if(A(n))return O(n,i)}return i}(this._str,this._offset);return this._offset-=e>=65536?2:1,e}nextCodePoint(){let e=P(this._str,this._len,this._offset);return this._offset+=e>=65536?2:1,e}eol(){return this._offset>=this._len}}class B{constructor(e,t=0){this._iterator=new F(e,t)}get offset(){return this._iterator.offset}nextGraphemeLength(){let e=et.getInstance(),t=this._iterator,i=t.offset,n=e.getGraphemeBreakType(t.nextCodePoint());for(;!t.eol();){let i=t.offset,o=e.getGraphemeBreakType(t.nextCodePoint());if(ee(n,o)){t.setOffset(i);break}n=o}return t.offset-i}prevGraphemeLength(){let e=et.getInstance(),t=this._iterator,i=t.offset,n=e.getGraphemeBreakType(t.prevCodePoint());for(;t.offset>0;){let i=t.offset,o=e.getGraphemeBreakType(t.prevCodePoint());if(ee(o,n)){t.setOffset(i);break}n=o}return i-t.offset}eol(){return this._iterator.eol()}}function V(e,t){let i=new B(e,t);return i.nextGraphemeLength()}function W(e,t){let i=new B(e,t);return i.prevGraphemeLength()}function H(e,t){t>0&&R(e.charCodeAt(t))&&t--;let i=t+V(e,t),n=i-W(e,i);return[n,i]}let z=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE35\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDD23\uDE80-\uDEA9\uDEAD-\uDF45\uDF51-\uDF81\uDF86-\uDFF6]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD4B-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function K(e){return z.test(e)}let U=/^[\t\n\r\x20-\x7E]*$/;function $(e){return U.test(e)}let j=/[\u2028\u2029]/;function q(e){return j.test(e)}function G(e){return e>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function Q(e){return e>=127462&&e<=127487||8986===e||8987===e||9200===e||9203===e||e>=9728&&e<=10175||11088===e||11093===e||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129008||e>=129280&&e<=129535||e>=129648&&e<=129782}let Z=String.fromCharCode(65279);function Y(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function J(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function X(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function ee(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&(11!==e&&9!==e||9!==t&&10!==t)&&(12!==e&&10!==e||10!==t)&&5!==t&&13!==t&&7!==t&&1!==e&&(13!==e||14!==t)&&(6!==e||6!==t))}class et{constructor(){this._data=JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}static getInstance(){return et._INSTANCE||(et._INSTANCE=new et),et._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;let t=this._data,i=t.length/3,n=1;for(;n<=i;)if(et[3*n+1]))return t[3*n+2];n=2*n+1}return 0}}function ei(e,t){if(0===e)return 0;let i=function(e,t){var i;let n=new F(t,e),o=n.prevCodePoint();for(;127995<=(i=o)&&i<=127999||65039===o||8419===o;){if(0===n.offset)return;o=n.prevCodePoint()}if(!Q(o))return;let r=n.offset;if(r>0){let e=n.prevCodePoint();8205===e&&(r=n.offset)}return r}(e,t);if(void 0!==i)return i;let n=new F(t,e);return n.prevCodePoint(),n.offset}et._INSTANCE=null;let en="\xa0";class eo{constructor(e){this.confusableDictionary=e}static getInstance(e){return eo.cache.get(Array.from(e))}static getLocales(){return eo._locales.getValue()}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}eo.ambiguousCharacterData=new o.o(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),eo.cache=new n.t(e=>{let t;function i(e){let t=new Map;for(let i=0;i!e.startsWith("_")&&e in n);for(let e of(0===o.length&&(o=["_default"]),o)){let o=i(n[e]);t=function(e,t){if(!e)return t;let i=new Map;for(let[n,o]of e)t.has(n)&&i.set(n,o);return i}(t,o)}let r=i(n._common),s=function(e,t){let i=new Map(e);for(let[e,n]of t)i.set(e,n);return i}(r,t);return new eo(s)}),eo._locales=new o.o(()=>Object.keys(eo.ambiguousCharacterData.getValue()).filter(e=>!e.startsWith("_")));class er{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(er.getRawData())),this._data}static isInvisibleCharacter(e){return er.getData().has(e)}static get codePoints(){return er.getData()}}er._data=void 0},98401:function(e,t,i){"use strict";function n(e){return Array.isArray(e)}function o(e){return"string"==typeof e}function r(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function s(e){let t=Object.getPrototypeOf(Uint8Array);return"object"==typeof e&&e instanceof t}function a(e){return"number"==typeof e&&!isNaN(e)}function l(e){return!!e&&"function"==typeof e[Symbol.iterator]}function h(e){return!0===e||!1===e}function d(e){return void 0===e}function u(e){return!c(e)}function c(e){return d(e)||null===e}function g(e,t){if(!e)throw Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function p(e){if(c(e))throw Error("Assertion Failed: argument is undefined or null");return e}function m(e){return"function"==typeof e}function f(e,t){let i=Math.min(e.length,t.length);for(let n=0;nfunction(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},n={};for(let t of e)n[t]=i(t);return n}function C(e){return null===e?void 0:e}function b(e,t="Unreachable"){throw Error(t)}i.d(t,{$E:function(){return _},$K:function(){return u},D8:function(){return f},HD:function(){return o},IU:function(){return v},Jp:function(){return c},Kn:function(){return r},TW:function(){return l},cW:function(){return p},f6:function(){return C},fU:function(){return s},hj:function(){return a},jn:function(){return h},kJ:function(){return n},mf:function(){return m},o8:function(){return d},p_:function(){return g},vE:function(){return b}})},85427:function(e,t,i){"use strict";function n(e){return e<0?0:e>255?255:0|e}function o(e){return e<0?0:e>4294967295?4294967295:0|e}i.d(t,{A:function(){return o},K:function(){return n}})},70666:function(e,t,i){"use strict";i.d(t,{o:function(){return d},q:function(){return f}});var n=i(55336),o=i(1432);let r=/^\w[\w\d+.-]*$/,s=/^\//,a=/^\/\//;function l(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!r.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!s.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}let h=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class d{constructor(e,t,i,n,o,r=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=e||r?e:"file",this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,i||""),this.query=n||"",this.fragment=o||"",l(this,r))}static isUri(e){return e instanceof d||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}get fsPath(){return f(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:i,path:n,query:o,fragment:r}=e;return(void 0===t?t=this.scheme:null===t&&(t=""),void 0===i?i=this.authority:null===i&&(i=""),void 0===n?n=this.path:null===n&&(n=""),void 0===o?o=this.query:null===o&&(o=""),void 0===r?r=this.fragment:null===r&&(r=""),t===this.scheme&&i===this.authority&&n===this.path&&o===this.query&&r===this.fragment)?this:new c(t,i,n,o,r)}static parse(e,t=!1){let i=h.exec(e);return i?new c(i[2]||"",C(i[4]||""),C(i[5]||""),C(i[7]||""),C(i[9]||""),t):new c("","","","","")}static file(e){let t="";if(o.ED&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1]){let i=e.indexOf("/",2);-1===i?(t=e.substring(2),e="/"):(t=e.substring(2,i),e=e.substring(i)||"/")}return new c("file",t,e,"","")}static from(e){let t=new c(e.scheme,e.authority,e.path,e.query,e.fragment);return l(t,!0),t}static joinPath(e,...t){let i;if(!e.path)throw Error("[UriError]: cannot call joinPath on URI without path");return i=o.ED&&"file"===e.scheme?d.file(n.Ku.join(f(e,!0),...t)).path:n.KR.join(e.path,...t),e.with({path:i})}toString(e=!1){return _(this,e)}toJSON(){return this}static revive(e){if(!e||e instanceof d)return e;{let t=new c(e);return t._formatted=e.external,t._fsPath=e._sep===u?e.fsPath:null,t}}}let u=o.ED?1:void 0;class c extends d{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=f(this,!1)),this._fsPath}toString(e=!1){return e?_(this,!0):(this._formatted||(this._formatted=_(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=u),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let g={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function p(e,t){let i;let n=-1;for(let o=0;o=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57||45===r||46===r||95===r||126===r||t&&47===r)-1!==n&&(i+=encodeURIComponent(e.substring(n,o)),n=-1),void 0!==i&&(i+=e.charAt(o));else{void 0===i&&(i=e.substr(0,o));let t=g[r];void 0!==t?(-1!==n&&(i+=encodeURIComponent(e.substring(n,o)),n=-1),i+=t):-1===n&&(n=o)}}return -1!==n&&(i+=encodeURIComponent(e.substring(n))),void 0!==i?i:e}function m(e){let t;for(let i=0;i1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,o.ED&&(i=i.replace(/\//g,"\\")),i}function _(e,t){let i=t?m:p,n="",{scheme:o,authority:r,path:s,query:a,fragment:l}=e;if(o&&(n+=o+":"),(r||"file"===o)&&(n+="//"),r){let e=r.indexOf("@");if(-1!==e){let t=r.substr(0,e);r=r.substr(e+1),-1===(e=t.indexOf(":"))?n+=i(t,!1):n+=i(t.substr(0,e),!1)+":"+i(t.substr(e+1),!1),n+="@"}-1===(e=(r=r.toLowerCase()).indexOf(":"))?n+=i(r,!1):n+=i(r.substr(0,e),!1)+r.substr(e)}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){let e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){let e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}n+=i(s,!0)}return a&&(n+="?"+i(a,!1)),l&&(n+="#"+(t?l:p(l,!1))),n}let v=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function C(e){return e.match(v)?e.replace(v,e=>(function e(t){try{return decodeURIComponent(t)}catch(i){if(t.length>3)return t.substr(0,3)+e(t.substr(3));return t}})(e)):e}},98e3:function(e,t,i){"use strict";i.d(t,{R:function(){return n}});let n=function(){let e;if("object"==typeof crypto&&"function"==typeof crypto.randomUUID)return crypto.randomUUID.bind(crypto);e="object"==typeof crypto&&"function"==typeof crypto.getRandomValues?crypto.getRandomValues.bind(crypto):function(e){for(let t=0;t{if(t&&"object"==typeof t||"function"==typeof t)for(let o of a(t))l.call(e,o)||o===i||r(e,o,{get:()=>t[o],enumerable:!(n=s(t,o))||n.enumerable});return e},d={};h(d,o,"default"),n&&h(n,o,"default");var u={},c={},g=class{static getOrCreate(e){return c[e]||(c[e]=new g(e)),c[e]}_languageId;_loadingTriggered;_lazyLoadPromise;_lazyLoadPromiseResolve;_lazyLoadPromiseReject;constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((e,t)=>{this._lazyLoadPromiseResolve=e,this._lazyLoadPromiseReject=t})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,u[this._languageId].loader().then(e=>this._lazyLoadPromiseResolve(e),e=>this._lazyLoadPromiseReject(e))),this._lazyLoadPromise}};function p(e){let t=e.id;u[t]=e,d.languages.register(e);let i=g.getOrCreate(t);d.languages.registerTokensProviderFactory(t,{create:async()=>{let e=await i.load();return e.language}}),d.languages.onLanguage(t,async()=>{let e=await i.load();d.languages.setLanguageConfiguration(t,e.conf)})}},96337:function(e,t,i){"use strict";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/(0,i(25552).H)({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>i.e(7778).then(i.bind(i,27778))})},52136:function(e,t,i){"use strict";i.d(t,{N:function(){return o}});var n=i(38626);function o(e,t){e instanceof n.Z?(e.setFontFamily(t.getMassagedFontFamily()),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setFontFeatureSettings(t.fontFeatureSettings),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)):(e.style.fontFamily=t.getMassagedFontFamily(),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.fontFeatureSettings=t.fontFeatureSettings,e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px")}},54534:function(e,t,i){"use strict";i.d(t,{I:function(){return r}});var n=i(9917),o=i(4669);class r extends n.JT{constructor(e,t){super(),this._onDidChange=this._register(new o.Q5),this.onDidChange=this._onDidChange.event,this._referenceDomElement=e,this._width=-1,this._height=-1,this._resizeObserver=null,this.measureReferenceDomElement(!1,t)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this._width}getHeight(){return this._height}startObserving(){!this._resizeObserver&&this._referenceDomElement&&(this._resizeObserver=new ResizeObserver(e=>{e&&e[0]&&e[0].contentRect?this.observe({width:e[0].contentRect.width,height:e[0].contentRect.height}):this.observe()}),this._resizeObserver.observe(this._referenceDomElement))}stopObserving(){this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)}observe(e){this.measureReferenceDomElement(!0,e)}measureReferenceDomElement(e,t){let i=0,n=0;t?(i=t.width,n=t.height):this._referenceDomElement&&(i=this._referenceDomElement.clientWidth,n=this._referenceDomElement.clientHeight),i=Math.max(5,i),n=Math.max(5,n),(this._width!==i||this._height!==n)&&(this._width=i,this._height=n,e&&this._onDidChange.fire())}}},66059:function(e,t,i){"use strict";i.d(t,{g:function(){return g}});var n=i(16268),o=i(4669),r=i(9917),s=i(52136);class a{constructor(e,t){this.chr=e,this.type=t,this.width=0}fulfill(e){this.width=e}}class l{constructor(e,t){this._bareFontInfo=e,this._requests=t,this._container=null,this._testElements=null}read(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){let e=document.createElement("div");e.style.position="absolute",e.style.top="-50000px",e.style.width="50000px";let t=document.createElement("div");(0,s.N)(t,this._bareFontInfo),e.appendChild(t);let i=document.createElement("div");(0,s.N)(i,this._bareFontInfo),i.style.fontWeight="bold",e.appendChild(i);let n=document.createElement("div");(0,s.N)(n,this._bareFontInfo),n.style.fontStyle="italic",e.appendChild(n);let o=[];for(let e of this._requests){let r;0===e.type&&(r=t),2===e.type&&(r=i),1===e.type&&(r=n),r.appendChild(document.createElement("br"));let s=document.createElement("span");l._render(s,e),r.appendChild(s),o.push(s)}this._container=e,this._testElements=o}static _render(e,t){if(" "===t.chr){let t="\xa0";for(let e=0;e<8;e++)t+=t;e.innerText=t}else{let i=t.chr;for(let e=0;e<8;e++)i+=i;e.textContent=i}}_readFromDomElements(){for(let e=0,t=this._requests.length;e{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings()},5e3))}_evictUntrustedReadings(){let e=this._cache.getValues(),t=!1;for(let i of e)i.isTrusted||(t=!0,this._cache.remove(i));t&&this._onDidChange.fire()}readFontInfo(e){if(!this._cache.has(e)){let t=this._actualReadFontInfo(e);(t.typicalHalfwidthCharacterWidth<=2||t.typicalFullwidthCharacterWidth<=2||t.spaceWidth<=2||t.maxDigitWidth<=2)&&(t=new d.pR({pixelRatio:n.PixelRatio.value,fontFamily:t.fontFamily,fontWeight:t.fontWeight,fontSize:t.fontSize,fontFeatureSettings:t.fontFeatureSettings,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing,isMonospace:t.isMonospace,typicalHalfwidthCharacterWidth:Math.max(t.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(t.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:t.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(t.spaceWidth,5),middotWidth:Math.max(t.middotWidth,5),wsmiddotWidth:Math.max(t.wsmiddotWidth,5),maxDigitWidth:Math.max(t.maxDigitWidth,5)},!1)),this._writeToCache(e,t)}return this._cache.get(e)}_createRequest(e,t,i,n){let o=new a(e,t);return i.push(o),null==n||n.push(o),o}_actualReadFontInfo(e){let t=[],i=[],o=this._createRequest("n",0,t,i),r=this._createRequest("m",0,t,null),s=this._createRequest(" ",0,t,i),a=this._createRequest("0",0,t,i),u=this._createRequest("1",0,t,i),c=this._createRequest("2",0,t,i),g=this._createRequest("3",0,t,i),p=this._createRequest("4",0,t,i),m=this._createRequest("5",0,t,i),f=this._createRequest("6",0,t,i),_=this._createRequest("7",0,t,i),v=this._createRequest("8",0,t,i),C=this._createRequest("9",0,t,i),b=this._createRequest("→",0,t,i),w=this._createRequest("→",0,t,null),y=this._createRequest("\xb7",0,t,i),S=this._createRequest(String.fromCharCode(11825),0,t,null),L="|/-_ilm%";for(let e=0,n=L.length;e.001){N=!1;break}}let x=!0;return N&&w.width!==D&&(x=!1),w.width>b.width&&(x=!1),new d.pR({pixelRatio:n.PixelRatio.value,fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontSize:e.fontSize,fontFeatureSettings:e.fontFeatureSettings,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing,isMonospace:N,typicalHalfwidthCharacterWidth:o.width,typicalFullwidthCharacterWidth:r.width,canUseHalfwidthRightwardsArrow:x,spaceWidth:s.width,middotWidth:y.width,wsmiddotWidth:S.width,maxDigitWidth:k},!0)}}class c{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(e){let t=e.getId();return!!this._values[t]}get(e){let t=e.getId();return this._values[t]}put(e,t){let i=e.getId();this._keys[i]=e,this._values[i]=t}remove(e){let t=e.getId();delete this._keys[t],delete this._values[t]}getValues(){return Object.keys(this._keys).map(e=>this._values[e])}}let g=new u},37940:function(e,t,i){"use strict";i.d(t,{n:function(){return o}});var n=i(4669);let o=new class{constructor(){this._tabFocus=!1,this._onDidChangeTabFocus=new n.Q5,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(){return this._tabFocus}setTabFocusMode(e){this._tabFocus!==e&&(this._tabFocus=e,this._onDidChangeTabFocus.fire(this._tabFocus))}}},35715:function(e,t,i){"use strict";i.d(t,{Fz:function(){return _},Nl:function(){return m},RA:function(){return p},Tj:function(){return C},pd:function(){return n}});var n,o=i(16268),r=i(65321),s=i(59069),a=i(15393),l=i(4669),h=i(9917),d=i(81170),u=i(97295),c=i(15887),g=i(3860);(n||(n={})).Tap="-monaco-textarea-synthetic-tap";let p={forceCopyWithSyntaxHighlighting:!1};class m{constructor(){this._lastState=null}set(e,t){this._lastState={lastCopiedValue:e,data:t}}get(e){return this._lastState&&this._lastState.lastCopiedValue===e?this._lastState.data:(this._lastState=null,null)}}m.INSTANCE=new m;class f{constructor(){this._lastTypeTextLength=0}handleCompositionUpdate(e){e=e||"";let t={text:e,replacePrevCharCnt:this._lastTypeTextLength,replaceNextCharCnt:0,positionDelta:0};return this._lastTypeTextLength=e.length,t}}class _ extends h.JT{constructor(e,t,i,n){super(),this._host=e,this._textArea=t,this._OS=i,this._browser=n,this._onFocus=this._register(new l.Q5),this.onFocus=this._onFocus.event,this._onBlur=this._register(new l.Q5),this.onBlur=this._onBlur.event,this._onKeyDown=this._register(new l.Q5),this.onKeyDown=this._onKeyDown.event,this._onKeyUp=this._register(new l.Q5),this.onKeyUp=this._onKeyUp.event,this._onCut=this._register(new l.Q5),this.onCut=this._onCut.event,this._onPaste=this._register(new l.Q5),this.onPaste=this._onPaste.event,this._onType=this._register(new l.Q5),this.onType=this._onType.event,this._onCompositionStart=this._register(new l.Q5),this.onCompositionStart=this._onCompositionStart.event,this._onCompositionUpdate=this._register(new l.Q5),this.onCompositionUpdate=this._onCompositionUpdate.event,this._onCompositionEnd=this._register(new l.Q5),this.onCompositionEnd=this._onCompositionEnd.event,this._onSelectionChangeRequest=this._register(new l.Q5),this.onSelectionChangeRequest=this._onSelectionChangeRequest.event,this._asyncTriggerCut=this._register(new a.pY(()=>this._onCut.fire(),0)),this._asyncFocusGainWriteScreenReaderContent=this._register(new a.pY(()=>this.writeScreenReaderContent("asyncFocusGain"),0)),this._textAreaState=c.un.EMPTY,this._selectionChangeListener=null,this.writeScreenReaderContent("ctor"),this._hasFocus=!1,this._currentComposition=null;let o=null;this._register(this._textArea.onKeyDown(e=>{let t=new s.y(e);(109===t.keyCode||this._currentComposition&&1===t.keyCode)&&t.stopPropagation(),t.equals(9)&&t.preventDefault(),o=t,this._onKeyDown.fire(t)})),this._register(this._textArea.onKeyUp(e=>{let t=new s.y(e);this._onKeyUp.fire(t)})),this._register(this._textArea.onCompositionStart(e=>{c.al&&console.log("[compositionstart]",e);let t=new f;if(this._currentComposition){this._currentComposition=t;return}if(this._currentComposition=t,2===this._OS&&o&&o.equals(109)&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&this._textAreaState.selectionStart>0&&this._textAreaState.value.substr(this._textAreaState.selectionStart-1,1)===e.data&&("ArrowRight"===o.code||"ArrowLeft"===o.code)){c.al&&console.log("[compositionstart] Handling long press case on macOS + arrow key",e),t.handleCompositionUpdate("x"),this._onCompositionStart.fire({data:e.data});return}if(this._browser.isAndroid){this._onCompositionStart.fire({data:e.data});return}this._onCompositionStart.fire({data:e.data})})),this._register(this._textArea.onCompositionUpdate(e=>{c.al&&console.log("[compositionupdate]",e);let t=this._currentComposition;if(!t)return;if(this._browser.isAndroid){let t=c.un.readFromTextArea(this._textArea),i=c.un.deduceAndroidCompositionInput(this._textAreaState,t);this._textAreaState=t,this._onType.fire(i),this._onCompositionUpdate.fire(e);return}let i=t.handleCompositionUpdate(e.data);this._textAreaState=c.un.readFromTextArea(this._textArea),this._onType.fire(i),this._onCompositionUpdate.fire(e)})),this._register(this._textArea.onCompositionEnd(e=>{c.al&&console.log("[compositionend]",e);let t=this._currentComposition;if(!t)return;if(this._currentComposition=null,this._browser.isAndroid){let e=c.un.readFromTextArea(this._textArea),t=c.un.deduceAndroidCompositionInput(this._textAreaState,e);this._textAreaState=e,this._onType.fire(t),this._onCompositionEnd.fire();return}let i=t.handleCompositionUpdate(e.data);this._textAreaState=c.un.readFromTextArea(this._textArea),this._onType.fire(i),this._onCompositionEnd.fire()})),this._register(this._textArea.onInput(e=>{if(c.al&&console.log("[input]",e),this._textArea.setIgnoreSelectionChangeTime("received input event"),this._currentComposition)return;let t=c.un.readFromTextArea(this._textArea),i=c.un.deduceInput(this._textAreaState,t,2===this._OS);0===i.replacePrevCharCnt&&1===i.text.length&&u.ZG(i.text.charCodeAt(0))||(this._textAreaState=t,(""!==i.text||0!==i.replacePrevCharCnt||0!==i.replaceNextCharCnt||0!==i.positionDelta)&&this._onType.fire(i))})),this._register(this._textArea.onCut(e=>{this._textArea.setIgnoreSelectionChangeTime("received cut event"),this._ensureClipboardGetsEditorSelection(e),this._asyncTriggerCut.schedule()})),this._register(this._textArea.onCopy(e=>{this._ensureClipboardGetsEditorSelection(e)})),this._register(this._textArea.onPaste(e=>{if(this._textArea.setIgnoreSelectionChangeTime("received paste event"),e.preventDefault(),!e.clipboardData)return;let[t,i]=v.getTextData(e.clipboardData);t&&(i=i||m.INSTANCE.get(t),this._onPaste.fire({text:t,metadata:i}))})),this._register(this._textArea.onFocus(()=>{let e=this._hasFocus;this._setHasFocus(!0),this._browser.isSafari&&!e&&this._hasFocus&&this._asyncFocusGainWriteScreenReaderContent.schedule()})),this._register(this._textArea.onBlur(()=>{this._currentComposition&&(this._currentComposition=null,this.writeScreenReaderContent("blurWithoutCompositionEnd"),this._onCompositionEnd.fire()),this._setHasFocus(!1)})),this._register(this._textArea.onSyntheticTap(()=>{this._browser.isAndroid&&this._currentComposition&&(this._currentComposition=null,this.writeScreenReaderContent("tapWithoutCompositionEnd"),this._onCompositionEnd.fire())}))}_installSelectionChangeListener(){let e=0;return r.nm(document,"selectionchange",t=>{if(!this._hasFocus||this._currentComposition||!this._browser.isChrome)return;let i=Date.now(),n=i-e;if(e=i,n<5)return;let o=i-this._textArea.getIgnoreSelectionChangeTime();if(this._textArea.resetSelectionChangeTime(),o<100||!this._textAreaState.selectionStartPosition||!this._textAreaState.selectionEndPosition)return;let r=this._textArea.getValue();if(this._textAreaState.value!==r)return;let s=this._textArea.getSelectionStart(),a=this._textArea.getSelectionEnd();if(this._textAreaState.selectionStart===s&&this._textAreaState.selectionEnd===a)return;let l=this._textAreaState.deduceEditorPosition(s),h=this._host.deduceModelPosition(l[0],l[1],l[2]),d=this._textAreaState.deduceEditorPosition(a),u=this._host.deduceModelPosition(d[0],d[1],d[2]),c=new g.Y(h.lineNumber,h.column,u.lineNumber,u.column);this._onSelectionChangeRequest.fire(c)})}dispose(){super.dispose(),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)}focusTextArea(){this._setHasFocus(!0),this.refreshFocusState()}isFocused(){return this._hasFocus}refreshFocusState(){this._setHasFocus(this._textArea.hasFocus())}_setHasFocus(e){this._hasFocus!==e&&(this._hasFocus=e,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&this.writeScreenReaderContent("focusgain"),this._hasFocus?this._onFocus.fire():this._onBlur.fire())}_setAndWriteTextAreaState(e,t){this._hasFocus||(t=t.collapseSelection()),t.writeToTextArea(e,this._textArea,this._hasFocus),this._textAreaState=t}writeScreenReaderContent(e){this._currentComposition||this._setAndWriteTextAreaState(e,this._host.getScreenReaderContent(this._textAreaState))}_ensureClipboardGetsEditorSelection(e){let t=this._host.getDataToCopy(),i={version:1,isFromEmptySelection:t.isFromEmptySelection,multicursorText:t.multicursorText,mode:t.mode};m.INSTANCE.set(this._browser.isFirefox?t.text.replace(/\r\n/g,"\n"):t.text,i),e.preventDefault(),e.clipboardData&&v.setTextData(e.clipboardData,t.text,t.html,i)}}class v{static getTextData(e){let t=e.getData(d.v.text),i=null,n=e.getData("vscode-editor-data");if("string"==typeof n)try{i=JSON.parse(n),1!==i.version&&(i=null)}catch(e){}if(0===t.length&&null===i&&e.files.length>0){let t=Array.prototype.slice.call(e.files,0);return[t.map(e=>e.name).join("\n"),null]}return[t,i]}static setTextData(e,t,i,n){e.setData(d.v.text,t),"string"==typeof i&&e.setData("text/html",i),e.setData("vscode-editor-data",JSON.stringify(n))}}class C extends h.JT{constructor(e){super(),this._actual=e,this.onKeyDown=this._register(r.IC(this._actual,"keydown")).event,this.onKeyUp=this._register(r.IC(this._actual,"keyup")).event,this.onCompositionStart=this._register(r.IC(this._actual,"compositionstart")).event,this.onCompositionUpdate=this._register(r.IC(this._actual,"compositionupdate")).event,this.onCompositionEnd=this._register(r.IC(this._actual,"compositionend")).event,this.onInput=this._register(r.IC(this._actual,"input")).event,this.onCut=this._register(r.IC(this._actual,"cut")).event,this.onCopy=this._register(r.IC(this._actual,"copy")).event,this.onPaste=this._register(r.IC(this._actual,"paste")).event,this.onFocus=this._register(r.IC(this._actual,"focus")).event,this.onBlur=this._register(r.IC(this._actual,"blur")).event,this._onSyntheticTap=this._register(new l.Q5),this.onSyntheticTap=this._onSyntheticTap.event,this._ignoreSelectionChangeTime=0,this._register(r.nm(this._actual,n.Tap,()=>this._onSyntheticTap.fire()))}hasFocus(){let e=r.Ay(this._actual);return e?e.activeElement===this._actual:!!r.Uw(this._actual)&&document.activeElement===this._actual}setIgnoreSelectionChangeTime(e){this._ignoreSelectionChangeTime=Date.now()}getIgnoreSelectionChangeTime(){return this._ignoreSelectionChangeTime}resetSelectionChangeTime(){this._ignoreSelectionChangeTime=0}getValue(){return this._actual.value}setValue(e,t){let i=this._actual;i.value!==t&&(this.setIgnoreSelectionChangeTime("setValue"),i.value=t)}getSelectionStart(){return"backward"===this._actual.selectionDirection?this._actual.selectionEnd:this._actual.selectionStart}getSelectionEnd(){return"backward"===this._actual.selectionDirection?this._actual.selectionStart:this._actual.selectionEnd}setSelectionRange(e,t,i){let n=this._actual,s=null,a=r.Ay(n);s=a?a.activeElement:document.activeElement;let l=s===n,h=n.selectionStart,d=n.selectionEnd;if(l&&h===t&&d===i){o.isFirefox&&window.parent!==window&&n.focus();return}if(l){this.setIgnoreSelectionChangeTime("setSelectionRange"),n.setSelectionRange(t,i),o.isFirefox&&window.parent!==window&&n.focus();return}try{let e=r.vL(n);this.setIgnoreSelectionChangeTime("setSelectionRange"),n.focus(),n.setSelectionRange(t,i),r._0(n,e)}catch(e){}}}},15887:function(e,t,i){"use strict";i.d(t,{al:function(){return s},ee:function(){return l},un:function(){return a}});var n=i(97295),o=i(50187),r=i(24314);let s=!1;class a{constructor(e,t,i,n,o){this.value=e,this.selectionStart=t,this.selectionEnd=i,this.selectionStartPosition=n,this.selectionEndPosition=o}toString(){return`[ <${this.value}>, selectionStart: ${this.selectionStart}, selectionEnd: ${this.selectionEnd}]`}static readFromTextArea(e){return new a(e.getValue(),e.getSelectionStart(),e.getSelectionEnd(),null,null)}collapseSelection(){return new a(this.value,this.value.length,this.value.length,null,null)}writeToTextArea(e,t,i){s&&console.log(`writeToTextArea ${e}: ${this.toString()}`),t.setValue(e,this.value),i&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)}deduceEditorPosition(e){if(e<=this.selectionStart){let t=this.value.substring(e,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,t,-1)}if(e>=this.selectionEnd){let t=this.value.substring(this.selectionEnd,e);return this._finishDeduceEditorPosition(this.selectionEndPosition,t,1)}let t=this.value.substring(this.selectionStart,e);if(-1===t.indexOf(String.fromCharCode(8230)))return this._finishDeduceEditorPosition(this.selectionStartPosition,t,1);let i=this.value.substring(e,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,i,-1)}_finishDeduceEditorPosition(e,t,i){let n=0,o=-1;for(;-1!==(o=t.indexOf("\n",o+1));)n++;return[e,i*t.length,n]}static deduceInput(e,t,i){if(!e)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};s&&(console.log("------------------------deduceInput"),console.log(`PREVIOUS STATE: ${e.toString()}`),console.log(`CURRENT STATE: ${t.toString()}`));let o=Math.min(n.Mh(e.value,t.value),e.selectionStart,t.selectionStart),r=Math.min(n.P1(e.value,t.value),e.value.length-e.selectionEnd,t.value.length-t.selectionEnd),a=e.value.substring(o,e.value.length-r),l=t.value.substring(o,t.value.length-r),h=e.selectionStart-o,d=e.selectionEnd-o,u=t.selectionStart-o,c=t.selectionEnd-o;if(s&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${a}>, selectionStart: ${h}, selectionEnd: ${d}`),console.log(`AFTER DIFFING CURRENT STATE: <${l}>, selectionStart: ${u}, selectionEnd: ${c}`)),u===c){let t=e.selectionStart-o;return s&&console.log(`REMOVE PREVIOUS: ${t} chars`),{text:l,replacePrevCharCnt:t,replaceNextCharCnt:0,positionDelta:0}}return{text:l,replacePrevCharCnt:d-h,replaceNextCharCnt:0,positionDelta:0}}static deduceAndroidCompositionInput(e,t){if(!e)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};if(s&&(console.log("------------------------deduceAndroidCompositionInput"),console.log(`PREVIOUS STATE: ${e.toString()}`),console.log(`CURRENT STATE: ${t.toString()}`)),e.value===t.value)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:t.selectionEnd-e.selectionEnd};let i=Math.min(n.Mh(e.value,t.value),e.selectionEnd),o=Math.min(n.P1(e.value,t.value),e.value.length-e.selectionEnd),r=e.value.substring(i,e.value.length-o),a=t.value.substring(i,t.value.length-o),l=e.selectionStart-i,h=e.selectionEnd-i,d=t.selectionStart-i,u=t.selectionEnd-i;return s&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${r}>, selectionStart: ${l}, selectionEnd: ${h}`),console.log(`AFTER DIFFING CURRENT STATE: <${a}>, selectionStart: ${d}, selectionEnd: ${u}`)),{text:a,replacePrevCharCnt:h,replaceNextCharCnt:r.length-h,positionDelta:u-a.length}}}a.EMPTY=new a("",0,0,null,null);class l{static _getPageOfLine(e,t){return Math.floor((e-1)/t)}static _getRangeForPage(e,t){let i=e*t;return new r.e(i+1,1,i+t+1,1)}static fromEditorSelection(e,t,i,n,s){let h;let d=l._getPageOfLine(i.startLineNumber,n),u=l._getRangeForPage(d,n),c=l._getPageOfLine(i.endLineNumber,n),g=l._getRangeForPage(c,n),p=u.intersectRanges(new r.e(1,1,i.startLineNumber,i.startColumn)),m=t.getValueInRange(p,1),f=t.getLineCount(),_=t.getLineMaxColumn(f),v=g.intersectRanges(new r.e(i.endLineNumber,i.endColumn,f,_)),C=t.getValueInRange(v,1);if(d===c||d+1===c)h=t.getValueInRange(i,1);else{let e=u.intersectRanges(i),n=g.intersectRanges(i);h=t.getValueInRange(e,1)+String.fromCharCode(8230)+t.getValueInRange(n,1)}return s&&(m.length>500&&(m=m.substring(m.length-500,m.length)),C.length>500&&(C=C.substring(0,500)),h.length>1e3&&(h=h.substring(0,500)+String.fromCharCode(8230)+h.substring(h.length-500,h.length))),new a(m+h+C,m.length,m.length+h.length,new o.L(i.startLineNumber,i.startColumn),new o.L(i.endLineNumber,i.endColumn))}}},42549:function(e,t,i){"use strict";i.d(t,{wk:function(){return l},Ox:function(){return a}});var n,o,r,s,a,l,h=i(63580),d=i(16268),u=i(98401),c=i(85152),g=i(16830),p=i(11640),m=i(55343),f=i(50187),_=i(24314);class v{static columnSelect(e,t,i,n,o,r){let s=Math.abs(o-i)+1,a=i>o,l=n>r,h=nr||pn||g0&&n--,v.columnSelect(e,t,i.fromViewLineNumber,i.fromViewVisualColumn,i.toViewLineNumber,n)}static columnSelectRight(e,t,i){let n=0,o=Math.min(i.fromViewLineNumber,i.toViewLineNumber),r=Math.max(i.fromViewLineNumber,i.toViewLineNumber);for(let i=o;i<=r;i++){let o=t.getLineMaxColumn(i),r=e.visibleColumnFromColumn(t,new f.L(i,o));n=Math.max(n,r)}let s=i.toViewVisualColumn;return s{let i=e.get(p.$).getFocusedCodeEditor();return!!(i&&i.hasTextFocus())&&this._runEditorCommand(e,i,t)}),e.addImplementation(1e3,"generic-dom-input-textarea",(e,t)=>{let i=document.activeElement;return!!(i&&["input","textarea"].indexOf(i.tagName.toLowerCase())>=0)&&(this.runDOMCommand(),!0)}),e.addImplementation(0,"generic-dom",(e,t)=>{let i=e.get(p.$).getActiveCodeEditor();return!!i&&(i.focus(),this._runEditorCommand(e,i,t))})}_runEditorCommand(e,t,i){let n=this.runEditorCommand(e,t,i);return!n||n}}!function(e){class t extends k{constructor(e){super(e),this._minimalReveal=e.minimalReveal,this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement();let i=e.setCursorStates(t.source,3,[b.P.moveTo(e,e.getPrimaryCursorState(),this._inSelectionMode,t.position,t.viewPosition)]);i&&e.revealPrimaryCursor(t.source,!0,this._minimalReveal)}}e.MoveTo=(0,g.fK)(new t({id:"_moveTo",minimalReveal:!0,inSelectionMode:!1,precondition:void 0})),e.MoveToSelect=(0,g.fK)(new t({id:"_moveToSelect",minimalReveal:!1,inSelectionMode:!0,precondition:void 0}));class i extends k{runCoreEditorCommand(e,t){e.model.pushStackElement();let i=this._getColumnSelectResult(e,e.getPrimaryCursorState(),e.getCursorColumnSelectData(),t);e.setCursorStates(t.source,3,i.viewStates.map(e=>m.Vi.fromViewState(e))),e.setCursorColumnSelectData({isReal:!0,fromViewLineNumber:i.fromLineNumber,fromViewVisualColumn:i.fromVisualColumn,toViewLineNumber:i.toLineNumber,toViewVisualColumn:i.toVisualColumn}),i.reversed?e.revealTopMostCursor(t.source):e.revealBottomMostCursor(t.source)}}e.ColumnSelect=(0,g.fK)(new class extends i{constructor(){super({id:"columnSelect",precondition:void 0})}_getColumnSelectResult(e,t,i,n){let o=e.model.validatePosition(n.position),r=e.coordinatesConverter.validateViewPosition(new f.L(n.viewPosition.lineNumber,n.viewPosition.column),o),s=n.doColumnSelect?i.fromViewLineNumber:r.lineNumber,a=n.doColumnSelect?i.fromViewVisualColumn:n.mouseColumn-1;return v.columnSelect(e.cursorConfig,e,s,a,r.lineNumber,n.mouseColumn-1)}}),e.CursorColumnSelectLeft=(0,g.fK)(new class extends i{constructor(){super({id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:3599,linux:{primary:0}}})}_getColumnSelectResult(e,t,i,n){return v.columnSelectLeft(e.cursorConfig,e,i)}}),e.CursorColumnSelectRight=(0,g.fK)(new class extends i{constructor(){super({id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:3601,linux:{primary:0}}})}_getColumnSelectResult(e,t,i,n){return v.columnSelectRight(e.cursorConfig,e,i)}});class n extends i{constructor(e){super(e),this._isPaged=e.isPaged}_getColumnSelectResult(e,t,i,n){return v.columnSelectUp(e.cursorConfig,e,i,this._isPaged)}}e.CursorColumnSelectUp=(0,g.fK)(new n({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:3600,linux:{primary:0}}})),e.CursorColumnSelectPageUp=(0,g.fK)(new n({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:3595,linux:{primary:0}}}));class o extends i{constructor(e){super(e),this._isPaged=e.isPaged}_getColumnSelectResult(e,t,i,n){return v.columnSelectDown(e.cursorConfig,e,i,this._isPaged)}}e.CursorColumnSelectDown=(0,g.fK)(new o({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:3602,linux:{primary:0}}})),e.CursorColumnSelectPageDown=(0,g.fK)(new o({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:3596,linux:{primary:0}}}));class a extends k{constructor(){super({id:"cursorMove",precondition:void 0,description:b.N.description})}runCoreEditorCommand(e,t){let i=b.N.parse(t);i&&this._runCursorMove(e,t.source,i)}_runCursorMove(e,t,i){e.model.pushStackElement(),e.setCursorStates(t,3,a._move(e,e.getCursorStates(),i)),e.revealPrimaryCursor(t,!0)}static _move(e,t,i){let n=i.select,o=i.value;switch(i.direction){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:return b.P.simpleMove(e,t,i.direction,n,o,i.unit);case 11:case 13:case 12:case 14:return b.P.viewportMove(e,t,i.direction,n,o);default:return null}}}e.CursorMoveImpl=a,e.CursorMove=(0,g.fK)(new a);class l extends k{constructor(e){super(e),this._staticArgs=e.args}runCoreEditorCommand(e,t){let i=this._staticArgs;-1===this._staticArgs.value&&(i={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:t.pageSize||e.cursorConfig.pageSize}),e.model.pushStackElement(),e.setCursorStates(t.source,3,b.P.simpleMove(e,e.getCursorStates(),i.direction,i.select,i.value,i.unit)),e.revealPrimaryCursor(t.source,!0)}}e.CursorLeft=(0,g.fK)(new l({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),e.CursorLeftSelect=(0,g.fK)(new l({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1039}})),e.CursorRight=(0,g.fK)(new l({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),e.CursorRightSelect=(0,g.fK)(new l({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1041}})),e.CursorUp=(0,g.fK)(new l({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),e.CursorUpSelect=(0,g.fK)(new l({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),e.CursorPageUp=(0,g.fK)(new l({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:11}})),e.CursorPageUpSelect=(0,g.fK)(new l({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1035}})),e.CursorDown=(0,g.fK)(new l({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),e.CursorDownSelect=(0,g.fK)(new l({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),e.CursorPageDown=(0,g.fK)(new l({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:12}})),e.CursorPageDownSelect=(0,g.fK)(new l({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1036}})),e.CreateCursor=(0,g.fK)(new class extends k{constructor(){super({id:"createCursor",precondition:void 0})}runCoreEditorCommand(e,t){let i;i=t.wholeLine?b.P.line(e,e.getPrimaryCursorState(),!1,t.position,t.viewPosition):b.P.moveTo(e,e.getPrimaryCursorState(),!1,t.position,t.viewPosition);let n=e.getCursorStates();if(n.length>1){let o=i.modelState?i.modelState.position:null,r=i.viewState?i.viewState.position:null;for(let i=0,s=n.length;io&&(n=o);let r=new _.e(n,1,n,e.model.getLineMaxColumn(n)),a=0;if(t.at)switch(t.at){case s.RawAtArgument.Top:a=3;break;case s.RawAtArgument.Center:a=1;break;case s.RawAtArgument.Bottom:a=4}let l=e.coordinatesConverter.convertModelRangeToViewRange(r);e.revealRange(t.source,!1,l,a,0)}}),e.SelectAll=new class extends N{constructor(){super(g.Sq)}runDOMCommand(){d.isFirefox&&(document.activeElement.focus(),document.activeElement.select()),document.execCommand("selectAll")}runEditorCommand(e,t,i){let n=t._getViewModel();n&&this.runCoreEditorCommand(n,i)}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates("keyboard",3,[b.P.selectAll(e,e.getPrimaryCursorState())])}},e.SetSelection=(0,g.fK)(new class extends k{constructor(){super({id:"setSelection",precondition:void 0})}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[m.Vi.fromModelSelection(t.selection)])}})}(a||(a={}));let D=S.Ao.and(y.u.textInputFocus,y.u.columnSelection);function x(e,t){L.W.registerKeybindingRule({id:e,primary:t,when:D,weight:1})}function I(e){return e.register(),e}x(a.CursorColumnSelectLeft.id,1039),x(a.CursorColumnSelectRight.id,1041),x(a.CursorColumnSelectUp.id,1040),x(a.CursorColumnSelectPageUp.id,1035),x(a.CursorColumnSelectDown.id,1042),x(a.CursorColumnSelectPageDown.id,1036),function(e){class t extends g._l{runEditorCommand(e,t,i){let n=t._getViewModel();n&&this.runCoreEditingCommand(t,n,i||{})}}e.CoreEditingCommand=t,e.LineBreakInsert=(0,g.fK)(new class extends t{constructor(){super({id:"lineBreakInsert",precondition:y.u.writable,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:0,mac:{primary:301}}})}runCoreEditingCommand(e,t,i){e.pushUndoStop(),e.executeCommands(this.id,w.u6.lineBreakInsert(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection)))}}),e.Outdent=(0,g.fK)(new class extends t{constructor(){super({id:"outdent",precondition:y.u.writable,kbOpts:{weight:0,kbExpr:S.Ao.and(y.u.editorTextFocus,y.u.tabDoesNotMoveFocus),primary:1026}})}runCoreEditingCommand(e,t,i){e.pushUndoStop(),e.executeCommands(this.id,w.u6.outdent(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection))),e.pushUndoStop()}}),e.Tab=(0,g.fK)(new class extends t{constructor(){super({id:"tab",precondition:y.u.writable,kbOpts:{weight:0,kbExpr:S.Ao.and(y.u.editorTextFocus,y.u.tabDoesNotMoveFocus),primary:2}})}runCoreEditingCommand(e,t,i){e.pushUndoStop(),e.executeCommands(this.id,w.u6.tab(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection))),e.pushUndoStop()}}),e.DeleteLeft=(0,g.fK)(new class extends t{constructor(){super({id:"deleteLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})}runCoreEditingCommand(e,t,i){let[n,o]=C.A.deleteLeft(t.getPrevEditOperationType(),t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection),t.getCursorAutoClosedCharacters());n&&e.pushUndoStop(),e.executeCommands(this.id,o),t.setPrevEditOperationType(2)}}),e.DeleteRight=(0,g.fK)(new class extends t{constructor(){super({id:"deleteRight",precondition:void 0,kbOpts:{weight:0,kbExpr:y.u.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})}runCoreEditingCommand(e,t,i){let[n,o]=C.A.deleteRight(t.getPrevEditOperationType(),t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection));n&&e.pushUndoStop(),e.executeCommands(this.id,o),t.setPrevEditOperationType(3)}}),e.Undo=new class extends N{constructor(){super(g.n_)}runDOMCommand(){document.execCommand("undo")}runEditorCommand(e,t,i){if(t.hasModel()&&!0!==t.getOption(83))return t.getModel().undo()}},e.Redo=new class extends N{constructor(){super(g.kz)}runDOMCommand(){document.execCommand("redo")}runEditorCommand(e,t,i){if(t.hasModel()&&!0!==t.getOption(83))return t.getModel().redo()}}}(l||(l={}));class E extends g.mY{constructor(e,t,i){super({id:e,precondition:void 0,description:i}),this._handlerId=t}runCommand(e,t){let i=e.get(p.$).getFocusedCodeEditor();i&&i.trigger("keyboard",this._handlerId,t)}}function T(e,t){I(new E("default:"+e,e)),I(new E(e,e,t))}T("type",{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),T("replacePreviousChar"),T("compositionType"),T("compositionStart"),T("compositionEnd"),T("paste"),T("cut")},53201:function(e,t,i){"use strict";i.d(t,{Z0:function(){return f},dR:function(){return m},Bo:function(){return g}});var n=i(23547),o=i(9488),r=i(73278),s=i(81170),a=i(70666),l=i(23897),h=i(50988),d=i(89872);let u={EDITORS:"CodeEditors",FILES:"CodeFiles"},c={DragAndDropContribution:"workbench.contributions.dragAndDrop"};function g(e){let t=new r.Hl;for(let i of e.items){let e=i.type;if("string"===i.kind){let n=new Promise(e=>i.getAsString(e));t.append(e,(0,r.ZO)(n))}else if("file"===i.kind){let n=i.getAsFile();n&&t.append(e,function(e){let t=e.path?a.o.parse(e.path):void 0;return(0,r.Ix)(e.name,t,()=>{var t,i,n,o;return t=this,i=void 0,n=void 0,o=function*(){return new Uint8Array((yield e.arrayBuffer()))},new(n||(n=Promise))(function(e,r){function s(e){try{l(o.next(e))}catch(e){r(e)}}function a(e){try{l(o.throw(e))}catch(e){r(e)}}function l(t){var i;t.done?e(t.value):((i=t.value)instanceof n?i:new n(function(e){e(i)})).then(s,a)}l((o=o.apply(t,i||[])).next())})})}(n))}}return t}d.B.add(c.DragAndDropContribution,new class{constructor(){this._contributions=new Map}getAll(){return this._contributions.values()}});let p=Object.freeze([u.EDITORS,u.FILES,n.g.RESOURCES]);function m(e,t,i=!1){var o;if(t.dataTransfer&&(i||!e.has(s.v.uriList))){let i=(function(e){var t;let i=[];if(e.dataTransfer&&e.dataTransfer.types.length>0){let o=e.dataTransfer.getData(u.EDITORS);if(o)try{i.push(...(0,l.Q)(o))}catch(e){}else try{let t=e.dataTransfer.getData(n.g.RESOURCES);i.push(...function(e){let t=[];if(e){let i=JSON.parse(e);for(let e of i)if(e.indexOf(":")>0){let{selection:i,uri:n}=(0,h.xI)(a.o.parse(e));t.push({resource:n,options:{selection:i}})}}return t}(t))}catch(e){}if(null===(t=e.dataTransfer)||void 0===t?void 0:t.files)for(let t=0;te.resource).map(e=>e.resource.toString());for(let e of null===(o=t.dataTransfer)||void 0===o?void 0:o.items){let t=e.getAsFile();t&&i.push(t.path?a.o.file(t.path).toString():t.name)}i.length&&e.replace(s.v.uriList,(0,r.ZO)(f.create(i)))}for(let t of p)e.delete(t)}let f=Object.freeze({create:e=>(0,o.EB)(e.map(e=>e.toString())).join("\r\n"),parse:e=>e.split("\r\n").filter(e=>!e.startsWith("#"))})},65520:function(e,t,i){"use strict";i.d(t,{CL:function(){return o},Pi:function(){return s},QI:function(){return r}});var n=i(96518);function o(e){return!!e&&"function"==typeof e.getEditorType&&e.getEditorType()===n.g.ICodeEditor}function r(e){return!!e&&"function"==typeof e.getEditorType&&e.getEditorType()===n.g.IDiffEditor}function s(e){return o(e)?e:r(e)?e.getModifiedEditor():null}},29994:function(e,t,i){"use strict";i.d(t,{AL:function(){return v},N5:function(){return f},Pp:function(){return p},YN:function(){return h},gy:function(){return m},kG:function(){return g},rU:function(){return d},t7:function(){return C},tC:function(){return _}});var n=i(65321),o=i(93911),r=i(7317),s=i(15393),a=i(9917),l=i(73910);class h{constructor(e,t){this.x=e,this.y=t,this._pageCoordinatesBrand=void 0}toClientCoordinates(){return new d(this.x-n.DI.scrollX,this.y-n.DI.scrollY)}}class d{constructor(e,t){this.clientX=e,this.clientY=t,this._clientCoordinatesBrand=void 0}toPageCoordinates(){return new h(this.clientX+n.DI.scrollX,this.clientY+n.DI.scrollY)}}class u{constructor(e,t,i,n){this.x=e,this.y=t,this.width=i,this.height=n,this._editorPagePositionBrand=void 0}}class c{constructor(e,t){this.x=e,this.y=t,this._positionRelativeToEditorBrand=void 0}}function g(e){let t=n.i(e);return new u(t.left,t.top,t.width,t.height)}function p(e,t,i){let n=t.width/e.offsetWidth,o=t.height/e.offsetHeight,r=(i.x-t.x)/n,s=(i.y-t.y)/o;return new c(r,s)}class m extends r.n{constructor(e,t,i){super(e),this._editorMouseEventBrand=void 0,this.isFromPointerCapture=t,this.pos=new h(this.posx,this.posy),this.editorPos=g(i),this.relativePos=p(i,this.editorPos,this.pos)}}class f{constructor(e){this._editorViewDomNode=e}_create(e){return new m(e,!1,this._editorViewDomNode)}onContextMenu(e,t){return n.nm(e,"contextmenu",e=>{t(this._create(e))})}onMouseUp(e,t){return n.nm(e,"mouseup",e=>{t(this._create(e))})}onMouseDown(e,t){return n.nm(e,n.tw.MOUSE_DOWN,e=>{t(this._create(e))})}onPointerDown(e,t){return n.nm(e,n.tw.POINTER_DOWN,e=>{t(this._create(e),e.pointerId)})}onMouseLeave(e,t){return n.nm(e,n.tw.MOUSE_LEAVE,e=>{t(this._create(e))})}onMouseMove(e,t){return n.nm(e,"mousemove",e=>t(this._create(e)))}}class _{constructor(e){this._editorViewDomNode=e}_create(e){return new m(e,!1,this._editorViewDomNode)}onPointerUp(e,t){return n.nm(e,"pointerup",e=>{t(this._create(e))})}onPointerDown(e,t){return n.nm(e,n.tw.POINTER_DOWN,e=>{t(this._create(e),e.pointerId)})}onPointerLeave(e,t){return n.nm(e,n.tw.POINTER_LEAVE,e=>{t(this._create(e))})}onPointerMove(e,t){return n.nm(e,"pointermove",e=>t(this._create(e)))}}class v extends a.JT{constructor(e){super(),this._editorViewDomNode=e,this._globalPointerMoveMonitor=this._register(new o.C),this._keydownListener=null}startMonitoring(e,t,i,o,r){this._keydownListener=n.mu(document,"keydown",e=>{let t=e.toKeybinding();t.isModifierKey()||this._globalPointerMoveMonitor.stopMonitoring(!0,e.browserEvent)},!0),this._globalPointerMoveMonitor.startMonitoring(e,t,i,e=>{o(new m(e,!0,this._editorViewDomNode))},e=>{this._keydownListener.dispose(),r(e)})}stopMonitoring(){this._globalPointerMoveMonitor.stopMonitoring(!0)}}class C{constructor(e){this._editor=e,this._instanceId=++C._idPool,this._counter=0,this._rules=new Map,this._garbageCollectionScheduler=new s.pY(()=>this.garbageCollect(),1e3)}createClassNameRef(e){let t=this.getOrCreateRule(e);return t.increaseRefCount(),{className:t.className,dispose:()=>{t.decreaseRefCount(),this._garbageCollectionScheduler.schedule()}}}getOrCreateRule(e){let t=this.computeUniqueKey(e),i=this._rules.get(t);if(!i){let o=this._counter++;i=new b(t,`dyn-rule-${this._instanceId}-${o}`,n.OO(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0,e),this._rules.set(t,i)}return i}computeUniqueKey(e){return JSON.stringify(e)}garbageCollect(){for(let e of this._rules.values())e.hasReferences()||(this._rules.delete(e.key),e.dispose())}}C._idPool=0;class b{constructor(e,t,i,o){this.key=e,this.className=t,this.properties=o,this._referenceCount=0,this._styleElement=n.dS(i),this._styleElement.textContent=this.getCssText(this.className,this.properties)}getCssText(e,t){let i=`.${e} {`;for(let e in t){let n;let o=t[e];n="object"==typeof o?`var(${(0,l.QO2)(o.id)})`:o;let r=e.replace(/(^[A-Z])/,([e])=>e.toLowerCase()).replace(/([A-Z])/g,([e])=>`-${e.toLowerCase()}`);i+=` + ${r}: ${n};`}return i+` +}`}dispose(){this._styleElement.remove()}increaseRefCount(){this._referenceCount++}decreaseRefCount(){this._referenceCount--}hasReferences(){return this._referenceCount>0}}},16830:function(e,t,i){"use strict";i.d(t,{AJ:function(){return w},QG:function(){return E},Qr:function(){return x},R6:function(){return L},Sq:function(){return P},Uc:function(){return o},_K:function(){return T},_l:function(){return S},fK:function(){return D},jY:function(){return k},kz:function(){return O},mY:function(){return b},n_:function(){return R},rn:function(){return I},sb:function(){return N}});var n,o,r=i(63580),s=i(70666),a=i(11640),l=i(50187),h=i(73733),d=i(88216),u=i(84144),c=i(94565),g=i(38819),p=i(72065),m=i(49989),f=i(89872),_=i(10829),v=i(98401),C=i(43557);class b{constructor(e){this.id=e.id,this.precondition=e.precondition,this._kbOpts=e.kbOpts,this._menuOpts=e.menuOpts,this._description=e.description}register(){if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){let e=Array.isArray(this._kbOpts)?this._kbOpts:[this._kbOpts];for(let t of e){let e=t.kbExpr;this.precondition&&(e=e?g.Ao.and(e,this.precondition):this.precondition);let i={id:this.id,weight:t.weight,args:t.args,when:e,primary:t.primary,secondary:t.secondary,win:t.win,linux:t.linux,mac:t.mac};m.W.registerKeybindingRule(i)}}c.P0.registerCommand({id:this.id,handler:(e,t)=>this.runCommand(e,t),description:this._description})}_registerMenuItem(e){u.BH.appendMenuItem(e.menuId,{group:e.group,command:{id:this.id,title:e.title,icon:e.icon,precondition:this.precondition},when:e.when,order:e.order})}}class w extends b{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t,i){return this._implementations.push({priority:e,name:t,implementation:i}),this._implementations.sort((e,t)=>t.priority-e.priority),{dispose:()=>{for(let e=0;e{let o=e.get(g.i6);if(o.contextMatchesRules((0,v.f6)(i)))return n(e,r,t)})}runCommand(e,t){return S.runEditorCommand(e,t,this.precondition,(e,t,i)=>this.runEditorCommand(e,t,i))}}class L extends S{constructor(e){super(L.convertOptions(e)),this.label=e.label,this.alias=e.alias}static convertOptions(e){let t;function i(t){return t.menuId||(t.menuId=u.eH.EditorContext),t.title||(t.title=e.label),t.when=g.Ao.and(e.precondition,t.when),t}return t=Array.isArray(e.menuOpts)?e.menuOpts:e.menuOpts?[e.menuOpts]:[],Array.isArray(e.contextMenuOpts)?t.push(...e.contextMenuOpts.map(i)):e.contextMenuOpts&&t.push(i(e.contextMenuOpts)),e.menuOpts=t,e}runEditorCommand(e,t,i){return this.reportTelemetry(e,t),this.run(e,t,i||{})}reportTelemetry(e,t){e.get(_.b).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}}class k extends L{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t){return this._implementations.push([e,t]),this._implementations.sort((e,t)=>t[0]-e[0]),{dispose:()=>{for(let e=0;enew Promise((o,s)=>{try{let s=n.invokeFunction(t,e.object.textEditorModel,l.L.lift(r),i.slice(2));o(s)}catch(e){s(e)}}).finally(()=>{e.dispose()}))})}function D(e){return M.INSTANCE.registerEditorCommand(e),e}function x(e){let t=new e;return M.INSTANCE.registerEditorAction(t),t}function I(e){return M.INSTANCE.registerEditorAction(e),e}function E(e){M.INSTANCE.registerEditorAction(e)}function T(e,t){M.INSTANCE.registerEditorContribution(e,t)}(n=o||(o={})).getEditorCommand=function(e){return M.INSTANCE.getEditorCommand(e)},n.getEditorActions=function(){return M.INSTANCE.getEditorActions()},n.getEditorContributions=function(){return M.INSTANCE.getEditorContributions()},n.getSomeEditorContributions=function(e){return M.INSTANCE.getEditorContributions().filter(t=>e.indexOf(t.id)>=0)},n.getDiffEditorContributions=function(){return M.INSTANCE.getDiffEditorContributions()};class M{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(e,t){this.editorContributions.push({id:e,ctor:t})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(e){e.register(),this.editorActions.push(e)}getEditorActions(){return this.editorActions.slice(0)}registerEditorCommand(e){e.register(),this.editorCommands[e.id]=e}getEditorCommand(e){return this.editorCommands[e]||null}}function A(e){return e.register(),e}M.INSTANCE=new M,f.B.add("editor.contributions",M.INSTANCE);let R=A(new w({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:u.eH.MenubarEditMenu,group:"1_do",title:r.NC({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1},{menuId:u.eH.CommandPalette,group:"",title:r.NC("undo","Undo"),order:1}]}));A(new y(R,{id:"default:undo",precondition:void 0}));let O=A(new w({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:u.eH.MenubarEditMenu,group:"1_do",title:r.NC({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2},{menuId:u.eH.CommandPalette,group:"",title:r.NC("redo","Redo"),order:1}]}));A(new y(O,{id:"default:redo",precondition:void 0}));let P=A(new w({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:u.eH.MenubarSelectionMenu,group:"1_basic",title:r.NC({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1},{menuId:u.eH.CommandPalette,group:"",title:r.NC("selectAll","Select All"),order:1}]}))},66007:function(e,t,i){"use strict";i.d(t,{Gl:function(){return l},fo:function(){return a},vu:function(){return s}});var n=i(72065),o=i(70666),r=i(98401);let s=(0,n.yh)("IWorkspaceEditService");class a{constructor(e){this.metadata=e}static convert(e){return e.edits.map(e=>{if(l.is(e))return l.lift(e);if(h.is(e))return h.lift(e);throw Error("Unsupported edit")})}}class l extends a{constructor(e,t,i,n){super(n),this.resource=e,this.textEdit=t,this.versionId=i}static is(e){return e instanceof l||(0,r.Kn)(e)&&o.o.isUri(e.resource)&&(0,r.Kn)(e.textEdit)}static lift(e){return e instanceof l?e:new l(e.resource,e.textEdit,e.versionId,e.metadata)}}class h extends a{constructor(e,t,i={},n){super(n),this.oldResource=e,this.newResource=t,this.options=i}static is(e){return e instanceof h||(0,r.Kn)(e)&&(!!e.newResource||!!e.oldResource)}static lift(e){return e instanceof h?e:new h(e.oldResource,e.newResource,e.options,e.metadata)}}},11640:function(e,t,i){"use strict";i.d(t,{$:function(){return o}});var n=i(72065);let o=(0,n.yh)("codeEditorService")},43407:function(e,t,i){"use strict";i.d(t,{Z:function(){return n}});class n{constructor(e,t,i){this._visiblePosition=e,this._visiblePositionScrollDelta=t,this._cursorPosition=i}static capture(e){let t=null,i=0;if(0!==e.getScrollTop()){let n=e.getVisibleRanges();if(n.length>0){t=n[0].getStartPosition();let o=e.getTopForPosition(t.lineNumber,t.column);i=e.getScrollTop()-o}}return new n(t,i,e.getPosition())}restore(e){if(this._visiblePosition){let t=e.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);e.setScrollTop(t+this._visiblePositionScrollDelta)}}restoreRelativeVerticalPositionOfCursor(e){let t=e.getPosition();if(!this._cursorPosition||!t)return;let i=e.getTopForLineNumber(t.lineNumber)-e.getTopForLineNumber(this._cursorPosition.lineNumber);e.setScrollTop(e.getScrollTop()+i)}}},27982:function(e,t,i){"use strict";i.d(t,{Gm:function(){return nq}});var n,o,r,s,a,l=i(36357),h=i(16830);let d=class{constructor(e,t){}dispose(){}};d.ID="editor.contrib.markerDecorations",d=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(n=l.i,function(e,t){n(e,t,1)})],d),(0,h._K)(d.ID,d),i(50103);var u=i(63580),c=i(65321),g=i(17301),p=i(4669),m=i(9917),f=i(66663),_=i(16268),v=i(9488),C=i(36248),b=i(1432),w=i(54534),y=i(66059);class S{constructor(e,t){this.key=e,this.migrate=t}apply(e){let t=S._read(e,this.key);this.migrate(t,t=>S._read(e,t),(t,i)=>S._write(e,t,i))}static _read(e,t){if(void 0===e)return;let i=t.indexOf(".");if(i>=0){let n=t.substring(0,i);return this._read(e[n],t.substring(i+1))}return e[t]}static _write(e,t,i){let n=t.indexOf(".");if(n>=0){let o=t.substring(0,n);e[o]=e[o]||{},this._write(e[o],t.substring(n+1),i);return}e[t]=i}}function L(e,t){S.items.push(new S(e,t))}function k(e,t){L(e,(i,n,o)=>{if(void 0!==i){for(let[n,r]of t)if(i===n){o(e,r);return}}})}S.items=[],k("wordWrap",[[!0,"on"],[!1,"off"]]),k("lineNumbers",[[!0,"on"],[!1,"off"]]),k("cursorBlinking",[["visible","solid"]]),k("renderWhitespace",[[!0,"boundary"],[!1,"none"]]),k("renderLineHighlight",[[!0,"line"],[!1,"none"]]),k("acceptSuggestionOnEnter",[[!0,"on"],[!1,"off"]]),k("tabCompletion",[[!1,"off"],[!0,"onlySnippets"]]),k("hover",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),k("parameterHints",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),k("autoIndent",[[!1,"advanced"],[!0,"full"]]),k("matchBrackets",[[!0,"always"],[!1,"never"]]),L("autoClosingBrackets",(e,t,i)=>{!1===e&&(i("autoClosingBrackets","never"),void 0===t("autoClosingQuotes")&&i("autoClosingQuotes","never"),void 0===t("autoSurround")&&i("autoSurround","never"))}),L("renderIndentGuides",(e,t,i)=>{void 0!==e&&(i("renderIndentGuides",void 0),void 0===t("guides.indentation")&&i("guides.indentation",!!e))}),L("highlightActiveIndentGuide",(e,t,i)=>{void 0!==e&&(i("highlightActiveIndentGuide",void 0),void 0===t("guides.highlightActiveIndentation")&&i("guides.highlightActiveIndentation",!!e))});let N={method:"showMethods",function:"showFunctions",constructor:"showConstructors",deprecated:"showDeprecated",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};L("suggest.filteredTypes",(e,t,i)=>{if(e&&"object"==typeof e){for(let n of Object.entries(N)){let o=e[n[0]];!1===o&&void 0===t(`suggest.${n[1]}`)&&i(`suggest.${n[1]}`,!1)}i("suggest.filteredTypes",void 0)}}),L("quickSuggestions",(e,t,i)=>{if("boolean"==typeof e){let t=e?"on":"off";i("quickSuggestions",{comments:t,strings:t,other:t})}});var D=i(37940),x=i(64141),I=i(82334),E=i(27374),T=i(31106);let M=class extends m.JT{constructor(e,t,i,n){super(),this._accessibilityService=n,this._onDidChange=this._register(new p.Q5),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new p.Q5),this.onDidChangeFast=this._onDidChangeFast.event,this._isDominatedByLongLines=!1,this._viewLineCount=1,this._lineNumbersDigitCount=1,this._reservedHeight=0,this._computeOptionsMemory=new x.LJ,this.isSimpleWidget=e,this._containerObserver=this._register(new w.I(i,t.dimension)),this._rawOptions=P(t),this._validatedOptions=O.validateOptions(this._rawOptions),this.options=this._computeOptions(),this.options.get(10)&&this._containerObserver.startObserving(),this._register(I.C.onDidChangeZoomLevel(()=>this._recomputeOptions())),this._register(D.n.onDidChangeTabFocus(()=>this._recomputeOptions())),this._register(this._containerObserver.onDidChange(()=>this._recomputeOptions())),this._register(y.g.onDidChange(()=>this._recomputeOptions())),this._register(_.PixelRatio.onDidChange(()=>this._recomputeOptions())),this._register(this._accessibilityService.onDidChangeScreenReaderOptimized(()=>this._recomputeOptions()))}_recomputeOptions(){let e=this._computeOptions(),t=O.checkEquals(this.options,e);null!==t&&(this.options=e,this._onDidChangeFast.fire(t),this._onDidChange.fire(t))}_computeOptions(){let e=this._readEnvConfiguration(),t=E.E4.createFromValidatedSettings(this._validatedOptions,e.pixelRatio,this.isSimpleWidget),i=this._readFontInfo(t),n={memory:this._computeOptionsMemory,outerWidth:e.outerWidth,outerHeight:e.outerHeight-this._reservedHeight,fontInfo:i,extraEditorClassName:e.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:e.emptySelectionClipboard,pixelRatio:e.pixelRatio,tabFocusMode:D.n.getTabFocusMode(),accessibilitySupport:e.accessibilitySupport};return O.computeOptions(this._validatedOptions,n)}_readEnvConfiguration(){let e;return{extraEditorClassName:(e="",_.isSafari||_.isWebkitWebView||(e+="no-user-select "),_.isSafari&&(e+="no-minimap-shadow enable-user-select "),b.dz&&(e+="mac "),e),outerWidth:this._containerObserver.getWidth(),outerHeight:this._containerObserver.getHeight(),emptySelectionClipboard:_.isWebKit||_.isFirefox,pixelRatio:_.PixelRatio.value,accessibilitySupport:this._accessibilityService.isScreenReaderOptimized()?2:this._accessibilityService.getAccessibilitySupport()}}_readFontInfo(e){return y.g.readFontInfo(e)}getRawOptions(){return this._rawOptions}updateOptions(e){let t=P(e),i=O.applyUpdate(this._rawOptions,t);i&&(this._validatedOptions=O.validateOptions(this._rawOptions),this._recomputeOptions())}observeContainer(e){this._containerObserver.observe(e)}setIsDominatedByLongLines(e){this._isDominatedByLongLines!==e&&(this._isDominatedByLongLines=e,this._recomputeOptions())}setModelLineCount(e){let t=function(e){let t=0;for(;e;)e=Math.floor(e/10),t++;return t||1}(e);this._lineNumbersDigitCount!==t&&(this._lineNumbersDigitCount=t,this._recomputeOptions())}setViewLineCount(e){this._viewLineCount!==e&&(this._viewLineCount=e,this._recomputeOptions())}setReservedHeight(e){this._reservedHeight!==e&&(this._reservedHeight=e,this._recomputeOptions())}};M=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(o=T.F,function(e,t){o(e,t,3)})],M);class A{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class R{constructor(){this._values=[]}_read(e){if(e>=this._values.length)throw Error("Cannot read uninitialized value");return this._values[e]}get(e){return this._read(e)}_write(e,t){this._values[e]=t}}class O{static validateOptions(e){let t=new A;for(let i of x.Bc){let n="_never_"===i.name?void 0:e[i.name];t._write(i.id,i.validate(n))}return t}static computeOptions(e,t){let i=new R;for(let n of x.Bc)i._write(n.id,n.compute(t,i,e._read(n.id)));return i}static _deepEquals(e,t){if("object"!=typeof e||"object"!=typeof t||!e||!t)return e===t;if(Array.isArray(e)||Array.isArray(t))return!!(Array.isArray(e)&&Array.isArray(t))&&v.fS(e,t);if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let i in e)if(!O._deepEquals(e[i],t[i]))return!1;return!0}static checkEquals(e,t){let i=[],n=!1;for(let o of x.Bc){let r=!O._deepEquals(e._read(o.id),t._read(o.id));i[o.id]=r,r&&(n=!0)}return n?new x.Bb(i):null}static applyUpdate(e,t){let i=!1;for(let n of x.Bc)if(t.hasOwnProperty(n.name)){let o=n.applyUpdate(e[n.name],t[n.name]);e[n.name]=o.newValue,i=i||o.didChange}return i}}function P(e){let t=C.I8(e);return S.items.forEach(e=>e.apply(t)),t}var F=i(11640),B=i(3860),V=i(38626),W=i(10553),H=i(7317),z=i(15393),K=i(29994);class U extends m.JT{constructor(){super(),this._shouldRender=!0}shouldRender(){return this._shouldRender}forceShouldRender(){this._shouldRender=!0}setShouldRender(){this._shouldRender=!0}onDidRender(){this._shouldRender=!1}onCompositionStart(e){return!1}onCompositionEnd(e){return!1}onConfigurationChanged(e){return!1}onCursorStateChanged(e){return!1}onDecorationsChanged(e){return!1}onFlushed(e){return!1}onFocusChanged(e){return!1}onLanguageConfigurationChanged(e){return!1}onLineMappingChanged(e){return!1}onLinesChanged(e){return!1}onLinesDeleted(e){return!1}onLinesInserted(e){return!1}onRevealRangeRequest(e){return!1}onScrollChanged(e){return!1}onThemeChanged(e){return!1}onTokensChanged(e){return!1}onTokensColorsChanged(e){return!1}onZonesChanged(e){return!1}handleEvents(e){let t=!1;for(let i=0,n=e.length;i=r.left?n.width=Math.max(n.width,r.left+r.width-n.left):(t[i++]=n,n=r)}return t[i++]=n,t}static _createHorizontalRangesFromClientRects(e,t,i){if(!e||0===e.length)return null;let n=[];for(let o=0,r=e.length;ol)return null;if((t=Math.min(l,Math.max(0,t)))===(n=Math.min(l,Math.max(0,n)))&&i===o&&0===i&&!e.children[t].firstChild){let i=e.children[t].getClientRects();return this._createHorizontalRangesFromClientRects(i,r,s)}t!==n&&n>0&&0===o&&(n--,o=1073741824);let h=e.children[t].firstChild,d=e.children[n].firstChild;if(h&&d||(!h&&0===i&&t>0&&(h=e.children[t-1].firstChild,i=1073741824),d||0!==o||!(n>0)||(d=e.children[n-1].firstChild,o=1073741824)),!h||!d)return null;i=Math.min(h.textContent.length,Math.max(0,i)),o=Math.min(d.textContent.length,Math.max(0,o));let u=this._readClientRects(h,i,d,o,a);return this._createHorizontalRangesFromClientRects(u,r,s)}}var et=i(92550),ei=i(72202),en=i(92321);let eo=!!b.tY||!b.IJ&&!_.isFirefox&&!_.isSafari,er=!0;class es{constructor(e,t){this._domNode=e,this._clientRectDeltaLeft=0,this._clientRectScale=1,this._clientRectRead=!1,this.endNode=t}readClientRect(){if(!this._clientRectRead){this._clientRectRead=!0;let e=this._domNode.getBoundingClientRect();this._clientRectDeltaLeft=e.left,this._clientRectScale=e.width/this._domNode.offsetWidth}}get clientRectDeltaLeft(){return this._clientRectRead||this.readClientRect(),this._clientRectDeltaLeft}get clientRectScale(){return this._clientRectRead||this.readClientRect(),this._clientRectScale}}class ea{constructor(e,t){this.themeType=t;let i=e.options,n=i.get(46);this.renderWhitespace=i.get(90),this.renderControlCharacters=i.get(85),this.spaceWidth=n.spaceWidth,this.middotWidth=n.middotWidth,this.wsmiddotWidth=n.wsmiddotWidth,this.useMonospaceOptimizations=n.isMonospace&&!i.get(29),this.canUseHalfwidthRightwardsArrow=n.canUseHalfwidthRightwardsArrow,this.lineHeight=i.get(61),this.stopRenderingLineAfter=i.get(107),this.fontLigatures=i.get(47)}equals(e){return this.themeType===e.themeType&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.fontLigatures===e.fontLigatures}}class el{constructor(e){this._options=e,this._isMaybeInvalid=!0,this._renderedViewLine=null}getDomNode(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null}setDomNode(e){if(this._renderedViewLine)this._renderedViewLine.domNode=(0,V.X)(e);else throw Error("I have no rendered view line to set the dom node to...")}onContentChanged(){this._isMaybeInvalid=!0}onTokensChanged(){this._isMaybeInvalid=!0}onDecorationsChanged(){this._isMaybeInvalid=!0}onOptionsChanged(e){this._isMaybeInvalid=!0,this._options=e}onSelectionChanged(){return(!!(0,en.c3)(this._options.themeType)||"selection"===this._options.renderWhitespace)&&(this._isMaybeInvalid=!0,!0)}renderLine(e,t,i,n){if(!1===this._isMaybeInvalid)return!1;this._isMaybeInvalid=!1;let o=i.getViewLineRenderingData(e),r=this._options,s=et.Kp.filter(o.inlineDecorations,e,o.minColumn,o.maxColumn),a=null;if((0,en.c3)(r.themeType)||"selection"===this._options.renderWhitespace){let t=i.selections;for(let i of t){if(i.endLineNumbere)continue;let t=i.startLineNumber===e?i.startColumn:o.minColumn,n=i.endLineNumber===e?i.endColumn:o.maxColumn;t');let h=(0,ei.d1)(l,n);n.appendASCIIString("");let d=null;return er&&eo&&o.isBasicASCII&&r.useMonospaceOptimizations&&0===h.containsForeignElements&&o.content.length<300&&100>l.lineTokens.getCount()&&(d=new eh(this._renderedViewLine?this._renderedViewLine.domNode:null,l,h.characterMapping)),d||(d=ec(this._renderedViewLine?this._renderedViewLine.domNode:null,l,h.characterMapping,h.containsRTL,h.containsForeignElements)),this._renderedViewLine=d,!0}layoutLine(e,t){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))}getWidth(){return this._renderedViewLine?this._renderedViewLine.getWidth():0}getWidthIsFast(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()}needsMonospaceFontCheck(){return!!this._renderedViewLine&&this._renderedViewLine instanceof eh}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof eh?this._renderedViewLine.monospaceAssumptionsAreValid():er}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof eh&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}getVisibleRangesForRange(e,t,i,n){if(!this._renderedViewLine)return null;t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t)),i=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,i));let o=this._renderedViewLine.input.stopRenderingLineAfter,r=!1;-1!==o&&t>o+1&&i>o+1&&(r=!0),-1!==o&&t>o+1&&(t=o+1),-1!==o&&i>o+1&&(i=o+1);let s=this._renderedViewLine.getVisibleRangesForRange(e,t,i,n);return s&&s.length>0?new X(r,s):null}getColumnOfNodeOffset(e,t,i){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t,i):1}}el.CLASS_NAME="view-line";class eh{constructor(e,t,i){this.domNode=e,this.input=t,this._characterMapping=i,this._charWidth=t.spaceWidth}getWidth(){return Math.round(this._getCharPosition(this._characterMapping.length))}getWidthIsFast(){return!0}monospaceAssumptionsAreValid(){if(!this.domNode)return er;let e=this.getWidth(),t=this.domNode.domNode.firstChild.offsetWidth;return Math.abs(e-t)>=2&&(console.warn("monospace assumptions have been violated, therefore disabling monospace optimizations!"),er=!1),er}toSlowRenderedLine(){return ec(this.domNode,this.input,this._characterMapping,!1,0)}getVisibleRangesForRange(e,t,i,n){let o=this._getCharPosition(t),r=this._getCharPosition(i);return[new Y(o,r-o)]}_getCharPosition(e){let t=this._characterMapping.getHorizontalOffset(e);return this._charWidth*t}getColumnOfNodeOffset(e,t,i){let n=t.textContent.length,o=-1;for(;t;)t=t.previousSibling,o++;return this._characterMapping.getColumn(new ei.Nd(o,i),n)}}class ed{constructor(e,t,i,n,o){if(this.domNode=e,this.input=t,this._characterMapping=i,this._isWhitespaceOnly=/^\s*$/.test(t.lineContent),this._containsForeignElements=o,this._cachedWidth=-1,this._pixelOffsetCache=null,!n||0===this._characterMapping.length){this._pixelOffsetCache=new Float32Array(Math.max(2,this._characterMapping.length+1));for(let e=0,t=this._characterMapping.length;e<=t;e++)this._pixelOffsetCache[e]=-1}}_getReadingTarget(e){return e.domNode.firstChild}getWidth(){return this.domNode?(-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth),this._cachedWidth):0}getWidthIsFast(){return -1!==this._cachedWidth}getVisibleRangesForRange(e,t,i,n){if(!this.domNode)return null;if(null!==this._pixelOffsetCache){let o=this._readPixelOffset(this.domNode,e,t,n);if(-1===o)return null;let r=this._readPixelOffset(this.domNode,e,i,n);return -1===r?null:[new Y(o,r-o)]}return this._readVisibleRangesForRange(this.domNode,e,t,i,n)}_readVisibleRangesForRange(e,t,i,n,o){if(i!==n)return this._readRawVisibleRangesForRange(e,i,n,o);{let n=this._readPixelOffset(e,t,i,o);return -1===n?null:[new Y(n,0)]}}_readPixelOffset(e,t,i,n){if(0===this._characterMapping.length){if(0===this._containsForeignElements||2===this._containsForeignElements)return 0;if(1===this._containsForeignElements)return this.getWidth();let t=this._getReadingTarget(e);return t.firstChild?t.firstChild.offsetWidth:0}if(null!==this._pixelOffsetCache){let o=this._pixelOffsetCache[i];if(-1!==o)return o;let r=this._actualReadPixelOffset(e,t,i,n);return this._pixelOffsetCache[i]=r,r}return this._actualReadPixelOffset(e,t,i,n)}_actualReadPixelOffset(e,t,i,n){if(0===this._characterMapping.length){let t=ee.readHorizontalRanges(this._getReadingTarget(e),0,0,0,0,n.clientRectDeltaLeft,n.clientRectScale,n.endNode);return t&&0!==t.length?t[0].left:-1}if(i===this._characterMapping.length&&this._isWhitespaceOnly&&0===this._containsForeignElements)return this.getWidth();let o=this._characterMapping.getDomPosition(i),r=ee.readHorizontalRanges(this._getReadingTarget(e),o.partIndex,o.charIndex,o.partIndex,o.charIndex,n.clientRectDeltaLeft,n.clientRectScale,n.endNode);if(!r||0===r.length)return -1;let s=r[0].left;if(this.input.isBasicASCII){let e=this._characterMapping.getHorizontalOffset(i),t=Math.round(this.input.spaceWidth*e);if(1>=Math.abs(t-s))return t}return s}_readRawVisibleRangesForRange(e,t,i,n){if(1===t&&i===this._characterMapping.length)return[new Y(0,this.getWidth())];let o=this._characterMapping.getDomPosition(t),r=this._characterMapping.getDomPosition(i);return ee.readHorizontalRanges(this._getReadingTarget(e),o.partIndex,o.charIndex,r.partIndex,r.charIndex,n.clientRectDeltaLeft,n.clientRectScale,n.endNode)}getColumnOfNodeOffset(e,t,i){let n=t.textContent.length,o=-1;for(;t;)t=t.previousSibling,o++;return this._characterMapping.getColumn(new ei.Nd(o,i),n)}}class eu extends ed{_readVisibleRangesForRange(e,t,i,n,o){let r=super._readVisibleRangesForRange(e,t,i,n,o);if(!r||0===r.length||i===n||1===i&&n===this._characterMapping.length)return r;if(!this.input.containsRTL){let i=this._readPixelOffset(e,t,n,o);if(-1!==i){let e=r[r.length-1];e.left=4&&3===e[0]&&7===e[3]}static isStrictChildOfViewLines(e){return e.length>4&&3===e[0]&&7===e[3]}static isChildOfScrollableElement(e){return e.length>=2&&3===e[0]&&5===e[1]}static isChildOfMinimap(e){return e.length>=2&&3===e[0]&&8===e[1]}static isChildOfContentWidgets(e){return e.length>=4&&3===e[0]&&1===e[3]}static isChildOfOverflowingContentWidgets(e){return e.length>=1&&2===e[0]}static isChildOfOverlayWidgets(e){return e.length>=2&&3===e[0]&&4===e[1]}}class ey{constructor(e,t,i){this.viewModel=e.viewModel;let n=e.configuration.options;this.layoutInfo=n.get(133),this.viewDomNode=t.viewDomNode,this.lineHeight=n.get(61),this.stickyTabStops=n.get(106),this.typicalHalfwidthCharacterWidth=n.get(46).typicalHalfwidthCharacterWidth,this.lastRenderData=i,this._context=e,this._viewHelper=t}getZoneAtCoord(e){return ey.getZoneAtCoord(this._context,e)}static getZoneAtCoord(e,t){let i=e.viewLayout.getWhitespaceAtVerticalOffset(t);if(i){let n;let o=i.verticalOffset+i.height/2,r=e.viewModel.getLineCount(),s=null,a=null;return i.afterLineNumber!==r&&(a=new eg.L(i.afterLineNumber+1,1)),i.afterLineNumber>0&&(s=new eg.L(i.afterLineNumber,e.viewModel.getLineMaxColumn(i.afterLineNumber))),n=null===a?s:null===s?a:t=e.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,eD._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))}}class eL extends eS{constructor(e,t,i,n,o){super(e,t,i,n),this._ctx=e,o?(this.target=o,this.targetPath=j.collect(o,e.viewDomNode)):(this.target=null,this.targetPath=new Uint8Array(0))}toString(){return`pos(${this.pos.x},${this.pos.y}), editorPos(${this.editorPos.x},${this.editorPos.y}), relativePos(${this.relativePos.x},${this.relativePos.y}), mouseVerticalOffset: ${this.mouseVerticalOffset}, mouseContentHorizontalOffset: ${this.mouseContentHorizontalOffset} + target: ${this.target?this.target.outerHTML:null}`}_getMouseColumn(e=null){return e&&e.columnr.contentLeft+r.width)continue;let i=e.getVerticalOffsetForLineNumber(r.position.lineNumber);if(i<=o&&o<=i+r.height)return t.fulfillContentText(r.position,null,{mightBeForeignElement:!1,injectedText:null})}}return null}static _hitTestViewZone(e,t){let i=e.getZoneAtCoord(t.mouseVerticalOffset);if(i){let e=t.isInContentArea?8:5;return t.fulfillViewZone(e,i.position,i)}return null}static _hitTestTextArea(e,t){return ew.isTextArea(t.targetPath)?e.lastRenderData.lastTextareaPosition?t.fulfillContentText(e.lastRenderData.lastTextareaPosition,null,{mightBeForeignElement:!1,injectedText:null}):t.fulfillTextarea():null}static _hitTestMargin(e,t){if(t.isInMarginArea){let i=e.getFullLineRangeAtCoord(t.mouseVerticalOffset),n=i.range.getStartPosition(),o=Math.abs(t.relativePos.x),r={isAfterLines:i.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:o};return(o-=e.layoutInfo.glyphMarginLeft)<=e.layoutInfo.glyphMarginWidth?t.fulfillMargin(2,n,i.range,r):(o-=e.layoutInfo.glyphMarginWidth)<=e.layoutInfo.lineNumbersWidth?t.fulfillMargin(3,n,i.range,r):(o-=e.layoutInfo.lineNumbersWidth,t.fulfillMargin(4,n,i.range,r))}return null}static _hitTestViewLines(e,t,i){if(!ew.isChildOfViewLines(t.targetPath))return null;if(e.isInTopPadding(t.mouseVerticalOffset))return t.fulfillContentEmpty(new eg.L(1,1),ek);if(e.isAfterLines(t.mouseVerticalOffset)||e.isInBottomPadding(t.mouseVerticalOffset)){let i=e.viewModel.getLineCount(),n=e.viewModel.getLineMaxColumn(i);return t.fulfillContentEmpty(new eg.L(i,n),ek)}if(i){if(ew.isStrictChildOfViewLines(t.targetPath)){let i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset);if(0===e.viewModel.getLineLength(i)){let n=e.getLineWidth(i),o=eN(t.mouseContentHorizontalOffset-n);return t.fulfillContentEmpty(new eg.L(i,1),o)}let n=e.getLineWidth(i);if(t.mouseContentHorizontalOffset>=n){let o=eN(t.mouseContentHorizontalOffset-n),r=new eg.L(i,e.viewModel.getLineMaxColumn(i));return t.fulfillContentEmpty(r,o)}}return t.fulfillUnknown()}let n=eD._doHitTest(e,t);return 1===n.type?eD.createMouseTargetFromHitTestPosition(e,t,n.spanNode,n.position,n.injectedText):this._createMouseTarget(e,t.withTarget(n.hitTarget),!0)}static _hitTestMinimap(e,t){if(ew.isChildOfMinimap(t.targetPath)){let i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),n=e.viewModel.getLineMaxColumn(i);return t.fulfillScrollbar(new eg.L(i,n))}return null}static _hitTestScrollbarSlider(e,t){if(ew.isChildOfScrollableElement(t.targetPath)&&t.target&&1===t.target.nodeType){let i=t.target.className;if(i&&/\b(slider|scrollbar)\b/.test(i)){let i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),n=e.viewModel.getLineMaxColumn(i);return t.fulfillScrollbar(new eg.L(i,n))}}return null}static _hitTestScrollbar(e,t){if(ew.isChildOfScrollableElement(t.targetPath)){let i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),n=e.viewModel.getLineMaxColumn(i);return t.fulfillScrollbar(new eg.L(i,n))}return null}getMouseColumn(e){let t=this._context.configuration.options,i=t.get(133),n=this._context.viewLayout.getCurrentScrollLeft()+e.x-i.contentLeft;return eD._getMouseColumn(n,t.get(46).typicalHalfwidthCharacterWidth)}static _getMouseColumn(e,t){return e<0?1:Math.round(e/t)+1}static createMouseTargetFromHitTestPosition(e,t,i,n,o){let r=n.lineNumber,s=n.column,a=e.getLineWidth(r);if(t.mouseContentHorizontalOffset>a){let e=eN(t.mouseContentHorizontalOffset-a);return t.fulfillContentEmpty(n,e)}let l=e.visibleRangeForPosition(r,s);if(!l)return t.fulfillUnknown(n);let h=l.left;if(t.mouseContentHorizontalOffset===h)return t.fulfillContentText(n,null,{mightBeForeignElement:!!o,injectedText:o});let d=[];if(d.push({offset:l.left,column:s}),s>1){let t=e.visibleRangeForPosition(r,s-1);t&&d.push({offset:t.left,column:s-1})}let u=e.viewModel.getLineMaxColumn(r);if(se.offset-t.offset);let c=t.pos.toClientCoordinates(),g=i.getBoundingClientRect(),p=g.left<=c.clientX&&c.clientX<=g.right;for(let e=1;e=t.editorPos.y+t.editorPos.height&&(r=t.editorPos.y+t.editorPos.height-1);let s=new K.YN(t.pos.x,r),a=this._actualDoHitTestWithCaretRangeFromPoint(e,s.toClientCoordinates());return 1===a.type?a:this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates())}static _actualDoHitTestWithCaretRangeFromPoint(e,t){let i;let n=c.Ay(e.viewDomNode);if(!(i=n?void 0===n.caretRangeFromPoint?function(e,t,i){let n=document.createRange(),o=e.elementFromPoint(t,i);if(null!==o){let e;for(;o&&o.firstChild&&o.firstChild.nodeType!==o.firstChild.TEXT_NODE&&o.lastChild&&o.lastChild.firstChild;)o=o.lastChild;let i=o.getBoundingClientRect(),r=window.getComputedStyle(o,null).getPropertyValue("font"),s=o.innerText,a=i.left,l=0;if(t>i.left+i.width)l=s.length;else{let i=ex.getInstance();for(let n=0;nthis._createMouseTarget(e,t),e=>this._getMouseColumn(e))),this.lastMouseLeaveTime=-1,this._height=this._context.configuration.options.get(133).height;let n=new K.N5(this.viewHelper.viewDomNode);this._register(n.onContextMenu(this.viewHelper.viewDomNode,e=>this._onContextMenu(e,!0))),this._register(n.onMouseMove(this.viewHelper.viewDomNode,e=>{this._onMouseMove(e),this._mouseLeaveMonitor||(this._mouseLeaveMonitor=c.nm(document,"mousemove",e=>{this.viewHelper.viewDomNode.contains(e.target)||this._onMouseLeave(new K.gy(e,!1,this.viewHelper.viewDomNode))}))})),this._register(n.onMouseUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(n.onMouseLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e)));let o=0;this._register(n.onPointerDown(this.viewHelper.viewDomNode,(e,t)=>{o=t})),this._register(c.nm(this.viewHelper.viewDomNode,c.tw.POINTER_UP,e=>{this._mouseDownOperation.onPointerUp()})),this._register(n.onMouseDown(this.viewHelper.viewDomNode,e=>this._onMouseDown(e,o))),this._register(c.nm(this.viewHelper.viewDomNode,c.tw.MOUSE_WHEEL,e=>{if(this.viewController.emitMouseWheel(e),!this._context.configuration.options.get(70))return;let t=new H.q(e),i=b.dz?(e.metaKey||e.ctrlKey)&&!e.shiftKey&&!e.altKey:e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey;if(i){let e=I.C.getZoomLevel(),i=t.deltaY>0?1:-1;I.C.setZoomLevel(e+i),t.preventDefault(),t.stopPropagation()}},{capture:!0,passive:!1})),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._mouseLeaveMonitor&&(this._mouseLeaveMonitor.dispose(),this._mouseLeaveMonitor=null),super.dispose()}onConfigurationChanged(e){if(e.hasChanged(133)){let e=this._context.configuration.options.get(133).height;this._height!==e&&(this._height=e,this._mouseDownOperation.onHeightChanged())}return!1}onCursorStateChanged(e){return this._mouseDownOperation.onCursorStateChanged(e),!1}onFocusChanged(e){return!1}onScrollChanged(e){return this._mouseDownOperation.onScrollChanged(),!1}getTargetAtClientPoint(e,t){let i=new K.rU(e,t),n=i.toPageCoordinates(),o=(0,K.kG)(this.viewHelper.viewDomNode);if(n.yo.y+o.height||n.xo.x+o.width)return null;let r=(0,K.Pp)(this.viewHelper.viewDomNode,o,n);return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),o,n,r,null)}_createMouseTarget(e,t){let i=e.target;if(!this.viewHelper.viewDomNode.contains(i)){let t=c.Ay(this.viewHelper.viewDomNode);t&&(i=t.elementsFromPoint(e.posx,e.posy).find(e=>this.viewHelper.viewDomNode.contains(e)))}return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),e.editorPos,e.pos,e.relativePos,t?i:null)}_getMouseColumn(e){return this.mouseTargetFactory.getMouseColumn(e.relativePos)}_onContextMenu(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})}_onMouseMove(e){let t=this.mouseTargetFactory.mouseTargetIsWidget(e);if(t||e.preventDefault(),this._mouseDownOperation.isActive())return;let i=e.timestamp;i{e.preventDefault(),this.viewHelper.focusTextArea()};if(h&&(n||r&&s))d(),this._mouseDownOperation.start(i.type,e,t);else if(o)e.preventDefault();else if(a){let n=i.detail;h&&this.viewHelper.shouldSuppressMouseDownOnViewZone(n.viewZoneId)&&(d(),this._mouseDownOperation.start(i.type,e,t),e.preventDefault())}else l&&this.viewHelper.shouldSuppressMouseDownOnWidget(i.detail)&&(d(),e.preventDefault());this.viewController.emitMouseDown({event:e,target:i})}}class eE extends m.JT{constructor(e,t,i,n,o){super(),this._context=e,this._viewController=t,this._viewHelper=i,this._createMouseTarget=n,this._getMouseColumn=o,this._mouseMoveMonitor=this._register(new K.AL(this._viewHelper.viewDomNode)),this._onScrollTimeout=this._register(new z._F),this._mouseState=new eT,this._currentSelection=new B.Y(1,1,1,1),this._isActive=!1,this._lastMouseEvent=null}dispose(){super.dispose()}isActive(){return this._isActive}_onMouseDownThenMove(e){this._lastMouseEvent=e,this._mouseState.setModifiers(e);let t=this._findMousePosition(e,!1);t&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:e,target:t}):this._dispatchMouse(t,!0))}start(e,t,i){this._lastMouseEvent=t,this._mouseState.setStartedOnLineNumbers(3===e),this._mouseState.setStartButtons(t),this._mouseState.setModifiers(t);let n=this._findMousePosition(t,!0);if(!n||!n.position)return;this._mouseState.trySetCount(t.detail,n.position),t.detail=this._mouseState.count;let o=this._context.configuration.options;if(!o.get(83)&&o.get(31)&&!o.get(18)&&!this._mouseState.altKey&&t.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&6===n.type&&n.position&&this._currentSelection.containsPosition(n.position)){this._mouseState.isDragAndDrop=!0,this._isActive=!0,this._mouseMoveMonitor.startMonitoring(this._viewHelper.viewLinesDomNode,i,t.buttons,e=>this._onMouseDownThenMove(e),e=>{let t=this._findMousePosition(this._lastMouseEvent,!1);e&&e instanceof KeyboardEvent?this._viewController.emitMouseDropCanceled():this._viewController.emitMouseDrop({event:this._lastMouseEvent,target:t?this._createMouseTarget(this._lastMouseEvent,!0):null}),this._stop()});return}this._mouseState.isDragAndDrop=!1,this._dispatchMouse(n,t.shiftKey),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(this._viewHelper.viewLinesDomNode,i,t.buttons,e=>this._onMouseDownThenMove(e),()=>this._stop()))}_stop(){this._isActive=!1,this._onScrollTimeout.cancel()}onHeightChanged(){this._mouseMoveMonitor.stopMonitoring()}onPointerUp(){this._mouseMoveMonitor.stopMonitoring()}onScrollChanged(){this._isActive&&this._onScrollTimeout.setIfNotSet(()=>{if(!this._lastMouseEvent)return;let e=this._findMousePosition(this._lastMouseEvent,!1);e&&!this._mouseState.isDragAndDrop&&this._dispatchMouse(e,!0)},10)}onCursorStateChanged(e){this._currentSelection=e.selections[0]}_getPositionOutsideEditor(e){let t=e.editorPos,i=this._context.viewModel,n=this._context.viewLayout,o=this._getMouseColumn(e);if(e.posyt.y+t.height){let t=n.getCurrentScrollTop()+e.relativePos.y,r=ey.getZoneAtCoord(this._context,t);if(r){let e=this._helpPositionJumpOverViewZone(r);if(e)return eb.createOutsideEditor(o,e)}let s=n.getLineNumberAtVerticalOffset(t);return eb.createOutsideEditor(o,new eg.L(s,i.getLineMaxColumn(s)))}let r=n.getLineNumberAtVerticalOffset(n.getCurrentScrollTop()+e.relativePos.y);return e.posxt.x+t.width?eb.createOutsideEditor(o,new eg.L(r,i.getLineMaxColumn(r))):null}_findMousePosition(e,t){let i=this._getPositionOutsideEditor(e);if(i)return i;let n=this._createMouseTarget(e,t),o=n.position;if(!o)return null;if(8===n.type||5===n.type){let e=this._helpPositionJumpOverViewZone(n.detail);if(e)return eb.createViewZone(n.type,n.element,n.mouseColumn,e,n.detail)}return n}_helpPositionJumpOverViewZone(e){let t=new eg.L(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),i=e.positionBefore,n=e.positionAfter;return i&&n?i.isBefore(t)?i:n:null}_dispatchMouse(e,t){e.position&&this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:t,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton,onInjectedText:6===e.type&&null!==e.detail.injectedText})}}class eT{constructor(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}get altKey(){return this._altKey}get ctrlKey(){return this._ctrlKey}get metaKey(){return this._metaKey}get shiftKey(){return this._shiftKey}get leftButton(){return this._leftButton}get middleButton(){return this._middleButton}get startedOnLineNumbers(){return this._startedOnLineNumbers}get count(){return this._lastMouseDownCount}setModifiers(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey}setStartButtons(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton}setStartedOnLineNumbers(e){this._startedOnLineNumbers=e}trySetCount(e,t){let i=new Date().getTime();i-this._lastSetMouseDownCountTime>eT.CLEAR_MOUSE_DOWN_COUNT_TIME&&(e=1),this._lastSetMouseDownCountTime=i,e>this._lastMouseDownCount+1&&(e=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(t)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=t,this._lastMouseDownCount=Math.min(e,this._lastMouseDownPositionEqualCount)}}eT.CLEAR_MOUSE_DOWN_COUNT_TIME=400;var eM=i(10161),eA=i(35715);class eR extends eI{constructor(e,t,i){super(e,t,i),this._register(W.o.addTarget(this.viewHelper.linesContentDomNode)),this._register(c.nm(this.viewHelper.linesContentDomNode,W.t.Tap,e=>this.onTap(e))),this._register(c.nm(this.viewHelper.linesContentDomNode,W.t.Change,e=>this.onChange(e))),this._register(c.nm(this.viewHelper.linesContentDomNode,W.t.Contextmenu,e=>this._onContextMenu(new K.gy(e,!1,this.viewHelper.viewDomNode),!1))),this._lastPointerType="mouse",this._register(c.nm(this.viewHelper.linesContentDomNode,"pointerdown",e=>{let t=e.pointerType;if("mouse"===t){this._lastPointerType="mouse";return}"touch"===t?this._lastPointerType="touch":this._lastPointerType="pen"}));let n=new K.tC(this.viewHelper.viewDomNode);this._register(n.onPointerMove(this.viewHelper.viewDomNode,e=>this._onMouseMove(e))),this._register(n.onPointerUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(n.onPointerLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e))),this._register(n.onPointerDown(this.viewHelper.viewDomNode,(e,t)=>this._onMouseDown(e,t)))}onTap(e){if(!e.initialTarget||!this.viewHelper.linesContentDomNode.contains(e.initialTarget))return;e.preventDefault(),this.viewHelper.focusTextArea();let t=this._createMouseTarget(new K.gy(e,!1,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.dispatchMouse({position:t.position,mouseColumn:t.position.column,startedOnLineNumbers:!1,mouseDownCount:e.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1,onInjectedText:6===t.type&&null!==t.detail.injectedText})}onChange(e){"touch"===this._lastPointerType&&this._context.viewModel.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)}_onMouseDown(e,t){"touch"!==e.browserEvent.pointerType&&super._onMouseDown(e,t)}}class eO extends eI{constructor(e,t,i){super(e,t,i),this._register(W.o.addTarget(this.viewHelper.linesContentDomNode)),this._register(c.nm(this.viewHelper.linesContentDomNode,W.t.Tap,e=>this.onTap(e))),this._register(c.nm(this.viewHelper.linesContentDomNode,W.t.Change,e=>this.onChange(e))),this._register(c.nm(this.viewHelper.linesContentDomNode,W.t.Contextmenu,e=>this._onContextMenu(new K.gy(e,!1,this.viewHelper.viewDomNode),!1)))}onTap(e){e.preventDefault(),this.viewHelper.focusTextArea();let t=this._createMouseTarget(new K.gy(e,!1,this.viewHelper.viewDomNode),!1);if(t.position){let e=document.createEvent("CustomEvent");e.initEvent(eA.pd.Tap,!1,!0),this.viewHelper.dispatchTextAreaEvent(e),this.viewController.moveTo(t.position)}}onChange(e){this._context.viewModel.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)}}class eP extends m.JT{constructor(e,t,i){super(),b.gn&&eM.D.pointerEvents?this.handler=this._register(new eR(e,t,i)):window.TouchEvent?this.handler=this._register(new eO(e,t,i)):this.handler=this._register(new eI(e,t,i))}getTargetAtClientPoint(e,t){return this.handler.getTargetAtClientPoint(e,t)}}i(33094);var eF=i(97295),eB=i(52136),eV=i(15887);i(44789);class eW extends U{}var eH=i(51945),ez=i(97781);class eK extends eW{constructor(e){super(),this._context=e,this._readConfig(),this._lastCursorModelPosition=new eg.L(1,1),this._lastCursorViewPosition=new eg.L(1,1),this._renderResult=null,this._activeLineNumber=1,this._context.addEventHandler(this)}_readConfig(){let e=this._context.configuration.options;this._lineHeight=e.get(61);let t=e.get(62);this._renderLineNumbers=t.renderType,this._renderCustomLineNumbers=t.renderFn,this._renderFinalNewline=e.get(86);let i=e.get(133);this._lineNumbersLeft=i.lineNumbersLeft,this._lineNumbersWidth=i.lineNumbersWidth}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){return this._readConfig(),!0}onCursorStateChanged(e){let t=e.selections[0].getPosition();this._lastCursorViewPosition=t,this._lastCursorModelPosition=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(t);let i=!1;return this._activeLineNumber!==t.lineNumber&&(this._activeLineNumber=t.lineNumber,i=!0),(2===this._renderLineNumbers||3===this._renderLineNumbers)&&(i=!0),i}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getLineRenderLineNumber(e){let t=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new eg.L(e,1));if(1!==t.column)return"";let i=t.lineNumber;return this._renderCustomLineNumbers?this._renderCustomLineNumbers(i):3===this._renderLineNumbers?this._lastCursorModelPosition.lineNumber===i||i%10==0?String(i):"":String(i)}prepareRender(e){if(0===this._renderLineNumbers){this._renderResult=null;return}let t=b.IJ?this._lineHeight%2==0?" lh-even":" lh-odd":"",i=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,o='
    ',r=null;if(2===this._renderLineNumbers){r=Array(n-i+1),this._lastCursorViewPosition.lineNumber>=i&&this._lastCursorViewPosition.lineNumber<=n&&(r[this._lastCursorViewPosition.lineNumber-i]=this._lastCursorModelPosition.lineNumber);{let e=0;for(let t=this._lastCursorViewPosition.lineNumber+1;t<=n;t++){let n=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new eg.L(t,1)),o=1!==n.column;!o&&e++,t>=i&&(r[t-i]=o?0:e)}}{let e=0;for(let t=this._lastCursorViewPosition.lineNumber-1;t>=i;t--){let o=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new eg.L(t,1)),s=1!==o.column;!s&&e++,t<=n&&(r[t-i]=s?0:e)}}}let s=this._context.viewModel.getLineCount(),a=[];for(let e=i;e<=n;e++){let n;let l=e-i;if(!this._renderFinalNewline&&e===s&&0===this._context.viewModel.getLineLength(e)){a[l]="";continue}if(r){let t=r[l];n=this._lastCursorViewPosition.lineNumber===e?`${t}`:t?String(t):""}else n=this._getLineRenderLineNumber(e);n?e===this._activeLineNumber?a[l]='
    '+n+"
    ":a[l]=o+n+"
    ":a[l]=""}this._renderResult=a}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}eK.CLASS_NAME="line-numbers",(0,ez.Ic)((e,t)=>{let i=e.getColor(eH.hw);i&&t.addRule(`.monaco-editor .line-numbers { color: ${i}; }`);let n=e.getColor(eH.DD);n&&t.addRule(`.monaco-editor .line-numbers.active-line-number { color: ${n}; }`)});class eU extends ${constructor(e){super(e);let t=this._context.configuration.options,i=t.get(133);this._canUseLayerHinting=!t.get(28),this._contentLeft=i.contentLeft,this._glyphMarginLeft=i.glyphMarginLeft,this._glyphMarginWidth=i.glyphMarginWidth,this._domNode=(0,V.X)(document.createElement("div")),this._domNode.setClassName(eU.OUTER_CLASS_NAME),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._glyphMarginBackgroundDomNode=(0,V.X)(document.createElement("div")),this._glyphMarginBackgroundDomNode.setClassName(eU.CLASS_NAME),this._domNode.appendChild(this._glyphMarginBackgroundDomNode)}dispose(){super.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(133);return this._canUseLayerHinting=!t.get(28),this._contentLeft=i.contentLeft,this._glyphMarginLeft=i.glyphMarginLeft,this._glyphMarginWidth=i.glyphMarginWidth,!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollTopChanged}prepareRender(e){}render(e){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");let t=e.scrollTop-e.bigNumbersDelta;this._domNode.setTop(-t);let i=Math.min(e.scrollHeight,1e6);this._domNode.setHeight(i),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(i)}}eU.CLASS_NAME="glyph-margin",eU.OUTER_CLASS_NAME="margin";var e$=i(24929),ej=i(96542),eq=i(43155),eG=i(41264);class eQ{constructor(e,t,i,n,o){this._context=e,this.modelLineNumber=t,this.distanceToModelLineStart=i,this.widthOfHiddenLineTextBefore=n,this.distanceToModelLineEnd=o,this._visibleTextAreaBrand=void 0,this.startPosition=null,this.endPosition=null,this.visibleTextareaStart=null,this.visibleTextareaEnd=null,this._previousPresentation=null}prepareRender(e){let t=new eg.L(this.modelLineNumber,this.distanceToModelLineStart+1),i=new eg.L(this.modelLineNumber,this._context.viewModel.model.getLineMaxColumn(this.modelLineNumber)-this.distanceToModelLineEnd);this.startPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(t),this.endPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(i),this.startPosition.lineNumber===this.endPosition.lineNumber?(this.visibleTextareaStart=e.visibleRangeForPosition(this.startPosition),this.visibleTextareaEnd=e.visibleRangeForPosition(this.endPosition)):(this.visibleTextareaStart=null,this.visibleTextareaEnd=null)}definePresentation(e){return this._previousPresentation||(e?this._previousPresentation=e:this._previousPresentation={foreground:1,italic:!1,bold:!1,underline:!1,strikethrough:!1}),this._previousPresentation}}let eZ=_.isFirefox;class eY extends ${constructor(e,t,i){super(e),this._primaryCursorPosition=new eg.L(1,1),this._primaryCursorVisibleRange=null,this._viewController=t,this._visibleRangeProvider=i,this._scrollLeft=0,this._scrollTop=0;let n=this._context.configuration.options,o=n.get(133);this._setAccessibilityOptions(n),this._contentLeft=o.contentLeft,this._contentWidth=o.contentWidth,this._contentHeight=o.height,this._fontInfo=n.get(46),this._lineHeight=n.get(61),this._emptySelectionClipboard=n.get(33),this._copyWithSyntaxHighlighting=n.get(21),this._visibleTextArea=null,this._selections=[new B.Y(1,1,1,1)],this._modelSelections=[new B.Y(1,1,1,1)],this._lastRenderPosition=null,this.textArea=(0,V.X)(document.createElement("textarea")),j.write(this.textArea,6),this.textArea.setClassName(`inputarea ${ej.S}`),this.textArea.setAttribute("wrap","off"),this.textArea.setAttribute("autocorrect","off"),this.textArea.setAttribute("autocapitalize","off"),this.textArea.setAttribute("autocomplete","off"),this.textArea.setAttribute("spellcheck","false"),this.textArea.setAttribute("aria-label",this._getAriaLabel(n)),this.textArea.setAttribute("tabindex",String(n.get(114))),this.textArea.setAttribute("role","textbox"),this.textArea.setAttribute("aria-roledescription",u.NC("editor","editor")),this.textArea.setAttribute("aria-multiline","true"),this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),n.get(30)&&n.get(83)&&this.textArea.setAttribute("readonly","true"),this.textAreaCover=(0,V.X)(document.createElement("div")),this.textAreaCover.setPosition("absolute");let r={getLineCount:()=>this._context.viewModel.getLineCount(),getLineMaxColumn:e=>this._context.viewModel.getLineMaxColumn(e),getValueInRange:(e,t)=>this._context.viewModel.getValueInRange(e,t)},s=this._register(new eA.Tj(this.textArea.domNode));this._textAreaInput=this._register(new eA.Fz({getDataToCopy:()=>{let e;let t=this._context.viewModel.getPlainTextToCopy(this._modelSelections,this._emptySelectionClipboard,b.ED),i=this._context.viewModel.model.getEOL(),n=this._emptySelectionClipboard&&1===this._modelSelections.length&&this._modelSelections[0].isEmpty(),o=Array.isArray(t)?t:null,r=Array.isArray(t)?t.join(i):t,s=null;if(eA.RA.forceCopyWithSyntaxHighlighting||this._copyWithSyntaxHighlighting&&r.length<65536){let t=this._context.viewModel.getRichTextToCopy(this._modelSelections,this._emptySelectionClipboard);t&&(e=t.html,s=t.mode)}return{isFromEmptySelection:n,multicursorText:o,text:r,html:e,mode:s}},getScreenReaderContent:e=>{if(1===this._accessibilitySupport){let e=this._selections[0];if(b.dz&&e.isEmpty()){let t=e.getStartPosition(),i=this._getWordBeforePosition(t);if(0===i.length&&(i=this._getCharacterBeforePosition(t)),i.length>0)return new eV.un(i,i.length,i.length,t,t)}if(_.isSafari&&!e.isEmpty()){let e="vscode-placeholder";return new eV.un(e,0,e.length,null,null)}return eV.un.EMPTY}if(_.isAndroid){let e=this._selections[0];if(e.isEmpty()){let t=e.getStartPosition(),[i,n]=this._getAndroidWordAtPosition(t);if(i.length>0)return new eV.un(i,n,n,t,t)}return eV.un.EMPTY}return eV.ee.fromEditorSelection(e,r,this._selections[0],this._accessibilityPageSize,0===this._accessibilitySupport)},deduceModelPosition:(e,t,i)=>this._context.viewModel.deduceModelPositionRelativeToViewPosition(e,t,i)},s,b.OS,_)),this._register(this._textAreaInput.onKeyDown(e=>{this._viewController.emitKeyDown(e)})),this._register(this._textAreaInput.onKeyUp(e=>{this._viewController.emitKeyUp(e)})),this._register(this._textAreaInput.onPaste(e=>{let t=!1,i=null,n=null;e.metadata&&(t=this._emptySelectionClipboard&&!!e.metadata.isFromEmptySelection,i=void 0!==e.metadata.multicursorText?e.metadata.multicursorText:null,n=e.metadata.mode),this._viewController.paste(e.text,t,i,n)})),this._register(this._textAreaInput.onCut(()=>{this._viewController.cut()})),this._register(this._textAreaInput.onType(e=>{e.replacePrevCharCnt||e.replaceNextCharCnt||e.positionDelta?(eV.al&&console.log(` => compositionType: <<${e.text}>>, ${e.replacePrevCharCnt}, ${e.replaceNextCharCnt}, ${e.positionDelta}`),this._viewController.compositionType(e.text,e.replacePrevCharCnt,e.replaceNextCharCnt,e.positionDelta)):(eV.al&&console.log(` => type: <<${e.text}>>`),this._viewController.type(e.text))})),this._register(this._textAreaInput.onSelectionChangeRequest(e=>{this._viewController.setSelection(e)})),this._register(this._textAreaInput.onCompositionStart(e=>{let t=this.textArea.domNode,i=this._modelSelections[0],{distanceToModelLineStart:n,widthOfHiddenTextBefore:o}=(()=>{let e=t.value.substring(0,Math.min(t.selectionStart,t.selectionEnd)),n=e.lastIndexOf("\n"),o=e.substring(n+1),r=o.lastIndexOf(" "),s=o.length-r-1,a=i.getStartPosition(),l=Math.min(a.column-1,s),h=a.column-1-l,d=o.substring(0,o.length-l),u=function(e,t){if(0===e.length)return 0;let i=document.createElement("div");i.style.position="absolute",i.style.top="-50000px",i.style.width="50000px";let n=document.createElement("span");(0,eB.N)(n,t),n.style.whiteSpace="pre",n.append(e),i.appendChild(n),document.body.appendChild(i);let o=n.offsetWidth;return document.body.removeChild(i),o}(d,this._fontInfo);return{distanceToModelLineStart:h,widthOfHiddenTextBefore:u}})(),{distanceToModelLineEnd:r}=(()=>{let e=t.value.substring(Math.max(t.selectionStart,t.selectionEnd)),n=e.indexOf("\n"),o=-1===n?e:e.substring(0,n),r=o.indexOf(" "),s=-1===r?o.length:o.length-r-1,a=i.getEndPosition(),l=Math.min(this._context.viewModel.model.getLineMaxColumn(a.lineNumber)-a.column,s),h=this._context.viewModel.model.getLineMaxColumn(a.lineNumber)-a.column-l;return{distanceToModelLineEnd:h}})();this._context.viewModel.revealRange("keyboard",!0,ep.e.fromPositions(this._selections[0].getStartPosition()),0,1),this._visibleTextArea=new eQ(this._context,i.startLineNumber,n,o,r),this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render(),this.textArea.setClassName(`inputarea ${ej.S} ime-input`),this._viewController.compositionStart(),this._context.viewModel.onCompositionStart()})),this._register(this._textAreaInput.onCompositionUpdate(e=>{this._visibleTextArea&&(this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render())})),this._register(this._textAreaInput.onCompositionEnd(()=>{this._visibleTextArea=null,this._render(),this.textArea.setClassName(`inputarea ${ej.S}`),this._viewController.compositionEnd(),this._context.viewModel.onCompositionEnd()})),this._register(this._textAreaInput.onFocus(()=>{this._context.viewModel.setHasFocus(!0)})),this._register(this._textAreaInput.onBlur(()=>{this._context.viewModel.setHasFocus(!1)}))}dispose(){super.dispose()}_getAndroidWordAtPosition(e){let t=this._context.viewModel.getLineContent(e.lineNumber),i=(0,e$.u)('`~!@#$%^&*()-=+[{]}\\|;:",.<>/?'),n=!0,o=e.column,r=!0,s=e.column,a=0;for(;a<50&&(n||r);){if(n&&o<=1&&(n=!1),n){let e=t.charCodeAt(o-2),r=i.get(e);0!==r?n=!1:o--}if(r&&s>t.length&&(r=!1),r){let e=t.charCodeAt(s-1),n=i.get(e);0!==n?r=!1:s++}a++}return[t.substring(o-1,s-1),e.column-o]}_getWordBeforePosition(e){let t=this._context.viewModel.getLineContent(e.lineNumber),i=(0,e$.u)(this._context.configuration.options.get(119)),n=e.column,o=0;for(;n>1;){let r=t.charCodeAt(n-2),s=i.get(r);if(0!==s||o>50)return t.substring(n-1,e.column-1);o++,n--}return t.substring(0,e.column-1)}_getCharacterBeforePosition(e){if(e.column>1){let t=this._context.viewModel.getLineContent(e.lineNumber),i=t.charAt(e.column-2);if(!eF.ZG(i.charCodeAt(0)))return i}return""}_getAriaLabel(e){let t=e.get(2);return 1===t?u.NC("accessibilityOffAriaLabel","The editor is not accessible at this time. Press {0} for options.",b.IJ?"Shift+Alt+F1":"Alt+F1"):e.get(4)}_setAccessibilityOptions(e){this._accessibilitySupport=e.get(2);let t=e.get(3);2===this._accessibilitySupport&&t===x.BH.accessibilityPageSize.defaultValue?this._accessibilityPageSize=500:this._accessibilityPageSize=t}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(133);return this._setAccessibilityOptions(t),this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,this._contentHeight=i.height,this._fontInfo=t.get(46),this._lineHeight=t.get(61),this._emptySelectionClipboard=t.get(33),this._copyWithSyntaxHighlighting=t.get(21),this.textArea.setAttribute("aria-label",this._getAriaLabel(t)),this.textArea.setAttribute("tabindex",String(t.get(114))),(e.hasChanged(30)||e.hasChanged(83))&&(t.get(30)&&t.get(83)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")),e.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),this._modelSelections=e.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return this._scrollLeft=e.scrollLeft,this._scrollTop=e.scrollTop,!0}onZonesChanged(e){return!0}isFocused(){return this._textAreaInput.isFocused()}focusTextArea(){this._textAreaInput.focusTextArea()}getLastRenderData(){return this._lastRenderPosition}setAriaOptions(e){e.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",e.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant")),e.role&&this.textArea.setAttribute("role",e.role)}prepareRender(e){var t;this._primaryCursorPosition=new eg.L(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=e.visibleRangeForPosition(this._primaryCursorPosition),null===(t=this._visibleTextArea)||void 0===t||t.prepareRender(e)}render(e){this._textAreaInput.writeScreenReaderContent("render"),this._render()}_render(){if(this._visibleTextArea){let e=this._visibleTextArea.visibleTextareaStart,t=this._visibleTextArea.visibleTextareaEnd,i=this._visibleTextArea.startPosition,n=this._visibleTextArea.endPosition;if(i&&n&&e&&t&&t.left>=this._scrollLeft&&e.left<=this._scrollLeft+this._contentWidth){let o=this._context.viewLayout.getVerticalOffsetForLineNumber(this._primaryCursorPosition.lineNumber)-this._scrollTop,r=this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart)),s=this._visibleTextArea.widthOfHiddenLineTextBefore,a=this._contentLeft+e.left-this._scrollLeft,l=t.left-e.left+1;if(athis._contentWidth&&(l=this._contentWidth);let h=this._context.viewModel.getViewLineData(i.lineNumber),d=h.tokens.findTokenIndexAtOffset(i.column-1),u=h.tokens.findTokenIndexAtOffset(n.column-1),c=d===u,g=this._visibleTextArea.definePresentation(c?h.tokens.getPresentation(d):null);this.textArea.domNode.scrollTop=r*this._lineHeight,this.textArea.domNode.scrollLeft=s,this._doRender({lastRenderPosition:null,top:o,left:a,width:l,height:this._lineHeight,useCover:!1,color:(eq.RW.getColorMap()||[])[g.foreground],italic:g.italic,bold:g.bold,underline:g.underline,strikethrough:g.strikethrough})}return}if(!this._primaryCursorVisibleRange){this._renderAtTopLeft();return}let e=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(ethis._contentLeft+this._contentWidth){this._renderAtTopLeft();return}let t=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;if(t<0||t>this._contentHeight){this._renderAtTopLeft();return}if(b.dz){this._doRender({lastRenderPosition:this._primaryCursorPosition,top:t,left:e,width:eZ?0:1,height:this._lineHeight,useCover:!1}),this.textArea.domNode.scrollLeft=this._primaryCursorVisibleRange.left;let i=this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart));this.textArea.domNode.scrollTop=i*this._lineHeight;return}this._doRender({lastRenderPosition:this._primaryCursorPosition,top:t,left:e,width:eZ?0:1,height:eZ?0:1,useCover:!1})}_newlinecount(e){let t=0,i=-1;for(;-1!==(i=e.indexOf("\n",i+1));)t++;return t}_renderAtTopLeft(){this._doRender({lastRenderPosition:null,top:0,left:0,width:eZ?0:1,height:eZ?0:1,useCover:!0})}_doRender(e){this._lastRenderPosition=e.lastRenderPosition;let t=this.textArea,i=this.textAreaCover;(0,eB.N)(t,this._fontInfo),t.setTop(e.top),t.setLeft(e.left),t.setWidth(e.width),t.setHeight(e.height),t.setColor(e.color?eG.Il.Format.CSS.formatHex(e.color):""),t.setFontStyle(e.italic?"italic":""),e.bold&&t.setFontWeight("bold"),t.setTextDecoration(`${e.underline?" underline":""}${e.strikethrough?" line-through":""}`),i.setTop(e.useCover?e.top:0),i.setLeft(e.useCover?e.left:0),i.setWidth(e.useCover?e.width:0),i.setHeight(e.useCover?e.height:0);let n=this._context.configuration.options;n.get(52)?i.setClassName("monaco-editor-background textAreaCover "+eU.OUTER_CLASS_NAME):0!==n.get(62).renderType?i.setClassName("monaco-editor-background textAreaCover "+eK.CLASS_NAME):i.setClassName("monaco-editor-background textAreaCover")}}var eJ=i(42549);class eX{constructor(e,t,i,n){this.configuration=e,this.viewModel=t,this.userInputEvents=i,this.commandDelegate=n}paste(e,t,i,n){this.commandDelegate.paste(e,t,i,n)}type(e){this.commandDelegate.type(e)}compositionType(e,t,i,n){this.commandDelegate.compositionType(e,t,i,n)}compositionStart(){this.commandDelegate.startComposition()}compositionEnd(){this.commandDelegate.endComposition()}cut(){this.commandDelegate.cut()}setSelection(e){eJ.Ox.SetSelection.runCoreEditorCommand(this.viewModel,{source:"keyboard",selection:e})}_validateViewColumn(e){let t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column=4?this._selectAll():3===e.mouseDownCount?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelectDrag(e.position):this._lastCursorLineSelect(e.position):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):2===e.mouseDownCount?e.onInjectedText||(this._hasMulticursorModifier(e)?this._lastCursorWordSelect(e.position):e.inSelectionMode?this._wordSelectDrag(e.position):this._wordSelect(e.position)):this._hasMulticursorModifier(e)?this._hasNonMulticursorModifier(e)||(e.shiftKey?this._columnSelect(e.position,e.mouseColumn,!0):e.inSelectionMode?this._lastCursorMoveToSelect(e.position):this._createCursor(e.position,!1)):e.inSelectionMode?e.altKey?this._columnSelect(e.position,e.mouseColumn,!0):n?this._columnSelect(e.position,e.mouseColumn,!0):this._moveToSelect(e.position):this.moveTo(e.position)}_usualArgs(e){return e=this._validateViewColumn(e),{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e}}moveTo(e){eJ.Ox.MoveTo.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_moveToSelect(e){eJ.Ox.MoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_columnSelect(e,t,i){e=this._validateViewColumn(e),eJ.Ox.ColumnSelect.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t,doColumnSelect:i})}_createCursor(e,t){e=this._validateViewColumn(e),eJ.Ox.CreateCursor.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})}_lastCursorMoveToSelect(e){eJ.Ox.LastCursorMoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_wordSelect(e){eJ.Ox.WordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_wordSelectDrag(e){eJ.Ox.WordSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lastCursorWordSelect(e){eJ.Ox.LastCursorWordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lineSelect(e){eJ.Ox.LineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lineSelectDrag(e){eJ.Ox.LineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lastCursorLineSelect(e){eJ.Ox.LastCursorLineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lastCursorLineSelectDrag(e){eJ.Ox.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_selectAll(){eJ.Ox.SelectAll.runCoreEditorCommand(this.viewModel,{source:"mouse"})}_convertViewToModelPosition(e){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(e)}emitKeyDown(e){this.userInputEvents.emitKeyDown(e)}emitKeyUp(e){this.userInputEvents.emitKeyUp(e)}emitContextMenu(e){this.userInputEvents.emitContextMenu(e)}emitMouseMove(e){this.userInputEvents.emitMouseMove(e)}emitMouseLeave(e){this.userInputEvents.emitMouseLeave(e)}emitMouseUp(e){this.userInputEvents.emitMouseUp(e)}emitMouseDown(e){this.userInputEvents.emitMouseDown(e)}emitMouseDrag(e){this.userInputEvents.emitMouseDrag(e)}emitMouseDrop(e){this.userInputEvents.emitMouseDrop(e)}emitMouseDropCanceled(){this.userInputEvents.emitMouseDropCanceled()}emitMouseWheel(e){this.userInputEvents.emitMouseWheel(e)}}class e0{constructor(e){this.onKeyDown=null,this.onKeyUp=null,this.onContextMenu=null,this.onMouseMove=null,this.onMouseLeave=null,this.onMouseDown=null,this.onMouseUp=null,this.onMouseDrag=null,this.onMouseDrop=null,this.onMouseDropCanceled=null,this.onMouseWheel=null,this._coordinatesConverter=e}emitKeyDown(e){var t;null===(t=this.onKeyDown)||void 0===t||t.call(this,e)}emitKeyUp(e){var t;null===(t=this.onKeyUp)||void 0===t||t.call(this,e)}emitContextMenu(e){var t;null===(t=this.onContextMenu)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseMove(e){var t;null===(t=this.onMouseMove)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseLeave(e){var t;null===(t=this.onMouseLeave)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDown(e){var t;null===(t=this.onMouseDown)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseUp(e){var t;null===(t=this.onMouseUp)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDrag(e){var t;null===(t=this.onMouseDrag)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDrop(e){var t;null===(t=this.onMouseDrop)||void 0===t||t.call(this,this._convertViewToModelMouseEvent(e))}emitMouseDropCanceled(){var e;null===(e=this.onMouseDropCanceled)||void 0===e||e.call(this)}emitMouseWheel(e){var t;null===(t=this.onMouseWheel)||void 0===t||t.call(this,e)}_convertViewToModelMouseEvent(e){return e.target?{event:e.event,target:this._convertViewToModelMouseTarget(e.target)}:e}_convertViewToModelMouseTarget(e){return e0.convertViewToModelMouseTarget(e,this._coordinatesConverter)}static convertViewToModelMouseTarget(e,t){let i=Object.assign({},e);return i.position&&(i.position=t.convertViewPositionToModelPosition(i.position)),i.range&&(i.range=t.convertViewRangeToModelRange(i.range)),i}}var e1=i(50072);class e2{constructor(e){this._createLine=e,this._set(1,[])}flush(){this._set(1,[])}_set(e,t){this._lines=t,this._rendLineNumberStart=e}_get(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}}getStartLineNumber(){return this._rendLineNumberStart}getEndLineNumber(){return this._rendLineNumberStart+this._lines.length-1}getCount(){return this._lines.length}getLine(e){let t=e-this._rendLineNumberStart;if(t<0||t>=this._lines.length)throw Error("Illegal value for lineNumber");return this._lines[t]}onLinesDeleted(e,t){if(0===this.getCount())return null;let i=this.getStartLineNumber(),n=this.getEndLineNumber();if(tn)return null;let o=0,r=0;for(let s=i;s<=n;s++){let i=s-this._rendLineNumberStart;e<=s&&s<=t&&(0===r?(o=i,r=1):r++)}if(e=n&&t<=o&&(this._lines[t-this._rendLineNumberStart].onContentChanged(),r=!0);return r}onLinesInserted(e,t){if(0===this.getCount())return null;let i=t-e+1,n=this.getStartLineNumber(),o=this.getEndLineNumber();if(e<=n)return this._rendLineNumberStart+=i,null;if(e>o)return null;if(i+e>o){let t=this._lines.splice(e-this._rendLineNumberStart,o-e+1);return t}let r=[];for(let e=0;ei)continue;let s=Math.max(t,r.fromLineNumber),a=Math.min(i,r.toLineNumber);for(let e=s;e<=a;e++){let t=e-this._rendLineNumberStart;this._lines[t].onTokensChanged(),n=!0}}return n}}class e5{constructor(e){this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new e2(()=>this._host.createVisibleLine())}_createDomNode(){let e=(0,V.X)(document.createElement("div"));return e.setClassName("view-layer"),e.setPosition("absolute"),e.domNode.setAttribute("role","presentation"),e.domNode.setAttribute("aria-hidden","true"),e}onConfigurationChanged(e){return!!e.hasChanged(133)}onFlushed(e){return this._linesCollection.flush(),!0}onLinesChanged(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.count)}onLinesDeleted(e){let t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(let e=0,i=t.length;et){let e=Math.min(i,o.rendLineNumberStart-1);t<=e&&(this._insertLinesBefore(o,t,e,n,t),o.linesLength+=e-t+1)}else if(o.rendLineNumberStart0&&(this._removeLinesBefore(o,e),o.linesLength-=e)}if(o.rendLineNumberStart=t,o.rendLineNumberStart+o.linesLength-1i){let e=Math.max(0,i-o.rendLineNumberStart+1),t=o.linesLength-1,n=t-e+1;n>0&&(this._removeLinesAfter(o,n),o.linesLength-=n)}return this._finishRendering(o,!1,n),o}_renderUntouchedLines(e,t,i,n,o){let r=e.rendLineNumberStart,s=e.lines;for(let e=t;e<=i;e++){let t=r+e;s[e].layoutLine(t,n[t-o])}}_insertLinesBefore(e,t,i,n,o){let r=[],s=0;for(let e=t;e<=i;e++)r[s++]=this.host.createVisibleLine();e.lines=r.concat(e.lines)}_removeLinesBefore(e,t){for(let i=0;i=0;t--){let i=e.lines[t];n[t]&&(i.setDomNode(r),r=r.previousSibling)}}_finishRenderingInvalidLines(e,t,i){let n=document.createElement("div");e4._ttPolicy&&(t=e4._ttPolicy.createHTML(t)),n.innerHTML=t;for(let t=0;te}),e4._sb=(0,e1.l$)(1e5);class e3 extends ${constructor(e){super(e),this._visibleLines=new e5(this),this.domNode=this._visibleLines.domNode,this._dynamicOverlays=[],this._isFocused=!1,this.domNode.setClassName("view-overlays")}shouldRender(){if(super.shouldRender())return!0;for(let e=0,t=this._dynamicOverlays.length;ee.shouldRender());for(let i=0,n=t.length;i'),n.appendASCIIString(o),n.appendASCIIString(""),!0)}layoutLine(e,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))}}class e7 extends e3{constructor(e){super(e);let t=this._context.configuration.options,i=t.get(133);this._contentWidth=i.contentWidth,this.domNode.setHeight(0)}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(133);return this._contentWidth=i.contentWidth,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollWidthChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e),this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth))}}class e6 extends e3{constructor(e){super(e);let t=this._context.configuration.options,i=t.get(133);this._contentLeft=i.contentLeft,this.domNode.setClassName("margin-view-overlays"),this.domNode.setWidth(1),(0,eB.N)(this.domNode,t.get(46))}onConfigurationChanged(e){let t=this._context.configuration.options;(0,eB.N)(this.domNode,t.get(46));let i=t.get(133);return this._contentLeft=i.contentLeft,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollHeightChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e);let t=Math.min(e.scrollHeight,1e6);this.domNode.setHeight(t),this.domNode.setWidth(this._contentLeft)}}class e8{constructor(e,t){this._coordinateBrand=void 0,this.top=e,this.left=t}}class te extends ${constructor(e,t){super(e),this._viewDomNode=t,this._widgets={},this.domNode=(0,V.X)(document.createElement("div")),j.write(this.domNode,1),this.domNode.setClassName("contentWidgets"),this.domNode.setPosition("absolute"),this.domNode.setTop(0),this.overflowingContentWidgetsDomNode=(0,V.X)(document.createElement("div")),j.write(this.overflowingContentWidgetsDomNode,2),this.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets")}dispose(){super.dispose(),this._widgets={}}onConfigurationChanged(e){let t=Object.keys(this._widgets);for(let i of t)this._widgets[i].onConfigurationChanged(e);return!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLineMappingChanged(e){let t=Object.keys(this._widgets);for(let i of t)this._widgets[i].onLineMappingChanged(e);return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return!0}onZonesChanged(e){return!0}addWidget(e){let t=new tt(this._context,this._viewDomNode,e);this._widgets[t.id]=t,t.allowEditorOverflow?this.overflowingContentWidgetsDomNode.appendChild(t.domNode):this.domNode.appendChild(t.domNode),this.setShouldRender()}setWidgetPosition(e,t,i,n){let o=this._widgets[e.getId()];o.setPosition(t,i,n),this.setShouldRender()}removeWidget(e){let t=e.getId();if(this._widgets.hasOwnProperty(t)){let e=this._widgets[t];delete this._widgets[t];let i=e.domNode.domNode;i.parentNode.removeChild(i),i.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}}shouldSuppressMouseDownOnWidget(e){return!!this._widgets.hasOwnProperty(e)&&this._widgets[e].suppressMouseDown}onBeforeRender(e){let t=Object.keys(this._widgets);for(let i of t)this._widgets[i].onBeforeRender(e)}prepareRender(e){let t=Object.keys(this._widgets);for(let i of t)this._widgets[i].prepareRender(e)}render(e){let t=Object.keys(this._widgets);for(let i of t)this._widgets[i].render(e)}}class tt{constructor(e,t,i){this._context=e,this._viewDomNode=t,this._actual=i,this.domNode=(0,V.X)(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;let n=this._context.configuration.options,o=n.get(133);this._fixedOverflowWidgets=n.get(38),this._contentWidth=o.contentWidth,this._contentLeft=o.contentLeft,this._lineHeight=n.get(61),this._range=null,this._viewRange=null,this._affinity=null,this._preference=[],this._cachedDomNodeOffsetWidth=-1,this._cachedDomNodeOffsetHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?"fixed":"absolute"),this.domNode.setDisplay("none"),this.domNode.setVisibility("hidden"),this.domNode.setAttribute("widgetId",this.id),this.domNode.setMaxWidth(this._maxWidth)}onConfigurationChanged(e){let t=this._context.configuration.options;if(this._lineHeight=t.get(61),e.hasChanged(133)){let e=t.get(133);this._contentLeft=e.contentLeft,this._contentWidth=e.contentWidth,this._maxWidth=this._getMaxWidth()}}onLineMappingChanged(e){this._setPosition(this._range,this._affinity)}_setPosition(e,t){var i;if(this._range=e,this._viewRange=null,this._affinity=t,this._range){let e=this._context.viewModel.model.validateRange(this._range);(this._context.viewModel.coordinatesConverter.modelPositionIsVisible(e.getStartPosition())||this._context.viewModel.coordinatesConverter.modelPositionIsVisible(e.getEndPosition()))&&(this._viewRange=this._context.viewModel.coordinatesConverter.convertModelRangeToViewRange(e,null!==(i=this._affinity)&&void 0!==i?i:void 0))}}_getMaxWidth(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.offsetWidth||document.body.offsetWidth:this._contentWidth}setPosition(e,t,i){this._setPosition(e,i),this._preference=t,this._viewRange&&this._preference&&this._preference.length>0?this.domNode.setDisplay("block"):this.domNode.setDisplay("none"),this._cachedDomNodeOffsetWidth=-1,this._cachedDomNodeOffsetHeight=-1}_layoutBoxInViewport(e,t,i,n,o){let r=e.top,s=t.top+this._lineHeight,a=o.viewportHeight-s,l=e.left,h=t.left;return l+i>o.scrollLeft+o.viewportWidth&&(l=o.scrollLeft+o.viewportWidth-i),h+i>o.scrollLeft+o.viewportWidth&&(h=o.scrollLeft+o.viewportWidth-i),l=n,aboveTop:r-n,aboveLeft:l,fitsBelow:a>=n,belowTop:s,belowLeft:h}}_layoutHorizontalSegmentInPage(e,t,i,n){let o=Math.max(0,t.left-n),r=Math.min(t.left+t.width+n,e.width),s=t.left+i-c.DI.scrollX;if(s+n>r){let e=s-(r-n);s-=e,i-=e}if(s=22,_=h+n<=d.height-22;return this._fixedOverflowWidgets?{fitsAbove:f,aboveTop:Math.max(l,22),aboveLeft:g,fitsBelow:_,belowTop:h,belowLeft:m}:{fitsAbove:f,aboveTop:r,aboveLeft:u,fitsBelow:_,belowTop:s,belowLeft:p}}_prepareRenderWidgetAtExactPositionOverflowing(e){return new e8(e.top,e.left+this._contentLeft)}_getTopAndBottomLeft(e){if(!this._viewRange)return[null,null];let t=e.linesVisibleRangesForRange(this._viewRange,!1);if(!t||0===t.length)return[null,null];let i=t[0],n=t[0];for(let e of t)e.lineNumbern.lineNumber&&(n=e);let o=1073741824;for(let e of i.ranges)e.lefte.endLineNumber)&&this.domNode.setMaxWidth(this._maxWidth)}prepareRender(e){this._renderData=this._prepareRenderWidget(e)}render(e){if(!this._renderData){this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden")),"function"==typeof this._actual.afterRender&&ti(this._actual.afterRender,this._actual,null);return}this.allowEditorOverflow?(this.domNode.setTop(this._renderData.coordinate.top),this.domNode.setLeft(this._renderData.coordinate.left)):(this.domNode.setTop(this._renderData.coordinate.top+e.scrollTop-e.bigNumbersDelta),this.domNode.setLeft(this._renderData.coordinate.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0),"function"==typeof this._actual.afterRender&&ti(this._actual.afterRender,this._actual,this._renderData.position)}}function ti(e,t,...i){try{return e.call(t,...i)}catch(e){return null}}i(84888);class tn extends eW{constructor(e){super(),this._context=e;let t=this._context.configuration.options,i=t.get(133);this._lineHeight=t.get(61),this._renderLineHighlight=t.get(87),this._renderLineHighlightOnlyWhenFocus=t.get(88),this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[1],this._selections=[new B.Y(1,1,1,1)],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let e=!1,t=this._selections.map(e=>e.positionLineNumber);t.sort((e,t)=>e-t),v.fS(this._cursorLineNumbers,t)||(this._cursorLineNumbers=t,e=!0);let i=this._selections.every(e=>e.isEmpty());return this._selectionIsEmpty!==i&&(this._selectionIsEmpty=i,e=!0),e}onThemeChanged(e){return this._readFromSelections()}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(133);return this._lineHeight=t.get(61),this._renderLineHighlight=t.get(87),this._renderLineHighlightOnlyWhenFocus=t.get(88),this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,!0}onCursorStateChanged(e){return this._selections=e.selections,this._readFromSelections()}onFlushed(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollWidthChanged||e.scrollTopChanged}onZonesChanged(e){return!0}onFocusChanged(e){return!!this._renderLineHighlightOnlyWhenFocus&&(this._focused=e.isFocused,!0)}prepareRender(e){if(!this._shouldRenderThis()){this._renderData=null;return}let t=this._renderOne(e),i=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,o=this._cursorLineNumbers.length,r=0,s=[];for(let e=i;e<=n;e++){let n=e-i;for(;r=this._renderData.length?"":this._renderData[i]}_shouldRenderInMargin(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}_shouldRenderInContent(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}}class to extends tn{_renderOne(e){let t="current-line"+(this._shouldRenderOther()?" current-line-both":"");return`
    `}_shouldRenderThis(){return this._shouldRenderInContent()}_shouldRenderOther(){return this._shouldRenderInMargin()}}class tr extends tn{_renderOne(e){let t="current-line"+(this._shouldRenderInMargin()?" current-line-margin":"")+(this._shouldRenderOther()?" current-line-margin-both":"");return`
    `}_shouldRenderThis(){return!0}_shouldRenderOther(){return this._shouldRenderInContent()}}(0,ez.Ic)((e,t)=>{let i=e.getColor(eH.Kh);if(i&&(t.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${i}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${i}; border: none; }`)),!i||i.isTransparent()||e.defines(eH.Mm)){let i=e.getColor(eH.Mm);i&&(t.addRule(`.monaco-editor .view-overlays .current-line { border: 2px solid ${i}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ${i}; }`),(0,en.c3)(e.type)&&(t.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}}),i(58153);class ts extends eW{constructor(e){super(),this._context=e;let t=this._context.configuration.options;this._lineHeight=t.get(61),this._typicalHalfwidthCharacterWidth=t.get(46).typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options;return this._lineHeight=t.get(61),this._typicalHalfwidthCharacterWidth=t.get(46).typicalHalfwidthCharacterWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged||e.scrollWidthChanged}onZonesChanged(e){return!0}prepareRender(e){let t=e.getDecorationsInViewport(),i=[],n=0;for(let e=0,o=t.length;e{if(e.options.zIndext.options.zIndex)return 1;let i=e.options.className,n=t.options.className;return in?1:ep.e.compareRangesUsingStarts(e.range,t.range)});let o=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber,s=[];for(let e=o;e<=r;e++){let t=e-o;s[t]=""}this._renderWholeLineDecorations(e,i,s),this._renderNormalDecorations(e,i,s),this._renderResult=s}_renderWholeLineDecorations(e,t,i){let n=String(this._lineHeight),o=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber;for(let e=0,s=t.length;e',l=Math.max(s.range.startLineNumber,o),h=Math.min(s.range.endLineNumber,r);for(let e=l;e<=h;e++){let t=e-o;i[t]+=a}}}_renderNormalDecorations(e,t,i){let n=String(this._lineHeight),o=e.visibleRange.startLineNumber,r=null,s=!1,a=null;for(let l=0,h=t.length;l';s[l]+=r}}}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}var ta=i(63161),tl=i(73910);class th extends ${constructor(e,t,i,n){super(e);let o=this._context.configuration.options,r=o.get(94),s=o.get(69),a=o.get(36),l=o.get(97),h={listenOnDomNode:i.domNode,className:"editor-scrollable "+(0,ez.m6)(e.theme.type),useShadows:!1,lazyRender:!0,vertical:r.vertical,horizontal:r.horizontal,verticalHasArrows:r.verticalHasArrows,horizontalHasArrows:r.horizontalHasArrows,verticalScrollbarSize:r.verticalScrollbarSize,verticalSliderSize:r.verticalSliderSize,horizontalScrollbarSize:r.horizontalScrollbarSize,horizontalSliderSize:r.horizontalSliderSize,handleMouseWheel:r.handleMouseWheel,alwaysConsumeMouseWheel:r.alwaysConsumeMouseWheel,arrowSize:r.arrowSize,mouseWheelScrollSensitivity:s,fastScrollSensitivity:a,scrollPredominantAxis:l,scrollByPage:r.scrollByPage};this.scrollbar=this._register(new ta.$Z(t.domNode,h,this._context.viewLayout.getScrollable())),j.write(this.scrollbar.getDomNode(),5),this.scrollbarDomNode=(0,V.X)(this.scrollbar.getDomNode()),this.scrollbarDomNode.setPosition("absolute"),this._setLayout();let d=(e,t,i)=>{let n={};if(t){let t=e.scrollTop;t&&(n.scrollTop=this._context.viewLayout.getCurrentScrollTop()+t,e.scrollTop=0)}if(i){let t=e.scrollLeft;t&&(n.scrollLeft=this._context.viewLayout.getCurrentScrollLeft()+t,e.scrollLeft=0)}this._context.viewModel.viewLayout.setScrollPosition(n,1)};this._register(c.nm(i.domNode,"scroll",e=>d(i.domNode,!0,!0))),this._register(c.nm(t.domNode,"scroll",e=>d(t.domNode,!0,!1))),this._register(c.nm(n.domNode,"scroll",e=>d(n.domNode,!0,!1))),this._register(c.nm(this.scrollbarDomNode.domNode,"scroll",e=>d(this.scrollbarDomNode.domNode,!0,!1)))}dispose(){super.dispose()}_setLayout(){let e=this._context.configuration.options,t=e.get(133);this.scrollbarDomNode.setLeft(t.contentLeft);let i=e.get(67),n=i.side;"right"===n?this.scrollbarDomNode.setWidth(t.contentWidth+t.minimap.minimapWidth):this.scrollbarDomNode.setWidth(t.contentWidth),this.scrollbarDomNode.setHeight(t.height)}getOverviewRulerLayoutInfo(){return this.scrollbar.getOverviewRulerLayoutInfo()}getDomNode(){return this.scrollbarDomNode}delegateVerticalScrollbarPointerDown(e){this.scrollbar.delegateVerticalScrollbarPointerDown(e)}onConfigurationChanged(e){if(e.hasChanged(94)||e.hasChanged(69)||e.hasChanged(36)){let e=this._context.configuration.options,t=e.get(94),i=e.get(69),n=e.get(36),o=e.get(97),r={vertical:t.vertical,horizontal:t.horizontal,verticalScrollbarSize:t.verticalScrollbarSize,horizontalScrollbarSize:t.horizontalScrollbarSize,scrollByPage:t.scrollByPage,handleMouseWheel:t.handleMouseWheel,mouseWheelScrollSensitivity:i,fastScrollSensitivity:n,scrollPredominantAxis:o};this.scrollbar.updateOptions(r)}return e.hasChanged(133)&&this._setLayout(),!0}onScrollChanged(e){return!0}onThemeChanged(e){return this.scrollbar.updateClassName("editor-scrollable "+(0,ez.m6)(this._context.theme.type)),!0}prepareRender(e){}render(e){this.scrollbar.renderNow()}}(0,ez.Ic)((e,t)=>{let i=e.getColor(tl._wn);i&&t.addRule(` + .monaco-scrollable-element > .shadow.top { + box-shadow: ${i} 0 6px 6px -6px inset; + } + + .monaco-scrollable-element > .shadow.left { + box-shadow: ${i} 6px 0 6px -6px inset; + } + + .monaco-scrollable-element > .shadow.top.left { + box-shadow: ${i} 6px 6px 6px -6px inset; + } + `);let n=e.getColor(tl.etL);n&&t.addRule(` + .monaco-scrollable-element > .scrollbar > .slider { + background: ${n}; + } + `);let o=e.getColor(tl.ABB);o&&t.addRule(` + .monaco-scrollable-element > .scrollbar > .slider:hover { + background: ${o}; + } + `);let r=e.getColor(tl.ynu);r&&t.addRule(` + .monaco-scrollable-element > .scrollbar > .slider.active { + background: ${r}; + } + `)}),i(1237);class td{constructor(e,t,i){this._decorationToRenderBrand=void 0,this.startLineNumber=+e,this.endLineNumber=+t,this.className=String(i)}}class tu extends eW{_render(e,t,i){let n=[];for(let i=e;i<=t;i++){let t=i-e;n[t]=[]}if(0===i.length)return n;i.sort((e,t)=>e.className===t.className?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.className',l=[];for(let e=t;e<=i;e++){let i=e-t,o=n[i];0===o.length?l[i]="":l[i]='
    =this._renderResult.length?"":this._renderResult[i]}}i(88541);var tg=i(98401),tp=i(1516),tm=i(65094);class tf extends eW{constructor(e){super(),this._context=e,this._primaryPosition=null;let t=this._context.configuration.options,i=t.get(134),n=t.get(46);this._lineHeight=t.get(61),this._spaceWidth=n.spaceWidth,this._maxIndentLeft=-1===i.wrappingColumn?-1:i.wrappingColumn*n.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(13),this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(134),n=t.get(46);return this._lineHeight=t.get(61),this._spaceWidth=n.spaceWidth,this._maxIndentLeft=-1===i.wrappingColumn?-1:i.wrappingColumn*n.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(13),!0}onCursorStateChanged(e){var t;let i=e.selections[0],n=i.getPosition();return(null===(t=this._primaryPosition)||void 0===t||!t.equals(n))&&(this._primaryPosition=n,!0)}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}onLanguageConfigurationChanged(e){return!0}prepareRender(e){var t,i,n,o;if(!this._bracketPairGuideOptions.indentation&&!1===this._bracketPairGuideOptions.bracketPairs){this._renderResult=null;return}let r=e.visibleRange.startLineNumber,s=e.visibleRange.endLineNumber,a=e.scrollWidth,l=this._lineHeight,h=this._primaryPosition,d=this.getGuidesByLine(r,s,h),u=[];for(let h=r;h<=s;h++){let s=h-r,c=d[s],g="",p=null!==(i=null===(t=e.visibleRangeForPosition(new eg.L(h,1)))||void 0===t?void 0:t.left)&&void 0!==i?i:0;for(let t of c){let i=-1===t.column?p+(t.visibleColumn-1)*this._spaceWidth:e.visibleRangeForPosition(new eg.L(h,t.column)).left;if(i>a||this._maxIndentLeft>0&&i>this._maxIndentLeft)break;let r=t.horizontalLine?t.horizontalLine.top?"horizontal-top":"horizontal-bottom":"vertical",s=t.horizontalLine?(null!==(o=null===(n=e.visibleRangeForPosition(new eg.L(h,t.horizontalLine.endColumn)))||void 0===n?void 0:n.left)&&void 0!==o?o:i+this._spaceWidth)-i:this._spaceWidth;g+=`
    `}u[s]=g}this._renderResult=u}getGuidesByLine(e,t,i){let n=!1!==this._bracketPairGuideOptions.bracketPairs?this._context.viewModel.getBracketGuidesInRangeByLine(e,t,i,{highlightActive:this._bracketPairGuideOptions.highlightActiveBracketPair,horizontalGuides:!0===this._bracketPairGuideOptions.bracketPairsHorizontal?tm.s6.Enabled:"active"===this._bracketPairGuideOptions.bracketPairsHorizontal?tm.s6.EnabledForActive:tm.s6.Disabled,includeInactive:!0===this._bracketPairGuideOptions.bracketPairs}):null,o=this._bracketPairGuideOptions.indentation?this._context.viewModel.getLinesIndentGuides(e,t):null,r=0,s=0,a=0;if(!1!==this._bracketPairGuideOptions.highlightActiveIndentation&&i){let n=this._context.viewModel.getActiveIndentGuide(i.lineNumber,e,t);r=n.startLineNumber,s=n.endLineNumber,a=n.indent}let{indentSize:l}=this._context.viewModel.model.getOptions(),h=[];for(let i=e;i<=t;i++){let t=[];h.push(t);let d=n?n[i-e]:[],u=new v.H9(d),c=o?o[i-e]:[];for(let e=1;e<=c;e++){let n=(e-1)*l+1,o=("always"===this._bracketPairGuideOptions.highlightActiveIndentation||0===d.length)&&r<=i&&i<=s&&e===a;t.push(...u.takeWhile(e=>e.visibleColumn!0)||[])}return h}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}function t_(e){if(!(e&&e.isTransparent()))return e}(0,ez.Ic)((e,t)=>{let i=e.getColor(eH.tR);i&&t.addRule(`.monaco-editor .lines-content .core-guide-indent { box-shadow: 1px 0 0 0 ${i} inset; }`);let n=e.getColor(eH.Ym)||i;n&&t.addRule(`.monaco-editor .lines-content .core-guide-indent-active { box-shadow: 1px 0 0 0 ${n} inset; }`);let o=[{bracketColor:eH.zJ,guideColor:eH.oV,guideColorActive:eH.Qb},{bracketColor:eH.Vs,guideColor:eH.m$,guideColorActive:eH.m3},{bracketColor:eH.CE,guideColor:eH.DS,guideColorActive:eH.To},{bracketColor:eH.UP,guideColor:eH.lS,guideColorActive:eH.L7},{bracketColor:eH.r0,guideColor:eH.Jn,guideColorActive:eH.HV},{bracketColor:eH.m1,guideColor:eH.YF,guideColorActive:eH.f9}],r=new tp.W,s=o.map(t=>{var i,n;let o=e.getColor(t.bracketColor),r=e.getColor(t.guideColor),s=e.getColor(t.guideColorActive),a=t_(null!==(i=t_(r))&&void 0!==i?i:null==o?void 0:o.transparent(.3)),l=t_(null!==(n=t_(s))&&void 0!==n?n:o);if(a&&l)return{guideColor:a,guideColorActive:l}}).filter(tg.$K);if(s.length>0){for(let e=0;e<30;e++){let i=s[e%s.length];t.addRule(`.monaco-editor .${r.getInlineClassNameOfLevel(e).replace(/ /g,".")} { --guide-color: ${i.guideColor}; --guide-color-active: ${i.guideColorActive}; }`)}t.addRule(".monaco-editor .vertical { box-shadow: 1px 0 0 0 var(--guide-color) inset; }"),t.addRule(".monaco-editor .horizontal-top { border-top: 1px solid var(--guide-color); }"),t.addRule(".monaco-editor .horizontal-bottom { border-bottom: 1px solid var(--guide-color); }"),t.addRule(`.monaco-editor .vertical.${r.activeClassName} { box-shadow: 1px 0 0 0 var(--guide-color-active) inset; }`),t.addRule(`.monaco-editor .horizontal-top.${r.activeClassName} { border-top: 1px solid var(--guide-color-active); }`),t.addRule(`.monaco-editor .horizontal-bottom.${r.activeClassName} { border-bottom: 1px solid var(--guide-color-active); }`)}}),i(48394);class tv{constructor(){this._currentVisibleRange=new ep.e(1,1,1,1)}getCurrentVisibleRange(){return this._currentVisibleRange}setCurrentVisibleRange(e){this._currentVisibleRange=e}}class tC{constructor(e,t,i,n,o,r,s){this.minimalReveal=e,this.lineNumber=t,this.startColumn=i,this.endColumn=n,this.startScrollTop=o,this.stopScrollTop=r,this.scrollType=s,this.type="range",this.minLineNumber=t,this.maxLineNumber=t}}class tb{constructor(e,t,i,n,o){this.minimalReveal=e,this.selections=t,this.startScrollTop=i,this.stopScrollTop=n,this.scrollType=o,this.type="selections";let r=t[0].startLineNumber,s=t[0].endLineNumber;for(let e=1,i=t.length;e{this._updateLineWidthsSlow()},200),this._asyncCheckMonospaceFontAssumptions=new z.pY(()=>{this._checkMonospaceFontAssumptions()},2e3),this._lastRenderedData=new tv,this._horizontalRevealRequest=null}dispose(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),super.dispose()}getDomNode(){return this.domNode}createVisibleLine(){return new el(this._viewLineOptions)}onConfigurationChanged(e){this._visibleLines.onConfigurationChanged(e),e.hasChanged(134)&&(this._maxLineWidth=0);let t=this._context.configuration.options,i=t.get(46),n=t.get(134),o=t.get(133);return this._lineHeight=t.get(61),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._isViewportWrapping=n.isViewportWrapping,this._revealHorizontalRightPadding=t.get(91),this._horizontalScrollbarHeight=o.horizontalScrollbarHeight,this._cursorSurroundingLines=t.get(25),this._cursorSurroundingLinesStyle=t.get(26),this._canUseLayerHinting=!t.get(28),(0,eB.N)(this.domNode,i),this._onOptionsMaybeChanged(),e.hasChanged(133)&&(this._maxLineWidth=0),!0}_onOptionsMaybeChanged(){let e=this._context.configuration,t=new ea(e,this._context.theme.type);if(!this._viewLineOptions.equals(t)){this._viewLineOptions=t;let e=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();for(let t=e;t<=i;t++){let e=this._visibleLines.getVisibleLine(t);e.onOptionsChanged(this._viewLineOptions)}return!0}return!1}onCursorStateChanged(e){let t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber(),n=!1;for(let e=t;e<=i;e++)n=this._visibleLines.getVisibleLine(e).onSelectionChanged()||n;return n}onDecorationsChanged(e){{let e=this._visibleLines.getStartLineNumber(),t=this._visibleLines.getEndLineNumber();for(let i=e;i<=t;i++)this._visibleLines.getVisibleLine(i).onDecorationsChanged()}return!0}onFlushed(e){let t=this._visibleLines.onFlushed(e);return this._maxLineWidth=0,t}onLinesChanged(e){return this._visibleLines.onLinesChanged(e)}onLinesDeleted(e){return this._visibleLines.onLinesDeleted(e)}onLinesInserted(e){return this._visibleLines.onLinesInserted(e)}onRevealRangeRequest(e){let t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),e.source,e.minimalReveal,e.range,e.selections,e.verticalType);if(-1===t)return!1;let i=this._context.viewLayout.validateScrollPosition({scrollTop:t});e.revealHorizontal?e.range&&e.range.startLineNumber!==e.range.endLineNumber?i={scrollTop:i.scrollTop,scrollLeft:0}:e.range?this._horizontalRevealRequest=new tC(e.minimalReveal,e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),i.scrollTop,e.scrollType):e.selections&&e.selections.length>0&&(this._horizontalRevealRequest=new tb(e.minimalReveal,e.selections,this._context.viewLayout.getCurrentScrollTop(),i.scrollTop,e.scrollType)):this._horizontalRevealRequest=null;let n=Math.abs(this._context.viewLayout.getCurrentScrollTop()-i.scrollTop),o=n<=this._lineHeight?1:e.scrollType;return this._context.viewModel.viewLayout.setScrollPosition(i,o),!0}onScrollChanged(e){if(this._horizontalRevealRequest&&e.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&e.scrollTopChanged){let t=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),i=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(e.scrollTopi)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(e.scrollWidth),this._visibleLines.onScrollChanged(e)||!0}onTokensChanged(e){return this._visibleLines.onTokensChanged(e)}onZonesChanged(e){return this._context.viewModel.viewLayout.setMaxLineWidth(this._maxLineWidth),this._visibleLines.onZonesChanged(e)}onThemeChanged(e){return this._onOptionsMaybeChanged()}getPositionFromDOMInfo(e,t){let i=this._getViewLineDomNode(e);if(null===i)return null;let n=this._getLineNumberFor(i);if(-1===n||n<1||n>this._context.viewModel.getLineCount())return null;if(1===this._context.viewModel.getLineMaxColumn(n))return new eg.L(n,1);let o=this._visibleLines.getStartLineNumber(),r=this._visibleLines.getEndLineNumber();if(nr)return null;let s=this._visibleLines.getVisibleLine(n).getColumnOfNodeOffset(n,e,t),a=this._context.viewModel.getLineMinColumn(n);return si?-1:this._visibleLines.getVisibleLine(e).getWidth()}linesVisibleRangesForRange(e,t){if(this.shouldRender())return null;let i=e.endLineNumber,n=ep.e.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!n)return null;let o=[],r=0,s=new es(this.domNode.domNode,this._textRangeRestingSpot),a=0;t&&(a=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new eg.L(n.startLineNumber,1)).lineNumber);let l=this._visibleLines.getStartLineNumber(),h=this._visibleLines.getEndLineNumber();for(let e=n.startLineNumber;e<=n.endLineNumber;e++){if(eh)continue;let d=e===n.startLineNumber?n.startColumn:1,u=e===n.endLineNumber?n.endColumn:this._context.viewModel.getLineMaxColumn(e),c=this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(e,d,u,s);if(c){if(t&&ethis._visibleLines.getEndLineNumber()?null:this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(e,t,i,new es(this.domNode.domNode,this._textRangeRestingSpot))}visibleRangeForPosition(e){let t=this._visibleRangesForLineRange(e.lineNumber,e.column,e.column);return t?new J(t.outsideRenderedLine,t.ranges[0].left):null}updateLineWidths(){this._updateLineWidths(!1)}_updateLineWidthsFast(){return this._updateLineWidths(!0)}_updateLineWidthsSlow(){this._updateLineWidths(!1)}_updateLineWidths(e){let t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber(),n=1,o=!0;for(let r=t;r<=i;r++){let t=this._visibleLines.getVisibleLine(r);if(e&&!t.getWidthIsFast()){o=!1;continue}n=Math.max(n,t.getWidth())}return o&&1===t&&i===this._context.viewModel.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(n),o}_checkMonospaceFontAssumptions(){let e=-1,t=-1,i=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let o=i;o<=n;o++){let i=this._visibleLines.getVisibleLine(o);if(i.needsMonospaceFontCheck()){let n=i.getWidth();n>t&&(t=n,e=o)}}if(-1!==e&&!this._visibleLines.getVisibleLine(e).monospaceAssumptionsAreValid())for(let e=i;e<=n;e++){let t=this._visibleLines.getVisibleLine(e);t.onMonospaceAssumptionsInvalidated()}}prepareRender(){throw Error("Not supported")}render(){throw Error("Not supported")}renderText(e){if(this._visibleLines.renderLines(e),this._lastRenderedData.setCurrentVisibleRange(e.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){let t=this._horizontalRevealRequest;if(e.startLineNumber<=t.minLineNumber&&t.maxLineNumber<=e.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();let e=this._computeScrollLeftToReveal(t);e&&(this._isViewportWrapping||this._ensureMaxLineWidth(e.maxHorizontalOffset),this._context.viewModel.viewLayout.setScrollPosition({scrollLeft:e.scrollLeft},t.scrollType))}}if(this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),b.IJ&&!this._asyncCheckMonospaceFontAssumptions.isScheduled()){let e=this._visibleLines.getStartLineNumber(),t=this._visibleLines.getEndLineNumber();for(let i=e;i<=t;i++){let e=this._visibleLines.getVisibleLine(i);if(e.needsMonospaceFontCheck()){this._asyncCheckMonospaceFontAssumptions.schedule();break}}}this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");let t=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-t),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())}_ensureMaxLineWidth(e){let t=Math.ceil(e);this._maxLineWidth0){let e=o[0].startLineNumber,t=o[0].endLineNumber;for(let i=1,n=o.length;iu){if(!s)return -1;h=a}else if(5===r||6===r){if(6===r&&d<=a&&l<=c)h=d;else{let e=Math.max(5*this._lineHeight,.2*u),t=a-e,i=l-u;h=Math.max(i,t)}}else if(1===r||2===r){if(2===r&&d<=a&&l<=c)h=d;else{let e=(a+l)/2;h=Math.max(0,e-u/2)}}else h=this._computeMinimumScrolling(d,c,a,l,3===r,4===r);return h}_computeScrollLeftToReveal(e){let t=this._context.viewLayout.getCurrentViewport(),i=t.left,n=i+t.width,o=1073741824,r=0;if("range"===e.type){let t=this._visibleRangesForLineRange(e.lineNumber,e.startColumn,e.endColumn);if(!t)return null;for(let e of t.ranges)o=Math.min(o,Math.round(e.left)),r=Math.max(r,Math.round(e.left+e.width))}else for(let t of e.selections){if(t.startLineNumber!==t.endLineNumber)return null;let e=this._visibleRangesForLineRange(t.startLineNumber,t.startColumn,t.endColumn);if(!e)return null;for(let t of e.ranges)o=Math.min(o,Math.round(t.left)),r=Math.max(r,Math.round(t.left+t.width))}if(e.minimalReveal||(o=Math.max(0,o-tw.HORIZONTAL_EXTRA_PX),r+=this._revealHorizontalRightPadding),"selections"===e.type&&r-o>t.width)return null;let s=this._computeMinimumScrolling(i,n,o,r);return{scrollLeft:s,maxHorizontalOffset:r}}_computeMinimumScrolling(e,t,i,n,o,r){e|=0,t|=0,i|=0,n|=0,o=!!o,r=!!r;let s=t-e,a=n-i;return!(at?Math.max(0,n-s):e}}tw.HORIZONTAL_EXTRA_PX=30,i(7919);class ty extends tu{constructor(e){super(),this._context=e;let t=this._context.configuration.options,i=t.get(133);this._decorationsLeft=i.decorationsLeft,this._decorationsWidth=i.decorationsWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(133);return this._decorationsLeft=i.decorationsLeft,this._decorationsWidth=i.decorationsWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){let t=e.getDecorationsInViewport(),i=[],n=0;for(let e=0,o=t.length;e
    ',a=[];for(let e=t;e<=i;e++){let i=e-t,o=n[i],r="";for(let e=0,t=o.length;e';o[i]=s}this._renderResult=o}render(e,t){return this._renderResult?this._renderResult[t-e]:""}}i(24850);var tL=i(93911);class tk{constructor(e,t,i,n){this._rgba8Brand=void 0,this.r=tk._clamp(e),this.g=tk._clamp(t),this.b=tk._clamp(i),this.a=tk._clamp(n)}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}static _clamp(e){return e<0?0:e>255?255:0|e}}tk.Empty=new tk(0,0,0,0);class tN extends m.JT{constructor(){super(),this._onDidChange=new p.Q5,this.onDidChange=this._onDidChange.event,this._updateColorMap(),this._register(eq.RW.onDidChange(e=>{e.changedColorMap&&this._updateColorMap()}))}static getInstance(){return this._INSTANCE||(this._INSTANCE=(0,m.dk)(new tN)),this._INSTANCE}_updateColorMap(){let e=eq.RW.getColorMap();if(!e){this._colors=[tk.Empty],this._backgroundIsLight=!0;return}this._colors=[tk.Empty];for(let t=1;t=.5,this._onDidChange.fire(void 0)}getColor(e){return(e<1||e>=this._colors.length)&&(e=2),this._colors[e]}backgroundIsLight(){return this._backgroundIsLight}}tN._INSTANCE=null;var tD=i(1118);let tx=(()=>{let e=[];for(let t=32;t<=126;t++)e.push(t);return e.push(65533),e})(),tI=(e,t)=>(e-=32)<0||e>96?t<=2?(e+96)%96:95:e;var tE=i(85427);class tT{constructor(e,t){this.scale=t,this._minimapCharRendererBrand=void 0,this.charDataNormal=tT.soften(e,.8),this.charDataLight=tT.soften(e,50/60)}static soften(e,t){let i=new Uint8ClampedArray(e.length);for(let n=0,o=e.length;ne.width||i+g>e.height){console.warn("bad render request outside image data");return}let p=h?this.charDataLight:this.charDataNormal,m=tI(n,l),f=4*e.width,_=s.r,v=s.g,C=s.b,b=o.r-_,w=o.g-v,y=o.b-C,S=Math.max(r,a),L=e.data,k=m*u*c,N=i*f+4*t;for(let e=0;ee.width||i+d>e.height){console.warn("bad render request outside image data");return}let u=4*e.width,c=.5*(o/255),g=r.r,p=r.g,m=r.b,f=n.r-g,_=n.g-p,v=n.b-m,C=g+f*c,b=p+_*c,w=m+v*c,y=Math.max(o,s),S=e.data,L=i*u+4*t;for(let e=0;e{let t=new Uint8ClampedArray(e.length/2);for(let i=0;i>1]=tA[e[i]]<<4|15&tA[e[i+1]];return t},tO={1:(0,tM.I)(()=>tR("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),2:(0,tM.I)(()=>tR("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))};class tP{static create(e,t){let i;return this.lastCreated&&e===this.lastCreated.scale&&t===this.lastFontFamily?this.lastCreated:(i=tO[e]?new tT(tO[e](),e):tP.createFromSampleData(tP.createSampleData(t).data,e),this.lastFontFamily=t,this.lastCreated=i,i)}static createSampleData(e){let t=document.createElement("canvas"),i=t.getContext("2d");t.style.height="16px",t.height=16,t.width=960,t.style.width="960px",i.fillStyle="#ffffff",i.font=`bold 16px ${e}`,i.textBaseline="middle";let n=0;for(let e of tx)i.fillText(String.fromCharCode(e),n,8),n+=10;return i.getImageData(0,0,960,16)}static createFromSampleData(e,t){if(61440!==e.length)throw Error("Unexpected source in MinimapCharRenderer");let i=tP._downsample(e,t);return new tT(i,t)}static _downsampleChar(e,t,i,n,o){let r=1*o,s=2*o,a=n,l=0;for(let n=0;n0){let e=255/a;for(let t=0;ttP.create(this.fontScale,a.fontFamily)),this.defaultBackgroundColor=i.getColor(2),this.backgroundColor=tB._getMinimapBackground(t,this.defaultBackgroundColor),this.foregroundAlpha=tB._getMinimapForegroundOpacity(t)}static _getMinimapBackground(e,t){let i=e.getColor(tl.kVY);return i?new tk(i.rgba.r,i.rgba.g,i.rgba.b,Math.round(255*i.rgba.a)):t}static _getMinimapForegroundOpacity(e){let t=e.getColor(tl.Itd);return t?tk._clamp(Math.round(255*t.rgba.a)):255}equals(e){return this.renderMinimap===e.renderMinimap&&this.size===e.size&&this.minimapHeightIsEditorHeight===e.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===e.scrollBeyondLastLine&&this.showSlider===e.showSlider&&this.autohide===e.autohide&&this.pixelRatio===e.pixelRatio&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.lineHeight===e.lineHeight&&this.minimapLeft===e.minimapLeft&&this.minimapWidth===e.minimapWidth&&this.minimapHeight===e.minimapHeight&&this.canvasInnerWidth===e.canvasInnerWidth&&this.canvasInnerHeight===e.canvasInnerHeight&&this.canvasOuterWidth===e.canvasOuterWidth&&this.canvasOuterHeight===e.canvasOuterHeight&&this.isSampling===e.isSampling&&this.editorHeight===e.editorHeight&&this.fontScale===e.fontScale&&this.minimapLineHeight===e.minimapLineHeight&&this.minimapCharWidth===e.minimapCharWidth&&this.defaultBackgroundColor&&this.defaultBackgroundColor.equals(e.defaultBackgroundColor)&&this.backgroundColor&&this.backgroundColor.equals(e.backgroundColor)&&this.foregroundAlpha===e.foregroundAlpha}}class tV{constructor(e,t,i,n,o,r,s,a){this.scrollTop=e,this.scrollHeight=t,this.sliderNeeded=i,this._computedSliderRatio=n,this.sliderTop=o,this.sliderHeight=r,this.startLineNumber=s,this.endLineNumber=a}getDesiredScrollTopFromDelta(e){return Math.round(this.scrollTop+e/this._computedSliderRatio)}getDesiredScrollTopFromTouchLocation(e){return Math.round((e-this.sliderHeight/2)/this._computedSliderRatio)}static create(e,t,i,n,o,r,s,a,l,h,d){let u,c;let g=e.pixelRatio,p=e.minimapLineHeight,m=Math.floor(e.canvasInnerHeight/p),f=e.lineHeight;if(e.minimapHeightIsEditorHeight){let t=a*e.lineHeight+(e.scrollBeyondLastLine?o-e.lineHeight:0),i=Math.max(1,Math.floor(o*o/t)),n=Math.max(0,e.minimapHeight-i),r=n/(h-o),d=l*r,u=Math.floor(e.canvasInnerHeight/e.minimapLineHeight);return new tV(l,h,n>0,r,d,i,1,Math.min(s,u))}u=r&&i!==s?Math.floor((i-t+1)*p/g):Math.floor(o/f*p/g),c=e.scrollBeyondLastLine?(s-1)*p/g:Math.max(0,s*p/g-u),c=Math.min(e.minimapHeight-u,c);let _=c/(h-o),v=l*_,C=0;if(e.scrollBeyondLastLine&&(C=o/f-1),m>=s+C){let e=c>0;return new tV(l,h,e,_,v,u,1,s)}{let e=Math.max(1,Math.floor(t-v*g/p));d&&d.scrollHeight===h&&(d.scrollTop>l&&(e=Math.min(e,d.startLineNumber)),d.scrollToptW.INVALID),this._renderedLines._set(e.startLineNumber,i)}linesEquals(e){if(!this.scrollEquals(e))return!1;let t=this._renderedLines._get(),i=t.lines;for(let e=0,t=i.length;e1){for(let t=0,i=s-1;t0&&this.minimapLines[i-1]>=e;)i--;let n=this.modelLineToMinimapLine(t)-1;for(;n+1t)return null}return[i+1,n+1]}decorationLineRangeToMinimapLineRange(e,t){let i=this.modelLineToMinimapLine(e),n=this.modelLineToMinimapLine(t);return e!==t&&n===i&&(n===this.minimapLines.length?i>1&&i--:n++),[i,n]}onLinesDeleted(e){let t=e.toLineNumber-e.fromLineNumber+1,i=this.minimapLines.length,n=0;for(let o=this.minimapLines.length-1;o>=0&&!(this.minimapLines[o]=0&&!(this.minimapLines[i]0,scrollWidth:e.scrollWidth,scrollHeight:e.scrollHeight,viewportStartLineNumber:t,viewportEndLineNumber:i,viewportStartLineNumberVerticalOffset:e.getVerticalOffsetForLineNumber(t),scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,viewportWidth:e.viewportWidth,viewportHeight:e.viewportHeight};this._actual.render(n)}_recreateLineSampling(){this._minimapSelections=null;let e=!!this._samplingState,[t,i]=tK.compute(this.options,this._context.viewModel.getLineCount(),this._samplingState);if(this._samplingState=t,e&&this._samplingState)for(let e of i)switch(e.type){case"deleted":this._actual.onLinesDeleted(e.deleteFromLineNumber,e.deleteToLineNumber);break;case"inserted":this._actual.onLinesInserted(e.insertFromLineNumber,e.insertToLineNumber);break;case"flush":this._actual.onFlushed()}}getLineCount(){return this._samplingState?this._samplingState.minimapLines.length:this._context.viewModel.getLineCount()}getRealLineCount(){return this._context.viewModel.getLineCount()}getLineContent(e){return this._samplingState?this._context.viewModel.getLineContent(this._samplingState.minimapLines[e-1]):this._context.viewModel.getLineContent(e)}getLineMaxColumn(e){return this._samplingState?this._context.viewModel.getLineMaxColumn(this._samplingState.minimapLines[e-1]):this._context.viewModel.getLineMaxColumn(e)}getMinimapLinesRenderingData(e,t,i){if(this._samplingState){let n=[];for(let o=0,r=t-e+1;o{e.preventDefault();let t=this._model.options.renderMinimap;if(0===t||!this._lastRenderData)return;if("proportional"!==this._model.options.size){if(0===e.button&&this._lastRenderData){let t=c.i(this._slider.domNode),i=t.top+t.height/2;this._startSliderDragging(e,i,this._lastRenderData.renderedLayout)}return}let i=this._model.options.minimapLineHeight,n=this._model.options.canvasInnerHeight/this._model.options.canvasOuterHeight*e.offsetY,o=Math.floor(n/i)+this._lastRenderData.renderedLayout.startLineNumber;o=Math.min(o,this._model.getLineCount()),this._model.revealLineNumber(o)}),this._sliderPointerMoveMonitor=new tL.C,this._sliderPointerDownListener=c.mu(this._slider.domNode,c.tw.POINTER_DOWN,e=>{e.preventDefault(),e.stopPropagation(),0===e.button&&this._lastRenderData&&this._startSliderDragging(e,e.pageY,this._lastRenderData.renderedLayout)}),this._gestureDisposable=W.o.addTarget(this._domNode.domNode),this._sliderTouchStartListener=c.nm(this._domNode.domNode,W.t.Start,e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&(this._slider.toggleClassName("active",!0),this._gestureInProgress=!0,this.scrollDueToTouchEvent(e))},{passive:!1}),this._sliderTouchMoveListener=c.nm(this._domNode.domNode,W.t.Change,e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&this._gestureInProgress&&this.scrollDueToTouchEvent(e)},{passive:!1}),this._sliderTouchEndListener=c.mu(this._domNode.domNode,W.t.End,e=>{e.preventDefault(),e.stopPropagation(),this._gestureInProgress=!1,this._slider.toggleClassName("active",!1)})}_startSliderDragging(e,t,i){if(!e.target||!(e.target instanceof Element))return;let n=e.pageX;this._slider.toggleClassName("active",!0);let o=(e,o)=>{let r=Math.abs(o-n);if(b.ED&&r>140){this._model.setScrollTop(i.scrollTop);return}this._model.setScrollTop(i.getDesiredScrollTopFromDelta(e-t))};e.pageY!==t&&o(e.pageY,n),this._sliderPointerMoveMonitor.startMonitoring(e.target,e.pointerId,e.buttons,e=>o(e.pageY,e.pageX),()=>{this._slider.toggleClassName("active",!1)})}scrollDueToTouchEvent(e){let t=this._domNode.domNode.getBoundingClientRect().top,i=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(e.pageY-t);this._model.setScrollTop(i)}dispose(){this._pointerDownListener.dispose(),this._sliderPointerMoveMonitor.dispose(),this._sliderPointerDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),super.dispose()}_getMinimapDomNodeClassName(){let e=["minimap"];return"always"===this._model.options.showSlider?e.push("slider-always"):e.push("slider-mouseover"),this._model.options.autohide&&e.push("autohide"),e.join(" ")}getDomNode(){return this._domNode}_applyLayout(){this._domNode.setLeft(this._model.options.minimapLeft),this._domNode.setWidth(this._model.options.minimapWidth),this._domNode.setHeight(this._model.options.minimapHeight),this._shadow.setHeight(this._model.options.minimapHeight),this._canvas.setWidth(this._model.options.canvasOuterWidth),this._canvas.setHeight(this._model.options.canvasOuterHeight),this._canvas.domNode.width=this._model.options.canvasInnerWidth,this._canvas.domNode.height=this._model.options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._model.options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._model.options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._model.options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._model.options.canvasInnerHeight,this._slider.setWidth(this._model.options.minimapWidth)}_getBuffer(){return!this._buffers&&this._model.options.canvasInnerWidth>0&&this._model.options.canvasInnerHeight>0&&(this._buffers=new tz(this._canvas.domNode.getContext("2d"),this._model.options.canvasInnerWidth,this._model.options.canvasInnerHeight,this._model.options.backgroundColor)),this._buffers?this._buffers.getBuffer():null}onDidChangeOptions(){this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName())}onSelectionChanged(){return this._renderDecorations=!0,!0}onDecorationsChanged(){return this._renderDecorations=!0,!0}onFlushed(){return this._lastRenderData=null,!0}onLinesChanged(e,t){return!!this._lastRenderData&&this._lastRenderData.onLinesChanged(e,t)}onLinesDeleted(e,t){var i;return null===(i=this._lastRenderData)||void 0===i||i.onLinesDeleted(e,t),!0}onLinesInserted(e,t){var i;return null===(i=this._lastRenderData)||void 0===i||i.onLinesInserted(e,t),!0}onScrollChanged(){return this._renderDecorations=!0,!0}onThemeChanged(){return this._selectionColor=this._theme.getColor(tl.ov3),this._renderDecorations=!0,!0}onTokensChanged(e){return!!this._lastRenderData&&this._lastRenderData.onTokensChanged(e)}onTokensColorsChanged(){return this._lastRenderData=null,this._buffers=null,!0}onZonesChanged(){return this._lastRenderData=null,!0}render(e){let t=this._model.options.renderMinimap;if(0===t){this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),this._sliderHorizontal.setHeight(0);return}e.scrollLeft+e.viewportWidth>=e.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");let i=tV.create(this._model.options,e.viewportStartLineNumber,e.viewportEndLineNumber,e.viewportStartLineNumberVerticalOffset,e.viewportHeight,e.viewportContainsWhitespaceGaps,this._model.getLineCount(),this._model.getRealLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setDisplay(i.sliderNeeded?"block":"none"),this._slider.setTop(i.sliderTop),this._slider.setHeight(i.sliderHeight),this._sliderHorizontal.setLeft(0),this._sliderHorizontal.setWidth(this._model.options.minimapWidth),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(i.sliderHeight),this.renderDecorations(i),this._lastRenderData=this.renderLines(i)}renderDecorations(e){if(this._renderDecorations){this._renderDecorations=!1;let t=this._model.getSelections();t.sort(ep.e.compareRangesUsingStarts);let i=this._model.getMinimapDecorationsInViewport(e.startLineNumber,e.endLineNumber);i.sort((e,t)=>(e.options.zIndex||0)-(t.options.zIndex||0));let{canvasInnerWidth:n,canvasInnerHeight:o}=this._model.options,r=this._model.options.minimapLineHeight,s=this._model.options.minimapCharWidth,a=this._model.getOptions().tabSize,l=this._decorationsCanvas.domNode.getContext("2d");l.clearRect(0,0,n,o);let h=new tj(e.startLineNumber,e.endLineNumber,!1);this._renderSelectionLineHighlights(l,t,h,e,r),this._renderDecorationsLineHighlights(l,i,h,e,r);let d=new tj(e.startLineNumber,e.endLineNumber,null);this._renderSelectionsHighlights(l,t,d,e,r,a,s,n),this._renderDecorationsHighlights(l,i,d,e,r,a,s,n)}}_renderSelectionLineHighlights(e,t,i,n,o){if(!this._selectionColor||this._selectionColor.isTransparent())return;e.fillStyle=this._selectionColor.transparent(.5).toString();let r=0,s=0;for(let a of t){let t=Math.max(n.startLineNumber,a.startLineNumber),l=Math.min(n.endLineNumber,a.endLineNumber);if(t>l)continue;for(let e=t;e<=l;e++)i.set(e,!0);let h=(t-n.startLineNumber)*o,d=(l-n.startLineNumber)*o+o;s>=h||(s>r&&e.fillRect(x.y0,r,e.canvas.width,s-r),r=h),s=d}s>r&&e.fillRect(x.y0,r,e.canvas.width,s-r)}_renderDecorationsLineHighlights(e,t,i,n,o){let r=new Map;for(let s=t.length-1;s>=0;s--){let a=t[s],l=a.options.minimap;if(!l||l.position!==tF.F5.Inline)continue;let h=Math.max(n.startLineNumber,a.range.startLineNumber),d=Math.min(n.endLineNumber,a.range.endLineNumber);if(h>d)continue;let u=l.getColor(this._theme.value);if(!u||u.isTransparent())continue;let c=r.get(u.toString());c||(c=u.transparent(.5).toString(),r.set(u.toString(),c)),e.fillStyle=c;for(let t=h;t<=d;t++){if(i.has(t))continue;i.set(t,!0);let r=(h-n.startLineNumber)*o;e.fillRect(x.y0,r,e.canvas.width,o)}}}_renderSelectionsHighlights(e,t,i,n,o,r,s,a){if(!(!this._selectionColor||this._selectionColor.isTransparent()))for(let l of t){let t=Math.max(n.startLineNumber,l.startLineNumber),h=Math.min(n.endLineNumber,l.endLineNumber);if(!(t>h))for(let d=t;d<=h;d++)this.renderDecorationOnLine(e,i,l,this._selectionColor,n,d,o,o,r,s,a)}}_renderDecorationsHighlights(e,t,i,n,o,r,s,a){for(let l of t){let t=l.options.minimap;if(!t)continue;let h=Math.max(n.startLineNumber,l.range.startLineNumber),d=Math.min(n.endLineNumber,l.range.endLineNumber);if(h>d)continue;let u=t.getColor(this._theme.value);if(!(!u||u.isTransparent()))for(let c=h;c<=d;c++)switch(t.position){case tF.F5.Inline:this.renderDecorationOnLine(e,i,l.range,u,n,c,o,o,r,s,a);continue;case tF.F5.Gutter:{let t=(c-n.startLineNumber)*o;this.renderDecoration(e,u,2,t,2,o);continue}}}}renderDecorationOnLine(e,t,i,n,o,r,s,a,l,h,d){let u=(r-o.startLineNumber)*a;if(u+s<0||u>this._model.options.canvasInnerHeight)return;let{startLineNumber:c,endLineNumber:g}=i,p=c===r?i.startColumn:1,m=g===r?i.endColumn:this._model.getLineMaxColumn(r),f=this.getXOffsetForPosition(t,r,p,l,h,d),_=this.getXOffsetForPosition(t,r,m,l,h,d);this.renderDecoration(e,n,f,u,_-f,s)}getXOffsetForPosition(e,t,i,n,o,r){if(1===i)return x.y0;if((i-1)*o>=r)return r;let s=e.get(t);if(!s){let i=this._model.getLineContent(t);s=[x.y0];let a=x.y0;for(let e=1;e=r){s[e]=r;break}s[e]=h,a=h}e.set(t,s)}return i-1b?Math.floor((n-b)/2):0,y=u.a/255,S=new tk(Math.round((u.r-d.r)*y+d.r),Math.round((u.g-d.g)*y+d.g),Math.round((u.b-d.b)*y+d.b),255),L=0,k=[];for(let e=0,r=i-t+1;e=0&&o_)return;let s=m.charCodeAt(b);if(9===s){let e=u-(b+w)%u;w+=e-1,C+=e*r}else if(32===s)C+=r;else{let u=eF.K7(s)?2:1;for(let c=0;c_)return}}}}}class tj{constructor(e,t,i){this._startLineNumber=e,this._endLineNumber=t,this._defaultValue=i,this._values=[];for(let e=0,t=this._endLineNumber-this._startLineNumber+1;ethis._endLineNumber||(this._values[e-this._startLineNumber]=t)}get(e){return ethis._endLineNumber?this._defaultValue:this._values[e-this._startLineNumber]}}(0,ez.Ic)((e,t)=>{let i=e.getColor(tl.CA6);i&&t.addRule(`.monaco-editor .minimap-slider .minimap-slider-horizontal { background: ${i}; }`);let n=e.getColor(tl.Xy4);n&&t.addRule(`.monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: ${n}; }`);let o=e.getColor(tl.brw);o&&t.addRule(`.monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: ${o}; }`);let r=e.getColor(tl._wn);r&&t.addRule(`.monaco-editor .minimap-shadow-visible { box-shadow: ${r} -6px 0 6px -6px inset; }`)}),i(31282);class tq extends ${constructor(e){super(e);let t=this._context.configuration.options,i=t.get(133);this._widgets={},this._verticalScrollbarWidth=i.verticalScrollbarWidth,this._minimapWidth=i.minimap.minimapWidth,this._horizontalScrollbarHeight=i.horizontalScrollbarHeight,this._editorHeight=i.height,this._editorWidth=i.width,this._domNode=(0,V.X)(document.createElement("div")),j.write(this._domNode,4),this._domNode.setClassName("overlayWidgets")}dispose(){super.dispose(),this._widgets={}}getDomNode(){return this._domNode}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(133);return this._verticalScrollbarWidth=i.verticalScrollbarWidth,this._minimapWidth=i.minimap.minimapWidth,this._horizontalScrollbarHeight=i.horizontalScrollbarHeight,this._editorHeight=i.height,this._editorWidth=i.width,!0}addWidget(e){let t=(0,V.X)(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:null,domNode:t},t.setPosition("absolute"),t.setAttribute("widgetId",e.getId()),this._domNode.appendChild(t),this.setShouldRender()}setWidgetPosition(e,t){let i=this._widgets[e.getId()];return i.preference!==t&&(i.preference=t,this.setShouldRender(),!0)}removeWidget(e){let t=e.getId();if(this._widgets.hasOwnProperty(t)){let e=this._widgets[t],i=e.domNode.domNode;delete this._widgets[t],i.parentNode.removeChild(i),this.setShouldRender()}}_renderWidget(e){let t=e.domNode;if(null===e.preference){t.setTop("");return}if(0===e.preference)t.setTop(0),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(1===e.preference){let e=t.domNode.clientHeight;t.setTop(this._editorHeight-e-2*this._horizontalScrollbarHeight),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else 2===e.preference&&(t.setTop(0),t.domNode.style.right="50%")}prepareRender(e){}render(e){this._domNode.setWidth(this._editorWidth);let t=Object.keys(this._widgets);for(let e=0,i=t.length;e=3){let t=Math.floor(n/3),i=Math.floor(n/3),o=n-t-i,r=e+t;return[[0,e,r,e,e+t+o,e,r,e],[0,t,o,t+o,i,t+o+i,o+i,t+o+i]]}if(2!==i)return[[0,e,e,e,e,e,e,e],[0,n,n,n,n,n,n,n]];{let t=Math.floor(n/2),i=n-t;return[[0,e,e,e,e+t,e,e,e],[0,t,t,t,i,t+i,t+i,t+i]]}}equals(e){return this.lineHeight===e.lineHeight&&this.pixelRatio===e.pixelRatio&&this.overviewRulerLanes===e.overviewRulerLanes&&this.renderBorder===e.renderBorder&&this.borderColor===e.borderColor&&this.hideCursor===e.hideCursor&&this.cursorColor===e.cursorColor&&this.themeType===e.themeType&&this.backgroundColor===e.backgroundColor&&this.top===e.top&&this.right===e.right&&this.domWidth===e.domWidth&&this.domHeight===e.domHeight&&this.canvasWidth===e.canvasWidth&&this.canvasHeight===e.canvasHeight}}class tQ extends ${constructor(e){super(e),this._domNode=(0,V.X)(document.createElement("canvas")),this._domNode.setClassName("decorationsOverviewRuler"),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._domNode.setAttribute("aria-hidden","true"),this._updateSettings(!1),this._tokensColorTrackerListener=eq.RW.onDidChange(e=>{e.changedColorMap&&this._updateSettings(!0)}),this._cursorPositions=[]}dispose(){super.dispose(),this._tokensColorTrackerListener.dispose()}_updateSettings(e){let t=new tG(this._context.configuration,this._context.theme);return!(this._settings&&this._settings.equals(t))&&(this._settings=t,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,e&&this._render(),!0)}onConfigurationChanged(e){return this._updateSettings(!1)}onCursorStateChanged(e){this._cursorPositions=[];for(let t=0,i=e.selections.length;tt&&(e=t-l),_=e-l,v=e+l}_>p+1||o!==c?(0!==e&&h.fillRect(d[c],g,u[c],p-g),c=o,g=_,p=v):v>p&&(p=v)}h.fillRect(d[c],g,u[c],p-g)}if(!this._settings.hideCursor&&this._settings.cursorColor){let e=2*this._settings.pixelRatio|0,i=e/2|0,o=this._settings.x[7],s=this._settings.w[7];h.fillStyle=this._settings.cursorColor;let a=-100,l=-100;for(let d=0,u=this._cursorPositions.length;dt&&(c=t-i);let g=c-i,p=g+e;g>l+1?(0!==d&&h.fillRect(o,a,s,l-a),a=g,l=p):p>l&&(l=p)}h.fillRect(o,a,s,l-a)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(h.beginPath(),h.lineWidth=1,h.strokeStyle=this._settings.borderColor,h.moveTo(0,0),h.lineTo(0,t),h.stroke(),h.moveTo(0,0),h.lineTo(e,0),h.stroke())}}var tZ=i(30665);class tY extends U{constructor(e,t){super(),this._context=e;let i=this._context.configuration.options;this._domNode=(0,V.X)(document.createElement("canvas")),this._domNode.setClassName(t),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._zoneManager=new tZ.Tj(e=>this._context.viewLayout.getVerticalOffsetForLineNumber(e)),this._zoneManager.setDOMWidth(0),this._zoneManager.setDOMHeight(0),this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight()),this._zoneManager.setLineHeight(i.get(61)),this._zoneManager.setPixelRatio(i.get(131)),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options;return e.hasChanged(61)&&(this._zoneManager.setLineHeight(t.get(61)),this._render()),e.hasChanged(131)&&(this._zoneManager.setPixelRatio(t.get(131)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0}onFlushed(e){return this._render(),!0}onScrollChanged(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0}onZonesChanged(e){return this._render(),!0}getDomNode(){return this._domNode.domNode}setLayout(e){this._domNode.setTop(e.top),this._domNode.setRight(e.right);let t=!1;t=this._zoneManager.setDOMWidth(e.width)||t,(t=this._zoneManager.setDOMHeight(e.height)||t)&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())}setZones(e){this._zoneManager.setZones(e),this._render()}_render(){if(0===this._zoneManager.getOuterHeight())return!1;let e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),i=this._zoneManager.resolveColorZones(),n=this._zoneManager.getId2Color(),o=this._domNode.domNode.getContext("2d");return o.clearRect(0,0,e,t),i.length>0&&this._renderOneLane(o,i,n,e),!0}_renderOneLane(e,t,i,n){let o=0,r=0,s=0;for(let a of t){let t=a.colorId,l=a.from,h=a.to;t!==o?(e.fillRect(0,r,n,s-r),o=t,e.fillStyle=i[o],r=l,s=h):s>=l?s=Math.max(s,h):(e.fillRect(0,r,n,s-r),r=l,s=h)}e.fillRect(0,r,n,s-r)}}i(2641);class tJ extends ${constructor(e){super(e),this.domNode=(0,V.X)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.domNode.setClassName("view-rulers"),this._renderedRulers=[];let t=this._context.configuration.options;this._rulers=t.get(93),this._typicalHalfwidthCharacterWidth=t.get(46).typicalHalfwidthCharacterWidth}dispose(){super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options;return this._rulers=t.get(93),this._typicalHalfwidthCharacterWidth=t.get(46).typicalHalfwidthCharacterWidth,!0}onScrollChanged(e){return e.scrollHeightChanged}prepareRender(e){}_ensureRulersCount(){let e=this._renderedRulers.length,t=this._rulers.length;if(e===t)return;if(e0;){let e=(0,V.X)(document.createElement("div"));e.setClassName("view-ruler"),e.setWidth(i),this.domNode.appendChild(e),this._renderedRulers.push(e),n--}return}let i=e-t;for(;i>0;){let e=this._renderedRulers.pop();this.domNode.removeChild(e),i--}}render(e){this._ensureRulersCount();for(let t=0,i=this._rulers.length;t{let i=e.getColor(eH.zk);i&&t.addRule(`.monaco-editor .view-ruler { box-shadow: 1px 0 0 0 ${i} inset; }`)}),i(27505);class tX extends ${constructor(e){super(e),this._scrollTop=0,this._width=0,this._updateWidth(),this._shouldShow=!1;let t=this._context.configuration.options,i=t.get(94);this._useShadows=i.useShadows,this._domNode=(0,V.X)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true")}dispose(){super.dispose()}_updateShouldShow(){let e=this._useShadows&&this._scrollTop>0;return this._shouldShow!==e&&(this._shouldShow=e,!0)}getDomNode(){return this._domNode}_updateWidth(){let e=this._context.configuration.options,t=e.get(133);0===t.minimap.renderMinimap||t.minimap.minimapWidth>0&&0===t.minimap.minimapLeft?this._width=t.width:this._width=t.width-t.verticalScrollbarWidth}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(94);return this._useShadows=i.useShadows,this._updateWidth(),this._updateShouldShow(),!0}onScrollChanged(e){return this._scrollTop=e.scrollTop,this._updateShouldShow()}prepareRender(e){}render(e){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")}}(0,ez.Ic)((e,t)=>{let i=e.getColor(tl._wn);i&&t.addRule(`.monaco-editor .scroll-decoration { box-shadow: ${i} 0 6px 6px -6px inset; }`)}),i(7525);class t0{constructor(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null}}class t1{constructor(e,t){this.lineNumber=e,this.ranges=t}}function t2(e){return new t0(e)}function t5(e){return new t1(e.lineNumber,e.ranges.map(t2))}class t4 extends eW{constructor(e){super(),this._previousFrameVisibleRangesWithStyle=[],this._context=e;let t=this._context.configuration.options;this._lineHeight=t.get(61),this._roundedSelection=t.get(92),this._typicalHalfwidthCharacterWidth=t.get(46).typicalHalfwidthCharacterWidth,this._selections=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options;return this._lineHeight=t.get(61),this._roundedSelection=t.get(92),this._typicalHalfwidthCharacterWidth=t.get(46).typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_visibleRangesHaveGaps(e){for(let t=0,i=e.length;t1)return!0}return!1}_enrichVisibleRangesWithStyle(e,t,i){let n=this._typicalHalfwidthCharacterWidth/4,o=null,r=null;if(i&&i.length>0&&t.length>0){let n=t[0].lineNumber;if(n===e.startLineNumber)for(let e=0;!o&&e=0;e--)i[e].lineNumber===s&&(r=i[e].ranges[0]);o&&!o.startStyle&&(o=null),r&&!r.startStyle&&(r=null)}for(let e=0,i=t.length;e0){let i=t[e-1].ranges[0].left,o=t[e-1].ranges[0].left+t[e-1].ranges[0].width;t3(a-i)i&&(h.top=1),t3(l-o)'}_actualRenderOneSelection(e,t,i,n){if(0===n.length)return;let o=!!n[0].ranges[0].startStyle,r=this._lineHeight.toString(),s=(this._lineHeight-1).toString(),a=n[0].lineNumber,l=n[n.length-1].lineNumber;for(let h=0,d=n.length;h1,s)}this._previousFrameVisibleRangesWithStyle=o,this._renderResult=t.map(([e,t])=>e+t)}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}function t3(e){return e<0?-e:e}t4.SELECTION_CLASS_NAME="selected-text",t4.SELECTION_TOP_LEFT="top-left-radius",t4.SELECTION_BOTTOM_LEFT="bottom-left-radius",t4.SELECTION_TOP_RIGHT="top-right-radius",t4.SELECTION_BOTTOM_RIGHT="bottom-right-radius",t4.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",t4.ROUNDED_PIECE_WIDTH=10,(0,ez.Ic)((e,t)=>{let i=e.getColor(tl.hEj);i&&t.addRule(`.monaco-editor .focused .selected-text { background-color: ${i}; }`);let n=e.getColor(tl.ES4);n&&t.addRule(`.monaco-editor .selected-text { background-color: ${n}; }`);let o=e.getColor(tl.yb5);o&&!o.isTransparent()&&t.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${o}; }`)}),i(32452);class t9{constructor(e,t,i,n,o,r){this.top=e,this.left=t,this.width=i,this.height=n,this.textContent=o,this.textContentClassName=r}}class t7{constructor(e){this._context=e;let t=this._context.configuration.options,i=t.get(46);this._cursorStyle=t.get(24),this._lineHeight=t.get(61),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(27),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=(0,V.X)(document.createElement("div")),this._domNode.setClassName(`cursor ${ej.S}`),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),(0,eB.N)(this._domNode,i),this._domNode.setDisplay("none"),this._position=new eg.L(1,1),this._lastRenderedContent="",this._renderData=null}getDomNode(){return this._domNode}getPosition(){return this._position}show(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)}hide(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(46);return this._cursorStyle=t.get(24),this._lineHeight=t.get(61),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(27),this._typicalHalfwidthCharacterWidth),(0,eB.N)(this._domNode,i),!0}onCursorPositionChanged(e){return this._position=e,!0}_getGraphemeAwarePosition(){let{lineNumber:e,column:t}=this._position,i=this._context.viewModel.getLineContent(e),[n,o]=eF.J_(i,t-1);return[new eg.L(e,n+1),i.substring(n,o)]}_prepareRender(e){let t="",[i,n]=this._getGraphemeAwarePosition();if(this._cursorStyle===x.d2.Line||this._cursorStyle===x.d2.LineThin){let o;let r=e.visibleRangeForPosition(i);if(!r||r.outsideRenderedLine)return null;this._cursorStyle===x.d2.Line?(o=c.Uh(this._lineCursorWidth>0?this._lineCursorWidth:2))>2&&(t=n):o=c.Uh(1);let s=r.left;o>=2&&s>=1&&(s-=1);let a=e.getVerticalOffsetForLineNumber(i.lineNumber)-e.bigNumbersDelta;return new t9(a,s,o,this._lineHeight,t,"")}let o=e.linesVisibleRangesForRange(new ep.e(i.lineNumber,i.column,i.lineNumber,i.column+n.length),!1);if(!o||0===o.length)return null;let r=o[0];if(r.outsideRenderedLine||0===r.ranges.length)return null;let s=r.ranges[0],a=" "===n?this._typicalHalfwidthCharacterWidth:s.width<1?this._typicalHalfwidthCharacterWidth:s.width,l="";if(this._cursorStyle===x.d2.Block){let e=this._context.viewModel.getViewLineData(i.lineNumber);t=n;let o=e.tokens.findTokenIndexAtOffset(i.column-1);l=e.tokens.getClassName(o)}let h=e.getVerticalOffsetForLineNumber(i.lineNumber)-e.bigNumbersDelta,d=this._lineHeight;return(this._cursorStyle===x.d2.Underline||this._cursorStyle===x.d2.UnderlineThin)&&(h+=this._lineHeight-2,d=2),new t9(h,s.left,a,d,t,l)}prepareRender(e){this._renderData=this._prepareRender(e)}render(e){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName(`cursor ${ej.S} ${this._renderData.textContentClassName}`),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)}}class t6 extends ${constructor(e){super(e);let t=this._context.configuration.options;this._readOnly=t.get(83),this._cursorBlinking=t.get(22),this._cursorStyle=t.get(24),this._cursorSmoothCaretAnimation=t.get(23),this._selectionIsEmpty=!0,this._isComposingInput=!1,this._isVisible=!1,this._primaryCursor=new t7(this._context),this._secondaryCursors=[],this._renderData=[],this._domNode=(0,V.X)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._updateDomClassName(),this._domNode.appendChild(this._primaryCursor.getDomNode()),this._startCursorBlinkAnimation=new z._F,this._cursorFlatBlinkInterval=new z.zh,this._blinkingEnabled=!1,this._editorHasFocus=!1,this._updateBlinking()}dispose(){super.dispose(),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()}getDomNode(){return this._domNode}onCompositionStart(e){return this._isComposingInput=!0,this._updateBlinking(),!0}onCompositionEnd(e){return this._isComposingInput=!1,this._updateBlinking(),!0}onConfigurationChanged(e){let t=this._context.configuration.options;this._readOnly=t.get(83),this._cursorBlinking=t.get(22),this._cursorStyle=t.get(24),this._cursorSmoothCaretAnimation=t.get(23),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(e);for(let t=0,i=this._secondaryCursors.length;tt.length){let e=this._secondaryCursors.length-t.length;for(let t=0;t{for(let i=0,n=e.ranges.length;i{this._isVisible?this._hide():this._show()},t6.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet(()=>{this._blinkingEnabled=!0,this._updateDomClassName()},t6.BLINK_INTERVAL))}_updateDomClassName(){this._domNode.setClassName(this._getClassName())}_getClassName(){let e="cursors-layer";switch(this._selectionIsEmpty||(e+=" has-selection"),this._cursorStyle){case x.d2.Line:e+=" cursor-line-style";break;case x.d2.Block:e+=" cursor-block-style";break;case x.d2.Underline:e+=" cursor-underline-style";break;case x.d2.LineThin:e+=" cursor-line-thin-style";break;case x.d2.BlockOutline:e+=" cursor-block-outline-style";break;case x.d2.UnderlineThin:e+=" cursor-underline-thin-style";break;default:e+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:e+=" cursor-blink";break;case 2:e+=" cursor-smooth";break;case 3:e+=" cursor-phase";break;case 4:e+=" cursor-expand";break;default:e+=" cursor-solid"}else e+=" cursor-solid";return this._cursorSmoothCaretAnimation&&(e+=" cursor-smooth-caret-animation"),e}_show(){this._primaryCursor.show();for(let e=0,t=this._secondaryCursors.length;e{let i=e.getColor(eH.n0);if(i){let n=e.getColor(eH.fY);n||(n=i.opposite()),t.addRule(`.monaco-editor .inputarea.ime-input { caret-color: ${i}; }`),t.addRule(`.monaco-editor .cursors-layer .cursor { background-color: ${i}; border-color: ${i}; color: ${n}; }`),(0,en.c3)(e.type)&&t.addRule(`.monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid ${n}; border-right: 1px solid ${n}; }`)}});let t8=()=>{throw Error("Invalid change accessor")};class ie extends ${constructor(e){super(e);let t=this._context.configuration.options,i=t.get(133);this._lineHeight=t.get(61),this._contentWidth=i.contentWidth,this._contentLeft=i.contentLeft,this.domNode=(0,V.X)(document.createElement("div")),this.domNode.setClassName("view-zones"),this.domNode.setPosition("absolute"),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.marginDomNode=(0,V.X)(document.createElement("div")),this.marginDomNode.setClassName("margin-view-zones"),this.marginDomNode.setPosition("absolute"),this.marginDomNode.setAttribute("role","presentation"),this.marginDomNode.setAttribute("aria-hidden","true"),this._zones={}}dispose(){super.dispose(),this._zones={}}_recomputeWhitespacesProps(){let e=this._context.viewLayout.getWhitespaces(),t=new Map;for(let i of e)t.set(i.id,i);let i=!1;return this._context.viewModel.changeWhitespace(e=>{let n=Object.keys(this._zones);for(let o=0,r=n.length;o{let n={addZone:e=>(t=!0,this._addZone(i,e)),removeZone:e=>{e&&(t=this._removeZone(i,e)||t)},layoutZone:e=>{e&&(t=this._layoutZone(i,e)||t)}};(function(e,t){try{e(t)}catch(e){(0,g.dL)(e)}})(e,n),n.addZone=t8,n.removeZone=t8,n.layoutZone=t8}),t}_addZone(e,t){let i=this._computeWhitespaceProps(t),n=e.insertWhitespace(i.afterViewLineNumber,this._getZoneOrdinal(t),i.heightInPx,i.minWidthInPx),o={whitespaceId:n,delegate:t,isInHiddenArea:i.isInHiddenArea,isVisible:!1,domNode:(0,V.X)(t.domNode),marginDomNode:t.marginDomNode?(0,V.X)(t.marginDomNode):null};return this._safeCallOnComputedHeight(o.delegate,i.heightInPx),o.domNode.setPosition("absolute"),o.domNode.domNode.style.width="100%",o.domNode.setDisplay("none"),o.domNode.setAttribute("monaco-view-zone",o.whitespaceId),this.domNode.appendChild(o.domNode),o.marginDomNode&&(o.marginDomNode.setPosition("absolute"),o.marginDomNode.domNode.style.width="100%",o.marginDomNode.setDisplay("none"),o.marginDomNode.setAttribute("monaco-view-zone",o.whitespaceId),this.marginDomNode.appendChild(o.marginDomNode)),this._zones[o.whitespaceId]=o,this.setShouldRender(),o.whitespaceId}_removeZone(e,t){if(this._zones.hasOwnProperty(t)){let i=this._zones[t];return delete this._zones[t],e.removeWhitespace(i.whitespaceId),i.domNode.removeAttribute("monaco-visible-view-zone"),i.domNode.removeAttribute("monaco-view-zone"),i.domNode.domNode.parentNode.removeChild(i.domNode.domNode),i.marginDomNode&&(i.marginDomNode.removeAttribute("monaco-visible-view-zone"),i.marginDomNode.removeAttribute("monaco-view-zone"),i.marginDomNode.domNode.parentNode.removeChild(i.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}_layoutZone(e,t){if(this._zones.hasOwnProperty(t)){let i=this._zones[t],n=this._computeWhitespaceProps(i.delegate);return i.isInHiddenArea=n.isInHiddenArea,e.changeOneWhitespace(i.whitespaceId,n.afterViewLineNumber,n.heightInPx),this._safeCallOnComputedHeight(i.delegate,n.heightInPx),this.setShouldRender(),!0}return!1}shouldSuppressMouseDownOnViewZone(e){if(this._zones.hasOwnProperty(e)){let t=this._zones[e];return!!t.delegate.suppressMouseDown}return!1}_heightInPixels(e){return"number"==typeof e.heightInPx?e.heightInPx:"number"==typeof e.heightInLines?this._lineHeight*e.heightInLines:this._lineHeight}_minWidthInPixels(e){return"number"==typeof e.minWidthInPx?e.minWidthInPx:0}_safeCallOnComputedHeight(e,t){if("function"==typeof e.onComputedHeight)try{e.onComputedHeight(t)}catch(e){(0,g.dL)(e)}}_safeCallOnDomNodeTop(e,t){if("function"==typeof e.onDomNodeTop)try{e.onDomNodeTop(t)}catch(e){(0,g.dL)(e)}}prepareRender(e){}render(e){let t=e.viewportData.whitespaceViewportData,i={},n=!1;for(let e of t)this._zones[e.id].isInHiddenArea||(i[e.id]=e,n=!0);let o=Object.keys(this._zones);for(let t=0,n=o.length;t{this.focus()},dispatchTextAreaEvent:e=>{this._textAreaHandler.textArea.domNode.dispatchEvent(e)},getLastRenderData:()=>{let e=this._viewCursors.getLastRenderData()||[],t=this._textAreaHandler.getLastRenderData();return new eC(e,t)},shouldSuppressMouseDownOnViewZone:e=>this._viewZones.shouldSuppressMouseDownOnViewZone(e),shouldSuppressMouseDownOnWidget:e=>this._contentWidgets.shouldSuppressMouseDownOnWidget(e),getPositionFromDOMInfo:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getPositionFromDOMInfo(e,t)),visibleRangeForPosition:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new eg.L(e,t))),getLineWidth:e=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getLineWidth(e))}}_createTextAreaHandlerHelper(){return{visibleRangeForPosition:e=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(e))}}_applyLayout(){let e=this._context.configuration.options,t=e.get(133);this.domNode.setWidth(t.width),this.domNode.setHeight(t.height),this._overflowGuardContainer.setWidth(t.width),this._overflowGuardContainer.setHeight(t.height),this._linesContent.setWidth(1e6),this._linesContent.setHeight(1e6)}_getEditorClassName(){let e=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(130)+" "+(0,ez.m6)(this._context.theme.type)+e}handleEvents(e){super.handleEvents(e),this._scheduleRender()}onConfigurationChanged(e){return this.domNode.setClassName(this._getEditorClassName()),this._applyLayout(),!1}onCursorStateChanged(e){return this._selections=e.selections,!1}onFocusChanged(e){return this.domNode.setClassName(this._getEditorClassName()),!1}onThemeChanged(e){return this._context.theme.update(e.theme),this.domNode.setClassName(this._getEditorClassName()),!1}dispose(){for(let e of(null!==this._renderAnimationFrame&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(),this._context.removeEventHandler(this),this._viewLines.dispose(),this._viewParts))e.dispose();super.dispose()}_scheduleRender(){null===this._renderAnimationFrame&&(this._renderAnimationFrame=c.lI(this._onRenderScheduled.bind(this),100))}_onRenderScheduled(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()}_renderNow(){!function(e){try{e()}catch(e){(0,g.dL)(e)}}(()=>this._actualRender())}_getViewPartsToRender(){let e=[],t=0;for(let i of this._viewParts)i.shouldRender()&&(e[t++]=i);return e}_actualRender(){if(!c.Uw(this.domNode.domNode))return;let e=this._getViewPartsToRender();if(!this._viewLines.shouldRender()&&0===e.length)return;let t=this._context.viewLayout.getLinesViewportData();this._context.viewModel.setViewport(t.startLineNumber,t.endLineNumber,t.centeredLineNumber);let i=new io(this._selections,t,this._context.viewLayout.getWhitespaceViewportData(),this._context.viewModel);this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(i),this._viewLines.shouldRender()&&(this._viewLines.renderText(i),this._viewLines.onDidRender(),e=this._getViewPartsToRender());let n=new G(this._context.viewLayout,i,this._viewLines);for(let t of e)t.prepareRender(n);for(let t of e)t.render(n),t.onDidRender()}delegateVerticalScrollbarPointerDown(e){this._scrollbar.delegateVerticalScrollbarPointerDown(e)}restoreState(e){this._context.viewModel.viewLayout.setScrollPosition({scrollTop:e.scrollTop},1),this._context.viewModel.tokenizeViewport(),this._renderNow(),this._viewLines.updateLineWidths(),this._context.viewModel.viewLayout.setScrollPosition({scrollLeft:e.scrollLeft},1)}getOffsetForColumn(e,t){let i=this._context.viewModel.model.validatePosition({lineNumber:e,column:t}),n=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(i);this._flushAccumulatedAndRenderNow();let o=this._viewLines.visibleRangeForPosition(new eg.L(n.lineNumber,n.column));return o?o.left:-1}getTargetAtClientPoint(e,t){let i=this._pointerHandler.getTargetAtClientPoint(e,t);return i?e0.convertViewToModelMouseTarget(i,this._context.viewModel.coordinatesConverter):null}createOverviewRuler(e){return new tY(this._context,e)}change(e){this._viewZones.changeViewZones(e),this._scheduleRender()}render(e,t){if(t)for(let e of(this._viewLines.forceShouldRender(),this._viewParts))e.forceShouldRender();e?this._flushAccumulatedAndRenderNow():this._scheduleRender()}focus(){this._textAreaHandler.focusTextArea()}isFocused(){return this._textAreaHandler.isFocused()}setAriaOptions(e){this._textAreaHandler.setAriaOptions(e)}addContentWidget(e){this._contentWidgets.addWidget(e.widget),this.layoutContentWidget(e),this._scheduleRender()}layoutContentWidget(e){var t,i;let n=e.position&&e.position.range||null;if(null===n){let t=e.position?e.position.position:null;null!==t&&(n=new ep.e(t.lineNumber,t.column,t.lineNumber,t.column))}let o=e.position?e.position.preference:null;this._contentWidgets.setWidgetPosition(e.widget,n,o,null!==(i=null===(t=e.position)||void 0===t?void 0:t.positionAffinity)&&void 0!==i?i:null),this._scheduleRender()}removeContentWidget(e){this._contentWidgets.removeWidget(e.widget),this._scheduleRender()}addOverlayWidget(e){this._overlayWidgets.addWidget(e.widget),this.layoutOverlayWidget(e),this._scheduleRender()}layoutOverlayWidget(e){let t=e.position?e.position.preference:null,i=this._overlayWidgets.setWidgetPosition(e.widget,t);i&&this._scheduleRender()}removeOverlayWidget(e){this._overlayWidgets.removeWidget(e.widget),this._scheduleRender()}}var ia=i(55343);class il{constructor(e){this._selTrackedRange=null,this._trackSelection=!0,this._setState(e,new ia.rS(new ep.e(1,1,1,1),0,new eg.L(1,1),0),new ia.rS(new ep.e(1,1,1,1),0,new eg.L(1,1),0))}dispose(e){this._removeTrackedRange(e)}startTrackingSelection(e){this._trackSelection=!0,this._updateTrackedRange(e)}stopTrackingSelection(e){this._trackSelection=!1,this._removeTrackedRange(e)}_updateTrackedRange(e){this._trackSelection&&(this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))}_removeTrackedRange(e){this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,null,0)}asCursorState(){return new ia.Vi(this.modelState,this.viewState)}readSelectionFromMarkers(e){let t=e.model._getTrackedRange(this._selTrackedRange);return B.Y.fromRange(t,this.modelState.selection.getDirection())}ensureValidState(e){this._setState(e,this.modelState,this.viewState)}setState(e,t,i){this._setState(e,t,i)}static _validatePositionWithCache(e,t,i,n){return t.equals(i)?n:e.normalizePosition(t,2)}static _validateViewState(e,t){let i=t.position,n=t.selectionStart.getStartPosition(),o=t.selectionStart.getEndPosition(),r=e.normalizePosition(i,2),s=this._validatePositionWithCache(e,n,i,r),a=this._validatePositionWithCache(e,o,n,s);return i.equals(r)&&n.equals(s)&&o.equals(a)?t:new ia.rS(ep.e.fromPositions(s,a),t.selectionStartLeftoverVisibleColumns+n.column-s.column,r,t.leftoverVisibleColumns+i.column-r.column)}_setState(e,t,i){if(i&&(i=il._validateViewState(e.viewModel,i)),t){let i=e.model.validateRange(t.selectionStart),n=t.selectionStart.equalsRange(i)?t.selectionStartLeftoverVisibleColumns:0,o=e.model.validatePosition(t.position),r=t.position.equals(o)?t.leftoverVisibleColumns:0;t=new ia.rS(i,n,o,r)}else{if(!i)return;let n=e.model.validateRange(e.coordinatesConverter.convertViewRangeToModelRange(i.selectionStart)),o=e.model.validatePosition(e.coordinatesConverter.convertViewPositionToModelPosition(i.position));t=new ia.rS(n,i.selectionStartLeftoverVisibleColumns,o,i.leftoverVisibleColumns)}if(i){let n=e.coordinatesConverter.validateViewRange(i.selectionStart,t.selectionStart),o=e.coordinatesConverter.validateViewPosition(i.position,t.position);i=new ia.rS(n,t.selectionStartLeftoverVisibleColumns,o,t.leftoverVisibleColumns)}else{let n=e.coordinatesConverter.convertModelPositionToViewPosition(new eg.L(t.selectionStart.startLineNumber,t.selectionStart.startColumn)),o=e.coordinatesConverter.convertModelPositionToViewPosition(new eg.L(t.selectionStart.endLineNumber,t.selectionStart.endColumn)),r=new ep.e(n.lineNumber,n.column,o.lineNumber,o.column),s=e.coordinatesConverter.convertModelPositionToViewPosition(t.position);i=new ia.rS(r,t.selectionStartLeftoverVisibleColumns,s,t.leftoverVisibleColumns)}this.modelState=t,this.viewState=i,this._updateTrackedRange(e)}}class ih{constructor(e){this.context=e,this.cursors=[new il(e)],this.lastAddedCursorIndex=0}dispose(){for(let e of this.cursors)e.dispose(this.context)}startTrackingSelections(){for(let e of this.cursors)e.startTrackingSelection(this.context)}stopTrackingSelections(){for(let e of this.cursors)e.stopTrackingSelection(this.context)}updateContext(e){this.context=e}ensureValidState(){for(let e of this.cursors)e.ensureValidState(this.context)}readSelectionFromMarkers(){return this.cursors.map(e=>e.readSelectionFromMarkers(this.context))}getAll(){return this.cursors.map(e=>e.asCursorState())}getViewPositions(){return this.cursors.map(e=>e.viewState.position)}getTopMostViewPosition(){return(0,v.VJ)(this.cursors,(0,v.tT)(e=>e.viewState.position,eg.L.compare)).viewState.position}getBottomMostViewPosition(){return(0,v.jV)(this.cursors,(0,v.tT)(e=>e.viewState.position,eg.L.compare)).viewState.position}getSelections(){return this.cursors.map(e=>e.modelState.selection)}getViewSelections(){return this.cursors.map(e=>e.viewState.selection)}setSelections(e){this.setStates(ia.Vi.fromModelSelections(e))}getPrimaryCursor(){return this.cursors[0].asCursorState()}setStates(e){null!==e&&(this.cursors[0].setState(this.context,e[0].modelState,e[0].viewState),this._setSecondaryStates(e.slice(1)))}_setSecondaryStates(e){let t=this.cursors.length-1,i=e.length;if(ti){let e=t-i;for(let t=0;t=e+1&&this.lastAddedCursorIndex--,this.cursors[e+1].dispose(this.context),this.cursors.splice(e+1,1)}normalize(){if(1===this.cursors.length)return;let e=this.cursors.slice(0),t=[];for(let i=0,n=e.length;ie.selection,ep.e.compareRangesUsingStarts));for(let i=0;ia&&e.index--;e.splice(a,1),t.splice(s,1),this._removeSecondaryCursor(a-1),i--}}}}class id{constructor(e,t,i,n){this._cursorContextBrand=void 0,this.model=e,this.viewModel=t,this.coordinatesConverter=i,this.cursorConfig=n}}var iu=i(29436),ic=i(94729),ig=i(14706);class ip{constructor(){this.type=0}}class im{constructor(){this.type=1}}class i_{constructor(e){this.type=2,this._source=e}hasChanged(e){return this._source.hasChanged(e)}}class iv{constructor(e,t){this.type=3,this.selections=e,this.modelSelections=t}}class iC{constructor(e){this.type=4,e?(this.affectsMinimap=e.affectsMinimap,this.affectsOverviewRuler=e.affectsOverviewRuler):(this.affectsMinimap=!0,this.affectsOverviewRuler=!0)}}class ib{constructor(){this.type=5}}class iw{constructor(e){this.type=6,this.isFocused=e}}class iy{constructor(){this.type=7}}class iS{constructor(){this.type=8}}class iL{constructor(e,t){this.fromLineNumber=e,this.count=t,this.type=9}}class ik{constructor(e,t){this.type=10,this.fromLineNumber=e,this.toLineNumber=t}}class iN{constructor(e,t){this.type=11,this.fromLineNumber=e,this.toLineNumber=t}}class iD{constructor(e,t,i,n,o,r,s){this.source=e,this.minimalReveal=t,this.range=i,this.selections=n,this.verticalType=o,this.revealHorizontal=r,this.scrollType=s,this.type=12}}class ix{constructor(e){this.type=13,this.scrollWidth=e.scrollWidth,this.scrollLeft=e.scrollLeft,this.scrollHeight=e.scrollHeight,this.scrollTop=e.scrollTop,this.scrollWidthChanged=e.scrollWidthChanged,this.scrollLeftChanged=e.scrollLeftChanged,this.scrollHeightChanged=e.scrollHeightChanged,this.scrollTopChanged=e.scrollTopChanged}}class iI{constructor(e){this.theme=e,this.type=14}}class iE{constructor(e){this.type=15,this.ranges=e}}class iT{constructor(){this.type=16}}class iM{constructor(){this.type=17}}class iA extends m.JT{constructor(){super(),this._onEvent=this._register(new p.Q5),this.onEvent=this._onEvent.event,this._eventHandlers=[],this._viewEventQueue=null,this._isConsumingViewEventQueue=!1,this._collector=null,this._collectorCnt=0,this._outgoingEvents=[]}emitOutgoingEvent(e){this._addOutgoingEvent(e),this._emitOutgoingEvents()}_addOutgoingEvent(e){for(let t=0,i=this._outgoingEvents.length;t0;){if(this._collector||this._isConsumingViewEventQueue)return;let e=this._outgoingEvents.shift();e.isNoOp()||this._onEvent.fire(e)}}addViewEventHandler(e){for(let t=0,i=this._eventHandlers.length;t0&&this._emitMany(t)}this._emitOutgoingEvents()}emitSingleViewEvent(e){try{let t=this.beginEmitViewEvents();t.emitViewEvent(e)}finally{this.endEmitViewEvents()}}_emitMany(e){this._viewEventQueue?this._viewEventQueue=this._viewEventQueue.concat(e):this._viewEventQueue=e,this._isConsumingViewEventQueue||this._consumeViewEventQueue()}_consumeViewEventQueue(){try{this._isConsumingViewEventQueue=!0,this._doConsumeQueue()}finally{this._isConsumingViewEventQueue=!1}}_doConsumeQueue(){for(;this._viewEventQueue;){let e=this._viewEventQueue;this._viewEventQueue=null;let t=this._eventHandlers.slice(0);for(let i of t)i.handleEvents(e)}}}class iR{constructor(){this.viewEvents=[],this.outgoingEvents=[]}emitViewEvent(e){this.viewEvents.push(e)}emitOutgoingEvent(e){this.outgoingEvents.push(e)}}class iO{constructor(e,t,i,n){this.kind=0,this._oldContentWidth=e,this._oldContentHeight=t,this.contentWidth=i,this.contentHeight=n,this.contentWidthChanged=this._oldContentWidth!==this.contentWidth,this.contentHeightChanged=this._oldContentHeight!==this.contentHeight}isNoOp(){return!this.contentWidthChanged&&!this.contentHeightChanged}attemptToMerge(e){return e.kind!==this.kind?null:new iO(this._oldContentWidth,this._oldContentHeight,e.contentWidth,e.contentHeight)}}class iP{constructor(e,t){this.kind=1,this.oldHasFocus=e,this.hasFocus=t}isNoOp(){return this.oldHasFocus===this.hasFocus}attemptToMerge(e){return e.kind!==this.kind?null:new iP(this.oldHasFocus,e.hasFocus)}}class iF{constructor(e,t,i,n,o,r,s,a){this.kind=2,this._oldScrollWidth=e,this._oldScrollLeft=t,this._oldScrollHeight=i,this._oldScrollTop=n,this.scrollWidth=o,this.scrollLeft=r,this.scrollHeight=s,this.scrollTop=a,this.scrollWidthChanged=this._oldScrollWidth!==this.scrollWidth,this.scrollLeftChanged=this._oldScrollLeft!==this.scrollLeft,this.scrollHeightChanged=this._oldScrollHeight!==this.scrollHeight,this.scrollTopChanged=this._oldScrollTop!==this.scrollTop}isNoOp(){return!this.scrollWidthChanged&&!this.scrollLeftChanged&&!this.scrollHeightChanged&&!this.scrollTopChanged}attemptToMerge(e){return e.kind!==this.kind?null:new iF(this._oldScrollWidth,this._oldScrollLeft,this._oldScrollHeight,this._oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop)}}class iB{constructor(){this.kind=3}isNoOp(){return!1}attemptToMerge(e){return e.kind!==this.kind?null:this}}class iV{constructor(){this.kind=4}isNoOp(){return!1}attemptToMerge(e){return e.kind!==this.kind?null:this}}class iW{constructor(e,t,i,n,o,r,s){this.kind=6,this.oldSelections=e,this.selections=t,this.oldModelVersionId=i,this.modelVersionId=n,this.source=o,this.reason=r,this.reachedMaxCursorCount=s}static _selectionsAreEqual(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;let i=e.length,n=t.length;if(i!==n)return!1;for(let n=0;n0){let e=this._cursors.getSelections();for(let t=0;tiG.MAX_CURSOR_COUNT&&(n=n.slice(0,iG.MAX_CURSOR_COUNT),o=!0);let r=iQ.from(this._model,this);return this._cursors.setStates(n),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,t,i,r,o)}setCursorColumnSelectData(e){this._columnSelectData=e}revealPrimary(e,t,i,n,o,r){let s=this._cursors.getViewPositions(),a=null,l=null;s.length>1?l=this._cursors.getViewSelections():a=ep.e.fromPositions(s[0],s[0]),e.emitViewEvent(new iD(t,i,a,l,n,o,r))}saveState(){let e=[],t=this._cursors.getSelections();for(let i=0,n=t.length;i0){let t=ia.Vi.fromModelSelections(i.resultingSelection);this.setStates(e,"modelChange",i.isUndoing?5:i.isRedoing?6:2,t)&&this.revealPrimary(e,"modelChange",!1,0,!0,0)}else{let t=this._cursors.readSelectionFromMarkers();this.setStates(e,"modelChange",2,ia.Vi.fromModelSelections(t))}}}getSelection(){return this._cursors.getPrimaryCursor().modelState.selection}getTopMostViewPosition(){return this._cursors.getTopMostViewPosition()}getBottomMostViewPosition(){return this._cursors.getBottomMostViewPosition()}getCursorColumnSelectData(){if(this._columnSelectData)return this._columnSelectData;let e=this._cursors.getPrimaryCursor(),t=e.viewState.selectionStart.getStartPosition(),i=e.viewState.position;return{isReal:!1,fromViewLineNumber:t.lineNumber,fromViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,t),toViewLineNumber:i.lineNumber,toViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,i)}}getSelections(){return this._cursors.getSelections()}setSelections(e,t,i,n){this.setStates(e,t,n,ia.Vi.fromModelSelections(i))}getPrevEditOperationType(){return this._prevEditOperationType}setPrevEditOperationType(e){this._prevEditOperationType=e}_pushAutoClosedAction(e,t){let i=[],n=[];for(let o=0,r=e.length;o0&&this._pushAutoClosedAction(i,n),this._prevEditOperationType=e.type}e.shouldPushStackElementAfter&&this._model.pushStackElement()}_interpretCommandResult(e){e&&0!==e.length||(e=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(e),this._cursors.normalize()}_emitStateChangedIfNecessary(e,t,i,n,o){let r=iQ.from(this._model,this);if(r.equals(n))return!1;let s=this._cursors.getSelections(),a=this._cursors.getViewSelections();if(e.emitViewEvent(new iv(a,s)),!n||n.cursorState.length!==r.cursorState.length||r.cursorState.some((e,t)=>!e.modelState.equals(n.cursorState[t].modelState))){let a=n?n.cursorState.map(e=>e.modelState.selection):null,l=n?n.modelVersionId:0;e.emitOutgoingEvent(new iW(a,s,l,r.modelVersionId,t||"keyboard",i,o))}return!0}_findAutoClosingPairs(e){if(!e.length)return null;let t=[];for(let i=0,n=e.length;i=0)return null;let o=n.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!o)return null;let r=o[1],s=this.context.cursorConfig.autoClosingPairs.autoClosingPairsCloseSingleChar.get(r);if(!s||1!==s.length)return null;let a=s[0].open,l=n.text.length-o[2].length-1,h=n.text.lastIndexOf(a,l-1);if(-1===h)return null;t.push([h,l])}return t}executeEdits(e,t,i,n){let o=null;"snippet"===t&&(o=this._findAutoClosingPairs(i)),o&&(i[0]._isTracked=!0);let r=[],s=[],a=this._model.pushEditOperations(this.getSelections(),i,e=>{if(o)for(let t=0,i=o.length;t0&&this._pushAutoClosedAction(r,s)}_executeEdit(e,t,i,n=0){if(this.context.cursorConfig.readOnly)return;let o=iQ.from(this._model,this);this._cursors.stopTrackingSelections(),this._isHandling=!0;try{this._cursors.ensureValidState(),e()}catch(e){(0,g.dL)(e)}this._isHandling=!1,this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(t,i,n,o,!1)&&this.revealPrimary(t,i,!1,0,!0,0)}getAutoClosedCharacters(){return iZ.getAllAutoClosedCharacters(this._autoClosedActions)}startComposition(e){this._compositionState=new iX(this._model,this.getSelections())}endComposition(e,t){let i=this._compositionState?this._compositionState.deduceOutcome(this._model,this.getSelections()):null;this._compositionState=null,this._executeEdit(()=>{"keyboard"===t&&this._executeEditOperation(ic.u6.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,i,this.getSelections(),this.getAutoClosedCharacters()))},e,t)}type(e,t,i){this._executeEdit(()=>{if("keyboard"===i){let e=t.length,i=0;for(;i{let t=e.getPosition();return new B.Y(t.lineNumber,t.column+o,t.lineNumber,t.column+o)});this.setSelections(e,r,t,0)}return}this._executeEdit(()=>{this._executeEditOperation(ic.u6.compositionType(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t,i,n,o))},e,r)}paste(e,t,i,n,o){this._executeEdit(()=>{this._executeEditOperation(ic.u6.paste(this.context.cursorConfig,this._model,this.getSelections(),t,i,n||[]))},e,o,4)}cut(e,t){this._executeEdit(()=>{this._executeEditOperation(iu.A.cut(this.context.cursorConfig,this._model,this.getSelections()))},e,t)}executeCommand(e,t,i){this._executeEdit(()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new ia.Tp(0,[t],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,i)}executeCommands(e,t,i){this._executeEdit(()=>{this._executeEditOperation(new ia.Tp(0,t,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,i)}}iG.MAX_CURSOR_COUNT=1e4;class iQ{constructor(e,t){this.modelVersionId=e,this.cursorState=t}static from(e,t){return new iQ(e.getVersionId(),t.getCursorStates())}equals(e){if(!e||this.modelVersionId!==e.modelVersionId||this.cursorState.length!==e.cursorState.length)return!1;for(let t=0,i=this.cursorState.length;t=t.length||!t[i].strictContainsRange(e[i]))return!1;return!0}}class iY{static executeCommands(e,t,i){let n={model:e,selectionsBefore:t,trackedRanges:[],trackedRangesDirection:[]},o=this._innerExecuteCommands(n,i);for(let e=0,t=n.trackedRanges.length;e0&&(r[0]._isTracked=!0);let s=e.model.pushEditOperations(e.selectionsBefore,r,i=>{let n=[];for(let t=0;te.identifier.minor-t.identifier.minor,r=[];for(let i=0;i0?(n[i].sort(o),r[i]=t[i].computeCursorState(e.model,{getInverseEditOperations:()=>n[i],getTrackedSelection:t=>{let i=parseInt(t,10),n=e.model._getTrackedRange(e.trackedRanges[i]);return 0===e.trackedRangesDirection[i]?new B.Y(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn):new B.Y(n.endLineNumber,n.endColumn,n.startLineNumber,n.startColumn)}})):r[i]=e.selectionsBefore[i];return r});s||(s=e.selectionsBefore);let a=[];for(let e in o)o.hasOwnProperty(e)&&a.push(parseInt(e,10));for(let e of(a.sort((e,t)=>t-e),a))s.splice(e,1);return s}static _arrayIsEmpty(e){for(let t=0,i=e.length;t{ep.e.isEmpty(e)&&""===r||n.push({identifier:{major:t,minor:o++},range:e,text:r,forceMoveMarkers:s,isAutoWhitespaceEdit:i.insertsAutoWhitespace})},s=!1;try{i.getEditOperations(e.model,{addEditOperation:r,addTrackedEditOperation:(e,t,i)=>{s=!0,r(e,t,i)},trackSelection:(t,i)=>{let n;let o=B.Y.liftSelection(t);if(o.isEmpty()){if("boolean"==typeof i)n=i?2:3;else{let t=e.model.getLineMaxColumn(o.startLineNumber);n=o.startColumn===t?2:3}}else n=1;let r=e.trackedRanges.length,s=e.model._setTrackedRange(null,o,n);return e.trackedRanges[r]=s,e.trackedRangesDirection[r]=o.getDirection(),r.toString()}})}catch(e){return(0,g.dL)(e),{operations:[],hadTrackedEditOperation:!1}}return{operations:n,hadTrackedEditOperation:s}}static _getLoserCursorMap(e){(e=e.slice(0)).sort((e,t)=>-ep.e.compareRangesUsingEnds(e.range,t.range));let t={};for(let i=1;io.identifier.major?n.identifier.major:o.identifier.major).toString()]=!0;for(let t=0;t0&&i--}}return t}}class iJ{constructor(e,t,i){this.text=e,this.startSelection=t,this.endSelection=i}}class iX{constructor(e,t){this._original=iX._capture(e,t)}static _capture(e,t){let i=[];for(let n of t){if(n.startLineNumber!==n.endLineNumber)return null;i.push(new iJ(e.getLineContent(n.startLineNumber),n.startColumn-1,n.endColumn-1))}return i}deduceOutcome(e,t){if(!this._original)return null;let i=iX._capture(e,t);if(!i||this._original.length!==i.length)return null;let n=[];for(let e=0,t=this._original.length;e>>1;t===e[r].afterLineNumber?i{t=!0,e|=0,i|=0,n|=0,o|=0;let r=this._instanceId+ ++this._lastWhitespaceId;return this._pendingChanges.insert(new i6(r,e,i,n,o)),r},changeOneWhitespace:(e,i,n)=>{t=!0,i|=0,n|=0,this._pendingChanges.change({id:e,newAfterLineNumber:i,newHeight:n})},removeWhitespace:e=>{t=!0,this._pendingChanges.remove({id:e})}};e(i)}finally{this._pendingChanges.commit(this)}return t}_commitPendingChanges(e,t,i){if((e.length>0||i.length>0)&&(this._minWidth=-1),e.length+t.length+i.length<=1){for(let t of e)this._insertWhitespace(t);for(let e of t)this._changeOneWhitespace(e.id,e.newAfterLineNumber,e.newHeight);for(let e of i){let t=this._findWhitespaceIndex(e.id);-1!==t&&this._removeWhitespace(t)}return}let n=new Set;for(let e of i)n.add(e.id);let o=new Map;for(let e of t)o.set(e.id,e);let r=e=>{let t=[];for(let i of e)if(!n.has(i.id)){if(o.has(i.id)){let e=o.get(i.id);i.afterLineNumber=e.newAfterLineNumber,i.height=e.newHeight}t.push(i)}return t},s=r(this._arr).concat(r(e));s.sort((e,t)=>e.afterLineNumber===t.afterLineNumber?e.ordinal-t.ordinal:e.afterLineNumber-t.afterLineNumber),this._arr=s,this._prefixSumValidIndex=-1}_checkPendingChanges(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}_insertWhitespace(e){let t=i8.findInsertionIndex(this._arr,e.afterLineNumber,e.ordinal);this._arr.splice(t,0,e),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,t-1)}_findWhitespaceIndex(e){let t=this._arr;for(let i=0,n=t.length;it&&(this._arr[i].afterLineNumber-=t-e+1)}}onLinesInserted(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount+=t-e+1;for(let i=0,n=this._arr.length;i=t.length||t[s+1].afterLineNumber>=e)return s;i=s+1|0}else n=s-1|0}return -1}_findFirstWhitespaceAfterLineNumber(e){e|=0;let t=this._findLastWhitespaceBeforeLineNumber(e),i=t+1;return i1?this._lineHeight*(e-1):0;let n=this.getWhitespaceAccumulatedHeightBeforeLineNumber(e-(t?1:0));return i+n+this._paddingTop}getVerticalOffsetAfterLineNumber(e,t=!1){this._checkPendingChanges(),e|=0;let i=this._lineHeight*e,n=this.getWhitespaceAccumulatedHeightBeforeLineNumber(e+(t?1:0));return i+n+this._paddingTop}getWhitespaceMinWidth(){if(this._checkPendingChanges(),-1===this._minWidth){let e=0;for(let t=0,i=this._arr.length;tt}isInTopPadding(e){return 0!==this._paddingTop&&(this._checkPendingChanges(),e=t-this._paddingBottom}getLineNumberAtOrAfterVerticalOffset(e){if(this._checkPendingChanges(),(e|=0)<0)return 1;let t=0|this._lineCount,i=this._lineHeight,n=1,o=t;for(;n=r+i)n=t+1;else{if(e>=r)return t;o=t}}return n>t?t:n}getLinesViewportData(e,t){let i,n;this._checkPendingChanges(),e|=0,t|=0;let o=this._lineHeight,r=0|this.getLineNumberAtOrAfterVerticalOffset(e),s=0|this.getVerticalOffsetForLineNumber(r),a=0|this._lineCount,l=0|this.getFirstWhitespaceIndexAfterLineNumber(r),h=0|this.getWhitespacesCount();-1===l?(l=h,n=a+1,i=0):(n=0|this.getAfterLineNumberForWhitespaceIndex(l),i=0|this.getHeightForWhitespaceIndex(l));let d=s,u=d,c=0;s>=5e5&&(u-=c=Math.floor((c=5e5*Math.floor(s/5e5))/o)*o);let g=[],p=e+(t-e)/2,m=-1;for(let e=r;e<=a;e++){if(-1===m){let t=d,i=d+o;(t<=p&&pp)&&(m=e)}for(d+=o,g[e-r]=u,u+=o;n===e;)u+=i,d+=i,++l>=h?n=a+1:(n=0|this.getAfterLineNumberForWhitespaceIndex(l),i=0|this.getHeightForWhitespaceIndex(l));if(d>=t){a=e;break}}-1===m&&(m=a);let f=0|this.getVerticalOffsetForLineNumber(a),_=r,v=a;return _t&&v--,{bigNumbersDelta:c,startLineNumber:r,endLineNumber:a,relativeVerticalOffset:g,centeredLineNumber:m,completelyVisibleStartLineNumber:_,completelyVisibleEndLineNumber:v}}getVerticalOffsetForWhitespaceIndex(e){this._checkPendingChanges(),e|=0;let t=this.getAfterLineNumberForWhitespaceIndex(e);return(t>=1?this._lineHeight*t:0)+(e>0?this.getWhitespacesAccumulatedHeight(e-1):0)+this._paddingTop}getWhitespaceIndexAtOrAfterVerticallOffset(e){this._checkPendingChanges(),e|=0;let t=0,i=this.getWhitespacesCount()-1;if(i<0)return -1;let n=this.getVerticalOffsetForWhitespaceIndex(i),o=this.getHeightForWhitespaceIndex(i);if(e>=n+o)return -1;for(;t=o+r)t=n+1;else{if(e>=o)return n;i=n}}return t}getWhitespaceAtVerticalOffset(e){this._checkPendingChanges(),e|=0;let t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(t<0||t>=this.getWhitespacesCount())return null;let i=this.getVerticalOffsetForWhitespaceIndex(t);if(i>e)return null;let n=this.getHeightForWhitespaceIndex(t),o=this.getIdForWhitespaceIndex(t),r=this.getAfterLineNumberForWhitespaceIndex(t);return{id:o,afterLineNumber:r,verticalOffset:i,height:n}}getWhitespaceViewportData(e,t){this._checkPendingChanges(),e|=0,t|=0;let i=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),n=this.getWhitespacesCount()-1;if(i<0)return[];let o=[];for(let e=i;e<=n;e++){let i=this.getVerticalOffsetForWhitespaceIndex(e),n=this.getHeightForWhitespaceIndex(e);if(i>=t)break;o.push({id:this.getIdForWhitespaceIndex(e),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(e),verticalOffset:i,height:n})}return o}getWhitespaces(){return this._checkPendingChanges(),this._arr.slice(0)}getWhitespacesCount(){return this._checkPendingChanges(),this._arr.length}getIdForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].id}getAfterLineNumberForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].afterLineNumber}getHeightForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].height}}i8.INSTANCE_COUNT=0;class ne{constructor(e,t,i,n){(e|=0)<0&&(e=0),(t|=0)<0&&(t=0),(i|=0)<0&&(i=0),(n|=0)<0&&(n=0),this.width=e,this.contentWidth=t,this.scrollWidth=Math.max(e,t),this.height=i,this.contentHeight=n,this.scrollHeight=Math.max(i,n)}equals(e){return this.width===e.width&&this.contentWidth===e.contentWidth&&this.height===e.height&&this.contentHeight===e.contentHeight}}class nt extends m.JT{constructor(e,t){super(),this._onDidContentSizeChange=this._register(new p.Q5),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._dimensions=new ne(0,0,0,0),this._scrollable=this._register(new i9.Rm({forceIntegerValues:!0,smoothScrollDuration:e,scheduleAtNextAnimationFrame:t})),this.onDidScroll=this._scrollable.onScroll}getScrollable(){return this._scrollable}setSmoothScrollDuration(e){this._scrollable.setSmoothScrollDuration(e)}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}getScrollDimensions(){return this._dimensions}setScrollDimensions(e){if(this._dimensions.equals(e))return;let t=this._dimensions;this._dimensions=e,this._scrollable.setScrollDimensions({width:e.width,scrollWidth:e.scrollWidth,height:e.height,scrollHeight:e.scrollHeight},!0);let i=t.contentWidth!==e.contentWidth,n=t.contentHeight!==e.contentHeight;(i||n)&&this._onDidContentSizeChange.fire(new iO(t.contentWidth,t.contentHeight,e.contentWidth,e.contentHeight))}getFutureScrollPosition(){return this._scrollable.getFutureScrollPosition()}getCurrentScrollPosition(){return this._scrollable.getCurrentScrollPosition()}setScrollPositionNow(e){this._scrollable.setScrollPositionNow(e)}setScrollPositionSmooth(e){this._scrollable.setScrollPositionSmooth(e)}}class ni extends m.JT{constructor(e,t,i){super(),this._configuration=e;let n=this._configuration.options,o=n.get(133),r=n.get(77);this._linesLayout=new i8(t,n.get(61),r.top,r.bottom),this._scrollable=this._register(new nt(0,i)),this._configureSmoothScrollDuration(),this._scrollable.setScrollDimensions(new ne(o.contentWidth,0,o.height,0)),this.onDidScroll=this._scrollable.onDidScroll,this.onDidContentSizeChange=this._scrollable.onDidContentSizeChange,this._updateHeight()}dispose(){super.dispose()}getScrollable(){return this._scrollable.getScrollable()}onHeightMaybeChanged(){this._updateHeight()}_configureSmoothScrollDuration(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(105)?125:0)}onConfigurationChanged(e){let t=this._configuration.options;if(e.hasChanged(61)&&this._linesLayout.setLineHeight(t.get(61)),e.hasChanged(77)){let e=t.get(77);this._linesLayout.setPadding(e.top,e.bottom)}if(e.hasChanged(133)){let e=t.get(133),i=e.contentWidth,n=e.height,o=this._scrollable.getScrollDimensions(),r=o.contentWidth;this._scrollable.setScrollDimensions(new ne(i,o.contentWidth,n,this._getContentHeight(i,n,r)))}else this._updateHeight();e.hasChanged(105)&&this._configureSmoothScrollDuration()}onFlushed(e){this._linesLayout.onFlushed(e)}onLinesDeleted(e,t){this._linesLayout.onLinesDeleted(e,t)}onLinesInserted(e,t){this._linesLayout.onLinesInserted(e,t)}_getHorizontalScrollbarHeight(e,t){let i=this._configuration.options,n=i.get(94);return 2===n.horizontal||e>=t?0:n.horizontalScrollbarSize}_getContentHeight(e,t,i){let n=this._configuration.options,o=this._linesLayout.getLinesTotalHeight();return n.get(96)?o+=Math.max(0,t-n.get(61)-n.get(77).bottom):o+=this._getHorizontalScrollbarHeight(e,i),o}_updateHeight(){let e=this._scrollable.getScrollDimensions(),t=e.width,i=e.height,n=e.contentWidth;this._scrollable.setScrollDimensions(new ne(t,e.contentWidth,i,this._getContentHeight(t,i,n)))}getCurrentViewport(){let e=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new tD.l_(t.scrollTop,t.scrollLeft,e.width,e.height)}getFutureViewport(){let e=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new tD.l_(t.scrollTop,t.scrollLeft,e.width,e.height)}_computeContentWidth(e){let t=this._configuration.options,i=t.get(134),n=t.get(46),o=t.get(133);if(i.isViewportWrapping){let i=t.get(67);return e>o.contentWidth+n.typicalHalfwidthCharacterWidth&&i.enabled&&"right"===i.side?e+o.verticalScrollbarWidth:e}{let i=t.get(95)*n.typicalHalfwidthCharacterWidth,r=this._linesLayout.getWhitespaceMinWidth();return Math.max(e+i+o.verticalScrollbarWidth,r)}}setMaxLineWidth(e){let t=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new ne(t.width,this._computeContentWidth(e),t.height,t.contentHeight)),this._updateHeight()}saveState(){let e=this._scrollable.getFutureScrollPosition(),t=e.scrollTop,i=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t),n=this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(i);return{scrollTop:t,scrollTopWithoutViewZones:t-n,scrollLeft:e.scrollLeft}}changeWhitespace(e){let t=this._linesLayout.changeWhitespace(e);return t&&this.onHeightMaybeChanged(),t}getVerticalOffsetForLineNumber(e,t=!1){return this._linesLayout.getVerticalOffsetForLineNumber(e,t)}getVerticalOffsetAfterLineNumber(e,t=!1){return this._linesLayout.getVerticalOffsetAfterLineNumber(e,t)}isAfterLines(e){return this._linesLayout.isAfterLines(e)}isInTopPadding(e){return this._linesLayout.isInTopPadding(e)}isInBottomPadding(e){return this._linesLayout.isInBottomPadding(e)}getLineNumberAtVerticalOffset(e){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(e)}getWhitespaceAtVerticalOffset(e){return this._linesLayout.getWhitespaceAtVerticalOffset(e)}getLinesViewportData(){let e=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(e.top,e.top+e.height)}getLinesViewportDataAtScrollTop(e){let t=this._scrollable.getScrollDimensions();return e+t.height>t.scrollHeight&&(e=t.scrollHeight-t.height),e<0&&(e=0),this._linesLayout.getLinesViewportData(e,e+t.height)}getWhitespaceViewportData(){let e=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(e.top,e.top+e.height)}getWhitespaces(){return this._linesLayout.getWhitespaces()}getContentWidth(){let e=this._scrollable.getScrollDimensions();return e.contentWidth}getScrollWidth(){let e=this._scrollable.getScrollDimensions();return e.scrollWidth}getContentHeight(){let e=this._scrollable.getScrollDimensions();return e.contentHeight}getScrollHeight(){let e=this._scrollable.getScrollDimensions();return e.scrollHeight}getCurrentScrollLeft(){let e=this._scrollable.getCurrentScrollPosition();return e.scrollLeft}getCurrentScrollTop(){let e=this._scrollable.getCurrentScrollPosition();return e.scrollTop}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}setScrollPosition(e,t){1===t?this._scrollable.setScrollPositionNow(e):this._scrollable.setScrollPositionSmooth(e)}deltaScrollNow(e,t){let i=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:i.scrollLeft+e,scrollTop:i.scrollTop+t})}}var nn=i(30168),no=i(77378);function nr(e,t){return null!==e?new ns(e,t):t?na.INSTANCE:nl.INSTANCE}class ns{constructor(e,t){this._projectionData=e,this._isVisible=t}isVisible(){return this._isVisible}setVisible(e){return this._isVisible=e,this}getProjectionData(){return this._projectionData}getViewLineCount(){return this._isVisible?this._projectionData.getOutputLineCount():0}getViewLineContent(e,t,i){let n;this._assertVisible();let o=i>0?this._projectionData.breakOffsets[i-1]:0,r=this._projectionData.breakOffsets[i];if(null!==this._projectionData.injectionOffsets){let i=this._projectionData.injectionOffsets.map((e,t)=>new ig.gk(0,0,e+1,this._projectionData.injectionOptions[t],0)),s=ig.gk.applyInjectedText(e.getLineContent(t),i);n=s.substring(o,r)}else n=e.getValueInRange({startLineNumber:t,startColumn:o+1,endLineNumber:t,endColumn:r+1});return i>0&&(n=nd(this._projectionData.wrappedTextIndentLength)+n),n}getViewLineLength(e,t,i){return this._assertVisible(),this._projectionData.getLineLength(i)}getViewLineMinColumn(e,t,i){return this._assertVisible(),this._projectionData.getMinOutputOffset(i)+1}getViewLineMaxColumn(e,t,i){return this._assertVisible(),this._projectionData.getMaxOutputOffset(i)+1}getViewLineData(e,t,i){let n=[];return this.getViewLinesData(e,t,i,1,0,[!0],n),n[0]}getViewLinesData(e,t,i,n,o,r,s){let a;this._assertVisible();let l=this._projectionData,h=l.injectionOffsets,d=l.injectionOptions,u=null;if(h){u=[];let e=0,t=0;for(let i=0;i0?l.breakOffsets[i-1]:0,r=l.breakOffsets[i];for(;tr)break;if(o0?l.wrappedTextIndentLength:0,s=t+Math.max(a-o,0),h=t+Math.min(u-o,r);s!==h&&n.push(new tD.Wx(s,h,e.inlineClassName,e.inlineClassNameAffectsLetterSpacing))}}if(u<=r)e+=s,t++;else break}}}a=h?e.tokenization.getLineTokens(t).withInserted(h.map((e,t)=>({offset:e,text:d[t].content,tokenMetadata:no.A.defaultTokenMetadata}))):e.tokenization.getLineTokens(t);for(let e=i;e0?n.wrappedTextIndentLength:0,r=i>0?n.breakOffsets[i-1]:0,s=n.breakOffsets[i],a=e.sliceAndInflate(r,s,o),l=a.getLineContent();i>0&&(l=nd(n.wrappedTextIndentLength)+l);let h=this._projectionData.getMinOutputOffset(i)+1,d=l.length+1,u=i+1=nh.length)for(let t=1;t<=e;t++)nh[t]=Array(t+1).join(" ");return nh[e]}var nu=i(90310);class nc{constructor(e,t,i,n,o,r,s,a,l){this._editorId=e,this.model=t,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=i,this._monospaceLineBreaksComputerFactory=n,this.fontInfo=o,this.tabSize=r,this.wrappingStrategy=s,this.wrappingColumn=a,this.wrappingIndent=l,this._constructLines(!0,null)}dispose(){this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[])}createCoordinatesConverter(){return new nm(this)}_constructLines(e,t){this.modelLineProjections=[],e&&(this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[]));let i=this.model.getLinesContent(),n=this.model.getInjectedTextDecorations(this._editorId),o=i.length,r=this.createLineBreaksComputer(),s=new v.H9(ig.gk.fromDecorations(n));for(let e=0;et.lineNumber===e+1);r.addRequest(i[e],n,t?t[e]:null)}let a=r.finalize(),l=[],h=this.hiddenAreasDecorationIds.map(e=>this.model.getDecorationRange(e)).sort(ep.e.compareRangesUsingStarts),d=1,u=0,c=-1,g=0=d&&t<=u,n=nr(a[e],!i);l[e]=n.getViewLineCount(),this.modelLineProjections[e]=n}this._validModelVersionId=this.model.getVersionId(),this.projectedModelLineLineCounts=new nu.Ck(l)}getHiddenAreas(){return this.hiddenAreasDecorationIds.map(e=>this.model.getDecorationRange(e))}setHiddenAreas(e){let t=e.map(e=>this.model.validateRange(e)),i=function(e){if(0===e.length)return[];let t=e.slice();t.sort(ep.e.compareRangesUsingStarts);let i=[],n=t[0].startLineNumber,o=t[0].endLineNumber;for(let e=1,r=t.length;eo+1?(i.push(new ep.e(n,1,o,1)),n=r.startLineNumber,o=r.endLineNumber):r.endLineNumber>o&&(o=r.endLineNumber)}return i.push(new ep.e(n,1,o,1)),i}(t),n=this.hiddenAreasDecorationIds.map(e=>this.model.getDecorationRange(e)).sort(ep.e.compareRangesUsingStarts);if(i.length===n.length){let e=!1;for(let t=0;t({range:e,options:i5.qx.EMPTY}));this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,o);let r=1,s=0,a=-1,l=0=r&&t<=s?this.modelLineProjections[e].isVisible()&&(this.modelLineProjections[e]=this.modelLineProjections[e].setVisible(!1),n=!0):(h=!0,this.modelLineProjections[e].isVisible()||(this.modelLineProjections[e]=this.modelLineProjections[e].setVisible(!0),n=!0)),n){let t=this.modelLineProjections[e].getViewLineCount();this.projectedModelLineLineCounts.setValue(e,t)}}return h||this.setHiddenAreas([]),!0}modelPositionIsVisible(e,t){return!(e<1)&&!(e>this.modelLineProjections.length)&&this.modelLineProjections[e-1].isVisible()}getModelLineViewLineCount(e){return e<1||e>this.modelLineProjections.length?1:this.modelLineProjections[e-1].getViewLineCount()}setTabSize(e){return this.tabSize!==e&&(this.tabSize=e,this._constructLines(!1,null),!0)}setWrappingSettings(e,t,i,n){let o=this.fontInfo.equals(e),r=this.wrappingStrategy===t,s=this.wrappingColumn===i,a=this.wrappingIndent===n;if(o&&r&&s&&a)return!1;this.fontInfo=e,this.wrappingStrategy=t,this.wrappingColumn=i,this.wrappingIndent=n;let l=null;if(o&&r&&!s&&a){l=[];for(let e=0,t=this.modelLineProjections.length;e2&&!this.modelLineProjections[t-2].isVisible(),r=1===t?1:this.projectedModelLineLineCounts.getPrefixSum(t-1)+1,s=0,a=[],l=[];for(let e=0,t=n.length;ea?(p=(g=(d=(h=this.projectedModelLineLineCounts.getPrefixSum(t-1)+1)+a-1)+1)+(o-a)-1,l=!0):ot?t:0|e}getActiveIndentGuide(e,t,i){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),i=this._toValidViewLineNumber(i);let n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),o=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),r=this.convertViewPositionToModelPosition(i,this.getViewLineMinColumn(i)),s=this.model.guides.getActiveIndentGuide(n.lineNumber,o.lineNumber,r.lineNumber),a=this.convertModelPositionToViewPosition(s.startLineNumber,1),l=this.convertModelPositionToViewPosition(s.endLineNumber,this.model.getLineMaxColumn(s.endLineNumber));return{startLineNumber:a.lineNumber,endLineNumber:l.lineNumber,indent:s.indent}}getViewLineInfo(e){e=this._toValidViewLineNumber(e);let t=this.projectedModelLineLineCounts.getIndexOf(e-1),i=t.index,n=t.remainder;return new ng(i+1,n)}getMinColumnOfViewLine(e){return this.modelLineProjections[e.modelLineNumber-1].getViewLineMinColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx)}getMaxColumnOfViewLine(e){return this.modelLineProjections[e.modelLineNumber-1].getViewLineMaxColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx)}getModelStartPositionOfViewLine(e){let t=this.modelLineProjections[e.modelLineNumber-1],i=t.getViewLineMinColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx),n=t.getModelColumnOfViewPosition(e.modelLineWrappedLineIdx,i);return new eg.L(e.modelLineNumber,n)}getModelEndPositionOfViewLine(e){let t=this.modelLineProjections[e.modelLineNumber-1],i=t.getViewLineMaxColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx),n=t.getModelColumnOfViewPosition(e.modelLineWrappedLineIdx,i);return new eg.L(e.modelLineNumber,n)}getViewLineInfosGroupedByModelRanges(e,t){let i=this.getViewLineInfo(e),n=this.getViewLineInfo(t),o=[],r=this.getModelStartPositionOfViewLine(i),s=[];for(let e=i.modelLineNumber;e<=n.modelLineNumber;e++){let t=this.modelLineProjections[e-1];if(t.isVisible()){let o=e===i.modelLineNumber?i.modelLineWrappedLineIdx:0,r=e===n.modelLineNumber?n.modelLineWrappedLineIdx+1:t.getViewLineCount();for(let t=o;t{if(-1!==e.forWrappedLinesAfterColumn){let t=this.modelLineProjections[n.modelLineNumber-1].getViewPositionOfModelPosition(0,e.forWrappedLinesAfterColumn);if(t.lineNumber>=n.modelLineWrappedLineIdx)return}if(-1!==e.forWrappedLinesBeforeOrAtColumn){let t=this.modelLineProjections[n.modelLineNumber-1].getViewPositionOfModelPosition(0,e.forWrappedLinesBeforeOrAtColumn);if(t.lineNumbern.modelLineWrappedLineIdx)return}let i=this.convertModelPositionToViewPosition(n.modelLineNumber,e.horizontalLine.endColumn),o=this.modelLineProjections[n.modelLineNumber-1].getViewPositionOfModelPosition(0,e.horizontalLine.endColumn);return o.lineNumber===n.modelLineWrappedLineIdx?new tm.UO(e.visibleColumn,t,e.className,new tm.vW(e.horizontalLine.top,i.column),-1,-1):o.lineNumber!!e))}}return r}getViewLinesIndentGuides(e,t){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);let i=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),n=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t)),o=[],r=[],s=[],a=i.lineNumber-1,l=n.lineNumber-1,h=null;for(let e=a;e<=l;e++){let t=this.modelLineProjections[e];if(t.isVisible()){let n=t.getViewLineNumberOfModelPosition(0,e===a?i.column:1),o=t.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(e+1)),l=o-n+1,d=0;l>1&&1===t.getViewLineMinColumn(this.model,e+1,o)&&(d=0===n?1:2),r.push(l),s.push(d),null===h&&(h=new eg.L(e+1,0))}else null!==h&&(o=o.concat(this.model.guides.getLinesIndentGuides(h.lineNumber,e)),h=null)}null!==h&&(o=o.concat(this.model.guides.getLinesIndentGuides(h.lineNumber,n.lineNumber)),h=null);let d=t-e+1,u=Array(d),c=0;for(let e=0,t=o.length;et&&(u=!0,d=t-o+1),l.getViewLinesData(this.model,n+1,h,d,o-e,i,a),o+=d,u)break}return a}validateViewPosition(e,t,i){e=this._toValidViewLineNumber(e);let n=this.projectedModelLineLineCounts.getIndexOf(e-1),o=n.index,r=n.remainder,s=this.modelLineProjections[o],a=s.getViewLineMinColumn(this.model,o+1,r),l=s.getViewLineMaxColumn(this.model,o+1,r);tl&&(t=l);let h=s.getModelColumnOfViewPosition(r,t),d=this.model.validatePosition(new eg.L(o+1,h));return d.equals(i)?new eg.L(e,t):this.convertModelPositionToViewPosition(i.lineNumber,i.column)}validateViewRange(e,t){let i=this.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),n=this.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new ep.e(i.lineNumber,i.column,n.lineNumber,n.column)}convertViewPositionToModelPosition(e,t){let i=this.getViewLineInfo(e),n=this.modelLineProjections[i.modelLineNumber-1].getModelColumnOfViewPosition(i.modelLineWrappedLineIdx,t);return this.model.validatePosition(new eg.L(i.modelLineNumber,n))}convertViewRangeToModelRange(e){let t=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),i=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new ep.e(t.lineNumber,t.column,i.lineNumber,i.column)}convertModelPositionToViewPosition(e,t,i=2){let n=this.model.validatePosition(new eg.L(e,t)),o=n.lineNumber,r=n.column,s=o-1,a=!1;for(;s>0&&!this.modelLineProjections[s].isVisible();)s--,a=!0;if(0===s&&!this.modelLineProjections[s].isVisible())return new eg.L(1,1);let l=1+this.projectedModelLineLineCounts.getPrefixSum(s);return a?this.modelLineProjections[s].getViewPositionOfModelPosition(l,this.model.getLineMaxColumn(s+1),i):this.modelLineProjections[o-1].getViewPositionOfModelPosition(l,r,i)}convertModelRangeToViewRange(e,t=0){if(e.isEmpty()){let i=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn,t);return ep.e.fromPositions(i)}{let t=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn,1),i=this.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn,0);return new ep.e(t.lineNumber,t.column,i.lineNumber,i.column)}}getViewLineNumberOfModelPosition(e,t){let i=e-1;if(this.modelLineProjections[i].isVisible()){let e=1+this.projectedModelLineLineCounts.getPrefixSum(i);return this.modelLineProjections[i].getViewLineNumberOfModelPosition(e,t)}for(;i>0&&!this.modelLineProjections[i].isVisible();)i--;if(0===i&&!this.modelLineProjections[i].isVisible())return 1;let n=1+this.projectedModelLineLineCounts.getPrefixSum(i);return this.modelLineProjections[i].getViewLineNumberOfModelPosition(n,this.model.getLineMaxColumn(i+1))}getDecorationsInRange(e,t,i){let n=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),o=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);if(o.lineNumber-n.lineNumber<=e.endLineNumber-e.startLineNumber)return this.model.getDecorationsInRange(new ep.e(n.lineNumber,1,o.lineNumber,o.column),t,i);let r=[],s=n.lineNumber-1,a=o.lineNumber-1,l=null;for(let e=s;e<=a;e++){let o=this.modelLineProjections[e];if(o.isVisible())null===l&&(l=new eg.L(e+1,e===s?n.column:1));else if(null!==l){let n=this.model.getLineMaxColumn(e);r=r.concat(this.model.getDecorationsInRange(new ep.e(l.lineNumber,l.column,e,n),t,i)),l=null}}null!==l&&(r=r.concat(this.model.getDecorationsInRange(new ep.e(l.lineNumber,l.column,o.lineNumber,o.column),t,i)),l=null),r.sort((e,t)=>{let i=ep.e.compareRangesUsingStarts(e.range,t.range);return 0===i?e.idt.id?1:0:i});let h=[],d=0,u=null;for(let e of r){let t=e.id;u!==t&&(u=t,h[d++]=e)}return h}getInjectedTextAt(e){let t=this.getViewLineInfo(e.lineNumber);return this.modelLineProjections[t.modelLineNumber-1].getInjectedTextAt(t.modelLineWrappedLineIdx,e.column)}normalizePosition(e,t){let i=this.getViewLineInfo(e.lineNumber);return this.modelLineProjections[i.modelLineNumber-1].normalizePosition(i.modelLineWrappedLineIdx,e,t)}getLineIndentColumn(e){let t=this.getViewLineInfo(e);return 0===t.modelLineWrappedLineIdx?this.model.getLineIndentColumn(t.modelLineNumber):0}}class ng{constructor(e,t){this.modelLineNumber=e,this.modelLineWrappedLineIdx=t}}class np{constructor(e,t){this.modelRange=e,this.viewLines=t}}class nm{constructor(e){this._lines=e}convertViewPositionToModelPosition(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)}convertViewRangeToModelRange(e){return this._lines.convertViewRangeToModelRange(e)}validateViewPosition(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)}validateViewRange(e,t){return this._lines.validateViewRange(e,t)}convertModelPositionToViewPosition(e,t){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column,t)}convertModelRangeToViewRange(e,t){return this._lines.convertModelRangeToViewRange(e,t)}modelPositionIsVisible(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)}getModelLineViewLineCount(e){return this._lines.getModelLineViewLineCount(e)}getViewLineNumberOfModelPosition(e,t){return this._lines.getViewLineNumberOfModelPosition(e,t)}}class nf{constructor(e){this.model=e}dispose(){}createCoordinatesConverter(){return new n_(this)}getHiddenAreas(){return[]}setHiddenAreas(e){return!1}setTabSize(e){return!1}setWrappingSettings(e,t,i,n){return!1}createLineBreaksComputer(){let e=[];return{addRequest:(t,i,n)=>{e.push(null)},finalize:()=>e}}onModelFlushed(){}onModelLinesDeleted(e,t,i){return new ik(t,i)}onModelLinesInserted(e,t,i,n){return new iN(t,i)}onModelLineChanged(e,t,i){return[!1,new iL(t,1),null,null]}acceptVersionId(e){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(e,t,i){return{startLineNumber:e,endLineNumber:e,indent:0}}getViewLinesBracketGuides(e,t,i){return Array(t-e+1).fill([])}getViewLinesIndentGuides(e,t){let i=t-e+1,n=Array(i);for(let e=0;et)}getModelLineViewLineCount(e){return 1}getViewLineNumberOfModelPosition(e,t){return e}}class nv extends m.JT{constructor(e,t,i,n,o,r,s,a){if(super(),this.languageConfigurationService=s,this._themeService=a,this._editorId=e,this._configuration=t,this.model=i,this._eventDispatcher=new iA,this.onEvent=this._eventDispatcher.onEvent,this.cursorConfig=new ia.LM(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._tokenizeViewportSoon=this._register(new z.pY(()=>this.tokenizeViewport(),50)),this._updateConfigurationViewLineCount=this._register(new z.pY(()=>this._updateConfigurationViewLineCountNow(),0)),this._hasFocus=!1,this._viewportStart=nC.create(this.model),this.model.isTooLargeForTokenization())this._lines=new nf(this.model);else{let e=this._configuration.options,t=e.get(46),i=e.get(127),r=e.get(134),s=e.get(126);this._lines=new nc(this._editorId,this.model,n,o,t,this.model.getOptions().tabSize,i,r.wrappingColumn,s)}this.coordinatesConverter=this._lines.createCoordinatesConverter(),this._cursor=this._register(new iG(i,this,this.coordinatesConverter,this.cursorConfig)),this.viewLayout=this._register(new ni(this._configuration,this.getLineCount(),r)),this._register(this.viewLayout.onDidScroll(e=>{e.scrollTopChanged&&this._tokenizeViewportSoon.schedule(),e.scrollTopChanged&&this._viewportStart.invalidate(),this._eventDispatcher.emitSingleViewEvent(new ix(e)),this._eventDispatcher.emitOutgoingEvent(new iF(e.oldScrollWidth,e.oldScrollLeft,e.oldScrollHeight,e.oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop))})),this._register(this.viewLayout.onDidContentSizeChange(e=>{this._eventDispatcher.emitOutgoingEvent(e)})),this._decorations=new nn.CU(this._editorId,this.model,this._configuration,this._lines,this.coordinatesConverter),this._registerModelEvents(),this._register(this._configuration.onDidChangeFast(e=>{try{let t=this._eventDispatcher.beginEmitViewEvents();this._onConfigurationChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(tN.getInstance().onDidChange(()=>{this._eventDispatcher.emitSingleViewEvent(new iT)})),this._register(this._themeService.onDidColorThemeChange(e=>{this._invalidateDecorationsColorCache(),this._eventDispatcher.emitSingleViewEvent(new iI(e))})),this._updateConfigurationViewLineCountNow()}dispose(){super.dispose(),this._decorations.dispose(),this._lines.dispose(),this._viewportStart.dispose(),this._eventDispatcher.dispose()}createLineBreaksComputer(){return this._lines.createLineBreaksComputer()}addViewEventHandler(e){this._eventDispatcher.addViewEventHandler(e)}removeViewEventHandler(e){this._eventDispatcher.removeViewEventHandler(e)}_updateConfigurationViewLineCountNow(){this._configuration.setViewLineCount(this._lines.getViewLineCount())}tokenizeViewport(){let e=this.viewLayout.getLinesViewportData(),t=new ep.e(e.startLineNumber,this.getLineMinColumn(e.startLineNumber),e.endLineNumber,this.getLineMaxColumn(e.endLineNumber)),i=this._toModelVisibleRanges(t);for(let e of i)this.model.tokenization.tokenizeViewport(e.startLineNumber,e.endLineNumber)}setHasFocus(e){this._hasFocus=e,this._cursor.setHasFocus(e),this._eventDispatcher.emitSingleViewEvent(new iw(e)),this._eventDispatcher.emitOutgoingEvent(new iP(!e,e))}onCompositionStart(){this._eventDispatcher.emitSingleViewEvent(new ip)}onCompositionEnd(){this._eventDispatcher.emitSingleViewEvent(new im)}_onConfigurationChanged(e,t){let i=null;if(this._viewportStart.isValid){let e=new eg.L(this._viewportStart.viewLineNumber,this.getLineMinColumn(this._viewportStart.viewLineNumber));i=this.coordinatesConverter.convertViewPositionToModelPosition(e)}let n=!1,o=this._configuration.options,r=o.get(46),s=o.get(127),a=o.get(134),l=o.get(126);if(this._lines.setWrappingSettings(r,s,a.wrappingColumn,l)&&(e.emitViewEvent(new ib),e.emitViewEvent(new iS),e.emitViewEvent(new iC(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),0!==this.viewLayout.getCurrentScrollTop()&&(n=!0),this._updateConfigurationViewLineCount.schedule()),t.hasChanged(83)&&(this._decorations.reset(),e.emitViewEvent(new iC(null))),e.emitViewEvent(new i_(t)),this.viewLayout.onConfigurationChanged(t),n&&i){let e=this.coordinatesConverter.convertModelPositionToViewPosition(i),t=this.viewLayout.getVerticalOffsetForLineNumber(e.lineNumber);this.viewLayout.setScrollPosition({scrollTop:t+this._viewportStart.startLineDelta},1)}ia.LM.shouldRecreate(t)&&(this.cursorConfig=new ia.LM(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig))}_registerModelEvents(){this._register(this.model.onDidChangeContentOrInjectedText(e=>{try{let t=this._eventDispatcher.beginEmitViewEvents(),i=!1,n=!1,o=e instanceof ig.fV?e.rawContentChangedEvent.changes:e.changes,r=e instanceof ig.fV?e.rawContentChangedEvent.versionId:null,s=this._lines.createLineBreaksComputer();for(let e of o)switch(e.changeType){case 4:for(let t=0;t!e.ownerId||e.ownerId===this._editorId)),s.addRequest(i,n,null)}break;case 2:{let t=null;e.injectedText&&(t=e.injectedText.filter(e=>!e.ownerId||e.ownerId===this._editorId)),s.addRequest(e.detail,t,null)}}let a=s.finalize(),l=new v.H9(a);for(let e of o)switch(e.changeType){case 1:this._lines.onModelFlushed(),t.emitViewEvent(new ib),this._decorations.reset(),this.viewLayout.onFlushed(this.getLineCount()),i=!0;break;case 3:{let n=this._lines.onModelLinesDeleted(r,e.fromLineNumber,e.toLineNumber);null!==n&&(t.emitViewEvent(n),this.viewLayout.onLinesDeleted(n.fromLineNumber,n.toLineNumber)),i=!0;break}case 4:{let n=l.takeCount(e.detail.length),o=this._lines.onModelLinesInserted(r,e.fromLineNumber,e.toLineNumber,n);null!==o&&(t.emitViewEvent(o),this.viewLayout.onLinesInserted(o.fromLineNumber,o.toLineNumber)),i=!0;break}case 2:{let i=l.dequeue(),[o,s,a,h]=this._lines.onModelLineChanged(r,e.lineNumber,i);n=o,s&&t.emitViewEvent(s),a&&(t.emitViewEvent(a),this.viewLayout.onLinesInserted(a.fromLineNumber,a.toLineNumber)),h&&(t.emitViewEvent(h),this.viewLayout.onLinesDeleted(h.fromLineNumber,h.toLineNumber))}}null!==r&&this._lines.acceptVersionId(r),this.viewLayout.onHeightMaybeChanged(),!i&&n&&(t.emitViewEvent(new iS),t.emitViewEvent(new iC(null)),this._cursor.onLineMappingChanged(t),this._decorations.onLineMappingChanged())}finally{this._eventDispatcher.endEmitViewEvents()}let t=this._viewportStart.isValid;if(this._viewportStart.invalidate(),this._configuration.setModelLineCount(this.model.getLineCount()),this._updateConfigurationViewLineCountNow(),!this._hasFocus&&this.model.getAttachedEditorCount()>=2&&t){let e=this.model._getTrackedRange(this._viewportStart.modelTrackedRange);if(e){let t=this.coordinatesConverter.convertModelPositionToViewPosition(e.getStartPosition()),i=this.viewLayout.getVerticalOffsetForLineNumber(t.lineNumber);this.viewLayout.setScrollPosition({scrollTop:i+this._viewportStart.startLineDelta},1)}}try{let t=this._eventDispatcher.beginEmitViewEvents();e instanceof ig.fV&&t.emitOutgoingEvent(new i$(e.contentChangedEvent)),this._cursor.onModelContentChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}this._tokenizeViewportSoon.schedule()})),this._register(this.model.onDidChangeTokens(e=>{let t=[];for(let i=0,n=e.ranges.length;i{this._eventDispatcher.emitSingleViewEvent(new iy),this.cursorConfig=new ia.LM(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new iU(e))})),this._register(this.model.onDidChangeLanguage(e=>{this.cursorConfig=new ia.LM(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new iK(e))})),this._register(this.model.onDidChangeOptions(e=>{if(this._lines.setTabSize(this.model.getOptions().tabSize)){try{let e=this._eventDispatcher.beginEmitViewEvents();e.emitViewEvent(new ib),e.emitViewEvent(new iS),e.emitViewEvent(new iC(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}this.cursorConfig=new ia.LM(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig),this._eventDispatcher.emitOutgoingEvent(new ij(e))})),this._register(this.model.onDidChangeDecorations(e=>{this._decorations.onModelDecorationsChanged(),this._eventDispatcher.emitSingleViewEvent(new iC(e)),this._eventDispatcher.emitOutgoingEvent(new iz(e))}))}setHiddenAreas(e){let t=!1;try{let i=this._eventDispatcher.beginEmitViewEvents();(t=this._lines.setHiddenAreas(e))&&(i.emitViewEvent(new ib),i.emitViewEvent(new iS),i.emitViewEvent(new iC(null)),this._cursor.onLineMappingChanged(i),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule(),t&&this._eventDispatcher.emitOutgoingEvent(new iV)}getVisibleRangesPlusViewportAboveBelow(){let e=this._configuration.options.get(133),t=this._configuration.options.get(61),i=Math.max(20,Math.round(e.height/t)),n=this.viewLayout.getLinesViewportData(),o=Math.max(1,n.completelyVisibleStartLineNumber-i),r=Math.min(this.getLineCount(),n.completelyVisibleEndLineNumber+i);return this._toModelVisibleRanges(new ep.e(o,this.getLineMinColumn(o),r,this.getLineMaxColumn(r)))}getVisibleRanges(){let e=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(e)}getHiddenAreas(){return this._lines.getHiddenAreas()}_toModelVisibleRanges(e){let t=this.coordinatesConverter.convertViewRangeToModelRange(e),i=this._lines.getHiddenAreas();if(0===i.length)return[t];let n=[],o=0,r=t.startLineNumber,s=t.startColumn,a=t.endLineNumber,l=t.endColumn;for(let e=0,t=i.length;ea||(rt.toInlineDecoration(e))]),new tD.wA(r.minColumn,r.maxColumn,r.content,r.continuesWithWrappedLine,i,n,r.tokens,t,o,r.startVisibleColumn)}getViewLineData(e){return this._lines.getViewLineData(e)}getMinimapLinesRenderingData(e,t,i){let n=this._lines.getViewLinesData(e,t,i);return new tD.ud(this.getTabSize(),n)}getAllOverviewRulerDecorations(e){let t=this.model.getOverviewRulerDecorations(this._editorId,(0,x.$J)(this._configuration.options)),i=new nb;for(let n of t){let t=n.options,o=t.overviewRuler;if(!o)continue;let r=o.position;if(0===r)continue;let s=o.getColor(e.value),a=this.coordinatesConverter.getViewLineNumberOfModelPosition(n.range.startLineNumber,n.range.startColumn),l=this.coordinatesConverter.getViewLineNumberOfModelPosition(n.range.endLineNumber,n.range.endColumn);i.accept(s,t.zIndex,a,l,r)}return i.asArray}_invalidateDecorationsColorCache(){let e=this.model.getOverviewRulerDecorations();for(let t of e){let e=t.options.overviewRuler;e&&e.invalidateCachedColor();let i=t.options.minimap;i&&i.invalidateCachedColor()}}getValueInRange(e,t){let i=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueInRange(i,t)}deduceModelPositionRelativeToViewPosition(e,t,i){let n=this.coordinatesConverter.convertViewPositionToModelPosition(e);2===this.model.getEOL().length&&(t<0?t-=i:t+=i);let o=this.model.getOffsetAt(n),r=o+t;return this.model.getPositionAt(r)}getPlainTextToCopy(e,t,i){let n=i?"\r\n":this.model.getEOL();(e=e.slice(0)).sort(ep.e.compareRangesUsingStarts);let o=!1,r=!1;for(let t of e)t.isEmpty()?o=!0:r=!0;if(!r){if(!t)return"";let i=e.map(e=>e.startLineNumber),o="";for(let e=0;e0&&i[e-1]===i[e]||(o+=this.model.getLineContent(i[e])+n);return o}if(o&&t){let t=[],n=0;for(let o of e){let e=o.startLineNumber;o.isEmpty()?e!==n&&t.push(this.model.getLineContent(e)):t.push(this.model.getValueInRange(o,i?2:0)),n=e}return 1===t.length?t[0]:t}let s=[];for(let t of e)t.isEmpty()||s.push(this.model.getValueInRange(t,i?2:0));return 1===s.length?s[0]:s}getRichTextToCopy(e,t){let i;let n=this.model.getLanguageId();if(n===i4.bd||1!==e.length)return null;let o=e[0];if(o.isEmpty()){if(!t)return null;let e=o.startLineNumber;o=new ep.e(e,this.model.getLineMinColumn(e),e,this.model.getLineMaxColumn(e))}let r=this._configuration.options.get(46),s=this._getColorMap(),a=/[:;\\\/<>]/.test(r.fontFamily),l=a||r.fontFamily===x.hL.fontFamily;if(l)i=x.hL.fontFamily;else{i=(i=r.fontFamily).replace(/"/g,"'");let e=/[,']/.test(i);if(!e){let e=/[+ ]/.test(i);e&&(i=`'${i}'`)}i=`${i}, ${x.hL.fontFamily}`}return{mode:n,html:`
    `+this._getHTMLToCopy(o,s)+"
    "}}_getHTMLToCopy(e,t){let i=e.startLineNumber,n=e.startColumn,o=e.endLineNumber,r=e.endColumn,s=this.getTabSize(),a="";for(let e=i;e<=o;e++){let l=this.model.tokenization.getLineTokens(e),h=l.getLineContent(),d=e===i?n-1:0,u=e===o?r-1:h.length;""===h?a+="
    ":a+=(0,i3.Fq)(h,l.inflate(),t,d,u,s,b.ED)}return a}_getColorMap(){let e=eq.RW.getColorMap(),t=["#000000"];if(e)for(let i=1,n=e.length;ithis._cursor.setStates(n,e,t,i))}getCursorColumnSelectData(){return this._cursor.getCursorColumnSelectData()}getCursorAutoClosedCharacters(){return this._cursor.getAutoClosedCharacters()}setCursorColumnSelectData(e){this._cursor.setCursorColumnSelectData(e)}getPrevEditOperationType(){return this._cursor.getPrevEditOperationType()}setPrevEditOperationType(e){this._cursor.setPrevEditOperationType(e)}getSelection(){return this._cursor.getSelection()}getSelections(){return this._cursor.getSelections()}getPosition(){return this._cursor.getPrimaryCursorState().modelState.position}setSelections(e,t,i=0){this._withViewEventsCollector(n=>this._cursor.setSelections(n,e,t,i))}saveCursorState(){return this._cursor.saveState()}restoreCursorState(e){this._withViewEventsCollector(t=>this._cursor.restoreState(t,e))}_executeCursorEdit(e){if(this._cursor.context.cursorConfig.readOnly){this._eventDispatcher.emitOutgoingEvent(new iH);return}this._withViewEventsCollector(e)}executeEdits(e,t,i){this._executeCursorEdit(n=>this._cursor.executeEdits(n,e,t,i))}startComposition(){this._executeCursorEdit(e=>this._cursor.startComposition(e))}endComposition(e){this._executeCursorEdit(t=>this._cursor.endComposition(t,e))}type(e,t){this._executeCursorEdit(i=>this._cursor.type(i,e,t))}compositionType(e,t,i,n,o){this._executeCursorEdit(r=>this._cursor.compositionType(r,e,t,i,n,o))}paste(e,t,i,n){this._executeCursorEdit(o=>this._cursor.paste(o,e,t,i,n))}cut(e){this._executeCursorEdit(t=>this._cursor.cut(t,e))}executeCommand(e,t){this._executeCursorEdit(i=>this._cursor.executeCommand(i,e,t))}executeCommands(e,t){this._executeCursorEdit(i=>this._cursor.executeCommands(i,e,t))}revealPrimaryCursor(e,t,i=!1){this._withViewEventsCollector(n=>this._cursor.revealPrimary(n,e,i,0,t,0))}revealTopMostCursor(e){let t=this._cursor.getTopMostViewPosition(),i=new ep.e(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(t=>t.emitViewEvent(new iD(e,!1,i,null,0,!0,0)))}revealBottomMostCursor(e){let t=this._cursor.getBottomMostViewPosition(),i=new ep.e(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(t=>t.emitViewEvent(new iD(e,!1,i,null,0,!0,0)))}revealRange(e,t,i,n,o){this._withViewEventsCollector(r=>r.emitViewEvent(new iD(e,!1,i,null,n,t,o)))}changeWhitespace(e){let t=this.viewLayout.changeWhitespace(e);t&&(this._eventDispatcher.emitSingleViewEvent(new iM),this._eventDispatcher.emitOutgoingEvent(new iB))}_withViewEventsCollector(e){try{let t=this._eventDispatcher.beginEmitViewEvents();return e(t)}finally{this._eventDispatcher.endEmitViewEvents()}}normalizePosition(e,t){return this._lines.normalizePosition(e,t)}getLineIndentColumn(e){return this._lines.getLineIndentColumn(e)}}class nC{constructor(e,t,i,n,o){this._model=e,this._viewLineNumber=t,this._isValid=i,this._modelTrackedRange=n,this._startLineDelta=o}static create(e){let t=e._setTrackedRange(null,new ep.e(1,1,1,1),1);return new nC(e,1,!1,t,0)}get viewLineNumber(){return this._viewLineNumber}get isValid(){return this._isValid}get modelTrackedRange(){return this._modelTrackedRange}get startLineDelta(){return this._startLineDelta}dispose(){this._model._setTrackedRange(this._modelTrackedRange,null,1)}update(e,t){let i=e.coordinatesConverter.convertViewPositionToModelPosition(new eg.L(t,e.getLineMinColumn(t))),n=e.model._setTrackedRange(this._modelTrackedRange,new ep.e(i.lineNumber,i.column,i.lineNumber,i.column),1),o=e.viewLayout.getVerticalOffsetForLineNumber(t),r=e.viewLayout.getCurrentScrollTop();this._viewLineNumber=t,this._isValid=!0,this._modelTrackedRange=n,this._startLineDelta=r-o}invalidate(){this._isValid=!1}}class nb{constructor(){this._asMap=Object.create(null),this.asArray=[]}accept(e,t,i,n,o){let r=this._asMap[e];if(r){let e=r.data,t=e[e.length-3],s=e[e.length-1];if(t===o&&s+1>=i){n>s&&(e[e.length-1]=n);return}e.push(o,i,n)}else{let r=new tD.SQ(e,t,[o,i,n]);this._asMap[e]=r,this.asArray.push(r)}}}var nw=i(94565),ny=i(38819),nS=i(72065),nL=i(60972),nk=i(59422),nN=i(44906);class nD{constructor(e,t,i,n,o){this.injectionOffsets=e,this.injectionOptions=t,this.breakOffsets=i,this.breakOffsetsVisibleColumn=n,this.wrappedTextIndentLength=o}getOutputLineCount(){return this.breakOffsets.length}getMinOutputOffset(e){return e>0?this.wrappedTextIndentLength:0}getLineLength(e){let t=e>0?this.breakOffsets[e-1]:0,i=this.breakOffsets[e],n=i-t;return e>0&&(n+=this.wrappedTextIndentLength),n}getMaxOutputOffset(e){return this.getLineLength(e)}translateToInputOffset(e,t){e>0&&(t=Math.max(0,t-this.wrappedTextIndentLength));let i=0===e?t:this.breakOffsets[e-1]+t,n=i;if(null!==this.injectionOffsets)for(let e=0;ethis.injectionOffsets[e])n0?this.breakOffsets[o-1]:0,0===t){if(e<=r)n=o-1;else if(e>s)i=o+1;else break}else if(e=s)i=o+1;else break}let s=e-r;return o>0&&(s+=this.wrappedTextIndentLength),new nE(o,s)}normalizeOutputPosition(e,t,i){if(null!==this.injectionOffsets){let n=this.outputPositionToOffsetInInputWithInjections(e,t),o=this.normalizeOffsetInInputWithInjectionsAroundInjections(n,i);if(o!==n)return this.offsetInInputWithInjectionsToOutputPosition(o,i)}if(0===i){if(e>0&&t===this.getMinOutputOffset(e))return new nE(e-1,this.getMaxOutputOffset(e-1))}else if(1===i){let i=this.getOutputLineCount()-1;if(e0&&(t=Math.max(0,t-this.wrappedTextIndentLength));let i=(e>0?this.breakOffsets[e-1]:0)+t;return i}normalizeOffsetInInputWithInjectionsAroundInjections(e,t){let i=this.getInjectedTextAtOffset(e);if(!i)return e;if(2===t){if(e===i.offsetInInputWithInjections+i.length&&nx(this.injectionOptions[i.injectedTextIndex].cursorStops))return i.offsetInInputWithInjections+i.length;{let e=i.offsetInInputWithInjections;if(nI(this.injectionOptions[i.injectedTextIndex].cursorStops))return e;let t=i.injectedTextIndex-1;for(;t>=0&&this.injectionOffsets[t]===this.injectionOffsets[i.injectedTextIndex]&&!nx(this.injectionOptions[t].cursorStops)&&(e-=this.injectionOptions[t].content.length,!nI(this.injectionOptions[t].cursorStops));)t--;return e}}if(1===t||4===t){let e=i.offsetInInputWithInjections+i.length,t=i.injectedTextIndex;for(;t+1=0&&this.injectionOffsets[t-1]===this.injectionOffsets[t];)e-=this.injectionOptions[t-1].content.length,t--;return e}(0,tg.vE)(t)}getInjectedText(e,t){let i=this.outputPositionToOffsetInInputWithInjections(e,t),n=this.getInjectedTextAtOffset(i);return n?{options:this.injectionOptions[n.injectedTextIndex]}:null}getInjectedTextAtOffset(e){let t=this.injectionOffsets,i=this.injectionOptions;if(null!==t){let n=0;for(let o=0;oe)break;if(e<=a)return{injectedTextIndex:o,offsetInInputWithInjections:s,length:r};n+=r}}}}function nx(e){return null==e||e===tF.RM.Right||e===tF.RM.Both}function nI(e){return null==e||e===tF.RM.Left||e===tF.RM.Both}class nE{constructor(e,t){this.outputLineIndex=e,this.outputOffset=t}toString(){return`${this.outputLineIndex}:${this.outputOffset}`}toPosition(e){return new eg.L(e+this.outputLineIndex,this.outputOffset+1)}}class nT{constructor(e,t){this.classifier=new nM(e,t)}static create(e){return new nT(e.get(122),e.get(121))}createLineBreaksComputer(e,t,i,n){let o=[],r=[],s=[];return{addRequest:(e,t,i)=>{o.push(e),r.push(t),s.push(i)},finalize:()=>{let a=e.typicalFullwidthCharacterWidth/e.typicalHalfwidthCharacterWidth,l=[];for(let e=0,h=o.length;e0?(a=i.map(e=>e.options),l=i.map(e=>e.column-1)):(a=null,l=null),-1===o)return a?new nD(l,a,[h.length],[],0):null;let d=h.length;if(d<=1)return a?new nD(l,a,[h.length],[],0):null;let u=nF(h,n,o,r,s),c=o-u,g=[],p=[],m=0,f=0,_=0,v=o,C=h.charCodeAt(0),b=e.get(C),w=nO(C,0,n,r),y=1;eF.ZG(C)&&(w+=1,C=h.charCodeAt(1),b=e.get(C),y++);for(let t=y;tv&&((0===f||w-_>c)&&(f=s,_=w-o),g[m]=f,p[m]=_,m++,v=_+c,f=0),C=a,b=i}return 0!==m||i&&0!==i.length?(g[m]=d,p[m]=w,new nD(l,a,g,p,u)):null}(this.classifier,o[e],h,t,i,a,n):l[e]=function(e,t,i,n,o,r,s){if(-1===o)return null;let a=i.length;if(a<=1)return null;let l=t.breakOffsets,h=t.breakOffsetsVisibleColumn,d=nF(i,n,o,r,s),u=o-d,c=nA,g=nR,p=0,m=0,f=0,_=o,v=l.length,C=0;{let e=Math.abs(h[C]-_);for(;C+1=e)break;e=t,C++}}for(;Ct&&(t=m,o=f);let s=0,d=0,b=0,w=0;if(o<=_){let f=o,v=0===t?0:i.charCodeAt(t-1),C=0===t?0:e.get(v),y=!0;for(let o=t;om&&nP(v,C,h,t)&&(s=l,d=f),(f+=a)>_){l>m?(b=l,w=f-a):(b=o+1,w=f),f-d>u&&(s=0),y=!1;break}v=h,C=t}if(y){p>0&&(c[p]=l[l.length-1],g[p]=h[l.length-1],p++);break}}if(0===s){let a=o,l=i.charCodeAt(t),h=e.get(l),c=!1;for(let n=t-1;n>=m;n--){let t,o;let g=n+1,p=i.charCodeAt(n);if(9===p){c=!0;break}if(eF.YK(p)?(n--,t=0,o=2):(t=e.get(p),o=eF.K7(p)?r:1),a<=_){if(0===b&&(b=g,w=a),a<=_-u)break;if(nP(p,t,l,h)){s=g,d=a;break}}a-=o,l=p,h=t}if(0!==s){let e=u-(w-d);if(e<=n){let t=i.charCodeAt(b);e-(eF.ZG(t)?2:nO(t,w,n,r))<0&&(s=0)}}if(c){C--;continue}}if(0===s&&(s=b,d=w),s<=m){let e=i.charCodeAt(m);eF.ZG(e)?(s=m+2,d=f+2):(s=m+1,d=f+nO(e,f,n,r))}for(m=s,c[p]=s,f=d,g[p]=d,p++,_=d+u;C<0||C=y)break;y=e,C++}}return 0===p?null:(c.length=p,g.length=p,nA=t.breakOffsets,nR=t.breakOffsetsVisibleColumn,t.breakOffsets=c,t.breakOffsetsVisibleColumn=g,t.wrappedTextIndentLength=d,t)}(this.classifier,d,o[e],t,i,a,n)}return nA.length=0,nR.length=0,l}}}}class nM extends nN.N{constructor(e,t){super(0);for(let t=0;t=0&&e<256?this._asciiMap[e]:e>=12352&&e<=12543||e>=13312&&e<=19903||e>=19968&&e<=40959?3:this._map.get(e)||this._defaultValue}}let nA=[],nR=[];function nO(e,t,i,n){return 9===e?i-t%i:eF.K7(e)||e<32?n:1}function nP(e,t,i,n){return 32!==i&&(2===t&&2!==n||1!==t&&1===n||3===t&&2!==n||3===n&&1!==t)}function nF(e,t,i,n,o){let r=0;if(0!==o){let s=eF.LC(e);if(-1!==s){for(let i=0;ii&&(r=0)}}return r}let nB=null===(a=window.trustedTypes)||void 0===a?void 0:a.createPolicy("domLineBreaksComputer",{createHTML:e=>e});class nV{static create(){return new nV}constructor(){}createLineBreaksComputer(e,t,i,n){let o=[],r=[];return{addRequest:(e,t,i)=>{o.push(e),r.push(t)},finalize:()=>(function(e,t,i,n,o,r){var s;function a(t){let i=r[t];if(!i)return null;{let n=ig.gk.applyInjectedText(e[t],i),o=i.map(e=>e.options),r=i.map(e=>e.column-1);return new nD(r,o,[n.length],[],0)}}if(-1===n){let t=[];for(let i=0,n=e.length;il?(a=0,h=0):u=l-e}}let v=s.substr(a),C=function(e,t,i,n,o,r){if(0!==r){let e=String(r);o.appendASCIIString('
    ');let s=e.length,a=t,l=0,h=[],d=[],u=0");for(let t=0;t"),h[t]=l,d[t]=a;let n=u;u=t+1"),h[e.length]=l,d[e.length]=a,o.appendASCIIString("
    "),[h,d]}(v,h,i,u,c,d);g[n]=a,p[n]=h,m[n]=v,f[n]=C[0],_[n]=C[1]}let v=c.build(),C=null!==(s=null==nB?void 0:nB.createHTML(v))&&void 0!==s?s:v;u.innerHTML=C,u.style.position="absolute",u.style.top="10000",u.style.wordWrap="break-word",document.body.appendChild(u);let b=document.createRange(),w=Array.prototype.slice.call(u.children,0),y=[];for(let t=0;t=Math.abs(r[0].top-a[0].top)))return;if(o+1===s){l.push(s);return}let h=o+(s-o)/2|0,d=nW(t,i,n[h],n[h+1]);e(t,i,n,o,r,h,d,l),e(t,i,n,h,d,s,a,l)}(e,o,n,0,null,i.length-1,null,r)}catch(e){return console.log(e),null}return 0===r.length?null:(r.push(i.length),r)}(b,n,m[t],f[t]);if(null===o){y[t]=a(t);continue}let s=g[t],l=p[t]+h,d=_[t],u=[];for(let e=0,t=o.length;ee.options),i=c.map(e=>e.column-1)):(e=null,i=null),y[t]=new nD(i,e,o,u,l)}return document.body.removeChild(u),y})(o,e,t,i,n,r)}}}function nW(e,t,i,n){return e.setStart(t[i/16384|0].firstChild,i%16384),e.setEnd(t[n/16384|0].firstChild,n%16384),e.getClientRects()}var nH=i(92896),nz=i(4256),nK=i(71922),nU=function(e,t){return function(i,n){t(i,n,e)}};let n$=0;class nj{constructor(e,t,i,n,o){this.model=e,this.viewModel=t,this.view=i,this.hasRealView=n,this.listenersToRemove=o}dispose(){(0,m.B9)(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.viewModel.dispose()}}let nq=class e extends m.JT{constructor(e,t,i,n,o,r,s,a,l,d,u,m){super(),this.languageConfigurationService=u,this._deliveryQueue=new p.F3,this._onDidDispose=this._register(new p.Q5),this.onDidDispose=this._onDidDispose.event,this._onDidChangeModelContent=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidChangeModelContent=this._onDidChangeModelContent.event,this._onDidChangeModelLanguage=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidChangeModelLanguage=this._onDidChangeModelLanguage.event,this._onDidChangeModelLanguageConfiguration=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidChangeModelLanguageConfiguration=this._onDidChangeModelLanguageConfiguration.event,this._onDidChangeModelOptions=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidChangeModelOptions=this._onDidChangeModelOptions.event,this._onDidChangeModelDecorations=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidChangeModelDecorations=this._onDidChangeModelDecorations.event,this._onDidChangeModelTokens=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidChangeModelTokens=this._onDidChangeModelTokens.event,this._onDidChangeConfiguration=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._onDidChangeModel=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidChangeModel=this._onDidChangeModel.event,this._onDidChangeCursorPosition=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidChangeCursorPosition=this._onDidChangeCursorPosition.event,this._onDidChangeCursorSelection=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidChangeCursorSelection=this._onDidChangeCursorSelection.event,this._onDidAttemptReadOnlyEdit=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidAttemptReadOnlyEdit=this._onDidAttemptReadOnlyEdit.event,this._onDidLayoutChange=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidLayoutChange=this._onDidLayoutChange.event,this._editorTextFocus=this._register(new nG({deliveryQueue:this._deliveryQueue})),this.onDidFocusEditorText=this._editorTextFocus.onDidChangeToTrue,this.onDidBlurEditorText=this._editorTextFocus.onDidChangeToFalse,this._editorWidgetFocus=this._register(new nG({deliveryQueue:this._deliveryQueue})),this.onDidFocusEditorWidget=this._editorWidgetFocus.onDidChangeToTrue,this.onDidBlurEditorWidget=this._editorWidgetFocus.onDidChangeToFalse,this._onWillType=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onWillType=this._onWillType.event,this._onDidType=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidType=this._onDidType.event,this._onDidCompositionStart=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidCompositionStart=this._onDidCompositionStart.event,this._onDidCompositionEnd=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidCompositionEnd=this._onDidCompositionEnd.event,this._onDidPaste=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidPaste=this._onDidPaste.event,this._onMouseUp=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onMouseUp=this._onMouseUp.event,this._onMouseDown=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onMouseDown=this._onMouseDown.event,this._onMouseDrag=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onMouseDrag=this._onMouseDrag.event,this._onMouseDrop=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onMouseDrop=this._onMouseDrop.event,this._onMouseDropCanceled=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onMouseDropCanceled=this._onMouseDropCanceled.event,this._onDropIntoEditor=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDropIntoEditor=this._onDropIntoEditor.event,this._onContextMenu=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onContextMenu=this._onContextMenu.event,this._onMouseMove=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onMouseMove=this._onMouseMove.event,this._onMouseLeave=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onMouseLeave=this._onMouseLeave.event,this._onMouseWheel=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onMouseWheel=this._onMouseWheel.event,this._onKeyUp=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onKeyUp=this._onKeyUp.event,this._onKeyDown=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onKeyDown=this._onKeyDown.event,this._onDidContentSizeChange=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._onDidScrollChange=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidScrollChange=this._onDidScrollChange.event,this._onDidChangeViewZones=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidChangeViewZones=this._onDidChangeViewZones.event,this._onDidChangeHiddenAreas=this._register(new p.Q5({deliveryQueue:this._deliveryQueue})),this.onDidChangeHiddenAreas=this._onDidChangeHiddenAreas.event,this._bannerDomNode=null,this._dropIntoEditorDecorations=this.createDecorationsCollection();let f=Object.assign({},t);for(let t of(this._domElement=e,this._overflowWidgetsDomNode=f.overflowWidgetsDomNode,delete f.overflowWidgetsDomNode,this._id=++n$,this._decorationTypeKeysToIds={},this._decorationTypeSubtypes={},this._telemetryData=i.telemetryData,this._configuration=this._register(this._createConfiguration(i.isSimpleWidget||!1,f,d)),this._register(this._configuration.onDidChange(e=>{this._onDidChangeConfiguration.fire(e);let t=this._configuration.options;if(e.hasChanged(133)){let e=t.get(133);this._onDidLayoutChange.fire(e)}})),this._contextKeyService=this._register(s.createScoped(this._domElement)),this._notificationService=l,this._codeEditorService=o,this._commandService=r,this._themeService=a,this._register(new nQ(this,this._contextKeyService)),this._register(new nZ(this,this._contextKeyService,m)),this._instantiationService=n.createChild(new nL.y([ny.i6,this._contextKeyService])),this._modelData=null,this._contributions={},this._actions={},this._focusTracker=new nY(e),this._register(this._focusTracker.onChange(()=>{this._editorWidgetFocus.setValue(this._focusTracker.hasFocus())})),this._contentWidgets={},this._overlayWidgets={},Array.isArray(i.contributions)?i.contributions:h.Uc.getEditorContributions())){if(this._contributions[t.id]){(0,g.dL)(Error(`Cannot have two contributions with the same id ${t.id}`));continue}try{let e=this._instantiationService.createInstance(t.ctor,this);this._contributions[t.id]=e}catch(e){(0,g.dL)(e)}}h.Uc.getEditorActions().forEach(e=>{if(this._actions[e.id]){(0,g.dL)(Error(`Cannot have two actions with the same id ${e.id}`));return}let t=new i0.p(e.id,e.label,e.alias,(0,tg.f6)(e.precondition),()=>this._instantiationService.invokeFunction(t=>Promise.resolve(e.runEditorCommand(t,this,null))),this._contextKeyService);this._actions[t.id]=t});let _=()=>!this._configuration.options.get(83)&&this._configuration.options.get(32).enabled;this._register(new c.eg(this._domElement,{onDragEnter:()=>void 0,onDragOver:e=>{if(!_())return;let t=this.getTargetAtClientPoint(e.clientX,e.clientY);(null==t?void 0:t.position)&&this.showDropIndicatorAt(t.position)},onDrop:e=>{var t,i,n,o;return t=this,i=void 0,n=void 0,o=function*(){if(!_()||(this.removeDropIndicator(),!e.dataTransfer))return;let t=this.getTargetAtClientPoint(e.clientX,e.clientY);(null==t?void 0:t.position)&&this._onDropIntoEditor.fire({position:t.position,event:e})},new(n||(n=Promise))(function(e,r){function s(e){try{l(o.next(e))}catch(e){r(e)}}function a(e){try{l(o.throw(e))}catch(e){r(e)}}function l(t){var i;t.done?e(t.value):((i=t.value)instanceof n?i:new n(function(e){e(i)})).then(s,a)}l((o=o.apply(t,i||[])).next())})},onDragLeave:()=>{this.removeDropIndicator()},onDragEnd:()=>{this.removeDropIndicator()}})),this._codeEditorService.addCodeEditor(this)}get isSimpleWidget(){return this._configuration.isSimpleWidget}_createConfiguration(e,t,i){return new M(e,t,this._domElement,i)}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return i1.g.ICodeEditor}dispose(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose();let e=Object.keys(this._contributions);for(let t=0,i=e.length;tep.e.lift(e)))}getVisibleColumnFromPosition(e){if(!this._modelData)return e.column;let t=this._modelData.model.validatePosition(e),i=this._modelData.model.getOptions().tabSize;return em.i.visibleColumnFromColumn(this._modelData.model.getLineContent(t.lineNumber),t.column,i)+1}getPosition(){return this._modelData?this._modelData.viewModel.getPosition():null}setPosition(e,t="api"){if(this._modelData){if(!eg.L.isIPosition(e))throw Error("Invalid arguments");this._modelData.viewModel.setSelections(t,[{selectionStartLineNumber:e.lineNumber,selectionStartColumn:e.column,positionLineNumber:e.lineNumber,positionColumn:e.column}])}}_sendRevealRange(e,t,i,n){if(!this._modelData)return;if(!ep.e.isIRange(e))throw Error("Invalid arguments");let o=this._modelData.model.validateRange(e),r=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(o);this._modelData.viewModel.revealRange("api",i,r,t,n)}revealLine(e,t=0){this._revealLine(e,0,t)}revealLineInCenter(e,t=0){this._revealLine(e,1,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._revealLine(e,2,t)}revealLineNearTop(e,t=0){this._revealLine(e,5,t)}_revealLine(e,t,i){if("number"!=typeof e)throw Error("Invalid arguments");this._sendRevealRange(new ep.e(e,1,e,1),t,!1,i)}revealPosition(e,t=0){this._revealPosition(e,0,!0,t)}revealPositionInCenter(e,t=0){this._revealPosition(e,1,!0,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._revealPosition(e,2,!0,t)}revealPositionNearTop(e,t=0){this._revealPosition(e,5,!0,t)}_revealPosition(e,t,i,n){if(!eg.L.isIPosition(e))throw Error("Invalid arguments");this._sendRevealRange(new ep.e(e.lineNumber,e.column,e.lineNumber,e.column),t,i,n)}getSelection(){return this._modelData?this._modelData.viewModel.getSelection():null}getSelections(){return this._modelData?this._modelData.viewModel.getSelections():null}setSelection(e,t="api"){let i=B.Y.isISelection(e),n=ep.e.isIRange(e);if(!i&&!n)throw Error("Invalid arguments");if(i)this._setSelectionImpl(e,t);else if(n){let i={selectionStartLineNumber:e.startLineNumber,selectionStartColumn:e.startColumn,positionLineNumber:e.endLineNumber,positionColumn:e.endColumn};this._setSelectionImpl(i,t)}}_setSelectionImpl(e,t){if(!this._modelData)return;let i=new B.Y(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn);this._modelData.viewModel.setSelections(t,[i])}revealLines(e,t,i=0){this._revealLines(e,t,0,i)}revealLinesInCenter(e,t,i=0){this._revealLines(e,t,1,i)}revealLinesInCenterIfOutsideViewport(e,t,i=0){this._revealLines(e,t,2,i)}revealLinesNearTop(e,t,i=0){this._revealLines(e,t,5,i)}_revealLines(e,t,i,n){if("number"!=typeof e||"number"!=typeof t)throw Error("Invalid arguments");this._sendRevealRange(new ep.e(e,1,t,1),i,!1,n)}revealRange(e,t=0,i=!1,n=!0){this._revealRange(e,i?1:0,n,t)}revealRangeInCenter(e,t=0){this._revealRange(e,1,!0,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._revealRange(e,2,!0,t)}revealRangeNearTop(e,t=0){this._revealRange(e,5,!0,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._revealRange(e,6,!0,t)}revealRangeAtTop(e,t=0){this._revealRange(e,3,!0,t)}_revealRange(e,t,i,n){if(!ep.e.isIRange(e))throw Error("Invalid arguments");this._sendRevealRange(ep.e.lift(e),t,i,n)}setSelections(e,t="api",i=0){if(this._modelData){if(!e||0===e.length)throw Error("Invalid arguments");for(let t=0,i=e.length;t0&&this._modelData.viewModel.restoreCursorState(t):this._modelData.viewModel.restoreCursorState([t]);let i=e.contributionsState||{},n=Object.keys(this._contributions);for(let e=0,t=n.length;ee.isSupported())}getAction(e){return this._actions[e]||null}trigger(e,t,i){switch(i=i||{},t){case"compositionStart":this._startComposition();return;case"compositionEnd":this._endComposition(e);return;case"type":{let t=i;this._type(e,t.text||"");return}case"replacePreviousChar":{let t=i;this._compositionType(e,t.text||"",t.replaceCharCnt||0,0,0);return}case"compositionType":{let t=i;this._compositionType(e,t.text||"",t.replacePrevCharCnt||0,t.replaceNextCharCnt||0,t.positionDelta||0);return}case"paste":{let t=i;this._paste(e,t.text||"",t.pasteOnNewLine||!1,t.multicursorText||null,t.mode||null);return}case"cut":this._cut(e);return}let n=this.getAction(t);if(n){Promise.resolve(n.run()).then(void 0,g.dL);return}!this._modelData||this._triggerEditorCommand(e,t,i)||this._triggerCommand(t,i)}_triggerCommand(e,t){this._commandService.executeCommand(e,t)}_startComposition(){this._modelData&&(this._modelData.viewModel.startComposition(),this._onDidCompositionStart.fire())}_endComposition(e){this._modelData&&(this._modelData.viewModel.endComposition(e),this._onDidCompositionEnd.fire())}_type(e,t){this._modelData&&0!==t.length&&("keyboard"===e&&this._onWillType.fire(t),this._modelData.viewModel.type(t,e),"keyboard"===e&&this._onDidType.fire(t))}_compositionType(e,t,i,n,o){this._modelData&&this._modelData.viewModel.compositionType(t,i,n,o,e)}_paste(e,t,i,n,o){if(!this._modelData||0===t.length)return;let r=this._modelData.viewModel,s=r.getSelection().getStartPosition();r.paste(t,i,n,e);let a=r.getSelection().getStartPosition();"keyboard"===e&&this._onDidPaste.fire({range:new ep.e(s.lineNumber,s.column,a.lineNumber,a.column),languageId:o})}_cut(e){this._modelData&&this._modelData.viewModel.cut(e)}_triggerEditorCommand(e,t,i){let n=h.Uc.getEditorCommand(t);return!!n&&((i=i||{}).source=e,this._instantiationService.invokeFunction(e=>{Promise.resolve(n.runEditorCommand(e,this,i)).then(void 0,g.dL)}),!0)}_getViewModel(){return this._modelData?this._modelData.viewModel:null}pushUndoStop(){return!(!this._modelData||this._configuration.options.get(83))&&(this._modelData.model.pushStackElement(),!0)}popUndoStop(){return!(!this._modelData||this._configuration.options.get(83))&&(this._modelData.model.popStackElement(),!0)}executeEdits(e,t,i){let n;return!(!this._modelData||this._configuration.options.get(83))&&(n=i?Array.isArray(i)?()=>i:i:()=>null,this._modelData.viewModel.executeEdits(e,t,n),!0)}executeCommand(e,t){this._modelData&&this._modelData.viewModel.executeCommand(t,e)}executeCommands(e,t){this._modelData&&this._modelData.viewModel.executeCommands(t,e)}createDecorationsCollection(e){return new nJ(this,e)}changeDecorations(e){return this._modelData?this._modelData.model.changeDecorations(e,this._id):null}getLineDecorations(e){return this._modelData?this._modelData.model.getLineDecorations(e,this._id,(0,x.$J)(this._configuration.options)):null}getDecorationsInRange(e){return this._modelData?this._modelData.model.getDecorationsInRange(e,this._id,(0,x.$J)(this._configuration.options)):null}deltaDecorations(e,t){return this._modelData?0===e.length&&0===t.length?e:this._modelData.model.deltaDecorations(e,t,this._id):[]}removeDecorations(e){this._modelData&&0!==e.length&&this._modelData.model.changeDecorations(t=>{t.deltaDecorations(e,[])})}removeDecorationsByType(e){let t=this._decorationTypeKeysToIds[e];t&&this.deltaDecorations(t,[]),this._decorationTypeKeysToIds.hasOwnProperty(e)&&delete this._decorationTypeKeysToIds[e],this._decorationTypeSubtypes.hasOwnProperty(e)&&delete this._decorationTypeSubtypes[e]}getLayoutInfo(){let e=this._configuration.options,t=e.get(133);return t}createOverviewRuler(e){return this._modelData&&this._modelData.hasRealView?this._modelData.view.createOverviewRuler(e):null}getContainerDomNode(){return this._domElement}getDomNode(){return this._modelData&&this._modelData.hasRealView?this._modelData.view.domNode.domNode:null}delegateVerticalScrollbarPointerDown(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateVerticalScrollbarPointerDown(e)}layout(e){this._configuration.observeContainer(e),this.render()}focus(){this._modelData&&this._modelData.hasRealView&&this._modelData.view.focus()}hasTextFocus(){return!!this._modelData&&!!this._modelData.hasRealView&&this._modelData.view.isFocused()}hasWidgetFocus(){return this._focusTracker&&this._focusTracker.hasFocus()}addContentWidget(e){let t={widget:e,position:e.getPosition()};this._contentWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting a content widget with the same id."),this._contentWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(t)}layoutContentWidget(e){let t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){let i=this._contentWidgets[t];i.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(i)}}removeContentWidget(e){let t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){let e=this._contentWidgets[t];delete this._contentWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(e)}}addOverlayWidget(e){let t={widget:e,position:e.getPosition()};this._overlayWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting an overlay widget with the same id."),this._overlayWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(t)}layoutOverlayWidget(e){let t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){let i=this._overlayWidgets[t];i.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(i)}}removeOverlayWidget(e){let t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){let e=this._overlayWidgets[t];delete this._overlayWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(e)}}changeViewZones(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.change(e)}getTargetAtClientPoint(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getTargetAtClientPoint(e,t):null}getScrolledVisiblePosition(t){if(!this._modelData||!this._modelData.hasRealView)return null;let i=this._modelData.model.validatePosition(t),n=this._configuration.options,o=n.get(133),r=e._getVerticalOffsetForPosition(this._modelData,i.lineNumber,i.column)-this.getScrollTop(),s=this._modelData.view.getOffsetForColumn(i.lineNumber,i.column)+o.glyphMarginWidth+o.lineNumbersWidth+o.decorationsWidth-this.getScrollLeft();return{top:r,left:s,height:n.get(61)}}getOffsetForColumn(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getOffsetForColumn(e,t):-1}render(e=!1){this._modelData&&this._modelData.hasRealView&&this._modelData.view.render(!0,e)}setAriaOptions(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.setAriaOptions(e)}applyFontInfo(e){(0,eB.N)(e,this._configuration.options.get(46))}setBanner(e,t){this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),this._bannerDomNode=e,this._configuration.setReservedHeight(e?t:0),this._bannerDomNode&&this._domElement.prepend(this._bannerDomNode)}_attachModel(e){if(!e){this._modelData=null;return}let t=[];this._domElement.setAttribute("data-mode-id",e.getLanguageId()),this._configuration.setIsDominatedByLongLines(e.isDominatedByLongLines()),this._configuration.setModelLineCount(e.getLineCount()),e.onBeforeAttached();let i=new nv(this._id,this._configuration,e,nV.create(),nT.create(this._configuration.options),e=>c.jL(e),this.languageConfigurationService,this._themeService);t.push(e.onWillDispose(()=>this.setModel(null))),t.push(i.onEvent(t=>{switch(t.kind){case 0:this._onDidContentSizeChange.fire(t);break;case 1:this._editorTextFocus.setValue(t.hasFocus);break;case 2:this._onDidScrollChange.fire(t);break;case 3:this._onDidChangeViewZones.fire();break;case 4:this._onDidChangeHiddenAreas.fire();break;case 5:this._onDidAttemptReadOnlyEdit.fire();break;case 6:{t.reachedMaxCursorCount&&this._notificationService.warn(u.NC("cursors.maximum","The number of cursors has been limited to {0}.",iG.MAX_CURSOR_COUNT));let e=[];for(let i=0,n=t.selections.length;i{this._paste("keyboard",e,t,i,n)},type:e=>{this._type("keyboard",e)},compositionType:(e,t,i,n)=>{this._compositionType("keyboard",e,t,i,n)},startComposition:()=>{this._startComposition()},endComposition:()=>{this._endComposition("keyboard")},cut:()=>{this._cut("keyboard")}}:{paste:(e,t,i,n)=>{this._commandService.executeCommand("paste",{text:e,pasteOnNewLine:t,multicursorText:i,mode:n})},type:e=>{this._commandService.executeCommand("type",{text:e})},compositionType:(e,t,i,n)=>{i||n?this._commandService.executeCommand("compositionType",{text:e,replacePrevCharCnt:t,replaceNextCharCnt:i,positionDelta:n}):this._commandService.executeCommand("replacePreviousChar",{text:e,replaceCharCnt:t})},startComposition:()=>{this._commandService.executeCommand("compositionStart",{})},endComposition:()=>{this._commandService.executeCommand("compositionEnd",{})},cut:()=>{this._commandService.executeCommand("cut",{})}};let i=new e0(e.coordinatesConverter);i.onKeyDown=e=>this._onKeyDown.fire(e),i.onKeyUp=e=>this._onKeyUp.fire(e),i.onContextMenu=e=>this._onContextMenu.fire(e),i.onMouseMove=e=>this._onMouseMove.fire(e),i.onMouseLeave=e=>this._onMouseLeave.fire(e),i.onMouseDown=e=>this._onMouseDown.fire(e),i.onMouseUp=e=>this._onMouseUp.fire(e),i.onMouseDrag=e=>this._onMouseDrag.fire(e),i.onMouseDrop=e=>this._onMouseDrop.fire(e),i.onMouseDropCanceled=e=>this._onMouseDropCanceled.fire(e),i.onMouseWheel=e=>this._onMouseWheel.fire(e);let n=new is(t,this._configuration,this._themeService.getColorTheme(),e,i,this._overflowWidgetsDomNode);return[n,!0]}_postDetachModelCleanup(e){null==e||e.removeAllDecorationsWithOwnerId(this._id)}_detachModel(){if(!this._modelData)return null;let e=this._modelData.model,t=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),t&&this._domElement.contains(t)&&this._domElement.removeChild(t),this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),e}_removeDecorationType(e){this._codeEditorService.removeDecorationType(e)}hasModel(){return null!==this._modelData}showDropIndicatorAt(t){let i=[{range:new ep.e(t.lineNumber,t.column,t.lineNumber,t.column),options:e.dropIntoEditorDecorationOptions}];this._dropIntoEditorDecorations.set(i),this.revealPosition(t,1)}removeDropIndicator(){this._dropIntoEditorDecorations.clear()}};nq.dropIntoEditorDecorationOptions=i5.qx.register({description:"workbench-dnd-target",className:"dnd-target"}),nq=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([nU(3,nS.TG),nU(4,F.$),nU(5,nw.Hy),nU(6,ny.i6),nU(7,ez.XE),nU(8,nk.lT),nU(9,T.F),nU(10,nz.c_),nU(11,nK.p)],nq);class nG extends m.JT{constructor(e){super(),this._emitterOptions=e,this._onDidChangeToTrue=this._register(new p.Q5(this._emitterOptions)),this.onDidChangeToTrue=this._onDidChangeToTrue.event,this._onDidChangeToFalse=this._register(new p.Q5(this._emitterOptions)),this.onDidChangeToFalse=this._onDidChangeToFalse.event,this._value=0}setValue(e){let t=e?2:1;this._value!==t&&(this._value=t,2===this._value?this._onDidChangeToTrue.fire():1===this._value&&this._onDidChangeToFalse.fire())}}class nQ extends m.JT{constructor(e,t){super(),this._editor=e,t.createKey("editorId",e.getId()),this._editorSimpleInput=i2.u.editorSimpleInput.bindTo(t),this._editorFocus=i2.u.focus.bindTo(t),this._textInputFocus=i2.u.textInputFocus.bindTo(t),this._editorTextFocus=i2.u.editorTextFocus.bindTo(t),this._editorTabMovesFocus=i2.u.tabMovesFocus.bindTo(t),this._editorReadonly=i2.u.readOnly.bindTo(t),this._inDiffEditor=i2.u.inDiffEditor.bindTo(t),this._editorColumnSelection=i2.u.columnSelection.bindTo(t),this._hasMultipleSelections=i2.u.hasMultipleSelections.bindTo(t),this._hasNonEmptySelection=i2.u.hasNonEmptySelection.bindTo(t),this._canUndo=i2.u.canUndo.bindTo(t),this._canRedo=i2.u.canRedo.bindTo(t),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromConfig())),this._register(this._editor.onDidChangeCursorSelection(()=>this._updateFromSelection())),this._register(this._editor.onDidFocusEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidFocusEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidChangeModel(()=>this._updateFromModel())),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromModel())),this._updateFromConfig(),this._updateFromSelection(),this._updateFromFocus(),this._updateFromModel(),this._editorSimpleInput.set(this._editor.isSimpleWidget)}_updateFromConfig(){let e=this._editor.getOptions();this._editorTabMovesFocus.set(e.get(132)),this._editorReadonly.set(e.get(83)),this._inDiffEditor.set(e.get(56)),this._editorColumnSelection.set(e.get(18))}_updateFromSelection(){let e=this._editor.getSelections();e?(this._hasMultipleSelections.set(e.length>1),this._hasNonEmptySelection.set(e.some(e=>!e.isEmpty()))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())}_updateFromFocus(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())}_updateFromModel(){let e=this._editor.getModel();this._canUndo.set(!!(e&&e.canUndo())),this._canRedo.set(!!(e&&e.canRedo()))}}class nZ extends m.JT{constructor(e,t,i){super(),this._editor=e,this._contextKeyService=t,this._languageFeaturesService=i,this._langId=i2.u.languageId.bindTo(t),this._hasCompletionItemProvider=i2.u.hasCompletionItemProvider.bindTo(t),this._hasCodeActionsProvider=i2.u.hasCodeActionsProvider.bindTo(t),this._hasCodeLensProvider=i2.u.hasCodeLensProvider.bindTo(t),this._hasDefinitionProvider=i2.u.hasDefinitionProvider.bindTo(t),this._hasDeclarationProvider=i2.u.hasDeclarationProvider.bindTo(t),this._hasImplementationProvider=i2.u.hasImplementationProvider.bindTo(t),this._hasTypeDefinitionProvider=i2.u.hasTypeDefinitionProvider.bindTo(t),this._hasHoverProvider=i2.u.hasHoverProvider.bindTo(t),this._hasDocumentHighlightProvider=i2.u.hasDocumentHighlightProvider.bindTo(t),this._hasDocumentSymbolProvider=i2.u.hasDocumentSymbolProvider.bindTo(t),this._hasReferenceProvider=i2.u.hasReferenceProvider.bindTo(t),this._hasRenameProvider=i2.u.hasRenameProvider.bindTo(t),this._hasSignatureHelpProvider=i2.u.hasSignatureHelpProvider.bindTo(t),this._hasInlayHintsProvider=i2.u.hasInlayHintsProvider.bindTo(t),this._hasDocumentFormattingProvider=i2.u.hasDocumentFormattingProvider.bindTo(t),this._hasDocumentSelectionFormattingProvider=i2.u.hasDocumentSelectionFormattingProvider.bindTo(t),this._hasMultipleDocumentFormattingProvider=i2.u.hasMultipleDocumentFormattingProvider.bindTo(t),this._hasMultipleDocumentSelectionFormattingProvider=i2.u.hasMultipleDocumentSelectionFormattingProvider.bindTo(t),this._isInWalkThrough=i2.u.isInWalkThroughSnippet.bindTo(t);let n=()=>this._update();this._register(e.onDidChangeModel(n)),this._register(e.onDidChangeModelLanguage(n)),this._register(i.completionProvider.onDidChange(n)),this._register(i.codeActionProvider.onDidChange(n)),this._register(i.codeLensProvider.onDidChange(n)),this._register(i.definitionProvider.onDidChange(n)),this._register(i.declarationProvider.onDidChange(n)),this._register(i.implementationProvider.onDidChange(n)),this._register(i.typeDefinitionProvider.onDidChange(n)),this._register(i.hoverProvider.onDidChange(n)),this._register(i.documentHighlightProvider.onDidChange(n)),this._register(i.documentSymbolProvider.onDidChange(n)),this._register(i.referenceProvider.onDidChange(n)),this._register(i.renameProvider.onDidChange(n)),this._register(i.documentFormattingEditProvider.onDidChange(n)),this._register(i.documentRangeFormattingEditProvider.onDidChange(n)),this._register(i.signatureHelpProvider.onDidChange(n)),this._register(i.inlayHintsProvider.onDidChange(n)),n()}dispose(){super.dispose()}reset(){this._contextKeyService.bufferChangeEvents(()=>{this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInWalkThrough.reset()})}_update(){let e=this._editor.getModel();if(!e){this.reset();return}this._contextKeyService.bufferChangeEvents(()=>{this._langId.set(e.getLanguageId()),this._hasCompletionItemProvider.set(this._languageFeaturesService.completionProvider.has(e)),this._hasCodeActionsProvider.set(this._languageFeaturesService.codeActionProvider.has(e)),this._hasCodeLensProvider.set(this._languageFeaturesService.codeLensProvider.has(e)),this._hasDefinitionProvider.set(this._languageFeaturesService.definitionProvider.has(e)),this._hasDeclarationProvider.set(this._languageFeaturesService.declarationProvider.has(e)),this._hasImplementationProvider.set(this._languageFeaturesService.implementationProvider.has(e)),this._hasTypeDefinitionProvider.set(this._languageFeaturesService.typeDefinitionProvider.has(e)),this._hasHoverProvider.set(this._languageFeaturesService.hoverProvider.has(e)),this._hasDocumentHighlightProvider.set(this._languageFeaturesService.documentHighlightProvider.has(e)),this._hasDocumentSymbolProvider.set(this._languageFeaturesService.documentSymbolProvider.has(e)),this._hasReferenceProvider.set(this._languageFeaturesService.referenceProvider.has(e)),this._hasRenameProvider.set(this._languageFeaturesService.renameProvider.has(e)),this._hasSignatureHelpProvider.set(this._languageFeaturesService.signatureHelpProvider.has(e)),this._hasInlayHintsProvider.set(this._languageFeaturesService.inlayHintsProvider.has(e)),this._hasDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.has(e)||this._languageFeaturesService.documentRangeFormattingEditProvider.has(e)),this._hasDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.has(e)),this._hasMultipleDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.all(e).length+this._languageFeaturesService.documentRangeFormattingEditProvider.all(e).length>1),this._hasMultipleDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.all(e).length>1),this._isInWalkThrough.set(e.uri.scheme===f.lg.walkThroughSnippet)})}}class nY extends m.JT{constructor(e){super(),this._onChange=this._register(new p.Q5),this.onChange=this._onChange.event,this._hasFocus=!1,this._domFocusTracker=this._register(c.go(e)),this._register(this._domFocusTracker.onDidFocus(()=>{this._hasFocus=!0,this._onChange.fire(void 0)})),this._register(this._domFocusTracker.onDidBlur(()=>{this._hasFocus=!1,this._onChange.fire(void 0)}))}hasFocus(){return this._hasFocus}}class nJ{constructor(e,t){this._editor=e,this._decorationIds=[],this._isChangingDecorations=!1,Array.isArray(t)&&t.length>0&&this.set(t)}get length(){return this._decorationIds.length}onDidChange(e,t,i){return this._editor.onDidChangeModelDecorations(i=>{this._isChangingDecorations||e.call(t,i)},i)}getRange(e){return!this._editor.hasModel()||e>=this._decorationIds.length?null:this._editor.getModel().getDecorationRange(this._decorationIds[e])}getRanges(){if(!this._editor.hasModel())return[];let e=this._editor.getModel(),t=[];for(let i of this._decorationIds){let n=e.getDecorationRange(i);n&&t.push(n)}return t}has(e){return this._decorationIds.includes(e.id)}clear(){0!==this._decorationIds.length&&this.set([])}set(e){try{this._isChangingDecorations=!0,this._editor.changeDecorations(t=>{this._decorationIds=t.deltaDecorations(this._decorationIds,e)})}finally{this._isChangingDecorations=!1}}}let nX=encodeURIComponent("");function n1(e){return nX+encodeURIComponent(e.toString())+n0}let n2=encodeURIComponent('');(0,ez.Ic)((e,t)=>{let i=e.getColor(tl.b6y);i&&t.addRule(`.monaco-editor .squiggly-error { border-bottom: 4px double ${i}; }`);let n=e.getColor(tl.lXJ);n&&t.addRule(`.monaco-editor .squiggly-error { background: url("data:image/svg+xml,${n1(n)}") repeat-x bottom left; }`);let o=e.getColor(tl.L_H);o&&t.addRule(`.monaco-editor .squiggly-error::before { display: block; content: ''; width: 100%; height: 100%; background: ${o}; }`);let r=e.getColor(tl.pW3);r&&t.addRule(`.monaco-editor .squiggly-warning { border-bottom: 4px double ${r}; }`);let s=e.getColor(tl.uoC);s&&t.addRule(`.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,${n1(s)}") repeat-x bottom left; }`);let a=e.getColor(tl.gpD);a&&t.addRule(`.monaco-editor .squiggly-warning::before { display: block; content: ''; width: 100%; height: 100%; background: ${a}; }`);let l=e.getColor(tl.T83);l&&t.addRule(`.monaco-editor .squiggly-info { border-bottom: 4px double ${l}; }`);let h=e.getColor(tl.c63);h&&t.addRule(`.monaco-editor .squiggly-info { background: url("data:image/svg+xml,${n1(h)}") repeat-x bottom left; }`);let d=e.getColor(tl.few);d&&t.addRule(`.monaco-editor .squiggly-info::before { display: block; content: ''; width: 100%; height: 100%; background: ${d}; }`);let u=e.getColor(tl.fEB);u&&t.addRule(`.monaco-editor .squiggly-hint { border-bottom: 2px dotted ${u}; }`);let c=e.getColor(tl.Dut);c&&t.addRule(`.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,${n2+encodeURIComponent(c.toString())+n5}") no-repeat bottom left; }`);let g=e.getColor(eH.zu);g&&t.addRule(`.monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: ${g.rgba.a}; }`);let p=e.getColor(eH.kp);p&&t.addRule(`.monaco-editor.showUnused .squiggly-unnecessary { border-bottom: 2px dashed ${p}; }`);let m=e.getColor(tl.NOs)||"inherit";t.addRule(`.monaco-editor.showDeprecated .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: ${m}}`)})},14869:function(e,t,i){"use strict";i.d(t,{p:function(){return ep}}),i(38356);var n,o,r,s=i(63580),a=i(65321),l=i(35146),h=i(38626),d=i(73098),u=i(15393),c=i(4669),g=i(9917),p=i(52136),m=i(43407),f=i(11640),_=i(27982);i(45007);var v=i(90317),C=i(63161),b=i(74741),w=i(16830),y=i(64141),S=i(77378),L=i(50187),k=i(51945),N=i(72202),D=i(1118),x=i(38819),I=i(73910),E=i(97781),T=i(73046),M=i(59554),A=i(72042);class R{constructor(e,t,i,n){this.originalLineStart=e,this.originalLineEnd=t,this.modifiedLineStart=i,this.modifiedLineEnd=n}getType(){return 0===this.originalLineStart?1:0===this.modifiedLineStart?2:0}}class O{constructor(e){this.entries=e}}let P=(0,M.q5)("diff-review-insert",T.lA.add,s.NC("diffReviewInsertIcon","Icon for 'Insert' in diff review.")),F=(0,M.q5)("diff-review-remove",T.lA.remove,s.NC("diffReviewRemoveIcon","Icon for 'Remove' in diff review.")),B=(0,M.q5)("diff-review-close",T.lA.close,s.NC("diffReviewCloseIcon","Icon for 'Close' in diff review.")),V=class e extends g.JT{constructor(e,t){super(),this._languageService=t,this._width=0,this._diffEditor=e,this._isVisible=!1,this.shadow=(0,h.X)(document.createElement("div")),this.shadow.setClassName("diff-review-shadow"),this.actionBarContainer=(0,h.X)(document.createElement("div")),this.actionBarContainer.setClassName("diff-review-actions"),this._actionBar=this._register(new v.o(this.actionBarContainer.domNode)),this._actionBar.push(new b.aU("diffreview.close",s.NC("label.close","Close"),"close-diff-review "+E.kS.asClassName(B),!0,()=>{var e,t,i,n;return e=this,t=void 0,n=function*(){return this.hide()},new(i=void 0,i=Promise)(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})}),{label:!1,icon:!0}),this.domNode=(0,h.X)(document.createElement("div")),this.domNode.setClassName("diff-review monaco-editor-background"),this._content=(0,h.X)(document.createElement("div")),this._content.setClassName("diff-review-content"),this._content.setAttribute("role","code"),this.scrollbar=this._register(new C.s$(this._content.domNode,{})),this.domNode.domNode.appendChild(this.scrollbar.getDomNode()),this._register(e.onDidUpdateDiff(()=>{this._isVisible&&(this._diffs=this._compute(),this._render())})),this._register(e.getModifiedEditor().onDidChangeCursorPosition(()=>{this._isVisible&&this._render()})),this._register(a.mu(this.domNode.domNode,"click",e=>{e.preventDefault();let t=a.Fx(e.target,"diff-review-row");t&&this._goToRow(t)})),this._register(a.mu(this.domNode.domNode,"keydown",e=>{(e.equals(18)||e.equals(2066)||e.equals(530))&&(e.preventDefault(),this._goToRow(this._getNextRow())),(e.equals(16)||e.equals(2064)||e.equals(528))&&(e.preventDefault(),this._goToRow(this._getPrevRow())),(e.equals(9)||e.equals(2057)||e.equals(521)||e.equals(1033))&&(e.preventDefault(),this.hide()),(e.equals(10)||e.equals(3))&&(e.preventDefault(),this.accept())})),this._diffs=[],this._currentDiff=null}prev(){let e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let t=-1;for(let e=0,i=this._diffs.length;e0){let t=e[r-1];n=0===t.originalEndLineNumber?t.originalStartLineNumber+1:t.originalEndLineNumber+1,o=0===t.modifiedEndLineNumber?t.modifiedStartLineNumber+1:t.modifiedEndLineNumber+1}let s=t-3+1,a=i-3+1;if(sa){let e=a-m;m+=e,f+=e}if(f>p){let e=p-f;m+=e,f+=e}c[g++]=new R(n,m,o,f)}n[o++]=new O(c)}let r=n[0].entries,s=[],a=0;for(let e=1,t=n.length;eg)&&(g=n),0!==o&&(0===m||of)&&(f=r)}let _=document.createElement("div");_.className="diff-review-row";let v=document.createElement("div");v.className="diff-review-cell diff-review-summary";let C=g-c+1,b=f-m+1;v.appendChild(document.createTextNode(`${h+1}/${this._diffs.length}: @@ -${c},${C} +${m},${b} @@`)),_.setAttribute("data-line",String(m));let w=e=>0===e?s.NC("no_lines_changed","no lines changed"):1===e?s.NC("one_line_changed","1 line changed"):s.NC("more_lines_changed","{0} lines changed",e),y=w(C),S=w(b);_.setAttribute("aria-label",s.NC({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines changed", "1 line changed" or "X lines changed", localized separately.']},"Difference {0} of {1}: original line {2}, {3}, modified line {4}, {5}",h+1,this._diffs.length,c,y,m,S)),_.appendChild(v),_.setAttribute("role","listitem"),u.appendChild(_);let L=i.get(61),k=m;for(let s=0,a=d.length;se}),V=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(n=A.O,function(e,t){n(e,t,1)})],V),(0,E.Ic)((e,t)=>{let i=e.getColor(k.hw);i&&t.addRule(`.monaco-diff-editor .diff-review-line-number { color: ${i}; }`);let n=e.getColor(I._wn);n&&t.addRule(`.monaco-diff-editor .diff-review-shadow { box-shadow: ${n} 0 -6px 6px -6px inset; }`)});class W extends w.R6{constructor(){super({id:"editor.action.diffReview.next",label:s.NC("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:x.Ao.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})}run(e,t){let i=z(e);i&&i.diffReviewNext()}}class H extends w.R6{constructor(){super({id:"editor.action.diffReview.prev",label:s.NC("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:x.Ao.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1089,weight:100}})}run(e,t){let i=z(e);i&&i.diffReviewPrev()}}function z(e){let t=e.get(f.$),i=t.listDiffEditors(),n=t.getActiveCodeEditor();if(!n)return null;for(let e=0,t=i.length;en.modifiedStartLineNumber?s.NC("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):s.NC("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"):n.originalEndLineNumber>n.modifiedStartLineNumber?s.NC("diff.clipboard.copyChangedLinesContent.label","Copy changed lines"):s.NC("diff.clipboard.copyChangedLinesContent.single.label","Copy changed line"),void 0,!0,()=>ee(this,void 0,void 0,function*(){let e=new K.e(n.originalStartLineNumber,1,n.originalEndLineNumber+1,1),t=n.originalModel.getValueInRange(e);yield this._clipboardService.writeText(t)})));let g=0;n.originalEndLineNumber>n.modifiedStartLineNumber&&(l=new b.aU("diff.clipboard.copyDeletedLineContent",c?s.NC("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",n.originalStartLineNumber):s.NC("diff.clipboard.copyChangedLineContent.label","Copy changed line ({0})",n.originalStartLineNumber),void 0,!0,()=>ee(this,void 0,void 0,function*(){let e=n.originalModel.getLineContent(n.originalStartLineNumber+g);if(""===e){let e=n.originalModel.getEndOfLineSequence();yield this._clipboardService.writeText(0===e?"\n":"\r\n")}else yield this._clipboardService.writeText(e)})),u.push(l));let p=i.getOption(83);p||u.push(new b.aU("diff.inline.revertChange",s.NC("diff.inline.revertChange.label","Revert this change"),void 0,!0,()=>ee(this,void 0,void 0,function*(){let e=new K.e(n.originalStartLineNumber,1,n.originalEndLineNumber,n.originalModel.getLineMaxColumn(n.originalEndLineNumber)),t=n.originalModel.getValueInRange(e);if(0===n.modifiedEndLineNumber){let e=i.getModel().getLineMaxColumn(n.modifiedStartLineNumber);i.executeEdits("diffEditor",[{range:new K.e(n.modifiedStartLineNumber,e,n.modifiedStartLineNumber,e),text:d+t}])}else{let e=i.getModel().getLineMaxColumn(n.modifiedEndLineNumber);i.executeEdits("diffEditor",[{range:new K.e(n.modifiedStartLineNumber,1,n.modifiedEndLineNumber,e),text:t}])}})));let m=(e,t)=>{this._contextMenuService.showContextMenu({getAnchor:()=>({x:e,y:t}),getActions:()=>(l&&(l.label=c?s.NC("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",n.originalStartLineNumber+g):s.NC("diff.clipboard.copyChangedLineContent.label","Copy changed line ({0})",n.originalStartLineNumber+g)),u),autoSelectFirstItem:!0})};this._register(a.mu(this._diffActions,"mousedown",e=>{let{top:t,height:i}=a.i(this._diffActions),n=Math.floor(h/3);e.preventDefault(),m(e.posx,t+i+n)})),this._register(i.onMouseMove(e=>{if(8===e.target.type||5===e.target.type){let t=e.target.detail.viewZoneId;t===this._viewZoneId?(this.visibility=!0,g=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,h)):this.visibility=!1}else this.visibility=!1})),this._register(i.onMouseDown(e=>{if(e.event.rightButton&&(8===e.target.type||5===e.target.type)){let t=e.target.detail.viewZoneId;t===this._viewZoneId&&(e.event.preventDefault(),g=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,h),m(e.event.posx,e.event.posy+h))}}))}get visibility(){return this._visibility}set visibility(e){this._visibility!==e&&(this._visibility=e,e?this._diffActions.style.visibility="visible":this._diffActions.style.visibility="hidden")}_updateLightBulbPosition(e,t,i){let{top:n}=a.i(e),o=Math.floor((t-n)/i);if(this._diffActions.style.top=`${o*i}px`,this.diff.viewLineCounts){let e=0;for(let t=0;t!this._zonesMap[String(e.id)])}clean(e){this._zones.length>0&&e.changeViewZones(e=>{for(let t of this._zones)e.removeZone(t)}),this._zones=[],this._zonesMap={},e.changeDecorations(e=>{this._decorations=e.deltaDecorations(this._decorations,[])})}apply(e,t,i,n){let o=n?m.Z.capture(e):null;e.changeViewZones(t=>{var n;for(let e of this._zones)t.removeZone(e);for(let e of this._inlineDiffMargins)e.dispose();this._zones=[],this._zonesMap={},this._inlineDiffMargins=[];for(let o=0,r=i.zones.length;o{this._decorations=e.deltaDecorations(this._decorations,i.decorations)}),null==t||t.setZones(i.overviewZones)}}let ed=0,eu=(0,M.q5)("diff-insert",T.lA.add,s.NC("diffInsertIcon","Line decoration for inserts in the diff editor.")),ec=(0,M.q5)("diff-remove",T.lA.remove,s.NC("diffRemoveIcon","Line decoration for removals in the diff editor.")),eg=null===(r=window.trustedTypes)||void 0===r?void 0:r.createPolicy("diffEditorWidget",{createHTML:e=>e}),ep=class e extends g.JT{constructor(t,i,n,o,r,s,l,d,g,p,m,f){super(),this._editorProgressService=f,this._onDidDispose=this._register(new c.Q5),this.onDidDispose=this._onDidDispose.event,this._onDidUpdateDiff=this._register(new c.Q5),this.onDidUpdateDiff=this._onDidUpdateDiff.event,this._onDidContentSizeChange=this._register(new c.Q5),this._lastOriginalWarning=null,this._lastModifiedWarning=null,this._editorWorkerService=r,this._codeEditorService=d,this._contextKeyService=this._register(s.createScoped(t)),this._instantiationService=l.createChild(new Y.y([x.i6,this._contextKeyService])),this._contextKeyService.createKey("isInDiffEditor",!0),this._themeService=g,this._notificationService=p,this._id=++ed,this._state=0,this._updatingDiffProgress=null,this._domElement=t,i=i||{},this._options=eE(i,{enableSplitViewResizing:!0,renderSideBySide:!0,renderMarginRevertIcon:!0,maxComputationTime:5e3,maxFileSize:50,ignoreTrimWhitespace:!0,renderIndicators:!0,originalEditable:!1,diffCodeLens:!1,renderOverviewRuler:!0,diffWordWrap:"inherit"}),void 0!==i.isInEmbeddedEditor?this._contextKeyService.createKey("isInEmbeddedDiffEditor",i.isInEmbeddedEditor):this._contextKeyService.createKey("isInEmbeddedDiffEditor",!1),this._updateDecorationsRunner=this._register(new u.pY(()=>this._updateDecorations(),0)),this._containerDomElement=document.createElement("div"),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._options.renderSideBySide),this._containerDomElement.style.position="relative",this._containerDomElement.style.height="100%",this._domElement.appendChild(this._containerDomElement),this._overviewViewportDomElement=(0,h.X)(document.createElement("div")),this._overviewViewportDomElement.setClassName("diffViewport"),this._overviewViewportDomElement.setPosition("absolute"),this._overviewDomElement=document.createElement("div"),this._overviewDomElement.className="diffOverview",this._overviewDomElement.style.position="absolute",this._overviewDomElement.appendChild(this._overviewViewportDomElement.domNode),this._register(a.mu(this._overviewDomElement,a.tw.POINTER_DOWN,e=>{this._modifiedEditor.delegateVerticalScrollbarPointerDown(e)})),this._options.renderOverviewRuler&&this._containerDomElement.appendChild(this._overviewDomElement),this._originalDomNode=document.createElement("div"),this._originalDomNode.className="editor original",this._originalDomNode.style.position="absolute",this._originalDomNode.style.height="100%",this._containerDomElement.appendChild(this._originalDomNode),this._modifiedDomNode=document.createElement("div"),this._modifiedDomNode.className="editor modified",this._modifiedDomNode.style.position="absolute",this._modifiedDomNode.style.height="100%",this._containerDomElement.appendChild(this._modifiedDomNode),this._beginUpdateDecorationsTimeout=-1,this._currentlyChangingViewZones=!1,this._diffComputationToken=0,this._originalEditorState=new eh(m,o),this._modifiedEditorState=new eh(m,o),this._isVisible=!0,this._isHandlingScrollEvent=!1,this._elementSizeObserver=this._register(new er.I(this._containerDomElement,i.dimension)),this._register(this._elementSizeObserver.onDidChange(()=>this._onDidContainerSizeChanged())),i.automaticLayout&&this._elementSizeObserver.startObserving(),this._diffComputationResult=null,this._originalEditor=this._createLeftHandSideEditor(i,n.originalEditor||{}),this._modifiedEditor=this._createRightHandSideEditor(i,n.modifiedEditor||{}),this._originalOverviewRuler=null,this._modifiedOverviewRuler=null,this._reviewPane=l.createInstance(V,this),this._containerDomElement.appendChild(this._reviewPane.domNode.domNode),this._containerDomElement.appendChild(this._reviewPane.shadow.domNode),this._containerDomElement.appendChild(this._reviewPane.actionBarContainer.domNode),this._options.renderSideBySide?this._setStrategy(new eb(this._createDataSource(),this._options.enableSplitViewResizing)):this._setStrategy(new ey(this._createDataSource(),this._options.enableSplitViewResizing)),this._register(g.onDidColorThemeChange(t=>{this._strategy&&this._strategy.applyColors(t)&&this._updateDecorationsRunner.schedule(),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._options.renderSideBySide)}));let _=w.Uc.getDiffEditorContributions();for(let e of _)try{this._register(l.createInstance(e.ctor,this))}catch(e){(0,en.dL)(e)}this._codeEditorService.addDiffEditor(this)}_setState(e){this._state!==e&&(this._state=e,this._updatingDiffProgress&&(this._updatingDiffProgress.done(),this._updatingDiffProgress=null),1===this._state&&(this._updatingDiffProgress=this._editorProgressService.show(!0,1e3)))}diffReviewNext(){this._reviewPane.next()}diffReviewPrev(){this._reviewPane.prev()}static _getClassName(e,t){let i="monaco-diff-editor monaco-editor-background ";return t&&(i+="side-by-side "),i+=(0,E.m6)(e.type)}_disposeOverviewRulers(){this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose(),this._originalOverviewRuler=null),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose(),this._modifiedOverviewRuler=null)}_createOverviewRulers(){this._options.renderOverviewRuler&&(l.ok(!this._originalOverviewRuler&&!this._modifiedOverviewRuler),this._originalEditor.hasModel()&&(this._originalOverviewRuler=this._originalEditor.createOverviewRuler("original diffOverviewRuler"),this._overviewDomElement.appendChild(this._originalOverviewRuler.getDomNode())),this._modifiedEditor.hasModel()&&(this._modifiedOverviewRuler=this._modifiedEditor.createOverviewRuler("modified diffOverviewRuler"),this._overviewDomElement.appendChild(this._modifiedOverviewRuler.getDomNode())),this._layoutOverviewRulers())}_createLeftHandSideEditor(t,i){let n=this._createInnerEditor(this._instantiationService,this._originalDomNode,this._adjustOptionsForLeftHandSide(t),i);this._register(n.onDidScrollChange(e=>{!this._isHandlingScrollEvent&&(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(this._isHandlingScrollEvent=!0,this._modifiedEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(n.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(n.onDidChangeConfiguration(e=>{n.getModel()&&(e.hasChanged(46)&&this._updateDecorationsRunner.schedule(),e.hasChanged(134)&&(this._updateDecorationsRunner.cancel(),this._updateDecorations()))})),this._register(n.onDidChangeHiddenAreas(()=>{this._updateDecorationsRunner.cancel(),this._updateDecorations()})),this._register(n.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()}));let o=this._contextKeyService.createKey("isInDiffLeftEditor",n.hasWidgetFocus());return this._register(n.onDidFocusEditorWidget(()=>o.set(!0))),this._register(n.onDidBlurEditorWidget(()=>o.set(!1))),this._register(n.onDidContentSizeChange(t=>{let i=this._originalEditor.getContentWidth()+this._modifiedEditor.getContentWidth()+e.ONE_OVERVIEW_WIDTH,n=Math.max(this._modifiedEditor.getContentHeight(),this._originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:n,contentWidth:i,contentHeightChanged:t.contentHeightChanged,contentWidthChanged:t.contentWidthChanged})})),n}_createRightHandSideEditor(t,i){let n=this._createInnerEditor(this._instantiationService,this._modifiedDomNode,this._adjustOptionsForRightHandSide(t),i);this._register(n.onDidScrollChange(e=>{!this._isHandlingScrollEvent&&(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(this._isHandlingScrollEvent=!0,this._originalEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(n.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(n.onDidChangeConfiguration(e=>{n.getModel()&&(e.hasChanged(46)&&this._updateDecorationsRunner.schedule(),e.hasChanged(134)&&(this._updateDecorationsRunner.cancel(),this._updateDecorations()))})),this._register(n.onDidChangeHiddenAreas(()=>{this._updateDecorationsRunner.cancel(),this._updateDecorations()})),this._register(n.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()})),this._register(n.onDidChangeModelOptions(e=>{e.tabSize&&this._updateDecorationsRunner.schedule()}));let o=this._contextKeyService.createKey("isInDiffRightEditor",n.hasWidgetFocus());return this._register(n.onDidFocusEditorWidget(()=>o.set(!0))),this._register(n.onDidBlurEditorWidget(()=>o.set(!1))),this._register(n.onDidContentSizeChange(t=>{let i=this._originalEditor.getContentWidth()+this._modifiedEditor.getContentWidth()+e.ONE_OVERVIEW_WIDTH,n=Math.max(this._modifiedEditor.getContentHeight(),this._originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:n,contentWidth:i,contentHeightChanged:t.contentHeightChanged,contentWidthChanged:t.contentWidthChanged})})),this._register(n.onMouseDown(e=>{var t,i;if(!e.event.rightButton&&e.target.position&&(null===(t=e.target.element)||void 0===t?void 0:t.className.includes("arrow-revert-change"))){let t=e.target.position.lineNumber,n=null===(i=this._diffComputationResult)||void 0===i?void 0:i.changes.find(e=>e.modifiedStartLineNumber===t-1||e.modifiedStartLineNumber===t);n&&this.revertChange(n),e.event.stopPropagation(),this._updateDecorations();return}})),n}revertChange(e){let t=this._modifiedEditor,i=this._originalEditor.getModel(),n=this._modifiedEditor.getModel();if(!i||!n||!t)return;let o=e.originalEndLineNumber>0?new K.e(e.originalStartLineNumber,1,e.originalEndLineNumber,i.getLineMaxColumn(e.originalEndLineNumber)):null,r=o?i.getValueInRange(o):null,s=e.modifiedEndLineNumber>0?new K.e(e.modifiedStartLineNumber,1,e.modifiedEndLineNumber,n.getLineMaxColumn(e.modifiedEndLineNumber)):null,a=n.getEOL();if(0===e.originalEndLineNumber&&s){let i=s;e.modifiedStartLineNumber>1?i=s.setStartPosition(e.modifiedStartLineNumber-1,n.getLineMaxColumn(e.modifiedStartLineNumber-1)):e.modifiedEndLineNumberthis._beginUpdateDecorations(),e.UPDATE_DIFF_DECORATIONS_DELAY)}static _equals(e,t){return!e&&!t||!!e&&!!t&&e.toString()===t.toString()}_beginUpdateDecorations(){this._beginUpdateDecorationsTimeout=-1;let t=this._originalEditor.getModel(),i=this._modifiedEditor.getModel();if(!t||!i)return;this._diffComputationToken++;let n=this._diffComputationToken,o=1048576*this._options.maxFileSize,r=e=>{let t=e.getValueLength();return 0===o||t<=o};if(!r(t)||!r(i)){e._equals(t.uri,this._lastOriginalWarning)&&e._equals(i.uri,this._lastModifiedWarning)||(this._lastOriginalWarning=t.uri,this._lastModifiedWarning=i.uri,this._notificationService.warn(s.NC("diff.tooLarge","Cannot compare files because one file is too large.")));return}this._setState(1),this._editorWorkerService.computeDiff(t.uri,i.uri,this._options.ignoreTrimWhitespace,this._options.maxComputationTime).then(e=>{n===this._diffComputationToken&&t===this._originalEditor.getModel()&&i===this._modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=e,this._updateDecorationsRunner.schedule(),this._onDidUpdateDiff.fire())},e=>{n===this._diffComputationToken&&t===this._originalEditor.getModel()&&i===this._modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=null,this._updateDecorationsRunner.schedule())})}_cleanViewZonesAndDecorations(){this._originalEditorState.clean(this._originalEditor),this._modifiedEditorState.clean(this._modifiedEditor)}_updateDecorations(){if(!this._originalEditor.getModel()||!this._modifiedEditor.getModel())return;let e=this._diffComputationResult?this._diffComputationResult.changes:[],t=this._originalEditorState.getForeignViewZones(this._originalEditor.getWhitespaces()),i=this._modifiedEditorState.getForeignViewZones(this._modifiedEditor.getWhitespaces()),n=this._strategy.getEditorsDiffDecorations(e,this._options.ignoreTrimWhitespace,this._options.renderIndicators,this._options.renderMarginRevertIcon,t,i);try{this._currentlyChangingViewZones=!0,this._originalEditorState.apply(this._originalEditor,this._originalOverviewRuler,n.original,!1),this._modifiedEditorState.apply(this._modifiedEditor,this._modifiedOverviewRuler,n.modified,!0)}finally{this._currentlyChangingViewZones=!1}}_adjustOptionsForSubEditor(e){let t=Object.assign({},e);return t.inDiffEditor=!0,t.automaticLayout=!1,t.scrollbar=Object.assign({},t.scrollbar||{}),t.scrollbar.vertical="visible",t.folding=!1,t.codeLens=this._options.diffCodeLens,t.fixedOverflowWidgets=!0,t.minimap=Object.assign({},t.minimap||{}),t.minimap.enabled=!1,t}_adjustOptionsForLeftHandSide(e){let t=this._adjustOptionsForSubEditor(e);return this._options.renderSideBySide?t.wordWrapOverride1=this._options.diffWordWrap:(t.wordWrapOverride1="off",t.wordWrapOverride2="off"),e.originalAriaLabel&&(t.ariaLabel=e.originalAriaLabel),t.readOnly=!this._options.originalEditable,t.dropIntoEditor={enabled:!t.readOnly},t.extraEditorClassName="original-in-monaco-diff-editor",Object.assign(Object.assign({},t),{dimension:{height:0,width:0}})}_adjustOptionsForRightHandSide(t){let i=this._adjustOptionsForSubEditor(t);return t.modifiedAriaLabel&&(i.ariaLabel=t.modifiedAriaLabel),i.wordWrapOverride1=this._options.diffWordWrap,i.revealHorizontalRightPadding=y.BH.revealHorizontalRightPadding.defaultValue+e.ENTIRE_DIFF_OVERVIEW_WIDTH,i.scrollbar.verticalHasArrows=!1,i.extraEditorClassName="modified-in-monaco-diff-editor",Object.assign(Object.assign({},i),{dimension:{height:0,width:0}})}doLayout(){this._elementSizeObserver.observe(),this._doLayout()}_doLayout(){let t=this._elementSizeObserver.getWidth(),i=this._elementSizeObserver.getHeight(),n=this._getReviewHeight(),o=this._strategy.layout();this._originalDomNode.style.width=o+"px",this._originalDomNode.style.left="0px",this._modifiedDomNode.style.width=t-o+"px",this._modifiedDomNode.style.left=o+"px",this._overviewDomElement.style.top="0px",this._overviewDomElement.style.height=i-n+"px",this._overviewDomElement.style.width=e.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewDomElement.style.left=t-e.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewViewportDomElement.setWidth(e.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this._originalEditor.layout({width:o,height:i-n}),this._modifiedEditor.layout({width:t-o-(this._options.renderOverviewRuler?e.ENTIRE_DIFF_OVERVIEW_WIDTH:0),height:i-n}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(i-n,t,n),this._layoutOverviewViewport()}_layoutOverviewViewport(){let e=this._computeOverviewViewport();e?(this._overviewViewportDomElement.setTop(e.top),this._overviewViewportDomElement.setHeight(e.height)):(this._overviewViewportDomElement.setTop(0),this._overviewViewportDomElement.setHeight(0))}_computeOverviewViewport(){let e=this._modifiedEditor.getLayoutInfo();if(!e)return null;let t=this._modifiedEditor.getScrollTop(),i=this._modifiedEditor.getScrollHeight(),n=Math.max(0,e.height),o=i>0?Math.max(0,n-0)/i:0,r=Math.max(0,Math.floor(e.height*o));return{height:r,top:Math.floor(t*o)}}_createDataSource(){return{getWidth:()=>this._elementSizeObserver.getWidth(),getHeight:()=>this._elementSizeObserver.getHeight()-this._getReviewHeight(),getOptions:()=>({renderOverviewRuler:this._options.renderOverviewRuler}),getContainerDomNode:()=>this._containerDomElement,relayoutEditors:()=>{this._doLayout()},getOriginalEditor:()=>this._originalEditor,getModifiedEditor:()=>this._modifiedEditor}}_setStrategy(e){this._strategy&&this._strategy.dispose(),this._strategy=e,e.applyColors(this._themeService.getColorTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()}_getLineChangeAtOrBeforeLineNumber(e,t){let i=this._diffComputationResult?this._diffComputationResult.changes:[];if(0===i.length||e=a?n=r+1:(n=r,o=r)}return i[n]}_getEquivalentLineForOriginalLineNumber(e){let t=this._getLineChangeAtOrBeforeLineNumber(e,e=>e.originalStartLineNumber);if(!t)return e;let i=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),n=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),o=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,r=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,s=e-i;return s<=o?n+Math.min(s,r):n+r-o+s}_getEquivalentLineForModifiedLineNumber(e){let t=this._getLineChangeAtOrBeforeLineNumber(e,e=>e.modifiedStartLineNumber);if(!t)return e;let i=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),n=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),o=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,r=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,s=e-n;return s<=r?i+Math.min(s,o):i+o-r+s}getDiffLineInformationForOriginal(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(e)}:null}getDiffLineInformationForModified(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(e)}:null}};ep.ONE_OVERVIEW_WIDTH=15,ep.ENTIRE_DIFF_OVERVIEW_WIDTH=30,ep.UPDATE_DIFF_DECORATIONS_DELAY=200,ep=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([el(3,ei.p),el(4,q.p),el(5,x.i6),el(6,Z.TG),el(7,f.$),el(8,E.XE),el(9,J.lT),el(10,X.i),el(11,eo.ek)],ep);class em extends g.JT{constructor(e){super(),this._dataSource=e,this._insertColor=null,this._removeColor=null}applyColors(e){let t=e.getColor(I.P6Y)||(e.getColor(I.ypS)||I.CzK).transparent(2),i=e.getColor(I.F9q)||(e.getColor(I.P4M)||I.keg).transparent(2),n=!t.equals(this._insertColor)||!i.equals(this._removeColor);return this._insertColor=t,this._removeColor=i,n}getEditorsDiffDecorations(e,t,i,n,o,r){r=r.sort((e,t)=>e.afterLineNumber-t.afterLineNumber),o=o.sort((e,t)=>e.afterLineNumber-t.afterLineNumber);let s=this._getViewZones(e,o,r,i),a=this._getOriginalEditorDecorations(s,e,t,i),l=this._getModifiedEditorDecorations(s,e,t,i,n);return{original:{decorations:a.decorations,overviewZones:a.overviewZones,zones:s.original},modified:{decorations:l.decorations,overviewZones:l.overviewZones,zones:s.modified}}}}class ef{constructor(e){this._source=e,this._index=-1,this.current=null,this.advance()}advance(){this._index++,this._indexe.afterLineNumber-t.afterLineNumber,f=(e,t)=>{if(null===t.domNode&&e.length>0){let i=e[e.length-1];if(i.afterLineNumber===t.afterLineNumber&&null===i.domNode){i.heightInLines+=t.heightInLines;return}}e.push(t)},_=new ef(this._modifiedForeignVZ),v=new ef(this._originalForeignVZ),C=1,b=1;for(let i=0,n=this._lineChanges.length;i<=n;i++){let w=i0?-1:0),c=w.modifiedStartLineNumber+(w.modifiedEndLineNumber>0?-1:0),d=w.originalEndLineNumber>0?e_._getViewLineCount(this._originalEditor,w.originalStartLineNumber,w.originalEndLineNumber):0,h=w.modifiedEndLineNumber>0?e_._getViewLineCount(this._modifiedEditor,w.modifiedStartLineNumber,w.modifiedEndLineNumber):0,g=Math.max(w.originalStartLineNumber,w.originalEndLineNumber),p=Math.max(w.modifiedStartLineNumber,w.modifiedEndLineNumber)):(u+=1e7+d,c+=1e7+h,g=u,p=c);let y=[],S=[];if(o){let e;e=w?w.originalEndLineNumber>0?w.originalStartLineNumber-C:w.modifiedStartLineNumber-b:r.getLineCount()-C+1;for(let t=0;to&&S.push({afterLineNumber:i,heightInLines:n-o,domNode:null,marginDomNode:null})}w&&(C=(w.originalEndLineNumber>0?w.originalEndLineNumber:w.originalStartLineNumber)+1,b=(w.modifiedEndLineNumber>0?w.modifiedEndLineNumber:w.modifiedStartLineNumber)+1)}for(;_.current&&_.current.afterLineNumber<=p;){let e;e=_.current.afterLineNumber<=c?u-c+_.current.afterLineNumber:g;let i=null;w&&w.modifiedStartLineNumber<=_.current.afterLineNumber&&_.current.afterLineNumber<=w.modifiedEndLineNumber&&(i=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),y.push({afterLineNumber:e,heightInLines:_.current.height/t,domNode:null,marginDomNode:i}),_.advance()}for(;v.current&&v.current.afterLineNumber<=g;){let t;t=v.current.afterLineNumber<=u?c-u+v.current.afterLineNumber:p,S.push({afterLineNumber:t,heightInLines:v.current.height/e,domNode:null}),v.advance()}if(null!==w&&eL(w)){let e=this._produceOriginalFromDiff(w,d,h);e&&y.push(e)}if(null!==w&&ek(w)){let e=this._produceModifiedFromDiff(w,d,h);e&&S.push(e)}let L=0,k=0;for(y=y.sort(m),S=S.sort(m);L=t.heightInLines?(e.heightInLines-=t.heightInLines,k++):(t.heightInLines-=e.heightInLines,L++)}for(;L(e.domNode||(e.domNode=ex()),e))}}function ev(e,t,i,n,o){return{range:new K.e(e,t,i,n),options:o}}let eC={arrowRevertChange:j.qx.register({description:"diff-editor-arrow-revert-change",glyphMarginClassName:"arrow-revert-change "+E.kS.asClassName(T.lA.arrowRight)}),charDelete:j.qx.register({description:"diff-editor-char-delete",className:"char-delete"}),charDeleteWholeLine:j.qx.register({description:"diff-editor-char-delete-whole-line",className:"char-delete",isWholeLine:!0}),charInsert:j.qx.register({description:"diff-editor-char-insert",className:"char-insert"}),charInsertWholeLine:j.qx.register({description:"diff-editor-char-insert-whole-line",className:"char-insert",isWholeLine:!0}),lineInsert:j.qx.register({description:"diff-editor-line-insert",className:"line-insert",marginClassName:"gutter-insert",isWholeLine:!0}),lineInsertWithSign:j.qx.register({description:"diff-editor-line-insert-with-sign",className:"line-insert",linesDecorationsClassName:"insert-sign "+E.kS.asClassName(eu),marginClassName:"gutter-insert",isWholeLine:!0}),lineDelete:j.qx.register({description:"diff-editor-line-delete",className:"line-delete",marginClassName:"gutter-delete",isWholeLine:!0}),lineDeleteWithSign:j.qx.register({description:"diff-editor-line-delete-with-sign",className:"line-delete",linesDecorationsClassName:"delete-sign "+E.kS.asClassName(ec),marginClassName:"gutter-delete",isWholeLine:!0}),lineDeleteMargin:j.qx.register({description:"diff-editor-line-delete-margin",marginClassName:"gutter-delete"})};class eb extends em{constructor(e,t){super(e),this._disableSash=!1===t,this._sashRatio=null,this._sashPosition=null,this._startSashPosition=null,this._sash=this._register(new d.g(this._dataSource.getContainerDomNode(),this,{orientation:0})),this._disableSash&&(this._sash.state=0),this._sash.onDidStart(()=>this._onSashDragStart()),this._sash.onDidChange(e=>this._onSashDrag(e)),this._sash.onDidEnd(()=>this._onSashDragEnd()),this._sash.onDidReset(()=>this._onSashReset())}setEnableSplitViewResizing(e){let t=!1===e;this._disableSash!==t&&(this._disableSash=t,this._sash.state=this._disableSash?0:3)}layout(e=this._sashRatio){let t=this._dataSource.getWidth(),i=t-(this._dataSource.getOptions().renderOverviewRuler?ep.ENTIRE_DIFF_OVERVIEW_WIDTH:0),n=Math.floor((e||.5)*i),o=Math.floor(.5*i);return n=this._disableSash?o:n||o,i>2*eb.MINIMUM_EDITOR_WIDTH?(ni-eb.MINIMUM_EDITOR_WIDTH&&(n=i-eb.MINIMUM_EDITOR_WIDTH)):n=o,this._sashPosition!==n&&(this._sashPosition=n),this._sash.layout(),this._sashPosition}_onSashDragStart(){this._startSashPosition=this._sashPosition}_onSashDrag(e){let t=this._dataSource.getWidth(),i=t-(this._dataSource.getOptions().renderOverviewRuler?ep.ENTIRE_DIFF_OVERVIEW_WIDTH:0),n=this.layout((this._startSashPosition+(e.currentX-e.startX))/i);this._sashRatio=n/i,this._dataSource.relayoutEditors()}_onSashDragEnd(){this._sash.layout()}_onSashReset(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()}getVerticalSashTop(e){return 0}getVerticalSashLeft(e){return this._sashPosition}getVerticalSashHeight(e){return this._dataSource.getHeight()}_getViewZones(e,t,i){let n=this._dataSource.getOriginalEditor(),o=this._dataSource.getModifiedEditor(),r=new ew(e,t,i,n,o);return r.getViewZones()}_getOriginalEditorDecorations(e,t,i,n){let o=this._dataSource.getOriginalEditor(),r=String(this._removeColor),s={decorations:[],overviewZones:[]},a=o.getModel(),l=o._getViewModel();for(let e of t)if(ek(e)){s.decorations.push({range:new K.e(e.originalStartLineNumber,1,e.originalEndLineNumber,1073741824),options:n?eC.lineDeleteWithSign:eC.lineDelete}),eL(e)&&e.charChanges||s.decorations.push(ev(e.originalStartLineNumber,1,e.originalEndLineNumber,1073741824,eC.charDeleteWholeLine));let t=eI(a,l,e.originalStartLineNumber,e.originalEndLineNumber);if(s.overviewZones.push(new G.EY(t.startLineNumber,t.endLineNumber,0,r)),e.charChanges){for(let t of e.charChanges)if(eD(t)){if(i)for(let e=t.originalStartLineNumber;e<=t.originalEndLineNumber;e++){let i,n;i=e===t.originalStartLineNumber?t.originalStartColumn:a.getLineFirstNonWhitespaceColumn(e),n=e===t.originalEndLineNumber?t.originalEndColumn:a.getLineLastNonWhitespaceColumn(e),s.decorations.push(ev(e,i,e,n,eC.charDelete))}else s.decorations.push(ev(t.originalStartLineNumber,t.originalStartColumn,t.originalEndLineNumber,t.originalEndColumn,eC.charDelete))}}}return s}_getModifiedEditorDecorations(e,t,i,n,o){let r=this._dataSource.getModifiedEditor(),s=String(this._insertColor),l={decorations:[],overviewZones:[]},h=r.getModel(),d=r._getViewModel();for(let r of t){if(o){if(r.modifiedEndLineNumber>0)l.decorations.push({range:new K.e(r.modifiedStartLineNumber,1,r.modifiedStartLineNumber,1),options:eC.arrowRevertChange});else{let t=e.modified.find(e=>e.afterLineNumber===r.modifiedStartLineNumber);t&&(t.marginDomNode=function(){let e=document.createElement("div");return e.className="arrow-revert-change "+E.kS.asClassName(T.lA.arrowRight),a.$("div",{},e)}())}}if(eL(r)){l.decorations.push({range:new K.e(r.modifiedStartLineNumber,1,r.modifiedEndLineNumber,1073741824),options:n?eC.lineInsertWithSign:eC.lineInsert}),ek(r)&&r.charChanges||l.decorations.push(ev(r.modifiedStartLineNumber,1,r.modifiedEndLineNumber,1073741824,eC.charInsertWholeLine));let e=eI(h,d,r.modifiedStartLineNumber,r.modifiedEndLineNumber);if(l.overviewZones.push(new G.EY(e.startLineNumber,e.endLineNumber,0,s)),r.charChanges){for(let e of r.charChanges)if(eN(e)){if(i)for(let t=e.modifiedStartLineNumber;t<=e.modifiedEndLineNumber;t++){let i,n;i=t===e.modifiedStartLineNumber?e.modifiedStartColumn:h.getLineFirstNonWhitespaceColumn(t),n=t===e.modifiedEndLineNumber?e.modifiedEndColumn:h.getLineLastNonWhitespaceColumn(t),l.decorations.push(ev(t,i,t,n,eC.charInsert))}else l.decorations.push(ev(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn,eC.charInsert))}}}}return l}}eb.MINIMUM_EDITOR_WIDTH=100;class ew extends e_{constructor(e,t,i,n,o){super(e,t,i,n,o)}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){return null}_produceOriginalFromDiff(e,t,i){return i>t?{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:i-t,domNode:null}:null}_produceModifiedFromDiff(e,t,i){return t>i?{afterLineNumber:Math.max(e.modifiedStartLineNumber,e.modifiedEndLineNumber),heightInLines:t-i,domNode:null}:null}}class ey extends em{constructor(e,t){super(e),this._decorationsLeft=e.getOriginalEditor().getLayoutInfo().decorationsLeft,this._register(e.getOriginalEditor().onDidLayoutChange(t=>{this._decorationsLeft!==t.decorationsLeft&&(this._decorationsLeft=t.decorationsLeft,e.relayoutEditors())}))}setEnableSplitViewResizing(e){}_getViewZones(e,t,i,n){let o=this._dataSource.getOriginalEditor(),r=this._dataSource.getModifiedEditor(),s=new eS(e,t,i,o,r,n);return s.getViewZones()}_getOriginalEditorDecorations(e,t,i,n){let o=String(this._removeColor),r={decorations:[],overviewZones:[]},s=this._dataSource.getOriginalEditor(),a=s.getModel(),l=s._getViewModel(),h=0;for(let i of t)if(ek(i)){for(r.decorations.push({range:new K.e(i.originalStartLineNumber,1,i.originalEndLineNumber,1073741824),options:eC.lineDeleteMargin});h=i.originalStartLineNumber)break;h++}let t=0;if(h0,L=(0,U.l$)(1e4),k=0,N=0,x=null;for(let t=d.originalStartLineNumber;t<=d.originalEndLineNumber;t++){let r=t-d.originalStartLineNumber,s=this._originalModel.tokenization.getLineTokens(t),p=s.getLineContent(),b=_[v++],D=Q.Kp.filter(y,t,1,p.length+1);if(b){let d=0;for(let e of b.breakOffsets){let t=s.sliceAndInflate(d,e,0),r=p.substring(d,e);k=Math.max(k,this._renderOriginalLine(N++,r,t,Q.Kp.extractWrapped(D,d,e),S,a,l,n,o,h,u,c,g,m,f,i,L,w)),d=e}for(x||(x=[]);x.lengthe.afterLineNumber-t.afterLineNumber)}_renderOriginalLine(e,t,i,n,o,r,s,a,l,h,d,u,c,g,p,m,f,_){f.appendASCIIString('
    ');let v=D.wA.isBasicASCII(t,r),C=D.wA.containsRTL(t,v,s),b=(0,N.d1)(new N.IJ(a.isMonospace&&!l,a.canUseHalfwidthRightwardsArrow,t,!1,v,C,0,i,n,m,0,a.spaceWidth,a.middotWidth,a.wsmiddotWidth,u,c,g,p!==y.n0.OFF,null),f);if(f.appendASCIIString("
    "),this._renderIndicators){let t=document.createElement("div");t.className=`delete-sign ${E.kS.asClassName(ec)}`,t.setAttribute("style",`position:absolute;top:${e*h}px;width:${d}px;height:${h}px;right:0;`),_.appendChild(t)}return b.characterMapping.getHorizontalOffset(b.characterMapping.length)}}function eL(e){return e.modifiedEndLineNumber>0}function ek(e){return e.originalEndLineNumber>0}function eN(e){return e.modifiedStartLineNumber===e.modifiedEndLineNumber?e.modifiedEndColumn-e.modifiedStartColumn>0:e.modifiedEndLineNumber-e.modifiedStartLineNumber>0}function eD(e){return e.originalStartLineNumber===e.originalEndLineNumber?e.originalEndColumn-e.originalStartColumn>0:e.originalEndLineNumber-e.originalStartLineNumber>0}function ex(){let e=document.createElement("div");return e.className="diagonal-fill",e}function eI(e,t,i,n){let o=e.getLineCount();return i=Math.min(o,Math.max(1,i)),n=Math.min(o,Math.max(1,n)),t.coordinatesConverter.convertModelRangeToViewRange(new K.e(i,e.getLineMinColumn(i),n,e.getLineMaxColumn(n)))}function eE(e,t){var i,n;return{enableSplitViewResizing:(0,y.O7)(e.enableSplitViewResizing,t.enableSplitViewResizing),renderSideBySide:(0,y.O7)(e.renderSideBySide,t.renderSideBySide),renderMarginRevertIcon:(0,y.O7)(e.renderMarginRevertIcon,t.renderMarginRevertIcon),maxComputationTime:(0,y.Zc)(e.maxComputationTime,t.maxComputationTime,0,1073741824),maxFileSize:(0,y.Zc)(e.maxFileSize,t.maxFileSize,0,1073741824),ignoreTrimWhitespace:(0,y.O7)(e.ignoreTrimWhitespace,t.ignoreTrimWhitespace),renderIndicators:(0,y.O7)(e.renderIndicators,t.renderIndicators),originalEditable:(0,y.O7)(e.originalEditable,t.originalEditable),diffCodeLens:(0,y.O7)(e.diffCodeLens,t.diffCodeLens),renderOverviewRuler:(0,y.O7)(e.renderOverviewRuler,t.renderOverviewRuler),diffWordWrap:(i=e.diffWordWrap,n=t.diffWordWrap,(0,y.NY)(i,n,["off","on","inherit"]))}}(0,E.Ic)((e,t)=>{let i=e.getColor(I.ypS);i&&t.addRule(`.monaco-editor .char-insert, .monaco-diff-editor .char-insert { background-color: ${i}; }`);let n=e.getColor(I.hzo)||i;n&&t.addRule(`.monaco-editor .line-insert, .monaco-diff-editor .line-insert { background-color: ${n}; }`);let o=e.getColor(I.j51)||n;o&&(t.addRule(`.monaco-editor .inline-added-margin-view-zone { background-color: ${o}; }`),t.addRule(`.monaco-editor .gutter-insert, .monaco-diff-editor .gutter-insert { background-color: ${o}; }`));let r=e.getColor(I.P4M);r&&t.addRule(`.monaco-editor .char-delete, .monaco-diff-editor .char-delete { background-color: ${r}; }`);let s=e.getColor(I.xi6)||r;s&&t.addRule(`.monaco-editor .line-delete, .monaco-diff-editor .line-delete { background-color: ${s}; }`);let a=e.getColor(I.zOm)||s;a&&(t.addRule(`.monaco-editor .inline-deleted-margin-view-zone { background-color: ${a}; }`),t.addRule(`.monaco-editor .gutter-delete, .monaco-diff-editor .gutter-delete { background-color: ${a}; }`));let l=e.getColor(I.XL$);l&&t.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px ${(0,ea.c3)(e.type)?"dashed":"solid"} ${l}; }`);let h=e.getColor(I.mHy);h&&t.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px ${(0,ea.c3)(e.type)?"dashed":"solid"} ${h}; }`);let d=e.getColor(I._wn);d&&t.addRule(`.monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px ${d}; }`);let u=e.getColor(I.LLc);u&&t.addRule(`.monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid ${u}; }`);let c=e.getColor(I.etL);c&&t.addRule(` + .monaco-diff-editor .diffViewport { + background: ${c}; + } + `);let g=e.getColor(I.ABB);g&&t.addRule(` + .monaco-diff-editor .diffViewport:hover { + background: ${g}; + } + `);let p=e.getColor(I.ynu);p&&t.addRule(` + .monaco-diff-editor .diffViewport:active { + background: ${p}; + } + `);let m=e.getColor(I.L_t);t.addRule(` + .monaco-editor .diagonal-fill { + background-image: linear-gradient( + -45deg, + ${m} 12.5%, + #0000 12.5%, #0000 50%, + ${m} 50%, ${m} 62.5%, + #0000 62.5%, #0000 100% + ); + background-size: 8px 8px; + } + `)})},75623:function(e,t,i){"use strict";i.d(t,{F:function(){return h}});var n=i(35146),o=i(4669),r=i(9917),s=i(36248),a=i(24314);let l={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0};class h extends r.JT{constructor(e,t={}){super(),this._onDidUpdate=this._register(new o.Q5),this._editor=e,this._options=s.jB(t,l,!1),this.disposed=!1,this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=!!this._options.alwaysRevealFirst,this._register(this._editor.onDidDispose(()=>this.dispose())),this._register(this._editor.onDidUpdateDiff(()=>this._onDiffUpdated())),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition(e=>{this.ignoreSelectionChange||(this.nextIdx=-1)})),this._options.alwaysRevealFirst&&this._register(this._editor.getModifiedEditor().onDidChangeModel(e=>{this.revealFirst=!0})),this._init()}_init(){let e=this._editor.getLineChanges();if(!e)return}_onDiffUpdated(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&null!==this._editor.getLineChanges()&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))}_compute(e){this.ranges=[],e&&e.forEach(e=>{!this._options.ignoreCharChanges&&e.charChanges?e.charChanges.forEach(e=>{this.ranges.push({rhs:!0,range:new a.e(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn)})}):0===e.modifiedEndLineNumber?this.ranges.push({rhs:!0,range:new a.e(e.modifiedStartLineNumber,1,e.modifiedStartLineNumber+1,1)}):this.ranges.push({rhs:!0,range:new a.e(e.modifiedStartLineNumber,1,e.modifiedEndLineNumber+1,1)})}),this.ranges.sort((e,t)=>a.e.compareRangesUsingStarts(e.range,t.range)),this._onDidUpdate.fire(this)}_initIdx(e){let t=!1,i=this._editor.getPosition();if(!i){this.nextIdx=0;return}for(let n=0,o=this.ranges.length;n=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));let i=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{let e=i.range.getStartPosition();this._editor.setPosition(e),this._editor.revealRangeInCenter(i.range,t)}finally{this.ignoreSelectionChange=!1}}canNavigate(){return this.ranges&&this.ranges.length>0}next(e=0){this._move(!0,e)}previous(e=0){this._move(!1,e)}dispose(){super.dispose(),this.ranges=[],this.disposed=!0}}},84527:function(e,t,i){"use strict";i.d(t,{H:function(){return m}});var n=i(36248),o=i(11640),r=i(27982),s=i(94565),a=i(38819),l=i(72065),h=i(59422),d=i(97781),u=i(31106),c=i(4256),g=i(71922),p=function(e,t){return function(i,n){t(i,n,e)}};let m=class extends r.Gm{constructor(e,t,i,n,o,r,s,a,l,h,d,u){super(e,Object.assign(Object.assign({},i.getRawOptions()),{overflowWidgetsDomNode:i.getOverflowWidgetsDomNode()}),{},n,o,r,s,a,l,h,d,u),this._parentEditor=i,this._overwriteOptions=t,super.updateOptions(this._overwriteOptions),this._register(i.onDidChangeConfiguration(e=>this._onParentConfigurationChanged(e)))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(e){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(e){n.jB(this._overwriteOptions,e,!0),super.updateOptions(this._overwriteOptions)}};m=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([p(3,l.TG),p(4,o.$),p(5,s.Hy),p(6,a.i6),p(7,d.XE),p(8,h.lT),p(9,u.F),p(10,c.c_),p(11,g.p)],m)},61329:function(e,t,i){"use strict";i.d(t,{OY:function(){return r},Sj:function(){return s},T4:function(){return o},Uo:function(){return a},hP:function(){return l}});var n=i(3860);class o{constructor(e,t,i=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=i}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),o=i[0].range;return n.Y.fromPositions(o.getEndPosition())}}class r{constructor(e,t){this._range=e,this._text=t}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),o=i[0].range;return n.Y.fromRange(o,0)}}class s{constructor(e,t,i=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=i}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),o=i[0].range;return n.Y.fromPositions(o.getStartPosition())}}class a{constructor(e,t,i,n,o=!1){this._range=e,this._text=t,this._columnDeltaOffset=n,this._lineNumberDeltaOffset=i,this.insertsAutoWhitespace=o}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),o=i[0].range;return n.Y.fromPositions(o.getEndPosition().delta(this._lineNumberDeltaOffset,this._columnDeltaOffset))}}class l{constructor(e,t,i,n=!1){this._range=e,this._text=t,this._initialSelection=i,this._forceMoveMarkers=n,this._selectionId=null}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text,this._forceMoveMarkers),this._selectionId=t.trackSelection(this._initialSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}},10291:function(e,t,i){"use strict";i.d(t,{U:function(){return c}});var n,o=i(97295),r=i(7988),s=i(24314),a=i(3860),l=i(1615),h=i(4256);let d=Object.create(null);function u(e,t){if(t<=0)return"";d[e]||(d[e]=["",e]);let i=d[e];for(let n=i.length;n<=t;n++)i[n]=i[n-1]+e;return i[t]}let c=class e{constructor(e,t,i){this._languageConfigurationService=i,this._opts=t,this._selection=e,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}static unshiftIndent(e,t,i,n,o){let s=r.i.visibleColumnFromColumn(e,t,i);if(o){let e=u(" ",n),t=r.i.prevIndentTabStop(s,n),i=t/n;return u(e,i)}{let e=r.i.prevRenderTabStop(s,i),t=e/i;return u(" ",t)}}static shiftIndent(e,t,i,n,o){let s=r.i.visibleColumnFromColumn(e,t,i);if(o){let e=u(" ",n),t=r.i.nextIndentTabStop(s,n),i=t/n;return u(e,i)}{let e=r.i.nextRenderTabStop(s,i),t=e/i;return u(" ",t)}}_addEditOperation(e,t,i){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,i):e.addEditOperation(t,i)}getEditOperations(t,i){let n=this._selection.startLineNumber,a=this._selection.endLineNumber;1===this._selection.endColumn&&n!==a&&(a-=1);let{tabSize:h,indentSize:d,insertSpaces:c}=this._opts,g=n===a;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(t.getLineContent(n))&&(this._useLastEditRangeForCursorEndPosition=!0);let u=0,p=0;for(let m=n;m<=a;m++,u=p){let a;p=0;let f=t.getLineContent(m),_=o.LC(f);if((!this._opts.isUnshift||0!==f.length&&0!==_)&&(g||this._opts.isUnshift||0!==f.length)){if(-1===_&&(_=f.length),m>1){let e=r.i.visibleColumnFromColumn(f,_+1,h);if(e%d!=0&&t.tokenization.isCheapToTokenize(m-1)){let e=(0,l.A)(this._opts.autoIndent,t,new s.e(m-1,t.getLineMaxColumn(m-1),m-1,t.getLineMaxColumn(m-1)),this._languageConfigurationService);if(e){if(p=u,e.appendText)for(let t=0,i=e.appendText.length;t=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(n=h.c_,function(e,t){n(e,t,2)})],c)},800:function(e,t,i){"use strict";i.d(t,{Pe:function(){return g},ei:function(){return c},wk:function(){return l}});var n=i(64141),o=i(22075),r=i(63580),s=i(23193),a=i(89872);let l=Object.freeze({id:"editor",order:5,type:"object",title:r.NC("editorConfigurationTitle","Editor"),scope:5}),h=Object.assign(Object.assign({},l),{properties:{"editor.tabSize":{type:"number",default:o.D.tabSize,minimum:1,markdownDescription:r.NC("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.insertSpaces":{type:"boolean",default:o.D.insertSpaces,markdownDescription:r.NC("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.detectIndentation":{type:"boolean",default:o.D.detectIndentation,markdownDescription:r.NC("detectIndentation","Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.")},"editor.trimAutoWhitespace":{type:"boolean",default:o.D.trimAutoWhitespace,description:r.NC("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:o.D.largeFileOptimizations,description:r.NC("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:r.NC("wordBasedSuggestions","Controls whether completions should be computed based on words in the document.")},"editor.wordBasedSuggestionsMode":{enum:["currentDocument","matchingDocuments","allDocuments"],default:"matchingDocuments",enumDescriptions:[r.NC("wordBasedSuggestionsMode.currentDocument","Only suggest words from the active document."),r.NC("wordBasedSuggestionsMode.matchingDocuments","Suggest words from all open documents of the same language."),r.NC("wordBasedSuggestionsMode.allDocuments","Suggest words from all open documents.")],description:r.NC("wordBasedSuggestionsMode","Controls from which documents word based completions are computed.")},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[r.NC("semanticHighlighting.true","Semantic highlighting enabled for all color themes."),r.NC("semanticHighlighting.false","Semantic highlighting disabled for all color themes."),r.NC("semanticHighlighting.configuredByTheme","Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.")],default:"configuredByTheme",description:r.NC("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:r.NC("stablePeek","Keep peek editors open even when double clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:r.NC("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"editor.language.brackets":{type:["array","null"],default:null,description:r.NC("schema.brackets","Defines the bracket symbols that increase or decrease the indentation."),items:{type:"array",items:[{type:"string",description:r.NC("schema.openBracket","The opening bracket character or string sequence.")},{type:"string",description:r.NC("schema.closeBracket","The closing bracket character or string sequence.")}]}},"editor.language.colorizedBracketPairs":{type:["array","null"],default:null,description:r.NC("schema.colorizedBracketPairs","Defines the bracket pairs that are colorized by their nesting level if bracket pair colorization is enabled."),items:{type:"array",items:[{type:"string",description:r.NC("schema.openBracket","The opening bracket character or string sequence.")},{type:"string",description:r.NC("schema.closeBracket","The closing bracket character or string sequence.")}]}},"diffEditor.maxComputationTime":{type:"number",default:5e3,description:r.NC("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.maxFileSize":{type:"number",default:50,description:r.NC("maxFileSize","Maximum file size in MB for which to compute diffs. Use 0 for no limit.")},"diffEditor.renderSideBySide":{type:"boolean",default:!0,description:r.NC("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.renderMarginRevertIcon":{type:"boolean",default:!0,description:r.NC("renderMarginRevertIcon","When enabled, the diff editor shows arrows in its glyph margin to revert changes.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:!0,description:r.NC("ignoreTrimWhitespace","When enabled, the diff editor ignores changes in leading or trailing whitespace.")},"diffEditor.renderIndicators":{type:"boolean",default:!0,description:r.NC("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")},"diffEditor.codeLens":{type:"boolean",default:!1,description:r.NC("codeLens","Controls whether the editor shows CodeLens.")},"diffEditor.wordWrap":{type:"string",enum:["off","on","inherit"],default:"inherit",markdownEnumDescriptions:[r.NC("wordWrap.off","Lines will never wrap."),r.NC("wordWrap.on","Lines will wrap at the viewport width."),r.NC("wordWrap.inherit","Lines will wrap according to the `#editor.wordWrap#` setting.")]}}});for(let e of n.Bc){let t=e.schema;if(void 0!==t){if(void 0!==t.type||void 0!==t.anyOf)h.properties[`editor.${e.name}`]=t;else for(let e in t)Object.hasOwnProperty.call(t,e)&&(h.properties[e]=t[e])}}let d=null;function u(){return null===d&&(d=Object.create(null),Object.keys(h.properties).forEach(e=>{d[e]=!0})),d}function c(e){let t=u();return t[`editor.${e}`]||!1}function g(e){let t=u();return t[`diffEditor.${e}`]||!1}let p=a.B.as(s.IP.Configuration);p.registerConfiguration(h)},64141:function(e,t,i){"use strict";i.d(t,{$J:function(){return T},Av:function(){return A},BH:function(){return V},Bb:function(){return c},Bc:function(){return F},LJ:function(){return g},NY:function(){return k},O7:function(){return C},Zc:function(){return w},d2:function(){return o},gk:function(){return E},hL:function(){return P},n0:function(){return x},qt:function(){return R},rk:function(){return m},y0:function(){return u}});var n,o,r=i(63580),s=i(1432),a=i(270),l=i(9488),h=i(36248),d=i(22075);let u=8;class c{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class g{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class p{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return f(e,t)}compute(e,t,i){return i}}class m{constructor(e,t){this.newValue=e,this.didChange=t}}function f(e,t){if("object"!=typeof e||"object"!=typeof t||!e||!t)return new m(t,e!==t);if(Array.isArray(e)||Array.isArray(t)){let i=Array.isArray(e)&&Array.isArray(t)&&l.fS(e,t);return new m(t,!i)}let i=!1;for(let n in t)if(t.hasOwnProperty(n)){let o=f(e[n],t[n]);o.didChange&&(e[n]=o.newValue,i=!0)}return new m(e,i)}class _{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return f(e,t)}validate(e){return this.defaultValue}}class v{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return f(e,t)}validate(e){return void 0===e?this.defaultValue:e}compute(e,t,i){return i}}function C(e,t){return void 0===e?t:"false"!==e&&!!e}class b extends v{constructor(e,t,i,n){void 0!==n&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return C(e,this.defaultValue)}}function w(e,t,i,n){if(void 0===e)return t;let o=parseInt(e,10);return isNaN(o)?t:(o=Math.max(i,o),0|(o=Math.min(n,o)))}class y extends v{constructor(e,t,i,n,o,r){void 0!==r&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=o),super(e,t,i,r),this.minimum=n,this.maximum=o}static clampedInt(e,t,i,n){return w(e,t,i,n)}validate(e){return y.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}class S extends v{constructor(e,t,i,n,o){void 0!==o&&(o.type="number",o.default=i),super(e,t,i,o),this.validationFn=n}static clamp(e,t,i){return ei?i:e}static float(e,t){if("number"==typeof e)return e;if(void 0===e)return t;let i=parseFloat(e);return isNaN(i)?t:i}validate(e){return this.validationFn(S.float(e,this.defaultValue))}}class L extends v{static string(e,t){return"string"!=typeof e?t:e}constructor(e,t,i,n){void 0!==n&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return L.string(e,this.defaultValue)}}function k(e,t,i){return"string"!=typeof e||-1===i.indexOf(e)?t:e}class N extends v{constructor(e,t,i,n,o){void 0!==o&&(o.type="string",o.enum=n,o.default=i),super(e,t,i,o),this._allowedValues=n}validate(e){return k(e,this.defaultValue,this._allowedValues)}}class D extends p{constructor(e,t,i,n,o,r,s){void 0!==s&&(s.type="string",s.enum=o,s.default=n),super(e,t,i,s),this._allowedValues=o,this._convert=r}validate(e){return"string"!=typeof e||-1===this._allowedValues.indexOf(e)?this.defaultValue:this._convert(e)}}(n=o||(o={}))[n.Line=1]="Line",n[n.Block=2]="Block",n[n.Underline=3]="Underline",n[n.LineThin=4]="LineThin",n[n.BlockOutline=5]="BlockOutline",n[n.UnderlineThin=6]="UnderlineThin";class x extends p{constructor(){super(47,"fontLigatures",x.OFF,{anyOf:[{type:"boolean",description:r.NC("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:r.NC("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:r.NC("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return void 0===e?this.defaultValue:"string"==typeof e?"false"===e?x.OFF:"true"===e?x.ON:e:e?x.ON:x.OFF}}x.OFF='"liga" off, "calt" off',x.ON='"liga" on, "calt" on';class I extends p{constructor(){super(49,"fontWeight",P.fontWeight,{anyOf:[{type:"number",minimum:I.MINIMUM_VALUE,maximum:I.MAXIMUM_VALUE,errorMessage:r.NC("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:I.SUGGESTION_VALUES}],default:P.fontWeight,description:r.NC("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return"normal"===e||"bold"===e?e:String(y.clampedInt(e,P.fontWeight,I.MINIMUM_VALUE,I.MAXIMUM_VALUE))}}I.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],I.MINIMUM_VALUE=1,I.MAXIMUM_VALUE=1e3;class E extends _{constructor(){super(133)}compute(e,t,i){return E.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})}static computeContainedMinimapLineCount(e){let t=e.height/e.lineHeight,i=e.scrollBeyondLastLine?t-1:0,n=(e.viewLineCount+i)/(e.pixelRatio*e.height),o=Math.floor(e.viewLineCount/n);return{typicalViewportLineCount:t,extraLinesBeyondLastLine:i,desiredRatio:n,minimapLineCount:o}}static _computeMinimapLayout(e,t){let i=e.outerWidth,n=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};let r=t.stableMinimapLayoutInput,s=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,a=e.lineHeight,l=e.typicalHalfwidthCharacterWidth,h=e.scrollBeyondLastLine,d=e.minimap.renderCharacters,c=o>=2?Math.round(2*e.minimap.scale):e.minimap.scale,g=e.minimap.maxColumn,p=e.minimap.size,m=e.minimap.side,f=e.verticalScrollbarWidth,_=e.viewLineCount,v=e.remainingWidth,C=e.isViewportWrapping,b=d?2:3,w=Math.floor(o*n),y=w/o,S=!1,L=!1,k=b*c,N=c/o,D=1;if("fill"===p||"fit"===p){let{typicalViewportLineCount:i,extraLinesBeyondLastLine:r,desiredRatio:l,minimapLineCount:d}=E.computeContainedMinimapLineCount({viewLineCount:_,scrollBeyondLastLine:h,height:n,lineHeight:a,pixelRatio:o});if(_/d>1)S=!0,L=!0,k=1,N=(c=1)/o;else{let n=!1,h=c+1;if("fit"===p){let e=Math.ceil((_+r)*k);C&&s&&v<=t.stableFitRemainingWidth?(n=!0,h=t.stableFitMaxMinimapScale):n=e>w}if("fill"===p||n){S=!0;let n=c;k=Math.min(a*o,Math.max(1,Math.floor(1/l))),C&&s&&v<=t.stableFitRemainingWidth&&(h=t.stableFitMaxMinimapScale),(c=Math.min(h,Math.max(1,Math.floor(k/b))))>n&&(D=Math.min(2,c/n)),N=c/o/D,w=Math.ceil(Math.max(i,_+r)*k),C?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=v,t.stableFitMaxMinimapScale=c):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}let x=Math.floor(g*N),I=Math.min(x,Math.max(0,Math.floor((v-f-2)*N/(l+N)))+u),T=Math.floor(o*I),M=T/o;return{renderMinimap:d?1:2,minimapLeft:"left"===m?0:i-I-f,minimapWidth:I,minimapHeightIsEditorHeight:S,minimapIsSampling:L,minimapScale:c,minimapLineHeight:k,minimapCanvasInnerWidth:T=Math.floor(T*D),minimapCanvasInnerHeight:w,minimapCanvasOuterWidth:M,minimapCanvasOuterHeight:y}}static computeLayout(e,t){let i;let n=0|t.outerWidth,o=0|t.outerHeight,r=0|t.lineHeight,s=0|t.lineNumbersDigitCount,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,h=t.pixelRatio,d=t.viewLineCount,u=e.get(125),c="inherit"===u?e.get(124):u,p="inherit"===c?e.get(120):c,m=e.get(123),f=e.get(2),_=t.isDominatedByLongLines,v=e.get(52),C=0!==e.get(62).renderType,b=e.get(63),w=e.get(96),S=e.get(67),L=e.get(94),k=L.verticalScrollbarSize,N=L.verticalHasArrows,D=L.arrowSize,x=L.horizontalScrollbarSize,I=e.get(60),T=e.get(39),M="never"!==e.get(101);if("string"==typeof I&&/^\d+(\.\d+)?ch$/.test(I)){let e=parseFloat(I.substr(0,I.length-2));i=y.clampedInt(e*a,0,0,1e3)}else i=y.clampedInt(I,0,0,1e3);T&&M&&(i+=16);let A=0;C&&(A=Math.round(Math.max(s,b)*l));let R=0;v&&(R=r);let O=0,P=0+R,F=P+A,B=F+i,V=n-R-A-i,W=!1,H=!1,z=-1;2!==f&&("inherit"===c&&_?(W=!0,H=!0):"on"===p||"bounded"===p?H=!0:"wordWrapColumn"===p&&(z=m));let K=E._computeMinimapLayout({outerWidth:n,outerHeight:o,lineHeight:r,typicalHalfwidthCharacterWidth:a,pixelRatio:h,scrollBeyondLastLine:w,minimap:S,verticalScrollbarWidth:k,viewLineCount:d,remainingWidth:V,isViewportWrapping:H},t.memory||new g);0!==K.renderMinimap&&0===K.minimapLeft&&(O+=K.minimapWidth,P+=K.minimapWidth,F+=K.minimapWidth,B+=K.minimapWidth);let U=V-K.minimapWidth,$=Math.max(1,Math.floor((U-k-2)/a)),j=N?D:0;return H&&(z=Math.max(1,$),"bounded"===p&&(z=Math.min(z,m))),{width:n,height:o,glyphMarginLeft:O,glyphMarginWidth:R,lineNumbersLeft:P,lineNumbersWidth:A,decorationsLeft:F,decorationsWidth:i,contentLeft:B,contentWidth:U,minimap:K,viewportColumn:$,isWordWrapMinified:W,isViewportWrapping:H,wrappingColumn:z,verticalScrollbarWidth:k,horizontalScrollbarHeight:x,overviewRuler:{top:j,width:k,height:o-2*j,right:0}}}}function T(e){let t=e.get(89);return"editable"===t?e.get(83):"on"!==t}function M(e,t){if("string"!=typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}let A="inUntrustedWorkspace",R={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};function O(e,t,i){let n=i.indexOf(e);return -1===n?t:i[n]}let P={fontFamily:s.dz?"Menlo, Monaco, 'Courier New', monospace":s.IJ?"'Droid Sans Mono', 'monospace', monospace":"Consolas, 'Courier New', monospace",fontWeight:"normal",fontSize:s.dz?12:14,lineHeight:0,letterSpacing:0},F=[];function B(e){return F[e.id]=e,e}let V={acceptSuggestionOnCommitCharacter:B(new b(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:r.NC("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`; `) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:B(new N(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",r.NC("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:r.NC("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:B(new class extends p{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[r.NC("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),r.NC("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader. Word wrapping will be disabled."),r.NC("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:r.NC("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers. Setting to on will disable word wrapping.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return 0===i?e.accessibilitySupport:i}}),accessibilityPageSize:B(new y(3,"accessibilityPageSize",10,1,1073741824,{description:r.NC("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default.")})),ariaLabel:B(new L(4,"ariaLabel",r.NC("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:B(new N(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",r.NC("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),r.NC("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:r.NC("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingDelete:B(new N(6,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",r.NC("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:r.NC("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:B(new N(7,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",r.NC("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:r.NC("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:B(new N(8,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",r.NC("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),r.NC("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:r.NC("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:B(new D(9,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],function(e){switch(e){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}},{enumDescriptions:[r.NC("editor.autoIndent.none","The editor will not insert indentation automatically."),r.NC("editor.autoIndent.keep","The editor will keep the current line's indentation."),r.NC("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),r.NC("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),r.NC("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:r.NC("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:B(new b(10,"automaticLayout",!1)),autoSurround:B(new N(11,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[r.NC("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),r.NC("editor.autoSurround.quotes","Surround with quotes but not brackets."),r.NC("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:r.NC("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:B(new class extends p{constructor(){let e={enabled:d.D.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:d.D.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(12,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:r.NC("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:e.independentColorPoolPerBracketType,description:r.NC("bracketPairColorization.independentColorPoolPerBracketType","Controls whether each bracket type has its own independent color pool.")}})}validate(e){return e&&"object"==typeof e?{enabled:C(e.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:C(e.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}:this.defaultValue}}),bracketPairGuides:B(new class extends p{constructor(){let e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(13,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[r.NC("editor.guides.bracketPairs.true","Enables bracket pair guides."),r.NC("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),r.NC("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:r.NC("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[r.NC("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),r.NC("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),r.NC("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:r.NC("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:r.NC("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:r.NC("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[r.NC("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),r.NC("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),r.NC("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:r.NC("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){return e&&"object"==typeof e?{bracketPairs:O(e.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:O(e.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:C(e.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:C(e.indentation,this.defaultValue.indentation),highlightActiveIndentation:O(e.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}:this.defaultValue}}),stickyTabStops:B(new b(106,"stickyTabStops",!1,{description:r.NC("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:B(new b(14,"codeLens",!0,{description:r.NC("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:B(new L(15,"codeLensFontFamily","",{description:r.NC("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:B(new y(16,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:r.NC("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to `0`, 90% of `#editor.fontSize#` is used.")})),colorDecorators:B(new b(17,"colorDecorators",!0,{description:r.NC("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),columnSelection:B(new b(18,"columnSelection",!1,{description:r.NC("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:B(new class extends p{constructor(){let e={insertSpace:!0,ignoreEmptyLines:!0};super(19,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:r.NC("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:r.NC("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){return e&&"object"==typeof e?{insertSpace:C(e.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:C(e.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}:this.defaultValue}}),contextmenu:B(new b(20,"contextmenu",!0)),copyWithSyntaxHighlighting:B(new b(21,"copyWithSyntaxHighlighting",!0,{description:r.NC("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:B(new D(22,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],function(e){switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}},{description:r.NC("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:B(new b(23,"cursorSmoothCaretAnimation",!1,{description:r.NC("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:B(new D(24,"cursorStyle",o.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],function(e){switch(e){case"line":return o.Line;case"block":return o.Block;case"underline":return o.Underline;case"line-thin":return o.LineThin;case"block-outline":return o.BlockOutline;case"underline-thin":return o.UnderlineThin}},{description:r.NC("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:B(new y(25,"cursorSurroundingLines",0,0,1073741824,{description:r.NC("cursorSurroundingLines","Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:B(new N(26,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[r.NC("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),r.NC("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:r.NC("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:B(new y(27,"cursorWidth",0,0,1073741824,{markdownDescription:r.NC("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:B(new b(28,"disableLayerHinting",!1)),disableMonospaceOptimizations:B(new b(29,"disableMonospaceOptimizations",!1)),domReadOnly:B(new b(30,"domReadOnly",!1)),dragAndDrop:B(new b(31,"dragAndDrop",!0,{description:r.NC("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:B(new class extends b{constructor(){super(33,"emptySelectionClipboard",!0,{description:r.NC("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}),dropIntoEditor:B(new class extends p{constructor(){let e={enabled:!0};super(32,"dropIntoEditor",e,{"editor.dropIntoEditor.enabled":{type:"boolean",default:e.enabled,markdownDescription:r.NC("dropIntoEditor.enabled","Controls whether you can drag and drop a file into a text editor by holding down `shift` (instead of opening the file in an editor).")}})}validate(e){return e&&"object"==typeof e?{enabled:C(e.enabled,this.defaultValue.enabled)}:this.defaultValue}}),experimental:B(new class extends p{constructor(){let e={stickyScroll:{enabled:!1}};super(34,"experimental",e,{"editor.experimental.stickyScroll.enabled":{type:"boolean",default:e.stickyScroll.enabled,description:r.NC("editor.experimental.stickyScroll","Shows the nested current scopes during the scroll at the top of the editor.")}})}validate(e){var t;return e&&"object"==typeof e?{stickyScroll:{enabled:C(null===(t=e.stickyScroll)||void 0===t?void 0:t.enabled,this.defaultValue.stickyScroll.enabled)}}:this.defaultValue}}),extraEditorClassName:B(new L(35,"extraEditorClassName","")),fastScrollSensitivity:B(new S(36,"fastScrollSensitivity",5,e=>e<=0?5:e,{markdownDescription:r.NC("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:B(new class extends p{constructor(){let e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(37,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:r.NC("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[r.NC("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),r.NC("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),r.NC("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:r.NC("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[r.NC("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),r.NC("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),r.NC("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:r.NC("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:r.NC("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:s.dz},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:r.NC("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:r.NC("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){return e&&"object"==typeof e?{cursorMoveOnType:C(e.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:"boolean"==typeof e.seedSearchStringFromSelection?e.seedSearchStringFromSelection?"always":"never":k(e.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:"boolean"==typeof e.autoFindInSelection?e.autoFindInSelection?"always":"never":k(e.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:C(e.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:C(e.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:C(e.loop,this.defaultValue.loop)}:this.defaultValue}}),fixedOverflowWidgets:B(new b(38,"fixedOverflowWidgets",!1)),folding:B(new b(39,"folding",!0,{description:r.NC("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:B(new N(40,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[r.NC("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),r.NC("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:r.NC("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:B(new b(41,"foldingHighlight",!0,{description:r.NC("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:B(new b(42,"foldingImportsByDefault",!1,{description:r.NC("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:B(new y(43,"foldingMaximumRegions",5e3,10,65e3,{description:r.NC("foldingMaximumRegions","The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.")})),unfoldOnClickAfterEndOfLine:B(new b(44,"unfoldOnClickAfterEndOfLine",!1,{description:r.NC("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:B(new L(45,"fontFamily",P.fontFamily,{description:r.NC("fontFamily","Controls the font family.")})),fontInfo:B(new class extends _{constructor(){super(46)}compute(e,t,i){return e.fontInfo}}),fontLigatures2:B(new x),fontSize:B(new class extends v{constructor(){super(48,"fontSize",P.fontSize,{type:"number",minimum:6,maximum:100,default:P.fontSize,description:r.NC("fontSize","Controls the font size in pixels.")})}validate(e){let t=S.float(e,this.defaultValue);return 0===t?P.fontSize:S.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}),fontWeight:B(new I),formatOnPaste:B(new b(50,"formatOnPaste",!1,{description:r.NC("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:B(new b(51,"formatOnType",!1,{description:r.NC("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:B(new b(52,"glyphMargin",!0,{description:r.NC("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:B(new class extends p{constructor(){let e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[r.NC("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),r.NC("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),r.NC("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(53,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:r.NC("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:r.NC("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:r.NC("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleDeclarations":Object.assign({description:r.NC("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleImplementations":Object.assign({description:r.NC("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleReferences":Object.assign({description:r.NC("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},t),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:r.NC("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:r.NC("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:r.NC("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:r.NC("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:r.NC("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,i,n,o,r;return e&&"object"==typeof e?{multiple:k(e.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:null!==(t=e.multipleDefinitions)&&void 0!==t?t:k(e.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:null!==(i=e.multipleTypeDefinitions)&&void 0!==i?i:k(e.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:null!==(n=e.multipleDeclarations)&&void 0!==n?n:k(e.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:null!==(o=e.multipleImplementations)&&void 0!==o?o:k(e.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:null!==(r=e.multipleReferences)&&void 0!==r?r:k(e.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:L.string(e.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:L.string(e.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:L.string(e.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:L.string(e.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:L.string(e.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}:this.defaultValue}}),hideCursorInOverviewRuler:B(new b(54,"hideCursorInOverviewRuler",!1,{description:r.NC("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:B(new class extends p{constructor(){let e={enabled:!0,delay:300,sticky:!0,above:!0};super(55,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:r.NC("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:r.NC("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:r.NC("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.above":{type:"boolean",default:e.above,description:r.NC("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){return e&&"object"==typeof e?{enabled:C(e.enabled,this.defaultValue.enabled),delay:y.clampedInt(e.delay,this.defaultValue.delay,0,1e4),sticky:C(e.sticky,this.defaultValue.sticky),above:C(e.above,this.defaultValue.above)}:this.defaultValue}}),inDiffEditor:B(new b(56,"inDiffEditor",!1)),letterSpacing:B(new S(58,"letterSpacing",P.letterSpacing,e=>S.clamp(e,-5,20),{description:r.NC("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:B(new class extends p{constructor(){let e={enabled:!0};super(59,"lightbulb",e,{"editor.lightbulb.enabled":{type:"boolean",default:e.enabled,description:r.NC("codeActions","Enables the code action lightbulb in the editor.")}})}validate(e){return e&&"object"==typeof e?{enabled:C(e.enabled,this.defaultValue.enabled)}:this.defaultValue}}),lineDecorationsWidth:B(new v(60,"lineDecorationsWidth",10)),lineHeight:B(new class extends S{constructor(){super(61,"lineHeight",P.lineHeight,e=>S.clamp(e,0,150),{markdownDescription:r.NC("lineHeight","Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values.")})}compute(e,t,i){return e.fontInfo.lineHeight}}),lineNumbers:B(new class extends p{constructor(){super(62,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[r.NC("lineNumbers.off","Line numbers are not rendered."),r.NC("lineNumbers.on","Line numbers are rendered as absolute number."),r.NC("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),r.NC("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:r.NC("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,i=this.defaultValue.renderFn;return void 0!==e&&("function"==typeof e?(t=4,i=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:i}}}),lineNumbersMinChars:B(new y(63,"lineNumbersMinChars",5,1,300)),linkedEditing:B(new b(64,"linkedEditing",!1,{description:r.NC("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols, e.g. HTML tags, are updated while editing.")})),links:B(new b(65,"links",!0,{description:r.NC("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:B(new N(66,"matchBrackets","always",["always","near","never"],{description:r.NC("matchBrackets","Highlight matching brackets.")})),minimap:B(new class extends p{constructor(){let e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1};super(67,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:r.NC("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:r.NC("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[r.NC("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),r.NC("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),r.NC("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:r.NC("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:r.NC("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:r.NC("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:r.NC("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:r.NC("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:r.NC("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(e){return e&&"object"==typeof e?{enabled:C(e.enabled,this.defaultValue.enabled),autohide:C(e.autohide,this.defaultValue.autohide),size:k(e.size,this.defaultValue.size,["proportional","fill","fit"]),side:k(e.side,this.defaultValue.side,["right","left"]),showSlider:k(e.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:C(e.renderCharacters,this.defaultValue.renderCharacters),scale:y.clampedInt(e.scale,1,1,3),maxColumn:y.clampedInt(e.maxColumn,this.defaultValue.maxColumn,1,1e4)}:this.defaultValue}}),mouseStyle:B(new N(68,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:B(new S(69,"mouseWheelScrollSensitivity",1,e=>0===e?1:e,{markdownDescription:r.NC("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:B(new b(70,"mouseWheelZoom",!1,{markdownDescription:r.NC("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:B(new b(71,"multiCursorMergeOverlapping",!0,{description:r.NC("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:B(new D(72,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],function(e){return"ctrlCmd"===e?s.dz?"metaKey":"ctrlKey":"altKey"},{markdownEnumDescriptions:[r.NC("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),r.NC("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:r.NC({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:B(new N(73,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[r.NC("multiCursorPaste.spread","Each cursor pastes a single line of the text."),r.NC("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:r.NC("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),occurrencesHighlight:B(new b(74,"occurrencesHighlight",!0,{description:r.NC("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:B(new b(75,"overviewRulerBorder",!0,{description:r.NC("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:B(new y(76,"overviewRulerLanes",3,0,3)),padding:B(new class extends p{constructor(){super(77,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:r.NC("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:r.NC("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){return e&&"object"==typeof e?{top:y.clampedInt(e.top,0,0,1e3),bottom:y.clampedInt(e.bottom,0,0,1e3)}:this.defaultValue}}),parameterHints:B(new class extends p{constructor(){let e={enabled:!0,cycle:!1};super(78,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:r.NC("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:r.NC("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){return e&&"object"==typeof e?{enabled:C(e.enabled,this.defaultValue.enabled),cycle:C(e.cycle,this.defaultValue.cycle)}:this.defaultValue}}),peekWidgetDefaultFocus:B(new N(79,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[r.NC("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),r.NC("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:r.NC("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:B(new b(80,"definitionLinkOpensInPeek",!1,{description:r.NC("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:B(new class extends p{constructor(){let e={other:"on",comments:"off",strings:"off"},t=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[r.NC("on","Quick suggestions show inside the suggest widget"),r.NC("inline","Quick suggestions show as ghost text"),r.NC("off","Quick suggestions are disabled")]}];super(81,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:r.NC("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:t,default:e.comments,description:r.NC("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:t,default:e.other,description:r.NC("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:r.NC("quickSuggestions","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the '{0}'-setting which controls if suggestions are triggered by special characters.","#editor.suggestOnTriggerCharacters#")}),this.defaultValue=e}validate(e){if("boolean"==typeof e){let t=e?"on":"off";return{comments:t,strings:t,other:t}}if(!e||"object"!=typeof e)return this.defaultValue;let{other:t,comments:i,strings:n}=e,o=["on","inline","off"];return{other:"boolean"==typeof t?t?"on":"off":k(t,this.defaultValue.other,o),comments:"boolean"==typeof i?i?"on":"off":k(i,this.defaultValue.comments,o),strings:"boolean"==typeof n?n?"on":"off":k(n,this.defaultValue.strings,o)}}}),quickSuggestionsDelay:B(new y(82,"quickSuggestionsDelay",10,0,1073741824,{description:r.NC("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:B(new b(83,"readOnly",!1)),renameOnType:B(new b(84,"renameOnType",!1,{description:r.NC("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:r.NC("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:B(new b(85,"renderControlCharacters",!0,{description:r.NC("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:B(new b(86,"renderFinalNewline",!0,{description:r.NC("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:B(new N(87,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",r.NC("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:r.NC("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:B(new b(88,"renderLineHighlightOnlyWhenFocus",!1,{description:r.NC("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:B(new N(89,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:B(new N(90,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",r.NC("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),r.NC("renderWhitespace.selection","Render whitespace characters only on selected text."),r.NC("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:r.NC("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:B(new y(91,"revealHorizontalRightPadding",30,0,1e3)),roundedSelection:B(new b(92,"roundedSelection",!0,{description:r.NC("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:B(new class extends p{constructor(){let e=[],t={type:"number",description:r.NC("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(93,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:r.NC("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:r.NC("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){let t=[];for(let i of e)"number"==typeof i?t.push({column:y.clampedInt(i,0,0,1e4),color:null}):i&&"object"==typeof i&&t.push({column:y.clampedInt(i.column,0,0,1e4),color:i.color});return t.sort((e,t)=>e.column-t.column),t}return this.defaultValue}}),scrollbar:B(new class extends p{constructor(){let e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1};super(94,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[r.NC("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),r.NC("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),r.NC("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:r.NC("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[r.NC("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),r.NC("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),r.NC("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:r.NC("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:r.NC("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:r.NC("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:r.NC("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;let t=y.clampedInt(e.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),i=y.clampedInt(e.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:y.clampedInt(e.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:M(e.vertical,this.defaultValue.vertical),horizontal:M(e.horizontal,this.defaultValue.horizontal),useShadows:C(e.useShadows,this.defaultValue.useShadows),verticalHasArrows:C(e.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:C(e.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:C(e.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:C(e.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:t,horizontalSliderSize:y.clampedInt(e.horizontalSliderSize,t,0,1e3),verticalScrollbarSize:i,verticalSliderSize:y.clampedInt(e.verticalSliderSize,i,0,1e3),scrollByPage:C(e.scrollByPage,this.defaultValue.scrollByPage)}}}),scrollBeyondLastColumn:B(new y(95,"scrollBeyondLastColumn",4,0,1073741824,{description:r.NC("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:B(new b(96,"scrollBeyondLastLine",!0,{description:r.NC("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:B(new b(97,"scrollPredominantAxis",!0,{description:r.NC("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:B(new b(98,"selectionClipboard",!0,{description:r.NC("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:s.IJ})),selectionHighlight:B(new b(99,"selectionHighlight",!0,{description:r.NC("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:B(new b(100,"selectOnLineNumbers",!0)),showFoldingControls:B(new N(101,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[r.NC("showFoldingControls.always","Always show the folding controls."),r.NC("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),r.NC("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:r.NC("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:B(new b(102,"showUnused",!0,{description:r.NC("showUnused","Controls fading out of unused code.")})),showDeprecated:B(new b(128,"showDeprecated",!0,{description:r.NC("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:B(new class extends p{constructor(){let e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(129,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:r.NC("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[r.NC("editor.inlayHints.on","Inlay hints are enabled"),r.NC("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding `Ctrl+Alt`"),r.NC("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding `Ctrl+Alt`"),r.NC("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:r.NC("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:r.NC("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:r.NC("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){return e&&"object"==typeof e?("boolean"==typeof e.enabled&&(e.enabled=e.enabled?"on":"off"),{enabled:k(e.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:y.clampedInt(e.fontSize,this.defaultValue.fontSize,0,100),fontFamily:L.string(e.fontFamily,this.defaultValue.fontFamily),padding:C(e.padding,this.defaultValue.padding)}):this.defaultValue}}),snippetSuggestions:B(new N(103,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[r.NC("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),r.NC("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),r.NC("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),r.NC("snippetSuggestions.none","Do not show snippet suggestions.")],description:r.NC("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:B(new class extends p{constructor(){super(104,"smartSelect",{selectLeadingAndTrailingWhitespace:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:r.NC("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"}})}validate(e){return e&&"object"==typeof e?{selectLeadingAndTrailingWhitespace:C(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace)}:this.defaultValue}}),smoothScrolling:B(new b(105,"smoothScrolling",!1,{description:r.NC("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:B(new y(107,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:B(new class extends p{constructor(){let e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(108,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[r.NC("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),r.NC("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:r.NC("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:r.NC("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:r.NC("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:r.NC("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:r.NC("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:r.NC("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:r.NC("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:r.NC("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:r.NC("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:r.NC("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:r.NC("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:r.NC("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){return e&&"object"==typeof e?{insertMode:k(e.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:C(e.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:C(e.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:C(e.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:C(e.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:C(e.showIcons,this.defaultValue.showIcons),showStatusBar:C(e.showStatusBar,this.defaultValue.showStatusBar),preview:C(e.preview,this.defaultValue.preview),previewMode:k(e.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:C(e.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:C(e.showMethods,this.defaultValue.showMethods),showFunctions:C(e.showFunctions,this.defaultValue.showFunctions),showConstructors:C(e.showConstructors,this.defaultValue.showConstructors),showDeprecated:C(e.showDeprecated,this.defaultValue.showDeprecated),showFields:C(e.showFields,this.defaultValue.showFields),showVariables:C(e.showVariables,this.defaultValue.showVariables),showClasses:C(e.showClasses,this.defaultValue.showClasses),showStructs:C(e.showStructs,this.defaultValue.showStructs),showInterfaces:C(e.showInterfaces,this.defaultValue.showInterfaces),showModules:C(e.showModules,this.defaultValue.showModules),showProperties:C(e.showProperties,this.defaultValue.showProperties),showEvents:C(e.showEvents,this.defaultValue.showEvents),showOperators:C(e.showOperators,this.defaultValue.showOperators),showUnits:C(e.showUnits,this.defaultValue.showUnits),showValues:C(e.showValues,this.defaultValue.showValues),showConstants:C(e.showConstants,this.defaultValue.showConstants),showEnums:C(e.showEnums,this.defaultValue.showEnums),showEnumMembers:C(e.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:C(e.showKeywords,this.defaultValue.showKeywords),showWords:C(e.showWords,this.defaultValue.showWords),showColors:C(e.showColors,this.defaultValue.showColors),showFiles:C(e.showFiles,this.defaultValue.showFiles),showReferences:C(e.showReferences,this.defaultValue.showReferences),showFolders:C(e.showFolders,this.defaultValue.showFolders),showTypeParameters:C(e.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:C(e.showSnippets,this.defaultValue.showSnippets),showUsers:C(e.showUsers,this.defaultValue.showUsers),showIssues:C(e.showIssues,this.defaultValue.showIssues)}:this.defaultValue}}),inlineSuggest:B(new class extends p{constructor(){let e={enabled:!0,mode:"subwordSmart"};super(57,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:r.NC("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")}})}validate(e){return e&&"object"==typeof e?{enabled:C(e.enabled,this.defaultValue.enabled),mode:k(e.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"])}:this.defaultValue}}),suggestFontSize:B(new y(109,"suggestFontSize",0,0,1e3,{markdownDescription:r.NC("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:B(new y(110,"suggestLineHeight",0,0,1e3,{markdownDescription:r.NC("suggestLineHeight","Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:B(new b(111,"suggestOnTriggerCharacters",!0,{description:r.NC("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:B(new N(112,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[r.NC("suggestSelection.first","Always select the first suggestion."),r.NC("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),r.NC("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:r.NC("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:B(new N(113,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[r.NC("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),r.NC("tabCompletion.off","Disable tab completions."),r.NC("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:r.NC("tabCompletion","Enables tab completions.")})),tabIndex:B(new y(114,"tabIndex",0,-1,1073741824)),unicodeHighlight:B(new class extends p{constructor(){let e={nonBasicASCII:A,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:A,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(115,"unicodeHighlight",e,{[R.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,A],default:e.nonBasicASCII,description:r.NC("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[R.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:r.NC("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[R.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:r.NC("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[R.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,A],default:e.includeComments,description:r.NC("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to unicode highlighting.")},[R.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,A],default:e.includeStrings,description:r.NC("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to unicode highlighting.")},[R.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:r.NC("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[R.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:r.NC("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,t){let i=!1;t.allowedCharacters&&e&&!h.fS(e.allowedCharacters,t.allowedCharacters)&&(e=Object.assign(Object.assign({},e),{allowedCharacters:t.allowedCharacters}),i=!0),t.allowedLocales&&e&&!h.fS(e.allowedLocales,t.allowedLocales)&&(e=Object.assign(Object.assign({},e),{allowedLocales:t.allowedLocales}),i=!0);let n=super.applyUpdate(e,t);return i?new m(n.newValue,!0):n}validate(e){return e&&"object"==typeof e?{nonBasicASCII:O(e.nonBasicASCII,A,[!0,!1,A]),invisibleCharacters:C(e.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:C(e.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:O(e.includeComments,A,[!0,!1,A]),includeStrings:O(e.includeStrings,A,[!0,!1,A]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}:this.defaultValue}validateBooleanMap(e,t){if("object"!=typeof e||!e)return t;let i={};for(let[t,n]of Object.entries(e))!0===n&&(i[t]=!0);return i}}),unusualLineTerminators:B(new N(116,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[r.NC("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),r.NC("unusualLineTerminators.off","Unusual line terminators are ignored."),r.NC("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:r.NC("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:B(new b(117,"useShadowDOM",!0)),useTabStops:B(new b(118,"useTabStops",!0,{description:r.NC("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:B(new L(119,"wordSeparators",a.vu,{description:r.NC("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:B(new N(120,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[r.NC("wordWrap.off","Lines will never wrap."),r.NC("wordWrap.on","Lines will wrap at the viewport width."),r.NC({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),r.NC({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:r.NC({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:B(new L(121,"wordWrapBreakAfterCharacters"," })]?|/&.,;\xa2\xb0′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:B(new L(122,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「\xa3\xa5$£¥++")),wordWrapColumn:B(new y(123,"wordWrapColumn",80,1,1073741824,{markdownDescription:r.NC({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:B(new N(124,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:B(new N(125,"wordWrapOverride2","inherit",["off","on","inherit"])),wrappingIndent:B(new D(126,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],function(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}},{enumDescriptions:[r.NC("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),r.NC("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),r.NC("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),r.NC("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:r.NC("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:B(new N(127,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[r.NC("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),r.NC("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:r.NC("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:B(new class extends _{constructor(){super(130)}compute(e,t,i){let n=["monaco-editor"];return t.get(35)&&n.push(t.get(35)),e.extraEditorClassName&&n.push(e.extraEditorClassName),"default"===t.get(68)?n.push("mouse-default"):"copy"===t.get(68)&&n.push("mouse-copy"),t.get(102)&&n.push("showUnused"),t.get(128)&&n.push("showDeprecated"),n.join(" ")}}),pixelRatio:B(new class extends _{constructor(){super(131)}compute(e,t,i){return e.pixelRatio}}),tabFocusMode:B(new class extends _{constructor(){super(132)}compute(e,t,i){let n=t.get(83);return!!n||e.tabFocusMode}}),layoutInfo:B(new E),wrappingInfo:B(new class extends _{constructor(){super(134)}compute(e,t,i){let n=t.get(133);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:n.isWordWrapMinified,isViewportWrapping:n.isViewportWrapping,wrappingColumn:n.wrappingColumn}}})}},82334:function(e,t,i){"use strict";i.d(t,{C:function(){return o}});var n=i(4669);let o=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new n.Q5,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}},27374:function(e,t,i){"use strict";i.d(t,{E4:function(){return a},pR:function(){return l}});var n=i(1432),o=i(64141),r=i(82334);let s=n.dz?1.5:1.35;class a{constructor(e){this._bareFontInfoBrand=void 0,this.pixelRatio=e.pixelRatio,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.lineHeight=0|e.lineHeight,this.letterSpacing=e.letterSpacing}static createFromValidatedSettings(e,t,i){let n=e.get(45),o=e.get(49),r=e.get(48),s=e.get(47),l=e.get(61),h=e.get(58);return a._create(n,o,r,s,l,h,t,i)}static _create(e,t,i,n,o,l,h,d){0===o?o=s*i:o<8&&(o*=i),(o=Math.round(o))<8&&(o=8);let u=1+(d?0:.1*r.C.getZoomLevel());return i*=u,o*=u,new a({pixelRatio:h,fontFamily:e,fontWeight:t,fontSize:i,fontFeatureSettings:n,lineHeight:o,letterSpacing:l})}getId(){return`${this.pixelRatio}-${this.fontFamily}-${this.fontWeight}-${this.fontSize}-${this.fontFeatureSettings}-${this.lineHeight}-${this.letterSpacing}`}getMassagedFontFamily(){let e=o.hL.fontFamily,t=a._wrapInQuotes(this.fontFamily);return e&&this.fontFamily!==e?`${t}, ${e}`:t}static _wrapInQuotes(e){return/[,"']/.test(e)?e:/[+ ]/.test(e)?`"${e}"`:e}}class l extends a{constructor(e,t){super(e),this._editorStylingBrand=void 0,this.version=1,this.isTrusted=t,this.isMonospace=e.isMonospace,this.typicalHalfwidthCharacterWidth=e.typicalHalfwidthCharacterWidth,this.typicalFullwidthCharacterWidth=e.typicalFullwidthCharacterWidth,this.canUseHalfwidthRightwardsArrow=e.canUseHalfwidthRightwardsArrow,this.spaceWidth=e.spaceWidth,this.middotWidth=e.middotWidth,this.wsmiddotWidth=e.wsmiddotWidth,this.maxDigitWidth=e.maxDigitWidth}equals(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.maxDigitWidth===e.maxDigitWidth}}},44906:function(e,t,i){"use strict";i.d(t,{N:function(){return o},q:function(){return r}});var n=i(85427);class o{constructor(e){let t=(0,n.K)(e);this._defaultValue=t,this._asciiMap=o._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);for(let i=0;i<256;i++)t[i]=e;return t}set(e,t){let i=(0,n.K)(t);e>=0&&e<256?this._asciiMap[e]=i:this._map.set(e,i)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class r{constructor(){this._actual=new o(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}}},7988:function(e,t,i){"use strict";i.d(t,{i:function(){return o}});var n=i(97295);class o{static _nextVisibleColumn(e,t,i){return 9===e?o.nextRenderTabStop(t,i):n.K7(e)||n.C8(e)?t+2:t+1}static visibleColumnFromColumn(e,t,i){let o=Math.min(t-1,e.length),r=e.substring(0,o),s=new n.W1(r),a=0;for(;!s.eol();){let e=n.ZH(r,o,s.offset);s.nextGraphemeLength(),a=this._nextVisibleColumn(e,a,i)}return a}static columnFromVisibleColumn(e,t,i){if(t<=0)return 1;let o=e.length,r=new n.W1(e),s=0,a=1;for(;!r.eol();){let l=n.ZH(e,o,r.offset);r.nextGraphemeLength();let h=this._nextVisibleColumn(l,s,i),d=r.offset+1;if(h>=t){let e=t-s,i=h-t;if(i{let i=e.getColor(r.cvW);i&&t.addRule(`.monaco-editor, .monaco-editor-background { background-color: ${i}; }`);let n=e.getColor(l),o=n&&!n.isTransparent()?n:i;o&&t.addRule(`.monaco-editor .inputarea.ime-input { background-color: ${o}; }`);let s=e.getColor(r.NOs);s&&t.addRule(`.monaco-editor, .monaco-editor .inputarea.ime-input { color: ${s}; }`);let h=e.getColor(D);h&&t.addRule(`.monaco-editor .margin { background-color: ${h}; }`);let p=e.getColor(d);p&&t.addRule(`.monaco-editor .rangeHighlight { background-color: ${p}; }`);let m=e.getColor(u);m&&t.addRule(`.monaco-editor .rangeHighlight { border: 1px ${(0,a.c3)(e.type)?"dotted":"solid"} ${m}; }`);let _=e.getColor(c);_&&t.addRule(`.monaco-editor .symbolHighlight { background-color: ${_}; }`);let v=e.getColor(g);v&&t.addRule(`.monaco-editor .symbolHighlight { border: 1px ${(0,a.c3)(e.type)?"dotted":"solid"} ${v}; }`);let C=e.getColor(f);C&&(t.addRule(`.monaco-editor .mtkw { color: ${C} !important; }`),t.addRule(`.monaco-editor .mtkz { color: ${C} !important; }`))})},23795:function(e,t,i){"use strict";function n(e){let t=0,i=0,n=0,o=0;for(let r=0,s=e.length;ri||e===i&&t>n?(this.startLineNumber=i,this.startColumn=n,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=i,this.endColumn=n)}isEmpty(){return o.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return o.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))}containsRange(e){return o.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))}strictContainsRange(e){return o.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))}plusRange(e){return o.plusRange(this,e)}static plusRange(e,t){let i,n,r,s;return t.startLineNumbere.endLineNumber?(r=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(r=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(r=e.endLineNumber,s=e.endColumn),new o(i,n,r,s)}intersectRanges(e){return o.intersectRanges(this,e)}static intersectRanges(e,t){let i=e.startLineNumber,n=e.startColumn,r=e.endLineNumber,s=e.endColumn,a=t.startLineNumber,l=t.startColumn,h=t.endLineNumber,d=t.endColumn;return(ih?(r=h,s=d):r===h&&(s=Math.min(s,d)),i>r||i===r&&n>s)?null:new o(i,n,r,s)}equalsRange(e){return o.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return o.getEndPosition(this)}static getEndPosition(e){return new n.L(e.endLineNumber,e.endColumn)}getStartPosition(){return o.getStartPosition(this)}static getStartPosition(e){return new n.L(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new o(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new o(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return o.collapseToStart(this)}static collapseToStart(e){return new o(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new o(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}},3860:function(e,t,i){"use strict";i.d(t,{Y:function(){return r}});var n=i(50187),o=i(24314);class r extends o.e{constructor(e,t,i,n){super(e,t,i,n),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=i,this.positionColumn=n}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return r.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new r(this.startLineNumber,this.startColumn,e,t):new r(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new n.L(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new n.L(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new r(e,t,this.endLineNumber,this.endColumn):new r(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new r(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new r(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new r(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new r(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let i=0,n=e.length;inew m(e),a=function(e,t,i){let n=new Uint16Array(e.buffer,t,i);return i>0&&(65279===n[0]||65534===n[0])?p(e,t,i):u().decode(n)}):(s=e=>new f,a=p);class m{constructor(e){this._capacity=0|e,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}reset(){this._completedStrings=null,this._bufferLength=0}build(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()}_buildBuffer(){if(0===this._bufferLength)return"";let e=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return c().decode(e)}_flushBuffer(){let e=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e}write1(e){let t=this._capacity-this._bufferLength;t<=1&&(0===t||l.ZG(e))&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCII(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCIIString(e){let t=e.length;if(this._bufferLength+t>=this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=e;return}for(let i=0;i(t.hasOwnProperty(i)||(t[i]=e(i)),t[i])}(e=>new o(e))},270:function(e,t,i){"use strict";i.d(t,{Af:function(){return s},eq:function(){return a},t2:function(){return function e(t,i,o,r,s){if(s||(s=n.$.first(l)),o.length>s.maxLen){let n=t-s.maxLen/2;return n<0?n=0:r+=n,o=o.substring(n,t+s.maxLen/2),e(t,i,o,r,s)}let a=Date.now(),h=t-1-r,d=-1,u=null;for(let e=1;!(Date.now()-a>=s.timeBudget);e++){let t=h-s.windowSize*e;i.lastIndex=Math.max(0,t);let n=function(e,t,i,n){let o;for(;o=e.exec(t);){let t=o.index||0;if(t<=i&&e.lastIndex>=i)return o;if(n>0&&t>n)break}return null}(i,o,h,d);if(!n&&u||(u=n,t<=0))break;d=t}if(u){let e={word:u[0],startColumn:r+1+u.index,endColumn:r+1+u.index+u[0].length};return i.lastIndex=0,e}return null}},vu:function(){return r}});var n=i(53725),o=i(91741);let r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",s=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(let i of r)e.indexOf(i)>=0||(t+="\\"+i);return RegExp(t+="\\s]+)","g")}();function a(e){let t=s;if(e&&e instanceof RegExp){if(e.global)t=e;else{let i="g";e.ignoreCase&&(i+="i"),e.multiline&&(i+="m"),e.unicode&&(i+="u"),t=new RegExp(e.source,i)}}return t.lastIndex=0,t}let l=new o.S;l.unshift({maxLen:1e3,windowSize:15,timeBudget:150})},47128:function(e,t,i){"use strict";i.d(t,{l:function(){return o}});var n=i(7988);class o{static whitespaceVisibleColumn(e,t,i){let o=e.length,r=0,s=-1,a=-1;for(let l=0;l=u.length+1)return!1;let c=u.charAt(d.column-2),g=n.get(c);if(!g)return!1;if((0,r.LN)(c)){if("never"===i)return!1}else if("never"===t)return!1;let p=u.charAt(d.column-1),m=!1;for(let e of g)e.open===c&&e.close===p&&(m=!0);if(!m)return!1;if("auto"===e){let e=!1;for(let t=0,i=a.length;t1){let e=t.getLineContent(o.lineNumber),r=n.LC(e),a=-1===r?e.length+1:r+1;if(o.column<=a){let e=i.visibleColumnFromColumn(t,o),n=s.i.prevIndentTabStop(e,i.indentSize),r=i.columnFromVisibleColumn(t,o.lineNumber,n);return new l.e(o.lineNumber,r,o.lineNumber,o.column)}}return l.e.fromPositions(d.getPositionAfterDeleteLeft(o,t),o)}static getPositionAfterDeleteLeft(e,t){if(e.column>1){let i=n.oH(e.column-1,t.getLineContent(e.lineNumber));return e.with(void 0,i+1)}if(!(e.lineNumber>1))return e;{let i=e.lineNumber-1;return new h.L(i,t.getLineMaxColumn(i))}}static cut(e,t,i){let n=[],s=null;i.sort((e,t)=>h.L.compare(e.getStartPosition(),t.getEndPosition()));for(let r=0,a=i.length;r1&&(null==s?void 0:s.endLineNumber)!==u.lineNumber?(e=u.lineNumber-1,i=t.getLineMaxColumn(u.lineNumber-1),h=u.lineNumber,d=t.getLineMaxColumn(u.lineNumber)):(e=u.lineNumber,i=1,h=u.lineNumber,d=t.getLineMaxColumn(u.lineNumber));let c=new l.e(e,i,h,d);s=c,c.isEmpty()?n[r]=null:n[r]=new o.T4(c,"")}else n[r]=null}else n[r]=new o.T4(a,"")}return new r.Tp(0,n,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}},28108:function(e,t,i){"use strict";i.d(t,{N:function(){return o},P:function(){return u}});var n,o,r=i(98401),s=i(55343),a=i(10839),l=i(92896),h=i(50187),d=i(24314);class u{static addCursorDown(e,t,i){let n=[],o=0;for(let r=0,l=t.length;rt&&(i=t,n=e.model.getLineMaxColumn(i)),s.Vi.fromModelState(new s.rS(new d.e(r.lineNumber,1,i,n),0,new h.L(i,n),0))}let l=t.modelState.selectionStart.getStartPosition().lineNumber;if(r.lineNumberl){let i=e.getLineCount(),n=a.lineNumber+1,o=1;return n>i&&(n=i,o=e.getLineMaxColumn(n)),s.Vi.fromViewState(t.viewState.move(t.modelState.hasSelection(),n,o,0))}{let e=t.modelState.selectionStart.getEndPosition();return s.Vi.fromModelState(t.modelState.move(t.modelState.hasSelection(),e.lineNumber,e.column,0))}}static word(e,t,i,n){let o=e.model.validatePosition(n);return s.Vi.fromModelState(l.w.word(e.cursorConfig,e.model,t.modelState,i,o))}static cancelSelection(e,t){if(!t.modelState.hasSelection())return new s.Vi(t.modelState,t.viewState);let i=t.viewState.position.lineNumber,n=t.viewState.position.column;return s.Vi.fromViewState(new s.rS(new d.e(i,n,i,n),0,new h.L(i,n),0))}static moveTo(e,t,i,n,o){let r=e.model.validatePosition(n),a=o?e.coordinatesConverter.validateViewPosition(new h.L(o.lineNumber,o.column),r):e.coordinatesConverter.convertModelPositionToViewPosition(r);return s.Vi.fromViewState(t.viewState.move(i,a.lineNumber,a.column,0))}static simpleMove(e,t,i,n,o,r){switch(i){case 0:if(4===r)return this._moveHalfLineLeft(e,t,n);return this._moveLeft(e,t,n,o);case 1:if(4===r)return this._moveHalfLineRight(e,t,n);return this._moveRight(e,t,n,o);case 2:if(2===r)return this._moveUpByViewLines(e,t,n,o);return this._moveUpByModelLines(e,t,n,o);case 3:if(2===r)return this._moveDownByViewLines(e,t,n,o);return this._moveDownByModelLines(e,t,n,o);case 4:if(2===r)return t.map(t=>s.Vi.fromViewState(a.o.moveToPrevBlankLine(e.cursorConfig,e,t.viewState,n)));return t.map(t=>s.Vi.fromModelState(a.o.moveToPrevBlankLine(e.cursorConfig,e.model,t.modelState,n)));case 5:if(2===r)return t.map(t=>s.Vi.fromViewState(a.o.moveToNextBlankLine(e.cursorConfig,e,t.viewState,n)));return t.map(t=>s.Vi.fromModelState(a.o.moveToNextBlankLine(e.cursorConfig,e.model,t.modelState,n)));case 6:return this._moveToViewMinColumn(e,t,n);case 7:return this._moveToViewFirstNonWhitespaceColumn(e,t,n);case 8:return this._moveToViewCenterColumn(e,t,n);case 9:return this._moveToViewMaxColumn(e,t,n);case 10:return this._moveToViewLastNonWhitespaceColumn(e,t,n);default:return null}}static viewportMove(e,t,i,n,o){let r=e.getCompletelyVisibleViewRange(),s=e.coordinatesConverter.convertViewRangeToModelRange(r);switch(i){case 11:{let i=this._firstLineNumberInRange(e.model,s,o),r=e.model.getLineFirstNonWhitespaceColumn(i);return[this._moveToModelPosition(e,t[0],n,i,r)]}case 13:{let i=this._lastLineNumberInRange(e.model,s,o),r=e.model.getLineFirstNonWhitespaceColumn(i);return[this._moveToModelPosition(e,t[0],n,i,r)]}case 12:{let i=Math.round((s.startLineNumber+s.endLineNumber)/2),o=e.model.getLineFirstNonWhitespaceColumn(i);return[this._moveToModelPosition(e,t[0],n,i,o)]}case 14:{let i=[];for(let o=0,s=t.length;oi.endLineNumber-1?i.endLineNumber-1:os.Vi.fromViewState(a.o.moveLeft(e.cursorConfig,e,t.viewState,i,n)))}static _moveHalfLineLeft(e,t,i){let n=[];for(let o=0,r=t.length;os.Vi.fromViewState(a.o.moveRight(e.cursorConfig,e,t.viewState,i,n)))}static _moveHalfLineRight(e,t,i){let n=[];for(let o=0,r=t.length;oe.getLineMinColumn(t.lineNumber))return t.delta(void 0,-a.HO(e.getLineContent(t.lineNumber),t.column-1));if(!(t.lineNumber>1))return t;{let i=t.lineNumber-1;return new r.L(i,e.getLineMaxColumn(i))}}static leftPositionAtomicSoftTabs(e,t,i){if(t.column<=e.getLineIndentColumn(t.lineNumber)){let n=e.getLineMinColumn(t.lineNumber),o=e.getLineContent(t.lineNumber),s=l.l.atomicPosition(o,t.column-1,i,0);if(-1!==s&&s+1>=n)return new r.L(t.lineNumber,s+1)}return this.leftPosition(e,t)}static left(e,t,i){let n=e.stickyTabStops?d.leftPositionAtomicSoftTabs(t,i,e.tabSize):d.leftPosition(t,i);return new h(n.lineNumber,n.column,0)}static moveLeft(e,t,i,n,o){let r,s;if(i.hasSelection()&&!n)r=i.selection.startLineNumber,s=i.selection.startColumn;else{let n=i.position.delta(void 0,-(o-1)),a=t.normalizePosition(d.clipPositionColumn(n,t),0),l=d.left(e,t,a);r=l.lineNumber,s=l.column}return i.move(n,r,s,0)}static clipPositionColumn(e,t){return new r.L(e.lineNumber,d.clipRange(e.column,t.getLineMinColumn(e.lineNumber),t.getLineMaxColumn(e.lineNumber)))}static clipRange(e,t,i){return ei?i:e}static rightPosition(e,t,i){return ic?(i=c,n=l?t.getLineMaxColumn(i):Math.min(t.getLineMaxColumn(i),n)):n=e.columnFromVisibleColumn(t,i,u),s=m?0:u-o.i.visibleColumnFromColumn(t.getLineContent(i),n,e.tabSize),void 0!==d){let e=new r.L(i,n),o=t.normalizePosition(e,d);s+=n-o.column,i=o.lineNumber,n=o.column}return new h(i,n,s)}static down(e,t,i,n,o,r,s){return this.vertical(e,t,i,n,o,i+r,s,4)}static moveDown(e,t,i,n,o){let r,s;i.hasSelection()&&!n?(r=i.selection.endLineNumber,s=i.selection.endColumn):(r=i.position.lineNumber,s=i.position.column);let a=d.down(e,t,r,s,i.leftoverVisibleColumns,o,!0);return i.move(n,a.lineNumber,a.column,a.leftoverVisibleColumns)}static translateDown(e,t,i){let o=i.selection,a=d.down(e,t,o.selectionStartLineNumber,o.selectionStartColumn,i.selectionStartLeftoverVisibleColumns,1,!1),l=d.down(e,t,o.positionLineNumber,o.positionColumn,i.leftoverVisibleColumns,1,!1);return new n.rS(new s.e(a.lineNumber,a.column,a.lineNumber,a.column),a.leftoverVisibleColumns,new r.L(l.lineNumber,l.column),l.leftoverVisibleColumns)}static up(e,t,i,n,o,r,s){return this.vertical(e,t,i,n,o,i-r,s,3)}static moveUp(e,t,i,n,o){let r,s;i.hasSelection()&&!n?(r=i.selection.startLineNumber,s=i.selection.startColumn):(r=i.position.lineNumber,s=i.position.column);let a=d.up(e,t,r,s,i.leftoverVisibleColumns,o,!0);return i.move(n,a.lineNumber,a.column,a.leftoverVisibleColumns)}static translateUp(e,t,i){let o=i.selection,a=d.up(e,t,o.selectionStartLineNumber,o.selectionStartColumn,i.selectionStartLeftoverVisibleColumns,1,!1),l=d.up(e,t,o.positionLineNumber,o.positionColumn,i.leftoverVisibleColumns,1,!1);return new n.rS(new s.e(a.lineNumber,a.column,a.lineNumber,a.column),a.leftoverVisibleColumns,new r.L(l.lineNumber,l.column),l.leftoverVisibleColumns)}static _isBlankLine(e,t){return 0===e.getLineFirstNonWhitespaceColumn(t)}static moveToPrevBlankLine(e,t,i,n){let o=i.position.lineNumber;for(;o>1&&this._isBlankLine(t,o);)o--;for(;o>1&&!this._isBlankLine(t,o);)o--;return i.move(n,o,t.getLineMinColumn(o),0)}static moveToNextBlankLine(e,t,i,n){let o=t.getLineCount(),r=i.position.lineNumber;for(;r1){let n;for(n=i-1;n>=1;n--){let e=t.getLineContent(n),i=o.ow(e);if(i>=0)break}if(n<1)return null;let s=t.getLineMaxColumn(n),l=(0,v.A)(e.autoIndent,t,new a.e(n,s,n,s),e.languageConfigurationService);l&&(r=l.indentation+l.appendText)}return(n&&(n===p.wU.Indent&&(r=C.shiftIndent(e,r)),n===p.wU.Outdent&&(r=C.unshiftIndent(e,r)),r=e.normalizeIndentation(r)),r)?r:null}static _replaceJumpToNextIndent(e,t,i,n){let o="",s=i.getStartPosition();if(e.insertSpaces){let i=e.visibleColumnFromColumn(t,s),n=e.indentSize,r=n-i%n;for(let e=0;ethis._compositionType(i,e,o,r,s,a));return new u.Tp(4,l,{shouldPushStackElementBefore:S(e,4),shouldPushStackElementAfter:!1})}static _compositionType(e,t,i,n,o,s){if(!t.isEmpty())return null;let l=t.getPosition(),h=Math.max(1,l.column-n),d=Math.min(e.getLineMaxColumn(l.lineNumber),l.column+o),u=new a.e(l.lineNumber,h,l.lineNumber,d),c=e.getValueInRange(u);return c===i&&0===s?null:new r.Uo(u,i,0,s)}static _typeCommand(e,t,i){return i?new r.Sj(e,t,!0):new r.T4(e,t,!0)}static _enter(e,t,i,n){if(0===e.autoIndent)return C._typeCommand(n,"\n",i);if(!t.tokenization.isCheapToTokenize(n.getStartPosition().lineNumber)||1===e.autoIndent){let r=t.getLineContent(n.startLineNumber),s=o.V8(r).substring(0,n.startColumn-1);return C._typeCommand(n,"\n"+e.normalizeIndentation(s),i)}let s=(0,v.A)(e.autoIndent,t,n,e.languageConfigurationService);if(s){if(s.indentAction===p.wU.None||s.indentAction===p.wU.Indent)return C._typeCommand(n,"\n"+e.normalizeIndentation(s.indentation+s.appendText),i);if(s.indentAction===p.wU.IndentOutdent){let t=e.normalizeIndentation(s.indentation),o=e.normalizeIndentation(s.indentation+s.appendText),a="\n"+o+"\n"+t;return i?new r.Sj(n,a,!0):new r.Uo(n,a,-1,o.length-t.length,!0)}if(s.indentAction===p.wU.Outdent){let t=C.unshiftIndent(e,s.indentation);return C._typeCommand(n,"\n"+e.normalizeIndentation(t+s.appendText),i)}}let a=t.getLineContent(n.startLineNumber),l=o.V8(a).substring(0,n.startColumn-1);if(e.autoIndent>=4){let s=(0,_.UF)(e.autoIndent,t,n,{unshiftIndent:t=>C.unshiftIndent(e,t),shiftIndent:t=>C.shiftIndent(e,t),normalizeIndentation:t=>e.normalizeIndentation(t)},e.languageConfigurationService);if(s){let a=e.visibleColumnFromColumn(t,n.getEndPosition()),l=n.endColumn,h=t.getLineContent(n.endLineNumber),d=o.LC(h);if(n=d>=0?n.setEndPosition(n.endLineNumber,Math.max(n.endColumn,d+1)):n.setEndPosition(n.endLineNumber,t.getLineMaxColumn(n.endLineNumber)),i)return new r.Sj(n,"\n"+e.normalizeIndentation(s.afterEnter),!0);{let t=0;return l<=d+1&&(e.insertSpaces||(a=Math.ceil(a/e.indentSize)),t=Math.min(a+1-e.normalizeIndentation(s.afterEnter).length-1,0)),new r.Uo(n,"\n"+e.normalizeIndentation(s.afterEnter),0,t,!0)}}}return C._typeCommand(n,"\n"+e.normalizeIndentation(l),i)}static _isAutoIndentType(e,t,i){if(e.autoIndent<4)return!1;for(let e=0,n=i.length;eC.shiftIndent(e,t),unshiftIndent:t=>C.unshiftIndent(e,t)},e.languageConfigurationService);if(null===r)return null;if(r!==e.normalizeIndentation(o)){let o=t.getLineFirstNonWhitespaceColumn(i.startLineNumber);return 0===o?C._typeCommand(new a.e(i.startLineNumber,1,i.endLineNumber,i.endColumn),e.normalizeIndentation(r)+n,!1):C._typeCommand(new a.e(i.startLineNumber,1,i.endLineNumber,i.endColumn),e.normalizeIndentation(r)+t.getLineContent(i.startLineNumber).substring(o-1,i.startColumn-1)+n,!1)}return null}static _isAutoClosingOvertype(e,t,i,n,o){if("never"===e.autoClosingOvertype||!e.autoClosingPairs.autoClosingPairsCloseSingleChar.has(o))return!1;for(let r=0,s=i.length;r2?l.charCodeAt(a.column-2):0;if(92===c&&d)return!1;if("auto"===e.autoClosingOvertype){let e=!1;for(let t=0,i=n.length;tt.startsWith(e.open)),s=o.some(e=>t.startsWith(e.close));return!r&&s}static _findAutoClosingPairOpen(e,t,i,n){let o=e.autoClosingPairs.autoClosingPairsOpenByEnd.get(n);if(!o)return null;let r=null;for(let e of o)if(null===r||e.open.length>r.open.length){let o=!0;for(let r of i){let i=t.getValueInRange(new a.e(r.lineNumber,r.column-e.open.length+1,r.lineNumber,r.column));if(i+n!==e.open){o=!1;break}}o&&(r=e)}return r}static _findContainedAutoClosingPair(e,t){if(t.open.length<=1)return null;let i=t.close.charAt(t.close.length-1),n=e.autoClosingPairs.autoClosingPairsCloseByEnd.get(i)||[],o=null;for(let e of n)e.open!==t.open&&t.open.includes(e.open)&&t.close.endsWith(e.close)&&(!o||e.open.length>o.open.length)&&(o=e);return o}static _getAutoClosingPairClose(e,t,i,n,o){let r=(0,u.LN)(n),s=r?e.autoClosingQuotes:e.autoClosingBrackets,a=r?e.shouldAutoCloseBefore.quote:e.shouldAutoCloseBefore.bracket;if("never"===s)return null;for(let e of i)if(!e.isEmpty())return null;let l=i.map(e=>{let t=e.getPosition();return o?{lineNumber:t.lineNumber,beforeColumn:t.column-n.length,afterColumn:t.column}:{lineNumber:t.lineNumber,beforeColumn:t.column,afterColumn:t.column}}),h=this._findAutoClosingPairOpen(e,t,l.map(e=>new g.L(e.lineNumber,e.beforeColumn)),n);if(!h)return null;let d=this._findContainedAutoClosingPair(e,h),p=d?d.close:"",m=!0;for(let i of l){let{lineNumber:o,beforeColumn:r,afterColumn:l}=i,d=t.getLineContent(o),u=d.substring(0,r-1),g=d.substring(l-1);if(g.startsWith(p)||(m=!1),g.length>0){let t=g.charAt(0),i=C._isBeforeClosingBrace(e,g);if(!i&&!a(t))return null}if(1===h.open.length&&("'"===n||'"'===n)&&"always"!==s){let t=(0,c.u)(e.wordSeparators);if(u.length>0){let e=u.charCodeAt(u.length-1);if(0===t.get(e))return null}}if(!t.tokenization.isCheapToTokenize(o))return null;t.tokenization.forceTokenization(o);let _=t.tokenization.getLineTokens(o),v=(0,f.wH)(_,r-1);if(!h.shouldAutoClose(v,r-v.firstCharOffset))return null;let b=h.findNeutralCharacter();if(b){let e=t.tokenization.getTokenTypeIfInsertingCharacter(o,r,b);if(!h.isOK(e))return null}}return m?h.close.substring(0,h.close.length-p.length):h.close}static _runAutoClosingOpenCharType(e,t,i,n,o,r,s){let a=[];for(let e=0,t=n.length;enew r.T4(new a.e(e.positionLineNumber,e.positionColumn,e.positionLineNumber,e.positionColumn+1),"",!1));return new u.Tp(4,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}let g=this._getAutoClosingPairClose(t,i,o,h,!0);return null!==g?this._runAutoClosingOpenCharType(e,t,i,o,h,!0,g):null}static typeWithInterceptors(e,t,i,n,o,s,a){if(!e&&"\n"===a){let e=[];for(let t=0,r=o.length;t=0;o--){let i=e.charCodeAt(o),r=t.get(i);if(0===r){if(2===n)return this._createWord(e,n,r,o+1,this._findEndOfWord(e,t,n,o+1));n=1}else if(2===r){if(1===n)return this._createWord(e,n,r,o+1,this._findEndOfWord(e,t,n,o+1));n=2}else if(1===r&&0!==n)return this._createWord(e,n,r,o+1,this._findEndOfWord(e,t,n,o+1))}return 0!==n?this._createWord(e,n,1,0,this._findEndOfWord(e,t,n,0)):null}static _findEndOfWord(e,t,i,n){let o=e.length;for(let r=n;r=0;o--){let n=e.charCodeAt(o),r=t.get(n);if(1===r||1===i&&2===r||2===i&&0===r)return o+1}return 0}static moveWordLeft(e,t,i,n){let o=i.lineNumber,r=i.column;1===r&&o>1&&(o-=1,r=t.getLineMaxColumn(o));let s=h._findPreviousWordOnLine(e,t,new a.L(o,r));if(0===n)return new a.L(o,s?s.start+1:1);if(1===n)return s&&2===s.wordType&&s.end-s.start==1&&0===s.nextCharClass&&(s=h._findPreviousWordOnLine(e,t,new a.L(o,s.start+1))),new a.L(o,s?s.start+1:1);if(3===n){for(;s&&2===s.wordType;)s=h._findPreviousWordOnLine(e,t,new a.L(o,s.start+1));return new a.L(o,s?s.start+1:1)}return s&&r<=s.end+1&&(s=h._findPreviousWordOnLine(e,t,new a.L(o,s.start+1))),new a.L(o,s?s.end+1:1)}static _moveWordPartLeft(e,t){let i=t.lineNumber,o=e.getLineMaxColumn(i);if(1===t.column)return i>1?new a.L(i-1,e.getLineMaxColumn(i-1)):t;let r=e.getLineContent(i);for(let e=t.column-1;e>1;e--){let t=r.charCodeAt(e-2),s=r.charCodeAt(e-1);if(95===t&&95!==s||(n.mK(t)||n.T5(t))&&n.df(s))return new a.L(i,e);if(n.df(t)&&n.df(s)&&e+1=l.start+1&&(l=h._findNextWordOnLine(e,t,new a.L(o,l.end+1))),r=l?l.start+1:t.getLineMaxColumn(o);return new a.L(o,r)}static _moveWordPartRight(e,t){let i=t.lineNumber,o=e.getLineMaxColumn(i);if(t.column===o)return i1?c=1:(u--,c=n.getLineMaxColumn(u)):(g&&c<=g.end+1&&(g=h._findPreviousWordOnLine(i,n,new a.L(u,g.start+1))),g?c=g.end+1:c>1?c=1:(u--,c=n.getLineMaxColumn(u))),new l.e(u,c,d.lineNumber,d.column)}static deleteInsideWord(e,t,i){if(!i.isEmpty())return i;let n=new a.L(i.positionLineNumber,i.positionColumn),o=this._deleteInsideWordWhitespace(t,n);return o||this._deleteInsideWordDetermineDeleteRange(e,t,n)}static _charAtIsWhitespace(e,t){let i=e.charCodeAt(t);return 32===i||9===i}static _deleteInsideWordWhitespace(e,t){let i=e.getLineContent(t.lineNumber),n=i.length;if(0===n)return null;let o=Math.max(t.column-2,0);if(!this._charAtIsWhitespace(i,o))return null;let r=Math.min(t.column-1,n-1);if(!this._charAtIsWhitespace(i,r))return null;for(;o>0&&this._charAtIsWhitespace(i,o-1);)o--;for(;r+11?new l.e(i.lineNumber-1,t.getLineMaxColumn(i.lineNumber-1),i.lineNumber,1):i.lineNumber(e=Math.min(e,i.column),t=Math.max(t,i.column),new l.e(i.lineNumber,e,i.lineNumber,t)),s=e=>{let t=e.start+1,i=e.end+1,s=!1;for(;i-11&&this._charAtIsWhitespace(n,t-2);)t--;return r(t,i)},a=h._findPreviousWordOnLine(e,t,i);if(a&&a.start+1<=i.column&&i.column<=a.end+1)return s(a);let d=h._findNextWordOnLine(e,t,i);return d&&d.start+1<=i.column&&i.column<=d.end+1?s(d):a&&d?r(a.end+1,d.start+1):a?r(a.start+1,a.end+1):d?r(d.start+1,d.end+1):r(1,o+1)}static _deleteWordPartLeft(e,t){if(!t.isEmpty())return t;let i=t.getPosition(),n=h._moveWordPartLeft(e,i);return new l.e(i.lineNumber,i.column,n.lineNumber,n.column)}static _findFirstNonWhitespaceChar(e,t){let i=e.length;for(let n=t;n=p.start+1&&(p=h._findNextWordOnLine(i,n,new a.L(d,p.end+1))),p?u=p.start+1:u!!e)}},55343:function(e,t,i){"use strict";i.d(t,{LM:function(){return c},LN:function(){return v},Tp:function(){return _},Vi:function(){return g},rS:function(){return f}});var n=i(50187),o=i(24314),r=i(3860),s=i(19111),a=i(7988),l=i(83158);let h=()=>!0,d=()=>!1,u=e=>" "===e||" "===e;class c{constructor(e,t,i,n){this.languageConfigurationService=n,this._cursorMoveConfigurationBrand=void 0,this._languageId=e;let o=i.options,r=o.get(133);this.readOnly=o.get(83),this.tabSize=t.tabSize,this.indentSize=t.indentSize,this.insertSpaces=t.insertSpaces,this.stickyTabStops=o.get(106),this.lineHeight=o.get(61),this.pageSize=Math.max(1,Math.floor(r.height/this.lineHeight)-2),this.useTabStops=o.get(118),this.wordSeparators=o.get(119),this.emptySelectionClipboard=o.get(33),this.copyWithSyntaxHighlighting=o.get(21),this.multiCursorMergeOverlapping=o.get(71),this.multiCursorPaste=o.get(73),this.autoClosingBrackets=o.get(5),this.autoClosingQuotes=o.get(8),this.autoClosingDelete=o.get(6),this.autoClosingOvertype=o.get(7),this.autoSurround=o.get(11),this.autoIndent=o.get(9),this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:this._getShouldAutoClose(e,this.autoClosingQuotes),bracket:this._getShouldAutoClose(e,this.autoClosingBrackets)},this.autoClosingPairs=this.languageConfigurationService.getLanguageConfiguration(e).getAutoClosingPairs();let s=this.languageConfigurationService.getLanguageConfiguration(e).getSurroundingPairs();if(s)for(let e of s)this.surroundingPairs[e.open]=e.close}static shouldRecreate(e){return e.hasChanged(133)||e.hasChanged(119)||e.hasChanged(33)||e.hasChanged(71)||e.hasChanged(73)||e.hasChanged(5)||e.hasChanged(8)||e.hasChanged(6)||e.hasChanged(7)||e.hasChanged(11)||e.hasChanged(118)||e.hasChanged(61)||e.hasChanged(83)}get electricChars(){var e;if(!this._electricChars){this._electricChars={};let t=null===(e=this.languageConfigurationService.getLanguageConfiguration(this._languageId).electricCharacter)||void 0===e?void 0:e.getElectricCharacters();if(t)for(let e of t)this._electricChars[e]=!0}return this._electricChars}onElectricCharacter(e,t,i){let n=(0,s.wH)(t,i-1),o=this.languageConfigurationService.getLanguageConfiguration(n.languageId).electricCharacter;return o?o.onElectricCharacter(e,n,i-n.firstCharOffset):null}normalizeIndentation(e){return(0,l.x)(e,this.indentSize,this.insertSpaces)}_getShouldAutoClose(e,t){switch(t){case"beforeWhitespace":return u;case"languageDefined":return this._getLanguageDefinedShouldAutoClose(e);case"always":return h;case"never":return d}}_getLanguageDefinedShouldAutoClose(e){let t=this.languageConfigurationService.getLanguageConfiguration(e).getAutoCloseBeforeSet();return e=>-1!==t.indexOf(e)}visibleColumnFromColumn(e,t){return a.i.visibleColumnFromColumn(e.getLineContent(t.lineNumber),t.column,this.tabSize)}columnFromVisibleColumn(e,t,i){let n=a.i.columnFromVisibleColumn(e.getLineContent(t),i,this.tabSize),o=e.getLineMinColumn(t);if(nr?r:n}}class g{constructor(e,t){this._cursorStateBrand=void 0,this.modelState=e,this.viewState=t}static fromModelState(e){return new p(e)}static fromViewState(e){return new m(e)}static fromModelSelection(e){let t=r.Y.liftSelection(e),i=new f(o.e.fromPositions(t.getSelectionStart()),0,t.getPosition(),0);return g.fromModelState(i)}static fromModelSelections(e){let t=[];for(let i=0,n=e.length;i>>0}static getTokenType(e){return(768&e)>>>8}static containsBalancedBrackets(e){return(1024&e)!=0}static getFontStyle(e){return(30720&e)>>>11}static getForeground(e){return(16744448&e)>>>15}static getBackground(e){return(4278190080&e)>>>24}static getClassNameFromMetadata(e){let t=this.getForeground(e),i="mtk"+t,n=this.getFontStyle(e);return 1&n&&(i+=" mtki"),2&n&&(i+=" mtkb"),4&n&&(i+=" mtku"),8&n&&(i+=" mtks"),i}static getInlineStyleFromMetadata(e,t){let i=this.getForeground(e),n=this.getFontStyle(e),o=`color: ${t[i]};`;1&n&&(o+="font-style: italic;"),2&n&&(o+="font-weight: bold;");let r="";return 4&n&&(r+=" underline"),8&n&&(r+=" line-through"),r&&(o+=`text-decoration:${r};`),o}static getPresentationFromMetadata(e){let t=this.getForeground(e),i=this.getFontStyle(e);return{foreground:t,italic:!!(1&i),bold:!!(2&i),underline:!!(4&i),strikethrough:!!(8&i)}}}},43155:function(e,t,i){"use strict";i.d(t,{mY:function(){return c},gX:function(){return a},MY:function(){return d},DI:function(){return S},AD:function(){return k},gl:function(){return g},bw:function(){return l},WW:function(){return h},uZ:function(){return u},WU:function(){return w},RW:function(){return N},hG:function(){return y},vx:function(){return L}});var n,o,r,s,a,l,h,d,u,c,g,p=i(73046),m=i(70666),f=i(24314),_=i(4669),v=i(9917),C=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class b extends v.JT{constructor(e,t,i){super(),this._registry=e,this._languageId=t,this._factory=i,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}get isResolved(){return this._isResolved}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return C(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return C(this,void 0,void 0,function*(){let e=yield Promise.resolve(this._factory.createTokenizationSupport());this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))})}}class w{constructor(e,t,i){this._tokenBrand=void 0,this.offset=e,this.type=t,this.language=i}toString(){return"("+this.offset+", "+this.type+")"}}class y{constructor(e,t){this._tokenizationResultBrand=void 0,this.tokens=e,this.endState=t}}class S{constructor(e,t){this._encodedTokenizationResultBrand=void 0,this.tokens=e,this.endState=t}}function L(e){return e&&m.o.isUri(e.uri)&&f.e.isIRange(e.range)&&(f.e.isIRange(e.originSelectionRange)||f.e.isIRange(e.targetSelectionRange))}!function(e){let t=new Map;t.set(0,p.lA.symbolMethod),t.set(1,p.lA.symbolFunction),t.set(2,p.lA.symbolConstructor),t.set(3,p.lA.symbolField),t.set(4,p.lA.symbolVariable),t.set(5,p.lA.symbolClass),t.set(6,p.lA.symbolStruct),t.set(7,p.lA.symbolInterface),t.set(8,p.lA.symbolModule),t.set(9,p.lA.symbolProperty),t.set(10,p.lA.symbolEvent),t.set(11,p.lA.symbolOperator),t.set(12,p.lA.symbolUnit),t.set(13,p.lA.symbolValue),t.set(15,p.lA.symbolEnum),t.set(14,p.lA.symbolConstant),t.set(15,p.lA.symbolEnum),t.set(16,p.lA.symbolEnumMember),t.set(17,p.lA.symbolKeyword),t.set(27,p.lA.symbolSnippet),t.set(18,p.lA.symbolText),t.set(19,p.lA.symbolColor),t.set(20,p.lA.symbolFile),t.set(21,p.lA.symbolReference),t.set(22,p.lA.symbolCustomColor),t.set(23,p.lA.symbolFolder),t.set(24,p.lA.symbolTypeParameter),t.set(25,p.lA.account),t.set(26,p.lA.issues),e.toIcon=function(e){let i=t.get(e);return i||(console.info("No codicon found for CompletionItemKind "+e),i=p.lA.symbolProperty),i};let i=new Map;i.set("method",0),i.set("function",1),i.set("constructor",2),i.set("field",3),i.set("variable",4),i.set("class",5),i.set("struct",6),i.set("interface",7),i.set("module",8),i.set("property",9),i.set("event",10),i.set("operator",11),i.set("unit",12),i.set("value",13),i.set("constant",14),i.set("enum",15),i.set("enum-member",16),i.set("enumMember",16),i.set("keyword",17),i.set("snippet",27),i.set("text",18),i.set("color",19),i.set("file",20),i.set("reference",21),i.set("customcolor",22),i.set("folder",23),i.set("type-parameter",24),i.set("typeParameter",24),i.set("account",25),i.set("issue",26),e.fromString=function(e,t){let n=i.get(e);return void 0!==n||t||(n=9),n}}(a||(a={})),(n=l||(l={}))[n.Automatic=0]="Automatic",n[n.Explicit=1]="Explicit",(o=h||(h={}))[o.Invoke=1]="Invoke",o[o.TriggerCharacter=2]="TriggerCharacter",o[o.ContentChange=3]="ContentChange",(r=d||(d={}))[r.Text=0]="Text",r[r.Read=1]="Read",r[r.Write=2]="Write",function(e){let t=new Map;t.set(0,p.lA.symbolFile),t.set(1,p.lA.symbolModule),t.set(2,p.lA.symbolNamespace),t.set(3,p.lA.symbolPackage),t.set(4,p.lA.symbolClass),t.set(5,p.lA.symbolMethod),t.set(6,p.lA.symbolProperty),t.set(7,p.lA.symbolField),t.set(8,p.lA.symbolConstructor),t.set(9,p.lA.symbolEnum),t.set(10,p.lA.symbolInterface),t.set(11,p.lA.symbolFunction),t.set(12,p.lA.symbolVariable),t.set(13,p.lA.symbolConstant),t.set(14,p.lA.symbolString),t.set(15,p.lA.symbolNumber),t.set(16,p.lA.symbolBoolean),t.set(17,p.lA.symbolArray),t.set(18,p.lA.symbolObject),t.set(19,p.lA.symbolKey),t.set(20,p.lA.symbolNull),t.set(21,p.lA.symbolEnumMember),t.set(22,p.lA.symbolStruct),t.set(23,p.lA.symbolEvent),t.set(24,p.lA.symbolOperator),t.set(25,p.lA.symbolTypeParameter),e.toIcon=function(e){let i=t.get(e);return i||(console.info("No codicon found for SymbolKind "+e),i=p.lA.symbolProperty),i}}(u||(u={}));class k{constructor(e){this.value=e}}k.Comment=new k("comment"),k.Imports=new k("imports"),k.Region=new k("region"),(c||(c={})).is=function(e){return!!e&&"object"==typeof e&&"string"==typeof e.id&&"string"==typeof e.title},(s=g||(g={}))[s.Type=1]="Type",s[s.Parameter=2]="Parameter";let N=new class{constructor(){this._map=new Map,this._factories=new Map,this._onDidChange=new _.Q5,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._map.set(e,t),this.fire([e]),(0,v.OF)(()=>{this._map.get(e)===t&&(this._map.delete(e),this.fire([e]))})}registerFactory(e,t){var i;null===(i=this._factories.get(e))||void 0===i||i.dispose();let n=new b(this,e,t);return this._factories.set(e,n),(0,v.OF)(()=>{let t=this._factories.get(e);t&&t===n&&(this._factories.delete(e),t.dispose())})}getOrCreate(e){return C(this,void 0,void 0,function*(){let t=this.get(e);if(t)return t;let i=this._factories.get(e);return!i||i.isResolved?null:(yield i.resolve(),this.get(e))})}get(e){return this._map.get(e)||null}isResolved(e){let t=this.get(e);if(t)return!0;let i=this._factories.get(e);return!i||!!i.isResolved}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}},75383:function(e,t,i){"use strict";i.d(t,{$9:function(){return d},UF:function(){return h},n8:function(){return l},r7:function(){return a},tI:function(){return u}});var n=i(97295),o=i(49119),r=i(19111),s=i(4256);function a(e,t,i,r=!0,s){if(e<4)return null;let a=s.getLanguageConfiguration(t.tokenization.getLanguageId()).indentRulesSupport;if(!a)return null;if(i<=1)return{indentation:"",action:null};let l=function(e,t,i){let n=e.tokenization.getLanguageIdAtPosition(t,0);if(t>1){let o;let r=-1;for(o=t-1;o>=1;o--){if(e.tokenization.getLanguageIdAtPosition(o,0)!==n)return r;let t=e.getLineContent(o);if(i.shouldIgnore(t)||/^\s+$/.test(t)||""===t){r=o;continue}return o}}return -1}(t,i,a);if(l<0)return null;if(l<1)return{indentation:"",action:null};let h=t.getLineContent(l);if(a.shouldIncrease(h)||a.shouldIndentNextLine(h))return{indentation:n.V8(h),action:o.wU.Indent,line:l};if(a.shouldDecrease(h))return{indentation:n.V8(h),action:null,line:l};{if(1===l)return{indentation:n.V8(t.getLineContent(l)),action:null,line:l};let e=l-1,i=a.getIndentMetadata(t.getLineContent(e));if(!(3&i)&&4&i){let i=0;for(let n=e-1;n>0;n--)if(!a.shouldIndentNextLine(t.getLineContent(n))){i=n;break}return{indentation:n.V8(t.getLineContent(i+1)),action:null,line:i+1}}if(r)return{indentation:n.V8(t.getLineContent(l)),action:null,line:l};for(let e=l;e>0;e--){let i=t.getLineContent(e);if(a.shouldIncrease(i))return{indentation:n.V8(i),action:o.wU.Indent,line:e};if(a.shouldIndentNextLine(i)){let i=0;for(let n=e-1;n>0;n--)if(!a.shouldIndentNextLine(t.getLineContent(e))){i=n;break}return{indentation:n.V8(t.getLineContent(i+1)),action:null,line:i+1}}if(a.shouldDecrease(i))return{indentation:n.V8(i),action:null,line:e}}return{indentation:n.V8(t.getLineContent(1)),action:null,line:1}}}function l(e,t,i,r,s,l){if(e<4)return null;let h=l.getLanguageConfiguration(i);if(!h)return null;let d=l.getLanguageConfiguration(i).indentRulesSupport;if(!d)return null;let u=a(e,t,r,void 0,l),c=t.getLineContent(r);if(u){let i=u.line;if(void 0!==i){let r=h.onEnter(e,"",t.getLineContent(i),"");if(r){let e=n.V8(t.getLineContent(i));return r.removeText&&(e=e.substring(0,e.length-r.removeText)),r.indentAction===o.wU.Indent||r.indentAction===o.wU.IndentOutdent?e=s.shiftIndent(e):r.indentAction===o.wU.Outdent&&(e=s.unshiftIndent(e)),d.shouldDecrease(c)&&(e=s.unshiftIndent(e)),r.appendText&&(e+=r.appendText),n.V8(e)}}return d.shouldDecrease(c)?u.action===o.wU.Indent?u.indentation:s.unshiftIndent(u.indentation):u.action===o.wU.Indent?s.shiftIndent(u.indentation):u.indentation}return null}function h(e,t,i,l,h){let d,u;if(e<4)return null;t.tokenization.forceTokenization(i.startLineNumber);let c=t.tokenization.getLineTokens(i.startLineNumber),g=(0,r.wH)(c,i.startColumn-1),p=g.getLineContent(),m=!1;if(g.firstCharOffset>0&&c.getLanguageId(0)!==g.languageId?(m=!0,d=p.substr(0,i.startColumn-1-g.firstCharOffset)):d=c.getLineContent().substring(0,i.startColumn-1),i.isEmpty())u=p.substr(i.startColumn-1-g.firstCharOffset);else{let e=(0,s.n2)(t,i.endLineNumber,i.endColumn);u=e.getLineContent().substr(i.endColumn-1-g.firstCharOffset)}let f=h.getLanguageConfiguration(g.languageId).indentRulesSupport;if(!f)return null;let _=d,v=n.V8(d),C=n.V8(c.getLineContent()),b=a(e,{tokenization:{getLineTokens:e=>t.tokenization.getLineTokens(e),getLanguageId:()=>t.getLanguageId(),getLanguageIdAtPosition:(e,i)=>t.getLanguageIdAtPosition(e,i)},getLineContent:e=>e===i.startLineNumber?_:t.getLineContent(e)},i.startLineNumber+1,void 0,h);if(!b){let e=m?C:v;return{beforeEnter:e,afterEnter:e}}let w=m?C:b.indentation;return b.action===o.wU.Indent&&(w=l.shiftIndent(w)),f.shouldDecrease(u)&&(w=l.unshiftIndent(w)),{beforeEnter:m?C:v,afterEnter:w}}function d(e,t,i,n,r,l){let h;if(e<4)return null;let d=(0,s.n2)(t,i.startLineNumber,i.startColumn);if(d.firstCharOffset)return null;let u=l.getLanguageConfiguration(d.languageId).indentRulesSupport;if(!u)return null;let c=d.getLineContent(),g=c.substr(0,i.startColumn-1-d.firstCharOffset);if(i.isEmpty())h=c.substr(i.startColumn-1-d.firstCharOffset);else{let e=(0,s.n2)(t,i.endLineNumber,i.endColumn);h=e.getLineContent().substr(i.endColumn-1-d.firstCharOffset)}if(!u.shouldDecrease(g+h)&&u.shouldDecrease(g+n+h)){let n=a(e,t,i.startLineNumber,!1,l);if(!n)return null;let s=n.indentation;return n.action!==o.wU.Indent&&(s=r.unshiftIndent(s)),s}return null}function u(e,t,i){let n=i.getLanguageConfiguration(e.getLanguageId()).indentRulesSupport;return!n||t<1||t>e.getLineCount()?null:n.getIndentMetadata(e.getLineContent(t))}},1615:function(e,t,i){"use strict";i.d(t,{A:function(){return r}});var n=i(49119),o=i(4256);function r(e,t,i,r){let s;let a=(0,o.n2)(t,i.startLineNumber,i.startColumn),l=r.getLanguageConfiguration(a.languageId);if(!l)return null;let h=a.getLineContent(),d=h.substr(0,i.startColumn-1-a.firstCharOffset);if(i.isEmpty())s=h.substr(i.startColumn-1-a.firstCharOffset);else{let e=(0,o.n2)(t,i.endLineNumber,i.endColumn);s=e.getLineContent().substr(i.endColumn-1-a.firstCharOffset)}let u="";if(i.startLineNumber>1&&0===a.firstCharOffset){let e=(0,o.n2)(t,i.startLineNumber-1);e.languageId===a.languageId&&(u=e.getLineContent())}let c=l.onEnter(e,u,d,s);if(!c)return null;let g=c.indentAction,p=c.appendText,m=c.removeText||0;p?g===n.wU.Indent&&(p=" "+p):p=g===n.wU.Indent||g===n.wU.IndentOutdent?" ":"";let f=(0,o.u0)(t,i.startLineNumber,i.startColumn);return m&&(f=f.substring(0,f.length-m)),{indentAction:g,appendText:p,removeText:m,indentation:f}}},72042:function(e,t,i){"use strict";i.d(t,{O:function(){return o}});var n=i(72065);let o=(0,n.yh)("languageService")},49119:function(e,t,i){"use strict";var n,o;i.d(t,{V6:function(){return r},c$:function(){return s},wU:function(){return n}}),(o=n||(n={}))[o.None=0]="None",o[o.Indent=1]="Indent",o[o.IndentOutdent=2]="IndentOutdent",o[o.Outdent=3]="Outdent";class r{constructor(e){if(this._neutralCharacter=null,this._neutralCharacterSearched=!1,this.open=e.open,this.close=e.close,this._inString=!0,this._inComment=!0,this._inRegEx=!0,Array.isArray(e.notIn))for(let t=0,i=e.notIn.length;tnew a.V6(e)):e.brackets?this._autoClosingPairs=e.brackets.map(e=>new a.V6({open:e[0],close:e[1]})):this._autoClosingPairs=[],e.__electricCharacterSupport&&e.__electricCharacterSupport.docComment){let t=e.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new a.V6({open:t.open,close:t.close||""}))}this._autoCloseBefore="string"==typeof e.autoCloseBefore?e.autoCloseBefore:h.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=e.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(){return this._autoCloseBefore}getSurroundingPairs(){return this._surroundingPairs}}h.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=";:.,=}])> \n ";var d=i(9488),u=i(34302);class c{constructor(e){this._richEditBrackets=e}getElectricCharacters(){let e=[];if(this._richEditBrackets)for(let t of this._richEditBrackets.brackets)for(let i of t.close){let t=i.charAt(i.length-1);e.push(t)}return(0,d.EB)(e)}onElectricCharacter(e,t,i){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;let n=t.findTokenIndexAtOffset(i-1);if((0,l.Bu)(t.getStandardTokenType(n)))return null;let o=this._richEditBrackets.reversedRegex,r=t.getLineContent().substring(0,i-1)+e,s=u.Vr.findPrevBracketInRange(o,1,r,0,r.length);if(!s)return null;let a=r.substring(s.startColumn-1,s.endColumn-1).toLowerCase(),h=this._richEditBrackets.textIsOpenBracket[a];if(h)return null;let d=t.getActualLineContentBefore(s.startColumn-1);return/^\s*$/.test(d)?{matchOpenBracket:a}:null}}function g(e){return e.global&&(e.lastIndex=0),!0}class p{constructor(e){this._indentationRules=e}shouldIncrease(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&g(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(e))}shouldDecrease(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&g(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(e))}shouldIndentNextLine(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&g(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(e))}shouldIgnore(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&g(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(e))}getIndentMetadata(e){let t=0;return this.shouldIncrease(e)&&(t+=1),this.shouldDecrease(e)&&(t+=2),this.shouldIndentNextLine(e)&&(t+=4),this.shouldIgnore(e)&&(t+=8),t}}var m=i(17301);class f{constructor(e){(e=e||{}).brackets=e.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],e.brackets.forEach(e=>{let t=f._createOpenBracketRegExp(e[0]),i=f._createCloseBracketRegExp(e[1]);t&&i&&this._brackets.push({open:e[0],openRegExp:t,close:e[1],closeRegExp:i})}),this._regExpRules=e.onEnterRules||[]}onEnter(e,t,i,n){if(e>=3)for(let e=0,o=this._regExpRules.length;e!e.reg||(e.reg.lastIndex=0,e.reg.test(e.text)));if(r)return o.action}if(e>=2&&i.length>0&&n.length>0)for(let e=0,t=this._brackets.length;e=2&&i.length>0)for(let e=0,t=this._brackets.length;e[e[0],e[1]])):t.brackets?L(t.brackets.map(e=>[e[0],e[1]]).filter(e=>!("<"===e[0]&&">"===e[1]))):[];let n=new y.b(e=>{let t=new Set;return{info:new N(this,e,t),closing:t}}),o=new y.b(e=>{let t=new Set;return{info:new D(this,e,t),opening:t}});for(let[e,t]of i){let i=n.get(e),r=o.get(t);i.closing.add(r.info),r.opening.add(i.info)}this._openingBrackets=new Map([...n.cachedValues].map(([e,t])=>[e,t.info])),this._closingBrackets=new Map([...o.cachedValues].map(([e,t])=>[e,t.info]))}get openingBrackets(){return[...this._openingBrackets.values()]}get closingBrackets(){return[...this._closingBrackets.values()]}getOpeningBracketInfo(e){return this._openingBrackets.get(e)}getClosingBracketInfo(e){return this._closingBrackets.get(e)}getBracketInfo(e){return this.getOpeningBracketInfo(e)||this.getClosingBracketInfo(e)}}function L(e){return e.filter(([e,t])=>""!==e&&""!==t)}class k{constructor(e,t){this.config=e,this.bracketText=t}get languageId(){return this.config.languageId}}class N extends k{constructor(e,t,i){super(e,t),this.openedBrackets=i,this.isOpeningBracket=!0}}class D extends k{constructor(e,t,i){super(e,t),this.closedBrackets=i,this.isOpeningBracket=!1}closes(e){if(e.languageId===this.languageId&&e.config!==this.config)throw new m.he("Brackets from different language configuration cannot be used.");return this.closedBrackets.has(e)}getClosedBrackets(){return[...this.closedBrackets]}}var x=function(e,t){return function(i,n){t(i,n,e)}};class I{constructor(e){this.languageId=e}affects(e){return!this.languageId||this.languageId===e}}let E=(0,_.yh)("languageConfigurationService"),T=class extends o.JT{constructor(e,t){super(),this.configurationService=e,this.languageService=t,this._registry=this._register(new W),this.onDidChangeEmitter=this._register(new n.Q5),this.onDidChange=this.onDidChangeEmitter.event,this.configurations=new Map;let i=new Set(Object.values(M));this._register(this.configurationService.onDidChangeConfiguration(e=>{let t=e.change.keys.some(e=>i.has(e)),n=e.change.overrides.filter(([e,t])=>t.some(e=>i.has(e))).map(([e])=>e);if(t)this.configurations.clear(),this.onDidChangeEmitter.fire(new I(void 0));else for(let e of n)this.languageService.isRegisteredLanguageId(e)&&(this.configurations.delete(e),this.onDidChangeEmitter.fire(new I(e)))})),this._register(this._registry.onDidChange(e=>{this.configurations.delete(e.languageId),this.onDidChangeEmitter.fire(new I(e.languageId))}))}register(e,t,i){return this._registry.register(e,t,i)}getLanguageConfiguration(e){let t=this.configurations.get(e);return t||(t=function(e,t,i,n){let o=t.getLanguageConfiguration(e);if(!o){if(!n.isRegisteredLanguageId(e))throw Error(`Language id "${e}" is not configured nor known`);o=new H(e,{})}let r=function(e,t){let i=t.getValue(M.brackets,{overrideIdentifier:e}),n=t.getValue(M.colorizedBracketPairs,{overrideIdentifier:e});return{brackets:A(i),colorizedBracketPairs:A(n)}}(o.languageId,i),s=F([o.underlyingConfig,r]),a=new H(o.languageId,s);return a}(e,this._registry,this.configurationService,this.languageService),this.configurations.set(e,t)),t}};T=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([x(0,v.Ui),x(1,C.O)],T);let M={brackets:"editor.language.brackets",colorizedBracketPairs:"editor.language.colorizedBracketPairs"};function A(e){if(Array.isArray(e))return e.map(e=>{if(Array.isArray(e)&&2===e.length)return[e[0],e[1]]}).filter(e=>!!e)}function R(e,t,i){let n=e.getLineContent(t),o=r.V8(n);return o.length>i-1&&(o=o.substring(0,i-1)),o}function O(e,t,i){e.tokenization.forceTokenization(t);let n=e.tokenization.getLineTokens(t),o=void 0===i?e.getLineMaxColumn(t)-1:i-1;return(0,l.wH)(n,o)}class P{constructor(e){this.languageId=e,this._resolved=null,this._entries=[],this._order=0,this._resolved=null}register(e,t){let i=new B(e,t,++this._order);return this._entries.push(i),this._resolved=null,(0,o.OF)(()=>{for(let e=0;ee.configuration)))}}function F(e){let t={comments:void 0,brackets:void 0,wordPattern:void 0,indentationRules:void 0,onEnterRules:void 0,autoClosingPairs:void 0,surroundingPairs:void 0,autoCloseBefore:void 0,folding:void 0,colorizedBracketPairs:void 0,__electricCharacterSupport:void 0};for(let i of e)t={comments:i.comments||t.comments,brackets:i.brackets||t.brackets,wordPattern:i.wordPattern||t.wordPattern,indentationRules:i.indentationRules||t.indentationRules,onEnterRules:i.onEnterRules||t.onEnterRules,autoClosingPairs:i.autoClosingPairs||t.autoClosingPairs,surroundingPairs:i.surroundingPairs||t.surroundingPairs,autoCloseBefore:i.autoCloseBefore||t.autoCloseBefore,folding:i.folding||t.folding,colorizedBracketPairs:i.colorizedBracketPairs||t.colorizedBracketPairs,__electricCharacterSupport:i.__electricCharacterSupport||t.__electricCharacterSupport};return t}class B{constructor(e,t,i){this.configuration=e,this.priority=t,this.order=i}static cmp(e,t){return e.priority===t.priority?e.order-t.order:e.priority-t.priority}}class V{constructor(e){this.languageId=e}}class W extends o.JT{constructor(){super(),this._entries=new Map,this._onDidChange=this._register(new n.Q5),this.onDidChange=this._onDidChange.event,this._register(this.register(w.bd,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],colorizedBracketPairs:[],folding:{offSide:!0}},0))}register(e,t,i=0){let n=this._entries.get(e);n||(n=new P(e),this._entries.set(e,n));let r=n.register(t,i);return this._onDidChange.fire(new V(e)),(0,o.OF)(()=>{r.dispose(),this._onDidChange.fire(new V(e))})}getLanguageConfiguration(e){let t=this._entries.get(e);return(null==t?void 0:t.getResolvedConfiguration())||null}}class H{constructor(e,t){this.languageId=e,this.underlyingConfig=t,this._brackets=null,this._electricCharacter=null,this._onEnterSupport=this.underlyingConfig.brackets||this.underlyingConfig.indentationRules||this.underlyingConfig.onEnterRules?new f(this.underlyingConfig):null,this.comments=H._handleComments(this.underlyingConfig),this.characterPair=new h(this.underlyingConfig),this.wordDefinition=this.underlyingConfig.wordPattern||s.Af,this.indentationRules=this.underlyingConfig.indentationRules,this.underlyingConfig.indentationRules?this.indentRulesSupport=new p(this.underlyingConfig.indentationRules):this.indentRulesSupport=null,this.foldingRules=this.underlyingConfig.folding||{},this.bracketsNew=new S(e,this.underlyingConfig)}getWordDefinition(){return(0,s.eq)(this.wordDefinition)}get brackets(){return!this._brackets&&this.underlyingConfig.brackets&&(this._brackets=new u.EA(this.languageId,this.underlyingConfig.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new c(this.brackets)),this._electricCharacter}onEnter(e,t,i,n){return this._onEnterSupport?this._onEnterSupport.onEnter(e,t,i,n):null}getAutoClosingPairs(){return new a.c$(this.characterPair.getAutoClosingPairs())}getAutoCloseBeforeSet(){return this.characterPair.getAutoCloseBeforeSet()}getSurroundingPairs(){return this.characterPair.getSurroundingPairs()}static _handleComments(e){let t=e.comments;if(!t)return null;let i={};if(t.lineComment&&(i.lineCommentToken=t.lineComment),t.blockComment){let[e,n]=t.blockComment;i.blockCommentStartToken=e,i.blockCommentEndToken=n}return i}}(0,b.z)(E,T)},68801:function(e,t,i){"use strict";i.d(t,{bd:function(){return h},dQ:function(){return l}});var n=i(63580),o=i(4669),r=i(89872),s=i(81170),a=i(23193);let l=new class{constructor(){this._onDidChangeLanguages=new o.Q5,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[]}registerLanguage(e){return this._languages.push(e),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let t=0,i=this._languages.length;t>>0,new n.DI(i,null===t?o:t)}},19111:function(e,t,i){"use strict";function n(e,t){let i=e.getCount(),n=e.findTokenIndexAtOffset(t),r=e.getLanguageId(n),s=n;for(;s+10&&e.getLanguageId(a-1)===r;)a--;return new o(e,r,a,s+1,e.getStartOffset(a),e.getEndOffset(s))}i.d(t,{Bu:function(){return r},wH:function(){return n}});class o{constructor(e,t,i,n,o,r){this._scopedLineTokensBrand=void 0,this._actual=e,this.languageId=t,this._firstTokenIndex=i,this._lastTokenIndex=n,this.firstCharOffset=o,this._lastCharOffset=r}getLineContent(){let e=this._actual.getLineContent();return e.substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(e){let t=this._actual.getLineContent();return t.substring(0,this.firstCharOffset+e)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(e){return this._actual.findTokenIndexAtOffset(e+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(e){return this._actual.getStandardTokenType(e+this._firstTokenIndex)}}function r(e){return(3&e)!=0}},34302:function(e,t,i){"use strict";let n,o;i.d(t,{EA:function(){return h},Vr:function(){return f}});var r=i(97295),s=i(50072),a=i(24314);class l{constructor(e,t,i,n,o,r){this._richEditBracketBrand=void 0,this.languageId=e,this.index=t,this.open=i,this.close=n,this.forwardRegex=o,this.reversedRegex=r,this._openSet=l._toSet(this.open),this._closeSet=l._toSet(this.close)}isOpen(e){return this._openSet.has(e)}isClose(e){return this._closeSet.has(e)}static _toSet(e){let t=new Set;for(let i of e)t.add(i);return t}}class h{constructor(e,t){this._richEditBracketsBrand=void 0;let i=function(e){let t=e.length;e=e.map(e=>[e[0].toLowerCase(),e[1].toLowerCase()]);let i=[];for(let e=0;e{let[i,n]=e,[o,r]=t;return i===o||i===r||n===o||n===r},o=(e,n)=>{let o=Math.min(e,n),r=Math.max(e,n);for(let e=0;e0&&r.push({open:o,close:s})}return r}(t);for(let t of(this.brackets=i.map((t,n)=>new l(e,n,t.open,t.close,function(e,t,i,n){let o=[];o=(o=o.concat(e)).concat(t);for(let e=0,t=o.length;e=0&&n.push(t);for(let t of r.close)t.indexOf(e)>=0&&n.push(t)}}function u(e,t){return e.length-t.length}function c(e){if(e.length<=1)return e;let t=[],i=new Set;for(let n of e)i.has(n)||(t.push(n),i.add(n));return t}function g(e){let t=/^[\w ]+$/.test(e);return e=r.ec(e),t?`\\b${e}\\b`:e}function p(e){let t=`(${e.map(g).join(")|(")})`;return r.GF(t,!0)}let m=(n=null,o=null,function(e){return n!==e&&(o=function(e){if(s.lZ){let t=new Uint16Array(e.length),i=0;for(let n=e.length-1;n>=0;n--)t[i++]=e.charCodeAt(n);return s.oe().decode(t)}{let t=[],i=0;for(let n=e.length-1;n>=0;n--)t[i++]=e.charAt(n);return t.join("")}}(n=e)),o});class f{static _findPrevBracketInText(e,t,i,n){let o=i.match(e);if(!o)return null;let r=i.length-(o.index||0),s=o[0].length,l=n+r;return new a.e(t,l-s+1,t,l+1)}static findPrevBracketInRange(e,t,i,n,o){let r=m(i),s=r.substring(i.length-o,i.length-n);return this._findPrevBracketInText(e,t,s,n)}static findNextBracketInText(e,t,i,n){let o=i.match(e);if(!o)return null;let r=o.index||0,s=o[0].length;if(0===s)return null;let l=n+r;return new a.e(t,l+1,t,l+1+s)}static findNextBracketInRange(e,t,i,n,o){let r=i.substring(n,o);return this.findNextBracketInText(e,t,r,n)}}},81947:function(e,t,i){"use strict";i.d(t,{C2:function(){return l},Fq:function(){return h}});var n=i(97295),o=i(77378),r=i(43155),s=i(276);let a={getInitialState:()=>s.TJ,tokenizeEncoded:(e,t,i)=>(0,s.Dy)(0,i)};function l(e,t,i){var n,o,s,l;return n=this,o=void 0,s=void 0,l=function*(){if(!i)return d(t,e.languageIdCodec,a);let n=yield r.RW.getOrCreate(i);return d(t,e.languageIdCodec,n||a)},new(s||(s=Promise))(function(e,t){function i(e){try{a(l.next(e))}catch(e){t(e)}}function r(e){try{a(l.throw(e))}catch(e){t(e)}}function a(t){var n;t.done?e(t.value):((n=t.value)instanceof s?n:new s(function(e){e(n)})).then(i,r)}a((l=l.apply(n,o||[])).next())})}function h(e,t,i,n,o,r,s){let a="
    ",l=n,h=0,d=!0;for(let u=0,c=t.getCount();u0;)s&&d?(g+=" ",d=!1):(g+=" ",d=!0),e--;break}case 60:g+="<",d=!1;break;case 62:g+=">",d=!1;break;case 38:g+="&",d=!1;break;case 0:g+="�",d=!1;break;case 65279:case 8232:case 8233:case 133:g+="�",d=!1;break;case 13:g+="​",d=!1;break;case 32:s&&d?(g+=" ",d=!1):(g+=" ",d=!0);break;default:g+=String.fromCharCode(t),d=!1}}if(a+=`${g}`,c>o||l>=o)break}return a+"
    "}function d(e,t,i){let r='
    ',s=n.uq(e),a=i.getInitialState();for(let e=0,l=s.length;e0&&(r+="
    ");let h=i.tokenizeEncoded(l,!0,a);o.A.convertToEndOffset(h.tokens,l.length);let d=new o.A(h.tokens,l,t),u=d.inflate(),c=0;for(let e=0,t=u.getCount();e${n.YU(l.substring(c,i))}`,c=i}a=h.endState}return r+"
    "}},84973:function(e,t,i){"use strict";i.d(t,{F5:function(){return a},Hf:function(){return c},Qi:function(){return g},RM:function(){return l},Tx:function(){return p},dJ:function(){return d},je:function(){return m},pt:function(){return f},sh:function(){return s},tk:function(){return u}});var n,o,r,s,a,l,h=i(36248);(n=s||(s={}))[n.Left=1]="Left",n[n.Center=2]="Center",n[n.Right=4]="Right",n[n.Full=7]="Full",(o=a||(a={}))[o.Inline=1]="Inline",o[o.Gutter=2]="Gutter",(r=l||(l={}))[r.Both=0]="Both",r[r.Right=1]="Right",r[r.Left=2]="Left",r[r.None=3]="None";class d{constructor(e){this._textModelResolvedOptionsBrand=void 0,this.tabSize=Math.max(1,0|e.tabSize),this.indentSize=0|e.tabSize,this.insertSpaces=!!e.insertSpaces,this.defaultEOL=0|e.defaultEOL,this.trimAutoWhitespace=!!e.trimAutoWhitespace,this.bracketPairColorizationOptions=e.bracketPairColorizationOptions}equals(e){return this.tabSize===e.tabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace&&(0,h.fS)(this.bracketPairColorizationOptions,e.bracketPairColorizationOptions)}createChangeEvent(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}}}class u{constructor(e,t){this._findMatchBrand=void 0,this.range=e,this.matches=t}}function c(e){return e&&"function"==typeof e.read}class g{constructor(e,t,i,n,o,r){this.identifier=e,this.range=t,this.text=i,this.forceMoveMarkers=n,this.isAutoWhitespaceEdit=o,this._isTracked=r}}class p{constructor(e,t,i){this.regex=e,this.wordSeparators=t,this.simpleSearch=i}}class m{constructor(e,t,i){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=i}}function f(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}},66381:function(e,t,i){"use strict";i.d(t,{BH:function(){return m},Dm:function(){return _},Kd:function(){return a},Y0:function(){return l},n2:function(){return f}});var n=i(7988),o=i(45035),r=i(61761);class s{constructor(e){this._length=e}get length(){return this._length}}class a extends s{constructor(e,t,i,n,o){super(e),this.openingBracket=t,this.child=i,this.closingBracket=n,this.missingOpeningBracketIds=o}static create(e,t,i){let n=e.length;return t&&(n=(0,o.Ii)(n,t.length)),i&&(n=(0,o.Ii)(n,i.length)),new a(n,e,t,i,t?t.missingOpeningBracketIds:r.tS.getEmpty())}get kind(){return 2}get listHeight(){return 0}get childrenLength(){return 3}getChild(e){switch(e){case 0:return this.openingBracket;case 1:return this.child;case 2:return this.closingBracket}throw Error("Invalid child index")}get children(){let e=[];return e.push(this.openingBracket),this.child&&e.push(this.child),this.closingBracket&&e.push(this.closingBracket),e}canBeReused(e){return!(null===this.closingBracket||e.intersects(this.missingOpeningBracketIds))}deepClone(){return new a(this.length,this.openingBracket.deepClone(),this.child&&this.child.deepClone(),this.closingBracket&&this.closingBracket.deepClone(),this.missingOpeningBracketIds)}computeMinIndentation(e,t){return this.child?this.child.computeMinIndentation((0,o.Ii)(e,this.openingBracket.length),t):Number.MAX_SAFE_INTEGER}}class l extends s{constructor(e,t,i){super(e),this.listHeight=t,this._missingOpeningBracketIds=i,this.cachedMinIndentation=-1}static create23(e,t,i,n=!1){let r=e.length,s=e.missingOpeningBracketIds;if(e.listHeight!==t.listHeight)throw Error("Invalid list heights");if(r=(0,o.Ii)(r,t.length),s=s.merge(t.missingOpeningBracketIds),i){if(e.listHeight!==i.listHeight)throw Error("Invalid list heights");r=(0,o.Ii)(r,i.length),s=s.merge(i.missingOpeningBracketIds)}return n?new d(r,e.listHeight+1,e,t,i,s):new h(r,e.listHeight+1,e,t,i,s)}static getEmpty(){return new c(o.xl,0,[],r.tS.getEmpty())}get kind(){return 4}get missingOpeningBracketIds(){return this._missingOpeningBracketIds}throwIfImmutable(){}makeLastElementMutable(){this.throwIfImmutable();let e=this.childrenLength;if(0===e)return;let t=this.getChild(e-1),i=4===t.kind?t.toMutable():t;return t!==i&&this.setChild(e-1,i),i}makeFirstElementMutable(){this.throwIfImmutable();let e=this.childrenLength;if(0===e)return;let t=this.getChild(0),i=4===t.kind?t.toMutable():t;return t!==i&&this.setChild(0,i),i}canBeReused(e){let t;if(e.intersects(this.missingOpeningBracketIds))return!1;let i=this;for(;4===i.kind&&(t=i.childrenLength)>0;)i=i.getChild(t-1);return i.canBeReused(e)}handleChildrenChanged(){this.throwIfImmutable();let e=this.childrenLength,t=this.getChild(0).length,i=this.getChild(0).missingOpeningBracketIds;for(let n=1;ns.from(e))}getOffsetBeforeChange(e){return this.adjustNextEdit(e),this.translateCurToOld(e)}getDistanceToNextChange(e){this.adjustNextEdit(e);let t=this.edits[this.nextEditIdx],i=t?this.translateOldToCur(t.offsetObj):this.documentLength;return(0,n.BE)(e,i)}translateOldToCur(e){return e.lineCount===this.deltaLineIdxInOld?(0,n.Hg)(e.lineCount+this.deltaOldToNewLineCount,e.columnCount+this.deltaOldToNewColumnCount):(0,n.Hg)(e.lineCount+this.deltaOldToNewLineCount,e.columnCount)}translateCurToOld(e){let t=(0,n.Hw)(e);return t.lineCount-this.deltaOldToNewLineCount===this.deltaLineIdxInOld?(0,n.Hg)(t.lineCount-this.deltaOldToNewLineCount,t.columnCount-this.deltaOldToNewColumnCount):(0,n.Hg)(t.lineCount-this.deltaOldToNewLineCount,t.columnCount)}adjustNextEdit(e){for(;this.nextEditIdx{let t;return t=(0,n.ec)(e),/^[\w ]+/.test(e)&&(t=`\\b${t}`),/[\w ]+$/.test(e)&&(t=`${t}\\b`),t}).join("|")}}get regExpGlobal(){if(!this.hasRegExp){let e=this.getRegExpStr();this._regExpGlobal=e?RegExp(e,"gi"):null,this.hasRegExp=!0}return this._regExpGlobal}getToken(e){return this.map.get(e.toLowerCase())}findClosingTokenText(e){for(let[t,i]of this.map)if(2===i.kind&&i.bracketIds.intersects(e))return t}get isEmpty(){return 0===this.map.size}}class h{constructor(e,t){this.denseKeyProvider=e,this.getLanguageConfiguration=t,this.languageIdToBracketTokens=new Map}didLanguageChange(e){return this.languageIdToBracketTokens.has(e)}getSingleLanguageBracketTokens(e){let t=this.languageIdToBracketTokens.get(e);return t||(t=l.createFromLanguage(this.getLanguageConfiguration(e),this.denseKeyProvider),this.languageIdToBracketTokens.set(e,t)),t}}},45035:function(e,t,i){"use strict";i.d(t,{BE:function(){return p},By:function(){return f},F_:function(){return c},Hg:function(){return h},Hw:function(){return d},Ii:function(){return g},PZ:function(){return v},Qw:function(){return C},VR:function(){return m},W9:function(){return u},Zq:function(){return _},av:function(){return s},oR:function(){return b},xd:function(){return l},xl:function(){return a}});var n=i(97295),o=i(24314);class r{constructor(e,t){this.lineCount=e,this.columnCount=t}toString(){return`${this.lineCount},${this.columnCount}`}}function s(e,t,i,n){return e!==i?h(i-e,n):h(0,n-t)}r.zero=new r(0,0);let a=0;function l(e){return 0===e}function h(e,t){return 67108864*e+t}function d(e){let t=Math.floor(e/67108864),i=e-67108864*t;return new r(t,i)}function u(e){return Math.floor(e/67108864)}function c(e){return e}function g(e,t){return t<67108864?e+t:e-e%67108864+t}function p(e,t){if(t-e<=0)return a;let i=Math.floor(e/67108864),n=Math.floor(t/67108864),o=t-67108864*n;if(i!==n)return h(n-i,o);{let t=e-67108864*i;return h(0,o-t)}}function m(e,t){return e=t}function v(e){return h(e.lineNumber-1,e.column-1)}function C(e,t){let i=Math.floor(e/67108864),n=e-67108864*i,r=Math.floor(t/67108864),s=t-67108864*r;return new o.e(i+1,n+1,r+1,s+1)}function b(e){let t=(0,n.uq)(e);return h(t.length-1,t[t.length-1].length)}},64837:function(e,t,i){"use strict";i.d(t,{w:function(){return g}});var n=i(66381),o=i(2442),r=i(61761),s=i(45035);function a(e,t=!1){if(0===e.length)return null;if(1===e.length)return e[0];let i=e.length;for(;i>3;){let o=i>>1;for(let r=0;r=3?e[2]:null,t)}function l(e,t){return Math.abs(e.listHeight-t.listHeight)}function h(e,t){return e.listHeight===t.listHeight?n.Y0.create23(e,t,null,!1):e.listHeight>t.listHeight?function(e,t){let i;let o=e=e.toMutable(),r=[];for(;;){if(t.listHeight===o.listHeight){i=t;break}if(4!==o.kind)throw Error("unexpected");r.push(o),o=o.makeLastElementMutable()}for(let e=r.length-1;e>=0;e--){let t=r[e];i?t.childrenLength>=3?i=n.Y0.create23(t.unappendChild(),i,null,!1):(t.appendChildOfSameHeight(i),i=void 0):t.handleChildrenChanged()}return i?n.Y0.create23(e,i,null,!1):e}(e,t):function(e,t){let i=e=e.toMutable(),o=[];for(;t.listHeight!==i.listHeight;){if(4!==i.kind)throw Error("unexpected");o.push(i),i=i.makeFirstElementMutable()}let r=t;for(let e=o.length-1;e>=0;e--){let t=o[e];r?t.childrenLength>=3?r=n.Y0.create23(r,t.unprependChild(),null,!1):(t.prependChildOfSameHeight(r),r=void 0):t.handleChildrenChanged()}return r?n.Y0.create23(r,e,null,!1):e}(t,e)}class d{constructor(e){this.lastOffset=s.xl,this.nextNodes=[e],this.offsets=[s.xl],this.idxs=[]}readLongestNodeAt(e,t){if((0,s.VR)(e,this.lastOffset))throw Error("Invalid offset");for(this.lastOffset=e;;){let i=c(this.nextNodes);if(!i)return;let n=c(this.offsets);if((0,s.VR)(e,n))return;if((0,s.VR)(n,e)){if((0,s.Ii)(n,i.length)<=e)this.nextNodeAfterCurrent();else{let e=u(i);-1!==e?(this.nextNodes.push(i.getChild(e)),this.offsets.push(n),this.idxs.push(e)):this.nextNodeAfterCurrent()}}else{if(t(i))return this.nextNodeAfterCurrent(),i;{let e=u(i);if(-1===e){this.nextNodeAfterCurrent();return}this.nextNodes.push(i.getChild(e)),this.offsets.push(n),this.idxs.push(e)}}}}nextNodeAfterCurrent(){for(;;){let e=c(this.offsets),t=c(this.nextNodes);if(this.nextNodes.pop(),this.offsets.pop(),0===this.idxs.length)break;let i=c(this.nextNodes),n=u(i,this.idxs[this.idxs.length-1]);if(-1!==n){this.nextNodes.push(i.getChild(n)),this.offsets.push((0,s.Ii)(e,t.length)),this.idxs[this.idxs.length-1]=n;break}this.idxs.pop()}}}function u(e,t=-1){for(;;){if(++t>=e.childrenLength)return -1;if(e.getChild(t))return t}}function c(e){return e.length>0?e[e.length-1]:void 0}function g(e,t,i,n){let o=new p(e,t,i,n);return o.parseDocument()}class p{constructor(e,t,i,n){if(this.tokenizer=e,this.createImmutableLists=n,this._itemsConstructed=0,this._itemsFromCache=0,i&&n)throw Error("Not supported");this.oldNodeReader=i?new d(i):void 0,this.positionMapper=new o.Y(t,e.length)}parseDocument(){this._itemsConstructed=0,this._itemsFromCache=0;let e=this.parseList(r.tS.getEmpty());return e||(e=n.Y0.getEmpty()),e}parseList(e){let t=[];for(;;){let i=this.tokenizer.peek();if(!i||2===i.kind&&i.bracketIds.intersects(e))break;let n=this.parseChild(e);(4!==n.kind||0!==n.childrenLength)&&t.push(n)}let i=this.oldNodeReader?function(e){if(0===e.length)return null;if(1===e.length)return e[0];let t=0;function i(){if(t>=e.length)return null;let i=t,n=e[i].listHeight;for(t++;t=2?a(0===i&&t===e.length?e:e.slice(i,t),!1):e[i]}let n=i(),o=i();if(!o)return n;for(let e=i();e;e=i())l(n,o)<=l(o,e)?(n=h(n,o),o=e):o=h(o,e);let r=h(n,o);return r}(t):a(t,this.createImmutableLists);return i}parseChild(e){if(this.oldNodeReader){let t=this.positionMapper.getDistanceToNextChange(this.tokenizer.offset);if(!(0,s.xd)(t)){let i=this.oldNodeReader.readLongestNodeAt(this.positionMapper.getOffsetBeforeChange(this.tokenizer.offset),i=>{if(!(0,s.VR)(i.length,t))return!1;let n=i.canBeReused(e);return n});if(i)return this._itemsFromCache++,this.tokenizer.skip(i.length),i}}this._itemsConstructed++;let t=this.tokenizer.read();switch(t.kind){case 2:return new n.Dm(t.bracketIds,t.length);case 0:return t.astNode;case 1:{let i=e.merge(t.bracketIds),o=this.parseList(i),r=this.tokenizer.peek();if(r&&2===r.kind&&(r.bracketId===t.bracketId||r.bracketIds.intersects(t.bracketIds)))return this.tokenizer.read(),n.Kd.create(t.astNode,o,r.astNode);return n.Kd.create(t.astNode,o,null)}default:throw Error("unexpected")}}}},61761:function(e,t,i){"use strict";i.d(t,{FE:function(){return s},Qw:function(){return r},tS:function(){return o}});let n=[];class o{constructor(e,t){this.items=e,this.additionalItems=t}static create(e,t){if(e<=128&&0===t.length){let i=o.cache[e];return i||(i=new o(e,t),o.cache[e]=i),i}return new o(e,t)}static getEmpty(){return this.empty}add(e,t){let i=t.getKey(e),n=i>>5;if(0===n){let e=1<e};class s{constructor(){this.items=new Map}getKey(e){let t=this.items.get(e);return void 0===t&&(t=this.items.size,this.items.set(e,t)),t}}},6735:function(e,t,i){"use strict";i.d(t,{WU:function(){return l},g:function(){return u},xH:function(){return h}});var n=i(17301),o=i(45797),r=i(66381),s=i(45035),a=i(61761);class l{constructor(e,t,i,n,o){this.length=e,this.kind=t,this.bracketId=i,this.bracketIds=n,this.astNode=o}}class h{constructor(e,t){this.textModel=e,this.bracketTokens=t,this.reader=new d(this.textModel,this.bracketTokens),this._offset=s.xl,this.didPeek=!1,this.peeked=null,this.textBufferLineCount=e.getLineCount(),this.textBufferLastLineLength=e.getLineLength(this.textBufferLineCount)}get offset(){return this._offset}get length(){return(0,s.Hg)(this.textBufferLineCount,this.textBufferLastLineLength)}skip(e){this.didPeek=!1,this._offset=(0,s.Ii)(this._offset,e);let t=(0,s.Hw)(this._offset);this.reader.setPosition(t.lineCount,t.columnCount)}read(){let e;return this.peeked?(this.didPeek=!1,e=this.peeked):e=this.reader.read(),e&&(this._offset=(0,s.Ii)(this._offset,e.length)),e}peek(){return this.didPeek||(this.peeked=this.reader.read(),this.didPeek=!0),this.peeked}}class d{constructor(e,t){this.textModel=e,this.bracketTokens=t,this.lineIdx=0,this.line=null,this.lineCharOffset=0,this.lineTokens=null,this.lineTokenOffset=0,this.peekedToken=null,this.textBufferLineCount=e.getLineCount(),this.textBufferLastLineLength=e.getLineLength(this.textBufferLineCount)}setPosition(e,t){e===this.lineIdx?(this.lineCharOffset=t,this.lineTokenOffset=0===this.lineCharOffset?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset)):(this.lineIdx=e,this.lineCharOffset=t,this.line=null),this.peekedToken=null}read(){if(this.peekedToken){let e=this.peekedToken;return this.peekedToken=null,this.lineCharOffset+=(0,s.F_)(e.length),e}if(this.lineIdx>this.textBufferLineCount-1||this.lineIdx===this.textBufferLineCount-1&&this.lineCharOffset>=this.textBufferLastLineLength)return null;null===this.line&&(this.lineTokens=this.textModel.tokenization.getLineTokens(this.lineIdx+1),this.line=this.lineTokens.getLineContent(),this.lineTokenOffset=0===this.lineCharOffset?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset));let e=this.lineIdx,t=this.lineCharOffset,i=0;for(;;){let n=this.lineTokens,r=n.getCount(),a=null;if(this.lineTokenOffset1e3))break;if(i>1500)break}let n=(0,s.av)(e,t,this.lineIdx,this.lineCharOffset);return new l(n,0,-1,a.tS.getEmpty(),new r.BH(n))}}class u{constructor(e,t){let i;this.text=e,this._offset=s.xl,this.idx=0;let n=t.getRegExpStr(),o=n?RegExp(n+"|\n","gi"):null,h=[],d=0,u=0,c=0,g=0,p=[];for(let e=0;e<60;e++)p.push(new l((0,s.Hg)(0,e),0,-1,a.tS.getEmpty(),new r.BH((0,s.Hg)(0,e))));let m=[];for(let e=0;e<60;e++)m.push(new l((0,s.Hg)(1,e),0,-1,a.tS.getEmpty(),new r.BH((0,s.Hg)(1,e))));if(o)for(o.lastIndex=0;null!==(i=o.exec(e));){let e=i.index,n=i[0];if("\n"===n)d++,u=e+1;else{if(c!==e){let t;if(g===d){let i=e-c;if(i0&&(this.changes=(0,a.b)(this.changes,t)),this.afterEOL=i,this.afterVersionId=n,this.afterCursorState=o}static _writeSelectionsSize(e){return 4+16*(e?e.length:0)}static _writeSelections(e,t,i){if(l.T4(e,t?t.length:0,i),i+=4,t)for(let n of t)l.T4(e,n.selectionStartLineNumber,i),i+=4,l.T4(e,n.selectionStartColumn,i),i+=4,l.T4(e,n.positionLineNumber,i),i+=4,l.T4(e,n.positionColumn,i),i+=4;return i}static _readSelections(e,t,i){let n=l.Ag(e,t);t+=4;for(let o=0;oe.toString()).join(", ")}matchesResource(e){let t=s.o.isUri(this.model)?this.model:this.model.uri;return t.toString()===e.toString()}setModel(e){this.model=e}canAppend(e){return this.model===e&&this._data instanceof u}append(e,t,i,n,o){this._data instanceof u&&this._data.append(e,t,i,n,o)}close(){this._data instanceof u&&(this._data=this._data.serialize())}open(){this._data instanceof u||(this._data=u.deserialize(this._data))}undo(){if(s.o.isUri(this.model))throw Error("Invalid SingleModelEditStackElement");this._data instanceof u&&(this._data=this._data.serialize());let e=u.deserialize(this._data);this.model._applyUndo(e.changes,e.beforeEOL,e.beforeVersionId,e.beforeCursorState)}redo(){if(s.o.isUri(this.model))throw Error("Invalid SingleModelEditStackElement");this._data instanceof u&&(this._data=this._data.serialize());let e=u.deserialize(this._data);this.model._applyRedo(e.changes,e.afterEOL,e.afterVersionId,e.afterCursorState)}heapSize(){return this._data instanceof u&&(this._data=this._data.serialize()),this._data.byteLength+168}}class g{constructor(e,t,i){for(let n of(this.label=e,this.code=t,this.type=1,this._isOpen=!0,this._editStackElementsArr=i.slice(0),this._editStackElementsMap=new Map,this._editStackElementsArr)){let e=d(n.resource);this._editStackElementsMap.set(e,n)}this._delegate=null}get resources(){return this._editStackElementsArr.map(e=>e.resource)}prepareUndoRedo(){if(this._delegate)return this._delegate.prepareUndoRedo(this)}matchesResource(e){let t=d(e);return this._editStackElementsMap.has(t)}setModel(e){let t=d(s.o.isUri(e)?e:e.uri);this._editStackElementsMap.has(t)&&this._editStackElementsMap.get(t).setModel(e)}canAppend(e){if(!this._isOpen)return!1;let t=d(e.uri);if(this._editStackElementsMap.has(t)){let i=this._editStackElementsMap.get(t);return i.canAppend(e)}return!1}append(e,t,i,n,o){let r=d(e.uri),s=this._editStackElementsMap.get(r);s.append(e,t,i,n,o)}close(){this._isOpen=!1}open(){}undo(){for(let e of(this._isOpen=!1,this._editStackElementsArr))e.undo()}redo(){for(let e of this._editStackElementsArr)e.redo()}heapSize(e){let t=d(e);if(this._editStackElementsMap.has(t)){let e=this._editStackElementsMap.get(t);return e.heapSize()}return 0}split(){return this._editStackElementsArr}toString(){let e=[];for(let t of this._editStackElementsArr)e.push(`${(0,h.EZ)(t.resource)}: ${t}`);return`{${e.join(", ")}}`}}function p(e){let t=e.getEOL();return"\n"===t?0:1}function m(e){return!!e&&(e instanceof c||e instanceof g)}class f{constructor(e,t){this._model=e,this._undoRedoService=t}pushStackElement(){let e=this._undoRedoService.getLastElement(this._model.uri);m(e)&&e.close()}popStackElement(){let e=this._undoRedoService.getLastElement(this._model.uri);m(e)&&e.open()}clear(){this._undoRedoService.removeElements(this._model.uri)}_getOrCreateEditStackElement(e){let t=this._undoRedoService.getLastElement(this._model.uri);if(m(t)&&t.canAppend(this._model))return t;let i=new c(n.NC("edit","Typing"),"undoredo.textBufferEdit",this._model,e);return this._undoRedoService.pushElement(i),i}pushEOL(e){let t=this._getOrCreateEditStackElement(null);this._model.setEOL(e),t.append(this._model,[],p(this._model),this._model.getAlternativeVersionId(),null)}pushEditOperation(e,t,i){let n=this._getOrCreateEditStackElement(e),o=this._model.applyEdits(t,!0),r=f._computeCursorState(i,o),s=o.map((e,t)=>({index:t,textChange:e.textChange}));return s.sort((e,t)=>e.textChange.oldPosition===t.textChange.oldPosition?e.index-t.index:e.textChange.oldPosition-t.textChange.oldPosition),n.append(this._model,s.map(e=>e.textChange),p(this._model),this._model.getAlternativeVersionId(),r),r}static _computeCursorState(e,t){try{return e?e(t):null}catch(e){return(0,o.dL)(e),null}}}},1516:function(e,t,i){"use strict";i.d(t,{W:function(){return u},l:function(){return d}});var n=i(9488),o=i(97295),r=i(7988),s=i(24314),a=i(94954),l=i(59616),h=i(65094);class d extends a.U{constructor(e,t){super(),this.textModel=e,this.languageConfigurationService=t}getLanguageConfiguration(e){return this.languageConfigurationService.getLanguageConfiguration(e)}_computeIndentLevel(e){return(0,l.q)(this.textModel.getLineContent(e+1),this.textModel.getOptions().tabSize)}getActiveIndentGuide(e,t,i){this.assertNotDisposed();let n=this.textModel.getLineCount();if(e<1||e>n)throw Error("Illegal value for lineNumber");let o=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,r=!!(o&&o.offSide),s=-2,a=-1,l=-2,h=-1,d=e=>{if(-1!==s&&(-2===s||s>e-1)){s=-1,a=-1;for(let t=e-2;t>=0;t--){let e=this._computeIndentLevel(t);if(e>=0){s=t,a=e;break}}}if(-2===l){l=-1,h=-1;for(let t=e;t=0){l=t,h=e;break}}}},u=-2,c=-1,g=-2,p=-1,m=e=>{if(-2===u){u=-1,c=-1;for(let t=e-2;t>=0;t--){let e=this._computeIndentLevel(t);if(e>=0){u=t,c=e;break}}}if(-1!==g&&(-2===g||g=0){g=t,p=e;break}}}},f=0,_=!0,v=0,C=!0,b=0,w=0;for(let o=0;_||C;o++){let s=e-o,g=e+o;o>1&&(s<1||s1&&(g>n||g>i)&&(C=!1),o>5e4&&(_=!1,C=!1);let y=-1;if(_&&s>=1){let e=this._computeIndentLevel(s-1);e>=0?(l=s-1,h=e,y=Math.ceil(e/this.textModel.getOptions().indentSize)):(d(s),y=this._getIndentLevelForWhitespaceLine(r,a,h))}let S=-1;if(C&&g<=n){let e=this._computeIndentLevel(g-1);e>=0?(u=g-1,c=e,S=Math.ceil(e/this.textModel.getOptions().indentSize)):(m(g),S=this._getIndentLevelForWhitespaceLine(r,c,p))}if(0===o){w=y;continue}if(1===o){if(g<=n&&S>=0&&w+1===S){_=!1,f=g,v=g,b=S;continue}if(s>=1&&y>=0&&y-1===w){C=!1,f=s,v=s,b=y;continue}if(f=e,v=e,0===(b=w))break}_&&(y>=b?f=s:_=!1),C&&(S>=b?v=g:C=!1)}return{startLineNumber:f,endLineNumber:v,indent:b}}getLinesBracketGuides(e,t,i,r){var a;let l;let d=[];for(let i=e;i<=t;i++)d.push([]);let c=this.textModel.bracketPairs.getBracketPairsInRangeWithMinIndentation(new s.e(e,1,t,this.textModel.getLineMaxColumn(t)));if(i&&c.length>0){let o=(e<=i.lineNumber&&i.lineNumber<=t?c:this.textModel.bracketPairs.getBracketPairsInRange(s.e.fromPositions(i))).filter(e=>s.e.strictContainsPosition(e.range,i));l=null===(a=(0,n.dF)(o,e=>!0))||void 0===a?void 0:a.range}let g=this.textModel.getOptions().bracketPairColorizationOptions.independentColorPoolPerBracketType,p=new u;for(let i of c){if(!i.closingBracketRange)continue;let n=l&&i.range.equalsRange(l);if(!n&&!r.includeInactive)continue;let s=p.getInlineClassName(i.nestingLevel,i.nestingLevelOfEqualBracketType,g)+(r.highlightActive&&n?" "+p.activeClassName:""),a=i.openingBracketRange.getStartPosition(),u=i.closingBracketRange.getStartPosition(),c=r.horizontalGuides===h.s6.Enabled||r.horizontalGuides===h.s6.EnabledForActive&&n;if(i.range.startLineNumber===i.range.endLineNumber){c&&d[i.range.startLineNumber-e].push(new h.UO(-1,i.openingBracketRange.getEndPosition().column,s,new h.vW(!1,u.column),-1,-1));continue}let m=this.getVisibleColumnFromPosition(u),f=this.getVisibleColumnFromPosition(i.openingBracketRange.getStartPosition()),_=Math.min(f,m,i.minVisibleColumnIndentation+1),v=!1,C=o.LC(this.textModel.getLineContent(i.closingBracketRange.startLineNumber)),b=C=e&&f>_&&d[a.lineNumber-e].push(new h.UO(_,-1,s,new h.vW(!1,a.column),-1,-1)),u.lineNumber<=t&&m>_&&d[u.lineNumber-e].push(new h.UO(_,-1,s,new h.vW(!v,u.column),-1,-1)))}for(let e of d)e.sort((e,t)=>e.visibleColumn-t.visibleColumn);return d}getVisibleColumnFromPosition(e){return r.i.visibleColumnFromColumn(this.textModel.getLineContent(e.lineNumber),e.column,this.textModel.getOptions().tabSize)+1}getLinesIndentGuides(e,t){this.assertNotDisposed();let i=this.textModel.getLineCount();if(e<1||e>i)throw Error("Illegal value for startLineNumber");if(t<1||t>i)throw Error("Illegal value for endLineNumber");let n=this.textModel.getOptions(),o=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,r=!!(o&&o.offSide),s=Array(t-e+1),a=-2,l=-1,h=-2,d=-1;for(let o=e;o<=t;o++){let t=o-e,u=this._computeIndentLevel(o-1);if(u>=0){a=o-1,l=u,s[t]=Math.ceil(u/n.indentSize);continue}if(-2===a){a=-1,l=-1;for(let e=o-2;e>=0;e--){let t=this._computeIndentLevel(e);if(t>=0){a=e,l=t;break}}}if(-1!==h&&(-2===h||h=0){h=e,d=t;break}}}s[t]=this._getIndentLevelForWhitespaceLine(r,l,d)}return s}_getIndentLevelForWhitespaceLine(e,t,i){let n=this.textModel.getOptions();return -1===t||-1===i?0:t=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=(0,o.A)(e),t=(0,o.A)(t),this.values[e]!==t&&(this.values[e]=t,e-1=i.length)return!1;let r=i.length-e;return t>=r&&(t=r),0!==t&&(this.values=new Uint32Array(i.length-t),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=(0,o.A)(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let i=t;i<=e;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,i=this.values.length-1,n=0,o=0,r=0;for(;t<=i;)if(n=t+(i-t)/2|0,e<(r=(o=this.prefixSum[n])-this.values[n]))i=n-1;else if(e>=o)t=n+1;else break;return new a(n,e-r)}}class s{constructor(e){this._values=e,this._isValid=!1,this._validEndIndex=-1,this._prefixSum=[],this._indexBySum=[]}getTotalSum(){return this._ensureValid(),this._indexBySum.length}getPrefixSum(e){return(this._ensureValid(),0===e)?0:this._prefixSum[e-1]}getIndexOf(e){this._ensureValid();let t=this._indexBySum[e],i=t>0?this._prefixSum[t-1]:0;return new a(t,e-i)}removeValues(e,t){this._values.splice(e,t),this._invalidate(e)}insertValues(e,t){this._values=(0,n.Zv)(this._values,e,t),this._invalidate(e)}_invalidate(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)}_ensureValid(){if(!this._isValid){for(let e=this._validEndIndex+1,t=this._values.length;e0?this._prefixSum[e-1]:0;this._prefixSum[e]=i+t;for(let n=0;nnew y.Q((0,L.Hg)(e.fromLineNumber-1,0),(0,L.Hg)(e.toLineNumber,0),(0,L.Hg)(e.toLineNumber-e.fromLineNumber+1,0)));this.astWithTokens=this.parseDocumentFromTextBuffer(t,this.astWithTokens,!1),this.initialAstWithoutTokens||this.didChangeEmitter.fire()}handleContentChanged(e){let t=e.changes.map(e=>{let t=g.e.lift(e.range);return new y.Q((0,L.PZ)(t.getStartPosition()),(0,L.PZ)(t.getEndPosition()),(0,L.oR)(e.text))}).reverse();this.astWithTokens=this.parseDocumentFromTextBuffer(t,this.astWithTokens,!1),this.initialAstWithoutTokens&&(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer(t,this.initialAstWithoutTokens,!1))}parseDocumentFromTextBuffer(e,t,i){let n=new D.xH(this.textModel,this.brackets),o=(0,k.w)(n,e,t,i);return o}getBracketsInRange(e){let t=(0,L.Hg)(e.startLineNumber-1,e.startColumn-1),i=(0,L.Hg)(e.endLineNumber-1,e.endColumn-1),n=[],o=this.initialAstWithoutTokens||this.astWithTokens;return function e(t,i,n,o,r,s,a,l){if(!(a>200)){if(4===t.kind)for(let h of t.children)n=(0,L.Ii)(i,h.length),(0,L.By)(i,r)&&(0,L.Zq)(n,o)&&e(h,i,n,o,r,s,a,l),i=n;else if(2===t.kind){let h=0;if(l){let e=l.get(t.openingBracket.text);void 0===e&&(e=0),h=e,e++,l.set(t.openingBracket.text,e)}{let e=t.openingBracket;if(n=(0,L.Ii)(i,e.length),(0,L.By)(i,r)&&(0,L.Zq)(n,o)){let e=(0,L.Qw)(i,n);s.push(new C(e,a,h,!t.closingBracket))}i=n}if(t.child){let h=t.child;n=(0,L.Ii)(i,h.length),(0,L.By)(i,r)&&(0,L.Zq)(n,o)&&e(h,i,n,o,r,s,a+1,l),i=n}if(t.closingBracket){let e=t.closingBracket;if(n=(0,L.Ii)(i,e.length),(0,L.By)(i,r)&&(0,L.Zq)(n,o)){let e=(0,L.Qw)(i,n);s.push(new C(e,a,h,!1))}i=n}null==l||l.set(t.openingBracket.text,h)}else if(3===t.kind){let e=(0,L.Qw)(i,n);s.push(new C(e,a-1,0,!0))}else if(1===t.kind){let e=(0,L.Qw)(i,n);s.push(new C(e,a-1,0,!1))}}}(o,L.xl,o.length,t,i,n,0,new Map),n}getBracketPairsInRange(e,t){let i=[],n=(0,L.PZ)(e.getStartPosition()),o=(0,L.PZ)(e.getEndPosition()),r=this.initialAstWithoutTokens||this.astWithTokens,s=new I(i,t,this.textModel);return function e(t,i,n,o,r,s,a,l){var h;if(!(a>200)){if(2===t.kind){let d=0;if(l){let e=l.get(t.openingBracket.text);void 0===e&&(e=0),d=e,e++,l.set(t.openingBracket.text,e)}let u=(0,L.Ii)(i,t.openingBracket.length),c=-1;if(s.includeMinIndentation&&(c=t.computeMinIndentation(i,s.textModel)),s.result.push(new w((0,L.Qw)(i,n),(0,L.Qw)(i,u),t.closingBracket?(0,L.Qw)((0,L.Ii)(u,(null===(h=t.child)||void 0===h?void 0:h.length)||L.xl),n):void 0,a,d,t,c)),i=u,t.child){let h=t.child;n=(0,L.Ii)(i,h.length),(0,L.By)(i,r)&&(0,L.Zq)(n,o)&&e(h,i,n,o,r,s,a+1,l)}null==l||l.set(t.openingBracket.text,d)}else{let n=i;for(let i of t.children){let t=n;n=(0,L.Ii)(n,i.length),(0,L.By)(t,r)&&(0,L.By)(o,n)&&e(i,t,n,o,r,s,a,l)}}}}(r,L.xl,r.length,n,o,s,0,new Map),i}getFirstBracketAfter(e){let t=this.initialAstWithoutTokens||this.astWithTokens;return function e(t,i,n,o){if(4===t.kind||2===t.kind)for(let r of t.children){if(n=(0,L.Ii)(i,r.length),(0,L.VR)(o,n)){let t=e(r,i,n,o);if(t)return t}i=n}else if(3===t.kind);else if(1===t.kind){let e=(0,L.Qw)(i,n);return{bracketInfo:t.bracketInfo,range:e}}return null}(t,L.xl,t.length,(0,L.PZ)(e))}getFirstBracketBefore(e){let t=this.initialAstWithoutTokens||this.astWithTokens;return function e(t,i,n,o){if(4===t.kind||2===t.kind){let r=[];for(let e of t.children)n=(0,L.Ii)(i,e.length),r.push({nodeOffsetStart:i,nodeOffsetEnd:n}),i=n;for(let i=r.length-1;i>=0;i--){let{nodeOffsetStart:n,nodeOffsetEnd:s}=r[i];if((0,L.VR)(n,o)){let r=e(t.children[i],n,s,o);if(r)return r}}}else if(3===t.kind);else if(1===t.kind){let e=(0,L.Qw)(i,n);return{bracketInfo:t.bracketInfo,range:e}}return null}(t,L.xl,t.length,(0,L.PZ)(e))}}class I{constructor(e,t,i){this.result=e,this.includeMinIndentation=t,this.textModel=i}}var E=i(19111),T=i(34302);class M extends a.JT{constructor(e,t){super(),this.textModel=e,this.languageConfigurationService=t,this.bracketPairsTree=this._register(new a.XK),this.onDidChangeEmitter=new s.Q5,this.onDidChange=this.onDidChangeEmitter.event,this.bracketsRequested=!1,this._register(this.languageConfigurationService.onDidChange(e=>{var t;(!e.languageId||(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.didLanguageChange(e.languageId)))&&(this.bracketPairsTree.clear(),this.updateBracketPairsTree())}))}get canBuildAST(){return 5e6>=this.textModel.getValueLength()}handleDidChangeOptions(e){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeLanguage(e){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeContent(e){var t;null===(t=this.bracketPairsTree.value)||void 0===t||t.object.handleContentChanged(e)}handleDidChangeBackgroundTokenizationState(){var e;null===(e=this.bracketPairsTree.value)||void 0===e||e.object.handleDidChangeBackgroundTokenizationState()}handleDidChangeTokens(e){var t;null===(t=this.bracketPairsTree.value)||void 0===t||t.object.handleDidChangeTokens(e)}updateBracketPairsTree(){if(this.bracketsRequested&&this.canBuildAST){if(!this.bracketPairsTree.value){let e=new a.SL;this.bracketPairsTree.value={object:e.add(new x(this.textModel,e=>this.languageConfigurationService.getLanguageConfiguration(e))),dispose:()=>null==e?void 0:e.dispose()},e.add(this.bracketPairsTree.value.object.onDidChange(e=>this.onDidChangeEmitter.fire(e))),this.onDidChangeEmitter.fire()}}else this.bracketPairsTree.value&&(this.bracketPairsTree.clear(),this.onDidChangeEmitter.fire())}getBracketPairsInRange(e){var t;return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.getBracketPairsInRange(e,!1))||[]}getBracketPairsInRangeWithMinIndentation(e){var t;return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.getBracketPairsInRange(e,!0))||[]}getBracketsInRange(e){var t;return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.getBracketsInRange(e))||[]}findMatchingBracketUp(e,t,i){let o=this.textModel.validatePosition(t),r=this.textModel.getLanguageIdAtPosition(o.lineNumber,o.column);if(this.canBuildAST){let i=this.languageConfigurationService.getLanguageConfiguration(r).bracketsNew.getClosingBracketInfo(e);if(!i)return null;let o=(0,n.dF)(this.getBracketPairsInRange(g.e.fromPositions(t,t))||[],e=>i.closes(e.openingBracketInfo));return o?o.openingBracketRange:null}{let t=e.toLowerCase(),n=this.languageConfigurationService.getLanguageConfiguration(r).brackets;if(!n)return null;let s=n.textIsBracket[t];return s?O(this._findMatchingBracketUp(s,o,A(i))):null}}matchBracket(e,t){if(this.canBuildAST){let t=(0,n.jV)(this.getBracketPairsInRange(g.e.fromPositions(e,e)).filter(t=>void 0!==t.closingBracketRange&&(t.openingBracketRange.containsPosition(e)||t.closingBracketRange.containsPosition(e))),(0,n.tT)(t=>t.openingBracketRange.containsPosition(e)?t.openingBracketRange:t.closingBracketRange,g.e.compareRangesUsingStarts));return t?[t.openingBracketRange,t.closingBracketRange]:null}{let i=A(t);return this._matchBracket(this.textModel.validatePosition(e),i)}}_establishBracketSearchOffsets(e,t,i,n){let o=t.getCount(),r=t.getLanguageId(n),s=Math.max(0,e.column-1-i.maxBracketLength);for(let e=n-1;e>=0;e--){let i=t.getEndOffset(e);if(i<=s)break;if((0,E.Bu)(t.getStandardTokenType(e))||t.getLanguageId(e)!==r){s=i;break}}let a=Math.min(t.getLineContent().length,e.column-1+i.maxBracketLength);for(let e=n+1;e=a)break;if((0,E.Bu)(t.getStandardTokenType(e))||t.getLanguageId(e)!==r){a=i;break}}return{searchStartOffset:s,searchEndOffset:a}}_matchBracket(e,t){let i=e.lineNumber,n=this.textModel.tokenization.getLineTokens(i),o=this.textModel.getLineContent(i),r=n.findTokenIndexAtOffset(e.column-1);if(r<0)return null;let s=this.languageConfigurationService.getLanguageConfiguration(n.getLanguageId(r)).brackets;if(s&&!(0,E.Bu)(n.getStandardTokenType(r))){let{searchStartOffset:a,searchEndOffset:l}=this._establishBracketSearchOffsets(e,n,s,r),h=null;for(;;){let n=T.Vr.findNextBracketInRange(s.forwardRegex,i,o,a,l);if(!n)break;if(n.startColumn<=e.column&&e.column<=n.endColumn){let e=o.substring(n.startColumn-1,n.endColumn-1).toLowerCase(),i=this._matchFoundBracket(n,s.textIsBracket[e],s.textIsOpenBracket[e],t);if(i){if(i instanceof R)return null;h=i}}a=n.endColumn-1}if(h)return h}if(r>0&&n.getStartOffset(r)===e.column-1){let s=r-1,a=this.languageConfigurationService.getLanguageConfiguration(n.getLanguageId(s)).brackets;if(a&&!(0,E.Bu)(n.getStandardTokenType(s))){let{searchStartOffset:r,searchEndOffset:l}=this._establishBracketSearchOffsets(e,n,a,s),h=T.Vr.findPrevBracketInRange(a.reversedRegex,i,o,r,l);if(h&&h.startColumn<=e.column&&e.column<=h.endColumn){let e=o.substring(h.startColumn-1,h.endColumn-1).toLowerCase(),i=this._matchFoundBracket(h,a.textIsBracket[e],a.textIsOpenBracket[e],t);if(i)return i instanceof R?null:i}}}return null}_matchFoundBracket(e,t,i,n){if(!t)return null;let o=i?this._findMatchingBracketDown(t,e.getEndPosition(),n):this._findMatchingBracketUp(t,e.getStartPosition(),n);return o?o instanceof R?o:[e,o]:null}_findMatchingBracketUp(e,t,i){let n=e.languageId,o=e.reversedRegex,r=-1,s=0,a=(t,n,a,l)=>{for(;;){if(i&&++s%100==0&&!i())return R.INSTANCE;let h=T.Vr.findPrevBracketInRange(o,t,n,a,l);if(!h)break;let d=n.substring(h.startColumn-1,h.endColumn-1).toLowerCase();if(e.isOpen(d)?r++:e.isClose(d)&&r--,0===r)return h;l=h.startColumn-1}return null};for(let e=t.lineNumber;e>=1;e--){let i=this.textModel.tokenization.getLineTokens(e),o=i.getCount(),r=this.textModel.getLineContent(e),s=o-1,l=r.length,h=r.length;e===t.lineNumber&&(s=i.findTokenIndexAtOffset(t.column-1),l=t.column-1,h=t.column-1);let d=!0;for(;s>=0;s--){let t=i.getLanguageId(s)===n&&!(0,E.Bu)(i.getStandardTokenType(s));if(t)d?l=i.getStartOffset(s):(l=i.getStartOffset(s),h=i.getEndOffset(s));else if(d&&l!==h){let t=a(e,r,l,h);if(t)return t}d=t}if(d&&l!==h){let t=a(e,r,l,h);if(t)return t}}return null}_findMatchingBracketDown(e,t,i){let n=e.languageId,o=e.forwardRegex,r=1,s=0,a=(t,n,a,l)=>{for(;;){if(i&&++s%100==0&&!i())return R.INSTANCE;let h=T.Vr.findNextBracketInRange(o,t,n,a,l);if(!h)break;let d=n.substring(h.startColumn-1,h.endColumn-1).toLowerCase();if(e.isOpen(d)?r++:e.isClose(d)&&r--,0===r)return h;a=h.endColumn-1}return null},l=this.textModel.getLineCount();for(let e=t.lineNumber;e<=l;e++){let i=this.textModel.tokenization.getLineTokens(e),o=i.getCount(),r=this.textModel.getLineContent(e),s=0,l=0,h=0;e===t.lineNumber&&(s=i.findTokenIndexAtOffset(t.column-1),l=t.column-1,h=t.column-1);let d=!0;for(;s=1;e--){let t=this.textModel.tokenization.getLineTokens(e),s=t.getCount(),a=this.textModel.getLineContent(e),l=s-1,h=a.length,d=a.length;if(e===i.lineNumber){l=t.findTokenIndexAtOffset(i.column-1),h=i.column-1,d=i.column-1;let e=t.getLanguageId(l);n!==e&&(n=e,o=this.languageConfigurationService.getLanguageConfiguration(n).brackets,r=this.languageConfigurationService.getLanguageConfiguration(n).bracketsNew)}let u=!0;for(;l>=0;l--){let i=t.getLanguageId(l);if(n!==i){if(o&&r&&u&&h!==d){let t=T.Vr.findPrevBracketInRange(o.reversedRegex,e,a,h,d);if(t)return this._toFoundBracket(r,t);u=!1}n=i,o=this.languageConfigurationService.getLanguageConfiguration(n).brackets,r=this.languageConfigurationService.getLanguageConfiguration(n).bracketsNew}let s=!!o&&!(0,E.Bu)(t.getStandardTokenType(l));if(s)u?h=t.getStartOffset(l):(h=t.getStartOffset(l),d=t.getEndOffset(l));else if(r&&o&&u&&h!==d){let t=T.Vr.findPrevBracketInRange(o.reversedRegex,e,a,h,d);if(t)return this._toFoundBracket(r,t)}u=s}if(r&&o&&u&&h!==d){let t=T.Vr.findPrevBracketInRange(o.reversedRegex,e,a,h,d);if(t)return this._toFoundBracket(r,t)}}return null}findNextBracket(e){var t;let i=this.textModel.validatePosition(e);if(this.canBuildAST)return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.getFirstBracketAfter(i))||null;let n=this.textModel.getLineCount(),o=null,r=null,s=null;for(let e=i.lineNumber;e<=n;e++){let t=this.textModel.tokenization.getLineTokens(e),n=t.getCount(),a=this.textModel.getLineContent(e),l=0,h=0,d=0;if(e===i.lineNumber){l=t.findTokenIndexAtOffset(i.column-1),h=i.column-1,d=i.column-1;let e=t.getLanguageId(l);o!==e&&(o=e,r=this.languageConfigurationService.getLanguageConfiguration(o).brackets,s=this.languageConfigurationService.getLanguageConfiguration(o).bracketsNew)}let u=!0;for(;lvoid 0!==t.closingBracketRange&&t.range.strictContainsRange(e));return t?[t.openingBracketRange,t.closingBracketRange]:null}let o=A(t),r=this.textModel.getLineCount(),s=new Map,a=[],l=(e,t)=>{if(!s.has(e)){let i=[];for(let e=0,n=t?t.brackets.length:0;e{for(;;){if(o&&++h%100==0&&!o())return R.INSTANCE;let s=T.Vr.findNextBracketInRange(e.forwardRegex,t,i,n,r);if(!s)break;let l=i.substring(s.startColumn-1,s.endColumn-1).toLowerCase(),d=e.textIsBracket[l];if(d&&(d.isOpen(l)?a[d.index]++:d.isClose(l)&&a[d.index]--,-1===a[d.index]))return this._matchFoundBracket(s,d,!1,o);n=s.endColumn-1}return null},u=null,c=null;for(let e=i.lineNumber;e<=r;e++){let t=this.textModel.tokenization.getLineTokens(e),n=t.getCount(),o=this.textModel.getLineContent(e),r=0,s=0,a=0;if(e===i.lineNumber){r=t.findTokenIndexAtOffset(i.column-1),s=i.column-1,a=i.column-1;let e=t.getLanguageId(r);u!==e&&(u=e,c=this.languageConfigurationService.getLanguageConfiguration(u).brackets,l(u,c))}let h=!0;for(;r!0;{let t=Date.now();return()=>Date.now()-t<=e}}class R{constructor(){this._searchCanceledBrand=void 0}}function O(e){return e instanceof R?null:e}R.INSTANCE=new R;var P=i(51945),F=i(97781);class B extends a.JT{constructor(e){super(),this.textModel=e,this.colorProvider=new V,this.onDidChangeEmitter=new s.Q5,this.onDidChange=this.onDidChangeEmitter.event,this.colorizationOptions=e.getOptions().bracketPairColorizationOptions,this._register(e.bracketPairs.onDidChange(e=>{this.onDidChangeEmitter.fire()}))}handleDidChangeOptions(e){this.colorizationOptions=this.textModel.getOptions().bracketPairColorizationOptions}getDecorationsInRange(e,t,i){if(void 0===t||!this.colorizationOptions.enabled)return[];let n=[],o=this.textModel.bracketPairs.getBracketsInRange(e);for(let e of o)n.push({id:`bracket${e.range.toString()}-${e.nestingLevel}`,options:{description:"BracketPairColorization",inlineClassName:this.colorProvider.getInlineClassName(e,this.colorizationOptions.independentColorPoolPerBracketType)},ownerId:0,range:e.range});return n}getAllDecorations(e,t){return void 0!==e&&this.colorizationOptions.enabled?this.getDecorationsInRange(new g.e(1,1,this.textModel.getLineCount(),1),e,t):[]}}class V{constructor(){this.unexpectedClosingBracketClassName="unexpected-closing-bracket"}getInlineClassName(e,t){return e.isInvalid?this.unexpectedClosingBracketClassName:this.getInlineClassNameOfLevel(t?e.nestingLevelOfEqualBracketType:e.nestingLevel)}getInlineClassNameOfLevel(e){return`bracket-highlighting-${e%30}`}}(0,F.Ic)((e,t)=>{let i=[P.zJ,P.Vs,P.CE,P.UP,P.r0,P.m1],n=new V;t.addRule(`.monaco-editor .${n.unexpectedClosingBracketClassName} { color: ${e.getColor(P.ts)}; }`);let o=i.map(t=>e.getColor(t)).filter(e=>!!e).filter(e=>!e.isTransparent());for(let e=0;e<30;e++){let i=o[e%o.length];t.addRule(`.monaco-editor .${n.getInlineClassNameOfLevel(e)} { color: ${i}; }`)}});var W=i(95215),H=i(1516);class z{constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}}function K(e,t,i){let n=Math.min(e.getLineCount(),1e4),o=0,r=0,s="",a=0,l=[0,0,0,0,0,0,0,0,0],h=new z;for(let d=1;d<=n;d++){let n=e.getLineLength(d),u=e.getLineContent(d),c=n<=65536,g=!1,p=0,m=0,f=0;for(let t=0;t0?o++:m>1&&r++,!function(e,t,i,n,o){let r;for(r=0,o.spacesDiff=0,o.looksLikeAlignment=!1;r0&&a>0||l>0&&h>0)return;let d=Math.abs(a-h),u=Math.abs(s-l);if(0===d){o.spacesDiff=u,u>0&&0<=l-1&&l-1{let i=l[t];i>e&&(e=i,u=t)}),4===u&&l[4]>0&&l[2]>0&&l[2]>=l[4]/2&&(u=2)}return{insertSpaces:d,tabSize:u}}function U(e){return(1&e.metadata)>>>0}function $(e,t){e.metadata=254&e.metadata|t<<0}function j(e){return(2&e.metadata)>>>1==1}function q(e,t){e.metadata=253&e.metadata|(t?1:0)<<1}function G(e){return(4&e.metadata)>>>2==1}function Q(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function Z(e,t){e.metadata=231&e.metadata|t<<3}function Y(e,t){e.metadata=223&e.metadata|(t?1:0)<<5}class J{constructor(e,t,i){this.metadata=0,this.parent=this,this.left=this,this.right=this,$(this,1),this.start=t,this.end=i,this.delta=0,this.maxEnd=i,this.id=e,this.ownerId=0,this.options=null,Q(this,!1),Z(this,1),Y(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=i,this.range=null,q(this,!1)}reset(e,t,i,n){this.start=t,this.end=i,this.maxEnd=i,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=i,this.range=n}setOptions(e){this.options=e;let t=this.options.className;Q(this,"squiggly-error"===t||"squiggly-warning"===t||"squiggly-info"===t),Z(this,this.options.stickiness),Y(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(e,t,i){this.cachedVersionId!==i&&(this.range=null),this.cachedVersionId=i,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t}detach(){this.parent=null,this.left=null,this.right=null}}let X=new J(null,0,0);X.parent=X,X.left=X,X.right=X,$(X,0);class ee{constructor(){this.root=X,this.requestNormalizeDelta=!1}intervalSearch(e,t,i,n,o){return this.root===X?[]:function(e,t,i,n,o,r){let s=e.root,a=0,l=0,h=0,d=[],u=0;for(;s!==X;){if(j(s)){q(s.left,!1),q(s.right,!1),s===s.parent.right&&(a-=s.parent.delta),s=s.parent;continue}if(!j(s.left)){if(a+s.maxEndi){q(s,!0);continue}if((h=a+s.end)>=t){s.setCachedOffsets(l,h,r);let e=!0;n&&s.ownerId&&s.ownerId!==n&&(e=!1),o&&G(s)&&(e=!1),e&&(d[u++]=s)}if(q(s,!0),s.right!==X&&!j(s.right)){a+=s.delta,s=s.right;continue}}return q(e.root,!1),d}(this,e,t,i,n,o)}search(e,t,i){return this.root===X?[]:function(e,t,i,n){let o=e.root,r=0,s=0,a=0,l=[],h=0;for(;o!==X;){if(j(o)){q(o.left,!1),q(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),o=o.parent;continue}if(o.left!==X&&!j(o.left)){o=o.left;continue}s=r+o.start,a=r+o.end,o.setCachedOffsets(s,a,n);let e=!0;if(t&&o.ownerId&&o.ownerId!==t&&(e=!1),i&&G(o)&&(e=!1),e&&(l[h++]=o),q(o,!0),o.right!==X&&!j(o.right)){r+=o.delta,o=o.right;continue}}return q(e.root,!1),l}(this,e,t,i)}collectNodesFromOwner(e){return function(e,t){let i=e.root,n=[],o=0;for(;i!==X;){if(j(i)){q(i.left,!1),q(i.right,!1),i=i.parent;continue}if(i.left!==X&&!j(i.left)){i=i.left;continue}if(i.ownerId===t&&(n[o++]=i),q(i,!0),i.right!==X&&!j(i.right)){i=i.right;continue}}return q(e.root,!1),n}(this,e)}collectNodesPostOrder(){return function(e){let t=e.root,i=[],n=0;for(;t!==X;){if(j(t)){q(t.left,!1),q(t.right,!1),t=t.parent;continue}if(t.left!==X&&!j(t.left)){t=t.left;continue}if(t.right!==X&&!j(t.right)){t=t.right;continue}i[n++]=t,q(t,!0)}return q(e.root,!1),i}(this)}insert(e){ei(this,e),this._normalizeDeltaIfNecessary()}delete(e){en(this,e),this._normalizeDeltaIfNecessary()}resolveNode(e,t){let i=e,n=0;for(;e!==this.root;)e===e.parent.right&&(n+=e.parent.delta),e=e.parent;let o=i.start+n,r=i.end+n;i.setCachedOffsets(o,r,t)}acceptReplace(e,t,i,n){let o=function(e,t,i){let n=e.root,o=0,r=0,s=0,a=[],l=0;for(;n!==X;){if(j(n)){q(n.left,!1),q(n.right,!1),n===n.parent.right&&(o-=n.parent.delta),n=n.parent;continue}if(!j(n.left)){if(o+n.maxEndi){q(n,!0);continue}if((s=o+n.end)>=t&&(n.setCachedOffsets(r,s,0),a[l++]=n),q(n,!0),n.right!==X&&!j(n.right)){o+=n.delta,n=n.right;continue}}return q(e.root,!1),a}(this,e,e+t);for(let e=0,t=o.length;ei){o.start+=s,o.end+=s,o.delta+=s,(o.delta<-1073741824||o.delta>1073741824)&&(e.requestNormalizeDelta=!0),q(o,!0);continue}if(q(o,!0),o.right!==X&&!j(o.right)){r+=o.delta,o=o.right;continue}}q(e.root,!1)}(this,e,e+t,i),this._normalizeDeltaIfNecessary();for(let r=0,s=o.length;r>>3,s=0===r||2===r,a=1===r||2===r,l=i-t,h=Math.min(l,n),d=e.start,u=!1,c=e.end,g=!1;t<=d&&c<=i&&(32&e.metadata)>>>5==1&&(e.start=t,u=!0,e.end=t,g=!0);{let e=o?1:l>0?2:0;!u&&et(d,s,t,e)&&(u=!0),!g&&et(c,a,t,e)&&(g=!0)}if(h>0&&!o){let e=l>n?2:0;!u&&et(d,s,t+h,e)&&(u=!0),!g&&et(c,a,t+h,e)&&(g=!0)}{let r=o?1:0;!u&&et(d,s,i,r)&&(e.start=t+n,u=!0),!g&&et(c,a,i,r)&&(e.end=t+n,g=!0)}let p=n-l;u||(e.start=Math.max(0,d+p)),g||(e.end=Math.max(0,c+p)),e.start>e.end&&(e.end=e.start)}(s,e,e+t,i,n),s.maxEnd=s.end,ei(this,s)}this._normalizeDeltaIfNecessary()}_normalizeDeltaIfNecessary(){this.requestNormalizeDelta&&(this.requestNormalizeDelta=!1,function(e){let t=e.root,i=0;for(;t!==X;){if(t.left!==X&&!j(t.left)){t=t.left;continue}if(t.right!==X&&!j(t.right)){i+=t.delta,t=t.right;continue}t.start=i+t.start,t.end=i+t.end,t.delta=0,el(t),q(t,!0),q(t.left,!1),q(t.right,!1),t===t.parent.right&&(i-=t.parent.delta),t=t.parent}q(e.root,!1)}(this))}}function et(e,t,i,n){return ei)&&1!==n&&(2===n||t)}function ei(e,t){if(e.root===X)return t.parent=X,t.left=X,t.right=X,$(t,0),e.root=t,e.root;(function(e,t){let i=0,n=e.root,o=t.start,r=t.end;for(;;){var s,a;let e=(s=n.start+i,a=n.end+i,o===s?r-a:o-s);if(e<0){if(n.left===X){t.start-=i,t.end-=i,t.maxEnd-=i,n.left=t;break}n=n.left}else{if(n.right===X){t.start-=i+n.delta,t.end-=i+n.delta,t.maxEnd-=i+n.delta,n.right=t;break}i+=n.delta,n=n.right}}t.parent=n,t.left=X,t.right=X,$(t,1)})(e,t),eh(t.parent);let i=t;for(;i!==e.root&&1===U(i.parent);)if(i.parent===i.parent.parent.left){let t=i.parent.parent.right;1===U(t)?($(i.parent,0),$(t,0),$(i.parent.parent,1),i=i.parent.parent):(i===i.parent.right&&er(e,i=i.parent),$(i.parent,0),$(i.parent.parent,1),es(e,i.parent.parent))}else{let t=i.parent.parent.left;1===U(t)?($(i.parent,0),$(t,0),$(i.parent.parent,1),i=i.parent.parent):(i===i.parent.left&&es(e,i=i.parent),$(i.parent,0),$(i.parent.parent,1),er(e,i.parent.parent))}return $(e.root,0),t}function en(e,t){let i,n,o;if(t.left===X?(i=t.right,n=t,i.delta+=t.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0),i.start+=t.delta,i.end+=t.delta):t.right===X?(i=t.left,n=t):(i=(n=function(e){for(;e.left!==X;)e=e.left;return e}(t.right)).right,i.start+=n.delta,i.end+=n.delta,i.delta+=n.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta,n.delta=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0)),n===e.root){e.root=i,$(i,0),t.detach(),eo(),el(i),e.root.parent=X;return}let r=1===U(n);if(n===n.parent.left?n.parent.left=i:n.parent.right=i,n===t?i.parent=n.parent:(n.parent===t?i.parent=n:i.parent=n.parent,n.left=t.left,n.right=t.right,n.parent=t.parent,$(n,U(t)),t===e.root?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left!==X&&(n.left.parent=n),n.right!==X&&(n.right.parent=n)),t.detach(),r){eh(i.parent),n!==t&&(eh(n),eh(n.parent)),eo();return}for(eh(i),eh(i.parent),n!==t&&(eh(n),eh(n.parent));i!==e.root&&0===U(i);)i===i.parent.left?(1===U(o=i.parent.right)&&($(o,0),$(i.parent,1),er(e,i.parent),o=i.parent.right),0===U(o.left)&&0===U(o.right)?($(o,1),i=i.parent):(0===U(o.right)&&($(o.left,0),$(o,1),es(e,o),o=i.parent.right),$(o,U(i.parent)),$(i.parent,0),$(o.right,0),er(e,i.parent),i=e.root)):(1===U(o=i.parent.left)&&($(o,0),$(i.parent,1),es(e,i.parent),o=i.parent.left),0===U(o.left)&&0===U(o.right)?($(o,1),i=i.parent):(0===U(o.left)&&($(o.right,0),$(o,1),er(e,o),o=i.parent.left),$(o,U(i.parent)),$(i.parent,0),$(o.left,0),es(e,i.parent),i=e.root));$(i,0),eo()}function eo(){X.parent=X,X.delta=0,X.start=0,X.end=0}function er(e,t){let i=t.right;i.delta+=t.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0),i.start+=t.delta,i.end+=t.delta,t.right=i.left,i.left!==X&&(i.left.parent=t),i.parent=t.parent,t.parent===X?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left=t,t.parent=i,el(t),el(i)}function es(e,t){let i=t.left;t.delta-=i.delta,(t.delta<-1073741824||t.delta>1073741824)&&(e.requestNormalizeDelta=!0),t.start-=i.delta,t.end-=i.delta,t.left=i.right,i.right!==X&&(i.right.parent=t),i.parent=t.parent,t.parent===X?e.root=i:t===t.parent.right?t.parent.right=i:t.parent.left=i,i.right=t,t.parent=i,el(t),el(i)}function ea(e){let t=e.end;if(e.left!==X){let i=e.left.maxEnd;i>t&&(t=i)}if(e.right!==X){let i=e.right.maxEnd+e.delta;i>t&&(t=i)}return t}function el(e){e.maxEnd=ea(e)}function eh(e){for(;e!==X;){let t=ea(e);if(e.maxEnd===t)return;e.maxEnd=t,e=e.parent}}class ed{constructor(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}next(){if(this.right!==eu)return ec(this.right);let e=this;for(;e.parent!==eu&&e.parent.left!==e;)e=e.parent;return e.parent===eu?eu:e.parent}prev(){if(this.left!==eu)return eg(this.left);let e=this;for(;e.parent!==eu&&e.parent.right!==e;)e=e.parent;return e.parent===eu?eu:e.parent}detach(){this.parent=null,this.left=null,this.right=null}}let eu=new ed(null,0);function ec(e){for(;e.left!==eu;)e=e.left;return e}function eg(e){for(;e.right!==eu;)e=e.right;return e}function ep(e){return e===eu?0:e.size_left+e.piece.length+ep(e.right)}function em(e){return e===eu?0:e.lf_left+e.piece.lineFeedCnt+em(e.right)}function ef(){eu.parent=eu}function e_(e,t){let i=t.right;i.size_left+=t.size_left+(t.piece?t.piece.length:0),i.lf_left+=t.lf_left+(t.piece?t.piece.lineFeedCnt:0),t.right=i.left,i.left!==eu&&(i.left.parent=t),i.parent=t.parent,t.parent===eu?e.root=i:t.parent.left===t?t.parent.left=i:t.parent.right=i,i.left=t,t.parent=i}function ev(e,t){let i=t.left;t.left=i.right,i.right!==eu&&(i.right.parent=t),i.parent=t.parent,t.size_left-=i.size_left+(i.piece?i.piece.length:0),t.lf_left-=i.lf_left+(i.piece?i.piece.lineFeedCnt:0),t.parent===eu?e.root=i:t===t.parent.right?t.parent.right=i:t.parent.left=i,i.right=t,t.parent=i}function eC(e,t){let i,n,o;if(i=t.left===eu?(n=t).right:t.right===eu?(n=t).left:(n=ec(t.right)).right,n===e.root){e.root=i,i.color=0,t.detach(),ef(),e.root.parent=eu;return}let r=1===n.color;if(n===n.parent.left?n.parent.left=i:n.parent.right=i,n===t?(i.parent=n.parent,ey(e,i)):(n.parent===t?i.parent=n:i.parent=n.parent,ey(e,i),n.left=t.left,n.right=t.right,n.parent=t.parent,n.color=t.color,t===e.root?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left!==eu&&(n.left.parent=n),n.right!==eu&&(n.right.parent=n),n.size_left=t.size_left,n.lf_left=t.lf_left,ey(e,n)),t.detach(),i.parent.left===i){let t=ep(i),n=em(i);if(t!==i.parent.size_left||n!==i.parent.lf_left){let o=t-i.parent.size_left,r=n-i.parent.lf_left;i.parent.size_left=t,i.parent.lf_left=n,ew(e,i.parent,o,r)}}if(ey(e,i.parent),r){ef();return}for(;i!==e.root&&0===i.color;)i===i.parent.left?(1===(o=i.parent.right).color&&(o.color=0,i.parent.color=1,e_(e,i.parent),o=i.parent.right),0===o.left.color&&0===o.right.color?(o.color=1,i=i.parent):(0===o.right.color&&(o.left.color=0,o.color=1,ev(e,o),o=i.parent.right),o.color=i.parent.color,i.parent.color=0,o.right.color=0,e_(e,i.parent),i=e.root)):(1===(o=i.parent.left).color&&(o.color=0,i.parent.color=1,ev(e,i.parent),o=i.parent.left),0===o.left.color&&0===o.right.color?(o.color=1,i=i.parent):(0===o.left.color&&(o.right.color=0,o.color=1,e_(e,o),o=i.parent.left),o.color=i.parent.color,i.parent.color=0,o.left.color=0,ev(e,i.parent),i=e.root));i.color=0,ef()}function eb(e,t){for(ey(e,t);t!==e.root&&1===t.parent.color;)if(t.parent===t.parent.parent.left){let i=t.parent.parent.right;1===i.color?(t.parent.color=0,i.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.right&&e_(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,ev(e,t.parent.parent))}else{let i=t.parent.parent.left;1===i.color?(t.parent.color=0,i.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.left&&ev(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,e_(e,t.parent.parent))}e.root.color=0}function ew(e,t,i,n){for(;t!==e.root&&t!==eu;)t.parent.left===t&&(t.parent.size_left+=i,t.parent.lf_left+=n),t=t.parent}function ey(e,t){let i=0,n=0;if(t!==e.root){for(;t!==e.root&&t===t.parent.right;)t=t.parent;if(t!==e.root)for(i=ep((t=t.parent).left)-t.size_left,n=em(t.left)-t.lf_left,t.size_left+=i,t.lf_left+=n;t!==e.root&&(0!==i||0!==n);)t.parent.left===t&&(t.parent.size_left+=i,t.parent.lf_left+=n),t=t.parent}}eu.parent=eu,eu.left=eu,eu.right=eu,eu.color=0;var eS=i(77277);function eL(e){let t;return(t=e[e.length-1]<65536?new Uint16Array(e.length):new Uint32Array(e.length)).set(e,0),t}class ek{constructor(e,t,i,n,o){this.lineStarts=e,this.cr=t,this.lf=i,this.crlf=n,this.isBasicASCII=o}}function eN(e,t=!0){let i=[0],n=1;for(let t=0,o=e.length;t(e!==eu&&this._pieces.push(e.piece),!0))}read(){return 0===this._pieces.length?0===this._index?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:0===this._index?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}class eE{constructor(e){this._limit=e,this._cache=[]}get(e){for(let t=this._cache.length-1;t>=0;t--){let i=this._cache[t];if(i.nodeStartOffset<=e&&i.nodeStartOffset+i.node.piece.length>=e)return i}return null}get2(e){for(let t=this._cache.length-1;t>=0;t--){let i=this._cache[t];if(i.nodeStartLineNumber&&i.nodeStartLineNumber=e)return i}return null}set(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)}validate(e){let t=!1,i=this._cache;for(let n=0;n=e){i[n]=null,t=!0;continue}}if(t){let e=[];for(let t of i)null!==t&&e.push(t);this._cache=e}}}class eT{constructor(e,t,i){this.create(e,t,i)}create(e,t,i){this._buffers=[new ex("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=eu,this._lineCnt=1,this._length=0,this._EOL=t,this._EOLLength=t.length,this._EOLNormalized=i;let n=null;for(let t=0,i=e.length;t0){e[t].lineStarts||(e[t].lineStarts=eN(e[t].buffer));let i=new eD(t+1,{line:0,column:0},{line:e[t].lineStarts.length-1,column:e[t].buffer.length-e[t].lineStarts[e[t].lineStarts.length-1]},e[t].lineStarts.length-1,e[t].buffer.length);this._buffers.push(e[t]),n=this.rbInsertRight(n,i)}this._searchCache=new eE(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()}normalizeEOL(e){let t=65535-Math.floor(21845),i=2*t,n="",o=0,r=[];if(this.iterate(this.root,s=>{let a=this.getNodeContent(s),l=a.length;if(o<=t||o+l0){let t=n.replace(/\r\n|\r|\n/g,e);r.push(new ex(t,eN(t)))}this.create(r,e,!0)}getEOL(){return this._EOL}setEOL(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)}createSnapshot(e){return new eI(this,e)}getOffsetAt(e,t){let i=0,n=this.root;for(;n!==eu;)if(n.left!==eu&&n.lf_left+1>=e)n=n.left;else if(n.lf_left+n.piece.lineFeedCnt+1>=e){i+=n.size_left;let o=this.getAccumulatedValue(n,e-n.lf_left-2);return i+(o+t-1)}else e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right;return i}getPositionAt(e){e=Math.max(0,e=Math.floor(e));let t=this.root,i=0,n=e;for(;t!==eu;)if(0!==t.size_left&&t.size_left>=e)t=t.left;else if(t.size_left+t.piece.length>=e){let o=this.getIndexOf(t,e-t.size_left);if(i+=t.lf_left+o.index,0===o.index){let e=this.getOffsetAt(i+1,1),t=n-e;return new c.L(i+1,t+1)}return new c.L(i+1,o.remainder+1)}else{if(e-=t.size_left+t.piece.length,i+=t.lf_left+t.piece.lineFeedCnt,t.right===eu){let t=this.getOffsetAt(i+1,1),o=n-e-t;return new c.L(i+1,o+1)}t=t.right}return new c.L(1,1)}getValueInRange(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";let i=this.nodeAt2(e.startLineNumber,e.startColumn),n=this.nodeAt2(e.endLineNumber,e.endColumn),o=this.getValueInRange2(i,n);return t?t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?o:o.replace(/\r\n|\r|\n/g,t):o}getValueInRange2(e,t){if(e.node===t.node){let i=e.node,n=this._buffers[i.piece.bufferIndex].buffer,o=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);return n.substring(o+e.remainder,o+t.remainder)}let i=e.node,n=this._buffers[i.piece.bufferIndex].buffer,o=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start),r=n.substring(o+e.remainder,o+i.piece.length);for(i=i.next();i!==eu;){let e=this._buffers[i.piece.bufferIndex].buffer,n=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);if(i===t.node){r+=e.substring(n,n+t.remainder);break}r+=e.substr(n,i.piece.length),i=i.next()}return r}getLinesContent(){let e=[],t=0,i="",n=!1;return this.iterate(this.root,o=>{if(o===eu)return!0;let r=o.piece,s=r.length;if(0===s)return!0;let a=this._buffers[r.bufferIndex].buffer,l=this._buffers[r.bufferIndex].lineStarts,h=r.start.line,d=r.end.line,u=l[h]+r.start.column;if(n&&(10===a.charCodeAt(u)&&(u++,s--),e[t++]=i,i="",n=!1,0===s))return!0;if(h===d)return this._EOLNormalized||13!==a.charCodeAt(u+s-1)?i+=a.substr(u,s):(n=!0,i+=a.substr(u,s-1)),!0;i+=this._EOLNormalized?a.substring(u,Math.max(u,l[h+1]-this._EOLLength)):a.substring(u,l[h+1]).replace(/(\r\n|\r|\n)$/,""),e[t++]=i;for(let n=h+1;ne+_,t.reset(0)):(c=m.buffer,p=e=>e,t.reset(_));do if(u=t.next(c)){if(p(u.index)>=v)return h;this.positionInBuffer(e,p(u.index)-f,C);let t=this.getLineFeedCnt(e.piece.bufferIndex,o,C),r=C.line===o.line?C.column-o.column+n:C.column+1,s=r+u[0].length;if(d[h++]=(0,eS.iE)(new g.e(i+t,r,i+t,s),u,a),p(u.index)+u[0].length>=v)return h;if(h>=l)break}while(u);return h}findMatchesLineByLine(e,t,i,n){let o=[],r=0,s=new eS.sz(t.wordSeparators,t.regex),a=this.nodeAt2(e.startLineNumber,e.startColumn);if(null===a)return[];let l=this.nodeAt2(e.endLineNumber,e.endColumn);if(null===l)return[];let h=this.positionInBuffer(a.node,a.remainder),d=this.positionInBuffer(l.node,l.remainder);if(a.node===l.node)return this.findMatchesInNode(a.node,s,e.startLineNumber,e.startColumn,h,d,t,i,n,r,o),o;let u=e.startLineNumber,c=a.node;for(;c!==l.node;){let l=this.getLineFeedCnt(c.piece.bufferIndex,h,c.piece.end);if(l>=1){let a=this._buffers[c.piece.bufferIndex].lineStarts,d=this.offsetInBuffer(c.piece.bufferIndex,c.piece.start),g=a[h.line+l],p=u===e.startLineNumber?e.startColumn:1;if((r=this.findMatchesInNode(c,s,u,p,h,this.positionInBuffer(c,g-d),t,i,n,r,o))>=n)return o;u+=l}let d=u===e.startLineNumber?e.startColumn-1:0;if(u===e.endLineNumber){let a=this.getLineContent(u).substring(d,e.endColumn-1);return r=this._findMatchesInLine(t,s,a,e.endLineNumber,d,r,o,i,n),o}if((r=this._findMatchesInLine(t,s,this.getLineContent(u).substr(d),u,d,r,o,i,n))>=n)return o;u++,c=(a=this.nodeAt2(u,1)).node,h=this.positionInBuffer(a.node,a.remainder)}if(u===e.endLineNumber){let a=u===e.startLineNumber?e.startColumn-1:0,l=this.getLineContent(u).substring(a,e.endColumn-1);return r=this._findMatchesInLine(t,s,l,e.endLineNumber,a,r,o,i,n),o}let g=u===e.startLineNumber?e.startColumn:1;return r=this.findMatchesInNode(l.node,s,u,g,h,d,t,i,n,r,o),o}_findMatchesInLine(e,t,i,n,o,r,s,a,l){let h;let d=e.wordSeparators;if(!a&&e.simpleSearch){let t=e.simpleSearch,a=t.length,h=i.length,u=-a;for(;-1!==(u=i.indexOf(t,u+a))&&(!(!d||(0,eS.cM)(d,i,h,u,a))||(s[r++]=new v.tk(new g.e(n,u+1+o,n,u+1+a+o),null),!(r>=l))););return r}t.reset(0);do if((h=t.next(i))&&(s[r++]=(0,eS.iE)(new g.e(n,h.index+1+o,n,h.index+1+h[0].length+o),h,a),r>=l))break;while(h);return r}insert(e,t,i=!1){if(this._EOLNormalized=this._EOLNormalized&&i,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==eu){let{node:i,remainder:n,nodeStartOffset:o}=this.nodeAt(e),r=i.piece,s=r.bufferIndex,a=this.positionInBuffer(i,n);if(0===i.piece.bufferIndex&&r.end.line===this._lastChangeBufferPos.line&&r.end.column===this._lastChangeBufferPos.column&&o+r.length===e&&t.length<65535){this.appendToNode(i,t),this.computeBufferMetadata();return}if(o===e)this.insertContentToNodeLeft(t,i),this._searchCache.validate(e);else if(o+i.piece.length>e){let e=[],o=new eD(r.bufferIndex,a,r.end,this.getLineFeedCnt(r.bufferIndex,a,r.end),this.offsetInBuffer(s,r.end)-this.offsetInBuffer(s,a));if(this.shouldCheckCRLF()&&this.endWithCR(t)){let e=this.nodeCharCodeAt(i,n);if(10===e){let e={line:o.start.line+1,column:0};o=new eD(o.bufferIndex,e,o.end,this.getLineFeedCnt(o.bufferIndex,e,o.end),o.length-1),t+="\n"}}if(this.shouldCheckCRLF()&&this.startWithLF(t)){let o=this.nodeCharCodeAt(i,n-1);if(13===o){let o=this.positionInBuffer(i,n-1);this.deleteNodeTail(i,o),t="\r"+t,0===i.piece.length&&e.push(i)}else this.deleteNodeTail(i,a)}else this.deleteNodeTail(i,a);let l=this.createNewPieces(t);o.length>0&&this.rbInsertRight(i,o);let h=i;for(let e=0;e=0;e--)o=this.rbInsertLeft(o,n[e]);this.validateCRLFWithPrevNode(o),this.deleteNodes(i)}insertContentToNodeRight(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+="\n");let i=this.createNewPieces(e),n=this.rbInsertRight(t,i[0]),o=n;for(let e=1;e=u)l=d+1;else break;return i?(i.line=d,i.column=a-c,null):{line:d,column:a-c}}getLineFeedCnt(e,t,i){if(0===i.column)return i.line-t.line;let n=this._buffers[e].lineStarts;if(i.line===n.length-1)return i.line-t.line;let o=n[i.line+1],r=n[i.line]+i.column;if(o>r+1)return i.line-t.line;let s=this._buffers[e].buffer;return 13===s.charCodeAt(r-1)?i.line-t.line+1:i.line-t.line}offsetInBuffer(e,t){let i=this._buffers[e].lineStarts;return i[t.line]+t.column}deleteNodes(e){for(let t=0;t65535){let t=[];for(;e.length>65535;){let i;let n=e.charCodeAt(65534);13===n||n>=55296&&n<=56319?(i=e.substring(0,65534),e=e.substring(65534)):(i=e.substring(0,65535),e=e.substring(65535));let o=eN(i);t.push(new eD(this._buffers.length,{line:0,column:0},{line:o.length-1,column:i.length-o[o.length-1]},o.length-1,i.length)),this._buffers.push(new ex(i,o))}let i=eN(e);return t.push(new eD(this._buffers.length,{line:0,column:0},{line:i.length-1,column:e.length-i[i.length-1]},i.length-1,e.length)),this._buffers.push(new ex(e,i)),t}let t=this._buffers[0].buffer.length,i=eN(e,!1),n=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===t&&0!==t&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},n=this._lastChangeBufferPos;for(let e=0;e=e-1)i=i.left;else if(i.lf_left+i.piece.lineFeedCnt>e-1){let n=this.getAccumulatedValue(i,e-i.lf_left-2),s=this.getAccumulatedValue(i,e-i.lf_left-1),a=this._buffers[i.piece.bufferIndex].buffer,l=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);return o+=i.size_left,this._searchCache.set({node:i,nodeStartOffset:o,nodeStartLineNumber:r-(e-1-i.lf_left)}),a.substring(l+n,l+s-t)}else if(i.lf_left+i.piece.lineFeedCnt===e-1){let t=this.getAccumulatedValue(i,e-i.lf_left-2),o=this._buffers[i.piece.bufferIndex].buffer,r=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);n=o.substring(r+t,r+i.piece.length);break}else e-=i.lf_left+i.piece.lineFeedCnt,o+=i.size_left+i.piece.length,i=i.right}for(i=i.next();i!==eu;){let e=this._buffers[i.piece.bufferIndex].buffer;if(i.piece.lineFeedCnt>0){let o=this.getAccumulatedValue(i,0),r=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);n+=e.substring(r,r+o-t);break}{let t=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);n+=e.substr(t,i.piece.length)}i=i.next()}return n}computeBufferMetadata(){let e=this.root,t=1,i=0;for(;e!==eu;)t+=e.lf_left+e.piece.lineFeedCnt,i+=e.size_left+e.piece.length,e=e.right;this._lineCnt=t,this._length=i,this._searchCache.validate(this._length)}getIndexOf(e,t){let i=e.piece,n=this.positionInBuffer(e,t),o=n.line-i.start.line;if(this.offsetInBuffer(i.bufferIndex,i.end)-this.offsetInBuffer(i.bufferIndex,i.start)===t){let t=this.getLineFeedCnt(e.piece.bufferIndex,i.start,n);if(t!==o)return{index:t,remainder:0}}return{index:o,remainder:n.column}}getAccumulatedValue(e,t){if(t<0)return 0;let i=e.piece,n=this._buffers[i.bufferIndex].lineStarts,o=i.start.line+t+1;return o>i.end.line?n[i.end.line]+i.end.column-n[i.start.line]-i.start.column:n[o]-n[i.start.line]-i.start.column}deleteNodeTail(e,t){let i=e.piece,n=i.lineFeedCnt,o=this.offsetInBuffer(i.bufferIndex,i.end),r=this.offsetInBuffer(i.bufferIndex,t),s=this.getLineFeedCnt(i.bufferIndex,i.start,t),a=s-n,l=r-o,h=i.length+l;e.piece=new eD(i.bufferIndex,i.start,t,s,h),ew(this,e,l,a)}deleteNodeHead(e,t){let i=e.piece,n=i.lineFeedCnt,o=this.offsetInBuffer(i.bufferIndex,i.start),r=this.getLineFeedCnt(i.bufferIndex,t,i.end),s=this.offsetInBuffer(i.bufferIndex,t),a=r-n,l=o-s,h=i.length+l;e.piece=new eD(i.bufferIndex,t,i.end,r,h),ew(this,e,l,a)}shrinkNode(e,t,i){let n=e.piece,o=n.start,r=n.end,s=n.length,a=n.lineFeedCnt,l=this.getLineFeedCnt(n.bufferIndex,n.start,t),h=this.offsetInBuffer(n.bufferIndex,t)-this.offsetInBuffer(n.bufferIndex,o);e.piece=new eD(n.bufferIndex,n.start,t,l,h),ew(this,e,h-s,l-a);let d=new eD(n.bufferIndex,i,r,this.getLineFeedCnt(n.bufferIndex,i,r),this.offsetInBuffer(n.bufferIndex,r)-this.offsetInBuffer(n.bufferIndex,i)),u=this.rbInsertRight(e,d);this.validateCRLFWithPrevNode(u)}appendToNode(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");let i=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),n=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;let o=eN(t,!1);for(let e=0;ee)t=t.left;else if(t.size_left+t.piece.length>=e){n+=t.size_left;let i={node:t,remainder:e-t.size_left,nodeStartOffset:n};return this._searchCache.set(i),i}else e-=t.size_left+t.piece.length,n+=t.size_left+t.piece.length,t=t.right;return null}nodeAt2(e,t){let i=this.root,n=0;for(;i!==eu;)if(i.left!==eu&&i.lf_left>=e-1)i=i.left;else if(i.lf_left+i.piece.lineFeedCnt>e-1){let o=this.getAccumulatedValue(i,e-i.lf_left-2),r=this.getAccumulatedValue(i,e-i.lf_left-1);return n+=i.size_left,{node:i,remainder:Math.min(o+t-1,r),nodeStartOffset:n}}else if(i.lf_left+i.piece.lineFeedCnt===e-1){let o=this.getAccumulatedValue(i,e-i.lf_left-2);if(o+t-1<=i.piece.length)return{node:i,remainder:o+t-1,nodeStartOffset:n};t-=i.piece.length-o;break}else e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right;for(i=i.next();i!==eu;){if(i.piece.lineFeedCnt>0){let e=this.getAccumulatedValue(i,0),n=this.offsetOfNode(i);return{node:i,remainder:Math.min(t-1,e),nodeStartOffset:n}}if(i.piece.length>=t-1){let e=this.offsetOfNode(i);return{node:i,remainder:t-1,nodeStartOffset:e}}t-=i.piece.length,i=i.next()}return null}nodeCharCodeAt(e,t){if(e.piece.lineFeedCnt<1)return -1;let i=this._buffers[e.piece.bufferIndex],n=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return i.buffer.charCodeAt(n)}offsetOfNode(e){if(!e)return 0;let t=e.size_left;for(;e!==this.root;)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t}shouldCheckCRLF(){return!(this._EOLNormalized&&"\n"===this._EOL)}startWithLF(e){if("string"==typeof e)return 10===e.charCodeAt(0);if(e===eu||0===e.piece.lineFeedCnt)return!1;let t=e.piece,i=this._buffers[t.bufferIndex].lineStarts,n=t.start.line,o=i[n]+t.start.column;if(n===i.length-1)return!1;let r=i[n+1];return!(r>o+1)&&10===this._buffers[t.bufferIndex].buffer.charCodeAt(o)}endWithCR(e){return"string"==typeof e?13===e.charCodeAt(e.length-1):e!==eu&&0!==e.piece.lineFeedCnt&&13===this.nodeCharCodeAt(e,e.piece.length-1)}validateCRLFWithPrevNode(e){if(this.shouldCheckCRLF()&&this.startWithLF(e)){let t=e.prev();this.endWithCR(t)&&this.fixCRLF(t,e)}}validateCRLFWithNextNode(e){if(this.shouldCheckCRLF()&&this.endWithCR(e)){let t=e.next();this.startWithLF(t)&&this.fixCRLF(e,t)}}fixCRLF(e,t){let i;let n=[],o=this._buffers[e.piece.bufferIndex].lineStarts;i=0===e.piece.end.column?{line:e.piece.end.line-1,column:o[e.piece.end.line]-o[e.piece.end.line-1]-1}:{line:e.piece.end.line,column:e.piece.end.column-1};let r=e.piece.length-1,s=e.piece.lineFeedCnt-1;e.piece=new eD(e.piece.bufferIndex,e.piece.start,i,s,r),ew(this,e,-1,-1),0===e.piece.length&&n.push(e);let a={line:t.piece.start.line+1,column:0},l=t.piece.length-1,h=this.getLineFeedCnt(t.piece.bufferIndex,a,t.piece.end);t.piece=new eD(t.piece.bufferIndex,a,t.piece.end,h,l),ew(this,t,-1,-1),0===t.piece.length&&n.push(t);let d=this.createNewPieces("\r\n");this.rbInsertRight(e,d[0]);for(let e=0;ee.sortIndex-t.sortIndex)}this._mightContainRTL=n,this._mightContainUnusualLineTerminators=o,this._mightContainNonBasicASCII=r;let p=this._doApplyEdits(a),m=null;if(t&&c.length>0){c.sort((e,t)=>t.lineNumber-e.lineNumber),m=[];for(let e=0,t=c.length;e0&&c[e-1].lineNumber===t)continue;let i=c[e].oldContent,n=this.getLineContent(t);0!==n.length&&n!==i&&-1===l.LC(n)&&m.push(t)}}return this._onDidChangeContent.fire(),new v.je(g,p,m)}_reduceOperations(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]}_toSingleEditOperation(e){let t=!1,i=e[0].range,n=e[e.length-1].range,o=new g.e(i.startLineNumber,i.startColumn,n.endLineNumber,n.endColumn),r=i.startLineNumber,s=i.startColumn,a=[];for(let i=0,n=e.length;i0&&a.push(n.text),r=o.endLineNumber,s=o.endColumn}let l=a.join(""),[h,u,c]=(0,d.Q)(l);return{sortIndex:0,identifier:e[0].identifier,range:o,rangeOffset:this.getOffsetAt(o.startLineNumber,o.startColumn),rangeLength:this.getValueLengthInRange(o,0),text:l,eolCount:h,firstLineLength:u,lastLineLength:c,forceMoveMarkers:t,isAutoWhitespaceEdit:!1}}_doApplyEdits(e){e.sort(eA._sortOpsDescending);let t=[];for(let i=0;i0){let e=h.eolCount+1;l=1===e?new g.e(s,a,s,a+h.firstLineLength):new g.e(s,a,s+e-1,h.lastLineLength+1)}else l=new g.e(s,a,s,a);i=l.endLineNumber,n=l.endColumn,t.push(l),o=h}return t}static _sortOpsAscending(e,t){let i=g.e.compareRangesUsingEnds(e.range,t.range);return 0===i?e.sortIndex-t.sortIndex:i}static _sortOpsDescending(e,t){let i=g.e.compareRangesUsingEnds(e.range,t.range);return 0===i?t.sortIndex-e.sortIndex:-i}}class eR{constructor(e,t,i,n,o,r,s,a,l){this._chunks=e,this._bom=t,this._cr=i,this._lf=n,this._crlf=o,this._containsRTL=r,this._containsUnusualLineTerminators=s,this._isBasicASCII=a,this._normalizeEOL=l}_getEOL(e){let t=this._cr+this._lf+this._crlf,i=this._cr+this._crlf;return 0===t?1===e?"\n":"\r\n":i>t/2?"\r\n":"\n"}create(e){let t=this._getEOL(e),i=this._chunks;if(this._normalizeEOL&&("\r\n"===t&&(this._cr>0||this._lf>0)||"\n"===t&&(this._cr>0||this._crlf>0)))for(let e=0,n=i.length;e=55296&&t<=56319?(this._acceptChunk1(e.substr(0,e.length-1),!1),this._hasPreviousChar=!0,this._previousChar=t):(this._acceptChunk1(e,!1),this._hasPreviousChar=!1,this._previousChar=t)}_acceptChunk1(e,t){(t||0!==e.length)&&(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+e):this._acceptChunk2(e))}_acceptChunk2(e){let t=function(e,t){e.length=0,e[0]=0;let i=1,n=0,o=0,r=0,s=!0;for(let a=0,l=t.length;a126)&&(s=!1)}let a=new ek(eL(e),n,o,r,s);return e.length=0,a}(this._tmpLineStarts,e);this.chunks.push(new ex(e,t.lineStarts)),this.cr+=t.cr,this.lf+=t.lf,this.crlf+=t.crlf,this.isBasicASCII&&(this.isBasicASCII=t.isBasicASCII),this.isBasicASCII||this.containsRTL||(this.containsRTL=l.Ut(e)),this.isBasicASCII||this.containsUnusualLineTerminators||(this.containsUnusualLineTerminators=l.ab(e))}finish(e=!0){return this._finish(),new eR(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.containsUnusualLineTerminators,this.isBasicASCII,e)}_finish(){if(0===this.chunks.length&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;let e=this.chunks[this.chunks.length-1];e.buffer+=String.fromCharCode(this._previousChar);let t=eN(e.buffer);e.lineStarts=t,13===this._previousChar&&this.cr++}}}var eP=i(270),eF=i(94954),eB=i(77378),eV=i(43155),eW=i(276),eH=i(84013);class ez{constructor(e,t){this._startLineNumber=e,this._tokens=t}get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._startLineNumber+this._tokens.length-1}getLineTokens(e){return this._tokens[e-this._startLineNumber]}appendLineTokens(e){this._tokens.push(e)}}class eK{constructor(){this._tokens=[]}add(e,t){if(this._tokens.length>0){let i=this._tokens[this._tokens.length-1];if(i.endLineNumber+1===e){i.appendLineTokens(t);return}}this._tokens.push(new ez(e,[t]))}finalize(){return this._tokens}}var eU=i(15393),e$=i(1432);class ej{constructor(e){this._default=e,this._store=[]}get(e){return e=this._store.length;)this._store[this._store.length]=this._default;this._store[e]=t}delete(e,t){0===t||e>=this._store.length||this._store.splice(e,t)}insert(e,t){if(0===t||e>=this._store.length)return;let i=[];for(let e=0;e{let t=this._textModel.getLanguageId();-1!==e.changedLanguages.indexOf(t)&&(this._resetTokenizationState(),this._tokenizationPart.clearTokens())})),this._resetTokenizationState()}dispose(){this._isDisposed=!0,super.dispose()}handleDidChangeContent(e){if(e.isFlush){this._resetTokenizationState();return}if(this._tokenizationStateStore)for(let t=0,i=e.changes.length;t{this._isScheduled=!1,this._backgroundTokenizeWithDeadline(e)}))}_backgroundTokenizeWithDeadline(e){let t=Date.now()+e.timeRemaining(),i=()=>{!this._isDisposed&&this._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&(this._backgroundTokenizeForAtLeast1ms(),Date.now()1)break;let n=this._tokenizeOneInvalidLine(t);if(n>=e)break}while(this._hasLinesToTokenize());this._tokenizationPart.setTokens(t.finalize(),this._isTokenizationComplete())}tokenizeViewport(e,t){let i=new eK;this._tokenizeViewport(i,e,t),this._tokenizationPart.setTokens(i.finalize(),this._isTokenizationComplete())}reset(){this._resetTokenizationState(),this._tokenizationPart.clearTokens()}forceTokenization(e){let t=new eK;this._updateTokensUntilLine(t,e),this._tokenizationPart.setTokens(t.finalize(),this._isTokenizationComplete())}getTokenTypeIfInsertingCharacter(e,t){if(!this._tokenizationStateStore)return 0;this.forceTokenization(e.lineNumber);let i=this._tokenizationStateStore.getBeginState(e.lineNumber-1);if(!i)return 0;let n=this._textModel.getLanguageId(),o=this._textModel.getLineContent(e.lineNumber),r=o.substring(0,e.column-1)+t+o.substring(e.column-1),s=eQ(this._languageIdCodec,n,this._tokenizationStateStore.tokenizationSupport,r,!0,i),a=new eB.A(s.tokens,r,this._languageIdCodec);if(0===a.getCount())return 0;let l=a.findTokenIndexAtOffset(e.column-1);return a.getStandardTokenType(l)}tokenizeLineWithEdit(e,t,i){let n=e.lineNumber,o=e.column;if(!this._tokenizationStateStore)return null;this.forceTokenization(n);let r=this._tokenizationStateStore.getBeginState(n-1);if(!r)return null;let s=this._textModel.getLineContent(n),a=s.substring(0,o-1)+i+s.substring(o-1+t),l=this._textModel.getLanguageIdAtPosition(n,0),h=eQ(this._languageIdCodec,l,this._tokenizationStateStore.tokenizationSupport,a,!0,r),d=new eB.A(h.tokens,a,this._languageIdCodec);return d}isCheapToTokenize(e){if(!this._tokenizationStateStore)return!0;let t=this._tokenizationStateStore.invalidLineStartIndex+1;return!(e>t)&&!!(ethis._textModel.getLineLength(e))}_hasLinesToTokenize(){return!!this._tokenizationStateStore&&this._tokenizationStateStore.invalidLineStartIndex=this._textModel.getLineCount()}_tokenizeOneInvalidLine(e){if(!this._tokenizationStateStore||!this._hasLinesToTokenize())return this._textModel.getLineCount()+1;let t=this._tokenizationStateStore.invalidLineStartIndex+1;return this._updateTokensUntilLine(e,t),t}_updateTokensUntilLine(e,t){if(!this._tokenizationStateStore)return;let i=this._textModel.getLanguageId(),n=this._textModel.getLineCount(),o=t-1;for(let t=this._tokenizationStateStore.invalidLineStartIndex;t<=o;t++){let o=this._textModel.getLineContent(t+1),r=this._tokenizationStateStore.getBeginState(t),s=eQ(this._languageIdCodec,i,this._tokenizationStateStore.tokenizationSupport,o,!0,r);e.add(t+1,s.tokens),this._tokenizationStateStore.setEndState(n,t,s.endState),t=this._tokenizationStateStore.invalidLineStartIndex-1}}_tokenizeViewport(e,t,i){if(!this._tokenizationStateStore||i<=this._tokenizationStateStore.invalidLineStartIndex)return;if(t<=this._tokenizationStateStore.invalidLineStartIndex){this._updateTokensUntilLine(e,i);return}let n=this._textModel.getLineFirstNonWhitespaceColumn(t),o=[],r=null;for(let e=t-1;n>1&&e>=1;e--){let t=this._textModel.getLineFirstNonWhitespaceColumn(e);if(0!==t&&t=0;e--){let t=eQ(this._languageIdCodec,s,this._tokenizationStateStore.tokenizationSupport,o[e],!1,a);a=t.endState}for(let n=t;n<=i;n++){let t=this._textModel.getLineContent(n),i=eQ(this._languageIdCodec,s,this._tokenizationStateStore.tokenizationSupport,t,!0,a);e.add(n,i.tokens),this._tokenizationStateStore.markMustBeTokenized(n-1),a=i.endState}}}function eQ(e,t,i,n,o,s){let a=null;if(i)try{a=i.tokenizeEncoded(n,o,s.clone())}catch(e){(0,r.dL)(e)}return a||(a=(0,eW.Dy)(e.encodeLanguageId(t),s)),eB.A.convertToEndOffset(a.tokens,n.length),a}let eZ=new Uint32Array(0).buffer;class eY{static deleteBeginning(e,t){return null===e||e===eZ?e:eY.delete(e,0,t)}static deleteEnding(e,t){if(null===e||e===eZ)return e;let i=eJ(e),n=i[i.length-2];return eY.delete(e,t,n)}static delete(e,t,i){let n,o;if(null===e||e===eZ||t===i)return e;let r=eJ(e),s=r.length>>>1;if(0===t&&r[r.length-2]===i)return eZ;let a=eB.A.findIndexInTokensArray(r,t),l=a>0?r[a-1<<1]:0,h=r[a<<1];if(io&&(r[n++]=t,r[n++]=r[(e<<1)+1],o=t)}if(n===r.length)return e;let u=new Uint32Array(n);return u.set(r.subarray(0,n),0),u.buffer}static append(e,t){if(t===eZ)return e;if(e===eZ)return t;if(null===e)return e;if(null===t)return null;let i=eJ(e),n=eJ(t),o=n.length>>>1,r=new Uint32Array(i.length+n.length);r.set(i,0);let s=i.length,a=i[i.length-2];for(let e=0;e>>1,r=eB.A.findIndexInTokensArray(n,t);if(r>0){let e=n[r-1<<1];e===t&&r--}for(let e=r;e1&&(t=eX.N.getLanguageId(n[1])!==e),!t)return eZ}if(!n||0===n.length){let i=new Uint32Array(2);return i[0]=t,i[1]=e1(e),i.buffer}return(n[n.length-2]=t,0===n.byteOffset&&n.byteLength===n.buffer.byteLength)?n.buffer:n}_ensureLine(e){for(;e>=this._len;)this._lineTokens[this._len]=null,this._len++}_deleteLines(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._lineTokens.splice(e,t),this._len-=t)}_insertLines(e,t){if(0===t)return;let i=[];for(let e=0;e=this._len)return;if(e.startLineNumber===e.endLineNumber){if(e.startColumn===e.endColumn)return;this._lineTokens[t]=eY.delete(this._lineTokens[t],e.startColumn-1,e.endColumn-1);return}this._lineTokens[t]=eY.deleteEnding(this._lineTokens[t],e.startColumn-1);let i=e.endLineNumber-1,n=null;i=this._len)){if(0===t){this._lineTokens[n]=eY.insert(this._lineTokens[n],e.column-1,i);return}this._lineTokens[n]=eY.deleteEnding(this._lineTokens[n],e.column-1),this._lineTokens[n]=eY.insert(this._lineTokens[n],e.column-1,i),this._insertLines(e.lineNumber,t)}}}function e1(e){return(e<<0|33588224)>>>0}class e2{constructor(e){this._pieces=[],this._isComplete=!1,this._languageIdCodec=e}flush(){this._pieces=[],this._isComplete=!1}isEmpty(){return 0===this._pieces.length}set(e,t){this._pieces=e||[],this._isComplete=t}setPartial(e,t){let i=e;if(t.length>0){let n=t[0].getRange(),o=t[t.length-1].getRange();if(!n||!o)return e;i=e.plusRange(n).plusRange(o)}let o=null;for(let e=0,t=this._pieces.length;ei.endLineNumber){o=o||{index:e};break}if(n.removeTokens(i),n.isEmpty()){this._pieces.splice(e,1),e--,t--;continue}if(n.endLineNumberi.endLineNumber){o=o||{index:e};continue}let[r,s]=n.split(i);if(r.isEmpty()){o=o||{index:e};continue}s.isEmpty()||(this._pieces.splice(e,1,r,s),e++,t++,o=o||{index:e})}return o=o||{index:this._pieces.length},t.length>0&&(this._pieces=n.Zv(this._pieces,o.index,t)),i}isComplete(){return this._isComplete}addSparseTokens(e,t){if(0===t.getLineContent().length)return t;let i=this._pieces;if(0===i.length)return t;let n=e2._findFirstPieceWithLine(i,e),o=i[n].getLineTokens(e);if(!o)return t;let r=t.getCount(),s=o.getCount(),a=0,l=[],h=0,d=0,u=(e,t)=>{e!==d&&(d=e,l[h++]=e,l[h++]=t)};for(let e=0;e>>0,h=~l>>>0;for(;at)n=o-1;else{for(;o>i&&e[o-1].startLineNumber<=t&&t<=e[o-1].endLineNumber;)o--;return o}}return i}acceptEdit(e,t,i,n,o){for(let r of this._pieces)r.acceptEdit(e,t,i,n,o)}}class e5 extends eF.U{constructor(e,t,i,n,o){super(),this._languageService=e,this._languageConfigurationService=t,this._textModel=i,this.bracketPairsTextModelPart=n,this._languageId=o,this._onDidChangeLanguage=this._register(new s.Q5),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new s.Q5),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new s.Q5),this.onDidChangeTokens=this._onDidChangeTokens.event,this._backgroundTokenizationState=0,this._onBackgroundTokenizationStateChanged=this._register(new s.Q5),this._tokens=new e0(this._languageService.languageIdCodec),this._semanticTokens=new e2(this._languageService.languageIdCodec),this._tokenization=new eG(i,this,this._languageService.languageIdCodec),this._languageRegistryListener=this._languageConfigurationService.onDidChange(e=>{e.affects(this._languageId)&&this._onDidChangeLanguageConfiguration.fire({})})}acceptEdit(e,t,i,n,o){this._tokens.acceptEdit(e,i,n),this._semanticTokens.acceptEdit(e,i,n,o,t.length>0?t.charCodeAt(0):0)}handleDidChangeAttached(){this._tokenization.handleDidChangeAttached()}flush(){this._tokens.flush(),this._semanticTokens.flush()}handleDidChangeContent(e){this._tokenization.handleDidChangeContent(e)}dispose(){this._languageRegistryListener.dispose(),this._tokenization.dispose(),super.dispose()}get backgroundTokenizationState(){return this._backgroundTokenizationState}handleTokenizationProgress(e){if(2===this._backgroundTokenizationState)return;let t=e?2:1;this._backgroundTokenizationState!==t&&(this._backgroundTokenizationState=t,this.bracketPairsTextModelPart.handleDidChangeBackgroundTokenizationState(),this._onBackgroundTokenizationStateChanged.fire())}setTokens(e,t=!1){if(0!==e.length){let t=[];for(let i=0,n=e.length;i0&&this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:!1,ranges:t})}this.handleTokenizationProgress(t)}setSemanticTokens(e,t){this._semanticTokens.set(e,t),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:null!==e,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]})}hasCompleteSemanticTokens(){return this._semanticTokens.isComplete()}hasSomeSemanticTokens(){return!this._semanticTokens.isEmpty()}setPartialSemanticTokens(e,t){if(this.hasCompleteSemanticTokens())return;let i=this._textModel.validateRange(this._semanticTokens.setPartial(e,t));this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:!0,ranges:[{fromLineNumber:i.startLineNumber,toLineNumber:i.endLineNumber}]})}tokenizeViewport(e,t){e=Math.max(1,e),t=Math.min(this._textModel.getLineCount(),t),this._tokenization.tokenizeViewport(e,t)}clearTokens(){this._tokens.flush(),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!0,semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]})}_emitModelTokensChangedEvent(e){this._textModel._isDisposing()||(this.bracketPairsTextModelPart.handleDidChangeTokens(e),this._onDidChangeTokens.fire(e))}resetTokenization(){this._tokenization.reset()}forceTokenization(e){if(e<1||e>this._textModel.getLineCount())throw Error("Illegal value for lineNumber");this._tokenization.forceTokenization(e)}isCheapToTokenize(e){return this._tokenization.isCheapToTokenize(e)}tokenizeIfCheap(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)}getLineTokens(e){if(e<1||e>this._textModel.getLineCount())throw Error("Illegal value for lineNumber");return this._getLineTokens(e)}_getLineTokens(e){let t=this._textModel.getLineContent(e),i=this._tokens.getTokens(this._languageId,e-1,t);return this._semanticTokens.addSparseTokens(e,i)}getTokenTypeIfInsertingCharacter(e,t,i){let n=this._textModel.validatePosition(new c.L(e,t));return this._tokenization.getTokenTypeIfInsertingCharacter(n,i)}tokenizeLineWithEdit(e,t,i){let n=this._textModel.validatePosition(e);return this._tokenization.tokenizeLineWithEdit(n,t,i)}getLanguageConfiguration(e){return this._languageConfigurationService.getLanguageConfiguration(e)}getWordAtPosition(e){this.assertNotDisposed();let t=this._textModel.validatePosition(e),i=this._textModel.getLineContent(t.lineNumber),n=this._getLineTokens(t.lineNumber),o=n.findTokenIndexAtOffset(t.column-1),[r,s]=e5._findLanguageBoundaries(n,o),a=(0,eP.t2)(t.column,this.getLanguageConfiguration(n.getLanguageId(o)).getWordDefinition(),i.substring(r,s),r);if(a&&a.startColumn<=e.column&&e.column<=a.endColumn)return a;if(o>0&&r===t.column-1){let[r,s]=e5._findLanguageBoundaries(n,o-1),a=(0,eP.t2)(t.column,this.getLanguageConfiguration(n.getLanguageId(o-1)).getWordDefinition(),i.substring(r,s),r);if(a&&a.startColumn<=e.column&&e.column<=a.endColumn)return a}return null}static _findLanguageBoundaries(e,t){let i=e.getLanguageId(t),n=0;for(let o=t;o>=0&&e.getLanguageId(o)===i;o--)n=e.getStartOffset(o);let o=e.getLineContent().length;for(let n=t,r=e.getCount();n0&&(e[t++]=n,i+=n.length),i>=65536)return e.join("")}}}let te=()=>{throw Error("Invalid change accessor")},tt=class e extends a.JT{constructor(t,i,n,o=null,r,a,d){super(),this._undoRedoService=r,this._languageService=a,this._languageConfigurationService=d,this._onWillDispose=this._register(new s.Q5),this.onWillDispose=this._onWillDispose.event,this._onDidChangeDecorations=this._register(new tg(e=>this.handleBeforeFireDecorationsChangedEvent(e))),this.onDidChangeDecorations=this._onDidChangeDecorations.event,this._onDidChangeOptions=this._register(new s.Q5),this.onDidChangeOptions=this._onDidChangeOptions.event,this._onDidChangeAttached=this._register(new s.Q5),this.onDidChangeAttached=this._onDidChangeAttached.event,this._onDidChangeInjectedText=this._register(new s.Q5),this._eventEmitter=this._register(new tp),this._deltaDecorationCallCnt=0,e6++,this.id="$model"+e6,this.isForSimpleWidget=n.isForSimpleWidget,null==o?this._associatedResource=h.o.parse("inmemory://model/"+e6):this._associatedResource=o,this._attachedEditorCount=0;let{textBuffer:u,disposable:c}=e7(t,n.defaultEOL);this._buffer=u,this._bufferDisposable=c,this._options=e.resolveOptions(this._buffer,n),this._bracketPairs=this._register(new M(this,this._languageConfigurationService)),this._guidesTextModelPart=this._register(new H.l(this,this._languageConfigurationService)),this._decorationProvider=this._register(new B(this)),this._tokenizationTextModelPart=new e5(this._languageService,this._languageConfigurationService,this,this._bracketPairs,i);let p=this._buffer.getLineCount(),m=this._buffer.getValueLengthInRange(new g.e(1,1,p,this._buffer.getLineLength(p)+1),0);n.largeFileOptimizations?this._isTooLargeForTokenization=m>e.LARGE_FILE_SIZE_THRESHOLD||p>e.LARGE_FILE_LINE_COUNT_THRESHOLD:this._isTooLargeForTokenization=!1,this._isTooLargeForSyncing=m>e.MODEL_SYNC_LIMIT,this._versionId=1,this._alternativeVersionId=1,this._initialUndoRedoSnapshot=null,this._isDisposed=!1,this.__isDisposing=!1,this._instanceId=l.PJ(e6),this._lastDecorationId=0,this._decorations=Object.create(null),this._decorationsTree=new to,this._commandManager=new W.NL(this,this._undoRedoService),this._isUndoing=!1,this._isRedoing=!1,this._trimAutoWhitespaceLines=null,this._register(this._decorationProvider.onDidChange(()=>{this._onDidChangeDecorations.beginDeferredEmit(),this._onDidChangeDecorations.fire(),this._onDidChangeDecorations.endDeferredEmit()}))}static resolveOptions(e,t){if(t.detectIndentation){let i=K(e,t.tabSize,t.insertSpaces);return new v.dJ({tabSize:i.tabSize,indentSize:i.tabSize,insertSpaces:i.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL,bracketPairColorizationOptions:t.bracketPairColorizationOptions})}return new v.dJ({tabSize:t.tabSize,indentSize:t.indentSize,insertSpaces:t.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL,bracketPairColorizationOptions:t.bracketPairColorizationOptions})}get onDidChangeLanguage(){return this._tokenizationTextModelPart.onDidChangeLanguage}get onDidChangeLanguageConfiguration(){return this._tokenizationTextModelPart.onDidChangeLanguageConfiguration}get onDidChangeTokens(){return this._tokenizationTextModelPart.onDidChangeTokens}onDidChangeContent(e){return this._eventEmitter.slowEvent(t=>e(t.contentChangedEvent))}onDidChangeContentOrInjectedText(e){return(0,a.F8)(this._eventEmitter.fastEvent(t=>e(t)),this._onDidChangeInjectedText.event(t=>e(t)))}_isDisposing(){return this.__isDisposing}get tokenization(){return this._tokenizationTextModelPart}get bracketPairs(){return this._bracketPairs}get guides(){return this._guidesTextModelPart}dispose(){this.__isDisposing=!0,this._onWillDispose.fire(),this._tokenizationTextModelPart.dispose(),this._isDisposed=!0,super.dispose(),this._bufferDisposable.dispose(),this.__isDisposing=!1;let e=new eA([],"","\n",!1,!1,!0,!0);e.dispose(),this._buffer=e,this._bufferDisposable=a.JT.None}_assertNotDisposed(){if(this._isDisposed)throw Error("Model is disposed!")}_emitContentChangedEvent(e,t){this.__isDisposing||(this._tokenizationTextModelPart.handleDidChangeContent(t),this._bracketPairs.handleDidChangeContent(t),this._eventEmitter.fire(new e4.fV(e,t)))}setValue(e){if(this._assertNotDisposed(),null===e)return;let{textBuffer:t,disposable:i}=e7(e,this._options.defaultEOL);this._setValueFromTextBuffer(t,i)}_createContentChanged2(e,t,i,n,o,r,s){return{changes:[{range:e,rangeOffset:t,rangeLength:i,text:n}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:o,isRedoing:r,isFlush:s}}_setValueFromTextBuffer(e,t){this._assertNotDisposed();let i=this.getFullModelRange(),n=this.getValueLengthInRange(i),o=this.getLineCount(),r=this.getLineMaxColumn(o);this._buffer=e,this._bufferDisposable.dispose(),this._bufferDisposable=t,this._increaseVersionId(),this._tokenizationTextModelPart.flush(),this._decorations=Object.create(null),this._decorationsTree=new to,this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new e4.dQ([new e4.Jx],this._versionId,!1,!1),this._createContentChanged2(new g.e(1,1,o,r),0,n,this.getValue(),!1,!1,!0))}setEOL(e){this._assertNotDisposed();let t=1===e?"\r\n":"\n";if(this._buffer.getEOL()===t)return;let i=this.getFullModelRange(),n=this.getValueLengthInRange(i),o=this.getLineCount(),r=this.getLineMaxColumn(o);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new e4.dQ([new e4.CZ],this._versionId,!1,!1),this._createContentChanged2(new g.e(1,1,o,r),0,n,this.getValue(),!1,!1,!1))}_onBeforeEOLChange(){this._decorationsTree.ensureAllNodesHaveRanges(this)}_onAfterEOLChange(){let e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder();for(let i=0,n=t.length;i0}getAttachedEditorCount(){return this._attachedEditorCount}isTooLargeForSyncing(){return this._isTooLargeForSyncing}isTooLargeForTokenization(){return this._isTooLargeForTokenization}isDisposed(){return this._isDisposed}isDominatedByLongLines(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;let e=0,t=0,i=this._buffer.getLineCount();for(let n=1;n<=i;n++){let i=this._buffer.getLineLength(n);i>=1e4?t+=i:e+=i}return t>e}get uri(){return this._associatedResource}getOptions(){return this._assertNotDisposed(),this._options}getFormattingOptions(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}}updateOptions(e){this._assertNotDisposed();let t=void 0!==e.tabSize?e.tabSize:this._options.tabSize,i=void 0!==e.indentSize?e.indentSize:this._options.indentSize,n=void 0!==e.insertSpaces?e.insertSpaces:this._options.insertSpaces,o=void 0!==e.trimAutoWhitespace?e.trimAutoWhitespace:this._options.trimAutoWhitespace,r=void 0!==e.bracketColorizationOptions?e.bracketColorizationOptions:this._options.bracketPairColorizationOptions,s=new v.dJ({tabSize:t,indentSize:i,insertSpaces:n,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:o,bracketPairColorizationOptions:r});if(this._options.equals(s))return;let a=this._options.createChangeEvent(s);this._options=s,this._bracketPairs.handleDidChangeOptions(a),this._decorationProvider.handleDidChangeOptions(a),this._onDidChangeOptions.fire(a)}detectIndentation(e,t){this._assertNotDisposed();let i=K(this._buffer,t,e);this.updateOptions({insertSpaces:i.insertSpaces,tabSize:i.tabSize,indentSize:i.tabSize})}normalizeIndentation(e){return this._assertNotDisposed(),(0,u.x)(e,this._options.indentSize,this._options.insertSpaces)}getVersionId(){return this._assertNotDisposed(),this._versionId}mightContainRTL(){return this._buffer.mightContainRTL()}mightContainUnusualLineTerminators(){return this._buffer.mightContainUnusualLineTerminators()}removeUnusualLineTerminators(e=null){let t=this.findMatches(l.Qe.source,!1,!0,!1,null,!1,1073741824);this._buffer.resetMightContainUnusualLineTerminators(),this.pushEditOperations(e,t.map(e=>({range:e.range,text:null})),()=>null)}mightContainNonBasicASCII(){return this._buffer.mightContainNonBasicASCII()}getAlternativeVersionId(){return this._assertNotDisposed(),this._alternativeVersionId}getInitialUndoRedoSnapshot(){return this._assertNotDisposed(),this._initialUndoRedoSnapshot}getOffsetAt(e){this._assertNotDisposed();let t=this._validatePosition(e.lineNumber,e.column,0);return this._buffer.getOffsetAt(t.lineNumber,t.column)}getPositionAt(e){this._assertNotDisposed();let t=Math.min(this._buffer.getLength(),Math.max(0,e));return this._buffer.getPositionAt(t)}_increaseVersionId(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId}_overwriteVersionId(e){this._versionId=e}_overwriteAlternativeVersionId(e){this._alternativeVersionId=e}_overwriteInitialUndoRedoSnapshot(e){this._initialUndoRedoSnapshot=e}getValue(e,t=!1){this._assertNotDisposed();let i=this.getFullModelRange(),n=this.getValueInRange(i,e);return t?this._buffer.getBOM()+n:n}createSnapshot(e=!1){return new e8(this._buffer.createSnapshot(e))}getValueLength(e,t=!1){this._assertNotDisposed();let i=this.getFullModelRange(),n=this.getValueLengthInRange(i,e);return t?this._buffer.getBOM().length+n:n}getValueInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(e),t)}getValueLengthInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(e),t)}getCharacterCountInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(e),t)}getLineCount(){return this._assertNotDisposed(),this._buffer.getLineCount()}getLineContent(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw Error("Illegal value for lineNumber");return this._buffer.getLineContent(e)}getLineLength(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)}getLinesContent(){return this._assertNotDisposed(),this._buffer.getLinesContent()}getEOL(){return this._assertNotDisposed(),this._buffer.getEOL()}getEndOfLineSequence(){return this._assertNotDisposed(),"\n"===this._buffer.getEOL()?0:1}getLineMinColumn(e){return this._assertNotDisposed(),1}getLineMaxColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)+1}getLineFirstNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(e)}getLineLastNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(e)}_validateRangeRelaxedNoAllocations(e){let t=this._buffer.getLineCount(),i=e.startLineNumber,n=e.startColumn,o=Math.floor("number"!=typeof i||isNaN(i)?1:i),r=Math.floor("number"!=typeof n||isNaN(n)?1:n);if(o<1)o=1,r=1;else if(o>t)o=t,r=this.getLineMaxColumn(o);else if(r<=1)r=1;else{let e=this.getLineMaxColumn(o);r>=e&&(r=e)}let s=e.endLineNumber,a=e.endColumn,l=Math.floor("number"!=typeof s||isNaN(s)?1:s),h=Math.floor("number"!=typeof a||isNaN(a)?1:a);if(l<1)l=1,h=1;else if(l>t)l=t,h=this.getLineMaxColumn(l);else if(h<=1)h=1;else{let e=this.getLineMaxColumn(l);h>=e&&(h=e)}return i===o&&n===r&&s===l&&a===h&&e instanceof g.e&&!(e instanceof p.Y)?e:new g.e(o,r,l,h)}_isValidPosition(e,t,i){if("number"!=typeof e||"number"!=typeof t||isNaN(e)||isNaN(t)||e<1||t<1||(0|e)!==e||(0|t)!==t)return!1;let n=this._buffer.getLineCount();if(e>n)return!1;if(1===t)return!0;let o=this.getLineMaxColumn(e);if(t>o)return!1;if(1===i){let i=this._buffer.getLineCharCode(e,t-2);if(l.ZG(i))return!1}return!0}_validatePosition(e,t,i){let n=Math.floor("number"!=typeof e||isNaN(e)?1:e),o=Math.floor("number"!=typeof t||isNaN(t)?1:t),r=this._buffer.getLineCount();if(n<1)return new c.L(1,1);if(n>r)return new c.L(r,this.getLineMaxColumn(r));if(o<=1)return new c.L(n,1);let s=this.getLineMaxColumn(n);if(o>=s)return new c.L(n,s);if(1===i){let e=this._buffer.getLineCharCode(n,o-2);if(l.ZG(e))return new c.L(n,o-1)}return new c.L(n,o)}validatePosition(e){return(this._assertNotDisposed(),e instanceof c.L&&this._isValidPosition(e.lineNumber,e.column,1))?e:this._validatePosition(e.lineNumber,e.column,1)}_isValidRange(e,t){let i=e.startLineNumber,n=e.startColumn,o=e.endLineNumber,r=e.endColumn;if(!this._isValidPosition(i,n,0)||!this._isValidPosition(o,r,0))return!1;if(1===t){let e=n>1?this._buffer.getLineCharCode(i,n-2):0,t=r>1&&r<=this._buffer.getLineLength(o)?this._buffer.getLineCharCode(o,r-2):0,s=l.ZG(e),a=l.ZG(t);return!s&&!a}return!0}validateRange(e){if(this._assertNotDisposed(),e instanceof g.e&&!(e instanceof p.Y)&&this._isValidRange(e,1))return e;let t=this._validatePosition(e.startLineNumber,e.startColumn,0),i=this._validatePosition(e.endLineNumber,e.endColumn,0),n=t.lineNumber,o=t.column,r=i.lineNumber,s=i.column;{let e=o>1?this._buffer.getLineCharCode(n,o-2):0,t=s>1&&s<=this._buffer.getLineLength(r)?this._buffer.getLineCharCode(r,s-2):0,i=l.ZG(e),a=l.ZG(t);return i||a?n===r&&o===s?new g.e(n,o-1,r,s-1):i&&a?new g.e(n,o-1,r,s+1):i?new g.e(n,o-1,r,s):new g.e(n,o,r,s+1):new g.e(n,o,r,s)}}modifyPosition(e,t){this._assertNotDisposed();let i=this.getOffsetAt(e)+t;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,i)))}getFullModelRange(){this._assertNotDisposed();let e=this.getLineCount();return new g.e(1,1,e,this.getLineMaxColumn(e))}findMatchesLineByLine(e,t,i,n){return this._buffer.findMatchesLineByLine(e,t,i,n)}findMatches(e,t,i,n,o,r,s=999){let a;this._assertNotDisposed();let l=null;null!==t&&(Array.isArray(t)||(t=[t]),t.every(e=>g.e.isIRange(e))&&(l=t.map(e=>this.validateRange(e)))),null===l&&(l=[this.getFullModelRange()]),l=l.sort((e,t)=>e.startLineNumber-t.startLineNumber||e.startColumn-t.startColumn);let h=[];if(h.push(l.reduce((e,t)=>g.e.areIntersecting(e,t)?e.plusRange(t):(h.push(e),t))),!i&&0>e.indexOf("\n")){let t=new eS.bc(e,i,n,o),l=t.parseSearchRequest();if(!l)return[];a=e=>this.findMatchesLineByLine(e,l,r,s)}else a=t=>eS.pM.findMatches(this,new eS.bc(e,i,n,o),t,r,s);return h.map(a).reduce((e,t)=>e.concat(t),[])}findNextMatch(e,t,i,n,o,r){this._assertNotDisposed();let s=this.validatePosition(t);if(!i&&0>e.indexOf("\n")){let t=new eS.bc(e,i,n,o),a=t.parseSearchRequest();if(!a)return null;let l=this.getLineCount(),h=new g.e(s.lineNumber,s.column,l,this.getLineMaxColumn(l)),d=this.findMatchesLineByLine(h,a,r,1);return(eS.pM.findNextMatch(this,new eS.bc(e,i,n,o),s,r),d.length>0)?d[0]:(h=new g.e(1,1,s.lineNumber,this.getLineMaxColumn(s.lineNumber)),(d=this.findMatchesLineByLine(h,a,r,1)).length>0)?d[0]:null}return eS.pM.findNextMatch(this,new eS.bc(e,i,n,o),s,r)}findPreviousMatch(e,t,i,n,o,r){this._assertNotDisposed();let s=this.validatePosition(t);return eS.pM.findPreviousMatch(this,new eS.bc(e,i,n,o),s,r)}pushStackElement(){this._commandManager.pushStackElement()}popStackElement(){this._commandManager.popStackElement()}pushEOL(e){let t="\n"===this.getEOL()?0:1;if(t!==e)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),null===this._initialUndoRedoSnapshot&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEOL(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_validateEditOperation(e){return e instanceof v.Qi?e:new v.Qi(e.identifier||null,this.validateRange(e.range),e.text,e.forceMoveMarkers||!1,e.isAutoWhitespaceEdit||!1,e._isTracked||!1)}_validateEditOperations(e){let t=[];for(let i=0,n=e.length;i({range:this.validateRange(e.range),text:e.text})),n=!0;if(e)for(let t=0,o=e.length;to.endLineNumber,s=o.startLineNumber>t.endLineNumber;if(!n&&!s){r=!0;break}}if(!r){n=!1;break}}if(n)for(let e=0,n=this._trimAutoWhitespaceLines.length;et.endLineNumber||n===t.startLineNumber&&t.startColumn===o&&t.isEmpty()&&s&&s.length>0&&"\n"===s.charAt(0)||n===t.startLineNumber&&1===t.startColumn&&t.isEmpty()&&s&&s.length>0&&"\n"===s.charAt(s.length-1))){r=!1;break}}if(r){let e=new g.e(n,1,n,o);t.push(new v.Qi(null,e,null,!1,!1,!1))}}this._trimAutoWhitespaceLines=null}return null===this._initialUndoRedoSnapshot&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEditOperation(e,t,i)}_applyUndo(e,t,i,n){let o=e.map(e=>{let t=this.getPositionAt(e.newPosition),i=this.getPositionAt(e.newEnd);return{range:new g.e(t.lineNumber,t.column,i.lineNumber,i.column),text:e.oldText}});this._applyUndoRedoEdits(o,t,!0,!1,i,n)}_applyRedo(e,t,i,n){let o=e.map(e=>{let t=this.getPositionAt(e.oldPosition),i=this.getPositionAt(e.oldEnd);return{range:new g.e(t.lineNumber,t.column,i.lineNumber,i.column),text:e.newText}});this._applyUndoRedoEdits(o,t,!1,!0,i,n)}_applyUndoRedoEdits(e,t,i,n,o,r){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=i,this._isRedoing=n,this.applyEdits(e,!1),this.setEOL(t),this._overwriteAlternativeVersionId(o)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(r),this._onDidChangeDecorations.endDeferredEmit()}}applyEdits(e,t=!1){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();let i=this._validateEditOperations(e);return this._doApplyEdits(i,t)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_doApplyEdits(e,t){let i=this._buffer.getLineCount(),o=this._buffer.applyEdits(e,this._options.trimAutoWhitespace,t),r=this._buffer.getLineCount(),s=o.changes;if(this._trimAutoWhitespaceLines=o.trimAutoWhitespaceLineNumbers,0!==s.length){for(let e=0,t=s.length;e=0;t--){let i=l+t,n=m+t;C.takeFromEndWhile(e=>e.lineNumber>n);let o=C.takeFromEndWhile(e=>e.lineNumber===n);e.push(new e4.rU(i,this.getLineContent(n),o))}if(ge.lineNumbere.lineNumber===t)}e.push(new e4.Tx(o+1,l+a,u,d))}t+=p}this._emitContentChangedEvent(new e4.dQ(e,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:s,eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return null===o.reverseEdits?void 0:o.reverseEdits}undo(){return this._undoRedoService.undo(this.uri)}canUndo(){return this._undoRedoService.canUndo(this.uri)}redo(){return this._undoRedoService.redo(this.uri)}canRedo(){return this._undoRedoService.canRedo(this.uri)}handleBeforeFireDecorationsChangedEvent(e){if(null===e||0===e.size)return;let t=Array.from(e),i=t.map(e=>new e4.rU(e,this.getLineContent(e),this._getInjectedTextInLine(e)));this._onDidChangeInjectedText.fire(new e4.D8(i))}changeDecorations(e,t=0){this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(t,e)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_changeDecorations(e,t){let i={addDecoration:(t,i)=>this._deltaDecorationsImpl(e,[],[{range:t,options:i}])[0],changeDecoration:(e,t)=>{this._changeDecorationImpl(e,t)},changeDecorationOptions:(e,t)=>{this._changeDecorationOptionsImpl(e,tc(t))},removeDecoration:t=>{this._deltaDecorationsImpl(e,[t],[])},deltaDecorations:(t,i)=>0===t.length&&0===i.length?[]:this._deltaDecorationsImpl(e,t,i)},n=null;try{n=t(i)}catch(e){(0,r.dL)(e)}return i.addDecoration=te,i.changeDecoration=te,i.changeDecorationOptions=te,i.removeDecoration=te,i.deltaDecorations=te,n}deltaDecorations(e,t,i=0){if(this._assertNotDisposed(),e||(e=[]),0===e.length&&0===t.length)return[];try{return this._deltaDecorationCallCnt++,this._deltaDecorationCallCnt>1&&(console.warn("Invoking deltaDecorations recursively could lead to leaking decorations."),(0,r.dL)(Error("Invoking deltaDecorations recursively could lead to leaking decorations."))),this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl(i,e,t)}finally{this._onDidChangeDecorations.endDeferredEmit(),this._deltaDecorationCallCnt--}}_getTrackedRange(e){return this.getDecorationRange(e)}_setTrackedRange(e,t,i){let n=e?this._decorations[e]:null;if(!n)return t?this._deltaDecorationsImpl(0,[],[{range:t,options:tu[i]}])[0]:null;if(!t)return this._decorationsTree.delete(n),delete this._decorations[n.id],null;let o=this._validateRangeRelaxedNoAllocations(t),r=this._buffer.getOffsetAt(o.startLineNumber,o.startColumn),s=this._buffer.getOffsetAt(o.endLineNumber,o.endColumn);return this._decorationsTree.delete(n),n.reset(this.getVersionId(),r,s,o),n.setOptions(tu[i]),this._decorationsTree.insert(n),n.id}removeAllDecorationsWithOwnerId(e){if(this._isDisposed)return;let t=this._decorationsTree.collectNodesFromOwner(e);for(let e=0,i=t.length;ethis.getLineCount()?[]:this.getLinesDecorations(e,e,t,i)}getLinesDecorations(e,t,i=0,o=!1){let r=this.getLineCount(),s=Math.min(r,Math.max(1,t)),a=this.getLineMaxColumn(s),l=new g.e(Math.min(r,Math.max(1,e)),1,s,a),h=this._getDecorationsInRange(l,i,o);return(0,n.vA)(h,this._decorationProvider.getDecorationsInRange(l,i,o)),h}getDecorationsInRange(e,t=0,i=!1){let o=this.validateRange(e),r=this._getDecorationsInRange(o,t,i);return(0,n.vA)(r,this._decorationProvider.getDecorationsInRange(o,t,i)),r}getOverviewRulerDecorations(e=0,t=!1){return this._decorationsTree.getAll(this,e,t,!0)}getInjectedTextDecorations(e=0){return this._decorationsTree.getAllInjectedText(this,e)}_getInjectedTextInLine(e){let t=this._buffer.getOffsetAt(e,1),i=t+this._buffer.getLineLength(e),n=this._decorationsTree.getInjectedTextInInterval(this,t,i,0);return e4.gk.fromDecorations(n).filter(t=>t.lineNumber===e)}getAllDecorations(e=0,t=!1){return this._decorationsTree.getAll(this,e,t,!1).concat(this._decorationProvider.getAllDecorations(e,t))}_getDecorationsInRange(e,t,i){let n=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),o=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn);return this._decorationsTree.getAllInInterval(this,n,o,t,i)}getRangeAt(e,t){return this._buffer.getRangeAt(e,t-e)}_changeDecorationImpl(e,t){let i=this._decorations[e];if(!i)return;if(i.options.after){let t=this.getDecorationRange(e);this._onDidChangeDecorations.recordLineAffectedByInjectedText(t.endLineNumber)}if(i.options.before){let t=this.getDecorationRange(e);this._onDidChangeDecorations.recordLineAffectedByInjectedText(t.startLineNumber)}let n=this._validateRangeRelaxedNoAllocations(t),o=this._buffer.getOffsetAt(n.startLineNumber,n.startColumn),r=this._buffer.getOffsetAt(n.endLineNumber,n.endColumn);this._decorationsTree.delete(i),i.reset(this.getVersionId(),o,r,n),this._decorationsTree.insert(i),this._onDidChangeDecorations.checkAffectedAndFire(i.options),i.options.after&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(n.endLineNumber),i.options.before&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(n.startLineNumber)}_changeDecorationOptionsImpl(e,t){let i=this._decorations[e];if(!i)return;let n=!!i.options.overviewRuler&&!!i.options.overviewRuler.color,o=!!t.overviewRuler&&!!t.overviewRuler.color;if(this._onDidChangeDecorations.checkAffectedAndFire(i.options),this._onDidChangeDecorations.checkAffectedAndFire(t),i.options.after||t.after){let e=this._decorationsTree.getNodeRange(this,i);this._onDidChangeDecorations.recordLineAffectedByInjectedText(e.endLineNumber)}if(i.options.before||t.before){let e=this._decorationsTree.getNodeRange(this,i);this._onDidChangeDecorations.recordLineAffectedByInjectedText(e.startLineNumber)}n!==o?(this._decorationsTree.delete(i),i.setOptions(t),this._decorationsTree.insert(i)):i.setOptions(t)}_deltaDecorationsImpl(e,t,i){let n=this.getVersionId(),o=t.length,r=0,s=i.length,a=0,l=Array(s);for(;r=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([e9(4,e3.tJ),e9(5,f.O),e9(6,_.c_)],tt);class to{constructor(){this._decorationsTree0=new ee,this._decorationsTree1=new ee,this._injectedTextDecorationsTree=new ee}ensureAllNodesHaveRanges(e){this.getAll(e,0,!1,!1)}_ensureNodesHaveRanges(e,t){for(let i of t)null===i.range&&(i.range=e.getRangeAt(i.cachedAbsoluteStart,i.cachedAbsoluteEnd));return t}getAllInInterval(e,t,i,n,o){let r=e.getVersionId(),s=this._intervalSearch(t,i,n,o,r);return this._ensureNodesHaveRanges(e,s)}_intervalSearch(e,t,i,n,o){let r=this._decorationsTree0.intervalSearch(e,t,i,n,o),s=this._decorationsTree1.intervalSearch(e,t,i,n,o),a=this._injectedTextDecorationsTree.intervalSearch(e,t,i,n,o);return r.concat(s).concat(a)}getInjectedTextInInterval(e,t,i,n){let o=e.getVersionId(),r=this._injectedTextDecorationsTree.intervalSearch(t,i,n,!1,o);return this._ensureNodesHaveRanges(e,r).filter(e=>e.options.showIfCollapsed||!e.range.isEmpty())}getAllInjectedText(e,t){let i=e.getVersionId(),n=this._injectedTextDecorationsTree.search(t,!1,i);return this._ensureNodesHaveRanges(e,n).filter(e=>e.options.showIfCollapsed||!e.range.isEmpty())}getAll(e,t,i,n){let o=e.getVersionId(),r=this._search(t,i,n,o);return this._ensureNodesHaveRanges(e,r)}_search(e,t,i,n){if(i)return this._decorationsTree1.search(e,t,n);{let i=this._decorationsTree0.search(e,t,n),o=this._decorationsTree1.search(e,t,n),r=this._injectedTextDecorationsTree.search(e,t,n);return i.concat(o).concat(r)}}collectNodesFromOwner(e){let t=this._decorationsTree0.collectNodesFromOwner(e),i=this._decorationsTree1.collectNodesFromOwner(e),n=this._injectedTextDecorationsTree.collectNodesFromOwner(e);return t.concat(i).concat(n)}collectNodesPostOrder(){let e=this._decorationsTree0.collectNodesPostOrder(),t=this._decorationsTree1.collectNodesPostOrder(),i=this._injectedTextDecorationsTree.collectNodesPostOrder();return e.concat(t).concat(i)}insert(e){tn(e)?this._injectedTextDecorationsTree.insert(e):ti(e)?this._decorationsTree1.insert(e):this._decorationsTree0.insert(e)}delete(e){tn(e)?this._injectedTextDecorationsTree.delete(e):ti(e)?this._decorationsTree1.delete(e):this._decorationsTree0.delete(e)}getNodeRange(e,t){let i=e.getVersionId();return t.cachedVersionId!==i&&this._resolveNode(t,i),null===t.range&&(t.range=e.getRangeAt(t.cachedAbsoluteStart,t.cachedAbsoluteEnd)),t.range}_resolveNode(e,t){tn(e)?this._injectedTextDecorationsTree.resolveNode(e,t):ti(e)?this._decorationsTree1.resolveNode(e,t):this._decorationsTree0.resolveNode(e,t)}acceptReplace(e,t,i,n){this._decorationsTree0.acceptReplace(e,t,i,n),this._decorationsTree1.acceptReplace(e,t,i,n),this._injectedTextDecorationsTree.acceptReplace(e,t,i,n)}}function tr(e){return e.replace(/[^a-z0-9\-_]/gi," ")}class ts{constructor(e){this.color=e.color||"",this.darkColor=e.darkColor||""}}class ta extends ts{constructor(e){super(e),this._resolvedColor=null,this.position="number"==typeof e.position?e.position:v.sh.Center}getColor(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=null}_resolveColor(e,t){if("string"==typeof e)return e;let i=e?t.getColor(e.id):null;return i?i.toString():""}}class tl extends ts{constructor(e){super(e),this.position=e.position}getColor(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=void 0}_resolveColor(e,t){return"string"==typeof e?o.Il.fromHex(e):t.getColor(e.id)}}class th{constructor(e){this.content=e.content||"",this.inlineClassName=e.inlineClassName||null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.attachedData=e.attachedData||null,this.cursorStops=e.cursorStops||null}static from(e){return e instanceof th?e:new th(e)}}class td{constructor(e){var t,i;this.description=e.description,this.blockClassName=e.blockClassName?tr(e.blockClassName):null,this.stickiness=e.stickiness||0,this.zIndex=e.zIndex||0,this.className=e.className?tr(e.className):null,this.hoverMessage=e.hoverMessage||null,this.glyphMarginHoverMessage=e.glyphMarginHoverMessage||null,this.isWholeLine=e.isWholeLine||!1,this.showIfCollapsed=e.showIfCollapsed||!1,this.collapseOnReplaceEdit=e.collapseOnReplaceEdit||!1,this.overviewRuler=e.overviewRuler?new ta(e.overviewRuler):null,this.minimap=e.minimap?new tl(e.minimap):null,this.glyphMarginClassName=e.glyphMarginClassName?tr(e.glyphMarginClassName):null,this.linesDecorationsClassName=e.linesDecorationsClassName?tr(e.linesDecorationsClassName):null,this.firstLineDecorationClassName=e.firstLineDecorationClassName?tr(e.firstLineDecorationClassName):null,this.marginClassName=e.marginClassName?tr(e.marginClassName):null,this.inlineClassName=e.inlineClassName?tr(e.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=e.beforeContentClassName?tr(e.beforeContentClassName):null,this.afterContentClassName=e.afterContentClassName?tr(e.afterContentClassName):null,this.after=e.after?th.from(e.after):null,this.before=e.before?th.from(e.before):null,this.hideInCommentTokens=null!==(t=e.hideInCommentTokens)&&void 0!==t&&t,this.hideInStringTokens=null!==(i=e.hideInStringTokens)&&void 0!==i&&i}static register(e){return new td(e)}static createDynamic(e){return new td(e)}}td.EMPTY=td.register({description:"empty"});let tu=[td.register({description:"tracked-range-always-grows-when-typing-at-edges",stickiness:0}),td.register({description:"tracked-range-never-grows-when-typing-at-edges",stickiness:1}),td.register({description:"tracked-range-grows-only-when-typing-before",stickiness:2}),td.register({description:"tracked-range-grows-only-when-typing-after",stickiness:3})];function tc(e){return e instanceof td?e:td.createDynamic(e)}class tg extends a.JT{constructor(e){super(),this.handleBeforeFire=e,this._actual=this._register(new s.Q5),this.event=this._actual.event,this._affectedInjectedTextLines=null,this._deferredCnt=0,this._shouldFire=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(){var e;if(this._deferredCnt--,0===this._deferredCnt){if(this._shouldFire){this.handleBeforeFire(this._affectedInjectedTextLines);let e={affectsMinimap:this._affectsMinimap,affectsOverviewRuler:this._affectsOverviewRuler};this._shouldFire=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._actual.fire(e)}null===(e=this._affectedInjectedTextLines)||void 0===e||e.clear(),this._affectedInjectedTextLines=null}}recordLineAffectedByInjectedText(e){this._affectedInjectedTextLines||(this._affectedInjectedTextLines=new Set),this._affectedInjectedTextLines.add(e)}checkAffectedAndFire(e){this._affectsMinimap||(this._affectsMinimap=!!e.minimap&&!!e.minimap.position),this._affectsOverviewRuler||(this._affectsOverviewRuler=!!e.overviewRuler&&!!e.overviewRuler.color),this._shouldFire=!0}fire(){this._affectsMinimap=!0,this._affectsOverviewRuler=!0,this._shouldFire=!0}}class tp extends a.JT{constructor(){super(),this._fastEmitter=this._register(new s.Q5),this.fastEvent=this._fastEmitter.event,this._slowEmitter=this._register(new s.Q5),this.slowEvent=this._slowEmitter.event,this._deferredCnt=0,this._deferredEvent=null}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(e=null){if(this._deferredCnt--,0===this._deferredCnt&&null!==this._deferredEvent){this._deferredEvent.rawContentChangedEvent.resultingSelection=e;let t=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(t),this._slowEmitter.fire(t)}}fire(e){if(this._deferredCnt>0){this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(e):this._deferredEvent=e;return}this._fastEmitter.fire(e),this._slowEmitter.fire(e)}}},94954:function(e,t,i){"use strict";i.d(t,{U:function(){return o}});var n=i(9917);class o extends n.JT{constructor(){super(...arguments),this._isDisposed=!1}dispose(){super.dispose(),this._isDisposed=!0}assertNotDisposed(){if(this._isDisposed)throw Error("TextModelPart is disposed!")}}},77277:function(e,t,i){"use strict";i.d(t,{bc:function(){return l},cM:function(){return c},iE:function(){return h},pM:function(){return u},sz:function(){return g}});var n=i(97295),o=i(24929),r=i(50187),s=i(24314),a=i(84973);class l{constructor(e,t,i,n){this.searchString=e,this.isRegex=t,this.matchCase=i,this.wordSeparators=n}parseSearchRequest(){let e;if(""===this.searchString)return null;e=this.isRegex?function(e){if(!e||0===e.length)return!1;for(let t=0,i=e.length;t=i)break;let n=e.charCodeAt(t);if(110===n||114===n||87===n)return!0}}return!1}(this.searchString):this.searchString.indexOf("\n")>=0;let t=null;try{t=n.GF(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch(e){return null}if(!t)return null;let i=!this.isRegex&&!e;return i&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(i=this.matchCase),new a.Tx(t,this.wordSeparators?(0,o.u)(this.wordSeparators):null,i?this.searchString:null)}}function h(e,t,i){if(!i)return new a.tk(e,null);let n=[];for(let e=0,i=t.length;e>0);t[o]>=e?n=o-1:t[o+1]>=e?(i=o,n=o):i=o+1}return i+1}}class u{static findMatches(e,t,i,n,o){let r=t.parseSearchRequest();return r?r.regex.multiline?this._doFindMatchesMultiline(e,i,new g(r.wordSeparators,r.regex),n,o):this._doFindMatchesLineByLine(e,i,r,n,o):[]}static _getMultilineMatchRange(e,t,i,n,o,r){let a,l;let h=0;if(n?(h=n.findLineFeedCountBeforeOffset(o),a=t+o+h):a=t+o,n){let e=n.findLineFeedCountBeforeOffset(o+r.length),t=e-h;l=a+r.length+t}else l=a+r.length;let d=e.getPositionAt(a),u=e.getPositionAt(l);return new s.e(d.lineNumber,d.column,u.lineNumber,u.column)}static _doFindMatchesMultiline(e,t,i,n,o){let r;let s=e.getOffsetAt(t.getStartPosition()),a=e.getValueInRange(t,1),l="\r\n"===e.getEOL()?new d(a):null,u=[],c=0;for(i.reset(0);(r=i.next(a))&&(u[c++]=h(this._getMultilineMatchRange(e,s,a,l,r.index,r[0]),r,n),!(c>=o)););return u}static _doFindMatchesLineByLine(e,t,i,n,o){let r=[],s=0;if(t.startLineNumber===t.endLineNumber){let a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);return s=this._findMatchesInLine(i,a,t.startLineNumber,t.startColumn-1,s,r,n,o),r}let a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);s=this._findMatchesInLine(i,a,t.startLineNumber,t.startColumn-1,s,r,n,o);for(let a=t.startLineNumber+1;a=d))););return o}let m=new g(e.wordSeparators,e.regex);m.reset(0);do if((u=m.next(t))&&(r[o++]=h(new s.e(i,u.index+1+n,i,u.index+1+u[0].length+n),u,l),o>=d))break;while(u);return o}static findNextMatch(e,t,i,n){let o=t.parseSearchRequest();if(!o)return null;let r=new g(o.wordSeparators,o.regex);return o.regex.multiline?this._doFindNextMatchMultiline(e,i,r,n):this._doFindNextMatchLineByLine(e,i,r,n)}static _doFindNextMatchMultiline(e,t,i,n){let o=new r.L(t.lineNumber,1),a=e.getOffsetAt(o),l=e.getLineCount(),u=e.getValueInRange(new s.e(o.lineNumber,o.column,l,e.getLineMaxColumn(l)),1),c="\r\n"===e.getEOL()?new d(u):null;i.reset(t.column-1);let g=i.next(u);return g?h(this._getMultilineMatchRange(e,a,u,c,g.index,g[0]),g,n):1!==t.lineNumber||1!==t.column?this._doFindNextMatchMultiline(e,new r.L(1,1),i,n):null}static _doFindNextMatchLineByLine(e,t,i,n){let o=e.getLineCount(),r=t.lineNumber,s=e.getLineContent(r),a=this._findFirstMatchInLine(i,s,r,t.column,n);if(a)return a;for(let t=1;t<=o;t++){let s=(r+t-1)%o,a=e.getLineContent(s+1),l=this._findFirstMatchInLine(i,a,s+1,1,n);if(l)return l}return null}static _findFirstMatchInLine(e,t,i,n,o){e.reset(n-1);let r=e.next(t);return r?h(new s.e(i,r.index+1,i,r.index+1+r[0].length),r,o):null}static findPreviousMatch(e,t,i,n){let o=t.parseSearchRequest();if(!o)return null;let r=new g(o.wordSeparators,o.regex);return o.regex.multiline?this._doFindPreviousMatchMultiline(e,i,r,n):this._doFindPreviousMatchLineByLine(e,i,r,n)}static _doFindPreviousMatchMultiline(e,t,i,n){let o=this._doFindMatchesMultiline(e,new s.e(1,1,t.lineNumber,t.column),i,n,9990);if(o.length>0)return o[o.length-1];let a=e.getLineCount();return t.lineNumber!==a||t.column!==e.getLineMaxColumn(a)?this._doFindPreviousMatchMultiline(e,new r.L(a,e.getLineMaxColumn(a)),i,n):null}static _doFindPreviousMatchLineByLine(e,t,i,n){let o=e.getLineCount(),r=t.lineNumber,s=e.getLineContent(r).substring(0,t.column-1),a=this._findLastMatchInLine(i,s,r,n);if(a)return a;for(let t=1;t<=o;t++){let s=(o+r-t-1)%o,a=e.getLineContent(s+1),l=this._findLastMatchInLine(i,a,s+1,n);if(l)return l}return null}static _findLastMatchInLine(e,t,i,n){let o,r=null;for(e.reset(0);o=e.next(t);)r=h(new s.e(i,o.index+1,i,o.index+1+o[0].length),o,n);return r}}function c(e,t,i,n,o){return function(e,t,i,n,o){if(0===n)return!0;let r=t.charCodeAt(n-1);if(0!==e.get(r)||13===r||10===r)return!0;if(o>0){let i=t.charCodeAt(n);if(0!==e.get(i))return!0}return!1}(e,t,0,n,o)&&function(e,t,i,n,o){if(n+o===i)return!0;let r=t.charCodeAt(n+o);if(0!==e.get(r)||13===r||10===r)return!0;if(o>0){let i=t.charCodeAt(n+o-1);if(0!==e.get(i))return!0}return!1}(e,t,i,n,o)}class g{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){let t;let i=e.length;do{if(this._prevMatchStartIndex+this._prevMatchLength===i||!(t=this._searchRegex.exec(e)))break;let o=t.index,r=t[0].length;if(o===this._prevMatchStartIndex&&r===this._prevMatchLength){if(0===r){n.ZH(e,i,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}break}if(this._prevMatchStartIndex=o,this._prevMatchLength=r,!this._wordSeparators||c(this._wordSeparators,e,i,o,r))return t}while(t);return null}}},59616:function(e,t,i){"use strict";function n(e,t){let i=0,n=0,o=e.length;for(;n0?i[0]:[]}(e,t),s=yield Promise.all(r.map(e=>p(this,void 0,void 0,function*(){let r;let s=null;try{r=yield e.provideDocumentSemanticTokens(t,e===i?n:null,o)}catch(e){s=e,r=null}return r&&(m(r)||f(r))||(r=null),new _(e,r,s)})));for(let e of s){if(e.error)throw e.error;if(e.tokens)return e}return s.length>0?s[0]:null})}class b{constructor(e,t){this.provider=e,this.tokens=t}}function w(e,t){return e.has(t)}function y(e,t){let i=e.orderedGroups(t);return i.length>0?i[0]:[]}function S(e,t,i,n){return p(this,void 0,void 0,function*(){let r=y(e,t),s=yield Promise.all(r.map(e=>p(this,void 0,void 0,function*(){let r;try{r=yield e.provideDocumentRangeSemanticTokens(t,i,n)}catch(e){(0,o.Cp)(e),r=null}return r&&m(r)||(r=null),new b(e,r)})));for(let e of s)if(e.tokens)return e;return s.length>0?s[0]:null})}a.P0.registerCommand("_provideDocumentSemanticTokensLegend",(e,...t)=>p(void 0,void 0,void 0,function*(){let[i]=t;(0,l.p_)(i instanceof r.o);let n=e.get(s.q).getModel(i);if(!n)return;let{documentSemanticTokensProvider:o}=e.get(g.p),h=function(e,t){let i=e.orderedGroups(t);return i.length>0?i[0]:null}(o,n);return h?h[0].getLegend():e.get(a.Hy).executeCommand("_provideDocumentRangeSemanticTokensLegend",i)})),a.P0.registerCommand("_provideDocumentSemanticTokens",(e,...t)=>p(void 0,void 0,void 0,function*(){let[i]=t;(0,l.p_)(i instanceof r.o);let o=e.get(s.q).getModel(i);if(!o)return;let{documentSemanticTokensProvider:h}=e.get(g.p);if(!v(h,o))return e.get(a.Hy).executeCommand("_provideDocumentRangeSemanticTokens",i,o.getFullModelRange());let d=yield C(h,o,null,null,n.T.None);if(!d)return;let{provider:c,tokens:p}=d;if(!p||!m(p))return;let f=u({id:0,type:"full",data:p.data});return p.resultId&&c.releaseDocumentSemanticTokens(p.resultId),f})),a.P0.registerCommand("_provideDocumentRangeSemanticTokensLegend",(e,...t)=>p(void 0,void 0,void 0,function*(){let[i,o]=t;(0,l.p_)(i instanceof r.o);let a=e.get(s.q).getModel(i);if(!a)return;let{documentRangeSemanticTokensProvider:h}=e.get(g.p),d=y(h,a);if(0===d.length)return;if(1===d.length)return d[0].getLegend();if(!o||!c.e.isIRange(o))return console.warn("provideDocumentRangeSemanticTokensLegend might be out-of-sync with provideDocumentRangeSemanticTokens unless a range argument is passed in"),d[0].getLegend();let u=yield S(h,a,c.e.lift(o),n.T.None);if(u)return u.provider.getLegend()})),a.P0.registerCommand("_provideDocumentRangeSemanticTokens",(e,...t)=>p(void 0,void 0,void 0,function*(){let[i,o]=t;(0,l.p_)(i instanceof r.o),(0,l.p_)(c.e.isIRange(o));let a=e.get(s.q).getModel(i);if(!a)return;let{documentRangeSemanticTokensProvider:h}=e.get(g.p),d=yield S(h,a,c.e.lift(o),n.T.None);if(d&&d.tokens)return u({id:0,type:"full",data:d.tokens.data})}))},88191:function(e,t,i){"use strict";i.d(t,{A:function(){return c}});var n,o,r=i(89954),s=i(43702),a=i(59870),l=i(65026),h=i(72065),d=i(43557),u=i(50988);let c=(0,h.yh)("ILanguageFeatureDebounceService");!function(e){let t=new WeakMap,i=0;e.of=function(e){let n=t.get(e);return void 0===n&&(n=++i,t.set(e,n)),n}}(o||(o={}));class g{constructor(e,t,i,n,o,r){this._logService=e,this._name=t,this._registry=i,this._default=n,this._min=o,this._max=r,this._cache=new s.z6(50,.7)}_key(e){return e.id+this._registry.all(e).reduce((e,t)=>(0,r.SP)(o.of(t),e),0)}get(e){let t=this._key(e),i=this._cache.get(t);return i?(0,a.uZ)(i.value,this._min,this._max):this.default()}update(e,t){let i=this._key(e),n=this._cache.get(i);n||(n=new a.N(6),this._cache.set(i,n));let o=(0,a.uZ)(n.update(t),this._min,this._max);return(0,u.xn)(e.uri,"output")||this._logService.trace(`[DEBOUNCE: ${this._name}] for ${e.uri.toString()} is ${o}ms`),o}_overall(){let e=new a.nM;for(let[,t]of this._cache)e.update(t.value);return e.value}default(){let e=0|this._overall()||this._default;return(0,a.uZ)(e,this._min,this._max)}}let p=class{constructor(e){this._logService=e,this._data=new Map}for(e,t,i){var n,r,s;let a=null!==(n=null==i?void 0:i.min)&&void 0!==n?n:50,l=null!==(r=null==i?void 0:i.max)&&void 0!==r?r:Math.pow(a,2),h=null!==(s=null==i?void 0:i.key)&&void 0!==s?s:void 0,d=`${o.of(e)},${a}${h?","+h:""}`,u=this._data.get(d);return u||(u=new g(this._logService,t,e,0|this._overallAverage()||1.5*a,a,l),this._data.set(d,u)),u}_overallAverage(){let e=new a.nM;for(let t of this._data.values())e.update(t.default());return e.value}};p=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(n=d.VZ,function(e,t){n(e,t,0)})],p),(0,l.z)(c,p,!0)},71922:function(e,t,i){"use strict";i.d(t,{p:function(){return o}});var n=i(72065);let o=(0,n.yh)("ILanguageFeaturesService")},36357:function(e,t,i){"use strict";i.d(t,{i:function(){return o}});var n=i(72065);let o=(0,n.yh)("markerDecorationsService")},73733:function(e,t,i){"use strict";i.d(t,{q:function(){return o}});var n=i(72065);let o=(0,n.yh)("modelService")},51200:function(e,t,i){"use strict";i.d(t,{b$:function(){return P},e3:function(){return F},tw:function(){return B}});var n=i(4669),o=i(9917),r=i(1432),s=i(17301),a=i(22529),l=i(22075),h=i(68801),d=i(72042),u=i(73733),c=i(71765),g=i(33108),p=i(15393),m=i(71050),f=i(97781),_=i(43557),v=i(64862),C=i(89954),b=i(95215),w=i(66663),y=i(68997),S=i(32670),L=i(36248),k=i(4256),N=i(88191),D=i(84013),x=i(71922),I=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},E=function(e,t){return function(i,n){t(i,n,e)}};function T(e){return e.toString()}function M(e){let t;let i=new C.yP,n=e.createSnapshot();for(;t=n.read();)i.update(t);return i.digest()}class A{constructor(e,t,i){this._modelEventListeners=new o.SL,this.model=e,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners.add(e.onWillDispose(()=>t(e))),this._modelEventListeners.add(e.onDidChangeLanguage(t=>i(e,t)))}_disposeLanguageSelection(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null)}dispose(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()}setLanguage(e){this._disposeLanguageSelection(),this._languageSelection=e,this._languageSelectionListener=this._languageSelection.onDidChange(()=>this.model.setMode(e.languageId)),this.model.setMode(e.languageId)}}let R=r.IJ||r.dz?1:2;class O{constructor(e,t,i,n,o,r,s,a){this.uri=e,this.initialUndoRedoSnapshot=t,this.time=i,this.sharesUndoRedoStack=n,this.heapSize=o,this.sha1=r,this.versionId=s,this.alternativeVersionId=a}}let P=class e extends o.JT{constructor(e,t,i,o,r,s,a,l,h){super(),this._configurationService=e,this._resourcePropertiesService=t,this._themeService=i,this._logService=o,this._undoRedoService=r,this._languageService=s,this._languageConfigurationService=a,this._languageFeatureDebounceService=l,this._onModelAdded=this._register(new n.Q5),this.onModelAdded=this._onModelAdded.event,this._onModelRemoved=this._register(new n.Q5),this.onModelRemoved=this._onModelRemoved.event,this._onModelModeChanged=this._register(new n.Q5),this.onModelLanguageChanged=this._onModelModeChanged.event,this._modelCreationOptionsByLanguageAndResource=Object.create(null),this._models={},this._disposedModels=new Map,this._disposedModelsHeapSize=0,this._semanticStyling=this._register(new W(this._themeService,this._languageService,this._logService)),this._register(this._configurationService.onDidChangeConfiguration(()=>this._updateModelOptions())),this._updateModelOptions(),this._register(new V(this._semanticStyling,this,this._themeService,this._configurationService,this._languageFeatureDebounceService,h))}static _readModelOptions(e,t){var i;let n=l.D.tabSize;if(e.editor&&void 0!==e.editor.tabSize){let t=parseInt(e.editor.tabSize,10);isNaN(t)||(n=t),n<1&&(n=1)}let o=n;if(e.editor&&void 0!==e.editor.indentSize&&"tabSize"!==e.editor.indentSize){let t=parseInt(e.editor.indentSize,10);isNaN(t)||(o=t),o<1&&(o=1)}let r=l.D.insertSpaces;e.editor&&void 0!==e.editor.insertSpaces&&(r="false"!==e.editor.insertSpaces&&!!e.editor.insertSpaces);let s=R,a=e.eol;"\r\n"===a?s=2:"\n"===a&&(s=1);let h=l.D.trimAutoWhitespace;e.editor&&void 0!==e.editor.trimAutoWhitespace&&(h="false"!==e.editor.trimAutoWhitespace&&!!e.editor.trimAutoWhitespace);let d=l.D.detectIndentation;e.editor&&void 0!==e.editor.detectIndentation&&(d="false"!==e.editor.detectIndentation&&!!e.editor.detectIndentation);let u=l.D.largeFileOptimizations;e.editor&&void 0!==e.editor.largeFileOptimizations&&(u="false"!==e.editor.largeFileOptimizations&&!!e.editor.largeFileOptimizations);let c=l.D.bracketPairColorizationOptions;return(null===(i=e.editor)||void 0===i?void 0:i.bracketPairColorization)&&"object"==typeof e.editor.bracketPairColorization&&(c={enabled:!!e.editor.bracketPairColorization.enabled,independentColorPoolPerBracketType:!!e.editor.bracketPairColorization.independentColorPoolPerBracketType}),{isForSimpleWidget:t,tabSize:n,indentSize:o,insertSpaces:r,detectIndentation:d,defaultEOL:s,trimAutoWhitespace:h,largeFileOptimizations:u,bracketPairColorizationOptions:c}}_getEOL(e,t){if(e)return this._resourcePropertiesService.getEOL(e,t);let i=this._configurationService.getValue("files.eol",{overrideIdentifier:t});return i&&"string"==typeof i&&"auto"!==i?i:3===r.OS||2===r.OS?"\n":"\r\n"}_shouldRestoreUndoStack(){let e=this._configurationService.getValue("files.restoreUndoStack");return"boolean"!=typeof e||e}getCreationOptions(t,i,n){let o=this._modelCreationOptionsByLanguageAndResource[t+i];if(!o){let r=this._configurationService.getValue("editor",{overrideIdentifier:t,resource:i}),s=this._getEOL(i,t);o=e._readModelOptions({editor:r,eol:s},n),this._modelCreationOptionsByLanguageAndResource[t+i]=o}return o}_updateModelOptions(){let t=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);let i=Object.keys(this._models);for(let n=0,o=i.length;ne){let t=[];for(this._disposedModels.forEach(e=>{e.sharesUndoRedoStack||t.push(e)}),t.sort((e,t)=>e.time-t.time);t.length>0&&this._disposedModelsHeapSize>e;){let e=t.shift();this._removeDisposedModel(e.uri),null!==e.initialUndoRedoSnapshot&&this._undoRedoService.restoreSnapshot(e.initialUndoRedoSnapshot)}}}_createModelData(e,t,i,n){let o=this.getCreationOptions(t,i,n),r=new a.yO(e,t,o,i,this._undoRedoService,this._languageService,this._languageConfigurationService);if(i&&this._disposedModels.has(T(i))){let e=this._removeDisposedModel(i),t=this._undoRedoService.getElements(i),n=M(r)===e.sha1;if(n||e.sharesUndoRedoStack){for(let e of t.past)(0,b.e9)(e)&&e.matchesResource(i)&&e.setModel(r);for(let e of t.future)(0,b.e9)(e)&&e.matchesResource(i)&&e.setModel(r);this._undoRedoService.setElementsValidFlag(i,!0,e=>(0,b.e9)(e)&&e.matchesResource(i)),n&&(r._overwriteVersionId(e.versionId),r._overwriteAlternativeVersionId(e.alternativeVersionId),r._overwriteInitialUndoRedoSnapshot(e.initialUndoRedoSnapshot))}else null!==e.initialUndoRedoSnapshot&&this._undoRedoService.restoreSnapshot(e.initialUndoRedoSnapshot)}let s=T(r.uri);if(this._models[s])throw Error("ModelService: Cannot add model because it already exists!");let l=new A(r,e=>this._onWillDispose(e),(e,t)=>this._onDidChangeLanguage(e,t));return this._models[s]=l,l}createModel(e,t,i,n=!1){let o;return t?(o=this._createModelData(e,t.languageId,i,n),this.setMode(o.model,t)):o=this._createModelData(e,h.bd,i,n),this._onModelAdded.fire(o.model),o.model}setMode(e,t){if(!t)return;let i=this._models[T(e.uri)];i&&i.setLanguage(t)}getModels(){let e=[],t=Object.keys(this._models);for(let i=0,n=t.length;i0||e.future.length>0){for(let i of e.past)(0,b.e9)(i)&&i.matchesResource(t.uri)&&(r=!0,s+=i.heapSize(t.uri),i.setModel(t.uri));for(let i of e.future)(0,b.e9)(i)&&i.matchesResource(t.uri)&&(r=!0,s+=i.heapSize(t.uri),i.setModel(t.uri))}}let a=e.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK;if(r){if(!o&&s>a){let e=n.model.getInitialUndoRedoSnapshot();null!==e&&this._undoRedoService.restoreSnapshot(e)}else this._ensureDisposedModelsHeapSize(a-s),this._undoRedoService.setElementsValidFlag(t.uri,!1,e=>(0,b.e9)(e)&&e.matchesResource(t.uri)),this._insertDisposedModel(new O(t.uri,n.model.getInitialUndoRedoSnapshot(),Date.now(),o,s,M(t),t.getVersionId(),t.getAlternativeVersionId()))}else if(!o){let e=n.model.getInitialUndoRedoSnapshot();null!==e&&this._undoRedoService.restoreSnapshot(e)}delete this._models[i],n.dispose(),delete this._modelCreationOptionsByLanguageAndResource[t.getLanguageId()+t.uri],this._onModelRemoved.fire(t)}_onDidChangeLanguage(t,i){let n=i.oldLanguage,o=t.getLanguageId(),r=this.getCreationOptions(n,t.uri,t.isForSimpleWidget),s=this.getCreationOptions(o,t.uri,t.isForSimpleWidget);e._setModelOptionsForModel(t,s,r),this._onModelModeChanged.fire({model:t,oldLanguageId:n})}};P.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK=20971520,P=I([E(0,g.Ui),E(1,c.y),E(2,f.XE),E(3,_.VZ),E(4,v.tJ),E(5,d.O),E(6,k.c_),E(7,N.A),E(8,x.p)],P);let F="editor.semanticHighlighting";function B(e,t,i){var n;let o=null===(n=i.getValue(F,{overrideIdentifier:e.getLanguageId(),resource:e.uri}))||void 0===n?void 0:n.enabled;return"boolean"==typeof o?o:t.getColorTheme().semanticHighlighting}let V=class extends o.JT{constructor(e,t,i,n,o,r){super(),this._watchers=Object.create(null),this._semanticStyling=e;let s=e=>{this._watchers[e.uri.toString()]=new z(e,this._semanticStyling,i,o,r)},a=(e,t)=>{t.dispose(),delete this._watchers[e.uri.toString()]},l=()=>{for(let e of t.getModels()){let t=this._watchers[e.uri.toString()];B(e,i,n)?t||s(e):t&&a(e,t)}};this._register(t.onModelAdded(e=>{B(e,i,n)&&s(e)})),this._register(t.onModelRemoved(e=>{let t=this._watchers[e.uri.toString()];t&&a(e,t)})),this._register(n.onDidChangeConfiguration(e=>{e.affectsConfiguration(F)&&l()})),this._register(i.onDidColorThemeChange(l))}dispose(){for(let e of Object.values(this._watchers))e.dispose();super.dispose()}};V=I([E(1,u.q),E(2,f.XE),E(3,g.Ui),E(4,N.A),E(5,x.p)],V);class W extends o.JT{constructor(e,t,i){super(),this._themeService=e,this._languageService=t,this._logService=i,this._caches=new WeakMap,this._register(this._themeService.onDidColorThemeChange(()=>{this._caches=new WeakMap}))}get(e){return this._caches.has(e)||this._caches.set(e,new y.$(e.getLegend(),this._themeService,this._languageService,this._logService)),this._caches.get(e)}}class H{constructor(e,t,i){this.provider=e,this.resultId=t,this.data=i}dispose(){this.provider.releaseDocumentSemanticTokens(this.resultId)}}let z=class e extends o.JT{constructor(t,i,n,r,s){super(),this._isDisposed=!1,this._model=t,this._semanticStyling=i,this._provider=s.documentSemanticTokensProvider,this._debounceInformation=r.for(this._provider,"DocumentSemanticTokens",{min:e.REQUEST_MIN_DELAY,max:e.REQUEST_MAX_DELAY}),this._fetchDocumentSemanticTokens=this._register(new p.pY(()=>this._fetchDocumentSemanticTokensNow(),e.REQUEST_MIN_DELAY)),this._currentDocumentResponse=null,this._currentDocumentRequestCancellationTokenSource=null,this._documentProvidersChangeListeners=[],this._register(this._model.onDidChangeContent(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(this._model.onDidChangeLanguage(()=>{this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(0)}));let a=()=>{for(let e of((0,o.B9)(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[],this._provider.all(t)))"function"==typeof e.onDidChange&&this._documentProvidersChangeListeners.push(e.onDidChange(()=>this._fetchDocumentSemanticTokens.schedule(0)))};a(),this._register(this._provider.onDidChange(()=>{a(),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(n.onDidColorThemeChange(e=>{this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._fetchDocumentSemanticTokens.schedule(0)}dispose(){this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._isDisposed=!0,super.dispose()}_fetchDocumentSemanticTokensNow(){if(this._currentDocumentRequestCancellationTokenSource)return;if(!(0,S.Jc)(this._provider,this._model)){this._currentDocumentResponse&&this._model.tokenization.setSemanticTokens(null,!1);return}let e=new m.A,t=this._currentDocumentResponse?this._currentDocumentResponse.provider:null,i=this._currentDocumentResponse&&this._currentDocumentResponse.resultId||null,n=(0,S.ML)(this._provider,this._model,t,i,e.token);this._currentDocumentRequestCancellationTokenSource=e;let o=[],r=this._model.onDidChangeContent(e=>{o.push(e)}),a=new D.G(!1);n.then(e=>{if(this._debounceInformation.update(this._model,a.elapsed()),this._currentDocumentRequestCancellationTokenSource=null,r.dispose(),e){let{provider:t,tokens:i}=e,n=this._semanticStyling.get(t);this._setDocumentSemanticTokens(t,i||null,n,o)}else this._setDocumentSemanticTokens(null,null,null,o)},e=>{let t=e&&(s.n2(e)||"string"==typeof e.message&&-1!==e.message.indexOf("busy"));t||s.dL(e),this._currentDocumentRequestCancellationTokenSource=null,r.dispose(),o.length>0&&!this._fetchDocumentSemanticTokens.isScheduled()&&this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})}static _copy(e,t,i,n,o){o=Math.min(o,i.length-n,e.length-t);for(let r=0;r{o.length>0&&!this._fetchDocumentSemanticTokens.isScheduled()&&this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))};if(this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._isDisposed){t&&i&&t.releaseDocumentSemanticTokens(i.resultId);return}if(!t||!n){this._model.tokenization.setSemanticTokens(null,!1);return}if(!i){this._model.tokenization.setSemanticTokens(null,!0),s();return}if((0,S.Vj)(i)){if(!r){this._model.tokenization.setSemanticTokens(null,!0);return}if(0===i.edits.length)i={resultId:i.resultId,data:r.data};else{let t=0;for(let e of i.edits)t+=(e.data?e.data.length:0)-e.deleteCount;let o=r.data,s=new Uint32Array(o.length+t),a=o.length,l=s.length;for(let t=i.edits.length-1;t>=0;t--){let h=i.edits[t];if(h.start>o.length){n.warnInvalidEditStart(r.resultId,i.resultId,t,h.start,o.length),this._model.tokenization.setSemanticTokens(null,!0);return}let d=a-(h.start+h.deleteCount);d>0&&(e._copy(o,a-d,s,l-d,d),l-=d),h.data&&(e._copy(h.data,0,s,l-h.data.length,h.data.length),l-=h.data.length),a=h.start}a>0&&e._copy(o,0,s,0,a),i={resultId:i.resultId,data:s}}}if((0,S.Vl)(i)){this._currentDocumentResponse=new H(t,i.resultId,i.data);let e=(0,y.h)(i,n,this._model.getLanguageId());if(o.length>0)for(let t of o)for(let i of e)for(let e of t.changes)i.applyEdit(e.range,e.text);this._model.tokenization.setSemanticTokens(e,!0)}else this._model.tokenization.setSemanticTokens(null,!0);s()}};z.REQUEST_MIN_DELAY=300,z.REQUEST_MAX_DELAY=2e3,z=I([E(2,f.XE),E(3,N.A),E(4,x.p)],z)},88216:function(e,t,i){"use strict";i.d(t,{S:function(){return o}});var n=i(72065);let o=(0,n.yh)("textModelService")},68997:function(e,t,i){"use strict";i.d(t,{$:function(){return p},h:function(){return m}});var n=i(45797),o=i(97781),r=i(43557),s=i(50187),a=i(24314),l=i(23795);class h{constructor(e,t){this._startLineNumber=e,this._tokens=t,this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}static create(e,t){return new h(e,new d(t))}get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._endLineNumber}toString(){return this._tokens.toString(this._startLineNumber)}_updateEndLineNumber(){this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}isEmpty(){return this._tokens.isEmpty()}getLineTokens(e){return this._startLineNumber<=e&&e<=this._endLineNumber?this._tokens.getLineTokens(e-this._startLineNumber):null}getRange(){let e=this._tokens.getRange();return e?new a.e(this._startLineNumber+e.startLineNumber,e.startColumn,this._startLineNumber+e.endLineNumber,e.endColumn):e}removeTokens(e){let t=e.startLineNumber-this._startLineNumber,i=e.endLineNumber-this._startLineNumber;this._startLineNumber+=this._tokens.removeTokens(t,e.startColumn-1,i,e.endColumn-1),this._updateEndLineNumber()}split(e){let t=e.startLineNumber-this._startLineNumber,i=e.endLineNumber-this._startLineNumber,[n,o,r]=this._tokens.split(t,e.startColumn-1,i,e.endColumn-1);return[new h(this._startLineNumber,n),new h(this._startLineNumber+r,o)]}applyEdit(e,t){let[i,n,o]=(0,l.Q)(t);this.acceptEdit(e,i,n,o,t.length>0?t.charCodeAt(0):0)}acceptEdit(e,t,i,n,o){this._acceptDeleteRange(e),this._acceptInsertText(new s.L(e.startLineNumber,e.startColumn),t,i,n,o),this._updateEndLineNumber()}_acceptDeleteRange(e){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return;let t=e.startLineNumber-this._startLineNumber,i=e.endLineNumber-this._startLineNumber;if(i<0){let e=i-t;this._startLineNumber-=e;return}let n=this._tokens.getMaxDeltaLine();if(!(t>=n+1)){if(t<0&&i>=n+1){this._startLineNumber=0,this._tokens.clear();return}if(t<0){let n=-t;this._startLineNumber-=n,this._tokens.acceptDeleteRange(e.startColumn-1,0,0,i,e.endColumn-1)}else this._tokens.acceptDeleteRange(0,t,e.startColumn-1,i,e.endColumn-1)}}_acceptInsertText(e,t,i,n,o){if(0===t&&0===i)return;let r=e.lineNumber-this._startLineNumber;if(r<0){this._startLineNumber+=t;return}let s=this._tokens.getMaxDeltaLine();r>=s+1||this._tokens.acceptInsertText(r,e.column-1,t,i,n,o)}}class d{constructor(e){this._tokens=e,this._tokenCount=e.length/4}toString(e){let t=[];for(let i=0;ie)i=n-1;else{let o=n;for(;o>t&&this._getDeltaLine(o-1)===e;)o--;let r=n;for(;re||d===e&&c>=t)&&(de||d===e&&g>=t){if(do?p-=o-i:p=i;else if(c===t&&g===i){if(c===n&&p>o)p-=o-i;else{h=!0;continue}}else if(co)p=c===t?(g=i)+(p-o):(g=0)+(p-o);else{h=!0;continue}}else if(c>n){if(0===a&&!h){l=s;break}c-=a}else if(c===n&&g>=o)e&&0===c&&(g+=e,p+=e),c-=a,g-=o-i,p-=o-i;else throw Error("Not possible!");let f=4*l;r[f]=c,r[f+1]=g,r[f+2]=p,r[f+3]=m,l++}this._tokenCount=l}acceptInsertText(e,t,i,n,o,r){let s=0===i&&1===n&&(r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122),a=this._tokens,l=this._tokenCount;for(let r=0;r0&&t>=1;e>0&&this._logService.getLevel()===r.in.Trace&&(this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${t.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`),l.push("not-in-legend"));let n=this._themeService.getColorTheme().getTokenStyleMetadata(a,l,i);if(void 0===n)o=2147483647;else{if(o=0,void 0!==n.italic){let e=(n.italic?1:0)<<11;o|=1|e}if(void 0!==n.bold){let e=(n.bold?2:0)<<11;o|=2|e}if(void 0!==n.underline){let e=(n.underline?4:0)<<11;o|=4|e}if(void 0!==n.strikethrough){let e=(n.strikethrough?8:0)<<11;o|=8|e}if(n.foreground){let e=n.foreground<<15;o|=16|e}0===o&&(o=2147483647)}}else this._logService.getLevel()===r.in.Trace&&this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${e} for legend: ${JSON.stringify(this._legend.tokenTypes)}`),o=2147483647,a="not-in-legend";this._hashTable.add(e,t,s,o),this._logService.getLevel()===r.in.Trace&&this._logService.trace(`SemanticTokensProviderStyling ${e} (${a}) / ${t} (${l.join(" ")}): foreground ${n.N.getForeground(o)}, fontStyle ${n.N.getFontStyle(o).toString(2)}`)}return o}warnOverlappingSemanticTokens(e,t){this._hasWarnedOverlappingTokens||(this._hasWarnedOverlappingTokens=!0,console.warn(`Overlapping semantic tokens detected at lineNumber ${e}, column ${t}`))}warnInvalidLengthSemanticTokens(e,t){this._hasWarnedInvalidLengthTokens||(this._hasWarnedInvalidLengthTokens=!0,console.warn(`Semantic token with invalid length detected at lineNumber ${e}, column ${t}`))}warnInvalidEditStart(e,t,i,n,o){this._hasWarnedInvalidEditStart||(this._hasWarnedInvalidEditStart=!0,console.warn(`Invalid semantic tokens edit detected (previousResultId: ${e}, resultId: ${t}) at edit #${i}: The provided start offset ${n} is outside the previous data (length ${o}).`))}};function m(e,t,i){let n=e.data,o=e.data.length/5|0,r=Math.max(Math.ceil(o/1024),400),s=[],a=0,l=1,d=0;for(;ae&&0===n[5*t];)t--;if(t-1===e){let e=u;for(;e+1h)t.warnOverlappingSemanticTokens(s,h+1);else{let e=t.getMetadata(v,C,i);2147483647!==e&&(0===p&&(p=s),c[g]=s-p,c[g+1]=h,c[g+2]=_,c[g+3]=e,g+=4,m=s,f=_)}l=s,d=h,a++}g!==c.length&&(c=c.subarray(0,g));let _=h.create(p,c);s.push(_)}return s}p=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([g(1,o.XE),g(2,c.O),g(3,r.VZ)],p);class f{constructor(e,t,i,n){this.tokenTypeIndex=e,this.tokenModifierSet=t,this.languageId=i,this.metadata=n,this.next=null}}class _{constructor(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=_._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<_._SIZES.length?2/3*this._currentLength:0),this._elements=[],_._nullOutEntries(this._elements,this._currentLength)}static _nullOutEntries(e,t){for(let i=0;i=this._growCount){let e=this._elements;for(let t of(this._currentLengthIndex++,this._currentLength=_._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<_._SIZES.length?2/3*this._currentLength:0),this._elements=[],_._nullOutEntries(this._elements,this._currentLength),e)){let e=t;for(;e;){let t=e.next;e.next=null,this._add(e),e=t}}}this._add(new f(e,t,i,n))}_add(e){let t=this._hashFunc(e.tokenTypeIndex,e.tokenModifierSet,e.languageId);e.next=this._elements[t],this._elements[t]=e}}_._SIZES=[3,7,13,31,61,127,251,509,1021,2039,4093,8191,16381,32749,65521,131071,262139,524287,1048573,2097143]},71765:function(e,t,i){"use strict";i.d(t,{V:function(){return o},y:function(){return r}});var n=i(72065);let o=(0,n.yh)("textResourceConfigurationService"),r=(0,n.yh)("textResourcePropertiesService")},31446:function(e,t,i){"use strict";i.d(t,{a:function(){return l}});var n=i(24314),o=i(77277),r=i(97295),s=i(98401),a=i(270);class l{static computeUnicodeHighlights(e,t,i){let l,d;let u=i?i.startLineNumber:1,c=i?i.endLineNumber:e.getLineCount(),g=new h(t),p=g.getCandidateCodePoints();l="allNonBasicAscii"===p?RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):RegExp(`${function(e,t){let i=`[${r.ec(e.map(e=>String.fromCodePoint(e)).join(""))}]`;return i}(Array.from(p))}`,"g");let m=new o.sz(null,l),f=[],_=!1,v=0,C=0,b=0;t:for(let t=u;t<=c;t++){let i=e.getLineContent(t),o=i.length;m.reset(0);do if(d=m.next(i)){let e=d.index,l=d.index+d[0].length;if(e>0){let t=i.charCodeAt(e-1);r.ZG(t)&&e--}if(l+1=1e3){_=!0;break t}f.push(new n.e(t,e+1,t,l+1))}}while(d)}return{ranges:f,hasMore:_,ambiguousCharacterCount:v,invisibleCharacterCount:C,nonBasicAsciiCharacterCount:b}}static computeUnicodeHighlightReason(e,t){let i=new h(t),n=i.shouldHighlightNonBasicASCII(e,null);switch(n){case 0:return null;case 2:return{kind:1};case 3:{let n=e.codePointAt(0),o=i.ambiguousCharacters.getPrimaryConfusable(n),s=r.ZK.getLocales().filter(e=>!r.ZK.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(n));return{kind:0,confusableWith:String.fromCodePoint(o),notAmbiguousInLocales:s}}case 1:return{kind:2}}}}class h{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=r.ZK.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let t of r.vU.codePoints)d(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(let t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(let t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){let i=e.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let n=!1,o=!1;if(t)for(let e of t){let t=e.codePointAt(0),i=r.$i(e);n=n||i,i||this.ambiguousCharacters.isAmbiguous(t)||r.vU.isInvisibleCharacter(t)||(o=!0)}return!n&&o?0:this.options.invisibleCharacters&&!d(e)&&r.vU.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}}function d(e){return" "===e||"\n"===e||" "===e}},70902:function(e,t,i){"use strict";var n,o,r,s,a,l,h,d,u,c,g,p,m,f,_,v,C,b,w,y,S,L,k,N,D,x,I,E,T,M,A,R,O,P,F,B,V,W,H,z,K,U,$,j,q,G,Q,Z,Y,J,X,ee,et,ei,en,eo,er,es,ea,el,eh,ed,eu,ec,eg,ep,em,ef,e_,ev,eC,eb,ew,ey,eS,eL;i.d(t,{E$:function(){return N},F5:function(){return L},Ij:function(){return l},In:function(){return F},Lu:function(){return I},MG:function(){return k},MY:function(){return c},OI:function(){return V},RM:function(){return v},VD:function(){return w},Vi:function(){return d},WW:function(){return R},ZL:function(){return y},_x:function(){return u},a$:function(){return A},a7:function(){return r},ao:function(){return n},bw:function(){return b},cR:function(){return O},cm:function(){return s},d2:function(){return B},eB:function(){return S},g4:function(){return T},g_:function(){return M},gl:function(){return C},gm:function(){return m},jl:function(){return f},np:function(){return o},py:function(){return x},r3:function(){return h},r4:function(){return P},rf:function(){return g},sh:function(){return D},up:function(){return W},vQ:function(){return E},wT:function(){return p},wU:function(){return _},we:function(){return a}}),(H=n||(n={}))[H.Unknown=0]="Unknown",H[H.Disabled=1]="Disabled",H[H.Enabled=2]="Enabled",(z=o||(o={}))[z.Invoke=1]="Invoke",z[z.Auto=2]="Auto",(K=r||(r={}))[K.KeepWhitespace=1]="KeepWhitespace",K[K.InsertAsSnippet=4]="InsertAsSnippet",(U=s||(s={}))[U.Method=0]="Method",U[U.Function=1]="Function",U[U.Constructor=2]="Constructor",U[U.Field=3]="Field",U[U.Variable=4]="Variable",U[U.Class=5]="Class",U[U.Struct=6]="Struct",U[U.Interface=7]="Interface",U[U.Module=8]="Module",U[U.Property=9]="Property",U[U.Event=10]="Event",U[U.Operator=11]="Operator",U[U.Unit=12]="Unit",U[U.Value=13]="Value",U[U.Constant=14]="Constant",U[U.Enum=15]="Enum",U[U.EnumMember=16]="EnumMember",U[U.Keyword=17]="Keyword",U[U.Text=18]="Text",U[U.Color=19]="Color",U[U.File=20]="File",U[U.Reference=21]="Reference",U[U.Customcolor=22]="Customcolor",U[U.Folder=23]="Folder",U[U.TypeParameter=24]="TypeParameter",U[U.User=25]="User",U[U.Issue=26]="Issue",U[U.Snippet=27]="Snippet",($=a||(a={}))[$.Deprecated=1]="Deprecated",(j=l||(l={}))[j.Invoke=0]="Invoke",j[j.TriggerCharacter=1]="TriggerCharacter",j[j.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(q=h||(h={}))[q.EXACT=0]="EXACT",q[q.ABOVE=1]="ABOVE",q[q.BELOW=2]="BELOW",(G=d||(d={}))[G.NotSet=0]="NotSet",G[G.ContentFlush=1]="ContentFlush",G[G.RecoverFromMarkers=2]="RecoverFromMarkers",G[G.Explicit=3]="Explicit",G[G.Paste=4]="Paste",G[G.Undo=5]="Undo",G[G.Redo=6]="Redo",(Q=u||(u={}))[Q.LF=1]="LF",Q[Q.CRLF=2]="CRLF",(Z=c||(c={}))[Z.Text=0]="Text",Z[Z.Read=1]="Read",Z[Z.Write=2]="Write",(Y=g||(g={}))[Y.None=0]="None",Y[Y.Keep=1]="Keep",Y[Y.Brackets=2]="Brackets",Y[Y.Advanced=3]="Advanced",Y[Y.Full=4]="Full",(J=p||(p={}))[J.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",J[J.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",J[J.accessibilitySupport=2]="accessibilitySupport",J[J.accessibilityPageSize=3]="accessibilityPageSize",J[J.ariaLabel=4]="ariaLabel",J[J.autoClosingBrackets=5]="autoClosingBrackets",J[J.autoClosingDelete=6]="autoClosingDelete",J[J.autoClosingOvertype=7]="autoClosingOvertype",J[J.autoClosingQuotes=8]="autoClosingQuotes",J[J.autoIndent=9]="autoIndent",J[J.automaticLayout=10]="automaticLayout",J[J.autoSurround=11]="autoSurround",J[J.bracketPairColorization=12]="bracketPairColorization",J[J.guides=13]="guides",J[J.codeLens=14]="codeLens",J[J.codeLensFontFamily=15]="codeLensFontFamily",J[J.codeLensFontSize=16]="codeLensFontSize",J[J.colorDecorators=17]="colorDecorators",J[J.columnSelection=18]="columnSelection",J[J.comments=19]="comments",J[J.contextmenu=20]="contextmenu",J[J.copyWithSyntaxHighlighting=21]="copyWithSyntaxHighlighting",J[J.cursorBlinking=22]="cursorBlinking",J[J.cursorSmoothCaretAnimation=23]="cursorSmoothCaretAnimation",J[J.cursorStyle=24]="cursorStyle",J[J.cursorSurroundingLines=25]="cursorSurroundingLines",J[J.cursorSurroundingLinesStyle=26]="cursorSurroundingLinesStyle",J[J.cursorWidth=27]="cursorWidth",J[J.disableLayerHinting=28]="disableLayerHinting",J[J.disableMonospaceOptimizations=29]="disableMonospaceOptimizations",J[J.domReadOnly=30]="domReadOnly",J[J.dragAndDrop=31]="dragAndDrop",J[J.dropIntoEditor=32]="dropIntoEditor",J[J.emptySelectionClipboard=33]="emptySelectionClipboard",J[J.experimental=34]="experimental",J[J.extraEditorClassName=35]="extraEditorClassName",J[J.fastScrollSensitivity=36]="fastScrollSensitivity",J[J.find=37]="find",J[J.fixedOverflowWidgets=38]="fixedOverflowWidgets",J[J.folding=39]="folding",J[J.foldingStrategy=40]="foldingStrategy",J[J.foldingHighlight=41]="foldingHighlight",J[J.foldingImportsByDefault=42]="foldingImportsByDefault",J[J.foldingMaximumRegions=43]="foldingMaximumRegions",J[J.unfoldOnClickAfterEndOfLine=44]="unfoldOnClickAfterEndOfLine",J[J.fontFamily=45]="fontFamily",J[J.fontInfo=46]="fontInfo",J[J.fontLigatures=47]="fontLigatures",J[J.fontSize=48]="fontSize",J[J.fontWeight=49]="fontWeight",J[J.formatOnPaste=50]="formatOnPaste",J[J.formatOnType=51]="formatOnType",J[J.glyphMargin=52]="glyphMargin",J[J.gotoLocation=53]="gotoLocation",J[J.hideCursorInOverviewRuler=54]="hideCursorInOverviewRuler",J[J.hover=55]="hover",J[J.inDiffEditor=56]="inDiffEditor",J[J.inlineSuggest=57]="inlineSuggest",J[J.letterSpacing=58]="letterSpacing",J[J.lightbulb=59]="lightbulb",J[J.lineDecorationsWidth=60]="lineDecorationsWidth",J[J.lineHeight=61]="lineHeight",J[J.lineNumbers=62]="lineNumbers",J[J.lineNumbersMinChars=63]="lineNumbersMinChars",J[J.linkedEditing=64]="linkedEditing",J[J.links=65]="links",J[J.matchBrackets=66]="matchBrackets",J[J.minimap=67]="minimap",J[J.mouseStyle=68]="mouseStyle",J[J.mouseWheelScrollSensitivity=69]="mouseWheelScrollSensitivity",J[J.mouseWheelZoom=70]="mouseWheelZoom",J[J.multiCursorMergeOverlapping=71]="multiCursorMergeOverlapping",J[J.multiCursorModifier=72]="multiCursorModifier",J[J.multiCursorPaste=73]="multiCursorPaste",J[J.occurrencesHighlight=74]="occurrencesHighlight",J[J.overviewRulerBorder=75]="overviewRulerBorder",J[J.overviewRulerLanes=76]="overviewRulerLanes",J[J.padding=77]="padding",J[J.parameterHints=78]="parameterHints",J[J.peekWidgetDefaultFocus=79]="peekWidgetDefaultFocus",J[J.definitionLinkOpensInPeek=80]="definitionLinkOpensInPeek",J[J.quickSuggestions=81]="quickSuggestions",J[J.quickSuggestionsDelay=82]="quickSuggestionsDelay",J[J.readOnly=83]="readOnly",J[J.renameOnType=84]="renameOnType",J[J.renderControlCharacters=85]="renderControlCharacters",J[J.renderFinalNewline=86]="renderFinalNewline",J[J.renderLineHighlight=87]="renderLineHighlight",J[J.renderLineHighlightOnlyWhenFocus=88]="renderLineHighlightOnlyWhenFocus",J[J.renderValidationDecorations=89]="renderValidationDecorations",J[J.renderWhitespace=90]="renderWhitespace",J[J.revealHorizontalRightPadding=91]="revealHorizontalRightPadding",J[J.roundedSelection=92]="roundedSelection",J[J.rulers=93]="rulers",J[J.scrollbar=94]="scrollbar",J[J.scrollBeyondLastColumn=95]="scrollBeyondLastColumn",J[J.scrollBeyondLastLine=96]="scrollBeyondLastLine",J[J.scrollPredominantAxis=97]="scrollPredominantAxis",J[J.selectionClipboard=98]="selectionClipboard",J[J.selectionHighlight=99]="selectionHighlight",J[J.selectOnLineNumbers=100]="selectOnLineNumbers",J[J.showFoldingControls=101]="showFoldingControls",J[J.showUnused=102]="showUnused",J[J.snippetSuggestions=103]="snippetSuggestions",J[J.smartSelect=104]="smartSelect",J[J.smoothScrolling=105]="smoothScrolling",J[J.stickyTabStops=106]="stickyTabStops",J[J.stopRenderingLineAfter=107]="stopRenderingLineAfter",J[J.suggest=108]="suggest",J[J.suggestFontSize=109]="suggestFontSize",J[J.suggestLineHeight=110]="suggestLineHeight",J[J.suggestOnTriggerCharacters=111]="suggestOnTriggerCharacters",J[J.suggestSelection=112]="suggestSelection",J[J.tabCompletion=113]="tabCompletion",J[J.tabIndex=114]="tabIndex",J[J.unicodeHighlighting=115]="unicodeHighlighting",J[J.unusualLineTerminators=116]="unusualLineTerminators",J[J.useShadowDOM=117]="useShadowDOM",J[J.useTabStops=118]="useTabStops",J[J.wordSeparators=119]="wordSeparators",J[J.wordWrap=120]="wordWrap",J[J.wordWrapBreakAfterCharacters=121]="wordWrapBreakAfterCharacters",J[J.wordWrapBreakBeforeCharacters=122]="wordWrapBreakBeforeCharacters",J[J.wordWrapColumn=123]="wordWrapColumn",J[J.wordWrapOverride1=124]="wordWrapOverride1",J[J.wordWrapOverride2=125]="wordWrapOverride2",J[J.wrappingIndent=126]="wrappingIndent",J[J.wrappingStrategy=127]="wrappingStrategy",J[J.showDeprecated=128]="showDeprecated",J[J.inlayHints=129]="inlayHints",J[J.editorClassName=130]="editorClassName",J[J.pixelRatio=131]="pixelRatio",J[J.tabFocusMode=132]="tabFocusMode",J[J.layoutInfo=133]="layoutInfo",J[J.wrappingInfo=134]="wrappingInfo",(X=m||(m={}))[X.TextDefined=0]="TextDefined",X[X.LF=1]="LF",X[X.CRLF=2]="CRLF",(ee=f||(f={}))[ee.LF=0]="LF",ee[ee.CRLF=1]="CRLF",(et=_||(_={}))[et.None=0]="None",et[et.Indent=1]="Indent",et[et.IndentOutdent=2]="IndentOutdent",et[et.Outdent=3]="Outdent",(ei=v||(v={}))[ei.Both=0]="Both",ei[ei.Right=1]="Right",ei[ei.Left=2]="Left",ei[ei.None=3]="None",(en=C||(C={}))[en.Type=1]="Type",en[en.Parameter=2]="Parameter",(eo=b||(b={}))[eo.Automatic=0]="Automatic",eo[eo.Explicit=1]="Explicit",(er=w||(w={}))[er.DependsOnKbLayout=-1]="DependsOnKbLayout",er[er.Unknown=0]="Unknown",er[er.Backspace=1]="Backspace",er[er.Tab=2]="Tab",er[er.Enter=3]="Enter",er[er.Shift=4]="Shift",er[er.Ctrl=5]="Ctrl",er[er.Alt=6]="Alt",er[er.PauseBreak=7]="PauseBreak",er[er.CapsLock=8]="CapsLock",er[er.Escape=9]="Escape",er[er.Space=10]="Space",er[er.PageUp=11]="PageUp",er[er.PageDown=12]="PageDown",er[er.End=13]="End",er[er.Home=14]="Home",er[er.LeftArrow=15]="LeftArrow",er[er.UpArrow=16]="UpArrow",er[er.RightArrow=17]="RightArrow",er[er.DownArrow=18]="DownArrow",er[er.Insert=19]="Insert",er[er.Delete=20]="Delete",er[er.Digit0=21]="Digit0",er[er.Digit1=22]="Digit1",er[er.Digit2=23]="Digit2",er[er.Digit3=24]="Digit3",er[er.Digit4=25]="Digit4",er[er.Digit5=26]="Digit5",er[er.Digit6=27]="Digit6",er[er.Digit7=28]="Digit7",er[er.Digit8=29]="Digit8",er[er.Digit9=30]="Digit9",er[er.KeyA=31]="KeyA",er[er.KeyB=32]="KeyB",er[er.KeyC=33]="KeyC",er[er.KeyD=34]="KeyD",er[er.KeyE=35]="KeyE",er[er.KeyF=36]="KeyF",er[er.KeyG=37]="KeyG",er[er.KeyH=38]="KeyH",er[er.KeyI=39]="KeyI",er[er.KeyJ=40]="KeyJ",er[er.KeyK=41]="KeyK",er[er.KeyL=42]="KeyL",er[er.KeyM=43]="KeyM",er[er.KeyN=44]="KeyN",er[er.KeyO=45]="KeyO",er[er.KeyP=46]="KeyP",er[er.KeyQ=47]="KeyQ",er[er.KeyR=48]="KeyR",er[er.KeyS=49]="KeyS",er[er.KeyT=50]="KeyT",er[er.KeyU=51]="KeyU",er[er.KeyV=52]="KeyV",er[er.KeyW=53]="KeyW",er[er.KeyX=54]="KeyX",er[er.KeyY=55]="KeyY",er[er.KeyZ=56]="KeyZ",er[er.Meta=57]="Meta",er[er.ContextMenu=58]="ContextMenu",er[er.F1=59]="F1",er[er.F2=60]="F2",er[er.F3=61]="F3",er[er.F4=62]="F4",er[er.F5=63]="F5",er[er.F6=64]="F6",er[er.F7=65]="F7",er[er.F8=66]="F8",er[er.F9=67]="F9",er[er.F10=68]="F10",er[er.F11=69]="F11",er[er.F12=70]="F12",er[er.F13=71]="F13",er[er.F14=72]="F14",er[er.F15=73]="F15",er[er.F16=74]="F16",er[er.F17=75]="F17",er[er.F18=76]="F18",er[er.F19=77]="F19",er[er.NumLock=78]="NumLock",er[er.ScrollLock=79]="ScrollLock",er[er.Semicolon=80]="Semicolon",er[er.Equal=81]="Equal",er[er.Comma=82]="Comma",er[er.Minus=83]="Minus",er[er.Period=84]="Period",er[er.Slash=85]="Slash",er[er.Backquote=86]="Backquote",er[er.BracketLeft=87]="BracketLeft",er[er.Backslash=88]="Backslash",er[er.BracketRight=89]="BracketRight",er[er.Quote=90]="Quote",er[er.OEM_8=91]="OEM_8",er[er.IntlBackslash=92]="IntlBackslash",er[er.Numpad0=93]="Numpad0",er[er.Numpad1=94]="Numpad1",er[er.Numpad2=95]="Numpad2",er[er.Numpad3=96]="Numpad3",er[er.Numpad4=97]="Numpad4",er[er.Numpad5=98]="Numpad5",er[er.Numpad6=99]="Numpad6",er[er.Numpad7=100]="Numpad7",er[er.Numpad8=101]="Numpad8",er[er.Numpad9=102]="Numpad9",er[er.NumpadMultiply=103]="NumpadMultiply",er[er.NumpadAdd=104]="NumpadAdd",er[er.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",er[er.NumpadSubtract=106]="NumpadSubtract",er[er.NumpadDecimal=107]="NumpadDecimal",er[er.NumpadDivide=108]="NumpadDivide",er[er.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",er[er.ABNT_C1=110]="ABNT_C1",er[er.ABNT_C2=111]="ABNT_C2",er[er.AudioVolumeMute=112]="AudioVolumeMute",er[er.AudioVolumeUp=113]="AudioVolumeUp",er[er.AudioVolumeDown=114]="AudioVolumeDown",er[er.BrowserSearch=115]="BrowserSearch",er[er.BrowserHome=116]="BrowserHome",er[er.BrowserBack=117]="BrowserBack",er[er.BrowserForward=118]="BrowserForward",er[er.MediaTrackNext=119]="MediaTrackNext",er[er.MediaTrackPrevious=120]="MediaTrackPrevious",er[er.MediaStop=121]="MediaStop",er[er.MediaPlayPause=122]="MediaPlayPause",er[er.LaunchMediaPlayer=123]="LaunchMediaPlayer",er[er.LaunchMail=124]="LaunchMail",er[er.LaunchApp2=125]="LaunchApp2",er[er.Clear=126]="Clear",er[er.MAX_VALUE=127]="MAX_VALUE",(es=y||(y={}))[es.Hint=1]="Hint",es[es.Info=2]="Info",es[es.Warning=4]="Warning",es[es.Error=8]="Error",(ea=S||(S={}))[ea.Unnecessary=1]="Unnecessary",ea[ea.Deprecated=2]="Deprecated",(el=L||(L={}))[el.Inline=1]="Inline",el[el.Gutter=2]="Gutter",(eh=k||(k={}))[eh.UNKNOWN=0]="UNKNOWN",eh[eh.TEXTAREA=1]="TEXTAREA",eh[eh.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",eh[eh.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",eh[eh.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",eh[eh.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",eh[eh.CONTENT_TEXT=6]="CONTENT_TEXT",eh[eh.CONTENT_EMPTY=7]="CONTENT_EMPTY",eh[eh.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",eh[eh.CONTENT_WIDGET=9]="CONTENT_WIDGET",eh[eh.OVERVIEW_RULER=10]="OVERVIEW_RULER",eh[eh.SCROLLBAR=11]="SCROLLBAR",eh[eh.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",eh[eh.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",(ed=N||(N={}))[ed.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",ed[ed.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",ed[ed.TOP_CENTER=2]="TOP_CENTER",(eu=D||(D={}))[eu.Left=1]="Left",eu[eu.Center=2]="Center",eu[eu.Right=4]="Right",eu[eu.Full=7]="Full",(ec=x||(x={}))[ec.Left=0]="Left",ec[ec.Right=1]="Right",ec[ec.None=2]="None",ec[ec.LeftOfInjectedText=3]="LeftOfInjectedText",ec[ec.RightOfInjectedText=4]="RightOfInjectedText",(eg=I||(I={}))[eg.Off=0]="Off",eg[eg.On=1]="On",eg[eg.Relative=2]="Relative",eg[eg.Interval=3]="Interval",eg[eg.Custom=4]="Custom",(ep=E||(E={}))[ep.None=0]="None",ep[ep.Text=1]="Text",ep[ep.Blocks=2]="Blocks",(em=T||(T={}))[em.Smooth=0]="Smooth",em[em.Immediate=1]="Immediate",(ef=M||(M={}))[ef.Auto=1]="Auto",ef[ef.Hidden=2]="Hidden",ef[ef.Visible=3]="Visible",(e_=A||(A={}))[e_.LTR=0]="LTR",e_[e_.RTL=1]="RTL",(ev=R||(R={}))[ev.Invoke=1]="Invoke",ev[ev.TriggerCharacter=2]="TriggerCharacter",ev[ev.ContentChange=3]="ContentChange",(eC=O||(O={}))[eC.File=0]="File",eC[eC.Module=1]="Module",eC[eC.Namespace=2]="Namespace",eC[eC.Package=3]="Package",eC[eC.Class=4]="Class",eC[eC.Method=5]="Method",eC[eC.Property=6]="Property",eC[eC.Field=7]="Field",eC[eC.Constructor=8]="Constructor",eC[eC.Enum=9]="Enum",eC[eC.Interface=10]="Interface",eC[eC.Function=11]="Function",eC[eC.Variable=12]="Variable",eC[eC.Constant=13]="Constant",eC[eC.String=14]="String",eC[eC.Number=15]="Number",eC[eC.Boolean=16]="Boolean",eC[eC.Array=17]="Array",eC[eC.Object=18]="Object",eC[eC.Key=19]="Key",eC[eC.Null=20]="Null",eC[eC.EnumMember=21]="EnumMember",eC[eC.Struct=22]="Struct",eC[eC.Event=23]="Event",eC[eC.Operator=24]="Operator",eC[eC.TypeParameter=25]="TypeParameter",(eb=P||(P={}))[eb.Deprecated=1]="Deprecated",(ew=F||(F={}))[ew.Hidden=0]="Hidden",ew[ew.Blink=1]="Blink",ew[ew.Smooth=2]="Smooth",ew[ew.Phase=3]="Phase",ew[ew.Expand=4]="Expand",ew[ew.Solid=5]="Solid",(ey=B||(B={}))[ey.Line=1]="Line",ey[ey.Block=2]="Block",ey[ey.Underline=3]="Underline",ey[ey.LineThin=4]="LineThin",ey[ey.BlockOutline=5]="BlockOutline",ey[ey.UnderlineThin=6]="UnderlineThin",(eS=V||(V={}))[eS.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",eS[eS.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",eS[eS.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",eS[eS.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(eL=W||(W={}))[eL.None=0]="None",eL[eL.Same=1]="Same",eL[eL.Indent=2]="Indent",eL[eL.DeepIndent=3]="DeepIndent"},20913:function(e,t,i){"use strict";i.d(t,{B8:function(){return g},Oe:function(){return a},UX:function(){return u},aq:function(){return c},iN:function(){return m},ld:function(){return d},qq:function(){return h},ug:function(){return l},xi:function(){return p}});var n,o,r,s,a,l,h,d,u,c,g,p,m,f=i(63580);(n=a||(a={})).noSelection=f.NC("noSelection","No selection"),n.singleSelectionRange=f.NC("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),n.singleSelection=f.NC("singleSelection","Line {0}, Column {1}"),n.multiSelectionRange=f.NC("multiSelectionRange","{0} selections ({1} characters selected)"),n.multiSelection=f.NC("multiSelection","{0} selections"),n.emergencyConfOn=f.NC("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),n.openingDocs=f.NC("openingDocs","Now opening the Editor Accessibility documentation page."),n.readonlyDiffEditor=f.NC("readonlyDiffEditor"," in a read-only pane of a diff editor."),n.editableDiffEditor=f.NC("editableDiffEditor"," in a pane of a diff editor."),n.readonlyEditor=f.NC("readonlyEditor"," in a read-only code editor"),n.editableEditor=f.NC("editableEditor"," in a code editor"),n.changeConfigToOnMac=f.NC("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),n.changeConfigToOnWinLinux=f.NC("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),n.auto_on=f.NC("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),n.auto_off=f.NC("auto_off","The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time."),n.tabFocusModeOnMsg=f.NC("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),n.tabFocusModeOnMsgNoKb=f.NC("tabFocusModeOnMsgNoKb","Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding."),n.tabFocusModeOffMsg=f.NC("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),n.tabFocusModeOffMsgNoKb=f.NC("tabFocusModeOffMsgNoKb","Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding."),n.openDocMac=f.NC("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),n.openDocWinLinux=f.NC("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),n.outroMsg=f.NC("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),n.showAccessibilityHelpAction=f.NC("showAccessibilityHelpAction","Show Accessibility Help"),(l||(l={})).inspectTokensAction=f.NC("inspectTokens","Developer: Inspect Tokens"),(h||(h={})).gotoLineActionLabel=f.NC("gotoLineActionLabel","Go to Line/Column..."),(d||(d={})).helpQuickAccessActionLabel=f.NC("helpQuickAccess","Show all Quick Access Providers"),(o=u||(u={})).quickCommandActionLabel=f.NC("quickCommandActionLabel","Command Palette"),o.quickCommandHelp=f.NC("quickCommandActionHelp","Show And Run Commands"),(r=c||(c={})).quickOutlineActionLabel=f.NC("quickOutlineActionLabel","Go to Symbol..."),r.quickOutlineByCategoryActionLabel=f.NC("quickOutlineByCategoryActionLabel","Go to Symbol by Category..."),(s=g||(g={})).editorViewAccessibleLabel=f.NC("editorViewAccessibleLabel","Editor content"),s.accessibilityHelpMessage=f.NC("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options."),(p||(p={})).toggleHighContrast=f.NC("toggleHighContrast","Toggle High Contrast Theme"),(m||(m={})).bulkEditServiceSummary=f.NC("bulkEditServiceSummary","Made {0} edits in {1} files")},14706:function(e,t,i){"use strict";i.d(t,{CZ:function(){return l},D8:function(){return d},Jx:function(){return n},Tx:function(){return a},dQ:function(){return h},fV:function(){return u},gk:function(){return o},lN:function(){return s},rU:function(){return r}});class n{constructor(){this.changeType=1}}class o{constructor(e,t,i,n,o){this.ownerId=e,this.lineNumber=t,this.column=i,this.options=n,this.order=o}static applyInjectedText(e,t){if(!t||0===t.length)return e;let i="",n=0;for(let o of t)i+=e.substring(n,o.column-1),n=o.column-1,i+=o.options.content;return i+e.substring(n)}static fromDecorations(e){let t=[];for(let i of e)i.options.before&&i.options.before.content.length>0&&t.push(new o(i.ownerId,i.range.startLineNumber,i.range.startColumn,i.options.before,0)),i.options.after&&i.options.after.content.length>0&&t.push(new o(i.ownerId,i.range.endLineNumber,i.range.endColumn,i.options.after,1));return t.sort((e,t)=>e.lineNumber===t.lineNumber?e.column===t.column?e.order-t.order:e.column-t.column:e.lineNumber-t.lineNumber),t}}class r{constructor(e,t,i){this.changeType=2,this.lineNumber=e,this.detail=t,this.injectedText=i}}class s{constructor(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t}}class a{constructor(e,t,i,n){this.changeType=4,this.injectedTexts=n,this.fromLineNumber=e,this.toLineNumber=t,this.detail=i}}class l{constructor(){this.changeType=5}}class h{constructor(e,t,i,n){this.changes=e,this.versionId=t,this.isUndoing=i,this.isRedoing=n,this.resultingSelection=null}containsEvent(e){for(let t=0,i=this.changes.length;t>>1,this._text=t,this._languageIdCodec=i}static createEmpty(e,t){let i=o.defaultTokenMetadata,n=new Uint32Array(2);return n[0]=e.length,n[1]=i,new o(n,e,t)}equals(e){return e instanceof o&&this.slicedEquals(e,0,this._tokensCount)}slicedEquals(e,t,i){if(this._text!==e._text||this._tokensCount!==e._tokensCount)return!1;let n=t<<1,o=n+(i<<1);for(let t=n;t0?this._tokens[e-1<<1]:0}getMetadata(e){let t=this._tokens[(e<<1)+1];return t}getLanguageId(e){let t=this._tokens[(e<<1)+1],i=n.N.getLanguageId(t);return this._languageIdCodec.decodeLanguageId(i)}getStandardTokenType(e){let t=this._tokens[(e<<1)+1];return n.N.getTokenType(t)}getForeground(e){let t=this._tokens[(e<<1)+1];return n.N.getForeground(t)}getClassName(e){let t=this._tokens[(e<<1)+1];return n.N.getClassNameFromMetadata(t)}getInlineStyle(e,t){let i=this._tokens[(e<<1)+1];return n.N.getInlineStyleFromMetadata(i,t)}getPresentation(e){let t=this._tokens[(e<<1)+1];return n.N.getPresentationFromMetadata(t)}getEndOffset(e){return this._tokens[e<<1]}findTokenIndexAtOffset(e){return o.findIndexInTokensArray(this._tokens,e)}inflate(){return this}sliceAndInflate(e,t,i){return new r(this,e,t,i)}static convertToEndOffset(e,t){let i=e.length>>>1,n=i-1;for(let t=0;t>>1)-1;for(;it&&(n=o)}return i}withInserted(e){if(0===e.length)return this;let t=0,i=0,n="",r=[],s=0;for(;;){let o=ts){n+=this._text.substring(s,a.offset);let e=this._tokens[(t<<1)+1];r.push(n.length,e),s=a.offset}n+=a.text,r.push(n.length,a.tokenMetadata),i++}else break}return new o(new Uint32Array(r),n,this._languageIdCodec)}}o.defaultTokenMetadata=33587200;class r{constructor(e,t,i,n){this._source=e,this._startOffset=t,this._endOffset=i,this._deltaOffset=n,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this._tokensCount=0;for(let t=this._firstTokenIndex,n=e.getCount();t=i)break;this._tokensCount++}}getMetadata(e){return this._source.getMetadata(this._firstTokenIndex+e)}getLanguageId(e){return this._source.getLanguageId(this._firstTokenIndex+e)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(e){return e instanceof r&&this._startOffset===e._startOffset&&this._endOffset===e._endOffset&&this._deltaOffset===e._deltaOffset&&this._source.slicedEquals(e._source,this._firstTokenIndex,this._tokensCount)}getCount(){return this._tokensCount}getForeground(e){return this._source.getForeground(this._firstTokenIndex+e)}getEndOffset(e){let t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset}getClassName(e){return this._source.getClassName(this._firstTokenIndex+e)}getInlineStyle(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)}getPresentation(e){return this._source.getPresentation(this._firstTokenIndex+e)}findTokenIndexAtOffset(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}},92550:function(e,t,i){"use strict";i.d(t,{Kp:function(){return o},k:function(){return a}});var n=i(97295);class o{constructor(e,t,i,n){this.startColumn=e,this.endColumn=t,this.className=i,this.type=n,this._lineDecorationBrand=void 0}static _equals(e,t){return e.startColumn===t.startColumn&&e.endColumn===t.endColumn&&e.className===t.className&&e.type===t.type}static equalsArr(e,t){let i=e.length,n=t.length;if(i!==n)return!1;for(let n=0;n=r||(a[l++]=new o(Math.max(1,t.startColumn-n+1),Math.min(s+1,t.endColumn-n+1),t.className,t.type));return a}static filter(e,t,i,n){if(0===e.length)return[];let r=[],s=0;for(let a=0,l=e.length;at||h.isEmpty()&&(0===l.type||3===l.type))continue;let d=h.startLineNumber===t?h.startColumn:i,u=h.endLineNumber===t?h.endColumn:n;r[s++]=new o(d,u,l.inlineClassName,l.type)}return r}static _typeCompare(e,t){let i=[2,0,1,3];return i[e]-i[t]}static compare(e,t){if(e.startColumn!==t.startColumn)return e.startColumn-t.startColumn;if(e.endColumn!==t.endColumn)return e.endColumn-t.endColumn;let i=o._typeCompare(e.type,t.type);return 0!==i?i:e.className!==t.className?e.className0&&this.stopOffsets[0]0&&t=e){this.stopOffsets.splice(n,0,e),this.classNames.splice(n,0,t),this.metadata.splice(n,0,i);break}this.count++}}class a{static normalize(e,t){if(0===t.length)return[];let i=[],o=new s,r=0;for(let s=0,a=t.length;s1){let t=e.charCodeAt(l-2);n.ZG(t)&&l--}if(h>1){let t=e.charCodeAt(h-2);n.ZG(t)&&h--}let c=l-1,g=h-2;r=o.consumeLowerThan(c,r,i),0===o.count&&(r=c),o.insert(g,d,u)}return o.consumeLowerThan(1073741824,r,i),i}}},72202:function(e,t,i){"use strict";i.d(t,{Nd:function(){return h},zG:function(){return a},IJ:function(){return l},d1:function(){return c},tF:function(){return p}});var n=i(97295),o=i(50072),r=i(92550);class s{constructor(e,t,i,n){this.endIndex=e,this.type=t,this.metadata=i,this.containsRTL=n,this._linePartBrand=void 0}isWhitespace(){return!!(1&this.metadata)}isPseudoAfter(){return!!(4&this.metadata)}}class a{constructor(e,t){this.startOffset=e,this.endOffset=t}equals(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset}}class l{constructor(e,t,i,n,o,s,a,l,h,d,u,c,g,p,m,f,_,v,C){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=i,this.continuesWithWrappedLine=n,this.isBasicASCII=o,this.containsRTL=s,this.fauxIndentLength=a,this.lineTokens=l,this.lineDecorations=h.sort(r.Kp.compare),this.tabSize=d,this.startVisibleColumn=u,this.spaceWidth=c,this.stopRenderingLineAfter=m,this.renderWhitespace="all"===f?4:"boundary"===f?1:"selection"===f?2:"trailing"===f?3:0,this.renderControlCharacters=_,this.fontLigatures=v,this.selectionsOnLine=C&&C.sort((e,t)=>e.startOffset>>16}static getCharIndex(e){return(65535&e)>>>0}setColumnInfo(e,t,i,n){this._data[e-1]=(t<<16|i<<0)>>>0,this._horizontalOffset[e-1]=n}getHorizontalOffset(e){return 0===this._horizontalOffset.length?0:this._horizontalOffset[e-1]}charOffsetToPartData(e){return 0===this.length?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]}getDomPosition(e){let t=this.charOffsetToPartData(e-1),i=d.getPartIndex(t),n=d.getCharIndex(t);return new h(i,n)}getColumn(e,t){let i=this.partDataToCharOffset(e.partIndex,t,e.charIndex);return i+1}partDataToCharOffset(e,t,i){if(0===this.length)return 0;let n=(e<<16|i<<0)>>>0,o=0,r=this.length-1;for(;o+1>>1,t=this._data[e];if(t===n)return e;t>n?r=e:o=e}if(o===r)return o;let s=this._data[o],a=this._data[r];if(s===n)return o;if(a===n)return r;let l=d.getPartIndex(s),h=d.getCharIndex(s),u=d.getPartIndex(a);return i-h<=(l!==u?t:d.getCharIndex(a))-i?o:r}}class u{constructor(e,t,i){this._renderLineOutputBrand=void 0,this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=i}}function c(e,t){if(0===e.lineContent.length){if(e.lineDecorations.length>0){t.appendASCIIString("");let i=0,n=0,o=0;for(let r of e.lineDecorations)(1===r.type||2===r.type)&&(t.appendASCIIString(''),1===r.type&&(o|=1,i++),2===r.type&&(o|=2,n++));t.appendASCIIString("");let r=new d(1,i+n);return r.setColumnInfo(1,i,0,0),new u(r,!1,o)}return t.appendASCIIString(""),new u(new d(0,0),!1,0)}return function(e,t){let i=e.fontIsMonospace,o=e.canUseHalfwidthRightwardsArrow,r=e.containsForeignElements,s=e.lineContent,a=e.len,l=e.isOverflowing,h=e.parts,c=e.fauxIndentLength,g=e.tabSize,p=e.startVisibleColumn,m=e.containsRTL,_=e.spaceWidth,v=e.renderSpaceCharCode,C=e.renderWhitespace,b=e.renderControlCharacters,w=new d(a+1,h.length),y=!1,S=0,L=p,k=0,N=0,D=0;m?t.appendASCIIString(''):t.appendASCIIString("");for(let e=0,l=h.length;e=c&&(t+=o)}}for(x&&(t.appendASCIIString(' style="width:'),t.appendASCIIString(String(_*i)),t.appendASCIIString('px"')),t.appendASCII(62);S1?t.write1(8594):t.write1(65515);for(let e=2;e<=n;e++)t.write1(160)}else i=2,n=1,t.write1(v),t.write1(8204);k+=i,N+=n,S>=c&&(L+=n)}}else for(t.appendASCII(62);S=c&&(L+=r)}I?D++:D=0,S>=a&&!y&&l.isPseudoAfter()&&(y=!0,w.setColumnInfo(S+1,e,k,N)),t.appendASCIIString("")}return y||w.setColumnInfo(a+1,h.length-1,k,N),l&&t.appendASCIIString(""),t.appendASCIIString(""),new u(w,m,r)}(function(e){let t,i;let o=e.lineContent;-1!==e.stopRenderingLineAfter&&e.stopRenderingLineAfter0&&(a[l++]=new s(o,"",0,!1));let h=o;for(let d=0,u=i.getCount();d=r){let i=!!t&&n.Ut(e.substring(h,r));a[l++]=new s(r,c,0,i);break}let g=!!t&&n.Ut(e.substring(h,u));a[l++]=new s(u,c,0,g),h=u}return a}(o,e.containsRTL,e.lineTokens,e.fauxIndentLength,i);e.renderControlCharacters&&!e.isBasicASCII&&(a=function(e,t){let i=[],n=new s(0,"",0,!1),o=0;for(let r of t){let t=r.endIndex;for(;on.endIndex&&(n=new s(o,r.type,r.metadata,r.containsRTL),i.push(n)),n=new s(o+1,"mtkcontrol",r.metadata,!1),i.push(n))}o>n.endIndex&&(n=new s(t,r.type,r.metadata,r.containsRTL),i.push(n))}return i}(o,a)),(4===e.renderWhitespace||1===e.renderWhitespace||2===e.renderWhitespace&&e.selectionsOnLine||3===e.renderWhitespace)&&(a=function(e,t,i,o){let r;let a=e.continuesWithWrappedLine,l=e.fauxIndentLength,h=e.tabSize,d=e.startVisibleColumn,u=e.useMonospaceOptimizations,c=e.selectionsOnLine,g=1===e.renderWhitespace,p=3===e.renderWhitespace,m=e.renderSpaceWidth!==e.spaceWidth,f=[],_=0,v=0,C=o[0].type,b=o[v].containsRTL,w=o[v].endIndex,y=o.length,S=!1,L=n.LC(t);-1===L?(S=!0,L=i,r=i):r=n.ow(t);let k=!1,N=0,D=c&&c[N],x=d%h;for(let e=l;e=D.endOffset&&(N++,D=c&&c[N]),er)a=!0;else if(9===d)a=!0;else if(32===d){if(g){if(k)a=!0;else{let n=e+1e),a&&p&&(a=S||e>r),a&&b&&e>=L&&e<=r&&(a=!1),k){if(!a||!u&&x>=h){if(m){let t=_>0?f[_-1].endIndex:l;for(let i=t+1;i<=e;i++)f[_++]=new s(i,"mtkw",1,!1)}else f[_++]=new s(e,"mtkw",1,!1);x%=h}}else(e===w||a&&e>l)&&(f[_++]=new s(e,C,0,b),x%=h);for(9===d?x=h:n.K7(d)?x+=2:x++,k=a;e===w;)if(++v0?t.charCodeAt(i-1):0,n=i>1?t.charCodeAt(i-2):0;32===e&&32!==n&&9!==n||(I=!0)}else I=!0}if(I){if(m){let e=_>0?f[_-1].endIndex:l;for(let t=e+1;t<=i;t++)f[_++]=new s(t,"mtkw",1,!1)}else f[_++]=new s(i,"mtkw",1,!1)}else f[_++]=new s(i,C,0,b);return f}(e,o,i,a));let l=0;if(e.lineDecorations.length>0){for(let t=0,i=e.lineDecorations.length;tu&&(u=e.startOffset,h[d++]=new s(u,r,c,g)),e.endOffset+1<=n)u=e.endOffset+1,h[d++]=new s(u,r+" "+e.className,c|e.metadata,g),l++;else{u=n,h[d++]=new s(u,r+" "+e.className,c|e.metadata,g);break}}n>u&&(u=n,h[d++]=new s(u,r,c,g))}let c=i[i.length-1].endIndex;if(l=50&&(o[r++]=new s(d+1,t,i,h),u=d+1,d=-1);u!==l&&(o[r++]=new s(l,t,i,h))}else o[r++]=a;n=l}else for(let e=0,i=t.length;e50){let e=i.type,t=i.metadata,h=i.containsRTL,d=Math.ceil(l/50);for(let i=1;i=8234&&e<=8238||e>=8294&&e<=8297||e>=8206&&e<=8207||1564===e}},1118:function(e,t,i){"use strict";i.d(t,{$l:function(){return u},$t:function(){return h},IP:function(){return a},SQ:function(){return c},Wx:function(){return d},l_:function(){return r},ud:function(){return s},wA:function(){return l}});var n=i(97295),o=i(24314);class r{constructor(e,t,i,n){this._viewportBrand=void 0,this.top=0|e,this.left=0|t,this.width=0|i,this.height=0|n}}class s{constructor(e,t){this.tabSize=e,this.data=t}}class a{constructor(e,t,i,n,o,r,s){this._viewLineDataBrand=void 0,this.content=e,this.continuesWithWrappedLine=t,this.minColumn=i,this.maxColumn=n,this.startVisibleColumn=o,this.tokens=r,this.inlineDecorations=s}}class l{constructor(e,t,i,n,o,r,s,a,h,d){this.minColumn=e,this.maxColumn=t,this.content=i,this.continuesWithWrappedLine=n,this.isBasicASCII=l.isBasicASCII(i,r),this.containsRTL=l.containsRTL(i,this.isBasicASCII,o),this.tokens=s,this.inlineDecorations=a,this.tabSize=h,this.startVisibleColumn=d}static isBasicASCII(e,t){return!t||n.$i(e)}static containsRTL(e,t,i){return!t&&!!i&&n.Ut(e)}}class h{constructor(e,t,i){this.range=e,this.inlineClassName=t,this.type=i}}class d{constructor(e,t,i,n){this.startOffset=e,this.endOffset=t,this.inlineClassName=i,this.inlineClassNameAffectsLetterSpacing=n}toInlineDecoration(e){return new h(new o.e(e,this.startOffset+1,e,this.endOffset+1),this.inlineClassName,this.inlineClassNameAffectsLetterSpacing?3:0)}}class u{constructor(e,t){this._viewModelDecorationBrand=void 0,this.range=e,this.options=t}}class c{constructor(e,t,i){this.color=e,this.zIndex=t,this.data=i}static cmp(e,t){return e.zIndex===t.zIndex?e.colort.color?1:0:e.zIndex-t.zIndex}}},30665:function(e,t,i){"use strict";i.d(t,{EY:function(){return o},Tj:function(){return r}});class n{constructor(e,t,i){this._colorZoneBrand=void 0,this.from=0|e,this.to=0|t,this.colorId=0|i}static compare(e,t){return e.colorId===t.colorId?e.from===t.from?e.to-t.to:e.from-t.from:e.colorId-t.colorId}}class o{constructor(e,t,i,n){this._overviewRulerZoneBrand=void 0,this.startLineNumber=e,this.endLineNumber=t,this.heightInLines=i,this.color=n,this._colorZone=null}static compare(e,t){return e.color===t.color?e.startLineNumber===t.startLineNumber?e.heightInLines===t.heightInLines?e.endLineNumber-t.endLineNumber:e.heightInLines-t.heightInLines:e.startLineNumber-t.startLineNumber:e.colori&&(g=i-p);let m=l.color,f=this._color2Id[m];f||(f=++this._lastAssignedId,this._color2Id[m]=f,this._id2Color[f]=m);let _=new n(g-p,g+p,f);l.setColorZone(_),a.push(_)}return this._colorZonesInvalid=!1,a.sort(n.compare),a}}},30168:function(e,t,i){"use strict";i.d(t,{$t:function(){return h},CU:function(){return a},Fd:function(){return l},zg:function(){return d}});var n=i(50187),o=i(24314),r=i(1118),s=i(64141);class a{constructor(e,t,i,n,o){this.editorId=e,this.model=t,this.configuration=i,this._linesCollection=n,this._coordinatesConverter=o,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}_clearCachedModelDecorationsResolver(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}dispose(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}reset(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onModelDecorationsChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onLineMappingChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}_getOrCreateViewModelDecoration(e){let t=e.id,i=this._decorationsCache[t];if(!i){let s;let a=e.range,l=e.options;if(l.isWholeLine){let e=this._coordinatesConverter.convertModelPositionToViewPosition(new n.L(a.startLineNumber,1),0),t=this._coordinatesConverter.convertModelPositionToViewPosition(new n.L(a.endLineNumber,this.model.getLineMaxColumn(a.endLineNumber)),1);s=new o.e(e.lineNumber,e.column,t.lineNumber,t.column)}else s=this._coordinatesConverter.convertModelRangeToViewRange(a,1);i=new r.$l(s,l),this._decorationsCache[t]=i}return i}getDecorationsViewportData(e){let t=null!==this._cachedModelDecorationsResolver;return(t=t&&e.equalsRange(this._cachedModelDecorationsResolverViewRange))||(this._cachedModelDecorationsResolver=this._getDecorationsInRange(e),this._cachedModelDecorationsResolverViewRange=e),this._cachedModelDecorationsResolver}getInlineDecorationsOnLine(e){let t=new o.e(e,this._linesCollection.getViewLineMinColumn(e),e,this._linesCollection.getViewLineMaxColumn(e));return this._getDecorationsInRange(t).inlineDecorations[0]}_getDecorationsInRange(e){let t=this._linesCollection.getDecorationsInRange(e,this.editorId,(0,s.$J)(this.configuration.options)),i=e.startLineNumber,n=e.endLineNumber,a=[],h=0,d=[];for(let e=i;e<=n;e++)d[e-i]=[];for(let e=0,s=t.length;e1===e)}function d(e,t){return u(e,t.range,e=>2===e)}function u(e,t,i){for(let n=t.startLineNumber;n<=t.endLineNumber;n++){let o=e.tokenization.getLineTokens(n),r=n===t.startLineNumber,s=n===t.endLineNumber,a=r?o.findTokenIndexAtOffset(t.startColumn-1):0;for(;at.endColumn-1)break}let e=i(o.getStandardTokenType(a));if(!e)return!1;a++}}return!0}},90236:function(e,t,i){"use strict";var n,o=i(85152),r=i(59365),s=i(22258);i(41459);var a=i(16830),l=i(3860),h=i(29102),d=i(63580),u=i(38819),c=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let g=new u.uy("selectionAnchorSet",!1),p=class e{constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=g.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}static get(t){return t.getContribution(e.ID)}setSelectionAnchor(){if(this.editor.hasModel()){let e=this.editor.getPosition();this.editor.changeDecorations(t=>{this.decorationId&&t.removeDecoration(this.decorationId),this.decorationId=t.addDecoration(l.Y.fromPositions(e,e),{description:"selection-anchor",stickiness:1,hoverMessage:new r.W5().appendText((0,d.NC)("selectionAnchor","Selection Anchor")),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),(0,o.Z9)((0,d.NC)("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){let e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){let e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){let t=this.editor.getPosition();this.editor.setSelection(l.Y.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){let e=this.decorationId;this.editor.changeDecorations(t=>{t.removeDecoration(e),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};p.ID="editor.contrib.selectionAnchorController",p=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(n=u.i6,function(e,t){n(e,t,1)})],p);class m extends a.R6{constructor(){super({id:"editor.action.setSelectionAnchor",label:(0,d.NC)("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:h.u.editorTextFocus,primary:(0,s.gx)(2089,2080),weight:100}})}run(e,t){var i;return c(this,void 0,void 0,function*(){null===(i=p.get(t))||void 0===i||i.setSelectionAnchor()})}}class f extends a.R6{constructor(){super({id:"editor.action.goToSelectionAnchor",label:(0,d.NC)("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:g})}run(e,t){var i;return c(this,void 0,void 0,function*(){null===(i=p.get(t))||void 0===i||i.goToSelectionAnchor()})}}class _ extends a.R6{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:(0,d.NC)("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:g,kbOpts:{kbExpr:h.u.editorTextFocus,primary:(0,s.gx)(2089,2089),weight:100}})}run(e,t){var i;return c(this,void 0,void 0,function*(){null===(i=p.get(t))||void 0===i||i.selectFromAnchorToCursor()})}}class v extends a.R6{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:(0,d.NC)("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:g,kbOpts:{kbExpr:h.u.editorTextFocus,primary:9,weight:100}})}run(e,t){var i;return c(this,void 0,void 0,function*(){null===(i=p.get(t))||void 0===i||i.cancelSelectionAnchor()})}}(0,a._K)(p.ID,p),(0,a.Qr)(m),(0,a.Qr)(f),(0,a.Qr)(_),(0,a.Qr)(v)},71387:function(e,t,i){"use strict";var n=i(15393),o=i(9917);i(64287);var r=i(16830),s=i(50187),a=i(24314),l=i(3860),h=i(29102),d=i(84973),u=i(22529),c=i(51945),g=i(63580),p=i(84144),m=i(73910),f=i(97781);let _=(0,m.P6G)("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hcDark:"#A0A0A0",hcLight:"#A0A0A0"},g.NC("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class v extends r.R6{constructor(){super({id:"editor.action.jumpToBracket",label:g.NC("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:h.u.editorTextFocus,primary:3160,weight:100}})}run(e,t){var i;null===(i=w.get(t))||void 0===i||i.jumpToBracket()}}class C extends r.R6{constructor(){super({id:"editor.action.selectToBracket",label:g.NC("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,i){var n;let o=!0;i&&!1===i.selectBrackets&&(o=!1),null===(n=w.get(t))||void 0===n||n.selectToBracket(o)}}class b{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}class w extends o.JT{constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new n.pY(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(66),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(e=>{"never"!==this._matchBrackets&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(e=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(e=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(e=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(e=>{e.hasChanged(66)&&(this._matchBrackets=this._editor.getOption(66),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}static get(e){return e.getContribution(w.ID)}jumpToBracket(){if(!this._editor.hasModel())return;let e=this._editor.getModel(),t=this._editor.getSelections().map(t=>{let i=t.getStartPosition(),n=e.bracketPairs.matchBracket(i),o=null;if(n)n[0].containsPosition(i)&&!n[1].containsPosition(i)?o=n[1].getStartPosition():n[1].containsPosition(i)&&(o=n[0].getStartPosition());else{let t=e.bracketPairs.findEnclosingBrackets(i);if(t)o=t[1].getStartPosition();else{let t=e.bracketPairs.findNextBracket(i);t&&t.range&&(o=t.range.getStartPosition())}}return o?new l.Y(o.lineNumber,o.column,o.lineNumber,o.column):new l.Y(i.lineNumber,i.column,i.lineNumber,i.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;let t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{let o=n.getStartPosition(),r=t.bracketPairs.matchBracket(o);if(!r&&!(r=t.bracketPairs.findEnclosingBrackets(o))){let e=t.bracketPairs.findNextBracket(o);e&&e.range&&(r=t.bracketPairs.matchBracket(e.range.getStartPosition()))}let s=null,h=null;if(r){r.sort(a.e.compareRangesUsingStarts);let[t,i]=r;if(s=e?t.getStartPosition():t.getEndPosition(),h=e?i.getEndPosition():i.getStartPosition(),i.containsPosition(o)){let e=s;s=h,h=e}}s&&h&&i.push(new l.Y(s.lineNumber,s.column,h.lineNumber,h.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}_updateBrackets(){if("never"===this._matchBrackets)return;this._recomputeBrackets();let e=[],t=0;for(let i of this._lastBracketsData){let n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations.set(e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}let e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}let t=this._editor.getModel(),i=t.getVersionId(),n=[];this._lastVersionId===i&&(n=this._lastBracketsData);let o=[],r=0;for(let t=0,i=e.length;t1&&o.sort(s.L.compare);let a=[],l=0,h=0,d=n.length;for(let e=0,i=o.length;e{let i=e.getColor(c.TC);i&&t.addRule(`.monaco-editor .bracket-match { background-color: ${i}; }`);let n=e.getColor(c.Dl);n&&t.addRule(`.monaco-editor .bracket-match { border: 1px solid ${n}; }`)}),p.BH.appendMenuItem(p.eH.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:g.NC({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2})},24336:function(e,t,i){"use strict";var n=i(16830),o=i(29102),r=i(24314),s=i(3860);class a{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;let i=this._selection.startLineNumber,n=this._selection.startColumn,o=this._selection.endColumn;if((!this._isMovingLeft||1!==n)&&(this._isMovingLeft||o!==e.getLineMaxColumn(i))){if(this._isMovingLeft){let s=new r.e(i,n-1,i,n),a=e.getValueInRange(s);t.addEditOperation(s,null),t.addEditOperation(new r.e(i,o,i,o),a)}else{let s=new r.e(i,o,i,o+1),a=e.getValueInRange(s);t.addEditOperation(s,null),t.addEditOperation(new r.e(i,n,i,n),a)}}}computeCursorState(e,t){return this._isMovingLeft?new s.Y(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new s.Y(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}var l=i(63580);class h extends n.R6{constructor(e,t){super(t),this.left=e}run(e,t){if(!t.hasModel())return;let i=[],n=t.getSelections();for(let e of n)i.push(new a(e,this.left));t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}(0,n.Qr)(class extends h{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:l.NC("caret.moveLeft","Move Selected Text Left"),alias:"Move Selected Text Left",precondition:o.u.writable})}}),(0,n.Qr)(class extends h{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:l.NC("caret.moveRight","Move Selected Text Right"),alias:"Move Selected Text Right",precondition:o.u.writable})}})},72102:function(e,t,i){"use strict";var n=i(16830),o=i(61329),r=i(10839),s=i(24314),a=i(29102),l=i(63580);class h extends n.R6{constructor(){super({id:"editor.action.transposeLetters",label:l.NC("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:a.u.writable,kbOpts:{kbExpr:a.u.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(!t.hasModel())return;let i=t.getModel(),n=[],a=t.getSelections();for(let e of a){if(!e.isEmpty())continue;let t=e.startLineNumber,a=e.startColumn,l=i.getLineMaxColumn(t);if(1===t&&(1===a||2===a&&2===l))continue;let h=a===l?e.getPosition():r.o.rightPosition(i,e.getPosition().lineNumber,e.getPosition().column),d=r.o.leftPosition(i,h),u=r.o.leftPosition(i,d),c=i.getValueInRange(s.e.fromPositions(u,d)),g=i.getValueInRange(s.e.fromPositions(d,h)),p=s.e.fromPositions(u,h);n.push(new o.T4(p,g+c))}n.length>0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}(0,n.Qr)(h)},55833:function(e,t,i){"use strict";var n=i(16268),o=i(1432),r=i(35715),s=i(16830),a=i(11640),l=i(29102),h=i(63580),d=i(84144),u=i(84972);let c="9_cutcopypaste",g=o.tY||document.queryCommandSupported("cut"),p=o.tY||document.queryCommandSupported("copy"),m=void 0!==navigator.clipboard&&!n.isFirefox||document.queryCommandSupported("paste");function f(e){return e.register(),e}let _=g?f(new s.AJ({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:o.tY?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:d.eH.MenubarEditMenu,group:"2_ccp",title:h.NC({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:d.eH.EditorContext,group:c,title:h.NC("actions.clipboard.cutLabel","Cut"),when:l.u.writable,order:1},{menuId:d.eH.CommandPalette,group:"",title:h.NC("actions.clipboard.cutLabel","Cut"),order:1},{menuId:d.eH.SimpleEditorContext,group:c,title:h.NC("actions.clipboard.cutLabel","Cut"),when:l.u.writable,order:1}]})):void 0,v=p?f(new s.AJ({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:o.tY?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:d.eH.MenubarEditMenu,group:"2_ccp",title:h.NC({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:d.eH.EditorContext,group:c,title:h.NC("actions.clipboard.copyLabel","Copy"),order:2},{menuId:d.eH.CommandPalette,group:"",title:h.NC("actions.clipboard.copyLabel","Copy"),order:1},{menuId:d.eH.SimpleEditorContext,group:c,title:h.NC("actions.clipboard.copyLabel","Copy"),order:2}]})):void 0;d.BH.appendMenuItem(d.eH.MenubarEditMenu,{submenu:d.eH.MenubarCopy,title:{value:h.NC("copy as","Copy As"),original:"Copy As"},group:"2_ccp",order:3}),d.BH.appendMenuItem(d.eH.EditorContext,{submenu:d.eH.EditorContextCopy,title:{value:h.NC("copy as","Copy As"),original:"Copy As"},group:c,order:3}),d.BH.appendMenuItem(d.eH.EditorContext,{submenu:d.eH.EditorContextShare,title:{value:h.NC("share","Share"),original:"Share"},group:"11_share",order:-1});let C=m?f(new s.AJ({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:o.tY?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:d.eH.MenubarEditMenu,group:"2_ccp",title:h.NC({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:4},{menuId:d.eH.EditorContext,group:c,title:h.NC("actions.clipboard.pasteLabel","Paste"),when:l.u.writable,order:4},{menuId:d.eH.CommandPalette,group:"",title:h.NC("actions.clipboard.pasteLabel","Paste"),order:1},{menuId:d.eH.SimpleEditorContext,group:c,title:h.NC("actions.clipboard.pasteLabel","Paste"),when:l.u.writable,order:4}]})):void 0;class b extends s.R6{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:h.NC("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:l.u.textInputFocus,primary:0,weight:100}})}run(e,t){if(!t.hasModel())return;let i=t.getOption(33);!i&&t.getSelection().isEmpty()||(r.RA.forceCopyWithSyntaxHighlighting=!0,t.focus(),document.execCommand("copy"),r.RA.forceCopyWithSyntaxHighlighting=!1)}}function w(e,t){e&&(e.addImplementation(1e4,"code-editor",(e,i)=>{let n=e.get(a.$).getFocusedCodeEditor();if(n&&n.hasTextFocus()){let e=n.getOption(33),i=n.getSelection();return!!(i&&i.isEmpty())&&!e||(document.execCommand(t),!0)}return!1}),e.addImplementation(0,"generic-dom",(e,i)=>(document.execCommand(t),!0)))}w(_,"cut"),w(v,"copy"),C&&(C.addImplementation(1e4,"code-editor",(e,t)=>{let i=e.get(a.$),n=e.get(u.p),s=i.getFocusedCodeEditor();if(s&&s.hasTextFocus()){let e=document.execCommand("paste");if(!e&&o.$L){var l,h,d,c;return l=void 0,h=void 0,d=void 0,c=function*(){let e=yield n.readText();if(""!==e){let t=r.Nl.INSTANCE.get(e),i=!1,n=null,o=null;t&&(i=s.getOption(33)&&!!t.isFromEmptySelection,n=void 0!==t.multicursorText?t.multicursorText:null,o=t.mode),s.trigger("keyboard","paste",{text:e,pasteOnNewLine:i,multicursorText:n,mode:o})}},new(d||(d=Promise))(function(e,t){function i(e){try{o(c.next(e))}catch(e){t(e)}}function n(e){try{o(c.throw(e))}catch(e){t(e)}}function o(t){var o;t.done?e(t.value):((o=t.value)instanceof d?o:new d(function(e){e(o)})).then(i,n)}o((c=c.apply(l,h||[])).next())})}return!0}return!1}),C.addImplementation(0,"generic-dom",(e,t)=>(document.execCommand("paste"),!0))),p&&(0,s.Qr)(b)},75396:function(e,t,i){"use strict";i.d(t,{Bb:function(){return v},MN:function(){return b},RB:function(){return _},TM:function(){return y},aI:function(){return N},bA:function(){return S},sh:function(){return C},uH:function(){return w}});var n=i(9488),o=i(71050),r=i(17301),s=i(9917),a=i(70666),l=i(14410),h=i(24314),d=i(3860),u=i(73733),c=i(94565),g=i(90535),p=i(76014),m=i(71922),f=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let _="editor.action.codeAction",v="editor.action.refactor",C="editor.action.refactor.preview",b="editor.action.sourceAction",w="editor.action.organizeImports",y="editor.action.fixAll";class S{constructor(e,t){this.action=e,this.provider=t}resolve(e){var t;return f(this,void 0,void 0,function*(){if((null===(t=this.provider)||void 0===t?void 0:t.resolveCodeAction)&&!this.action.edit){let t;try{t=yield this.provider.resolveCodeAction(this.action,e)}catch(e){(0,r.Cp)(e)}t&&(this.action.edit=t.edit)}return this})}}class L extends s.JT{constructor(e,t,i){super(),this.documentation=t,this._register(i),this.allActions=[...e].sort(L.codeActionsComparator),this.validActions=this.allActions.filter(({action:e})=>!e.disabled)}static codeActionsComparator({action:e},{action:t}){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:(0,n.Of)(e.diagnostics)?(0,n.Of)(t.diagnostics)?e.diagnostics[0].message.localeCompare(t.diagnostics[0].message):-1:(0,n.Of)(t.diagnostics)?1:0}get hasAutoFix(){return this.validActions.some(({action:e})=>!!e.kind&&p.yN.QuickFix.contains(new p.yN(e.kind))&&!!e.isPreferred)}}let k={actions:[],documentation:void 0};function N(e,t,i,o,a,h){var d;let u=o.filter||{},c={only:null===(d=u.include)||void 0===d?void 0:d.value,trigger:o.type},g=new l.YQ(t,h),m=e.all(t).filter(e=>!e.providedCodeActionKinds||e.providedCodeActionKinds.some(e=>(0,p.EU)(u,new p.yN(e)))),_=new s.SL,v=m.map(e=>f(this,void 0,void 0,function*(){try{a.report(e);let n=yield e.provideCodeActions(t,i,c,g.token);if(n&&_.add(n),g.token.isCancellationRequested)return k;let o=((null==n?void 0:n.actions)||[]).filter(e=>e&&(0,p.Yl)(u,e)),r=function(e,t,i){if(!e.documentation)return;let n=e.documentation.map(e=>({kind:new p.yN(e.kind),command:e.command}));if(i){let e;for(let t of n)t.kind.contains(i)&&(e?e.kind.contains(t.kind)&&(e=t):e=t);if(e)return null==e?void 0:e.command}for(let e of t)if(e.kind){for(let t of n)if(t.kind.contains(new p.yN(e.kind)))return t.command}}(e,o,u.include);return{actions:o.map(t=>new S(t,e)),documentation:r}}catch(e){if((0,r.n2)(e))throw e;return(0,r.Cp)(e),k}})),C=e.onDidChange(()=>{let i=e.all(t);(0,n.fS)(i,m)||g.cancel()});return Promise.all(v).then(e=>{let t=e.map(e=>e.actions).flat(),i=(0,n.kX)(e.map(e=>e.documentation));return new L(t,i,_)}).finally(()=>{C.dispose(),g.dispose()})}c.P0.registerCommand("_executeCodeActionProvider",function(e,t,i,n,s){return f(this,void 0,void 0,function*(){if(!(t instanceof a.o))throw(0,r.b1)();let{codeActionProvider:l}=e.get(m.p),c=e.get(u.q).getModel(t);if(!c)throw(0,r.b1)();let f=d.Y.isISelection(i)?d.Y.liftSelection(i):h.e.isIRange(i)?c.validateRange(i):void 0;if(!f)throw(0,r.b1)();let _="string"==typeof n?new p.yN(n):void 0,v=yield N(l,c,f,{type:1,triggerAction:p.aQ.Default,filter:{includeSourceActions:!0,include:_}},g.Ex.None,o.T.None),C=[],b=Math.min(v.validActions.length,"number"==typeof s?s:0);for(let e=0;ee.action)}finally{setTimeout(()=>v.dispose(),100)}})})},93412:function(e,t,i){"use strict";i.d(t,{S5:function(){return ex},dW:function(){return ey},Hv:function(){return eD},o$:function(){return eN},E7:function(){return ew},pY:function(){return ev},Eb:function(){return eS},UG:function(){return eL},VQ:function(){return ek}});var n,o,r,s,a,l,h,d,u,c,g=i(71050),p=i(79579),m=i(9917),f=i(97295),_=i(16830),v=i(66007),C=i(29102),b=i(71922),w=i(75396),y=i(17301),S=i(27753),L=i(72065),k=i(65321),N=i(69047),D=i(74741);i(10721);var x=i(50187),I=i(76014),E=i(63580),T=i(33108),M=i(38819),A=i(5606),R=i(91847),O=i(10829),P=i(97781),F=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},B=function(e,t){return function(i,n){t(i,n,e)}};let V={Visible:new M.uy("CodeActionMenuVisible",!1,(0,E.NC)("CodeActionMenuVisible","Whether the code action list widget is visible"))};class W extends D.aU{constructor(e,t){super(e.command?e.command.id:e.title,e.title.replace(/\r\n|\r|\n/g," "),void 0,!e.disabled,t),this.action=e}}let H=class{constructor(e,t){this.acceptKeybindings=e,this.keybindingService=t}get templateId(){return"codeActionWidget"}renderTemplate(e){let t=Object.create(null);return t.disposables=[],t.root=e,t.text=document.createElement("span"),e.append(t.text),t}renderElement(e,t,i){let n=e.title,o=e.isEnabled,r=e.isSeparator,s=e.isDocumentation;i.text.textContent=n,o?i.root.classList.remove("option-disabled"):(i.root.classList.add("option-disabled"),i.root.style.backgroundColor="transparent !important"),r&&(i.root.classList.add("separator"),i.root.style.height="10px"),s||(()=>{var e,t;let[n,o]=this.acceptKeybindings;i.root.title=(0,E.NC)({key:"label",comment:['placeholders are keybindings, e.g "F2 to Refactor, Shift+F2 to Preview"']},"{0} to Refactor, {1} to Preview",null===(e=this.keybindingService.lookupKeybinding(n))||void 0===e?void 0:e.getLabel(),null===(t=this.keybindingService.lookupKeybinding(o))||void 0===t?void 0:t.getLabel())})()}disposeTemplate(e){e.disposables=(0,m.B9)(e.disposables)}};H=F([B(1,R.d)],H);let z=class e extends m.JT{constructor(e,t,i,n,o,r,s,a,l,h){super(),this._editor=e,this._delegate=t,this._contextMenuService=i,this._languageFeaturesService=o,this._telemetryService=r,this._configurationService=a,this._contextViewService=l,this._contextKeyService=h,this._showingActions=this._register(new m.XK),this.codeActionList=this._register(new m.XK),this.options=[],this._visible=!1,this.viewItems=[],this.hasSeperator=!1,this._keybindingResolver=new K({getKeybindings:()=>n.getKeybindings()}),this._ctxMenuWidgetVisible=V.Visible.bindTo(this._contextKeyService),this.listRenderer=new H(["onEnterSelectCodeAction","onEnterSelectCodeActionWithPreview"],n)}get isVisible(){return this._visible}isCodeActionWidgetEnabled(e){return this._configurationService.getValue("editor.experimental.useCustomCodeActionMenu",{resource:e.uri})}_onListSelection(e){e.elements.length&&e.elements.forEach(e=>{e.isEnabled&&(e.action.run(),this.hideCodeActionWidget())})}_onListHover(e){var t,i,n,o;e.element?(null===(i=e.element)||void 0===i?void 0:i.isEnabled)?(null===(n=this.codeActionList.value)||void 0===n||n.setFocus([e.element.index]),this.focusedEnabledItem=this.viewItems.indexOf(e.element),this.currSelectedItem=e.element.index):(this.currSelectedItem=void 0,null===(o=this.codeActionList.value)||void 0===o||o.setFocus([e.element.index])):(this.currSelectedItem=void 0,null===(t=this.codeActionList.value)||void 0===t||t.setFocus([]))}renderCodeActionMenuList(t,i){var n;let o=new m.SL,r=document.createElement("div"),s=document.createElement("div");this.block=t.appendChild(s),this.block.classList.add("context-view-block"),this.block.style.position="fixed",this.block.style.cursor="initial",this.block.style.left="0",this.block.style.top="0",this.block.style.width="100%",this.block.style.height="100%",this.block.style.zIndex="-1",o.add(k.nm(this.block,k.tw.MOUSE_DOWN,e=>e.stopPropagation())),r.id="codeActionMenuWidget",r.classList.add("codeActionMenuWidget"),t.appendChild(r),this.codeActionList.value=new N.aV("codeActionWidget",r,{getHeight:e=>e.isSeparator?10:26,getTemplateId:e=>"codeActionWidget"},[this.listRenderer],{keyboardSupport:!1}),o.add(this.codeActionList.value.onMouseOver(e=>this._onListHover(e))),o.add(this.codeActionList.value.onDidChangeFocus(e=>{var t;return null===(t=this.codeActionList.value)||void 0===t?void 0:t.domFocus()})),o.add(this.codeActionList.value.onDidChangeSelection(e=>this._onListSelection(e))),o.add(this._editor.onDidLayoutChange(e=>this.hideCodeActionWidget())),i.forEach((t,n)=>{let o="separator"===t.class,r=!1;t instanceof W&&(r=t.action.kind===e.documentationID),o&&(this.hasSeperator=!0);let s={title:t.label,detail:t.tooltip,action:i[n],isEnabled:t.enabled,isSeparator:o,index:n,isDocumentation:r};t.enabled&&this.viewItems.push(s),this.options.push(s)}),this.codeActionList.value.splice(0,this.codeActionList.value.length,this.options);let a=this.hasSeperator?(i.length-1)*26+10:26*i.length;r.style.height=String(a)+"px",this.codeActionList.value.layout(a);let l=[];this.options.forEach((e,t)=>{var i,n;if(!this.codeActionList.value)return;let o=null===(n=document.getElementById(null===(i=this.codeActionList.value)||void 0===i?void 0:i.getElementID(t)))||void 0===n?void 0:n.getElementsByTagName("span")[0].offsetWidth;l.push(Number(o))});let h=Math.max(...l);r.style.width=h+52+"px",null===(n=this.codeActionList.value)||void 0===n||n.layout(a,h),this.viewItems.length<1||this.viewItems.every(e=>e.isDocumentation)?this.currSelectedItem=void 0:(this.focusedEnabledItem=0,this.currSelectedItem=this.viewItems[0].index,this.codeActionList.value.setFocus([this.currSelectedItem])),this.codeActionList.value.domFocus();let d=k.go(t),u=d.onDidBlur(()=>{this.hideCodeActionWidget()});return o.add(u),o.add(d),this._ctxMenuWidgetVisible.set(!0),o}focusPrevious(){var e;let t;if(void 0===this.focusedEnabledItem)this.focusedEnabledItem=this.viewItems[0].index;else if(this.viewItems.length<1)return!1;let i=this.focusedEnabledItem;do this.focusedEnabledItem=this.focusedEnabledItem-1,this.focusedEnabledItem<0&&(this.focusedEnabledItem=this.viewItems.length-1),t=this.viewItems[this.focusedEnabledItem],null===(e=this.codeActionList.value)||void 0===e||e.setFocus([t.index]),this.currSelectedItem=t.index;while(this.focusedEnabledItem!==i&&(!t.isEnabled||t.action.id===D.Z0.ID));return!0}focusNext(){var e;let t;if(void 0===this.focusedEnabledItem)this.focusedEnabledItem=this.viewItems.length-1;else if(this.viewItems.length<1)return!1;let i=this.focusedEnabledItem;do this.focusedEnabledItem=(this.focusedEnabledItem+1)%this.viewItems.length,t=this.viewItems[this.focusedEnabledItem],null===(e=this.codeActionList.value)||void 0===e||e.setFocus([t.index]),this.currSelectedItem=t.index;while(this.focusedEnabledItem!==i&&(!t.isEnabled||t.action.id===D.Z0.ID));return!0}navigateListWithKeysUp(){this.focusPrevious()}navigateListWithKeysDown(){this.focusNext()}onEnterSet(){var e;"number"==typeof this.currSelectedItem&&(null===(e=this.codeActionList.value)||void 0===e||e.setSelection([this.currSelectedItem]))}dispose(){super.dispose()}hideCodeActionWidget(){this._ctxMenuWidgetVisible.reset(),this.options=[],this.viewItems=[],this.focusedEnabledItem=0,this.currSelectedItem=void 0,this.hasSeperator=!1,this._contextViewService.hideContextView({source:this})}codeActionTelemetry(e,t,i){this._telemetryService.publicLog2("codeAction.applyCodeAction",{codeActionFrom:e,validCodeActions:i.validActions.length,cancelled:t})}show(e,t,i,n){var o,r,s,a;return o=this,r=void 0,s=void 0,a=function*(){let o=this._editor.getModel();if(!o)return;let r=n.includeDisabledActions?t.allActions:t.validActions;if(!r.length){this._visible=!1;return}if(!this._editor.getDomNode())throw this._visible=!1,(0,y.F0)();this._visible=!0,this._showingActions.value=t;let s=this.getMenuActions(e,r,t.documentation),a=x.L.isIPosition(i)?this._toCoords(i):i||{x:0,y:0},l=this._keybindingResolver.getResolver(),h=this._editor.getOption(117);this.isCodeActionWidgetEnabled(o)?this._contextViewService.showContextView({getAnchor:()=>a,render:e=>this.renderCodeActionMenuList(e,s),onHide:i=>{let o=n.fromLightbulb?I.aQ.Lightbulb:e.triggerAction;this.codeActionTelemetry(o,i,t),this._visible=!1,this._editor.focus()}},this._editor.getDomNode(),!1):this._contextMenuService.showContextMenu({domForShadowRoot:h?this._editor.getDomNode():void 0,getAnchor:()=>a,getActions:()=>s,onHide:i=>{let o=n.fromLightbulb?I.aQ.Lightbulb:e.triggerAction;this.codeActionTelemetry(o,i,t),this._visible=!1,this._editor.focus()},autoSelectFirstItem:!0,getKeyBinding:e=>e instanceof W?l(e.action):void 0})},new(s||(s=Promise))(function(e,t){function i(e){try{l(a.next(e))}catch(e){t(e)}}function n(e){try{l(a.throw(e))}catch(e){t(e)}}function l(t){var o;t.done?e(t.value):((o=t.value)instanceof s?o:new s(function(e){e(o)})).then(i,n)}l((a=a.apply(o,r||[])).next())})}getMenuActions(t,i,n){var o,r;let s=e=>new W(e.action,()=>this._delegate.onSelectCodeAction(e,t)),a=i.map(s),l=[...n],h=this._editor.getModel();if(h&&a.length)for(let e of this._languageFeaturesService.codeActionProvider.all(h))e._getAdditionalMenuItems&&l.push(...e._getAdditionalMenuItems({trigger:t.type,only:null===(r=null===(o=t.filter)||void 0===o?void 0:o.include)||void 0===r?void 0:r.value},i.map(e=>e.action)));return l.length&&a.push(new D.Z0,...l.map(t=>s(new w.bA({title:t.title,command:t,kind:e.documentationID},void 0)))),a}_toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();let t=this._editor.getScrolledVisiblePosition(e),i=k.i(this._editor.getDomNode()),n=i.left+t.left,o=i.top+t.top+t.height;return{x:n,y:o}}};z.documentationID="_documentation",z=F([B(2,A.i),B(3,R.d),B(4,b.p),B(5,O.b),B(6,P.XE),B(7,T.Ui),B(8,A.u),B(9,M.i6)],z);class K{constructor(e){this._keybindingProvider=e}getResolver(){let e=new p.o(()=>this._keybindingProvider.getKeybindings().filter(e=>K.codeActionCommands.indexOf(e.command)>=0).filter(e=>e.resolvedKeybinding).map(e=>{let t=e.commandArgs;return e.command===w.uH?t={kind:I.yN.SourceOrganizeImports.value}:e.command===w.TM&&(t={kind:I.yN.SourceFixAll.value}),Object.assign({resolvedKeybinding:e.resolvedKeybinding},I.wZ.fromUser(t,{kind:I.yN.None,apply:"never"}))}));return t=>{if(t.kind){let i=this.bestKeybindingForCodeAction(t,e.getValue());return null==i?void 0:i.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;let i=new I.yN(e.kind);return t.filter(e=>e.kind.contains(i)).filter(t=>!t.preferred||e.isPreferred).reduceRight((e,t)=>e?e.kind.contains(t.kind)?t:e:t,void 0)}}K.codeActionCommands=[w.Bb,w.RB,w.MN,w.uH,w.TM];var U=i(10553),$=i(73046),j=i(4669);i(36053);var q=i(59616),G=i(73910);(n=l||(l={})).Hidden={type:0},n.Showing=class{constructor(e,t,i,n){this.actions=e,this.trigger=t,this.editorPosition=i,this.widgetPosition=n,this.type=1}};let Q=class e extends m.JT{constructor(e,t,i,n){super(),this._editor=e,this._quickFixActionId=t,this._preferredFixActionId=i,this._keybindingService=n,this._onClick=this._register(new j.Q5),this.onClick=this._onClick.event,this._state=l.Hidden,this._domNode=document.createElement("div"),this._domNode.className=$.lA.lightBulb.classNames,this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(e=>{let t=this._editor.getModel();(1!==this.state.type||!t||this.state.editorPosition.lineNumber>=t.getLineCount())&&this.hide()})),U.o.ignoreTarget(this._domNode),this._register(k.GQ(this._domNode,e=>{if(1!==this.state.type)return;this._editor.focus(),e.preventDefault();let{top:t,height:i}=k.i(this._domNode),n=this._editor.getOption(61),o=Math.floor(n/3);null!==this.state.widgetPosition.position&&this.state.widgetPosition.position.lineNumber{(1&e.buttons)==1&&this.hide()})),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(59)&&!this._editor.getOption(59).enabled&&this.hide()})),this._updateLightBulbTitleAndIcon(),this._register(this._keybindingService.onDidUpdateKeybindings(this._updateLightBulbTitleAndIcon,this))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return 1===this._state.type?this._state.widgetPosition:null}update(t,i,n){if(t.validActions.length<=0)return this.hide();let o=this._editor.getOptions();if(!o.get(59).enabled)return this.hide();let r=this._editor.getModel();if(!r)return this.hide();let{lineNumber:s,column:a}=r.validatePosition(n),h=r.getOptions().tabSize,d=o.get(46),u=r.getLineContent(s),c=(0,q.q)(u,h),g=d.spaceWidth*c>22,p=e=>e>2&&this._editor.getTopForLineNumber(e)===this._editor.getTopForLineNumber(e-1),m=s;if(!g){if(s>1&&!p(s-1))m-=1;else if(p(s+1)){if(a*d.spaceWidth<22)return this.hide()}else m+=1}this.state=new l.Showing(t,i,n,{position:{lineNumber:m,column:1},preference:e._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state=l.Hidden,this._editor.layoutContentWidget(this)}get state(){return this._state}set state(e){this._state=e,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(1===this.state.type&&this.state.actions.hasAutoFix){this._domNode.classList.remove(...$.lA.lightBulb.classNamesArray),this._domNode.classList.add(...$.lA.lightbulbAutofix.classNamesArray);let e=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(e){this.title=E.NC("preferredcodeActionWithKb","Show Code Actions. Preferred Quick Fix Available ({0})",e.getLabel());return}}this._domNode.classList.remove(...$.lA.lightbulbAutofix.classNamesArray),this._domNode.classList.add(...$.lA.lightBulb.classNamesArray);let e=this._keybindingService.lookupKeybinding(this._quickFixActionId);e?this.title=E.NC("codeActionWithKb","Show Code Actions ({0})",e.getLabel()):this.title=E.NC("codeAction","Show Code Actions")}set title(e){this._domNode.title=e}};Q._posPref=[0],Q=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(o=R.d,function(e,t){o(e,t,3)})],Q),(0,P.Ic)((e,t)=>{var i;let n=null===(i=e.getColor(G.cvW))||void 0===i?void 0:i.transparent(.7),o=e.getColor(G.Fu1);o&&t.addRule(` + .monaco-editor .contentWidgets ${$.lA.lightBulb.cssSelector} { + color: ${o}; + background-color: ${n}; + }`);let r=e.getColor(G.sKV);r&&t.addRule(` + .monaco-editor .contentWidgets ${$.lA.lightbulbAutofix.cssSelector} { + color: ${r}; + background-color: ${n}; + }`)});var Z=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})},Y=function(e,t,i,n,o){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!o)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,i):o?o.value=i:t.set(e,i),i},J=function(e,t,i,n){if("a"===i&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?n:"a"===i?n.call(e):n?n.value:t.get(e)};let X=class extends m.JT{constructor(e,t,i,n,o){super(),this._editor=e,this.delegate=n,this._activeCodeActions=this._register(new m.XK),this.previewOn=!1,h.set(this,!1),this._codeActionWidget=new p.o(()=>this._register(o.createInstance(z,this._editor,{onSelectCodeAction:(e,t)=>Z(this,void 0,void 0,function*(){this.previewOn?this.delegate.applyCodeAction(e,!0,!!this.previewOn):this.delegate.applyCodeAction(e,!0,!!t.preview),this.previewOn=!1})}))),this._lightBulbWidget=new p.o(()=>{let e=this._register(o.createInstance(Q,this._editor,t,i));return this._register(e.onClick(e=>this.showCodeActionList(e.trigger,e.actions,e,{includeDisabledActions:!1,fromLightbulb:!0}))),e})}dispose(){Y(this,h,!0,"f"),super.dispose()}hideCodeActionWidget(){this._codeActionWidget.hasValue()&&this._codeActionWidget.getValue().hideCodeActionWidget()}onEnter(){this._codeActionWidget.hasValue()&&this._codeActionWidget.getValue().onEnterSet()}onPreviewEnter(){this.previewOn=!0,this.onEnter()}navigateList(e){this._codeActionWidget.hasValue()&&(e?this._codeActionWidget.getValue().navigateListWithKeysUp():this._codeActionWidget.getValue().navigateListWithKeysDown())}update(e){var t,i,n,o,r;return Z(this,void 0,void 0,function*(){let s;if(1!==e.type){null===(t=this._lightBulbWidget.rawValue)||void 0===t||t.hide();return}try{s=yield e.actions}catch(e){(0,y.dL)(e);return}if(!J(this,h,"f")){if(this._lightBulbWidget.getValue().update(s,e.trigger,e.position),1===e.trigger.type){if(null===(i=e.trigger.filter)||void 0===i?void 0:i.include){let t=this.tryGetValidActionToApply(e.trigger,s);if(t){try{this._lightBulbWidget.getValue().hide(),yield this.delegate.applyCodeAction(t,!1,!1)}finally{s.dispose()}return}if(e.trigger.context){let t=this.getInvalidActionThatWouldHaveBeenApplied(e.trigger,s);if(t&&t.action.disabled){null===(n=S.O.get(this._editor))||void 0===n||n.showMessage(t.action.disabled,e.trigger.context.position),s.dispose();return}}}let t=!!(null===(o=e.trigger.filter)||void 0===o?void 0:o.include);if(e.trigger.context&&(!s.allActions.length||!t&&!s.validActions.length)){null===(r=S.O.get(this._editor))||void 0===r||r.showMessage(e.trigger.context.notAvailableMessage,e.trigger.context.position),this._activeCodeActions.value=s,s.dispose();return}this._activeCodeActions.value=s,this._codeActionWidget.getValue().show(e.trigger,s,e.position,{includeDisabledActions:t,fromLightbulb:!1})}else this._codeActionWidget.getValue().isVisible?s.dispose():this._activeCodeActions.value=s}})}getInvalidActionThatWouldHaveBeenApplied(e,t){if(t.allActions.length&&("first"===e.autoApply&&0===t.validActions.length||"ifSingle"===e.autoApply&&1===t.allActions.length))return t.allActions.find(({action:e})=>e.disabled)}tryGetValidActionToApply(e,t){if(t.validActions.length&&("first"===e.autoApply&&t.validActions.length>0||"ifSingle"===e.autoApply&&1===t.validActions.length))return t.validActions[0]}showCodeActionList(e,t,i,n){return Z(this,void 0,void 0,function*(){this._codeActionWidget.getValue().show(e,t,i,n)})}};h=new WeakMap,X=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(r=L.TG,function(e,t){r(e,t,4)})],X);var ee=i(94565),et=i(98674),ei=i(90535),en=i(59422),eo=i(15393),er=i(95935),es=i(24314),ea=function(e,t,i,n){if("a"===i&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?n:"a"===i?n.call(e):n?n.value:t.get(e)},el=function(e,t,i,n,o){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!o)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,i):o?o.value=i:t.set(e,i),i};let eh=new M.uy("supportedCodeAction","");class ed extends m.JT{constructor(e,t,i,n=250){super(),this._editor=e,this._markerService=t,this._signalChange=i,this._delay=n,this._autoTriggerTimer=this._register(new eo._F),this._register(this._markerService.onMarkerChanged(e=>this._onMarkerChanges(e))),this._register(this._editor.onDidChangeCursorPosition(()=>this._onCursorChange()))}trigger(e){let t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);return this._createEventAndSignalChange(e,t)}_onMarkerChanges(e){let t=this._editor.getModel();t&&e.some(e=>(0,er.Xy)(e,t.uri))&&this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:2,triggerAction:I.aQ.Default})},this._delay)}_onCursorChange(){this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:2,triggerAction:I.aQ.Default})},this._delay)}_getRangeOfMarker(e){let t=this._editor.getModel();if(t)for(let i of this._markerService.read({resource:t.uri})){let n=t.validateRange(i);if(es.e.intersectRanges(n,e))return es.e.lift(n)}}_getRangeOfSelectionUnlessWhitespaceEnclosed(e){if(!this._editor.hasModel())return;let t=this._editor.getModel(),i=this._editor.getSelection();if(i.isEmpty()&&2===e.type){let{lineNumber:e,column:n}=i.getPosition(),o=t.getLineContent(e);if(0===o.length)return;if(1===n){if(/\s/.test(o[0]))return}else if(n===t.getLineMaxColumn(e)){if(/\s/.test(o[o.length-1]))return}else if(/\s/.test(o[n-2])&&/\s/.test(o[n-1]))return}return i}_createEventAndSignalChange(e,t){let i=this._editor.getModel();if(!t||!i){this._signalChange(void 0);return}let n=this._getRangeOfMarker(t),o=n?n.getStartPosition():t.getStartPosition(),r={trigger:e,selection:t,position:o};return this._signalChange(r),r}}(s=u||(u={})).Empty={type:0},s.Triggered=class{constructor(e,t,i,n){this.trigger=e,this.rangeOrSelection=t,this.position=i,this._cancellablePromise=n,this.type=1,this.actions=n.catch(e=>{if((0,y.n2)(e))return eu;throw e})}cancel(){this._cancellablePromise.cancel()}};let eu={allActions:[],validActions:[],dispose:()=>{},documentation:[],hasAutoFix:!1};class ec extends m.JT{constructor(e,t,i,n,o){super(),this._editor=e,this._registry=t,this._markerService=i,this._progressService=o,this._codeActionOracle=this._register(new m.XK),this._state=u.Empty,this._onDidChangeState=this._register(new j.Q5),this.onDidChangeState=this._onDidChangeState.event,d.set(this,!1),this._supportedCodeActions=eh.bindTo(n),this._register(this._editor.onDidChangeModel(()=>this._update())),this._register(this._editor.onDidChangeModelLanguage(()=>this._update())),this._register(this._registry.onDidChange(()=>this._update())),this._update()}dispose(){ea(this,d,"f")||(el(this,d,!0,"f"),super.dispose(),this.setState(u.Empty,!0))}_update(){if(ea(this,d,"f"))return;this._codeActionOracle.value=void 0,this.setState(u.Empty);let e=this._editor.getModel();if(e&&this._registry.has(e)&&!this._editor.getOption(83)){let t=[];for(let i of this._registry.all(e))Array.isArray(i.providedCodeActionKinds)&&t.push(...i.providedCodeActionKinds);this._supportedCodeActions.set(t.join(" ")),this._codeActionOracle.value=new ed(this._editor,this._markerService,t=>{var i;if(!t){this.setState(u.Empty);return}let n=(0,eo.PG)(i=>(0,w.aI)(this._registry,e,t.selection,t.trigger,ei.Ex.None,i));1===t.trigger.type&&(null===(i=this._progressService)||void 0===i||i.showWhile(n,250)),this.setState(new u.Triggered(t.trigger,t.selection,t.position,n))},void 0),this._codeActionOracle.value.trigger({type:2,triggerAction:I.aQ.Default})}else this._supportedCodeActions.reset()}trigger(e){var t;null===(t=this._codeActionOracle.value)||void 0===t||t.trigger(e)}setState(e,t){e!==this._state&&(1===this._state.type&&this._state.cancel(),this._state=e,t||ea(this,d,"f")||this._onDidChangeState.fire(e))}}d=new WeakMap;var eg=function(e,t){return function(i,n){t(i,n,e)}},ep=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};function em(e){return M.Ao.regex(eh.keys()[0],RegExp("(\\s|^)"+(0,f.ec)(e.value)+"\\b"))}function ef(e,t,i,n){let o=I.wZ.fromUser(t,{kind:I.yN.Refactor,apply:"never"});return eb(e,"string"==typeof(null==t?void 0:t.kind)?o.preferred?E.NC("editor.action.refactor.noneMessage.preferred.kind","No preferred refactorings for '{0}' available",t.kind):E.NC("editor.action.refactor.noneMessage.kind","No refactorings for '{0}' available",t.kind):o.preferred?E.NC("editor.action.refactor.noneMessage.preferred","No preferred refactorings available"):E.NC("editor.action.refactor.noneMessage","No refactorings available"),{include:I.yN.Refactor.contains(o.kind)?o.kind:I.yN.None,onlyIncludePreferredActions:o.preferred},o.apply,i,n)}let e_={type:"object",defaultSnippets:[{body:{kind:""}}],properties:{kind:{type:"string",description:E.NC("args.schema.kind","Kind of the code action to run.")},apply:{type:"string",description:E.NC("args.schema.apply","Controls when the returned actions are applied."),default:"ifSingle",enum:["first","ifSingle","never"],enumDescriptions:[E.NC("args.schema.apply.first","Always apply the first returned code action."),E.NC("args.schema.apply.ifSingle","Apply the first returned code action if it is the only one."),E.NC("args.schema.apply.never","Do not apply the returned code actions.")]},preferred:{type:"boolean",default:!1,description:E.NC("args.schema.preferred","Controls if only preferred code actions should be returned.")}}},ev=class e extends m.JT{constructor(e,t,i,n,o,r){super(),this._instantiationService=o,this._editor=e,this._model=this._register(new ec(this._editor,r.codeActionProvider,t,i,n)),this._register(this._model.onDidChangeState(e=>this.update(e))),this._ui=new p.o(()=>this._register(new X(e,ew.Id,ex.Id,{applyCodeAction:(e,t,i)=>ep(this,void 0,void 0,function*(){try{yield this._applyCodeAction(e,i)}finally{t&&this._trigger({type:2,triggerAction:I.aQ.QuickFix,filter:{}})}})},this._instantiationService)))}static get(t){return t.getContribution(e.ID)}update(e){this._ui.getValue().update(e)}hideCodeActionMenu(){this._ui.hasValue()&&this._ui.getValue().hideCodeActionWidget()}navigateCodeActionList(e){this._ui.hasValue()&&this._ui.getValue().navigateList(e)}selectedOption(){this._ui.hasValue()&&this._ui.getValue().onEnter()}selectedOptionWithPreview(){this._ui.hasValue()&&this._ui.getValue().onPreviewEnter()}showCodeActions(e,t,i){return this._ui.getValue().showCodeActionList(e,t,i,{includeDisabledActions:!1,fromLightbulb:!1})}manualTriggerAtCurrentPosition(e,t,i,n,o){var r;if(!this._editor.hasModel())return;null===(r=S.O.get(this._editor))||void 0===r||r.closeMessage();let s=this._editor.getPosition();this._trigger({type:1,triggerAction:t,filter:i,autoApply:n,context:{notAvailableMessage:e,position:s},preview:o})}_trigger(e){return this._model.trigger(e)}_applyCodeAction(e,t){return this._instantiationService.invokeFunction(eC,e,c.FromCodeActions,{preview:t,editor:this._editor})}};function eC(e,t,i,n){return ep(this,void 0,void 0,function*(){let o=e.get(v.vu),r=e.get(ee.Hy),s=e.get(O.b),a=e.get(en.lT);if(s.publicLog2("codeAction.applyCodeAction",{codeActionTitle:t.action.title,codeActionKind:t.action.kind,codeActionIsPreferred:!!t.action.isPreferred,reason:i}),yield t.resolve(g.T.None),t.action.edit&&(yield o.apply(v.fo.convert(t.action.edit),{editor:null==n?void 0:n.editor,label:t.action.title,quotableLabel:t.action.title,code:"undoredo.codeAction",respectAutoSaveConfig:!0,showPreview:null==n?void 0:n.preview})),t.action.command)try{yield r.executeCommand(t.action.command.id,...t.action.command.arguments||[])}catch(t){let e="string"==typeof t?t:t instanceof Error&&"string"==typeof t.message?t.message:void 0;a.error("string"==typeof e?e:E.NC("applyCodeActionFailed","An unknown error occurred while applying the code action"))}})}function eb(e,t,i,n,o=!1,r=I.aQ.Default){if(e.hasModel()){let s=ev.get(e);null==s||s.manualTriggerAtCurrentPosition(t,r,i,n,o)}}ev.ID="editor.contrib.quickFixController",ev=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([eg(1,et.lT),eg(2,M.i6),eg(3,ei.ek),eg(4,L.TG),eg(5,b.p)],ev),(a=c||(c={})).OnSave="onSave",a.FromProblemsView="fromProblemsView",a.FromCodeActions="fromCodeActions";class ew extends _.R6{constructor(){super({id:ew.Id,label:E.NC("quickfix.trigger.label","Quick Fix..."),alias:"Quick Fix...",precondition:M.Ao.and(C.u.writable,C.u.hasCodeActionsProvider),kbOpts:{kbExpr:C.u.editorTextFocus,primary:2132,weight:100}})}run(e,t){return eb(t,E.NC("editor.action.quickFix.noneMessage","No code actions available"),void 0,void 0,!1,I.aQ.QuickFix)}}ew.Id="editor.action.quickFix";class ey extends _._l{constructor(){super({id:w.RB,precondition:M.Ao.and(C.u.writable,C.u.hasCodeActionsProvider),description:{description:"Trigger a code action",args:[{name:"args",schema:e_}]}})}runEditorCommand(e,t,i){let n=I.wZ.fromUser(i,{kind:I.yN.Empty,apply:"ifSingle"});return eb(t,"string"==typeof(null==i?void 0:i.kind)?n.preferred?E.NC("editor.action.codeAction.noneMessage.preferred.kind","No preferred code actions for '{0}' available",i.kind):E.NC("editor.action.codeAction.noneMessage.kind","No code actions for '{0}' available",i.kind):n.preferred?E.NC("editor.action.codeAction.noneMessage.preferred","No preferred code actions available"):E.NC("editor.action.codeAction.noneMessage","No code actions available"),{include:n.kind,includeSourceActions:!0,onlyIncludePreferredActions:n.preferred},n.apply)}}class eS extends _.R6{constructor(){super({id:w.Bb,label:E.NC("refactor.label","Refactor..."),alias:"Refactor...",precondition:M.Ao.and(C.u.writable,C.u.hasCodeActionsProvider),kbOpts:{kbExpr:C.u.editorTextFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:M.Ao.and(C.u.writable,em(I.yN.Refactor))},description:{description:"Refactor...",args:[{name:"args",schema:e_}]}})}run(e,t,i){return ef(t,i,!1,I.aQ.Refactor)}}class eL extends _.R6{constructor(){super({id:w.sh,label:E.NC("refactor.preview.label","Refactor with Preview..."),alias:"Refactor Preview...",precondition:M.Ao.and(C.u.writable,C.u.hasCodeActionsProvider),description:{description:"Refactor Preview...",args:[{name:"args",schema:e_}]}})}run(e,t,i){return ef(t,i,!0,I.aQ.RefactorPreview)}}class ek extends _.R6{constructor(){super({id:w.MN,label:E.NC("source.label","Source Action..."),alias:"Source Action...",precondition:M.Ao.and(C.u.writable,C.u.hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:M.Ao.and(C.u.writable,em(I.yN.Source))},description:{description:"Source Action...",args:[{name:"args",schema:e_}]}})}run(e,t,i){let n=I.wZ.fromUser(i,{kind:I.yN.Source,apply:"never"});return eb(t,"string"==typeof(null==i?void 0:i.kind)?n.preferred?E.NC("editor.action.source.noneMessage.preferred.kind","No preferred source actions for '{0}' available",i.kind):E.NC("editor.action.source.noneMessage.kind","No source actions for '{0}' available",i.kind):n.preferred?E.NC("editor.action.source.noneMessage.preferred","No preferred source actions available"):E.NC("editor.action.source.noneMessage","No source actions available"),{include:I.yN.Source.contains(n.kind)?n.kind:I.yN.None,includeSourceActions:!0,onlyIncludePreferredActions:n.preferred},n.apply,void 0,I.aQ.SourceAction)}}class eN extends _.R6{constructor(){super({id:w.uH,label:E.NC("organizeImports.label","Organize Imports"),alias:"Organize Imports",precondition:M.Ao.and(C.u.writable,em(I.yN.SourceOrganizeImports)),kbOpts:{kbExpr:C.u.editorTextFocus,primary:1581,weight:100}})}run(e,t){return eb(t,E.NC("editor.action.organize.noneMessage","No organize imports action available"),{include:I.yN.SourceOrganizeImports,includeSourceActions:!0},"ifSingle",void 0,I.aQ.OrganizeImports)}}class eD extends _.R6{constructor(){super({id:w.TM,label:E.NC("fixAll.label","Fix All"),alias:"Fix All",precondition:M.Ao.and(C.u.writable,em(I.yN.SourceFixAll))})}run(e,t){return eb(t,E.NC("fixAll.noneMessage","No fix all action available"),{include:I.yN.SourceFixAll,includeSourceActions:!0},"ifSingle",void 0,I.aQ.FixAll)}}class ex extends _.R6{constructor(){super({id:ex.Id,label:E.NC("autoFix.label","Auto Fix..."),alias:"Auto Fix...",precondition:M.Ao.and(C.u.writable,em(I.yN.QuickFix)),kbOpts:{kbExpr:C.u.editorTextFocus,primary:1620,mac:{primary:2644},weight:100}})}run(e,t){return eb(t,E.NC("editor.action.autoFix.noneMessage","No auto fixes available"),{include:I.yN.QuickFix,onlyIncludePreferredActions:!0},"ifSingle",void 0,I.aQ.AutoFix)}}ex.Id="editor.action.autoFix";let eI=_._l.bindToContribution(ev.get);(0,_.fK)(new eI({id:"hideCodeActionMenuWidget",precondition:V.Visible,handler(e){e.hideCodeActionMenu()},kbOpts:{weight:190,primary:9,secondary:[1033]}})),(0,_.fK)(new eI({id:"focusPreviousCodeAction",precondition:V.Visible,handler(e){e.navigateCodeActionList(!0)},kbOpts:{weight:100190,primary:16,secondary:[2064]}})),(0,_.fK)(new eI({id:"focusNextCodeAction",precondition:V.Visible,handler(e){e.navigateCodeActionList(!1)},kbOpts:{weight:100190,primary:18,secondary:[2066]}})),(0,_.fK)(new eI({id:"onEnterSelectCodeAction",precondition:V.Visible,handler(e){e.selectedOption()},kbOpts:{weight:100190,primary:3,secondary:[1026]}})),(0,_.fK)(new eI({id:"onEnterSelectCodeActionWithPreview",precondition:V.Visible,handler(e){e.selectedOptionWithPreview()},kbOpts:{weight:100190,primary:2051}}))},34281:function(e,t,i){"use strict";var n=i(16830),o=i(93412),r=i(800),s=i(63580),a=i(23193);i(89872).B.as(a.IP.Configuration).registerConfiguration(Object.assign(Object.assign({},r.wk),{properties:{"editor.experimental.useCustomCodeActionMenu":{type:"boolean",tags:["experimental"],scope:5,description:s.NC("codeActionWidget","Enabling this adjusts how the code action menu is rendered."),default:!1}}})),(0,n._K)(o.pY.ID,o.pY),(0,n.Qr)(o.E7),(0,n.Qr)(o.Eb),(0,n.Qr)(o.UG),(0,n.Qr)(o.VQ),(0,n.Qr)(o.o$),(0,n.Qr)(o.S5),(0,n.Qr)(o.Hv),(0,n.fK)(new o.dW)},76014:function(e,t,i){"use strict";var n,o;i.d(t,{EU:function(){return s},Yl:function(){return a},aQ:function(){return n},wZ:function(){return h},yN:function(){return r}});class r{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||""===this.value||e.value.startsWith(this.value+r.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(e){return new r(this.value+r.sep+e)}}function s(e,t){return!(e.include&&!e.include.intersects(t)||e.excludes&&e.excludes.some(i=>l(t,i,e.include))||!e.includeSourceActions&&r.Source.contains(t))}function a(e,t){let i=t.kind?new r(t.kind):void 0;return!(e.include&&(!i||!e.include.contains(i))||e.excludes&&i&&e.excludes.some(t=>l(i,t,e.include))||!e.includeSourceActions&&i&&r.Source.contains(i))&&(!e.onlyIncludePreferredActions||!!t.isPreferred)}function l(e,t,i){return!(!t.contains(e)||i&&t.contains(i))}r.sep=".",r.None=new r("@@none@@"),r.Empty=new r(""),r.QuickFix=new r("quickfix"),r.Refactor=new r("refactor"),r.Source=new r("source"),r.SourceOrganizeImports=r.Source.append("organizeImports"),r.SourceFixAll=r.Source.append("fixAll"),(o=n||(n={})).Refactor="refactor",o.RefactorPreview="refactor preview",o.Lightbulb="lightbulb",o.Default="other (default)",o.SourceAction="source action",o.QuickFix="quick fix action",o.FixAll="fix all",o.OrganizeImports="organize imports",o.AutoFix="auto fix",o.QuickFixHover="quick fix hover window",o.OnSave="save participants",o.ProblemsView="problems view";class h{constructor(e,t,i){this.kind=e,this.apply=t,this.preferred=i}static fromUser(e,t){return e&&"object"==typeof e?new h(h.getKindFromUser(e,t.kind),h.getApplyFromUser(e,t.apply),h.getPreferredUser(e)):new h(t.kind,t.apply,!1)}static getApplyFromUser(e,t){switch("string"==typeof e.apply?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return"string"==typeof e.kind?new r(e.kind):t}static getPreferredUser(e){return"boolean"==typeof e.preferred&&e.preferred}}},38334:function(e,t,i){"use strict";var n,o=i(65321),r=i(15393),s=i(17301),a=i(89954),l=i(9917),h=i(43407),d=i(16830),u=i(64141),c=i(29102),g=i(71050),p=i(98401),m=i(70666),f=i(73733),_=i(94565),v=i(71922),C=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class b{constructor(){this.lenses=[],this._disposables=new l.SL}dispose(){this._disposables.dispose()}get isDisposed(){return this._disposables.isDisposed}add(e,t){for(let i of(this._disposables.add(e),e.lenses))this.lenses.push({symbol:i,provider:t})}}function w(e,t,i){return C(this,void 0,void 0,function*(){let n=e.ordered(t),o=new Map,r=new b,a=n.map((e,n)=>C(this,void 0,void 0,function*(){o.set(e,n);try{let n=yield Promise.resolve(e.provideCodeLenses(t,i));n&&r.add(n,e)}catch(e){(0,s.Cp)(e)}}));return yield Promise.all(a),r.lenses=r.lenses.sort((e,t)=>e.symbol.range.startLineNumbert.symbol.range.startLineNumber?1:o.get(e.provider)o.get(t.provider)?1:e.symbol.range.startColumnt.symbol.range.startColumn?1:0),r})}_.P0.registerCommand("_executeCodeLensProvider",function(e,...t){let[i,n]=t;(0,p.p_)(m.o.isUri(i)),(0,p.p_)("number"==typeof n||!n);let{codeLensProvider:o}=e.get(v.p),r=e.get(f.q).getModel(i);if(!r)throw(0,s.b1)();let a=[],h=new l.SL;return w(o,r,g.T.None).then(e=>{h.add(e);let t=[];for(let i of e.lenses)null==n||i.symbol.command?a.push(i.symbol):n-- >0&&i.provider.resolveCodeLens&&t.push(Promise.resolve(i.provider.resolveCodeLens(r,i.symbol,g.T.None)).then(e=>a.push(e||i.symbol)));return Promise.all(t)}).then(()=>a).finally(()=>{setTimeout(()=>h.dispose(),100)})});var y=i(88289),S=i(43702),L=i(24314),k=i(65026),N=i(72065),D=i(87060);let x=(0,N.yh)("ICodeLensCache");class I{constructor(e,t){this.lineCount=e,this.data=t}}let E=class{constructor(e){this._fakeProvider=new class{provideCodeLenses(){throw Error("not supported")}},this._cache=new S.z6(20,.75),(0,r.To)(()=>e.remove("codelens/cache",1));let t="codelens/cache2",i=e.get(t,1,"{}");this._deserialize(i),(0,y.I)(e.onWillSaveState)(i=>{i.reason===D.fk.SHUTDOWN&&e.store(t,this._serialize(),1,1)})}put(e,t){let i=t.lenses.map(e=>{var t;return{range:e.symbol.range,command:e.symbol.command&&{id:"",title:null===(t=e.symbol.command)||void 0===t?void 0:t.title}}}),n=new b;n.add({lenses:i,dispose:()=>{}},this._fakeProvider);let o=new I(e.getLineCount(),n);this._cache.set(e.uri.toString(),o)}get(e){let t=this._cache.get(e.uri.toString());return t&&t.lineCount===e.getLineCount()?t.data:void 0}delete(e){this._cache.delete(e.uri.toString())}_serialize(){let e=Object.create(null);for(let[t,i]of this._cache){let n=new Set;for(let e of i.data.lenses)n.add(e.symbol.range.startLineNumber);e[t]={lineCount:i.lineCount,lines:[...n.values()]}}return JSON.stringify(e)}_deserialize(e){try{let t=JSON.parse(e);for(let e in t){let i=t[e],n=[];for(let e of i.lines)n.push({range:new L.e(e,1,e,11)});let o=new b;o.add({lenses:n,dispose(){}},this._fakeProvider),this._cache.set(e,new I(i.lineCount,o))}}catch(e){}}};E=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(n=D.Uy,function(e,t){n(e,t,0)})],E),(0,k.z)(x,E);var T=i(56811);i(32585);var M=i(22529);class A{constructor(e,t,i){this.afterColumn=1073741824,this.afterLineNumber=e,this.heightInPx=t,this._onHeight=i,this.suppressMouseDown=!0,this.domNode=document.createElement("div")}onComputedHeight(e){void 0===this._lastHeight?this._lastHeight=e:this._lastHeight!==e&&(this._lastHeight=e,this._onHeight())}isVisible(){return 0!==this._lastHeight&&this.domNode.hasAttribute("monaco-visible-view-zone")}}class R{constructor(e,t,i){this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map,this._isEmpty=!0,this._editor=e,this._id=`codelens.widget-${R._idPool++}`,this.updatePosition(i),this._domNode=document.createElement("span"),this._domNode.className=`codelens-decoration ${t}`}withCommands(e,t){this._commands.clear();let i=[],n=!1;for(let t=0;t{e.symbol.command&&l.push(e.symbol),n.addDecoration({range:e.symbol.range,options:M.qx.EMPTY},e=>this._decorationIds[t]=e),a=a?L.e.plusRange(a,e.symbol.range):L.e.lift(e.symbol.range)}),this._viewZone=new A(a.startLineNumber-1,r,s),this._viewZoneId=o.addZone(this._viewZone),l.length>0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(l,!1))}_createContentWidgetIfNecessary(){this._contentWidget?this._editor.layoutContentWidget(this._contentWidget):(this._contentWidget=new R(this._editor,this._className,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))}dispose(e,t){this._decorationIds.forEach(e.removeDecoration,e),this._decorationIds=[],null==t||t.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0}isDisposed(){return this._isDisposed}isValid(){return this._decorationIds.some((e,t)=>{let i=this._editor.getModel().getDecorationRange(e),n=this._data[t].symbol;return!!(i&&L.e.isEmpty(n.range)===i.isEmpty())})}updateCodeLensSymbols(e,t){this._decorationIds.forEach(t.removeDecoration,t),this._decorationIds=[],this._data=e,this._data.forEach((e,i)=>{t.addDecoration({range:e.symbol.range,options:M.qx.EMPTY},e=>this._decorationIds[i]=e)})}updateHeight(e,t){this._viewZone.heightInPx=e,t.layoutZone(this._viewZoneId),this._contentWidget&&this._editor.layoutContentWidget(this._contentWidget)}computeIfNecessary(e){if(!this._viewZone.isVisible())return null;for(let t=0;tthis._resolveCodeLensesInViewport(),this._resolveCodeLensesDebounce.default()),this._disposables.add(this._editor.onDidChangeModel(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeConfiguration(e=>{(e.hasChanged(46)||e.hasChanged(16)||e.hasChanged(15))&&this._updateLensStyle(),e.hasChanged(14)&&this._onModelChange()})),this._disposables.add(t.codeLensProvider.onDidChange(this._onModelChange,this)),this._onModelChange(),this._styleClassName="_"+(0,a.vp)(this._editor.getId()).toString(16),this._styleElement=o.dS(o.OO(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0),this._updateLensStyle()}dispose(){var e;this._localDispose(),this._disposables.dispose(),this._oldCodeLensModels.dispose(),null===(e=this._currentCodeLensModel)||void 0===e||e.dispose(),this._styleElement.remove()}_getLayoutInfo(){let e=Math.max(1.3,this._editor.getOption(61)/this._editor.getOption(48)),t=this._editor.getOption(16);return(!t||t<5)&&(t=.9*this._editor.getOption(48)|0),{fontSize:t,codeLensHeight:t*e|0}}_updateLensStyle(){let{codeLensHeight:e,fontSize:t}=this._getLayoutInfo(),i=this._editor.getOption(15),n=this._editor.getOption(46),o=`--codelens-font-family${this._styleClassName}`,r=`--codelens-font-features${this._styleClassName}`,s=` + .monaco-editor .codelens-decoration.${this._styleClassName} { line-height: ${e}px; font-size: ${t}px; padding-right: ${Math.round(.5*t)}px; font-feature-settings: var(${r}) } + .monaco-editor .codelens-decoration.${this._styleClassName} span.codicon { line-height: ${e}px; font-size: ${t}px; } + `;i&&(s+=`.monaco-editor .codelens-decoration.${this._styleClassName} { font-family: var(${o}), ${u.hL.fontFamily}}`),this._styleElement.textContent=s,this._editor.getContainerDomNode().style.setProperty(o,null!=i?i:"inherit"),this._editor.getContainerDomNode().style.setProperty(r,n.fontFeatureSettings),this._editor.changeViewZones(t=>{for(let i of this._lenses)i.updateHeight(e,t)})}_localDispose(){var e,t,i;null===(e=this._getCodeLensModelPromise)||void 0===e||e.cancel(),this._getCodeLensModelPromise=void 0,null===(t=this._resolveCodeLensesPromise)||void 0===t||t.cancel(),this._resolveCodeLensesPromise=void 0,this._localToDispose.clear(),this._oldCodeLensModels.clear(),null===(i=this._currentCodeLensModel)||void 0===i||i.dispose()}_onModelChange(){this._localDispose();let e=this._editor.getModel();if(!e||!this._editor.getOption(14))return;let t=this._codeLensCache.get(e);if(t&&this._renderCodeLensSymbols(t),!this._languageFeaturesService.codeLensProvider.has(e)){t&&this._localToDispose.add((0,r.Vg)(()=>{let i=this._codeLensCache.get(e);t===i&&(this._codeLensCache.delete(e),this._onModelChange())},3e4));return}for(let t of this._languageFeaturesService.codeLensProvider.all(e))if("function"==typeof t.onDidChange){let e=t.onDidChange(()=>i.schedule());this._localToDispose.add(e)}let i=new r.pY(()=>{var t;let n=Date.now();null===(t=this._getCodeLensModelPromise)||void 0===t||t.cancel(),this._getCodeLensModelPromise=(0,r.PG)(t=>w(this._languageFeaturesService.codeLensProvider,e,t)),this._getCodeLensModelPromise.then(t=>{this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=t,this._codeLensCache.put(e,t);let o=this._provideCodeLensDebounce.update(e,Date.now()-n);i.delay=o,this._renderCodeLensSymbols(t),this._resolveCodeLensesInViewportSoon()},s.dL)},this._provideCodeLensDebounce.get(e));this._localToDispose.add(i),this._localToDispose.add((0,l.OF)(()=>this._resolveCodeLensesScheduler.cancel())),this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{let i=[],n=-1;this._lenses.forEach(e=>{e.isValid()&&n!==e.getLineNumber()?(e.update(t),n=e.getLineNumber()):i.push(e)});let o=new O;i.forEach(e=>{e.dispose(o,t),this._lenses.splice(this._lenses.indexOf(e),1)}),o.commit(e)})}),i.schedule()})),this._localToDispose.add(this._editor.onDidFocusEditorWidget(()=>{i.schedule()})),this._localToDispose.add(this._editor.onDidScrollChange(e=>{e.scrollTopChanged&&this._lenses.length>0&&this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add(this._editor.onDidLayoutChange(()=>{this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add((0,l.OF)(()=>{if(this._editor.getModel()){let e=h.Z.capture(this._editor);this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{this._disposeAllLenses(e,t)})}),e.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseDown(e=>{if(9!==e.target.type)return;let t=e.target.element;if((null==t?void 0:t.tagName)==="SPAN"&&(t=t.parentElement),(null==t?void 0:t.tagName)==="A")for(let e of this._lenses){let i=e.getCommand(t);if(i){this._commandService.executeCommand(i.id,...i.arguments||[]).catch(e=>this._notificationService.error(e));break}}})),i.schedule()}_disposeAllLenses(e,t){let i=new O;for(let e of this._lenses)e.dispose(i,t);e&&i.commit(e),this._lenses.length=0}_renderCodeLensSymbols(e){let t;if(!this._editor.hasModel())return;let i=this._editor.getModel().getLineCount(),n=[];for(let o of e.lenses){let e=o.symbol.range.startLineNumber;e<1||e>i||(t&&t[t.length-1].symbol.range.startLineNumber===e?t.push(o):(t=[o],n.push(t)))}let o=h.Z.capture(this._editor),r=this._getLayoutInfo();this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{let i=new O,o=0,s=0;for(;sthis._resolveCodeLensesInViewportSoon())),o++,s++)}for(;othis._resolveCodeLensesInViewportSoon())),s++;i.commit(e)})}),o.restore(this._editor)}_resolveCodeLensesInViewportSoon(){let e=this._editor.getModel();e&&this._resolveCodeLensesScheduler.schedule()}_resolveCodeLensesInViewport(){var e;null===(e=this._resolveCodeLensesPromise)||void 0===e||e.cancel(),this._resolveCodeLensesPromise=void 0;let t=this._editor.getModel();if(!t)return;let i=[],n=[];if(this._lenses.forEach(e=>{let o=e.computeIfNecessary(t);o&&(i.push(o),n.push(e))}),0===i.length)return;let o=Date.now(),a=(0,r.PG)(e=>{let o=i.map((i,o)=>{let r=Array(i.length),a=i.map((i,n)=>i.symbol.command||"function"!=typeof i.provider.resolveCodeLens?(r[n]=i.symbol,Promise.resolve(void 0)):Promise.resolve(i.provider.resolveCodeLens(t,i.symbol,e)).then(e=>{r[n]=e},s.Cp));return Promise.all(a).then(()=>{e.isCancellationRequested||n[o].isDisposed()||n[o].updateCommands(r)})});return Promise.all(o)});this._resolveCodeLensesPromise=a,this._resolveCodeLensesPromise.then(()=>{let e=this._resolveCodeLensesDebounce.update(t,Date.now()-o);this._resolveCodeLensesScheduler.delay=e,this._currentCodeLensModel&&this._codeLensCache.put(t,this._currentCodeLensModel),this._oldCodeLensModels.clear(),a===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)},e=>{(0,s.dL)(e),a===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)})}getModel(){return this._currentCodeLensModel}};z.ID="css.editor.codeLens",z=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([H(1,v.p),H(2,W.A),H(3,_.Hy),H(4,B.lT),H(5,x)],z),(0,d._K)(z.ID,z),(0,d.Qr)(class extends d.R6{constructor(){super({id:"codelens.showLensesInCurrentLine",precondition:c.u.hasCodeLensProvider,label:(0,F.NC)("showLensOnLine","Show CodeLens Commands For Current Line"),alias:"Show CodeLens Commands For Current Line"})}run(e,t){var i,n,o,r;return i=this,n=void 0,o=void 0,r=function*(){if(!t.hasModel())return;let i=e.get(V.eJ),n=e.get(_.Hy),o=e.get(B.lT),r=t.getSelection().positionLineNumber,s=t.getContribution(z.ID);if(!s)return;let a=s.getModel();if(!a)return;let l=[];for(let e of a.lenses)e.symbol.command&&e.symbol.range.startLineNumber===r&&l.push({label:e.symbol.command.title,command:e.symbol.command});if(0===l.length)return;let h=yield i.pick(l,{canPickMany:!1});if(h){if(a.isDisposed)return yield n.executeCommand(this.id);try{yield n.executeCommand(h.command.id,...h.command.arguments||[])}catch(e){o.error(e)}}},new(o||(o=Promise))(function(e,t){function s(e){try{l(r.next(e))}catch(e){t(e)}}function a(e){try{l(r.throw(e))}catch(e){t(e)}}function l(t){var i;t.done?e(t.value):((i=t.value)instanceof o?i:new o(function(e){e(i)})).then(s,a)}l((r=r.apply(i,n||[])).next())})}})},29079:function(e,t,i){"use strict";var n,o=i(9917),r=i(16830),s=i(24314),a=i(15393),l=i(41264),h=i(17301),d=i(84013),u=i(97295),c=i(29994),g=i(22529),p=i(88191),m=i(71922),f=i(71050),_=i(70666),v=i(73733),C=i(94565);function b(e,t,i,n){return Promise.resolve(i.provideColorPresentations(e,t,n))}C.P0.registerCommand("_executeDocumentColorProvider",function(e,...t){let[i]=t;if(!(i instanceof _.o))throw(0,h.b1)();let{colorProvider:n}=e.get(m.p),o=e.get(v.q).getModel(i);if(!o)throw(0,h.b1)();let r=[],s=n.ordered(o).reverse(),a=s.map(e=>Promise.resolve(e.provideDocumentColors(o,f.T.None)).then(e=>{if(Array.isArray(e))for(let t of e)r.push({range:t.range,color:[t.color.red,t.color.green,t.color.blue,t.color.alpha]})}));return Promise.all(a).then(()=>r)}),C.P0.registerCommand("_executeColorPresentationProvider",function(e,...t){let[i,n]=t,{uri:o,range:r}=n;if(!(o instanceof _.o)||!Array.isArray(i)||4!==i.length||!s.e.isIRange(r))throw(0,h.b1)();let[a,l,d,u]=i,{colorProvider:c}=e.get(m.p),g=e.get(v.q).getModel(o);if(!g)throw(0,h.b1)();let p={range:r,color:{red:a,green:l,blue:d,alpha:u}},C=[],b=c.ordered(g).reverse(),w=b.map(e=>Promise.resolve(e.provideColorPresentations(g,p,f.T.None)).then(e=>{Array.isArray(e)&&C.push(...e)}));return Promise.all(w).then(()=>C)});var w=i(33108),y=function(e,t){return function(i,n){t(i,n,e)}};let S=Object.create({}),L=class e extends o.JT{constructor(t,i,n,r){super(),this._editor=t,this._configurationService=i,this._languageFeaturesService=n,this._localToDispose=this._register(new o.SL),this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=this._editor.createDecorationsCollection(),this._ruleFactory=new c.t7(this._editor),this._colorDecorationClassRefs=this._register(new o.SL),this._debounceInformation=r.for(n.colorProvider,"Document Colors",{min:e.RECOMPUTE_TIME}),this._register(t.onDidChangeModel(()=>{this._isEnabled=this.isEnabled(),this.onModelChanged()})),this._register(t.onDidChangeModelLanguage(()=>this.onModelChanged())),this._register(n.colorProvider.onDidChange(()=>this.onModelChanged())),this._register(t.onDidChangeConfiguration(()=>{let e=this._isEnabled;this._isEnabled=this.isEnabled(),e!==this._isEnabled&&(this._isEnabled?this.onModelChanged():this.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isEnabled=this.isEnabled(),this.onModelChanged()}isEnabled(){let e=this._editor.getModel();if(!e)return!1;let t=e.getLanguageId(),i=this._configurationService.getValue(t);if(i&&"object"==typeof i){let e=i.colorDecorators;if(e&&void 0!==e.enable&&!e.enable)return e.enable}return this._editor.getOption(17)}static get(e){return e.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}onModelChanged(){if(this.stop(),!this._isEnabled)return;let e=this._editor.getModel();e&&this._languageFeaturesService.colorProvider.has(e)&&(this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._timeoutTimer||(this._timeoutTimer=new a._F,this._timeoutTimer.cancelAndSet(()=>{this._timeoutTimer=null,this.beginCompute()},this._debounceInformation.get(e)))})),this.beginCompute())}beginCompute(){this._computePromise=(0,a.PG)(e=>{var t,i,n,o;return t=this,i=void 0,n=void 0,o=function*(){let t=this._editor.getModel();if(!t)return Promise.resolve([]);let i=new d.G(!1),n=yield function(e,t,i){let n=[],o=e.ordered(t).reverse(),r=o.map(e=>Promise.resolve(e.provideDocumentColors(t,i)).then(t=>{if(Array.isArray(t))for(let i of t)n.push({colorInfo:i,provider:e})}));return Promise.all(r).then(()=>n)}(this._languageFeaturesService.colorProvider,t,e);return this._debounceInformation.update(t,i.elapsed()),n},new(n||(n=Promise))(function(e,r){function s(e){try{l(o.next(e))}catch(e){r(e)}}function a(e){try{l(o.throw(e))}catch(e){r(e)}}function l(t){var i;t.done?e(t.value):((i=t.value)instanceof n?i:new n(function(e){e(i)})).then(s,a)}l((o=o.apply(t,i||[])).next())})}),this._computePromise.then(e=>{this.updateDecorations(e),this.updateColorDecorators(e),this._computePromise=null},h.dL)}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(e){let t=e.map(e=>({range:{startLineNumber:e.colorInfo.range.startLineNumber,startColumn:e.colorInfo.range.startColumn,endLineNumber:e.colorInfo.range.endLineNumber,endColumn:e.colorInfo.range.endColumn},options:g.qx.EMPTY}));this._editor.changeDecorations(i=>{this._decorationsIds=i.deltaDecorations(this._decorationsIds,t),this._colorDatas=new Map,this._decorationsIds.forEach((t,i)=>this._colorDatas.set(t,e[i]))})}updateColorDecorators(e){this._colorDecorationClassRefs.clear();let t=[];for(let i=0;ithis._colorDatas.has(e.id));return 0===i.length?null:this._colorDatas.get(i[0].id)}isColorDecoration(e){return this._colorDecoratorIds.has(e)}};L.ID="editor.contrib.colorDetector",L.RECOMPUTE_TIME=1e3,L=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([y(1,w.Ui),y(2,m.p),y(3,p.A)],L),(0,r._K)(L.ID,L);var k=i(4669);class N{constructor(e,t,i){this.presentationIndex=i,this._onColorFlushed=new k.Q5,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new k.Q5,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new k.Q5,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=e,this._color=e,this._colorPresentations=t}get color(){return this._color}set color(e){this._color.equals(e)||(this._color=e,this._onDidChangeColor.fire(e))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(e){this._colorPresentations=e,this.presentationIndex>e.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(e,t){for(let e=0;e{this.backgroundColor=e.getColor(M.yJx)||l.Il.white})),this._register(x.nm(this.pickedColorNode,x.tw.CLICK,()=>this.model.selectNextColorPresentation())),this._register(x.nm(o,x.tw.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this._register(t.onDidChangePresentation(this.onDidChangePresentation,this)),this.pickedColorNode.style.backgroundColor=l.Il.Format.CSS.format(t.color)||"",this.pickedColorNode.classList.toggle("light",t.color.rgba.a<.5?this.backgroundColor.isLighter():t.color.isLighter()),this.onDidChangeColor(this.model.color)}onDidChangeColor(e){this.pickedColorNode.style.backgroundColor=l.Il.Format.CSS.format(e)||"",this.pickedColorNode.classList.toggle("light",e.rgba.a<.5?this.backgroundColor.isLighter():e.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this.pickedColorNode.textContent=this.model.presentation?this.model.presentation.label:"",this.pickedColorNode.prepend(R(".codicon.codicon-color-mode"))}}class P extends o.JT{constructor(e,t,i){super(),this.model=t,this.pixelRatio=i,this.domNode=R(".colorpicker-body"),x.R3(e,this.domNode),this.saturationBox=new F(this.domNode,this.model,this.pixelRatio),this._register(this.saturationBox),this._register(this.saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this.saturationBox.onColorFlushed(this.flushColor,this)),this.opacityStrip=new V(this.domNode,this.model),this._register(this.opacityStrip),this._register(this.opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this.opacityStrip.onColorFlushed(this.flushColor,this)),this.hueStrip=new W(this.domNode,this.model),this._register(this.hueStrip),this._register(this.hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this.hueStrip.onColorFlushed(this.flushColor,this))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:e,v:t}){let i=this.model.color.hsva;this.model.color=new l.Il(new l.tx(i.h,e,t,i.a))}onDidOpacityChange(e){let t=this.model.color.hsva;this.model.color=new l.Il(new l.tx(t.h,t.s,t.v,e))}onDidHueChange(e){let t=this.model.color.hsva,i=(1-e)*360;this.model.color=new l.Il(new l.tx(360===i?0:i,t.s,t.v,t.a))}layout(){this.saturationBox.layout(),this.opacityStrip.layout(),this.hueStrip.layout()}}class F extends o.JT{constructor(e,t,i){super(),this.model=t,this.pixelRatio=i,this._onDidChange=new k.Q5,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new k.Q5,this.onColorFlushed=this._onColorFlushed.event,this.domNode=R(".saturation-wrap"),x.R3(e,this.domNode),this.canvas=document.createElement("canvas"),this.canvas.className="saturation-box",x.R3(this.domNode,this.canvas),this.selection=R(".saturation-selection"),x.R3(this.domNode,this.selection),this.layout(),this._register(x.nm(this.domNode,x.tw.POINTER_DOWN,e=>this.onPointerDown(e))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}onPointerDown(e){if(!e.target||!(e.target instanceof Element))return;this.monitor=this._register(new I.C);let t=x.i(this.domNode);e.target!==this.selection&&this.onDidChangePosition(e.offsetX,e.offsetY),this.monitor.startMonitoring(e.target,e.pointerId,e.buttons,e=>this.onDidChangePosition(e.pageX-t.left,e.pageY-t.top),()=>null);let i=x.nm(document,x.tw.POINTER_UP,()=>{this._onColorFlushed.fire(),i.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0)}onDidChangePosition(e,t){let i=Math.max(0,Math.min(1,e/this.width)),n=Math.max(0,Math.min(1,1-t/this.height));this.paintSelection(i,n),this._onDidChange.fire({s:i,v:n})}layout(){this.width=this.domNode.offsetWidth,this.height=this.domNode.offsetHeight,this.canvas.width=this.width*this.pixelRatio,this.canvas.height=this.height*this.pixelRatio,this.paint();let e=this.model.color.hsva;this.paintSelection(e.s,e.v)}paint(){let e=this.model.color.hsva,t=new l.Il(new l.tx(e.h,1,1,1)),i=this.canvas.getContext("2d"),n=i.createLinearGradient(0,0,this.canvas.width,0);n.addColorStop(0,"rgba(255, 255, 255, 1)"),n.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),n.addColorStop(1,"rgba(255, 255, 255, 0)");let o=i.createLinearGradient(0,0,0,this.canvas.height);o.addColorStop(0,"rgba(0, 0, 0, 0)"),o.addColorStop(1,"rgba(0, 0, 0, 1)"),i.rect(0,0,this.canvas.width,this.canvas.height),i.fillStyle=l.Il.Format.CSS.format(t),i.fill(),i.fillStyle=n,i.fill(),i.fillStyle=o,i.fill()}paintSelection(e,t){this.selection.style.left=`${e*this.width}px`,this.selection.style.top=`${this.height-t*this.height}px`}onDidChangeColor(){this.monitor&&this.monitor.isMonitoring()||this.paint()}}class B extends o.JT{constructor(e,t){super(),this.model=t,this._onDidChange=new k.Q5,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new k.Q5,this.onColorFlushed=this._onColorFlushed.event,this.domNode=x.R3(e,R(".strip")),this.overlay=x.R3(this.domNode,R(".overlay")),this.slider=x.R3(this.domNode,R(".slider")),this.slider.style.top="0px",this._register(x.nm(this.domNode,x.tw.POINTER_DOWN,e=>this.onPointerDown(e))),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;let e=this.getValue(this.model.color);this.updateSliderPosition(e)}onPointerDown(e){if(!e.target||!(e.target instanceof Element))return;let t=this._register(new I.C),i=x.i(this.domNode);this.domNode.classList.add("grabbing"),e.target!==this.slider&&this.onDidChangeTop(e.offsetY),t.startMonitoring(e.target,e.pointerId,e.buttons,e=>this.onDidChangeTop(e.pageY-i.top),()=>null);let n=x.nm(document,x.tw.POINTER_UP,()=>{this._onColorFlushed.fire(),n.dispose(),t.stopMonitoring(!0),this.domNode.classList.remove("grabbing")},!0)}onDidChangeTop(e){let t=Math.max(0,Math.min(1,1-e/this.height));this.updateSliderPosition(t),this._onDidChange.fire(t)}updateSliderPosition(e){this.slider.style.top=`${(1-e)*this.height}px`}}class V extends B{constructor(e,t){super(e,t),this.domNode.classList.add("opacity-strip"),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this.onDidChangeColor(this.model.color)}onDidChangeColor(e){let{r:t,g:i,b:n}=e.rgba,o=new l.Il(new l.VS(t,i,n,1)),r=new l.Il(new l.VS(t,i,n,0));this.overlay.style.background=`linear-gradient(to bottom, ${o} 0%, ${r} 100%)`}getValue(e){return e.hsva.a}}class W extends B{constructor(e,t){super(e,t),this.domNode.classList.add("hue-strip")}getValue(e){return 1-e.hsva.h/360}}class H extends E.${constructor(e,t,i,n){super(),this.model=t,this.pixelRatio=i,this._register(D.PixelRatio.onDidChange(()=>this.layout()));let o=R(".colorpicker-widget");e.appendChild(o);let r=new O(o,this.model,n);this.body=new P(o,this.model,this.pixelRatio),this._register(r),this._register(this.body)}layout(){this.body.layout()}}var z=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class K{constructor(e,t,i,n){this.owner=e,this.range=t,this.model=i,this.provider=n,this.forceShowAtRange=!0}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let U=class{constructor(e,t){this._editor=e,this._themeService=t,this.hoverOrdinal=1}computeSync(e,t){return[]}computeAsync(e,t,i){return a.Aq.fromPromise(this._computeAsync(e,t,i))}_computeAsync(e,t,i){return z(this,void 0,void 0,function*(){if(!this._editor.hasModel())return[];let e=L.get(this._editor);if(!e)return[];for(let i of t){if(!e.isColorDecoration(i))continue;let t=e.getColorData(i.range.getStartPosition());if(t){let e=yield this._createColorHover(this._editor.getModel(),t.colorInfo,t.provider);return[e]}}return[]})}_createColorHover(e,t,i){return z(this,void 0,void 0,function*(){let n=e.getValueInRange(t.range),{red:o,green:r,blue:a,alpha:h}=t.color,d=new l.VS(Math.round(255*o),Math.round(255*r),Math.round(255*a),h),u=new l.Il(d),c=yield b(e,t,i,f.T.None),g=new N(u,[],0);return g.colorPresentations=c||[],g.guessColorPresentation(u,n),new K(this,s.e.lift(t.range),g,i)})}renderHoverParts(e,t){if(0===t.length||!this._editor.hasModel())return o.JT.None;let i=new o.SL,n=t[0],r=this._editor.getModel(),a=n.model,l=i.add(new H(e.fragment,a,this._editor.getOption(131),this._themeService));e.setColorPicker(l);let h=new s.e(n.range.startLineNumber,n.range.startColumn,n.range.endLineNumber,n.range.endColumn),d=()=>{let t,i;if(a.presentation.textEdit){t=[a.presentation.textEdit],i=new s.e(a.presentation.textEdit.range.startLineNumber,a.presentation.textEdit.range.startColumn,a.presentation.textEdit.range.endLineNumber,a.presentation.textEdit.range.endColumn);let e=this._editor.getModel()._setTrackedRange(null,i,3);this._editor.pushUndoStop(),this._editor.executeEdits("colorpicker",t),i=this._editor.getModel()._getTrackedRange(e)||i}else t=[{range:h,text:a.presentation.label,forceMoveMarkers:!1}],i=h.setEndPosition(h.endLineNumber,h.startColumn+a.presentation.label.length),this._editor.pushUndoStop(),this._editor.executeEdits("colorpicker",t);a.presentation.additionalTextEdits&&(t=[...a.presentation.additionalTextEdits],this._editor.executeEdits("colorpicker",t),e.hide()),this._editor.pushUndoStop(),h=i},u=e=>b(r,{range:h,color:{red:e.rgba.r/255,green:e.rgba.g/255,blue:e.rgba.b/255,alpha:e.rgba.a}},n.provider,f.T.None).then(e=>{a.colorPresentations=e||[]});return i.add(a.onColorFlushed(e=>{u(e).then(d)})),i.add(a.onDidChangeColor(u)),i}};U=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(n=A.XE,function(e,t){n(e,t,1)})],U);var $=i(66122),j=i(66520);class q extends o.JT{constructor(e){super(),this._editor=e,this._register(e.onMouseDown(e=>this.onMouseDown(e)))}dispose(){super.dispose()}onMouseDown(e){let t=e.target;if(6!==t.type||!t.detail.injectedText||t.detail.injectedText.options.attachedData!==S||!t.range)return;let i=this._editor.getContribution($.E.ID);if(i&&!i.isColorPickerVisible()){let e=new s.e(t.range.startLineNumber,t.range.startColumn+1,t.range.endLineNumber,t.range.endColumn+1);i.showContentHover(e,1,!1)}}}q.ID="editor.contrib.colorContribution",(0,r._K)(q.ID,q),j.Ae.register(U)},39956:function(e,t,i){"use strict";var n=i(22258),o=i(16830),r=i(24314),s=i(29102),a=i(4256),l=i(69386),h=i(50187),d=i(3860);class u{constructor(e,t,i){this.languageConfigurationService=i,this._selection=e,this._insertSpace=t,this._usedEndToken=null}static _haystackHasNeedleAtOffset(e,t,i){if(i<0)return!1;let n=t.length,o=e.length;if(i+n>o)return!1;for(let o=0;o=65)||!(n<=90)||n+32!==r)&&(!(r>=65)||!(r<=90)||r+32!==n))return!1}return!0}_createOperationsForBlockComment(e,t,i,n,o,s){let a;let l=e.startLineNumber,h=e.startColumn,d=e.endLineNumber,c=e.endColumn,g=o.getLineContent(l),p=o.getLineContent(d),m=g.lastIndexOf(t,h-1+t.length),f=p.indexOf(i,c-1-i.length);if(-1!==m&&-1!==f){if(l===d){let e=g.substring(m+t.length,f);e.indexOf(i)>=0&&(m=-1,f=-1)}else{let e=g.substring(m+t.length),n=p.substring(0,f);(e.indexOf(i)>=0||n.indexOf(i)>=0)&&(m=-1,f=-1)}}for(let o of(-1!==m&&-1!==f?(n&&m+t.length0&&32===p.charCodeAt(f-1)&&(i=" "+i,f-=1),a=u._createRemoveBlockCommentOperations(new r.e(l,m+t.length+1,d,f+1),t,i)):(a=u._createAddBlockCommentOperations(e,t,i,this._insertSpace),this._usedEndToken=1===a.length?i:null),a))s.addTrackedEditOperation(o.range,o.text)}static _createRemoveBlockCommentOperations(e,t,i){let n=[];return r.e.isEmpty(e)?n.push(l.h.delete(new r.e(e.startLineNumber,e.startColumn-t.length,e.endLineNumber,e.endColumn+i.length))):(n.push(l.h.delete(new r.e(e.startLineNumber,e.startColumn-t.length,e.startLineNumber,e.startColumn))),n.push(l.h.delete(new r.e(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn+i.length)))),n}static _createAddBlockCommentOperations(e,t,i,n){let o=[];return r.e.isEmpty(e)?o.push(l.h.replace(new r.e(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),t+" "+i)):(o.push(l.h.insert(new h.L(e.startLineNumber,e.startColumn),t+(n?" ":""))),o.push(l.h.insert(new h.L(e.endLineNumber,e.endColumn),(n?" ":"")+i))),o}getEditOperations(e,t){let i=this._selection.startLineNumber,n=this._selection.startColumn;e.tokenization.tokenizeIfCheap(i);let o=e.getLanguageIdAtPosition(i,n),r=this.languageConfigurationService.getLanguageConfiguration(o).comments;r&&r.blockCommentStartToken&&r.blockCommentEndToken&&this._createOperationsForBlockComment(this._selection,r.blockCommentStartToken,r.blockCommentEndToken,this._insertSpace,e,t)}computeCursorState(e,t){let i=t.getInverseEditOperations();if(2===i.length){let e=i[0],t=i[1];return new d.Y(e.range.endLineNumber,e.range.endColumn,t.range.startLineNumber,t.range.startColumn)}{let e=i[0].range,t=this._usedEndToken?-this._usedEndToken.length-1:0;return new d.Y(e.endLineNumber,e.endColumn+t,e.endLineNumber,e.endColumn+t)}}}var c=i(97295);class g{constructor(e,t,i,n,o,r,s){this.languageConfigurationService=e,this._selection=t,this._tabSize=i,this._type=n,this._insertSpace=o,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=r,this._ignoreFirstLine=s||!1}static _gatherPreflightCommentStrings(e,t,i,n){e.tokenization.tokenizeIfCheap(t);let o=e.getLanguageIdAtPosition(t,1),r=n.getLanguageConfiguration(o).comments,s=r?r.lineCommentToken:null;if(!s)return null;let a=[];for(let e=0,n=i-t+1;es?t[a].commentStrOffset=o-1:t[a].commentStrOffset=o}}}var p=i(63580),m=i(84144);class f extends o.R6{constructor(e,t){super(t),this._type=e}run(e,t){let i=e.get(a.c_);if(!t.hasModel())return;let n=t.getModel(),o=[],s=n.getOptions(),l=t.getOption(19),h=t.getSelections().map((e,t)=>({selection:e,index:t,ignoreFirstLine:!1}));h.sort((e,t)=>r.e.compareRangesUsingStarts(e.selection,t.selection));let d=h[0];for(let e=1;ethis._onContextMenu(e))),this._toDispose.add(this._editor.onMouseWheel(e=>{if(this._contextMenuIsBeingShownCount>0){let t=this._contextViewService.getContextViewElement(),i=e.srcElement;i.shadowRoot&&n.Ay(t)===i.shadowRoot||this._contextViewService.hideContextView()}})),this._toDispose.add(this._editor.onKeyDown(e=>{this._editor.getOption(20)&&58===e.keyCode&&(e.preventDefault(),e.stopPropagation(),this.showContextMenu())}))}static get(t){return t.getContribution(e.ID)}_onContextMenu(e){if(!this._editor.hasModel())return;if(!this._editor.getOption(20)){this._editor.focus(),e.target.position&&!this._editor.getSelection().containsPosition(e.target.position)&&this._editor.setPosition(e.target.position);return}if(12===e.target.type||6===e.target.type&&e.target.detail.injectedText)return;if(e.event.preventDefault(),e.event.stopPropagation(),11===e.target.type)return this._showScrollbarContextMenu({x:e.event.posx-1,width:2,y:e.event.posy-1,height:2});if(6!==e.target.type&&7!==e.target.type&&1!==e.target.type)return;if(this._editor.focus(),e.target.position){let t=!1;for(let i of this._editor.getSelections())if(i.containsPosition(e.target.position)){t=!0;break}t||this._editor.setPosition(e.target.position)}let t=null;1!==e.target.type&&(t={x:e.event.posx-1,width:2,y:e.event.posy-1,height:2}),this.showContextMenu(t)}showContextMenu(e){if(!this._editor.getOption(20)||!this._editor.hasModel())return;let t=this._getMenuActions(this._editor.getModel(),this._editor.isSimpleWidget?u.eH.SimpleEditorContext:u.eH.EditorContext);t.length>0&&this._doShowContextMenu(t,e)}_getMenuActions(e,t){let i=[],n=this._menuService.createMenu(t,this._contextKeyService),o=n.getActions({arg:e.uri});for(let t of(n.dispose(),o)){let[,n]=t,o=0;for(let t of n)if(t instanceof u.NZ){let n=this._getMenuActions(e,t.item.submenu);n.length>0&&(i.push(new r.wY(t.id,t.label,n)),o++)}else i.push(t),o++;o&&i.push(new r.Z0)}return i.length&&i.pop(),i}_doShowContextMenu(e,t=null){if(!this._editor.hasModel())return;let i=this._editor.getOption(55);if(this._editor.updateOptions({hover:{enabled:!1}}),!t){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();let e=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),i=n.i(this._editor.getDomNode()),o=i.left+e.left,r=i.top+e.top+e.height;t={x:o,y:r}}let r=this._editor.getOption(117)&&!a.gn;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:r?this._editor.getDomNode():void 0,getAnchor:()=>t,getActions:()=>e,getActionViewItem:e=>{let t=this._keybindingFor(e);return t?new o.g(e,e,{label:!0,keybinding:t.getLabel(),isMenu:!0}):"function"==typeof e.getActionViewItem?e.getActionViewItem():new o.g(e,e,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:e=>this._keybindingFor(e),onHide:e=>{this._contextMenuIsBeingShownCount--,this._editor.focus(),this._editor.updateOptions({hover:i})}})}_showScrollbarContextMenu(e){if(!this._editor.hasModel())return;let t=this._editor.getOption(67),i=0,n=e=>({id:`menu-action-${++i}`,label:e.label,tooltip:"",class:void 0,enabled:void 0===e.enabled||e.enabled,checked:e.checked,run:e.run,dispose:()=>null}),o=(e,t)=>new r.wY(`menu-action-${++i}`,e,t,void 0),s=(e,t,i,r,s)=>{if(!t)return n({label:e,enabled:t,run:()=>{}});let a=e=>()=>{this._configurationService.updateValue(i,e)},l=[];for(let e of s)l.push(n({label:e.label,checked:r===e.value,run:a(e.value)}));return o(e,l)},l=[];l.push(n({label:d.NC("context.minimap.minimap","Minimap"),checked:t.enabled,run:()=>{this._configurationService.updateValue("editor.minimap.enabled",!t.enabled)}})),l.push(new r.Z0),l.push(n({label:d.NC("context.minimap.renderCharacters","Render Characters"),enabled:t.enabled,checked:t.renderCharacters,run:()=>{this._configurationService.updateValue("editor.minimap.renderCharacters",!t.renderCharacters)}})),l.push(s(d.NC("context.minimap.size","Vertical size"),t.enabled,"editor.minimap.size",t.size,[{label:d.NC("context.minimap.size.proportional","Proportional"),value:"proportional"},{label:d.NC("context.minimap.size.fill","Fill"),value:"fill"},{label:d.NC("context.minimap.size.fit","Fit"),value:"fit"}])),l.push(s(d.NC("context.minimap.slider","Slider"),t.enabled,"editor.minimap.showSlider",t.showSlider,[{label:d.NC("context.minimap.slider.mouseover","Mouse Over"),value:"mouseover"},{label:d.NC("context.minimap.slider.always","Always"),value:"always"}]));let h=this._editor.getOption(117)&&!a.gn;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:h?this._editor.getDomNode():void 0,getAnchor:()=>e,getActions:()=>l,onHide:e=>{this._contextMenuIsBeingShownCount--,this._editor.focus()}})}_keybindingFor(e){return this._keybindingService.lookupKeybinding(e.id)}dispose(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()}};_.ID="editor.contrib.contextmenu",_=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([f(1,g.i),f(2,g.u),f(3,c.i6),f(4,p.d),f(5,u.co),f(6,m.Ui)],_);class v extends l.R6{constructor(){super({id:"editor.action.showContextMenu",label:d.NC("action.showContextMenu.label","Show Editor Context Menu"),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:h.u.textInputFocus,primary:1092,weight:100}})}run(e,t){var i;null===(i=_.get(t))||void 0===i||i.showContextMenu()}}(0,l._K)(_.ID,_),(0,l.Qr)(v)},85754:function(e,t,i){"use strict";var n=i(16830),o=i(800),r=i(23547),s=i(65321),a=i(15393),l=i(73278),h=i(9917),d=i(81170),u=i(98e3),c=i(53201),g=i(66007),p=i(24314),m=i(71922),f=i(14410),_=i(98762),v=i(35084),C=i(84972),b=i(33108),w=function(e,t){return function(i,n){t(i,n,e)}},y=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let S="application/vnd.code.copyMetadata",L=class extends h.JT{constructor(e,t,i,n,o){super(),this._bulkEditService=t,this._clipboardService=i,this._configurationService=n,this._languageFeaturesService=o,this._editor=e;let r=e.getContainerDomNode();this._register((0,s.nm)(r,"copy",e=>this.handleCopy(e))),this._register((0,s.nm)(r,"cut",e=>this.handleCopy(e))),this._register((0,s.nm)(r,"paste",e=>this.handlePaste(e),!0))}arePasteActionsEnabled(e){return this._configurationService.getValue("editor.experimental.pasteActions.enabled",{resource:e.uri})}handleCopy(e){var t;if(!e.clipboardData||!this._editor.hasTextFocus())return;let i=this._editor.getModel(),n=this._editor.getSelections();if(!i||!(null==n?void 0:n.length)||!this.arePasteActionsEnabled(i))return;let o=[...n],r=n[0],s=r.isEmpty();if(s){if(!this._editor.getOption(33))return;o[0]=new p.e(r.startLineNumber,0,r.startLineNumber,i.getLineLength(r.startLineNumber))}let l=this._languageFeaturesService.documentPasteEditProvider.ordered(i).filter(e=>!!e.prepareDocumentPaste);if(!l.length){this.setCopyMetadata(e.clipboardData,{wasFromEmptySelection:s});return}let h=(0,c.Bo)(e.clipboardData),d=(0,u.R)();this.setCopyMetadata(e.clipboardData,{id:d,wasFromEmptySelection:s});let g=(0,a.PG)(e=>y(this,void 0,void 0,function*(){let t=yield Promise.all(l.map(t=>t.prepareDocumentPaste(i,o,h,e)));for(let e of t)null==e||e.forEach((e,t)=>{h.replace(t,e)});return h}));null===(t=this._currentClipboardItem)||void 0===t||t.dataTransferPromise.cancel(),this._currentClipboardItem={handle:d,dataTransferPromise:g}}setCopyMetadata(e,t){e.setData(S,JSON.stringify(t))}handlePaste(e){var t,i,n;return y(this,void 0,void 0,function*(){let o;if(!e.clipboardData||!this._editor.hasTextFocus())return;let s=this._editor.getSelections();if(!(null==s?void 0:s.length)||!this._editor.hasModel())return;let a=this._editor.getModel();if(!this.arePasteActionsEnabled(a))return;let h=null===(t=e.clipboardData)||void 0===t?void 0:t.getData(S);h&&"string"==typeof h&&(o=JSON.parse(h));let u=this._languageFeaturesService.documentPasteEditProvider.ordered(a);if(!u.length)return;e.preventDefault(),e.stopImmediatePropagation();let p=a.getVersionId(),m=new f.Dl(this._editor,3);try{let t=(0,c.Bo)(e.clipboardData);if((null==o?void 0:o.id)&&(null===(i=this._currentClipboardItem)||void 0===i?void 0:i.handle)===o.id){let e=yield this._currentClipboardItem.dataTransferPromise;e.forEach((e,i)=>{t.replace(i,e)})}if(!t.has(d.v.uriList)){let e=yield this._clipboardService.readResources();e.length&&t.append(d.v.uriList,(0,l.ZO)(c.Z0.create(e)))}for(let e of(t.delete(S),u)){if(!e.pasteMimeTypes.some(e=>e.toLowerCase()===r.g.FILES.toLowerCase()?[...t.values()].some(e=>e.asFile()):t.has(e)))continue;let i=yield e.provideDocumentPasteEdits(a,s,t,m.token);if(p!==a.getVersionId())return;if(i){(0,_.z)(this._editor,"string"==typeof i.insertText?v.Yj.escape(i.insertText):i.insertText.snippet,s),i.additionalEdit&&(yield this._bulkEditService.apply(g.fo.convert(i.additionalEdit),{editor:this._editor}));return}}let h=null!==(n=t.get(d.v.text))&&void 0!==n?n:t.get("text");if(!h)return;let f=yield h.asString();if(p!==a.getVersionId())return;this._editor.trigger("keyboard","paste",{text:f,pasteOnNewLine:null==o?void 0:o.wasFromEmptySelection,multicursorText:null})}finally{m.dispose()}})}};L.ID="editor.contrib.copyPasteActionController",L=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([w(1,g.vu),w(2,C.p),w(3,b.Ui),w(4,m.p)],L);var k=i(63580),N=i(23193),D=i(89872);(0,n._K)(L.ID,L),D.B.as(N.IP.Configuration).registerConfiguration(Object.assign(Object.assign({},o.wk),{properties:{"editor.experimental.pasteActions.enabled":{type:"boolean",scope:5,description:k.NC("pasteActions","Enable/disable running edits from extensions on paste."),default:!1}}}))},41895:function(e,t,i){"use strict";var n=i(9917),o=i(16830),r=i(29102),s=i(63580);class a{constructor(e){this.selections=e}equals(e){let t=this.selections.length,i=e.selections.length;if(t!==i)return!1;for(let i=0;i{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeModelContent(e=>{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeCursorSelection(t=>{if(this._isCursorUndoRedo||!t.oldSelections||t.oldModelVersionId!==t.modelVersionId)return;let i=new a(t.oldSelections),n=this._undoStack.length>0&&this._undoStack[this._undoStack.length-1].cursorState.equals(i);!n&&(this._undoStack.push(new l(i,e.getScrollTop(),e.getScrollLeft())),this._redoStack=[],this._undoStack.length>50&&this._undoStack.shift())}))}static get(e){return e.getContribution(h.ID)}cursorUndo(){this._editor.hasModel()&&0!==this._undoStack.length&&(this._redoStack.push(new l(new a(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop()))}cursorRedo(){this._editor.hasModel()&&0!==this._redoStack.length&&(this._undoStack.push(new l(new a(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop()))}_applyState(e){this._isCursorUndoRedo=!0,this._editor.setSelections(e.cursorState.selections),this._editor.setScrollPosition({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}),this._isCursorUndoRedo=!1}}h.ID="editor.contrib.cursorUndoRedoController";class d extends o.R6{constructor(){super({id:"cursorUndo",label:s.NC("cursor.undo","Cursor Undo"),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:r.u.textInputFocus,primary:2099,weight:100}})}run(e,t,i){var n;null===(n=h.get(t))||void 0===n||n.cursorUndo()}}class u extends o.R6{constructor(){super({id:"cursorRedo",label:s.NC("cursor.redo","Cursor Redo"),alias:"Cursor Redo",precondition:void 0})}run(e,t,i){var n;null===(n=h.get(t))||void 0===n||n.cursorRedo()}}(0,o._K)(h.ID,h),(0,o.Qr)(d),(0,o.Qr)(u)},27107:function(e,t,i){"use strict";var n=i(9917),o=i(1432);i(32811);var r=i(16830),s=i(50187),a=i(24314),l=i(3860),h=i(22529);class d{constructor(e,t,i){this.selection=e,this.targetPosition=t,this.copy=i,this.targetSelection=null}getEditOperations(e,t){let i=e.getValueInRange(this.selection);if(this.copy||t.addEditOperation(this.selection,null),t.addEditOperation(new a.e(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),i),this.selection.containsPosition(this.targetPosition)&&!(this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition)))){this.targetSelection=this.selection;return}if(this.copy){this.targetSelection=new l.Y(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber>this.selection.endLineNumber){this.targetSelection=new l.Y(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumberthis._onEditorMouseDown(e))),this._register(this._editor.onMouseUp(e=>this._onEditorMouseUp(e))),this._register(this._editor.onMouseDrag(e=>this._onEditorMouseDrag(e))),this._register(this._editor.onMouseDrop(e=>this._onEditorMouseDrop(e))),this._register(this._editor.onMouseDropCanceled(()=>this._onEditorMouseDropCanceled())),this._register(this._editor.onKeyDown(e=>this.onEditorKeyDown(e))),this._register(this._editor.onKeyUp(e=>this.onEditorKeyUp(e))),this._register(this._editor.onDidBlurEditorWidget(()=>this.onEditorBlur())),this._register(this._editor.onDidBlurEditorText(()=>this.onEditorBlur())),this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(e){!(!this._editor.getOption(31)||this._editor.getOption(18))&&(u(e)&&(this._modifierPressed=!0),this._mouseDown&&u(e)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(e){!(!this._editor.getOption(31)||this._editor.getOption(18))&&(u(e)&&(this._modifierPressed=!1),this._mouseDown&&e.keyCode===c.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(e){this._mouseDown=!0}_onEditorMouseUp(e){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(e){let t=e.target;if(null===this._dragSelection){let e=this._editor.getSelections()||[],i=e.filter(e=>t.position&&e.containsPosition(t.position));if(1!==i.length)return;this._dragSelection=i[0]}u(e.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDropCanceled(){this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}_onEditorMouseDrop(e){if(e.target&&(this._hitContent(e.target)||this._hitMargin(e.target))&&e.target.position){let t=new s.L(e.target.position.lineNumber,e.target.position.column);if(null===this._dragSelection){let i=null;if(e.event.shiftKey){let e=this._editor.getSelection();if(e){let{selectionStartLineNumber:n,selectionStartColumn:o}=e;i=[new l.Y(n,o,t.lineNumber,t.column)]}}else i=(this._editor.getSelections()||[]).map(e=>e.containsPosition(t)?new l.Y(t.lineNumber,t.column,t.lineNumber,t.column):e);this._editor.setSelections(i||[],"mouse",3)}else(!this._dragSelection.containsPosition(t)||(u(e.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(t)||this._dragSelection.getStartPosition().equals(t)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(c.ID,new d(this._dragSelection,t,u(e.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(e){this._dndDecorationIds.set([{range:new a.e(e.lineNumber,e.column,e.lineNumber,e.column),options:c._DECORATION_OPTIONS}]),this._editor.revealPosition(e,1)}_removeDecoration(){this._dndDecorationIds.clear()}_hitContent(e){return 6===e.type||7===e.type}_hitMargin(e){return 2===e.type||3===e.type||4===e.type}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}c.ID="editor.contrib.dragAndDrop",c.TRIGGER_KEY_VALUE=o.dz?6:5,c._DECORATION_OPTIONS=h.qx.register({description:"dnd-target",className:"dnd-target"}),(0,r._K)(c.ID,c)},76917:function(e,t,i){"use strict";var n=i(71050),o=i(98401),r=i(70666),s=i(88216),a=i(88941);i(94565).P0.registerCommand("_executeDocumentSymbolProvider",function(e,...t){var i,l,h,d;return i=this,l=void 0,h=void 0,d=function*(){let[i]=t;(0,o.p_)(r.o.isUri(i));let l=e.get(a.Je),h=e.get(s.S),d=yield h.createModelReference(i);try{return(yield l.getOrCreate(d.object.textEditorModel,n.T.None)).getTopLevelSymbols()}finally{d.dispose()}},new(h||(h=Promise))(function(e,t){function n(e){try{r(d.next(e))}catch(e){t(e)}}function o(e){try{r(d.throw(e))}catch(e){t(e)}}function r(t){var i;t.done?e(t.value):((i=t.value)instanceof h?i:new h(function(e){e(i)})).then(n,o)}r((d=d.apply(i,l||[])).next())})})},88941:function(e,t,i){"use strict";i.d(t,{C3:function(){return b},Je:function(){return w},sT:function(){return v}});var n=i(9488),o=i(71050),r=i(17301),s=i(53725),a=i(43702),l=i(50187),h=i(24314),d=i(88191),u=i(72065),c=i(65026),g=i(73733),p=i(9917),m=i(71922),f=function(e,t){return function(i,n){t(i,n,e)}};class _{remove(){var e;null===(e=this.parent)||void 0===e||e.children.delete(this.id)}static findId(e,t){let i;"string"==typeof e?i=`${t.id}/${e}`:(i=`${t.id}/${e.name}`,void 0!==t.children.get(i)&&(i=`${t.id}/${e.name}_${e.range.startLineNumber}_${e.range.startColumn}`));let n=i;for(let e=0;void 0!==t.children.get(n);e++)n=`${i}_${e}`;return n}static empty(e){return 0===e.children.size}}class v extends _{constructor(e,t,i){super(),this.id=e,this.parent=t,this.symbol=i,this.children=new Map}}class C extends _{constructor(e,t,i,n){super(),this.id=e,this.parent=t,this.label=i,this.order=n,this.children=new Map}}class b extends _{constructor(e){super(),this.uri=e,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}static create(e,t,i){let s=new o.A(i),a=new b(t.uri),l=e.ordered(t),h=l.map((e,i)=>{var n;let o=_.findId(`provider_${i}`,a),l=new C(o,a,null!==(n=e.displayName)&&void 0!==n?n:"Unknown Outline Provider",i);return Promise.resolve(e.provideDocumentSymbols(t,s.token)).then(e=>{for(let t of e||[])b._makeOutlineElement(t,l);return l},e=>((0,r.Cp)(e),l)).then(e=>{_.empty(e)?e.remove():a._groups.set(o,e)})}),d=e.onDidChange(()=>{let i=e.ordered(t);(0,n.fS)(i,l)||s.cancel()});return Promise.all(h).then(()=>s.token.isCancellationRequested&&!i.isCancellationRequested?b.create(e,t,i):a._compact()).finally(()=>{d.dispose()})}static _makeOutlineElement(e,t){let i=_.findId(e,t),n=new v(i,t,e);if(e.children)for(let t of e.children)b._makeOutlineElement(t,n);t.children.set(n.id,n)}_compact(){let e=0;for(let[t,i]of this._groups)0===i.children.size?this._groups.delete(t):e+=1;if(1!==e)this.children=this._groups;else{let e=s.$.first(this._groups.values());for(let[,t]of e.children)t.parent=this,this.children.set(t.id,t)}return this}getTopLevelSymbols(){let e=[];for(let t of this.children.values())t instanceof v?e.push(t.symbol):e.push(...s.$.map(t.children.values(),e=>e.symbol));return e.sort((e,t)=>h.e.compareRangesUsingStarts(e.range,t.range))}asListOfDocumentSymbols(){let e=this.getTopLevelSymbols(),t=[];return b._flattenDocumentSymbols(t,e,""),t.sort((e,t)=>l.L.compare(h.e.getStartPosition(e.range),h.e.getStartPosition(t.range))||l.L.compare(h.e.getEndPosition(t.range),h.e.getEndPosition(e.range)))}static _flattenDocumentSymbols(e,t,i){for(let n of t)e.push({kind:n.kind,tags:n.tags,name:n.name,detail:n.detail,containerName:n.containerName||i,range:n.range,selectionRange:n.selectionRange,children:void 0}),n.children&&b._flattenDocumentSymbols(e,n.children,n.name)}}let w=(0,u.yh)("IOutlineModelService"),y=class{constructor(e,t,i){this._languageFeaturesService=e,this._disposables=new p.SL,this._cache=new a.z6(10,.7),this._debounceInformation=t.for(e.documentSymbolProvider,"DocumentSymbols",{min:350}),this._disposables.add(i.onModelRemoved(e=>{this._cache.delete(e.id)}))}dispose(){this._disposables.dispose()}getOrCreate(e,t){var i,r,s,a;return i=this,r=void 0,s=void 0,a=function*(){let i=this._languageFeaturesService.documentSymbolProvider,r=i.ordered(e),s=this._cache.get(e.id);if(!s||s.versionId!==e.getVersionId()||!(0,n.fS)(s.provider,r)){let t=new o.A;s={versionId:e.getVersionId(),provider:r,promiseCnt:0,source:t,promise:b.create(i,e,t.token),model:void 0},this._cache.set(e.id,s);let n=Date.now();s.promise.then(t=>{s.model=t,this._debounceInformation.update(e,Date.now()-n)}).catch(t=>{this._cache.delete(e.id)})}if(s.model)return s.model;s.promiseCnt+=1;let a=t.onCancellationRequested(()=>{0==--s.promiseCnt&&(s.source.cancel(),this._cache.delete(e.id))});try{return yield s.promise}finally{a.dispose()}},new(s||(s=Promise))(function(e,t){function n(e){try{l(a.next(e))}catch(e){t(e)}}function o(e){try{l(a.throw(e))}catch(e){t(e)}}function l(t){var i;t.done?e(t.value):((i=t.value)instanceof s?i:new s(function(e){e(i)})).then(n,o)}l((a=a.apply(i,r||[])).next())})}};y=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([f(0,m.p),f(1,d.A),f(2,g.q)],y),(0,c.z)(w,y,!0)},22482:function(e,t,i){"use strict";var n=i(15393),o=i(73278),r=i(9917),s=i(81170),a=i(95935),l=i(70666),h=i(53201),d=i(16830),u=i(66007),c=i(24314),g=i(3860),p=i(71922),m=i(14410),f=i(98762),_=i(35084),v=i(63580),C=i(90535),b=i(40382),w=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},y=function(e,t){return function(i,n){t(i,n,e)}},S=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let L=class extends r.JT{constructor(e,t,i,n,o){super(),this._bulkEditService=t,this._languageFeaturesService=i,this._progressService=n,this._register(e.onDropIntoEditor(t=>this.onDropIntoEditor(e,t.position,t.event))),this._languageFeaturesService.documentOnDropEditProvider.register("*",new k(o))}onDropIntoEditor(e,t,i){return S(this,void 0,void 0,function*(){if(!i.dataTransfer||!e.hasModel())return;let o=e.getModel(),r=o.getVersionId(),s=yield this.extractDataTransferData(i);if(0===s.size||e.getModel().getVersionId()!==r)return;let a=new m.Dl(e,1);try{let i=this._languageFeaturesService.documentOnDropEditProvider.ordered(o),l=yield this._progressService.withProgress({location:15,delay:750,title:(0,v.NC)("dropProgressTitle","Running drop handlers..."),cancellable:!0},()=>(0,n.eP)(S(this,void 0,void 0,function*(){for(let e of i){let i=yield e.provideDocumentOnDropEdits(o,t,s,a.token);if(a.token.isCancellationRequested)break;if(i)return i}}),a.token),()=>{a.cancel()});if(a.token.isCancellationRequested||e.getModel().getVersionId()!==r)return;if(l){let i=new c.e(t.lineNumber,t.column,t.lineNumber,t.column);(0,f.z)(e,"string"==typeof l.insertText?_.Yj.escape(l.insertText):l.insertText.snippet,[g.Y.fromRange(i,0)]),l.additionalEdit&&(yield this._bulkEditService.apply(u.fo.convert(l.additionalEdit),{editor:e}));return}}finally{a.dispose()}})}extractDataTransferData(e){return S(this,void 0,void 0,function*(){if(!e.dataTransfer)return new o.Hl;let t=(0,h.Bo)(e.dataTransfer);return(0,h.dR)(t,e),t})}};L.ID="editor.contrib.dropIntoEditorController",L=w([y(1,u.vu),y(2,p.p),y(3,C.R9),y(4,b.ec)],L);let k=class{constructor(e){this._workspaceContextService=e}provideDocumentOnDropEdits(e,t,i,n){var o;return S(this,void 0,void 0,function*(){let e=i.get(s.v.uriList);if(e){let t=yield e.asString(),i=this.getUriListInsertText(t);if(i)return{insertText:i}}let t=null!==(o=i.get("text"))&&void 0!==o?o:i.get(s.v.text);if(t){let e=yield t.asString();return{insertText:e}}})}getUriListInsertText(e){let t=[];for(let i of h.Z0.parse(e))try{t.push(l.o.parse(i))}catch(e){}if(t.length)return t.map(e=>{let t=this._workspaceContextService.getWorkspaceFolder(e);if(t){let i=(0,a.lX)(t.uri,e);if(i)return i}return e.fsPath}).join(" ")}};k=w([y(0,b.ec)],k),(0,d._K)(L.ID,L)},14410:function(e,t,i){"use strict";i.d(t,{yy:function(){return f},Dl:function(){return _},YQ:function(){return v}});var n=i(97295),o=i(24314),r=i(71050),s=i(9917),a=i(16830),l=i(38819),h=i(91741),d=i(72065),u=i(65026),c=i(63580);let g=(0,d.yh)("IEditorCancelService"),p=new l.uy("cancellableOperation",!1,(0,c.NC)("cancellableOperation","Whether the editor runs a cancellable operation, e.g. like 'Peek References'"));(0,u.z)(g,class{constructor(){this._tokens=new WeakMap}add(e,t){let i,n=this._tokens.get(e);return n||(n=e.invokeWithinContext(e=>{let t=p.bindTo(e.get(l.i6)),i=new h.S;return{key:t,tokens:i}}),this._tokens.set(e,n)),n.key.set(!0),i=n.tokens.push(t),()=>{i&&(i(),n.key.set(!n.tokens.isEmpty()),i=void 0)}}cancel(e){let t=this._tokens.get(e);if(!t)return;let i=t.tokens.pop();i&&(i.cancel(),t.key.set(!t.tokens.isEmpty()))}},!0);class m extends r.A{constructor(e,t){super(t),this.editor=e,this._unregister=e.invokeWithinContext(t=>t.get(g).add(e,this))}dispose(){this._unregister(),super.dispose()}}(0,a.fK)(new class extends a._l{constructor(){super({id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:p})}runEditorCommand(e,t){e.get(g).cancel(t)}});class f{constructor(e,t){if(this.flags=t,(1&this.flags)!=0){let t=e.getModel();this.modelVersionId=t?n.WU("{0}#{1}",t.uri.toString(),t.getVersionId()):null}else this.modelVersionId=null;(4&this.flags)!=0?this.position=e.getPosition():this.position=null,(2&this.flags)!=0?this.selection=e.getSelection():this.selection=null,(8&this.flags)!=0?(this.scrollLeft=e.getScrollLeft(),this.scrollTop=e.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}_equals(e){return e instanceof f&&this.modelVersionId===e.modelVersionId&&this.scrollLeft===e.scrollLeft&&this.scrollTop===e.scrollTop&&(!!this.position||!e.position)&&(!this.position||!!e.position)&&(!this.position||!e.position||!!this.position.equals(e.position))&&(!!this.selection||!e.selection)&&(!this.selection||!!e.selection)&&(!this.selection||!e.selection||!!this.selection.equalsRange(e.selection))}validate(e){return this._equals(new f(e,this.flags))}}class _ extends m{constructor(e,t,i,n){super(e,n),this._listener=new s.SL,4&t&&this._listener.add(e.onDidChangeCursorPosition(e=>{i&&o.e.containsPosition(i,e.position)||this.cancel()})),2&t&&this._listener.add(e.onDidChangeCursorSelection(e=>{i&&o.e.containsRange(i,e.selection)||this.cancel()})),8&t&&this._listener.add(e.onDidScrollChange(e=>this.cancel())),1&t&&(this._listener.add(e.onDidChangeModel(e=>this.cancel())),this._listener.add(e.onDidChangeModelContent(e=>this.cancel())))}dispose(){this._listener.dispose(),super.dispose()}}class v extends r.A{constructor(e,t){super(t),this._listener=e.onDidChangeContent(()=>this.cancel())}dispose(){this._listener.dispose(),super.dispose()}}},55826:function(e,t,i){"use strict";i.d(t,{pR:function(){return ez}});var n=i(15393),o=i(9917),r=i(97295),s=i(16830),a=i(29102),l=i(9488),h=i(61329),d=i(50187),u=i(24314),c=i(3860),g=i(77277),p=i(84973),m=i(22529),f=i(73910),_=i(97781);class v{constructor(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.removeDecorations(this._allDecorations()),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){let e=this._findScopeDecorationIds.map(e=>this._editor.getModel().getDecorationRange(e)).filter(e=>!!e);if(e.length)return e}return null}getStartPosition(){return this._startPosition}setStartPosition(e){this._startPosition=e,this.setCurrentFindMatch(null)}_getDecorationIndex(e){let t=this._decorations.indexOf(e);return t>=0?t+1:1}getCurrentMatchesPosition(e){let t=this._editor.getModel().getDecorationsInRange(e);for(let e of t){let t=e.options;if(t===v._FIND_MATCH_DECORATION||t===v._CURRENT_FIND_MATCH_DECORATION)return this._getDecorationIndex(e.id)}return 0}setCurrentFindMatch(e){let t=null,i=0;if(e)for(let n=0,o=this._decorations.length;n{if(null!==this._highlightedDecorationId&&(e.changeDecorationOptions(this._highlightedDecorationId,v._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),null!==t&&(this._highlightedDecorationId=t,e.changeDecorationOptions(this._highlightedDecorationId,v._CURRENT_FIND_MATCH_DECORATION)),null!==this._rangeHighlightDecorationId&&(e.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),null!==t){let i=this._editor.getModel().getDecorationRange(t);if(i.startLineNumber!==i.endLineNumber&&1===i.endColumn){let e=i.endLineNumber-1,t=this._editor.getModel().getLineMaxColumn(e);i=new u.e(i.startLineNumber,i.startColumn,e,t)}this._rangeHighlightDecorationId=e.addDecoration(i,v._RANGE_HIGHLIGHT_DECORATION)}}),i}set(e,t){this._editor.changeDecorations(i=>{let n=v._FIND_MATCH_DECORATION,o=[];if(e.length>1e3){n=v._FIND_MATCH_NO_OVERVIEW_DECORATION;let t=this._editor.getModel().getLineCount(),i=this._editor.getLayoutInfo().height,r=Math.max(2,Math.ceil(3/(i/t))),s=e[0].range.startLineNumber,a=e[0].range.endLineNumber;for(let t=1,i=e.length;t=i.startLineNumber?i.endLineNumber>a&&(a=i.endLineNumber):(o.push({range:new u.e(s,1,a,1),options:v._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),s=i.startLineNumber,a=i.endLineNumber)}o.push({range:new u.e(s,1,a,1),options:v._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}let r=Array(e.length);for(let t=0,i=e.length;ti.removeDecoration(e)),this._findScopeDecorationIds=[]),(null==t?void 0:t.length)&&(this._findScopeDecorationIds=t.map(e=>i.addDecoration(e,v._FIND_SCOPE_DECORATION)))})}matchBeforePosition(e){if(0===this._decorations.length)return null;for(let t=this._decorations.length-1;t>=0;t--){let i=this._decorations[t],n=this._editor.getModel().getDecorationRange(i);if(n&&!(n.endLineNumber>e.lineNumber)&&(n.endLineNumbere.column)))return n}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(e){if(0===this._decorations.length)return null;for(let t=0,i=this._decorations.length;te.lineNumber||!(n.startColumn0){let e=[];for(let t=0;tu.e.compareRangesUsingStarts(e.range,t.range));let i=[],n=e[0];for(let t=1;t0?t[0].toUpperCase()+t.substr(1):e[0][0].toUpperCase()!==e[0][0]&&t.length>0?t[0].toLowerCase()+t.substr(1):t}}function w(e,t,i){let n=-1!==e[0].indexOf(i)&&-1!==t.indexOf(i);return n&&e[0].split(i).length===t.split(i).length}function y(e,t,i){let n=t.split(i),o=e[0].split(i),r="";return n.forEach((e,t)=>{r+=b([o[t]],e)+i}),r.slice(0,-1)}class S{constructor(e){this.staticValue=e,this.kind=0}}class L{constructor(e){this.pieces=e,this.kind=1}}class k{constructor(e){e&&0!==e.length?1===e.length&&null!==e[0].staticValue?this._state=new S(e[0].staticValue):this._state=new L(e):this._state=new S("")}static fromStaticValue(e){return new k([N.staticValue(e)])}get hasReplacementPatterns(){return 1===this._state.kind}buildReplaceString(e,t){if(0===this._state.kind)return t?b(e,this._state.staticValue):this._state.staticValue;let i="";for(let t=0,n=this._state.pieces.length;t0){let e=[],t=n.caseOps.length,i=0;for(let r=0,s=o.length;r=t){e.push(o.slice(r));break}switch(n.caseOps[i]){case"U":e.push(o[r].toUpperCase());break;case"u":e.push(o[r].toUpperCase()),i++;break;case"L":e.push(o[r].toLowerCase());break;case"l":e.push(o[r].toLowerCase()),i++;break;default:e.push(o[r])}}o=e.join("")}i+=o}return i}static _substitute(e,t){if(null===t)return"";if(0===e)return t[0];let i="";for(;e>0;){if(ethis.research(!1),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition(e=>{(3===e.reason||5===e.reason||6===e.reason)&&this._decorations.setStartPosition(this._editor.getPosition())})),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent(e=>{this._ignoreModelContentChanged||(e.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())})),this._toDispose.add(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,(0,o.B9)(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(e){if(!this._isDisposed&&this._editor.hasModel()&&(e.searchString||e.isReplaceRevealed||e.isRegex||e.wholeWord||e.matchCase||e.searchScope)){let t=this._editor.getModel();t.isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet(()=>{e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)},240)):e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)}}static _getSearchRange(e,t){return t||e.getFullModelRange()}research(e,t){let i=null;void 0!==t?null!==t&&(i=Array.isArray(t)?t:[t]):i=this._decorations.getFindScopes(),null!==i&&(i=i.map(e=>{if(e.startLineNumber!==e.endLineNumber){let t=e.endLineNumber;return 1===e.endColumn&&(t-=1),new u.e(e.startLineNumber,1,t,this._editor.getModel().getLineMaxColumn(t))}return e}));let n=this._findMatches(i,!1,19999);this._decorations.set(n,i);let o=this._editor.getSelection(),r=this._decorations.getCurrentMatchesPosition(o);if(0===r&&n.length>0){let e=(0,l.lG)(n.map(e=>e.range),e=>u.e.compareRangesUsingStarts(e,o)>=0);r=e>0?e-1+1:r}this._state.changeMatchInfo(r,this._decorations.getCount(),void 0),e&&this._editor.getOption(37).cursorMoveOnType&&this._moveToNextMatch(this._decorations.getStartPosition())}_hasMatches(){return this._state.matchesCount>0}_cannotFind(){if(!this._hasMatches()){let e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1}_setCurrentFindMatch(e){let t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)}_prevSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:i,column:n}=e,o=this._editor.getModel();return t||1===n?(1===i?i=o.getLineCount():i--,n=o.getLineMaxColumn(i)):n--,new d.L(i,n)}_moveToPrevMatch(e,t=!1){if(!this._state.canNavigateBack()){let t=this._decorations.matchAfterPosition(e);t&&this._setCurrentFindMatch(t);return}if(19999>this._decorations.getCount()){let t=this._decorations.matchBeforePosition(e);t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._prevSearchPosition(e),t=this._decorations.matchBeforePosition(e)),t&&this._setCurrentFindMatch(t);return}if(this._cannotFind())return;let i=this._decorations.getFindScope(),n=B._getSearchRange(this._editor.getModel(),i);n.getEndPosition().isBefore(e)&&(e=n.getEndPosition()),e.isBefore(n.getStartPosition())&&(e=n.getEndPosition());let{lineNumber:o,column:r}=e,s=this._editor.getModel(),a=new d.L(o,r),l=s.findPreviousMatch(this._state.searchString,a,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(119):null,!1);if(l&&l.range.isEmpty()&&l.range.getStartPosition().equals(a)&&(a=this._prevSearchPosition(a),l=s.findPreviousMatch(this._state.searchString,a,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(119):null,!1)),l){if(!t&&!n.containsRange(l.range))return this._moveToPrevMatch(l.range.getStartPosition(),!0);this._setCurrentFindMatch(l.range)}}moveToPrevMatch(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())}_nextSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:i,column:n}=e,o=this._editor.getModel();return t||n===o.getLineMaxColumn(i)?(i===o.getLineCount()?i=1:i++,n=1):n++,new d.L(i,n)}_moveToNextMatch(e){if(!this._state.canNavigateForward()){let t=this._decorations.matchBeforePosition(e);t&&this._setCurrentFindMatch(t);return}if(19999>this._decorations.getCount()){let t=this._decorations.matchAfterPosition(e);t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),t=this._decorations.matchAfterPosition(e)),t&&this._setCurrentFindMatch(t);return}let t=this._getNextMatch(e,!1,!0);t&&this._setCurrentFindMatch(t.range)}_getNextMatch(e,t,i,n=!1){if(this._cannotFind())return null;let o=this._decorations.getFindScope(),r=B._getSearchRange(this._editor.getModel(),o);r.getEndPosition().isBefore(e)&&(e=r.getStartPosition()),e.isBefore(r.getStartPosition())&&(e=r.getStartPosition());let{lineNumber:s,column:a}=e,l=this._editor.getModel(),h=new d.L(s,a),u=l.findNextMatch(this._state.searchString,h,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(119):null,t);return(i&&u&&u.range.isEmpty()&&u.range.getStartPosition().equals(h)&&(h=this._nextSearchPosition(h),u=l.findNextMatch(this._state.searchString,h,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(119):null,t)),u)?n||r.containsRange(u.range)?u:this._getNextMatch(u.range.getEndPosition(),t,i,!0):null}moveToNextMatch(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())}_getReplacePattern(){return this._state.isRegex?function(e){if(!e||0===e.length)return new k(null);let t=[],i=new D(e);for(let n=0,o=e.length;n=o)break;let r=e.charCodeAt(n);switch(r){case 92:i.emitUnchanged(n-1),i.emitStatic("\\",n+1);break;case 110:i.emitUnchanged(n-1),i.emitStatic("\n",n+1);break;case 116:i.emitUnchanged(n-1),i.emitStatic(" ",n+1);break;case 117:case 85:case 108:case 76:i.emitUnchanged(n-1),i.emitStatic("",n+1),t.push(String.fromCharCode(r))}continue}if(36===r){if(++n>=o)break;let r=e.charCodeAt(n);if(36===r){i.emitUnchanged(n-1),i.emitStatic("$",n+1);continue}if(48===r||38===r){i.emitUnchanged(n-1),i.emitMatchIndex(0,n+1,t),t.length=0;continue}if(49<=r&&r<=57){let s=r-48;if(n+1B._getSearchRange(this._editor.getModel(),e));return this._editor.getModel().findMatches(this._state.searchString,n,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(119):null,t,i)}replaceAll(){if(!this._hasMatches())return;let e=this._decorations.getFindScopes();null===e&&this._state.matchesCount>=19999?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}_largeReplaceAll(){let e;let t=new g.bc(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(119):null),i=t.parseSearchRequest();if(!i)return;let n=i.regex;if(!n.multiline){let e="mu";n.ignoreCase&&(e+="i"),n.global&&(e+="g"),n=new RegExp(n.source,e)}let o=this._editor.getModel(),r=o.getValue(1),s=o.getFullModelRange(),a=this._getReplacePattern(),l=this._state.preserveCase;e=a.hasReplacementPatterns||l?r.replace(n,function(){return a.buildReplaceString(arguments,l)}):r.replace(n,a.buildReplaceString(null,l));let d=new h.hP(s,e,this._editor.getSelection());this._executeEditorCommand("replaceAll",d)}_regularReplaceAll(e){let t=this._getReplacePattern(),i=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),n=[];for(let e=0,o=i.length;ee.range),n);this._executeEditorCommand("replaceAll",o)}selectAllMatches(){if(!this._hasMatches())return;let e=this._decorations.getFindScopes(),t=this._findMatches(e,!1,1073741824),i=t.map(e=>new c.Y(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)),n=this._editor.getSelection();for(let e=0,t=i.length;ethis._hide(),2e3)),this._isVisible=!1,this._editor=e,this._state=t,this._keybindingService=i,this._domNode=document.createElement("div"),this._domNode.className="findOptionsWidget",this._domNode.style.display="none",this._domNode.style.top="10px",this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true");let r=o.getColorTheme().getColor(f.PRb),s=o.getColorTheme().getColor(f.Pvw),a=o.getColorTheme().getColor(f.XEs);this.caseSensitive=this._register(new W.rk({appendTitle:this._keybindingLabelFor(F.ToggleCaseSensitiveCommand),isChecked:this._state.matchCase,inputActiveOptionBorder:r,inputActiveOptionForeground:s,inputActiveOptionBackground:a})),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange(()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)})),this.wholeWords=this._register(new W.Qx({appendTitle:this._keybindingLabelFor(F.ToggleWholeWordCommand),isChecked:this._state.wholeWord,inputActiveOptionBorder:r,inputActiveOptionForeground:s,inputActiveOptionBackground:a})),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange(()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)})),this.regex=this._register(new W.eH({appendTitle:this._keybindingLabelFor(F.ToggleRegexCommand),isChecked:this._state.isRegex,inputActiveOptionBorder:r,inputActiveOptionForeground:s,inputActiveOptionBackground:a})),this._domNode.appendChild(this.regex.domNode),this._register(this.regex.onChange(()=>{this._state.change({isRegex:this.regex.checked},!1)})),this._editor.addOverlayWidget(this),this._register(this._state.onFindReplaceStateChange(e=>{let t=!1;e.isRegex&&(this.regex.checked=this._state.isRegex,t=!0),e.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,t=!0),e.matchCase&&(this.caseSensitive.checked=this._state.matchCase,t=!0),!this._state.isRevealed&&t&&this._revealTemporarily()})),this._register(V.nm(this._domNode,V.tw.MOUSE_LEAVE,e=>this._onMouseLeave())),this._register(V.nm(this._domNode,"mouseover",e=>this._onMouseOver())),this._applyTheme(o.getColorTheme()),this._register(o.onDidColorThemeChange(this._applyTheme.bind(this)))}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return z.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseLeave(){this._hideSoon.schedule()}_onMouseOver(){this._hideSoon.cancel()}_show(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")}_hide(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")}_applyTheme(e){let t={inputActiveOptionBorder:e.getColor(f.PRb),inputActiveOptionForeground:e.getColor(f.Pvw),inputActiveOptionBackground:e.getColor(f.XEs)};this.caseSensitive.style(t),this.wholeWords.style(t),this.regex.style(t)}}z.ID="editor.contrib.findOptionsWidget",(0,_.Ic)((e,t)=>{let i=e.getColor(f.D0T);i&&t.addRule(`.monaco-editor .findOptionsWidget { background-color: ${i}; }`);let n=e.getColor(f.Hfx);n&&t.addRule(`.monaco-editor .findOptionsWidget { color: ${n}; }`);let o=e.getColor(f.rh);o&&t.addRule(`.monaco-editor .findOptionsWidget { box-shadow: 0 0 8px 2px ${o}; }`);let r=e.getColor(f.lRK);r&&t.addRule(`.monaco-editor .findOptionsWidget { border: 2px solid ${r}; }`)});var K=i(4669);function U(e,t){return 1===e||2!==e&&t}class $ extends o.JT{constructor(){super(),this._onFindReplaceStateChange=this._register(new K.Q5),this.onFindReplaceStateChange=this._onFindReplaceStateChange.event,this._searchString="",this._replaceString="",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._preserveCase=!1,this._preserveCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._loop=!0,this._isSearching=!1,this._filters=null}get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return U(this._isRegexOverride,this._isRegex)}get wholeWord(){return U(this._wholeWordOverride,this._wholeWord)}get matchCase(){return U(this._matchCaseOverride,this._matchCase)}get preserveCase(){return U(this._preserveCaseOverride,this._preserveCase)}get actualIsRegex(){return this._isRegex}get actualWholeWord(){return this._wholeWord}get actualMatchCase(){return this._matchCase}get actualPreserveCase(){return this._preserveCase}get searchScope(){return this._searchScope}get matchesPosition(){return this._matchesPosition}get matchesCount(){return this._matchesCount}get currentMatch(){return this._currentMatch}changeMatchInfo(e,t,i){let n={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1},o=!1;0===t&&(e=0),e>t&&(e=t),this._matchesPosition!==e&&(this._matchesPosition=e,n.matchesPosition=!0,o=!0),this._matchesCount!==t&&(this._matchesCount=t,n.matchesCount=!0,o=!0),void 0===i||u.e.equalsRange(this._currentMatch,i)||(this._currentMatch=i,n.currentMatch=!0,o=!0),o&&this._onFindReplaceStateChange.fire(n)}change(e,t,i=!0){var n;let o={moveCursor:t,updateHistory:i,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1},r=!1,s=this.isRegex,a=this.wholeWord,l=this.matchCase,h=this.preserveCase;void 0!==e.searchString&&this._searchString!==e.searchString&&(this._searchString=e.searchString,o.searchString=!0,r=!0),void 0!==e.replaceString&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,o.replaceString=!0,r=!0),void 0!==e.isRevealed&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,o.isRevealed=!0,r=!0),void 0!==e.isReplaceRevealed&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,o.isReplaceRevealed=!0,r=!0),void 0!==e.isRegex&&(this._isRegex=e.isRegex),void 0!==e.wholeWord&&(this._wholeWord=e.wholeWord),void 0!==e.matchCase&&(this._matchCase=e.matchCase),void 0!==e.preserveCase&&(this._preserveCase=e.preserveCase),void 0===e.searchScope||(null===(n=e.searchScope)||void 0===n?void 0:n.every(e=>{var t;return null===(t=this._searchScope)||void 0===t?void 0:t.some(t=>!u.e.equalsRange(t,e))}))||(this._searchScope=e.searchScope,o.searchScope=!0,r=!0),void 0!==e.loop&&this._loop!==e.loop&&(this._loop=e.loop,o.loop=!0,r=!0),void 0!==e.isSearching&&this._isSearching!==e.isSearching&&(this._isSearching=e.isSearching,o.isSearching=!0,r=!0),void 0!==e.filters&&(this._filters?this._filters.update(e.filters):this._filters=e.filters,o.filters=!0,r=!0),this._isRegexOverride=void 0!==e.isRegexOverride?e.isRegexOverride:0,this._wholeWordOverride=void 0!==e.wholeWordOverride?e.wholeWordOverride:0,this._matchCaseOverride=void 0!==e.matchCaseOverride?e.matchCaseOverride:0,this._preserveCaseOverride=void 0!==e.preserveCaseOverride?e.preserveCaseOverride:0,s!==this.isRegex&&(r=!0,o.isRegex=!0),a!==this.wholeWord&&(r=!0,o.wholeWord=!0),l!==this.matchCase&&(r=!0,o.matchCase=!0),h!==this.preserveCase&&(r=!0,o.preserveCase=!0),r&&this._onFindReplaceStateChange.fire(o)}canNavigateBack(){return this.canNavigateInLoop()||1!==this.matchesPosition}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition=19999}}var j=i(85152),q=i(82900),G=i(73098),Q=i(73046),Z=i(17301),Y=i(1432);i(99580);var J=i(63580),X=i(37726);function ee(e){var t,i;return(null===(t=e.lookupKeybinding("history.showPrevious"))||void 0===t?void 0:t.getElectronAccelerator())==="Up"&&(null===(i=e.lookupKeybinding("history.showNext"))||void 0===i?void 0:i.getElectronAccelerator())==="Down"}var et=i(59554),ei=i(92321);let en=(0,et.q5)("find-selection",Q.lA.selection,J.NC("findSelectionIcon","Icon for 'Find in Selection' in the editor find widget.")),eo=(0,et.q5)("find-collapsed",Q.lA.chevronRight,J.NC("findCollapsedIcon","Icon to indicate that the editor find widget is collapsed.")),er=(0,et.q5)("find-expanded",Q.lA.chevronDown,J.NC("findExpandedIcon","Icon to indicate that the editor find widget is expanded.")),es=(0,et.q5)("find-replace",Q.lA.replace,J.NC("findReplaceIcon","Icon for 'Replace' in the editor find widget.")),ea=(0,et.q5)("find-replace-all",Q.lA.replaceAll,J.NC("findReplaceAllIcon","Icon for 'Replace All' in the editor find widget.")),el=(0,et.q5)("find-previous-match",Q.lA.arrowUp,J.NC("findPreviousMatchIcon","Icon for 'Find Previous' in the editor find widget.")),eh=(0,et.q5)("find-next-match",Q.lA.arrowDown,J.NC("findNextMatchIcon","Icon for 'Find Next' in the editor find widget.")),ed=J.NC("label.find","Find"),eu=J.NC("placeholder.find","Find"),ec=J.NC("label.previousMatchButton","Previous Match"),eg=J.NC("label.nextMatchButton","Next Match"),ep=J.NC("label.toggleSelectionFind","Find in Selection"),em=J.NC("label.closeButton","Close"),ef=J.NC("label.replace","Replace"),e_=J.NC("placeholder.replace","Replace"),ev=J.NC("label.replaceButton","Replace"),eC=J.NC("label.replaceAllButton","Replace All"),eb=J.NC("label.toggleReplaceButton","Toggle Replace"),ew=J.NC("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",19999),ey=J.NC("label.matchesLocation","{0} of {1}"),eS=J.NC("label.noResults","No results"),eL=69,ek="ctrlEnterReplaceAll.windows.donotask",eN=Y.dz?256:2048;class eD{constructor(e){this.afterLineNumber=e,this.heightInPx=33,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}}function ex(e,t,i){let n=!!t.match(/\n/);if(i&&n&&i.selectionStart>0){e.stopPropagation();return}}function eI(e,t,i){let n=!!t.match(/\n/);if(i&&n&&i.selectionEndthis._updateHistoryDelayer.cancel())),this._register(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration(e=>{if(e.hasChanged(83)&&(this._codeEditor.getOption(83)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),e.hasChanged(133)&&this._tryUpdateWidgetWidth(),e.hasChanged(2)&&this.updateAccessibilitySupport(),e.hasChanged(37)){let e=this._codeEditor.getOption(37).addExtraSpaceOnTop;e&&!this._viewZone&&(this._viewZone=new eD(0),this._showViewZone()),!e&&this._viewZone&&this._removeViewZone()}})),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection(()=>{this._isVisible&&this._updateToggleSelectionFindButton()})),this._register(this._codeEditor.onDidFocusEditorWidget(()=>{var e,t,i,n;return e=this,t=void 0,i=void 0,n=function*(){if(this._isVisible){let e=yield this._controller.getGlobalBufferTerm();e&&e!==this._state.searchString&&(this._state.change({searchString:e},!1),this._findInput.select())}},new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})})),this._findInputFocused=E.bindTo(a),this._findFocusTracker=this._register(V.go(this._findInput.inputBox.inputElement)),this._register(this._findFocusTracker.onDidFocus(()=>{this._findInputFocused.set(!0),this._updateSearchScope()})),this._register(this._findFocusTracker.onDidBlur(()=>{this._findInputFocused.set(!1)})),this._replaceInputFocused=T.bindTo(a),this._replaceFocusTracker=this._register(V.go(this._replaceInput.inputBox.inputElement)),this._register(this._replaceFocusTracker.onDidFocus(()=>{this._replaceInputFocused.set(!0),this._updateSearchScope()})),this._register(this._replaceFocusTracker.onDidBlur(()=>{this._replaceInputFocused.set(!1)})),this._codeEditor.addOverlayWidget(this),this._codeEditor.getOption(37).addExtraSpaceOnTop&&(this._viewZone=new eD(0)),this._applyTheme(l.getColorTheme()),this._register(l.onDidColorThemeChange(this._applyTheme.bind(this))),this._register(this._codeEditor.onDidChangeModel(()=>{this._isVisible&&(this._viewZoneId=void 0)})),this._register(this._codeEditor.onDidScrollChange(e=>{if(e.scrollTopChanged){this._layoutViewZone();return}setTimeout(()=>{this._layoutViewZone()},0)}))}getId(){return eE.ID}getDomNode(){return this._domNode}getPosition(){return this._isVisible?{preference:0}:null}_onStateChanged(e){if(e.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(e.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),e.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),e.isReplaceRevealed&&(this._state.isReplaceRevealed?this._codeEditor.getOption(83)||this._isReplaceVisible||(this._isReplaceVisible=!0,this._replaceInput.width=V.w(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(e.isRevealed||e.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),e.isRegex&&this._findInput.setRegex(this._state.isRegex),e.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),e.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),e.preserveCase&&this._replaceInput.setPreserveCase(this._state.preserveCase),e.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),e.searchString||e.matchesCount||e.matchesPosition){let e=this._state.searchString.length>0&&0===this._state.matchesCount;this._domNode.classList.toggle("no-results",e),this._updateMatchesCount(),this._updateButtons()}(e.searchString||e.currentMatch)&&this._layoutViewZone(),e.updateHistory&&this._delayedUpdateHistory(),e.loop&&this._updateButtons()}_delayedUpdateHistory(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this)).then(void 0,Z.dL)}_updateHistory(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()}_updateMatchesCount(){let e;if(this._matchesCount.style.minWidth=eL+"px",this._state.matchesCount>=19999?this._matchesCount.title=ew:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild),this._state.matchesCount>0){let t=String(this._state.matchesCount);this._state.matchesCount>=19999&&(t+="+");let i=String(this._state.matchesPosition);"0"===i&&(i="?"),e=r.WU(ey,i,t)}else e=eS;this._matchesCount.appendChild(document.createTextNode(e)),(0,j.Z9)(this._getAriaLabel(e,this._state.currentMatch,this._state.searchString)),eL=Math.max(eL,this._matchesCount.clientWidth)}_getAriaLabel(e,t,i){if(e===eS)return""===i?J.NC("ariaSearchNoResultEmpty","{0} found",e):J.NC("ariaSearchNoResult","{0} found for '{1}'",e,i);if(t){let n=J.NC("ariaSearchNoResultWithLineNum","{0} found for '{1}', at {2}",e,i,t.startLineNumber+":"+t.startColumn),o=this._codeEditor.getModel();if(o&&t.startLineNumber<=o.getLineCount()&&t.startLineNumber>=1){let e=o.getLineContent(t.startLineNumber);return`${e}, ${n}`}return n}return J.NC("ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for '{1}'",e,i)}_updateToggleSelectionFindButton(){let e=this._codeEditor.getSelection(),t=!!e&&(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn),i=this._toggleSelectionFind.checked;this._isVisible&&(i||t)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()}_updateButtons(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);let e=this._state.searchString.length>0,t=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateBack()),this._nextBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateForward()),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._domNode.classList.toggle("replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);let i=!this._codeEditor.getOption(83);this._toggleReplaceBtn.setEnabled(this._isVisible&&i)}_reveal(){if(this._revealTimeouts.forEach(e=>{clearTimeout(e)}),this._revealTimeouts=[],!this._isVisible){this._isVisible=!0;let e=this._codeEditor.getSelection();switch(this._codeEditor.getOption(37).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":{let t=!!e&&e.startLineNumber!==e.endLineNumber;this._toggleSelectionFind.checked=t}}this._tryUpdateWidgetWidth(),this._updateButtons(),this._revealTimeouts.push(setTimeout(()=>{this._domNode.classList.add("visible"),this._domNode.setAttribute("aria-hidden","false")},0)),this._revealTimeouts.push(setTimeout(()=>{this._findInput.validate()},200)),this._codeEditor.layoutOverlayWidget(this);let t=!0;if(this._codeEditor.getOption(37).seedSearchStringFromSelection&&e){let i=this._codeEditor.getDomNode();if(i){let n=V.i(i),o=this._codeEditor.getScrolledVisiblePosition(e.getStartPosition()),r=n.left+(o?o.left:0),s=o?o.top:0;if(this._viewZone&&se.startLineNumber&&(t=!1);let i=V.xQ(this._domNode).left;r>i&&(t=!1);let o=this._codeEditor.getScrolledVisiblePosition(e.getEndPosition()),s=n.left+(o?o.left:0);s>i&&(t=!1)}}}this._showViewZone(t)}}_hide(e){this._revealTimeouts.forEach(e=>{clearTimeout(e)}),this._revealTimeouts=[],this._isVisible&&(this._isVisible=!1,this._updateButtons(),this._domNode.classList.remove("visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())}_layoutViewZone(e){let t=this._codeEditor.getOption(37).addExtraSpaceOnTop;if(!t){this._removeViewZone();return}if(!this._isVisible)return;let i=this._viewZone;void 0===this._viewZoneId&&i&&this._codeEditor.changeViewZones(t=>{i.heightInPx=this._getHeight(),this._viewZoneId=t.addZone(i),this._codeEditor.setScrollTop(e||this._codeEditor.getScrollTop()+i.heightInPx)})}_showViewZone(e=!0){if(!this._isVisible)return;let t=this._codeEditor.getOption(37).addExtraSpaceOnTop;if(!t)return;void 0===this._viewZone&&(this._viewZone=new eD(0));let i=this._viewZone;this._codeEditor.changeViewZones(t=>{if(void 0!==this._viewZoneId){let n=this._getHeight();if(n===i.heightInPx)return;let o=n-i.heightInPx;i.heightInPx=n,t.layoutZone(this._viewZoneId),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+o);return}{let n=this._getHeight();if((n-=this._codeEditor.getOption(77).top)<=0)return;i.heightInPx=n,this._viewZoneId=t.addZone(i),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+n)}})}_removeViewZone(){this._codeEditor.changeViewZones(e=>{void 0!==this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0,this._viewZone&&(this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()-this._viewZone.heightInPx),this._viewZone=void 0))})}_applyTheme(e){let t={inputActiveOptionBorder:e.getColor(f.PRb),inputActiveOptionBackground:e.getColor(f.XEs),inputActiveOptionForeground:e.getColor(f.Pvw),inputBackground:e.getColor(f.sEe),inputForeground:e.getColor(f.zJb),inputBorder:e.getColor(f.dt_),inputValidationInfoBackground:e.getColor(f._lC),inputValidationInfoForeground:e.getColor(f.YI3),inputValidationInfoBorder:e.getColor(f.EPQ),inputValidationWarningBackground:e.getColor(f.RV_),inputValidationWarningForeground:e.getColor(f.SUG),inputValidationWarningBorder:e.getColor(f.C3g),inputValidationErrorBackground:e.getColor(f.paE),inputValidationErrorForeground:e.getColor(f._t9),inputValidationErrorBorder:e.getColor(f.OZR)};this._findInput.style(t),this._replaceInput.style(t),this._toggleSelectionFind.style(t)}_tryUpdateWidgetWidth(){if(!this._isVisible||!V.Uw(this._domNode))return;let e=this._codeEditor.getLayoutInfo(),t=e.contentWidth;if(t<=0){this._domNode.classList.add("hiddenEditor");return}this._domNode.classList.contains("hiddenEditor")&&this._domNode.classList.remove("hiddenEditor");let i=e.width,n=e.minimap.minimapWidth,o=!1,r=!1,s=!1;if(this._resized){let e=V.w(this._domNode);if(e>419){this._domNode.style.maxWidth=`${i-28-n-15}px`,this._replaceInput.width=V.w(this._findInput.domNode);return}}if(447+n>=i&&(r=!0),447+n-eL>=i&&(s=!0),447+n-eL>=i+50&&(o=!0),this._domNode.classList.toggle("collapsed-find-widget",o),this._domNode.classList.toggle("narrow-find-widget",s),this._domNode.classList.toggle("reduced-find-widget",r),s||o||(this._domNode.style.maxWidth=`${i-28-n-15}px`),this._resized){this._findInput.inputBox.layout();let e=this._findInput.inputBox.element.clientWidth;e>0&&(this._replaceInput.width=e)}else this._isReplaceVisible&&(this._replaceInput.width=V.w(this._findInput.domNode))}_getHeight(){let e;return e=4+(this._findInput.inputBox.height+2),this._isReplaceVisible&&(e+=4+(this._replaceInput.inputBox.height+2)),e+=4}_tryUpdateHeight(){let e=this._getHeight();return(null===this._cachedHeight||this._cachedHeight!==e)&&(this._cachedHeight=e,this._domNode.style.height=`${e}px`,!0)}focusFindInput(){this._findInput.select(),this._findInput.focus()}focusReplaceInput(){this._replaceInput.select(),this._replaceInput.focus()}highlightFindOptions(){this._findInput.highlightFindOptions()}_updateSearchScope(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){let e=this._codeEditor.getSelections();e.map(e=>{1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)));let t=this._state.currentMatch;return e.startLineNumber===e.endLineNumber||u.e.equalsRange(e,t)?null:e}).filter(e=>!!e),e.length&&this._state.change({searchScope:e},!0)}}_onFindInputMouseDown(e){e.middleButton&&e.stopPropagation()}_onFindInputKeyDown(e){if(e.equals(3|eN)){if(this._keybindingService.dispatchEvent(e,e.target)){e.preventDefault();return}this._findInput.inputBox.insertAtCursor("\n"),e.preventDefault();return}if(e.equals(2)){this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),e.preventDefault();return}if(e.equals(2066)){this._codeEditor.focus(),e.preventDefault();return}return e.equals(16)?ex(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):e.equals(18)?eI(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):void 0}_onReplaceInputKeyDown(e){if(e.equals(3|eN)){if(this._keybindingService.dispatchEvent(e,e.target)){e.preventDefault();return}Y.ED&&Y.tY&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(J.NC("ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store(ek,!0,0,0)),this._replaceInput.inputBox.insertAtCursor("\n"),e.preventDefault();return}if(e.equals(2)){this._findInput.focusOnCaseSensitive(),e.preventDefault();return}if(e.equals(1026)){this._findInput.focus(),e.preventDefault();return}if(e.equals(2066)){this._codeEditor.focus(),e.preventDefault();return}return e.equals(16)?ex(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):e.equals(18)?eI(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):void 0}getVerticalSashLeft(e){return 0}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}_buildDomNode(){this._findInput=this._register(new X.Yb(null,this._contextViewProvider,{width:221,label:ed,placeholder:eu,appendCaseSensitiveLabel:this._keybindingLabelFor(F.ToggleCaseSensitiveCommand),appendWholeWordsLabel:this._keybindingLabelFor(F.ToggleWholeWordCommand),appendRegexLabel:this._keybindingLabelFor(F.ToggleRegexCommand),validation:e=>{if(0===e.length||!this._findInput.getRegex())return null;try{return RegExp(e,"gu"),null}catch(e){return{content:e.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showHistoryHint:()=>ee(this._keybindingService)},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown(e=>this._onFindInputKeyDown(e))),this._register(this._findInput.inputBox.onDidChange(()=>{this._ignoreChangeEvent||this._state.change({searchString:this._findInput.getValue()},!0)})),this._register(this._findInput.onDidOptionChange(()=>{this._state.change({isRegex:this._findInput.getRegex(),wholeWord:this._findInput.getWholeWords(),matchCase:this._findInput.getCaseSensitive()},!0)})),this._register(this._findInput.onCaseSensitiveKeyDown(e=>{e.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),e.preventDefault())})),this._register(this._findInput.onRegexKeyDown(e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),e.preventDefault())})),this._register(this._findInput.inputBox.onDidHeightChange(e=>{this._tryUpdateHeight()&&this._showViewZone()})),Y.IJ&&this._register(this._findInput.onMouseDown(e=>this._onFindInputMouseDown(e))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new eT({label:ec+this._keybindingLabelFor(F.PreviousMatchFindAction),icon:el,onTrigger:()=>{this._codeEditor.getAction(F.PreviousMatchFindAction).run().then(void 0,Z.dL)}})),this._nextBtn=this._register(new eT({label:eg+this._keybindingLabelFor(F.NextMatchFindAction),icon:eh,onTrigger:()=>{this._codeEditor.getAction(F.NextMatchFindAction).run().then(void 0,Z.dL)}}));let e=document.createElement("div");e.className="find-part",e.appendChild(this._findInput.domNode);let t=document.createElement("div");t.className="find-actions",e.appendChild(t),t.appendChild(this._matchesCount),t.appendChild(this._prevBtn.domNode),t.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new q.Z({icon:en,title:ep+this._keybindingLabelFor(F.ToggleSearchScopeCommand),isChecked:!1})),this._register(this._toggleSelectionFind.onChange(()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){let e=this._codeEditor.getSelections();e.map(e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty())?null:e).filter(e=>!!e),e.length&&this._state.change({searchScope:e},!0)}}else this._state.change({searchScope:null},!0)})),t.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new eT({label:em+this._keybindingLabelFor(F.CloseFindWidgetCommand),icon:et.s_,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceBtn.isEnabled()?this._replaceBtn.focus():this._codeEditor.focus(),e.preventDefault())}})),t.appendChild(this._closeBtn.domNode),this._replaceInput=this._register(new X.Nq(null,void 0,{label:ef,placeholder:e_,appendPreserveCaseLabel:this._keybindingLabelFor(F.TogglePreserveCaseCommand),history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showHistoryHint:()=>ee(this._keybindingService)},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown(e=>this._onReplaceInputKeyDown(e))),this._register(this._replaceInput.inputBox.onDidChange(()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)})),this._register(this._replaceInput.inputBox.onDidHeightChange(e=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()})),this._register(this._replaceInput.onDidOptionChange(()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)})),this._register(this._replaceInput.onPreserveCaseKeyDown(e=>{e.equals(2)&&(this._prevBtn.isEnabled()?this._prevBtn.focus():this._nextBtn.isEnabled()?this._nextBtn.focus():this._toggleSelectionFind.enabled?this._toggleSelectionFind.focus():this._closeBtn.isEnabled()&&this._closeBtn.focus(),e.preventDefault())})),this._replaceBtn=this._register(new eT({label:ev+this._keybindingLabelFor(F.ReplaceOneAction),icon:es,onTrigger:()=>{this._controller.replace()},onKeyDown:e=>{e.equals(1026)&&(this._closeBtn.focus(),e.preventDefault())}})),this._replaceAllBtn=this._register(new eT({label:eC+this._keybindingLabelFor(F.ReplaceAllAction),icon:ea,onTrigger:()=>{this._controller.replaceAll()}}));let i=document.createElement("div");i.className="replace-part",i.appendChild(this._replaceInput.domNode);let n=document.createElement("div");n.className="replace-actions",i.appendChild(n),n.appendChild(this._replaceBtn.domNode),n.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new eT({label:eb,className:"codicon toggle left",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=V.w(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}})),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.style.width="419px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(e),this._domNode.appendChild(i),this._resizeSash=new G.g(this._domNode,this,{orientation:0,size:2}),this._resized=!1;let o=419;this._register(this._resizeSash.onDidStart(()=>{o=V.w(this._domNode)})),this._register(this._resizeSash.onDidChange(e=>{this._resized=!0;let t=o+e.startX-e.currentX;if(t<419)return;let i=parseFloat(V.Dx(this._domNode).maxWidth)||0;t>i||(this._domNode.style.width=`${t}px`,this._isReplaceVisible&&(this._replaceInput.width=V.w(this._findInput.domNode)),this._findInput.inputBox.layout(),this._tryUpdateHeight())})),this._register(this._resizeSash.onDidReset(()=>{let e=V.w(this._domNode);if(e<419)return;let t=419;if(!this._resized||419===e){let e=this._codeEditor.getLayoutInfo();t=e.width-28-e.minimap.minimapWidth-15,this._resized=!0}this._domNode.style.width=`${t}px`,this._isReplaceVisible&&(this._replaceInput.width=V.w(this._findInput.domNode)),this._findInput.inputBox.layout()}))}updateAccessibilitySupport(){let e=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(2!==e)}}eE.ID="editor.contrib.findWidget";class eT extends H.${constructor(e){super(),this._opts=e;let t="button";this._opts.className&&(t=t+" "+this._opts.className),this._opts.icon&&(t=t+" "+_.kS.asClassName(this._opts.icon)),this._domNode=document.createElement("div"),this._domNode.title=this._opts.label,this._domNode.tabIndex=0,this._domNode.className=t,this._domNode.setAttribute("role","button"),this._domNode.setAttribute("aria-label",this._opts.label),this.onclick(this._domNode,e=>{this._opts.onTrigger(),e.preventDefault()}),this.onkeydown(this._domNode,e=>{var t,i;if(e.equals(10)||e.equals(3)){this._opts.onTrigger(),e.preventDefault();return}null===(i=(t=this._opts).onKeyDown)||void 0===i||i.call(t,e)})}get domNode(){return this._domNode}isEnabled(){return this._domNode.tabIndex>=0}focus(){this._domNode.focus()}setEnabled(e){this._domNode.classList.toggle("disabled",!e),this._domNode.setAttribute("aria-disabled",String(!e)),this._domNode.tabIndex=e?0:-1}setExpanded(e){this._domNode.setAttribute("aria-expanded",String(!!e)),e?(this._domNode.classList.remove(..._.kS.asClassNameArray(eo)),this._domNode.classList.add(..._.kS.asClassNameArray(er))):(this._domNode.classList.remove(..._.kS.asClassNameArray(er)),this._domNode.classList.add(..._.kS.asClassNameArray(eo)))}}(0,_.Ic)((e,t)=>{let i=(e,i)=>{i&&t.addRule(`.monaco-editor ${e} { background-color: ${i}; }`)};i(".findMatch",e.getColor(f.MUv)),i(".currentFindMatch",e.getColor(f.nyM)),i(".findScope",e.getColor(f.jUe));let n=e.getColor(f.D0T);i(".find-widget",n);let o=e.getColor(f.rh);o&&t.addRule(`.monaco-editor .find-widget { box-shadow: 0 0 8px 2px ${o}; }`);let r=e.getColor(f.EiJ);r&&t.addRule(`.monaco-editor .findMatch { border: 1px ${(0,ei.c3)(e.type)?"dotted":"solid"} ${r}; box-sizing: border-box; }`);let s=e.getColor(f.pnM);s&&t.addRule(`.monaco-editor .currentFindMatch { border: 2px solid ${s}; padding: 1px; box-sizing: border-box; }`);let a=e.getColor(f.gkn);a&&t.addRule(`.monaco-editor .findScope { border: 1px ${(0,ei.c3)(e.type)?"dashed":"solid"} ${a}; }`);let l=e.getColor(f.lRK);l&&t.addRule(`.monaco-editor .find-widget { border: 1px solid ${l}; }`);let h=e.getColor(f.Hfx);h&&t.addRule(`.monaco-editor .find-widget { color: ${h}; }`);let d=e.getColor(f.Ido);d&&t.addRule(`.monaco-editor .find-widget.no-results .matchesCount { color: ${d}; }`);let u=e.getColor(f.Ng6);if(u)t.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${u}; }`);else{let i=e.getColor(f.D1_);i&&t.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${i}; }`)}let c=e.getColor(f.lUq);c&&t.addRule(` + .monaco-editor .find-widget .button:not(.disabled):hover, + .monaco-editor .find-widget .codicon-find-selection:hover { + background-color: ${c} !important; + } + `);let g=e.getColor(f.R80);g&&t.addRule(`.monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: ${g}; }`)});var eM=i(84144),eA=i(84972),eR=i(5606),eO=i(91847),eP=i(59422),eF=i(87060),eB=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},eV=function(e,t){return function(i,n){t(i,n,e)}},eW=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};function eH(e,t="single",i=!1){if(!e.hasModel())return null;let n=e.getSelection();if("single"===t&&n.startLineNumber===n.endLineNumber||"multiple"===t){if(n.isEmpty()){let t=e.getConfiguredWordAtPosition(n.getStartPosition());if(t&&!1===i)return t.word}else if(524288>e.getModel().getValueLengthInRange(n))return e.getModel().getValueInRange(n)}return null}let ez=class e extends o.JT{constructor(e,t,i,o){super(),this._editor=e,this._findWidgetVisible=I.bindTo(t),this._contextKeyService=t,this._storageService=i,this._clipboardService=o,this._updateHistoryDelayer=new n.vp(500),this._state=this._register(new $),this.loadQueryState(),this._register(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this._model=null,this._register(this._editor.onDidChangeModel(()=>{let e=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),e&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(37).loop})}))}get editor(){return this._editor}static get(t){return t.getContribution(e.ID)}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1,0),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1,0),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1,0),e.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1,0)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!E.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()}togglePreserveCase(){this._state.change({preserveCase:!this._state.preserveCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){let e=this._editor.getSelections();e.map(e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty())?null:e).filter(e=>!!e),e.length&&this._state.change({searchScope:e},!0)}}setSearchString(e){this._state.isRegex&&(e=r.ec(e)),this._state.change({searchString:e},!1)}highlightFindOptions(e=!1){}_start(e,t){return eW(this,void 0,void 0,function*(){if(this.disposeModel(),!this._editor.hasModel())return;let i=Object.assign(Object.assign({},t),{isRevealed:!0});if("single"===e.seedSearchStringFromSelection){let t=eH(this._editor,e.seedSearchStringFromSelection,e.seedSearchStringFromNonEmptySelection);t&&(this._state.isRegex?i.searchString=r.ec(t):i.searchString=t)}else if("multiple"===e.seedSearchStringFromSelection&&!e.updateSearchScope){let t=eH(this._editor,e.seedSearchStringFromSelection);t&&(i.searchString=t)}if(!i.searchString&&e.seedSearchStringFromGlobalClipboard){let e=yield this.getGlobalBufferTerm();if(!this._editor.hasModel())return;e&&(i.searchString=e)}if(e.forceRevealReplace||i.isReplaceRevealed?i.isReplaceRevealed=!0:this._findWidgetVisible.get()||(i.isReplaceRevealed=!1),e.updateSearchScope){let e=this._editor.getSelections();e.some(e=>!e.isEmpty())&&(i.searchScope=e)}i.loop=e.loop,this._state.change(i,!1),this._model||(this._model=new B(this._editor,this._state))})}start(e,t){return this._start(e,t)}moveToNextMatch(){return!!this._model&&(this._model.moveToNextMatch(),!0)}moveToPrevMatch(){return!!this._model&&(this._model.moveToPrevMatch(),!0)}replace(){return!!this._model&&(this._model.replace(),!0)}replaceAll(){return!!this._model&&(this._model.replaceAll(),!0)}selectAllMatches(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)}getGlobalBufferTerm(){return eW(this,void 0,void 0,function*(){return this._editor.getOption(37).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""})}setGlobalBufferTerm(e){this._editor.getOption(37).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)}};ez.ID="editor.contrib.findController",ez=eB([eV(1,x.i6),eV(2,eF.Uy),eV(3,eA.p)],ez);let eK=class extends ez{constructor(e,t,i,n,o,r,s,a){super(e,i,s,a),this._contextViewService=t,this._keybindingService=n,this._themeService=o,this._notificationService=r,this._widget=null,this._findOptionsWidget=null}_start(e,t){let i=Object.create(null,{_start:{get:()=>super._start}});return eW(this,void 0,void 0,function*(){this._widget||this._createFindWidget();let n=this._editor.getSelection(),o=!1;switch(this._editor.getOption(37).autoFindInSelection){case"always":o=!0;break;case"never":o=!1;break;case"multiline":{let e=!!n&&n.startLineNumber!==n.endLineNumber;o=e}}e.updateSearchScope=e.updateSearchScope||o,yield i._start.call(this,e,t),this._widget&&(2===e.shouldFocus?this._widget.focusReplaceInput():1===e.shouldFocus&&this._widget.focusFindInput())})}highlightFindOptions(e=!1){this._widget||this._createFindWidget(),this._state.isRevealed&&!e?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()}_createFindWidget(){this._widget=this._register(new eE(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService)),this._findOptionsWidget=this._register(new z(this._editor,this._state,this._keybindingService,this._themeService))}};eK=eB([eV(1,eR.u),eV(2,x.i6),eV(3,eO.d),eV(4,_.XE),eV(5,eP.lT),eV(6,eF.Uy),eV(7,eA.p)],eK);let eU=(0,s.rn)(new s.jY({id:F.StartFindAction,label:J.NC("startFindAction","Find"),alias:"Find",precondition:x.Ao.or(a.u.focus,x.Ao.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:eM.eH.MenubarEditMenu,group:"3_find",title:J.NC({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}}));eU.addImplementation(0,(e,t,i)=>{let n=ez.get(t);return!!n&&n.start({forceRevealReplace:!1,seedSearchStringFromSelection:"never"!==t.getOption(37).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(37).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getOption(37).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(37).loop})});let e$={description:"Open a new In-Editor Find Widget.",args:[{name:"Open a new In-Editor Find Widget args",schema:{properties:{searchString:{type:"string"},replaceString:{type:"string"},regex:{type:"boolean"},regexOverride:{type:"number",description:J.NC("actions.find.isRegexOverride",'Overrides "Use Regular Expression" flag.\nThe flag will not be saved for the future.\n0: Do Nothing\n1: True\n2: False')},wholeWord:{type:"boolean"},wholeWordOverride:{type:"number",description:J.NC("actions.find.wholeWordOverride",'Overrides "Match Whole Word" flag.\nThe flag will not be saved for the future.\n0: Do Nothing\n1: True\n2: False')},matchCase:{type:"boolean"},matchCaseOverride:{type:"number",description:J.NC("actions.find.matchCaseOverride",'Overrides "Math Case" flag.\nThe flag will not be saved for the future.\n0: Do Nothing\n1: True\n2: False')},preserveCase:{type:"boolean"},preserveCaseOverride:{type:"number",description:J.NC("actions.find.preserveCaseOverride",'Overrides "Preserve Case" flag.\nThe flag will not be saved for the future.\n0: Do Nothing\n1: True\n2: False')},findInSelection:{type:"boolean"}}}}]};class ej extends s.R6{constructor(){super({id:F.StartFindWithArgs,label:J.NC("startFindWithArgsAction","Find With Arguments"),alias:"Find With Arguments",precondition:void 0,kbOpts:{kbExpr:null,primary:0,weight:100},description:e$})}run(e,t,i){return eW(this,void 0,void 0,function*(){let e=ez.get(t);if(e){let n=i?{searchString:i.searchString,replaceString:i.replaceString,isReplaceRevealed:void 0!==i.replaceString,isRegex:i.isRegex,wholeWord:i.matchWholeWord,matchCase:i.isCaseSensitive,preserveCase:i.preserveCase}:{};yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===e.getState().searchString.length&&"never"!==t.getOption(37).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(37).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:1,shouldAnimate:!0,updateSearchScope:(null==i?void 0:i.findInSelection)||!1,loop:t.getOption(37).loop},n),e.setGlobalBufferTerm(e.getState().searchString)}})}}class eq extends s.R6{constructor(){super({id:F.StartFindWithSelection,label:J.NC("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}run(e,t){return eW(this,void 0,void 0,function*(){let e=ez.get(t);e&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:"multiple",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(37).loop}),e.setGlobalBufferTerm(e.getState().searchString))})}}class eG extends s.R6{run(e,t){return eW(this,void 0,void 0,function*(){let e=ez.get(t);e&&!this._run(e)&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===e.getState().searchString.length&&"never"!==t.getOption(37).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(37).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(37).loop}),this._run(e))})}}class eQ extends s.R6{run(e,t){return eW(this,void 0,void 0,function*(){let e=ez.get(t);if(!e)return;let i="selection"===t.getOption(37).seedSearchStringFromSelection,n=null;"never"!==t.getOption(37).seedSearchStringFromSelection&&(n=eH(t,"single",i)),n&&e.setSearchString(n),this._run(e)||(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:"never"!==t.getOption(37).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:i,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(37).loop}),this._run(e))})}}let eZ=(0,s.rn)(new s.jY({id:F.StartFindReplaceAction,label:J.NC("startReplace","Replace"),alias:"Replace",precondition:x.Ao.or(a.u.focus,x.Ao.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:eM.eH.MenubarEditMenu,group:"3_find",title:J.NC({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}}));eZ.addImplementation(0,(e,t,i)=>{if(!t.hasModel()||t.getOption(83))return!1;let n=ez.get(t);if(!n)return!1;let o=t.getSelection(),r=n.isFindInputFocused(),s=!o.isEmpty()&&o.startLineNumber===o.endLineNumber&&"never"!==t.getOption(37).seedSearchStringFromSelection&&!r;return n.start({forceRevealReplace:!0,seedSearchStringFromSelection:s?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(37).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:"never"!==t.getOption(37).seedSearchStringFromSelection,shouldFocus:r||s?2:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(37).loop})}),(0,s._K)(ez.ID,eK),(0,s.Qr)(ej),(0,s.Qr)(eq),(0,s.Qr)(class extends eG{constructor(){super({id:F.NextMatchFindAction,label:J.NC("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:[{kbExpr:a.u.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100},{kbExpr:x.Ao.and(a.u.focus,E),primary:3,weight:100}]})}_run(e){let t=e.moveToNextMatch();return!!t&&(e.editor.pushUndoStop(),!0)}}),(0,s.Qr)(class extends eG{constructor(){super({id:F.PreviousMatchFindAction,label:J.NC("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:[{kbExpr:a.u.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100},{kbExpr:x.Ao.and(a.u.focus,E),primary:1027,weight:100}]})}_run(e){return e.moveToPrevMatch()}}),(0,s.Qr)(class extends eQ{constructor(){super({id:F.NextSelectionMatchFindAction,label:J.NC("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:a.u.focus,primary:2109,weight:100}})}_run(e){return e.moveToNextMatch()}}),(0,s.Qr)(class extends eQ{constructor(){super({id:F.PreviousSelectionMatchFindAction,label:J.NC("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:a.u.focus,primary:3133,weight:100}})}_run(e){return e.moveToPrevMatch()}});let eY=s._l.bindToContribution(ez.get);(0,s.fK)(new eY({id:F.CloseFindWidgetCommand,precondition:I,handler:e=>e.closeFindWidget(),kbOpts:{weight:105,kbExpr:x.Ao.and(a.u.focus,x.Ao.not("isComposing")),primary:9,secondary:[1033]}})),(0,s.fK)(new eY({id:F.ToggleCaseSensitiveCommand,precondition:void 0,handler:e=>e.toggleCaseSensitive(),kbOpts:{weight:105,kbExpr:a.u.focus,primary:M.primary,mac:M.mac,win:M.win,linux:M.linux}})),(0,s.fK)(new eY({id:F.ToggleWholeWordCommand,precondition:void 0,handler:e=>e.toggleWholeWords(),kbOpts:{weight:105,kbExpr:a.u.focus,primary:A.primary,mac:A.mac,win:A.win,linux:A.linux}})),(0,s.fK)(new eY({id:F.ToggleRegexCommand,precondition:void 0,handler:e=>e.toggleRegex(),kbOpts:{weight:105,kbExpr:a.u.focus,primary:R.primary,mac:R.mac,win:R.win,linux:R.linux}})),(0,s.fK)(new eY({id:F.ToggleSearchScopeCommand,precondition:void 0,handler:e=>e.toggleSearchScope(),kbOpts:{weight:105,kbExpr:a.u.focus,primary:O.primary,mac:O.mac,win:O.win,linux:O.linux}})),(0,s.fK)(new eY({id:F.TogglePreserveCaseCommand,precondition:void 0,handler:e=>e.togglePreserveCase(),kbOpts:{weight:105,kbExpr:a.u.focus,primary:P.primary,mac:P.mac,win:P.win,linux:P.linux}})),(0,s.fK)(new eY({id:F.ReplaceOneAction,precondition:I,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:a.u.focus,primary:3094}})),(0,s.fK)(new eY({id:F.ReplaceOneAction,precondition:I,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:x.Ao.and(a.u.focus,T),primary:3}})),(0,s.fK)(new eY({id:F.ReplaceAllAction,precondition:I,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:a.u.focus,primary:2563}})),(0,s.fK)(new eY({id:F.ReplaceAllAction,precondition:I,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:x.Ao.and(a.u.focus,T),primary:void 0,mac:{primary:2051}}})),(0,s.fK)(new eY({id:F.SelectAllMatchesAction,precondition:I,handler:e=>e.selectAllMatches(),kbOpts:{weight:105,kbExpr:a.u.focus,primary:515}}))},40714:function(e,t,i){"use strict";var n=i(15393),o=i(17301),r=i(22258),s=i(9917),a=i(97295),l=i(98401);i(62736);var h=i(43407),d=i(16830),u=i(29102),c=i(43155),g=i(4256),p=i(4669);class m{constructor(e){this._states=new Uint32Array(Math.ceil(e/32))}get(e){return(this._states[e/32|0]&1<65535)throw Error("invalid startIndexes or endIndexes size");this._startIndexes=e,this._endIndexes=t,this._collapseStates=new m(e.length),this._userDefinedStates=new m(e.length),this._recoveredStates=new m(e.length),this._types=i,this._parentsComputed=!1}ensureParentIndices(){if(!this._parentsComputed){this._parentsComputed=!0;let e=[],t=(t,i)=>{let n=e[e.length-1];return this.getStartLineNumber(n)<=t&&this.getEndLineNumber(n)>=i};for(let i=0,n=this._startIndexes.length;i16777215||o>16777215)throw Error("startLineNumber or endLineNumber must not exceed 16777215");for(;e.length>0&&!t(n,o);)e.pop();let r=e.length>0?e[e.length-1]:-1;e.push(i),this._startIndexes[i]=n+((255&r)<<24),this._endIndexes[i]=o+((65280&r)<<16)}}}get length(){return this._startIndexes.length}getStartLineNumber(e){return 16777215&this._startIndexes[e]}getEndLineNumber(e){return 16777215&this._endIndexes[e]}getType(e){return this._types?this._types[e]:void 0}hasTypes(){return!!this._types}isCollapsed(e){return this._collapseStates.get(e)}setCollapsed(e,t){this._collapseStates.set(e,t)}isUserDefined(e){return this._userDefinedStates.get(e)}setUserDefined(e,t){return this._userDefinedStates.set(e,t)}isRecovered(e){return this._recoveredStates.get(e)}setRecovered(e,t){return this._recoveredStates.set(e,t)}getSource(e){return this.isUserDefined(e)?1:this.isRecovered(e)?2:0}setSource(e,t){1===t?(this.setUserDefined(e,!0),this.setRecovered(e,!1)):2===t?(this.setUserDefined(e,!1),this.setRecovered(e,!0)):(this.setUserDefined(e,!1),this.setRecovered(e,!1))}setCollapsedAllOfType(e,t){let i=!1;if(this._types)for(let n=0;n>>24)+((4278190080&this._endIndexes[e])>>>16);return 65535===t?-1:t}contains(e,t){return this.getStartLineNumber(e)<=t&&this.getEndLineNumber(e)>=t}findIndex(e){let t=0,i=this._startIndexes.length;if(0===i)return -1;for(;t=0){let i=this.getEndLineNumber(t);if(i>=e)return t;for(t=this.getParentIndex(t);-1!==t;){if(this.contains(t,e))return t;t=this.getParentIndex(t)}}return -1}toString(){let e=[];for(let t=0;tArray.isArray(e)?i=>ii=d.startLineNumber))h&&h.startLineNumber===d.startLineNumber?(1===d.source?e=d:((e=h).isCollapsed=d.isCollapsed&&h.endLineNumber===d.endLineNumber,e.source=0),h=r(++a)):(e=d,d.isCollapsed&&0===d.source&&(e.source=2)),d=s(++l);else{let t=l,i=d;for(;;){if(!i||i.startLineNumber>h.endLineNumber){e=h;break}if(1===i.source&&i.endLineNumber>h.endLineNumber)break;i=s(++t)}h=r(++a)}if(e){for(;n&&n.endLineNumbere.startLineNumber&&e.startLineNumber>c&&e.endLineNumber<=i&&(!n||n.endLineNumber>=e.endLineNumber)&&(g.push(e),c=e.startLineNumber,n&&u.push(n),n=e)}}return g}}class _{constructor(e,t){this.ranges=e,this.index=t}get startLineNumber(){return this.ranges.getStartLineNumber(this.index)}get endLineNumber(){return this.ranges.getEndLineNumber(this.index)}get regionIndex(){return this.index}get parentIndex(){return this.ranges.getParentIndex(this.index)}get isCollapsed(){return this.ranges.isCollapsed(this.index)}containedBy(e){return e.startLineNumber<=this.startLineNumber&&e.endLineNumber>=this.endLineNumber}containsLine(e){return this.startLineNumber<=e&&e<=this.endLineNumber}}var v=i(89954);class C{constructor(e,t){this._updateEventEmitter=new p.Q5,this.onDidChange=this._updateEventEmitter.event,this._textModel=e,this._decorationProvider=t,this._regions=new f(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[]}get regions(){return this._regions}get textModel(){return this._textModel}toggleCollapseState(e){if(!e.length)return;e=e.sort((e,t)=>e.regionIndex-t.regionIndex);let t={};this._decorationProvider.changeDecorations(i=>{let n=0,o=-1,r=-1,s=e=>{for(;nr&&(r=e),n++}};for(let i of e){let e=i.regionIndex,n=this._editorDecorationIds[e];if(n&&!t[n]){t[n]=!0,s(e);let i=!this._regions.isCollapsed(e);this._regions.setCollapsed(e,i),o=Math.max(o,this._regions.getEndLineNumber(e))}}s(this._regions.length)}),this._updateEventEmitter.fire({model:this,collapseStateChanged:e})}removeManualRanges(e){let t=[],i=t=>{for(let i of e)if(!(i.startLineNumber>t.endLineNumber||t.startLineNumber>i.endLineNumber))return!0;return!1};for(let e=0;ei&&(i=r)}this._decorationProvider.changeDecorations(e=>this._editorDecorationIds=e.deltaDecorations(this._editorDecorationIds,t)),this._regions=e,this._updateEventEmitter.fire({model:this})}_currentFoldedOrManualRanges(e=[]){let t=(t,i)=>{for(let n of e)if(t0?t:void 0}applyMemento(e){var t,i;if(!Array.isArray(e))return;let n=[],o=this._textModel.getLineCount();for(let r of e){if(r.startLineNumber>=r.endLineNumber||r.startLineNumber<1||r.endLineNumber>o)continue;let e=this._getLinesChecksum(r.startLineNumber+1,r.endLineNumber);r.checksum&&e!==r.checksum||n.push({startLineNumber:r.startLineNumber,endLineNumber:r.endLineNumber,type:void 0,isCollapsed:null===(t=r.isCollapsed)||void 0===t||t,source:null!==(i=r.source)&&void 0!==i?i:0})}let r=f.sanitizeAndMerge(this._regions,n,o);this.updatePost(f.fromFoldRanges(r))}_getLinesChecksum(e,t){let i=(0,v.vp)(this._textModel.getLineContent(e)+this._textModel.getLineContent(t));return i%1e6}dispose(){this._decorationProvider.removeDecorations(this._editorDecorationIds)}getAllRegionsAtLine(e,t){let i=[];if(this._regions){let n=this._regions.findRange(e),o=1;for(;n>=0;){let e=this._regions.toRegion(n);(!t||t(e,o))&&i.push(e),o++,n=e.parentIndex}}return i}getRegionAtLine(e){if(this._regions){let t=this._regions.findRange(e);if(t>=0)return this._regions.toRegion(t)}return null}getRegionsInside(e,t){let i=[],n=e?e.regionIndex+1:0,o=e?e.endLineNumber:Number.MAX_VALUE;if(t&&2===t.length){let e=[];for(let r=n,s=this._regions.length;r0&&!n.containedBy(e[e.length-1]);)e.pop();e.push(n),t(n,e.length)&&i.push(n)}else break}}else for(let e=n,r=this._regions.length;e0)for(let r of n){let n=e.getRegionAtLine(r);if(n&&(n.isCollapsed!==t&&o.push(n),i>1)){let r=e.getRegionsInside(n,(e,n)=>e.isCollapsed!==t&&ne.isCollapsed!==t&&ne.isCollapsed!==t&&n<=i);o.push(...n)}e.toggleCollapseState(o)}function y(e,t,i){let n=[];for(let t of i){let i=e.getAllRegionsAtLine(t,void 0);i.length>0&&n.push(i[0])}let o=e.getRegionsInside(null,e=>n.every(t=>!t.containedBy(e)&&!e.containedBy(t))&&e.isCollapsed!==t);e.toggleCollapseState(o)}function S(e,t,i){let n=e.textModel,o=e.regions,r=[];for(let e=o.length-1;e>=0;e--)if(i!==o.isCollapsed(e)){let i=o.getStartLineNumber(e);t.test(n.getLineContent(i))&&r.push(o.toRegion(e))}e.toggleCollapseState(r)}function L(e,t,i){let n=e.regions,o=[];for(let e=n.length-1;e>=0;e--)i!==n.isCollapsed(e)&&t===n.getType(e)&&o.push(n.toRegion(e));e.toggleCollapseState(o)}var k=i(9488),N=i(24314),D=i(23795);class x{constructor(e){this._updateEventEmitter=new p.Q5,this._hasLineChanges=!1,this._foldingModel=e,this._foldingModelListener=e.onDidChange(e=>this.updateHiddenRanges()),this._hiddenRanges=[],e.regions.length&&this.updateHiddenRanges()}get onDidChange(){return this._updateEventEmitter.event}get hiddenRanges(){return this._hiddenRanges}notifyChangeModelContent(e){this._hiddenRanges.length&&!this._hasLineChanges&&(this._hasLineChanges=e.changes.some(e=>e.range.endLineNumber!==e.range.startLineNumber||0!==(0,D.Q)(e.text)[0]))}updateHiddenRanges(){let e=!1,t=[],i=0,n=0,o=Number.MAX_VALUE,r=-1,s=this._foldingModel.regions;for(;i0}isHidden(e){return null!==I(this._hiddenRanges,e)}adjustSelections(e){let t=!1,i=this._foldingModel.textModel,n=null,o=e=>{var t;return(n&&e>=(t=n).startLineNumber&&e<=t.endLineNumber||(n=I(this._hiddenRanges,e)),n)?n.startLineNumber-1:null};for(let n=0,r=e.length;n0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)}}function I(e,t){let i=(0,k.lG)(e,e=>t=0&&e[i].endLineNumber>=t?e[i]:null}var E=i(59616);class T{constructor(e,t,i){this.editorModel=e,this.languageConfigurationService=t,this.maxFoldingRegions=i,this.id="indent"}dispose(){}compute(e,t){let i=this.languageConfigurationService.getLanguageConfiguration(this.editorModel.getLanguageId()).foldingRules,n=i&&!!i.offSide,o=i&&i.markers;return Promise.resolve(function(e,t,i,n,o){let r;let s=e.getOptions().tabSize;n=null!=n?n:5e3;let a=new M(n,o);i&&(r=RegExp(`(${i.start.source})|(?:${i.end.source})`));let l=[],h=e.getLineCount()+1;l.push({indent:-1,endAbove:h,line:h});for(let i=e.getLineCount();i>0;i--){let n;let o=e.getLineContent(i),h=(0,E.q)(o,s),d=l[l.length-1];if(-1===h){t&&(d.endAbove=i);continue}if(r&&(n=o.match(r))){if(n[1]){let e=l.length-1;for(;e>0&&-2!==l[e].indent;)e--;if(e>0){l.length=e+1,d=l[e],a.insertFirst(i,d.line,h),d.line=i,d.indent=h,d.endAbove=i;continue}}else{l.push({indent:-2,endAbove:i,line:i});continue}}if(d.indent>h){do l.pop(),d=l[l.length-1];while(d.indent>h);let e=d.endAbove-1;e-i>=1&&a.insertFirst(i,e,h)}d.indent===h?d.endAbove=i:l.push({indent:h,endAbove:i,line:i})}return a.toIndentRanges(e)}(this.editorModel,n,o,this.maxFoldingRegions,t))}}class M{constructor(e,t){this._notifyTooManyRegions=t,this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=e}insertFirst(e,t,i){if(e>16777215||t>16777215)return;let n=this._length;this._startIndexes[n]=e,this._endIndexes[n]=t,this._length++,i<1e3&&(this._indentOccurrences[i]=(this._indentOccurrences[i]||0)+1)}toIndentRanges(e){var t;if(this._length<=this._foldingRangesLimit){let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let i=this._length-1,n=0;i>=0;i--,n++)e[n]=this._startIndexes[i],t[n]=this._endIndexes[i];return new f(e,t)}{null===(t=this._notifyTooManyRegions)||void 0===t||t.call(this,this._foldingRangesLimit);let i=0,n=this._indentOccurrences.length;for(let e=0;ethis._foldingRangesLimit){n=e;break}i+=t}}let o=e.getOptions().tabSize,r=new Uint32Array(this._foldingRangesLimit),s=new Uint32Array(this._foldingRangesLimit);for(let t=this._length-1,a=0;t>=0;t--){let l=this._startIndexes[t],h=e.getLineContent(l),d=(0,E.q)(h,o);(dPromise.resolve(e.provideFoldingRanges(t,$,i)).then(e=>{if(!i.isCancellationRequested&&Array.isArray(e)){Array.isArray(n)||(n=[]);let i=t.getLineCount();for(let t of e)t.start>0&&t.end>t.start&&t.end<=i&&n.push({start:t.start,end:t.end,rank:r,kind:t.kind})}},o.Cp));return Promise.all(r).then(e=>n)})(this.providers,this.editorModel,e).then(e=>{if(e){let i=function(e,t,i){let n;let o=e.sort((e,t)=>{let i=e.start-t.start;return 0===i&&(i=e.rank-t.rank),i}),r=new q(t,i),s=[];for(let e of o)if(n){if(e.start>n.start){if(e.end<=n.end)s.push(n),n=e,r.add(e.start,e.end,e.kind&&e.kind.value,s.length);else{if(e.start>n.end){do n=s.pop();while(n&&e.start>n.end);n&&s.push(n),n=e}r.add(e.start,e.end,e.kind&&e.kind.value,s.length)}}}else n=e,r.add(e.start,e.end,e.kind&&e.kind.value,s.length);return r.toIndentRanges()}(e,this.limit,t);return i}return null})}dispose(){var e;null===(e=this.disposables)||void 0===e||e.dispose()}}class q{constructor(e,t){this._notifyTooManyRegions=t,this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=e}add(e,t,i,n){if(e>16777215||t>16777215)return;let o=this._length;this._startIndexes[o]=e,this._endIndexes[o]=t,this._nestingLevels[o]=n,this._types[o]=i,this._length++,n<30&&(this._nestingLevelCounts[n]=(this._nestingLevelCounts[n]||0)+1)}toIndentRanges(){var e;if(this._length<=this._foldingRangesLimit){let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let i=0;ithis._foldingRangesLimit){i=e;break}t+=n}}let n=new Uint32Array(this._foldingRangesLimit),o=new Uint32Array(this._foldingRangesLimit),r=[];for(let e=0,s=0;e{this._tooManyRegionsNotified||(n.notify({severity:Q.Z.Warning,sticky:!0,message:A.NC("maximum fold ranges","The number of foldable regions is limited to a maximum of {0}. Increase configuration option ['Folding Maximum Regions'](command:workbench.action.openSettings?[\"editor.foldingMaximumRegions\"]) to enable more.",e)}),this._tooManyRegionsNotified=!0)},this._register(this.editor.onDidChangeModel(()=>this.onModelChanged())),this._register(this.editor.onDidChangeConfiguration(e=>{if(e.hasChanged(39)&&(this._isEnabled=this.editor.getOptions().get(39),this.foldingEnabled.set(this._isEnabled),this.onModelChanged()),e.hasChanged(43)&&(this._maxFoldingRegions=this.editor.getOptions().get(43),this._tooManyRegionsNotified=!1,this.onModelChanged()),e.hasChanged(101)||e.hasChanged(41)){let e=this.editor.getOptions();this.foldingDecorationProvider.showFoldingControls=e.get(101),this.foldingDecorationProvider.showFoldingHighlights=e.get(41),this.triggerFoldingModelChanged()}e.hasChanged(40)&&(this._useFoldingProviders="indentation"!==this.editor.getOptions().get(40),this.onFoldingStrategyChanged()),e.hasChanged(44)&&(this._unfoldOnClickAfterEndOfLine=this.editor.getOptions().get(44)),e.hasChanged(42)&&(this._foldingImportsByDefault=this.editor.getOptions().get(42))})),this.onModelChanged()}static get(t){return t.getContribution(e.ID)}saveViewState(){let e=this.editor.getModel();if(!e||!this._isEnabled||e.isTooLargeForTokenization())return{};if(this.foldingModel){let t=this.foldingModel.getMemento(),i=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:t,lineCount:e.getLineCount(),provider:i,foldedImports:this._currentModelHasFoldedImports}}}restoreViewState(e){let t=this.editor.getModel();if(!(!t||!this._isEnabled||t.isTooLargeForTokenization())&&this.hiddenRangeModel&&e&&e.lineCount===t.getLineCount()&&(this._currentModelHasFoldedImports=!!e.foldedImports,e.collapsedRegions&&e.collapsedRegions.length>0&&this.foldingModel)){this._restoringViewState=!0;try{this.foldingModel.applyMemento(e.collapsedRegions)}finally{this._restoringViewState=!1}}}onModelChanged(){this.localToDispose.clear();let e=this.editor.getModel();!this._isEnabled||!e||e.isTooLargeForTokenization()||(this._currentModelHasFoldedImports=!1,this.foldingModel=new C(e,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new x(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange(e=>this.onHiddenRangesChanges(e))),this.updateScheduler=new n.vp(this.updateDebounceInfo.get(e)),this.cursorChangedScheduler=new n.pY(()=>this.revealCursor(),200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(this.languageFeaturesService.foldingRangeProvider.onDidChange(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelContent(e=>this.onDidChangeModelContent(e))),this.localToDispose.add(this.editor.onDidChangeCursorPosition(()=>this.onCursorPositionChanged())),this.localToDispose.add(this.editor.onMouseDown(e=>this.onEditorMouseDown(e))),this.localToDispose.add(this.editor.onMouseUp(e=>this.onEditorMouseUp(e))),this.localToDispose.add({dispose:()=>{this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.updateScheduler&&this.updateScheduler.cancel(),this.updateScheduler=null,this.foldingModel=null,this.foldingModelPromise=null,this.hiddenRangeModel=null,this.cursorChangedScheduler=null,this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null}}),this.triggerFoldingModelChanged())}onFoldingStrategyChanged(){this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null,this.triggerFoldingModelChanged()}getRangeProvider(e){if(this.rangeProvider)return this.rangeProvider;if(this.rangeProvider=new T(e,this.languageConfigurationService,this._maxFoldingRegions),this._useFoldingProviders&&this.foldingModel){let t=this.languageFeaturesService.foldingRangeProvider.ordered(this.foldingModel.textModel);t.length>0&&(this.rangeProvider=new j(e,t,()=>this.triggerFoldingModelChanged(),this._maxFoldingRegions))}return this.rangeProvider}getFoldingModel(){return this.foldingModelPromise}onDidChangeModelContent(e){var t;null===(t=this.hiddenRangeModel)||void 0===t||t.notifyChangeModelContent(e),this.triggerFoldingModelChanged()}triggerFoldingModelChanged(){this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger(()=>{let e=this.foldingModel;if(!e)return null;let t=new Y.G(!0),i=this.getRangeProvider(e.textModel),o=this.foldingRegionPromise=(0,n.PG)(e=>i.compute(e,this._notifyTooManyRegions));return o.then(i=>{if(i&&o===this.foldingRegionPromise){let n;if(this._foldingImportsByDefault&&!this._currentModelHasFoldedImports){let e=i.setCollapsedAllOfType(c.AD.Imports.value,!0);e&&(n=h.Z.capture(this.editor),this._currentModelHasFoldedImports=e)}let o=this.editor.getSelections(),r=o?o.map(e=>e.startLineNumber):[];e.update(i,r),null==n||n.restore(this.editor);let s=this.updateDebounceInfo.update(e.textModel,t.elapsed());this.updateScheduler&&(this.updateScheduler.defaultDelay=s)}return e})}).then(void 0,e=>((0,o.dL)(e),null)))}onHiddenRangesChanges(e){if(this.hiddenRangeModel&&e.length&&!this._restoringViewState){let e=this.editor.getSelections();e&&this.hiddenRangeModel.adjustSelections(e)&&this.editor.setSelections(e)}this.editor.setHiddenAreas(e)}onCursorPositionChanged(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()}revealCursor(){let e=this.getFoldingModel();e&&e.then(e=>{if(e){let t=this.editor.getSelections();if(t&&t.length>0){let i=[];for(let n of t){let t=n.selectionStartLineNumber;this.hiddenRangeModel&&this.hiddenRangeModel.isHidden(t)&&i.push(...e.getAllRegionsAtLine(t,e=>e.isCollapsed&&t>e.startLineNumber))}i.length&&(e.toggleCollapseState(i),this.reveal(t[0].getPosition()))}}}).then(void 0,o.dL)}onEditorMouseDown(e){if(this.mouseDownInfo=null,!this.hiddenRangeModel||!e.target||!e.target.range||!e.event.leftButton&&!e.event.middleButton)return;let t=e.target.range,i=!1;switch(e.target.type){case 4:{let t=e.target.detail,n=e.target.element.offsetLeft,o=t.offsetX-n;if(o<5)return;i=!0;break}case 7:if(this._unfoldOnClickAfterEndOfLine&&this.hiddenRangeModel.hasRanges()){let t=e.target.detail;if(!t.isAfterLines)break}return;case 6:if(this.hiddenRangeModel.hasRanges()){let e=this.editor.getModel();if(e&&t.startColumn===e.getLineMaxColumn(t.startLineNumber))break}return;default:return}this.mouseDownInfo={lineNumber:t.startLineNumber,iconClicked:i}}onEditorMouseUp(e){let t=this.foldingModel;if(!t||!this.mouseDownInfo||!e.target)return;let i=this.mouseDownInfo.lineNumber,n=this.mouseDownInfo.iconClicked,o=e.target.range;if(!o||o.startLineNumber!==i)return;if(n){if(4!==e.target.type)return}else{let e=this.editor.getModel();if(!e||o.startColumn!==e.getLineMaxColumn(i))return}let r=t.getRegionAtLine(i);if(r&&r.startLineNumber===i){let o=r.isCollapsed;if(n||o){let n=e.event.altKey,s=[];if(n){let e=t.getRegionsInside(null,e=>!e.containedBy(r)&&!r.containedBy(e));for(let t of e)t.isCollapsed&&s.push(t);0===s.length&&(s=e)}else{let i=e.event.middleButton||e.event.shiftKey;if(i)for(let e of t.getRegionsInside(r))e.isCollapsed===o&&s.push(e);(o||!i||0===s.length)&&s.push(r)}t.toggleCollapseState(s),this.reveal({lineNumber:i,column:1})}}}reveal(e){this.editor.revealPositionInCenterIfOutsideViewport(e,0)}};et.ID="editor.contrib.folding",et=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([X(1,R.i6),X(2,g.c_),X(3,G.lT),X(4,Z.A),X(5,J.p)],et);class ei extends d.R6{runEditorCommand(e,t,i){let n=e.get(g.c_),o=et.get(t);if(!o)return;let r=o.getFoldingModel();if(r)return this.reportTelemetry(e,t),r.then(e=>{if(e){this.invoke(o,e,t,i,n);let r=t.getSelection();r&&o.reveal(r.getStartPosition())}})}getSelectedLines(e){let t=e.getSelections();return t?t.map(e=>e.startLineNumber):[]}getLineNumbers(e,t){return e&&e.selectionLines?e.selectionLines.map(e=>e+1):this.getSelectedLines(t)}run(e,t){}}function en(e){return!!(l.o8(e)||l.Kn(e)&&(l.o8(e.levels)||l.hj(e.levels))&&(l.o8(e.direction)||l.HD(e.direction))&&(l.o8(e.selectionLines)||l.kJ(e.selectionLines)&&e.selectionLines.every(l.hj)))}class eo extends ei{getFoldingLevel(){return parseInt(this.id.substr(eo.ID_PREFIX.length))}invoke(e,t,i){!function(e,t,i,n){let o=e.getRegionsInside(null,(e,o)=>o===t&&e.isCollapsed!==i&&!n.some(t=>e.containsLine(t)));e.toggleCollapseState(o)}(t,this.getFoldingLevel(),!0,this.getSelectedLines(i))}}eo.ID_PREFIX="editor.foldLevel",eo.ID=e=>eo.ID_PREFIX+e,(0,d._K)(et.ID,et),(0,d.Qr)(class extends ei{constructor(){super({id:"editor.unfold",label:A.NC("unfoldAction.label","Unfold"),alias:"Unfold",precondition:ee,kbOpts:{kbExpr:u.u.editorTextFocus,primary:3161,mac:{primary:2649},weight:100},description:{description:"Unfold the content in the editor",args:[{name:"Unfold editor argument",description:`Property-value pairs that can be passed through this argument: + * 'levels': Number of levels to unfold. If not set, defaults to 1. + * 'direction': If 'up', unfold given number of levels up otherwise unfolds down. + * 'selectionLines': Array of the start lines (0-based) of the editor selections to apply the unfold action to. If not set, the active selection(s) will be used. + `,constraint:en,schema:{type:"object",properties:{levels:{type:"number",default:1},direction:{type:"string",enum:["up","down"],default:"down"},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(e,t,i,n){let o=n&&n.levels||1,r=this.getLineNumbers(n,i);n&&"up"===n.direction?w(t,!1,o,r):b(t,!1,o,r)}}),(0,d.Qr)(class extends ei{constructor(){super({id:"editor.unfoldRecursively",label:A.NC("unFoldRecursivelyAction.label","Unfold Recursively"),alias:"Unfold Recursively",precondition:ee,kbOpts:{kbExpr:u.u.editorTextFocus,primary:(0,r.gx)(2089,2137),weight:100}})}invoke(e,t,i,n){b(t,!1,Number.MAX_VALUE,this.getSelectedLines(i))}}),(0,d.Qr)(class extends ei{constructor(){super({id:"editor.fold",label:A.NC("foldAction.label","Fold"),alias:"Fold",precondition:ee,kbOpts:{kbExpr:u.u.editorTextFocus,primary:3159,mac:{primary:2647},weight:100},description:{description:"Fold the content in the editor",args:[{name:"Fold editor argument",description:`Property-value pairs that can be passed through this argument: + * 'levels': Number of levels to fold. + * 'direction': If 'up', folds given number of levels up otherwise folds down. + * 'selectionLines': Array of the start lines (0-based) of the editor selections to apply the fold action to. If not set, the active selection(s) will be used. + If no levels or direction is set, folds the region at the locations or if already collapsed, the first uncollapsed parent instead. + `,constraint:en,schema:{type:"object",properties:{levels:{type:"number"},direction:{type:"string",enum:["up","down"]},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(e,t,i,n){let o=this.getLineNumbers(n,i),r=n&&n.levels,s=n&&n.direction;"number"!=typeof r&&"string"!=typeof s?function(e,t,i){let n=[];for(let o of i){let i=e.getAllRegionsAtLine(o,e=>e.isCollapsed!==t);i.length>0&&n.push(i[0])}e.toggleCollapseState(n)}(t,!0,o):"up"===s?w(t,!0,r||1,o):b(t,!0,r||1,o)}}),(0,d.Qr)(class extends ei{constructor(){super({id:"editor.foldRecursively",label:A.NC("foldRecursivelyAction.label","Fold Recursively"),alias:"Fold Recursively",precondition:ee,kbOpts:{kbExpr:u.u.editorTextFocus,primary:(0,r.gx)(2089,2135),weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);b(t,!0,Number.MAX_VALUE,n)}}),(0,d.Qr)(class extends ei{constructor(){super({id:"editor.foldAll",label:A.NC("foldAllAction.label","Fold All"),alias:"Fold All",precondition:ee,kbOpts:{kbExpr:u.u.editorTextFocus,primary:(0,r.gx)(2089,2069),weight:100}})}invoke(e,t,i){b(t,!0)}}),(0,d.Qr)(class extends ei{constructor(){super({id:"editor.unfoldAll",label:A.NC("unfoldAllAction.label","Unfold All"),alias:"Unfold All",precondition:ee,kbOpts:{kbExpr:u.u.editorTextFocus,primary:(0,r.gx)(2089,2088),weight:100}})}invoke(e,t,i){b(t,!1)}}),(0,d.Qr)(class extends ei{constructor(){super({id:"editor.foldAllBlockComments",label:A.NC("foldAllBlockComments.label","Fold All Block Comments"),alias:"Fold All Block Comments",precondition:ee,kbOpts:{kbExpr:u.u.editorTextFocus,primary:(0,r.gx)(2089,2133),weight:100}})}invoke(e,t,i,n,o){if(t.regions.hasTypes())L(t,c.AD.Comment.value,!0);else{let e=i.getModel();if(!e)return;let n=o.getLanguageConfiguration(e.getLanguageId()).comments;if(n&&n.blockCommentStartToken){let e=RegExp("^\\s*"+(0,a.ec)(n.blockCommentStartToken));S(t,e,!0)}}}}),(0,d.Qr)(class extends ei{constructor(){super({id:"editor.foldAllMarkerRegions",label:A.NC("foldAllMarkerRegions.label","Fold All Regions"),alias:"Fold All Regions",precondition:ee,kbOpts:{kbExpr:u.u.editorTextFocus,primary:(0,r.gx)(2089,2077),weight:100}})}invoke(e,t,i,n,o){if(t.regions.hasTypes())L(t,c.AD.Region.value,!0);else{let e=i.getModel();if(!e)return;let n=o.getLanguageConfiguration(e.getLanguageId()).foldingRules;if(n&&n.markers&&n.markers.start){let e=new RegExp(n.markers.start);S(t,e,!0)}}}}),(0,d.Qr)(class extends ei{constructor(){super({id:"editor.unfoldAllMarkerRegions",label:A.NC("unfoldAllMarkerRegions.label","Unfold All Regions"),alias:"Unfold All Regions",precondition:ee,kbOpts:{kbExpr:u.u.editorTextFocus,primary:(0,r.gx)(2089,2078),weight:100}})}invoke(e,t,i,n,o){if(t.regions.hasTypes())L(t,c.AD.Region.value,!1);else{let e=i.getModel();if(!e)return;let n=o.getLanguageConfiguration(e.getLanguageId()).foldingRules;if(n&&n.markers&&n.markers.start){let e=new RegExp(n.markers.start);S(t,e,!1)}}}}),(0,d.Qr)(class extends ei{constructor(){super({id:"editor.foldAllExcept",label:A.NC("foldAllExcept.label","Fold All Regions Except Selected"),alias:"Fold All Regions Except Selected",precondition:ee,kbOpts:{kbExpr:u.u.editorTextFocus,primary:(0,r.gx)(2089,2131),weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);y(t,!0,n)}}),(0,d.Qr)(class extends ei{constructor(){super({id:"editor.unfoldAllExcept",label:A.NC("unfoldAllExcept.label","Unfold All Regions Except Selected"),alias:"Unfold All Regions Except Selected",precondition:ee,kbOpts:{kbExpr:u.u.editorTextFocus,primary:(0,r.gx)(2089,2129),weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);y(t,!1,n)}}),(0,d.Qr)(class extends ei{constructor(){super({id:"editor.toggleFold",label:A.NC("toggleFoldAction.label","Toggle Fold"),alias:"Toggle Fold",precondition:ee,kbOpts:{kbExpr:u.u.editorTextFocus,primary:(0,r.gx)(2089,2090),weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);!function(e,t,i){let n=[];for(let o of i){let i=e.getRegionAtLine(o);if(i){let o=!i.isCollapsed;if(n.push(i),t>1){let r=e.getRegionsInside(i,(e,i)=>e.isCollapsed!==o&&i0){let e=function(e,t){let i=null,n=t.getRegionAtLine(e);if(null!==n&&(i=n.startLineNumber,e===i)){let e=n.parentIndex;i=-1!==e?t.regions.getStartLineNumber(e):null}return i}(n[0],t);null!==e&&i.setSelection({startLineNumber:e,startColumn:1,endLineNumber:e,endColumn:1})}}}),(0,d.Qr)(class extends ei{constructor(){super({id:"editor.gotoPreviousFold",label:A.NC("gotoPreviousFold.label","Go to Previous Folding Range"),alias:"Go to Previous Folding Range",precondition:ee,kbOpts:{kbExpr:u.u.editorTextFocus,weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);if(n.length>0){let e=function(e,t){let i=t.getRegionAtLine(e);if(null!==i&&i.startLineNumber===e){if(e!==i.startLineNumber)return i.startLineNumber;{let e=i.parentIndex,n=0;for(-1!==e&&(n=t.regions.getStartLineNumber(i.parentIndex));null!==i;)if(i.regionIndex>0){if((i=t.regions.toRegion(i.regionIndex-1)).startLineNumber<=n)break;if(i.parentIndex===e)return i.startLineNumber}else break}}else if(t.regions.length>0)for(i=t.regions.toRegion(t.regions.length-1);null!==i;){if(i.startLineNumber0?t.regions.toRegion(i.regionIndex-1):null}return null}(n[0],t);null!==e&&i.setSelection({startLineNumber:e,startColumn:1,endLineNumber:e,endColumn:1})}}}),(0,d.Qr)(class extends ei{constructor(){super({id:"editor.gotoNextFold",label:A.NC("gotoNextFold.label","Go to Next Folding Range"),alias:"Go to Next Folding Range",precondition:ee,kbOpts:{kbExpr:u.u.editorTextFocus,weight:100}})}invoke(e,t,i){let n=this.getSelectedLines(i);if(n.length>0){let e=function(e,t){let i=t.getRegionAtLine(e);if(null!==i&&i.startLineNumber===e){let e=i.parentIndex,n=0;if(-1!==e)n=t.regions.getEndLineNumber(i.parentIndex);else{if(0===t.regions.length)return null;n=t.regions.getEndLineNumber(t.regions.length-1)}for(;null!==i;)if(i.regionIndex=n)break;if(i.parentIndex===e)return i.startLineNumber}else break}else if(t.regions.length>0)for(i=t.regions.toRegion(0);null!==i;){if(i.startLineNumber>e)return i.startLineNumber;i=i.regionIndexe.startLineNumber&&(o.push({startLineNumber:e.startLineNumber,endLineNumber:t,type:void 0,isCollapsed:!0,source:1}),i.setSelection({startLineNumber:e.startLineNumber,startColumn:1,endLineNumber:e.startLineNumber,endColumn:1}))}if(o.length>0){o.sort((e,t)=>e.startLineNumber-t.startLineNumber);let e=f.sanitizeAndMerge(t.regions,o,null===(n=i.getModel())||void 0===n?void 0:n.getLineCount());t.updatePost(f.fromFoldRanges(e))}}}}),(0,d.Qr)(class extends ei{constructor(){super({id:"editor.removeManualFoldingRanges",label:A.NC("removeManualFoldingRanges.label","Remove Manual Folding Ranges"),alias:"Remove Manual Folding Ranges",precondition:ee,kbOpts:{kbExpr:u.u.editorTextFocus,primary:(0,r.gx)(2089,2132),weight:100}})}invoke(e,t,i){let n=i.getSelections();if(n){let i=[];for(let e of n){let{startLineNumber:t,endLineNumber:n}=e;i.push(n>=t?{startLineNumber:t,endLineNumber:n}:{endLineNumber:n,startLineNumber:t})}t.removeManualRanges(i),e.triggerFoldingModelChanged()}}});for(let e=1;e<=7;e++)(0,d.QG)(new eo({id:eo.ID(e),label:A.NC("foldLevelAction.label","Fold Level {0}",e),alias:`Fold Level ${e}`,precondition:ee,kbOpts:{kbExpr:u.u.editorTextFocus,primary:(0,r.gx)(2089,2048|21+e),weight:100}}));let er=(0,O.P6G)("editor.foldBackground",{light:(0,O.ZnX)(O.hEj,.3),dark:(0,O.ZnX)(O.hEj,.3),hcDark:null,hcLight:null},A.NC("foldBackgroundBackground","Background color behind folded ranges. The color must not be opaque so as not to hide underlying decorations."),!0),es=(0,O.P6G)("editorGutter.foldingControlForeground",{dark:O.XZx,light:O.XZx,hcDark:O.XZx,hcLight:O.XZx},A.NC("editorGutter.foldingControlForeground","Color of the folding control in the editor gutter."));(0,P.Ic)((e,t)=>{let i=e.getColor(er);i&&t.addRule(`.monaco-editor .folded-background { background-color: ${i}; }`);let n=e.getColor(es);n&&t.addRule(` + .monaco-editor .cldr${P.kS.asCSSSelector(W)}, + .monaco-editor .cldr${P.kS.asCSSSelector(H)}, + .monaco-editor .cldr${P.kS.asCSSSelector(K)}, + .monaco-editor .cldr${P.kS.asCSSSelector(z)} { + color: ${n} !important; + } + `)})},44125:function(e,t,i){"use strict";var n=i(16830),o=i(82334),r=i(63580);class s extends n.R6{constructor(){super({id:"editor.action.fontZoomIn",label:r.NC("EditorFontZoomIn.label","Editor Font Zoom In"),alias:"Editor Font Zoom In",precondition:void 0})}run(e,t){o.C.setZoomLevel(o.C.getZoomLevel()+1)}}class a extends n.R6{constructor(){super({id:"editor.action.fontZoomOut",label:r.NC("EditorFontZoomOut.label","Editor Font Zoom Out"),alias:"Editor Font Zoom Out",precondition:void 0})}run(e,t){o.C.setZoomLevel(o.C.getZoomLevel()-1)}}class l extends n.R6{constructor(){super({id:"editor.action.fontZoomReset",label:r.NC("EditorFontZoomReset.label","Editor Font Zoom Reset"),alias:"Editor Font Zoom Reset",precondition:void 0})}run(e,t){o.C.setZoomLevel(0)}}(0,n.Qr)(s),(0,n.Qr)(a),(0,n.Qr)(l)},71373:function(e,t,i){"use strict";i.d(t,{xC:function(){return D},Zg:function(){return k},x$:function(){return x},Qq:function(){return E},Qs:function(){return M}});var n=i(85152),o=i(9488),r=i(71050),s=i(17301),a=i(53725),l=i(91741),h=i(98401),d=i(70666),u=i(14410),c=i(65520),g=i(50187),p=i(24314),m=i(3860),f=i(85215),_=i(88216),v=i(35120),C=i(63580),b=i(94565);class w{constructor(e){this.value=e,this._lower=e.toLowerCase()}static toKey(e){return"string"==typeof e?e.toLowerCase():e._lower}}var y=i(72065),S=i(71922),L=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};function k(e){if(!(e=e.filter(e=>e.range)).length)return;let{range:t}=e[0];for(let i=1;ie.provideDocumentRangeFormattingEdits(t,t.getFullModelRange(),i,n)})}return n}class D{static setFormatterSelector(e){let t=D._selectors.unshift(e);return{dispose:t}}static select(e,t,i){return L(this,void 0,void 0,function*(){if(0===e.length)return;let n=a.$.first(D._selectors);if(n)return yield n(e,t,i)})}}function x(e,t,i,n,o,r){return L(this,void 0,void 0,function*(){let s=e.get(y.TG),{documentRangeFormattingEditProvider:a}=e.get(S.p),l=(0,c.CL)(t)?t.getModel():t,h=a.ordered(l),d=yield D.select(h,l,n);d&&(o.report(d),yield s.invokeFunction(I,d,t,i,r))})}function I(e,t,i,n,r){return L(this,void 0,void 0,function*(){let s,a;let l=e.get(f.p);(0,c.CL)(i)?(s=i.getModel(),a=new u.Dl(i,5,void 0,r)):(s=i,a=new u.YQ(i,r));let h=[],d=0;for(let e of(0,o._2)(n).sort(p.e.compareRangesUsingStarts))d>0&&p.e.areIntersectingOrTouching(h[d-1],e)?h[d-1]=p.e.fromPositions(h[d-1].getStartPosition(),e.getEndPosition()):d=h.push(e);let g=e=>L(this,void 0,void 0,function*(){return(yield t.provideDocumentRangeFormattingEdits(s,e,s.getFormattingOptions(),a.token))||[]}),_=(e,t)=>{if(!e.length||!t.length)return!1;let i=e.reduce((e,t)=>p.e.plusRange(e,t.range),e[0].range);if(!t.some(e=>p.e.intersectRanges(i,e.range)))return!1;for(let i of e)for(let e of t)if(p.e.intersectRanges(i.range,e.range))return!0;return!1},C=[],b=[];try{for(let e of h){if(a.token.isCancellationRequested)return!0;b.push((yield g(e)))}for(let e=0;e({text:e.text,range:p.e.lift(e.range),forceMoveMarkers:!0})),e=>{for(let{range:i}of e)if(p.e.areIntersectingOrTouching(i,t))return[new m.Y(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn)];return null})}return!0})}function E(e,t,i,n,o){return L(this,void 0,void 0,function*(){let r=e.get(y.TG),s=e.get(S.p),a=(0,c.CL)(t)?t.getModel():t,l=N(s.documentFormattingEditProvider,s.documentRangeFormattingEditProvider,a),h=yield D.select(l,a,i);h&&(n.report(h),yield r.invokeFunction(T,h,t,i,o))})}function T(e,t,i,n,o){return L(this,void 0,void 0,function*(){let r,s,a;let l=e.get(f.p);(0,c.CL)(i)?(r=i.getModel(),s=new u.Dl(i,5,void 0,o)):(r=i,s=new u.YQ(i,o));try{let e=yield t.provideDocumentFormattingEdits(r,r.getFormattingOptions(),s.token);if(a=yield l.computeMoreMinimalEdits(r.uri,e),s.token.isCancellationRequested)return!0}finally{s.dispose()}if(!a||0===a.length)return!1;if((0,c.CL)(i))v.V.execute(i,a,2!==n),2!==n&&(k(a),i.revealPositionInCenterIfOutsideViewport(i.getPosition(),1));else{let[{range:e}]=a,t=new m.Y(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn);r.pushEditOperations([t],a.map(e=>({text:e.text,range:p.e.lift(e.range),forceMoveMarkers:!0})),e=>{for(let{range:i}of e)if(p.e.areIntersectingOrTouching(i,t))return[new m.Y(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn)];return null})}return!0})}function M(e,t,i,n,o,r,a){let l=t.onTypeFormattingEditProvider.ordered(i);return 0===l.length||0>l[0].autoFormatTriggerCharacters.indexOf(o)?Promise.resolve(void 0):Promise.resolve(l[0].provideOnTypeFormattingEdits(i,n,o,r,a)).catch(s.Cp).then(t=>e.computeMoreMinimalEdits(i.uri,t))}D._selectors=new l.S,b.P0.registerCommand("_executeFormatRangeProvider",function(e,...t){return L(this,void 0,void 0,function*(){let[i,n,a]=t;(0,h.p_)(d.o.isUri(i)),(0,h.p_)(p.e.isIRange(n));let l=e.get(_.S),u=e.get(f.p),c=e.get(S.p),g=yield l.createModelReference(i);try{return function(e,t,i,n,r,a){return L(this,void 0,void 0,function*(){let l=t.documentRangeFormattingEditProvider.ordered(i);for(let t of l){let l=yield Promise.resolve(t.provideDocumentRangeFormattingEdits(i,n,r,a)).catch(s.Cp);if((0,o.Of)(l))return yield e.computeMoreMinimalEdits(i.uri,l)}})}(u,c,g.object.textEditorModel,p.e.lift(n),a,r.T.None)}finally{g.dispose()}})}),b.P0.registerCommand("_executeFormatDocumentProvider",function(e,...t){return L(this,void 0,void 0,function*(){let[i,n]=t;(0,h.p_)(d.o.isUri(i));let a=e.get(_.S),l=e.get(f.p),u=e.get(S.p),c=yield a.createModelReference(i);try{return function(e,t,i,n,r){return L(this,void 0,void 0,function*(){let a=N(t.documentFormattingEditProvider,t.documentRangeFormattingEditProvider,i);for(let t of a){let a=yield Promise.resolve(t.provideDocumentFormattingEdits(i,n,r)).catch(s.Cp);if((0,o.Of)(a))return yield e.computeMoreMinimalEdits(i.uri,a)}})}(l,u,c.object.textEditorModel,n,r.T.None)}finally{c.dispose()}})}),b.P0.registerCommand("_executeFormatOnTypeProvider",function(e,...t){return L(this,void 0,void 0,function*(){let[i,n,o,s]=t;(0,h.p_)(d.o.isUri(i)),(0,h.p_)(g.L.isIPosition(n)),(0,h.p_)("string"==typeof o);let a=e.get(_.S),l=e.get(f.p),u=e.get(S.p),c=yield a.createModelReference(i);try{return M(l,u,c.object.textEditorModel,g.L.lift(n),o,s,r.T.None)}finally{c.dispose()}})})},61097:function(e,t,i){"use strict";var n=i(9488),o=i(71050),r=i(17301),s=i(22258),a=i(9917),l=i(16830),h=i(11640),d=i(44906),u=i(24314),c=i(29102),g=i(85215),p=i(71922),m=i(71373),f=i(35120),_=i(63580),v=i(94565),C=i(38819),b=i(72065),w=i(90535),y=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},S=function(e,t){return function(i,n){t(i,n,e)}},L=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let k=class{constructor(e,t,i){this._editor=e,this._languageFeaturesService=t,this._workerService=i,this._disposables=new a.SL,this._sessionDisposables=new a.SL,this._disposables.add(t.onTypeFormattingEditProvider.onDidChange(this._update,this)),this._disposables.add(e.onDidChangeModel(()=>this._update())),this._disposables.add(e.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(e.onDidChangeConfiguration(e=>{e.hasChanged(51)&&this._update()}))}dispose(){this._disposables.dispose(),this._sessionDisposables.dispose()}_update(){if(this._sessionDisposables.clear(),!this._editor.getOption(51)||!this._editor.hasModel())return;let e=this._editor.getModel(),[t]=this._languageFeaturesService.onTypeFormattingEditProvider.ordered(e);if(!t||!t.autoFormatTriggerCharacters)return;let i=new d.q;for(let e of t.autoFormatTriggerCharacters)i.add(e.charCodeAt(0));this._sessionDisposables.add(this._editor.onDidType(e=>{let t=e.charCodeAt(e.length-1);i.has(t)&&this._trigger(String.fromCharCode(t))}))}_trigger(e){if(!this._editor.hasModel()||this._editor.getSelections().length>1||!this._editor.getSelection().isEmpty())return;let t=this._editor.getModel(),i=this._editor.getPosition(),r=new o.A,s=this._editor.onDidChangeModelContent(e=>{if(e.isFlush){r.cancel(),s.dispose();return}for(let t=0,n=e.changes.length;t{!r.token.isCancellationRequested&&(0,n.Of)(e)&&(f.V.execute(this._editor,e,!0),(0,m.Zg)(e))}).finally(()=>{s.dispose()})}};k.ID="editor.contrib.autoFormat",k=y([S(1,p.p),S(2,g.p)],k);let N=class{constructor(e,t,i){this.editor=e,this._languageFeaturesService=t,this._instantiationService=i,this._callOnDispose=new a.SL,this._callOnModel=new a.SL,this._callOnDispose.add(e.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(e.onDidChangeModel(()=>this._update())),this._callOnDispose.add(e.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(t.documentRangeFormattingEditProvider.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(50)&&this.editor.hasModel()&&this._languageFeaturesService.documentRangeFormattingEditProvider.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:e})=>this._trigger(e)))}_trigger(e){this.editor.hasModel()&&!(this.editor.getSelections().length>1)&&this._instantiationService.invokeFunction(m.x$,this.editor,e,2,w.Ex.None,o.T.None).catch(r.dL)}};N.ID="editor.contrib.formatOnPaste",N=y([S(1,p.p),S(2,b.TG)],N);class D extends l.R6{constructor(){super({id:"editor.action.formatDocument",label:_.NC("formatDocument.label","Format Document"),alias:"Format Document",precondition:C.Ao.and(c.u.notInCompositeEditor,c.u.writable,c.u.hasDocumentFormattingProvider),kbOpts:{kbExpr:c.u.editorTextFocus,primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{group:"1_modification",order:1.3}})}run(e,t){return L(this,void 0,void 0,function*(){if(t.hasModel()){let i=e.get(b.TG),n=e.get(w.ek);yield n.showWhile(i.invokeFunction(m.Qq,t,1,w.Ex.None,o.T.None),250)}})}}class x extends l.R6{constructor(){super({id:"editor.action.formatSelection",label:_.NC("formatSelection.label","Format Selection"),alias:"Format Selection",precondition:C.Ao.and(c.u.writable,c.u.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:c.u.editorTextFocus,primary:(0,s.gx)(2089,2084),weight:100},contextMenuOpts:{when:c.u.hasNonEmptySelection,group:"1_modification",order:1.31}})}run(e,t){return L(this,void 0,void 0,function*(){if(!t.hasModel())return;let i=e.get(b.TG),n=t.getModel(),r=t.getSelections().map(e=>e.isEmpty()?new u.e(e.startLineNumber,1,e.startLineNumber,n.getLineMaxColumn(e.startLineNumber)):e),s=e.get(w.ek);yield s.showWhile(i.invokeFunction(m.x$,t,r,1,w.Ex.None,o.T.None),250)})}}(0,l._K)(k.ID,k),(0,l._K)(N.ID,N),(0,l.Qr)(D),(0,l.Qr)(x),v.P0.registerCommand("editor.action.format",e=>L(void 0,void 0,void 0,function*(){let t=e.get(h.$).getFocusedCodeEditor();if(!t||!t.hasModel())return;let i=e.get(v.Hy);t.getSelection().isEmpty()?yield i.executeCommand("editor.action.formatDocument"):yield i.executeCommand("editor.action.formatSelection")}))},35120:function(e,t,i){"use strict";i.d(t,{V:function(){return r}});var n=i(69386),o=i(24314);class r{static _handleEolEdits(e,t){let i;let n=[];for(let e of t)"number"==typeof e.eol&&(i=e.eol),e.range&&"string"==typeof e.text&&n.push(e);return"number"==typeof i&&e.hasModel()&&e.getModel().pushEOL(i),n}static _isFullModelReplaceEdit(e,t){if(!e.hasModel())return!1;let i=e.getModel(),n=i.validateRange(t.range),o=i.getFullModelRange();return o.equalsRange(n)}static execute(e,t,i){i&&e.pushUndoStop();let s=r._handleEolEdits(e,t);1===s.length&&r._isFullModelReplaceEdit(e,s[0])?e.executeEdits("formatEditsCommand",s.map(e=>n.h.replace(o.e.lift(e.range),e.text))):e.executeEdits("formatEditsCommand",s.map(e=>n.h.replaceMove(o.e.lift(e.range),e.text))),i&&e.pushUndoStop()}}},99803:function(e,t,i){"use strict";i.d(t,{c:function(){return ei},v:function(){return eo}});var n,o=i(73046),r=i(9917),s=i(16830),a=i(11640),l=i(50187),h=i(24314),d=i(29102),u=i(9488),c=i(4669),g=i(91741),p=i(97295),m=i(70666),f=i(65026),_=i(72065),v=i(98674),C=i(33108),b=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},w=function(e,t){return function(i,n){t(i,n,e)}};class y{constructor(e,t,i){this.marker=e,this.index=t,this.total=i}}let S=class{constructor(e,t,i){this._markerService=t,this._configService=i,this._onDidChange=new c.Q5,this.onDidChange=this._onDidChange.event,this._dispoables=new r.SL,this._markers=[],this._nextIdx=-1,m.o.isUri(e)?this._resourceFilter=t=>t.toString()===e.toString():e&&(this._resourceFilter=e);let n=this._configService.getValue("problems.sortOrder"),o=(e,t)=>{let i=(0,p.qu)(e.resource.toString(),t.resource.toString());return 0===i&&(i="position"===n?h.e.compareRangesUsingStarts(e,t)||v.ZL.compare(e.severity,t.severity):v.ZL.compare(e.severity,t.severity)||h.e.compareRangesUsingStarts(e,t)),i},s=()=>{this._markers=this._markerService.read({resource:m.o.isUri(e)?e:void 0,severities:v.ZL.Error|v.ZL.Warning|v.ZL.Info}),"function"==typeof e&&(this._markers=this._markers.filter(e=>this._resourceFilter(e.resource))),this._markers.sort(o)};s(),this._dispoables.add(t.onMarkerChanged(e=>{(!this._resourceFilter||e.some(e=>this._resourceFilter(e)))&&(s(),this._nextIdx=-1,this._onDidChange.fire())}))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}matches(e){return!this._resourceFilter&&!e||!!this._resourceFilter&&!!e&&this._resourceFilter(e)}get selected(){let e=this._markers[this._nextIdx];return e&&new y(e,this._nextIdx+1,this._markers.length)}_initIdx(e,t,i){let n=!1,o=this._markers.findIndex(t=>t.resource.toString()===e.uri.toString());o<0&&(o=(0,u.ry)(this._markers,{resource:e.uri},(e,t)=>(0,p.qu)(e.resource.toString(),t.resource.toString())))<0&&(o=~o);for(let i=o;it.resource.toString()===e.toString());if(!(i<0)){for(;i{let i=e.getColor(V.JpG);if(i){let e=o.lA.error.cssSelector;t.addRule(` + .monaco-editor .zone-widget ${e}, + .markers-panel .marker-icon${e}, + .text-search-provider-messages .providerMessage ${e}, + .extensions-viewlet > .extensions ${e} { + color: ${i}; + } + `)}let n=e.getColor(V.BOY);if(n){let e=o.lA.warning.cssSelector;t.addRule(` + .monaco-editor .zone-widget ${e}, + .markers-panel .marker-icon${e}, + .extensions-viewlet > .extensions ${e}, + .extension-editor ${e}, + .text-search-provider-messages .providerMessage ${e}, + .preferences-editor ${e} { + color: ${n}; + } + `)}let r=e.getColor(V.OLZ);if(r){let e=o.lA.info.cssSelector;t.addRule(` + .monaco-editor .zone-widget ${e}, + .markers-panel .marker-icon${e}, + .extensions-viewlet > .extensions ${e}, + .text-search-provider-messages .providerMessage ${e}, + .extension-editor ${e} { + color: ${r}; + } + `)}});var H=function(e,t){return function(i,n){t(i,n,e)}};class z{constructor(e,t,i,n,o){this._openerService=n,this._labelService=o,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new r.SL,this._editor=t;let s=document.createElement("div");s.className="descriptioncontainer",this._messageBlock=document.createElement("div"),this._messageBlock.classList.add("message"),this._messageBlock.setAttribute("aria-live","assertive"),this._messageBlock.setAttribute("role","alert"),s.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),s.appendChild(this._relatedBlock),this._disposables.add(E.mu(this._relatedBlock,"click",e=>{e.preventDefault();let t=this._relatedDiagnostics.get(e.target);t&&i(t)})),this._scrollable=new T.NB(s,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:6,verticalScrollbarSize:6}),e.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(e=>{s.style.left=`-${e.scrollLeft}px`,s.style.top=`-${e.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){(0,r.B9)(this._disposables)}update(e){let{source:t,message:i,relatedInformation:n,code:o}=e,r=((null==t?void 0:t.length)||0)+2;o&&("string"==typeof o?r+=o.length:r+=o.value.length);let s=(0,p.uq)(i);for(let e of(this._lines=s.length,this._longestLineLength=0,s))this._longestLineLength=Math.max(e.length+r,this._longestLineLength);E.PO(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(e)),this._editor.applyFontInfo(this._messageBlock);let a=this._messageBlock;for(let e of s)(a=document.createElement("div")).innerText=e,""===e&&(a.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(a);if(t||o){let e=document.createElement("span");if(e.classList.add("details"),a.appendChild(e),t){let i=document.createElement("span");i.innerText=t,i.classList.add("source"),e.appendChild(i)}if(o){if("string"==typeof o){let t=document.createElement("span");t.innerText=`(${o})`,t.classList.add("code"),e.appendChild(t)}else{this._codeLink=E.$("a.code-link"),this._codeLink.setAttribute("href",`${o.target.toString()}`),this._codeLink.onclick=e=>{this._openerService.open(o.target,{allowCommands:!0}),e.preventDefault(),e.stopPropagation()};let t=E.R3(this._codeLink,E.$("span"));t.innerText=o.value,e.appendChild(this._codeLink)}}}if(E.PO(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),(0,u.Of)(n)){let e=this._relatedBlock.appendChild(document.createElement("div"));for(let t of(e.style.paddingTop=`${Math.floor(.66*this._editor.getOption(61))}px`,this._lines+=1,n)){let i=document.createElement("div"),n=document.createElement("a");n.classList.add("filename"),n.innerText=`${this._labelService.getUriBasenameLabel(t.resource)}(${t.startLineNumber}, ${t.startColumn}): `,n.title=this._labelService.getUriLabel(t.resource),this._relatedDiagnostics.set(n,t);let o=document.createElement("span");o.innerText=t.message,i.appendChild(n),i.appendChild(o),this._lines+=1,e.appendChild(i)}}let l=this._editor.getOption(46),h=Math.ceil(l.typicalFullwidthCharacterWidth*this._longestLineLength*.75),d=l.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:h,scrollHeight:d})}layout(e,t){this._scrollable.getDomNode().style.height=`${e}px`,this._scrollable.getDomNode().style.width=`${t}px`,this._scrollable.setScrollDimensions({width:t,height:e})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(e){let t="";switch(e.severity){case v.ZL.Error:t=N.NC("Error","Error");break;case v.ZL.Warning:t=N.NC("Warning","Warning");break;case v.ZL.Info:t=N.NC("Info","Info");break;case v.ZL.Hint:t=N.NC("Hint","Hint")}let i=N.NC("marker aria","{0} at {1}. ",t,e.startLineNumber+":"+e.startColumn),n=this._editor.getModel();if(n&&e.startLineNumber<=n.getLineCount()&&e.startLineNumber>=1){let t=n.getLineContent(e.startLineNumber);i=`${t}, ${i}`}return i}}let K=class e extends R.vk{constructor(e,t,i,n,o,s,a){super(e,{showArrow:!0,showFrame:!0,isAccessible:!0,frameWidth:1},o),this._themeService=t,this._openerService=i,this._menuService=n,this._contextKeyService=s,this._labelService=a,this._callOnDispose=new r.SL,this._onDidSelectRelatedInformation=new c.Q5,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=v.ZL.Warning,this._backgroundColor=M.Il.white,this._applyTheme(t.getColorTheme()),this._callOnDispose.add(t.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(e){this._backgroundColor=e.getColor(X);let t=q,i=G;this._severity===v.ZL.Warning?(t=Q,i=Z):this._severity===v.ZL.Info&&(t=Y,i=J);let n=e.getColor(t),o=e.getColor(i);this.style({arrowColor:n,frameColor:n,headerBackgroundColor:o,primaryHeadingColor:e.getColor(R.IH),secondaryHeadingColor:e.getColor(R.R7)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(t){super._fillHead(t),this._disposables.add(this._actionbarWidget.actionRunner.onBeforeRun(e=>this.editor.focus()));let i=[],n=this._menuService.createMenu(e.TitleMenu,this._contextKeyService);(0,O.vr)(n,void 0,i),this._actionbarWidget.push(i,{label:!1,icon:!0,index:0}),n.dispose()}_fillTitleIcon(e){this._icon=E.R3(e,E.$(""))}_fillBody(e){this._parentContainer=e,e.classList.add("marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),e.appendChild(this._container),this._message=new z(this._container,this.editor,e=>this._onDidSelectRelatedInformation.fire(e),this._openerService,this._labelService),this._disposables.add(this._message)}show(){throw Error("call showAtMarker")}showAtMarker(e,t,i){this._container.classList.remove("stale"),this._message.update(e),this._severity=e.severity,this._applyTheme(this._themeService.getColorTheme());let o=h.e.lift(e),r=this.editor.getPosition(),s=r&&o.containsPosition(r)?r:o.getStartPosition();super.show(s,this.computeRequiredHeight());let a=this.editor.getModel();if(a){let e=i>1?N.NC("problems","{0} of {1} problems",t,i):N.NC("change","{0} of {1} problem",t,i);this.setTitle((0,A.EZ)(a.uri),e)}this._icon.className=`codicon ${n.className(v.ZL.toSeverity(this._severity))}`,this.editor.revealPositionNearTop(s,0),this.editor.focus()}updateMarker(e){this._container.classList.remove("stale"),this._message.update(e)}showStale(){this._container.classList.add("stale"),this._relayout()}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._heightInPixel=e,this._message.layout(e,t),this._container.style.height=`${e}px`}_onWidth(e){this._message.layout(this._heightInPixel,e)}_relayout(){super._relayout(this.computeRequiredHeight())}computeRequiredHeight(){return 3+this._message.getHeightInLines()}};K.TitleMenu=new D.eH("gotoErrorTitleMenu"),K=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([H(1,W.XE),H(2,F.v4),H(3,D.co),H(4,_.TG),H(5,x.i6),H(6,P.e)],K);let U=(0,V.kwl)(V.lXJ,V.b6y),$=(0,V.kwl)(V.uoC,V.pW3),j=(0,V.kwl)(V.c63,V.T83),q=(0,V.P6G)("editorMarkerNavigationError.background",{dark:U,light:U,hcDark:V.lRK,hcLight:V.lRK},N.NC("editorMarkerNavigationError","Editor marker navigation widget error color.")),G=(0,V.P6G)("editorMarkerNavigationError.headerBackground",{dark:(0,V.ZnX)(q,.1),light:(0,V.ZnX)(q,.1),hcDark:null,hcLight:null},N.NC("editorMarkerNavigationErrorHeaderBackground","Editor marker navigation widget error heading background.")),Q=(0,V.P6G)("editorMarkerNavigationWarning.background",{dark:$,light:$,hcDark:V.lRK,hcLight:V.lRK},N.NC("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),Z=(0,V.P6G)("editorMarkerNavigationWarning.headerBackground",{dark:(0,V.ZnX)(Q,.1),light:(0,V.ZnX)(Q,.1),hcDark:"#0C141F",hcLight:(0,V.ZnX)(Q,.2)},N.NC("editorMarkerNavigationWarningBackground","Editor marker navigation widget warning heading background.")),Y=(0,V.P6G)("editorMarkerNavigationInfo.background",{dark:j,light:j,hcDark:V.lRK,hcLight:V.lRK},N.NC("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),J=(0,V.P6G)("editorMarkerNavigationInfo.headerBackground",{dark:(0,V.ZnX)(Y,.1),light:(0,V.ZnX)(Y,.1),hcDark:null,hcLight:null},N.NC("editorMarkerNavigationInfoHeaderBackground","Editor marker navigation widget info heading background.")),X=(0,V.P6G)("editorMarkerNavigation.background",{dark:V.cvW,light:V.cvW,hcDark:V.cvW,hcLight:V.cvW},N.NC("editorMarkerNavigationBackground","Editor marker navigation widget background."));var ee=function(e,t){return function(i,n){t(i,n,e)}},et=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let ei=class e{constructor(e,t,i,n,o){this._markerNavigationService=t,this._contextKeyService=i,this._editorService=n,this._instantiationService=o,this._sessionDispoables=new r.SL,this._editor=e,this._widgetVisible=es.bindTo(this._contextKeyService)}static get(t){return t.getContribution(e.ID)}dispose(){this._cleanUp(),this._sessionDispoables.dispose()}_cleanUp(){this._widgetVisible.reset(),this._sessionDispoables.clear(),this._widget=void 0,this._model=void 0}_getOrCreateModel(e){if(this._model&&this._model.matches(e))return this._model;let t=!1;return this._model&&(t=!0,this._cleanUp()),this._model=this._markerNavigationService.getMarkerList(e),t&&this._model.move(!0,this._editor.getModel(),this._editor.getPosition()),this._widget=this._instantiationService.createInstance(K,this._editor),this._widget.onDidClose(()=>this.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(e=>{var t,i,n;(null===(t=this._model)||void 0===t?void 0:t.selected)&&h.e.containsPosition(null===(i=this._model)||void 0===i?void 0:i.selected.marker,e.position)||null===(n=this._model)||void 0===n||n.resetIndex()})),this._sessionDispoables.add(this._model.onDidChange(()=>{if(!this._widget||!this._widget.position||!this._model)return;let e=this._model.find(this._editor.getModel().uri,this._widget.position);e?this._widget.updateMarker(e.marker):this._widget.showStale()})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(e=>{this._editorService.openCodeEditor({resource:e.resource,options:{pinned:!0,revealIfOpened:!0,selection:h.e.lift(e).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp())),this._model}close(e=!0){this._cleanUp(),e&&this._editor.focus()}showAtMarker(e){if(this._editor.hasModel()){let t=this._getOrCreateModel(this._editor.getModel().uri);t.resetIndex(),t.move(!0,this._editor.getModel(),new l.L(e.startLineNumber,e.startColumn)),t.selected&&this._widget.showAtMarker(t.selected.marker,t.selected.index,t.selected.total)}}nagivate(t,i){var n,o;return et(this,void 0,void 0,function*(){if(this._editor.hasModel()){let r=this._getOrCreateModel(i?void 0:this._editor.getModel().uri);if(r.move(t,this._editor.getModel(),this._editor.getPosition()),r.selected){if(r.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();let s=yield this._editorService.openCodeEditor({resource:r.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:r.selected.marker}},this._editor);s&&(null===(n=e.get(s))||void 0===n||n.close(),null===(o=e.get(s))||void 0===o||o.nagivate(t,i))}else this._widget.showAtMarker(r.selected.marker,r.selected.index,r.selected.total)}}})}};ei.ID="editor.contrib.markerController",ei=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([ee(1,L),ee(2,x.i6),ee(3,a.$),ee(4,_.TG)],ei);class en extends s.R6{constructor(e,t,i){super(i),this._next=e,this._multiFile=t}run(e,t){var i;return et(this,void 0,void 0,function*(){t.hasModel()&&(null===(i=ei.get(t))||void 0===i||i.nagivate(this._next,this._multiFile))})}}class eo extends en{constructor(){super(!0,!1,{id:eo.ID,label:eo.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:d.u.focus,primary:578,weight:100},menuOpts:{menuId:K.TitleMenu,title:eo.LABEL,icon:(0,I.q5)("marker-navigation-next",o.lA.arrowDown,N.NC("nextMarkerIcon","Icon for goto next marker.")),group:"navigation",order:1}})}}eo.ID="editor.action.marker.next",eo.LABEL=N.NC("markerAction.next.label","Go to Next Problem (Error, Warning, Info)");class er extends en{constructor(){super(!1,!1,{id:er.ID,label:er.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:d.u.focus,primary:1602,weight:100},menuOpts:{menuId:K.TitleMenu,title:er.LABEL,icon:(0,I.q5)("marker-navigation-previous",o.lA.arrowUp,N.NC("previousMarkerIcon","Icon for goto previous marker.")),group:"navigation",order:2}})}}er.ID="editor.action.marker.prev",er.LABEL=N.NC("markerAction.previous.label","Go to Previous Problem (Error, Warning, Info)"),(0,s._K)(ei.ID,ei),(0,s.Qr)(eo),(0,s.Qr)(er),(0,s.Qr)(class extends en{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:N.NC("markerAction.nextInFiles.label","Go to Next Problem in Files (Error, Warning, Info)"),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:d.u.focus,primary:66,weight:100},menuOpts:{menuId:D.eH.MenubarGoMenu,title:N.NC({key:"miGotoNextProblem",comment:["&& denotes a mnemonic"]},"Next &&Problem"),group:"6_problem_nav",order:1}})}}),(0,s.Qr)(class extends en{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:N.NC("markerAction.previousInFiles.label","Go to Previous Problem in Files (Error, Warning, Info)"),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:d.u.focus,primary:1090,weight:100},menuOpts:{menuId:D.eH.MenubarGoMenu,title:N.NC({key:"miGotoPreviousProblem",comment:["&& denotes a mnemonic"]},"Previous &&Problem"),group:"6_problem_nav",order:2}})}});let es=new x.uy("markersNavigationVisible",!1),ea=s._l.bindToContribution(ei.get);(0,s.fK)(new ea({id:"closeMarkersNavigation",precondition:es,handler:e=>e.close(),kbOpts:{weight:150,kbExpr:d.u.focus,primary:9,secondary:[1033]}}))},95817:function(e,t,i){"use strict";i.d(t,{BT:function(){return en},Bj:function(){return ei},_k:function(){return et}});var n,o,r,s,a,l,h,d,u=i(16268),c=i(85152),g=i(15393),p=i(22258),m=i(1432),f=i(98401),_=i(70666),v=i(14410),C=i(65520),b=i(16830),w=i(11640),y=i(84527),S=i(50187),L=i(24314),k=i(29102),N=i(43155),D=i(29010),x=i(1293),I=i(4669),E=i(9917),T=i(95935),M=i(63580),A=i(38819),R=i(65026),O=i(72065),P=i(91847),F=i(49989),B=i(59422),V=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},W=function(e,t){return function(i,n){t(i,n,e)}};let H=new A.uy("hasSymbols",!1,(0,M.NC)("hasSymbols","Whether there are symbol locations that can be navigated via keyboard-only.")),z=(0,O.yh)("ISymbolNavigationService"),K=class{constructor(e,t,i,n){this._editorService=t,this._notificationService=i,this._keybindingService=n,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=H.bindTo(e)}reset(){var e,t;this._ctxHasSymbols.reset(),null===(e=this._currentState)||void 0===e||e.dispose(),null===(t=this._currentMessage)||void 0===t||t.dispose(),this._currentModel=void 0,this._currentIdx=-1}put(e){let t=e.parent.parent;if(t.references.length<=1){this.reset();return}this._currentModel=t,this._currentIdx=t.references.indexOf(e),this._ctxHasSymbols.set(!0),this._showMessage();let i=new U(this._editorService),n=i.onDidChange(e=>{if(this._ignoreEditorChange)return;let i=this._editorService.getActiveCodeEditor();if(!i)return;let n=i.getModel(),o=i.getPosition();if(!n||!o)return;let r=!1,s=!1;for(let e of t.references)if((0,T.Xy)(e.uri,n.uri))r=!0,s=s||L.e.containsPosition(e.range,o);else if(r)break;r&&s||this.reset()});this._currentState=(0,E.F8)(i,n)}revealNext(e){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;let t=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:t.uri,options:{selection:L.e.collapseToStart(t.range),selectionRevealType:3}},e).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){var e;null===(e=this._currentMessage)||void 0===e||e.dispose();let t=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult"),i=t?(0,M.NC)("location.kb","Symbol {0} of {1}, {2} for next",this._currentIdx+1,this._currentModel.references.length,t.getLabel()):(0,M.NC)("location","Symbol {0} of {1}",this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(i)}};K=V([W(0,A.i6),W(1,w.$),W(2,B.lT),W(3,P.d)],K),(0,R.z)(z,K,!0),(0,b.fK)(new class extends b._l{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:H,kbOpts:{weight:100,primary:70}})}runEditorCommand(e,t){return e.get(z).revealNext(t)}}),F.W.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:H,primary:9,handler(e){e.get(z).reset()}});let U=class{constructor(e){this._listener=new Map,this._disposables=new E.SL,this._onDidChange=new I.Q5,this.onDidChange=this._onDidChange.event,this._disposables.add(e.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(e.onCodeEditorAdd(this._onDidAddEditor,this)),e.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),(0,E.B9)(this._listener.values())}_onDidAddEditor(e){this._listener.set(e,(0,E.F8)(e.onDidChangeCursorPosition(t=>this._onDidChange.fire({editor:e})),e.onDidChangeModelContent(t=>this._onDidChange.fire({editor:e}))))}_onDidRemoveEditor(e){var t;null===(t=this._listener.get(e))||void 0===t||t.dispose(),this._listener.delete(e)}};U=V([W(0,w.$)],U);var $=i(27753),j=i(36943),q=i(84144),G=i(94565),Q=i(90535),Z=i(40184),Y=i(71922),J=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};q.BH.appendMenuItem(q.eH.EditorContext,{submenu:q.eH.EditorContextPeek,title:M.NC("peek.submenu","Peek"),group:"navigation",order:100});let X=new Set;function ee(e){let t=new e;return(0,b.QG)(t),X.add(t.id),t}class et{constructor(e,t){this.model=e,this.position=t}static is(e){return!!e&&"object"==typeof e&&!!(e instanceof et||S.L.isIPosition(e.position)&&e.model)}}class ei extends b.R6{constructor(e,t){super(t),this.configuration=e}run(e,t,i){if(!t.hasModel())return Promise.resolve(void 0);let n=e.get(B.lT),o=e.get(w.$),r=e.get(Q.ek),s=e.get(z),a=e.get(Y.p),l=t.getModel(),h=t.getPosition(),d=et.is(i)?i:new et(l,h),u=new v.Dl(t,5),p=(0,g.eP)(this._getLocationModel(a,d.model,d.position,u.token),u.token).then(e=>J(this,void 0,void 0,function*(){var i;let n;if(!e||u.token.isCancellationRequested)return;if((0,c.Z9)(e.ariaMessage),e.referenceAt(l.uri,h)){let e=this._getAlternativeCommand(t);!ei._activeAlternativeCommands.has(e)&&X.has(e)&&(n=t.getAction(e))}let r=e.references.length;if(0===r){if(!this.configuration.muteMessage){let e=l.getWordAtPosition(h);null===(i=$.O.get(t))||void 0===i||i.showMessage(this._getNoResultFoundMessage(e),h)}}else{if(1!==r||!n)return this._onResult(o,s,t,e);ei._activeAlternativeCommands.add(this.id),n.run().finally(()=>{ei._activeAlternativeCommands.delete(this.id)})}}),e=>{n.error(e)}).finally(()=>{u.dispose()});return r.showWhile(p,250),p}_onResult(e,t,i,n){return J(this,void 0,void 0,function*(){let o=this._getGoToPreference(i);if(i instanceof y.H||!this.configuration.openInPeek&&("peek"!==o||!(n.references.length>1))){let r=n.firstReference(),s=n.references.length>1&&"gotoAndPeek"===o,a=yield this._openReference(i,e,r,this.configuration.openToSide,!s);s&&a?this._openInPeek(a,n):n.dispose(),"goto"===o&&t.put(r)}else this._openInPeek(i,n)})}_openReference(e,t,i,n,o){return J(this,void 0,void 0,function*(){let r;if((0,N.vx)(i)&&(r=i.targetSelectionRange),r||(r=i.range),!r)return;let s=yield t.openCodeEditor({resource:i.uri,options:{selection:L.e.collapseToStart(r),selectionRevealType:3,selectionSource:"code.jump"}},e,n);if(s){if(o){let e=s.getModel(),t=s.createDecorationsCollection([{range:r,options:{description:"symbol-navigate-action-highlight",className:"symbolHighlight"}}]);setTimeout(()=>{s.getModel()===e&&t.clear()},350)}return s}})}_openInPeek(e,t){let i=D.J.get(e);i&&e.hasModel()?i.toggleWidget(e.getSelection(),(0,g.PG)(e=>Promise.resolve(t)),this.configuration.openInPeek):t.dispose()}}ei._activeAlternativeCommands=new Set;class en extends ei{_getLocationModel(e,t,i,n){return J(this,void 0,void 0,function*(){return new x.oQ((yield(0,Z.nD)(e.definitionProvider,t,i,n)),M.NC("def.title","Definitions"))})}_getNoResultFoundMessage(e){return e&&e.word?M.NC("noResultWord","No definition found for '{0}'",e.word):M.NC("generic.noResults","No definition found")}_getAlternativeCommand(e){return e.getOption(53).alternativeDefinitionCommand}_getGoToPreference(e){return e.getOption(53).multipleDefinitions}}let eo=m.$L&&!(0,u.isStandalone)()?2118:70;ee(((n=class e extends en{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.id,label:M.NC("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:A.Ao.and(k.u.hasDefinitionProvider,k.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:k.u.editorTextFocus,primary:eo,weight:100},contextMenuOpts:{group:"navigation",order:1.1}}),G.P0.registerCommandAlias("editor.action.goToDeclaration",e.id)}}).id="editor.action.revealDefinition",n)),ee(((o=class e extends en{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:e.id,label:M.NC("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:A.Ao.and(k.u.hasDefinitionProvider,k.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:k.u.editorTextFocus,primary:(0,p.gx)(2089,eo),weight:100}}),G.P0.registerCommandAlias("editor.action.openDeclarationToTheSide",e.id)}}).id="editor.action.revealDefinitionAside",o)),ee(((r=class e extends en{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:e.id,label:M.NC("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:A.Ao.and(k.u.hasDefinitionProvider,j.Jy.notInPeekEditor,k.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:k.u.editorTextFocus,primary:582,linux:{primary:3140},weight:100},contextMenuOpts:{menuId:q.eH.EditorContextPeek,group:"peek",order:2}}),G.P0.registerCommandAlias("editor.action.previewDeclaration",e.id)}}).id="editor.action.peekDefinition",r));class er extends ei{_getLocationModel(e,t,i,n){return J(this,void 0,void 0,function*(){return new x.oQ((yield(0,Z.zq)(e.declarationProvider,t,i,n)),M.NC("decl.title","Declarations"))})}_getNoResultFoundMessage(e){return e&&e.word?M.NC("decl.noResultWord","No declaration found for '{0}'",e.word):M.NC("decl.generic.noResults","No declaration found")}_getAlternativeCommand(e){return e.getOption(53).alternativeDeclarationCommand}_getGoToPreference(e){return e.getOption(53).multipleDeclarations}}ee(((s=class e extends er{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.id,label:M.NC("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:A.Ao.and(k.u.hasDeclarationProvider,k.u.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{group:"navigation",order:1.3}})}_getNoResultFoundMessage(e){return e&&e.word?M.NC("decl.noResultWord","No declaration found for '{0}'",e.word):M.NC("decl.generic.noResults","No declaration found")}}).id="editor.action.revealDeclaration",s)),ee(class extends er{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",label:M.NC("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:A.Ao.and(k.u.hasDeclarationProvider,j.Jy.notInPeekEditor,k.u.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:q.eH.EditorContextPeek,group:"peek",order:3}})}});class es extends ei{_getLocationModel(e,t,i,n){return J(this,void 0,void 0,function*(){return new x.oQ((yield(0,Z.L3)(e.typeDefinitionProvider,t,i,n)),M.NC("typedef.title","Type Definitions"))})}_getNoResultFoundMessage(e){return e&&e.word?M.NC("goToTypeDefinition.noResultWord","No type definition found for '{0}'",e.word):M.NC("goToTypeDefinition.generic.noResults","No type definition found")}_getAlternativeCommand(e){return e.getOption(53).alternativeTypeDefinitionCommand}_getGoToPreference(e){return e.getOption(53).multipleTypeDefinitions}}ee(((a=class e extends es{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.ID,label:M.NC("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:A.Ao.and(k.u.hasTypeDefinitionProvider,k.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:k.u.editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:"navigation",order:1.4}})}}).ID="editor.action.goToTypeDefinition",a)),ee(((l=class e extends es{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:e.ID,label:M.NC("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:A.Ao.and(k.u.hasTypeDefinitionProvider,j.Jy.notInPeekEditor,k.u.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:q.eH.EditorContextPeek,group:"peek",order:4}})}}).ID="editor.action.peekTypeDefinition",l));class ea extends ei{_getLocationModel(e,t,i,n){return J(this,void 0,void 0,function*(){return new x.oQ((yield(0,Z.f4)(e.implementationProvider,t,i,n)),M.NC("impl.title","Implementations"))})}_getNoResultFoundMessage(e){return e&&e.word?M.NC("goToImplementation.noResultWord","No implementation found for '{0}'",e.word):M.NC("goToImplementation.generic.noResults","No implementation found")}_getAlternativeCommand(e){return e.getOption(53).alternativeImplementationCommand}_getGoToPreference(e){return e.getOption(53).multipleImplementations}}ee(((h=class e extends ea{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.ID,label:M.NC("actions.goToImplementation.label","Go to Implementations"),alias:"Go to Implementations",precondition:A.Ao.and(k.u.hasImplementationProvider,k.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:k.u.editorTextFocus,primary:2118,weight:100},contextMenuOpts:{group:"navigation",order:1.45}})}}).ID="editor.action.goToImplementation",h)),ee(((d=class e extends ea{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:e.ID,label:M.NC("actions.peekImplementation.label","Peek Implementations"),alias:"Peek Implementations",precondition:A.Ao.and(k.u.hasImplementationProvider,j.Jy.notInPeekEditor,k.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:k.u.editorTextFocus,primary:3142,weight:100},contextMenuOpts:{menuId:q.eH.EditorContextPeek,group:"peek",order:5}})}}).ID="editor.action.peekImplementation",d));class el extends ei{_getNoResultFoundMessage(e){return e?M.NC("references.no","No references found for '{0}'",e.word):M.NC("references.noGeneric","No references found")}_getAlternativeCommand(e){return e.getOption(53).alternativeReferenceCommand}_getGoToPreference(e){return e.getOption(53).multipleReferences}}ee(class extends el{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",label:M.NC("goToReferences.label","Go to References"),alias:"Go to References",precondition:A.Ao.and(k.u.hasReferenceProvider,j.Jy.notInPeekEditor,k.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:k.u.editorTextFocus,primary:1094,weight:100},contextMenuOpts:{group:"navigation",order:1.45}})}_getLocationModel(e,t,i,n){return J(this,void 0,void 0,function*(){return new x.oQ((yield(0,Z.aA)(e.referenceProvider,t,i,!0,n)),M.NC("ref.title","References"))})}}),ee(class extends el{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",label:M.NC("references.action.label","Peek References"),alias:"Peek References",precondition:A.Ao.and(k.u.hasReferenceProvider,j.Jy.notInPeekEditor,k.u.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:q.eH.EditorContextPeek,group:"peek",order:6}})}_getLocationModel(e,t,i,n){return J(this,void 0,void 0,function*(){return new x.oQ((yield(0,Z.aA)(e.referenceProvider,t,i,!1,n)),M.NC("ref.title","References"))})}});class eh extends ei{constructor(e,t,i){super(e,{id:"editor.action.goToLocation",label:M.NC("label.generic","Go to Any Symbol"),alias:"Go to Any Symbol",precondition:A.Ao.and(j.Jy.notInPeekEditor,k.u.isInWalkThroughSnippet.toNegated())}),this._references=t,this._gotoMultipleBehaviour=i}_getLocationModel(e,t,i,n){return J(this,void 0,void 0,function*(){return new x.oQ(this._references,M.NC("generic.title","Locations"))})}_getNoResultFoundMessage(e){return e&&M.NC("generic.noResult","No results for '{0}'",e.word)||""}_getGoToPreference(e){var t;return null!==(t=this._gotoMultipleBehaviour)&&void 0!==t?t:e.getOption(53).multipleReferences}_getAlternativeCommand(){return""}}G.P0.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:_.o},{name:"position",description:"The position at which to start",constraint:S.L.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:(e,t,i,n,o,r,s)=>J(void 0,void 0,void 0,function*(){(0,f.p_)(_.o.isUri(t)),(0,f.p_)(S.L.isIPosition(i)),(0,f.p_)(Array.isArray(n)),(0,f.p_)(void 0===o||"string"==typeof o),(0,f.p_)(void 0===s||"boolean"==typeof s);let a=e.get(w.$),l=yield a.openCodeEditor({resource:t},a.getFocusedCodeEditor());if((0,C.CL)(l))return l.setPosition(i),l.revealPositionInCenterIfOutsideViewport(i,0),l.invokeWithinContext(e=>{let t=new class extends eh{_getNoResultFoundMessage(e){return r||super._getNoResultFoundMessage(e)}}({muteMessage:!r,openInPeek:!!s,openToSide:!1},n,o);e.get(O.TG).invokeFunction(t.run.bind(t),l)})})}),G.P0.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:_.o},{name:"position",description:"The position at which to start",constraint:S.L.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:(e,t,i,n,o)=>J(void 0,void 0,void 0,function*(){e.get(G.Hy).executeCommand("editor.action.goToLocations",t,i,n,o,void 0,!0)})}),G.P0.registerCommand({id:"editor.action.findReferences",handler:(e,t,i)=>{(0,f.p_)(_.o.isUri(t)),(0,f.p_)(S.L.isIPosition(i));let n=e.get(Y.p),o=e.get(w.$);return o.openCodeEditor({resource:t},o.getFocusedCodeEditor()).then(e=>{if(!(0,C.CL)(e)||!e.hasModel())return;let t=D.J.get(e);if(!t)return;let o=(0,g.PG)(t=>(0,Z.aA)(n.referenceProvider,e.getModel(),S.L.lift(i),!1,t).then(e=>new x.oQ(e,M.NC("ref.title","References")))),r=new L.e(i.lineNumber,i.column,i.lineNumber,i.column);return Promise.resolve(t.toggleWidget(r,o,!1))})}}),G.P0.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations"),q.BH.appendMenuItems([{id:q.eH.MenubarGoMenu,item:{command:{id:"editor.action.revealDefinition",title:M.NC({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")},group:"4_symbol_nav",order:2}},{id:q.eH.MenubarGoMenu,item:{command:{id:"editor.action.revealDeclaration",title:M.NC({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")},group:"4_symbol_nav",order:3}},{id:q.eH.MenubarGoMenu,item:{command:{id:"editor.action.goToTypeDefinition",title:M.NC({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")},group:"4_symbol_nav",order:3}},{id:q.eH.MenubarGoMenu,item:{command:{id:"editor.action.goToImplementation",title:M.NC({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},group:"4_symbol_nav",order:4}},{id:q.eH.MenubarGoMenu,item:{command:{id:"editor.action.goToReferences",title:M.NC({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")},group:"4_symbol_nav",order:5}}])},40184:function(e,t,i){"use strict";i.d(t,{L3:function(){return g},aA:function(){return p},f4:function(){return c},nD:function(){return d},zq:function(){return u}});var n=i(71050),o=i(17301),r=i(16830),s=i(1293),a=i(71922),l=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};function h(e,t,i,n){let r=i.ordered(e),s=r.map(i=>Promise.resolve(n(i,e,t)).then(void 0,e=>{(0,o.Cp)(e)}));return Promise.all(s).then(e=>{let t=[];for(let i of e)Array.isArray(i)?t.push(...i):i&&t.push(i);return t})}function d(e,t,i,n){return h(t,i,e,(e,t,i)=>e.provideDefinition(t,i,n))}function u(e,t,i,n){return h(t,i,e,(e,t,i)=>e.provideDeclaration(t,i,n))}function c(e,t,i,n){return h(t,i,e,(e,t,i)=>e.provideImplementation(t,i,n))}function g(e,t,i,n){return h(t,i,e,(e,t,i)=>e.provideTypeDefinition(t,i,n))}function p(e,t,i,n,o){return h(t,i,e,(e,t,i)=>l(this,void 0,void 0,function*(){let r=yield e.provideReferences(t,i,{includeDeclaration:!0},o);if(!n||!r||2!==r.length)return r;let s=yield e.provideReferences(t,i,{includeDeclaration:!1},o);return s&&1===s.length?s:r}))}function m(e){return l(this,void 0,void 0,function*(){let t=yield e(),i=new s.oQ(t,""),n=i.references.map(e=>e.link);return i.dispose(),n})}(0,r.sb)("_executeDefinitionProvider",(e,t,i)=>{let o=e.get(a.p),r=d(o.definitionProvider,t,i,n.T.None);return m(()=>r)}),(0,r.sb)("_executeTypeDefinitionProvider",(e,t,i)=>{let o=e.get(a.p),r=g(o.typeDefinitionProvider,t,i,n.T.None);return m(()=>r)}),(0,r.sb)("_executeDeclarationProvider",(e,t,i)=>{let o=e.get(a.p),r=u(o.declarationProvider,t,i,n.T.None);return m(()=>r)}),(0,r.sb)("_executeReferenceProvider",(e,t,i)=>{let o=e.get(a.p),r=p(o.referenceProvider,t,i,!1,n.T.None);return m(()=>r)}),(0,r.sb)("_executeImplementationProvider",(e,t,i)=>{let o=e.get(a.p),r=c(o.implementationProvider,t,i,n.T.None);return m(()=>r)})},82005:function(e,t,i){"use strict";i.d(t,{yN:function(){return d}});var n=i(4669),o=i(9917),r=i(1432);class s{constructor(e,t){this.target=e.target,this.hasTriggerModifier=!!e.event[t.triggerModifier],this.hasSideBySideModifier=!!e.event[t.triggerSideBySideModifier],this.isNoneOrSingleMouseDown=e.event.detail<=1}}class a{constructor(e,t){this.keyCodeIsTriggerKey=e.keyCode===t.triggerKey,this.keyCodeIsSideBySideKey=e.keyCode===t.triggerSideBySideKey,this.hasTriggerModifier=!!e[t.triggerModifier]}}class l{constructor(e,t,i,n){this.triggerKey=e,this.triggerModifier=t,this.triggerSideBySideKey=i,this.triggerSideBySideModifier=n}equals(e){return this.triggerKey===e.triggerKey&&this.triggerModifier===e.triggerModifier&&this.triggerSideBySideKey===e.triggerSideBySideKey&&this.triggerSideBySideModifier===e.triggerSideBySideModifier}}function h(e){return"altKey"===e?r.dz?new l(57,"metaKey",6,"altKey"):new l(5,"ctrlKey",6,"altKey"):r.dz?new l(6,"altKey",57,"metaKey"):new l(6,"altKey",5,"ctrlKey")}class d extends o.JT{constructor(e){super(),this._onMouseMoveOrRelevantKeyDown=this._register(new n.Q5),this.onMouseMoveOrRelevantKeyDown=this._onMouseMoveOrRelevantKeyDown.event,this._onExecute=this._register(new n.Q5),this.onExecute=this._onExecute.event,this._onCancel=this._register(new n.Q5),this.onCancel=this._onCancel.event,this._editor=e,this._opts=h(this._editor.getOption(72)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration(e=>{if(e.hasChanged(72)){let e=h(this._editor.getOption(72));this._opts.equals(e)||(this._opts=e,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire())}})),this._register(this._editor.onMouseMove(e=>this._onEditorMouseMove(new s(e,this._opts)))),this._register(this._editor.onMouseDown(e=>this._onEditorMouseDown(new s(e,this._opts)))),this._register(this._editor.onMouseUp(e=>this._onEditorMouseUp(new s(e,this._opts)))),this._register(this._editor.onKeyDown(e=>this._onEditorKeyDown(new a(e,this._opts)))),this._register(this._editor.onKeyUp(e=>this._onEditorKeyUp(new a(e,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(e=>this._onDidChangeCursorSelection(e))),this._register(this._editor.onDidChangeModel(e=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(e=>{(e.scrollTopChanged||e.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(e){e.selection&&e.selection.startColumn!==e.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(e){this._lastMouseMoveEvent=e,this._onMouseMoveOrRelevantKeyDown.fire([e,null])}_onEditorMouseDown(e){this._hasTriggerKeyOnMouseDown=e.hasTriggerModifier,this._lineNumberOnMouseDown=e.target.position?e.target.position.lineNumber:0}_onEditorMouseUp(e){let t=e.target.position?e.target.position.lineNumber:0;this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===t&&this._onExecute.fire(e)}_onEditorKeyDown(e){this._lastMouseMoveEvent&&(e.keyCodeIsTriggerKey||e.keyCodeIsSideBySideKey&&e.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,e]):e.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(e){e.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}},22470:function(e,t,i){"use strict";i.d(t,{S:function(){return S}});var n=i(15393),o=i(17301),r=i(59365),s=i(9917),a=i(98401);i(96808);var l=i(14410),h=i(16830),d=i(24314),u=i(72042),c=i(88216),g=i(82005),p=i(36943),m=i(63580),f=i(38819),_=i(73910),v=i(97781),C=i(95817),b=i(40184),w=i(71922),y=function(e,t){return function(i,n){t(i,n,e)}};let S=class e{constructor(e,t,i,n){this.textModelResolverService=t,this.languageService=i,this.languageFeaturesService=n,this.toUnhook=new s.SL,this.toUnhookForKeyboard=new s.SL,this.currentWordAtPosition=null,this.previousPromise=null,this.editor=e,this.linkDecorations=this.editor.createDecorationsCollection();let r=new g.yN(e);this.toUnhook.add(r),this.toUnhook.add(r.onMouseMoveOrRelevantKeyDown(([e,t])=>{this.startFindDefinitionFromMouse(e,(0,a.f6)(t))})),this.toUnhook.add(r.onExecute(e=>{this.isEnabled(e)&&this.gotoDefinition(e.target.position,e.hasSideBySideModifier).then(()=>{this.removeLinkDecorations()},e=>{this.removeLinkDecorations(),(0,o.dL)(e)})})),this.toUnhook.add(r.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(t){return t.getContribution(e.ID)}startFindDefinitionFromCursor(e){return this.startFindDefinition(e).then(()=>{this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(e=>{e&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))})}startFindDefinitionFromMouse(e,t){if(9===e.target.type&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(e,t)){this.currentWordAtPosition=null,this.removeLinkDecorations();return}let i=e.target.position;this.startFindDefinition(i)}startFindDefinition(e){var t;this.toUnhookForKeyboard.clear();let i=e?null===(t=this.editor.getModel())||void 0===t?void 0:t.getWordAtPosition(e):null;if(!i)return this.currentWordAtPosition=null,this.removeLinkDecorations(),Promise.resolve(0);if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===i.startColumn&&this.currentWordAtPosition.endColumn===i.endColumn&&this.currentWordAtPosition.word===i.word)return Promise.resolve(0);this.currentWordAtPosition=i;let s=new l.yy(this.editor,15);return this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=(0,n.PG)(t=>this.findDefinition(e,t)),this.previousPromise.then(t=>{if(!t||!t.length||!s.validate(this.editor)){this.removeLinkDecorations();return}if(t.length>1)this.addDecoration(new d.e(e.lineNumber,i.startColumn,e.lineNumber,i.endColumn),new r.W5().appendText(m.NC("multipleResults","Click to show {0} definitions.",t.length)));else{let n=t[0];if(!n.uri)return;this.textModelResolverService.createModelReference(n.uri).then(t=>{let o;if(!t.object||!t.object.textEditorModel){t.dispose();return}let{object:{textEditorModel:s}}=t,{startLineNumber:a}=n.range;if(a<1||a>s.getLineCount()){t.dispose();return}let l=this.getPreviewValue(s,a,n);o=n.originSelectionRange?d.e.lift(n.originSelectionRange):new d.e(e.lineNumber,i.startColumn,e.lineNumber,i.endColumn);let h=this.languageService.guessLanguageIdByFilepathOrFirstLine(s.uri);this.addDecoration(o,new r.W5().appendCodeblock(h||"",l)),t.dispose()})}}).then(void 0,o.dL)}getPreviewValue(t,i,n){let o=n.range,r=o.endLineNumber-o.startLineNumber;r>=e.MAX_SOURCE_PREVIEW_LINES&&(o=this.getPreviewRangeBasedOnIndentation(t,i));let s=this.stripIndentationFromPreviewRange(t,i,o);return s}stripIndentationFromPreviewRange(e,t,i){let n=e.getLineFirstNonWhitespaceColumn(t),o=n;for(let n=t+1;n{let i=!t&&this.editor.getOption(80)&&!this.isInPeekEditor(e),n=new C.BT({openToSide:t,openInPeek:i,muteMessage:!0},{alias:"",label:"",id:"",precondition:void 0});return n.run(e,this.editor)})}isInPeekEditor(e){let t=e.get(f.i6);return p.Jy.inPeekEditor.getValue(t)}dispose(){this.toUnhook.dispose()}};S.ID="editor.contrib.gotodefinitionatposition",S.MAX_SOURCE_PREVIEW_LINES=8,S=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([y(1,c.S),y(2,u.O),y(3,w.p)],S),(0,h._K)(S.ID,S),(0,v.Ic)((e,t)=>{let i=e.getColor(_._Yy);i&&t.addRule(`.monaco-editor .goto-definition-link { color: ${i} !important; }`)})},29010:function(e,t,i){"use strict";i.d(t,{J:function(){return el}});var n=i(15393),o=i(17301),r=i(22258),s=i(9917),a=i(11640),l=i(50187),h=i(24314),d=i(36943),u=i(63580),c=i(94565),g=i(33108),p=i(38819),m=i(72065),f=i(49989),_=i(74615),v=i(59422),C=i(87060),b=i(1293),w=i(65321),y=i(23937),S=i(41264),L=i(4669),k=i(66663),N=i(95935);i(37640);var D=i(84527),x=i(22529),I=i(4256),E=i(68801),T=i(72042),M=i(88216),A=i(67488),R=i(34650),O=i(59834),P=i(75392),F=i(91847),B=i(44349),V=i(88810),W=i(97781),H=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},z=function(e,t){return function(i,n){t(i,n,e)}};let K=class{constructor(e){this._resolverService=e}hasChildren(e){return e instanceof b.oQ||e instanceof b.F2}getChildren(e){if(e instanceof b.oQ)return e.groups;if(e instanceof b.F2)return e.resolve(this._resolverService).then(e=>e.children);throw Error("bad tree")}};K=H([z(0,M.S)],K);class U{getHeight(){return 23}getTemplateId(e){return e instanceof b.F2?G.id:Z.id}}let $=class{constructor(e){this._keybindingService=e}getKeyboardNavigationLabel(e){var t;if(e instanceof b.WX){let i=null===(t=e.parent.getPreview(e))||void 0===t?void 0:t.preview(e.range);if(i)return i.value}return(0,N.EZ)(e.uri)}};$=H([z(0,F.d)],$);class j{getId(e){return e instanceof b.WX?e.id:e.uri}}let q=class extends s.JT{constructor(e,t,i){super(),this._labelService=t;let n=document.createElement("div");n.classList.add("reference-file"),this.file=this._register(new O.g(n,{supportHighlights:!0})),this.badge=new A.Z(w.R3(n,w.$(".count"))),this._register((0,V.WZ)(this.badge,i)),e.appendChild(n)}set(e,t){let i=(0,N.XX)(e.uri);this.file.setLabel(this._labelService.getUriBasenameLabel(e.uri),this._labelService.getUriLabel(i,{relative:!0}),{title:this._labelService.getUriLabel(e.uri),matches:t});let n=e.children.length;this.badge.setCount(n),n>1?this.badge.setTitleFormat((0,u.NC)("referencesCount","{0} references",n)):this.badge.setTitleFormat((0,u.NC)("referenceCount","{0} reference",n))}};q=H([z(1,B.e),z(2,W.XE)],q);let G=class e{constructor(t){this._instantiationService=t,this.templateId=e.id}renderTemplate(e){return this._instantiationService.createInstance(q,e)}renderElement(e,t,i){i.set(e.element,(0,P.mB)(e.filterData))}disposeTemplate(e){e.dispose()}};G.id="FileReferencesRenderer",G=H([z(0,m.TG)],G);class Q{constructor(e){this.label=new R.q(e)}set(e,t){var i;let n=null===(i=e.parent.getPreview(e))||void 0===i?void 0:i.preview(e.range);if(n&&n.value){let{value:e,highlight:i}=n;t&&!P.CL.isDefault(t)?(this.label.element.classList.toggle("referenceMatch",!1),this.label.set(e,(0,P.mB)(t))):(this.label.element.classList.toggle("referenceMatch",!0),this.label.set(e,[i]))}else this.label.set(`${(0,N.EZ)(e.uri)}:${e.range.startLineNumber+1}:${e.range.startColumn+1}`)}}class Z{constructor(){this.templateId=Z.id}renderTemplate(e){return new Q(e)}renderElement(e,t,i){i.set(e.element,e.filterData)}disposeTemplate(){}}Z.id="OneReferenceRenderer";class Y{getWidgetAriaLabel(){return(0,u.NC)("treeAriaLabel","References")}getAriaLabel(e){return e.ariaMessage}}var J=i(64862),X=function(e,t){return function(i,n){t(i,n,e)}},ee=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class et{constructor(e,t){this._editor=e,this._model=t,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new s.SL,this._callOnModelChange=new s.SL,this._callOnDispose.add(this._editor.onDidChangeModel(()=>this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();let e=this._editor.getModel();if(e){for(let t of this._model.references)if(t.uri.toString()===e.uri.toString()){this._addDecorations(t.parent);return}}}_addDecorations(e){if(!this._editor.hasModel())return;this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));let t=[],i=[];for(let n=0,o=e.children.length;n{let o=n.deltaDecorations([],t);for(let t=0;t{e.equals(9)&&(this._keybindingService.dispatchEvent(e,e.target),e.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(en,"ReferencesWidget",this._treeContainer,new U,[this._instantiationService.createInstance(G),this._instantiationService.createInstance(Z)],this._instantiationService.createInstance(K),t),this._splitView.addView({onDidChange:L.ju.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:e=>{this._preview.layout({height:this._dim.height,width:e})}},y.M.Distribute),this._splitView.addView({onDidChange:L.ju.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:e=>{this._treeContainer.style.height=`${this._dim.height}px`,this._treeContainer.style.width=`${e}px`,this._tree.layout(this._dim.height,e)}},y.M.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));let i=(e,t)=>{e instanceof b.WX&&("show"===t&&this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:t,source:"tree"}))};this._tree.onDidOpen(e=>{e.sideBySide?i(e.element,"side"):e.editorOptions.pinned?i(e.element,"goto"):i(e.element,"show")}),w.Cp(this._treeContainer)}_onWidth(e){this._dim&&this._doLayoutBody(this._dim.height,e)}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._dim=new w.Ro(t,e),this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(t),this._splitView.resizeView(0,t*this.layoutData.ratio)}setSelection(e){return this._revealReference(e,!0).then(()=>{this._model&&(this._tree.setSelection([e]),this._tree.setFocus([e]))})}setModel(e){return(this._disposeOnNewModel.clear(),this._model=e,this._model)?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=u.NC("noResults","No results"),w.$Z(this._messageContainer),Promise.resolve(void 0)):(w.Cp(this._messageContainer),this._decorationsManager=new et(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(e=>this._tree.rerender(e))),this._disposeOnNewModel.add(this._preview.onMouseDown(e=>{let{event:t,target:i}=e;if(2!==t.detail)return;let n=this._getFocusedReference();n&&this._onDidSelectReference.fire({element:{uri:n.uri,range:i.range},kind:t.ctrlKey||t.metaKey||t.altKey?"side":"open",source:"editor"})})),this.container.classList.add("results-loaded"),w.$Z(this._treeContainer),w.$Z(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(1===this._model.groups.length?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){let[e]=this._tree.getFocus();return e instanceof b.WX?e:e instanceof b.F2&&e.children.length>0?e.children[0]:void 0}revealReference(e){return ee(this,void 0,void 0,function*(){yield this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:"goto",source:"tree"})})}_revealReference(e,t){return ee(this,void 0,void 0,function*(){if(this._revealedReference===e)return;this._revealedReference=e,e.uri.scheme!==k.lg.inMemory?this.setTitle((0,N.Hx)(e.uri),this._uriLabel.getUriLabel((0,N.XX)(e.uri))):this.setTitle(u.NC("peekView.alternateTitle","References"));let i=this._textModelResolverService.createModelReference(e.uri);this._tree.getInput()===e.parent||(t&&this._tree.reveal(e.parent),yield this._tree.expand(e.parent)),this._tree.reveal(e);let n=yield i;if(!this._model){n.dispose();return}(0,s.B9)(this._previewModelReference);let o=n.object;if(o){let t=this._preview.getModel()===o.textEditorModel?0:1,i=h.e.lift(e.range).collapseToStart();this._previewModelReference=n,this._preview.setModel(o.textEditorModel),this._preview.setSelection(i),this._preview.revealRangeInCenter(i,t)}else this._preview.setModel(this._previewNotAvailableMessage),n.dispose()})}};eo=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([X(3,W.XE),X(4,M.S),X(5,m.TG),X(6,d.Fw),X(7,B.e),X(8,J.tJ),X(9,F.d),X(10,T.O),X(11,I.c_)],eo);var er=function(e,t){return function(i,n){t(i,n,e)}},es=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let ea=new p.uy("referenceSearchVisible",!1,u.NC("referenceSearchVisible","Whether reference peek is visible, like 'Peek References' or 'Peek Definition'")),el=class e{constructor(e,t,i,n,o,r,a,l){this._defaultTreeKeyboardSupport=e,this._editor=t,this._editorService=n,this._notificationService=o,this._instantiationService=r,this._storageService=a,this._configurationService=l,this._disposables=new s.SL,this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=ea.bindTo(i)}static get(t){return t.getContribution(e.ID)}dispose(){var e,t;this._referenceSearchVisible.reset(),this._disposables.dispose(),null===(e=this._widget)||void 0===e||e.dispose(),null===(t=this._model)||void 0===t||t.dispose(),this._widget=void 0,this._model=void 0}toggleWidget(e,t,i){let n;if(this._widget&&(n=this._widget.position),this.closeWidget(),n&&e.containsPosition(n))return;this._peekMode=i,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));let o="peekViewLayout",r=ei.fromJSON(this._storageService.get(o,0,"{}"));this._widget=this._instantiationService.createInstance(eo,this._editor,this._defaultTreeKeyboardSupport,r),this._widget.setTitle(u.NC("labelLoading","Loading...")),this._widget.show(e),this._disposables.add(this._widget.onDidClose(()=>{t.cancel(),this._widget&&(this._storageService.store(o,JSON.stringify(this._widget.layoutData),0,1),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(e=>{let{element:t,kind:n}=e;if(t)switch(n){case"open":"editor"===e.source&&this._configurationService.getValue("editor.stablePeek")||this.openReference(t,!1,!1);break;case"side":this.openReference(t,!0,!1);break;case"goto":i?this._gotoReference(t):this.openReference(t,!1,!0)}}));let s=++this._requestIdPool;t.then(t=>{var i;if(s!==this._requestIdPool||!this._widget){t.dispose();return}return null===(i=this._model)||void 0===i||i.dispose(),this._model=t,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle(u.NC("metaTitle.N","{0} ({1})",this._model.title,this._model.references.length));let t=this._editor.getModel().uri,i=new l.L(e.startLineNumber,e.startColumn),n=this._model.nearestReference(t,i);if(n)return this._widget.setSelection(n).then(()=>{this._widget&&"editor"===this._editor.getOption(79)&&this._widget.focusOnPreviewEditor()})}})},e=>{this._notificationService.error(e)})}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}goToNextOrPreviousReference(e){return es(this,void 0,void 0,function*(){if(!this._editor.hasModel()||!this._model||!this._widget)return;let t=this._widget.position;if(!t)return;let i=this._model.nearestReference(this._editor.getModel().uri,t);if(!i)return;let n=this._model.nextOrPreviousReference(i,e),o=this._editor.hasTextFocus(),r=this._widget.isPreviewEditorFocused();yield this._widget.setSelection(n),yield this._gotoReference(n),o?this._editor.focus():this._widget&&r&&this._widget.focusOnPreviewEditor()})}revealReference(e){return es(this,void 0,void 0,function*(){this._editor.hasModel()&&this._model&&this._widget&&(yield this._widget.revealReference(e))})}closeWidget(e=!0){var t,i;null===(t=this._widget)||void 0===t||t.dispose(),null===(i=this._model)||void 0===i||i.dispose(),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,e&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(t){this._widget&&this._widget.hide(),this._ignoreModelChangeEvent=!0;let i=h.e.lift(t.range).collapseToStart();return this._editorService.openCodeEditor({resource:t.uri,options:{selection:i,selectionSource:"code.jump"}},this._editor).then(t=>{var o;if(this._ignoreModelChangeEvent=!1,!t||!this._widget){this.closeWidget();return}if(this._editor===t)this._widget.show(i),this._widget.focusOnReferenceTree();else{let r=e.get(t),s=this._model.clone();this.closeWidget(),t.focus(),null==r||r.toggleWidget(i,(0,n.PG)(e=>Promise.resolve(s)),null!==(o=this._peekMode)&&void 0!==o&&o)}},e=>{this._ignoreModelChangeEvent=!1,(0,o.dL)(e)})}openReference(e,t,i){t||this.closeWidget();let{uri:n,range:o}=e;this._editorService.openCodeEditor({resource:n,options:{selection:o,selectionSource:"code.jump",pinned:i}},this._editor,t)}};function eh(e,t){let i=(0,d.rc)(e);if(!i)return;let n=el.get(i);n&&t(n)}el.ID="editor.contrib.referencesController",el=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([er(2,p.i6),er(3,a.$),er(4,v.lT),er(5,m.TG),er(6,C.Uy),er(7,g.Ui)],el),f.W.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:(0,r.gx)(2089,60),when:p.Ao.or(ea,d.Jy.inPeekEditor),handler(e){eh(e,e=>{e.changeFocusBetweenPreviewAndReferences()})}}),f.W.registerCommandAndKeybindingRule({id:"goToNextReference",weight:90,primary:62,secondary:[70],when:p.Ao.or(ea,d.Jy.inPeekEditor),handler(e){eh(e,e=>{e.goToNextOrPreviousReference(!0)})}}),f.W.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:90,primary:1086,secondary:[1094],when:p.Ao.or(ea,d.Jy.inPeekEditor),handler(e){eh(e,e=>{e.goToNextOrPreviousReference(!1)})}}),c.P0.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference"),c.P0.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference"),c.P0.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch"),c.P0.registerCommand("closeReferenceSearch",e=>eh(e,e=>e.closeWidget())),f.W.registerKeybindingRule({id:"closeReferenceSearch",weight:-1,primary:9,secondary:[1033],when:p.Ao.and(d.Jy.inPeekEditor,p.Ao.not("config.editor.stablePeek"))}),f.W.registerKeybindingRule({id:"closeReferenceSearch",weight:250,primary:9,secondary:[1033],when:p.Ao.and(ea,p.Ao.not("config.editor.stablePeek"))}),f.W.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:p.Ao.and(ea,_.CQ,_.PS.negate(),_.uJ.negate()),handler(e){var t;let i=e.get(_.Lw),n=null===(t=i.lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof b.WX&&eh(e,e=>e.revealReference(n[0]))}}),f.W.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:p.Ao.and(ea,_.CQ,_.PS.negate(),_.uJ.negate()),handler(e){var t;let i=e.get(_.Lw),n=null===(t=i.lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof b.WX&&eh(e,e=>e.openReference(n[0],!0,!0))}}),c.P0.registerCommand("openReference",e=>{var t;let i=e.get(_.Lw),n=null===(t=i.lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof b.WX&&eh(e,e=>e.openReference(n[0],!1,!0))})},1293:function(e,t,i){"use strict";i.d(t,{F2:function(){return p},WX:function(){return c},oQ:function(){return m}});var n=i(17301),o=i(4669),r=i(44742),s=i(9917),a=i(43702),l=i(95935),h=i(97295),d=i(24314),u=i(63580);class c{constructor(e,t,i,n){this.isProviderFirst=e,this.parent=t,this.link=i,this._rangeCallback=n,this.id=r.a.nextId()}get uri(){return this.link.uri}get range(){var e,t;return null!==(t=null!==(e=this._range)&&void 0!==e?e:this.link.targetSelectionRange)&&void 0!==t?t:this.link.range}set range(e){this._range=e,this._rangeCallback(this)}get ariaMessage(){var e;let t=null===(e=this.parent.getPreview(this))||void 0===e?void 0:e.preview(this.range);return t?(0,u.NC)({key:"aria.oneReference.preview",comment:["Placeholders are: 0: filename, 1:line number, 2: column number, 3: preview snippet of source code"]},"symbol in {0} on line {1} at column {2}, {3}",(0,l.EZ)(this.uri),this.range.startLineNumber,this.range.startColumn,t.value):(0,u.NC)("aria.oneReference","symbol in {0} on line {1} at column {2}",(0,l.EZ)(this.uri),this.range.startLineNumber,this.range.startColumn)}}class g{constructor(e){this._modelReference=e}dispose(){this._modelReference.dispose()}preview(e,t=8){let i=this._modelReference.object.textEditorModel;if(!i)return;let{startLineNumber:n,startColumn:o,endLineNumber:r,endColumn:s}=e,a=i.getWordUntilPosition({lineNumber:n,column:o-t}),l=new d.e(n,a.startColumn,n,o),h=new d.e(r,s,r,1073741824),u=i.getValueInRange(l).replace(/^\s+/,""),c=i.getValueInRange(e),g=i.getValueInRange(h).replace(/\s+$/,"");return{value:u+c+g,highlight:{start:u.length,end:u.length+c.length}}}}class p{constructor(e,t){this.parent=e,this.uri=t,this.children=[],this._previews=new a.Y9}dispose(){(0,s.B9)(this._previews.values()),this._previews.clear()}getPreview(e){return this._previews.get(e.uri)}get ariaMessage(){let e=this.children.length;return 1===e?(0,u.NC)("aria.fileReferences.1","1 symbol in {0}, full path {1}",(0,l.EZ)(this.uri),this.uri.fsPath):(0,u.NC)("aria.fileReferences.N","{0} symbols in {1}, full path {2}",e,(0,l.EZ)(this.uri),this.uri.fsPath)}resolve(e){var t,i,o,r;return t=this,i=void 0,o=void 0,r=function*(){if(0!==this._previews.size)return this;for(let t of this.children)if(!this._previews.has(t.uri))try{let i=yield e.createModelReference(t.uri);this._previews.set(t.uri,new g(i))}catch(e){(0,n.dL)(e)}return this},new(o||(o=Promise))(function(e,n){function s(e){try{l(r.next(e))}catch(e){n(e)}}function a(e){try{l(r.throw(e))}catch(e){n(e)}}function l(t){var i;t.done?e(t.value):((i=t.value)instanceof o?i:new o(function(e){e(i)})).then(s,a)}l((r=r.apply(t,i||[])).next())})}}class m{constructor(e,t){let i;this.groups=[],this.references=[],this._onDidChangeReferenceRange=new o.Q5,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=e,this._title=t;let[n]=e;for(let t of(e.sort(m._compareReferences),e))if(i&&l.SF.isEqual(i.uri,t.uri,!0)||(i=new p(this,t.uri),this.groups.push(i)),0===i.children.length||0!==m._compareReferences(t,i.children[i.children.length-1])){let e=new c(n===t,i,t,e=>this._onDidChangeReferenceRange.fire(e));this.references.push(e),i.children.push(e)}}dispose(){(0,s.B9)(this.groups),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new m(this._links,this._title)}get title(){return this._title}get isEmpty(){return 0===this.groups.length}get ariaMessage(){return this.isEmpty?(0,u.NC)("aria.result.0","No results found"):1===this.references.length?(0,u.NC)("aria.result.1","Found 1 symbol in {0}",this.references[0].uri.fsPath):1===this.groups.length?(0,u.NC)("aria.result.n1","Found {0} symbols in {1}",this.references.length,this.groups[0].uri.fsPath):(0,u.NC)("aria.result.nm","Found {0} symbols in {1} files",this.references.length,this.groups.length)}nextOrPreviousReference(e,t){let{parent:i}=e,n=i.children.indexOf(e),o=i.children.length,r=i.parent.groups.length;return 1===r||t&&n+10?(n=t?(n+1)%o:(n+o-1)%o,i.children[n]):(n=i.parent.groups.indexOf(i),t)?(n=(n+1)%r,i.parent.groups[n].children[0]):(n=(n+r-1)%r,i.parent.groups[n].children[i.parent.groups[n].children.length-1])}nearestReference(e,t){let i=this.references.map((i,n)=>({idx:n,prefixLen:h.Mh(i.uri.toString(),e.toString()),offsetDist:100*Math.abs(i.range.startLineNumber-t.lineNumber)+Math.abs(i.range.startColumn-t.column)})).sort((e,t)=>e.prefixLen>t.prefixLen?-1:e.prefixLent.offsetDist?1:0)[0];if(i)return this.references[i.idx]}referenceAt(e,t){for(let i of this.references)if(i.uri.toString()===e.toString()&&d.e.containsPosition(i.range,t))return i}firstReference(){for(let e of this.references)if(e.isProviderFirst)return e;return this.references[0]}static _compareReferences(e,t){return l.SF.compare(e.uri,t.uri)||d.e.compareRangesUsingStarts(e.range,t.range)}}},41095:function(e,t,i){"use strict";i.d(t,{R8:function(){return h}});var n=i(15393),o=i(71050),r=i(17301),s=i(16830),a=i(71922);class l{constructor(e,t,i){this.provider=e,this.hover=t,this.ordinal=i}}function h(e,t,i,o){let s=e.ordered(t),a=s.map((e,n)=>(function(e,t,i,n,o){var s,a,h,d;return s=this,a=void 0,h=void 0,d=function*(){try{let r=yield Promise.resolve(e.provideHover(i,n,o));if(r&&function(e){let t=void 0!==e.range,i=void 0!==e.contents&&e.contents&&e.contents.length>0;return t&&i}(r))return new l(e,r,t)}catch(e){(0,r.Cp)(e)}},new(h||(h=Promise))(function(e,t){function i(e){try{o(d.next(e))}catch(e){t(e)}}function n(e){try{o(d.throw(e))}catch(e){t(e)}}function o(t){var o;t.done?e(t.value):((o=t.value)instanceof h?o:new h(function(e){e(o)})).then(i,n)}o((d=d.apply(s,a||[])).next())})})(e,n,t,i,o));return n.Aq.fromPromises(a).coalesce()}(0,s.sb)("_executeHoverProvider",(e,t,i)=>{let n=e.get(a.p);return h(n.hoverProvider,t,i,o.T.None).map(e=>e.hover).toPromise()})},66122:function(e,t,i){"use strict";i.d(t,{E:function(){return ed}});var n=i(22258),o=i(9917),r=i(16830),s=i(24314),a=i(29102),l=i(72042),h=i(22470),d=i(65321),u=i(59069),c=i(63161);i(74090);let g=d.$;class p extends o.JT{constructor(){super(),this.containerDomNode=document.createElement("div"),this.containerDomNode.className="monaco-hover",this.containerDomNode.tabIndex=0,this.containerDomNode.setAttribute("role","tooltip"),this.contentsDomNode=document.createElement("div"),this.contentsDomNode.className="monaco-hover-content",this.scrollbar=this._register(new c.s$(this.contentsDomNode,{consumeMouseWheelIfScrollbarIsNeeded:!0})),this.containerDomNode.appendChild(this.scrollbar.getDomNode())}onContentsChanged(){this.scrollbar.scanDomNode()}}class m extends o.JT{constructor(e,t,i){super(),this.actionContainer=d.R3(e,g("div.action-container")),this.actionContainer.setAttribute("tabindex","0"),this.action=d.R3(this.actionContainer,g("a.action")),this.action.setAttribute("role","button"),t.iconClass&&d.R3(this.action,g(`span.icon.${t.iconClass}`));let n=d.R3(this.action,g("span"));n.textContent=i?`${t.label} (${i})`:t.label,this._register(d.nm(this.actionContainer,d.tw.CLICK,e=>{e.stopPropagation(),e.preventDefault(),t.run(this.actionContainer)})),this._register(d.nm(this.actionContainer,d.tw.KEY_UP,e=>{let i=new u.y(e);i.equals(3)&&(e.stopPropagation(),e.preventDefault(),t.run(this.actionContainer))})),this.setEnabled(!0)}static render(e,t,i){return new m(e,t,i)}setEnabled(e){e?(this.actionContainer.classList.remove("disabled"),this.actionContainer.removeAttribute("aria-disabled")):(this.actionContainer.classList.add("disabled"),this.actionContainer.setAttribute("aria-disabled","true"))}}var f=i(9488),_=i(50187),v=i(22529),C=i(43155),b=i(15393),w=i(17301),y=i(4669),S=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,i=e[Symbol.asyncIterator];return i?i.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(i){t[i]=e[i]&&function(t){return new Promise(function(n,o){!function(e,t,i,n){Promise.resolve(n).then(function(t){e({value:t,done:i})},t)}(n,o,(t=e[i](t)).done,t.value)})}}};class L{constructor(e,t,i){this.value=e,this.isComplete=t,this.hasLoadingMessage=i}}class k extends o.JT{constructor(e,t){super(),this._editor=e,this._computer=t,this._onResult=this._register(new y.Q5),this.onResult=this._onResult.event,this._firstWaitScheduler=this._register(new b.pY(()=>this._triggerAsyncComputation(),0)),this._secondWaitScheduler=this._register(new b.pY(()=>this._triggerSyncComputation(),0)),this._loadingMessageScheduler=this._register(new b.pY(()=>this._triggerLoadingMessage(),0)),this._state=0,this._asyncIterable=null,this._asyncIterableDone=!1,this._result=[]}dispose(){this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),super.dispose()}get _hoverTime(){return this._editor.getOption(55).delay}get _firstWaitTime(){return this._hoverTime/2}get _secondWaitTime(){return this._hoverTime-this._firstWaitTime}get _loadingMessageTime(){return 3*this._hoverTime}_setState(e,t=!0){this._state=e,t&&this._fireResult()}_triggerAsyncComputation(){this._setState(2),this._secondWaitScheduler.schedule(this._secondWaitTime),this._computer.computeAsync?(this._asyncIterableDone=!1,this._asyncIterable=(0,b.zS)(e=>this._computer.computeAsync(e)),(()=>{var e,t,i,n;return e=this,t=void 0,i=void 0,n=function*(){var e,t;try{try{for(var i,n=S(this._asyncIterable);!(i=yield n.next()).done;){let e=i.value;e&&(this._result.push(e),this._fireResult())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&(yield t.call(n))}finally{if(e)throw e.error}}this._asyncIterableDone=!0,(3===this._state||4===this._state)&&this._setState(0)}catch(e){(0,w.dL)(e)}},new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})})()):this._asyncIterableDone=!0}_triggerSyncComputation(){this._computer.computeSync&&(this._result=this._result.concat(this._computer.computeSync())),this._setState(this._asyncIterableDone?0:3)}_triggerLoadingMessage(){3===this._state&&this._setState(4)}_fireResult(){if(1===this._state||2===this._state)return;let e=0===this._state,t=4===this._state;this._onResult.fire(new L(this._result.slice(0),e,t))}start(e){if(0===e)0===this._state&&(this._setState(1),this._firstWaitScheduler.schedule(this._firstWaitTime),this._loadingMessageScheduler.schedule(this._loadingMessageTime));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation()}}cancel(){this._firstWaitScheduler.cancel(),this._secondWaitScheduler.cancel(),this._loadingMessageScheduler.cancel(),this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),this._result=[],this._setState(0,!1)}}var N=i(66520),D=i(38819),x=i(72065),I=i(91847),E=i(55621),T=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},M=function(e,t){return function(i,n){t(i,n,e)}};let A=d.$,R=class e extends o.JT{constructor(e,t,i){for(let n of(super(),this._editor=e,this._instantiationService=t,this._keybindingService=i,this._widget=this._register(this._instantiationService.createInstance(P,this._editor)),this._isChangingDecorations=!1,this._messages=[],this._messagesAreComplete=!1,this._participants=[],N.Ae.getAll()))this._participants.push(this._instantiationService.createInstance(n,this._editor));this._participants.sort((e,t)=>e.hoverOrdinal-t.hoverOrdinal),this._computer=new B(this._editor,this._participants),this._hoverOperation=this._register(new k(this._editor,this._computer)),this._register(this._hoverOperation.onResult(e=>{this._withResult(e.value,e.isComplete,e.hasLoadingMessage)})),this._register(this._editor.onDidChangeModelDecorations(()=>{this._isChangingDecorations||this._onModelDecorationsChanged()})),this._register(d.mu(this._widget.getDomNode(),"keydown",e=>{e.equals(9)&&this.hide()})),this._register(C.RW.onDidChange(()=>{this._widget.position&&this._computer.anchor&&this._messages.length>0&&(this._widget.clear(),this._renderMessages(this._computer.anchor,this._messages))}))}_onModelDecorationsChanged(){this._widget.position&&(this._hoverOperation.cancel(),this._widget.isColorPickerVisible||this._hoverOperation.start(0))}maybeShowAt(e){let t=[];for(let i of this._participants)if(i.suggestHoverAnchor){let n=i.suggestHoverAnchor(e);n&&t.push(n)}let i=e.target;if(6===i.type&&t.push(new N.Qj(0,i.range)),7===i.type){let e=this._editor.getOption(46).typicalHalfwidthCharacterWidth/2;!i.detail.isAfterLines&&"number"==typeof i.detail.horizontalDistanceToText&&i.detail.horizontalDistanceToTextt.priority-e.priority),this._startShowingAt(t[0],0,!1),!0)}startShowingAtRange(e,t,i){this._startShowingAt(new N.Qj(0,e),t,i)}_startShowingAt(e,t,i){if(!(this._computer.anchor&&this._computer.anchor.equals(e))){if(this._hoverOperation.cancel(),this._widget.position){if(this._computer.anchor&&e.canAdoptVisibleHover(this._computer.anchor,this._widget.position)){let t=this._messages.filter(t=>t.isValidForHoverAnchor(e));if(0===t.length)this.hide();else{if(t.length===this._messages.length&&this._messagesAreComplete)return;this._renderMessages(e,t)}}else this.hide()}this._computer.anchor=e,this._computer.shouldFocus=i,this._hoverOperation.start(t)}}hide(){this._computer.anchor=null,this._hoverOperation.cancel(),this._widget.hide()}isColorPickerVisible(){return this._widget.isColorPickerVisible}containsNode(e){return this._widget.getDomNode().contains(e)}_addLoadingMessage(e){if(this._computer.anchor){for(let t of this._participants)if(t.createLoadingMessage){let i=t.createLoadingMessage(this._computer.anchor);if(i)return e.slice(0).concat([i])}}return e}_withResult(e,t,i){this._messages=i?this._addLoadingMessage(e):e,this._messagesAreComplete=t,this._computer.anchor&&this._messages.length>0?this._renderMessages(this._computer.anchor,this._messages):t&&this.hide()}_renderMessages(t,i){let{showAtPosition:n,showAtRange:r,highlightRange:s}=e.computeHoverRanges(t.range,i),a=new o.SL,l=a.add(new F(this._keybindingService)),h=document.createDocumentFragment(),d=null,u={fragment:h,statusBar:l,setColorPicker:e=>d=e,onContentsChanged:()=>this._widget.onContentsChanged(),hide:()=>this.hide()};for(let e of this._participants){let t=i.filter(t=>t.owner===e);t.length>0&&a.add(e.renderHoverParts(u,t))}if(l.hasContent&&h.appendChild(l.hoverElement),h.hasChildNodes()){if(s){let t=this._editor.createDecorationsCollection();try{this._isChangingDecorations=!0,t.set([{range:s,options:e._DECORATION_OPTIONS}])}finally{this._isChangingDecorations=!1}a.add((0,o.OF)(()=>{try{this._isChangingDecorations=!0,t.clear()}finally{this._isChangingDecorations=!1}}))}this._widget.showAt(h,new O(d,n,r,this._editor.getOption(55).above,this._computer.shouldFocus,a))}else a.dispose()}static computeHoverRanges(e,t){let i=e.startLineNumber,n=e.startColumn,o=e.endColumn,r=t[0].range,a=null;for(let e of t)r=s.e.plusRange(r,e.range),e.range.startLineNumber===i&&e.range.endLineNumber===i&&(n=Math.min(n,e.range.startColumn),o=Math.max(o,e.range.endColumn)),e.forceShowAtRange&&(a=e.range);return{showAtPosition:a?a.getStartPosition():new _.L(e.startLineNumber,n),showAtRange:a||new s.e(i,n,i,o),highlightRange:r}}};R._DECORATION_OPTIONS=v.qx.register({description:"content-hover-highlight",className:"hoverHighlight"}),R=T([M(1,x.TG),M(2,I.d)],R);class O{constructor(e,t,i,n,o,r){this.colorPicker=e,this.showAtPosition=t,this.showAtRange=i,this.preferAbove=n,this.stoleFocus=o,this.disposables=r}}let P=class e extends o.JT{constructor(e,t){super(),this._editor=e,this._contextKeyService=t,this.allowEditorOverflow=!0,this._hoverVisibleKey=a.u.hoverVisible.bindTo(this._contextKeyService),this._hover=this._register(new p),this._visibleData=null,this._register(this._editor.onDidLayoutChange(()=>this._layout())),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(46)&&this._updateFont()})),this._setVisibleData(null),this._layout(),this._editor.addContentWidget(this)}get position(){var e,t;return null!==(t=null===(e=this._visibleData)||void 0===e?void 0:e.showAtPosition)&&void 0!==t?t:null}get isColorPickerVisible(){var e;return!!(null===(e=this._visibleData)||void 0===e?void 0:e.colorPicker)}dispose(){this._editor.removeContentWidget(this),this._visibleData&&this._visibleData.disposables.dispose(),super.dispose()}getId(){return e.ID}getDomNode(){return this._hover.containerDomNode}getPosition(){if(!this._visibleData)return null;let e=this._visibleData.preferAbove;return!e&&this._contextKeyService.getContextKeyValue(E._y.Visible.key)&&(e=!0),{position:this._visibleData.showAtPosition,range:this._visibleData.showAtRange,preference:e?[1,2]:[2,1]}}_setVisibleData(e){this._visibleData&&this._visibleData.disposables.dispose(),this._visibleData=e,this._hoverVisibleKey.set(!!this._visibleData),this._hover.containerDomNode.classList.toggle("hidden",!this._visibleData)}_layout(){let e=Math.max(this._editor.getLayoutInfo().height/4,250),{fontSize:t,lineHeight:i}=this._editor.getOption(46);this._hover.contentsDomNode.style.fontSize=`${t}px`,this._hover.contentsDomNode.style.lineHeight=`${i/t}`,this._hover.contentsDomNode.style.maxHeight=`${e}px`,this._hover.contentsDomNode.style.maxWidth=`${Math.max(.66*this._editor.getLayoutInfo().width,500)}px`}_updateFont(){let e=Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code"));e.forEach(e=>this._editor.applyFontInfo(e))}showAt(e,t){this._setVisibleData(t),this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(e),this._hover.contentsDomNode.style.paddingBottom="",this._updateFont(),this.onContentsChanged(),this._editor.render(),this.onContentsChanged(),t.stoleFocus&&this._hover.containerDomNode.focus(),t.colorPicker&&t.colorPicker.layout()}hide(){if(this._visibleData){let e=this._visibleData.stoleFocus;this._setVisibleData(null),this._editor.layoutContentWidget(this),e&&this._editor.focus()}}onContentsChanged(){this._editor.layoutContentWidget(this),this._hover.onContentsChanged();let e=this._hover.scrollbar.getScrollDimensions(),t=e.scrollWidth>e.width;if(t){let e=`${this._hover.scrollbar.options.horizontalScrollbarSize}px`;this._hover.contentsDomNode.style.paddingBottom!==e&&(this._hover.contentsDomNode.style.paddingBottom=e,this._editor.layoutContentWidget(this),this._hover.onContentsChanged())}}clear(){this._hover.contentsDomNode.textContent=""}};P.ID="editor.contrib.contentHoverWidget",P=T([M(1,D.i6)],P);let F=class extends o.JT{constructor(e){super(),this._keybindingService=e,this._hasContent=!1,this.hoverElement=A("div.hover-row.status-bar"),this.actionsElement=d.R3(this.hoverElement,A("div.actions"))}get hasContent(){return this._hasContent}addAction(e){let t=this._keybindingService.lookupKeybinding(e.commandId),i=t?t.getLabel():null;return this._hasContent=!0,this._register(m.render(this.actionsElement,e,i))}append(e){let t=d.R3(this.actionsElement,e);return this._hasContent=!0,t}};F=T([M(0,I.d)],F);class B{constructor(e,t){this._editor=e,this._participants=t,this._anchor=null,this._shouldFocus=!1}get anchor(){return this._anchor}set anchor(e){this._anchor=e}get shouldFocus(){return this._shouldFocus}set shouldFocus(e){this._shouldFocus=e}static _getLineDecorations(e,t){if(1!==t.type)return[];let i=e.getModel(),n=t.range.startLineNumber;if(n>i.getLineCount())return[];let o=i.getLineMaxColumn(n);return e.getLineDecorations(n).filter(e=>{if(e.options.isWholeLine)return!0;let i=e.range.startLineNumber===n?e.range.startColumn:1,r=e.range.endLineNumber===n?e.range.endColumn:o;if(e.options.showIfCollapsed){if(i>t.range.startColumn+1||t.range.endColumn-1>r)return!1}else if(i>t.range.startColumn||t.range.endColumn>r)return!1;return!0})}computeAsync(e){let t=this._anchor;if(!this._editor.hasModel()||!t)return b.Aq.EMPTY;let i=B._getLineDecorations(this._editor,t);return b.Aq.merge(this._participants.map(n=>n.computeAsync?n.computeAsync(t,i,e):b.Aq.EMPTY))}computeSync(){if(!this._editor.hasModel()||!this._anchor)return[];let e=B._getLineDecorations(this._editor,this._anchor),t=[];for(let i of this._participants)t=t.concat(i.computeSync(this._anchor,e));return(0,f.kX)(t)}}var V=i(59365),W=i(51318),H=i(50988);let z=d.$;class K extends o.JT{constructor(e,t,i=H.SW){super(),this._renderDisposeables=this._register(new o.SL),this._editor=e,this._isVisible=!1,this._messages=[],this._hover=this._register(new p),this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._markdownRenderer=this._register(new W.$({editor:this._editor},t,i)),this._computer=new U(this._editor),this._hoverOperation=this._register(new k(this._editor,this._computer)),this._register(this._hoverOperation.onResult(e=>{this._withResult(e.value)})),this._register(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged())),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(46)&&this._updateFont()})),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return K.ID}getDomNode(){return this._hover.containerDomNode}getPosition(){return null}_updateFont(){let e=Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code"));e.forEach(e=>this._editor.applyFontInfo(e))}_onModelDecorationsChanged(){this._isVisible&&(this._hoverOperation.cancel(),this._hoverOperation.start(0))}startShowingAt(e){this._computer.lineNumber!==e&&(this._hoverOperation.cancel(),this.hide(),this._computer.lineNumber=e,this._hoverOperation.start(0))}hide(){this._computer.lineNumber=-1,this._hoverOperation.cancel(),this._isVisible&&(this._isVisible=!1,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible))}_withResult(e){this._messages=e,this._messages.length>0?this._renderMessages(this._computer.lineNumber,this._messages):this.hide()}_renderMessages(e,t){this._renderDisposeables.clear();let i=document.createDocumentFragment();for(let e of t){let t=z("div.hover-row.markdown-hover"),n=d.R3(t,z("div.hover-contents")),o=this._renderDisposeables.add(this._markdownRenderer.render(e.value));n.appendChild(o.element),i.appendChild(t)}this._updateContents(i),this._showAt(e)}_updateContents(e){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(e),this._updateFont()}_showAt(e){this._isVisible||(this._isVisible=!0,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible));let t=this._editor.getLayoutInfo(),i=this._editor.getTopForLineNumber(e),n=this._editor.getScrollTop(),o=this._editor.getOption(61),r=this._hover.containerDomNode.clientHeight;this._hover.containerDomNode.style.left=`${t.glyphMarginLeft+t.glyphMarginWidth}px`,this._hover.containerDomNode.style.top=`${Math.max(Math.round(i-n-(r-o)/2),0)}px`}}K.ID="editor.contrib.modesGlyphHoverWidget";class U{constructor(e){this._editor=e,this._lineNumber=-1}get lineNumber(){return this._lineNumber}set lineNumber(e){this._lineNumber=e}computeSync(){let e=e=>({value:e}),t=this._editor.getLineDecorations(this._lineNumber),i=[];if(!t)return i;for(let n of t){if(!n.options.glyphMarginClassName)continue;let t=n.options.glyphMarginHoverMessage;!t||(0,V.CP)(t)||i.push(...(0,f._2)(t).map(e))}return i}}var $=i(63580),j=i(73910),q=i(97781),G=i(22374),Q=i(95935),Z=i(36357),Y=i(75396),J=i(93412),X=i(76014),ee=i(99803),et=i(98674),ei=i(90535),en=i(71922),eo=function(e,t){return function(i,n){t(i,n,e)}};let er=d.$;class es{constructor(e,t,i){this.owner=e,this.range=t,this.marker=i}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let ea={type:1,filter:{include:X.yN.QuickFix},triggerAction:X.aQ.QuickFixHover},el=class{constructor(e,t,i,n){this._editor=e,this._markerDecorationsService=t,this._openerService=i,this._languageFeaturesService=n,this.hoverOrdinal=5,this.recentMarkerCodeActionsInfo=void 0}computeSync(e,t){if(!this._editor.hasModel()||1!==e.type)return[];let i=this._editor.getModel(),n=e.range.startLineNumber,o=i.getLineMaxColumn(n),r=[];for(let a of t){let t=a.range.startLineNumber===n?a.range.startColumn:1,l=a.range.endLineNumber===n?a.range.endColumn:o,h=this._markerDecorationsService.getMarker(i.uri,a);if(!h)continue;let d=new s.e(e.range.startLineNumber,t,e.range.startLineNumber,l);r.push(new es(this,d,h))}return r}renderHoverParts(e,t){if(!t.length)return o.JT.None;let i=new o.SL;t.forEach(t=>e.fragment.appendChild(this.renderMarkerHover(t,i)));let n=1===t.length?t[0]:t.sort((e,t)=>et.ZL.compare(e.marker.severity,t.marker.severity))[0];return this.renderMarkerStatusbar(e,n,i),i}renderMarkerHover(e,t){let i=er("div.hover-row"),n=d.R3(i,er("div.marker.hover-contents")),{source:o,message:r,code:s,relatedInformation:a}=e.marker;this._editor.applyFontInfo(n);let l=d.R3(n,er("span"));if(l.style.whiteSpace="pre-wrap",l.innerText=r,o||s){if(s&&"string"!=typeof s){let e=er("span");if(o){let t=d.R3(e,er("span"));t.innerText=o}let i=d.R3(e,er("a.code-link"));i.setAttribute("href",s.target.toString()),t.add(d.nm(i,"click",e=>{this._openerService.open(s.target,{allowCommands:!0}),e.preventDefault(),e.stopPropagation()}));let r=d.R3(i,er("span"));r.innerText=s.value;let a=d.R3(n,e);a.style.opacity="0.6",a.style.paddingLeft="6px"}else{let e=d.R3(n,er("span"));e.style.opacity="0.6",e.style.paddingLeft="6px",e.innerText=o&&s?`${o}(${s})`:o||`(${s})`}}if((0,f.Of)(a))for(let{message:e,resource:i,startLineNumber:o,startColumn:r}of a){let s=d.R3(n,er("div"));s.style.marginTop="8px";let a=d.R3(s,er("a"));a.innerText=`${(0,Q.EZ)(i)}(${o}, ${r}): `,a.style.cursor="pointer",t.add(d.nm(a,"click",e=>{e.stopPropagation(),e.preventDefault(),this._openerService&&this._openerService.open(i,{fromUserGesture:!0,editorOptions:{selection:{startLineNumber:o,startColumn:r}}}).catch(w.dL)}));let l=d.R3(s,er("span"));l.innerText=e,this._editor.applyFontInfo(l)}return i}renderMarkerStatusbar(e,t,i){if((t.marker.severity===et.ZL.Error||t.marker.severity===et.ZL.Warning||t.marker.severity===et.ZL.Info)&&e.statusBar.addAction({label:$.NC("view problem","View Problem"),commandId:ee.v.ID,run:()=>{var i;e.hide(),null===(i=ee.c.get(this._editor))||void 0===i||i.showAtMarker(t.marker),this._editor.focus()}}),!this._editor.getOption(83)){let n=e.statusBar.append(er("div"));this.recentMarkerCodeActionsInfo&&(et.H0.makeKey(this.recentMarkerCodeActionsInfo.marker)===et.H0.makeKey(t.marker)?this.recentMarkerCodeActionsInfo.hasCodeActions||(n.textContent=$.NC("noQuickFixes","No quick fixes available")):this.recentMarkerCodeActionsInfo=void 0);let r=this.recentMarkerCodeActionsInfo&&!this.recentMarkerCodeActionsInfo.hasCodeActions?o.JT.None:i.add((0,b.Vg)(()=>n.textContent=$.NC("checkingForQuickFixes","Checking for quick fixes..."),200));n.textContent||(n.textContent=String.fromCharCode(160));let s=this.getCodeActions(t.marker);i.add((0,o.OF)(()=>s.cancel())),s.then(s=>{if(r.dispose(),this.recentMarkerCodeActionsInfo={marker:t.marker,hasCodeActions:s.validActions.length>0},!this.recentMarkerCodeActionsInfo.hasCodeActions){s.dispose(),n.textContent=$.NC("noQuickFixes","No quick fixes available");return}n.style.display="none";let a=!1;i.add((0,o.OF)(()=>{a||s.dispose()})),e.statusBar.addAction({label:$.NC("quick fixes","Quick Fix..."),commandId:J.E7.Id,run:t=>{a=!0;let i=J.pY.get(this._editor),n=d.i(t);e.hide(),null==i||i.showCodeActions(ea,s,{x:n.left+6,y:n.top+n.height+6,width:n.width,height:n.height})}})},w.dL)}}getCodeActions(e){return(0,b.PG)(t=>(0,Y.aI)(this._languageFeaturesService.codeActionProvider,this._editor.getModel(),new s.e(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),ea,ei.Ex.None,t))}};el=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([eo(1,Z.i),eo(2,H.v4),eo(3,en.p)],el),(0,q.Ic)((e,t)=>{let i=e.getColor(j.url);i&&t.addRule(`.monaco-hover .hover-contents a.code-link span { color: ${i}; }`);let n=e.getColor(j.sgC);n&&t.addRule(`.monaco-hover .hover-contents a.code-link span:hover { color: ${n}; }`)});var eh=function(e,t){return function(i,n){t(i,n,e)}};let ed=class e{constructor(e,t,i,n,r){this._editor=e,this._instantiationService=t,this._openerService=i,this._languageService=n,this._toUnhook=new o.SL,this._isMouseDown=!1,this._hoverClicked=!1,this._contentWidget=null,this._glyphWidget=null,this._hookEvents(),this._didChangeConfigurationHandler=this._editor.onDidChangeConfiguration(e=>{e.hasChanged(55)&&(this._unhookEvents(),this._hookEvents())})}static get(t){return t.getContribution(e.ID)}_hookEvents(){let e=this._editor.getOption(55);this._isHoverEnabled=e.enabled,this._isHoverSticky=e.sticky,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown(e=>this._onEditorMouseDown(e))),this._toUnhook.add(this._editor.onMouseUp(e=>this._onEditorMouseUp(e))),this._toUnhook.add(this._editor.onMouseMove(e=>this._onEditorMouseMove(e))),this._toUnhook.add(this._editor.onKeyDown(e=>this._onKeyDown(e)))):(this._toUnhook.add(this._editor.onMouseMove(e=>this._onEditorMouseMove(e))),this._toUnhook.add(this._editor.onKeyDown(e=>this._onKeyDown(e)))),this._toUnhook.add(this._editor.onMouseLeave(e=>this._onEditorMouseLeave(e))),this._toUnhook.add(this._editor.onDidChangeModel(()=>this._hideWidgets())),this._toUnhook.add(this._editor.onDidScrollChange(e=>this._onEditorScrollChanged(e)))}_unhookEvents(){this._toUnhook.clear()}_onEditorScrollChanged(e){(e.scrollTopChanged||e.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(e){this._isMouseDown=!0;let t=e.target;if(9===t.type&&t.detail===P.ID){this._hoverClicked=!0;return}(12!==t.type||t.detail!==K.ID)&&(12!==t.type&&(this._hoverClicked=!1),this._hideWidgets())}_onEditorMouseUp(e){this._isMouseDown=!1}_onEditorMouseLeave(e){var t;let i=e.event.browserEvent.relatedTarget;null!==(t=this._contentWidget)&&void 0!==t&&t.containsNode(i)||this._hideWidgets()}_onEditorMouseMove(e){var t,i,n,o,r;let s=e.target;if(this._isMouseDown&&this._hoverClicked||this._isHoverSticky&&9===s.type&&s.detail===P.ID||this._isHoverSticky&&!(null===(i=null===(t=e.event.browserEvent.view)||void 0===t?void 0:t.getSelection())||void 0===i?void 0:i.isCollapsed)||!this._isHoverSticky&&9===s.type&&s.detail===P.ID&&(null===(n=this._contentWidget)||void 0===n?void 0:n.isColorPickerVisible())||this._isHoverSticky&&12===s.type&&s.detail===K.ID)return;if(!this._isHoverEnabled){this._hideWidgets();return}let a=this._getOrCreateContentWidget();if(a.maybeShowAt(e)){null===(o=this._glyphWidget)||void 0===o||o.hide();return}if(2===s.type&&s.position){null===(r=this._contentWidget)||void 0===r||r.hide(),this._glyphWidget||(this._glyphWidget=new K(this._editor,this._languageService,this._openerService)),this._glyphWidget.startShowingAt(s.position.lineNumber);return}this._hideWidgets()}_onKeyDown(e){5!==e.keyCode&&6!==e.keyCode&&57!==e.keyCode&&4!==e.keyCode&&this._hideWidgets()}_hideWidgets(){var e,t,i;this._isMouseDown&&this._hoverClicked&&(null===(e=this._contentWidget)||void 0===e?void 0:e.isColorPickerVisible())||(this._hoverClicked=!1,null===(t=this._glyphWidget)||void 0===t||t.hide(),null===(i=this._contentWidget)||void 0===i||i.hide())}_getOrCreateContentWidget(){return this._contentWidget||(this._contentWidget=this._instantiationService.createInstance(R,this._editor)),this._contentWidget}isColorPickerVisible(){var e;return(null===(e=this._contentWidget)||void 0===e?void 0:e.isColorPickerVisible())||!1}showContentHover(e,t,i){this._getOrCreateContentWidget().startShowingAtRange(e,t,i)}dispose(){var e,t;this._unhookEvents(),this._toUnhook.dispose(),this._didChangeConfigurationHandler.dispose(),null===(e=this._glyphWidget)||void 0===e||e.dispose(),null===(t=this._contentWidget)||void 0===t||t.dispose()}};ed.ID="editor.contrib.hover",ed=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([eh(1,x.TG),eh(2,H.v4),eh(3,l.O),eh(4,D.i6)],ed);class eu extends r.R6{constructor(){super({id:"editor.action.showHover",label:$.NC({key:"showHover",comment:["Label for action that will trigger the showing of a hover in the editor.","This allows for users to show the hover without using the mouse."]},"Show Hover"),alias:"Show Hover",precondition:void 0,kbOpts:{kbExpr:a.u.editorTextFocus,primary:(0,n.gx)(2089,2087),weight:100}})}run(e,t){if(!t.hasModel())return;let i=ed.get(t);if(!i)return;let n=t.getPosition(),o=new s.e(n.lineNumber,n.column,n.lineNumber,n.column),r=2===t.getOption(2);i.showContentHover(o,1,r)}}class ec extends r.R6{constructor(){super({id:"editor.action.showDefinitionPreviewHover",label:$.NC({key:"showDefinitionPreviewHover",comment:["Label for action that will trigger the showing of definition preview hover in the editor.","This allows for users to show the definition preview hover without using the mouse."]},"Show Definition Preview Hover"),alias:"Show Definition Preview Hover",precondition:void 0})}run(e,t){let i=ed.get(t);if(!i)return;let n=t.getPosition();if(!n)return;let o=new s.e(n.lineNumber,n.column,n.lineNumber,n.column),r=h.S.get(t);if(!r)return;let a=r.startFindDefinitionFromCursor(n);a.then(()=>{i.showContentHover(o,1,!0)})}}(0,r._K)(ed.ID,ed),(0,r.Qr)(eu),(0,r.Qr)(ec),N.Ae.register(G.D5),N.Ae.register(el),(0,q.Ic)((e,t)=>{let i=e.getColor(j.ptc);i&&t.addRule(`.monaco-editor .hoverHighlight { background-color: ${i}; }`);let n=e.getColor(j.yJx);n&&t.addRule(`.monaco-editor .monaco-hover { background-color: ${n}; }`);let o=e.getColor(j.CNo);o&&(t.addRule(`.monaco-editor .monaco-hover { border: 1px solid ${o}; }`),t.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${o.transparent(.5)}; }`),t.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${o.transparent(.5)}; }`),t.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${o.transparent(.5)}; }`));let r=e.getColor(j.url);r&&t.addRule(`.monaco-editor .monaco-hover a { color: ${r}; }`);let s=e.getColor(j.sgC);s&&t.addRule(`.monaco-editor .monaco-hover a:hover { color: ${s}; }`);let a=e.getColor(j.Sbf);a&&t.addRule(`.monaco-editor .monaco-hover { color: ${a}; }`);let l=e.getColor(j.LoV);l&&t.addRule(`.monaco-editor .monaco-hover .hover-row .actions { background-color: ${l}; }`);let h=e.getColor(j.SwI);h&&t.addRule(`.monaco-editor .monaco-hover code { background-color: ${h}; }`)})},66520:function(e,t,i){"use strict";i.d(t,{Ae:function(){return r},Qj:function(){return n},YM:function(){return o}});class n{constructor(e,t){this.priority=e,this.range=t,this.type=1}equals(e){return 1===e.type&&this.range.equalsRange(e.range)}canAdoptVisibleHover(e,t){return 1===e.type&&t.lineNumber===this.range.startLineNumber}}class o{constructor(e,t,i){this.priority=e,this.owner=t,this.range=i,this.type=2}equals(e){return 2===e.type&&this.owner===e.owner}canAdoptVisibleHover(e,t){return 2===e.type&&this.owner===e.owner}}let r=new class{constructor(){this._participants=[]}register(e){this._participants.push(e)}getAll(){return this._participants}}},22374:function(e,t,i){"use strict";i.d(t,{D5:function(){return b},c:function(){return w},hU:function(){return C}});var n=i(65321),o=i(9488),r=i(15393),s=i(59365),a=i(9917),l=i(51318),h=i(50187),d=i(24314),u=i(72042),c=i(41095),g=i(63580),p=i(33108),m=i(50988),f=i(71922),_=function(e,t){return function(i,n){t(i,n,e)}};let v=n.$;class C{constructor(e,t,i,n){this.owner=e,this.range=t,this.contents=i,this.ordinal=n}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let b=class{constructor(e,t,i,n,o){this._editor=e,this._languageService=t,this._openerService=i,this._configurationService=n,this._languageFeaturesService=o,this.hoverOrdinal=2}createLoadingMessage(e){return new C(this,e.range,[new s.W5().appendText(g.NC("modesContentHover.loading","Loading..."))],2e3)}computeSync(e,t){if(!this._editor.hasModel()||1!==e.type)return[];let i=this._editor.getModel(),n=e.range.startLineNumber,r=i.getLineMaxColumn(n),a=[],l=1e3,h=i.getLineLength(n),u=i.getLanguageIdAtPosition(e.range.startLineNumber,e.range.startColumn),c=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:u});for(let i of("number"==typeof c&&h>=c&&a.push(new C(this,e.range,[{value:g.NC("too many characters","Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`.")}],l++)),t)){let t=i.range.startLineNumber===n?i.range.startColumn:1,h=i.range.endLineNumber===n?i.range.endColumn:r,u=i.options.hoverMessage;if(!u||(0,s.CP)(u))continue;let c=new d.e(e.range.startLineNumber,t,e.range.startLineNumber,h);a.push(new C(this,c,(0,o._2)(u),l++))}return a}computeAsync(e,t,i){if(!this._editor.hasModel()||1!==e.type)return r.Aq.EMPTY;let n=this._editor.getModel();if(!this._languageFeaturesService.hoverProvider.has(n))return r.Aq.EMPTY;let o=new h.L(e.range.startLineNumber,e.range.startColumn);return(0,c.R8)(this._languageFeaturesService.hoverProvider,n,o,i).filter(e=>!(0,s.CP)(e.hover.contents)).map(t=>{let i=t.hover.range?d.e.lift(t.hover.range):e.range;return new C(this,i,t.hover.contents,t.ordinal)})}renderHoverParts(e,t){return w(e,t,this._editor,this._languageService,this._openerService)}};function w(e,t,i,o,r){t.sort((e,t)=>e.ordinal-t.ordinal);let h=new a.SL;for(let a of t)for(let t of a.contents){if((0,s.CP)(t))continue;let a=v("div.hover-row.markdown-hover"),d=n.R3(a,v("div.hover-contents")),u=h.add(new l.$({editor:i},o,r));h.add(u.onDidRenderAsync(()=>{d.className="hover-contents code-hover-contents",e.onContentsChanged()}));let c=h.add(u.render(t));d.appendChild(c.element),e.fragment.appendChild(a)}return h}b=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([_(1,u.O),_(2,m.v4),_(3,p.Ui),_(4,f.p)],b)},68077:function(e,t,i){"use strict";var n,o=i(15393),r=i(17301),s=i(14410),a=i(16830),l=i(24314),h=i(3860),d=i(29102),u=i(22529),c=i(85215),g=i(51945),p=i(63580),m=i(97781);class f{constructor(e,t,i){this._editRange=e,this._originalSelection=t,this._text=i}getEditOperations(e,t){t.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(e,t){let i=t.getInverseEditOperations(),n=i[0].range;return this._originalSelection.isEmpty()?new h.Y(n.endLineNumber,Math.min(this._originalSelection.positionColumn,n.endColumn),n.endLineNumber,Math.min(this._originalSelection.positionColumn,n.endColumn)):new h.Y(n.endLineNumber,n.endColumn-this._text.length,n.endLineNumber,n.endColumn)}}let _=class e{constructor(e,t){this.editor=e,this.editorWorkerService=t,this.decorations=this.editor.createDecorationsCollection()}static get(t){return t.getContribution(e.ID)}dispose(){}run(t,i){this.currentRequest&&this.currentRequest.cancel();let n=this.editor.getSelection(),a=this.editor.getModel();if(!a||!n)return;let d=n;if(d.startLineNumber!==d.endLineNumber)return;let u=new s.yy(this.editor,5),c=a.uri;return this.editorWorkerService.canNavigateValueSet(c)?(this.currentRequest=(0,o.PG)(e=>this.editorWorkerService.navigateValueSet(c,d,i)),this.currentRequest.then(i=>{if(!i||!i.range||!i.value||!u.validate(this.editor))return;let n=l.e.lift(i.range),s=i.range,a=i.value.length-(d.endColumn-d.startColumn);s={startLineNumber:s.startLineNumber,startColumn:s.startColumn,endLineNumber:s.endLineNumber,endColumn:s.startColumn+i.value.length},a>1&&(d=new h.Y(d.startLineNumber,d.startColumn,d.endLineNumber,d.endColumn+a-1));let c=new f(n,d,i.value);this.editor.pushUndoStop(),this.editor.executeCommand(t,c),this.editor.pushUndoStop(),this.decorations.set([{range:s,options:e.DECORATION}]),this.decorationRemover&&this.decorationRemover.cancel(),this.decorationRemover=(0,o.Vs)(350),this.decorationRemover.then(()=>this.decorations.clear()).catch(r.dL)}).catch(r.dL)):Promise.resolve(void 0)}};_.ID="editor.contrib.inPlaceReplaceController",_.DECORATION=u.qx.register({description:"in-place-replace",className:"valueSetReplacement"}),_=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(n=c.p,function(e,t){n(e,t,1)})],_);class v extends a.R6{constructor(){super({id:"editor.action.inPlaceReplace.up",label:p.NC("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:d.u.writable,kbOpts:{kbExpr:d.u.editorTextFocus,primary:3154,weight:100}})}run(e,t){let i=_.get(t);return i?i.run(this.id,!0):Promise.resolve(void 0)}}class C extends a.R6{constructor(){super({id:"editor.action.inPlaceReplace.down",label:p.NC("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:d.u.writable,kbOpts:{kbExpr:d.u.editorTextFocus,primary:3156,weight:100}})}run(e,t){let i=_.get(t);return i?i.run(this.id,!1):Promise.resolve(void 0)}}(0,a._K)(_.ID,_),(0,a.Qr)(v),(0,a.Qr)(C),(0,m.Ic)((e,t)=>{let i=e.getColor(g.Dl);i&&t.addRule(`.monaco-editor.vs .valueSetReplacement { outline: solid 2px ${i}; }`)})},18279:function(e,t,i){"use strict";function n(e,t){let i=0;for(let n=0;nn-1)return[];let{tabSize:u,indentSize:c,insertSpaces:g}=e.getOptions(),p=(e,t)=>(t=t||1,a.U.shiftIndent(e,e.length+t,u,c,g)),m=(e,t)=>(t=t||1,a.U.unshiftIndent(e,e.length+t,u,c,g)),f=[],v=e.getLineContent(i),C=v;if(null!=o){s=o;let e=r.V8(v);C=s+v.substring(e.length),h.decreaseIndentPattern&&h.decreaseIndentPattern.test(C)&&(C=(s=m(s))+v.substring(e.length)),v!==C&&f.push(l.h.replaceMove(new d.Y(i,1,i,e.length+1),(0,_.x)(s,c,g)))}else s=r.V8(v);let b=s;h.increaseIndentPattern&&h.increaseIndentPattern.test(C)?(b=p(b),s=p(s)):h.indentNextLinePattern&&h.indentNextLinePattern.test(C)&&(b=p(b)),i++;for(let t=i;t<=n;t++){let i=e.getLineContent(t),n=r.V8(i),o=b+i.substring(n.length);h.decreaseIndentPattern&&h.decreaseIndentPattern.test(o)&&(b=m(b),s=m(s)),n!==b&&f.push(l.h.replaceMove(new d.Y(t,1,t,n.length+1),(0,_.x)(b,c,g))),h.unIndentedLinePattern&&h.unIndentedLinePattern.test(i)||(b=h.increaseIndentPattern&&h.increaseIndentPattern.test(o)?s=p(s):h.indentNextLinePattern&&h.indentNextLinePattern.test(o)?p(b):s)}return f}class b extends s.R6{constructor(){super({id:b.ID,label:m.NC("indentationToSpaces","Convert Indentation to Spaces"),alias:"Convert Indentation to Spaces",precondition:u.u.writable})}run(e,t){let i=t.getModel();if(!i)return;let n=i.getOptions(),o=t.getSelection();if(!o)return;let r=new T(o,n.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[r]),t.pushUndoStop(),i.updateOptions({insertSpaces:!0})}}b.ID="editor.action.indentationToSpaces";class w extends s.R6{constructor(){super({id:w.ID,label:m.NC("indentationToTabs","Convert Indentation to Tabs"),alias:"Convert Indentation to Tabs",precondition:u.u.writable})}run(e,t){let i=t.getModel();if(!i)return;let n=i.getOptions(),o=t.getSelection();if(!o)return;let r=new M(o,n.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[r]),t.pushUndoStop(),i.updateOptions({insertSpaces:!1})}}w.ID="editor.action.indentationToTabs";class y extends s.R6{constructor(e,t){super(t),this.insertSpaces=e}run(e,t){let i=e.get(f.eJ),n=e.get(g.q),o=t.getModel();if(!o)return;let r=n.getCreationOptions(o.getLanguageId(),o.uri,o.isForSimpleWidget),s=[1,2,3,4,5,6,7,8].map(e=>({id:e.toString(),label:e.toString(),description:e===r.tabSize?m.NC("configuredTabSize","Configured Tab Size"):void 0})),a=Math.min(o.getOptions().tabSize-1,7);setTimeout(()=>{i.pick(s,{placeHolder:m.NC({key:"selectTabWidth",comment:["Tab corresponds to the tab key"]},"Select Tab Size for Current File"),activeItem:s[a]}).then(e=>{e&&o&&!o.isDisposed()&&o.updateOptions({tabSize:parseInt(e.label,10),insertSpaces:this.insertSpaces})})},50)}}class S extends y{constructor(){super(!1,{id:S.ID,label:m.NC("indentUsingTabs","Indent Using Tabs"),alias:"Indent Using Tabs",precondition:void 0})}}S.ID="editor.action.indentUsingTabs";class L extends y{constructor(){super(!0,{id:L.ID,label:m.NC("indentUsingSpaces","Indent Using Spaces"),alias:"Indent Using Spaces",precondition:void 0})}}L.ID="editor.action.indentUsingSpaces";class k extends s.R6{constructor(){super({id:k.ID,label:m.NC("detectIndentation","Detect Indentation from Content"),alias:"Detect Indentation from Content",precondition:void 0})}run(e,t){let i=e.get(g.q),n=t.getModel();if(!n)return;let o=i.getCreationOptions(n.getLanguageId(),n.uri,n.isForSimpleWidget);n.detectIndentation(o.insertSpaces,o.tabSize)}}k.ID="editor.action.detectIndentation";class N extends s.R6{constructor(){super({id:"editor.action.reindentlines",label:m.NC("editor.reindentlines","Reindent Lines"),alias:"Reindent Lines",precondition:u.u.writable})}run(e,t){let i=e.get(c.c_),n=t.getModel();if(!n)return;let o=C(n,i,1,n.getLineCount());o.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,o),t.pushUndoStop())}}class D extends s.R6{constructor(){super({id:"editor.action.reindentselectedlines",label:m.NC("editor.reindentselectedlines","Reindent Selected Lines"),alias:"Reindent Selected Lines",precondition:u.u.writable})}run(e,t){let i=e.get(c.c_),n=t.getModel();if(!n)return;let o=t.getSelections();if(null===o)return;let r=[];for(let e of o){let t=e.startLineNumber,o=e.endLineNumber;if(t!==o&&1===e.endColumn&&o--,1===t){if(t===o)continue}else t--;let s=C(n,i,t,o);r.push(...s)}r.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,r),t.pushUndoStop())}}class x{constructor(e,t){for(let i of(this._initialSelection=t,this._edits=[],this._selectionId=null,e))i.range&&"string"==typeof i.text&&this._edits.push(i)}getEditOperations(e,t){for(let e of this._edits)t.addEditOperation(h.e.lift(e.range),e.text);let i=!1;Array.isArray(this._edits)&&1===this._edits.length&&this._initialSelection.isEmpty()&&(this._edits[0].range.startColumn===this._initialSelection.endColumn&&this._edits[0].range.startLineNumber===this._initialSelection.endLineNumber?(i=!0,this._selectionId=t.trackSelection(this._initialSelection,!0)):this._edits[0].range.endColumn===this._initialSelection.startColumn&&this._edits[0].range.endLineNumber===this._initialSelection.startLineNumber&&(i=!0,this._selectionId=t.trackSelection(this._initialSelection,!1))),i||(this._selectionId=t.trackSelection(this._initialSelection))}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}let I=class{constructor(e,t){this.editor=e,this._languageConfigurationService=t,this.callOnDispose=new o.SL,this.callOnModel=new o.SL,this.callOnDispose.add(e.onDidChangeConfiguration(()=>this.update())),this.callOnDispose.add(e.onDidChangeModel(()=>this.update())),this.callOnDispose.add(e.onDidChangeModelLanguage(()=>this.update()))}update(){this.callOnModel.clear(),!(4>this.editor.getOption(9)||this.editor.getOption(50))&&this.editor.hasModel()&&this.callOnModel.add(this.editor.onDidPaste(({range:e})=>{this.trigger(e)}))}trigger(e){let t=this.editor.getSelections();if(null===t||t.length>1)return;let i=this.editor.getModel();if(!i||!i.tokenization.isCheapToTokenize(e.getStartPosition().lineNumber))return;let n=this.editor.getOption(9),{tabSize:o,indentSize:s,insertSpaces:l}=i.getOptions(),d=[],u={shiftIndent:e=>a.U.shiftIndent(e,e.length+1,o,s,l),unshiftIndent:e=>a.U.unshiftIndent(e,e.length+1,o,s,l)},c=e.startLineNumber;for(;c<=e.endLineNumber;){if(this.shouldIgnoreLine(i,c)){c++;continue}break}if(c>e.endLineNumber)return;let g=i.getLineContent(c);if(!/\S/.test(g.substring(0,e.startColumn-1))){let e=(0,v.n8)(n,i,i.getLanguageId(),c,u,this._languageConfigurationService);if(null!==e){let t=r.V8(g),n=p.Y(e,o),s=p.Y(t,o);if(n!==s){let e=p.J(n,o,l);d.push({range:new h.e(c,1,c,t.length+1),text:e}),g=e+g.substr(t.length)}else{let e=(0,v.tI)(i,c,this._languageConfigurationService);if(0===e||8===e)return}}}let m=c;for(;ci.tokenization.getLineTokens(e),getLanguageId:()=>i.getLanguageId(),getLanguageIdAtPosition:(e,t)=>i.getLanguageIdAtPosition(e,t)},getLineContent:e=>e===m?g:i.getLineContent(e)},i.getLanguageId(),c+1,u,this._languageConfigurationService);if(null!==t){let n=p.Y(t,o),s=p.Y(r.V8(i.getLineContent(c+1)),o);if(n!==s){let t=n-s;for(let n=c+1;n<=e.endLineNumber;n++){let e=i.getLineContent(n),s=r.V8(e),a=p.Y(s,o),u=a+t,c=p.J(u,o,l);c!==s&&d.push({range:new h.e(n,1,n,s.length+1),text:c})}}}}if(d.length>0){this.editor.pushUndoStop();let e=new x(d,this.editor.getSelection());this.editor.executeCommand("autoIndentOnPaste",e),this.editor.pushUndoStop()}}shouldIgnoreLine(e,t){e.tokenization.forceTokenization(t);let i=e.getLineFirstNonWhitespaceColumn(t);if(0===i)return!0;let n=e.tokenization.getLineTokens(t);if(n.getCount()>0){let e=n.findTokenIndexAtOffset(i);if(e>=0&&1===n.getStandardTokenType(e))return!0}return!1}dispose(){this.callOnDispose.dispose(),this.callOnModel.dispose()}};function E(e,t,i,n){if(1===e.getLineCount()&&1===e.getLineMaxColumn(1))return;let o="";for(let e=0;e=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(n=c.c_,function(e,t){n(e,t,1)})],I);class T{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),E(e,t,this.tabSize,!0)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}class M{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),E(e,t,this.tabSize,!1)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}(0,s._K)(I.ID,I),(0,s.Qr)(b),(0,s.Qr)(w),(0,s.Qr)(S),(0,s.Qr)(L),(0,s.Qr)(k),(0,s.Qr)(N),(0,s.Qr)(D)},77563:function(e,t,i){"use strict";var n=i(16830),o=i(66520),r=i(65321),s=i(9488),a=i(15393),l=i(71050),h=i(17301),d=i(9917),u=i(43702),c=i(98401),g=i(70666),p=i(29994),m=i(64141),f=i(69386),_=i(24314),v=i(43155),C=i(84973),b=i(22529),w=i(88191),y=i(71922),S=i(88216),L=i(82005),k=i(50187),N=i(66663),D=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class x{constructor(e,t){this.range=e,this.direction=t}}class I{constructor(e,t,i){this.hint=e,this.anchor=t,this.provider=i,this._isResolved=!1}with(e){let t=new I(this.hint,e.anchor,this.provider);return t._isResolved=this._isResolved,t._currentResolve=this._currentResolve,t}resolve(e){return D(this,void 0,void 0,function*(){if("function"==typeof this.provider.resolveInlayHint){if(this._currentResolve){if(yield this._currentResolve,e.isCancellationRequested)return;return this.resolve(e)}this._isResolved||(this._currentResolve=this._doResolve(e).finally(()=>this._currentResolve=void 0)),yield this._currentResolve}})}_doResolve(e){var t,i;return D(this,void 0,void 0,function*(){try{let n=yield Promise.resolve(this.provider.resolveInlayHint(this.hint,e));this.hint.tooltip=null!==(t=null==n?void 0:n.tooltip)&&void 0!==t?t:this.hint.tooltip,this.hint.label=null!==(i=null==n?void 0:n.label)&&void 0!==i?i:this.hint.label,this._isResolved=!0}catch(e){(0,h.Cp)(e),this._isResolved=!1}})}}class E{constructor(e,t,i){this._disposables=new d.SL,this.ranges=e,this.provider=new Set;let n=[];for(let[e,o]of t)for(let t of(this._disposables.add(e),this.provider.add(o),e.hints)){let e;let r=i.validatePosition(t.position),s="before",a=E._getRangeAtPosition(i,r);a.getStartPosition().isBefore(r)?(e=_.e.fromPositions(a.getStartPosition(),r),s="after"):(e=_.e.fromPositions(r,a.getEndPosition()),s="before"),n.push(new I(t,new x(e,s),o))}this.items=n.sort((e,t)=>k.L.compare(e.hint.position,t.hint.position))}static create(e,t,i,n){return D(this,void 0,void 0,function*(){let o=[],r=e.ordered(t).reverse().map(e=>i.map(i=>D(this,void 0,void 0,function*(){try{let r=yield e.provideInlayHints(t,i,n);(null==r?void 0:r.hints.length)&&o.push([r,e])}catch(e){(0,h.Cp)(e)}})));if(yield Promise.all(r.flat()),n.isCancellationRequested||t.isDisposed())throw new h.FU;return new E(i,o,t)})}dispose(){this._disposables.dispose()}static _getRangeAtPosition(e,t){let i=t.lineNumber,n=e.getWordAtPosition(t);if(n)return new _.e(i,n.startColumn,i,n.endColumn);e.tokenization.tokenizeIfCheap(i);let o=e.tokenization.getLineTokens(i),r=t.column-1,s=o.findTokenIndexAtOffset(r),a=o.getStartOffset(s),l=o.getEndOffset(s);return l-a==1&&(a===r&&s>1?(a=o.getStartOffset(s-1),l=o.getEndOffset(s-1)):l===r&&s(0,R.vr)(e)?e.command.id:""));for(let e of n.Uc.getEditorActions())e instanceof M.Bj&&m.has(e.id)&&p.push(new T.aU(e.id,e.label,void 0,!0,()=>W(this,void 0,void 0,function*(){let i=yield a.createModelReference(g.uri);try{yield u.invokeFunction(e.run.bind(e),t,new M._k(i.object.textEditorModel,_.e.getStartPosition(g.range)))}finally{i.dispose()}})));if(o.part.command){let{command:e}=o.part;p.push(new T.Z0),p.push(new T.aU(e.id,e.title,void 0,!0,()=>W(this,void 0,void 0,function*(){var t;try{yield d.executeCommand(e.id,...null!==(t=e.arguments)&&void 0!==t?t:[])}catch(e){c.notify({severity:V.zb.Error,source:o.item.provider.displayName,message:e})}})))}let f=t.getOption(117);h.showContextMenu({domForShadowRoot:f&&null!==(s=t.getDomNode())&&void 0!==s?s:void 0,getAnchor:()=>{let e=r.i(i);return{x:e.left,y:e.top+e.height+8}},getActions:()=>p,onHide:()=>{t.focus()},autoSelectFirstItem:!0})})}function z(e,t,i,n){return W(this,void 0,void 0,function*(){let o=e.get(S.S),r=yield o.createModelReference(n.uri);yield i.invokeWithinContext(e=>W(this,void 0,void 0,function*(){let o=t.hasSideBySideModifier,s=e.get(P.i6),a=A.Jy.inPeekEditor.getValue(s),l=!o&&i.getOption(80)&&!a,h=new M.BT({openToSide:o,openInPeek:l,muteMessage:!0},{alias:"",label:"",id:"",precondition:void 0});return h.run(e,i,{model:r.object.textEditorModel,position:_.e.getStartPosition(n.range)})})),r.dispose()})}var K=i(65026),U=i(73910),$=i(97781),j=function(e,t){return function(i,n){t(i,n,e)}},q=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class G{constructor(){this._entries=new u.z6(50)}get(e){let t=G._key(e);return this._entries.get(t)}set(e,t){let i=G._key(e);this._entries.set(i,t)}static _key(e){return`${e.uri.toString()}/${e.getVersionId()}`}}let Q=(0,B.yh)("IInlayHintsCache");(0,K.z)(Q,G,!0);class Z{constructor(e,t){this.item=e,this.index=t}get part(){let e=this.item.hint.label;return"string"==typeof e?{label:e}:e[this.index]}}class Y{constructor(e,t){this.part=e,this.hasTriggerModifier=t}}let J=class e{constructor(e,t,i,n,o,r,s){this._editor=e,this._languageFeaturesService=t,this._inlayHintsCache=n,this._commandService=o,this._notificationService=r,this._instaService=s,this._disposables=new d.SL,this._sessionDisposables=new d.SL,this._decorationsMetadata=new Map,this._ruleFactory=new p.t7(this._editor),this._activeRenderMode=0,this._debounceInfo=i.for(t.inlayHintsProvider,"InlayHint",{min:25}),this._disposables.add(t.inlayHintsProvider.onDidChange(()=>this._update())),this._disposables.add(e.onDidChangeModel(()=>this._update())),this._disposables.add(e.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(e.onDidChangeConfiguration(e=>{e.hasChanged(129)&&this._update()})),this._update()}static get(t){var i;return null!==(i=t.getContribution(e.ID))&&void 0!==i?i:void 0}dispose(){this._sessionDisposables.dispose(),this._removeAllDecorations(),this._disposables.dispose()}_update(){let e;this._sessionDisposables.clear(),this._removeAllDecorations();let t=this._editor.getOption(129);if("off"===t.enabled)return;let i=this._editor.getModel();if(!i||!this._languageFeaturesService.inlayHintsProvider.has(i))return;let n=this._inlayHintsCache.get(i);n&&this._updateHintsDecorators([i.getFullModelRange()],n),this._sessionDisposables.add((0,d.OF)(()=>{i.isDisposed()||this._cacheHintsForFastRestore(i)}));let o=new Set,s=new a.pY(()=>q(this,void 0,void 0,function*(){let t=Date.now();null==e||e.dispose(!0),e=new l.A;let n=i.onWillDispose(()=>null==e?void 0:e.cancel());try{let n=e.token,r=yield E.create(this._languageFeaturesService.inlayHintsProvider,i,this._getHintsRanges(),n);if(s.delay=this._debounceInfo.update(i,Date.now()-t),n.isCancellationRequested){r.dispose();return}for(let e of r.provider)"function"!=typeof e.onDidChangeInlayHints||o.has(e)||(o.add(e),this._sessionDisposables.add(e.onDidChangeInlayHints(()=>{s.isScheduled()||s.schedule()})));this._sessionDisposables.add(r),this._updateHintsDecorators(r.ranges,r.items),this._cacheHintsForFastRestore(i)}catch(e){(0,h.dL)(e)}finally{e.dispose(),n.dispose()}}),this._debounceInfo.get(i));if(this._sessionDisposables.add(s),this._sessionDisposables.add((0,d.OF)(()=>null==e?void 0:e.dispose(!0))),s.schedule(0),this._sessionDisposables.add(this._editor.onDidScrollChange(e=>{(e.scrollTopChanged||!s.isScheduled())&&s.schedule()})),this._sessionDisposables.add(this._editor.onDidChangeModelContent(e=>{let t=Math.max(s.delay,1250);s.schedule(t)})),"on"===t.enabled)this._activeRenderMode=0;else{let e,i;"onUnlessPressed"===t.enabled?(e=0,i=1):(e=1,i=0),this._activeRenderMode=e,this._sessionDisposables.add(r._q.getInstance().event(t=>{if(!this._editor.hasModel())return;let n=t.altKey&&t.ctrlKey?i:e;if(n!==this._activeRenderMode){this._activeRenderMode=n;let e=this._editor.getModel(),t=this._copyInlayHintsWithCurrentAnchor(e);this._updateHintsDecorators([e.getFullModelRange()],t),s.schedule(0)}}))}this._sessionDisposables.add(this._installDblClickGesture(()=>s.schedule(0))),this._sessionDisposables.add(this._installLinkGesture()),this._sessionDisposables.add(this._installContextMenu())}_installLinkGesture(){let e=new d.SL,t=e.add(new L.yN(this._editor)),i=new d.SL;return e.add(i),e.add(t.onMouseMoveOrRelevantKeyDown(e=>{let[t]=e,n=this._getInlayHintLabelPart(t),o=this._editor.getModel();if(!n||!o){i.clear();return}let r=new l.A;i.add((0,d.OF)(()=>r.dispose(!0))),n.item.resolve(r.token),this._activeInlayHintPart=n.part.command||n.part.location?new Y(n,t.hasTriggerModifier):void 0;let s=n.item.hint.position.lineNumber,a=new _.e(s,1,s,o.getLineMaxColumn(s)),h=this._getInlineHintsForRange(a);this._updateHintsDecorators([a],h),i.add((0,d.OF)(()=>{this._activeInlayHintPart=void 0,this._updateHintsDecorators([a],h)}))})),e.add(t.onCancel(()=>i.clear())),e.add(t.onExecute(e=>q(this,void 0,void 0,function*(){let t=this._getInlayHintLabelPart(e);if(t){let i=t.part;i.location?this._instaService.invokeFunction(z,e,this._editor,i.location):v.mY.is(i.command)&&(yield this._invokeCommand(i.command,t.item))}}))),e}_getInlineHintsForRange(e){let t=new Set;for(let i of this._decorationsMetadata.values())e.containsRange(i.item.anchor.range)&&t.add(i.item);return Array.from(t)}_installDblClickGesture(e){return this._editor.onMouseUp(t=>q(this,void 0,void 0,function*(){if(2!==t.event.detail)return;let i=this._getInlayHintLabelPart(t);if(i&&(t.event.preventDefault(),yield i.item.resolve(l.T.None),(0,s.Of)(i.item.hint.textEdits))){let t=i.item.hint.textEdits.map(e=>f.h.replace(_.e.lift(e.range),e.text));this._editor.executeEdits("inlayHint.default",t),e()}}))}_installContextMenu(){return this._editor.onContextMenu(e=>q(this,void 0,void 0,function*(){if(!(e.event.target instanceof HTMLElement))return;let t=this._getInlayHintLabelPart(e);t&&(yield this._instaService.invokeFunction(H,this._editor,e.event.target,t))}))}_getInlayHintLabelPart(e){var t;if(6!==e.target.type)return;let i=null===(t=e.target.detail.injectedText)||void 0===t?void 0:t.options;if(i instanceof b.HS&&(null==i?void 0:i.attachedData)instanceof Z)return i.attachedData}_invokeCommand(e,t){var i;return q(this,void 0,void 0,function*(){try{yield this._commandService.executeCommand(e.id,...null!==(i=e.arguments)&&void 0!==i?i:[])}catch(e){this._notificationService.notify({severity:V.zb.Error,source:t.provider.displayName,message:e})}})}_cacheHintsForFastRestore(e){let t=this._copyInlayHintsWithCurrentAnchor(e);this._inlayHintsCache.set(e,t)}_copyInlayHintsWithCurrentAnchor(e){let t=new Map;for(let[i,n]of this._decorationsMetadata){if(t.has(n.item))continue;let o=e.getDecorationRange(i);if(o){let e=new x(o,n.item.anchor.direction),i=n.item.with({anchor:e});t.set(n.item,i)}}return Array.from(t.values())}_getHintsRanges(){let e=this._editor.getModel(),t=this._editor.getVisibleRangesPlusViewportAboveBelow(),i=[];for(let n of t.sort(_.e.compareRangesUsingStarts)){let t=e.validateRange(new _.e(n.startLineNumber-30,n.startColumn,n.endLineNumber+30,n.endColumn));0!==i.length&&_.e.areIntersectingOrTouching(i[i.length-1],t)?i[i.length-1]=_.e.plusRange(i[i.length-1],t):i.push(t)}return i}_updateHintsDecorators(t,i){var n,o;let r=[],a=(e,t,i,n,o)=>{let s={content:i,inlineClassNameAffectsLetterSpacing:!0,inlineClassName:t.className,cursorStops:n,attachedData:o};r.push({item:e,classNameRef:t,decoration:{range:e.anchor.range,options:{description:"InlayHint",showIfCollapsed:e.anchor.range.isEmpty(),collapseOnReplaceEdit:!e.anchor.range.isEmpty(),stickiness:0,[e.anchor.direction]:0===this._activeRenderMode?s:void 0}}})},l=(e,t)=>{let i=this._ruleFactory.createClassNameRef({width:`${h/3|0}px`,display:"inline-block"});a(e,i," ",t?C.RM.Right:C.RM.None)},{fontSize:h,fontFamily:d,padding:u,isUniform:c}=this._getLayoutInfo(),g="--code-editorInlayHintsFontFamily";for(let t of(this._editor.getContainerDomNode().style.setProperty(g,d),i)){t.hint.paddingLeft&&l(t,!1);let i="string"==typeof t.hint.label?[{label:t.hint.label}]:t.hint.label;for(let e=0;ee._MAX_DECORATORS)break}let p=[];for(let e of t)for(let{id:t}of null!==(o=this._editor.getDecorationsInRange(e))&&void 0!==o?o:[]){let e=this._decorationsMetadata.get(t);e&&(p.push(t),e.classNameRef.dispose(),this._decorationsMetadata.delete(t))}this._editor.changeDecorations(e=>{let t=e.deltaDecorations(p,r.map(e=>e.decoration));for(let e=0;ei)&&(o=i);let r=e.fontFamily||n,s=!t&&r===n&&o===i;return{fontSize:o,fontFamily:r,padding:t,isUniform:s}}_removeAllDecorations(){for(let e of(this._editor.removeDecorations(Array.from(this._decorationsMetadata.keys())),this._decorationsMetadata.values()))e.classNameRef.dispose();this._decorationsMetadata.clear()}};J.ID="editor.contrib.InlayHints",J._MAX_DECORATORS=1500,J=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([j(1,y.p),j(2,w.A),j(3,Q),j(4,O.Hy),j(5,V.lT),j(6,B.TG)],J),O.P0.registerCommand("_executeInlayHintProvider",(e,...t)=>q(void 0,void 0,void 0,function*(){let[i,n]=t;(0,c.p_)(g.o.isUri(i)),(0,c.p_)(_.e.isIRange(n));let{inlayHintsProvider:o}=e.get(y.p),r=yield e.get(S.S).createModelReference(i);try{let e=yield E.create(o,r.object.textEditorModel,[_.e.lift(n)],l.T.None),t=e.items.map(e=>e.hint);return setTimeout(()=>e.dispose(),0),t}finally{r.dispose()}}));var X=i(59365),ee=i(72042),et=i(41095),ei=i(22374),en=i(33108),eo=i(50988),er=i(63580),es=i(1432),ea=function(e,t){return function(i,n){t(i,n,e)}},el=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})},eh=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,i=e[Symbol.asyncIterator];return i?i.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(i){t[i]=e[i]&&function(t){return new Promise(function(n,o){!function(e,t,i,n){Promise.resolve(n).then(function(t){e({value:t,done:i})},t)}(n,o,(t=e[i](t)).done,t.value)})}}};class ed extends o.YM{constructor(e,t){super(10,t,e.item.anchor.range),this.part=e}}let eu=class extends ei.D5{constructor(e,t,i,n,o,r){super(e,t,i,n,r),this._resolverService=o,this.hoverOrdinal=6}suggestHoverAnchor(e){var t;let i=J.get(this._editor);if(!i||6!==e.target.type)return null;let n=null===(t=e.target.detail.injectedText)||void 0===t?void 0:t.options;return n instanceof b.HS&&n.attachedData instanceof Z?new ed(n.attachedData,this):null}computeSync(){return[]}computeAsync(e,t,i){return e instanceof ed?new a.Aq(t=>el(this,void 0,void 0,function*(){let n,o;let{part:r}=e;if(yield r.item.resolve(i),i.isCancellationRequested)return;if("string"==typeof r.item.hint.tooltip?n=new X.W5().appendText(r.item.hint.tooltip):r.item.hint.tooltip&&(n=r.item.hint.tooltip),n&&t.emitOne(new ei.hU(this,e.range,[n],0)),(0,s.Of)(r.item.hint.textEdits)&&t.emitOne(new ei.hU(this,e.range,[new X.W5().appendText((0,er.NC)("hint.dbl","Double click to insert"))],10001)),"string"==typeof r.part.tooltip?o=new X.W5().appendText(r.part.tooltip):r.part.tooltip&&(o=r.part.tooltip),o&&t.emitOne(new ei.hU(this,e.range,[o],1)),r.part.location||r.part.command){let i;let n="altKey"===this._editor.getOption(72),o=n?es.dz?(0,er.NC)("links.navigate.kb.meta.mac","cmd + click"):(0,er.NC)("links.navigate.kb.meta","ctrl + click"):es.dz?(0,er.NC)("links.navigate.kb.alt.mac","option + click"):(0,er.NC)("links.navigate.kb.alt","alt + click");if(r.part.location&&r.part.command)i=new X.W5().appendText((0,er.NC)("hint.defAndCommand","Go to Definition ({0}), right click for more",o));else if(r.part.location)i=new X.W5().appendText((0,er.NC)("hint.def","Go to Definition ({0})",o));else if(r.part.command){var a;i=new X.W5(`[${(0,er.NC)("hint.cmd","Execute Command")}](${(a=r.part.command,g.o.from({scheme:N.lg.command,path:a.id,query:a.arguments&&encodeURIComponent(JSON.stringify(a.arguments))}).toString())} "${r.part.command.title}") (${o})`,{isTrusted:!0})}i&&t.emitOne(new ei.hU(this,e.range,[i],1e4))}let l=yield this._resolveInlayHintLabelPartHover(r,i);try{for(var h,d,u,c=eh(l);!(u=yield c.next()).done;){let e=u.value;t.emitOne(e)}}catch(e){h={error:e}}finally{try{u&&!u.done&&(d=c.return)&&(yield d.call(c))}finally{if(h)throw h.error}}})):a.Aq.EMPTY}_resolveInlayHintLabelPartHover(e,t){return el(this,void 0,void 0,function*(){if(!e.part.location)return a.Aq.EMPTY;let{uri:i,range:n}=e.part.location,o=yield this._resolverService.createModelReference(i);try{let i=o.object.textEditorModel;if(!this._languageFeaturesService.hoverProvider.has(i))return a.Aq.EMPTY;return(0,et.R8)(this._languageFeaturesService.hoverProvider,i,new k.L(n.startLineNumber,n.startColumn),t).filter(e=>!(0,X.CP)(e.hover.contents)).map(t=>new ei.hU(this,e.item.anchor.range,t.hover.contents,2+t.ordinal))}finally{o.dispose()}})}};eu=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([ea(1,ee.O),ea(2,eo.v4),ea(3,en.Ui),ea(4,S.S),ea(5,y.p)],eu),(0,n._K)(J.ID,J),o.Ae.register(eu)},70448:function(e,t,i){"use strict";let n;var o,r,s,a=i(16830),l=i(29102),h=i(66520);let d="editor.action.inlineSuggest.commit";var u=i(4669),c=i(9917),g=i(97295),p=i(7988),m=i(50187),f=i(43155),_=i(15393),v=i(71050),C=i(17301),b=i(42549),w=i(69386),y=i(24314);class S{constructor(e){this.lineStartOffsetByLineIdx=[],this.lineStartOffsetByLineIdx.push(0);for(let t=0;t{let t=y.e.lift(e.range);return{startOffset:i.getOffset(t.getStartPosition()),endOffset:i.getOffset(t.getEndPosition()),text:e.text}});for(let t of(n.sort((e,t)=>t.startOffset-e.startOffset),n))e=e.substring(0,t.startOffset)+t.text+e.substring(t.endOffset);return e}(i,this.parts.map(e=>({range:{startLineNumber:1,endLineNumber:1,startColumn:e.column,endColumn:e.column},text:e.lines.join("\n")})));return n.substring(this.parts[0].column-1)}isEmpty(){return this.parts.every(e=>0===e.lines.length)}}class N{constructor(e,t,i){this.column=e,this.lines=t,this.preview=i}}class D{constructor(e,t,i,n,o=0){this.lineNumber=e,this.columnStart=t,this.length=i,this.newLines=n,this.additionalReservedLineCount=o,this.parts=[new N(this.columnStart+this.length,this.newLines,!1)]}renderForScreenReader(e){return this.newLines.join("\n")}}class x extends c.JT{constructor(e){super(),this.editor=e,this._expanded=void 0,this.onDidChangeEmitter=new u.Q5,this.onDidChange=this.onDidChangeEmitter.event,this._register(e.onDidChangeConfiguration(e=>{e.hasChanged(108)&&void 0===this._expanded&&this.onDidChangeEmitter.fire()}))}setExpanded(e){this._expanded=!0,this.onDidChangeEmitter.fire()}}var I=i(94565),E=i(22571);function T(e,t){if(!t)return t;let i=e.getValueInRange(t.range),n=g.Mh(i,t.insertText),o=e.getOffsetAt(t.range.getStartPosition())+n,r=e.getPositionAt(o),s=i.substr(n),a=g.P1(s,t.insertText),l=e.getPositionAt(Math.max(o,e.getOffsetAt(t.range.getEndPosition())-a));return{range:y.e.fromPositions(r,l),insertText:t.insertText.substr(n,t.insertText.length-n-a),snippetInfo:t.snippetInfo,filterText:t.filterText,additionalTextEdits:t.additionalTextEdits}}function M(e,t,i,o,r=0){if(e.range.startLineNumber!==e.range.endLineNumber)return;let s=t.getLineContent(e.range.startLineNumber),a=g.V8(s).length,l=e.range.startColumn-1<=a;if(l){let t=g.V8(e.insertText).length,i=s.substring(e.range.startColumn-1,a),n=y.e.fromPositions(e.range.getStartPosition().delta(0,i.length),e.range.getEndPosition()),o=e.insertText.startsWith(i)?e.insertText.substring(i.length):e.insertText.substring(t);e={range:n,insertText:o,command:e.command,snippetInfo:void 0,filterText:e.filterText,additionalTextEdits:e.additionalTextEdits}}let h=t.getValueInRange(e.range),d=function(e,t){if((null==n?void 0:n.originalValue)===e&&(null==n?void 0:n.newValue)===t)return null==n?void 0:n.changes;{let i=R(e,t,!0);if(i){let n=A(i);if(n>0){let o=R(e,t,!1);o&&A(o)0===e.originalLength);if(e.length>1||1===e.length&&e[0].originalStart!==h.length)return}let p=e.insertText.length-r;for(let t of d){let n=e.range.startColumn+t.originalStart+t.originalLength;if("subwordSmart"===i&&o&&o.lineNumber===e.range.startLineNumber&&n0)return;if(0===t.modifiedLength)continue;let r=t.modifiedStart+t.modifiedLength,s=Math.max(t.modifiedStart,Math.min(r,p)),a=e.insertText.substring(t.modifiedStart,s),l=e.insertText.substring(s,Math.max(t.modifiedStart,r));if(a.length>0){let e=g.uq(a);c.push(new N(n,e,!1))}if(l.length>0){let e=g.uq(l);c.push(new N(n,e,!0))}}return new k(u,c,0)}function A(e){let t=0;for(let i of e)t+=Math.max(i.originalLength-i.modifiedLength,0);return t}function R(e,t,i){if(e.length>5e3||t.length>5e3)return;function n(e){let t=0;for(let i=0,n=e.length;it&&(t=n)}return t}let o=Math.max(n(e),n(t));function r(e){if(e<0)throw Error("unexpected");return o+e+1}function s(e){let t=0,n=0,o=new Int32Array(e.length);for(let s=0,a=e.length;sa},{getElements:()=>l}).ComputeDiff(!1).changes}var O=i(4256),P=i(35382),F=i(45035),B=i(64837),V=i(61761),W=i(6735);class H{constructor(e){this.lines=e,this.tokenization={getLineTokens:e=>this.lines[e-1]}}getLineCount(){return this.lines.length}getLineLength(e){return this.lines[e-1].getLineContent().length}}var z=i(71922),K=i(88191),U=i(35084),$=i(98762),j=i(98401),q=i(75392),G=i(33108),Q=function(e,t){return function(i,n){t(i,n,e)}},Z=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let Y=class extends c.JT{constructor(e,t,i,n,o,r,s){super(),this.editor=e,this.cache=t,this.commandService=i,this.languageConfigurationService=n,this.languageFeaturesService=o,this.debounceService=r,this.onDidChangeEmitter=new u.Q5,this.onDidChange=this.onDidChangeEmitter.event,this.completionSession=this._register(new c.XK),this.active=!1,this.disposed=!1,this.debounceValue=this.debounceService.for(this.languageFeaturesService.inlineCompletionsProvider,"InlineCompletionsDebounce",{min:50,max:50}),this._register(i.onDidExecuteCommand(t=>{let i=new Set([b.wk.Tab.id,b.wk.DeleteLeft.id,b.wk.DeleteRight.id,d,"acceptSelectedSuggestion"]);i.has(t.commandId)&&e.hasTextFocus()&&this.handleUserInput()})),this._register(this.editor.onDidType(e=>{this.handleUserInput()})),this._register(this.editor.onDidChangeCursorPosition(e=>{(3===e.reason||this.session&&!this.session.isValid)&&this.hide()})),this._register((0,c.OF)(()=>{this.disposed=!0})),this._register(this.editor.onDidBlurEditorWidget(()=>{s.getValue("editor.inlineSuggest.hideOnBlur")||this.hide()}))}handleUserInput(){this.session&&!this.session.isValid&&this.hide(),setTimeout(()=>{this.disposed||this.startSessionIfTriggered()},0)}get session(){return this.completionSession.value}get ghostText(){var e;return null===(e=this.session)||void 0===e?void 0:e.ghostText}get minReservedLineCount(){return this.session?this.session.minReservedLineCount:0}setExpanded(e){var t;null===(t=this.session)||void 0===t||t.setExpanded(e)}setActive(e){var t;this.active=e,e&&(null===(t=this.session)||void 0===t||t.scheduleAutomaticUpdate())}startSessionIfTriggered(){let e=this.editor.getOption(57);!e.enabled||this.session&&this.session.isValid||this.trigger(f.bw.Automatic)}trigger(e){if(this.completionSession.value){e===f.bw.Explicit&&this.completionSession.value.ensureUpdateWithExplicitContext();return}this.completionSession.value=new J(this.editor,this.editor.getPosition(),()=>this.active,this.commandService,this.cache,e,this.languageConfigurationService,this.languageFeaturesService.inlineCompletionsProvider,this.debounceValue),this.completionSession.value.takeOwnership(this.completionSession.value.onDidChange(()=>{this.onDidChangeEmitter.fire()}))}hide(){this.completionSession.clear(),this.onDidChangeEmitter.fire()}commitCurrentSuggestion(){var e;null===(e=this.session)||void 0===e||e.commitCurrentCompletion()}showNext(){var e;null===(e=this.session)||void 0===e||e.showNextInlineCompletion()}showPrevious(){var e;null===(e=this.session)||void 0===e||e.showPreviousInlineCompletion()}hasMultipleInlineCompletions(){var e;return Z(this,void 0,void 0,function*(){let t=yield null===(e=this.session)||void 0===e?void 0:e.hasMultipleInlineCompletions();return void 0!==t&&t})}};Y=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([Q(2,I.Hy),Q(3,O.c_),Q(4,z.p),Q(5,K.A),Q(6,G.Ui)],Y);class J extends x{constructor(e,t,i,n,o,r,s,a,l){let h;super(e),this.triggerPosition=t,this.shouldUpdate=i,this.commandService=n,this.cache=o,this.initialTriggerKind=r,this.languageConfigurationService=s,this.registry=a,this.debounce=l,this.minReservedLineCount=0,this.updateOperation=this._register(new c.XK),this.updateSoon=this._register(new _.pY(()=>{let e=this.initialTriggerKind;return this.initialTriggerKind=f.bw.Automatic,this.update(e)},50)),this.filteredCompletions=[],this.currentlySelectedCompletionId=void 0,this._register(this.onDidChange(()=>{var e;let t=this.currentCompletion;if(t&&t.sourceInlineCompletion!==h){h=t.sourceInlineCompletion;let i=t.sourceProvider;null===(e=i.handleItemDidShow)||void 0===e||e.call(i,t.sourceInlineCompletions,h)}})),this._register((0,c.OF)(()=>{this.cache.clear()})),this._register(this.editor.onDidChangeCursorPosition(e=>{var t;3!==e.reason&&(null===(t=this.cache.value)||void 0===t||t.updateRanges(),this.cache.value&&(this.updateFilteredInlineCompletions(),this.onDidChangeEmitter.fire()))})),this._register(this.editor.onDidChangeModelContent(e=>{var t;null===(t=this.cache.value)||void 0===t||t.updateRanges(),this.updateFilteredInlineCompletions(),this.scheduleAutomaticUpdate()})),this._register(this.registry.onDidChange(()=>{this.updateSoon.schedule(this.debounce.get(this.editor.getModel()))})),this.scheduleAutomaticUpdate()}updateFilteredInlineCompletions(){if(!this.cache.value){this.filteredCompletions=[];return}let e=this.editor.getModel(),t=e.validatePosition(this.editor.getPosition());this.filteredCompletions=this.cache.value.completions.filter(i=>{let n=e.getValueInRange(i.synchronizedRange).toLowerCase(),o=i.inlineCompletion.filterText.toLowerCase(),r=e.getLineIndentColumn(i.synchronizedRange.startLineNumber),s=Math.max(0,t.column-i.synchronizedRange.startColumn),a=o.substring(0,s),l=o.substring(s),h=n.substring(0,s),d=n.substring(s);return i.synchronizedRange.startColumn<=r&&(0===(h=h.trimStart()).length&&(d=d.trimStart()),0===(a=a.trimStart()).length&&(l=l.trimStart())),a.startsWith(h)&&(0,q.Sy)(d,l)})}fixAndGetIndexOfCurrentSelection(){if(!this.currentlySelectedCompletionId||!this.cache.value||0===this.cache.value.completions.length)return 0;let e=this.filteredCompletions.findIndex(e=>e.semanticId===this.currentlySelectedCompletionId);return -1===e?(this.currentlySelectedCompletionId=void 0,0):e}get currentCachedCompletion(){if(this.cache.value)return this.filteredCompletions[this.fixAndGetIndexOfCurrentSelection()]}showNextInlineCompletion(){return Z(this,void 0,void 0,function*(){yield this.ensureUpdateWithExplicitContext();let e=this.filteredCompletions||[];if(e.length>0){let t=(this.fixAndGetIndexOfCurrentSelection()+1)%e.length;this.currentlySelectedCompletionId=e[t].semanticId}else this.currentlySelectedCompletionId=void 0;this.onDidChangeEmitter.fire()})}showPreviousInlineCompletion(){return Z(this,void 0,void 0,function*(){yield this.ensureUpdateWithExplicitContext();let e=this.filteredCompletions||[];if(e.length>0){let t=(this.fixAndGetIndexOfCurrentSelection()+e.length-1)%e.length;this.currentlySelectedCompletionId=e[t].semanticId}else this.currentlySelectedCompletionId=void 0;this.onDidChangeEmitter.fire()})}ensureUpdateWithExplicitContext(){var e;return Z(this,void 0,void 0,function*(){this.updateOperation.value?this.updateOperation.value.triggerKind===f.bw.Explicit?yield this.updateOperation.value.promise:yield this.update(f.bw.Explicit):(null===(e=this.cache.value)||void 0===e?void 0:e.triggerKind)!==f.bw.Explicit&&(yield this.update(f.bw.Explicit))})}hasMultipleInlineCompletions(){var e;return Z(this,void 0,void 0,function*(){return yield this.ensureUpdateWithExplicitContext(),((null===(e=this.cache.value)||void 0===e?void 0:e.completions.length)||0)>1})}get ghostText(){let e=this.currentCompletion;if(!e)return;let t=this.editor.getPosition();if(e.range.getEndPosition().isBefore(t))return;let i=this.editor.getOptions().get(57).mode,n=M(e,this.editor.getModel(),i,t);if(n){if(n.isEmpty())return;return n}return new D(e.range.startLineNumber,e.range.startColumn,e.range.endColumn-e.range.startColumn,e.insertText.split("\n"),0)}get currentCompletion(){let e=this.currentCachedCompletion;if(e)return e.toLiveInlineCompletion()}get isValid(){return this.editor.getPosition().lineNumber===this.triggerPosition.lineNumber}scheduleAutomaticUpdate(){this.updateOperation.clear(),this.updateSoon.schedule(this.debounce.get(this.editor.getModel()))}update(e){return Z(this,void 0,void 0,function*(){if(!this.shouldUpdate())return;let t=this.editor.getPosition(),i=new Date,n=(0,_.PG)(n=>Z(this,void 0,void 0,function*(){let o;try{o=yield ei(this.registry,t,this.editor.getModel(),{triggerKind:e,selectedSuggestionInfo:void 0},n,this.languageConfigurationService);let r=new Date;this.debounce.update(this.editor.getModel(),r.getTime()-i.getTime())}catch(e){(0,C.dL)(e);return}n.isCancellationRequested||(this.cache.setValue(this.editor,o,e),this.updateFilteredInlineCompletions(),this.onDidChangeEmitter.fire())})),o=new X(n,e);this.updateOperation.value=o,yield n,this.updateOperation.value===o&&this.updateOperation.clear()})}takeOwnership(e){this._register(e)}commitCurrentCompletion(){let e=this.ghostText;if(!e)return;let t=this.currentCompletion;t&&this.commit(t)}commit(e){var t;let i=this.cache.clearAndLeak();e.snippetInfo?(this.editor.executeEdits("inlineSuggestion.accept",[w.h.replaceMove(e.range,""),...e.additionalTextEdits]),this.editor.setPosition(e.snippetInfo.range.getStartPosition()),null===(t=$.f.get(this.editor))||void 0===t||t.insert(e.snippetInfo.snippet)):this.editor.executeEdits("inlineSuggestion.accept",[w.h.replaceMove(e.range,e.insertText),...e.additionalTextEdits]),e.command?this.commandService.executeCommand(e.command.id,...e.command.arguments||[]).finally(()=>{null==i||i.dispose()}).then(void 0,C.Cp):null==i||i.dispose(),this.onDidChangeEmitter.fire()}get commands(){var e;let t=new Set((null===(e=this.cache.value)||void 0===e?void 0:e.completions.map(e=>e.inlineCompletion.sourceInlineCompletions))||[]);return[...t].flatMap(e=>e.commands||[])}}class X{constructor(e,t){this.promise=e,this.triggerKind=t}dispose(){this.promise.cancel()}}class ee extends c.JT{constructor(e,t,i,n){super(),this.editor=t,this.onChange=i,this.triggerKind=n,this.isDisposing=!1;let o=t.changeDecorations(t=>t.deltaDecorations([],e.items.map(e=>({range:e.range,options:{description:"inline-completion-tracking-range"}}))));this._register((0,c.OF)(()=>{this.isDisposing=!0,t.removeDecorations(o)})),this.completions=e.items.map((e,t)=>new et(e,o[t])),this._register(t.onDidChangeModelContent(()=>{this.updateRanges()})),this._register(e)}updateRanges(){if(this.isDisposing)return;let e=!1,t=this.editor.getModel();for(let i of this.completions){let n=t.getDecorationRange(i.decorationId);if(!n){(0,C.dL)(Error("Decoration has no range"));continue}i.synchronizedRange.equalsRange(n)||(e=!0,i.synchronizedRange=n)}e&&this.onChange()}}class et{constructor(e,t){this.inlineCompletion=e,this.decorationId=t,this.semanticId=JSON.stringify({text:this.inlineCompletion.insertText,abbreviation:this.inlineCompletion.filterText,startLine:this.inlineCompletion.range.startLineNumber,startColumn:this.inlineCompletion.range.startColumn,command:this.inlineCompletion.command}),this.synchronizedRange=e.range}toLiveInlineCompletion(){return{insertText:this.inlineCompletion.insertText,range:this.synchronizedRange,command:this.inlineCompletion.command,sourceProvider:this.inlineCompletion.sourceProvider,sourceInlineCompletions:this.inlineCompletion.sourceInlineCompletions,sourceInlineCompletion:this.inlineCompletion.sourceInlineCompletion,snippetInfo:this.inlineCompletion.snippetInfo,filterText:this.inlineCompletion.filterText,additionalTextEdits:this.inlineCompletion.additionalTextEdits}}}function ei(e,t,i,n,o=v.T.None,r){return Z(this,void 0,void 0,function*(){let s=function(e,t){let i=t.getWordAtPosition(e),n=t.getLineMaxColumn(e.lineNumber);return i?new y.e(e.lineNumber,i.startColumn,e.lineNumber,n):y.e.fromPositions(e,e.with(void 0,n))}(t,i),a=e.all(i),l=yield Promise.all(a.map(e=>Z(this,void 0,void 0,function*(){let r=yield Promise.resolve(e.provideInlineCompletions(i,t,n,o)).catch(C.Cp);return{completions:r,provider:e,dispose:()=>{r&&e.freeInlineCompletions(r)}}}))),h=new Map;for(let e of l){let t=e.completions;if(t)for(let n of t.items){let o,a,l=n.range?y.e.lift(n.range):s;if(l.startLineNumber!==l.endLineNumber)continue;if("string"==typeof n.insertText){if(o=n.insertText,r&&n.completeBracketPairs){o=function(e,t,i,n){let o=i.getLineContent(t.lineNumber).substring(0,t.column-1),r=o+e,s=i.tokenization.tokenizeLineWithEdit(t,r.length-(t.column-1),e),a=null==s?void 0:s.sliceAndInflate(t.column-1,r.length,0);if(!a)return e;let l=function(e,t){let i=new V.FE,n=new P.Z(i,e=>t.getLanguageConfiguration(e)),o=new W.xH(new H([e]),n),r=(0,B.w)(o,[],void 0,!0),s="",a=e.getLineContent();return!function e(t,i){if(2===t.kind){if(e(t.openingBracket,i),i=(0,F.Ii)(i,t.openingBracket.length),t.child&&(e(t.child,i),i=(0,F.Ii)(i,t.child.length)),t.closingBracket)e(t.closingBracket,i),i=(0,F.Ii)(i,t.closingBracket.length);else{let e=n.getSingleLanguageBracketTokens(t.openingBracket.languageId),i=e.findClosingTokenText(t.openingBracket.bracketIds);s+=i}}else if(3===t.kind);else if(0===t.kind||1===t.kind)s+=a.substring((0,F.F_)(i),(0,F.F_)((0,F.Ii)(i,t.length)));else if(4===t.kind)for(let n of t.children)e(n,i),i=(0,F.Ii)(i,n.length)}(r,F.xl),s}(a,n);return l}(o,l.getStartPosition(),i,r);let e=o.length-n.insertText.length;0!==e&&(l=new y.e(l.startLineNumber,l.startColumn,l.endLineNumber,l.endColumn+e))}a=void 0}else if("snippet"in n.insertText){let e=new U.Yj().parse(n.insertText.snippet);o=e.toString(),a={snippet:n.insertText.snippet,range:l}}else(0,j.vE)(n.insertText);let d={insertText:o,snippetInfo:a,range:l,command:n.command,sourceProvider:e.provider,sourceInlineCompletions:t,sourceInlineCompletion:n,filterText:n.filterText||o,additionalTextEdits:n.additionalTextEdits||L};h.set(JSON.stringify({insertText:o,range:n.range}),d)}}return{items:[...h.values()],dispose:()=>{for(let e of l)e.dispose()}}})}var en=i(9488),eo=i(7307),er=i(76092);class es extends c.JT{constructor(e,t){super(),this.editor=e,this.suggestControllerPreselector=t,this.isSuggestWidgetVisible=!1,this.isShiftKeyPressed=!1,this._isActive=!1,this._currentSuggestItemInfo=void 0,this.onDidChangeEmitter=new u.Q5,this.onDidChange=this.onDidChangeEmitter.event,this.setInactiveDelayed=this._register(new _.pY(()=>{!this.isSuggestWidgetVisible&&this._isActive&&(this._isActive=!1,this.onDidChangeEmitter.fire())},100)),this._register(e.onKeyDown(e=>{e.shiftKey&&!this.isShiftKeyPressed&&(this.isShiftKeyPressed=!0,this.update(this._isActive))})),this._register(e.onKeyUp(e=>{e.shiftKey&&this.isShiftKeyPressed&&(this.isShiftKeyPressed=!1,this.update(this._isActive))}));let i=er.n.get(this.editor);if(i){this._register(i.registerSelector({priority:100,select:(e,t,n)=>{let o=this.editor.getModel(),r=T(o,this.suggestControllerPreselector());if(!r)return -1;let s=m.L.lift(t),a=n.map((e,t)=>{var n,a;let l=ea(i,s,e,this.isShiftKeyPressed),h=T(o,null==l?void 0:l.normalizedInlineCompletion);if(!h)return;let d=(n=r.range,(a=h.range).startLineNumber===n.startLineNumber&&a.startColumn===n.startColumn&&(a.endLineNumbere&&e.valid),l=(0,en.Dc)(a,(0,en.tT)(e=>e.prefixLength,en.fv));return l?l.index:-1}}));let e=!1,t=()=>{e||(e=!0,this._register(i.widget.value.onDidShow(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})),this._register(i.widget.value.onDidHide(()=>{this.isSuggestWidgetVisible=!1,this.setInactiveDelayed.schedule(),this.update(this._isActive)})),this._register(i.widget.value.onDidFocus(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})))};this._register(u.ju.once(i.model.onDidTrigger)(e=>{t()}))}this.update(this._isActive)}get state(){if(this._isActive)return{selectedItem:this._currentSuggestItemInfo}}update(e){var t,i,n;let o=this.getSuggestItemInfo(),r=!1;(t=this._currentSuggestItemInfo)===o||t&&o&&t.completionItemKind===o.completionItemKind&&t.isSnippetText===o.isSnippetText&&((i=t.normalizedInlineCompletion)===(n=o.normalizedInlineCompletion)||i&&n&&i.range.equalsRange(n.range)&&i.insertText===n.insertText&&i.command===n.command)||(this._currentSuggestItemInfo=o,r=!0),this._isActive!==e&&(this._isActive=e,r=!0),r&&this.onDidChangeEmitter.fire()}getSuggestItemInfo(){let e=er.n.get(this.editor);if(!e||!this.isSuggestWidgetVisible)return;let t=e.widget.value.getFocusedItem();if(t)return ea(e,this.editor.getPosition(),t.item,this.isShiftKeyPressed)}stopForceRenderingAbove(){let e=er.n.get(this.editor);e&&e.stopForceRenderingAbove()}forceRenderingAbove(){let e=er.n.get(this.editor);e&&e.forceRenderingAbove()}}function ea(e,t,i,n){if(Array.isArray(i.completion.additionalTextEdits)&&i.completion.additionalTextEdits.length>0)return{completionItemKind:i.completion.kind,isSnippetText:!1,normalizedInlineCompletion:{range:y.e.fromPositions(t,t),insertText:"",filterText:"",snippetInfo:void 0,additionalTextEdits:[]}};let{insertText:o}=i.completion,r=!1;if(4&i.completion.insertTextRules){let i=new U.Yj().parse(o),n=e.editor.getModel();if(i.children.length>100)return;eo.l.adjustWhitespace(n,t,i,!0,!0),o=i.toString(),r=!0}let s=e.getOverwriteInfo(i,n);return{isSnippetText:r,completionItemKind:i.completion.kind,normalizedInlineCompletion:{insertText:o,filterText:o,range:y.e.fromPositions(t.delta(0,-s.overwriteBefore),t.delta(0,Math.max(s.overwriteAfter,0))),snippetInfo:void 0,additionalTextEdits:[]}}}var el=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let eh=class extends x{constructor(e,t,i){super(e),this.cache=t,this.languageFeaturesService=i,this.suggestionInlineCompletionSource=this._register(new es(this.editor,()=>{var e,t;return null===(t=null===(e=this.cache.value)||void 0===e?void 0:e.completions[0])||void 0===t?void 0:t.toLiveInlineCompletion()})),this.updateOperation=this._register(new c.XK),this.updateCacheSoon=this._register(new _.pY(()=>this.updateCache(),50)),this.minReservedLineCount=0,this._register(this.suggestionInlineCompletionSource.onDidChange(()=>{if(!this.editor.hasModel())return;this.updateCacheSoon.schedule();let e=this.suggestionInlineCompletionSource.state;e||(this.minReservedLineCount=0);let t=this.ghostText;t&&(this.minReservedLineCount=Math.max(this.minReservedLineCount,t.parts.map(e=>e.lines.length-1).reduce((e,t)=>e+t,0))),this.minReservedLineCount>=1?this.suggestionInlineCompletionSource.forceRenderingAbove():this.suggestionInlineCompletionSource.stopForceRenderingAbove(),this.onDidChangeEmitter.fire()})),this._register(this.cache.onDidChange(()=>{this.onDidChangeEmitter.fire()})),this._register(this.editor.onDidChangeCursorPosition(e=>{this.minReservedLineCount=0,this.updateCacheSoon.schedule(),this.onDidChangeEmitter.fire()})),this._register((0,c.OF)(()=>this.suggestionInlineCompletionSource.stopForceRenderingAbove()))}get isActive(){return void 0!==this.suggestionInlineCompletionSource.state}isSuggestionPreviewEnabled(){let e=this.editor.getOption(108);return e.preview}updateCache(){return el(this,void 0,void 0,function*(){let e=this.suggestionInlineCompletionSource.state;if(!e||!e.selectedItem)return;let t={text:e.selectedItem.normalizedInlineCompletion.insertText,range:e.selectedItem.normalizedInlineCompletion.range,isSnippetText:e.selectedItem.isSnippetText,completionKind:e.selectedItem.completionItemKind},i=this.editor.getPosition();if(e.selectedItem.isSnippetText||27===e.selectedItem.completionItemKind||20===e.selectedItem.completionItemKind||23===e.selectedItem.completionItemKind){this.cache.clear();return}let n=(0,_.PG)(e=>el(this,void 0,void 0,function*(){let n;try{n=yield ei(this.languageFeaturesService.inlineCompletionsProvider,i,this.editor.getModel(),{triggerKind:f.bw.Automatic,selectedSuggestionInfo:t},e)}catch(e){(0,C.dL)(e);return}if(e.isCancellationRequested){n.dispose();return}this.cache.setValue(this.editor,n,f.bw.Automatic),this.onDidChangeEmitter.fire()})),o=new X(n,f.bw.Automatic);this.updateOperation.value=o,yield n,this.updateOperation.value===o&&this.updateOperation.clear()})}get ghostText(){var e,t,i;let n=this.isSuggestionPreviewEnabled(),o=this.editor.getModel(),r=T(o,null===(t=null===(e=this.cache.value)||void 0===e?void 0:e.completions[0])||void 0===t?void 0:t.toLiveInlineCompletion()),s=this.suggestionInlineCompletionSource.state,a=T(o,null===(i=null==s?void 0:s.selectedItem)||void 0===i?void 0:i.normalizedInlineCompletion),l=r&&a&&r.insertText.startsWith(a.insertText)&&r.range.equalsRange(a.range);if(!n&&!l)return;let h=l?r:a||r,d=l?h.insertText.length-a.insertText.length:0,u=this.toGhostText(h,d);return u}toGhostText(e,t){let i=this.editor.getOptions().get(108).previewMode;return e?M(e,this.editor.getModel(),i,this.editor.getPosition(),t)||new k(e.range.endLineNumber,[],this.minReservedLineCount):void 0}};eh=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(o=z.p,function(e,t){o(e,t,2)})],eh);var ed=i(72065);class eu extends c.JT{constructor(){super(...arguments),this.onDidChangeEmitter=new u.Q5,this.onDidChange=this.onDidChangeEmitter.event,this.hasCachedGhostText=!1,this.currentModelRef=this._register(new c.XK)}get targetModel(){var e;return null===(e=this.currentModelRef.value)||void 0===e?void 0:e.object}setTargetModel(e){var t,i;(null===(t=this.currentModelRef.value)||void 0===t?void 0:t.object)!==e&&(this.currentModelRef.clear(),this.currentModelRef.value=e?(i=e.onDidChange(()=>{this.hasCachedGhostText=!1,this.onDidChangeEmitter.fire()}),{object:e,dispose:()=>null==i?void 0:i.dispose()}):void 0,this.hasCachedGhostText=!1,this.onDidChangeEmitter.fire())}get ghostText(){var e,t;return this.hasCachedGhostText||(this.cachedGhostText=null===(t=null===(e=this.currentModelRef.value)||void 0===e?void 0:e.object)||void 0===t?void 0:t.ghostText,this.hasCachedGhostText=!0),this.cachedGhostText}setExpanded(e){var t;null===(t=this.targetModel)||void 0===t||t.setExpanded(e)}get minReservedLineCount(){return this.targetModel?this.targetModel.minReservedLineCount:0}}let ec=class extends eu{constructor(e,t){super(),this.editor=e,this.instantiationService=t,this.sharedCache=this._register(new eg),this.suggestWidgetAdapterModel=this._register(this.instantiationService.createInstance(eh,this.editor,this.sharedCache)),this.inlineCompletionsModel=this._register(this.instantiationService.createInstance(Y,this.editor,this.sharedCache)),this._register(this.suggestWidgetAdapterModel.onDidChange(()=>{this.updateModel()})),this.updateModel()}get activeInlineCompletionsModel(){if(this.targetModel===this.inlineCompletionsModel)return this.inlineCompletionsModel}updateModel(){this.setTargetModel(this.suggestWidgetAdapterModel.isActive?this.suggestWidgetAdapterModel:this.inlineCompletionsModel),this.inlineCompletionsModel.setActive(this.targetModel===this.inlineCompletionsModel)}shouldShowHoverAt(e){var t;let i=null===(t=this.activeInlineCompletionsModel)||void 0===t?void 0:t.ghostText;return!!i&&i.parts.some(t=>e.containsPosition(new m.L(i.lineNumber,t.column)))}triggerInlineCompletion(){var e;null===(e=this.activeInlineCompletionsModel)||void 0===e||e.trigger(f.bw.Explicit)}commitInlineCompletion(){var e;null===(e=this.activeInlineCompletionsModel)||void 0===e||e.commitCurrentSuggestion()}hideInlineCompletion(){var e;null===(e=this.activeInlineCompletionsModel)||void 0===e||e.hide()}showNextInlineCompletion(){var e;null===(e=this.activeInlineCompletionsModel)||void 0===e||e.showNext()}showPreviousInlineCompletion(){var e;null===(e=this.activeInlineCompletionsModel)||void 0===e||e.showPrevious()}hasMultipleInlineCompletions(){var e,t,i,n,o;return t=this,i=void 0,n=void 0,o=function*(){let t=yield null===(e=this.activeInlineCompletionsModel)||void 0===e?void 0:e.hasMultipleInlineCompletions();return void 0!==t&&t},new(n||(n=Promise))(function(e,r){function s(e){try{l(o.next(e))}catch(e){r(e)}}function a(e){try{l(o.throw(e))}catch(e){r(e)}}function l(t){var i;t.done?e(t.value):((i=t.value)instanceof n?i:new n(function(e){e(i)})).then(s,a)}l((o=o.apply(t,i||[])).next())})}};ec=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(r=ed.TG,function(e,t){r(e,t,1)})],ec);class eg extends c.JT{constructor(){super(...arguments),this.onDidChangeEmitter=new u.Q5,this.onDidChange=this.onDidChangeEmitter.event,this.cache=this._register(new c.XK)}get value(){return this.cache.value}setValue(e,t,i){this.cache.value=new ee(t,e,()=>this.onDidChangeEmitter.fire(),i)}clearAndLeak(){return this.cache.clearAndLeak()}clear(){this.cache.clear()}}var ep=i(65321);i(69409);var em=i(52136),ef=i(64141),e_=i(77378),ev=i(50072),eC=i(84973),eb=i(72042),ew=i(51945),ey=i(92550),eS=i(72202),eL=i(97781),ek=function(e,t){return function(i,n){t(i,n,e)}};let eN=null===(s=window.trustedTypes)||void 0===s?void 0:s.createPolicy("editorGhostText",{createHTML:e=>e}),eD=class extends c.JT{constructor(e,t,i,n){super(),this.editor=e,this.model=t,this.instantiationService=i,this.languageService=n,this.disposed=!1,this.partsWidget=this._register(this.instantiationService.createInstance(eI,this.editor)),this.additionalLinesWidget=this._register(new eE(this.editor,this.languageService.languageIdCodec)),this.viewMoreContentWidget=void 0,this.replacementDecoration=this._register(new ex(this.editor)),this._register(this.editor.onDidChangeConfiguration(e=>{(e.hasChanged(29)||e.hasChanged(107)||e.hasChanged(90)||e.hasChanged(85)||e.hasChanged(47)||e.hasChanged(46)||e.hasChanged(61))&&this.update()})),this._register((0,c.OF)(()=>{var e;this.disposed=!0,this.update(),null===(e=this.viewMoreContentWidget)||void 0===e||e.dispose(),this.viewMoreContentWidget=void 0})),this._register(t.onDidChange(()=>{this.update()})),this.update()}shouldShowHoverAtViewZone(e){return this.additionalLinesWidget.viewZoneId===e}update(){var e;let t;let i=this.model.ghostText;if(!this.editor.hasModel()||!i||this.disposed){this.partsWidget.clear(),this.additionalLinesWidget.clear(),this.replacementDecoration.clear();return}let n=[],o=[];function r(e,t){if(o.length>0){let i=o[o.length-1];t&&i.decorations.push(new ey.Kp(i.content.length+1,i.content.length+1+e[0].length,t,0)),i.content+=e[0],e=e.slice(1)}for(let i of e)o.push({content:i,decorations:t?[new ey.Kp(1,i.length+1,t,0)]:[]})}i instanceof D?this.replacementDecoration.setDecorations([{range:new y.e(i.lineNumber,i.columnStart,i.lineNumber,i.columnStart+i.length),options:{inlineClassName:"inline-completion-text-to-replace",description:"GhostTextReplacement"}}]):this.replacementDecoration.setDecorations([]);let s=this.editor.getModel().getLineContent(i.lineNumber),a=0;for(let e of i.parts){let i=e.lines;void 0===t?(n.push({column:e.column,text:i[0],preview:e.preview}),i=i.slice(1)):r([s.substring(a,e.column-1)],void 0),i.length>0&&(r(i,"ghost-text"),void 0===t&&e.column<=s.length&&(t=e.column)),a=e.column-1}void 0!==t&&r([s.substring(a)],void 0),this.partsWidget.setParts(i.lineNumber,n,void 0!==t?{column:t,length:s.length+1-t}:void 0),this.additionalLinesWidget.updateLines(i.lineNumber,o,i.additionalReservedLineCount),null===(e=this.viewMoreContentWidget)||void 0===e||e.dispose(),this.viewMoreContentWidget=void 0}renderViewMoreLines(e,t,i){let n=this.editor.getOption(46),o=document.createElement("div");o.className="suggest-preview-additional-widget",(0,em.N)(o,n);let r=document.createElement("span");r.className="content-spacer",r.append(t),o.append(r);let s=document.createElement("span");s.className="content-newline suggest-preview-text",s.append("⏎ "),o.append(s);let a=new c.SL,l=document.createElement("div");return l.className="button suggest-preview-text",l.append(`+${i} lines…`),a.add(ep.mu(l,"mousedown",e=>{var t;null===(t=this.model)||void 0===t||t.setExpanded(!0),e.preventDefault(),this.editor.focus()})),o.append(l),new eT(this.editor,e,o,a)}};eD=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([ek(2,ed.TG),ek(3,eb.O)],eD);class ex{constructor(e){this.editor=e,this.decorationIds=[]}setDecorations(e){this.editor.changeDecorations(t=>{this.decorationIds=t.deltaDecorations(this.decorationIds,e)})}clear(){this.setDecorations([])}dispose(){this.clear()}}class eI{constructor(e){this.editor=e,this.decorationIds=[]}dispose(){this.clear()}clear(){this.editor.changeDecorations(e=>{this.decorationIds=e.deltaDecorations(this.decorationIds,[])})}setParts(e,t,i){let n=this.editor.getModel();if(!n)return;let o=[];i&&o.push({range:y.e.fromPositions(new m.L(e,i.column),new m.L(e,i.column+i.length)),options:{inlineClassName:"ghost-text-hidden",description:"ghost-text-hidden"}}),this.editor.changeDecorations(i=>{this.decorationIds=i.deltaDecorations(this.decorationIds,t.map(t=>({range:y.e.fromPositions(new m.L(e,t.column)),options:{description:"ghost-text",after:{content:t.text,inlineClassName:t.preview?"ghost-text-decoration-preview":"ghost-text-decoration",cursorStops:eC.RM.Left},showIfCollapsed:!0}})).concat(o))})}}class eE{constructor(e,t){this.editor=e,this.languageIdCodec=t,this._viewZoneId=void 0}get viewZoneId(){return this._viewZoneId}dispose(){this.clear()}clear(){this.editor.changeViewZones(e=>{this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0)})}updateLines(e,t,i){let n=this.editor.getModel();if(!n)return;let{tabSize:o}=n.getOptions();this.editor.changeViewZones(n=>{this._viewZoneId&&(n.removeZone(this._viewZoneId),this._viewZoneId=void 0);let r=Math.max(t.length,i);if(r>0){let i=document.createElement("div");(function(e,t,i,n,o){let r=n.get(29),s=n.get(107),a=n.get(85),l=n.get(47),h=n.get(46),d=n.get(61),u=(0,ev.l$)(1e4);u.appendASCIIString('
    ');for(let e=0,n=i.length;e');let p=g.$i(c),m=g.Ut(c),f=e_.A.createEmpty(c,o);(0,eS.d1)(new eS.IJ(h.isMonospace&&!r,h.canUseHalfwidthRightwardsArrow,c,!1,p,m,0,f,n.decorations,t,0,h.spaceWidth,h.middotWidth,h.wsmiddotWidth,s,"none",a,l!==ef.n0.OFF,null),u),u.appendASCIIString("
    ")}u.appendASCIIString(""),(0,em.N)(e,h);let c=u.build(),p=eN?eN.createHTML(c):c;e.innerHTML=p})(i,o,t,this.editor.getOptions(),this.languageIdCodec),this._viewZoneId=n.addZone({afterLineNumber:e,heightInLines:r,domNode:i,afterColumnAffinity:1})}})}}class eT extends c.JT{constructor(e,t,i,n){super(),this.editor=e,this.position=t,this.domNode=i,this.allowEditorOverflow=!1,this.suppressMouseDown=!1,this._register(n),this._register((0,c.OF)(()=>{this.editor.removeContentWidget(this)})),this.editor.addContentWidget(this)}getId(){return"editor.widget.viewMoreLinesWidget"}getDomNode(){return this.domNode}getPosition(){return{position:this.position,preference:[0]}}}(0,eL.Ic)((e,t)=>{let i=e.getColor(ew.N5);i&&(t.addRule(`.monaco-editor .ghost-text-decoration { color: ${i.toString()} !important; }`),t.addRule(`.monaco-editor .ghost-text-decoration-preview { color: ${i.toString()} !important; }`),t.addRule(`.monaco-editor .suggest-preview-text .ghost-text { color: ${i.toString()} !important; }`));let n=e.getColor(ew.IO);n&&(t.addRule(`.monaco-editor .ghost-text-decoration { background-color: ${n.toString()}; }`),t.addRule(`.monaco-editor .ghost-text-decoration-preview { background-color: ${n.toString()}; }`),t.addRule(`.monaco-editor .suggest-preview-text .ghost-text { background-color: ${n.toString()}; }`));let o=e.getColor(ew.x3);o&&(t.addRule(`.monaco-editor .suggest-preview-text .ghost-text { border: 1px solid ${o}; }`),t.addRule(`.monaco-editor .ghost-text-decoration { border: 1px solid ${o}; }`),t.addRule(`.monaco-editor .ghost-text-decoration-preview { border: 1px solid ${o}; }`))});var eM=i(63580),eA=i(38819),eR=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},eO=function(e,t){return function(i,n){t(i,n,e)}},eP=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let eF=class e extends c.JT{constructor(e,t){super(),this.editor=e,this.instantiationService=t,this.triggeredExplicitly=!1,this.activeController=this._register(new c.XK),this.activeModelDidChangeEmitter=this._register(new u.Q5),this._register(this.editor.onDidChangeModel(()=>{this.updateModelController()})),this._register(this.editor.onDidChangeConfiguration(e=>{e.hasChanged(108)&&this.updateModelController(),e.hasChanged(57)&&this.updateModelController()})),this.updateModelController()}static get(t){return t.getContribution(e.ID)}get activeModel(){var e;return null===(e=this.activeController.value)||void 0===e?void 0:e.model}updateModelController(){let e=this.editor.getOption(108),t=this.editor.getOption(57);this.activeController.value=void 0,this.activeController.value=this.editor.hasModel()&&(e.preview||t.enabled||this.triggeredExplicitly)?this.instantiationService.createInstance(eV,this.editor):void 0,this.activeModelDidChangeEmitter.fire()}shouldShowHoverAt(e){var t;return(null===(t=this.activeModel)||void 0===t?void 0:t.shouldShowHoverAt(e))||!1}shouldShowHoverAtViewZone(e){var t,i;return(null===(i=null===(t=this.activeController.value)||void 0===t?void 0:t.widget)||void 0===i?void 0:i.shouldShowHoverAtViewZone(e))||!1}trigger(){var e;this.triggeredExplicitly=!0,this.activeController.value||this.updateModelController(),null===(e=this.activeModel)||void 0===e||e.triggerInlineCompletion()}commit(){var e;null===(e=this.activeModel)||void 0===e||e.commitInlineCompletion()}hide(){var e;null===(e=this.activeModel)||void 0===e||e.hideInlineCompletion()}showNextInlineCompletion(){var e;null===(e=this.activeModel)||void 0===e||e.showNextInlineCompletion()}showPreviousInlineCompletion(){var e;null===(e=this.activeModel)||void 0===e||e.showPreviousInlineCompletion()}hasMultipleInlineCompletions(){var e;return eP(this,void 0,void 0,function*(){let t=yield null===(e=this.activeModel)||void 0===e?void 0:e.hasMultipleInlineCompletions();return void 0!==t&&t})}};eF.inlineSuggestionVisible=new eA.uy("inlineSuggestionVisible",!1,eM.NC("inlineSuggestionVisible","Whether an inline suggestion is visible")),eF.inlineSuggestionHasIndentation=new eA.uy("inlineSuggestionHasIndentation",!1,eM.NC("inlineSuggestionHasIndentation","Whether the inline suggestion starts with whitespace")),eF.inlineSuggestionHasIndentationLessThanTabSize=new eA.uy("inlineSuggestionHasIndentationLessThanTabSize",!0,eM.NC("inlineSuggestionHasIndentationLessThanTabSize","Whether the inline suggestion starts with whitespace that is less than what would be inserted by tab")),eF.ID="editor.contrib.ghostTextController",eF=eR([eO(1,ed.TG)],eF);class eB{constructor(e){this.contextKeyService=e,this.inlineCompletionVisible=eF.inlineSuggestionVisible.bindTo(this.contextKeyService),this.inlineCompletionSuggestsIndentation=eF.inlineSuggestionHasIndentation.bindTo(this.contextKeyService),this.inlineCompletionSuggestsIndentationLessThanTabSize=eF.inlineSuggestionHasIndentationLessThanTabSize.bindTo(this.contextKeyService)}}let eV=class extends c.JT{constructor(e,t,i){super(),this.editor=e,this.instantiationService=t,this.contextKeyService=i,this.contextKeys=new eB(this.contextKeyService),this.model=this._register(this.instantiationService.createInstance(ec,this.editor)),this.widget=this._register(this.instantiationService.createInstance(eD,this.editor,this.model)),this._register((0,c.OF)(()=>{this.contextKeys.inlineCompletionVisible.set(!1),this.contextKeys.inlineCompletionSuggestsIndentation.set(!1),this.contextKeys.inlineCompletionSuggestsIndentationLessThanTabSize.set(!0)})),this._register(this.model.onDidChange(()=>{this.updateContextKeys()})),this.updateContextKeys()}updateContextKeys(){var e;this.contextKeys.inlineCompletionVisible.set((null===(e=this.model.activeInlineCompletionsModel)||void 0===e?void 0:e.ghostText)!==void 0);let t=!1,i=!0,n=this.model.inlineCompletionsModel.ghostText;if(this.model.activeInlineCompletionsModel&&n&&n.parts.length>0){let{column:e,lines:o}=n.parts[0],r=o[0],s=this.editor.getModel().getLineIndentColumn(n.lineNumber);if(e<=s){let e=(0,g.LC)(r);-1===e&&(e=r.length-1),t=e>0;let n=this.editor.getModel().getOptions().tabSize,o=p.i.visibleColumnFromColumn(r,e+1,n);i=o=e.range.endColumn}hasMultipleSuggestions(){return this.controller.hasMultipleInlineCompletions()}get commands(){var e,t,i;return(null===(i=null===(t=null===(e=this.controller.activeModel)||void 0===e?void 0:e.activeInlineCompletionsModel)||void 0===t?void 0:t.completionSession.value)||void 0===i?void 0:i.commands)||[]}}let eZ=class{constructor(e,t,i,n,o,r,s){this._editor=e,this._commandService=t,this._menuService=i,this._contextKeyService=n,this._languageService=o,this._openerService=r,this.accessibilityService=s,this.hoverOrdinal=3}suggestHoverAnchor(e){let t=eF.get(this._editor);if(!t)return null;let i=e.target;if(8===i.type){let e=i.detail;if(t.shouldShowHoverAtViewZone(e.viewZoneId))return new h.YM(1e3,this,y.e.fromPositions(e.positionBefore||e.position,e.positionBefore||e.position))}if(7===i.type&&t.shouldShowHoverAt(i.range))return new h.YM(1e3,this,i.range);if(6===i.type){let e=i.detail.mightBeForeignElement;if(e&&t.shouldShowHoverAt(i.range))return new h.YM(1e3,this,i.range)}return null}computeSync(e,t){let i=eF.get(this._editor);return i&&i.shouldShowHoverAt(e.range)?[new eQ(this,e.range,i)]:[]}renderHoverParts(e,t){let i=new c.SL,n=t[0];this.accessibilityService.isScreenReaderOptimized()&&this.renderScreenReaderText(e,n,i);let o=i.add(this._menuService.createMenu(ej.eH.InlineCompletionsActions,this._contextKeyService)),r=e.statusBar.addAction({label:eM.NC("showNextInlineSuggestion","Next"),commandId:eW.ID,run:()=>this._commandService.executeCommand(eW.ID)}),s=e.statusBar.addAction({label:eM.NC("showPreviousInlineSuggestion","Previous"),commandId:eH.ID,run:()=>this._commandService.executeCommand(eH.ID)});e.statusBar.addAction({label:eM.NC("acceptInlineSuggestion","Accept"),commandId:d,run:()=>this._commandService.executeCommand(d)});let a=[r,s];for(let e of a)e.setEnabled(!1);for(let t of(n.hasMultipleSuggestions().then(e=>{for(let t of a)t.setEnabled(e)}),n.commands))e.statusBar.addAction({label:t.title,commandId:t.id,run:()=>this._commandService.executeCommand(t.id,...t.arguments||[])});for(let[t,i]of o.getActions())for(let t of i)t instanceof ej.U8&&e.statusBar.addAction({label:t.label,commandId:t.item.id,run:()=>this._commandService.executeCommand(t.item.id)});return i}renderScreenReaderText(e,t,i){var n,o;let r=ep.$,s=r("div.hover-row.markdown-hover"),a=ep.R3(s,r("div.hover-contents")),l=i.add(new eU.$({editor:this._editor},this._languageService,this._openerService)),h=null===(o=null===(n=t.controller.activeModel)||void 0===n?void 0:n.inlineCompletionsModel)||void 0===o?void 0:o.ghostText;if(h){let t=this._editor.getModel().getLineContent(h.lineNumber);(t=>{i.add(l.onDidRenderAsync(()=>{a.className="hover-contents code-hover-contents",e.onContentsChanged()}));let n=eM.NC("inlineSuggestionFollows","Suggestion:"),o=i.add(l.render(new eK.W5().appendText(n).appendCodeblock("text",t)));a.replaceChildren(o.element)})(h.renderForScreenReader(t))}e.fragment.appendChild(s)}};eZ=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([eG(1,I.Hy),eG(2,ej.co),eG(3,eA.i6),eG(4,eb.O),eG(5,eq.v4),eG(6,e$.F)],eZ);var eY=i(49989);(0,a._K)(eF.ID,eF),(0,a.Qr)(ez),(0,a.Qr)(eW),(0,a.Qr)(eH),h.Ae.register(eZ);let eJ=a._l.bindToContribution(eF.get),eX=new eJ({id:d,precondition:eF.inlineSuggestionVisible,handler(e){e.commit(),e.editor.focus()}});(0,a.fK)(eX),eY.W.registerKeybindingRule({primary:2,weight:200,id:eX.id,when:eA.Ao.and(eX.precondition,l.u.tabMovesFocus.toNegated(),eF.inlineSuggestionHasIndentationLessThanTabSize)}),(0,a.fK)(new eJ({id:"editor.action.inlineSuggest.hide",precondition:eF.inlineSuggestionVisible,kbOpts:{weight:100,primary:9},handler(e){e.hide()}}))},97615:function(e,t,i){"use strict";var n=i(16830),o=i(28108),r=i(29102),s=i(63580);class a extends n.R6{constructor(){super({id:"expandLineSelection",label:s.NC("expandLineSelection","Expand Line Selection"),alias:"Expand Line Selection",precondition:void 0,kbOpts:{weight:0,kbExpr:r.u.textInputFocus,primary:2090}})}run(e,t,i){if(i=i||{},!t.hasModel())return;let n=t._getViewModel();n.model.pushStackElement(),n.setCursorStates(i.source,3,o.P.expandLineSelection(n,n.getCursorStates())),n.revealPrimaryCursor(i.source,!0)}}(0,n.Qr)(a)},49504:function(e,t,i){"use strict";var n,o=i(22258),r=i(42549),s=i(16830),a=i(61329),l=i(97295),h=i(69386),d=i(24314);class u{constructor(e,t){this._selection=e,this._cursors=t,this._selectionId=null}getEditOperations(e,t){let i=function(e,t){t.sort((e,t)=>e.lineNumber===t.lineNumber?e.column-t.column:e.lineNumber-t.lineNumber);for(let e=t.length-2;e>=0;e--)t[e].lineNumber===t[e+1].lineNumber&&t.splice(e,1);let i=[],n=0,o=0,r=t.length;for(let s=1,a=e.getLineCount();s<=a;s++){let a=e.getLineContent(s),u=a.length+1,c=0;if(oe.tokenization.getLineTokens(t),getLanguageId:()=>e.getLanguageId(),getLanguageIdAtPosition:(t,i)=>e.getLanguageIdAtPosition(t,i)},getLineContent:null};if(n.startLineNumber===n.endLineNumber&&1===e.getLineMaxColumn(n.startLineNumber)){let i=n.startLineNumber,o=this._isMovingDown?i+1:i-1;1===e.getLineMaxColumn(o)?t.addEditOperation(new d.e(1,1,1,1),null):(t.addEditOperation(new d.e(i,1,i,1),e.getLineContent(o)),t.addEditOperation(new d.e(o,1,o,e.getLineMaxColumn(o)),null)),n=new p.Y(o,1,o,1)}else{let i,r;if(this._isMovingDown){i=n.endLineNumber+1,r=e.getLineContent(i),t.addEditOperation(new d.e(i-1,e.getLineMaxColumn(i-1),i,e.getLineMaxColumn(i)),null);let u=r;if(this.shouldAutoIndent(e,n)){let c=this.matchEnterRule(e,a,o,i,n.startLineNumber-1);if(null!==c){let t=l.V8(e.getLineContent(i)),n=c+b.Y(t,o),a=b.J(n,o,s);u=a+this.trimLeft(r)}else{h.getLineContent=t=>t===n.startLineNumber?e.getLineContent(i):e.getLineContent(t);let t=(0,w.n8)(this._autoIndent,h,e.getLanguageIdAtPosition(i,1),n.startLineNumber,a,this._languageConfigurationService);if(null!==t){let n=l.V8(e.getLineContent(i)),a=b.Y(t,o),h=b.Y(n,o);if(a!==h){let e=b.J(a,o,s);u=e+this.trimLeft(r)}}}t.addEditOperation(new d.e(n.startLineNumber,1,n.startLineNumber,1),u+"\n");let g=this.matchEnterRuleMovingDown(e,a,o,n.startLineNumber,i,u);if(null!==g)0!==g&&this.getIndentEditsOfMovingBlock(e,t,n,o,s,g);else{h.getLineContent=t=>t===n.startLineNumber?u:t>=n.startLineNumber+1&&t<=n.endLineNumber+1?e.getLineContent(t-1):e.getLineContent(t);let r=(0,w.n8)(this._autoIndent,h,e.getLanguageIdAtPosition(i,1),n.startLineNumber+1,a,this._languageConfigurationService);if(null!==r){let i=l.V8(e.getLineContent(n.startLineNumber)),a=b.Y(r,o),h=b.Y(i,o);a!==h&&this.getIndentEditsOfMovingBlock(e,t,n,o,s,a-h)}}}else t.addEditOperation(new d.e(n.startLineNumber,1,n.startLineNumber,1),u+"\n")}else if(i=n.startLineNumber-1,r=e.getLineContent(i),t.addEditOperation(new d.e(i,1,i+1,1),null),t.addEditOperation(new d.e(n.endLineNumber,e.getLineMaxColumn(n.endLineNumber),n.endLineNumber,e.getLineMaxColumn(n.endLineNumber)),"\n"+r),this.shouldAutoIndent(e,n)){h.getLineContent=t=>t===i?e.getLineContent(n.startLineNumber):e.getLineContent(t);let r=this.matchEnterRule(e,a,o,n.startLineNumber,n.startLineNumber-2);if(null!==r)0!==r&&this.getIndentEditsOfMovingBlock(e,t,n,o,s,r);else{let r=(0,w.n8)(this._autoIndent,h,e.getLanguageIdAtPosition(n.startLineNumber,1),i,a,this._languageConfigurationService);if(null!==r){let i=l.V8(e.getLineContent(n.startLineNumber)),a=b.Y(r,o),h=b.Y(i,o);a!==h&&this.getIndentEditsOfMovingBlock(e,t,n,o,s,a-h)}}}}this._selectionId=t.trackSelection(n)}buildIndentConverter(e,t,i){return{shiftIndent:n=>_.U.shiftIndent(n,n.length+1,e,t,i),unshiftIndent:n=>_.U.unshiftIndent(n,n.length+1,e,t,i)}}parseEnterResult(e,t,i,n,o){if(o){let r=o.indentation;o.indentAction===v.wU.None?r=o.indentation+o.appendText:o.indentAction===v.wU.Indent?r=o.indentation+o.appendText:o.indentAction===v.wU.IndentOutdent?r=o.indentation:o.indentAction===v.wU.Outdent&&(r=t.unshiftIndent(o.indentation)+o.appendText);let s=e.getLineContent(n);if(this.trimLeft(s).indexOf(this.trimLeft(r))>=0){let o=l.V8(e.getLineContent(n)),s=l.V8(r),a=(0,w.tI)(e,n,this._languageConfigurationService);null!==a&&2&a&&(s=t.unshiftIndent(s));let h=b.Y(s,i),d=b.Y(o,i);return h-d}}return null}matchEnterRuleMovingDown(e,t,i,n,o,r){if(l.ow(r)>=0){let r=e.getLineMaxColumn(o),s=(0,y.A)(this._autoIndent,e,new d.e(o,r,o,r),this._languageConfigurationService);return this.parseEnterResult(e,t,i,n,s)}{let o=n-1;for(;o>=1;){let t=e.getLineContent(o),i=l.ow(t);if(i>=0)break;o--}if(o<1||n>e.getLineCount())return null;let r=e.getLineMaxColumn(o),s=(0,y.A)(this._autoIndent,e,new d.e(o,r,o,r),this._languageConfigurationService);return this.parseEnterResult(e,t,i,n,s)}}matchEnterRule(e,t,i,n,o,r){let s=o;for(;s>=1;){let t;t=s===o&&void 0!==r?r:e.getLineContent(s);let i=l.ow(t);if(i>=0)break;s--}if(s<1||n>e.getLineCount())return null;let a=e.getLineMaxColumn(s),h=(0,y.A)(this._autoIndent,e,new d.e(s,a,s,a),this._languageConfigurationService);return this.parseEnterResult(e,t,i,n,h)}trimLeft(e){return e.replace(/^\s+/,"")}shouldAutoIndent(e,t){if(this._autoIndent<4||!e.tokenization.isCheapToTokenize(t.startLineNumber))return!1;let i=e.getLanguageIdAtPosition(t.startLineNumber,1),n=e.getLanguageIdAtPosition(t.endLineNumber,1);return i===n&&null!==this._languageConfigurationService.getLanguageConfiguration(i).indentRulesSupport}getIndentEditsOfMovingBlock(e,t,i,n,o,r){for(let s=i.startLineNumber;s<=i.endLineNumber;s++){let a=e.getLineContent(s),h=l.V8(a),u=b.Y(h,n),c=u+r,g=b.J(c,n,o);g!==h&&(t.addEditOperation(new d.e(s,1,s,h.length+1),g),s===i.endLineNumber&&i.endColumn<=h.length+1&&""===g&&(this._moveEndLineSelectionShrink=!0))}}computeCursorState(e,t){let i=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(i=i.setEndPosition(i.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&i.startLineNumber=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(n=C.c_,function(e,t){n(e,t,3)})],S);class L{constructor(e,t){this.selection=e,this.descending=t,this.selectionId=null}static getCollator(){return L._COLLATOR||(L._COLLATOR=new Intl.Collator),L._COLLATOR}getEditOperations(e,t){let i=function(e,t,i){let n=k(e,t,i);return n?h.h.replace(new d.e(n.startLineNumber,1,n.endLineNumber,e.getLineMaxColumn(n.endLineNumber)),n.after.join("\n")):null}(e,this.selection,this.descending);i&&t.addEditOperation(i.range,i.text),this.selectionId=t.trackSelection(this.selection)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}static canRun(e,t,i){if(null===e)return!1;let n=k(e,t,i);if(!n)return!1;for(let e=0,t=n.before.length;e=o)return null;let r=[];for(let t=n;t<=o;t++)r.push(e.getLineContent(t));let s=r.slice(0);return s.sort(L.getCollator().compare),!0===i&&(s=s.reverse()),{startLineNumber:n,endLineNumber:o,before:r,after:s}}L._COLLATOR=null;var N=i(63580),D=i(84144);class x extends s.R6{constructor(e,t){super(t),this.down=e}run(e,t){if(!t.hasModel())return;let i=t.getSelections().map((e,t)=>({selection:e,index:t,ignore:!1}));i.sort((e,t)=>d.e.compareRangesUsingStarts(e.selection,t.selection));let n=i[0];for(let e=1;enew g.L(e.positionLineNumber,e.positionColumn)));let o=t.getSelection();if(null===o)return;let r=new u(o,n);t.pushUndoStop(),t.executeCommands(this.id,[r]),t.pushUndoStop()}}A.ID="editor.action.trimTrailingWhitespace";class R extends s.R6{constructor(){super({id:"editor.action.deleteLines",label:N.NC("lines.delete","Delete Line"),alias:"Delete Line",precondition:m.u.writable,kbOpts:{kbExpr:m.u.textInputFocus,primary:3113,weight:100}})}run(e,t){if(!t.hasModel())return;let i=this._getLinesToRemove(t),n=t.getModel();if(1===n.getLineCount()&&1===n.getLineMaxColumn(1))return;let o=0,r=[],s=[];for(let e=0,t=i.length;e1&&(a-=1,d=n.getLineMaxColumn(a)),r.push(h.h.replace(new p.Y(a,d,l,u),"")),s.push(new p.Y(a-o,t.positionColumn,a-o,t.positionColumn)),o+=t.endLineNumber-t.startLineNumber+1}t.pushUndoStop(),t.executeEdits(this.id,r,s),t.pushUndoStop()}_getLinesToRemove(e){let t=e.getSelections().map(e=>{let t=e.endLineNumber;return e.startLineNumbere.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber);let i=[],n=t[0];for(let e=1;e=t[e].startLineNumber?n.endLineNumber=t[e].endLineNumber:(i.push(n),n=t[e]);return i.push(n),i}}class O extends s.R6{constructor(){super({id:"editor.action.indentLines",label:N.NC("lines.indent","Indent Line"),alias:"Indent Line",precondition:m.u.writable,kbOpts:{kbExpr:m.u.editorTextFocus,primary:2137,weight:100}})}run(e,t){let i=t._getViewModel();i&&(t.pushUndoStop(),t.executeCommands(this.id,c.u6.indent(i.cursorConfig,t.getModel(),t.getSelections())),t.pushUndoStop())}}class P extends s.R6{constructor(){super({id:"editor.action.outdentLines",label:N.NC("lines.outdent","Outdent Line"),alias:"Outdent Line",precondition:m.u.writable,kbOpts:{kbExpr:m.u.editorTextFocus,primary:2135,weight:100}})}run(e,t){r.wk.Outdent.runEditorCommand(e,t,null)}}class F extends s.R6{constructor(){super({id:"editor.action.insertLineBefore",label:N.NC("lines.insertBefore","Insert Line Above"),alias:"Insert Line Above",precondition:m.u.writable,kbOpts:{kbExpr:m.u.editorTextFocus,primary:3075,weight:100}})}run(e,t){let i=t._getViewModel();i&&(t.pushUndoStop(),t.executeCommands(this.id,c.u6.lineInsertBefore(i.cursorConfig,t.getModel(),t.getSelections())))}}class B extends s.R6{constructor(){super({id:"editor.action.insertLineAfter",label:N.NC("lines.insertAfter","Insert Line Below"),alias:"Insert Line Below",precondition:m.u.writable,kbOpts:{kbExpr:m.u.editorTextFocus,primary:2051,weight:100}})}run(e,t){let i=t._getViewModel();i&&(t.pushUndoStop(),t.executeCommands(this.id,c.u6.lineInsertAfter(i.cursorConfig,t.getModel(),t.getSelections())))}}class V extends s.R6{run(e,t){if(!t.hasModel())return;let i=t.getSelection(),n=this._getRangesToDelete(t),o=[];for(let e=0,t=n.length-1;eh.h.replace(e,""));t.pushUndoStop(),t.executeEdits(this.id,s,r),t.pushUndoStop()}}class W extends s.R6{constructor(){super({id:"editor.action.joinLines",label:N.NC("lines.joinLines","Join Lines"),alias:"Join Lines",precondition:m.u.writable,kbOpts:{kbExpr:m.u.editorTextFocus,primary:0,mac:{primary:296},weight:100}})}run(e,t){let i=t.getSelections();if(null===i)return;let n=t.getSelection();if(null===n)return;i.sort(d.e.compareRangesUsingStarts);let o=[],r=i.reduce((e,t)=>e.isEmpty()?e.endLineNumber===t.startLineNumber?(n.equalsSelection(e)&&(n=t),t):t.startLineNumber>e.endLineNumber+1?(o.push(e),t):new p.Y(e.startLineNumber,e.startColumn,t.endLineNumber,t.endColumn):t.startLineNumber>e.endLineNumber?(o.push(e),t):new p.Y(e.startLineNumber,e.startColumn,t.endLineNumber,t.endColumn));o.push(r);let s=t.getModel();if(null===s)return;let a=[],l=[],u=n,c=0;for(let e=0,t=o.length;e=1){let e=!0;""===_&&(e=!1),e&&(" "===_.charAt(_.length-1)||" "===_.charAt(_.length-1))&&(e=!1,_=_.replace(/[\s\uFEFF\xA0]+$/g," "));let n=t.substr(i-1);_+=(e?" ":"")+n,m=e?n.length+1:n.length}else m=0}let v=new d.e(g,1,t,i);if(!v.isEmpty()){let e;r.isEmpty()?(a.push(h.h.replace(v,_)),e=new p.Y(v.startLineNumber-c,_.length-m+1,g-c,_.length-m+1)):r.startLineNumber===r.endLineNumber?(a.push(h.h.replace(v,_)),e=new p.Y(r.startLineNumber-c,r.startColumn,r.endLineNumber-c,r.endColumn)):(a.push(h.h.replace(v,_)),e=new p.Y(r.startLineNumber-c,r.startColumn,r.startLineNumber-c,_.length-f)),null!==d.e.intersectRanges(v,n)?u=e:l.push(e)}c+=v.endLineNumber-v.startLineNumber}l.unshift(u),t.pushUndoStop(),t.executeEdits(this.id,a,l),t.pushUndoStop()}}class H extends s.R6{constructor(){super({id:"editor.action.transpose",label:N.NC("editor.transpose","Transpose characters around the cursor"),alias:"Transpose characters around the cursor",precondition:m.u.writable})}run(e,t){let i=t.getSelections();if(null===i)return;let n=t.getModel();if(null===n)return;let o=[];for(let e=0,t=i.length;e=s){if(r.lineNumber===n.getLineCount())continue;let e=new d.e(r.lineNumber,Math.max(1,r.column-1),r.lineNumber+1,1),t=n.getValueInRange(e).split("").reverse().join("");o.push(new a.T4(new p.Y(r.lineNumber,Math.max(1,r.column-1),r.lineNumber+1,1),t))}else{let e=new d.e(r.lineNumber,Math.max(1,r.column-1),r.lineNumber,r.column+1),t=n.getValueInRange(e).split("").reverse().join("");o.push(new a.hP(e,t,new p.Y(r.lineNumber,r.column+1,r.lineNumber,r.column+1)))}}t.pushUndoStop(),t.executeCommands(this.id,o),t.pushUndoStop()}}class z extends s.R6{run(e,t){let i=t.getSelections();if(null===i)return;let n=t.getModel();if(null===n)return;let o=t.getOption(119),r=[];for(let e of i)if(e.isEmpty()){let i=e.getStartPosition(),s=t.getConfiguredWordAtPosition(i);if(!s)continue;let a=new d.e(i.lineNumber,s.startColumn,i.lineNumber,s.endColumn),l=n.getValueInRange(a);r.push(h.h.replace(a,this._modifyText(l,o)))}else{let t=n.getValueInRange(e);r.push(h.h.replace(e,this._modifyText(t,o)))}t.pushUndoStop(),t.executeEdits(this.id,r),t.pushUndoStop()}}class K{constructor(e,t){this._pattern=e,this._flags=t,this._actual=null,this._evaluated=!1}get(){if(!this._evaluated){this._evaluated=!0;try{this._actual=new RegExp(this._pattern,this._flags)}catch(e){}}return this._actual}isSupported(){return null!==this.get()}}class U extends z{constructor(){super({id:"editor.action.transformToTitlecase",label:N.NC("editor.transformToTitlecase","Transform to Title Case"),alias:"Transform to Title Case",precondition:m.u.writable})}_modifyText(e,t){let i=U.titleBoundary.get();return i?e.toLocaleLowerCase().replace(i,e=>e.toLocaleUpperCase()):e}}U.titleBoundary=new K("(^|[^\\p{L}\\p{N}']|((^|\\P{L})'))\\p{L}","gmu");class $ extends z{constructor(){super({id:"editor.action.transformToSnakecase",label:N.NC("editor.transformToSnakecase","Transform to Snake Case"),alias:"Transform to Snake Case",precondition:m.u.writable})}_modifyText(e,t){let i=$.caseBoundary.get(),n=$.singleLetters.get();return i&&n?e.replace(i,"$1_$2").replace(n,"$1_$2$3").toLocaleLowerCase():e}}$.caseBoundary=new K("(\\p{Ll})(\\p{Lu})","gmu"),$.singleLetters=new K("(\\p{Lu}|\\p{N})(\\p{Lu})(\\p{Ll})","gmu");class j extends z{constructor(){super({id:"editor.action.transformToKebabcase",label:N.NC("editor.transformToKebabcase","Transform to Kebab Case"),alias:"Transform to Kebab Case",precondition:m.u.writable})}static isSupported(){let e=[this.caseBoundary,this.singleLetters,this.underscoreBoundary].every(e=>e.isSupported());return e}_modifyText(e,t){let i=j.caseBoundary.get(),n=j.singleLetters.get(),o=j.underscoreBoundary.get();return i&&n&&o?e.replace(o,"$1-$3").replace(i,"$1-$2").replace(n,"$1-$2").toLocaleLowerCase():e}}j.caseBoundary=new K("(\\p{Ll})(\\p{Lu})","gmu"),j.singleLetters=new K("(\\p{Lu}|\\p{N})(\\p{Lu}\\p{Ll})","gmu"),j.underscoreBoundary=new K("(\\S)(_)(\\S)","gm"),(0,s.Qr)(class extends x{constructor(){super(!1,{id:"editor.action.copyLinesUpAction",label:N.NC("lines.copyUp","Copy Line Up"),alias:"Copy Line Up",precondition:m.u.writable,kbOpts:{kbExpr:m.u.editorTextFocus,primary:1552,linux:{primary:3600},weight:100},menuOpts:{menuId:D.eH.MenubarSelectionMenu,group:"2_line",title:N.NC({key:"miCopyLinesUp",comment:["&& denotes a mnemonic"]},"&&Copy Line Up"),order:1}})}}),(0,s.Qr)(class extends x{constructor(){super(!0,{id:"editor.action.copyLinesDownAction",label:N.NC("lines.copyDown","Copy Line Down"),alias:"Copy Line Down",precondition:m.u.writable,kbOpts:{kbExpr:m.u.editorTextFocus,primary:1554,linux:{primary:3602},weight:100},menuOpts:{menuId:D.eH.MenubarSelectionMenu,group:"2_line",title:N.NC({key:"miCopyLinesDown",comment:["&& denotes a mnemonic"]},"Co&&py Line Down"),order:2}})}}),(0,s.Qr)(I),(0,s.Qr)(class extends E{constructor(){super(!1,{id:"editor.action.moveLinesUpAction",label:N.NC("lines.moveUp","Move Line Up"),alias:"Move Line Up",precondition:m.u.writable,kbOpts:{kbExpr:m.u.editorTextFocus,primary:528,linux:{primary:528},weight:100},menuOpts:{menuId:D.eH.MenubarSelectionMenu,group:"2_line",title:N.NC({key:"miMoveLinesUp",comment:["&& denotes a mnemonic"]},"Mo&&ve Line Up"),order:3}})}}),(0,s.Qr)(class extends E{constructor(){super(!0,{id:"editor.action.moveLinesDownAction",label:N.NC("lines.moveDown","Move Line Down"),alias:"Move Line Down",precondition:m.u.writable,kbOpts:{kbExpr:m.u.editorTextFocus,primary:530,linux:{primary:530},weight:100},menuOpts:{menuId:D.eH.MenubarSelectionMenu,group:"2_line",title:N.NC({key:"miMoveLinesDown",comment:["&& denotes a mnemonic"]},"Move &&Line Down"),order:4}})}}),(0,s.Qr)(class extends T{constructor(){super(!1,{id:"editor.action.sortLinesAscending",label:N.NC("lines.sortAscending","Sort Lines Ascending"),alias:"Sort Lines Ascending",precondition:m.u.writable})}}),(0,s.Qr)(class extends T{constructor(){super(!0,{id:"editor.action.sortLinesDescending",label:N.NC("lines.sortDescending","Sort Lines Descending"),alias:"Sort Lines Descending",precondition:m.u.writable})}}),(0,s.Qr)(M),(0,s.Qr)(A),(0,s.Qr)(R),(0,s.Qr)(O),(0,s.Qr)(P),(0,s.Qr)(F),(0,s.Qr)(B),(0,s.Qr)(class extends V{constructor(){super({id:"deleteAllLeft",label:N.NC("lines.deleteAllLeft","Delete All Left"),alias:"Delete All Left",precondition:m.u.writable,kbOpts:{kbExpr:m.u.textInputFocus,primary:0,mac:{primary:2049},weight:100}})}_getEndCursorState(e,t){let i=null,n=[],o=0;return t.forEach(t=>{let r;if(1===t.endColumn&&o>0){let e=t.startLineNumber-o;r=new p.Y(e,t.startColumn,e,t.startColumn)}else r=new p.Y(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn);o+=t.endLineNumber-t.startLineNumber,t.intersectRanges(e)?i=r:n.push(r)}),i&&n.unshift(i),n}_getRangesToDelete(e){let t=e.getSelections();if(null===t)return[];let i=t,n=e.getModel();return null===n?[]:(i.sort(d.e.compareRangesUsingStarts),i=i.map(e=>{if(!e.isEmpty())return new d.e(e.startLineNumber,1,e.endLineNumber,e.endColumn);if(1!==e.startColumn)return new d.e(e.startLineNumber,1,e.startLineNumber,e.startColumn);{let t=Math.max(1,e.startLineNumber-1),i=1===e.startLineNumber?1:n.getLineContent(t).length+1;return new d.e(t,i,e.startLineNumber,1)}}))}}),(0,s.Qr)(class extends V{constructor(){super({id:"deleteAllRight",label:N.NC("lines.deleteAllRight","Delete All Right"),alias:"Delete All Right",precondition:m.u.writable,kbOpts:{kbExpr:m.u.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})}_getEndCursorState(e,t){let i=null,n=[];for(let o=0,r=t.length;o{if(e.isEmpty()){let i=t.getLineMaxColumn(e.startLineNumber);return e.startColumn===i?new d.e(e.startLineNumber,e.startColumn,e.startLineNumber+1,1):new d.e(e.startLineNumber,e.startColumn,e.startLineNumber,i)}return e});return n.sort(d.e.compareRangesUsingStarts),n}}),(0,s.Qr)(W),(0,s.Qr)(H),(0,s.Qr)(class extends z{constructor(){super({id:"editor.action.transformToUppercase",label:N.NC("editor.transformToUppercase","Transform to Uppercase"),alias:"Transform to Uppercase",precondition:m.u.writable})}_modifyText(e,t){return e.toLocaleUpperCase()}}),(0,s.Qr)(class extends z{constructor(){super({id:"editor.action.transformToLowercase",label:N.NC("editor.transformToLowercase","Transform to Lowercase"),alias:"Transform to Lowercase",precondition:m.u.writable})}_modifyText(e,t){return e.toLocaleLowerCase()}}),$.caseBoundary.isSupported()&&$.singleLetters.isSupported()&&(0,s.Qr)($),U.titleBoundary.isSupported()&&(0,s.Qr)(U),j.isSupported()&&(0,s.Qr)(j)},76:function(e,t,i){"use strict";var n=i(9488),o=i(15393),r=i(71050),s=i(41264),a=i(17301),l=i(4669),h=i(9917),d=i(97295),u=i(70666),c=i(16830),g=i(11640),p=i(50187),m=i(24314),f=i(29102),_=i(22529),v=i(4256),C=i(63580),b=i(38819),w=i(73910),y=i(97781),S=i(71922),L=i(88191),k=i(84013),N=function(e,t){return function(i,n){t(i,n,e)}},D=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let x=new b.uy("LinkedEditingInputVisible",!1),I="linked-editing-decoration",E=class e extends h.JT{constructor(e,t,i,n,o){super(),this.languageConfigurationService=n,this._syncRangesToken=0,this._localToDispose=this._register(new h.SL),this._editor=e,this._providers=i.linkedEditingRangeProvider,this._enabled=!1,this._visibleContextKey=x.bindTo(t),this._debounceInformation=o.for(this._providers,"Linked Editing",{min:200}),this._currentDecorations=this._editor.createDecorationsCollection(),this._languageWordPattern=null,this._currentWordPattern=null,this._ignoreChangeEvent=!1,this._localToDispose=this._register(new h.SL),this._rangeUpdateTriggerPromise=null,this._rangeSyncTriggerPromise=null,this._currentRequest=null,this._currentRequestPosition=null,this._currentRequestModelVersion=null,this._register(this._editor.onDidChangeModel(()=>this.reinitialize(!0))),this._register(this._editor.onDidChangeConfiguration(e=>{(e.hasChanged(64)||e.hasChanged(84))&&this.reinitialize(!1)})),this._register(this._providers.onDidChange(()=>this.reinitialize(!1))),this._register(this._editor.onDidChangeModelLanguage(()=>this.reinitialize(!0))),this.reinitialize(!0)}static get(t){return t.getContribution(e.ID)}reinitialize(e){let t=this._editor.getModel(),i=null!==t&&(this._editor.getOption(64)||this._editor.getOption(84))&&this._providers.has(t);if(i===this._enabled&&!e||(this._enabled=i,this.clearRanges(),this._localToDispose.clear(),!i||null===t))return;this._localToDispose.add(l.ju.runAndSubscribe(t.onDidChangeLanguageConfiguration,()=>{this._languageWordPattern=this.languageConfigurationService.getLanguageConfiguration(t.getLanguageId()).getWordDefinition()}));let n=new o.vp(this._debounceInformation.get(t)),r=()=>{var e;this._rangeUpdateTriggerPromise=n.trigger(()=>this.updateRanges(),null!==(e=this._debounceDuration)&&void 0!==e?e:this._debounceInformation.get(t))},s=new o.vp(0),a=e=>{this._rangeSyncTriggerPromise=s.trigger(()=>this._syncRanges(e))};this._localToDispose.add(this._editor.onDidChangeCursorPosition(()=>{r()})),this._localToDispose.add(this._editor.onDidChangeModelContent(e=>{if(!this._ignoreChangeEvent&&this._currentDecorations.length>0){let t=this._currentDecorations.getRange(0);if(t&&e.changes.every(e=>t.intersectRanges(e.range))){a(this._syncRangesToken);return}}r()})),this._localToDispose.add({dispose:()=>{n.dispose(),s.dispose()}}),this.updateRanges()}_syncRanges(e){if(!this._editor.hasModel()||e!==this._syncRangesToken||0===this._currentDecorations.length)return;let t=this._editor.getModel(),i=this._currentDecorations.getRange(0);if(!i||i.startLineNumber!==i.endLineNumber)return this.clearRanges();let n=t.getValueInRange(i);if(this._currentWordPattern){let e=n.match(this._currentWordPattern),t=e?e[0].length:0;if(t!==n.length)return this.clearRanges()}let o=[];for(let e=1,i=this._currentDecorations.length;e1){this.clearRanges();return}let n=this._editor.getModel(),r=n.getVersionId();if(this._currentRequestPosition&&this._currentRequestModelVersion===r){if(i.equals(this._currentRequestPosition))return;if(this._currentDecorations.length>0){let e=this._currentDecorations.getRange(0);if(e&&e.containsPosition(i))return}}this._currentRequestPosition=i,this._currentRequestModelVersion=r;let s=(0,o.PG)(t=>D(this,void 0,void 0,function*(){try{let o=new k.G(!1),a=yield A(this._providers,n,i,t);if(this._debounceInformation.update(n,o.elapsed()),s!==this._currentRequest||(this._currentRequest=null,r!==n.getVersionId()))return;let l=[];(null==a?void 0:a.ranges)&&(l=a.ranges),this._currentWordPattern=(null==a?void 0:a.wordPattern)||this._languageWordPattern;let h=!1;for(let e=0,t=l.length;e({range:t,options:e.DECORATION}));this._visibleContextKey.set(!0),this._currentDecorations.set(d),this._syncRangesToken++}catch(e){(0,a.n2)(e)||(0,a.dL)(e),this._currentRequest!==s&&this._currentRequest||this.clearRanges()}}));return this._currentRequest=s,s})}};E.ID="editor.contrib.linkedEditing",E.DECORATION=_.qx.register({description:"linked-editing",stickiness:0,className:I}),E=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([N(1,b.i6),N(2,S.p),N(3,v.c_),N(4,L.A)],E);class T extends c.R6{constructor(){super({id:"editor.action.linkedEditing",label:C.NC("linkedEditing.label","Start Linked Editing"),alias:"Start Linked Editing",precondition:b.Ao.and(f.u.writable,f.u.hasRenameProvider),kbOpts:{kbExpr:f.u.editorTextFocus,primary:3132,weight:100}})}runCommand(e,t){let i=e.get(g.$),[n,o]=Array.isArray(t)&&t||[void 0,void 0];return u.o.isUri(n)&&p.L.isIPosition(o)?i.openCodeEditor({resource:n},i.getActiveCodeEditor()).then(e=>{e&&(e.setPosition(o),e.invokeWithinContext(t=>(this.reportTelemetry(t,e),this.run(t,e))))},a.dL):super.runCommand(e,t)}run(e,t){let i=E.get(t);return i?Promise.resolve(i.updateRanges(!0)):Promise.resolve()}}let M=c._l.bindToContribution(E.get);function A(e,t,i,r){let s=e.ordered(t);return(0,o.Ps)(s.map(e=>()=>D(this,void 0,void 0,function*(){try{return yield e.provideLinkedEditingRanges(t,i,r)}catch(e){(0,a.Cp)(e);return}})),e=>!!e&&n.Of(null==e?void 0:e.ranges))}(0,c.fK)(new M({id:"cancelLinkedEditingInput",precondition:x,handler:e=>e.clearRanges(),kbOpts:{kbExpr:f.u.editorTextFocus,weight:199,primary:9,secondary:[1033]}}));let R=(0,w.P6G)("editor.linkedEditingBackground",{dark:s.Il.fromHex("#f00").transparent(.3),light:s.Il.fromHex("#f00").transparent(.3),hcDark:s.Il.fromHex("#f00").transparent(.3),hcLight:s.Il.white},C.NC("editorLinkedEditingBackground","Background color when the editor auto renames on type."));(0,y.Ic)((e,t)=>{let i=e.getColor(R);i&&t.addRule(`.monaco-editor .${I} { background: ${i}; border-left-color: ${i}; }`)}),(0,c.sb)("_executeLinkedEditingProvider",(e,t,i)=>{let{linkedEditingRangeProvider:n}=e.get(S.p);return A(n,t,i,r.T.None)}),(0,c._K)(E.ID,E),(0,c.Qr)(T)},18408:function(e,t,i){"use strict";var n=i(15393),o=i(71050),r=i(17301),s=i(59365),a=i(9917),l=i(66663),h=i(1432),d=i(95935),u=i(84013),c=i(70666);i(82438);var g=i(16830),p=i(22529),m=i(88191),f=i(71922),_=i(82005),v=i(9488),C=i(98401),b=i(24314),w=i(73733),y=i(94565),S=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class L{constructor(e,t){this._link=e,this._provider=t}toJSON(){return{range:this.range,url:this.url,tooltip:this.tooltip}}get range(){return this._link.range}get url(){return this._link.url}get tooltip(){return this._link.tooltip}resolve(e){return S(this,void 0,void 0,function*(){return this._link.url?this._link.url:"function"==typeof this._provider.resolveLink?Promise.resolve(this._provider.resolveLink(this._link,e)).then(t=>(this._link=t||this._link,this._link.url)?this.resolve(e):Promise.reject(Error("missing"))):Promise.reject(Error("missing"))})}}class k{constructor(e){this._disposables=new a.SL;let t=[];for(let[i,n]of e){let e=i.links.map(e=>new L(e,n));t=k._union(t,e),(0,a.Wf)(i)&&this._disposables.add(i)}this.links=t}dispose(){this._disposables.dispose(),this.links.length=0}static _union(e,t){let i,n,o,r;let s=[];for(i=0,o=0,n=e.length,r=t.length;iPromise.resolve(e.provideLinks(t,i)).then(t=>{t&&(n[o]=[t,e])},r.Cp));return Promise.all(o).then(()=>{let e=new k((0,v.kX)(n));return i.isCancellationRequested?(e.dispose(),new k([])):e})}y.P0.registerCommand("_executeLinkProvider",(e,...t)=>S(void 0,void 0,void 0,function*(){let[i,n]=t;(0,C.p_)(i instanceof c.o),"number"!=typeof n&&(n=0);let{linkProvider:r}=e.get(f.p),s=e.get(w.q).getModel(i);if(!s)return[];let a=yield N(r,s,o.T.None);if(!a)return[];for(let e=0;ethis.computeLinksNow(),1e3)),this.computePromise=null,this.activeLinksList=null,this.currentOccurrences={},this.activeLinkDecorationId=null;let s=this._register(new _.yN(e));this._register(s.onMouseMoveOrRelevantKeyDown(([e,t])=>{this._onEditorMouseMove(e,t)})),this._register(s.onExecute(e=>{this.onEditorMouseUp(e)})),this._register(s.onCancel(e=>{this.cleanUpActiveLinkDecoration()})),this._register(e.onDidChangeConfiguration(e=>{e.hasChanged(65)&&(this.updateDecorations([]),this.stop(),this.computeLinks.schedule(0))})),this._register(e.onDidChangeModelContent(e=>{this.editor.hasModel()&&this.computeLinks.schedule(this.debounceInformation.get(this.editor.getModel()))})),this._register(e.onDidChangeModel(e=>{this.currentOccurrences={},this.activeLinkDecorationId=null,this.stop(),this.computeLinks.schedule(0)})),this._register(e.onDidChangeModelLanguage(e=>{this.stop(),this.computeLinks.schedule(0)})),this._register(this.providers.onDidChange(e=>{this.stop(),this.computeLinks.schedule(0)})),this.computeLinks.schedule(0)}static get(t){return t.getContribution(e.ID)}computeLinksNow(){var e,t,i,o;return e=this,t=void 0,i=void 0,o=function*(){if(!this.editor.hasModel()||!this.editor.getOption(65))return;let e=this.editor.getModel();if(this.providers.has(e)){this.activeLinksList&&(this.activeLinksList.dispose(),this.activeLinksList=null),this.computePromise=(0,n.PG)(t=>N(this.providers,e,t));try{let t=new u.G(!1);if(this.activeLinksList=yield this.computePromise,this.debounceInformation.update(e,t.elapsed()),e.isDisposed())return;this.updateDecorations(this.activeLinksList.links)}catch(e){(0,r.dL)(e)}finally{this.computePromise=null}}},new(i||(i=Promise))(function(n,r){function s(e){try{l(o.next(e))}catch(e){r(e)}}function a(e){try{l(o.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?n(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((o=o.apply(e,t||[])).next())})}updateDecorations(e){let t="altKey"===this.editor.getOption(72),i=[],n=Object.keys(this.currentOccurrences);for(let e of n){let t=this.currentOccurrences[e];i.push(t.decorationId)}let o=[];if(e)for(let i of e)o.push(O.decoration(i,t));this.editor.changeDecorations(t=>{let n=t.deltaDecorations(i,o);this.currentOccurrences={},this.activeLinkDecorationId=null;for(let t=0,i=n.length;t{t.activate(e,i),this.activeLinkDecorationId=t.decorationId})}else this.cleanUpActiveLinkDecoration()}cleanUpActiveLinkDecoration(){let e="altKey"===this.editor.getOption(72);if(this.activeLinkDecorationId){let t=this.currentOccurrences[this.activeLinkDecorationId];t&&this.editor.changeDecorations(i=>{t.deactivate(i,e)}),this.activeLinkDecorationId=null}}onEditorMouseUp(e){if(!this.isEnabled(e))return;let t=this.getLinkOccurrence(e.target.position);t&&this.openLinkOccurrence(t,e.hasSideBySideModifier,!0)}openLinkOccurrence(e,t,i=!1){if(!this.openerService)return;let{link:n}=e;n.resolve(o.T.None).then(e=>{if("string"==typeof e&&this.editor.hasModel()){let t=this.editor.getModel().uri;if(t.scheme===l.lg.file&&e.startsWith(`${l.lg.file}:`)){let i=c.o.parse(e);if(i.scheme===l.lg.file){let n=d.z_(i),o=null;n.startsWith("/./")?o=`.${n.substr(1)}`:n.startsWith("//./")&&(o=`.${n.substr(2)}`),o&&(e=d.Vo(t,o))}}}return this.openerService.open(e,{openToSide:t,fromUserGesture:i,allowContributedOpeners:!0,allowCommands:!0,fromWorkspace:!0})},e=>{let t=e instanceof Error?e.message:e;"invalid"===t?this.notificationService.warn(D.NC("invalid.url","Failed to open this link because it is not well-formed: {0}",n.url.toString())):"missing"===t?this.notificationService.warn(D.NC("missing.url","Failed to open this link because its target is missing.")):(0,r.dL)(e)})}getLinkOccurrence(e){if(!this.editor.hasModel()||!e)return null;let t=this.editor.getModel().getDecorationsInRange({startLineNumber:e.lineNumber,startColumn:e.column,endLineNumber:e.lineNumber,endColumn:e.column},0,!0);for(let e of t){let t=this.currentOccurrences[e.id];if(t)return t}return null}isEnabled(e,t){return!!(6===e.target.type&&(e.hasTriggerModifier||t&&t.keyCodeIsTriggerKey))}stop(){var e;this.computeLinks.cancel(),this.activeLinksList&&(null===(e=this.activeLinksList)||void 0===e||e.dispose(),this.activeLinksList=null),this.computePromise&&(this.computePromise.cancel(),this.computePromise=null)}dispose(){super.dispose(),this.stop()}};A.ID="editor.linkDetector",A=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([M(1,I.v4),M(2,x.lT),M(3,f.p),M(4,m.A)],A);let R={general:p.qx.register({description:"detected-link",stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link"}),active:p.qx.register({description:"detected-link-active",stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link-active"})};class O{constructor(e,t){this.link=e,this.decorationId=t}static decoration(e,t){return{range:e.range,options:O._getOptions(e,t,!1)}}static _getOptions(e,t,i){let n=Object.assign({},i?R.active:R.general);return n.hoverMessage=function(e,t){let i=e.url&&/^command:/i.test(e.url.toString()),n=e.tooltip?e.tooltip:i?D.NC("links.navigate.executeCmd","Execute command"):D.NC("links.navigate.follow","Follow link"),o=t?h.dz?D.NC("links.navigate.kb.meta.mac","cmd + click"):D.NC("links.navigate.kb.meta","ctrl + click"):h.dz?D.NC("links.navigate.kb.alt.mac","option + click"):D.NC("links.navigate.kb.alt","alt + click");if(!e.url)return new s.W5().appendText(`${n} (${o})`);{let t="";if(/^command:/i.test(e.url.toString())){let i=e.url.toString().match(/^command:([^?#]+)/);if(i){let e=i[1];t=D.NC("tooltip.explanation","Execute command {0}",e)}}let i=new s.W5("",!0).appendLink(e.url.toString(!0).replace(/ /g,"%20"),n,t).appendMarkdown(` (${o})`);return i}}(e,t),n}activate(e,t){e.changeDecorationOptions(this.decorationId,O._getOptions(this.link,t,!0))}deactivate(e,t){e.changeDecorationOptions(this.decorationId,O._getOptions(this.link,t,!1))}}class P extends g.R6{constructor(){super({id:"editor.action.openLink",label:D.NC("label","Open Link"),alias:"Open Link",precondition:void 0})}run(e,t){let i=A.get(t);if(!i||!t.hasModel())return;let n=t.getSelections();for(let e of n){let t=i.getLinkOccurrence(e.getEndPosition());t&&i.openLinkOccurrence(t,!1)}}}(0,g._K)(A.ID,A),(0,g.Qr)(P),(0,T.Ic)((e,t)=>{let i=e.getColor(E._Yy);i&&t.addRule(`.monaco-editor .detected-link-active { color: ${i} !important; }`)})},51318:function(e,t,i){"use strict";i.d(t,{$:function(){return M}});var n,o=i(65321),r=i(70921),s=i(4850),a=i(94079),l=i(7317),h=i(56811),d=i(17301),u=i(4669),c=i(59365),g=i(21212),p=i(44742),m=i(9917);let f={};!function(){var e;function t(e,t){t(f)}t.amd=!0,e=this,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}e.defaults=n();var o=/[&<>"']/,r=/[&<>"']/g,s=/[<>"']|&(?!#?\w+;)/,a=/[<>"']|&(?!#?\w+;)/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"},h=function(e){return l[e]};function d(e,t){if(t){if(o.test(e))return e.replace(r,h)}else if(s.test(e))return e.replace(a,h);return e}var u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function c(e){return e.replace(u,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}var g=/(^|[^\[])\^/g;function p(e,t){e="string"==typeof e?e:e.source,t=t||"";var i={replace:function(t,n){return n=(n=n.source||n).replace(g,"$1"),e=e.replace(t,n),i},getRegex:function(){return new RegExp(e,t)}};return i}var m=/[^\w:]/g,f=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function _(e,t,i){var n,o,r,s;if(e){try{n=decodeURIComponent(c(i)).replace(m,"").toLowerCase()}catch(e){return null}if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))return null}t&&!f.test(i)&&(o=t,r=i,v[" "+o]||(C.test(o)?v[" "+o]=o+"/":v[" "+o]=k(o,"/",!0)),s=-1===(o=v[" "+o]).indexOf(":"),i="//"===r.substring(0,2)?s?r:o.replace(b,"$1")+r:"/"!==r.charAt(0)?o+r:s?r:o.replace(w,"$1")+r);try{i=encodeURI(i).replace(/%25/g,"%")}catch(e){return null}return i}var v={},C=/^[^:]+:\/*[^/]*$/,b=/^([^:]+:)[\s\S]*$/,w=/^([^:]+:\/*[^/]*)[\s\S]*$/,y={exec:function(){}};function S(e){for(var t,i,n=1;n=0&&"\\"===i[o];)n=!n;return n?"|":" |"}).split(/ \|/),n=0;if(i[0].trim()||i.shift(),i.length>0&&!i[i.length-1].trim()&&i.pop(),i.length>t)i.splice(t);else for(;i.length1;)1&t&&(i+=e),t>>=1,e+=e;return i+e}function x(e,t,i,n){var o=t.href,r=t.title?d(t.title):null,s=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){n.state.inLink=!0;var a={type:"link",raw:i,href:o,title:r,text:s,tokens:n.inlineTokens(s,[])};return n.state.inLink=!1,a}return{type:"image",raw:i,href:o,title:r,text:d(s)}}var I=function(){function t(t){this.options=t||e.defaults}var n=t.prototype;return n.space=function(e){var t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}},n.code=function(e){var t=this.rules.block.code.exec(e);if(t){var i=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?i:k(i,"\n")}}},n.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var i=t[0],n=function(e,t){var i=e.match(/^(\s+)(?:```)/);if(null===i)return t;var n=i[1];return t.split("\n").map(function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=n.length?e.slice(n.length):e}).join("\n")}(i,t[3]||"");return{type:"code",raw:i,lang:t[2]?t[2].trim():t[2],text:n}}},n.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var i=t[2].trim();if(/#$/.test(i)){var n=k(i,"#");this.options.pedantic?i=n.trim():(!n||/ $/.test(n))&&(i=n.trim())}var o={type:"heading",raw:t[0],depth:t[1].length,text:i,tokens:[]};return this.lexer.inline(o.text,o.tokens),o}},n.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},n.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var i=t[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(i,[]),text:i}}},n.list=function(e){var t=this.rules.block.list.exec(e);if(t){var n,o,r,s,a,l,h,d,u,c,g,p,m=t[1].trim(),f=m.length>1,_={type:"list",raw:"",ordered:f,start:f?+m.slice(0,-1):"",loose:!1,items:[]};m=f?"\\d{1,9}\\"+m.slice(-1):"\\"+m,this.options.pedantic&&(m=f?m:"[*+-]");for(var v=RegExp("^( {0,3}"+m+")((?:[ ][^\\n]*)?(?:\\n|$))");e&&(p=!1,!(!(t=v.exec(e))||this.rules.block.hr.test(e)));){if(n=t[0],e=e.substring(n.length),d=t[2].split("\n",1)[0],u=e.split("\n",1)[0],this.options.pedantic?(s=2,g=d.trimLeft()):(s=(s=t[2].search(/[^ ]/))>4?1:s,g=d.slice(s),s+=t[1].length),l=!1,!d&&/^ *$/.test(u)&&(n+=u+"\n",e=e.substring(u.length+1),p=!0),!p)for(var C=RegExp("^ {0,"+Math.min(3,s-1)+"}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))"),b=RegExp("^ {0,"+Math.min(3,s-1)+"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)");e&&(d=c=e.split("\n",1)[0],this.options.pedantic&&(d=d.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(C.test(d)||b.test(e)));){if(d.search(/[^ ]/)>=s||!d.trim())g+="\n"+d.slice(s);else if(l)break;else g+="\n"+d;l||d.trim()||(l=!0),n+=c+"\n",e=e.substring(c.length+1)}!_.loose&&(h?_.loose=!0:/\n *\n *$/.test(n)&&(h=!0)),this.options.gfm&&(o=/^\[[ xX]\] /.exec(g))&&(r="[ ] "!==o[0],g=g.replace(/^\[[ xX]\] +/,"")),_.items.push({type:"list_item",raw:n,task:!!o,checked:r,loose:!1,text:g}),_.raw+=n}_.items[_.items.length-1].raw=n.trimRight(),_.items[_.items.length-1].text=g.trimRight(),_.raw=_.raw.trimRight();var w=_.items.length;for(a=0;a1)return!0;return!1});!_.loose&&y.length&&S&&(_.loose=!0,_.items[a].loose=!0)}return _}},n.html=function(e){var t=this.rules.block.html.exec(e);if(t){var i={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};return this.options.sanitize&&(i.type="paragraph",i.text=this.options.sanitizer?this.options.sanitizer(t[0]):d(t[0]),i.tokens=[],this.lexer.inline(i.text,i.tokens)),i}},n.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},n.table=function(e){var t=this.rules.block.table.exec(e);if(t){var i={type:"table",header:L(t[1]).map(function(e){return{text:e}}),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(i.header.length===i.align.length){i.raw=t[0];var n,o,r,s,a=i.align.length;for(n=0;n/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):d(t[0]):t[0]}},n.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var i=t[2].trim();if(!this.options.pedantic&&/^$/.test(i))return;var n=k(i.slice(0,-1),"\\");if((i.length-n.length)%2==0)return}else{var o=function(e,t){if(-1===e.indexOf(t[1]))return -1;for(var i=e.length,n=0,o=0;o-1){var r=(0===t[0].indexOf("!")?5:4)+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,r).trim(),t[3]=""}}var s=t[2],a="";if(this.options.pedantic){var l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);l&&(s=l[1],a=l[3])}else a=t[3]?t[3].slice(1,-1):"";return s=s.trim(),/^$/.test(i)?s.slice(1):s.slice(1,-1)),x(t,{href:s?s.replace(this.rules.inline._escapes,"$1"):s,title:a?a.replace(this.rules.inline._escapes,"$1"):a},t[0],this.lexer)}},n.reflink=function(e,t){var i;if((i=this.rules.inline.reflink.exec(e))||(i=this.rules.inline.nolink.exec(e))){var n=(i[2]||i[1]).replace(/\s+/g," ");if(!(n=t[n.toLowerCase()])||!n.href){var o=i[0].charAt(0);return{type:"text",raw:o,text:o}}return x(i,n,i[0],this.lexer)}},n.emStrong=function(e,t,i){void 0===i&&(i="");var n=this.rules.inline.emStrong.lDelim.exec(e);if(n&&!(n[3]&&i.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var o=n[1]||n[2]||"";if(!o||o&&(""===i||this.rules.inline.punctuation.exec(i))){var r,s,a=n[0].length-1,l=a,h=0,d="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(d.lastIndex=0,t=t.slice(-1*e.length+a);null!=(n=d.exec(t));)if(r=n[1]||n[2]||n[3]||n[4]||n[5]||n[6]){if(s=r.length,n[3]||n[4]){l+=s;continue}if((n[5]||n[6])&&a%3&&!((a+s)%3)){h+=s;continue}if(!((l-=s)>0)){if(Math.min(a,s=Math.min(s,s+l+h))%2){var u=e.slice(1,a+n.index+s);return{type:"em",raw:e.slice(0,a+n.index+s+1),text:u,tokens:this.lexer.inlineTokens(u,[])}}var c=e.slice(2,a+n.index+s-1);return{type:"strong",raw:e.slice(0,a+n.index+s+1),text:c,tokens:this.lexer.inlineTokens(c,[])}}}}}},n.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var i=t[2].replace(/\n/g," "),n=/[^ ]/.test(i),o=/^ /.test(i)&&/ $/.test(i);return n&&o&&(i=i.substring(1,i.length-1)),i=d(i,!0),{type:"codespan",raw:t[0],text:i}}},n.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},n.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}},n.autolink=function(e,t){var i,n,o=this.rules.inline.autolink.exec(e);if(o)return n="@"===o[2]?"mailto:"+(i=d(this.options.mangle?t(o[1]):o[1])):i=d(o[1]),{type:"link",raw:o[0],text:i,href:n,tokens:[{type:"text",raw:i,text:i}]}},n.url=function(e,t){var i,n,o,r;if(i=this.rules.inline.url.exec(e)){if("@"===i[2])o="mailto:"+(n=d(this.options.mangle?t(i[0]):i[0]));else{do r=i[0],i[0]=this.rules.inline._backpedal.exec(i[0])[0];while(r!==i[0]);n=d(i[0]),o="www."===i[1]?"http://"+n:n}return{type:"link",raw:i[0],text:n,href:o,tokens:[{type:"text",raw:n,text:n}]}}},n.inlineText=function(e,t){var i,n=this.rules.inline.text.exec(e);if(n)return i=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):d(n[0]):n[0]:d(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:i}},t}(),E={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:y,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};E._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,E._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,E.def=p(E.def).replace("label",E._label).replace("title",E._title).getRegex(),E.bullet=/(?:[*+-]|\d{1,9}[.)])/,E.listItemStart=p(/^( *)(bull) */).replace("bull",E.bullet).getRegex(),E.list=p(E.list).replace(/bull/g,E.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+E.def.source+")").getRegex(),E._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",E._comment=/|$)/,E.html=p(E.html,"i").replace("comment",E._comment).replace("tag",E._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),E.paragraph=p(E._paragraph).replace("hr",E.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",E._tag).getRegex(),E.blockquote=p(E.blockquote).replace("paragraph",E.paragraph).getRegex(),E.normal=S({},E),E.gfm=S({},E.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),E.gfm.table=p(E.gfm.table).replace("hr",E.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",E._tag).getRegex(),E.gfm.paragraph=p(E._paragraph).replace("hr",E.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",E.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",E._tag).getRegex(),E.pedantic=S({},E.normal,{html:p("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",E._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:y,paragraph:p(E.normal._paragraph).replace("hr",E.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",E.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var T={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:y,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[^*]+(?=[^*])|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:y,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(i="x"+i.toString(16)),n+="&#"+i+";";return n}T._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",T.punctuation=p(T.punctuation).replace(/punctuation/g,T._punctuation).getRegex(),T.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,T.escapedEmSt=/\\\*|\\_/g,T._comment=p(E._comment).replace("(?:-->|$)","-->").getRegex(),T.emStrong.lDelim=p(T.emStrong.lDelim).replace(/punct/g,T._punctuation).getRegex(),T.emStrong.rDelimAst=p(T.emStrong.rDelimAst,"g").replace(/punct/g,T._punctuation).getRegex(),T.emStrong.rDelimUnd=p(T.emStrong.rDelimUnd,"g").replace(/punct/g,T._punctuation).getRegex(),T._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,T._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,T._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,T.autolink=p(T.autolink).replace("scheme",T._scheme).replace("email",T._email).getRegex(),T._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,T.tag=p(T.tag).replace("comment",T._comment).replace("attribute",T._attribute).getRegex(),T._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,T._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,T._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,T.link=p(T.link).replace("label",T._label).replace("href",T._href).replace("title",T._title).getRegex(),T.reflink=p(T.reflink).replace("label",T._label).replace("ref",E._label).getRegex(),T.nolink=p(T.nolink).replace("ref",E._label).getRegex(),T.reflinkSearch=p(T.reflinkSearch,"g").replace("reflink",T.reflink).replace("nolink",T.nolink).getRegex(),T.normal=S({},T),T.pedantic=S({},T.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",T._label).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",T._label).getRegex()}),T.gfm=S({},T.normal,{escape:p(T.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\0?t[t.length-1].raw+="\n":t.push(i);continue}if(i=this.tokenizer.code(e)){e=e.substring(i.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(i);continue}if((i=this.tokenizer.fences(e))||(i=this.tokenizer.heading(e))||(i=this.tokenizer.hr(e))||(i=this.tokenizer.blockquote(e))||(i=this.tokenizer.list(e))||(i=this.tokenizer.html(e))){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.def(e)){e=e.substring(i.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+i.raw,n.text+="\n"+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});continue}if((i=this.tokenizer.table(e))||(i=this.tokenizer.lheading(e))){e=e.substring(i.raw.length),t.push(i);continue}if(o=e,this.options.extensions&&this.options.extensions.startBlock&&function(){var t=1/0,i=e.slice(1),n=void 0;s.options.extensions.startBlock.forEach(function(e){"number"==typeof(n=e.call({lexer:this},i))&&n>=0&&(t=Math.min(t,n))}),t<1/0&&t>=0&&(o=e.substring(0,t+1))}(),this.state.top&&(i=this.tokenizer.paragraph(o))){n=t[t.length-1],r&&"paragraph"===n.type?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(i),r=o.length!==e.length,e=e.substring(i.raw.length);continue}if(i=this.tokenizer.text(e)){e=e.substring(i.raw.length),(n=t[t.length-1])&&"text"===n.type?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(i);continue}if(e){var a="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(a);break}throw Error(a)}}return this.state.top=!0,t},n.inline=function(e,t){this.inlineQueue.push({src:e,tokens:t})},n.inlineTokens=function(e,t){var i,n,o,r,s,a,l=this;void 0===t&&(t=[]);var h=e;if(this.tokens.links){var d=Object.keys(this.tokens.links);if(d.length>0)for(;null!=(r=this.tokenizer.rules.inline.reflinkSearch.exec(h));)d.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(h=h.slice(0,r.index)+"["+D("a",r[0].length-2)+"]"+h.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(r=this.tokenizer.rules.inline.blockSkip.exec(h));)h=h.slice(0,r.index)+"["+D("a",r[0].length-2)+"]"+h.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(r=this.tokenizer.rules.inline.escapedEmSt.exec(h));)h=h.slice(0,r.index)+"++"+h.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(s||(a=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(function(n){return!!(i=n.call({lexer:l},e,t))&&(e=e.substring(i.raw.length),t.push(i),!0)}))){if(i=this.tokenizer.escape(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.tag(e)){e=e.substring(i.raw.length),(n=t[t.length-1])&&"text"===i.type&&"text"===n.type?(n.raw+=i.raw,n.text+=i.text):t.push(i);continue}if(i=this.tokenizer.link(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(i.raw.length),(n=t[t.length-1])&&"text"===i.type&&"text"===n.type?(n.raw+=i.raw,n.text+=i.text):t.push(i);continue}if((i=this.tokenizer.emStrong(e,h,a))||(i=this.tokenizer.codespan(e))||(i=this.tokenizer.br(e))||(i=this.tokenizer.del(e))||(i=this.tokenizer.autolink(e,A))||!this.state.inLink&&(i=this.tokenizer.url(e,A))){e=e.substring(i.raw.length),t.push(i);continue}if(o=e,this.options.extensions&&this.options.extensions.startInline&&function(){var t=1/0,i=e.slice(1),n=void 0;l.options.extensions.startInline.forEach(function(e){"number"==typeof(n=e.call({lexer:this},i))&&n>=0&&(t=Math.min(t,n))}),t<1/0&&t>=0&&(o=e.substring(0,t+1))}(),i=this.tokenizer.inlineText(o,M)){e=e.substring(i.raw.length),"_"!==i.raw.slice(-1)&&(a=i.raw.slice(-1)),s=!0,(n=t[t.length-1])&&"text"===n.type?(n.raw+=i.raw,n.text+=i.text):t.push(i);continue}if(e){var u="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(u);break}throw Error(u)}}return t},i=[{key:"rules",get:function(){return{block:E,inline:T}}}],function(e,t){for(var i=0;i'+(i?e:d(e,!0))+"\n":"
    "+(i?e:d(e,!0))+"
    \n"},i.blockquote=function(e){return"
    \n"+e+"
    \n"},i.html=function(e){return e},i.heading=function(e,t,i,n){return this.options.headerIds?"'+e+"\n":""+e+"\n"},i.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},i.list=function(e,t,i){var n=t?"ol":"ul";return"<"+n+(t&&1!==i?' start="'+i+'"':"")+">\n"+e+"\n"},i.listitem=function(e){return"
  • "+e+"
  • \n"},i.checkbox=function(e){return" "},i.paragraph=function(e){return"

    "+e+"

    \n"},i.table=function(e,t){return t&&(t="
    "+t+""),"
    \n\n"+e+"\n"+t+"
    \n"},i.tablerow=function(e){return"\n"+e+"\n"},i.tablecell=function(e,t){var i=t.header?"th":"td";return(t.align?"<"+i+' align="'+t.align+'">':"<"+i+">")+e+"\n"},i.strong=function(e){return""+e+""},i.em=function(e){return""+e+""},i.codespan=function(e){return""+e+""},i.br=function(){return this.options.xhtml?"
    ":"
    "},i.del=function(e){return""+e+""},i.link=function(e,t,i){if(null===(e=_(this.options.sanitize,this.options.baseUrl,e)))return i;var n='"},i.image=function(e,t,i){if(null===(e=_(this.options.sanitize,this.options.baseUrl,e)))return i;var n=''+i+'":">"},i.text=function(e){return e},t}(),P=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,i){return""+i},t.image=function(e,t,i){return""+i},t.br=function(){return""},e}(),F=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var i=e,n=0;if(this.seen.hasOwnProperty(i)){n=this.seen[e];do i=e+"-"+ ++n;while(this.seen.hasOwnProperty(i))}return t||(this.seen[e]=n,this.seen[i]=0),i},t.slug=function(e,t){void 0===t&&(t={});var i=this.serialize(e);return this.getNextSafeSlug(i,t.dryrun)},e}(),B=function(){function t(t){this.options=t||e.defaults,this.options.renderer=this.options.renderer||new O,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new P,this.slugger=new F}t.parse=function(e,i){return new t(i).parse(e)},t.parseInline=function(e,i){return new t(i).parseInline(e)};var i=t.prototype;return i.parse=function(e,t){void 0===t&&(t=!0);var i,n,o,r,s,a,l,h,d,u,g,p,m,f,_,v,C,b,w,y="",S=e.length;for(i=0;i0&&"paragraph"===_.tokens[0].type?(_.tokens[0].text=b+" "+_.tokens[0].text,_.tokens[0].tokens&&_.tokens[0].tokens.length>0&&"text"===_.tokens[0].tokens[0].type&&(_.tokens[0].tokens[0].text=b+" "+_.tokens[0].tokens[0].text)):_.tokens.unshift({type:"text",text:b}):f+=b),f+=this.parse(_.tokens,m),d+=this.renderer.listitem(f,C,v);y+=this.renderer.list(d,g,p);continue;case"html":y+=this.renderer.html(u.text);continue;case"paragraph":y+=this.renderer.paragraph(this.parseInline(u.tokens));continue;case"text":for(d=u.tokens?this.parseInline(u.tokens):u.text;i+1An error occurred:

    "+d(e.message+"",!0)+"
    ";throw e}}V.options=V.setOptions=function(t){var i;return S(V.defaults,t),i=V.defaults,e.defaults=i,V},V.getDefaults=n,V.defaults=e.defaults,V.use=function(){for(var e,t=arguments.length,i=Array(t),n=0;nAn error occurred:

    "+d(e.message+"",!0)+"
    ";throw e}},V.Parser=B,V.parser=B.parse,V.Renderer=O,V.TextRenderer=P,V.Lexer=R,V.lexer=R.lex,V.Tokenizer=I,V.Slugger=F,V.parse=V;var W=V.options,H=V.setOptions,z=V.use,K=V.walkTokens,U=V.parseInline,$=B.parse,j=R.lex;e.Lexer=R,e.Parser=B,e.Renderer=O,e.Slugger=F,e.TextRenderer=P,e.Tokenizer=I,e.getDefaults=n,e.lexer=j,e.marked=V,e.options=W,e.parse=V,e.parseInline=U,e.parser=$,e.setOptions=H,e.use=z,e.walkTokens=K,Object.defineProperty(e,"__esModule",{value:!0})}("object"==typeof exports?exports:t.amd?f:(e="undefined"!=typeof globalThis?globalThis:e||self).marked={})}();var _=f||exports,v=i(23897),C=i(66663),b=i(36248),w=i(95935),y=i(97295),S=i(70666);function L(e,t){let i=/^\w[\w\d+.-]*:/.test(t);return i?t:e.path.endsWith("/")?(0,w.i3)(e,t).toString():(0,w.i3)((0,w.XX)(e),t).toString()}function k(e,t){let{config:i,allowedSchemes:n}=function(e){let t=[C.lg.http,C.lg.https,C.lg.mailto,C.lg.data,C.lg.file,C.lg.vscodeFileResource,C.lg.vscodeRemote,C.lg.vscodeRemoteResource];return e.isTrusted&&t.push(C.lg.command),{config:{ALLOWED_TAGS:["ul","li","p","b","i","code","blockquote","ol","h1","h2","h3","h4","h5","h6","hr","em","pre","table","thead","tbody","tr","th","td","div","del","a","strong","br","img","span"],ALLOWED_ATTR:["href","data-href","target","title","src","alt","class","style","data-code","width","height","align"],ALLOW_UNKNOWN_PROTOCOLS:!0},allowedSchemes:t}}(e);r.v5("uponSanitizeAttribute",(e,t)=>{if("style"===t.attrName||"class"===t.attrName){if("SPAN"===e.tagName){if("style"===t.attrName){t.keepAttr=/^(color\:#[0-9a-fA-F]+;)?(background-color\:#[0-9a-fA-F]+;)?$/.test(t.attrValue);return}if("class"===t.attrName){t.keepAttr=/^codicon codicon-[a-z\-]+( codicon-modifier-[a-z\-]+)?$/.test(t.attrValue);return}}t.keepAttr=!1;return}});let s=o._F(n);try{return r.Nw(t,Object.assign(Object.assign({},i),{RETURN_TRUSTED_TYPE:!0}))}finally{r.ok("uponSanitizeAttribute"),s.dispose()}}var N=i(50988),D=i(72042),x=i(81947),I=i(52136),E=i(68801),T=function(e,t){return function(i,n){t(i,n,e)}};let M=class e{constructor(e,t,i){this._options=e,this._languageService=t,this._openerService=i,this._onDidRenderAsync=new u.Q5,this.onDidRenderAsync=this._onDidRenderAsync.event}dispose(){this._onDidRenderAsync.dispose()}render(e,t,i){if(!e){let e=document.createElement("span");return{element:e,dispose:()=>{}}}let n=new m.SL,r=n.add(function(e,t={},i={}){var n;let r=new m.SL,f=!1,w=(0,a.az)(t),N=function(t){let i;try{i=(0,v.Q)(decodeURIComponent(t))}catch(e){}return i?encodeURIComponent(JSON.stringify(i=(0,b.rs)(i,t=>e.uris&&e.uris[t]?S.o.revive(e.uris[t]):void 0))):t},D=function(t,i){let n=e.uris&&e.uris[t],o=S.o.revive(n);return i?t.startsWith(C.lg.data+":")?t:(o||(o=S.o.parse(t)),C.Gi.asBrowserUri(o).toString(!0)):o&&S.o.parse(t).toString()!==o.toString()?(o.query&&(o=o.with({query:N(o.query)})),o.toString()):t},x=new _.Renderer;x.image=(e,t,i)=>{let n=[],o=[];return e&&({href:e,dimensions:n}=(0,c.v1)(e),o.push(`src="${(0,c.d9)(e)}"`)),i&&o.push(`alt="${(0,c.d9)(i)}"`),t&&o.push(`title="${(0,c.d9)(t)}"`),n.length&&(o=o.concat(n)),""},x.link=(e,t,i)=>"string"!=typeof e?"":(e===i&&(i=(0,c.oR)(i)),t="string"==typeof t?(0,c.d9)((0,c.oR)(t)):"",e=(e=(0,c.oR)(e)).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),`
    ${i}`),x.paragraph=e=>`

    ${e}

    `;let I=[];if(t.codeBlockRenderer&&(x.code=(e,i)=>{let n=p.a.nextId(),o=t.codeBlockRenderer(null!=i?i:"",e);return I.push(o.then(e=>[n,e])),`
    ${(0,y.YU)(e)}
    `}),t.actionHandler){let i=t.actionHandler.disposables.add(new s.Y(w,"click")),n=t.actionHandler.disposables.add(new s.Y(w,"auxclick"));t.actionHandler.disposables.add(u.ju.any(i.event,n.event)(i=>{let n=new l.n(i);if(!n.leftButton&&!n.middleButton)return;let o=n.target;if("A"===o.tagName||(o=o.parentElement)&&"A"===o.tagName)try{let i=o.dataset.href;i&&(e.baseUri&&(i=L(S.o.from(e.baseUri),i)),t.actionHandler.callback(i,n))}catch(e){(0,d.dL)(e)}finally{n.preventDefault()}}))}e.supportHtml||(i.sanitizer=t=>{let i=e.isTrusted?t.match(/^(]+>)|(<\/\s*span>)$/):void 0;return i?t:""},i.sanitize=!0,i.silent=!0),i.renderer=x;let E=null!==(n=e.value)&&void 0!==n?n:"";E.length>1e5&&(E=`${E.substr(0,1e5)}…`),e.supportThemeIcons&&(E=(0,g.f$)(E));let T=_.parse(E,i);if(e.supportThemeIcons){let e=(0,h.T)(T);T=e.map(e=>"string"==typeof e?e:e.outerHTML).join("")}let M=new DOMParser,A=M.parseFromString(k(e,T),"text/html");if(A.body.querySelectorAll("img").forEach(t=>{let i=t.getAttribute("src");if(i){let n=i;try{e.baseUri&&(n=L(S.o.from(e.baseUri),n))}catch(e){}t.src=D(n,!0)}}),A.body.querySelectorAll("a").forEach(t=>{let i=t.getAttribute("href");if(t.setAttribute("href",""),!i||/^data:|javascript:/i.test(i)||/^command:/i.test(i)&&!e.isTrusted||/^command:(\/\/\/)?_workbench\.downloadResource/i.test(i))t.replaceWith(...t.childNodes);else{let n=D(i,!1);e.baseUri&&(n=L(S.o.from(e.baseUri),i)),t.dataset.href=n}}),w.innerHTML=k(e,A.body.innerHTML),I.length>0&&Promise.all(I).then(e=>{var i,n;if(f)return;let r=new Map(e),s=w.querySelectorAll("div[data-code]");for(let e of s){let t=r.get(null!==(i=e.dataset.code)&&void 0!==i?i:"");t&&o.mc(e,t)}null===(n=t.asyncRenderCallback)||void 0===n||n.call(t)}),t.asyncRenderCallback)for(let e of w.getElementsByTagName("img")){let i=r.add(o.nm(e,"load",()=>{i.dispose(),t.asyncRenderCallback()}))}return{element:w,dispose:()=>{f=!0,r.dispose()}}}(e,Object.assign(Object.assign({},this._getRenderOptions(e,n)),t),i));return{element:r.element,dispose:()=>n.dispose()}}_getRenderOptions(t,i){return{codeBlockRenderer:(t,i)=>{var n,o,r,s;return n=this,o=void 0,r=void 0,s=function*(){var n,o,r;let s;t?s=this._languageService.getLanguageIdByLanguageName(t):this._options.editor&&(s=null===(n=this._options.editor.getModel())||void 0===n?void 0:n.getLanguageId()),s||(s=E.bd);let a=yield(0,x.C2)(this._languageService,i,s),l=document.createElement("span");if(l.innerHTML=null!==(r=null===(o=e._ttpTokenizer)||void 0===o?void 0:o.createHTML(a))&&void 0!==r?r:a,this._options.editor){let e=this._options.editor.getOption(46);(0,I.N)(l,e)}else this._options.codeBlockFontFamily&&(l.style.fontFamily=this._options.codeBlockFontFamily);return void 0!==this._options.codeBlockFontSize&&(l.style.fontSize=this._options.codeBlockFontSize),l},new(r||(r=Promise))(function(e,t){function i(e){try{l(s.next(e))}catch(e){t(e)}}function a(e){try{l(s.throw(e))}catch(e){t(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof r?n:new r(function(e){e(n)})).then(i,a)}l((s=s.apply(n,o||[])).next())})},asyncRenderCallback:()=>this._onDidRenderAsync.fire(),actionHandler:{callback:e=>this._openerService.open(e,{fromUserGesture:!0,allowContributedOpeners:!0,allowCommands:t.isTrusted}).catch(d.dL),disposables:i}}}};M._ttpTokenizer=null===(n=window.trustedTypes)||void 0===n?void 0:n.createPolicy("tokenizeToString",{createHTML:e=>e}),M=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([T(1,D.O),T(2,N.v4)],M)},27753:function(e,t,i){"use strict";i.d(t,{O:function(){return u}});var n,o=i(85152),r=i(15393),s=i(9917);i(52205);var a=i(16830),l=i(24314),h=i(63580),d=i(38819);let u=class e{constructor(t,i){this._messageWidget=new s.XK,this._messageListeners=new s.SL,this._editor=t,this._visible=e.MESSAGE_VISIBLE.bindTo(i)}static get(t){return t.getContribution(e.ID)}dispose(){this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){let i;(0,o.Z9)(e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new g(this._editor,t,e),this._messageListeners.add(this._editor.onDidBlurEditorText(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(new r._F(()=>this.closeMessage(),3e3)),this._messageListeners.add(this._editor.onMouseMove(e=>{e.target.position&&(i?i.containsPosition(e.target.position)||this.closeMessage():i=new l.e(t.lineNumber-3,1,e.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(g.fadeOut(this._messageWidget.value))}};u.ID="editor.contrib.messageController",u.MESSAGE_VISIBLE=new d.uy("messageVisible",!1,h.NC("messageVisible","Whether the editor is currently showing an inline message")),u=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(n=d.i6,function(e,t){n(e,t,1)})],u);let c=a._l.bindToContribution(u.get);(0,a.fK)(new c({id:"leaveEditorMessage",precondition:u.MESSAGE_VISIBLE,handler:e=>e.closeMessage(),kbOpts:{weight:130,primary:9}}));class g{constructor(e,{lineNumber:t,column:i},n){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:i},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage"),this._domNode.style.marginLeft="-6px";let o=document.createElement("div");o.classList.add("anchor","top"),this._domNode.appendChild(o);let r=document.createElement("div");r.classList.add("message"),r.textContent=n,this._domNode.appendChild(r);let s=document.createElement("div");s.classList.add("anchor","below"),this._domNode.appendChild(s),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}static fadeOut(e){let t=()=>{e.dispose(),clearTimeout(i),e.getDomNode().removeEventListener("animationend",t)},i=setTimeout(t,110);return e.getDomNode().addEventListener("animationend",t),e.getDomNode().classList.add("fadeOut"),{dispose:t}}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2],positionAffinity:1}}afterRender(e){this._domNode.classList.toggle("below",2===e)}}(0,a._K)(u.ID,u)},77061:function(e,t,i){"use strict";var n,o=i(85152),r=i(15393),s=i(22258),a=i(9917),l=i(16830),h=i(28108),d=i(24314),u=i(3860),c=i(29102),g=i(84973),p=i(22529),m=i(55826),f=i(63580),_=i(84144),v=i(38819),C=i(73910),b=i(97781),w=i(71922);function y(e,t){let i=t.filter(t=>!e.find(e=>e.equals(t)));if(i.length>=1){let e=i.map(e=>`line ${e.viewState.position.lineNumber} column ${e.viewState.position.column}`).join(", "),t=1===i.length?f.NC("cursorAdded","Cursor added: {0}",e):f.NC("cursorsAdded","Cursors added: {0}",e);(0,o.i7)(t)}}class S extends l.R6{constructor(){super({id:"editor.action.insertCursorAbove",label:f.NC("mutlicursor.insertAbove","Add Cursor Above"),alias:"Add Cursor Above",precondition:void 0,kbOpts:{kbExpr:c.u.editorTextFocus,primary:2576,linux:{primary:1552,secondary:[3088]},weight:100},menuOpts:{menuId:_.eH.MenubarSelectionMenu,group:"3_multi",title:f.NC({key:"miInsertCursorAbove",comment:["&& denotes a mnemonic"]},"&&Add Cursor Above"),order:2}})}run(e,t,i){if(!t.hasModel())return;let n=!0;i&&!1===i.logicalLine&&(n=!1);let o=t._getViewModel();if(o.cursorConfig.readOnly)return;o.model.pushStackElement();let r=o.getCursorStates();o.setCursorStates(i.source,3,h.P.addCursorUp(o,r,n)),o.revealTopMostCursor(i.source),y(r,o.getCursorStates())}}class L extends l.R6{constructor(){super({id:"editor.action.insertCursorBelow",label:f.NC("mutlicursor.insertBelow","Add Cursor Below"),alias:"Add Cursor Below",precondition:void 0,kbOpts:{kbExpr:c.u.editorTextFocus,primary:2578,linux:{primary:1554,secondary:[3090]},weight:100},menuOpts:{menuId:_.eH.MenubarSelectionMenu,group:"3_multi",title:f.NC({key:"miInsertCursorBelow",comment:["&& denotes a mnemonic"]},"A&&dd Cursor Below"),order:3}})}run(e,t,i){if(!t.hasModel())return;let n=!0;i&&!1===i.logicalLine&&(n=!1);let o=t._getViewModel();if(o.cursorConfig.readOnly)return;o.model.pushStackElement();let r=o.getCursorStates();o.setCursorStates(i.source,3,h.P.addCursorDown(o,r,n)),o.revealBottomMostCursor(i.source),y(r,o.getCursorStates())}}class k extends l.R6{constructor(){super({id:"editor.action.insertCursorAtEndOfEachLineSelected",label:f.NC("mutlicursor.insertAtEndOfEachLineSelected","Add Cursors to Line Ends"),alias:"Add Cursors to Line Ends",precondition:void 0,kbOpts:{kbExpr:c.u.editorTextFocus,primary:1575,weight:100},menuOpts:{menuId:_.eH.MenubarSelectionMenu,group:"3_multi",title:f.NC({key:"miInsertCursorAtEndOfEachLineSelected",comment:["&& denotes a mnemonic"]},"Add C&&ursors to Line Ends"),order:4}})}getCursorsForSelection(e,t,i){if(!e.isEmpty()){for(let n=e.startLineNumber;n1&&i.push(new u.Y(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn))}}run(e,t){if(!t.hasModel())return;let i=t.getModel(),n=t.getSelections(),o=t._getViewModel(),r=o.getCursorStates(),s=[];n.forEach(e=>this.getCursorsForSelection(e,i,s)),s.length>0&&t.setSelections(s),y(r,o.getCursorStates())}}class N extends l.R6{constructor(){super({id:"editor.action.addCursorsToBottom",label:f.NC("mutlicursor.addCursorsToBottom","Add Cursors To Bottom"),alias:"Add Cursors To Bottom",precondition:void 0})}run(e,t){if(!t.hasModel())return;let i=t.getSelections(),n=t.getModel().getLineCount(),o=[];for(let e=i[0].startLineNumber;e<=n;e++)o.push(new u.Y(e,i[0].startColumn,e,i[0].endColumn));let r=t._getViewModel(),s=r.getCursorStates();o.length>0&&t.setSelections(o),y(s,r.getCursorStates())}}class D extends l.R6{constructor(){super({id:"editor.action.addCursorsToTop",label:f.NC("mutlicursor.addCursorsToTop","Add Cursors To Top"),alias:"Add Cursors To Top",precondition:void 0})}run(e,t){if(!t.hasModel())return;let i=t.getSelections(),n=[];for(let e=i[0].startLineNumber;e>=1;e--)n.push(new u.Y(e,i[0].startColumn,e,i[0].endColumn));let o=t._getViewModel(),r=o.getCursorStates();n.length>0&&t.setSelections(n),y(r,o.getCursorStates())}}class x{constructor(e,t,i){this.selections=e,this.revealRange=t,this.revealScrollType=i}}class I{constructor(e,t,i,n,o,r,s){this._editor=e,this.findController=t,this.isDisconnectedFromFindController=i,this.searchText=n,this.wholeWord=o,this.matchCase=r,this.currentMatch=s}static create(e,t){let i,n,o;if(!e.hasModel())return null;let r=t.getState();if(!e.hasTextFocus()&&r.isRevealed&&r.searchString.length>0)return new I(e,t,!1,r.searchString,r.wholeWord,r.matchCase,null);let s=!1,a=e.getSelections();1===a.length&&a[0].isEmpty()?(s=!0,i=!0,n=!0):(i=r.wholeWord,n=r.matchCase);let l=e.getSelection(),h=null;if(l.isEmpty()){let t=e.getConfiguredWordAtPosition(l.getStartPosition());if(!t)return null;o=t.word,h=new u.Y(l.startLineNumber,t.startColumn,l.startLineNumber,t.endColumn)}else o=e.getModel().getValueInRange(l).replace(/\r\n/g,"\n");return new I(e,t,s,o,i,n,h)}addSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;let e=this._getNextMatch();if(!e)return null;let t=this._editor.getSelections();return new x(t.concat(e),e,0)}moveSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;let e=this._getNextMatch();if(!e)return null;let t=this._editor.getSelections();return new x(t.slice(0,t.length-1).concat(e),e,0)}_getNextMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){let e=this.currentMatch;return this.currentMatch=null,e}this.findController.highlightFindOptions();let e=this._editor.getSelections(),t=e[e.length-1],i=this._editor.getModel().findNextMatch(this.searchText,t.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(119):null,!1);return i?new u.Y(i.range.startLineNumber,i.range.startColumn,i.range.endLineNumber,i.range.endColumn):null}addSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;let e=this._getPreviousMatch();if(!e)return null;let t=this._editor.getSelections();return new x(t.concat(e),e,0)}moveSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;let e=this._getPreviousMatch();if(!e)return null;let t=this._editor.getSelections();return new x(t.slice(0,t.length-1).concat(e),e,0)}_getPreviousMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){let e=this.currentMatch;return this.currentMatch=null,e}this.findController.highlightFindOptions();let e=this._editor.getSelections(),t=e[e.length-1],i=this._editor.getModel().findPreviousMatch(this.searchText,t.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(119):null,!1);return i?new u.Y(i.range.startLineNumber,i.range.startColumn,i.range.endLineNumber,i.range.endColumn):null}selectAll(e){if(!this._editor.hasModel())return[];this.findController.highlightFindOptions();let t=this._editor.getModel();return e?t.findMatches(this.searchText,e,!1,this.matchCase,this.wholeWord?this._editor.getOption(119):null,!1,1073741824):t.findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getOption(119):null,!1,1073741824)}}class E extends a.JT{constructor(e){super(),this._sessionDispose=this._register(new a.SL),this._editor=e,this._ignoreSelectionChange=!1,this._session=null}static get(e){return e.getContribution(E.ID)}dispose(){this._endSession(),super.dispose()}_beginSessionIfNeeded(e){if(!this._session){let t=I.create(this._editor,e);if(!t)return;this._session=t;let i={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(i.wholeWordOverride=1,i.matchCaseOverride=1,i.isRegexOverride=2),e.getState().change(i,!1),this._sessionDispose.add(this._editor.onDidChangeCursorSelection(e=>{this._ignoreSelectionChange||this._endSession()})),this._sessionDispose.add(this._editor.onDidBlurEditorText(()=>{this._endSession()})),this._sessionDispose.add(e.getState().onFindReplaceStateChange(e=>{(e.matchCase||e.wholeWord)&&this._endSession()}))}}_endSession(){this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController&&this._session.findController.getState().change({wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0},!1),this._session=null}_setSelections(e){this._ignoreSelectionChange=!0,this._editor.setSelections(e),this._ignoreSelectionChange=!1}_expandEmptyToWord(e,t){if(!t.isEmpty())return t;let i=this._editor.getConfiguredWordAtPosition(t.getStartPosition());return i?new u.Y(t.startLineNumber,i.startColumn,t.startLineNumber,i.endColumn):t}_applySessionResult(e){e&&(this._setSelections(e.selections),e.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(e.revealRange,e.revealScrollType))}getSession(e){return this._session}addSelectionToNextFindMatch(e){if(this._editor.hasModel()){if(!this._session){let t=this._editor.getSelections();if(t.length>1){let i=e.getState(),n=i.matchCase,o=R(this._editor.getModel(),t,n);if(!o){let e=this._editor.getModel(),i=[];for(let n=0,o=t.length;n0&&i.isRegex){let e=this._editor.getModel();t=i.searchScope?e.findMatches(i.searchString,i.searchScope,i.isRegex,i.matchCase,i.wholeWord?this._editor.getOption(119):null,!1,1073741824):e.findMatches(i.searchString,!0,i.isRegex,i.matchCase,i.wholeWord?this._editor.getOption(119):null,!1,1073741824)}else{if(this._beginSessionIfNeeded(e),!this._session)return;t=this._session.selectAll(i.searchScope)}if(t.length>0){let e=this._editor.getSelection();for(let i=0,n=t.length;inew u.Y(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)))}}}E.ID="editor.contrib.multiCursorController";class T extends l.R6{run(e,t){let i=E.get(t);if(!i)return;let n=m.pR.get(t);if(!n)return;let o=t._getViewModel();if(o){let e=o.getCursorStates();this._run(i,n),y(e,o.getCursorStates())}}}class M{constructor(e,t,i,n,o){this._model=e,this._searchText=t,this._matchCase=i,this._wordSeparators=n,this._modelVersionId=this._model.getVersionId(),this._cachedFindMatches=null,o&&this._model===o._model&&this._searchText===o._searchText&&this._matchCase===o._matchCase&&this._wordSeparators===o._wordSeparators&&this._modelVersionId===o._modelVersionId&&(this._cachedFindMatches=o._cachedFindMatches)}findMatches(){return null===this._cachedFindMatches&&(this._cachedFindMatches=this._model.findMatches(this._searchText,!0,!1,this._matchCase,this._wordSeparators,!1).map(e=>e.range),this._cachedFindMatches.sort(d.e.compareRangesUsingStarts)),this._cachedFindMatches}}let A=class e extends a.JT{constructor(e,t){super(),this._languageFeaturesService=t,this.editor=e,this._isEnabled=e.getOption(99),this._decorations=e.createDecorationsCollection(),this.updateSoon=this._register(new r.pY(()=>this._update(),300)),this.state=null,this._register(e.onDidChangeConfiguration(t=>{this._isEnabled=e.getOption(99)})),this._register(e.onDidChangeCursorSelection(e=>{this._isEnabled&&(e.selection.isEmpty()?3===e.reason?(this.state&&this._setState(null),this.updateSoon.schedule()):this._setState(null):this._update())})),this._register(e.onDidChangeModel(e=>{this._setState(null)})),this._register(e.onDidChangeModelContent(e=>{this._isEnabled&&this.updateSoon.schedule()}));let i=m.pR.get(e);i&&this._register(i.getState().onFindReplaceStateChange(e=>{this._update()}))}_update(){this._setState(e._createState(this.state,this._isEnabled,this.editor))}static _createState(e,t,i){if(!t||!i.hasModel())return null;let n=i.getSelection();if(n.startLineNumber!==n.endLineNumber)return null;let o=E.get(i);if(!o)return null;let r=m.pR.get(i);if(!r)return null;let s=o.getSession(r);if(!s){let e=i.getSelections();if(e.length>1){let t=r.getState(),n=t.matchCase,o=R(i.getModel(),e,n);if(!o)return null}s=I.create(i,r)}if(!s||s.currentMatch||/^[ \t]+$/.test(s.searchText)||s.searchText.length>200)return null;let a=r.getState(),l=a.matchCase;if(a.isRevealed){let e=a.searchString;l||(e=e.toLowerCase());let t=s.searchText;if(l||(t=t.toLowerCase()),e===t&&s.matchCase===a.matchCase&&s.wholeWord===a.wholeWord&&!a.isRegex)return null}return new M(i.getModel(),s.searchText,s.matchCase,s.wholeWord?i.getOption(119):null,e)}_setState(t){if(this.state=t,!this.state){this._decorations.clear();return}if(!this.editor.hasModel())return;let i=this.editor.getModel();if(i.isTooLargeForTokenization())return;let n=this.state.findMatches(),o=this.editor.getSelections();o.sort(d.e.compareRangesUsingStarts);let r=[];for(let e=0,t=0,i=n.length,s=o.length;e=s)r.push(i),e++;else{let n=d.e.compareRangesUsingStarts(i,o[t]);n<0?((o[t].isEmpty()||!d.e.areIntersecting(i,o[t]))&&r.push(i),e++):(n>0||e++,t++)}}let s=this._languageFeaturesService.documentHighlightProvider.has(i)&&this.editor.getOption(74),a=r.map(t=>({range:t,options:s?e._SELECTION_HIGHLIGHT:e._SELECTION_HIGHLIGHT_OVERVIEW}));this._decorations.set(a)}dispose(){this._setState(null),super.dispose()}};function R(e,t,i){let n=O(e,t[0],!i);for(let o=1,r=t.length;o=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(n=w.p,function(e,t){n(e,t,1)})],A);class P extends l.R6{constructor(){super({id:"editor.action.focusNextCursor",label:f.NC("mutlicursor.focusNextCursor","Focus Next Cursor"),description:{description:f.NC("mutlicursor.focusNextCursor.description","Focuses the next cursor"),args:[]},alias:"Focus Next Cursor",precondition:void 0})}run(e,t,i){if(!t.hasModel())return;let n=t._getViewModel();if(n.cursorConfig.readOnly)return;n.model.pushStackElement();let o=Array.from(n.getCursorStates()),r=o.shift();r&&(o.push(r),n.setCursorStates(i.source,3,o),n.revealPrimaryCursor(i.source,!0),y(o,n.getCursorStates()))}}class F extends l.R6{constructor(){super({id:"editor.action.focusPreviousCursor",label:f.NC("mutlicursor.focusPreviousCursor","Focus Previous Cursor"),description:{description:f.NC("mutlicursor.focusPreviousCursor.description","Focuses the previous cursor"),args:[]},alias:"Focus Previous Cursor",precondition:void 0})}run(e,t,i){if(!t.hasModel())return;let n=t._getViewModel();if(n.cursorConfig.readOnly)return;n.model.pushStackElement();let o=Array.from(n.getCursorStates()),r=o.pop();r&&(o.unshift(r),n.setCursorStates(i.source,3,o),n.revealPrimaryCursor(i.source,!0),y(o,n.getCursorStates()))}}(0,l._K)(E.ID,E),(0,l._K)(A.ID,A),(0,l.Qr)(S),(0,l.Qr)(L),(0,l.Qr)(k),(0,l.Qr)(class extends T{constructor(){super({id:"editor.action.addSelectionToNextFindMatch",label:f.NC("addSelectionToNextFindMatch","Add Selection To Next Find Match"),alias:"Add Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:c.u.focus,primary:2082,weight:100},menuOpts:{menuId:_.eH.MenubarSelectionMenu,group:"3_multi",title:f.NC({key:"miAddSelectionToNextFindMatch",comment:["&& denotes a mnemonic"]},"Add &&Next Occurrence"),order:5}})}_run(e,t){e.addSelectionToNextFindMatch(t)}}),(0,l.Qr)(class extends T{constructor(){super({id:"editor.action.addSelectionToPreviousFindMatch",label:f.NC("addSelectionToPreviousFindMatch","Add Selection To Previous Find Match"),alias:"Add Selection To Previous Find Match",precondition:void 0,menuOpts:{menuId:_.eH.MenubarSelectionMenu,group:"3_multi",title:f.NC({key:"miAddSelectionToPreviousFindMatch",comment:["&& denotes a mnemonic"]},"Add P&&revious Occurrence"),order:6}})}_run(e,t){e.addSelectionToPreviousFindMatch(t)}}),(0,l.Qr)(class extends T{constructor(){super({id:"editor.action.moveSelectionToNextFindMatch",label:f.NC("moveSelectionToNextFindMatch","Move Last Selection To Next Find Match"),alias:"Move Last Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:c.u.focus,primary:(0,s.gx)(2089,2082),weight:100}})}_run(e,t){e.moveSelectionToNextFindMatch(t)}}),(0,l.Qr)(class extends T{constructor(){super({id:"editor.action.moveSelectionToPreviousFindMatch",label:f.NC("moveSelectionToPreviousFindMatch","Move Last Selection To Previous Find Match"),alias:"Move Last Selection To Previous Find Match",precondition:void 0})}_run(e,t){e.moveSelectionToPreviousFindMatch(t)}}),(0,l.Qr)(class extends T{constructor(){super({id:"editor.action.selectHighlights",label:f.NC("selectAllOccurrencesOfFindMatch","Select All Occurrences of Find Match"),alias:"Select All Occurrences of Find Match",precondition:void 0,kbOpts:{kbExpr:c.u.focus,primary:3114,weight:100},menuOpts:{menuId:_.eH.MenubarSelectionMenu,group:"3_multi",title:f.NC({key:"miSelectHighlights",comment:["&& denotes a mnemonic"]},"Select All &&Occurrences"),order:7}})}_run(e,t){e.selectAll(t)}}),(0,l.Qr)(class extends T{constructor(){super({id:"editor.action.changeAll",label:f.NC("changeAll.label","Change All Occurrences"),alias:"Change All Occurrences",precondition:v.Ao.and(c.u.writable,c.u.editorTextFocus),kbOpts:{kbExpr:c.u.editorTextFocus,primary:2108,weight:100},contextMenuOpts:{group:"1_modification",order:1.2}})}_run(e,t){e.selectAll(t)}}),(0,l.Qr)(N),(0,l.Qr)(D),(0,l.Qr)(P),(0,l.Qr)(F)},97660:function(e,t,i){"use strict";var n,o,r,s=i(9917),a=i(16830),l=i(29102),h=i(43155),d=i(71050),u=i(17301),c=i(98401),g=i(70666),p=i(50187),m=i(71922),f=i(88216),_=i(94565),v=i(38819),C=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let b={Visible:new v.uy("parameterHintsVisible",!1),MultipleSignatures:new v.uy("parameterHintsMultipleSignatures",!1)};function w(e,t,i,n,o){return C(this,void 0,void 0,function*(){let r=e.ordered(t);for(let e of r)try{let r=yield e.provideSignatureHelp(t,i,o,n);if(r)return r}catch(e){(0,u.Cp)(e)}})}_.P0.registerCommand("_executeSignatureHelpProvider",(e,...t)=>C(void 0,void 0,void 0,function*(){let[i,n,o]=t;(0,c.p_)(g.o.isUri(i)),(0,c.p_)(p.L.isIPosition(n)),(0,c.p_)("string"==typeof o||!o);let r=e.get(m.p),s=yield e.get(f.S).createModelReference(i);try{let e=yield w(r.signatureHelpProvider,s.object.textEditorModel,p.L.lift(n),{triggerKind:h.WW.Invoke,isRetrigger:!1,triggerCharacter:o},d.T.None);if(!e)return;return setTimeout(()=>e.dispose(),0),e.value}finally{s.dispose()}}));var y=i(63580),S=i(72065),L=i(65321),k=i(85152),N=i(63161),D=i(73046),x=i(4669),I=i(97295);i(51397);var E=i(72042),T=i(51318),M=i(15393),A=i(44906);(n=r||(r={})).Default={type:0},n.Pending=class{constructor(e,t){this.request=e,this.previouslyActiveHints=t,this.type=2}},n.Active=class{constructor(e){this.hints=e,this.type=1}};class R extends s.JT{constructor(e,t,i=R.DEFAULT_DELAY){super(),this._onChangedHints=this._register(new x.Q5),this.onChangedHints=this._onChangedHints.event,this.triggerOnType=!1,this._state=r.Default,this._pendingTriggers=[],this._lastSignatureHelpResult=this._register(new s.XK),this.triggerChars=new A.q,this.retriggerChars=new A.q,this.triggerId=0,this.editor=e,this.providers=t,this.throttledDelayer=new M.vp(i),this._register(this.editor.onDidBlurEditorWidget(()=>this.cancel())),this._register(this.editor.onDidChangeConfiguration(()=>this.onEditorConfigurationChange())),this._register(this.editor.onDidChangeModel(e=>this.onModelChanged())),this._register(this.editor.onDidChangeModelLanguage(e=>this.onModelChanged())),this._register(this.editor.onDidChangeCursorSelection(e=>this.onCursorChange(e))),this._register(this.editor.onDidChangeModelContent(e=>this.onModelContentChange())),this._register(this.providers.onDidChange(this.onModelChanged,this)),this._register(this.editor.onDidType(e=>this.onDidType(e))),this.onEditorConfigurationChange(),this.onModelChanged()}get state(){return this._state}set state(e){2===this._state.type&&this._state.request.cancel(),this._state=e}cancel(e=!1){this.state=r.Default,this.throttledDelayer.cancel(),e||this._onChangedHints.fire(void 0)}trigger(e,t){let i=this.editor.getModel();if(!i||!this.providers.has(i))return;let n=++this.triggerId;this._pendingTriggers.push(e),this.throttledDelayer.trigger(()=>this.doTrigger(n),t).catch(u.dL)}next(){if(1!==this.state.type)return;let e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,i=t%e==e-1,n=this.editor.getOption(78).cycle;if((e<2||i)&&!n){this.cancel();return}this.updateActiveSignature(i&&n?0:t+1)}previous(){if(1!==this.state.type)return;let e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,i=0===t,n=this.editor.getOption(78).cycle;if((e<2||i)&&!n){this.cancel();return}this.updateActiveSignature(i&&n?e-1:t-1)}updateActiveSignature(e){1===this.state.type&&(this.state=new r.Active(Object.assign(Object.assign({},this.state.hints),{activeSignature:e})),this._onChangedHints.fire(this.state.hints))}doTrigger(e){var t,i,n,o;return t=this,i=void 0,n=void 0,o=function*(){let t=1===this.state.type||2===this.state.type,i=this.getLastActiveHints();if(this.cancel(!0),0===this._pendingTriggers.length)return!1;let n=this._pendingTriggers.reduce(O);this._pendingTriggers=[];let o={triggerKind:n.triggerKind,triggerCharacter:n.triggerCharacter,isRetrigger:t,activeSignatureHelp:i};if(!this.editor.hasModel())return!1;let s=this.editor.getModel(),a=this.editor.getPosition();this.state=new r.Pending((0,M.PG)(e=>w(this.providers,s,a,o,e)),i);try{let t=yield this.state.request;if(e!==this.triggerId)return null==t||t.dispose(),!1;if(!t||!t.value.signatures||0===t.value.signatures.length)return null==t||t.dispose(),this._lastSignatureHelpResult.clear(),this.cancel(),!1;return this.state=new r.Active(t.value),this._lastSignatureHelpResult.value=t,this._onChangedHints.fire(this.state.hints),!0}catch(t){return e===this.triggerId&&(this.state=r.Default),(0,u.dL)(t),!1}},new(n||(n=Promise))(function(e,r){function s(e){try{l(o.next(e))}catch(e){r(e)}}function a(e){try{l(o.throw(e))}catch(e){r(e)}}function l(t){var i;t.done?e(t.value):((i=t.value)instanceof n?i:new n(function(e){e(i)})).then(s,a)}l((o=o.apply(t,i||[])).next())})}getLastActiveHints(){switch(this.state.type){case 1:return this.state.hints;case 2:return this.state.previouslyActiveHints;default:return}}get isTriggered(){return 1===this.state.type||2===this.state.type||this.throttledDelayer.isTriggered()}onModelChanged(){this.cancel(),this.triggerChars=new A.q,this.retriggerChars=new A.q;let e=this.editor.getModel();if(e)for(let t of this.providers.ordered(e)){for(let e of t.signatureHelpTriggerCharacters||[])this.triggerChars.add(e.charCodeAt(0)),this.retriggerChars.add(e.charCodeAt(0));for(let e of t.signatureHelpRetriggerCharacters||[])this.retriggerChars.add(e.charCodeAt(0))}}onDidType(e){if(!this.triggerOnType)return;let t=e.length-1,i=e.charCodeAt(t);(this.triggerChars.has(i)||this.isTriggered&&this.retriggerChars.has(i))&&this.trigger({triggerKind:h.WW.TriggerCharacter,triggerCharacter:e.charAt(t)})}onCursorChange(e){"mouse"===e.source?this.cancel():this.isTriggered&&this.trigger({triggerKind:h.WW.ContentChange})}onModelContentChange(){this.isTriggered&&this.trigger({triggerKind:h.WW.ContentChange})}onEditorConfigurationChange(){this.triggerOnType=this.editor.getOption(78).enabled,this.triggerOnType||this.cancel()}dispose(){this.cancel(!0),super.dispose()}}function O(e,t){switch(t.triggerKind){case h.WW.Invoke:return t;case h.WW.ContentChange:return e;case h.WW.TriggerCharacter:default:return t}}R.DEFAULT_DELAY=120;var P=i(50988),F=i(73910),B=i(59554),V=i(92321),W=i(97781),H=function(e,t){return function(i,n){t(i,n,e)}};let z=L.$,K=(0,B.q5)("parameter-hints-next",D.lA.chevronDown,y.NC("parameterHintsNextIcon","Icon for show next parameter hint.")),U=(0,B.q5)("parameter-hints-previous",D.lA.chevronUp,y.NC("parameterHintsPreviousIcon","Icon for show previous parameter hint.")),$=class e extends s.JT{constructor(e,t,i,n,o){super(),this.editor=e,this.renderDisposeables=this._register(new s.SL),this.visible=!1,this.announcedLabel=null,this.allowEditorOverflow=!0,this.markdownRenderer=this._register(new T.$({editor:e},n,i)),this.model=this._register(new R(e,o.signatureHelpProvider)),this.keyVisible=b.Visible.bindTo(t),this.keyMultipleSignatures=b.MultipleSignatures.bindTo(t),this._register(this.model.onChangedHints(e=>{e?(this.show(),this.render(e)):this.hide()}))}createParameterHintDOMNodes(){let e=z(".editor-widget.parameter-hints-widget"),t=L.R3(e,z(".phwrapper"));t.tabIndex=-1;let i=L.R3(t,z(".controls")),n=L.R3(i,z(".button"+W.kS.asCSSSelector(U))),o=L.R3(i,z(".overloads")),r=L.R3(i,z(".button"+W.kS.asCSSSelector(K)));this._register(L.nm(n,"click",e=>{L.zB.stop(e),this.previous()})),this._register(L.nm(r,"click",e=>{L.zB.stop(e),this.next()}));let s=z(".body"),a=new N.s$(s,{alwaysConsumeMouseWheel:!0});this._register(a),t.appendChild(a.getDomNode());let l=L.R3(s,z(".signature")),h=L.R3(s,z(".docs"));e.style.userSelect="text",this.domNodes={element:e,signature:l,overloads:o,docs:h,scrollbar:a},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection(e=>{this.visible&&this.editor.layoutContentWidget(this)}));let d=()=>{if(!this.domNodes)return;let e=this.editor.getOption(46);this.domNodes.element.style.fontSize=`${e.fontSize}px`,this.domNodes.element.style.lineHeight=`${e.lineHeight/e.fontSize}`};d(),this._register(x.ju.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(e=>e.hasChanged(46)).on(d,null)),this._register(this.editor.onDidLayoutChange(e=>this.updateMaxHeight())),this.updateMaxHeight()}show(){this.visible||(this.domNodes||this.createParameterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout(()=>{var e;null===(e=this.domNodes)||void 0===e||e.element.classList.add("visible")},100),this.editor.layoutContentWidget(this))}hide(){var e;this.renderDisposeables.clear(),this.visible&&(this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,null===(e=this.domNodes)||void 0===e||e.element.classList.remove("visible"),this.editor.layoutContentWidget(this))}getPosition(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null}render(e){var t;if(this.renderDisposeables.clear(),!this.domNodes)return;let i=e.signatures.length>1;this.domNodes.element.classList.toggle("multiple",i),this.keyMultipleSignatures.set(i),this.domNodes.signature.innerText="",this.domNodes.docs.innerText="";let n=e.signatures[e.activeSignature];if(!n)return;let o=L.R3(this.domNodes.signature,z(".code")),r=this.editor.getOption(46);o.style.fontSize=`${r.fontSize}px`,o.style.fontFamily=r.fontFamily;let s=n.parameters.length>0,a=null!==(t=n.activeParameter)&&void 0!==t?t:e.activeParameter;if(s)this.renderParameters(o,n,a);else{let e=L.R3(o,z("span"));e.textContent=n.label}let l=n.parameters[a];if(null==l?void 0:l.documentation){let e=z("span.documentation");if("string"==typeof l.documentation)e.textContent=l.documentation;else{let t=this.renderMarkdownDocs(l.documentation);e.appendChild(t.element)}L.R3(this.domNodes.docs,z("p",{},e))}if(void 0===n.documentation);else if("string"==typeof n.documentation)L.R3(this.domNodes.docs,z("p",{},n.documentation));else{let e=this.renderMarkdownDocs(n.documentation);L.R3(this.domNodes.docs,e.element)}let h=this.hasDocs(n,l);if(this.domNodes.signature.classList.toggle("has-docs",h),this.domNodes.docs.classList.toggle("empty",!h),this.domNodes.overloads.textContent=String(e.activeSignature+1).padStart(e.signatures.length.toString().length,"0")+"/"+e.signatures.length,l){let e="",t=n.parameters[a];e=Array.isArray(t.label)?n.label.substring(t.label[0],t.label[1]):t.label,t.documentation&&(e+="string"==typeof t.documentation?`, ${t.documentation}`:`, ${t.documentation.value}`),n.documentation&&(e+="string"==typeof n.documentation?`, ${n.documentation}`:`, ${n.documentation.value}`),this.announcedLabel!==e&&(k.Z9(y.NC("hint","{0}, hint",e)),this.announcedLabel=e)}this.editor.layoutContentWidget(this),this.domNodes.scrollbar.scanDomNode()}renderMarkdownDocs(e){let t=this.renderDisposeables.add(this.markdownRenderer.render(e,{asyncRenderCallback:()=>{var e;null===(e=this.domNodes)||void 0===e||e.scrollbar.scanDomNode()}}));return t.element.classList.add("markdown-docs"),t}hasDocs(e,t){return!!t&&"string"==typeof t.documentation&&(0,c.cW)(t.documentation).length>0||!!t&&"object"==typeof t.documentation&&(0,c.cW)(t.documentation).value.length>0||!!e.documentation&&"string"==typeof e.documentation&&(0,c.cW)(e.documentation).length>0||!!e.documentation&&"object"==typeof e.documentation&&(0,c.cW)(e.documentation.value).length>0}renderParameters(e,t,i){let[n,o]=this.getParameterLabelOffsets(t,i),r=document.createElement("span");r.textContent=t.label.substring(0,n);let s=document.createElement("span");s.textContent=t.label.substring(n,o),s.className="parameter active";let a=document.createElement("span");a.textContent=t.label.substring(o),L.R3(e,r,s,a)}getParameterLabelOffsets(e,t){let i=e.parameters[t];if(!i)return[0,0];if(Array.isArray(i.label))return i.label;if(!i.label.length)return[0,0];{let t=RegExp(`(\\W|^)${(0,I.ec)(i.label)}(?=\\W|$)`,"g");t.test(e.label);let n=t.lastIndex-i.label.length;return n>=0?[n,t.lastIndex]:[0,0]}}next(){this.editor.focus(),this.model.next()}previous(){this.editor.focus(),this.model.previous()}cancel(){this.model.cancel()}getDomNode(){return this.domNodes||this.createParameterHintDOMNodes(),this.domNodes.element}getId(){return e.ID}trigger(e){this.model.trigger(e,0)}updateMaxHeight(){if(!this.domNodes)return;let e=Math.max(this.editor.getLayoutInfo().height/4,250),t=`${e}px`;this.domNodes.element.style.maxHeight=t;let i=this.domNodes.element.getElementsByClassName("phwrapper");i.length&&(i[0].style.maxHeight=t)}};$.ID="editor.widget.parameterHintsWidget",$=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([H(1,v.i6),H(2,P.v4),H(3,E.O),H(4,m.p)],$);let j=(0,F.P6G)("editorHoverWidget.highlightForeground",{dark:F.Gwp,light:F.Gwp,hcDark:F.Gwp,hcLight:F.Gwp},y.NC("editorHoverWidgetHighlightForeground","Foreground color of the active item in the parameter hint."));(0,W.Ic)((e,t)=>{let i=e.getColor(F.CNo);if(i){let n=(0,V.c3)(e.type)?2:1;t.addRule(`.monaco-editor .parameter-hints-widget { border: ${n}px solid ${i}; }`),t.addRule(`.monaco-editor .parameter-hints-widget.multiple .body { border-left: 1px solid ${i.transparent(.5)}; }`),t.addRule(`.monaco-editor .parameter-hints-widget .signature.has-docs { border-bottom: 1px solid ${i.transparent(.5)}; }`)}let n=e.getColor(F.yJx);n&&t.addRule(`.monaco-editor .parameter-hints-widget { background-color: ${n}; }`);let o=e.getColor(F.url);o&&t.addRule(`.monaco-editor .parameter-hints-widget a { color: ${o}; }`);let r=e.getColor(F.sgC);r&&t.addRule(`.monaco-editor .parameter-hints-widget a:hover { color: ${r}; }`);let s=e.getColor(F.Sbf);s&&t.addRule(`.monaco-editor .parameter-hints-widget { color: ${s}; }`);let a=e.getColor(F.SwI);a&&t.addRule(`.monaco-editor .parameter-hints-widget code { background-color: ${a}; }`);let l=e.getColor(j);l&&t.addRule(`.monaco-editor .parameter-hints-widget .parameter.active { color: ${l}}`)});let q=class e extends s.JT{constructor(e,t){super(),this.editor=e,this.widget=this._register(t.createInstance($,this.editor))}static get(t){return t.getContribution(e.ID)}cancel(){this.widget.cancel()}previous(){this.widget.previous()}next(){this.widget.next()}trigger(e){this.widget.trigger(e)}};q.ID="editor.controller.parameterHints",q=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(o=S.TG,function(e,t){o(e,t,1)})],q);class G extends a.R6{constructor(){super({id:"editor.action.triggerParameterHints",label:y.NC("parameterHints.trigger.label","Trigger Parameter Hints"),alias:"Trigger Parameter Hints",precondition:l.u.hasSignatureHelpProvider,kbOpts:{kbExpr:l.u.editorTextFocus,primary:3082,weight:100}})}run(e,t){let i=q.get(t);i&&i.trigger({triggerKind:h.WW.Invoke})}}(0,a._K)(q.ID,q),(0,a.Qr)(G);let Q=a._l.bindToContribution(q.get);(0,a.fK)(new Q({id:"closeParameterHints",precondition:b.Visible,handler:e=>e.cancel(),kbOpts:{weight:175,kbExpr:l.u.focus,primary:9,secondary:[1033]}})),(0,a.fK)(new Q({id:"showPrevParameterHint",precondition:v.Ao.and(b.Visible,b.MultipleSignatures),handler:e=>e.previous(),kbOpts:{weight:175,kbExpr:l.u.focus,primary:16,secondary:[528],mac:{primary:16,secondary:[528,302]}}})),(0,a.fK)(new Q({id:"showNextParameterHint",precondition:v.Ao.and(b.Visible,b.MultipleSignatures),handler:e=>e.next(),kbOpts:{weight:175,kbExpr:l.u.focus,primary:18,secondary:[530],mac:{primary:18,secondary:[530,300]}}}))},36943:function(e,t,i){"use strict";i.d(t,{Fw:function(){return R},Jy:function(){return o},vk:function(){return B},rc:function(){return P},SC:function(){return z},M8:function(){return K},KY:function(){return V},IH:function(){return W},R7:function(){return H}});var n,o,r=i(65321),s=i(90317),a=i(74741),l=i(73046),h=i(41264),d=i(4669),u=i(36248);i(13791);var c=i(16830),g=i(11640),p=i(84527),m=i(73098),f=i(44742),_=i(9917);i(96909);var v=i(24314),C=i(22529);let b=new h.Il(new h.VS(0,122,204)),w={showArrow:!0,showFrame:!0,className:"",frameColor:b,arrowColor:b,keepEditorSelection:!1};class y{constructor(e,t,i,n,o,r){this.id="",this.domNode=e,this.afterLineNumber=t,this.afterColumn=i,this.heightInLines=n,this._onDomNodeTop=o,this._onComputedHeight=r}onDomNodeTop(e){this._onDomNodeTop(e)}onComputedHeight(e){this._onComputedHeight(e)}}class S{constructor(e,t){this._id=e,this._domNode=t}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}class L{constructor(e){this._editor=e,this._ruleName=L._IdGenerator.nextId(),this._decorations=this._editor.createDecorationsCollection(),this._color=null,this._height=-1}dispose(){this.hide(),r.uN(this._ruleName)}set color(e){this._color!==e&&(this._color=e,this._updateStyle())}set height(e){this._height!==e&&(this._height=e,this._updateStyle())}_updateStyle(){r.uN(this._ruleName),r.fk(`.monaco-editor ${this._ruleName}`,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px; margin-left: -${this._height}px; `)}show(e){1===e.column&&(e={lineNumber:e.lineNumber,column:2}),this._decorations.set([{range:v.e.fromPositions(e),options:{description:"zone-widget-arrow",className:this._ruleName,stickiness:1}}])}hide(){this._decorations.clear()}}L._IdGenerator=new f.R(".arrow-decoration-");class k{constructor(e,t={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._viewZone=null,this._disposables=new _.SL,this.container=null,this._isShowing=!1,this.editor=e,this._positionMarkerId=this.editor.createDecorationsCollection(),this.options=u.I8(t),u.jB(this.options,w,!1),this.domNode=document.createElement("div"),this.options.isAccessible||(this.domNode.setAttribute("aria-hidden","true"),this.domNode.setAttribute("role","presentation")),this._disposables.add(this.editor.onDidLayoutChange(e=>{let t=this._getWidth(e);this.domNode.style.width=t+"px",this.domNode.style.left=this._getLeft(e)+"px",this._onWidth(t)}))}dispose(){this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._viewZone=null}),this._positionMarkerId.clear(),this._disposables.dispose()}create(){this.domNode.classList.add("zone-widget"),this.options.className&&this.domNode.classList.add(this.options.className),this.container=document.createElement("div"),this.container.classList.add("zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new L(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()}style(e){e.frameColor&&(this.options.frameColor=e.frameColor),e.arrowColor&&(this.options.arrowColor=e.arrowColor),this._applyStyles()}_applyStyles(){if(this.container&&this.options.frameColor){let e=this.options.frameColor.toString();this.container.style.borderTopColor=e,this.container.style.borderBottomColor=e}if(this._arrow&&this.options.arrowColor){let e=this.options.arrowColor.toString();this._arrow.color=e}}_getWidth(e){return e.width-e.minimap.minimapWidth-e.verticalScrollbarWidth}_getLeft(e){return e.minimap.minimapWidth>0&&0===e.minimap.minimapLeft?e.minimap.minimapWidth:0}_onViewZoneTop(e){this.domNode.style.top=e+"px"}_onViewZoneHeight(e){if(this.domNode.style.height=`${e}px`,this.container){let t=e-this._decoratingElementsHeight();this.container.style.height=`${t}px`;let i=this.editor.getLayoutInfo();this._doLayout(t,this._getWidth(i))}this._resizeSash&&this._resizeSash.layout()}get position(){let e=this._positionMarkerId.getRange(0);if(e)return e.getStartPosition()}show(e,t){let i=v.e.isIRange(e)?v.e.lift(e):v.e.fromPositions(e);this._isShowing=!0,this._showImpl(i,t),this._isShowing=!1,this._positionMarkerId.set([{range:i,options:C.qx.EMPTY}])}hide(){this._viewZone&&(this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._arrow&&this._arrow.hide()}_decoratingElementsHeight(){let e=this.editor.getOption(61),t=0;return this.options.showArrow&&(t+=2*Math.round(e/3)),this.options.showFrame&&(t+=2*Math.round(e/9)),t}_showImpl(e,t){let i=e.getStartPosition(),n=this.editor.getLayoutInfo(),o=this._getWidth(n);this.domNode.style.width=`${o}px`,this.domNode.style.left=this._getLeft(n)+"px";let r=document.createElement("div");r.style.overflow="hidden";let s=this.editor.getOption(61),a=Math.max(12,this.editor.getLayoutInfo().height/s*.8);t=Math.min(t,a);let l=0,h=0;if(this._arrow&&this.options.showArrow&&(l=Math.round(s/3),this._arrow.height=l,this._arrow.show(i)),this.options.showFrame&&(h=Math.round(s/9)),this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top="-1000px",this._viewZone=new y(r,i.lineNumber,i.column,t,e=>this._onViewZoneTop(e),e=>this._onViewZoneHeight(e)),this._viewZone.id=e.addZone(this._viewZone),this._overlayWidget=new S("vs.editor.contrib.zoneWidget"+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)}),this.container&&this.options.showFrame){let e=this.options.frameWidth?this.options.frameWidth:h;this.container.style.borderTopWidth=e+"px",this.container.style.borderBottomWidth=e+"px"}let d=t*s-this._decoratingElementsHeight();this.container&&(this.container.style.top=l+"px",this.container.style.height=d+"px",this.container.style.overflow="hidden"),this._doLayout(d,o),this.options.keepEditorSelection||this.editor.setSelection(e);let u=this.editor.getModel();if(u){let t=e.endLineNumber+1;t<=u.getLineCount()?this.revealLine(t,!1):this.revealLine(u.getLineCount(),!0)}}revealLine(e,t){t?this.editor.revealLineInCenter(e,0):this.editor.revealLine(e,0)}setCssClass(e,t){this.container&&(t&&this.container.classList.remove(t),this.container.classList.add(e))}_onWidth(e){}_doLayout(e,t){}_relayout(e){this._viewZone&&this._viewZone.heightInLines!==e&&this.editor.changeViewZones(t=>{this._viewZone&&(this._viewZone.heightInLines=e,t.layoutZone(this._viewZone.id))})}_initSash(){let e;this._resizeSash||(this._resizeSash=this._disposables.add(new m.g(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.state=0),this._disposables.add(this._resizeSash.onDidStart(t=>{this._viewZone&&(e={startY:t.startY,heightInLines:this._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(()=>{e=void 0})),this._disposables.add(this._resizeSash.onDidChange(t=>{if(e){let i=(t.currentY-e.startY)/this.editor.getOption(61),n=e.heightInLines+(i<0?Math.ceil(i):Math.floor(i));n>5&&n<35&&this._relayout(n)}})))}getHorizontalSashLeft(){return 0}getHorizontalSashTop(){return(null===this.domNode.style.height?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2}getHorizontalSashWidth(){let e=this.editor.getLayoutInfo();return e.width-e.minimap.minimapWidth}}var N=i(63580),D=i(84167),x=i(38819),I=i(65026),E=i(72065),T=i(73910),M=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},A=function(e,t){return function(i,n){t(i,n,e)}};let R=(0,E.yh)("IPeekViewService");(0,I.z)(R,class{constructor(){this._widgets=new Map}addExclusiveWidget(e,t){let i=this._widgets.get(e);i&&(i.listener.dispose(),i.widget.dispose()),this._widgets.set(e,{widget:t,listener:t.onDidClose(()=>{let i=this._widgets.get(e);i&&i.widget===t&&(i.listener.dispose(),this._widgets.delete(e))})})}}),(n=o||(o={})).inPeekEditor=new x.uy("inReferenceSearchEditor",!0,N.NC("inReferenceSearchEditor","Whether the current code editor is embedded inside peek")),n.notInPeekEditor=n.inPeekEditor.toNegated();let O=class{constructor(e,t){e instanceof p.H&&o.inPeekEditor.bindTo(t)}dispose(){}};function P(e){let t=e.get(g.$).getFocusedCodeEditor();return t instanceof p.H?t.getParentEditor():t}O.ID="editor.contrib.referenceController",O=M([A(1,x.i6)],O),(0,c._K)(O.ID,O);let F={headerBackgroundColor:h.Il.white,primaryHeadingColor:h.Il.fromHex("#333333"),secondaryHeadingColor:h.Il.fromHex("#6c6c6cb3")},B=class extends k{constructor(e,t,i){super(e,t),this.instantiationService=i,this._onDidClose=new d.Q5,this.onDidClose=this._onDidClose.event,u.jB(this.options,F,!1)}dispose(){this.disposed||(this.disposed=!0,super.dispose(),this._onDidClose.fire(this))}style(e){let t=this.options;e.headerBackgroundColor&&(t.headerBackgroundColor=e.headerBackgroundColor),e.primaryHeadingColor&&(t.primaryHeadingColor=e.primaryHeadingColor),e.secondaryHeadingColor&&(t.secondaryHeadingColor=e.secondaryHeadingColor),super.style(e)}_applyStyles(){super._applyStyles();let e=this.options;this._headElement&&e.headerBackgroundColor&&(this._headElement.style.backgroundColor=e.headerBackgroundColor.toString()),this._primaryHeading&&e.primaryHeadingColor&&(this._primaryHeading.style.color=e.primaryHeadingColor.toString()),this._secondaryHeading&&e.secondaryHeadingColor&&(this._secondaryHeading.style.color=e.secondaryHeadingColor.toString()),this._bodyElement&&e.frameColor&&(this._bodyElement.style.borderColor=e.frameColor.toString())}_fillContainer(e){this.setCssClass("peekview-widget"),this._headElement=r.$(".head"),this._bodyElement=r.$(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),e.appendChild(this._headElement),e.appendChild(this._bodyElement)}_fillHead(e,t){let i=r.$(".peekview-title");this.options.supportOnTitleClick&&(i.classList.add("clickable"),r.mu(i,"click",e=>this._onTitleClick(e))),r.R3(this._headElement,i),this._fillTitleIcon(i),this._primaryHeading=r.$("span.filename"),this._secondaryHeading=r.$("span.dirname"),this._metaHeading=r.$("span.meta"),r.R3(i,this._primaryHeading,this._secondaryHeading,this._metaHeading);let n=r.$(".peekview-actions");r.R3(this._headElement,n);let o=this._getActionBarOptions();this._actionbarWidget=new s.o(n,o),this._disposables.add(this._actionbarWidget),t||this._actionbarWidget.push(new a.aU("peekview.close",N.NC("label.close","Close"),l.lA.close.classNames,!0,()=>(this.dispose(),Promise.resolve())),{label:!1,icon:!0})}_fillTitleIcon(e){}_getActionBarOptions(){return{actionViewItemProvider:D.Id.bind(void 0,this.instantiationService),orientation:0}}_onTitleClick(e){}setTitle(e,t){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerText=e,this._primaryHeading.setAttribute("title",e),t?this._secondaryHeading.innerText=t:r.PO(this._secondaryHeading))}setMetaTitle(e){this._metaHeading&&(e?(this._metaHeading.innerText=e,r.$Z(this._metaHeading)):r.Cp(this._metaHeading))}_doLayout(e,t){if(!this._isShowing&&e<0){this.dispose();return}let i=Math.ceil(1.2*this.editor.getOption(61)),n=Math.round(e-(i+2));this._doLayoutHead(i,t),this._doLayoutBody(n,t)}_doLayoutHead(e,t){this._headElement&&(this._headElement.style.height=`${e}px`,this._headElement.style.lineHeight=this._headElement.style.height)}_doLayoutBody(e,t){this._bodyElement&&(this._bodyElement.style.height=`${e}px`)}};B=M([A(2,E.TG)],B);let V=(0,T.P6G)("peekViewTitle.background",{dark:(0,T.ZnX)(T.c63,.1),light:(0,T.ZnX)(T.c63,.1),hcDark:null,hcLight:null},N.NC("peekViewTitleBackground","Background color of the peek view title area.")),W=(0,T.P6G)("peekViewTitleLabel.foreground",{dark:h.Il.white,light:h.Il.black,hcDark:h.Il.white,hcLight:T.NOs},N.NC("peekViewTitleForeground","Color of the peek view title.")),H=(0,T.P6G)("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161",hcDark:"#FFFFFF99",hcLight:"#292929"},N.NC("peekViewTitleInfoForeground","Color of the peek view title info.")),z=(0,T.P6G)("peekView.border",{dark:T.c63,light:T.c63,hcDark:T.lRK,hcLight:T.lRK},N.NC("peekViewBorder","Color of the peek view borders and arrow.")),K=(0,T.P6G)("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hcDark:h.Il.black,hcLight:h.Il.white},N.NC("peekViewResultsBackground","Background color of the peek view result list."));(0,T.P6G)("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hcDark:h.Il.white,hcLight:T.NOs},N.NC("peekViewResultsMatchForeground","Foreground color for line nodes in the peek view result list.")),(0,T.P6G)("peekViewResult.fileForeground",{dark:h.Il.white,light:"#1E1E1E",hcDark:h.Il.white,hcLight:T.NOs},N.NC("peekViewResultsFileForeground","Foreground color for file nodes in the peek view result list.")),(0,T.P6G)("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hcDark:null,hcLight:null},N.NC("peekViewResultsSelectionBackground","Background color of the selected entry in the peek view result list.")),(0,T.P6G)("peekViewResult.selectionForeground",{dark:h.Il.white,light:"#6C6C6C",hcDark:h.Il.white,hcLight:T.NOs},N.NC("peekViewResultsSelectionForeground","Foreground color of the selected entry in the peek view result list."));let U=(0,T.P6G)("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hcDark:h.Il.black,hcLight:h.Il.white},N.NC("peekViewEditorBackground","Background color of the peek view editor."));(0,T.P6G)("peekViewEditorGutter.background",{dark:U,light:U,hcDark:U,hcLight:U},N.NC("peekViewEditorGutterBackground","Background color of the gutter in the peek view editor.")),(0,T.P6G)("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hcDark:null,hcLight:null},N.NC("peekViewResultsMatchHighlight","Match highlight color in the peek view result list.")),(0,T.P6G)("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hcDark:null,hcLight:null},N.NC("peekViewEditorMatchHighlight","Match highlight color in the peek view editor.")),(0,T.P6G)("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hcDark:T.xL1,hcLight:T.xL1},N.NC("peekViewEditorMatchHighlightBorder","Match highlight border in the peek view editor."))},83943:function(e,t,i){"use strict";i.d(t,{X:function(){return d}});var n=i(88289),o=i(9917),r=i(98401),s=i(65520),a=i(84973),l=i(51945),h=i(97781);class d{constructor(e){this.options=e,this.rangeHighlightDecorationId=void 0}provide(e,t){var i;let n=new o.SL;e.canAcceptInBackground=!!(null===(i=this.options)||void 0===i?void 0:i.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;let r=n.add(new o.XK);return r.value=this.doProvide(e,t),n.add(this.onDidActiveTextEditorControlChange(()=>{r.value=void 0,r.value=this.doProvide(e,t)})),n}doProvide(e,t){let i=new o.SL,a=this.activeTextEditorControl;if(a&&this.canProvideWithTextEditor(a)){let l={editor:a},h=(0,s.Pi)(a);if(h){let e=(0,r.f6)(a.saveViewState());i.add(h.onDidChangeCursorPosition(()=>{e=(0,r.f6)(a.saveViewState())})),l.restoreViewState=()=>{e&&a===this.activeTextEditorControl&&a.restoreViewState(e)},i.add((0,n.I)(t.onCancellationRequested)(()=>{var e;return null===(e=l.restoreViewState)||void 0===e?void 0:e.call(l)}))}i.add((0,o.OF)(()=>this.clearDecorations(a))),i.add(this.provideWithTextEditor(l,e,t))}else i.add(this.provideWithoutTextEditor(e,t));return i}canProvideWithTextEditor(e){return!0}gotoLocation({editor:e},t){e.setSelection(t.range),e.revealRangeInCenter(t.range,0),t.preserveFocus||e.focus()}getModel(e){var t;return(0,s.QI)(e)?null===(t=e.getModel())||void 0===t?void 0:t.modified:e.getModel()}addDecorations(e,t){e.changeDecorations(e=>{let i=[];this.rangeHighlightDecorationId&&(i.push(this.rangeHighlightDecorationId.overviewRulerDecorationId),i.push(this.rangeHighlightDecorationId.rangeHighlightId),this.rangeHighlightDecorationId=void 0);let n=[{range:t,options:{description:"quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:t,options:{description:"quick-access-range-highlight-overview",overviewRuler:{color:(0,h.EN)(l.m9),position:a.sh.Full}}}],[o,r]=e.deltaDecorations(i,n);this.rangeHighlightDecorationId={rangeHighlightId:o,overviewRulerDecorationId:r}})}clearDecorations(e){let t=this.rangeHighlightDecorationId;t&&(e.changeDecorations(e=>{e.deltaDecorations([t.overviewRulerDecorationId,t.rangeHighlightId],[])}),this.rangeHighlightDecorationId=void 0)}}},73945:function(e,t,i){"use strict";var n=i(9917),o=i(16830),r=i(27753),s=i(63580);class a extends n.JT{constructor(e){super(),this.editor=e,this._register(this.editor.onDidAttemptReadOnlyEdit(()=>this._onDidAttemptReadOnlyEdit()))}_onDidAttemptReadOnlyEdit(){let e=r.O.get(this.editor);e&&this.editor.hasModel()&&(this.editor.isSimpleWidget?e.showMessage(s.NC("editor.simple.readonly","Cannot edit in read-only input"),this.editor.getPosition()):e.showMessage(s.NC("editor.readonly","Cannot edit in read-only editor"),this.editor.getPosition()))}}a.ID="editor.contrib.readOnlyMessageController",(0,o._K)(a.ID,a)},82379:function(e,t,i){"use strict";var n=i(85152),o=i(15393),r=i(71050),s=i(17301),a=i(9917),l=i(98401),h=i(70666),d=i(14410),u=i(16830),c=i(66007),g=i(11640),p=i(50187),m=i(24314),f=i(29102),_=i(71765),v=i(27753),C=i(63580),b=i(23193),w=i(38819),y=i(72065),S=i(43557),L=i(59422),k=i(90535),N=i(89872);i(74153);var D=i(91847),x=i(73910),I=i(97781),E=function(e,t){return function(i,n){t(i,n,e)}};let T=new w.uy("renameInputVisible",!1,(0,C.NC)("renameInputVisible","Whether the rename input widget is visible")),M=class{constructor(e,t,i,n,o){this._editor=e,this._acceptKeybindings=t,this._themeService=i,this._keybindingService=n,this._disposables=new a.SL,this.allowEditorOverflow=!0,this._visibleContextKey=T.bindTo(o),this._editor.addContentWidget(this),this._disposables.add(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(46)&&this._updateFont()})),this._disposables.add(i.onDidColorThemeChange(this._updateStyles,this))}dispose(){this._disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return"__renameInputWidget"}getDomNode(){if(!this._domNode){this._domNode=document.createElement("div"),this._domNode.className="monaco-editor rename-box",this._input=document.createElement("input"),this._input.className="rename-input",this._input.type="text",this._input.setAttribute("aria-label",(0,C.NC)("renameAriaLabel","Rename input. Type new name and press Enter to commit.")),this._domNode.appendChild(this._input),this._label=document.createElement("div"),this._label.className="rename-label",this._domNode.appendChild(this._label);let e=()=>{var e,t;let[i,n]=this._acceptKeybindings;this._keybindingService.lookupKeybinding(i),this._label.innerText=(0,C.NC)({key:"label",comment:['placeholders are keybindings, e.g "F2 to Rename, Shift+F2 to Preview"']},"{0} to Rename, {1} to Preview",null===(e=this._keybindingService.lookupKeybinding(i))||void 0===e?void 0:e.getLabel(),null===(t=this._keybindingService.lookupKeybinding(n))||void 0===t?void 0:t.getLabel())};e(),this._disposables.add(this._keybindingService.onDidUpdateKeybindings(e)),this._updateFont(),this._updateStyles(this._themeService.getColorTheme())}return this._domNode}_updateStyles(e){var t,i,n,o;if(!this._input||!this._domNode)return;let r=e.getColor(x.rh);this._domNode.style.backgroundColor=String(null!==(t=e.getColor(x.D0T))&&void 0!==t?t:""),this._domNode.style.boxShadow=r?` 0 0 8px 2px ${r}`:"",this._domNode.style.color=String(null!==(i=e.getColor(x.zJb))&&void 0!==i?i:""),this._input.style.backgroundColor=String(null!==(n=e.getColor(x.sEe))&&void 0!==n?n:"");let s=e.getColor(x.dt_);this._input.style.borderWidth=s?"1px":"0px",this._input.style.borderStyle=s?"solid":"none",this._input.style.borderColor=null!==(o=null==s?void 0:s.toString())&&void 0!==o?o:"none"}_updateFont(){if(!this._input||!this._label)return;let e=this._editor.getOption(46);this._input.style.fontFamily=e.fontFamily,this._input.style.fontWeight=e.fontWeight,this._input.style.fontSize=`${e.fontSize}px`,this._label.style.fontSize=`${.8*e.fontSize}px`}getPosition(){return this._visible?{position:this._position,preference:[2,1]}:null}afterRender(e){e||this.cancelInput(!0)}acceptInput(e){var t;null===(t=this._currentAcceptInput)||void 0===t||t.call(this,e)}cancelInput(e){var t;null===(t=this._currentCancelInput)||void 0===t||t.call(this,e)}getInput(e,t,i,n,o,r){this._domNode.classList.toggle("preview",o),this._position=new p.L(e.startLineNumber,e.startColumn),this._input.value=t,this._input.setAttribute("selectionStart",i.toString()),this._input.setAttribute("selectionEnd",n.toString()),this._input.size=Math.max((e.endColumn-e.startColumn)*1.1,20);let s=new a.SL;return new Promise(e=>{this._currentCancelInput=t=>(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,e(t),!0),this._currentAcceptInput=i=>{if(0===this._input.value.trim().length||this._input.value===t){this.cancelInput(!0);return}this._currentAcceptInput=void 0,this._currentCancelInput=void 0,e({newName:this._input.value,wantsPreview:o&&i})},s.add(r.onCancellationRequested(()=>this.cancelInput(!0))),s.add(this._editor.onDidBlurEditorWidget(()=>this.cancelInput(!1))),this._show()}).finally(()=>{s.dispose(),this._hide()})}_show(){this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout(()=>{this._input.focus(),this._input.setSelectionRange(parseInt(this._input.getAttribute("selectionStart")),parseInt(this._input.getAttribute("selectionEnd")))},100)}_hide(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)}};M=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([E(2,I.XE),E(3,D.d),E(4,w.i6)],M);var A=i(71922),R=function(e,t){return function(i,n){t(i,n,e)}},O=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class P{constructor(e,t,i){this.model=e,this.position=t,this._providerRenameIdx=0,this._providers=i.ordered(e)}hasProvider(){return this._providers.length>0}resolveRenameLocation(e){return O(this,void 0,void 0,function*(){let t=[];for(this._providerRenameIdx=0;this._providerRenameIdx0?t.join("\n"):void 0}:{range:m.e.fromPositions(this.position),text:"",rejectReason:t.length>0?t.join("\n"):void 0}})}provideRenameEdits(e,t){return O(this,void 0,void 0,function*(){return this._provideRenameEdits(e,this._providerRenameIdx,[],t)})}_provideRenameEdits(e,t,i,n){return O(this,void 0,void 0,function*(){let o=this._providers[t];if(!o)return{edits:[],rejectReason:i.join("\n")};let r=yield o.provideRenameEdits(this.model,this.position,e,n);return r?r.rejectReason?this._provideRenameEdits(e,t+1,i.concat(r.rejectReason),n):r:this._provideRenameEdits(e,t+1,i.concat(C.NC("no result","No result.")),n)})}}let F=class e{constructor(e,t,i,n,s,l,h,d){this.editor=e,this._instaService=t,this._notificationService=i,this._bulkEditService=n,this._progressService=s,this._logService=l,this._configService=h,this._languageFeaturesService=d,this._disposableStore=new a.SL,this._cts=new r.A,this._renameInputField=this._disposableStore.add(new o.Ue(()=>this._disposableStore.add(this._instaService.createInstance(M,this.editor,["acceptRenameInput","acceptRenameInputWithPreview"]))))}static get(t){return t.getContribution(e.ID)}dispose(){this._disposableStore.dispose(),this._cts.dispose(!0)}run(){var e,t;return O(this,void 0,void 0,function*(){let i;if(this._cts.dispose(!0),!this.editor.hasModel())return;let r=this.editor.getPosition(),s=new P(this.editor.getModel(),r,this._languageFeaturesService.renameProvider);if(!s.hasProvider())return;this._cts=new d.Dl(this.editor,5);try{let e=s.resolveRenameLocation(this._cts.token);this._progressService.showWhile(e,250),i=yield e}catch(t){null===(e=v.O.get(this.editor))||void 0===e||e.showMessage(t||C.NC("resolveRenameLocationFailed","An unknown error occurred while resolving rename location"),r);return}if(!i)return;if(i.rejectReason){null===(t=v.O.get(this.editor))||void 0===t||t.showMessage(i.rejectReason,r);return}if(this._cts.token.isCancellationRequested)return;this._cts.dispose(),this._cts=new d.Dl(this.editor,5,i.range);let a=this.editor.getSelection(),l=0,h=i.text.length;!m.e.isEmpty(a)&&!m.e.spansMultipleLines(a)&&m.e.containsRange(i.range,a)&&(l=Math.max(0,a.startColumn-i.range.startColumn),h=Math.min(i.range.endColumn,a.endColumn)-i.range.startColumn);let u=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,"editor.rename.enablePreview"),g=yield this._renameInputField.value.getInput(i.range,i.text,l,h,u,this._cts.token);if("boolean"==typeof g){g&&this.editor.focus();return}this.editor.focus();let p=(0,o.eP)(s.provideRenameEdits(g.newName,this._cts.token),this._cts.token).then(e=>O(this,void 0,void 0,function*(){if(e&&this.editor.hasModel()){if(e.rejectReason){this._notificationService.info(e.rejectReason);return}this.editor.setSelection(m.e.fromPositions(this.editor.getSelection().getPosition())),this._bulkEditService.apply(c.fo.convert(e),{editor:this.editor,showPreview:g.wantsPreview,label:C.NC("label","Renaming '{0}' to '{1}'",null==i?void 0:i.text,g.newName),code:"undoredo.rename",quotableLabel:C.NC("quotableLabel","Renaming {0} to {1}",null==i?void 0:i.text,g.newName),respectAutoSaveConfig:!0}).then(e=>{e.ariaSummary&&(0,n.Z9)(C.NC("aria","Successfully renamed '{0}' to '{1}'. Summary: {2}",i.text,g.newName,e.ariaSummary))}).catch(e=>{this._notificationService.error(C.NC("rename.failedApply","Rename failed to apply edits")),this._logService.error(e)})}}),e=>{this._notificationService.error(C.NC("rename.failed","Rename failed to compute edits")),this._logService.error(e)});return this._progressService.showWhile(p,250),p})}acceptRenameInput(e){this._renameInputField.value.acceptInput(e)}cancelRenameInput(){this._renameInputField.value.cancelInput(!0)}};F.ID="editor.contrib.renameController",F=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([R(1,y.TG),R(2,L.lT),R(3,c.vu),R(4,k.ek),R(5,S.VZ),R(6,_.V),R(7,A.p)],F);class B extends u.R6{constructor(){super({id:"editor.action.rename",label:C.NC("rename.label","Rename Symbol"),alias:"Rename Symbol",precondition:w.Ao.and(f.u.writable,f.u.hasRenameProvider),kbOpts:{kbExpr:f.u.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:"1_modification",order:1.1}})}runCommand(e,t){let i=e.get(g.$),[n,o]=Array.isArray(t)&&t||[void 0,void 0];return h.o.isUri(n)&&p.L.isIPosition(o)?i.openCodeEditor({resource:n},i.getActiveCodeEditor()).then(e=>{e&&(e.setPosition(o),e.invokeWithinContext(t=>(this.reportTelemetry(t,e),this.run(t,e))))},s.dL):super.runCommand(e,t)}run(e,t){let i=F.get(t);return i?i.run():Promise.resolve()}}(0,u._K)(F.ID,F),(0,u.Qr)(B);let V=u._l.bindToContribution(F.get);(0,u.fK)(new V({id:"acceptRenameInput",precondition:T,handler:e=>e.acceptRenameInput(!1),kbOpts:{weight:199,kbExpr:f.u.focus,primary:3}})),(0,u.fK)(new V({id:"acceptRenameInputWithPreview",precondition:w.Ao.and(T,w.Ao.has("config.editor.rename.enablePreview")),handler:e=>e.acceptRenameInput(!0),kbOpts:{weight:199,kbExpr:f.u.focus,primary:1027}})),(0,u.fK)(new V({id:"cancelRenameInput",precondition:T,handler:e=>e.cancelRenameInput(),kbOpts:{weight:199,kbExpr:f.u.focus,primary:9,secondary:[1033]}})),(0,u.sb)("_executeDocumentRenameProvider",function(e,t,i,...n){let[o]=n;(0,l.p_)("string"==typeof o);let{renameProvider:s}=e.get(A.p);return function(e,t,i,n){return O(this,void 0,void 0,function*(){let o=new P(t,i,e),s=yield o.resolveRenameLocation(r.T.None);return(null==s?void 0:s.rejectReason)?{edits:[],rejectReason:s.rejectReason}:o.provideRenameEdits(n,r.T.None)})}(s,t,i,o)}),(0,u.sb)("_executePrepareRename",function(e,t,i){return O(this,void 0,void 0,function*(){let{renameProvider:n}=e.get(A.p),o=new P(t,i,n),s=yield o.resolveRenameLocation(r.T.None);if(null==s?void 0:s.rejectReason)throw Error(s.rejectReason);return s})}),N.B.as(b.IP.Configuration).registerConfiguration({id:"editor",properties:{"editor.rename.enablePreview":{scope:5,description:C.NC("enablePreview","Enable/disable the ability to preview changes before renaming"),default:!0,type:"boolean"}}})},79694:function(e,t,i){"use strict";i.d(t,{x:function(){return s}});var n=i(91741),o=i(50187),r=i(24314);class s{provideSelectionRanges(e,t){var i,n,o,r;return i=this,n=void 0,o=void 0,r=function*(){let i=[];for(let n of t){let t=[];i.push(t);let o=new Map;yield new Promise(t=>s._bracketsRightYield(t,0,e,n,o)),yield new Promise(i=>s._bracketsLeftYield(i,0,e,n,o,t))}return i},new(o||(o=Promise))(function(e,t){function s(e){try{l(r.next(e))}catch(e){t(e)}}function a(e){try{l(r.throw(e))}catch(e){t(e)}}function l(t){var i;t.done?e(t.value):((i=t.value)instanceof o?i:new o(function(e){e(i)})).then(s,a)}l((r=r.apply(i,n||[])).next())})}static _bracketsRightYield(e,t,i,o,r){let a=new Map,l=Date.now();for(;;){if(t>=s._maxRounds||!o){e();break}let h=i.bracketPairs.findNextBracket(o);if(!h){e();break}let d=Date.now()-l;if(d>s._maxDuration){setTimeout(()=>s._bracketsRightYield(e,t+1,i,o,r));break}if(h.bracketInfo.isOpeningBracket){let e=h.bracketInfo.bracketText,t=a.has(e)?a.get(e):0;a.set(e,t+1)}else{let e=h.bracketInfo.getClosedBrackets()[0].bracketText,t=a.has(e)?a.get(e):0;if(t-=1,a.set(e,Math.max(0,t)),t<0){let t=r.get(e);t||(t=new n.S,r.set(e,t)),t.push(h.range)}}o=h.range.getEndPosition()}}static _bracketsLeftYield(e,t,i,n,o,a){let l=new Map,h=Date.now();for(;;){if(t>=s._maxRounds&&0===o.size||!n){e();break}let d=i.bracketPairs.findPrevBracket(n);if(!d){e();break}let u=Date.now()-h;if(u>s._maxDuration){setTimeout(()=>s._bracketsLeftYield(e,t+1,i,n,o,a));break}if(d.bracketInfo.isOpeningBracket){let e=d.bracketInfo.bracketText,t=l.has(e)?l.get(e):0;if(t-=1,l.set(e,Math.max(0,t)),t<0){let t=o.get(e);if(t){let n=t.shift();0===t.size&&o.delete(e);let l=r.e.fromPositions(d.range.getEndPosition(),n.getStartPosition()),h=r.e.fromPositions(d.range.getStartPosition(),n.getEndPosition());a.push({range:l}),a.push({range:h}),s._addBracketLeading(i,h,a)}}}else{let e=d.bracketInfo.getClosedBrackets()[0].bracketText,t=l.has(e)?l.get(e):0;l.set(e,t+1)}n=d.range.getStartPosition()}}static _addBracketLeading(e,t,i){if(t.startLineNumber===t.endLineNumber)return;let n=t.startLineNumber,s=e.getLineFirstNonWhitespaceColumn(n);0!==s&&s!==t.startColumn&&(i.push({range:r.e.fromPositions(new o.L(n,s),t.getEndPosition())}),i.push({range:r.e.fromPositions(new o.L(n,1),t.getEndPosition())}));let a=n-1;if(a>0){let n=e.getLineFirstNonWhitespaceColumn(a);n===t.startColumn&&n!==e.getLineLastNonWhitespaceColumn(a)&&(i.push({range:r.e.fromPositions(new o.L(a,n),t.getEndPosition())}),i.push({range:r.e.fromPositions(new o.L(a,1),t.getEndPosition())}))}}}s._maxDuration=30,s._maxRounds=2},47721:function(e,t,i){"use strict";var n,o=i(9488),r=i(71050),s=i(17301),a=i(16830),l=i(50187),h=i(24314),d=i(3860),u=i(29102),c=i(79694),g=i(97295);class p{provideSelectionRanges(e,t){let i=[];for(let n of t){let t=[];i.push(t),this._addInWordRanges(t,e,n),this._addWordRanges(t,e,n),this._addWhitespaceLine(t,e,n),t.push({range:e.getFullModelRange()})}return i}_addInWordRanges(e,t,i){let n=t.getWordAtPosition(i);if(!n)return;let{word:o,startColumn:r}=n,s=i.column-r,a=s,l=s,d=0;for(;a>=0;a--){let e=o.charCodeAt(a);if(a!==s&&(95===e||45===e)||(0,g.mK)(e)&&(0,g.df)(d))break;d=e}for(a+=1;l0&&0===t.getLineFirstNonWhitespaceColumn(i.lineNumber)&&0===t.getLineLastNonWhitespaceColumn(i.lineNumber)&&e.push({range:new h.e(i.lineNumber,1,i.lineNumber,t.getLineMaxColumn(i.lineNumber))})}}var m=i(63580),f=i(84144),_=i(94565),v=i(71922),C=i(88216),b=i(98401),w=i(70666),y=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class S{constructor(e,t){this.index=e,this.ranges=t}mov(e){let t=this.index+(e?1:-1);if(t<0||t>=this.ranges.length)return this;let i=new S(t,this.ranges);return i.ranges[t].equalsRange(this.ranges[this.index])?i.mov(e):i}}let L=class e{constructor(e,t){this._editor=e,this._languageFeaturesService=t,this._ignoreSelection=!1}static get(t){return t.getContribution(e.ID)}dispose(){var e;null===(e=this._selectionListener)||void 0===e||e.dispose()}run(e){return y(this,void 0,void 0,function*(){if(!this._editor.hasModel())return;let t=this._editor.getSelections(),i=this._editor.getModel();if(this._state||(yield N(this._languageFeaturesService.selectionRangeProvider,i,t.map(e=>e.getPosition()),this._editor.getOption(104),r.T.None).then(e=>{var i;if(o.Of(e)&&e.length===t.length&&this._editor.hasModel()&&o.fS(this._editor.getSelections(),t,(e,t)=>e.equalsSelection(t))){for(let i=0;ie.containsPosition(t[i].getStartPosition())&&e.containsPosition(t[i].getEndPosition())),e[i].unshift(t[i]);this._state=e.map(e=>new S(0,e)),null===(i=this._selectionListener)||void 0===i||i.dispose(),this._selectionListener=this._editor.onDidChangeCursorPosition(()=>{var e;this._ignoreSelection||(null===(e=this._selectionListener)||void 0===e||e.dispose(),this._state=void 0)})}})),!this._state)return;this._state=this._state.map(t=>t.mov(e));let n=this._state.map(e=>d.Y.fromPositions(e.ranges[e.index].getStartPosition(),e.ranges[e.index].getEndPosition()));this._ignoreSelection=!0;try{this._editor.setSelections(n)}finally{this._ignoreSelection=!1}})}};L.ID="editor.contrib.smartSelectController",L=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(n=v.p,function(e,t){n(e,t,1)})],L);class k extends a.R6{constructor(e,t){super(t),this._forward=e}run(e,t){return y(this,void 0,void 0,function*(){let e=L.get(t);e&&(yield e.run(this._forward))})}}function N(e,t,i,n,r){return y(this,void 0,void 0,function*(){let a=e.all(t).concat(new p);1===a.length&&a.unshift(new c.x);let d=[],u=[];for(let e of a)d.push(Promise.resolve(e.provideSelectionRanges(t,i,r)).then(e=>{if(o.Of(e)&&e.length===i.length)for(let t=0;t{let i;if(0===e.length)return[];e.sort((e,t)=>l.L.isBefore(e.getStartPosition(),t.getStartPosition())?1:l.L.isBefore(t.getStartPosition(),e.getStartPosition())?-1:l.L.isBefore(e.getEndPosition(),t.getEndPosition())?-1:l.L.isBefore(t.getEndPosition(),e.getEndPosition())?1:0);let o=[];for(let t of e)(!i||h.e.containsRange(t,i)&&!h.e.equalsRange(t,i))&&(o.push(t),i=t);if(!n.selectLeadingAndTrailingWhitespace)return o;let r=[o[0]];for(let e=1;e")}}insert(e,t){try{this._doInsert(e,void 0===t?_:Object.assign(Object.assign({},_),t))}catch(t){this.cancel(),this._logService.error(t),this._logService.error("snippet_error"),this._logService.error("insert_template=",e),this._logService.error("existing_template=",this._session?this._session._logInfo():"")}}_doInsert(e,t){var i;if(this._editor.hasModel()){if(this._snippetListener.clear(),t.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session&&"string"!=typeof e&&this.cancel(),this._session?((0,o.p_)("string"==typeof e),this._session.merge(e,t)):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new m.l(this._editor,e,t,this._languageConfigurationService),this._session.insert()),t.undoStopAfter&&this._editor.getModel().pushStackElement(),null===(i=this._session)||void 0===i?void 0:i.hasChoice){this._choiceCompletionItemProvider={provideCompletionItems:(e,t)=>{if(!this._session||e!==this._editor.getModel()||!s.L.equals(this._editor.getPosition(),t))return;let{activeChoice:i}=this._session;if(!i||0===i.choice.options.length)return;let n=e.getValueInRange(i.range),o=!!i.choice.options.find(e=>e.value===n),r=[];for(let e=0;ee.isFlush&&this.cancel())),this._snippetListener.add(this._editor.onDidChangeModel(()=>this.cancel())),this._snippetListener.add(this._editor.onDidChangeCursorSelection(()=>this._updateState()))}}_updateState(){return this._session&&this._editor.hasModel()?this._modelVersionId!==this._editor.getModel().getAlternativeVersionId()&&this._session.hasPlaceholder?this._session.isAtLastPlaceholder||!this._session.isSelectionWithinPlaceholders()?(this._editor.getModel().pushStackElement(),this.cancel()):void(this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),this._handleChoice()):this.cancel():void 0}_handleChoice(){if(!this._session||!this._editor.hasModel()){this._currentChoice=void 0;return}let{activeChoice:e}=this._session;if(!e||!this._choiceCompletionItemProvider){this._currentChoice=void 0;return}this._currentChoice!==e.choice&&(this._currentChoice=e.choice,queueMicrotask(()=>{(0,u.i5)(this._editor,this._choiceCompletionItemProvider)}))}finish(){for(;this._inSnippet.get();)this.next()}cancel(e=!1){var t;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),this._currentChoice=void 0,null===(t=this._session)||void 0===t||t.dispose(),this._session=void 0,this._modelVersionId=-1,e&&this._editor.setSelections([this._editor.getSelection()])}prev(){this._session&&this._session.prev(),this._updateState()}next(){this._session&&this._session.next(),this._updateState()}isInSnippet(){return!!this._inSnippet.get()}};v.ID="snippetController2",v.InSnippetMode=new g.uy("inSnippetMode",!1,(0,c.NC)("inSnippetMode","Whether the editor in current in snippet mode")),v.HasNextTabstop=new g.uy("hasNextTabstop",!1,(0,c.NC)("hasNextTabstop","Whether there is a next tab stop when in snippet mode")),v.HasPrevTabstop=new g.uy("hasPrevTabstop",!1,(0,c.NC)("hasPrevTabstop","Whether there is a previous tab stop when in snippet mode")),v=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([f(1,p.VZ),f(2,d.p),f(3,g.i6),f(4,h.c_)],v),(0,r._K)(v.ID,v);let C=r._l.bindToContribution(v.get);function b(e,t,i){let n=v.get(e);return!!n&&(e.focus(),n.apply(i.map(e=>({range:a.Y.liftSelection(e),template:t}))),n.isInSnippet())}(0,r.fK)(new C({id:"jumpToNextSnippetPlaceholder",precondition:g.Ao.and(v.InSnippetMode,v.HasNextTabstop),handler:e=>e.next(),kbOpts:{weight:130,kbExpr:l.u.editorTextFocus,primary:2}})),(0,r.fK)(new C({id:"jumpToPrevSnippetPlaceholder",precondition:g.Ao.and(v.InSnippetMode,v.HasPrevTabstop),handler:e=>e.prev(),kbOpts:{weight:130,kbExpr:l.u.editorTextFocus,primary:1026}})),(0,r.fK)(new C({id:"leaveSnippet",precondition:v.InSnippetMode,handler:e=>e.cancel(!0),kbOpts:{weight:130,kbExpr:l.u.editorTextFocus,primary:9,secondary:[1033]}})),(0,r.fK)(new C({id:"acceptSnippet",precondition:v.InSnippetMode,handler:e=>e.finish()}))},35084:function(e,t,i){"use strict";i.d(t,{Lv:function(){return l},Vm:function(){return a},Yj:function(){return p},xv:function(){return r},y1:function(){return g}});class n{constructor(){this.value="",this.pos=0}static isDigitCharacter(e){return e>=48&&e<=57}static isVariableCharacter(e){return 95===e||e>=97&&e<=122||e>=65&&e<=90}text(e){this.value=e,this.pos=0}tokenText(e){return this.value.substr(e.pos,e.len)}next(){let e;if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};let t=this.pos,i=0,o=this.value.charCodeAt(t);if("number"==typeof(e=n._table[o]))return this.pos+=1,{type:e,pos:t,len:1};if(n.isDigitCharacter(o)){e=8;do i+=1,o=this.value.charCodeAt(t+i);while(n.isDigitCharacter(o));return this.pos+=i,{type:e,pos:t,len:i}}if(n.isVariableCharacter(o)){e=9;do o=this.value.charCodeAt(t+ ++i);while(n.isVariableCharacter(o)||n.isDigitCharacter(o));return this.pos+=i,{type:e,pos:t,len:i}}e=10;do i+=1,o=this.value.charCodeAt(t+i);while(!isNaN(o)&&void 0===n._table[o]&&!n.isDigitCharacter(o)&&!n.isVariableCharacter(o));return this.pos+=i,{type:e,pos:t,len:i}}}n._table={36:0,58:1,44:2,123:3,125:4,92:5,47:6,124:7,43:11,45:12,63:13};class o{constructor(){this._children=[]}appendChild(e){return e instanceof r&&this._children[this._children.length-1]instanceof r?this._children[this._children.length-1].value+=e.value:(e.parent=this,this._children.push(e)),this}replace(e,t){let{parent:i}=e,n=i.children.indexOf(e),o=i.children.slice(0);o.splice(n,1,...t),i._children=o,function e(t,i){for(let n of t)n.parent=i,e(n.children,n)}(t,i)}get children(){return this._children}get snippet(){let e=this;for(;;){if(!e)return;if(e instanceof g)return e;e=e.parent}}toString(){return this.children.reduce((e,t)=>e+t.toString(),"")}len(){return 0}}class r extends o{constructor(e){super(),this.value=e}toString(){return this.value}len(){return this.value.length}clone(){return new r(this.value)}}class s extends o{}class a extends s{constructor(e){super(),this.index=e}static compareByIndex(e,t){return e.index===t.index?0:e.isFinalTabstop?1:t.isFinalTabstop||e.indext.index?1:0}get isFinalTabstop(){return 0===this.index}get choice(){return 1===this._children.length&&this._children[0]instanceof l?this._children[0]:void 0}clone(){let e=new a(this.index);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(e=>e.clone()),e}}class l extends o{constructor(){super(...arguments),this.options=[]}appendChild(e){return e instanceof r&&(e.parent=this,this.options.push(e)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){let e=new l;return this.options.forEach(e.appendChild,e),e}}class h extends o{constructor(){super(...arguments),this.regexp=RegExp("")}resolve(e){let t=this,i=!1,n=e.replace(this.regexp,function(){return i=!0,t._replace(Array.prototype.slice.call(arguments,0,-2))});return!i&&this._children.some(e=>e instanceof d&&!!e.elseValue)&&(n=this._replace([])),n}_replace(e){let t="";for(let i of this._children)if(i instanceof d){let n=e[i.index]||"";t+=n=i.resolve(n)}else t+=i.toString();return t}toString(){return""}clone(){let e=new h;return e.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),e._children=this.children.map(e=>e.clone()),e}}class d extends o{constructor(e,t,i,n){super(),this.index=e,this.shorthandName=t,this.ifValue=i,this.elseValue=n}resolve(e){if("upcase"===this.shorthandName)return e?e.toLocaleUpperCase():"";if("downcase"===this.shorthandName)return e?e.toLocaleLowerCase():"";if("capitalize"===this.shorthandName)return e?e[0].toLocaleUpperCase()+e.substr(1):"";if("pascalcase"===this.shorthandName)return e?this._toPascalCase(e):"";if("camelcase"===this.shorthandName)return e?this._toCamelCase(e):"";if(e&&"string"==typeof this.ifValue)return this.ifValue;if(!e&&"string"==typeof this.elseValue)return this.elseValue;else return e||""}_toPascalCase(e){let t=e.match(/[a-z0-9]+/gi);return t?t.map(e=>e.charAt(0).toUpperCase()+e.substr(1)).join(""):e}_toCamelCase(e){let t=e.match(/[a-z0-9]+/gi);return t?t.map((e,t)=>0===t?e.charAt(0).toLowerCase()+e.substr(1):e.charAt(0).toUpperCase()+e.substr(1)).join(""):e}clone(){let e=new d(this.index,this.shorthandName,this.ifValue,this.elseValue);return e}}class u extends s{constructor(e){super(),this.name=e}resolve(e){let t=e.resolve(this);return this.transform&&(t=this.transform.resolve(t||"")),void 0!==t&&(this._children=[new r(t)],!0)}clone(){let e=new u(this.name);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(e=>e.clone()),e}}function c(e,t){let i=[...e];for(;i.length>0;){let e=i.shift(),n=t(e);if(!n)break;i.unshift(...e.children)}}class g extends o{get placeholderInfo(){if(!this._placeholders){let e;let t=[];this.walk(function(i){return i instanceof a&&(t.push(i),e=!e||e.indexn===e?(i=!0,!1):(t+=n.len(),!0)),i)?t:-1}fullLen(e){let t=0;return c([e],e=>(t+=e.len(),!0)),t}enclosingPlaceholders(e){let t=[],{parent:i}=e;for(;i;)i instanceof a&&t.push(i),i=i.parent;return t}resolveVariables(e){return this.walk(t=>(t instanceof u&&t.resolve(e)&&(this._placeholders=void 0),!0)),this}appendChild(e){return this._placeholders=void 0,super.appendChild(e)}replace(e,t){return this._placeholders=void 0,super.replace(e,t)}clone(){let e=new g;return this._children=this.children.map(e=>e.clone()),e}walk(e){c(this.children,e)}}class p{constructor(){this._scanner=new n,this._token={type:14,pos:0,len:0}}static escape(e){return e.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(e){return/\${?CLIPBOARD/.test(e)}parse(e,t,i){let n=new g;return this.parseFragment(e,n),this.ensureFinalTabstop(n,null!=i&&i,null!=t&&t),n}parseFragment(e,t){let i=t.children.length;for(this._scanner.text(e),this._token=this._scanner.next();this._parse(t););let n=new Map,o=[];for(let e of(t.walk(e=>(e instanceof a&&(e.isFinalTabstop?n.set(0,void 0):!n.has(e.index)&&e.children.length>0?n.set(e.index,e.children):o.push(e)),!0)),o)){let i=n.get(e.index);if(i){let n=new a(e.index);for(let t of(n.transform=e.transform,i))n.appendChild(t.clone());t.replace(e,[n])}}return t.children.slice(i)}ensureFinalTabstop(e,t,i){if(t||i&&e.placeholders.length>0){let t=e.placeholders.find(e=>0===e.index);t||e.appendChild(new a(0))}}_accept(e,t){if(void 0===e||this._token.type===e){let e=!t||this._scanner.tokenText(this._token);return this._token=this._scanner.next(),e}return!1}_backTo(e){return this._scanner.pos=e.pos+e.len,this._token=e,!1}_until(e){let t=this._token;for(;this._token.type!==e;){if(14===this._token.type)return!1;if(5===this._token.type){let e=this._scanner.next();if(0!==e.type&&4!==e.type&&5!==e.type)return!1}this._token=this._scanner.next()}let i=this._scanner.value.substring(t.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),i}_parse(e){return this._parseEscaped(e)||this._parseTabstopOrVariableName(e)||this._parseComplexPlaceholder(e)||this._parseComplexVariable(e)||this._parseAnything(e)}_parseEscaped(e){let t;return!!(t=this._accept(5,!0))&&(t=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||t,e.appendChild(new r(t)),!0)}_parseTabstopOrVariableName(e){let t;let i=this._token,n=this._accept(0)&&(t=this._accept(9,!0)||this._accept(8,!0));return n?(e.appendChild(/^\d+$/.test(t)?new a(Number(t)):new u(t)),!0):this._backTo(i)}_parseComplexPlaceholder(e){let t;let i=this._token,n=this._accept(0)&&this._accept(3)&&(t=this._accept(8,!0));if(!n)return this._backTo(i);let o=new a(Number(t));if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(o),!0;if(!this._parse(o))return e.appendChild(new r("${"+t+":")),o.children.forEach(e.appendChild,e),!0}else if(o.index>0&&this._accept(7)){let t=new l;for(;;){if(this._parseChoiceElement(t)){if(this._accept(2))continue;if(this._accept(7)&&(o.appendChild(t),this._accept(4)))return e.appendChild(o),!0}return this._backTo(i),!1}}else if(this._accept(6))return this._parseTransform(o)?(e.appendChild(o),!0):(this._backTo(i),!1);else if(this._accept(4))return e.appendChild(o),!0;else return this._backTo(i)}_parseChoiceElement(e){let t=this._token,i=[];for(;;){let e;if(2===this._token.type||7===this._token.type)break;if(!(e=(e=this._accept(5,!0))?this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||e:this._accept(void 0,!0)))return this._backTo(t),!1;i.push(e)}return 0===i.length?(this._backTo(t),!1):(e.appendChild(new r(i.join(""))),!0)}_parseComplexVariable(e){let t;let i=this._token,n=this._accept(0)&&this._accept(3)&&(t=this._accept(9,!0));if(!n)return this._backTo(i);let o=new u(t);if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(o),!0;if(!this._parse(o))return e.appendChild(new r("${"+t+":")),o.children.forEach(e.appendChild,e),!0}else if(this._accept(6))return this._parseTransform(o)?(e.appendChild(o),!0):(this._backTo(i),!1);else if(this._accept(4))return e.appendChild(o),!0;else return this._backTo(i)}_parseTransform(e){let t=new h,i="",n="";for(;;){let e;if(this._accept(6))break;if(e=this._accept(5,!0)){i+=e=this._accept(6,!0)||e;continue}if(14!==this._token.type){i+=this._accept(void 0,!0);continue}return!1}for(;;){let e;if(this._accept(6))break;if(e=this._accept(5,!0)){e=this._accept(5,!0)||this._accept(6,!0)||e,t.appendChild(new r(e));continue}if(!(this._parseFormatString(t)||this._parseAnything(t)))return!1}for(;!this._accept(4);){if(14!==this._token.type){n+=this._accept(void 0,!0);continue}return!1}try{t.regexp=new RegExp(i,n)}catch(e){return!1}return e.transform=t,!0}_parseFormatString(e){let t=this._token;if(!this._accept(0))return!1;let i=!1;this._accept(3)&&(i=!0);let n=this._accept(8,!0);if(!n)return this._backTo(t),!1;if(!i||this._accept(4))return e.appendChild(new d(Number(n))),!0;if(!this._accept(1))return this._backTo(t),!1;if(this._accept(6)){let i=this._accept(9,!0);return i&&this._accept(4)?(e.appendChild(new d(Number(n),i)),!0):(this._backTo(t),!1)}if(this._accept(11)){let t=this._until(4);if(t)return e.appendChild(new d(Number(n),void 0,t,void 0)),!0}else if(this._accept(12)){let t=this._until(4);if(t)return e.appendChild(new d(Number(n),void 0,void 0,t)),!0}else if(this._accept(13)){let t=this._until(1);if(t){let i=this._until(4);if(i)return e.appendChild(new d(Number(n),void 0,t,i)),!0}}else{let t=this._until(4);if(t)return e.appendChild(new d(Number(n),void 0,void 0,t)),!0}return this._backTo(t),!1}_parseAnything(e){return 14!==this._token.type&&(e.appendChild(new r(this._scanner.tokenText(this._token))),this._accept(void 0),!0)}}},7307:function(e,t,i){"use strict";i.d(t,{l:function(){return A}});var n,o,r=i(9488),s=i(9917),a=i(97295);i(32365);var l=i(69386),h=i(24314),d=i(3860),u=i(4256),c=i(22529),g=i(44349),p=i(40382),m=i(35084),f=i(15527),_=i(1432);function v(e,t=_.ED){return(0,f.oP)(e,t)?e.charAt(0).toUpperCase()+e.slice(1):e}Object.create(null);var C=i(55336),b=i(95935),w=i(98e3),y=i(63580);Object.freeze({CURRENT_YEAR:!0,CURRENT_YEAR_SHORT:!0,CURRENT_MONTH:!0,CURRENT_DATE:!0,CURRENT_HOUR:!0,CURRENT_MINUTE:!0,CURRENT_SECOND:!0,CURRENT_DAY_NAME:!0,CURRENT_DAY_NAME_SHORT:!0,CURRENT_MONTH_NAME:!0,CURRENT_MONTH_NAME_SHORT:!0,CURRENT_SECONDS_UNIX:!0,SELECTION:!0,CLIPBOARD:!0,TM_SELECTED_TEXT:!0,TM_CURRENT_LINE:!0,TM_CURRENT_WORD:!0,TM_LINE_INDEX:!0,TM_LINE_NUMBER:!0,TM_FILENAME:!0,TM_FILENAME_BASE:!0,TM_DIRECTORY:!0,TM_FILEPATH:!0,CURSOR_INDEX:!0,CURSOR_NUMBER:!0,RELATIVE_FILEPATH:!0,BLOCK_COMMENT_START:!0,BLOCK_COMMENT_END:!0,LINE_COMMENT:!0,WORKSPACE_NAME:!0,WORKSPACE_FOLDER:!0,RANDOM:!0,RANDOM_HEX:!0,UUID:!0});class S{constructor(e){this._delegates=e}resolve(e){for(let t of this._delegates){let i=t.resolve(e);if(void 0!==i)return i}}}class L{constructor(e,t,i,n){this._model=e,this._selection=t,this._selectionIdx=i,this._overtypingCapturer=n}resolve(e){let{name:t}=e;if("SELECTION"===t||"TM_SELECTED_TEXT"===t){let t=this._model.getValueInRange(this._selection)||void 0,i=this._selection.startLineNumber!==this._selection.endLineNumber;if(!t&&this._overtypingCapturer){let e=this._overtypingCapturer.getLastOvertypedInfo(this._selectionIdx);e&&(t=e.value,i=e.multiline)}if(t&&i&&e.snippet){let i=this._model.getLineContent(this._selection.startLineNumber),n=(0,a.V8)(i,0,this._selection.startColumn-1),o=n;e.snippet.walk(t=>t!==e&&(t instanceof m.xv&&(o=(0,a.V8)((0,a.uq)(t.value).pop())),!0));let r=(0,a.Mh)(o,n);t=t.replace(/(\r\n|\r|\n)(.*)/g,(e,t,i)=>`${t}${o.substr(r)}${i}`)}return t}if("TM_CURRENT_LINE"===t)return this._model.getLineContent(this._selection.positionLineNumber);if("TM_CURRENT_WORD"===t){let e=this._model.getWordAtPosition({lineNumber:this._selection.positionLineNumber,column:this._selection.positionColumn});return e&&e.word||void 0}if("TM_LINE_INDEX"===t)return String(this._selection.positionLineNumber-1);if("TM_LINE_NUMBER"===t)return String(this._selection.positionLineNumber);if("CURSOR_INDEX"===t)return String(this._selectionIdx);if("CURSOR_NUMBER"===t)return String(this._selectionIdx+1)}}class k{constructor(e,t){this._labelService=e,this._model=t}resolve(e){let{name:t}=e;if("TM_FILENAME"===t)return C.EZ(this._model.uri.fsPath);if("TM_FILENAME_BASE"===t){let e=C.EZ(this._model.uri.fsPath),t=e.lastIndexOf(".");return t<=0?e:e.slice(0,t)}return"TM_DIRECTORY"===t?"."===C.XX(this._model.uri.fsPath)?"":this._labelService.getUriLabel((0,b.XX)(this._model.uri)):"TM_FILEPATH"===t?this._labelService.getUriLabel(this._model.uri):"RELATIVE_FILEPATH"===t?this._labelService.getUriLabel(this._model.uri,{relative:!0,noPrefix:!0}):void 0}}class N{constructor(e,t,i,n){this._readClipboardText=e,this._selectionIdx=t,this._selectionCount=i,this._spread=n}resolve(e){if("CLIPBOARD"!==e.name)return;let t=this._readClipboardText();if(t){if(this._spread){let e=t.split(/\r\n|\n|\r/).filter(e=>!(0,a.m5)(e));if(e.length===this._selectionCount)return e[this._selectionIdx]}return t}}}let D=class{constructor(e,t,i){this._model=e,this._selection=t,this._languageConfigurationService=i}resolve(e){let{name:t}=e,i=this._model.getLanguageIdAtPosition(this._selection.selectionStartLineNumber,this._selection.selectionStartColumn),n=this._languageConfigurationService.getLanguageConfiguration(i).comments;if(n){if("LINE_COMMENT"===t)return n.lineCommentToken||void 0;if("BLOCK_COMMENT_START"===t)return n.blockCommentStartToken||void 0;if("BLOCK_COMMENT_END"===t)return n.blockCommentEndToken||void 0}}};D=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(n=u.c_,function(e,t){n(e,t,2)})],D);class x{constructor(){this._date=new Date}resolve(e){let{name:t}=e;if("CURRENT_YEAR"===t)return String(this._date.getFullYear());if("CURRENT_YEAR_SHORT"===t)return String(this._date.getFullYear()).slice(-2);if("CURRENT_MONTH"===t)return String(this._date.getMonth().valueOf()+1).padStart(2,"0");if("CURRENT_DATE"===t)return String(this._date.getDate().valueOf()).padStart(2,"0");if("CURRENT_HOUR"===t)return String(this._date.getHours().valueOf()).padStart(2,"0");if("CURRENT_MINUTE"===t)return String(this._date.getMinutes().valueOf()).padStart(2,"0");if("CURRENT_SECOND"===t)return String(this._date.getSeconds().valueOf()).padStart(2,"0");else if("CURRENT_DAY_NAME"===t)return x.dayNames[this._date.getDay()];else if("CURRENT_DAY_NAME_SHORT"===t)return x.dayNamesShort[this._date.getDay()];else if("CURRENT_MONTH_NAME"===t)return x.monthNames[this._date.getMonth()];else if("CURRENT_MONTH_NAME_SHORT"===t)return x.monthNamesShort[this._date.getMonth()];else if("CURRENT_SECONDS_UNIX"===t)return String(Math.floor(this._date.getTime()/1e3))}}x.dayNames=[y.NC("Sunday","Sunday"),y.NC("Monday","Monday"),y.NC("Tuesday","Tuesday"),y.NC("Wednesday","Wednesday"),y.NC("Thursday","Thursday"),y.NC("Friday","Friday"),y.NC("Saturday","Saturday")],x.dayNamesShort=[y.NC("SundayShort","Sun"),y.NC("MondayShort","Mon"),y.NC("TuesdayShort","Tue"),y.NC("WednesdayShort","Wed"),y.NC("ThursdayShort","Thu"),y.NC("FridayShort","Fri"),y.NC("SaturdayShort","Sat")],x.monthNames=[y.NC("January","January"),y.NC("February","February"),y.NC("March","March"),y.NC("April","April"),y.NC("May","May"),y.NC("June","June"),y.NC("July","July"),y.NC("August","August"),y.NC("September","September"),y.NC("October","October"),y.NC("November","November"),y.NC("December","December")],x.monthNamesShort=[y.NC("JanuaryShort","Jan"),y.NC("FebruaryShort","Feb"),y.NC("MarchShort","Mar"),y.NC("AprilShort","Apr"),y.NC("MayShort","May"),y.NC("JuneShort","Jun"),y.NC("JulyShort","Jul"),y.NC("AugustShort","Aug"),y.NC("SeptemberShort","Sep"),y.NC("OctoberShort","Oct"),y.NC("NovemberShort","Nov"),y.NC("DecemberShort","Dec")];class I{constructor(e){this._workspaceService=e}resolve(e){if(!this._workspaceService)return;let t=(0,p.uT)(this._workspaceService.getWorkspace());return t?"WORKSPACE_NAME"===e.name?this._resolveWorkspaceName(t):"WORKSPACE_FOLDER"===e.name?this._resoveWorkspacePath(t):void 0:void 0}_resolveWorkspaceName(e){if((0,p.eb)(e))return C.EZ(e.uri.path);let t=C.EZ(e.configPath.path);return t.endsWith(p.A6)&&(t=t.substr(0,t.length-p.A6.length-1)),t}_resoveWorkspacePath(e){if((0,p.eb)(e))return v(e.uri.fsPath);let t=C.EZ(e.configPath.path),i=e.configPath.fsPath;return i.endsWith(t)&&(i=i.substr(0,i.length-t.length-1)),i?v(i):"/"}}class E{resolve(e){let{name:t}=e;return"RANDOM"===t?Math.random().toString().slice(-6):"RANDOM_HEX"===t?Math.random().toString(16).slice(-6):"UUID"===t?(0,w.R)():void 0}}class T{constructor(e,t,i){this._editor=e,this._snippet=t,this._snippetLineLeadingWhitespace=i,this._offset=-1,this._nestingLevel=1,this._placeholderGroups=(0,r.vM)(t.placeholders,m.Vm.compareByIndex),this._placeholderGroupsIdx=-1}initialize(e){this._offset=e.newPosition}dispose(){this._placeholderDecorations&&this._editor.removeDecorations([...this._placeholderDecorations.values()]),this._placeholderGroups.length=0}_initDecorations(){if(-1===this._offset)throw Error("Snippet not initialized!");if(this._placeholderDecorations)return;this._placeholderDecorations=new Map;let e=this._editor.getModel();this._editor.changeDecorations(t=>{for(let i of this._snippet.placeholders){let n=this._snippet.offset(i),o=this._snippet.fullLen(i),r=h.e.fromPositions(e.getPositionAt(this._offset+n),e.getPositionAt(this._offset+n+o)),s=i.isFinalTabstop?T._decor.inactiveFinal:T._decor.inactive,a=t.addDecoration(r,s);this._placeholderDecorations.set(i,a)}})}move(e){if(!this._editor.hasModel())return[];if(this._initDecorations(),this._placeholderGroupsIdx>=0){let e=[];for(let t of this._placeholderGroups[this._placeholderGroupsIdx])if(t.transform){let i=this._placeholderDecorations.get(t),n=this._editor.getModel().getDecorationRange(i),o=this._editor.getModel().getValueInRange(n),r=t.transform.resolve(o).split(/\r\n|\r|\n/);for(let e=1;e0&&this._editor.executeEdits("snippet.placeholderTransform",e)}let t=!1;!0===e&&this._placeholderGroupsIdx0&&(this._placeholderGroupsIdx-=1,t=!0);let i=this._editor.getModel().changeDecorations(e=>{let i=new Set,n=[];for(let o of this._placeholderGroups[this._placeholderGroupsIdx]){let r=this._placeholderDecorations.get(o),s=this._editor.getModel().getDecorationRange(r);for(let a of(n.push(new d.Y(s.startLineNumber,s.startColumn,s.endLineNumber,s.endColumn)),t=t&&this._hasPlaceholderBeenCollapsed(o),e.changeDecorationOptions(r,o.isFinalTabstop?T._decor.activeFinal:T._decor.active),i.add(o),this._snippet.enclosingPlaceholders(o))){let t=this._placeholderDecorations.get(a);e.changeDecorationOptions(t,a.isFinalTabstop?T._decor.activeFinal:T._decor.active),i.add(a)}}for(let[t,n]of this._placeholderDecorations)i.has(t)||e.changeDecorationOptions(n,t.isFinalTabstop?T._decor.inactiveFinal:T._decor.inactive);return n});return t?this.move(e):null!=i?i:[]}_hasPlaceholderBeenCollapsed(e){let t=e;for(;t;){if(t instanceof m.Vm){let e=this._placeholderDecorations.get(t),i=this._editor.getModel().getDecorationRange(e);if(i.isEmpty()&&t.toString().length>0)return!0}t=t.parent}return!1}get isAtFirstPlaceholder(){return this._placeholderGroupsIdx<=0||0===this._placeholderGroups.length}get isAtLastPlaceholder(){return this._placeholderGroupsIdx===this._placeholderGroups.length-1}get hasPlaceholder(){return this._snippet.placeholders.length>0}get isTrivialSnippet(){return 0===this._snippet.placeholders.length||1===this._snippet.placeholders.length&&this._snippet.placeholders[0].isFinalTabstop}computePossibleSelections(){let e=new Map;for(let t of this._placeholderGroups){let i;for(let n of t){if(n.isFinalTabstop)break;i||(i=[],e.set(n.index,i));let t=this._placeholderDecorations.get(n),o=this._editor.getModel().getDecorationRange(t);if(!o){e.delete(n.index);break}i.push(o)}}return e}get activeChoice(){if(!this._placeholderDecorations)return;let e=this._placeholderGroups[this._placeholderGroupsIdx][0];if(!(null==e?void 0:e.choice))return;let t=this._placeholderDecorations.get(e);if(!t)return;let i=this._editor.getModel().getDecorationRange(t);if(i)return{range:i,choice:e.choice}}get hasChoice(){let e=!1;return this._snippet.walk(t=>!(e=t instanceof m.Lv)),e}merge(e){let t=this._editor.getModel();this._nestingLevel*=10,this._editor.changeDecorations(i=>{for(let n of this._placeholderGroups[this._placeholderGroupsIdx]){let o=e.shift();console.assert(-1!==o._offset),console.assert(!o._placeholderDecorations);let r=o._snippet.placeholderInfo.last.index;for(let e of o._snippet.placeholderInfo.all)e.isFinalTabstop?e.index=n.index+(r+1)/this._nestingLevel:e.index=n.index+e.index/this._nestingLevel;this._snippet.replace(n,o._snippet.children);let s=this._placeholderDecorations.get(n);for(let e of(i.removeDecoration(s),this._placeholderDecorations.delete(n),o._snippet.placeholders)){let n=o._snippet.offset(e),r=o._snippet.fullLen(e),s=h.e.fromPositions(t.getPositionAt(o._offset+n),t.getPositionAt(o._offset+n+r)),a=i.addDecoration(s,T._decor.inactive);this._placeholderDecorations.set(e,a)}}this._placeholderGroups=(0,r.vM)(this._snippet.placeholders,m.Vm.compareByIndex)})}}T._decor={active:c.qx.register({description:"snippet-placeholder-1",stickiness:0,className:"snippet-placeholder"}),inactive:c.qx.register({description:"snippet-placeholder-2",stickiness:1,className:"snippet-placeholder"}),activeFinal:c.qx.register({description:"snippet-placeholder-3",stickiness:1,className:"finish-snippet-placeholder"}),inactiveFinal:c.qx.register({description:"snippet-placeholder-4",stickiness:1,className:"finish-snippet-placeholder"})};let M={overwriteBefore:0,overwriteAfter:0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0},A=class e{constructor(e,t,i=M,n){this._editor=e,this._template=t,this._options=i,this._languageConfigurationService=n,this._templateMerges=[],this._snippets=[]}static adjustWhitespace(e,t,i,n,o){let r;let s=e.getLineContent(t.lineNumber),l=(0,a.V8)(s,0,t.column-1);return i.walk(t=>{if(!(t instanceof m.xv)||t.parent instanceof m.Lv)return!0;let o=t.value.split(/\r\n|\r|\n/);if(n){let n=i.offset(t);if(0===n)o[0]=e.normalizeIndentation(o[0]);else{r=null!=r?r:i.toString();let t=r.charCodeAt(n-1);(10===t||13===t)&&(o[0]=e.normalizeIndentation(l+o[0]))}for(let t=1;te.get(p.ec)),C=t.invokeWithinContext(e=>new k(e.get(g.e),_)),b=()=>a,w=_.getValueInRange(e.adjustSelection(_,t.getSelection(),n,0)),y=_.getValueInRange(e.adjustSelection(_,t.getSelection(),0,o)),M=_.getLineFirstNonWhitespaceColumn(t.getSelection().positionLineNumber),A=t.getSelections().map((e,t)=>({selection:e,idx:t})).sort((e,t)=>h.e.compareRangesUsingStarts(e.selection,t.selection));for(let{selection:a,idx:h}of A){let g=e.adjustSelection(_,a,n,0),p=e.adjustSelection(_,a,0,o);w!==_.getValueInRange(g)&&(g=a),y!==_.getValueInRange(p)&&(p=a);let k=a.setStartPosition(g.startLineNumber,g.startColumn).setEndPosition(p.endLineNumber,p.endColumn),R=new m.Yj().parse(i,!0,r),O=k.getStartPosition(),P=e.adjustWhitespace(_,O,R,s||h>0&&M!==_.getLineFirstNonWhitespaceColumn(a.positionLineNumber),!0);R.resolveVariables(new S([C,new N(b,h,A.length,"spread"===t.getOption(73)),new L(_,a,h,d),new D(_,a,u),new x,new I(v),new E])),c[h]=l.h.replace(k,R.toString()),c[h].identifier={major:h,minor:0},c[h]._isTracked=!0,f[h]=new T(t,R,P)}return{edits:c,snippets:f}}static createEditsAndSnippetsFromEdits(e,t,i,n,o,r,s){if(!e.hasModel()||0===t.length)return{edits:[],snippets:[]};let a=[],d=e.getModel(),u=new m.Yj,c=new m.y1,f=new S([e.invokeWithinContext(e=>new k(e.get(g.e),d)),new N(()=>o,0,e.getSelections().length,"spread"===e.getOption(73)),new L(d,e.getSelection(),0,r),new D(d,e.getSelection(),s),new x,new I(e.invokeWithinContext(e=>e.get(p.ec))),new E]);t=t.sort((e,t)=>h.e.compareRangesUsingStarts(e.range,t.range));let _=0;for(let e=0;e0){let n=t[e-1].range,o=h.e.fromPositions(n.getEndPosition(),i.getStartPosition()),r=new m.xv(d.getValueInRange(o));c.appendChild(r),_+=r.value.length}u.parseFragment(n,c),c.resolveVariables(f);let o=c.toString(),r=o.slice(_);_=o.length;let s=l.h.replace(i,r);s.identifier={major:e,minor:0},s._isTracked=!0,a.push(s)}return u.ensureFinalTabstop(c,i,!0),{edits:a,snippets:[new T(e,c,"")]}}dispose(){(0,s.B9)(this._snippets)}_logInfo(){return`template="${this._template}", merged_templates="${this._templateMerges.join(" -> ")}"`}insert(){if(!this._editor.hasModel())return;let{edits:t,snippets:i}="string"==typeof this._template?e.createEditsAndSnippetsFromSelections(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer,this._languageConfigurationService):e.createEditsAndSnippetsFromEdits(this._editor,this._template,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer,this._languageConfigurationService);this._snippets=i,this._editor.executeEdits("snippet",t,e=>{let t=e.filter(e=>!!e.identifier);for(let e=0;ed.Y.fromPositions(e.range.getEndPosition()))}),this._editor.revealRange(this._editor.getSelections()[0])}merge(t,i=M){if(!this._editor.hasModel())return;this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,t]);let{edits:n,snippets:o}=e.createEditsAndSnippetsFromSelections(this._editor,t,i.overwriteBefore,i.overwriteAfter,!0,i.adjustWhitespace,i.clipboardText,i.overtypingCapturer,this._languageConfigurationService);this._editor.executeEdits("snippet",n,e=>{let t=e.filter(e=>!!e.identifier);for(let e=0;ed.Y.fromPositions(e.range.getEndPosition()))})}next(){let e=this._move(!0);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}prev(){let e=this._move(!1);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}_move(e){let t=[];for(let i of this._snippets){let n=i.move(e);t.push(...n)}return t}get isAtFirstPlaceholder(){return this._snippets[0].isAtFirstPlaceholder}get isAtLastPlaceholder(){return this._snippets[0].isAtLastPlaceholder}get hasPlaceholder(){return this._snippets[0].hasPlaceholder}get hasChoice(){return this._snippets[0].hasChoice}get activeChoice(){return this._snippets[0].activeChoice}isSelectionWithinPlaceholders(){if(!this.hasPlaceholder)return!1;let e=this._editor.getSelections();if(e.length{e.push(...n.get(t))})}for(let[i,n]of(e.sort(h.e.compareRangesUsingStarts),t)){if(n.length!==e.length){t.delete(i);continue}n.sort(h.e.compareRangesUsingStarts);for(let o=0;o0}};A=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(o=u.c_,function(e,t){o(e,t,3)})],A)},61984:function(e,t,i){"use strict";var n,o,r=i(9917),s=i(16830),a=i(71922),l=i(88941),h=i(71050),d=i(65321),u=i(50072),c=i(72202),g=i(92550),p=i(15393),m=i(50187),f=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let _=class extends r.JT{constructor(e,t){super(),this._sessionStore=new r.SL,this._ranges=[],this._rangesVersionId=0,this._editor=e,this._languageFeaturesService=t,this.stickyScrollWidget=new b(this._editor),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(34)&&this.onConfigurationChange()})),this._updateSoon=this._register(new p.pY(()=>this._update(!0),50)),this.onConfigurationChange()}onConfigurationChange(){let e=this._editor.getOption(34);if(!1===e.stickyScroll.enabled){this.stickyScrollWidget.emptyRootNode(),this._editor.removeOverlayWidget(this.stickyScrollWidget),this._sessionStore.clear();return}this._editor.addOverlayWidget(this.stickyScrollWidget),this._sessionStore.add(this._editor.onDidChangeModel(()=>this._update(!0))),this._sessionStore.add(this._editor.onDidScrollChange(()=>this._update(!1))),this._sessionStore.add(this._editor.onDidChangeHiddenAreas(()=>this._update(!0))),this._sessionStore.add(this._editor.onDidChangeModelTokens(e=>this._onTokensChange(e))),this._sessionStore.add(this._editor.onDidChangeModelContent(()=>this._updateSoon.schedule())),this._sessionStore.add(this._languageFeaturesService.documentSymbolProvider.onDidChange(()=>this._update(!0))),this._update(!0)}_needsUpdate(e){let t=this.stickyScrollWidget.getCurrentLines();for(let i of t)for(let t of e.ranges)if(i>=t.fromLineNumber&&i<=t.toLineNumber)return!0;return!1}_onTokensChange(e){this._needsUpdate(e)&&this._update(!1)}_update(e=!1){var t,i;return f(this,void 0,void 0,function*(){e&&(null===(t=this._cts)||void 0===t||t.dispose(!0),this._cts=new h.A,yield this._updateOutlineModel(this._cts.token));let n=null===(i=this._editor._getViewModel())||void 0===i?void 0:i.getHiddenAreas();if(n)for(let e of n)this._ranges=this._ranges.filter(t=>!(t[0]>=e.startLineNumber&&t[1]<=e.endLineNumber+1));this._renderStickyScroll()})}_findLineRanges(e,t){if(null==e?void 0:e.children.size){let i=!1;for(let n of null==e?void 0:e.children.values()){let e=n.symbol.kind;(4===e||8===e||11===e||10===e||5===e||1===e)&&(i=!0,this._findLineRanges(n,t+1))}i||this._addOutlineRanges(e,t)}else this._addOutlineRanges(e,t)}_addOutlineRanges(e,t){let i=0,n=0;for(;e;){let o=e.symbol.kind;if((4===o||8===o||11===o||10===o||5===o||1===o)&&(i=null==e?void 0:e.symbol.range.startLineNumber,n=null==e?void 0:e.symbol.range.endLineNumber,this._ranges.push([i,n,t]),t--),e.parent instanceof l.sT)e=e.parent;else break}}_updateOutlineModel(e){return f(this,void 0,void 0,function*(){if(this._editor.hasModel()){let t=this._editor.getModel(),i=t.getVersionId(),n=yield l.C3.create(this._languageFeaturesService.documentSymbolProvider,t,e);if(!e.isCancellationRequested)for(let e of(this._ranges=[],this._rangesVersionId=i,n.children.values())){if(e instanceof l.sT){let t=e.symbol.kind;4===t||8===t||11===t||10===t||5===t||1===t?this._findLineRanges(e,1):this._findLineRanges(e,0)}this._ranges=this._ranges.sort(function(e,t){return e[0]!==t[0]?e[0]-t[0]:e[1]!==t[1]?t[1]-e[1]:e[2]-t[2]});let t=[];for(let[e,i]of this._ranges.entries()){let[n,o,r]=i;t[0]===n&&t[1]===o?this._ranges.splice(e,1):t=i}}}})}_renderStickyScroll(){if(!this._editor.hasModel())return;let e=this._editor.getOption(61),t=this._editor.getModel();if(this._rangesVersionId!==t.getVersionId())return;let i=this._editor.getScrollTop();this.stickyScrollWidget.emptyRootNode();let n=new Set;for(let[o,r]of this._ranges.entries()){let[s,a,l]=r;if(a-s>0&&""!==t.getLineContent(s)){let t=(l-1)*e,r=l*e,h=this._editor.getBottomForLineNumber(s)-i,d=this._editor.getTopForLineNumber(a)-i,u=this._editor.getBottomForLineNumber(a)-i;if(n.has(s))this._ranges.splice(o,1);else{if(t>=d-1&&th&&r=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(n=a.p,function(e,t){n(e,t,1)})],_);let v=null===(o=window.trustedTypes)||void 0===o?void 0:o.createPolicy("stickyScrollViewLayer",{createHTML:e=>e});class C{constructor(e,t,i,n,o){this._lineNumber=e,this._depth=t,this._editor=i,this._zIndex=n,this._relativePosition=o,this.effectiveLineHeight=0,this.effectiveLineHeight=this._editor.getOption(61)+this._relativePosition}get lineNumber(){return this._lineNumber}getDomNode(){let e,t;let i=document.createElement("div"),n=this._editor._getViewModel(),o=n.coordinatesConverter.convertModelPositionToViewPosition(new m.L(this._lineNumber,1)).lineNumber,r=n.getViewLineRenderingData(o);try{e=g.Kp.filter(r.inlineDecorations,o,r.minColumn,r.maxColumn)}catch(t){e=[]}let s=new c.IJ(!0,!0,r.content,r.continuesWithWrappedLine,r.isBasicASCII,r.containsRTL,0,r.tokens,e,r.tabSize,r.startVisibleColumn,1,1,1,100,"none",!0,!0,null),a=(0,u.l$)(400);(0,c.d1)(s,a),t=v?v.createHTML(a.build()):a.build();let l=document.createElement("span");l.style.backgroundColor="var(--vscode-editorStickyScroll-background)",l.style.overflow="hidden",l.style.whiteSpace="nowrap",l.style.display="inline-block",l.style.lineHeight=this._editor.getOption(61).toString()+"px",l.innerHTML=t;let h=document.createElement("span");h.style.width=this._editor.getLayoutInfo().contentLeft.toString()+"px",h.style.backgroundColor="var(--vscode-editorStickyScroll-background)",h.style.color="var(--vscode-editorLineNumber-foreground)",h.style.display="inline-block",h.style.lineHeight=this._editor.getOption(61).toString()+"px";let d=document.createElement("span");return d.innerText=this._lineNumber.toString(),d.style.paddingLeft=this._editor.getLayoutInfo().lineNumbersLeft.toString()+"px",d.style.width=this._editor.getLayoutInfo().lineNumbersWidth.toString()+"px",d.style.backgroundColor="var(--vscode-editorStickyScroll-background)",d.style.textAlign="right",d.style.float="left",d.style.lineHeight=this._editor.getOption(61).toString()+"px",h.appendChild(d),i.onclick=e=>{e.stopPropagation(),e.preventDefault(),this._editor.revealPosition({lineNumber:this._lineNumber-this._depth+1,column:1})},i.onmouseover=e=>{d.style.background="var(--vscode-editorStickyScrollHover-background)",l.style.backgroundColor="var(--vscode-editorStickyScrollHover-background)",h.style.backgroundColor="var(--vscode-editorStickyScrollHover-background)",i.style.backgroundColor="var(--vscode-editorStickyScrollHover-background)",d.style.cursor="pointer",l.style.cursor="pointer",i.style.cursor="pointer",h.style.cursor="pointer"},i.onmouseleave=e=>{d.style.background="var(--vscode-editorStickyScroll-background)",l.style.backgroundColor="var(--vscode-editorStickyScroll-background)",h.style.backgroundColor="var(--vscode-editorStickyScroll-background)",i.style.backgroundColor="var(--vscode-editorStickyScroll-background)"},this._editor.applyFontInfo(l),this._editor.applyFontInfo(d),i.appendChild(h),i.appendChild(l),i.style.zIndex=this._zIndex.toString(),i.style.backgroundColor="var(--vscode-editorStickyScroll-background)",i.style.overflow="hidden",i.style.whiteSpace="nowrap",i.style.width="100%",i.style.lineHeight=this._editor.getOption(61).toString()+"px",i.style.height=this._editor.getOption(61).toString()+"px",this._relativePosition&&(i.style.position="relative",i.style.top=this._relativePosition+"px",i.style.width="100%"),i}}class b{constructor(e){this._editor=e,this.arrayOfCodeLines=[],this.rootDomNode=document.createElement("div"),this.rootDomNode=document.createElement("div"),this.rootDomNode.style.width="100%",this.rootDomNode.style.boxShadow="var(--vscode-scrollbar-shadow) 0 6px 6px -6px"}getCurrentLines(){let e=[];for(let t of this.arrayOfCodeLines)e.push(t.lineNumber);return e}pushCodeLine(e){this.arrayOfCodeLines.push(e)}updateRootNode(){let e=0;for(let t of this.arrayOfCodeLines)e+=t.effectiveLineHeight,this.rootDomNode.appendChild(t.getDomNode());this.rootDomNode.style.height=e.toString()+"px"}emptyRootNode(){this.arrayOfCodeLines.length=0,d.PO(this.rootDomNode)}getId(){return"editor.contrib.stickyScrollWidget"}getDomNode(){return this.rootDomNode.style.zIndex="2",this.rootDomNode.style.backgroundColor="var(--vscode-editorStickyScroll-background)",this.rootDomNode}getPosition(){return{preference:null}}}(0,s._K)(_.ID,_)},74961:function(e,t,i){"use strict";i.d(t,{_:function(){return a},t:function(){return s}});var n=i(9488),o=i(75392),r=i(97295);class s{constructor(e,t){this.leadingLineContent=e,this.characterCountDelta=t}}class a{constructor(e,t,i,n,r,s,l=o.mX.default,h){this.clipboardText=h,this._snippetCompareFn=a._compareCompletionItems,this._items=e,this._column=t,this._wordDistance=n,this._options=r,this._refilterKind=1,this._lineContext=i,this._fuzzyScoreOptions=l,"top"===s?this._snippetCompareFn=a._compareCompletionItemsSnippetsUp:"bottom"===s&&(this._snippetCompareFn=a._compareCompletionItemsSnippetsDown)}get lineContext(){return this._lineContext}set lineContext(e){(this._lineContext.leadingLineContent!==e.leadingLineContent||this._lineContext.characterCountDelta!==e.characterCountDelta)&&(this._refilterKind=this._lineContext.characterCountDelta2e3?o.EW:o.l7;for(let n=0;n=g)u.score=o.CL.Default;else if("string"==typeof u.completion.filterText){let t=d(s,a,e,u.completion.filterText,u.filterTextLow,0,this._fuzzyScoreOptions);if(!t)continue;0===(0,r.zY)(u.completion.filterText,u.textLabel)?u.score=t:(u.score=(0,o.jB)(s,a,e,u.textLabel,u.labelLow,0),u.score[0]=t[0])}else{let t=d(s,a,e,u.textLabel,u.labelLow,0,this._fuzzyScoreOptions);if(!t)continue;u.score=t}}u.idx=n,u.distance=this._wordDistance.distance(u.position,u.completion),h.push(u),e.push(u.textLabel.length)}this._filteredItems=h.sort(this._snippetCompareFn),this._refilterKind=0,this._stats={pLabelLen:e.length?(0,n.HW)(e.length-.85,e,(e,t)=>e-t):0}}static _compareCompletionItems(e,t){return e.score[0]>t.score[0]?-1:e.score[0]t.distance?1:e.idxt.idx?1:0}static _compareCompletionItemsSnippetsDown(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return 1;if(27===t.completion.kind)return -1}return a._compareCompletionItems(e,t)}static _compareCompletionItemsSnippetsUp(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return -1;if(27===t.completion.kind)return 1}return a._compareCompletionItems(e,t)}}},55621:function(e,t,i){"use strict";let n;i.d(t,{A9:function(){return k},GI:function(){return S},ZJ:function(){return N},_y:function(){return y},i5:function(){return M},kL:function(){return x},tG:function(){return A},wg:function(){return T}});var o=i(71050),r=i(17301),s=i(75392),a=i(9917),l=i(84013),h=i(98401),d=i(70666),u=i(50187),c=i(24314),g=i(88216),p=i(35084),m=i(63580),f=i(84144),_=i(94565),v=i(38819),C=i(71922),b=i(37726),w=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let y={Visible:b.iX,HasFocusedSuggestion:new v.uy("suggestWidgetHasFocusedSuggestion",!1,(0,m.NC)("suggestWidgetHasSelection","Whether any suggestion is focused")),DetailsVisible:new v.uy("suggestWidgetDetailsVisible",!1,(0,m.NC)("suggestWidgetDetailsVisible","Whether suggestion details are visible")),MultipleSuggestions:new v.uy("suggestWidgetMultipleSuggestions",!1,(0,m.NC)("suggestWidgetMultipleSuggestions","Whether there are multiple suggestions to pick from")),MakesTextEdit:new v.uy("suggestionMakesTextEdit",!0,(0,m.NC)("suggestionMakesTextEdit","Whether inserting the current suggestion yields in a change or has everything already been typed")),AcceptSuggestionsOnEnter:new v.uy("acceptSuggestionOnEnter",!0,(0,m.NC)("acceptSuggestionOnEnter","Whether suggestions are inserted when pressing Enter")),HasInsertAndReplaceRange:new v.uy("suggestionHasInsertAndReplaceRange",!1,(0,m.NC)("suggestionHasInsertAndReplaceRange","Whether the current suggestion has insert and replace behaviour")),InsertMode:new v.uy("suggestionInsertMode",void 0,{type:"string",description:(0,m.NC)("suggestionInsertMode","Whether the default behaviour is to insert or replace")}),CanResolve:new v.uy("suggestionCanResolve",!1,(0,m.NC)("suggestionCanResolve","Whether the current suggestion supports to resolve further details"))},S=new f.eH("suggestWidgetStatusBar");class L{constructor(e,t,i,n){this.position=e,this.completion=t,this.container=i,this.provider=n,this.isInvalid=!1,this.score=s.CL.Default,this.distance=0,this.textLabel="string"==typeof t.label?t.label:t.label.label,this.labelLow=this.textLabel.toLowerCase(),this.isInvalid=!this.textLabel,this.sortTextLow=t.sortText&&t.sortText.toLowerCase(),this.filterTextLow=t.filterText&&t.filterText.toLowerCase(),this.extensionId=t.extensionId,c.e.isIRange(t.range)?(this.editStart=new u.L(t.range.startLineNumber,t.range.startColumn),this.editInsertEnd=new u.L(t.range.endLineNumber,t.range.endColumn),this.editReplaceEnd=new u.L(t.range.endLineNumber,t.range.endColumn),this.isInvalid=this.isInvalid||c.e.spansMultipleLines(t.range)||t.range.startLineNumber!==e.lineNumber):(this.editStart=new u.L(t.range.insert.startLineNumber,t.range.insert.startColumn),this.editInsertEnd=new u.L(t.range.insert.endLineNumber,t.range.insert.endColumn),this.editReplaceEnd=new u.L(t.range.replace.endLineNumber,t.range.replace.endColumn),this.isInvalid=this.isInvalid||c.e.spansMultipleLines(t.range.insert)||c.e.spansMultipleLines(t.range.replace)||t.range.insert.startLineNumber!==e.lineNumber||t.range.replace.startLineNumber!==e.lineNumber||t.range.insert.startColumn!==t.range.replace.startColumn),"function"!=typeof n.resolveCompletionItem&&(this._resolveCache=Promise.resolve(),this._isResolved=!0)}get isResolved(){return!!this._isResolved}resolve(e){return w(this,void 0,void 0,function*(){if(!this._resolveCache){let t=e.onCancellationRequested(()=>{this._resolveCache=void 0,this._isResolved=!1});this._resolveCache=Promise.resolve(this.provider.resolveCompletionItem(this.completion,e)).then(e=>{Object.assign(this.completion,e),this._isResolved=!0,t.dispose()},e=>{(0,r.n2)(e)&&(this._resolveCache=void 0,this._isResolved=!1)})}return this._resolveCache})}}class k{constructor(e=2,t=new Set,i=new Set,n=!0){this.snippetSortOrder=e,this.kindFilter=t,this.providerFilter=i,this.showDeprecated=n}}function N(){return n}k.default=new k;class D{constructor(e,t,i,n){this.items=e,this.needsClipboard=t,this.durations=i,this.disposable=n}}function x(e,t,i,s=k.default,h={triggerKind:0},d=o.T.None){return w(this,void 0,void 0,function*(){let o=new l.G(!0);i=i.clone();let u=t.getWordAtPosition(i),g=u?new c.e(i.lineNumber,u.startColumn,i.lineNumber,u.endColumn):c.e.fromPositions(i),m={replace:g,insert:g.setEndPosition(i.lineNumber,i.column)},f=[],_=new a.SL,v=[],C=!1,b=(e,t,n)=>{var o,r,l;let h=!1;if(!t)return h;for(let n of t.suggestions)if(!s.kindFilter.has(n.kind)){if(!s.showDeprecated&&(null===(o=null==n?void 0:n.tags)||void 0===o?void 0:o.includes(1)))continue;n.range||(n.range=m),n.sortText||(n.sortText="string"==typeof n.label?n.label:n.label.label),!C&&n.insertTextRules&&4&n.insertTextRules&&(C=p.Yj.guessNeedsClipboard(n.insertText)),f.push(new L(i,n,t,e)),h=!0}return(0,a.Wf)(t)&&_.add(t),v.push({providerName:null!==(r=e._debugDisplayName)&&void 0!==r?r:"unknown_provider",elapsedProvider:null!==(l=t.duration)&&void 0!==l?l:-1,elapsedOverall:n.elapsed()}),h},y=w(this,void 0,void 0,function*(){if(!n||s.kindFilter.has(27)||s.providerFilter.size>0&&!s.providerFilter.has(n))return;let e=new l.G(!0),o=yield n.provideCompletionItems(t,i,h,d);b(n,o,e)});for(let n of e.orderedGroups(t)){let e=!1;if(yield Promise.all(n.map(n=>w(this,void 0,void 0,function*(){if(!(s.providerFilter.size>0)||s.providerFilter.has(n))try{let o=new l.G(!0),r=yield n.provideCompletionItems(t,i,h,d);e=b(n,r,o)||e}catch(e){(0,r.Cp)(e)}}))),e||d.isCancellationRequested)break}return(yield y,d.isCancellationRequested)?(_.dispose(),Promise.reject(new r.FU)):new D(f.sort(T(s.snippetSortOrder)),C,{entries:v,elapsed:o.elapsed()},_)})}function I(e,t){if(e.sortTextLow&&t.sortTextLow){if(e.sortTextLowt.sortTextLow)return 1}return e.textLabelt.textLabel?1:e.completion.kind-t.completion.kind}let E=new Map;function T(e){return E.get(e)}function M(e,t){var i;null===(i=e.getContribution("editor.contrib.suggestController"))||void 0===i||i.triggerSuggest(new Set().add(t),void 0,!0)}E.set(0,function(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return -1;if(27===t.completion.kind)return 1}return I(e,t)}),E.set(2,function(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return 1;if(27===t.completion.kind)return -1}return I(e,t)}),E.set(1,I),_.P0.registerCommand("_executeCompletionItemProvider",(e,...t)=>w(void 0,void 0,void 0,function*(){let[i,n,r,s]=t;(0,h.p_)(d.o.isUri(i)),(0,h.p_)(u.L.isIPosition(n)),(0,h.p_)("string"==typeof r||!r),(0,h.p_)("number"==typeof s||!s);let{completionProvider:a}=e.get(C.p),l=yield e.get(g.S).createModelReference(i);try{let e={incomplete:!1,suggestions:[]},t=[],i=yield x(a,l.object.textEditorModel,u.L.lift(n),void 0,{triggerCharacter:r,triggerKind:r?1:0});for(let n of i.items)t.length<(null!=s?s:0)&&t.push(n.resolve(o.T.None)),e.incomplete=e.incomplete||n.container.incomplete,e.suggestions.push(n.completion);try{return yield Promise.all(t),e}finally{setTimeout(()=>i.disposable.dispose(),100)}}finally{l.dispose()}}));class A{static isAllOff(e){return"off"===e.other&&"off"===e.comments&&"off"===e.strings}static isAllOn(e){return"on"===e.other&&"on"===e.comments&&"on"===e.strings}static valueFor(e,t){switch(t){case 1:return e.comments;case 2:return e.strings;default:return e.other}}}},76092:function(e,t,i){"use strict";i.d(t,{n:function(){return eZ}});var n,o,r,s,a,l,h=i(85152),d=i(9488),u=i(15393),c=i(71050),g=i(17301),p=i(4669),m=i(8313),f=i(9917),_=i(1432),v=i(84013),C=i(98401),b=i(43407),w=i(16830),y=i(69386),S=i(50187),L=i(24314),k=i(29102),N=i(98762),D=i(35084),x=i(80378),I=i(38819);let E=class e{constructor(t,i){this._editor=t,this._enabled=!1,this._ckAtEnd=e.AtEnd.bindTo(i),this._configListener=this._editor.onDidChangeConfiguration(e=>e.hasChanged(113)&&this._update()),this._update()}dispose(){var e;this._configListener.dispose(),null===(e=this._selectionListener)||void 0===e||e.dispose(),this._ckAtEnd.reset()}_update(){let e="on"===this._editor.getOption(113);if(this._enabled!==e){if(this._enabled=e,this._enabled){let e=()=>{if(!this._editor.hasModel()){this._ckAtEnd.set(!1);return}let e=this._editor.getModel(),t=this._editor.getSelection(),i=e.getWordAtPosition(t.getStartPosition());if(!i){this._ckAtEnd.set(!1);return}this._ckAtEnd.set(i.endColumn===t.getStartPosition().column)};this._selectionListener=this._editor.onDidChangeCursorSelection(e),e()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)}}};E.AtEnd=new I.uy("atEndOfWord",!1),E=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(n=I.i6,function(e,t){n(e,t,1)})],E);var T=i(63580),M=i(94565),A=i(72065),R=i(43557),O=i(55621);let P=class e{constructor(t,i){this._editor=t,this._index=0,this._ckOtherSuggestions=e.OtherSuggestions.bindTo(i)}dispose(){this.reset()}reset(){var e;this._ckOtherSuggestions.reset(),null===(e=this._listener)||void 0===e||e.dispose(),this._model=void 0,this._acceptNext=void 0,this._ignore=!1}set({model:t,index:i},n){if(0===t.items.length){this.reset();return}let o=e._moveIndex(!0,t,i);if(o===i){this.reset();return}this._acceptNext=n,this._model=t,this._index=i,this._listener=this._editor.onDidChangeCursorPosition(()=>{this._ignore||this.reset()}),this._ckOtherSuggestions.set(!0)}static _moveIndex(e,t,i){let n=i;for(;(n=(n+t.items.length+(e?1:-1))%t.items.length)!==i&&t.items[n].completion.additionalTextEdits;);return n}next(){this._move(!0)}prev(){this._move(!1)}_move(t){if(this._model)try{this._ignore=!0,this._index=e._moveIndex(t,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}}};P.OtherSuggestions=new I.uy("hasOtherSuggestions",!1),P=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(o=I.i6,function(e,t){o(e,t,1)})],P);var F=i(44906);class B{constructor(e,t,i){this._disposables=new f.SL,this._disposables.add(t.onDidShow(()=>this._onItem(t.getFocusedItem()))),this._disposables.add(t.onDidFocus(this._onItem,this)),this._disposables.add(t.onDidHide(this.reset,this)),this._disposables.add(e.onWillType(n=>{if(this._active&&!t.isFrozen()){let t=n.charCodeAt(n.length-1);this._active.acceptCharacters.has(t)&&e.getOption(0)&&i(this._active.item)}}))}_onItem(e){if(!e||!(0,d.Of)(e.item.completion.commitCharacters)){this.reset();return}if(this._active&&this._active.item.item===e.item)return;let t=new F.q;for(let i of e.item.completion.commitCharacters)i.length>0&&t.add(i.charCodeAt(0));this._active={acceptCharacters:t,item:e}}reset(){this._active=void 0}dispose(){this._disposables.dispose()}}var V=i(97295),W=i(3860),H=i(85215),z=i(24477),K=i(84972),U=i(33108),$=i(10829),j=i(74961),q=i(71922),G=function(e,t){return function(i,n){t(i,n,e)}};class Q{constructor(e,t,i,n,o){this.leadingLineContent=e.getLineContent(t.lineNumber).substr(0,t.column-1),this.leadingWord=e.getWordUntilPosition(t),this.lineNumber=t.lineNumber,this.column=t.column,this.auto=i,this.shy=n,this.noSelect=o}static shouldAutoTrigger(e){if(!e.hasModel())return!1;let t=e.getModel(),i=e.getPosition();t.tokenization.tokenizeIfCheap(i.lineNumber);let n=t.getWordAtPosition(i);return!!(n&&n.endColumn===i.column&&isNaN(Number(n.word)))}}let Z=class e{constructor(e,t,i,n,o,r,s,a){this._editor=e,this._editorWorkerService=t,this._clipboardService=i,this._telemetryService=n,this._logService=o,this._contextKeyService=r,this._configurationService=s,this._languageFeaturesService=a,this._toDispose=new f.SL,this._triggerCharacterListener=new f.SL,this._triggerQuickSuggest=new u._F,this._state=0,this._completionDisposables=new f.SL,this._onDidCancel=new p.Q5,this._onDidTrigger=new p.Q5,this._onDidSuggest=new p.Q5,this.onDidCancel=this._onDidCancel.event,this.onDidTrigger=this._onDidTrigger.event,this.onDidSuggest=this._onDidSuggest.event,this._telemetryGate=0,this._currentSelection=this._editor.getSelection()||new W.Y(1,1,1,1),this._toDispose.add(this._editor.onDidChangeModel(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeModelLanguage(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeConfiguration(()=>{this._updateTriggerCharacters()})),this._toDispose.add(this._languageFeaturesService.completionProvider.onDidChange(()=>{this._updateTriggerCharacters(),this._updateActiveSuggestSession()}));let l=!1;this._toDispose.add(this._editor.onDidCompositionStart(()=>{l=!0})),this._toDispose.add(this._editor.onDidCompositionEnd(()=>{l=!1,this._onCompositionEnd()})),this._toDispose.add(this._editor.onDidChangeCursorSelection(e=>{l||this._onCursorChange(e)})),this._toDispose.add(this._editor.onDidChangeModelContent(()=>{l||this._refilterCompletionItems()})),this._updateTriggerCharacters()}dispose(){(0,f.B9)(this._triggerCharacterListener),(0,f.B9)([this._onDidCancel,this._onDidSuggest,this._onDidTrigger,this._triggerQuickSuggest]),this._toDispose.dispose(),this._completionDisposables.dispose(),this.cancel()}_updateTriggerCharacters(){if(this._triggerCharacterListener.clear(),this._editor.getOption(83)||!this._editor.hasModel()||!this._editor.getOption(111))return;let e=new Map;for(let t of this._languageFeaturesService.completionProvider.all(this._editor.getModel()))for(let i of t.triggerCharacters||[]){let n=e.get(i);n||((n=new Set).add((0,O.ZJ)()),e.set(i,n)),n.add(t)}let t=t=>{if(!function(e,t,i){if(!t.getContextKeyValue("inlineSuggestionVisible"))return!0;let n=i.getValue("editor.inlineSuggest.allowSuggestOnTriggerCharacters");return void 0!==n&&!!n}(this._editor,this._contextKeyService,this._configurationService)||Q.shouldAutoTrigger(this._editor))return;if(!t){let e=this._editor.getPosition(),i=this._editor.getModel();t=i.getLineContent(e.lineNumber).substr(0,e.column-1)}let i="";(0,V.YK)(t.charCodeAt(t.length-1))?(0,V.ZG)(t.charCodeAt(t.length-2))&&(i=t.substr(t.length-2)):i=t.charAt(t.length-1);let n=e.get(i);if(n){let e=this._completionModel?{items:this._completionModel.adopt(n),clipboardText:this._completionModel.clipboardText}:void 0;this.trigger({auto:!0,shy:!1,noSelect:!1,triggerCharacter:i},!!this._completionModel,n,e)}};this._triggerCharacterListener.add(this._editor.onDidType(t)),this._triggerCharacterListener.add(this._editor.onDidCompositionEnd(()=>t()))}get state(){return this._state}cancel(e=!1){var t;0!==this._state&&(this._triggerQuickSuggest.cancel(),null===(t=this._requestToken)||void 0===t||t.cancel(),this._requestToken=void 0,this._state=0,this._completionModel=void 0,this._context=void 0,this._onDidCancel.fire({retrigger:e}))}clear(){this._completionDisposables.clear()}_updateActiveSuggestSession(){0!==this._state&&(this._editor.hasModel()&&this._languageFeaturesService.completionProvider.has(this._editor.getModel())?this.trigger({auto:2===this._state,shy:!1,noSelect:!1},!0):this.cancel())}_onCursorChange(e){if(!this._editor.hasModel())return;let t=this._currentSelection;if(this._currentSelection=this._editor.getSelection(),!e.selection.isEmpty()||0!==e.reason&&3!==e.reason||"keyboard"!==e.source&&"deleteLeft"!==e.source){this.cancel();return}0===this._state&&0===e.reason?(t.containsRange(this._currentSelection)||t.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition()))&&this._doTriggerQuickSuggest():0!==this._state&&3===e.reason&&this._refilterCompletionItems()}_onCompositionEnd(){0===this._state?this._doTriggerQuickSuggest():this._refilterCompletionItems()}_doTriggerQuickSuggest(){var e;O.tG.isAllOff(this._editor.getOption(81))||this._editor.getOption(108).snippetsPreventQuickSuggestions&&(null===(e=N.f.get(this._editor))||void 0===e?void 0:e.isInSnippet())||(this.cancel(),this._triggerQuickSuggest.cancelAndSet(()=>{if(0!==this._state||!Q.shouldAutoTrigger(this._editor)||!this._editor.hasModel()||!this._editor.hasWidgetFocus())return;let e=this._editor.getModel(),t=this._editor.getPosition(),i=this._editor.getOption(81);if(!O.tG.isAllOff(i)){if(!O.tG.isAllOn(i)){e.tokenization.tokenizeIfCheap(t.lineNumber);let n=e.tokenization.getLineTokens(t.lineNumber),o=n.getStandardTokenType(n.findTokenIndexAtOffset(Math.max(t.column-1-1,0)));if("on"!==O.tG.valueFor(i,o))return}(function(e,t,i){if(!t.getContextKeyValue("inlineSuggestionVisible"))return!0;let n=i.getValue("editor.inlineSuggest.allowQuickSuggestions");return void 0!==n&&!!n})(this._editor,this._contextKeyService,this._configurationService)&&this._languageFeaturesService.completionProvider.has(e)&&this.trigger({auto:!0,shy:!1,noSelect:!1})}},this._editor.getOption(82)))}_refilterCompletionItems(){Promise.resolve().then(()=>{if(0===this._state||!this._editor.hasModel())return;let e=this._editor.getModel(),t=this._editor.getPosition(),i=new Q(e,t,2===this._state,!1,!1);this._onNewContext(i)})}trigger(t,i=!1,n,o,r){var s;if(!this._editor.hasModel())return;let a=this._editor.getModel(),l=t.auto,h=new Q(a,this._editor.getPosition(),l,t.shy,t.noSelect);this.cancel(i),this._state=l?2:1,this._onDidTrigger.fire({auto:l,shy:t.shy,position:this._editor.getPosition()}),this._context=h;let d={triggerKind:null!==(s=t.triggerKind)&&void 0!==s?s:0};t.triggerCharacter&&(d={triggerKind:1,triggerCharacter:t.triggerCharacter}),this._requestToken=new c.A;let u=this._editor.getOption(103),p=1;switch(u){case"top":p=0;break;case"bottom":p=2}let{itemKind:m,showDeprecated:f}=e._createSuggestFilter(this._editor),_=new O.A9(p,r?new Set:m,n,f),v=z.K.create(this._editorWorkerService,this._editor),C=(0,O.kL)(this._languageFeaturesService.completionProvider,a,this._editor.getPosition(),_,d,this._requestToken.token);Promise.all([C,v]).then(([e,i])=>{var n,r,s,a;return n=this,r=void 0,s=void 0,a=function*(){var n;if(null===(n=this._requestToken)||void 0===n||n.dispose(),!this._editor.hasModel())return;let r=null==o?void 0:o.clipboardText;if(!r&&e.needsClipboard&&(r=yield this._clipboardService.readText()),0===this._state)return;let s=this._editor.getModel(),a=e.items;if(o){let e=(0,O.wg)(p);a=a.concat(o.items).sort(e)}let h=new Q(s,this._editor.getPosition(),l,t.shy,t.noSelect);this._completionModel=new j._(a,this._context.column,{leadingLineContent:h.leadingLineContent,characterCountDelta:h.column-this._context.column},i,this._editor.getOption(108),this._editor.getOption(103),void 0,r),this._completionDisposables.add(e.disposable),this._onNewContext(h),this._reportDurationsTelemetry(e.durations)},new(s||(s=Promise))(function(e,t){function i(e){try{l(a.next(e))}catch(e){t(e)}}function o(e){try{l(a.throw(e))}catch(e){t(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof s?n:new s(function(e){e(n)})).then(i,o)}l((a=a.apply(n,r||[])).next())})}).catch(g.dL)}_reportDurationsTelemetry(e){this._telemetryGate++%230==0&&setTimeout(()=>{this._telemetryService.publicLog2("suggest.durations.json",{data:JSON.stringify(e)}),this._logService.debug("suggest.durations.json",e)})}static _createSuggestFilter(e){let t=new Set,i=e.getOption(103);"none"===i&&t.add(27);let n=e.getOption(108);return n.showMethods||t.add(0),n.showFunctions||t.add(1),n.showConstructors||t.add(2),n.showFields||t.add(3),n.showVariables||t.add(4),n.showClasses||t.add(5),n.showStructs||t.add(6),n.showInterfaces||t.add(7),n.showModules||t.add(8),n.showProperties||t.add(9),n.showEvents||t.add(10),n.showOperators||t.add(11),n.showUnits||t.add(12),n.showValues||t.add(13),n.showConstants||t.add(14),n.showEnums||t.add(15),n.showEnumMembers||t.add(16),n.showKeywords||t.add(17),n.showWords||t.add(18),n.showColors||t.add(19),n.showFiles||t.add(20),n.showReferences||t.add(21),n.showColors||t.add(22),n.showFolders||t.add(23),n.showTypeParameters||t.add(24),n.showSnippets||t.add(27),n.showUsers||t.add(25),n.showIssues||t.add(26),{itemKind:t,showDeprecated:n.showDeprecated}}_onNewContext(e){if(this._context){if(e.lineNumber!==this._context.lineNumber||(0,V.V8)(e.leadingLineContent)!==(0,V.V8)(this._context.leadingLineContent)){this.cancel();return}if(e.columnthis._context.leadingWord.startColumn){let e=new Set(this._languageFeaturesService.completionProvider.all(this._editor.getModel()));for(let t of this._completionModel.allProvider)e.delete(t);let t=this._completionModel.adopt(new Set);this.trigger({auto:this._context.auto,shy:!1,noSelect:!1},!0,e,{items:t,clipboardText:this._completionModel.clipboardText});return}if(e.column>this._context.column&&this._completionModel.incomplete.size>0&&0!==e.leadingWord.word.length){let{incomplete:e}=this._completionModel,t=this._completionModel.adopt(e);this.trigger({auto:2===this._state,shy:!1,noSelect:!1,triggerKind:2},!0,e,{items:t,clipboardText:this._completionModel.clipboardText})}else{let t=this._completionModel.lineContext,i=!1;if(this._completionModel.lineContext={leadingLineContent:e.leadingLineContent,characterCountDelta:e.column-this._context.column},0===this._completionModel.items.length){if(Q.shouldAutoTrigger(this._editor)&&this._context.leadingWord.endColumn0)&&0===e.leadingWord.word.length)){this.cancel();return}}this._onDidSuggest.fire({completionModel:this._completionModel,auto:this._context.auto,shy:this._context.shy,noSelect:this._context.noSelect,isFrozen:i})}}}}};Z=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([G(1,H.p),G(2,K.p),G(3,$.b),G(4,R.VZ),G(5,I.i6),G(6,U.Ui),G(7,q.p)],Z);class Y{constructor(e,t){this._disposables=new f.SL,this._lastOvertyped=[],this._empty=!0,this._disposables.add(e.onWillType(()=>{if(!this._empty||!e.hasModel())return;let t=e.getSelections(),i=t.length,n=!1;for(let e=0;eY._maxSelectionLength)return;this._lastOvertyped[e]={value:o.getValueInRange(i),multiline:i.startLineNumber!==i.endLineNumber}}this._empty=!1})),this._disposables.add(t.onDidCancel(e=>{this._empty||e.retrigger||(this._empty=!0)}))}getLastOvertypedInfo(e){if(!this._empty&&e>=0&&ee instanceof eo.U8?t.createInstance(es,e,void 0):void 0;this._leftActions=new ei.o(this.element,{actionViewItemProvider:o}),this._rightActions=new ei.o(this.element,{actionViewItemProvider:o}),this._leftActions.domNode.classList.add("left"),this._rightActions.domNode.classList.add("right")}dispose(){this._menuDisposables.dispose(),this.element.remove()}show(){let e=this._menuService.createMenu(O.GI,this._contextKeyService),t=()=>{let t=[],i=[];for(let[n,o]of e.getActions())"left"===n?t.push(...o):i.push(...o);this._leftActions.clear(),this._leftActions.push(t),this._rightActions.clear(),this._rightActions.push(i)};this._menuDisposables.add(e.onDidChange(()=>t())),this._menuDisposables.add(e)}hide(){this._menuDisposables.clear()}};ea=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([er(1,A.TG),er(2,eo.co),er(3,I.i6)],ea),i(71713);var el=i(87060),eh=i(73910),ed=i(88810),eu=i(92321),ec=i(97781),eg=i(73098);class ep{constructor(){let e;this._onDidWillResize=new p.Q5,this.onDidWillResize=this._onDidWillResize.event,this._onDidResize=new p.Q5,this.onDidResize=this._onDidResize.event,this._sashListener=new f.SL,this._size=new J.Ro(0,0),this._minSize=new J.Ro(0,0),this._maxSize=new J.Ro(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),this.domNode=document.createElement("div"),this._eastSash=new eg.g(this.domNode,{getVerticalSashLeft:()=>this._size.width},{orientation:0}),this._westSash=new eg.g(this.domNode,{getVerticalSashLeft:()=>0},{orientation:0}),this._northSash=new eg.g(this.domNode,{getHorizontalSashTop:()=>0},{orientation:1,orthogonalEdge:eg.l.North}),this._southSash=new eg.g(this.domNode,{getHorizontalSashTop:()=>this._size.height},{orientation:1,orthogonalEdge:eg.l.South}),this._northSash.orthogonalStartSash=this._westSash,this._northSash.orthogonalEndSash=this._eastSash,this._southSash.orthogonalStartSash=this._westSash,this._southSash.orthogonalEndSash=this._eastSash;let t=0,i=0;this._sashListener.add(p.ju.any(this._northSash.onDidStart,this._eastSash.onDidStart,this._southSash.onDidStart,this._westSash.onDidStart)(()=>{void 0===e&&(this._onDidWillResize.fire(),e=this._size,t=0,i=0)})),this._sashListener.add(p.ju.any(this._northSash.onDidEnd,this._eastSash.onDidEnd,this._southSash.onDidEnd,this._westSash.onDidEnd)(()=>{void 0!==e&&(e=void 0,t=0,i=0,this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(this._eastSash.onDidChange(n=>{e&&(i=n.currentX-n.startX,this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,east:!0}))})),this._sashListener.add(this._westSash.onDidChange(n=>{e&&(i=-(n.currentX-n.startX),this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,west:!0}))})),this._sashListener.add(this._northSash.onDidChange(n=>{e&&(t=-(n.currentY-n.startY),this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,north:!0}))})),this._sashListener.add(this._southSash.onDidChange(n=>{e&&(t=n.currentY-n.startY,this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,south:!0}))})),this._sashListener.add(p.ju.any(this._eastSash.onDidReset,this._westSash.onDidReset)(e=>{this._preferredSize&&(this.layout(this._size.height,this._preferredSize.width),this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(p.ju.any(this._northSash.onDidReset,this._southSash.onDidReset)(e=>{this._preferredSize&&(this.layout(this._preferredSize.height,this._size.width),this._onDidResize.fire({dimension:this._size,done:!0}))}))}dispose(){this._northSash.dispose(),this._southSash.dispose(),this._eastSash.dispose(),this._westSash.dispose(),this._sashListener.dispose(),this._onDidResize.dispose(),this._onDidWillResize.dispose(),this.domNode.remove()}enableSashes(e,t,i,n){this._northSash.state=e?3:0,this._eastSash.state=t?3:0,this._southSash.state=i?3:0,this._westSash.state=n?3:0}layout(e=this.size.height,t=this.size.width){let{height:i,width:n}=this._minSize,{height:o,width:r}=this._maxSize;e=Math.max(i,Math.min(o,e)),t=Math.max(n,Math.min(r,t));let s=new J.Ro(t,e);J.Ro.equals(s,this._size)||(this.domNode.style.height=e+"px",this.domNode.style.width=t+"px",this._size=s,this._northSash.layout(),this._eastSash.layout(),this._southSash.layout(),this._westSash.layout())}clearSashHoverState(){this._eastSash.clearSashHoverState(),this._westSash.clearSashHoverState(),this._northSash.clearSashHoverState(),this._southSash.clearSashHoverState()}get size(){return this._size}set maxSize(e){this._maxSize=e}get maxSize(){return this._maxSize}set minSize(e){this._minSize=e}get minSize(){return this._minSize}set preferredSize(e){this._preferredSize=e}get preferredSize(){return this._preferredSize}}var em=i(63161),ef=i(73046),e_=i(59365),ev=i(51318);function eC(e){return!!e&&!!(e.completion.documentation||e.completion.detail&&e.completion.detail!==e.completion.label)}let eb=class{constructor(e,t){this._editor=e,this._onDidClose=new p.Q5,this.onDidClose=this._onDidClose.event,this._onDidChangeContents=new p.Q5,this.onDidChangeContents=this._onDidChangeContents.event,this._disposables=new f.SL,this._renderDisposeable=new f.SL,this._borderWidth=1,this._size=new J.Ro(330,0),this.domNode=J.$(".suggest-details"),this.domNode.classList.add("no-docs"),this._markdownRenderer=t.createInstance(ev.$,{editor:e}),this._body=J.$(".body"),this._scrollbar=new em.s$(this._body,{alwaysConsumeMouseWheel:!0}),J.R3(this.domNode,this._scrollbar.getDomNode()),this._disposables.add(this._scrollbar),this._header=J.R3(this._body,J.$(".header")),this._close=J.R3(this._header,J.$("span"+ef.lA.close.cssSelector)),this._close.title=T.NC("details.close","Close"),this._type=J.R3(this._header,J.$("p.type")),this._docs=J.R3(this._body,J.$("p.docs")),this._configureFont(),this._disposables.add(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(46)&&this._configureFont()}))}dispose(){this._disposables.dispose(),this._renderDisposeable.dispose()}_configureFont(){let e=this._editor.getOptions(),t=e.get(46),i=t.getMassagedFontFamily(),n=e.get(109)||t.fontSize,o=e.get(110)||t.lineHeight,r=t.fontWeight,s=`${n}px`,a=`${o}px`;this.domNode.style.fontSize=s,this.domNode.style.lineHeight=`${o/n}`,this.domNode.style.fontWeight=r,this.domNode.style.fontFeatureSettings=t.fontFeatureSettings,this._type.style.fontFamily=i,this._close.style.height=a,this._close.style.width=a}getLayoutInfo(){let e=this._editor.getOption(110)||this._editor.getOption(46).lineHeight,t=this._borderWidth;return{lineHeight:e,borderWidth:t,borderHeight:2*t,verticalPadding:22,horizontalPadding:14}}renderLoading(){this._type.textContent=T.NC("loading","Loading..."),this._docs.textContent="",this.domNode.classList.remove("no-docs","no-type"),this.layout(this.size.width,2*this.getLayoutInfo().lineHeight),this._onDidChangeContents.fire(this)}renderItem(e,t){var i,n;this._renderDisposeable.clear();let{detail:o,documentation:r}=e.completion;if(t){let t="";t+=`score: ${e.score[0]} +prefix: ${null!==(i=e.word)&&void 0!==i?i:"(no prefix)"} +word: ${e.completion.filterText?e.completion.filterText+" (filterText)":e.textLabel} +distance: ${e.distance} (localityBonus-setting) +index: ${e.idx}, based on ${e.completion.sortText&&`sortText: "${e.completion.sortText}"`||"label"} +commit_chars: ${null===(n=e.completion.commitCharacters)||void 0===n?void 0:n.join("")} +`,r=new e_.W5().appendCodeblock("empty",t),o=`Provider: ${e.provider._debugDisplayName}`}if(!t&&!eC(e)){this.clearContents();return}if(this.domNode.classList.remove("no-docs","no-type"),o){let e=o.length>1e5?`${o.substr(0,1e5)}…`:o;this._type.textContent=e,this._type.title=e,J.$Z(this._type),this._type.classList.toggle("auto-wrap",!/\r?\n^\s+/gmi.test(e))}else J.PO(this._type),this._type.title="",J.Cp(this._type),this.domNode.classList.add("no-type");if(J.PO(this._docs),"string"==typeof r)this._docs.classList.remove("markdown-docs"),this._docs.textContent=r;else if(r){this._docs.classList.add("markdown-docs"),J.PO(this._docs);let e=this._markdownRenderer.render(r);this._docs.appendChild(e.element),this._renderDisposeable.add(e),this._renderDisposeable.add(this._markdownRenderer.onDidRenderAsync(()=>{this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)}))}this.domNode.style.userSelect="text",this.domNode.tabIndex=-1,this._close.onmousedown=e=>{e.preventDefault(),e.stopPropagation()},this._close.onclick=e=>{e.preventDefault(),e.stopPropagation(),this._onDidClose.fire()},this._body.scrollTop=0,this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)}clearContents(){this.domNode.classList.add("no-docs"),this._type.textContent="",this._docs.textContent=""}get size(){return this._size}layout(e,t){let i=new J.Ro(e,t);J.Ro.equals(i,this._size)||(this._size=i,J.dp(this.domNode,e,t)),this._scrollbar.scanDomNode()}scrollDown(e=8){this._body.scrollTop+=e}scrollUp(e=8){this._body.scrollTop-=e}scrollTop(){this._body.scrollTop=0}scrollBottom(){this._body.scrollTop=this._body.scrollHeight}pageDown(){this.scrollDown(80)}pageUp(){this.scrollUp(80)}set borderWidth(e){this._borderWidth=e}get borderWidth(){return this._borderWidth}};eb=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(r=A.TG,function(e,t){r(e,t,1)})],eb);class ew{constructor(e,t){let i,n;this.widget=e,this._editor=t,this._disposables=new f.SL,this._added=!1,this._preferAlignAtTop=!0,this._resizable=new ep,this._resizable.domNode.classList.add("suggest-details-container"),this._resizable.domNode.appendChild(e.domNode),this._resizable.enableSashes(!1,!0,!0,!1);let o=0,r=0;this._disposables.add(this._resizable.onDidWillResize(()=>{i=this._topLeft,n=this._resizable.size})),this._disposables.add(this._resizable.onDidResize(e=>{if(i&&n){this.widget.layout(e.dimension.width,e.dimension.height);let t=!1;e.west&&(r=n.width-e.dimension.width,t=!0),e.north&&(o=n.height-e.dimension.height,t=!0),t&&this._applyTopLeft({top:i.top+o,left:i.left+r})}e.done&&(i=void 0,n=void 0,o=0,r=0,this._userSize=e.dimension)})),this._disposables.add(this.widget.onDidChangeContents(()=>{var e;this._anchorBox&&this._placeAtAnchor(this._anchorBox,null!==(e=this._userSize)&&void 0!==e?e:this.widget.size,this._preferAlignAtTop)}))}dispose(){this._resizable.dispose(),this._disposables.dispose(),this.hide()}getId(){return"suggest.details"}getDomNode(){return this._resizable.domNode}getPosition(){return null}show(){this._added||(this._editor.addOverlayWidget(this),this.getDomNode().style.position="fixed",this._added=!0)}hide(e=!1){this._resizable.clearSashHoverState(),this._added&&(this._editor.removeOverlayWidget(this),this._added=!1,this._anchorBox=void 0,this._topLeft=void 0),e&&(this._userSize=void 0,this.widget.clearContents())}placeAtAnchor(e,t){var i;let n=e.getBoundingClientRect();this._anchorBox=n,this._preferAlignAtTop=t,this._placeAtAnchor(this._anchorBox,null!==(i=this._userSize)&&void 0!==i?i:this.widget.size,t)}_placeAtAnchor(e,t,i){var n;let o,r;let s=J.D6(document.body),a=this.widget.getLayoutInfo(),l=new J.Ro(220,2*a.lineHeight),h=e.top,d=function(){let i=s.width-(e.left+e.width+a.borderWidth+a.horizontalPadding),n=-a.borderWidth+e.left+e.width,o=new J.Ro(i,s.height-e.top-a.borderHeight-a.verticalPadding),r=o.with(void 0,e.top+e.height-a.borderHeight-a.verticalPadding);return{top:h,left:n,fit:i-t.width,maxSizeTop:o,maxSizeBottom:r,minSize:l.with(Math.min(i,l.width))}}(),u=function(){let i=e.left-a.borderWidth-a.horizontalPadding,n=Math.max(a.horizontalPadding,e.left-t.width-a.borderWidth),o=new J.Ro(i,s.height-e.top-a.borderHeight-a.verticalPadding),r=o.with(void 0,e.top+e.height-a.borderHeight-a.verticalPadding);return{top:h,left:n,fit:i-t.width,maxSizeTop:o,maxSizeBottom:r,minSize:l.with(Math.min(i,l.width))}}(),c=function(){let i=e.left,n=-a.borderWidth+e.top+e.height,o=new J.Ro(e.width-a.borderHeight,s.height-e.top-e.height-a.verticalPadding);return{top:n,left:i,fit:o.height-t.height,maxSizeBottom:o,maxSizeTop:o,minSize:l.with(o.width)}}(),g=[d,u,c],p=null!==(n=g.find(e=>e.fit>=0))&&void 0!==n?n:g.sort((e,t)=>t.fit-e.fit)[0],m=e.top+e.height-a.borderHeight,f=t.height,_=Math.max(p.maxSizeTop.height,p.maxSizeBottom.height);f>_&&(f=_),i?f<=p.maxSizeTop.height?(o=!0,r=p.maxSizeTop):(o=!1,r=p.maxSizeBottom):f<=p.maxSizeBottom.height?(o=!1,r=p.maxSizeBottom):(o=!0,r=p.maxSizeTop),this._applyTopLeft({left:p.left,top:o?p.top:m-f}),this.getDomNode().style.position="fixed",this._resizable.enableSashes(!o,p===d,o,p!==d),this._resizable.minSize=p.minSize,this._resizable.maxSize=r,this._resizable.layout(f,Math.min(r.width,t.width)),this.widget.layout(this._resizable.size.width,this._resizable.size.height)}_applyTopLeft(e){this._topLeft=e,this.getDomNode().style.left=`${this._topLeft.left}px`,this.getDomNode().style.top=`${this._topLeft.top}px`}}var ey=i(59834),eS=i(75392),eL=i(70666),ek=i(43155),eN=i(66663),eD=i(95935),ex=i(68801);(s=a||(a={}))[s.FILE=0]="FILE",s[s.FOLDER=1]="FOLDER",s[s.ROOT_FOLDER=2]="ROOT_FOLDER";let eI=/(?:\/|^)(?:([^\/]+)\/)?([^\/]+)$/;function eE(e,t,i,n){let o=n===a.ROOT_FOLDER?["rootfolder-icon"]:n===a.FOLDER?["folder-icon"]:["file-icon"];if(i){let r;if(i.scheme===eN.lg.data){let e=eD.Vb.parseMetaData(i);r=e.get(eD.Vb.META_DATA_LABEL)}else{let e=i.path.match(eI);e?(r=eT(e[2].toLowerCase()),e[1]&&o.push(`${eT(e[1].toLowerCase())}-name-dir-icon`)):r=eT(i.authority.toLowerCase())}if(n===a.FOLDER)o.push(`${r}-name-folder-icon`);else{if(r){if(o.push(`${r}-name-file-icon`),o.push("name-file-icon"),r.length<=255){let e=r.split(".");for(let t=1;t{let e=this._editor.getOptions(),i=e.get(46),o=i.getMassagedFontFamily(),r=i.fontFeatureSettings,s=e.get(109)||i.fontSize,a=e.get(110)||i.lineHeight,l=i.fontWeight,h=i.letterSpacing,d=`${s}px`,u=`${a}px`,c=`${h}px`;t.root.style.fontSize=d,t.root.style.fontWeight=l,t.root.style.letterSpacing=c,n.style.fontFamily=o,n.style.fontFeatureSettings=r,n.style.lineHeight=u,t.icon.style.height=u,t.icon.style.width=u,t.readMore.style.height=u,t.readMore.style.width=u};return o(),t.disposables.add(this._editor.onDidChangeConfiguration(e=>{(e.hasChanged(46)||e.hasChanged(109)||e.hasChanged(110))&&o()})),t}renderElement(e,t,i){let{completion:n}=e;i.root.id=eP(t),i.colorspan.style.backgroundColor="";let o={labelEscapeNewLines:!0,matches:(0,eS.mB)(e.score)},r=[];if(19===n.kind&&eB.extract(e,r))i.icon.className="icon customcolor",i.iconContainer.className="icon hide",i.colorspan.style.backgroundColor=r[0];else if(20===n.kind&&this._themeService.getFileIconTheme().hasFileIcons){i.icon.className="icon hide",i.iconContainer.className="icon hide";let t=eE(this._modelService,this._languageService,eL.o.from({scheme:"fake",path:e.textLabel}),a.FILE),r=eE(this._modelService,this._languageService,eL.o.from({scheme:"fake",path:n.detail}),a.FILE);o.extraClasses=t.length>r.length?t:r}else 23===n.kind&&this._themeService.getFileIconTheme().hasFolderIcons?(i.icon.className="icon hide",i.iconContainer.className="icon hide",o.extraClasses=[eE(this._modelService,this._languageService,eL.o.from({scheme:"fake",path:e.textLabel}),a.FOLDER),eE(this._modelService,this._languageService,eL.o.from({scheme:"fake",path:n.detail}),a.FOLDER)].flat()):(i.icon.className="icon hide",i.iconContainer.className="",i.iconContainer.classList.add("suggest-icon",...ef.dT.asClassNameArray(ek.gX.toIcon(n.kind))));n.tags&&n.tags.indexOf(1)>=0&&(o.extraClasses=(o.extraClasses||[]).concat(["deprecated"]),o.matches=[]),i.iconLabel.setLabel(e.textLabel,void 0,o),"string"==typeof n.label?(i.parametersLabel.textContent="",i.detailsLabel.textContent=eW(n.detail||""),i.root.classList.add("string-label")):(i.parametersLabel.textContent=eW(n.label.detail||""),i.detailsLabel.textContent=eW(n.label.description||""),i.root.classList.remove("string-label")),this._editor.getOption(108).showInlineDetails?(0,J.$Z)(i.detailsLabel):(0,J.Cp)(i.detailsLabel),eC(e)?(i.right.classList.add("can-expand-details"),(0,J.$Z)(i.readMore),i.readMore.onmousedown=e=>{e.stopPropagation(),e.preventDefault()},i.readMore.onclick=e=>{e.stopPropagation(),e.preventDefault(),this._onDidToggleDetails.fire()}):(i.right.classList.remove("can-expand-details"),(0,J.Cp)(i.readMore),i.readMore.onmousedown=null,i.readMore.onclick=null)}disposeTemplate(e){e.disposables.dispose()}};function eW(e){return e.replace(/\r\n|\r|\n/g,"")}eV=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([eO(1,eM.q),eO(2,eA.O),eO(3,ec.XE)],eV);var eH=function(e,t){return function(i,n){t(i,n,e)}};(0,eh.P6G)("editorSuggestWidget.background",{dark:eh.D0T,light:eh.D0T,hcDark:eh.D0T,hcLight:eh.D0T},T.NC("editorSuggestWidgetBackground","Background color of the suggest widget.")),(0,eh.P6G)("editorSuggestWidget.border",{dark:eh.D1_,light:eh.D1_,hcDark:eh.D1_,hcLight:eh.D1_},T.NC("editorSuggestWidgetBorder","Border color of the suggest widget."));let ez=(0,eh.P6G)("editorSuggestWidget.foreground",{dark:eh.NOs,light:eh.NOs,hcDark:eh.NOs,hcLight:eh.NOs},T.NC("editorSuggestWidgetForeground","Foreground color of the suggest widget."));(0,eh.P6G)("editorSuggestWidget.selectedForeground",{dark:eh.NPS,light:eh.NPS,hcDark:eh.NPS,hcLight:eh.NPS},T.NC("editorSuggestWidgetSelectedForeground","Foreground color of the selected entry in the suggest widget.")),(0,eh.P6G)("editorSuggestWidget.selectedIconForeground",{dark:eh.cbQ,light:eh.cbQ,hcDark:eh.cbQ,hcLight:eh.cbQ},T.NC("editorSuggestWidgetSelectedIconForeground","Icon foreground color of the selected entry in the suggest widget."));let eK=(0,eh.P6G)("editorSuggestWidget.selectedBackground",{dark:eh.Vqd,light:eh.Vqd,hcDark:eh.Vqd,hcLight:eh.Vqd},T.NC("editorSuggestWidgetSelectedBackground","Background color of the selected entry in the suggest widget."));(0,eh.P6G)("editorSuggestWidget.highlightForeground",{dark:eh.Gwp,light:eh.Gwp,hcDark:eh.Gwp,hcLight:eh.Gwp},T.NC("editorSuggestWidgetHighlightForeground","Color of the match highlights in the suggest widget.")),(0,eh.P6G)("editorSuggestWidget.focusHighlightForeground",{dark:eh.PX0,light:eh.PX0,hcDark:eh.PX0,hcLight:eh.PX0},T.NC("editorSuggestWidgetFocusHighlightForeground","Color of the match highlights in the suggest widget when an item is focused.")),(0,eh.P6G)("editorSuggestWidgetStatus.foreground",{dark:(0,eh.ZnX)(ez,.5),light:(0,eh.ZnX)(ez,.5),hcDark:(0,eh.ZnX)(ez,.5),hcLight:(0,eh.ZnX)(ez,.5)},T.NC("editorSuggestWidgetStatusForeground","Foreground color of the suggest widget status."));class eU{constructor(e,t){this._service=e,this._key=`suggestWidget.size/${t.getEditorType()}/${t instanceof et.H}`}restore(){var e;let t=null!==(e=this._service.get(this._key,0))&&void 0!==e?e:"";try{let e=JSON.parse(t);if(J.Ro.is(e))return J.Ro.lift(e)}catch(e){}}store(e){this._service.store(this._key,JSON.stringify(e),0,1)}reset(){this._service.remove(this._key,0)}}let e$=class e{constructor(e,t,i,n,o){let r;this.editor=e,this._storageService=t,this._state=0,this._isAuto=!1,this._ignoreFocusEvents=!1,this._forceRenderingAbove=!1,this._explainMode=!1,this._showTimeout=new u._F,this._disposables=new f.SL,this._onDidSelect=new p.Q5,this._onDidFocus=new p.Q5,this._onDidHide=new p.Q5,this._onDidShow=new p.Q5,this.onDidSelect=this._onDidSelect.event,this.onDidFocus=this._onDidFocus.event,this.onDidHide=this._onDidHide.event,this.onDidShow=this._onDidShow.event,this._onDetailsKeydown=new p.Q5,this.onDetailsKeyDown=this._onDetailsKeydown.event,this.element=new ep,this.element.domNode.classList.add("editor-widget","suggest-widget"),this._contentWidget=new ej(this,e),this._persistedSize=new eU(t,e);class s{constructor(e,t,i=!1,n=!1){this.persistedSize=e,this.currentSize=t,this.persistHeight=i,this.persistWidth=n}}this._disposables.add(this.element.onDidWillResize(()=>{this._contentWidget.lockPreference(),r=new s(this._persistedSize.restore(),this.element.size)})),this._disposables.add(this.element.onDidResize(e=>{var t,i,n,o;if(this._resize(e.dimension.width,e.dimension.height),r&&(r.persistHeight=r.persistHeight||!!e.north||!!e.south,r.persistWidth=r.persistWidth||!!e.east||!!e.west),e.done){if(r){let{itemHeight:e,defaultSize:s}=this.getLayoutInfo(),a=Math.round(e/2),{width:l,height:h}=this.element.size;(!r.persistHeight||Math.abs(r.currentSize.height-h)<=a)&&(h=null!==(i=null===(t=r.persistedSize)||void 0===t?void 0:t.height)&&void 0!==i?i:s.height),(!r.persistWidth||Math.abs(r.currentSize.width-l)<=a)&&(l=null!==(o=null===(n=r.persistedSize)||void 0===n?void 0:n.width)&&void 0!==o?o:s.width),this._persistedSize.store(new J.Ro(l,h))}this._contentWidget.unlockPreference(),r=void 0}})),this._messageElement=J.R3(this.element.domNode,J.$(".message")),this._listElement=J.R3(this.element.domNode,J.$(".tree"));let a=o.createInstance(eb,this.editor);a.onDidClose(this.toggleDetails,this,this._disposables),this._details=new ew(a,this.editor);let l=()=>this.element.domNode.classList.toggle("no-icons",!this.editor.getOption(108).showIcons);l();let h=o.createInstance(eV,this.editor);this._disposables.add(h),this._disposables.add(h.onDidToggleDetails(()=>this.toggleDetails())),this._list=new X.aV("SuggestWidget",this._listElement,{getHeight:e=>this.getLayoutInfo().itemHeight,getTemplateId:e=>"suggestion"},[h],{alwaysConsumeMouseWheel:!0,useShadows:!1,mouseSupport:!1,multipleSelectionSupport:!1,accessibilityProvider:{getRole:()=>"option",getWidgetAriaLabel:()=>T.NC("suggest","Suggest"),getWidgetRole:()=>"listbox",getAriaLabel:e=>{let t=e.textLabel;if("string"!=typeof e.completion.label){let{detail:i,description:n}=e.completion.label;i&&n?t=T.NC("label.full","{0}{1}, {2}",t,i,n):i?t=T.NC("label.detail","{0}{1}",t,i):n&&(t=T.NC("label.desc","{0}, {1}",t,n))}if(!e.isResolved||!this._isDetailsVisible())return t;let{documentation:i,detail:n}=e.completion,o=V.WU("{0}{1}",n||"",i?"string"==typeof i?i:i.value:"");return T.NC("ariaCurrenttSuggestionReadDetails","{0}, docs: {1}",t,o)}}}),this._status=o.createInstance(ea,this.element.domNode);let d=()=>this.element.domNode.classList.toggle("with-status-bar",this.editor.getOption(108).showStatusBar);d(),this._disposables.add((0,ed.Jl)(this._list,n,{listInactiveFocusBackground:eK,listInactiveFocusOutline:eh.xL1})),this._disposables.add(n.onDidColorThemeChange(e=>this._onThemeChange(e))),this._onThemeChange(n.getColorTheme()),this._disposables.add(this._list.onMouseDown(e=>this._onListMouseDownOrTap(e))),this._disposables.add(this._list.onTap(e=>this._onListMouseDownOrTap(e))),this._disposables.add(this._list.onDidChangeSelection(e=>this._onListSelection(e))),this._disposables.add(this._list.onDidChangeFocus(e=>this._onListFocus(e))),this._disposables.add(this.editor.onDidChangeCursorSelection(()=>this._onCursorSelectionChanged())),this._disposables.add(this.editor.onDidChangeConfiguration(e=>{e.hasChanged(108)&&(d(),l())})),this._ctxSuggestWidgetVisible=O._y.Visible.bindTo(i),this._ctxSuggestWidgetDetailsVisible=O._y.DetailsVisible.bindTo(i),this._ctxSuggestWidgetMultipleSuggestions=O._y.MultipleSuggestions.bindTo(i),this._ctxSuggestWidgetHasFocusedSuggestion=O._y.HasFocusedSuggestion.bindTo(i),this._disposables.add(J.mu(this._details.widget.domNode,"keydown",e=>{this._onDetailsKeydown.fire(e)})),this._disposables.add(this.editor.onMouseDown(e=>this._onEditorMouseDown(e)))}dispose(){var e;this._details.widget.dispose(),this._details.dispose(),this._list.dispose(),this._status.dispose(),this._disposables.dispose(),null===(e=this._loadingTimeout)||void 0===e||e.dispose(),this._showTimeout.dispose(),this._contentWidget.dispose(),this.element.dispose()}_onEditorMouseDown(e){this._details.widget.domNode.contains(e.target.element)?this._details.widget.domNode.focus():this.element.domNode.contains(e.target.element)&&this.editor.focus()}_onCursorSelectionChanged(){0!==this._state&&this._contentWidget.layout()}_onListMouseDownOrTap(e){void 0!==e.element&&void 0!==e.index&&(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation(),this._select(e.element,e.index))}_onListSelection(e){e.elements.length&&this._select(e.elements[0],e.indexes[0])}_select(e,t){let i=this._completionModel;i&&(this._onDidSelect.fire({item:e,index:t,model:i}),this.editor.focus())}_onThemeChange(e){this._details.widget.borderWidth=(0,eu.c3)(e.type)?2:1}_onListFocus(e){var t;if(this._ignoreFocusEvents)return;if(!e.elements.length){this._currentSuggestionDetails&&(this._currentSuggestionDetails.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=void 0),this.editor.setAriaOptions({activeDescendant:void 0}),this._ctxSuggestWidgetHasFocusedSuggestion.set(!1);return}if(!this._completionModel)return;this._ctxSuggestWidgetHasFocusedSuggestion.set(!0);let i=e.elements[0],n=e.indexes[0];i!==this._focusedItem&&(null===(t=this._currentSuggestionDetails)||void 0===t||t.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=i,this._list.reveal(n),this._currentSuggestionDetails=(0,u.PG)(e=>{var t,n,o,r;return t=this,n=void 0,o=void 0,r=function*(){let t=(0,u.Vg)(()=>{this._isDetailsVisible()&&this.showDetails(!0)},250),n=e.onCancellationRequested(()=>t.dispose()),o=yield i.resolve(e);return t.dispose(),n.dispose(),o},new(o||(o=Promise))(function(e,i){function s(e){try{l(r.next(e))}catch(e){i(e)}}function a(e){try{l(r.throw(e))}catch(e){i(e)}}function l(t){var i;t.done?e(t.value):((i=t.value)instanceof o?i:new o(function(e){e(i)})).then(s,a)}l((r=r.apply(t,n||[])).next())})}),this._currentSuggestionDetails.then(()=>{n>=this._list.length||i!==this._list.element(n)||(this._ignoreFocusEvents=!0,this._list.splice(n,1,[i]),this._list.setFocus([n]),this._ignoreFocusEvents=!1,this._isDetailsVisible()?this.showDetails(!1):this.element.domNode.classList.remove("docs-side"),this.editor.setAriaOptions({activeDescendant:eP(n)}))}).catch(g.dL)),this._onDidFocus.fire({item:i,index:n,model:this._completionModel})}_setState(t){if(this._state!==t)switch(this._state=t,this.element.domNode.classList.toggle("frozen",4===t),this.element.domNode.classList.remove("message"),t){case 0:J.Cp(this._messageElement,this._listElement,this._status.element),this._details.hide(!0),this._status.hide(),this._contentWidget.hide(),this._ctxSuggestWidgetVisible.reset(),this._ctxSuggestWidgetMultipleSuggestions.reset(),this._ctxSuggestWidgetHasFocusedSuggestion.reset(),this._showTimeout.cancel(),this.element.domNode.classList.remove("visible"),this._list.splice(0,this._list.length),this._focusedItem=void 0,this._cappedHeight=void 0,this._explainMode=!1;break;case 1:this.element.domNode.classList.add("message"),this._messageElement.textContent=e.LOADING_MESSAGE,J.Cp(this._listElement,this._status.element),J.$Z(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0;break;case 2:this.element.domNode.classList.add("message"),this._messageElement.textContent=e.NO_SUGGESTIONS_MESSAGE,J.Cp(this._listElement,this._status.element),J.$Z(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0;break;case 3:case 4:J.Cp(this._messageElement),J.$Z(this._listElement,this._status.element),this._show();break;case 5:J.Cp(this._messageElement),J.$Z(this._listElement,this._status.element),this._details.show(),this._show()}}_show(){this._status.show(),this._contentWidget.show(),this._layout(this._persistedSize.restore()),this._ctxSuggestWidgetVisible.set(!0),this._showTimeout.cancelAndSet(()=>{this.element.domNode.classList.add("visible"),this._onDidShow.fire(this)},100)}showTriggered(e,t){0===this._state&&(this._contentWidget.setPosition(this.editor.getPosition()),this._isAuto=!!e,this._isAuto||(this._loadingTimeout=(0,u.Vg)(()=>this._setState(1),t)))}showSuggestions(e,t,i,n){var o,r;if(this._contentWidget.setPosition(this.editor.getPosition()),null===(o=this._loadingTimeout)||void 0===o||o.dispose(),null===(r=this._currentSuggestionDetails)||void 0===r||r.cancel(),this._currentSuggestionDetails=void 0,this._completionModel!==e&&(this._completionModel=e),i&&2!==this._state&&0!==this._state){this._setState(4);return}let s=this._completionModel.items.length,a=0===s;if(this._ctxSuggestWidgetMultipleSuggestions.set(s>1),a){this._setState(n?0:2),this._completionModel=void 0;return}this._focusedItem=void 0,this._list.splice(0,this._list.length,this._completionModel.items),this._setState(i?4:3),t>=0&&(this._list.reveal(t,0),this._list.setFocus([t])),this._layout(this.element.size),this._details.widget.domNode.classList.remove("focused")}selectNextPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageDown(),!0;case 1:return!this._isAuto;default:return this._list.focusNextPage(),!0}}selectNext(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusNext(1,!0),!0}}selectLast(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollBottom(),!0;case 1:return!this._isAuto;default:return this._list.focusLast(),!0}}selectPreviousPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageUp(),!0;case 1:return!this._isAuto;default:return this._list.focusPreviousPage(),!0}}selectPrevious(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusPrevious(1,!0),!1}}selectFirst(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollTop(),!0;case 1:return!this._isAuto;default:return this._list.focusFirst(),!0}}getFocusedItem(){if(0!==this._state&&2!==this._state&&1!==this._state&&this._completionModel)return{item:this._list.getFocusedElements()[0],index:this._list.getFocus()[0],model:this._completionModel}}toggleDetailsFocus(){5===this._state?(this._setState(3),this._details.widget.domNode.classList.remove("focused")):3===this._state&&this._isDetailsVisible()&&(this._setState(5),this._details.widget.domNode.classList.add("focused"))}toggleDetails(){this._isDetailsVisible()?(this._ctxSuggestWidgetDetailsVisible.set(!1),this._setDetailsVisible(!1),this._details.hide(),this.element.domNode.classList.remove("shows-details")):(eC(this._list.getFocusedElements()[0])||this._explainMode)&&(3===this._state||5===this._state||4===this._state)&&(this._ctxSuggestWidgetDetailsVisible.set(!0),this._setDetailsVisible(!0),this.showDetails(!1))}showDetails(e){this._details.show(),e?this._details.widget.renderLoading():this._details.widget.renderItem(this._list.getFocusedElements()[0],this._explainMode),this._positionDetails(),this.editor.focus(),this.element.domNode.classList.add("shows-details")}toggleExplainMode(){this._list.getFocusedElements()[0]&&(this._explainMode=!this._explainMode,this._isDetailsVisible()?this.showDetails(!1):this.toggleDetails())}resetPersistedSize(){this._persistedSize.reset()}hideWidget(){var e;null===(e=this._loadingTimeout)||void 0===e||e.dispose(),this._setState(0),this._onDidHide.fire(this),this.element.clearSashHoverState();let t=this._persistedSize.restore(),i=Math.ceil(4.3*this.getLayoutInfo().itemHeight);t&&t.heightl&&(a=l);let h=this._completionModel?this._completionModel.stats.pLabelLen*r.typicalHalfwidthCharacterWidth:a,d=r.statusBarHeight+this._list.contentHeight+r.borderHeight,u=r.itemHeight+r.statusBarHeight,c=J.i(this.editor.getDomNode()),g=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),p=c.top+g.top+g.height,m=Math.min(o.height-p-r.verticalPadding,d),f=c.top+g.top-r.verticalPadding,_=Math.min(f,d),v=Math.min(Math.max(_,m)+r.borderHeight,d);s===(null===(t=this._cappedHeight)||void 0===t?void 0:t.capped)&&(s=this._cappedHeight.wanted),sv&&(s=v),s>m||this._forceRenderingAbove&&f>150?(this._contentWidget.setPreference(1),this.element.enableSashes(!0,!0,!1,!1),v=_):(this._contentWidget.setPreference(2),this.element.enableSashes(!1,!0,!0,!1),v=m),this.element.preferredSize=new J.Ro(h,r.defaultSize.height),this.element.maxSize=new J.Ro(l,v),this.element.minSize=new J.Ro(220,u),this._cappedHeight=s===d?{wanted:null!==(n=null===(i=this._cappedHeight)||void 0===i?void 0:i.wanted)&&void 0!==n?n:e.height,capped:s}:void 0}this._resize(a,s)}_resize(e,t){let{width:i,height:n}=this.element.maxSize;e=Math.min(i,e),t=Math.min(n,t);let{statusBarHeight:o}=this.getLayoutInfo();this._list.layout(t-o,e),this._listElement.style.height=`${t-o}px`,this.element.layout(t,e),this._contentWidget.layout(),this._positionDetails()}_positionDetails(){var e;this._isDetailsVisible()&&this._details.placeAtAnchor(this.element.domNode,(null===(e=this._contentWidget.getPosition())||void 0===e?void 0:e.preference[0])===2)}getLayoutInfo(){let e=this.editor.getOption(46),t=(0,ee.uZ)(this.editor.getOption(110)||e.lineHeight,8,1e3),i=this.editor.getOption(108).showStatusBar&&2!==this._state&&1!==this._state?t:0,n=this._details.widget.borderWidth,o=2*n;return{itemHeight:t,statusBarHeight:i,borderWidth:n,borderHeight:o,typicalHalfwidthCharacterWidth:e.typicalHalfwidthCharacterWidth,verticalPadding:22,horizontalPadding:14,defaultSize:new J.Ro(430,i+12*t+o)}}_isDetailsVisible(){return this._storageService.getBoolean("expandSuggestionDocs",0,!1)}_setDetailsVisible(e){this._storageService.store("expandSuggestionDocs",e,0,0)}forceRenderingAbove(){this._forceRenderingAbove||(this._forceRenderingAbove=!0,this._layout(this._persistedSize.restore()))}stopForceRenderingAbove(){this._forceRenderingAbove=!1}};e$.LOADING_MESSAGE=T.NC("suggestWidget.loading","Loading..."),e$.NO_SUGGESTIONS_MESSAGE=T.NC("suggestWidget.noSuggestions","No suggestions."),e$=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([eH(1,el.Uy),eH(2,I.i6),eH(3,ec.XE),eH(4,A.TG)],e$);class ej{constructor(e,t){this._widget=e,this._editor=t,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._preferenceLocked=!1,this._added=!1,this._hidden=!1}dispose(){this._added&&(this._added=!1,this._editor.removeContentWidget(this))}getId(){return"editor.widget.suggestWidget"}getDomNode(){return this._widget.element.domNode}show(){this._hidden=!1,this._added||(this._added=!0,this._editor.addContentWidget(this))}hide(){this._hidden||(this._hidden=!0,this.layout())}layout(){this._editor.layoutContentWidget(this)}getPosition(){return!this._hidden&&this._position&&this._preference?{position:this._position,preference:[this._preference]}:null}beforeRender(){let{height:e,width:t}=this._widget.element.size,{borderWidth:i,horizontalPadding:n}=this._widget.getLayoutInfo();return new J.Ro(t+2*i+n,e+2*i)}afterRender(e){this._widget._afterRender(e)}setPreference(e){this._preferenceLocked||(this._preference=e)}lockPreference(){this._preferenceLocked=!0}unlockPreference(){this._preferenceLocked=!1}setPosition(e){this._position=e}}var eq=i(89954),eG=function(e,t){return function(i,n){t(i,n,e)}};class eQ{constructor(e,t){this._model=e,this._position=t;let i=e.getLineMaxColumn(t.lineNumber);if(i!==t.column){let i=e.getOffsetAt(t),n=e.getPositionAt(i+1);this._marker=e.deltaDecorations([],[{range:L.e.fromPositions(t,n),options:{description:"suggest-line-suffix",stickiness:1}}])}}dispose(){this._marker&&!this._model.isDisposed()&&this._model.deltaDecorations(this._marker,[])}delta(e){if(this._model.isDisposed()||this._position.lineNumber!==e.lineNumber)return 0;if(!this._marker)return this._model.getLineMaxColumn(e.lineNumber)-e.column;{let t=this._model.getDecorationRange(this._marker[0]),i=this._model.getOffsetAt(t.getStartPosition());return i-this._model.getOffsetAt(e)}}}let eZ=class e{constructor(e,t,i,n,o,r,s){this._memoryService=t,this._commandService=i,this._contextKeyService=n,this._instantiationService=o,this._logService=r,this._telemetryService=s,this._lineSuffix=new f.XK,this._toDispose=new f.SL,this._selectors=new eY(e=>e.priority),this._telemetryGate=0,this.editor=e,this.model=o.createInstance(Z,this.editor);let a=O._y.InsertMode.bindTo(n);a.set(e.getOption(108).insertMode),this.model.onDidTrigger(()=>a.set(e.getOption(108).insertMode)),this.widget=this._toDispose.add(new u.Ue(()=>{let e=this._instantiationService.createInstance(e$,this.editor);this._toDispose.add(e),this._toDispose.add(e.onDidSelect(e=>this._insertSuggestion(e,0),this));let t=new B(this.editor,e,e=>this._insertSuggestion(e,2));this._toDispose.add(t),this._toDispose.add(this.model.onDidSuggest(e=>{0===e.completionModel.items.length&&t.reset()}));let i=O._y.MakesTextEdit.bindTo(this._contextKeyService),n=O._y.HasInsertAndReplaceRange.bindTo(this._contextKeyService),o=O._y.CanResolve.bindTo(this._contextKeyService);return this._toDispose.add((0,f.OF)(()=>{i.reset(),n.reset(),o.reset()})),this._toDispose.add(e.onDidFocus(({item:e})=>{let t=this.editor.getPosition(),r=e.editStart.column,s=t.column,a=!0;if("smart"===this.editor.getOption(1)&&2===this.model.state&&!e.completion.additionalTextEdits&&!(4&e.completion.insertTextRules)&&s-r===e.completion.insertText.length){let i=this.editor.getModel().getValueInRange({startLineNumber:t.lineNumber,startColumn:r,endLineNumber:t.lineNumber,endColumn:s});a=i!==e.completion.insertText}i.set(a),n.set(!S.L.equals(e.editInsertEnd,e.editReplaceEnd)),o.set(!!e.provider.resolveCompletionItem||!!e.completion.documentation||e.completion.detail!==e.completion.label)})),this._toDispose.add(e.onDetailsKeyDown(e=>{if(e.toKeybinding().equals(new m.QC(!0,!1,!1,!1,33))||_.dz&&e.toKeybinding().equals(new m.QC(!1,!1,!1,!0,33))){e.stopPropagation();return}e.toKeybinding().isModifierKey()||this.editor.focus()})),e})),this._overtypingCapturer=this._toDispose.add(new u.Ue(()=>this._toDispose.add(new Y(this.editor,this.model)))),this._alternatives=this._toDispose.add(new u.Ue(()=>this._toDispose.add(new P(this.editor,this._contextKeyService)))),this._toDispose.add(o.createInstance(E,e)),this._toDispose.add(this.model.onDidTrigger(e=>{this.widget.value.showTriggered(e.auto,e.shy?250:50),this._lineSuffix.value=new eQ(this.editor.getModel(),e.position)})),this._toDispose.add(this.model.onDidSuggest(e=>{if(e.shy)return;let t=-1;if(!e.noSelect){for(let i of this._selectors.itemsOrderedByPriorityDesc)if(-1!==(t=i.select(this.editor.getModel(),this.editor.getPosition(),e.completionModel.items)))break;-1===t&&(t=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),e.completionModel.items))}this.widget.value.showSuggestions(e.completionModel,t,e.isFrozen,e.auto)})),this._toDispose.add(this.model.onDidCancel(e=>{e.retrigger||this.widget.value.hideWidget()})),this._toDispose.add(this.editor.onDidBlurEditorWidget(()=>{this.model.cancel(),this.model.clear()}));let l=O._y.AcceptSuggestionsOnEnter.bindTo(n),h=()=>{let e=this.editor.getOption(1);l.set("on"===e||"smart"===e)};this._toDispose.add(this.editor.onDidChangeConfiguration(()=>h())),h()}static get(t){return t.getContribution(e.ID)}dispose(){this._alternatives.dispose(),this._toDispose.dispose(),this.widget.dispose(),this.model.dispose(),this._lineSuffix.dispose()}_insertSuggestion(e,t){if(!e||!e.item){this._alternatives.value.reset(),this.model.cancel(),this.model.clear();return}if(!this.editor.hasModel())return;let i=N.f.get(this.editor);if(!i)return;let n=this.editor.getModel(),o=n.getAlternativeVersionId(),{item:r}=e,s=[],a=new c.A;1&t||this.editor.pushUndoStop();let l=this.getOverwriteInfo(r,!!(8&t));if(this._memoryService.memorize(n,this.editor.getPosition(),r),Array.isArray(r.completion.additionalTextEdits)){let e=b.Z.capture(this.editor);this.editor.executeEdits("suggestController.additionalTextEdits.sync",r.completion.additionalTextEdits.map(e=>y.h.replaceMove(L.e.lift(e.range),e.text))),e.restoreRelativeVerticalPositionOfCursor(this.editor)}else if(!r.isResolved){let e;let i=new v.G(!0),o=n.onDidChangeContent(t=>{if(t.isFlush){a.cancel(),o.dispose();return}for(let i of t.changes){let t=L.e.getEndPosition(i.range);(!e||S.L.isBefore(t,e))&&(e=t)}}),l=t;t|=2;let h=!1,d=this.editor.onWillType(()=>{d.dispose(),h=!0,2&l||this.editor.pushUndoStop()});s.push(r.resolve(a.token).then(()=>{if(!r.completion.additionalTextEdits||a.token.isCancellationRequested||e&&r.completion.additionalTextEdits.some(t=>S.L.isBefore(e,L.e.getStartPosition(t.range))))return!1;h&&this.editor.pushUndoStop();let t=b.Z.capture(this.editor);return this.editor.executeEdits("suggestController.additionalTextEdits.async",r.completion.additionalTextEdits.map(e=>y.h.replaceMove(L.e.lift(e.range),e.text))),t.restoreRelativeVerticalPositionOfCursor(this.editor),(h||!(2&l))&&this.editor.pushUndoStop(),!0}).then(e=>{this._logService.trace("[suggest] async resolving of edits DONE (ms, applied?)",i.elapsed(),e),o.dispose(),d.dispose()}))}let{insertText:h}=r.completion;4&r.completion.insertTextRules||(h=D.Yj.escape(h)),i.insert(h,{overwriteBefore:l.overwriteBefore,overwriteAfter:l.overwriteAfter,undoStopBefore:!1,undoStopAfter:!1,adjustWhitespace:!(1&r.completion.insertTextRules),clipboardText:e.model.clipboardText,overtypingCapturer:this._overtypingCapturer.value}),2&t||this.editor.pushUndoStop(),r.completion.command?r.completion.command.id===eJ.id?this.model.trigger({auto:!0,shy:!1,noSelect:!1},!0):(s.push(this._commandService.executeCommand(r.completion.command.id,...r.completion.command.arguments?[...r.completion.command.arguments]:[]).catch(g.dL)),this.model.cancel()):this.model.cancel(),4&t&&this._alternatives.value.set(e,e=>{for(a.cancel();n.canUndo();){o!==n.getAlternativeVersionId()&&n.undo(),this._insertSuggestion(e,3|(8&t?8:0));break}}),this._alertCompletionItem(r),Promise.all(s).finally(()=>{this._reportSuggestionAcceptedTelemetry(r,n,e),this.model.clear(),a.dispose()})}_reportSuggestionAcceptedTelemetry(e,t,i){var n;if(this._telemetryGate++%100!=0)return;let o=e.extensionId?e.extensionId.value:(null!==(n=i.item.provider._debugDisplayName)&&void 0!==n?n:"unknown").split("(",1)[0].toLowerCase();this._telemetryService.publicLog2("suggest.acceptedSuggestion",{providerId:o,kind:e.completion.kind,basenameHash:(0,eq.vp)((0,eD.EZ)(t.uri)).toString(16),languageId:t.getLanguageId(),fileExtension:(0,eD.DZ)(t.uri)})}getOverwriteInfo(e,t){(0,C.p_)(this.editor.hasModel());let i="replace"===this.editor.getOption(108).insertMode;t&&(i=!i);let n=e.position.column-e.editStart.column,o=(i?e.editReplaceEnd.column:e.editInsertEnd.column)-e.position.column,r=this.editor.getPosition().column-e.position.column,s=this._lineSuffix.value?this._lineSuffix.value.delta(this.editor.getPosition()):0;return{overwriteBefore:n+r,overwriteAfter:o+s}}_alertCompletionItem(e){if((0,d.Of)(e.completion.additionalTextEdits)){let t=T.NC("aria.alert.snippet","Accepting '{0}' made {1} additional edits",e.textLabel,e.completion.additionalTextEdits.length);(0,h.Z9)(t)}}triggerSuggest(e,t,i,n){this.editor.hasModel()&&(this.model.trigger({auto:null!=t&&t,shy:!1,noSelect:null!=n&&n},!1,e,void 0,i),this.editor.revealPosition(this.editor.getPosition(),0),this.editor.focus())}triggerSuggestAndAcceptBest(e){if(!this.editor.hasModel())return;let t=this.editor.getPosition(),i=()=>{t.equals(this.editor.getPosition())&&this._commandService.executeCommand(e.fallback)},n=e=>{if(4&e.completion.insertTextRules||e.completion.additionalTextEdits)return!0;let t=this.editor.getPosition(),i=e.editStart.column,n=t.column;if(n-i!==e.completion.insertText.length)return!0;let o=this.editor.getModel().getValueInRange({startLineNumber:t.lineNumber,startColumn:i,endLineNumber:t.lineNumber,endColumn:n});return o!==e.completion.insertText};p.ju.once(this.model.onDidTrigger)(e=>{let t=[];p.ju.any(this.model.onDidTrigger,this.model.onDidCancel)(()=>{(0,f.B9)(t),i()},void 0,t),this.model.onDidSuggest(({completionModel:e})=>{if((0,f.B9)(t),0===e.items.length){i();return}let o=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),e.items),r=e.items[o];if(!n(r)){i();return}this.editor.pushUndoStop(),this._insertSuggestion({index:o,item:r,model:e},7)},void 0,t)}),this.model.trigger({auto:!1,shy:!0,noSelect:!1}),this.editor.revealPosition(t,0),this.editor.focus()}acceptSelectedSuggestion(e,t){let i=this.widget.value.getFocusedItem(),n=0;e&&(n|=4),t&&(n|=8),this._insertSuggestion(i,n)}acceptNextSuggestion(){this._alternatives.value.next()}acceptPrevSuggestion(){this._alternatives.value.prev()}cancelSuggestWidget(){this.model.cancel(),this.model.clear(),this.widget.value.hideWidget()}selectNextSuggestion(){this.widget.value.selectNext()}selectNextPageSuggestion(){this.widget.value.selectNextPage()}selectLastSuggestion(){this.widget.value.selectLast()}selectPrevSuggestion(){this.widget.value.selectPrevious()}selectPrevPageSuggestion(){this.widget.value.selectPreviousPage()}selectFirstSuggestion(){this.widget.value.selectFirst()}toggleSuggestionDetails(){this.widget.value.toggleDetails()}toggleExplainMode(){this.widget.value.toggleExplainMode()}toggleSuggestionFocus(){this.widget.value.toggleDetailsFocus()}resetWidgetSize(){this.widget.value.resetPersistedSize()}forceRenderingAbove(){this.widget.value.forceRenderingAbove()}stopForceRenderingAbove(){this.widget.isInitialized&&this.widget.value.stopForceRenderingAbove()}registerSelector(e){return this._selectors.register(e)}};eZ.ID="editor.contrib.suggestController",eZ=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([eG(1,x.Fh),eG(2,M.Hy),eG(3,I.i6),eG(4,A.TG),eG(5,R.VZ),eG(6,$.b)],eZ);class eY{constructor(e){this.prioritySelector=e,this._items=[]}register(e){if(-1!==this._items.indexOf(e))throw Error("Value is already registered");return this._items.push(e),this._items.sort((e,t)=>this.prioritySelector(t)-this.prioritySelector(e)),{dispose:()=>{let t=this._items.indexOf(e);t>=0&&this._items.splice(t,1)}}}get itemsOrderedByPriorityDesc(){return this._items}}class eJ extends w.R6{constructor(){super({id:eJ.id,label:T.NC("suggest.trigger.label","Trigger Suggest"),alias:"Trigger Suggest",precondition:I.Ao.and(k.u.writable,k.u.hasCompletionItemProvider),kbOpts:{kbExpr:k.u.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[521,2087]},weight:100}})}run(e,t,i){let n,o;let r=eZ.get(t);r&&(i&&"object"==typeof i&&(!0===i.auto&&(n=!0),!0===i.noSelection&&(o=!0)),r.triggerSuggest(void 0,n,void 0,o))}}eJ.id="editor.action.triggerSuggest",(0,w._K)(eZ.ID,eZ),(0,w.Qr)(eJ);let eX=w._l.bindToContribution(eZ.get);(0,w.fK)(new eX({id:"acceptSelectedSuggestion",precondition:I.Ao.and(O._y.Visible,O._y.HasFocusedSuggestion),handler(e){e.acceptSelectedSuggestion(!0,!1)},kbOpts:[{primary:2,kbExpr:I.Ao.and(O._y.Visible,k.u.textInputFocus),weight:190},{primary:3,kbExpr:I.Ao.and(O._y.Visible,k.u.textInputFocus,O._y.AcceptSuggestionsOnEnter,O._y.MakesTextEdit),weight:190}],menuOpts:[{menuId:O.GI,title:T.NC("accept.insert","Insert"),group:"left",order:1,when:O._y.HasInsertAndReplaceRange.toNegated()},{menuId:O.GI,title:T.NC("accept.insert","Insert"),group:"left",order:1,when:I.Ao.and(O._y.HasInsertAndReplaceRange,O._y.InsertMode.isEqualTo("insert"))},{menuId:O.GI,title:T.NC("accept.replace","Replace"),group:"left",order:1,when:I.Ao.and(O._y.HasInsertAndReplaceRange,O._y.InsertMode.isEqualTo("replace"))}]})),(0,w.fK)(new eX({id:"acceptAlternativeSelectedSuggestion",precondition:I.Ao.and(O._y.Visible,k.u.textInputFocus,O._y.HasFocusedSuggestion),kbOpts:{weight:190,kbExpr:k.u.textInputFocus,primary:1027,secondary:[1026]},handler(e){e.acceptSelectedSuggestion(!1,!0)},menuOpts:[{menuId:O.GI,group:"left",order:2,when:I.Ao.and(O._y.HasInsertAndReplaceRange,O._y.InsertMode.isEqualTo("insert")),title:T.NC("accept.replace","Replace")},{menuId:O.GI,group:"left",order:2,when:I.Ao.and(O._y.HasInsertAndReplaceRange,O._y.InsertMode.isEqualTo("replace")),title:T.NC("accept.insert","Insert")}]})),M.P0.registerCommandAlias("acceptSelectedSuggestionOnEnter","acceptSelectedSuggestion"),(0,w.fK)(new eX({id:"hideSuggestWidget",precondition:O._y.Visible,handler:e=>e.cancelSuggestWidget(),kbOpts:{weight:190,kbExpr:k.u.textInputFocus,primary:9,secondary:[1033]}})),(0,w.fK)(new eX({id:"selectNextSuggestion",precondition:I.Ao.and(O._y.Visible,O._y.MultipleSuggestions),handler:e=>e.selectNextSuggestion(),kbOpts:{weight:190,kbExpr:k.u.textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})),(0,w.fK)(new eX({id:"selectNextPageSuggestion",precondition:I.Ao.and(O._y.Visible,O._y.MultipleSuggestions),handler:e=>e.selectNextPageSuggestion(),kbOpts:{weight:190,kbExpr:k.u.textInputFocus,primary:12,secondary:[2060]}})),(0,w.fK)(new eX({id:"selectLastSuggestion",precondition:I.Ao.and(O._y.Visible,O._y.MultipleSuggestions),handler:e=>e.selectLastSuggestion()})),(0,w.fK)(new eX({id:"selectPrevSuggestion",precondition:I.Ao.and(O._y.Visible,O._y.MultipleSuggestions),handler:e=>e.selectPrevSuggestion(),kbOpts:{weight:190,kbExpr:k.u.textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})),(0,w.fK)(new eX({id:"selectPrevPageSuggestion",precondition:I.Ao.and(O._y.Visible,O._y.MultipleSuggestions),handler:e=>e.selectPrevPageSuggestion(),kbOpts:{weight:190,kbExpr:k.u.textInputFocus,primary:11,secondary:[2059]}})),(0,w.fK)(new eX({id:"selectFirstSuggestion",precondition:I.Ao.and(O._y.Visible,O._y.MultipleSuggestions),handler:e=>e.selectFirstSuggestion()})),(0,w.fK)(new eX({id:"toggleSuggestionDetails",precondition:O._y.Visible,handler:e=>e.toggleSuggestionDetails(),kbOpts:{weight:190,kbExpr:k.u.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[2087]}},menuOpts:[{menuId:O.GI,group:"right",order:1,when:I.Ao.and(O._y.DetailsVisible,O._y.CanResolve),title:T.NC("detail.more","show less")},{menuId:O.GI,group:"right",order:1,when:I.Ao.and(O._y.DetailsVisible.toNegated(),O._y.CanResolve),title:T.NC("detail.less","show more")}]})),(0,w.fK)(new eX({id:"toggleExplainMode",precondition:O._y.Visible,handler:e=>e.toggleExplainMode(),kbOpts:{weight:100,primary:2133}})),(0,w.fK)(new eX({id:"toggleSuggestionFocus",precondition:O._y.Visible,handler:e=>e.toggleSuggestionFocus(),kbOpts:{weight:190,kbExpr:k.u.textInputFocus,primary:2570,mac:{primary:778}}})),(0,w.fK)(new eX({id:"insertBestCompletion",precondition:I.Ao.and(k.u.textInputFocus,I.Ao.equals("config.editor.tabCompletion","on"),E.AtEnd,O._y.Visible.toNegated(),P.OtherSuggestions.toNegated(),N.f.InSnippetMode.toNegated()),handler:(e,t)=>{e.triggerSuggestAndAcceptBest((0,C.Kn)(t)?Object.assign({fallback:"tab"},t):{fallback:"tab"})},kbOpts:{weight:190,primary:2}})),(0,w.fK)(new eX({id:"insertNextSuggestion",precondition:I.Ao.and(k.u.textInputFocus,I.Ao.equals("config.editor.tabCompletion","on"),P.OtherSuggestions,O._y.Visible.toNegated(),N.f.InSnippetMode.toNegated()),handler:e=>e.acceptNextSuggestion(),kbOpts:{weight:190,kbExpr:k.u.textInputFocus,primary:2}})),(0,w.fK)(new eX({id:"insertPrevSuggestion",precondition:I.Ao.and(k.u.textInputFocus,I.Ao.equals("config.editor.tabCompletion","on"),P.OtherSuggestions,O._y.Visible.toNegated(),N.f.InSnippetMode.toNegated()),handler:e=>e.acceptPrevSuggestion(),kbOpts:{weight:190,kbExpr:k.u.textInputFocus,primary:1026}})),(0,w.Qr)(class extends w.R6{constructor(){super({id:"editor.action.resetSuggestSize",label:T.NC("suggest.reset.label","Reset Suggest Widget Size"),alias:"Reset Suggest Widget Size",precondition:void 0})}run(e,t){var i;null===(i=eZ.get(t))||void 0===i||i.resetWidgetSize()}})},88088:function(e,t,i){"use strict";var n=i(71050),o=i(75392),r=i(53725),s=i(9917),a=i(16830),l=i(11640),h=i(24314),d=i(71922),u=i(70902),c=i(74961),g=i(55621),p=i(80378),m=i(24477),f=i(84972),_=i(72065),v=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},C=function(e,t){return function(i,n){t(i,n,e)}};class b{constructor(e,t,i,n,o,r){this.range=e,this.insertText=t,this.filterText=i,this.additionalTextEdits=n,this.command=o,this.completion=r}}let w=class extends s.L6{constructor(e,t,i,n,o,r){super(o.disposable),this.model=e,this.line=t,this.word=i,this.completionModel=n,this._suggestMemoryService=r}canBeReused(e,t,i){return this.model===e&&this.line===t&&this.word.word.length>0&&this.word.startColumn===i.startColumn&&this.word.endColumn=0&&i.resolve(n.T.None)}return t}};w=v([C(5,p.Fh)],w);let y=class{constructor(e,t,i,n){this._getEditorOption=e,this._languageFeatureService=t,this._clipboardService=i,this._suggestMemoryService=n}provideInlineCompletions(e,t,i,n){var o,r,s,a,l;return r=this,s=void 0,a=void 0,l=function*(){let r,s;if(i.selectedSuggestionInfo)return;let a=this._getEditorOption(81,e);if(g.tG.isAllOff(a))return;e.tokenization.tokenizeIfCheap(t.lineNumber);let l=e.tokenization.getLineTokens(t.lineNumber),d=l.getStandardTokenType(l.findTokenIndexAtOffset(Math.max(t.column-1-1,0)));if("inline"!==g.tG.valueFor(a,d))return;let u=e.getWordAtPosition(t);if((null==u?void 0:u.word)||(r=this._getTriggerCharacterInfo(e,t)),!(null==u?void 0:u.word)&&!r||(u||(u=e.getWordUntilPosition(t)),u.endColumn!==t.column))return;let p=e.getValueInRange(new h.e(t.lineNumber,1,t.lineNumber,t.column));if(!r&&(null===(o=this._lastResult)||void 0===o?void 0:o.canBeReused(e,t.lineNumber,u))){let e=new c.t(p,t.column-this._lastResult.word.endColumn);this._lastResult.completionModel.lineContext=e,this._lastResult.acquire(),s=this._lastResult}else{let i;let o=yield(0,g.kL)(this._languageFeatureService.completionProvider,e,t,new g.A9(void 0,void 0,null==r?void 0:r.providers),r&&{triggerKind:1,triggerCharacter:r.ch},n);o.needsClipboard&&(i=yield this._clipboardService.readText());let a=new c._(o.items,t.column,new c.t(p,0),m.K.None,this._getEditorOption(108,e),this._getEditorOption(103,e),{boostFullMatch:!1,firstMatchCanBeWeak:!1},i);s=new w(e,t.lineNumber,u,a,o,this._suggestMemoryService)}return this._lastResult=s,s},new(a||(a=Promise))(function(e,t){function i(e){try{o(l.next(e))}catch(e){t(e)}}function n(e){try{o(l.throw(e))}catch(e){t(e)}}function o(t){var o;t.done?e(t.value):((o=t.value)instanceof a?o:new a(function(e){e(o)})).then(i,n)}o((l=l.apply(r,s||[])).next())})}handleItemDidShow(e,t){t.completion.resolve(n.T.None)}freeInlineCompletions(e){e.release()}_getTriggerCharacterInfo(e,t){var i;let n=e.getValueInRange(h.e.fromPositions({lineNumber:t.lineNumber,column:t.column-1},t)),o=new Set;for(let t of this._languageFeatureService.completionProvider.all(e))(null===(i=t.triggerCharacters)||void 0===i?void 0:i.includes(n))&&o.add(t);if(0!==o.size)return{providers:o,ch:n}}};y=v([C(1,d.p),C(2,f.p),C(3,p.Fh)],y);let S=class e{constructor(t,i,n,o){if(1==++e._counter){let r=o.createInstance(y,(e,i)=>{var o;let r=null!==(o=n.listCodeEditors().find(e=>e.getModel()===i))&&void 0!==o?o:t;return r.getOption(e)});e._disposable=i.inlineCompletionsProvider.register("*",r)}}dispose(){var t;0==--e._counter&&(null===(t=e._disposable)||void 0===t||t.dispose(),e._disposable=void 0)}};S._counter=0,S=v([C(1,d.p),C(2,l.$),C(3,_.TG)],S),(0,a._K)("suggest.inlineCompletionsProvider",S)},80378:function(e,t,i){"use strict";i.d(t,{Fh:function(){return m}});var n=i(15393),o=i(9917),r=i(43702),s=i(43155),a=i(33108),l=i(65026),h=i(72065),d=i(87060),u=function(e,t){return function(i,n){t(i,n,e)}};class c{constructor(e){this.name=e}select(e,t,i){if(0===i.length)return 0;let n=i[0].score[0];for(let e=0;ethis._saveState(),500),this._disposables.add(e.onWillSaveState(e=>{e.reason===d.fk.SHUTDOWN&&this._saveState()}))}dispose(){this._disposables.dispose(),this._persistSoon.dispose()}memorize(e,t,i){this._withStrategy(e,t).memorize(e,t,i),this._persistSoon.schedule()}select(e,t,i){return this._withStrategy(e,t).select(e,t,i)}_withStrategy(t,i){var n;let o=this._configService.getValue("editor.suggestSelection",{overrideIdentifier:t.getLanguageIdAtPosition(i.lineNumber,i.column),resource:t.uri});if((null===(n=this._strategy)||void 0===n?void 0:n.name)!==o){this._saveState();let t=e._strategyCtors.get(o)||g;this._strategy=new t;try{let t=this._configService.getValue("editor.suggest.shareSuggestSelections"),i=this._storageService.get(`${e._storagePrefix}/${o}`,t?0:1);i&&this._strategy.fromJSON(JSON.parse(i))}catch(e){}}return this._strategy}_saveState(){if(this._strategy){let t=this._configService.getValue("editor.suggest.shareSuggestSelections"),i=JSON.stringify(this._strategy);this._storageService.store(`${e._storagePrefix}/${this._strategy.name}`,i,t?0:1,1)}}};p._strategyCtors=new Map([["recentlyUsedByPrefix",class extends c{constructor(){super("recentlyUsedByPrefix"),this._trie=r.Id.forStrings(),this._seq=0}memorize(e,t,i){let{word:n}=e.getWordUntilPosition(t),o=`${e.getLanguageId()}/${n}`;this._trie.set(o,{type:i.completion.kind,insertText:i.completion.insertText,touch:this._seq++})}select(e,t,i){let{word:n}=e.getWordUntilPosition(t);if(!n)return super.select(e,t,i);let o=`${e.getLanguageId()}/${n}`,r=this._trie.get(o);if(r||(r=this._trie.findSubstr(o)),r)for(let e=0;ee.push([i,t])),e.sort((e,t)=>-(e[1].touch-t[1].touch)).forEach((e,t)=>e[1].touch=t),e.slice(0,200)}fromJSON(e){if(this._trie.clear(),e.length>0)for(let[t,i]of(this._seq=e[0][1].touch+1,e))i.type="number"==typeof i.type?i.type:s.gX.fromString(i.type),this._trie.set(t,i)}}],["recentlyUsed",class extends c{constructor(){super("recentlyUsed"),this._cache=new r.z6(300,.66),this._seq=0}memorize(e,t,i){let n=`${e.getLanguageId()}/${i.textLabel}`;this._cache.set(n,{touch:this._seq++,type:i.completion.kind,insertText:i.completion.insertText})}select(e,t,i){if(0===i.length)return 0;let n=e.getLineContent(t.lineNumber).substr(t.column-10,t.column-1);if(/\s$/.test(n))return super.select(e,t,i);let o=i[0].score[0],r=-1,s=-1;for(let t=0;ts&&o.type===i[t].completion.kind&&o.insertText===i[t].completion.insertText&&(s=o.touch,r=t),i[t].completion.preselect)return t}return -1!==r?r:0}toJSON(){return this._cache.toJSON()}fromJSON(e){for(let[t,i]of(this._cache.clear(),e))i.touch=0,i.type="number"==typeof i.type?i.type:s.gX.fromString(i.type),this._cache.set(t,i);this._seq=this._cache.size}}],["first",g]]),p._storagePrefix="suggest/memories",p=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([u(0,d.Uy),u(1,a.Ui)],p);let m=(0,h.yh)("ISuggestMemories");(0,l.z)(m,p,!0)},24477:function(e,t,i){"use strict";i.d(t,{K:function(){return s}});var n=i(9488),o=i(24314),r=i(79694);class s{static create(e,t){var i,a,l,h;return i=this,a=void 0,l=void 0,h=function*(){if(!t.getOption(108).localityBonus||!t.hasModel())return s.None;let i=t.getModel(),a=t.getPosition();if(!e.canComputeWordRanges(i.uri))return s.None;let[l]=yield new r.x().provideSelectionRanges(i,[a]);if(0===l.length)return s.None;let h=yield e.computeWordRanges(i.uri,l[0].range);if(!h)return s.None;let d=i.getWordUntilPosition(a);return delete h[d.word],new class extends s{distance(e,i){if(!a.equals(t.getPosition()))return 0;if(17===i.kind)return 2097152;let r="string"==typeof i.label?i.label:i.label.label,s=h[r];if((0,n.XY)(s))return 2097152;let d=(0,n.ry)(s,o.e.fromPositions(e),o.e.compareRangesUsingStarts),u=d>=0?s[d]:s[Math.max(0,~d-1)],c=l.length;for(let e of l){if(!o.e.containsRange(e.range,u))break;c-=1}return c}}},new(l||(l=Promise))(function(e,t){function n(e){try{r(h.next(e))}catch(e){t(e)}}function o(e){try{r(h.throw(e))}catch(e){t(e)}}function r(t){var i;t.done?e(t.value):((i=t.value)instanceof l?i:new l(function(e){e(i)})).then(n,o)}r((h=h.apply(i,a||[])).next())})}}s.None=new class extends s{distance(){return 0}}},71713:function(e,t,i){"use strict";var n=i(73046),o=i(63580),r=i(73910),s=i(97781);let a=(0,r.P6G)("symbolIcon.arrayForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.arrayForeground","The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),l=(0,r.P6G)("symbolIcon.booleanForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.booleanForeground","The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),h=(0,r.P6G)("symbolIcon.classForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},(0,o.NC)("symbolIcon.classForeground","The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),d=(0,r.P6G)("symbolIcon.colorForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.colorForeground","The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),u=(0,r.P6G)("symbolIcon.constantForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.constantForeground","The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),c=(0,r.P6G)("symbolIcon.constructorForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},(0,o.NC)("symbolIcon.constructorForeground","The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),g=(0,r.P6G)("symbolIcon.enumeratorForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},(0,o.NC)("symbolIcon.enumeratorForeground","The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),p=(0,r.P6G)("symbolIcon.enumeratorMemberForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,o.NC)("symbolIcon.enumeratorMemberForeground","The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),m=(0,r.P6G)("symbolIcon.eventForeground",{dark:"#EE9D28",light:"#D67E00",hcDark:"#EE9D28",hcLight:"#D67E00"},(0,o.NC)("symbolIcon.eventForeground","The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),f=(0,r.P6G)("symbolIcon.fieldForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,o.NC)("symbolIcon.fieldForeground","The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),_=(0,r.P6G)("symbolIcon.fileForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.fileForeground","The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),v=(0,r.P6G)("symbolIcon.folderForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.folderForeground","The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),C=(0,r.P6G)("symbolIcon.functionForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},(0,o.NC)("symbolIcon.functionForeground","The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),b=(0,r.P6G)("symbolIcon.interfaceForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,o.NC)("symbolIcon.interfaceForeground","The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),w=(0,r.P6G)("symbolIcon.keyForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.keyForeground","The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),y=(0,r.P6G)("symbolIcon.keywordForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.keywordForeground","The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),S=(0,r.P6G)("symbolIcon.methodForeground",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},(0,o.NC)("symbolIcon.methodForeground","The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),L=(0,r.P6G)("symbolIcon.moduleForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.moduleForeground","The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),k=(0,r.P6G)("symbolIcon.namespaceForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.namespaceForeground","The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),N=(0,r.P6G)("symbolIcon.nullForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.nullForeground","The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),D=(0,r.P6G)("symbolIcon.numberForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.numberForeground","The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),x=(0,r.P6G)("symbolIcon.objectForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.objectForeground","The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),I=(0,r.P6G)("symbolIcon.operatorForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.operatorForeground","The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),E=(0,r.P6G)("symbolIcon.packageForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.packageForeground","The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),T=(0,r.P6G)("symbolIcon.propertyForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.propertyForeground","The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),M=(0,r.P6G)("symbolIcon.referenceForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.referenceForeground","The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),A=(0,r.P6G)("symbolIcon.snippetForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.snippetForeground","The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),R=(0,r.P6G)("symbolIcon.stringForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.stringForeground","The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),O=(0,r.P6G)("symbolIcon.structForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.structForeground","The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),P=(0,r.P6G)("symbolIcon.textForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.textForeground","The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),F=(0,r.P6G)("symbolIcon.typeParameterForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.typeParameterForeground","The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),B=(0,r.P6G)("symbolIcon.unitForeground",{dark:r.dRz,light:r.dRz,hcDark:r.dRz,hcLight:r.dRz},(0,o.NC)("symbolIcon.unitForeground","The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),V=(0,r.P6G)("symbolIcon.variableForeground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},(0,o.NC)("symbolIcon.variableForeground","The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));(0,s.Ic)((e,t)=>{let i=e.getColor(a);i&&t.addRule(`${n.lA.symbolArray.cssSelector} { color: ${i}; }`);let o=e.getColor(l);o&&t.addRule(`${n.lA.symbolBoolean.cssSelector} { color: ${o}; }`);let r=e.getColor(h);r&&t.addRule(`${n.lA.symbolClass.cssSelector} { color: ${r}; }`);let s=e.getColor(S);s&&t.addRule(`${n.lA.symbolMethod.cssSelector} { color: ${s}; }`);let W=e.getColor(d);W&&t.addRule(`${n.lA.symbolColor.cssSelector} { color: ${W}; }`);let H=e.getColor(u);H&&t.addRule(`${n.lA.symbolConstant.cssSelector} { color: ${H}; }`);let z=e.getColor(c);z&&t.addRule(`${n.lA.symbolConstructor.cssSelector} { color: ${z}; }`);let K=e.getColor(g);K&&t.addRule(` + ${n.lA.symbolValue.cssSelector},${n.lA.symbolEnum.cssSelector} { color: ${K}; }`);let U=e.getColor(p);U&&t.addRule(`${n.lA.symbolEnumMember.cssSelector} { color: ${U}; }`);let $=e.getColor(m);$&&t.addRule(`${n.lA.symbolEvent.cssSelector} { color: ${$}; }`);let j=e.getColor(f);j&&t.addRule(`${n.lA.symbolField.cssSelector} { color: ${j}; }`);let q=e.getColor(_);q&&t.addRule(`${n.lA.symbolFile.cssSelector} { color: ${q}; }`);let G=e.getColor(v);G&&t.addRule(`${n.lA.symbolFolder.cssSelector} { color: ${G}; }`);let Q=e.getColor(C);Q&&t.addRule(`${n.lA.symbolFunction.cssSelector} { color: ${Q}; }`);let Z=e.getColor(b);Z&&t.addRule(`${n.lA.symbolInterface.cssSelector} { color: ${Z}; }`);let Y=e.getColor(w);Y&&t.addRule(`${n.lA.symbolKey.cssSelector} { color: ${Y}; }`);let J=e.getColor(y);J&&t.addRule(`${n.lA.symbolKeyword.cssSelector} { color: ${J}; }`);let X=e.getColor(L);X&&t.addRule(`${n.lA.symbolModule.cssSelector} { color: ${X}; }`);let ee=e.getColor(k);ee&&t.addRule(`${n.lA.symbolNamespace.cssSelector} { color: ${ee}; }`);let et=e.getColor(N);et&&t.addRule(`${n.lA.symbolNull.cssSelector} { color: ${et}; }`);let ei=e.getColor(D);ei&&t.addRule(`${n.lA.symbolNumber.cssSelector} { color: ${ei}; }`);let en=e.getColor(x);en&&t.addRule(`${n.lA.symbolObject.cssSelector} { color: ${en}; }`);let eo=e.getColor(I);eo&&t.addRule(`${n.lA.symbolOperator.cssSelector} { color: ${eo}; }`);let er=e.getColor(E);er&&t.addRule(`${n.lA.symbolPackage.cssSelector} { color: ${er}; }`);let es=e.getColor(T);es&&t.addRule(`${n.lA.symbolProperty.cssSelector} { color: ${es}; }`);let ea=e.getColor(M);ea&&t.addRule(`${n.lA.symbolReference.cssSelector} { color: ${ea}; }`);let el=e.getColor(A);el&&t.addRule(`${n.lA.symbolSnippet.cssSelector} { color: ${el}; }`);let eh=e.getColor(R);eh&&t.addRule(`${n.lA.symbolString.cssSelector} { color: ${eh}; }`);let ed=e.getColor(O);ed&&t.addRule(`${n.lA.symbolStruct.cssSelector} { color: ${ed}; }`);let eu=e.getColor(P);eu&&t.addRule(`${n.lA.symbolText.cssSelector} { color: ${eu}; }`);let ec=e.getColor(F);ec&&t.addRule(`${n.lA.symbolTypeParameter.cssSelector} { color: ${ec}; }`);let eg=e.getColor(B);eg&&t.addRule(`${n.lA.symbolUnit.cssSelector} { color: ${eg}; }`);let ep=e.getColor(V);ep&&t.addRule(`${n.lA.symbolVariable.cssSelector} { color: ${ep}; }`)})},64662:function(e,t,i){"use strict";i.d(t,{R:function(){return a}});var n=i(85152),o=i(37940),r=i(16830),s=i(63580);class a extends r.R6{constructor(){super({id:a.ID,label:s.NC({key:"toggle.tabMovesFocus",comment:["Turn on/off use of tab key for moving focus around VS Code"]},"Toggle Tab Key Moves Focus"),alias:"Toggle Tab Key Moves Focus",precondition:void 0,kbOpts:{kbExpr:null,primary:2091,mac:{primary:1323},weight:100}})}run(e,t){let i=o.n.getTabFocusMode(),r=!i;o.n.setTabFocusMode(r),r?(0,n.Z9)(s.NC("toggle.tabMovesFocus.on","Pressing Tab will now move focus to the next focusable element")):(0,n.Z9)(s.NC("toggle.tabMovesFocus.off","Pressing Tab will now insert the tab character"))}}a.ID="editor.action.toggleTabFocusMode",(0,r.Qr)(a)},52614:function(e,t,i){"use strict";var n=i(84013),o=i(16830),r=i(63580);class s extends o.R6{constructor(){super({id:"editor.action.forceRetokenize",label:r.NC("forceRetokenize","Developer: Force Retokenize"),alias:"Developer: Force Retokenize",precondition:void 0})}run(e,t){if(!t.hasModel())return;let i=t.getModel();i.tokenization.resetTokenization();let o=new n.G(!0);i.tokenization.forceTokenization(i.getLineCount()),o.stop(),console.log(`tokenization took ${o.elapsed()}`)}}(0,o.Qr)(s)},95180:function(e,t,i){"use strict";var n,o=i(15393),r=i(73046),s=i(59365),a=i(9917),l=i(1432),h=i(97295);i(60858);var d=i(16830),u=i(64141),c=i(22529),g=i(31446),p=i(85215),m=i(72042),f=i(30168),_=i(66520),v=i(22374);i(36046);var C=i(65321),b=i(90317),w=i(74741),y=i(51318),S=i(72065),L=i(4850),k=i(59069),N=i(10553),D=i(4669),x=i(50988),I=i(73910),E=i(97781);let T=class extends a.JT{constructor(e,t,i={},n){var o;super(),this._link=t,this._enabled=!0,this.el=(0,C.R3)(e,(0,C.$)("a.monaco-link",{tabIndex:null!==(o=t.tabIndex)&&void 0!==o?o:0,href:t.href,title:t.title},t.label)),this.el.setAttribute("role","button");let r=this._register(new L.Y(this.el,"click")),s=this._register(new L.Y(this.el,"keypress")),a=D.ju.chain(s.event).map(e=>new k.y(e)).filter(e=>3===e.keyCode).event,l=this._register(new L.Y(this.el,N.t.Tap)).event;this._register(N.o.addTarget(this.el));let h=D.ju.any(r.event,a,l);this._register(h(e=>{this.enabled&&(C.zB.stop(e,!0),(null==i?void 0:i.opener)?i.opener(this._link.href):n.open(this._link.href,{allowCommands:!0}))})),this.enabled=!0}get enabled(){return this._enabled}set enabled(e){e?(this.el.setAttribute("aria-disabled","false"),this.el.tabIndex=0,this.el.style.pointerEvents="auto",this.el.style.opacity="1",this.el.style.cursor="pointer",this._enabled=!1):(this.el.setAttribute("aria-disabled","true"),this.el.tabIndex=-1,this.el.style.pointerEvents="none",this.el.style.opacity="0.4",this.el.style.cursor="default",this._enabled=!0),this._enabled=e}};T=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(n=x.v4,function(e,t){n(e,t,3)})],T),(0,E.Ic)((e,t)=>{let i=e.getColor(I.url);i&&t.addRule(`.monaco-link { color: ${i}; }`);let n=e.getColor(I.sgC);n&&t.addRule(`.monaco-link:hover { color: ${n}; }`)});var M=i(59554),A=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},R=function(e,t){return function(i,n){t(i,n,e)}};let O=class extends a.JT{constructor(e,t){super(),this._editor=e,this.instantiationService=t,this.banner=this._register(this.instantiationService.createInstance(P))}hide(){this._editor.setBanner(null,0),this.banner.clear()}show(e){this.banner.show(Object.assign(Object.assign({},e),{onClose:()=>{var t;this.hide(),null===(t=e.onClose)||void 0===t||t.call(e)}})),this._editor.setBanner(this.banner.element,26)}};O=A([R(1,S.TG)],O);let P=class extends a.JT{constructor(e){super(),this.instantiationService=e,this.markdownRenderer=this.instantiationService.createInstance(y.$,{}),this.element=(0,C.$)("div.editor-banner"),this.element.tabIndex=0}getAriaLabel(e){return e.ariaLabel?e.ariaLabel:"string"==typeof e.message?e.message:void 0}getBannerMessage(e){if("string"==typeof e){let t=(0,C.$)("span");return t.innerText=e,t}return this.markdownRenderer.render(e).element}clear(){(0,C.PO)(this.element)}show(e){(0,C.PO)(this.element);let t=this.getAriaLabel(e);t&&this.element.setAttribute("aria-label",t);let i=(0,C.R3)(this.element,(0,C.$)("div.icon-container"));i.setAttribute("aria-hidden","true"),e.icon&&i.appendChild((0,C.$)(`div${E.kS.asCSSSelector(e.icon)}`));let n=(0,C.R3)(this.element,(0,C.$)("div.message-container"));if(n.setAttribute("aria-hidden","true"),n.appendChild(this.getBannerMessage(e.message)),this.messageActionsContainer=(0,C.R3)(this.element,(0,C.$)("div.message-actions-container")),e.actions)for(let t of e.actions)this._register(this.instantiationService.createInstance(T,this.messageActionsContainer,Object.assign(Object.assign({},t),{tabIndex:-1}),{}));let o=(0,C.R3)(this.element,(0,C.$)("div.action-container"));this.actionBar=this._register(new b.o(o)),this.actionBar.push(this._register(new w.aU("banner.close","Close Banner",E.kS.asClassName(M.s_),!0,()=>{"function"==typeof e.onClose&&e.onClose()})),{icon:!0,label:!1}),this.actionBar.setFocusable(!1)}};P=A([R(0,S.TG)],P);var F=i(63580),B=i(33108),V=i(41157),W=i(33425),H=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},z=function(e,t){return function(i,n){t(i,n,e)}},K=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let U=(0,M.q5)("extensions-warning-message",r.lA.warning,F.NC("warningIcon","Icon shown with a warning message in the extensions editor.")),$=class extends a.JT{constructor(e,t,i,n){super(),this._editor=e,this._editorWorkerService=t,this._workspaceTrustService=i,this._highlighter=null,this._bannerClosed=!1,this._updateState=e=>{if(e&&e.hasMore){let t;if(this._bannerClosed)return;let i=Math.max(e.ambiguousCharacterCount,e.nonBasicAsciiCharacterCount,e.invisibleCharacterCount);if(e.nonBasicAsciiCharacterCount>=i)t={message:F.NC("unicodeHighlighting.thisDocumentHasManyNonBasicAsciiUnicodeCharacters","This document contains many non-basic ASCII unicode characters"),command:new en};else if(e.ambiguousCharacterCount>=i)t={message:F.NC("unicodeHighlighting.thisDocumentHasManyAmbiguousUnicodeCharacters","This document contains many ambiguous unicode characters"),command:new et};else if(e.invisibleCharacterCount>=i)t={message:F.NC("unicodeHighlighting.thisDocumentHasManyInvisibleUnicodeCharacters","This document contains many invisible unicode characters"),command:new ei};else throw Error("Unreachable");this._bannerController.show({id:"unicodeHighlightBanner",message:t.message,icon:U,actions:[{label:t.command.shortLabel,href:`command:${t.command.id}`}],onClose:()=>{this._bannerClosed=!0}})}else this._bannerController.hide()},this._bannerController=this._register(n.createInstance(O,e)),this._register(this._editor.onDidChangeModel(()=>{this._bannerClosed=!1,this._updateHighlighter()})),this._options=e.getOption(115),this._register(i.onDidChangeTrust(e=>{this._updateHighlighter()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(115)&&(this._options=e.getOption(115),this._updateHighlighter())})),this._updateHighlighter()}dispose(){this._highlighter&&(this._highlighter.dispose(),this._highlighter=null),super.dispose()}_updateHighlighter(){var e,t;if(this._updateState(null),this._highlighter&&(this._highlighter.dispose(),this._highlighter=null),!this._editor.hasModel())return;let i=(e=this._workspaceTrustService.isWorkspaceTrusted(),{nonBasicASCII:(t=this._options).nonBasicASCII===u.Av?!e:t.nonBasicASCII,ambiguousCharacters:t.ambiguousCharacters,invisibleCharacters:t.invisibleCharacters,includeComments:t.includeComments===u.Av?!e:t.includeComments,includeStrings:t.includeStrings===u.Av?!e:t.includeStrings,allowedCharacters:t.allowedCharacters,allowedLocales:t.allowedLocales});if([i.nonBasicASCII,i.ambiguousCharacters,i.invisibleCharacters].every(e=>!1===e))return;let n={nonBasicASCII:i.nonBasicASCII,ambiguousCharacters:i.ambiguousCharacters,invisibleCharacters:i.invisibleCharacters,includeComments:i.includeComments,includeStrings:i.includeStrings,allowedCodePoints:Object.keys(i.allowedCharacters).map(e=>e.codePointAt(0)),allowedLocales:Object.keys(i.allowedLocales).map(e=>{if("_os"===e){let e=new Intl.NumberFormat().resolvedOptions().locale;return e}return"_vscode"===e?l.dK:e})};this._editorWorkerService.canComputeUnicodeHighlights(this._editor.getModel().uri)?this._highlighter=new j(this._editor,n,this._updateState,this._editorWorkerService):this._highlighter=new q(this._editor,n,this._updateState)}getDecorationInfo(e){return this._highlighter?this._highlighter.getDecorationInfo(e):null}};$.ID="editor.contrib.unicodeHighlighter",$=H([z(1,p.p),z(2,W.Y),z(3,S.TG)],$);let j=class extends a.JT{constructor(e,t,i,n){super(),this._editor=e,this._options=t,this._updateState=i,this._editorWorkerService=n,this._model=this._editor.getModel(),this._decorations=this._editor.createDecorationsCollection(),this._updateSoon=this._register(new o.pY(()=>this._update(),250)),this._register(this._editor.onDidChangeModelContent(()=>{this._updateSoon.schedule()})),this._updateSoon.schedule()}dispose(){this._decorations.clear(),super.dispose()}_update(){if(this._model.isDisposed())return;if(!this._model.mightContainNonBasicASCII()){this._decorations.clear();return}let e=this._model.getVersionId();this._editorWorkerService.computedUnicodeHighlights(this._model.uri,this._options).then(t=>{if(this._model.isDisposed()||this._model.getVersionId()!==e)return;this._updateState(t);let i=[];if(!t.hasMore)for(let e of t.ranges)i.push({range:e,options:J.instance.getDecorationFromOptions(this._options)});this._decorations.set(i)})}getDecorationInfo(e){if(!this._decorations.has(e))return null;let t=this._editor.getModel();if(!(0,f.Fd)(t,e))return null;let i=t.getValueInRange(e.range);return{reason:Y(i,this._options),inComment:(0,f.$t)(t,e),inString:(0,f.zg)(t,e)}}};j=H([z(3,p.p)],j);class q extends a.JT{constructor(e,t,i){super(),this._editor=e,this._options=t,this._updateState=i,this._model=this._editor.getModel(),this._decorations=this._editor.createDecorationsCollection(),this._updateSoon=this._register(new o.pY(()=>this._update(),250)),this._register(this._editor.onDidLayoutChange(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidScrollChange(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidChangeHiddenAreas(()=>{this._updateSoon.schedule()})),this._register(this._editor.onDidChangeModelContent(()=>{this._updateSoon.schedule()})),this._updateSoon.schedule()}dispose(){this._decorations.clear(),super.dispose()}_update(){if(this._model.isDisposed())return;if(!this._model.mightContainNonBasicASCII()){this._decorations.clear();return}let e=this._editor.getVisibleRanges(),t=[],i={ranges:[],ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0,hasMore:!1};for(let t of e){let e=g.a.computeUnicodeHighlights(this._model,this._options,t);for(let t of e.ranges)i.ranges.push(t);i.ambiguousCharacterCount+=i.ambiguousCharacterCount,i.invisibleCharacterCount+=i.invisibleCharacterCount,i.nonBasicAsciiCharacterCount+=i.nonBasicAsciiCharacterCount,i.hasMore=i.hasMore||e.hasMore}if(!i.hasMore)for(let e of i.ranges)t.push({range:e,options:J.instance.getDecorationFromOptions(this._options)});this._updateState(i),this._decorations.set(t)}getDecorationInfo(e){if(!this._decorations.has(e))return null;let t=this._editor.getModel(),i=t.getValueInRange(e.range);return(0,f.Fd)(t,e)?{reason:Y(i,this._options),inComment:(0,f.$t)(t,e),inString:(0,f.zg)(t,e)}:null}}let G=class{constructor(e,t,i){this._editor=e,this._languageService=t,this._openerService=i,this.hoverOrdinal=4}computeSync(e,t){if(!this._editor.hasModel()||1!==e.type)return[];let i=this._editor.getModel(),n=this._editor.getContribution($.ID);if(!n)return[];let o=[],r=300;for(let e of t){let t;let a=n.getDecorationInfo(e);if(!a)continue;let l=i.getValueInRange(e.range),h=l.codePointAt(0),d=Z(h);switch(a.reason.kind){case 0:t=F.NC("unicodeHighlight.characterIsAmbiguous","The character {0} could be confused with the character {1}, which is more common in source code.",d,Z(a.reason.confusableWith.codePointAt(0)));break;case 1:t=F.NC("unicodeHighlight.characterIsInvisible","The character {0} is invisible.",d);break;case 2:t=F.NC("unicodeHighlight.characterIsNonBasicAscii","The character {0} is not a basic ASCII character.",d)}let u={codePoint:h,reason:a.reason,inComment:a.inComment,inString:a.inString},c=F.NC("unicodeHighlight.adjustSettings","Adjust settings"),g=`command:${eo.ID}?${encodeURIComponent(JSON.stringify(u))}`,p=new s.W5("",!0).appendMarkdown(t).appendText(" ").appendLink(g,c);o.push(new v.hU(this,e.range,[p],r++))}return o}renderHoverParts(e,t){return(0,v.c)(e,t,this._editor,this._languageService,this._openerService)}};function Q(e){return`U+${e.toString(16).padStart(4,"0")}`}function Z(e){let t=`\`${Q(e)}\``;return h.vU.isInvisibleCharacter(e)||(t+=` "${96===e?"`` ` ``":"`"+String.fromCodePoint(e)+"`"}"`),t}function Y(e,t){return g.a.computeUnicodeHighlightReason(e,t)}G=H([z(1,m.O),z(2,x.v4)],G);class J{constructor(){this.map=new Map}getDecorationFromOptions(e){return this.getDecoration(!e.includeComments,!e.includeStrings)}getDecoration(e,t){let i=`${e}${t}`,n=this.map.get(i);return n||(n=c.qx.createDynamic({description:"unicode-highlight",stickiness:1,className:"unicode-highlight",showIfCollapsed:!0,overviewRuler:null,minimap:null,hideInCommentTokens:e,hideInStringTokens:t}),this.map.set(i,n)),n}}J.instance=new J;class X extends d.R6{constructor(){super({id:et.ID,label:F.NC("action.unicodeHighlight.disableHighlightingInComments","Disable highlighting of characters in comments"),alias:"Disable highlighting of characters in comments",precondition:void 0}),this.shortLabel=F.NC("unicodeHighlight.disableHighlightingInComments.shortLabel","Disable Highlight In Comments")}run(e,t,i){return K(this,void 0,void 0,function*(){let t=null==e?void 0:e.get(B.Ui);t&&this.runAction(t)})}runAction(e){return K(this,void 0,void 0,function*(){yield e.updateValue(u.qt.includeComments,!1,2)})}}class ee extends d.R6{constructor(){super({id:et.ID,label:F.NC("action.unicodeHighlight.disableHighlightingInStrings","Disable highlighting of characters in strings"),alias:"Disable highlighting of characters in strings",precondition:void 0}),this.shortLabel=F.NC("unicodeHighlight.disableHighlightingInStrings.shortLabel","Disable Highlight In Strings")}run(e,t,i){return K(this,void 0,void 0,function*(){let t=null==e?void 0:e.get(B.Ui);t&&this.runAction(t)})}runAction(e){return K(this,void 0,void 0,function*(){yield e.updateValue(u.qt.includeStrings,!1,2)})}}class et extends d.R6{constructor(){super({id:et.ID,label:F.NC("action.unicodeHighlight.disableHighlightingOfAmbiguousCharacters","Disable highlighting of ambiguous characters"),alias:"Disable highlighting of ambiguous characters",precondition:void 0}),this.shortLabel=F.NC("unicodeHighlight.disableHighlightingOfAmbiguousCharacters.shortLabel","Disable Ambiguous Highlight")}run(e,t,i){return K(this,void 0,void 0,function*(){let t=null==e?void 0:e.get(B.Ui);t&&this.runAction(t)})}runAction(e){return K(this,void 0,void 0,function*(){yield e.updateValue(u.qt.ambiguousCharacters,!1,2)})}}et.ID="editor.action.unicodeHighlight.disableHighlightingOfAmbiguousCharacters";class ei extends d.R6{constructor(){super({id:ei.ID,label:F.NC("action.unicodeHighlight.disableHighlightingOfInvisibleCharacters","Disable highlighting of invisible characters"),alias:"Disable highlighting of invisible characters",precondition:void 0}),this.shortLabel=F.NC("unicodeHighlight.disableHighlightingOfInvisibleCharacters.shortLabel","Disable Invisible Highlight")}run(e,t,i){return K(this,void 0,void 0,function*(){let t=null==e?void 0:e.get(B.Ui);t&&this.runAction(t)})}runAction(e){return K(this,void 0,void 0,function*(){yield e.updateValue(u.qt.invisibleCharacters,!1,2)})}}ei.ID="editor.action.unicodeHighlight.disableHighlightingOfInvisibleCharacters";class en extends d.R6{constructor(){super({id:en.ID,label:F.NC("action.unicodeHighlight.disableHighlightingOfNonBasicAsciiCharacters","Disable highlighting of non basic ASCII characters"),alias:"Disable highlighting of non basic ASCII characters",precondition:void 0}),this.shortLabel=F.NC("unicodeHighlight.disableHighlightingOfNonBasicAsciiCharacters.shortLabel","Disable Non ASCII Highlight")}run(e,t,i){return K(this,void 0,void 0,function*(){let t=null==e?void 0:e.get(B.Ui);t&&this.runAction(t)})}runAction(e){return K(this,void 0,void 0,function*(){yield e.updateValue(u.qt.nonBasicASCII,!1,2)})}}en.ID="editor.action.unicodeHighlight.disableHighlightingOfNonBasicAsciiCharacters";class eo extends d.R6{constructor(){super({id:eo.ID,label:F.NC("action.unicodeHighlight.showExcludeOptions","Show Exclude Options"),alias:"Show Exclude Options",precondition:void 0})}run(e,t,i){return K(this,void 0,void 0,function*(){let{codePoint:t,reason:n,inString:o,inComment:r}=i,s=String.fromCodePoint(t),a=e.get(V.eJ),l=e.get(B.Ui),d=[];if(0===n.kind)for(let e of n.notAmbiguousInLocales)d.push({label:F.NC("unicodeHighlight.allowCommonCharactersInLanguage",'Allow unicode characters that are more common in the language "{0}".',e),run:()=>K(this,void 0,void 0,function*(){!function(e,t){var i;K(this,void 0,void 0,function*(){let n;let o=null===(i=e.inspect(u.qt.allowedLocales).user)||void 0===i?void 0:i.value;for(let e of(n="object"==typeof o&&o?Object.assign({},o):{},t))n[e]=!0;yield e.updateValue(u.qt.allowedLocales,n,2)})}(l,[e])})});if(d.push({label:h.vU.isInvisibleCharacter(t)?F.NC("unicodeHighlight.excludeInvisibleCharFromBeingHighlighted","Exclude {0} (invisible character) from being highlighted",Q(t)):F.NC("unicodeHighlight.excludeCharFromBeingHighlighted","Exclude {0} from being highlighted",`${Q(t)} "${s}"`),run:()=>(function(e,t){return K(this,void 0,void 0,function*(){let i;let n=e.getValue(u.qt.allowedCharacters);for(let e of(i="object"==typeof n&&n?n:{},t))i[String.fromCodePoint(e)]=!0;yield e.updateValue(u.qt.allowedCharacters,i,2)})})(l,[t])}),r){let e=new X;d.push({label:e.label,run:()=>K(this,void 0,void 0,function*(){return e.runAction(l)})})}else if(o){let e=new ee;d.push({label:e.label,run:()=>K(this,void 0,void 0,function*(){return e.runAction(l)})})}if(0===n.kind){let e=new et;d.push({label:e.label,run:()=>K(this,void 0,void 0,function*(){return e.runAction(l)})})}else if(1===n.kind){let e=new ei;d.push({label:e.label,run:()=>K(this,void 0,void 0,function*(){return e.runAction(l)})})}else if(2===n.kind){let e=new en;d.push({label:e.label,run:()=>K(this,void 0,void 0,function*(){return e.runAction(l)})})}else!function(e){throw Error(`Unexpected value: ${e}`)}(n);let c=yield a.pick(d,{title:F.NC("unicodeHighlight.configureUnicodeHighlightOptions","Configure Unicode Highlight Options")});c&&(yield c.run())})}}eo.ID="editor.action.unicodeHighlight.showExcludeOptions",(0,d.Qr)(et),(0,d.Qr)(ei),(0,d.Qr)(en),(0,d.Qr)(eo),(0,d._K)($.ID,$),_.Ae.register(G)},79607:function(e,t,i){"use strict";var n=i(9917),o=i(95935),r=i(16830),s=i(11640),a=i(63580),l=i(28820),h=function(e,t){return function(i,n){t(i,n,e)}};let d="ignoreUnusualLineTerminators",u=class extends n.JT{constructor(e,t,i){super(),this._editor=e,this._dialogService=t,this._codeEditorService=i,this._config=this._editor.getOption(116),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(116)&&(this._config=this._editor.getOption(116),this._checkForUnusualLineTerminators())})),this._register(this._editor.onDidChangeModel(()=>{this._checkForUnusualLineTerminators()})),this._register(this._editor.onDidChangeModelContent(e=>{e.isUndoing||this._checkForUnusualLineTerminators()}))}_checkForUnusualLineTerminators(){var e,t,i,n;return e=this,t=void 0,i=void 0,n=function*(){if("off"===this._config||!this._editor.hasModel())return;let e=this._editor.getModel();if(!e.mightContainUnusualLineTerminators())return;let t=this._codeEditorService.getModelProperty(e.uri,d);if(!0===t||this._editor.getOption(83))return;if("auto"===this._config){e.removeUnusualLineTerminators(this._editor.getSelections());return}let i=yield this._dialogService.confirm({title:a.NC("unusualLineTerminators.title","Unusual Line Terminators"),message:a.NC("unusualLineTerminators.message","Detected unusual line terminators"),detail:a.NC("unusualLineTerminators.detail","The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.",(0,o.EZ)(e.uri)),primaryButton:a.NC("unusualLineTerminators.fix","Remove Unusual Line Terminators"),secondaryButton:a.NC("unusualLineTerminators.ignore","Ignore")});if(!i.confirmed){!function(e,t,i){e.setModelProperty(t.uri,d,i)}(this._codeEditorService,e,!0);return}e.removeUnusualLineTerminators(this._editor.getSelections())},new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})}};u.ID="editor.contrib.unusualLineTerminatorsDetector",u=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([h(1,l.S),h(2,s.$)],u),(0,r._K)(u.ID,u)},61271:function(e,t,i){"use strict";var n=i(15393),o=i(9917),r=i(16830),s=i(32670),a=i(73733),l=i(51200),h=i(68997),d=i(33108),u=i(97781),c=i(88191),g=i(84013),p=i(71922),m=function(e,t){return function(i,n){t(i,n,e)}};let f=class extends o.JT{constructor(e,t,i,o,r,s){super(),this._modelService=t,this._themeService=i,this._configurationService=o,this._editor=e,this._provider=s.documentRangeSemanticTokensProvider,this._debounceInformation=r.for(this._provider,"DocumentRangeSemanticTokens",{min:100,max:500}),this._tokenizeViewport=this._register(new n.pY(()=>this._tokenizeViewportNow(),100)),this._outstandingRequests=[];let a=()=>{this._editor.hasModel()&&this._tokenizeViewport.schedule(this._debounceInformation.get(this._editor.getModel()))};this._register(this._editor.onDidScrollChange(()=>{a()})),this._register(this._editor.onDidChangeModel(()=>{this._cancelAll(),a()})),this._register(this._editor.onDidChangeModelContent(e=>{this._cancelAll(),a()})),this._register(this._provider.onDidChange(()=>{this._cancelAll(),a()})),this._register(this._configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(l.e3)&&(this._cancelAll(),a())})),this._register(this._themeService.onDidColorThemeChange(()=>{this._cancelAll(),a()}))}_cancelAll(){for(let e of this._outstandingRequests)e.cancel();this._outstandingRequests=[]}_removeOutstandingRequest(e){for(let t=0,i=this._outstandingRequests.length;tthis._requestRange(e,t)))}_requestRange(e,t){let i=e.getVersionId(),o=(0,n.PG)(i=>Promise.resolve((0,s.OG)(this._provider,e,t,i))),r=new g.G(!1);return o.then(n=>{if(this._debounceInformation.update(e,r.elapsed()),!n||!n.tokens||e.isDisposed()||e.getVersionId()!==i)return;let{provider:o,tokens:s}=n,a=this._modelService.getSemanticTokensProviderStyling(o);e.tokenization.setPartialSemanticTokens(t,(0,h.h)(s,a,e.getLanguageId()))}).then(()=>this._removeOutstandingRequest(o),()=>this._removeOutstandingRequest(o)),o}};f.ID="editor.contrib.viewportSemanticTokens",f=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([m(1,a.q),m(2,u.XE),m(3,d.Ui),m(4,c.A),m(5,p.p)],f),(0,r._K)(f.ID,f)},70943:function(e,t,i){"use strict";var n=i(85152),o=i(9488),r=i(15393),s=i(71050),a=i(17301),l=i(9917),h=i(16830),d=i(24314),u=i(29102),c=i(84973),g=i(22529),p=i(43155),m=i(63580),f=i(38819),_=i(73910),v=i(97781),C=i(71922),b=i(92321),w=function(e,t){return function(i,n){t(i,n,e)}};let y=(0,_.P6G)("editor.wordHighlightBackground",{dark:"#575757B8",light:"#57575740",hcDark:null,hcLight:null},m.NC("wordHighlight","Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations."),!0),S=(0,_.P6G)("editor.wordHighlightStrongBackground",{dark:"#004972B8",light:"#0e639c40",hcDark:null,hcLight:null},m.NC("wordHighlightStrong","Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations."),!0),L=(0,_.P6G)("editor.wordHighlightBorder",{light:null,dark:null,hcDark:_.xL1,hcLight:_.xL1},m.NC("wordHighlightBorder","Border color of a symbol during read-access, like reading a variable.")),k=(0,_.P6G)("editor.wordHighlightStrongBorder",{light:null,dark:null,hcDark:_.xL1,hcLight:_.xL1},m.NC("wordHighlightStrongBorder","Border color of a symbol during write-access, like writing to a variable.")),N=(0,_.P6G)("editorOverviewRuler.wordHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hcDark:"#A0A0A0CC",hcLight:"#A0A0A0CC"},m.NC("overviewRulerWordHighlightForeground","Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),D=(0,_.P6G)("editorOverviewRuler.wordHighlightStrongForeground",{dark:"#C0A0C0CC",light:"#C0A0C0CC",hcDark:"#C0A0C0CC",hcLight:"#C0A0C0CC"},m.NC("overviewRulerWordHighlightStrongForeground","Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),x=new f.uy("hasWordHighlights",!1);function I(e,t,i,n){let s=e.ordered(t);return(0,r.Ps)(s.map(e=>()=>Promise.resolve(e.provideDocumentHighlights(t,i,n)).then(void 0,a.Cp)),o.Of)}class E{constructor(e,t,i){this._model=e,this._selection=t,this._wordSeparators=i,this._wordRange=this._getCurrentWordRange(e,t),this._result=null}get result(){return this._result||(this._result=(0,r.PG)(e=>this._compute(this._model,this._selection,this._wordSeparators,e))),this._result}_getCurrentWordRange(e,t){let i=e.getWordAtPosition(t.getPosition());return i?new d.e(t.startLineNumber,i.startColumn,t.startLineNumber,i.endColumn):null}isValid(e,t,i){let n=t.startLineNumber,o=t.startColumn,r=t.endColumn,s=this._getCurrentWordRange(e,t),a=!!(this._wordRange&&this._wordRange.equalsRange(s));for(let e=0,t=i.length;!a&&e=r&&(a=!0)}return a}cancel(){this.result.cancel()}}class T extends E{constructor(e,t,i,n){super(e,t,i),this._providers=n}_compute(e,t,i,n){return I(this._providers,e,t.getPosition(),n).then(e=>e||[])}}class M extends E{constructor(e,t,i){super(e,t,i),this._selectionIsEmpty=t.isEmpty()}_compute(e,t,i,n){return(0,r.Vs)(250,n).then(()=>{if(!t.isEmpty())return[];let n=e.getWordAtPosition(t.getPosition());if(!n||n.word.length>1e3)return[];let o=e.findMatches(n.word,!0,!1,!0,i,!1);return o.map(e=>({range:e.range,kind:p.MY.Text}))})}isValid(e,t,i){let n=t.isEmpty();return this._selectionIsEmpty===n&&super.isValid(e,t,i)}}(0,h.sb)("_executeDocumentHighlights",(e,t,i)=>{let n=e.get(C.p);return I(n.documentHighlightProvider,t,i,s.T.None)});class A{constructor(e,t,i){this.toUnhook=new l.SL,this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=[],this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=e,this.providers=t,this._hasWordHighlights=x.bindTo(i),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getOption(74),this.model=this.editor.getModel(),this.toUnhook.add(e.onDidChangeCursorPosition(e=>{!this._ignorePositionChangeEvent&&this.occurrencesHighlight&&this._onPositionChanged(e)})),this.toUnhook.add(e.onDidChangeModelContent(e=>{this._stopAll()})),this.toUnhook.add(e.onDidChangeConfiguration(e=>{let t=this.editor.getOption(74);this.occurrencesHighlight!==t&&(this.occurrencesHighlight=t,this._stopAll())})),this.decorations=this.editor.createDecorationsCollection(),this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1}hasDecorations(){return this.decorations.length>0}restore(){this.occurrencesHighlight&&this._run()}_getSortedHighlights(){return this.decorations.getRanges().sort(d.e.compareRangesUsingStarts)}moveNext(){let e=this._getSortedHighlights(),t=e.findIndex(e=>e.containsPosition(this.editor.getPosition())),i=(t+1)%e.length,o=e[i];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(o.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(o);let t=this._getWord();if(t){let r=this.editor.getModel().getLineContent(o.startLineNumber);(0,n.Z9)(`${r}, ${i+1} of ${e.length} for '${t.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}moveBack(){let e=this._getSortedHighlights(),t=e.findIndex(e=>e.containsPosition(this.editor.getPosition())),i=(t-1+e.length)%e.length,o=e[i];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(o.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(o);let t=this._getWord();if(t){let r=this.editor.getModel().getLineContent(o.startLineNumber);(0,n.Z9)(`${r}, ${i+1} of ${e.length} for '${t.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}_removeDecorations(){this.decorations.length>0&&(this.decorations.clear(),this._hasWordHighlights.set(!1))}_stopAll(){this._removeDecorations(),-1!==this.renderDecorationsTimer&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),null!==this.workerRequest&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)}_onPositionChanged(e){if(!this.occurrencesHighlight||3!==e.reason){this._stopAll();return}this._run()}_getWord(){let e=this.editor.getSelection(),t=e.startLineNumber,i=e.startColumn;return this.model.getWordAtPosition({lineNumber:t,column:i})}_run(){let e=this.editor.getSelection();if(e.startLineNumber!==e.endLineNumber){this._stopAll();return}let t=e.startColumn,i=e.endColumn,n=this._getWord();if(!n||n.startColumn>t||n.endColumn{e===this.workerRequestTokenId&&(this.workerRequestCompleted=!0,this.workerRequestValue=t||[],this._beginRenderDecorations())},a.dL)}}_beginRenderDecorations(){let e=new Date().getTime(),t=this.lastCursorPositionChangeTime+250;e>=t?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout(()=>{this.renderDecorations()},t-e)}renderDecorations(){this.renderDecorationsTimer=-1;let e=[];for(let t of this.workerRequestValue)t.range&&e.push({range:t.range,options:A._getDecorationOptions(t.kind)});this.decorations.set(e),this._hasWordHighlights.set(this.hasDecorations())}static _getDecorationOptions(e){return e===p.MY.Write?this._WRITE_OPTIONS:e===p.MY.Text?this._TEXT_OPTIONS:this._REGULAR_OPTIONS}dispose(){this._stopAll(),this.toUnhook.dispose()}}A._WRITE_OPTIONS=g.qx.register({description:"word-highlight-strong",stickiness:1,className:"wordHighlightStrong",overviewRuler:{color:(0,v.EN)(D),position:c.sh.Center},minimap:{color:(0,v.EN)(_.IYc),position:c.F5.Inline}}),A._TEXT_OPTIONS=g.qx.register({description:"selection-highlight",stickiness:1,className:"selectionHighlight",overviewRuler:{color:(0,v.EN)(_.SPM),position:c.sh.Center},minimap:{color:(0,v.EN)(_.IYc),position:c.F5.Inline}}),A._REGULAR_OPTIONS=g.qx.register({description:"word-highlight",stickiness:1,className:"wordHighlight",overviewRuler:{color:(0,v.EN)(N),position:c.sh.Center},minimap:{color:(0,v.EN)(_.IYc),position:c.F5.Inline}});let R=class e extends l.JT{constructor(e,t,i){super(),this.wordHighlighter=null;let n=()=>{e.hasModel()&&(this.wordHighlighter=new A(e,i.documentHighlightProvider,t))};this._register(e.onDidChangeModel(e=>{this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),n()})),n()}static get(t){return t.getContribution(e.ID)}saveViewState(){return!!(this.wordHighlighter&&this.wordHighlighter.hasDecorations())}moveNext(){this.wordHighlighter&&this.wordHighlighter.moveNext()}moveBack(){this.wordHighlighter&&this.wordHighlighter.moveBack()}restoreViewState(e){this.wordHighlighter&&e&&this.wordHighlighter.restore()}dispose(){this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),super.dispose()}};R.ID="editor.contrib.wordHighlighter",R=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([w(1,f.i6),w(2,C.p)],R);class O extends h.R6{constructor(e,t){super(t),this._isNext=e}run(e,t){let i=R.get(t);i&&(this._isNext?i.moveNext():i.moveBack())}}class P extends h.R6{constructor(){super({id:"editor.action.wordHighlight.trigger",label:m.NC("wordHighlight.trigger.label","Trigger Symbol Highlight"),alias:"Trigger Symbol Highlight",precondition:x.toNegated(),kbOpts:{kbExpr:u.u.editorTextFocus,primary:0,weight:100}})}run(e,t,i){let n=R.get(t);n&&n.restoreViewState(!0)}}(0,h._K)(R.ID,R),(0,h.Qr)(class extends O{constructor(){super(!0,{id:"editor.action.wordHighlight.next",label:m.NC("wordHighlight.next.label","Go to Next Symbol Highlight"),alias:"Go to Next Symbol Highlight",precondition:x,kbOpts:{kbExpr:u.u.editorTextFocus,primary:65,weight:100}})}}),(0,h.Qr)(class extends O{constructor(){super(!1,{id:"editor.action.wordHighlight.prev",label:m.NC("wordHighlight.previous.label","Go to Previous Symbol Highlight"),alias:"Go to Previous Symbol Highlight",precondition:x,kbOpts:{kbExpr:u.u.editorTextFocus,primary:1089,weight:100}})}}),(0,h.Qr)(P),(0,v.Ic)((e,t)=>{let i=e.getColor(_.Rzx);i&&(t.addRule(`.monaco-editor .focused .selectionHighlight { background-color: ${i}; }`),t.addRule(`.monaco-editor .selectionHighlight { background-color: ${i.transparent(.5)}; }`));let n=e.getColor(y);n&&t.addRule(`.monaco-editor .wordHighlight { background-color: ${n}; }`);let o=e.getColor(S);o&&t.addRule(`.monaco-editor .wordHighlightStrong { background-color: ${o}; }`);let r=e.getColor(_.g_n);r&&t.addRule(`.monaco-editor .selectionHighlight { border: 1px ${(0,b.c3)(e.type)?"dotted":"solid"} ${r}; box-sizing: border-box; }`);let s=e.getColor(L);s&&t.addRule(`.monaco-editor .wordHighlight { border: 1px ${(0,b.c3)(e.type)?"dashed":"solid"} ${s}; box-sizing: border-box; }`);let a=e.getColor(k);a&&t.addRule(`.monaco-editor .wordHighlightStrong { border: 1px ${(0,b.c3)(e.type)?"dashed":"solid"} ${a}; box-sizing: border-box; }`)})},37181:function(e,t,i){"use strict";i.d(t,{IA:function(){return v},t8:function(){return w}});var n=i(16830),o=i(61329),r=i(64141),s=i(55343),a=i(92896),l=i(24929),h=i(50187),d=i(24314),u=i(3860),c=i(29102),g=i(4256),p=i(63580),m=i(31106),f=i(38819),_=i(39282);class v extends n._l{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,i){if(!t.hasModel())return;let n=(0,l.u)(t.getOption(119)),o=t.getModel(),r=t.getSelections(),a=r.map(e=>{let t=new h.L(e.positionLineNumber,e.positionColumn),i=this._move(n,o,t,this._wordNavigationType);return this._moveTo(e,i,this._inSelectionMode)});if(o.pushStackElement(),t._getViewModel().setCursorStates("moveWordCommand",3,a.map(e=>s.Vi.fromModelSelection(e))),1===a.length){let e=new h.L(a[0].positionLineNumber,a[0].positionColumn);t.revealPosition(e,0)}}_moveTo(e,t,i){return i?new u.Y(e.selectionStartLineNumber,e.selectionStartColumn,t.lineNumber,t.column):new u.Y(t.lineNumber,t.column,t.lineNumber,t.column)}}class C extends v{_move(e,t,i,n){return a.w.moveWordLeft(e,t,i,n)}}class b extends v{_move(e,t,i,n){return a.w.moveWordRight(e,t,i,n)}}class w extends n._l{constructor(e){super(e),this._whitespaceHeuristics=e.whitespaceHeuristics,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,i){let n=e.get(g.c_);if(!t.hasModel())return;let r=(0,l.u)(t.getOption(119)),s=t.getModel(),a=t.getSelections(),h=t.getOption(5),d=t.getOption(8),u=n.getLanguageConfiguration(s.getLanguageId()).getAutoClosingPairs(),c=t._getViewModel(),p=a.map(e=>{let i=this._delete({wordSeparators:r,model:s,selection:e,whitespaceHeuristics:this._whitespaceHeuristics,autoClosingDelete:t.getOption(6),autoClosingBrackets:h,autoClosingQuotes:d,autoClosingPairs:u,autoClosedCharacters:c.getCursorAutoClosedCharacters()},this._wordNavigationType);return new o.T4(i,"")});t.pushUndoStop(),t.executeCommands(this.id,p),t.pushUndoStop()}}class y extends w{_delete(e,t){let i=a.w.deleteWordLeft(e,t);return i||new d.e(1,1,1,1)}}class S extends w{_delete(e,t){let i=a.w.deleteWordRight(e,t);if(i)return i;let n=e.model.getLineCount(),o=e.model.getLineMaxColumn(n);return new d.e(n,o,n,o)}}class L extends n.R6{constructor(){super({id:"deleteInsideWord",precondition:c.u.writable,label:p.NC("deleteInsideWord","Delete Word"),alias:"Delete Word"})}run(e,t,i){if(!t.hasModel())return;let n=(0,l.u)(t.getOption(119)),r=t.getModel(),s=t.getSelections(),h=s.map(e=>{let t=a.w.deleteInsideWord(n,r,e);return new o.T4(t,"")});t.pushUndoStop(),t.executeCommands(this.id,h),t.pushUndoStop()}}(0,n.fK)(new class extends C{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartLeft",precondition:void 0})}}),(0,n.fK)(new class extends C{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndLeft",precondition:void 0})}}),(0,n.fK)(new class extends C{constructor(){var e;super({inSelectionMode:!1,wordNavigationType:1,id:"cursorWordLeft",precondition:void 0,kbOpts:{kbExpr:f.Ao.and(c.u.textInputFocus,null===(e=f.Ao.and(m.U,_.cv))||void 0===e?void 0:e.negate()),primary:2063,mac:{primary:527},weight:100}})}}),(0,n.fK)(new class extends C{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartLeftSelect",precondition:void 0})}}),(0,n.fK)(new class extends C{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndLeftSelect",precondition:void 0})}}),(0,n.fK)(new class extends C{constructor(){var e;super({inSelectionMode:!0,wordNavigationType:1,id:"cursorWordLeftSelect",precondition:void 0,kbOpts:{kbExpr:f.Ao.and(c.u.textInputFocus,null===(e=f.Ao.and(m.U,_.cv))||void 0===e?void 0:e.negate()),primary:3087,mac:{primary:1551},weight:100}})}}),(0,n.fK)(new class extends b{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartRight",precondition:void 0})}}),(0,n.fK)(new class extends b{constructor(){var e;super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndRight",precondition:void 0,kbOpts:{kbExpr:f.Ao.and(c.u.textInputFocus,null===(e=f.Ao.and(m.U,_.cv))||void 0===e?void 0:e.negate()),primary:2065,mac:{primary:529},weight:100}})}}),(0,n.fK)(new class extends b{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordRight",precondition:void 0})}}),(0,n.fK)(new class extends b{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartRightSelect",precondition:void 0})}}),(0,n.fK)(new class extends b{constructor(){var e;super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndRightSelect",precondition:void 0,kbOpts:{kbExpr:f.Ao.and(c.u.textInputFocus,null===(e=f.Ao.and(m.U,_.cv))||void 0===e?void 0:e.negate()),primary:3089,mac:{primary:1553},weight:100}})}}),(0,n.fK)(new class extends b{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordRightSelect",precondition:void 0})}}),(0,n.fK)(new class extends C{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityLeft",precondition:void 0})}_move(e,t,i,n){return super._move((0,l.u)(r.BH.wordSeparators.defaultValue),t,i,n)}}),(0,n.fK)(new class extends C{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityLeftSelect",precondition:void 0})}_move(e,t,i,n){return super._move((0,l.u)(r.BH.wordSeparators.defaultValue),t,i,n)}}),(0,n.fK)(new class extends b{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityRight",precondition:void 0})}_move(e,t,i,n){return super._move((0,l.u)(r.BH.wordSeparators.defaultValue),t,i,n)}}),(0,n.fK)(new class extends b{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityRightSelect",precondition:void 0})}_move(e,t,i,n){return super._move((0,l.u)(r.BH.wordSeparators.defaultValue),t,i,n)}}),(0,n.fK)(new class extends y{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartLeft",precondition:c.u.writable})}}),(0,n.fK)(new class extends y{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndLeft",precondition:c.u.writable})}}),(0,n.fK)(new class extends y{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordLeft",precondition:c.u.writable,kbOpts:{kbExpr:c.u.textInputFocus,primary:2049,mac:{primary:513},weight:100}})}}),(0,n.fK)(new class extends S{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartRight",precondition:c.u.writable})}}),(0,n.fK)(new class extends S{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndRight",precondition:c.u.writable})}}),(0,n.fK)(new class extends S{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordRight",precondition:c.u.writable,kbOpts:{kbExpr:c.u.textInputFocus,primary:2068,mac:{primary:532},weight:100}})}}),(0,n.Qr)(L)},86709:function(e,t,i){"use strict";var n=i(16830),o=i(92896),r=i(24314),s=i(29102),a=i(37181),l=i(94565);class h extends a.t8{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordPartLeft",precondition:s.u.writable,kbOpts:{kbExpr:s.u.textInputFocus,primary:0,mac:{primary:769},weight:100}})}_delete(e,t){let i=o.L.deleteWordPartLeft(e);return i||new r.e(1,1,1,1)}}class d extends a.t8{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordPartRight",precondition:s.u.writable,kbOpts:{kbExpr:s.u.textInputFocus,primary:0,mac:{primary:788},weight:100}})}_delete(e,t){let i=o.L.deleteWordPartRight(e);if(i)return i;let n=e.model.getLineCount(),s=e.model.getLineMaxColumn(n);return new r.e(n,s,n,s)}}class u extends a.IA{_move(e,t,i,n){return o.L.moveWordPartLeft(e,t,i)}}l.P0.registerCommandAlias("cursorWordPartStartLeft","cursorWordPartLeft"),l.P0.registerCommandAlias("cursorWordPartStartLeftSelect","cursorWordPartLeftSelect");class c extends a.IA{_move(e,t,i,n){return o.L.moveWordPartRight(e,t,i)}}(0,n.fK)(new h),(0,n.fK)(new d),(0,n.fK)(new class extends u{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordPartLeft",precondition:void 0,kbOpts:{kbExpr:s.u.textInputFocus,primary:0,mac:{primary:783},weight:100}})}}),(0,n.fK)(new class extends u{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordPartLeftSelect",precondition:void 0,kbOpts:{kbExpr:s.u.textInputFocus,primary:0,mac:{primary:1807},weight:100}})}}),(0,n.fK)(new class extends c{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordPartRight",precondition:void 0,kbOpts:{kbExpr:s.u.textInputFocus,primary:0,mac:{primary:785},weight:100}})}}),(0,n.fK)(new class extends c{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordPartRightSelect",precondition:void 0,kbOpts:{kbExpr:s.u.textInputFocus,primary:0,mac:{primary:1809},weight:100}})}})},29477:function(e,t,i){"use strict";i(64520);var n=i(65321),o=i(38626),r=i(94079),s=i(85152),a=i(93794),l=i(9917),h=i(1432),d=i(97295),u=i(70666),c=i(16830),g=i(29102),p=i(64662),m=i(38819),f=i(72065),_=i(91847),v=i(50988),C=i(73910),b=i(97781),w=i(20913),y=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},S=function(e,t){return function(i,n){t(i,n,e)}};let L=new m.uy("accessibilityHelpWidgetVisible",!1),k=class e extends l.JT{constructor(e,t){super(),this._editor=e,this._widget=this._register(t.createInstance(N,this._editor))}static get(t){return t.getContribution(e.ID)}show(){this._widget.show()}hide(){this._widget.hide()}};k.ID="editor.contrib.accessibilityHelpController",k=y([S(1,f.TG)],k);let N=class e extends a.${constructor(e,t,i,r){super(),this._contextKeyService=t,this._keybindingService=i,this._openerService=r,this._editor=e,this._isVisibleKey=L.bindTo(this._contextKeyService),this._domNode=(0,o.X)(document.createElement("div")),this._domNode.setClassName("accessibilityHelpWidget"),this._domNode.setDisplay("none"),this._domNode.setAttribute("role","dialog"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode=(0,o.X)(document.createElement("div")),this._contentDomNode.setAttribute("role","document"),this._domNode.appendChild(this._contentDomNode),this._isVisible=!1,this._register(this._editor.onDidLayoutChange(()=>{this._isVisible&&this._layout()})),this._register(n.mu(this._contentDomNode.domNode,"keydown",e=>{if(this._isVisible&&(e.equals(2083)&&((0,s.Z9)(w.Oe.emergencyConfOn),this._editor.updateOptions({accessibilitySupport:"on"}),n.PO(this._contentDomNode.domNode),this._buildContent(),this._contentDomNode.domNode.focus(),e.preventDefault(),e.stopPropagation()),e.equals(2086))){(0,s.Z9)(w.Oe.openingDocs);let t=this._editor.getRawOptions().accessibilityHelpUrl;void 0===t&&(t="https://go.microsoft.com/fwlink/?linkid=852450"),this._openerService.open(u.o.parse(t)),e.preventDefault(),e.stopPropagation()}})),this.onblur(this._contentDomNode.domNode,()=>{this.hide()}),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return e.ID}getDomNode(){return this._domNode.domNode}getPosition(){return{preference:null}}show(){this._isVisible||(this._isVisible=!0,this._isVisibleKey.set(!0),this._layout(),this._domNode.setDisplay("block"),this._domNode.setAttribute("aria-hidden","false"),this._contentDomNode.domNode.tabIndex=0,this._buildContent(),this._contentDomNode.domNode.focus())}_descriptionForCommand(e,t,i){let n=this._keybindingService.lookupKeybinding(e);return n?d.WU(t,n.getAriaLabel()):d.WU(i,e)}_buildContent(){var e;let t=this._editor.getOptions(),i=this._editor.getSelections(),n=0;if(i){let e=this._editor.getModel();e&&i.forEach(t=>{n+=e.getValueLengthInRange(t)})}let o=(e=n,i&&0!==i.length?1===i.length?e?d.WU(w.Oe.singleSelectionRange,i[0].positionLineNumber,i[0].positionColumn,e):d.WU(w.Oe.singleSelection,i[0].positionLineNumber,i[0].positionColumn):e?d.WU(w.Oe.multiSelectionRange,i.length,e):i.length>0?d.WU(w.Oe.multiSelection,i.length):"":w.Oe.noSelection);t.get(56)?t.get(83)?o+=w.Oe.readonlyDiffEditor:o+=w.Oe.editableDiffEditor:t.get(83)?o+=w.Oe.readonlyEditor:o+=w.Oe.editableEditor;let s=h.dz?w.Oe.changeConfigToOnMac:w.Oe.changeConfigToOnWinLinux;switch(t.get(2)){case 0:o+="\n\n - "+s;break;case 2:o+="\n\n - "+w.Oe.auto_on;break;case 1:o+="\n\n - "+w.Oe.auto_off+" "+s}t.get(132)?o+="\n\n - "+this._descriptionForCommand(p.R.ID,w.Oe.tabFocusModeOnMsg,w.Oe.tabFocusModeOnMsgNoKb):o+="\n\n - "+this._descriptionForCommand(p.R.ID,w.Oe.tabFocusModeOffMsg,w.Oe.tabFocusModeOffMsgNoKb);let a=h.dz?w.Oe.openDocMac:w.Oe.openDocWinLinux;o+="\n\n - "+a+"\n\n"+w.Oe.outroMsg,this._contentDomNode.domNode.appendChild((0,r.BO)(o)),this._contentDomNode.domNode.setAttribute("aria-label",o)}hide(){this._isVisible&&(this._isVisible=!1,this._isVisibleKey.reset(),this._domNode.setDisplay("none"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode.domNode.tabIndex=-1,n.PO(this._contentDomNode.domNode),this._editor.focus())}_layout(){let t=this._editor.getLayoutInfo(),i=Math.max(5,Math.min(e.WIDTH,t.width-40)),n=Math.max(5,Math.min(e.HEIGHT,t.height-40));this._domNode.setWidth(i),this._domNode.setHeight(n);let o=Math.round((t.height-n)/2);this._domNode.setTop(o);let r=Math.round((t.width-i)/2);this._domNode.setLeft(r)}};N.ID="editor.contrib.accessibilityHelpWidget",N.WIDTH=500,N.HEIGHT=300,N=y([S(1,m.i6),S(2,_.d),S(3,v.v4)],N);class D extends c.R6{constructor(){super({id:"editor.action.showAccessibilityHelp",label:w.Oe.showAccessibilityHelpAction,alias:"Show Accessibility Help",precondition:void 0,kbOpts:{primary:571,weight:100,linux:{primary:1595,secondary:[571]}}})}run(e,t){let i=k.get(t);i&&i.show()}}(0,c._K)(k.ID,k),(0,c.Qr)(D);let x=c._l.bindToContribution(k.get);(0,c.fK)(new x({id:"closeAccessibilityHelp",precondition:L,handler:e=>e.hide(),kbOpts:{weight:200,kbExpr:g.u.focus,primary:9,secondary:[1033]}})),(0,b.Ic)((e,t)=>{let i=e.getColor(C.D0T);i&&t.addRule(`.monaco-editor .accessibilityHelpWidget { background-color: ${i}; }`);let n=e.getColor(C.Hfx);n&&t.addRule(`.monaco-editor .accessibilityHelpWidget { color: ${n}; }`);let o=e.getColor(C.rh);o&&t.addRule(`.monaco-editor .accessibilityHelpWidget { box-shadow: 0 2px 8px ${o}; }`);let r=e.getColor(C.lRK);r&&t.addRule(`.monaco-editor .accessibilityHelpWidget { border: 2px solid ${r}; }`)})},19646:function(e,t,i){"use strict";i(63737);var n=i(65321),o=i(9917),r=i(16830),s=i(1432);class a extends o.JT{constructor(e){super(),this.editor=e,this.widget=null,s.gn&&(this._register(e.onDidChangeConfiguration(()=>this.update())),this.update())}update(){let e=!this.editor.getOption(83);!this.widget&&e?this.widget=new l(this.editor):this.widget&&!e&&(this.widget.dispose(),this.widget=null)}dispose(){super.dispose(),this.widget&&(this.widget.dispose(),this.widget=null)}}a.ID="editor.contrib.iPadShowKeyboard";class l extends o.JT{constructor(e){super(),this.editor=e,this._domNode=document.createElement("textarea"),this._domNode.className="iPadShowKeyboard",this._register(n.nm(this._domNode,"touchstart",e=>{this.editor.focus()})),this._register(n.nm(this._domNode,"focus",e=>{this.editor.focus()})),this.editor.addOverlayWidget(this)}dispose(){this.editor.removeOverlayWidget(this),super.dispose()}getId(){return l.ID}getDomNode(){return this._domNode}getPosition(){return{preference:1}}}l.ID="editor.contrib.ShowKeyboardWidget",(0,r._K)(a.ID,a)},97830:function(e,t,i){"use strict";i(544);var n=i(65321),o=i(41264),r=i(9917),s=i(16830),a=i(43155),l=i(45797),h=i(276),d=i(72042),u=i(44156),c=i(73910),g=i(97781),p=i(20913),m=i(92321),f=function(e,t){return function(i,n){t(i,n,e)}};let _=class e extends r.JT{constructor(e,t,i){super(),this._editor=e,this._languageService=i,this._widget=null,this._register(this._editor.onDidChangeModel(e=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(e=>this.stop())),this._register(a.RW.onDidChange(e=>this.stop())),this._register(this._editor.onKeyUp(e=>9===e.keyCode&&this.stop()))}static get(t){return t.getContribution(e.ID)}dispose(){this.stop(),super.dispose()}launch(){!this._widget&&this._editor.hasModel()&&(this._widget=new C(this._editor,this._languageService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};_.ID="editor.contrib.inspectTokens",_=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([f(1,u.Z),f(2,d.O)],_);class v extends s.R6{constructor(){super({id:"editor.action.inspectTokens",label:p.ug.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(e,t){let i=_.get(t);i&&i.launch()}}class C extends r.JT{constructor(e,t){super(),this.allowEditorOverflow=!0,this._editor=e,this._languageService=t,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=function(e,t){let i=a.RW.get(t);if(i)return i;let n=e.encodeLanguageId(t);return{getInitialState:()=>h.TJ,tokenize:(e,i,n)=>(0,h.Ri)(t,n),tokenizeEncoded:(e,t,i)=>(0,h.Dy)(n,i)}}(this._languageService.languageIdCodec,this._model.getLanguageId()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(e=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return C._ID}_compute(e){let t=this._getTokensAtLine(e.lineNumber),i=0;for(let n=t.tokens1.length-1;n>=0;n--){let o=t.tokens1[n];if(e.column-1>=o.offset){i=n;break}}let r=0;for(let i=t.tokens2.length>>>1;i>=0;i--)if(e.column-1>=t.tokens2[i<<1]){r=i;break}let s=this._model.getLineContent(e.lineNumber),a="";if(i{let i=e.getColor(c.CNo);if(i){let n=(0,m.c3)(e.type)?2:1;t.addRule(`.monaco-editor .tokens-inspect-widget { border: ${n}px solid ${i}; }`),t.addRule(`.monaco-editor .tokens-inspect-widget .tokens-inspect-separator { background-color: ${i}; }`)}let n=e.getColor(c.yJx);n&&t.addRule(`.monaco-editor .tokens-inspect-widget { background-color: ${n}; }`);let o=e.getColor(c.Sbf);o&&t.addRule(`.monaco-editor .tokens-inspect-widget { color: ${o}; }`)})},91732:function(e,t,i){"use strict";var n,o,r=i(89872),s=i(45503),a=i(20913),l=i(11640),h=i(21212),d=i(9488),u=i(98401),c=i(63580);function g(e,t){return t&&(e.stack||e.stacktrace)?c.NC("stackTrace.format","{0}: {1}",m(e),p(e.stack)||p(e.stacktrace)):m(e)}function p(e){return Array.isArray(e)?e.join("\n"):e}function m(e){return"string"==typeof e.code&&"number"==typeof e.errno&&"string"==typeof e.syscall?c.NC("nodeExceptionMessage","A system error occurred ({0})",e.message):e.message||c.NC("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}var f=i(17301),_=i(75392),v=i(9917),C=i(43702),b=i(14603),w=i(94565),y=i(33108),S=i(28820),L=i(72065),k=i(91847),N=i(15393),D=i(71050),x=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};function I(e){return Array.isArray(e.items)}(n=o||(o={}))[n.NO_ACTION=0]="NO_ACTION",n[n.CLOSE_PICKER=1]="CLOSE_PICKER",n[n.REFRESH_PICKER=2]="REFRESH_PICKER",n[n.REMOVE_ITEM=3]="REMOVE_ITEM";class E extends v.JT{constructor(e,t){super(),this.prefix=e,this.options=t}provide(e,t){var i;let n;let r=new v.SL;e.canAcceptInBackground=!!(null===(i=this.options)||void 0===i?void 0:i.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;let s=r.add(new v.XK),a=()=>x(this,void 0,void 0,function*(){let i=s.value=new v.SL;null==n||n.dispose(!0),e.busy=!1,n=new D.A(t);let o=n.token,r=e.value.substr(this.prefix.length).trim(),a=this._getPicks(r,i,o),l=(t,i)=>{var n;let o,s;if(I(t)?(o=t.items,s=t.active):o=t,0===o.length){if(i)return!1;r.length>0&&(null===(n=this.options)||void 0===n?void 0:n.noResultsPick)&&(o=[this.options.noResultsPick])}return e.items=o,s&&(e.activeItems=[s]),!0};if(null===a);else if(a.picks&&a.additionalPicks instanceof Promise){let t=!1,i=!1;yield Promise.all([x(this,void 0,void 0,function*(){yield(0,N.Vs)(E.FAST_PICKS_RACE_DELAY),!o.isCancellationRequested&&(i||(t=l(a.picks,!0)))}),x(this,void 0,void 0,function*(){e.busy=!0;try{let i,n,r,s;let h=yield a.additionalPicks;if(o.isCancellationRequested)return;if(I(a.picks)?(i=a.picks.items,r=a.picks.active):i=a.picks,I(h)?(n=h.items,s=h.active):n=h,n.length>0||!t){let t;if(!r&&!s){let n=e.activeItems[0];n&&-1!==i.indexOf(n)&&(t=n)}l({items:[...i,...n],active:r||s||t})}}finally{o.isCancellationRequested||(e.busy=!1),i=!0}})])}else if(a instanceof Promise){e.busy=!0;try{let e=yield a;if(o.isCancellationRequested)return;l(e)}finally{o.isCancellationRequested||(e.busy=!1)}}else l(a)});return r.add(e.onDidChangeValue(()=>a())),a(),r.add(e.onDidAccept(t=>{let[i]=e.selectedItems;"function"==typeof(null==i?void 0:i.accept)&&(t.inBackground||e.hide(),i.accept(e.keyMods,t))})),r.add(e.onDidTriggerItemButton(({button:i,item:n})=>x(this,void 0,void 0,function*(){var r,s;if("function"==typeof n.trigger){let l=null!==(s=null===(r=n.buttons)||void 0===r?void 0:r.indexOf(i))&&void 0!==s?s:-1;if(l>=0){let i=n.trigger(l,e.keyMods),r="number"==typeof i?i:yield i;if(t.isCancellationRequested)return;switch(r){case o.NO_ACTION:break;case o.CLOSE_PICKER:e.hide();break;case o.REFRESH_PICKER:a();break;case o.REMOVE_ITEM:{let t=e.items.indexOf(n);if(-1!==t){let i=e.items.slice(),n=i.splice(t,1),o=e.activeItems.filter(e=>e!==n[0]),r=e.keepScrollPosition;e.keepScrollPosition=!0,e.items=i,o&&(e.activeItems=o),e.keepScrollPosition=r}}}}}}))),r}}E.FAST_PICKS_RACE_DELAY=200;var T=i(87060),M=i(10829),A=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},R=function(e,t){return function(i,n){t(i,n,e)}},O=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let P=class e extends E{constructor(t,i,n,o,r,s){super(e.PREFIX,t),this.instantiationService=i,this.keybindingService=n,this.commandService=o,this.telemetryService=r,this.dialogService=s,this.commandsHistory=this._register(this.instantiationService.createInstance(F)),this.options=t}_getPicks(t,i,n){return O(this,void 0,void 0,function*(){let o=yield this.getCommandPicks(i,n);if(n.isCancellationRequested)return[];let r=[];for(let i of o){let n=(0,u.f6)(e.WORD_FILTER(t,i.label)),o=i.commandAlias?(0,u.f6)(e.WORD_FILTER(t,i.commandAlias)):void 0;n||o?(i.highlights={label:n,detail:this.options.showAlias?o:void 0},r.push(i)):t===i.commandId&&r.push(i)}let s=new Map;for(let e of r){let t=s.get(e.label);t?(e.description=e.commandId,t.description=t.commandId):s.set(e.label,e)}r.sort((e,t)=>{let i=this.commandsHistory.peek(e.commandId),n=this.commandsHistory.peek(t.commandId);return i&&n?i>n?-1:1:i?-1:n?1:e.label.localeCompare(t.label)});let a=[],l=!1;for(let e=0;eO(this,void 0,void 0,function*(){this.commandsHistory.push(t.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:t.commandId,from:"quick open"});try{yield this.commandService.executeCommand(t.commandId)}catch(e){(0,f.n2)(e)||this.dialogService.show(b.Z.Error,(0,c.NC)("canNotRun","Command '{0}' resulted in an error ({1})",t.label,function e(t=null,i=!1){if(!t)return c.NC("error.defaultMessage","An unknown error occurred. Please consult the log for more details.");if(Array.isArray(t)){let n=d.kX(t),o=e(n[0],i);return n.length>1?c.NC("error.moreErrors","{0} ({1} errors in total)",o,n.length):o}if(u.HD(t))return t;if(t.detail){let e=t.detail;if(e.error)return g(e.error,i);if(e.exception)return g(e.exception,i)}return t.stack?g(t,i):t.message?t.message:c.NC("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}(e)))}})}))}return a})}};P.PREFIX=">",P.WORD_FILTER=(0,_.or)(_.Ji,_.KZ,_.ir),P=A([R(1,L.TG),R(2,k.d),R(3,w.Hy),R(4,M.b),R(5,S.S)],P);let F=class e extends v.JT{constructor(e,t){super(),this.storageService=e,this.configurationService=t,this.configuredCommandsHistoryLength=0,this.updateConfiguration(),this.load(),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(()=>this.updateConfiguration()))}updateConfiguration(){this.configuredCommandsHistoryLength=e.getConfiguredCommandHistoryLength(this.configurationService),e.cache&&e.cache.limit!==this.configuredCommandsHistoryLength&&(e.cache.limit=this.configuredCommandsHistoryLength,e.saveState(this.storageService))}load(){let t;let i=this.storageService.get(e.PREF_KEY_CACHE,0);if(i)try{t=JSON.parse(i)}catch(e){}let n=e.cache=new C.z6(this.configuredCommandsHistoryLength,1);t&&(t.usesLRU?t.entries:t.entries.sort((e,t)=>e.value-t.value)).forEach(e=>n.set(e.key,e.value)),e.counter=this.storageService.getNumber(e.PREF_KEY_COUNTER,0,e.counter)}push(t){e.cache&&(e.cache.set(t,e.counter++),e.saveState(this.storageService))}peek(t){var i;return null===(i=e.cache)||void 0===i?void 0:i.peek(t)}static saveState(t){if(!e.cache)return;let i={usesLRU:!0,entries:[]};e.cache.forEach((e,t)=>i.entries.push({key:t,value:e})),t.store(e.PREF_KEY_CACHE,JSON.stringify(i),0,0),t.store(e.PREF_KEY_COUNTER,e.counter,0,0)}static getConfiguredCommandHistoryLength(t){var i,n;let o=t.getValue(),r=null===(n=null===(i=o.workbench)||void 0===i?void 0:i.commandPalette)||void 0===n?void 0:n.history;return"number"==typeof r?r:e.DEFAULT_COMMANDS_HISTORY_LENGTH}};F.DEFAULT_COMMANDS_HISTORY_LENGTH=50,F.PREF_KEY_CACHE="commandPalette.mru.cache",F.PREF_KEY_COUNTER="commandPalette.mru.counter",F.counter=1,F=A([R(0,T.Uy),R(1,y.Ui)],F);class B extends P{constructor(e,t,i,n,o,r){super(e,t,i,n,o,r)}getCodeEditorCommandPicks(){let e=this.activeTextEditorControl;if(!e)return[];let t=[];for(let i of e.getSupportedActions())t.push({commandId:i.id,commandAlias:i.alias,label:(0,h.x$)(i.label)||i.id});return t}}var V=i(16830),W=i(29102),H=i(41157),z=function(e,t){return function(i,n){t(i,n,e)}};let K=class extends B{constructor(e,t,i,n,o,r){super({showAlias:!1},e,i,n,o,r),this.codeEditorService=t}get activeTextEditorControl(){return(0,u.f6)(this.codeEditorService.getFocusedCodeEditor())}getCommandPicks(){var e,t,i,n;return e=this,t=void 0,n=function*(){return this.getCodeEditorCommandPicks()},new(i=void 0,i=Promise)(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})}};K=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([z(0,L.TG),z(1,l.$),z(2,k.d),z(3,w.Hy),z(4,M.b),z(5,S.S)],K);class U extends V.R6{constructor(){super({id:U.ID,label:a.UX.quickCommandActionLabel,alias:"Command Palette",precondition:void 0,kbOpts:{kbExpr:W.u.focus,primary:59,weight:100},contextMenuOpts:{group:"z_commands",order:1}})}run(e){e.get(H.eJ).quickAccess.show(K.PREFIX)}}U.ID="editor.action.quickCommand",(0,V.Qr)(U),r.B.as(s.IP.Quickaccess).registerQuickAccessProvider({ctor:K,prefix:K.PREFIX,helpEntries:[{description:a.UX.quickCommandHelp,commandId:U.ID}]})},62078:function(e,t,i){"use strict";var n,o=i(9917),r=i(65520),s=i(83943),a=i(63580);class l extends s.X{constructor(){super({canAcceptInBackground:!0})}provideWithoutTextEditor(e){let t=(0,a.NC)("cannotRunGotoLine","Open a text editor first to go to a line.");return e.items=[{label:t}],e.ariaLabel=t,o.JT.None}provideWithTextEditor(e,t,i){let n=e.editor,s=new o.SL;s.add(t.onDidAccept(i=>{let[o]=t.selectedItems;if(o){if(!this.isValidLineNumber(n,o.lineNumber))return;this.gotoLocation(e,{range:this.toRange(o.lineNumber,o.column),keyMods:t.keyMods,preserveFocus:i.inBackground}),i.inBackground||t.hide()}}));let a=()=>{let e=this.parsePosition(n,t.value.trim().substr(l.PREFIX.length)),i=this.getPickLabel(n,e.lineNumber,e.column);if(t.items=[{lineNumber:e.lineNumber,column:e.column,label:i}],t.ariaLabel=i,!this.isValidLineNumber(n,e.lineNumber)){this.clearDecorations(n);return}let o=this.toRange(e.lineNumber,e.column);n.revealRangeInCenter(o,0),this.addDecorations(n,o)};a(),s.add(t.onDidChangeValue(()=>a()));let h=(0,r.Pi)(n);if(h){let e=h.getOptions(),t=e.get(62);2===t.renderType&&(h.updateOptions({lineNumbers:"on"}),s.add((0,o.OF)(()=>h.updateOptions({lineNumbers:"relative"}))))}return s}toRange(e=1,t=1){return{startLineNumber:e,startColumn:t,endLineNumber:e,endColumn:t}}parsePosition(e,t){let i=t.split(/,|:|#/).map(e=>parseInt(e,10)).filter(e=>!isNaN(e)),n=this.lineCount(e)+1;return{lineNumber:i[0]>0?i[0]:n+i[0],column:i[1]}}getPickLabel(e,t,i){if(this.isValidLineNumber(e,t))return this.isValidColumn(e,t,i)?(0,a.NC)("gotoLineColumnLabel","Go to line {0} and character {1}.",t,i):(0,a.NC)("gotoLineLabel","Go to line {0}.",t);let n=e.getPosition()||{lineNumber:1,column:1},o=this.lineCount(e);return o>1?(0,a.NC)("gotoLineLabelEmptyWithLimit","Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.",n.lineNumber,n.column,o):(0,a.NC)("gotoLineLabelEmpty","Current Line: {0}, Character: {1}. Type a line number to navigate to.",n.lineNumber,n.column)}isValidLineNumber(e,t){return!!t&&"number"==typeof t&&t>0&&t<=this.lineCount(e)}isValidColumn(e,t,i){if(!i||"number"!=typeof i)return!1;let n=this.getModel(e);if(!n)return!1;let o={lineNumber:t,column:i};return n.validatePosition(o).equals(o)}lineCount(e){var t,i;return null!==(i=null===(t=this.getModel(e))||void 0===t?void 0:t.getLineCount())&&void 0!==i?i:0}}l.PREFIX=":";var h=i(89872),d=i(45503),u=i(11640),c=i(98401),g=i(20913),p=i(4669),m=i(16830),f=i(29102),_=i(41157);let v=class extends l{constructor(e){super(),this.editorService=e,this.onDidActiveTextEditorControlChange=p.ju.None}get activeTextEditorControl(){return(0,c.f6)(this.editorService.getFocusedCodeEditor())}};v=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(n=u.$,function(e,t){n(e,t,0)})],v);class C extends m.R6{constructor(){super({id:C.ID,label:g.qq.gotoLineActionLabel,alias:"Go to Line/Column...",precondition:void 0,kbOpts:{kbExpr:f.u.focus,primary:2085,mac:{primary:293},weight:100}})}run(e){e.get(_.eJ).quickAccess.show(v.PREFIX)}}C.ID="editor.action.gotoLine",(0,m.Qr)(C),h.B.as(d.IP.Quickaccess).registerQuickAccessProvider({ctor:v,prefix:v.PREFIX,helpEntries:[{description:g.qq.gotoLineActionLabel,commandId:C.ID}]})},96816:function(e,t,i){"use strict";i(28609),i(71713);var n=i(15393),o=i(71050),r=i(73046),s=i(75392),a=i(55336),l=i(1432),h=i(97295);let d=[void 0,[]];function u(e,t,i=0,n=0){return t.values&&t.values.length>1?function(e,t,i,n){let o=0,r=[];for(let s of t){let[t,a]=c(e,s,i,n);if("number"!=typeof t)return d;o+=t,r.push(...a)}return[o,function(e){let t;let i=e.sort((e,t)=>e.start-t.start),n=[];for(let e of i){var o;!t||(o=t).end=0,l=g(e),h=e.split(" ");if(h.length>1)for(let e of h){let i=g(e),{pathNormalized:n,normalized:o,normalizedLowercase:r}=m(e);o&&(t||(t=[]),t.push({original:e,originalLowercase:e.toLowerCase(),pathNormalized:n,normalized:o,normalizedLowercase:r,expectContiguousMatch:i}))}return{original:e,originalLowercase:i,pathNormalized:n,normalized:o,normalizedLowercase:r,values:t,containsPathSeparator:s,expectContiguousMatch:l}}function m(e){let t;t=l.ED?e.replace(/\//g,a.ir):e.replace(/\\/g,a.ir);let i=(0,h.R1)(t).replace(/\s|"/g,"");return{pathNormalized:t,normalized:i,normalizedLowercase:i.toLowerCase()}}function f(e){return Array.isArray(e)?p(e.map(e=>e.original).join(" ")):p(e.original)}Object.freeze({score:0});var _=i(9917),v=i(24314),C=i(43155),b=i(88941),w=i(83943),y=i(63580),S=i(71922),L=i(9488),k=function(e,t){return function(i,n){t(i,n,e)}},N=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let D=class e extends w.X{constructor(e,t,i=Object.create(null)){super(i),this._languageFeaturesService=e,this._outlineModelService=t,this.options=i,this.options.canAcceptInBackground=!0}provideWithoutTextEditor(e){return this.provideLabelPick(e,(0,y.NC)("cannotRunGotoSymbolWithoutEditor","To go to a symbol, first open a text editor with symbol information.")),_.JT.None}provideWithTextEditor(e,t,i){let n=e.editor,o=this.getModel(n);return o?this._languageFeaturesService.documentSymbolProvider.has(o)?this.doProvideWithEditorSymbols(e,o,t,i):this.doProvideWithoutEditorSymbols(e,o,t,i):_.JT.None}doProvideWithoutEditorSymbols(e,t,i,n){let o=new _.SL;return this.provideLabelPick(i,(0,y.NC)("cannotRunGotoSymbolWithoutSymbolProvider","The active text editor does not provide symbol information.")),N(this,void 0,void 0,function*(){let r=yield this.waitForLanguageSymbolRegistry(t,o);r&&!n.isCancellationRequested&&o.add(this.doProvideWithEditorSymbols(e,t,i,n))}),o}provideLabelPick(e,t){e.items=[{label:t,index:0,kind:14}],e.ariaLabel=t}waitForLanguageSymbolRegistry(e,t){return N(this,void 0,void 0,function*(){if(this._languageFeaturesService.documentSymbolProvider.has(e))return!0;let i=new n.CR,o=t.add(this._languageFeaturesService.documentSymbolProvider.onDidChange(()=>{this._languageFeaturesService.documentSymbolProvider.has(e)&&(o.dispose(),i.complete(!0))}));return t.add((0,_.OF)(()=>i.complete(!1))),i.p})}doProvideWithEditorSymbols(t,i,n,r){var s;let a;let l=t.editor,h=new _.SL;h.add(n.onDidAccept(e=>{let[i]=n.selectedItems;i&&i.range&&(this.gotoLocation(t,{range:i.range.selection,keyMods:n.keyMods,preserveFocus:e.inBackground}),e.inBackground||n.hide())})),h.add(n.onDidTriggerItemButton(({item:e})=>{e&&e.range&&(this.gotoLocation(t,{range:e.range.selection,keyMods:n.keyMods,forceSideBySide:!0}),n.hide())}));let d=this.getDocumentSymbols(i,r),u=t=>N(this,void 0,void 0,function*(){null==a||a.dispose(!0),n.busy=!1,a=new o.A(r),n.busy=!0;try{let i=p(n.value.substr(e.PREFIX.length).trim()),o=yield this.doGetSymbolPicks(d,i,void 0,a.token);if(r.isCancellationRequested)return;if(o.length>0){if(n.items=o,t&&0===i.original.length){let e=(0,L.dF)(o,e=>!!("separator"!==e.type&&e.range&&v.e.containsPosition(e.range.decoration,t)));e&&(n.activeItems=[e])}}else i.original.length>0?this.provideLabelPick(n,(0,y.NC)("noMatchingSymbolResults","No matching editor symbols")):this.provideLabelPick(n,(0,y.NC)("noSymbolResults","No editor symbols"))}finally{r.isCancellationRequested||(n.busy=!1)}});h.add(n.onDidChangeValue(()=>u(void 0))),u(null===(s=l.getSelection())||void 0===s?void 0:s.getPosition());let c=2;return h.add(n.onDidChangeActive(()=>{let[e]=n.activeItems;if(e&&e.range){if(c-- >0)return;l.revealRangeInCenter(e.range.selection,0),this.addDecorations(l,e.range.decoration)}})),h}doGetSymbolPicks(t,i,n,o){return N(this,void 0,void 0,function*(){let s,a;let l=yield t;if(o.isCancellationRequested)return[];let d=0===i.original.indexOf(e.SCOPE_PREFIX),c=d?1:0;i.values&&i.values.length>1?(s=f(i.values[0]),a=f(i.values.slice(1))):s=i;let g=[];for(let e=0;ec){let e=!1;if(s!==i&&([t,o]=u(_,Object.assign(Object.assign({},i),{values:void 0}),c,b),"number"==typeof t&&(e=!0)),"number"!=typeof t&&([t,o]=u(_,s,c,b),"number"!=typeof t))continue;if(!e&&a){if(w&&a.original.length>0&&([d,p]=u(w,a)),"number"!=typeof d)continue;"number"==typeof t&&(t+=d)}}let S=m.tags&&m.tags.indexOf(1)>=0;g.push({index:e,kind:m.kind,score:t,label:_,ariaLabel:f,description:w,highlights:S?void 0:{label:o,description:p},range:{selection:v.e.collapseToStart(m.selectionRange),decoration:m.range},strikethrough:S,buttons:(()=>{var e,t;let i=(null===(e=this.options)||void 0===e?void 0:e.openSideBySideDirection)?null===(t=this.options)||void 0===t?void 0:t.openSideBySideDirection():void 0;if(i)return[{iconClass:"right"===i?r.lA.splitHorizontal.classNames:r.lA.splitVertical.classNames,tooltip:"right"===i?(0,y.NC)("openToSide","Open to the Side"):(0,y.NC)("openToBottom","Open to the Bottom")}]})()})}let p=g.sort((e,t)=>d?this.compareByKindAndScore(e,t):this.compareByScore(e,t)),m=[];if(d){let e,t;let i=0;function _(){t&&"number"==typeof e&&i>0&&(t.label=(0,h.WU)(I[e]||x,i))}for(let n of p)e!==n.kind?(_(),e=n.kind,i=1,t={type:"separator"},m.push(t)):i++,m.push(n);_()}else p.length>0&&(m=[{label:(0,y.NC)("symbols","symbols ({0})",g.length),type:"separator"},...p]);return m})}compareByScore(e,t){if("number"!=typeof e.score&&"number"==typeof t.score)return 1;if("number"==typeof e.score&&"number"!=typeof t.score)return -1;if("number"==typeof e.score&&"number"==typeof t.score){if(e.score>t.score)return -1;if(e.scoret.index?1:0}compareByKindAndScore(e,t){let i=I[e.kind]||x,n=I[t.kind]||x,o=i.localeCompare(n);return 0===o?this.compareByScore(e,t):o}getDocumentSymbols(e,t){return N(this,void 0,void 0,function*(){let i=yield this._outlineModelService.getOrCreate(e,t);return t.isCancellationRequested?[]:i.asListOfDocumentSymbols()})}};D.PREFIX="@",D.SCOPE_PREFIX=":",D.PREFIX_BY_CATEGORY=`${D.PREFIX}${D.SCOPE_PREFIX}`,D=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([k(0,S.p),k(1,b.Je)],D);let x=(0,y.NC)("property","properties ({0})"),I={5:(0,y.NC)("method","methods ({0})"),11:(0,y.NC)("function","functions ({0})"),8:(0,y.NC)("_constructor","constructors ({0})"),12:(0,y.NC)("variable","variables ({0})"),4:(0,y.NC)("class","classes ({0})"),22:(0,y.NC)("struct","structs ({0})"),23:(0,y.NC)("event","events ({0})"),24:(0,y.NC)("operator","operators ({0})"),10:(0,y.NC)("interface","interfaces ({0})"),2:(0,y.NC)("namespace","namespaces ({0})"),3:(0,y.NC)("package","packages ({0})"),25:(0,y.NC)("typeParameter","type parameters ({0})"),1:(0,y.NC)("modules","modules ({0})"),6:(0,y.NC)("property","properties ({0})"),9:(0,y.NC)("enum","enumerations ({0})"),21:(0,y.NC)("enumMember","enumeration members ({0})"),14:(0,y.NC)("string","strings ({0})"),0:(0,y.NC)("file","files ({0})"),17:(0,y.NC)("array","arrays ({0})"),15:(0,y.NC)("number","numbers ({0})"),16:(0,y.NC)("boolean","booleans ({0})"),18:(0,y.NC)("object","objects ({0})"),19:(0,y.NC)("key","keys ({0})"),7:(0,y.NC)("field","fields ({0})"),13:(0,y.NC)("constant","constants ({0})")};var E=i(89872),T=i(45503),M=i(11640),A=i(98401),R=i(20913),O=i(4669),P=i(16830),F=i(29102),B=i(41157),V=function(e,t){return function(i,n){t(i,n,e)}};let W=class extends D{constructor(e,t,i){super(t,i),this.editorService=e,this.onDidActiveTextEditorControlChange=O.ju.None}get activeTextEditorControl(){return(0,A.f6)(this.editorService.getFocusedCodeEditor())}};W=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([V(0,M.$),V(1,S.p),V(2,b.Je)],W);class H extends P.R6{constructor(){super({id:H.ID,label:R.aq.quickOutlineActionLabel,alias:"Go to Symbol...",precondition:F.u.hasDocumentSymbolProvider,kbOpts:{kbExpr:F.u.focus,primary:3117,weight:100},contextMenuOpts:{group:"navigation",order:3}})}run(e){e.get(B.eJ).quickAccess.show(D.PREFIX)}}H.ID="editor.action.quickOutline",(0,P.Qr)(H),E.B.as(T.IP.Quickaccess).registerQuickAccessProvider({ctor:W,prefix:D.PREFIX,helpEntries:[{description:R.aq.quickOutlineActionLabel,prefix:D.PREFIX,commandId:H.ID},{description:R.aq.quickOutlineByCategoryActionLabel,prefix:D.PREFIX_BY_CATEGORY}]})},60669:function(e,t,i){"use strict";var n=i(89872),o=i(45503),r=i(20913),s=i(63580),a=i(9917),l=i(91847),h=i(41157),d=function(e,t){return function(i,n){t(i,n,e)}};let u=class e{constructor(e,t){this.quickInputService=e,this.keybindingService=t,this.registry=n.B.as(o.IP.Quickaccess)}provide(t){let i=new a.SL;return i.add(t.onDidAccept(()=>{let[e]=t.selectedItems;e&&this.quickInputService.quickAccess.show(e.prefix,{preserveValue:!0})})),i.add(t.onDidChangeValue(t=>{let i=this.registry.getQuickAccessProvider(t.substr(e.PREFIX.length));i&&i.prefix&&i.prefix!==e.PREFIX&&this.quickInputService.quickAccess.show(i.prefix,{preserveValue:!0})})),t.items=this.getQuickAccessProviders(),i}getQuickAccessProviders(){let t=[];for(let i of this.registry.getQuickAccessProviders().sort((e,t)=>e.prefix.localeCompare(t.prefix)))if(i.prefix!==e.PREFIX)for(let e of i.helpEntries){let n=e.prefix||i.prefix,o=n||"…";t.push({prefix:n,label:o,keybinding:e.commandId?this.keybindingService.lookupKeybinding(e.commandId):void 0,ariaLabel:(0,s.NC)("helpPickAriaLabel","{0}, {1}",o,e.description),description:e.description})}return t}};u.PREFIX="?",u=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([d(0,h.eJ),d(1,l.d)],u),n.B.as(o.IP.Quickaccess).registerQuickAccessProvider({ctor:u,prefix:"",helpEntries:[{description:r.ld.helpQuickAccessActionLabel}]})},45048:function(e,t,i){"use strict";var n=i(16830),o=i(11640),r=i(29010),s=i(33108),a=i(38819),l=i(72065),h=i(59422),d=i(87060),u=function(e,t){return function(i,n){t(i,n,e)}};let c=class extends r.J{constructor(e,t,i,n,o,r,s){super(!0,e,t,i,n,o,r,s)}};c=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([u(1,a.i6),u(2,o.$),u(3,h.lT),u(4,l.TG),u(5,d.Uy),u(6,s.Ui)],c),(0,n._K)(r.J.ID,c)},88542:function(e,t,i){"use strict";i.d(t,{kR:function(){return E},MU:function(){return T},nI:function(){return B},rW:function(){return I},TG:function(){return x}});var n=i(65321),o=i(16268),r=i(41264),s=i(4669),a=i(43155),l=i(45797);class h{constructor(e,t,i,n,o){this._parsedThemeRuleBrand=void 0,this.token=e,this.index=t,this.fontStyle=i,this.foreground=n,this.background=o}}let d=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/;class u{constructor(){this._lastColorId=0,this._id2color=[],this._color2id=new Map}getId(e){if(null===e)return 0;let t=e.match(d);if(!t)throw Error("Illegal value for token color: "+e);e=t[1].toUpperCase();let i=this._color2id.get(e);return i||(i=++this._lastColorId,this._color2id.set(e,i),this._id2color[i]=r.Il.fromHex("#"+e)),i}getColorMap(){return this._id2color.slice(0)}}class c{constructor(e,t){this._colorMap=e,this._root=t,this._cache=new Map}static createFromRawTokenTheme(e,t){return this.createFromParsedTokenTheme(function(e){if(!e||!Array.isArray(e))return[];let t=[],i=0;for(let n=0,o=e.length;n{var i,n;let o=(i=e.token)<(n=t.token)?-1:i>n?1:0;return 0!==o?o:e.index-t.index});let i=0,n="000000",o="ffffff";for(;e.length>=1&&""===e[0].token;){let t=e.shift();-1!==t.fontStyle&&(i=t.fontStyle),null!==t.foreground&&(n=t.foreground),null!==t.background&&(o=t.background)}let r=new u;for(let e of t)r.getId(e);let s=r.getId(n),a=r.getId(o),l=new p(i,s,a),h=new m(l);for(let t=0,i=e.length;t>>0,this._cache.set(t,i)}return(i|e<<0)>>>0}}let g=/\b(comment|string|regex|regexp)\b/;class p{constructor(e,t,i){this._themeTrieElementRuleBrand=void 0,this._fontStyle=e,this._foreground=t,this._background=i,this.metadata=(this._fontStyle<<11|this._foreground<<15|this._background<<24)>>>0}clone(){return new p(this._fontStyle,this._foreground,this._background)}acceptOverwrite(e,t,i){-1!==e&&(this._fontStyle=e),0!==t&&(this._foreground=t),0!==i&&(this._background=i),this.metadata=(this._fontStyle<<11|this._foreground<<15|this._background<<24)>>>0}}class m{constructor(e){this._themeTrieElementBrand=void 0,this._mainRule=e,this._children=new Map}match(e){let t,i;if(""===e)return this._mainRule;let n=e.indexOf(".");-1===n?(t=e,i=""):(t=e.substring(0,n),i=e.substring(n+1));let o=this._children.get(t);return void 0!==o?o.match(i):this._mainRule}insert(e,t,i,n){let o,r;if(""===e){this._mainRule.acceptOverwrite(t,i,n);return}let s=e.indexOf(".");-1===s?(o=e,r=""):(o=e.substring(0,s),r=e.substring(s+1));let a=this._children.get(o);void 0===a&&(a=new m(this._mainRule.clone()),this._children.set(o,a)),a.insert(r,t,i,n)}}var f=i(51945),_=i(73910);let v={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"C700C7"}],colors:{[_.cvW]:"#FFFFFE",[_.NOs]:"#000000",[_.ES4]:"#E5EBF1",[f.tR]:"#D3D3D3",[f.Ym]:"#939393",[_.Rzx]:"#ADD6FF4D"}},C={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[_.cvW]:"#1E1E1E",[_.NOs]:"#D4D4D4",[_.ES4]:"#3A3D41",[f.tR]:"#404040",[f.Ym]:"#707070",[_.Rzx]:"#ADD6FF26"}},b={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[_.cvW]:"#000000",[_.NOs]:"#FFFFFF",[f.tR]:"#FFFFFF",[f.Ym]:"#FFFFFF"}},w={base:"hc-light",inherit:!1,rules:[{token:"",foreground:"292929",background:"FFFFFF"},{token:"invalid",foreground:"B5200D"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"264F70"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"B5200D"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"264F78"},{token:"attribute.value",foreground:"0451A5"},{token:"string",foreground:"A31515"},{token:"string.sql",foreground:"B5200D"},{token:"keyword",foreground:"0000FF"},{token:"keyword.flow",foreground:"AF00DB"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"C700C7"}],colors:{[_.cvW]:"#FFFFFF",[_.NOs]:"#292929",[f.tR]:"#292929",[f.Ym]:"#292929"}};var y=i(89872),S=i(97781),L=i(9917),k=i(92321),N=i(59554);class D{getIcon(e){let t=(0,N.Ks)(),i=e.defaults;for(;S.kS.isThemeIcon(i);){let e=t.getIcon(i.id);if(!e)return;i=e.defaults}return i}}let x="vs",I="vs-dark",E="hc-black",T="hc-light",M=y.B.as(_.IPX.ColorContribution),A=y.B.as(S.IP.ThemingContribution);class R{constructor(e,t){this.semanticHighlighting=!1,this.themeData=t;let i=t.base;e.length>0?(O(e)?this.id=e:this.id=i+" "+e,this.themeName=e):(this.id=i,this.themeName=i),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}get base(){return this.themeData.base}notifyBaseUpdated(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)}getColors(){if(!this.colors){let e=new Map;for(let t in this.themeData.colors)e.set(t,r.Il.fromHex(this.themeData.colors[t]));if(this.themeData.inherit){let t=P(this.themeData.base);for(let i in t.colors)e.has(i)||e.set(i,r.Il.fromHex(t.colors[i]))}this.colors=e}return this.colors}getColor(e,t){let i=this.getColors().get(e);return i||(!1!==t?this.getDefault(e):void 0)}getDefault(e){let t=this.defaultColors[e];return t||(t=M.resolveDefaultColor(e,this),this.defaultColors[e]=t),t}defines(e){return Object.prototype.hasOwnProperty.call(this.getColors(),e)}get type(){switch(this.base){case x:return k.eL.LIGHT;case E:return k.eL.HIGH_CONTRAST_DARK;case T:return k.eL.HIGH_CONTRAST_LIGHT;default:return k.eL.DARK}}get tokenTheme(){if(!this._tokenTheme){let e=[],t=[];if(this.themeData.inherit){let i=P(this.themeData.base);e=i.rules,i.encodedTokensColors&&(t=i.encodedTokensColors)}let i=this.themeData.colors["editor.foreground"],n=this.themeData.colors["editor.background"];if(i||n){let t={token:""};i&&(t.foreground=i),n&&(t.background=n),e.push(t)}e=e.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(t=this.themeData.encodedTokensColors),this._tokenTheme=c.createFromRawTokenTheme(e,t)}return this._tokenTheme}getTokenStyleMetadata(e,t,i){let n=this.tokenTheme._match([e].concat(t).join(".")),o=n.metadata,r=l.N.getForeground(o),s=l.N.getFontStyle(o);return{foreground:r,italic:!!(1&s),bold:!!(2&s),underline:!!(4&s),strikethrough:!!(8&s)}}}function O(e){return e===x||e===I||e===E||e===T}function P(e){switch(e){case x:return v;case I:return C;case E:return b;case T:return w}}function F(e){let t=P(e);return new R(e,t)}class B extends L.JT{constructor(){super(),this._onColorThemeChange=this._register(new s.Q5),this.onDidColorThemeChange=this._onColorThemeChange.event,this._onProductIconThemeChange=this._register(new s.Q5),this.onDidProductIconThemeChange=this._onProductIconThemeChange.event,this._environment=Object.create(null),this._builtInProductIconTheme=new D,this._autoDetectHighContrast=!0,this._knownThemes=new Map,this._knownThemes.set(x,F(x)),this._knownThemes.set(I,F(I)),this._knownThemes.set(E,F(E)),this._knownThemes.set(T,F(T));let e=function(e){let t=new s.Q5,i=(0,N.Ks)();return i.onDidChange(()=>t.fire()),null==e||e.onDidProductIconThemeChange(()=>t.fire()),{onDidChange:t.event,getCSS(){let t=e?e.getProductIconTheme():new D,o={},r=e=>{let i=t.getIcon(e);if(!i)return;let r=i.font;return r?(o[r.id]=r.definition,`.codicon-${e.id}:before { content: '${i.fontCharacter}'; font-family: ${(0,n._h)(r.id)}; }`):`.codicon-${e.id}:before { content: '${i.fontCharacter}'; }`},s=[];for(let e of i.getIcons()){let t=r(e);t&&s.push(t)}for(let e in o){let t=o[e],i=t.weight?`font-weight: ${t.weight};`:"",r=t.style?`font-style: ${t.style};`:"",a=t.src.map(e=>`${(0,n.wY)(e.location)} format('${e.format}')`).join(", ");s.push(`@font-face { src: ${a}; font-family: ${(0,n._h)(e)};${i}${r} font-display: block; }`)}return s.join("\n")}}}(this);this._codiconCSS=e.getCSS(),this._themeCSS="",this._allCSS=`${this._codiconCSS} +${this._themeCSS}`,this._globalStyleElement=null,this._styleElements=[],this._colorMapOverride=null,this.setTheme(x),this._onOSSchemeChanged(),e.onDidChange(()=>{this._codiconCSS=e.getCSS(),this._updateCSS()}),(0,o.addMatchMediaChangeListener)("(forced-colors: active)",()=>{this._onOSSchemeChanged()})}registerEditorContainer(e){return n.OO(e)?this._registerShadowDomContainer(e):this._registerRegularEditorContainer()}_registerRegularEditorContainer(){return this._globalStyleElement||(this._globalStyleElement=n.dS(),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.textContent=this._allCSS,this._styleElements.push(this._globalStyleElement)),L.JT.None}_registerShadowDomContainer(e){let t=n.dS(e);return t.className="monaco-colors",t.textContent=this._allCSS,this._styleElements.push(t),{dispose:()=>{for(let e=0;e{t.base===e&&t.notifyBaseUpdated()}),this._theme.themeName===e&&this.setTheme(e)}getColorTheme(){return this._theme}setColorMapOverride(e){this._colorMapOverride=e,this._updateThemeOrColorMap()}setTheme(e){let t;t=this._knownThemes.has(e)?this._knownThemes.get(e):this._knownThemes.get(x),this._updateActualTheme(t)}_updateActualTheme(e){e&&this._theme!==e&&(this._theme=e,this._updateThemeOrColorMap())}_onOSSchemeChanged(){if(this._autoDetectHighContrast){let e=window.matchMedia("(forced-colors: active)").matches;if(e!==(0,k.c3)(this._theme.type)){let t;t=(0,k._T)(this._theme.type)?e?E:I:e?T:x,this._updateActualTheme(this._knownThemes.get(t))}}}setAutoDetectHighContrast(e){this._autoDetectHighContrast=e,this._onOSSchemeChanged()}_updateThemeOrColorMap(){let e=[],t={},i={addRule:i=>{t[i]||(e.push(i),t[i]=!0)}};A.getThemingParticipants().forEach(e=>e(this._theme,i,this._environment));let n=[];for(let e of M.getColors()){let t=this._theme.getColor(e.id,!0);t&&n.push(`${(0,_.QO2)(e.id)}: ${t.toString()};`)}i.addRule(`.monaco-editor { ${n.join("\n")} }`);let o=this._colorMapOverride||this._theme.tokenTheme.getColorMap();i.addRule(function(e){let t=[];for(let i=1,n=e.length;ie.textContent=this._allCSS)}getFileIconTheme(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}}getProductIconTheme(){return this._builtInProductIconTheme}}},15662:function(e,t,i){"use strict";var n=i(16830),o=i(44156),r=i(20913),s=i(92321),a=i(88542);class l extends n.R6{constructor(){super({id:"editor.action.toggleHighContrast",label:r.xi.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(e,t){let i=e.get(o.Z),n=i.getColorTheme();(0,s.c3)(n.type)?(i.setTheme(this._originalThemeName||((0,s._T)(n.type)?a.rW:a.TG)),this._originalThemeName=null):(i.setTheme((0,s._T)(n.type)?a.kR:a.MU),this._originalThemeName=n.themeName)}}(0,n.Qr)(l)},44156:function(e,t,i){"use strict";i.d(t,{Z:function(){return o}});var n=i(72065);let o=(0,n.yh)("themeService")},63580:function(e,t,i){"use strict";i.d(t,{NC:function(){return o},aj:function(){return r}});let n="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function o(e,t,...i){let r;return r=0===i.length?t:t.replace(/\{(\d+)\}/g,(e,t)=>{let n=t[0],o=i[n],r=e;return"string"==typeof o?r=o:("number"==typeof o||"boolean"==typeof o||null==o)&&(r=String(o)),r}),n&&(r="["+r.replace(/[aouei]/g,"$&$&")+"]"),r}function r(e){}},31106:function(e,t,i){"use strict";i.d(t,{F:function(){return r},U:function(){return s}});var n=i(38819),o=i(72065);let r=(0,o.yh)("accessibilityService"),s=new n.uy("accessibilityModeEnabled",!1)},84167:function(e,t,i){"use strict";i.d(t,{Mm:function(){return E},Id:function(){return A},vr:function(){return I}});var n=i(65321),o=i(59069),r=i(76033),s=i(10553),a=i(74741),l=i(4669);i(63513);class h extends a.Wi{constructor(e,t){super(),this._onDidChangeVisibility=this._register(new l.Q5),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this._element=(0,n.R3)(e,(0,n.$)(".monaco-dropdown")),this._label=(0,n.R3)(this._element,(0,n.$)(".dropdown-label"));let i=t.labelRenderer;for(let e of(i||(i=e=>(e.textContent=t.label||"",null)),[n.tw.CLICK,n.tw.MOUSE_DOWN,s.t.Tap]))this._register((0,n.nm)(this.element,e,e=>n.zB.stop(e,!0)));for(let e of[n.tw.MOUSE_DOWN,s.t.Tap])this._register((0,n.nm)(this._label,e,e=>{e instanceof MouseEvent&&(e.detail>1||0!==e.button)||(this.visible?this.hide():this.show())}));this._register((0,n.nm)(this._label,n.tw.KEY_UP,e=>{let t=new o.y(e);(t.equals(3)||t.equals(10))&&(n.zB.stop(e,!0),this.visible?this.hide():this.show())}));let r=i(this._label);r&&this._register(r),this._register(s.o.addTarget(this._label))}get element(){return this._element}show(){this.visible||(this.visible=!0,this._onDidChangeVisibility.fire(!0))}hide(){this.visible&&(this.visible=!1,this._onDidChangeVisibility.fire(!1))}dispose(){super.dispose(),this.hide(),this.boxContainer&&(this.boxContainer.remove(),this.boxContainer=void 0),this.contents&&(this.contents.remove(),this.contents=void 0),this._label&&(this._label.remove(),this._label=void 0)}}class d extends h{constructor(e,t){super(e,t),this._actions=[],this._contextMenuProvider=t.contextMenuProvider,this.actions=t.actions||[],this.actionProvider=t.actionProvider,this.menuClassName=t.menuClassName||"",this.menuAsChild=!!t.menuAsChild}set menuOptions(e){this._menuOptions=e}get menuOptions(){return this._menuOptions}get actions(){return this.actionProvider?this.actionProvider.getActions():this._actions}set actions(e){this._actions=e}show(){super.show(),this.element.classList.add("active"),this._contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:e=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(e):void 0,getKeyBinding:e=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(e):void 0,getMenuClassName:()=>this.menuClassName,onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this.menuAsChild?this.element:void 0})}hide(){super.hide()}onHide(){this.hide(),this.element.classList.remove("active")}}class u extends r.Y{constructor(e,t,i,n=Object.create(null)){super(null,e,n),this.actionItem=null,this._onDidChangeVisibility=this._register(new l.Q5),this.menuActionsOrProvider=t,this.contextMenuProvider=i,this.options=n,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(e){this.actionItem=e;let t=Array.isArray(this.menuActionsOrProvider),i={contextMenuProvider:this.contextMenuProvider,labelRenderer:e=>{this.element=(0,n.R3)(e,(0,n.$)("a.action-label"));let t=[];return"string"==typeof this.options.classNames?t=this.options.classNames.split(/\s+/g).filter(e=>!!e):this.options.classNames&&(t=this.options.classNames),t.find(e=>"icon"===e)||t.push("codicon"),this.element.classList.add(...t),this.element.setAttribute("role","button"),this.element.setAttribute("aria-haspopup","true"),this.element.setAttribute("aria-expanded","false"),this.element.title=this._action.label||"",this.element.ariaLabel=this._action.label||"",null},menuAsChild:this.options.menuAsChild,actions:t?this.menuActionsOrProvider:void 0,actionProvider:t?void 0:this.menuActionsOrProvider};if(this.dropdownMenu=this._register(new d(e,i)),this._register(this.dropdownMenu.onDidChangeVisibility(e=>{var t;null===(t=this.element)||void 0===t||t.setAttribute("aria-expanded",`${e}`),this._onDidChangeVisibility.fire(e)})),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){let e=this;this.dropdownMenu.menuOptions=Object.assign(Object.assign({},this.dropdownMenu.menuOptions),{get anchorAlignment(){return e.options.anchorAlignmentProvider()}})}this.updateTooltip(),this.updateEnabled()}getTooltip(){let e=null;return this.getAction().tooltip?e=this.getAction().tooltip:this.getAction().label&&(e=this.getAction().label),null!=e?e:void 0}setActionContext(e){super.setActionContext(e),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=e:this.dropdownMenu.menuOptions={context:e})}updateEnabled(){var e,t;let i=!this.getAction().enabled;null===(e=this.actionItem)||void 0===e||e.classList.toggle("disabled",i),null===(t=this.element)||void 0===t||t.classList.toggle("disabled",i)}}var c=i(8030),g=i(9917),p=i(1432);i(45778);var m=i(63580),f=i(84144),_=i(38819),v=i(5606),C=i(72065),b=i(91847),w=i(59422),y=i(87060),S=i(97781),L=i(92321),k=i(98401),N=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},D=function(e,t){return function(i,n){t(i,n,e)}},x=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};function I(e,t,i,n,o,r,s){let l=e.getActions(t),h="string"==typeof n?e=>e===n:n;return function(e,t,i,n=e=>"navigation"===e,o=Number.MAX_SAFE_INTEGER,r=()=>!1,s=!1){let l,h;Array.isArray(t)?(l=t,h=t):(l=t.primary,h=t.secondary);let d=new Set;for(let[t,o]of e){let e;for(let r of(n(t)?(e=l).length>0&&s&&e.push(new a.Z0):(e=h).length>0&&e.push(new a.Z0),o)){i&&(r=r instanceof f.U8&&r.alt?r.alt:r);let n=e.push(r);r instanceof a.wY&&d.add({group:t,action:r,index:n-1})}}for(let{group:e,action:t,index:i}of d){let s=n(e)?l:h,a=t.actions;(a.length<=1||s.length+a.length-2<=o)&&r(t,e,s.length)&&s.splice(i,1,...a)}if(l!==h&&l.length>o){let e=l.splice(o,l.length-o);h.unshift(...e,new a.Z0)}}(l,i,!1,h,o,r,s),function(e){let t=new g.SL;for(let[,i]of e)for(let e of i)t.add(e);return t}(l)}let E=class extends r.g{constructor(e,t,i,o,r,s,a){super(void 0,e,{icon:!!(e.class||e.item.icon),label:!e.class&&!e.item.icon,draggable:null==t?void 0:t.draggable,keybinding:null==t?void 0:t.keybinding,hoverDelegate:null==t?void 0:t.hoverDelegate}),this._keybindingService=i,this._notificationService=o,this._contextKeyService=r,this._themeService=s,this._contextMenuService=a,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new g.XK),this._altKey=n._q.getInstance()}get _menuItemAction(){return this._action}get _commandAction(){return this._wantsAltCommand&&this._menuItemAction.alt||this._menuItemAction}onClick(e){return x(this,void 0,void 0,function*(){e.preventDefault(),e.stopPropagation();try{yield this.actionRunner.run(this._commandAction,this._context)}catch(e){this._notificationService.error(e)}})}render(e){super.render(e),e.classList.add("menu-entry"),this._updateItemClass(this._menuItemAction.item);let t=!1,i=this._altKey.keyStatus.altKey||(p.ED||p.IJ)&&this._altKey.keyStatus.shiftKey,o=()=>{var e;let n=t&&i&&!!(null===(e=this._commandAction.alt)||void 0===e?void 0:e.enabled);n!==this._wantsAltCommand&&(this._wantsAltCommand=n,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._menuItemAction.alt&&this._register(this._altKey.event(e=>{i=e.altKey||(p.ED||p.IJ)&&e.shiftKey,o()})),this._register((0,n.nm)(e,"mouseleave",e=>{t=!1,o()})),this._register((0,n.nm)(e,"mouseenter",e=>{t=!0,o()}))}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}getTooltip(){var e;let t=this._keybindingService.lookupKeybinding(this._commandAction.id,this._contextKeyService),i=t&&t.getLabel(),n=this._commandAction.tooltip||this._commandAction.label,o=i?(0,m.NC)("titleAndKb","{0} ({1})",n,i):n;if(!this._wantsAltCommand&&(null===(e=this._menuItemAction.alt)||void 0===e?void 0:e.enabled)){let e=this._menuItemAction.alt.tooltip||this._menuItemAction.alt.label,t=this._keybindingService.lookupKeybinding(this._menuItemAction.alt.id,this._contextKeyService),i=t&&t.getLabel(),n=i?(0,m.NC)("titleAndKb","{0} ({1})",e,i):e;o=(0,m.NC)("titleAndKbAndAlt","{0}\n[{1}] {2}",o,c.xo.modifierLabels[p.OS].altKey,n)}return o}updateClass(){this.options.icon&&(this._commandAction!==this._menuItemAction?this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.alt.item):this._updateItemClass(this._menuItemAction.item))}_updateItemClass(e){var t;this._itemClassDispose.value=void 0;let{element:i,label:o}=this;if(!i||!o)return;let r=this._commandAction.checked&&(null===(t=e.toggled)||void 0===t?void 0:t.icon)?e.toggled.icon:e.icon;if(r){if(S.kS.isThemeIcon(r)){let e=S.kS.asClassNameArray(r);o.classList.add(...e),this._itemClassDispose.value=(0,g.OF)(()=>{o.classList.remove(...e)})}else o.style.backgroundImage=(0,L._T)(this._themeService.getColorTheme().type)?(0,n.wY)(r.dark):(0,n.wY)(r.light),o.classList.add("icon"),this._itemClassDispose.value=(0,g.F8)((0,g.OF)(()=>{o.style.backgroundImage="",o.classList.remove("icon")}),this._themeService.onDidColorThemeChange(()=>{this.updateClass()}))}}};E=N([D(2,b.d),D(3,w.lT),D(4,_.i6),D(5,S.XE),D(6,v.i)],E);let T=class extends u{constructor(e,t,i,n){var o,r;let s=Object.assign({},null!=t?t:Object.create(null),{menuAsChild:null!==(o=null==t?void 0:t.menuAsChild)&&void 0!==o&&o,classNames:null!==(r=null==t?void 0:t.classNames)&&void 0!==r?r:S.kS.isThemeIcon(e.item.icon)?S.kS.asClassName(e.item.icon):void 0});super(e,{getActions:()=>e.actions},i,s),this._contextMenuService=i,this._themeService=n}render(e){super.render(e),(0,k.p_)(this.element),e.classList.add("menu-entry");let t=this._action,{icon:i}=t.item;if(i&&!S.kS.isThemeIcon(i)){this.element.classList.add("icon");let e=()=>{this.element&&(this.element.style.backgroundImage=(0,L._T)(this._themeService.getColorTheme().type)?(0,n.wY)(i.dark):(0,n.wY)(i.light))};e(),this._register(this._themeService.onDidColorThemeChange(()=>{e()}))}}};T=N([D(2,v.i),D(3,S.XE)],T);let M=class extends r.Y{constructor(e,t,i,n,o,r,s,l){var h,d,c;let g;super(null,e),this._keybindingService=i,this._notificationService=n,this._contextMenuService=o,this._menuService=r,this._instaService=s,this._storageService=l,this._container=null,this._options=t,this._storageKey=`${e.item.submenu.id}_lastActionId`;let p=l.get(this._storageKey,1);p&&(g=e.actions.find(e=>p===e.id)),g||(g=e.actions[0]),this._defaultAction=this._instaService.createInstance(E,g,{keybinding:this._getDefaultActionKeybindingLabel(g)});let m=Object.assign({},null!=t?t:Object.create(null),{menuAsChild:null===(h=null==t?void 0:t.menuAsChild)||void 0===h||h,classNames:null!==(d=null==t?void 0:t.classNames)&&void 0!==d?d:["codicon","codicon-chevron-down"],actionRunner:null!==(c=null==t?void 0:t.actionRunner)&&void 0!==c?c:new a.Wi});this._dropdown=new u(e,e.actions,this._contextMenuService,m),this._dropdown.actionRunner.onDidRun(e=>{e.action instanceof f.U8&&this.update(e.action)})}update(e){this._storageService.store(this._storageKey,e.id,1,0),this._defaultAction.dispose(),this._defaultAction=this._instaService.createInstance(E,e,{keybinding:this._getDefaultActionKeybindingLabel(e)}),this._defaultAction.actionRunner=new class extends a.Wi{runAction(e,t){return x(this,void 0,void 0,function*(){yield e.run(void 0)})}},this._container&&this._defaultAction.render((0,n.Ce)(this._container,(0,n.$)(".action-container")))}_getDefaultActionKeybindingLabel(e){var t;let i;if(null===(t=this._options)||void 0===t?void 0:t.renderKeybindingWithDefaultActionLabel){let t=this._keybindingService.lookupKeybinding(e.id);t&&(i=`(${t.getLabel()})`)}return i}setActionContext(e){super.setActionContext(e),this._defaultAction.setActionContext(e),this._dropdown.setActionContext(e)}render(e){this._container=e,super.render(this._container),this._container.classList.add("monaco-dropdown-with-default");let t=(0,n.$)(".action-container");this._defaultAction.render((0,n.R3)(this._container,t)),this._register((0,n.nm)(t,n.tw.KEY_DOWN,e=>{let t=new o.y(e);t.equals(17)&&(this._defaultAction.element.tabIndex=-1,this._dropdown.focus(),t.stopPropagation())}));let i=(0,n.$)(".dropdown-action-container");this._dropdown.render((0,n.R3)(this._container,i)),this._register((0,n.nm)(i,n.tw.KEY_DOWN,e=>{var t;let i=new o.y(e);i.equals(15)&&(this._defaultAction.element.tabIndex=0,this._dropdown.setFocusable(!1),null===(t=this._defaultAction.element)||void 0===t||t.focus(),i.stopPropagation())}))}focus(e){e?this._dropdown.focus():(this._defaultAction.element.tabIndex=0,this._defaultAction.element.focus())}blur(){this._defaultAction.element.tabIndex=-1,this._dropdown.blur(),this._container.blur()}setFocusable(e){e?this._defaultAction.element.tabIndex=0:(this._defaultAction.element.tabIndex=-1,this._dropdown.setFocusable(!1))}dispose(){this._defaultAction.dispose(),this._dropdown.dispose(),super.dispose()}};function A(e,t,i){return t instanceof f.U8?e.createInstance(E,t,i):t instanceof f.NZ?t.item.rememberDefaultAction?e.createInstance(M,t,i):e.createInstance(T,t,i):void 0}M=N([D(2,b.d),D(3,w.lT),D(4,v.i),D(5,f.co),D(6,C.TG),D(7,y.Uy)],M)},84144:function(e,t,i){"use strict";i.d(t,{BH:function(){return _},NZ:function(){return v},U8:function(){return C},co:function(){return f},eH:function(){return m},vr:function(){return p}});var n=i(74741),o=i(73046),r=i(4669),s=i(53725),a=i(9917),l=i(91741),h=i(94565),d=i(38819),u=i(72065),c=i(97781),g=function(e,t){return function(i,n){t(i,n,e)}};function p(e){return void 0!==e.command}class m{constructor(e){if(m._instances.has(e))throw TypeError(`MenuId with identifier '${e}' already exists. Use MenuId.for(ident) or a unique identifier`);m._instances.set(e,this),this.id=e}}m._instances=new Map,m.CommandPalette=new m("CommandPalette"),m.DebugBreakpointsContext=new m("DebugBreakpointsContext"),m.DebugCallStackContext=new m("DebugCallStackContext"),m.DebugConsoleContext=new m("DebugConsoleContext"),m.DebugVariablesContext=new m("DebugVariablesContext"),m.DebugWatchContext=new m("DebugWatchContext"),m.DebugToolBar=new m("DebugToolBar"),m.DebugToolBarStop=new m("DebugToolBarStop"),m.EditorContext=new m("EditorContext"),m.SimpleEditorContext=new m("SimpleEditorContext"),m.EditorContextCopy=new m("EditorContextCopy"),m.EditorContextPeek=new m("EditorContextPeek"),m.EditorContextShare=new m("EditorContextShare"),m.EditorTitle=new m("EditorTitle"),m.EditorTitleRun=new m("EditorTitleRun"),m.EditorTitleContext=new m("EditorTitleContext"),m.EmptyEditorGroup=new m("EmptyEditorGroup"),m.EmptyEditorGroupContext=new m("EmptyEditorGroupContext"),m.ExplorerContext=new m("ExplorerContext"),m.ExtensionContext=new m("ExtensionContext"),m.GlobalActivity=new m("GlobalActivity"),m.CommandCenter=new m("CommandCenter"),m.LayoutControlMenuSubmenu=new m("LayoutControlMenuSubmenu"),m.LayoutControlMenu=new m("LayoutControlMenu"),m.MenubarMainMenu=new m("MenubarMainMenu"),m.MenubarAppearanceMenu=new m("MenubarAppearanceMenu"),m.MenubarDebugMenu=new m("MenubarDebugMenu"),m.MenubarEditMenu=new m("MenubarEditMenu"),m.MenubarCopy=new m("MenubarCopy"),m.MenubarFileMenu=new m("MenubarFileMenu"),m.MenubarGoMenu=new m("MenubarGoMenu"),m.MenubarHelpMenu=new m("MenubarHelpMenu"),m.MenubarLayoutMenu=new m("MenubarLayoutMenu"),m.MenubarNewBreakpointMenu=new m("MenubarNewBreakpointMenu"),m.MenubarPanelAlignmentMenu=new m("MenubarPanelAlignmentMenu"),m.MenubarPanelPositionMenu=new m("MenubarPanelPositionMenu"),m.MenubarPreferencesMenu=new m("MenubarPreferencesMenu"),m.MenubarRecentMenu=new m("MenubarRecentMenu"),m.MenubarSelectionMenu=new m("MenubarSelectionMenu"),m.MenubarShare=new m("MenubarShare"),m.MenubarSwitchEditorMenu=new m("MenubarSwitchEditorMenu"),m.MenubarSwitchGroupMenu=new m("MenubarSwitchGroupMenu"),m.MenubarTerminalMenu=new m("MenubarTerminalMenu"),m.MenubarViewMenu=new m("MenubarViewMenu"),m.MenubarHomeMenu=new m("MenubarHomeMenu"),m.OpenEditorsContext=new m("OpenEditorsContext"),m.ProblemsPanelContext=new m("ProblemsPanelContext"),m.SCMChangeContext=new m("SCMChangeContext"),m.SCMResourceContext=new m("SCMResourceContext"),m.SCMResourceFolderContext=new m("SCMResourceFolderContext"),m.SCMResourceGroupContext=new m("SCMResourceGroupContext"),m.SCMSourceControl=new m("SCMSourceControl"),m.SCMTitle=new m("SCMTitle"),m.SearchContext=new m("SearchContext"),m.StatusBarWindowIndicatorMenu=new m("StatusBarWindowIndicatorMenu"),m.StatusBarRemoteIndicatorMenu=new m("StatusBarRemoteIndicatorMenu"),m.TestItem=new m("TestItem"),m.TestItemGutter=new m("TestItemGutter"),m.TestPeekElement=new m("TestPeekElement"),m.TestPeekTitle=new m("TestPeekTitle"),m.TouchBarContext=new m("TouchBarContext"),m.TitleBarContext=new m("TitleBarContext"),m.TitleBarTitleContext=new m("TitleBarTitleContext"),m.TunnelContext=new m("TunnelContext"),m.TunnelPrivacy=new m("TunnelPrivacy"),m.TunnelProtocol=new m("TunnelProtocol"),m.TunnelPortInline=new m("TunnelInline"),m.TunnelTitle=new m("TunnelTitle"),m.TunnelLocalAddressInline=new m("TunnelLocalAddressInline"),m.TunnelOriginInline=new m("TunnelOriginInline"),m.ViewItemContext=new m("ViewItemContext"),m.ViewContainerTitle=new m("ViewContainerTitle"),m.ViewContainerTitleContext=new m("ViewContainerTitleContext"),m.ViewTitle=new m("ViewTitle"),m.ViewTitleContext=new m("ViewTitleContext"),m.CommentThreadTitle=new m("CommentThreadTitle"),m.CommentThreadActions=new m("CommentThreadActions"),m.CommentTitle=new m("CommentTitle"),m.CommentActions=new m("CommentActions"),m.InteractiveToolbar=new m("InteractiveToolbar"),m.InteractiveCellTitle=new m("InteractiveCellTitle"),m.InteractiveCellDelete=new m("InteractiveCellDelete"),m.InteractiveCellExecute=new m("InteractiveCellExecute"),m.InteractiveInputExecute=new m("InteractiveInputExecute"),m.NotebookToolbar=new m("NotebookToolbar"),m.NotebookCellTitle=new m("NotebookCellTitle"),m.NotebookCellDelete=new m("NotebookCellDelete"),m.NotebookCellInsert=new m("NotebookCellInsert"),m.NotebookCellBetween=new m("NotebookCellBetween"),m.NotebookCellListTop=new m("NotebookCellTop"),m.NotebookCellExecute=new m("NotebookCellExecute"),m.NotebookCellExecutePrimary=new m("NotebookCellExecutePrimary"),m.NotebookDiffCellInputTitle=new m("NotebookDiffCellInputTitle"),m.NotebookDiffCellMetadataTitle=new m("NotebookDiffCellMetadataTitle"),m.NotebookDiffCellOutputsTitle=new m("NotebookDiffCellOutputsTitle"),m.NotebookOutputToolbar=new m("NotebookOutputToolbar"),m.NotebookEditorLayoutConfigure=new m("NotebookEditorLayoutConfigure"),m.NotebookKernelSource=new m("NotebookKernelSource"),m.BulkEditTitle=new m("BulkEditTitle"),m.BulkEditContext=new m("BulkEditContext"),m.TimelineItemContext=new m("TimelineItemContext"),m.TimelineTitle=new m("TimelineTitle"),m.TimelineTitleContext=new m("TimelineTitleContext"),m.TimelineFilterSubMenu=new m("TimelineFilterSubMenu"),m.AccountsContext=new m("AccountsContext"),m.PanelTitle=new m("PanelTitle"),m.AuxiliaryBarTitle=new m("AuxiliaryBarTitle"),m.TerminalInstanceContext=new m("TerminalInstanceContext"),m.TerminalEditorInstanceContext=new m("TerminalEditorInstanceContext"),m.TerminalNewDropdownContext=new m("TerminalNewDropdownContext"),m.TerminalTabContext=new m("TerminalTabContext"),m.TerminalTabEmptyAreaContext=new m("TerminalTabEmptyAreaContext"),m.TerminalInlineTabContext=new m("TerminalInlineTabContext"),m.WebviewContext=new m("WebviewContext"),m.InlineCompletionsActions=new m("InlineCompletionsActions"),m.NewFile=new m("NewFile"),m.MergeToolbar=new m("MergeToolbar"),m.MergeInput1Toolbar=new m("MergeToolbar1Toolbar"),m.MergeInput2Toolbar=new m("MergeToolbar2Toolbar");let f=(0,u.yh)("menuService"),_=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new r.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:e=>e===m.CommandPalette}}addCommand(e){return this.addCommands(s.$.single(e))}addCommands(e){for(let t of e)this._commands.set(t.id,t);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,a.OF)(()=>{let t=!1;for(let i of e)t=this._commands.delete(i.id)||t;t&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(e){return this._commands.get(e)}getCommands(){let e=new Map;return this._commands.forEach((t,i)=>e.set(i,t)),e}appendMenuItem(e,t){return this.appendMenuItems(s.$.single({id:e,item:t}))}appendMenuItems(e){let t=new Set,i=new l.S;for(let{id:n,item:o}of e){let e=this._menuItems.get(n);e||(e=new l.S,this._menuItems.set(n,e)),i.push(e.push(o)),t.add(n)}return this._onDidChangeMenu.fire(t),(0,a.OF)(()=>{if(i.size>0){for(let e of i)e();this._onDidChangeMenu.fire(t),i.clear()}})}getMenuItems(e){let t;return t=this._menuItems.has(e)?[...this._menuItems.get(e)]:[],e===m.CommandPalette&&this._appendImplicitItems(t),t}_appendImplicitItems(e){let t=new Set;for(let i of e)p(i)&&(t.add(i.command.id),i.alt&&t.add(i.alt.id));this._commands.forEach((i,n)=>{t.has(n)||e.push({command:i})})}};class v extends n.wY{constructor(e,t,i,n){super(`submenuitem.${e.submenu.id}`,"string"==typeof e.title?e.title:e.title.value,[],"submenu"),this.item=e,this._menuService=t,this._contextKeyService=i,this._options=n}get actions(){let e=[],t=this._menuService.createMenu(this.item.submenu,this._contextKeyService),i=t.getActions(this._options);for(let[,o]of(t.dispose(),i))o.length>0&&(e.push(...o),e.push(new n.Z0));return e.length&&e.pop(),e}}let C=class e{constructor(t,i,n,r,s,a){var l,h;if(this.hideActions=r,this._commandService=a,this.id=t.id,this.label=(null==n?void 0:n.renderShortTitle)&&t.shortTitle?"string"==typeof t.shortTitle?t.shortTitle:t.shortTitle.value:"string"==typeof t.title?t.title:t.title.value,this.tooltip=null!==(h="string"==typeof t.tooltip?t.tooltip:null===(l=t.tooltip)||void 0===l?void 0:l.value)&&void 0!==h?h:"",this.enabled=!t.precondition||s.contextMatchesRules(t.precondition),this.checked=void 0,t.toggled){let e=t.toggled.condition?t.toggled:{condition:t.toggled};this.checked=s.contextMatchesRules(e.condition),this.checked&&e.tooltip&&(this.tooltip="string"==typeof e.tooltip?e.tooltip:e.tooltip.value),e.title&&(this.label="string"==typeof e.title?e.title:e.title.value)}this.item=t,this.alt=i?new e(i,void 0,n,r,s,a):void 0,this._options=n,c.kS.isThemeIcon(t.icon)&&(this.class=o.dT.asClassName(t.icon))}dispose(){}run(...e){var t,i;let n=[];return(null===(t=this._options)||void 0===t?void 0:t.arg)&&(n=[...n,this._options.arg]),(null===(i=this._options)||void 0===i?void 0:i.shouldForwardArgs)&&(n=[...n,...e]),this._commandService.executeCommand(this.id,...n)}};C=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([g(4,d.i6),g(5,h.Hy)],C)},84972:function(e,t,i){"use strict";i.d(t,{p:function(){return o}});var n=i(72065);let o=(0,n.yh)("clipboardService")},94565:function(e,t,i){"use strict";i.d(t,{Hy:function(){return h},P0:function(){return d}});var n=i(4669),o=i(53725),r=i(9917),s=i(91741),a=i(98401),l=i(72065);let h=(0,l.yh)("commandService"),d=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new n.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,t){if(!e)throw Error("invalid command");if("string"==typeof e){if(!t)throw Error("invalid command");return this.registerCommand({id:e,handler:t})}if(e.description){let t=[];for(let i of e.description.args)t.push(i.constraint);let i=e.handler;e.handler=function(e,...n){return(0,a.D8)(n,t),i(e,...n)}}let{id:i}=e,n=this._commands.get(i);n||(n=new s.S,this._commands.set(i,n));let o=n.unshift(e),l=(0,r.OF)(()=>{o();let e=this._commands.get(i);(null==e?void 0:e.isEmpty())&&this._commands.delete(i)});return this._onDidRegisterCommand.fire(i),l}registerCommandAlias(e,t){return d.registerCommand(e,(e,...i)=>e.get(h).executeCommand(t,...i))}getCommand(e){let t=this._commands.get(e);if(!(!t||t.isEmpty()))return o.$.first(t)}getCommands(){let e=new Map;for(let t of this._commands.keys()){let i=this.getCommand(t);i&&e.set(t,i)}return e}};d.registerCommand("noop",()=>{})},33108:function(e,t,i){"use strict";i.d(t,{KV:function(){return s},Mt:function(){return l},Od:function(){return r},UI:function(){return h},Ui:function(){return o},xL:function(){return a}});var n=i(72065);let o=(0,n.yh)("configurationService");function r(e,t){let i=Object.create(null);for(let n in e)s(i,n,e[n],t);return i}function s(e,t,i,n){let o=t.split("."),r=o.pop(),s=e;for(let e=0;e{i.push(...this.validateAndRegisterProperties(e,t,e.extensionInfo,e.restrictedProperties)),this.configurationContributors.push(e),this.registerJSONConfiguration(e)}),i}validateAndRegisterProperties(e,t=!0,i,n,o=3){var a;o=r.Jp(e.scope)?o:e.scope;let l=[],h=e.properties;if(h)for(let e in h){let d=h[e];if(t&&function(e,t){var i,n,o,r;return e.trim()?y.test(e)?s.NC("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",e):void 0!==L.getConfigurationProperties()[e]?s.NC("config.property.duplicate","Cannot register '{0}'. This property is already registered.",e):(null===(i=t.policy)||void 0===i?void 0:i.name)&&void 0!==L.getPolicyConfigurations().get(null===(n=t.policy)||void 0===n?void 0:n.name)?s.NC("config.policy.duplicate","Cannot register '{0}'. The associated policy {1} is already registered with {2}.",e,null===(o=t.policy)||void 0===o?void 0:o.name,L.getPolicyConfigurations().get(null===(r=t.policy)||void 0===r?void 0:r.name)):null:s.NC("config.property.empty","Cannot register an empty property")}(e,d)){delete h[e];continue}if(d.source=i,d.defaultDefaultValue=h[e].default,this.updatePropertyDefaultValue(e,d),y.test(e)?d.scope=void 0:(d.scope=r.Jp(d.scope)?o:d.scope,d.restricted=r.Jp(d.restricted)?!!(null==n?void 0:n.includes(e)):d.restricted),h[e].hasOwnProperty("included")&&!h[e].included){this.excludedConfigurationProperties[e]=h[e],delete h[e];continue}this.configurationProperties[e]=h[e],(null===(a=h[e].policy)||void 0===a?void 0:a.name)&&this.policyConfigurations.set(h[e].policy.name,e),!h[e].deprecationMessage&&h[e].markdownDeprecationMessage&&(h[e].deprecationMessage=h[e].markdownDeprecationMessage),l.push(e)}let d=e.allOf;if(d)for(let e of d)l.push(...this.validateAndRegisterProperties(e,t,i,n,o));return l}getConfigurationProperties(){return this.configurationProperties}getPolicyConfigurations(){return this.policyConfigurations}registerJSONConfiguration(e){let t=e=>{let i=e.properties;if(i)for(let e in i)this.updateSchema(e,i[e]);let n=e.allOf;null==n||n.forEach(t)};t(e)}updateSchema(e,t){switch(u.properties[e]=t,t.scope){case 1:c.properties[e]=t;break;case 2:g.properties[e]=t;break;case 6:p.properties[e]=t;break;case 3:m.properties[e]=t;break;case 4:f.properties[e]=t;break;case 5:f.properties[e]=t,this.resourceLanguageSettingsSchema.properties[e]=t}}updateOverridePropertyPatternKey(){for(let e of this.overrideIdentifiers.values()){let t=`[${e}]`,i={type:"object",description:s.NC("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:s.NC("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:_};this.updatePropertyDefaultValue(t,i),u.properties[t]=i,c.properties[t]=i,g.properties[t]=i,p.properties[t]=i,m.properties[t]=i,f.properties[t]=i}this._onDidSchemaChange.fire()}registerOverridePropertyPatternKey(){let e={type:"object",description:s.NC("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:s.NC("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:_};u.patternProperties[w]=e,c.patternProperties[w]=e,g.patternProperties[w]=e,p.patternProperties[w]=e,m.patternProperties[w]=e,f.patternProperties[w]=e,this._onDidSchemaChange.fire()}updatePropertyDefaultValue(e,t){let i=this.configurationDefaultsOverrides.get(e),n=null==i?void 0:i.value,o=null==i?void 0:i.source;r.o8(n)&&(n=t.defaultDefaultValue,o=void 0),r.o8(n)&&(n=function(e){let t=Array.isArray(e)?e[0]:e;switch(t){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}(t.type)),t.default=n,t.defaultValueSource=o}};h.B.add(d.Configuration,L)},38819:function(e,t,i){"use strict";i.d(t,{Ao:function(){return l},Eq:function(){return T},Fb:function(){return h},K8:function(){return A},i6:function(){return E},uy:function(){return I}});var n=i(1432),o=i(97295),r=i(72065);let s=new Map;s.set("false",!1),s.set("true",!0),s.set("isMac",n.dz),s.set("isLinux",n.IJ),s.set("isWindows",n.ED),s.set("isWeb",n.$L),s.set("isMacNative",n.dz&&!n.$L),s.set("isEdge",n.un),s.set("isFirefox",n.vU),s.set("isChrome",n.i7),s.set("isSafari",n.G6);let a=Object.prototype.hasOwnProperty;class l{static has(e){return g.create(e)}static equals(e,t){return p.create(e,t)}static regex(e,t){return L.create(e,t)}static not(e){return v.create(e)}static and(...e){return D.create(e,null)}static or(...e){return x.create(e,null,!0)}static deserialize(e,t=!1){if(e)return this._deserializeOrExpression(e,t)}static _deserializeOrExpression(e,t){let i=e.split("||");return x.create(i.map(e=>this._deserializeAndExpression(e,t)),null,!0)}static _deserializeAndExpression(e,t){let i=e.split("&&");return D.create(i.map(e=>this._deserializeOne(e,t)),null)}static _deserializeOne(e,t){if((e=e.trim()).indexOf("!=")>=0){let i=e.split("!=");return _.create(i[0].trim(),this._deserializeValue(i[1],t))}if(e.indexOf("==")>=0){let i=e.split("==");return p.create(i[0].trim(),this._deserializeValue(i[1],t))}if(e.indexOf("=~")>=0){let i=e.split("=~");return L.create(i[0].trim(),this._deserializeRegexValue(i[1],t))}if(e.indexOf(" not in ")>=0){let t=e.split(" not in ");return f.create(t[0].trim(),t[1].trim())}if(e.indexOf(" in ")>=0){let t=e.split(" in ");return m.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(e)){let t=e.split(">=");return w.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(e)){let t=e.split(">");return b.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(e)){let t=e.split("<=");return S.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(e)){let t=e.split("<");return y.create(t[0].trim(),t[1].trim())}return/^\!\s*/.test(e)?v.create(e.substr(1).trim()):g.create(e)}static _deserializeValue(e,t){if("true"===(e=e.trim()))return!0;if("false"===e)return!1;let i=/^'([^']*)'$/.exec(e);return i?i[1].trim():e}static _deserializeRegexValue(e,t){if((0,o.m5)(e)){if(t)throw Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let i=e.indexOf("/"),n=e.lastIndexOf("/");if(i===n||i<0){if(t)throw Error(`bad regexp-value '${e}', missing /-enclosure`);return console.warn(`bad regexp-value '${e}', missing /-enclosure`),null}let r=e.slice(i+1,n),s="i"===e[n+1]?"i":"";try{return new RegExp(r,s)}catch(i){if(t)throw Error(`bad regexp-value '${e}', parse error: ${i}`);return console.warn(`bad regexp-value '${e}', parse error: ${i}`),null}}}function h(e,t){let i=e?e.substituteConstants():void 0,n=t?t.substituteConstants():void 0;return!i&&!n||!!i&&!!n&&i.equals(n)}function d(e,t){return e.cmp(t)}class u{constructor(){this.type=0}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!1}serialize(){return"false"}keys(){return[]}negate(){return c.INSTANCE}}u.INSTANCE=new u;class c{constructor(){this.type=1}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!0}serialize(){return"true"}keys(){return[]}negate(){return u.INSTANCE}}c.INSTANCE=new c;class g{constructor(e,t){this.key=e,this.negated=t,this.type=2}static create(e,t=null){let i=s.get(e);return"boolean"==typeof i?i?c.INSTANCE:u.INSTANCE:new g(e,t)}cmp(e){var t,i;return e.type!==this.type?this.type-e.type:(t=this.key,t<(i=e.key)?-1:t>i?1:0)}equals(e){return e.type===this.type&&this.key===e.key}substituteConstants(){let e=s.get(this.key);return"boolean"==typeof e?e?c.INSTANCE:u.INSTANCE:this}evaluate(e){return!!e.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=v.create(this.key,this)),this.negated}}class p{constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=4}static create(e,t,i=null){if("boolean"==typeof t)return t?g.create(e,i):v.create(e,i);let n=s.get(e);return"boolean"==typeof n?t===(n?"true":"false")?c.INSTANCE:u.INSTANCE:new p(e,t,i)}cmp(e){return e.type!==this.type?this.type-e.type:M(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){let e=s.get(this.key);return"boolean"==typeof e?this.value===(e?"true":"false")?c.INSTANCE:u.INSTANCE:this}evaluate(e){return e.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=_.create(this.key,this.value,this)),this.negated}}class m{constructor(e,t){this.key=e,this.valueKey=t,this.type=10,this.negated=null}static create(e,t){return new m(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:M(this.key,this.valueKey,e.key,e.valueKey)}equals(e){return e.type===this.type&&this.key===e.key&&this.valueKey===e.valueKey}substituteConstants(){return this}evaluate(e){let t=e.getValue(this.valueKey),i=e.getValue(this.key);return Array.isArray(t)?t.includes(i):"string"==typeof i&&"object"==typeof t&&null!==t&&a.call(t,i)}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=f.create(this.key,this.valueKey)),this.negated}}class f{constructor(e,t){this.key=e,this.valueKey=t,this.type=11,this._negated=m.create(e,t)}static create(e,t){return new f(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this._negated.cmp(e._negated)}equals(e){return e.type===this.type&&this._negated.equals(e._negated)}substituteConstants(){return this}evaluate(e){return!this._negated.evaluate(e)}serialize(){return`${this.key} not in '${this.valueKey}'`}keys(){return this._negated.keys()}negate(){return this._negated}}class _{constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=5}static create(e,t,i=null){if("boolean"==typeof t)return t?v.create(e,i):g.create(e,i);let n=s.get(e);return"boolean"==typeof n?t===(n?"true":"false")?u.INSTANCE:c.INSTANCE:new _(e,t,i)}cmp(e){return e.type!==this.type?this.type-e.type:M(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){let e=s.get(this.key);return"boolean"==typeof e?this.value===(e?"true":"false")?u.INSTANCE:c.INSTANCE:this}evaluate(e){return e.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=p.create(this.key,this.value,this)),this.negated}}class v{constructor(e,t){this.key=e,this.negated=t,this.type=3}static create(e,t=null){let i=s.get(e);return"boolean"==typeof i?i?u.INSTANCE:c.INSTANCE:new v(e,t)}cmp(e){var t,i;return e.type!==this.type?this.type-e.type:(t=this.key,t<(i=e.key)?-1:t>i?1:0)}equals(e){return e.type===this.type&&this.key===e.key}substituteConstants(){let e=s.get(this.key);return"boolean"==typeof e?e?u.INSTANCE:c.INSTANCE:this}evaluate(e){return!e.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=g.create(this.key,this)),this.negated}}function C(e,t){if("string"==typeof e){let t=parseFloat(e);isNaN(t)||(e=t)}return"string"==typeof e||"number"==typeof e?t(e):u.INSTANCE}class b{constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=12}static create(e,t,i=null){return C(t,t=>new b(e,t,i))}cmp(e){return e.type!==this.type?this.type-e.type:M(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=S.create(this.key,this.value,this)),this.negated}}class w{constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=13}static create(e,t,i=null){return C(t,t=>new w(e,t,i))}cmp(e){return e.type!==this.type?this.type-e.type:M(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=y.create(this.key,this.value,this)),this.negated}}class y{constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=14}static create(e,t,i=null){return C(t,t=>new y(e,t,i))}cmp(e){return e.type!==this.type?this.type-e.type:M(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))new S(e,t,i))}cmp(e){return e.type!==this.type?this.type-e.type:M(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=b.create(this.key,this.value,this)),this.negated}}class L{constructor(e,t){this.key=e,this.regexp=t,this.type=7,this.negated=null}static create(e,t){return new L(e,t)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.keye.key)return 1;let t=this.regexp?this.regexp.source:"",i=e.regexp?e.regexp.source:"";return ti?1:0}equals(e){if(e.type===this.type){let t=this.regexp?this.regexp.source:"",i=e.regexp?e.regexp.source:"";return this.key===e.key&&t===i}return!1}substituteConstants(){return this}evaluate(e){let t=e.getValue(this.key);return!!this.regexp&&this.regexp.test(t)}serialize(){let e=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${e}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=k.create(this)),this.negated}}class k{constructor(e){this._actual=e,this.type=8}static create(e){return new k(e)}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}substituteConstants(){return this}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function N(e){let t=null;for(let i=0,n=e.length;ie.expr.length)return 1;for(let t=0,i=this.expr.length;t1;){let e=i[i.length-1];if(9!==e.type)break;i.pop();let t=i.pop(),n=0===i.length,o=x.create(e.expr.map(e=>D.create([e,t],null)),null,n);o&&(i.push(o),i.sort(d))}return 1===i.length?i[0]:new D(i,t)}}serialize(){return this.expr.map(e=>e.serialize()).join(" && ")}keys(){let e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){let e=[];for(let t of this.expr)e.push(t.negate());this.negated=x.create(e,this,!0)}return this.negated}}class x{constructor(e,t){this.expr=e,this.negated=t,this.type=9}static create(e,t,i){return x._normalizeArr(e,t,i)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.lengthe.expr.length)return 1;for(let t=0,i=this.expr.length;te.serialize()).join(" || ")}keys(){let e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){let e=[];for(let t of this.expr)e.push(t.negate());for(;e.length>1;){let t=e.shift(),i=e.shift(),n=[];for(let e of R(t))for(let t of R(i))n.push(D.create([e,t],null));let o=0===e.length;e.unshift(x.create(n,null,o))}this.negated=e[0]}return this.negated}}class I extends g{constructor(e,t,i){super(e,null),this._defaultValue=t,"object"==typeof i?I._info.push(Object.assign(Object.assign({},i),{key:e})):!0!==i&&I._info.push({key:e,description:i,type:null!=t?typeof t:void 0})}static all(){return I._info.values()}bindTo(e){return e.createKey(this.key,this._defaultValue)}getValue(e){return e.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(e){return p.create(this.key,e)}}I._info=[];let E=(0,r.yh)("contextKeyService"),T="setContext";function M(e,t,i,n){return ei?1:tn?1:0}function A(e,t){if(6===t.type&&9!==e.type&&6!==e.type){for(let i of t.expr)if(e.equals(i))return!0}let i=e.negate(),n=R(i).concat(R(t));n.sort(d);for(let e=0;e{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.preserveCase.onKeyDown(e=>{this._onPreserveCaseKeyDown.fire(e)})),this._showOptionButtons?this.cachedOptionsWidth=this.preserveCase.width():this.cachedOptionsWidth=0;let g=[this.preserveCase.domNode];this.onkeydown(this.domNode,e=>{if(e.equals(15)||e.equals(17)||e.equals(9)){let t=g.indexOf(document.activeElement);if(t>=0){let i=-1;e.equals(17)?i=(t+1)%g.length:e.equals(15)&&(i=0===t?g.length-1:t-1),e.equals(9)?(g[t].blur(),this.inputBox.focus()):i>=0&&g[i].focus(),r.zB.stop(e,!0)}}});let m=document.createElement("div");m.className="controls",m.style.display=this._showOptionButtons?"block":"none",m.appendChild(this.preserveCase.domNode),this.domNode.appendChild(m),null==e||e.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,e=>this._onKeyDown.fire(e)),this.onkeyup(this.inputBox.inputElement,e=>this._onKeyUp.fire(e)),this.oninput(this.inputBox.inputElement,e=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,e=>this._onMouseDown.fire(e))}enable(){this.domNode.classList.remove("disabled"),this.inputBox.enable(),this.preserveCase.enable()}disable(){this.domNode.classList.add("disabled"),this.inputBox.disable(),this.preserveCase.disable()}setEnabled(e){e?this.enable():this.disable()}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){if(this.domNode){let e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground};this.preserveCase.style(e);let t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getPreserveCase(){return this.preserveCase.checked}setPreserveCase(e){this.preserveCase.checked=e}focusOnPreserve(){this.preserveCase.focus()}validate(){this.inputBox&&this.inputBox.validate()}set width(e){this.inputBox.paddingRight=this.cachedOptionsWidth,this.inputBox.width=e,this.domNode.style.width=e+"px"}dispose(){super.dispose()}}var f=i(38819),_=i(49989),v=i(9917),C=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},b=function(e,t){return function(i,n){t(i,n,e)}};let w=new f.uy("suggestWidgetVisible",!1,(0,u.NC)("suggestWidgetVisible","Whether suggestion are visible")),y="historyNavigationWidgetFocus",S="historyNavigationForwardsEnabled",L="historyNavigationBackwardsEnabled",k=[];function N(e,t){if(k.includes(t))throw Error("Cannot register the same widget multiple times");k.push(t);let i=new v.SL,o=i.add(e.createScoped(t.element)),r=new f.uy(y,!1).bindTo(o),s=new f.uy(S,!0).bindTo(o),a=new f.uy(L,!0).bindTo(o),l=()=>{r.set(!0),n=t},h=()=>{r.set(!1),n===t&&(n=void 0)};return t.element===document.activeElement&&l(),i.add(t.onDidFocus(()=>l())),i.add(t.onDidBlur(()=>h())),i.add((0,v.OF)(()=>{k.splice(k.indexOf(t),1),h()})),{scopedContextKeyService:o,historyNavigationForwardsEnablement:s,historyNavigationBackwardsEnablement:a,dispose(){i.dispose()}}}let D=class extends o.V{constructor(e,t,i,n,o=!1){super(e,t,o,i),this._register(N(n,this.inputBox))}};D=C([b(3,f.i6)],D);let x=class extends m{constructor(e,t,i,n,o=!1){super(e,t,o,i),this._register(N(n,this.inputBox))}};x=C([b(3,f.i6)],x),_.W.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:f.Ao.and(f.Ao.has(y),f.Ao.equals(L,!0),w.isEqualTo(!1)),primary:16,secondary:[528],handler:e=>{n&&n.showPreviousValue()}}),_.W.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:f.Ao.and(f.Ao.has(y),f.Ao.equals(S,!0),w.isEqualTo(!1)),primary:18,secondary:[530],handler:e=>{n&&n.showNextValue()}})},97108:function(e,t,i){"use strict";i.d(t,{M:function(){return n}});class n{constructor(e,t=[],i=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=i}}},65026:function(e,t,i){"use strict";i.d(t,{d:function(){return s},z:function(){return r}});var n=i(97108);let o=[];function r(e,t,i){t instanceof n.M||(t=new n.M(t,[],i)),o.push([e,t])}function s(){return o}},72065:function(e,t,i){"use strict";var n,o;i.d(t,{I8:function(){return n},TG:function(){return r},yh:function(){return s}}),(o=n||(n={})).serviceIds=new Map,o.DI_TARGET="$di$target",o.DI_DEPENDENCIES="$di$dependencies",o.getServiceDependencies=function(e){return e[o.DI_DEPENDENCIES]||[]};let r=s("instantiationService");function s(e){if(n.serviceIds.has(e))return n.serviceIds.get(e);let t=function(e,i,o){if(3!=arguments.length)throw Error("@IServiceName-decorator can only be used to decorate a parameter");e[n.DI_TARGET]===e?e[n.DI_DEPENDENCIES].push({id:t,index:o}):(e[n.DI_DEPENDENCIES]=[{id:t,index:o}],e[n.DI_TARGET]=e)};return t.toString=()=>e,n.serviceIds.set(e,t),t}},60972:function(e,t,i){"use strict";i.d(t,{y:function(){return n}});class n{constructor(...e){for(let[t,i]of(this._entries=new Map,e))this.set(t,i)}set(e,t){let i=this._entries.get(e);return this._entries.set(e,t),i}get(e){return this._entries.get(e)}}},81294:function(e,t,i){"use strict";i.d(t,{I:function(){return r}});var n=i(4669),o=i(89872);let r={JSONContribution:"base.contributions.json"},s=new class{constructor(){this._onDidChangeSchema=new n.Q5,this.schemasById={}}registerSchema(e,t){this.schemasById[e.length>0&&"#"===e.charAt(e.length-1)?e.substring(0,e.length-1):e]=t,this._onDidChangeSchema.fire(e)}notifySchemaChanged(e){this._onDidChangeSchema.fire(e)}};o.B.add(r.JSONContribution,s)},91847:function(e,t,i){"use strict";i.d(t,{d:function(){return o}});var n=i(72065);let o=(0,n.yh)("keybindingService")},49989:function(e,t,i){"use strict";i.d(t,{W:function(){return l}});var n=i(8313),o=i(1432),r=i(94565),s=i(89872);class a{constructor(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(e){if(1===o.OS){if(e&&e.win)return e.win}else if(2===o.OS){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e}registerKeybindingRule(e){let t=a.bindToCurrentPlatform(e);if(t&&t.primary){let i=(0,n.gm)(t.primary,o.OS);i&&this._registerDefaultKeybinding(i,e.id,e.args,e.weight,0,e.when)}if(t&&Array.isArray(t.secondary))for(let i=0,r=t.secondary.length;i=21&&e<=30||e>=31&&e<=56||80===e||81===e||82===e||83===e||84===e||85===e||86===e||110===e||111===e||87===e||88===e||89===e||90===e||91===e||92===e}_assertNoCtrlAlt(e,t){e.ctrlKey&&e.altKey&&!e.metaKey&&a._mightProduceChar(e.keyCode)&&console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ",e," for ",t)}_registerDefaultKeybinding(e,t,i,n,r,s){1===o.OS&&this._assertNoCtrlAlt(e.parts[0],t),this._coreKeybindings.push({keybinding:e.parts,command:t,commandArgs:i,when:s,weight1:n,weight2:r,extensionId:null,isBuiltinExtension:!1}),this._cachedMergedKeybindings=null}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(h)),this._cachedMergedKeybindings.slice(0)}}let l=new a;function h(e,t){if(e.weight1!==t.weight1)return e.weight1-t.weight1;if(e.command&&t.command){if(e.commandt.command)return 1}return e.weight2-t.weight2}s.B.add("platform.keybindingsRegistry",l)},44349:function(e,t,i){"use strict";i.d(t,{e:function(){return o}});var n=i(72065);let o=(0,n.yh)("labelService")},74615:function(e,t,i){"use strict";i.d(t,{Lw:function(){return ez},XN:function(){return eK},ls:function(){return tb},ev:function(){return td},CQ:function(){return ej},PS:function(){return eJ},uJ:function(){return e0}});var n,o,r,s,a,l,h=i(65321),d=i(9488),u=i(71050),c=i(4669),g=i(9917);i(50203);var p=i(69047);class m{constructor(e,t){this.renderer=e,this.modelProvider=t}get templateId(){return this.renderer.templateId}renderTemplate(e){let t=this.renderer.renderTemplate(e);return{data:t,disposable:g.JT.None}}renderElement(e,t,i,n){if(i.disposable&&i.disposable.dispose(),!i.data)return;let o=this.modelProvider();if(o.isResolved(e))return this.renderer.renderElement(o.get(e),e,i.data,n);let r=new u.A,s=o.resolve(e,r.token);i.disposable={dispose:()=>r.cancel()},this.renderer.renderPlaceholder(e,i.data),s.then(t=>this.renderer.renderElement(t,e,i.data,n))}disposeTemplate(e){e.disposable&&(e.disposable.dispose(),e.disposable=void 0),e.data&&(this.renderer.disposeTemplate(e.data),e.data=void 0)}}class f{constructor(e,t){this.modelProvider=e,this.accessibilityProvider=t}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(e){let t=this.modelProvider();return t.isResolved(e)?this.accessibilityProvider.getAriaLabel(t.get(e)):null}}class _{constructor(e,t,i,n,o={}){let r=()=>this.model,s=n.map(e=>new m(e,r));this.list=new p.aV(e,t,i,s,Object.assign(Object.assign({},o),{accessibilityProvider:o.accessibilityProvider&&new f(r,o.accessibilityProvider)}))}updateOptions(e){this.list.updateOptions(e)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return c.ju.map(this.list.onMouseDblClick,({element:e,index:t,browserEvent:i})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:i}))}get onPointer(){return c.ju.map(this.list.onPointer,({element:e,index:t,browserEvent:i})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:i}))}get onDidChangeSelection(){return c.ju.map(this.list.onDidChangeSelection,({elements:e,indexes:t,browserEvent:i})=>({elements:e.map(e=>this._model.get(e)),indexes:t,browserEvent:i}))}get model(){return this._model}set model(e){this._model=e,this.list.splice(0,this.list.length,(0,d.w6)(e.length))}getFocus(){return this.list.getFocus()}getSelection(){return this.list.getSelection()}getSelectedElements(){return this.getSelection().map(e=>this.model.get(e))}style(e){this.list.style(e)}dispose(){this.list.dispose()}}var v=i(23937);i(98524);class C{constructor(e,t,i){this.columns=e,this.getColumnSize=i,this.templateId=C.TemplateId,this.renderedTemplates=new Set;let n=new Map(t.map(e=>[e.templateId,e]));for(let t of(this.renderers=[],e)){let e=n.get(t.templateId);if(!e)throw Error(`Table cell renderer for template id ${t.templateId} not found.`);this.renderers.push(e)}}renderTemplate(e){let t=(0,h.R3)(e,(0,h.$)(".monaco-table-tr")),i=[],n=[];for(let e=0;enew b(e,t)),a={size:s.reduce((e,t)=>e+t.column.weight,0),views:s.map(e=>({size:e.column.weight,view:e}))};this.splitview=this.disposables.add(new v.z(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:a})),this.splitview.el.style.height=`${i.headerRowHeight}px`,this.splitview.el.style.lineHeight=`${i.headerRowHeight}px`;let l=new C(n,o,e=>this.splitview.getViewSize(e));this.list=this.disposables.add(new p.aV(e,this.domNode,{getHeight:e=>i.getHeight(e),getTemplateId:()=>C.TemplateId},[l],r)),c.ju.any(...s.map(e=>e.onDidLayout))(([e,t])=>l.layoutColumn(e,t),null,this.disposables),this.splitview.onDidSashReset(e=>{let t=n.reduce((e,t)=>e+t.weight,0),i=n[e].weight/t*this.cachedWidth;this.splitview.resizeView(e,i)},null,this.disposables),this.styleElement=(0,h.dS)(this.domNode),this.style({})}get onDidChangeFocus(){return this.list.onDidChangeFocus}get onDidChangeSelection(){return this.list.onDidChangeSelection}get onMouseDblClick(){return this.list.onMouseDblClick}get onPointer(){return this.list.onPointer}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}updateOptions(e){this.list.updateOptions(e)}splice(e,t,i=[]){this.list.splice(e,t,i)}getHTMLElement(){return this.domNode}style(e){let t=[];t.push(`.monaco-table.${this.domId} > .monaco-split-view2 .monaco-sash.vertical::before { + top: ${this.virtualDelegate.headerRowHeight+1}px; + height: calc(100% - ${this.virtualDelegate.headerRowHeight}px); + }`),this.styleElement.textContent=t.join("\n"),this.list.style(e)}getSelectedElements(){return this.list.getSelectedElements()}getSelection(){return this.list.getSelection()}getFocus(){return this.list.getFocus()}dispose(){this.disposables.dispose()}}w.InstanceCount=0,i(4850);var y=i(59069);i(90317),i(3070);var S=i(72010);i(82900),(n=s||(s={}))[n.Unknown=0]="Unknown",n[n.Twistie=1]="Twistie",n[n.Element=2]="Element",n[n.Filter=3]="Filter";class L extends Error{constructor(e,t){super(`TreeError [${e}] ${t}`)}}class k{constructor(e){this.fn=e,this._map=new WeakMap}map(e){let t=this._map.get(e);return t||(t=this.fn(e),this._map.set(e,t)),t}}var N=i(15393),D=i(22571),x=i(53725);function I(e){return"object"==typeof e&&"visibility"in e&&"data"in e}function E(e){switch(e){case!0:return 1;case!1:return 0;default:return e}}function T(e){return"boolean"==typeof e.collapsible}class M{constructor(e,t,i,n={}){this.user=e,this.list=t,this.rootRef=[],this.eventBufferer=new c.E7,this._onDidChangeCollapseState=new c.Q5,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new c.Q5,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new c.Q5,this.onDidSplice=this._onDidSplice.event,this.refilterDelayer=new N.vp(N.ne),this.collapseByDefault=void 0!==n.collapseByDefault&&n.collapseByDefault,this.filter=n.filter,this.autoExpandSingleChildren=void 0!==n.autoExpandSingleChildren&&n.autoExpandSingleChildren,this.root={parent:void 0,element:i,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(e,t,i=x.$.empty(),n={}){if(0===e.length)throw new L(this.user,"Invalid tree location");n.diffIdentityProvider?this.spliceSmart(n.diffIdentityProvider,e,t,i,n):this.spliceSimple(e,t,i,n)}spliceSmart(e,t,i,n,o,r){var s;void 0===n&&(n=x.$.empty()),void 0===r&&(r=null!==(s=o.diffDepth)&&void 0!==s?s:0);let{parentNode:a}=this.getParentNodeWithListIndex(t);if(!a.lastDiffIds)return this.spliceSimple(t,i,n,o);let l=[...n],h=t[t.length-1],d=new D.Hs({getElements:()=>a.lastDiffIds},{getElements:()=>[...a.children.slice(0,h),...l,...a.children.slice(h+i)].map(t=>e.getId(t.element).toString())}).ComputeDiff(!1);if(d.quitEarly)return a.lastDiffIds=void 0,this.spliceSimple(t,i,l,o);let u=t.slice(0,-1),c=(t,i,n)=>{if(r>0)for(let s=0;st.originalStart-e.originalStart))c(g,p,g-(e.originalStart+e.originalLength)),g=e.originalStart,p=e.modifiedStart-h,this.spliceSimple([...u,g],e.originalLength,x.$.slice(l,p,p+e.modifiedLength),o);c(g,p,g)}spliceSimple(e,t,i=x.$.empty(),{onDidCreateNode:n,onDidDeleteNode:o,diffIdentityProvider:r}){let{parentNode:s,listIndex:a,revealed:l,visible:h}=this.getParentNodeWithListIndex(e),u=[],c=x.$.map(i,e=>this.createTreeNode(e,s,s.visible?1:0,l,u,n)),g=e[e.length-1],p=s.children.length>0,m=0;for(let e=g;e>=0&&er.getId(e.element).toString())):s.lastDiffIds=s.children.map(e=>r.getId(e.element).toString()):s.lastDiffIds=void 0;let b=0;for(let e of C)e.visible&&b++;if(0!==b)for(let e=g+f.length;ee+(t.visible?t.renderNodeCount:0),0);this._updateAncestorsRenderNodeCount(s,v-e),this.list.splice(a,e,u)}if(C.length>0&&o){let e=t=>{o(t),t.children.forEach(e)};C.forEach(e)}this._onDidSplice.fire({insertedNodes:f,deletedNodes:C});let w=s.children.length>0;p!==w&&this.setCollapsible(e.slice(0,-1),w);let y=s;for(;y;){if(2===y.visibility){this.refilterDelayer.trigger(()=>this.refilter());break}y=y.parent}}rerender(e){if(0===e.length)throw new L(this.user,"Invalid tree location");let{node:t,listIndex:i,revealed:n}=this.getTreeNodeWithListIndex(e);t.visible&&n&&this.list.splice(i,1,[t])}has(e){return this.hasTreeNode(e)}getListIndex(e){let{listIndex:t,visible:i,revealed:n}=this.getTreeNodeWithListIndex(e);return i&&n?t:-1}getListRenderCount(e){return this.getTreeNode(e).renderNodeCount}isCollapsible(e){return this.getTreeNode(e).collapsible}setCollapsible(e,t){let i=this.getTreeNode(e);void 0===t&&(t=!i.collapsible);let n={collapsible:t};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,n))}isCollapsed(e){return this.getTreeNode(e).collapsed}setCollapsed(e,t,i){let n=this.getTreeNode(e);void 0===t&&(t=!n.collapsed);let o={collapsed:t,recursive:i||!1};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,o))}_setCollapseState(e,t){let{node:i,listIndex:n,revealed:o}=this.getTreeNodeWithListIndex(e),r=this._setListNodeCollapseState(i,n,o,t);if(i!==this.root&&this.autoExpandSingleChildren&&r&&!T(t)&&i.collapsible&&!i.collapsed&&!t.recursive){let n=-1;for(let e=0;e-1){n=-1;break}n=e}}n>-1&&this._setCollapseState([...e,n],t)}return r}_setListNodeCollapseState(e,t,i,n){let o=this._setNodeCollapseState(e,n,!1);if(!i||!e.visible||!o)return o;let r=e.renderNodeCount,s=this.updateNodeAfterCollapseChange(e),a=r-(-1===t?0:1);return this.list.splice(t+1,a,s.slice(1)),o}_setNodeCollapseState(e,t,i){let n;if(e===this.root?n=!1:(T(t)?(n=e.collapsible!==t.collapsible,e.collapsible=t.collapsible):e.collapsible?(n=e.collapsed!==t.collapsed,e.collapsed=t.collapsed):n=!1,n&&this._onDidChangeCollapseState.fire({node:e,deep:i})),!T(t)&&t.recursive)for(let i of e.children)n=this._setNodeCollapseState(i,t,!0)||n;return n}expandTo(e){this.eventBufferer.bufferEvents(()=>{let t=this.getTreeNode(e);for(;t.parent;)t=t.parent,e=e.slice(0,e.length-1),t.collapsed&&this._setCollapseState(e,{collapsed:!1,recursive:!1})})}refilter(){let e=this.root.renderNodeCount,t=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,e,t),this.refilterDelayer.cancel()}createTreeNode(e,t,i,n,o,r){let s={parent:t,element:e.element,children:[],depth:t.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:"boolean"==typeof e.collapsible?e.collapsible:void 0!==e.collapsed,collapsed:void 0===e.collapsed?this.collapseByDefault:e.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},a=this._filterNode(s,i);s.visibility=a,n&&o.push(s);let l=e.children||x.$.empty(),h=n&&0!==a&&!s.collapsed,d=x.$.map(l,e=>this.createTreeNode(e,s,a,h,o,r)),u=0,c=1;for(let e of d)s.children.push(e),c+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=u++);return s.collapsible=s.collapsible||s.children.length>0,s.visibleChildrenCount=u,s.visible=2===a?u>0:1===a,s.visible?s.collapsed||(s.renderNodeCount=c):(s.renderNodeCount=0,n&&o.pop()),null==r||r(s),s}updateNodeAfterCollapseChange(e){let t=e.renderNodeCount,i=[];return this._updateNodeAfterCollapseChange(e,i),this._updateAncestorsRenderNodeCount(e.parent,i.length-t),i}_updateNodeAfterCollapseChange(e,t){if(!1===e.visible)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(let i of e.children)e.renderNodeCount+=this._updateNodeAfterCollapseChange(i,t);return this._onDidChangeRenderNodeCount.fire(e),e.renderNodeCount}updateNodeAfterFilterChange(e){let t=e.renderNodeCount,i=[];return this._updateNodeAfterFilterChange(e,e.visible?1:0,i),this._updateAncestorsRenderNodeCount(e.parent,i.length-t),i}_updateNodeAfterFilterChange(e,t,i,n=!0){let o;if(e!==this.root){if(0===(o=this._filterNode(e,t)))return e.visible=!1,e.renderNodeCount=0,!1;n&&i.push(e)}let r=i.length;e.renderNodeCount=e===this.root?0:1;let s=!1;if(e.collapsed&&0===o)e.visibleChildrenCount=0;else{let t=0;for(let r of e.children)s=this._updateNodeAfterFilterChange(r,o,i,n&&!e.collapsed)||s,r.visible&&(r.visibleChildIndex=t++);e.visibleChildrenCount=t}return e!==this.root&&(e.visible=2===o?s:1===o,e.visibility=o),e.visible?e.collapsed||(e.renderNodeCount+=i.length-r):(e.renderNodeCount=0,n&&i.pop()),this._onDidChangeRenderNodeCount.fire(e),e.visible}_updateAncestorsRenderNodeCount(e,t){if(0!==t)for(;e;)e.renderNodeCount+=t,this._onDidChangeRenderNodeCount.fire(e),e=e.parent}_filterNode(e,t){let i=this.filter?this.filter.filter(e.element,t):1;return"boolean"==typeof i?(e.filterData=void 0,i?1:0):I(i)?(e.filterData=i.data,E(i.visibility)):(e.filterData=void 0,E(i))}hasTreeNode(e,t=this.root){if(!e||0===e.length)return!0;let[i,...n]=e;return!(i<0)&&!(i>t.children.length)&&this.hasTreeNode(n,t.children[i])}getTreeNode(e,t=this.root){if(!e||0===e.length)return t;let[i,...n]=e;if(i<0||i>t.children.length)throw new L(this.user,"Invalid tree location");return this.getTreeNode(n,t.children[i])}getTreeNodeWithListIndex(e){if(0===e.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};let{parentNode:t,listIndex:i,revealed:n,visible:o}=this.getParentNodeWithListIndex(e),r=e[e.length-1];if(r<0||r>t.children.length)throw new L(this.user,"Invalid tree location");let s=t.children[r];return{node:s,listIndex:i,revealed:n,visible:o&&s.visible}}getParentNodeWithListIndex(e,t=this.root,i=0,n=!0,o=!0){let[r,...s]=e;if(r<0||r>t.children.length)throw new L(this.user,"Invalid tree location");for(let e=0;ee.element)),this.data=e}}function W(e){return e instanceof S.kX?new V(e):e}class H{constructor(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=g.JT.None}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(e=>e.element),t)}onDragStart(e,t){var i,n;null===(n=(i=this.dnd).onDragStart)||void 0===n||n.call(i,W(e),t)}onDragOver(e,t,i,n,o=!0){let r=this.dnd.onDragOver(W(e),t&&t.element,i,n),s=this.autoExpandNode!==t;if(s&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=t),void 0===t)return r;if(s&&"boolean"!=typeof r&&r.autoExpand&&(this.autoExpandDisposable=(0,N.Vg)(()=>{let e=this.modelProvider(),i=e.getNodeLocation(t);e.isCollapsed(i)&&e.setCollapsed(i,!1),this.autoExpandNode=void 0},500)),"boolean"==typeof r||!r.accept||void 0===r.bubble||r.feedback){if(!o){let e="boolean"==typeof r?r:r.accept,t="boolean"==typeof r?void 0:r.effect;return{accept:e,effect:t,feedback:[i]}}return r}if(1===r.bubble){let i=this.modelProvider(),o=i.getNodeLocation(t),r=i.getParentNodeLocation(o),s=i.getNode(r),a=r&&i.getListIndex(r);return this.onDragOver(e,s,a,n,!1)}let a=this.modelProvider(),l=a.getNodeLocation(t),h=a.getListIndex(l),u=a.getListRenderCount(l);return Object.assign(Object.assign({},r),{feedback:(0,d.w6)(h,h+u)})}drop(e,t,i,n){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(W(e),t&&t.element,i,n)}onDragEnd(e){var t,i;null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}}class z{constructor(e){this.delegate=e}getHeight(e){return this.delegate.getHeight(e.element)}getTemplateId(e){return this.delegate.getTemplateId(e.element)}hasDynamicHeight(e){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(e.element)}setDynamicHeight(e,t){var i,n;null===(n=(i=this.delegate).setDynamicHeight)||void 0===n||n.call(i,e.element,t)}}(o=a||(a={})).None="none",o.OnHover="onHover",o.Always="always";class K{constructor(e,t=[]){this._elements=t,this.disposables=new g.SL,this.onDidChange=c.ju.forEach(e,e=>this._elements=e,this.disposables)}get elements(){return this._elements}dispose(){this.disposables.dispose()}}class U{constructor(e,t,i,n,o={}){var r;this.renderer=e,this.modelProvider=t,this.activeNodes=n,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=U.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.renderedIndentGuides=new R,this.activeIndentNodes=new Set,this.indentGuidesDisposable=g.JT.None,this.disposables=new g.SL,this.templateId=e.templateId,this.updateOptions(o),c.ju.map(i,e=>e.node)(this.onDidChangeNodeTwistieState,this,this.disposables),null===(r=e.onDidChangeTwistieState)||void 0===r||r.call(e,this.onDidChangeTwistieState,this,this.disposables)}updateOptions(e={}){if(void 0!==e.indent&&(this.indent=(0,P.uZ)(e.indent,0,40)),void 0!==e.renderIndentGuides){let t=e.renderIndentGuides!==a.None;if(t!==this.shouldRenderIndentGuides&&(this.shouldRenderIndentGuides=t,this.indentGuidesDisposable.dispose(),t)){let e=new g.SL;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,e),this.indentGuidesDisposable=e,this._onDidChangeActiveNodes(this.activeNodes.elements)}}void 0!==e.hideTwistiesOfChildlessElements&&(this.hideTwistiesOfChildlessElements=e.hideTwistiesOfChildlessElements)}renderTemplate(e){let t=(0,h.R3)(e,(0,h.$)(".monaco-tl-row")),i=(0,h.R3)(t,(0,h.$)(".monaco-tl-indent")),n=(0,h.R3)(t,(0,h.$)(".monaco-tl-twistie")),o=(0,h.R3)(t,(0,h.$)(".monaco-tl-contents")),r=this.renderer.renderTemplate(o);return{container:e,indent:i,twistie:n,indentGuidesDisposable:g.JT.None,templateData:r}}renderElement(e,t,i,n){"number"==typeof n&&(this.renderedNodes.set(e,{templateData:i,height:n}),this.renderedElements.set(e.element,e));let o=U.DefaultIndent+(e.depth-1)*this.indent;i.twistie.style.paddingLeft=`${o}px`,i.indent.style.width=`${o+this.indent-16}px`,this.renderTwistie(e,i),"number"==typeof n&&this.renderIndentGuides(e,i),this.renderer.renderElement(e,t,i.templateData,n)}disposeElement(e,t,i,n){var o,r;i.indentGuidesDisposable.dispose(),null===(r=(o=this.renderer).disposeElement)||void 0===r||r.call(o,e,t,i.templateData,n),"number"==typeof n&&(this.renderedNodes.delete(e),this.renderedElements.delete(e.element))}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}onDidChangeTwistieState(e){let t=this.renderedElements.get(e);t&&this.onDidChangeNodeTwistieState(t)}onDidChangeNodeTwistieState(e){let t=this.renderedNodes.get(e);t&&(this.renderTwistie(e,t.templateData),this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderIndentGuides(e,t.templateData))}renderTwistie(e,t){t.twistie.classList.remove(...A.lA.treeItemExpanded.classNamesArray);let i=!1;this.renderer.renderTwistie&&(i=this.renderer.renderTwistie(e.element,t.twistie)),e.collapsible&&(!this.hideTwistiesOfChildlessElements||e.visibleChildrenCount>0)?(i||t.twistie.classList.add(...A.lA.treeItemExpanded.classNamesArray),t.twistie.classList.add("collapsible"),t.twistie.classList.toggle("collapsed",e.collapsed)):t.twistie.classList.remove("collapsible","collapsed"),e.collapsible?t.container.setAttribute("aria-expanded",String(!e.collapsed)):t.container.removeAttribute("aria-expanded")}renderIndentGuides(e,t){if((0,h.PO)(t.indent),t.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;let i=new g.SL,n=this.modelProvider(),o=e;for(;;){let e=n.getNodeLocation(o),r=n.getParentNodeLocation(e);if(!r)break;let s=n.getNode(r),a=(0,h.$)(".indent-guide",{style:`width: ${this.indent}px`});this.activeIndentNodes.has(s)&&a.classList.add("active"),0===t.indent.childElementCount?t.indent.appendChild(a):t.indent.insertBefore(a,t.indent.firstElementChild),this.renderedIndentGuides.add(s,a),i.add((0,g.OF)(()=>this.renderedIndentGuides.delete(s,a))),o=s}t.indentGuidesDisposable=i}_onDidChangeActiveNodes(e){if(!this.shouldRenderIndentGuides)return;let t=new Set,i=this.modelProvider();e.forEach(e=>{let n=i.getNodeLocation(e);try{let o=i.getParentNodeLocation(n);e.collapsible&&e.children.length>0&&!e.collapsed?t.add(e):o&&t.add(i.getNode(o))}catch(e){}}),this.activeIndentNodes.forEach(e=>{t.has(e)||this.renderedIndentGuides.forEach(e,e=>e.classList.remove("active"))}),t.forEach(e=>{this.activeIndentNodes.has(e)||this.renderedIndentGuides.forEach(e,e=>e.classList.add("active"))}),this.activeIndentNodes=t}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),(0,g.B9)(this.disposables)}}U.DefaultIndent=8;class ${constructor(e,t,i){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=i,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new g.SL,e.onWillRefilter(this.reset,this,this.disposables)}get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}filter(e,t){let i=1;if(this._filter){let n=this._filter.filter(e,t);if(0===(i="boolean"==typeof n?n?1:0:I(n)?E(n.visibility):n))return!1}if(this._totalCount++,!this._pattern)return this._matchCount++,{data:O.CL.Default,visibility:i};let n=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),o=Array.isArray(n)?n:[n];for(let e of o){let t=e&&e.toString();if(void 0===t)return{data:O.CL.Default,visibility:i};let n=(0,O.EW)(this._pattern,this._lowercasePattern,0,t,t.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});if(n)return this._matchCount++,1===o.length?{data:n,visibility:i}:{data:{label:t,score:n},visibility:i}}return this.tree.findMode===l.Filter?2:{data:O.CL.Default,visibility:i}}reset(){this._totalCount=0,this._matchCount=0}dispose(){(0,g.B9)(this.disposables)}}(r=l||(l={}))[r.Highlight=0]="Highlight",r[r.Filter=1]="Filter";class j{constructor(e,t,i,n,o){var r;this.tree=e,this.view=i,this.filter=n,this.contextViewProvider=o,this._pattern="",this.width=0,this._onDidChangeMode=new c.Q5,this.onDidChangeMode=this._onDidChangeMode.event,this._onDidChangePattern=new c.Q5,this._onDidChangeOpenState=new c.Q5,this.onDidChangeOpenState=this._onDidChangeOpenState.event,this.enabledDisposables=new g.SL,this.disposables=new g.SL,this._mode=null!==(r=e.options.defaultFindMode)&&void 0!==r?r:l.Highlight,t.onDidSplice(this.onDidSpliceModel,this,this.disposables)}get pattern(){return this._pattern}get mode(){return this._mode}set mode(e){e!==this._mode&&(this._mode=e,this.widget&&(this.widget.mode=this._mode),this.tree.refilter(),this.render(),this._onDidChangeMode.fire(e))}onDidSpliceModel(){this.widget&&0!==this.pattern.length&&(this.tree.refilter(),this.render())}render(){var e,t;let i=this.filter.totalCount>0&&0===this.filter.matchCount;this.pattern&&i?null===(e=this.widget)||void 0===e||e.showMessage({type:2,content:(0,B.NC)("not found","No elements found.")}):null===(t=this.widget)||void 0===t||t.clearMessage()}shouldAllowFocus(e){return!this.widget||!this.pattern||this._mode===l.Filter||this.filter.totalCount>0&&this.filter.matchCount<=1||!O.CL.isDefault(e.filterData)}style(e){var t;this.styles=e,null===(t=this.widget)||void 0===t||t.style(e)}layout(e){var t;this.width=e,null===(t=this.widget)||void 0===t||t.layout(e)}dispose(){this._onDidChangePattern.dispose(),this.enabledDisposables.dispose(),this.disposables.dispose()}}function q(e){let t=s.Unknown;return(0,h.uU)(e.browserEvent.target,"monaco-tl-twistie","monaco-tl-row")?t=s.Twistie:(0,h.uU)(e.browserEvent.target,"monaco-tl-contents","monaco-tl-row")?t=s.Element:(0,h.uU)(e.browserEvent.target,"monaco-tree-type-filter","monaco-list")&&(t=s.Filter),{browserEvent:e.browserEvent,element:e.element?e.element.element:null,target:t}}function G(e,t){t(e),e.children.forEach(e=>G(e,t))}class Q{constructor(e,t){this.getFirstViewElementWithTrait=e,this.identityProvider=t,this.nodes=[],this._onDidChange=new c.Q5,this.onDidChange=this._onDidChange.event}get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}set(e,t){!(null==t?void 0:t.__forceEvent)&&(0,d.fS)(this.nodes,e)||this._set(e,!1,t)}_set(e,t,i){if(this.nodes=[...e],this.elements=void 0,this._nodeSet=void 0,!t){let e=this;this._onDidChange.fire({get elements(){return e.get()},browserEvent:i})}}get(){return this.elements||(this.elements=this.nodes.map(e=>e.element)),[...this.elements]}getNodes(){return this.nodes}has(e){return this.nodeSet.has(e)}onDidModelSplice({insertedNodes:e,deletedNodes:t}){if(!this.identityProvider){let e=this.createNodeSet(),i=t=>e.delete(t);t.forEach(e=>G(e,i)),this.set([...e.values()]);return}let i=new Set,n=e=>i.add(this.identityProvider.getId(e.element).toString());t.forEach(e=>G(e,n));let o=new Map,r=e=>o.set(this.identityProvider.getId(e.element).toString(),e);e.forEach(e=>G(e,r));let s=[];for(let e of this.nodes){let t=this.identityProvider.getId(e.element).toString(),n=i.has(t);if(n){let e=o.get(t);e&&s.push(e)}else s.push(e)}if(this.nodes.length>0&&0===s.length){let e=this.getFirstViewElementWithTrait();e&&s.push(e)}this._set(s,!0)}createNodeSet(){let e=new Set;for(let t of this.nodes)e.add(t);return e}}class Z extends p.sx{constructor(e,t){super(e),this.tree=t}onViewPointer(e){if((0,p.iK)(e.browserEvent.target)||(0,p.cK)(e.browserEvent.target)||(0,p.hD)(e.browserEvent.target))return;let t=e.element;if(!t||this.isSelectionRangeChangeEvent(e)||this.isSelectionSingleChangeEvent(e))return super.onViewPointer(e);let i=e.browserEvent.target,n=i.classList.contains("monaco-tl-twistie")||i.classList.contains("monaco-icon-label")&&i.classList.contains("folder-icon")&&e.browserEvent.offsetX<16,o=!1;if((o="function"==typeof this.tree.expandOnlyOnTwistieClick?this.tree.expandOnlyOnTwistieClick(t.element):!!this.tree.expandOnlyOnTwistieClick)&&!n&&2!==e.browserEvent.detail||!this.tree.expandOnDoubleClick&&2===e.browserEvent.detail)return super.onViewPointer(e);if(t.collapsible){let i=this.tree.model,r=i.getNodeLocation(t),s=e.browserEvent.altKey;if(this.tree.setFocus([r]),i.setCollapsed(r,void 0,s),o&&n)return}super.onViewPointer(e)}onDoubleClick(e){let t=e.browserEvent.target.classList.contains("monaco-tl-twistie");!t&&this.tree.expandOnDoubleClick&&super.onDoubleClick(e)}}class Y extends p.aV{constructor(e,t,i,n,o,r,s,a){super(e,t,i,n,a),this.focusTrait=o,this.selectionTrait=r,this.anchorTrait=s}createMouseController(e){return new Z(this,e.tree)}splice(e,t,i=[]){let n;if(super.splice(e,t,i),0===i.length)return;let o=[],r=[];i.forEach((t,i)=>{this.focusTrait.has(t)&&o.push(e+i),this.selectionTrait.has(t)&&r.push(e+i),this.anchorTrait.has(t)&&(n=e+i)}),o.length>0&&super.setFocus((0,d.EB)([...super.getFocus(),...o])),r.length>0&&super.setSelection((0,d.EB)([...super.getSelection(),...r])),"number"==typeof n&&super.setAnchor(n)}setFocus(e,t,i=!1){super.setFocus(e,t),i||this.focusTrait.set(e.map(e=>this.element(e)),t)}setSelection(e,t,i=!1){super.setSelection(e,t),i||this.selectionTrait.set(e.map(e=>this.element(e)),t)}setAnchor(e,t=!1){super.setAnchor(e),t||(void 0===e?this.anchorTrait.set([]):this.anchorTrait.set([this.element(e)]))}}class J{constructor(e,t,i,n,o={}){var r,s,l;let d;this._user=e,this._options=o,this.eventBufferer=new c.E7,this.onDidChangeFindOpenState=c.ju.None,this.disposables=new g.SL,this._onWillRefilter=new c.Q5,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new c.Q5;let u=new z(i),m=new c.ZD,f=new c.ZD,_=this.disposables.add(new K(f.event));for(let e of(this.renderers=n.map(e=>new U(e,()=>this.model,m.event,_,o)),this.renderers))this.disposables.add(e);o.keyboardNavigationLabelProvider&&(d=new $(this,o.keyboardNavigationLabelProvider,o.filter),o=Object.assign(Object.assign({},o),{filter:d}),this.disposables.add(d)),this.focus=new Q(()=>this.view.getFocusedElements()[0],o.identityProvider),this.selection=new Q(()=>this.view.getSelectedElements()[0],o.identityProvider),this.anchor=new Q(()=>this.view.getAnchorElement(),o.identityProvider),this.view=new Y(e,t,u,this.renderers,this.focus,this.selection,this.anchor,Object.assign(Object.assign({},(s=()=>this.model,(l=o)&&Object.assign(Object.assign({},l),{identityProvider:l.identityProvider&&{getId:e=>l.identityProvider.getId(e.element)},dnd:l.dnd&&new H(s,l.dnd),multipleSelectionController:l.multipleSelectionController&&{isSelectionSingleChangeEvent:e=>l.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},e),{element:e.element})),isSelectionRangeChangeEvent:e=>l.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},e),{element:e.element}))},accessibilityProvider:l.accessibilityProvider&&Object.assign(Object.assign({},l.accessibilityProvider),{getSetSize(e){let t=s(),i=t.getNodeLocation(e),n=t.getParentNodeLocation(i),o=t.getNode(n);return o.visibleChildrenCount},getPosInSet:e=>e.visibleChildIndex+1,isChecked:l.accessibilityProvider&&l.accessibilityProvider.isChecked?e=>l.accessibilityProvider.isChecked(e.element):void 0,getRole:l.accessibilityProvider&&l.accessibilityProvider.getRole?e=>l.accessibilityProvider.getRole(e.element):()=>"treeitem",getAriaLabel:e=>l.accessibilityProvider.getAriaLabel(e.element),getWidgetAriaLabel:()=>l.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:l.accessibilityProvider&&l.accessibilityProvider.getWidgetRole?()=>l.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:l.accessibilityProvider&&l.accessibilityProvider.getAriaLevel?e=>l.accessibilityProvider.getAriaLevel(e.element):e=>e.depth,getActiveDescendantId:l.accessibilityProvider.getActiveDescendantId&&(e=>l.accessibilityProvider.getActiveDescendantId(e.element))}),keyboardNavigationLabelProvider:l.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},l.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:e=>l.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)})}))),{tree:this})),this.model=this.createModel(e,this.view,o),m.input=this.model.onDidChangeCollapseState;let v=c.ju.forEach(this.model.onDidSplice,e=>{this.eventBufferer.bufferEvents(()=>{this.focus.onDidModelSplice(e),this.selection.onDidModelSplice(e)})},this.disposables);if(v(()=>null,null,this.disposables),f.input=c.ju.chain(c.ju.any(v,this.focus.onDidChange,this.selection.onDidChange)).debounce(()=>null,0).map(()=>{let e=new Set;for(let t of this.focus.getNodes())e.add(t);for(let t of this.selection.getNodes())e.add(t);return[...e.values()]}).event,!1!==o.keyboardSupport){let e=c.ju.chain(this.view.onKeyDown).filter(e=>!(0,p.cK)(e.target)).map(e=>new y.y(e));e.filter(e=>15===e.keyCode).on(this.onLeftArrow,this,this.disposables),e.filter(e=>17===e.keyCode).on(this.onRightArrow,this,this.disposables),e.filter(e=>10===e.keyCode).on(this.onSpace,this,this.disposables)}(null===(r=o.findWidgetEnabled)||void 0===r||r)&&o.keyboardNavigationLabelProvider&&o.contextViewProvider?(this.findController=new j(this,this.model,this.view,d,o.contextViewProvider),this.focusNavigationFilter=e=>this.findController.shouldAllowFocus(e),this.onDidChangeFindOpenState=this.findController.onDidChangeOpenState,this.disposables.add(this.findController),this.onDidChangeFindMode=this.findController.onDidChangeMode):this.onDidChangeFindMode=c.ju.None,this.styleElement=(0,h.dS)(this.view.getHTMLElement()),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===a.Always)}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return c.ju.filter(c.ju.map(this.view.onMouseDblClick,q),e=>e.target!==s.Filter)}get onPointer(){return c.ju.map(this.view.onPointer,q)}get onDidFocus(){return this.view.onDidFocus}get onDidChangeModel(){return c.ju.signal(this.model.onDidSplice)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get findMode(){var e,t;return null!==(t=null===(e=this.findController)||void 0===e?void 0:e.mode)&&void 0!==t?t:l.Highlight}set findMode(e){this.findController&&(this.findController.mode=e)}get expandOnDoubleClick(){return void 0===this._options.expandOnDoubleClick||this._options.expandOnDoubleClick}get expandOnlyOnTwistieClick(){return void 0===this._options.expandOnlyOnTwistieClick||this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}updateOptions(e={}){for(let t of(this._options=Object.assign(Object.assign({},this._options),e),this.renderers))t.updateOptions(e);this.view.updateOptions(this._options),this._onDidUpdateOptions.fire(this._options),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===a.Always)}get options(){return this._options}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(e){this.view.scrollTop=e}domFocus(){this.view.domFocus()}layout(e,t){var i;this.view.layout(e,t),(0,F.hj)(t)&&(null===(i=this.findController)||void 0===i||i.layout(t))}style(e){var t;let i=`.${this.view.domId}`,n=[];e.treeIndentGuidesStroke&&(n.push(`.monaco-list${i}:hover .monaco-tl-indent > .indent-guide, .monaco-list${i}.always .monaco-tl-indent > .indent-guide { border-color: ${e.treeIndentGuidesStroke.transparent(.4)}; }`),n.push(`.monaco-list${i} .monaco-tl-indent > .indent-guide.active { border-color: ${e.treeIndentGuidesStroke}; }`)),this.styleElement.textContent=n.join("\n"),null===(t=this.findController)||void 0===t||t.style(e),this.view.style(e)}getParentElement(e){let t=this.model.getParentNodeLocation(e),i=this.model.getNode(t);return i.element}getFirstElementChild(e){return this.model.getFirstElementChild(e)}getNode(e){return this.model.getNode(e)}collapse(e,t=!1){return this.model.setCollapsed(e,!0,t)}expand(e,t=!1){return this.model.setCollapsed(e,!1,t)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(e,t){let i=e.map(e=>this.model.getNode(e));this.selection.set(i,t);let n=e.map(e=>this.model.getListIndex(e)).filter(e=>e>-1);this.view.setSelection(n,t,!0)}getSelection(){return this.selection.get()}setFocus(e,t){let i=e.map(e=>this.model.getNode(e));this.focus.set(i,t);let n=e.map(e=>this.model.getListIndex(e)).filter(e=>e>-1);this.view.setFocus(n,t,!0)}getFocus(){return this.focus.get()}reveal(e,t){this.model.expandTo(e);let i=this.model.getListIndex(e);-1!==i&&this.view.reveal(i,t)}onLeftArrow(e){e.preventDefault(),e.stopPropagation();let t=this.view.getFocusedElements();if(0===t.length)return;let i=t[0],n=this.model.getNodeLocation(i),o=this.model.setCollapsed(n,!0);if(!o){let e=this.model.getParentNodeLocation(n);if(!e)return;let t=this.model.getListIndex(e);this.view.reveal(t),this.view.setFocus([t])}}onRightArrow(e){e.preventDefault(),e.stopPropagation();let t=this.view.getFocusedElements();if(0===t.length)return;let i=t[0],n=this.model.getNodeLocation(i),o=this.model.setCollapsed(n,!1);if(!o){if(!i.children.some(e=>e.visible))return;let[e]=this.view.getFocus(),t=e+1;this.view.reveal(t),this.view.setFocus([t])}}onSpace(e){e.preventDefault(),e.stopPropagation();let t=this.view.getFocusedElements();if(0===t.length)return;let i=t[0],n=this.model.getNodeLocation(i),o=e.browserEvent.altKey;this.model.setCollapsed(n,void 0,o)}dispose(){(0,g.B9)(this.disposables),this.view.dispose()}}class X{constructor(e,t,i={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new M(e,t,null,i),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,i.sorter&&(this.sorter={compare:(e,t)=>i.sorter.compare(e.element,t.element)}),this.identityProvider=i.identityProvider}setChildren(e,t=x.$.empty(),i={}){let n=this.getElementLocation(e);this._setChildren(n,this.preserveCollapseState(t),i)}_setChildren(e,t=x.$.empty(),i){let n=new Set,o=new Set;this.model.splice([...e,0],Number.MAX_VALUE,t,Object.assign(Object.assign({},i),{onDidCreateNode:e=>{var t;if(null!==e.element){if(n.add(e.element),this.nodes.set(e.element,e),this.identityProvider){let t=this.identityProvider.getId(e.element).toString();o.add(t),this.nodesByIdentity.set(t,e)}null===(t=i.onDidCreateNode)||void 0===t||t.call(i,e)}},onDidDeleteNode:e=>{var t;if(null!==e.element){if(n.has(e.element)||this.nodes.delete(e.element),this.identityProvider){let t=this.identityProvider.getId(e.element).toString();o.has(t)||this.nodesByIdentity.delete(t)}null===(t=i.onDidDeleteNode)||void 0===t||t.call(i,e)}}}))}preserveCollapseState(e=x.$.empty()){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),x.$.map(e,e=>{let t=this.nodes.get(e.element);if(!t&&this.identityProvider){let i=this.identityProvider.getId(e.element).toString();t=this.nodesByIdentity.get(i)}if(!t)return Object.assign(Object.assign({},e),{children:this.preserveCollapseState(e.children)});let i="boolean"==typeof e.collapsible?e.collapsible:t.collapsible,n=void 0!==e.collapsed?e.collapsed:t.collapsed;return Object.assign(Object.assign({},e),{collapsible:i,collapsed:n,children:this.preserveCollapseState(e.children)})})}rerender(e){let t=this.getElementLocation(e);this.model.rerender(t)}getFirstElementChild(e=null){let t=this.getElementLocation(e);return this.model.getFirstElementChild(t)}has(e){return this.nodes.has(e)}getListIndex(e){let t=this.getElementLocation(e);return this.model.getListIndex(t)}getListRenderCount(e){let t=this.getElementLocation(e);return this.model.getListRenderCount(t)}isCollapsible(e){let t=this.getElementLocation(e);return this.model.isCollapsible(t)}setCollapsible(e,t){let i=this.getElementLocation(e);return this.model.setCollapsible(i,t)}isCollapsed(e){let t=this.getElementLocation(e);return this.model.isCollapsed(t)}setCollapsed(e,t,i){let n=this.getElementLocation(e);return this.model.setCollapsed(n,t,i)}expandTo(e){let t=this.getElementLocation(e);this.model.expandTo(t)}refilter(){this.model.refilter()}getNode(e=null){if(null===e)return this.model.getNode(this.model.rootRef);let t=this.nodes.get(e);if(!t)throw new L(this.user,`Tree element not found: ${e}`);return t}getNodeLocation(e){return e.element}getParentNodeLocation(e){if(null===e)throw new L(this.user,"Invalid getParentNodeLocation call");let t=this.nodes.get(e);if(!t)throw new L(this.user,`Tree element not found: ${e}`);let i=this.model.getNodeLocation(t),n=this.model.getParentNodeLocation(i),o=this.model.getNode(n);return o.element}getElementLocation(e){if(null===e)return[];let t=this.nodes.get(e);if(!t)throw new L(this.user,`Tree element not found: ${e}`);return this.model.getNodeLocation(t)}}function ee(e){let t=[e.element],i=e.incompressible||!1;return{element:{elements:t,incompressible:i},children:x.$.map(x.$.from(e.children),ee),collapsible:e.collapsible,collapsed:e.collapsed}}function et(e){let t,i;let n=[e.element],o=e.incompressible||!1;for(;[i,t]=x.$.consume(x.$.from(e.children),2),1===i.length&&!i[0].incompressible;)n.push((e=i[0]).element);return{element:{elements:n,incompressible:o},children:x.$.map(x.$.concat(i,t),et),collapsible:e.collapsible,collapsed:e.collapsed}}function ei(e){return function e(t,i=0){let n;return(n=ie(t,0)),0===i&&t.element.incompressible)?{element:t.element.elements[i],children:n,incompressible:!0,collapsible:t.collapsible,collapsed:t.collapsed}:{element:t.element.elements[i],children:n,collapsible:t.collapsible,collapsed:t.collapsed}}(e,0)}let en=e=>({getId:t=>t.elements.map(t=>e.getId(t).toString()).join("\x00")});class eo{constructor(e,t,i={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.model=new X(e,t,i),this.enabled=void 0===i.compressionEnabled||i.compressionEnabled,this.identityProvider=i.identityProvider}get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}setChildren(e,t=x.$.empty(),i){let n=i.diffIdentityProvider&&en(i.diffIdentityProvider);if(null===e){let e=x.$.map(t,this.enabled?et:ee);this._setChildren(null,e,{diffIdentityProvider:n,diffDepth:1/0});return}let o=this.nodes.get(e);if(!o)throw Error("Unknown compressed tree node");let r=this.model.getNode(o),s=this.model.getParentNodeLocation(o),a=this.model.getNode(s),l=ei(r),h=function e(t,i,n){return t.element===i?Object.assign(Object.assign({},t),{children:n}):Object.assign(Object.assign({},t),{children:x.$.map(x.$.from(t.children),t=>e(t,i,n))})}(l,e,t),d=(this.enabled?et:ee)(h),u=a.children.map(e=>e===r?d:e);this._setChildren(a.element,u,{diffIdentityProvider:n,diffDepth:r.depth-a.depth})}setCompressionEnabled(e){if(e===this.enabled)return;this.enabled=e;let t=this.model.getNode(),i=t.children,n=x.$.map(i,ei),o=x.$.map(n,e?et:ee);this._setChildren(null,o,{diffIdentityProvider:this.identityProvider,diffDepth:1/0})}_setChildren(e,t,i){let n=new Set;this.model.setChildren(e,t,Object.assign(Object.assign({},i),{onDidCreateNode:e=>{for(let t of e.element.elements)n.add(t),this.nodes.set(t,e.element)},onDidDeleteNode:e=>{for(let t of e.element.elements)n.has(t)||this.nodes.delete(t)}}))}has(e){return this.nodes.has(e)}getListIndex(e){let t=this.getCompressedNode(e);return this.model.getListIndex(t)}getListRenderCount(e){let t=this.getCompressedNode(e);return this.model.getListRenderCount(t)}getNode(e){if(void 0===e)return this.model.getNode();let t=this.getCompressedNode(e);return this.model.getNode(t)}getNodeLocation(e){let t=this.model.getNodeLocation(e);return null===t?null:t.elements[t.elements.length-1]}getParentNodeLocation(e){let t=this.getCompressedNode(e),i=this.model.getParentNodeLocation(t);return null===i?null:i.elements[i.elements.length-1]}getFirstElementChild(e){let t=this.getCompressedNode(e);return this.model.getFirstElementChild(t)}isCollapsible(e){let t=this.getCompressedNode(e);return this.model.isCollapsible(t)}setCollapsible(e,t){let i=this.getCompressedNode(e);return this.model.setCollapsible(i,t)}isCollapsed(e){let t=this.getCompressedNode(e);return this.model.isCollapsed(t)}setCollapsed(e,t,i){let n=this.getCompressedNode(e);return this.model.setCollapsed(n,t,i)}expandTo(e){let t=this.getCompressedNode(e);this.model.expandTo(t)}rerender(e){let t=this.getCompressedNode(e);this.model.rerender(t)}refilter(){this.model.refilter()}getCompressedNode(e){if(null===e)return null;let t=this.nodes.get(e);if(!t)throw new L(this.user,`Tree element not found: ${e}`);return t}}let er=e=>e[e.length-1];class es{constructor(e,t){this.unwrapper=e,this.node=t}get element(){return null===this.node.element?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map(e=>new es(this.unwrapper,e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class ea{constructor(e,t,i={}){var n;this.rootRef=null,this.elementMapper=i.elementMapper||er;let o=e=>this.elementMapper(e.elements);this.nodeMapper=new k(e=>new es(o,e)),this.model=new eo(e,(n=this.nodeMapper,{splice(e,i,o){t.splice(e,i,o.map(e=>n.map(e)))},updateElementHeight(e,i){t.updateElementHeight(e,i)}}),Object.assign(Object.assign({},i),{identityProvider:i.identityProvider&&{getId:e=>i.identityProvider.getId(o(e))},sorter:i.sorter&&{compare:(e,t)=>i.sorter.compare(e.elements[0],t.elements[0])},filter:i.filter&&{filter:(e,t)=>i.filter.filter(o(e),t)}}))}get onDidSplice(){return c.ju.map(this.model.onDidSplice,({insertedNodes:e,deletedNodes:t})=>({insertedNodes:e.map(e=>this.nodeMapper.map(e)),deletedNodes:t.map(e=>this.nodeMapper.map(e))}))}get onDidChangeCollapseState(){return c.ju.map(this.model.onDidChangeCollapseState,({node:e,deep:t})=>({node:this.nodeMapper.map(e),deep:t}))}get onDidChangeRenderNodeCount(){return c.ju.map(this.model.onDidChangeRenderNodeCount,e=>this.nodeMapper.map(e))}setChildren(e,t=x.$.empty(),i={}){this.model.setChildren(e,t,i)}setCompressionEnabled(e){this.model.setCompressionEnabled(e)}has(e){return this.model.has(e)}getListIndex(e){return this.model.getListIndex(e)}getListRenderCount(e){return this.model.getListRenderCount(e)}getNode(e){return this.nodeMapper.map(this.model.getNode(e))}getNodeLocation(e){return e.element}getParentNodeLocation(e){return this.model.getParentNodeLocation(e)}getFirstElementChild(e){let t=this.model.getFirstElementChild(e);return null==t?t:this.elementMapper(t.elements)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}setCollapsed(e,t,i){return this.model.setCollapsed(e,t,i)}expandTo(e){return this.model.expandTo(e)}rerender(e){return this.model.rerender(e)}refilter(){return this.model.refilter()}getCompressedTreeNode(e=null){return this.model.getNode(e)}}var el=i(49898);class eh extends J{constructor(e,t,i,n,o={}){super(e,t,i,n,o),this.user=e}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}setChildren(e,t=x.$.empty(),i){this.model.setChildren(e,t,i)}rerender(e){if(void 0===e){this.view.rerender();return}this.model.rerender(e)}hasElement(e){return this.model.has(e)}createModel(e,t,i){return new X(e,t,i)}}class ed{constructor(e,t){this._compressedTreeNodeProvider=e,this.renderer=t,this.templateId=t.templateId,t.onDidChangeTwistieState&&(this.onDidChangeTwistieState=t.onDidChangeTwistieState)}get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}renderTemplate(e){let t=this.renderer.renderTemplate(e);return{compressedTreeNode:void 0,data:t}}renderElement(e,t,i,n){let o=this.compressedTreeNodeProvider.getCompressedTreeNode(e.element);1===o.element.elements.length?(i.compressedTreeNode=void 0,this.renderer.renderElement(e,t,i.data,n)):(i.compressedTreeNode=o,this.renderer.renderCompressedElements(o,t,i.data,n))}disposeElement(e,t,i,n){var o,r,s,a;i.compressedTreeNode?null===(r=(o=this.renderer).disposeCompressedElements)||void 0===r||r.call(o,i.compressedTreeNode,t,i.data,n):null===(a=(s=this.renderer).disposeElement)||void 0===a||a.call(s,e,t,i.data,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.data)}renderTwistie(e,t){return!!this.renderer.renderTwistie&&this.renderer.renderTwistie(e,t)}}!function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);r>3&&s&&Object.defineProperty(t,i,s)}([el.H],ed.prototype,"compressedTreeNodeProvider",null);class eu extends eh{constructor(e,t,i,n,o={}){let r=()=>this,s=n.map(e=>new ed(r,e));super(e,t,i,s,o&&Object.assign(Object.assign({},o),{keyboardNavigationLabelProvider:o.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(e){let t;try{t=r().getCompressedTreeNode(e)}catch(t){return o.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e)}return 1===t.element.elements.length?o.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e):o.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.element.elements)}}}))}setChildren(e,t=x.$.empty(),i){this.model.setChildren(e,t,i)}createModel(e,t,i){return new ea(e,t,i)}updateOptions(e={}){super.updateOptions(e),void 0!==e.compressionEnabled&&this.model.setCompressionEnabled(e.compressionEnabled)}getCompressedTreeNode(e=null){return this.model.getCompressedTreeNode(e)}}var ec=i(17301),eg=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};function ep(e){return Object.assign(Object.assign({},e),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function em(e,t){return!!t.parent&&(t.parent===e||em(e,t.parent))}class ef{constructor(e){this.node=e}get element(){return this.node.element.element}get children(){return this.node.children.map(e=>new ef(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class e_{constructor(e,t,i){this.renderer=e,this.nodeMapper=t,this.onDidChangeTwistieState=i,this.renderedNodes=new Map,this.templateId=e.templateId}renderTemplate(e){let t=this.renderer.renderTemplate(e);return{templateData:t}}renderElement(e,t,i,n){this.renderer.renderElement(this.nodeMapper.map(e),t,i.templateData,n)}renderTwistie(e,t){return e.slow?(t.classList.add(...A.lA.treeItemLoading.classNamesArray),!0):(t.classList.remove(...A.lA.treeItemLoading.classNamesArray),!1)}disposeElement(e,t,i,n){var o,r;null===(r=(o=this.renderer).disposeElement)||void 0===r||r.call(o,this.nodeMapper.map(e),t,i.templateData,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear()}}function ev(e){return{browserEvent:e.browserEvent,elements:e.elements.map(e=>e.element)}}function eC(e){return{browserEvent:e.browserEvent,element:e.element&&e.element.element,target:e.target}}class eb extends S.kX{constructor(e){super(e.elements.map(e=>e.element)),this.data=e}}function ew(e){return e instanceof S.kX?new eb(e):e}class ey{constructor(e){this.dnd=e}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(e=>e.element),t)}onDragStart(e,t){var i,n;null===(n=(i=this.dnd).onDragStart)||void 0===n||n.call(i,ew(e),t)}onDragOver(e,t,i,n,o=!0){return this.dnd.onDragOver(ew(e),t&&t.element,i,n)}drop(e,t,i,n){this.dnd.drop(ew(e),t&&t.element,i,n)}onDragEnd(e){var t,i;null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}}function eS(e){return e&&Object.assign(Object.assign({},e),{collapseByDefault:!0,identityProvider:e.identityProvider&&{getId:t=>e.identityProvider.getId(t.element)},dnd:e.dnd&&new ey(e.dnd),multipleSelectionController:e.multipleSelectionController&&{isSelectionSingleChangeEvent:t=>e.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},t),{element:t.element})),isSelectionRangeChangeEvent:t=>e.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},t),{element:t.element}))},accessibilityProvider:e.accessibilityProvider&&Object.assign(Object.assign({},e.accessibilityProvider),{getPosInSet:void 0,getSetSize:void 0,getRole:e.accessibilityProvider.getRole?t=>e.accessibilityProvider.getRole(t.element):()=>"treeitem",isChecked:e.accessibilityProvider.isChecked?t=>{var i;return!!(null===(i=e.accessibilityProvider)||void 0===i?void 0:i.isChecked(t.element))}:void 0,getAriaLabel:t=>e.accessibilityProvider.getAriaLabel(t.element),getWidgetAriaLabel:()=>e.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:e.accessibilityProvider.getWidgetRole?()=>e.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:e.accessibilityProvider.getAriaLevel&&(t=>e.accessibilityProvider.getAriaLevel(t.element)),getActiveDescendantId:e.accessibilityProvider.getActiveDescendantId&&(t=>e.accessibilityProvider.getActiveDescendantId(t.element))}),filter:e.filter&&{filter:(t,i)=>e.filter.filter(t.element,i)},keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},e.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:t=>e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t.element)}),sorter:void 0,expandOnlyOnTwistieClick:void 0===e.expandOnlyOnTwistieClick?void 0:"function"!=typeof e.expandOnlyOnTwistieClick?e.expandOnlyOnTwistieClick:t=>e.expandOnlyOnTwistieClick(t.element),additionalScrollHeight:e.additionalScrollHeight})}function eL(e,t){t(e),e.children.forEach(e=>eL(e,t))}class ek{constructor(e,t,i,n,o,r={}){this.user=e,this.dataSource=o,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new c.Q5,this._onDidChangeNodeSlowState=new c.Q5,this.nodeMapper=new k(e=>new ef(e)),this.disposables=new g.SL,this.identityProvider=r.identityProvider,this.autoExpandSingleChildren=void 0!==r.autoExpandSingleChildren&&r.autoExpandSingleChildren,this.sorter=r.sorter,this.collapseByDefault=r.collapseByDefault,this.tree=this.createTree(e,t,i,n,r),this.onDidChangeFindMode=this.tree.onDidChangeFindMode,this.root=ep({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=Object.assign(Object.assign({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}get onDidChangeFocus(){return c.ju.map(this.tree.onDidChangeFocus,ev)}get onDidChangeSelection(){return c.ju.map(this.tree.onDidChangeSelection,ev)}get onMouseDblClick(){return c.ju.map(this.tree.onMouseDblClick,eC)}get onPointer(){return c.ju.map(this.tree.onPointer,eC)}get onDidFocus(){return this.tree.onDidFocus}get onDidChangeModel(){return this.tree.onDidChangeModel}get onDidChangeCollapseState(){return this.tree.onDidChangeCollapseState}get onDidChangeFindOpenState(){return this.tree.onDidChangeFindOpenState}get onDidDispose(){return this.tree.onDidDispose}createTree(e,t,i,n,o){let r=new z(i),s=n.map(e=>new e_(e,this.nodeMapper,this._onDidChangeNodeSlowState.event)),a=eS(o)||{};return new eh(e,t,r,s,a)}updateOptions(e={}){this.tree.updateOptions(e)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(e){this.tree.scrollTop=e}domFocus(){this.tree.domFocus()}layout(e,t){this.tree.layout(e,t)}style(e){this.tree.style(e)}getInput(){return this.root.element}setInput(e,t){return eg(this,void 0,void 0,function*(){this.refreshPromises.forEach(e=>e.cancel()),this.refreshPromises.clear(),this.root.element=e;let i=t&&{viewState:t,focus:[],selection:[]};yield this._updateChildren(e,!0,!1,i),i&&(this.tree.setFocus(i.focus),this.tree.setSelection(i.selection)),t&&"number"==typeof t.scrollTop&&(this.scrollTop=t.scrollTop)})}_updateChildren(e=this.root.element,t=!0,i=!1,n,o){return eg(this,void 0,void 0,function*(){if(void 0===this.root.element)throw new L(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield c.ju.toPromise(this._onDidRender.event));let r=this.getDataNode(e);if(yield this.refreshAndRenderNode(r,t,n,o),i)try{this.tree.rerender(r)}catch(e){}})}rerender(e){if(void 0===e||e===this.root.element){this.tree.rerender();return}let t=this.getDataNode(e);this.tree.rerender(t)}getNode(e=this.root.element){let t=this.getDataNode(e),i=this.tree.getNode(t===this.root?null:t);return this.nodeMapper.map(i)}collapse(e,t=!1){let i=this.getDataNode(e);return this.tree.collapse(i===this.root?null:i,t)}expand(e,t=!1){return eg(this,void 0,void 0,function*(){if(void 0===this.root.element)throw new L(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield c.ju.toPromise(this._onDidRender.event));let i=this.getDataNode(e);if(this.tree.hasElement(i)&&!this.tree.isCollapsible(i)||(i.refreshPromise&&(yield this.root.refreshPromise,yield c.ju.toPromise(this._onDidRender.event)),i!==this.root&&!i.refreshPromise&&!this.tree.isCollapsed(i)))return!1;let n=this.tree.expand(i===this.root?null:i,t);return i.refreshPromise&&(yield this.root.refreshPromise,yield c.ju.toPromise(this._onDidRender.event)),n})}setSelection(e,t){let i=e.map(e=>this.getDataNode(e));this.tree.setSelection(i,t)}getSelection(){let e=this.tree.getSelection();return e.map(e=>e.element)}setFocus(e,t){let i=e.map(e=>this.getDataNode(e));this.tree.setFocus(i,t)}getFocus(){let e=this.tree.getFocus();return e.map(e=>e.element)}reveal(e,t){this.tree.reveal(this.getDataNode(e),t)}getParentElement(e){let t=this.tree.getParentElement(this.getDataNode(e));return t&&t.element}getFirstElementChild(e=this.root.element){let t=this.getDataNode(e),i=this.tree.getFirstElementChild(t===this.root?null:t);return i&&i.element}getDataNode(e){let t=this.nodes.get(e===this.root.element?null:e);if(!t)throw new L(this.user,`Data tree node not found: ${e}`);return t}refreshAndRenderNode(e,t,i,n){return eg(this,void 0,void 0,function*(){yield this.refreshNode(e,t,i),this.render(e,i,n)})}refreshNode(e,t,i){return eg(this,void 0,void 0,function*(){let n;if(this.subTreeRefreshPromises.forEach((o,r)=>{!n&&(r===e||em(r,e)||em(e,r))&&(n=o.then(()=>this.refreshNode(e,t,i)))}),n)return n;if(e!==this.root){let t=this.tree.getNode(e);if(t.collapsed){e.hasChildren=!!this.dataSource.hasChildren(e.element),e.stale=!0;return}}return this.doRefreshSubTree(e,t,i)})}doRefreshSubTree(e,t,i){return eg(this,void 0,void 0,function*(){let n;e.refreshPromise=new Promise(e=>n=e),this.subTreeRefreshPromises.set(e,e.refreshPromise),e.refreshPromise.finally(()=>{e.refreshPromise=void 0,this.subTreeRefreshPromises.delete(e)});try{let n=yield this.doRefreshNode(e,t,i);e.stale=!1,yield N.jT.settled(n.map(e=>this.doRefreshSubTree(e,t,i)))}finally{n()}})}doRefreshNode(e,t,i){return eg(this,void 0,void 0,function*(){let n;if(e.hasChildren=!!this.dataSource.hasChildren(e.element),e.hasChildren){let t=this.doGetChildren(e);if((0,F.TW)(t))n=Promise.resolve(t);else{let i=(0,N.Vs)(800);i.then(()=>{e.slow=!0,this._onDidChangeNodeSlowState.fire(e)},e=>null),n=t.finally(()=>i.cancel())}}else n=Promise.resolve(x.$.empty());try{let o=yield n;return this.setChildren(e,o,t,i)}catch(t){if(e!==this.root&&this.tree.hasElement(e)&&this.tree.collapse(e),(0,ec.n2)(t))return[];throw t}finally{e.slow&&(e.slow=!1,this._onDidChangeNodeSlowState.fire(e))}})}doGetChildren(e){let t=this.refreshPromises.get(e);if(t)return t;let i=this.dataSource.getChildren(e.element);return(0,F.TW)(i)?this.processChildren(i):(t=(0,N.PG)(()=>eg(this,void 0,void 0,function*(){return this.processChildren((yield i))})),this.refreshPromises.set(e,t),t.finally(()=>{this.refreshPromises.delete(e)}))}_onDidChangeCollapseState({node:e,deep:t}){null!==e.element&&!e.collapsed&&e.element.stale&&(t?this.collapse(e.element.element):this.refreshAndRenderNode(e.element,!1).catch(ec.dL))}setChildren(e,t,i,n){let o=[...t];if(0===e.children.length&&0===o.length)return[];let r=new Map,s=new Map;for(let t of e.children)if(r.set(t.element,t),this.identityProvider){let e=this.tree.isCollapsed(t);s.set(t.id,{node:t,collapsed:e})}let a=[],l=o.map(t=>{let o=!!this.dataSource.hasChildren(t);if(!this.identityProvider){let i=ep({element:t,parent:e,hasChildren:o});return o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(i.collapsedByDefault=!1,a.push(i)),i}let l=this.identityProvider.getId(t).toString(),h=s.get(l);if(h){let e=h.node;return r.delete(e.element),this.nodes.delete(e.element),this.nodes.set(t,e),e.element=t,e.hasChildren=o,i?h.collapsed?(e.children.forEach(e=>eL(e,e=>this.nodes.delete(e.element))),e.children.splice(0,e.children.length),e.stale=!0):a.push(e):o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(e.collapsedByDefault=!1,a.push(e)),e}let d=ep({element:t,parent:e,id:l,hasChildren:o});return n&&n.viewState.focus&&n.viewState.focus.indexOf(l)>-1&&n.focus.push(d),n&&n.viewState.selection&&n.viewState.selection.indexOf(l)>-1&&n.selection.push(d),n&&n.viewState.expanded&&n.viewState.expanded.indexOf(l)>-1?a.push(d):o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(d.collapsedByDefault=!1,a.push(d)),d});for(let e of r.values())eL(e,e=>this.nodes.delete(e.element));for(let e of l)this.nodes.set(e.element,e);return e.children.splice(0,e.children.length,...l),e!==this.root&&this.autoExpandSingleChildren&&1===l.length&&0===a.length&&(l[0].collapsedByDefault=!1,a.push(l[0])),a}render(e,t,i){let n=e.children.map(e=>this.asTreeElement(e,t)),o=i&&Object.assign(Object.assign({},i),{diffIdentityProvider:i.diffIdentityProvider&&{getId:e=>i.diffIdentityProvider.getId(e.element)}});this.tree.setChildren(e===this.root?null:e,n,o),e!==this.root&&this.tree.setCollapsible(e,e.hasChildren),this._onDidRender.fire()}asTreeElement(e,t){let i;return e.stale?{element:e,collapsible:e.hasChildren,collapsed:!0}:(i=!(t&&t.viewState.expanded&&e.id&&t.viewState.expanded.indexOf(e.id)>-1)&&e.collapsedByDefault,e.collapsedByDefault=void 0,{element:e,children:e.hasChildren?x.$.map(e.children,e=>this.asTreeElement(e,t)):[],collapsible:e.hasChildren,collapsed:i})}processChildren(e){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),e}dispose(){this.disposables.dispose()}}class eN{constructor(e){this.node=e}get element(){return{elements:this.node.element.elements.map(e=>e.element),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map(e=>new eN(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class eD{constructor(e,t,i,n){this.renderer=e,this.nodeMapper=t,this.compressibleNodeMapperProvider=i,this.onDidChangeTwistieState=n,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}renderTemplate(e){let t=this.renderer.renderTemplate(e);return{templateData:t}}renderElement(e,t,i,n){this.renderer.renderElement(this.nodeMapper.map(e),t,i.templateData,n)}renderCompressedElements(e,t,i,n){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(e),t,i.templateData,n)}renderTwistie(e,t){return e.slow?(t.classList.add(...A.lA.treeItemLoading.classNamesArray),!0):(t.classList.remove(...A.lA.treeItemLoading.classNamesArray),!1)}disposeElement(e,t,i,n){var o,r;null===(r=(o=this.renderer).disposeElement)||void 0===r||r.call(o,this.nodeMapper.map(e),t,i.templateData,n)}disposeCompressedElements(e,t,i,n){var o,r;null===(r=(o=this.renderer).disposeCompressedElements)||void 0===r||r.call(o,this.compressibleNodeMapperProvider().map(e),t,i.templateData,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=(0,g.B9)(this.disposables)}}class ex extends ek{constructor(e,t,i,n,o,r,s={}){super(e,t,i,o,r,s),this.compressionDelegate=n,this.compressibleNodeMapper=new k(e=>new eN(e)),this.filter=s.filter}createTree(e,t,i,n,o){let r=new z(i),s=n.map(e=>new eD(e,this.nodeMapper,()=>this.compressibleNodeMapper,this._onDidChangeNodeSlowState.event)),a=function(e){let t=e&&eS(e);return t&&Object.assign(Object.assign({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},t.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel:t=>e.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.map(e=>e.element))})})}(o)||{};return new eu(e,t,r,s,a)}asTreeElement(e,t){return Object.assign({incompressible:this.compressionDelegate.isIncompressible(e.element)},super.asTreeElement(e,t))}updateOptions(e={}){this.tree.updateOptions(e)}render(e,t){if(!this.identityProvider)return super.render(e,t);let i=e=>this.identityProvider.getId(e).toString(),n=e=>{let t=new Set;for(let n of e){let e=this.tree.getCompressedTreeNode(n===this.root?null:n);if(e.element)for(let n of e.element.elements)t.add(i(n.element))}return t},o=n(this.tree.getSelection()),r=n(this.tree.getFocus());super.render(e,t);let s=this.getSelection(),a=!1,l=this.getFocus(),h=!1,d=e=>{let t=e.element;if(t)for(let e=0;e{let t=this.filter.filter(e,1),i="boolean"==typeof t?t?1:0:I(t)?E(t.visibility):E(t);if(2===i)throw Error("Recursive tree visibility not supported in async data compressed trees");return 1===i})),super.processChildren(e)}}class eI extends J{constructor(e,t,i,n,o,r={}){super(e,t,i,n,r),this.user=e,this.dataSource=o,this.identityProvider=r.identityProvider}createModel(e,t,i){return new X(e,t,i)}}var eE=i(33108),eT=i(23193),eM=i(38819),eA=i(39282),eR=i(5606),eO=i(72065),eP=i(91847),eF=i(89872),eB=i(88810),eV=i(97781),eW=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},eH=function(e,t){return function(i,n){t(i,n,e)}};let ez=(0,eO.yh)("listService"),eK=class{constructor(e){this._themeService=e,this.disposables=new g.SL,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}get lastFocusedList(){return this._lastFocusedWidget}setLastFocusedList(e){var t,i;e!==this._lastFocusedWidget&&(null===(t=this._lastFocusedWidget)||void 0===t||t.getHTMLElement().classList.remove("last-focused"),this._lastFocusedWidget=e,null===(i=this._lastFocusedWidget)||void 0===i||i.getHTMLElement().classList.add("last-focused"))}register(e,t){if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;let e=new p.wD((0,h.dS)(),"");this.disposables.add((0,eB.Jl)(e,this._themeService))}if(this.lists.some(t=>t.widget===e))throw Error("Cannot register the same widget multiple times");let i={widget:e,extraContextKeys:t};return this.lists.push(i),e.getHTMLElement()===document.activeElement&&this.setLastFocusedList(e),(0,g.F8)(e.onDidFocus(()=>this.setLastFocusedList(e)),(0,g.OF)(()=>this.lists.splice(this.lists.indexOf(i),1)),e.onDidDispose(()=>{this.lists=this.lists.filter(e=>e!==i),this._lastFocusedWidget===e&&this.setLastFocusedList(void 0)}))}dispose(){this.disposables.dispose()}};eK=eW([eH(0,eV.XE)],eK);let eU=new eM.uy("listFocus",!0),e$=new eM.uy("listSupportsMultiselect",!0),ej=eM.Ao.and(eU,eM.Ao.not(eA.d0)),eq=new eM.uy("listHasSelectionOrFocus",!1),eG=new eM.uy("listDoubleSelection",!1),eQ=new eM.uy("listMultiSelection",!1),eZ=new eM.uy("listSelectionNavigation",!1),eY=new eM.uy("listSupportsFind",!0),eJ=new eM.uy("treeElementCanCollapse",!1),eX=new eM.uy("treeElementHasParent",!1),e0=new eM.uy("treeElementCanExpand",!1),e1=new eM.uy("treeElementHasChild",!1),e2=new eM.uy("treeFindOpen",!1),e5="listTypeNavigationMode",e4="listAutomaticKeyboardNavigation";function e3(e,t){let i=e.createScoped(t.getHTMLElement());return eU.bindTo(i),i}let e9="workbench.list.multiSelectModifier",e7="workbench.list.openMode",e6="workbench.list.horizontalScrolling",e8="workbench.list.defaultFindMode",te="workbench.list.keyboardNavigation",tt="workbench.tree.indent",ti="workbench.tree.renderIndentGuides",tn="workbench.list.smoothScrolling",to="workbench.list.mouseWheelScrollSensitivity",tr="workbench.list.fastScrollSensitivity",ts="workbench.tree.expandMode";function ta(e){return"alt"===e.getValue(e9)}class tl extends g.JT{constructor(e){super(),this.configurationService=e,this.useAltAsMultipleSelectionModifier=ta(e),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(e9)&&(this.useAltAsMultipleSelectionModifier=ta(this.configurationService))}))}isSelectionSingleChangeEvent(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:(0,p.Zo)(e)}isSelectionRangeChangeEvent(e){return(0,p.wn)(e)}}function th(e,t){var i;let n;let o=e.get(eE.Ui),r=e.get(eP.d),s=new g.SL,a=Object.assign(Object.assign({},t),{keyboardNavigationDelegate:{mightProducePrintableCharacter:e=>r.mightProducePrintableCharacter(e)},smoothScrolling:!!o.getValue(tn),mouseWheelScrollSensitivity:o.getValue(to),fastScrollSensitivity:o.getValue(tr),multipleSelectionController:null!==(i=t.multipleSelectionController)&&void 0!==i?i:s.add(new tl(o)),keyboardNavigationEventFilter:(n=!1,e=>{if(e.toKeybinding().isModifierKey())return!1;if(n)return n=!1,!1;let t=r.softDispatch(e,e.target);return(null==t?void 0:t.enterChord)?(n=!0,!1):(n=!1,!t)})});return[a,s]}let td=class extends p.aV{constructor(e,t,i,n,o,r,s,a,l,h){let d=void 0!==o.horizontalScrolling?o.horizontalScrolling:!!l.getValue(e6),[u,c]=h.invokeFunction(th,o);super(e,t,i,n,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},(0,eB.o)(a.getColorTheme(),eB.O2)),u),{horizontalScrolling:d})),this.disposables.add(c),this.contextKeyService=e3(r,this),this.themeService=a,this.listSupportsMultiSelect=e$.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==o.multipleSelectionSupport);let g=eZ.bindTo(this.contextKeyService);g.set(!!o.selectionNavigation),this.listHasSelectionOrFocus=eq.bindTo(this.contextKeyService),this.listDoubleSelection=eG.bindTo(this.contextKeyService),this.listMultiSelection=eQ.bindTo(this.contextKeyService),this.horizontalScrolling=o.horizontalScrolling,this._useAltAsMultipleSelectionModifier=ta(l),this.disposables.add(this.contextKeyService),this.disposables.add(s.register(this)),o.overrideStyles&&this.updateStyles(o.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{let e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(e.length>0||t.length>0),this.listMultiSelection.set(e.length>1),this.listDoubleSelection.set(2===e.length)})})),this.disposables.add(this.onDidChangeFocus(()=>{let e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(e.length>0||t.length>0)})),this.disposables.add(l.onDidChangeConfiguration(e=>{e.affectsConfiguration(e9)&&(this._useAltAsMultipleSelectionModifier=ta(l));let t={};if(e.affectsConfiguration(e6)&&void 0===this.horizontalScrolling){let e=!!l.getValue(e6);t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(tn)){let e=!!l.getValue(tn);t=Object.assign(Object.assign({},t),{smoothScrolling:e})}if(e.affectsConfiguration(to)){let e=l.getValue(to);t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:e})}if(e.affectsConfiguration(tr)){let e=l.getValue(tr);t=Object.assign(Object.assign({},t),{fastScrollSensitivity:e})}Object.keys(t).length>0&&this.updateOptions(t)})),this.navigator=new tp(this,Object.assign({configurationService:l},o)),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){var t;null===(t=this._styler)||void 0===t||t.dispose(),this._styler=(0,eB.Jl)(this,this.themeService,e)}dispose(){var e;null===(e=this._styler)||void 0===e||e.dispose(),super.dispose()}};td=eW([eH(5,eM.i6),eH(6,ez),eH(7,eV.XE),eH(8,eE.Ui),eH(9,eO.TG)],td);let tu=class extends _{constructor(e,t,i,n,o,r,s,a,l,h){let d=void 0!==o.horizontalScrolling?o.horizontalScrolling:!!l.getValue(e6),[u,c]=h.invokeFunction(th,o);super(e,t,i,n,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},(0,eB.o)(a.getColorTheme(),eB.O2)),u),{horizontalScrolling:d})),this.disposables=new g.SL,this.disposables.add(c),this.contextKeyService=e3(r,this),this.themeService=a,this.horizontalScrolling=o.horizontalScrolling,this.listSupportsMultiSelect=e$.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==o.multipleSelectionSupport);let p=eZ.bindTo(this.contextKeyService);p.set(!!o.selectionNavigation),this._useAltAsMultipleSelectionModifier=ta(l),this.disposables.add(this.contextKeyService),this.disposables.add(s.register(this)),o.overrideStyles&&this.updateStyles(o.overrideStyles),o.overrideStyles&&this.disposables.add((0,eB.Jl)(this,a,o.overrideStyles)),this.disposables.add(l.onDidChangeConfiguration(e=>{e.affectsConfiguration(e9)&&(this._useAltAsMultipleSelectionModifier=ta(l));let t={};if(e.affectsConfiguration(e6)&&void 0===this.horizontalScrolling){let e=!!l.getValue(e6);t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(tn)){let e=!!l.getValue(tn);t=Object.assign(Object.assign({},t),{smoothScrolling:e})}if(e.affectsConfiguration(to)){let e=l.getValue(to);t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:e})}if(e.affectsConfiguration(tr)){let e=l.getValue(tr);t=Object.assign(Object.assign({},t),{fastScrollSensitivity:e})}Object.keys(t).length>0&&this.updateOptions(t)})),this.navigator=new tp(this,Object.assign({configurationService:l},o)),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){var t;null===(t=this._styler)||void 0===t||t.dispose(),this._styler=(0,eB.Jl)(this,this.themeService,e)}dispose(){var e;null===(e=this._styler)||void 0===e||e.dispose(),this.disposables.dispose(),super.dispose()}};tu=eW([eH(5,eM.i6),eH(6,ez),eH(7,eV.XE),eH(8,eE.Ui),eH(9,eO.TG)],tu);let tc=class extends w{constructor(e,t,i,n,o,r,s,a,l,h,d){let u=void 0!==r.horizontalScrolling?r.horizontalScrolling:!!h.getValue(e6),[c,g]=d.invokeFunction(th,r);super(e,t,i,n,o,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},(0,eB.o)(l.getColorTheme(),eB.O2)),c),{horizontalScrolling:u})),this.disposables.add(g),this.contextKeyService=e3(s,this),this.themeService=l,this.listSupportsMultiSelect=e$.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==r.multipleSelectionSupport);let p=eZ.bindTo(this.contextKeyService);p.set(!!r.selectionNavigation),this.listHasSelectionOrFocus=eq.bindTo(this.contextKeyService),this.listDoubleSelection=eG.bindTo(this.contextKeyService),this.listMultiSelection=eQ.bindTo(this.contextKeyService),this.horizontalScrolling=r.horizontalScrolling,this._useAltAsMultipleSelectionModifier=ta(h),this.disposables.add(this.contextKeyService),this.disposables.add(a.register(this)),r.overrideStyles&&this.updateStyles(r.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{let e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(e.length>0||t.length>0),this.listMultiSelection.set(e.length>1),this.listDoubleSelection.set(2===e.length)})})),this.disposables.add(this.onDidChangeFocus(()=>{let e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(e.length>0||t.length>0)})),this.disposables.add(h.onDidChangeConfiguration(e=>{e.affectsConfiguration(e9)&&(this._useAltAsMultipleSelectionModifier=ta(h));let t={};if(e.affectsConfiguration(e6)&&void 0===this.horizontalScrolling){let e=!!h.getValue(e6);t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(tn)){let e=!!h.getValue(tn);t=Object.assign(Object.assign({},t),{smoothScrolling:e})}if(e.affectsConfiguration(to)){let e=h.getValue(to);t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:e})}if(e.affectsConfiguration(tr)){let e=h.getValue(tr);t=Object.assign(Object.assign({},t),{fastScrollSensitivity:e})}Object.keys(t).length>0&&this.updateOptions(t)})),this.navigator=new tm(this,Object.assign({configurationService:h},r)),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){var t;null===(t=this._styler)||void 0===t||t.dispose(),this._styler=(0,eB.Jl)(this,this.themeService,e)}dispose(){var e;null===(e=this._styler)||void 0===e||e.dispose(),this.disposables.dispose(),super.dispose()}};tc=eW([eH(6,eM.i6),eH(7,ez),eH(8,eV.XE),eH(9,eE.Ui),eH(10,eO.TG)],tc);class tg extends g.JT{constructor(e,t){var i;super(),this.widget=e,this._onDidOpen=this._register(new c.Q5),this.onDidOpen=this._onDidOpen.event,this._register(c.ju.filter(this.widget.onDidChangeSelection,e=>e.browserEvent instanceof KeyboardEvent)(e=>this.onSelectionFromKeyboard(e))),this._register(this.widget.onPointer(e=>this.onPointer(e.element,e.browserEvent))),this._register(this.widget.onMouseDblClick(e=>this.onMouseDblClick(e.element,e.browserEvent))),"boolean"!=typeof(null==t?void 0:t.openOnSingleClick)&&(null==t?void 0:t.configurationService)?(this.openOnSingleClick=(null==t?void 0:t.configurationService.getValue(e7))!=="doubleClick",this._register(null==t?void 0:t.configurationService.onDidChangeConfiguration(()=>{this.openOnSingleClick=(null==t?void 0:t.configurationService.getValue(e7))!=="doubleClick"}))):this.openOnSingleClick=null===(i=null==t?void 0:t.openOnSingleClick)||void 0===i||i}onSelectionFromKeyboard(e){if(1!==e.elements.length)return;let t=e.browserEvent,i="boolean"!=typeof t.preserveFocus||t.preserveFocus,n="boolean"==typeof t.pinned?t.pinned:!i;this._open(this.getSelectedElement(),i,n,!1,e.browserEvent)}onPointer(e,t){if(!this.openOnSingleClick)return;let i=2===t.detail;if(i)return;let n=1===t.button,o=t.ctrlKey||t.metaKey||t.altKey;this._open(e,!0,n,o,t)}onMouseDblClick(e,t){if(!t)return;let i=t.target,n=i.classList.contains("monaco-tl-twistie")||i.classList.contains("monaco-icon-label")&&i.classList.contains("folder-icon")&&t.offsetX<16;if(n)return;let o=t.ctrlKey||t.metaKey||t.altKey;this._open(e,!1,!0,o,t)}_open(e,t,i,n,o){e&&this._onDidOpen.fire({editorOptions:{preserveFocus:t,pinned:i,revealIfVisible:!0},sideBySide:n,element:e,browserEvent:o})}}class tp extends tg{constructor(e,t){super(e,t),this.widget=e}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class tm extends tg{constructor(e,t){super(e,t)}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class tf extends tg{constructor(e,t){super(e,t)}getSelectedElement(){var e;return null!==(e=this.widget.getSelection()[0])&&void 0!==e?e:void 0}}let t_=class extends eh{constructor(e,t,i,n,o,r,s,a,l,h){let{options:d,getTypeNavigationMode:u,disposable:c}=r.invokeFunction(tS,o);super(e,t,i,n,d),this.disposables.add(c),this.internals=new tL(this,o,u,o.overrideStyles,s,a,l,h),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};t_=eW([eH(5,eO.TG),eH(6,eM.i6),eH(7,ez),eH(8,eV.XE),eH(9,eE.Ui)],t_);let tv=class extends eu{constructor(e,t,i,n,o,r,s,a,l,h){let{options:d,getTypeNavigationMode:u,disposable:c}=r.invokeFunction(tS,o);super(e,t,i,n,d),this.disposables.add(c),this.internals=new tL(this,o,u,o.overrideStyles,s,a,l,h),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};tv=eW([eH(5,eO.TG),eH(6,eM.i6),eH(7,ez),eH(8,eV.XE),eH(9,eE.Ui)],tv);let tC=class extends eI{constructor(e,t,i,n,o,r,s,a,l,h,d){let{options:u,getTypeNavigationMode:c,disposable:g}=s.invokeFunction(tS,r);super(e,t,i,n,o,u),this.disposables.add(g),this.internals=new tL(this,r,c,r.overrideStyles,a,l,h,d),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};tC=eW([eH(6,eO.TG),eH(7,eM.i6),eH(8,ez),eH(9,eV.XE),eH(10,eE.Ui)],tC);let tb=class extends ek{constructor(e,t,i,n,o,r,s,a,l,h,d){let{options:u,getTypeNavigationMode:c,disposable:g}=s.invokeFunction(tS,r);super(e,t,i,n,o,u),this.disposables.add(g),this.internals=new tL(this,r,c,r.overrideStyles,a,l,h,d),this.disposables.add(this.internals)}get onDidOpen(){return this.internals.onDidOpen}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};tb=eW([eH(6,eO.TG),eH(7,eM.i6),eH(8,ez),eH(9,eV.XE),eH(10,eE.Ui)],tb);let tw=class extends ex{constructor(e,t,i,n,o,r,s,a,l,h,d,u){let{options:c,getTypeNavigationMode:g,disposable:p}=a.invokeFunction(tS,s);super(e,t,i,n,o,r,c),this.disposables.add(p),this.internals=new tL(this,s,g,s.overrideStyles,l,h,d,u),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};function ty(e){let t=e.getValue(e8);if("highlight"===t)return l.Highlight;if("filter"===t)return l.Filter;let i=e.getValue(te);return"simple"===i||"highlight"===i?l.Highlight:"filter"===i?l.Filter:void 0}function tS(e,t){var i;let n=e.get(eE.Ui),o=e.get(eR.u),r=e.get(eM.i6),s=e.get(eO.TG),a=void 0!==t.horizontalScrolling?t.horizontalScrolling:!!n.getValue(e6),[l,h]=s.invokeFunction(th,t),d=t.additionalScrollHeight;return{getTypeNavigationMode:()=>{let e=r.getContextKeyValue(e5);if("automatic"===e)return p.AA.Automatic;if("trigger"===e)return p.AA.Trigger;let t=r.getContextKeyValue(e4);if(!1===t)return p.AA.Trigger},disposable:h,options:Object.assign(Object.assign({keyboardSupport:!1},l),{indent:"number"==typeof n.getValue(tt)?n.getValue(tt):void 0,renderIndentGuides:n.getValue(ti),smoothScrolling:!!n.getValue(tn),defaultFindMode:ty(n),horizontalScrolling:a,additionalScrollHeight:d,hideTwistiesOfChildlessElements:t.hideTwistiesOfChildlessElements,expandOnlyOnTwistieClick:null!==(i=t.expandOnlyOnTwistieClick)&&void 0!==i?i:"doubleClick"===n.getValue(ts),contextViewProvider:o})}}tw=eW([eH(7,eO.TG),eH(8,eM.i6),eH(9,ez),eH(10,eV.XE),eH(11,eE.Ui)],tw);let tL=class{constructor(e,t,i,n,o,r,s,a){var l;this.tree=e,this.themeService=s,this.disposables=[],this.contextKeyService=e3(o,e),this.listSupportsMultiSelect=e$.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==t.multipleSelectionSupport);let h=eZ.bindTo(this.contextKeyService);h.set(!!t.selectionNavigation),this.listSupportFindWidget=eY.bindTo(this.contextKeyService),this.listSupportFindWidget.set(null===(l=t.findWidgetEnabled)||void 0===l||l),this.hasSelectionOrFocus=eq.bindTo(this.contextKeyService),this.hasDoubleSelection=eG.bindTo(this.contextKeyService),this.hasMultiSelection=eQ.bindTo(this.contextKeyService),this.treeElementCanCollapse=eJ.bindTo(this.contextKeyService),this.treeElementHasParent=eX.bindTo(this.contextKeyService),this.treeElementCanExpand=e0.bindTo(this.contextKeyService),this.treeElementHasChild=e1.bindTo(this.contextKeyService),this.treeFindOpen=e2.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=ta(a),this.updateStyleOverrides(n);let d=()=>{let t=e.getFocus()[0];if(!t)return;let i=e.getNode(t);this.treeElementCanCollapse.set(i.collapsible&&!i.collapsed),this.treeElementHasParent.set(!!e.getParentElement(t)),this.treeElementCanExpand.set(i.collapsible&&i.collapsed),this.treeElementHasChild.set(!!e.getFirstElementChild(t))},u=new Set;u.add(e5),u.add(e4),this.disposables.push(this.contextKeyService,r.register(e),e.onDidChangeSelection(()=>{let t=e.getSelection(),i=e.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.hasSelectionOrFocus.set(t.length>0||i.length>0),this.hasMultiSelection.set(t.length>1),this.hasDoubleSelection.set(2===t.length)})}),e.onDidChangeFocus(()=>{let t=e.getSelection(),i=e.getFocus();this.hasSelectionOrFocus.set(t.length>0||i.length>0),d()}),e.onDidChangeCollapseState(d),e.onDidChangeModel(d),e.onDidChangeFindOpenState(e=>this.treeFindOpen.set(e)),a.onDidChangeConfiguration(i=>{let n={};if(i.affectsConfiguration(e9)&&(this._useAltAsMultipleSelectionModifier=ta(a)),i.affectsConfiguration(tt)){let e=a.getValue(tt);n=Object.assign(Object.assign({},n),{indent:e})}if(i.affectsConfiguration(ti)){let e=a.getValue(ti);n=Object.assign(Object.assign({},n),{renderIndentGuides:e})}if(i.affectsConfiguration(tn)){let e=!!a.getValue(tn);n=Object.assign(Object.assign({},n),{smoothScrolling:e})}if((i.affectsConfiguration(e8)||i.affectsConfiguration(te))&&e.updateOptions({defaultFindMode:ty(a)}),i.affectsConfiguration(e6)&&void 0===t.horizontalScrolling){let e=!!a.getValue(e6);n=Object.assign(Object.assign({},n),{horizontalScrolling:e})}if(i.affectsConfiguration(ts)&&void 0===t.expandOnlyOnTwistieClick&&(n=Object.assign(Object.assign({},n),{expandOnlyOnTwistieClick:"doubleClick"===a.getValue(ts)})),i.affectsConfiguration(to)){let e=a.getValue(to);n=Object.assign(Object.assign({},n),{mouseWheelScrollSensitivity:e})}if(i.affectsConfiguration(tr)){let e=a.getValue(tr);n=Object.assign(Object.assign({},n),{fastScrollSensitivity:e})}Object.keys(n).length>0&&e.updateOptions(n)}),this.contextKeyService.onDidChangeContext(t=>{t.affectsSome(u)&&e.updateOptions({typeNavigationMode:i()})})),this.navigator=new tf(e,Object.assign({configurationService:a},t)),this.disposables.push(this.navigator)}get onDidOpen(){return this.navigator.onDidOpen}updateOptions(e){void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyleOverrides(e){(0,g.B9)(this.styler),this.styler=e?(0,eB.Jl)(this.tree,this.themeService,e):g.JT.None}dispose(){this.disposables=(0,g.B9)(this.disposables),(0,g.B9)(this.styler),this.styler=void 0}};tL=eW([eH(4,eM.i6),eH(5,ez),eH(6,eV.XE),eH(7,eE.Ui)],tL);let tk=eF.B.as(eT.IP.Configuration);tk.registerConfiguration({id:"workbench",order:7,title:(0,B.NC)("workbenchConfigurationTitle","Workbench"),type:"object",properties:{[e9]:{type:"string",enum:["ctrlCmd","alt"],markdownEnumDescriptions:[(0,B.NC)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),(0,B.NC)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:(0,B.NC)({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},[e7]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,B.NC)({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")},[e6]:{type:"boolean",default:!1,description:(0,B.NC)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")},[tt]:{type:"number",default:8,minimum:4,maximum:40,description:(0,B.NC)("tree indent setting","Controls tree indentation in pixels.")},[ti]:{type:"string",enum:["none","onHover","always"],default:"onHover",description:(0,B.NC)("render tree indent guides","Controls whether the tree should render indent guides.")},[tn]:{type:"boolean",default:!1,description:(0,B.NC)("list smoothScrolling setting","Controls whether lists and trees have smooth scrolling.")},[to]:{type:"number",default:1,markdownDescription:(0,B.NC)("Mouse Wheel Scroll Sensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")},[tr]:{type:"number",default:5,description:(0,B.NC)("Fast Scroll Sensitivity","Scrolling speed multiplier when pressing `Alt`.")},[e8]:{type:"string",enum:["highlight","filter"],enumDescriptions:[(0,B.NC)("defaultFindModeSettingKey.highlight","Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."),(0,B.NC)("defaultFindModeSettingKey.filter","Filter elements when searching.")],default:"highlight",description:(0,B.NC)("defaultFindModeSettingKey","Controls the default find mode for lists and trees in the workbench.")},[te]:{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[(0,B.NC)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),(0,B.NC)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),(0,B.NC)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:(0,B.NC)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter."),deprecated:!0,deprecationMessage:(0,B.NC)("keyboardNavigationSettingKeyDeprecated","Please use 'workbench.list.defaultFindMode' instead.")},[ts]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,B.NC)("expand mode","Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable.")}}})},43557:function(e,t,i){"use strict";i.d(t,{$V:function(){return c},VZ:function(){return l},in:function(){return o},kw:function(){return u}});var n,o,r=i(4669),s=i(9917),a=i(72065);let l=(0,a.yh)("logService");(n=o||(o={}))[n.Trace=0]="Trace",n[n.Debug=1]="Debug",n[n.Info=2]="Info",n[n.Warning=3]="Warning",n[n.Error=4]="Error",n[n.Critical=5]="Critical",n[n.Off=6]="Off";let h=o.Info;class d extends s.JT{constructor(){super(...arguments),this.level=h,this._onDidChangeLogLevel=this._register(new r.Q5)}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}}class u extends d{constructor(e=h){super(),this.setLevel(e)}trace(e,...t){this.getLevel()<=o.Trace&&console.log("%cTRACE","color: #888",e,...t)}debug(e,...t){this.getLevel()<=o.Debug&&console.log("%cDEBUG","background: #eee; color: #888",e,...t)}info(e,...t){this.getLevel()<=o.Info&&console.log("%c INFO","color: #33f",e,...t)}error(e,...t){this.getLevel()<=o.Error&&console.log("%c ERR","color: #f33",e,...t)}dispose(){}}class c extends s.JT{constructor(e){super(),this.logger=e,this._register(e)}getLevel(){return this.logger.getLevel()}trace(e,...t){this.logger.trace(e,...t)}debug(e,...t){this.logger.debug(e,...t)}info(e,...t){this.logger.info(e,...t)}error(e,...t){this.logger.error(e,...t)}}},98674:function(e,t,i){"use strict";i.d(t,{H0:function(){return r},ZL:function(){return o},lT:function(){return h}});var n,o,r,s=i(14603),a=i(63580),l=i(72065);(n=o||(o={}))[n.Hint=1]="Hint",n[n.Info=2]="Info",n[n.Warning=4]="Warning",n[n.Error=8]="Error",function(e){e.compare=function(e,t){return t-e};let t=Object.create(null);t[e.Error]=(0,a.NC)("sev.error","Error"),t[e.Warning]=(0,a.NC)("sev.warning","Warning"),t[e.Info]=(0,a.NC)("sev.info","Info"),e.toString=function(e){return t[e]||""},e.fromSeverity=function(t){switch(t){case s.Z.Error:return e.Error;case s.Z.Warning:return e.Warning;case s.Z.Info:return e.Info;case s.Z.Ignore:return e.Hint}},e.toSeverity=function(t){switch(t){case e.Error:return s.Z.Error;case e.Warning:return s.Z.Warning;case e.Info:return s.Z.Info;case e.Hint:return s.Z.Ignore}}}(o||(o={})),function(e){function t(e,t){let i=[""];return e.source?i.push(e.source.replace("\xa6","\\\xa6")):i.push(""),e.code?"string"==typeof e.code?i.push(e.code.replace("\xa6","\\\xa6")):i.push(e.code.value.replace("\xa6","\\\xa6")):i.push(""),void 0!==e.severity&&null!==e.severity?i.push(o.toString(e.severity)):i.push(""),e.message&&t?i.push(e.message.replace("\xa6","\\\xa6")):i.push(""),void 0!==e.startLineNumber&&null!==e.startLineNumber?i.push(e.startLineNumber.toString()):i.push(""),void 0!==e.startColumn&&null!==e.startColumn?i.push(e.startColumn.toString()):i.push(""),void 0!==e.endLineNumber&&null!==e.endLineNumber?i.push(e.endLineNumber.toString()):i.push(""),void 0!==e.endColumn&&null!==e.endColumn?i.push(e.endColumn.toString()):i.push(""),i.push(""),i.join("\xa6")}e.makeKey=function(e){return t(e,!0)},e.makeKeyOptionalMessage=t}(r||(r={}));let h=(0,l.yh)("markerService")},59422:function(e,t,i){"use strict";i.d(t,{EO:function(){return a},lT:function(){return s},zb:function(){return r}});var n=i(14603),o=i(72065),r=n.Z;let s=(0,o.yh)("notificationService");class a{}},50988:function(e,t,i){"use strict";i.d(t,{Gs:function(){return u},SW:function(){return h},v4:function(){return l},xI:function(){return c},xn:function(){return d}});var n=i(9917),o=i(97295),r=i(70666),s=i(72065),a=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let l=(0,s.yh)("openerService"),h=Object.freeze({_serviceBrand:void 0,registerOpener:()=>n.JT.None,registerValidator:()=>n.JT.None,registerExternalUriResolver:()=>n.JT.None,setDefaultExternalOpener(){},registerExternalOpener:()=>n.JT.None,open(){return a(this,void 0,void 0,function*(){return!1})},resolveExternalUri(e){return a(this,void 0,void 0,function*(){return{resolved:e,dispose(){}}})}});function d(e,t){return r.o.isUri(e)?(0,o.qq)(e.scheme,t):(0,o.ok)(e,t+":")}function u(e,...t){return t.some(t=>d(e,t))}function c(e){let t;let i=/^L?(\d+)(?:,(\d+))?(-L?(\d+)(?:,(\d+))?)?/.exec(e.fragment);return i&&(t={startLineNumber:parseInt(i[1]),startColumn:i[2]?parseInt(i[2]):1,endLineNumber:i[4]?parseInt(i[4]):void 0,endColumn:i[4]?i[5]?parseInt(i[5]):1:void 0},e=e.with({fragment:""})),{selection:t,uri:e}}},90535:function(e,t,i){"use strict";i.d(t,{Ex:function(){return r},R9:function(){return o},ek:function(){return s}});var n=i(72065);let o=(0,n.yh)("progressService");Object.freeze({total(){},worked(){},done(){}});class r{constructor(e){this.callback=e}report(e){this._value=e,this.callback(this._value)}}r.None=Object.freeze({report(){}});let s=(0,n.yh)("editorProgressService")},45503:function(e,t,i){"use strict";i.d(t,{IP:function(){return l},Ry:function(){return o}});var n,o,r=i(9488),s=i(9917),a=i(89872);(n=o||(o={}))[n.PRESERVE=0]="PRESERVE",n[n.LAST=1]="LAST";let l={Quickaccess:"workbench.contributions.quickaccess"};a.B.add(l.Quickaccess,new class{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(e){return 0===e.prefix.length?this.defaultProvider=e:this.providers.push(e),this.providers.sort((e,t)=>t.prefix.length-e.prefix.length),(0,s.OF)(()=>{this.providers.splice(this.providers.indexOf(e),1),this.defaultProvider===e&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return(0,r.kX)([this.defaultProvider,...this.providers])}getQuickAccessProvider(e){let t=e&&this.providers.find(t=>e.startsWith(t.prefix))||void 0;return t||this.defaultProvider}})},41157:function(e,t,i){"use strict";i.d(t,{eJ:function(){return r},jG:function(){return o.jG}});var n=i(72065),o=i(67746);let r=(0,n.yh)("quickInputService")},89872:function(e,t,i){"use strict";i.d(t,{B:function(){return r}});var n=i(35146),o=i(98401);let r=new class{constructor(){this.data=new Map}add(e,t){n.ok(o.HD(e)),n.ok(o.Kn(t)),n.ok(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)}as(e){return this.data.get(e)||null}}},87060:function(e,t,i){"use strict";i.d(t,{Uy:function(){return f},vm:function(){return v},fk:function(){return s}});var n,o,r,s,a=i(4669),l=i(9917),h=i(98401),d=i(15393),u=function(e,t,i,n){return new(i||(i=Promise))(function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};(n=r||(r={}))[n.None=0]="None",n[n.Initialized=1]="Initialized",n[n.Closed=2]="Closed";class c extends l.JT{constructor(e,t=Object.create(null)){super(),this.database=e,this.options=t,this._onDidChangeStorage=this._register(new a.Q5),this.onDidChangeStorage=this._onDidChangeStorage.event,this.state=r.None,this.cache=new Map,this.flushDelayer=new d.rH(c.DEFAULT_FLUSH_DELAY),this.pendingDeletes=new Set,this.pendingInserts=new Map,this.whenFlushedCallbacks=[],this.registerListeners()}registerListeners(){this._register(this.database.onDidChangeItemsExternal(e=>this.onDidChangeItemsExternal(e)))}onDidChangeItemsExternal(e){var t,i;null===(t=e.changed)||void 0===t||t.forEach((e,t)=>this.accept(t,e)),null===(i=e.deleted)||void 0===i||i.forEach(e=>this.accept(e,void 0))}accept(e,t){if(this.state===r.Closed)return;let i=!1;if((0,h.Jp)(t))i=this.cache.delete(e);else{let n=this.cache.get(e);n!==t&&(this.cache.set(e,t),i=!0)}i&&this._onDidChangeStorage.fire(e)}get(e,t){let i=this.cache.get(e);return(0,h.Jp)(i)?t:i}getBoolean(e,t){let i=this.get(e);return(0,h.Jp)(i)?t:"true"===i}getNumber(e,t){let i=this.get(e);return(0,h.Jp)(i)?t:parseInt(i,10)}set(e,t){return u(this,void 0,void 0,function*(){if(this.state===r.Closed)return;if((0,h.Jp)(t))return this.delete(e);let i=String(t),n=this.cache.get(e);if(n!==i)return this.cache.set(e,i),this.pendingInserts.set(e,i),this.pendingDeletes.delete(e),this._onDidChangeStorage.fire(e),this.doFlush()})}delete(e){return u(this,void 0,void 0,function*(){if(this.state===r.Closed)return;let t=this.cache.delete(e);if(t)return this.pendingDeletes.has(e)||this.pendingDeletes.add(e),this.pendingInserts.delete(e),this._onDidChangeStorage.fire(e),this.doFlush()})}get hasPending(){return this.pendingInserts.size>0||this.pendingDeletes.size>0}flushPending(){return u(this,void 0,void 0,function*(){if(!this.hasPending)return;let e={insert:this.pendingInserts,delete:this.pendingDeletes};return this.pendingDeletes=new Set,this.pendingInserts=new Map,this.database.updateItems(e).finally(()=>{var e;if(!this.hasPending)for(;this.whenFlushedCallbacks.length;)null===(e=this.whenFlushedCallbacks.pop())||void 0===e||e()})})}doFlush(e){return u(this,void 0,void 0,function*(){return this.flushDelayer.trigger(()=>this.flushPending(),e)})}dispose(){this.flushDelayer.dispose(),super.dispose()}}c.DEFAULT_FLUSH_DELAY=100;class g{constructor(){this.onDidChangeItemsExternal=a.ju.None,this.items=new Map}updateItems(e){var t,i;return u(this,void 0,void 0,function*(){null===(t=e.insert)||void 0===t||t.forEach((e,t)=>this.items.set(t,e)),null===(i=e.delete)||void 0===i||i.forEach(e=>this.items.delete(e))})}}var p=i(72065);let m="__$__targetStorageMarker",f=(0,p.yh)("storageService");(o=s||(s={}))[o.NONE=0]="NONE",o[o.SHUTDOWN=1]="SHUTDOWN";class _ extends l.JT{constructor(e={flushInterval:_.DEFAULT_FLUSH_INTERVAL}){super(),this.options=e,this._onDidChangeValue=this._register(new a.K3),this.onDidChangeValue=this._onDidChangeValue.event,this._onDidChangeTarget=this._register(new a.K3),this._onWillSaveState=this._register(new a.Q5),this.onWillSaveState=this._onWillSaveState.event,this._workspaceKeyTargets=void 0,this._profileKeyTargets=void 0,this._applicationKeyTargets=void 0}emitDidChangeValue(e,t){if(t===m){switch(e){case -1:this._applicationKeyTargets=void 0;break;case 0:this._profileKeyTargets=void 0;break;case 1:this._workspaceKeyTargets=void 0}this._onDidChangeTarget.fire({scope:e})}else this._onDidChangeValue.fire({scope:e,key:t,target:this.getKeyTargets(e)[t]})}get(e,t,i){var n;return null===(n=this.getStorage(t))||void 0===n?void 0:n.get(e,i)}getBoolean(e,t,i){var n;return null===(n=this.getStorage(t))||void 0===n?void 0:n.getBoolean(e,i)}getNumber(e,t,i){var n;return null===(n=this.getStorage(t))||void 0===n?void 0:n.getNumber(e,i)}store(e,t,i,n){if((0,h.Jp)(t)){this.remove(e,i);return}this.withPausedEmitters(()=>{var o;this.updateKeyTarget(e,i,n),null===(o=this.getStorage(i))||void 0===o||o.set(e,t)})}remove(e,t){this.withPausedEmitters(()=>{var i;this.updateKeyTarget(e,t,void 0),null===(i=this.getStorage(t))||void 0===i||i.delete(e)})}withPausedEmitters(e){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{e()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}updateKeyTarget(e,t,i){var n,o;let r=this.getKeyTargets(t);"number"==typeof i?r[e]!==i&&(r[e]=i,null===(n=this.getStorage(t))||void 0===n||n.set(m,JSON.stringify(r))):"number"==typeof r[e]&&(delete r[e],null===(o=this.getStorage(t))||void 0===o||o.set(m,JSON.stringify(r)))}get workspaceKeyTargets(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}get profileKeyTargets(){return this._profileKeyTargets||(this._profileKeyTargets=this.loadKeyTargets(0)),this._profileKeyTargets}get applicationKeyTargets(){return this._applicationKeyTargets||(this._applicationKeyTargets=this.loadKeyTargets(-1)),this._applicationKeyTargets}getKeyTargets(e){switch(e){case -1:return this.applicationKeyTargets;case 0:return this.profileKeyTargets;default:return this.workspaceKeyTargets}}loadKeyTargets(e){let t=this.get(m,e);if(t)try{return JSON.parse(t)}catch(e){}return Object.create(null)}}_.DEFAULT_FLUSH_INTERVAL=6e4;class v extends _{constructor(){super(),this.applicationStorage=this._register(new c(new g)),this.profileStorage=this._register(new c(new g)),this.workspaceStorage=this._register(new c(new g)),this._register(this.workspaceStorage.onDidChangeStorage(e=>this.emitDidChangeValue(1,e))),this._register(this.profileStorage.onDidChangeStorage(e=>this.emitDidChangeValue(0,e))),this._register(this.applicationStorage.onDidChangeStorage(e=>this.emitDidChangeValue(-1,e)))}getStorage(e){switch(e){case -1:return this.applicationStorage;case 0:return this.profileStorage;default:return this.workspaceStorage}}}},10829:function(e,t,i){"use strict";i.d(t,{b:function(){return o}});var n=i(72065);let o=(0,n.yh)("telemetryService")},73910:function(e,t,i){"use strict";i.d(t,{$DX:function(){return tM},$d5:function(){return tg},ABB:function(){return Z},AS1:function(){return tp},AWI:function(){return eS},BOY:function(){return t2},Bqu:function(){return tn},C3g:function(){return O},CA6:function(){return tJ},CNo:function(){return eV},Cdg:function(){return tx},CzK:function(){return eZ},D0T:function(){return ec},D1_:function(){return ep},DEr:function(){return tI},Dut:function(){return el},E3h:function(){return tA},EPQ:function(){return M},EQn:function(){return tS},ES4:function(){return eD},EiJ:function(){return eR},F3d:function(){return tu},F9q:function(){return e3},Fm_:function(){return tK},Fu1:function(){return eG},GO4:function(){return U},Gj_:function(){return tG},Gwp:function(){return tm},HCL:function(){return ej},Hfx:function(){return eg},Hz8:function(){return tE},IPX:function(){return u},IYc:function(){return tj},Ido:function(){return m},Itd:function(){return tY},Ivo:function(){return tQ},JpG:function(){return t1},K19:function(){return eL},LLc:function(){return e6},L_H:function(){return X},L_t:function(){return e8},LoV:function(){return eW},M6C:function(){return tr},MUv:function(){return eT},NOs:function(){return eu},NPS:function(){return tk},Ng6:function(){return em},OLZ:function(){return t5},OZR:function(){return B},Oop:function(){return ti},P4M:function(){return eX},P6G:function(){return g},P6Y:function(){return e4},PRb:function(){return D},PX0:function(){return tf},PpC:function(){return eK},Pvw:function(){return I},QO2:function(){return d},R80:function(){return _},RV_:function(){return A},Rzx:function(){return ex},SPM:function(){return tU},SUG:function(){return R},SUY:function(){return t$},Saq:function(){return tC},Sbf:function(){return eB},Snq:function(){return t8},SwI:function(){return y},T83:function(){return ea},Tnx:function(){return ts},UnT:function(){return tw},VVv:function(){return ez},Vqd:function(){return tD},XEs:function(){return x},XL$:function(){return e9},XZx:function(){return f},Xy4:function(){return tX},YI3:function(){return T},ZGJ:function(){return tR},ZnX:function(){return t9},_2n:function(){return tt},_Yy:function(){return eH},_bK:function(){return te},_lC:function(){return E},_t9:function(){return F},_wn:function(){return G},b6y:function(){return et},b7$:function(){return K},bKB:function(){return e$},brw:function(){return t0},c63:function(){return es},cbQ:function(){return tN},cvW:function(){return ed},dCr:function(){return to},dRz:function(){return p},dt_:function(){return N},etL:function(){return Q},fEB:function(){return eh},few:function(){return er},g8u:function(){return j},g_n:function(){return eI},gkn:function(){return eO},gpD:function(){return ei},hEj:function(){return ek},hX8:function(){return eU},hzo:function(){return e0},j51:function(){return e2},j5u:function(){return z},jUe:function(){return eM},jbW:function(){return tT},kJk:function(){return eC},kVY:function(){return tZ},keg:function(){return eY},kvU:function(){return th},kwl:function(){return t7},lRK:function(){return v},lUq:function(){return tO},lWp:function(){return ey},lXJ:function(){return ee},loF:function(){return ev},mHy:function(){return e7},mV1:function(){return tc},nyM:function(){return eE},oQ$:function(){return ew},oSI:function(){return tv},opG:function(){return eb},ov3:function(){return tq},pW3:function(){return eo},paE:function(){return P},phM:function(){return eq},pnM:function(){return eA},ptc:function(){return eP},qeD:function(){return q},rg2:function(){return ta},rh:function(){return S},s$:function(){return td},sEe:function(){return L},sKV:function(){return eQ},sgC:function(){return w},tZ6:function(){return e_},uoC:function(){return en},url:function(){return b},uxu:function(){return ty},vGG:function(){return t_},xL1:function(){return C},xi6:function(){return e1},y65:function(){return tb},yJx:function(){return eF},yb5:function(){return eN},ynu:function(){return Y},ypS:function(){return eJ},ytC:function(){return tl},zJb:function(){return k},zKr:function(){return ef},zOm:function(){return e5},zRJ:function(){return J}});var n=i(15393),o=i(41264),r=i(4669),s=i(98401),a=i(63580),l=i(81294),h=i(89872);function d(e){return`--vscode-${e.replace(/\./g,"-")}`}let u={ColorContribution:"base.contributions.colors"},c=new class{constructor(){this._onDidChangeSchema=new r.Q5,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(e,t,i,n=!1,o){this.colorsById[e]={id:e,description:i,defaults:t,needsTransparency:n,deprecationMessage:o};let r={type:"string",description:i,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return o&&(r.deprecationMessage=o),this.colorSchema.properties[e]=r,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(i),this._onDidChangeSchema.fire(),e}getColors(){return Object.keys(this.colorsById).map(e=>this.colorsById[e])}resolveDefaultColor(e,t){let i=this.colorsById[e];if(i&&i.defaults){let e=i.defaults[t.type];return t8(e,t)}}getColorSchema(){return this.colorSchema}toString(){return Object.keys(this.colorsById).sort((e,t)=>{let i=-1===e.indexOf(".")?0:1,n=-1===t.indexOf(".")?0:1;return i!==n?i-n:e.localeCompare(t)}).map(e=>`- \`${e}\`: ${this.colorsById[e].description}`).join("\n")}};function g(e,t,i,n,o){return c.registerColor(e,(null===t||void 0===t.hcLight&&(null===t.hcDark||"string"==typeof t.hcDark?t.hcLight=t.hcDark:t.hcLight=t.light),t),i,n,o)}h.B.add(u.ColorContribution,c);let p=g("foreground",{dark:"#CCCCCC",light:"#616161",hcDark:"#FFFFFF",hcLight:"#292929"},a.NC("foreground","Overall foreground color. This color is only used if not overridden by a component."));g("disabledForeground",{dark:"#CCCCCC80",light:"#61616180",hcDark:"#A5A5A5",hcLight:"#7F7F7F"},a.NC("disabledForeground","Overall foreground for disabled elements. This color is only used if not overridden by a component."));let m=g("errorForeground",{dark:"#F48771",light:"#A1260D",hcDark:"#F48771",hcLight:"#B5200D"},a.NC("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component."));g("descriptionForeground",{light:"#717171",dark:t9(p,.7),hcDark:t9(p,.7),hcLight:t9(p,.7)},a.NC("descriptionForeground","Foreground color for description text providing additional information, for example for a label."));let f=g("icon.foreground",{dark:"#C5C5C5",light:"#424242",hcDark:"#FFFFFF",hcLight:"#292929"},a.NC("iconForeground","The default color for icons in the workbench.")),_=g("focusBorder",{dark:"#007FD4",light:"#0090F1",hcDark:"#F38518",hcLight:"#0F4A85"},a.NC("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),v=g("contrastBorder",{light:null,dark:null,hcDark:"#6FC3DF",hcLight:"#0F4A85"},a.NC("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),C=g("contrastActiveBorder",{light:null,dark:null,hcDark:_,hcLight:_},a.NC("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast."));g("selection.background",{light:null,dark:null,hcDark:null,hcLight:null},a.NC("selectionBackground","The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor.")),g("textSeparator.foreground",{light:"#0000002e",dark:"#ffffff2e",hcDark:o.Il.black,hcLight:"#292929"},a.NC("textSeparatorForeground","Color for text separators."));let b=g("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hcDark:"#3794FF",hcLight:"#0F4A85"},a.NC("textLinkForeground","Foreground color for links in text.")),w=g("textLink.activeForeground",{light:"#006AB1",dark:"#3794FF",hcDark:"#3794FF",hcLight:"#0F4A85"},a.NC("textLinkActiveForeground","Foreground color for links in text when clicked on and on mouse hover."));g("textPreformat.foreground",{light:"#A31515",dark:"#D7BA7D",hcDark:"#D7BA7D",hcLight:"#292929"},a.NC("textPreformatForeground","Foreground color for preformatted text segments.")),g("textBlockQuote.background",{light:"#7f7f7f1a",dark:"#7f7f7f1a",hcDark:null,hcLight:"#F2F2F2"},a.NC("textBlockQuoteBackground","Background color for block quotes in text.")),g("textBlockQuote.border",{light:"#007acc80",dark:"#007acc80",hcDark:o.Il.white,hcLight:"#292929"},a.NC("textBlockQuoteBorder","Border color for block quotes in text."));let y=g("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hcDark:o.Il.black,hcLight:"#F2F2F2"},a.NC("textCodeBlockBackground","Background color for code blocks in text.")),S=g("widget.shadow",{dark:t9(o.Il.black,.36),light:t9(o.Il.black,.16),hcDark:null,hcLight:null},a.NC("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),L=g("input.background",{dark:"#3C3C3C",light:o.Il.white,hcDark:o.Il.black,hcLight:o.Il.white},a.NC("inputBoxBackground","Input box background.")),k=g("input.foreground",{dark:p,light:p,hcDark:p,hcLight:p},a.NC("inputBoxForeground","Input box foreground.")),N=g("input.border",{dark:null,light:null,hcDark:v,hcLight:v},a.NC("inputBoxBorder","Input box border.")),D=g("inputOption.activeBorder",{dark:"#007ACC00",light:"#007ACC00",hcDark:v,hcLight:v},a.NC("inputBoxActiveOptionBorder","Border color of activated options in input fields."));g("inputOption.hoverBackground",{dark:"#5a5d5e80",light:"#b8b8b850",hcDark:null,hcLight:null},a.NC("inputOption.hoverBackground","Background color of activated options in input fields."));let x=g("inputOption.activeBackground",{dark:t9(_,.4),light:t9(_,.2),hcDark:o.Il.transparent,hcLight:o.Il.transparent},a.NC("inputOption.activeBackground","Background hover color of options in input fields.")),I=g("inputOption.activeForeground",{dark:o.Il.white,light:o.Il.black,hcDark:null,hcLight:p},a.NC("inputOption.activeForeground","Foreground color of activated options in input fields."));g("input.placeholderForeground",{light:t9(p,.5),dark:t9(p,.5),hcDark:t9(p,.7),hcLight:t9(p,.7)},a.NC("inputPlaceholderForeground","Input box foreground color for placeholder text."));let E=g("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hcDark:o.Il.black,hcLight:o.Il.white},a.NC("inputValidationInfoBackground","Input validation background color for information severity.")),T=g("inputValidation.infoForeground",{dark:null,light:null,hcDark:null,hcLight:p},a.NC("inputValidationInfoForeground","Input validation foreground color for information severity.")),M=g("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hcDark:v,hcLight:v},a.NC("inputValidationInfoBorder","Input validation border color for information severity.")),A=g("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hcDark:o.Il.black,hcLight:o.Il.white},a.NC("inputValidationWarningBackground","Input validation background color for warning severity.")),R=g("inputValidation.warningForeground",{dark:null,light:null,hcDark:null,hcLight:p},a.NC("inputValidationWarningForeground","Input validation foreground color for warning severity.")),O=g("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hcDark:v,hcLight:v},a.NC("inputValidationWarningBorder","Input validation border color for warning severity.")),P=g("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hcDark:o.Il.black,hcLight:o.Il.white},a.NC("inputValidationErrorBackground","Input validation background color for error severity.")),F=g("inputValidation.errorForeground",{dark:null,light:null,hcDark:null,hcLight:p},a.NC("inputValidationErrorForeground","Input validation foreground color for error severity.")),B=g("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hcDark:v,hcLight:v},a.NC("inputValidationErrorBorder","Input validation border color for error severity.")),V=g("dropdown.background",{dark:"#3C3C3C",light:o.Il.white,hcDark:o.Il.black,hcLight:o.Il.white},a.NC("dropdownBackground","Dropdown background."));g("dropdown.listBackground",{dark:null,light:null,hcDark:o.Il.black,hcLight:o.Il.white},a.NC("dropdownListBackground","Dropdown list background."));let W=g("dropdown.foreground",{dark:"#F0F0F0",light:null,hcDark:o.Il.white,hcLight:p},a.NC("dropdownForeground","Dropdown foreground.")),H=g("dropdown.border",{dark:V,light:"#CECECE",hcDark:v,hcLight:v},a.NC("dropdownBorder","Dropdown border."));g("checkbox.background",{dark:V,light:V,hcDark:V,hcLight:V},a.NC("checkbox.background","Background color of checkbox widget.")),g("checkbox.foreground",{dark:W,light:W,hcDark:W,hcLight:W},a.NC("checkbox.foreground","Foreground color of checkbox widget.")),g("checkbox.border",{dark:H,light:H,hcDark:H,hcLight:H},a.NC("checkbox.border","Border color of checkbox widget."));let z=g("button.foreground",{dark:o.Il.white,light:o.Il.white,hcDark:o.Il.white,hcLight:o.Il.white},a.NC("buttonForeground","Button foreground color."));g("button.separator",{dark:t9(z,.4),light:t9(z,.4),hcDark:t9(z,.4),hcLight:t9(z,.4)},a.NC("buttonSeparator","Button separator color."));let K=g("button.background",{dark:"#0E639C",light:"#007ACC",hcDark:null,hcLight:"#0F4A85"},a.NC("buttonBackground","Button background color.")),U=g("button.hoverBackground",{dark:t3(K,.2),light:t4(K,.2),hcDark:null,hcLight:null},a.NC("buttonHoverBackground","Button background color when hovering."));g("button.border",{dark:v,light:v,hcDark:v,hcLight:v},a.NC("buttonBorder","Button border color.")),g("button.secondaryForeground",{dark:o.Il.white,light:o.Il.white,hcDark:o.Il.white,hcLight:p},a.NC("buttonSecondaryForeground","Secondary button foreground color."));let $=g("button.secondaryBackground",{dark:"#3A3D41",light:"#5F6A79",hcDark:null,hcLight:o.Il.white},a.NC("buttonSecondaryBackground","Secondary button background color."));g("button.secondaryHoverBackground",{dark:t3($,.2),light:t4($,.2),hcDark:null,hcLight:null},a.NC("buttonSecondaryHoverBackground","Secondary button background color when hovering."));let j=g("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hcDark:o.Il.black,hcLight:"#0F4A85"},a.NC("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),q=g("badge.foreground",{dark:o.Il.white,light:"#333",hcDark:o.Il.white,hcLight:o.Il.white},a.NC("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),G=g("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hcDark:null,hcLight:null},a.NC("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),Q=g("scrollbarSlider.background",{dark:o.Il.fromHex("#797979").transparent(.4),light:o.Il.fromHex("#646464").transparent(.4),hcDark:t9(v,.6),hcLight:t9(v,.4)},a.NC("scrollbarSliderBackground","Scrollbar slider background color.")),Z=g("scrollbarSlider.hoverBackground",{dark:o.Il.fromHex("#646464").transparent(.7),light:o.Il.fromHex("#646464").transparent(.7),hcDark:t9(v,.8),hcLight:t9(v,.8)},a.NC("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),Y=g("scrollbarSlider.activeBackground",{dark:o.Il.fromHex("#BFBFBF").transparent(.4),light:o.Il.fromHex("#000000").transparent(.6),hcDark:v,hcLight:v},a.NC("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),J=g("progressBar.background",{dark:o.Il.fromHex("#0E70C0"),light:o.Il.fromHex("#0E70C0"),hcDark:v,hcLight:v},a.NC("progressBarBackground","Background color of the progress bar that can show for long running operations.")),X=g("editorError.background",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("editorError.background","Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),ee=g("editorError.foreground",{dark:"#F14C4C",light:"#E51400",hcDark:"#F48771",hcLight:"#B5200D"},a.NC("editorError.foreground","Foreground color of error squigglies in the editor.")),et=g("editorError.border",{dark:null,light:null,hcDark:o.Il.fromHex("#E47777").transparent(.8),hcLight:"#B5200D"},a.NC("errorBorder","Border color of error boxes in the editor.")),ei=g("editorWarning.background",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("editorWarning.background","Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),en=g("editorWarning.foreground",{dark:"#CCA700",light:"#BF8803",hcDark:"#FFD37",hcLight:"#895503"},a.NC("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),eo=g("editorWarning.border",{dark:null,light:null,hcDark:o.Il.fromHex("#FFCC00").transparent(.8),hcLight:"#"},a.NC("warningBorder","Border color of warning boxes in the editor.")),er=g("editorInfo.background",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("editorInfo.background","Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),es=g("editorInfo.foreground",{dark:"#3794FF",light:"#1a85ff",hcDark:"#3794FF",hcLight:"#1a85ff"},a.NC("editorInfo.foreground","Foreground color of info squigglies in the editor.")),ea=g("editorInfo.border",{dark:null,light:null,hcDark:o.Il.fromHex("#3794FF").transparent(.8),hcLight:"#292929"},a.NC("infoBorder","Border color of info boxes in the editor.")),el=g("editorHint.foreground",{dark:o.Il.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hcDark:null,hcLight:null},a.NC("editorHint.foreground","Foreground color of hint squigglies in the editor.")),eh=g("editorHint.border",{dark:null,light:null,hcDark:o.Il.fromHex("#eeeeee").transparent(.8),hcLight:"#292929"},a.NC("hintBorder","Border color of hint boxes in the editor."));g("sash.hoverBorder",{dark:_,light:_,hcDark:_,hcLight:_},a.NC("sashActiveBorder","Border color of active sashes."));let ed=g("editor.background",{light:"#ffffff",dark:"#1E1E1E",hcDark:o.Il.black,hcLight:o.Il.white},a.NC("editorBackground","Editor background color.")),eu=g("editor.foreground",{light:"#333333",dark:"#BBBBBB",hcDark:o.Il.white,hcLight:p},a.NC("editorForeground","Editor default foreground color."));g("editorStickyScroll.background",{light:ed,dark:ed,hcDark:ed,hcLight:ed},a.NC("editorStickyScrollBackground","Sticky scroll background color for the editor")),g("editorStickyScrollHover.background",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:null,hcLight:o.Il.fromHex("#0F4A85").transparent(.1)},a.NC("editorStickyScrollHoverBackground","Sticky scroll on hover background color for the editor"));let ec=g("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hcDark:"#0C141F",hcLight:o.Il.white},a.NC("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),eg=g("editorWidget.foreground",{dark:p,light:p,hcDark:p,hcLight:p},a.NC("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),ep=g("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hcDark:v,hcLight:v},a.NC("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),em=g("editorWidget.resizeBorder",{light:null,dark:null,hcDark:null,hcLight:null},a.NC("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),ef=g("quickInput.background",{dark:ec,light:ec,hcDark:ec,hcLight:ec},a.NC("pickerBackground","Quick picker background color. The quick picker widget is the container for pickers like the command palette.")),e_=g("quickInput.foreground",{dark:eg,light:eg,hcDark:eg,hcLight:eg},a.NC("pickerForeground","Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")),ev=g("quickInputTitle.background",{dark:new o.Il(new o.VS(255,255,255,.105)),light:new o.Il(new o.VS(0,0,0,.06)),hcDark:"#000000",hcLight:o.Il.white},a.NC("pickerTitleBackground","Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")),eC=g("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hcDark:o.Il.white,hcLight:"#0F4A85"},a.NC("pickerGroupForeground","Quick picker color for grouping labels.")),eb=g("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hcDark:o.Il.white,hcLight:"#0F4A85"},a.NC("pickerGroupBorder","Quick picker color for grouping borders.")),ew=g("keybindingLabel.background",{dark:new o.Il(new o.VS(128,128,128,.17)),light:new o.Il(new o.VS(221,221,221,.4)),hcDark:o.Il.transparent,hcLight:o.Il.transparent},a.NC("keybindingLabelBackground","Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")),ey=g("keybindingLabel.foreground",{dark:o.Il.fromHex("#CCCCCC"),light:o.Il.fromHex("#555555"),hcDark:o.Il.white,hcLight:p},a.NC("keybindingLabelForeground","Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")),eS=g("keybindingLabel.border",{dark:new o.Il(new o.VS(51,51,51,.6)),light:new o.Il(new o.VS(204,204,204,.4)),hcDark:new o.Il(new o.VS(111,195,223)),hcLight:v},a.NC("keybindingLabelBorder","Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")),eL=g("keybindingLabel.bottomBorder",{dark:new o.Il(new o.VS(68,68,68,.6)),light:new o.Il(new o.VS(187,187,187,.4)),hcDark:new o.Il(new o.VS(111,195,223)),hcLight:p},a.NC("keybindingLabelBottomBorder","Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.")),ek=g("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hcDark:"#f3f518",hcLight:"#0F4A85"},a.NC("editorSelectionBackground","Color of the editor selection.")),eN=g("editor.selectionForeground",{light:null,dark:null,hcDark:"#000000",hcLight:o.Il.white},a.NC("editorSelectionForeground","Color of the selected text for high contrast.")),eD=g("editor.inactiveSelectionBackground",{light:t9(ek,.5),dark:t9(ek,.5),hcDark:t9(ek,.7),hcLight:t9(ek,.5)},a.NC("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),ex=g("editor.selectionHighlightBackground",{light:t6(ek,ed,.3,.6),dark:t6(ek,ed,.3,.6),hcDark:null,hcLight:null},a.NC("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),eI=g("editor.selectionHighlightBorder",{light:null,dark:null,hcDark:C,hcLight:C},a.NC("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),eE=g("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hcDark:null,hcLight:null},a.NC("editorFindMatch","Color of the current search match.")),eT=g("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hcDark:null,hcLight:null},a.NC("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),eM=g("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hcDark:null,hcLight:null},a.NC("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),eA=g("editor.findMatchBorder",{light:null,dark:null,hcDark:C,hcLight:C},a.NC("editorFindMatchBorder","Border color of the current search match.")),eR=g("editor.findMatchHighlightBorder",{light:null,dark:null,hcDark:C,hcLight:C},a.NC("findMatchHighlightBorder","Border color of the other search matches.")),eO=g("editor.findRangeHighlightBorder",{dark:null,light:null,hcDark:t9(C,.4),hcLight:t9(C,.4)},a.NC("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0);g("searchEditor.findMatchBackground",{light:t9(eT,.66),dark:t9(eT,.66),hcDark:eT,hcLight:eT},a.NC("searchEditor.queryMatch","Color of the Search Editor query matches.")),g("searchEditor.findMatchBorder",{light:t9(eR,.66),dark:t9(eR,.66),hcDark:eR,hcLight:eR},a.NC("searchEditor.editorFindMatchBorder","Border color of the Search Editor query matches."));let eP=g("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hcDark:"#ADD6FF26",hcLight:null},a.NC("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),eF=g("editorHoverWidget.background",{light:ec,dark:ec,hcDark:ec,hcLight:ec},a.NC("hoverBackground","Background color of the editor hover.")),eB=g("editorHoverWidget.foreground",{light:eg,dark:eg,hcDark:eg,hcLight:eg},a.NC("hoverForeground","Foreground color of the editor hover.")),eV=g("editorHoverWidget.border",{light:ep,dark:ep,hcDark:ep,hcLight:ep},a.NC("hoverBorder","Border color of the editor hover.")),eW=g("editorHoverWidget.statusBarBackground",{dark:t3(eF,.2),light:t4(eF,.05),hcDark:ec,hcLight:ec},a.NC("statusBarBackground","Background color of the editor hover status bar.")),eH=g("editorLink.activeForeground",{dark:"#4E94CE",light:o.Il.blue,hcDark:o.Il.cyan,hcLight:"#292929"},a.NC("activeLinkForeground","Color of active links.")),ez=g("editorInlayHint.foreground",{dark:t9(q,.8),light:t9(q,.8),hcDark:q,hcLight:q},a.NC("editorInlayHintForeground","Foreground color of inline hints")),eK=g("editorInlayHint.background",{dark:t9(j,.6),light:t9(j,.3),hcDark:j,hcLight:j},a.NC("editorInlayHintBackground","Background color of inline hints")),eU=g("editorInlayHint.typeForeground",{dark:ez,light:ez,hcDark:ez,hcLight:ez},a.NC("editorInlayHintForegroundTypes","Foreground color of inline hints for types")),e$=g("editorInlayHint.typeBackground",{dark:eK,light:eK,hcDark:eK,hcLight:eK},a.NC("editorInlayHintBackgroundTypes","Background color of inline hints for types")),ej=g("editorInlayHint.parameterForeground",{dark:ez,light:ez,hcDark:ez,hcLight:ez},a.NC("editorInlayHintForegroundParameter","Foreground color of inline hints for parameters")),eq=g("editorInlayHint.parameterBackground",{dark:eK,light:eK,hcDark:eK,hcLight:eK},a.NC("editorInlayHintBackgroundParameter","Background color of inline hints for parameters")),eG=g("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hcDark:"#FFCC00",hcLight:"#007ACC"},a.NC("editorLightBulbForeground","The color used for the lightbulb actions icon.")),eQ=g("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},a.NC("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),eZ=new o.Il(new o.VS(155,185,85,.2)),eY=new o.Il(new o.VS(255,0,0,.2)),eJ=g("diffEditor.insertedTextBackground",{dark:"#9ccc2c33",light:"#9ccc2c66",hcDark:null,hcLight:null},a.NC("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),eX=g("diffEditor.removedTextBackground",{dark:"#ff000066",light:"#ff00004d",hcDark:null,hcLight:null},a.NC("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),e0=g("diffEditor.insertedLineBackground",{dark:eZ,light:eZ,hcDark:null,hcLight:null},a.NC("diffEditorInsertedLines","Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),e1=g("diffEditor.removedLineBackground",{dark:eY,light:eY,hcDark:null,hcLight:null},a.NC("diffEditorRemovedLines","Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),e2=g("diffEditorGutter.insertedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("diffEditorInsertedLineGutter","Background color for the margin where lines got inserted.")),e5=g("diffEditorGutter.removedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("diffEditorRemovedLineGutter","Background color for the margin where lines got removed.")),e4=g("diffEditorOverview.insertedForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("diffEditorOverviewInserted","Diff overview ruler foreground for inserted content.")),e3=g("diffEditorOverview.removedForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("diffEditorOverviewRemoved","Diff overview ruler foreground for removed content.")),e9=g("diffEditor.insertedTextBorder",{dark:null,light:null,hcDark:"#33ff2eff",hcLight:"#374E06"},a.NC("diffEditorInsertedOutline","Outline color for the text that got inserted.")),e7=g("diffEditor.removedTextBorder",{dark:null,light:null,hcDark:"#FF008F",hcLight:"#AD0707"},a.NC("diffEditorRemovedOutline","Outline color for text that got removed.")),e6=g("diffEditor.border",{dark:null,light:null,hcDark:v,hcLight:v},a.NC("diffEditorBorder","Border color between the two text editors.")),e8=g("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hcDark:null,hcLight:null},a.NC("diffDiagonalFill","Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.")),te=g("list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tt=g("list.focusForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),ti=g("list.focusOutline",{dark:_,light:_,hcDark:C,hcLight:C},a.NC("listFocusOutline","List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tn=g("list.focusAndSelectionOutline",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("listFocusAndSelectionOutline","List/Tree outline color for the focused item when the list/tree is active and selected. An active list/tree has keyboard focus, an inactive does not.")),to=g("list.activeSelectionBackground",{dark:"#04395E",light:"#0060C0",hcDark:null,hcLight:o.Il.fromHex("#0F4A85").transparent(.1)},a.NC("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tr=g("list.activeSelectionForeground",{dark:o.Il.white,light:o.Il.white,hcDark:null,hcLight:null},a.NC("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),ts=g("list.activeSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("listActiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),ta=g("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hcDark:null,hcLight:o.Il.fromHex("#0F4A85").transparent(.1)},a.NC("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),tl=g("list.inactiveSelectionForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),th=g("list.inactiveSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("listInactiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),td=g("list.inactiveFocusBackground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),tu=g("list.inactiveFocusOutline",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("listInactiveFocusOutline","List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),tc=g("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:null,hcLight:o.Il.fromHex("#0F4A85").transparent(.1)},a.NC("listHoverBackground","List/Tree background when hovering over items using the mouse.")),tg=g("list.hoverForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),tp=g("list.dropBackground",{dark:"#062F4A",light:"#D6EBFF",hcDark:null,hcLight:null},a.NC("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),tm=g("list.highlightForeground",{dark:"#2AAAFF",light:"#0066BF",hcDark:_,hcLight:_},a.NC("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),tf=g("list.focusHighlightForeground",{dark:tm,light:{op:5,if:to,then:tm,else:"#BBE7FF"},hcDark:tm,hcLight:tm},a.NC("listFocusHighlightForeground","List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree."));g("list.invalidItemForeground",{dark:"#B89500",light:"#B89500",hcDark:"#B89500",hcLight:"#B5200D"},a.NC("invalidItemForeground","List/Tree foreground color for invalid items, for example an unresolved root in explorer.")),g("list.errorForeground",{dark:"#F88070",light:"#B01011",hcDark:null,hcLight:null},a.NC("listErrorForeground","Foreground color of list items containing errors.")),g("list.warningForeground",{dark:"#CCA700",light:"#855F00",hcDark:null,hcLight:null},a.NC("listWarningForeground","Foreground color of list items containing warnings."));let t_=g("listFilterWidget.background",{light:t4(ec,0),dark:t3(ec,0),hcDark:ec,hcLight:ec},a.NC("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),tv=g("listFilterWidget.outline",{dark:o.Il.transparent,light:o.Il.transparent,hcDark:"#f38518",hcLight:"#007ACC"},a.NC("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),tC=g("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hcDark:v,hcLight:v},a.NC("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),tb=g("listFilterWidget.shadow",{dark:S,light:S,hcDark:S,hcLight:S},a.NC("listFilterWidgetShadow","Shadown color of the type filter widget in lists and trees."));g("list.filterMatchBackground",{dark:eT,light:eT,hcDark:null,hcLight:null},a.NC("listFilterMatchHighlight","Background color of the filtered match.")),g("list.filterMatchBorder",{dark:eR,light:eR,hcDark:v,hcLight:C},a.NC("listFilterMatchHighlightBorder","Border color of the filtered match."));let tw=g("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hcDark:"#a9a9a9",hcLight:"#a5a5a5"},a.NC("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),ty=g("tree.tableColumnsBorder",{dark:"#CCCCCC20",light:"#61616120",hcDark:null,hcLight:null},a.NC("tableColumnsBorder","Table border color between columns.")),tS=g("tree.tableOddRowsBackground",{dark:t9(p,.04),light:t9(p,.04),hcDark:null,hcLight:null},a.NC("tableOddRowsBackgroundColor","Background color for odd table rows."));g("list.deemphasizedForeground",{dark:"#8C8C8C",light:"#8E8E90",hcDark:"#A7A8A9",hcLight:"#666666"},a.NC("listDeemphasizedForeground","List/Tree foreground color for items that are deemphasized. "));let tL=g("quickInput.list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},"",void 0,a.NC("quickInput.list.focusBackground deprecation","Please use quickInputList.focusBackground instead")),tk=g("quickInputList.focusForeground",{dark:tr,light:tr,hcDark:tr,hcLight:tr},a.NC("quickInput.listFocusForeground","Quick picker foreground color for the focused item.")),tN=g("quickInputList.focusIconForeground",{dark:ts,light:ts,hcDark:ts,hcLight:ts},a.NC("quickInput.listFocusIconForeground","Quick picker icon foreground color for the focused item.")),tD=g("quickInputList.focusBackground",{dark:t7(tL,to),light:t7(tL,to),hcDark:null,hcLight:null},a.NC("quickInput.listFocusBackground","Quick picker background color for the focused item.")),tx=g("menu.border",{dark:null,light:null,hcDark:v,hcLight:v},a.NC("menuBorder","Border color of menus.")),tI=g("menu.foreground",{dark:W,light:p,hcDark:W,hcLight:W},a.NC("menuForeground","Foreground color of menu items.")),tE=g("menu.background",{dark:V,light:V,hcDark:V,hcLight:V},a.NC("menuBackground","Background color of menu items.")),tT=g("menu.selectionForeground",{dark:tr,light:tr,hcDark:tr,hcLight:tr},a.NC("menuSelectionForeground","Foreground color of the selected menu item in menus.")),tM=g("menu.selectionBackground",{dark:to,light:to,hcDark:to,hcLight:to},a.NC("menuSelectionBackground","Background color of the selected menu item in menus.")),tA=g("menu.selectionBorder",{dark:null,light:null,hcDark:C,hcLight:C},a.NC("menuSelectionBorder","Border color of the selected menu item in menus.")),tR=g("menu.separatorBackground",{dark:"#606060",light:"#D4D4D4",hcDark:v,hcLight:v},a.NC("menuSeparatorBackground","Color of a separator menu item in menus.")),tO=g("toolbar.hoverBackground",{dark:"#5a5d5e50",light:"#b8b8b850",hcDark:null,hcLight:null},a.NC("toolbarHoverBackground","Toolbar background when hovering over actions using the mouse"));g("toolbar.hoverOutline",{dark:null,light:null,hcDark:C,hcLight:C},a.NC("toolbarHoverOutline","Toolbar outline when hovering over actions using the mouse")),g("toolbar.activeBackground",{dark:t3(tO,.1),light:t4(tO,.1),hcDark:null,hcLight:null},a.NC("toolbarActiveBackground","Toolbar background when holding the mouse over actions")),g("editor.snippetTabstopHighlightBackground",{dark:new o.Il(new o.VS(124,124,124,.3)),light:new o.Il(new o.VS(10,50,100,.2)),hcDark:new o.Il(new o.VS(124,124,124,.3)),hcLight:new o.Il(new o.VS(10,50,100,.2))},a.NC("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),g("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),g("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),g("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new o.Il(new o.VS(10,50,100,.5)),hcDark:"#525252",hcLight:"#292929"},a.NC("snippetFinalTabstopHighlightBorder","Highlight border color of the final tabstop of a snippet.")),g("breadcrumb.foreground",{light:t9(p,.8),dark:t9(p,.8),hcDark:t9(p,.8),hcLight:t9(p,.8)},a.NC("breadcrumbsFocusForeground","Color of focused breadcrumb items.")),g("breadcrumb.background",{light:ed,dark:ed,hcDark:ed,hcLight:ed},a.NC("breadcrumbsBackground","Background color of breadcrumb items.")),g("breadcrumb.focusForeground",{light:t4(p,.2),dark:t3(p,.1),hcDark:t3(p,.1),hcLight:t3(p,.1)},a.NC("breadcrumbsFocusForeground","Color of focused breadcrumb items.")),g("breadcrumb.activeSelectionForeground",{light:t4(p,.2),dark:t3(p,.1),hcDark:t3(p,.1),hcLight:t3(p,.1)},a.NC("breadcrumbsSelectedForeground","Color of selected breadcrumb items.")),g("breadcrumbPicker.background",{light:ec,dark:ec,hcDark:ec,hcLight:ec},a.NC("breadcrumbsSelectedBackground","Background color of breadcrumb item picker."));let tP=o.Il.fromHex("#40C8AE").transparent(.5),tF=o.Il.fromHex("#40A6FF").transparent(.5),tB=o.Il.fromHex("#606060").transparent(.4),tV=g("merge.currentHeaderBackground",{dark:tP,light:tP,hcDark:null,hcLight:null},a.NC("mergeCurrentHeaderBackground","Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);g("merge.currentContentBackground",{dark:t9(tV,.4),light:t9(tV,.4),hcDark:t9(tV,.4),hcLight:t9(tV,.4)},a.NC("mergeCurrentContentBackground","Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);let tW=g("merge.incomingHeaderBackground",{dark:tF,light:tF,hcDark:null,hcLight:null},a.NC("mergeIncomingHeaderBackground","Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);g("merge.incomingContentBackground",{dark:t9(tW,.4),light:t9(tW,.4),hcDark:t9(tW,.4),hcLight:t9(tW,.4)},a.NC("mergeIncomingContentBackground","Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);let tH=g("merge.commonHeaderBackground",{dark:tB,light:tB,hcDark:null,hcLight:null},a.NC("mergeCommonHeaderBackground","Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);g("merge.commonContentBackground",{dark:t9(tH,.4),light:t9(tH,.4),hcDark:t9(tH,.4),hcLight:t9(tH,.4)},a.NC("mergeCommonContentBackground","Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0);let tz=g("merge.border",{dark:null,light:null,hcDark:"#C3DF6F",hcLight:"#007ACC"},a.NC("mergeBorder","Border color on headers and the splitter in inline merge-conflicts."));g("editorOverviewRuler.currentContentForeground",{dark:t9(tV,1),light:t9(tV,1),hcDark:tz,hcLight:tz},a.NC("overviewRulerCurrentContentForeground","Current overview ruler foreground for inline merge-conflicts.")),g("editorOverviewRuler.incomingContentForeground",{dark:t9(tW,1),light:t9(tW,1),hcDark:tz,hcLight:tz},a.NC("overviewRulerIncomingContentForeground","Incoming overview ruler foreground for inline merge-conflicts.")),g("editorOverviewRuler.commonContentForeground",{dark:t9(tH,1),light:t9(tH,1),hcDark:tz,hcLight:tz},a.NC("overviewRulerCommonContentForeground","Common ancestor overview ruler foreground for inline merge-conflicts."));let tK=g("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hcDark:"#AB5A00",hcLight:""},a.NC("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),tU=g("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hcDark:"#A0A0A0CC",hcLight:"#A0A0A0CC"},a.NC("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),t$=g("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hcDark:"#AB5A00",hcLight:"#0F4A85"},a.NC("minimapFindMatchHighlight","Minimap marker color for find matches."),!0),tj=g("minimap.selectionOccurrenceHighlight",{light:"#c9c9c9",dark:"#676767",hcDark:"#ffffff",hcLight:"#0F4A85"},a.NC("minimapSelectionOccurrenceHighlight","Minimap marker color for repeating editor selections."),!0),tq=g("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hcDark:"#ffffff",hcLight:"#0F4A85"},a.NC("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),tG=g("minimap.errorHighlight",{dark:new o.Il(new o.VS(255,18,18,.7)),light:new o.Il(new o.VS(255,18,18,.7)),hcDark:new o.Il(new o.VS(255,50,50,1)),hcLight:"#B5200D"},a.NC("minimapError","Minimap marker color for errors.")),tQ=g("minimap.warningHighlight",{dark:en,light:en,hcDark:eo,hcLight:eo},a.NC("overviewRuleWarning","Minimap marker color for warnings.")),tZ=g("minimap.background",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("minimapBackground","Minimap background color.")),tY=g("minimap.foregroundOpacity",{dark:o.Il.fromHex("#000f"),light:o.Il.fromHex("#000f"),hcDark:o.Il.fromHex("#000f"),hcLight:o.Il.fromHex("#000f")},a.NC("minimapForegroundOpacity",'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.')),tJ=g("minimapSlider.background",{light:t9(Q,.5),dark:t9(Q,.5),hcDark:t9(Q,.5),hcLight:t9(Q,.5)},a.NC("minimapSliderBackground","Minimap slider background color.")),tX=g("minimapSlider.hoverBackground",{light:t9(Z,.5),dark:t9(Z,.5),hcDark:t9(Z,.5),hcLight:t9(Z,.5)},a.NC("minimapSliderHoverBackground","Minimap slider background color when hovering.")),t0=g("minimapSlider.activeBackground",{light:t9(Y,.5),dark:t9(Y,.5),hcDark:t9(Y,.5),hcLight:t9(Y,.5)},a.NC("minimapSliderActiveBackground","Minimap slider background color when clicked on.")),t1=g("problemsErrorIcon.foreground",{dark:ee,light:ee,hcDark:ee,hcLight:ee},a.NC("problemsErrorIconForeground","The color used for the problems error icon.")),t2=g("problemsWarningIcon.foreground",{dark:en,light:en,hcDark:en,hcLight:en},a.NC("problemsWarningIconForeground","The color used for the problems warning icon.")),t5=g("problemsInfoIcon.foreground",{dark:es,light:es,hcDark:es,hcLight:es},a.NC("problemsInfoIconForeground","The color used for the problems info icon."));function t4(e,t){return{op:0,value:e,factor:t}}function t3(e,t){return{op:1,value:e,factor:t}}function t9(e,t){return{op:2,value:e,factor:t}}function t7(...e){return{op:3,values:e}}function t6(e,t,i,n){return{op:4,value:e,background:t,factor:i,transparency:n}}function t8(e,t){if(null===e);else if("string"==typeof e)return"#"===e[0]?o.Il.fromHex(e):t.getColor(e);else if(e instanceof o.Il)return e;else if("object"==typeof e)return function(e,t){var i,n,r;switch(e.op){case 0:return null===(i=t8(e.value,t))||void 0===i?void 0:i.darken(e.factor);case 1:return null===(n=t8(e.value,t))||void 0===n?void 0:n.lighten(e.factor);case 2:return null===(r=t8(e.value,t))||void 0===r?void 0:r.transparent(e.factor);case 3:for(let i of e.values){let e=t8(i,t);if(e)return e}return;case 5:return t8(t.defines(e.if)?e.then:e.else,t);case 4:{let i=t8(e.value,t);if(!i)return;let n=t8(e.background,t);if(!n)return i.transparent(e.factor*e.transparency);return i.isDarkerThan(n)?o.Il.getLighterColor(i,n,e.factor).transparent(e.transparency):o.Il.getDarkerColor(i,n,e.factor).transparent(e.transparency)}default:throw(0,s.vE)(e)}}(e,t)}g("charts.foreground",{dark:p,light:p,hcDark:p,hcLight:p},a.NC("chartsForeground","The foreground color used in charts.")),g("charts.lines",{dark:t9(p,.5),light:t9(p,.5),hcDark:t9(p,.5),hcLight:t9(p,.5)},a.NC("chartsLines","The color used for horizontal lines in charts.")),g("charts.red",{dark:ee,light:ee,hcDark:ee,hcLight:ee},a.NC("chartsRed","The red color used in chart visualizations.")),g("charts.blue",{dark:es,light:es,hcDark:es,hcLight:es},a.NC("chartsBlue","The blue color used in chart visualizations.")),g("charts.yellow",{dark:en,light:en,hcDark:en,hcLight:en},a.NC("chartsYellow","The yellow color used in chart visualizations.")),g("charts.orange",{dark:t$,light:t$,hcDark:t$,hcLight:t$},a.NC("chartsOrange","The orange color used in chart visualizations.")),g("charts.green",{dark:"#89D185",light:"#388A34",hcDark:"#89D185",hcLight:"#374e06"},a.NC("chartsGreen","The green color used in chart visualizations.")),g("charts.purple",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},a.NC("chartsPurple","The purple color used in chart visualizations."));let ie="vscode://schemas/workbench-colors",it=h.B.as(l.I.JSONContribution);it.registerSchema(ie,c.getColorSchema());let ii=new n.pY(()=>it.notifySchemaChanged(ie),200);c.onDidChangeSchema(()=>{ii.isScheduled()||ii.schedule()})},59554:function(e,t,i){"use strict";i.d(t,{Ks:function(){return _},q5:function(){return f},s_:function(){return w}});var n,o,r,s=i(15393),a=i(73046),l=i(4669),h=i(98401),d=i(70666),u=i(63580),c=i(81294),g=i(89872),p=i(97781);(o||(o={})).getDefinition=function(e,t){let i=e.defaults;for(;p.kS.isThemeIcon(i);){let e=m.getIcon(i.id);if(!e)return;i=e.defaults}return i},(n=r||(r={})).toJSONObject=function(e){return{weight:e.weight,style:e.style,src:e.src.map(e=>({format:e.format,location:e.location.toString()}))}},n.fromJSONObject=function(e){let t=e=>(0,h.HD)(e)?e:void 0;if(e&&Array.isArray(e.src)&&e.src.every(e=>(0,h.HD)(e.format)&&(0,h.HD)(e.location)))return{weight:t(e.weight),style:t(e.style),src:e.src.map(e=>({format:e.format,location:d.o.parse(e.location)}))}};let m=new class{constructor(){this._onDidChange=new l.Q5,this.onDidChange=this._onDidChange.event,this.iconSchema={definitions:{icons:{type:"object",properties:{fontId:{type:"string",description:(0,u.NC)("iconDefinition.fontId","The id of the font to use. If not set, the font that is defined first is used.")},fontCharacter:{type:"string",description:(0,u.NC)("iconDefinition.fontCharacter","The font character associated with the icon definition.")}},additionalProperties:!1,defaultSnippets:[{body:{fontCharacter:"\\\\e030"}}]}},type:"object",properties:{}},this.iconReferenceSchema={type:"string",pattern:`^${a.dT.iconNameExpression}$`,enum:[],enumDescriptions:[]},this.iconsById={},this.iconFontsById={}}registerIcon(e,t,i,n){let o=this.iconsById[e];if(o){if(i&&!o.description){o.description=i,this.iconSchema.properties[e].markdownDescription=`${i} $(${e})`;let t=this.iconReferenceSchema.enum.indexOf(e);-1!==t&&(this.iconReferenceSchema.enumDescriptions[t]=i),this._onDidChange.fire()}return o}this.iconsById[e]={id:e,description:i,defaults:t,deprecationMessage:n};let r={$ref:"#/definitions/icons"};return n&&(r.deprecationMessage=n),i&&(r.markdownDescription=`${i}: $(${e})`),this.iconSchema.properties[e]=r,this.iconReferenceSchema.enum.push(e),this.iconReferenceSchema.enumDescriptions.push(i||""),this._onDidChange.fire(),{id:e}}getIcons(){return Object.keys(this.iconsById).map(e=>this.iconsById[e])}getIcon(e){return this.iconsById[e]}getIconSchema(){return this.iconSchema}toString(){let e=(e,t)=>e.id.localeCompare(t.id),t=e=>{for(;p.kS.isThemeIcon(e.defaults);)e=this.iconsById[e.defaults.id];return`codicon codicon-${e?e.id:""}`},i=[];i.push("| preview | identifier | default codicon ID | description"),i.push("| ----------- | --------------------------------- | --------------------------------- | --------------------------------- |");let n=Object.keys(this.iconsById).map(e=>this.iconsById[e]);for(let o of n.filter(e=>!!e.description).sort(e))i.push(`||${o.id}|${p.kS.isThemeIcon(o.defaults)?o.defaults.id:o.id}|${o.description||""}|`);for(let o of(i.push("| preview | identifier "),i.push("| ----------- | --------------------------------- |"),n.filter(e=>!p.kS.isThemeIcon(e.defaults)).sort(e)))i.push(`||${o.id}|`);return i.join("\n")}};function f(e,t,i,n){return m.registerIcon(e,t,i,n)}function _(){return m}g.B.add("base.contributions.icons",m),function(){for(let e of a.lA.getAll())m.registerIcon(e.id,e.definition,e.description)}();let v="vscode://schemas/icons",C=g.B.as(c.I.JSONContribution);C.registerSchema(v,m.getIconSchema());let b=new s.pY(()=>C.notifySchemaChanged(v),200);m.onDidChange(()=>{b.isScheduled()||b.schedule()});let w=f("widget-close",a.lA.close,(0,u.NC)("widgetClose","Icon for the close action in widgets."));f("goto-previous-location",a.lA.arrowUp,(0,u.NC)("previousChangeIcon","Icon for goto previous editor location.")),f("goto-next-location",a.lA.arrowDown,(0,u.NC)("nextChangeIcon","Icon for goto next editor location.")),p.kS.modify(a.lA.sync,"spin"),p.kS.modify(a.lA.loading,"spin")},88810:function(e,t,i){"use strict";i.d(t,{Jl:function(){return a},O2:function(){return l},WZ:function(){return s},o:function(){return o},tj:function(){return d}});var n=i(73910);function o(e,t){let i=Object.create(null);for(let o in t){let r=t[o];r&&(i[o]=(0,n.Snq)(r,e))}return i}function r(e,t,i){function n(){let n=o(e.getColorTheme(),t);"function"==typeof i?i(n):i.style(n)}return n(),e.onDidColorThemeChange(n)}function s(e,t,i){return r(t,{badgeBackground:(null==i?void 0:i.badgeBackground)||n.g8u,badgeForeground:(null==i?void 0:i.badgeForeground)||n.qeD,badgeBorder:n.lRK},e)}function a(e,t,i){return r(t,Object.assign(Object.assign({},l),i||{}),e)}let l={listFocusBackground:n._bK,listFocusForeground:n._2n,listFocusOutline:n.Oop,listActiveSelectionBackground:n.dCr,listActiveSelectionForeground:n.M6C,listActiveSelectionIconForeground:n.Tnx,listFocusAndSelectionOutline:n.Bqu,listFocusAndSelectionBackground:n.dCr,listFocusAndSelectionForeground:n.M6C,listInactiveSelectionBackground:n.rg2,listInactiveSelectionIconForeground:n.kvU,listInactiveSelectionForeground:n.ytC,listInactiveFocusBackground:n.s$,listInactiveFocusOutline:n.F3d,listHoverBackground:n.mV1,listHoverForeground:n.$d5,listDropBackground:n.AS1,listSelectionOutline:n.xL1,listHoverOutline:n.xL1,listFilterWidgetBackground:n.vGG,listFilterWidgetOutline:n.oSI,listFilterWidgetNoMatchesOutline:n.Saq,listFilterWidgetShadow:n.y65,treeIndentGuidesStroke:n.UnT,tableColumnsBorder:n.uxu,tableOddRowsBackgroundColor:n.EQn,inputActiveOptionBorder:n.PRb,inputActiveOptionForeground:n.Pvw,inputActiveOptionBackground:n.XEs,inputBackground:n.sEe,inputForeground:n.zJb,inputBorder:n.dt_,inputValidationInfoBackground:n._lC,inputValidationInfoForeground:n.YI3,inputValidationInfoBorder:n.EPQ,inputValidationWarningBackground:n.RV_,inputValidationWarningForeground:n.SUG,inputValidationWarningBorder:n.C3g,inputValidationErrorBackground:n.paE,inputValidationErrorForeground:n._t9,inputValidationErrorBorder:n.OZR},h={shadowColor:n.rh,borderColor:n.Cdg,foregroundColor:n.DEr,backgroundColor:n.Hz8,selectionForegroundColor:n.jbW,selectionBackgroundColor:n.$DX,selectionBorderColor:n.E3h,separatorColor:n.ZGJ,scrollbarShadow:n._wn,scrollbarSliderBackground:n.etL,scrollbarSliderHoverBackground:n.ABB,scrollbarSliderActiveBackground:n.ynu};function d(e,t,i){return r(t,Object.assign(Object.assign({},h),i),e)}},92321:function(e,t,i){"use strict";var n,o;function r(e){return e===n.HIGH_CONTRAST_DARK||e===n.HIGH_CONTRAST_LIGHT}function s(e){return e===n.DARK||e===n.HIGH_CONTRAST_DARK}i.d(t,{_T:function(){return s},c3:function(){return r},eL:function(){return n}}),(o=n||(n={})).DARK="dark",o.LIGHT="light",o.HIGH_CONTRAST_DARK="hcDark",o.HIGH_CONTRAST_LIGHT="hcLight"},97781:function(e,t,i){"use strict";i.d(t,{EN:function(){return c},IP:function(){return p},Ic:function(){return f},XE:function(){return u},bB:function(){return _},kS:function(){return o},m6:function(){return g}});var n,o,r=i(73046),s=i(4669),a=i(9917),l=i(72065),h=i(89872),d=i(92321);let u=(0,l.yh)("themeService");function c(e){return{id:e}}function g(e){switch(e){case d.eL.DARK:return"vs-dark";case d.eL.HIGH_CONTRAST_DARK:return"hc-black";case d.eL.HIGH_CONTRAST_LIGHT:return"hc-light";default:return"vs"}}(n||(n={})).isThemeColor=function(e){return e&&"object"==typeof e&&"string"==typeof e.id},function(e){e.isThemeIcon=function(e){return e&&"object"==typeof e&&"string"==typeof e.id&&(void 0===e.color||n.isThemeColor(e.color))};let t=RegExp(`^\\$\\((${r.dT.iconNameExpression}(?:${r.dT.iconModifierExpression})?)\\)$`);e.fromString=function(e){let i=t.exec(e);if(!i)return;let[,n]=i;return{id:n}},e.fromId=function(e){return{id:e}},e.modify=function(e,t){let i=e.id,n=i.lastIndexOf("~");return -1!==n&&(i=i.substring(0,n)),t&&(i=`${i}~${t}`),{id:i}},e.getModifier=function(e){let t=e.id.lastIndexOf("~");if(-1!==t)return e.id.substring(t+1)},e.isEqual=function(e,t){var i,n;return e.id===t.id&&(null===(i=e.color)||void 0===i?void 0:i.id)===(null===(n=t.color)||void 0===n?void 0:n.id)},e.asThemeIcon=function(e,t){return{id:e.id,color:t?{id:t}:void 0}},e.asClassNameArray=r.dT.asClassNameArray,e.asClassName=r.dT.asClassName,e.asCSSSelector=r.dT.asCSSSelector}(o||(o={}));let p={ThemingContribution:"base.contributions.theming"},m=new class{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new s.Q5}onColorThemeChange(e){return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),(0,a.OF)(()=>{let t=this.themingParticipants.indexOf(e);this.themingParticipants.splice(t,1)})}getThemingParticipants(){return this.themingParticipants}};function f(e){return m.onColorThemeChange(e)}h.B.add(p.ThemingContribution,m);class _ extends a.JT{constructor(e){super(),this.themeService=e,this.theme=e.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(e=>this.onThemeChange(e)))}onThemeChange(e){this.theme=e,this.updateStyles()}updateStyles(){}}},64862:function(e,t,i){"use strict";i.d(t,{Xt:function(){return s},YO:function(){return r},gJ:function(){return a},tJ:function(){return o}});var n=i(72065);let o=(0,n.yh)("undoRedoService");class r{constructor(e,t){this.resource=e,this.elements=t}}class s{constructor(){this.id=s._ID++,this.order=1}nextOrder(){return 0===this.id?0:this.order++}}s._ID=0,s.None=new s;class a{constructor(){this.id=a._ID++,this.order=1}nextOrder(){return 0===this.id?0:this.order++}}a._ID=0,a.None=new a},40382:function(e,t,i){"use strict";i.d(t,{A6:function(){return d},eb:function(){return a},ec:function(){return s},md:function(){return h},uT:function(){return l}});var n=i(63580);i(43702);var o=i(70666),r=i(72065);let s=(0,r.yh)("contextService");function a(e){return"string"==typeof(null==e?void 0:e.id)&&o.o.isUri(e.uri)}function l(e){return e.configuration?{id:e.id,configPath:e.configuration}:1===e.folders.length?{id:e.id,uri:e.folders[0].uri}:void 0}class h{constructor(e,t){this.raw=t,this.uri=e.uri,this.index=e.index,this.name=e.name}toJSON(){return{uri:this.uri,name:this.name,index:this.index}}}let d="code-workspace";(0,n.NC)("codeWorkspace","Code Workspace")},33425:function(e,t,i){"use strict";i.d(t,{Y:function(){return o}});var n=i(72065);let o=(0,n.yh)("workspaceTrustManagementService")},13880:function(){},40944:function(){},49373:function(){},44142:function(){},90900:function(){},7697:function(){},32501:function(){},63513:function(){},82654:function(){},74090:function(){},14075:function(){},92845:function(){},98727:function(){},50203:function(){},30591:function(){},7226:function(){},91550:function(){},85947:function(){},39769:function(){},98524:function(){},58206:function(){},38386:function(){},27611:function(){},33094:function(){},47848:function(){},84888:function(){},58153:function(){},1237:function(){},88541:function(){},44789:function(){},48394:function(){},7919:function(){},83765:function(){},24850:function(){},31282:function(){},2641:function(){},27505:function(){},7525:function(){},32452:function(){},38356:function(){},45007:function(){},50103:function(){},41459:function(){},64287:function(){},36053:function(){},10721:function(){},32585:function(){},51094:function(){},32811:function(){},99580:function(){},62736:function(){},55484:function(){},96808:function(){},37640:function(){},69409:function(){},82438:function(){},52205:function(){},51397:function(){},13791:function(){},74153:function(){},32365:function(){},60624:function(){},36046:function(){},60858:function(){},96909:function(){},64520:function(){},63737:function(){},544:function(){},79807:function(){},95656:function(){},45778:function(){}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5005-847957d83300cf4e.js b/dbgpt/app/static/web/_next/static/chunks/5005-847957d83300cf4e.js new file mode 100644 index 000000000..de5c47aea --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/5005-847957d83300cf4e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5005,950,6047,1437,1390,5654],{91321:function(e,r,t){t.d(r,{Z:function(){return u}});var o=t(87462),n=t(45987),c=t(67294),l=t(16165),a=["type","children"],i=new Set;function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[r];if("string"==typeof t&&t.length&&!i.has(t)){var o=document.createElement("script");o.setAttribute("src",t),o.setAttribute("data-namespace",t),e.length>r+1&&(o.onload=function(){s(e,r+1)},o.onerror=function(){s(e,r+1)}),i.add(t),document.body.appendChild(o)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scriptUrl,t=e.extraCommonProps,i=void 0===t?{}:t;r&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(r)?s(r.reverse()):s([r]));var u=c.forwardRef(function(e,r){var t=e.type,s=e.children,u=(0,n.Z)(e,a),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(t)})),s&&(d=s),c.createElement(l.Z,(0,o.Z)({},i,u,{ref:r}),d)});return u.displayName="Iconfont",u}},52645:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},58638:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},83266:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},30159:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},87740:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},27496:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},94668:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},66309:function(e,r,t){t.d(r,{Z:function(){return z}});var o=t(67294),n=t(93967),c=t.n(n),l=t(98423),a=t(98787),i=t(69760),s=t(96159),u=t(45353),d=t(53124),f=t(25446),g=t(10274),h=t(14747),p=t(83262),v=t(83559);let m=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:o,componentCls:n,calc:c}=e,l=c(o).sub(t).equal(),a=c(r).sub(t).equal();return{[n]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${n}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${n}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${n}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${n}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${n}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:r,fontSizeIcon:t,calc:o}=e,n=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:n,tagLineHeight:(0,f.bf)(o(e.lineHeightSM).mul(n).equal()),tagIconSize:o(t).sub(o(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let r=b(e);return m(r)},C),k=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let w=o.forwardRef((e,r)=>{let{prefixCls:t,style:n,className:l,checked:a,onChange:i,onClick:s}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:g}=o.useContext(d.E_),h=f("tag",t),[p,v,m]=y(h),b=c()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:a},null==g?void 0:g.className,l,v,m);return p(o.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},n),null==g?void 0:g.style),className:b,onClick:e=>{null==i||i(!a),null==s||s(e)}})))});var $=t(98719);let x=e=>(0,$.Z)(e,(r,t)=>{let{textColor:o,lightBorderColor:n,lightColor:c,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:o,background:c,borderColor:n,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Z=(0,v.bk)(["Tag","preset"],e=>{let r=b(e);return x(r)},C);let E=(e,r,t)=>{let o=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let r=b(e);return[E(r,"success","Success"),E(r,"processing","Info"),E(r,"error","Error"),E(r,"warning","Warning")]},C),O=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let S=o.forwardRef((e,r)=>{let{prefixCls:t,className:n,rootClassName:f,style:g,children:h,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,k=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:$,tag:x}=o.useContext(d.E_),[E,S]=o.useState(!0),z=(0,l.Z)(k,["closeIcon","closable"]);o.useEffect(()=>{void 0!==C&&S(C)},[C]);let B=(0,a.o2)(v),M=(0,a.yT)(v),j=B||M,V=Object.assign(Object.assign({backgroundColor:v&&!j?v:void 0},null==x?void 0:x.style),g),P=w("tag",t),[I,N,R]=y(P),T=c()(P,null==x?void 0:x.className,{[`${P}-${v}`]:j,[`${P}-has-color`]:v&&!j,[`${P}-hidden`]:!E,[`${P}-rtl`]:"rtl"===$,[`${P}-borderless`]:!b},n,f,N,R),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)(x),{closable:!1,closeIconRender:e=>{let r=o.createElement("span",{className:`${P}-close-icon`,onClick:L},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),L(r)},className:c()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),_="function"==typeof k.onClick||h&&"a"===h.type,q=p||null,F=q?o.createElement(o.Fragment,null,q,h&&o.createElement("span",null,h)):h,D=o.createElement("span",Object.assign({},z,{ref:r,className:T,style:V}),F,A,B&&o.createElement(Z,{key:"preset",prefixCls:P}),M&&o.createElement(H,{key:"status",prefixCls:P}));return I(_?o.createElement(u.Z,{component:"Tag"},D):D)});S.CheckableTag=w;var z=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5030-1a77b99f39c3e196.js b/dbgpt/app/static/web/_next/static/chunks/5030-1a77b99f39c3e196.js new file mode 100644 index 000000000..ae1db7b77 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/5030-1a77b99f39c3e196.js @@ -0,0 +1,41 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5030],{57132:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},i=n(13401),a=l.forwardRef(function(e,t){return l.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},86548:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},i=n(13401),a=l.forwardRef(function(e,t){return l.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},9957:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},i=n(13401),a=l.forwardRef(function(e,t){return l.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},49867:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});let r=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}})},45030:function(e,t,n){"use strict";n.d(t,{Z:function(){return eb}});var r=n(67294),l=n(86548),o=n(93967),i=n.n(o),a=n(9220),c=n(50344),s=n(8410),u=n(21770),d=n(98423),p=n(42550),f=n(79370),m=n(15105),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 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 b={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-flex"},y=r.forwardRef((e,t)=>{let{style:n,noStyle:l,disabled:o,tabIndex:i=0}=e,a=g(e,["style","noStyle","disabled","tabIndex"]),c={};return l||(c=Object.assign({},b)),o&&(c.pointerEvents="none"),c=Object.assign(Object.assign({},c),n),r.createElement("div",Object.assign({role:"button",tabIndex:i,ref:t},a,{onKeyDown:e=>{let{keyCode:t}=e;t===m.Z.ENTER&&e.preventDefault()},onKeyUp:t=>{let{keyCode:n}=t,{onClick:r}=e;n===m.Z.ENTER&&r&&r()},style:c}))});var v=n(53124),h=n(10110),x=n(83062),O=n(9957),E=n(96159),w=n(22913),S=n(49867),j=n(83559),k=n(84898),C=n(25446);let R=(e,t,n,r)=>{let{titleMarginBottom:l,fontWeightStrong:o}=r;return{marginBottom:l,color:n,fontWeight:o,fontSize:e,lineHeight:t}},$=e=>{let t={};return[1,2,3,4,5].forEach(n=>{t[` + h${n}&, + div&-h${n}, + div&-h${n} > textarea, + h${n} + `]=R(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)}),t},Z=e=>{let{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,S.N)(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},D=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:k.EV[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),T=e=>{let{componentCls:t,paddingSM:n}=e;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(n).mul(-1).equal(),marginBottom:`calc(1em - ${(0,C.bf)(n)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},I=e=>({[`${e.componentCls}-copy-success`]:{[` + &, + &:hover, + &:focus`]:{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),H=()=>({[` + a&-ellipsis, + span&-ellipsis + `]:{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),P=e=>{let{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},[` + div&, + p + `]:{marginBottom:"1em"}},$(e)),{[` + & + h1${t}, + & + h2${t}, + & + h3${t}, + & + h4${t}, + & + h5${t} + `]:{marginTop:n},[` + div, + ul, + li, + p, + h1, + h2, + h3, + h4, + h5`]:{[` + + h1, + + h2, + + h3, + + h4, + + h5 + `]:{marginTop:n}}}),D(e)),Z(e)),{[` + ${t}-expand, + ${t}-collapse, + ${t}-edit, + ${t}-copy + `]:Object.assign(Object.assign({},(0,S.N)(e)),{marginInlineStart:e.marginXXS})}),T(e)),I(e)),H()),{"&-rtl":{direction:"rtl"}})}};var z=(0,j.I$)("Typography",e=>[P(e)],()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})),M=e=>{let{prefixCls:t,"aria-label":n,className:l,style:o,direction:a,maxLength:c,autoSize:s=!0,value:u,onSave:d,onCancel:p,onEnd:f,component:g,enterIcon:b=r.createElement(O.Z,null)}=e,y=r.useRef(null),v=r.useRef(!1),h=r.useRef(),[x,S]=r.useState(u);r.useEffect(()=>{S(u)},[u]),r.useEffect(()=>{var e;if(null===(e=y.current)||void 0===e?void 0:e.resizableTextArea){let{textArea:e}=y.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let j=()=>{d(x.trim())},k=g?`${t}-${g}`:"",[C,R,$]=z(t),Z=i()(t,`${t}-edit-content`,{[`${t}-rtl`]:"rtl"===a},l,k,R,$);return C(r.createElement("div",{className:Z,style:o},r.createElement(w.Z,{ref:y,maxLength:c,value:x,onChange:e=>{let{target:t}=e;S(t.value.replace(/[\n\r]/g,""))},onKeyDown:e=>{let{keyCode:t}=e;v.current||(h.current=t)},onKeyUp:e=>{let{keyCode:t,ctrlKey:n,altKey:r,metaKey:l,shiftKey:o}=e;h.current!==t||v.current||n||r||l||o||(t===m.Z.ENTER?(j(),null==f||f()):t===m.Z.ESC&&p())},onCompositionStart:()=>{v.current=!0},onCompositionEnd:()=>{v.current=!1},onBlur:()=>{j()},"aria-label":n,rows:1,autoSize:s}),null!==b?(0,E.Tm)(b,{className:`${t}-edit-content-confirm`}):null))},N=n(20640),B=n.n(N),L=n(56790),A=e=>{let{copyConfig:t,children:n}=e,[l,o]=r.useState(!1),[i,a]=r.useState(!1),c=r.useRef(null),s=()=>{c.current&&clearTimeout(c.current)},u={};t.format&&(u.format=t.format),r.useEffect(()=>s,[]);let d=(0,L.zX)(e=>{var r,l,i,d;return r=void 0,l=void 0,i=void 0,d=function*(){var r;null==e||e.preventDefault(),null==e||e.stopPropagation(),a(!0);try{let l="function"==typeof t.text?yield t.text():t.text;B()(l||String(n)||"",u),a(!1),o(!0),s(),c.current=setTimeout(()=>{o(!1)},3e3),null===(r=t.onCopy)||void 0===r||r.call(t,e)}catch(e){throw a(!1),e}},new(i||(i=Promise))(function(e,t){function n(e){try{a(d.next(e))}catch(e){t(e)}}function o(e){try{a(d.throw(e))}catch(e){t(e)}}function a(t){var r;t.done?e(t.value):((r=t.value)instanceof i?r:new i(function(e){e(r)})).then(n,o)}a((d=d.apply(r,l||[])).next())})});return{copied:l,copyLoading:i,onClick:d}};function W(e,t){return r.useMemo(()=>{let n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"==typeof e?e:null)]},[e])}var F=e=>{let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e}),t.current},U=(e,t)=>{let n=r.useRef(!1);r.useEffect(()=>{n.current?e():n.current=!0},t)},V=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 _=r.forwardRef((e,t)=>{let{prefixCls:n,component:l="article",className:o,rootClassName:a,setContentRef:c,children:s,direction:u,style:d}=e,f=V(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:m,direction:g,typography:b}=r.useContext(v.E_),y=t;c&&(y=(0,p.sQ)(t,c));let h=m("typography",n),[x,O,E]=z(h),w=i()(h,null==b?void 0:b.className,{[`${h}-rtl`]:"rtl"===(null!=u?u:g)},o,a,O,E),S=Object.assign(Object.assign({},null==b?void 0:b.style),d);return x(r.createElement(l,Object.assign({className:w,style:S,ref:y},f),s))});var X=n(63606),q=n(57132),K=n(50888);function G(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function Q(e,t,n){return!0===e||void 0===e?t:e||n&&t}var J=e=>{let{prefixCls:t,copied:n,locale:l,iconOnly:o,tooltips:a,icon:c,loading:s,tabIndex:u,onCopy:d}=e,p=G(a),f=G(c),{copied:m,copy:g}=null!=l?l:{},b=n?Q(p[1],m):Q(p[0],g),v=n?m:g;return r.createElement(x.Z,{key:"copy",title:b},r.createElement(y,{className:i()(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:o}),onClick:d,"aria-label":"string"==typeof b?b:v,tabIndex:u},n?Q(f[1],r.createElement(X.Z,null),!0):Q(f[0],s?r.createElement(K.Z,null):r.createElement(q.Z,null),!0)))},Y=n(74902);let ee=r.forwardRef((e,t)=>{let{style:n,children:l}=e,o=r.useRef(null);return r.useImperativeHandle(t,()=>({isExceed:()=>{let e=o.current;return e.scrollHeight>e.clientHeight},getHeight:()=>o.current.clientHeight})),r.createElement("span",{"aria-hidden":!0,ref:o,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},l)});function et(e){let t=typeof e;return"string"===t||"number"===t}function en(e,t){let n=0,r=[];for(let l=0;lt){let e=t-n;return r.push(String(o).slice(0,e)),r}r.push(o),n=c}return e}let er={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function el(e){let{enableMeasure:t,width:n,text:l,children:o,rows:i,expanded:a,miscDeps:u,onEllipsis:d}=e,p=r.useMemo(()=>(0,c.Z)(l),[l]),f=r.useMemo(()=>{let e;return e=0,p.forEach(t=>{et(t)?e+=String(t).length:e+=1}),e},[l]),m=r.useMemo(()=>o(p,!1),[l]),[g,b]=r.useState(null),y=r.useRef(null),v=r.useRef(null),h=r.useRef(null),x=r.useRef(null),O=r.useRef(null),[E,w]=r.useState(!1),[S,j]=r.useState(0),[k,C]=r.useState(0),[R,$]=r.useState(null);(0,s.Z)(()=>{t&&n&&f?j(1):j(0)},[n,l,i,t,p]),(0,s.Z)(()=>{var e,t,n,r;if(1===S){j(2);let e=v.current&&getComputedStyle(v.current).whiteSpace;$(e)}else if(2===S){let l=!!(null===(e=h.current)||void 0===e?void 0:e.isExceed());j(l?3:4),b(l?[0,f]:null),w(l);let o=(null===(t=h.current)||void 0===t?void 0:t.getHeight())||0,a=1===i?0:(null===(n=x.current)||void 0===n?void 0:n.getHeight())||0,c=(null===(r=O.current)||void 0===r?void 0:r.getHeight())||0,s=Math.max(o,a+c);C(s+1),d(l)}},[S]);let Z=g?Math.ceil((g[0]+g[1])/2):0;(0,s.Z)(()=>{var e;let[t,n]=g||[0,0];if(t!==n){let r=(null===(e=y.current)||void 0===e?void 0:e.getHeight())||0,l=r>k,o=Z;n-t==1&&(o=l?t:n),l?b([t,o]):b([o,n])}},[g,Z]);let D=r.useMemo(()=>{if(!t)return o(p,!1);if(3!==S||!g||g[0]!==g[1]){let e=o(p,!1);return 4!==S&&0!==S?r.createElement("span",{style:Object.assign(Object.assign({},er),{WebkitLineClamp:i})},e):e}return o(a?p:en(p,g[0]),E)},[a,S,g,p].concat((0,Y.Z)(u))),T={width:n,margin:0,padding:0,whiteSpace:"nowrap"===R?"normal":"inherit"};return r.createElement(r.Fragment,null,D,2===S&&r.createElement(r.Fragment,null,r.createElement(ee,{style:Object.assign(Object.assign(Object.assign({},T),er),{WebkitLineClamp:i}),ref:h},m),r.createElement(ee,{style:Object.assign(Object.assign(Object.assign({},T),er),{WebkitLineClamp:i-1}),ref:x},m),r.createElement(ee,{style:Object.assign(Object.assign(Object.assign({},T),er),{WebkitLineClamp:1}),ref:O},o([],!0))),3===S&&g&&g[0]!==g[1]&&r.createElement(ee,{style:Object.assign(Object.assign({},T),{top:400}),ref:y},o(en(p,Z),!0)),1===S&&r.createElement("span",{style:{whiteSpace:"inherit"},ref:v}))}var eo=e=>{let{enableEllipsis:t,isEllipsis:n,children:l,tooltipProps:o}=e;return(null==o?void 0:o.title)&&t?r.createElement(x.Z,Object.assign({open:!!n&&void 0},o),l):l},ei=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 ea=r.forwardRef((e,t)=>{var n,o,m;let{prefixCls:g,className:b,style:O,type:E,disabled:w,children:S,ellipsis:j,editable:k,copyable:C,component:R,title:$}=e,Z=ei(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:D,direction:T}=r.useContext(v.E_),[I]=(0,h.Z)("Text"),H=r.useRef(null),P=r.useRef(null),z=D("typography",g),N=(0,d.Z)(Z,["mark","code","delete","underline","strong","keyboard","italic"]),[B,L]=W(k),[V,X]=(0,u.Z)(!1,{value:L.editing}),{triggerType:q=["icon"]}=L,K=e=>{var t;e&&(null===(t=L.onStart)||void 0===t||t.call(L)),X(e)},G=F(V);U(()=>{var e;!V&&G&&(null===(e=P.current)||void 0===e||e.focus())},[V]);let Q=e=>{null==e||e.preventDefault(),K(!0)},[Y,ee]=W(C),{copied:et,copyLoading:en,onClick:er}=A({copyConfig:ee,children:S}),[ea,ec]=r.useState(!1),[es,eu]=r.useState(!1),[ed,ep]=r.useState(!1),[ef,em]=r.useState(!1),[eg,eb]=r.useState(!0),[ey,ev]=W(j,{expandable:!1,symbol:e=>e?null==I?void 0:I.collapse:null==I?void 0:I.expand}),[eh,ex]=(0,u.Z)(ev.defaultExpanded||!1,{value:ev.expanded}),eO=ey&&(!eh||"collapsible"===ev.expandable),{rows:eE=1}=ev,ew=r.useMemo(()=>eO&&(void 0!==ev.suffix||ev.onEllipsis||ev.expandable||B||Y),[eO,ev,B,Y]);(0,s.Z)(()=>{ey&&!ew&&(ec((0,f.G)("webkitLineClamp")),eu((0,f.G)("textOverflow")))},[ew,ey]);let[eS,ej]=r.useState(eO),ek=r.useMemo(()=>!ew&&(1===eE?es:ea),[ew,es,ea]);(0,s.Z)(()=>{ej(ek&&eO)},[ek,eO]);let eC=eO&&(eS?ef:ed),eR=eO&&1===eE&&eS,e$=eO&&eE>1&&eS,eZ=(e,t)=>{var n;ex(t.expanded),null===(n=ev.onExpand)||void 0===n||n.call(ev,e,t)},[eD,eT]=r.useState(0),eI=e=>{var t;ep(e),ed!==e&&(null===(t=ev.onEllipsis)||void 0===t||t.call(ev,e))};r.useEffect(()=>{let e=H.current;if(ey&&eS&&e){let t=function(e){let t=document.createElement("em");e.appendChild(t);let n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return e.removeChild(t),!(n.left<=r.left)||!(r.right<=n.right)||!(n.top<=r.top)||!(r.bottom<=n.bottom)}(e);ef!==t&&em(t)}},[ey,eS,S,e$,eg,eD]),r.useEffect(()=>{let e=H.current;if("undefined"==typeof IntersectionObserver||!e||!eS||!eO)return;let t=new IntersectionObserver(()=>{eb(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[eS,eO]);let eH={};eH=!0===ev.tooltip?{title:null!==(n=L.text)&&void 0!==n?n:S}:r.isValidElement(ev.tooltip)?{title:ev.tooltip}:"object"==typeof ev.tooltip?Object.assign({title:null!==(o=L.text)&&void 0!==o?o:S},ev.tooltip):{title:ev.tooltip};let eP=r.useMemo(()=>{let e=e=>["string","number"].includes(typeof e);return!ey||eS?void 0:e(L.text)?L.text:e(S)?S:e($)?$:e(eH.title)?eH.title:void 0},[ey,eS,$,eH.title,eC]);if(V)return r.createElement(M,{value:null!==(m=L.text)&&void 0!==m?m:"string"==typeof S?S:"",onSave:e=>{var t;null===(t=L.onChange)||void 0===t||t.call(L,e),K(!1)},onCancel:()=>{var e;null===(e=L.onCancel)||void 0===e||e.call(L),K(!1)},onEnd:L.onEnd,prefixCls:z,className:b,style:O,direction:T,component:R,maxLength:L.maxLength,autoSize:L.autoSize,enterIcon:L.enterIcon});let ez=()=>{let{expandable:e,symbol:t}=ev;return e?r.createElement(y,{key:"expand",className:`${z}-${eh?"collapse":"expand"}`,onClick:e=>eZ(e,{expanded:!eh}),"aria-label":eh?I.collapse:null==I?void 0:I.expand},"function"==typeof t?t(eh):t):null},eM=()=>{if(!B)return;let{icon:e,tooltip:t,tabIndex:n}=L,o=(0,c.Z)(t)[0]||(null==I?void 0:I.edit);return q.includes("icon")?r.createElement(x.Z,{key:"edit",title:!1===t?"":o},r.createElement(y,{ref:P,className:`${z}-edit`,onClick:Q,"aria-label":"string"==typeof o?o:"",tabIndex:n},e||r.createElement(l.Z,{role:"button"}))):null},eN=()=>Y?r.createElement(J,Object.assign({key:"copy"},ee,{prefixCls:z,copied:et,locale:I,onCopy:er,loading:en,iconOnly:null==S})):null,eB=e=>[e&&ez(),eM(),eN()],eL=e=>[e&&!eh&&r.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),ev.suffix,eB(e)];return r.createElement(a.Z,{onResize:e=>{let{offsetWidth:t}=e;eT(t)},disabled:!eO},n=>r.createElement(eo,{tooltipProps:eH,enableEllipsis:eO,isEllipsis:eC},r.createElement(_,Object.assign({className:i()({[`${z}-${E}`]:E,[`${z}-disabled`]:w,[`${z}-ellipsis`]:ey,[`${z}-ellipsis-single-line`]:eR,[`${z}-ellipsis-multiple-line`]:e$},b),prefixCls:g,style:Object.assign(Object.assign({},O),{WebkitLineClamp:e$?eE:void 0}),component:R,ref:(0,p.sQ)(n,H,t),direction:T,onClick:q.includes("text")?Q:void 0,"aria-label":null==eP?void 0:eP.toString(),title:$},N),r.createElement(el,{enableMeasure:eO&&!eS,text:S,rows:eE,width:eD,onEllipsis:eI,expanded:eh,miscDeps:[et,eh,en,B,Y]},(t,n)=>(function(e,t){let{mark:n,code:l,underline:o,delete:i,strong:a,keyboard:c,italic:s}=e,u=t;function d(e,t){t&&(u=r.createElement(e,{},u))}return d("strong",a),d("u",o),d("del",i),d("code",l),d("mark",n),d("kbd",c),d("i",s),u})(e,r.createElement(r.Fragment,null,t.length>0&&n&&!eh&&eP?r.createElement("span",{key:"show-content","aria-hidden":!0},t):t,eL(n)))))))});var ec=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 es=r.forwardRef((e,t)=>{var{ellipsis:n,rel:l}=e,o=ec(e,["ellipsis","rel"]);let i=Object.assign(Object.assign({},o),{rel:void 0===l&&"_blank"===o.target?"noopener noreferrer":l});return delete i.navigate,r.createElement(ea,Object.assign({},i,{ref:t,ellipsis:!!n,component:"a"}))}),eu=r.forwardRef((e,t)=>r.createElement(ea,Object.assign({ref:t},e,{component:"div"})));var ed=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},ep=r.forwardRef((e,t)=>{var{ellipsis:n}=e,l=ed(e,["ellipsis"]);let o=r.useMemo(()=>n&&"object"==typeof n?(0,d.Z)(n,["expandable","rows"]):n,[n]);return r.createElement(ea,Object.assign({ref:t},l,{ellipsis:o,component:"span"}))}),ef=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 em=[1,2,3,4,5],eg=r.forwardRef((e,t)=>{let n;let{level:l=1}=e,o=ef(e,["level"]);return n=em.includes(l)?`h${l}`:"h1",r.createElement(ea,Object.assign({ref:t},o,{component:n}))});_.Text=ep,_.Link=es,_.Title=eg,_.Paragraph=eu;var eb=_},20640:function(e,t,n){"use strict";var r=n(11742),l={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,i,a,c,s,u,d,p=!1;t||(t={}),i=t.debug||!1;try{if(c=r(),s=document.createRange(),u=document.getSelection(),(d=document.createElement("span")).textContent=e,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(n){if(n.stopPropagation(),t.format){if(n.preventDefault(),void 0===n.clipboardData){i&&console.warn("unable to use e.clipboardData"),i&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var r=l[t.format]||l.default;window.clipboardData.setData(r,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e)}t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(d),s.selectNodeContents(d),u.addRange(s),!document.execCommand("copy"))throw Error("copy command was unsuccessful");p=!0}catch(r){i&&console.error("unable to copy using execCommand: ",r),i&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),p=!0}catch(r){i&&console.error("unable to copy using clipboardData: ",r),i&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",a=n.replace(/#{\s*key\s*}/g,o),window.prompt(a,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(s):u.removeAllRanges()),d&&document.body.removeChild(d),c()}return p}},79370:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(98924),l=function(e){if((0,r.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},o=function(e,t){if(!l(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function i(e,t){return Array.isArray(e)||void 0===t?l(e):o(e,t)}},11742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r","<","<>","<=",">=","And","Or","+","-","*","/","="],identifier:/[a-zA-Z_][\w]*/,symbols:/[=><:+\-*\/%\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/(@identifier)(?=[.])/,"type"],[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@operators":"operator","@default":"variable.name"}}],[/([.])(@identifier)/,{cases:{$2:["delimiter","type.member"],"@default":""}}],[/\d*\.\d+/,"number.float"],[/\d+/,"number"],[/[()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/(\').*$/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"C?/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5102-ac0ec123b5c456ca.js b/dbgpt/app/static/web/_next/static/chunks/5102-ac0ec123b5c456ca.js deleted file mode 100644 index 24ef690b5..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/5102-ac0ec123b5c456ca.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5102],{42003:function(e,t){t.Z={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"}},5717:function(e,t){t.Z={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"}},509:function(e,t){t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"}},55102:function(e,t,n){n.d(t,{default:function(){return V}});var r=n(67294),l=n(93967),a=n.n(l),o=n(53124),s=n(65223),i=n(47673),u=n(82586),c=n(96641),p=n(56790),f=n(64217),d=n(9708),v=n(35792),m=n(98675),g=n(83559),b=n(87893),y=n(20353);let O=e=>{let{componentCls:t,paddingXS:n}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}};var C=(0,g.I$)(["Input","OTP"],e=>{let t=(0,b.IX)(e,(0,y.e)(e));return[O(t)]},y.T),h=n(75164),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 E=r.forwardRef((e,t)=>{let{value:n,onChange:l,onActiveChange:a,index:o,mask:s}=e,i=x(e,["value","onChange","onActiveChange","index","mask"]),c=r.useRef(null);r.useImperativeHandle(t,()=>c.current);let p=()=>{(0,h.Z)(()=>{var e;let t=null===(e=c.current)||void 0===e?void 0:e.input;document.activeElement===t&&t&&t.select()})};return r.createElement(u.Z,Object.assign({},i,{ref:c,value:n&&"string"==typeof s?s:n,onInput:e=>{l(o,e.target.value)},onFocus:p,onKeyDown:e=>{let{key:t}=e;"ArrowLeft"===t?a(o-1):"ArrowRight"===t&&a(o+1),p()},onKeyUp:e=>{"Backspace"!==e.key||n||a(o-1),p()},onMouseDown:p,onMouseUp:p,type:!0===s?"password":"text"}))});var 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 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 j(e){return(e||"").split("")}let Z=r.forwardRef((e,t)=>{let{prefixCls:n,length:l=6,size:i,defaultValue:u,value:g,onChange:b,formatter:y,variant:O,disabled:h,status:x,autoFocus:Z,mask:z}=e,M=w(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","variant","disabled","status","autoFocus","mask"]),{getPrefixCls:P,direction:$}=r.useContext(o.E_),k=P("otp",n),S=(0,f.Z)(M,{aria:!0,data:!0,attr:!0}),I=(0,v.Z)(k),[R,N,A]=C(k,I),_=(0,m.Z)(e=>null!=i?i:e),B=r.useContext(s.aM),L=(0,d.F)(B.status,x),T=r.useMemo(()=>Object.assign(Object.assign({},B),{status:L,hasFeedback:!1,feedbackIcon:null}),[B,L]),F=r.useRef(null),X=r.useRef({});r.useImperativeHandle(t,()=>({focus:()=>{var e;null===(e=X.current[0])||void 0===e||e.focus()},blur:()=>{var e;for(let t=0;ty?y(e):e,[q,Q]=r.useState(j(D(u||"")));r.useEffect(()=>{void 0!==g&&Q(j(g))},[g]);let U=(0,p.zX)(e=>{Q(e),b&&e.length===l&&e.every(e=>e)&&e.some((e,t)=>q[t]!==e)&&b(e.join(""))}),V=(0,p.zX)((e,t)=>{let n=(0,c.Z)(q);for(let t=0;t=0&&!n[e];e-=1)n.pop();let r=D(n.map(e=>e||" ").join(""));return n=j(r).map((e,t)=>" "!==e||n[t]?e:n[t])}),G=(e,t)=>{var n;let r=V(e,t),a=Math.min(e+t.length,l-1);a!==e&&(null===(n=X.current[a])||void 0===n||n.focus()),U(r)},H=e=>{var t;null===(t=X.current[e])||void 0===t||t.focus()},K={variant:O,disabled:h,status:L,mask:z};return R(r.createElement("div",Object.assign({},S,{ref:F,className:a()(k,{[`${k}-sm`]:"small"===_,[`${k}-lg`]:"large"===_,[`${k}-rtl`]:"rtl"===$},A,N)}),r.createElement(s.aM.Provider,{value:T},Array.from({length:l}).map((e,t)=>{let n=`otp-${t}`,l=q[t]||"";return r.createElement(E,Object.assign({ref:e=>{X.current[t]=e},key:n,index:t,size:_,htmlSize:1,className:`${k}-input`,onChange:G,value:l,onActiveChange:H,autoFocus:0===t&&Z},K))}))))});var z=n(83963),M=n(42003),P=n(30672),$=r.forwardRef(function(e,t){return r.createElement(P.Z,(0,z.Z)({},e,{ref:t,icon:M.Z}))}),k=n(1208),S=n(98423),I=n(42550),R=n(72922),N=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 A=e=>e?r.createElement(k.Z,null):r.createElement($,null),_={click:"onClick",hover:"onMouseOver"},B=r.forwardRef((e,t)=>{let{disabled:n,action:l="click",visibilityToggle:s=!0,iconRender:i=A}=e,c="object"==typeof s&&void 0!==s.visible,[p,f]=(0,r.useState)(()=>!!c&&s.visible),d=(0,r.useRef)(null);r.useEffect(()=>{c&&f(s.visible)},[c,s]);let v=(0,R.Z)(d),m=()=>{n||(p&&v(),f(e=>{var t;let n=!e;return"object"==typeof s&&(null===(t=s.onVisibleChange)||void 0===t||t.call(s,n)),n}))},{className:g,prefixCls:b,inputPrefixCls:y,size:O}=e,C=N(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:h}=r.useContext(o.E_),x=h("input",y),E=h("input-password",b),w=s&&(e=>{let t=_[l]||"",n=i(p),a={[t]:m,className:`${e}-icon`,key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return r.cloneElement(r.isValidElement(n)?n:r.createElement("span",null,n),a)})(E),j=a()(E,g,{[`${E}-${O}`]:!!O}),Z=Object.assign(Object.assign({},(0,S.Z)(C,["suffix","iconRender","visibilityToggle"])),{type:p?"text":"password",className:j,prefixCls:x,suffix:w});return O&&(Z.size=O),r.createElement(u.Z,Object.assign({ref:(0,I.sQ)(t,d)},Z))});var L=n(25783),T=n(96159),F=n(14726),X=n(4173),D=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 q=r.forwardRef((e,t)=>{let n;let{prefixCls:l,inputPrefixCls:s,className:i,size:c,suffix:p,enterButton:f=!1,addonAfter:d,loading:v,disabled:g,onSearch:b,onChange:y,onCompositionStart:O,onCompositionEnd:C}=e,h=D(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:x,direction:E}=r.useContext(o.E_),w=r.useRef(!1),j=x("input-search",l),Z=x("input",s),{compactSize:z}=(0,X.ri)(j,E),M=(0,m.Z)(e=>{var t;return null!==(t=null!=c?c:z)&&void 0!==t?t:e}),P=r.useRef(null),$=e=>{var t;document.activeElement===(null===(t=P.current)||void 0===t?void 0:t.input)&&e.preventDefault()},k=e=>{var t,n;b&&b(null===(n=null===(t=P.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e,{source:"input"})},S="boolean"==typeof f?r.createElement(L.Z,null):null,R=`${j}-button`,N=f||{},A=N.type&&!0===N.type.__ANT_BUTTON;n=A||"button"===N.type?(0,T.Tm)(N,Object.assign({onMouseDown:$,onClick:e=>{var t,n;null===(n=null===(t=null==N?void 0:N.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),k(e)},key:"enterButton"},A?{className:R,size:M}:{})):r.createElement(F.ZP,{className:R,type:f?"primary":void 0,size:M,disabled:g,key:"enterButton",onMouseDown:$,onClick:k,loading:v,icon:S},f),d&&(n=[n,(0,T.Tm)(d,{key:"addonAfter"})]);let _=a()(j,{[`${j}-rtl`]:"rtl"===E,[`${j}-${M}`]:!!M,[`${j}-with-button`]:!!f},i);return r.createElement(u.Z,Object.assign({ref:(0,I.sQ)(P,t),onPressEnter:e=>{w.current||v||k(e)}},h,{size:M,onCompositionStart:e=>{w.current=!0,null==O||O(e)},onCompositionEnd:e=>{w.current=!1,null==C||C(e)},prefixCls:Z,addonAfter:n,suffix:p,onChange:e=>{(null==e?void 0:e.target)&&"click"===e.type&&b&&b(e.target.value,e,{source:"clear"}),null==y||y(e)},className:_,disabled:g}))});var Q=n(22913);let U=u.Z;U.Group=e=>{let{getPrefixCls:t,direction:n}=(0,r.useContext)(o.E_),{prefixCls:l,className:u}=e,c=t("input-group",l),p=t("input"),[f,d]=(0,i.ZP)(p),v=a()(c,{[`${c}-lg`]:"large"===e.size,[`${c}-sm`]:"small"===e.size,[`${c}-compact`]:e.compact,[`${c}-rtl`]:"rtl"===n},d,u),m=(0,r.useContext)(s.aM),g=(0,r.useMemo)(()=>Object.assign(Object.assign({},m),{isFormItemInput:!1}),[m]);return f(r.createElement("span",{className:v,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},r.createElement(s.aM.Provider,{value:g},e.children)))},U.Search=q,U.TextArea=Q.Z,U.Password=B,U.OTP=Z;var V=U},1208:function(e,t,n){var r=n(83963),l=n(67294),a=n(5717),o=n(30672),s=l.forwardRef(function(e,t){return l.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a.Z}))});t.Z=s},25783:function(e,t,n){var r=n(83963),l=n(67294),a=n(509),o=n(30672),s=l.forwardRef(function(e,t){return l.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a.Z}))});t.Z=s}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5248-06bb79d764921dd0.js b/dbgpt/app/static/web/_next/static/chunks/5248-06bb79d764921dd0.js new file mode 100644 index 000000000..0af1bed4e --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/5248-06bb79d764921dd0.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5248],{63606:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},a=n(13401),i=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:l}))})},45605:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),l={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:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},a=n(13401),i=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:l}))})},6171:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),l={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(13401),i=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:l}))})},88484:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},a=n(13401),i=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:l}))})},8745:function(e,t,n){n.d(t,{i:function(){return i}});var r=n(67294),o=n(21770),l=n(28459),a=n(53124);function i(e){return t=>r.createElement(l.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,Object.assign({},t)))}t.Z=(e,t,n,l)=>i(i=>{let{prefixCls:s,style:c}=i,u=r.useRef(null),[f,m]=r.useState(0),[p,d]=r.useState(0),[g,v]=(0,o.Z)(!1,{value:i.open}),{getPrefixCls:y}=r.useContext(a.E_),b=y(t||"select",s);r.useEffect(()=>{if(v(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;m(t.offsetHeight+8),d(t.offsetWidth)}),t=setInterval(()=>{var r;let o=n?`.${n(b)}`:`.${b}-dropdown`,l=null===(r=u.current)||void 0===r?void 0:r.querySelector(o);l&&(clearInterval(t),e.observe(l))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let O=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},c),{margin:0}),open:g,visible:g,getPopupContainer:()=>u.current});return l&&(O=l(O)),r.createElement("div",{ref:u,style:{paddingBottom:f,position:"relative",minWidth:p}},r.createElement(e,Object.assign({},O)))})},98065:function(e,t,n){function r(e){return["small","middle","large"].includes(e)}function o(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}n.d(t,{T:function(){return o},n:function(){return r}})},45360:function(e,t,n){var r=n(74902),o=n(67294),l=n(38135),a=n(66968),i=n(53124),s=n(28459),c=n(66277),u=n(16474),f=n(84926);let m=null,p=e=>e(),d=[],g={};function v(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=g,l=(null==e?void 0:e())||document.body;return{getContainer:()=>l,duration:t,rtl:n,maxCount:r,top:o}}let y=o.forwardRef((e,t)=>{let{messageConfig:n,sync:r}=e,{getPrefixCls:l}=(0,o.useContext)(i.E_),s=g.prefixCls||l("message"),c=(0,o.useContext)(a.J),[f,m]=(0,u.K)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:s}),c.message));return o.useImperativeHandle(t,()=>{let e=Object.assign({},f);return Object.keys(e).forEach(t=>{e[t]=function(){return r(),f[t].apply(f,arguments)}}),{instance:e,sync:r}}),m}),b=o.forwardRef((e,t)=>{let[n,r]=o.useState(v),l=()=>{r(v)};o.useEffect(l,[]);let a=(0,s.w6)(),i=a.getRootPrefixCls(),c=a.getIconPrefixCls(),u=a.getTheme(),f=o.createElement(y,{ref:t,sync:l,messageConfig:n});return o.createElement(s.ZP,{prefixCls:i,iconPrefixCls:c,theme:u},a.holderRender?a.holderRender(f):f)});function O(){if(!m){let e=document.createDocumentFragment(),t={fragment:e};m=t,p(()=>{(0,l.s)(o.createElement(b,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,O())})}}),e)});return}m.instance&&(d.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":p(()=>{let t=m.instance.open(Object.assign(Object.assign({},g),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":p(()=>{null==m||m.instance.destroy(e.key)});break;default:p(()=>{var n;let o=(n=m.instance)[t].apply(n,(0,r.Z)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),d=[])}let h={open:function(e){let t=(0,f.J)(t=>{let n;let r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return d.push(r),()=>{n?p(()=>{n()}):r.skipped=!0}});return O(),t},destroy:e=>{d.push({type:"destroy",key:e}),O()},config:function(e){g=Object.assign(Object.assign({},g),e),p(()=>{var e;null===(e=null==m?void 0:m.sync)||void 0===e||e.call(m)})},useMessage:u.Z,_InternalPanelDoNotUseOrYouWillBeFired:c.ZP};["success","info","warning","error","loading"].forEach(e=>{h[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 d.push(o),()=>{r?p(()=>{r()}):o.skipped=!0}});return O(),n}(e,n)}}),t.ZP=h},85576:function(e,t,n){n.d(t,{default:function(){return C}});var r=n(56080),o=n(38657),l=n(56745),a=n(67294),i=n(93967),s=n.n(i),c=n(40974),u=n(8745),f=n(53124),m=n(35792),p=n(32409),d=n(4941),g=n(71194),v=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},y=(0,u.i)(e=>{let{prefixCls:t,className:n,closeIcon:r,closable:o,type:l,title:i,children:u,footer:y}=e,b=v(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:O}=a.useContext(f.E_),h=O(),C=t||O("modal"),E=(0,m.Z)(h),[$,x,w]=(0,g.ZP)(C,E),j=`${C}-confirm`,k={};return k=l?{closable:null!=o&&o,title:"",footer:"",children:a.createElement(p.O,Object.assign({},e,{prefixCls:C,confirmPrefixCls:j,rootPrefixCls:h,content:u}))}:{closable:null==o||o,title:i,footer:null!==y&&a.createElement(d.$,Object.assign({},e)),children:u},$(a.createElement(c.s,Object.assign({prefixCls:C,className:s()(x,`${C}-pure-panel`,l&&j,l&&`${j}-${l}`,n,w,E)},b,{closeIcon:(0,d.b)(C,r),closable:o},k)))}),b=n(94423);function O(e){return(0,r.ZP)((0,r.uW)(e))}let h=l.Z;h.useModal=b.Z,h.info=function(e){return(0,r.ZP)((0,r.cw)(e))},h.success=function(e){return(0,r.ZP)((0,r.vq)(e))},h.error=function(e){return(0,r.ZP)((0,r.AQ)(e))},h.warning=O,h.warn=O,h.confirm=function(e){return(0,r.ZP)((0,r.Au)(e))},h.destroyAll=function(){for(;o.Z.length;){let e=o.Z.pop();e&&e()}},h.config=r.ai,h._InternalPanelDoNotUseOrYouWillBeFired=y;var C=h},86738:function(e,t,n){n.d(t,{Z:function(){return w}});var r=n(67294),o=n(21640),l=n(93967),a=n.n(l),i=n(21770),s=n(98423),c=n(53124),u=n(55241),f=n(86743),m=n(81643),p=n(14726),d=n(33671),g=n(10110),v=n(24457),y=n(66330),b=n(83559);let O=e=>{let{componentCls:t,iconCls:n,antCls:r,zIndexPopup:o,colorText:l,colorWarning:a,marginXXS:i,marginXS:s,fontSize:c,fontWeightStrong:u,colorTextHeading:f}=e;return{[t]:{zIndex:o,[`&${r}-popover`]:{fontSize:c},[`${t}-message`]:{marginBottom:s,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:a,fontSize:c,lineHeight:1,marginInlineEnd:s},[`${t}-title`]:{fontWeight:u,color:f,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:i,color:l}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:s}}}}};var h=(0,b.I$)("Popconfirm",e=>O(e),e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1}),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 E=e=>{let{prefixCls:t,okButtonProps:n,cancelButtonProps:l,title:a,description:i,cancelText:s,okText:u,okType:y="primary",icon:b=r.createElement(o.Z,null),showCancel:O=!0,close:h,onConfirm:C,onCancel:E,onPopupClick:$}=e,{getPrefixCls:x}=r.useContext(c.E_),[w]=(0,g.Z)("Popconfirm",v.Z.Popconfirm),j=(0,m.Z)(a),k=(0,m.Z)(i);return r.createElement("div",{className:`${t}-inner-content`,onClick:$},r.createElement("div",{className:`${t}-message`},b&&r.createElement("span",{className:`${t}-message-icon`},b),r.createElement("div",{className:`${t}-message-text`},j&&r.createElement("div",{className:`${t}-title`},j),k&&r.createElement("div",{className:`${t}-description`},k))),r.createElement("div",{className:`${t}-buttons`},O&&r.createElement(p.ZP,Object.assign({onClick:E,size:"small"},l),s||(null==w?void 0:w.cancelText)),r.createElement(f.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,d.nx)(y)),n),actionFn:C,close:h,prefixCls:x("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},u||(null==w?void 0:w.okText))))};var $=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 x=r.forwardRef((e,t)=>{var n,l;let{prefixCls:f,placement:m="top",trigger:p="click",okType:d="primary",icon:g=r.createElement(o.Z,null),children:v,overlayClassName:y,onOpenChange:b,onVisibleChange:O}=e,C=$(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:x}=r.useContext(c.E_),[w,j]=(0,i.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(l=e.defaultOpen)&&void 0!==l?l:e.defaultVisible}),k=(e,t)=>{j(e,!0),null==O||O(e),null==b||b(e,t)},P=x("popconfirm",f),S=a()(P,y),[Z]=h(P);return Z(r.createElement(u.Z,Object.assign({},(0,s.Z)(C,["title"]),{trigger:p,placement:m,onOpenChange:(t,n)=>{let{disabled:r=!1}=e;r||k(t,n)},open:w,ref:t,overlayClassName:S,content:r.createElement(E,Object.assign({okType:d,icon:g},e,{prefixCls:P,close:e=>{k(!1,e)},onConfirm:t=>{var n;return null===(n=e.onConfirm)||void 0===n?void 0:n.call(void 0,t)},onCancel:t=>{var n;k(!1,t),null===(n=e.onCancel)||void 0===n||n.call(void 0,t)}})),"data-popover-inject":!0}),v))});x._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,placement:n,className:o,style:l}=e,i=C(e,["prefixCls","placement","className","style"]),{getPrefixCls:s}=r.useContext(c.E_),u=s("popconfirm",t),[f]=h(u);return f(r.createElement(y.ZP,{placement:n,className:a()(u,o),style:l,content:r.createElement(E,Object.assign({prefixCls:u},i))}))};var w=x},42075:function(e,t,n){n.d(t,{Z:function(){return v}});var r=n(67294),o=n(93967),l=n.n(o),a=n(50344),i=n(98065),s=n(53124),c=n(4173);let u=r.createContext({latestIndex:0}),f=u.Provider;var m=e=>{let{className:t,index:n,children:o,split:l,style:a}=e,{latestIndex:i}=r.useContext(u);return null==o?null:r.createElement(r.Fragment,null,r.createElement("div",{className:t,style:a},o),nt.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 g=r.forwardRef((e,t)=>{var n,o,c;let{getPrefixCls:u,space:g,direction:v}=r.useContext(s.E_),{size:y=null!==(n=null==g?void 0:g.size)&&void 0!==n?n:"small",align:b,className:O,rootClassName:h,children:C,direction:E="horizontal",prefixCls:$,split:x,style:w,wrap:j=!1,classNames:k,styles:P}=e,S=d(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[Z,N]=Array.isArray(y)?y:[y,y],I=(0,i.n)(N),M=(0,i.n)(Z),z=(0,i.T)(N),T=(0,i.T)(Z),R=(0,a.Z)(C,{keepEmpty:!0}),B=void 0===b&&"horizontal"===E?"center":b,D=u("space",$),[F,H,_]=(0,p.Z)(D),A=l()(D,null==g?void 0:g.className,H,`${D}-${E}`,{[`${D}-rtl`]:"rtl"===v,[`${D}-align-${B}`]:B,[`${D}-gap-row-${N}`]:I,[`${D}-gap-col-${Z}`]:M},O,h,_),L=l()(`${D}-item`,null!==(o=null==k?void 0:k.item)&&void 0!==o?o:null===(c=null==g?void 0:g.classNames)||void 0===c?void 0:c.item),W=0,V=R.map((e,t)=>{var n,o;null!=e&&(W=t);let l=(null==e?void 0:e.key)||`${L}-${t}`;return r.createElement(m,{className:L,key:l,index:t,split:x,style:null!==(n=null==P?void 0:P.item)&&void 0!==n?n:null===(o=null==g?void 0:g.styles)||void 0===o?void 0:o.item},e)}),K=r.useMemo(()=>({latestIndex:W}),[W]);if(0===R.length)return null;let q={};return j&&(q.flexWrap="wrap"),!M&&T&&(q.columnGap=Z),!I&&z&&(q.rowGap=N),F(r.createElement("div",Object.assign({ref:t,className:A,style:Object.assign(Object.assign(Object.assign({},q),null==g?void 0:g.style),w)},S),r.createElement(f,{value:K},V)))});g.Compact=c.ZP;var v=g},55054:function(e,t,n){n.d(t,{Z:function(){return $}});var r=n(67294),o=n(57838),l=n(96159),a=n(93967),i=n.n(a),s=n(64217),c=n(53124),u=n(48054),f=e=>{let t;let{value:n,formatter:o,precision:l,decimalSeparator:a,groupSeparator:i="",prefixCls:s}=e;if("function"==typeof o)t=o(n);else{let e=String(n),o=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(o&&"-"!==e){let e=o[1],n=o[2]||"0",c=o[4]||"";n=n.replace(/\B(?=(\d{3})+(?!\d))/g,i),"number"==typeof l&&(c=c.padEnd(l,"0").slice(0,l>0?l:0)),c&&(c=`${a}${c}`),t=[r.createElement("span",{key:"int",className:`${s}-content-value-int`},e,n),c&&r.createElement("span",{key:"decimal",className:`${s}-content-value-decimal`},c)]}else t=e}return r.createElement("span",{className:`${s}-content-value`},t)},m=n(14747),p=n(83559),d=n(83262);let g=e=>{let{componentCls:t,marginXXS:n,padding:r,colorTextDescription:o,titleFontSize:l,colorTextHeading:a,contentFontSize:i,fontFamily:s}=e;return{[t]:Object.assign(Object.assign({},(0,m.Wf)(e)),{[`${t}-title`]:{marginBottom:n,color:o,fontSize:l},[`${t}-skeleton`]:{paddingTop:r},[`${t}-content`]:{color:a,fontSize:i,fontFamily:s,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}})}};var v=(0,p.I$)("Statistic",e=>{let t=(0,d.IX)(e,{});return[g(t)]},e=>{let{fontSizeHeading3:t,fontSize:n}=e;return{titleFontSize:n,contentFontSize:t}}),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 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},b=e=>{let{prefixCls:t,className:n,rootClassName:o,style:l,valueStyle:a,value:m=0,title:p,valueRender:d,prefix:g,suffix:b,loading:O=!1,formatter:h,precision:C,decimalSeparator:E=".",groupSeparator:$=",",onMouseEnter:x,onMouseLeave:w}=e,j=y(e,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:k,direction:P,statistic:S}=r.useContext(c.E_),Z=k("statistic",t),[N,I,M]=v(Z),z=r.createElement(f,{decimalSeparator:E,groupSeparator:$,prefixCls:Z,formatter:h,precision:C,value:m}),T=i()(Z,{[`${Z}-rtl`]:"rtl"===P},null==S?void 0:S.className,n,o,I,M),R=(0,s.Z)(j,{aria:!0,data:!0});return N(r.createElement("div",Object.assign({},R,{className:T,style:Object.assign(Object.assign({},null==S?void 0:S.style),l),onMouseEnter:x,onMouseLeave:w}),p&&r.createElement("div",{className:`${Z}-title`},p),r.createElement(u.Z,{paragraph:!1,loading:O,className:`${Z}-skeleton`},r.createElement("div",{style:a,className:`${Z}-content`},g&&r.createElement("span",{className:`${Z}-content-prefix`},g),d?d(z):z,b&&r.createElement("span",{className:`${Z}-content-suffix`},b)))))};let O=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];var 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 C=1e3/30;var E=r.memo(e=>{let{value:t,format:n="HH:mm:ss",onChange:a,onFinish:i}=e,s=h(e,["value","format","onChange","onFinish"]),c=(0,o.Z)(),u=r.useRef(null),f=()=>{null==i||i(),u.current&&(clearInterval(u.current),u.current=null)},m=()=>{let e=new Date(t).getTime();e>=Date.now()&&(u.current=setInterval(()=>{c(),null==a||a(e-Date.now()),e(m(),()=>{u.current&&(clearInterval(u.current),u.current=null)}),[t]),r.createElement(b,Object.assign({},s,{value:t,valueRender:e=>(0,l.Tm)(e,{title:void 0}),formatter:(e,t)=>(function(e,t){let{format:n=""}=t,r=new Date(e).getTime(),o=Date.now();return function(e,t){let n=e,r=/\[[^\]]*]/g,o=(t.match(r)||[]).map(e=>e.slice(1,-1)),l=t.replace(r,"[]"),a=O.reduce((e,t)=>{let[r,o]=t;if(e.includes(r)){let t=Math.floor(n/o);return n-=t*o,e.replace(RegExp(`${r}+`,"g"),e=>{let n=e.length;return t.toString().padStart(n,"0")})}return e},l),i=0;return a.replace(r,()=>{let e=o[i];return i+=1,e})}(Math.max(r-o,0),n)})(e,Object.assign(Object.assign({},t),{format:n}))}))});b.Countdown=E;var $=b},33507:function(e,t){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`}}})},33297:function(e,t,n){n.d(t,{Fm:function(){return d}});var r=n(25446),o=n(93590);let l=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}}),i=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}}),m=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:m},"move-down":{inKeyframes:l,outKeyframes:a},"move-left":{inKeyframes:i,outKeyframes:s},"move-right":{inKeyframes:c,outKeyframes:u}},d=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:l,outKeyframes:a}=p[t];return[(0,o.R)(r,l,a,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},49867:function(e,t,n){n.d(t,{N:function(){return r}});let r=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}})},66309:function(e,t,n){n.d(t,{Z:function(){return Z}});var r=n(67294),o=n(93967),l=n.n(o),a=n(98423),i=n(98787),s=n(69760),c=n(96159),u=n(45353),f=n(53124),m=n(25446),p=n(10274),d=n(14747),g=n(83262),v=n(83559);let y=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o,calc:l}=e,a=l(r).sub(n).equal(),i=l(t).sub(n).equal();return{[o]:Object.assign(Object.assign({},(0,d.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,m.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,o=e.fontSizeSM,l=(0,g.IX)(e,{tagFontSize:o,tagLineHeight:(0,m.bf)(r(e.lineHeightSM).mul(o).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return l},O=e=>({defaultBg:new p.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var h=(0,v.I$)("Tag",e=>{let t=b(e);return y(t)},O),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 E=r.forwardRef((e,t)=>{let{prefixCls:n,style:o,className:a,checked:i,onChange:s,onClick:c}=e,u=C(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:m,tag:p}=r.useContext(f.E_),d=m("tag",n),[g,v,y]=h(d),b=l()(d,`${d}-checkable`,{[`${d}-checkable-checked`]:i},null==p?void 0:p.className,a,v,y);return g(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},o),null==p?void 0:p.style),className:b,onClick:e=>{null==s||s(!i),null==c||c(e)}})))});var $=n(98719);let x=e=>(0,$.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:l,darkColor:a}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:l,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var w=(0,v.bk)(["Tag","preset"],e=>{let t=b(e);return x(t)},O);let j=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var k=(0,v.bk)(["Tag","status"],e=>{let t=b(e);return[j(t,"success","Success"),j(t,"processing","Info"),j(t,"error","Error"),j(t,"warning","Warning")]},O),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 S=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:m,style:p,children:d,icon:g,color:v,onClose:y,bordered:b=!0,visible:O}=e,C=P(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:E,direction:$,tag:x}=r.useContext(f.E_),[j,S]=r.useState(!0),Z=(0,a.Z)(C,["closeIcon","closable"]);r.useEffect(()=>{void 0!==O&&S(O)},[O]);let N=(0,i.o2)(v),I=(0,i.yT)(v),M=N||I,z=Object.assign(Object.assign({backgroundColor:v&&!M?v:void 0},null==x?void 0:x.style),p),T=E("tag",n),[R,B,D]=h(T),F=l()(T,null==x?void 0:x.className,{[`${T}-${v}`]:M,[`${T}-has-color`]:v&&!M,[`${T}-hidden`]:!j,[`${T}-rtl`]:"rtl"===$,[`${T}-borderless`]:!b},o,m,B,D),H=e=>{e.stopPropagation(),null==y||y(e),e.defaultPrevented||S(!1)},[,_]=(0,s.Z)((0,s.w)(e),(0,s.w)(x),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${T}-close-icon`,onClick:H},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),H(t)},className:l()(null==e?void 0:e.className,`${T}-close-icon`)}))}}),A="function"==typeof C.onClick||d&&"a"===d.type,L=g||null,W=L?r.createElement(r.Fragment,null,L,d&&r.createElement("span",null,d)):d,V=r.createElement("span",Object.assign({},Z,{ref:t,className:F,style:z}),W,_,N&&r.createElement(w,{key:"preset",prefixCls:T}),I&&r.createElement(k,{key:"status",prefixCls:T}));return R(A?r.createElement(u.Z,{component:"Tag"},V):V)});S.CheckableTag=E;var Z=S},79370:function(e,t,n){n.d(t,{G:function(){return a}});var r=n(98924),o=function(e){if((0,r.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},l=function(e,t){if(!o(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function a(e,t){return Array.isArray(e)||void 0===t?o(e):l(e,t)}},36459:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e){if(null==e)throw TypeError("Cannot destructure "+e)}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/525.037e5d276b755653.js b/dbgpt/app/static/web/_next/static/chunks/525.bd92be06e096fac1.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/525.037e5d276b755653.js rename to dbgpt/app/static/web/_next/static/chunks/525.bd92be06e096fac1.js index ecf8f3ceb..e1d1c5b88 100644 --- a/dbgpt/app/static/web/_next/static/chunks/525.037e5d276b755653.js +++ b/dbgpt/app/static/web/_next/static/chunks/525.bd92be06e096fac1.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[525],{90525:function(e,t,n){n.r(t),n.d(t,{conf:function(){return o},language:function(){return i}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var o={wordPattern:/(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},i={defaultToken:"",tokenPostfix:".scss",ws:"[ \n\r\f]*",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@variabledeclaration"},{include:"@warndebug"},["[@](include)",{token:"keyword",next:"@includedeclaration"}],["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["[@](function)",{token:"keyword",next:"@functiondeclaration"}],["[@](mixin)",{token:"keyword",next:"@mixindeclaration"}],["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@controlstatement"},{include:"@selectorname"},["[&\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.curly",next:"@selectorbody"}]],selectorbody:[["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],{include:"@selector"},["[@](extend)",{token:"keyword",next:"@extendbody"}],["[@](return)",{token:"keyword",next:"@declarationbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],selectorname:[["#{",{token:"meta",next:"@variableinterpolation"}],["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@functioninvocation"},{include:"@numbers"},{include:"@strings"},{include:"@variablereference"},["(and\\b|or\\b|not\\b)","operator"],{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","operator"],[",","delimiter"],["!default","literal"],["\\(",{token:"delimiter.parenthesis",next:"@parenthizedterm"}]],rulevalue:[{include:"@term"},["!important","literal"],[";","delimiter","@pop"],["{",{token:"delimiter.curly",switchTo:"@nestedproperty"}],["(?=})",{token:"",next:"@pop"}]],nestedproperty:[["[*_]?@identifier@ws:","attribute.name","@rulevalue"],{include:"@comments"},["}",{token:"delimiter.curly",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],variabledeclaration:[["\\$@identifier@ws:","variable.decl","@declarationbody"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"meta",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],extendbody:[{include:"@selectorname"},["!optional","literal"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],variablereference:[["\\$@identifier","variable.ref"],["\\.\\.\\.","operator"],["#{",{token:"meta",next:"@variableinterpolation"}]],variableinterpolation:[{include:"@variablereference"},["}",{token:"meta",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],name:[["@identifier","attribute.value"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","number.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","number","@pop"]],functiondeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["{",{token:"delimiter.curly",switchTo:"@functionbody"}]],mixindeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],parameterdeclaration:[["\\$@identifier@ws:","variable.decl"],["\\.\\.\\.","operator"],[",","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],includedeclaration:[{include:"@functioninvocation"},["@identifier","meta"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],keyframedeclaration:[["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.curly",next:"@selectorbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],controlstatement:[["[@](if|else|for|while|each|media)",{token:"keyword.flow",next:"@controlstatementdeclaration"}]],controlstatementdeclaration:[["(in|from|through|if|to)\\b",{token:"keyword.flow"}],{include:"@term"},["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],functionbody:[["[@](return)",{token:"keyword"}],{include:"@variabledeclaration"},{include:"@term"},{include:"@controlstatement"},[";","delimiter"],["}",{token:"delimiter.curly",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"meta",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],strings:[['~?"',{token:"string.delimiter",next:"@stringenddoublequote"}],["~?'",{token:"string.delimiter",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string.delimiter",next:"@pop"}],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string.delimiter",next:"@pop"}],[".","string"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5265-d25a28b8e47ce90f.js b/dbgpt/app/static/web/_next/static/chunks/5265-d25a28b8e47ce90f.js deleted file mode 100644 index be9ad9c84..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/5265-d25a28b8e47ce90f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5265],{85265:function(e,t,n){n.d(t,{Z:function(){return q}});var o=n(67294),a=n(93967),r=n.n(a),l=n(1413),s=n(97685),i=n(2788),c=n(8410),d=o.createContext(null),u=o.createContext({}),m=n(4942),p=n(87462),f=n(29372),v=n(15105),b=n(64217),h=n(45987),g=n(42550),y=["prefixCls","className","containerRef"],x=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,l=(0,h.Z)(e,y),s=o.useContext(u).panel,i=(0,g.x1)(s,a);return o.createElement("div",(0,p.Z)({className:r()("".concat(t,"-content"),n),role:"dialog",ref:i},(0,b.Z)(e,{aria:!0}),{"aria-modal":"true"},l))},w=n(80334);function k(e){return"string"==typeof e&&String(Number(e))===e?((0,w.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var C={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},$=o.forwardRef(function(e,t){var n,a,i,c=e.prefixCls,u=e.open,h=e.placement,g=e.inline,y=e.push,w=e.forceRender,$=e.autoFocus,O=e.keyboard,E=e.classNames,N=e.rootClassName,S=e.rootStyle,Z=e.zIndex,j=e.className,D=e.id,I=e.style,M=e.motion,R=e.width,P=e.height,_=e.children,z=e.mask,K=e.maskClosable,L=e.maskMotion,W=e.maskClassName,H=e.maskStyle,U=e.afterOpenChange,B=e.onClose,X=e.onMouseEnter,A=e.onMouseOver,F=e.onMouseLeave,Y=e.onClick,T=e.onKeyDown,q=e.onKeyUp,V=e.styles,Q=e.drawerRender,G=o.useRef(),J=o.useRef(),ee=o.useRef();o.useImperativeHandle(t,function(){return G.current}),o.useEffect(function(){if(u&&$){var e;null===(e=G.current)||void 0===e||e.focus({preventScroll:!0})}},[u]);var et=o.useState(!1),en=(0,s.Z)(et,2),eo=en[0],ea=en[1],er=o.useContext(d),el=null!==(n=null!==(a=null===(i="boolean"==typeof y?y?{}:{distance:0}:y||{})||void 0===i?void 0:i.distance)&&void 0!==a?a:null==er?void 0:er.pushDistance)&&void 0!==n?n:180,es=o.useMemo(function(){return{pushDistance:el,push:function(){ea(!0)},pull:function(){ea(!1)}}},[el]);o.useEffect(function(){var e,t;u?null==er||null===(e=er.push)||void 0===e||e.call(er):null==er||null===(t=er.pull)||void 0===t||t.call(er)},[u]),o.useEffect(function(){return function(){var e;null==er||null===(e=er.pull)||void 0===e||e.call(er)}},[]);var ei=z&&o.createElement(f.ZP,(0,p.Z)({key:"mask"},L,{visible:u}),function(e,t){var n=e.className,a=e.style;return o.createElement("div",{className:r()("".concat(c,"-mask"),n,null==E?void 0:E.mask,W),style:(0,l.Z)((0,l.Z)((0,l.Z)({},a),H),null==V?void 0:V.mask),onClick:K&&u?B:void 0,ref:t})}),ec="function"==typeof M?M(h):M,ed={};if(eo&&el)switch(h){case"top":ed.transform="translateY(".concat(el,"px)");break;case"bottom":ed.transform="translateY(".concat(-el,"px)");break;case"left":ed.transform="translateX(".concat(el,"px)");break;default:ed.transform="translateX(".concat(-el,"px)")}"left"===h||"right"===h?ed.width=k(R):ed.height=k(P);var eu={onMouseEnter:X,onMouseOver:A,onMouseLeave:F,onClick:Y,onKeyDown:T,onKeyUp:q},em=o.createElement(f.ZP,(0,p.Z)({key:"panel"},ec,{visible:u,forceRender:w,onVisibleChanged:function(e){null==U||U(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,i=o.createElement(x,(0,p.Z)({id:D,containerRef:n,prefixCls:c,className:r()(j,null==E?void 0:E.content),style:(0,l.Z)((0,l.Z)({},I),null==V?void 0:V.content)},(0,b.Z)(e,{aria:!0}),eu),_);return o.createElement("div",(0,p.Z)({className:r()("".concat(c,"-content-wrapper"),null==E?void 0:E.wrapper,a),style:(0,l.Z)((0,l.Z)((0,l.Z)({},ed),s),null==V?void 0:V.wrapper)},(0,b.Z)(e,{data:!0})),Q?Q(i):i)}),ep=(0,l.Z)({},S);return Z&&(ep.zIndex=Z),o.createElement(d.Provider,{value:es},o.createElement("div",{className:r()(c,"".concat(c,"-").concat(h),N,(0,m.Z)((0,m.Z)({},"".concat(c,"-open"),u),"".concat(c,"-inline"),g)),style:ep,tabIndex:-1,ref:G,onKeyDown:function(e){var t,n,o=e.keyCode,a=e.shiftKey;switch(o){case v.Z.TAB:o===v.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case v.Z.ESC:B&&O&&(e.stopPropagation(),B(e))}}},ei,o.createElement("div",{tabIndex:0,ref:J,style:C,"aria-hidden":"true","data-sentinel":"start"}),em,o.createElement("div",{tabIndex:0,ref:ee,style:C,"aria-hidden":"true","data-sentinel":"end"})))}),O=function(e){var t=e.open,n=e.prefixCls,a=e.placement,r=e.autoFocus,d=e.keyboard,m=e.width,p=e.mask,f=void 0===p||p,v=e.maskClosable,b=e.getContainer,h=e.forceRender,g=e.afterOpenChange,y=e.destroyOnClose,x=e.onMouseEnter,w=e.onMouseOver,k=e.onMouseLeave,C=e.onClick,O=e.onKeyDown,E=e.onKeyUp,N=e.panelRef,S=o.useState(!1),Z=(0,s.Z)(S,2),j=Z[0],D=Z[1],I=o.useState(!1),M=(0,s.Z)(I,2),R=M[0],P=M[1];(0,c.Z)(function(){P(!0)},[]);var _=!!R&&void 0!==t&&t,z=o.useRef(),K=o.useRef();(0,c.Z)(function(){_&&(K.current=document.activeElement)},[_]);var L=o.useMemo(function(){return{panel:N}},[N]);if(!h&&!j&&!_&&y)return null;var W=(0,l.Z)((0,l.Z)({},e),{},{open:_,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===r||r,keyboard:void 0===d||d,width:void 0===m?378:m,mask:f,maskClosable:void 0===v||v,inline:!1===b,afterOpenChange:function(e){var t,n;D(e),null==g||g(e),e||!K.current||null!==(t=z.current)&&void 0!==t&&t.contains(K.current)||null===(n=K.current)||void 0===n||n.focus({preventScroll:!0})},ref:z},{onMouseEnter:x,onMouseOver:w,onMouseLeave:k,onClick:C,onKeyDown:O,onKeyUp:E});return o.createElement(u.Provider,{value:L},o.createElement(i.Z,{open:_||h||j,autoDestroy:!1,getContainer:b,autoLock:f&&(_||j)},o.createElement($,W)))},E=n(89942),N=n(87263),S=n(33603),Z=n(43945),j=n(53124),D=n(16569),I=n(69760),M=n(87564),R=e=>{var t,n;let{prefixCls:a,title:l,footer:s,extra:i,loading:c,onClose:d,headerStyle:u,bodyStyle:m,footerStyle:p,children:f,classNames:v,styles:b}=e,{drawer:h}=o.useContext(j.E_),g=o.useCallback(e=>o.createElement("button",{type:"button",onClick:d,"aria-label":"Close",className:`${a}-close`},e),[d]),[y,x]=(0,I.Z)((0,I.w)(e),(0,I.w)(h),{closable:!0,closeIconRender:g}),w=o.useMemo(()=>{var e,t;return l||y?o.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==h?void 0:h.styles)||void 0===e?void 0:e.header),u),null==b?void 0:b.header),className:r()(`${a}-header`,{[`${a}-header-close-only`]:y&&!l&&!i},null===(t=null==h?void 0:h.classNames)||void 0===t?void 0:t.header,null==v?void 0:v.header)},o.createElement("div",{className:`${a}-header-title`},x,l&&o.createElement("div",{className:`${a}-title`},l)),i&&o.createElement("div",{className:`${a}-extra`},i)):null},[y,x,i,u,a,l]),k=o.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return o.createElement("div",{className:r()(n,null===(e=null==h?void 0:h.classNames)||void 0===e?void 0:e.footer,null==v?void 0:v.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==h?void 0:h.styles)||void 0===t?void 0:t.footer),p),null==b?void 0:b.footer)},s)},[s,p,a]);return o.createElement(o.Fragment,null,w,o.createElement("div",{className:r()(`${a}-body`,null==v?void 0:v.body,null===(t=null==h?void 0:h.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==h?void 0:h.styles)||void 0===n?void 0:n.body),m),null==b?void 0:b.body)},c?o.createElement(M.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):f),k)},P=n(47648),_=n(14747),z=n(83559),K=n(87893);let L=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},W=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),H=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},W({opacity:e},{opacity:1})),U=(e,t)=>[H(.7,t),W({transform:L(e)},{transform:"none"})];var B=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:H(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:U(t,n)}),{})}}};let X=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:o,colorBgMask:a,colorBgElevated:r,motionDurationSlow:l,motionDurationMid:s,paddingXS:i,padding:c,paddingLG:d,fontSizeLG:u,lineHeightLG:m,lineWidth:p,lineType:f,colorSplit:v,marginXS:b,colorIcon:h,colorIconHover:g,colorBgTextHover:y,colorBgTextActive:x,colorText:w,fontWeightStrong:k,footerPaddingBlock:C,footerPaddingInline:$,calc:O}=e,E=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:o,pointerEvents:"none",color:w,"&-pure":{position:"relative",background:r,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:o,background:a,pointerEvents:"auto"},[E]:{position:"absolute",zIndex:o,maxWidth:"100vw",transition:`all ${l}`,"&-hidden":{display:"none"}},[`&-left > ${E}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${E}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${E}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${E}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:r,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(d)}`,fontSize:u,lineHeight:m,borderBottom:`${(0,P.bf)(p)} ${f} ${v}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:O(u).add(i).equal(),height:O(u).add(i).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:b,color:h,fontWeight:k,fontSize:u,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:g,backgroundColor:y,textDecoration:"none"},"&:active":{backgroundColor:x}},(0,_.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:u,lineHeight:m},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:d,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(C)} ${(0,P.bf)($)}`,borderTop:`${(0,P.bf)(p)} ${f} ${v}`},"&-rtl":{direction:"rtl"}}}};var A=(0,z.I$)("Drawer",e=>{let t=(0,K.IX)(e,{});return[X(t),B(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),F=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 a=0,o=Object.getOwnPropertySymbols(e);at.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let Y={distance:180},T=e=>{let{rootClassName:t,width:n,height:a,size:l="default",mask:s=!0,push:i=Y,open:c,afterOpenChange:d,onClose:u,prefixCls:m,getContainer:p,style:f,className:v,visible:b,afterVisibleChange:h,maskStyle:g,drawerStyle:y,contentWrapperStyle:x}=e,w=F(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:k,getPrefixCls:C,direction:$,drawer:I}=o.useContext(j.E_),M=C("drawer",m),[P,_,z]=A(M),K=r()({"no-mask":!s,[`${M}-rtl`]:"rtl"===$},t,_,z),L=o.useMemo(()=>null!=n?n:"large"===l?736:378,[n,l]),W=o.useMemo(()=>null!=a?a:"large"===l?736:378,[a,l]),H={motionName:(0,S.m)(M,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},U=(0,D.H)(),[B,X]=(0,N.Cn)("Drawer",w.zIndex),{classNames:T={},styles:q={}}=w,{classNames:V={},styles:Q={}}=I||{};return P(o.createElement(E.Z,{form:!0,space:!0},o.createElement(Z.Z.Provider,{value:X},o.createElement(O,Object.assign({prefixCls:M,onClose:u,maskMotion:H,motion:e=>({motionName:(0,S.m)(M,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},w,{classNames:{mask:r()(T.mask,V.mask),content:r()(T.content,V.content),wrapper:r()(T.wrapper,V.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},q.mask),g),Q.mask),content:Object.assign(Object.assign(Object.assign({},q.content),y),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},q.wrapper),x),Q.wrapper)},open:null!=c?c:b,mask:s,push:i,width:L,height:W,style:Object.assign(Object.assign({},null==I?void 0:I.style),f),className:r()(null==I?void 0:I.className,v),rootClassName:K,getContainer:void 0===p&&k?()=>k(document.body):p,afterOpenChange:null!=d?d:h,panelRef:U,zIndex:B}),o.createElement(R,Object.assign({prefixCls:M},w,{onClose:u}))))))};T._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:l="right"}=e,s=F(e,["prefixCls","style","className","placement"]),{getPrefixCls:i}=o.useContext(j.E_),c=i("drawer",t),[d,u,m]=A(c),p=r()(c,`${c}-pure`,`${c}-${l}`,u,m,a);return d(o.createElement("div",{className:p,style:n},o.createElement(R,Object.assign({prefixCls:c},s))))};var q=T}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5278-36ac2f07bcb92504.js b/dbgpt/app/static/web/_next/static/chunks/5278-36ac2f07bcb92504.js new file mode 100644 index 000000000..3959d6e34 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/5278-36ac2f07bcb92504.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5278],{90420: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.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"},o=n(13401),s=l.forwardRef(function(e,t){return l.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},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(13401),s=l.forwardRef(function(e,t){return l.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},68795: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:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},o=n(13401),s=l.forwardRef(function(e,t){return l.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},25278:function(e,t,n){n.d(t,{default:function(){return q}});var r=n(67294),l=n(93967),a=n.n(l),o=n(53124),s=n(65223),i=n(47673),u=n(82586),c=n(74902),p=n(56790),f=n(64217),d=n(9708),v=n(35792),m=n(98675),g=n(83559),b=n(83262),y=n(20353);let O=e=>{let{componentCls:t,paddingXS:n}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}};var C=(0,g.I$)(["Input","OTP"],e=>{let t=(0,b.IX)(e,(0,y.e)(e));return[O(t)]},y.T),h=n(75164),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 E=r.forwardRef((e,t)=>{let{value:n,onChange:l,onActiveChange:a,index:o,mask:s}=e,i=x(e,["value","onChange","onActiveChange","index","mask"]),c=r.useRef(null);r.useImperativeHandle(t,()=>c.current);let p=()=>{(0,h.Z)(()=>{var e;let t=null===(e=c.current)||void 0===e?void 0:e.input;document.activeElement===t&&t&&t.select()})};return r.createElement(u.Z,Object.assign({},i,{ref:c,value:n&&"string"==typeof s?s:n,onInput:e=>{l(o,e.target.value)},onFocus:p,onKeyDown:e=>{let{key:t}=e;"ArrowLeft"===t?a(o-1):"ArrowRight"===t&&a(o+1),p()},onKeyUp:e=>{"Backspace"!==e.key||n||a(o-1),p()},onMouseDown:p,onMouseUp:p,type:!0===s?"password":"text"}))});var 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 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 j(e){return(e||"").split("")}let Z=r.forwardRef((e,t)=>{let{prefixCls:n,length:l=6,size:i,defaultValue:u,value:g,onChange:b,formatter:y,variant:O,disabled:h,status:x,autoFocus:Z,mask:z}=e,M=w(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","variant","disabled","status","autoFocus","mask"]),{getPrefixCls:P,direction:$}=r.useContext(o.E_),k=P("otp",n),S=(0,f.Z)(M,{aria:!0,data:!0,attr:!0}),I=(0,v.Z)(k),[R,N,A]=C(k,I),_=(0,m.Z)(e=>null!=i?i:e),B=r.useContext(s.aM),L=(0,d.F)(B.status,x),T=r.useMemo(()=>Object.assign(Object.assign({},B),{status:L,hasFeedback:!1,feedbackIcon:null}),[B,L]),F=r.useRef(null),X=r.useRef({});r.useImperativeHandle(t,()=>({focus:()=>{var e;null===(e=X.current[0])||void 0===e||e.focus()},blur:()=>{var e;for(let t=0;ty?y(e):e,[q,Q]=r.useState(j(D(u||"")));r.useEffect(()=>{void 0!==g&&Q(j(g))},[g]);let U=(0,p.zX)(e=>{Q(e),b&&e.length===l&&e.every(e=>e)&&e.some((e,t)=>q[t]!==e)&&b(e.join(""))}),V=(0,p.zX)((e,t)=>{let n=(0,c.Z)(q);for(let t=0;t=0&&!n[e];e-=1)n.pop();let r=D(n.map(e=>e||" ").join(""));return n=j(r).map((e,t)=>" "!==e||n[t]?e:n[t])}),G=(e,t)=>{var n;let r=V(e,t),a=Math.min(e+t.length,l-1);a!==e&&(null===(n=X.current[a])||void 0===n||n.focus()),U(r)},H=e=>{var t;null===(t=X.current[e])||void 0===t||t.focus()},K={variant:O,disabled:h,status:L,mask:z};return R(r.createElement("div",Object.assign({},S,{ref:F,className:a()(k,{[`${k}-sm`]:"small"===_,[`${k}-lg`]:"large"===_,[`${k}-rtl`]:"rtl"===$},A,N)}),r.createElement(s.aM.Provider,{value:T},Array.from({length:l}).map((e,t)=>{let n=`otp-${t}`,l=q[t]||"";return r.createElement(E,Object.assign({ref:e=>{X.current[t]=e},key:n,index:t,size:_,htmlSize:1,className:`${k}-input`,onChange:G,value:l,onActiveChange:H,autoFocus:0===t&&Z},K))}))))});var z=n(90420),M=n(99611),P=n(98423),$=n(42550),k=n(72922),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 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=e=>e?r.createElement(M.Z,null):r.createElement(z.Z,null),R={click:"onClick",hover:"onMouseOver"},N=r.forwardRef((e,t)=>{let{disabled:n,action:l="click",visibilityToggle:s=!0,iconRender:i=I}=e,c="object"==typeof s&&void 0!==s.visible,[p,f]=(0,r.useState)(()=>!!c&&s.visible),d=(0,r.useRef)(null);r.useEffect(()=>{c&&f(s.visible)},[c,s]);let v=(0,k.Z)(d),m=()=>{n||(p&&v(),f(e=>{var t;let n=!e;return"object"==typeof s&&(null===(t=s.onVisibleChange)||void 0===t||t.call(s,n)),n}))},{className:g,prefixCls:b,inputPrefixCls:y,size:O}=e,C=S(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:h}=r.useContext(o.E_),x=h("input",y),E=h("input-password",b),w=s&&(e=>{let t=R[l]||"",n=i(p),a={[t]:m,className:`${e}-icon`,key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return r.cloneElement(r.isValidElement(n)?n:r.createElement("span",null,n),a)})(E),j=a()(E,g,{[`${E}-${O}`]:!!O}),Z=Object.assign(Object.assign({},(0,P.Z)(C,["suffix","iconRender","visibilityToggle"])),{type:p?"text":"password",className:j,prefixCls:x,suffix:w});return O&&(Z.size=O),r.createElement(u.Z,Object.assign({ref:(0,$.sQ)(t,d)},Z))});var A=n(68795),_=n(96159),B=n(14726),L=n(4173),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 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 F=r.forwardRef((e,t)=>{let n;let{prefixCls:l,inputPrefixCls:s,className:i,size:c,suffix:p,enterButton:f=!1,addonAfter:d,loading:v,disabled:g,onSearch:b,onChange:y,onCompositionStart:O,onCompositionEnd:C}=e,h=T(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:x,direction:E}=r.useContext(o.E_),w=r.useRef(!1),j=x("input-search",l),Z=x("input",s),{compactSize:z}=(0,L.ri)(j,E),M=(0,m.Z)(e=>{var t;return null!==(t=null!=c?c:z)&&void 0!==t?t:e}),P=r.useRef(null),k=e=>{var t;document.activeElement===(null===(t=P.current)||void 0===t?void 0:t.input)&&e.preventDefault()},S=e=>{var t,n;b&&b(null===(n=null===(t=P.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e,{source:"input"})},I="boolean"==typeof f?r.createElement(A.Z,null):null,R=`${j}-button`,N=f||{},F=N.type&&!0===N.type.__ANT_BUTTON;n=F||"button"===N.type?(0,_.Tm)(N,Object.assign({onMouseDown:k,onClick:e=>{var t,n;null===(n=null===(t=null==N?void 0:N.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),S(e)},key:"enterButton"},F?{className:R,size:M}:{})):r.createElement(B.ZP,{className:R,type:f?"primary":void 0,size:M,disabled:g,key:"enterButton",onMouseDown:k,onClick:S,loading:v,icon:I},f),d&&(n=[n,(0,_.Tm)(d,{key:"addonAfter"})]);let X=a()(j,{[`${j}-rtl`]:"rtl"===E,[`${j}-${M}`]:!!M,[`${j}-with-button`]:!!f},i);return r.createElement(u.Z,Object.assign({ref:(0,$.sQ)(P,t),onPressEnter:e=>{w.current||v||S(e)}},h,{size:M,onCompositionStart:e=>{w.current=!0,null==O||O(e)},onCompositionEnd:e=>{w.current=!1,null==C||C(e)},prefixCls:Z,addonAfter:n,suffix:p,onChange:e=>{(null==e?void 0:e.target)&&"click"===e.type&&b&&b(e.target.value,e,{source:"clear"}),null==y||y(e)},className:X,disabled:g}))});var X=n(22913);let D=u.Z;D.Group=e=>{let{getPrefixCls:t,direction:n}=(0,r.useContext)(o.E_),{prefixCls:l,className:u}=e,c=t("input-group",l),p=t("input"),[f,d]=(0,i.ZP)(p),v=a()(c,{[`${c}-lg`]:"large"===e.size,[`${c}-sm`]:"small"===e.size,[`${c}-compact`]:e.compact,[`${c}-rtl`]:"rtl"===n},d,u),m=(0,r.useContext)(s.aM),g=(0,r.useMemo)(()=>Object.assign(Object.assign({},m),{isFormItemInput:!1}),[m]);return f(r.createElement("span",{className:v,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},r.createElement(s.aM.Provider,{value:g},e.children)))},D.Search=F,D.TextArea=X.Z,D.Password=N,D.OTP=Z;var q=D}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5288.6baf794b64519a96.js b/dbgpt/app/static/web/_next/static/chunks/5288.6baf794b64519a96.js new file mode 100644 index 000000000..14411f0d6 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/5288.6baf794b64519a96.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5288],{45288:function(e,t,n){n.r(t),n.d(t,{CompletionAdapter:function(){return tr},DefinitionAdapter:function(){return tg},DiagnosticsAdapter:function(){return tn},DocumentColorAdapter:function(){return tk},DocumentFormattingEditProvider:function(){return tv},DocumentHighlightAdapter:function(){return td},DocumentLinkAdapter:function(){return tm},DocumentRangeFormattingEditProvider:function(){return t_},DocumentSymbolAdapter:function(){return tp},FoldingRangeAdapter:function(){return tb},HoverAdapter:function(){return tu},ReferenceAdapter:function(){return th},RenameAdapter:function(){return tf},SelectionRangeAdapter:function(){return ty},WorkerManager:function(){return e5},fromPosition:function(){return ti},fromRange:function(){return to},setupMode:function(){return tE},toRange:function(){return ts},toTextEdit:function(){return ta}});var r,i,o,s,a,u,c,d,g,l,h,f,p,m,v,_,w,k,b,y,E,C,x,A,I,S,R,D,T,M,P,F,L,j,O,N,W,U,V,H,K,z,X,B,$,q,Q,G,J,Y,Z,ee,et,en,er,ei,eo,es,ea,eu,ec,ed,eg,el,eh,ef,ep,em,ev,e_,ew,ek,eb,ey,eE,eC,ex,eA,eI,eS,eR,eD,eT,eM,eP,eF,eL,ej,eO,eN,eW,eU,eV,eH,eK,ez,eX,eB,e$,eq,eQ,eG,eJ,eY,eZ,e0,e1=n(72339),e2=Object.defineProperty,e4=Object.getOwnPropertyDescriptor,e3=Object.getOwnPropertyNames,e8=Object.prototype.hasOwnProperty,e7=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of e3(t))e8.call(e,i)||i===n||e2(e,i,{get:()=>t[i],enumerable:!(r=e4(t,i))||r.enumerable});return e},e6={};e7(e6,e1,"default"),r&&e7(r,e1,"default");var e5=class{_defaults;_idleCheckInterval;_lastUsedTime;_configChangeListener;_worker;_client;constructor(e){this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){this._worker&&Date.now()-this._lastUsedTime>12e4&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=e6.editor.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let t;return this._getClient().then(e=>{t=e}).then(t=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(e=>t)}};(i=J||(J={})).MIN_VALUE=-2147483648,i.MAX_VALUE=2147483647,(o=Y||(Y={})).MIN_VALUE=0,o.MAX_VALUE=2147483647,(s=Z||(Z={})).create=function(e,t){return e===Number.MAX_VALUE&&(e=Y.MAX_VALUE),t===Number.MAX_VALUE&&(t=Y.MAX_VALUE),{line:e,character:t}},s.is=function(e){return e0.objectLiteral(e)&&e0.uinteger(e.line)&&e0.uinteger(e.character)},(a=ee||(ee={})).create=function(e,t,n,r){if(e0.uinteger(e)&&e0.uinteger(t)&&e0.uinteger(n)&&e0.uinteger(r))return{start:Z.create(e,t),end:Z.create(n,r)};if(Z.is(e)&&Z.is(t))return{start:e,end:t};throw Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},a.is=function(e){return e0.objectLiteral(e)&&Z.is(e.start)&&Z.is(e.end)},(u=et||(et={})).create=function(e,t){return{uri:e,range:t}},u.is=function(e){return e0.defined(e)&&ee.is(e.range)&&(e0.string(e.uri)||e0.undefined(e.uri))},(c=en||(en={})).create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},c.is=function(e){return e0.defined(e)&&ee.is(e.targetRange)&&e0.string(e.targetUri)&&(ee.is(e.targetSelectionRange)||e0.undefined(e.targetSelectionRange))&&(ee.is(e.originSelectionRange)||e0.undefined(e.originSelectionRange))},(d=er||(er={})).create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},d.is=function(e){return e0.numberRange(e.red,0,1)&&e0.numberRange(e.green,0,1)&&e0.numberRange(e.blue,0,1)&&e0.numberRange(e.alpha,0,1)},(g=ei||(ei={})).create=function(e,t){return{range:e,color:t}},g.is=function(e){return ee.is(e.range)&&er.is(e.color)},(l=eo||(eo={})).create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},l.is=function(e){return e0.string(e.label)&&(e0.undefined(e.textEdit)||ef.is(e))&&(e0.undefined(e.additionalTextEdits)||e0.typedArray(e.additionalTextEdits,ef.is))},(h=es||(es={})).Comment="comment",h.Imports="imports",h.Region="region",(f=ea||(ea={})).create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return e0.defined(n)&&(o.startCharacter=n),e0.defined(r)&&(o.endCharacter=r),e0.defined(i)&&(o.kind=i),o},f.is=function(e){return e0.uinteger(e.startLine)&&e0.uinteger(e.startLine)&&(e0.undefined(e.startCharacter)||e0.uinteger(e.startCharacter))&&(e0.undefined(e.endCharacter)||e0.uinteger(e.endCharacter))&&(e0.undefined(e.kind)||e0.string(e.kind))},(p=eu||(eu={})).create=function(e,t){return{location:e,message:t}},p.is=function(e){return e0.defined(e)&&et.is(e.location)&&e0.string(e.message)},(m=ec||(ec={})).Error=1,m.Warning=2,m.Information=3,m.Hint=4,(v=ed||(ed={})).Unnecessary=1,v.Deprecated=2,(eg||(eg={})).is=function(e){return null!=e&&e0.string(e.href)},(_=el||(el={})).create=function(e,t,n,r,i,o){var s={range:e,message:t};return e0.defined(n)&&(s.severity=n),e0.defined(r)&&(s.code=r),e0.defined(i)&&(s.source=i),e0.defined(o)&&(s.relatedInformation=o),s},_.is=function(e){var t;return e0.defined(e)&&ee.is(e.range)&&e0.string(e.message)&&(e0.number(e.severity)||e0.undefined(e.severity))&&(e0.integer(e.code)||e0.string(e.code)||e0.undefined(e.code))&&(e0.undefined(e.codeDescription)||e0.string(null===(t=e.codeDescription)||void 0===t?void 0:t.href))&&(e0.string(e.source)||e0.undefined(e.source))&&(e0.undefined(e.relatedInformation)||e0.typedArray(e.relatedInformation,eu.is))},(w=eh||(eh={})).create=function(e,t){for(var n=[],r=2;r0&&(i.arguments=n),i},w.is=function(e){return e0.defined(e)&&e0.string(e.title)&&e0.string(e.command)},(k=ef||(ef={})).replace=function(e,t){return{range:e,newText:t}},k.insert=function(e,t){return{range:{start:e,end:e},newText:t}},k.del=function(e){return{range:e,newText:""}},k.is=function(e){return e0.objectLiteral(e)&&e0.string(e.newText)&&ee.is(e.range)},(b=ep||(ep={})).create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},b.is=function(e){return void 0!==e&&e0.objectLiteral(e)&&e0.string(e.label)&&(e0.boolean(e.needsConfirmation)||void 0===e.needsConfirmation)&&(e0.string(e.description)||void 0===e.description)},(em||(em={})).is=function(e){return"string"==typeof e},(y=ev||(ev={})).replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},y.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},y.del=function(e,t){return{range:e,newText:"",annotationId:t}},y.is=function(e){return ef.is(e)&&(ep.is(e.annotationId)||em.is(e.annotationId))},(E=e_||(e_={})).create=function(e,t){return{textDocument:e,edits:t}},E.is=function(e){return e0.defined(e)&&ex.is(e.textDocument)&&Array.isArray(e.edits)},(C=ew||(ew={})).create=function(e,t,n){var r={kind:"create",uri:e};return void 0!==t&&(void 0!==t.overwrite||void 0!==t.ignoreIfExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},C.is=function(e){return e&&"create"===e.kind&&e0.string(e.uri)&&(void 0===e.options||(void 0===e.options.overwrite||e0.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||e0.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||em.is(e.annotationId))},(x=ek||(ek={})).create=function(e,t,n,r){var i={kind:"rename",oldUri:e,newUri:t};return void 0!==n&&(void 0!==n.overwrite||void 0!==n.ignoreIfExists)&&(i.options=n),void 0!==r&&(i.annotationId=r),i},x.is=function(e){return e&&"rename"===e.kind&&e0.string(e.oldUri)&&e0.string(e.newUri)&&(void 0===e.options||(void 0===e.options.overwrite||e0.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||e0.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||em.is(e.annotationId))},(A=eb||(eb={})).create=function(e,t,n){var r={kind:"delete",uri:e};return void 0!==t&&(void 0!==t.recursive||void 0!==t.ignoreIfNotExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},A.is=function(e){return e&&"delete"===e.kind&&e0.string(e.uri)&&(void 0===e.options||(void 0===e.options.recursive||e0.boolean(e.options.recursive))&&(void 0===e.options.ignoreIfNotExists||e0.boolean(e.options.ignoreIfNotExists)))&&(void 0===e.annotationId||em.is(e.annotationId))},(ey||(ey={})).is=function(e){return e&&(void 0!==e.changes||void 0!==e.documentChanges)&&(void 0===e.documentChanges||e.documentChanges.every(function(e){return e0.string(e.kind)?ew.is(e)||ek.is(e)||eb.is(e):e_.is(e)}))};var e9=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=ef.insert(e,t):em.is(n)?(i=n,r=ev.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=ev.insert(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.replace=function(e,t,n){var r,i;if(void 0===n?r=ef.replace(e,t):em.is(n)?(i=n,r=ev.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=ev.replace(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=ef.del(e):em.is(t)?(r=t,n=ev.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=ev.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw Error("Text edit change is not configured to manage change annotations.")},e}(),te=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(em.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw Error("Id "+n+" is already in use.");if(void 0===t)throw Error("No annotation provided for id "+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new te(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach(function(e){if(e_.is(e)){var n=new e9(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach(function(n){var r=new e9(e.changes[n]);t._textEditChanges[n]=r})):this._workspaceEdit={}}Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(ex.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version},n=this._textEditChanges[t.uri];if(!n){var r=[],i={textDocument:t,edits:r};this._workspaceEdit.documentChanges.push(i),n=new e9(r,this._changeAnnotations),this._textEditChanges[t.uri]=n}return n}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw Error("Workspace edit is not configured for normal text edit changes.");var n=this._textEditChanges[e];if(!n){var r=[];this._workspaceEdit.changes[e]=r,n=new e9(r),this._textEditChanges[e]=n}return n},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new te,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){var r,i,o;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ep.is(t)||em.is(t)?r=t:n=t,void 0===r?i=ew.create(e,n):(o=em.is(r)?r:this._changeAnnotations.manage(r),i=ew.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o},e.prototype.renameFile=function(e,t,n,r){var i,o,s;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ep.is(n)||em.is(n)?i=n:r=n,void 0===i?o=ek.create(e,t,r):(s=em.is(i)?i:this._changeAnnotations.manage(i),o=ek.create(e,t,r,s)),this._workspaceEdit.documentChanges.push(o),void 0!==s)return s},e.prototype.deleteFile=function(e,t,n){var r,i,o;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ep.is(t)||em.is(t)?r=t:n=t,void 0===r?i=eb.create(e,n):(o=em.is(r)?r:this._changeAnnotations.manage(r),i=eb.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o}}(),(I=eE||(eE={})).create=function(e){return{uri:e}},I.is=function(e){return e0.defined(e)&&e0.string(e.uri)},(S=eC||(eC={})).create=function(e,t){return{uri:e,version:t}},S.is=function(e){return e0.defined(e)&&e0.string(e.uri)&&e0.integer(e.version)},(R=ex||(ex={})).create=function(e,t){return{uri:e,version:t}},R.is=function(e){return e0.defined(e)&&e0.string(e.uri)&&(null===e.version||e0.integer(e.version))},(D=eA||(eA={})).create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},D.is=function(e){return e0.defined(e)&&e0.string(e.uri)&&e0.string(e.languageId)&&e0.integer(e.version)&&e0.string(e.text)},(T=eI||(eI={})).PlainText="plaintext",T.Markdown="markdown",(M=eI||(eI={})).is=function(e){return e===M.PlainText||e===M.Markdown},(eS||(eS={})).is=function(e){return e0.objectLiteral(e)&&eI.is(e.kind)&&e0.string(e.value)},(P=eR||(eR={})).Text=1,P.Method=2,P.Function=3,P.Constructor=4,P.Field=5,P.Variable=6,P.Class=7,P.Interface=8,P.Module=9,P.Property=10,P.Unit=11,P.Value=12,P.Enum=13,P.Keyword=14,P.Snippet=15,P.Color=16,P.File=17,P.Reference=18,P.Folder=19,P.EnumMember=20,P.Constant=21,P.Struct=22,P.Event=23,P.Operator=24,P.TypeParameter=25,(F=eD||(eD={})).PlainText=1,F.Snippet=2,(eT||(eT={})).Deprecated=1,(L=eM||(eM={})).create=function(e,t,n){return{newText:e,insert:t,replace:n}},L.is=function(e){return e&&e0.string(e.newText)&&ee.is(e.insert)&&ee.is(e.replace)},(j=eP||(eP={})).asIs=1,j.adjustIndentation=2,(eF||(eF={})).create=function(e){return{label:e}},(eL||(eL={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(O=ej||(ej={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},O.is=function(e){return e0.string(e)||e0.objectLiteral(e)&&e0.string(e.language)&&e0.string(e.value)},(eO||(eO={})).is=function(e){return!!e&&e0.objectLiteral(e)&&(eS.is(e.contents)||ej.is(e.contents)||e0.typedArray(e.contents,ej.is))&&(void 0===e.range||ee.is(e.range))},(eN||(eN={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(eW||(eW={})).create=function(e,t){for(var n=[],r=2;r=n(i[s],o[a])?t[u++]=i[s++]:t[u++]=o[a++];for(;s=0;o--){var s=r[o],a=e.offsetAt(s.range.start),u=e.offsetAt(s.range.end);if(u<=i)n=n.substring(0,a)+s.newText+n.substring(u,n.length);else throw Error("Overlapping edit");i=a}return n};var tt=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return Z.create(0,e);for(;ne?r=i:n=i+1}var o=n-1;return Z.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1{let t,n=e.getLanguageId();n===this._languageId&&(this._listener[e.uri.toString()]=e.onDidChangeContent(()=>{window.clearTimeout(t),t=window.setTimeout(()=>this._doValidate(e.uri,n),500)}),this._doValidate(e.uri,n))},i=e=>{e6.editor.setModelMarkers(e,this._languageId,[]);let t=e.uri.toString(),n=this._listener[t];n&&(n.dispose(),delete this._listener[t])};this._disposables.push(e6.editor.onDidCreateModel(r)),this._disposables.push(e6.editor.onWillDisposeModel(i)),this._disposables.push(e6.editor.onDidChangeModelLanguage(e=>{i(e.model),r(e.model)})),this._disposables.push(n(e=>{e6.editor.getModels().forEach(e=>{e.getLanguageId()===this._languageId&&(i(e),r(e))})})),this._disposables.push({dispose:()=>{for(let e in e6.editor.getModels().forEach(i),this._listener)this._listener[e].dispose()}}),e6.editor.getModels().forEach(r)}_disposables=[];_listener=Object.create(null);dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,t){this._worker(e).then(t=>t.doValidation(e.toString())).then(n=>{let r=n.map(e=>{let t;return t="number"==typeof e.code?String(e.code):e.code,{severity:function(e){switch(e){case ec.Error:return e6.MarkerSeverity.Error;case ec.Warning:return e6.MarkerSeverity.Warning;case ec.Information:return e6.MarkerSeverity.Info;case ec.Hint:return e6.MarkerSeverity.Hint;default:return e6.MarkerSeverity.Info}}(e.severity),startLineNumber:e.range.start.line+1,startColumn:e.range.start.character+1,endLineNumber:e.range.end.line+1,endColumn:e.range.end.character+1,message:e.message,code:t,source:e.source}}),i=e6.editor.getModel(e);i&&i.getLanguageId()===t&&e6.editor.setModelMarkers(i,t,r)}).then(void 0,e=>{console.error(e)})}},tr=class{constructor(e,t){this._worker=e,this._triggerCharacters=t}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.doComplete(i.toString(),ti(t))).then(n=>{if(!n)return;let r=e.getWordUntilPosition(t),i=new e6.Range(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn),o=n.items.map(e=>{var t,n;let r={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,command:(t=e.command)&&"editor.action.triggerSuggest"===t.command?{id:t.command,title:t.title,arguments:t.arguments}:void 0,range:i,kind:function(e){let t=e6.languages.CompletionItemKind;switch(e){case eR.Text:return t.Text;case eR.Method:return t.Method;case eR.Function:return t.Function;case eR.Constructor:return t.Constructor;case eR.Field:return t.Field;case eR.Variable:return t.Variable;case eR.Class:return t.Class;case eR.Interface:return t.Interface;case eR.Module:return t.Module;case eR.Property:break;case eR.Unit:return t.Unit;case eR.Value:return t.Value;case eR.Enum:return t.Enum;case eR.Keyword:return t.Keyword;case eR.Snippet:return t.Snippet;case eR.Color:return t.Color;case eR.File:return t.File;case eR.Reference:return t.Reference}return t.Property}(e.kind)};return e.textEdit&&(void 0!==(n=e.textEdit).insert&&void 0!==n.replace?r.range={insert:ts(e.textEdit.insert),replace:ts(e.textEdit.replace)}:r.range=ts(e.textEdit.range),r.insertText=e.textEdit.newText),e.additionalTextEdits&&(r.additionalTextEdits=e.additionalTextEdits.map(ta)),e.insertTextFormat===eD.Snippet&&(r.insertTextRules=e6.languages.CompletionItemInsertTextRule.InsertAsSnippet),r});return{isIncomplete:n.isIncomplete,suggestions:o}})}};function ti(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function to(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function ts(e){if(e)return new e6.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function ta(e){if(e)return{range:ts(e.range),text:e.newText}}var tu=class{constructor(e){this._worker=e}provideHover(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.doHover(r.toString(),ti(t))).then(e=>{if(e){var t;return{range:ts(e.range),contents:(t=e.contents)?Array.isArray(t)?t.map(tc):[tc(t)]:void 0}}})}};function tc(e){return"string"==typeof e?{value:e}:e&&"object"==typeof e&&"string"==typeof e.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"}}var td=class{constructor(e){this._worker=e}provideDocumentHighlights(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.findDocumentHighlights(r.toString(),ti(t))).then(e=>{if(e)return e.map(e=>({range:ts(e.range),kind:function(e){switch(e){case eU.Read:return e6.languages.DocumentHighlightKind.Read;case eU.Write:return e6.languages.DocumentHighlightKind.Write;case eU.Text:}return e6.languages.DocumentHighlightKind.Text}(e.kind)}))})}},tg=class{constructor(e){this._worker=e}provideDefinition(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.findDefinition(r.toString(),ti(t))).then(e=>{if(e)return[tl(e)]})}};function tl(e){return{uri:e6.Uri.parse(e.uri),range:ts(e.range)}}var th=class{constructor(e){this._worker=e}provideReferences(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.findReferences(i.toString(),ti(t))).then(e=>{if(e)return e.map(tl)})}},tf=class{constructor(e){this._worker=e}provideRenameEdits(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.doRename(i.toString(),ti(t),n)).then(e=>(function(e){if(!e||!e.changes)return;let t=[];for(let n in e.changes){let r=e6.Uri.parse(n);for(let i of e.changes[n])t.push({resource:r,versionId:void 0,textEdit:{range:ts(i.range),text:i.newText}})}return{edits:t}})(e))}},tp=class{constructor(e){this._worker=e}provideDocumentSymbols(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentSymbols(n.toString())).then(e=>{if(e)return e.map(e=>({name:e.name,detail:"",containerName:e.containerName,kind:function(e){let t=e6.languages.SymbolKind;switch(e){case eH.File:return t.Array;case eH.Module:return t.Module;case eH.Namespace:return t.Namespace;case eH.Package:return t.Package;case eH.Class:return t.Class;case eH.Method:return t.Method;case eH.Property:return t.Property;case eH.Field:return t.Field;case eH.Constructor:return t.Constructor;case eH.Enum:return t.Enum;case eH.Interface:return t.Interface;case eH.Function:break;case eH.Variable:return t.Variable;case eH.Constant:return t.Constant;case eH.String:return t.String;case eH.Number:return t.Number;case eH.Boolean:return t.Boolean;case eH.Array:return t.Array}return t.Function}(e.kind),range:ts(e.location.range),selectionRange:ts(e.location.range),tags:[]}))})}},tm=class{constructor(e){this._worker=e}provideLinks(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentLinks(n.toString())).then(e=>{if(e)return{links:e.map(e=>({range:ts(e.range),url:e.target}))}})}},tv=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.format(r.toString(),null,tw(t)).then(e=>{if(e&&0!==e.length)return e.map(ta)}))}},t_=class{constructor(e){this._worker=e}provideDocumentRangeFormattingEdits(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.format(i.toString(),to(t),tw(n)).then(e=>{if(e&&0!==e.length)return e.map(ta)}))}};function tw(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var tk=class{constructor(e){this._worker=e}provideDocumentColors(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentColors(n.toString())).then(e=>{if(e)return e.map(e=>({color:e.color,range:ts(e.range)}))})}provideColorPresentations(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getColorPresentations(r.toString(),t.color,to(t.range))).then(e=>{if(e)return e.map(e=>{let t={label:e.label};return e.textEdit&&(t.textEdit=ta(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(ta)),t})})}},tb=class{constructor(e){this._worker=e}provideFoldingRanges(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getFoldingRanges(r.toString(),t)).then(e=>{if(e)return e.map(e=>{let t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case es.Comment:return e6.languages.FoldingRangeKind.Comment;case es.Imports:return e6.languages.FoldingRangeKind.Imports;case es.Region:return e6.languages.FoldingRangeKind.Region}}(e.kind)),t})})}},ty=class{constructor(e){this._worker=e}provideSelectionRanges(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getSelectionRanges(r.toString(),t.map(ti))).then(e=>{if(e)return e.map(e=>{let t=[];for(;e;)t.push({range:ts(e.range)}),e=e.parent;return t})})}};function tE(e){let t=[],n=[],r=new e5(e);t.push(r);let i=(...e)=>r.getLanguageServiceWorker(...e);return!function(){let{languageId:t,modeConfiguration:r}=e;tx(n),r.completionItems&&n.push(e6.languages.registerCompletionItemProvider(t,new tr(i,["/","-",":"]))),r.hovers&&n.push(e6.languages.registerHoverProvider(t,new tu(i))),r.documentHighlights&&n.push(e6.languages.registerDocumentHighlightProvider(t,new td(i))),r.definitions&&n.push(e6.languages.registerDefinitionProvider(t,new tg(i))),r.references&&n.push(e6.languages.registerReferenceProvider(t,new th(i))),r.documentSymbols&&n.push(e6.languages.registerDocumentSymbolProvider(t,new tp(i))),r.rename&&n.push(e6.languages.registerRenameProvider(t,new tf(i))),r.colors&&n.push(e6.languages.registerColorProvider(t,new tk(i))),r.foldingRanges&&n.push(e6.languages.registerFoldingRangeProvider(t,new tb(i))),r.diagnostics&&n.push(new tn(t,i,e.onDidChange)),r.selectionRanges&&n.push(e6.languages.registerSelectionRangeProvider(t,new ty(i))),r.documentFormattingEdits&&n.push(e6.languages.registerDocumentFormattingEditProvider(t,new tv(i))),r.documentRangeFormattingEdits&&n.push(e6.languages.registerDocumentRangeFormattingEditProvider(t,new t_(i)))}(),t.push(tC(n)),tC(t)}function tC(e){return{dispose:()=>tx(e)}}function tx(e){for(;e.length;)e.pop().dispose()}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5288.d3e234299ab8faea.js b/dbgpt/app/static/web/_next/static/chunks/5288.d3e234299ab8faea.js deleted file mode 100644 index 2d73e7e82..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/5288.d3e234299ab8faea.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5288],{45288:function(e,t,n){n.r(t),n.d(t,{CompletionAdapter:function(){return tM},DefinitionAdapter:function(){return tV},DiagnosticsAdapter:function(){return tL},DocumentColorAdapter:function(){return tQ},DocumentFormattingEditProvider:function(){return tz},DocumentHighlightAdapter:function(){return tU},DocumentLinkAdapter:function(){return t$},DocumentRangeFormattingEditProvider:function(){return tB},DocumentSymbolAdapter:function(){return tH},FoldingRangeAdapter:function(){return tG},HoverAdapter:function(){return tj},ReferenceAdapter:function(){return tW},RenameAdapter:function(){return tK},SelectionRangeAdapter:function(){return tJ},WorkerManager:function(){return tS},fromPosition:function(){return tT},fromRange:function(){return tD},setupMode:function(){return tY},toRange:function(){return tP},toTextEdit:function(){return tF}});var r,i,o,a,s,u,c,d,l,g,f,h,p,m,v,b,_,k,y,w,I,x,E,A,C,S,R,L,M,T,D,P,F,j,N,U,V,O,W,K,H,X,$,z,B,q,Q,G,J,Y,Z,ee,et,en,er,ei,eo,ea,es,eu,ec,ed,el,eg,ef,eh,ep,em,ev,eb,e_,ek,ey,ew,eI,ex,eE,eA,eC,eS,eR,eL,eM,eT,eD,eP,eF,ej,eN,eU,eV,eO,eW,eK,eH,eX,e$,ez,eB,eq,eQ,eG,eJ,eY,eZ,e0,e1,e2,e4,e3,e8,e7,e6,e5,e9,te,tt,tn,tr,ti,to,ta,ts,tu,tc,td,tl,tg,tf,th,tp,tm,tv,tb,t_,tk,ty=n(5036),tw=Object.defineProperty,tI=Object.getOwnPropertyDescriptor,tx=Object.getOwnPropertyNames,tE=Object.prototype.hasOwnProperty,tA=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of tx(t))tE.call(e,i)||i===n||tw(e,i,{get:()=>t[i],enumerable:!(r=tI(t,i))||r.enumerable});return e},tC={};tA(tC,ty,"default"),r&&tA(r,ty,"default");var tS=class{constructor(e){this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){this._worker&&Date.now()-this._lastUsedTime>12e4&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=tC.editor.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let t;return this._getClient().then(e=>{t=e}).then(t=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(e=>t)}};(eo||(eo={})).is=function(e){return"string"==typeof e},(ea||(ea={})).is=function(e){return"string"==typeof e},(i=es||(es={})).MIN_VALUE=-2147483648,i.MAX_VALUE=2147483647,i.is=function(e){return"number"==typeof e&&i.MIN_VALUE<=e&&e<=i.MAX_VALUE},(o=eu||(eu={})).MIN_VALUE=0,o.MAX_VALUE=2147483647,o.is=function(e){return"number"==typeof e&&o.MIN_VALUE<=e&&e<=o.MAX_VALUE},(a=ec||(ec={})).create=function(e,t){return e===Number.MAX_VALUE&&(e=eu.MAX_VALUE),t===Number.MAX_VALUE&&(t=eu.MAX_VALUE),{line:e,character:t}},a.is=function(e){return tk.objectLiteral(e)&&tk.uinteger(e.line)&&tk.uinteger(e.character)},(s=ed||(ed={})).create=function(e,t,n,r){if(tk.uinteger(e)&&tk.uinteger(t)&&tk.uinteger(n)&&tk.uinteger(r))return{start:ec.create(e,t),end:ec.create(n,r)};if(ec.is(e)&&ec.is(t))return{start:e,end:t};throw Error(`Range#create called with invalid arguments[${e}, ${t}, ${n}, ${r}]`)},s.is=function(e){return tk.objectLiteral(e)&&ec.is(e.start)&&ec.is(e.end)},(u=el||(el={})).create=function(e,t){return{uri:e,range:t}},u.is=function(e){return tk.objectLiteral(e)&&ed.is(e.range)&&(tk.string(e.uri)||tk.undefined(e.uri))},(c=eg||(eg={})).create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},c.is=function(e){return tk.objectLiteral(e)&&ed.is(e.targetRange)&&tk.string(e.targetUri)&&ed.is(e.targetSelectionRange)&&(ed.is(e.originSelectionRange)||tk.undefined(e.originSelectionRange))},(d=ef||(ef={})).create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},d.is=function(e){return tk.objectLiteral(e)&&tk.numberRange(e.red,0,1)&&tk.numberRange(e.green,0,1)&&tk.numberRange(e.blue,0,1)&&tk.numberRange(e.alpha,0,1)},(l=eh||(eh={})).create=function(e,t){return{range:e,color:t}},l.is=function(e){return tk.objectLiteral(e)&&ed.is(e.range)&&ef.is(e.color)},(g=ep||(ep={})).create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},g.is=function(e){return tk.objectLiteral(e)&&tk.string(e.label)&&(tk.undefined(e.textEdit)||ex.is(e))&&(tk.undefined(e.additionalTextEdits)||tk.typedArray(e.additionalTextEdits,ex.is))},(f=em||(em={})).Comment="comment",f.Imports="imports",f.Region="region",(h=ev||(ev={})).create=function(e,t,n,r,i,o){let a={startLine:e,endLine:t};return tk.defined(n)&&(a.startCharacter=n),tk.defined(r)&&(a.endCharacter=r),tk.defined(i)&&(a.kind=i),tk.defined(o)&&(a.collapsedText=o),a},h.is=function(e){return tk.objectLiteral(e)&&tk.uinteger(e.startLine)&&tk.uinteger(e.startLine)&&(tk.undefined(e.startCharacter)||tk.uinteger(e.startCharacter))&&(tk.undefined(e.endCharacter)||tk.uinteger(e.endCharacter))&&(tk.undefined(e.kind)||tk.string(e.kind))},(p=eb||(eb={})).create=function(e,t){return{location:e,message:t}},p.is=function(e){return tk.defined(e)&&el.is(e.location)&&tk.string(e.message)},(m=e_||(e_={})).Error=1,m.Warning=2,m.Information=3,m.Hint=4,(v=ek||(ek={})).Unnecessary=1,v.Deprecated=2,(ey||(ey={})).is=function(e){return tk.objectLiteral(e)&&tk.string(e.href)},(b=ew||(ew={})).create=function(e,t,n,r,i,o){let a={range:e,message:t};return tk.defined(n)&&(a.severity=n),tk.defined(r)&&(a.code=r),tk.defined(i)&&(a.source=i),tk.defined(o)&&(a.relatedInformation=o),a},b.is=function(e){var t;return tk.defined(e)&&ed.is(e.range)&&tk.string(e.message)&&(tk.number(e.severity)||tk.undefined(e.severity))&&(tk.integer(e.code)||tk.string(e.code)||tk.undefined(e.code))&&(tk.undefined(e.codeDescription)||tk.string(null===(t=e.codeDescription)||void 0===t?void 0:t.href))&&(tk.string(e.source)||tk.undefined(e.source))&&(tk.undefined(e.relatedInformation)||tk.typedArray(e.relatedInformation,eb.is))},(_=eI||(eI={})).create=function(e,t,...n){let r={title:e,command:t};return tk.defined(n)&&n.length>0&&(r.arguments=n),r},_.is=function(e){return tk.defined(e)&&tk.string(e.title)&&tk.string(e.command)},(k=ex||(ex={})).replace=function(e,t){return{range:e,newText:t}},k.insert=function(e,t){return{range:{start:e,end:e},newText:t}},k.del=function(e){return{range:e,newText:""}},k.is=function(e){return tk.objectLiteral(e)&&tk.string(e.newText)&&ed.is(e.range)},(y=eE||(eE={})).create=function(e,t,n){let r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},y.is=function(e){return tk.objectLiteral(e)&&tk.string(e.label)&&(tk.boolean(e.needsConfirmation)||void 0===e.needsConfirmation)&&(tk.string(e.description)||void 0===e.description)},(eA||(eA={})).is=function(e){return tk.string(e)},(w=eC||(eC={})).replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},w.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},w.del=function(e,t){return{range:e,newText:"",annotationId:t}},w.is=function(e){return ex.is(e)&&(eE.is(e.annotationId)||eA.is(e.annotationId))},(I=eS||(eS={})).create=function(e,t){return{textDocument:e,edits:t}},I.is=function(e){return tk.defined(e)&&eF.is(e.textDocument)&&Array.isArray(e.edits)},(x=eR||(eR={})).create=function(e,t,n){let r={kind:"create",uri:e};return void 0!==t&&(void 0!==t.overwrite||void 0!==t.ignoreIfExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},x.is=function(e){return e&&"create"===e.kind&&tk.string(e.uri)&&(void 0===e.options||(void 0===e.options.overwrite||tk.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||tk.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||eA.is(e.annotationId))},(E=eL||(eL={})).create=function(e,t,n,r){let i={kind:"rename",oldUri:e,newUri:t};return void 0!==n&&(void 0!==n.overwrite||void 0!==n.ignoreIfExists)&&(i.options=n),void 0!==r&&(i.annotationId=r),i},E.is=function(e){return e&&"rename"===e.kind&&tk.string(e.oldUri)&&tk.string(e.newUri)&&(void 0===e.options||(void 0===e.options.overwrite||tk.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||tk.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||eA.is(e.annotationId))},(A=eM||(eM={})).create=function(e,t,n){let r={kind:"delete",uri:e};return void 0!==t&&(void 0!==t.recursive||void 0!==t.ignoreIfNotExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},A.is=function(e){return e&&"delete"===e.kind&&tk.string(e.uri)&&(void 0===e.options||(void 0===e.options.recursive||tk.boolean(e.options.recursive))&&(void 0===e.options.ignoreIfNotExists||tk.boolean(e.options.ignoreIfNotExists)))&&(void 0===e.annotationId||eA.is(e.annotationId))},(eT||(eT={})).is=function(e){return e&&(void 0!==e.changes||void 0!==e.documentChanges)&&(void 0===e.documentChanges||e.documentChanges.every(e=>tk.string(e.kind)?eR.is(e)||eL.is(e)||eM.is(e):eS.is(e)))},(C=eD||(eD={})).create=function(e){return{uri:e}},C.is=function(e){return tk.defined(e)&&tk.string(e.uri)},(S=eP||(eP={})).create=function(e,t){return{uri:e,version:t}},S.is=function(e){return tk.defined(e)&&tk.string(e.uri)&&tk.integer(e.version)},(R=eF||(eF={})).create=function(e,t){return{uri:e,version:t}},R.is=function(e){return tk.defined(e)&&tk.string(e.uri)&&(null===e.version||tk.integer(e.version))},(L=ej||(ej={})).create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},L.is=function(e){return tk.defined(e)&&tk.string(e.uri)&&tk.string(e.languageId)&&tk.integer(e.version)&&tk.string(e.text)},(M=eN||(eN={})).PlainText="plaintext",M.Markdown="markdown",M.is=function(e){return e===M.PlainText||e===M.Markdown},(eU||(eU={})).is=function(e){return tk.objectLiteral(e)&&eN.is(e.kind)&&tk.string(e.value)},(T=eV||(eV={})).Text=1,T.Method=2,T.Function=3,T.Constructor=4,T.Field=5,T.Variable=6,T.Class=7,T.Interface=8,T.Module=9,T.Property=10,T.Unit=11,T.Value=12,T.Enum=13,T.Keyword=14,T.Snippet=15,T.Color=16,T.File=17,T.Reference=18,T.Folder=19,T.EnumMember=20,T.Constant=21,T.Struct=22,T.Event=23,T.Operator=24,T.TypeParameter=25,(D=eO||(eO={})).PlainText=1,D.Snippet=2,(eW||(eW={})).Deprecated=1,(P=eK||(eK={})).create=function(e,t,n){return{newText:e,insert:t,replace:n}},P.is=function(e){return e&&tk.string(e.newText)&&ed.is(e.insert)&&ed.is(e.replace)},(F=eH||(eH={})).asIs=1,F.adjustIndentation=2,(eX||(eX={})).is=function(e){return e&&(tk.string(e.detail)||void 0===e.detail)&&(tk.string(e.description)||void 0===e.description)},(e$||(e$={})).create=function(e){return{label:e}},(ez||(ez={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(j=eB||(eB={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},j.is=function(e){return tk.string(e)||tk.objectLiteral(e)&&tk.string(e.language)&&tk.string(e.value)},(eq||(eq={})).is=function(e){return!!e&&tk.objectLiteral(e)&&(eU.is(e.contents)||eB.is(e.contents)||tk.typedArray(e.contents,eB.is))&&(void 0===e.range||ed.is(e.range))},(eQ||(eQ={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(eG||(eG={})).create=function(e,t,...n){let r={label:e};return tk.defined(t)&&(r.documentation=t),tk.defined(n)?r.parameters=n:r.parameters=[],r},(N=eJ||(eJ={})).Text=1,N.Read=2,N.Write=3,(eY||(eY={})).create=function(e,t){let n={range:e};return tk.number(t)&&(n.kind=t),n},(U=eZ||(eZ={})).File=1,U.Module=2,U.Namespace=3,U.Package=4,U.Class=5,U.Method=6,U.Property=7,U.Field=8,U.Constructor=9,U.Enum=10,U.Interface=11,U.Function=12,U.Variable=13,U.Constant=14,U.String=15,U.Number=16,U.Boolean=17,U.Array=18,U.Object=19,U.Key=20,U.Null=21,U.EnumMember=22,U.Struct=23,U.Event=24,U.Operator=25,U.TypeParameter=26,(e0||(e0={})).Deprecated=1,(e1||(e1={})).create=function(e,t,n,r,i){let o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o},(e2||(e2={})).create=function(e,t,n,r){return void 0!==r?{name:e,kind:t,location:{uri:n,range:r}}:{name:e,kind:t,location:{uri:n}}},(V=e4||(e4={})).create=function(e,t,n,r,i,o){let a={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(a.children=o),a},V.is=function(e){return e&&tk.string(e.name)&&tk.number(e.kind)&&ed.is(e.range)&&ed.is(e.selectionRange)&&(void 0===e.detail||tk.string(e.detail))&&(void 0===e.deprecated||tk.boolean(e.deprecated))&&(void 0===e.children||Array.isArray(e.children))&&(void 0===e.tags||Array.isArray(e.tags))},(O=e3||(e3={})).Empty="",O.QuickFix="quickfix",O.Refactor="refactor",O.RefactorExtract="refactor.extract",O.RefactorInline="refactor.inline",O.RefactorRewrite="refactor.rewrite",O.Source="source",O.SourceOrganizeImports="source.organizeImports",O.SourceFixAll="source.fixAll",(W=e8||(e8={})).Invoked=1,W.Automatic=2,(K=e7||(e7={})).create=function(e,t,n){let r={diagnostics:e};return null!=t&&(r.only=t),null!=n&&(r.triggerKind=n),r},K.is=function(e){return tk.defined(e)&&tk.typedArray(e.diagnostics,ew.is)&&(void 0===e.only||tk.typedArray(e.only,tk.string))&&(void 0===e.triggerKind||e.triggerKind===e8.Invoked||e.triggerKind===e8.Automatic)},(H=e6||(e6={})).create=function(e,t,n){let r={title:e},i=!0;return"string"==typeof t?(i=!1,r.kind=t):eI.is(t)?r.command=t:r.edit=t,i&&void 0!==n&&(r.kind=n),r},H.is=function(e){return e&&tk.string(e.title)&&(void 0===e.diagnostics||tk.typedArray(e.diagnostics,ew.is))&&(void 0===e.kind||tk.string(e.kind))&&(void 0!==e.edit||void 0!==e.command)&&(void 0===e.command||eI.is(e.command))&&(void 0===e.isPreferred||tk.boolean(e.isPreferred))&&(void 0===e.edit||eT.is(e.edit))},(X=e5||(e5={})).create=function(e,t){let n={range:e};return tk.defined(t)&&(n.data=t),n},X.is=function(e){return tk.defined(e)&&ed.is(e.range)&&(tk.undefined(e.command)||eI.is(e.command))},($=e9||(e9={})).create=function(e,t){return{tabSize:e,insertSpaces:t}},$.is=function(e){return tk.defined(e)&&tk.uinteger(e.tabSize)&&tk.boolean(e.insertSpaces)},(z=te||(te={})).create=function(e,t,n){return{range:e,target:t,data:n}},z.is=function(e){return tk.defined(e)&&ed.is(e.range)&&(tk.undefined(e.target)||tk.string(e.target))},(B=tt||(tt={})).create=function(e,t){return{range:e,parent:t}},B.is=function(e){return tk.objectLiteral(e)&&ed.is(e.range)&&(void 0===e.parent||B.is(e.parent))},(q=tn||(tn={})).namespace="namespace",q.type="type",q.class="class",q.enum="enum",q.interface="interface",q.struct="struct",q.typeParameter="typeParameter",q.parameter="parameter",q.variable="variable",q.property="property",q.enumMember="enumMember",q.event="event",q.function="function",q.method="method",q.macro="macro",q.keyword="keyword",q.modifier="modifier",q.comment="comment",q.string="string",q.number="number",q.regexp="regexp",q.operator="operator",q.decorator="decorator",(Q=tr||(tr={})).declaration="declaration",Q.definition="definition",Q.readonly="readonly",Q.static="static",Q.deprecated="deprecated",Q.abstract="abstract",Q.async="async",Q.modification="modification",Q.documentation="documentation",Q.defaultLibrary="defaultLibrary",(ti||(ti={})).is=function(e){return tk.objectLiteral(e)&&(void 0===e.resultId||"string"==typeof e.resultId)&&Array.isArray(e.data)&&(0===e.data.length||"number"==typeof e.data[0])},(G=to||(to={})).create=function(e,t){return{range:e,text:t}},G.is=function(e){return null!=e&&ed.is(e.range)&&tk.string(e.text)},(J=ta||(ta={})).create=function(e,t,n){return{range:e,variableName:t,caseSensitiveLookup:n}},J.is=function(e){return null!=e&&ed.is(e.range)&&tk.boolean(e.caseSensitiveLookup)&&(tk.string(e.variableName)||void 0===e.variableName)},(Y=ts||(ts={})).create=function(e,t){return{range:e,expression:t}},Y.is=function(e){return null!=e&&ed.is(e.range)&&(tk.string(e.expression)||void 0===e.expression)},(Z=tu||(tu={})).create=function(e,t){return{frameId:e,stoppedLocation:t}},Z.is=function(e){return tk.defined(e)&&ed.is(e.stoppedLocation)},(ee=tc||(tc={})).Type=1,ee.Parameter=2,ee.is=function(e){return 1===e||2===e},(et=td||(td={})).create=function(e){return{value:e}},et.is=function(e){return tk.objectLiteral(e)&&(void 0===e.tooltip||tk.string(e.tooltip)||eU.is(e.tooltip))&&(void 0===e.location||el.is(e.location))&&(void 0===e.command||eI.is(e.command))},(en=tl||(tl={})).create=function(e,t,n){let r={position:e,label:t};return void 0!==n&&(r.kind=n),r},en.is=function(e){return tk.objectLiteral(e)&&ec.is(e.position)&&(tk.string(e.label)||tk.typedArray(e.label,td.is))&&(void 0===e.kind||tc.is(e.kind))&&void 0===e.textEdits||tk.typedArray(e.textEdits,ex.is)&&(void 0===e.tooltip||tk.string(e.tooltip)||eU.is(e.tooltip))&&(void 0===e.paddingLeft||tk.boolean(e.paddingLeft))&&(void 0===e.paddingRight||tk.boolean(e.paddingRight))},(tg||(tg={})).createSnippet=function(e){return{kind:"snippet",value:e}},(tf||(tf={})).create=function(e,t,n,r){return{insertText:e,filterText:t,range:n,command:r}},(th||(th={})).create=function(e){return{items:e}},(er=tp||(tp={})).Invoked=0,er.Automatic=1,(tm||(tm={})).create=function(e,t){return{range:e,text:t}},(tv||(tv={})).create=function(e,t){return{triggerKind:e,selectedCompletionInfo:t}},(tb||(tb={})).is=function(e){return tk.objectLiteral(e)&&ea.is(e.uri)&&tk.string(e.name)},(ei=t_||(t_={})).create=function(e,t,n,r){return new tR(e,t,n,r)},ei.is=function(e){return!!(tk.defined(e)&&tk.string(e.uri)&&(tk.undefined(e.languageId)||tk.string(e.languageId))&&tk.uinteger(e.lineCount)&&tk.func(e.getText)&&tk.func(e.positionAt)&&tk.func(e.offsetAt))},ei.applyEdits=function(e,t){let n=e.getText(),r=function e(t,n){if(t.length<=1)return t;let r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);let a=0,s=0,u=0;for(;a=n(i[a],o[s])?t[u++]=i[a++]:t[u++]=o[s++];for(;a{let n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}),i=n.length;for(let t=r.length-1;t>=0;t--){let o=r[t],a=e.offsetAt(o.range.start),s=e.offsetAt(o.range.end);if(s<=i)n=n.substring(0,a)+o.newText+n.substring(s,n.length);else throw Error("Overlapping edit");i=a}return n};var tR=class{constructor(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0}getLineOffsets(){if(void 0===this._lineOffsets){let e=[],t=this._content,n=!0;for(let r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return ec.create(0,e);for(;ne?r=i:n=i+1}let i=n-1;return ec.create(i,e-t[i])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1{let t,n=e.getLanguageId();n===this._languageId&&(this._listener[e.uri.toString()]=e.onDidChangeContent(()=>{window.clearTimeout(t),t=window.setTimeout(()=>this._doValidate(e.uri,n),500)}),this._doValidate(e.uri,n))},i=e=>{tC.editor.setModelMarkers(e,this._languageId,[]);let t=e.uri.toString(),n=this._listener[t];n&&(n.dispose(),delete this._listener[t])};this._disposables.push(tC.editor.onDidCreateModel(r)),this._disposables.push(tC.editor.onWillDisposeModel(i)),this._disposables.push(tC.editor.onDidChangeModelLanguage(e=>{i(e.model),r(e.model)})),this._disposables.push(n(e=>{tC.editor.getModels().forEach(e=>{e.getLanguageId()===this._languageId&&(i(e),r(e))})})),this._disposables.push({dispose:()=>{for(let e in tC.editor.getModels().forEach(i),this._listener)this._listener[e].dispose()}}),tC.editor.getModels().forEach(r)}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,t){this._worker(e).then(t=>t.doValidation(e.toString())).then(n=>{let r=n.map(e=>{let t;return t="number"==typeof e.code?String(e.code):e.code,{severity:function(e){switch(e){case e_.Error:return tC.MarkerSeverity.Error;case e_.Warning:return tC.MarkerSeverity.Warning;case e_.Information:return tC.MarkerSeverity.Info;case e_.Hint:return tC.MarkerSeverity.Hint;default:return tC.MarkerSeverity.Info}}(e.severity),startLineNumber:e.range.start.line+1,startColumn:e.range.start.character+1,endLineNumber:e.range.end.line+1,endColumn:e.range.end.character+1,message:e.message,code:t,source:e.source}}),i=tC.editor.getModel(e);i&&i.getLanguageId()===t&&tC.editor.setModelMarkers(i,t,r)}).then(void 0,e=>{console.error(e)})}},tM=class{constructor(e,t){this._worker=e,this._triggerCharacters=t}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.doComplete(i.toString(),tT(t))).then(n=>{if(!n)return;let r=e.getWordUntilPosition(t),i=new tC.Range(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn),o=n.items.map(e=>{var t,n;let r={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,command:(t=e.command)&&"editor.action.triggerSuggest"===t.command?{id:t.command,title:t.title,arguments:t.arguments}:void 0,range:i,kind:function(e){let t=tC.languages.CompletionItemKind;switch(e){case eV.Text:return t.Text;case eV.Method:return t.Method;case eV.Function:return t.Function;case eV.Constructor:return t.Constructor;case eV.Field:return t.Field;case eV.Variable:return t.Variable;case eV.Class:return t.Class;case eV.Interface:return t.Interface;case eV.Module:return t.Module;case eV.Property:break;case eV.Unit:return t.Unit;case eV.Value:return t.Value;case eV.Enum:return t.Enum;case eV.Keyword:return t.Keyword;case eV.Snippet:return t.Snippet;case eV.Color:return t.Color;case eV.File:return t.File;case eV.Reference:return t.Reference}return t.Property}(e.kind)};return e.textEdit&&(void 0!==(n=e.textEdit).insert&&void 0!==n.replace?r.range={insert:tP(e.textEdit.insert),replace:tP(e.textEdit.replace)}:r.range=tP(e.textEdit.range),r.insertText=e.textEdit.newText),e.additionalTextEdits&&(r.additionalTextEdits=e.additionalTextEdits.map(tF)),e.insertTextFormat===eO.Snippet&&(r.insertTextRules=tC.languages.CompletionItemInsertTextRule.InsertAsSnippet),r});return{isIncomplete:n.isIncomplete,suggestions:o}})}};function tT(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function tD(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function tP(e){if(e)return new tC.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function tF(e){if(e)return{range:tP(e.range),text:e.newText}}var tj=class{constructor(e){this._worker=e}provideHover(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.doHover(r.toString(),tT(t))).then(e=>{if(e){var t;return{range:tP(e.range),contents:(t=e.contents)?Array.isArray(t)?t.map(tN):[tN(t)]:void 0}}})}};function tN(e){return"string"==typeof e?{value:e}:e&&"object"==typeof e&&"string"==typeof e.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"}}var tU=class{constructor(e){this._worker=e}provideDocumentHighlights(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.findDocumentHighlights(r.toString(),tT(t))).then(e=>{if(e)return e.map(e=>({range:tP(e.range),kind:function(e){switch(e){case eJ.Read:return tC.languages.DocumentHighlightKind.Read;case eJ.Write:return tC.languages.DocumentHighlightKind.Write;case eJ.Text:}return tC.languages.DocumentHighlightKind.Text}(e.kind)}))})}},tV=class{constructor(e){this._worker=e}provideDefinition(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.findDefinition(r.toString(),tT(t))).then(e=>{if(e)return[tO(e)]})}};function tO(e){return{uri:tC.Uri.parse(e.uri),range:tP(e.range)}}var tW=class{constructor(e){this._worker=e}provideReferences(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.findReferences(i.toString(),tT(t))).then(e=>{if(e)return e.map(tO)})}},tK=class{constructor(e){this._worker=e}provideRenameEdits(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.doRename(i.toString(),tT(t),n)).then(e=>(function(e){if(!e||!e.changes)return;let t=[];for(let n in e.changes){let r=tC.Uri.parse(n);for(let i of e.changes[n])t.push({resource:r,versionId:void 0,textEdit:{range:tP(i.range),text:i.newText}})}return{edits:t}})(e))}},tH=class{constructor(e){this._worker=e}provideDocumentSymbols(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentSymbols(n.toString())).then(e=>{if(e)return e.map(e=>"children"in e?function e(t){return{name:t.name,detail:t.detail??"",kind:tX(t.kind),range:tP(t.range),selectionRange:tP(t.selectionRange),tags:t.tags??[],children:(t.children??[]).map(t=>e(t))}}(e):{name:e.name,detail:"",containerName:e.containerName,kind:tX(e.kind),range:tP(e.location.range),selectionRange:tP(e.location.range),tags:[]})})}};function tX(e){let t=tC.languages.SymbolKind;switch(e){case eZ.File:return t.File;case eZ.Module:return t.Module;case eZ.Namespace:return t.Namespace;case eZ.Package:return t.Package;case eZ.Class:return t.Class;case eZ.Method:return t.Method;case eZ.Property:return t.Property;case eZ.Field:return t.Field;case eZ.Constructor:return t.Constructor;case eZ.Enum:return t.Enum;case eZ.Interface:return t.Interface;case eZ.Function:break;case eZ.Variable:return t.Variable;case eZ.Constant:return t.Constant;case eZ.String:return t.String;case eZ.Number:return t.Number;case eZ.Boolean:return t.Boolean;case eZ.Array:return t.Array}return t.Function}var t$=class{constructor(e){this._worker=e}provideLinks(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentLinks(n.toString())).then(e=>{if(e)return{links:e.map(e=>({range:tP(e.range),url:e.target}))}})}},tz=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.format(r.toString(),null,tq(t)).then(e=>{if(e&&0!==e.length)return e.map(tF)}))}},tB=class{constructor(e){this._worker=e,this.canFormatMultipleRanges=!1}provideDocumentRangeFormattingEdits(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.format(i.toString(),tD(t),tq(n)).then(e=>{if(e&&0!==e.length)return e.map(tF)}))}};function tq(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var tQ=class{constructor(e){this._worker=e}provideDocumentColors(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentColors(n.toString())).then(e=>{if(e)return e.map(e=>({color:e.color,range:tP(e.range)}))})}provideColorPresentations(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getColorPresentations(r.toString(),t.color,tD(t.range))).then(e=>{if(e)return e.map(e=>{let t={label:e.label};return e.textEdit&&(t.textEdit=tF(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(tF)),t})})}},tG=class{constructor(e){this._worker=e}provideFoldingRanges(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getFoldingRanges(r.toString(),t)).then(e=>{if(e)return e.map(e=>{let t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case em.Comment:return tC.languages.FoldingRangeKind.Comment;case em.Imports:return tC.languages.FoldingRangeKind.Imports;case em.Region:return tC.languages.FoldingRangeKind.Region}}(e.kind)),t})})}},tJ=class{constructor(e){this._worker=e}provideSelectionRanges(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getSelectionRanges(r.toString(),t.map(tT))).then(e=>{if(e)return e.map(e=>{let t=[];for(;e;)t.push({range:tP(e.range)}),e=e.parent;return t})})}};function tY(e){let t=[],n=[],r=new tS(e);t.push(r);let i=(...e)=>r.getLanguageServiceWorker(...e);return!function(){let{languageId:t,modeConfiguration:r}=e;t0(n),r.completionItems&&n.push(tC.languages.registerCompletionItemProvider(t,new tM(i,["/","-",":"]))),r.hovers&&n.push(tC.languages.registerHoverProvider(t,new tj(i))),r.documentHighlights&&n.push(tC.languages.registerDocumentHighlightProvider(t,new tU(i))),r.definitions&&n.push(tC.languages.registerDefinitionProvider(t,new tV(i))),r.references&&n.push(tC.languages.registerReferenceProvider(t,new tW(i))),r.documentSymbols&&n.push(tC.languages.registerDocumentSymbolProvider(t,new tH(i))),r.rename&&n.push(tC.languages.registerRenameProvider(t,new tK(i))),r.colors&&n.push(tC.languages.registerColorProvider(t,new tQ(i))),r.foldingRanges&&n.push(tC.languages.registerFoldingRangeProvider(t,new tG(i))),r.diagnostics&&n.push(new tL(t,i,e.onDidChange)),r.selectionRanges&&n.push(tC.languages.registerSelectionRangeProvider(t,new tJ(i))),r.documentFormattingEdits&&n.push(tC.languages.registerDocumentFormattingEditProvider(t,new tz(i))),r.documentRangeFormattingEdits&&n.push(tC.languages.registerDocumentRangeFormattingEditProvider(t,new tB(i)))}(),t.push(tZ(n)),tZ(t)}function tZ(e){return{dispose:()=>t0(e)}}function t0(e){for(;e.length;)e.pop().dispose()}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5376-56da7b9cd48c6939.js b/dbgpt/app/static/web/_next/static/chunks/5376-56da7b9cd48c6939.js deleted file mode 100644 index 51d5d9cd4..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/5376-56da7b9cd48c6939.js +++ /dev/null @@ -1,48 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5376],{3843:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"}},49842:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"}},99011:function(e,t){"use strict";t.Z={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:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"}},29245:function(e,t){"use strict";t.Z={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"}},42110:function(e,t){"use strict";t.Z={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"}},50756:function(e,t){"use strict";t.Z={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"}},4708:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"}},10952:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"}},19369:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"}},66995:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"}},86759:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"}},56466:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"appstore-add",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},61086:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-600-80h56c4.4 0 8-3.6 8-8V560c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V384c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v320c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V462c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v242c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v400c0 4.4 3.6 8 8 8z"}}]},name:"bar-chart",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},64576:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z"}}]},name:"bulb",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},8751:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{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"}}]},name:"check-circle",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},88284:function(e,t,c){"use strict";var n=c(87462),r=c(67294),a=c(32857),l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=o},30071:function(e,t,c){"use strict";var n=c(87462),r=c(67294),a=c(99011),l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=o},18429:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={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 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},28508:function(e,t,c){"use strict";var n=c(87462),r=c(67294),a=c(89503),l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=o},85175:function(e,t,c){"use strict";var n=c(87462),r=c(67294),a=c(48820),l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=o},13520:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={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-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"database",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},27704:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={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"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},75835:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z"}}]},name:"dingding",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},15381:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},69753:function(e,t,c){"use strict";var n=c(87462),r=c(67294),a=c(49495),l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=o},36531:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9z"}}]},name:"edit",theme:"filled"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},11475:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={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:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},97175:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={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 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z"}}]},name:"file-excel",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},97245:function(e,t,c){"use strict";var n=c(87462),r=c(67294),a=c(75573),l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=o},55725:function(e,t,c){"use strict";var n=c(87462),r=c(67294),a=c(85118),l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=o},12906:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM512 533c-85.5 0-155.6 67.3-160 151.6a8 8 0 008 8.4h48.1c4.2 0 7.8-3.2 8.1-7.4C420 636.1 461.5 597 512 597s92.1 39.1 95.8 88.6c.3 4.2 3.9 7.4 8.1 7.4H664a8 8 0 008-8.4C667.6 600.3 597.5 533 512 533z"}}]},name:"frown",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},57546:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM653.3 424.6l52.2 52.2a8.01 8.01 0 01-4.7 13.6l-179.4 21c-5.1.6-9.5-3.7-8.9-8.9l21-179.4c.8-6.6 8.9-9.4 13.6-4.7l52.4 52.4 256.2-256.2c3.1-3.1 8.2-3.1 11.3 0l42.4 42.4c3.1 3.1 3.1 8.2 0 11.3L653.3 424.6z"}}]},name:"import",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},45605:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={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:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},37653:function(e,t,c){"use strict";var n=c(87462),r=c(67294),a=c(26554),l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=o},65429:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},29158:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},16801:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"}}]},name:"picture",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},48869:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552a398.46 398.46 0 00117.1 282.8c36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952a398.46 398.46 0 00282.8-117.1c36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552c0-88.7 34.5-172.1 97.2-234.8 54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8zM952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-4.7-.4-8.7 3.2-8.7 7.9V464c0 4.4 3.6 8 8 8l384-1c4.7 0 8.4-4 8-8.6zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z"}}]},name:"pie-chart",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},79383:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V160a16 16 0 0116-16zm-52 68H212v200h200zm493.33 87.69a16 16 0 010 22.62L724.31 503.33a16 16 0 01-22.62 0L520.67 322.31a16 16 0 010-22.62l181.02-181.02a16 16 0 0122.62 0zm-84.85 11.3L713 203.53 605.52 311 713 418.48zM464 544a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V560a16 16 0 0116-16zm-52 68H212v200h200zm452-68a16 16 0 0116 16v304a16 16 0 01-16 16H560a16 16 0 01-16-16V560a16 16 0 0116-16zm-52 68H612v200h200z"}}]},name:"product",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},63783:function(e,t,c){"use strict";var n=c(87462),r=c(67294),a=c(36688),l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=o},43929:function(e,t,c){"use strict";var n=c(87462),r=c(67294),a=c(50756),l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=o},97879:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917 211.1l-199.2 24c-6.6.8-9.4 8.9-4.7 13.6l59.3 59.3-226 226-101.8-101.7c-6.3-6.3-16.4-6.2-22.6 0L100.3 754.1a8.03 8.03 0 000 11.3l45 45.2c3.1 3.1 8.2 3.1 11.3 0L433.3 534 535 635.7c6.3 6.2 16.4 6.2 22.6 0L829 364.5l59.3 59.3a8.01 8.01 0 0013.6-4.7l24-199.2c.7-5.1-3.7-9.5-8.9-8.8z"}}]},name:"rise",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},36986:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-12-12-28.3-18.7-45.3-18.7H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 176h256v112H384V176zm128 554c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zm0-224c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80z"}}]},name:"save",theme:"filled"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},60219:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},35790:function(e,t,c){"use strict";var n=c(87462),r=c(67294),a=c(19369),l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=o},98165:function(e,t,c){"use strict";c.d(t,{Z:function(){return o}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"},l=c(13401),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},36832:function(e,t,c){"use strict";c.r(t),c.d(t,{AccountBookFilled:function(){return i},AccountBookOutlined:function(){return s},AccountBookTwoTone:function(){return h},AimOutlined:function(){return v},AlertFilled:function(){return m.Z},AlertOutlined:function(){return p},AlertTwoTone:function(){return w},AlibabaOutlined:function(){return Z},AlignCenterOutlined:function(){return b},AlignLeftOutlined:function(){return C},AlignRightOutlined:function(){return E},AlipayCircleFilled:function(){return y},AlipayCircleOutlined:function(){return B},AlipayOutlined:function(){return O},AlipaySquareFilled:function(){return T},AliwangwangFilled:function(){return F},AliwangwangOutlined:function(){return I},AliyunOutlined:function(){return D},AmazonCircleFilled:function(){return q},AmazonOutlined:function(){return W},AmazonSquareFilled:function(){return _},AndroidFilled:function(){return X},AndroidOutlined:function(){return G},AntCloudOutlined:function(){return J},AntDesignOutlined:function(){return et},ApartmentOutlined:function(){return en},ApiFilled:function(){return ea},ApiOutlined:function(){return eo},ApiTwoTone:function(){return eu},AppleFilled:function(){return ef},AppleOutlined:function(){return ed},AppstoreAddOutlined:function(){return ev.Z},AppstoreFilled:function(){return em.Z},AppstoreOutlined:function(){return eg.Z},AppstoreTwoTone:function(){return ez},AreaChartOutlined:function(){return eM},ArrowDownOutlined:function(){return eH},ArrowLeftOutlined:function(){return eV},ArrowRightOutlined:function(){return ex},ArrowUpOutlined:function(){return eL},ArrowsAltOutlined:function(){return eR},AudioFilled:function(){return eS},AudioMutedOutlined:function(){return ek},AudioOutlined:function(){return e$},AudioTwoTone:function(){return eA},AuditOutlined:function(){return eP},BackwardFilled:function(){return eN},BackwardOutlined:function(){return ej},BaiduOutlined:function(){return eY},BankFilled:function(){return eK},BankOutlined:function(){return eU},BankTwoTone:function(){return eQ},BarChartOutlined:function(){return eJ.Z},BarcodeOutlined:function(){return e4},BarsOutlined:function(){return e3},BehanceCircleFilled:function(){return e6},BehanceOutlined:function(){return e5},BehanceSquareFilled:function(){return e9},BehanceSquareOutlined:function(){return tt},BellFilled:function(){return tn},BellOutlined:function(){return ta},BellTwoTone:function(){return to},BgColorsOutlined:function(){return tu},BilibiliFilled:function(){return tf},BilibiliOutlined:function(){return td},BlockOutlined:function(){return tm},BoldOutlined:function(){return tp},BookFilled:function(){return tw},BookOutlined:function(){return tM.Z},BookTwoTone:function(){return tH},BorderBottomOutlined:function(){return tV},BorderHorizontalOutlined:function(){return tx},BorderInnerOutlined:function(){return tL},BorderLeftOutlined:function(){return tR},BorderOuterOutlined:function(){return tS},BorderOutlined:function(){return tk},BorderRightOutlined:function(){return t$},BorderTopOutlined:function(){return tA},BorderVerticleOutlined:function(){return tP},BorderlessTableOutlined:function(){return tN},BoxPlotFilled:function(){return tj},BoxPlotOutlined:function(){return tY},BoxPlotTwoTone:function(){return tK},BranchesOutlined:function(){return tU},BugFilled:function(){return tQ},BugOutlined:function(){return t1},BugTwoTone:function(){return t2},BuildFilled:function(){return t8},BuildOutlined:function(){return t6.Z},BuildTwoTone:function(){return t5},BulbFilled:function(){return t9},BulbOutlined:function(){return ce.Z},BulbTwoTone:function(){return cc},CalculatorFilled:function(){return cr},CalculatorOutlined:function(){return cl},CalculatorTwoTone:function(){return ci},CalendarFilled:function(){return cs},CalendarOutlined:function(){return ch},CalendarTwoTone:function(){return cv},CameraFilled:function(){return cg},CameraOutlined:function(){return cz},CameraTwoTone:function(){return cM},CarFilled:function(){return cH},CarOutlined:function(){return cV},CarTwoTone:function(){return cx},CaretDownFilled:function(){return cL},CaretDownOutlined:function(){return cR},CaretLeftFilled:function(){return cS},CaretLeftOutlined:function(){return cO.Z},CaretRightFilled:function(){return cT},CaretRightOutlined:function(){return c$.Z},CaretUpFilled:function(){return cA},CaretUpOutlined:function(){return cP},CarryOutFilled:function(){return cN},CarryOutOutlined:function(){return cj},CarryOutTwoTone:function(){return cY},CheckCircleFilled:function(){return cK},CheckCircleOutlined:function(){return cX.Z},CheckCircleTwoTone:function(){return cG},CheckOutlined:function(){return cQ.Z},CheckSquareFilled:function(){return c1},CheckSquareOutlined:function(){return c2},CheckSquareTwoTone:function(){return c8},ChromeFilled:function(){return c0},ChromeOutlined:function(){return c7},CiCircleFilled:function(){return ne},CiCircleOutlined:function(){return nc},CiCircleTwoTone:function(){return nr},CiOutlined:function(){return nl},CiTwoTone:function(){return ni},ClearOutlined:function(){return nu.Z},ClockCircleFilled:function(){return nf},ClockCircleOutlined:function(){return nh.Z},ClockCircleTwoTone:function(){return nv},CloseCircleFilled:function(){return ng},CloseCircleOutlined:function(){return np.Z},CloseCircleTwoTone:function(){return nw},CloseOutlined:function(){return nM.Z},CloseSquareFilled:function(){return nH},CloseSquareOutlined:function(){return nV},CloseSquareTwoTone:function(){return nx},CloudDownloadOutlined:function(){return nL},CloudFilled:function(){return nR},CloudOutlined:function(){return nS},CloudServerOutlined:function(){return nk},CloudSyncOutlined:function(){return n$},CloudTwoTone:function(){return nA},CloudUploadOutlined:function(){return nP},ClusterOutlined:function(){return nN},CodeFilled:function(){return nj},CodeOutlined:function(){return nW.Z},CodeSandboxCircleFilled:function(){return n_},CodeSandboxOutlined:function(){return nX},CodeSandboxSquareFilled:function(){return nG},CodeTwoTone:function(){return nJ},CodepenCircleFilled:function(){return n4},CodepenCircleOutlined:function(){return n3},CodepenOutlined:function(){return n6},CodepenSquareFilled:function(){return n5},CoffeeOutlined:function(){return n9},ColumnHeightOutlined:function(){return rt},ColumnWidthOutlined:function(){return rn},CommentOutlined:function(){return ra},CompassFilled:function(){return ro},CompassOutlined:function(){return ru},CompassTwoTone:function(){return rf},CompressOutlined:function(){return rd},ConsoleSqlOutlined:function(){return rv.Z},ContactsFilled:function(){return rg},ContactsOutlined:function(){return rz},ContactsTwoTone:function(){return rM},ContainerFilled:function(){return rH},ContainerOutlined:function(){return rV},ContainerTwoTone:function(){return rx},ControlFilled:function(){return rL},ControlOutlined:function(){return ry.Z},ControlTwoTone:function(){return rB},CopyFilled:function(){return rO},CopyOutlined:function(){return rk.Z},CopyTwoTone:function(){return r$},CopyrightCircleFilled:function(){return rA},CopyrightCircleOutlined:function(){return rP},CopyrightCircleTwoTone:function(){return rN},CopyrightOutlined:function(){return rj},CopyrightTwoTone:function(){return rY},CreditCardFilled:function(){return rK},CreditCardOutlined:function(){return rU},CreditCardTwoTone:function(){return rQ},CrownFilled:function(){return r1},CrownOutlined:function(){return r2},CrownTwoTone:function(){return r8},CustomerServiceFilled:function(){return r0},CustomerServiceOutlined:function(){return r7},CustomerServiceTwoTone:function(){return ae},DashOutlined:function(){return ac},DashboardFilled:function(){return ar},DashboardOutlined:function(){return al},DashboardTwoTone:function(){return ai},DatabaseFilled:function(){return as},DatabaseOutlined:function(){return af.Z},DatabaseTwoTone:function(){return ad},DeleteColumnOutlined:function(){return am},DeleteFilled:function(){return ag.Z},DeleteOutlined:function(){return ap.Z},DeleteRowOutlined:function(){return aw},DeleteTwoTone:function(){return aZ},DeliveredProcedureOutlined:function(){return ab},DeploymentUnitOutlined:function(){return aV.Z},DesktopOutlined:function(){return ax},DiffFilled:function(){return aL},DiffOutlined:function(){return aR},DiffTwoTone:function(){return aS},DingdingOutlined:function(){return aO.Z},DingtalkCircleFilled:function(){return aT},DingtalkOutlined:function(){return aF},DingtalkSquareFilled:function(){return aI},DisconnectOutlined:function(){return aD},DiscordFilled:function(){return aq},DiscordOutlined:function(){return aW},DislikeFilled:function(){return a_},DislikeOutlined:function(){return aK.Z},DislikeTwoTone:function(){return aU},DockerOutlined:function(){return aQ},DollarCircleFilled:function(){return a1},DollarCircleOutlined:function(){return a2},DollarCircleTwoTone:function(){return a8},DollarOutlined:function(){return a0},DollarTwoTone:function(){return a7},DotChartOutlined:function(){return le},DotNetOutlined:function(){return lc},DoubleLeftOutlined:function(){return lr},DoubleRightOutlined:function(){return ll},DownCircleFilled:function(){return li},DownCircleOutlined:function(){return ls},DownCircleTwoTone:function(){return lh},DownOutlined:function(){return lv},DownSquareFilled:function(){return lg},DownSquareOutlined:function(){return lz},DownSquareTwoTone:function(){return lM},DownloadOutlined:function(){return lZ.Z},DragOutlined:function(){return lb},DribbbleCircleFilled:function(){return lC},DribbbleOutlined:function(){return lE},DribbbleSquareFilled:function(){return ly},DribbbleSquareOutlined:function(){return lB},DropboxCircleFilled:function(){return lO},DropboxOutlined:function(){return lT},DropboxSquareFilled:function(){return lF},EditFilled:function(){return lA.Z},EditOutlined:function(){return lI.Z},EditTwoTone:function(){return lD},EllipsisOutlined:function(){return lN.Z},EnterOutlined:function(){return lj},EnvironmentFilled:function(){return lY},EnvironmentOutlined:function(){return lK},EnvironmentTwoTone:function(){return lU},EuroCircleFilled:function(){return lQ},EuroCircleOutlined:function(){return l1},EuroCircleTwoTone:function(){return l2},EuroOutlined:function(){return l8},EuroTwoTone:function(){return l0},ExceptionOutlined:function(){return l7},ExclamationCircleFilled:function(){return oe},ExclamationCircleOutlined:function(){return ot.Z},ExclamationCircleTwoTone:function(){return on},ExclamationOutlined:function(){return oa},ExpandAltOutlined:function(){return oo},ExpandOutlined:function(){return ou},ExperimentFilled:function(){return of},ExperimentOutlined:function(){return oh.Z},ExperimentTwoTone:function(){return ov},ExportOutlined:function(){return om.Z},EyeFilled:function(){return op},EyeInvisibleFilled:function(){return ow},EyeInvisibleOutlined:function(){return oZ},EyeInvisibleTwoTone:function(){return ob},EyeOutlined:function(){return oV.Z},EyeTwoTone:function(){return ox},FacebookFilled:function(){return oL},FacebookOutlined:function(){return oR},FallOutlined:function(){return oS},FastBackwardFilled:function(){return ok},FastBackwardOutlined:function(){return o$},FastForwardFilled:function(){return oA},FastForwardOutlined:function(){return oP},FieldBinaryOutlined:function(){return oN},FieldNumberOutlined:function(){return oj},FieldStringOutlined:function(){return oY},FieldTimeOutlined:function(){return oK},FileAddFilled:function(){return oU},FileAddOutlined:function(){return oQ},FileAddTwoTone:function(){return o1},FileDoneOutlined:function(){return o2},FileExcelFilled:function(){return o8},FileExcelOutlined:function(){return o6.Z},FileExcelTwoTone:function(){return o5},FileExclamationFilled:function(){return o9},FileExclamationOutlined:function(){return it},FileExclamationTwoTone:function(){return ir},FileFilled:function(){return il},FileGifOutlined:function(){return ii},FileImageFilled:function(){return is},FileImageOutlined:function(){return id},FileImageTwoTone:function(){return im},FileJpgOutlined:function(){return ip},FileMarkdownFilled:function(){return iw},FileMarkdownOutlined:function(){return iZ},FileMarkdownTwoTone:function(){return ib},FileOutlined:function(){return iV.Z},FilePdfFilled:function(){return ix},FilePdfOutlined:function(){return iL},FilePdfTwoTone:function(){return iR},FilePptFilled:function(){return iS},FilePptOutlined:function(){return ik},FilePptTwoTone:function(){return i$},FileProtectOutlined:function(){return iA},FileSearchOutlined:function(){return iI.Z},FileSyncOutlined:function(){return iD},FileTextFilled:function(){return iN.Z},FileTextOutlined:function(){return ij},FileTextTwoTone:function(){return iY},FileTwoTone:function(){return iK},FileUnknownFilled:function(){return iU},FileUnknownOutlined:function(){return iQ},FileUnknownTwoTone:function(){return i1},FileWordFilled:function(){return i2},FileWordOutlined:function(){return i8},FileWordTwoTone:function(){return i6.Z},FileZipFilled:function(){return i5},FileZipOutlined:function(){return i9},FileZipTwoTone:function(){return ut},FilterFilled:function(){return un},FilterOutlined:function(){return ua},FilterTwoTone:function(){return uo},FireFilled:function(){return uu},FireOutlined:function(){return uf},FireTwoTone:function(){return ud},FlagFilled:function(){return um},FlagOutlined:function(){return up},FlagTwoTone:function(){return uw},FolderAddFilled:function(){return uZ},FolderAddOutlined:function(){return uH.Z},FolderAddTwoTone:function(){return uV},FolderFilled:function(){return ux},FolderOpenFilled:function(){return uL},FolderOpenOutlined:function(){return uR},FolderOpenTwoTone:function(){return uS},FolderOutlined:function(){return uO.Z},FolderTwoTone:function(){return uT},FolderViewOutlined:function(){return uF},FontColorsOutlined:function(){return uI},FontSizeOutlined:function(){return uD},ForkOutlined:function(){return uN.Z},FormOutlined:function(){return uj},FormatPainterFilled:function(){return uY},FormatPainterOutlined:function(){return uK},ForwardFilled:function(){return uU},ForwardOutlined:function(){return uQ},FrownFilled:function(){return u1},FrownOutlined:function(){return u4.Z},FrownTwoTone:function(){return u3},FullscreenExitOutlined:function(){return u6},FullscreenOutlined:function(){return u5},FunctionOutlined:function(){return u9},FundFilled:function(){return st},FundOutlined:function(){return sn},FundProjectionScreenOutlined:function(){return sa},FundTwoTone:function(){return so},FundViewOutlined:function(){return su},FunnelPlotFilled:function(){return sf},FunnelPlotOutlined:function(){return sd},FunnelPlotTwoTone:function(){return sm},GatewayOutlined:function(){return sp},GifOutlined:function(){return sw},GiftFilled:function(){return sZ},GiftOutlined:function(){return sb},GiftTwoTone:function(){return sC},GithubFilled:function(){return sE},GithubOutlined:function(){return sy},GitlabFilled:function(){return sB},GitlabOutlined:function(){return sO},GlobalOutlined:function(){return sk.Z},GoldFilled:function(){return s$},GoldOutlined:function(){return sA},GoldTwoTone:function(){return sP},GoldenFilled:function(){return sN},GoogleCircleFilled:function(){return sj},GoogleOutlined:function(){return sY},GooglePlusCircleFilled:function(){return sK},GooglePlusOutlined:function(){return sU},GooglePlusSquareFilled:function(){return sQ},GoogleSquareFilled:function(){return s1},GroupOutlined:function(){return s2},HarmonyOSOutlined:function(){return s8},HddFilled:function(){return s0},HddOutlined:function(){return s7},HddTwoTone:function(){return fe},HeartFilled:function(){return fc},HeartOutlined:function(){return fr},HeartTwoTone:function(){return fl},HeatMapOutlined:function(){return fi},HighlightFilled:function(){return fs},HighlightOutlined:function(){return fh},HighlightTwoTone:function(){return fv},HistoryOutlined:function(){return fg},HolderOutlined:function(){return fz},HomeFilled:function(){return fM},HomeOutlined:function(){return fH},HomeTwoTone:function(){return fV},HourglassFilled:function(){return fx},HourglassOutlined:function(){return fL},HourglassTwoTone:function(){return fR},Html5Filled:function(){return fS},Html5Outlined:function(){return fk},Html5TwoTone:function(){return f$},IconProvider:function(){return b7},IdcardFilled:function(){return fA},IdcardOutlined:function(){return fP},IdcardTwoTone:function(){return fN},IeCircleFilled:function(){return fq.Z},IeOutlined:function(){return fW},IeSquareFilled:function(){return f_},ImportOutlined:function(){return fK.Z},InboxOutlined:function(){return fX.Z},InfoCircleFilled:function(){return fG},InfoCircleOutlined:function(){return fQ.Z},InfoCircleTwoTone:function(){return f1},InfoOutlined:function(){return f2},InsertRowAboveOutlined:function(){return f8},InsertRowBelowOutlined:function(){return f0},InsertRowLeftOutlined:function(){return f7},InsertRowRightOutlined:function(){return he},InstagramFilled:function(){return hc},InstagramOutlined:function(){return hr},InsuranceFilled:function(){return hl},InsuranceOutlined:function(){return hi},InsuranceTwoTone:function(){return hs},InteractionFilled:function(){return hh},InteractionOutlined:function(){return hv},InteractionTwoTone:function(){return hg},IssuesCloseOutlined:function(){return hz},ItalicOutlined:function(){return hM},JavaOutlined:function(){return hH},JavaScriptOutlined:function(){return hV},KeyOutlined:function(){return hx},KubernetesOutlined:function(){return hL},LaptopOutlined:function(){return hR},LayoutFilled:function(){return hS},LayoutOutlined:function(){return hk},LayoutTwoTone:function(){return h$},LeftCircleFilled:function(){return hA},LeftCircleOutlined:function(){return hP},LeftCircleTwoTone:function(){return hN},LeftOutlined:function(){return hq.Z},LeftSquareFilled:function(){return hW},LeftSquareOutlined:function(){return h_},LeftSquareTwoTone:function(){return hX},LikeFilled:function(){return hG},LikeOutlined:function(){return hQ.Z},LikeTwoTone:function(){return h1},LineChartOutlined:function(){return h2},LineHeightOutlined:function(){return h8},LineOutlined:function(){return h0},LinkOutlined:function(){return h5.Z},LinkedinFilled:function(){return h9},LinkedinOutlined:function(){return dt},LinuxOutlined:function(){return dn},Loading3QuartersOutlined:function(){return da},LoadingOutlined:function(){return dl.Z},LockFilled:function(){return du},LockOutlined:function(){return df},LockTwoTone:function(){return dd},LoginOutlined:function(){return dm},LogoutOutlined:function(){return dp},MacCommandFilled:function(){return dw},MacCommandOutlined:function(){return dZ},MailFilled:function(){return db},MailOutlined:function(){return dC},MailTwoTone:function(){return dE},ManOutlined:function(){return dy},MedicineBoxFilled:function(){return dB},MedicineBoxOutlined:function(){return dO},MedicineBoxTwoTone:function(){return dT},MediumCircleFilled:function(){return dF},MediumOutlined:function(){return dI},MediumSquareFilled:function(){return dD},MediumWorkmarkOutlined:function(){return dq},MehFilled:function(){return dW},MehOutlined:function(){return d_},MehTwoTone:function(){return dX},MenuFoldOutlined:function(){return dU.Z},MenuOutlined:function(){return dQ},MenuUnfoldOutlined:function(){return dJ.Z},MergeCellsOutlined:function(){return d4},MergeFilled:function(){return d3},MergeOutlined:function(){return d6},MessageFilled:function(){return d5},MessageOutlined:function(){return d7.Z},MessageTwoTone:function(){return ve},MinusCircleFilled:function(){return vc},MinusCircleOutlined:function(){return vn.Z},MinusCircleTwoTone:function(){return va},MinusOutlined:function(){return vo},MinusSquareFilled:function(){return vu},MinusSquareOutlined:function(){return vf},MinusSquareTwoTone:function(){return vd},MobileFilled:function(){return vm},MobileOutlined:function(){return vp},MobileTwoTone:function(){return vw},MoneyCollectFilled:function(){return vZ},MoneyCollectOutlined:function(){return vb},MoneyCollectTwoTone:function(){return vC},MonitorOutlined:function(){return vE},MoonFilled:function(){return vy},MoonOutlined:function(){return vB},MoreOutlined:function(){return vO},MutedFilled:function(){return vT},MutedOutlined:function(){return vF},NodeCollapseOutlined:function(){return vI},NodeExpandOutlined:function(){return vD},NodeIndexOutlined:function(){return vq},NotificationFilled:function(){return vW},NotificationOutlined:function(){return v_},NotificationTwoTone:function(){return vX},NumberOutlined:function(){return vG},OneToOneOutlined:function(){return vJ},OpenAIFilled:function(){return v4},OpenAIOutlined:function(){return v3},OrderedListOutlined:function(){return v6},PaperClipOutlined:function(){return v0.Z},PartitionOutlined:function(){return v5.Z},PauseCircleFilled:function(){return v9},PauseCircleOutlined:function(){return me.Z},PauseCircleTwoTone:function(){return mc},PauseOutlined:function(){return mr},PayCircleFilled:function(){return ml},PayCircleOutlined:function(){return mi},PercentageOutlined:function(){return ms},PhoneFilled:function(){return mh},PhoneOutlined:function(){return mv},PhoneTwoTone:function(){return mg},PicCenterOutlined:function(){return mz},PicLeftOutlined:function(){return mM},PicRightOutlined:function(){return mH},PictureFilled:function(){return mV},PictureOutlined:function(){return mC.Z},PictureTwoTone:function(){return mE},PieChartFilled:function(){return my},PieChartOutlined:function(){return mR.Z},PieChartTwoTone:function(){return mS},PinterestFilled:function(){return mk},PinterestOutlined:function(){return m$},PlayCircleFilled:function(){return mA},PlayCircleOutlined:function(){return mP},PlayCircleTwoTone:function(){return mN},PlaySquareFilled:function(){return mj},PlaySquareOutlined:function(){return mY},PlaySquareTwoTone:function(){return mK},PlusCircleFilled:function(){return mU},PlusCircleOutlined:function(){return mQ},PlusCircleTwoTone:function(){return m1},PlusOutlined:function(){return m4.Z},PlusSquareFilled:function(){return m3},PlusSquareOutlined:function(){return m6},PlusSquareTwoTone:function(){return m5},PoundCircleFilled:function(){return m9},PoundCircleOutlined:function(){return gt},PoundCircleTwoTone:function(){return gn},PoundOutlined:function(){return ga},PoweroffOutlined:function(){return go},PrinterFilled:function(){return gu},PrinterOutlined:function(){return gf},PrinterTwoTone:function(){return gd},ProductFilled:function(){return gm},ProductOutlined:function(){return gg.Z},ProfileFilled:function(){return gz},ProfileOutlined:function(){return gM},ProfileTwoTone:function(){return gH},ProjectFilled:function(){return gV},ProjectOutlined:function(){return gx},ProjectTwoTone:function(){return gL},PropertySafetyFilled:function(){return gR},PropertySafetyOutlined:function(){return gS},PropertySafetyTwoTone:function(){return gk},PullRequestOutlined:function(){return g$},PushpinFilled:function(){return gA},PushpinOutlined:function(){return gP},PushpinTwoTone:function(){return gN},PythonOutlined:function(){return gj},QqCircleFilled:function(){return gY},QqOutlined:function(){return gK},QqSquareFilled:function(){return gU},QrcodeOutlined:function(){return gQ},QuestionCircleFilled:function(){return g1},QuestionCircleOutlined:function(){return g4.Z},QuestionCircleTwoTone:function(){return g3},QuestionOutlined:function(){return g6},RadarChartOutlined:function(){return g5},RadiusBottomleftOutlined:function(){return g9},RadiusBottomrightOutlined:function(){return pt},RadiusSettingOutlined:function(){return pn},RadiusUpleftOutlined:function(){return pa},RadiusUprightOutlined:function(){return po},ReadFilled:function(){return pu},ReadOutlined:function(){return ps.Z},ReconciliationFilled:function(){return ph},ReconciliationOutlined:function(){return pv},ReconciliationTwoTone:function(){return pg},RedEnvelopeFilled:function(){return pz},RedEnvelopeOutlined:function(){return pM},RedEnvelopeTwoTone:function(){return pH},RedditCircleFilled:function(){return pV},RedditOutlined:function(){return px},RedditSquareFilled:function(){return pL},RedoOutlined:function(){return py.Z},ReloadOutlined:function(){return pB},RestFilled:function(){return pO},RestOutlined:function(){return pT},RestTwoTone:function(){return pF},RetweetOutlined:function(){return pI},RightCircleFilled:function(){return pD},RightCircleOutlined:function(){return pq},RightCircleTwoTone:function(){return pW},RightOutlined:function(){return pY.Z},RightSquareFilled:function(){return pK},RightSquareOutlined:function(){return pU},RightSquareTwoTone:function(){return pQ},RiseOutlined:function(){return pJ.Z},RobotFilled:function(){return p4},RobotOutlined:function(){return p2.Z},RocketFilled:function(){return p8},RocketOutlined:function(){return p0},RocketTwoTone:function(){return p7},RollbackOutlined:function(){return ze},RotateLeftOutlined:function(){return zc},RotateRightOutlined:function(){return zr},RubyOutlined:function(){return zl},SafetyCertificateFilled:function(){return zi},SafetyCertificateOutlined:function(){return zs},SafetyCertificateTwoTone:function(){return zh},SafetyOutlined:function(){return zv},SaveFilled:function(){return zm.Z},SaveOutlined:function(){return zg.Z},SaveTwoTone:function(){return zz},ScanOutlined:function(){return zM},ScheduleFilled:function(){return zH},ScheduleOutlined:function(){return zV},ScheduleTwoTone:function(){return zx},ScissorOutlined:function(){return zL},SearchOutlined:function(){return zy.Z},SecurityScanFilled:function(){return zB},SecurityScanOutlined:function(){return zO},SecurityScanTwoTone:function(){return zT},SelectOutlined:function(){return z$.Z},SendOutlined:function(){return zF.Z},SettingFilled:function(){return zI},SettingOutlined:function(){return zP.Z},SettingTwoTone:function(){return zN},ShakeOutlined:function(){return zj},ShareAltOutlined:function(){return zW.Z},ShopFilled:function(){return z_},ShopOutlined:function(){return zX},ShopTwoTone:function(){return zG},ShoppingCartOutlined:function(){return zJ},ShoppingFilled:function(){return z4},ShoppingOutlined:function(){return z3},ShoppingTwoTone:function(){return z6},ShrinkOutlined:function(){return z5},SignalFilled:function(){return z9},SignatureFilled:function(){return wt},SignatureOutlined:function(){return wn},SisternodeOutlined:function(){return wa},SketchCircleFilled:function(){return wo},SketchOutlined:function(){return wu},SketchSquareFilled:function(){return wf},SkinFilled:function(){return wd},SkinOutlined:function(){return wm},SkinTwoTone:function(){return wp},SkypeFilled:function(){return ww},SkypeOutlined:function(){return wZ},SlackCircleFilled:function(){return wb},SlackOutlined:function(){return wC},SlackSquareFilled:function(){return wE},SlackSquareOutlined:function(){return wy},SlidersFilled:function(){return wB},SlidersOutlined:function(){return wO},SlidersTwoTone:function(){return wT},SmallDashOutlined:function(){return wF},SmileFilled:function(){return wI},SmileOutlined:function(){return wP.Z},SmileTwoTone:function(){return wN},SnippetsFilled:function(){return wj},SnippetsOutlined:function(){return wY},SnippetsTwoTone:function(){return wK},SolutionOutlined:function(){return wU},SortAscendingOutlined:function(){return wQ},SortDescendingOutlined:function(){return w1},SoundFilled:function(){return w2},SoundOutlined:function(){return w8},SoundTwoTone:function(){return w0},SplitCellsOutlined:function(){return w7},SpotifyFilled:function(){return Me},SpotifyOutlined:function(){return Mc},StarFilled:function(){return Mn.Z},StarOutlined:function(){return Mr.Z},StarTwoTone:function(){return Ml},StepBackwardFilled:function(){return Mi},StepBackwardOutlined:function(){return Ms},StepForwardFilled:function(){return Mh},StepForwardOutlined:function(){return Mv},StockOutlined:function(){return Mg},StopFilled:function(){return Mz},StopOutlined:function(){return MM},StopTwoTone:function(){return MH},StrikethroughOutlined:function(){return MV},SubnodeOutlined:function(){return Mx},SunFilled:function(){return ML},SunOutlined:function(){return MR},SwapLeftOutlined:function(){return MS},SwapOutlined:function(){return MO.Z},SwapRightOutlined:function(){return Mk.Z},SwitcherFilled:function(){return M$},SwitcherOutlined:function(){return MA},SwitcherTwoTone:function(){return MP},SyncOutlined:function(){return MD.Z},TableOutlined:function(){return Mq},TabletFilled:function(){return MW},TabletOutlined:function(){return M_},TabletTwoTone:function(){return MX},TagFilled:function(){return MG},TagOutlined:function(){return MJ},TagTwoTone:function(){return M4},TagsFilled:function(){return M3},TagsOutlined:function(){return M6},TagsTwoTone:function(){return M5},TaobaoCircleFilled:function(){return M9},TaobaoCircleOutlined:function(){return Zt},TaobaoOutlined:function(){return Zn},TaobaoSquareFilled:function(){return Za},TeamOutlined:function(){return Zo},ThunderboltFilled:function(){return Zu},ThunderboltOutlined:function(){return Zf},ThunderboltTwoTone:function(){return Zd},TikTokFilled:function(){return Zm},TikTokOutlined:function(){return Zp},ToTopOutlined:function(){return Zw},ToolFilled:function(){return ZM.Z},ToolOutlined:function(){return ZH},ToolTwoTone:function(){return ZV},TrademarkCircleFilled:function(){return Zx},TrademarkCircleOutlined:function(){return ZL},TrademarkCircleTwoTone:function(){return ZR},TrademarkOutlined:function(){return ZS},TransactionOutlined:function(){return Zk},TranslationOutlined:function(){return Z$},TrophyFilled:function(){return ZA},TrophyOutlined:function(){return ZP},TrophyTwoTone:function(){return ZN},TruckFilled:function(){return Zj},TruckOutlined:function(){return ZY},TwitchFilled:function(){return ZK},TwitchOutlined:function(){return ZU},TwitterCircleFilled:function(){return ZQ},TwitterOutlined:function(){return Z1},TwitterSquareFilled:function(){return Z2},UnderlineOutlined:function(){return Z8},UndoOutlined:function(){return Z0},UngroupOutlined:function(){return Z7},UnlockFilled:function(){return He},UnlockOutlined:function(){return Hc},UnlockTwoTone:function(){return Hr},UnorderedListOutlined:function(){return Hl},UpCircleFilled:function(){return Hi},UpCircleOutlined:function(){return Hs},UpCircleTwoTone:function(){return Hh},UpOutlined:function(){return Hv},UpSquareFilled:function(){return Hg},UpSquareOutlined:function(){return Hz},UpSquareTwoTone:function(){return HM},UploadOutlined:function(){return HZ.Z},UsbFilled:function(){return Hb},UsbOutlined:function(){return HC},UsbTwoTone:function(){return HE},UserAddOutlined:function(){return Hy},UserDeleteOutlined:function(){return HB},UserOutlined:function(){return HS.Z},UserSwitchOutlined:function(){return Hk},UsergroupAddOutlined:function(){return H$},UsergroupDeleteOutlined:function(){return HA},VerifiedOutlined:function(){return HP},VerticalAlignBottomOutlined:function(){return HN},VerticalAlignMiddleOutlined:function(){return Hj},VerticalAlignTopOutlined:function(){return HY},VerticalLeftOutlined:function(){return HK},VerticalRightOutlined:function(){return HU},VideoCameraAddOutlined:function(){return HQ},VideoCameraFilled:function(){return H1},VideoCameraOutlined:function(){return H2},VideoCameraTwoTone:function(){return H8},WalletFilled:function(){return H0},WalletOutlined:function(){return H7},WalletTwoTone:function(){return be},WarningFilled:function(){return bc},WarningOutlined:function(){return bn.Z},WarningTwoTone:function(){return ba},WechatFilled:function(){return bo},WechatOutlined:function(){return bu},WechatWorkFilled:function(){return bf},WechatWorkOutlined:function(){return bd},WeiboCircleFilled:function(){return bm},WeiboCircleOutlined:function(){return bp},WeiboOutlined:function(){return bw},WeiboSquareFilled:function(){return bZ},WeiboSquareOutlined:function(){return bb},WhatsAppOutlined:function(){return bC},WifiOutlined:function(){return bE},WindowsFilled:function(){return by},WindowsOutlined:function(){return bB},WomanOutlined:function(){return bO},XFilled:function(){return bT},XOutlined:function(){return bF},YahooFilled:function(){return bI},YahooOutlined:function(){return bD},YoutubeFilled:function(){return bq},YoutubeOutlined:function(){return bW},YuqueFilled:function(){return bY.Z},YuqueOutlined:function(){return bK},ZhihuCircleFilled:function(){return bU},ZhihuOutlined:function(){return bQ},ZhihuSquareFilled:function(){return b1},ZoomInOutlined:function(){return b2},ZoomOutOutlined:function(){return b8},createFromIconfontCN:function(){return b0.Z},default:function(){return b5.Z},getTwoToneColor:function(){return b6.m},setTwoToneColor:function(){return b6.U}});var n=c(63017),r=c(87462),a=c(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM648.3 426.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V752c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 018.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z"}}]},name:"account-book",theme:"filled"},o=c(13401),i=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:l}))}),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584zM639.5 414h-45c-3 0-5.8 1.7-7.1 4.4L514 563.8h-2.8l-73.4-145.4a8 8 0 00-7.1-4.4h-46c-1.3 0-2.7.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9l89.3 164h-48.6c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1v33.7h-65.1c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1V752c0 4.4 3.6 8 8 8h41.3c4.4 0 8-3.6 8-8v-53.8h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-65.4v-33.7h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-49.1l89.3-164.1c.6-1.2 1-2.5 1-3.8.1-4.4-3.4-8-7.9-8z"}}]},name:"account-book",theme:"outlined"},s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:u}))}),f={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v584h656V256H712v48zm-65.6 121.8l-89.3 164.1h49.1c4.4 0 8 3.6 8 8v21.3c0 4.4-3.6 8-8 8h-65.4v33.7h65.4c4.4 0 8 3.6 8 8v21.3c0 4.4-3.6 8-8 8h-65.4V752c0 4.4-3.6 8-8 8h-41.3c-4.4 0-8-3.6-8-8v-53.8h-65.1c-4.4 0-8-3.6-8-8v-21.3c0-4.4 3.6-8 8-8h65.1v-33.7h-65.1c-4.4 0-8-3.6-8-8v-21.3c0-4.4 3.6-8 8-8H467l-89.3-164c-2.1-3.9-.7-8.8 3.2-10.9 1.1-.7 2.5-1 3.8-1h46a8 8 0 017.1 4.4l73.4 145.4h2.8l73.4-145.4c1.3-2.7 4.1-4.4 7.1-4.4h45c4.5 0 8 3.6 7.9 8 0 1.3-.4 2.6-1 3.8z",fill:t}},{tag:"path",attrs:{d:"M639.5 414h-45c-3 0-5.8 1.7-7.1 4.4L514 563.8h-2.8l-73.4-145.4a8 8 0 00-7.1-4.4h-46c-1.3 0-2.7.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9l89.3 164h-48.6c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1v33.7h-65.1c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1V752c0 4.4 3.6 8 8 8h41.3c4.4 0 8-3.6 8-8v-53.8h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-65.4v-33.7h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-49.1l89.3-164.1c.6-1.2 1-2.5 1-3.8.1-4.4-3.4-8-7.9-8z",fill:e}},{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584z",fill:e}}]}},name:"account-book",theme:"twotone"},h=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:f}))}),d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M952 474H829.8C812.5 327.6 696.4 211.5 550 194.2V72c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v122.2C327.6 211.5 211.5 327.6 194.2 474H72c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h122.2C211.5 696.4 327.6 812.5 474 829.8V952c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V829.8C696.4 812.5 812.5 696.4 829.8 550H952c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM512 756c-134.8 0-244-109.2-244-244s109.2-244 244-244 244 109.2 244 244-109.2 244-244 244z"}},{tag:"path",attrs:{d:"M512 392c-32.1 0-62.1 12.4-84.8 35.2-22.7 22.7-35.2 52.7-35.2 84.8s12.5 62.1 35.2 84.8C449.9 619.4 480 632 512 632s62.1-12.5 84.8-35.2C619.4 574.1 632 544 632 512s-12.5-62.1-35.2-84.8A118.57 118.57 0 00512 392z"}}]},name:"aim",theme:"outlined"},v=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:d}))}),m=c(6321),g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M193 796c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563zm-48.1-252.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM832 892H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8z"}}]},name:"alert",theme:"outlined"},p=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:g}))}),z={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M340 585c0-5.5 4.5-10 10-10h44c5.5 0 10 4.5 10 10v171h355V563c0-136.4-110.6-247-247-247S265 426.6 265 563v193h75V585z",fill:t}},{tag:"path",attrs:{d:"M216.9 310.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8zm348 712H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zm-639-96c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563z",fill:e}}]}},name:"alert",theme:"twotone"},w=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:z}))}),M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M602.9 669.8c-37.2 2.6-33.6-17.3-11.5-46.2 50.4-67.2 143.7-158.5 147.9-225.2 5.8-86.6-81.3-113.4-171-113.4-62.4 1.6-127 18.9-171 34.6-151.6 53.5-246.6 137.5-306.9 232-62.4 93.4-43 183.2 91.8 185.8 101.8-4.2 170.5-32.5 239.7-68.2.5 0-192.5 55.1-263.9 14.7-7.9-4.2-15.7-10-17.8-26.2 0-33.1 54.6-67.7 86.6-78.7v-56.7c64.5 22.6 140.6 16.3 205.7-32 2.1 5.8 4.2 13.1 3.7 21h11c2.6-22.6-12.6-44.6-37.8-46.2 7.3 5.8 12.6 10.5 15.2 14.7l-1 1-.5.5c-83.9 58.8-165.3 31.5-173.1 29.9l46.7-45.7-13.1-33.1c92.9-32.5 169.5-56.2 296.9-78.7l-28.5-23 14.7-8.9c75.5 21 126.4 36.7 123.8 76.6-1 6.8-3.7 14.7-7.9 23.1C660.1 466.1 594 538 567.2 569c-17.3 20.5-34.6 39.4-46.7 58.3-13.6 19.4-20.5 37.3-21 53.5 2.6 131.8 391.4-61.9 468-112.9-111.7 47.8-232.9 93.5-364.6 101.9zm85-302.9c2.8 5.2 4.1 11.6 4.1 19.1-.1-6.8-1.4-13.3-4.1-19.1z"}}]},name:"alibaba",theme:"outlined"},Z=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:M}))}),H={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M264 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm496 424c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496zm144 140H120c-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-424H120c-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-8z"}}]},name:"align-center",theme:"outlined"},b=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:H}))}),V={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M120 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 424h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm784 140H120c-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-424H120c-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-8z"}}]},name:"align-left",theme:"outlined"},C=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:V}))}),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 158H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 424H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 212H120c-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-424H120c-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-8z"}}]},name:"align-right",theme:"outlined"},E=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:x}))}),L={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.42 0 448 200.58 448 448S759.42 960 512 960 64 759.42 64 512 264.58 64 512 64m32.5 168c-69.67 0-86.06 16.84-86.72 39.08l-.02 1.43v46.62H291.45c-9.92 0-14.28 23.05-14.27 39.3 0 2.7 2.08 4.93 4.77 4.93h175.81v58.3h-116.5c-9.96 0-14.3 23.76-14.27 39.47a4.77 4.77 0 004.77 4.76h233.45c-4.53 41.06-15.43 77.59-30.72 109.32l-1.22 2.5-.32-.28c-60.24-28.47-120.43-52.57-194.4-52.57l-2.62.01c-84.98 1.11-144.71 56.5-145.91 127.04l-.02 1.22.02 2.13c1.24 70.4 63.56 126.45 148.52 126.45 61.25 0 116.38-16.85 163.46-45.02a138.58 138.58 0 0014.07-7.96 345.6 345.6 0 0050.3-41.16l9.45 6.35 12.46 8.32c57.53 38.26 113.76 72.62 169.86 79.27a142.62 142.62 0 0018.31 1.16c43.02 0 55-52.68 57.39-95.51l.14-2.84c.4-8.46-6.2-15.6-14.65-15.86-75.46-2.37-136.45-22.05-192-46.11l-6.27-2.75c35.15-56.8 56.66-121.81 57.15-186.66l.09-1.08c.4-5.51-4-10.2-9.52-10.2H549.33v-58.3h165.73c9.92 0 14.28-22.12 14.27-39.31a4.85 4.85 0 00-4.78-4.92H549.32v-82.35a4.8 4.8 0 00-4.83-4.78M328 583.85c54.63 0 107.08 22.41 158.1 52.19l5.76 3.4c-103.57 119.84-247.17 95.9-261.72 26.37a66.89 66.89 0 01-1.14-9.83l-.06-2.34.02-.9c.97-40.12 45.33-68.9 99.04-68.9"}}]},name:"alipay-circle",theme:"filled"},y=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:L}))}),R={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.42 0 448 200.58 448 448S759.42 960 512 960 64 759.42 64 512 264.58 64 512 64m32.5 168c-69.67 0-86.06 16.84-86.72 39.08l-.02 1.43v46.62H291.45c-9.92 0-14.28 23.05-14.27 39.3 0 2.7 2.08 4.93 4.77 4.93h175.81v58.3h-116.5c-9.96 0-14.3 23.76-14.27 39.47a4.77 4.77 0 004.77 4.76h233.45c-4.53 41.06-15.43 77.59-30.72 109.32l-1.22 2.5-.32-.28c-60.24-28.47-120.43-52.57-194.4-52.57l-2.62.01c-84.98 1.11-144.71 56.5-145.91 127.04l-.02 1.22.02 2.13c1.24 70.4 63.56 126.45 148.52 126.45 61.25 0 116.38-16.85 163.46-45.02a138.58 138.58 0 0014.07-7.96 345.6 345.6 0 0050.3-41.16l9.45 6.35 12.46 8.32c57.53 38.26 113.76 72.62 169.86 79.27a142.62 142.62 0 0018.31 1.16c43.02 0 55-52.68 57.39-95.51l.14-2.84c.4-8.46-6.2-15.6-14.65-15.86-75.46-2.37-136.45-22.05-192-46.11l-6.27-2.75c35.15-56.8 56.66-121.81 57.15-186.66l.09-1.08c.4-5.51-4-10.2-9.52-10.2H549.33v-58.3h165.73c9.92 0 14.28-22.12 14.27-39.31a4.85 4.85 0 00-4.78-4.92H549.32v-82.35a4.8 4.8 0 00-4.83-4.78M328 583.85c54.63 0 107.08 22.41 158.1 52.19l5.76 3.4c-103.57 119.84-247.17 95.9-261.72 26.37a66.89 66.89 0 01-1.14-9.83l-.06-2.34.02-.9c.97-40.12 45.33-68.9 99.04-68.9"}}]},name:"alipay-circle",theme:"outlined"},B=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:R}))}),S={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M557.2 129a6.68 6.68 0 016.72 6.65V250.2h243.8a6.74 6.74 0 016.65 6.84c.02 23.92-6.05 54.69-19.85 54.69H563.94v81.1h166.18c7.69 0 13.8 6.51 13.25 14.18l-.11 1.51c-.7 90.2-30.63 180.64-79.52 259.65l8.71 3.82c77.3 33.48 162.15 60.85 267.15 64.14a21.08 21.08 0 0120.38 22.07l-.2 3.95c-3.34 59.57-20 132.85-79.85 132.85-8.8 0-17.29-.55-25.48-1.61-78.04-9.25-156.28-57.05-236.32-110.27l-17.33-11.57-13.15-8.83a480.83 480.83 0 01-69.99 57.25 192.8 192.8 0 01-19.57 11.08c-65.51 39.18-142.21 62.6-227.42 62.62-118.2 0-204.92-77.97-206.64-175.9l-.03-2.95.03-1.7c1.66-98.12 84.77-175.18 203-176.72l3.64-.03c102.92 0 186.66 33.54 270.48 73.14l.44.38 1.7-3.47c21.27-44.14 36.44-94.95 42.74-152.06h-324.8a6.64 6.64 0 01-6.63-6.62c-.04-21.86 6-54.91 19.85-54.91h162.1v-81.1H191.92a6.71 6.71 0 01-6.64-6.85c-.01-22.61 6.06-54.68 19.86-54.68h231.4v-64.85l.02-1.99c.9-30.93 23.72-54.36 120.64-54.36M256.9 619c-74.77 0-136.53 39.93-137.88 95.6l-.02 1.26.08 3.24a92.55 92.55 0 001.58 13.64c20.26 96.5 220.16 129.71 364.34-36.59l-8.03-4.72C405.95 650.11 332.94 619 256.9 619"}}]},name:"alipay",theme:"outlined"},O=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:S}))}),k={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M894.6 116.54a30.9 30.9 0 0112.86 12.85c2.96 5.54 4.54 11.04 4.54 26.2V868.4c0 15.16-1.58 20.66-4.54 26.2a30.9 30.9 0 01-12.85 12.85c-5.54 2.96-11.04 4.54-26.2 4.54H155.6c-15.16 0-20.66-1.58-26.2-4.54a30.9 30.9 0 01-12.85-12.85c-2.92-5.47-4.5-10.9-4.54-25.59V155.6c0-15.16 1.58-20.66 4.54-26.2a30.9 30.9 0 0112.85-12.85c5.47-2.92 10.9-4.5 25.59-4.54H868.4c15.16 0 20.66 1.58 26.2 4.54M541 262c-62.2 0-76.83 15.04-77.42 34.9l-.02 1.27v41.62H315.08c-8.86 0-12.75 20.59-12.74 35.1a4.3 4.3 0 004.26 4.4h156.97v52.05H359.56c-8.9 0-12.77 21.22-12.75 35.25a4.26 4.26 0 004.26 4.25h208.44c-4.04 36.66-13.78 69.27-27.43 97.6l-1.09 2.23-.28-.25c-53.8-25.42-107.53-46.94-173.58-46.94l-2.33.01c-75.88 1-129.21 50.45-130.28 113.43l-.02 1.1.02 1.89c1.1 62.85 56.75 112.9 132.6 112.9 54.7 0 103.91-15.04 145.95-40.2a123.73 123.73 0 0012.56-7.1 308.6 308.6 0 0044.92-36.75l8.44 5.67 11.12 7.43c51.36 34.15 101.57 64.83 151.66 70.77a127.34 127.34 0 0016.35 1.04c38.4 0 49.1-47.04 51.24-85.28l.13-2.53a13.53 13.53 0 00-13.08-14.17c-67.39-2.1-121.84-19.68-171.44-41.17l-5.6-2.44c31.39-50.72 50.6-108.77 51.04-166.67l.07-.96a8.51 8.51 0 00-8.5-9.1H545.33v-52.06H693.3c8.86 0 12.75-19.75 12.75-35.1-.01-2.4-1.87-4.4-4.27-4.4H545.32v-73.52a4.29 4.29 0 00-4.31-4.27m-193.3 314.15c48.77 0 95.6 20.01 141.15 46.6l5.15 3.04c-92.48 107-220.69 85.62-233.68 23.54a59.72 59.72 0 01-1.02-8.78l-.05-2.08.01-.81c.87-35.82 40.48-61.51 88.44-61.51"}}]},name:"alipay-square",theme:"filled"},T=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:k}))}),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868.2 377.4c-18.9-45.1-46.3-85.6-81.2-120.6a377.26 377.26 0 00-120.5-81.2A375.65 375.65 0 00519 145.8c-41.9 0-82.9 6.7-121.9 20C306 123.3 200.8 120 170.6 120c-2.2 0-7.4 0-9.4.2-11.9.4-22.8 6.5-29.2 16.4-6.5 9.9-7.7 22.4-3.4 33.5l64.3 161.6a378.59 378.59 0 00-52.8 193.2c0 51.4 10 101 29.8 147.6 18.9 45 46.2 85.6 81.2 120.5 34.7 34.8 75.4 62.1 120.5 81.2C418.3 894 467.9 904 519 904c51.3 0 100.9-10 147.7-29.8 44.9-18.9 85.5-46.3 120.4-81.2 34.7-34.8 62.1-75.4 81.2-120.6a376.5 376.5 0 0029.8-147.6c-.2-51.2-10.1-100.8-29.9-147.4zm-325.2 79c0 20.4-16.6 37.1-37.1 37.1-20.4 0-37.1-16.7-37.1-37.1v-55.1c0-20.4 16.6-37.1 37.1-37.1 20.4 0 37.1 16.6 37.1 37.1v55.1zm175.2 0c0 20.4-16.6 37.1-37.1 37.1S644 476.8 644 456.4v-55.1c0-20.4 16.7-37.1 37.1-37.1 20.4 0 37.1 16.6 37.1 37.1v55.1z"}}]},name:"aliwangwang",theme:"filled"},F=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:$}))}),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868.2 377.4c-18.9-45.1-46.3-85.6-81.2-120.6a377.26 377.26 0 00-120.5-81.2A375.65 375.65 0 00519 145.8c-41.9 0-82.9 6.7-121.9 20C306 123.3 200.8 120 170.6 120c-2.2 0-7.4 0-9.4.2-11.9.4-22.8 6.5-29.2 16.4-6.5 9.9-7.7 22.4-3.4 33.5l64.3 161.6a378.59 378.59 0 00-52.8 193.2c0 51.4 10 101 29.8 147.6 18.9 45 46.2 85.6 81.2 120.5 34.7 34.8 75.4 62.1 120.5 81.2C418.3 894 467.9 904 519 904c51.3 0 100.9-10.1 147.7-29.8 44.9-18.9 85.5-46.3 120.4-81.2 34.7-34.8 62.1-75.4 81.2-120.6a376.5 376.5 0 0029.8-147.6c-.2-51.2-10.1-100.8-29.9-147.4zm-66.4 266.5a307.08 307.08 0 01-65.9 98c-28.4 28.5-61.3 50.7-97.7 65.9h-.1c-38 16-78.3 24.2-119.9 24.2a306.51 306.51 0 01-217.5-90.2c-28.4-28.5-50.6-61.4-65.8-97.8v-.1c-16-37.8-24.1-78.2-24.1-119.9 0-55.4 14.8-109.7 42.8-157l13.2-22.1-9.5-23.9L206 192c14.9.6 35.9 2.1 59.7 5.6 43.8 6.5 82.5 17.5 114.9 32.6l19 8.9 19.9-6.8c31.5-10.8 64.8-16.2 98.9-16.2a306.51 306.51 0 01217.5 90.2c28.4 28.5 50.6 61.4 65.8 97.8l.1.1.1.1c16 37.6 24.1 78 24.2 119.8-.1 41.7-8.3 82-24.3 119.8zM681.1 364.2c-20.4 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.6 37.1 37.1 37.1s37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1zm-175.2 0c-20.5 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.7 37.1 37.1 37.1 20.5 0 37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1z"}}]},name:"aliwangwang",theme:"outlined"},I=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:A}))}),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M959.2 383.9c-.3-82.1-66.9-148.6-149.1-148.6H575.9l21.6 85.2 201 43.7a42.58 42.58 0 0132.9 39.7c.1.5.1 216.1 0 216.6a42.58 42.58 0 01-32.9 39.7l-201 43.7-21.6 85.3h234.2c82.1 0 148.8-66.5 149.1-148.6V383.9zM225.5 660.4a42.58 42.58 0 01-32.9-39.7c-.1-.6-.1-216.1 0-216.6.8-19.4 14.6-35.5 32.9-39.7l201-43.7 21.6-85.2H213.8c-82.1 0-148.8 66.4-149.1 148.6V641c.3 82.1 67 148.6 149.1 148.6H448l-21.6-85.3-200.9-43.9zm200.9-158.8h171v21.3h-171z"}}]},name:"aliyun",theme:"outlined"},D=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:P}))}),N={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M485 467.5c-11.6 4.9-20.9 12.2-27.8 22-6.9 9.8-10.4 21.6-10.4 35.5 0 17.8 7.5 31.5 22.4 41.2 14.1 9.1 28.9 11.4 44.4 6.8 17.9-5.2 30-17.9 36.4-38.1 3-9.3 4.5-19.7 4.5-31.3v-50.2c-12.6.4-24.4 1.6-35.5 3.7-11.1 2.1-22.4 5.6-34 10.4zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm35.8 262.7c-7.2-10.9-20.1-16.4-38.7-16.4-1.3 0-3 .1-5.3.3-2.2.2-6.6 1.5-12.9 3.7a79.4 79.4 0 00-17.9 9.1c-5.5 3.8-11.5 10-18 18.4-6.4 8.5-11.5 18.4-15.3 29.8l-94-8.4c0-12.4 2.4-24.7 7-36.9 4.7-12.2 11.8-23.9 21.4-35 9.6-11.2 21.1-21 34.5-29.4 13.4-8.5 29.6-15.2 48.4-20.3 18.9-5.1 39.1-7.6 60.9-7.6 21.3 0 40.6 2.6 57.8 7.7 17.2 5.2 31.1 11.5 41.4 19.1a117 117 0 0125.9 25.7c6.9 9.6 11.7 18.5 14.4 26.7 2.7 8.2 4 15.7 4 22.8v182.5c0 6.4 1.4 13 4.3 19.8 2.9 6.8 6.3 12.8 10.2 18 3.9 5.2 7.9 9.9 12 14.3 4.1 4.3 7.6 7.7 10.6 9.9l4.1 3.4-72.5 69.4c-8.5-7.7-16.9-15.4-25.2-23.4-8.3-8-14.5-14-18.5-18.1l-6.1-6.2c-2.4-2.3-5-5.7-8-10.2-8.1 12.2-18.5 22.8-31.1 31.8-12.7 9-26.3 15.6-40.7 19.7-14.5 4.1-29.4 6.5-44.7 7.1-15.3.6-30-1.5-43.9-6.5-13.9-5-26.5-11.7-37.6-20.3-11.1-8.6-19.9-20.2-26.5-35-6.6-14.8-9.9-31.5-9.9-50.4 0-17.4 3-33.3 8.9-47.7 6-14.5 13.6-26.5 23-36.1 9.4-9.6 20.7-18.2 34-25.7s26.4-13.4 39.2-17.7c12.8-4.2 26.6-7.8 41.5-10.7 14.9-2.9 27.6-4.8 38.2-5.7 10.6-.9 21.2-1.6 31.8-2v-39.4c0-13.5-2.3-23.5-6.7-30.1zm180.5 379.6c-2.8 3.3-7.5 7.8-14.1 13.5s-16.8 12.7-30.5 21.1c-13.7 8.4-28.8 16-45 22.9-16.3 6.9-36.3 12.9-60.1 18-23.7 5.1-48.2 7.6-73.3 7.6-25.4 0-50.7-3.2-76.1-9.6-25.4-6.4-47.6-14.3-66.8-23.7-19.1-9.4-37.6-20.2-55.1-32.2-17.6-12.1-31.7-22.9-42.4-32.5-10.6-9.6-19.6-18.7-26.8-27.1-1.7-1.9-2.8-3.6-3.2-5.1-.4-1.5-.3-2.8.3-3.7.6-.9 1.5-1.6 2.6-2.2a7.42 7.42 0 017.4.8c40.9 24.2 72.9 41.3 95.9 51.4 82.9 36.4 168 45.7 255.3 27.9 40.5-8.3 82.1-22.2 124.9-41.8 3.2-1.2 6-1.5 8.3-.9 2.3.6 3.5 2.4 3.5 5.4 0 2.8-1.6 6.3-4.8 10.2zm59.9-29c-1.8 11.1-4.9 21.6-9.1 31.8-7.2 17.1-16.3 30-27.1 38.4-3.6 2.9-6.4 3.8-8.3 2.8-1.9-1-1.9-3.5 0-7.4 4.5-9.3 9.2-21.8 14.2-37.7 5-15.8 5.7-26 2.1-30.5-1.1-1.5-2.7-2.6-5-3.6-2.2-.9-5.1-1.5-8.6-1.9s-6.7-.6-9.4-.8c-2.8-.2-6.5-.2-11.2 0-4.7.2-8 .4-10.1.6a874.4 874.4 0 01-17.1 1.5c-1.3.2-2.7.4-4.1.5-1.5.1-2.7.2-3.5.3l-2.7.3c-1 .1-1.7.2-2.2.2h-3.2l-1-.2-.6-.5-.5-.9c-1.3-3.3 3.7-7.4 15-12.4s22.3-8.1 32.9-9.3c9.8-1.5 21.3-1.5 34.5-.3s21.3 3.7 24.3 7.4c2.3 3.5 2.5 10.7.7 21.7z"}}]},name:"amazon-circle",theme:"filled"},q=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:N}))}),j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M825 768.9c-3.3-.9-7.3-.4-11.9 1.3-61.6 28.2-121.5 48.3-179.7 60.2C507.7 856 385.2 842.6 266 790.3c-33.1-14.6-79.1-39.2-138-74a9.36 9.36 0 00-5.3-2c-2-.1-3.7.1-5.3.9-1.6.8-2.8 1.8-3.7 3.1-.9 1.3-1.1 3.1-.4 5.4.6 2.2 2.1 4.7 4.6 7.4 10.4 12.2 23.3 25.2 38.6 39s35.6 29.4 60.9 46.8c25.3 17.4 51.8 32.9 79.3 46.4 27.6 13.5 59.6 24.9 96.1 34.1s73 13.8 109.4 13.8c36.2 0 71.4-3.7 105.5-10.9 34.2-7.3 63-15.9 86.5-25.9 23.4-9.9 45-21 64.8-33 19.8-12 34.4-22.2 43.9-30.3 9.5-8.2 16.3-14.6 20.2-19.4 4.6-5.7 6.9-10.6 6.9-14.9.1-4.5-1.7-7.1-5-7.9zM527.4 348.1c-15.2 1.3-33.5 4.1-55 8.3-21.5 4.1-41.4 9.3-59.8 15.4s-37.2 14.6-56.3 25.4c-19.2 10.8-35.5 23.2-49 37s-24.5 31.1-33.1 52c-8.6 20.8-12.9 43.7-12.9 68.7 0 27.1 4.7 51.2 14.3 72.5 9.5 21.3 22.2 38 38.2 50.4 15.9 12.4 34 22.1 54 29.2 20 7.1 41.2 10.3 63.2 9.4 22-.9 43.5-4.3 64.4-10.3 20.8-5.9 40.4-15.4 58.6-28.3 18.2-12.9 33.1-28.2 44.8-45.7 4.3 6.6 8.1 11.5 11.5 14.7l8.7 8.9c5.8 5.9 14.7 14.6 26.7 26.1 11.9 11.5 24.1 22.7 36.3 33.7l104.4-99.9-6-4.9c-4.3-3.3-9.4-8-15.2-14.3-5.8-6.2-11.6-13.1-17.2-20.5-5.7-7.4-10.6-16.1-14.7-25.9-4.1-9.8-6.2-19.3-6.2-28.5V258.7c0-10.1-1.9-21-5.7-32.8-3.9-11.7-10.7-24.5-20.7-38.3-10-13.8-22.4-26.2-37.2-37-14.9-10.8-34.7-20-59.6-27.4-24.8-7.4-52.6-11.1-83.2-11.1-31.3 0-60.4 3.7-87.6 10.9-27.1 7.3-50.3 17-69.7 29.2-19.3 12.2-35.9 26.3-49.7 42.4-13.8 16.1-24.1 32.9-30.8 50.4-6.7 17.5-10.1 35.2-10.1 53.1L408 310c5.5-16.4 12.9-30.6 22-42.8 9.2-12.2 17.9-21 25.8-26.5 8-5.5 16.6-9.9 25.7-13.2 9.2-3.3 15.4-5 18.6-5.4 3.2-.3 5.7-.4 7.6-.4 26.7 0 45.2 7.9 55.6 23.6 6.5 9.5 9.7 23.9 9.7 43.3v56.6c-15.2.6-30.4 1.6-45.6 2.9zM573.1 500c0 16.6-2.2 31.7-6.5 45-9.2 29.1-26.7 47.4-52.4 54.8-22.4 6.6-43.7 3.3-63.9-9.8-21.5-14-32.2-33.8-32.2-59.3 0-19.9 5-36.9 15-51.1 10-14.1 23.3-24.7 40-31.7s33-12 49-14.9c15.9-3 33-4.8 51-5.4V500zm335.2 218.9c-4.3-5.4-15.9-8.9-34.9-10.7-19-1.8-35.5-1.7-49.7.4-15.3 1.8-31.1 6.2-47.3 13.4-16.3 7.1-23.4 13.1-21.6 17.8l.7 1.3.9.7 1.4.2h4.6c.8 0 1.8-.1 3.2-.2 1.4-.1 2.7-.3 3.9-.4 1.2-.1 2.9-.3 5.1-.4 2.1-.1 4.1-.4 6-.7.3 0 3.7-.3 10.3-.9 6.6-.6 11.4-1 14.3-1.3 2.9-.3 7.8-.6 14.5-.9 6.7-.3 12.1-.3 16.1 0 4 .3 8.5.7 13.6 1.1 5.1.4 9.2 1.3 12.4 2.7 3.2 1.3 5.6 3 7.1 5.1 5.2 6.6 4.2 21.2-3 43.9s-14 40.8-20.4 54.2c-2.8 5.7-2.8 9.2 0 10.7s6.7.1 11.9-4c15.6-12.2 28.6-30.6 39.1-55.3 6.1-14.6 10.5-29.8 13.1-45.7 2.4-15.9 2-26.2-1.3-31z"}}]},name:"amazon",theme:"outlined"},W=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:j}))}),Y={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-32zM547.8 326.7c-7.2-10.9-20.1-16.4-38.7-16.4-1.3 0-3 .1-5.3.3-2.2.2-6.6 1.5-12.9 3.7a79.4 79.4 0 00-17.9 9.1c-5.5 3.8-11.5 10-18 18.4-6.4 8.5-11.5 18.4-15.3 29.8l-94-8.4c0-12.4 2.4-24.7 7-36.9s11.8-23.9 21.4-35c9.6-11.2 21.1-21 34.5-29.4 13.4-8.5 29.6-15.2 48.4-20.3 18.9-5.1 39.1-7.6 60.9-7.6 21.3 0 40.6 2.6 57.8 7.7 17.2 5.2 31.1 11.5 41.4 19.1a117 117 0 0125.9 25.7c6.9 9.6 11.7 18.5 14.4 26.7 2.7 8.2 4 15.7 4 22.8v182.5c0 6.4 1.4 13 4.3 19.8 2.9 6.8 6.3 12.8 10.2 18 3.9 5.2 7.9 9.9 12 14.3 4.1 4.3 7.6 7.7 10.6 9.9l4.1 3.4-72.5 69.4c-8.5-7.7-16.9-15.4-25.2-23.4-8.3-8-14.5-14-18.5-18.1l-6.1-6.2c-2.4-2.3-5-5.7-8-10.2-8.1 12.2-18.5 22.8-31.1 31.8-12.7 9-26.3 15.6-40.7 19.7-14.5 4.1-29.4 6.5-44.7 7.1-15.3.6-30-1.5-43.9-6.5-13.9-5-26.5-11.7-37.6-20.3-11.1-8.6-19.9-20.2-26.5-35-6.6-14.8-9.9-31.5-9.9-50.4 0-17.4 3-33.3 8.9-47.7 6-14.5 13.6-26.5 23-36.1 9.4-9.6 20.7-18.2 34-25.7s26.4-13.4 39.2-17.7c12.8-4.2 26.6-7.8 41.5-10.7 14.9-2.9 27.6-4.8 38.2-5.7 10.6-.9 21.2-1.6 31.8-2v-39.4c0-13.5-2.3-23.5-6.7-30.1zm180.5 379.6c-2.8 3.3-7.5 7.8-14.1 13.5s-16.8 12.7-30.5 21.1c-13.7 8.4-28.8 16-45 22.9-16.3 6.9-36.3 12.9-60.1 18-23.7 5.1-48.2 7.6-73.3 7.6-25.4 0-50.7-3.2-76.1-9.6-25.4-6.4-47.6-14.3-66.8-23.7-19.1-9.4-37.6-20.2-55.1-32.2-17.6-12.1-31.7-22.9-42.4-32.5-10.6-9.6-19.6-18.7-26.8-27.1-1.7-1.9-2.8-3.6-3.2-5.1-.4-1.5-.3-2.8.3-3.7.6-.9 1.5-1.6 2.6-2.2a7.42 7.42 0 017.4.8c40.9 24.2 72.9 41.3 95.9 51.4 82.9 36.4 168 45.7 255.3 27.9 40.5-8.3 82.1-22.2 124.9-41.8 3.2-1.2 6-1.5 8.3-.9 2.3.6 3.5 2.4 3.5 5.4 0 2.8-1.6 6.3-4.8 10.2zm59.9-29c-1.8 11.1-4.9 21.6-9.1 31.8-7.2 17.1-16.3 30-27.1 38.4-3.6 2.9-6.4 3.8-8.3 2.8-1.9-1-1.9-3.5 0-7.4 4.5-9.3 9.2-21.8 14.2-37.7 5-15.8 5.7-26 2.1-30.5-1.1-1.5-2.7-2.6-5-3.6-2.2-.9-5.1-1.5-8.6-1.9s-6.7-.6-9.4-.8c-2.8-.2-6.5-.2-11.2 0-4.7.2-8 .4-10.1.6a874.4 874.4 0 01-17.1 1.5c-1.3.2-2.7.4-4.1.5-1.5.1-2.7.2-3.5.3l-2.7.3c-1 .1-1.7.2-2.2.2h-3.2l-1-.2-.6-.5-.5-.9c-1.3-3.3 3.7-7.4 15-12.4s22.3-8.1 32.9-9.3c9.8-1.5 21.3-1.5 34.5-.3s21.3 3.7 24.3 7.4c2.3 3.5 2.5 10.7.7 21.7zM485 467.5c-11.6 4.9-20.9 12.2-27.8 22-6.9 9.8-10.4 21.6-10.4 35.5 0 17.8 7.5 31.5 22.4 41.2 14.1 9.1 28.9 11.4 44.4 6.8 17.9-5.2 30-17.9 36.4-38.1 3-9.3 4.5-19.7 4.5-31.3v-50.2c-12.6.4-24.4 1.6-35.5 3.7-11.1 2.1-22.4 5.6-34 10.4z"}}]},name:"amazon-square",theme:"filled"},_=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Y}))}),K={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M270.1 741.7c0 23.4 19.1 42.5 42.6 42.5h48.7v120.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V784.1h85v120.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V784.1h48.7c23.5 0 42.6-19.1 42.6-42.5V346.4h-486v395.3zm357.1-600.1l44.9-65c2.6-3.8 2-8.9-1.5-11.4-3.5-2.4-8.5-1.2-11.1 2.6l-46.6 67.6c-30.7-12.1-64.9-18.8-100.8-18.8-35.9 0-70.1 6.7-100.8 18.8l-46.6-67.5c-2.6-3.8-7.6-5.1-11.1-2.6-3.5 2.4-4.1 7.4-1.5 11.4l44.9 65c-71.4 33.2-121.4 96.1-127.8 169.6h486c-6.6-73.6-56.7-136.5-128-169.7zM409.5 244.1a26.9 26.9 0 1126.9-26.9 26.97 26.97 0 01-26.9 26.9zm208.4 0a26.9 26.9 0 1126.9-26.9 26.97 26.97 0 01-26.9 26.9zm223.4 100.7c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V400.1c.1-30.6-24.3-55.3-54.6-55.3zm-658.6 0c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V400.1c0-30.6-24.5-55.3-54.6-55.3z"}}]},name:"android",theme:"filled"},X=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:K}))}),U={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M448.3 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32-13.4 32-31.9.1-18.4-13.4-31.9-32-31.9zm393.9 96.4c-13.8-13.8-32.7-21.5-53.2-21.5-3.9 0-7.4.4-10.7 1v-1h-3.6c-5.5-30.6-18.6-60.5-38.1-87.4-18.7-25.7-43-47.9-70.8-64.9l25.1-35.8v-3.3c0-.8.4-2.3.7-3.8.6-2.4 1.4-5.5 1.4-8.9 0-18.5-13.5-31.9-32-31.9-9.8 0-19.5 5.7-25.9 15.4l-29.3 42.1c-30-9.8-62.4-15-93.8-15-31.3 0-63.7 5.2-93.8 15L389 79.4c-6.6-9.6-16.1-15.4-26-15.4-18.6 0-32 13.4-32 31.9 0 6.2 2.5 12.8 6.7 17.4l22.6 32.3c-28.7 17-53.5 39.4-72.2 65.1-19.4 26.9-32 56.8-36.7 87.4h-5.5v1c-3.2-.6-6.7-1-10.7-1-20.3 0-39.2 7.5-53.1 21.3-13.8 13.8-21.5 32.6-21.5 53v235c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 3.9 0 7.4-.4 10.7-1v93.5c0 29.2 23.9 53.1 53.2 53.1H331v58.3c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-58.2H544v58.1c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.4 0 39.2-7.5 53.1-21.6 13.8-13.8 21.5-32.6 21.5-53v-58.2h31.9c29.3 0 53.2-23.8 53.2-53.1v-91.4c3.2.6 6.7 1 10.7 1 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-235c-.1-20.3-7.6-39-21.4-52.9zM246 609.6c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zm131.1-396.8c37.5-27.3 85.3-42.3 135-42.3s97.5 15.1 135 42.5c32.4 23.7 54.2 54.2 62.7 87.5H314.4c8.5-33.4 30.5-64 62.7-87.7zm39.3 674.7c-.6 5.6-4.4 8.7-10.5 8.7-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1zm202.3 8.7c-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1c-.6 5.6-4.3 8.7-10.5 8.7zm95.8-132.6H309.9V364h404.6v399.6zm85.2-154c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zM576.1 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32.1-13.4 32.1-32-.1-18.6-13.4-31.8-32.1-31.8z"}}]},name:"android",theme:"outlined"},G=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:U}))}),Q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M378.9 738c-3.1 0-6.1-.5-8.8-1.5l4.4 30.7h26.3l-15.5-29.9c-2.1.5-4.2.7-6.4.7zm421-291.2c-12.6 0-24.8 1.5-36.5 4.2-21.4-38.4-62.3-64.3-109.3-64.3-6.9 0-13.6.6-20.2 1.6-35.4-77.4-113.4-131.1-203.9-131.1-112.3 0-205.3 82.6-221.6 190.4C127.3 455.5 64 523.8 64 607c0 88.4 71.6 160.1 160 160.2h50l13.2-27.6c-26.2-8.3-43.3-29-39.1-48.8 4.6-21.6 32.8-33.9 63.1-27.5 22.9 4.9 40.4 19.1 45.5 35.1a26.1 26.1 0 0122.1-12.4h.2c-.8-3.2-1.2-6.5-1.2-9.9 0-20.1 14.8-36.7 34.1-39.6v-25.4c0-4.4 3.6-8 8-8s8 3.6 8 8v26.3c4.6 1.2 8.8 3.2 12.6 5.8l19.5-21.4c3-3.3 8-3.5 11.3-.5 3.3 3 3.5 8 .5 11.3l-20 22-.2.2a40 40 0 01-46.9 59.2c-.4 5.6-2.6 10.7-6 14.8l20 38.4H804v-.1c86.5-2.2 156-73 156-160.1 0-88.5-71.7-160.2-160.1-160.2zM338.2 737.2l-4.3 30h24.4l-5.9-41.5c-3.5 4.6-8.3 8.5-14.2 11.5zM797.5 305a48 48 0 1096 0 48 48 0 10-96 0zm-65.7 61.3a24 24 0 1048 0 24 24 0 10-48 0zM303.4 742.9l-11.6 24.3h26l3.5-24.7c-5.7.8-11.7 1-17.9.4z"}}]},name:"ant-cloud",theme:"outlined"},J=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Q}))}),ee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M716.3 313.8c19-18.9 19-49.7 0-68.6l-69.9-69.9.1.1c-18.5-18.5-50.3-50.3-95.3-95.2-21.2-20.7-55.5-20.5-76.5.5L80.9 474.2a53.84 53.84 0 000 76.4L474.6 944a54.14 54.14 0 0076.5 0l165.1-165c19-18.9 19-49.7 0-68.6a48.7 48.7 0 00-68.7 0l-125 125.2c-5.2 5.2-13.3 5.2-18.5 0L189.5 521.4c-5.2-5.2-5.2-13.3 0-18.5l314.4-314.2c.4-.4.9-.7 1.3-1.1 5.2-4.1 12.4-3.7 17.2 1.1l125.2 125.1c19 19 49.8 19 68.7 0zM408.6 514.4a106.3 106.2 0 10212.6 0 106.3 106.2 0 10-212.6 0zm536.2-38.6L821.9 353.5c-19-18.9-49.8-18.9-68.7.1a48.4 48.4 0 000 68.6l83 82.9c5.2 5.2 5.2 13.3 0 18.5l-81.8 81.7a48.4 48.4 0 000 68.6 48.7 48.7 0 0068.7 0l121.8-121.7a53.93 53.93 0 00-.1-76.4z"}}]},name:"ant-design",theme:"outlined"},et=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ee}))}),ec={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908 640H804V488c0-4.4-3.6-8-8-8H548v-96h108c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16H368c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h108v96H228c-4.4 0-8 3.6-8 8v152H116c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16H292v-88h440v88H620c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16zm-564 76v168H176V716h168zm84-408V140h168v168H428zm420 576H680V716h168v168z"}}]},name:"apartment",theme:"outlined"},en=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ec}))}),er={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM578.9 546.7a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 68.9-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2z"}}]},name:"api",theme:"filled"},ea=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:er}))}),el={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z"}}]},name:"api",theme:"outlined"},eo=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:el}))}),ei={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M148.2 674.6zm106.7-92.3c-25 25-38.7 58.1-38.7 93.4s13.8 68.5 38.7 93.4c25 25 58.1 38.7 93.4 38.7 35.3 0 68.5-13.8 93.4-38.7l59.4-59.4-186.8-186.8-59.4 59.4zm420.8-366.1c-35.3 0-68.5 13.8-93.4 38.7l-59.4 59.4 186.8 186.8 59.4-59.4c24.9-25 38.7-58.1 38.7-93.4s-13.8-68.5-38.7-93.4c-25-25-58.1-38.7-93.4-38.7z",fill:t}},{tag:"path",attrs:{d:"M578.9 546.7a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2a199.45 199.45 0 00-58.6 140.4c-.2 39.5 11.2 79.1 34.3 113.1l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7-24.9-24.9-38.7-58.1-38.7-93.4s13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4zm476-620.3l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7s68.4 13.7 93.4 38.7c24.9 24.9 38.7 58.1 38.7 93.4s-13.8 68.4-38.7 93.4z",fill:e}}]}},name:"api",theme:"twotone"},eu=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ei}))}),es={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"}}]},name:"apple",theme:"filled"},ef=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:es}))}),eh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-10.6 267c-14.3 19.9-28.7 35.6-41.9 45.7-10.5 8-18.6 11.4-24 11.6-9-.1-17.7-2.3-34.7-8.8-1.2-.5-2.5-1-4.2-1.6l-4.4-1.7c-17.4-6.7-27.8-10.3-41.1-13.8-18.6-4.8-37.1-7.4-56.9-7.4-20.2 0-39.2 2.5-58.1 7.2-13.9 3.5-25.6 7.4-42.7 13.8-.7.3-8.1 3.1-10.2 3.9-3.5 1.3-6.2 2.3-8.7 3.2-10.4 3.6-17 5.1-22.9 5.2-.7 0-1.3-.1-1.8-.2-1.1-.2-2.5-.6-4.1-1.3-4.5-1.8-9.9-5.1-16-9.8-14-10.9-29.4-28-45.1-49.9-27.5-38.6-53.5-89.8-66-125.7-15.4-44.8-23-87.7-23-128.6 0-60.2 17.8-106 48.4-137.1 26.3-26.6 61.7-41.5 97.8-42.3 5.9.1 14.5 1.5 25.4 4.5 8.6 2.3 18 5.4 30.7 9.9 3.8 1.4 16.9 6.1 18.5 6.7 7.7 2.8 13.5 4.8 19.2 6.6 18.2 5.8 32.3 9 47.6 9 15.5 0 28.8-3.3 47.7-9.8 7.1-2.4 32.9-12 37.5-13.6 25.6-9.1 44.5-14 60.8-15.2 4.8-.4 9.1-.4 13.2-.1 22.7 1.8 42.1 6.3 58.6 13.8-37.6 43.4-57 96.5-56.9 158.4-.3 14.7.9 31.7 5.1 51.8 6.4 30.5 18.6 60.7 37.9 89 14.7 21.5 32.9 40.9 54.7 57.8-11.5 23.7-25.6 48.2-40.4 68.8zm-94.5-572c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"}}]},name:"apple",theme:"outlined"},ed=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:eh}))}),ev=c(56466),em=c(96991),eg=c(41156),ep={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm52-668H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z",fill:e}},{tag:"path",attrs:{d:"M212 212h200v200H212zm400 0h200v200H612zM212 612h200v200H212zm400 0h200v200H612z",fill:t}}]}},name:"appstore",theme:"twotone"},ez=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ep}))}),ew={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-616-64h536c4.4 0 8-3.6 8-8V284c0-7.2-8.7-10.7-13.7-5.7L592 488.6l-125.4-124a8.03 8.03 0 00-11.3 0l-189 189.6a7.87 7.87 0 00-2.3 5.6V720c0 4.4 3.6 8 8 8z"}}]},name:"area-chart",theme:"outlined"},eM=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ew}))}),eZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},eH=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:eZ}))}),eb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},eV=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:eb}))}),eC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"},ex=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:eC}))}),eE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 545.5L536.1 163a31.96 31.96 0 00-48.3 0L156 545.5a7.97 7.97 0 006 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z"}}]},name:"arrow-up",theme:"outlined"},eL=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:eE}))}),ey={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"}}]},name:"arrows-alt",theme:"outlined"},eR=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ey}))}),eB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm330-170c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1z"}}]},name:"audio",theme:"filled"},eS=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:eB}))}),eO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M682 455V311l-76 76v68c-.1 50.7-42 92.1-94 92a95.8 95.8 0 01-52-15l-54 55c29.1 22.4 65.9 36 106 36 93.8 0 170-75.1 170-168z"}},{tag:"path",attrs:{d:"M833 446h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254-63 0-120.7-23-165-61l-54 54a334.01 334.01 0 00179 81v102H326c-13.9 0-24.9 14.3-25 32v36c.1 4.4 2.9 8 6 8h408c3.2 0 6-3.6 6-8v-36c0-17.7-11-32-25-32H547V782c165.3-17.9 294-157.9 294-328 0-4.4-3.6-8-8-8zm13.1-377.7l-43.5-41.9a8 8 0 00-11.2.1l-129 129C634.3 101.2 577 64 511 64c-93.9 0-170 75.3-170 168v224c0 6.7.4 13.3 1.2 19.8l-68 68A252.33 252.33 0 01258 454c-.2-4.4-3.8-8-8-8h-60c-4.4 0-8 3.6-8 8 0 53 12.5 103 34.6 147.4l-137 137a8.03 8.03 0 000 11.3l42.7 42.7c3.1 3.1 8.2 3.1 11.3 0L846.2 79.8l.1-.1c3.1-3.2 3-8.3-.2-11.4zM417 401V232c0-50.6 41.9-92 94-92 46 0 84.1 32.3 92.3 74.7L417 401z"}}]},name:"audio-muted",theme:"outlined"},ek=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:eO}))}),eT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1zM512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-94-392c0-50.6 41.9-92 94-92s94 41.4 94 92v224c0 50.6-41.9 92-94 92s-94-41.4-94-92V232z"}}]},name:"audio",theme:"outlined"},e$=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:eT}))}),eF={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 552c54.3 0 98-43.2 98-96V232c0-52.8-43.7-96-98-96s-98 43.2-98 96v224c0 52.8 43.7 96 98 96z",fill:t}},{tag:"path",attrs:{d:"M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1z",fill:e}},{tag:"path",attrs:{d:"M512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-98-392c0-52.8 43.7-96 98-96s98 43.2 98 96v224c0 52.8-43.7 96-98 96s-98-43.2-98-96V232z",fill:e}}]}},name:"audio",theme:"twotone"},eA=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:eF}))}),eI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M296 250c-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-8H296zm184 144H296c-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-8zm-48 458H208V148h560v320c0 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 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm440-88H728v-36.6c46.3-13.8 80-56.6 80-107.4 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 50.7 33.7 93.6 80 107.4V764H520c-8.8 0-16 7.2-16 16v152c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16V780c0-8.8-7.2-16-16-16zM646 620c0-27.6 22.4-50 50-50s50 22.4 50 50-22.4 50-50 50-50-22.4-50-50zm180 266H566v-60h260v60z"}}]},name:"audit",theme:"outlined"},eP=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:eI}))}),eD={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M485.6 249.9L198.2 498c-8.3 7.1-8.3 20.8 0 27.9l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9zm320 0L518.2 498a18.6 18.6 0 00-6.2 14c0 5.2 2.1 10.4 6.2 14l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9z"}}]},name:"backward",theme:"filled"},eN=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:eD}))}),eq={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M485.6 249.9L198.2 498c-8.3 7.1-8.3 20.8 0 27.9l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9zm320 0L518.2 498a18.6 18.6 0 00-6.2 14c0 5.2 2.1 10.4 6.2 14l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9z"}}]},name:"backward",theme:"outlined"},ej=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:eq}))}),eW={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M250.02 547.04c92.37-19.8 79.77-130.07 76.95-154.18-4.56-37.2-48.26-102.16-107.63-97.02-74.7 6.7-85.65 114.58-85.65 114.58-10.04 49.88 24.2 156.43 116.33 136.62m84.7 214.14c10.28 38.7 43.95 40.43 43.95 40.43H427V683.55h-51.74c-23.22 6.96-34.5 25.1-36.98 32.8-2.74 7.8-8.71 27.6-3.57 44.83m169.07-531.1c0-72.42-41.13-131.08-92.2-131.08-50.92 0-92.21 58.66-92.21 131.07 0 72.5 41.3 131.16 92.2 131.16 51.08 0 92.21-58.66 92.21-131.16m248.1 9.1c8.86-54.92-35.08-118.88-83.34-129.82-48.34-11.1-108.7 66.28-114.18 116.74-6.55 61.72 8.79 123.28 76.86 132.06 68.16 8.87 112.03-63.87 120.65-118.97m46.35 433.02s-105.47-81.53-167-169.6c-83.4-129.91-201.98-77.05-241.62-11.02-39.47 66.03-101 107.87-109.7 118.9-8.87 10.93-127.36 74.8-101.07 191.55 26.28 116.65 118.73 114.5 118.73 114.5s68.08 6.7 147.1-10.94C523.7 888.03 591.7 910 591.7 910s184.57 61.72 235.07-57.18c50.41-118.97-28.53-180.61-28.53-180.61M362.42 849.17c-51.83-10.36-72.47-45.65-75.13-51.7-2.57-6.13-17.24-34.55-9.45-82.85 22.39-72.41 86.23-77.63 86.23-77.63h63.85v-78.46l54.4.82.08 289.82zm205.38-.83c-53.56-13.75-56.05-51.78-56.05-51.78V643.95l56.05-.92v137.12c3.4 14.59 21.65 17.32 21.65 17.32h56.88V643.95h59.62v204.39zm323.84-397.72c0-26.35-21.89-105.72-103.15-105.72-81.43 0-92.29 74.9-92.29 127.84 0 50.54 4.31 121.13 105.4 118.8 101.15-2.15 90.04-114.41 90.04-140.92"}}]},name:"baidu",theme:"outlined"},eY=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:eW}))}),e_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM381 836H264V462h117v374zm189 0H453V462h117v374zm190 0H642V462h118v374z"}}]},name:"bank",theme:"filled"},eK=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:e_}))}),eX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM512 196.7l271.1 197.2H240.9L512 196.7zM264 462h117v374H264V462zm189 0h117v374H453V462zm307 374H642V462h118v374z"}}]},name:"bank",theme:"outlined"},eU=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:eX}))}),eG={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M240.9 393.9h542.2L512 196.7z",fill:t}},{tag:"path",attrs:{d:"M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM381 836H264V462h117v374zm189 0H453V462h117v374zm190 0H642V462h118v374zM240.9 393.9L512 196.7l271.1 197.2H240.9z",fill:e}}]}},name:"bank",theme:"twotone"},eQ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:eG}))}),eJ=c(61086),e1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M120 160H72c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zm833 0h-48c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zM200 736h112c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8H200c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm321 0h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm126 0h178c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8H647c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm-255 0h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm-79 64H201c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm257 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm256 0H648c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h178c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-385 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"barcode",theme:"outlined"},e4=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:e1}))}),e2=c(3843),e3=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:e2.Z}))}),e8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M420.3 470.3c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 00-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1a50.5 50.5 0 0017.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm86.5 286.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 01-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 01-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 01-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0138.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 00-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7z"}}]},name:"behance-circle",theme:"filled"},e6=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:e8}))}),e0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M634 294.3h199.5v48.4H634zM434.1 485.8c44.1-21.1 67.2-53.2 67.2-102.8 0-98.1-73-121.9-157.3-121.9H112v492.4h238.5c89.4 0 173.3-43 173.3-143 0-61.8-29.2-107.5-89.7-124.7zM220.2 345.1h101.5c39.1 0 74.2 10.9 74.2 56.3 0 41.8-27.3 58.6-66 58.6H220.2V345.1zm115.5 324.8H220.1V534.3H338c47.6 0 77.7 19.9 77.7 70.3 0 49.6-35.9 65.3-80 65.3zm575.8-89.5c0-105.5-61.7-193.4-173.3-193.4-108.5 0-182.3 81.7-182.3 188.8 0 111 69.9 187.2 182.3 187.2 85.1 0 140.2-38.3 166.7-120h-86.3c-9.4 30.5-47.6 46.5-77.3 46.5-57.4 0-87.4-33.6-87.4-90.7h256.9c.3-5.9.7-12.1.7-18.4zM653.9 537c3.1-46.9 34.4-76.2 81.2-76.2 49.2 0 73.8 28.9 78.1 76.2H653.9z"}}]},name:"behance",theme:"outlined"},e5=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:e0}))}),e7={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-32zM598.5 350.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 01-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 01-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 01-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0138.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 00-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7zm-248.5-10.1c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 00-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1s12.7-3.8 17.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8z"}}]},name:"behance-square",theme:"filled"},e9=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:e7}))}),te={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-32zM598.5 350.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 01-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 01-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 01-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0138.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 00-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7zm-248.5-10.1c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 00-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1s12.7-3.8 17.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8z"}}]},name:"behance-square",theme:"outlined"},tt=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:te}))}),tc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.8-240-277.2V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.8C336.3 170.2 232 286.9 232 428v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48z"}}]},name:"bell",theme:"filled"},tn=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tc}))}),tr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"},ta=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tr}))}),tl={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 220c-55.6 0-107.8 21.6-147.1 60.9S304 372.4 304 428v340h416V428c0-55.6-21.6-107.8-60.9-147.1S567.6 220 512 220zm280 208c0-141.1-104.3-257.8-240-277.2v.1c135.7 19.4 240 136 240 277.1zM472 150.9v-.1C336.3 170.2 232 286.9 232 428c0-141.1 104.3-257.7 240-277.1z",fill:t}},{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zm208-120H304V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340z",fill:e}}]}},name:"bell",theme:"twotone"},to=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tl}))}),ti={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M766.4 744.3c43.7 0 79.4-36.2 79.4-80.5 0-53.5-79.4-140.8-79.4-140.8S687 610.3 687 663.8c0 44.3 35.7 80.5 79.4 80.5zm-377.1-44.1c7.1 7.1 18.6 7.1 25.6 0l256.1-256c7.1-7.1 7.1-18.6 0-25.6l-256-256c-.6-.6-1.3-1.2-2-1.7l-78.2-78.2a9.11 9.11 0 00-12.8 0l-48 48a9.11 9.11 0 000 12.8l67.2 67.2-207.8 207.9c-7.1 7.1-7.1 18.6 0 25.6l255.9 256zm12.9-448.6l178.9 178.9H223.4l178.8-178.9zM904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8z"}}]},name:"bg-colors",theme:"outlined"},tu=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ti}))}),ts={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M310.13 596.45c-8-4.46-16.5-8.43-25-11.9a273.55 273.55 0 00-26.99-7.44c-2.5-.99-2.5 1-2.5 1.49 0 7.93.5 18.84 1.5 27.77 1 7.44 2 15.37 4 22.8 0 .5 0 1 .5 1.5 1 .99 2 1.48 3 .49 8-4.46 16-8.43 23-13.39 7.5-5.45 15.5-11.9 22-18.35 1.5-1.48 0-2.47.5-2.97m323.95-11.9a273.55 273.55 0 00-27-7.44c-2.5-.99-2.5 1-2.5 1.49 0 7.93.5 18.84 1.5 27.77 1 7.43 2 15.37 4 22.8 0 .5 0 1 .5 1.5 1 .99 2 1.48 3 .49 8-4.46 16-8.43 23-13.39 7.5-5.45 15.5-11.9 22-18.35 2-1.48.5-2.47.5-2.97-7.5-4.46-16.5-8.43-25-11.9"}},{tag:"path",attrs:{d:"M741.5 112H283c-94.5 0-171 76.5-171 171.5v458c.5 94 77 170.5 171 170.5h458c94.5 0 171-76.5 171-170.5v-458c.5-95-76-171.5-170.5-171.5m95 343.5H852v48h-15.5zM741 454l2 43-13.5 1.5-5-44.5zm-23.5 0l4 45.5L707 501l-6.5-47.5h17zM487 455.5h15v48h-15zm-96-1.5l2 43-13.5 1.5-5-44.5zm-23.5 0l4 45.5-14.5 2-6-47.5zM364 603c-20.5 65.5-148 59.5-159.5 57.5-9-161.5-23-196.5-34.5-275.5l54.5-22.5c1 71.5 9 185 9 185s108.5-15.5 132 47c.5 3 0 6-1.5 8.5m20.5 35.5l-23.5-124h35.5l13 123zm44.5-8l-27-235 33.5-1.5 21 236H429zm34-175h17.5v48H467zm41 190h-26.5l-9.5-126h36zm210-43C693.5 668 566 662 554.5 660c-9-161-23-196-34.5-275l54.5-22.5c1 71.5 9 185 9 185S692 532 715.5 594c.5 3 0 6-1.5 8.5m19.5 36l-23-124H746l13 123zm45.5-8l-27.5-235L785 394l21 236h-27zm33.5-175H830v48h-13zm41 190H827l-9.5-126h36z"}}]},name:"bilibili",theme:"filled"},tf=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ts}))}),th={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M235.52 616.57c16.73-.74 32.28-1.77 47.69-2.07 66.8-1.18 132.4 6.81 194.76 32 30.5 12.3 59.98 26.52 86.5 46.51 21.76 16.45 26.5 36.9 16.58 67.11-6.22 18.67-18.66 32.74-34.36 45.04-37.03 28.88-75.83 54.96-120.41 69.62A595.87 595.87 0 01330 898.04c-42.8 6.67-86.2 9.63-129.45 13.63-8.88.89-17.92-.3-26.8-.3-4.6 0-5.78-2.37-5.93-6.37-1.18-19.7-2.07-39.55-3.85-59.25a2609.47 2609.47 0 00-7.7-76.3c-4-35.4-8.44-70.66-12.89-105.92-4.59-37.18-9.33-74.21-13.77-111.4-4.44-36.3-8.44-72.73-13.18-109.03-5.34-41.48-11.26-82.96-16.89-124.44-6.66-49.03-15.85-97.62-28.43-145.47-.6-2.07 1.18-6.67 2.96-7.26 41.91-16.89 83.98-33.33 125.89-50.07 13.92-5.63 15.1-7.26 15.25 10.37.15 75.1.45 150.21 1.63 225.32.6 39.11 2.08 78.22 4.74 117.18 3.26 47.55 8.3 95.1 12.6 142.66 0 2.07.88 4 1.33 5.19m83.68 218.06a74372.3 74372.3 0 00114.78-86.96c-4.74-6.82-109.3-47.85-133.89-53.33 6.22 46.37 12.59 92.59 19.1 140.29m434.13-14.39c-19.94-202.14-36.78-406.5-75.32-609.67 12.55-1.48 25.1-3.25 37.8-4.3 14.63-1.32 29.4-1.92 44.01-3.1 12.26-1.04 16.84 2.22 17.58 14.22 2.21 32.13 4.13 64.26 6.35 96.4 2.95 43.39 6.05 86.92 9.15 130.31 2.22 31.25 4.14 62.64 6.65 93.89 2.8 34.2 5.9 68.27 9 102.47 2.22 25.18 4.3 50.5 6.8 75.68 2.66 27.24 5.61 54.49 8.42 81.74.74 7.85 1.62 15.7 2.21 23.54.3 4.3-2.06 4.89-6.05 4.45-21.7-2.23-43.42-3.85-66.6-5.63M572 527.15c17.62-2.51 34.64-5.32 51.66-7.25 12.29-1.48 24.72-1.63 37.01-2.81 6.66-.6 10.95 1.77 11.99 8.29 2.81 17.32 5.77 34.79 7.85 52.26 3.4 29.02 6.07 58.18 9.17 87.2 2.67 25.46 5.33 50.78 8.3 76.24 3.25 27.24 6.8 54.33 10.2 81.42 1.04 8 1.78 16.14 2.82 24.88a9507.1 9507.1 0 00-74.76 9.62C614.93 747.15 593.61 638.19 572 527.15m382 338.83c-24.08 0-47.28.14-70.47-.3-1.93 0-5.35-3.4-5.5-5.48-3.57-37.05-6.69-73.96-9.96-111l-9.37-103.16c-3.27-35.42-6.39-70.84-9.66-106.26-.15-2.07-.6-4-1.04-7.11 8.62-1.04 16.8-2.67 25.12-2.67 22.45 0 44.9.6 67.5 1.19 5.8.14 8.32 4 8.62 9.33.75 11.12 1.79 22.08 1.79 33.2.14 52.17-.15 104.48.3 156.65.44 41.65 1.78 83.44 2.67 125.08zM622.07 480c-5.3-42.57-10.62-84.1-16.07-127.4 13.86-.16 27.71-.6 41.42-.6 4.57 0 6.64 2.51 7.08 7.54 3.69 38.72 7.52 77.45 11.5 117.65-14.3.74-29.04 1.78-43.93 2.81M901 364.07c11.94 0 24.62-.15 37.45 0 6.42.14 9.55 2.67 9.55 10.24-.45 36.22-.15 72.45-.15 108.53V491c-15.37-.74-30.14-1.49-46.7-2.23-.15-41.12-.15-82.4-.15-124.7M568.57 489c-7.43-41.2-15-82.1-22.57-124.02 13.51-2.07 27.02-4.29 40.39-5.9 5.94-.75 4.9 4.42 5.2 7.67 1.63 13.88 2.81 27.6 4.3 41.49 2.37 21.7 4.75 43.4 6.98 64.96.3 2.8 0 5.76 0 8.86-11.29 2.36-22.57 4.58-34.3 6.94M839 365.16c12.72 0 25.43.15 38-.15 5.69-.15 7.78 1.04 7.63 7.56-.44 17.36.15 34.7.3 52.2.15 21.51 0 43.17 0 64.52-12.86 1.34-24.09 2.37-36.2 3.71-3.15-41.97-6.44-83.8-9.73-127.84"}}]},name:"bilibili",theme:"outlined"},td=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:th}))}),tv={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M856 376H648V168c0-8.8-7.2-16-16-16H168c-8.8 0-16 7.2-16 16v464c0 8.8 7.2 16 16 16h208v208c0 8.8 7.2 16 16 16h464c8.8 0 16-7.2 16-16V392c0-8.8-7.2-16-16-16zm-480 16v188H220V220h360v156H392c-8.8 0-16 7.2-16 16zm204 52v136H444V444h136zm224 360H444V648h188c8.8 0 16-7.2 16-16V444h156v360z"}}]},name:"block",theme:"outlined"},tm=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tv}))}),tg={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M697.8 481.4c33.6-35 54.2-82.3 54.2-134.3v-10.2C752 229.3 663.9 142 555.3 142H259.4c-15.1 0-27.4 12.3-27.4 27.4v679.1c0 16.3 13.2 29.5 29.5 29.5h318.7c117 0 211.8-94.2 211.8-210.5v-11c0-73-37.4-137.3-94.2-175.1zM328 238h224.7c57.1 0 103.3 44.4 103.3 99.3v9.5c0 54.8-46.3 99.3-103.3 99.3H328V238zm366.6 429.4c0 62.9-51.7 113.9-115.5 113.9H328V542.7h251.1c63.8 0 115.5 51 115.5 113.9v10.8z"}}]},name:"bold",theme:"outlined"},tp=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tg}))}),tz={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-32zM668 345.9L621.5 312 572 347.4V124h96v221.9z"}}]},name:"book",theme:"filled"},tw=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tz}))}),tM=c(90389),tZ={icon:function(e,t){return{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.4V136zM232 888V136h280v296.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-16V136h64v752H232z",fill:e}},{tag:"path",attrs:{d:"M668 345.9V136h-96v211.4l49.5-35.4z",fill:t}},{tag:"path",attrs:{d:"M727.9 136v296.5c0 8.8-7.2 16-16 16-3.4 0-6.7-1.1-9.4-3.1L621.1 386l-83.8 59.9a15.9 15.9 0 01-22.3-3.7c-2-2.7-3-6-3-9.3V136H232v752h559.9V136h-64z",fill:t}}]}},name:"book",theme:"twotone"},tH=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tZ}))}),tb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 808H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-720-94h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-498h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-166h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm166 166h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm222-72h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388-404h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388 426h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388-404h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"}}]},name:"border-bottom",theme:"outlined"},tV=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tb}))}),tC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M540 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm664 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"border-horizontal",theme:"outlined"},tx=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tC}))}),tE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 476H548V144h-72v332H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v332h72V548h324c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-664h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM650 216h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-592h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-166 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-426h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 260h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"border-inner",theme:"outlined"},tL=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tE}))}),ty={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M208 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM540 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"border-left",theme:"outlined"},tR=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ty}))}),tB={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-32zm-40 728H184V184h656v656zM484 366h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM302 548h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm364 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-182 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 182h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"}}]},name:"border-outer",theme:"outlined"},tS=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tB}))}),tO={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-32zm-40 728H184V184h656v656z"}}]},name:"border",theme:"outlined"},tk=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tO}))}),tT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"border-right",theme:"outlined"},t$=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tT}))}),tF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 144H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332-498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"border-top",theme:"outlined"},tA=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tF}))}),tI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 476H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-664h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM650 216h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-592h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-166 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM208 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM152 382h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM208 642h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"border-verticle",theme:"outlined"},tP=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tI}))}),tD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M117 368h231v64H117zm559 0h241v64H676zm-264 0h200v64H412zm0 224h200v64H412zm264 0h241v64H676zm-559 0h231v64H117zm295-160V179h-64v666h64V592zm264-64V179h-64v666h64V432z"}}]},name:"borderless-table",theme:"outlined"},tN=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tD}))}),tq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H448v432h344c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-728 80v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h152V296H232c-4.4 0-8 3.6-8 8z"}}]},name:"box-plot",theme:"filled"},tj=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tq}))}),tW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H232c-4.4 0-8 3.6-8 8v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h560c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zM296 368h88v288h-88V368zm432 288H448V368h280v288z"}}]},name:"box-plot",theme:"outlined"},tY=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tW}))}),t_={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M296 368h88v288h-88zm152 0h280v288H448z",fill:t}},{tag:"path",attrs:{d:"M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H232c-4.4 0-8 3.6-8 8v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h560c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zM384 656h-88V368h88v288zm344 0H448V368h280v288z",fill:e}}]}},name:"box-plot",theme:"twotone"},tK=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:t_}))}),tX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0034.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm408-491a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"branches",theme:"outlined"},tU=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tX}))}),tG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M304 280h416c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1a184.31 184.31 0 00-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9a184.31 184.31 0 00-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8a63 63 0 01-63 63H232a63 63 0 01-63-63c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7a273 273 0 0022.7 49c24.3 41.5 59 76.2 100.5 100.5 28.9 16.9 61 28.8 95.3 34.5 4.4 0 8-3.6 8-8V484c0-4.4 3.6-8 8-8h60c4.4 0 8 3.6 8 8v464.2c0 4.4 3.6 8 8 8 34.3-5.7 66.4-17.6 95.3-34.5a281.38 281.38 0 00123.2-149.5A120.4 120.4 0 01836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"bug",theme:"filled"},tQ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tG}))}),tJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M304 280h56c4.4 0 8-3.6 8-8 0-28.3 5.9-53.2 17.1-73.5 10.6-19.4 26-34.8 45.4-45.4C450.9 142 475.7 136 504 136h16c28.3 0 53.2 5.9 73.5 17.1 19.4 10.6 34.8 26 45.4 45.4C650 218.9 656 243.7 656 272c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1a184.31 184.31 0 00-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9a184.31 184.31 0 00-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8a63 63 0 01-63 63H232a63 63 0 01-63-63c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7a273 273 0 0022.7 49c24.3 41.5 59 76.2 100.5 100.5S460.5 960 512 960s99.8-13.9 141.3-38.2a281.38 281.38 0 00123.2-149.5A120 120 0 01836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM716 680c0 36.8-9.7 72-27.8 102.9-17.7 30.3-43 55.6-73.3 73.3C584 874.3 548.8 884 512 884s-72-9.7-102.9-27.8c-30.3-17.7-55.6-43-73.3-73.3A202.75 202.75 0 01308 680V412h408v268z"}}]},name:"bug",theme:"outlined"},t1=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:tJ}))}),t4={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0073.3 73.3A202.68 202.68 0 00512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0073.3-73.3A202.68 202.68 0 00716 680V412H308zm484 172v96c0 6.5-.22 12.95-.66 19.35C859.94 728.64 908 796.7 908 876a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-44.24-23.94-82.89-59.57-103.7a278.63 278.63 0 01-22.66 49.02 281.39 281.39 0 01-100.45 100.45C611.84 946.07 563.55 960 512 960s-99.84-13.93-141.32-38.23a281.39 281.39 0 01-100.45-100.45 278.63 278.63 0 01-22.66-49.02A119.95 119.95 0 00188 876a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-79.3 48.07-147.36 116.66-176.65A284.12 284.12 0 01232 680v-96H84a8 8 0 01-8-8v-56a8 8 0 018-8h148V412c-76.77 0-139-62.23-139-139a8 8 0 018-8h60a8 8 0 018 8 63 63 0 0063 63h560a63 63 0 0063-63 8 8 0 018-8h60a8 8 0 018 8c0 76.77-62.23 139-139 139v100h148a8 8 0 018 8v56a8 8 0 01-8 8H792zM368 272a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-40.04 8.78-76.75 25.9-108.07a184.57 184.57 0 0174.03-74.03C427.25 72.78 463.96 64 504 64h16c40.04 0 76.75 8.78 108.07 25.9a184.57 184.57 0 0174.03 74.03C719.22 195.25 728 231.96 728 272a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-28.33-5.94-53.15-17.08-73.53a112.56 112.56 0 00-45.39-45.4C573.15 141.95 548.33 136 520 136h-16c-28.33 0-53.15 5.94-73.53 17.08a112.56 112.56 0 00-45.4 45.39C373.95 218.85 368 243.67 368 272z",fill:e}},{tag:"path",attrs:{d:"M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0073.3 73.3A202.68 202.68 0 00512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0073.3-73.3A202.68 202.68 0 00716 680V412H308z",fill:t}}]}},name:"bug",theme:"twotone"},t2=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:t4}))}),t3={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-32zM612 746H412V546h200v200zm268-268H680V278h200v200z"}}]},name:"build",theme:"filled"},t8=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:t3}))}),t6=c(50067),t0={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M144 546h200v200H144zm268-268h200v200H412z",fill:t}},{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-32zM344 746H144V546h200v200zm268 0H412V546h200v200zm0-268H412V278h200v200zm268 0H680V278h200v200z",fill:e}}]}},name:"build",theme:"twotone"},t5=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:t0}))}),t7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M348 676.1C250 619.4 184 513.4 184 392c0-181.1 146.9-328 328-328s328 146.9 328 328c0 121.4-66 227.4-164 284.1V792c0 17.7-14.3 32-32 32H380c-17.7 0-32-14.3-32-32V676.1zM392 888h240c4.4 0 8 3.6 8 8v32c0 17.7-14.3 32-32 32H416c-17.7 0-32-14.3-32-32v-32c0-4.4 3.6-8 8-8z"}}]},name:"bulb",theme:"filled"},t9=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:t7}))}),ce=c(64576),ct={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 136c-141.4 0-256 114.6-256 256 0 92.5 49.4 176.3 128.1 221.8l35.9 20.8V752h184V634.6l35.9-20.8C718.6 568.3 768 484.5 768 392c0-141.4-114.6-256-256-256z",fill:t}},{tag:"path",attrs:{d:"M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z",fill:e}}]}},name:"bulb",theme:"twotone"},cc=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ct}))}),cn={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-32zM440.2 765h-50.8c-2.2 0-4.5-1.1-5.9-2.9L348 718.6l-35.5 43.5a7.38 7.38 0 01-5.9 2.9h-50.8c-6.6 0-10.2-7.9-5.8-13.1l62.7-76.8-61.2-74.9c-4.3-5.2-.7-13.1 5.9-13.1h50.9c2.2 0 4.5 1.1 5.9 2.9l34 41.6 34-41.6c1.5-1.9 3.6-2.9 5.9-2.9h50.8c6.6 0 10.2 7.9 5.9 13.1L383.5 675l62.7 76.8c4.2 5.3.6 13.2-6 13.2zm7.8-382c0 2.2-1.4 4-3.2 4H376v68.7c0 1.9-1.8 3.3-4 3.3h-48c-2.2 0-4-1.4-4-3.2V387h-68.8c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4H320v-68.8c0-1.8 1.8-3.2 4-3.2h48c2.2 0 4 1.4 4 3.2V331h68.7c1.9 0 3.3 1.8 3.3 4v48zm328 369c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-104c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-265c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48z"}}]},name:"calculator",theme:"filled"},cr=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cn}))}),ca={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M251.2 387H320v68.8c0 1.8 1.8 3.2 4 3.2h48c2.2 0 4-1.4 4-3.3V387h68.8c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H376v-68.8c0-1.8-1.8-3.2-4-3.2h-48c-2.2 0-4 1.4-4 3.2V331h-68.8c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm328 0h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0 265h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0 104h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm-195.7-81l61.2-74.9c4.3-5.2.7-13.1-5.9-13.1H388c-2.3 0-4.5 1-5.9 2.9l-34 41.6-34-41.6a7.85 7.85 0 00-5.9-2.9h-50.9c-6.6 0-10.2 7.9-5.9 13.1l61.2 74.9-62.7 76.8c-4.4 5.2-.8 13.1 5.8 13.1h50.8c2.3 0 4.5-1 5.9-2.9l35.5-43.5 35.5 43.5c1.5 1.8 3.7 2.9 5.9 2.9h50.8c6.6 0 10.2-7.9 5.9-13.1L383.5 675zM880 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-36 732H180V180h664v664z"}}]},name:"calculator",theme:"outlined"},cl=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ca}))}),co={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm256.2-75h-50.8c-2.2 0-4.5-1.1-5.9-2.9L348 718.6l-35.5 43.5a7.38 7.38 0 01-5.9 2.9h-50.8c-6.6 0-10.2-7.9-5.8-13.1l62.7-76.8-61.2-74.9c-4.3-5.2-.7-13.1 5.9-13.1h50.9c2.2 0 4.5 1.1 5.9 2.9l34 41.6 34-41.6c1.5-1.9 3.6-2.9 5.9-2.9h50.8c6.6 0 10.2 7.9 5.9 13.1L383.5 675l62.7 76.8c4.2 5.3.6 13.2-6 13.2zM576 335c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zm0 265c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zm0 104c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zM248 335c0-2.2 1.4-4 3.2-4H320v-68.8c0-1.8 1.8-3.2 4-3.2h48c2.2 0 4 1.4 4 3.2V331h68.7c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H376v68.7c0 1.9-1.8 3.3-4 3.3h-48c-2.2 0-4-1.4-4-3.2V387h-68.8c-1.8 0-3.2-1.8-3.2-4v-48z",fill:t}},{tag:"path",attrs:{d:"M383.5 675l61.3-74.8c4.3-5.2.7-13.1-5.9-13.1h-50.8c-2.3 0-4.4 1-5.9 2.9l-34 41.6-34-41.6a7.69 7.69 0 00-5.9-2.9h-50.9c-6.6 0-10.2 7.9-5.9 13.1l61.2 74.9-62.7 76.8c-4.4 5.2-.8 13.1 5.8 13.1h50.8c2.3 0 4.4-1 5.9-2.9l35.5-43.5 35.5 43.5c1.4 1.8 3.7 2.9 5.9 2.9h50.8c6.6 0 10.2-7.9 6-13.2L383.5 675zM251.2 387H320v68.8c0 1.8 1.8 3.2 4 3.2h48c2.2 0 4-1.4 4-3.3V387h68.8c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H376v-68.8c0-1.8-1.8-3.2-4-3.2h-48c-2.2 0-4 1.4-4 3.2V331h-68.8c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm328 369h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0-104h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0-265h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4z",fill:e}}]}},name:"calculator",theme:"twotone"},ci=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:co}))}),cu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M112 880c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V460H112v420zm768-696H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v176h800V216c0-17.7-14.3-32-32-32z"}}]},name:"calendar",theme:"filled"},cs=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cu}))}),cf=c(49842),ch=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cf.Z}))}),cd={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v136h656V256H712v48z",fill:t}},{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zm0-448H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136z",fill:e}}]}},name:"calendar",theme:"twotone"},cv=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cd}))}),cm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 260H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 260H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V340c0-44.2-35.8-80-80-80zM512 716c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160zm-96-160a96 96 0 10192 0 96 96 0 10-192 0z"}}]},name:"camera",theme:"filled"},cg=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cm}))}),cp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456zM512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z"}}]},name:"camera",theme:"outlined"},cz=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cp}))}),cw={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 320H677.2l-17.1-47.8-22.9-64.2H386.7l-22.9 64.2-17.1 47.8H160c-4.4 0-8 3.6-8 8v456c0 4.4 3.6 8 8 8h704c4.4 0 8-3.6 8-8V328c0-4.4-3.6-8-8-8zM512 704c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160z",fill:t}},{tag:"path",attrs:{d:"M512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z",fill:e}},{tag:"path",attrs:{d:"M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456z",fill:e}}]}},name:"camera",theme:"twotone"},cM=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cw}))}),cZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M959 413.4L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM264 621c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm388 75c0 4.4-3.6 8-8 8H380c-4.4 0-8-3.6-8-8v-84c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v36h168v-36c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v84zm108-75c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zM220 418l72.7-199.9.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220z"}}]},name:"car",theme:"filled"},cH=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cZ}))}),cb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M380 704h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8zm340-123a40 40 0 1080 0 40 40 0 10-80 0zm239-167.6L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM840 517v237H184V517l15.6-43h624.8l15.6 43zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM224 581a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"car",theme:"outlined"},cV=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cb}))}),cC={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M199.6 474L184 517v237h656V517l-15.6-43H199.6zM264 621c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm388 75c0 4.4-3.6 8-8 8H380c-4.4 0-8-3.6-8-8v-84c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v36h168v-36c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v84zm108-75c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z",fill:t}},{tag:"path",attrs:{d:"M720 581a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}},{tag:"path",attrs:{d:"M959 413.4L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM840 754H184V517l15.6-43h624.8l15.6 43v237z",fill:e}},{tag:"path",attrs:{d:"M224 581a40 40 0 1080 0 40 40 0 10-80 0zm420 23h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"car",theme:"twotone"},cx=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cC}))}),cE=c(41464),cL=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cE.Z}))}),cy=c(57727),cR=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cy.Z}))}),cB={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z"}}]},name:"caret-left",theme:"filled"},cS=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cB}))}),cO=c(94155),ck={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"}}]},name:"caret-right",theme:"filled"},cT=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ck}))}),c$=c(14313),cF={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:"filled"},cA=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cF}))}),cI=c(54200),cP=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cI.Z}))}),cD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM694.5 432.7L481.9 725.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.1 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.8-6.6 13-6.6H688c6.5.1 10.3 7.5 6.5 12.8z"}}]},name:"carry-out",theme:"filled"},cN=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cD}))}),cq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584zM688 420h-55.2c-5.1 0-10 2.5-13 6.6L468.9 634.4l-64.7-89c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.4 0-12.8-6.5-12.8z"}}]},name:"carry-out",theme:"outlined"},cj=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cq}))}),cW={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584z",fill:e}},{tag:"path",attrs:{d:"M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v584h656V256H712v48zm-17.5 128.8L481.9 725.5a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.2 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.9-6.6 13-6.6H688c6.5 0 10.3 7.4 6.5 12.8z",fill:t}},{tag:"path",attrs:{d:"M688 420h-55.2c-5.1 0-10 2.5-13 6.6L468.9 634.4l-64.7-89c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.4 0-12.8-6.5-12.8z",fill:e}}]}},name:"carry-out",theme:"twotone"},cY=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cW}))}),c_=c(72961),cK=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:c_.Z}))}),cX=c(8751),cU={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm193.4 225.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.3 0 19.9 5 25.9 13.3l71.2 98.8 157.2-218c6-8.4 15.7-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.4 12.7z",fill:t}},{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z",fill:e}}]}},name:"check-circle",theme:"twotone"},cG=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cU}))}),cQ=c(88284),cJ={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-32zM695.5 365.7l-210.6 292a31.8 31.8 0 01-51.7 0L308.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.3H689c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-square",theme:"filled"},c1=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:cJ}))}),c4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M433.1 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7H642c-10.2 0-19.9 4.9-25.9 13.3L459 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H315c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.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:"check-square",theme:"outlined"},c2=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:c4}))}),c3={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm130-367.8h46.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.3H688c6.5 0 10.3 7.4 6.5 12.7l-210.6 292a31.8 31.8 0 01-51.7 0L307.5 484.9c-3.8-5.3 0-12.7 6.5-12.7z",fill:t}},{tag:"path",attrs:{d:"M432.2 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7h-46.9c-10.3 0-19.9 5-25.9 13.3L458 584.3l-71.2-98.8c-6-8.4-15.7-13.3-25.9-13.3H314c-6.5 0-10.3 7.4-6.5 12.7l124.7 172.8z",fill:e}}]}},name:"check-square",theme:"twotone"},c8=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:c3}))}),c6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M371.8 512c0 77.5 62.7 140.2 140.2 140.2S652.2 589.5 652.2 512 589.5 371.8 512 371.8 371.8 434.4 371.8 512zM900 362.4l-234.3 12.1c63.6 74.3 64.6 181.5 11.1 263.7l-188 289.2c78 4.2 158.4-12.9 231.2-55.2 180-104 253-322.1 180-509.8zM320.3 591.9L163.8 284.1A415.35 415.35 0 0096 512c0 208 152.3 380.3 351.4 410.8l106.9-209.4c-96.6 18.2-189.9-34.8-234-121.5zm218.5-285.5l344.4 18.1C848 254.7 792.6 194 719.8 151.7 653.9 113.6 581.5 95.5 510.5 96c-122.5.5-242.2 55.2-322.1 154.5l128.2 196.9c32-91.9 124.8-146.7 222.2-141z"}}]},name:"chrome",theme:"filled"},c0=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:c6}))}),c5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 512.3v-.3c0-229.8-186.2-416-416-416S96 282.2 96 512v.4c0 229.8 186.2 416 416 416s416-186.2 416-416v-.3.2zm-6.7-74.6l.6 3.3-.6-3.3zM676.7 638.2c53.5-82.2 52.5-189.4-11.1-263.7l162.4-8.4c20.5 44.4 32 93.8 32 145.9 0 185.2-144.6 336.6-327.1 347.4l143.8-221.2zM512 652.3c-77.5 0-140.2-62.7-140.2-140.2 0-77.7 62.7-140.2 140.2-140.2S652.2 434.5 652.2 512 589.5 652.3 512 652.3zm369.2-331.7l-3-5.7 3 5.7zM512 164c121.3 0 228.2 62.1 290.4 156.2l-263.6-13.9c-97.5-5.7-190.2 49.2-222.3 141.1L227.8 311c63.1-88.9 166.9-147 284.2-147zM102.5 585.8c26 145 127.1 264 261.6 315.1C229.6 850 128.5 731 102.5 585.8zM164 512c0-55.9 13.2-108.7 36.6-155.5l119.7 235.4c44.1 86.7 137.4 139.7 234 121.6l-74 145.1C302.9 842.5 164 693.5 164 512zm324.7 415.4c4 .2 8 .4 12 .5-4-.2-8-.3-12-.5z"}}]},name:"chrome",theme:"outlined"},c7=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:c5}))}),c9={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-63.6 656c-103 0-162.4-68.6-162.4-182.6v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-4-46.1-37.6-77.6-87-77.6-61.1 0-95.6 45.4-95.6 126.9v49.3c0 80.3 34.5 125.1 95.6 125.1 49.3 0 82.8-29.5 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z"}}]},name:"ci-circle",theme:"filled"},ne=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:c9}))}),nt={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 372zm218-572.1h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z"}}]},name:"ci-circle",theme:"outlined"},nc=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nt}))}),nn={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-63.5 522.8c49.3 0 82.8-29.4 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5C345.4 720 286 651.4 286 537.4v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-3.9-46.1-37.5-77.6-87-77.6-61.1 0-95.6 45.4-95.7 126.8v49.3c0 80.3 34.5 125.2 95.6 125.2zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z",fill:t}},{tag:"path",attrs:{d:"M730 311.9h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z",fill:e}}]}},name:"ci-circle",theme:"twotone"},nr=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nn}))}),na={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 372zm218-572.1h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z"}}]},name:"ci",theme:"outlined"},nl=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:na}))}),no={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-63.5 522.8c49.3 0 82.8-29.4 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5C345.4 720 286 651.4 286 537.4v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-3.9-46.1-37.5-77.6-87-77.6-61.1 0-95.6 45.4-95.7 126.8v49.3c0 80.3 34.5 125.2 95.6 125.2zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z",fill:t}},{tag:"path",attrs:{d:"M730 311.9h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z",fill:e}}]}},name:"ci",theme:"twotone"},ni=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:no}))}),nu=c(52645),ns={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 64zm176.5 585.7l-28.6 39a7.99 7.99 0 01-11.2 1.7L483.3 569.8a7.92 7.92 0 01-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z"}}]},name:"clock-circle",theme:"filled"},nf=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ns}))}),nh=c(30071),nd={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm176.5 509.7l-28.6 39a7.99 7.99 0 01-11.2 1.7L483.3 569.8a7.92 7.92 0 01-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z",fill:t}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.6-3.6 1.8-8.6-1.8-11.1z",fill:e}}]}},name:"clock-circle",theme:"twotone"},nv=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nd}))}),nm=c(1085),ng=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nm.Z}))}),np=c(18429),nz={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm171.8 527.1c1.2 1.5 1.9 3.3 1.9 5.2 0 4.5-3.6 8-8 8l-66-.3-99.3-118.4-99.3 118.5-66.1.3c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2L471 512.3l-130.1-155a8.32 8.32 0 01-1.9-5.2c0-4.5 3.6-8 8-8l66.1.3 99.3 118.4 99.4-118.5 66-.3c4.4 0 8 3.6 8 8 0 1.9-.6 3.8-1.8 5.2l-130.1 155 129.9 154.9z",fill:t}},{tag:"path",attrs:{d:"M685.8 352c0-4.4-3.6-8-8-8l-66 .3-99.4 118.5-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155-130.1 154.9a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3 99.3-118.5L611.7 680l66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.9 512.2l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z",fill:e}}]}},name:"close-circle",theme:"twotone"},nw=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nz}))}),nM=c(28508),nZ={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c17.7 0 32 14.3 32 32v736c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32zM639.98 338.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-square",theme:"filled"},nH=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nZ}))}),nb={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c17.7 0 32 14.3 32 32v736c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32zm-40 72H184v656h656V184zM640.01 338.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-square",theme:"outlined"},nV=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nb}))}),nC={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm163.9-473.9A7.95 7.95 0 01354 353h58.9c4.7 0 9.2 2.1 12.3 5.7L512 462.2l86.8-103.5c3-3.6 7.5-5.7 12.3-5.7H670c6.8 0 10.5 7.9 6.1 13.1L553.8 512l122.3 145.9c4.4 5.2.7 13.1-6.1 13.1h-58.9c-4.7 0-9.2-2.1-12.3-5.7L512 561.8l-86.8 103.5c-3 3.6-7.5 5.7-12.3 5.7H354c-6.8 0-10.5-7.9-6.1-13.1L470.2 512 347.9 366.1z",fill:t}},{tag:"path",attrs:{d:"M354 671h58.9c4.8 0 9.3-2.1 12.3-5.7L512 561.8l86.8 103.5c3.1 3.6 7.6 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.3-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.8 0-9.3 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3.1-3.6-7.6-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z",fill:e}}]}},name:"close-square",theme:"twotone"},nx=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nC}))}),nE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-download",theme:"outlined"},nL=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nE}))}),ny={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud",theme:"filled"},nR=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ny}))}),nB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 01-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 01140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0166.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z"}}]},name:"cloud",theme:"outlined"},nS=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nB}))}),nO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z"}},{tag:"path",attrs:{d:"M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z"}},{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}}]},name:"cloud-server",theme:"outlined"},nk=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nO}))}),nT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}},{tag:"path",attrs:{d:"M376.9 656.4c1.8-33.5 15.7-64.7 39.5-88.6 25.4-25.5 60-39.8 96-39.8 36.2 0 70.3 14.1 96 39.8 1.4 1.4 2.7 2.8 4.1 4.3l-25 19.6a8 8 0 003 14.1l98.2 24c5 1.2 9.9-2.6 9.9-7.7l.5-101.3c0-6.7-7.6-10.5-12.9-6.3L663 532.7c-36.6-42-90.4-68.6-150.5-68.6-107.4 0-195 85.1-199.4 191.7-.2 4.5 3.4 8.3 8 8.3H369c4.2-.1 7.7-3.4 7.9-7.7zM703 664h-47.9c-4.2 0-7.7 3.3-8 7.6-1.8 33.5-15.7 64.7-39.5 88.6-25.4 25.5-60 39.8-96 39.8-36.2 0-70.3-14.1-96-39.8-1.4-1.4-2.7-2.8-4.1-4.3l25-19.6a8 8 0 00-3-14.1l-98.2-24c-5-1.2-9.9 2.6-9.9 7.7l-.4 101.4c0 6.7 7.6 10.5 12.9 6.3l23.2-18.2c36.6 42 90.4 68.6 150.5 68.6 107.4 0 195-85.1 199.4-191.7.2-4.5-3.4-8.3-8-8.3z"}}]},name:"cloud-sync",theme:"outlined"},n$=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nT}))}),nF={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M791.9 492l-37.8-10-13.8-36.5c-8.6-22.7-20.6-44.1-35.7-63.4a245.73 245.73 0 00-52.4-49.9c-41.1-28.9-89.5-44.2-140-44.2s-98.9 15.3-140 44.2a245.6 245.6 0 00-52.4 49.9 240.47 240.47 0 00-35.7 63.4l-13.9 36.6-37.9 9.9a125.7 125.7 0 00-66.1 43.7A123.1 123.1 0 00140 612c0 33.1 12.9 64.3 36.3 87.7 23.4 23.4 54.5 36.3 87.6 36.3h496.2c33.1 0 64.2-12.9 87.6-36.3A123.3 123.3 0 00884 612c0-56.2-37.8-105.5-92.1-120z",fill:t}},{tag:"path",attrs:{d:"M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 01-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 01140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0166.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z",fill:e}}]}},name:"cloud",theme:"twotone"},nA=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nF}))}),nI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-upload",theme:"outlined"},nP=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nI}))}),nD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 680h-54V540H546v-92h238c8.8 0 16-7.2 16-16V168c0-8.8-7.2-16-16-16H240c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h238v92H190v140h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8h-54v-72h220v72h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8h-54v-72h220v72h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8zM256 805.3c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zm288 0c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zM288 384V216h448v168H288zm544 421.3c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zM360 300a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"cluster",theme:"outlined"},nN=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nD}))}),nq={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-32zM513.1 518.1l-192 161c-5.2 4.4-13.1.7-13.1-6.1v-62.7c0-2.3 1.1-4.6 2.9-6.1L420.7 512l-109.8-92.2a7.63 7.63 0 01-2.9-6.1V351c0-6.8 7.9-10.5 13.1-6.1l192 160.9c3.9 3.2 3.9 9.1 0 12.3zM716 673c0 4.4-3.4 8-7.5 8h-185c-4.1 0-7.5-3.6-7.5-8v-48c0-4.4 3.4-8 7.5-8h185c4.1 0 7.5 3.6 7.5 8v48z"}}]},name:"code",theme:"filled"},nj=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nq}))}),nW=c(89035),nY={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 64zm243.7 589.2L512 794 268.3 653.2V371.8l110-63.6-.4-.2h.2L512 231l134 77h-.2l-.3.2 110.1 63.6v281.4zM307.9 536.7l87.6 49.9V681l96.7 55.9V524.8L307.9 418.4zm203.9-151.8L418 331l-91.1 52.6 185.2 107 185.2-106.9-91.4-52.8zm20 352l97.3-56.2v-94.1l87-49.5V418.5L531.8 525z"}}]},name:"code-sandbox-circle",theme:"filled"},n_=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nY}))}),nK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M709.6 210l.4-.2h.2L512 96 313.9 209.8h-.2l.7.3L151.5 304v416L512 928l360.5-208V304l-162.9-94zM482.7 843.6L339.6 761V621.4L210 547.8V372.9l272.7 157.3v313.4zM238.2 321.5l134.7-77.8 138.9 79.7 139.1-79.9 135.2 78-273.9 158-274-158zM814 548.3l-128.8 73.1v139.1l-143.9 83V530.4L814 373.1v175.2z"}}]},name:"code-sandbox",theme:"outlined"},nX=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nK}))}),nU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M307.9 536.7l87.6 49.9V681l96.7 55.9V524.8L307.9 418.4zM880 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-32zM755.7 653.2L512 794 268.3 653.2V371.8l110-63.6-.4-.2h.2L512 231l134 77h-.2l-.3.2 110.1 63.6v281.4zm-223.9 83.7l97.3-56.2v-94.1l87-49.5V418.5L531.8 525zm-20-352L418 331l-91.1 52.6 185.2 107 185.2-106.9-91.4-52.8z"}}]},name:"code-sandbox-square",theme:"filled"},nG=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nU}))}),nQ={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm339.5-223h185c4.1 0 7.5 3.6 7.5 8v48c0 4.4-3.4 8-7.5 8h-185c-4.1 0-7.5-3.6-7.5-8v-48c0-4.4 3.4-8 7.5-8zM308 610.3c0-2.3 1.1-4.6 2.9-6.1L420.7 512l-109.8-92.2a7.63 7.63 0 01-2.9-6.1V351c0-6.8 7.9-10.5 13.1-6.1l192 160.9c3.9 3.2 3.9 9.1 0 12.3l-192 161c-5.2 4.4-13.1.7-13.1-6.1v-62.7z",fill:t}},{tag:"path",attrs:{d:"M321.1 679.1l192-161c3.9-3.2 3.9-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48z",fill:e}}]}},name:"code",theme:"twotone"},nJ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:nQ}))}),n1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M488.1 414.7V303.4L300.9 428l83.6 55.8zm254.1 137.7v-79.8l-59.8 39.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm278 533c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 01-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 01-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 01.8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-254.1 13.3v111.3L723.1 597l-83.6-55.8zM281.8 472.6v79.8l59.8-39.9zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zM723.1 428L535.9 303.4v111.3l103.6 69.1zM384.5 541.2L300.9 597l187.2 124.6V610.3l-103.6-69.1z"}}]},name:"codepen-circle",theme:"filled"},n4=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:n1}))}),n2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M488.1 414.7V303.4L300.9 428l83.6 55.8zm254.1 137.7v-79.8l-59.8 39.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm278 533c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 01-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 01-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 01.8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-254.1 13.3v111.3L723.1 597l-83.6-55.8zM281.8 472.6v79.8l59.8-39.9zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zM723.1 428L535.9 303.4v111.3l103.6 69.1zM384.5 541.2L300.9 597l187.2 124.6V610.3l-103.6-69.1z"}}]},name:"codepen-circle",theme:"outlined"},n3=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:n2}))}),n8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M911.7 385.3l-.3-1.5c-.2-1-.3-1.9-.6-2.9-.2-.6-.4-1.1-.5-1.7-.3-.8-.5-1.7-.9-2.5-.2-.6-.5-1.1-.8-1.7-.4-.8-.8-1.5-1.2-2.3-.3-.5-.6-1.1-1-1.6-.8-1.2-1.7-2.4-2.6-3.6-.5-.6-1.1-1.3-1.7-1.9-.4-.5-.9-.9-1.4-1.3-.6-.6-1.3-1.1-1.9-1.6-.5-.4-1-.8-1.6-1.2-.2-.1-.4-.3-.6-.4L531.1 117.8a34.3 34.3 0 00-38.1 0L127.3 361.3c-.2.1-.4.3-.6.4-.5.4-1 .8-1.6 1.2-.7.5-1.3 1.1-1.9 1.6-.5.4-.9.9-1.4 1.3-.6.6-1.2 1.2-1.7 1.9-1 1.1-1.8 2.3-2.6 3.6-.3.5-.7 1-1 1.6-.4.7-.8 1.5-1.2 2.3-.3.5-.5 1.1-.8 1.7-.3.8-.6 1.7-.9 2.5-.2.6-.4 1.1-.5 1.7-.2.9-.4 1.9-.6 2.9l-.3 1.5c-.2 1.5-.3 3-.3 4.5v243.5c0 1.5.1 3 .3 4.5l.3 1.5.6 2.9c.2.6.3 1.1.5 1.7.3.9.6 1.7.9 2.5.2.6.5 1.1.8 1.7.4.8.7 1.5 1.2 2.3.3.5.6 1.1 1 1.6.5.7.9 1.4 1.5 2.1l1.2 1.5c.5.6 1.1 1.3 1.7 1.9.4.5.9.9 1.4 1.3.6.6 1.3 1.1 1.9 1.6.5.4 1 .8 1.6 1.2.2.1.4.3.6.4L493 905.7c5.6 3.8 12.3 5.8 19.1 5.8 6.6 0 13.3-1.9 19.1-5.8l365.6-243.5c.2-.1.4-.3.6-.4.5-.4 1-.8 1.6-1.2.7-.5 1.3-1.1 1.9-1.6.5-.4.9-.9 1.4-1.3.6-.6 1.2-1.2 1.7-1.9l1.2-1.5 1.5-2.1c.3-.5.7-1 1-1.6.4-.8.8-1.5 1.2-2.3.3-.5.5-1.1.8-1.7.3-.8.6-1.7.9-2.5.2-.5.4-1.1.5-1.7.3-.9.4-1.9.6-2.9l.3-1.5c.2-1.5.3-3 .3-4.5V389.8c-.3-1.5-.4-3-.6-4.5zM546.4 210.5l269.4 179.4-120.3 80.4-149-99.6V210.5zm-68.8 0v160.2l-149 99.6-120.3-80.4 269.3-179.4zM180.7 454.1l86 57.5-86 57.5v-115zm296.9 358.5L208.3 633.2l120.3-80.4 149 99.6v160.2zM512 592.8l-121.6-81.2L512 430.3l121.6 81.2L512 592.8zm34.4 219.8V652.4l149-99.6 120.3 80.4-269.3 179.4zM843.3 569l-86-57.5 86-57.5v115z"}}]},name:"codepen",theme:"outlined"},n6=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:n8}))}),n0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723.1 428L535.9 303.4v111.3l103.6 69.1zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zm23.9 154.2v111.3L723.1 597l-83.6-55.8zm-151.4-69.1L300.9 597l187.2 124.6V610.3l-103.6-69.1zM880 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-90 485c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 01-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 01-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 01.8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-47.8-44.6v-79.8l-59.8 39.9zm-460.4-79.8v79.8l59.8-39.9zm206.3-57.9V303.4L300.9 428l83.6 55.8z"}}]},name:"codepen-square",theme:"filled"},n5=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:n0}))}),n7={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M275 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm613 144H768c0-39.8-32.2-72-72-72H200c-39.8 0-72 32.2-72 72v248c0 3.4.2 6.7.7 9.9-.5 7-.7 14-.7 21.1 0 176.7 143.3 320 320 320 160.1 0 292.7-117.5 316.3-271H888c39.8 0 72-32.2 72-72V497c0-39.8-32.2-72-72-72zM696 681h-1.1c.7 7.6 1.1 15.2 1.1 23 0 137-111 248-248 248S200 841 200 704c0-7.8.4-15.4 1.1-23H200V425h496v256zm192-8H776V497h112v176zM613 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm-170 0c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36z"}}]},name:"coffee",theme:"outlined"},n9=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:n7}))}),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z"}}]},name:"column-height",theme:"outlined"},rt=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:re}))}),rc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M180 176h-60c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8zm724 0h-60c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8zM785.3 504.3L657.7 403.6a7.23 7.23 0 00-11.7 5.7V476H378v-62.8c0-6-7-9.4-11.7-5.7L238.7 508.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h268v62.8c0 6 7 9.4 11.7 5.7l127.5-100.8c3.8-2.9 3.8-8.5.2-11.4z"}}]},name:"column-width",theme:"outlined"},rn=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rc}))}),rr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}},{tag:"path",attrs:{d:"M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z"}},{tag:"path",attrs:{d:"M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}}]},name:"comment",theme:"outlined"},ra=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rr}))}),rl={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 64zM327.3 702.4c-2 .9-4.4 0-5.3-2.1-.4-1-.4-2.2 0-3.2l98.7-225.5 132.1 132.1-225.5 98.7zm375.1-375.1l-98.7 225.5-132.1-132.1L697.1 322c2-.9 4.4 0 5.3 2.1.4 1 .4 2.1 0 3.2z"}}]},name:"compass",theme:"filled"},ro=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rl}))}),ri={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 372zm198.4-588.1a32 32 0 00-24.5.5L414.9 415 296.4 686c-3.6 8.2-3.6 17.5 0 25.7 3.4 7.8 9.7 13.9 17.7 17 3.8 1.5 7.7 2.2 11.7 2.2 4.4 0 8.7-.9 12.8-2.7l271-118.6 118.5-271a32.06 32.06 0 00-17.7-42.7zM576.8 534.4l26.2 26.2-42.4 42.4-26.2-26.2L380 644.4 447.5 490 422 464.4l42.4-42.4 25.5 25.5L644.4 380l-67.6 154.4zM464.4 422L422 464.4l25.5 25.6 86.9 86.8 26.2 26.2 42.4-42.4-26.2-26.2-86.8-86.9z"}}]},name:"compass",theme:"outlined"},ru=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ri}))}),rs={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM327.6 701.7c-2 .9-4.4 0-5.3-2.1-.4-1-.4-2.2 0-3.2L421 470.9 553.1 603l-225.5 98.7zm375.1-375.1L604 552.1 471.9 420l225.5-98.7c2-.9 4.4 0 5.3 2.1.4 1 .4 2.1 0 3.2z",fill:t}},{tag:"path",attrs:{d:"M322.3 696.4c-.4 1-.4 2.2 0 3.2.9 2.1 3.3 3 5.3 2.1L553.1 603 421 470.9l-98.7 225.5zm375.1-375.1L471.9 420 604 552.1l98.7-225.5c.4-1.1.4-2.2 0-3.2-.9-2.1-3.3-3-5.3-2.1z",fill:e}},{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",fill:e}}]}},name:"compass",theme:"twotone"},rf=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rs}))}),rh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M326 664H104c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h174v176c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V696c0-17.7-14.3-32-32-32zm16-576h-48c-8.8 0-16 7.2-16 16v176H104c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h222c17.7 0 32-14.3 32-32V104c0-8.8-7.2-16-16-16zm578 576H698c-17.7 0-32 14.3-32 32v224c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V744h174c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zm0-384H746V104c0-8.8-7.2-16-16-16h-48c-8.8 0-16 7.2-16 16v224c0 17.7 14.3 32 32 32h222c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16z"}}]},name:"compress",theme:"outlined"},rd=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rh}))}),rv=c(9020),rm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zM661 736h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.6-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H363a8 8 0 01-8-8.4c2.8-53.3 32-99.7 74.6-126.1a111.8 111.8 0 01-29.1-75.5c0-61.9 49.9-112 111.4-112 61.5 0 111.4 50.1 111.4 112 0 29.1-11 55.5-29.1 75.5 42.7 26.5 71.8 72.8 74.6 126.1.4 4.6-3.2 8.4-7.8 8.4zM512 474c-28.5 0-51.7 23.3-51.7 52s23.2 52 51.7 52c28.5 0 51.7-23.3 51.7-52s-23.2-52-51.7-52z"}}]},name:"contacts",theme:"filled"},rg=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rm}))}),rp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M594.3 601.5a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1 8 8 0 008 8.4H407c4.2 0 7.6-3.3 7.9-7.5 3.8-50.6 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H661a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.7-126.1zM512 578c-28.5 0-51.7-23.3-51.7-52s23.2-52 51.7-52 51.7 23.3 51.7 52-23.2 52-51.7 52zm416-354H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z"}}]},name:"contacts",theme:"outlined"},rz=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rp}))}),rw={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M460.3 526a51.7 52 0 10103.4 0 51.7 52 0 10-103.4 0z",fill:t}},{tag:"path",attrs:{d:"M768 352c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H548v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H328v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H136v496h752V296H768v56zM661 736h-43.8c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 39.9-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5h-43.9a8 8 0 01-8-8.4c2.8-53.3 31.9-99.6 74.6-126.1-18.1-20-29.1-46.4-29.1-75.5 0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.6-29.1 75.5 42.7 26.4 71.9 72.8 74.7 126.1a8 8 0 01-8 8.4z",fill:t}},{tag:"path",attrs:{d:"M594.3 601.5a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1 8 8 0 008 8.4H407c4.2 0 7.6-3.3 7.9-7.5 3.8-50.6 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H661a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.7-126.1zM512 578c-28.5 0-51.7-23.3-51.7-52s23.2-52 51.7-52 51.7 23.3 51.7 52-23.2 52-51.7 52z",fill:e}},{tag:"path",attrs:{d:"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z",fill:e}}]}},name:"contacts",theme:"twotone"},rM=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rw}))}),rZ={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 32v529c0-.6.4-1 1-1h219.3l5.2 24.7C397.6 708.5 450.8 752 512 752s114.4-43.5 126.4-103.3l5.2-24.7H863c.6 0 1 .4 1 1V96c0-17.7-14.3-32-32-32zM712 493c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8v48zm0-160c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8v48zm151 354H694.1c-11.6 32.8-32 62.3-59.1 84.7-34.5 28.6-78.2 44.3-123 44.3s-88.5-15.8-123-44.3a194.02 194.02 0 01-59.1-84.7H161c-.6 0-1-.4-1-1v242c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V686c0 .6-.4 1-1 1z"}}]},name:"container",theme:"filled"},rH=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rZ}))}),rb={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-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v-63H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v752zM320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 160h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}]},name:"container",theme:"outlined"},rV=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rb}))}),rC={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M635 771.7c-34.5 28.6-78.2 44.3-123 44.3s-88.5-15.8-123-44.3a194.02 194.02 0 01-59.1-84.7H232v201h560V687h-97.9c-11.6 32.8-32 62.3-59.1 84.7z",fill:t}},{tag:"path",attrs:{d:"M320 501h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}},{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-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v201zm0-264H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v488z",fill:e}},{tag:"path",attrs:{d:"M320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"container",theme:"twotone"},rx=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rC}))}),rE={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-32zM404 683v77c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-77c-41.7-13.6-72-52.8-72-99s30.3-85.5 72-99V264c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v221c41.7 13.6 72 52.8 72 99s-30.3 85.5-72 99zm279.6-143.9c.2 0 .3-.1.4-.1v221c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V539c.2 0 .3.1.4.1-42-13.4-72.4-52.7-72.4-99.1 0-46.4 30.4-85.7 72.4-99.1-.2 0-.3.1-.4.1v-77c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v77c-.2 0-.3-.1-.4-.1 42 13.4 72.4 52.7 72.4 99.1 0 46.4-30.4 85.7-72.4 99.1zM616 440a36 36 0 1072 0 36 36 0 10-72 0zM403.4 566.5l-1.5-2.4c0-.1-.1-.1-.1-.2l-.9-1.2c-.1-.1-.2-.2-.2-.3-1-1.3-2-2.5-3.2-3.6l-.2-.2c-.4-.4-.8-.8-1.2-1.1-.8-.8-1.7-1.5-2.6-2.1h-.1l-1.2-.9c-.1-.1-.3-.2-.4-.3-1.2-.8-2.5-1.6-3.9-2.2-.2-.1-.5-.2-.7-.4-.4-.2-.7-.3-1.1-.5-.3-.1-.7-.3-1-.4-.5-.2-1-.4-1.5-.5-.4-.1-.9-.3-1.3-.4l-.9-.3-1.4-.3c-.2-.1-.5-.1-.7-.2-.7-.1-1.4-.3-2.1-.4-.2 0-.4 0-.6-.1-.6-.1-1.1-.1-1.7-.2-.2 0-.4 0-.7-.1-.8 0-1.5-.1-2.3-.1s-1.5 0-2.3.1c-.2 0-.4 0-.7.1-.6 0-1.2.1-1.7.2-.2 0-.4 0-.6.1-.7.1-1.4.2-2.1.4-.2.1-.5.1-.7.2l-1.4.3-.9.3c-.4.1-.9.3-1.3.4-.5.2-1 .4-1.5.5-.3.1-.7.3-1 .4-.4.2-.7.3-1.1.5-.2.1-.5.2-.7.4-1.3.7-2.6 1.4-3.9 2.2-.1.1-.3.2-.4.3l-1.2.9h-.1c-.9.7-1.8 1.4-2.6 2.1-.4.4-.8.7-1.2 1.1l-.2.2a54.8 54.8 0 00-3.2 3.6c-.1.1-.2.2-.2.3l-.9 1.2c0 .1-.1.1-.1.2l-1.5 2.4c-.1.2-.2.3-.3.5-2.7 5.1-4.3 10.9-4.3 17s1.6 12 4.3 17c.1.2.2.3.3.5l1.5 2.4c0 .1.1.1.1.2l.9 1.2c.1.1.2.2.2.3 1 1.3 2 2.5 3.2 3.6l.2.2c.4.4.8.8 1.2 1.1.8.8 1.7 1.5 2.6 2.1h.1l1.2.9c.1.1.3.2.4.3 1.2.8 2.5 1.6 3.9 2.2.2.1.5.2.7.4.4.2.7.3 1.1.5.3.1.7.3 1 .4.5.2 1 .4 1.5.5.4.1.9.3 1.3.4l.9.3 1.4.3c.2.1.5.1.7.2.7.1 1.4.3 2.1.4.2 0 .4 0 .6.1.6.1 1.1.1 1.7.2.2 0 .4 0 .7.1.8 0 1.5.1 2.3.1s1.5 0 2.3-.1c.2 0 .4 0 .7-.1.6 0 1.2-.1 1.7-.2.2 0 .4 0 .6-.1.7-.1 1.4-.2 2.1-.4.2-.1.5-.1.7-.2l1.4-.3.9-.3c.4-.1.9-.3 1.3-.4.5-.2 1-.4 1.5-.5.3-.1.7-.3 1-.4.4-.2.7-.3 1.1-.5.2-.1.5-.2.7-.4 1.3-.7 2.6-1.4 3.9-2.2.1-.1.3-.2.4-.3l1.2-.9h.1c.9-.7 1.8-1.4 2.6-2.1.4-.4.8-.7 1.2-1.1l.2-.2c1.1-1.1 2.2-2.4 3.2-3.6.1-.1.2-.2.2-.3l.9-1.2c0-.1.1-.1.1-.2l1.5-2.4c.1-.2.2-.3.3-.5 2.7-5.1 4.3-10.9 4.3-17s-1.6-12-4.3-17c-.1-.2-.2-.4-.3-.5z"}}]},name:"control",theme:"filled"},rL=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rE}))}),ry=c(11186),rR={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M616 440a36 36 0 1072 0 36 36 0 10-72 0zM340.4 601.5l1.5 2.4c0 .1.1.1.1.2l.9 1.2c.1.1.2.2.2.3 1 1.3 2 2.5 3.2 3.6l.2.2c.4.4.8.8 1.2 1.1.8.8 1.7 1.5 2.6 2.1h.1l1.2.9c.1.1.3.2.4.3 1.2.8 2.5 1.6 3.9 2.2.2.1.5.2.7.4.4.2.7.3 1.1.5.3.1.7.3 1 .4.5.2 1 .4 1.5.5.4.1.9.3 1.3.4l.9.3 1.4.3c.2.1.5.1.7.2.7.1 1.4.3 2.1.4.2 0 .4 0 .6.1.6.1 1.1.1 1.7.2.2 0 .4 0 .7.1.8 0 1.5.1 2.3.1s1.5 0 2.3-.1c.2 0 .4 0 .7-.1.6 0 1.2-.1 1.7-.2.2 0 .4 0 .6-.1.7-.1 1.4-.2 2.1-.4.2-.1.5-.1.7-.2l1.4-.3.9-.3c.4-.1.9-.3 1.3-.4.5-.2 1-.4 1.5-.5.3-.1.7-.3 1-.4.4-.2.7-.3 1.1-.5.2-.1.5-.2.7-.4 1.3-.7 2.6-1.4 3.9-2.2.1-.1.3-.2.4-.3l1.2-.9h.1c.9-.7 1.8-1.4 2.6-2.1.4-.4.8-.7 1.2-1.1l.2-.2c1.1-1.1 2.2-2.4 3.2-3.6.1-.1.2-.2.2-.3l.9-1.2c0-.1.1-.1.1-.2l1.5-2.4c.1-.2.2-.3.3-.5 2.7-5.1 4.3-10.9 4.3-17s-1.6-12-4.3-17c-.1-.2-.2-.4-.3-.5l-1.5-2.4c0-.1-.1-.1-.1-.2l-.9-1.2c-.1-.1-.2-.2-.2-.3-1-1.3-2-2.5-3.2-3.6l-.2-.2c-.4-.4-.8-.8-1.2-1.1-.8-.8-1.7-1.5-2.6-2.1h-.1l-1.2-.9c-.1-.1-.3-.2-.4-.3-1.2-.8-2.5-1.6-3.9-2.2-.2-.1-.5-.2-.7-.4-.4-.2-.7-.3-1.1-.5-.3-.1-.7-.3-1-.4-.5-.2-1-.4-1.5-.5-.4-.1-.9-.3-1.3-.4l-.9-.3-1.4-.3c-.2-.1-.5-.1-.7-.2-.7-.1-1.4-.3-2.1-.4-.2 0-.4 0-.6-.1-.6-.1-1.1-.1-1.7-.2-.2 0-.4 0-.7-.1-.8 0-1.5-.1-2.3-.1s-1.5 0-2.3.1c-.2 0-.4 0-.7.1-.6 0-1.2.1-1.7.2-.2 0-.4 0-.6.1-.7.1-1.4.2-2.1.4-.2.1-.5.1-.7.2l-1.4.3-.9.3c-.4.1-.9.3-1.3.4-.5.2-1 .4-1.5.5-.3.1-.7.3-1 .4-.4.2-.7.3-1.1.5-.2.1-.5.2-.7.4-1.3.7-2.6 1.4-3.9 2.2-.1.1-.3.2-.4.3l-1.2.9h-.1c-.9.7-1.8 1.4-2.6 2.1-.4.4-.8.7-1.2 1.1l-.2.2a54.8 54.8 0 00-3.2 3.6c-.1.1-.2.2-.2.3l-.9 1.2c0 .1-.1.1-.1.2l-1.5 2.4c-.1.2-.2.3-.3.5-2.7 5.1-4.3 10.9-4.3 17s1.6 12 4.3 17c.1.2.2.3.3.5z",fill:t}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm436.4-499.1c-.2 0-.3.1-.4.1v-77c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v77c-.2 0-.3-.1-.4-.1 42 13.4 72.4 52.7 72.4 99.1 0 46.4-30.4 85.7-72.4 99.1.2 0 .3-.1.4-.1v221c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V539c.2 0 .3.1.4.1-42-13.4-72.4-52.7-72.4-99.1 0-46.4 30.4-85.7 72.4-99.1zM340 485V264c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v221c41.7 13.6 72 52.8 72 99s-30.3 85.5-72 99v77c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-77c-41.7-13.6-72-52.8-72-99s30.3-85.5 72-99z",fill:t}},{tag:"path",attrs:{d:"M340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c41.7-13.5 72-52.8 72-99s-30.3-85.4-72-99V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c-41.7 13.5-72 52.8-72 99s30.3 85.4 72 99zm.1-116c.1-.2.2-.3.3-.5l1.5-2.4c0-.1.1-.1.1-.2l.9-1.2c0-.1.1-.2.2-.3 1-1.2 2.1-2.5 3.2-3.6l.2-.2c.4-.4.8-.7 1.2-1.1.8-.7 1.7-1.4 2.6-2.1h.1l1.2-.9c.1-.1.3-.2.4-.3 1.3-.8 2.6-1.5 3.9-2.2.2-.2.5-.3.7-.4.4-.2.7-.3 1.1-.5.3-.1.7-.3 1-.4.5-.1 1-.3 1.5-.5.4-.1.9-.3 1.3-.4l.9-.3 1.4-.3c.2-.1.5-.1.7-.2.7-.2 1.4-.3 2.1-.4.2-.1.4-.1.6-.1.5-.1 1.1-.2 1.7-.2.3-.1.5-.1.7-.1.8-.1 1.5-.1 2.3-.1s1.5.1 2.3.1c.3.1.5.1.7.1.6.1 1.1.1 1.7.2.2.1.4.1.6.1.7.1 1.4.3 2.1.4.2.1.5.1.7.2l1.4.3.9.3c.4.1.9.3 1.3.4.5.1 1 .3 1.5.5.3.1.7.3 1 .4.4.2.7.3 1.1.5.2.2.5.3.7.4 1.4.6 2.7 1.4 3.9 2.2.1.1.3.2.4.3l1.2.9h.1c.9.6 1.8 1.3 2.6 2.1.4.3.8.7 1.2 1.1l.2.2c1.2 1.1 2.2 2.3 3.2 3.6 0 .1.1.2.2.3l.9 1.2c0 .1.1.1.1.2l1.5 2.4A36.03 36.03 0 01408 584c0 6.1-1.6 11.9-4.3 17-.1.2-.2.3-.3.5l-1.5 2.4c0 .1-.1.1-.1.2l-.9 1.2c0 .1-.1.2-.2.3-1 1.2-2.1 2.5-3.2 3.6l-.2.2c-.4.4-.8.7-1.2 1.1-.8.7-1.7 1.4-2.6 2.1h-.1l-1.2.9c-.1.1-.3.2-.4.3-1.3.8-2.6 1.5-3.9 2.2-.2.2-.5.3-.7.4-.4.2-.7.3-1.1.5-.3.1-.7.3-1 .4-.5.1-1 .3-1.5.5-.4.1-.9.3-1.3.4l-.9.3-1.4.3c-.2.1-.5.1-.7.2-.7.2-1.4.3-2.1.4-.2.1-.4.1-.6.1-.5.1-1.1.2-1.7.2-.3.1-.5.1-.7.1-.8.1-1.5.1-2.3.1s-1.5-.1-2.3-.1c-.3-.1-.5-.1-.7-.1-.6-.1-1.1-.1-1.7-.2-.2-.1-.4-.1-.6-.1-.7-.1-1.4-.3-2.1-.4-.2-.1-.5-.1-.7-.2l-1.4-.3-.9-.3c-.4-.1-.9-.3-1.3-.4-.5-.1-1-.3-1.5-.5-.3-.1-.7-.3-1-.4-.4-.2-.7-.3-1.1-.5-.2-.2-.5-.3-.7-.4-1.4-.6-2.7-1.4-3.9-2.2-.1-.1-.3-.2-.4-.3l-1.2-.9h-.1c-.9-.6-1.8-1.3-2.6-2.1-.4-.3-.8-.7-1.2-1.1l-.2-.2c-1.2-1.1-2.2-2.3-3.2-3.6 0-.1-.1-.2-.2-.3l-.9-1.2c0-.1-.1-.1-.1-.2l-1.5-2.4c-.1-.2-.2-.3-.3-.5-2.7-5-4.3-10.9-4.3-17s1.6-11.9 4.3-17zm280.3-27.9c-.1 0-.2-.1-.4-.1v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-.1 0-.2.1-.4.1 42-13.4 72.4-52.7 72.4-99.1 0-46.4-30.4-85.7-72.4-99.1.1 0 .2.1.4.1v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c.1 0 .2-.1.4-.1-42 13.4-72.4 52.7-72.4 99.1 0 46.4 30.4 85.7 72.4 99.1zM652 404c19.9 0 36 16.1 36 36s-16.1 36-36 36-36-16.1-36-36 16.1-36 36-36z",fill:e}}]}},name:"control",theme:"twotone"},rB=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rR}))}),rS={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM382 896h-.2L232 746.2v-.2h150v150z"}}]},name:"copy",theme:"filled"},rO=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rS}))}),rk=c(85175),rT={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 706h142c22.1 0 40 17.9 40 40v142h250V264H232v442z",fill:t}},{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32z",fill:e}},{tag:"path",attrs:{d:"M704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z",fill:e}}]}},name:"copy",theme:"twotone"},r$=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rT}))}),rF={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 64zm5.4 670c-110 0-173.4-73.2-173.4-194.9v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.6-3.2-8-7.4-4-49.5-40-83.4-93-83.4-65.3 0-102.1 48.5-102.1 135.5v52.6c0 85.7 36.9 133.6 102.1 133.6 52.8 0 88.7-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4z"}}]},name:"copyright-circle",theme:"filled"},rA=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rF}))}),rI={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 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright-circle",theme:"outlined"},rP=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rI}))}),rD={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm5.5 533c52.9 0 88.8-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4C407.4 734 344 660.8 344 539.1v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.7-3.2-8-7.4-4-49.6-40-83.4-93-83.4-65.2 0-102.1 48.5-102.2 135.5v52.6c0 85.7 36.8 133.6 102.1 133.6z",fill:t}},{tag:"path",attrs:{d:"M517.6 351.3c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z",fill:e}}]}},name:"copyright-circle",theme:"twotone"},rN=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rD}))}),rq={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 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright",theme:"outlined"},rj=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rq}))}),rW={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm5.5 533c52.9 0 88.8-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4C407.4 734 344 660.8 344 539.1v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.7-3.2-8-7.4-4-49.6-40-83.4-93-83.4-65.2 0-102.1 48.5-102.2 135.5v52.6c0 85.7 36.8 133.6 102.1 133.6z",fill:t}},{tag:"path",attrs:{d:"M517.6 351.3c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z",fill:e}}]}},name:"copyright",theme:"twotone"},rY=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rW}))}),r_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v160h896V192c0-17.7-14.3-32-32-32zM64 832c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V440H64v392zm579-184c0-4.4 3.6-8 8-8h165c4.4 0 8 3.6 8 8v72c0 4.4-3.6 8-8 8H651c-4.4 0-8-3.6-8-8v-72z"}}]},name:"credit-card",theme:"filled"},rK=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:r_}))}),rX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-792 72h752v120H136V232zm752 560H136V440h752v352zm-237-64h165c4.4 0 8-3.6 8-8v-72c0-4.4-3.6-8-8-8H651c-4.4 0-8 3.6-8 8v72c0 4.4 3.6 8 8 8z"}}]},name:"credit-card",theme:"outlined"},rU=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rX}))}),rG={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M136 792h752V440H136v352zm507-144c0-4.4 3.6-8 8-8h165c4.4 0 8 3.6 8 8v72c0 4.4-3.6 8-8 8H651c-4.4 0-8-3.6-8-8v-72zM136 232h752v120H136z",fill:t}},{tag:"path",attrs:{d:"M651 728h165c4.4 0 8-3.6 8-8v-72c0-4.4-3.6-8-8-8H651c-4.4 0-8 3.6-8 8v72c0 4.4 3.6 8 8 8z",fill:e}},{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V440h752v352zm0-440H136V232h752v120z",fill:e}}]}},name:"credit-card",theme:"twotone"},rQ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rG}))}),rJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zM512 734.2c-62.1 0-112.6-50.5-112.6-112.6S449.9 509 512 509s112.6 50.5 112.6 112.6S574.1 734.2 512 734.2zm0-160.9c-26.6 0-48.2 21.6-48.2 48.3 0 26.6 21.6 48.3 48.2 48.3s48.2-21.6 48.2-48.3c0-26.6-21.6-48.3-48.2-48.3z"}}]},name:"crown",theme:"filled"},r1=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:rJ}))}),r4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zm-126 534.1H250.3l-53.8-409.4 139.8 86.1L512 252.9l175.7 234.4 139.8-86.1-53.9 409.4zM512 509c-62.1 0-112.6 50.5-112.6 112.6S449.9 734.2 512 734.2s112.6-50.5 112.6-112.6S574.1 509 512 509zm0 160.9c-26.6 0-48.2-21.6-48.2-48.3 0-26.6 21.6-48.3 48.2-48.3s48.2 21.6 48.2 48.3c0 26.6-21.6 48.3-48.2 48.3z"}}]},name:"crown",theme:"outlined"},r2=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:r4}))}),r3={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M911.9 283.9v.5L835.5 865c-1 8-7.9 14-15.9 14H204.5c-8.1 0-14.9-6.1-16-14l-76.4-580.6v-.6 1.6L188.5 866c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.1-.5.1-1 0-1.5z",fill:t}},{tag:"path",attrs:{d:"M773.6 810.6l53.9-409.4-139.8 86.1L512 252.9 336.3 487.3l-139.8-86.1 53.8 409.4h523.3zm-374.2-189c0-62.1 50.5-112.6 112.6-112.6s112.6 50.5 112.6 112.6v1c0 62.1-50.5 112.6-112.6 112.6s-112.6-50.5-112.6-112.6v-1z",fill:t}},{tag:"path",attrs:{d:"M512 734.2c61.9 0 112.3-50.2 112.6-112.1v-.5c0-62.1-50.5-112.6-112.6-112.6s-112.6 50.5-112.6 112.6v.5c.3 61.9 50.7 112.1 112.6 112.1zm0-160.9c26.6 0 48.2 21.6 48.2 48.3 0 26.6-21.6 48.3-48.2 48.3s-48.2-21.6-48.2-48.3c0-26.6 21.6-48.3 48.2-48.3z",fill:e}},{tag:"path",attrs:{d:"M188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6v-.5c.3-6.4-6.7-10.8-12.3-7.4L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.5-3.4-12.6.9-12.2 7.3v.6L188.5 865zm147.8-377.7L512 252.9l175.7 234.4 139.8-86.1-53.9 409.4H250.3l-53.8-409.4 139.8 86.1z",fill:e}}]}},name:"crown",theme:"twotone"},r8=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:r3}))}),r6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384z"}}]},name:"customer-service",theme:"filled"},r0=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:r6}))}),r5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384zM328 632v192H200V632h128zm496 192H696V632h128v192z"}}]},name:"customer-service",theme:"outlined"},r7=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:r5}))}),r9={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 632h128v192H696zm-496 0h128v192H200z",fill:t}},{tag:"path",attrs:{d:"M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384zM328 632v192H200V632h128zm496 192H696V632h128v192z",fill:e}}]}},name:"customer-service",theme:"twotone"},ae=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:r9}))}),at={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M112 476h160v72H112zm320 0h160v72H432zm320 0h160v72H752z"}}]},name:"dash",theme:"outlined"},ac=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:at}))}),an={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM482 232c0-4.4 3.6-8 8-8h44c4.4 0 8 3.6 8 8v80c0 4.4-3.6 8-8 8h-44c-4.4 0-8-3.6-8-8v-80zM270 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44zm90.7-204.5l-31.1 31.1a8.03 8.03 0 01-11.3 0L261.7 352a8.03 8.03 0 010-11.3l31.1-31.1c3.1-3.1 8.2-3.1 11.3 0l56.6 56.6c3.1 3.1 3.1 8.2 0 11.3zm291.1 83.6l-84.5 84.5c5 18.7.2 39.4-14.5 54.1a55.95 55.95 0 01-79.2 0 55.95 55.95 0 010-79.2 55.87 55.87 0 0154.1-14.5l84.5-84.5c3.1-3.1 8.2-3.1 11.3 0l28.3 28.3c3.1 3.1 3.1 8.1 0 11.3zm43-52.4l-31.1-31.1a8.03 8.03 0 010-11.3l56.6-56.6c3.1-3.1 8.2-3.1 11.3 0l31.1 31.1c3.1 3.1 3.1 8.2 0 11.3l-56.6 56.6a8.03 8.03 0 01-11.3 0zM846 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44z"}}]},name:"dashboard",theme:"filled"},ar=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:an}))}),aa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276zM623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z"}}]},name:"dashboard",theme:"outlined"},al=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:aa}))}),ao={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 188c-99.3 0-192.7 38.7-263 109-70.3 70.2-109 163.6-109 263 0 105.6 44.5 205.5 122.6 276h498.8A371.12 371.12 0 00884 560c0-99.3-38.7-192.7-109-263-70.2-70.3-163.6-109-263-109zm-30 44c0-4.4 3.6-8 8-8h44c4.4 0 8 3.6 8 8v80c0 4.4-3.6 8-8 8h-44c-4.4 0-8-3.6-8-8v-80zM270 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44zm90.7-204.4l-31.1 31.1a8.03 8.03 0 01-11.3 0l-56.6-56.6a8.03 8.03 0 010-11.3l31.1-31.1c3.1-3.1 8.2-3.1 11.3 0l56.6 56.6c3.1 3.1 3.1 8.2 0 11.3zm291.1 83.5l-84.5 84.5c5 18.7.2 39.4-14.5 54.1a55.95 55.95 0 01-79.2 0 55.95 55.95 0 010-79.2 55.87 55.87 0 0154.1-14.5l84.5-84.5c3.1-3.1 8.2-3.1 11.3 0l28.3 28.3c3.1 3.1 3.1 8.2 0 11.3zm43-52.4l-31.1-31.1a8.03 8.03 0 010-11.3l56.6-56.6c3.1-3.1 8.2-3.1 11.3 0l31.1 31.1c3.1 3.1 3.1 8.2 0 11.3l-56.6 56.6a8.03 8.03 0 01-11.3 0zM846 538v44c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8z",fill:t}},{tag:"path",attrs:{d:"M623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8z",fill:e}},{tag:"path",attrs:{d:"M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276z",fill:e}},{tag:"path",attrs:{d:"M762.7 340.8l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zM750 538v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zM304.1 309.7a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"dashboard",theme:"twotone"},ai=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ao}))}),au={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 32v224h704V96c0-17.7-14.3-32-32-32zM288 232c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zM160 928c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V704H160v224zm128-136c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM160 640h704V384H160v256zm128-168c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z"}}]},name:"database",theme:"filled"},as=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:au}))}),af=c(13520),ah={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 616h560V408H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 888h560V680H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 344h560V136H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M304 512a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0-544a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}},{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-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z",fill:e}}]}},name:"database",theme:"twotone"},ad=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ah}))}),av={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M651.1 641.9a7.84 7.84 0 00-5.1-1.9h-54.7c-2.4 0-4.6 1.1-6.1 2.9L512 730.7l-73.1-87.8a8.1 8.1 0 00-6.1-2.9H378c-1.9 0-3.7.7-5.1 1.9a7.97 7.97 0 00-1 11.3L474.2 776 371.8 898.9a8.06 8.06 0 006.1 13.2h54.7c2.4 0 4.6-1.1 6.1-2.9l73.1-87.8 73.1 87.8a8.1 8.1 0 006.1 2.9h55c1.9 0 3.7-.7 5.1-1.9 3.4-2.8 3.9-7.9 1-11.3L549.8 776l102.4-122.9c2.8-3.4 2.3-8.4-1.1-11.2zM472 544h80c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8zM350 386H184V136c0-3.3-2.7-6-6-6h-60c-3.3 0-6 2.7-6 6v292c0 16.6 13.4 30 30 30h208c3.3 0 6-2.7 6-6v-60c0-3.3-2.7-6-6-6zm556-256h-60c-3.3 0-6 2.7-6 6v250H674c-3.3 0-6 2.7-6 6v60c0 3.3 2.7 6 6 6h208c16.6 0 30-13.4 30-30V136c0-3.3-2.7-6-6-6z"}}]},name:"delete-column",theme:"outlined"},am=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:av}))}),ag=c(27704),ap=c(82061),az={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M819.8 512l102.4-122.9a8.06 8.06 0 00-6.1-13.2h-54.7c-2.4 0-4.6 1.1-6.1 2.9L782 466.7l-73.1-87.8a8.1 8.1 0 00-6.1-2.9H648c-1.9 0-3.7.7-5.1 1.9a7.97 7.97 0 00-1 11.3L744.2 512 641.8 634.9a8.06 8.06 0 006.1 13.2h54.7c2.4 0 4.6-1.1 6.1-2.9l73.1-87.8 73.1 87.8a8.1 8.1 0 006.1 2.9h55c1.9 0 3.7-.7 5.1-1.9 3.4-2.8 3.9-7.9 1-11.3L819.8 512zM536 464H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h416c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-84 204h-60c-3.3 0-6 2.7-6 6v166H136c-3.3 0-6 2.7-6 6v60c0 3.3 2.7 6 6 6h292c16.6 0 30-13.4 30-30V674c0-3.3-2.7-6-6-6zM136 184h250v166c0 3.3 2.7 6 6 6h60c3.3 0 6-2.7 6-6V142c0-16.6-13.4-30-30-30H136c-3.3 0-6 2.7-6 6v60c0 3.3 2.7 6 6 6z"}}]},name:"delete-row",theme:"outlined"},aw=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:az}))}),aM={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"},aZ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:aM}))}),aH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},ab=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:aH}))}),aV=c(13179),aC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{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"}}]},name:"desktop",theme:"outlined"},ax=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:aC}))}),aE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.2 306.6L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23zM553.4 201.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM568 753c0 3.8-3.4 7-7.5 7h-225c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7h225c4.1 0 7.5 3.2 7.5 7v42zm0-220c0 3.8-3.4 7-7.5 7H476v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V540h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H420v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1V484h84.5c4.1 0 7.5 3.1 7.5 7v42z"}}]},name:"diff",theme:"filled"},aL=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:aE}))}),ay={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M476 399.1c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1V484h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H420v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V540h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H476v-84.9zM560.5 704h-225c-4.1 0-7.5 3.2-7.5 7v42c0 3.8 3.4 7 7.5 7h225c4.1 0 7.5-3.2 7.5-7v-42c0-3.8-3.4-7-7.5-7zm-7.1-502.6c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM664 888H232V264h282.2L664 413.8V888zm190.2-581.4L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23z"}}]},name:"diff",theme:"outlined"},aR=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ay}))}),aB={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 264v624h432V413.8L514.2 264H232zm336 489c0 3.8-3.4 7-7.5 7h-225c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7h225c4.1 0 7.5 3.2 7.5 7v42zm0-262v42c0 3.8-3.4 7-7.5 7H476v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V540h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H420v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1V484h84.5c4.1 0 7.5 3.1 7.5 7z",fill:t}},{tag:"path",attrs:{d:"M854.2 306.6L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23z",fill:e}},{tag:"path",attrs:{d:"M553.4 201.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM664 888H232V264h282.2L664 413.8V888z",fill:e}},{tag:"path",attrs:{d:"M476 399.1c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1V484h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H420v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V540h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H476v-84.9zM560.5 704h-225c-4.1 0-7.5 3.2-7.5 7v42c0 3.8 3.4 7 7.5 7h225c4.1 0 7.5-3.2 7.5-7v-42c0-3.8-3.4-7-7.5-7z",fill:e}}]}},name:"diff",theme:"twotone"},aS=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:aB}))}),aO=c(75835),ak={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 64zm227 385.3c-1 4.2-3.5 10.4-7 17.8h.1l-.4.7c-20.3 43.1-73.1 127.7-73.1 127.7s-.1-.2-.3-.5l-15.5 26.8h74.5L575.1 810l32.3-128h-58.6l20.4-84.7c-16.5 3.9-35.9 9.4-59 16.8 0 0-31.2 18.2-89.9-35 0 0-39.6-34.7-16.6-43.4 9.8-3.7 47.4-8.4 77-12.3 40-5.4 64.6-8.2 64.6-8.2S422 517 392.7 512.5c-29.3-4.6-66.4-53.1-74.3-95.8 0 0-12.2-23.4 26.3-12.3 38.5 11.1 197.9 43.2 197.9 43.2s-207.4-63.3-221.2-78.7c-13.8-15.4-40.6-84.2-37.1-126.5 0 0 1.5-10.5 12.4-7.7 0 0 153.3 69.7 258.1 107.9 104.8 37.9 195.9 57.3 184.2 106.7z"}}]},name:"dingtalk-circle",theme:"filled"},aT=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ak}))}),a$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z"}}]},name:"dingtalk",theme:"outlined"},aF=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a$}))}),aA={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-32zM739 449.3c-1 4.2-3.5 10.4-7 17.8h.1l-.4.7c-20.3 43.1-73.1 127.7-73.1 127.7s-.1-.2-.3-.5l-15.5 26.8h74.5L575.1 810l32.3-128h-58.6l20.4-84.7c-16.5 3.9-35.9 9.4-59 16.8 0 0-31.2 18.2-89.9-35 0 0-39.6-34.7-16.6-43.4 9.8-3.7 47.4-8.4 77-12.3 40-5.4 64.6-8.2 64.6-8.2S422 517 392.7 512.5c-29.3-4.6-66.4-53.1-74.3-95.8 0 0-12.2-23.4 26.3-12.3 38.5 11.1 197.9 43.2 197.9 43.2s-207.4-63.3-221.2-78.7c-13.8-15.4-40.6-84.2-37.1-126.5 0 0 1.5-10.5 12.4-7.7 0 0 153.3 69.7 258.1 107.9 104.8 37.9 195.9 57.3 184.2 106.7z"}}]},name:"dingtalk-square",theme:"filled"},aI=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:aA}))}),aP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832.6 191.4c-84.6-84.6-221.5-84.6-306 0l-96.9 96.9 51 51 96.9-96.9c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204l-96.9 96.9 51.1 51.1 96.9-96.9c84.4-84.6 84.4-221.5-.1-306.1zM446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l96.9-96.9-51.1-51.1-96.9 96.9c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l96.9-96.9-51-51-96.8 97zM260.3 209.4a8.03 8.03 0 00-11.3 0L209.4 249a8.03 8.03 0 000 11.3l554.4 554.4c3.1 3.1 8.2 3.1 11.3 0l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3L260.3 209.4z"}}]},name:"disconnect",theme:"outlined"},aD=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:aP}))}),aN={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.15 87c51.16 0 92.41 41.36 94.85 90.03V960l-97.4-82.68-53.48-48.67-58.35-50.85 24.37 80.2H210.41c-51 0-92.41-38.74-92.41-90.06V177.21c0-48.67 41.48-90.1 92.6-90.1h600.3zM588.16 294.1h-1.09l-7.34 7.28c75.38 21.8 111.85 55.86 111.85 55.86-48.58-24.28-92.36-36.42-136.14-41.32-31.64-4.91-63.28-2.33-90 0h-7.28c-17.09 0-53.45 7.27-102.18 26.7-16.98 7.39-26.72 12.22-26.72 12.22s36.43-36.42 116.72-55.86l-4.9-4.9s-60.8-2.33-126.44 46.15c0 0-65.64 114.26-65.64 255.13 0 0 36.36 63.24 136.11 65.64 0 0 14.55-19.37 29.27-36.42-56-17-77.82-51.02-77.82-51.02s4.88 2.4 12.19 7.27h2.18c1.09 0 1.6.54 2.18 1.09v.21c.58.59 1.09 1.1 2.18 1.1 12 4.94 24 9.8 33.82 14.53a297.58 297.58 0 0065.45 19.48c33.82 4.9 72.59 7.27 116.73 0 21.82-4.9 43.64-9.7 65.46-19.44 14.18-7.27 31.63-14.54 50.8-26.79 0 0-21.82 34.02-80.19 51.03 12 16.94 28.91 36.34 28.91 36.34 99.79-2.18 138.55-65.42 140.73-62.73 0-140.65-66-255.13-66-255.13-59.45-44.12-115.09-45.8-124.91-45.8l2.04-.72zM595 454c25.46 0 46 21.76 46 48.41 0 26.83-20.65 48.59-46 48.59s-46-21.76-46-48.37c.07-26.84 20.75-48.52 46-48.52zm-165.85 0c25.35 0 45.85 21.76 45.85 48.41 0 26.83-20.65 48.59-46 48.59s-46-21.76-46-48.37c0-26.84 20.65-48.52 46-48.52z"}}]},name:"discord",theme:"filled"},aq=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:aN}))}),aj={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M405 158l-25 3s-112.13 12.26-194.02 78.02h-.96l-1.02.96c-18.37 16.9-26.37 37.67-39 68.04a982.08 982.08 0 00-38 112C83.27 505.87 64 609.87 64 705v8l4 8c29.63 52 82.24 85.12 131 108 48.74 22.88 90.89 35 120 36l19.02.99 9.98-17 35-62c37.13 8.38 79.88 14 129 14 49.12 0 91.87-5.62 129-14l35 62 10.02 17 18.97-1c29.12-.98 71.27-13.11 120-36 48.77-22.87 101.38-56 131.01-108l4-8v-8c0-95.13-19.26-199.13-43-284.98a982.08 982.08 0 00-38-112c-12.63-30.4-20.63-51.14-39-68l-1-1.03h-1.02C756.16 173.26 644 161.01 644 161.01L619 158l-9.02 23s-9.24 23.37-14.97 50.02a643.04 643.04 0 00-83.01-6.01c-17.12 0-46.72 1.12-83 6.01a359.85 359.85 0 00-15.02-50.01zm-44 73.02c1.37 4.48 2.74 8.36 4 12-41.38 10.24-85.51 25.86-126 50.98l34 54.02C356 296.5 475.22 289 512 289c36.74 0 156 7.49 239 59L785 294c-40.49-25.12-84.62-40.74-126-51 1.26-3.62 2.63-7.5 4-12 29.86 6 86.89 19.77 134 57.02-.26.12 12 18.62 23 44.99 11.26 27.13 23.74 63.26 35 104 21.64 78.11 38.63 173.25 40 256.99-20.15 30.75-57.5 58.5-97.02 77.02A311.8 311.8 0 01720 795.98l-16-26.97c9.5-3.52 18.88-7.36 27-11.01 49.26-21.63 76-45 76-45l-42-48s-18 16.52-60 35.02C663.03 718.52 598.87 737 512 737s-151-18.5-193-37c-42-18.49-60-35-60-35l-42 48s26.74 23.36 76 44.99a424.47 424.47 0 0027 11l-16 27.02a311.8 311.8 0 01-78.02-25.03c-39.48-18.5-76.86-46.24-96.96-76.99 1.35-83.74 18.34-178.88 40-257A917.22 917.22 0 01204 333c11-26.36 23.26-44.86 23-44.98 47.11-37.25 104.14-51.01 134-57m39 217.99c-24.74 0-46.62 14.11-60 32-13.38 17.89-20 39.87-20 64s6.62 46.11 20 64c13.38 17.89 35.26 32 60 32 24.74 0 46.62-14.11 60-32 13.38-17.89 20-39.87 20-64s-6.62-46.11-20-64c-13.38-17.89-35.26-32-60-32m224 0c-24.74 0-46.62 14.11-60 32-13.38 17.89-20 39.87-20 64s6.62 46.11 20 64c13.38 17.89 35.26 32 60 32 24.74 0 46.62-14.11 60-32 13.38-17.89 20-39.87 20-64s-6.62-46.11-20-64c-13.38-17.89-35.26-32-60-32m-224 64c1.76 0 4 .64 8 6.01 4 5.35 8 14.72 8 25.99 0 11.26-4 20.64-8 26.01-4 5.35-6.24 5.99-8 5.99-1.76 0-4-.64-8-6.02a44.83 44.83 0 01-8-25.98c0-11.27 4-20.64 8-26.02 4-5.34 6.24-5.98 8-5.98m224 0c1.76 0 4 .64 8 6.01 4 5.35 8 14.72 8 25.99 0 11.26-4 20.64-8 26.01-4 5.35-6.24 5.99-8 5.99-1.76 0-4-.64-8-6.02a44.83 44.83 0 01-8-25.98c0-11.27 4-20.64 8-26.02 4-5.34 6.24-5.98 8-5.98"}}]},name:"discord",theme:"outlined"},aW=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:aj}))}),aY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H273v428h.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM112 132v364c0 17.7 14.3 32 32 32h65V100h-65c-17.7 0-32 14.3-32 32z"}}]},name:"dislike",theme:"filled"},a_=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:aY}))}),aK=c(15381),aX={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M273 100.1v428h.3l-.3-428zM820.4 525l-21.9-19 14-25.5a56.2 56.2 0 006.9-27.3c0-16.5-7.1-32.2-19.6-43l-21.9-19 13.9-25.4a56.2 56.2 0 006.9-27.3c0-16.5-7.1-32.2-19.6-43l-21.9-19 13.9-25.4a56.2 56.2 0 006.9-27.3c0-22.4-13.2-42.6-33.6-51.8H345v345.2c18.6 67.2 46.4 168 83.5 302.5a44.28 44.28 0 0042.2 32.3c7.5.1 15-2.2 21.1-6.7 9.9-7.4 15.2-18.6 14.6-30.5l-9.6-198.4h314.4C829 605.5 840 587.1 840 568c0-16.5-7.1-32.2-19.6-43z",fill:t}},{tag:"path",attrs:{d:"M112 132v364c0 17.7 14.3 32 32 32h65V100h-65c-17.7 0-32 14.3-32 32zm773.9 358.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H273l.3 428 85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zm-74.7 126.1H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3c-37.1-134.4-64.9-235.2-83.5-302.5V172h399.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z",fill:e}}]}},name:"dislike",theme:"twotone"},aU=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:aX}))}),aG={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M555.88 488.24h-92.62v-82.79h92.62zm0-286.24h-92.62v85.59h92.62zm109.45 203.45H572.7v82.79h92.62zm-218.9-101.02h-92.61v84.18h92.6zm109.45 0h-92.61v84.18h92.6zm388.69 140.3c-19.65-14.02-67.36-18.23-102.44-11.22-4.2-33.67-23.85-63.14-57.53-89.8l-19.65-12.62-12.62 19.64c-25.26 39.29-32.28 103.83-5.62 145.92-12.63 7.02-36.48 15.44-67.35 15.44H67.56c-12.63 71.56 8.42 164.16 61.74 227.3C181.22 801.13 259.8 832 360.83 832c220.3 0 384.48-101.02 460.25-286.24 29.47 0 95.42 0 127.7-63.14 1.4-2.8 9.82-18.24 11.22-23.85zm-717.04-39.28h-92.61v82.79h92.6zm109.45 0h-92.61v82.79h92.6zm109.45 0h-92.61v82.79h92.6zM336.98 304.43h-92.61v84.19h92.6z"}}]},name:"docker",theme:"outlined"},aQ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:aG}))}),aJ={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 64zm22.3 665.2l.2 31.7c0 4.4-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4C401.3 723 359.5 672.4 355 617.4c-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.7 29.8 55.4 74.1 61.3V533.9l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-72.9 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.9 46.9 125.9 109.2.5 4.7-3.2 8.8-8 8.8h-44.9c-4 0-7.4-3-7.9-6.9-4-29.2-27.4-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 108.9 116.4 0 75.3-56 117.3-134.3 124.1zM426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-36.9 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.8-.6-5.6-1.3-8.8-2.2V677c42.6-3.8 72-27.2 72-66.4 0-30.7-15.9-50.7-63.2-65.1z"}}]},name:"dollar-circle",theme:"filled"},a1=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:aJ}))}),a4={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 372zm47.7-395.2l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z"}}]},name:"dollar-circle",theme:"outlined"},a2=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a4}))}),a3={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-37 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.9-.6-5.7-1.3-8.8-2.2V677c42.6-3.8 72-27.3 72-66.4 0-30.7-15.9-50.7-63.2-65.1z",fill:t}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm22.4 589.2l.2 31.7c0 4.5-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4c-89-6.5-130.7-57.1-135.2-112.1-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.8 29.9 55.4 74.1 61.3V534l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-73 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.8 46.9 125.9 109.2a8.1 8.1 0 01-8 8.8h-44.9c-4 0-7.4-2.9-7.9-6.9-4-29.2-27.5-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 109 116.4 0 75.2-56 117.1-134.3 124z",fill:t}},{tag:"path",attrs:{d:"M559.7 488.8l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z",fill:e}}]}},name:"dollar-circle",theme:"twotone"},a8=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a3}))}),a6={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 372zm47.7-395.2l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z"}}]},name:"dollar",theme:"outlined"},a0=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a6}))}),a5={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-37 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.9-.6-5.7-1.3-8.8-2.2V677c42.6-3.8 72-27.3 72-66.4 0-30.7-15.9-50.7-63.2-65.1z",fill:t}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm22.4 589.2l.2 31.7c0 4.5-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4c-89-6.5-130.7-57.1-135.2-112.1-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.8 29.9 55.4 74.1 61.3V534l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-73 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.8 46.9 125.9 109.2a8.1 8.1 0 01-8 8.8h-44.9c-4 0-7.4-2.9-7.9-6.9-4-29.2-27.5-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 109 116.4 0 75.2-56 117.1-134.3 124z",fill:t}},{tag:"path",attrs:{d:"M559.7 488.8l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z",fill:e}}]}},name:"dollar",theme:"twotone"},a7=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a5}))}),a9=c(24753),le=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a9.Z}))}),lt={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"g",attrs:{"fill-opacity":".88"},children:[{tag:"path",attrs:{d:"M101.28 662c-10.65 0-19.53-3.3-26.63-9.89-7.1-6.6-10.65-14.7-10.65-24.32 0-9.89 3.65-18 10.96-24.31 7.3-6.32 16.42-9.48 27.35-9.48 11.06 0 20.1 3.2 27.14 9.58 7.03 6.39 10.55 14.46 10.55 24.21 0 10.03-3.58 18.24-10.76 24.63-7.17 6.39-16.49 9.58-27.96 9.58M458 657h-66.97l-121.4-185.35c-7.13-10.84-12.06-19-14.8-24.48h-.82c1.1 10.42 1.65 26.33 1.65 47.72V657H193V362h71.49l116.89 179.6a423.23 423.23 0 0114.79 24.06h.82c-1.1-6.86-1.64-20.37-1.64-40.53V362H458zM702 657H525V362h170.2v54.1H591.49v65.63H688v53.9h-96.52v67.47H702zM960 416.1h-83.95V657h-66.5V416.1H726V362h234z"}}]}]},name:"dot-net",theme:"outlined"},lc=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lt}))}),ln=c(27139),lr=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ln.Z}))}),la=c(34061),ll=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:la.Z}))}),lo={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 64zm184.5 353.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7H381c10.2 0 19.9 4.9 25.9 13.2L512 563.6l105.2-145.4c6-8.3 15.6-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"down-circle",theme:"filled"},li=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lo}))}),lu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z"}},{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"}}]},name:"down-circle",theme:"outlined"},ls=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lu}))}),lf={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm184.4 277.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.3 0 19.9 4.9 25.9 13.2L512 563.6l105.2-145.4c6-8.3 15.7-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.4 12.7z",fill:t}},{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",fill:e}},{tag:"path",attrs:{d:"M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z",fill:e}}]}},name:"down-circle",theme:"twotone"},lh=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lf}))}),ld=c(66023),lv=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ld.Z}))}),lm={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-32zM696.5 412.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7H381c10.2 0 19.9 4.9 25.9 13.2L512 558.6l105.2-145.4c6-8.3 15.6-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"down-square",theme:"filled"},lg=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lm}))}),lp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.5 658.7c3.2 4.4 9.7 4.4 12.9 0l178-246c3.8-5.3 0-12.7-6.5-12.7H643c-10.2 0-19.9 4.9-25.9 13.2L512 558.6 406.8 413.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246z"}},{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:"down-square",theme:"outlined"},lz=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lp}))}),lw={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm150-440h46.9c10.3 0 19.9 4.9 25.9 13.2L512 558.6l105.2-145.4c6-8.3 15.7-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.4 12.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7z",fill:t}},{tag:"path",attrs:{d:"M505.5 658.7c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 558.6 406.8 413.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246z",fill:e}}]}},name:"down-square",theme:"twotone"},lM=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lw}))}),lZ=c(69753),lH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.3 506.3L781.7 405.6a7.23 7.23 0 00-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7a7.14 7.14 0 00-11.3 0L405.6 242.3a7.23 7.23 0 005.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8a7.3 7.3 0 00.1-11.4z"}}]},name:"drag",theme:"outlined"},lb=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lH}))}),lV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M675.1 328.3a245.2 245.2 0 00-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6zm47.7-11.9c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 736c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm53.1-346.2c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm30.6 82.5c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4z"}}]},name:"dribbble-circle",theme:"filled"},lC=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lV}))}),lx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 96C282.6 96 96 282.6 96 512s186.6 416 416 416 416-186.6 416-416S741.4 96 512 96zm275.1 191.8c49.5 60.5 79.5 137.5 80.2 221.4-11.7-2.5-129.2-26.3-247.4-11.4-2.5-6.1-5-12.2-7.6-18.3-7.4-17.3-15.3-34.6-23.6-51.5C720 374.3 779.6 298 787.1 287.8zM512 157.2c90.3 0 172.8 33.9 235.5 89.5-6.4 9.1-59.9 81-186.2 128.4-58.2-107-122.7-194.8-132.6-208 27.3-6.6 55.2-9.9 83.3-9.9zM360.9 191c9.4 12.8 72.9 100.9 131.7 205.5C326.4 440.6 180 440 164.1 439.8c23.1-110.3 97.4-201.9 196.8-248.8zM156.7 512.5c0-3.6.1-7.3.2-10.9 15.5.3 187.7 2.5 365.2-50.6 10.2 19.9 19.9 40.1 28.8 60.3-4.7 1.3-9.4 2.7-14 4.2C353.6 574.9 256.1 736.4 248 750.1c-56.7-63-91.3-146.3-91.3-237.6zM512 867.8c-82.2 0-157.9-28-218.1-75 6.4-13.1 78.3-152 278.7-221.9l2.3-.8c49.9 129.6 70.5 238.3 75.8 269.5A350.46 350.46 0 01512 867.8zm198.5-60.7c-3.6-21.6-22.5-125.6-69-253.3C752.9 536 850.7 565.2 862.8 569c-15.8 98.8-72.5 184.2-152.3 238.1z"}}]},name:"dribbble",theme:"outlined"},lE=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lx}))}),lL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm66.5 21.8c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM880 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-32zM512 800c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm89.7-259.1c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zm-72.5-26.4c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4zm145.9-186.2a245.2 245.2 0 00-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6z"}}]},name:"dribbble-square",theme:"filled"},ly=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lL}))}),lR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm66.5 21.8c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM880 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-32zM512 800c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm89.7-259.1c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zm-72.5-26.4c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4zm145.9-186.2a245.2 245.2 0 00-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6z"}}]},name:"dribbble-square",theme:"outlined"},lB=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lR}))}),lS={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M663.8 455.5zm-151.5-93.8l-151.8 93.8 151.8 93.9 151.5-93.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm151.2 595.5L512.6 750l-151-90.5v-33.1l45.4 29.4 105.6-87.7 105.6 87.7 45.1-29.4v33.1zm-45.6-22.4l-105.3-87.7L407 637.1l-151-99.2 104.5-82.4L256 371.2 407 274l105.3 87.7L617.6 274 768 372.1l-104.2 83.5L768 539l-150.4 98.1z"}}]},name:"dropbox-circle",theme:"filled"},lO=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lS}))}),lk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M64 556.9l264.2 173.5L512.5 577 246.8 412.7zm896-290.3zm0 0L696.8 95 512.5 248.5l265.2 164.2L512.5 577l184.3 153.4L960 558.8 777.7 412.7zM513 609.8L328.2 763.3l-79.4-51.5v57.8L513 928l263.7-158.4v-57.8l-78.9 51.5zM328.2 95L64 265.1l182.8 147.6 265.7-164.2zM64 556.9z"}}]},name:"dropbox",theme:"outlined"},lT=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lk}))}),l$={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-32zM663.2 659.5L512.6 750l-151-90.5v-33.1l45.4 29.4 105.6-87.7 105.6 87.7 45.1-29.4v33.1zm-45.6-22.4l-105.3-87.7L407 637.1l-151-99.2 104.5-82.4L256 371.2 407 274l105.3 87.7L617.6 274 768 372.1l-104.2 83.5L768 539l-150.4 98.1zM512.3 361.7l-151.8 93.8 151.8 93.9 151.5-93.9zm151.5 93.8z"}}]},name:"dropbox-square",theme:"filled"},lF=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:l$}))}),lA=c(36531),lI=c(47389),lP={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M761.1 288.3L687.8 215 325.1 577.6l-15.6 89 88.9-15.7z",fill:t}},{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89z",fill:e}}]}},name:"edit",theme:"twotone"},lD=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lP}))}),lN=c(3471),lq=c(63404),lj=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lq.Z}))}),lW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 327c-29.9 0-58 11.6-79.2 32.8A111.6 111.6 0 00400 439c0 29.9 11.7 58 32.8 79.2A111.6 111.6 0 00512 551c29.9 0 58-11.7 79.2-32.8C612.4 497 624 468.9 624 439c0-29.9-11.6-58-32.8-79.2S541.9 327 512 327zm342.6-37.9a362.49 362.49 0 00-79.9-115.7 370.83 370.83 0 00-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 00169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0022.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 615c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z"}}]},name:"environment",theme:"filled"},lY=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lW}))}),l_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 289.1a362.49 362.49 0 00-79.9-115.7 370.83 370.83 0 00-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 00169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0022.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 880.2c-65.9-41.9-300-207.8-300-449.1 0-77.9 31.1-151.1 87.6-206.3C356.3 169.5 431.7 139 512 139s155.7 30.5 212.4 85.9C780.9 280 812 353.2 812 431.1c0 241.3-234.1 407.2-300 449.1zm0-617.2c-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 551c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 439c0-29.9 11.7-58 32.8-79.2C454 338.6 482.1 327 512 327c29.9 0 58 11.6 79.2 32.8C612.4 381 624 409.1 624 439c0 29.9-11.6 58-32.8 79.2z"}}]},name:"environment",theme:"outlined"},lK=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:l_}))}),lX={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724.4 224.9C667.7 169.5 592.3 139 512 139s-155.7 30.5-212.4 85.8C243.1 280 212 353.2 212 431.1c0 241.3 234.1 407.2 300 449.1 65.9-41.9 300-207.8 300-449.1 0-77.9-31.1-151.1-87.6-206.2zM512 615c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z",fill:t}},{tag:"path",attrs:{d:"M512 263c-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 551c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 439c0-29.9 11.7-58 32.8-79.2C454 338.6 482.1 327 512 327c29.9 0 58 11.6 79.2 32.8S624 409.1 624 439c0 29.9-11.6 58-32.8 79.2z",fill:e}},{tag:"path",attrs:{d:"M854.6 289.1a362.49 362.49 0 00-79.9-115.7 370.83 370.83 0 00-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 00169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0022.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 880.2c-65.9-41.9-300-207.8-300-449.1 0-77.9 31.1-151.1 87.6-206.3C356.3 169.5 431.7 139 512 139s155.7 30.5 212.4 85.9C780.9 280 812 353.2 812 431.1c0 241.3-234.1 407.2-300 449.1z",fill:e}}]}},name:"environment",theme:"twotone"},lU=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lX}))}),lG={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 64zm63.5 375.8c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8h-136c-.3 4.4-.3 9.1-.3 13.8v36h136.2c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H444.9c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.2 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.3 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H344c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.8.3-12.8H344c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.7c19.7-94.2 92-149.9 198.6-149.9 20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346h.1c0 5.1-4.6 8.8-9.6 7.8-14.7-2.9-31.8-4.4-51.7-4.4-65.4 0-110.4 33.5-127.6 90.4h128.4z"}}]},name:"euro-circle",theme:"filled"},lQ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lG}))}),lJ={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 372zm117.7-588.6c-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H344c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H344c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H439.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H447.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8z"}}]},name:"euro-circle",theme:"outlined"},l1=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:lJ}))}),l4={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm117.1 581.1c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.4 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.7.3-12.8H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.8C388.5 345.7 460.7 290 567.4 290c20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346a8 8 0 01-9.6 7.8c-14.6-2.9-31.8-4.4-51.7-4.4-65.3 0-110.4 33.5-127.6 90.4h128.3c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8H432.5c-.3 4.4-.3 9.1-.3 13.8v36h136.4c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H438c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.3 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8z",fill:t}},{tag:"path",attrs:{d:"M619.6 670.5c-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H432.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H440.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H337c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H337c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8z",fill:e}}]}},name:"euro-circle",theme:"twotone"},l2=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:l4}))}),l3={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 372zm117.7-588.6c-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H344c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H344c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H439.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H447.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8z"}}]},name:"euro",theme:"outlined"},l8=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:l3}))}),l6={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm117.1 581.1c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.4 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.7.3-12.8H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.8C388.5 345.7 460.7 290 567.4 290c20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346a8 8 0 01-9.6 7.8c-14.6-2.9-31.8-4.4-51.7-4.4-65.3 0-110.4 33.5-127.6 90.4h128.3c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8H432.5c-.3 4.4-.3 9.1-.3 13.8v36h136.4c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H438c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.3 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8z",fill:t}},{tag:"path",attrs:{d:"M619.6 670.5c-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H432.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H440.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H337c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H337c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8z",fill:e}}]}},name:"euro",theme:"twotone"},l0=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:l6}))}),l5={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-8H296zm376 116c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216zm107.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.5zM640 812a32 32 0 1064 0 32 32 0 10-64 0zm12-64h40c4.4 0 8-3.6 8-8V628c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v112c0 4.4 3.6 8 8 8zM440 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"}}]},name:"exception",theme:"outlined"},l7=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:l5}))}),l9=c(83707),oe=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:l9.Z}))}),ot=c(11475),oc={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-32 156c0-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",fill:t}},{tag:"path",attrs:{d:"M488 576h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8zm-24 112a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"exclamation-circle",theme:"twotone"},on=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oc}))}),or={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M448 804a64 64 0 10128 0 64 64 0 10-128 0zm32-168h64c4.4 0 8-3.6 8-8V164c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"exclamation",theme:"outlined"},oa=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:or}))}),ol={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"}}]},name:"expand-alt",theme:"outlined"},oo=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ol}))}),oi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M342 88H120c-17.7 0-32 14.3-32 32v224c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V168h174c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zm578 576h-48c-8.8 0-16 7.2-16 16v176H682c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h222c17.7 0 32-14.3 32-32V680c0-8.8-7.2-16-16-16zM342 856H168V680c0-8.8-7.2-16-16-16h-48c-8.8 0-16 7.2-16 16v224c0 17.7 14.3 32 32 32h222c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zM904 88H682c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h174v176c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V120c0-17.7-14.3-32-32-32z"}}]},name:"expand",theme:"outlined"},ou=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oi}))}),os={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M218.9 636.3l42.6 26.6c.1.1.3.2.4.3l12.7 8 .3.3a186.9 186.9 0 0094.1 25.1c44.9 0 87.2-15.7 121-43.8a256.27 256.27 0 01164.9-59.9c52.3 0 102.2 15.7 144.6 44.5l7.9 5-111.6-289V179.8h63.5c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8H264.7c-4.4 0-8 3.6-8 8v51.9c0 4.4 3.6 8 8 8h63.5v173.6L218.9 636.3zm333-203.1c22 0 39.9 17.9 39.9 39.9S573.9 513 551.9 513 512 495.1 512 473.1s17.9-39.9 39.9-39.9zM878 825.1l-29.9-77.4-85.7-53.5-.1.1c-.7-.5-1.5-1-2.2-1.5l-8.1-5-.3-.3c-29-17.5-62.3-26.8-97-26.8-44.9 0-87.2 15.7-121 43.8a256.27 256.27 0 01-164.9 59.9c-53 0-103.5-16.1-146.2-45.6l-28.9-18.1L146 825.1c-2.8 7.4-4.3 15.2-4.3 23 0 35.2 28.6 63.8 63.8 63.8h612.9c7.9 0 15.7-1.5 23-4.3a63.6 63.6 0 0036.6-82.5z"}}]},name:"experiment",theme:"filled"},of=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:os}))}),oh=c(90725),od={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M551.9 513c19.6 0 35.9-14.2 39.3-32.8A40.02 40.02 0 01552 512a40 40 0 01-40-39.4v.5c0 22 17.9 39.9 39.9 39.9zM752 687.8l-.3-.3c-29-17.5-62.3-26.8-97-26.8-44.9 0-87.2 15.7-121 43.8a256.27 256.27 0 01-164.9 59.9c-41.2 0-81-9.8-116.7-28L210.5 844h603l-59.9-155.2-1.6-1z",fill:t}},{tag:"path",attrs:{d:"M879 824.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.6-107.6.1-.2c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1l.6 1.6L813.5 844h-603z",fill:e}},{tag:"path",attrs:{d:"M552 512c19.3 0 35.4-13.6 39.2-31.8.6-2.7.8-5.4.8-8.2 0-22.1-17.9-40-40-40s-40 17.9-40 40v.6a40 40 0 0040 39.4z",fill:e}}]}},name:"experiment",theme:"twotone"},ov=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:od}))}),om=c(58638),og={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"},op=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:og}))}),oz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M508 624a112 112 0 00112-112c0-3.28-.15-6.53-.43-9.74L498.26 623.57c3.21.28 6.45.43 9.74.43zm370.72-458.44L836 122.88a8 8 0 00-11.31 0L715.37 232.23Q624.91 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.7 119.43 136.55 191.45L112.56 835a8 8 0 000 11.31L155.25 889a8 8 0 0011.31 0l712.16-712.12a8 8 0 000-11.32zM332 512a176 176 0 01258.88-155.28l-48.62 48.62a112.08 112.08 0 00-140.92 140.92l-48.62 48.62A175.09 175.09 0 01332 512z"}},{tag:"path",attrs:{d:"M942.2 486.2Q889.4 375 816.51 304.85L672.37 449A176.08 176.08 0 01445 676.37L322.74 798.63Q407.82 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5z"}}]},name:"eye-invisible",theme:"filled"},ow=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oz}))}),oM=c(42003),oZ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oM.Z}))}),oH={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M254.89 758.85l125.57-125.57a176 176 0 01248.82-248.82L757 256.72Q651.69 186.07 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q69.27 145.91 173.09 221.05zM942.2 486.2Q889.46 375.11 816.7 305L672.48 449.27a176.09 176.09 0 01-227.22 227.21L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5z",fill:t}},{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.5zM878.63 165.56L836 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",fill:e}},{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",fill:e}}]}},name:"eye-invisible",theme:"twotone"},ob=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oH}))}),oV=c(55287),oC={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M81.8 537.8a60.3 60.3 0 010-51.5C176.6 286.5 319.8 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 838c-192.1 0-335.4-100.5-430.2-300.2z",fill:t}},{tag:"path",attrs:{d:"M512 258c-161.3 0-279.4 81.8-362.7 254C232.6 684.2 350.7 766 512 766c161.4 0 279.5-81.8 362.7-254C791.4 339.8 673.3 258 512 258zm-4 430c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z",fill:t}},{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 258s279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766z",fill:e}},{tag:"path",attrs:{d:"M508 336c-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",fill:e}}]}},name:"eye",theme:"twotone"},ox=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oC}))}),oE={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-32zm-92.4 233.5h-63.9c-50.1 0-59.8 23.8-59.8 58.8v77.1h119.6l-15.6 120.7h-104V912H539.2V602.2H434.9V481.4h104.3v-89c0-103.3 63.1-159.6 155.3-159.6 44.2 0 82.1 3.3 93.2 4.8v107.9z"}}]},name:"facebook",theme:"filled"},oL=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oE}))}),oy={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-32zm-32 736H663.9V602.2h104l15.6-120.7H663.9v-77.1c0-35 9.7-58.8 59.8-58.8h63.9v-108c-11.1-1.5-49-4.8-93.2-4.8-92.2 0-155.3 56.3-155.3 159.6v89H434.9v120.7h104.3V848H176V176h672v672z"}}]},name:"facebook",theme:"outlined"},oR=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oy}))}),oB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M925.9 804l-24-199.2c-.8-6.6-8.9-9.4-13.6-4.7L829 659.5 557.7 388.3c-6.3-6.2-16.4-6.2-22.6 0L433.3 490 156.6 213.3a8.03 8.03 0 00-11.3 0l-45 45.2a8.03 8.03 0 000 11.3L422 591.7c6.2 6.3 16.4 6.3 22.6 0L546.4 490l226.1 226-59.3 59.3a8.01 8.01 0 004.7 13.6l199.2 24c5.1.7 9.5-3.7 8.8-8.9z"}}]},name:"fall",theme:"outlined"},oS=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oB}))}),oO={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M517.6 273.5L230.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm320 0L550.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm-620-25.5h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z"}}]},name:"fast-backward",theme:"filled"},ok=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oO}))}),oT={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M517.6 273.5L230.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm320 0L550.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm-620-25.5h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z"}}]},name:"fast-backward",theme:"outlined"},o$=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oT}))}),oF={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M793.8 499.3L506.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.6c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8a16.14 16.14 0 000-25.4zm-320 0L186.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.5c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8c4.1-3.2 6.2-8 6.2-12.7 0-4.6-2.1-9.4-6.2-12.6zM857.6 248h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z"}}]},name:"fast-forward",theme:"filled"},oA=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oF}))}),oI={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M793.8 499.3L506.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.6c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8a16.14 16.14 0 000-25.4zm-320 0L186.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.5c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8c4.1-3.2 6.2-8 6.2-12.7 0-4.6-2.1-9.4-6.2-12.6zM857.6 248h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z"}}]},name:"fast-forward",theme:"outlined"},oP=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oI}))}),oD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M600 395.4h91V649h79V267c0-4.4-3.6-8-8-8h-48.2c-3.7 0-7 2.6-7.7 6.3-2.6 12.1-6.9 22.3-12.9 30.9a86.14 86.14 0 01-26.3 24.4c-10.3 6.2-22 10.5-35 12.9-10.4 1.9-21 3-32 3.1a8 8 0 00-7.9 8v42.8c0 4.4 3.6 8 8 8zM871 702H567c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM443.9 312.7c-16.1-19-34.4-32.4-55.2-40.4-21.3-8.2-44.1-12.3-68.4-12.3-23.9 0-46.4 4.1-67.7 12.3-20.8 8-39 21.4-54.8 40.3-15.9 19.1-28.7 44.7-38.3 77-9.6 32.5-14.5 73-14.5 121.5 0 49.9 4.9 91.4 14.5 124.4 9.6 32.8 22.4 58.7 38.3 77.7 15.8 18.9 34 32.3 54.8 40.3 21.3 8.2 43.8 12.3 67.7 12.3 24.4 0 47.2-4.1 68.4-12.3 20.8-8 39.2-21.4 55.2-40.4 16.1-19 29-44.9 38.6-77.7 9.6-33 14.5-74.5 14.5-124.4 0-48.4-4.9-88.9-14.5-121.5-9.5-32.1-22.4-57.7-38.6-76.8zm-29.5 251.7c-1 21.4-4.2 42-9.5 61.9-5.5 20.7-14.5 38.5-27 53.4-13.6 16.3-33.2 24.3-57.6 24.3-24 0-43.2-8.1-56.7-24.4-12.2-14.8-21.1-32.6-26.6-53.3-5.3-19.9-8.5-40.6-9.5-61.9-1-20.8-1.5-38.5-1.5-53.2 0-8.8.1-19.4.4-31.8.2-12.7 1.1-25.8 2.6-39.2 1.5-13.6 4-27.1 7.6-40.5 3.7-13.8 8.8-26.3 15.4-37.4 6.9-11.6 15.8-21.1 26.7-28.3 11.4-7.6 25.3-11.3 41.5-11.3 16.1 0 30.1 3.7 41.7 11.2a87.94 87.94 0 0127.4 28.2c6.9 11.2 12.1 23.8 15.6 37.7 3.3 13.2 5.8 26.6 7.5 40.1 1.8 13.5 2.8 26.6 3 39.4.2 12.4.4 23 .4 31.8.1 14.8-.4 32.5-1.4 53.3z"}}]},name:"field-binary",theme:"outlined"},oN=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oD}))}),oq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M508 280h-63.3c-3.3 0-6 2.7-6 6v340.2H433L197.4 282.6c-1.1-1.6-3-2.6-4.9-2.6H126c-3.3 0-6 2.7-6 6v464c0 3.3 2.7 6 6 6h62.7c3.3 0 6-2.7 6-6V405.1h5.7l238.2 348.3c1.1 1.6 3 2.6 5 2.6H508c3.3 0 6-2.7 6-6V286c0-3.3-2.7-6-6-6zm378 413H582c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-152.2-63c52.9 0 95.2-17.2 126.2-51.7 29.4-32.9 44-75.8 44-128.8 0-53.1-14.6-96.5-44-129.3-30.9-34.8-73.2-52.2-126.2-52.2-53.7 0-95.9 17.5-126.3 52.8-29.2 33.1-43.4 75.9-43.4 128.7 0 52.4 14.3 95.2 43.5 128.3 30.6 34.7 73 52.2 126.2 52.2zm-71.5-263.7c16.9-20.6 40.3-30.9 71.4-30.9 31.5 0 54.8 9.6 71 29.1 16.4 20.3 24.9 48.6 24.9 84.9 0 36.3-8.4 64.1-24.8 83.9-16.5 19.4-40 29.2-71.1 29.2-31.2 0-55-10.3-71.4-30.4-16.3-20.1-24.5-47.3-24.5-82.6.1-35.8 8.2-63 24.5-83.2z"}}]},name:"field-number",theme:"outlined"},oj=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oq}))}),oW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M875.6 515.9c2.1.8 4.4-.3 5.2-2.4.2-.4.2-.9.2-1.4v-58.3c0-1.8-1.1-3.3-2.8-3.8-6-1.8-17.2-3-27.2-3-32.9 0-61.7 16.7-73.5 41.2v-28.6c0-4.4-3.6-8-8-8H717c-4.4 0-8 3.6-8 8V729c0 4.4 3.6 8 8 8h54.8c4.4 0 8-3.6 8-8V572.7c0-36.2 26.1-60.2 65.1-60.2 10.4.1 26.6 1.8 30.7 3.4zm-537-40.5l-54.7-12.6c-61.2-14.2-87.7-34.8-87.7-70.7 0-44.6 39.1-73.5 96.9-73.5 52.8 0 91.4 26.5 99.9 68.9h70C455.9 311.6 387.6 259 293.4 259c-103.3 0-171 55.5-171 139 0 68.6 38.6 109.5 122.2 128.5l61.6 14.3c63.6 14.9 91.6 37.1 91.6 75.1 0 44.1-43.5 75.2-102.5 75.2-60.6 0-104.5-27.2-112.8-70.5H111c7.2 79.9 75.6 130.4 179.1 130.4C402.3 751 471 695.2 471 605.3c0-70.2-38.6-108.5-132.4-129.9zM841 729a36 36 0 1072 0 36 36 0 10-72 0zM653 457.8h-51.4V396c0-4.4-3.6-8-8-8h-54.7c-4.4 0-8 3.6-8 8v61.8H495c-4.4 0-8 3.6-8 8v42.3c0 4.4 3.6 8 8 8h35.9v147.5c0 56.2 27.4 79.4 93.1 79.4 11.7 0 23.6-1.2 33.8-3.1 1.9-.3 3.2-2 3.2-3.9v-49.3c0-2.2-1.8-4-4-4h-.4c-4.9.5-6.2.6-8.3.8-4.1.3-7.8.5-12.6.5-24.1 0-34.1-10.3-34.1-35.6V516.1H653c4.4 0 8-3.6 8-8v-42.3c0-4.4-3.6-8-8-8z"}}]},name:"field-string",theme:"outlined"},oY=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oW}))}),o_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M945 412H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h256c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM811 548H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h122c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM477.3 322.5H434c-6.2 0-11.2 5-11.2 11.2v248c0 3.6 1.7 6.9 4.6 9l148.9 108.6c5 3.6 12 2.6 15.6-2.4l25.7-35.1v-.1c3.6-5 2.5-12-2.5-15.6l-126.7-91.6V333.7c.1-6.2-5-11.2-11.1-11.2z"}},{tag:"path",attrs:{d:"M804.8 673.9H747c-5.6 0-10.9 2.9-13.9 7.7a321 321 0 01-44.5 55.7 317.17 317.17 0 01-101.3 68.3c-39.3 16.6-81 25-124 25-43.1 0-84.8-8.4-124-25-37.9-16-72-39-101.3-68.3s-52.3-63.4-68.3-101.3c-16.6-39.2-25-80.9-25-124 0-43.1 8.4-84.7 25-124 16-37.9 39-72 68.3-101.3 29.3-29.3 63.4-52.3 101.3-68.3 39.2-16.6 81-25 124-25 43.1 0 84.8 8.4 124 25 37.9 16 72 39 101.3 68.3a321 321 0 0144.5 55.7c3 4.8 8.3 7.7 13.9 7.7h57.8c6.9 0 11.3-7.2 8.2-13.3-65.2-129.7-197.4-214-345-215.7-216.1-2.7-395.6 174.2-396 390.1C71.6 727.5 246.9 903 463.2 903c149.5 0 283.9-84.6 349.8-215.8a9.18 9.18 0 00-8.2-13.3z"}}]},name:"field-time",theme:"outlined"},oK=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:o_}))}),oX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M480 580H372a8 8 0 00-8 8v48a8 8 0 008 8h108v108a8 8 0 008 8h48a8 8 0 008-8V644h108a8 8 0 008-8v-48a8 8 0 00-8-8H544V472a8 8 0 00-8-8h-48a8 8 0 00-8 8v108zm374.6-291.3c6 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.2z"}}]},name:"file-add",theme:"filled"},oU=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oX}))}),oG={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 42h216v494zM544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z"}}]},name:"file-add",theme:"outlined"},oQ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oG}))}),oJ={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-42zm126 236v48c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V644H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V472c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8z",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:"M544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z",fill:e}}]}},name:"file-add",theme:"twotone"},o1=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:oJ}))}),o4={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-8H296zm376 116c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216zm107.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.5zM761 656h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-23.1-31.9a7.92 7.92 0 00-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.1-12.7-6.4-12.7zM440 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"}}]},name:"file-done",theme:"outlined"},o2=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:o4}))}),o3={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.2zM575.34 477.84l-61.22 102.3L452.3 477.8a12 12 0 00-10.27-5.79h-38.44a12 12 0 00-6.4 1.85 12 12 0 00-3.75 16.56l82.34 130.42-83.45 132.78a12 12 0 00-1.84 6.39 12 12 0 0012 12h34.46a12 12 0 0010.21-5.7l62.7-101.47 62.3 101.45a12 12 0 0010.23 5.72h37.48a12 12 0 006.48-1.9 12 12 0 003.62-16.58l-83.83-130.55 85.3-132.47a12 12 0 001.9-6.5 12 12 0 00-12-12h-35.7a12 12 0 00-10.29 5.84z"}}]},name:"file-excel",theme:"filled"},o8=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:o3}))}),o6=c(97175),o0={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-42zm51.6 120h35.7a12.04 12.04 0 0110.1 18.5L546.1 623l84 130.4c3.6 5.6 2 13-3.6 16.6-2 1.2-4.2 1.9-6.5 1.9h-37.5c-4.1 0-8-2.1-10.2-5.7L510 664.8l-62.7 101.5c-2.2 3.5-6 5.7-10.2 5.7h-34.5a12.04 12.04 0 01-10.2-18.4l83.4-132.8-82.3-130.4c-3.6-5.7-1.9-13.1 3.7-16.6 1.9-1.3 4.1-1.9 6.4-1.9H442c4.2 0 8.1 2.2 10.3 5.8l61.8 102.4 61.2-102.3c2.2-3.6 6.1-5.8 10.3-5.8z",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:"M514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z",fill:e}}]}},name:"file-excel",theme:"twotone"},o5=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:o0}))}),o7={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.2zM512 784a40 40 0 100-80 40 40 0 000 80zm32-152V448a8 8 0 00-8-8h-48a8 8 0 00-8 8v184a8 8 0 008 8h48a8 8 0 008-8z"}}]},name:"file-exclamation",theme:"filled"},o9=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:o7}))}),ie={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 42h216v494zM472 744a40 40 0 1080 0 40 40 0 10-80 0zm16-104h48c4.4 0 8-3.6 8-8V448c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8z"}}]},name:"file-exclamation",theme:"outlined"},it=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ie}))}),ic={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-42zm-54 96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V448zm32 336c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z",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:"M488 640h48c4.4 0 8-3.6 8-8V448c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm-16 104a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}}]}},name:"file-exclamation",theme:"twotone"},ir=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ic}))}),ia={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.2z"}}]},name:"file",theme:"filled"},il=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ia}))}),io={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M551.5 490.5H521c-4.6 0-8.4 3.7-8.4 8.4V720c0 4.6 3.7 8.4 8.4 8.4h30.5c4.6 0 8.4-3.7 8.4-8.4V498.9c-.1-4.6-3.8-8.4-8.4-8.4zM477.3 600h-88.1c-4.6 0-8.4 3.7-8.4 8.4v23.8c0 4.6 3.7 8.4 8.4 8.4h47.6v.7c-.6 29.9-23 49.8-56.5 49.8-39.2 0-63.6-30.7-63.6-81.4 0-50.1 23.9-80.6 62.3-80.6 28.1 0 47.5 13.5 55.4 38.3l.9 2.8h49.2l-.7-4.6C475.9 515.9 434.7 484 379 484c-68.8 0-113 49.4-113 125.9 0 77.5 43.7 126.1 113.6 126.1 64.4 0 106-40.3 106-102.9v-24.8c0-4.6-3.7-8.3-8.3-8.3z"}},{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"}},{tag:"path",attrs:{d:"M608.2 727.8h32.3c4.6 0 8.4-3.7 8.4-8.4v-84.8h87.8c4.6 0 8.4-3.7 8.4-8.4v-25.5c0-4.6-3.7-8.4-8.4-8.4h-87.8v-58.9h96.8c4.6 0 8.4-3.7 8.4-8.4v-26.8c0-4.6-3.7-8.4-8.4-8.4H608.2c-4.6 0-8.4 3.7-8.4 8.4v221.1c0 4.8 3.8 8.5 8.4 8.5z"}}]},name:"file-gif",theme:"outlined"},ii=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:io}))}),iu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-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.6-9.4-22.6zM400 402c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0112.6 0l41.1 52.4 77.8-99.2a8 8 0 0112.6 0l136.5 174c4.3 5.2.5 12.9-6.1 12.9zm-94-370V137.8L790.2 326H602z"}}]},name:"file-image",theme:"filled"},is=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:iu}))}),ih={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M553.1 509.1l-77.8 99.2-41.1-52.4a8 8 0 00-12.6 0l-99.8 127.2a7.98 7.98 0 006.3 12.9H696c6.7 0 10.4-7.7 6.3-12.9l-136.5-174a8.1 8.1 0 00-12.7 0zM360 442a40 40 0 1080 0 40 40 0 10-80 0zm494.6-153.4L639.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-image",theme:"outlined"},id=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ih}))}),iv={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-42zm-134 50c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328.1c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0112.6 0l41.1 52.4 77.8-99.2a8.1 8.1 0 0112.7 0l136.5 174c4.1 5.2.4 12.9-6.3 12.9z",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:"M553.1 509.1l-77.8 99.2-41.1-52.4a8 8 0 00-12.6 0l-99.8 127.2a7.98 7.98 0 006.3 12.9H696c6.7 0 10.4-7.7 6.3-12.9l-136.5-174a8.1 8.1 0 00-12.7 0zM360 442a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}}]}},name:"file-image",theme:"twotone"},im=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:iv}))}),ig={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M874.6 301.8L596.8 21.3c-4.5-4.5-9.4-8.3-14.7-11.5-1.4-.8-2.8-1.6-4.3-2.3-.9-.5-1.9-.9-2.8-1.3-9-4-18.9-6.2-29-6.2H201c-39.8 0-73 32.2-73 72v880c0 39.8 33.2 72 73 72h623c39.8 0 71-32.2 71-72V352.5c0-19-7-37.2-20.4-50.7zM583 110.4L783.8 312H583V110.4zM823 952H200V72h311v240c0 39.8 33.2 72 73 72h239v568zM350 696.5c0 24.2-7.5 31.4-21.9 31.4-9 0-18.4-5.8-24.8-18.5L272.9 732c13.4 22.9 32.3 34.2 61.3 34.2 41.6 0 60.8-29.9 60.8-66.2V577h-45v119.5zM501.3 577H437v186h44v-62h21.6c39.1 0 73.1-19.6 73.1-63.6 0-45.8-33.5-60.4-74.4-60.4zm-.8 89H481v-53h18.2c21.5 0 33.4 6.2 33.4 24.9 0 18.1-10.5 28.1-32.1 28.1zm182.5-9v36h30v30.1c-4 2.9-11 4.7-17.7 4.7-34.3 0-50.7-21.4-50.7-58.2 0-36.1 19.7-57.4 47.1-57.4 15.3 0 25 6.2 34 14.4l23.7-28.3c-12.7-12.8-32.1-24.2-59.2-24.2-49.6 0-91.1 35.3-91.1 97 0 62.7 40 95.1 91.5 95.1 25.9 0 49.2-10.2 61.5-22.6V657H683z"}}]},name:"file-jpg",theme:"outlined"},ip=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ig}))}),iz={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.2zM426.13 600.93l59.11 132.97a16 16 0 0014.62 9.5h24.06a16 16 0 0014.63-9.51l59.1-133.35V758a16 16 0 0016.01 16H641a16 16 0 0016-16V486a16 16 0 00-16-16h-34.75a16 16 0 00-14.67 9.62L512.1 662.2l-79.48-182.59a16 16 0 00-14.67-9.61H383a16 16 0 00-16 16v272a16 16 0 0016 16h27.13a16 16 0 0016-16V600.93z"}}]},name:"file-markdown",theme:"filled"},iw=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:iz}))}),iM={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 42h216v494zM429 481.2c-1.9-4.4-6.2-7.2-11-7.2h-35c-6.6 0-12 5.4-12 12v272c0 6.6 5.4 12 12 12h27.1c6.6 0 12-5.4 12-12V582.1l66.8 150.2a12 12 0 0011 7.1H524c4.7 0 9-2.8 11-7.1l66.8-150.6V758c0 6.6 5.4 12 12 12H641c6.6 0 12-5.4 12-12V486c0-6.6-5.4-12-12-12h-34.7c-4.8 0-9.1 2.8-11 7.2l-83.1 191-83.2-191z"}}]},name:"file-markdown",theme:"outlined"},iZ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:iM}))}),iH={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-42zm72.3 122H641c6.6 0 12 5.4 12 12v272c0 6.6-5.4 12-12 12h-27.2c-6.6 0-12-5.4-12-12V581.7L535 732.3c-2 4.3-6.3 7.1-11 7.1h-24.1a12 12 0 01-11-7.1l-66.8-150.2V758c0 6.6-5.4 12-12 12H383c-6.6 0-12-5.4-12-12V486c0-6.6 5.4-12 12-12h35c4.8 0 9.1 2.8 11 7.2l83.2 191 83.1-191c1.9-4.4 6.2-7.2 11-7.2z",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:"M429 481.2c-1.9-4.4-6.2-7.2-11-7.2h-35c-6.6 0-12 5.4-12 12v272c0 6.6 5.4 12 12 12h27.1c6.6 0 12-5.4 12-12V582.1l66.8 150.2a12 12 0 0011 7.1H524c4.7 0 9-2.8 11-7.1l66.8-150.6V758c0 6.6 5.4 12 12 12H641c6.6 0 12-5.4 12-12V486c0-6.6-5.4-12-12-12h-34.7c-4.8 0-9.1 2.8-11 7.2l-83.1 191-83.2-191z",fill:e}}]}},name:"file-markdown",theme:"twotone"},ib=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:iH}))}),iV=c(97245),iC={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.2zM633.22 637.26c-15.18-.5-31.32.67-49.65 2.96-24.3-14.99-40.66-35.58-52.28-65.83l1.07-4.38 1.24-5.18c4.3-18.13 6.61-31.36 7.3-44.7.52-10.07-.04-19.36-1.83-27.97-3.3-18.59-16.45-29.46-33.02-30.13-15.45-.63-29.65 8-33.28 21.37-5.91 21.62-2.45 50.07 10.08 98.59-15.96 38.05-37.05 82.66-51.2 107.54-18.89 9.74-33.6 18.6-45.96 28.42-16.3 12.97-26.48 26.3-29.28 40.3-1.36 6.49.69 14.97 5.36 21.92 5.3 7.88 13.28 13 22.85 13.74 24.15 1.87 53.83-23.03 86.6-79.26 3.29-1.1 6.77-2.26 11.02-3.7l11.9-4.02c7.53-2.54 12.99-4.36 18.39-6.11 23.4-7.62 41.1-12.43 57.2-15.17 27.98 14.98 60.32 24.8 82.1 24.8 17.98 0 30.13-9.32 34.52-23.99 3.85-12.88.8-27.82-7.48-36.08-8.56-8.41-24.3-12.43-45.65-13.12zM385.23 765.68v-.36l.13-.34a54.86 54.86 0 015.6-10.76c4.28-6.58 10.17-13.5 17.47-20.87 3.92-3.95 8-7.8 12.79-12.12 1.07-.96 7.91-7.05 9.19-8.25l11.17-10.4-8.12 12.93c-12.32 19.64-23.46 33.78-33 43-3.51 3.4-6.6 5.9-9.1 7.51a16.43 16.43 0 01-2.61 1.42c-.41.17-.77.27-1.13.3a2.2 2.2 0 01-1.12-.15 2.07 2.07 0 01-1.27-1.91zM511.17 547.4l-2.26 4-1.4-4.38c-3.1-9.83-5.38-24.64-6.01-38-.72-15.2.49-24.32 5.29-24.32 6.74 0 9.83 10.8 10.07 27.05.22 14.28-2.03 29.14-5.7 35.65zm-5.81 58.46l1.53-4.05 2.09 3.8c11.69 21.24 26.86 38.96 43.54 51.31l3.6 2.66-4.39.9c-16.33 3.38-31.54 8.46-52.34 16.85 2.17-.88-21.62 8.86-27.64 11.17l-5.25 2.01 2.8-4.88c12.35-21.5 23.76-47.32 36.05-79.77zm157.62 76.26c-7.86 3.1-24.78.33-54.57-12.39l-7.56-3.22 8.2-.6c23.3-1.73 39.8-.45 49.42 3.07 4.1 1.5 6.83 3.39 8.04 5.55a4.64 4.64 0 01-1.36 6.31 6.7 6.7 0 01-2.17 1.28z"}}]},name:"file-pdf",theme:"filled"},ix=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:iC}))}),iE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.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-pdf",theme:"outlined"},iL=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:iE}))}),iy={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M509.2 490.8c-.7-1.3-1.4-1.9-2.2-2-2.9 3.3-2.2 31.5 2.7 51.4 4-13.6 4.7-40.5-.5-49.4zm-1.6 120.5c-7.7 20-18.8 47.3-32.1 71.4 4-1.6 8.1-3.3 12.3-5 17.6-7.2 37.3-15.3 58.9-20.2-14.9-11.8-28.4-27.7-39.1-46.2z",fill:t}},{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm55 287.6c16.1-1.9 30.6-2.8 44.3-2.3 12.8.4 23.6 2 32 5.1.2.1.3.1.5.2.4.2.8.3 1.2.5.5.2 1.1.4 1.6.7.1.1.3.1.4.2 4.1 1.8 7.5 4 10.1 6.6 9.1 9.1 11.8 26.1 6.2 39.6-3.2 7.7-11.7 20.5-33.3 20.5-21.8 0-53.9-9.7-82.1-24.8-25.5 4.3-53.7 13.9-80.9 23.1-5.8 2-11.8 4-17.6 5.9-38 65.2-66.5 79.4-84.1 79.4-4.2 0-7.8-.9-10.8-2-6.9-2.6-12.8-8-16.5-15-.9-1.7-1.6-3.4-2.2-5.2-1.6-4.8-2.1-9.6-1.3-13.6l.6-2.7c.1-.2.1-.4.2-.6.2-.7.4-1.4.7-2.1 0-.1.1-.2.1-.3 4.1-11.9 13.6-23.4 27.7-34.6 12.3-9.8 27.1-18.7 45.9-28.4 15.9-28 37.6-75.1 51.2-107.4-10.8-41.8-16.7-74.6-10.1-98.6.9-3.3 2.5-6.4 4.6-9.1.2-.2.3-.4.5-.6.1-.1.1-.2.2-.2 6.3-7.5 16.9-11.9 28.1-11.5 16.6.7 29.7 11.5 33 30.1 1.7 8 2.2 16.5 1.9 25.7v.7c0 .5 0 1-.1 1.5-.7 13.3-3 26.6-7.3 44.7-.4 1.6-.8 3.2-1.2 5.2l-1 4.1-.1.3c.1.2.1.3.2.5l1.8 4.5c.1.3.3.7.4 1 .7 1.6 1.4 3.3 2.1 4.8v.1c8.7 18.8 19.7 33.4 33.9 45.1 4.3 3.5 8.9 6.7 13.9 9.8 1.8-.5 3.5-.7 5.3-.9z",fill:t}},{tag:"path",attrs:{d:"M391.5 761c5.7-4.4 16.2-14.5 30.1-34.7-10.3 9.4-23.4 22.4-30.1 34.7zm270.9-83l.2-.3h.2c.6-.4.5-.7.4-.9-.1-.1-4.5-9.3-45.1-7.4 35.3 13.9 43.5 9.1 44.3 8.6z",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:"M535.9 585.3c-.8-1.7-1.5-3.3-2.2-4.9-.1-.3-.3-.7-.4-1l-1.8-4.5c-.1-.2-.1-.3-.2-.5l.1-.3.2-1.1c4-16.3 8.6-35.3 9.4-54.4v-.7c.3-8.6-.2-17.2-2-25.6-3.8-21.3-19.5-29.6-32.9-30.2-11.3-.5-21.8 4-28.1 11.4-.1.1-.1.2-.2.2-.2.2-.4.4-.5.6-2.1 2.7-3.7 5.8-4.6 9.1-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.4-51.2 107.4v.1c-27.7 14.3-64.1 35.8-73.6 62.9 0 .1-.1.2-.1.3-.2.7-.5 1.4-.7 2.1-.1.2-.1.4-.2.6-.2.9-.5 1.8-.6 2.7-.9 4-.4 8.8 1.3 13.6.6 1.8 1.3 3.5 2.2 5.2 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-2.6-2.6-6-4.8-10.1-6.6-.1-.1-.3-.1-.4-.2-.5-.2-1.1-.4-1.6-.7-.4-.2-.8-.3-1.2-.5-.2-.1-.3-.1-.5-.2-16.2-5.8-41.7-6.7-76.3-2.8l-5.3.6c-5-3-9.6-6.3-13.9-9.8-14.2-11.3-25.1-25.8-33.8-44.7zM391.5 761c6.7-12.3 19.8-25.3 30.1-34.7-13.9 20.2-24.4 30.3-30.1 34.7zM507 488.8c.8.1 1.5.7 2.2 2 5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4zm-19.2 188.9c-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4 10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2zm175.4-.9c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4z",fill:e}}]}},name:"file-pdf",theme:"twotone"},iR=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:iy}))}),iB={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.2zM468.53 760v-91.54h59.27c60.57 0 100.2-39.65 100.2-98.12 0-58.22-39.58-98.34-99.98-98.34H424a12 12 0 00-12 12v276a12 12 0 0012 12h32.53a12 12 0 0012-12zm0-139.33h34.9c47.82 0 67.19-12.93 67.19-50.33 0-32.05-18.12-50.12-49.87-50.12h-52.22v100.45z"}}]},name:"file-ppt",theme:"filled"},iS=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:iB}))}),iO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M424 476c-4.4 0-8 3.6-8 8v276c0 4.4 3.6 8 8 8h32.5c4.4 0 8-3.6 8-8v-95.5h63.3c59.4 0 96.2-38.9 96.2-94.1 0-54.5-36.3-94.3-96-94.3H424zm150.6 94.3c0 43.4-26.5 54.3-71.2 54.3h-38.9V516.2h56.2c33.8 0 53.9 19.7 53.9 54.1zm280-281.7L639.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-ppt",theme:"outlined"},ik=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:iO}))}),iT={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464.5 516.2v108.4h38.9c44.7 0 71.2-10.9 71.2-54.3 0-34.4-20.1-54.1-53.9-54.1h-56.2z",fill:t}},{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm90 218.4c0 55.2-36.8 94.1-96.2 94.1h-63.3V760c0 4.4-3.6 8-8 8H424c-4.4 0-8-3.6-8-8V484c0-4.4 3.6-8 8-8v.1h104c59.7 0 96 39.8 96 94.3z",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:"M424 476.1c-4.4-.1-8 3.5-8 7.9v276c0 4.4 3.6 8 8 8h32.5c4.4 0 8-3.6 8-8v-95.5h63.3c59.4 0 96.2-38.9 96.2-94.1 0-54.5-36.3-94.3-96-94.3H424zm150.6 94.2c0 43.4-26.5 54.3-71.2 54.3h-38.9V516.2h56.2c33.8 0 53.9 19.7 53.9 54.1z",fill:e}}]}},name:"file-ppt",theme:"twotone"},i$=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:iT}))}),iF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M644.7 669.2a7.92 7.92 0 00-6.5-3.3H594c-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.8-5.3 0-12.7-6.5-12.7h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-22.9-31.9zM688 306v-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-8H296zm184 458H208V148h560v296c0 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 32h312c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm402.6-320.8l-192-66.7c-.9-.3-1.7-.4-2.6-.4s-1.8.1-2.6.4l-192 66.7a7.96 7.96 0 00-5.4 7.5v251.1c0 2.5 1.1 4.8 3.1 6.3l192 150.2c1.4 1.1 3.2 1.7 4.9 1.7s3.5-.6 4.9-1.7l192-150.2c1.9-1.5 3.1-3.8 3.1-6.3V538.7c0-3.4-2.2-6.4-5.4-7.5zM826 763.7L688 871.6 550 763.7V577l138-48 138 48v186.7z"}}]},name:"file-protect",theme:"outlined"},iA=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:iF}))}),iI=c(31545),iP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{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-8H296zm192 200v-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-8zm-48 396H208V148h560v344c0 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-8zm104.1-115.6c1.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 673a8 8 0 003 14.1l93.3 22.5c5 1.2 9.8-2.6 9.9-7.7l.6-95.4a8 8 0 00-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-.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.9a8 8 0 00-3-14.1l-93.3-22.5c-5-1.2-9.8 2.6-9.9 7.7l-.6 95.4a8 8 0 0012.9 6.4l20.3-15.8C562.6 918.4 619.9 948 684 948c109.9 0 199.6-86.9 204-195.7.2-4.5-3.5-8.3-8-8.3z"}}]},name:"file-sync",theme:"outlined"},iD=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:iP}))}),iN=c(27595),iq=c(70593),ij=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:iq.Z}))}),iW={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-42zm-22 322c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm200-184v48c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8z",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:"M312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8zm192 128H320c-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-8z",fill:e}}]}},name:"file-text",theme:"twotone"},iY=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:iW}))}),i_=c(9303),iK=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i_.Z}))}),iX={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.2zM402 549c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103zm110 227a32 32 0 100-64 32 32 0 000 64z"}}]},name:"file-unknown",theme:"filled"},iU=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:iX}))}),iG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-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.6-9.4-22.6zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM402 549c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103zm78 195a32 32 0 1064 0 32 32 0 10-64 0z"}}]},name:"file-unknown",theme:"outlined"},iQ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:iG}))}),iJ={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-42zm-22 424c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm110-228.4c.7 44.9-29.7 84.5-74.3 98.9-5.7 1.8-9.7 7.3-9.7 13.3V672c0 5.5-4.5 10-10 10h-32c-5.5 0-10-4.5-10-10v-32c.2-19.8 15.4-37.3 34.7-40.1C549 596.2 570 574.3 570 549c0-28.1-25.8-51.5-58-51.5s-58 23.4-58 51.6c0 5.2-4.4 9.4-9.8 9.4h-32.4c-5.4 0-9.8-4.1-9.8-9.5 0-57.4 50.1-103.7 111.5-103 59.3.8 107.7 46.1 108.5 101.6z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-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.6-9.4-22.6zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M480 744a32 32 0 1064 0 32 32 0 10-64 0zm-78-195c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103z",fill:e}}]}},name:"file-unknown",theme:"twotone"},i1=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:iJ}))}),i4={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.2zM512 566.1l52.81 197a12 12 0 0011.6 8.9h31.77a12 12 0 0011.6-8.88l74.37-276a12 12 0 00.4-3.12 12 12 0 00-12-12h-35.57a12 12 0 00-11.7 9.31l-45.78 199.1-49.76-199.32A12 12 0 00528.1 472h-32.2a12 12 0 00-11.64 9.1L434.6 680.01 388.5 481.3a12 12 0 00-11.68-9.29h-35.39a12 12 0 00-3.11.41 12 12 0 00-8.47 14.7l74.17 276A12 12 0 00415.6 772h31.99a12 12 0 0011.59-8.9l52.81-197z"}}]},name:"file-word",theme:"filled"},i2=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i4}))}),i3={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 42h216v494zM528.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"}}]},name:"file-word",theme:"outlined"},i8=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i3}))}),i6=c(27329),i0={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.2zM296 136v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm0 64v160h128V584H296zm48 48h32v64h-32v-64z"}}]},name:"file-zip",theme:"filled"},i5=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i0}))}),i7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M296 392h64v64h-64zm0 190v160h128V582h-64v-62h-64v62zm80 48v64h-32v-64h32zm-16-302h64v64h-64zm-64-64h64v64h-64zm64 192h64v64h-64zm0-256h64v64h-64zm494.6 88.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 562H232V136h64v64h64v-64h174v216a42 42 0 0042 42h216v494z"}}]},name:"file-zip",theme:"outlined"},i9=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i7}))}),ue={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M344 630h32v2h-32z",fill:t}},{tag:"path",attrs:{d:"M534 352V136H360v64h64v64h-64v64h64v64h-64v64h64v64h-64v62h64v160H296V520h64v-64h-64v-64h64v-64h-64v-64h64v-64h-64v-64h-64v752h560V394H576a42 42 0 01-42-42z",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 888H232V136h64v64h64v-64h174v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M296 392h64v64h-64zm0-128h64v64h-64zm0 318v160h128V582h-64v-62h-64v62zm48 50v-2h32v64h-32v-62zm16-432h64v64h-64zm0 256h64v64h-64zm0-128h64v64h-64z",fill:e}}]}},name:"file-zip",theme:"twotone"},ut=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ue}))}),uc=c(98851),un=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:uc.Z}))}),ur={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"}}]},name:"filter",theme:"outlined"},ua=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ur}))}),ul={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M420.6 798h182.9V642H420.6zM411 561.4l9.5 16.6h183l9.5-16.6L811.3 226H212.7z",fill:t}},{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.5 798H420.6V642h182.9v156zm9.5-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z",fill:e}}]}},name:"filter",theme:"twotone"},uo=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ul}))}),ui={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9z"}}]},name:"fire",theme:"filled"},uu=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ui}))}),us={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"}}]},name:"fire",theme:"outlined"},uf=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:us}))}),uh={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M737 438.6c-9.6 15.5-21.1 30.7-34.4 45.6a73.1 73.1 0 01-51 24.4 73.36 73.36 0 01-53.4-18.8 74.01 74.01 0 01-24.4-59.8c3-47.4-12.4-103.1-45.8-165.7-16.9-31.4-37.1-58.2-61.2-80.4a240 240 0 01-12.1 46.5 354.26 354.26 0 01-58.2 101 349.6 349.6 0 01-58.6 56.8c-34 26.1-62 60-80.8 97.9a275.96 275.96 0 00-29.1 124c0 74.9 29.5 145.3 83 198.4 53.7 53.2 125 82.4 201 82.4s147.3-29.2 201-82.4c53.5-53 83-123.5 83-198.4 0-39.2-8.1-77.3-24-113.1-9.3-21-21-40.5-35-58.4z",fill:t}},{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z",fill:e}}]}},name:"fire",theme:"twotone"},ud=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:uh}))}),uv={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32z"}}]},name:"flag",theme:"filled"},um=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:uv}))}),ug={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32zM184 568V232h368v336H184zm656 145H504v-73h112c4.4 0 8-3.6 8-8V377h216v336z"}}]},name:"flag",theme:"outlined"},up=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ug}))}),uz={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M184 232h368v336H184z",fill:t}},{tag:"path",attrs:{d:"M624 632c0 4.4-3.6 8-8 8H504v73h336V377H624v255z",fill:t}},{tag:"path",attrs:{d:"M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32zM184 568V232h368v336H184zm656 145H504v-73h112c4.4 0 8-3.6 8-8V377h216v336z",fill:e}}]}},name:"flag",theme:"twotone"},uw=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:uz}))}),uM={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-32zM632 577c0 3.8-3.4 7-7.5 7H540v84.9c0 3.9-3.2 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V584h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7H484v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.8 0 7 3.2 7 7.1V528h84.5c4.1 0 7.5 3.2 7.5 7v42z"}}]},name:"folder-add",theme:"filled"},uZ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:uM}))}),uH=c(83266),ub={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M372.5 256H184v512h656V370.4H492.1L372.5 256zM540 443.1V528h84.5c4.1 0 7.5 3.1 7.5 7v42c0 3.8-3.4 7-7.5 7H540v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V584h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H484v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1z",fill:t}},{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",fill:e}},{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1z",fill:e}}]}},name:"folder-add",theme:"twotone"},uV=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ub}))}),uC={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-32z"}}]},name:"folder",theme:"filled"},ux=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:uC}))}),uE={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-32zm-180 0H238c-13 0-24.8 7.9-29.7 20L136 643.2V256h188.5l119.6 114.4H748V444z"}}]},name:"folder-open",theme:"filled"},uL=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:uE}))}),uy=c(48898),uR=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:uy.Z}))}),uB={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M159 768h612.3l103.4-256H262.3z",fill:t}},{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",fill:e}}]}},name:"folder-open",theme:"twotone"},uS=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:uB}))}),uO=c(55725),uk={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M372.5 256H184v512h656V370.4H492.1z",fill:t}}]}},name:"folder",theme:"twotone"},uT=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:uk}))}),u$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M309.1 554.3a42.92 42.92 0 000 36.4C353.3 684 421.6 732 512.5 732s159.2-48.1 203.4-141.3c5.4-11.5 5.4-24.8.1-36.3l-.1-.1-.1-.1C671.7 461 603.4 413 512.5 413s-159.2 48.1-203.4 141.3zM512.5 477c62.1 0 107.4 30 141.1 95.5C620 638 574.6 668 512.5 668s-107.4-30-141.1-95.5c33.7-65.5 79-95.5 141.1-95.5z"}},{tag:"path",attrs:{d:"M457 573a56 56 0 10112 0 56 56 0 10-112 0z"}},{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-view",theme:"outlined"},uF=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:u$}))}),uA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-650.3-80h85c4.2 0 8-2.7 9.3-6.8l53.7-166h219.2l53.2 166c1.3 4 5 6.8 9.3 6.8h89.1c1.1 0 2.2-.2 3.2-.5a9.7 9.7 0 006-12.4L573.6 118.6a9.9 9.9 0 00-9.2-6.6H462.1c-4.2 0-7.9 2.6-9.2 6.6L244.5 723.1c-.4 1-.5 2.1-.5 3.2-.1 5.3 4.3 9.7 9.7 9.7zm255.9-516.1h4.1l83.8 263.8H424.9l84.7-263.8z"}}]},name:"font-colors",theme:"outlined"},uI=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:uA}))}),uP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M920 416H616c-4.4 0-8 3.6-8 8v112c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-56h60v320h-46c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h164c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-46V480h60v56c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V424c0-4.4-3.6-8-8-8zM656 296V168c0-4.4-3.6-8-8-8H104c-4.4 0-8 3.6-8 8v128c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-64h168v560h-92c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-92V232h168v64c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8z"}}]},name:"font-size",theme:"outlined"},uD=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:uP}))}),uN=c(9641),uq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z"}}]},name:"form",theme:"outlined"},uj=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:uq}))}),uW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M840 192h-56v-72c0-13.3-10.7-24-24-24H168c-13.3 0-24 10.7-24 24v272c0 13.3 10.7 24 24 24h592c13.3 0 24-10.7 24-24V256h32v200H465c-22.1 0-40 17.9-40 40v136h-44c-4.4 0-8 3.6-8 8v228c0 1.1.2 2.2.6 3.1-.4 1.6-.6 3.2-.6 4.9 0 46.4 37.6 84 84 84s84-37.6 84-84c0-1.7-.2-3.3-.6-4.9.4-1 .6-2 .6-3.1V640c0-4.4-3.6-8-8-8h-44V520h351c22.1 0 40-17.9 40-40V232c0-22.1-17.9-40-40-40z"}}]},name:"format-painter",theme:"filled"},uY=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:uW}))}),u_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M840 192h-56v-72c0-13.3-10.7-24-24-24H168c-13.3 0-24 10.7-24 24v272c0 13.3 10.7 24 24 24h592c13.3 0 24-10.7 24-24V256h32v200H465c-22.1 0-40 17.9-40 40v136h-44c-4.4 0-8 3.6-8 8v228c0 .6.1 1.3.2 1.9A83.99 83.99 0 00457 960c46.4 0 84-37.6 84-84 0-2.1-.1-4.1-.2-6.1.1-.6.2-1.2.2-1.9V640c0-4.4-3.6-8-8-8h-44V520h351c22.1 0 40-17.9 40-40V232c0-22.1-17.9-40-40-40zM720 352H208V160h512v192zM477 876c0 11-9 20-20 20s-20-9-20-20V696h40v180z"}}]},name:"format-painter",theme:"outlined"},uK=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:u_}))}),uX={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M825.8 498L538.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L825.8 526c8.3-7.2 8.3-20.8 0-28zm-320 0L218.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L505.8 526c4.1-3.6 6.2-8.8 6.2-14 0-5.2-2.1-10.4-6.2-14z"}}]},name:"forward",theme:"filled"},uU=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:uX}))}),uG={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M825.8 498L538.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L825.8 526c8.3-7.2 8.3-20.8 0-28zm-320 0L218.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L505.8 526c4.1-3.6 6.2-8.8 6.2-14 0-5.2-2.1-10.4-6.2-14z"}}]},name:"forward",theme:"outlined"},uQ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:uG}))}),uJ={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 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm376 272h-48.1c-4.2 0-7.8-3.2-8.1-7.4C604 636.1 562.5 597 512 597s-92.1 39.1-95.8 88.6c-.3 4.2-3.9 7.4-8.1 7.4H360a8 8 0 01-8-8.4c4.4-84.3 74.5-151.6 160-151.6s155.6 67.3 160 151.6a8 8 0 01-8 8.4zm24-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"frown",theme:"filled"},u1=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:uJ}))}),u4=c(12906),u2={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm376 272h-48.1c-4.2 0-7.8-3.2-8.1-7.4C604 636.1 562.5 597 512 597s-92.1 39.1-95.8 88.6c-.3 4.2-3.9 7.4-8.1 7.4H360a8 8 0 01-8-8.4c4.4-84.3 74.5-151.6 160-151.6s155.6 67.3 160 151.6a8 8 0 01-8 8.4zm24-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm224 112c-85.5 0-155.6 67.3-160 151.6a8 8 0 008 8.4h48.1c4.2 0 7.8-3.2 8.1-7.4 3.7-49.5 45.3-88.6 95.8-88.6s92 39.1 95.8 88.6c.3 4.2 3.9 7.4 8.1 7.4H664a8 8 0 008-8.4C667.6 600.3 597.5 533 512 533zm128-112a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"frown",theme:"twotone"},u3=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:u2}))}),u8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 000 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 00391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 00-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"}}]},name:"fullscreen-exit",theme:"outlined"},u6=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:u8}))}),u0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z"}}]},name:"fullscreen",theme:"outlined"},u5=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:u0}))}),u7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M841 370c3-3.3 2.7-8.3-.6-11.3a8.24 8.24 0 00-5.3-2.1h-72.6c-2.4 0-4.6 1-6.1 2.8L633.5 504.6a7.96 7.96 0 01-13.4-1.9l-63.5-141.3a7.9 7.9 0 00-7.3-4.7H380.7l.9-4.7 8-42.3c10.5-55.4 38-81.4 85.8-81.4 18.6 0 35.5 1.7 48.8 4.7l14.1-66.8c-22.6-4.7-35.2-6.1-54.9-6.1-103.3 0-156.4 44.3-175.9 147.3l-9.4 49.4h-97.6c-3.8 0-7.1 2.7-7.8 6.4L181.9 415a8.07 8.07 0 007.8 9.7H284l-89 429.9a8.07 8.07 0 007.8 9.7H269c3.8 0 7.1-2.7 7.8-6.4l89.7-433.1h135.8l68.2 139.1c1.4 2.9 1 6.4-1.2 8.8l-180.6 203c-2.9 3.3-2.6 8.4.7 11.3 1.5 1.3 3.4 2 5.3 2h72.7c2.4 0 4.6-1 6.1-2.8l123.7-146.7c2.8-3.4 7.9-3.8 11.3-1 .9.8 1.6 1.7 2.1 2.8L676.4 784c1.3 2.8 4.1 4.7 7.3 4.7h64.6a8.02 8.02 0 007.2-11.5l-95.2-198.9c-1.4-2.9-.9-6.4 1.3-8.8L841 370z"}}]},name:"function",theme:"outlined"},u9=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:u7}))}),se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M926 164H94c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V196c0-17.7-14.3-32-32-32zm-92.3 194.4l-297 297.2a8.03 8.03 0 01-11.3 0L410.9 541.1 238.4 713.7a8.03 8.03 0 01-11.3 0l-36.8-36.8a8.03 8.03 0 010-11.3l214.9-215c3.1-3.1 8.2-3.1 11.3 0L531 565l254.5-254.6c3.1-3.1 8.2-3.1 11.3 0l36.8 36.8c3.2 3 3.2 8.1.1 11.2z"}}]},name:"fund",theme:"filled"},st=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:se}))}),sc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M926 164H94c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V196c0-17.7-14.3-32-32-32zm-40 632H134V236h752v560zm-658.9-82.3c3.1 3.1 8.2 3.1 11.3 0l172.5-172.5 114.4 114.5c3.1 3.1 8.2 3.1 11.3 0l297-297.2c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 00-11.3 0L531 565 416.6 450.5a8.03 8.03 0 00-11.3 0l-214.9 215a8.03 8.03 0 000 11.3l36.7 36.9z"}}]},name:"fund",theme:"outlined"},sn=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sc}))}),sr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M312.1 591.5c3.1 3.1 8.2 3.1 11.3 0l101.8-101.8 86.1 86.2c3.1 3.1 8.2 3.1 11.3 0l226.3-226.5c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 00-11.3 0L517 485.3l-86.1-86.2a8.03 8.03 0 00-11.3 0L275.3 543.4a8.03 8.03 0 000 11.3l36.8 36.8z"}},{tag:"path",attrs:{d:"M904 160H548V96c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H120c-17.7 0-32 14.3-32 32v520c0 17.7 14.3 32 32 32h356.4v32L311.6 884.1a7.92 7.92 0 00-2.3 11l30.3 47.2v.1c2.4 3.7 7.4 4.7 11.1 2.3L512 838.9l161.3 105.8c3.7 2.4 8.7 1.4 11.1-2.3v-.1l30.3-47.2a8 8 0 00-2.3-11L548 776.3V744h356c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 512H160V232h704v440z"}}]},name:"fund-projection-screen",theme:"outlined"},sa=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sr}))}),sl={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560z",fill:e}},{tag:"path",attrs:{d:"M136 792h752V232H136v560zm56.4-130.5l214.9-215c3.1-3.1 8.2-3.1 11.3 0L533 561l254.5-254.6c3.1-3.1 8.2-3.1 11.3 0l36.8 36.8c3.1 3.1 3.1 8.2 0 11.3l-297 297.2a8.03 8.03 0 01-11.3 0L412.9 537.2 240.4 709.7a8.03 8.03 0 01-11.3 0l-36.7-36.9a8.03 8.03 0 010-11.3z",fill:t}},{tag:"path",attrs:{d:"M229.1 709.7c3.1 3.1 8.2 3.1 11.3 0l172.5-172.5 114.4 114.5c3.1 3.1 8.2 3.1 11.3 0l297-297.2c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 00-11.3 0L533 561 418.6 446.5a8.03 8.03 0 00-11.3 0l-214.9 215a8.03 8.03 0 000 11.3l36.7 36.9z",fill:e}}]}},name:"fund",theme:"twotone"},so=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sl}))}),si={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M956 686.5l-.1-.1-.1-.1C911.7 593 843.4 545 752.5 545s-159.2 48.1-203.4 141.3v.1a42.92 42.92 0 000 36.4C593.3 816 661.6 864 752.5 864s159.2-48.1 203.4-141.3c5.4-11.5 5.4-24.8.1-36.2zM752.5 800c-62.1 0-107.4-30-141.1-95.5C645 639 690.4 609 752.5 609c62.1 0 107.4 30 141.1 95.5C860 770 814.6 800 752.5 800z"}},{tag:"path",attrs:{d:"M697 705a56 56 0 10112 0 56 56 0 10-112 0zM136 232h704v253h72V192c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v520c0 17.7 14.3 32 32 32h352v-72H136V232z"}},{tag:"path",attrs:{d:"M724.9 338.1l-36.8-36.8a8.03 8.03 0 00-11.3 0L493 485.3l-86.1-86.2a8.03 8.03 0 00-11.3 0L251.3 543.4a8.03 8.03 0 000 11.3l36.8 36.8c3.1 3.1 8.2 3.1 11.3 0l101.8-101.8 86.1 86.2c3.1 3.1 8.2 3.1 11.3 0l226.3-226.5c3.2-3.1 3.2-8.2 0-11.3z"}}]},name:"fund-view",theme:"outlined"},su=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:si}))}),ss={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M336.7 586h350.6l84.9-148H251.8zm543.4-432H143.9c-24.5 0-39.8 26.7-27.5 48L215 374h594l98.7-172c12.2-21.3-3.1-48-27.6-48zM349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V650H349v188z"}}]},name:"funnel-plot",theme:"filled"},sf=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ss}))}),sh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 607.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V607.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V650h182.9v148zm9.6-226.6l-8.4 14.6H419.3l-8.4-14.6L334.4 438h355.2L613 571.4zM726.3 374H297.7l-85-148h598.6l-85 148z"}}]},name:"funnel-plot",theme:"outlined"},sd=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sh}))}),sv={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M420.6 798h182.9V650H420.6zM297.7 374h428.6l85-148H212.7zm113.2 197.4l8.4 14.6h185.3l8.4-14.6L689.6 438H334.4z",fill:t}},{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 607.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V607.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.5 798H420.6V650h182.9v148zm9.5-226.6l-8.4 14.6H419.3l-8.4-14.6L334.4 438h355.2L613 571.4zM726.3 374H297.7l-85-148h598.6l-85 148z",fill:e}}]}},name:"funnel-plot",theme:"twotone"},sm=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sv}))}),sg={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 392c8.8 0 16-7.2 16-16V192c0-8.8-7.2-16-16-16H744c-8.8 0-16 7.2-16 16v56H296v-56c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16v184c0 8.8 7.2 16 16 16h56v240H96c-8.8 0-16 7.2-16 16v184c0 8.8 7.2 16 16 16h184c8.8 0 16-7.2 16-16v-56h432v56c0 8.8 7.2 16 16 16h184c8.8 0 16-7.2 16-16V648c0-8.8-7.2-16-16-16h-56V392h56zM792 240h88v88h-88v-88zm-648 88v-88h88v88h-88zm88 456h-88v-88h88v88zm648-88v88h-88v-88h88zm-80-64h-56c-8.8 0-16 7.2-16 16v56H296v-56c0-8.8-7.2-16-16-16h-56V392h56c8.8 0 16-7.2 16-16v-56h432v56c0 8.8 7.2 16 16 16h56v240z"}}]},name:"gateway",theme:"outlined"},sp=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sg}))}),sz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M944 299H692c-4.4 0-8 3.6-8 8v406c0 4.4 3.6 8 8 8h59.2c4.4 0 8-3.6 8-8V549.9h168.2c4.4 0 8-3.6 8-8V495c0-4.4-3.6-8-8-8H759.2V364.2H944c4.4 0 8-3.6 8-8V307c0-4.4-3.6-8-8-8zm-356 1h-56c-4.4 0-8 3.6-8 8v406c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V308c0-4.4-3.6-8-8-8zM452 500.9H290.5c-4.4 0-8 3.6-8 8v43.7c0 4.4 3.6 8 8 8h94.9l-.3 8.9c-1.2 58.8-45.6 98.5-110.9 98.5-76.2 0-123.9-59.7-123.9-156.7 0-95.8 46.8-155.2 121.5-155.2 54.8 0 93.1 26.9 108.5 75.4h76.2c-13.6-87.2-86-143.4-184.7-143.4C150 288 72 375.2 72 511.9 72 650.2 149.1 736 273 736c114.1 0 187-70.7 187-181.6v-45.5c0-4.4-3.6-8-8-8z"}}]},name:"gif",theme:"outlined"},sw=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sz}))}),sM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M160 894c0 17.7 14.3 32 32 32h286V550H160v344zm386 32h286c17.7 0 32-14.3 32-32V550H546v376zm334-616H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v140h366V310h68v172h366V342c0-17.7-14.3-32-32-32zm-402-4h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70 70 31.4 70 70v70zm138 0h-70v-70c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70z"}}]},name:"gift",theme:"filled"},sZ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sM}))}),sH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 310H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v200c0 4.4 3.6 8 8 8h40v344c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V550h40c4.4 0 8-3.6 8-8V342c0-17.7-14.3-32-32-32zm-334-74c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70h-70v-70zm-138-70c38.6 0 70 31.4 70 70v70h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70zM180 482V378h298v104H180zm48 68h250v308H228V550zm568 308H546V550h250v308zm48-376H546V378h298v104z"}}]},name:"gift",theme:"outlined"},sb=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sH}))}),sV={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M546 378h298v104H546zM228 550h250v308H228zm-48-172h298v104H180zm366 172h250v308H546z",fill:t}},{tag:"path",attrs:{d:"M880 310H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v200c0 4.4 3.6 8 8 8h40v344c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V550h40c4.4 0 8-3.6 8-8V342c0-17.7-14.3-32-32-32zM478 858H228V550h250v308zm0-376H180V378h298v104zm0-176h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70 70 31.4 70 70v70zm68-70c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70h-70v-70zm250 622H546V550h250v308zm48-376H546V378h298v104z",fill:e}}]}},name:"gift",theme:"twotone"},sC=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sV}))}),sx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"}}]},name:"github",theme:"filled"},sE=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sx}))}),sL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"}}]},name:"github",theme:"outlined"},sy=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sL}))}),sR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M910.5 553.2l-109-370.8c-6.8-20.4-23.1-34.1-44.9-34.1s-39.5 12.3-46.3 32.7l-72.2 215.4H386.2L314 181.1c-6.8-20.4-24.5-32.7-46.3-32.7s-39.5 13.6-44.9 34.1L113.9 553.2c-4.1 13.6 1.4 28.6 12.3 36.8l385.4 289 386.7-289c10.8-8.1 16.3-23.1 12.2-36.8z"}}]},name:"gitlab",theme:"filled"},sB=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sR}))}),sS={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M913.9 552.2L805 181.4v-.1c-7.6-22.9-25.7-36.5-48.3-36.5-23.4 0-42.5 13.5-49.7 35.2l-71.4 213H388.8l-71.4-213c-7.2-21.7-26.3-35.2-49.7-35.2-23.1 0-42.5 14.8-48.4 36.6L110.5 552.2c-4.4 14.7 1.2 31.4 13.5 40.7l368.5 276.4c2.6 3.6 6.2 6.3 10.4 7.8l8.6 6.4 8.5-6.4c4.9-1.7 9-4.7 11.9-8.9l368.4-275.4c12.4-9.2 18-25.9 13.6-40.6zM751.7 193.4c1-1.8 2.9-1.9 3.5-1.9 1.1 0 2.5.3 3.4 3L818 394.3H684.5l67.2-200.9zm-487.4 1c.9-2.6 2.3-2.9 3.4-2.9 2.7 0 2.9.1 3.4 1.7l67.3 201.2H206.5l57.8-200zM158.8 558.7l28.2-97.3 202.4 270.2-230.6-172.9zm73.9-116.4h122.1l90.8 284.3-212.9-284.3zM512.9 776L405.7 442.3H620L512.9 776zm157.9-333.7h119.5L580 723.1l90.8-280.8zm-40.7 293.9l207.3-276.7 29.5 99.2-236.8 177.5z"}}]},name:"gitlab",theme:"outlined"},sO=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sS}))}),sk=c(10524),sT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M905.9 806.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zm-470.2-248c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8z"}}]},name:"gold",theme:"filled"},s$=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sT}))}),sF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8zm91.2-196h159.5l20.7 128h-201l20.8-128zm2.5 282.7c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM196.5 748l20.7-128h159.5l20.7 128H196.5zm709.4 58.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zM626.5 748l20.7-128h159.5l20.7 128H626.5z"}}]},name:"gold",theme:"outlined"},sA=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sF}))}),sI={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M435.7 558.7c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM196.5 748l20.7-128h159.5l20.7 128H196.5zm709.4 58.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zM626.5 748l20.7-128h159.5l20.7 128H626.5zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8zm91.2-196h159.5l20.7 128h-201l20.8-128z",fill:e}},{tag:"path",attrs:{d:"M592.7 276H433.2l-20.8 128h201zM217.2 620l-20.7 128h200.9l-20.7-128zm430 0l-20.7 128h200.9l-20.7-128z",fill:t}}]}},name:"gold",theme:"twotone"},sP=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sI}))}),sD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M905.9 806.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zm-470.2-248c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8z"}}]},name:"golden",theme:"filled"},sN=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sD}))}),sq={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 64zm167 633.6C638.4 735 583 757 516.9 757c-95.7 0-178.5-54.9-218.8-134.9C281.5 589 272 551.6 272 512s9.5-77 26.1-110.1c40.3-80.1 123.1-135 218.8-135 66 0 121.4 24.3 163.9 63.8L610.6 401c-25.4-24.3-57.7-36.6-93.6-36.6-63.8 0-117.8 43.1-137.1 101-4.9 14.7-7.7 30.4-7.7 46.6s2.8 31.9 7.7 46.6c19.3 57.9 73.3 101 137 101 33 0 61-8.7 82.9-23.4 26-17.4 43.2-43.3 48.9-74H516.9v-94.8h230.7c2.9 16.1 4.4 32.8 4.4 50.1 0 74.7-26.7 137.4-73 180.1z"}}]},name:"google-circle",theme:"filled"},sj=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sq}))}),sW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M881 442.4H519.7v148.5h206.4c-8.9 48-35.9 88.6-76.6 115.8-34.4 23-78.3 36.6-129.9 36.6-99.9 0-184.4-67.5-214.6-158.2-7.6-23-12-47.6-12-72.9s4.4-49.9 12-72.9c30.3-90.6 114.8-158.1 214.7-158.1 56.3 0 106.8 19.4 146.6 57.4l110-110.1c-66.5-62-153.2-100-256.6-100-149.9 0-279.6 86-342.7 211.4-26 51.8-40.8 110.4-40.8 172.4S151 632.8 177 684.6C240.1 810 369.8 896 519.7 896c103.6 0 190.4-34.4 253.8-93 72.5-66.8 114.4-165.2 114.4-282.1 0-27.2-2.4-53.3-6.9-78.5z"}}]},name:"google",theme:"outlined"},sY=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sW}))}),s_={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 64zm36.5 558.8c-43.9 61.8-132.1 79.8-200.9 53.3-69-26.3-118-99.2-112.1-173.5 1.5-90.9 85.2-170.6 176.1-167.5 43.6-2 84.6 16.9 118 43.6-14.3 16.2-29 31.8-44.8 46.3-40.1-27.7-97.2-35.6-137.3-3.6-57.4 39.7-60 133.4-4.8 176.1 53.7 48.7 155.2 24.5 170.1-50.1-33.6-.5-67.4 0-101-1.1-.1-20.1-.2-40.1-.1-60.2 56.2-.2 112.5-.3 168.8.2 3.3 47.3-3 97.5-32 136.5zM791 536.5c-16.8.2-33.6.3-50.4.4-.2 16.8-.3 33.6-.3 50.4H690c-.2-16.8-.2-33.5-.3-50.3-16.8-.2-33.6-.3-50.4-.5v-50.1c16.8-.2 33.6-.3 50.4-.3.1-16.8.3-33.6.4-50.4h50.2l.3 50.4c16.8.2 33.6.2 50.4.3v50.1z"}}]},name:"google-plus-circle",theme:"filled"},sK=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:s_}))}),sX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M879.5 470.4c-.3-27-.4-54.2-.5-81.3h-80.8c-.3 27-.5 54.1-.7 81.3-27.2.1-54.2.3-81.2.6v80.9c27 .3 54.2.5 81.2.8.3 27 .3 54.1.5 81.1h80.9c.1-27 .3-54.1.5-81.3 27.2-.3 54.2-.4 81.2-.7v-80.9c-26.9-.2-54.1-.2-81.1-.5zm-530 .4c-.1 32.3 0 64.7.1 97 54.2 1.8 108.5 1 162.7 1.8-23.9 120.3-187.4 159.3-273.9 80.7-89-68.9-84.8-220 7.7-284 64.7-51.6 156.6-38.9 221.3 5.8 25.4-23.5 49.2-48.7 72.1-74.7-53.8-42.9-119.8-73.5-190-70.3-146.6-4.9-281.3 123.5-283.7 270.2-9.4 119.9 69.4 237.4 180.6 279.8 110.8 42.7 252.9 13.6 323.7-86 46.7-62.9 56.8-143.9 51.3-220-90.7-.7-181.3-.6-271.9-.3z"}}]},name:"google-plus",theme:"outlined"},sU=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sX}))}),sG={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-32zM548.5 622.8c-43.9 61.8-132.1 79.8-200.9 53.3-69-26.3-118-99.2-112.1-173.5 1.5-90.9 85.2-170.6 176.1-167.5 43.6-2 84.6 16.9 118 43.6-14.3 16.2-29 31.8-44.8 46.3-40.1-27.7-97.2-35.6-137.3-3.6-57.4 39.7-60 133.4-4.8 176.1 53.7 48.7 155.2 24.5 170.1-50.1-33.6-.5-67.4 0-101-1.1-.1-20.1-.2-40.1-.1-60.2 56.2-.2 112.5-.3 168.8.2 3.3 47.3-3 97.5-32 136.5zM791 536.5c-16.8.2-33.6.3-50.4.4-.2 16.8-.3 33.6-.3 50.4H690c-.2-16.8-.2-33.5-.3-50.3-16.8-.2-33.6-.3-50.4-.5v-50.1c16.8-.2 33.6-.3 50.4-.3.1-16.8.3-33.6.4-50.4h50.2l.3 50.4c16.8.2 33.6.2 50.4.3v50.1z"}}]},name:"google-plus-square",theme:"filled"},sQ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sG}))}),sJ={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-32zM679 697.6C638.4 735 583 757 516.9 757c-95.7 0-178.5-54.9-218.8-134.9A245.02 245.02 0 01272 512c0-39.6 9.5-77 26.1-110.1 40.3-80.1 123.1-135 218.8-135 66 0 121.4 24.3 163.9 63.8L610.6 401c-25.4-24.3-57.7-36.6-93.6-36.6-63.8 0-117.8 43.1-137.1 101-4.9 14.7-7.7 30.4-7.7 46.6s2.8 31.9 7.7 46.6c19.3 57.9 73.3 101 137 101 33 0 61-8.7 82.9-23.4 26-17.4 43.2-43.3 48.9-74H516.9v-94.8h230.7c2.9 16.1 4.4 32.8 4.4 50.1 0 74.7-26.7 137.4-73 180.1z"}}]},name:"google-square",theme:"filled"},s1=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:sJ}))}),s4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M912 820.1V203.9c28-9.9 48-36.6 48-67.9 0-39.8-32.2-72-72-72-31.3 0-58 20-67.9 48H203.9C194 84 167.3 64 136 64c-39.8 0-72 32.2-72 72 0 31.3 20 58 48 67.9v616.2C84 830 64 856.7 64 888c0 39.8 32.2 72 72 72 31.3 0 58-20 67.9-48h616.2c9.9 28 36.6 48 67.9 48 39.8 0 72-32.2 72-72 0-31.3-20-58-48-67.9zM888 112c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM136 912c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0-752c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm704 680H184V184h656v656zm48 72c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24z"}},{tag:"path",attrs:{d:"M288 474h448c8.8 0 16-7.2 16-16V282c0-8.8-7.2-16-16-16H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16zm56-136h336v64H344v-64zm-56 420h448c8.8 0 16-7.2 16-16V566c0-8.8-7.2-16-16-16H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16zm56-136h336v64H344v-64z"}}]},name:"group",theme:"outlined"},s2=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:s4}))}),s3={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.5 65C719.99 65 889 234.01 889 442.5S719.99 820 511.5 820 134 650.99 134 442.5 303.01 65 511.5 65m0 64C338.36 129 198 269.36 198 442.5S338.36 756 511.5 756 825 615.64 825 442.5 684.64 129 511.5 129M745 889v72H278v-72z"}}]},name:"harmony-o-s",theme:"outlined"},s8=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:s3}))}),s6={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 32v224h704V96c0-17.7-14.3-32-32-32zM456 216c0 4.4-3.6 8-8 8H264c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zM160 928c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V704H160v224zm576-136c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM160 640h704V384H160v256zm96-152c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H264c-4.4 0-8-3.6-8-8v-48z"}}]},name:"hdd",theme:"filled"},s0=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:s6}))}),s5={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-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM496 208H312c-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-8zM312 544h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm328 244a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"hdd",theme:"outlined"},s7=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:s5}))}),s9={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 888h560V680H232v208zm448-140c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 616h560V408H232v208zm72-128c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H312c-4.4 0-8-3.6-8-8v-48zm-72-144h560V136H232v208zm72-128c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H312c-4.4 0-8-3.6-8-8v-48z",fill:t}},{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-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z",fill:e}},{tag:"path",attrs:{d:"M312 544h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-272h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm328 516a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}}]}},name:"hdd",theme:"twotone"},fe=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:s9}))}),ft={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"}}]},name:"heart",theme:"filled"},fc=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ft}))}),fn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"}}]},name:"heart",theme:"outlined"},fr=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fn}))}),fa={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z",fill:e}},{tag:"path",attrs:{d:"M679.7 201c-73.1 0-136.5 40.8-167.7 100.4C480.8 241.8 417.4 201 344.3 201c-104 0-188.3 82.6-188.3 184.5 0 201.2 356 429.3 356 429.3s356-228.1 356-429.3C868 283.6 783.7 201 679.7 201z",fill:t}}]}},name:"heart",theme:"twotone"},fl=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fa}))}),fo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-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-790.4-23.9L512 231.9 858.7 832H165.3zm319-474.1l-228 394c-12.3 21.3 3.1 48 27.7 48h455.8c24.7 0 40.1-26.7 27.7-48L539.7 358c-6.2-10.7-17-16-27.7-16-10.8 0-21.6 5.3-27.7 16zm214 386H325.7L512 422l186.3 322zm-214-194.1l-57 98.4C415 669.5 430.4 696 455 696h114c24.6 0 39.9-26.5 27.7-47.7l-57-98.4c-6.1-10.6-16.9-15.9-27.7-15.9s-21.5 5.3-27.7 15.9zm57.1 98.4h-58.7l29.4-50.7 29.3 50.7z"}}]},name:"heat-map",theme:"outlined"},fi=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fo}))}),fu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M957.6 507.4L603.2 158.2a7.9 7.9 0 00-11.2 0L353.3 393.4a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8V860c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6 40.4 39.8a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2z"}}]},name:"highlight",theme:"filled"},fs=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fu}))}),ff={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M957.6 507.4L603.2 158.2a7.9 7.9 0 00-11.2 0L353.3 393.4a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8V860c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6 40.4 39.8a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2zM389.8 796.2H229.6l134.4-133 80.1 78.9-54.3 54.1zm154.8-62.1L373.2 565.2l68.6-67.6 171.4 168.9-68.6 67.6zM713.1 658L450.3 399.1 597.6 254l262.8 259-147.3 145z"}}]},name:"highlight",theme:"outlined"},fh=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ff}))}),fd={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M229.6 796.3h160.2l54.3-54.1-80.1-78.9zm220.7-397.1l262.8 258.9 147.3-145-262.8-259zm-77.1 166.1l171.4 168.9 68.6-67.6-171.4-168.9z",fill:t}},{tag:"path",attrs:{d:"M957.6 507.5L603.2 158.3a7.9 7.9 0 00-11.2 0L353.3 393.5a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8v55.2c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6L539 830a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2zM389.8 796.3H229.6l134.4-133 80.1 78.9-54.3 54.1zm154.8-62.1L373.2 565.3l68.6-67.6 171.4 168.9-68.6 67.6zm168.5-76.1L450.3 399.2l147.3-145.1 262.8 259-147.3 145z",fill:e}}]}},name:"highlight",theme:"twotone"},fv=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fd}))}),fm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"}}]},name:"history",theme:"outlined"},fg=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fm}))}),fp=c(48792),fz=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fp.Z}))}),fw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L534.6 93.4a31.93 31.93 0 00-45.2 0L77.5 505c-12 12-18.8 28.3-18.8 45.3 0 35.3 28.7 64 64 64h43.4V908c0 17.7 14.3 32 32 32H448V716h112v224h265.9c17.7 0 32-14.3 32-32V614.3h43.4c17 0 33.3-6.7 45.3-18.8 24.9-25 24.9-65.5-.1-90.5z"}}]},name:"home",theme:"filled"},fM=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fw}))}),fZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"},fH=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fZ}))}),fb={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512.1 172.6l-370 369.7h96V868H392V640c0-22.1 17.9-40 40-40h160c22.1 0 40 17.9 40 40v228h153.9V542.3H882L535.2 195.7l-23.1-23.1zm434.5 422.9c-6 6-13.1 10.8-20.8 13.9 7.7-3.2 14.8-7.9 20.8-13.9zm-887-34.7c5 30.3 31.4 53.5 63.1 53.5h.9c-31.9 0-58.9-23-64-53.5zm-.9-10.5v-1.9 1.9zm.1-2.6c.1-3.1.5-6.1 1-9.1-.6 2.9-.9 6-1 9.1z",fill:t}},{tag:"path",attrs:{d:"M951 510c0-.1-.1-.1-.1-.2l-1.8-2.1c-.1-.1-.2-.3-.4-.4-.7-.8-1.5-1.6-2.2-2.4L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.6 63.6 0 00-16 26.6l-.6 2.1-.3 1.1-.3 1.2c-.2.7-.3 1.4-.4 2.1 0 .1 0 .3-.1.4-.6 3-.9 6-1 9.1v3.3c0 .5 0 1 .1 1.5 0 .5 0 .9.1 1.4 0 .5.1 1 .1 1.5 0 .6.1 1.2.2 1.8 0 .3.1.6.1.9l.3 2.5v.1c5.1 30.5 32.2 53.5 64 53.5h42.5V940h691.7V614.3h43.4c8.6 0 16.9-1.7 24.5-4.9s14.7-7.9 20.8-13.9a63.6 63.6 0 0018.7-45.3c0-14.7-5-28.8-14.3-40.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z",fill:e}}]}},name:"home",theme:"twotone"},fV=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fb}))}),fC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194z"}}]},name:"hourglass",theme:"filled"},fx=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fC}))}),fE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194zm-72 388v134H354V706c0-42.2 16.4-81.9 46.3-111.7C430.1 564.4 469.8 548 512 548s81.9 16.4 111.7 46.3C653.6 624.1 670 663.8 670 706zm0-388c0 42.2-16.4 81.9-46.3 111.7C593.9 459.6 554.2 476 512 476s-81.9-16.4-111.7-46.3A156.63 156.63 0 01354 318V184h316v134z"}}]},name:"hourglass",theme:"outlined"},fL=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fE}))}),fy={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 548c-42.2 0-81.9 16.4-111.7 46.3A156.63 156.63 0 00354 706v134h316V706c0-42.2-16.4-81.9-46.3-111.7A156.63 156.63 0 00512 548zM354 318c0 42.2 16.4 81.9 46.3 111.7C430.1 459.6 469.8 476 512 476s81.9-16.4 111.7-46.3C653.6 399.9 670 360.2 670 318V184H354v134z",fill:t}},{tag:"path",attrs:{d:"M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194zm-72 388v134H354V706c0-42.2 16.4-81.9 46.3-111.7C430.1 564.4 469.8 548 512 548s81.9 16.4 111.7 46.3C653.6 624.1 670 663.8 670 706zm0-388c0 42.2-16.4 81.9-46.3 111.7C593.9 459.6 554.2 476 512 476s-81.9-16.4-111.7-46.3A156.63 156.63 0 01354 318V184h316v134z",fill:e}}]}},name:"hourglass",theme:"twotone"},fR=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fy}))}),fB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M145.2 96l66 746.6L512 928l299.6-85.4L878.9 96H145.2zm595 177.1l-4.8 47.2-1.7 19.5H382.3l8.2 94.2h335.1l-3.3 24.3-21.2 242.2-1.7 16.2-187 51.6v.3h-1.2l-.3.1v-.1h-.1l-188.6-52L310.8 572h91.1l6.5 73.2 102.4 27.7h.4l102-27.6 11.4-118.6H510.9v-.1H306l-22.8-253.5-1.7-24.3h460.3l-1.6 24.3z"}}]},name:"html5",theme:"filled"},fS=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fB}))}),fO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M145 96l66 746.6L511.8 928l299.6-85.4L878.7 96H145zm610.9 700.6l-244.1 69.6-245.2-69.6-56.7-641.2h603.8l-57.8 641.2zM281 249l1.7 24.3 22.7 253.5h206.5v-.1h112.9l-11.4 118.5L511 672.9v.2h-.8l-102.4-27.7-6.5-73.2h-91l11.3 144.7 188.6 52h1.7v-.4l187.7-51.7 1.7-16.3 21.2-242.2 3.2-24.3H511v.2H389.9l-8.2-94.2h352.1l1.7-19.5 4.8-47.2L742 249H511z"}}]},name:"html5",theme:"outlined"},fk=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fO}))}),fT={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M145 96l66 746.6L511.8 928l299.6-85.4L878.7 96H145zm610.9 700.6l-244.1 69.6-245.2-69.6-56.7-641.2h603.8l-57.8 641.2z",fill:e}},{tag:"path",attrs:{d:"M209.9 155.4l56.7 641.2 245.2 69.6 244.1-69.6 57.8-641.2H209.9zm530.4 117.9l-4.8 47.2-1.7 19.5H381.7l8.2 94.2H511v-.2h214.7l-3.2 24.3-21.2 242.2-1.7 16.3-187.7 51.7v.4h-1.7l-188.6-52-11.3-144.7h91l6.5 73.2 102.4 27.7h.8v-.2l102.4-27.7 11.4-118.5H511.9v.1H305.4l-22.7-253.5L281 249h461l-1.7 24.3z",fill:t}},{tag:"path",attrs:{d:"M281 249l1.7 24.3 22.7 253.5h206.5v-.1h112.9l-11.4 118.5L511 672.9v.2h-.8l-102.4-27.7-6.5-73.2h-91l11.3 144.7 188.6 52h1.7v-.4l187.7-51.7 1.7-16.3 21.2-242.2 3.2-24.3H511v.2H389.9l-8.2-94.2h352.1l1.7-19.5 4.8-47.2L742 249H511z",fill:e}}]}},name:"html5",theme:"twotone"},f$=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fT}))}),fF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M373 411c-28.5 0-51.7 23.3-51.7 52s23.2 52 51.7 52 51.7-23.3 51.7-52-23.2-52-51.7-52zm555-251H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zM608 420c0-4.4 1-8 2.3-8h123.4c1.3 0 2.3 3.6 2.3 8v48c0 4.4-1 8-2.3 8H610.3c-1.3 0-2.3-3.6-2.3-8v-48zm-86 253h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H224a8 8 0 01-8-8.4c2.8-53.3 32-99.7 74.6-126.1a111.8 111.8 0 01-29.1-75.5c0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.5-29.1 75.5 42.7 26.5 71.8 72.8 74.6 126.1.4 4.6-3.2 8.4-7.8 8.4zm278.9-53H615.1c-3.9 0-7.1-3.6-7.1-8v-48c0-4.4 3.2-8 7.1-8h185.7c3.9 0 7.1 3.6 7.1 8v48h.1c0 4.4-3.2 8-7.1 8z"}}]},name:"idcard",theme:"filled"},fA=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fF}))}),fI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560zM610.3 476h123.4c1.3 0 2.3-3.6 2.3-8v-48c0-4.4-1-8-2.3-8H610.3c-1.3 0-2.3 3.6-2.3 8v48c0 4.4 1 8 2.3 8zm4.8 144h185.7c3.9 0 7.1-3.6 7.1-8v-48c0-4.4-3.2-8-7.1-8H615.1c-3.9 0-7.1 3.6-7.1 8v48c0 4.4 3.2 8 7.1 8zM224 673h43.9c4.2 0 7.6-3.3 7.9-7.5 3.8-50.5 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H522a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.6-126.1a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1c-.4 4.6 3.2 8.4 7.8 8.4zm149-262c28.5 0 51.7 23.3 51.7 52s-23.2 52-51.7 52-51.7-23.3-51.7-52 23.2-52 51.7-52z"}}]},name:"idcard",theme:"outlined"},fP=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fI}))}),fD={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560z",fill:e}},{tag:"path",attrs:{d:"M136 792h752V232H136v560zm472-372c0-4.4 1-8 2.3-8h123.4c1.3 0 2.3 3.6 2.3 8v48c0 4.4-1 8-2.3 8H610.3c-1.3 0-2.3-3.6-2.3-8v-48zm0 144c0-4.4 3.2-8 7.1-8h185.7c3.9 0 7.1 3.6 7.1 8v48c0 4.4-3.2 8-7.1 8H615.1c-3.9 0-7.1-3.6-7.1-8v-48zM216.2 664.6c2.8-53.3 31.9-99.6 74.6-126.1-18.1-20-29.1-46.4-29.1-75.5 0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.6-29.1 75.5 42.6 26.4 71.8 72.8 74.6 126.1a8 8 0 01-8 8.4h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H224c-4.6 0-8.2-3.8-7.8-8.4z",fill:t}},{tag:"path",attrs:{d:"M321.3 463a51.7 52 0 10103.4 0 51.7 52 0 10-103.4 0z",fill:t}},{tag:"path",attrs:{d:"M610.3 476h123.4c1.3 0 2.3-3.6 2.3-8v-48c0-4.4-1-8-2.3-8H610.3c-1.3 0-2.3 3.6-2.3 8v48c0 4.4 1 8 2.3 8zm4.8 144h185.7c3.9 0 7.1-3.6 7.1-8v-48c0-4.4-3.2-8-7.1-8H615.1c-3.9 0-7.1 3.6-7.1 8v48c0 4.4 3.2 8 7.1 8zM224 673h43.9c4.2 0 7.6-3.3 7.9-7.5 3.8-50.5 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H522a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.6-126.1a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1c-.4 4.6 3.2 8.4 7.8 8.4zm149-262c28.5 0 51.7 23.3 51.7 52s-23.2 52-51.7 52-51.7-23.3-51.7-52 23.2-52 51.7-52z",fill:e}}]}},name:"idcard",theme:"twotone"},fN=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fD}))}),fq=c(68346),fj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M852.6 367.6c16.3-36.9 32.1-90.7 32.1-131.8 0-109.1-119.5-147.6-314.5-57.9-161.4-10.8-316.8 110.5-355.6 279.7 46.3-52.3 117.4-123.4 183-151.7C316.1 378.3 246.7 470 194 565.6c-31.1 56.9-66 148.8-66 217.5 0 147.9 139.3 129.8 270.4 63 47.1 23.1 99.8 23.4 152.5 23.4 145.7 0 276.4-81.4 325.2-219H694.9c-78.8 132.9-295.2 79.5-295.2-71.2h493.2c9.6-65.4-2.5-143.6-40.3-211.7zM224.8 648.3c26.6 76.7 80.6 143.8 150.4 185-133.1 73.4-259.9 43.6-150.4-185zm174-163.3c3-82.7 75.4-142.3 156-142.3 80.1 0 153 59.6 156 142.3h-312zm276.8-281.4c32.1-15.4 72.8-33 108.8-33 47.1 0 81.4 32.6 81.4 80.6 0 30-11.1 73.5-21.9 101.8-39.3-63.5-98.9-122.4-168.3-149.4z"}}]},name:"ie",theme:"outlined"},fW=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fj}))}),fY={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-32zM765.9 556.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.2zm-72.3-272.5c-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.7zM540.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-square",theme:"filled"},f_=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fY}))}),fK=c(57546),fX=c(64082),fU=c(12489),fG=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fU.Z}))}),fQ=c(45605),fJ={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm32 588c0 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",fill:t}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"info-circle",theme:"twotone"},f1=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:fJ}))}),f4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M448 224a64 64 0 10128 0 64 64 0 10-128 0zm96 168h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V400c0-4.4-3.6-8-8-8z"}}]},name:"info",theme:"outlined"},f2=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:f4}))}),f3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M878.7 336H145.3c-18.4 0-33.3 14.3-33.3 32v464c0 17.7 14.9 32 33.3 32h733.3c18.4 0 33.3-14.3 33.3-32V368c.1-17.7-14.8-32-33.2-32zM360 792H184V632h176v160zm0-224H184V408h176v160zm240 224H424V632h176v160zm0-224H424V408h176v160zm240 224H664V632h176v160zm0-224H664V408h176v160zm64-408H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8z"}}]},name:"insert-row-above",theme:"outlined"},f8=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:f3}))}),f6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M904 768H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-25.3-608H145.3c-18.4 0-33.3 14.3-33.3 32v464c0 17.7 14.9 32 33.3 32h733.3c18.4 0 33.3-14.3 33.3-32V192c.1-17.7-14.8-32-33.2-32zM360 616H184V456h176v160zm0-224H184V232h176v160zm240 224H424V456h176v160zm0-224H424V232h176v160zm240 224H664V456h176v160zm0-224H664V232h176v160z"}}]},name:"insert-row-below",theme:"outlined"},f0=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:f6}))}),f5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M248 112h-80c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8zm584 0H368c-17.7 0-32 14.9-32 33.3v733.3c0 18.4 14.3 33.3 32 33.3h464c17.7 0 32-14.9 32-33.3V145.3c0-18.4-14.3-33.3-32-33.3zM568 840H408V664h160v176zm0-240H408V424h160v176zm0-240H408V184h160v176zm224 480H632V664h160v176zm0-240H632V424h160v176zm0-240H632V184h160v176z"}}]},name:"insert-row-left",theme:"outlined"},f7=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:f5}))}),f9={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M856 112h-80c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8zm-200 0H192c-17.7 0-32 14.9-32 33.3v733.3c0 18.4 14.3 33.3 32 33.3h464c17.7 0 32-14.9 32-33.3V145.3c0-18.4-14.3-33.3-32-33.3zM392 840H232V664h160v176zm0-240H232V424h160v176zm0-240H232V184h160v176zm224 480H456V664h160v176zm0-240H456V424h160v176zm0-240H456V184h160v176z"}}]},name:"insert-row-right",theme:"outlined"},he=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:f9}))}),ht={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 378.7c-73.4 0-133.3 59.9-133.3 133.3S438.6 645.3 512 645.3 645.3 585.4 645.3 512 585.4 378.7 512 378.7zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zM512 717.1c-113.5 0-205.1-91.6-205.1-205.1S398.5 306.9 512 306.9 717.1 398.5 717.1 512 625.5 717.1 512 717.1zm213.5-370.7c-26.5 0-47.9-21.4-47.9-47.9s21.4-47.9 47.9-47.9 47.9 21.4 47.9 47.9a47.84 47.84 0 01-47.9 47.9z"}}]},name:"instagram",theme:"filled"},hc=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ht}))}),hn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 306.9c-113.5 0-205.1 91.6-205.1 205.1S398.5 717.1 512 717.1 717.1 625.5 717.1 512 625.5 306.9 512 306.9zm0 338.4c-73.4 0-133.3-59.9-133.3-133.3S438.6 378.7 512 378.7 645.3 438.6 645.3 512 585.4 645.3 512 645.3zm213.5-394.6c-26.5 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9 47.9-21.3 47.9-47.9a47.84 47.84 0 00-47.9-47.9zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zm-88 235.8c-7.3 18.2-16.1 31.8-30.2 45.8-14.1 14.1-27.6 22.9-45.8 30.2C695.2 844.7 570.3 840 512 840c-58.3 0-183.3 4.7-235.9-16.1-18.2-7.3-31.8-16.1-45.8-30.2-14.1-14.1-22.9-27.6-30.2-45.8C179.3 695.2 184 570.3 184 512c0-58.3-4.7-183.3 16.1-235.9 7.3-18.2 16.1-31.8 30.2-45.8s27.6-22.9 45.8-30.2C328.7 179.3 453.7 184 512 184s183.3-4.7 235.9 16.1c18.2 7.3 31.8 16.1 45.8 30.2 14.1 14.1 22.9 27.6 30.2 45.8C844.7 328.7 840 453.7 840 512c0 58.3 4.7 183.2-16.2 235.8z"}}]},name:"instagram",theme:"outlined"},hr=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hn}))}),ha={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M519.9 358.8h97.9v41.6h-97.9zm347-188.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM411.3 656h-.2c0 4.4-3.6 8-8 8h-37.3c-4.4 0-8-3.6-8-8V471.4c-7.7 9.2-15.4 17.9-23.1 26a6.04 6.04 0 01-10.2-2.4l-13.2-43.5c-.6-2-.2-4.1 1.2-5.6 37-43.4 64.7-95.1 82.2-153.6 1.1-3.5 5-5.3 8.4-3.7l38.6 18.3c2.7 1.3 4.1 4.4 3.2 7.2a429.2 429.2 0 01-33.6 79V656zm296.5-49.2l-26.3 35.3a5.92 5.92 0 01-8.9.7c-30.6-29.3-56.8-65.2-78.1-106.9V656c0 4.4-3.6 8-8 8h-36.2c-4.4 0-8-3.6-8-8V536c-22 44.7-49 80.8-80.6 107.6a5.9 5.9 0 01-8.9-1.4L430 605.7a6 6 0 011.6-8.1c28.6-20.3 51.9-45.2 71-76h-55.1c-4.4 0-8-3.6-8-8V478c0-4.4 3.6-8 8-8h94.9v-18.6h-65.9c-4.4 0-8-3.6-8-8V316c0-4.4 3.6-8 8-8h184.7c4.4 0 8 3.6 8 8v127.2c0 4.4-3.6 8-8 8h-66.7v18.6h98.8c4.4 0 8 3.6 8 8v35.6c0 4.4-3.6 8-8 8h-59c18.1 29.1 41.8 54.3 72.3 76.9 2.6 2.1 3.2 5.9 1.2 8.5z"}}]},name:"insurance",theme:"filled"},hl=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ha}))}),ho={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M441.6 306.8L403 288.6a6.1 6.1 0 00-8.4 3.7c-17.5 58.5-45.2 110.1-82.2 153.6a6.05 6.05 0 00-1.2 5.6l13.2 43.5c1.3 4.4 7 5.7 10.2 2.4 7.7-8.1 15.4-16.9 23.1-26V656c0 4.4 3.6 8 8 8H403c4.4 0 8-3.6 8-8V393.1a429.2 429.2 0 0033.6-79c1-2.9-.3-6-3-7.3zm26.8 9.2v127.2c0 4.4 3.6 8 8 8h65.9v18.6h-94.9c-4.4 0-8 3.6-8 8v35.6c0 4.4 3.6 8 8 8h55.1c-19.1 30.8-42.4 55.7-71 76a6 6 0 00-1.6 8.1l22.8 36.5c1.9 3.1 6.2 3.8 8.9 1.4 31.6-26.8 58.7-62.9 80.6-107.6v120c0 4.4 3.6 8 8 8h36.2c4.4 0 8-3.6 8-8V536c21.3 41.7 47.5 77.5 78.1 106.9 2.6 2.5 6.8 2.1 8.9-.7l26.3-35.3c2-2.7 1.4-6.5-1.2-8.4-30.5-22.6-54.2-47.8-72.3-76.9h59c4.4 0 8-3.6 8-8V478c0-4.4-3.6-8-8-8h-98.8v-18.6h66.7c4.4 0 8-3.6 8-8V316c0-4.4-3.6-8-8-8H476.4c-4.4 0-8 3.6-8 8zm51.5 42.8h97.9v41.6h-97.9v-41.6zm347-188.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z"}}]},name:"insurance",theme:"outlined"},hi=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ho}))}),hu={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z",fill:e}},{tag:"path",attrs:{d:"M521.9 358.8h97.9v41.6h-97.9z",fill:t}},{tag:"path",attrs:{d:"M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM413.3 656h-.2c0 4.4-3.6 8-8 8h-37.3c-4.4 0-8-3.6-8-8V471.4c-7.7 9.2-15.4 17.9-23.1 26a6.04 6.04 0 01-10.2-2.4l-13.2-43.5c-.6-2-.2-4.1 1.2-5.6 37-43.4 64.7-95.1 82.2-153.6 1.1-3.5 5-5.3 8.4-3.7l38.6 18.3c2.7 1.3 4.1 4.4 3.2 7.2a429.2 429.2 0 01-33.6 79V656zm257.9-340v127.2c0 4.4-3.6 8-8 8h-66.7v18.6h98.8c4.4 0 8 3.6 8 8v35.6c0 4.4-3.6 8-8 8h-59c18.1 29.1 41.8 54.3 72.3 76.9 2.6 2.1 3.2 5.9 1.2 8.5l-26.3 35.3a5.92 5.92 0 01-8.9.7c-30.6-29.3-56.8-65.2-78.1-106.9V656c0 4.4-3.6 8-8 8h-36.2c-4.4 0-8-3.6-8-8V536c-22 44.7-49 80.8-80.6 107.6a6.38 6.38 0 01-4.8 1.4c-1.7-.3-3.2-1.3-4.1-2.8L432 605.7a6 6 0 011.6-8.1c28.6-20.3 51.9-45.2 71-76h-55.1c-4.4 0-8-3.6-8-8V478c0-4.4 3.6-8 8-8h94.9v-18.6h-65.9c-4.4 0-8-3.6-8-8V316c0-4.4 3.6-8 8-8h184.7c4.4 0 8 3.6 8 8z",fill:t}},{tag:"path",attrs:{d:"M443.7 306.9l-38.6-18.3c-3.4-1.6-7.3.2-8.4 3.7-17.5 58.5-45.2 110.2-82.2 153.6a5.7 5.7 0 00-1.2 5.6l13.2 43.5c1.4 4.5 7 5.8 10.2 2.4 7.7-8.1 15.4-16.8 23.1-26V656c0 4.4 3.6 8 8 8h37.3c4.4 0 8-3.6 8-8h.2V393.1a429.2 429.2 0 0033.6-79c.9-2.8-.5-5.9-3.2-7.2zm26.8 9.1v127.4c0 4.4 3.6 8 8 8h65.9V470h-94.9c-4.4 0-8 3.6-8 8v35.6c0 4.4 3.6 8 8 8h55.1c-19.1 30.8-42.4 55.7-71 76a6 6 0 00-1.6 8.1l22.8 36.5c.9 1.5 2.4 2.5 4.1 2.8 1.7.3 3.5-.2 4.8-1.4 31.6-26.8 58.6-62.9 80.6-107.6v120c0 4.4 3.6 8 8 8h36.2c4.4 0 8-3.6 8-8V535.9c21.3 41.7 47.5 77.6 78.1 106.9 2.6 2.5 6.7 2.2 8.9-.7l26.3-35.3c2-2.6 1.4-6.4-1.2-8.5-30.5-22.6-54.2-47.8-72.3-76.9h59c4.4 0 8-3.6 8-8v-35.6c0-4.4-3.6-8-8-8h-98.8v-18.6h66.7c4.4 0 8-3.6 8-8V316c0-4.4-3.6-8-8-8H478.5c-4.4 0-8 3.6-8 8zm51.4 42.8h97.9v41.6h-97.9v-41.6z",fill:e}}]}},name:"insurance",theme:"twotone"},hs=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hu}))}),hf={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"},hh=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hf}))}),hd={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-32zm-40 728H184V184h656v656zM304.8 524h50.7c3.7 0 6.8-3 6.8-6.8v-78.9c0-19.7 15.9-35.6 35.5-35.6h205.7v53.4c0 5.7 6.5 8.8 10.9 5.3l109.1-85.7c3.5-2.7 3.5-8 0-10.7l-109.1-85.7c-4.4-3.5-10.9-.3-10.9 5.3V338H397.7c-55.1 0-99.7 44.8-99.7 100.1V517c0 4 3 7 6.8 7zm-4.2 134.9l109.1 85.7c4.4 3.5 10.9.3 10.9-5.3v-53.4h205.7c55.1 0 99.7-44.8 99.7-100.1v-78.9c0-3.7-3-6.8-6.8-6.8h-50.7c-3.7 0-6.8 3-6.8 6.8v78.9c0 19.7-15.9 35.6-35.5 35.6H420.6V568c0-5.7-6.5-8.8-10.9-5.3l-109.1 85.7c-3.5 2.5-3.5 7.8 0 10.5z"}}]},name:"interaction",theme:"outlined"},hv=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hd}))}),hm={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm114-401.9c0-55.3 44.6-100.1 99.7-100.1h205.8v-53.4c0-5.6 6.5-8.8 10.9-5.3L723.5 365c3.5 2.7 3.5 8 0 10.7l-109.1 85.7c-4.4 3.5-10.9.4-10.9-5.3v-53.4H397.8c-19.6 0-35.5 15.9-35.5 35.6v78.9c0 3.8-3.1 6.8-6.8 6.8h-50.7c-3.8 0-6.8-3-6.8-7v-78.9zm2.6 210.3l109.1-85.7c4.4-3.5 10.9-.4 10.9 5.3v53.4h205.6c19.6 0 35.5-15.9 35.5-35.6v-78.9c0-3.8 3.1-6.8 6.8-6.8h50.7c3.8 0 6.8 3.1 6.8 6.8v78.9c0 55.3-44.6 100.1-99.7 100.1H420.6v53.4c0 5.6-6.5 8.8-10.9 5.3l-109.1-85.7c-3.5-2.7-3.5-8 0-10.5z",fill:t}},{tag:"path",attrs:{d:"M304.8 524h50.7c3.7 0 6.8-3 6.8-6.8v-78.9c0-19.7 15.9-35.6 35.5-35.6h205.7v53.4c0 5.7 6.5 8.8 10.9 5.3l109.1-85.7c3.5-2.7 3.5-8 0-10.7l-109.1-85.7c-4.4-3.5-10.9-.3-10.9 5.3V338H397.7c-55.1 0-99.7 44.8-99.7 100.1V517c0 4 3 7 6.8 7zm-4.2 134.9l109.1 85.7c4.4 3.5 10.9.3 10.9-5.3v-53.4h205.7c55.1 0 99.7-44.8 99.7-100.1v-78.9c0-3.7-3-6.8-6.8-6.8h-50.7c-3.7 0-6.8 3-6.8 6.8v78.9c0 19.7-15.9 35.6-35.5 35.6H420.6V568c0-5.7-6.5-8.8-10.9-5.3l-109.1 85.7c-3.5 2.5-3.5 7.8 0 10.5z",fill:e}}]}},name:"interaction",theme:"twotone"},hg=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hm}))}),hp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm72-112c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48zm400-188h-59.3c-2.6 0-5 1.2-6.5 3.3L763.7 538.1l-49.9-68.8a7.92 7.92 0 00-6.5-3.3H648c-6.5 0-10.3 7.4-6.5 12.7l109.2 150.7a16.1 16.1 0 0026 0l165.8-228.7c3.8-5.3 0-12.7-6.5-12.7zm-44 306h-64.2c-5.5 0-10.6 2.9-13.6 7.5a352.2 352.2 0 01-49.8 62.2A355.92 355.92 0 01651.1 840a355 355 0 01-138.7 27.9c-48.1 0-94.8-9.4-138.7-27.9a355.92 355.92 0 01-113.3-76.3A353.06 353.06 0 01184 650.5c-18.6-43.8-28-90.5-28-138.5s9.4-94.7 28-138.5c17.9-42.4 43.6-80.5 76.4-113.2 32.8-32.7 70.9-58.4 113.3-76.3a355 355 0 01138.7-27.9c48.1 0 94.8 9.4 138.7 27.9 42.4 17.9 80.5 43.6 113.3 76.3 19 19 35.6 39.8 49.8 62.2 2.9 4.7 8.1 7.5 13.6 7.5H892c6 0 9.8-6.3 7.2-11.6C828.8 178.5 684.7 82 517.7 80 278.9 77.2 80.5 272.5 80 511.2 79.5 750.1 273.3 944 512.4 944c169.2 0 315.6-97 386.7-238.4A8 8 0 00892 694z"}}]},name:"issues-close",theme:"outlined"},hz=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hp}))}),hw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M798 160H366c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h181.2l-156 544H229c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8H474.4l156-544H798c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"italic",theme:"outlined"},hM=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hw}))}),hZ={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M394.68 756.99s-34.33 19.95 24.34 26.6c71.1 8.05 107.35 7 185.64-7.87 0 0 20.66 12.94 49.38 24.14-175.47 75.08-397.18-4.37-259.36-42.87m-21.37-98.17s-38.35 28.35 20.32 34.47c75.83 7.88 135.9 8.4 239.57-11.55 0 0 14.36 14.53 36.95 22.4-212.43 62.13-448.84 5.08-296.84-45.32m180.73-166.43c43.26 49.7-11.38 94.5-11.38 94.5s109.8-56.7 59.37-127.57c-47.11-66.15-83.19-99.05 112.25-212.27.18 0-306.82 76.65-160.24 245.35m232.22 337.04s25.4 20.82-27.85 37.1c-101.4 30.62-421.7 39.9-510.66 1.22-32.05-13.82 28.02-33.25 46.93-37.27 19.62-4.2 31-3.5 31-3.5-35.55-25.03-229.94 49.17-98.77 70.35 357.6 58.1 652.16-26.08 559.35-67.9m-375.12-272.3s-163.04 38.68-57.79 52.68c44.48 5.95 133.1 4.55 215.58-2.28 67.42-5.6 135.2-17.85 135.2-17.85s-23.82 10.15-40.98 21.88c-165.5 43.57-485.1 23.27-393.16-21.18 77.93-37.45 141.15-33.25 141.15-33.25M703.6 720.42c168.3-87.33 90.37-171.33 36.08-159.95-13.31 2.8-19.27 5.25-19.27 5.25s4.9-7.7 14.36-11.03C842.12 516.9 924.78 666 700.1 724.97c0-.18 2.63-2.45 3.5-4.55M602.03 64s93.16 93.1-88.44 236.25c-145.53 114.8-33.27 180.42 0 255.14-84.94-76.65-147.28-144.02-105.42-206.84C469.63 256.67 639.68 211.87 602.03 64M427.78 957.19C589.24 967.5 837.22 951.4 843 875.1c0 0-11.2 28.88-133.44 51.98-137.83 25.9-307.87 22.92-408.57 6.3 0-.18 20.66 16.97 126.79 23.8"}}]},name:"java",theme:"outlined"},hH=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hZ}))}),hb={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M416 176H255.54v425.62c0 105.3-36.16 134.71-99.1 134.71-29.5 0-56.05-5.05-76.72-12.14L63 848.79C92.48 858.91 137.73 865 173.13 865 317.63 865 416 797.16 416 602.66zm349.49-16C610.26 160 512 248.13 512 364.6c0 100.32 75.67 163.13 185.7 203.64 79.57 28.36 111.03 53.7 111.03 95.22 0 45.57-36.36 74.96-105.13 74.96-63.87 0-121.85-21.31-161.15-42.58v-.04L512 822.43C549.36 843.73 619.12 865 694.74 865 876.52 865 961 767.75 961 653.3c0-97.25-54.04-160.04-170.94-204.63-86.47-34.44-122.81-53.67-122.81-97.23 0-34.45 31.45-65.84 96.3-65.84 63.83 0 107.73 21.45 133.3 34.64l38.34-128.19C895.1 174.46 841.11 160 765.5 160"}}]},name:"java-script",theme:"outlined"},hV=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hb}))}),hC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5l-41.1 41.1-62.3-62.3a8.15 8.15 0 00-11.4 0l-39.8 39.8a8.15 8.15 0 000 11.4l62.3 62.3-44.9 44.9-62.3-62.3a8.15 8.15 0 00-11.4 0l-39.8 39.8a8.15 8.15 0 000 11.4l62.3 62.3-65.3 65.3a8.03 8.03 0 000 11.3l42.3 42.3c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6A304.06 304.06 0 00608 720c167.9 0 304-136.1 304-304S775.9 112 608 112zm161.2 465.2C726.2 620.3 668.9 644 608 644c-60.9 0-118.2-23.7-161.2-66.8-43.1-43-66.8-100.3-66.8-161.2 0-60.9 23.7-118.2 66.8-161.2 43-43.1 100.3-66.8 161.2-66.8 60.9 0 118.2 23.7 161.2 66.8 43.1 43 66.8 100.3 66.8 161.2 0 60.9-23.7 118.2-66.8 161.2z"}}]},name:"key",theme:"outlined"},hx=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hC}))}),hE={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.99 111a61.55 61.55 0 00-26.8 6.13l-271.3 131a61.71 61.71 0 00-33.32 41.85L113.53 584.5a61.77 61.77 0 0011.86 52.06L313.2 872.71a61.68 61.68 0 0048.26 23.27h301.05a61.68 61.68 0 0048.26-23.27l187.81-236.12v-.03a61.73 61.73 0 0011.9-52.03v-.03L843.4 289.98v-.04a61.72 61.72 0 00-33.3-41.8l-271.28-131a17.43 17.43 0 00-.03-.04 61.76 61.76 0 00-26.8-6.1m0 35.1c3.94 0 7.87.87 11.55 2.64l271.3 131a26.54 26.54 0 0114.36 18.02l67.04 294.52a26.56 26.56 0 01-5.1 22.45L683.31 850.88a26.51 26.51 0 01-20.8 10H361.45a26.45 26.45 0 01-20.77-10L152.88 614.73a26.59 26.59 0 01-5.14-22.45l67.07-294.49a26.51 26.51 0 0114.32-18.02v-.04l271.3-131A26.52 26.52 0 01512 146.1m-.14 73.82c-2.48 0-4.99.5-7.4 1.51-9.65 4.21-14.22 15.44-10.01 25.09 4.04 9.48 5.42 18.94 6.48 28.41.35 4.92.55 9.66.37 14.4.53 4.74-1.94 9.48-5.45 14.22-3.68 4.74-4.03 9.49-4.55 14.23-48.16 4.72-91.51 25.83-124.65 57.54l-.31-.17c-4.04-2.63-7.88-5.27-14.02-5.45-5.79-.35-11.06-1.4-14.4-4.9-3.68-2.8-7.35-5.95-10.69-9.29-6.84-6.67-13.36-13.87-18.1-23a19.66 19.66 0 00-11.58-9.5 19.27 19.27 0 00-23.68 13.17c-2.98 10 2.98 20.7 13.16 23.51 9.83 2.99 18.08 7.9 26.15 13.16a127.38 127.38 0 0111.24 8.6c4.04 2.64 6.13 7.55 7.71 13.17 1.16 5.62 4.39 8.88 7.54 12.03a209.26 209.26 0 00-37.08 142.61c-3.94 1.38-7.83 2.88-11.17 6.82-3.86 4.39-8.08 7.88-12.82 8.23a94.03 94.03 0 01-14.02 2.64c-9.47 1.23-19.13 1.93-29.13-.17a19.53 19.53 0 00-14.74 3.32c-8.6 5.97-10.52 17.9-4.56 26.5a19.13 19.13 0 0026.67 4.59c8.42-5.97 17.37-9.32 26.5-12.3 4.55-1.41 9.13-2.62 13.87-3.5 4.56-1.58 9.64-.2 15.08 2.09 4.52 2.33 8.52 2.15 12.48 1.75 15.44 50.08 49.22 92.03 93.32 118.52-1.5 4.21-2.92 8.6-1.57 14.15 1.05 5.8 1.22 11.25-1.24 15.29a172.58 172.58 0 01-6.3 12.78c-4.92 8.07-10.17 16.15-17.9 23.17a18.97 18.97 0 00-6.33 13.5 19.06 19.06 0 0018.43 19.68A19.21 19.21 0 00409 787.88c.17-10.35 2.97-19.46 6.13-28.59 1.58-4.38 3.52-8.77 5.62-12.99 1.58-4.56 5.78-7.92 10.87-10.72 5.07-2.62 7.35-6.32 9.63-10.22a209.09 209.09 0 0070.74 12.51c25.26 0 49.4-4.72 71.87-12.92 2.37 4.06 4.82 7.91 9.9 10.63 5.1 2.98 9.29 6.16 10.87 10.72 2.1 4.4 3.87 8.78 5.45 13.17 3.15 9.12 5.78 18.23 6.13 28.58 0 5.09 2.1 10.02 6.14 13.71a19.32 19.32 0 0027.04-1.23 19.32 19.32 0 00-1.24-27.05c-7.72-6.84-12.98-15.09-17.72-23.34-2.28-4.03-4.37-8.4-6.3-12.6-2.46-4.22-2.3-9.5-1.06-15.3 1.4-5.96-.18-10.34-1.58-14.9l-.14-.45c43.76-26.75 77.09-68.83 92.2-118.9l.58.04c4.91.35 9.64.85 14.9-2.13 5.27-2.46 10.56-3.87 15.12-2.47 4.56.7 9.29 1.76 13.85 2.99 9.12 2.63 18.27 5.79 26.87 11.58a19.5 19.5 0 0014.73 2.64 18.99 18.99 0 0014.57-22.62 19.11 19.11 0 00-22.82-14.57c-10.18 2.28-19.66 1.9-29.3 1.03-4.75-.53-9.32-1.2-14.06-2.26-4.74-.35-8.92-3.5-12.96-7.71-4.03-4.74-8.6-5.97-13.16-7.37l-.3-.1c.6-6.51.99-13.08.99-19.75 0-43.5-13.28-83.99-35.99-117.6 3.33-3.5 6.7-6.82 7.92-12.78 1.58-5.61 3.68-10.53 7.71-13.16 3.51-3.16 7.38-5.96 11.24-8.77 7.9-5.27 16.16-10.36 25.98-13.16a18.5 18.5 0 0011.55-9.67 18.8 18.8 0 00-8.22-25.6 18.84 18.84 0 00-25.64 8.22c-4.74 9.13-11.22 16.33-17.89 23-3.51 3.34-7 6.51-10.7 9.5-3.33 3.5-8.6 4.55-14.39 4.9-6.14.17-10.01 2.99-14.05 5.62a210 210 0 00-127.4-60.02c-.52-4.73-.87-9.48-4.55-14.22-3.51-4.74-5.98-9.48-5.45-14.22-.17-4.74.03-9.48.38-14.4 1.05-9.47 2.44-18.94 6.48-28.41 1.93-4.56 2.1-10 0-15.08a19.23 19.23 0 00-17.69-11.52m-25.16 133.91l-.85 6.75c-2.46 18.96-4.21 38.08-5.97 57.04a876 876 0 00-2.64 30.2c-8.6-6.15-17.2-12.66-26.32-18.45-15.79-10.7-31.6-21.42-47.91-31.6l-5.52-3.43a174.43 174.43 0 0189.21-40.5m50.59 0a174.38 174.38 0 0192.16 43.21l-5.86 3.7c-16.14 10.35-31.74 21.07-47.54 31.77a491.28 491.28 0 00-18.44 13 7.3 7.3 0 01-11.58-5.46c-.53-7.54-1.22-14.9-1.92-22.45-1.75-18.95-3.5-38.08-5.96-57.03zm-173 78.82l5.58 5.83c13.33 13.86 26.86 27.2 40.54 40.71 5.8 5.8 11.58 11.26 17.55 16.7a7.19 7.19 0 01-2.81 12.27c-8.6 2.63-17.21 5.07-25.8 7.88-18.08 5.97-36.32 11.6-54.4 18.1l-7.95 2.77c-.17-3.2-.48-6.37-.48-9.63 0-34.92 10.27-67.33 27.76-94.63m297.52 3.46a174.67 174.67 0 0125.67 91.17c0 2.93-.3 5.78-.44 8.67l-6.24-1.98c-18.25-5.97-36.48-11.09-54.9-16.35a900.54 900.54 0 00-35.82-9.63c8.95-8.6 18.27-17.04 26.87-25.81 13.51-13.51 27-27.02 40.17-41.06zM501.12 492.2h21.39c3.33 0 6.5 1.58 8.26 4.04l13.67 17.2a10.65 10.65 0 012.13 8.57l-4.94 21.25c-.52 3.34-2.81 5.96-5.62 7.54l-19.64 9.12a9.36 9.36 0 01-9.11 0l-19.67-9.12c-2.81-1.58-5.27-4.2-5.63-7.54l-4.9-21.25c-.52-2.98.2-6.28 2.13-8.56l13.67-17.2a10.25 10.25 0 018.26-4.05m-63.37 83.7c5.44-.88 9.85 4.57 7.75 9.66a784.28 784.28 0 00-9.5 26.15 1976.84 1976.84 0 00-18.78 54.22l-2.4 7.54a175.26 175.26 0 01-68-87.3l9.33-.78c19.13-1.76 37.9-4.06 57.03-6.34 8.25-.88 16.33-2.1 24.57-3.16m151.63 2.47c8.24.88 16.32 1.77 24.57 2.47 19.13 1.75 38.07 3.5 57.2 4.73l6.1.34a175.25 175.25 0 01-66.6 86.58l-1.98-6.38c-5.79-18.25-12.1-36.32-18.23-54.22a951.58 951.58 0 00-8.6-23.85 7.16 7.16 0 017.54-9.67m-76.1 34.62c2.5 0 5.01 1.26 6.42 3.8a526.47 526.47 0 0012.13 21.77c9.48 16.5 18.92 33.17 29.1 49.32l4.15 6.71a176.03 176.03 0 01-53.1 8.2 176.14 176.14 0 01-51.57-7.72l4.38-7.02c10.18-16.15 19.83-32.66 29.48-49.15a451.58 451.58 0 0012.65-22.1 7.2 7.2 0 016.37-3.81"}}]},name:"kubernetes",theme:"outlined"},hL=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hE}))}),hy={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M956.9 845.1L896.4 632V168c0-17.7-14.3-32-32-32h-704c-17.7 0-32 14.3-32 32v464L67.9 845.1C60.4 866 75.8 888 98 888h828.8c22.2 0 37.6-22 30.1-42.9zM200.4 208h624v395h-624V208zm228.3 608l8.1-37h150.3l8.1 37H428.7zm224 0l-19.1-86.7c-.8-3.7-4.1-6.3-7.8-6.3H398.2c-3.8 0-7 2.6-7.8 6.3L371.3 816H151l42.3-149h638.2l42.3 149H652.7z"}}]},name:"laptop",theme:"outlined"},hR=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hy}))}),hB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M384 912h496c17.7 0 32-14.3 32-32V340H384v572zm496-800H384v164h528V144c0-17.7-14.3-32-32-32zm-768 32v736c0 17.7 14.3 32 32 32h176V112H144c-17.7 0-32 14.3-32 32z"}}]},name:"layout",theme:"filled"},hS=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hB}))}),hO={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-32zm-696 72h136v656H184V184zm656 656H384V384h456v456zM384 320V184h456v136H384z"}}]},name:"layout",theme:"outlined"},hk=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hO}))}),hT={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M384 185h456v136H384zm-200 0h136v656H184zm696-73H144c-17.7 0-32 14.3-32 32v1c0-17.7 14.3-32 32-32h736c17.7 0 32 14.3 32 32v-1c0-17.7-14.3-32-32-32zM384 385h456v456H384z",fill:t}},{tag:"path",attrs:{d:"M880 113H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V145c0-17.7-14.3-32-32-32zM320 841H184V185h136v656zm520 0H384V385h456v456zm0-520H384V185h456v136z",fill:e}}]}},name:"layout",theme:"twotone"},h$=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hT}))}),hF={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 64zm104 316.9c0 10.2-4.9 19.9-13.2 25.9L457.4 512l145.4 105.2c8.3 6 13.2 15.6 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 010-12.9l246-178a8 8 0 0112.7 6.5v46.8z"}}]},name:"left-circle",theme:"filled"},hA=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hF}))}),hI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M603.3 327.5l-246 178a7.95 7.95 0 000 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z"}},{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"}}]},name:"left-circle",theme:"outlined"},hP=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hI}))}),hD={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm104 240.9c0 10.3-4.9 19.9-13.2 25.9L457.4 512l145.4 105.1c8.3 6 13.2 15.7 13.2 25.9v46.9c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 010-12.9l246-178c5.3-3.8 12.7 0 12.7 6.5v46.9z",fill:t}},{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",fill:e}},{tag:"path",attrs:{d:"M603.3 327.5l-246 178a7.95 7.95 0 000 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z",fill:e}}]}},name:"left-circle",theme:"twotone"},hN=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hD}))}),hq=c(37653),hj={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-32zM624 380.9c0 10.2-4.9 19.9-13.2 25.9L465.4 512l145.4 105.2c8.3 6 13.2 15.6 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 010-12.9l246-178c5.3-3.8 12.7 0 12.7 6.5v46.8z"}}]},name:"left-square",theme:"filled"},hW=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hj}))}),hY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M365.3 518.5l246 178c5.3 3.8 12.7 0 12.7-6.5v-46.9c0-10.2-4.9-19.9-13.2-25.9L465.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5l-246 178a8.05 8.05 0 000 13z"}},{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:"left-square",theme:"outlined"},h_=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hY}))}),hK={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm181.3-334.5l246-178c5.3-3.8 12.7 0 12.7 6.5v46.9c0 10.3-4.9 19.9-13.2 25.9L465.4 512l145.4 105.2c8.3 6 13.2 15.7 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.4l-246-178a7.95 7.95 0 010-12.9z",fill:t}},{tag:"path",attrs:{d:"M365.3 518.4l246 178c5.3 3.9 12.7.1 12.7-6.4v-46.9c0-10.2-4.9-19.9-13.2-25.9L465.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5l-246 178a7.95 7.95 0 000 12.9z",fill:e}}]}},name:"left-square",theme:"twotone"},hX=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hK}))}),hU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311h-.3v428h472.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32z"}}]},name:"like",theme:"filled"},hG=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hU}))}),hQ=c(65429),hJ={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M273 495.9v428l.3-428zm538.2-88.3H496.8l9.6-198.4c.6-11.9-4.7-23.1-14.6-30.5-6.1-4.5-13.6-6.8-21.1-6.7-19.6.1-36.9 13.4-42.2 32.3-37.1 134.4-64.9 235.2-83.5 302.5V852h399.4a56.85 56.85 0 0033.6-51.8c0-9.7-2.3-18.9-6.9-27.3l-13.9-25.4 21.9-19a56.76 56.76 0 0019.6-43c0-9.7-2.3-18.9-6.9-27.3l-13.9-25.4 21.9-19a56.76 56.76 0 0019.6-43c0-9.7-2.3-18.9-6.9-27.3l-14-25.5 21.9-19a56.76 56.76 0 0019.6-43c0-19.1-11-37.5-28.8-48.4z",fill:t}},{tag:"path",attrs:{d:"M112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32zm773.9 5.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.5-65.5-111a67.67 67.67 0 00-34.3-9.3H572.3l6-122.9c1.5-29.7-9-57.9-29.5-79.4a106.4 106.4 0 00-77.9-33.4c-52 0-98 35-111.8 85.1l-85.8 310.8-.3 428h472.1c9.3 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37zM820.4 499l-21.9 19 14 25.5a56.2 56.2 0 016.9 27.3c0 16.5-7.1 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.1 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H345V506.8c18.6-67.2 46.4-168 83.5-302.5a44.28 44.28 0 0142.2-32.3c7.5-.1 15 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.1 32.2-19.6 43z",fill:e}}]}},name:"like",theme:"twotone"},h1=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:hJ}))}),h4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM305.8 637.7c3.1 3.1 8.1 3.1 11.3 0l138.3-137.6L583 628.5c3.1 3.1 8.2 3.1 11.3 0l275.4-275.3c3.1-3.1 3.1-8.2 0-11.3l-39.6-39.6a8.03 8.03 0 00-11.3 0l-230 229.9L461.4 404a8.03 8.03 0 00-11.3 0L266.3 586.7a8.03 8.03 0 000 11.3l39.5 39.7z"}}]},name:"line-chart",theme:"outlined"},h2=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:h4}))}),h3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M648 160H104c-4.4 0-8 3.6-8 8v128c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-64h168v560h-92c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-92V232h168v64c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zm272.8 546H856V318h64.8c6 0 9.4-7 5.7-11.7L825.7 178.7a7.14 7.14 0 00-11.3 0L713.6 306.3a7.23 7.23 0 005.7 11.7H784v388h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5a7.2 7.2 0 00-5.6-11.7z"}}]},name:"line-height",theme:"outlined"},h8=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:h3}))}),h6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 476H120c-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-8z"}}]},name:"line",theme:"outlined"},h0=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:h6}))}),h5=c(29158),h7={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-32zM349.3 793.7H230.6V411.9h118.7v381.8zm-59.3-434a68.8 68.8 0 1168.8-68.8c-.1 38-30.9 68.8-68.8 68.8zm503.7 434H675.1V608c0-44.3-.8-101.2-61.7-101.2-61.7 0-71.2 48.2-71.2 98v188.9H423.7V411.9h113.8v52.2h1.6c15.8-30 54.5-61.7 112.3-61.7 120.2 0 142.3 79.1 142.3 181.9v209.4z"}}]},name:"linkedin",theme:"filled"},h9=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:h7}))}),de={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.7 112H176.3c-35.5 0-64.3 28.8-64.3 64.3v671.4c0 35.5 28.8 64.3 64.3 64.3h671.4c35.5 0 64.3-28.8 64.3-64.3V176.3c0-35.5-28.8-64.3-64.3-64.3zm0 736c-447.8-.1-671.7-.2-671.7-.3.1-447.8.2-671.7.3-671.7 447.8.1 671.7.2 671.7.3-.1 447.8-.2 671.7-.3 671.7zM230.6 411.9h118.7v381.8H230.6zm59.4-52.2c37.9 0 68.8-30.8 68.8-68.8a68.8 68.8 0 10-137.6 0c-.1 38 30.7 68.8 68.8 68.8zm252.3 245.1c0-49.8 9.5-98 71.2-98 60.8 0 61.7 56.9 61.7 101.2v185.7h118.6V584.3c0-102.8-22.2-181.9-142.3-181.9-57.7 0-96.4 31.7-112.3 61.7h-1.6v-52.2H423.7v381.8h118.6V604.8z"}}]},name:"linkedin",theme:"outlined"},dt=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:de}))}),dc={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M530.8 64c-5.79 0-11.76.3-17.88.78-157.8 12.44-115.95 179.45-118.34 235.11-2.88 40.8-11.2 72.95-39.24 112.78-33.03 39.23-79.4 102.66-101.39 168.77-10.37 31.06-15.3 62.87-10.71 92.92a15.83 15.83 0 00-4.14 5.04c-9.7 10-16.76 22.43-24.72 31.32-7.42 7.43-18.1 9.96-29.75 14.93-11.68 5.08-24.56 10.04-32.25 25.42a49.7 49.7 0 00-4.93 22.43c0 7.43 1 14.97 2.05 20.01 2.17 14.9 4.33 27.22 1.46 36.21-9.26 25.39-10.42 42.79-3.92 55.44 6.5 12.47 19.97 17.51 35.05 22.44 30.28 7.46 71.3 5.04 103.6 22.36 34.56 17.43 69.66 25.05 97.65 17.54a66.01 66.01 0 0045.1-35.27c21.91-.12 45.92-10.05 84.37-12.47 26.09-2.17 58.75 9.97 96.23 7.43.94 5.04 2.36 7.43 4.26 12.47l.11.1c14.6 29.05 41.55 42.27 70.33 39.99 28.78-2.24 59.43-20.01 84.26-48.76 23.55-28.55 62.83-40.46 88.77-56.1 12.99-7.43 23.48-17.51 24.23-31.85.86-14.93-7.43-30.3-26.66-51.4v-3.62l-.1-.11c-6.35-7.47-9.34-19.98-12.63-34.57-3.17-14.97-6.8-29.34-18.36-39.05h-.11c-2.2-2.02-4.6-2.5-7.02-5.04a13.33 13.33 0 00-7.1-2.39c16.1-47.7 9.86-95.2-6.45-137.9-19.9-52.63-54.7-98.48-81.2-130.02-29.71-37.52-58.83-73.06-58.27-125.77 1-80.33 8.85-228.95-132.3-229.17m19.75 127.11h.48c7.95 0 14.79 2.31 21.8 7.4 7.13 5.03 12.32 12.39 16.4 19.89 3.91 9.67 5.89 17.13 6.19 27.03 0-.75.22-1.5.22-2.2v3.88a3.21 3.21 0 01-.15-.79l-.15-.9a67.46 67.46 0 01-5.6 26.36 35.58 35.58 0 01-7.95 12.5 26.5 26.5 0 00-3.28-1.56c-3.92-1.68-7.43-2.39-10.64-4.96a48.98 48.98 0 00-8.18-2.47c1.83-2.2 5.42-4.96 6.8-7.39a44.22 44.22 0 003.28-15v-.72a45.17 45.17 0 00-2.27-14.93c-1.68-5.04-3.77-7.5-6.84-12.47-3.13-2.46-6.23-4.92-9.96-4.92h-.6c-3.47 0-6.57 1.12-9.78 4.92a29.86 29.86 0 00-7.65 12.47 44.05 44.05 0 00-3.36 14.93v.71c.07 3.33.3 6.69.74 9.97-7.2-2.5-16.35-5.04-22.66-7.54-.37-2.46-.6-4.94-.67-7.43v-.75a66.15 66.15 0 015.6-28.7 40.45 40.45 0 0116.05-19.9 36.77 36.77 0 0122.18-7.43m-110.58 2.2h1.35c5.3 0 10.08 1.8 14.9 5.04a51.6 51.6 0 0112.83 17.36c3.36 7.43 5.27 14.97 5.72 24.9v.15c.26 5 .22 7.5-.08 9.93v2.99c-1.12.26-2.09.67-3.1.9-5.67 2.05-10.23 5.03-14.67 7.46.45-3.32.49-6.68.11-9.97v-.56c-.44-4.96-1.45-7.43-3.06-12.43a22.88 22.88 0 00-6.2-9.97 9.26 9.26 0 00-6.83-2.39h-.78c-2.65.23-4.85 1.53-6.94 4.93a20.6 20.6 0 00-4.48 10.08 35.24 35.24 0 00-.86 12.36v.52c.45 5.04 1.38 7.5 3.02 12.47 1.68 5 3.62 7.46 6.16 10 .41.34.79.67 1.27.9-2.61 2.13-4.37 2.61-6.57 5.08a11.39 11.39 0 01-4.89 2.53 97.84 97.84 0 01-10.27-15 66.15 66.15 0 01-5.78-24.9 65.67 65.67 0 012.98-24.94 53.38 53.38 0 0110.57-19.97c4.78-4.97 9.7-7.47 15.6-7.47M491.15 257c12.36 0 27.33 2.43 45.36 14.9 10.94 7.46 19.52 10.04 39.31 17.47h.11c9.52 5.07 15.12 9.93 17.84 14.9v-4.9a21.32 21.32 0 01.6 17.55c-4.59 11.6-19.26 24.04-39.72 31.47v.07c-10 5.04-18.7 12.43-28.93 17.36-10.3 5.04-21.95 10.9-37.78 9.97a42.52 42.52 0 01-16.72-2.5 133.12 133.12 0 01-12.02-7.4c-7.28-5.04-13.55-12.39-22.85-17.36v-.18h-.19c-14.93-9.19-22.99-19.12-25.6-26.54-2.58-10-.19-17.51 7.2-22.4 8.36-5.04 14.19-10.12 18.03-12.55 3.88-2.76 5.34-3.8 6.57-4.89h.08v-.1c6.3-7.55 16.27-17.52 31.32-22.44a68.65 68.65 0 0117.4-2.43m104.48 80c13.4 52.9 44.69 129.72 64.8 166.98 10.68 19.93 31.93 61.93 41.15 112.89 5.82-.19 12.28.67 19.15 2.39 24.11-62.38-20.39-129.43-40.66-148.06-8.25-7.5-8.66-12.5-4.59-12.5 21.99 19.93 50.96 58.68 61.45 102.92 4.81 19.97 5.93 41.21.78 62.34 2.5 1.05 5.04 2.28 7.65 2.5 38.53 19.94 52.75 35.02 45.92 57.38v-1.6c-2.27-.12-4.48 0-6.75 0h-.56c5.63-17.44-6.8-30.8-39.76-45.7-34.16-14.93-61.45-12.54-66.11 17.36-.27 1.6-.45 2.46-.64 5.04-2.54.86-5.19 1.98-7.8 2.39-16.05 10-24.71 24.97-29.6 44.31-4.86 19.9-6.35 43.16-7.66 69.77v.11c-.78 12.47-6.38 31.29-11.9 50.44-56 40.01-133.65 57.41-199.69 12.46a98.74 98.74 0 00-15-19.9 54.13 54.13 0 00-10.27-12.46c6.8 0 12.62-1.08 17.36-2.5a22.96 22.96 0 0011.72-12.47c4.03-9.97 0-26.02-12.88-43.42C398.87 730.24 377 710.53 345 690.9c-23.51-14.89-36.8-32.47-42.93-52.1-6.16-19.94-5.33-40.51-.56-61.42 9.15-39.94 32.6-78.77 47.56-103.14 4-2.43 1.38 5.04-15.23 36.36-14.78 28.03-42.6 93.21-4.55 143.87a303.27 303.27 0 0124.15-107.36c21.06-47.71 65.07-130.81 68.54-196.66 1.8 1.34 8.1 5.04 10.79 7.54 8.14 4.96 14.18 12.43 22.02 17.36 7.88 7.5 17.81 12.5 32.7 12.5 1.46.12 2.8.23 4.15.23 15.34 0 27.21-5 37.18-10 10.83-5 19.45-12.48 27.63-14.94h.18c17.44-5.04 31.21-15 39.01-26.13m81.6 334.4c1.39 22.44 12.81 46.48 32.93 51.41 21.95 5 53.53-12.43 66.86-28.56l7.88-.33c11.76-.3 21.54.37 31.62 9.97l.1.1c7.77 7.44 11.4 19.83 14.6 32.7 3.18 14.98 5.75 29.13 15.27 39.8 18.15 19.68 24.08 33.82 23.75 42.56l.1-.22v.67l-.1-.45c-.56 9.78-6.91 14.78-18.6 22.21-23.51 14.97-65.17 26.58-91.72 58.61-23.07 27.51-51.18 42.52-76 44.46-24.79 1.98-46.18-7.46-58.76-33.52l-.19-.11c-7.84-14.97-4.48-38.27 2.1-63.1 6.56-24.93 15.97-50.2 17.28-70.85 1.38-26.65 2.83-49.83 7.28-67.71 4.48-17.36 11.5-29.76 23.93-36.74l1.68-.82zm-403.72 1.84h.37c1.98 0 3.92.18 5.86.52 14.04 2.05 26.35 12.43 38.19 28.07l33.97 62.12.11.11c9.07 19.9 28.15 39.72 44.39 61.15 16.2 22.32 28.74 42.22 27.21 58.61v.22c-2.13 27.78-17.88 42.86-42 48.3-24.07 5.05-56.74.08-89.4-17.31-36.14-20.01-79.07-17.51-106.66-22.48-13.77-2.46-22.8-7.5-26.99-14.97-4.14-7.42-4.21-22.43 4.6-45.91v-.11l.07-.12c4.37-12.46 1.12-28.1-1-41.77-2.06-14.97-3.1-26.47 1.6-35.09 5.97-12.47 14.78-14.9 25.72-19.9 11.01-5.04 23.93-7.54 34.2-17.5h.07v-.12c9.55-10 16.61-22.43 24.93-31.28 7.1-7.5 14.19-12.54 24.75-12.54M540.76 334.5c-16.24 7.5-35.27 19.97-55.54 19.97-20.24 0-36.21-9.97-47.75-17.4-5.79-5-10.45-10-13.96-12.5-6.12-5-5.38-12.47-2.76-12.47 4.07.6 4.81 5.04 7.43 7.5 3.58 2.47 8.02 7.43 13.47 12.43 10.86 7.47 25.39 17.44 43.53 17.44 18.1 0 39.3-9.97 52.19-17.4 7.28-5.04 16.6-12.47 24.19-17.43 5.82-5.12 5.56-10 10.41-10 4.82.6 1.27 5-5.48 12.42a302.3 302.3 0 01-25.76 17.47v-.03zm-40.39-59.13v-.83c-.22-.7.49-1.56 1.09-1.86 2.76-1.6 6.72-1.01 9.7.15 2.35 0 5.97 2.5 5.6 5.04-.22 1.83-3.17 2.46-5.04 2.46-2.05 0-3.43-1.6-5.26-2.54-1.94-.67-5.45-.3-6.09-2.42m-20.57 0c-.74 2.16-4.22 1.82-6.2 2.46-1.75.93-3.2 2.54-5.18 2.54-1.9 0-4.9-.71-5.12-2.54-.33-2.47 3.29-4.97 5.6-4.97 3.03-1.15 6.87-1.75 9.67-.18.71.33 1.35 1.12 1.12 1.86v.79h.11z"}}]},name:"linux",theme:"outlined"},dn=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dc}))}),dr={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 1024c-69.1 0-136.2-13.5-199.3-40.2C251.7 958 197 921 150 874c-47-47-84-101.7-109.8-162.7C13.5 648.2 0 581.1 0 512c0-19.9 16.1-36 36-36s36 16.1 36 36c0 59.4 11.6 117 34.6 171.3 22.2 52.4 53.9 99.5 94.3 139.9 40.4 40.4 87.5 72.2 139.9 94.3C395 940.4 452.6 952 512 952c59.4 0 117-11.6 171.3-34.6 52.4-22.2 99.5-53.9 139.9-94.3 40.4-40.4 72.2-87.5 94.3-139.9C940.4 629 952 571.4 952 512c0-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.2C772.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.3s-13.5 136.2-40.2 199.3C958 772.3 921 827 874 874c-47 47-101.8 83.9-162.7 109.7-63.1 26.8-130.2 40.3-199.3 40.3z"}}]},name:"loading-3-quarters",theme:"outlined"},da=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dr}))}),dl=c(79090),di={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM540 701v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 1156 0zm152-237H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224z"}}]},name:"lock",theme:"filled"},du=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:di}))}),ds={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},df=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ds}))}),dh={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304z",fill:e}},{tag:"path",attrs:{d:"M232 840h560V536H232v304zm280-226a48.01 48.01 0 0128 87v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 0128-87z",fill:t}},{tag:"path",attrs:{d:"M484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z",fill:e}}]}},name:"lock",theme:"twotone"},dd=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dh}))}),dv={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M521.7 82c-152.5-.4-286.7 78.5-363.4 197.7-3.4 5.3.4 12.3 6.7 12.3h70.3c4.8 0 9.3-2.1 12.3-5.8 7-8.5 14.5-16.7 22.4-24.5 32.6-32.5 70.5-58.1 112.7-75.9 43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 32.6 32.5 58.1 70.4 76 112.5C865.7 417.8 875 464.1 875 512c0 47.9-9.4 94.2-27.8 137.8-17.8 42.1-43.4 80-76 112.5s-70.5 58.1-112.7 75.9A352.8 352.8 0 01520.6 866c-47.9 0-94.3-9.4-137.9-27.8A353.84 353.84 0 01270 762.3c-7.9-7.9-15.3-16.1-22.4-24.5-3-3.7-7.6-5.8-12.3-5.8H165c-6.3 0-10.2 7-6.7 12.3C234.9 863.2 368.5 942 520.6 942c236.2 0 428-190.1 430.4-425.6C953.4 277.1 761.3 82.6 521.7 82zM395.02 624v-76h-314c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h314v-76c0-6.7 7.8-10.5 13-6.3l141.9 112a8 8 0 010 12.6l-141.9 112c-5.2 4.1-13 .4-13-6.3z"}}]},name:"login",theme:"outlined"},dm=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dv}))}),dg={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z"}}]},name:"logout",theme:"outlined"},dp=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dg}))}),dz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M624 672a48.01 48.01 0 0096 0c0-26.5-21.5-48-48-48h-48v48zm96-320a48.01 48.01 0 00-96 0v48h48c26.5 0 48-21.5 48-48z"}},{tag:"path",attrs:{d:"M928 64H96c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM672 560c61.9 0 112 50.1 112 112s-50.1 112-112 112-112-50.1-112-112v-48h-96v48c0 61.9-50.1 112-112 112s-112-50.1-112-112 50.1-112 112-112h48v-96h-48c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112v48h96v-48c0-61.9 50.1-112 112-112s112 50.1 112 112-50.1 112-112 112h-48v96h48z"}},{tag:"path",attrs:{d:"M464 464h96v96h-96zM352 304a48.01 48.01 0 000 96h48v-48c0-26.5-21.5-48-48-48zm-48 368a48.01 48.01 0 0096 0v-48h-48c-26.5 0-48 21.5-48 48z"}}]},name:"mac-command",theme:"filled"},dw=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dz}))}),dM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{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"}},{tag:"path",attrs:{d:"M370.8 554.4c-54.6 0-98.8 44.2-98.8 98.8s44.2 98.8 98.8 98.8 98.8-44.2 98.8-98.8v-42.4h84.7v42.4c0 54.6 44.2 98.8 98.8 98.8s98.8-44.2 98.8-98.8-44.2-98.8-98.8-98.8h-42.4v-84.7h42.4c54.6 0 98.8-44.2 98.8-98.8 0-54.6-44.2-98.8-98.8-98.8s-98.8 44.2-98.8 98.8v42.4h-84.7v-42.4c0-54.6-44.2-98.8-98.8-98.8S272 316.2 272 370.8s44.2 98.8 98.8 98.8h42.4v84.7h-42.4zm42.4 98.8c0 23.4-19 42.4-42.4 42.4s-42.4-19-42.4-42.4 19-42.4 42.4-42.4h42.4v42.4zm197.6-282.4c0-23.4 19-42.4 42.4-42.4s42.4 19 42.4 42.4-19 42.4-42.4 42.4h-42.4v-42.4zm0 240h42.4c23.4 0 42.4 19 42.4 42.4s-19 42.4-42.4 42.4-42.4-19-42.4-42.4v-42.4zM469.6 469.6h84.7v84.7h-84.7v-84.7zm-98.8-56.4c-23.4 0-42.4-19-42.4-42.4s19-42.4 42.4-42.4 42.4 19 42.4 42.4v42.4h-42.4z"}}]},name:"mac-command",theme:"outlined"},dZ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dM}))}),dH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-80.8 108.9L531.7 514.4c-7.8 6.1-18.7 6.1-26.5 0L189.6 268.9A7.2 7.2 0 01194 256h648.8a7.2 7.2 0 014.4 12.9z"}}]},name:"mail",theme:"filled"},db=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dH}))}),dV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z"}}]},name:"mail",theme:"outlined"},dC=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dV}))}),dx={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M477.5 536.3L135.9 270.7l-27.5-21.4 27.6 21.5V792h752V270.8L546.2 536.3a55.99 55.99 0 01-68.7 0z",fill:t}},{tag:"path",attrs:{d:"M876.3 198.8l39.3 50.5-27.6 21.5 27.7-21.5-39.3-50.5z",fill:t}},{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-94.5 72.1L512 482 190.5 232.1h643zm54.5 38.7V792H136V270.8l-27.6-21.5 27.5 21.4 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5h.1l39.3 50.5-27.7 21.5z",fill:e}}]}},name:"mail",theme:"twotone"},dE=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dx}))}),dL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M874 120H622c-3.3 0-6 2.7-6 6v56c0 3.3 2.7 6 6 6h160.4L583.1 387.3c-50-38.5-111-59.3-175.1-59.3-76.9 0-149.3 30-203.6 84.4S120 539.1 120 616s30 149.3 84.4 203.6C258.7 874 331.1 904 408 904s149.3-30 203.6-84.4C666 765.3 696 692.9 696 616c0-64.1-20.8-124.9-59.2-174.9L836 241.9V402c0 3.3 2.7 6 6 6h56c3.3 0 6-2.7 6-6V150c0-16.5-13.5-30-30-30zM408 828c-116.9 0-212-95.1-212-212s95.1-212 212-212 212 95.1 212 212-95.1 212-212 212z"}}]},name:"man",theme:"outlined"},dy=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dL}))}),dR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM660 628c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V636H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V464c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8v48zm4-372H360v-72h304v72z"}}]},name:"medicine-box",theme:"filled"},dB=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dR}))}),dS={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM360 184h304v72H360v-72zm480 656H184V513.4L244.3 328h535.4L840 513.4V840zM652 572H544V464c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V636h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"medicine-box",theme:"outlined"},dO=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dS}))}),dk={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M244.3 328L184 513.4V840h656V513.4L779.7 328H244.3zM660 628c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V636H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V464c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8v48z",fill:t}},{tag:"path",attrs:{d:"M652 572H544V464c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V636h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z",fill:e}},{tag:"path",attrs:{d:"M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM360 184h304v72H360v-72zm480 656H184V513.4L244.3 328h535.4L840 513.4V840z",fill:e}}]}},name:"medicine-box",theme:"twotone"},dT=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dk}))}),d$={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 64zm256 253.7l-40.8 39.1c-3.6 2.7-5.3 7.1-4.6 11.4v287.7c-.7 4.4 1 8.8 4.6 11.4l40 39.1v8.7H566.4v-8.3l41.3-40.1c4.1-4.1 4.1-5.3 4.1-11.4V422.5l-115 291.6h-15.5L347.5 422.5V618c-1.2 8.2 1.7 16.5 7.5 22.4l53.8 65.1v8.7H256v-8.7l53.8-65.1a26.1 26.1 0 007-22.4V392c.7-6.3-1.7-12.4-6.5-16.7l-47.8-57.6V309H411l114.6 251.5 100.9-251.3H768v8.5z"}}]},name:"medium-circle",theme:"filled"},dF=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:d$}))}),dA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.7 279.8l61.3-58.9V208H683.7L532.4 586.4 360.3 208H137.7v12.9l71.6 86.6c7 6.4 10.6 15.8 9.7 25.2V673c2.2 12.3-1.7 24.8-10.3 33.7L128 805v12.7h228.6v-12.9l-80.6-98a39.99 39.99 0 01-11.1-33.7V378.7l200.7 439.2h23.3l172.6-439.2v349.9c0 9.2 0 11.1-6 17.2l-62.1 60.3V819h301.2v-12.9l-59.9-58.9c-5.2-4-7.9-10.7-6.8-17.2V297a18.1 18.1 0 016.8-17.2z"}}]},name:"medium",theme:"outlined"},dI=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dA}))}),dP={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-32zM768 317.7l-40.8 39.1c-3.6 2.7-5.3 7.1-4.6 11.4v287.7c-.7 4.4 1 8.8 4.6 11.4l40 39.1v8.7H566.4v-8.3l41.3-40.1c4.1-4.1 4.1-5.3 4.1-11.4V422.5l-115 291.6h-15.5L347.5 422.5V618c-1.2 8.2 1.7 16.5 7.5 22.4l53.8 65.1v8.7H256v-8.7l53.8-65.1a26.1 26.1 0 007-22.4V392c.7-6.3-1.7-12.4-6.5-16.7l-47.8-57.6V309H411l114.6 251.5 100.9-251.3H768v8.5z"}}]},name:"medium-square",theme:"filled"},dD=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dP}))}),dN={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M517.2 590.55c0 3.55 0 4.36 2.4 6.55l13.43 13.25v.57h-59.57v-25.47a41.44 41.44 0 01-39.5 27.65c-30.61 0-52.84-24.25-52.84-68.87 0-41.8 23.99-69.69 57.65-69.69a35.15 35.15 0 0134.61 21.67v-56.19a6.99 6.99 0 00-2.71-6.79l-12.8-12.45v-.56l59.33-7.04v177.37zm-43.74-8.09v-83.83a22.2 22.2 0 00-17.74-8.4c-14.48 0-28.47 13.25-28.47 52.62 0 36.86 12.07 49.88 27.1 49.88a23.91 23.91 0 0019.11-10.27zm83.23 28.46V497.74a7.65 7.65 0 00-2.4-6.79l-13.19-13.74v-.57h59.56v114.8c0 3.55 0 4.36 2.4 6.54l13.12 12.45v.57l-59.49-.08zm-2.16-175.67c0-13.4 10.74-24.25 23.99-24.25 13.25 0 23.98 10.86 23.98 24.25 0 13.4-10.73 24.25-23.98 24.25s-23.99-10.85-23.99-24.25zm206.83 155.06c0 3.55 0 4.6 2.4 6.79l13.43 13.25v.57h-59.88V581.9a43.4 43.4 0 01-41.01 31.2c-26.55 0-40.78-19.56-40.78-56.59 0-17.86 0-37.43.56-59.41a6.91 6.91 0 00-2.4-6.55L620.5 477.2v-.57h59.09v73.81c0 24.25 3.51 40.42 18.54 40.42a23.96 23.96 0 0019.35-12.2v-80.85a7.65 7.65 0 00-2.4-6.79l-13.27-13.82v-.57h59.56V590.3zm202.76 20.6c0-4.36.8-59.97.8-72.75 0-24.25-3.76-40.98-20.63-40.98a26.7 26.7 0 00-21.19 11.64 99.68 99.68 0 012.4 23.04c0 16.81-.56 38.23-.8 59.66a6.91 6.91 0 002.4 6.55l13.43 12.45v.56h-60.12c0-4.04.8-59.98.8-72.76 0-24.65-3.76-40.98-20.39-40.98-8.2.3-15.68 4.8-19.83 11.96v82.46c0 3.56 0 4.37 2.4 6.55l13.11 12.45v.56h-59.48V498.15a7.65 7.65 0 00-2.4-6.8l-13.19-14.14v-.57H841v28.78c5.53-19 23.13-31.76 42.7-30.96 19.82 0 33.26 11.16 38.93 32.34a46.41 46.41 0 0144.77-32.34c26.55 0 41.58 19.8 41.58 57.23 0 17.87-.56 38.24-.8 59.66a6.5 6.5 0 002.72 6.55l13.11 12.45v.57h-59.88zM215.87 593.3l17.66 17.05v.57h-89.62v-.57l17.99-17.05a6.91 6.91 0 002.4-6.55V477.69c0-4.6 0-10.83.8-16.16L104.66 613.1h-.72l-62.6-139.45c-1.37-3.47-1.77-3.72-2.65-6.06v91.43a32.08 32.08 0 002.96 17.87l25.19 33.46v.57H0v-.57l25.18-33.55a32.16 32.16 0 002.96-17.78V457.97A19.71 19.71 0 0024 444.15L6.16 420.78v-.56h63.96l53.56 118.1 47.17-118.1h62.6v.56l-17.58 19.8a6.99 6.99 0 00-2.72 6.8v139.37a6.5 6.5 0 002.72 6.55zm70.11-54.65v.56c0 34.6 17.67 48.5 38.38 48.5a43.5 43.5 0 0040.77-24.97h.56c-7.2 34.2-28.14 50.36-59.48 50.36-33.82 0-65.72-20.61-65.72-68.39 0-50.2 31.98-70.25 67.32-70.25 28.46 0 58.76 13.58 58.76 57.24v6.95h-80.59zm0-6.95h39.42v-7.04c0-35.57-7.28-45.03-18.23-45.03-13.27 0-21.35 14.15-21.35 52.07h.16z"}}]},name:"medium-workmark",theme:"outlined"},dq=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dN}))}),dj={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 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm384 200c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v48zm16-152a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"meh",theme:"filled"},dW=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dj}))}),dY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 565H360c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"meh",theme:"outlined"},d_=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dY}))}),dK={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm384 200c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v48zm16-152a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm376 144H360c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-24-144a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"meh",theme:"twotone"},dX=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dK}))}),dU=c(84477),dG={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"},dQ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:dG}))}),dJ=c(19944),d1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482.2 508.4L331.3 389c-3-2.4-7.3-.2-7.3 3.6V478H184V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H144c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H184V546h140v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4a4.5 4.5 0 000-7.2zM880 116H596c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H700v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4a4.52 4.52 0 000 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h140v294H636V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z"}}]},name:"merge-cells",theme:"outlined"},d4=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:d1}))}),d2={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M284 924c61.86 0 112-50.14 112-112 0-49.26-31.8-91.1-76-106.09V421.63l386.49 126.55.01 95.92C661 658.34 628 700.8 628 751c0 61.86 50.14 112 112 112s112-50.14 112-112c0-48.33-30.6-89.5-73.5-105.2l-.01-113.04a50.73 50.73 0 00-34.95-48.2L320 345.85V318.1c43.64-14.8 75.2-55.78 75.99-104.24L396 212c0-61.86-50.14-112-112-112s-112 50.14-112 112c0 49.26 31.8 91.1 76 106.09V705.9c-44.2 15-76 56.83-76 106.09 0 61.86 50.14 112 112 112"}}]},name:"merge",theme:"filled"},d3=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:d2}))}),d8={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M248 752h72V264h-72z"}},{tag:"path",attrs:{d:"M740 863c61.86 0 112-50.14 112-112 0-48.33-30.6-89.5-73.5-105.2l-.01-113.04a50.73 50.73 0 00-34.95-48.2l-434.9-142.41-22.4 68.42 420.25 137.61.01 95.92C661 658.34 628 700.8 628 751c0 61.86 50.14 112 112 112m-456 61c61.86 0 112-50.14 112-112s-50.14-112-112-112-112 50.14-112 112 50.14 112 112 112m456-125a48 48 0 110-96 48 48 0 010 96m-456 61a48 48 0 110-96 48 48 0 010 96m0-536c61.86 0 112-50.14 112-112s-50.14-112-112-112-112 50.14-112 112 50.14 112 112 112m0-64a48 48 0 110-96 48 48 0 010 96"}}]},name:"merge",theme:"outlined"},d6=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:d8}))}),d0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.3 338.4a447.57 447.57 0 00-96.1-143.3 443.09 443.09 0 00-143-96.3A443.91 443.91 0 00512 64h-2c-60.5.3-119 12.3-174.1 35.9a444.08 444.08 0 00-141.7 96.5 445 445 0 00-95 142.8A449.89 449.89 0 0065 514.1c.3 69.4 16.9 138.3 47.9 199.9v152c0 25.4 20.6 46 45.9 46h151.8a447.72 447.72 0 00199.5 48h2.1c59.8 0 117.7-11.6 172.3-34.3A443.2 443.2 0 00827 830.5c41.2-40.9 73.6-88.7 96.3-142 23.5-55.2 35.5-113.9 35.8-174.5.2-60.9-11.6-120-34.8-175.6zM312.4 560c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.4 48-47.9 48zm199.6 0c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.5 48-47.9 48zm199.6 0c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.5 48-47.9 48z"}}]},name:"message",theme:"filled"},d5=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:d0}))}),d7=c(38545),d9={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"},ve=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:d9}))}),vt={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 64zm192 472c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z"}}]},name:"minus-circle",theme:"filled"},vc=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vt}))}),vn=c(3089),vr={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm192 396c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z",fill:t}},{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"minus-circle",theme:"twotone"},va=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vr}))}),vl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"minus",theme:"outlined"},vo=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vl}))}),vi={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-32zM704 536c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z"}}]},name:"minus-square",theme:"filled"},vu=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vi}))}),vs=c(70478),vf=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vs.Z}))}),vh={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm136-352c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48z",fill:t}},{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",fill:e}}]}},name:"minus-square",theme:"twotone"},vd=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vh}))}),vv={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zM512 824c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z"}}]},name:"mobile",theme:"filled"},vm=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vv}))}),vg={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"mobile",theme:"outlined"},vp=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vg}))}),vz={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 64H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H288V136h448v752z",fill:e}},{tag:"path",attrs:{d:"M288 888h448V136H288v752zm224-142c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M472 786a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}}]}},name:"mobile",theme:"twotone"},vw=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vz}))}),vM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M911.5 699.7a8 8 0 00-10.3-4.8L840 717.2V179c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V762c0 3.3 2.1 6.3 5.3 7.5L501 909.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zm-243.8-377L564 514.3h57.6c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3v39h76.3c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3V703c0 4.4-3.6 8-8 8h-49.9c-4.4 0-8-3.6-8-8v-63.4h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h76v-39h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h57L356.5 322.8c-2.1-3.8-.7-8.7 3.2-10.8 1.2-.7 2.5-1 3.8-1h55.7a8 8 0 017.1 4.4L511 484.2h3.3L599 315.4c1.3-2.7 4.1-4.4 7.1-4.4h54.5c4.4 0 8 3.6 8.1 7.9 0 1.3-.4 2.6-1 3.8z"}}]},name:"money-collect",theme:"filled"},vZ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vM}))}),vH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M911.5 700.7a8 8 0 00-10.3-4.8L840 718.2V180c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V763c0 3.3 2.1 6.3 5.3 7.5L501 910.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zM512 837.5l-256-93.1V184h512v560.4l-256 93.1zM660.6 312h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 00-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.6-1.2 1-2.5 1-3.8-.1-4.3-3.7-7.9-8.1-7.9z"}}]},name:"money-collect",theme:"outlined"},vb=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vH}))}),vV={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M256 744.4l256 93.1 256-93.1V184H256v560.4zM359.7 313c1.2-.7 2.5-1 3.8-1h55.7a8 8 0 017.1 4.4L511 485.2h3.3L599 316.4c1.3-2.7 4.1-4.4 7.1-4.4h54.5c4.4 0 8 3.6 8.1 7.9 0 1.3-.4 2.6-1 3.8L564 515.3h57.6c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3v39h76.3c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3V704c0 4.4-3.6 8-8 8h-49.9c-4.4 0-8-3.6-8-8v-63.4h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h76v-39h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h57L356.5 323.8c-2.1-3.8-.7-8.7 3.2-10.8z",fill:t}},{tag:"path",attrs:{d:"M911.5 700.7a8 8 0 00-10.3-4.8L840 718.2V180c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V763c0 3.3 2.1 6.3 5.3 7.5L501 910.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zM768 744.4l-256 93.1-256-93.1V184h512v560.4z",fill:e}},{tag:"path",attrs:{d:"M460.4 515.4h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.6-1.2 1-2.5 1-3.8-.1-4.3-3.7-7.9-8.1-7.9h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 00-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6z",fill:e}}]}},name:"money-collect",theme:"twotone"},vC=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vV}))}),vx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M692.8 412.7l.2-.2-34.6-44.3a7.97 7.97 0 00-11.2-1.4l-50.4 39.3-70.5-90.1a7.97 7.97 0 00-11.2-1.4l-37.9 29.7a7.97 7.97 0 00-1.4 11.2l70.5 90.2-.2.1 34.6 44.3c2.7 3.5 7.7 4.1 11.2 1.4l50.4-39.3 64.1 82c2.7 3.5 7.7 4.1 11.2 1.4l37.9-29.6c3.5-2.7 4.1-7.7 1.4-11.2l-64.1-82.1zM608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5L114.3 856.1a8.03 8.03 0 000 11.3l42.3 42.3c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6C473 696.1 537.7 720 608 720c167.9 0 304-136.1 304-304S775.9 112 608 112zm161.2 465.2C726.2 620.3 668.9 644 608 644s-118.2-23.7-161.2-66.8C403.7 534.2 380 476.9 380 416s23.7-118.2 66.8-161.2c43-43.1 100.3-66.8 161.2-66.8s118.2 23.7 161.2 66.8c43.1 43 66.8 100.3 66.8 161.2s-23.7 118.2-66.8 161.2z"}}]},name:"monitor",theme:"outlined"},vE=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vx}))}),vL={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M489.5 111.66c30.65-1.8 45.98 36.44 22.58 56.33A243.35 243.35 0 00426 354c0 134.76 109.24 244 244 244 72.58 0 139.9-31.83 186.01-86.08 19.87-23.38 58.07-8.1 56.34 22.53C900.4 745.82 725.15 912 512.5 912 291.31 912 112 732.69 112 511.5c0-211.39 164.29-386.02 374.2-399.65l.2-.01z"}}]},name:"moon",theme:"filled"},vy=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vL}))}),vR={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M489.5 111.66c30.65-1.8 45.98 36.44 22.58 56.33A243.35 243.35 0 00426 354c0 134.76 109.24 244 244 244 72.58 0 139.9-31.83 186.01-86.08 19.87-23.38 58.07-8.1 56.34 22.53C900.4 745.82 725.15 912 512.5 912 291.31 912 112 732.69 112 511.5c0-211.39 164.29-386.02 374.2-399.65l.2-.01zm-81.15 79.75l-4.11 1.36C271.1 237.94 176 364.09 176 511.5 176 697.34 326.66 848 512.5 848c148.28 0 274.94-96.2 319.45-230.41l.63-1.93-.11.07a307.06 307.06 0 01-159.73 46.26L670 662c-170.1 0-308-137.9-308-308 0-58.6 16.48-114.54 46.27-162.47z"}}]},name:"moon",theme:"outlined"},vB=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vR}))}),vS={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"more",theme:"outlined"},vO=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vS}))}),vk={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M771.91 115a31.65 31.65 0 00-17.42 5.27L400 351.97H236a16 16 0 00-16 16v288.06a16 16 0 0016 16h164l354.5 231.7a31.66 31.66 0 0017.42 5.27c16.65 0 32.08-13.25 32.08-32.06V147.06c0-18.8-15.44-32.06-32.09-32.06"}}]},name:"muted",theme:"filled"},vT=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vk}))}),v$={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M771.91 115a31.65 31.65 0 00-17.42 5.27L400 351.97H236a16 16 0 00-16 16v288.06a16 16 0 0016 16h164l354.5 231.7a31.66 31.66 0 0017.42 5.27c16.65 0 32.08-13.25 32.08-32.06V147.06c0-18.8-15.44-32.06-32.09-32.06M732 221v582L439.39 611.75l-17.95-11.73H292V423.98h129.44l17.95-11.73z"}}]},name:"muted",theme:"outlined"},vF=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:v$}))}),vA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M952 612c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H298a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h150.3v152c0 55.2 44.8 100 100 100H952c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H548.3c-15.5 0-28-12.5-28-28V612H952zM451.7 313.7l172.5 136.2c6.3 5.1 15.8.5 15.8-7.7V344h264c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H640v-98.2c0-8.1-9.4-12.8-15.8-7.7L451.7 298.3a9.9 9.9 0 000 15.4z"}}]},name:"node-collapse",theme:"outlined"},vI=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vA}))}),vP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M952 612c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H298a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h150.3v152c0 55.2 44.8 100 100 100H952c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H548.3c-15.5 0-28-12.5-28-28V612H952zM456 344h264v98.2c0 8.1 9.5 12.8 15.8 7.7l172.5-136.2c5-3.9 5-11.4 0-15.3L735.8 162.1c-6.4-5.1-15.8-.5-15.8 7.7V268H456c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8z"}}]},name:"node-expand",theme:"outlined"},vD=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vP}))}),vN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M843.5 737.4c-12.4-75.2-79.2-129.1-155.3-125.4S550.9 676 546 752c-153.5-4.8-208-40.7-199.1-113.7 3.3-27.3 19.8-41.9 50.1-49 18.4-4.3 38.8-4.9 57.3-3.2 1.7.2 3.5.3 5.2.5 11.3 2.7 22.8 5 34.3 6.8 34.1 5.6 68.8 8.4 101.8 6.6 92.8-5 156-45.9 159.2-132.7 3.1-84.1-54.7-143.7-147.9-183.6-29.9-12.8-61.6-22.7-93.3-30.2-14.3-3.4-26.3-5.7-35.2-7.2-7.9-75.9-71.5-133.8-147.8-134.4-76.3-.6-140.9 56.1-150.1 131.9s40 146.3 114.2 163.9c74.2 17.6 149.9-23.3 175.7-95.1 9.4 1.7 18.7 3.6 28 5.8 28.2 6.6 56.4 15.4 82.4 26.6 70.7 30.2 109.3 70.1 107.5 119.9-1.6 44.6-33.6 65.2-96.2 68.6-27.5 1.5-57.6-.9-87.3-5.8-8.3-1.4-15.9-2.8-22.6-4.3-3.9-.8-6.6-1.5-7.8-1.8l-3.1-.6c-2.2-.3-5.9-.8-10.7-1.3-25-2.3-52.1-1.5-78.5 4.6-55.2 12.9-93.9 47.2-101.1 105.8-15.7 126.2 78.6 184.7 276 188.9 29.1 70.4 106.4 107.9 179.6 87 73.3-20.9 119.3-93.4 106.9-168.6zM329.1 345.2a83.3 83.3 0 11.01-166.61 83.3 83.3 0 01-.01 166.61zM695.6 845a83.3 83.3 0 11.01-166.61A83.3 83.3 0 01695.6 845z"}}]},name:"node-index",theme:"outlined"},vq=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vN}))}),vj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.6c-3.7 11.6-5.6 23.9-5.6 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1z"}}]},name:"notification",theme:"filled"},vW=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vj}))}),vY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z"}}]},name:"notification",theme:"outlined"},v_=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vY}))}),vK={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M229.6 678.1c-3.7 11.6-5.6 23.9-5.6 36.4 0-12.5 2-24.8 5.7-36.4h-.1zm76.3-260.2H184v188.2h121.9l12.9 5.2L840 820.7V203.3L318.8 412.7z",fill:t}},{tag:"path",attrs:{d:"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z",fill:e}}]}},name:"notification",theme:"twotone"},vX=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vK}))}),vU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 394c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H400V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v236H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h228v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h164c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V394h164zM628 630H400V394h228v236z"}}]},name:"number",theme:"outlined"},vG=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vU}))}),vQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M316 672h60c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8zm196-50c22.1 0 40-17.9 40-39 0-23.1-17.9-41-40-41s-40 17.9-40 41c0 21.1 17.9 39 40 39zm0-140c22.1 0 40-17.9 40-39 0-23.1-17.9-41-40-41s-40 17.9-40 41c0 21.1 17.9 39 40 39z"}},{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"}},{tag:"path",attrs:{d:"M648 672h60c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8z"}}]},name:"one-to-one",theme:"outlined"},vJ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:vQ}))}),v1={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M475.6 112c-74.03 0-139.72 42.38-172.92 104.58v237.28l92.27 56.48 3.38-235.7 189-127.45A194.33 194.33 0 00475.6 112m202.9 62.25c-13.17 0-26.05 1.76-38.8 4.36L453.2 304.36l-1.37 96.15 186.58-125.25 231.22 137.28a195.5 195.5 0 004.87-42.33c0-108.04-87.93-195.96-195.99-195.96M247.34 266C167.34 290.7 109 365.22 109 453.2c0 27.92 5.9 54.83 16.79 79.36l245.48 139.77 90.58-56.12-214.5-131.38zm392.88 74.67l-72.7 48.85L771.5 517.58 797.3 753C867.41 723.11 916 653.97 916 573.1c0-27.55-5.86-54.12-16.57-78.53zm-123 82.6l-66.36 44.56-1.05 76.12 64.7 39.66 69.54-43.04-1.84-76.48zm121.2 76.12l5.87 248.34L443 866.9A195.65 195.65 0 00567.84 912c79.22 0 147.8-46.52 178.62-114.99L719.4 550.22zm-52.86 105.3L372.43 736.68 169.56 621.15a195.35 195.35 0 00-5.22 44.16c0 102.94 79.84 187.41 180.81 195.18L588.2 716.6z"}}]},name:"open-a-i",theme:"filled"},v4=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:v1}))}),v2={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482.88 128c-84.35 0-156.58 52.8-185.68 126.98-60.89 8.13-115.3 43.63-146.6 97.84-42.16 73-32.55 161.88 17.14 224.16-23.38 56.75-19.85 121.6 11.42 175.78 42.18 73.02 124.1 109.15 202.94 97.23C419.58 898.63 477.51 928 540.12 928c84.35 0 156.58-52.8 185.68-126.98 60.89-8.13 115.3-43.62 146.6-97.84 42.16-73 32.55-161.88-17.14-224.16 23.38-56.75 19.85-121.6-11.42-175.78-42.18-73.02-124.1-109.15-202.94-97.23C603.42 157.38 545.49 128 482.88 128m0 61.54c35.6 0 68.97 13.99 94.22 37.74-1.93 1.03-3.92 1.84-5.83 2.94l-136.68 78.91a46.11 46.11 0 00-23.09 39.78l-.84 183.6-65.72-38.34V327.4c0-76 61.9-137.86 137.94-137.86m197.7 75.9c44.19 3.14 86.16 27.44 109.92 68.57 17.8 30.8 22.38 66.7 14.43 100.42-1.88-1.17-3.6-2.49-5.53-3.6l-136.73-78.91a46.23 46.23 0 00-46-.06l-159.47 91.1.36-76.02 144.5-83.41a137.19 137.19 0 0178.53-18.09m-396.92 55.4c-.07 2.2-.3 4.35-.3 6.56v157.75a46.19 46.19 0 0022.91 39.9l158.68 92.5-66.02 37.67-144.55-83.35c-65.86-38-88.47-122.53-50.45-188.34 17.78-30.78 46.55-52.69 79.73-62.68m340.4 79.93l144.54 83.35c65.86 38 88.47 122.53 50.45 188.34-17.78 30.78-46.55 52.69-79.73 62.68.07-2.19.3-4.34.3-6.55V570.85a46.19 46.19 0 00-22.9-39.9l-158.69-92.5zM511.8 464.84l54.54 31.79-.3 63.22-54.84 31.31-54.54-31.85.3-63.16zm100.54 58.65l65.72 38.35V728.6c0 76-61.9 137.86-137.94 137.86-35.6 0-68.97-13.99-94.22-37.74 1.93-1.03 3.92-1.84 5.83-2.94l136.68-78.9a46.11 46.11 0 0023.09-39.8zm-46.54 89.55l-.36 76.02-144.5 83.41c-65.85 38-150.42 15.34-188.44-50.48-17.8-30.8-22.38-66.7-14.43-100.42 1.88 1.17 3.6 2.5 5.53 3.6l136.74 78.91a46.23 46.23 0 0046 .06z"}}]},name:"open-a-i",theme:"outlined"},v3=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:v2}))}),v8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M920 760H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-568H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM216 712H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h72.4v20.5h-35.7c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h35.7V838H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4V716c0-2.2-1.8-4-4-4zM100 188h38v120c0 2.2 1.8 4 4 4h40c2.2 0 4-1.8 4-4V152c0-4.4-3.6-8-8-8h-78c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4zm116 240H100c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4h68.4l-70.3 77.7a8.3 8.3 0 00-2.1 5.4V592c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4v-36c0-2.2-1.8-4-4-4h-68.4l70.3-77.7a8.3 8.3 0 002.1-5.4V432c0-2.2-1.8-4-4-4z"}}]},name:"ordered-list",theme:"outlined"},v6=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:v8}))}),v0=c(45128),v5=c(92962),v7={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-80 600c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z"}}]},name:"pause-circle",theme:"filled"},v9=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:v7}))}),me=c(30159),mt={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-80 524c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z",fill:t}},{tag:"path",attrs:{d:"M424 352h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"pause-circle",theme:"twotone"},mc=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mt}))}),mn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M304 176h80v672h-80zm408 0h-64c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8z"}}]},name:"pause",theme:"outlined"},mr=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mn}))}),ma={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 64zm166.6 246.8L567.5 515.6h62c4.4 0 8 3.6 8 8v29.9c0 4.4-3.6 8-8 8h-82V603h82c4.4 0 8 3.6 8 8v29.9c0 4.4-3.6 8-8 8h-82V717c0 4.4-3.6 8-8 8h-54.3c-4.4 0-8-3.6-8-8v-68.1h-81.7c-4.4 0-8-3.6-8-8V611c0-4.4 3.6-8 8-8h81.7v-41.5h-81.7c-4.4 0-8-3.6-8-8v-29.9c0-4.4 3.6-8 8-8h61.4L345.4 310.8a8.07 8.07 0 017-11.9h60.7c3 0 5.8 1.7 7.1 4.4l90.6 180h3.4l90.6-180a8 8 0 017.1-4.4h59.5c4.4 0 8 3.6 8 8 .2 1.4-.2 2.7-.8 3.9z"}}]},name:"pay-circle",theme:"filled"},ml=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ma}))}),mo={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 372zm159.6-585h-59.5c-3 0-5.8 1.7-7.1 4.4l-90.6 180H511l-90.6-180a8 8 0 00-7.1-4.4h-60.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9L457 515.7h-61.4c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V603h-81.7c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V717c0 4.4 3.6 8 8 8h54.3c4.4 0 8-3.6 8-8v-68.1h82c4.4 0 8-3.6 8-8V611c0-4.4-3.6-8-8-8h-82v-41.5h82c4.4 0 8-3.6 8-8v-29.9c0-4.4-3.6-8-8-8h-62l111.1-204.8c.6-1.2 1-2.5 1-3.8-.1-4.4-3.7-8-8.1-8z"}}]},name:"pay-circle",theme:"outlined"},mi=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mo}))}),mu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855.7 210.8l-42.4-42.4a8.03 8.03 0 00-11.3 0L168.3 801.9a8.03 8.03 0 000 11.3l42.4 42.4c3.1 3.1 8.2 3.1 11.3 0L855.6 222c3.2-3 3.2-8.1.1-11.2zM304 448c79.4 0 144-64.6 144-144s-64.6-144-144-144-144 64.6-144 144 64.6 144 144 144zm0-216c39.7 0 72 32.3 72 72s-32.3 72-72 72-72-32.3-72-72 32.3-72 72-72zm416 344c-79.4 0-144 64.6-144 144s64.6 144 144 144 144-64.6 144-144-64.6-144-144-144zm0 216c-39.7 0-72-32.3-72-72s32.3-72 72-72 72 32.3 72 72-32.3 72-72 72z"}}]},name:"percentage",theme:"outlined"},ms=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mu}))}),mf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.6 230.2L779.1 123.8a80.83 80.83 0 00-57.3-23.8c-21.7 0-42.1 8.5-57.4 23.8L549.8 238.4a80.83 80.83 0 00-23.8 57.3c0 21.7 8.5 42.1 23.8 57.4l83.8 83.8A393.82 393.82 0 01553.1 553 395.34 395.34 0 01437 633.8L353.2 550a80.83 80.83 0 00-57.3-23.8c-21.7 0-42.1 8.5-57.4 23.8L123.8 664.5a80.89 80.89 0 00-23.8 57.4c0 21.7 8.5 42.1 23.8 57.4l106.3 106.3c24.4 24.5 58.1 38.4 92.7 38.4 7.3 0 14.3-.6 21.2-1.8 134.8-22.2 268.5-93.9 376.4-201.7C828.2 612.8 899.8 479.2 922.3 344c6.8-41.3-6.9-83.8-36.7-113.8z"}}]},name:"phone",theme:"filled"},mh=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mf}))}),md={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z"}}]},name:"phone",theme:"outlined"},mv=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:md}))}),mm={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M721.7 184.9L610.9 295.8l120.8 120.7-8 21.6A481.29 481.29 0 01438 723.9l-21.6 8-.9-.9-119.8-120-110.8 110.9 104.5 104.5c10.8 10.7 26 15.7 40.8 13.2 117.9-19.5 235.4-82.9 330.9-178.4s158.9-213.1 178.4-331c2.5-14.8-2.5-30-13.3-40.8L721.7 184.9z",fill:t}},{tag:"path",attrs:{d:"M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z",fill:e}}]}},name:"phone",theme:"twotone"},mg=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mm}))}),mp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM848 660c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H176c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h672zM232 436h560v152H232V436z"}}]},name:"pic-center",theme:"outlined"},mz=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mp}))}),mw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM608 660c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h512zM152 436h400v152H152V436zm552 210c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H712c-4.4 0-8 3.6-8 8v56zm8-204h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H712c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"}}]},name:"pic-left",theme:"outlined"},mM=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mw}))}),mZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-24 500c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H416c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h512zM472 436h400v152H472V436zM80 646c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H88c-4.4 0-8 3.6-8 8v56zm8-204h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H88c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"}}]},name:"pic-right",theme:"outlined"},mH=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mZ}))}),mb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zM338 304c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm513.9 437.1a8.11 8.11 0 01-5.2 1.9H177.2c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2l170.3-202c2.8-3.4 7.9-3.8 11.3-1 .3.3.7.6 1 1l99.4 118 158.1-187.5c2.8-3.4 7.9-3.8 11.3-1 .3.3.7.6 1 1l229.6 271.6c2.6 3.3 2.2 8.4-1.2 11.2z"}}]},name:"picture",theme:"filled"},mV=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mb}))}),mC=c(16801),mx=c(5140),mE=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mx.Z}))}),mL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M863.1 518.5H505.5V160.9c0-4.4-3.6-8-8-8h-26a398.57 398.57 0 00-282.5 117 397.47 397.47 0 00-85.6 127C82.6 446.2 72 498.5 72 552.5S82.6 658.7 103.4 708c20.1 47.5 48.9 90.3 85.6 127 36.7 36.7 79.4 65.5 127 85.6a396.64 396.64 0 00155.6 31.5 398.57 398.57 0 00282.5-117c36.7-36.7 65.5-79.4 85.6-127a396.64 396.64 0 0031.5-155.6v-26c-.1-4.4-3.7-8-8.1-8zM951 463l-2.6-28.2c-8.5-92-49.3-178.8-115.1-244.3A398.5 398.5 0 00588.4 75.6L560.1 73c-4.7-.4-8.7 3.2-8.7 7.9v383.7c0 4.4 3.6 8 8 8l383.6-1c4.7-.1 8.4-4 8-8.6z"}}]},name:"pie-chart",theme:"filled"},my=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mL}))}),mR=c(48869),mB={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M316.2 920.5c-47.6-20.1-90.4-49-127.1-85.7a398.19 398.19 0 01-85.7-127.1A397.12 397.12 0 0172 552.2v.2a398.57 398.57 0 00117 282.5c36.7 36.7 79.4 65.5 127 85.6A396.64 396.64 0 00471.6 952c27 0 53.6-2.7 79.7-7.9-25.9 5.2-52.4 7.8-79.3 7.8-54 .1-106.4-10.5-155.8-31.4zM560 472c-4.4 0-8-3.6-8-8V79.9c0-1.3.3-2.5.9-3.6-.9 1.3-1.5 2.9-1.5 4.6v383.7c0 4.4 3.6 8 8 8l383.6-1c1.6 0 3.1-.5 4.4-1.3-1 .5-2.2.7-3.4.7l-384 1z",fill:t}},{tag:"path",attrs:{d:"M619.8 147.6v256.6l256.4-.7c-13-62.5-44.3-120.5-90-166.1a332.24 332.24 0 00-166.4-89.8z",fill:t}},{tag:"path",attrs:{d:"M438 221.7c-75.9 7.6-146.2 40.9-200.8 95.5C174.5 379.9 140 463.3 140 552s34.5 172.1 97.2 234.8c62.3 62.3 145.1 96.8 233.2 97.2 88.2.4 172.7-34.1 235.3-96.2C761 733 794.6 662.3 802.3 586H438V221.7z",fill:t}},{tag:"path",attrs:{d:"M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552v.2c0 53.9 10.6 106.2 31.4 155.5 20.1 47.6 49 90.4 85.7 127.1 36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952c26.9 0 53.4-2.6 79.3-7.8 26.1-5.3 51.7-13.1 76.4-23.6 47.6-20.1 90.4-49 127.1-85.7 36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552s34.5-172.1 97.2-234.8c54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8z",fill:e}},{tag:"path",attrs:{d:"M952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-3.4-.3-6.4 1.5-7.8 4.3a8.7 8.7 0 00-.9 3.6V464c0 4.4 3.6 8 8 8l384-1c1.2 0 2.3-.3 3.4-.7a8.1 8.1 0 004.6-7.9zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z",fill:e}}]}},name:"pie-chart",theme:"twotone"},mS=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mB}))}),mO={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.97 64 64 264.97 64 512c0 192.53 122.08 357.04 292.88 420.28-4.92-43.86-4.14-115.68 3.97-150.46 7.6-32.66 49.11-208.16 49.11-208.16s-12.53-25.1-12.53-62.16c0-58.24 33.74-101.7 75.77-101.7 35.74 0 52.97 26.83 52.97 58.98 0 35.96-22.85 89.66-34.7 139.43-9.87 41.7 20.91 75.7 62.02 75.7 74.43 0 131.64-78.5 131.64-191.77 0-100.27-72.03-170.38-174.9-170.38-119.15 0-189.08 89.38-189.08 181.75 0 35.98 13.85 74.58 31.16 95.58 3.42 4.16 3.92 7.78 2.9 12-3.17 13.22-10.22 41.67-11.63 47.5-1.82 7.68-6.07 9.28-14 5.59-52.3-24.36-85-100.81-85-162.25 0-132.1 95.96-253.43 276.71-253.43 145.29 0 258.18 103.5 258.18 241.88 0 144.34-91.02 260.49-217.31 260.49-42.44 0-82.33-22.05-95.97-48.1 0 0-21 79.96-26.1 99.56-8.82 33.9-46.55 104.13-65.49 136.03A446.16 446.16 0 00512 960c247.04 0 448-200.97 448-448S759.04 64 512 64"}}]},name:"pinterest",theme:"filled"},mk=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mO}))}),mT={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.8 64 64 264.8 64 512s200.8 448 448 448 448-200.8 448-448S759.2 64 512 64m0 38.96c226.14 0 409.04 182.9 409.04 409.04 0 226.14-182.9 409.04-409.04 409.04-41.37 0-81.27-6.19-118.89-17.57 16.76-28.02 38.4-68.06 46.99-101.12 5.1-19.6 26.1-99.56 26.1-99.56 13.64 26.04 53.5 48.09 95.94 48.09 126.3 0 217.34-116.15 217.34-260.49 0-138.37-112.91-241.88-258.2-241.88-180.75 0-276.69 121.32-276.69 253.4 0 61.44 32.68 137.91 85 162.26 7.92 3.7 12.17 2.1 14-5.59 1.4-5.83 8.46-34.25 11.63-47.48 1.02-4.22.53-7.86-2.89-12.02-17.31-21-31.2-59.58-31.2-95.56 0-92.38 69.94-181.78 189.08-181.78 102.88 0 174.93 70.13 174.93 170.4 0 113.28-57.2 191.78-131.63 191.78-41.11 0-71.89-34-62.02-75.7 11.84-49.78 34.7-103.49 34.7-139.44 0-32.15-17.25-58.97-53-58.97-42.02 0-75.78 43.45-75.78 101.7 0 37.06 12.56 62.16 12.56 62.16s-41.51 175.5-49.12 208.17c-7.62 32.64-5.58 76.6-2.43 109.34C208.55 830.52 102.96 683.78 102.96 512c0-226.14 182.9-409.04 409.04-409.04"}}]},name:"pinterest",theme:"outlined"},m$=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mT}))}),mF={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 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 01-12.7-6.5V353.7a8 8 0 0112.7-6.5L656.1 506a7.9 7.9 0 010 12.9z"}}]},name:"play-circle",theme:"filled"},mA=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mF}))}),mI={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:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"},mP=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mI}))}),mD={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm164.1 378.2L457.7 677.1a8.02 8.02 0 01-12.7-6.5V353a8 8 0 0112.7-6.5l218.4 158.8a7.9 7.9 0 010 12.9z",fill:t}},{tag:"path",attrs:{d:"M676.1 505.3L457.7 346.5A8 8 0 00445 353v317.6a8.02 8.02 0 0012.7 6.5l218.4-158.9a7.9 7.9 0 000-12.9z",fill:e}}]}},name:"play-circle",theme:"twotone"},mN=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mD}))}),mq={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-32zM641.7 520.8L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6z"}}]},name:"play-square",theme:"filled"},mj=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mq}))}),mW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M442.3 677.6l199.4-156.7a11.3 11.3 0 000-17.7L442.3 346.4c-7.4-5.8-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.7 18.3 8.9z"}},{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:"play-square",theme:"outlined"},mY=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mW}))}),m_={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm240-484.7c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3z",fill:t}},{tag:"path",attrs:{d:"M442.3 677.6l199.4-156.8a11.2 11.2 0 000-17.6L442.3 346.5c-7.4-5.9-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.6 18.3 8.8z",fill:e}}]}},name:"play-square",theme:"twotone"},mK=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:m_}))}),mX={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 64zm192 472c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z"}}]},name:"plus-circle",theme:"filled"},mU=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mX}))}),mG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-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 8h152v152c0 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-8z"}},{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"}}]},name:"plus-circle",theme:"outlined"},mQ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mG}))}),mJ={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm192 396c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z",fill:t}},{tag:"path",attrs:{d:"M696 480H544V328c0-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 8h152v152c0 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-8z",fill:e}}]}},name:"plus-circle",theme:"twotone"},m1=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:mJ}))}),m4=c(51042),m2={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-32zM704 536c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z"}}]},name:"plus-square",theme:"filled"},m3=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:m2}))}),m8=c(43114),m6=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:m8.Z}))}),m0={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm136-352c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48z",fill:t}},{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",fill:e}}]}},name:"plus-square",theme:"twotone"},m5=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:m0}))}),m7={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 64zm146 658c0 4.4-3.6 8-8 8H376.2c-4.4 0-8-3.6-8-8v-38.5c0-3.7 2.5-6.9 6.1-7.8 44-10.9 72.8-49 72.8-94.2 0-14.7-2.5-29.4-5.9-44.2H374c-4.4 0-8-3.6-8-8v-30c0-4.4 3.6-8 8-8h53.7c-7.8-25.1-14.6-50.7-14.6-77.1 0-75.8 58.6-120.3 151.5-120.3 26.5 0 51.4 5.5 70.3 12.7 3.1 1.2 5.2 4.2 5.2 7.5v39.5a8 8 0 01-10.6 7.6c-17.9-6.4-39-10.5-60.4-10.5-53.3 0-87.3 26.6-87.3 70.2 0 24.7 6.2 47.9 13.4 70.5h112c4.4 0 8 3.6 8 8v30c0 4.4-3.6 8-8 8h-98.6c3.1 13.2 5.3 26.9 5.3 41 0 40.7-16.5 73.9-43.9 91.1v4.7h180c4.4 0 8 3.6 8 8V722z"}}]},name:"pound-circle",theme:"filled"},m9=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:m7}))}),ge={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 372zm138-209.8H469.8v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.9-5.3-41H607c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8H495c-7.2-22.6-13.4-45.7-13.4-70.5 0-43.5 34-70.2 87.3-70.2 21.5 0 42.5 4.1 60.4 10.5 5.2 1.9 10.6-2 10.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.8-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.3 6.9 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.1c3.4 14.7 5.9 29.4 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8V722c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z"}}]},name:"pound-circle",theme:"outlined"},gt=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ge}))}),gc={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm146 582.1c0 4.4-3.6 8-8 8H376.2c-4.4 0-8-3.6-8-8v-38.5c0-3.7 2.5-6.9 6.1-7.8 44-10.9 72.8-49 72.8-94.2 0-14.7-2.5-29.4-5.9-44.2H374c-4.4 0-8-3.6-8-8v-30c0-4.4 3.6-8 8-8h53.7c-7.8-25.1-14.6-50.7-14.6-77.1 0-75.8 58.6-120.3 151.5-120.3 26.5 0 51.4 5.5 70.3 12.7 3.1 1.2 5.2 4.2 5.2 7.5v39.5a8 8 0 01-10.6 7.6c-17.9-6.4-39-10.5-60.4-10.5-53.3 0-87.3 26.6-87.3 70.2 0 24.7 6.2 47.9 13.4 70.5h112c4.4 0 8 3.6 8 8v30c0 4.4-3.6 8-8 8h-98.6c3.1 13.2 5.3 26.9 5.3 41 0 40.7-16.5 73.9-43.9 91.1v4.7h180c4.4 0 8 3.6 8 8v39.8z",fill:t}},{tag:"path",attrs:{d:"M650 674.3H470v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.8-5.3-41h98.6c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8h-112c-7.2-22.6-13.4-45.8-13.4-70.5 0-43.6 34-70.2 87.3-70.2 21.4 0 42.5 4.1 60.4 10.5a8 8 0 0010.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.9-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.4 6.8 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.2c3.4 14.8 5.9 29.5 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8v38.5c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"pound-circle",theme:"twotone"},gn=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gc}))}),gr={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 372zm138-209.8H469.8v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.9-5.3-41H607c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8H495c-7.2-22.6-13.4-45.7-13.4-70.5 0-43.5 34-70.2 87.3-70.2 21.5 0 42.5 4.1 60.4 10.5 5.2 1.9 10.6-2 10.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.8-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.3 6.9 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.1c3.4 14.7 5.9 29.4 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8V722c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z"}}]},name:"pound",theme:"outlined"},ga=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gr}))}),gl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},go=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gl}))}),gi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M732 120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v148h440V120zm120 212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM664 844H360V568h304v276zm164-360c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-40c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v40z"}}]},name:"printer",theme:"filled"},gu=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gi}))}),gs={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M820 436h-40c-4.4 0-8 3.6-8 8v40c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-40c0-4.4-3.6-8-8-8zm32-104H732V120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM360 180h304v152H360V180zm304 664H360V568h304v276zm200-140H732V500H292v204H160V412c0-6.6 5.4-12 12-12h680c6.6 0 12 5.4 12 12v292z"}}]},name:"printer",theme:"outlined"},gf=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gs}))}),gh={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 180h304v152H360zm492 220H172c-6.6 0-12 5.4-12 12v292h132V500h440v204h132V412c0-6.6-5.4-12-12-12zm-24 84c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-40c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v40z",fill:t}},{tag:"path",attrs:{d:"M852 332H732V120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM360 180h304v152H360V180zm304 664H360V568h304v276zm200-140H732V500H292v204H160V412c0-6.6 5.4-12 12-12h680c6.6 0 12 5.4 12 12v292z",fill:e}},{tag:"path",attrs:{d:"M820 436h-40c-4.4 0-8 3.6-8 8v40c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-40c0-4.4-3.6-8-8-8z",fill:e}}]}},name:"printer",theme:"twotone"},gd=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gh}))}),gv={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M160 144h304a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V160a16 16 0 0116-16m564.31-25.33l181.02 181.02a16 16 0 010 22.62L724.31 503.33a16 16 0 01-22.62 0L520.67 322.31a16 16 0 010-22.62l181.02-181.02a16 16 0 0122.62 0M160 544h304a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V560a16 16 0 0116-16m400 0h304a16 16 0 0116 16v304a16 16 0 01-16 16H560a16 16 0 01-16-16V560a16 16 0 0116-16"}}]},name:"product",theme:"filled"},gm=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gv}))}),gg=c(79383),gp={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-32zM380 696c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm0-144c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm0-144c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm304 272c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-144c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-144c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48z"}}]},name:"profile",theme:"filled"},gz=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gp}))}),gw={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-32zm-40 728H184V184h656v656zM492 400h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zM340 368a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"profile",theme:"outlined"},gM=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gw}))}),gZ={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm300-496c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zM380 328c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M340 656a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm152 320h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"profile",theme:"twotone"},gH=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gZ}))}),gb={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-32zM368 744c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v464zm192-280c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v184zm192 72c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v256z"}}]},name:"project",theme:"filled"},gV=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gb}))}),gC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M280 752h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8zm192-280h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm192 72h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v256c0 4.4 3.6 8 8 8zm216-432H144c-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:"project",theme:"outlined"},gx=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gC}))}),gE={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm472-560c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v256c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280zm-192 0c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280zm-192 0c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v464c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280z",fill:t}},{tag:"path",attrs:{d:"M280 752h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8zm192-280h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm192 72h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v256c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"project",theme:"twotone"},gL=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gE}))}),gy={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM648.3 332.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V658c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 018.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z"}}]},name:"property-safety",theme:"filled"},gR=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gy}))}),gB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zM430.5 318h-46c-1.7 0-3.3.4-4.8 1.2a10.1 10.1 0 00-4 13.6l88 161.1h-45.2c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1v29.7h-63.1c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1V658c0 5.5 4.5 10 10 10h41.3c5.5 0 10-4.5 10-10v-51.8h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-63.4v-29.7h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-45.7l87.7-161.1a10.05 10.05 0 00-8.8-14.8h-45c-3.8 0-7.2 2.1-8.9 5.5l-73.2 144.3-72.9-144.3c-1.7-3.4-5.2-5.5-9-5.5z"}}]},name:"property-safety",theme:"outlined"},gS=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gB}))}),gO={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z",fill:e}},{tag:"path",attrs:{d:"M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM593.9 318h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V658c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8H418c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7H418c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3L585 323.5a10 10 0 018.9-5.5z",fill:t}},{tag:"path",attrs:{d:"M438.9 323.5a9.88 9.88 0 00-8.9-5.5h-46c-1.7 0-3.3.4-4.8 1.2-4.9 2.7-6.6 8.8-4 13.6l88 161.1H418c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1v29.7H418c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1V658c0 5.5 4.5 10 10 10h41.3c5.5 0 10-4.5 10-10v-51.8h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-63.4v-29.7h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-45.7l87.7-161.1c.8-1.5 1.2-3.1 1.1-4.8 0-5.5-4.5-10-10-10h-45a10 10 0 00-8.9 5.5l-73.2 144.3-72.9-144.3z",fill:e}}]}},name:"property-safety",theme:"twotone"},gk=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gO}))}),gT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M788 705.9V192c0-8.8-7.2-16-16-16H602v-68.8c0-6-7-9.4-11.7-5.7L462.7 202.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V240h114v465.9c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c.1-49.2-31.7-91-75.9-106.1zM752 860a48.01 48.01 0 010-96 48.01 48.01 0 010 96zM384 212c0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1V318.1c44.2-15.1 76-56.9 76-106.1zm-160 0a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0z"}}]},name:"pull-request",theme:"outlined"},g$=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gT}))}),gF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3-15.4 12.3-16.6 35.4-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8z"}}]},name:"pushpin",theme:"filled"},gA=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gF}))}),gI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3a33.23 33.23 0 00-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8zM666.2 549.3l-24.5 24.5 3.8 34.4a259.92 259.92 0 01-30.4 153.9L262 408.8c12.9-7.1 26.3-13.1 40.3-17.9 27.2-9.4 55.7-14.1 84.7-14.1 9.6 0 19.3.5 28.9 1.6l34.4 3.8 24.5-24.5L608.5 224 800 415.5 666.2 549.3z"}}]},name:"pushpin",theme:"outlined"},gP=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gI}))}),gD={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M474.8 357.7l-24.5 24.5-34.4-3.8c-9.6-1.1-19.3-1.6-28.9-1.6-29 0-57.5 4.7-84.7 14.1-14 4.8-27.4 10.8-40.3 17.9l353.1 353.3a259.92 259.92 0 0030.4-153.9l-3.8-34.4 24.5-24.5L800 415.5 608.5 224 474.8 357.7z",fill:t}},{tag:"path",attrs:{d:"M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3a33.23 33.23 0 00-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8zM666.2 549.3l-24.5 24.5 3.8 34.4a259.92 259.92 0 01-30.4 153.9L262 408.8c12.9-7.1 26.3-13.1 40.3-17.9 27.2-9.4 55.7-14.1 84.7-14.1 9.6 0 19.3.5 28.9 1.6l34.4 3.8 24.5-24.5L608.5 224 800 415.5 666.2 549.3z",fill:e}}]}},name:"pushpin",theme:"twotone"},gN=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gD}))}),gq={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M555 790.5a28.5 28.5 0 1057 0 28.5 28.5 0 00-57 0m-143-557a28.5 28.5 0 1057 0 28.5 28.5 0 00-57 0"}},{tag:"path",attrs:{d:"M821.52 297.71H726.3v-95.23c0-49.9-40.58-90.48-90.48-90.48H388.19c-49.9 0-90.48 40.57-90.48 90.48v95.23h-95.23c-49.9 0-90.48 40.58-90.48 90.48v247.62c0 49.9 40.57 90.48 90.48 90.48h95.23v95.23c0 49.9 40.58 90.48 90.48 90.48h247.62c49.9 0 90.48-40.57 90.48-90.48V726.3h95.23c49.9 0 90.48-40.58 90.48-90.48V388.19c0-49.9-40.57-90.48-90.48-90.48M202.48 669.14a33.37 33.37 0 01-33.34-33.33V388.19a33.37 33.37 0 0133.34-33.33h278.57a28.53 28.53 0 0028.57-28.57 28.53 28.53 0 00-28.57-28.58h-126.2v-95.23a33.37 33.37 0 0133.34-33.34h247.62a33.37 33.37 0 0133.33 33.34v256.47a24.47 24.47 0 01-24.47 24.48H379.33c-45.04 0-81.62 36.66-81.62 81.62v104.1zm652.38-33.33a33.37 33.37 0 01-33.34 33.33H542.95a28.53 28.53 0 00-28.57 28.57 28.53 28.53 0 0028.57 28.58h126.2v95.23a33.37 33.37 0 01-33.34 33.34H388.19a33.37 33.37 0 01-33.33-33.34V565.05a24.47 24.47 0 0124.47-24.48h265.34c45.04 0 81.62-36.67 81.62-81.62v-104.1h95.23a33.37 33.37 0 0133.34 33.34z"}}]},name:"python",theme:"outlined"},gj=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gq}))}),gW={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 64zm210.5 612.4c-11.5 1.4-44.9-52.7-44.9-52.7 0 31.3-16.2 72.2-51.1 101.8 16.9 5.2 54.9 19.2 45.9 34.4-7.3 12.3-125.6 7.9-159.8 4-34.2 3.8-152.5 8.3-159.8-4-9.1-15.2 28.9-29.2 45.8-34.4-35-29.5-51.1-70.4-51.1-101.8 0 0-33.4 54.1-44.9 52.7-5.4-.7-12.4-29.6 9.4-99.7 10.3-33 22-60.5 40.2-105.8-3.1-116.9 45.3-215 160.4-215 113.9 0 163.3 96.1 160.4 215 18.1 45.2 29.9 72.8 40.2 105.8 21.7 70.1 14.6 99.1 9.3 99.7z"}}]},name:"qq-circle",theme:"filled"},gY=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gW}))}),g_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.8 613.2c-16-51.4-34.4-94.6-62.7-165.3C766.5 262.2 689.3 112 511.5 112 331.7 112 256.2 265.2 261 447.9c-28.4 70.8-46.7 113.7-62.7 165.3-34 109.5-23 154.8-14.6 155.8 18 2.2 70.1-82.4 70.1-82.4 0 49 25.2 112.9 79.8 159-26.4 8.1-85.7 29.9-71.6 53.8 11.4 19.3 196.2 12.3 249.5 6.3 53.3 6 238.1 13 249.5-6.3 14.1-23.8-45.3-45.7-71.6-53.8 54.6-46.2 79.8-110.1 79.8-159 0 0 52.1 84.6 70.1 82.4 8.5-1.1 19.5-46.4-14.5-155.8z"}}]},name:"qq",theme:"outlined"},gK=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:g_}))}),gX={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-32zM722.5 676.4c-11.5 1.4-44.9-52.7-44.9-52.7 0 31.3-16.2 72.2-51.1 101.8 16.9 5.2 54.9 19.2 45.9 34.4-7.3 12.3-125.6 7.9-159.8 4-34.2 3.8-152.5 8.3-159.8-4-9.1-15.2 28.9-29.2 45.8-34.4-35-29.5-51.1-70.4-51.1-101.8 0 0-33.4 54.1-44.9 52.7-5.4-.7-12.4-29.6 9.4-99.7 10.3-33 22-60.5 40.2-105.8-3.1-116.9 45.3-215 160.4-215 113.9 0 163.3 96.1 160.4 215 18.1 45.2 29.9 72.8 40.2 105.8 21.7 70.1 14.6 99.1 9.3 99.7z"}}]},name:"qq-square",theme:"filled"},gU=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gX}))}),gG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M468 128H160c-17.7 0-32 14.3-32 32v308c0 4.4 3.6 8 8 8h332c4.4 0 8-3.6 8-8V136c0-4.4-3.6-8-8-8zm-56 284H192V192h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm194 210H136c-4.4 0-8 3.6-8 8v308c0 17.7 14.3 32 32 32h308c4.4 0 8-3.6 8-8V556c0-4.4-3.6-8-8-8zm-56 284H192V612h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm590-630H556c-4.4 0-8 3.6-8 8v332c0 4.4 3.6 8 8 8h332c4.4 0 8-3.6 8-8V160c0-17.7-14.3-32-32-32zm-32 284H612V192h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm194 210h-48c-4.4 0-8 3.6-8 8v134h-78V556c0-4.4-3.6-8-8-8H556c-4.4 0-8 3.6-8 8v332c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h78v102c0 4.4 3.6 8 8 8h190c4.4 0 8-3.6 8-8V556c0-4.4-3.6-8-8-8zM746 832h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm142 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"qrcode",theme:"outlined"},gQ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gG}))}),gJ={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 708c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z"}}]},name:"question-circle",theme:"filled"},g1=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:gJ}))}),g4=c(63783),g2={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm0 632c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z",fill:t}},{tag:"path",attrs:{d:"M472 732a40 40 0 1080 0 40 40 0 10-80 0zm151.6-415.3C593.6 290.5 554 276 512 276s-81.6 14.4-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 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.2 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 0-39.3-17.2-76-48.4-103.3z",fill:e}}]}},name:"question-circle",theme:"twotone"},g3=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:g2}))}),g8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M764 280.9c-14-30.6-33.9-58.1-59.3-81.6C653.1 151.4 584.6 125 512 125s-141.1 26.4-192.7 74.2c-25.4 23.6-45.3 51-59.3 81.7-14.6 32-22 65.9-22 100.9v27c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-27c0-99.5 88.6-180.4 197.6-180.4s197.6 80.9 197.6 180.4c0 40.8-14.5 79.2-42 111.2-27.2 31.7-65.6 54.4-108.1 64-24.3 5.5-46.2 19.2-61.7 38.8a110.85 110.85 0 00-23.9 68.6v31.4c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-31.4c0-15.7 10.9-29.5 26-32.9 58.4-13.2 111.4-44.7 149.3-88.7 19.1-22.3 34-47.1 44.3-74 10.7-27.9 16.1-57.2 16.1-87 0-35-7.4-69-22-100.9zM512 787c-30.9 0-56 25.1-56 56s25.1 56 56 56 56-25.1 56-56-25.1-56-56-56z"}}]},name:"question",theme:"outlined"},g6=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:g8}))}),g0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M926.8 397.1l-396-288a31.81 31.81 0 00-37.6 0l-396 288a31.99 31.99 0 00-11.6 35.8l151.3 466a32 32 0 0030.4 22.1h489.5c13.9 0 26.1-8.9 30.4-22.1l151.3-466c4.2-13.2-.5-27.6-11.7-35.8zM838.6 417l-98.5 32-200-144.7V199.9L838.6 417zM466 567.2l-89.1 122.3-55.2-169.2L466 567.2zm-116.3-96.8L484 373.3v140.8l-134.3-43.7zM512 599.2l93.9 128.9H418.1L512 599.2zm28.1-225.9l134.2 97.1L540.1 514V373.3zM558 567.2l144.3-46.9-55.2 169.2L558 567.2zm-74-367.3v104.4L283.9 449l-98.5-32L484 199.9zM169.3 470.8l86.5 28.1 80.4 246.4-53.8 73.9-113.1-348.4zM327.1 853l50.3-69h269.3l50.3 69H327.1zm414.5-33.8l-53.8-73.9 80.4-246.4 86.5-28.1-113.1 348.4z"}}]},name:"radar-chart",theme:"outlined"},g5=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:g0}))}),g7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M712 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm2-696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM136 374h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-174h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm752 624h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-230 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm230 624H358c-87.3 0-158-70.7-158-158V484c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v182c0 127 103 230 230 230h182c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"radius-bottomleft",theme:"outlined"},g9=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:g7}))}),pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M368 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-58-624h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm578 102h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm292 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm174 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm230 276h-56c-4.4 0-8 3.6-8 8v182c0 87.3-70.7 158-158 158H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h182c127 0 230-103 230-230V484c0-4.4-3.6-8-8-8z"}}]},name:"radius-bottomright",theme:"outlined"},pt=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pe}))}),pc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M396 140h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-44 684h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm524-204h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 344h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm320 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm160 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm140-284c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V370c0-127-103-230-230-230H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h170c87.3 0 158 70.7 158 158v170zM236 96H92c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8h144c4.4 0 8-3.6 8-8V104c0-4.4-3.6-8-8-8zm-48 101.6c0 1.3-1.1 2.4-2.4 2.4h-43.2c-1.3 0-2.4-1.1-2.4-2.4v-43.2c0-1.3 1.1-2.4 2.4-2.4h43.2c1.3 0 2.4 1.1 2.4 2.4v43.2zM920 780H776c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8h144c4.4 0 8-3.6 8-8V788c0-4.4-3.6-8-8-8zm-48 101.6c0 1.3-1.1 2.4-2.4 2.4h-43.2c-1.3 0-2.4-1.1-2.4-2.4v-43.2c0-1.3 1.1-2.4 2.4-2.4h43.2c1.3 0 2.4 1.1 2.4 2.4v43.2z"}}]},name:"radius-setting",theme:"outlined"},pn=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pc}))}),pr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M656 200h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm58 624h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 650h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm696-696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-174 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm174-696H358c-127 0-230 103-230 230v182c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V358c0-87.3 70.7-158 158-158h182c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"radius-upleft",theme:"outlined"},pa=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pr}))}),pl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M368 128h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-2 696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm522-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 128h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm174 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-48-696H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h182c87.3 0 158 70.7 158 158v182c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V358c0-127-103-230-230-230z"}}]},name:"radius-upright",theme:"outlined"},po=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pl}))}),pi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 161H699.2c-49.1 0-97.1 14.1-138.4 40.7L512 233l-48.8-31.3A255.2 255.2 0 00324.8 161H96c-17.7 0-32 14.3-32 32v568c0 17.7 14.3 32 32 32h228.8c49.1 0 97.1 14.1 138.4 40.7l44.4 28.6c1.3.8 2.8 1.3 4.3 1.3s3-.4 4.3-1.3l44.4-28.6C602 807.1 650.1 793 699.2 793H928c17.7 0 32-14.3 32-32V193c0-17.7-14.3-32-32-32zM404 553.5c0 4.1-3.2 7.5-7.1 7.5H211.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm0-140c0 4.1-3.2 7.5-7.1 7.5H211.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm416 140c0 4.1-3.2 7.5-7.1 7.5H627.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm0-140c0 4.1-3.2 7.5-7.1 7.5H627.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45z"}}]},name:"read",theme:"filled"},pu=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pi}))}),ps=c(14079),pf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M676 623c-18.8 0-34 15.2-34 34s15.2 34 34 34 34-15.2 34-34-15.2-34-34-34zm204-455H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zM448 848H176V616h272v232zm0-296H176v-88h272v88zm20-272v-48h72v-56h64v56h72v48H468zm180 168v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8zm28 301c-50.8 0-92-41.2-92-92s41.2-92 92-92 92 41.2 92 92-41.2 92-92 92zm92-245c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v96zm-92 61c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34z"}}]},name:"reconciliation",theme:"filled"},ph=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pf}))}),pd={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M676 565c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34zm204-523H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zm-412 64h72v-56h64v56h72v48H468v-48zm-20 616H176V616h272v232zm0-296H176v-88h272v88zm392 240H512V432c0-17.7-14.3-32-32-32H304V240h100v104h336V240h100v552zM704 408v96c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-96c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zM592 512h48c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"}}]},name:"reconciliation",theme:"outlined"},pv=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pd}))}),pm={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M740 344H404V240H304v160h176c17.7 0 32 14.3 32 32v360h328V240H740v104zM584 448c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56zm92 301c-50.8 0-92-41.2-92-92s41.2-92 92-92 92 41.2 92 92-41.2 92-92 92zm92-341v96c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8z",fill:t}},{tag:"path",attrs:{d:"M642 657a34 34 0 1068 0 34 34 0 10-68 0z",fill:t}},{tag:"path",attrs:{d:"M592 512h48c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm112-104v96c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-96c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8z",fill:e}},{tag:"path",attrs:{d:"M880 168H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zm-412 64h72v-56h64v56h72v48H468v-48zm-20 616H176V616h272v232zm0-296H176v-88h272v88zm392 240H512V432c0-17.7-14.3-32-32-32H304V240h100v104h336V240h100v552z",fill:e}},{tag:"path",attrs:{d:"M676 565c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34z",fill:e}}]}},name:"reconciliation",theme:"twotone"},pg=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pm}))}),pp={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-32zM647 470.4l-87.2 161h45.9c4.6 0 8.4 3.8 8.4 8.4v25.1c0 4.6-3.8 8.4-8.4 8.4h-63.3v28.6h63.3c4.6 0 8.4 3.8 8.4 8.4v25c.2 4.6-3.6 8.5-8.2 8.5h-63.3v49.9c0 4.6-3.8 8.4-8.4 8.4h-43.7c-4.6 0-8.4-3.8-8.4-8.4v-49.9h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h63v-28.6h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h45.4l-87.5-161c-2.2-4.1-.7-9.1 3.4-11.4 1.3-.6 2.6-1 3.9-1h48.8c3.2 0 6.1 1.8 7.5 4.6l71.9 141.8 71.9-141.9a8.5 8.5 0 017.5-4.6h47.8c4.6 0 8.4 3.8 8.4 8.4-.1 1.5-.5 2.9-1.1 4.1zM512.6 323L289 148h446L512.6 323z"}}]},name:"red-envelope",theme:"filled"},pz=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pp}))}),pw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M440.6 462.6a8.38 8.38 0 00-7.5-4.6h-48.8c-1.3 0-2.6.4-3.9 1a8.4 8.4 0 00-3.4 11.4l87.4 161.1H419c-4.6 0-8.4 3.8-8.4 8.4V665c0 4.6 3.8 8.4 8.4 8.4h63V702h-63c-4.6 0-8.4 3.8-8.4 8.4v25.1c0 4.6 3.8 8.4 8.4 8.4h63v49.9c0 4.6 3.8 8.4 8.4 8.4h43.7c4.6 0 8.4-3.8 8.4-8.4v-49.9h63.3c4.7 0 8.4-3.8 8.2-8.5v-25c0-4.6-3.8-8.4-8.4-8.4h-63.3v-28.6h63.3c4.6 0 8.4-3.8 8.4-8.4v-25.1c0-4.6-3.8-8.4-8.4-8.4h-45.9l87.2-161a8.45 8.45 0 00-7.4-12.4h-47.8c-3.1 0-6 1.8-7.5 4.6l-71.9 141.9-71.7-142zM832 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-40 824H232V193.1l260.3 204.1c11.6 9.1 27.9 9.1 39.5 0L792 193.1V888zm0-751.3h-31.7L512 331.3 263.7 136.7H232v-.7h560v.7z"}}]},name:"red-envelope",theme:"outlined"},pM=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pw}))}),pZ={icon:function(e,t){return{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-40 824H232V193.1l260.3 204.1c11.6 9.1 27.9 9.1 39.5 0L792 193.1V888zm0-751.3h-31.7L512 331.3 263.7 136.7H232v-.7h560v.7z",fill:e}},{tag:"path",attrs:{d:"M492.3 397.2L232 193.1V888h560V193.1L531.8 397.2a31.99 31.99 0 01-39.5 0zm99.4 60.9h47.8a8.45 8.45 0 017.4 12.4l-87.2 161h45.9c4.6 0 8.4 3.8 8.4 8.4V665c0 4.6-3.8 8.4-8.4 8.4h-63.3V702h63.3c4.6 0 8.4 3.8 8.4 8.4v25c.2 4.7-3.5 8.5-8.2 8.5h-63.3v49.9c0 4.6-3.8 8.4-8.4 8.4h-43.7c-4.6 0-8.4-3.8-8.4-8.4v-49.9h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h63v-28.6h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h45.4L377 470.4a8.4 8.4 0 013.4-11.4c1.3-.6 2.6-1 3.9-1h48.8c3.2 0 6.1 1.8 7.5 4.6l71.7 142 71.9-141.9a8.6 8.6 0 017.5-4.6z",fill:t}},{tag:"path",attrs:{d:"M232 136.7h31.7L512 331.3l248.3-194.6H792v-.7H232z",fill:t}},{tag:"path",attrs:{d:"M440.6 462.6a8.38 8.38 0 00-7.5-4.6h-48.8c-1.3 0-2.6.4-3.9 1a8.4 8.4 0 00-3.4 11.4l87.4 161.1H419c-4.6 0-8.4 3.8-8.4 8.4V665c0 4.6 3.8 8.4 8.4 8.4h63V702h-63c-4.6 0-8.4 3.8-8.4 8.4v25.1c0 4.6 3.8 8.4 8.4 8.4h63v49.9c0 4.6 3.8 8.4 8.4 8.4h43.7c4.6 0 8.4-3.8 8.4-8.4v-49.9h63.3c4.7 0 8.4-3.8 8.2-8.5v-25c0-4.6-3.8-8.4-8.4-8.4h-63.3v-28.6h63.3c4.6 0 8.4-3.8 8.4-8.4v-25.1c0-4.6-3.8-8.4-8.4-8.4h-45.9l87.2-161a8.45 8.45 0 00-7.4-12.4h-47.8c-3.1 0-6 1.8-7.5 4.6l-71.9 141.9-71.7-142z",fill:e}}]}},name:"red-envelope",theme:"twotone"},pH=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pZ}))}),pb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M584 548a36 36 0 1072 0 36 36 0 10-72 0zm144-108a35.9 35.9 0 00-32.5 20.6c18.8 14.3 34.4 30.7 45.9 48.8A35.98 35.98 0 00728 440zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm245 477.9c4.6 13.5 7 27.6 7 42.1 0 99.4-112.8 180-252 180s-252-80.6-252-180c0-14.5 2.4-28.6 7-42.1A72.01 72.01 0 01296 404c27.1 0 50.6 14.9 62.9 37 36.2-19.8 80.2-32.8 128.1-36.1l58.4-131.1c4.3-9.8 15.2-14.8 25.5-11.8l91.6 26.5a54.03 54.03 0 01101.6 25.6c0 29.8-24.2 54-54 54-23.5 0-43.5-15.1-50.9-36.1L577 308.3l-43 96.5c49.1 3 94.2 16.1 131.2 36.3 12.3-22.1 35.8-37 62.9-37 39.8 0 72 32.2 72 72-.1 29.3-17.8 54.6-43.1 65.8zm-171.3 83c-14.9 11.7-44.3 24.3-73.7 24.3s-58.9-12.6-73.7-24.3c-9.3-7.3-22.7-5.7-30 3.6-7.3 9.3-5.7 22.7 3.6 30 25.7 20.4 65 33.5 100.1 33.5 35.1 0 74.4-13.1 100.2-33.5 9.3-7.3 10.9-20.8 3.6-30a21.46 21.46 0 00-30.1-3.6zM296 440a35.98 35.98 0 00-13.4 69.4c11.5-18.1 27.1-34.5 45.9-48.8A35.9 35.9 0 00296 440zm72 108a36 36 0 1072 0 36 36 0 10-72 0z"}}]},name:"reddit-circle",theme:"filled"},pV=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pb}))}),pC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 568a56 56 0 10112 0 56 56 0 10-112 0zm338.7 119.7c-23.1 18.2-68.9 37.8-114.7 37.8s-91.6-19.6-114.7-37.8c-14.4-11.3-35.3-8.9-46.7 5.5s-8.9 35.3 5.5 46.7C396.3 771.6 457.5 792 512 792s115.7-20.4 155.9-52.1a33.25 33.25 0 10-41.2-52.2zM960 456c0-61.9-50.1-112-112-112-42.1 0-78.7 23.2-97.9 57.6-57.6-31.5-127.7-51.8-204.1-56.5L612.9 195l127.9 36.9c11.5 32.6 42.6 56.1 79.2 56.1 46.4 0 84-37.6 84-84s-37.6-84-84-84c-32 0-59.8 17.9-74 44.2L603.5 123a33.2 33.2 0 00-39.6 18.4l-90.8 203.9c-74.5 5.2-142.9 25.4-199.2 56.2A111.94 111.94 0 00176 344c-61.9 0-112 50.1-112 112 0 45.8 27.5 85.1 66.8 102.5-7.1 21-10.8 43-10.8 65.5 0 154.6 175.5 280 392 280s392-125.4 392-280c0-22.6-3.8-44.5-10.8-65.5C932.5 541.1 960 501.8 960 456zM820 172.5a31.5 31.5 0 110 63 31.5 31.5 0 010-63zM120 456c0-30.9 25.1-56 56-56a56 56 0 0150.6 32.1c-29.3 22.2-53.5 47.8-71.5 75.9a56.23 56.23 0 01-35.1-52zm392 381.5c-179.8 0-325.5-95.6-325.5-213.5S332.2 410.5 512 410.5 837.5 506.1 837.5 624 691.8 837.5 512 837.5zM868.8 508c-17.9-28.1-42.2-53.7-71.5-75.9 9-18.9 28.3-32.1 50.6-32.1 30.9 0 56 25.1 56 56 .1 23.5-14.5 43.7-35.1 52zM624 568a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"reddit",theme:"outlined"},px=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pC}))}),pE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M296 440a35.98 35.98 0 00-13.4 69.4c11.5-18.1 27.1-34.5 45.9-48.8A35.9 35.9 0 00296 440zm289.7 184.9c-14.9 11.7-44.3 24.3-73.7 24.3s-58.9-12.6-73.7-24.3c-9.3-7.3-22.7-5.7-30 3.6-7.3 9.3-5.7 22.7 3.6 30 25.7 20.4 65 33.5 100.1 33.5 35.1 0 74.4-13.1 100.2-33.5 9.3-7.3 10.9-20.8 3.6-30a21.46 21.46 0 00-30.1-3.6zM880 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-32zM757 541.9c4.6 13.5 7 27.6 7 42.1 0 99.4-112.8 180-252 180s-252-80.6-252-180c0-14.5 2.4-28.6 7-42.1A72.01 72.01 0 01296 404c27.1 0 50.6 14.9 62.9 37 36.2-19.8 80.2-32.8 128.1-36.1l58.4-131.1c4.3-9.8 15.2-14.8 25.5-11.8l91.6 26.5a54.03 54.03 0 01101.6 25.6c0 29.8-24.2 54-54 54-23.5 0-43.5-15.1-50.9-36.1L577 308.3l-43 96.5c49.1 3 94.2 16.1 131.2 36.3 12.3-22.1 35.8-37 62.9-37 39.8 0 72 32.2 72 72-.1 29.3-17.8 54.6-43.1 65.8zM584 548a36 36 0 1072 0 36 36 0 10-72 0zm144-108a35.9 35.9 0 00-32.5 20.6c18.8 14.3 34.4 30.7 45.9 48.8A35.98 35.98 0 00728 440zM368 548a36 36 0 1072 0 36 36 0 10-72 0z"}}]},name:"reddit-square",theme:"filled"},pL=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pE}))}),py=c(87740),pR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},pB=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pR}))}),pS={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zM508 704c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zM291 256l22.4-76h397.2l22.4 76H291zm137 304a80 80 0 10160 0 80 80 0 10-160 0z"}}]},name:"rest",theme:"filled"},pO=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pS}))}),pk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M508 704c79.5 0 144-64.5 144-144s-64.5-144-144-144-144 64.5-144 144 64.5 144 144 144zm0-224c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}},{tag:"path",attrs:{d:"M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zm-518.6-76h397.2l22.4 76H291l22.4-76zm376.2 664H326.4L282 324h451.9l-44.3 520z"}}]},name:"rest",theme:"outlined"},pT=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pk}))}),p$={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M326.4 844h363.2l44.3-520H282l44.4 520zM508 416c79.5 0 144 64.5 144 144s-64.5 144-144 144-144-64.5-144-144 64.5-144 144-144z",fill:t}},{tag:"path",attrs:{d:"M508 704c79.5 0 144-64.5 144-144s-64.5-144-144-144-144 64.5-144 144 64.5 144 144 144zm0-224c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z",fill:e}},{tag:"path",attrs:{d:"M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zm-518.6-76h397.2l22.4 76H291l22.4-76zm376.2 664H326.4L282 324h451.9l-44.3 520z",fill:e}}]}},name:"rest",theme:"twotone"},pF=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:p$}))}),pA={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M136 552h63.6c4.4 0 8-3.6 8-8V288.7h528.6v72.6c0 1.9.6 3.7 1.8 5.2a8.3 8.3 0 0011.7 1.4L893 255.4c4.3-5 3.6-10.3 0-13.2L749.7 129.8a8.22 8.22 0 00-5.2-1.8c-4.6 0-8.4 3.8-8.4 8.4V209H199.7c-39.5 0-71.7 32.2-71.7 71.8V544c0 4.4 3.6 8 8 8zm752-80h-63.6c-4.4 0-8 3.6-8 8v255.3H287.8v-72.6c0-1.9-.6-3.7-1.8-5.2a8.3 8.3 0 00-11.7-1.4L131 768.6c-4.3 5-3.6 10.3 0 13.2l143.3 112.4c1.5 1.2 3.3 1.8 5.2 1.8 4.6 0 8.4-3.8 8.4-8.4V815h536.6c39.5 0 71.7-32.2 71.7-71.8V480c-.2-4.4-3.8-8-8.2-8z"}}]},name:"retweet",theme:"outlined"},pI=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pA}))}),pP={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 64zm154.7 454.5l-246 178c-5.3 3.8-12.7 0-12.7-6.5v-46.9c0-10.2 4.9-19.9 13.2-25.9L566.6 512 421.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.8 0 13z"}}]},name:"right-circle",theme:"filled"},pD=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pP}))}),pN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M666.7 505.5l-246-178A8 8 0 00408 334v46.9c0 10.2 4.9 19.9 13.2 25.9L566.6 512 421.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5l246-178c4.4-3.2 4.4-9.8 0-13z"}},{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"}}]},name:"right-circle",theme:"outlined"},pq=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pN}))}),pj={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm154.7 378.4l-246 178c-5.3 3.8-12.7 0-12.7-6.5V643c0-10.2 4.9-19.9 13.2-25.9L566.6 512 421.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.7 0 12.9z",fill:t}},{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",fill:e}},{tag:"path",attrs:{d:"M666.7 505.5l-246-178c-5.3-3.8-12.7 0-12.7 6.5v46.9c0 10.3 4.9 19.9 13.2 25.9L566.6 512 421.2 617.1c-8.3 6-13.2 15.7-13.2 25.9v46.9c0 6.5 7.4 10.3 12.7 6.5l246-178c4.4-3.2 4.4-9.7 0-12.9z",fill:e}}]}},name:"right-circle",theme:"twotone"},pW=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pj}))}),pY=c(43929),p_={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-32zM658.7 518.5l-246 178c-5.3 3.8-12.7 0-12.7-6.5v-46.9c0-10.2 4.9-19.9 13.2-25.9L558.6 512 413.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.8 0 13z"}}]},name:"right-square",theme:"filled"},pK=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:p_}))}),pX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M412.7 696.5l246-178c4.4-3.2 4.4-9.7 0-12.9l-246-178c-5.3-3.8-12.7 0-12.7 6.5V381c0 10.2 4.9 19.9 13.2 25.9L558.6 512 413.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5z"}},{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:"right-square",theme:"outlined"},pU=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pX}))}),pG={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm216-196.9c0-10.2 4.9-19.9 13.2-25.9L558.6 512 413.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.7 0 12.9l-246 178c-5.3 3.9-12.7.1-12.7-6.4v-46.9z",fill:t}},{tag:"path",attrs:{d:"M412.7 696.4l246-178c4.4-3.2 4.4-9.7 0-12.9l-246-178c-5.3-3.8-12.7 0-12.7 6.5v46.9c0 10.3 4.9 19.9 13.2 25.9L558.6 512 413.2 617.2c-8.3 6-13.2 15.7-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.4z",fill:e}}]}},name:"right-square",theme:"twotone"},pQ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:pG}))}),pJ=c(97879),p1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM300 328c0-33.1 26.9-60 60-60s60 26.9 60 60-26.9 60-60 60-60-26.9-60-60zm372 248c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-60c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v60zm-8-188c-33.1 0-60-26.9-60-60s26.9-60 60-60 60 26.9 60 60-26.9 60-60 60zm135 476H225c-13.8 0-25 14.3-25 32v56c0 4.4 2.8 8 6.2 8h611.5c3.4 0 6.2-3.6 6.2-8v-56c.1-17.7-11.1-32-24.9-32z"}}]},name:"robot",theme:"filled"},p4=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:p1}))}),p2=c(50228),p3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8L864 736zM512 352a48.01 48.01 0 010 96 48.01 48.01 0 010-96zm116.1 432.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5s-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5z"}}]},name:"rocket",theme:"filled"},p8=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:p3}))}),p6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8H864zM762.3 621.4c9.4 14.6 17 30.3 22.5 46.6H700V558.7a211.6 211.6 0 0162.3 62.7zM388 483.1V318.8l124-147 124 147V668H388V483.1zM239.2 668c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668h-84.8zm388.9 116.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5-38.3 0-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM464 400a48 48 0 1096 0 48 48 0 10-96 0z"}}]},name:"rocket",theme:"outlined"},p0=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:p6}))}),p5={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M261.7 621.4c-9.4 14.6-17 30.3-22.5 46.6H324V558.7c-24.8 16.2-46 37.5-62.3 62.7zM700 558.7V668h84.8c-5.5-16.3-13.1-32-22.5-46.6a211.6 211.6 0 00-62.3-62.7zm-64-239.9l-124-147-124 147V668h248V318.8zM512 448a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8L864 736zm-540-68h-84.8c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668zm64-184.9V318.8l124-147 124 147V668H388V483.1zm240.1 301.1c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5s-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM700 668V558.7a211.6 211.6 0 0162.3 62.7c9.4 14.6 17 30.3 22.5 46.6H700z",fill:e}},{tag:"path",attrs:{d:"M464 400a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"rocket",theme:"twotone"},p7=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:p5}))}),p9={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M793 242H366v-74c0-6.7-7.7-10.4-12.9-6.3l-142 112a8 8 0 000 12.6l142 112c5.2 4.1 12.9.4 12.9-6.3v-74h415v470H175c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-28.7 64-64V306c0-35.3-28.7-64-64-64z"}}]},name:"rollback",theme:"outlined"},ze=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:p9}))}),zt=c(4708),zc=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zt.Z}))}),zn=c(10952),zr=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zn.Z}))}),za={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M509.81 112.02c-.73.05-1.46.12-2.2.21h-4.32l-3.4 1.7a36.33 36.33 0 00-8.88 4.4l-145.96 73.02-153.7 153.7-72.65 145.24a36.33 36.33 0 00-4.9 9.86l-1.56 3.12v3.98a36.33 36.33 0 000 8.3v298.23l6.88 9.5a198.7 198.7 0 0020.58 24.42c37.86 37.85 87.66 57.16 142.62 62.01a36.34 36.34 0 0011.57 1.77h575.75c3.14.54 6.34.66 9.51.36a36.34 36.34 0 002.56-.35h29.8v-29.95a36.33 36.33 0 000-11.92V293.88a36.33 36.33 0 00-1.78-11.57c-4.84-54.95-24.16-104.75-62.01-142.62h-.07v-.07a203.92 203.92 0 00-24.27-20.43l-9.58-6.96H515.14a36.34 36.34 0 00-5.32-.21M643 184.89h145.96c2.47 2.08 5.25 4.06 7.45 6.25 26.59 26.63 40.97 64.74 42.3 111.18zM510.31 190l65.71 39.38-25.47 156.1-64.36 64.36-100.7 100.69L229.4 576l-39.38-65.7 61.1-122.26 136.94-136.95zm132.76 79.61l123.19 73.94-138.09 17.24zM821.9 409.82c-21.21 68.25-62.66 142.58-122.4 211.88l-65.85-188.4zm-252.54 59.6l53.64 153.56-153.55-53.65 68.12-68.12zm269.5 81.04v237L738.44 687.04c40.1-43.74 73.73-89.83 100.4-136.59m-478.04 77.7l-17.24 138.08-73.94-123.18zm72.52 5.46l188.32 65.85c-69.28 59.71-143.57 101.2-211.8 122.4zM184.9 643l117.43 195.7c-46.5-1.33-84.63-15.74-111.26-42.37-2.16-2.16-4.11-4.93-6.17-7.38zm502.17 95.43l100.4 100.4h-237c46.77-26.67 92.86-60.3 136.6-100.4"}}]},name:"ruby",theme:"outlined"},zl=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:za}))}),zo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM694.5 340.7L481.9 633.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.1 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.8-6.6 13-6.6H688c6.5.1 10.3 7.5 6.5 12.8z"}}]},name:"safety-certificate",theme:"filled"},zi=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zo}))}),zu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zm-405.8-201c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z"}}]},name:"safety-certificate",theme:"outlined"},zs=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zu}))}),zf={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z",fill:e}},{tag:"path",attrs:{d:"M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM632.8 328H688c6.5 0 10.3 7.4 6.5 12.7L481.9 633.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.2 0 10 2.5 13 6.6l64.7 89.1 150.9-207.8c3-4.1 7.9-6.6 13-6.6z",fill:t}},{tag:"path",attrs:{d:"M404.2 453.3c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z",fill:e}}]}},name:"safety-certificate",theme:"twotone"},zh=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zf}))}),zd={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64L128 192v384c0 212.1 171.9 384 384 384s384-171.9 384-384V192L512 64zm312 512c0 172.3-139.7 312-312 312S200 748.3 200 576V246l312-110 312 110v330z"}},{tag:"path",attrs:{d:"M378.4 475.1a35.91 35.91 0 00-50.9 0 35.91 35.91 0 000 50.9l129.4 129.4 2.1 2.1a33.98 33.98 0 0048.1 0L730.6 434a33.98 33.98 0 000-48.1l-2.8-2.8a33.98 33.98 0 00-48.1 0L483 579.7 378.4 475.1z"}}]},name:"safety",theme:"outlined"},zv=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zd}))}),zm=c(36986),zg=c(60219),zp={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 320c0 17.7-14.3 32-32 32H352c-17.7 0-32-14.3-32-32V184H184v656h656V341.8l-136-136V320zM512 730c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144z",fill:t}},{tag:"path",attrs:{d:"M512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z",fill:e}},{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-.7-.7-1.4-1.3-2.1-2-.1-.1-.3-.2-.4-.3-.7-.7-1.5-1.3-2.2-1.9a64 64 0 00-22-11.7V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840z",fill:e}}]}},name:"save",theme:"twotone"},zz=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zp}))}),zw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M136 384h56c4.4 0 8-3.6 8-8V200h176c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-37.6 0-68 30.4-68 68v180c0 4.4 3.6 8 8 8zm512-184h176v176c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V196c0-37.6-30.4-68-68-68H648c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM376 824H200V648c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v180c0 37.6 30.4 68 68 68h180c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm512-184h-56c-4.4 0-8 3.6-8 8v176H648c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h180c37.6 0 68-30.4 68-68V648c0-4.4-3.6-8-8-8zm16-164H120c-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-8z"}}]},name:"scan",theme:"outlined"},zM=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zw}))}),zZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zM424 688c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-136c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm374.5-91.3l-165 228.7a15.9 15.9 0 01-25.8 0L493.5 531.2c-3.8-5.3 0-12.7 6.5-12.7h54.9c5.1 0 9.9 2.5 12.9 6.6l52.8 73.1 103.7-143.7c3-4.2 7.8-6.6 12.9-6.6H792c6.5.1 10.3 7.5 6.5 12.8z"}}]},name:"schedule",theme:"filled"},zH=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zZ}))}),zb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496zM416 496H232c-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-8zm0 136H232c-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-8zm308.2-177.4L620.6 598.3l-52.8-73.1c-3-4.2-7.8-6.6-12.9-6.6H500c-6.5 0-10.3 7.4-6.5 12.7l114.1 158.2a15.9 15.9 0 0025.8 0l165-228.7c3.8-5.3 0-12.7-6.5-12.7H737c-5-.1-9.8 2.4-12.8 6.5z"}}]},name:"schedule",theme:"outlined"},zV=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zb}))}),zC={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M768 352c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H548v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H328v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H136v496h752V296H768v56zM424 688c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-136c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm374.4-91.2l-165 228.7a15.9 15.9 0 01-25.8 0L493.5 531.3c-3.8-5.3 0-12.7 6.5-12.7h54.9c5.1 0 9.9 2.4 12.9 6.6l52.8 73.1 103.6-143.7c3-4.1 7.8-6.6 12.8-6.5h54.9c6.5 0 10.3 7.4 6.5 12.7z",fill:t}},{tag:"path",attrs:{d:"M724.2 454.6L620.6 598.3l-52.8-73.1c-3-4.2-7.8-6.6-12.9-6.6H500c-6.5 0-10.3 7.4-6.5 12.7l114.1 158.2a15.9 15.9 0 0025.8 0l165-228.7c3.8-5.3 0-12.7-6.5-12.7H737c-5-.1-9.8 2.4-12.8 6.5zM416 496H232c-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-8z",fill:e}},{tag:"path",attrs:{d:"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z",fill:e}},{tag:"path",attrs:{d:"M416 632H232c-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-8z",fill:e}}]}},name:"schedule",theme:"twotone"},zx=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zC}))}),zE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M567.1 512l318.5-319.3c5-5 1.5-13.7-5.6-13.7h-90.5c-2.1 0-4.2.8-5.6 2.3l-273.3 274-90.2-90.5c12.5-22.1 19.7-47.6 19.7-74.8 0-83.9-68.1-152-152-152s-152 68.1-152 152 68.1 152 152 152c27.7 0 53.6-7.4 75.9-20.3l90 90.3-90.1 90.3A151.04 151.04 0 00288 582c-83.9 0-152 68.1-152 152s68.1 152 152 152 152-68.1 152-152c0-27.2-7.2-52.7-19.7-74.8l90.2-90.5 273.3 274c1.5 1.5 3.5 2.3 5.6 2.3H880c7.1 0 10.7-8.6 5.6-13.7L567.1 512zM288 370c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80zm0 444c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"}}]},name:"scissor",theme:"outlined"},zL=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zE}))}),zy=c(40110),zR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM626.8 554c-48.5 48.5-123 55.2-178.6 20.1l-77.5 77.5a8.03 8.03 0 01-11.3 0l-34-34a8.03 8.03 0 010-11.3l77.5-77.5c-35.1-55.7-28.4-130.1 20.1-178.6 56.3-56.3 147.5-56.3 203.8 0 56.3 56.3 56.3 147.5 0 203.8zm-158.54-45.27a80.1 80.1 0 10113.27-113.28 80.1 80.1 0 10-113.27 113.28z"}}]},name:"security-scan",theme:"filled"},zB=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zR}))}),zS={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zM402.9 528.8l-77.5 77.5a8.03 8.03 0 000 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.7 35.1 130.1 28.4 178.6-20.1 56.3-56.3 56.3-147.5 0-203.8-56.3-56.3-147.5-56.3-203.8 0-48.5 48.5-55.2 123-20.1 178.6zm65.4-133.3c31.3-31.3 82-31.3 113.2 0 31.3 31.3 31.3 82 0 113.2-31.3 31.3-82 31.3-113.2 0s-31.3-81.9 0-113.2z"}}]},name:"security-scan",theme:"outlined"},zO=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zS}))}),zk={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z",fill:e}},{tag:"path",attrs:{d:"M460.7 451.1a80.1 80.1 0 10160.2 0 80.1 80.1 0 10-160.2 0z",fill:t}},{tag:"path",attrs:{d:"M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zm428.7 122.5c56.3 56.3 56.3 147.5 0 203.8-48.5 48.5-123 55.2-178.6 20.1l-77.5 77.5a8.03 8.03 0 01-11.3 0l-34-34a8.03 8.03 0 010-11.3l77.5-77.5c-35.1-55.7-28.4-130.1 20.1-178.6 56.3-56.3 147.5-56.3 203.8 0z",fill:t}},{tag:"path",attrs:{d:"M418.8 527.8l-77.5 77.5a8.03 8.03 0 000 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.6 35.1 130.1 28.4 178.6-20.1 56.3-56.3 56.3-147.5 0-203.8-56.3-56.3-147.5-56.3-203.8 0-48.5 48.5-55.2 122.9-20.1 178.6zm65.4-133.3a80.1 80.1 0 01113.3 0 80.1 80.1 0 010 113.3c-31.3 31.3-82 31.3-113.3 0s-31.3-82 0-113.3z",fill:e}}]}},name:"security-scan",theme:"twotone"},zT=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zk}))}),z$=c(49591),zF=c(27496),zA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512.5 390.6c-29.9 0-57.9 11.6-79.1 32.8-21.1 21.2-32.8 49.2-32.8 79.1 0 29.9 11.7 57.9 32.8 79.1 21.2 21.1 49.2 32.8 79.1 32.8 29.9 0 57.9-11.7 79.1-32.8 21.1-21.2 32.8-49.2 32.8-79.1 0-29.9-11.7-57.9-32.8-79.1a110.96 110.96 0 00-79.1-32.8zm412.3 235.5l-65.4-55.9c3.1-19 4.7-38.4 4.7-57.7s-1.6-38.8-4.7-57.7l65.4-55.9a32.03 32.03 0 009.3-35.2l-.9-2.6a442.5 442.5 0 00-79.6-137.7l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.2 28.9c-30-24.6-63.4-44-99.6-57.5l-15.7-84.9a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52-9.4-106.8-9.4-158.8 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.3a353.44 353.44 0 00-98.9 57.3l-81.8-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a445.93 445.93 0 00-79.6 137.7l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.2 56.5c-3.1 18.8-4.6 38-4.6 57 0 19.2 1.5 38.4 4.6 57l-66 56.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.3 44.8 96.8 79.6 137.7l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.8-29.1c29.8 24.5 63 43.9 98.9 57.3l15.8 85.3a32.05 32.05 0 0025.8 25.7l2.7.5a448.27 448.27 0 00158.8 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c4.3-12.4.6-26.3-9.5-35zm-412.3 52.2c-97.1 0-175.8-78.7-175.8-175.8s78.7-175.8 175.8-175.8 175.8 78.7 175.8 175.8-78.7 175.8-175.8 175.8z"}}]},name:"setting",theme:"filled"},zI=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zA}))}),zP=c(42952),zD={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.3 569.7l.2.1c3.1-18.9 4.6-38.2 4.6-57.3 0-17.1-1.3-34.3-3.7-51.1 2.4 16.7 3.6 33.6 3.6 50.5 0 19.4-1.6 38.8-4.7 57.8zM99 398.1c-.5-.4-.9-.8-1.4-1.3.7.7 1.4 1.4 2.2 2.1l65.5 55.9v-.1L99 398.1zm536.6-216h.1l-15.5-83.8c-.2-1-.4-1.9-.7-2.8.1.5.3 1.1.4 1.6l15.7 85zm54 546.5l31.4-25.8 92.8 32.9c17-22.9 31.3-47.5 42.6-73.6l-74.7-63.9 6.6-40.1c2.5-15.1 3.8-30.6 3.8-46.1s-1.3-31-3.8-46.1l-6.5-39.9 74.7-63.9c-11.4-26-25.6-50.7-42.6-73.6l-92.8 32.9-31.4-25.8c-23.9-19.6-50.6-35-79.3-45.8l-38.1-14.3-17.9-97a377.5 377.5 0 00-85 0l-17.9 97.2-37.9 14.3c-28.5 10.8-55 26.2-78.7 45.7l-31.4 25.9-93.4-33.2c-17 22.9-31.3 47.5-42.6 73.6l75.5 64.5-6.5 40c-2.5 14.9-3.7 30.2-3.7 45.5 0 15.2 1.3 30.6 3.7 45.5l6.5 40-75.5 64.5c11.4 26 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.8 14.5 17.9 97.2c28.2 3.2 56.9 3.2 85 0l17.9-97 38.1-14.3c28.8-10.8 55.4-26.2 79.3-45.8zm-177.1-50.3c-30.5 0-59.2-7.8-84.3-21.5C373.3 627 336 568.9 336 502c0-97.2 78.8-176 176-176 66.9 0 125 37.3 154.8 92.2 13.7 25 21.5 53.7 21.5 84.3 0 97.1-78.7 175.8-175.8 175.8zM207.2 812.8c-5.5 1.9-11.2 2.3-16.6 1.2 5.7 1.2 11.7 1 17.5-1l81.4-29c-.1-.1-.3-.2-.4-.3l-81.9 29.1zm717.6-414.7l-65.5 56c0 .2.1.5.1.7l65.4-55.9c7.1-6.1 11.1-14.9 11.2-24-.3 8.8-4.3 17.3-11.2 23.2z",fill:t}},{tag:"path",attrs:{d:"M935.8 646.6c.5 4.7 0 9.5-1.7 14.1l-.9 2.6a446.02 446.02 0 01-79.7 137.9l-1.8 2.1a32 32 0 01-35.1 9.5l-81.3-28.9a350 350 0 01-99.7 57.6l-15.7 85a32.05 32.05 0 01-25.8 25.7l-2.7.5a445.2 445.2 0 01-79.2 7.1h.3c26.7 0 53.4-2.4 79.4-7.1l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c1.6-4.7 2.1-9.7 1.5-14.5z",fill:t}},{tag:"path",attrs:{d:"M688 502c0-30.3-7.7-58.9-21.2-83.8C637 363.3 578.9 326 512 326c-97.2 0-176 78.8-176 176 0 66.9 37.3 125 92.2 154.8 24.9 13.5 53.4 21.2 83.8 21.2 97.2 0 176-78.8 176-176zm-288 0c0-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.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502z",fill:e}},{tag:"path",attrs:{d:"M594.1 952.2a32.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.6c1.7-4.6 2.2-9.4 1.7-14.1-.9-7.9-4.7-15.4-11-20.9l-65.3-55.9-.2-.1c3.1-19 4.7-38.4 4.7-57.8 0-16.9-1.2-33.9-3.6-50.5-.3-2.2-.7-4.4-1-6.6 0-.2-.1-.5-.1-.7l65.5-56c6.9-5.9 10.9-14.4 11.2-23.2.1-4-.5-8.1-1.9-12l-.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.4-44-99.6-57.6h-.1l-15.7-85c-.1-.5-.2-1.1-.4-1.6a32.08 32.08 0 00-25.4-24.1l-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.6a32.09 32.09 0 007.9 33.9c.5.4.9.9 1.4 1.3l66.3 56.6v.1c-3.1 18.8-4.6 37.9-4.6 57 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.1c4.9 5.7 11.4 9.4 18.5 10.7 5.4 1 11.1.7 16.6-1.2l81.9-29.1c.1.1.3.2.4.3 29.7 24.3 62.8 43.6 98.6 57.1l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5c26.1 4.7 52.8 7.1 79.5 7.1h.3c26.6 0 53.3-2.4 79.2-7.1l2.7-.5zm-39.8-66.5a377.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.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 97z",fill:e}}]}},name:"setting",theme:"twotone"},zN=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zD}))}),zq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M324 666a48 48 0 1096 0 48 48 0 10-96 0zm616.7-309.6L667.6 83.2C655.2 70.9 638.7 64 621.1 64s-34.1 6.8-46.5 19.2L83.3 574.5a65.85 65.85 0 000 93.1l273.2 273.2c12.3 12.3 28.9 19.2 46.5 19.2s34.1-6.8 46.5-19.2l491.3-491.3c25.6-25.7 25.6-67.5-.1-93.1zM403 880.1L143.9 621l477.2-477.2 259 259.2L403 880.1zM152.8 373.7a7.9 7.9 0 0011.2 0L373.7 164a7.9 7.9 0 000-11.2l-38.4-38.4a7.9 7.9 0 00-11.2 0L114.3 323.9a7.9 7.9 0 000 11.2l38.5 38.6zm718.6 276.6a7.9 7.9 0 00-11.2 0L650.3 860.1a7.9 7.9 0 000 11.2l38.4 38.4a7.9 7.9 0 0011.2 0L909.7 700a7.9 7.9 0 000-11.2l-38.3-38.5z"}}]},name:"shake",theme:"outlined"},zj=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zq}))}),zW=c(20046),zY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0014.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h274V736h128v176h274c17.7 0 32-14.3 32-32V535a175 175 0 0015.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zm-72 568H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 3-1.3 6-2.6 9-4v242.2zm0-568.1H214v-88h596v88z"}}]},name:"shop",theme:"filled"},z_=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zY}))}),zK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0014.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h676c17.7 0 32-14.3 32-32V535a175 175 0 0015.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zM214 184h596v88H214v-88zm362 656.1H448V736h128v104.1zm234 0H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 3-1.3 6-2.6 9-4v242.2zm30-404.4c0 59.8-49 108.3-109.3 108.3-40.8 0-76.4-22.1-95.2-54.9-2.9-5-8.1-8.1-13.9-8.1h-.6c-5.7 0-11 3.1-13.9 8.1A109.24 109.24 0 01512 544c-40.7 0-76.2-22-95-54.7-3-5.1-8.4-8.3-14.3-8.3s-11.4 3.2-14.3 8.3a109.63 109.63 0 01-95.1 54.7C233 544 184 495.5 184 435.7v-91.2c0-.3.2-.5.5-.5h655c.3 0 .5.2.5.5v91.2z"}}]},name:"shop",theme:"outlined"},zX=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zK}))}),zU={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.5 344h-655c-.3 0-.5.2-.5.5v91.2c0 59.8 49 108.3 109.3 108.3 40.7 0 76.2-22 95.1-54.7 2.9-5.1 8.4-8.3 14.3-8.3s11.3 3.2 14.3 8.3c18.8 32.7 54.3 54.7 95 54.7 40.8 0 76.4-22.1 95.1-54.9 2.9-5 8.2-8.1 13.9-8.1h.6c5.8 0 11 3.1 13.9 8.1 18.8 32.8 54.4 54.9 95.2 54.9C791 544 840 495.5 840 435.7v-91.2c0-.3-.2-.5-.5-.5z",fill:t}},{tag:"path",attrs:{d:"M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0014.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h676c17.7 0 32-14.3 32-32V535a175 175 0 0015.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zM214 184h596v88H214v-88zm362 656.1H448V736h128v104.1zm234.4 0H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c3-1.3 6-2.6 9-4v242.2zM840 435.7c0 59.8-49 108.3-109.3 108.3-40.8 0-76.4-22.1-95.2-54.9-2.9-5-8.1-8.1-13.9-8.1h-.6c-5.7 0-11 3.1-13.9 8.1A109.24 109.24 0 01512 544c-40.7 0-76.2-22-95-54.7-3-5.1-8.4-8.3-14.3-8.3s-11.4 3.2-14.3 8.3a109.63 109.63 0 01-95.1 54.7C233 544 184 495.5 184 435.7v-91.2c0-.3.2-.5.5-.5h655c.3 0 .5.2.5.5v91.2z",fill:e}}]}},name:"shop",theme:"twotone"},zG=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zU}))}),zQ={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M922.9 701.9H327.4l29.9-60.9 496.8-.9c16.8 0 31.2-12 34.2-28.6l68.8-385.1c1.8-10.1-.9-20.5-7.5-28.4a34.99 34.99 0 00-26.6-12.5l-632-2.1-5.4-25.4c-3.4-16.2-18-28-34.6-28H96.5a35.3 35.3 0 100 70.6h125.9L246 312.8l58.1 281.3-74.8 122.1a34.96 34.96 0 00-3 36.8c6 11.9 18.1 19.4 31.5 19.4h62.8a102.43 102.43 0 00-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7h161.1a102.43 102.43 0 00-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7H923c19.4 0 35.3-15.8 35.3-35.3a35.42 35.42 0 00-35.4-35.2zM305.7 253l575.8 1.9-56.4 315.8-452.3.8L305.7 253zm96.9 612.7c-17.4 0-31.6-14.2-31.6-31.6 0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 01-31.6 31.6zm325.1 0c-17.4 0-31.6-14.2-31.6-31.6 0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 01-31.6 31.6z"}}]},name:"shopping-cart",theme:"outlined"},zJ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:zQ}))}),z1={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-208 0H400v-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16z"}}]},name:"shopping",theme:"filled"},z4=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:z1}))}),z2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-432-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16H400v-16zm392 544H232V384h96v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h224v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h96v456z"}}]},name:"shopping",theme:"outlined"},z3=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:z2}))}),z8={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 472c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-88H400v88c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-88h-96v456h560V384h-96v88z",fill:t}},{tag:"path",attrs:{d:"M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-432-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16H400v-16zm392 544H232V384h96v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h224v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h96v456z",fill:e}}]}},name:"shopping",theme:"twotone"},z6=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:z8}))}),z0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M881.7 187.4l-45.1-45.1a8.03 8.03 0 00-11.3 0L667.8 299.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L576.1 439c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 157.6-157.6c3-3 3-8.1-.1-11.2zM439 576.1l-189.2 23.5c-6.6.8-9.3 8.9-4.7 13.5l54.7 54.7-157.5 157.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l157.6-157.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L447.9 585a7.9 7.9 0 00-8.9-8.9z"}}]},name:"shrink",theme:"outlined"},z5=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:z0}))}),z7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M584 352H440c-17.7 0-32 14.3-32 32v544c0 17.7 14.3 32 32 32h144c17.7 0 32-14.3 32-32V384c0-17.7-14.3-32-32-32zM892 64H748c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h144c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM276 640H132c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h144c17.7 0 32-14.3 32-32V672c0-17.7-14.3-32-32-32z"}}]},name:"signal",theme:"filled"},z9=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:z7}))}),we={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M145.71 752c2 0 4-.2 5.98-.5L319.9 722c1.99-.4 3.88-1.3 5.28-2.8l423.91-423.87a9.93 9.93 0 000-14.06L582.88 114.9C581 113 578.5 112 575.82 112s-5.18 1-7.08 2.9L144.82 538.76c-1.5 1.5-2.4 3.29-2.8 5.28l-29.5 168.17a33.59 33.59 0 009.37 29.81c6.58 6.48 14.95 9.97 23.82 9.97m453.12-184.07c27.69-14.81 57.29-20.85 85.54-15.52 32.37 6.1 59.72 26.53 78.96 59.4 29.97 51.22 21.64 102.34-18.48 144.26-17.58 18.36-41.07 35.01-70 50.3l-.3.15.86.26a147.88 147.88 0 0041.54 6.2l1.17.01c61.07 0 100.98-22.1 125.28-67.87a36 36 0 0163.6 33.76C869.7 849.1 804.9 885 718.12 885c-47.69 0-91.94-15.03-128.19-41.36l-1.05-.78-1.36.47c-46.18 16-98.74 29.95-155.37 41.94l-2.24.47a1931.1 1931.1 0 01-139.16 23.96 36 36 0 11-9.5-71.38 1860.1 1860.1 0 00133.84-23.04c42.8-9 83-19.13 119.35-30.34l.24-.08-.44-.69c-16.46-26.45-25.86-55.43-26.14-83.24v-1.3c0-49.9 39.55-104.32 90.73-131.7M671 623.17c-10.74-2.03-24.1.7-38.22 8.26-29.55 15.8-52.7 47.64-52.7 68.2 0 18.2 8.9 40.14 24.71 59.73l.24.3 1.22-.52c39.17-16.58 68.49-34.27 85.93-52.18l.64-.67c18.74-19.57 21.39-35.84 8.36-58.1-9.06-15.47-19.03-22.92-30.18-25.02"}}]},name:"signature",theme:"filled"},wt=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:we}))}),wc={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M145.71 752c2 0 4-.2 5.98-.5L319.9 722c1.99-.4 3.88-1.3 5.28-2.8l423.91-423.87a9.93 9.93 0 000-14.06L582.88 114.9C581 113 578.5 112 575.82 112s-5.18 1-7.08 2.9L144.82 538.76c-1.5 1.5-2.4 3.29-2.8 5.28l-29.5 168.17a33.59 33.59 0 009.37 29.81c6.58 6.48 14.95 9.97 23.82 9.97m51.75-85.43l15.65-88.92 362.7-362.67 73.28 73.27-362.7 362.67zm401.37-98.64c27.69-14.81 57.29-20.85 85.54-15.52 32.37 6.1 59.72 26.53 78.96 59.4 29.97 51.22 21.64 102.34-18.48 144.26-17.58 18.36-41.07 35.01-70 50.3l-.3.15.86.26a147.88 147.88 0 0041.54 6.2l1.17.01c61.07 0 100.98-22.1 125.28-67.87a36 36 0 0163.6 33.76C869.7 849.1 804.9 885 718.12 885c-47.69 0-91.94-15.03-128.19-41.36l-1.05-.78-1.36.47c-46.18 16-98.74 29.95-155.37 41.94l-2.24.47a1931.1 1931.1 0 01-139.16 23.96 36 36 0 11-9.5-71.38 1860.1 1860.1 0 00133.84-23.04c42.8-9 83-19.13 119.35-30.34l.24-.08-.44-.69c-16.46-26.45-25.86-55.43-26.14-83.24v-1.3c0-49.9 39.55-104.32 90.73-131.7M671 623.17c-10.74-2.03-24.1.7-38.22 8.26-29.55 15.8-52.7 47.64-52.7 68.2 0 18.2 8.9 40.14 24.71 59.73l.24.3 1.22-.52c39.17-16.58 68.49-34.27 85.93-52.18l.64-.67c18.74-19.57 21.39-35.84 8.36-58.1-9.06-15.47-19.03-22.92-30.18-25.02"}}]},name:"signature",theme:"outlined"},wn=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wc}))}),wr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 432c-120.3 0-219.9 88.5-237.3 204H320c-15.5 0-28-12.5-28-28V244h291c14.2 35.2 48.7 60 89 60 53 0 96-43 96-96s-43-96-96-96c-40.3 0-74.8 24.8-89 60H112v72h108v364c0 55.2 44.8 100 100 100h114.7c17.4 115.5 117 204 237.3 204 132.5 0 240-107.5 240-240S804.5 432 672 432zm128 266c0 4.4-3.6 8-8 8h-86v86c0 4.4-3.6 8-8 8h-52c-4.4 0-8-3.6-8-8v-86h-86c-4.4 0-8-3.6-8-8v-52c0-4.4 3.6-8 8-8h86v-86c0-4.4 3.6-8 8-8h52c4.4 0 8 3.6 8 8v86h86c4.4 0 8 3.6 8 8v52z"}}]},name:"sisternode",theme:"outlined"},wa=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wr}))}),wl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M582.3 625.6l147.9-166.3h-63.4zm90-202.3h62.5l-92.1-115.1zm-274.7 36L512 684.5l114.4-225.2zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm286.7 380.2L515.8 762.3c-1 1.1-2.4 1.7-3.8 1.7s-2.8-.6-3.8-1.7L225.3 444.2a5.14 5.14 0 01-.2-6.6L365.6 262c1-1.2 2.4-1.9 4-1.9h284.6c1.6 0 3 .7 4 1.9l140.5 175.6a4.9 4.9 0 010 6.6zm-190.5-20.9L512 326.1l-96.2 97.2zM420.3 301.1l-23.1 89.8 88.8-89.8zm183.4 0H538l88.8 89.8zm-222.4 7.1l-92.1 115.1h62.5zm-87.5 151.1l147.9 166.3-84.5-166.3z"}}]},name:"sketch-circle",theme:"filled"},wo=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wl}))}),wi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M925.6 405.1l-203-253.7a6.5 6.5 0 00-5-2.4H306.4c-1.9 0-3.8.9-5 2.4l-203 253.7a6.5 6.5 0 00.2 8.3l408.6 459.5c1.2 1.4 3 2.1 4.8 2.1 1.8 0 3.5-.8 4.8-2.1l408.6-459.5a6.5 6.5 0 00.2-8.3zM645.2 206.4l34.4 133.9-132.5-133.9h98.1zm8.2 178.5H370.6L512 242l141.4 142.9zM378.8 206.4h98.1L344.3 340.3l34.5-133.9zm-53.4 7l-44.1 171.5h-93.1l137.2-171.5zM194.6 434.9H289l125.8 247.7-220.2-247.7zM512 763.4L345.1 434.9h333.7L512 763.4zm97.1-80.8L735 434.9h94.4L609.1 682.6zm133.6-297.7l-44.1-171.5 137.2 171.5h-93.1z"}}]},name:"sketch",theme:"outlined"},wu=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wi}))}),ws={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608.2 423.3L512 326.1l-96.2 97.2zm-25.9 202.3l147.9-166.3h-63.4zm90-202.3h62.5l-92.1-115.1zM880 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-81.3 332.2L515.8 762.3c-1 1.1-2.4 1.7-3.8 1.7s-2.8-.6-3.8-1.7L225.3 444.2a5.14 5.14 0 01-.2-6.6L365.6 262c1-1.2 2.4-1.9 4-1.9h284.6c1.6 0 3 .7 4 1.9l140.5 175.6a4.9 4.9 0 010 6.6zm-401.1 15.1L512 684.5l114.4-225.2zm-16.3-151.1l-92.1 115.1h62.5zm-87.5 151.1l147.9 166.3-84.5-166.3zm126.5-158.2l-23.1 89.8 88.8-89.8zm183.4 0H538l88.8 89.8z"}}]},name:"sketch-square",theme:"filled"},wf=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ws}))}),wh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44z"}}]},name:"skin",theme:"filled"},wd=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wh}))}),wv={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44zm-28 268H723v432H301V394H182V198h153.3c28.2 71.2 97.5 120 176.7 120s148.5-48.8 176.7-120H842v196z"}}]},name:"skin",theme:"outlined"},wm=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wv}))}),wg={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 318c-79.2 0-148.5-48.8-176.7-120H182v196h119v432h422V394h119V198H688.7c-28.2 71.2-97.5 120-176.7 120z",fill:t}},{tag:"path",attrs:{d:"M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44zm-28 268H723v432H301V394H182V198h153.3c28.2 71.2 97.5 120 176.7 120s148.5-48.8 176.7-120H842v196z",fill:e}}]}},name:"skin",theme:"twotone"},wp=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wg}))}),wz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M883.7 578.6c4.1-22.5 6.3-45.5 6.3-68.5 0-51-10-100.5-29.7-147-19-45-46.3-85.4-81-120.1a375.79 375.79 0 00-120.1-80.9c-46.6-19.7-96-29.7-147-29.7-24 0-48.1 2.3-71.5 6.8A225.1 225.1 0 00335.6 113c-59.7 0-115.9 23.3-158.1 65.5A222.25 222.25 0 00112 336.6c0 38 9.8 75.4 28.1 108.4-3.7 21.4-5.7 43.3-5.7 65.1 0 51 10 100.5 29.7 147 19 45 46.2 85.4 80.9 120.1 34.7 34.7 75.1 61.9 120.1 80.9 46.6 19.7 96 29.7 147 29.7 22.2 0 44.4-2 66.2-5.9 33.5 18.9 71.3 29 110 29 59.7 0 115.9-23.2 158.1-65.5 42.3-42.2 65.5-98.4 65.5-158.1.1-38-9.7-75.5-28.2-108.7zm-370 162.9c-134.2 0-194.2-66-194.2-115.4 0-25.4 18.7-43.1 44.5-43.1 57.4 0 42.6 82.5 149.7 82.5 54.9 0 85.2-29.8 85.2-60.3 0-18.3-9-38.7-45.2-47.6l-119.4-29.8c-96.1-24.1-113.6-76.1-113.6-124.9 0-101.4 95.5-139.5 185.2-139.5 82.6 0 180 45.7 180 106.5 0 26.1-22.6 41.2-48.4 41.2-49 0-40-67.8-138.7-67.8-49 0-76.1 22.2-76.1 53.9s38.7 41.8 72.3 49.5l88.4 19.6c96.8 21.6 121.3 78.1 121.3 131.3 0 82.3-63.3 143.9-191 143.9z"}}]},name:"skype",theme:"filled"},ww=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wz}))}),wM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M883.7 578.6c4.1-22.5 6.3-45.5 6.3-68.5 0-51-10-100.5-29.7-147-19-45-46.3-85.4-81-120.1a375.79 375.79 0 00-120.1-80.9c-46.6-19.7-96-29.7-147-29.7-24 0-48.1 2.3-71.5 6.8A225.1 225.1 0 00335.6 113c-59.7 0-115.9 23.3-158.1 65.5A222.25 222.25 0 00112 336.6c0 38 9.8 75.4 28.1 108.4-3.7 21.4-5.7 43.3-5.7 65.1 0 51 10 100.5 29.7 147 19 45 46.2 85.4 80.9 120.1 34.7 34.7 75.1 61.9 120.1 80.9 46.6 19.7 96 29.7 147 29.7 22.2 0 44.4-2 66.2-5.9 33.5 18.9 71.3 29 110 29 59.7 0 115.9-23.2 158.1-65.5 42.3-42.2 65.5-98.4 65.5-158.1.1-38-9.7-75.5-28.2-108.7zm-88.1 216C766.9 823.4 729 839 688.4 839c-26.1 0-51.8-6.8-74.6-19.7l-22.5-12.7-25.5 4.5c-17.8 3.2-35.8 4.8-53.6 4.8-41.4 0-81.3-8.1-119.1-24.1-36.3-15.3-69-37.3-97.2-65.5a304.29 304.29 0 01-65.5-97.1c-16-37.7-24-77.6-24-119 0-17.4 1.6-35.2 4.6-52.8l4.4-25.1L203 410a151.02 151.02 0 01-19.1-73.4c0-40.6 15.7-78.5 44.4-107.2C257.1 200.7 295 185 335.6 185a153 153 0 0171.4 17.9l22.4 11.8 24.8-4.8c18.9-3.6 38.4-5.5 58-5.5 41.4 0 81.3 8.1 119 24 36.5 15.4 69.1 37.4 97.2 65.5 28.2 28.1 50.2 60.8 65.6 97.2 16 37.7 24 77.6 24 119 0 18.4-1.7 37-5.1 55.5l-4.7 25.5 12.6 22.6c12.6 22.5 19.2 48 19.2 73.7 0 40.7-15.7 78.5-44.4 107.2zM583.4 466.2L495 446.6c-33.6-7.7-72.3-17.8-72.3-49.5s27.1-53.9 76.1-53.9c98.7 0 89.7 67.8 138.7 67.8 25.8 0 48.4-15.2 48.4-41.2 0-60.8-97.4-106.5-180-106.5-89.7 0-185.2 38.1-185.2 139.5 0 48.8 17.4 100.8 113.6 124.9l119.4 29.8c36.1 8.9 45.2 29.2 45.2 47.6 0 30.5-30.3 60.3-85.2 60.3-107.2 0-92.3-82.5-149.7-82.5-25.8 0-44.5 17.8-44.5 43.1 0 49.4 60 115.4 194.2 115.4 127.7 0 191-61.5 191-144 0-53.1-24.5-109.6-121.3-131.2z"}}]},name:"skype",theme:"outlined"},wZ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wM}))}),wH={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 64zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0150.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm83.7-50.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM579.3 765c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134c-13.3 0-26.1-5.3-35.6-14.8S529 593.6 529 580.2c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z"}}]},name:"slack-circle",theme:"filled"},wb=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wH}))}),wV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M409.4 128c-42.4 0-76.7 34.4-76.7 76.8 0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0054.3 22.5h76.7v-76.8c0-42.3-34.3-76.7-76.7-76.8zm0 204.8H204.7c-42.4 0-76.7 34.4-76.7 76.8s34.4 76.8 76.7 76.8h204.6c42.4 0 76.7-34.4 76.7-76.8.1-42.4-34.3-76.8-76.6-76.8zM614 486.4c42.4 0 76.8-34.4 76.7-76.8V204.8c0-42.4-34.3-76.8-76.7-76.8-42.4 0-76.7 34.4-76.7 76.8v204.8c0 42.5 34.3 76.8 76.7 76.8zm281.4-76.8c0-42.4-34.4-76.8-76.7-76.8S742 367.2 742 409.6v76.8h76.7c42.3 0 76.7-34.4 76.7-76.8zm-76.8 128H614c-42.4 0-76.7 34.4-76.7 76.8 0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0054.3 22.5h204.6c42.4 0 76.7-34.4 76.7-76.8.1-42.4-34.3-76.7-76.7-76.8zM614 742.4h-76.7v76.8c0 42.4 34.4 76.8 76.7 76.8 42.4 0 76.8-34.4 76.7-76.8.1-42.4-34.3-76.7-76.7-76.8zM409.4 537.6c-42.4 0-76.7 34.4-76.7 76.8v204.8c0 42.4 34.4 76.8 76.7 76.8 42.4 0 76.8-34.4 76.7-76.8V614.4c0-20.3-8.1-39.9-22.4-54.3a76.92 76.92 0 00-54.3-22.5zM128 614.4c0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0054.3 22.5c42.4 0 76.8-34.4 76.7-76.8v-76.8h-76.7c-42.3 0-76.7 34.4-76.7 76.8z"}}]},name:"slack",theme:"outlined"},wC=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wV}))}),wx={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-32zM529 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0150.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm134 403.2c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z"}}]},name:"slack-square",theme:"filled"},wE=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wx}))}),wL={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-32zM529 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0150.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm134 403.2c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z"}}]},name:"slack-square",theme:"outlined"},wy=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wL}))}),wR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 296h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-584-72h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm292 180h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8z"}}]},name:"sliders",theme:"filled"},wB=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wR}))}),wS={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440zm644-436h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74z"}}]},name:"sliders",theme:"outlined"},wO=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wS}))}),wk={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M180 292h80v440h-80zm369 180h-74a3 3 0 00-3 3v74a3 3 0 003 3h74a3 3 0 003-3v-74a3 3 0 00-3-3zm215-108h80v296h-80z",fill:t}},{tag:"path",attrs:{d:"M904 296h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74zM320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440z",fill:e}}]}},name:"sliders",theme:"twotone"},wT=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wk}))}),w$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M112 476h72v72h-72zm182 0h72v72h-72zm364 0h72v72h-72zm182 0h72v72h-72zm-364 0h72v72h-72z"}}]},name:"small-dash",theme:"outlined"},wF=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:w$}))}),wA={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 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm224 272c-85.5 0-155.6-67.3-160-151.6a8 8 0 018-8.4h48.1c4.2 0 7.8 3.2 8.1 7.4C420 589.9 461.5 629 512 629s92.1-39.1 95.8-88.6c.3-4.2 3.9-7.4 8.1-7.4H664a8 8 0 018 8.4C667.6 625.7 597.5 693 512 693zm176-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"smile",theme:"filled"},wI=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wA}))}),wP=c(93045),wD={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm224 272c-85.5 0-155.6-67.3-160-151.6a8 8 0 018-8.4h48.1c4.2 0 7.8 3.2 8.1 7.4C420 589.9 461.5 629 512 629s92.1-39.1 95.8-88.6c.3-4.2 3.9-7.4 8.1-7.4H664a8 8 0 018 8.4C667.6 625.7 597.5 693 512 693zm176-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm376 112h-48.1c-4.2 0-7.8 3.2-8.1 7.4-3.7 49.5-45.3 88.6-95.8 88.6s-92-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4zm-24-112a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"smile",theme:"twotone"},wN=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wD}))}),wq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 486H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z"}}]},name:"snippets",theme:"filled"},wj=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wq}))}),wW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 888H232V336h218v174c0 22.1 17.9 40 40 40h174v338zm0-402H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z"}}]},name:"snippets",theme:"outlined"},wY=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wW}))}),w_={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M450 510V336H232v552h432V550H490c-22.1 0-40-17.9-40-40z",fill:t}},{tag:"path",attrs:{d:"M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 888H232V336h218v174c0 22.1 17.9 40 40 40h174v338zm0-402H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z",fill:e}}]}},name:"snippets",theme:"twotone"},wK=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:w_}))}),wX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-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-8v-48zm-8 136H296c-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-8zM480 544H296c-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-8zm-48 308H208V148h560v344c0 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 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},wU=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wX}))}),wG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.6 433.8L749 150.5a9.24 9.24 0 00-8.9-6.5h-77.4c-4.1 0-7.6 2.6-8.9 6.5l-91.3 283.3c-.3.9-.5 1.9-.5 2.9 0 5.1 4.2 9.3 9.3 9.3h56.4c4.2 0 7.8-2.8 9-6.8l17.5-61.6h89l17.3 61.5c1.1 4 4.8 6.8 9 6.8h61.2c1 0 1.9-.1 2.8-.4 2.4-.8 4.3-2.4 5.5-4.6 1.1-2.2 1.3-4.7.6-7.1zM663.3 325.5l32.8-116.9h6.3l32.1 116.9h-71.2zm143.5 492.9H677.2v-.4l132.6-188.9c1.1-1.6 1.7-3.4 1.7-5.4v-36.4c0-5.1-4.2-9.3-9.3-9.3h-204c-5.1 0-9.3 4.2-9.3 9.3v43c0 5.1 4.2 9.3 9.3 9.3h122.6v.4L587.7 828.9a9.35 9.35 0 00-1.7 5.4v36.4c0 5.1 4.2 9.3 9.3 9.3h211.4c5.1 0 9.3-4.2 9.3-9.3v-43a9.2 9.2 0 00-9.2-9.3zM416 702h-76V172c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v530h-76c-6.7 0-10.5 7.8-6.3 13l112 141.9a8 8 0 0012.6 0l112-141.9c4.1-5.2.4-13-6.3-13z"}}]},name:"sort-ascending",theme:"outlined"},wQ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wG}))}),wJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M839.6 433.8L749 150.5a9.24 9.24 0 00-8.9-6.5h-77.4c-4.1 0-7.6 2.6-8.9 6.5l-91.3 283.3c-.3.9-.5 1.9-.5 2.9 0 5.1 4.2 9.3 9.3 9.3h56.4c4.2 0 7.8-2.8 9-6.8l17.5-61.6h89l17.3 61.5c1.1 4 4.8 6.8 9 6.8h61.2c1 0 1.9-.1 2.8-.4 2.4-.8 4.3-2.4 5.5-4.6 1.1-2.2 1.3-4.7.6-7.1zM663.3 325.5l32.8-116.9h6.3l32.1 116.9h-71.2zm143.5 492.9H677.2v-.4l132.6-188.9c1.1-1.6 1.7-3.4 1.7-5.4v-36.4c0-5.1-4.2-9.3-9.3-9.3h-204c-5.1 0-9.3 4.2-9.3 9.3v43c0 5.1 4.2 9.3 9.3 9.3h122.6v.4L587.7 828.9a9.35 9.35 0 00-1.7 5.4v36.4c0 5.1 4.2 9.3 9.3 9.3h211.4c5.1 0 9.3-4.2 9.3-9.3v-43a9.2 9.2 0 00-9.2-9.3zM310.3 167.1a8 8 0 00-12.6 0L185.7 309c-4.2 5.3-.4 13 6.3 13h76v530c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V322h76c6.7 0 10.5-7.8 6.3-13l-112-141.9z"}}]},name:"sort-descending",theme:"outlined"},w1=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:wJ}))}),w4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M892.1 737.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344zm174 132H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zM625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1z"}}]},name:"sound",theme:"filled"},w2=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:w4}))}),w3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z"}}]},name:"sound",theme:"outlined"},w8=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:w3}))}),w6={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M275.4 424H146v176h129.4l18 11.7L586 803V221L293.3 412.3z",fill:t}},{tag:"path",attrs:{d:"M892.1 737.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM934 476H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344zM625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582z",fill:e}}]}},name:"sound",theme:"twotone"},w0=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:w6}))}),w5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M938.2 508.4L787.3 389c-3-2.4-7.3-.2-7.3 3.6V478H636V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H596c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H636V546h144v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4a4.5 4.5 0 000-7.2zM428 116H144c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H244v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4a4.52 4.52 0 000 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h144v294H184V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z"}}]},name:"split-cells",theme:"outlined"},w7=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:w5}))}),w9={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M721.42 695.17c0-12.45-5.84-22.36-17.5-29.75-75.06-44.73-161.98-67.09-260.75-67.09-51.73 0-107.53 6.61-167.42 19.84-16.33 3.5-24.5 13.6-24.5 30.33 0 7.78 2.63 14.49 7.88 20.13 5.25 5.63 12.15 8.45 20.7 8.45 1.95 0 9.14-1.55 21.59-4.66 51.33-10.5 98.58-15.75 141.75-15.75 87.89 0 165.08 20.02 231.58 60.08 7.39 4.28 13.8 6.42 19.25 6.42 7.39 0 13.8-2.63 19.25-7.88 5.44-5.25 8.17-11.96 8.17-20.12m56-125.42c0-15.56-6.8-27.42-20.42-35.58-92.17-54.84-198.72-82.25-319.67-82.25-59.5 0-118.41 8.16-176.75 24.5-18.66 5.05-28 17.5-28 37.33 0 9.72 3.4 17.99 10.21 24.8 6.8 6.8 15.07 10.2 24.8 10.2 2.72 0 9.91-1.56 21.58-4.67a558.27 558.27 0 01146.41-19.25c108.5 0 203.4 24.11 284.67 72.34 9.33 5.05 16.72 7.58 22.17 7.58 9.72 0 17.98-3.4 24.79-10.2 6.8-6.81 10.2-15.08 10.2-24.8m63-144.67c0-18.27-7.77-31.89-23.33-40.83-49-28.39-105.97-49.88-170.91-64.46-64.95-14.58-131.64-21.87-200.09-21.87-79.33 0-150.1 9.14-212.33 27.41a46.3 46.3 0 00-22.46 14.88c-6.03 7.2-9.04 16.62-9.04 28.29 0 12.06 3.99 22.17 11.96 30.33 7.97 8.17 17.98 12.25 30.04 12.25 4.28 0 12.06-1.55 23.33-4.66 51.73-14.4 111.42-21.59 179.09-21.59 61.83 0 122.01 6.61 180.54 19.84 58.53 13.22 107.82 31.7 147.87 55.41 8.17 4.67 15.95 7 23.34 7 11.27 0 21.1-3.98 29.46-11.96 8.36-7.97 12.54-17.98 12.54-30.04M960 512c0 81.28-20.03 156.24-60.08 224.88-40.06 68.63-94.4 122.98-163.04 163.04C668.24 939.97 593.27 960 512 960s-156.24-20.03-224.88-60.08c-68.63-40.06-122.98-94.4-163.04-163.04C84.03 668.24 64 593.27 64 512s20.03-156.24 60.08-224.88c40.06-68.63 94.4-122.98 163.05-163.04C355.75 84.03 430.73 64 512 64c81.28 0 156.24 20.03 224.88 60.08 68.63 40.06 122.98 94.4 163.04 163.05C939.97 355.75 960 430.73 960 512"}}]},name:"spotify",theme:"filled"},Me=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:w9}))}),Mt={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.52 64 64 264.52 64 512s200.52 448 448 448 448-200.52 448-448S759.48 64 512 64m0 74.66a371.86 371.86 0 01264.43 108.91A371.86 371.86 0 01885.33 512a371.86 371.86 0 01-108.9 264.43A371.86 371.86 0 01512 885.33a371.86 371.86 0 01-264.43-108.9A371.86 371.86 0 01138.67 512a371.86 371.86 0 01108.9-264.43A371.86 371.86 0 01512 138.67M452.49 316c-72.61 0-135.9 6.72-196 25.68-15.9 3.18-29.16 15.16-29.16 37.34 0 22.14 16.35 41.7 38.5 38.45 9.48 0 15.9-3.47 22.17-3.47 50.59-12.7 107.63-18.67 164.49-18.67 110.55 0 224 24.64 299.82 68.85 9.49 3.2 12.7 6.98 22.18 6.98 22.18 0 37.63-16.32 40.84-38.5 0-18.96-9.48-31.06-22.17-37.33C698.36 341.65 572.52 316 452.49 316M442 454.84c-66.34 0-113.6 9.49-161.02 22.18-15.72 6.23-24.49 16.05-24.49 34.98 0 15.76 12.54 31.51 31.51 31.51 6.42 0 9.18-.3 18.67-3.51 34.72-9.48 82.4-15.16 133.02-15.16 104.23 0 194.95 25.39 261.33 66.5 6.23 3.2 12.7 5.82 22.14 5.82 18.96 0 31.5-16.06 31.5-34.98 0-12.7-5.97-25.24-18.66-31.51-82.13-50.59-186.52-75.83-294-75.83m10.49 136.5c-53.65 0-104.53 5.97-155.16 18.66-12.69 3.21-22.17 12.24-22.17 28 0 12.7 9.93 25.68 25.68 25.68 3.21 0 12.4-3.5 18.67-3.5a581.73 581.73 0 01129.5-15.2c78.9 0 151.06 18.97 211.17 53.69 6.42 3.2 13.55 5.82 19.82 5.82 12.7 0 24.79-9.48 28-22.14 0-15.9-6.87-21.76-16.35-28-69.55-41.14-150.8-63.02-239.16-63.02"}}]},name:"spotify",theme:"outlined"},Mc=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Mt}))}),Mn=c(90598),Mr=c(75750),Ma={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512.5 190.4l-94.4 191.3-211.2 30.7 152.8 149-36.1 210.3 188.9-99.3 188.9 99.2-36.1-210.3 152.8-148.9-211.2-30.7z",fill:t}},{tag:"path",attrs:{d:"M908.6 352.8l-253.9-36.9L541.2 85.8c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L370.3 315.9l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1L239 839.4a31.95 31.95 0 0046.4 33.7l227.1-119.4 227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM665.3 561.3l36.1 210.3-188.9-99.2-188.9 99.3 36.1-210.3-152.8-149 211.2-30.7 94.4-191.3 94.4 191.3 211.2 30.7-152.8 148.9z",fill:e}}]}},name:"star",theme:"twotone"},Ml=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Ma}))}),Mo={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8"}}]},name:"step-backward",theme:"filled"},Mi=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Mo}))}),Mu={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8"}}]},name:"step-backward",theme:"outlined"},Ms=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Mu}))}),Mf={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8"}}]},name:"step-forward",theme:"filled"},Mh=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Mf}))}),Md={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8"}}]},name:"step-forward",theme:"outlined"},Mv=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Md}))}),Mm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 747H120c-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-8zM165.7 621.8l39.7 39.5c3.1 3.1 8.2 3.1 11.3 0l234.7-233.9 97.6 97.3a32.11 32.11 0 0045.2 0l264.2-263.2c3.1-3.1 3.1-8.2 0-11.3l-39.7-39.6a8.03 8.03 0 00-11.3 0l-235.7 235-97.7-97.3a32.11 32.11 0 00-45.2 0L165.7 610.5a7.94 7.94 0 000 11.3z"}}]},name:"stock",theme:"outlined"},Mg=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Mm}))}),Mp={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 64zm234.8 736.5L223.5 277.2c16-19.7 34-37.7 53.7-53.7l523.3 523.3c-16 19.6-34 37.7-53.7 53.7z"}}]},name:"stop",theme:"filled"},Mz=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Mp}))}),Mw={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-372 0-89 31.3-170.8 83.5-234.8l523.3 523.3C682.8 852.7 601 884 512 884zm288.5-137.2L277.2 223.5C341.2 171.3 423 140 512 140c205.4 0 372 166.6 372 372 0 89-31.3 170.8-83.5 234.8z"}}]},name:"stop",theme:"outlined"},MM=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Mw}))}),MZ={icon:function(e,t){return{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 64zm288.5 682.8L277.7 224C258 240 240 258 224 277.7l522.8 522.8C682.8 852.7 601 884 512 884c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372c0 89-31.3 170.8-83.5 234.8z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372c89 0 170.8-31.3 234.8-83.5L224 277.7c16-19.7 34-37.7 53.7-53.7l522.8 522.8C852.7 682.8 884 601 884 512c0-205.4-166.6-372-372-372z",fill:t}}]}},name:"stop",theme:"twotone"},MH=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:MZ}))}),Mb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 474H569.9c-10-2-20.5-4-31.6-6-15.9-2.9-22.2-4.1-30.8-5.8-51.3-10-82.2-20-106.8-34.2-35.1-20.5-52.2-48.3-52.2-85.1 0-37 15.2-67.7 44-89 28.4-21 68.8-32.1 116.8-32.1 54.8 0 97.1 14.4 125.8 42.8 14.6 14.4 25.3 32.1 31.8 52.6 1.3 4.1 2.8 10 4.3 17.8.9 4.8 5.2 8.2 9.9 8.2h72.8c5.6 0 10.1-4.6 10.1-10.1v-1c-.7-6.8-1.3-12.1-2-16-7.3-43.5-28-81.7-59.7-110.3-44.4-40.5-109.7-61.8-188.7-61.8-72.3 0-137.4 18.1-183.3 50.9-25.6 18.4-45.4 41.2-58.6 67.7-13.5 27.1-20.3 58.4-20.3 92.9 0 29.5 5.7 54.5 17.3 76.5 8.3 15.7 19.6 29.5 34.1 42H72c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h433.2c2.1.4 3.9.8 5.9 1.2 30.9 6.2 49.5 10.4 66.6 15.2 23 6.5 40.6 13.3 55.2 21.5 35.8 20.2 53.3 49.2 53.3 89 0 35.3-15.5 66.8-43.6 88.8-30.5 23.9-75.6 36.4-130.5 36.4-43.7 0-80.7-8.5-110.2-25-29.1-16.3-49.1-39.8-59.7-69.5-.8-2.2-1.7-5.2-2.7-9-1.2-4.4-5.3-7.5-9.7-7.5h-79.7c-5.6 0-10.1 4.6-10.1 10.1v1c.2 2.3.4 4.2.6 5.7 6.5 48.8 30.3 88.8 70.7 118.8 47.1 34.8 113.4 53.2 191.8 53.2 84.2 0 154.8-19.8 204.2-57.3 25-18.9 44.2-42.2 57.1-69 13-27.1 19.7-57.9 19.7-91.5 0-31.8-5.8-58.4-17.8-81.4-5.8-11.2-13.1-21.5-21.8-30.8H952c4.4 0 8-3.6 8-8v-60a8 8 0 00-8-7.9z"}}]},name:"strikethrough",theme:"outlined"},MV=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Mb}))}),MC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M688 240c-138 0-252 102.8-269.6 236H249a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h169.3C436 681.2 550 784 688 784c150.2 0 272-121.8 272-272S838.2 240 688 240zm128 298c0 4.4-3.6 8-8 8h-86v86c0 4.4-3.6 8-8 8h-52c-4.4 0-8-3.6-8-8v-86h-86c-4.4 0-8-3.6-8-8v-52c0-4.4 3.6-8 8-8h86v-86c0-4.4 3.6-8 8-8h52c4.4 0 8 3.6 8 8v86h86c4.4 0 8 3.6 8 8v52z"}}]},name:"subnode",theme:"outlined"},Mx=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:MC}))}),ME={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M548 818v126a16 16 0 01-16 16h-40a16 16 0 01-16-16V818c15.85 1.64 27.84 2.46 36 2.46 8.15 0 20.16-.82 36-2.46m205.25-115.66l89.1 89.1a16 16 0 010 22.62l-28.29 28.29a16 16 0 01-22.62 0l-89.1-89.1c12.37-10.04 21.43-17.95 27.2-23.71 5.76-5.77 13.67-14.84 23.71-27.2m-482.5 0c10.04 12.36 17.95 21.43 23.71 27.2 5.77 5.76 14.84 13.67 27.2 23.71l-89.1 89.1a16 16 0 01-22.62 0l-28.29-28.29a16 16 0 010-22.63zM512 278c129.24 0 234 104.77 234 234S641.24 746 512 746 278 641.24 278 512s104.77-234 234-234M206 476c-1.64 15.85-2.46 27.84-2.46 36 0 8.15.82 20.16 2.46 36H80a16 16 0 01-16-16v-40a16 16 0 0116-16zm738 0a16 16 0 0116 16v40a16 16 0 01-16 16H818c1.64-15.85 2.46-27.84 2.46-36 0-8.15-.82-20.16-2.46-36zM814.06 180.65l28.29 28.29a16 16 0 010 22.63l-89.1 89.09c-10.04-12.37-17.95-21.43-23.71-27.2-5.77-5.76-14.84-13.67-27.2-23.71l89.1-89.1a16 16 0 0122.62 0m-581.5 0l89.1 89.1c-12.37 10.04-21.43 17.95-27.2 23.71-5.76 5.77-13.67 14.84-23.71 27.2l-89.1-89.1a16 16 0 010-22.62l28.29-28.29a16 16 0 0122.62 0M532 64a16 16 0 0116 16v126c-15.85-1.64-27.84-2.46-36-2.46-8.15 0-20.16.82-36 2.46V80a16 16 0 0116-16z"}}]},name:"sun",theme:"filled"},ML=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ME}))}),My={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M548 818v126a16 16 0 01-16 16h-40a16 16 0 01-16-16V818c15.85 1.64 27.84 2.46 36 2.46 8.15 0 20.16-.82 36-2.46m205.25-115.66l89.1 89.1a16 16 0 010 22.62l-28.29 28.29a16 16 0 01-22.62 0l-89.1-89.1c12.37-10.04 21.43-17.95 27.2-23.71 5.76-5.77 13.67-14.84 23.71-27.2m-482.5 0c10.04 12.36 17.95 21.43 23.71 27.2 5.77 5.76 14.84 13.67 27.2 23.71l-89.1 89.1a16 16 0 01-22.62 0l-28.29-28.29a16 16 0 010-22.63zM512 278c129.24 0 234 104.77 234 234S641.24 746 512 746 278 641.24 278 512s104.77-234 234-234m0 72c-89.47 0-162 72.53-162 162s72.53 162 162 162 162-72.53 162-162-72.53-162-162-162M206 476c-1.64 15.85-2.46 27.84-2.46 36 0 8.15.82 20.16 2.46 36H80a16 16 0 01-16-16v-40a16 16 0 0116-16zm738 0a16 16 0 0116 16v40a16 16 0 01-16 16H818c1.64-15.85 2.46-27.84 2.46-36 0-8.15-.82-20.16-2.46-36zM814.06 180.65l28.29 28.29a16 16 0 010 22.63l-89.1 89.09c-10.04-12.37-17.95-21.43-23.71-27.2-5.77-5.76-14.84-13.67-27.2-23.71l89.1-89.1a16 16 0 0122.62 0m-581.5 0l89.1 89.1c-12.37 10.04-21.43 17.95-27.2 23.71-5.76 5.77-13.67 14.84-23.71 27.2l-89.1-89.1a16 16 0 010-22.62l28.29-28.29a16 16 0 0122.62 0M532 64a16 16 0 0116 16v126c-15.85-1.64-27.84-2.46-36-2.46-8.15 0-20.16.82-36 2.46V80a16 16 0 0116-16z"}}]},name:"sun",theme:"outlined"},MR=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:My}))}),MB={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 572H266.8l144.3-183c4.1-5.2.4-13-6.3-13H340c-9.8 0-19.1 4.5-25.1 12.2l-164 208c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap-left",theme:"outlined"},MS=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:MB}))}),MO=c(41441),Mk=c(35790),MT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zM596 606c0 4.4-3.6 8-8 8H308c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h280c4.4 0 8 3.6 8 8v48zm284-494H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32z"}}]},name:"switcher",theme:"filled"},M$=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:MT}))}),MF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zm-40 600H184V312h528v528zm168-728H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM300 550h296v64H300z"}}]},name:"switcher",theme:"outlined"},MA=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:MF}))}),MI={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M184 840h528V312H184v528zm116-290h296v64H300v-64z",fill:t}},{tag:"path",attrs:{d:"M880 112H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32z",fill:e}},{tag:"path",attrs:{d:"M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zm-40 600H184V312h528v528z",fill:e}},{tag:"path",attrs:{d:"M300 550h296v64H300z",fill:e}}]}},name:"switcher",theme:"twotone"},MP=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:MI}))}),MD=c(98165),MN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 208H676V232h212v136zm0 224H676V432h212v160zM412 432h200v160H412V432zm200-64H412V232h200v136zm-476 64h212v160H136V432zm0-200h212v136H136V232zm0 424h212v136H136V656zm276 0h200v136H412V656zm476 136H676V656h212v136z"}}]},name:"table",theme:"outlined"},Mq=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:MN}))}),Mj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zM512 824c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z"}}]},name:"tablet",theme:"filled"},MW=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Mj}))}),MY={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H232V136h560v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"tablet",theme:"outlined"},M_=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:MY}))}),MK={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H232V136h560v752z",fill:e}},{tag:"path",attrs:{d:"M232 888h560V136H232v752zm280-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M472 784a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}}]}},name:"tablet",theme:"twotone"},MX=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:MK}))}),MU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM699 387c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64z"}}]},name:"tag",theme:"filled"},MG=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:MU}))}),MQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7zM680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"}}]},name:"tag",theme:"outlined"},MJ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:MQ}))}),M1={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M589 164.6L189.3 564.3l270.4 270.4L859.4 435 836 188l-247-23.4zM680 432c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88z",fill:t}},{tag:"path",attrs:{d:"M680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z",fill:e}},{tag:"path",attrs:{d:"M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8a9.9 9.9 0 007.1 2.9c2.7 0 5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7z",fill:e}}]}},name:"tag",theme:"twotone"},M4=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:M1}))}),M2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M483.2 790.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3c-2.3-.2-4.7.6-6.3 2.3L137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c3.1 3.2 8.2 3.2 11.3 0zm122.7-533.4c18.7-18.7 49.1-18.7 67.9 0 18.7 18.7 18.7 49.1 0 67.9-18.7 18.7-49.1 18.7-67.9 0-18.7-18.7-18.7-49.1 0-67.9zm283.8 282.9l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3z"}}]},name:"tags",theme:"filled"},M3=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:M2}))}),M8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M483.2 790.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3c-2.3-.2-4.7.6-6.3 2.3L137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c3.1 3.2 8.2 3.2 11.3 0zm62.6-651.7l224.6 19 19 224.6L477.5 694 233.9 450.5l311.9-311.9zm60.16 186.23a48 48 0 1067.88-67.89 48 48 0 10-67.88 67.89zM889.7 539.8l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3z"}}]},name:"tags",theme:"outlined"},M6=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:M8}))}),M0={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M477.5 694l311.9-311.8-19-224.6-224.6-19-311.9 311.9L477.5 694zm116-415.5a47.81 47.81 0 0133.9-33.9c16.6-4.4 34.2.3 46.4 12.4a47.93 47.93 0 0112.4 46.4 47.81 47.81 0 01-33.9 33.9c-16.6 4.4-34.2-.3-46.4-12.4a48.3 48.3 0 01-12.4-46.4z",fill:t}},{tag:"path",attrs:{d:"M476.6 792.6c-1.7-.2-3.4-1-4.7-2.3L137.7 456.1a8.03 8.03 0 010-11.3L515.9 66.6c1.2-1.3 2.9-2.1 4.7-2.3h-.4c-2.3-.2-4.7.6-6.3 2.3L135.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c1.8 1.9 4.3 2.6 6.7 2.3z",fill:t}},{tag:"path",attrs:{d:"M889.7 539.8l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3zM652.3 337.3a47.81 47.81 0 0033.9-33.9c4.4-16.6-.3-34.2-12.4-46.4a47.93 47.93 0 00-46.4-12.4 47.81 47.81 0 00-33.9 33.9c-4.4 16.6.3 34.2 12.4 46.4a48.3 48.3 0 0046.4 12.4z",fill:e}},{tag:"path",attrs:{d:"M137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c1.3 1.3 2.9 2.1 4.7 2.3 2.4.3 4.8-.5 6.6-2.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3h-1.6c-1.8.2-3.4 1-4.7 2.3L137.7 444.8zm408.1-306.2l224.6 19 19 224.6L477.5 694 233.9 450.5l311.9-311.9z",fill:e}}]}},name:"tags",theme:"twotone"},M5=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:M0}))}),M7={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 64zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z"}}]},name:"taobao-circle",theme:"filled"},M9=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:M7}))}),Ze={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 64zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z"}}]},name:"taobao-circle",theme:"outlined"},Zt=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Ze}))}),Zc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168.5 273.7a68.7 68.7 0 10137.4 0 68.7 68.7 0 10-137.4 0zm730 79.2s-23.7-184.4-426.9-70.1c17.3-30 25.6-49.5 25.6-49.5L396.4 205s-40.6 132.6-113 194.4c0 0 70.1 40.6 69.4 39.4 20.1-20.1 38.2-40.6 53.7-60.4 16.1-7 31.5-13.6 46.7-19.8-18.6 33.5-48.7 83.8-78.8 115.6l42.4 37s28.8-27.7 60.4-61.2h36v61.8H372.9v49.5h140.3v118.5c-1.7 0-3.6 0-5.4-.2-15.4-.7-39.5-3.3-49-18.2-11.5-18.1-3-51.5-2.4-71.9h-97l-3.4 1.8s-35.5 159.1 102.3 155.5c129.1 3.6 203-36 238.6-63.1l14.2 52.6 79.6-33.2-53.9-131.9-64.6 20.1 12.1 45.2c-16.6 12.4-35.6 21.7-56.2 28.4V561.3h137.1v-49.5H628.1V450h137.6v-49.5H521.3c17.6-21.4 31.5-41.1 35-53.6l-42.5-11.6c182.8-65.5 284.5-54.2 283.6 53.2v282.8s10.8 97.1-100.4 90.1l-60.2-12.9-14.2 57.1S882.5 880 903.7 680.2c21.3-200-5.2-327.3-5.2-327.3zm-707.4 18.3l-45.4 69.7 83.6 52.1s56 28.5 29.4 81.9C233.8 625.5 112 736.3 112 736.3l109 68.1c75.4-163.7 70.5-142 89.5-200.7 19.5-60.1 23.7-105.9-9.4-139.1-42.4-42.6-47-46.6-110-93.4z"}}]},name:"taobao",theme:"outlined"},Zn=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Zc}))}),Zr={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-32zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z"}}]},name:"taobao-square",theme:"filled"},Za=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Zr}))}),Zl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z"}}]},name:"team",theme:"outlined"},Zo=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Zl}))}),Zi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7z"}}]},name:"thunderbolt",theme:"filled"},Zu=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Zi}))}),Zs={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}}]},name:"thunderbolt",theme:"outlined"},Zf=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Zs}))}),Zh={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M695.4 164.1H470.8L281.2 491.5h157.4l-60.3 241 319.8-305.1h-211z",fill:t}},{tag:"path",attrs:{d:"M848.1 359.3H627.8L825.9 109c4.1-5.3.4-13-6.3-13H436.1c-2.8 0-5.5 1.5-6.9 4L170.1 547.5c-3.1 5.3.7 12 6.9 12h174.4L262 917.1c-1.9 7.8 7.5 13.3 13.3 7.7L853.6 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.3 732.5l60.3-241H281.2l189.6-327.4h224.6L487.1 427.4h211L378.3 732.5z",fill:e}}]}},name:"thunderbolt",theme:"twotone"},Zd=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Zh}))}),Zv={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 224.96C912 162.57 861.42 112 799.04 112H224.96C162.57 112 112 162.57 112 224.96v574.08C112 861.43 162.58 912 224.96 912h574.08C861.42 912 912 861.43 912 799.04zM774.76 460.92c-51.62.57-99.71-15.03-141.94-43.93v202.87a192.3 192.3 0 01-149 187.85c-119.06 27.17-219.86-58.95-232.57-161.83-13.3-102.89 52.32-193.06 152.89-213.29 19.65-4.04 49.2-4.04 64.46-.57v108.66c-4.7-1.15-9.09-2.31-13.71-2.89-39.3-6.94-77.37 12.72-92.98 48.55-15.6 35.84-5.16 77.45 26.63 101.73 26.59 20.8 56.09 23.7 86.14 9.82 30.06-13.29 46.21-37.56 49.68-70.5.58-4.63.54-9.84.54-15.04V222.21c0-10.99.09-10.5 11.07-10.5h86.12c6.36 0 8.67.9 9.25 8.43 4.62 67.04 55.53 124.14 120.84 132.81 6.94 1.16 14.37 1.62 22.58 2.2z"}}]},name:"tik-tok",theme:"filled"},Zm=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Zv}))}),Zg={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M530.01 112.67c43.67-.67 87-.34 130.33-.67 2.67 51 21 103 58.33 139 37.33 37 90 54 141.33 59.66V445c-48-1.67-96.33-11.67-140-32.34-19-8.66-36.66-19.66-54-31-.33 97.33.34 194.67-.66 291.67-2.67 46.66-18 93-45 131.33-43.66 64-119.32 105.66-196.99 107-47.66 2.66-95.33-10.34-136-34.34C220.04 837.66 172.7 765 165.7 687c-.67-16.66-1-33.33-.34-49.66 6-63.34 37.33-124 86-165.34 55.33-48 132.66-71 204.99-57.33.67 49.34-1.33 98.67-1.33 148-33-10.67-71.67-7.67-100.67 12.33-21 13.67-37 34.67-45.33 58.34-7 17-5 35.66-4.66 53.66 8 54.67 60.66 100.67 116.66 95.67 37.33-.34 73-22 92.33-53.67 6.33-11 13.33-22.33 13.66-35.33 3.34-59.67 2-119 2.34-178.66.33-134.34-.34-268.33.66-402.33"}}]},name:"tik-tok",theme:"outlined"},Zp=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Zg}))}),Zz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885 780H165c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM400 325.7h73.9V664c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V325.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 171a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13z"}}]},name:"to-top",theme:"outlined"},Zw=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Zz}))}),ZM=c(18754),ZZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z"}}]},name:"tool",theme:"outlined"},ZH=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ZZ}))}),Zb={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M706.8 488.7a32.05 32.05 0 01-45.3 0L537 364.2a32.05 32.05 0 010-45.3l132.9-132.8a184.2 184.2 0 00-144 53.5c-58.1 58.1-69.3 145.3-33.6 214.6L439.5 507c-.1 0-.1-.1-.1-.1L209.3 737l79.2 79.2 274-274.1.1.1 8.8-8.8c69.3 35.7 156.5 24.5 214.6-33.6 39.2-39.1 57.3-92.1 53.6-143.9L706.8 488.7z",fill:t}},{tag:"path",attrs:{d:"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z",fill:e}}]}},name:"tool",theme:"twotone"},ZV=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Zb}))}),ZC={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 64zm164.7 660.2c-1.1.5-2.3.8-3.5.8h-62c-3.1 0-5.9-1.8-7.2-4.6l-74.6-159.2h-88.7V717c0 4.4-3.6 8-8 8H378c-4.4 0-8-3.6-8-8V307c0-4.4 3.6-8 8-8h155.6c98.8 0 144.2 59.9 144.2 131.1 0 70.2-43.6 106.4-78.4 119.2l80.8 164.2c2.1 3.9.4 8.7-3.5 10.7zM523.9 357h-83.4v148H522c53 0 82.8-25.6 82.8-72.4 0-50.3-32.9-75.6-80.9-75.6z"}}]},name:"trademark-circle",theme:"filled"},Zx=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ZC}))}),ZE={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 372zm87.5-334.7c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.5-131.1-144.2-131.1H378c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.5c4.4 0 8-3.6 8-8V561.2h88.7l74.6 159.2c1.3 2.8 4.1 4.6 7.2 4.6h62a7.9 7.9 0 007.1-11.5l-80.6-164.2zM522 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.5 0 46.9-29.8 72.5-82.8 72.5z"}}]},name:"trademark-circle",theme:"outlined"},ZL=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ZE}))}),Zy={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm170.7 584.2c-1.1.5-2.3.8-3.5.8h-62c-3.1 0-5.9-1.8-7.2-4.6l-74.6-159.2h-88.7V717c0 4.4-3.6 8-8 8H384c-4.4 0-8-3.6-8-8V307c0-4.4 3.6-8 8-8h155.6c98.8 0 144.2 59.9 144.2 131.1 0 70.2-43.6 106.4-78.4 119.2l80.8 164.2c2.1 3.9.4 8.7-3.5 10.7z",fill:t}},{tag:"path",attrs:{d:"M529.9 357h-83.4v148H528c53 0 82.8-25.6 82.8-72.4 0-50.3-32.9-75.6-80.9-75.6z",fill:t}},{tag:"path",attrs:{d:"M605.4 549.3c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.4-131.1-144.2-131.1H384c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.7c4.4 0 8-3.6 8-8V561.2h88.7L610 720.4c1.3 2.8 4.1 4.6 7.2 4.6h62c1.2 0 2.4-.3 3.5-.8 3.9-2 5.6-6.8 3.5-10.7l-80.8-164.2zM528 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.6 0 46.8-29.8 72.4-82.8 72.4z",fill:e}}]}},name:"trademark-circle",theme:"twotone"},ZR=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Zy}))}),ZB={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 372zm87.5-334.7c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.5-131.1-144.2-131.1H378c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.5c4.4 0 8-3.6 8-8V561.2h88.7l74.6 159.2c1.3 2.8 4.1 4.6 7.2 4.6h62a7.9 7.9 0 007.1-11.5l-80.6-164.2zM522 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.5 0 46.9-29.8 72.5-82.8 72.5z"}}]},name:"trademark",theme:"outlined"},ZS=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ZB}))}),ZO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M668.6 320c0-4.4-3.6-8-8-8h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 00-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.5-1.1.9-2.4.9-3.7zM157.9 504.2a352.7 352.7 0 01103.5-242.4c32.5-32.5 70.3-58.1 112.4-75.9 43.6-18.4 89.9-27.8 137.6-27.8 47.8 0 94.1 9.3 137.6 27.8 42.1 17.8 79.9 43.4 112.4 75.9 10 10 19.3 20.5 27.9 31.4l-50 39.1a8 8 0 003 14.1l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3l-47.8 37.4C770.7 146.3 648.6 82 511.5 82 277 82 86.3 270.1 82 503.8a8 8 0 008 8.2h60c4.3 0 7.8-3.5 7.9-7.8zM934 512h-60c-4.3 0-7.9 3.5-8 7.8a352.7 352.7 0 01-103.5 242.4 352.57 352.57 0 01-112.4 75.9c-43.6 18.4-89.9 27.8-137.6 27.8s-94.1-9.3-137.6-27.8a352.57 352.57 0 01-112.4-75.9c-10-10-19.3-20.5-27.9-31.4l49.9-39.1a8 8 0 00-3-14.1l-156.8-38.3c-5-1.2-9.9 2.6-9.9 7.7l-.8 161.7c0 6.7 7.7 10.5 12.9 6.3l47.8-37.4C253.3 877.7 375.4 942 512.5 942 747 942 937.7 753.9 942 520.2a8 8 0 00-8-8.2z"}}]},name:"transaction",theme:"outlined"},Zk=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ZO}))}),ZT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M140 188h584v164h76V144c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h544v-76H140V188z"}},{tag:"path",attrs:{d:"M414.3 256h-60.6c-3.4 0-6.4 2.2-7.6 5.4L219 629.4c-.3.8-.4 1.7-.4 2.6 0 4.4 3.6 8 8 8h55.1c3.4 0 6.4-2.2 7.6-5.4L322 540h196.2L422 261.4a8.42 8.42 0 00-7.7-5.4zm12.4 228h-85.5L384 360.2 426.7 484zM936 528H800v-93c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v93H592c-13.3 0-24 10.7-24 24v176c0 13.3 10.7 24 24 24h136v152c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V752h136c13.3 0 24-10.7 24-24V552c0-13.3-10.7-24-24-24zM728 680h-88v-80h88v80zm160 0h-88v-80h88v80z"}}]},name:"translation",theme:"outlined"},Z$=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ZT}))}),ZF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.6 630.2 359 721.8 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.8 758.4 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM248 439.6c-37.1-11.9-64-46.7-64-87.6V232h64v207.6zM840 352c0 41-26.9 75.8-64 87.6V232h64v120z"}}]},name:"trophy",theme:"filled"},ZA=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ZF}))}),ZI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.7 630.2 359 721.7 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.7 758.3 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM184 352V232h64v207.6a91.99 91.99 0 01-64-87.6zm520 128c0 49.1-19.1 95.4-53.9 130.1-34.8 34.8-81 53.9-130.1 53.9h-16c-49.1 0-95.4-19.1-130.1-53.9-34.8-34.8-53.9-81-53.9-130.1V184h384v296zm136-128c0 41-26.9 75.8-64 87.6V232h64v120z"}}]},name:"trophy",theme:"outlined"},ZP=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ZI}))}),ZD={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M320 480c0 49.1 19.1 95.3 53.9 130.1 34.7 34.8 81 53.9 130.1 53.9h16c49.1 0 95.3-19.1 130.1-53.9 34.8-34.7 53.9-81 53.9-130.1V184H320v296zM184 352c0 41 26.9 75.8 64 87.6-37.1-11.9-64-46.7-64-87.6zm364 382.5C665 721.8 758.4 630.2 773.8 514 758.3 630.2 665 721.7 548 734.5zM250.2 514C265.6 630.2 359 721.8 476 734.5 359 721.7 265.7 630.2 250.2 514z",fill:t}},{tag:"path",attrs:{d:"M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.7 630.2 359 721.7 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.7 758.3 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM248 439.6a91.99 91.99 0 01-64-87.6V232h64v207.6zM704 480c0 49.1-19.1 95.4-53.9 130.1-34.8 34.8-81 53.9-130.1 53.9h-16c-49.1 0-95.4-19.1-130.1-53.9-34.8-34.8-53.9-81-53.9-130.1V184h384v296zm136-128c0 41-26.9 75.8-64 87.6V232h64v120z",fill:e}}]}},name:"trophy",theme:"twotone"},ZN=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ZD}))}),Zq={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608 192a32 32 0 0132 32v160h174.81a32 32 0 0126.68 14.33l113.19 170.84a32 32 0 015.32 17.68V672a32 32 0 01-32 32h-96c0 70.7-57.3 128-128 128s-128-57.3-128-128H384c0 70.7-57.3 128-128 128s-128-57.3-128-128H96a32 32 0 01-32-32V224a32 32 0 0132-32zM256 640a64 64 0 000 128h1.06A64 64 0 00256 640m448 0a64 64 0 000 128h1.06A64 64 0 00704 640m93.63-192H640v145.12A127.43 127.43 0 01704 576c47.38 0 88.75 25.74 110.88 64H896v-43.52zM500 448H332a12 12 0 00-12 12v40a12 12 0 0012 12h168a12 12 0 0012-12v-40a12 12 0 00-12-12M308 320H204a12 12 0 00-12 12v40a12 12 0 0012 12h104a12 12 0 0012-12v-40a12 12 0 00-12-12"}}]},name:"truck",theme:"filled"},Zj=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Zq}))}),ZW={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608 192a32 32 0 0132 32v160h174.81a32 32 0 0126.68 14.33l113.19 170.84a32 32 0 015.32 17.68V672a32 32 0 01-32 32h-96c0 70.7-57.3 128-128 128s-128-57.3-128-128H384c0 70.7-57.3 128-128 128s-128-57.3-128-128H96a32 32 0 01-32-32V224a32 32 0 0132-32zM256 640a64 64 0 000 128h1.06A64 64 0 00256 640m448 0a64 64 0 000 128h1.06A64 64 0 00704 640M576 256H128v384h17.12c22.13-38.26 63.5-64 110.88-64 47.38 0 88.75 25.74 110.88 64H576zm221.63 192H640v145.12A127.43 127.43 0 01704 576c47.38 0 88.75 25.74 110.88 64H896v-43.52zM500 448a12 12 0 0112 12v40a12 12 0 01-12 12H332a12 12 0 01-12-12v-40a12 12 0 0112-12zM308 320a12 12 0 0112 12v40a12 12 0 01-12 12H204a12 12 0 01-12-12v-40a12 12 0 0112-12z"}}]},name:"truck",theme:"outlined"},ZY=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ZW}))}),Z_={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"filter",attrs:{filterUnits:"objectBoundingBox",height:"102.3%",id:"a",width:"102.3%",x:"-1.2%",y:"-1.2%"},children:[{tag:"feOffset",attrs:{dy:"2",in:"SourceAlpha",result:"shadowOffsetOuter1"}},{tag:"feGaussianBlur",attrs:{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"2"}},{tag:"feColorMatrix",attrs:{in:"shadowBlurOuter1",result:"shadowMatrixOuter1",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"}},{tag:"feMerge",attrs:{},children:[{tag:"feMergeNode",attrs:{in:"shadowMatrixOuter1"}},{tag:"feMergeNode",attrs:{in:"SourceGraphic"}}]}]}]},{tag:"g",attrs:{filter:"url(#a)",transform:"translate(9 9)"},children:[{tag:"path",attrs:{d:"M185.14 112L128 254.86V797.7h171.43V912H413.7L528 797.71h142.86l200-200V112zm314.29 428.57H413.7V310.21h85.72zm200 0H613.7V310.21h85.72z"}}]}]},name:"twitch",theme:"filled"},ZK=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Z_}))}),ZX={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M166.13 112L114 251.17v556.46h191.2V912h104.4l104.23-104.4h156.5L879 599V112zm69.54 69.5H809.5v382.63L687.77 685.87H496.5L392.27 790.1V685.87h-156.6zM427 529.4h69.5V320.73H427zm191.17 0h69.53V320.73h-69.53z"}}]},name:"twitch",theme:"outlined"},ZU=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ZX}))}),ZG={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 64zm215.3 337.7c.3 4.7.3 9.6.3 14.4 0 146.8-111.8 315.9-316.1 315.9-63 0-121.4-18.3-170.6-49.8 9 1 17.6 1.4 26.8 1.4 52 0 99.8-17.6 137.9-47.4-48.8-1-89.8-33-103.8-77 17.1 2.5 32.5 2.5 50.1-2a111 111 0 01-88.9-109v-1.4c14.7 8.3 32 13.4 50.1 14.1a111.13 111.13 0 01-49.5-92.4c0-20.7 5.4-39.6 15.1-56a315.28 315.28 0 00229 116.1C492 353.1 548.4 292 616.2 292c32 0 60.8 13.4 81.1 35 25.1-4.7 49.1-14.1 70.5-26.7-8.3 25.7-25.7 47.4-48.8 61.1 22.4-2.4 44-8.6 64-17.3-15.1 22.2-34 41.9-55.7 57.6z"}}]},name:"twitter-circle",theme:"filled"},ZQ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ZG}))}),ZJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 254.3c-30.6 13.2-63.9 22.7-98.2 26.4a170.1 170.1 0 0075-94 336.64 336.64 0 01-108.2 41.2A170.1 170.1 0 00672 174c-94.5 0-170.5 76.6-170.5 170.6 0 13.2 1.6 26.4 4.2 39.1-141.5-7.4-267.7-75-351.6-178.5a169.32 169.32 0 00-23.2 86.1c0 59.2 30.1 111.4 76 142.1a172 172 0 01-77.1-21.7v2.1c0 82.9 58.6 151.6 136.7 167.4a180.6 180.6 0 01-44.9 5.8c-11.1 0-21.6-1.1-32.2-2.6C211 652 273.9 701.1 348.8 702.7c-58.6 45.9-132 72.9-211.7 72.9-14.3 0-27.5-.5-41.2-2.1C171.5 822 261.2 850 357.8 850 671.4 850 843 590.2 843 364.7c0-7.4 0-14.8-.5-22.2 33.2-24.3 62.3-54.4 85.5-88.2z"}}]},name:"twitter",theme:"outlined"},Z1=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:ZJ}))}),Z4={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-32zM727.3 401.7c.3 4.7.3 9.6.3 14.4 0 146.8-111.8 315.9-316.1 315.9-63 0-121.4-18.3-170.6-49.8 9 1 17.6 1.4 26.8 1.4 52 0 99.8-17.6 137.9-47.4-48.8-1-89.8-33-103.8-77 17.1 2.5 32.5 2.5 50.1-2a111 111 0 01-88.9-109v-1.4c14.7 8.3 32 13.4 50.1 14.1a111.13 111.13 0 01-49.5-92.4c0-20.7 5.4-39.6 15.1-56a315.28 315.28 0 00229 116.1C492 353.1 548.4 292 616.2 292c32 0 60.8 13.4 81.1 35 25.1-4.7 49.1-14.1 70.5-26.7-8.3 25.7-25.7 47.4-48.8 61.1 22.4-2.4 44-8.6 64-17.3-15.1 22.2-34 41.9-55.7 57.6z"}}]},name:"twitter-square",theme:"filled"},Z2=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Z4}))}),Z3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824 804H200c-4.4 0-8 3.4-8 7.6v60.8c0 4.2 3.6 7.6 8 7.6h624c4.4 0 8-3.4 8-7.6v-60.8c0-4.2-3.6-7.6-8-7.6zm-312-76c69.4 0 134.6-27.1 183.8-76.2C745 602.7 772 537.4 772 468V156c0-6.6-5.4-12-12-12h-60c-6.6 0-12 5.4-12 12v312c0 97-79 176-176 176s-176-79-176-176V156c0-6.6-5.4-12-12-12h-60c-6.6 0-12 5.4-12 12v312c0 69.4 27.1 134.6 76.2 183.8C377.3 701 442.6 728 512 728z"}}]},name:"underline",theme:"outlined"},Z8=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Z3}))}),Z6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.4 124C290.5 124.3 112 303 112 523.9c0 128 60.2 242 153.8 315.2l-37.5 48c-4.1 5.3-.3 13 6.3 12.9l167-.8c5.2 0 9-4.9 7.7-9.9L369.8 727a8 8 0 00-14.1-3L315 776.1c-10.2-8-20-16.7-29.3-26a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-7.5 7.5-15.3 14.5-23.4 21.2a7.93 7.93 0 00-1.2 11.1l39.4 50.5c2.8 3.5 7.9 4.1 11.4 1.3C854.5 760.8 912 649.1 912 523.9c0-221.1-179.4-400.2-400.6-399.9z"}}]},name:"undo",theme:"outlined"},Z0=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Z6}))}),Z5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M736 550H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16h448c8.8 0 16-7.2 16-16V566c0-8.8-7.2-16-16-16zm-56 136H344v-64h336v64zm208 130c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zM736 266H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16h448c8.8 0 16-7.2 16-16V282c0-8.8-7.2-16-16-16zm-56 136H344v-64h336v64zm208-194c39.8 0 72-32.2 72-72s-32.2-72-72-72-72 32.2-72 72 32.2 72 72 72zm0-96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM136 64c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0 656c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24z"}}]},name:"ungroup",theme:"outlined"},Z7=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Z5}))}),Z9={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM540 701v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 1156 0z"}}]},name:"unlock",theme:"filled"},He=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Z9}))}),Ht={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zm-40 376H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"unlock",theme:"outlined"},Hc=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Ht}))}),Hn={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 840h560V536H232v304zm280-226a48.01 48.01 0 0128 87v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 0128-87z",fill:t}},{tag:"path",attrs:{d:"M484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z",fill:e}},{tag:"path",attrs:{d:"M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zm-40 376H232V536h560v304z",fill:e}}]}},name:"unlock",theme:"twotone"},Hr=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Hn}))}),Ha={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"unordered-list",theme:"outlined"},Hl=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Ha}))}),Ho={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 64zm178 555h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 460.4 406.8 605.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z"}}]},name:"up-circle",theme:"filled"},Hi=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Ho}))}),Hu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.5 360.3a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7H381c10.2 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246z"}},{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"}}]},name:"up-circle",theme:"outlined"},Hs=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Hu}))}),Hf={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm178 479h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 460.4 406.8 605.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z",fill:t}},{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",fill:e}},{tag:"path",attrs:{d:"M518.4 360.3a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7h46.9c10.3 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.7 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.4-12.7l-178-246z",fill:e}}]}},name:"up-circle",theme:"twotone"},Hh=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Hf}))}),Hd=c(92287),Hv=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Hd.Z}))}),Hm={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-32zM690 624h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 465.4 406.8 610.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z"}}]},name:"up-square",theme:"filled"},Hg=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Hm}))}),Hp={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M334 624h46.9c10.2 0 19.9-4.9 25.9-13.2L512 465.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246a7.95 7.95 0 00-12.9 0l-178 246A7.96 7.96 0 00334 624z"}},{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:"up-square",theme:"outlined"},Hz=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Hp}))}),Hw={icon:function(e,t){return{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-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm143.5-228.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 465.4 406.8 610.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7z",fill:t}},{tag:"path",attrs:{d:"M334 624h46.9c10.3 0 19.9-4.9 25.9-13.2L512 465.4l105.2 145.4c6 8.3 15.7 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.4-12.7l-178-246a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7z",fill:e}}]}},name:"up-square",theme:"twotone"},HM=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Hw}))}),HZ=c(88484),HH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M408 312h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm352 120V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zm-72 0H336V184h352v248zM568 312h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}]},name:"usb",theme:"filled"},Hb=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:HH}))}),HV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M760 432V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V548c0-24.3 21.6-44 48.1-44h495.8c26.5 0 48.1 19.7 48.1 44v356c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zm-424 0V184h352v248H336zm120-184h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm160 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"usb",theme:"outlined"},HC=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:HV}))}),Hx={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M759.9 504H264.1c-26.5 0-48.1 19.7-48.1 44v292h592V548c0-24.3-21.6-44-48.1-44z",fill:t}},{tag:"path",attrs:{d:"M456 248h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm160 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z",fill:e}},{tag:"path",attrs:{d:"M760 432V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zM336 184h352v248H336V184zm472 656H216V548c0-24.3 21.6-44 48.1-44h495.8c26.5 0 48.1 19.7 48.1 44v292z",fill:e}}]}},name:"usb",theme:"twotone"},HE=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Hx}))}),HL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 888.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"user-add",theme:"outlined"},Hy=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:HL}))}),HR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M678.3 655.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 518 759.6 444.7 759.6 362c0-137-110.8-248-247.5-248S264.7 225 264.7 362c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 901.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 641.2 432.2 610 512.2 610c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 534c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 362c0-45.9 17.9-89.1 50.3-121.6S466.3 190 512.2 190s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 362c0 45.9-17.9 89.1-50.3 121.6C601.1 516.1 558 534 512.2 534zM880 772H640c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h240c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"user-delete",theme:"outlined"},HB=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:HR}))}),HS=c(87547),HO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M759 335c0-137-111-248-248-248S263 198 263 335c0 82.8 40.6 156.2 103 201.2-.4.2-.7.3-.9.4-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00136 874.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C356 614.2 431 583 511 583c137 0 248-111 248-248zM511 507c-95 0-172-77-172-172s77-172 172-172 172 77 172 172-77 172-172 172zm105 221h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H703.5l47.2-60.1a8.1 8.1 0 001.7-4.9c0-4.4-3.6-8-8-8h-72.6c-4.9 0-9.5 2.3-12.6 6.1l-68.5 87.1c-4.4 5.6-6.8 12.6-6.8 19.8.1 17.7 14.4 32 32.1 32zm240 64H592c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h176.5l-47.2 60.1a8.1 8.1 0 00-1.7 4.9c0 4.4 3.6 8 8 8h72.6c4.9 0 9.5-2.3 12.6-6.1l68.5-87.1c4.4-5.6 6.8-12.6 6.8-19.8-.1-17.7-14.4-32-32.1-32z"}}]},name:"user-switch",theme:"outlined"},Hk=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:HO}))}),HT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M892 772h-80v-80c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v80h-80c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h80v80c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-80h80c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 498.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.8-1.7-203.2 89.2-203.2 200 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.8-1.1 6.4-4.8 5.9-8.8zM824 472c0-109.4-87.9-198.3-196.9-200C516.3 270.3 424 361.2 424 472c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 742.6 326 814.8 324 891.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 695.7 563 672 624 672c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 586.7 658.2 600 624 600s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z"}}]},name:"usergroup-add",theme:"outlined"},H$=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:HT}))}),HF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 784H664c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7zM824 484c0-109.4-87.9-198.3-196.9-200C516.3 282.3 424 373.2 424 484c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 754.6 326 826.8 324 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 707.7 563 684 624 684c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 598.7 658.2 612 624 612s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z"}}]},name:"usergroup-delete",theme:"outlined"},HA=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:HF}))}),HI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M447.8 588.8l-7.3-32.5c-.2-1-.6-1.9-1.1-2.7a7.94 7.94 0 00-11.1-2.2L405 567V411c0-4.4-3.6-8-8-8h-81c-4.4 0-8 3.6-8 8v36c0 4.4 3.6 8 8 8h37v192.4a8 8 0 0012.7 6.5l79-56.8c2.6-1.9 3.8-5.1 3.1-8.3zm-56.7-216.6l.2.2c3.2 3 8.3 2.8 11.3-.5l24.1-26.2a8.1 8.1 0 00-.3-11.2l-53.7-52.1a8 8 0 00-11.2.1l-24.7 24.7c-3.1 3.1-3.1 8.2.1 11.3l54.2 53.7z"}},{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z"}},{tag:"path",attrs:{d:"M452 297v36c0 4.4 3.6 8 8 8h108v274h-38V405c0-4.4-3.6-8-8-8h-35c-4.4 0-8 3.6-8 8v210h-31c-4.4 0-8 3.6-8 8v37c0 4.4 3.6 8 8 8h244c4.4 0 8-3.6 8-8v-37c0-4.4-3.6-8-8-8h-72V493h58c4.4 0 8-3.6 8-8v-35c0-4.4-3.6-8-8-8h-58V341h63c4.4 0 8-3.6 8-8v-36c0-4.4-3.6-8-8-8H460c-4.4 0-8 3.6-8 8z"}}]},name:"verified",theme:"outlined"},HP=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:HI}))}),HD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 780H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM505.7 669a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V176c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8z"}}]},name:"vertical-align-bottom",theme:"outlined"},HN=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:HD}))}),Hq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 474H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zm-353.6-74.7c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H550V104c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v156h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.6zm11.4 225.4a7.14 7.14 0 00-11.3 0L405.6 752.3a7.23 7.23 0 005.7 11.7H474v156c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V764h62.8c6 0 9.4-7 5.7-11.7L517.7 624.7z"}}]},name:"vertical-align-middle",theme:"outlined"},Hj=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:Hq}))}),HW=c(44039),HY=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:HW.Z}))}),H_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M762 164h-64c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V172c0-4.4-3.6-8-8-8zm-508 0v72.4c0 9.5 4.2 18.4 11.4 24.5L564.6 512 265.4 763.1c-7.2 6.1-11.4 15-11.4 24.5V860c0 6.8 7.9 10.5 13.1 6.1L689 512 267.1 157.9A7.95 7.95 0 00254 164z"}}]},name:"vertical-left",theme:"outlined"},HK=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:H_}))}),HX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M326 164h-64c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V172c0-4.4-3.6-8-8-8zm444 72.4V164c0-6.8-7.9-10.5-13.1-6.1L335 512l421.9 354.1c5.2 4.4 13.1.7 13.1-6.1v-72.4c0-9.4-4.2-18.4-11.4-24.5L459.4 512l299.2-251.1c7.2-6.1 11.4-15.1 11.4-24.5z"}}]},name:"vertical-right",theme:"outlined"},HU=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:HX}))}),HG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M368 724H252V608c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v116H72c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h116v116c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V788h116c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v352h72V232h576v560H448v72h272c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM888 625l-104-59.8V458.9L888 399v226z"}},{tag:"path",attrs:{d:"M320 360c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h112z"}}]},name:"video-camera-add",theme:"outlined"},HQ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:HG}))}),HJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM328 352c0 4.4-3.6 8-8 8H208c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h112c4.4 0 8 3.6 8 8v48zm560 273l-104-59.8V458.9L888 399v226z"}}]},name:"video-camera",theme:"filled"},H1=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:HJ}))}),H4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226zM208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}]},name:"video-camera",theme:"outlined"},H2=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:H4}))}),H3={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M136 792h576V232H136v560zm64-488c0-4.4 3.6-8 8-8h112c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H208c-4.4 0-8-3.6-8-8v-48z",fill:t}},{tag:"path",attrs:{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226z",fill:e}},{tag:"path",attrs:{d:"M208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"video-camera",theme:"twotone"},H8=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:H3}))}),H6={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-32zm-32 464H528V448h320v128zm-268-64a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"wallet",theme:"filled"},H0=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:H6}))}),H5={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-32zm-40 464H528V448h312v128zm0 264H184V184h656v200H496c-17.7 0-32 14.3-32 32v192c0 17.7 14.3 32 32 32h344v200zM580 512a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"wallet",theme:"outlined"},H7=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:H5}))}),H9={icon:function(e,t){return{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-32zm-40 464H528V448h312v128zm0-192H496c-17.7 0-32 14.3-32 32v192c0 17.7 14.3 32 32 32h344v200H184V184h656v200z",fill:e}},{tag:"path",attrs:{d:"M528 576h312V448H528v128zm92-104c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M580 512a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V640H496c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32h344V184H184v656z",fill:t}}]}},name:"wallet",theme:"twotone"},be=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:H9}))}),bt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-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-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},bc=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bt}))}),bn=c(28058),br={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-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",fill:e}},{tag:"path",attrs:{d:"M172.2 828.1h679.6L512 239.9 172.2 828.1zM560 720a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm-16-304v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8z",fill:t}},{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 8z",fill:e}}]}},name:"warning",theme:"twotone"},ba=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:br}))}),bl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z"}}]},name:"wechat",theme:"filled"},bo=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bl}))}),bi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z"}}]},name:"wechat",theme:"outlined"},bu=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bi}))}),bs={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M805.33 112H218.67C159.76 112 112 159.76 112 218.67v586.66C112 864.24 159.76 912 218.67 912h586.66C864.24 912 912 864.24 912 805.33V218.67C912 159.76 864.24 112 805.33 112m-98.17 417.86a102.13 102.13 0 0028.1 52.46l2.13 2.06c.41.27.8.57 1.16.9l.55.64.2.02a7.96 7.96 0 01-.98 10.82 7.96 7.96 0 01-10.85-.18c-1.1-1.05-2.14-2.14-3.24-3.24a102.49 102.49 0 00-53.82-28.36l-2-.27c-.66-.12-1.34-.39-1.98-.39a33.27 33.27 0 1140.37-37.66c.17 1.09.36 2.16.36 3.2m-213.1 153.82a276.78 276.78 0 01-61.7.17 267.3 267.3 0 01-44.67-8.6l-68.44 34.4c-.33.24-.77.43-1.15.71h-.27a18.29 18.29 0 01-27.52-15.9c.03-.59.1-1.17.2-1.74.13-1.97.6-3.9 1.37-5.72l2.75-11.15 9.56-39.56a277.57 277.57 0 01-49.25-54.67A185.99 185.99 0 01223.1 478.1a182.42 182.42 0 0119.08-81.04 203.98 203.98 0 0137.19-52.32c38.91-39.94 93.26-65.52 153.1-72.03a278.25 278.25 0 0130.17-1.64c10.5.03 20.99.65 31.42 1.86 59.58 6.79 113.65 32.48 152.26 72.36a202.96 202.96 0 0137 52.48 182.3 182.3 0 0118.17 94.67c-.52-.57-1.02-1.2-1.57-1.76a33.26 33.26 0 00-40.84-4.8c.22-2.26.22-4.54.22-6.79a143.64 143.64 0 00-14.76-63.38 164.07 164.07 0 00-29.68-42.15c-31.78-32.76-76.47-53.95-125.89-59.55a234.37 234.37 0 00-51.67-.14c-49.61 5.41-94.6 26.45-126.57 59.26a163.63 163.63 0 00-29.82 41.95 143.44 143.44 0 00-15.12 63.93 147.16 147.16 0 0025.29 81.51 170.5 170.5 0 0024.93 29.4 172.31 172.31 0 0017.56 14.75 17.6 17.6 0 016.35 19.62l-6.49 24.67-1.86 7.14-1.62 6.45a2.85 2.85 0 002.77 2.88 3.99 3.99 0 001.93-.68l43.86-25.93 1.44-.78a23.2 23.2 0 0118.24-1.84 227.38 227.38 0 0033.87 7.12l5.22.69a227.26 227.26 0 0051.67-.14 226.58 226.58 0 0042.75-9.07 33.2 33.2 0 0022.72 34.76 269.27 269.27 0 01-60.37 14.12m89.07-24.87a33.33 33.33 0 01-33.76-18.75 33.32 33.32 0 016.64-38.03 33.16 33.16 0 0118.26-9.31c1.07-.14 2.19-.36 3.24-.36a102.37 102.37 0 0052.47-28.05l2.2-2.33a10.21 10.21 0 011.57-1.68v-.03a7.97 7.97 0 1110.64 11.81l-3.24 3.24a102.44 102.44 0 00-28.56 53.74c-.09.63-.28 1.35-.28 2l-.39 2.01a33.3 33.3 0 01-28.79 25.74m94.44 93.87a33.3 33.3 0 01-36.18-24.25 28 28 0 01-1.1-6.73 102.4 102.4 0 00-28.15-52.39l-2.3-2.25a7.2 7.2 0 01-1.11-.9l-.54-.6h-.03v.05a7.96 7.96 0 01.96-10.82 7.96 7.96 0 0110.85.18l3.22 3.24a102.29 102.29 0 0053.8 28.35l2 .28a33.27 33.27 0 11-1.42 65.84m113.67-103.34a32.84 32.84 0 01-18.28 9.31 26.36 26.36 0 01-3.24.36 102.32 102.32 0 00-52.44 28.1 49.57 49.57 0 00-3.14 3.41l-.68.56h.02l.09.05a7.94 7.94 0 11-10.6-11.81l3.23-3.24a102.05 102.05 0 0028.37-53.7 33.26 33.26 0 1162.4-12.1 33.21 33.21 0 01-5.73 39.06"}}]},name:"wechat-work",theme:"filled"},bf=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bs}))}),bh={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.78 729.59a135.87 135.87 0 00-47.04 19.04 114.24 114.24 0 01-51.4 31.08 76.29 76.29 0 0124.45-45.42 169.3 169.3 0 0023.4-55.02 50.41 50.41 0 1150.6 50.32zm-92.21-120.76a168.83 168.83 0 00-54.81-23.68 50.41 50.41 0 01-50.4-50.42 50.41 50.41 0 11100.8 0 137.5 137.5 0 0018.82 47.2 114.8 114.8 0 0130.76 51.66 76.08 76.08 0 01-45.02-24.76h-.19zm-83.04-177.71c-15.19-127.33-146.98-227.1-306.44-227.1-169.87 0-308.09 113.1-308.09 252.2A235.81 235.81 0 00230.06 647.6a311.28 311.28 0 0033.6 21.59L250 723.76c4.93 2.31 9.7 4.78 14.75 6.9l69-34.5c10.07 2.61 20.68 4.3 31.2 6.08 6.73 1.2 13.45 2.43 20.35 3.25a354.83 354.83 0 00128.81-7.4 248.88 248.88 0 0010.15 55.06 425.64 425.64 0 01-96.17 11.24 417.98 417.98 0 01-86.4-9.52L216.52 817.4a27.62 27.62 0 01-29.98-3.14 28.02 28.02 0 01-9.67-28.61l22.4-90.24A292.26 292.26 0 0164 456.21C64 285.98 227 148 428.09 148c190.93 0 347.29 124.53 362.52 282.82a244.97 244.97 0 00-26.47-2.62c-9.9.38-19.79 1.31-29.6 2.88zm-116.3 198.81a135.76 135.76 0 0047.05-19.04 114.24 114.24 0 0151.45-31 76.47 76.47 0 01-24.5 45.34 169.48 169.48 0 00-23.4 55.05 50.41 50.41 0 01-100.8.23 50.41 50.41 0 0150.2-50.58m90.8 121.32a168.6 168.6 0 0054.66 23.9 50.44 50.44 0 0135.64 86.08 50.38 50.38 0 01-86.04-35.66 136.74 136.74 0 00-18.67-47.28 114.71 114.71 0 01-30.54-51.8 76 76 0 0144.95 25.06z"}}]},name:"wechat-work",theme:"outlined"},bd=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bh}))}),bv={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-44.4 672C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-93-32.2c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zm34.9-14.5c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z"}}]},name:"weibo-circle",theme:"filled"},bm=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bv}))}),bg={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-44.4 672C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-93-32.2c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zm34.9-14.5c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z"}}]},name:"weibo-circle",theme:"outlined"},bp=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bg}))}),bz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M457.3 543c-68.1-17.7-145 16.2-174.6 76.2-30.1 61.2-1 129.1 67.8 151.3 71.2 23 155.2-12.2 184.4-78.3 28.7-64.6-7.2-131-77.6-149.2zm-52 156.2c-13.8 22.1-43.5 31.7-65.8 21.6-22-10-28.5-35.7-14.6-57.2 13.7-21.4 42.3-31 64.4-21.7 22.4 9.5 29.6 35 16 57.3zm45.5-58.5c-5 8.6-16.1 12.7-24.7 9.1-8.5-3.5-11.2-13.1-6.4-21.5 5-8.4 15.6-12.4 24.1-9.1 8.7 3.2 11.8 12.9 7 21.5zm334.5-197.2c15 4.8 31-3.4 35.9-18.3 11.8-36.6 4.4-78.4-23.2-109a111.39 111.39 0 00-106-34.3 28.45 28.45 0 00-21.9 33.8 28.39 28.39 0 0033.8 21.8c18.4-3.9 38.3 1.8 51.9 16.7a54.2 54.2 0 0111.3 53.3 28.45 28.45 0 0018.2 36zm99.8-206c-56.7-62.9-140.4-86.9-217.7-70.5a32.98 32.98 0 00-25.4 39.3 33.12 33.12 0 0039.3 25.5c55-11.7 114.4 5.4 154.8 50.1 40.3 44.7 51.2 105.7 34 159.1-5.6 17.4 3.9 36 21.3 41.7 17.4 5.6 36-3.9 41.6-21.2v-.1c24.1-75.4 8.9-161.1-47.9-223.9zM729 499c-12.2-3.6-20.5-6.1-14.1-22.1 13.8-34.7 15.2-64.7.3-86-28-40.1-104.8-37.9-192.8-1.1 0 0-27.6 12.1-20.6-9.8 13.5-43.5 11.5-79.9-9.6-101-47.7-47.8-174.6 1.8-283.5 110.6C127.3 471.1 80 557.5 80 632.2 80 775.1 263.2 862 442.5 862c235 0 391.3-136.5 391.3-245 0-65.5-55.2-102.6-104.8-118zM443 810.8c-143 14.1-266.5-50.5-275.8-144.5-9.3-93.9 99.2-181.5 242.2-195.6 143-14.2 266.5 50.5 275.8 144.4C694.4 709 586 796.6 443 810.8z"}}]},name:"weibo",theme:"outlined"},bw=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bz}))}),bM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M433.6 595.1c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zM880 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-32zM467.6 736C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-58.1-46.7c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z"}}]},name:"weibo-square",theme:"filled"},bZ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bM}))}),bH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M433.6 595.1c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zM880 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-32zM467.6 736C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-58.1-46.7c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z"}}]},name:"weibo-square",theme:"outlined"},bb=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bH}))}),bV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M713.5 599.9c-10.9-5.6-65.2-32.2-75.3-35.8-10.1-3.8-17.5-5.6-24.8 5.6-7.4 11.1-28.4 35.8-35 43.3-6.4 7.4-12.9 8.3-23.8 2.8-64.8-32.4-107.3-57.8-150-131.1-11.3-19.5 11.3-18.1 32.4-60.2 3.6-7.4 1.8-13.7-1-19.3-2.8-5.6-24.8-59.8-34-81.9-8.9-21.5-18.1-18.5-24.8-18.9-6.4-.4-13.7-.4-21.1-.4-7.4 0-19.3 2.8-29.4 13.7-10.1 11.1-38.6 37.8-38.6 92s39.5 106.7 44.9 114.1c5.6 7.4 77.7 118.6 188.4 166.5 70 30.2 97.4 32.8 132.4 27.6 21.3-3.2 65.2-26.6 74.3-52.5 9.1-25.8 9.1-47.9 6.4-52.5-2.7-4.9-10.1-7.7-21-13z"}},{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"}}]},name:"whats-app",theme:"outlined"},bC=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bV}))}),bx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z"}}]},name:"wifi",theme:"outlined"},bE=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bx}))}),bL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M523.8 191.4v288.9h382V128.1zm0 642.2l382 62.2v-352h-382zM120.1 480.2H443V201.9l-322.9 53.5zm0 290.4L443 823.2V543.8H120.1z"}}]},name:"windows",theme:"filled"},by=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bL}))}),bR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M120.1 770.6L443 823.2V543.8H120.1v226.8zm63.4-163.5h196.2v141.6l-196.2-31.9V607.1zm340.3 226.5l382 62.2v-352h-382v289.8zm63.4-226.5h255.3v214.4l-255.3-41.6V607.1zm-63.4-415.7v288.8h382V128.1l-382 63.3zm318.7 225.5H587.3V245l255.3-42.3v214.2zm-722.4 63.3H443V201.9l-322.9 53.5v224.8zM183.5 309l196.2-32.5v140.4H183.5V309z"}}]},name:"windows",theme:"outlined"},bB=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bR}))}),bS={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M712.8 548.8c53.6-53.6 83.2-125 83.2-200.8 0-75.9-29.5-147.2-83.2-200.8C659.2 93.6 587.8 64 512 64s-147.2 29.5-200.8 83.2C257.6 200.9 228 272.1 228 348c0 63.8 20.9 124.4 59.4 173.9 7.3 9.4 15.2 18.3 23.7 26.9 8.5 8.5 17.5 16.4 26.8 23.7 39.6 30.8 86.3 50.4 136.1 57V736H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h114v140c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V812h114c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H550V629.5c61.5-8.2 118.2-36.1 162.8-80.7zM512 556c-55.6 0-107.7-21.6-147.1-60.9C325.6 455.8 304 403.6 304 348s21.6-107.7 60.9-147.1C404.2 161.5 456.4 140 512 140s107.7 21.6 147.1 60.9C698.4 240.2 720 292.4 720 348s-21.6 107.7-60.9 147.1C619.7 534.4 567.6 556 512 556z"}}]},name:"woman",theme:"outlined"},bO=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bS}))}),bk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"g",attrs:{"fill-rule":"evenodd"},children:[{tag:"path",attrs:{d:"M823.11 912H200.9A88.9 88.9 0 01112 823.11V200.9A88.9 88.9 0 01200.89 112H823.1A88.9 88.9 0 01912 200.89V823.1A88.9 88.9 0 01823.11 912"}},{tag:"path",attrs:{d:"M740 735H596.94L286 291h143.06zm-126.01-37.65h56.96L412 328.65h-56.96z","fill-rule":"nonzero"}},{tag:"path",attrs:{d:"M331.3 735L491 549.73 470.11 522 286 735zM521 460.39L541.21 489 715 289h-44.67z","fill-rule":"nonzero"}}]}]},name:"x",theme:"filled"},bT=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bk}))}),b$={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M921 912L601.11 445.75l.55.43L890.08 112H793.7L558.74 384 372.15 112H119.37l298.65 435.31-.04-.04L103 912h96.39L460.6 609.38 668.2 912zM333.96 184.73l448.83 654.54H706.4L257.2 184.73z"}}]},name:"x",theme:"outlined"},bF=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:b$}))}),bA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M937.3 231H824.7c-15.5 0-27.7 12.6-27.1 28.1l13.1 366h84.4l65.4-366.4c2.7-15.2-7.8-27.7-23.2-27.7zm-77.4 450.4h-14.1c-27.1 0-49.2 22.2-49.2 49.3v14.1c0 27.1 22.2 49.3 49.2 49.3h14.1c27.1 0 49.2-22.2 49.2-49.3v-14.1c0-27.1-22.2-49.3-49.2-49.3zM402.6 231C216.2 231 65 357 65 512.5S216.2 794 402.6 794s337.6-126 337.6-281.5S589.1 231 402.6 231zm225.2 225.2h-65.3L458.9 559.8v65.3h84.4v56.3H318.2v-56.3h84.4v-65.3L242.9 399.9h-37v-56.3h168.5v56.3h-37l93.4 93.5 28.1-28.1V400h168.8v56.2z"}}]},name:"yahoo",theme:"filled"},bI=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bA}))}),bP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 681.4h-14.1c-27.1 0-49.2 22.2-49.2 49.3v14.1c0 27.1 22.2 49.3 49.2 49.3h14.1c27.1 0 49.2-22.2 49.2-49.3v-14.1c0-27.1-22.2-49.3-49.2-49.3zM402.6 231C216.2 231 65 357 65 512.5S216.2 794 402.6 794s337.6-126 337.6-281.5S589.1 231 402.6 231zm0 507C245.1 738 121 634.6 121 512.5c0-62.3 32.3-119.7 84.9-161v48.4h37l159.8 159.9v65.3h-84.4v56.3h225.1v-56.3H459v-65.3l103.5-103.6h65.3v-56.3H459v65.3l-28.1 28.1-93.4-93.5h37v-56.3H216.4c49.4-35 114.3-56.6 186.2-56.6 157.6 0 281.6 103.4 281.6 225.5S560.2 738 402.6 738zm534.7-507H824.7c-15.5 0-27.7 12.6-27.1 28.1l13.1 366h84.4l65.4-366.4c2.7-15.2-7.8-27.7-23.2-27.7z"}}]},name:"yahoo",theme:"outlined"},bD=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bP}))}),bN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M941.3 296.1a112.3 112.3 0 00-79.2-79.3C792.2 198 512 198 512 198s-280.2 0-350.1 18.7A112.12 112.12 0 0082.7 296C64 366 64 512 64 512s0 146 18.7 215.9c10.3 38.6 40.7 69 79.2 79.3C231.8 826 512 826 512 826s280.2 0 350.1-18.8c38.6-10.3 68.9-40.7 79.2-79.3C960 658 960 512 960 512s0-146-18.7-215.9zM423 646V378l232 133-232 135z"}}]},name:"youtube",theme:"filled"},bq=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bN}))}),bj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M960 509.2c0-2.2 0-4.7-.1-7.6-.1-8.1-.3-17.2-.5-26.9-.8-27.9-2.2-55.7-4.4-81.9-3-36.1-7.4-66.2-13.4-88.8a139.52 139.52 0 00-98.3-98.5c-28.3-7.6-83.7-12.3-161.7-15.2-37.1-1.4-76.8-2.3-116.5-2.8-13.9-.2-26.8-.3-38.4-.4h-29.4c-11.6.1-24.5.2-38.4.4-39.7.5-79.4 1.4-116.5 2.8-78 3-133.5 7.7-161.7 15.2A139.35 139.35 0 0082.4 304C76.3 326.6 72 356.7 69 392.8c-2.2 26.2-3.6 54-4.4 81.9-.3 9.7-.4 18.8-.5 26.9 0 2.9-.1 5.4-.1 7.6v5.6c0 2.2 0 4.7.1 7.6.1 8.1.3 17.2.5 26.9.8 27.9 2.2 55.7 4.4 81.9 3 36.1 7.4 66.2 13.4 88.8 12.8 47.9 50.4 85.7 98.3 98.5 28.2 7.6 83.7 12.3 161.7 15.2 37.1 1.4 76.8 2.3 116.5 2.8 13.9.2 26.8.3 38.4.4h29.4c11.6-.1 24.5-.2 38.4-.4 39.7-.5 79.4-1.4 116.5-2.8 78-3 133.5-7.7 161.7-15.2 47.9-12.8 85.5-50.5 98.3-98.5 6.1-22.6 10.4-52.7 13.4-88.8 2.2-26.2 3.6-54 4.4-81.9.3-9.7.4-18.8.5-26.9 0-2.9.1-5.4.1-7.6v-5.6zm-72 5.2c0 2.1 0 4.4-.1 7.1-.1 7.8-.3 16.4-.5 25.7-.7 26.6-2.1 53.2-4.2 77.9-2.7 32.2-6.5 58.6-11.2 76.3-6.2 23.1-24.4 41.4-47.4 47.5-21 5.6-73.9 10.1-145.8 12.8-36.4 1.4-75.6 2.3-114.7 2.8-13.7.2-26.4.3-37.8.3h-28.6l-37.8-.3c-39.1-.5-78.2-1.4-114.7-2.8-71.9-2.8-124.9-7.2-145.8-12.8-23-6.2-41.2-24.4-47.4-47.5-4.7-17.7-8.5-44.1-11.2-76.3-2.1-24.7-3.4-51.3-4.2-77.9-.3-9.3-.4-18-.5-25.7 0-2.7-.1-5.1-.1-7.1v-4.8c0-2.1 0-4.4.1-7.1.1-7.8.3-16.4.5-25.7.7-26.6 2.1-53.2 4.2-77.9 2.7-32.2 6.5-58.6 11.2-76.3 6.2-23.1 24.4-41.4 47.4-47.5 21-5.6 73.9-10.1 145.8-12.8 36.4-1.4 75.6-2.3 114.7-2.8 13.7-.2 26.4-.3 37.8-.3h28.6l37.8.3c39.1.5 78.2 1.4 114.7 2.8 71.9 2.8 124.9 7.2 145.8 12.8 23 6.2 41.2 24.4 47.4 47.5 4.7 17.7 8.5 44.1 11.2 76.3 2.1 24.7 3.4 51.3 4.2 77.9.3 9.3.4 18 .5 25.7 0 2.7.1 5.1.1 7.1v4.8zM423 646l232-135-232-133z"}}]},name:"youtube",theme:"outlined"},bW=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bj}))}),bY=c(65886),b_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.8-8.1-194.9-3-195-3 .1 0 87.4 55.6 52.4 154.7-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6zm-204.1 334c-10.6 0-26.2.1-46.8.3l-23.6.2-17.8 15.5c-47.1 41-104.4 71.5-171.4 87.6-52.5 12.6-110 16.2-172.7 9.6 18-20.5 36.5-41.6 55.4-63.1 92-104.6 173.8-197.5 236.9-268.5l1.4-1.4 1.3-1.5c4.1-4.6 20.6-23.3 24.7-28.1 9.7-11.1 17.3-19.9 24.5-28.6 30.7-36.7 52.2-67.8 69-102.2l1.6-3.3 1.2-3.4c13.7-38.8 15.4-76.9 6.2-112.8 22.5.7 46.5 1.9 71.7 3.6 33.3 2.3 55.5 12.9 71.1 29.2 5.8 6 10.2 12.5 13.4 18.7 1 2 1.7 3.6 2.3 5l5 17.7c-15.7 34.5-19.9 73.3-11.4 107.2 3 11.8 6.9 22.4 12.3 34.4 2.1 4.7 9.5 20.1 11 23.3 10.3 22.7 15.4 43 16.7 78.7 3.3 94.6-82.7 181.9-182 181.9z"}}]},name:"yuque",theme:"outlined"},bK=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:b_}))}),bX={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-90.7 477.8l-.1 1.5c-1.5 20.4-6.3 43.9-12.9 67.6l24-18.1 71 80.7c9.2 33-3.3 63.1-3.3 63.1l-95.7-111.9v-.1c-8.9 29-20.1 57.3-33.3 84.7-22.6 45.7-55.2 54.7-89.5 57.7-34.4 3-23.3-5.3-23.3-5.3 68-55.5 78-87.8 96.8-123.1 11.9-22.3 20.4-64.3 25.3-96.8H264.1s4.8-31.2 19.2-41.7h101.6c.6-15.3-1.3-102.8-2-131.4h-49.4c-9.2 45-41 56.7-48.1 60.1-7 3.4-23.6 7.1-21.1 0 2.6-7.1 27-46.2 43.2-110.7 16.3-64.6 63.9-62 63.9-62-12.8 22.5-22.4 73.6-22.4 73.6h159.7c10.1 0 10.6 39 10.6 39h-90.8c-.7 22.7-2.8 83.8-5 131.4H519s12.2 15.4 12.2 41.7H421.3zm346.5 167h-87.6l-69.5 46.6-16.4-46.6h-40.1V321.5h213.6v387.3zM408.2 611s0-.1 0 0zm216 94.3l56.8-38.1h45.6-.1V364.7H596.7v302.5h14.1z"}}]},name:"zhihu-circle",theme:"filled"},bU=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bX}))}),bG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M564.7 230.1V803h60l25.2 71.4L756.3 803h131.5V230.1H564.7zm247.7 497h-59.9l-75.1 50.4-17.8-50.4h-18V308.3h170.7v418.8zM526.1 486.9H393.3c2.1-44.9 4.3-104.3 6.6-172.9h130.9l-.1-8.1c0-.6-.2-14.7-2.3-29.1-2.1-15-6.6-34.9-21-34.9H287.8c4.4-20.6 15.7-69.7 29.4-93.8l6.4-11.2-12.9-.7c-.8 0-19.6-.9-41.4 10.6-35.7 19-51.7 56.4-58.7 84.4-18.4 73.1-44.6 123.9-55.7 145.6-3.3 6.4-5.3 10.2-6.2 12.8-1.8 4.9-.8 9.8 2.8 13 10.5 9.5 38.2-2.9 38.5-3 .6-.3 1.3-.6 2.2-1 13.9-6.3 55.1-25 69.8-84.5h56.7c.7 32.2 3.1 138.4 2.9 172.9h-141l-2.1 1.5c-23.1 16.9-30.5 63.2-30.8 65.2l-1.4 9.2h167c-12.3 78.3-26.5 113.4-34 127.4-3.7 7-7.3 14-10.7 20.8-21.3 42.2-43.4 85.8-126.3 153.6-3.6 2.8-7 8-4.8 13.7 2.4 6.3 9.3 9.1 24.6 9.1 5.4 0 11.8-.3 19.4-1 49.9-4.4 100.8-18 135.1-87.6 17-35.1 31.7-71.7 43.9-108.9L497 850l5-12c.8-1.9 19-46.3 5.1-95.9l-.5-1.8-108.1-123-22 16.6c6.4-26.1 10.6-49.9 12.5-71.1h158.7v-8c0-40.1-18.5-63.9-19.2-64.9l-2.4-3z"}}]},name:"zhihu",theme:"outlined"},bQ=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bG}))}),bJ={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-32zM432.3 592.8l71 80.7c9.2 33-3.3 63.1-3.3 63.1l-95.7-111.9v-.1c-8.9 29-20.1 57.3-33.3 84.7-22.6 45.7-55.2 54.7-89.5 57.7-34.4 3-23.3-5.3-23.3-5.3 68-55.5 78-87.8 96.8-123.1 11.9-22.3 20.4-64.3 25.3-96.8H264.1s4.8-31.2 19.2-41.7h101.6c.6-15.3-1.3-102.8-2-131.4h-49.4c-9.2 45-41 56.7-48.1 60.1-7 3.4-23.6 7.1-21.1 0 2.6-7.1 27-46.2 43.2-110.7 16.3-64.6 63.9-62 63.9-62-12.8 22.5-22.4 73.6-22.4 73.6h159.7c10.1 0 10.6 39 10.6 39h-90.8c-.7 22.7-2.8 83.8-5 131.4H519s12.2 15.4 12.2 41.7h-110l-.1 1.5c-1.5 20.4-6.3 43.9-12.9 67.6l24.1-18.1zm335.5 116h-87.6l-69.5 46.6-16.4-46.6h-40.1V321.5h213.6v387.3zM408.2 611s0-.1 0 0zm216 94.3l56.8-38.1h45.6-.1V364.7H596.7v302.5h14.1z"}}]},name:"zhihu-square",theme:"filled"},b1=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:bJ}))}),b4=c(66995),b2=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:b4.Z}))}),b3=c(86759),b8=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:b3.Z}))}),b6=c(59068),b0=c(91321),b5=c(16165),b7=n.Z.Provider},3303:function(e,t,c){"use strict";c.d(t,{Z:function(){return eD}});var n=c(96641),r=c(67294),a=c(93967),l=c.n(a),o=c(87462),i=c(1413),u=c(74902),s=c(97685),f=c(45987),h=c(82275),d=c(88708),v=c(66680),m=c(21770),g=r.createContext({}),p=c(71002),z=c(4942),w="__rc_cascader_search_mark__",M=function(e,t,c){var n=c.label,r=void 0===n?"":n;return t.some(function(t){return String(t[r]).toLowerCase().includes(e.toLowerCase())})},Z=function(e,t,c,n){return t.map(function(e){return e[n.label]}).join(" / ")},H=function(e,t,c,n,a,l){var o=a.filter,s=void 0===o?M:o,f=a.render,h=void 0===f?Z:f,d=a.limit,v=void 0===d?50:d,m=a.sort;return r.useMemo(function(){var r=[];return e?(!function t(a,o){var f=arguments.length>2&&void 0!==arguments[2]&&arguments[2];a.forEach(function(a){if(m||!1===v||!(v>0)||!(r.length>=v)){var d=[].concat((0,u.Z)(o),[a]),g=a[c.children],p=f||a.disabled;(!g||0===g.length||l)&&s(e,d,{label:c.label})&&r.push((0,i.Z)((0,i.Z)({},a),{},(0,z.Z)((0,z.Z)((0,z.Z)({disabled:p},c.label,h(e,d,n,c)),w,d),c.children,void 0))),g&&t(a[c.children],d,p)}})}(t,[]),m&&r.sort(function(t,n){return m(t[w],n[w],e,c)}),!1!==v&&v>0?r.slice(0,v):r):[]},[e,t,c,n,h,l,s,m,v])},b="__RC_CASCADER_SPLIT__",V="SHOW_PARENT",C="SHOW_CHILD";function x(e){return e.join(b)}function E(e){return e.map(x)}function L(e){var t=e||{},c=t.label,n=t.value,r=t.children,a=n||"value";return{label:c||"label",value:a,key:a,children:r||"children"}}function y(e,t){var c,n;return null!==(c=e.isLeaf)&&void 0!==c?c:!(null!==(n=e[t.children])&&void 0!==n&&n.length)}function R(e,t){return e.map(function(e){var c;return null===(c=e[w])||void 0===c?void 0:c.map(function(e){return e[t.value]})})}function B(e){return e?Array.isArray(e)&&Array.isArray(e[0])?e:(0===e.length?[]:[e]).map(function(e){return Array.isArray(e)?e:[e]}):[]}function S(e,t,c){var n=new Set(e),r=t();return e.filter(function(e){var t=r[e],a=t?t.parent:null,l=t?t.children:null;return!!t&&!!t.node.disabled||(c===C?!(l&&l.some(function(e){return e.key&&n.has(e.key)})):!(a&&!a.node.disabled&&n.has(a.key)))})}function O(e,t,c){for(var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=t,a=[],l=0;l1?H(p.slice(0,-1)):h(!1)},C=function(){var e,t=((null===(e=M[z])||void 0===e?void 0:e[c.children])||[]).find(function(e){return!e.disabled});t&&H([].concat((0,u.Z)(p),[t[c.value]]))};r.useImperativeHandle(e,function(){return{onKeyDown:function(e){var t=e.which;switch(t){case Y.Z.UP:case Y.Z.DOWN:var n=0;t===Y.Z.UP?n=-1:t===Y.Z.DOWN&&(n=1),0!==n&&b(n);break;case Y.Z.LEFT:if(f)break;v?C():V();break;case Y.Z.RIGHT:if(f)break;v?V():C();break;case Y.Z.BACKSPACE:f||V();break;case Y.Z.ENTER:if(p.length){var r=M[z],a=(null==r?void 0:r[w])||[];a.length?l(a.map(function(e){return e[c.value]}),a[a.length-1]):l(p,M[z])}break;case Y.Z.ESC:h(!1),d&&e.stopPropagation()}},onKeyUp:function(){}}})},K=r.forwardRef(function(e,t){var c,n=e.prefixCls,a=e.multiple,f=e.searchValue,h=e.toggleOpen,d=e.notFoundContent,v=e.direction,m=e.open,p=r.useRef(null),w=r.useContext(g),M=w.options,Z=w.values,H=w.halfValues,V=w.fieldNames,C=w.changeOnSelect,L=w.onSelect,B=w.searchOptions,S=w.dropdownPrefixCls,k=w.loadData,T=w.expandTrigger,$=S||n,F=r.useState([]),A=(0,s.Z)(F,2),I=A[0],P=A[1],N=function(e){if(k&&!f){var t=O(e,M,V).map(function(e){return e.option}),c=t[t.length-1];if(c&&!y(c,V)){var n=x(e);P(function(e){return[].concat((0,u.Z)(e),[n])}),k(t)}}};r.useEffect(function(){I.length&&I.forEach(function(e){var t=O(e.split(b),M,V,!0).map(function(e){return e.option}),c=t[t.length-1];(!c||c[V.children]||y(c,V))&&P(function(t){return t.filter(function(t){return t!==e})})})},[M,I,V]);var Y=r.useMemo(function(){return new Set(E(Z))},[Z]),K=r.useMemo(function(){return new Set(E(H))},[H]),X=W(a,m),U=(0,s.Z)(X,2),G=U[0],Q=U[1],J=function(e){Q(e),N(e)},ee=function(e){var t=e.disabled,c=y(e,V);return!t&&(c||C||a)},et=function(e,t){var c=arguments.length>2&&void 0!==arguments[2]&&arguments[2];L(e),!a&&(t||C&&("hover"===T||c))&&h(!1)},ec=r.useMemo(function(){return f?B:M},[f,B,M]),en=r.useMemo(function(){for(var e=[{options:ec}],t=ec,c=R(t,V),n=0;nt.offsetHeight&&t.scrollTo({top:c+e.offsetHeight-t.offsetHeight})}}(n)}},[G]);var er=!(null!==(c=en[0])&&void 0!==c&&null!==(c=c.options)&&void 0!==c&&c.length),ea=[(0,z.Z)((0,z.Z)((0,z.Z)({},V.value,"__EMPTY__"),q,d),"disabled",!0)],el=(0,i.Z)((0,i.Z)({},e),{},{multiple:!er&&a,onSelect:et,onActive:J,onToggleOpen:h,checkedSet:Y,halfCheckedSet:K,loadingKeys:I,isSelectable:ee}),eo=(er?[{options:ea}]:en).map(function(e,t){var c=G.slice(0,t),n=G[t];return r.createElement(j,(0,o.Z)({key:t},el,{searchValue:f,prefixCls:$,options:e.options,prevValuePath:c,activeValue:n}))});return r.createElement(D,{open:m},r.createElement("div",{className:l()("".concat($,"-menus"),(0,z.Z)((0,z.Z)({},"".concat($,"-menu-empty"),er),"".concat($,"-rtl"),"rtl"===v)),ref:p},eo))}),X=r.forwardRef(function(e,t){var c=(0,h.lk)();return r.createElement(K,(0,o.Z)({},e,c,{ref:t}))}),U=c(56790);function G(){}function Q(e){var t=e.prefixCls,c=void 0===t?"rc-cascader":t,n=e.style,a=e.className,o=e.options,i=e.checkable,u=e.defaultValue,f=e.value,h=e.fieldNames,d=e.changeOnSelect,v=e.onChange,m=e.showCheckedStrategy,p=e.loadData,w=e.expandTrigger,M=e.expandIcon,Z=void 0===M?">":M,H=e.loadingIcon,b=e.direction,V=e.notFoundContent,C=void 0===V?"Not Found":V,x=!!i,E=(0,U.C8)(u,{value:f,postState:B}),y=(0,s.Z)(E,2),R=y[0],S=y[1],T=r.useMemo(function(){return L(h)},[JSON.stringify(h)]),$=F(T,o),A=(0,s.Z)($,3),D=A[0],N=A[1],q=A[2],j=P(x,R,N,q,k(D,T)),W=(0,s.Z)(j,3),Y=W[0],_=W[1],X=W[2],Q=(0,U.zX)(function(e){if(S(e),v){var t=B(e),c=t.map(function(e){return O(e,D,T).map(function(e){return e.option})});v(x?t:t[0],x?c:c[0])}}),J=I(x,Q,Y,_,X,N,q,m),ee=(0,U.zX)(function(e){J(e)}),et=r.useMemo(function(){return{options:D,fieldNames:T,values:Y,halfValues:_,changeOnSelect:d,onSelect:ee,checkable:i,searchOptions:[],dropdownPrefixCls:void 0,loadData:p,expandTrigger:w,expandIcon:Z,loadingIcon:H,dropdownMenuColumnStyle:void 0}},[D,T,Y,_,d,ee,i,p,w,Z,H]),ec="".concat(c,"-panel"),en=!D.length;return r.createElement(g.Provider,{value:et},r.createElement("div",{className:l()(ec,(0,z.Z)((0,z.Z)({},"".concat(ec,"-rtl"),"rtl"===b),"".concat(ec,"-empty"),en),a),style:n},en?C:r.createElement(K,{prefixCls:c,searchValue:"",multiple:x,toggleOpen:G,open:!0,direction:b})))}var J=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","dropdownStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy","optionRender"],ee=r.forwardRef(function(e,t){var c,n=e.id,a=e.prefixCls,l=void 0===a?"rc-cascader":a,z=e.fieldNames,w=e.defaultValue,M=e.value,Z=e.changeOnSelect,b=e.onChange,C=e.displayRender,y=e.checkable,R=e.autoClearSearchValue,T=void 0===R||R,$=e.searchValue,A=e.onSearch,D=e.showSearch,N=e.expandTrigger,q=e.options,j=e.dropdownPrefixCls,W=e.loadData,Y=e.popupVisible,_=e.open,K=e.popupClassName,U=e.dropdownClassName,G=e.dropdownMenuColumnStyle,Q=e.dropdownStyle,ee=e.popupPlacement,et=e.placement,ec=e.onDropdownVisibleChange,en=e.onPopupVisibleChange,er=e.expandIcon,ea=void 0===er?">":er,el=e.loadingIcon,eo=e.children,ei=e.dropdownMatchSelectWidth,eu=e.showCheckedStrategy,es=void 0===eu?V:eu,ef=e.optionRender,eh=(0,f.Z)(e,J),ed=(0,d.ZP)(n),ev=!!y,em=(0,m.Z)(w,{value:M,postState:B}),eg=(0,s.Z)(em,2),ep=eg[0],ez=eg[1],ew=r.useMemo(function(){return L(z)},[JSON.stringify(z)]),eM=F(ew,q),eZ=(0,s.Z)(eM,3),eH=eZ[0],eb=eZ[1],eV=eZ[2],eC=(0,m.Z)("",{value:$,postState:function(e){return e||""}}),ex=(0,s.Z)(eC,2),eE=ex[0],eL=ex[1],ey=r.useMemo(function(){if(!D)return[!1,{}];var e={matchInputWidth:!0,limit:50};return D&&"object"===(0,p.Z)(D)&&(e=(0,i.Z)((0,i.Z)({},e),D)),e.limit<=0&&delete e.limit,[!0,e]},[D]),eR=(0,s.Z)(ey,2),eB=eR[0],eS=eR[1],eO=H(eE,eH,ew,j||l,eS,Z),ek=P(ev,ep,eb,eV,k(eH,ew)),eT=(0,s.Z)(ek,3),e$=eT[0],eF=eT[1],eA=eT[2],eI=(c=r.useMemo(function(){var e=S(E(e$),eb,es);return[].concat((0,u.Z)(eA),(0,u.Z)(eV(e)))},[e$,eb,eV,eA,es]),r.useMemo(function(){var e=C||function(e){var t=ev?e.slice(-1):e;return t.every(function(e){return["string","number"].includes((0,p.Z)(e))})?t.join(" / "):t.reduce(function(e,t,c){var n=r.isValidElement(t)?r.cloneElement(t,{key:c}):t;return 0===c?[n]:[].concat((0,u.Z)(e),[" / ",n])},[])};return c.map(function(t){var c,n=O(t,eH,ew),r=e(n.map(function(e){var t,c=e.option,n=e.value;return null!==(t=null==c?void 0:c[ew.label])&&void 0!==t?t:n}),n.map(function(e){return e.option})),a=x(t);return{label:r,value:a,key:a,valueCells:t,disabled:null===(c=n[n.length-1])||void 0===c||null===(c=c.option)||void 0===c?void 0:c.disabled}})},[c,eH,ew,C,ev])),eP=(0,v.Z)(function(e){if(ez(e),b){var t=B(e),c=t.map(function(e){return O(e,eH,ew).map(function(e){return e.option})});b(ev?t:t[0],ev?c:c[0])}}),eD=I(ev,eP,e$,eF,eA,eb,eV,es),eN=(0,v.Z)(function(e){(!ev||T)&&eL(""),eD(e)}),eq=r.useMemo(function(){return{options:eH,fieldNames:ew,values:e$,halfValues:eF,changeOnSelect:Z,onSelect:eN,checkable:y,searchOptions:eO,dropdownPrefixCls:j,loadData:W,expandTrigger:N,expandIcon:ea,loadingIcon:el,dropdownMenuColumnStyle:G,optionRender:ef}},[eH,ew,e$,eF,Z,eN,y,eO,j,W,N,ea,el,G,ef]),ej=!(eE?eO:eH).length,eW=eE&&eS.matchInputWidth||ej?{}:{minWidth:"auto"};return r.createElement(g.Provider,{value:eq},r.createElement(h.Ac,(0,o.Z)({},eh,{ref:t,id:ed,prefixCls:l,autoClearSearchValue:T,dropdownMatchSelectWidth:void 0!==ei&&ei,dropdownStyle:(0,i.Z)((0,i.Z)({},eW),Q),displayValues:eI,onDisplayValuesChange:function(e,t){if("clear"===t.type){eP([]);return}eN(t.values[0].valueCells)},mode:ev?"multiple":void 0,searchValue:eE,onSearch:function(e,t){eL(e),"blur"!==t.source&&A&&A(e)},showSearch:eB,OptionList:X,emptyOptions:ej,open:void 0!==_?_:Y,dropdownClassName:U||K,placement:et||ee,onDropdownVisibleChange:function(e){null==ec||ec(e),null==en||en(e)},getRawInputElement:function(){return eo}})))});ee.SHOW_PARENT=V,ee.SHOW_CHILD=C,ee.Panel=Q;var et=c(98423),ec=c(87263),en=c(33603),er=c(8745),ea=c(9708),el=c(53124),eo=c(88258),ei=c(98866),eu=c(35792),es=c(98675),ef=c(65223),eh=c(27833),ed=c(30307),ev=c(15030),em=c(43277),eg=c(78642),ep=c(4173),ez=function(e,t){let{getPrefixCls:c,direction:n,renderEmpty:a}=r.useContext(el.E_),l=c("select",e),o=c("cascader",e);return[l,o,t||n,a]};function ew(e,t){return r.useMemo(()=>!!t&&r.createElement("span",{className:`${e}-checkbox-inner`}),[t])}var eM=c(97454),eZ=c(19267),eH=c(62994),eb=(e,t,c)=>{let n=c;c||(n=t?r.createElement(eM.Z,null):r.createElement(eH.Z,null));let a=r.createElement("span",{className:`${e}-menu-item-loading-icon`},r.createElement(eZ.Z,{spin:!0}));return r.useMemo(()=>[n,a],[n])},eV=c(80110),eC=c(83559),ex=c(47648),eE=c(63185),eL=c(14747),ey=e=>{let{prefixCls:t,componentCls:c}=e,n=`${c}-menu-item`,r=` - &${n}-expand ${n}-expand-icon, - ${n}-loading-icon -`;return[(0,eE.C2)(`${t}-checkbox`,e),{[c]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${c}-menu-empty`]:{[`${c}-menu`]:{width:"100%",height:"auto",[n]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,ex.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&-item":Object.assign(Object.assign({},eL.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:e.optionPadding,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[r]:{color:e.colorTextDisabled}},[`&-active:not(${n}-disabled)`]:{"&, &:hover":{fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg}},"&-content":{flex:"auto"},[r]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]};let eR=e=>{let{componentCls:t,antCls:c}=e;return[{[t]:{width:e.controlWidth}},{[`${t}-dropdown`]:[{[`&${c}-select-dropdown`]:{padding:0}},ey(e)]},{[`${t}-dropdown-rtl`]:{direction:"rtl"}},(0,eV.c)(e)]},eB=e=>{let t=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:e.controlItemBgActive,optionSelectedFontWeight:e.fontWeightStrong,optionPadding:`${t}px ${e.paddingSM}px`,menuPadding:e.paddingXXS}};var eS=(0,eC.I$)("Cascader",e=>[eR(e)],eB);let eO=e=>{let{componentCls:t}=e;return{[`${t}-panel`]:[ey(e),{display:"inline-flex",border:`${(0,ex.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:e.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${t}-menus`]:{alignItems:"stretch"},[`${t}-menu`]:{height:"auto"},"&-empty":{padding:e.paddingXXS}}]}};var ek=(0,eC.A1)(["Cascader","Panel"],e=>eO(e),eB),eT=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(c[n[r]]=e[n[r]]);return c};let{SHOW_CHILD:e$,SHOW_PARENT:eF}=ee,eA=(e,t,c,a)=>{let l=[],o=e.toLowerCase();return t.forEach((e,t)=>{0!==t&&l.push(" / ");let i=e[a.label],u=typeof i;("string"===u||"number"===u)&&(i=function(e,t,c){let a=e.toLowerCase().split(t).reduce((e,c,r)=>0===r?[c]:[].concat((0,n.Z)(e),[t,c]),[]),l=[],o=0;return a.forEach((t,n)=>{let a=o+t.length,i=e.slice(o,a);o=a,n%2==1&&(i=r.createElement("span",{className:`${c}-menu-item-keyword`,key:`separator-${n}`},i)),l.push(i)}),l}(String(i),o,c)),l.push(i)}),l},eI=r.forwardRef((e,t)=>{var c;let{prefixCls:n,size:a,disabled:o,className:i,rootClassName:u,multiple:s,bordered:f=!0,transitionName:h,choiceTransitionName:d="",popupClassName:v,dropdownClassName:m,expandIcon:g,placement:p,showSearch:z,allowClear:w=!0,notFoundContent:M,direction:Z,getPopupContainer:H,status:b,showArrow:V,builtinPlacements:C,style:x,variant:E}=e,L=eT(e,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),y=(0,et.Z)(L,["suffixIcon"]),{getPopupContainer:R,getPrefixCls:B,popupOverflow:S,cascader:O}=r.useContext(el.E_),{status:k,hasFeedback:T,isFormItemInput:$,feedbackIcon:F}=r.useContext(ef.aM),A=(0,ea.F)(k,b),[I,P,D,N]=ez(n,Z),q="rtl"===D,j=B(),W=(0,eu.Z)(I),[Y,_,K]=(0,ev.Z)(I,W),X=(0,eu.Z)(P),[U]=eS(P,X),{compactSize:G,compactItemClassnames:Q}=(0,ep.ri)(I,Z),[J,er]=(0,eh.Z)("cascader",E,f),eM=M||(null==N?void 0:N("Cascader"))||r.createElement(eo.Z,{componentName:"Cascader"}),eZ=l()(v||m,`${P}-dropdown`,{[`${P}-dropdown-rtl`]:"rtl"===D},u,W,X,_,K),eH=r.useMemo(()=>{if(!z)return z;let e={render:eA};return"object"==typeof z&&(e=Object.assign(Object.assign({},e),z)),e},[z]),eV=(0,es.Z)(e=>{var t;return null!==(t=null!=a?a:G)&&void 0!==t?t:e}),eC=r.useContext(ei.Z),[ex,eE]=eb(I,q,g),eL=ew(P,s),ey=(0,eg.Z)(e.suffixIcon,V),{suffixIcon:eR,removeIcon:eB,clearIcon:eO}=(0,em.Z)(Object.assign(Object.assign({},e),{hasFeedback:T,feedbackIcon:F,showSuffixIcon:ey,multiple:s,prefixCls:I,componentName:"Cascader"})),ek=r.useMemo(()=>void 0!==p?p:q?"bottomRight":"bottomLeft",[p,q]),[e$]=(0,ec.Cn)("SelectLike",null===(c=y.dropdownStyle)||void 0===c?void 0:c.zIndex),eF=r.createElement(ee,Object.assign({prefixCls:I,className:l()(!n&&P,{[`${I}-lg`]:"large"===eV,[`${I}-sm`]:"small"===eV,[`${I}-rtl`]:q,[`${I}-${J}`]:er,[`${I}-in-form-item`]:$},(0,ea.Z)(I,A,T),Q,null==O?void 0:O.className,i,u,W,X,_,K),disabled:null!=o?o:eC,style:Object.assign(Object.assign({},null==O?void 0:O.style),x)},y,{builtinPlacements:(0,ed.Z)(C,S),direction:D,placement:ek,notFoundContent:eM,allowClear:!0===w?{clearIcon:eO}:w,showSearch:eH,expandIcon:ex,suffixIcon:eR,removeIcon:eB,loadingIcon:eE,checkable:eL,dropdownClassName:eZ,dropdownPrefixCls:n||P,dropdownStyle:Object.assign(Object.assign({},y.dropdownStyle),{zIndex:e$}),choiceTransitionName:(0,en.m)(j,"",d),transitionName:(0,en.m)(j,"slide-up",h),getPopupContainer:H||R,ref:t}));return U(Y(eF))}),eP=(0,er.Z)(eI);eI.SHOW_PARENT=eF,eI.SHOW_CHILD=e$,eI.Panel=function(e){let{prefixCls:t,className:c,multiple:n,rootClassName:a,notFoundContent:o,direction:i,expandIcon:u}=e,[s,f,h,d]=ez(t,i),v=(0,eu.Z)(f),[m,g,p]=eS(f,v);ek(f);let[z,w]=eb(s,"rtl"===h,u),M=o||(null==d?void 0:d("Cascader"))||r.createElement(eo.Z,{componentName:"Cascader"}),Z=ew(f,n);return m(r.createElement(Q,Object.assign({},e,{checkable:Z,prefixCls:f,className:l()(c,g,a,p,v),notFoundContent:M,direction:h,expandIcon:z,loadingIcon:w})))},eI._InternalPanelDoNotUseOrYouWillBeFired=eP;var eD=eI},47221:function(e,t,c){"use strict";c.d(t,{Z:function(){return j}});var n=c(67294),r=c(62994),a=c(93967),l=c.n(a),o=c(87462),i=c(74902),u=c(97685),s=c(71002),f=c(21770),h=c(80334),d=c(45987),v=c(50344),m=c(4942),g=c(29372),p=c(15105),z=n.forwardRef(function(e,t){var c=e.prefixCls,r=e.forceRender,a=e.className,o=e.style,i=e.children,s=e.isActive,f=e.role,h=n.useState(s||r),d=(0,u.Z)(h,2),v=d[0],g=d[1];return(n.useEffect(function(){(r||s)&&g(!0)},[r,s]),v)?n.createElement("div",{ref:t,className:l()("".concat(c,"-content"),(0,m.Z)((0,m.Z)({},"".concat(c,"-content-active"),s),"".concat(c,"-content-inactive"),!s),a),style:o,role:f},n.createElement("div",{className:"".concat(c,"-content-box")},i)):null});z.displayName="PanelContent";var w=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],M=n.forwardRef(function(e,t){var c=e.showArrow,r=void 0===c||c,a=e.headerClass,i=e.isActive,u=e.onItemClick,s=e.forceRender,f=e.className,h=e.prefixCls,v=e.collapsible,M=e.accordion,Z=e.panelKey,H=e.extra,b=e.header,V=e.expandIcon,C=e.openMotion,x=e.destroyInactivePanel,E=e.children,L=(0,d.Z)(e,w),y="disabled"===v,R="header"===v,B="icon"===v,S=null!=H&&"boolean"!=typeof H,O=function(){null==u||u(Z)},k="function"==typeof V?V(e):n.createElement("i",{className:"arrow"});k&&(k=n.createElement("div",{className:"".concat(h,"-expand-icon"),onClick:["header","icon"].includes(v)?O:void 0},k));var T=l()((0,m.Z)((0,m.Z)((0,m.Z)({},"".concat(h,"-item"),!0),"".concat(h,"-item-active"),i),"".concat(h,"-item-disabled"),y),f),$={className:l()(a,(0,m.Z)((0,m.Z)((0,m.Z)({},"".concat(h,"-header"),!0),"".concat(h,"-header-collapsible-only"),R),"".concat(h,"-icon-collapsible-only"),B)),"aria-expanded":i,"aria-disabled":y,onKeyDown:function(e){("Enter"===e.key||e.keyCode===p.Z.ENTER||e.which===p.Z.ENTER)&&O()}};return R||B||($.onClick=O,$.role=M?"tab":"button",$.tabIndex=y?-1:0),n.createElement("div",(0,o.Z)({},L,{ref:t,className:T}),n.createElement("div",$,r&&k,n.createElement("span",{className:"".concat(h,"-header-text"),onClick:"header"===v?O:void 0},b),S&&n.createElement("div",{className:"".concat(h,"-extra")},H)),n.createElement(g.ZP,(0,o.Z)({visible:i,leavedClassName:"".concat(h,"-content-hidden")},C,{forceRender:s,removeOnLeave:x}),function(e,t){var c=e.className,r=e.style;return n.createElement(z,{ref:t,prefixCls:h,className:c,style:r,isActive:i,forceRender:s,role:M?"tabpanel":void 0},E)}))}),Z=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],H=function(e,t){var c=t.prefixCls,r=t.accordion,a=t.collapsible,l=t.destroyInactivePanel,i=t.onItemClick,u=t.activeKey,s=t.openMotion,f=t.expandIcon;return e.map(function(e,t){var h=e.children,v=e.label,m=e.key,g=e.collapsible,p=e.onItemClick,z=e.destroyInactivePanel,w=(0,d.Z)(e,Z),H=String(null!=m?m:t),b=null!=g?g:a,V=!1;return V=r?u[0]===H:u.indexOf(H)>-1,n.createElement(M,(0,o.Z)({},w,{prefixCls:c,key:H,panelKey:H,isActive:V,accordion:r,openMotion:s,expandIcon:f,header:v,collapsible:b,onItemClick:function(e){"disabled"!==b&&(i(e),null==p||p(e))},destroyInactivePanel:null!=z?z:l}),h)})},b=function(e,t,c){if(!e)return null;var r=c.prefixCls,a=c.accordion,l=c.collapsible,o=c.destroyInactivePanel,i=c.onItemClick,u=c.activeKey,s=c.openMotion,f=c.expandIcon,h=e.key||String(t),d=e.props,v=d.header,m=d.headerClass,g=d.destroyInactivePanel,p=d.collapsible,z=d.onItemClick,w=!1;w=a?u[0]===h:u.indexOf(h)>-1;var M=null!=p?p:l,Z={key:h,panelKey:h,header:v,headerClass:m,isActive:w,prefixCls:r,destroyInactivePanel:null!=g?g:o,openMotion:s,accordion:a,children:e.props.children,onItemClick:function(e){"disabled"!==M&&(i(e),null==z||z(e))},expandIcon:f,collapsible:M};return"string"==typeof e.type?e:(Object.keys(Z).forEach(function(e){void 0===Z[e]&&delete Z[e]}),n.cloneElement(e,Z))},V=c(64217);function C(e){var t=e;if(!Array.isArray(t)){var c=(0,s.Z)(t);t="number"===c||"string"===c?[t]:[]}return t.map(function(e){return String(e)})}var x=Object.assign(n.forwardRef(function(e,t){var c,r=e.prefixCls,a=void 0===r?"rc-collapse":r,s=e.destroyInactivePanel,d=e.style,m=e.accordion,g=e.className,p=e.children,z=e.collapsible,w=e.openMotion,M=e.expandIcon,Z=e.activeKey,x=e.defaultActiveKey,E=e.onChange,L=e.items,y=l()(a,g),R=(0,f.Z)([],{value:Z,onChange:function(e){return null==E?void 0:E(e)},defaultValue:x,postState:C}),B=(0,u.Z)(R,2),S=B[0],O=B[1];(0,h.ZP)(!p,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var k=(c={prefixCls:a,accordion:m,openMotion:w,expandIcon:M,collapsible:z,destroyInactivePanel:void 0!==s&&s,onItemClick:function(e){return O(function(){return m?S[0]===e?[]:[e]:S.indexOf(e)>-1?S.filter(function(t){return t!==e}):[].concat((0,i.Z)(S),[e])})},activeKey:S},Array.isArray(L)?H(L,c):(0,v.Z)(p).map(function(e,t){return b(e,t,c)}));return n.createElement("div",(0,o.Z)({ref:t,className:y,style:d,role:m?"tablist":void 0},(0,V.Z)(e,{aria:!0,data:!0})),k)}),{Panel:M});x.Panel;var E=c(98423),L=c(33603),y=c(96159),R=c(53124),B=c(98675);let S=n.forwardRef((e,t)=>{let{getPrefixCls:c}=n.useContext(R.E_),{prefixCls:r,className:a,showArrow:o=!0}=e,i=c("collapse",r),u=l()({[`${i}-no-arrow`]:!o},a);return n.createElement(x.Panel,Object.assign({ref:t},e,{prefixCls:i,className:u}))});var O=c(47648),k=c(14747),T=c(33507),$=c(83559),F=c(87893);let A=e=>{let{componentCls:t,contentBg:c,padding:n,headerBg:r,headerPadding:a,collapseHeaderPaddingSM:l,collapseHeaderPaddingLG:o,collapsePanelBorderRadius:i,lineWidth:u,lineType:s,colorBorder:f,colorText:h,colorTextHeading:d,colorTextDisabled:v,fontSizeLG:m,lineHeight:g,lineHeightLG:p,marginSM:z,paddingSM:w,paddingLG:M,paddingXS:Z,motionDurationSlow:H,fontSizeIcon:b,contentPadding:V,fontHeight:C,fontHeightLG:x}=e,E=`${(0,O.bf)(u)} ${s} ${f}`;return{[t]:Object.assign(Object.assign({},(0,k.Wf)(e)),{backgroundColor:r,border:E,borderRadius:i,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:E,"&:last-child":{[` - &, - & > ${t}-header`]:{borderRadius:`0 0 ${(0,O.bf)(i)} ${(0,O.bf)(i)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:a,color:d,lineHeight:g,cursor:"pointer",transition:`all ${H}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:C,display:"flex",alignItems:"center",paddingInlineEnd:z},[`${t}-arrow`]:Object.assign(Object.assign({},(0,k.Ro)()),{fontSize:b,transition:`transform ${H}`,svg:{transition:`transform ${H}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:h,backgroundColor:c,borderTop:E,[`& > ${t}-content-box`]:{padding:V},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:l,paddingInlineStart:Z,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(w).sub(Z).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:w}}},"&-large":{[`> ${t}-item`]:{fontSize:m,lineHeight:p,[`> ${t}-header`]:{padding:o,paddingInlineStart:n,[`> ${t}-expand-icon`]:{height:x,marginInlineStart:e.calc(M).sub(n).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:M}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${(0,O.bf)(i)} ${(0,O.bf)(i)}`}},[`& ${t}-item-disabled > ${t}-header`]:{[` - &, - & > .arrow - `]:{color:v,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:z}}}}})}},I=e=>{let{componentCls:t}=e,c=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[c]:{transform:"rotate(180deg)"}}}},P=e=>{let{componentCls:t,headerBg:c,paddingXXS:n,colorBorder:r}=e;return{[`${t}-borderless`]:{backgroundColor:c,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${r}`},[` - > ${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:n}}}},D=e=>{let{componentCls:t,paddingSM:c}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:c}}}}}};var N=(0,$.I$)("Collapse",e=>{let t=(0,F.IX)(e,{collapseHeaderPaddingSM:`${(0,O.bf)(e.paddingXS)} ${(0,O.bf)(e.paddingSM)}`,collapseHeaderPaddingLG:`${(0,O.bf)(e.padding)} ${(0,O.bf)(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[A(t),P(t),D(t),I(t),(0,T.Z)(t)]},e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}));let q=n.forwardRef((e,t)=>{let{getPrefixCls:c,direction:a,collapse:o}=n.useContext(R.E_),{prefixCls:i,className:u,rootClassName:s,style:f,bordered:h=!0,ghost:d,size:m,expandIconPosition:g="start",children:p,expandIcon:z}=e,w=(0,B.Z)(e=>{var t;return null!==(t=null!=m?m:e)&&void 0!==t?t:"middle"}),M=c("collapse",i),Z=c(),[H,b,V]=N(M),C=n.useMemo(()=>"left"===g?"start":"right"===g?"end":g,[g]),S=null!=z?z:null==o?void 0:o.expandIcon,O=n.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t="function"==typeof S?S(e):n.createElement(r.Z,{rotate:e.isActive?90:void 0,"aria-label":e.isActive?"expanded":"collapsed"});return(0,y.Tm)(t,()=>{var e;return{className:l()(null===(e=null==t?void 0:t.props)||void 0===e?void 0:e.className,`${M}-arrow`)}})},[S,M]),k=l()(`${M}-icon-position-${C}`,{[`${M}-borderless`]:!h,[`${M}-rtl`]:"rtl"===a,[`${M}-ghost`]:!!d,[`${M}-${w}`]:"middle"!==w},null==o?void 0:o.className,u,s,b,V),T=Object.assign(Object.assign({},(0,L.Z)(Z)),{motionAppear:!1,leavedClassName:`${M}-content-hidden`}),$=n.useMemo(()=>p?(0,v.Z)(p).map((e,t)=>{var c,n;if(null===(c=e.props)||void 0===c?void 0:c.disabled){let c=null!==(n=e.key)&&void 0!==n?n:String(t),{disabled:r,collapsible:a}=e.props,l=Object.assign(Object.assign({},(0,E.Z)(e.props,["disabled"])),{key:c,collapsible:null!=a?a:r?"disabled":void 0});return(0,y.Tm)(e,l)}return e}):null,[p]);return H(n.createElement(x,Object.assign({ref:t,openMotion:T},(0,E.Z)(e,["rootClassName"]),{expandIcon:O,prefixCls:M,className:k,style:Object.assign(Object.assign({},null==o?void 0:o.style),f)}),$))});var j=Object.assign(q,{Panel:S})},60497:function(e,t,c){"use strict";c.d(t,{default:function(){return c3}});var n=c(97909),r=c.n(n),a=c(80334),l=c(33088),o=c.n(l),i=c(26850),u=c.n(i),s=c(90888),f=c.n(s),h=c(99873),d=c.n(h),v=c(86625),m=c.n(v),g=c(40618),p=c.n(g);r().extend(p()),r().extend(m()),r().extend(o()),r().extend(u()),r().extend(f()),r().extend(d()),r().extend(function(e,t){var c=t.prototype,n=c.format;c.format=function(e){var t=(e||"").replace("Wo","wo");return n.bind(this)(t)}});var z={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},w=function(e){return z[e]||e.split("_")[0]},M=function(){(0,a.ET)(!1,"Not match any format. Please help to fire a issue about this.")},Z=c(8745),H=c(67294),b=c(83963),V=c(49842),C=c(30672),x=H.forwardRef(function(e,t){return H.createElement(C.Z,(0,b.Z)({},e,{ref:t,icon:V.Z}))}),E=c(99011),L=H.forwardRef(function(e,t){return H.createElement(C.Z,(0,b.Z)({},e,{ref:t,icon:E.Z}))}),y=c(19369),R=H.forwardRef(function(e,t){return H.createElement(C.Z,(0,b.Z)({},e,{ref:t,icon:y.Z}))}),B=c(93967),S=c.n(B);function O(){return(O=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var c=0,n=Array(t);c=0)continue;c[n]=e[n]}return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||({}).propertyIsEnumerable.call(e,c)&&(r[c]=e[c])}return r}var W=c(2788),Y=c(9220),_=c(34203),K=c(27571),X=c(66680),U=c(7028),G=c(31131),Q=c(29372),J=c(42550);function ee(e){var t=e.prefixCls,c=e.align,n=e.arrow,r=e.arrowPos,a=n||{},l=a.className,o=a.content,i=r.x,u=r.y,s=H.useRef();if(!c||!c.points)return null;var f={position:"absolute"};if(!1!==c.autoArrow){var h=c.points[0],d=c.points[1],v=h[0],m=h[1],g=d[0],p=d[1];v!==g&&["t","b"].includes(v)?"t"===v?f.top=0:f.bottom=0:f.top=void 0===u?0:u,m!==p&&["l","r"].includes(m)?"l"===m?f.left=0:f.right=0:f.left=void 0===i?0:i}return H.createElement("div",{ref:s,className:S()("".concat(t,"-arrow"),l),style:f},o)}function et(e){var t=e.prefixCls,c=e.open,n=e.zIndex,r=e.mask,a=e.motion;return r?H.createElement(Q.ZP,O({},a,{motionAppear:!0,visible:c,removeOnLeave:!0}),function(e){var c=e.className;return H.createElement("div",{style:{zIndex:n},className:S()("".concat(t,"-mask"),c)})}):null}var ec=H.memo(function(e){return e.children},function(e,t){return t.cache}),en=H.forwardRef(function(e,t){var c=e.popup,n=e.className,r=e.prefixCls,a=e.style,l=e.target,o=e.onVisibleChanged,i=e.open,u=e.keepDom,s=e.fresh,f=e.onClick,h=e.mask,d=e.arrow,v=e.arrowPos,m=e.align,g=e.motion,p=e.maskMotion,z=e.forceRender,w=e.getPopupContainer,M=e.autoDestroy,Z=e.portal,b=e.zIndex,V=e.onMouseEnter,C=e.onMouseLeave,x=e.onPointerEnter,E=e.ready,L=e.offsetX,y=e.offsetY,R=e.offsetR,B=e.offsetB,k=e.onAlign,T=e.onPrepare,$=e.stretch,I=e.targetWidth,D=e.targetHeight,N="function"==typeof c?c():c,q=(null==w?void 0:w.length)>0,j=A(H.useState(!w||!q),2),W=j[0],_=j[1];if((0,P.Z)(function(){!W&&q&&l&&_(!0)},[W,q,l]),!W)return null;var K="auto",X={left:"-1000vw",top:"-1000vh",right:K,bottom:K};if(E||!i){var U,G=m.points,en=m.dynamicInset||(null===(U=m._experimental)||void 0===U?void 0:U.dynamicInset),er=en&&"r"===G[0][1],ea=en&&"b"===G[0][0];er?(X.right=R,X.left=K):(X.left=L,X.right=K),ea?(X.bottom=B,X.top=K):(X.top=y,X.bottom=K)}var el={};return $&&($.includes("height")&&D?el.height=D:$.includes("minHeight")&&D&&(el.minHeight=D),$.includes("width")&&I?el.width=I:$.includes("minWidth")&&I&&(el.minWidth=I)),i||(el.pointerEvents="none"),H.createElement(Z,{open:z||i||u,getContainer:w&&function(){return w(l)},autoDestroy:M},H.createElement(et,{prefixCls:r,open:i,zIndex:b,mask:h,motion:p}),H.createElement(Y.Z,{onResize:k,disabled:!i},function(e){return H.createElement(Q.ZP,O({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:z,leavedClassName:"".concat(r,"-hidden")},g,{onAppearPrepare:T,onEnterPrepare:T,visible:i,onVisibleChanged:function(e){var t;null==g||null===(t=g.onVisibleChanged)||void 0===t||t.call(g,e),o(e)}}),function(c,l){var o=c.className,u=c.style,h=S()(r,o,n);return H.createElement("div",{ref:(0,J.sQ)(e,t,l),className:h,style:(0,F.Z)((0,F.Z)((0,F.Z)((0,F.Z)({"--arrow-x":"".concat(v.x||0,"px"),"--arrow-y":"".concat(v.y||0,"px")},X),el),u),{},{boxSizing:"border-box",zIndex:b},a),onMouseEnter:V,onMouseLeave:C,onPointerEnter:x,onClick:f},d&&H.createElement(ee,{prefixCls:r,arrow:d,arrowPos:v,align:m}),H.createElement(ec,{cache:!i&&!s},N))})}))}),er=H.forwardRef(function(e,t){var c=e.children,n=e.getTriggerDOMNode,r=(0,J.Yr)(c),a=H.useCallback(function(e){(0,J.mH)(t,n?n(e):e)},[n]),l=(0,J.x1)(a,c.ref);return r?H.cloneElement(c,{ref:l}):c}),ea=H.createContext(null);function el(e){return e?Array.isArray(e)?e:[e]:[]}var eo=c(5110);function ei(e,t,c,n){return t||(c?{motionName:"".concat(e,"-").concat(c)}:n?{motionName:n}:null)}function eu(e){return e.ownerDocument.defaultView}function es(e){for(var t=[],c=null==e?void 0:e.parentElement,n=["hidden","scroll","clip","auto"];c;){var r=eu(c).getComputedStyle(c);[r.overflowX,r.overflowY,r.overflow].some(function(e){return n.includes(e)})&&t.push(c),c=c.parentElement}return t}function ef(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function eh(e){return ef(parseFloat(e),0)}function ed(e,t){var c=(0,F.Z)({},e);return(t||[]).forEach(function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=eu(e).getComputedStyle(e),n=t.overflow,r=t.overflowClipMargin,a=t.borderTopWidth,l=t.borderBottomWidth,o=t.borderLeftWidth,i=t.borderRightWidth,u=e.getBoundingClientRect(),s=e.offsetHeight,f=e.clientHeight,h=e.offsetWidth,d=e.clientWidth,v=eh(a),m=eh(l),g=eh(o),p=eh(i),z=ef(Math.round(u.width/h*1e3)/1e3),w=ef(Math.round(u.height/s*1e3)/1e3),M=v*w,Z=g*z,H=0,b=0;if("clip"===n){var V=eh(r);H=V*z,b=V*w}var C=u.x+Z-H,x=u.y+M-b,E=C+u.width+2*H-Z-p*z-(h-d-g-p)*z,L=x+u.height+2*b-M-m*w-(s-f-v-m)*w;c.left=Math.max(c.left,C),c.top=Math.max(c.top,x),c.right=Math.min(c.right,E),c.bottom=Math.min(c.bottom,L)}}),c}function ev(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,c="".concat(t),n=c.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(c)}function em(e,t){var c=A(t||[],2),n=c[0],r=c[1];return[ev(e.width,n),ev(e.height,r)]}function eg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function ep(e,t){var c,n=t[0],r=t[1];return c="t"===n?e.y:"b"===n?e.y+e.height:e.y+e.height/2,{x:"l"===r?e.x:"r"===r?e.x+e.width:e.x+e.width/2,y:c}}function ez(e,t){var c={t:"b",b:"t",l:"r",r:"l"};return e.map(function(e,n){return n===t?c[e]||"c":e}).join("")}var ew=["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","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"],eM=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W.Z;return H.forwardRef(function(t,c){var n,r,a,l,o,i,u,s,f,h,d,v,m,g,p=t.prefixCls,z=void 0===p?"rc-trigger-popup":p,w=t.children,M=t.action,Z=void 0===M?"hover":M,b=t.showAction,V=t.hideAction,C=t.popupVisible,x=t.defaultPopupVisible,E=t.onPopupVisibleChange,L=t.afterPopupVisibleChange,y=t.mouseEnterDelay,R=t.mouseLeaveDelay,B=void 0===R?.1:R,O=t.focusDelay,k=t.blurDelay,T=t.mask,I=t.maskClosable,D=t.getPopupContainer,N=t.forceRender,q=t.autoDestroy,W=t.destroyPopupOnHide,Q=t.popup,J=t.popupClassName,ee=t.popupStyle,et=t.popupPlacement,ec=t.builtinPlacements,eh=void 0===ec?{}:ec,ev=t.popupAlign,eM=t.zIndex,eZ=t.stretch,eH=t.getPopupClassNameFromAlign,eb=t.fresh,eV=t.alignPoint,eC=t.onPopupClick,ex=t.onPopupAlign,eE=t.arrow,eL=t.popupMotion,ey=t.maskMotion,eR=t.popupTransitionName,eB=t.popupAnimation,eS=t.maskTransitionName,eO=t.maskAnimation,ek=t.className,eT=t.getTriggerDOMNode,e$=j(t,ew),eF=A(H.useState(!1),2),eA=eF[0],eI=eF[1];(0,P.Z)(function(){eI((0,G.Z)())},[]);var eP=H.useRef({}),eD=H.useContext(ea),eN=H.useMemo(function(){return{registerSubPopup:function(e,t){eP.current[e]=t,null==eD||eD.registerSubPopup(e,t)}}},[eD]),eq=(0,U.Z)(),ej=A(H.useState(null),2),eW=ej[0],eY=ej[1],e_=H.useRef(null),eK=(0,X.Z)(function(e){e_.current=e,(0,_.Sh)(e)&&eW!==e&&eY(e),null==eD||eD.registerSubPopup(eq,e)}),eX=A(H.useState(null),2),eU=eX[0],eG=eX[1],eQ=H.useRef(null),eJ=(0,X.Z)(function(e){(0,_.Sh)(e)&&eU!==e&&(eG(e),eQ.current=e)}),e1=H.Children.only(w),e4=(null==e1?void 0:e1.props)||{},e2={},e3=(0,X.Z)(function(e){var t,c;return(null==eU?void 0:eU.contains(e))||(null===(t=(0,K.A)(eU))||void 0===t?void 0:t.host)===e||e===eU||(null==eW?void 0:eW.contains(e))||(null===(c=(0,K.A)(eW))||void 0===c?void 0:c.host)===e||e===eW||Object.values(eP.current).some(function(t){return(null==t?void 0:t.contains(e))||e===t})}),e8=ei(z,eL,eB,eR),e6=ei(z,ey,eO,eS),e0=A(H.useState(x||!1),2),e5=e0[0],e7=e0[1],e9=null!=C?C:e5,te=(0,X.Z)(function(e){void 0===C&&e7(e)});(0,P.Z)(function(){e7(C||!1)},[C]);var tt=H.useRef(e9);tt.current=e9;var tc=H.useRef([]);tc.current=[];var tn=(0,X.Z)(function(e){var t;te(e),(null!==(t=tc.current[tc.current.length-1])&&void 0!==t?t:e9)!==e&&(tc.current.push(e),null==E||E(e))}),tr=H.useRef(),ta=function(){clearTimeout(tr.current)},tl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;ta(),0===t?tn(e):tr.current=setTimeout(function(){tn(e)},1e3*t)};H.useEffect(function(){return ta},[]);var to=A(H.useState(!1),2),ti=to[0],tu=to[1];(0,P.Z)(function(e){(!e||e9)&&tu(!0)},[e9]);var ts=A(H.useState(null),2),tf=ts[0],th=ts[1],td=A(H.useState([0,0]),2),tv=td[0],tm=td[1],tg=function(e){tm([e.clientX,e.clientY])},tp=(n=eV?tv:eU,a=(r=A(H.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:eh[et]||{}}),2))[0],l=r[1],o=H.useRef(0),i=H.useMemo(function(){return eW?es(eW):[]},[eW]),u=H.useRef({}),e9||(u.current={}),s=(0,X.Z)(function(){if(eW&&n&&e9){var e,t,c,r,a,o,s,f=eW.ownerDocument,h=eu(eW).getComputedStyle(eW),d=h.width,v=h.height,m=h.position,g=eW.style.left,p=eW.style.top,z=eW.style.right,w=eW.style.bottom,M=eW.style.overflow,Z=(0,F.Z)((0,F.Z)({},eh[et]),ev),H=f.createElement("div");if(null===(e=eW.parentElement)||void 0===e||e.appendChild(H),H.style.left="".concat(eW.offsetLeft,"px"),H.style.top="".concat(eW.offsetTop,"px"),H.style.position=m,H.style.height="".concat(eW.offsetHeight,"px"),H.style.width="".concat(eW.offsetWidth,"px"),eW.style.left="0",eW.style.top="0",eW.style.right="auto",eW.style.bottom="auto",eW.style.overflow="hidden",Array.isArray(n))c={x:n[0],y:n[1],width:0,height:0};else{var b=n.getBoundingClientRect();c={x:b.x,y:b.y,width:b.width,height:b.height}}var V=eW.getBoundingClientRect(),C=f.documentElement,x=C.clientWidth,E=C.clientHeight,L=C.scrollWidth,y=C.scrollHeight,R=C.scrollTop,B=C.scrollLeft,S=V.height,O=V.width,k=c.height,T=c.width,$=Z.htmlRegion,I="visible",P="visibleFirst";"scroll"!==$&&$!==P&&($=I);var D=$===P,N=ed({left:-B,top:-R,right:L-B,bottom:y-R},i),q=ed({left:0,top:0,right:x,bottom:E},i),j=$===I?q:N,W=D?q:j;eW.style.left="auto",eW.style.top="auto",eW.style.right="0",eW.style.bottom="0";var Y=eW.getBoundingClientRect();eW.style.left=g,eW.style.top=p,eW.style.right=z,eW.style.bottom=w,eW.style.overflow=M,null===(t=eW.parentElement)||void 0===t||t.removeChild(H);var K=ef(Math.round(O/parseFloat(d)*1e3)/1e3),X=ef(Math.round(S/parseFloat(v)*1e3)/1e3);if(!(0===K||0===X||(0,_.Sh)(n)&&!(0,eo.Z)(n))){var U=Z.offset,G=Z.targetOffset,Q=A(em(V,U),2),J=Q[0],ee=Q[1],ec=A(em(c,G),2),en=ec[0],er=ec[1];c.x-=en,c.y-=er;var ea=A(Z.points||[],2),el=ea[0],ei=eg(ea[1]),es=eg(el),ew=ep(c,ei),eM=ep(V,es),eZ=(0,F.Z)({},Z),eH=ew.x-eM.x+J,eb=ew.y-eM.y+ee,eV=tn(eH,eb),eC=tn(eH,eb,q),eE=ep(c,["t","l"]),eL=ep(V,["t","l"]),ey=ep(c,["b","r"]),eR=ep(V,["b","r"]),eB=Z.overflow||{},eS=eB.adjustX,eO=eB.adjustY,ek=eB.shiftX,eT=eB.shiftY,e$=function(e){return"boolean"==typeof e?e:e>=0};tr();var eF=e$(eO),eA=es[0]===ei[0];if(eF&&"t"===es[0]&&(a>W.bottom||u.current.bt)){var eI=eb;eA?eI-=S-k:eI=eE.y-eR.y-ee;var eP=tn(eH,eI),eD=tn(eH,eI,q);eP>eV||eP===eV&&(!D||eD>=eC)?(u.current.bt=!0,eb=eI,ee=-ee,eZ.points=[ez(es,0),ez(ei,0)]):u.current.bt=!1}if(eF&&"b"===es[0]&&(reV||eq===eV&&(!D||ej>=eC)?(u.current.tb=!0,eb=eN,ee=-ee,eZ.points=[ez(es,0),ez(ei,0)]):u.current.tb=!1}var eY=e$(eS),e_=es[1]===ei[1];if(eY&&"l"===es[1]&&(s>W.right||u.current.rl)){var eK=eH;e_?eK-=O-T:eK=eE.x-eR.x-J;var eX=tn(eK,eb),eU=tn(eK,eb,q);eX>eV||eX===eV&&(!D||eU>=eC)?(u.current.rl=!0,eH=eK,J=-J,eZ.points=[ez(es,1),ez(ei,1)]):u.current.rl=!1}if(eY&&"r"===es[1]&&(oeV||eQ===eV&&(!D||eJ>=eC)?(u.current.lr=!0,eH=eG,J=-J,eZ.points=[ez(es,1),ez(ei,1)]):u.current.lr=!1}tr();var e1=!0===ek?0:ek;"number"==typeof e1&&(oq.right&&(eH-=s-q.right-J,c.x>q.right-e1&&(eH+=c.x-q.right+e1)));var e4=!0===eT?0:eT;"number"==typeof e4&&(rq.bottom&&(eb-=a-q.bottom-ee,c.y>q.bottom-e4&&(eb+=c.y-q.bottom+e4)));var e2=V.x+eH,e3=V.y+eb,e8=c.x,e6=c.y,e0=Math.max(e2,e8),e5=Math.min(e2+O,e8+T),e7=Math.max(e3,e6),te=Math.min(e3+S,e6+k);null==ex||ex(eW,eZ);var tt=Y.right-V.x-(eH+V.width),tc=Y.bottom-V.y-(eb+V.height);1===K&&(eH=Math.round(eH),tt=Math.round(tt)),1===X&&(eb=Math.round(eb),tc=Math.round(tc)),l({ready:!0,offsetX:eH/K,offsetY:eb/X,offsetR:tt/K,offsetB:tc/X,arrowX:((e0+e5)/2-e2)/K,arrowY:((e7+te)/2-e3)/X,scaleX:K,scaleY:X,align:eZ})}function tn(e,t){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:j,n=V.x+e,r=V.y+t,a=Math.max(n,c.left),l=Math.max(r,c.top);return Math.max(0,(Math.min(n+O,c.right)-a)*(Math.min(r+S,c.bottom)-l))}function tr(){a=(r=V.y+eb)+S,s=(o=V.x+eH)+O}}}),f=function(){l(function(e){return(0,F.Z)((0,F.Z)({},e),{},{ready:!1})})},(0,P.Z)(f,[et]),(0,P.Z)(function(){e9||f()},[e9]),[a.ready,a.offsetX,a.offsetY,a.offsetR,a.offsetB,a.arrowX,a.arrowY,a.scaleX,a.scaleY,a.align,function(){o.current+=1;var e=o.current;Promise.resolve().then(function(){o.current===e&&s()})}]),tz=A(tp,11),tw=tz[0],tM=tz[1],tZ=tz[2],tH=tz[3],tb=tz[4],tV=tz[5],tC=tz[6],tx=tz[7],tE=tz[8],tL=tz[9],ty=tz[10],tR=A(H.useMemo(function(){var e=el(null!=b?b:Z),t=el(null!=V?V:Z),c=new Set(e),n=new Set(t);return eA&&(c.has("hover")&&(c.delete("hover"),c.add("click")),n.has("hover")&&(n.delete("hover"),n.add("click"))),[c,n]},[eA,Z,b,V]),2),tB=tR[0],tS=tR[1],tO=tB.has("click"),tk=tS.has("click")||tS.has("contextMenu"),tT=(0,X.Z)(function(){ti||ty()});h=function(){tt.current&&eV&&tk&&tl(!1)},(0,P.Z)(function(){if(e9&&eU&&eW){var e=es(eU),t=es(eW),c=eu(eW),n=new Set([c].concat($(e),$(t)));function r(){tT(),h()}return n.forEach(function(e){e.addEventListener("scroll",r,{passive:!0})}),c.addEventListener("resize",r,{passive:!0}),tT(),function(){n.forEach(function(e){e.removeEventListener("scroll",r),c.removeEventListener("resize",r)})}}},[e9,eU,eW]),(0,P.Z)(function(){tT()},[tv,et]),(0,P.Z)(function(){e9&&!(null!=eh&&eh[et])&&tT()},[JSON.stringify(ev)]);var t$=H.useMemo(function(){var e=function(e,t,c,n){for(var r=c.points,a=Object.keys(e),l=0;l0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],c=arguments.length>2?arguments[2]:void 0;return c?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}(null===(o=e[i])||void 0===o?void 0:o.points,r,n))return"".concat(t,"-placement-").concat(i)}return""}(eh,z,tL,eV);return S()(e,null==eH?void 0:eH(tL))},[tL,eH,eh,z,eV]);H.useImperativeHandle(c,function(){return{nativeElement:eQ.current,popupElement:e_.current,forceAlign:tT}});var tF=A(H.useState(0),2),tA=tF[0],tI=tF[1],tP=A(H.useState(0),2),tD=tP[0],tN=tP[1],tq=function(){if(eZ&&eU){var e=eU.getBoundingClientRect();tI(e.width),tN(e.height)}};function tj(e,t,c,n){e2[e]=function(r){var a;null==n||n(r),tl(t,c);for(var l=arguments.length,o=Array(l>1?l-1:0),i=1;i1?c-1:0),r=1;r1?c-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:"0",n=String(e);n.length2&&void 0!==arguments[2]?arguments[2]:[],n=A(H.useState([!1,!1]),2),r=n[0],a=n[1];return[H.useMemo(function(){return r.map(function(n,r){if(n)return!0;var a=e[r];return!!a&&!!(!c[r]&&!a||a&&t(a,{activeIndex:r}))})},[e,r,t,c]),function(e,t){a(function(c){return ey(c,t,e)})}]}function e$(e,t,c,n,r){var a="",l=[];return e&&l.push(r?"hh":"HH"),t&&l.push("mm"),c&&l.push("ss"),a=l.join(":"),n&&(a+=".SSS"),r&&(a+=" A"),a}function eF(e,t){var c=t.showHour,n=t.showMinute,r=t.showSecond,a=t.showMillisecond,l=t.use12Hours;return H.useMemo(function(){var t,o,i,u,s,f,h,d,v,m,g,p,z;return t=e.fieldDateTimeFormat,o=e.fieldDateFormat,i=e.fieldTimeFormat,u=e.fieldMonthFormat,s=e.fieldYearFormat,f=e.fieldWeekFormat,h=e.fieldQuarterFormat,d=e.yearFormat,v=e.cellYearFormat,m=e.cellQuarterFormat,g=e.dayFormat,p=e.cellDateFormat,z=e$(c,n,r,a,l),(0,F.Z)((0,F.Z)({},e),{},{fieldDateTimeFormat:t||"YYYY-MM-DD ".concat(z),fieldDateFormat:o||"YYYY-MM-DD",fieldTimeFormat:i||z,fieldMonthFormat:u||"YYYY-MM",fieldYearFormat:s||"YYYY",fieldWeekFormat:f||"gggg-wo",fieldQuarterFormat:h||"YYYY-[Q]Q",yearFormat:d||"YYYY",cellYearFormat:v||"YYYY",cellQuarterFormat:m||"[Q]Q",cellDateFormat:p||g||"D"})},[e,c,n,r,a,l])}var eA=c(51074);function eI(e,t,c){return null!=c?c:t.some(function(t){return e.includes(t)})}var eP=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function eD(e,t,c,n){return[e,t,c,n].some(function(e){return void 0!==e})}function eN(e,t,c,n,r){var a=t,l=c,o=n;if(e||a||l||o||r){if(e){var i,u,s,f=[a,l,o].some(function(e){return!1===e}),h=[a,l,o].some(function(e){return!0===e}),d=!!f||!h;a=null!==(i=a)&&void 0!==i?i:d,l=null!==(u=l)&&void 0!==u?u:d,o=null!==(s=o)&&void 0!==s?s:d}}else a=!0,l=!0,o=!0;return[a,l,o,r]}function eq(e){var t,c,n,r,a=e.showTime,l=A((t=eR(e,eP),c=e.format,n=e.picker,r=null,c&&(Array.isArray(r=c)&&(r=r[0]),r="object"===(0,eA.Z)(r)?r.format:r),"time"===n&&(t.format=r),[t,r]),2),o=l[0],i=l[1],u=a&&"object"===(0,eA.Z)(a)?a:{},s=(0,F.Z)((0,F.Z)({defaultOpenValue:u.defaultOpenValue||u.defaultValue},o),u),f=s.showMillisecond,h=s.showHour,d=s.showMinute,v=s.showSecond,m=A(eN(eD(h,d,v,f),h,d,v,f),3);return h=m[0],d=m[1],v=m[2],[s,(0,F.Z)((0,F.Z)({},s),{},{showHour:h,showMinute:d,showSecond:v,showMillisecond:f}),s.format,i]}function ej(e,t,c,n,r){var a="time"===e;if("datetime"===e||a){for(var l=eB(e,r,null),o=[t,c],i=0;i1&&void 0!==arguments[1]&&arguments[1];return H.useMemo(function(){var c=e?eL(e):e;return t&&c&&(c[1]=c[1]||c[0]),c},[e,t])}function e0(e,t){var c=e.generateConfig,n=e.locale,r=e.picker,a=void 0===r?"date":r,l=e.prefixCls,o=void 0===l?"rc-picker":l,i=e.styles,u=void 0===i?{}:i,s=e.classNames,f=void 0===s?{}:s,h=e.order,d=void 0===h||h,v=e.components,m=void 0===v?{}:v,g=e.inputRender,p=e.allowClear,z=e.clearIcon,w=e.needConfirm,M=e.multiple,Z=e.format,b=e.inputReadOnly,V=e.disabledDate,C=e.minDate,x=e.maxDate,E=e.showTime,L=e.value,y=e.defaultValue,R=e.pickerValue,B=e.defaultPickerValue,S=e6(L),O=e6(y),k=e6(R),T=e6(B),$="date"===a&&E?"datetime":a,P="time"===$||"datetime"===$,D=P||M,N=null!=w?w:P,q=A(eq(e),4),j=q[0],W=q[1],Y=q[2],_=q[3],K=eF(n,W),X=H.useMemo(function(){return ej($,Y,_,j,K)},[$,Y,_,j,K]),U=H.useMemo(function(){return(0,F.Z)((0,F.Z)({},e),{},{prefixCls:o,locale:K,picker:a,styles:u,classNames:f,order:d,components:(0,F.Z)({input:g},m),clearIcon:!1===p?null:(p&&"object"===(0,eA.Z)(p)?p:{}).clearIcon||z||H.createElement("span",{className:"".concat(o,"-clear-btn")}),showTime:X,value:S,defaultValue:O,pickerValue:k,defaultPickerValue:T},null==t?void 0:t())},[e]),G=A(H.useMemo(function(){var e=eL(eB($,K,Z)),t=e[0],c="object"===(0,eA.Z)(t)&&"mask"===t.type?t.format:null;return[e.map(function(e){return"string"==typeof e||"function"==typeof e?e:e.format}),c]},[$,K,Z]),2),Q=G[0],J=G[1],ee="function"==typeof Q[0]||!!M||b,et=(0,I.zX)(function(e,t){return!!(V&&V(e,t)||C&&c.isAfter(C,e)&&!e1(c,n,C,e,t.type)||x&&c.isAfter(e,x)&&!e1(c,n,x,e,t.type))}),ec=(0,I.zX)(function(e,t){var n=(0,F.Z)({type:a},t);if(delete n.activeIndex,!c.isValidate(e)||et&&et(e,n))return!0;if(("date"===a||"time"===a)&&X){var r,l=t&&1===t.activeIndex?"end":"start",o=(null===(r=X.disabledTime)||void 0===r?void 0:r.call(X,e,l,{from:n.from}))||{},i=o.disabledHours,u=o.disabledMinutes,s=o.disabledSeconds,f=o.disabledMilliseconds,h=X.disabledHours,d=X.disabledMinutes,v=X.disabledSeconds,m=i||h,g=u||d,p=s||v,z=c.getHour(e),w=c.getMinute(e),M=c.getSecond(e),Z=c.getMillisecond(e);if(m&&m().includes(z)||g&&g(z).includes(w)||p&&p(z,w).includes(M)||f&&f(z,w,M).includes(Z))return!0}return!1});return[H.useMemo(function(){return(0,F.Z)((0,F.Z)({},U),{},{needConfirm:N,inputReadOnly:ee,disabledDate:et})},[U,N,ee,et]),$,D,Q,J,ec]}function e5(e,t){var c,n,r,a,l,o,i,u,s,f,h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],d=arguments.length>3?arguments[3]:void 0,v=(c=!h.every(function(e){return e})&&e,n=t||!1,a=(r=A((0,I.C8)(n,{value:c}),2))[0],l=r[1],o=H.useRef(c),i=H.useRef(),u=function(){eZ.Z.cancel(i.current)},s=(0,I.zX)(function(){l(o.current),d&&a!==o.current&&d(o.current)}),f=(0,I.zX)(function(e,t){u(),o.current=e,e||t?s():i.current=(0,eZ.Z)(s)}),H.useEffect(function(){return u},[]),[a,f]),m=A(v,2),g=m[0],p=m[1];return[g,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(!t.inherit||g)&&p(e,t.force)}]}function e7(e){var t=H.useRef();return H.useImperativeHandle(e,function(){var e;return{nativeElement:null===(e=t.current)||void 0===e?void 0:e.nativeElement,focus:function(e){var c;null===(c=t.current)||void 0===c||c.focus(e)},blur:function(){var e;null===(e=t.current)||void 0===e||e.blur()}}}),t}function e9(e,t){return H.useMemo(function(){return e||(t?((0,a.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(e){var t=A(e,2);return{label:t[0],value:t[1]}})):[])},[e,t])}function te(e,t){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=H.useRef(t);n.current=t,(0,P.o)(function(){if(e)n.current(e);else{var t=(0,eZ.Z)(function(){n.current(e)},c);return function(){eZ.Z.cancel(t)}}},[e])}function tt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=A(H.useState(0),2),r=n[0],a=n[1],l=A(H.useState(!1),2),o=l[0],i=l[1],u=H.useRef([]),s=H.useRef(null);return te(o||c,function(){o||(u.current=[])}),H.useEffect(function(){o&&u.current.push(r)},[o,r]),[o,function(e){i(e)},function(e){return e&&(s.current=e),s.current},r,a,function(c){var n=u.current,r=new Set(n.filter(function(e){return c[e]||t[e]})),a=0===n[n.length-1]?1:0;return r.size>=2||e[a]?null:a},u.current]}function tc(e,t,c,n){switch(t){case"date":case"week":return e.addMonth(c,n);case"month":case"quarter":return e.addYear(c,n);case"year":return e.addYear(c,10*n);case"decade":return e.addYear(c,100*n);default:return c}}var tn=[];function tr(e,t,c,n,r,a,l,o){var i=arguments.length>8&&void 0!==arguments[8]?arguments[8]:tn,u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:tn,s=arguments.length>10&&void 0!==arguments[10]?arguments[10]:tn,f=arguments.length>11?arguments[11]:void 0,h=arguments.length>12?arguments[12]:void 0,d=arguments.length>13?arguments[13]:void 0,v="time"===l,m=a||0,g=function(t){var n=e.getNow();return v&&(n=e8(e,n)),i[t]||c[t]||n},p=A(u,2),z=p[0],w=p[1],M=A((0,I.C8)(function(){return g(0)},{value:z}),2),Z=M[0],b=M[1],V=A((0,I.C8)(function(){return g(1)},{value:w}),2),C=V[0],x=V[1],E=H.useMemo(function(){var t=[Z,C][m];return v?t:e8(e,t,s[m])},[v,Z,C,m,e,s]),L=function(c){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"panel";(0,[b,x][m])(c);var a=[Z,C];a[m]=c,!f||e1(e,t,Z,a[0],l)&&e1(e,t,C,a[1],l)||f(a,{source:r,range:1===m?"end":"start",mode:n})},y=function(c,n){if(o){var r={date:"month",week:"month",month:"year",quarter:"year"}[l];if(r&&!e1(e,t,c,n,r)||"year"===l&&c&&Math.floor(e.getYear(c)/10)!==Math.floor(e.getYear(n)/10))return tc(e,l,n,-1)}return n},R=H.useRef(null);return(0,P.Z)(function(){if(r&&!i[m]){var t=v?null:e.getNow();if(null!==R.current&&R.current!==m?t=[Z,C][1^m]:c[m]?t=0===m?c[0]:y(c[0],c[1]):c[1^m]&&(t=c[1^m]),t){h&&e.isAfter(h,t)&&(t=h);var n=o?tc(e,l,t,1):t;d&&e.isAfter(n,d)&&(t=o?tc(e,l,d,-1):d),L(t,"reset")}}},[r,m,c[m]]),H.useEffect(function(){r?R.current=m:R.current=null},[r,m]),(0,P.Z)(function(){r&&i&&i[m]&&L(i[m],"reset")},[r,m]),[E,L]}function ta(e,t){var c=H.useRef(e),n=A(H.useState({}),2)[1],r=function(e){return e&&void 0!==t?t:c.current};return[r,function(e){c.current=e,n({})},r(!0)]}var tl=[];function to(e,t,c){return[function(n){return n.map(function(n){return e3(n,{generateConfig:e,locale:t,format:c[0]})})},function(t,c){for(var n=Math.max(t.length,c.length),r=-1,a=0;a2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:2,l=[],o=c>=1?0|c:1,i=e;i<=t;i+=o){var u=r.includes(i);u&&n||l.push({label:eE(i,a),value:i,disabled:u})}return l}function tv(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2?arguments[2]:void 0,n=t||{},r=n.use12Hours,a=n.hourStep,l=void 0===a?1:a,o=n.minuteStep,i=void 0===o?1:o,u=n.secondStep,s=void 0===u?1:u,f=n.millisecondStep,h=void 0===f?100:f,d=n.hideDisabledOptions,v=n.disabledTime,m=n.disabledHours,g=n.disabledMinutes,p=n.disabledSeconds,z=H.useMemo(function(){return c||e.getNow()},[c,e]),w=H.useCallback(function(e){var t=(null==v?void 0:v(e))||{};return[t.disabledHours||m||th,t.disabledMinutes||g||th,t.disabledSeconds||p||th,t.disabledMilliseconds||th]},[v,m,g,p]),M=A(H.useMemo(function(){return w(z)},[z,w]),4),Z=M[0],b=M[1],V=M[2],C=M[3],x=H.useCallback(function(e,t,c,n){var a=td(0,23,l,d,e());return[r?a.map(function(e){return(0,F.Z)((0,F.Z)({},e),{},{label:eE(e.value%12||12,2)})}):a,function(e){return td(0,59,i,d,t(e))},function(e,t){return td(0,59,s,d,c(e,t))},function(e,t,c){return td(0,999,h,d,n(e,t,c),3)}]},[d,l,r,h,i,s]),E=A(H.useMemo(function(){return x(Z,b,V,C)},[x,Z,b,V,C]),4),L=E[0],y=E[1],R=E[2],B=E[3];return[function(t,c){var n=function(){return L},r=y,a=R,l=B;if(c){var o=A(w(c),4),i=A(x(o[0],o[1],o[2],o[3]),4),u=i[0],s=i[1],f=i[2],h=i[3];n=function(){return u},r=s,a=f,l=h}return function(e,t,c,n,r,a){var l=e;function o(e,t,c){var n=a[e](l),r=c.find(function(e){return e.value===n});if(!r||r.disabled){var o=c.filter(function(e){return!e.disabled}),i=$(o).reverse().find(function(e){return e.value<=n})||o[0];i&&(n=i.value,l=a[t](l,n))}return n}var i=o("getHour","setHour",t()),u=o("getMinute","setMinute",c(i)),s=o("getSecond","setSecond",n(i,u));return o("getMillisecond","setMillisecond",r(i,u,s)),l}(t,n,r,a,l,e)},L,y,R,B]}function tm(e){var t=e.mode,c=e.internalMode,n=e.renderExtraFooter,r=e.showNow,a=e.showTime,l=e.onSubmit,o=e.onNow,i=e.invalid,u=e.needConfirm,s=e.generateConfig,f=e.disabledDate,h=H.useContext(eV),d=h.prefixCls,v=h.locale,m=h.button,g=s.getNow(),p=A(tv(s,a,g),1)[0],z=null==n?void 0:n(t),w=f(g,{type:t}),M="".concat(d,"-now"),Z="".concat(M,"-btn"),b=r&&H.createElement("li",{className:M},H.createElement("a",{className:S()(Z,w&&"".concat(Z,"-disabled")),"aria-disabled":w,onClick:function(){w||o(p(g))}},"date"===c?v.today:v.now)),V=u&&H.createElement("li",{className:"".concat(d,"-ok")},H.createElement(void 0===m?"button":m,{disabled:i,onClick:l},v.ok)),C=(b||V)&&H.createElement("ul",{className:"".concat(d,"-ranges")},b,V);return z||C?H.createElement("div",{className:"".concat(d,"-footer")},z&&H.createElement("div",{className:"".concat(d,"-footer-extra")},z),C):null}function tg(e,t,c){return function(n,r){var a=n.findIndex(function(n){return e1(e,t,n,r,c)});if(-1===a)return[].concat($(n),[r]);var l=$(n);return l.splice(a,1),l}}var tp=H.createContext(null);function tz(){return H.useContext(tp)}function tw(e,t){var c=e.prefixCls,n=e.generateConfig,r=e.locale,a=e.disabledDate,l=e.minDate,o=e.maxDate,i=e.cellRender,u=e.hoverValue,s=e.hoverRangeValue,f=e.onHover,h=e.values,d=e.pickerValue,v=e.onSelect,m=e.prevIcon,g=e.nextIcon,p=e.superPrevIcon,z=e.superNextIcon,w=n.getNow();return[{now:w,values:h,pickerValue:d,prefixCls:c,disabledDate:a,minDate:l,maxDate:o,cellRender:i,hoverValue:u,hoverRangeValue:s,onHover:f,locale:r,generateConfig:n,onSelect:v,panelType:t,prevIcon:m,nextIcon:g,superPrevIcon:p,superNextIcon:z},w]}var tM=H.createContext({});function tZ(e){for(var t=e.rowNum,c=e.colNum,n=e.baseDate,r=e.getCellDate,a=e.prefixColumn,l=e.rowClassName,o=e.titleFormat,i=e.getCellText,u=e.getCellClassName,s=e.headerCells,f=e.cellSelection,h=void 0===f||f,d=e.disabledDate,v=tz(),m=v.prefixCls,g=v.panelType,p=v.now,z=v.disabledDate,w=v.cellRender,M=v.onHover,Z=v.hoverValue,b=v.hoverRangeValue,V=v.generateConfig,C=v.values,x=v.locale,E=v.onSelect,L=d||z,y="".concat(m,"-cell"),R=H.useContext(tM).onCellDblClick,B=function(e){return C.some(function(t){return t&&e1(V,x,e,t,g)})},O=[],k=0;k1&&(a=u.addDate(a,-7)),a),y=u.getMonth(s),R=(void 0===z?Z:z)?function(e){var t=null==m?void 0:m(e,{type:"week"});return H.createElement("td",{key:"week",className:S()(M,"".concat(M,"-week"),(0,q.Z)({},"".concat(M,"-disabled"),t)),onClick:function(){t||g(e)},onMouseEnter:function(){t||null==p||p(e)},onMouseLeave:function(){t||null==p||p(null)}},H.createElement("div",{className:"".concat(M,"-inner")},u.locale.getWeek(i.locale,e)))}:null,B=[],k=i.shortWeekDays||(u.locale.getShortWeekDays?u.locale.getShortWeekDays(i.locale):[]);R&&B.push(H.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var T=0;T<7;T+=1)B.push(H.createElement("th",{key:T},k[(T+x)%7]));var $=i.shortMonths||(u.locale.getShortMonths?u.locale.getShortMonths(i.locale):[]),F=H.createElement("button",{type:"button","aria-label":"year panel",key:"year",onClick:function(){h("year",s)},tabIndex:-1,className:"".concat(l,"-year-btn")},e3(s,{locale:i,format:i.yearFormat,generateConfig:u})),I=H.createElement("button",{type:"button","aria-label":"month panel",key:"month",onClick:function(){h("month",s)},tabIndex:-1,className:"".concat(l,"-month-btn")},i.monthFormat?e3(s,{locale:i,format:i.monthFormat,generateConfig:u}):$[y]),P=i.monthBeforeYear?[I,F]:[F,I];return H.createElement(tp.Provider,{value:V},H.createElement("div",{className:S()(w,z&&"".concat(w,"-show-week"))},H.createElement(tb,{offset:function(e){return u.addMonth(s,e)},superOffset:function(e){return u.addYear(s,e)},onChange:f,getStart:function(e){return u.setDate(e,1)},getEnd:function(e){var t=u.setDate(e,1);return t=u.addMonth(t,1),u.addDate(t,-1)}},P),H.createElement(tZ,O({titleFormat:i.fieldDateFormat},e,{colNum:7,rowNum:6,baseDate:L,headerCells:B,getCellDate:function(e,t){return u.addDate(e,t)},getCellText:function(e){return e3(e,{locale:i,format:i.cellDateFormat,generateConfig:u})},getCellClassName:function(e){return(0,q.Z)((0,q.Z)({},"".concat(l,"-cell-in-view"),eX(u,e,s)),"".concat(l,"-cell-today"),eU(u,e,C))},prefixColumn:R,cellSelection:!Z}))))}var tC=1/3;function tx(e){var t,c,n,r,a,l,o=e.units,i=e.value,u=e.optionalValue,s=e.type,f=e.onChange,h=e.onHover,d=e.onDblClick,v=e.changeOnScroll,m=tz(),g=m.prefixCls,p=m.cellRender,z=m.now,w=m.locale,M="".concat(g,"-time-panel-cell"),Z=H.useRef(null),b=H.useRef(),V=function(){clearTimeout(b.current)},C=A((t=null!=i?i:u,c=H.useRef(!1),n=H.useRef(null),r=H.useRef(null),a=function(){eZ.Z.cancel(n.current),c.current=!1},l=H.useRef(),[(0,I.zX)(function(){var e=Z.current;if(r.current=null,l.current=0,e){var o=e.querySelector('[data-value="'.concat(t,'"]')),i=e.querySelector("li");o&&i&&function t(){a(),c.current=!0,l.current+=1;var u=e.scrollTop,s=i.offsetTop,f=o.offsetTop,h=f-s;if(0===f&&o!==i||!(0,eo.Z)(e)){l.current<=5&&(n.current=(0,eZ.Z)(t));return}var d=u+(h-u)*tC,v=Math.abs(h-d);if(null!==r.current&&r.current1&&void 0!==arguments[1]&&arguments[1];el(e),null==m||m(e),t&&eo(e)},eu=function(e,t){X(e),t&&ei(t),eo(t,e)},es=H.useMemo(function(){if(Array.isArray(b)){var e,t,c=A(b,2);e=c[0],t=c[1]}else e=b;return e||t?(e=e||t,t=t||e,r.isAfter(e,t)?[t,e]:[e,t]):null},[b,r]),ef=ek(V,C,x),eh=(void 0===E?{}:E)[U]||ty[U]||tV,ed=H.useContext(tM),ev=H.useMemo(function(){return(0,F.Z)((0,F.Z)({},ed),{},{hideHeader:L})},[ed,L]),em="".concat(y,"-panel"),eg=eR(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return H.createElement(tM.Provider,{value:ev},H.createElement("div",{ref:R,tabIndex:void 0===o?0:o,className:S()(em,(0,q.Z)({},"".concat(em,"-rtl"),"rtl"===a))},H.createElement(eh,O({},eg,{showTime:W,prefixCls:y,locale:N,generateConfig:r,onModeChange:eu,pickerValue:ea,onPickerValueChange:function(e){ei(e,!0)},value:et[0],onSelect:function(e){if(en(e),ei(e),K!==w){var t=["decade","year"],c=[].concat(t,["month"]),n={quarter:[].concat(t,["quarter"]),week:[].concat($(c),["week"]),date:[].concat($(c),["date"])}[w]||c,r=n.indexOf(K),a=n[r+1];a&&eu(a,e)}},values:et,cellRender:ef,hoverRangeValue:es,hoverValue:Z}))))}));function tB(e){var t=e.picker,c=e.multiplePanel,n=e.pickerValue,r=e.onPickerValueChange,a=e.needConfirm,l=e.onSubmit,o=e.range,i=e.hoverValue,u=H.useContext(eV),s=u.prefixCls,f=u.generateConfig,h=H.useCallback(function(e,c){return tc(f,t,e,c)},[f,t]),d=H.useMemo(function(){return h(n,1)},[n,h]),v={onCellDblClick:function(){a&&l()}},m="time"===t,g=(0,F.Z)((0,F.Z)({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:m});return(o?g.hoverRangeValue=i:g.hoverValue=i,c)?H.createElement("div",{className:"".concat(s,"-panels")},H.createElement(tM.Provider,{value:(0,F.Z)((0,F.Z)({},v),{},{hideNext:!0})},H.createElement(tR,g)),H.createElement(tM.Provider,{value:(0,F.Z)((0,F.Z)({},v),{},{hidePrev:!0})},H.createElement(tR,O({},g,{pickerValue:d,onPickerValueChange:function(e){r(h(e,-1))}})))):H.createElement(tM.Provider,{value:(0,F.Z)({},v)},H.createElement(tR,g))}function tS(e){return"function"==typeof e?e():e}function tO(e){var t=e.prefixCls,c=e.presets,n=e.onClick,r=e.onHover;return c.length?H.createElement("div",{className:"".concat(t,"-presets")},H.createElement("ul",null,c.map(function(e,t){var c=e.label,a=e.value;return H.createElement("li",{key:t,onClick:function(){n(tS(a))},onMouseEnter:function(){r(tS(a))},onMouseLeave:function(){r(null)}},c)}))):null}function tk(e){var t=e.panelRender,c=e.internalMode,n=e.picker,r=e.showNow,a=e.range,l=e.multiple,o=e.activeOffset,i=void 0===o?0:o,u=e.placement,s=e.presets,f=e.onPresetHover,h=e.onPresetSubmit,d=e.onFocus,v=e.onBlur,m=e.onPanelMouseDown,g=e.direction,p=e.value,z=e.onSelect,w=e.isInvalid,M=e.defaultOpenValue,Z=e.onOk,b=e.onSubmit,V=H.useContext(eV).prefixCls,C="".concat(V,"-panel"),x="rtl"===g,E=H.useRef(null),L=H.useRef(null),y=A(H.useState(0),2),R=y[0],B=y[1],k=A(H.useState(0),2),T=k[0],$=k[1];function F(e){return e.filter(function(e){return e})}H.useEffect(function(){if(a){var e,t=(null===(e=E.current)||void 0===e?void 0:e.offsetWidth)||0;i<=R-t?$(0):$(i+t-R)}},[R,i,a]);var I=H.useMemo(function(){return F(eL(p))},[p]),P="time"===n&&!I.length,D=H.useMemo(function(){return P?F([M]):I},[P,I,M]),N=P?M:I,j=H.useMemo(function(){return!D.length||D.some(function(e){return w(e)})},[D,w]),W=H.createElement("div",{className:"".concat(V,"-panel-layout")},H.createElement(tO,{prefixCls:V,presets:s,onClick:h,onHover:f}),H.createElement("div",null,H.createElement(tB,O({},e,{value:N})),H.createElement(tm,O({},e,{showNow:!l&&r,invalid:j,onSubmit:function(){P&&z(M),Z(),b()}}))));t&&(W=t(W));var _="marginLeft",K="marginRight",X=H.createElement("div",{onMouseDown:m,tabIndex:-1,className:S()("".concat(C,"-container"),"".concat(V,"-").concat(c,"-panel-container")),style:(0,q.Z)((0,q.Z)({},x?K:_,T),x?_:K,"auto"),onFocus:d,onBlur:v},W);if(a){var U=eb(eH(u,x),x);X=H.createElement("div",{onMouseDown:m,ref:L,className:S()("".concat(V,"-range-wrapper"),"".concat(V,"-").concat(n,"-range-wrapper"))},H.createElement("div",{ref:E,className:"".concat(V,"-range-arrow"),style:(0,q.Z)({},U,i)}),H.createElement(Y.Z,{onResize:function(e){e.offsetWidth&&B(e.offsetWidth)}},X))}return X}function tT(e,t){var c=e.format,n=e.maskFormat,r=e.generateConfig,a=e.locale,l=e.preserveInvalidOnBlur,o=e.inputReadOnly,i=e.required,u=e["aria-required"],s=e.onSubmit,f=e.onFocus,h=e.onBlur,d=e.onInputChange,v=e.onInvalid,m=e.open,g=e.onOpenChange,p=e.onKeyDown,z=e.onChange,w=e.activeHelp,M=e.name,Z=e.autoComplete,b=e.id,V=e.value,C=e.invalid,x=e.placeholder,E=e.disabled,L=e.activeIndex,y=e.allHelp,R=e.picker,B=function(e,t){var c=r.locale.parse(a.locale,e,[t]);return c&&r.isValidate(c)?c:null},S=c[0],O=H.useCallback(function(e){return e3(e,{locale:a,format:S,generateConfig:r})},[a,r,S]),k=H.useMemo(function(){return V.map(O)},[V,O]),T=H.useMemo(function(){return Math.max("time"===R?8:10,"function"==typeof S?S(r.getNow()).length:S.length)+2},[S,R,r]),$=function(e){for(var t=0;t=a&&e<=l)return n;var o=Math.min(Math.abs(e-a),Math.abs(e-l));o0?c:n));var o=n-c+1;return String(c+(o+(l+e)-c)%o)};switch(t){case"Backspace":case"Delete":c="",n=a;break;case"ArrowLeft":c="",o(-1);break;case"ArrowRight":c="",o(1);break;case"ArrowUp":c="",n=i(1);break;case"ArrowDown":c="",n=i(-1);break;default:isNaN(Number(t))||(n=c=F+t)}null!==c&&(D(c),c.length>=r&&(o(1),D(""))),null!==n&&er((U.slice(0,et)+eE(n,r)+U.slice(ec)).slice(0,l.length)),X({})},onMouseDown:function(){ea.current=!0},onMouseUp:function(e){var t=e.target.selectionStart;Y(J.getMaskCellIndex(t)),X({}),null==Z||Z(e),ea.current=!1},onPaste:function(e){var t=e.clipboardData.getData("text");o(t)&&er(t)}}:{};return H.createElement("div",{ref:G,className:S()(E,(0,q.Z)((0,q.Z)({},"".concat(E,"-active"),c&&r),"".concat(E,"-placeholder"),u))},H.createElement(x,O({ref:Q,"aria-invalid":m,autoComplete:"off"},p,{onKeyDown:eo,onBlur:el},eu,{value:U,onChange:function(e){if(!l){var t=e.target.value;en(t),T(t),i(t)}}})),H.createElement(tP,{type:"suffix",icon:a}),g)}),tK=["id","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveOffset","placement","onMouseDown","required","aria-required","autoFocus"],tX=["index"],tU=H.forwardRef(function(e,t){var c=e.id,n=e.clearIcon,r=e.suffixIcon,a=e.separator,l=void 0===a?"~":a,o=e.activeIndex,i=(e.activeHelp,e.allHelp,e.focused),u=(e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig,e.placeholder),s=e.className,f=e.style,h=e.onClick,d=e.onClear,v=e.value,m=(e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid,e.disabled),g=e.invalid,p=(e.inputReadOnly,e.direction),z=(e.onOpenChange,e.onActiveOffset),w=e.placement,M=e.onMouseDown,Z=(e.required,e["aria-required"],e.autoFocus),b=j(e,tK),V="rtl"===p,C=H.useContext(eV).prefixCls,x=H.useMemo(function(){if("string"==typeof c)return[c];var e=c||{};return[e.start,e.end]},[c]),E=H.useRef(),L=H.useRef(),y=H.useRef(),R=function(e){var t;return null===(t=[L,y][e])||void 0===t?void 0:t.current};H.useImperativeHandle(t,function(){return{nativeElement:E.current,focus:function(e){if("object"===(0,eA.Z)(e)){var t,c,n=e||{},r=n.index,a=void 0===r?0:r,l=j(n,tX);null===(c=R(a))||void 0===c||c.focus(l)}else null===(t=R(null!=e?e:0))||void 0===t||t.focus()},blur:function(){var e,t;null===(e=R(0))||void 0===e||e.blur(),null===(t=R(1))||void 0===t||t.blur()}}});var B=tF(b),k=H.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),T=A(tT((0,F.Z)((0,F.Z)({},e),{},{id:x,placeholder:k})),1)[0],$=eH(w,V),P=eb($,V),D=null==$?void 0:$.toLowerCase().endsWith("right"),N=A(H.useState({position:"absolute",width:0}),2),W=N[0],_=N[1],K=(0,I.zX)(function(){var e=R(o);if(e){var t=e.nativeElement,c=t.offsetWidth,n=t.offsetLeft,r=t.offsetParent,a=(null==r?void 0:r.offsetWidth)||0,l=D?a-c-n:n;_(function(e){return(0,F.Z)((0,F.Z)({},e),{},(0,q.Z)({width:c},P,l))}),z(l)}});H.useEffect(function(){K()},[o]);var X=n&&(v[0]&&!m[0]||v[1]&&!m[1]),U=Z&&!m[0],G=Z&&!U&&!m[1];return H.createElement(Y.Z,{onResize:K},H.createElement("div",O({},B,{className:S()(C,"".concat(C,"-range"),(0,q.Z)((0,q.Z)((0,q.Z)((0,q.Z)({},"".concat(C,"-focused"),i),"".concat(C,"-disabled"),m.every(function(e){return e})),"".concat(C,"-invalid"),g.some(function(e){return e})),"".concat(C,"-rtl"),V),s),style:f,ref:E,onClick:h,onMouseDown:function(e){var t=e.target;t!==L.current.inputElement&&t!==y.current.inputElement&&e.preventDefault(),null==M||M(e)}}),H.createElement(t_,O({ref:L},T(0),{autoFocus:U,"date-range":"start"})),H.createElement("div",{className:"".concat(C,"-range-separator")},l),H.createElement(t_,O({ref:y},T(1),{autoFocus:G,"date-range":"end"})),H.createElement("div",{className:"".concat(C,"-active-bar"),style:W}),H.createElement(tP,{type:"suffix",icon:r}),X&&H.createElement(tD,{icon:n,onClear:d})))});function tG(e,t){var c=null!=e?e:t;return Array.isArray(c)?c:[c,c]}function tQ(e){return 1===e?"end":"start"}var tJ=H.forwardRef(function(e,t){var c,n=A(e0(e,function(){var t=e.disabled,c=e.allowEmpty;return{disabled:tG(t,!1),allowEmpty:tG(c,!1)}}),6),r=n[0],a=n[1],l=n[2],o=n[3],i=n[4],u=n[5],s=r.prefixCls,f=r.styles,h=r.classNames,d=r.placement,v=r.defaultValue,m=r.value,g=r.needConfirm,p=r.onKeyDown,z=r.disabled,w=r.allowEmpty,M=r.disabledDate,Z=r.minDate,b=r.maxDate,V=r.defaultOpen,C=r.open,x=r.onOpenChange,E=r.locale,L=r.generateConfig,y=r.picker,R=r.showNow,B=r.showToday,S=r.showTime,k=r.mode,T=r.onPanelChange,q=r.onCalendarChange,j=r.onOk,W=r.defaultPickerValue,Y=r.pickerValue,_=r.onPickerValueChange,K=r.inputReadOnly,X=r.suffixIcon,U=r.onFocus,G=r.onBlur,Q=r.presets,J=r.ranges,ee=r.components,et=r.cellRender,ec=r.dateRender,en=r.monthCellRender,er=r.onClick,ea=e7(t),el=A(e5(C,V,z,x),2),eo=el[0],ei=el[1],eu=function(e,t){(z.some(function(e){return!e})||!e)&&ei(e,t)},es=A(tu(L,E,o,!0,!1,v,m,q,j),5),ef=es[0],eh=es[1],ed=es[2],ev=es[3],em=es[4],eg=ed(),ep=A(tt(z,w,eo),7),ez=ep[0],ew=ep[1],eM=ep[2],eZ=ep[3],eH=ep[4],eb=ep[5],eC=ep[6],eE=function(e,t){ew(!0),null==U||U(e,{range:tQ(null!=t?t:eZ)})},eR=function(e,t){ew(!1),null==G||G(e,{range:tQ(null!=t?t:eZ)})},eB=H.useMemo(function(){if(!S)return null;var e=S.disabledTime,t=e?function(t){return e(t,tQ(eZ),{from:eS(eg,eC,eZ)})}:void 0;return(0,F.Z)((0,F.Z)({},S),{},{disabledTime:t})},[S,eZ,eg,eC]),e$=A((0,I.C8)([y,y],{value:k}),2),eF=e$[0],eA=e$[1],eI=eF[eZ]||y,eP="date"===eI&&eB?"datetime":eI,eD=eP===y&&"time"!==eP,eN=tf(y,eI,R,B,!0),eq=A(ts(r,ef,eh,ed,ev,z,o,ez,eo,u),2),ej=eq[0],eW=eq[1],eY=(c=eC[eC.length-1],function(e,t){var n=A(eg,2),r=n[0],a=n[1],l=(0,F.Z)((0,F.Z)({},t),{},{from:eS(eg,eC)});return!!(1===c&&z[0]&&r&&!e1(L,E,r,e,l.type)&&L.isAfter(r,e)||0===c&&z[1]&&a&&!e1(L,E,a,e,l.type)&&L.isAfter(e,a))||(null==M?void 0:M(e,l))}),e_=A(eT(eg,u,w),2),eK=e_[0],eX=e_[1],eU=A(tr(L,E,eg,eF,eo,eZ,a,eD,W,Y,null==eB?void 0:eB.defaultOpenValue,_,Z,b),2),eG=eU[0],eQ=eU[1],eJ=(0,I.zX)(function(e,t,c){var n=ey(eF,eZ,t);if((n[0]!==eF[0]||n[1]!==eF[1])&&eA(n),T&&!1!==c){var r=$(eg);e&&(r[eZ]=e),T(r,n)}}),e4=function(e,t){return ey(eg,t,e)},e2=function(e,t){var c=eg;e&&(c=e4(e,eZ));var n=eb(c);ev(c),ej(eZ,null===n),null===n?eu(!1,{force:!0}):t||ea.current.focus({index:n})},e3=A(H.useState(null),2),e8=e3[0],e6=e3[1],te=A(H.useState(null),2),tc=te[0],tn=te[1],ta=H.useMemo(function(){return tc||eg},[eg,tc]);H.useEffect(function(){eo||tn(null)},[eo]);var tl=A(H.useState(0),2),to=tl[0],ti=tl[1],th=e9(Q,J),td=ek(et,ec,en,tQ(eZ)),tv=eg[eZ]||null,tm=(0,I.zX)(function(e){return u(e,{activeIndex:eZ})}),tg=H.useMemo(function(){var e=(0,N.Z)(r,!1);return(0,D.Z)(r,[].concat($(Object.keys(e)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]))},[r]),tp=H.createElement(tk,O({},tg,{showNow:eN,showTime:eB,range:!0,multiplePanel:eD,activeOffset:to,placement:d,disabledDate:eY,onFocus:function(e){eu(!0),eE(e)},onBlur:eR,onPanelMouseDown:function(){eM("panel")},picker:y,mode:eI,internalMode:eP,onPanelChange:eJ,format:i,value:tv,isInvalid:tm,onChange:null,onSelect:function(e){ev(ey(eg,eZ,e)),g||l||a!==eP||e2(e)},pickerValue:eG,defaultOpenValue:eL(null==S?void 0:S.defaultOpenValue)[eZ],onPickerValueChange:eQ,hoverValue:ta,onHover:function(e){tn(e?e4(e,eZ):null),e6("cell")},needConfirm:g,onSubmit:e2,onOk:em,presets:th,onPresetHover:function(e){tn(e),e6("preset")},onPresetSubmit:function(e){eW(e)&&eu(!1,{force:!0})},onNow:function(e){e2(e)},cellRender:td})),tz=H.useMemo(function(){return{prefixCls:s,locale:E,generateConfig:L,button:ee.button,input:ee.input}},[s,E,L,ee.button,ee.input]);return(0,P.Z)(function(){eo&&void 0!==eZ&&eJ(null,y,!1)},[eo,eZ,y]),(0,P.Z)(function(){var e=eM();eo||"input"!==e||(eu(!1),e2(null,!0)),eo||!l||g||"panel"!==e||(eu(!0),e2())},[eo]),H.createElement(eV.Provider,{value:tz},H.createElement(ex,O({},eO(r),{popupElement:tp,popupStyle:f.popup,popupClassName:h.popup,visible:eo,onClose:function(){eu(!1)},range:!0}),H.createElement(tU,O({},r,{ref:ea,suffixIcon:X,activeIndex:ez||eo?eZ:null,activeHelp:!!tc,allHelp:!!tc&&"preset"===e8,focused:ez,onFocus:function(e,t){eM("input"),eu(!0,{inherit:!0}),eZ!==t&&eo&&!g&&l&&e2(null,!0),eH(t),eE(e,t)},onBlur:function(e,t){eu(!1),g||"input"!==eM()||ej(eZ,null===eb(eg)),eR(e,t)},onKeyDown:function(e,t){"Tab"===e.key&&e2(null,!0),null==p||p(e,t)},onSubmit:e2,value:ta,maskFormat:i,onChange:function(e,t){ev(e4(e,t))},onInputChange:function(){eM("input")},format:o,inputReadOnly:K,disabled:z,open:eo,onOpenChange:eu,onClick:function(e){var t,c=e.target.getRootNode();if(!ea.current.nativeElement.contains(null!==(t=c.activeElement)&&void 0!==t?t:document.activeElement)){var n=z.findIndex(function(e){return!e});n>=0&&ea.current.focus({index:n})}eu(!0),null==er||er(e)},onClear:function(){eW(null),eu(!1,{force:!0})},invalid:eK,onInvalid:eX,onActiveOffset:ti}))))}),t1=c(39983);function t4(e){var t=e.prefixCls,c=e.value,n=e.onRemove,r=e.removeIcon,a=void 0===r?"\xd7":r,l=e.formatDate,o=e.disabled,i=e.maxTagCount,u=e.placeholder,s="".concat(t,"-selection");function f(e,t){return H.createElement("span",{className:S()("".concat(s,"-item")),title:"string"==typeof e?e:null},H.createElement("span",{className:"".concat(s,"-item-content")},e),!o&&t&&H.createElement("span",{onMouseDown:function(e){e.preventDefault()},onClick:t,className:"".concat(s,"-item-remove")},a))}return H.createElement("div",{className:"".concat(t,"-selector")},H.createElement(t1.Z,{prefixCls:"".concat(s,"-overflow"),data:c,renderItem:function(e){return f(l(e),function(t){t&&t.stopPropagation(),n(e)})},renderRest:function(e){return f("+ ".concat(e.length," ..."))},itemKey:function(e){return l(e)},maxCount:i}),!c.length&&H.createElement("span",{className:"".concat(t,"-selection-placeholder")},u))}var t2=["id","open","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","removeIcon"],t3=H.forwardRef(function(e,t){e.id;var c=e.open,n=e.clearIcon,r=e.suffixIcon,a=(e.activeHelp,e.allHelp,e.focused),l=(e.onFocus,e.onBlur,e.onKeyDown,e.locale),o=e.generateConfig,i=e.placeholder,u=e.className,s=e.style,f=e.onClick,h=e.onClear,d=e.internalPicker,v=e.value,m=e.onChange,g=e.onSubmit,p=(e.onInputChange,e.multiple),z=e.maxTagCount,w=(e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid,e.disabled),M=e.invalid,Z=(e.inputReadOnly,e.direction),b=(e.onOpenChange,e.onMouseDown),V=(e.required,e["aria-required"],e.autoFocus),C=e.removeIcon,x=j(e,t2),E=H.useContext(eV).prefixCls,L=H.useRef(),y=H.useRef();H.useImperativeHandle(t,function(){return{nativeElement:L.current,focus:function(e){var t;null===(t=y.current)||void 0===t||t.focus(e)},blur:function(){var e;null===(e=y.current)||void 0===e||e.blur()}}});var R=tF(x),B=A(tT((0,F.Z)((0,F.Z)({},e),{},{onChange:function(e){m([e])}}),function(e){return{value:e.valueTexts[0]||"",active:a}}),2),k=B[0],T=B[1],$=!!(n&&v.length&&!w),I=p?H.createElement(H.Fragment,null,H.createElement(t4,{prefixCls:E,value:v,onRemove:function(e){m(v.filter(function(t){return t&&!e1(o,l,t,e,d)})),c||g()},formatDate:T,maxTagCount:z,disabled:w,removeIcon:C,placeholder:i}),H.createElement("input",{className:"".concat(E,"-multiple-input"),value:v.map(T).join(","),ref:y,readOnly:!0,autoFocus:V}),H.createElement(tP,{type:"suffix",icon:r}),$&&H.createElement(tD,{icon:n,onClear:h})):H.createElement(t_,O({ref:y},k(),{autoFocus:V,suffixIcon:r,clearIcon:$&&H.createElement(tD,{icon:n,onClear:h}),showActiveCls:!1}));return H.createElement("div",O({},R,{className:S()(E,(0,q.Z)((0,q.Z)((0,q.Z)((0,q.Z)((0,q.Z)({},"".concat(E,"-multiple"),p),"".concat(E,"-focused"),a),"".concat(E,"-disabled"),w),"".concat(E,"-invalid"),M),"".concat(E,"-rtl"),"rtl"===Z),u),style:s,ref:L,onClick:f,onMouseDown:function(e){var t;e.target!==(null===(t=y.current)||void 0===t?void 0:t.inputElement)&&e.preventDefault(),null==b||b(e)}}),I)}),t8=H.forwardRef(function(e,t){var c=A(e0(e),6),n=c[0],r=c[1],a=c[2],l=c[3],o=c[4],i=c[5],u=n.prefixCls,s=n.styles,f=n.classNames,h=n.order,d=n.defaultValue,v=n.value,m=n.needConfirm,g=n.onChange,p=n.onKeyDown,z=n.disabled,w=n.disabledDate,M=n.minDate,Z=n.maxDate,b=n.defaultOpen,V=n.open,C=n.onOpenChange,x=n.locale,E=n.generateConfig,L=n.picker,y=n.showNow,R=n.showToday,B=n.showTime,S=n.mode,k=n.onPanelChange,T=n.onCalendarChange,q=n.onOk,j=n.multiple,W=n.defaultPickerValue,Y=n.pickerValue,_=n.onPickerValueChange,K=n.inputReadOnly,X=n.suffixIcon,U=n.removeIcon,G=n.onFocus,Q=n.onBlur,J=n.presets,ee=n.components,et=n.cellRender,ec=n.dateRender,en=n.monthCellRender,er=n.onClick,ea=e7(t);function el(e){return null===e?null:j?e:e[0]}var eo=tg(E,x,r),ei=A(e5(V,b,[z],C),2),eu=ei[0],es=ei[1],ef=A(tu(E,x,l,!1,h,d,v,function(e,t,c){if(T){var n=(0,F.Z)({},c);delete n.range,T(el(e),el(t),n)}},function(e){null==q||q(el(e))}),5),eh=ef[0],ed=ef[1],ev=ef[2],em=ef[3],eg=ef[4],ep=ev(),ez=A(tt([z]),4),ew=ez[0],eM=ez[1],eZ=ez[2],eH=ez[3],eb=function(e){eM(!0),null==G||G(e,{})},eC=function(e){eM(!1),null==Q||Q(e,{})},eE=A((0,I.C8)(L,{value:S}),2),ey=eE[0],eR=eE[1],eB="date"===ey&&B?"datetime":ey,eS=tf(L,ey,y,R),e$=g&&function(e,t){g(el(e),el(t))},eF=A(ts((0,F.Z)((0,F.Z)({},n),{},{onChange:e$}),eh,ed,ev,em,[],l,ew,eu,i),2)[1],eA=A(eT(ep,i),2),eI=eA[0],eP=eA[1],eD=H.useMemo(function(){return eI.some(function(e){return e})},[eI]),eN=A(tr(E,x,ep,[ey],eu,eH,r,!1,W,Y,eL(null==B?void 0:B.defaultOpenValue),function(e,t){if(_){var c=(0,F.Z)((0,F.Z)({},t),{},{mode:t.mode[0]});delete c.range,_(e[0],c)}},M,Z),2),eq=eN[0],ej=eN[1],eW=(0,I.zX)(function(e,t,c){eR(t),k&&!1!==c&&k(e||ep[ep.length-1],t)}),eY=function(){eF(ev()),es(!1,{force:!0})},e_=A(H.useState(null),2),eK=e_[0],eX=e_[1],eU=A(H.useState(null),2),eG=eU[0],eQ=eU[1],eJ=H.useMemo(function(){var e=[eG].concat($(ep)).filter(function(e){return e});return j?e:e.slice(0,1)},[ep,eG,j]),e1=H.useMemo(function(){return!j&&eG?[eG]:ep.filter(function(e){return e})},[ep,eG,j]);H.useEffect(function(){eu||eQ(null)},[eu]);var e4=e9(J),e2=function(e){eF(j?eo(ev(),e):[e])&&!j&&es(!1,{force:!0})},e3=ek(et,ec,en),e8=H.useMemo(function(){var e=(0,N.Z)(n,!1),t=(0,D.Z)(n,[].concat($(Object.keys(e)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,F.Z)((0,F.Z)({},t),{},{multiple:n.multiple})},[n]),e6=H.createElement(tk,O({},e8,{showNow:eS,showTime:B,disabledDate:w,onFocus:function(e){es(!0),eb(e)},onBlur:eC,picker:L,mode:ey,internalMode:eB,onPanelChange:eW,format:o,value:ep,isInvalid:i,onChange:null,onSelect:function(e){eZ("panel"),em(j?eo(ev(),e):[e]),m||a||r!==eB||eY()},pickerValue:eq,defaultOpenValue:null==B?void 0:B.defaultOpenValue,onPickerValueChange:ej,hoverValue:eJ,onHover:function(e){eQ(e),eX("cell")},needConfirm:m,onSubmit:eY,onOk:eg,presets:e4,onPresetHover:function(e){eQ(e),eX("preset")},onPresetSubmit:e2,onNow:function(e){e2(e)},cellRender:e3})),te=H.useMemo(function(){return{prefixCls:u,locale:x,generateConfig:E,button:ee.button,input:ee.input}},[u,x,E,ee.button,ee.input]);return(0,P.Z)(function(){eu&&void 0!==eH&&eW(null,L,!1)},[eu,eH,L]),(0,P.Z)(function(){var e=eZ();eu||"input"!==e||(es(!1),eY()),eu||!a||m||"panel"!==e||(es(!0),eY())},[eu]),H.createElement(eV.Provider,{value:te},H.createElement(ex,O({},eO(n),{popupElement:e6,popupStyle:s.popup,popupClassName:f.popup,visible:eu,onClose:function(){es(!1)}}),H.createElement(t3,O({},n,{ref:ea,suffixIcon:X,removeIcon:U,activeHelp:!!eG,allHelp:!!eG&&"preset"===eK,focused:ew,onFocus:function(e){eZ("input"),es(!0,{inherit:!0}),eb(e)},onBlur:function(e){es(!1),eC(e)},onKeyDown:function(e,t){"Tab"===e.key&&eY(),null==p||p(e,t)},onSubmit:eY,value:e1,maskFormat:o,onChange:function(e){em(e)},onInputChange:function(){eZ("input")},internalPicker:r,format:l,inputReadOnly:K,disabled:z,open:eu,onOpenChange:es,onClick:function(e){z||ea.current.nativeElement.contains(document.activeElement)||ea.current.focus(),es(!0),null==er||er(e)},onClear:function(){eF(null),es(!1,{force:!0})},invalid:eD,onInvalid:function(e){eP(e,0)}}))))}),t6=c(89942),t0=c(87263),t5=c(9708),t7=c(53124),t9=c(98866),ce=c(35792),ct=c(98675),cc=c(65223),cn=c(27833),cr=c(10110),ca=c(4173),cl=c(71191),co=c(47648),ci=c(47673),cu=c(20353),cs=c(14747),cf=c(80110),ch=c(67771),cd=c(33297),cv=c(79511),cm=c(83559),cg=c(87893),cp=c(16928);let cz=(e,t)=>{let{componentCls:c,controlHeight:n}=e,r=t?`${c}-${t}`:"",a=(0,cp.gp)(e);return[{[`${c}-multiple${r}`]:{paddingBlock:a.containerPadding,paddingInlineStart:a.basePadding,minHeight:n,[`${c}-selection-item`]:{height:a.itemHeight,lineHeight:(0,co.bf)(a.itemLineHeight)}}}]};var cw=e=>{let{componentCls:t,calc:c,lineWidth:n}=e,r=(0,cg.IX)(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),a=(0,cg.IX)(e,{fontHeight:c(e.multipleItemHeightLG).sub(c(n).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[cz(r,"small"),cz(e),cz(a,"large"),{[`${t}${t}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${t}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${t}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}}},(0,cp._z)(e)),{[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},cM=c(10274);let cZ=e=>{let{pickerCellCls:t,pickerCellInnerCls:c,cellHeight:n,borderRadiusSM:r,motionDurationMid:a,cellHoverBg:l,lineWidth:o,lineType:i,colorPrimary:u,cellActiveWithRangeBg:s,colorTextLightSolid:f,colorTextDisabled:h,cellBgDisabled:d,colorFillSecondary:v}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:n,transform:"translateY(-50%)",content:'""'},[c]:{position:"relative",zIndex:2,display:"inline-block",minWidth:n,height:n,lineHeight:(0,co.bf)(n),borderRadius:r,transition:`background ${a}`},[`&:hover:not(${t}-in-view), - &:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end)`]:{[c]:{background:l}},[`&-in-view${t}-today ${c}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,co.bf)(o)} ${i} ${u}`,borderRadius:r,content:'""'}},[`&-in-view${t}-in-range, - &-in-view${t}-range-start, - &-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:s}},[`&-in-view${t}-selected, - &-in-view${t}-range-start, - &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${c}`]:{color:f,background:u},[`&${t}-disabled ${c}`]:{background:v}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${c}`]:{borderStartStartRadius:r,borderEndStartRadius:r,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${c}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:r,borderEndEndRadius:r},"&-disabled":{color:h,pointerEvents:"none",[c]:{background:"transparent"},"&::before":{background:d}},[`&-disabled${t}-today ${c}::before`]:{borderColor:h}}},cH=e=>{let{componentCls:t,pickerCellCls:c,pickerCellInnerCls:n,pickerYearMonthCellWidth:r,pickerControlIconSize:a,cellWidth:l,paddingSM:o,paddingXS:i,paddingXXS:u,colorBgContainer:s,lineWidth:f,lineType:h,borderRadiusLG:d,colorPrimary:v,colorTextHeading:m,colorSplit:g,pickerControlIconBorderWidth:p,colorIcon:z,textHeight:w,motionDurationMid:M,colorIconHover:Z,fontWeightStrong:H,cellHeight:b,pickerCellPaddingVertical:V,colorTextDisabled:C,colorText:x,fontSize:E,motionDurationSlow:L,withoutTimeCellHeight:y,pickerQuarterPanelContentHeight:R,borderRadiusSM:B,colorTextLightSolid:S,cellHoverBg:O,timeColumnHeight:k,timeColumnWidth:T,timeCellHeight:$,controlItemBgActive:F,marginXXS:A,pickerDatePanelPaddingHorizontal:I,pickerControlIconMargin:P}=e,D=e.calc(l).mul(7).add(e.calc(I).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:s,borderRadius:d,outline:"none","&-focused":{borderColor:v},"&-rtl":{[`${t}-prev-icon, - ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon, - ${t}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${t}-time-panel`]:{[`${t}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},[`&-decade-panel, - &-year-panel, - &-quarter-panel, - &-month-panel, - &-week-panel, - &-date-panel, - &-time-panel`]:{display:"flex",flexDirection:"column",width:D},"&-header":{display:"flex",padding:`0 ${(0,co.bf)(i)}`,color:m,borderBottom:`${(0,co.bf)(f)} ${h} ${g}`,"> *":{flex:"none"},button:{padding:0,color:z,lineHeight:(0,co.bf)(w),background:"transparent",border:0,cursor:"pointer",transition:`color ${M}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center"},"> button":{minWidth:"1.6em",fontSize:E,"&:hover":{color:Z},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:H,lineHeight:(0,co.bf)(w),"> button":{color:"inherit",fontWeight:"inherit","&:not(:first-child)":{marginInlineStart:i},"&:hover":{color:v}}}},[`&-prev-icon, - &-next-icon, - &-super-prev-icon, - &-super-next-icon`]:{position:"relative",width:a,height:a,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:a,height:a,border:"0 solid currentcolor",borderBlockWidth:`${(0,co.bf)(p)} 0`,borderInlineWidth:`${(0,co.bf)(p)} 0`,content:'""'}},[`&-super-prev-icon, - &-super-next-icon`]:{"&::after":{position:"absolute",top:P,insetInlineStart:P,display:"inline-block",width:a,height:a,border:"0 solid currentcolor",borderBlockWidth:`${(0,co.bf)(p)} 0`,borderInlineWidth:`${(0,co.bf)(p)} 0`,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:b,fontWeight:"normal"},th:{height:e.calc(b).add(e.calc(V).mul(2)).equal(),color:x,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,co.bf)(V)} 0`,color:C,cursor:"pointer","&-in-view":{color:x}},cZ(e)),[`&-decade-panel, - &-year-panel, - &-quarter-panel, - &-month-panel`]:{[`${t}-content`]:{height:e.calc(y).mul(4).equal()},[n]:{padding:`0 ${(0,co.bf)(i)}`}},"&-quarter-panel":{[`${t}-content`]:{height:R}},"&-decade-panel":{[n]:{padding:`0 ${(0,co.bf)(e.calc(i).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},[`&-year-panel, - &-quarter-panel, - &-month-panel`]:{[`${t}-body`]:{padding:`0 ${(0,co.bf)(i)}`},[n]:{width:r}},"&-date-panel":{[`${t}-body`]:{padding:`${(0,co.bf)(i)} ${(0,co.bf)(I)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${n}, - &-selected ${n}, - ${n}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${M}`},"&:first-child:before":{borderStartStartRadius:B,borderEndStartRadius:B},"&:last-child:before":{borderStartEndRadius:B,borderEndEndRadius:B}},"&:hover td":{"&:before":{background:O}},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${c}`]:{"&:before":{background:v},[`&${t}-cell-week`]:{color:new cM.C(S).setAlpha(.5).toHexString()},[n]:{color:S}}},"&-range-hover td:before":{background:F}}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${(0,co.bf)(i)} ${(0,co.bf)(o)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${(0,co.bf)(f)} ${h} ${g}`},[`${t}-date-panel, - ${t}-time-panel`]:{transition:`opacity ${L}`},"&-active":{[`${t}-date-panel, - ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${t}-content`]:{display:"flex",flex:"auto",height:k},"&-column":{flex:"1 0 auto",width:T,margin:`${(0,co.bf)(u)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${M}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc("100%").sub($).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,co.bf)(f)} ${h} ${g}`},"&-active":{background:new cM.C(F).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:A,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(T).sub(e.calc(A).mul(2)).equal(),height:$,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(T).sub($).div(2).equal(),color:x,lineHeight:(0,co.bf)($),borderRadius:B,cursor:"pointer",transition:`background ${M}`,"&:hover":{background:O}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:F}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:C,background:"transparent",cursor:"not-allowed"}}}}}}}}};var cb=e=>{let{componentCls:t,textHeight:c,lineWidth:n,paddingSM:r,antCls:a,colorPrimary:l,cellActiveWithRangeBg:o,colorPrimaryBorder:i,lineType:u,colorSplit:s}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${(0,co.bf)(n)} ${u} ${s}`,"&-extra":{padding:`0 ${(0,co.bf)(r)}`,lineHeight:(0,co.bf)(e.calc(c).sub(e.calc(n).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,co.bf)(n)} ${u} ${s}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:(0,co.bf)(r),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,co.bf)(e.calc(c).sub(e.calc(n).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${a}-tag-blue`]:{color:l,background:o,borderColor:i,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(n).mul(2).equal(),marginInlineStart:"auto"}}}}};let cV=e=>{let{componentCls:t,controlHeightLG:c,paddingXXS:n,padding:r}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(c).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(c).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(n).add(e.calc(n).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(r).add(e.calc(n).div(2)).equal()}},cC=e=>{let{colorBgContainerDisabled:t,controlHeight:c,controlHeightSM:n,controlHeightLG:r,paddingXXS:a,lineWidth:l}=e,o=2*a,i=2*l,u=Math.min(c-o,c-i),s=Math.min(n-o,n-i),f=Math.min(r-o,r-i),h=Math.floor(a/2),d={INTERNAL_FIXED_ITEM_MARGIN:h,cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new cM.C(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new cM.C(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:1.4*r,timeColumnHeight:224,timeCellHeight:28,cellWidth:1.5*n,cellHeight:n,textHeight:r,withoutTimeCellHeight:1.65*r,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:u,multipleItemHeightSM:s,multipleItemHeightLG:f,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"};return d};var cx=c(93900),cE=e=>{let{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},(0,cx.qG)(e)),(0,cx.H8)(e)),(0,cx.Mu)(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${(0,co.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${(0,co.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${(0,co.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}};let cL=(e,t,c,n)=>{let r=e.calc(c).add(2).equal(),a=e.max(e.calc(t).sub(r).div(2).equal(),0),l=e.max(e.calc(t).sub(r).sub(a).equal(),0);return{padding:`${(0,co.bf)(a)} ${(0,co.bf)(n)} ${(0,co.bf)(l)}`}},cy=e=>{let{componentCls:t,colorError:c,colorWarning:n}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:c}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:n}}}}},cR=e=>{let{componentCls:t,antCls:c,controlHeight:n,paddingInline:r,lineWidth:a,lineType:l,colorBorder:o,borderRadius:i,motionDurationMid:u,colorTextDisabled:s,colorTextPlaceholder:f,controlHeightLG:h,fontSizeLG:d,controlHeightSM:v,paddingInlineSM:m,paddingXS:g,marginXS:p,colorTextDescription:z,lineWidthBold:w,colorPrimary:M,motionDurationSlow:Z,zIndexPopup:H,paddingXXS:b,sizePopupArrow:V,colorBgElevated:C,borderRadiusLG:x,boxShadowSecondary:E,borderRadiusSM:L,colorSplit:y,cellHoverBg:R,presetsWidth:B,presetsMaxWidth:S,boxShadowPopoverArrow:O,fontHeight:k,fontHeightLG:T,lineHeightLG:$}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},(0,cs.Wf)(e)),cL(e,n,k,r)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:i,transition:`border ${u}, box-shadow ${u}, background ${u}`,[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${u}`},(0,ci.nz)(f)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:s,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:f}}},"&-large":Object.assign(Object.assign({},cL(e,h,T,r)),{[`${t}-input > input`]:{fontSize:d,lineHeight:$}}),"&-small":Object.assign({},cL(e,v,k,m)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(g).div(2).equal(),color:s,lineHeight:1,pointerEvents:"none",transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:p}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:s,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top"},"&:hover":{color:z}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:d,color:s,fontSize:d,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:z},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(a).mul(-1).equal(),height:w,background:M,opacity:0,transition:`all ${Z} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${(0,co.bf)(g)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:r},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:m}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,cs.Wf)(e)),cH(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:H,[`&${t}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${t}-dropdown-placement-bottomLeft, - &${t}-dropdown-placement-bottomRight`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft, - &${t}-dropdown-placement-topRight`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${c}-slide-up-enter${c}-slide-up-enter-active${t}-dropdown-placement-topLeft, - &${c}-slide-up-enter${c}-slide-up-enter-active${t}-dropdown-placement-topRight, - &${c}-slide-up-appear${c}-slide-up-appear-active${t}-dropdown-placement-topLeft, - &${c}-slide-up-appear${c}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:ch.Qt},[`&${c}-slide-up-enter${c}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, - &${c}-slide-up-enter${c}-slide-up-enter-active${t}-dropdown-placement-bottomRight, - &${c}-slide-up-appear${c}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, - &${c}-slide-up-appear${c}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:ch.fJ},[`&${c}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${c}-slide-up-leave${c}-slide-up-leave-active${t}-dropdown-placement-topLeft, - &${c}-slide-up-leave${c}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:ch.ly},[`&${c}-slide-up-leave${c}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, - &${c}-slide-up-leave${c}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:ch.Uw},[`${t}-panel > ${t}-time-panel`]:{paddingTop:b},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(r).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${Z} ease-out`},(0,cv.W)(e,C,O)),{"&:before":{insetInlineStart:e.calc(r).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:C,borderRadius:x,boxShadow:E,transition:`margin ${Z}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:B,maxWidth:S,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:g,borderInlineEnd:`${(0,co.bf)(a)} ${l} ${y}`,li:Object.assign(Object.assign({},cs.vS),{borderRadius:L,paddingInline:g,paddingBlock:e.calc(v).sub(k).div(2).equal(),cursor:"pointer",transition:`all ${Z}`,"+ li":{marginTop:p},"&:hover":{background:R}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:o}}}}),"&-dropdown-range":{padding:`${(0,co.bf)(e.calc(V).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,ch.oN)(e,"slide-up"),(0,ch.oN)(e,"slide-down"),(0,cd.Fm)(e,"move-up"),(0,cd.Fm)(e,"move-down")]};var cB=(0,cm.I$)("DatePicker",e=>{let t=(0,cg.IX)((0,cu.e)(e),cV(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[cb(t),cR(t),cE(t),cy(t),cw(t),(0,cf.c)(e,{focusElCls:`${e.componentCls}-focused`})]},e=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,cu.T)(e)),cC(e)),(0,cv.w)(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50})),cS=c(43277);function cO(e,t){let c={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:c};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:c};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:c};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:c};default:return{points:"rtl"===e?["tr","br"]:["tl","bl"],offset:[0,4],overflow:c}}}function ck(e,t){let{allowClear:c=!0}=e,{clearIcon:n,removeIcon:r}=(0,cS.Z)(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"})),a=H.useMemo(()=>{if(!1===c)return!1;let e=!0===c?{}:c;return Object.assign({clearIcon:n},e)},[c,n]);return[a,r]}let[cT,c$]=["week","WeekPicker"],[cF,cA]=["month","MonthPicker"],[cI,cP]=["year","YearPicker"],[cD,cN]=["quarter","QuarterPicker"],[cq,cj]=["time","TimePicker"];var cW=c(14726),cY=e=>H.createElement(cW.ZP,Object.assign({size:"small",type:"primary"},e));function c_(e){return(0,H.useMemo)(()=>Object.assign({button:cY},e),[e])}var cK=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(c[n[r]]=e[n[r]]);return c},cX=e=>{let t=(0,H.forwardRef)((t,c)=>{var n;let{prefixCls:r,getPopupContainer:a,components:l,className:o,style:i,placement:u,size:s,disabled:f,bordered:h=!0,placeholder:d,popupClassName:v,dropdownClassName:m,status:g,rootClassName:p,variant:z,picker:w}=t,M=cK(t,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),Z=H.useRef(null),{getPrefixCls:b,direction:V,getPopupContainer:C,rangePicker:E}=(0,H.useContext)(t7.E_),y=b("picker",r),{compactSize:B,compactItemClassnames:O}=(0,ca.ri)(y,V),k=b(),[T,$]=(0,cn.Z)("rangePicker",z,h),F=(0,ce.Z)(y),[A,I,P]=cB(y,F),[D]=ck(t,y),N=c_(l),q=(0,ct.Z)(e=>{var t;return null!==(t=null!=s?s:B)&&void 0!==t?t:e}),j=H.useContext(t9.Z),W=(0,H.useContext)(cc.aM),{hasFeedback:Y,status:_,feedbackIcon:K}=W,X=H.createElement(H.Fragment,null,w===cq?H.createElement(L,null):H.createElement(x,null),Y&&K);(0,H.useImperativeHandle)(c,()=>Z.current);let[U]=(0,cr.Z)("Calendar",cl.Z),G=Object.assign(Object.assign({},U),t.locale),[Q]=(0,t0.Cn)("DatePicker",null===(n=t.popupStyle)||void 0===n?void 0:n.zIndex);return A(H.createElement(t6.Z,{space:!0},H.createElement(tJ,Object.assign({separator:H.createElement("span",{"aria-label":"to",className:`${y}-separator`},H.createElement(R,null)),disabled:null!=f?f:j,ref:Z,popupAlign:cO(V,u),placement:u,placeholder:void 0!==d?d:"year"===w&&G.lang.yearPlaceholder?G.lang.rangeYearPlaceholder:"quarter"===w&&G.lang.quarterPlaceholder?G.lang.rangeQuarterPlaceholder:"month"===w&&G.lang.monthPlaceholder?G.lang.rangeMonthPlaceholder:"week"===w&&G.lang.weekPlaceholder?G.lang.rangeWeekPlaceholder:"time"===w&&G.timePickerLocale.placeholder?G.timePickerLocale.rangePlaceholder:G.lang.rangePlaceholder,suffixIcon:X,prevIcon:H.createElement("span",{className:`${y}-prev-icon`}),nextIcon:H.createElement("span",{className:`${y}-next-icon`}),superPrevIcon:H.createElement("span",{className:`${y}-super-prev-icon`}),superNextIcon:H.createElement("span",{className:`${y}-super-next-icon`}),transitionName:`${k}-slide-up`,picker:w},M,{className:S()({[`${y}-${q}`]:q,[`${y}-${T}`]:$},(0,t5.Z)(y,(0,t5.F)(_,g),Y),I,O,o,null==E?void 0:E.className,P,F,p),style:Object.assign(Object.assign({},null==E?void 0:E.style),i),locale:G.lang,prefixCls:y,getPopupContainer:a||C,generateConfig:e,components:N,direction:V,classNames:{popup:S()(I,v||m,P,F,p)},styles:{popup:Object.assign(Object.assign({},t.popupStyle),{zIndex:Q})},allowClear:D}))))});return t},cU=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(c[n[r]]=e[n[r]]);return c},cG=e=>{let t=(t,c)=>{let n=c===cj?"timePicker":"datePicker",r=(0,H.forwardRef)((c,r)=>{var a;let{prefixCls:l,getPopupContainer:o,components:i,style:u,className:s,rootClassName:f,size:h,bordered:d,placement:v,placeholder:m,popupClassName:g,dropdownClassName:p,disabled:z,status:w,variant:M,onCalendarChange:Z}=c,b=cU(c,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:V,direction:C,getPopupContainer:E,[n]:y}=(0,H.useContext)(t7.E_),R=V("picker",l),{compactSize:B,compactItemClassnames:O}=(0,ca.ri)(R,C),k=H.useRef(null),[T,$]=(0,cn.Z)("datePicker",M,d),F=(0,ce.Z)(R),[A,I,P]=cB(R,F);(0,H.useImperativeHandle)(r,()=>k.current);let D=t||c.picker,N=V(),{onSelect:q,multiple:j}=b,W=q&&"time"===t&&!j,[Y,_]=ck(c,R),K=c_(i),X=(0,ct.Z)(e=>{var t;return null!==(t=null!=h?h:B)&&void 0!==t?t:e}),U=H.useContext(t9.Z),G=(0,H.useContext)(cc.aM),{hasFeedback:Q,status:J,feedbackIcon:ee}=G,et=H.createElement(H.Fragment,null,"time"===D?H.createElement(L,null):H.createElement(x,null),Q&&ee),[ec]=(0,cr.Z)("DatePicker",cl.Z),en=Object.assign(Object.assign({},ec),c.locale),[er]=(0,t0.Cn)("DatePicker",null===(a=c.popupStyle)||void 0===a?void 0:a.zIndex);return A(H.createElement(t6.Z,{space:!0},H.createElement(t8,Object.assign({ref:k,placeholder:void 0!==m?m:"year"===D&&en.lang.yearPlaceholder?en.lang.yearPlaceholder:"quarter"===D&&en.lang.quarterPlaceholder?en.lang.quarterPlaceholder:"month"===D&&en.lang.monthPlaceholder?en.lang.monthPlaceholder:"week"===D&&en.lang.weekPlaceholder?en.lang.weekPlaceholder:"time"===D&&en.timePickerLocale.placeholder?en.timePickerLocale.placeholder:en.lang.placeholder,suffixIcon:et,dropdownAlign:cO(C,v),placement:v,prevIcon:H.createElement("span",{className:`${R}-prev-icon`}),nextIcon:H.createElement("span",{className:`${R}-next-icon`}),superPrevIcon:H.createElement("span",{className:`${R}-super-prev-icon`}),superNextIcon:H.createElement("span",{className:`${R}-super-next-icon`}),transitionName:`${N}-slide-up`,picker:t,onCalendarChange:(e,t,c)=>{null==Z||Z(e,t,c),W&&q(e)}},{showToday:!0},b,{locale:en.lang,className:S()({[`${R}-${X}`]:X,[`${R}-${T}`]:$},(0,t5.Z)(R,(0,t5.F)(J,w),Q),I,O,null==y?void 0:y.className,s,P,F,f),style:Object.assign(Object.assign({},null==y?void 0:y.style),u),prefixCls:R,getPopupContainer:o||E,generateConfig:e,components:K,direction:C,disabled:null!=z?z:U,classNames:{popup:S()(I,P,F,f,g||p)},styles:{popup:Object.assign(Object.assign({},c.popupStyle),{zIndex:er})},allowClear:Y,removeIcon:_}))))});return r},c=t(),n=t(cT,c$),r=t(cF,cA),a=t(cI,cP),l=t(cD,cN),o=t(cq,cj);return{DatePicker:c,WeekPicker:n,MonthPicker:r,YearPicker:a,TimePicker:o,QuarterPicker:l}},cQ=e=>{let{DatePicker:t,WeekPicker:c,MonthPicker:n,YearPicker:r,TimePicker:a,QuarterPicker:l}=cG(e),o=cX(e);return t.WeekPicker=c,t.MonthPicker=n,t.YearPicker=r,t.RangePicker=o,t.TimePicker=a,t.QuarterPicker=l,t};let cJ=cQ({getNow:function(){return r()()},getFixedDate:function(e){return r()(e,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(e){return e.endOf("month")},getWeekDay:function(e){var t=e.locale("en");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:function(e){return e.year()},getMonth:function(e){return e.month()},getDate:function(e){return e.date()},getHour:function(e){return e.hour()},getMinute:function(e){return e.minute()},getSecond:function(e){return e.second()},getMillisecond:function(e){return e.millisecond()},addYear:function(e,t){return e.add(t,"year")},addMonth:function(e,t){return e.add(t,"month")},addDate:function(e,t){return e.add(t,"day")},setYear:function(e,t){return e.year(t)},setMonth:function(e,t){return e.month(t)},setDate:function(e,t){return e.date(t)},setHour:function(e,t){return e.hour(t)},setMinute:function(e,t){return e.minute(t)},setSecond:function(e,t){return e.second(t)},setMillisecond:function(e,t){return e.millisecond(t)},isAfter:function(e,t){return e.isAfter(t)},isValidate:function(e){return e.isValid()},locale:{getWeekFirstDay:function(e){return r()().locale(w(e)).localeData().firstDayOfWeek()},getWeekFirstDate:function(e,t){return t.locale(w(e)).weekday(0)},getWeek:function(e,t){return t.locale(w(e)).week()},getShortWeekDays:function(e){return r()().locale(w(e)).localeData().weekdaysMin()},getShortMonths:function(e){return r()().locale(w(e)).localeData().monthsShort()},format:function(e,t,c){return t.locale(w(e)).format(c)},parse:function(e,t,c){for(var n=w(e),a=0;a!isNaN(parseFloat(e))&&isFinite(e),m=c(53124),g=c(82401),p=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(c[n[r]]=e[n[r]]);return c};let z={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},w=r.createContext({}),M=(n=0,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return`${e}${n+=1}`}),Z=r.forwardRef((e,t)=>{let{prefixCls:c,className:n,trigger:a,children:l,defaultCollapsed:o=!1,theme:f="dark",style:Z={},collapsible:H=!1,reverseArrow:b=!1,width:V=200,collapsedWidth:C=80,zeroWidthTriggerStyle:x,breakpoint:E,onCollapse:L,onBreakpoint:y}=e,R=p(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:B}=(0,r.useContext)(g.V),[S,O]=(0,r.useState)("collapsed"in e?e.collapsed:o),[k,T]=(0,r.useState)(!1);(0,r.useEffect)(()=>{"collapsed"in e&&O(e.collapsed)},[e.collapsed]);let $=(t,c)=>{"collapsed"in e||O(t),null==L||L(t,c)},F=(0,r.useRef)();F.current=e=>{T(e.matches),null==y||y(e.matches),S!==e.matches&&$(e.matches,"responsive")},(0,r.useEffect)(()=>{let e;function t(e){return F.current(e)}if("undefined"!=typeof window){let{matchMedia:c}=window;if(c&&E&&E in z){e=c(`screen and (max-width: ${z[E]})`);try{e.addEventListener("change",t)}catch(c){e.addListener(t)}t(e)}}return()=>{try{null==e||e.removeEventListener("change",t)}catch(c){null==e||e.removeListener(t)}}},[E]),(0,r.useEffect)(()=>{let e=M("ant-sider-");return B.addSider(e),()=>B.removeSider(e)},[]);let A=()=>{$(!S,"clickTrigger")},{getPrefixCls:I}=(0,r.useContext)(m.E_),P=r.useMemo(()=>({siderCollapsed:S}),[S]);return r.createElement(w.Provider,{value:P},(()=>{let e=I("layout-sider",c),o=(0,d.Z)(R,["collapsed"]),m=S?C:V,g=v(m)?`${m}px`:String(m),p=0===parseFloat(String(C||0))?r.createElement("span",{onClick:A,className:h()(`${e}-zero-width-trigger`,`${e}-zero-width-trigger-${b?"right":"left"}`),style:x},a||r.createElement(i,null)):null,z={expanded:b?r.createElement(s.Z,null):r.createElement(u.Z,null),collapsed:b?r.createElement(u.Z,null):r.createElement(s.Z,null)},w=S?"collapsed":"expanded",M=z[w],E=null!==a?p||r.createElement("div",{className:`${e}-trigger`,onClick:A,style:{width:g}},a||M):null,L=Object.assign(Object.assign({},Z),{flex:`0 0 ${g}`,maxWidth:g,minWidth:g,width:g}),y=h()(e,`${e}-${f}`,{[`${e}-collapsed`]:!!S,[`${e}-has-trigger`]:H&&null!==a&&!p,[`${e}-below`]:!!k,[`${e}-zero-width`]:0===parseFloat(g)},n);return r.createElement("aside",Object.assign({className:y},o,{style:L,ref:t}),r.createElement("div",{className:`${e}-children`},l),H||k&&p?E:null)})())});var H=Z},82401:function(e,t,c){"use strict";c.d(t,{V:function(){return r}});var n=c(67294);let r=n.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},86738:function(e,t,c){"use strict";c.d(t,{Z:function(){return C}});var n=c(67294),r=c(29950),a=c(93967),l=c.n(a),o=c(21770),i=c(98423),u=c(53124),s=c(55241),f=c(86743),h=c(81643),d=c(14726),v=c(33671),m=c(10110),g=c(24457),p=c(66330),z=c(83559);let w=e=>{let{componentCls:t,iconCls:c,antCls:n,zIndexPopup:r,colorText:a,colorWarning:l,marginXXS:o,marginXS:i,fontSize:u,fontWeightStrong:s,colorTextHeading:f}=e;return{[t]:{zIndex:r,[`&${n}-popover`]:{fontSize:u},[`${t}-message`]:{marginBottom:i,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${c}`]:{color:l,fontSize:u,lineHeight:1,marginInlineEnd:i},[`${t}-title`]:{fontWeight:s,color:f,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:o,color:a}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:i}}}}};var M=(0,z.I$)("Popconfirm",e=>w(e),e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1}),Z=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(c[n[r]]=e[n[r]]);return c};let H=e=>{let{prefixCls:t,okButtonProps:c,cancelButtonProps:a,title:l,description:o,cancelText:i,okText:s,okType:p="primary",icon:z=n.createElement(r.Z,null),showCancel:w=!0,close:M,onConfirm:Z,onCancel:H,onPopupClick:b}=e,{getPrefixCls:V}=n.useContext(u.E_),[C]=(0,m.Z)("Popconfirm",g.Z.Popconfirm),x=(0,h.Z)(l),E=(0,h.Z)(o);return n.createElement("div",{className:`${t}-inner-content`,onClick:b},n.createElement("div",{className:`${t}-message`},z&&n.createElement("span",{className:`${t}-message-icon`},z),n.createElement("div",{className:`${t}-message-text`},x&&n.createElement("div",{className:`${t}-title`},x),E&&n.createElement("div",{className:`${t}-description`},E))),n.createElement("div",{className:`${t}-buttons`},w&&n.createElement(d.ZP,Object.assign({onClick:H,size:"small"},a),i||(null==C?void 0:C.cancelText)),n.createElement(f.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,v.nx)(p)),c),actionFn:Z,close:M,prefixCls:V("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},s||(null==C?void 0:C.okText))))};var b=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(c[n[r]]=e[n[r]]);return c};let V=n.forwardRef((e,t)=>{var c,a;let{prefixCls:f,placement:h="top",trigger:d="click",okType:v="primary",icon:m=n.createElement(r.Z,null),children:g,overlayClassName:p,onOpenChange:z,onVisibleChange:w}=e,Z=b(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:V}=n.useContext(u.E_),[C,x]=(0,o.Z)(!1,{value:null!==(c=e.open)&&void 0!==c?c:e.visible,defaultValue:null!==(a=e.defaultOpen)&&void 0!==a?a:e.defaultVisible}),E=(e,t)=>{x(e,!0),null==w||w(e),null==z||z(e,t)},L=V("popconfirm",f),y=l()(L,p),[R]=M(L);return R(n.createElement(s.Z,Object.assign({},(0,i.Z)(Z,["title"]),{trigger:d,placement:h,onOpenChange:(t,c)=>{let{disabled:n=!1}=e;n||E(t,c)},open:C,ref:t,overlayClassName:y,content:n.createElement(H,Object.assign({okType:v,icon:m},e,{prefixCls:L,close:e=>{E(!1,e)},onConfirm:t=>{var c;return null===(c=e.onConfirm)||void 0===c?void 0:c.call(void 0,t)},onCancel:t=>{var c;E(!1,t),null===(c=e.onCancel)||void 0===c||c.call(void 0,t)}})),"data-popover-inject":!0}),g))});V._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,placement:c,className:r,style:a}=e,o=Z(e,["prefixCls","placement","className","style"]),{getPrefixCls:i}=n.useContext(u.E_),s=i("popconfirm",t),[f]=M(s);return f(n.createElement(p.ZP,{placement:c,className:l()(s,r),style:a,content:n.createElement(H,Object.assign({prefixCls:s},o))}))};var C=V},68351:function(e,t,c){"use strict";var n=c(67294),r=c(8745),a=c(60497),l=c(27833),o=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(c[n[r]]=e[n[r]]);return c};let{TimePicker:i,RangePicker:u}=a.default,s=n.forwardRef((e,t)=>n.createElement(u,Object.assign({},e,{picker:"time",mode:void 0,ref:t}))),f=n.forwardRef((e,t)=>{var{addon:c,renderExtraFooter:r,variant:a,bordered:u}=e,s=o(e,["addon","renderExtraFooter","variant","bordered"]);let[f]=(0,l.Z)("timePicker",a,u),h=n.useMemo(()=>r||c||void 0,[c,r]);return n.createElement(i,Object.assign({},s,{mode:void 0,ref:t,renderExtraFooter:h,variant:f}))}),h=(0,r.Z)(f,"picker");f._InternalPanelDoNotUseOrYouWillBeFired=h,f.RangePicker=s,f._InternalPanelDoNotUseOrYouWillBeFired=h,t.Z=f},59847:function(e,t,c){"use strict";c.d(t,{Z:function(){return ed}});var n=c(67294),r=c(93967),a=c.n(r),l=c(87462),o=c(74902),i=c(1413),u=c(97685),s=c(45987),f=c(71002),h=c(82275),d=c(88708),v=c(17341),m=c(21770),g=c(80334),p=function(e){var t=n.useRef({valueLabels:new Map});return n.useMemo(function(){var c=t.current.valueLabels,n=new Map,r=e.map(function(e){var t,r=e.value,a=null!==(t=e.label)&&void 0!==t?t:c.get(r);return n.set(r,a),(0,i.Z)((0,i.Z)({},e),{},{label:a})});return t.current.valueLabels=n,[r]},[e])},z=c(1089),w=c(4942),M=c(50344),Z=function(){return null},H=["children","value"];function b(e){if(!e)return e;var t=(0,i.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,g.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}var V=function(e,t,c){var r=c.treeNodeFilterProp,a=c.filterTreeNode,l=c.fieldNames.children;return n.useMemo(function(){if(!t||!1===a)return e;if("function"==typeof a)c=a;else{var c,n=t.toUpperCase();c=function(e,t){return String(t[r]).toUpperCase().includes(n)}}return function e(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n.reduce(function(n,a){var o=a[l],u=r||c(t,b(a)),s=e(o||[],u);return(u||s.length)&&n.push((0,i.Z)((0,i.Z)({},a),{},(0,w.Z)({isLeaf:void 0},l,s))),n},[])}(e)},[e,t,l,r,a])};function C(e){var t=n.useRef();return t.current=e,n.useCallback(function(){return t.current.apply(t,arguments)},[])}var x=n.createContext(null),E=c(99814),L=c(15105),y=c(56982),R=n.createContext(null);function B(e){return!e||e.disabled||e.disableCheckbox||!1===e.checkable}var S={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},O=n.forwardRef(function(e,t){var c=(0,h.lk)(),r=c.prefixCls,a=c.multiple,i=c.searchValue,s=c.toggleOpen,f=c.open,d=c.notFoundContent,v=n.useContext(R),m=v.virtual,g=v.listHeight,p=v.listItemHeight,z=v.listItemScrollOffset,w=v.treeData,M=v.fieldNames,Z=v.onSelect,H=v.dropdownMatchSelectWidth,b=v.treeExpandAction,V=v.treeTitleRender,C=v.onPopupScroll,O=n.useContext(x),k=O.checkable,T=O.checkedKeys,$=O.halfCheckedKeys,F=O.treeExpandedKeys,A=O.treeDefaultExpandAll,I=O.treeDefaultExpandedKeys,P=O.onTreeExpand,D=O.treeIcon,N=O.showTreeIcon,q=O.switcherIcon,j=O.treeLine,W=O.treeNodeFilterProp,Y=O.loadData,_=O.treeLoadedKeys,K=O.treeMotion,X=O.onTreeLoad,U=O.keyEntities,G=n.useRef(),Q=(0,y.Z)(function(){return w},[f,w],function(e,t){return t[0]&&e[1]!==t[1]}),J=n.useState(null),ee=(0,u.Z)(J,2),et=ee[0],ec=ee[1],en=U[et],er=n.useMemo(function(){return k?{checked:T,halfChecked:$}:null},[k,T,$]);n.useEffect(function(){if(f&&!a&&T.length){var e;null===(e=G.current)||void 0===e||e.scrollTo({key:T[0]}),ec(T[0])}},[f]);var ea=String(i).toLowerCase(),el=n.useState(I),eo=(0,u.Z)(el,2),ei=eo[0],eu=eo[1],es=n.useState(null),ef=(0,u.Z)(es,2),eh=ef[0],ed=ef[1],ev=n.useMemo(function(){return F?(0,o.Z)(F):i?eh:ei},[ei,eh,F,i]);n.useEffect(function(){if(i){var e;ed((e=[],!function t(c){c.forEach(function(c){var n=c[M.children];n&&(e.push(c[M.value]),t(n))})}(w),e))}},[i]);var em=function(e){e.preventDefault()},eg=function(e,t){var c=t.node;!(k&&B(c))&&(Z(c.key,{selected:!T.includes(c.key)}),a||s(!1))};if(n.useImperativeHandle(t,function(){var e;return{scrollTo:null===(e=G.current)||void 0===e?void 0:e.scrollTo,onKeyDown:function(e){var t;switch(e.which){case L.Z.UP:case L.Z.DOWN:case L.Z.LEFT:case L.Z.RIGHT:null===(t=G.current)||void 0===t||t.onKeyDown(e);break;case L.Z.ENTER:if(en){var c=(null==en?void 0:en.node)||{},n=c.selectable,r=c.value;!1!==n&&eg(null,{node:{key:et},selected:!T.includes(r)})}break;case L.Z.ESC:s(!1)}},onKeyUp:function(){}}}),0===Q.length)return n.createElement("div",{role:"listbox",className:"".concat(r,"-empty"),onMouseDown:em},d);var ep={fieldNames:M};return _&&(ep.loadedKeys=_),ev&&(ep.expandedKeys=ev),n.createElement("div",{onMouseDown:em},en&&f&&n.createElement("span",{style:S,"aria-live":"assertive"},en.node.value),n.createElement(E.Z,(0,l.Z)({ref:G,focusable:!1,prefixCls:"".concat(r,"-tree"),treeData:Q,height:g,itemHeight:p,itemScrollOffset:z,virtual:!1!==m&&!1!==H,multiple:a,icon:D,showIcon:N,switcherIcon:q,showLine:j,loadData:i?null:Y,motion:K,activeKey:et,checkable:k,checkStrictly:!0,checkedKeys:er,selectedKeys:k?[]:T,defaultExpandAll:A,titleRender:V},ep,{onActiveChange:ec,onSelect:eg,onCheck:eg,onExpand:function(e){eu(e),ed(e),P&&P(e)},onLoad:X,filterTreeNode:function(e){return!!ea&&String(e[W]).toLowerCase().includes(ea)},expandAction:b,onScroll:C})))}),k="SHOW_ALL",T="SHOW_PARENT",$="SHOW_CHILD";function F(e,t,c,n){var r=new Set(e);return t===$?e.filter(function(e){var t=c[e];return!(t&&t.children&&t.children.some(function(e){var t=e.node;return r.has(t[n.value])})&&t.children.every(function(e){var t=e.node;return B(t)||r.has(t[n.value])}))}):t===T?e.filter(function(e){var t=c[e],n=t?t.parent:null;return!(n&&!B(n.node)&&r.has(n.key))}):e}var A=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"],I=n.forwardRef(function(e,t){var c=e.id,r=e.prefixCls,a=e.value,w=e.defaultValue,E=e.onChange,L=e.onSelect,y=e.onDeselect,B=e.searchValue,S=e.inputValue,T=e.onSearch,I=e.autoClearSearchValue,P=void 0===I||I,D=e.filterTreeNode,N=e.treeNodeFilterProp,q=void 0===N?"value":N,j=e.showCheckedStrategy,W=e.treeNodeLabelProp,Y=e.multiple,_=e.treeCheckable,K=e.treeCheckStrictly,X=e.labelInValue,U=e.fieldNames,G=e.treeDataSimpleMode,Q=e.treeData,J=e.children,ee=e.loadData,et=e.treeLoadedKeys,ec=e.onTreeLoad,en=e.treeDefaultExpandAll,er=e.treeExpandedKeys,ea=e.treeDefaultExpandedKeys,el=e.onTreeExpand,eo=e.treeExpandAction,ei=e.virtual,eu=e.listHeight,es=void 0===eu?200:eu,ef=e.listItemHeight,eh=void 0===ef?20:ef,ed=e.listItemScrollOffset,ev=void 0===ed?0:ed,em=e.onDropdownVisibleChange,eg=e.dropdownMatchSelectWidth,ep=void 0===eg||eg,ez=e.treeLine,ew=e.treeIcon,eM=e.showTreeIcon,eZ=e.switcherIcon,eH=e.treeMotion,eb=e.treeTitleRender,eV=e.onPopupScroll,eC=(0,s.Z)(e,A),ex=(0,d.ZP)(c),eE=_&&!K,eL=_||K,ey=K||X,eR=eL||Y,eB=(0,m.Z)(w,{value:a}),eS=(0,u.Z)(eB,2),eO=eS[0],ek=eS[1],eT=n.useMemo(function(){return _?j||$:k},[j,_]),e$=n.useMemo(function(){var e,t,c,n,r;return t=(e=U||{}).label,c=e.value,n=e.children,{_title:t?[t]:["title","label"],value:r=c||"value",key:r,children:n||"children"}},[JSON.stringify(U)]),eF=(0,m.Z)("",{value:void 0!==B?B:S,postState:function(e){return e||""}}),eA=(0,u.Z)(eF,2),eI=eA[0],eP=eA[1],eD=n.useMemo(function(){if(Q){var e,t,c,r,a,l;return G?(t=(e=(0,i.Z)({id:"id",pId:"pId",rootPId:null},!0!==G?G:{})).id,c=e.pId,r=e.rootPId,a={},l=[],Q.map(function(e){var c=(0,i.Z)({},e),n=c[t];return a[n]=c,c.key=c.key||n,c}).forEach(function(e){var t=e[c],n=a[t];n&&(n.children=n.children||[],n.children.push(e)),t!==r&&(n||null!==r)||l.push(e)}),l):Q}return function e(t){return(0,M.Z)(t).map(function(t){if(!n.isValidElement(t)||!t.type)return null;var c=t.key,r=t.props,a=r.children,l=r.value,o=(0,s.Z)(r,H),u=(0,i.Z)({key:c,value:l},o),f=e(a);return f.length&&(u.children=f),u}).filter(function(e){return e})}(J)},[J,G,Q]),eN=n.useMemo(function(){return(0,z.I8)(eD,{fieldNames:e$,initWrapper:function(e){return(0,i.Z)((0,i.Z)({},e),{},{valueEntities:new Map})},processEntity:function(e,t){var c=e.node[e$.value];t.valueEntities.set(c,e)}})},[eD,e$]),eq=eN.keyEntities,ej=eN.valueEntities,eW=n.useCallback(function(e){var t=[],c=[];return e.forEach(function(e){ej.has(e)?c.push(e):t.push(e)}),{missingRawValues:t,existRawValues:c}},[ej]),eY=V(eD,eI,{fieldNames:e$,treeNodeFilterProp:q,filterTreeNode:D}),e_=n.useCallback(function(e){if(e){if(W)return e[W];for(var t=e$._title,c=0;c1&&void 0!==arguments[1]?arguments[1]:"0",u=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return r.map(function(r,s){var f="".concat(a,"-").concat(s),h=r[l.value],d=c.includes(h),v=e(r[l.children]||[],f,d),m=n.createElement(Z,r,v.map(function(e){return e.node}));if(t===h&&(o=m),d){var g={pos:f,node:m,children:v};return u||i.push(g),g}return null}).filter(function(e){return e})}(r),i.sort(function(e,t){var n=e.node.props.value,r=t.node.props.value;return c.indexOf(n)-c.indexOf(r)}))}Object.defineProperty(e,"triggerNode",{get:function(){return(0,g.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),u(),o}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return((0,g.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),u(),a)?i:i.map(function(e){return e.node})}})}(h,l,e,eD,d,e$),eL?h.checked=i:h.selected=i;var v=ey?f:f.map(function(e){return e.value});E(eR?v:v[0],ey?null:f.map(function(e){return e.label}),h)}}),e9=n.useCallback(function(e,t){var c=t.selected,n=t.source,r=eq[e],a=null==r?void 0:r.node,l=null!==(u=null==a?void 0:a[e$.value])&&void 0!==u?u:e;if(eR){var i=c?[].concat((0,o.Z)(e4),[l]):e8.filter(function(e){return e!==l});if(eE){var u,s,f=eW(i),h=f.missingRawValues,d=f.existRawValues.map(function(e){return ej.get(e).key});s=c?(0,v.S)(d,!0,eq).checkedKeys:(0,v.S)(d,{checked:!1,halfCheckedKeys:e6},eq).checkedKeys,i=[].concat((0,o.Z)(h),(0,o.Z)(s.map(function(e){return eq[e].node[e$.value]})))}e7(i,{selected:c,triggerValue:l},n||"option")}else e7([l],{selected:!0,triggerValue:l},"option");c||!eR?null==L||L(l,b(a)):null==y||y(l,b(a))},[eW,ej,eq,e$,eR,e4,e7,eE,L,y,e8,e6]),te=n.useCallback(function(e){if(em){var t={};Object.defineProperty(t,"documentClickClose",{get:function(){return(0,g.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),em(e,t)}},[em]),tt=C(function(e,t){var c=e.map(function(e){return e.value});if("clear"===t.type){e7(c,{},"selection");return}t.values.length&&e9(t.values[0].value,{selected:!1,source:"selection"})}),tc=n.useMemo(function(){return{virtual:ei,dropdownMatchSelectWidth:ep,listHeight:es,listItemHeight:eh,listItemScrollOffset:ev,treeData:eY,fieldNames:e$,onSelect:e9,treeExpandAction:eo,treeTitleRender:eb,onPopupScroll:eV}},[ei,ep,es,eh,ev,eY,e$,e9,eo,eb,eV]),tn=n.useMemo(function(){return{checkable:eL,loadData:ee,treeLoadedKeys:et,onTreeLoad:ec,checkedKeys:e8,halfCheckedKeys:e6,treeDefaultExpandAll:en,treeExpandedKeys:er,treeDefaultExpandedKeys:ea,onTreeExpand:el,treeIcon:ew,treeMotion:eH,showTreeIcon:eM,switcherIcon:eZ,treeLine:ez,treeNodeFilterProp:q,keyEntities:eq}},[eL,ee,et,ec,e8,e6,en,er,ea,el,ew,eH,eM,eZ,ez,q,eq]);return n.createElement(R.Provider,{value:tc},n.createElement(x.Provider,{value:tn},n.createElement(h.Ac,(0,l.Z)({ref:t},eC,{id:ex,prefixCls:void 0===r?"rc-tree-select":r,mode:eR?"multiple":void 0,displayValues:e5,onDisplayValuesChange:tt,searchValue:eI,onSearch:function(e){eP(e),null==T||T(e)},OptionList:O,emptyOptions:!eD.length,onDropdownVisibleChange:te,dropdownMatchSelectWidth:ep}))))});I.TreeNode=Z,I.SHOW_ALL=k,I.SHOW_PARENT=T,I.SHOW_CHILD=$;var P=c(98423),D=c(87263),N=c(33603),q=c(8745),j=c(9708),W=c(53124),Y=c(88258),_=c(98866),K=c(35792),X=c(98675),U=c(65223),G=c(27833),Q=c(30307),J=c(15030),ee=c(43277),et=c(78642),ec=c(4173),en=c(59657),er=c(47648),ea=c(63185),el=c(87893),eo=c(83559),ei=c(32157);let eu=e=>{let{componentCls:t,treePrefixCls:c,colorBgElevated:n}=e,r=`.${c}`;return[{[`${t}-dropdown`]:[{padding:`${(0,er.bf)(e.paddingXS)} ${(0,er.bf)(e.calc(e.paddingXS).div(2).equal())}`},(0,ei.Yk)(c,(0,el.IX)(e,{colorBgContainer:n})),{[r]:{borderRadius:0,[`${r}-list-holder-inner`]:{alignItems:"stretch",[`${r}-treenode`]:{[`${r}-node-content-wrapper`]:{flex:"auto"}}}}},(0,ea.C2)(`${c}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${r}-switcher${r}-switcher_close`]:{[`${r}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};var es=function(e,t){var c={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(c[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(c[n[r]]=e[n[r]]);return c};let ef=n.forwardRef((e,t)=>{var c;let r;let{prefixCls:l,size:o,disabled:i,bordered:u=!0,className:s,rootClassName:f,treeCheckable:h,multiple:d,listHeight:v=256,listItemHeight:m=26,placement:g,notFoundContent:p,switcherIcon:z,treeLine:w,getPopupContainer:M,popupClassName:Z,dropdownClassName:H,treeIcon:b=!1,transitionName:V,choiceTransitionName:C="",status:x,treeExpandAction:E,builtinPlacements:L,dropdownMatchSelectWidth:y,popupMatchSelectWidth:R,allowClear:B,variant:S,dropdownStyle:O,tagRender:k}=e,T=es(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender"]),{getPopupContainer:$,getPrefixCls:F,renderEmpty:A,direction:q,virtual:er,popupMatchSelectWidth:ea,popupOverflow:ef}=n.useContext(W.E_),eh=F(),ed=F("select",l),ev=F("select-tree",l),em=F("tree-select",l),{compactSize:eg,compactItemClassnames:ep}=(0,ec.ri)(ed,q),ez=(0,K.Z)(ed),ew=(0,K.Z)(em),[eM,eZ,eH]=(0,J.Z)(ed,ez),[eb]=(0,eo.I$)("TreeSelect",e=>{let t=(0,el.IX)(e,{treePrefixCls:ev});return[eu(t)]},ei.TM)(em,ew),[eV,eC]=(0,G.Z)("treeSelect",S,u),ex=a()(Z||H,`${em}-dropdown`,{[`${em}-dropdown-rtl`]:"rtl"===q},f,eH,ez,ew,eZ),eE=!!(h||d),eL=(0,et.Z)(e.suffixIcon,e.showArrow),ey=null!==(c=null!=R?R:y)&&void 0!==c?c:ea,{status:eR,hasFeedback:eB,isFormItemInput:eS,feedbackIcon:eO}=n.useContext(U.aM),ek=(0,j.F)(eR,x),{suffixIcon:eT,removeIcon:e$,clearIcon:eF}=(0,ee.Z)(Object.assign(Object.assign({},T),{multiple:eE,showSuffixIcon:eL,hasFeedback:eB,feedbackIcon:eO,prefixCls:ed,componentName:"TreeSelect"}));r=void 0!==p?p:(null==A?void 0:A("Select"))||n.createElement(Y.Z,{componentName:"Select"});let eA=(0,P.Z)(T,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),eI=n.useMemo(()=>void 0!==g?g:"rtl"===q?"bottomRight":"bottomLeft",[g,q]),eP=(0,X.Z)(e=>{var t;return null!==(t=null!=o?o:eg)&&void 0!==t?t:e}),eD=n.useContext(_.Z),eN=a()(!l&&em,{[`${ed}-lg`]:"large"===eP,[`${ed}-sm`]:"small"===eP,[`${ed}-rtl`]:"rtl"===q,[`${ed}-${eV}`]:eC,[`${ed}-in-form-item`]:eS},(0,j.Z)(ed,ek,eB),ep,s,f,eH,ez,ew,eZ),[eq]=(0,D.Cn)("SelectLike",null==O?void 0:O.zIndex),ej=n.createElement(I,Object.assign({virtual:er,disabled:null!=i?i:eD},eA,{dropdownMatchSelectWidth:ey,builtinPlacements:(0,Q.Z)(L,ef),ref:t,prefixCls:ed,className:eN,listHeight:v,listItemHeight:m,treeCheckable:h?n.createElement("span",{className:`${ed}-tree-checkbox-inner`}):h,treeLine:!!w,suffixIcon:eT,multiple:eE,placement:eI,removeIcon:e$,allowClear:!0===B?{clearIcon:eF}:B,switcherIcon:e=>n.createElement(en.Z,{prefixCls:ev,switcherIcon:z,treeNodeProps:e,showLine:w}),showTreeIcon:b,notFoundContent:r,getPopupContainer:M||$,treeMotion:null,dropdownClassName:ex,dropdownStyle:Object.assign(Object.assign({},O),{zIndex:eq}),choiceTransitionName:(0,N.m)(eh,"",C),transitionName:(0,N.m)(eh,"slide-up",V),treeExpandAction:E,tagRender:eE?k:void 0}));return eM(eb(ej))}),eh=(0,q.Z)(ef);ef.TreeNode=Z,ef.SHOW_ALL=k,ef.SHOW_PARENT=T,ef.SHOW_CHILD=$,ef._InternalPanelDoNotUseOrYouWillBeFired=eh;var ed=ef},97454:function(e,t,c){"use strict";var n=c(83963),r=c(67294),a=c(26554),l=c(30672),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=o},62994:function(e,t,c){"use strict";var n=c(83963),r=c(67294),a=c(50756),l=c(30672),o=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=o},97909:function(e){var t,c,n,r,a,l,o,i,u,s,f,h,d,v,m,g,p,z,w,M,Z,H;e.exports=(t="millisecond",c="second",n="minute",r="hour",a="week",l="month",o="quarter",i="year",u="date",s="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=function(e,t,c){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(c)+e},(m={})[v="en"]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],c=e%100;return"["+e+(t[(c-20)%10]||t[c]||"th")+"]"}},g="$isDayjsObject",p=function(e){return e instanceof Z||!(!e||!e[g])},z=function e(t,c,n){var r;if(!t)return v;if("string"==typeof t){var a=t.toLowerCase();m[a]&&(r=a),c&&(m[a]=c,r=a);var l=t.split("-");if(!r&&l.length>1)return e(l[0])}else{var o=t.name;m[o]=t,r=o}return!n&&r&&(v=r),r||!n&&v},w=function(e,t){if(p(e))return e.clone();var c="object"==typeof t?t:{};return c.date=e,c.args=arguments,new Z(c)},(M={s:d,z:function(e){var t=-e.utcOffset(),c=Math.abs(t);return(t<=0?"+":"-")+d(Math.floor(c/60),2,"0")+":"+d(c%60,2,"0")},m:function e(t,c){if(t.date()68?1900:2e3)},i=function(e){return function(t){this[e]=+t}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e||"Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),c=60*t[1]+(+t[2]||0);return 0===c?0:"+"===t[0]?-c:c}(e)}],s=function(e){var t=l[e];return t&&(t.indexOf?t:t.s.concat(t.f))},f=function(e,t){var c,n=l.meridiem;if(n){for(var r=1;r<=24;r+=1)if(e.indexOf(n(r,0,t))>-1){c=r>12;break}}else c=e===(t?"pm":"PM");return c},h={A:[a,function(e){this.afternoon=f(e,!1)}],a:[a,function(e){this.afternoon=f(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[r,i("seconds")],ss:[r,i("seconds")],m:[r,i("minutes")],mm:[r,i("minutes")],H:[r,i("hours")],h:[r,i("hours")],HH:[r,i("hours")],hh:[r,i("hours")],D:[r,i("day")],DD:[n,i("day")],Do:[a,function(e){var t=l.ordinal,c=e.match(/\d+/);if(this.day=c[0],t)for(var n=1;n<=31;n+=1)t(n).replace(/\[|\]/g,"")===e&&(this.day=n)}],M:[r,i("month")],MM:[n,i("month")],MMM:[a,function(e){var t=s("months"),c=(s("monthsShort")||t.map(function(e){return e.slice(0,3)})).indexOf(e)+1;if(c<1)throw Error();this.month=c%12||c}],MMMM:[a,function(e){var t=s("months").indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,i("year")],YY:[n,function(e){this.year=o(e)}],YYYY:[/\d{4}/,i("year")],Z:u,ZZ:u},function(e,n,r){r.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(o=e.parseTwoDigitYear);var a=n.prototype,i=a.parse;a.parse=function(e){var n=e.date,a=e.utc,o=e.args;this.$u=a;var u=o[1];if("string"==typeof u){var s=!0===o[2],f=!0===o[3],d=o[2];f&&(d=o[2]),l=this.$locale(),!s&&d&&(l=r.Ls[d]),this.$d=function(e,n,r){try{if(["x","X"].indexOf(n)>-1)return new Date(("X"===n?1e3:1)*e);var a=(function(e){var n,r;n=e,r=l&&l.formats;for(var a=(e=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(e,c,n){var a=n&&n.toUpperCase();return c||r[n]||t[n]||r[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,c){return t||c.slice(1)})})).match(c),o=a.length,i=0;i0?i-1:g.getMonth());var M=s||0,Z=f||0,H=d||0,b=v||0;return m?new Date(Date.UTC(z,w,p,M,Z,H,b+60*m.offset*1e3)):r?new Date(Date.UTC(z,w,p,M,Z,H,b)):new Date(z,w,p,M,Z,H,b)}catch(e){return new Date("")}}(n,u,a),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),(s||f)&&n!=this.format(u)&&(this.$d=new Date("")),l={}}else if(u instanceof Array)for(var v=u.length,m=1;m<=v;m+=1){o[1]=u[m-1];var g=r.apply(this,o);if(g.isValid()){this.$d=g.$d,this.$L=g.$L,this.init();break}m===v&&(this.$d=new Date(""))}else i.call(this,e)}})},26850:function(e){e.exports=function(e,t,c){var n=t.prototype,r=function(e){return e&&(e.indexOf?e:e.s)},a=function(e,t,c,n,a){var l=e.name?e:e.$locale(),o=r(l[t]),i=r(l[c]),u=o||i.map(function(e){return e.slice(0,n)});if(!a)return u;var s=l.weekStart;return u.map(function(e,t){return u[(t+(s||0))%7]})},l=function(){return c.Ls[c.locale()]},o=function(e,t){return e.formats[t]||e.formats[t.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,c){return t||c.slice(1)})},i=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):a(e,"months")},monthsShort:function(t){return t?t.format("MMM"):a(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):a(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):a(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):a(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return o(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};n.localeData=function(){return i.bind(this)()},c.localeData=function(){var e=l();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return c.weekdays()},weekdaysShort:function(){return c.weekdaysShort()},weekdaysMin:function(){return c.weekdaysMin()},months:function(){return c.months()},monthsShort:function(){return c.monthsShort()},longDateFormat:function(t){return o(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},c.months=function(){return a(l(),"months")},c.monthsShort=function(){return a(l(),"monthsShort","months",3)},c.weekdays=function(e){return a(l(),"weekdays",null,null,e)},c.weekdaysShort=function(e){return a(l(),"weekdaysShort","weekdays",3,e)},c.weekdaysMin=function(e){return a(l(),"weekdaysMin","weekdays",2,e)}}},90888:function(e){var t,c;e.exports=(t="week",c="year",function(e,n,r){var a=n.prototype;a.week=function(e){if(void 0===e&&(e=null),null!==e)return this.add(7*(e-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var a=r(this).startOf(c).add(1,c).date(n),l=r(this).endOf(t);if(a.isBefore(l))return 1}var o=r(this).startOf(c).date(n).startOf(t).subtract(1,"millisecond"),i=this.diff(o,t,!0);return i<0?r(this).startOf("week").week():Math.ceil(i)},a.weeks=function(e){return void 0===e&&(e=null),this.week(e)}})},99873:function(e){e.exports=function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),c=this.year();return 1===t&&11===e?c+1:0===e&&t>=52?c-1:c}}},33088:function(e){e.exports=function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,c=this.$W,n=(c>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===c?H(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===c?H(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=f.exec(e))?new C(t[1],t[2],t[3],1):(t=h.exec(e))?new C(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=d.exec(e))?H(t[1],t[2],t[3],t[4]):(t=v.exec(e))?H(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=m.exec(e))?y(t[1],t[2]/100,t[3]/100,1):(t=g.exec(e))?y(t[1],t[2]/100,t[3]/100,t[4]):p.hasOwnProperty(e)?Z(p[e]):"transparent"===e?new C(NaN,NaN,NaN,0):null}function Z(e){return new C(e>>16&255,e>>8&255,255&e,1)}function H(e,t,c,n){return n<=0&&(e=t=c=NaN),new C(e,t,c,n)}function b(e){return(e instanceof r||(e=M(e)),e)?(e=e.rgb(),new C(e.r,e.g,e.b,e.opacity)):new C}function V(e,t,c,n){return 1==arguments.length?b(e):new C(e,t,c,null==n?1:n)}function C(e,t,c,n){this.r=+e,this.g=+t,this.b=+c,this.opacity=+n}function x(){return"#"+L(this.r)+L(this.g)+L(this.b)}function E(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function L(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function y(e,t,c,n){return n<=0?e=t=c=NaN:c<=0||c>=1?e=t=NaN:t<=0&&(e=NaN),new B(e,t,c,n)}function R(e){if(e instanceof B)return new B(e.h,e.s,e.l,e.opacity);if(e instanceof r||(e=M(e)),!e)return new B;if(e instanceof B)return e;var t=(e=e.rgb()).r/255,c=e.g/255,n=e.b/255,a=Math.min(t,c,n),l=Math.max(t,c,n),o=NaN,i=l-a,u=(l+a)/2;return i?(o=t===l?(c-n)/i+(c0&&u<1?0:o,new B(o,i,u,e.opacity)}function B(e,t,c,n){this.h=+e,this.s=+t,this.l=+c,this.opacity=+n}function S(e,t,c){return(e<60?t+(c-t)*e/60:e<180?c:e<240?t+(c-t)*(240-e)/60:t)*255}(0,n.Z)(r,M,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:z,formatHex:z,formatHsl:function(){return R(this).formatHsl()},formatRgb:w,toString:w}),(0,n.Z)(C,V,(0,n.l)(r,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new C(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new C(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:x,formatHex:x,formatRgb:E,toString:E})),(0,n.Z)(B,function(e,t,c,n){return 1==arguments.length?R(e):new B(e,t,c,null==n?1:n)},(0,n.l)(r,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new B(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new B(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,c=this.l,n=c+(c<.5?c:1-c)*t,r=2*c-n;return new C(S(e>=240?e-240:e+120,r,n),S(e,r,n),S(e<120?e+240:e-120,r,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}))},44087:function(e,t,c){"use strict";function n(e,t,c){e.prototype=t.prototype=c,c.constructor=e}function r(e,t){var c=Object.create(e.prototype);for(var n in t)c[n]=t[n];return c}c.d(t,{Z:function(){return n},l:function(){return r}})},92626:function(e,t){"use strict";var c={value:()=>{}};function n(){for(var e,t=0,c=arguments.length,n={};t=0&&(t=e.slice(c+1),e=e.slice(0,c)),e&&!n.hasOwnProperty(e))throw Error("unknown type: "+e);return{type:e,name:t}}),l=-1,o=r.length;if(arguments.length<2){for(;++l0)for(var c,n,r=Array(c),a=0;a=0&&t._call.call(null,e),t=t._next;--a}()}finally{a=0,function(){for(var e,t,c=n,a=1/0;c;)c._call?(a>c._time&&(a=c._time),e=c,c=c._next):(t=c._next,c._next=null,c=e?e._next=t:n=t);r=e,w(a)}(),u=0}}function z(){var e=f.now(),t=e-i;t>1e3&&(s-=t,i=e)}function w(e){!a&&(l&&(l=clearTimeout(l)),e-u>24?(e<1/0&&(l=setTimeout(p,e-f.now()-s)),o&&(o=clearInterval(o))):(o||(i=f.now(),o=setInterval(z,1e3)),a=1,h(p)))}m.prototype=g.prototype={constructor:m,restart:function(e,t,c){if("function"!=typeof e)throw TypeError("callback is not a function");c=(null==c?d():+c)+(null==t?0:+t),this._next||r===this||(r?r._next=this:n=this,r=this),this._call=e,this._time=c,w()},stop:function(){this._call&&(this._call=null,this._time=1/0,w())}}},36459:function(e,t,c){"use strict";function n(e){if(null==e)throw TypeError("Cannot destructure "+e)}c.d(t,{Z:function(){return n}})},24885:function(e,t,c){"use strict";c.d(t,{Z:function(){return m}});var n=c(67294),r=c(83840),a=c(76248),l=c(36851);function o(){return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},n.createElement("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"}))}function i(){return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5"},n.createElement("path",{d:"M0 0h32v4.2H0z"}))}function u(){return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30"},n.createElement("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"}))}function s(){return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32"},n.createElement("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"}))}function f(){return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32"},n.createElement("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"}))}let h=({children:e,className:t,...c})=>n.createElement("button",{type:"button",className:(0,r.Z)(["react-flow__controls-button",t]),...c},e);h.displayName="ControlButton";let d=e=>({isInteractive:e.nodesDraggable||e.nodesConnectable||e.elementsSelectable,minZoomReached:e.transform[2]<=e.minZoom,maxZoomReached:e.transform[2]>=e.maxZoom}),v=({style:e,showZoom:t=!0,showFitView:c=!0,showInteractive:v=!0,fitViewOptions:m,onZoomIn:g,onZoomOut:p,onFitView:z,onInteractiveChange:w,className:M,children:Z,position:H="bottom-left"})=>{let b=(0,l.AC)(),[V,C]=(0,n.useState)(!1),{isInteractive:x,minZoomReached:E,maxZoomReached:L}=(0,l.oR)(d,a.X),{zoomIn:y,zoomOut:R,fitView:B}=(0,l._K)();return((0,n.useEffect)(()=>{C(!0)},[]),V)?n.createElement(l.s_,{className:(0,r.Z)(["react-flow__controls",M]),position:H,style:e,"data-testid":"rf__controls"},t&&n.createElement(n.Fragment,null,n.createElement(h,{onClick:()=>{y(),g?.()},className:"react-flow__controls-zoomin",title:"zoom in","aria-label":"zoom in",disabled:L},n.createElement(o,null)),n.createElement(h,{onClick:()=>{R(),p?.()},className:"react-flow__controls-zoomout",title:"zoom out","aria-label":"zoom out",disabled:E},n.createElement(i,null))),c&&n.createElement(h,{className:"react-flow__controls-fitview",onClick:()=>{B(m),z?.()},title:"fit view","aria-label":"fit view"},n.createElement(u,null)),v&&n.createElement(h,{className:"react-flow__controls-interactive",onClick:()=>{b.setState({nodesDraggable:!x,nodesConnectable:!x,elementsSelectable:!x}),w?.(!x)},title:"toggle interactivity","aria-label":"toggle interactivity"},x?n.createElement(f,null):n.createElement(s,null)),Z):null};v.displayName="Controls";var m=(0,n.memo)(v)}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5377.933d6de1731c0190.js b/dbgpt/app/static/web/_next/static/chunks/5377.933d6de1731c0190.js deleted file mode 100644 index 7e202b94d..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/5377.933d6de1731c0190.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5377],{15377:function(e,t,n){n.r(t),n.d(t,{CompletionAdapter:function(){return tM},DefinitionAdapter:function(){return tV},DiagnosticsAdapter:function(){return tL},DocumentColorAdapter:function(){return tQ},DocumentFormattingEditProvider:function(){return tz},DocumentHighlightAdapter:function(){return tU},DocumentLinkAdapter:function(){return t$},DocumentRangeFormattingEditProvider:function(){return tB},DocumentSymbolAdapter:function(){return tK},FoldingRangeAdapter:function(){return tG},HoverAdapter:function(){return tj},ReferenceAdapter:function(){return tW},RenameAdapter:function(){return tH},SelectionRangeAdapter:function(){return tJ},WorkerManager:function(){return tS},fromPosition:function(){return tP},fromRange:function(){return tT},setupMode:function(){return t0},setupMode1:function(){return tZ},toRange:function(){return tD},toTextEdit:function(){return tF}});var r,i,o,a,s,u,c,d,l,g,f,h,m,p,v,b,_,k,w,y,I,x,E,A,C,S,R,L,M,P,T,D,F,j,N,U,V,O,W,H,K,X,$,z,B,q,Q,G,J,Y,Z,ee,et,en,er,ei,eo,ea,es,eu,ec,ed,el,eg,ef,eh,em,ep,ev,eb,e_,ek,ew,ey,eI,ex,eE,eA,eC,eS,eR,eL,eM,eP,eT,eD,eF,ej,eN,eU,eV,eO,eW,eH,eK,eX,e$,ez,eB,eq,eQ,eG,eJ,eY,eZ,e0,e1,e2,e4,e3,e7,e6,e8,e5,e9,te,tt,tn,tr,ti,to,ta,ts,tu,tc,td,tl,tg,tf,th,tm,tp,tv,tb,t_,tk,tw=n(5036),ty=Object.defineProperty,tI=Object.getOwnPropertyDescriptor,tx=Object.getOwnPropertyNames,tE=Object.prototype.hasOwnProperty,tA=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of tx(t))tE.call(e,i)||i===n||ty(e,i,{get:()=>t[i],enumerable:!(r=tI(t,i))||r.enumerable});return e},tC={};tA(tC,tw,"default"),r&&tA(r,tw,"default");var tS=class{constructor(e){this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){this._worker&&Date.now()-this._lastUsedTime>12e4&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=tC.editor.createWebWorker({moduleId:"vs/language/html/htmlWorker",createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let t;return this._getClient().then(e=>{t=e}).then(t=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(e=>t)}};(eo||(eo={})).is=function(e){return"string"==typeof e},(ea||(ea={})).is=function(e){return"string"==typeof e},(i=es||(es={})).MIN_VALUE=-2147483648,i.MAX_VALUE=2147483647,i.is=function(e){return"number"==typeof e&&i.MIN_VALUE<=e&&e<=i.MAX_VALUE},(o=eu||(eu={})).MIN_VALUE=0,o.MAX_VALUE=2147483647,o.is=function(e){return"number"==typeof e&&o.MIN_VALUE<=e&&e<=o.MAX_VALUE},(a=ec||(ec={})).create=function(e,t){return e===Number.MAX_VALUE&&(e=eu.MAX_VALUE),t===Number.MAX_VALUE&&(t=eu.MAX_VALUE),{line:e,character:t}},a.is=function(e){return tk.objectLiteral(e)&&tk.uinteger(e.line)&&tk.uinteger(e.character)},(s=ed||(ed={})).create=function(e,t,n,r){if(tk.uinteger(e)&&tk.uinteger(t)&&tk.uinteger(n)&&tk.uinteger(r))return{start:ec.create(e,t),end:ec.create(n,r)};if(ec.is(e)&&ec.is(t))return{start:e,end:t};throw Error(`Range#create called with invalid arguments[${e}, ${t}, ${n}, ${r}]`)},s.is=function(e){return tk.objectLiteral(e)&&ec.is(e.start)&&ec.is(e.end)},(u=el||(el={})).create=function(e,t){return{uri:e,range:t}},u.is=function(e){return tk.objectLiteral(e)&&ed.is(e.range)&&(tk.string(e.uri)||tk.undefined(e.uri))},(c=eg||(eg={})).create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},c.is=function(e){return tk.objectLiteral(e)&&ed.is(e.targetRange)&&tk.string(e.targetUri)&&ed.is(e.targetSelectionRange)&&(ed.is(e.originSelectionRange)||tk.undefined(e.originSelectionRange))},(d=ef||(ef={})).create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},d.is=function(e){return tk.objectLiteral(e)&&tk.numberRange(e.red,0,1)&&tk.numberRange(e.green,0,1)&&tk.numberRange(e.blue,0,1)&&tk.numberRange(e.alpha,0,1)},(l=eh||(eh={})).create=function(e,t){return{range:e,color:t}},l.is=function(e){return tk.objectLiteral(e)&&ed.is(e.range)&&ef.is(e.color)},(g=em||(em={})).create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},g.is=function(e){return tk.objectLiteral(e)&&tk.string(e.label)&&(tk.undefined(e.textEdit)||ex.is(e))&&(tk.undefined(e.additionalTextEdits)||tk.typedArray(e.additionalTextEdits,ex.is))},(f=ep||(ep={})).Comment="comment",f.Imports="imports",f.Region="region",(h=ev||(ev={})).create=function(e,t,n,r,i,o){let a={startLine:e,endLine:t};return tk.defined(n)&&(a.startCharacter=n),tk.defined(r)&&(a.endCharacter=r),tk.defined(i)&&(a.kind=i),tk.defined(o)&&(a.collapsedText=o),a},h.is=function(e){return tk.objectLiteral(e)&&tk.uinteger(e.startLine)&&tk.uinteger(e.startLine)&&(tk.undefined(e.startCharacter)||tk.uinteger(e.startCharacter))&&(tk.undefined(e.endCharacter)||tk.uinteger(e.endCharacter))&&(tk.undefined(e.kind)||tk.string(e.kind))},(m=eb||(eb={})).create=function(e,t){return{location:e,message:t}},m.is=function(e){return tk.defined(e)&&el.is(e.location)&&tk.string(e.message)},(p=e_||(e_={})).Error=1,p.Warning=2,p.Information=3,p.Hint=4,(v=ek||(ek={})).Unnecessary=1,v.Deprecated=2,(ew||(ew={})).is=function(e){return tk.objectLiteral(e)&&tk.string(e.href)},(b=ey||(ey={})).create=function(e,t,n,r,i,o){let a={range:e,message:t};return tk.defined(n)&&(a.severity=n),tk.defined(r)&&(a.code=r),tk.defined(i)&&(a.source=i),tk.defined(o)&&(a.relatedInformation=o),a},b.is=function(e){var t;return tk.defined(e)&&ed.is(e.range)&&tk.string(e.message)&&(tk.number(e.severity)||tk.undefined(e.severity))&&(tk.integer(e.code)||tk.string(e.code)||tk.undefined(e.code))&&(tk.undefined(e.codeDescription)||tk.string(null===(t=e.codeDescription)||void 0===t?void 0:t.href))&&(tk.string(e.source)||tk.undefined(e.source))&&(tk.undefined(e.relatedInformation)||tk.typedArray(e.relatedInformation,eb.is))},(_=eI||(eI={})).create=function(e,t,...n){let r={title:e,command:t};return tk.defined(n)&&n.length>0&&(r.arguments=n),r},_.is=function(e){return tk.defined(e)&&tk.string(e.title)&&tk.string(e.command)},(k=ex||(ex={})).replace=function(e,t){return{range:e,newText:t}},k.insert=function(e,t){return{range:{start:e,end:e},newText:t}},k.del=function(e){return{range:e,newText:""}},k.is=function(e){return tk.objectLiteral(e)&&tk.string(e.newText)&&ed.is(e.range)},(w=eE||(eE={})).create=function(e,t,n){let r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},w.is=function(e){return tk.objectLiteral(e)&&tk.string(e.label)&&(tk.boolean(e.needsConfirmation)||void 0===e.needsConfirmation)&&(tk.string(e.description)||void 0===e.description)},(eA||(eA={})).is=function(e){return tk.string(e)},(y=eC||(eC={})).replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},y.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},y.del=function(e,t){return{range:e,newText:"",annotationId:t}},y.is=function(e){return ex.is(e)&&(eE.is(e.annotationId)||eA.is(e.annotationId))},(I=eS||(eS={})).create=function(e,t){return{textDocument:e,edits:t}},I.is=function(e){return tk.defined(e)&&eF.is(e.textDocument)&&Array.isArray(e.edits)},(x=eR||(eR={})).create=function(e,t,n){let r={kind:"create",uri:e};return void 0!==t&&(void 0!==t.overwrite||void 0!==t.ignoreIfExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},x.is=function(e){return e&&"create"===e.kind&&tk.string(e.uri)&&(void 0===e.options||(void 0===e.options.overwrite||tk.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||tk.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||eA.is(e.annotationId))},(E=eL||(eL={})).create=function(e,t,n,r){let i={kind:"rename",oldUri:e,newUri:t};return void 0!==n&&(void 0!==n.overwrite||void 0!==n.ignoreIfExists)&&(i.options=n),void 0!==r&&(i.annotationId=r),i},E.is=function(e){return e&&"rename"===e.kind&&tk.string(e.oldUri)&&tk.string(e.newUri)&&(void 0===e.options||(void 0===e.options.overwrite||tk.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||tk.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||eA.is(e.annotationId))},(A=eM||(eM={})).create=function(e,t,n){let r={kind:"delete",uri:e};return void 0!==t&&(void 0!==t.recursive||void 0!==t.ignoreIfNotExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},A.is=function(e){return e&&"delete"===e.kind&&tk.string(e.uri)&&(void 0===e.options||(void 0===e.options.recursive||tk.boolean(e.options.recursive))&&(void 0===e.options.ignoreIfNotExists||tk.boolean(e.options.ignoreIfNotExists)))&&(void 0===e.annotationId||eA.is(e.annotationId))},(eP||(eP={})).is=function(e){return e&&(void 0!==e.changes||void 0!==e.documentChanges)&&(void 0===e.documentChanges||e.documentChanges.every(e=>tk.string(e.kind)?eR.is(e)||eL.is(e)||eM.is(e):eS.is(e)))},(C=eT||(eT={})).create=function(e){return{uri:e}},C.is=function(e){return tk.defined(e)&&tk.string(e.uri)},(S=eD||(eD={})).create=function(e,t){return{uri:e,version:t}},S.is=function(e){return tk.defined(e)&&tk.string(e.uri)&&tk.integer(e.version)},(R=eF||(eF={})).create=function(e,t){return{uri:e,version:t}},R.is=function(e){return tk.defined(e)&&tk.string(e.uri)&&(null===e.version||tk.integer(e.version))},(L=ej||(ej={})).create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},L.is=function(e){return tk.defined(e)&&tk.string(e.uri)&&tk.string(e.languageId)&&tk.integer(e.version)&&tk.string(e.text)},(M=eN||(eN={})).PlainText="plaintext",M.Markdown="markdown",M.is=function(e){return e===M.PlainText||e===M.Markdown},(eU||(eU={})).is=function(e){return tk.objectLiteral(e)&&eN.is(e.kind)&&tk.string(e.value)},(P=eV||(eV={})).Text=1,P.Method=2,P.Function=3,P.Constructor=4,P.Field=5,P.Variable=6,P.Class=7,P.Interface=8,P.Module=9,P.Property=10,P.Unit=11,P.Value=12,P.Enum=13,P.Keyword=14,P.Snippet=15,P.Color=16,P.File=17,P.Reference=18,P.Folder=19,P.EnumMember=20,P.Constant=21,P.Struct=22,P.Event=23,P.Operator=24,P.TypeParameter=25,(T=eO||(eO={})).PlainText=1,T.Snippet=2,(eW||(eW={})).Deprecated=1,(D=eH||(eH={})).create=function(e,t,n){return{newText:e,insert:t,replace:n}},D.is=function(e){return e&&tk.string(e.newText)&&ed.is(e.insert)&&ed.is(e.replace)},(F=eK||(eK={})).asIs=1,F.adjustIndentation=2,(eX||(eX={})).is=function(e){return e&&(tk.string(e.detail)||void 0===e.detail)&&(tk.string(e.description)||void 0===e.description)},(e$||(e$={})).create=function(e){return{label:e}},(ez||(ez={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(j=eB||(eB={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},j.is=function(e){return tk.string(e)||tk.objectLiteral(e)&&tk.string(e.language)&&tk.string(e.value)},(eq||(eq={})).is=function(e){return!!e&&tk.objectLiteral(e)&&(eU.is(e.contents)||eB.is(e.contents)||tk.typedArray(e.contents,eB.is))&&(void 0===e.range||ed.is(e.range))},(eQ||(eQ={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(eG||(eG={})).create=function(e,t,...n){let r={label:e};return tk.defined(t)&&(r.documentation=t),tk.defined(n)?r.parameters=n:r.parameters=[],r},(N=eJ||(eJ={})).Text=1,N.Read=2,N.Write=3,(eY||(eY={})).create=function(e,t){let n={range:e};return tk.number(t)&&(n.kind=t),n},(U=eZ||(eZ={})).File=1,U.Module=2,U.Namespace=3,U.Package=4,U.Class=5,U.Method=6,U.Property=7,U.Field=8,U.Constructor=9,U.Enum=10,U.Interface=11,U.Function=12,U.Variable=13,U.Constant=14,U.String=15,U.Number=16,U.Boolean=17,U.Array=18,U.Object=19,U.Key=20,U.Null=21,U.EnumMember=22,U.Struct=23,U.Event=24,U.Operator=25,U.TypeParameter=26,(e0||(e0={})).Deprecated=1,(e1||(e1={})).create=function(e,t,n,r,i){let o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o},(e2||(e2={})).create=function(e,t,n,r){return void 0!==r?{name:e,kind:t,location:{uri:n,range:r}}:{name:e,kind:t,location:{uri:n}}},(V=e4||(e4={})).create=function(e,t,n,r,i,o){let a={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(a.children=o),a},V.is=function(e){return e&&tk.string(e.name)&&tk.number(e.kind)&&ed.is(e.range)&&ed.is(e.selectionRange)&&(void 0===e.detail||tk.string(e.detail))&&(void 0===e.deprecated||tk.boolean(e.deprecated))&&(void 0===e.children||Array.isArray(e.children))&&(void 0===e.tags||Array.isArray(e.tags))},(O=e3||(e3={})).Empty="",O.QuickFix="quickfix",O.Refactor="refactor",O.RefactorExtract="refactor.extract",O.RefactorInline="refactor.inline",O.RefactorRewrite="refactor.rewrite",O.Source="source",O.SourceOrganizeImports="source.organizeImports",O.SourceFixAll="source.fixAll",(W=e7||(e7={})).Invoked=1,W.Automatic=2,(H=e6||(e6={})).create=function(e,t,n){let r={diagnostics:e};return null!=t&&(r.only=t),null!=n&&(r.triggerKind=n),r},H.is=function(e){return tk.defined(e)&&tk.typedArray(e.diagnostics,ey.is)&&(void 0===e.only||tk.typedArray(e.only,tk.string))&&(void 0===e.triggerKind||e.triggerKind===e7.Invoked||e.triggerKind===e7.Automatic)},(K=e8||(e8={})).create=function(e,t,n){let r={title:e},i=!0;return"string"==typeof t?(i=!1,r.kind=t):eI.is(t)?r.command=t:r.edit=t,i&&void 0!==n&&(r.kind=n),r},K.is=function(e){return e&&tk.string(e.title)&&(void 0===e.diagnostics||tk.typedArray(e.diagnostics,ey.is))&&(void 0===e.kind||tk.string(e.kind))&&(void 0!==e.edit||void 0!==e.command)&&(void 0===e.command||eI.is(e.command))&&(void 0===e.isPreferred||tk.boolean(e.isPreferred))&&(void 0===e.edit||eP.is(e.edit))},(X=e5||(e5={})).create=function(e,t){let n={range:e};return tk.defined(t)&&(n.data=t),n},X.is=function(e){return tk.defined(e)&&ed.is(e.range)&&(tk.undefined(e.command)||eI.is(e.command))},($=e9||(e9={})).create=function(e,t){return{tabSize:e,insertSpaces:t}},$.is=function(e){return tk.defined(e)&&tk.uinteger(e.tabSize)&&tk.boolean(e.insertSpaces)},(z=te||(te={})).create=function(e,t,n){return{range:e,target:t,data:n}},z.is=function(e){return tk.defined(e)&&ed.is(e.range)&&(tk.undefined(e.target)||tk.string(e.target))},(B=tt||(tt={})).create=function(e,t){return{range:e,parent:t}},B.is=function(e){return tk.objectLiteral(e)&&ed.is(e.range)&&(void 0===e.parent||B.is(e.parent))},(q=tn||(tn={})).namespace="namespace",q.type="type",q.class="class",q.enum="enum",q.interface="interface",q.struct="struct",q.typeParameter="typeParameter",q.parameter="parameter",q.variable="variable",q.property="property",q.enumMember="enumMember",q.event="event",q.function="function",q.method="method",q.macro="macro",q.keyword="keyword",q.modifier="modifier",q.comment="comment",q.string="string",q.number="number",q.regexp="regexp",q.operator="operator",q.decorator="decorator",(Q=tr||(tr={})).declaration="declaration",Q.definition="definition",Q.readonly="readonly",Q.static="static",Q.deprecated="deprecated",Q.abstract="abstract",Q.async="async",Q.modification="modification",Q.documentation="documentation",Q.defaultLibrary="defaultLibrary",(ti||(ti={})).is=function(e){return tk.objectLiteral(e)&&(void 0===e.resultId||"string"==typeof e.resultId)&&Array.isArray(e.data)&&(0===e.data.length||"number"==typeof e.data[0])},(G=to||(to={})).create=function(e,t){return{range:e,text:t}},G.is=function(e){return null!=e&&ed.is(e.range)&&tk.string(e.text)},(J=ta||(ta={})).create=function(e,t,n){return{range:e,variableName:t,caseSensitiveLookup:n}},J.is=function(e){return null!=e&&ed.is(e.range)&&tk.boolean(e.caseSensitiveLookup)&&(tk.string(e.variableName)||void 0===e.variableName)},(Y=ts||(ts={})).create=function(e,t){return{range:e,expression:t}},Y.is=function(e){return null!=e&&ed.is(e.range)&&(tk.string(e.expression)||void 0===e.expression)},(Z=tu||(tu={})).create=function(e,t){return{frameId:e,stoppedLocation:t}},Z.is=function(e){return tk.defined(e)&&ed.is(e.stoppedLocation)},(ee=tc||(tc={})).Type=1,ee.Parameter=2,ee.is=function(e){return 1===e||2===e},(et=td||(td={})).create=function(e){return{value:e}},et.is=function(e){return tk.objectLiteral(e)&&(void 0===e.tooltip||tk.string(e.tooltip)||eU.is(e.tooltip))&&(void 0===e.location||el.is(e.location))&&(void 0===e.command||eI.is(e.command))},(en=tl||(tl={})).create=function(e,t,n){let r={position:e,label:t};return void 0!==n&&(r.kind=n),r},en.is=function(e){return tk.objectLiteral(e)&&ec.is(e.position)&&(tk.string(e.label)||tk.typedArray(e.label,td.is))&&(void 0===e.kind||tc.is(e.kind))&&void 0===e.textEdits||tk.typedArray(e.textEdits,ex.is)&&(void 0===e.tooltip||tk.string(e.tooltip)||eU.is(e.tooltip))&&(void 0===e.paddingLeft||tk.boolean(e.paddingLeft))&&(void 0===e.paddingRight||tk.boolean(e.paddingRight))},(tg||(tg={})).createSnippet=function(e){return{kind:"snippet",value:e}},(tf||(tf={})).create=function(e,t,n,r){return{insertText:e,filterText:t,range:n,command:r}},(th||(th={})).create=function(e){return{items:e}},(er=tm||(tm={})).Invoked=0,er.Automatic=1,(tp||(tp={})).create=function(e,t){return{range:e,text:t}},(tv||(tv={})).create=function(e,t){return{triggerKind:e,selectedCompletionInfo:t}},(tb||(tb={})).is=function(e){return tk.objectLiteral(e)&&ea.is(e.uri)&&tk.string(e.name)},(ei=t_||(t_={})).create=function(e,t,n,r){return new tR(e,t,n,r)},ei.is=function(e){return!!(tk.defined(e)&&tk.string(e.uri)&&(tk.undefined(e.languageId)||tk.string(e.languageId))&&tk.uinteger(e.lineCount)&&tk.func(e.getText)&&tk.func(e.positionAt)&&tk.func(e.offsetAt))},ei.applyEdits=function(e,t){let n=e.getText(),r=function e(t,n){if(t.length<=1)return t;let r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);let a=0,s=0,u=0;for(;a=n(i[a],o[s])?t[u++]=i[a++]:t[u++]=o[s++];for(;a{let n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}),i=n.length;for(let t=r.length-1;t>=0;t--){let o=r[t],a=e.offsetAt(o.range.start),s=e.offsetAt(o.range.end);if(s<=i)n=n.substring(0,a)+o.newText+n.substring(s,n.length);else throw Error("Overlapping edit");i=a}return n};var tR=class{constructor(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0}getLineOffsets(){if(void 0===this._lineOffsets){let e=[],t=this._content,n=!0;for(let r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return ec.create(0,e);for(;ne?r=i:n=i+1}let i=n-1;return ec.create(i,e-t[i])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1{let t,n=e.getLanguageId();n===this._languageId&&(this._listener[e.uri.toString()]=e.onDidChangeContent(()=>{window.clearTimeout(t),t=window.setTimeout(()=>this._doValidate(e.uri,n),500)}),this._doValidate(e.uri,n))},i=e=>{tC.editor.setModelMarkers(e,this._languageId,[]);let t=e.uri.toString(),n=this._listener[t];n&&(n.dispose(),delete this._listener[t])};this._disposables.push(tC.editor.onDidCreateModel(r)),this._disposables.push(tC.editor.onWillDisposeModel(i)),this._disposables.push(tC.editor.onDidChangeModelLanguage(e=>{i(e.model),r(e.model)})),this._disposables.push(n(e=>{tC.editor.getModels().forEach(e=>{e.getLanguageId()===this._languageId&&(i(e),r(e))})})),this._disposables.push({dispose:()=>{for(let e in tC.editor.getModels().forEach(i),this._listener)this._listener[e].dispose()}}),tC.editor.getModels().forEach(r)}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,t){this._worker(e).then(t=>t.doValidation(e.toString())).then(n=>{let r=n.map(e=>{let t;return t="number"==typeof e.code?String(e.code):e.code,{severity:function(e){switch(e){case e_.Error:return tC.MarkerSeverity.Error;case e_.Warning:return tC.MarkerSeverity.Warning;case e_.Information:return tC.MarkerSeverity.Info;case e_.Hint:return tC.MarkerSeverity.Hint;default:return tC.MarkerSeverity.Info}}(e.severity),startLineNumber:e.range.start.line+1,startColumn:e.range.start.character+1,endLineNumber:e.range.end.line+1,endColumn:e.range.end.character+1,message:e.message,code:t,source:e.source}}),i=tC.editor.getModel(e);i&&i.getLanguageId()===t&&tC.editor.setModelMarkers(i,t,r)}).then(void 0,e=>{console.error(e)})}},tM=class{constructor(e,t){this._worker=e,this._triggerCharacters=t}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.doComplete(i.toString(),tP(t))).then(n=>{if(!n)return;let r=e.getWordUntilPosition(t),i=new tC.Range(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn),o=n.items.map(e=>{var t,n;let r={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,command:(t=e.command)&&"editor.action.triggerSuggest"===t.command?{id:t.command,title:t.title,arguments:t.arguments}:void 0,range:i,kind:function(e){let t=tC.languages.CompletionItemKind;switch(e){case eV.Text:return t.Text;case eV.Method:return t.Method;case eV.Function:return t.Function;case eV.Constructor:return t.Constructor;case eV.Field:return t.Field;case eV.Variable:return t.Variable;case eV.Class:return t.Class;case eV.Interface:return t.Interface;case eV.Module:return t.Module;case eV.Property:break;case eV.Unit:return t.Unit;case eV.Value:return t.Value;case eV.Enum:return t.Enum;case eV.Keyword:return t.Keyword;case eV.Snippet:return t.Snippet;case eV.Color:return t.Color;case eV.File:return t.File;case eV.Reference:return t.Reference}return t.Property}(e.kind)};return e.textEdit&&(void 0!==(n=e.textEdit).insert&&void 0!==n.replace?r.range={insert:tD(e.textEdit.insert),replace:tD(e.textEdit.replace)}:r.range=tD(e.textEdit.range),r.insertText=e.textEdit.newText),e.additionalTextEdits&&(r.additionalTextEdits=e.additionalTextEdits.map(tF)),e.insertTextFormat===eO.Snippet&&(r.insertTextRules=tC.languages.CompletionItemInsertTextRule.InsertAsSnippet),r});return{isIncomplete:n.isIncomplete,suggestions:o}})}};function tP(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function tT(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function tD(e){if(e)return new tC.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function tF(e){if(e)return{range:tD(e.range),text:e.newText}}var tj=class{constructor(e){this._worker=e}provideHover(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.doHover(r.toString(),tP(t))).then(e=>{if(e){var t;return{range:tD(e.range),contents:(t=e.contents)?Array.isArray(t)?t.map(tN):[tN(t)]:void 0}}})}};function tN(e){return"string"==typeof e?{value:e}:e&&"object"==typeof e&&"string"==typeof e.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"}}var tU=class{constructor(e){this._worker=e}provideDocumentHighlights(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.findDocumentHighlights(r.toString(),tP(t))).then(e=>{if(e)return e.map(e=>({range:tD(e.range),kind:function(e){switch(e){case eJ.Read:return tC.languages.DocumentHighlightKind.Read;case eJ.Write:return tC.languages.DocumentHighlightKind.Write;case eJ.Text:}return tC.languages.DocumentHighlightKind.Text}(e.kind)}))})}},tV=class{constructor(e){this._worker=e}provideDefinition(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.findDefinition(r.toString(),tP(t))).then(e=>{if(e)return[tO(e)]})}};function tO(e){return{uri:tC.Uri.parse(e.uri),range:tD(e.range)}}var tW=class{constructor(e){this._worker=e}provideReferences(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.findReferences(i.toString(),tP(t))).then(e=>{if(e)return e.map(tO)})}},tH=class{constructor(e){this._worker=e}provideRenameEdits(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.doRename(i.toString(),tP(t),n)).then(e=>(function(e){if(!e||!e.changes)return;let t=[];for(let n in e.changes){let r=tC.Uri.parse(n);for(let i of e.changes[n])t.push({resource:r,versionId:void 0,textEdit:{range:tD(i.range),text:i.newText}})}return{edits:t}})(e))}},tK=class{constructor(e){this._worker=e}provideDocumentSymbols(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentSymbols(n.toString())).then(e=>{if(e)return e.map(e=>"children"in e?function e(t){return{name:t.name,detail:t.detail??"",kind:tX(t.kind),range:tD(t.range),selectionRange:tD(t.selectionRange),tags:t.tags??[],children:(t.children??[]).map(t=>e(t))}}(e):{name:e.name,detail:"",containerName:e.containerName,kind:tX(e.kind),range:tD(e.location.range),selectionRange:tD(e.location.range),tags:[]})})}};function tX(e){let t=tC.languages.SymbolKind;switch(e){case eZ.File:return t.File;case eZ.Module:return t.Module;case eZ.Namespace:return t.Namespace;case eZ.Package:return t.Package;case eZ.Class:return t.Class;case eZ.Method:return t.Method;case eZ.Property:return t.Property;case eZ.Field:return t.Field;case eZ.Constructor:return t.Constructor;case eZ.Enum:return t.Enum;case eZ.Interface:return t.Interface;case eZ.Function:break;case eZ.Variable:return t.Variable;case eZ.Constant:return t.Constant;case eZ.String:return t.String;case eZ.Number:return t.Number;case eZ.Boolean:return t.Boolean;case eZ.Array:return t.Array}return t.Function}var t$=class{constructor(e){this._worker=e}provideLinks(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentLinks(n.toString())).then(e=>{if(e)return{links:e.map(e=>({range:tD(e.range),url:e.target}))}})}},tz=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.format(r.toString(),null,tq(t)).then(e=>{if(e&&0!==e.length)return e.map(tF)}))}},tB=class{constructor(e){this._worker=e,this.canFormatMultipleRanges=!1}provideDocumentRangeFormattingEdits(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.format(i.toString(),tT(t),tq(n)).then(e=>{if(e&&0!==e.length)return e.map(tF)}))}};function tq(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var tQ=class{constructor(e){this._worker=e}provideDocumentColors(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentColors(n.toString())).then(e=>{if(e)return e.map(e=>({color:e.color,range:tD(e.range)}))})}provideColorPresentations(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getColorPresentations(r.toString(),t.color,tT(t.range))).then(e=>{if(e)return e.map(e=>{let t={label:e.label};return e.textEdit&&(t.textEdit=tF(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(tF)),t})})}},tG=class{constructor(e){this._worker=e}provideFoldingRanges(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getFoldingRanges(r.toString(),t)).then(e=>{if(e)return e.map(e=>{let t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case ep.Comment:return tC.languages.FoldingRangeKind.Comment;case ep.Imports:return tC.languages.FoldingRangeKind.Imports;case ep.Region:return tC.languages.FoldingRangeKind.Region}}(e.kind)),t})})}},tJ=class{constructor(e){this._worker=e}provideSelectionRanges(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getSelectionRanges(r.toString(),t.map(tP))).then(e=>{if(e)return e.map(e=>{let t=[];for(;e;)t.push({range:tD(e.range)}),e=e.parent;return t})})}},tY=class extends tM{constructor(e){super(e,[".",":","<",'"',"=","/"])}};function tZ(e){let t=new tS(e),n=(...e)=>t.getLanguageServiceWorker(...e),r=e.languageId;tC.languages.registerCompletionItemProvider(r,new tY(n)),tC.languages.registerHoverProvider(r,new tj(n)),tC.languages.registerDocumentHighlightProvider(r,new tU(n)),tC.languages.registerLinkProvider(r,new t$(n)),tC.languages.registerFoldingRangeProvider(r,new tG(n)),tC.languages.registerDocumentSymbolProvider(r,new tK(n)),tC.languages.registerSelectionRangeProvider(r,new tJ(n)),tC.languages.registerRenameProvider(r,new tH(n)),"html"===r&&(tC.languages.registerDocumentFormattingEditProvider(r,new tz(n)),tC.languages.registerDocumentRangeFormattingEditProvider(r,new tB(n)))}function t0(e){let t=[],n=[],r=new tS(e);t.push(r);let i=(...e)=>r.getLanguageServiceWorker(...e);return!function(){let{languageId:t,modeConfiguration:r}=e;t2(n),r.completionItems&&n.push(tC.languages.registerCompletionItemProvider(t,new tY(i))),r.hovers&&n.push(tC.languages.registerHoverProvider(t,new tj(i))),r.documentHighlights&&n.push(tC.languages.registerDocumentHighlightProvider(t,new tU(i))),r.links&&n.push(tC.languages.registerLinkProvider(t,new t$(i))),r.documentSymbols&&n.push(tC.languages.registerDocumentSymbolProvider(t,new tK(i))),r.rename&&n.push(tC.languages.registerRenameProvider(t,new tH(i))),r.foldingRanges&&n.push(tC.languages.registerFoldingRangeProvider(t,new tG(i))),r.selectionRanges&&n.push(tC.languages.registerSelectionRangeProvider(t,new tJ(i))),r.documentFormattingEdits&&n.push(tC.languages.registerDocumentFormattingEditProvider(t,new tz(i))),r.documentRangeFormattingEdits&&n.push(tC.languages.registerDocumentRangeFormattingEditProvider(t,new tB(i)))}(),t.push(t1(n)),t1(t)}function t1(e){return{dispose:()=>t2(e)}}function t2(e){for(;e.length;)e.pop().dispose()}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5377.a26081a0656c45da.js b/dbgpt/app/static/web/_next/static/chunks/5377.a26081a0656c45da.js new file mode 100644 index 000000000..835c86d44 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/5377.a26081a0656c45da.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5377],{15377:function(e,t,n){n.r(t),n.d(t,{CompletionAdapter:function(){return tr},DefinitionAdapter:function(){return tg},DiagnosticsAdapter:function(){return tn},DocumentColorAdapter:function(){return tk},DocumentFormattingEditProvider:function(){return tv},DocumentHighlightAdapter:function(){return td},DocumentLinkAdapter:function(){return tm},DocumentRangeFormattingEditProvider:function(){return t_},DocumentSymbolAdapter:function(){return tp},FoldingRangeAdapter:function(){return tb},HoverAdapter:function(){return tu},ReferenceAdapter:function(){return th},RenameAdapter:function(){return tf},SelectionRangeAdapter:function(){return ty},WorkerManager:function(){return e5},fromPosition:function(){return ti},fromRange:function(){return to},setupMode:function(){return tx},setupMode1:function(){return tC},toRange:function(){return ta},toTextEdit:function(){return ts}});var r,i,o,a,s,u,c,d,g,l,h,f,p,m,v,_,w,k,b,y,E,C,x,A,I,S,R,P,D,T,M,F,L,j,O,N,W,U,V,H,K,z,X,B,$,q,Q,G,J,Y,Z,ee,et,en,er,ei,eo,ea,es,eu,ec,ed,eg,el,eh,ef,ep,em,ev,e_,ew,ek,eb,ey,eE,eC,ex,eA,eI,eS,eR,eP,eD,eT,eM,eF,eL,ej,eO,eN,eW,eU,eV,eH,eK,ez,eX,eB,e$,eq,eQ,eG,eJ,eY,eZ,e0,e1=n(72339),e2=Object.defineProperty,e4=Object.getOwnPropertyDescriptor,e3=Object.getOwnPropertyNames,e7=Object.prototype.hasOwnProperty,e8=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of e3(t))e7.call(e,i)||i===n||e2(e,i,{get:()=>t[i],enumerable:!(r=e4(t,i))||r.enumerable});return e},e6={};e8(e6,e1,"default"),r&&e8(r,e1,"default");var e5=class{_defaults;_idleCheckInterval;_lastUsedTime;_configChangeListener;_worker;_client;constructor(e){this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){this._worker&&Date.now()-this._lastUsedTime>12e4&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=e6.editor.createWebWorker({moduleId:"vs/language/html/htmlWorker",createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let t;return this._getClient().then(e=>{t=e}).then(t=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(e=>t)}};(i=J||(J={})).MIN_VALUE=-2147483648,i.MAX_VALUE=2147483647,(o=Y||(Y={})).MIN_VALUE=0,o.MAX_VALUE=2147483647,(a=Z||(Z={})).create=function(e,t){return e===Number.MAX_VALUE&&(e=Y.MAX_VALUE),t===Number.MAX_VALUE&&(t=Y.MAX_VALUE),{line:e,character:t}},a.is=function(e){return e0.objectLiteral(e)&&e0.uinteger(e.line)&&e0.uinteger(e.character)},(s=ee||(ee={})).create=function(e,t,n,r){if(e0.uinteger(e)&&e0.uinteger(t)&&e0.uinteger(n)&&e0.uinteger(r))return{start:Z.create(e,t),end:Z.create(n,r)};if(Z.is(e)&&Z.is(t))return{start:e,end:t};throw Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},s.is=function(e){return e0.objectLiteral(e)&&Z.is(e.start)&&Z.is(e.end)},(u=et||(et={})).create=function(e,t){return{uri:e,range:t}},u.is=function(e){return e0.defined(e)&&ee.is(e.range)&&(e0.string(e.uri)||e0.undefined(e.uri))},(c=en||(en={})).create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},c.is=function(e){return e0.defined(e)&&ee.is(e.targetRange)&&e0.string(e.targetUri)&&(ee.is(e.targetSelectionRange)||e0.undefined(e.targetSelectionRange))&&(ee.is(e.originSelectionRange)||e0.undefined(e.originSelectionRange))},(d=er||(er={})).create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},d.is=function(e){return e0.numberRange(e.red,0,1)&&e0.numberRange(e.green,0,1)&&e0.numberRange(e.blue,0,1)&&e0.numberRange(e.alpha,0,1)},(g=ei||(ei={})).create=function(e,t){return{range:e,color:t}},g.is=function(e){return ee.is(e.range)&&er.is(e.color)},(l=eo||(eo={})).create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},l.is=function(e){return e0.string(e.label)&&(e0.undefined(e.textEdit)||ef.is(e))&&(e0.undefined(e.additionalTextEdits)||e0.typedArray(e.additionalTextEdits,ef.is))},(h=ea||(ea={})).Comment="comment",h.Imports="imports",h.Region="region",(f=es||(es={})).create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return e0.defined(n)&&(o.startCharacter=n),e0.defined(r)&&(o.endCharacter=r),e0.defined(i)&&(o.kind=i),o},f.is=function(e){return e0.uinteger(e.startLine)&&e0.uinteger(e.startLine)&&(e0.undefined(e.startCharacter)||e0.uinteger(e.startCharacter))&&(e0.undefined(e.endCharacter)||e0.uinteger(e.endCharacter))&&(e0.undefined(e.kind)||e0.string(e.kind))},(p=eu||(eu={})).create=function(e,t){return{location:e,message:t}},p.is=function(e){return e0.defined(e)&&et.is(e.location)&&e0.string(e.message)},(m=ec||(ec={})).Error=1,m.Warning=2,m.Information=3,m.Hint=4,(v=ed||(ed={})).Unnecessary=1,v.Deprecated=2,(eg||(eg={})).is=function(e){return null!=e&&e0.string(e.href)},(_=el||(el={})).create=function(e,t,n,r,i,o){var a={range:e,message:t};return e0.defined(n)&&(a.severity=n),e0.defined(r)&&(a.code=r),e0.defined(i)&&(a.source=i),e0.defined(o)&&(a.relatedInformation=o),a},_.is=function(e){var t;return e0.defined(e)&&ee.is(e.range)&&e0.string(e.message)&&(e0.number(e.severity)||e0.undefined(e.severity))&&(e0.integer(e.code)||e0.string(e.code)||e0.undefined(e.code))&&(e0.undefined(e.codeDescription)||e0.string(null===(t=e.codeDescription)||void 0===t?void 0:t.href))&&(e0.string(e.source)||e0.undefined(e.source))&&(e0.undefined(e.relatedInformation)||e0.typedArray(e.relatedInformation,eu.is))},(w=eh||(eh={})).create=function(e,t){for(var n=[],r=2;r0&&(i.arguments=n),i},w.is=function(e){return e0.defined(e)&&e0.string(e.title)&&e0.string(e.command)},(k=ef||(ef={})).replace=function(e,t){return{range:e,newText:t}},k.insert=function(e,t){return{range:{start:e,end:e},newText:t}},k.del=function(e){return{range:e,newText:""}},k.is=function(e){return e0.objectLiteral(e)&&e0.string(e.newText)&&ee.is(e.range)},(b=ep||(ep={})).create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},b.is=function(e){return void 0!==e&&e0.objectLiteral(e)&&e0.string(e.label)&&(e0.boolean(e.needsConfirmation)||void 0===e.needsConfirmation)&&(e0.string(e.description)||void 0===e.description)},(em||(em={})).is=function(e){return"string"==typeof e},(y=ev||(ev={})).replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},y.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},y.del=function(e,t){return{range:e,newText:"",annotationId:t}},y.is=function(e){return ef.is(e)&&(ep.is(e.annotationId)||em.is(e.annotationId))},(E=e_||(e_={})).create=function(e,t){return{textDocument:e,edits:t}},E.is=function(e){return e0.defined(e)&&ex.is(e.textDocument)&&Array.isArray(e.edits)},(C=ew||(ew={})).create=function(e,t,n){var r={kind:"create",uri:e};return void 0!==t&&(void 0!==t.overwrite||void 0!==t.ignoreIfExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},C.is=function(e){return e&&"create"===e.kind&&e0.string(e.uri)&&(void 0===e.options||(void 0===e.options.overwrite||e0.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||e0.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||em.is(e.annotationId))},(x=ek||(ek={})).create=function(e,t,n,r){var i={kind:"rename",oldUri:e,newUri:t};return void 0!==n&&(void 0!==n.overwrite||void 0!==n.ignoreIfExists)&&(i.options=n),void 0!==r&&(i.annotationId=r),i},x.is=function(e){return e&&"rename"===e.kind&&e0.string(e.oldUri)&&e0.string(e.newUri)&&(void 0===e.options||(void 0===e.options.overwrite||e0.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||e0.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||em.is(e.annotationId))},(A=eb||(eb={})).create=function(e,t,n){var r={kind:"delete",uri:e};return void 0!==t&&(void 0!==t.recursive||void 0!==t.ignoreIfNotExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},A.is=function(e){return e&&"delete"===e.kind&&e0.string(e.uri)&&(void 0===e.options||(void 0===e.options.recursive||e0.boolean(e.options.recursive))&&(void 0===e.options.ignoreIfNotExists||e0.boolean(e.options.ignoreIfNotExists)))&&(void 0===e.annotationId||em.is(e.annotationId))},(ey||(ey={})).is=function(e){return e&&(void 0!==e.changes||void 0!==e.documentChanges)&&(void 0===e.documentChanges||e.documentChanges.every(function(e){return e0.string(e.kind)?ew.is(e)||ek.is(e)||eb.is(e):e_.is(e)}))};var e9=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=ef.insert(e,t):em.is(n)?(i=n,r=ev.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=ev.insert(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.replace=function(e,t,n){var r,i;if(void 0===n?r=ef.replace(e,t):em.is(n)?(i=n,r=ev.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=ev.replace(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=ef.del(e):em.is(t)?(r=t,n=ev.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=ev.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw Error("Text edit change is not configured to manage change annotations.")},e}(),te=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(em.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw Error("Id "+n+" is already in use.");if(void 0===t)throw Error("No annotation provided for id "+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new te(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach(function(e){if(e_.is(e)){var n=new e9(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach(function(n){var r=new e9(e.changes[n]);t._textEditChanges[n]=r})):this._workspaceEdit={}}Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(ex.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version},n=this._textEditChanges[t.uri];if(!n){var r=[],i={textDocument:t,edits:r};this._workspaceEdit.documentChanges.push(i),n=new e9(r,this._changeAnnotations),this._textEditChanges[t.uri]=n}return n}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw Error("Workspace edit is not configured for normal text edit changes.");var n=this._textEditChanges[e];if(!n){var r=[];this._workspaceEdit.changes[e]=r,n=new e9(r),this._textEditChanges[e]=n}return n},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new te,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){var r,i,o;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ep.is(t)||em.is(t)?r=t:n=t,void 0===r?i=ew.create(e,n):(o=em.is(r)?r:this._changeAnnotations.manage(r),i=ew.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o},e.prototype.renameFile=function(e,t,n,r){var i,o,a;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ep.is(n)||em.is(n)?i=n:r=n,void 0===i?o=ek.create(e,t,r):(a=em.is(i)?i:this._changeAnnotations.manage(i),o=ek.create(e,t,r,a)),this._workspaceEdit.documentChanges.push(o),void 0!==a)return a},e.prototype.deleteFile=function(e,t,n){var r,i,o;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ep.is(t)||em.is(t)?r=t:n=t,void 0===r?i=eb.create(e,n):(o=em.is(r)?r:this._changeAnnotations.manage(r),i=eb.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o}}(),(I=eE||(eE={})).create=function(e){return{uri:e}},I.is=function(e){return e0.defined(e)&&e0.string(e.uri)},(S=eC||(eC={})).create=function(e,t){return{uri:e,version:t}},S.is=function(e){return e0.defined(e)&&e0.string(e.uri)&&e0.integer(e.version)},(R=ex||(ex={})).create=function(e,t){return{uri:e,version:t}},R.is=function(e){return e0.defined(e)&&e0.string(e.uri)&&(null===e.version||e0.integer(e.version))},(P=eA||(eA={})).create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},P.is=function(e){return e0.defined(e)&&e0.string(e.uri)&&e0.string(e.languageId)&&e0.integer(e.version)&&e0.string(e.text)},(D=eI||(eI={})).PlainText="plaintext",D.Markdown="markdown",(T=eI||(eI={})).is=function(e){return e===T.PlainText||e===T.Markdown},(eS||(eS={})).is=function(e){return e0.objectLiteral(e)&&eI.is(e.kind)&&e0.string(e.value)},(M=eR||(eR={})).Text=1,M.Method=2,M.Function=3,M.Constructor=4,M.Field=5,M.Variable=6,M.Class=7,M.Interface=8,M.Module=9,M.Property=10,M.Unit=11,M.Value=12,M.Enum=13,M.Keyword=14,M.Snippet=15,M.Color=16,M.File=17,M.Reference=18,M.Folder=19,M.EnumMember=20,M.Constant=21,M.Struct=22,M.Event=23,M.Operator=24,M.TypeParameter=25,(F=eP||(eP={})).PlainText=1,F.Snippet=2,(eD||(eD={})).Deprecated=1,(L=eT||(eT={})).create=function(e,t,n){return{newText:e,insert:t,replace:n}},L.is=function(e){return e&&e0.string(e.newText)&&ee.is(e.insert)&&ee.is(e.replace)},(j=eM||(eM={})).asIs=1,j.adjustIndentation=2,(eF||(eF={})).create=function(e){return{label:e}},(eL||(eL={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(O=ej||(ej={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},O.is=function(e){return e0.string(e)||e0.objectLiteral(e)&&e0.string(e.language)&&e0.string(e.value)},(eO||(eO={})).is=function(e){return!!e&&e0.objectLiteral(e)&&(eS.is(e.contents)||ej.is(e.contents)||e0.typedArray(e.contents,ej.is))&&(void 0===e.range||ee.is(e.range))},(eN||(eN={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(eW||(eW={})).create=function(e,t){for(var n=[],r=2;r=n(i[a],o[s])?t[u++]=i[a++]:t[u++]=o[s++];for(;a=0;o--){var a=r[o],s=e.offsetAt(a.range.start),u=e.offsetAt(a.range.end);if(u<=i)n=n.substring(0,s)+a.newText+n.substring(u,n.length);else throw Error("Overlapping edit");i=s}return n};var tt=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return Z.create(0,e);for(;ne?r=i:n=i+1}var o=n-1;return Z.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1{let t,n=e.getLanguageId();n===this._languageId&&(this._listener[e.uri.toString()]=e.onDidChangeContent(()=>{window.clearTimeout(t),t=window.setTimeout(()=>this._doValidate(e.uri,n),500)}),this._doValidate(e.uri,n))},i=e=>{e6.editor.setModelMarkers(e,this._languageId,[]);let t=e.uri.toString(),n=this._listener[t];n&&(n.dispose(),delete this._listener[t])};this._disposables.push(e6.editor.onDidCreateModel(r)),this._disposables.push(e6.editor.onWillDisposeModel(i)),this._disposables.push(e6.editor.onDidChangeModelLanguage(e=>{i(e.model),r(e.model)})),this._disposables.push(n(e=>{e6.editor.getModels().forEach(e=>{e.getLanguageId()===this._languageId&&(i(e),r(e))})})),this._disposables.push({dispose:()=>{for(let e in e6.editor.getModels().forEach(i),this._listener)this._listener[e].dispose()}}),e6.editor.getModels().forEach(r)}_disposables=[];_listener=Object.create(null);dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,t){this._worker(e).then(t=>t.doValidation(e.toString())).then(n=>{let r=n.map(e=>{let t;return t="number"==typeof e.code?String(e.code):e.code,{severity:function(e){switch(e){case ec.Error:return e6.MarkerSeverity.Error;case ec.Warning:return e6.MarkerSeverity.Warning;case ec.Information:return e6.MarkerSeverity.Info;case ec.Hint:return e6.MarkerSeverity.Hint;default:return e6.MarkerSeverity.Info}}(e.severity),startLineNumber:e.range.start.line+1,startColumn:e.range.start.character+1,endLineNumber:e.range.end.line+1,endColumn:e.range.end.character+1,message:e.message,code:t,source:e.source}}),i=e6.editor.getModel(e);i&&i.getLanguageId()===t&&e6.editor.setModelMarkers(i,t,r)}).then(void 0,e=>{console.error(e)})}},tr=class{constructor(e,t){this._worker=e,this._triggerCharacters=t}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.doComplete(i.toString(),ti(t))).then(n=>{if(!n)return;let r=e.getWordUntilPosition(t),i=new e6.Range(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn),o=n.items.map(e=>{var t,n;let r={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,command:(t=e.command)&&"editor.action.triggerSuggest"===t.command?{id:t.command,title:t.title,arguments:t.arguments}:void 0,range:i,kind:function(e){let t=e6.languages.CompletionItemKind;switch(e){case eR.Text:return t.Text;case eR.Method:return t.Method;case eR.Function:return t.Function;case eR.Constructor:return t.Constructor;case eR.Field:return t.Field;case eR.Variable:return t.Variable;case eR.Class:return t.Class;case eR.Interface:return t.Interface;case eR.Module:return t.Module;case eR.Property:break;case eR.Unit:return t.Unit;case eR.Value:return t.Value;case eR.Enum:return t.Enum;case eR.Keyword:return t.Keyword;case eR.Snippet:return t.Snippet;case eR.Color:return t.Color;case eR.File:return t.File;case eR.Reference:return t.Reference}return t.Property}(e.kind)};return e.textEdit&&(void 0!==(n=e.textEdit).insert&&void 0!==n.replace?r.range={insert:ta(e.textEdit.insert),replace:ta(e.textEdit.replace)}:r.range=ta(e.textEdit.range),r.insertText=e.textEdit.newText),e.additionalTextEdits&&(r.additionalTextEdits=e.additionalTextEdits.map(ts)),e.insertTextFormat===eP.Snippet&&(r.insertTextRules=e6.languages.CompletionItemInsertTextRule.InsertAsSnippet),r});return{isIncomplete:n.isIncomplete,suggestions:o}})}};function ti(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function to(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function ta(e){if(e)return new e6.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function ts(e){if(e)return{range:ta(e.range),text:e.newText}}var tu=class{constructor(e){this._worker=e}provideHover(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.doHover(r.toString(),ti(t))).then(e=>{if(e){var t;return{range:ta(e.range),contents:(t=e.contents)?Array.isArray(t)?t.map(tc):[tc(t)]:void 0}}})}};function tc(e){return"string"==typeof e?{value:e}:e&&"object"==typeof e&&"string"==typeof e.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"}}var td=class{constructor(e){this._worker=e}provideDocumentHighlights(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.findDocumentHighlights(r.toString(),ti(t))).then(e=>{if(e)return e.map(e=>({range:ta(e.range),kind:function(e){switch(e){case eU.Read:return e6.languages.DocumentHighlightKind.Read;case eU.Write:return e6.languages.DocumentHighlightKind.Write;case eU.Text:}return e6.languages.DocumentHighlightKind.Text}(e.kind)}))})}},tg=class{constructor(e){this._worker=e}provideDefinition(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.findDefinition(r.toString(),ti(t))).then(e=>{if(e)return[tl(e)]})}};function tl(e){return{uri:e6.Uri.parse(e.uri),range:ta(e.range)}}var th=class{constructor(e){this._worker=e}provideReferences(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.findReferences(i.toString(),ti(t))).then(e=>{if(e)return e.map(tl)})}},tf=class{constructor(e){this._worker=e}provideRenameEdits(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.doRename(i.toString(),ti(t),n)).then(e=>(function(e){if(!e||!e.changes)return;let t=[];for(let n in e.changes){let r=e6.Uri.parse(n);for(let i of e.changes[n])t.push({resource:r,versionId:void 0,textEdit:{range:ta(i.range),text:i.newText}})}return{edits:t}})(e))}},tp=class{constructor(e){this._worker=e}provideDocumentSymbols(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentSymbols(n.toString())).then(e=>{if(e)return e.map(e=>({name:e.name,detail:"",containerName:e.containerName,kind:function(e){let t=e6.languages.SymbolKind;switch(e){case eH.File:return t.Array;case eH.Module:return t.Module;case eH.Namespace:return t.Namespace;case eH.Package:return t.Package;case eH.Class:return t.Class;case eH.Method:return t.Method;case eH.Property:return t.Property;case eH.Field:return t.Field;case eH.Constructor:return t.Constructor;case eH.Enum:return t.Enum;case eH.Interface:return t.Interface;case eH.Function:break;case eH.Variable:return t.Variable;case eH.Constant:return t.Constant;case eH.String:return t.String;case eH.Number:return t.Number;case eH.Boolean:return t.Boolean;case eH.Array:return t.Array}return t.Function}(e.kind),range:ta(e.location.range),selectionRange:ta(e.location.range),tags:[]}))})}},tm=class{constructor(e){this._worker=e}provideLinks(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentLinks(n.toString())).then(e=>{if(e)return{links:e.map(e=>({range:ta(e.range),url:e.target}))}})}},tv=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.format(r.toString(),null,tw(t)).then(e=>{if(e&&0!==e.length)return e.map(ts)}))}},t_=class{constructor(e){this._worker=e}provideDocumentRangeFormattingEdits(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.format(i.toString(),to(t),tw(n)).then(e=>{if(e&&0!==e.length)return e.map(ts)}))}};function tw(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var tk=class{constructor(e){this._worker=e}provideDocumentColors(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentColors(n.toString())).then(e=>{if(e)return e.map(e=>({color:e.color,range:ta(e.range)}))})}provideColorPresentations(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getColorPresentations(r.toString(),t.color,to(t.range))).then(e=>{if(e)return e.map(e=>{let t={label:e.label};return e.textEdit&&(t.textEdit=ts(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(ts)),t})})}},tb=class{constructor(e){this._worker=e}provideFoldingRanges(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getFoldingRanges(r.toString(),t)).then(e=>{if(e)return e.map(e=>{let t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case ea.Comment:return e6.languages.FoldingRangeKind.Comment;case ea.Imports:return e6.languages.FoldingRangeKind.Imports;case ea.Region:return e6.languages.FoldingRangeKind.Region}}(e.kind)),t})})}},ty=class{constructor(e){this._worker=e}provideSelectionRanges(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getSelectionRanges(r.toString(),t.map(ti))).then(e=>{if(e)return e.map(e=>{let t=[];for(;e;)t.push({range:ta(e.range)}),e=e.parent;return t})})}},tE=class extends tr{constructor(e){super(e,[".",":","<",'"',"=","/"])}};function tC(e){let t=new e5(e),n=(...e)=>t.getLanguageServiceWorker(...e),r=e.languageId;e6.languages.registerCompletionItemProvider(r,new tE(n)),e6.languages.registerHoverProvider(r,new tu(n)),e6.languages.registerDocumentHighlightProvider(r,new td(n)),e6.languages.registerLinkProvider(r,new tm(n)),e6.languages.registerFoldingRangeProvider(r,new tb(n)),e6.languages.registerDocumentSymbolProvider(r,new tp(n)),e6.languages.registerSelectionRangeProvider(r,new ty(n)),e6.languages.registerRenameProvider(r,new tf(n)),"html"===r&&(e6.languages.registerDocumentFormattingEditProvider(r,new tv(n)),e6.languages.registerDocumentRangeFormattingEditProvider(r,new t_(n)))}function tx(e){let t=[],n=[],r=new e5(e);t.push(r);let i=(...e)=>r.getLanguageServiceWorker(...e);return!function(){let{languageId:t,modeConfiguration:r}=e;tI(n),r.completionItems&&n.push(e6.languages.registerCompletionItemProvider(t,new tE(i))),r.hovers&&n.push(e6.languages.registerHoverProvider(t,new tu(i))),r.documentHighlights&&n.push(e6.languages.registerDocumentHighlightProvider(t,new td(i))),r.links&&n.push(e6.languages.registerLinkProvider(t,new tm(i))),r.documentSymbols&&n.push(e6.languages.registerDocumentSymbolProvider(t,new tp(i))),r.rename&&n.push(e6.languages.registerRenameProvider(t,new tf(i))),r.foldingRanges&&n.push(e6.languages.registerFoldingRangeProvider(t,new tb(i))),r.selectionRanges&&n.push(e6.languages.registerSelectionRangeProvider(t,new ty(i))),r.documentFormattingEdits&&n.push(e6.languages.registerDocumentFormattingEditProvider(t,new tv(i))),r.documentRangeFormattingEdits&&n.push(e6.languages.registerDocumentRangeFormattingEditProvider(t,new t_(i)))}(),t.push(tA(n)),tA(t)}function tA(e){return{dispose:()=>tI(e)}}function tI(e){for(;e.length;)e.pop().dispose()}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/3485-f0ab5a7ee3c9ca60.js b/dbgpt/app/static/web/_next/static/chunks/5396-52bf019cbb5ec9e6.js similarity index 57% rename from dbgpt/app/static/web/_next/static/chunks/3485-f0ab5a7ee3c9ca60.js rename to dbgpt/app/static/web/_next/static/chunks/5396-52bf019cbb5ec9e6.js index 3a10086ec..76d48e4b8 100644 --- a/dbgpt/app/static/web/_next/static/chunks/3485-f0ab5a7ee3c9ca60.js +++ b/dbgpt/app/static/web/_next/static/chunks/5396-52bf019cbb5ec9e6.js @@ -1,3 +1,3 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3485],{37653:function(e,t,r){"use strict";var n=r(87462),i=r(67294),s=r(26554),o=r(13401),l=i.forwardRef(function(e,t){return i.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:s.Z}))});t.Z=l},92620:function(){},77791:function(e,t,r){"use strict";r.d(t,{Z:function(){return tv}});var n,i,s,o,l={};r.r(l),r.d(l,{decode:function(){return f},encode:function(){return m},format:function(){return g},parse:function(){return S}});var u={};r.r(u),r.d(u,{Any:function(){return I},Cc:function(){return M},Cf:function(){return q},P:function(){return B},S:function(){return L},Z:function(){return T}});var a={};r.r(a),r.d(a,{arrayReplaceAt:function(){return N},assign:function(){return $},escapeHtml:function(){return et},escapeRE:function(){return en},fromCodePoint:function(){return V},has:function(){return Z},isMdAsciiPunct:function(){return el},isPunctChar:function(){return eo},isSpace:function(){return ei},isString:function(){return j},isValidEntityCode:function(){return U},isWhiteSpace:function(){return es},lib:function(){return ea},normalizeReference:function(){return eu},unescapeAll:function(){return K},unescapeMd:function(){return Y}});var c={};r.r(c),r.d(c,{parseLinkDestination:function(){return eh},parseLinkLabel:function(){return ec},parseLinkTitle:function(){return ep}});let h={};function p(e,t){"string"!=typeof t&&(t=p.defaultChars);let r=function(e){let t=h[e];if(t)return t;t=h[e]=[];for(let e=0;e<128;e++){let r=String.fromCharCode(e);t.push(r)}for(let r=0;r=55296&&e<=57343?t+="���":t+=String.fromCharCode(e),n+=6;continue}}if((248&s)==240&&n+91114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),n+=9;continue}}t+="�"}return t})}p.defaultChars=";/?:@&=+$,#",p.componentChars="";var f=p;let d={};function _(e,t,r){"string"!=typeof t&&(r=t,t=_.defaultChars),void 0===r&&(r=!0);let n=function(e){let t=d[e];if(t)return t;t=d[e]=[];for(let e=0;e<128;e++){let r=String.fromCharCode(e);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let r=0;r=55296&&o<=57343){if(o>=55296&&o<=56319&&t+1=56320&&r<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[t])}return i}_.defaultChars=";/?:@&=+$,-_.!~*'()#",_.componentChars="-_.!~*'()";var m=_;function g(e){let t="";return t+=(e.protocol||"")+(e.slashes?"//":"")+(e.auth?e.auth+"@":""),e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=(e.port?":"+e.port:"")+(e.pathname||"")+(e.search||"")+(e.hash||"")}function k(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}let D=/^([a-z0-9.+-]+:)/i,b=/:[0-9]*$/,C=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,F=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n"," "]),y=["'"].concat(F),A=["%","/","?",";","#"].concat(y),E=["/","?","#"],x=/^[+a-z0-9A-Z_-]{0,63}$/,v=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,w={javascript:!0,"javascript:":!0},z={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};k.prototype.parse=function(e,t){let r,n,i;let s=e;if(s=s.trim(),!t&&1===e.split("#").length){let e=C.exec(s);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let o=D.exec(s);if(o&&(r=(o=o[0]).toLowerCase(),this.protocol=o,s=s.substr(o.length)),(t||o||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===s.substr(0,2))&&!(o&&w[o])&&(s=s.substr(2),this.slashes=!0),!w[o]&&(i||o&&!z[o])){let e,t,r=-1;for(let e=0;e127?n+="x":n+=r[e];if(!n.match(x)){let n=e.slice(0,t),i=e.slice(t+1),o=r.match(v);o&&(n.push(o[1]),i.unshift(o[2])),i.length&&(s=i.join(".")+s),this.hostname=n.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let l=s.indexOf("#");-1!==l&&(this.hash=s.substr(l),s=s.slice(0,l));let u=s.indexOf("?");return -1!==u&&(this.search=s.substr(u),s=s.slice(0,u)),s&&(this.pathname=s),z[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this},k.prototype.parseHost=function(e){let t=b.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var S=function(e,t){if(e&&e instanceof k)return e;let r=new k;return r.parse(e,t),r},B=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,L=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,I=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,M=/[\0-\x1F\x7F-\x9F]/,q=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,T=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,R=r(60411);function O(e){for(let t=1;t=55296)||!(e<=57343))&&(!(e>=64976)||!(e<=65007))&&(65535&e)!=65535&&(65535&e)!=65534&&(!(e>=0)||!(e<=8))&&11!==e&&(!(e>=14)||!(e<=31))&&(!(e>=127)||!(e<=159))&&!(e>1114111)}function V(e){if(e>65535){e-=65536;let t=55296+(e>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}let H=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,G=RegExp(H.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),J=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Y(e){return 0>e.indexOf("\\")?e:e.replace(H,"$1")}function K(e){return 0>e.indexOf("\\")&&0>e.indexOf("&")?e:e.replace(G,function(e,t,r){return t||function(e,t){if(35===t.charCodeAt(0)&&J.test(t)){let r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return U(r)?V(r):e}let r=(0,R.p1)(e);return r!==e?r:e}(e,r)})}let W=/[&<>"]/,X=/[&<>"]/g,Q={"&":"&","<":"<",">":">",'"':"""};function ee(e){return Q[e]}function et(e){return W.test(e)?e.replace(X,ee):e}let er=/[.?*+^$[\]\\(){}|-]/g;function en(e){return e.replace(er,"\\$&")}function ei(e){switch(e){case 9:case 32:return!0}return!1}function es(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function eo(e){return B.test(e)||L.test(e)}function el(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function eu(e){return(e=e.trim().replace(/\s+/g," ")).toLowerCase().toUpperCase()}let ea={mdurl:l,ucmicro:u};function ec(e,t,r){let n,i,s,o;let l=e.posMax,u=e.pos;for(e.pos=t+1,n=1;e.pos32)return s;if(41===n){if(0===o)break;o--}i++}return t===i||0!==o||(s.str=K(e.slice(t,i)),s.pos=i,s.ok=!0),s}function ep(e,t,r,n){let i;let s=t,o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)o.str=n.str,o.marker=n.marker;else{if(s>=r)return o;let n=e.charCodeAt(s);if(34!==n&&39!==n&&40!==n)return o;t++,s++,40===n&&(n=41),o.marker=n}for(;s"+et(s.content)+"
    "},ef.code_block=function(e,t,r,n,i){let s=e[t];return""+et(e[t].content)+"\n"},ef.fence=function(e,t,r,n,i){let s;let o=e[t],l=o.info?K(o.info).trim():"",u="",a="";if(l){let e=l.split(/(\s+)/g);u=e[0],a=e.slice(2).join("")}if(0===(s=r.highlight&&r.highlight(o.content,u,a)||et(o.content)).indexOf("${s} +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5396],{92620:function(){},77791:function(e,t,r){"use strict";r.d(t,{Z:function(){return tv}});var n,i,s,o,l={};r.r(l),r.d(l,{decode:function(){return f},encode:function(){return m},format:function(){return g},parse:function(){return S}});var u={};r.r(u),r.d(u,{Any:function(){return I},Cc:function(){return M},Cf:function(){return q},P:function(){return B},S:function(){return L},Z:function(){return T}});var a={};r.r(a),r.d(a,{arrayReplaceAt:function(){return N},assign:function(){return Z},escapeHtml:function(){return et},escapeRE:function(){return en},fromCodePoint:function(){return V},has:function(){return $},isMdAsciiPunct:function(){return el},isPunctChar:function(){return eo},isSpace:function(){return ei},isString:function(){return j},isValidEntityCode:function(){return U},isWhiteSpace:function(){return es},lib:function(){return ea},normalizeReference:function(){return eu},unescapeAll:function(){return K},unescapeMd:function(){return Y}});var c={};r.r(c),r.d(c,{parseLinkDestination:function(){return eh},parseLinkLabel:function(){return ec},parseLinkTitle:function(){return ep}});let h={};function p(e,t){"string"!=typeof t&&(t=p.defaultChars);let r=function(e){let t=h[e];if(t)return t;t=h[e]=[];for(let e=0;e<128;e++){let r=String.fromCharCode(e);t.push(r)}for(let r=0;r=55296&&e<=57343?t+="���":t+=String.fromCharCode(e),n+=6;continue}}if((248&s)==240&&n+91114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),n+=9;continue}}t+="�"}return t})}p.defaultChars=";/?:@&=+$,#",p.componentChars="";var f=p;let d={};function _(e,t,r){"string"!=typeof t&&(r=t,t=_.defaultChars),void 0===r&&(r=!0);let n=function(e){let t=d[e];if(t)return t;t=d[e]=[];for(let e=0;e<128;e++){let r=String.fromCharCode(e);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let r=0;r=55296&&o<=57343){if(o>=55296&&o<=56319&&t+1=56320&&r<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[t])}return i}_.defaultChars=";/?:@&=+$,-_.!~*'()#",_.componentChars="-_.!~*'()";var m=_;function g(e){let t="";return t+=(e.protocol||"")+(e.slashes?"//":"")+(e.auth?e.auth+"@":""),e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=(e.port?":"+e.port:"")+(e.pathname||"")+(e.search||"")+(e.hash||"")}function k(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}let D=/^([a-z0-9.+-]+:)/i,b=/:[0-9]*$/,C=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,F=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n"," "]),y=["'"].concat(F),A=["%","/","?",";","#"].concat(y),E=["/","?","#"],x=/^[+a-z0-9A-Z_-]{0,63}$/,v=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,w={javascript:!0,"javascript:":!0},z={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};k.prototype.parse=function(e,t){let r,n,i;let s=e;if(s=s.trim(),!t&&1===e.split("#").length){let e=C.exec(s);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let o=D.exec(s);if(o&&(r=(o=o[0]).toLowerCase(),this.protocol=o,s=s.substr(o.length)),(t||o||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===s.substr(0,2))&&!(o&&w[o])&&(s=s.substr(2),this.slashes=!0),!w[o]&&(i||o&&!z[o])){let e,t,r=-1;for(let e=0;e127?n+="x":n+=r[e];if(!n.match(x)){let n=e.slice(0,t),i=e.slice(t+1),o=r.match(v);o&&(n.push(o[1]),i.unshift(o[2])),i.length&&(s=i.join(".")+s),this.hostname=n.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let l=s.indexOf("#");-1!==l&&(this.hash=s.substr(l),s=s.slice(0,l));let u=s.indexOf("?");return -1!==u&&(this.search=s.substr(u),s=s.slice(0,u)),s&&(this.pathname=s),z[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this},k.prototype.parseHost=function(e){let t=b.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var S=function(e,t){if(e&&e instanceof k)return e;let r=new k;return r.parse(e,t),r},B=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,L=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,I=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,M=/[\0-\x1F\x7F-\x9F]/,q=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,T=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,R=r(60411);function O(e){for(let t=1;t=55296)||!(e<=57343))&&(!(e>=64976)||!(e<=65007))&&(65535&e)!=65535&&(65535&e)!=65534&&(!(e>=0)||!(e<=8))&&11!==e&&(!(e>=14)||!(e<=31))&&(!(e>=127)||!(e<=159))&&!(e>1114111)}function V(e){if(e>65535){e-=65536;let t=55296+(e>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}let H=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,G=RegExp(H.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),J=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Y(e){return 0>e.indexOf("\\")?e:e.replace(H,"$1")}function K(e){return 0>e.indexOf("\\")&&0>e.indexOf("&")?e:e.replace(G,function(e,t,r){return t||function(e,t){if(35===t.charCodeAt(0)&&J.test(t)){let r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return U(r)?V(r):e}let r=(0,R.p1)(e);return r!==e?r:e}(e,r)})}let W=/[&<>"]/,X=/[&<>"]/g,Q={"&":"&","<":"<",">":">",'"':"""};function ee(e){return Q[e]}function et(e){return W.test(e)?e.replace(X,ee):e}let er=/[.?*+^$[\]\\(){}|-]/g;function en(e){return e.replace(er,"\\$&")}function ei(e){switch(e){case 9:case 32:return!0}return!1}function es(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function eo(e){return B.test(e)||L.test(e)}function el(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function eu(e){return(e=e.trim().replace(/\s+/g," ")).toLowerCase().toUpperCase()}let ea={mdurl:l,ucmicro:u};function ec(e,t,r){let n,i,s,o;let l=e.posMax,u=e.pos;for(e.pos=t+1,n=1;e.pos32)return s;if(41===n){if(0===o)break;o--}i++}return t===i||0!==o||(s.str=K(e.slice(t,i)),s.pos=i,s.ok=!0),s}function ep(e,t,r,n){let i;let s=t,o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)o.str=n.str,o.marker=n.marker;else{if(s>=r)return o;let n=e.charCodeAt(s);if(34!==n&&39!==n&&40!==n)return o;t++,s++,40===n&&(n=41),o.marker=n}for(;s"+et(s.content)+""},ef.code_block=function(e,t,r,n,i){let s=e[t];return""+et(e[t].content)+"\n"},ef.fence=function(e,t,r,n,i){let s;let o=e[t],l=o.info?K(o.info).trim():"",u="",a="";if(l){let e=l.split(/(\s+)/g);u=e[0],a=e.slice(2).join("")}if(0===(s=r.highlight&&r.highlight(o.content,u,a)||et(o.content)).indexOf("${s} `}return`
    ${s}
    -`},ef.image=function(e,t,r,n,i){let s=e[t];return s.attrs[s.attrIndex("alt")][1]=i.renderInlineAsText(s.children,r,n),i.renderToken(e,t,r)},ef.hardbreak=function(e,t,r){return r.xhtmlOut?"
    \n":"
    \n"},ef.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"
    \n":"
    \n":"\n"},ef.text=function(e,t){return et(e[t].content)},ef.html_block=function(e,t){return e[t].content},ef.html_inline=function(e,t){return e[t].content},ed.prototype.renderAttrs=function(e){let t,r,n;if(!e.attrs)return"";for(t=0,n="",r=e.attrs.length;t\n":">")},ed.prototype.renderInline=function(e,t,r){let n="",i=this.rules;for(let s=0,o=e.length;st.indexOf(e)&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(r){!r.enabled||t&&0>r.alt.indexOf(t)||e.__cache__[t].push(r.fn)})})},e_.prototype.at=function(e,t,r){let n=this.__find__(e);if(-1===n)throw Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=(r||{}).alt||[],this.__cache__=null},e_.prototype.before=function(e,t,r,n){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:r,alt:(n||{}).alt||[]}),this.__cache__=null},e_.prototype.after=function(e,t,r,n){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:r,alt:(n||{}).alt||[]}),this.__cache__=null},e_.prototype.push=function(e,t,r){this.__rules__.push({name:e,enabled:!0,fn:t,alt:(r||{}).alt||[]}),this.__cache__=null},e_.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);let r=[];return e.forEach(function(e){let n=this.__find__(e);if(n<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!0,r.push(e)},this),this.__cache__=null,r},e_.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},e_.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);let r=[];return e.forEach(function(e){let n=this.__find__(e);if(n<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!1,r.push(e)},this),this.__cache__=null,r},e_.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},em.prototype.attrIndex=function(e){if(!this.attrs)return -1;let t=this.attrs;for(let r=0,n=t.length;r=0&&(r=this.attrs[t][1]),r},em.prototype.attrJoin=function(e,t){let r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},eg.prototype.Token=em;let ek=/\r\n?|\n/g,eD=/\0/g,eb=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,eC=/\((c|tm|r)\)/i,eF=/\((c|tm|r)\)/ig,ey={c:"\xa9",r:"\xae",tm:"™"};function eA(e,t){return ey[t.toLowerCase()]}let eE=/['"]/,ex=/['"]/g;function ev(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}let ew=[["normalize",function(e){let t;t=(t=e.src.replace(ek,"\n")).replace(eD,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){let t=e.tokens;for(let r=0,n=t.length;r=0;l--){let u=s[l];if("link_close"===u.type){for(l--;s[l].level!==u.level&&"link_open"!==s[l].type;)l--;continue}if("html_inline"===u.type){var r,n;r=u.content,/^\s]/i.test(r)&&o>0&&o--,n=u.content,/^<\/a\s*>/i.test(n)&&o++}if(!(o>0)&&"text"===u.type&&e.md.linkify.test(u.content)){let r=u.content,n=e.md.linkify.match(r),o=[],a=u.level,c=0;n.length>0&&0===n[0].index&&l>0&&"text_special"===s[l-1].type&&(n=n.slice(1));for(let t=0;tc){let t=new e.Token("text","",0);t.content=r.slice(c,u),t.level=a,o.push(t)}let h=new e.Token("link_open","a",1);h.attrs=[["href",s]],h.level=a++,h.markup="linkify",h.info="auto",o.push(h);let p=new e.Token("text","",0);p.content=l,p.level=a,o.push(p);let f=new e.Token("link_close","a",-1);f.level=--a,f.markup="linkify",f.info="auto",o.push(f),c=n[t].lastIndex}if(c=0;t--)"inline"===e.tokens[t].type&&(eC.test(e.tokens[t].content)&&function(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];"text"!==n.type||t||(n.content=n.content.replace(eF,eA)),"link_open"===n.type&&"auto"===n.info&&t--,"link_close"===n.type&&"auto"===n.info&&t++}}(e.tokens[t].children),eb.test(e.tokens[t].content)&&function(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];"text"===n.type&&!t&&eb.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),"link_open"===n.type&&"auto"===n.info&&t--,"link_close"===n.type&&"auto"===n.info&&t++}}(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&eE.test(e.tokens[t].content)&&function(e,t){let r;let n=[];for(let i=0;i=0&&!(n[r].level<=o);r--);if(n.length=r+1,"text"!==s.type)continue;let l=s.content,u=0,a=l.length;e:for(;u=0)d=l.charCodeAt(c.index-1);else for(r=i-1;r>=0&&"softbreak"!==e[r].type&&"hardbreak"!==e[r].type;r--)if(e[r].content){d=e[r].content.charCodeAt(e[r].content.length-1);break}let _=32;if(u=48&&d<=57&&(p=h=!1),h&&p&&(h=m,p=g),!h&&!p){f&&(s.content=ev(s.content,c.index,"’"));continue}if(p)for(r=n.length-1;r>=0;r--){let h=n[r];if(n[r].level=n)return -1;let s=e.src.charCodeAt(i++);if(s<48||s>57)return -1;for(;;){if(i>=n)return -1;if((s=e.src.charCodeAt(i++))>=48&&s<=57){if(i-r>=10)return -1;continue}if(41===s||46===s)break;return -1}return i0&&this.level++,this.tokens.push(n),n},eS.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},eS.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;et;)if(!ei(this.src.charCodeAt(--e)))return e+1;return e},eS.prototype.skipChars=function(e,t){for(let r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e},eS.prototype.getLines=function(e,t,r,n){if(e>=t)return"";let i=Array(t-e);for(let s=0,o=e;or?i[s]=Array(l-r+1).join(" ")+this.src.slice(a,e):i[s]=this.src.slice(a,e)}return i.join("")},eS.prototype.Token=em;let eq="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",eT="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",eR=RegExp("^(?:"+eq+"|"+eT+"||<[?][\\s\\S]*?[?]>|]*>|)"),eO=RegExp("^(?:"+eq+"|"+eT+")"),ej=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[RegExp("^|$))","i"),/^$/,!0],[RegExp(eO.source+"\\s*$"),/^$/,!1]],eP=[["table",function(e,t,r,n){let i;if(t+2>r)return!1;let s=t+1;if(e.sCount[s]=4)return!1;let o=e.bMarks[s]+e.tShift[s];if(o>=e.eMarks[s])return!1;let l=e.src.charCodeAt(o++);if(124!==l&&45!==l&&58!==l||o>=e.eMarks[s])return!1;let u=e.src.charCodeAt(o++);if(124!==u&&45!==u&&58!==u&&!ei(u)||45===l&&ei(u))return!1;for(;o=4)return!1;(c=eL(a)).length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();let p=c.length;if(0===p||p!==h.length)return!1;if(n)return!0;let f=e.parentType;e.parentType="table";let d=e.md.block.ruler.getRules("blockquote"),_=e.push("table_open","table",1),m=[t,0];_.map=m;let g=e.push("thead_open","thead",1);g.map=[t,t+1];let k=e.push("tr_open","tr",1);k.map=[t,t+1];for(let t=0;t=4||((c=eL(a)).length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),(D+=p-c.length)>65536))break;if(s===t+2){let r=e.push("tbody_open","tbody",1);r.map=i=[t+2,0]}let o=e.push("tr_open","tr",1);o.map=[s,s+1];for(let t=0;t=4){i=++n;continue}break}e.line=i;let s=e.push("code_block","code",0);return s.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",s.map=[t,e.line],!0}],["fence",function(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>s)return!1;let o=e.src.charCodeAt(i);if(126!==o&&96!==o)return!1;let l=i,u=(i=e.skipChars(i,o))-l;if(u<3)return!1;let a=e.src.slice(l,i),c=e.src.slice(i,s);if(96===o&&c.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;let h=t,p=!1;for(;!(++h>=r)&&(!((i=l=e.bMarks[h]+e.tShift[h])<(s=e.eMarks[h]))||!(e.sCount[h]=4||(i=e.skipChars(i,o))-l=4||62!==e.src.charCodeAt(s))return!1;if(n)return!0;let u=[],a=[],c=[],h=[],p=e.md.block.ruler.getRules("blockquote"),f=e.parentType;e.parentType="blockquote";let d=!1;for(i=t;i=o)break;if(62===e.src.charCodeAt(s++)&&!t){let t,r,n=e.sCount[i]+1;32===e.src.charCodeAt(s)?(s++,n++,r=!1,t=!0):9===e.src.charCodeAt(s)?(t=!0,(e.bsCount[i]+n)%4==3?(s++,n++,r=!1):r=!0):t=!1;let l=n;for(u.push(e.bMarks[i]),e.bMarks[i]=s;s=o,a.push(e.bsCount[i]),e.bsCount[i]=e.sCount[i]+1+(t?1:0),c.push(e.sCount[i]),e.sCount[i]=l-n,h.push(e.tShift[i]),e.tShift[i]=s-e.bMarks[i];continue}if(d)break;let n=!1;for(let t=0,s=p.length;t";let g=[t,0];m.map=g,e.md.block.tokenize(e,t,i);let k=e.push("blockquote_close","blockquote",-1);k.markup=">",e.lineMax=l,e.parentType=f,g[1]=e.line;for(let r=0;r=4)return!1;let s=e.bMarks[t]+e.tShift[t],o=e.src.charCodeAt(s++);if(42!==o&&45!==o&&95!==o)return!1;let l=1;for(;s=4||e.listIndent>=0&&e.sCount[h]-e.listIndent>=4&&e.sCount[h]=e.blkIndent&&(f=!0),(c=eM(e,h))>=0){if(u=!0,o=e.bMarks[h]+e.tShift[h],a=Number(e.src.slice(o,c-1)),f&&1!==a)return!1}else{if(!((c=eI(e,h))>=0))return!1;u=!1}if(f&&e.skipSpaces(c)>=e.eMarks[h])return!1;if(n)return!0;let d=e.src.charCodeAt(c-1),_=e.tokens.length;u?(l=e.push("ordered_list_open","ol",1),1!==a&&(l.attrs=[["start",a]])):l=e.push("bullet_list_open","ul",1);let m=[h,0];l.map=m,l.markup=String.fromCharCode(d);let g=!1,k=e.md.block.ruler.getRules("list"),D=e.parentType;for(e.parentType="list";h=i?1:a-n)>4&&(t=1);let _=n+t;(l=e.push("list_item_open","li",1)).markup=String.fromCharCode(d);let m=[h,0];l.map=m,u&&(l.info=e.src.slice(o,c-1));let D=e.tight,b=e.tShift[h],C=e.sCount[h],F=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=_,e.tight=!0,e.tShift[h]=f-e.bMarks[h],e.sCount[h]=a,f>=i&&e.isEmpty(h+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,h,r,!0),(!e.tight||g)&&(p=!1),g=e.line-h>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=F,e.tShift[h]=b,e.sCount[h]=C,e.tight=D,(l=e.push("list_item_close","li",-1)).markup=String.fromCharCode(d),h=e.line,m[1]=h,h>=r||e.sCount[h]=4)break;let y=!1;for(let t=0,n=k.length;t=4||91!==e.src.charCodeAt(s))return!1;function u(t){let r=e.lineMax;if(t>=r||e.isEmpty(t))return null;let n=!1;if(e.sCount[t]-e.blkIndent>3&&(n=!0),e.sCount[t]<0&&(n=!0),!n){let n=e.md.block.ruler.getRules("reference"),i=e.parentType;e.parentType="reference";let s=!1;for(let i=0,o=n.length;i=4||!e.md.options.html||60!==e.src.charCodeAt(i))return!1;let o=e.src.slice(i,s),l=0;for(;l=4)return!1;let o=e.src.charCodeAt(i);if(35!==o||i>=s)return!1;let l=1;for(o=e.src.charCodeAt(++i);35===o&&i6||ii&&ei(e.src.charCodeAt(u-1))&&(s=u),e.line=t+1;let a=e.push("heading_open","h"+String(l),1);a.markup="########".slice(0,l),a.map=[t,e.line];let c=e.push("inline","",0);c.content=e.src.slice(i,s).trim(),c.map=[t,e.line],c.children=[];let h=e.push("heading_close","h"+String(l),-1);return h.markup="########".slice(0,l),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,r){let n;let i=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let s=e.parentType;e.parentType="paragraph";let o=0,l=t+1;for(;l3)continue;if(e.sCount[l]>=e.blkIndent){let t=e.bMarks[l]+e.tShift[l],r=e.eMarks[l];if(t=r)){o=61===n?1:2;break}}if(e.sCount[l]<0)continue;let t=!1;for(let n=0,s=i.length;n3||e.sCount[s]<0)continue;let t=!1;for(let i=0,o=n.length;i=r)&&!(e.sCount[o]=s){e.line=r;break}let t=e.line,u=!1;for(let s=0;s=e.line)throw Error("block rule didn't increment state.line");break}if(!u)throw Error("none of the block rules matched");e.tight=!l,e.isEmpty(e.line-1)&&(l=!0),(o=e.line)0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(i),n},e$.prototype.scanDelims=function(e,t){let r=this.posMax,n=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32,s=e;for(;s?@[]^_`{|}~-".split("").forEach(function(e){eU[e.charCodeAt(0)]=1});var eH={tokenize:function(e,t){let r=e.pos,n=e.src.charCodeAt(r);if(t||126!==n)return!1;let i=e.scanDelims(e.pos,!0),s=i.length,o=String.fromCharCode(n);if(s<2)return!1;s%2&&(e.push("text","",0).content=o,s--);for(let t=0;t=0;n--){let r=t[n];if(95!==r.marker&&42!==r.marker||-1===r.end)continue;let i=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,o=String.fromCharCode(r.marker),l=e.tokens[r.token];l.type=s?"strong_open":"em_open",l.tag=s?"strong":"em",l.nesting=1,l.markup=s?o+o:o,l.content="";let u=e.tokens[i.token];u.type=s?"strong_close":"em_close",u.tag=s?"strong":"em",u.nesting=-1,u.markup=s?o+o:o,u.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}var eJ={tokenize:function(e,t){let r=e.pos,n=e.src.charCodeAt(r);if(t||95!==n&&42!==n)return!1;let i=e.scanDelims(e.pos,42===n);for(let t=0;t\x00-\x20]*)$/,eW=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,eX=/^&([a-z][a-z0-9]{1,31});/i;function eQ(e){let t={},r=e.length;if(!r)return;let n=0,i=-2,s=[];for(let o=0;ol;u-=s[u]+1){let t=e[u];if(t.marker===r.marker&&t.open&&t.end<0){let n=!1;if((t.close||r.open)&&(t.length+r.length)%3==0&&(t.length%3!=0||r.length%3!=0)&&(n=!0),!n){let n=u>0&&!e[u-1].open?s[u-1]+1:0;s[o]=o-u+n,s[u]=n,r.open=!1,t.end=o,t.close=!1,a=-1,i=-2;break}}}-1!==a&&(t[r.marker][(r.open?3:0)+(r.length||0)%3]=a)}}let e0=[["text",function(e,t){let r=e.pos;for(;r0)return!1;let r=e.pos,n=e.posMax;if(r+3>n||58!==e.src.charCodeAt(r)||47!==e.src.charCodeAt(r+1)||47!==e.src.charCodeAt(r+2))return!1;let i=e.pending.match(eN);if(!i)return!1;let s=i[1],o=e.md.linkify.matchAtStart(e.src.slice(r-s.length));if(!o)return!1;let l=o.url;if(l.length<=s.length)return!1;l=l.replace(/\*+$/,"");let u=e.md.normalizeLink(l);if(!e.md.validateLink(u))return!1;if(!t){e.pending=e.pending.slice(0,-s.length);let t=e.push("link_open","a",1);t.attrs=[["href",u]],t.markup="linkify",t.info="auto";let r=e.push("text","",0);r.content=e.md.normalizeLinkText(l);let n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=l.length-s.length,!0}],["newline",function(e,t){let r=e.pos;if(10!==e.src.charCodeAt(r))return!1;let n=e.pending.length-1,i=e.posMax;if(!t){if(n>=0&&32===e.pending.charCodeAt(n)){if(n>=1&&32===e.pending.charCodeAt(n-1)){let t=n-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)}else e.push("softbreak","br",0)}for(r++;r=n)return!1;let i=e.src.charCodeAt(r);if(10===i){for(t||e.push("hardbreak","br",0),r++;r=55296&&i<=56319&&r+1=56320&&t<=57343&&(s+=e.src[r+1],r++)}let o="\\"+s;if(!t){let t=e.push("text_special","",0);i<256&&0!==eU[i]?t.content=s:t.content=o,t.markup=o,t.info="escape"}return e.pos=r+1,!0}],["backticks",function(e,t){let r,n=e.pos,i=e.src.charCodeAt(n);if(96!==i)return!1;let s=n;n++;let o=e.posMax;for(;n=h)return!1;if(u=d,(i=e.md.helpers.parseLinkDestination(e.src,d,e.posMax)).ok){for(o=e.md.normalizeLink(i.str),e.md.validateLink(o)?d=i.pos:o="",u=d;d=h||41!==e.src.charCodeAt(d))&&(a=!0),d++}if(a){if(void 0===e.env.references)return!1;if(d=0?n=e.src.slice(u,d++):d=f+1):d=f+1,n||(n=e.src.slice(p,f)),!(s=e.env.references[eu(n)]))return e.pos=c,!1;o=s.href,l=s.title}if(!t){e.pos=p,e.posMax=f;let t=e.push("link_open","a",1),r=[["href",o]];t.attrs=r,l&&r.push(["title",l]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=d,e.posMax=h,!0}],["image",function(e,t){let r,n,i,s,o,l,u,a;let c="",h=e.pos,p=e.posMax;if(33!==e.src.charCodeAt(e.pos)||91!==e.src.charCodeAt(e.pos+1))return!1;let f=e.pos+2,d=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(d<0)return!1;if((s=d+1)=p)return!1;for(a=s,(l=e.md.helpers.parseLinkDestination(e.src,s,e.posMax)).ok&&(c=e.md.normalizeLink(l.str),e.md.validateLink(c)?s=l.pos:c=""),a=s;s=p||41!==e.src.charCodeAt(s))return e.pos=h,!1;s++}else{if(void 0===e.env.references)return!1;if(s=0?i=e.src.slice(a,s++):s=d+1):s=d+1,i||(i=e.src.slice(f,d)),!(o=e.env.references[eu(i)]))return e.pos=h,!1;c=o.href,u=o.title}if(!t){n=e.src.slice(f,d);let t=[];e.md.inline.parse(n,e.md,e.env,t);let r=e.push("image","img",0),i=[["src",c],["alt",""]];r.attrs=i,r.children=t,r.content=n,u&&i.push(["title",u])}return e.pos=s,e.posMax=p,!0}],["autolink",function(e,t){let r=e.pos;if(60!==e.src.charCodeAt(r))return!1;let n=e.pos,i=e.posMax;for(;;){if(++r>=i)return!1;let t=e.src.charCodeAt(r);if(60===t)return!1;if(62===t)break}let s=e.src.slice(n+1,r);if(eK.test(s)){let r=e.md.normalizeLink(s);if(!e.md.validateLink(r))return!1;if(!t){let t=e.push("link_open","a",1);t.attrs=[["href",r]],t.markup="autolink",t.info="auto";let n=e.push("text","",0);n.content=e.md.normalizeLinkText(s);let i=e.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return e.pos+=s.length+2,!0}if(eY.test(s)){let r=e.md.normalizeLink("mailto:"+s);if(!e.md.validateLink(r))return!1;if(!t){let t=e.push("link_open","a",1);t.attrs=[["href",r]],t.markup="autolink",t.info="auto";let n=e.push("text","",0);n.content=e.md.normalizeLinkText(s);let i=e.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return e.pos+=s.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;let r=e.posMax,n=e.pos;if(60!==e.src.charCodeAt(n)||n+2>=r)return!1;let i=e.src.charCodeAt(n+1);if(33!==i&&63!==i&&47!==i&&!function(e){let t=32|e;return t>=97&&t<=122}(i))return!1;let s=e.src.slice(n).match(eR);if(!s)return!1;if(!t){var o,l;let t=e.push("html_inline","",0);t.content=s[0],o=t.content,/^\s]/i.test(o)&&e.linkLevel++,l=t.content,/^<\/a\s*>/i.test(l)&&e.linkLevel--}return e.pos+=s[0].length,!0}],["entity",function(e,t){let r=e.pos,n=e.posMax;if(38!==e.src.charCodeAt(r)||r+1>=n)return!1;let i=e.src.charCodeAt(r+1);if(35===i){let n=e.src.slice(r).match(eW);if(n){if(!t){let t="x"===n[1][0].toLowerCase()?parseInt(n[1].slice(1),16):parseInt(n[1],10),r=e.push("text_special","",0);r.content=U(t)?V(t):V(65533),r.markup=n[0],r.info="entity"}return e.pos+=n[0].length,!0}}else{let n=e.src.slice(r).match(eX);if(n){let r=(0,R.p1)(n[0]);if(r!==n[0]){if(!t){let t=e.push("text_special","",0);t.content=r,t.markup=n[0],t.info="entity"}return e.pos+=n[0].length,!0}}}return!1}]],e1=[["balance_pairs",function(e){let t=e.tokens_meta,r=e.tokens_meta.length;eQ(e.delimiters);for(let e=0;e0&&n++,"text"===i[t].type&&t+1=e.pos)throw Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;!o&&e.pos++,s[t]=e.pos},e2.prototype.tokenize=function(e){let t=this.ruler.getRules(""),r=t.length,n=e.posMax,i=e.md.options.maxNesting;for(;e.pos=e.pos)throw Error("inline rule didn't increment state.pos");break}}if(o){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},e2.prototype.parse=function(e,t,r,n){let i=new this.State(e,t,r,n);this.tokenize(i);let s=this.ruler2.getRules(""),o=s.length;for(let e=0;e=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){let n=e.slice(t);return(r.re.mailto||(r.re.mailto=RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n))?n.match(r.re.mailto)[0].length:0}}},e7="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function te(){return function(e,t){t.normalize(e)}}function tt(e){let t=e.re=function(e){let t={};e=e||{},t.src_Any=I.source,t.src_Cc=M.source,t.src_Z=T.source,t.src_P=B.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");let r="[><|]";return t.src_pseudo_letter="(?:(?!"+r+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+r+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),r=e.__tlds__.slice();function n(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");let i=[];function s(e,t){throw Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){let r=e.__schemas__[t];if(null===r)return;let n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===e4(r)){if("[object RegExp]"===e4(r.validate)){var o;n.validate=(o=r.validate,function(e,t){let r=e.slice(t);return o.test(r)?r.match(o)[0].length:0})}else e6(r.validate)?n.validate=r.validate:s(t,r);e6(r.normalize)?n.normalize=r.normalize:r.normalize?s(t,r):n.normalize=te();return}if("[object String]"===e4(r)){i.push(t);return}s(t,r)}),i.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:te()};let o=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(e8).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),e.__index__=-1,e.__text_cache__=""}function tr(e,t){let r=e.__index__,n=e.__last_index__,i=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=i,this.text=i,this.url=i}function tn(e,t){let r=new tr(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function ti(e,t){if(!(this instanceof ti))return new ti(e,t);!t&&Object.keys(e||{}).reduce(function(e,t){return e||e5.hasOwnProperty(t)},!1)&&(t=e,e={}),this.__opts__=e3({},e5,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=e3({},e9,e),this.__compiled__={},this.__tlds__=e7,this.__tlds_replaced__=!1,this.re={},tt(this)}ti.prototype.add=function(e,t){return this.__schemas__[e]=t,tt(this),this},ti.prototype.set=function(e){return this.__opts__=e3(this.__opts__,e),this},ti.prototype.test=function(e){let t,r,n,i,s,o,l,u;if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;if(this.re.schema_test.test(e)){for((l=this.re.schema_search).lastIndex=0;null!==(t=l.exec(e));)if(i=this.testSchemaAt(e,t[2],l.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u=0&&null!==(n=e.match(this.re.email_fuzzy))&&(s=n.index+n[1].length,o=n.index+n[0].length,(this.__index__<0||sthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=o)),this.__index__>=0},ti.prototype.pretest=function(e){return this.re.pretest.test(e)},ti.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},ti.prototype.match=function(e){let t=[],r=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(tn(this,r)),r=this.__last_index__);let n=r?e.slice(r):e;for(;this.test(n);)t.push(tn(this,r)),n=n.slice(this.__last_index__),r+=this.__last_index__;return t.length?t:null},ti.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;let t=this.re.schema_at_start.exec(e);if(!t)return null;let r=this.testSchemaAt(e,t[2],t[0].length);return r?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r,tn(this,0)):null},ti.prototype.tlds=function(e,t){return(e=Array.isArray(e)?e:[e],t)?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse(),tt(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,tt(this),this)},ti.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},ti.prototype.onCompile=function(){};let ts=/^xn--/,to=/[^\0-\x7F]/,tl=/[\x2E\u3002\uFF0E\uFF61]/g,tu={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ta=Math.floor,tc=String.fromCharCode;function th(e){throw RangeError(tu[e])}function tp(e,t){let r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(tl,".");let i=e.split("."),s=(function(e,t){let r=[],n=e.length;for(;n--;)r[n]=t(e[n]);return r})(i,t).join(".");return n+s}function tf(e){let t=[],r=0,n=e.length;for(;r=55296&&i<=56319&&r>1,e+=ta(e/t);e>455;n+=36)e=ta(e/35);return ta(n+36*e/(e+38))},tm=function(e){let t=[],r=e.length,n=0,i=128,s=72,o=e.lastIndexOf("-");o<0&&(o=0);for(let r=0;r=128&&th("not-basic"),t.push(e.charCodeAt(r));for(let u=o>0?o+1:0;u=r&&th("invalid-input");let o=(l=e.charCodeAt(u++))>=48&&l<58?26+(l-48):l>=65&&l<91?l-65:l>=97&&l<123?l-97:36;o>=36&&th("invalid-input"),o>ta((2147483647-n)/t)&&th("overflow"),n+=o*t;let a=i<=s?1:i>=s+26?26:i-s;if(ota(2147483647/c)&&th("overflow"),t*=c}let a=t.length+1;s=t_(n-o,a,0==o),ta(n/a)>2147483647-i&&th("overflow"),i+=ta(n/a),n%=a,t.splice(n++,0,i)}return String.fromCodePoint(...t)},tg=function(e){let t=[];e=tf(e);let r=e.length,n=128,i=0,s=72;for(let r of e)r<128&&t.push(tc(r));let o=t.length,l=o;for(o&&t.push("-");l=n&&tta((2147483647-i)/u)&&th("overflow"),i+=(r-n)*u,n=r,e))if(a2147483647&&th("overflow"),a===n){let e=i;for(let r=36;;r+=36){let n=r<=s?1:r>=s+26?26:r-s;if(eString.fromCodePoint(...e)},decode:tm,encode:tg,toASCII:function(e){return tp(e,function(e){return to.test(e)?"xn--"+tg(e):e})},toUnicode:function(e){return tp(e,function(e){return ts.test(e)?tm(e.slice(4).toLowerCase()):e})}};let tD={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},tb=/^(vbscript|javascript|file|data):/,tC=/^data:image\/(gif|png|jpeg|webp);/;function tF(e){let t=e.trim().toLowerCase();return!tb.test(t)||tC.test(t)}let ty=["http:","https:","mailto:"];function tA(e){let t=S(e,!0);if(t.hostname&&(!t.protocol||ty.indexOf(t.protocol)>=0))try{t.hostname=tk.toASCII(t.hostname)}catch(e){}return m(g(t))}function tE(e){let t=S(e,!0);if(t.hostname&&(!t.protocol||ty.indexOf(t.protocol)>=0))try{t.hostname=tk.toUnicode(t.hostname)}catch(e){}return f(g(t),f.defaultChars+"%")}function tx(e,t){if(!(this instanceof tx))return new tx(e,t);t||j(e)||(t=e||{},e="default"),this.inline=new e2,this.block=new eZ,this.core=new ez,this.renderer=new ed,this.linkify=new ti,this.validateLink=tF,this.normalizeLink=tA,this.normalizeLinkText=tE,this.utils=a,this.helpers=$({},c),this.options={},this.configure(e),t&&this.set(t)}tx.prototype.set=function(e){return $(this.options,e),this},tx.prototype.configure=function(e){let t=this;if(j(e)){let t=e;if(!(e=tD[t]))throw Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this},tx.prototype.enable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));let n=e.filter(function(e){return 0>r.indexOf(e)});if(n.length&&!t)throw Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},tx.prototype.disable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));let n=e.filter(function(e){return 0>r.indexOf(e)});if(n.length&&!t)throw Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},tx.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},tx.prototype.parse=function(e,t){if("string"!=typeof e)throw Error("Input data should be a String");let r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},tx.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},tx.prototype.parseInline=function(e,t){let r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},tx.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var tv=tx}}]); \ No newline at end of file +`},ef.image=function(e,t,r,n,i){let s=e[t];return s.attrs[s.attrIndex("alt")][1]=i.renderInlineAsText(s.children,r,n),i.renderToken(e,t,r)},ef.hardbreak=function(e,t,r){return r.xhtmlOut?"
    \n":"
    \n"},ef.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"
    \n":"
    \n":"\n"},ef.text=function(e,t){return et(e[t].content)},ef.html_block=function(e,t){return e[t].content},ef.html_inline=function(e,t){return e[t].content},ed.prototype.renderAttrs=function(e){let t,r,n;if(!e.attrs)return"";for(t=0,n="",r=e.attrs.length;t\n":">")},ed.prototype.renderInline=function(e,t,r){let n="",i=this.rules;for(let s=0,o=e.length;st.indexOf(e)&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(r){!r.enabled||t&&0>r.alt.indexOf(t)||e.__cache__[t].push(r.fn)})})},e_.prototype.at=function(e,t,r){let n=this.__find__(e);if(-1===n)throw Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=(r||{}).alt||[],this.__cache__=null},e_.prototype.before=function(e,t,r,n){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:r,alt:(n||{}).alt||[]}),this.__cache__=null},e_.prototype.after=function(e,t,r,n){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:r,alt:(n||{}).alt||[]}),this.__cache__=null},e_.prototype.push=function(e,t,r){this.__rules__.push({name:e,enabled:!0,fn:t,alt:(r||{}).alt||[]}),this.__cache__=null},e_.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);let r=[];return e.forEach(function(e){let n=this.__find__(e);if(n<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!0,r.push(e)},this),this.__cache__=null,r},e_.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},e_.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);let r=[];return e.forEach(function(e){let n=this.__find__(e);if(n<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!1,r.push(e)},this),this.__cache__=null,r},e_.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},em.prototype.attrIndex=function(e){if(!this.attrs)return -1;let t=this.attrs;for(let r=0,n=t.length;r=0&&(r=this.attrs[t][1]),r},em.prototype.attrJoin=function(e,t){let r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},eg.prototype.Token=em;let ek=/\r\n?|\n/g,eD=/\0/g,eb=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,eC=/\((c|tm|r)\)/i,eF=/\((c|tm|r)\)/ig,ey={c:"\xa9",r:"\xae",tm:"™"};function eA(e,t){return ey[t.toLowerCase()]}let eE=/['"]/,ex=/['"]/g;function ev(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}let ew=[["normalize",function(e){let t;t=(t=e.src.replace(ek,"\n")).replace(eD,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){let t=e.tokens;for(let r=0,n=t.length;r=0;l--){let u=s[l];if("link_close"===u.type){for(l--;s[l].level!==u.level&&"link_open"!==s[l].type;)l--;continue}if("html_inline"===u.type){var r,n;r=u.content,/^\s]/i.test(r)&&o>0&&o--,n=u.content,/^<\/a\s*>/i.test(n)&&o++}if(!(o>0)&&"text"===u.type&&e.md.linkify.test(u.content)){let r=u.content,n=e.md.linkify.match(r),o=[],a=u.level,c=0;n.length>0&&0===n[0].index&&l>0&&"text_special"===s[l-1].type&&(n=n.slice(1));for(let t=0;tc){let t=new e.Token("text","",0);t.content=r.slice(c,u),t.level=a,o.push(t)}let h=new e.Token("link_open","a",1);h.attrs=[["href",s]],h.level=a++,h.markup="linkify",h.info="auto",o.push(h);let p=new e.Token("text","",0);p.content=l,p.level=a,o.push(p);let f=new e.Token("link_close","a",-1);f.level=--a,f.markup="linkify",f.info="auto",o.push(f),c=n[t].lastIndex}if(c=0;t--)"inline"===e.tokens[t].type&&(eC.test(e.tokens[t].content)&&function(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];"text"!==n.type||t||(n.content=n.content.replace(eF,eA)),"link_open"===n.type&&"auto"===n.info&&t--,"link_close"===n.type&&"auto"===n.info&&t++}}(e.tokens[t].children),eb.test(e.tokens[t].content)&&function(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];"text"===n.type&&!t&&eb.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),"link_open"===n.type&&"auto"===n.info&&t--,"link_close"===n.type&&"auto"===n.info&&t++}}(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&eE.test(e.tokens[t].content)&&function(e,t){let r;let n=[];for(let i=0;i=0&&!(n[r].level<=o);r--);if(n.length=r+1,"text"!==s.type)continue;let l=s.content,u=0,a=l.length;e:for(;u=0)d=l.charCodeAt(c.index-1);else for(r=i-1;r>=0&&"softbreak"!==e[r].type&&"hardbreak"!==e[r].type;r--)if(e[r].content){d=e[r].content.charCodeAt(e[r].content.length-1);break}let _=32;if(u=48&&d<=57&&(p=h=!1),h&&p&&(h=m,p=g),!h&&!p){f&&(s.content=ev(s.content,c.index,"’"));continue}if(p)for(r=n.length-1;r>=0;r--){let h=n[r];if(n[r].level=n)return -1;let s=e.src.charCodeAt(i++);if(s<48||s>57)return -1;for(;;){if(i>=n)return -1;if((s=e.src.charCodeAt(i++))>=48&&s<=57){if(i-r>=10)return -1;continue}if(41===s||46===s)break;return -1}return i0&&this.level++,this.tokens.push(n),n},eS.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},eS.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;et;)if(!ei(this.src.charCodeAt(--e)))return e+1;return e},eS.prototype.skipChars=function(e,t){for(let r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e},eS.prototype.getLines=function(e,t,r,n){if(e>=t)return"";let i=Array(t-e);for(let s=0,o=e;or?i[s]=Array(l-r+1).join(" ")+this.src.slice(a,e):i[s]=this.src.slice(a,e)}return i.join("")},eS.prototype.Token=em;let eq="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",eT="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",eR=RegExp("^(?:"+eq+"|"+eT+"||<[?][\\s\\S]*?[?]>|]*>|)"),eO=RegExp("^(?:"+eq+"|"+eT+")"),ej=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[RegExp("^|$))","i"),/^$/,!0],[RegExp(eO.source+"\\s*$"),/^$/,!1]],eP=[["table",function(e,t,r,n){let i;if(t+2>r)return!1;let s=t+1;if(e.sCount[s]=4)return!1;let o=e.bMarks[s]+e.tShift[s];if(o>=e.eMarks[s])return!1;let l=e.src.charCodeAt(o++);if(124!==l&&45!==l&&58!==l||o>=e.eMarks[s])return!1;let u=e.src.charCodeAt(o++);if(124!==u&&45!==u&&58!==u&&!ei(u)||45===l&&ei(u))return!1;for(;o=4)return!1;(c=eL(a)).length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();let p=c.length;if(0===p||p!==h.length)return!1;if(n)return!0;let f=e.parentType;e.parentType="table";let d=e.md.block.ruler.getRules("blockquote"),_=e.push("table_open","table",1),m=[t,0];_.map=m;let g=e.push("thead_open","thead",1);g.map=[t,t+1];let k=e.push("tr_open","tr",1);k.map=[t,t+1];for(let t=0;t=4||((c=eL(a)).length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),(D+=p-c.length)>65536))break;if(s===t+2){let r=e.push("tbody_open","tbody",1);r.map=i=[t+2,0]}let o=e.push("tr_open","tr",1);o.map=[s,s+1];for(let t=0;t=4){i=++n;continue}break}e.line=i;let s=e.push("code_block","code",0);return s.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",s.map=[t,e.line],!0}],["fence",function(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>s)return!1;let o=e.src.charCodeAt(i);if(126!==o&&96!==o)return!1;let l=i,u=(i=e.skipChars(i,o))-l;if(u<3)return!1;let a=e.src.slice(l,i),c=e.src.slice(i,s);if(96===o&&c.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;let h=t,p=!1;for(;!(++h>=r)&&(!((i=l=e.bMarks[h]+e.tShift[h])<(s=e.eMarks[h]))||!(e.sCount[h]=4||(i=e.skipChars(i,o))-l=4||62!==e.src.charCodeAt(s))return!1;if(n)return!0;let u=[],a=[],c=[],h=[],p=e.md.block.ruler.getRules("blockquote"),f=e.parentType;e.parentType="blockquote";let d=!1;for(i=t;i=o)break;if(62===e.src.charCodeAt(s++)&&!t){let t,r,n=e.sCount[i]+1;32===e.src.charCodeAt(s)?(s++,n++,r=!1,t=!0):9===e.src.charCodeAt(s)?(t=!0,(e.bsCount[i]+n)%4==3?(s++,n++,r=!1):r=!0):t=!1;let l=n;for(u.push(e.bMarks[i]),e.bMarks[i]=s;s=o,a.push(e.bsCount[i]),e.bsCount[i]=e.sCount[i]+1+(t?1:0),c.push(e.sCount[i]),e.sCount[i]=l-n,h.push(e.tShift[i]),e.tShift[i]=s-e.bMarks[i];continue}if(d)break;let n=!1;for(let t=0,s=p.length;t";let g=[t,0];m.map=g,e.md.block.tokenize(e,t,i);let k=e.push("blockquote_close","blockquote",-1);k.markup=">",e.lineMax=l,e.parentType=f,g[1]=e.line;for(let r=0;r=4)return!1;let s=e.bMarks[t]+e.tShift[t],o=e.src.charCodeAt(s++);if(42!==o&&45!==o&&95!==o)return!1;let l=1;for(;s=4||e.listIndent>=0&&e.sCount[h]-e.listIndent>=4&&e.sCount[h]=e.blkIndent&&(f=!0),(c=eM(e,h))>=0){if(u=!0,o=e.bMarks[h]+e.tShift[h],a=Number(e.src.slice(o,c-1)),f&&1!==a)return!1}else{if(!((c=eI(e,h))>=0))return!1;u=!1}if(f&&e.skipSpaces(c)>=e.eMarks[h])return!1;if(n)return!0;let d=e.src.charCodeAt(c-1),_=e.tokens.length;u?(l=e.push("ordered_list_open","ol",1),1!==a&&(l.attrs=[["start",a]])):l=e.push("bullet_list_open","ul",1);let m=[h,0];l.map=m,l.markup=String.fromCharCode(d);let g=!1,k=e.md.block.ruler.getRules("list"),D=e.parentType;for(e.parentType="list";h=i?1:a-n)>4&&(t=1);let _=n+t;(l=e.push("list_item_open","li",1)).markup=String.fromCharCode(d);let m=[h,0];l.map=m,u&&(l.info=e.src.slice(o,c-1));let D=e.tight,b=e.tShift[h],C=e.sCount[h],F=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=_,e.tight=!0,e.tShift[h]=f-e.bMarks[h],e.sCount[h]=a,f>=i&&e.isEmpty(h+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,h,r,!0),(!e.tight||g)&&(p=!1),g=e.line-h>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=F,e.tShift[h]=b,e.sCount[h]=C,e.tight=D,(l=e.push("list_item_close","li",-1)).markup=String.fromCharCode(d),h=e.line,m[1]=h,h>=r||e.sCount[h]=4)break;let y=!1;for(let t=0,n=k.length;t=4||91!==e.src.charCodeAt(s))return!1;function u(t){let r=e.lineMax;if(t>=r||e.isEmpty(t))return null;let n=!1;if(e.sCount[t]-e.blkIndent>3&&(n=!0),e.sCount[t]<0&&(n=!0),!n){let n=e.md.block.ruler.getRules("reference"),i=e.parentType;e.parentType="reference";let s=!1;for(let i=0,o=n.length;i=4||!e.md.options.html||60!==e.src.charCodeAt(i))return!1;let o=e.src.slice(i,s),l=0;for(;l=4)return!1;let o=e.src.charCodeAt(i);if(35!==o||i>=s)return!1;let l=1;for(o=e.src.charCodeAt(++i);35===o&&i6||ii&&ei(e.src.charCodeAt(u-1))&&(s=u),e.line=t+1;let a=e.push("heading_open","h"+String(l),1);a.markup="########".slice(0,l),a.map=[t,e.line];let c=e.push("inline","",0);c.content=e.src.slice(i,s).trim(),c.map=[t,e.line],c.children=[];let h=e.push("heading_close","h"+String(l),-1);return h.markup="########".slice(0,l),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,r){let n;let i=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let s=e.parentType;e.parentType="paragraph";let o=0,l=t+1;for(;l3)continue;if(e.sCount[l]>=e.blkIndent){let t=e.bMarks[l]+e.tShift[l],r=e.eMarks[l];if(t=r)){o=61===n?1:2;break}}if(e.sCount[l]<0)continue;let t=!1;for(let n=0,s=i.length;n3||e.sCount[s]<0)continue;let t=!1;for(let i=0,o=n.length;i=r)&&!(e.sCount[o]=s){e.line=r;break}let t=e.line,u=!1;for(let s=0;s=e.line)throw Error("block rule didn't increment state.line");break}if(!u)throw Error("none of the block rules matched");e.tight=!l,e.isEmpty(e.line-1)&&(l=!0),(o=e.line)0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(i),n},eZ.prototype.scanDelims=function(e,t){let r=this.posMax,n=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32,s=e;for(;s?@[]^_`{|}~-".split("").forEach(function(e){eU[e.charCodeAt(0)]=1});var eH={tokenize:function(e,t){let r=e.pos,n=e.src.charCodeAt(r);if(t||126!==n)return!1;let i=e.scanDelims(e.pos,!0),s=i.length,o=String.fromCharCode(n);if(s<2)return!1;s%2&&(e.push("text","",0).content=o,s--);for(let t=0;t=0;n--){let r=t[n];if(95!==r.marker&&42!==r.marker||-1===r.end)continue;let i=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,o=String.fromCharCode(r.marker),l=e.tokens[r.token];l.type=s?"strong_open":"em_open",l.tag=s?"strong":"em",l.nesting=1,l.markup=s?o+o:o,l.content="";let u=e.tokens[i.token];u.type=s?"strong_close":"em_close",u.tag=s?"strong":"em",u.nesting=-1,u.markup=s?o+o:o,u.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}var eJ={tokenize:function(e,t){let r=e.pos,n=e.src.charCodeAt(r);if(t||95!==n&&42!==n)return!1;let i=e.scanDelims(e.pos,42===n);for(let t=0;t\x00-\x20]*)$/,eW=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,eX=/^&([a-z][a-z0-9]{1,31});/i;function eQ(e){let t={},r=e.length;if(!r)return;let n=0,i=-2,s=[];for(let o=0;ol;u-=s[u]+1){let t=e[u];if(t.marker===r.marker&&t.open&&t.end<0){let n=!1;if((t.close||r.open)&&(t.length+r.length)%3==0&&(t.length%3!=0||r.length%3!=0)&&(n=!0),!n){let n=u>0&&!e[u-1].open?s[u-1]+1:0;s[o]=o-u+n,s[u]=n,r.open=!1,t.end=o,t.close=!1,a=-1,i=-2;break}}}-1!==a&&(t[r.marker][(r.open?3:0)+(r.length||0)%3]=a)}}let e0=[["text",function(e,t){let r=e.pos;for(;r0)return!1;let r=e.pos,n=e.posMax;if(r+3>n||58!==e.src.charCodeAt(r)||47!==e.src.charCodeAt(r+1)||47!==e.src.charCodeAt(r+2))return!1;let i=e.pending.match(eN);if(!i)return!1;let s=i[1],o=e.md.linkify.matchAtStart(e.src.slice(r-s.length));if(!o)return!1;let l=o.url;if(l.length<=s.length)return!1;l=l.replace(/\*+$/,"");let u=e.md.normalizeLink(l);if(!e.md.validateLink(u))return!1;if(!t){e.pending=e.pending.slice(0,-s.length);let t=e.push("link_open","a",1);t.attrs=[["href",u]],t.markup="linkify",t.info="auto";let r=e.push("text","",0);r.content=e.md.normalizeLinkText(l);let n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=l.length-s.length,!0}],["newline",function(e,t){let r=e.pos;if(10!==e.src.charCodeAt(r))return!1;let n=e.pending.length-1,i=e.posMax;if(!t){if(n>=0&&32===e.pending.charCodeAt(n)){if(n>=1&&32===e.pending.charCodeAt(n-1)){let t=n-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)}else e.push("softbreak","br",0)}for(r++;r=n)return!1;let i=e.src.charCodeAt(r);if(10===i){for(t||e.push("hardbreak","br",0),r++;r=55296&&i<=56319&&r+1=56320&&t<=57343&&(s+=e.src[r+1],r++)}let o="\\"+s;if(!t){let t=e.push("text_special","",0);i<256&&0!==eU[i]?t.content=s:t.content=o,t.markup=o,t.info="escape"}return e.pos=r+1,!0}],["backticks",function(e,t){let r,n=e.pos,i=e.src.charCodeAt(n);if(96!==i)return!1;let s=n;n++;let o=e.posMax;for(;n=h)return!1;if(u=d,(i=e.md.helpers.parseLinkDestination(e.src,d,e.posMax)).ok){for(o=e.md.normalizeLink(i.str),e.md.validateLink(o)?d=i.pos:o="",u=d;d=h||41!==e.src.charCodeAt(d))&&(a=!0),d++}if(a){if(void 0===e.env.references)return!1;if(d=0?n=e.src.slice(u,d++):d=f+1):d=f+1,n||(n=e.src.slice(p,f)),!(s=e.env.references[eu(n)]))return e.pos=c,!1;o=s.href,l=s.title}if(!t){e.pos=p,e.posMax=f;let t=e.push("link_open","a",1),r=[["href",o]];t.attrs=r,l&&r.push(["title",l]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=d,e.posMax=h,!0}],["image",function(e,t){let r,n,i,s,o,l,u,a;let c="",h=e.pos,p=e.posMax;if(33!==e.src.charCodeAt(e.pos)||91!==e.src.charCodeAt(e.pos+1))return!1;let f=e.pos+2,d=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(d<0)return!1;if((s=d+1)=p)return!1;for(a=s,(l=e.md.helpers.parseLinkDestination(e.src,s,e.posMax)).ok&&(c=e.md.normalizeLink(l.str),e.md.validateLink(c)?s=l.pos:c=""),a=s;s=p||41!==e.src.charCodeAt(s))return e.pos=h,!1;s++}else{if(void 0===e.env.references)return!1;if(s=0?i=e.src.slice(a,s++):s=d+1):s=d+1,i||(i=e.src.slice(f,d)),!(o=e.env.references[eu(i)]))return e.pos=h,!1;c=o.href,u=o.title}if(!t){n=e.src.slice(f,d);let t=[];e.md.inline.parse(n,e.md,e.env,t);let r=e.push("image","img",0),i=[["src",c],["alt",""]];r.attrs=i,r.children=t,r.content=n,u&&i.push(["title",u])}return e.pos=s,e.posMax=p,!0}],["autolink",function(e,t){let r=e.pos;if(60!==e.src.charCodeAt(r))return!1;let n=e.pos,i=e.posMax;for(;;){if(++r>=i)return!1;let t=e.src.charCodeAt(r);if(60===t)return!1;if(62===t)break}let s=e.src.slice(n+1,r);if(eK.test(s)){let r=e.md.normalizeLink(s);if(!e.md.validateLink(r))return!1;if(!t){let t=e.push("link_open","a",1);t.attrs=[["href",r]],t.markup="autolink",t.info="auto";let n=e.push("text","",0);n.content=e.md.normalizeLinkText(s);let i=e.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return e.pos+=s.length+2,!0}if(eY.test(s)){let r=e.md.normalizeLink("mailto:"+s);if(!e.md.validateLink(r))return!1;if(!t){let t=e.push("link_open","a",1);t.attrs=[["href",r]],t.markup="autolink",t.info="auto";let n=e.push("text","",0);n.content=e.md.normalizeLinkText(s);let i=e.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return e.pos+=s.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;let r=e.posMax,n=e.pos;if(60!==e.src.charCodeAt(n)||n+2>=r)return!1;let i=e.src.charCodeAt(n+1);if(33!==i&&63!==i&&47!==i&&!function(e){let t=32|e;return t>=97&&t<=122}(i))return!1;let s=e.src.slice(n).match(eR);if(!s)return!1;if(!t){var o,l;let t=e.push("html_inline","",0);t.content=s[0],o=t.content,/^\s]/i.test(o)&&e.linkLevel++,l=t.content,/^<\/a\s*>/i.test(l)&&e.linkLevel--}return e.pos+=s[0].length,!0}],["entity",function(e,t){let r=e.pos,n=e.posMax;if(38!==e.src.charCodeAt(r)||r+1>=n)return!1;let i=e.src.charCodeAt(r+1);if(35===i){let n=e.src.slice(r).match(eW);if(n){if(!t){let t="x"===n[1][0].toLowerCase()?parseInt(n[1].slice(1),16):parseInt(n[1],10),r=e.push("text_special","",0);r.content=U(t)?V(t):V(65533),r.markup=n[0],r.info="entity"}return e.pos+=n[0].length,!0}}else{let n=e.src.slice(r).match(eX);if(n){let r=(0,R.p1)(n[0]);if(r!==n[0]){if(!t){let t=e.push("text_special","",0);t.content=r,t.markup=n[0],t.info="entity"}return e.pos+=n[0].length,!0}}}return!1}]],e1=[["balance_pairs",function(e){let t=e.tokens_meta,r=e.tokens_meta.length;eQ(e.delimiters);for(let e=0;e0&&n++,"text"===i[t].type&&t+1=e.pos)throw Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;!o&&e.pos++,s[t]=e.pos},e2.prototype.tokenize=function(e){let t=this.ruler.getRules(""),r=t.length,n=e.posMax,i=e.md.options.maxNesting;for(;e.pos=e.pos)throw Error("inline rule didn't increment state.pos");break}}if(o){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},e2.prototype.parse=function(e,t,r,n){let i=new this.State(e,t,r,n);this.tokenize(i);let s=this.ruler2.getRules(""),o=s.length;for(let e=0;e=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){let n=e.slice(t);return(r.re.mailto||(r.re.mailto=RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n))?n.match(r.re.mailto)[0].length:0}}},e7="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function te(){return function(e,t){t.normalize(e)}}function tt(e){let t=e.re=function(e){let t={};e=e||{},t.src_Any=I.source,t.src_Cc=M.source,t.src_Z=T.source,t.src_P=B.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");let r="[><|]";return t.src_pseudo_letter="(?:(?!"+r+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+r+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),r=e.__tlds__.slice();function n(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");let i=[];function s(e,t){throw Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){let r=e.__schemas__[t];if(null===r)return;let n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===e4(r)){if("[object RegExp]"===e4(r.validate)){var o;n.validate=(o=r.validate,function(e,t){let r=e.slice(t);return o.test(r)?r.match(o)[0].length:0})}else e6(r.validate)?n.validate=r.validate:s(t,r);e6(r.normalize)?n.normalize=r.normalize:r.normalize?s(t,r):n.normalize=te();return}if("[object String]"===e4(r)){i.push(t);return}s(t,r)}),i.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:te()};let o=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(e8).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),e.__index__=-1,e.__text_cache__=""}function tr(e,t){let r=e.__index__,n=e.__last_index__,i=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=i,this.text=i,this.url=i}function tn(e,t){let r=new tr(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function ti(e,t){if(!(this instanceof ti))return new ti(e,t);!t&&Object.keys(e||{}).reduce(function(e,t){return e||e5.hasOwnProperty(t)},!1)&&(t=e,e={}),this.__opts__=e3({},e5,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=e3({},e9,e),this.__compiled__={},this.__tlds__=e7,this.__tlds_replaced__=!1,this.re={},tt(this)}ti.prototype.add=function(e,t){return this.__schemas__[e]=t,tt(this),this},ti.prototype.set=function(e){return this.__opts__=e3(this.__opts__,e),this},ti.prototype.test=function(e){let t,r,n,i,s,o,l,u;if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;if(this.re.schema_test.test(e)){for((l=this.re.schema_search).lastIndex=0;null!==(t=l.exec(e));)if(i=this.testSchemaAt(e,t[2],l.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u=0&&null!==(n=e.match(this.re.email_fuzzy))&&(s=n.index+n[1].length,o=n.index+n[0].length,(this.__index__<0||sthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=o)),this.__index__>=0},ti.prototype.pretest=function(e){return this.re.pretest.test(e)},ti.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},ti.prototype.match=function(e){let t=[],r=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(tn(this,r)),r=this.__last_index__);let n=r?e.slice(r):e;for(;this.test(n);)t.push(tn(this,r)),n=n.slice(this.__last_index__),r+=this.__last_index__;return t.length?t:null},ti.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;let t=this.re.schema_at_start.exec(e);if(!t)return null;let r=this.testSchemaAt(e,t[2],t[0].length);return r?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r,tn(this,0)):null},ti.prototype.tlds=function(e,t){return(e=Array.isArray(e)?e:[e],t)?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse(),tt(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,tt(this),this)},ti.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},ti.prototype.onCompile=function(){};let ts=/^xn--/,to=/[^\0-\x7F]/,tl=/[\x2E\u3002\uFF0E\uFF61]/g,tu={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ta=Math.floor,tc=String.fromCharCode;function th(e){throw RangeError(tu[e])}function tp(e,t){let r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(tl,".");let i=e.split("."),s=(function(e,t){let r=[],n=e.length;for(;n--;)r[n]=t(e[n]);return r})(i,t).join(".");return n+s}function tf(e){let t=[],r=0,n=e.length;for(;r=55296&&i<=56319&&r>1,e+=ta(e/t);e>455;n+=36)e=ta(e/35);return ta(n+36*e/(e+38))},tm=function(e){let t=[],r=e.length,n=0,i=128,s=72,o=e.lastIndexOf("-");o<0&&(o=0);for(let r=0;r=128&&th("not-basic"),t.push(e.charCodeAt(r));for(let u=o>0?o+1:0;u=r&&th("invalid-input");let o=(l=e.charCodeAt(u++))>=48&&l<58?26+(l-48):l>=65&&l<91?l-65:l>=97&&l<123?l-97:36;o>=36&&th("invalid-input"),o>ta((2147483647-n)/t)&&th("overflow"),n+=o*t;let a=i<=s?1:i>=s+26?26:i-s;if(ota(2147483647/c)&&th("overflow"),t*=c}let a=t.length+1;s=t_(n-o,a,0==o),ta(n/a)>2147483647-i&&th("overflow"),i+=ta(n/a),n%=a,t.splice(n++,0,i)}return String.fromCodePoint(...t)},tg=function(e){let t=[];e=tf(e);let r=e.length,n=128,i=0,s=72;for(let r of e)r<128&&t.push(tc(r));let o=t.length,l=o;for(o&&t.push("-");l=n&&tta((2147483647-i)/u)&&th("overflow"),i+=(r-n)*u,n=r,e))if(a2147483647&&th("overflow"),a===n){let e=i;for(let r=36;;r+=36){let n=r<=s?1:r>=s+26?26:r-s;if(eString.fromCodePoint(...e)},decode:tm,encode:tg,toASCII:function(e){return tp(e,function(e){return to.test(e)?"xn--"+tg(e):e})},toUnicode:function(e){return tp(e,function(e){return ts.test(e)?tm(e.slice(4).toLowerCase()):e})}};let tD={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},tb=/^(vbscript|javascript|file|data):/,tC=/^data:image\/(gif|png|jpeg|webp);/;function tF(e){let t=e.trim().toLowerCase();return!tb.test(t)||tC.test(t)}let ty=["http:","https:","mailto:"];function tA(e){let t=S(e,!0);if(t.hostname&&(!t.protocol||ty.indexOf(t.protocol)>=0))try{t.hostname=tk.toASCII(t.hostname)}catch(e){}return m(g(t))}function tE(e){let t=S(e,!0);if(t.hostname&&(!t.protocol||ty.indexOf(t.protocol)>=0))try{t.hostname=tk.toUnicode(t.hostname)}catch(e){}return f(g(t),f.defaultChars+"%")}function tx(e,t){if(!(this instanceof tx))return new tx(e,t);t||j(e)||(t=e||{},e="default"),this.inline=new e2,this.block=new e$,this.core=new ez,this.renderer=new ed,this.linkify=new ti,this.validateLink=tF,this.normalizeLink=tA,this.normalizeLinkText=tE,this.utils=a,this.helpers=Z({},c),this.options={},this.configure(e),t&&this.set(t)}tx.prototype.set=function(e){return Z(this.options,e),this},tx.prototype.configure=function(e){let t=this;if(j(e)){let t=e;if(!(e=tD[t]))throw Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this},tx.prototype.enable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));let n=e.filter(function(e){return 0>r.indexOf(e)});if(n.length&&!t)throw Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},tx.prototype.disable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));let n=e.filter(function(e){return 0>r.indexOf(e)});if(n.length&&!t)throw Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},tx.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},tx.prototype.parse=function(e,t){if("string"!=typeof e)throw Error("Input data should be a String");let r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},tx.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},tx.prototype.parseInline=function(e,t){let r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},tx.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var tv=tx}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5418-4cb1198a87b39bf7.js b/dbgpt/app/static/web/_next/static/chunks/5418-965d05b21b0e9810.js similarity index 72% rename from dbgpt/app/static/web/_next/static/chunks/5418-4cb1198a87b39bf7.js rename to dbgpt/app/static/web/_next/static/chunks/5418-965d05b21b0e9810.js index 0175cc38f..9b4bc5077 100644 --- a/dbgpt/app/static/web/_next/static/chunks/5418-4cb1198a87b39bf7.js +++ b/dbgpt/app/static/web/_next/static/chunks/5418-965d05b21b0e9810.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5418],{3843:function(e,t){t.Z={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"}},50756:function(e,t){t.Z={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"}},1203:function(e,t,o){o.d(t,{Z:function(){return P}});var n=o(67294),r=o(62994),l=o(93967),i=o.n(l),a=o(29171),s=o(56790),d=o(21770),c=o(98423),u=o(87263),m=o(80636),p=o(8745),g=o(96159),b=o(27288),$=o(43945),f=o(53124),v=o(35792),h=o(50136),I=o(76529),C=o(25976),y=o(47648),w=o(14747),x=o(67771),S=o(33297),O=o(50438),B=o(97414),k=o(79511),E=o(83559),j=o(87893),z=e=>{let{componentCls:t,menuCls:o,colorError:n,colorTextLightSolid:r}=e,l=`${o}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${o} ${l}`]:{[`&${l}-danger:not(${l}-disabled)`]:{color:n,"&:hover":{color:r,backgroundColor:n}}}}}};let H=e=>{let{componentCls:t,menuCls:o,zIndexPopup:n,dropdownArrowDistance:r,sizePopupArrow:l,antCls:i,iconCls:a,motionDurationMid:s,paddingBlock:d,fontSize:c,dropdownEdgeChildPadding:u,colorTextDisabled:m,fontSizeIcon:p,controlPaddingHorizontal:g,colorBgElevated:b}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:n,display:"block","&::before":{position:"absolute",insetBlock:e.calc(l).div(2).sub(r).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${i}-btn`]:{[`& > ${a}-down, & > ${i}-btn-icon > ${a}-down`]:{fontSize:p}},[`${t}-wrap`]:{position:"relative",[`${i}-btn > ${a}-down`]:{fontSize:p},[`${a}-down::before`]:{transition:`transform ${s}`}},[`${t}-wrap-open`]:{[`${a}-down::before`]:{transform:"rotate(180deg)"}},[` +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5418],{13728:function(e,t,o){o.d(t,{Z:function(){return a}});var n=o(87462),r=o(67294),l={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},i=o(13401),a=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},18073:function(e,t,o){o.d(t,{Z:function(){return a}});var n=o(87462),r=o(67294),l={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"},i=o(13401),a=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:l}))})},1203:function(e,t,o){o.d(t,{Z:function(){return R}});var n=o(67294),r=o(18073),l=o(93967),i=o.n(l),a=o(29171),s=o(56790),d=o(21770),c=o(98423),u=o(87263),m=o(80636),p=o(8745),g=o(96159),b=o(27288),$=o(43945),f=o(53124),v=o(35792),h=o(50136),I=o(76529),C=o(25976),y=o(25446),w=o(14747),x=o(67771),S=o(33297),O=o(50438),B=o(97414),k=o(79511),E=o(83559),j=o(83262),z=e=>{let{componentCls:t,menuCls:o,colorError:n,colorTextLightSolid:r}=e,l=`${o}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${o} ${l}`]:{[`&${l}-danger:not(${l}-disabled)`]:{color:n,"&:hover":{color:r,backgroundColor:n}}}}}};let H=e=>{let{componentCls:t,menuCls:o,zIndexPopup:n,dropdownArrowDistance:r,sizePopupArrow:l,antCls:i,iconCls:a,motionDurationMid:s,paddingBlock:d,fontSize:c,dropdownEdgeChildPadding:u,colorTextDisabled:m,fontSizeIcon:p,controlPaddingHorizontal:g,colorBgElevated:b}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:n,display:"block","&::before":{position:"absolute",insetBlock:e.calc(l).div(2).sub(r).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${i}-btn`]:{[`& > ${a}-down, & > ${i}-btn-icon > ${a}-down`]:{fontSize:p}},[`${t}-wrap`]:{position:"relative",[`${i}-btn > ${a}-down`]:{fontSize:p},[`${a}-down::before`]:{transition:`transform ${s}`}},[`${t}-wrap-open`]:{[`${a}-down::before`]:{transform:"rotate(180deg)"}},[` &-hidden, &-menu-hidden, &-menu-submenu-hidden @@ -16,18 +16,18 @@ &${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottom, &${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:x.Uw},[`&${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topLeft, &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-top, - &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topRight`]:{animationName:x.ly}}},(0,B.ZP)(e,b,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${o}`]:{position:"relative",margin:0},[`${o}-submenu-popup`]:{position:"absolute",zIndex:n,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},(0,w.Wf)(e)),{[o]:Object.assign(Object.assign({padding:u,listStyleType:"none",backgroundColor:b,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},(0,w.Qy)(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${o}-item-group-title`]:{padding:`${(0,y.bf)(d)} ${(0,y.bf)(g)}`,color:e.colorTextDescription,transition:`all ${s}`},[`${o}-item`]:{position:"relative",display:"flex",alignItems:"center",whiteSpace:"nowrap"},[`${o}-item-icon`]:{minWidth:c,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${o}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${s}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${o}-item, ${o}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${(0,y.bf)(d)} ${(0,y.bf)(g)}`,color:e.colorText,fontWeight:"normal",fontSize:c,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${s}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},(0,w.Qy)(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:m,cursor:"not-allowed","&:hover":{color:m,backgroundColor:b,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,y.bf)(e.marginXXS)} 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:p,fontStyle:"normal"}}}),[`${o}-item-group-list`]:{margin:`0 ${(0,y.bf)(e.marginXS)}`,padding:0,listStyle:"none"},[`${o}-submenu-title`]:{paddingInlineEnd:e.calc(g).add(e.fontSizeSM).equal()},[`${o}-submenu-vertical`]:{position:"relative"},[`${o}-submenu${o}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:m,backgroundColor:b,cursor:"not-allowed"}},[`${o}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[(0,x.oN)(e,"slide-up"),(0,x.oN)(e,"slide-down"),(0,S.Fm)(e,"move-up"),(0,S.Fm)(e,"move-down"),(0,O._y)(e,"zoom-big")]]};var N=(0,E.I$)("Dropdown",e=>{let{marginXXS:t,sizePopupArrow:o,paddingXXS:n,componentCls:r}=e,l=(0,j.IX)(e,{menuCls:`${r}-menu`,dropdownArrowDistance:e.calc(o).div(2).add(t).equal(),dropdownEdgeChildPadding:n});return[H(l),z(l)]},e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},(0,B.wZ)({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),(0,k.w)(e)),{resetStyle:!1});let T=e=>{var t;let{menu:o,arrow:l,prefixCls:p,children:y,trigger:w,disabled:x,dropdownRender:S,getPopupContainer:O,overlayClassName:B,rootClassName:k,overlayStyle:E,open:j,onOpenChange:z,visible:H,onVisibleChange:T,mouseEnterDelay:Z=.15,mouseLeaveDelay:P=.1,autoAdjustOverflow:R=!0,placement:D="",overlay:M,transitionName:A}=e,{getPopupContainer:W,getPrefixCls:L,direction:X,dropdown:_}=n.useContext(f.E_);(0,b.ln)("Dropdown");let q=n.useMemo(()=>{let e=L();return void 0!==A?A:D.includes("top")?`${e}-slide-down`:`${e}-slide-up`},[L,D,A]),F=n.useMemo(()=>D?D.includes("Center")?D.slice(0,D.indexOf("Center")):D:"rtl"===X?"bottomRight":"bottomLeft",[D,X]),Y=L("dropdown",p),V=(0,v.Z)(Y),[G,J,Q]=N(Y,V),[,U]=(0,C.ZP)(),K=n.Children.only(y),ee=(0,g.Tm)(K,{className:i()(`${Y}-trigger`,{[`${Y}-rtl`]:"rtl"===X},K.props.className),disabled:null!==(t=K.props.disabled)&&void 0!==t?t:x}),et=x?[]:w,eo=!!(null==et?void 0:et.includes("contextMenu")),[en,er]=(0,d.Z)(!1,{value:null!=j?j:H}),el=(0,s.zX)(e=>{null==z||z(e,{source:"trigger"}),null==T||T(e),er(e)}),ei=i()(B,k,J,Q,V,null==_?void 0:_.className,{[`${Y}-rtl`]:"rtl"===X}),ea=(0,m.Z)({arrowPointAtCenter:"object"==typeof l&&l.pointAtCenter,autoAdjustOverflow:R,offset:U.marginXXS,arrowWidth:l?U.sizePopupArrow:0,borderRadius:U.borderRadius}),es=n.useCallback(()=>{null!=o&&o.selectable&&null!=o&&o.multiple||(null==z||z(!1,{source:"menu"}),er(!1))},[null==o?void 0:o.selectable,null==o?void 0:o.multiple]),[ed,ec]=(0,u.Cn)("Dropdown",null==E?void 0:E.zIndex),eu=n.createElement(a.Z,Object.assign({alignPoint:eo},(0,c.Z)(e,["rootClassName"]),{mouseEnterDelay:Z,mouseLeaveDelay:P,visible:en,builtinPlacements:ea,arrow:!!l,overlayClassName:ei,prefixCls:Y,getPopupContainer:O||W,transitionName:q,trigger:et,overlay:()=>{let e;return e=(null==o?void 0:o.items)?n.createElement(h.Z,Object.assign({},o)):"function"==typeof M?M():M,S&&(e=S(e)),e=n.Children.only("string"==typeof e?n.createElement("span",null,e):e),n.createElement(I.J,{prefixCls:`${Y}-menu`,rootClassName:i()(Q,V),expandIcon:n.createElement("span",{className:`${Y}-menu-submenu-arrow`},n.createElement(r.Z,{className:`${Y}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:es,validator:e=>{let{mode:t}=e}},e)},placement:F,onVisibleChange:el,overlayStyle:Object.assign(Object.assign(Object.assign({},null==_?void 0:_.style),E),{zIndex:ed})}),ee);return ed&&(eu=n.createElement($.Z.Provider,{value:ec},eu)),G(eu)},Z=(0,p.Z)(T,"dropdown",e=>e,function(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})});T._InternalPanelDoNotUseOrYouWillBeFired=e=>n.createElement(Z,Object.assign({},e),n.createElement("span",null));var P=T},85418:function(e,t,o){o.d(t,{Z:function(){return b}});var n=o(1203),r=o(67294),l=o(48001),i=o(93967),a=o.n(i),s=o(14726),d=o(53124),c=o(42075),u=o(4173),m=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o};let p=e=>{let{getPopupContainer:t,getPrefixCls:o,direction:i}=r.useContext(d.E_),{prefixCls:p,type:g="default",danger:b,disabled:$,loading:f,onClick:v,htmlType:h,children:I,className:C,menu:y,arrow:w,autoFocus:x,overlay:S,trigger:O,align:B,open:k,onOpenChange:E,placement:j,getPopupContainer:z,href:H,icon:N=r.createElement(l.Z,null),title:T,buttonsRender:Z=e=>e,mouseEnterDelay:P,mouseLeaveDelay:R,overlayClassName:D,overlayStyle:M,destroyPopupOnHide:A,dropdownRender:W}=e,L=m(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"]),X=o("dropdown",p),_=`${X}-button`,q={menu:y,arrow:w,autoFocus:x,align:B,disabled:$,trigger:$?[]:O,onOpenChange:E,getPopupContainer:z||t,mouseEnterDelay:P,mouseLeaveDelay:R,overlayClassName:D,overlayStyle:M,destroyPopupOnHide:A,dropdownRender:W},{compactSize:F,compactItemClassnames:Y}=(0,u.ri)(X,i),V=a()(_,Y,C);"overlay"in e&&(q.overlay=S),"open"in e&&(q.open=k),"placement"in e?q.placement=j:q.placement="rtl"===i?"bottomLeft":"bottomRight";let G=r.createElement(s.ZP,{type:g,danger:b,disabled:$,loading:f,onClick:v,htmlType:h,href:H,title:T},I),J=r.createElement(s.ZP,{type:g,danger:b,icon:N}),[Q,U]=Z([G,J]);return r.createElement(c.Z.Compact,Object.assign({className:V,size:F,block:!0},L),Q,r.createElement(n.Z,Object.assign({},q),U))};p.__ANT_BUTTON=!0;let g=n.Z;g.Button=p;var b=g},48058:function(e,t,o){let n;o.d(t,{D:function(){return h},Z:function(){return y}});var r=o(67294),l=o(83963),i=o(3843),a=o(30672),s=r.forwardRef(function(e,t){return r.createElement(a.Z,(0,l.Z)({},e,{ref:t,icon:i.Z}))}),d=o(97454),c=o(62994),u=o(93967),m=o.n(u),p=o(98423),g=e=>!isNaN(parseFloat(e))&&isFinite(e),b=o(53124),$=o(82401),f=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o};let v={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},h=r.createContext({}),I=(n=0,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return`${e}${n+=1}`}),C=r.forwardRef((e,t)=>{let{prefixCls:o,className:n,trigger:l,children:i,defaultCollapsed:a=!1,theme:u="dark",style:C={},collapsible:y=!1,reverseArrow:w=!1,width:x=200,collapsedWidth:S=80,zeroWidthTriggerStyle:O,breakpoint:B,onCollapse:k,onBreakpoint:E}=e,j=f(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:z}=(0,r.useContext)($.V),[H,N]=(0,r.useState)("collapsed"in e?e.collapsed:a),[T,Z]=(0,r.useState)(!1);(0,r.useEffect)(()=>{"collapsed"in e&&N(e.collapsed)},[e.collapsed]);let P=(t,o)=>{"collapsed"in e||N(t),null==k||k(t,o)},R=(0,r.useRef)();R.current=e=>{Z(e.matches),null==E||E(e.matches),H!==e.matches&&P(e.matches,"responsive")},(0,r.useEffect)(()=>{let e;function t(e){return R.current(e)}if("undefined"!=typeof window){let{matchMedia:o}=window;if(o&&B&&B in v){e=o(`screen and (max-width: ${v[B]})`);try{e.addEventListener("change",t)}catch(o){e.addListener(t)}t(e)}}return()=>{try{null==e||e.removeEventListener("change",t)}catch(o){null==e||e.removeListener(t)}}},[B]),(0,r.useEffect)(()=>{let e=I("ant-sider-");return z.addSider(e),()=>z.removeSider(e)},[]);let D=()=>{P(!H,"clickTrigger")},{getPrefixCls:M}=(0,r.useContext)(b.E_),A=r.useMemo(()=>({siderCollapsed:H}),[H]);return r.createElement(h.Provider,{value:A},(()=>{let e=M("layout-sider",o),a=(0,p.Z)(j,["collapsed"]),b=H?S:x,$=g(b)?`${b}px`:String(b),f=0===parseFloat(String(S||0))?r.createElement("span",{onClick:D,className:m()(`${e}-zero-width-trigger`,`${e}-zero-width-trigger-${w?"right":"left"}`),style:O},l||r.createElement(s,null)):null,v={expanded:w?r.createElement(c.Z,null):r.createElement(d.Z,null),collapsed:w?r.createElement(d.Z,null):r.createElement(c.Z,null)},h=H?"collapsed":"expanded",I=v[h],B=null!==l?f||r.createElement("div",{className:`${e}-trigger`,onClick:D,style:{width:$}},l||I):null,k=Object.assign(Object.assign({},C),{flex:`0 0 ${$}`,maxWidth:$,minWidth:$,width:$}),E=m()(e,`${e}-${u}`,{[`${e}-collapsed`]:!!H,[`${e}-has-trigger`]:y&&null!==l&&!f,[`${e}-below`]:!!T,[`${e}-zero-width`]:0===parseFloat($)},n);return r.createElement("aside",Object.assign({className:E},a,{style:k,ref:t}),r.createElement("div",{className:`${e}-children`},i),y||T&&f?B:null)})())});var y=C},82401:function(e,t,o){o.d(t,{V:function(){return r}});var n=o(67294);let r=n.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},76529:function(e,t,o){o.d(t,{J:function(){return s}});var n=o(67294),r=o(56790),l=o(89942),i=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o};let a=n.createContext(null),s=n.forwardRef((e,t)=>{let{children:o}=e,s=i(e,["children"]),d=n.useContext(a),c=n.useMemo(()=>Object.assign(Object.assign({},d),s),[d,s.prefixCls,s.mode,s.selectable,s.rootClassName]),u=(0,r.t4)(o),m=(0,r.x1)(t,u?o.ref:null);return n.createElement(a.Provider,{value:c},n.createElement(l.Z,{space:!0},u?n.cloneElement(o,{ref:m}):o))});t.Z=a},50136:function(e,t,o){o.d(t,{Z:function(){return V}});var n=o(67294),r=o(72512),l=o(48058),i=o(48001),a=o(93967),s=o.n(a),d=o(56790),c=o(98423),u=o(33603),m=o(96159),p=o(53124),g=o(35792);let b=(0,n.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var $=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o},f=e=>{let{prefixCls:t,className:o,dashed:l}=e,i=$(e,["prefixCls","className","dashed"]),{getPrefixCls:a}=n.useContext(p.E_),d=a("menu",t),c=s()({[`${d}-item-divider-dashed`]:!!l},o);return n.createElement(r.iz,Object.assign({className:c},i))},v=o(50344),h=o(83062),I=e=>{var t;let{className:o,children:i,icon:a,title:d,danger:u}=e,{prefixCls:p,firstLevel:g,direction:$,disableMenuItemTitleTooltip:f,inlineCollapsed:I}=n.useContext(b),{siderCollapsed:C}=n.useContext(l.D),y=d;void 0===d?y=g?i:"":!1===d&&(y="");let w={title:y};C||I||(w.title=null,w.open=!1);let x=(0,v.Z)(i).length,S=n.createElement(r.ck,Object.assign({},(0,c.Z)(e,["title","icon","danger"]),{className:s()({[`${p}-item-danger`]:u,[`${p}-item-only-child`]:(a?x+1:x)===1},o),title:"string"==typeof d?d:void 0}),(0,m.Tm)(a,{className:s()(n.isValidElement(a)?null===(t=a.props)||void 0===t?void 0:t.className:"",`${p}-item-icon`)}),(e=>{let t=n.createElement("span",{className:`${p}-title-content`},i);return(!a||n.isValidElement(i)&&"span"===i.type)&&i&&e&&g&&"string"==typeof i?n.createElement("div",{className:`${p}-inline-collapsed-noicon`},i.charAt(0)):t})(I));return f||(S=n.createElement(h.Z,Object.assign({},w,{placement:"rtl"===$?"left":"right",overlayClassName:`${p}-inline-collapsed-tooltip`}),S)),S},C=o(76529),y=o(47648),w=o(10274),x=o(14747),S=o(33507),O=o(67771),B=o(50438),k=o(83559),E=o(87893),j=e=>{let{componentCls:t,motionDurationSlow:o,horizontalLineHeight:n,colorSplit:r,lineWidth:l,lineType:i,itemPaddingInline:a}=e;return{[`${t}-horizontal`]:{lineHeight:n,border:0,borderBottom:`${(0,y.bf)(l)} ${i} ${r}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:a},[`> ${t}-item:hover, + &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topRight`]:{animationName:x.ly}}},(0,B.ZP)(e,b,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${o}`]:{position:"relative",margin:0},[`${o}-submenu-popup`]:{position:"absolute",zIndex:n,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},(0,w.Wf)(e)),{[o]:Object.assign(Object.assign({padding:u,listStyleType:"none",backgroundColor:b,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},(0,w.Qy)(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${o}-item-group-title`]:{padding:`${(0,y.bf)(d)} ${(0,y.bf)(g)}`,color:e.colorTextDescription,transition:`all ${s}`},[`${o}-item`]:{position:"relative",display:"flex",alignItems:"center",whiteSpace:"nowrap"},[`${o}-item-icon`]:{minWidth:c,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${o}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${s}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${o}-item, ${o}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${(0,y.bf)(d)} ${(0,y.bf)(g)}`,color:e.colorText,fontWeight:"normal",fontSize:c,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${s}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},(0,w.Qy)(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:m,cursor:"not-allowed","&:hover":{color:m,backgroundColor:b,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,y.bf)(e.marginXXS)} 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:p,fontStyle:"normal"}}}),[`${o}-item-group-list`]:{margin:`0 ${(0,y.bf)(e.marginXS)}`,padding:0,listStyle:"none"},[`${o}-submenu-title`]:{paddingInlineEnd:e.calc(g).add(e.fontSizeSM).equal()},[`${o}-submenu-vertical`]:{position:"relative"},[`${o}-submenu${o}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:m,backgroundColor:b,cursor:"not-allowed"}},[`${o}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[(0,x.oN)(e,"slide-up"),(0,x.oN)(e,"slide-down"),(0,S.Fm)(e,"move-up"),(0,S.Fm)(e,"move-down"),(0,O._y)(e,"zoom-big")]]};var N=(0,E.I$)("Dropdown",e=>{let{marginXXS:t,sizePopupArrow:o,paddingXXS:n,componentCls:r}=e,l=(0,j.IX)(e,{menuCls:`${r}-menu`,dropdownArrowDistance:e.calc(o).div(2).add(t).equal(),dropdownEdgeChildPadding:n});return[H(l),z(l)]},e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},(0,B.wZ)({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),(0,k.w)(e)),{resetStyle:!1});let T=e=>{var t;let{menu:o,arrow:l,prefixCls:p,children:y,trigger:w,disabled:x,dropdownRender:S,getPopupContainer:O,overlayClassName:B,rootClassName:k,overlayStyle:E,open:j,onOpenChange:z,visible:H,onVisibleChange:T,mouseEnterDelay:P=.15,mouseLeaveDelay:R=.1,autoAdjustOverflow:Z=!0,placement:D="",overlay:M,transitionName:A}=e,{getPopupContainer:W,getPrefixCls:L,direction:X,dropdown:_}=n.useContext(f.E_);(0,b.ln)("Dropdown");let q=n.useMemo(()=>{let e=L();return void 0!==A?A:D.includes("top")?`${e}-slide-down`:`${e}-slide-up`},[L,D,A]),F=n.useMemo(()=>D?D.includes("Center")?D.slice(0,D.indexOf("Center")):D:"rtl"===X?"bottomRight":"bottomLeft",[D,X]),Y=L("dropdown",p),V=(0,v.Z)(Y),[G,J,Q]=N(Y,V),[,U]=(0,C.ZP)(),K=n.Children.only(y),ee=(0,g.Tm)(K,{className:i()(`${Y}-trigger`,{[`${Y}-rtl`]:"rtl"===X},K.props.className),disabled:null!==(t=K.props.disabled)&&void 0!==t?t:x}),et=x?[]:w,eo=!!(null==et?void 0:et.includes("contextMenu")),[en,er]=(0,d.Z)(!1,{value:null!=j?j:H}),el=(0,s.zX)(e=>{null==z||z(e,{source:"trigger"}),null==T||T(e),er(e)}),ei=i()(B,k,J,Q,V,null==_?void 0:_.className,{[`${Y}-rtl`]:"rtl"===X}),ea=(0,m.Z)({arrowPointAtCenter:"object"==typeof l&&l.pointAtCenter,autoAdjustOverflow:Z,offset:U.marginXXS,arrowWidth:l?U.sizePopupArrow:0,borderRadius:U.borderRadius}),es=n.useCallback(()=>{null!=o&&o.selectable&&null!=o&&o.multiple||(null==z||z(!1,{source:"menu"}),er(!1))},[null==o?void 0:o.selectable,null==o?void 0:o.multiple]),[ed,ec]=(0,u.Cn)("Dropdown",null==E?void 0:E.zIndex),eu=n.createElement(a.Z,Object.assign({alignPoint:eo},(0,c.Z)(e,["rootClassName"]),{mouseEnterDelay:P,mouseLeaveDelay:R,visible:en,builtinPlacements:ea,arrow:!!l,overlayClassName:ei,prefixCls:Y,getPopupContainer:O||W,transitionName:q,trigger:et,overlay:()=>{let e;return e=(null==o?void 0:o.items)?n.createElement(h.Z,Object.assign({},o)):"function"==typeof M?M():M,S&&(e=S(e)),e=n.Children.only("string"==typeof e?n.createElement("span",null,e):e),n.createElement(I.J,{prefixCls:`${Y}-menu`,rootClassName:i()(Q,V),expandIcon:n.createElement("span",{className:`${Y}-menu-submenu-arrow`},n.createElement(r.Z,{className:`${Y}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:es,validator:e=>{let{mode:t}=e}},e)},placement:F,onVisibleChange:el,overlayStyle:Object.assign(Object.assign(Object.assign({},null==_?void 0:_.style),E),{zIndex:ed})}),ee);return ed&&(eu=n.createElement($.Z.Provider,{value:ec},eu)),G(eu)},P=(0,p.Z)(T,"dropdown",e=>e,function(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})});T._InternalPanelDoNotUseOrYouWillBeFired=e=>n.createElement(P,Object.assign({},e),n.createElement("span",null));var R=T},85418:function(e,t,o){o.d(t,{Z:function(){return b}});var n=o(1203),r=o(67294),l=o(89705),i=o(93967),a=o.n(i),s=o(14726),d=o(53124),c=o(42075),u=o(4173),m=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o};let p=e=>{let{getPopupContainer:t,getPrefixCls:o,direction:i}=r.useContext(d.E_),{prefixCls:p,type:g="default",danger:b,disabled:$,loading:f,onClick:v,htmlType:h,children:I,className:C,menu:y,arrow:w,autoFocus:x,overlay:S,trigger:O,align:B,open:k,onOpenChange:E,placement:j,getPopupContainer:z,href:H,icon:N=r.createElement(l.Z,null),title:T,buttonsRender:P=e=>e,mouseEnterDelay:R,mouseLeaveDelay:Z,overlayClassName:D,overlayStyle:M,destroyPopupOnHide:A,dropdownRender:W}=e,L=m(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"]),X=o("dropdown",p),_=`${X}-button`,q={menu:y,arrow:w,autoFocus:x,align:B,disabled:$,trigger:$?[]:O,onOpenChange:E,getPopupContainer:z||t,mouseEnterDelay:R,mouseLeaveDelay:Z,overlayClassName:D,overlayStyle:M,destroyPopupOnHide:A,dropdownRender:W},{compactSize:F,compactItemClassnames:Y}=(0,u.ri)(X,i),V=a()(_,Y,C);"overlay"in e&&(q.overlay=S),"open"in e&&(q.open=k),"placement"in e?q.placement=j:q.placement="rtl"===i?"bottomLeft":"bottomRight";let G=r.createElement(s.ZP,{type:g,danger:b,disabled:$,loading:f,onClick:v,htmlType:h,href:H,title:T},I),J=r.createElement(s.ZP,{type:g,danger:b,icon:N}),[Q,U]=P([G,J]);return r.createElement(c.Z.Compact,Object.assign({className:V,size:F,block:!0},L),Q,r.createElement(n.Z,Object.assign({},q),U))};p.__ANT_BUTTON=!0;let g=n.Z;g.Button=p;var b=g},5210:function(e,t,o){let n;o.d(t,{D:function(){return $},Z:function(){return h}});var r=o(67294),l=o(13728),i=o(6171),a=o(18073),s=o(93967),d=o.n(s),c=o(98423),u=e=>!isNaN(parseFloat(e))&&isFinite(e),m=o(53124),p=o(82401),g=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o};let b={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},$=r.createContext({}),f=(n=0,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return`${e}${n+=1}`}),v=r.forwardRef((e,t)=>{let{prefixCls:o,className:n,trigger:s,children:v,defaultCollapsed:h=!1,theme:I="dark",style:C={},collapsible:y=!1,reverseArrow:w=!1,width:x=200,collapsedWidth:S=80,zeroWidthTriggerStyle:O,breakpoint:B,onCollapse:k,onBreakpoint:E}=e,j=g(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:z}=(0,r.useContext)(p.V),[H,N]=(0,r.useState)("collapsed"in e?e.collapsed:h),[T,P]=(0,r.useState)(!1);(0,r.useEffect)(()=>{"collapsed"in e&&N(e.collapsed)},[e.collapsed]);let R=(t,o)=>{"collapsed"in e||N(t),null==k||k(t,o)},Z=(0,r.useRef)();Z.current=e=>{P(e.matches),null==E||E(e.matches),H!==e.matches&&R(e.matches,"responsive")},(0,r.useEffect)(()=>{let e;function t(e){return Z.current(e)}if("undefined"!=typeof window){let{matchMedia:o}=window;if(o&&B&&B in b){e=o(`screen and (max-width: ${b[B]})`);try{e.addEventListener("change",t)}catch(o){e.addListener(t)}t(e)}}return()=>{try{null==e||e.removeEventListener("change",t)}catch(o){null==e||e.removeListener(t)}}},[B]),(0,r.useEffect)(()=>{let e=f("ant-sider-");return z.addSider(e),()=>z.removeSider(e)},[]);let D=()=>{R(!H,"clickTrigger")},{getPrefixCls:M}=(0,r.useContext)(m.E_),A=r.useMemo(()=>({siderCollapsed:H}),[H]);return r.createElement($.Provider,{value:A},(()=>{let e=M("layout-sider",o),m=(0,c.Z)(j,["collapsed"]),p=H?S:x,g=u(p)?`${p}px`:String(p),b=0===parseFloat(String(S||0))?r.createElement("span",{onClick:D,className:d()(`${e}-zero-width-trigger`,`${e}-zero-width-trigger-${w?"right":"left"}`),style:O},s||r.createElement(l.Z,null)):null,$={expanded:w?r.createElement(a.Z,null):r.createElement(i.Z,null),collapsed:w?r.createElement(i.Z,null):r.createElement(a.Z,null)},f=H?"collapsed":"expanded",h=$[f],B=null!==s?b||r.createElement("div",{className:`${e}-trigger`,onClick:D,style:{width:g}},s||h):null,k=Object.assign(Object.assign({},C),{flex:`0 0 ${g}`,maxWidth:g,minWidth:g,width:g}),E=d()(e,`${e}-${I}`,{[`${e}-collapsed`]:!!H,[`${e}-has-trigger`]:y&&null!==s&&!b,[`${e}-below`]:!!T,[`${e}-zero-width`]:0===parseFloat(g)},n);return r.createElement("aside",Object.assign({className:E},m,{style:k,ref:t}),r.createElement("div",{className:`${e}-children`},v),y||T&&b?B:null)})())});var h=v},82401:function(e,t,o){o.d(t,{V:function(){return r}});var n=o(67294);let r=n.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},76529:function(e,t,o){o.d(t,{J:function(){return s}});var n=o(67294),r=o(56790),l=o(89942),i=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o};let a=n.createContext(null),s=n.forwardRef((e,t)=>{let{children:o}=e,s=i(e,["children"]),d=n.useContext(a),c=n.useMemo(()=>Object.assign(Object.assign({},d),s),[d,s.prefixCls,s.mode,s.selectable,s.rootClassName]),u=(0,r.t4)(o),m=(0,r.x1)(t,u?o.ref:null);return n.createElement(a.Provider,{value:c},n.createElement(l.Z,{space:!0},u?n.cloneElement(o,{ref:m}):o))});t.Z=a},50136:function(e,t,o){o.d(t,{Z:function(){return V}});var n=o(67294),r=o(72512),l=o(5210),i=o(89705),a=o(93967),s=o.n(a),d=o(56790),c=o(98423),u=o(33603),m=o(96159),p=o(53124),g=o(35792);let b=(0,n.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var $=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o},f=e=>{let{prefixCls:t,className:o,dashed:l}=e,i=$(e,["prefixCls","className","dashed"]),{getPrefixCls:a}=n.useContext(p.E_),d=a("menu",t),c=s()({[`${d}-item-divider-dashed`]:!!l},o);return n.createElement(r.iz,Object.assign({className:c},i))},v=o(50344),h=o(83062),I=e=>{var t;let{className:o,children:i,icon:a,title:d,danger:u}=e,{prefixCls:p,firstLevel:g,direction:$,disableMenuItemTitleTooltip:f,inlineCollapsed:I}=n.useContext(b),{siderCollapsed:C}=n.useContext(l.D),y=d;void 0===d?y=g?i:"":!1===d&&(y="");let w={title:y};C||I||(w.title=null,w.open=!1);let x=(0,v.Z)(i).length,S=n.createElement(r.ck,Object.assign({},(0,c.Z)(e,["title","icon","danger"]),{className:s()({[`${p}-item-danger`]:u,[`${p}-item-only-child`]:(a?x+1:x)===1},o),title:"string"==typeof d?d:void 0}),(0,m.Tm)(a,{className:s()(n.isValidElement(a)?null===(t=a.props)||void 0===t?void 0:t.className:"",`${p}-item-icon`)}),(e=>{let t=n.createElement("span",{className:`${p}-title-content`},i);return(!a||n.isValidElement(i)&&"span"===i.type)&&i&&e&&g&&"string"==typeof i?n.createElement("div",{className:`${p}-inline-collapsed-noicon`},i.charAt(0)):t})(I));return f||(S=n.createElement(h.Z,Object.assign({},w,{placement:"rtl"===$?"left":"right",overlayClassName:`${p}-inline-collapsed-tooltip`}),S)),S},C=o(76529),y=o(25446),w=o(10274),x=o(14747),S=o(33507),O=o(67771),B=o(50438),k=o(83559),E=o(83262),j=e=>{let{componentCls:t,motionDurationSlow:o,horizontalLineHeight:n,colorSplit:r,lineWidth:l,lineType:i,itemPaddingInline:a}=e;return{[`${t}-horizontal`]:{lineHeight:n,border:0,borderBottom:`${(0,y.bf)(l)} ${i} ${r}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:a},[`> ${t}-item:hover, > ${t}-item-active, > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:`border-color ${o},background ${o}`},[`${t}-submenu-arrow`]:{display:"none"}}}},z=e=>{let{componentCls:t,menuArrowOffset:o,calc: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(${(0,y.bf)(n(o).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,y.bf)(o)})`}}}}};let H=e=>Object.assign({},(0,x.oN)(e));var N=(e,t)=>{let{componentCls:o,itemColor:n,itemSelectedColor:r,groupTitleColor:l,itemBg:i,subMenuItemBg:a,itemSelectedBg:s,activeBarHeight:d,activeBarWidth:c,activeBarBorderWidth:u,motionDurationSlow:m,motionEaseInOut:p,motionEaseOut:g,itemPaddingInline:b,motionDurationMid:$,itemHoverColor:f,lineType:v,colorSplit:h,itemDisabledColor:I,dangerItemColor:C,dangerItemHoverColor:w,dangerItemSelectedColor:x,dangerItemActiveBg:S,dangerItemSelectedBg:O,popupBg:B,itemHoverBg:k,itemActiveBg:E,menuSubMenuBg:j,horizontalItemSelectedColor:z,horizontalItemSelectedBg:N,horizontalItemBorderRadius:T,horizontalItemHoverBg:Z}=e;return{[`${o}-${t}, ${o}-${t} > ${o}`]:{color:n,background:i,[`&${o}-root:focus-visible`]:Object.assign({},H(e)),[`${o}-item-group-title`]:{color:l},[`${o}-submenu-selected`]:{[`> ${o}-submenu-title`]:{color:r}},[`${o}-item, ${o}-submenu-title`]:{color:n,[`&:not(${o}-item-disabled):focus-visible`]:Object.assign({},H(e))},[`${o}-item-disabled, ${o}-submenu-disabled`]:{color:`${I} !important`},[`${o}-item:not(${o}-item-selected):not(${o}-submenu-selected)`]:{[`&:hover, > ${o}-submenu-title:hover`]:{color:f}},[`&:not(${o}-horizontal)`]:{[`${o}-item:not(${o}-item-selected)`]:{"&:hover":{backgroundColor:k},"&:active":{backgroundColor:E}},[`${o}-submenu-title`]:{"&:hover":{backgroundColor:k},"&:active":{backgroundColor:E}}},[`${o}-item-danger`]:{color:C,[`&${o}-item:hover`]:{[`&:not(${o}-item-selected):not(${o}-submenu-selected)`]:{color:w}},[`&${o}-item:active`]:{background:S}},[`${o}-item a`]:{"&, &:hover":{color:"inherit"}},[`${o}-item-selected`]:{color:r,[`&${o}-item-danger`]:{color:x},"a, a:hover":{color:"inherit"}},[`& ${o}-item-selected`]:{backgroundColor:s,[`&${o}-item-danger`]:{backgroundColor:O}},[`&${o}-submenu > ${o}`]:{backgroundColor:j},[`&${o}-popup > ${o}`]:{backgroundColor:B},[`&${o}-submenu-popup > ${o}`]:{backgroundColor:B},[`&${o}-horizontal`]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{[`> ${o}-item, > ${o}-submenu`]:{top:u,marginTop:e.calc(u).mul(-1).equal(),marginBottom:0,borderRadius:T,"&::after":{position:"absolute",insetInline:b,bottom:0,borderBottom:`${(0,y.bf)(d)} solid transparent`,transition:`border-color ${m} ${p}`,content:'""'},"&:hover, &-active, &-open":{background:Z,"&::after":{borderBottomWidth:d,borderBottomColor:z}},"&-selected":{color:z,backgroundColor:N,"&:hover":{backgroundColor:N},"&::after":{borderBottomWidth:d,borderBottomColor:z}}}}),[`&${o}-root`]:{[`&${o}-inline, &${o}-vertical`]:{borderInlineEnd:`${(0,y.bf)(u)} ${v} ${h}`}},[`&${o}-inline`]:{[`${o}-sub${o}-inline`]:{background:a},[`${o}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,y.bf)(c)} solid ${r}`,transform:"scaleY(0.0001)",opacity:0,transition:`transform ${$} ${g},opacity ${$} ${g}`,content:'""'},[`&${o}-item-danger`]:{"&::after":{borderInlineEndColor:x}}},[`${o}-selected, ${o}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:`transform ${$} ${p},opacity ${$} ${p}`}}}}}};let T=e=>{let{componentCls:t,itemHeight:o,itemMarginInline:n,padding:r,menuArrowSize:l,marginXS:i,itemMarginBlock:a,itemWidth:s}=e,d=e.calc(l).add(r).add(i).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:o,lineHeight:(0,y.bf)(o),paddingInline:r,overflow:"hidden",textOverflow:"ellipsis",marginInline:n,marginBlock:a,width:s},[`> ${t}-item, + ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,y.bf)(n(o).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,y.bf)(o)})`}}}}};let H=e=>Object.assign({},(0,x.oN)(e));var N=(e,t)=>{let{componentCls:o,itemColor:n,itemSelectedColor:r,groupTitleColor:l,itemBg:i,subMenuItemBg:a,itemSelectedBg:s,activeBarHeight:d,activeBarWidth:c,activeBarBorderWidth:u,motionDurationSlow:m,motionEaseInOut:p,motionEaseOut:g,itemPaddingInline:b,motionDurationMid:$,itemHoverColor:f,lineType:v,colorSplit:h,itemDisabledColor:I,dangerItemColor:C,dangerItemHoverColor:w,dangerItemSelectedColor:x,dangerItemActiveBg:S,dangerItemSelectedBg:O,popupBg:B,itemHoverBg:k,itemActiveBg:E,menuSubMenuBg:j,horizontalItemSelectedColor:z,horizontalItemSelectedBg:N,horizontalItemBorderRadius:T,horizontalItemHoverBg:P}=e;return{[`${o}-${t}, ${o}-${t} > ${o}`]:{color:n,background:i,[`&${o}-root:focus-visible`]:Object.assign({},H(e)),[`${o}-item-group-title`]:{color:l},[`${o}-submenu-selected`]:{[`> ${o}-submenu-title`]:{color:r}},[`${o}-item, ${o}-submenu-title`]:{color:n,[`&:not(${o}-item-disabled):focus-visible`]:Object.assign({},H(e))},[`${o}-item-disabled, ${o}-submenu-disabled`]:{color:`${I} !important`},[`${o}-item:not(${o}-item-selected):not(${o}-submenu-selected)`]:{[`&:hover, > ${o}-submenu-title:hover`]:{color:f}},[`&:not(${o}-horizontal)`]:{[`${o}-item:not(${o}-item-selected)`]:{"&:hover":{backgroundColor:k},"&:active":{backgroundColor:E}},[`${o}-submenu-title`]:{"&:hover":{backgroundColor:k},"&:active":{backgroundColor:E}}},[`${o}-item-danger`]:{color:C,[`&${o}-item:hover`]:{[`&:not(${o}-item-selected):not(${o}-submenu-selected)`]:{color:w}},[`&${o}-item:active`]:{background:S}},[`${o}-item a`]:{"&, &:hover":{color:"inherit"}},[`${o}-item-selected`]:{color:r,[`&${o}-item-danger`]:{color:x},"a, a:hover":{color:"inherit"}},[`& ${o}-item-selected`]:{backgroundColor:s,[`&${o}-item-danger`]:{backgroundColor:O}},[`&${o}-submenu > ${o}`]:{backgroundColor:j},[`&${o}-popup > ${o}`]:{backgroundColor:B},[`&${o}-submenu-popup > ${o}`]:{backgroundColor:B},[`&${o}-horizontal`]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{[`> ${o}-item, > ${o}-submenu`]:{top:u,marginTop:e.calc(u).mul(-1).equal(),marginBottom:0,borderRadius:T,"&::after":{position:"absolute",insetInline:b,bottom:0,borderBottom:`${(0,y.bf)(d)} solid transparent`,transition:`border-color ${m} ${p}`,content:'""'},"&:hover, &-active, &-open":{background:P,"&::after":{borderBottomWidth:d,borderBottomColor:z}},"&-selected":{color:z,backgroundColor:N,"&:hover":{backgroundColor:N},"&::after":{borderBottomWidth:d,borderBottomColor:z}}}}),[`&${o}-root`]:{[`&${o}-inline, &${o}-vertical`]:{borderInlineEnd:`${(0,y.bf)(u)} ${v} ${h}`}},[`&${o}-inline`]:{[`${o}-sub${o}-inline`]:{background:a},[`${o}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,y.bf)(c)} solid ${r}`,transform:"scaleY(0.0001)",opacity:0,transition:`transform ${$} ${g},opacity ${$} ${g}`,content:'""'},[`&${o}-item-danger`]:{"&::after":{borderInlineEndColor:x}}},[`${o}-selected, ${o}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:`transform ${$} ${p},opacity ${$} ${p}`}}}}}};let T=e=>{let{componentCls:t,itemHeight:o,itemMarginInline:n,padding:r,menuArrowSize:l,marginXS:i,itemMarginBlock:a,itemWidth:s}=e,d=e.calc(l).add(r).add(i).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:o,lineHeight:(0,y.bf)(o),paddingInline:r,overflow:"hidden",textOverflow:"ellipsis",marginInline:n,marginBlock:a,width:s},[`> ${t}-item, > ${t}-submenu > ${t}-submenu-title`]:{height:o,lineHeight:(0,y.bf)(o)},[`${t}-item-group-list ${t}-submenu-title, - ${t}-submenu-title`]:{paddingInlineEnd:d}}};var Z=e=>{let{componentCls:t,iconCls:o,itemHeight:n,colorTextLightSolid:r,dropdownWidth:l,controlHeightLG:i,motionDurationMid:a,motionEaseOut:s,paddingXL:d,itemMarginInline:c,fontSizeLG:u,motionDurationSlow:m,paddingXS:p,boxShadowSecondary:g,collapsedWidth:b,collapsedIconSize:$}=e,f={height:n,lineHeight:(0,y.bf)(n),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},T(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},T(e)),{boxShadow:g})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:l,maxHeight:`calc(100vh - ${(0,y.bf)(e.calc(i).mul(2.5).equal())})`,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 ${m},background ${m},padding ${a} ${s},padding-inline calc(50% - ${(0,y.bf)(e.calc(u).div(2).equal())} - ${(0,y.bf)(c)})`,[`> ${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`]:f,[`& ${t}-item-group-title`]:{paddingInlineStart:d}},[`${t}-item`]:f}},{[`${t}-inline-collapsed`]:{width:b,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:u,textAlign:"center"}}},[`> ${t}-item, + ${t}-submenu-title`]:{paddingInlineEnd:d}}};var P=e=>{let{componentCls:t,iconCls:o,itemHeight:n,colorTextLightSolid:r,dropdownWidth:l,controlHeightLG:i,motionDurationMid:a,motionEaseOut:s,paddingXL:d,itemMarginInline:c,fontSizeLG:u,motionDurationSlow:m,paddingXS:p,boxShadowSecondary:g,collapsedWidth:b,collapsedIconSize:$}=e,f={height:n,lineHeight:(0,y.bf)(n),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},T(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},T(e)),{boxShadow:g})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:l,maxHeight:`calc(100vh - ${(0,y.bf)(e.calc(i).mul(2.5).equal())})`,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 ${m},background ${m},padding ${a} ${s},padding-inline calc(50% - ${(0,y.bf)(e.calc(u).div(2).equal())} - ${(0,y.bf)(c)})`,[`> ${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`]:f,[`& ${t}-item-group-title`]:{paddingInlineStart:d}},[`${t}-item`]:f}},{[`${t}-inline-collapsed`]:{width:b,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:u,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% - ${(0,y.bf)(e.calc(u).div(2).equal())} - ${(0,y.bf)(c)})`,textOverflow:"clip",[` ${t}-submenu-arrow, ${t}-submenu-expand-icon - `]:{opacity:0},[`${t}-item-icon, ${o}`]:{margin:0,fontSize:$,lineHeight:(0,y.bf)(n),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${o}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${o}`]:{display:"none"},"a, a:hover":{color:r}},[`${t}-item-group-title`]:Object.assign(Object.assign({},x.vS),{paddingInline:p})}}]};let P=e=>{let{componentCls:t,motionDurationSlow:o,motionDurationMid:n,motionEaseInOut:r,motionEaseOut:l,iconCls:i,iconSize:a,iconMarginInlineEnd:s}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:`border-color ${o},background ${o},padding ${o} ${r}`,[`${t}-item-icon, ${i}`]:{minWidth:a,fontSize:a,transition:`font-size ${n} ${l},margin ${o} ${r},color ${o}`,"+ span":{marginInlineStart:s,opacity:1,transition:`opacity ${o} ${r},margin ${o},color ${o}`}},[`${t}-item-icon`]:Object.assign({},(0,x.Ro)()),[`&${t}-item-only-child`]:{[`> ${i}, > ${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"}}}},R=e=>{let{componentCls:t,motionDurationSlow:o,motionEaseInOut:n,borderRadius:r,menuArrowSize:l,menuArrowOffset:i}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:l,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${o} ${n}, opacity ${o}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(l).mul(.6).equal(),height:e.calc(l).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:r,transition:`background ${o} ${n},transform ${o} ${n},top ${o} ${n},color ${o} ${n}`,content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,y.bf)(e.calc(i).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,y.bf)(i)})`}}}}},D=e=>{let{antCls:t,componentCls:o,fontSize:n,motionDurationSlow:r,motionDurationMid:l,motionEaseInOut:i,paddingXS:a,padding:s,colorSplit:d,lineWidth:c,zIndexPopup:u,borderRadiusLG:m,subMenuItemBorderRadius:p,menuArrowSize:g,menuArrowOffset:b,lineType:$,groupTitleLineHeight:f,groupTitleFontSize:v}=e;return[{"":{[o]:Object.assign(Object.assign({},(0,x.dF)()),{"&-hidden":{display:"none"}})},[`${o}-submenu-hidden`]:{display:"none"}},{[o]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,x.Wf)(e)),(0,x.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:n,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${r} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${o}-item`]:{flex:"none"}},[`${o}-item, ${o}-submenu, ${o}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${o}-item-group-title`]:{padding:`${(0,y.bf)(a)} ${(0,y.bf)(s)}`,fontSize:v,lineHeight:f,transition:`all ${r}`},[`&-horizontal ${o}-submenu`]:{transition:`border-color ${r} ${i},background ${r} ${i}`},[`${o}-submenu, ${o}-submenu-inline`]:{transition:`border-color ${r} ${i},background ${r} ${i},padding ${l} ${i}`},[`${o}-submenu ${o}-sub`]:{cursor:"initial",transition:`background ${r} ${i},padding ${r} ${i}`},[`${o}-title-content`]:{transition:`color ${r}`,[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${o}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${o}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:d,borderStyle:$,borderWidth:0,borderTopWidth:c,marginBlock:c,padding:0,"&-dashed":{borderStyle:"dashed"}}}),P(e)),{[`${o}-item-group`]:{[`${o}-item-group-list`]:{margin:0,padding:0,[`${o}-item, ${o}-submenu-title`]:{paddingInline:`${(0,y.bf)(e.calc(n).mul(2).equal())} ${(0,y.bf)(s)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:u,borderRadius:m,boxShadow:"none",transformOrigin:"0 0",[`&${o}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${o}`]:Object.assign(Object.assign(Object.assign({borderRadius:m},P(e)),R(e)),{[`${o}-item, ${o}-submenu > ${o}-submenu-title`]:{borderRadius:p},[`${o}-submenu-title::after`]:{transition:`transform ${r} ${i}`}})},[` + `]:{opacity:0},[`${t}-item-icon, ${o}`]:{margin:0,fontSize:$,lineHeight:(0,y.bf)(n),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${o}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${o}`]:{display:"none"},"a, a:hover":{color:r}},[`${t}-item-group-title`]:Object.assign(Object.assign({},x.vS),{paddingInline:p})}}]};let R=e=>{let{componentCls:t,motionDurationSlow:o,motionDurationMid:n,motionEaseInOut:r,motionEaseOut:l,iconCls:i,iconSize:a,iconMarginInlineEnd:s}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:`border-color ${o},background ${o},padding ${o} ${r}`,[`${t}-item-icon, ${i}`]:{minWidth:a,fontSize:a,transition:`font-size ${n} ${l},margin ${o} ${r},color ${o}`,"+ span":{marginInlineStart:s,opacity:1,transition:`opacity ${o} ${r},margin ${o},color ${o}`}},[`${t}-item-icon`]:Object.assign({},(0,x.Ro)()),[`&${t}-item-only-child`]:{[`> ${i}, > ${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"}}}},Z=e=>{let{componentCls:t,motionDurationSlow:o,motionEaseInOut:n,borderRadius:r,menuArrowSize:l,menuArrowOffset:i}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:l,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${o} ${n}, opacity ${o}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(l).mul(.6).equal(),height:e.calc(l).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:r,transition:`background ${o} ${n},transform ${o} ${n},top ${o} ${n},color ${o} ${n}`,content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,y.bf)(e.calc(i).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,y.bf)(i)})`}}}}},D=e=>{let{antCls:t,componentCls:o,fontSize:n,motionDurationSlow:r,motionDurationMid:l,motionEaseInOut:i,paddingXS:a,padding:s,colorSplit:d,lineWidth:c,zIndexPopup:u,borderRadiusLG:m,subMenuItemBorderRadius:p,menuArrowSize:g,menuArrowOffset:b,lineType:$,groupTitleLineHeight:f,groupTitleFontSize:v}=e;return[{"":{[o]:Object.assign(Object.assign({},(0,x.dF)()),{"&-hidden":{display:"none"}})},[`${o}-submenu-hidden`]:{display:"none"}},{[o]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,x.Wf)(e)),(0,x.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:n,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${r} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${o}-item`]:{flex:"none"}},[`${o}-item, ${o}-submenu, ${o}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${o}-item-group-title`]:{padding:`${(0,y.bf)(a)} ${(0,y.bf)(s)}`,fontSize:v,lineHeight:f,transition:`all ${r}`},[`&-horizontal ${o}-submenu`]:{transition:`border-color ${r} ${i},background ${r} ${i}`},[`${o}-submenu, ${o}-submenu-inline`]:{transition:`border-color ${r} ${i},background ${r} ${i},padding ${l} ${i}`},[`${o}-submenu ${o}-sub`]:{cursor:"initial",transition:`background ${r} ${i},padding ${r} ${i}`},[`${o}-title-content`]:{transition:`color ${r}`,[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${o}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${o}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:d,borderStyle:$,borderWidth:0,borderTopWidth:c,marginBlock:c,padding:0,"&-dashed":{borderStyle:"dashed"}}}),R(e)),{[`${o}-item-group`]:{[`${o}-item-group-list`]:{margin:0,padding:0,[`${o}-item, ${o}-submenu-title`]:{paddingInline:`${(0,y.bf)(e.calc(n).mul(2).equal())} ${(0,y.bf)(s)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:u,borderRadius:m,boxShadow:"none",transformOrigin:"0 0",[`&${o}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${o}`]:Object.assign(Object.assign(Object.assign({borderRadius:m},R(e)),Z(e)),{[`${o}-item, ${o}-submenu > ${o}-submenu-title`]:{borderRadius:p},[`${o}-submenu-title::after`]:{transition:`transform ${r} ${i}`}})},[` &-placement-leftTop, &-placement-bottomRight, `]:{transformOrigin:"100% 0"},[` @@ -51,5 +51,5 @@ `]:{paddingBottom:e.paddingXS},[` &-placement-bottomRight, &-placement-bottomLeft - `]:{paddingTop:e.paddingXS}}}),R(e)),{[`&-inline-collapsed ${o}-submenu-arrow, - &-inline ${o}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,y.bf)(b)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,y.bf)(e.calc(b).mul(-1).equal())})`}},[`${o}-submenu-open${o}-submenu-inline > ${o}-submenu-title > ${o}-submenu-arrow`]:{transform:`translateY(${(0,y.bf)(e.calc(g).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,y.bf)(e.calc(b).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,y.bf)(b)})`}}})},{[`${t}-layout-header`]:{[o]:{lineHeight:"inherit"}}}]},M=e=>{var t,o,n;let{colorPrimary:r,colorError:l,colorTextDisabled:i,colorErrorBg:a,colorText:s,colorTextDescription:d,colorBgContainer:c,colorFillAlter:u,colorFillContent:m,lineWidth:p,lineWidthBold:g,controlItemBgActive:b,colorBgTextHover:$,controlHeightLG:f,lineHeight:v,colorBgElevated:h,marginXXS:I,padding:C,fontSize:y,controlHeightSM:x,fontSizeLG:S,colorTextLightSolid:O,colorErrorHover:B}=e,k=null!==(t=e.activeBarWidth)&&void 0!==t?t:0,E=null!==(o=e.activeBarBorderWidth)&&void 0!==o?o:p,j=null!==(n=e.itemMarginInline)&&void 0!==n?n:e.marginXXS,z=new w.C(O).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:s,itemColor:s,colorItemTextHover:s,itemHoverColor:s,colorItemTextHoverHorizontal:r,horizontalItemHoverColor:r,colorGroupTitle:d,groupTitleColor:d,colorItemTextSelected:r,itemSelectedColor:r,colorItemTextSelectedHorizontal:r,horizontalItemSelectedColor:r,colorItemBg:c,itemBg:c,colorItemBgHover:$,itemHoverBg:$,colorItemBgActive:m,itemActiveBg:b,colorSubItemBg:u,subMenuItemBg:u,colorItemBgSelected:b,itemSelectedBg:b,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:k,colorActiveBarHeight:g,activeBarHeight:g,colorActiveBarBorderSize:p,activeBarBorderWidth:E,colorItemTextDisabled:i,itemDisabledColor:i,colorDangerItemText:l,dangerItemColor:l,colorDangerItemTextHover:l,dangerItemHoverColor:l,colorDangerItemTextSelected:l,dangerItemSelectedColor:l,colorDangerItemBgActive:a,dangerItemActiveBg:a,colorDangerItemBgSelected:a,dangerItemSelectedBg:a,itemMarginInline:j,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:f,groupTitleLineHeight:v,collapsedWidth:2*f,popupBg:h,itemMarginBlock:I,itemPaddingInline:C,horizontalLineHeight:`${1.15*f}px`,iconSize:y,iconMarginInlineEnd:x-y,collapsedIconSize:S,groupTitleFontSize:y,darkItemDisabledColor:new w.C(O).setAlpha(.25).toRgbString(),darkItemColor:z,darkDangerItemColor:l,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:O,darkItemSelectedBg:r,darkDangerItemSelectedBg:l,darkItemHoverBg:"transparent",darkGroupTitleColor:z,darkItemHoverColor:O,darkDangerItemHoverColor:B,darkDangerItemSelectedColor:O,darkDangerItemActiveBg:l,itemWidth:k?`calc(100% + ${E}px)`:`calc(100% - ${2*j}px)`}};var A=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=(0,k.I$)("Menu",e=>{let{colorBgElevated:t,controlHeightLG:o,fontSize:n,darkItemColor:r,darkDangerItemColor:l,darkItemBg:i,darkSubMenuItemBg:a,darkItemSelectedColor:s,darkItemSelectedBg:d,darkDangerItemSelectedBg:c,darkItemHoverBg:u,darkGroupTitleColor:m,darkItemHoverColor:p,darkItemDisabledColor:g,darkDangerItemHoverColor:b,darkDangerItemSelectedColor:$,darkDangerItemActiveBg:f,popupBg:v,darkPopupBg:h}=e,I=e.calc(n).div(7).mul(5).equal(),C=(0,E.IX)(e,{menuArrowSize:I,menuHorizontalHeight:e.calc(o).mul(1.15).equal(),menuArrowOffset:e.calc(I).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:v}),y=(0,E.IX)(C,{itemColor:r,itemHoverColor:p,groupTitleColor:m,itemSelectedColor:s,itemBg:i,popupBg:h,subMenuItemBg:a,itemActiveBg:"transparent",itemSelectedBg:d,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:u,itemDisabledColor:g,dangerItemColor:l,dangerItemHoverColor:b,dangerItemSelectedColor:$,dangerItemActiveBg:f,dangerItemSelectedBg:c,menuSubMenuBg:a,horizontalItemSelectedColor:s,horizontalItemSelectedBg:d});return[D(C),j(C),Z(C),N(C,"light"),N(y,"dark"),z(C),(0,S.Z)(C),(0,O.oN)(C,"slide-up"),(0,O.oN)(C,"slide-down"),(0,B._y)(C,"zoom-big")]},M,{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"]],injectStyle:o,unitless:{groupTitleLineHeight:!0}});return n(e,t)},W=o(87263),L=e=>{var t;let o;let{popupClassName:l,icon:i,title:a,theme:d}=e,u=n.useContext(b),{prefixCls:p,inlineCollapsed:g,theme:$}=u,f=(0,r.Xl)();if(i){let e=n.isValidElement(a)&&"span"===a.type;o=n.createElement(n.Fragment,null,(0,m.Tm)(i,{className:s()(n.isValidElement(i)?null===(t=i.props)||void 0===t?void 0:t.className:"",`${p}-item-icon`)}),e?a:n.createElement("span",{className:`${p}-title-content`},a))}else o=g&&!f.length&&a&&"string"==typeof a?n.createElement("div",{className:`${p}-inline-collapsed-noicon`},a.charAt(0)):n.createElement("span",{className:`${p}-title-content`},a);let v=n.useMemo(()=>Object.assign(Object.assign({},u),{firstLevel:!1}),[u]),[h]=(0,W.Cn)("Menu");return n.createElement(b.Provider,{value:v},n.createElement(r.Wd,Object.assign({},(0,c.Z)(e,["icon"]),{title:o,popupClassName:s()(p,l,`${p}-${d||$}`),popupStyle:{zIndex:h}})))},X=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o};function _(e){return null===e||!1===e}let q={item:I,submenu:L,divider:f},F=(0,n.forwardRef)((e,t)=>{var o;let l=n.useContext(C.Z),a=l||{},{getPrefixCls:$,getPopupContainer:f,direction:v,menu:h}=n.useContext(p.E_),I=$(),{prefixCls:y,className:w,style:x,theme:S="light",expandIcon:O,_internalDisableMenuItemTitleTooltip:B,inlineCollapsed:k,siderCollapsed:E,rootClassName:j,mode:z,selectable:H,onClick:N,overflowedIndicatorPopupClassName:T}=e,Z=X(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),P=(0,c.Z)(Z,["collapsedWidth"]);null===(o=a.validator)||void 0===o||o.call(a,{mode:z});let R=(0,d.zX)(function(){var e;null==N||N.apply(void 0,arguments),null===(e=a.onClick)||void 0===e||e.call(a)}),D=a.mode||z,M=null!=H?H:a.selectable,W=n.useMemo(()=>void 0!==E?E:k,[k,E]),L={horizontal:{motionName:`${I}-slide-up`},inline:(0,u.Z)(I),other:{motionName:`${I}-zoom-big`}},F=$("menu",y||a.prefixCls),Y=(0,g.Z)(F),[V,G,J]=A(F,Y,!l),Q=s()(`${F}-${S}`,null==h?void 0:h.className,w),U=n.useMemo(()=>{var e,t;if("function"==typeof O||_(O))return O||null;if("function"==typeof a.expandIcon||_(a.expandIcon))return a.expandIcon||null;if("function"==typeof(null==h?void 0:h.expandIcon)||_(null==h?void 0:h.expandIcon))return(null==h?void 0:h.expandIcon)||null;let o=null!==(e=null!=O?O:null==a?void 0:a.expandIcon)&&void 0!==e?e:null==h?void 0:h.expandIcon;return(0,m.Tm)(o,{className:s()(`${F}-submenu-expand-icon`,n.isValidElement(o)?null===(t=o.props)||void 0===t?void 0:t.className:void 0)})},[O,null==a?void 0:a.expandIcon,null==h?void 0:h.expandIcon,F]),K=n.useMemo(()=>({prefixCls:F,inlineCollapsed:W||!1,direction:v,firstLevel:!0,theme:S,mode:D,disableMenuItemTitleTooltip:B}),[F,W,v,B,S]);return V(n.createElement(C.Z.Provider,{value:null},n.createElement(b.Provider,{value:K},n.createElement(r.ZP,Object.assign({getPopupContainer:f,overflowedIndicator:n.createElement(i.Z,null),overflowedIndicatorPopupClassName:s()(F,`${F}-${S}`,T),mode:D,selectable:M,onClick:R},P,{inlineCollapsed:W,style:Object.assign(Object.assign({},null==h?void 0:h.style),x),className:Q,prefixCls:F,direction:v,defaultMotions:L,expandIcon:U,ref:t,rootClassName:s()(j,G,a.rootClassName,J,Y),_internalComponents:q})))))}),Y=(0,n.forwardRef)((e,t)=>{let o=(0,n.useRef)(null),r=n.useContext(l.D);return(0,n.useImperativeHandle)(t,()=>({menu:o.current,focus:e=>{var t;null===(t=o.current)||void 0===t||t.focus(e)}})),n.createElement(F,Object.assign({ref:o},e,r))});Y.Item=I,Y.SubMenu=L,Y.Divider=f,Y.ItemGroup=r.BW;var V=Y},97454:function(e,t,o){var n=o(83963),r=o(67294),l=o(26554),i=o(30672),a=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:l.Z}))});t.Z=a},62994:function(e,t,o){var n=o(83963),r=o(67294),l=o(50756),i=o(30672),a=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:l.Z}))});t.Z=a}}]); \ No newline at end of file + `]:{paddingTop:e.paddingXS}}}),Z(e)),{[`&-inline-collapsed ${o}-submenu-arrow, + &-inline ${o}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,y.bf)(b)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,y.bf)(e.calc(b).mul(-1).equal())})`}},[`${o}-submenu-open${o}-submenu-inline > ${o}-submenu-title > ${o}-submenu-arrow`]:{transform:`translateY(${(0,y.bf)(e.calc(g).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,y.bf)(e.calc(b).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,y.bf)(b)})`}}})},{[`${t}-layout-header`]:{[o]:{lineHeight:"inherit"}}}]},M=e=>{var t,o,n;let{colorPrimary:r,colorError:l,colorTextDisabled:i,colorErrorBg:a,colorText:s,colorTextDescription:d,colorBgContainer:c,colorFillAlter:u,colorFillContent:m,lineWidth:p,lineWidthBold:g,controlItemBgActive:b,colorBgTextHover:$,controlHeightLG:f,lineHeight:v,colorBgElevated:h,marginXXS:I,padding:C,fontSize:y,controlHeightSM:x,fontSizeLG:S,colorTextLightSolid:O,colorErrorHover:B}=e,k=null!==(t=e.activeBarWidth)&&void 0!==t?t:0,E=null!==(o=e.activeBarBorderWidth)&&void 0!==o?o:p,j=null!==(n=e.itemMarginInline)&&void 0!==n?n:e.marginXXS,z=new w.C(O).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:s,itemColor:s,colorItemTextHover:s,itemHoverColor:s,colorItemTextHoverHorizontal:r,horizontalItemHoverColor:r,colorGroupTitle:d,groupTitleColor:d,colorItemTextSelected:r,itemSelectedColor:r,colorItemTextSelectedHorizontal:r,horizontalItemSelectedColor:r,colorItemBg:c,itemBg:c,colorItemBgHover:$,itemHoverBg:$,colorItemBgActive:m,itemActiveBg:b,colorSubItemBg:u,subMenuItemBg:u,colorItemBgSelected:b,itemSelectedBg:b,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:k,colorActiveBarHeight:g,activeBarHeight:g,colorActiveBarBorderSize:p,activeBarBorderWidth:E,colorItemTextDisabled:i,itemDisabledColor:i,colorDangerItemText:l,dangerItemColor:l,colorDangerItemTextHover:l,dangerItemHoverColor:l,colorDangerItemTextSelected:l,dangerItemSelectedColor:l,colorDangerItemBgActive:a,dangerItemActiveBg:a,colorDangerItemBgSelected:a,dangerItemSelectedBg:a,itemMarginInline:j,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:f,groupTitleLineHeight:v,collapsedWidth:2*f,popupBg:h,itemMarginBlock:I,itemPaddingInline:C,horizontalLineHeight:`${1.15*f}px`,iconSize:y,iconMarginInlineEnd:x-y,collapsedIconSize:S,groupTitleFontSize:y,darkItemDisabledColor:new w.C(O).setAlpha(.25).toRgbString(),darkItemColor:z,darkDangerItemColor:l,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:O,darkItemSelectedBg:r,darkDangerItemSelectedBg:l,darkItemHoverBg:"transparent",darkGroupTitleColor:z,darkItemHoverColor:O,darkDangerItemHoverColor:B,darkDangerItemSelectedColor:O,darkDangerItemActiveBg:l,itemWidth:k?`calc(100% + ${E}px)`:`calc(100% - ${2*j}px)`}};var A=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=(0,k.I$)("Menu",e=>{let{colorBgElevated:t,controlHeightLG:o,fontSize:n,darkItemColor:r,darkDangerItemColor:l,darkItemBg:i,darkSubMenuItemBg:a,darkItemSelectedColor:s,darkItemSelectedBg:d,darkDangerItemSelectedBg:c,darkItemHoverBg:u,darkGroupTitleColor:m,darkItemHoverColor:p,darkItemDisabledColor:g,darkDangerItemHoverColor:b,darkDangerItemSelectedColor:$,darkDangerItemActiveBg:f,popupBg:v,darkPopupBg:h}=e,I=e.calc(n).div(7).mul(5).equal(),C=(0,E.IX)(e,{menuArrowSize:I,menuHorizontalHeight:e.calc(o).mul(1.15).equal(),menuArrowOffset:e.calc(I).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:v}),y=(0,E.IX)(C,{itemColor:r,itemHoverColor:p,groupTitleColor:m,itemSelectedColor:s,itemBg:i,popupBg:h,subMenuItemBg:a,itemActiveBg:"transparent",itemSelectedBg:d,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:u,itemDisabledColor:g,dangerItemColor:l,dangerItemHoverColor:b,dangerItemSelectedColor:$,dangerItemActiveBg:f,dangerItemSelectedBg:c,menuSubMenuBg:a,horizontalItemSelectedColor:s,horizontalItemSelectedBg:d});return[D(C),j(C),P(C),N(C,"light"),N(y,"dark"),z(C),(0,S.Z)(C),(0,O.oN)(C,"slide-up"),(0,O.oN)(C,"slide-down"),(0,B._y)(C,"zoom-big")]},M,{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"]],injectStyle:o,unitless:{groupTitleLineHeight:!0}});return n(e,t)},W=o(87263),L=e=>{var t;let o;let{popupClassName:l,icon:i,title:a,theme:d}=e,u=n.useContext(b),{prefixCls:p,inlineCollapsed:g,theme:$}=u,f=(0,r.Xl)();if(i){let e=n.isValidElement(a)&&"span"===a.type;o=n.createElement(n.Fragment,null,(0,m.Tm)(i,{className:s()(n.isValidElement(i)?null===(t=i.props)||void 0===t?void 0:t.className:"",`${p}-item-icon`)}),e?a:n.createElement("span",{className:`${p}-title-content`},a))}else o=g&&!f.length&&a&&"string"==typeof a?n.createElement("div",{className:`${p}-inline-collapsed-noicon`},a.charAt(0)):n.createElement("span",{className:`${p}-title-content`},a);let v=n.useMemo(()=>Object.assign(Object.assign({},u),{firstLevel:!1}),[u]),[h]=(0,W.Cn)("Menu");return n.createElement(b.Provider,{value:v},n.createElement(r.Wd,Object.assign({},(0,c.Z)(e,["icon"]),{title:o,popupClassName:s()(p,l,`${p}-${d||$}`),popupStyle:{zIndex:h}})))},X=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o};function _(e){return null===e||!1===e}let q={item:I,submenu:L,divider:f},F=(0,n.forwardRef)((e,t)=>{var o;let l=n.useContext(C.Z),a=l||{},{getPrefixCls:$,getPopupContainer:f,direction:v,menu:h}=n.useContext(p.E_),I=$(),{prefixCls:y,className:w,style:x,theme:S="light",expandIcon:O,_internalDisableMenuItemTitleTooltip:B,inlineCollapsed:k,siderCollapsed:E,rootClassName:j,mode:z,selectable:H,onClick:N,overflowedIndicatorPopupClassName:T}=e,P=X(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),R=(0,c.Z)(P,["collapsedWidth"]);null===(o=a.validator)||void 0===o||o.call(a,{mode:z});let Z=(0,d.zX)(function(){var e;null==N||N.apply(void 0,arguments),null===(e=a.onClick)||void 0===e||e.call(a)}),D=a.mode||z,M=null!=H?H:a.selectable,W=n.useMemo(()=>void 0!==E?E:k,[k,E]),L={horizontal:{motionName:`${I}-slide-up`},inline:(0,u.Z)(I),other:{motionName:`${I}-zoom-big`}},F=$("menu",y||a.prefixCls),Y=(0,g.Z)(F),[V,G,J]=A(F,Y,!l),Q=s()(`${F}-${S}`,null==h?void 0:h.className,w),U=n.useMemo(()=>{var e,t;if("function"==typeof O||_(O))return O||null;if("function"==typeof a.expandIcon||_(a.expandIcon))return a.expandIcon||null;if("function"==typeof(null==h?void 0:h.expandIcon)||_(null==h?void 0:h.expandIcon))return(null==h?void 0:h.expandIcon)||null;let o=null!==(e=null!=O?O:null==a?void 0:a.expandIcon)&&void 0!==e?e:null==h?void 0:h.expandIcon;return(0,m.Tm)(o,{className:s()(`${F}-submenu-expand-icon`,n.isValidElement(o)?null===(t=o.props)||void 0===t?void 0:t.className:void 0)})},[O,null==a?void 0:a.expandIcon,null==h?void 0:h.expandIcon,F]),K=n.useMemo(()=>({prefixCls:F,inlineCollapsed:W||!1,direction:v,firstLevel:!0,theme:S,mode:D,disableMenuItemTitleTooltip:B}),[F,W,v,B,S]);return V(n.createElement(C.Z.Provider,{value:null},n.createElement(b.Provider,{value:K},n.createElement(r.ZP,Object.assign({getPopupContainer:f,overflowedIndicator:n.createElement(i.Z,null),overflowedIndicatorPopupClassName:s()(F,`${F}-${S}`,T),mode:D,selectable:M,onClick:Z},R,{inlineCollapsed:W,style:Object.assign(Object.assign({},null==h?void 0:h.style),x),className:Q,prefixCls:F,direction:v,defaultMotions:L,expandIcon:U,ref:t,rootClassName:s()(j,G,a.rootClassName,J,Y),_internalComponents:q})))))}),Y=(0,n.forwardRef)((e,t)=>{let o=(0,n.useRef)(null),r=n.useContext(l.D);return(0,n.useImperativeHandle)(t,()=>({menu:o.current,focus:e=>{var t;null===(t=o.current)||void 0===t||t.focus(e)}})),n.createElement(F,Object.assign({ref:o},e,r))});Y.Item=I,Y.SubMenu=L,Y.Divider=f,Y.ItemGroup=r.BW;var V=Y}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/554c6155-1a171fdb837a225b.js b/dbgpt/app/static/web/_next/static/chunks/554c6155-1a171fdb837a225b.js new file mode 100644 index 000000000..d0719ca92 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/554c6155-1a171fdb837a225b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2168],{80647:function(t,e,n){n.d(e,{E9:function(){return tj},F6:function(){return tC},L1:function(){return nW},Oi:function(){return nY},bn:function(){return k},gz:function(){return eH}});var r,i,o,a,s,l,u,c,h,p,d,f,v,y,g,m,E,x,b,T,P,S,N,C,w,k,M,R,A,O,I,L,D,G,B,F,_,U,V,Z,Y,z,X,j,W=n(97582),H=n(99204),q=n(77160),K=n(85975),J=n(35600),$=n(98333),Q=n(32945),tt=n(31437),te=n(25897),tn=n(95147),tr=n(76714),ti=n(81957),to=n(69877),ta=n(71523),ts=n(13882),tl=n(80450),tu=n(8614),tc=n(4848),th=n(75839),tp=n(99872),td=n(92455),tf=n(65850),tv=n(28659),ty=n(83555),tg=n(71154),tm=n(5199),tE=n(90134),tx=n(4637),tb=n(84329),tT=n(16372),tP=n(11702),tS=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self,{exports:{}});tS.exports=function(){function t(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function e(t,e){return te?1:0}var n=function(t){void 0===t&&(t=9),this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function r(t,e){i(t,0,t.children.length,e,t)}function i(t,e,n,r,i){i||(i=p(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var a=e;a=t.minX&&e.maxY>=t.minY}function p(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function d(n,r,i,o,a){for(var s=[r,i];s.length;)if(i=s.pop(),r=s.pop(),!(i-r<=o)){var l=r+Math.ceil((i-r)/o/2)*o;(function e(n,r,i,o,a){for(;o>i;){if(o-i>600){var s=o-i+1,l=r-i+1,u=Math.log(s),c=.5*Math.exp(2*u/3),h=.5*Math.sqrt(u*c*(s-c)/s)*(l-s/2<0?-1:1),p=Math.max(i,Math.floor(r-l*c/s+h)),d=Math.min(o,Math.floor(r+(s-l)*c/s+h));e(n,r,p,d,a)}var f=n[r],v=i,y=o;for(t(n,i,r),a(n[o],f)>0&&t(n,i,o);va(n[v],f);)v++;for(;a(n[y],f)>0;)y--}0===a(n[i],f)?t(n,i,y):t(n,++y,o),y<=r&&(i=y+1),r<=y&&(o=y-1)}})(n,l,r||0,i||n.length-1,a||e),s.push(r,l,l,i)}}return n.prototype.all=function(){return this._all(this.data,[])},n.prototype.search=function(t){var e=this.data,n=[];if(!h(t,e))return n;for(var r=this.toBBox,i=[];e;){for(var o=0;o=0;)if(i[e].children.length>this._maxEntries)this._split(i,e),e--;else break;this._adjustParentBBoxes(r,i,e)},n.prototype._split=function(t,e){var n=t[e],i=n.children.length,o=this._minEntries;this._chooseSplitAxis(n,o,i);var a=this._chooseSplitIndex(n,o,i),s=p(n.children.splice(a,n.children.length-a));s.height=n.height,s.leaf=n.leaf,r(n,this.toBBox),r(s,this.toBBox),e?t[e-1].children.push(s):this._splitRoot(n,s)},n.prototype._splitRoot=function(t,e){this.data=p([t,e]),this.data.height=t.height+1,this.data.leaf=!1,r(this.data,this.toBBox)},n.prototype._chooseSplitIndex=function(t,e,n){for(var r,o=1/0,a=1/0,s=e;s<=n-e;s++){var u=i(t,0,s,this.toBBox),c=i(t,s,n,this.toBBox),h=function(t,e){var n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY);return Math.max(0,Math.min(t.maxX,e.maxX)-n)*Math.max(0,Math.min(t.maxY,e.maxY)-r)}(u,c),p=l(u)+l(c);h=e;d--){var f=t.children[d];o(l,t.leaf?a(f):f),c+=u(l)}return c},n.prototype._adjustParentBBoxes=function(t,e,n){for(var r=n;r>=0;r--)o(e[r],t)},n.prototype._condense=function(t){for(var e=t.length-1,n=void 0;e>=0;e--)0===t[e].children.length?e>0?(n=t[e-1].children).splice(n.indexOf(t[e]),1):this.clear():r(t[e],this.toBBox)},n}();var tN=tS.exports;(r=k||(k={})).GROUP="g",r.CIRCLE="circle",r.ELLIPSE="ellipse",r.IMAGE="image",r.RECT="rect",r.LINE="line",r.POLYLINE="polyline",r.POLYGON="polygon",r.TEXT="text",r.PATH="path",r.HTML="html",r.MESH="mesh",(i=M||(M={}))[i.ZERO=0]="ZERO",i[i.NEGATIVE_ONE=1]="NEGATIVE_ONE";var tC=function(){function t(){this.plugins=[]}return t.prototype.addRenderingPlugin=function(t){this.plugins.push(t),this.context.renderingPlugins.push(t)},t.prototype.removeAllRenderingPlugins=function(){var t=this;this.plugins.forEach(function(e){var n=t.context.renderingPlugins.indexOf(e);n>=0&&t.context.renderingPlugins.splice(n,1)})},t}();function tw(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function tk(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function tM(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function tR(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function tA(t){return void 0===t?0:t>360||t<-360?t%360:t}function tO(t,e,n){return(void 0===e&&(e=0),void 0===n&&(n=0),Array.isArray(t)&&3===t.length)?q.d9(t):(0,te.Z)(t)?q.al(t,e,n):q.al(t[0],t[1]||e,t[2]||n)}function tI(t){return t*(Math.PI/180)}function tL(t){return t*(180/Math.PI)}function tD(t,e){var n,r,i,o,a,s,l,u,c,h,p,d,f,v,y,g,m;return 16===e.length?(i=.5*Math.PI,a=(o=(0,W.CR)(K.getScaling(q.Ue(),e),3))[0],s=o[1],l=o[2],(u=Math.asin(-e[2]/a))-i?(n=Math.atan2(e[6]/s,e[10]/l),r=Math.atan2(e[1]/a,e[0]/a)):(r=0,n=-Math.atan2(e[4]/s,e[5]/s)):(r=0,n=Math.atan2(e[4]/s,e[5]/s)),t[0]=n,t[1]=u,t[2]=r,t):(c=e[0],h=e[1],p=e[2],d=e[3],g=c*c+(f=h*h)+(v=p*p)+(y=d*d),(m=c*d-h*p)>.499995*g?(t[0]=Math.PI/2,t[1]=2*Math.atan2(h,c),t[2]=0):m<-.499995*g?(t[0]=-Math.PI/2,t[1]=2*Math.atan2(h,c),t[2]=0):(t[0]=Math.asin(2*(c*p-d*h)),t[1]=Math.atan2(2*(c*d+h*p),1-2*(v+y)),t[2]=Math.atan2(2*(c*h+p*d),1-2*(f+v))),t)}function tG(t){var e=t[0],n=t[1],r=t[3],i=t[4],o=Math.sqrt(e*e+n*n),a=Math.sqrt(r*r+i*i);e*i-n*r<0&&(e-1&&this.plugins.splice(e,1)},t.prototype.getPlugins=function(){return this.plugins},t.prototype.getPlugin=function(t){return this.plugins.find(function(e){return e.name===t})},t.prototype.getConfig=function(){return this.config},t.prototype.setConfig=function(t){Object.assign(this.config,t)}}();var tB=K.create(),tF=K.create(),t_=$.Ue(),tU=[q.Ue(),q.Ue(),q.Ue()],tV=q.Ue();function tZ(t,e,n,r,i){t[0]=e[0]*r+n[0]*i,t[1]=e[1]*r+n[1]*i,t[2]=e[2]*r+n[2]*i}var tY=function(){function t(){this.center=[0,0,0],this.halfExtents=[0,0,0],this.min=[0,0,0],this.max=[0,0,0]}return t.isEmpty=function(t){return!t||0===t.halfExtents[0]&&0===t.halfExtents[1]&&0===t.halfExtents[2]},t.prototype.update=function(t,e){tw(this.center,t),tw(this.halfExtents,e),tk(this.min,this.center,this.halfExtents),tM(this.max,this.center,this.halfExtents)},t.prototype.setMinMax=function(t,e){tM(this.center,e,t),tR(this.center,this.center,.5),tk(this.halfExtents,e,t),tR(this.halfExtents,this.halfExtents,.5),tw(this.min,t),tw(this.max,e)},t.prototype.getMin=function(){return this.min},t.prototype.getMax=function(){return this.max},t.prototype.add=function(e){if(!t.isEmpty(e)){if(t.isEmpty(this)){this.setMinMax(e.getMin(),e.getMax());return}var n=this.center,r=n[0],i=n[1],o=n[2],a=this.halfExtents,s=a[0],l=a[1],u=a[2],c=r-s,h=r+s,p=i-l,d=i+l,f=o-u,v=o+u,y=e.center,g=y[0],m=y[1],E=y[2],x=e.halfExtents,b=x[0],T=x[1],P=x[2],S=g-b,N=g+b,C=m-T,w=m+T,k=E-P,M=E+P;Sh&&(h=N),Cd&&(d=w),kv&&(v=M),n[0]=(c+h)*.5,n[1]=(p+d)*.5,n[2]=(f+v)*.5,a[0]=(h-c)*.5,a[1]=(d-p)*.5,a[2]=(v-f)*.5,this.min[0]=c,this.min[1]=p,this.min[2]=f,this.max[0]=h,this.max[1]=d,this.max[2]=v}},t.prototype.setFromTransformedAABB=function(t,e){var n=this.center,r=this.halfExtents,i=t.center,o=t.halfExtents,a=e[0],s=e[4],l=e[8],u=e[1],c=e[5],h=e[9],p=e[2],d=e[6],f=e[10],v=Math.abs(a),y=Math.abs(s),g=Math.abs(l),m=Math.abs(u),E=Math.abs(c),x=Math.abs(h),b=Math.abs(p),T=Math.abs(d),P=Math.abs(f);n[0]=e[12]+a*i[0]+s*i[1]+l*i[2],n[1]=e[13]+u*i[0]+c*i[1]+h*i[2],n[2]=e[14]+p*i[0]+d*i[1]+f*i[2],r[0]=v*o[0]+y*o[1]+g*o[2],r[1]=m*o[0]+E*o[1]+x*o[2],r[2]=b*o[0]+T*o[1]+P*o[2],tk(this.min,n,r),tM(this.max,n,r)},t.prototype.intersects=function(t){var e=this.getMax(),n=this.getMin(),r=t.getMax(),i=t.getMin();return n[0]<=r[0]&&e[0]>=i[0]&&n[1]<=r[1]&&e[1]>=i[1]&&n[2]<=r[2]&&e[2]>=i[2]},t.prototype.intersection=function(e){if(!this.intersects(e))return null;var n,r,i,o,a,s,l=new t,u=(n=[0,0,0],r=this.getMin(),i=e.getMin(),n[0]=Math.max(r[0],i[0]),n[1]=Math.max(r[1],i[1]),n[2]=Math.max(r[2],i[2]),n),c=(o=[0,0,0],a=this.getMax(),s=e.getMax(),o[0]=Math.min(a[0],s[0]),o[1]=Math.min(a[1],s[1]),o[2]=Math.min(a[2],s[2]),o);return l.setMinMax(u,c),l},t.prototype.getNegativeFarPoint=function(t){if(273===t.pnVertexFlag)return tw([0,0,0],this.min);if(272===t.pnVertexFlag)return[this.min[0],this.min[1],this.max[2]];if(257===t.pnVertexFlag)return[this.min[0],this.max[1],this.min[2]];if(256===t.pnVertexFlag)return[this.min[0],this.max[1],this.max[2]];if(17===t.pnVertexFlag)return[this.max[0],this.min[1],this.min[2]];if(16===t.pnVertexFlag)return[this.max[0],this.min[1],this.max[2]];if(1===t.pnVertexFlag)return[this.max[0],this.max[1],this.min[2]];else return[this.max[0],this.max[1],this.max[2]]},t.prototype.getPositiveFarPoint=function(t){if(273===t.pnVertexFlag)return tw([0,0,0],this.max);if(272===t.pnVertexFlag)return[this.max[0],this.max[1],this.min[2]];if(257===t.pnVertexFlag)return[this.max[0],this.min[1],this.max[2]];if(256===t.pnVertexFlag)return[this.max[0],this.min[1],this.min[2]];if(17===t.pnVertexFlag)return[this.min[0],this.max[1],this.max[2]];if(16===t.pnVertexFlag)return[this.min[0],this.max[1],this.min[2]];if(1===t.pnVertexFlag)return[this.min[0],this.min[1],this.max[2]];else return[this.min[0],this.min[1],this.min[2]]},t}(),tz=function(){function t(t,e){this.distance=t||0,this.normal=e||q.al(0,1,0),this.updatePNVertexFlag()}return t.prototype.updatePNVertexFlag=function(){this.pnVertexFlag=(Number(this.normal[0]>=0)<<8)+(Number(this.normal[1]>=0)<<4)+Number(this.normal[2]>=0)},t.prototype.distanceToPoint=function(t){return q.AK(t,this.normal)-this.distance},t.prototype.normalize=function(){var t=1/q.Zh(this.normal);q.bA(this.normal,this.normal,t),this.distance*=t},t.prototype.intersectsLine=function(t,e,n){var r=this.distanceToPoint(t),i=r/(r-this.distanceToPoint(e)),o=i>=0&&i<=1;return o&&n&&q.t7(n,t,e,i),o},t}();(o=R||(R={}))[o.OUTSIDE=4294967295]="OUTSIDE",o[o.INSIDE=0]="INSIDE",o[o.INDETERMINATE=2147483647]="INDETERMINATE";var tX=function(){function t(t){if(this.planes=[],t)this.planes=t;else for(var e=0;e<6;e++)this.planes.push(new tz)}return t.prototype.extractFromVPMatrix=function(t){var e=(0,W.CR)(t,16),n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],h=e[9],p=e[10],d=e[11],f=e[12],v=e[13],y=e[14],g=e[15];q.t8(this.planes[0].normal,o-n,u-a,d-c),this.planes[0].distance=g-f,q.t8(this.planes[1].normal,o+n,u+a,d+c),this.planes[1].distance=g+f,q.t8(this.planes[2].normal,o+r,u+s,d+h),this.planes[2].distance=g+v,q.t8(this.planes[3].normal,o-r,u-s,d-h),this.planes[3].distance=g-v,q.t8(this.planes[4].normal,o-i,u-l,d-p),this.planes[4].distance=g-y,q.t8(this.planes[5].normal,o+i,u+l,d+p),this.planes[5].distance=g+y,this.planes.forEach(function(t){t.normalize(),t.updatePNVertexFlag()})},t}(),tj=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.x=0,this.y=0,this.x=t,this.y=e}return t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.copyFrom=function(t){this.x=t.x,this.y=t.y},t}(),tW=function(){function t(t,e,n,r){this.x=t,this.y=e,this.width=n,this.height=r,this.left=t,this.right=t+n,this.top=e,this.bottom=e+r}return t.prototype.toJSON=function(){},t}(),tH="Method not implemented.",tq="Use document.documentElement instead.";(a=A||(A={}))[a.ORBITING=0]="ORBITING",a[a.EXPLORING=1]="EXPLORING",a[a.TRACKING=2]="TRACKING",(s=O||(O={}))[s.DEFAULT=0]="DEFAULT",s[s.ROTATIONAL=1]="ROTATIONAL",s[s.TRANSLATIONAL=2]="TRANSLATIONAL",s[s.CINEMATIC=3]="CINEMATIC",(l=I||(I={}))[l.ORTHOGRAPHIC=0]="ORTHOGRAPHIC",l[l.PERSPECTIVE=1]="PERSPECTIVE";var tK={UPDATED:"updated"},tJ=function(){function t(){this.clipSpaceNearZ=M.NEGATIVE_ONE,this.eventEmitter=new H.Z,this.matrix=K.create(),this.right=q.al(1,0,0),this.up=q.al(0,1,0),this.forward=q.al(0,0,1),this.position=q.al(0,0,1),this.focalPoint=q.al(0,0,0),this.distanceVector=q.al(0,0,-1),this.distance=1,this.azimuth=0,this.elevation=0,this.roll=0,this.relAzimuth=0,this.relElevation=0,this.relRoll=0,this.dollyingStep=0,this.maxDistance=1/0,this.minDistance=-1/0,this.zoom=1,this.rotateWorld=!1,this.fov=30,this.near=.1,this.far=1e3,this.aspect=1,this.projectionMatrix=K.create(),this.projectionMatrixInverse=K.create(),this.jitteredProjectionMatrix=void 0,this.enableUpdate=!0,this.type=A.EXPLORING,this.trackingMode=O.DEFAULT,this.projectionMode=I.PERSPECTIVE,this.frustum=new tX,this.orthoMatrix=K.create()}return t.prototype.isOrtho=function(){return this.projectionMode===I.ORTHOGRAPHIC},t.prototype.getProjectionMode=function(){return this.projectionMode},t.prototype.getPerspective=function(){return this.jitteredProjectionMatrix||this.projectionMatrix},t.prototype.getPerspectiveInverse=function(){return this.projectionMatrixInverse},t.prototype.getFrustum=function(){return this.frustum},t.prototype.getPosition=function(){return this.position},t.prototype.getFocalPoint=function(){return this.focalPoint},t.prototype.getDollyingStep=function(){return this.dollyingStep},t.prototype.getNear=function(){return this.near},t.prototype.getFar=function(){return this.far},t.prototype.getZoom=function(){return this.zoom},t.prototype.getOrthoMatrix=function(){return this.orthoMatrix},t.prototype.getView=function(){return this.view},t.prototype.setEnableUpdate=function(t){this.enableUpdate=t},t.prototype.setType=function(t,e){return this.type=t,this.type===A.EXPLORING?this.setWorldRotation(!0):this.setWorldRotation(!1),this._getAngles(),this.type===A.TRACKING&&void 0!==e&&this.setTrackingMode(e),this},t.prototype.setProjectionMode=function(t){return this.projectionMode=t,this},t.prototype.setTrackingMode=function(t){if(this.type!==A.TRACKING)throw Error("Impossible to set a tracking mode if the camera is not of tracking type");return this.trackingMode=t,this},t.prototype.setWorldRotation=function(t){return this.rotateWorld=t,this._getAngles(),this},t.prototype.getViewTransform=function(){return K.invert(K.create(),this.matrix)},t.prototype.getWorldTransform=function(){return this.matrix},t.prototype.jitterProjectionMatrix=function(t,e){var n=K.fromTranslation(K.create(),[t,e,0]);this.jitteredProjectionMatrix=K.multiply(K.create(),n,this.projectionMatrix)},t.prototype.clearJitterProjectionMatrix=function(){this.jitteredProjectionMatrix=void 0},t.prototype.setMatrix=function(t){return this.matrix=t,this._update(),this},t.prototype.setProjectionMatrix=function(t){this.projectionMatrix=t},t.prototype.setFov=function(t){return this.setPerspective(this.near,this.far,t,this.aspect),this},t.prototype.setAspect=function(t){return this.setPerspective(this.near,this.far,this.fov,t),this},t.prototype.setNear=function(t){return this.projectionMode===I.PERSPECTIVE?this.setPerspective(t,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,t,this.far),this},t.prototype.setFar=function(t){return this.projectionMode===I.PERSPECTIVE?this.setPerspective(this.near,t,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,t),this},t.prototype.setViewOffset=function(t,e,n,r,i,o){return this.aspect=t/e,void 0===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=o,this.projectionMode===I.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this},t.prototype.clearViewOffset=function(){return void 0!==this.view&&(this.view.enabled=!1),this.projectionMode===I.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this},t.prototype.setZoom=function(t){return this.zoom=t,this.projectionMode===I.ORTHOGRAPHIC?this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far):this.projectionMode===I.PERSPECTIVE&&this.setPerspective(this.near,this.far,this.fov,this.aspect),this},t.prototype.setZoomByViewportPoint=function(t,e){var n=this.canvas.viewport2Canvas({x:e[0],y:e[1]}),r=n.x,i=n.y,o=this.roll;this.rotate(0,0,-o),this.setPosition(r,i),this.setFocalPoint(r,i),this.setZoom(t),this.rotate(0,0,o);var a=this.canvas.viewport2Canvas({x:e[0],y:e[1]}),s=a.x,l=a.y,u=q.al(s-r,l-i,0),c=q.AK(u,this.right)/q.kE(this.right),h=q.AK(u,this.up)/q.kE(this.up);return this.pan(-c,-h),this},t.prototype.setPerspective=function(t,e,n,r){this.projectionMode=I.PERSPECTIVE,this.fov=n,this.near=t,this.far=e,this.aspect=r;var i,o,a,s,l,u,c,h,p,d=this.near*Math.tan(tI(.5*this.fov))/this.zoom,f=2*d,v=this.aspect*f,y=-.5*v;if(null===(p=this.view)||void 0===p?void 0:p.enabled){var g=this.view.fullWidth,m=this.view.fullHeight;y+=this.view.offsetX*v/g,d-=this.view.offsetY*f/m,v*=this.view.width/g,f*=this.view.height/m}return i=this.projectionMatrix,o=y,a=y+v,s=d,l=d-f,u=this.far,this.clipSpaceNearZ===M.ZERO?(c=-u/(u-t),h=-u*t/(u-t)):(c=-(u+t)/(u-t),h=-2*u*t/(u-t)),i[0]=2*t/(a-o),i[1]=0,i[2]=0,i[3]=0,i[4]=0,i[5]=2*t/(s-l),i[6]=0,i[7]=0,i[8]=(a+o)/(a-o),i[9]=(s+l)/(s-l),i[10]=c,i[11]=-1,i[12]=0,i[13]=0,i[14]=h,i[15]=0,K.scale(this.projectionMatrix,this.projectionMatrix,q.al(1,-1,1)),K.invert(this.projectionMatrixInverse,this.projectionMatrix),this.triggerUpdate(),this},t.prototype.setOrthographic=function(t,e,n,r,i,o){this.projectionMode=I.ORTHOGRAPHIC,this.rright=e,this.left=t,this.top=n,this.bottom=r,this.near=i,this.far=o;var a,s=(this.rright-this.left)/(2*this.zoom),l=(this.top-this.bottom)/(2*this.zoom),u=(this.rright+this.left)/2,c=(this.top+this.bottom)/2,h=u-s,p=u+s,d=c+l,f=c-l;if(null===(a=this.view)||void 0===a?void 0:a.enabled){var v=(this.rright-this.left)/this.view.fullWidth/this.zoom,y=(this.top-this.bottom)/this.view.fullHeight/this.zoom;h+=v*this.view.offsetX,p=h+v*this.view.width,d-=y*this.view.offsetY,f=d-y*this.view.height}return this.clipSpaceNearZ===M.NEGATIVE_ONE?K.ortho(this.projectionMatrix,h,p,f,d,i,o):K.orthoZO(this.projectionMatrix,h,p,f,d,i,o),K.scale(this.projectionMatrix,this.projectionMatrix,q.al(1,-1,1)),K.invert(this.projectionMatrixInverse,this.projectionMatrix),this._getOrthoMatrix(),this.triggerUpdate(),this},t.prototype.setPosition=function(t,e,n){void 0===e&&(e=this.position[1]),void 0===n&&(n=this.position[2]);var r=tO(t,e,n);return this._setPosition(r),this.setFocalPoint(this.focalPoint),this.triggerUpdate(),this},t.prototype.setFocalPoint=function(t,e,n){void 0===e&&(e=this.focalPoint[1]),void 0===n&&(n=this.focalPoint[2]);var r=q.al(0,1,0);if(this.focalPoint=tO(t,e,n),this.trackingMode===O.CINEMATIC){var i=q.$X(q.Ue(),this.focalPoint,this.position);t=i[0],e=i[1],n=i[2];var o=tL(Math.asin(e/q.kE(i))),a=90+tL(Math.atan2(n,t)),s=K.create();K.rotateY(s,s,tI(a)),K.rotateX(s,s,tI(o)),r=q.fF(q.Ue(),[0,1,0],s)}return K.invert(this.matrix,K.lookAt(K.create(),this.position,this.focalPoint,r)),this._getAxes(),this._getDistance(),this._getAngles(),this.triggerUpdate(),this},t.prototype.getDistance=function(){return this.distance},t.prototype.getDistanceVector=function(){return this.distanceVector},t.prototype.setDistance=function(t){if(this.distance===t||t<0)return this;this.distance=t,this.distance<2e-4&&(this.distance=2e-4),this.dollyingStep=this.distance/100;var e=q.Ue();t=this.distance;var n=this.forward,r=this.focalPoint;return e[0]=t*n[0]+r[0],e[1]=t*n[1]+r[1],e[2]=t*n[2]+r[2],this._setPosition(e),this.triggerUpdate(),this},t.prototype.setMaxDistance=function(t){return this.maxDistance=t,this},t.prototype.setMinDistance=function(t){return this.minDistance=t,this},t.prototype.setAzimuth=function(t){return this.azimuth=tA(t),this.computeMatrix(),this._getAxes(),this.type===A.ORBITING||this.type===A.EXPLORING?this._getPosition():this.type===A.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getAzimuth=function(){return this.azimuth},t.prototype.setElevation=function(t){return this.elevation=tA(t),this.computeMatrix(),this._getAxes(),this.type===A.ORBITING||this.type===A.EXPLORING?this._getPosition():this.type===A.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getElevation=function(){return this.elevation},t.prototype.setRoll=function(t){return this.roll=tA(t),this.computeMatrix(),this._getAxes(),this.type===A.ORBITING||this.type===A.EXPLORING?this._getPosition():this.type===A.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getRoll=function(){return this.roll},t.prototype._update=function(){this._getAxes(),this._getPosition(),this._getDistance(),this._getAngles(),this._getOrthoMatrix(),this.triggerUpdate()},t.prototype.computeMatrix=function(){var t=Q.yY(Q.Ue(),[0,0,1],tI(this.roll));K.identity(this.matrix);var e=Q.yY(Q.Ue(),[1,0,0],tI((this.rotateWorld&&this.type!==A.TRACKING||this.type===A.TRACKING?1:-1)*this.elevation)),n=Q.yY(Q.Ue(),[0,1,0],tI((this.rotateWorld&&this.type!==A.TRACKING||this.type===A.TRACKING?1:-1)*this.azimuth)),r=Q.Jp(Q.Ue(),n,e);r=Q.Jp(Q.Ue(),r,t);var i=K.fromQuat(K.create(),r);this.type===A.ORBITING||this.type===A.EXPLORING?(K.translate(this.matrix,this.matrix,this.focalPoint),K.multiply(this.matrix,this.matrix,i),K.translate(this.matrix,this.matrix,[0,0,this.distance])):this.type===A.TRACKING&&(K.translate(this.matrix,this.matrix,this.position),K.multiply(this.matrix,this.matrix,i))},t.prototype._setPosition=function(t,e,n){this.position=tO(t,e,n);var r=this.matrix;r[12]=this.position[0],r[13]=this.position[1],r[14]=this.position[2],r[15]=1,this._getOrthoMatrix()},t.prototype._getAxes=function(){q.JG(this.right,tO($.fF($.Ue(),[1,0,0,0],this.matrix))),q.JG(this.up,tO($.fF($.Ue(),[0,1,0,0],this.matrix))),q.JG(this.forward,tO($.fF($.Ue(),[0,0,1,0],this.matrix))),q.Fv(this.right,this.right),q.Fv(this.up,this.up),q.Fv(this.forward,this.forward)},t.prototype._getAngles=function(){var t=this.distanceVector[0],e=this.distanceVector[1],n=this.distanceVector[2],r=q.kE(this.distanceVector);if(0===r){this.elevation=0,this.azimuth=0;return}this.type===A.TRACKING?(this.elevation=tL(Math.asin(e/r)),this.azimuth=tL(Math.atan2(-t,-n))):this.rotateWorld?(this.elevation=tL(Math.asin(e/r)),this.azimuth=tL(Math.atan2(-t,-n))):(this.elevation=-tL(Math.asin(e/r)),this.azimuth=-tL(Math.atan2(-t,-n)))},t.prototype._getPosition=function(){q.JG(this.position,tO($.fF($.Ue(),[0,0,0,1],this.matrix))),this._getDistance()},t.prototype._getFocalPoint=function(){q.kK(this.distanceVector,[0,0,-this.distance],J.xO(J.Ue(),this.matrix)),q.IH(this.focalPoint,this.position,this.distanceVector),this._getDistance()},t.prototype._getDistance=function(){this.distanceVector=q.$X(q.Ue(),this.focalPoint,this.position),this.distance=q.kE(this.distanceVector),this.dollyingStep=this.distance/100},t.prototype._getOrthoMatrix=function(){if(this.projectionMode===I.ORTHOGRAPHIC){var t=this.position,e=Q.yY(Q.Ue(),[0,0,1],-this.roll*Math.PI/180);K.fromRotationTranslationScaleOrigin(this.orthoMatrix,e,q.al((this.rright-this.left)/2-t[0],(this.top-this.bottom)/2-t[1],0),q.al(this.zoom,this.zoom,1),t)}},t.prototype.triggerUpdate=function(){if(this.enableUpdate){var t=this.getViewTransform(),e=K.multiply(K.create(),this.getPerspective(),t);this.getFrustum().extractFromVPMatrix(e),this.eventEmitter.emit(tK.UPDATED)}},t.prototype.rotate=function(t,e,n){throw Error(tH)},t.prototype.pan=function(t,e){throw Error(tH)},t.prototype.dolly=function(t){throw Error(tH)},t.prototype.createLandmark=function(t,e){throw Error(tH)},t.prototype.gotoLandmark=function(t,e){throw Error(tH)},t.prototype.cancelLandmarkAnimation=function(){throw Error(tH)},t}();function t$(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var n=function(){for(var r=[],i=0;i=L.kEms&&t=_.kUnitType&&this.getType()<=_.kClampType},t}(),t4=function(t){function e(e){var n=t.call(this)||this;return n.colorSpace=e,n}return(0,W.ZT)(e,t),e.prototype.getType=function(){return _.kColorType},e.prototype.to=function(t){return this},e}(t5);(v=U||(U={}))[v.Constant=0]="Constant",v[v.LinearGradient=1]="LinearGradient",v[v.RadialGradient=2]="RadialGradient";var t9=function(t){function e(e,n){var r=t.call(this)||this;return r.type=e,r.value=n,r}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.type,this.value)},e.prototype.buildCSSText=function(t,e,n){return n},e.prototype.getType=function(){return _.kColorType},e}(t5),t8=function(t){function e(e){var n=t.call(this)||this;return n.value=e,n}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.value)},e.prototype.getType=function(){return _.kKeywordType},e.prototype.buildCSSText=function(t,e,n){return n+this.value},e}(t5),t6=t$(function(t){return void 0===t&&(t=""),t.replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})}),t7=function(t){return t.split("").map(function(t,e){return t.toUpperCase()===t?"".concat(0!==e?"-":"").concat(t.toLowerCase()):t}).join("")};function et(t){return"function"==typeof t}var ee={d:{alias:"path"},strokeDasharray:{alias:"lineDash"},strokeWidth:{alias:"lineWidth"},textAnchor:{alias:"textAlign"},src:{alias:"img"}},en=t$(function(t){var e=t6(t),n=ee[e];return(null==n?void 0:n.alias)||e}),er=function(t,e){void 0===e&&(e="");var n="";return Number.isFinite(t)?(function(t){if(!t)throw Error()}(Number.isNaN(t)),n="NaN"):n=t>0?"infinity":"-infinity",n+e},ei=function(t){return t1(t0(t))},eo=function(t){function e(e,n){void 0===n&&(n=L.kNumber);var r,i,o=t.call(this)||this;return i="string"==typeof n?(r=n)?"number"===r?L.kNumber:"percent"===r||"%"===r?L.kPercentage:tQ.find(function(t){return t.name===r}).unit_type:L.kUnknown:n,o.unit=i,o.value=e,o}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.value,this.unit)},e.prototype.equals=function(t){return this.value===t.value&&this.unit===t.unit},e.prototype.getType=function(){return _.kUnitType},e.prototype.convertTo=function(t){if(this.unit===t)return new e(this.value,this.unit);var n=ei(this.unit);if(n!==ei(t)||n===L.kUnknown)return null;var r=t2(this.unit)/t2(t);return new e(this.value*r,t)},e.prototype.buildCSSText=function(t,e,n){var r;switch(this.unit){case L.kUnknown:break;case L.kInteger:r=Number(this.value).toFixed(0);break;case L.kNumber:case L.kPercentage:case L.kEms:case L.kRems:case L.kPixels:case L.kDegrees:case L.kRadians:case L.kGradians:case L.kMilliseconds:case L.kSeconds:case L.kTurns:var i=this.value,o=t3(this.unit);if(i<-999999||i>999999){var a=t3(this.unit);r=!Number.isFinite(i)||Number.isNaN(i)?er(i,a):i+(a||"")}else r="".concat(i).concat(o)}return n+r},e}(t5),ea=new eo(0,"px");new eo(1,"px");var es=new eo(0,"deg"),el=function(t){function e(e,n,r,i,o){void 0===i&&(i=1),void 0===o&&(o=!1);var a=t.call(this,"rgb")||this;return a.r=e,a.g=n,a.b=r,a.alpha=i,a.isNone=o,a}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.r,this.g,this.b,this.alpha)},e.prototype.buildCSSText=function(t,e,n){return n+"rgba(".concat(this.r,",").concat(this.g,",").concat(this.b,",").concat(this.alpha,")")},e}(t4),eu=new t8("unset"),ec={"":eu,unset:eu,initial:new t8("initial"),inherit:new t8("inherit")},eh=function(t){return ec[t]||(ec[t]=new t8(t)),ec[t]},ep=new el(0,0,0,0,!0),ed=new el(0,0,0,0),ef=t$(function(t,e,n,r){return new el(t,e,n,r)},function(t,e,n,r){return"rgba(".concat(t,",").concat(e,",").concat(n,",").concat(r,")")}),ev=function(t,e){return void 0===e&&(e=L.kNumber),new eo(t,e)};new eo(50,"%"),(y=V||(V={}))[y.Standard=0]="Standard",(g=Z||(Z={}))[g.ADDED=0]="ADDED",g[g.REMOVED=1]="REMOVED",g[g.Z_INDEX_CHANGED=2]="Z_INDEX_CHANGED";var ey={absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new tW(0,0,0,0)};(m=Y||(Y={})).COORDINATE="",m.COLOR="",m.PAINT="",m.NUMBER="",m.ANGLE="",m.OPACITY_VALUE="",m.SHADOW_BLUR="",m.LENGTH="",m.PERCENTAGE="",m.LENGTH_PERCENTAGE=" | ",m.LENGTH_PERCENTAGE_12="[ | ]{1,2}",m.LENGTH_PERCENTAGE_14="[ | ]{1,4}",m.LIST_OF_POINTS="",m.PATH="",m.FILTER="",m.Z_INDEX="",m.OFFSET_DISTANCE="",m.DEFINED_PATH="",m.MARKER="",m.TRANSFORM="",m.TRANSFORM_ORIGIN="",m.TEXT="",m.TEXT_TRANSFORM="";var eg=function(){var t={linearGradient:/^(linear\-gradient)/i,repeatingLinearGradient:/^(repeating\-linear\-gradient)/i,radialGradient:/^(radial\-gradient)/i,repeatingRadialGradient:/^(repeating\-radial\-gradient)/i,conicGradient:/^(conic\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},e="";function n(t){throw Error(e+": "+t)}function r(){return i("linear-gradient",t.linearGradient,a)||i("repeating-linear-gradient",t.repeatingLinearGradient,a)||i("radial-gradient",t.radialGradient,s)||i("repeating-radial-gradient",t.repeatingRadialGradient,s)||i("conic-gradient",t.conicGradient,s)}function i(e,r,i){return o(r,function(r){var o=i();return o&&!m(t.comma)&&n("Missing comma before color stops"),{type:e,orientation:o,colorStops:p(d)}})}function o(e,r){var i=m(e);if(i){m(t.startCall)||n("Missing (");var o=r(i);return m(t.endCall)||n("Missing )"),o}}function a(){return g("directional",t.sideOrCorner,1)||g("angular",t.angleValue,1)}function s(){var n,r,i=l();return i&&((n=[]).push(i),r=e,m(t.comma)&&((i=l())?n.push(i):e=r)),n}function l(){var t,e,n=((t=g("shape",/^(circle)/i,0))&&(t.style=y()||u()),t||((e=g("shape",/^(ellipse)/i,0))&&(e.style=v()||u()),e));if(n)n.at=c();else{var r=u();if(r){n=r;var i=c();i&&(n.at=i)}else{var o=h();o&&(n={type:"default-radial",at:o})}}return n}function u(){return g("extent-keyword",t.extentKeywords,1)}function c(){if(g("position",/^at/,0)){var t=h();return t||n("Missing positioning value"),t}}function h(){var t={x:v(),y:v()};if(t.x||t.y)return{type:"position",value:t}}function p(e){var r=e(),i=[];if(r)for(i.push(r);m(t.comma);)(r=e())?i.push(r):n("One extra comma");return i}function d(){var e=g("hex",t.hexColor,1)||o(t.rgbaColor,function(){return{type:"rgba",value:p(f)}})||o(t.rgbColor,function(){return{type:"rgb",value:p(f)}})||g("literal",t.literalColor,0);return e||n("Expected color definition"),e.length=v(),e}function f(){return m(t.number)[1]}function v(){return g("%",t.percentageValue,1)||g("position-keyword",t.positionKeywords,1)||y()}function y(){return g("px",t.pixelValue,1)||g("em",t.emValue,1)}function g(t,e,n){var r=m(e);if(r)return{type:t,value:r[n]}}function m(t){var n=/^[\n\r\t\s]+/.exec(e);n&&E(n[0].length);var r=t.exec(e);return r&&E(r[0].length),r}function E(t){e=e.substring(t)}return function(t){var i;return e=t,i=p(r),e.length>0&&n("Invalid input not EOF"),i}}(),em=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,eE=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,ex=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,eb=/[\d.]+:(#[^\s]+|[^\)]+\))/gi,eT={left:180,top:-90,bottom:90,right:0,"left top":225,"top left":225,"left bottom":135,"bottom left":135,"right top":-45,"top right":-45,"right bottom":45,"bottom right":45},eP=t$(function(t){return ev("angular"===t.type?Number(t.value):eT[t.value]||0,"deg")}),eS=t$(function(t){var e=50,n=50,r="%",i="%";if((null==t?void 0:t.type)==="position"){var o=t.value,a=o.x,s=o.y;(null==a?void 0:a.type)==="position-keyword"&&("left"===a.value?e=0:"center"===a.value?e=50:"right"===a.value?e=100:"top"===a.value?n=0:"bottom"===a.value&&(n=100)),(null==s?void 0:s.type)==="position-keyword"&&("left"===s.value?e=0:"center"===s.value?n=50:"right"===s.value?e=100:"top"===s.value?n=0:"bottom"===s.value&&(n=100)),((null==a?void 0:a.type)==="px"||(null==a?void 0:a.type)==="%"||(null==a?void 0:a.type)==="em")&&(r=null==a?void 0:a.type,e=Number(a.value)),((null==s?void 0:s.type)==="px"||(null==s?void 0:s.type)==="%"||(null==s?void 0:s.type)==="em")&&(i=null==s?void 0:s.type,n=Number(s.value))}return{cx:ev(e,r),cy:ev(n,i)}}),eN=t$(function(t){if(t.indexOf("linear")>-1||t.indexOf("radial")>-1){var e;return eg(t).map(function(t){var e=t.type,n=t.orientation,r=t.colorStops;!function(t){var e,n,r,i=t.length;t[i-1].length=null!==(e=t[i-1].length)&&void 0!==e?e:{type:"%",value:"100"},i>1&&(t[0].length=null!==(n=t[0].length)&&void 0!==n?n:{type:"%",value:"0"});for(var o=0,a=Number(t[0].length.value),s=1;s=0)return ev(Number(e),"px");if("deg".search(t)>=0)return ev(Number(e),"deg")}var n=[];e=e.replace(t,function(t){return n.push(t),"U"+t});var r="U("+t.source+")";return n.map(function(t){return ev(Number(e.replace(RegExp("U"+t,"g"),"").replace(RegExp(r,"g"),"*0")),t)})[0]}var eR=function(t){return eM(/px/g,t)},eA=t$(eR);t$(function(t){return eM(RegExp("%","g"),t)});var eO=function(t){return(0,te.Z)(t)||isFinite(Number(t))?ev(Number(t)||0,"px"):eM(RegExp("px|%|em|rem","g"),t)},eI=t$(eO),eL=function(t){return eM(RegExp("deg|rad|grad|turn","g"),t)},eD=t$(eL);function eG(t){var e=0;return t.unit===L.kDegrees?e=t.value:t.unit===L.kRadians?e=tL(Number(t.value)):t.unit===L.kTurns&&(e=360*Number(t.value)),e}function eB(t,e){var n;return(Array.isArray(t)?n=t.map(function(t){return Number(t)}):(0,tr.Z)(t)?n=t.split(" ").map(function(t){return Number(t)}):(0,te.Z)(t)&&(n=[t]),2===e)?1===n.length?[n[0],n[0]]:[n[0],n[1]]:1===n.length?[n[0],n[0],n[0],n[0]]:2===n.length?[n[0],n[1],n[0],n[1]]:3===n.length?[n[0],n[1],n[2],n[1]]:[n[0],n[1],n[2],n[3]]}function eF(t){return(0,tr.Z)(t)?t.split(" ").map(function(t){return eI(t)}):t.map(function(t){return eI(t.toString())})}function e_(t,e,n,r){if(void 0===r&&(r=!1),t.unit===L.kPixels)return Number(t.value);if(t.unit===L.kPercentage&&n){var i=n.nodeName===k.GROUP?n.getLocalBounds():n.getGeometryBounds();return(r?i.min[e]:0)+t.value/100*i.halfExtents[e]*2}return 0}var eU=["blur","brightness","drop-shadow","contrast","grayscale","sepia","saturate","hue-rotate","invert"];function eV(t){if(void 0===t&&(t=""),"none"===(t=t.toLowerCase().trim()))return[];for(var e,n=/\s*([\w-]+)\(([^)]*)\)/g,r=[],i=0;(e=n.exec(t))&&e.index===i;)if(i=e.index+e[0].length,eU.indexOf(e[1])>-1&&r.push({name:e[1],params:e[2].split(" ").map(function(t){return eM(/deg|rad|grad|turn|px|%/g,t)||ew(t)})}),n.lastIndex===t.length)return r;return[]}function eZ(t){return t.toString()}var eY=function(t){return"number"==typeof t?ev(t):/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t)?ev(Number(t)):ev(0)},ez=t$(eY);function eX(t,e){return[t,e,eZ]}function ej(t,e){return function(n,r){return[n,r,function(n){return eZ((0,ti.Z)(n,t,e))}]}}function eW(t,e){if(t.length===e.length)return[t,e,function(t){return t}]}function eH(t){return 0===t.parsedStyle.d.totalLength&&(t.parsedStyle.d.totalLength=(0,to.D)(t.parsedStyle.d.absolutePath)),t.parsedStyle.d.totalLength}function eq(t,e){return t[0]===e[0]&&t[1]===e[1]}function eK(t,e){var n=t.prePoint,r=t.currentPoint,i=t.nextPoint,o=Math.pow(r[0]-n[0],2)+Math.pow(r[1]-n[1],2),a=Math.pow(r[0]-i[0],2)+Math.pow(r[1]-i[1],2),s=Math.acos((o+a-(Math.pow(n[0]-i[0],2)+Math.pow(n[1]-i[1],2)))/(2*Math.sqrt(o)*Math.sqrt(a)));if(!s||0===Math.sin(s)||(0,tl.Z)(s,0))return{xExtra:0,yExtra:0};var l=Math.abs(Math.atan2(i[1]-r[1],i[0]-r[0])),u=Math.abs(Math.atan2(i[0]-r[0],i[1]-r[1]));return{xExtra:Math.cos(s/2-(l=l>Math.PI/2?Math.PI-l:l))*(e/2*(1/Math.sin(s/2)))-e/2||0,yExtra:Math.cos((u=u>Math.PI/2?Math.PI-u:u)-s/2)*(e/2*(1/Math.sin(s/2)))-e/2||0}}function eJ(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}t$(function(t){return(0,tr.Z)(t)?t.split(" ").map(ez):t.map(ez)});var e$=function(t,e){var n=t.x*e.x+t.y*e.y,r=Math.sqrt((Math.pow(t.x,2)+Math.pow(t.y,2))*(Math.pow(e.x,2)+Math.pow(e.y,2)));return(t.x*e.y-t.y*e.x<0?-1:1)*Math.acos(n/r)},eQ=function(t,e,n,r,i,o,a,s){e=Math.abs(e),n=Math.abs(n);var l=tI(r=(0,tu.Z)(r,360));if(t.x===a.x&&t.y===a.y)return{x:t.x,y:t.y,ellipticalArcAngle:0};if(0===e||0===n)return{x:0,y:0,ellipticalArcAngle:0};var u=(t.x-a.x)/2,c=(t.y-a.y)/2,h={x:Math.cos(l)*u+Math.sin(l)*c,y:-Math.sin(l)*u+Math.cos(l)*c},p=Math.pow(h.x,2)/Math.pow(e,2)+Math.pow(h.y,2)/Math.pow(n,2);p>1&&(e=Math.sqrt(p)*e,n=Math.sqrt(p)*n);var d=(Math.pow(e,2)*Math.pow(n,2)-Math.pow(e,2)*Math.pow(h.y,2)-Math.pow(n,2)*Math.pow(h.x,2))/(Math.pow(e,2)*Math.pow(h.y,2)+Math.pow(n,2)*Math.pow(h.x,2)),f=(i!==o?1:-1)*Math.sqrt(d=d<0?0:d),v={x:f*(e*h.y/n),y:f*(-(n*h.x)/e)},y={x:Math.cos(l)*v.x-Math.sin(l)*v.y+(t.x+a.x)/2,y:Math.sin(l)*v.x+Math.cos(l)*v.y+(t.y+a.y)/2},g={x:(h.x-v.x)/e,y:(h.y-v.y)/n},m=e$({x:1,y:0},g),E=e$(g,{x:(-h.x-v.x)/e,y:(-h.y-v.y)/n});!o&&E>0?E-=2*Math.PI:o&&E<0&&(E+=2*Math.PI);var x=m+(E%=2*Math.PI)*s,b=e*Math.cos(x),T=n*Math.sin(x);return{x:Math.cos(l)*b-Math.sin(l)*T+y.x,y:Math.sin(l)*b+Math.cos(l)*T+y.y,ellipticalArcStartAngle:m,ellipticalArcEndAngle:m+E,ellipticalArcAngle:x,ellipticalArcCenter:y,resultantRx:e,resultantRy:n}};function e0(t,e,n){void 0===n&&(n=!0);var r=t.arcParams,i=r.rx,o=void 0===i?0:i,a=r.ry,s=void 0===a?0:a,l=r.xRotation,u=r.arcFlag,c=r.sweepFlag,h=eQ({x:t.prePoint[0],y:t.prePoint[1]},o,s,l,!!u,!!c,{x:t.currentPoint[0],y:t.currentPoint[1]},e),p=eQ({x:t.prePoint[0],y:t.prePoint[1]},o,s,l,!!u,!!c,{x:t.currentPoint[0],y:t.currentPoint[1]},n?e+.005:e-.005),d=p.x-h.x,f=p.y-h.y,v=Math.sqrt(d*d+f*f);return{x:-d/v,y:-f/v}}function e1(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function e2(t,e){return e1(t)*e1(e)?(t[0]*e[0]+t[1]*e[1])/(e1(t)*e1(e)):1}function e3(t,e){return(t[0]*e[1]0&&n.push(r),{polygons:e,polylines:n}}(e),i=r.polygons,o=r.polylines,a=function(t){for(var e=[],n=null,r=null,i=null,o=0,a=t.length,s=0;s1&&(n*=Math.sqrt(d),r*=Math.sqrt(d));var f=n*n*(p*p)+r*r*(h*h),v=f?Math.sqrt((n*n*(r*r)-f)/f):1;o===a&&(v*=-1),isNaN(v)&&(v=0);var y=r?v*n*p/r:0,g=n?-(v*r)*h/n:0,m=(s+u)/2+Math.cos(i)*y-Math.sin(i)*g,E=(l+c)/2+Math.sin(i)*y+Math.cos(i)*g,x=[(h-y)/n,(p-g)/r],b=[(-1*h-y)/n,(-1*p-g)/r],T=e3([1,0],x),P=e3(x,b);return -1>=e2(x,b)&&(P=Math.PI),e2(x,b)>=1&&(P=0),0===a&&P>0&&(P-=2*Math.PI),1===a&&P<0&&(P+=2*Math.PI),{cx:m,cy:E,rx:eq(t,[u,c])?0:n,ry:eq(t,[u,c])?0:r,startAngle:T,endAngle:T+P,xRotation:i,arcFlag:o,sweepFlag:a}}(n,l);c.arcParams=h}if("Z"===u)n=i,r=t[o+1];else{var p=l.length;n=[l[p-2],l[p-1]]}r&&"Z"===r[0]&&(r=t[o],e[o]&&(e[o].prePoint=n)),c.currentPoint=n,e[o]&&eq(n,e[o].currentPoint)&&(e[o].prePoint=c.prePoint);var d=r?[r[r.length-2],r[r.length-1]]:null;c.nextPoint=d;var f=c.prePoint;if(["L","H","V"].includes(u))c.startTangent=[f[0]-n[0],f[1]-n[1]],c.endTangent=[n[0]-f[0],n[1]-f[1]];else if("Q"===u){var v=[l[1],l[2]];c.startTangent=[f[0]-v[0],f[1]-v[1]],c.endTangent=[n[0]-v[0],n[1]-v[1]]}else if("T"===u){var y=e[s-1],v=eJ(y.currentPoint,f);"Q"===y.command?(c.command="Q",c.startTangent=[f[0]-v[0],f[1]-v[1]],c.endTangent=[n[0]-v[0],n[1]-v[1]]):(c.command="TL",c.startTangent=[f[0]-n[0],f[1]-n[1]],c.endTangent=[n[0]-f[0],n[1]-f[1]])}else if("C"===u){var g=[l[1],l[2]],m=[l[3],l[4]];c.startTangent=[f[0]-g[0],f[1]-g[1]],c.endTangent=[n[0]-m[0],n[1]-m[1]],0===c.startTangent[0]&&0===c.startTangent[1]&&(c.startTangent=[g[0]-m[0],g[1]-m[1]]),0===c.endTangent[0]&&0===c.endTangent[1]&&(c.endTangent=[m[0]-g[0],m[1]-g[1]])}else if("S"===u){var y=e[s-1],g=eJ(y.currentPoint,f),m=[l[1],l[2]];"C"===y.command?(c.command="C",c.startTangent=[f[0]-g[0],f[1]-g[1]],c.endTangent=[n[0]-m[0],n[1]-m[1]]):(c.command="SQ",c.startTangent=[f[0]-m[0],f[1]-m[1]],c.endTangent=[n[0]-m[0],n[1]-m[1]])}else if("A"===u){var E=e0(c,0),x=E.x,b=E.y,T=e0(c,1,!1),P=T.x,S=T.y;c.startTangent=[x,b],c.endTangent=[P,S]}e.push(c)}return e}(e),s=function(t,e){for(var n=[],r=[],i=[],o=0;oMath.abs(K.determinant(tF))))){var a=tB[3],s=tB[7],l=tB[11],u=tB[12],c=tB[13],h=tB[14],p=tB[15];if(0!==a||0!==s||0!==l){if(t_[0]=a,t_[1]=s,t_[2]=l,t_[3]=p,!K.invert(tF,tF))return;K.transpose(tF,tF),$.fF(i,t_,tF)}else i[0]=i[1]=i[2]=0,i[3]=1;if(e[0]=u,e[1]=c,e[2]=h,tU[0][0]=tB[0],tU[0][1]=tB[1],tU[0][2]=tB[2],tU[1][0]=tB[4],tU[1][1]=tB[5],tU[1][2]=tB[6],tU[2][0]=tB[8],tU[2][1]=tB[9],tU[2][2]=tB[10],n[0]=q.kE(tU[0]),q.Fv(tU[0],tU[0]),r[0]=q.AK(tU[0],tU[1]),tZ(tU[1],tU[1],tU[0],1,-r[0]),n[1]=q.kE(tU[1]),q.Fv(tU[1],tU[1]),r[0]/=n[1],r[1]=q.AK(tU[0],tU[2]),tZ(tU[2],tU[2],tU[0],1,-r[1]),r[2]=q.AK(tU[1],tU[2]),tZ(tU[2],tU[2],tU[1],1,-r[2]),n[2]=q.kE(tU[2]),q.Fv(tU[2],tU[2]),r[1]/=n[2],r[2]/=n[2],q.kC(tV,tU[1],tU[2]),0>q.AK(tU[0],tV))for(var d=0;d<3;d++)n[d]*=-1,tU[d][0]*=-1,tU[d][1]*=-1,tU[d][2]*=-1;o[0]=.5*Math.sqrt(Math.max(1+tU[0][0]-tU[1][1]-tU[2][2],0)),o[1]=.5*Math.sqrt(Math.max(1-tU[0][0]+tU[1][1]-tU[2][2],0)),o[2]=.5*Math.sqrt(Math.max(1-tU[0][0]-tU[1][1]+tU[2][2],0)),o[3]=.5*Math.sqrt(Math.max(1+tU[0][0]+tU[1][1]+tU[2][2],0)),tU[2][1]>tU[1][2]&&(o[0]=-o[0]),tU[0][2]>tU[2][0]&&(o[1]=-o[1]),tU[1][0]>tU[0][1]&&(o[2]=-o[2])}}(0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(no).reduce(na),e,n,r,i,o),[[e,n,r,o,i]]}var nl=function(){function t(t,e){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=e[r][o]*t[o][i];return n}return function(e,n,r,i,o){for(var a,s=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],l=0;l<4;l++)s[l][3]=o[l];for(var l=0;l<3;l++)for(var u=0;u<3;u++)s[3][l]+=e[u]*s[u][l];var c=i[0],h=i[1],p=i[2],d=i[3],f=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];f[0][0]=1-2*(h*h+p*p),f[0][1]=2*(c*h-p*d),f[0][2]=2*(c*p+h*d),f[1][0]=2*(c*h+p*d),f[1][1]=1-2*(c*c+p*p),f[1][2]=2*(h*p-c*d),f[2][0]=2*(c*p-h*d),f[2][1]=2*(h*p+c*d),f[2][2]=1-2*(c*c+h*h),s=t(s,f);var v=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];r[2]&&(v[2][1]=r[2],s=t(s,v)),r[1]&&(v[2][1]=0,v[2][0]=r[0],s=t(s,v)),r[0]&&(v[2][0]=0,v[1][0]=r[0],s=t(s,v));for(var l=0;l<3;l++)for(var u=0;u<3;u++)s[l][u]*=n[l];return 0==(a=s)[0][2]&&0==a[0][3]&&0==a[1][2]&&0==a[1][3]&&0==a[2][0]&&0==a[2][1]&&1==a[2][2]&&0==a[2][3]&&0==a[3][2]&&1==a[3][3]?[s[0][0],s[0][1],s[1][0],s[1][1],s[3][0],s[3][1]]:s[0].concat(s[1],s[2],s[3])}}();function nu(t){return t.toFixed(6).replace(".000000","")}function nc(t,e){var n,r;return(t.decompositionPair!==e&&(t.decompositionPair=e,n=ns(t)),e.decompositionPair!==t&&(e.decompositionPair=t,r=ns(e)),null===n[0]||null===r[0])?[[!1],[!0],function(n){return n?e[0].d:t[0].d}]:(n[0].push(0),r[0].push(1),[n,r,function(t){var e=function(t,e,n){var r=function(t,e){for(var n=0,r=0;r"].calculator(null,null,{value:e.textTransform},t,null),(0,tg.Z)(e.clipPath)||this.runtime.CSSPropertySyntaxFactory[""].calculator("clipPath",p,e.clipPath,t,this.runtime),e.offsetPath&&this.runtime.CSSPropertySyntaxFactory[""].calculator("offsetPath",d,e.offsetPath,t,this.runtime),e.transform&&(t.parsedStyle.transform=nr(e.transform)),e.transformOrigin&&(t.parsedStyle.transformOrigin=nf(e.transformOrigin)),e.markerStart&&(t.parsedStyle.markerStart=this.runtime.CSSPropertySyntaxFactory[""].calculator(null,e.markerStart,e.markerStart,null,null)),e.markerEnd&&(t.parsedStyle.markerEnd=this.runtime.CSSPropertySyntaxFactory[""].calculator(null,e.markerEnd,e.markerEnd,null,null)),e.markerMid&&(t.parsedStyle.markerMid=this.runtime.CSSPropertySyntaxFactory[""].calculator("",e.markerMid,e.markerMid,null,null)),(0,tn.Z)(e.zIndex)||this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),(0,tn.Z)(e.offsetDistance)||this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),e.transform&&this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),e.transformOrigin&&this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),f&&(t.geometry.dirty=!0,t.renderable.boundsDirty=!0,t.renderable.renderBoundsDirty=!0,n.forceUpdateGeometry||this.runtime.sceneGraphService.dirtifyToRoot(t))}},t.prototype.parseProperty=function(t,e,n,r){var i=nE[t],o=e;if((""===e||(0,tn.Z)(e))&&(e="unset"),"unset"===e||"initial"===e||"inherit"===e)o=eh(e);else if(i){var a=i.k,s=i.syntax,l=s&&this.getPropertySyntax(s);a&&a.indexOf(e)>-1?o=eh(e):l&&(!r&&l.parserUnmemoize?o=l.parserUnmemoize(e,n):l.parser&&(o=l.parser(e,n)))}return o},t.prototype.computeProperty=function(t,e,n,r){var i=nE[t],o="g-root"===n.id,a=e;if(i){var s=i.syntax,l=i.inh,u=i.d;if(e instanceof t8){var c=e.value;if("unset"===c&&(c=l&&!o?"inherit":"initial"),"initial"===c)(0,tn.Z)(u)||(e=this.parseProperty(t,et(u)?u(n.nodeName):u,n,r));else if("inherit"===c){var h=this.tryToResolveProperty(n,t,{inherited:!0});return(0,tn.Z)(h)?void this.addUnresolveProperty(n,t):h}}var p=s&&this.getPropertySyntax(s);if(p&&p.calculator){var d=n.parsedStyle[t];a=p.calculator(t,d,e,n,this.runtime)}else a=e instanceof t8?e.value:e}return a},t.prototype.postProcessProperty=function(t,e,n){var r=nE[t];if(r&&r.syntax){var i=r.syntax&&this.getPropertySyntax(r.syntax);i&&i.postProcessor&&i.postProcessor(e,n)}},t.prototype.addUnresolveProperty=function(t,e){var n=nx.get(t);n||(nx.set(t,[]),n=nx.get(t)),-1===n.indexOf(e)&&n.push(e)},t.prototype.tryToResolveProperty=function(t,e,n){if(void 0===n&&(n={}),n.inherited&&t.parentElement&&nb(t.parentElement,e)){var r=t.parentElement.parsedStyle[e];if("unset"!==r&&"initial"!==r&&"inherit"!==r)return r}},t.prototype.recalc=function(t){var e=nx.get(t);if(e&&e.length){var n={};e.forEach(function(e){n[e]=t.attributes[e]}),this.processProperties(t,n),nx.delete(t)}},t.prototype.updateGeometry=function(t){var e=t.nodeName,n=this.runtime.geometryUpdaterFactory[e];if(n){var r=t.geometry;r.contentBounds||(r.contentBounds=new tY),r.renderBounds||(r.renderBounds=new tY);var i=t.parsedStyle,o=n.update(i,t),a=o.cx,s=o.cy,l=o.cz,u=o.hwidth,c=void 0===u?0:u,h=o.hheight,p=void 0===h?0:h,d=o.hdepth,f=[Math.abs(c),Math.abs(p),void 0===d?0:d],v=i.stroke,y=i.lineWidth,g=i.increasedLineWidthForHitTesting,m=i.shadowType,E=void 0===m?"outer":m,x=i.shadowColor,b=i.filter,T=i.transformOrigin,P=[void 0===a?0:a,void 0===s?0:s,void 0===l?0:l];r.contentBounds.update(P,f);var S=e===k.POLYLINE||e===k.POLYGON||e===k.PATH?Math.SQRT2:.5;if(v&&!v.isNone){var N=(((void 0===y?1:y)||0)+((void 0===g?0:g)||0))*S;f[0]+=N,f[1]+=N}if(r.renderBounds.update(P,f),x&&E&&"inner"!==E){var C=r.renderBounds,w=C.min,M=C.max,R=i.shadowBlur,A=i.shadowOffsetX,O=i.shadowOffsetY,I=R||0,L=A||0,D=O||0,G=w[0]-I+L,B=M[0]+I+L,F=w[1]-I+D,_=M[1]+I+D;w[0]=Math.min(w[0],G),M[0]=Math.max(M[0],B),w[1]=Math.min(w[1],F),M[1]=Math.max(M[1],_),r.renderBounds.setMinMax(w,M)}(void 0===b?[]:b).forEach(function(t){var e=t.name,n=t.params;if("blur"===e){var i=n[0].value;r.renderBounds.update(r.renderBounds.center,tM(r.renderBounds.halfExtents,r.renderBounds.halfExtents,[i,i,0]))}else if("drop-shadow"===e){var o=n[0].value,a=n[1].value,s=n[2].value,l=r.renderBounds,u=l.min,c=l.max,h=u[0]-s+o,p=c[0]+s+o,d=u[1]-s+a,f=c[1]+s+a;u[0]=Math.min(u[0],h),c[0]=Math.max(c[0],p),u[1]=Math.min(u[1],d),c[1]=Math.max(c[1],f),r.renderBounds.setMinMax(u,c)}}),t.geometry.dirty=!1;var U=p<0,V=(c<0?-1:1)*(T?e_(T[0],0,t,!0):0),Z=(U?-1:1)*(T?e_(T[1],1,t,!0):0);(V||Z)&&t.setOrigin(V,Z)}},t.prototype.updateSizeAttenuation=function(t,e){t.style.isSizeAttenuation?(t.style.rawLineWidth||(t.style.rawLineWidth=t.style.lineWidth),t.style.lineWidth=(t.style.rawLineWidth||1)/e,t.nodeName===k.CIRCLE&&(t.style.rawR||(t.style.rawR=t.style.r),t.style.r=(t.style.rawR||1)/e)):(t.style.rawLineWidth&&(t.style.lineWidth=t.style.rawLineWidth,delete t.style.rawLineWidth),t.nodeName===k.CIRCLE&&t.style.rawR&&(t.style.r=t.style.rawR,delete t.style.rawR))},t.prototype.isPropertyInheritable=function(t){var e=nE[t];return!!e&&e.inh},t}(),nP=function(){function t(){this.parser=eD,this.parserUnmemoize=eL,this.parserWithCSSDisabled=null,this.mixer=eX}return t.prototype.calculator=function(t,e,n,r){return eG(n)},t}(),nS=function(){function t(){}return t.prototype.calculator=function(t,e,n,r,i){return n instanceof t8&&(n=null),i.sceneGraphService.updateDisplayObjectDependency(t,e,n,r),"clipPath"===t&&r.forEach(function(t){0===t.childNodes.length&&i.sceneGraphService.dirtifyToRoot(t)}),n},t}(),nN=function(){function t(){this.parser=ew,this.parserWithCSSDisabled=ew,this.mixer=ek}return t.prototype.calculator=function(t,e,n,r){return n instanceof t8?"none"===n.value?ep:ed:n},t}(),nC=function(){function t(){this.parser=eV}return t.prototype.calculator=function(t,e,n){return n instanceof t8?[]:n},t}();function nw(t){var e=t.parsedStyle.fontSize;return(0,tn.Z)(e)?null:e}var nk=function(){function t(){this.parser=eI,this.parserUnmemoize=eO,this.parserWithCSSDisabled=null,this.mixer=eX}return t.prototype.calculator=function(t,e,n,r,i){if((0,te.Z)(n))return n;if(!eo.isRelativeUnit(n.unit))return n.value;var o,a=i.styleValueRegistry;if(n.unit===L.kPercentage)return 0;if(n.unit===L.kEms){if(r.parentNode){var s=nw(r.parentNode);if(s)return s*n.value;a.addUnresolveProperty(r,t)}else a.addUnresolveProperty(r,t);return 0}if(n.unit===L.kRems){if(null===(o=null==r?void 0:r.ownerDocument)||void 0===o?void 0:o.documentElement){var s=nw(r.ownerDocument.documentElement);if(s)return s*n.value;a.addUnresolveProperty(r,t)}else a.addUnresolveProperty(r,t);return 0}},t}(),nM=function(){function t(){this.mixer=eW}return t.prototype.parser=function(t){var e=eF((0,te.Z)(t)?[t]:t);return 1===e.length?[e[0],e[0]]:[e[0],e[1]]},t.prototype.calculator=function(t,e,n){return n.map(function(t){return t.value})},t}(),nR=function(){function t(){this.mixer=eW}return t.prototype.parser=function(t){var e=eF((0,te.Z)(t)?[t]:t);return 1===e.length?[e[0],e[0],e[0],e[0]]:2===e.length?[e[0],e[1],e[0],e[1]]:3===e.length?[e[0],e[1],e[2],e[1]]:[e[0],e[1],e[2],e[3]]},t.prototype.calculator=function(t,e,n){return n.map(function(t){return t.value})},t}(),nA=function(){function t(){}return t.prototype.calculator=function(t,e,n,r){n instanceof t8&&(n=null);var i=null==n?void 0:n.cloneNode(!0);return i&&(i.style.isMarker=!0),i},t}(),nO=function(){function t(){this.mixer=eX,this.parser=ez,this.parserUnmemoize=eY,this.parserWithCSSDisabled=null}return t.prototype.calculator=function(t,e,n){return n.value},t}(),nI=function(){function t(){this.parser=ez,this.parserUnmemoize=eY,this.parserWithCSSDisabled=null,this.mixer=ej(0,1)}return t.prototype.calculator=function(t,e,n){return n.value},t.prototype.postProcessor=function(t){var e=t.parsedStyle,n=e.offsetPath,r=e.offsetDistance;if(n){var i=n.nodeName;if(i===k.LINE||i===k.PATH||i===k.POLYLINE){var o=n.getPoint(r);o&&t.setLocalPosition(o.x,o.y)}}},t}(),nL=function(){function t(){this.parser=ez,this.parserUnmemoize=eY,this.parserWithCSSDisabled=null,this.mixer=ej(0,1)}return t.prototype.calculator=function(t,e,n){return n.value},t}(),nD=function(){function t(){this.parser=e9,this.parserWithCSSDisabled=e9,this.mixer=e8}return t.prototype.calculator=function(t,e,n){return n instanceof t8&&"unset"===n.value?{absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new tW(0,0,0,0)}:n},t}(),nG=function(t){function e(){var e=t.apply(this,(0,W.ev)([],(0,W.CR)(arguments),!1))||this;return e.mixer=ej(0,1/0),e}return(0,W.ZT)(e,t),e}(nk),nB=function(){function t(){}return t.prototype.calculator=function(t,e,n,r){return n instanceof t8?"unset"===n.value?"":n.value:"".concat(n)},t.prototype.postProcessor=function(t){t.nodeValue="".concat(t.parsedStyle.text)||""},t}(),nF=function(){function t(){}return t.prototype.calculator=function(t,e,n,r){var i=r.getAttribute("text");if(i){var o=i;"capitalize"===n.value?o=i.charAt(0).toUpperCase()+i.slice(1):"lowercase"===n.value?o=i.toLowerCase():"uppercase"===n.value&&(o=i.toUpperCase()),r.parsedStyle.text=o}return n.value},t}(),n_={},nU=0,nV="undefined"!=typeof window&&void 0!==window.document;function nZ(t,e){var n=Number(t.parsedStyle.zIndex||0),r=Number(e.parsedStyle.zIndex||0);if(n===r){var i=t.parentNode;if(i){var o=i.childNodes||[];return o.indexOf(t)-o.indexOf(e)}}return n-r}function nY(t){var e,n=t;do{if(null===(e=n.parsedStyle)||void 0===e?void 0:e.clipPath)return n;n=n.parentElement}while(null!==n);return null}function nz(t,e){if(nV)return document.defaultView.getComputedStyle(t,null).getPropertyValue(e)}var nX={touchstart:"pointerdown",touchend:"pointerup",touchendoutside:"pointerupoutside",touchmove:"pointermove",touchcancel:"pointercancel"},nj="object"==typeof performance&&performance.now?performance:Date;function nW(t,e,n){void 0===t&&(t="auto");var r=!1,i=!1,o=!!e&&!e.isNone,a=!!n&&!n.isNone;return"visiblepainted"===t||"painted"===t||"auto"===t?(r=o,i=a):"visiblefill"===t||"fill"===t?r=!0:"visiblestroke"===t||"stroke"===t?i=!0:("visible"===t||"all"===t)&&(r=!0,i=!0),[r,i]}var nH=1,nq="object"==typeof self&&self.self==self?self:"object"==typeof n.g&&n.g.global==n.g?n.g:{},nK=Date.now(),nJ={},n$=Date.now(),nQ=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function");var e=Date.now(),n=e-n$,r=nH++;return nJ[r]=t,Object.keys(nJ).length>1||setTimeout(function(){n$=e;var t=nJ;nJ={},Object.keys(t).forEach(function(e){return t[e](nq.performance&&"function"==typeof nq.performance.now?nq.performance.now():Date.now()-nK)})},n>16?0:16-n),r},n0=function(t){return"string"!=typeof t?nQ:""===t?nq.requestAnimationFrame:nq[t+"RequestAnimationFrame"]},n1=function(t,e){for(var n=0;void 0!==t[n];){if(e(t[n]))return t[n];n+=1}}(["","webkit","moz","ms","o"],function(t){return!!n0(t)}),n2=n0(n1),n3="string"!=typeof n1?function(t){delete nJ[t]}:""===n1?nq.cancelAnimationFrame:nq[n1+"CancelAnimationFrame"]||nq[n1+"CancelRequestAnimationFrame"];nq.requestAnimationFrame=n2,nq.cancelAnimationFrame=n3;var n5=function(){function t(){this.callbacks=[]}return t.prototype.getCallbacksNum=function(){return this.callbacks.length},t.prototype.tapPromise=function(t,e){this.callbacks.push(e)},t.prototype.promise=function(){for(var t=[],e=0;e-1){var l=(0,W.CR)(t.split(":"),2),u=l[0];t=l[1],s=u,a=!0}if(t=r?"".concat(t,"capture"):t,e=et(e)?e:e.handleEvent,a){var c=e;e=function(){for(var t,e=[],n=0;n0},e.prototype.isDefaultNamespace=function(t){throw Error(tH)},e.prototype.lookupNamespaceURI=function(t){throw Error(tH)},e.prototype.lookupPrefix=function(t){throw Error(tH)},e.prototype.normalize=function(){throw Error(tH)},e.prototype.isEqualNode=function(t){return this===t},e.prototype.isSameNode=function(t){return this.isEqualNode(t)},Object.defineProperty(e.prototype,"parent",{get:function(){return this.parentNode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentElement",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.childNodes.length>0?this.childNodes[0]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.childNodes.length>0?this.childNodes[this.childNodes.length-1]:null},enumerable:!1,configurable:!0}),e.prototype.compareDocumentPosition=function(t){if(t===this)return 0;for(var n,r=t,i=this,o=[r],a=[i];null!==(n=r.parentNode)&&void 0!==n?n:i.parentNode;)r=r.parentNode?(o.push(r.parentNode),r.parentNode):r,i=i.parentNode?(a.push(i.parentNode),i.parentNode):i;if(r!==i)return e.DOCUMENT_POSITION_DISCONNECTED|e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|e.DOCUMENT_POSITION_PRECEDING;var s=o.length>a.length?o:a,l=s===o?a:o;if(s[s.length-l.length]===l[0])return s===o?e.DOCUMENT_POSITION_CONTAINED_BY|e.DOCUMENT_POSITION_FOLLOWING:e.DOCUMENT_POSITION_CONTAINS|e.DOCUMENT_POSITION_PRECEDING;for(var u=s.length-l.length,c=l.length-1;c>=0;c--){var h=l[c],p=s[u+c];if(p!==h){var d=h.parentNode.childNodes;if(d.indexOf(h)0&&e;)e=e.parentNode,t--;return e},e.prototype.forEach=function(t,e){void 0===e&&(e=!1),t(this)||(e?this.childNodes.slice():this.childNodes).forEach(function(e){e.forEach(t)})},e.DOCUMENT_POSITION_DISCONNECTED=1,e.DOCUMENT_POSITION_PRECEDING=2,e.DOCUMENT_POSITION_FOLLOWING=4,e.DOCUMENT_POSITION_CONTAINS=8,e.DOCUMENT_POSITION_CONTAINED_BY=16,e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32,e}(rE),rb=function(){function t(t,e){var n=this;this.globalRuntime=t,this.context=e,this.emitter=new H.Z,this.nativeHTMLMap=new WeakMap,this.cursor="default",this.mappingTable={},this.mappingState={trackingData:{}},this.eventPool=new Map,this.tmpMatrix=K.create(),this.tmpVec3=q.Ue(),this.onPointerDown=function(t){var e=n.createPointerEvent(t);if(n.dispatchEvent(e,"pointerdown"),"touch"===e.pointerType)n.dispatchEvent(e,"touchstart");else if("mouse"===e.pointerType||"pen"===e.pointerType){var r=2===e.button;n.dispatchEvent(e,r?"rightdown":"mousedown")}n.trackingData(t.pointerId).pressTargetsByButton[t.button]=e.composedPath(),n.freeEvent(e)},this.onPointerUp=function(t){var e,r=nj.now(),i=n.createPointerEvent(t,void 0,void 0,n.context.config.alwaysTriggerPointerEventOnCanvas?n.rootTarget:void 0);if(n.dispatchEvent(i,"pointerup"),"touch"===i.pointerType)n.dispatchEvent(i,"touchend");else if("mouse"===i.pointerType||"pen"===i.pointerType){var o=2===i.button;n.dispatchEvent(i,o?"rightup":"mouseup")}var a=n.trackingData(t.pointerId),s=n.findMountedTarget(a.pressTargetsByButton[t.button]),l=s;if(s&&!i.composedPath().includes(s)){for(var u=s;u&&!i.composedPath().includes(u);){if(i.currentTarget=u,n.notifyTarget(i,"pointerupoutside"),"touch"===i.pointerType)n.notifyTarget(i,"touchendoutside");else if("mouse"===i.pointerType||"pen"===i.pointerType){var o=2===i.button;n.notifyTarget(i,o?"rightupoutside":"mouseupoutside")}rx.isNode(u)&&(u=u.parentNode)}delete a.pressTargetsByButton[t.button],l=u}if(l){var c=n.clonePointerEvent(i,"click");c.target=l,c.path=[],a.clicksByButton[t.button]||(a.clicksByButton[t.button]={clickCount:0,target:c.target,timeStamp:r});var h=a.clicksByButton[t.button];h.target===c.target&&r-h.timeStamp<200?++h.clickCount:h.clickCount=1,h.target=c.target,h.timeStamp=r,c.detail=h.clickCount,(null===(e=i.detail)||void 0===e?void 0:e.preventClick)||(n.context.config.useNativeClickEvent||"mouse"!==c.pointerType&&"touch"!==c.pointerType||n.dispatchEvent(c,"click"),n.dispatchEvent(c,"pointertap")),n.freeEvent(c)}n.freeEvent(i)},this.onPointerMove=function(t){var e=n.createPointerEvent(t,void 0,void 0,n.context.config.alwaysTriggerPointerEventOnCanvas?n.rootTarget:void 0),r="mouse"===e.pointerType||"pen"===e.pointerType,i=n.trackingData(t.pointerId),o=n.findMountedTarget(i.overTargets);if(i.overTargets&&o!==e.target){var a="mousemove"===t.type?"mouseout":"pointerout",s=n.createPointerEvent(t,a,o||void 0);if(n.dispatchEvent(s,"pointerout"),r&&n.dispatchEvent(s,"mouseout"),!e.composedPath().includes(o)){var l=n.createPointerEvent(t,"pointerleave",o||void 0);for(l.eventPhase=l.AT_TARGET;l.target&&!e.composedPath().includes(l.target);)l.currentTarget=l.target,n.notifyTarget(l),r&&n.notifyTarget(l,"mouseleave"),rx.isNode(l.target)&&(l.target=l.target.parentNode);n.freeEvent(l)}n.freeEvent(s)}if(o!==e.target){var u="mousemove"===t.type?"mouseover":"pointerover",c=n.clonePointerEvent(e,u);n.dispatchEvent(c,"pointerover"),r&&n.dispatchEvent(c,"mouseover");for(var h=o&&rx.isNode(o)&&o.parentNode;h&&h!==(rx.isNode(n.rootTarget)&&n.rootTarget.parentNode)&&h!==e.target;)h=h.parentNode;if(!h||h===(rx.isNode(n.rootTarget)&&n.rootTarget.parentNode)){var p=n.clonePointerEvent(e,"pointerenter");for(p.eventPhase=p.AT_TARGET;p.target&&p.target!==o&&p.target!==(rx.isNode(n.rootTarget)&&n.rootTarget.parentNode);)p.currentTarget=p.target,n.notifyTarget(p),r&&n.notifyTarget(p,"mouseenter"),rx.isNode(p.target)&&(p.target=p.target.parentNode);n.freeEvent(p)}n.freeEvent(c)}n.dispatchEvent(e,"pointermove"),"touch"===e.pointerType&&n.dispatchEvent(e,"touchmove"),r&&(n.dispatchEvent(e,"mousemove"),n.cursor=n.getCursor(e.target)),i.overTargets=e.composedPath(),n.freeEvent(e)},this.onPointerOut=function(t){var e=n.trackingData(t.pointerId);if(e.overTargets){var r="mouse"===t.pointerType||"pen"===t.pointerType,i=n.findMountedTarget(e.overTargets),o=n.createPointerEvent(t,"pointerout",i||void 0);n.dispatchEvent(o),r&&n.dispatchEvent(o,"mouseout");var a=n.createPointerEvent(t,"pointerleave",i||void 0);for(a.eventPhase=a.AT_TARGET;a.target&&a.target!==(rx.isNode(n.rootTarget)&&n.rootTarget.parentNode);)a.currentTarget=a.target,n.notifyTarget(a),r&&n.notifyTarget(a,"mouseleave"),rx.isNode(a.target)&&(a.target=a.target.parentNode);e.overTargets=null,n.freeEvent(o),n.freeEvent(a)}n.cursor=null},this.onPointerOver=function(t){var e=n.trackingData(t.pointerId),r=n.createPointerEvent(t),i="mouse"===r.pointerType||"pen"===r.pointerType;n.dispatchEvent(r,"pointerover"),i&&n.dispatchEvent(r,"mouseover"),"mouse"===r.pointerType&&(n.cursor=n.getCursor(r.target));var o=n.clonePointerEvent(r,"pointerenter");for(o.eventPhase=o.AT_TARGET;o.target&&o.target!==(rx.isNode(n.rootTarget)&&n.rootTarget.parentNode);)o.currentTarget=o.target,n.notifyTarget(o),i&&n.notifyTarget(o,"mouseenter"),rx.isNode(o.target)&&(o.target=o.target.parentNode);e.overTargets=r.composedPath(),n.freeEvent(r),n.freeEvent(o)},this.onPointerUpOutside=function(t){var e=n.trackingData(t.pointerId),r=n.findMountedTarget(e.pressTargetsByButton[t.button]),i=n.createPointerEvent(t);if(r){for(var o=r;o;)i.currentTarget=o,n.notifyTarget(i,"pointerupoutside"),"touch"===i.pointerType||("mouse"===i.pointerType||"pen"===i.pointerType)&&n.notifyTarget(i,2===i.button?"rightupoutside":"mouseupoutside"),rx.isNode(o)&&(o=o.parentNode);delete e.pressTargetsByButton[t.button]}n.freeEvent(i)},this.onWheel=function(t){var e=n.createWheelEvent(t);n.dispatchEvent(e),n.freeEvent(e)},this.onClick=function(t){if(n.context.config.useNativeClickEvent){var e=n.createPointerEvent(t);n.dispatchEvent(e),n.freeEvent(e)}},this.onPointerCancel=function(t){var e=n.createPointerEvent(t,void 0,void 0,n.context.config.alwaysTriggerPointerEventOnCanvas?n.rootTarget:void 0);n.dispatchEvent(e),n.freeEvent(e)}}return t.prototype.init=function(){this.rootTarget=this.context.renderingContext.root.parentNode,this.addEventMapping("pointerdown",this.onPointerDown),this.addEventMapping("pointerup",this.onPointerUp),this.addEventMapping("pointermove",this.onPointerMove),this.addEventMapping("pointerout",this.onPointerOut),this.addEventMapping("pointerleave",this.onPointerOut),this.addEventMapping("pointercancel",this.onPointerCancel),this.addEventMapping("pointerover",this.onPointerOver),this.addEventMapping("pointerupoutside",this.onPointerUpOutside),this.addEventMapping("wheel",this.onWheel),this.addEventMapping("click",this.onClick)},t.prototype.destroy=function(){this.emitter.removeAllListeners(),this.mappingTable={},this.mappingState={},this.eventPool.clear()},t.prototype.getScale=function(){var t=this.context.contextService.getBoundingClientRect(),e=1,n=1,r=this.context.contextService.getDomElement();if(r&&t){var i=r.offsetWidth,o=r.offsetHeight;i&&o&&(e=t.width/i,n=t.height/o)}return{scaleX:e,scaleY:n,bbox:t}},t.prototype.client2Viewport=function(t){var e=this.getScale(),n=e.scaleX,r=e.scaleY,i=e.bbox;return new tj((t.x-((null==i?void 0:i.left)||0))/n,(t.y-((null==i?void 0:i.top)||0))/r)},t.prototype.viewport2Client=function(t){var e=this.getScale(),n=e.scaleX,r=e.scaleY,i=e.bbox;return new tj((t.x+((null==i?void 0:i.left)||0))*n,(t.y+((null==i?void 0:i.top)||0))*r)},t.prototype.viewport2Canvas=function(t){var e=t.x,n=t.y,r=this.rootTarget.defaultView.getCamera(),i=this.context.config,o=i.width,a=i.height,s=r.getPerspectiveInverse(),l=r.getWorldTransform(),u=K.multiply(this.tmpMatrix,l,s),c=q.t8(this.tmpVec3,e/o*2-1,(1-n/a)*2-1,0);return q.fF(c,c,u),new tj(c[0],c[1])},t.prototype.canvas2Viewport=function(t){var e=this.rootTarget.defaultView.getCamera(),n=e.getPerspective(),r=e.getViewTransform(),i=K.multiply(this.tmpMatrix,n,r),o=q.t8(this.tmpVec3,t.x,t.y,0);q.fF(this.tmpVec3,this.tmpVec3,i);var a=this.context.config,s=a.width,l=a.height;return new tj((o[0]+1)/2*s,(1-(o[1]+1)/2)*l)},t.prototype.setPickHandler=function(t){this.pickHandler=t},t.prototype.addEventMapping=function(t,e){this.mappingTable[t]||(this.mappingTable[t]=[]),this.mappingTable[t].push({fn:e,priority:0}),this.mappingTable[t].sort(function(t,e){return t.priority-e.priority})},t.prototype.mapEvent=function(t){if(this.rootTarget){var e=this.mappingTable[t.type];if(e)for(var n=0,r=e.length;n=1;r--)if(t.currentTarget=n[r],this.notifyTarget(t,e),t.propagationStopped||t.propagationImmediatelyStopped)return;if(t.eventPhase=t.AT_TARGET,t.currentTarget=t.target,this.notifyTarget(t,e),!t.propagationStopped&&!t.propagationImmediatelyStopped){var i=n.indexOf(t.currentTarget);t.eventPhase=t.BUBBLING_PHASE;for(var r=i+1;ri||n>o?null:!a&&this.pickHandler(t)||this.rootTarget||null},t.prototype.isNativeEventFromCanvas=function(t,e){var n=null==e?void 0:e.target;if((null==n?void 0:n.shadowRoot)&&(n=e.composedPath()[0]),n){if(n===t)return!0;if(t&&t.contains)return t.contains(n)}return null!=e&&!!e.composedPath&&e.composedPath().indexOf(t)>-1},t.prototype.getExistedHTML=function(t){var e,n;if(t.nativeEvent.composedPath)try{for(var r=(0,W.XA)(t.nativeEvent.composedPath()),i=r.next();!i.done;i=r.next()){var o=i.value,a=this.nativeHTMLMap.get(o);if(a)return a}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype.pickTarget=function(t){return this.hitTest({clientX:t.clientX,clientY:t.clientY,viewportX:t.viewportX,viewportY:t.viewportY,x:t.canvasX,y:t.canvasY})},t.prototype.createPointerEvent=function(t,e,n,r){var i=this.allocateEvent(ry);this.copyPointerData(t,i),this.copyMouseData(t,i),this.copyData(t,i),i.nativeEvent=t.nativeEvent,i.originalEvent=t;var o=this.getExistedHTML(i),a=this.context.contextService.getDomElement();return i.target=null!=n?n:o||this.isNativeEventFromCanvas(a,i.nativeEvent)&&this.pickTarget(i)||r,"string"==typeof e&&(i.type=e),i},t.prototype.createWheelEvent=function(t){var e=this.allocateEvent(rg);this.copyWheelData(t,e),this.copyMouseData(t,e),this.copyData(t,e),e.nativeEvent=t.nativeEvent,e.originalEvent=t;var n=this.getExistedHTML(e),r=this.context.contextService.getDomElement();return e.target=n||this.isNativeEventFromCanvas(r,e.nativeEvent)&&this.pickTarget(e),e},t.prototype.trackingData=function(t){return this.mappingState.trackingData[t]||(this.mappingState.trackingData[t]={pressTargetsByButton:{},clicksByButton:{},overTarget:null}),this.mappingState.trackingData[t]},t.prototype.cloneWheelEvent=function(t){var e=this.allocateEvent(rg);return e.nativeEvent=t.nativeEvent,e.originalEvent=t.originalEvent,this.copyWheelData(t,e),this.copyMouseData(t,e),this.copyData(t,e),e.target=t.target,e.path=t.composedPath().slice(),e.type=t.type,e},t.prototype.clonePointerEvent=function(t,e){var n=this.allocateEvent(ry);return n.nativeEvent=t.nativeEvent,n.originalEvent=t.originalEvent,this.copyPointerData(t,n),this.copyMouseData(t,n),this.copyData(t,n),n.target=t.target,n.path=t.composedPath().slice(),n.type=null!=e?e:n.type,n},t.prototype.copyPointerData=function(t,e){e.pointerId=t.pointerId,e.width=t.width,e.height=t.height,e.isPrimary=t.isPrimary,e.pointerType=t.pointerType,e.pressure=t.pressure,e.tangentialPressure=t.tangentialPressure,e.tiltX=t.tiltX,e.tiltY=t.tiltY,e.twist=t.twist},t.prototype.copyMouseData=function(t,e){e.altKey=t.altKey,e.button=t.button,e.buttons=t.buttons,e.ctrlKey=t.ctrlKey,e.metaKey=t.metaKey,e.shiftKey=t.shiftKey,e.client.copyFrom(t.client),e.movement.copyFrom(t.movement),e.canvas.copyFrom(t.canvas),e.screen.copyFrom(t.screen),e.global.copyFrom(t.global),e.offset.copyFrom(t.offset)},t.prototype.copyWheelData=function(t,e){e.deltaMode=t.deltaMode,e.deltaX=t.deltaX,e.deltaY=t.deltaY,e.deltaZ=t.deltaZ},t.prototype.copyData=function(t,e){e.isTrusted=t.isTrusted,e.timeStamp=nj.now(),e.type=t.type,e.detail=t.detail,e.view=t.view,e.page.copyFrom(t.page),e.viewport.copyFrom(t.viewport)},t.prototype.allocateEvent=function(t){this.eventPool.has(t)||this.eventPool.set(t,[]);var e=this.eventPool.get(t).pop()||new t(this);return e.eventPhase=e.NONE,e.currentTarget=null,e.path=[],e.target=null,e},t.prototype.freeEvent=function(t){if(t.manager!==this)throw Error("It is illegal to free an event not managed by this EventBoundary!");var e=t.constructor;this.eventPool.has(e)||this.eventPool.set(e,[]),this.eventPool.get(e).push(t)},t.prototype.notifyTarget=function(t,e){e=null!=e?e:t.type;var n=t.eventPhase===t.CAPTURING_PHASE||t.eventPhase===t.AT_TARGET?"".concat(e,"capture"):e;this.notifyListeners(t,n),t.eventPhase===t.AT_TARGET&&this.notifyListeners(t,e)},t.prototype.notifyListeners=function(t,e){var n=t.currentTarget.emitter,r=n._events[e];if(r){if("fn"in r)r.once&&n.removeListener(e,r.fn,void 0,!0),r.fn.call(t.currentTarget||r.context,t);else for(var i=0;i=0;n--){var r=t[n];if(r===this.rootTarget||rx.isNode(r)&&r.parentNode===e)e=t[n];else break}return e},t.prototype.getCursor=function(t){for(var e=t;e;){var n=!!e.getAttribute&&e.getAttribute("cursor");if(n)return n;e=rx.isNode(e)&&e.parentNode}},t}(),rT=function(){function t(){}return t.prototype.getOrCreateCanvas=function(t,e){if(this.canvas)return this.canvas;if(t||rD.offscreenCanvas)this.canvas=t||rD.offscreenCanvas,this.context=this.canvas.getContext("2d",(0,W.pi)({willReadFrequently:!0},e));else try{this.canvas=new window.OffscreenCanvas(0,0),this.context=this.canvas.getContext("2d",(0,W.pi)({willReadFrequently:!0},e)),this.context&&this.context.measureText||(this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"))}catch(t){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d",(0,W.pi)({willReadFrequently:!0},e))}return this.canvas.width=10,this.canvas.height=10,this.canvas},t.prototype.getOrCreateContext=function(t,e){return this.context||this.getOrCreateCanvas(t,e),this.context},t}();(E=z||(z={}))[E.CAMERA_CHANGED=0]="CAMERA_CHANGED",E[E.DISPLAY_OBJECT_CHANGED=1]="DISPLAY_OBJECT_CHANGED",E[E.NONE=2]="NONE";var rP=function(){function t(t,e){this.globalRuntime=t,this.context=e,this.inited=!1,this.stats={total:0,rendered:0},this.zIndexCounter=0,this.hooks={init:new n9,initAsync:new n5,dirtycheck:new n8,cull:new n8,beginFrame:new n9,beforeRender:new n9,render:new n9,afterRender:new n9,endFrame:new n9,destroy:new n9,pick:new n4,pickSync:new n8,pointerDown:new n9,pointerUp:new n9,pointerMove:new n9,pointerOut:new n9,pointerOver:new n9,pointerWheel:new n9,pointerCancel:new n9,click:new n9}}return t.prototype.init=function(t){var e=this,n=(0,W.pi)((0,W.pi)({},this.globalRuntime),this.context);this.context.renderingPlugins.forEach(function(t){t.apply(n,e.globalRuntime)}),this.hooks.init.call(),0===this.hooks.initAsync.getCallbacksNum()?(this.inited=!0,t()):this.hooks.initAsync.promise().then(function(){e.inited=!0,t()})},t.prototype.getStats=function(){return this.stats},t.prototype.disableDirtyRectangleRendering=function(){return!this.context.config.renderer.getConfig().enableDirtyRectangleRendering||this.context.renderingContext.renderReasons.has(z.CAMERA_CHANGED)},t.prototype.render=function(t,e,n){var r=this;this.stats.total=0,this.stats.rendered=0,this.zIndexCounter=0;var i=this.context.renderingContext;if(this.globalRuntime.sceneGraphService.syncHierarchy(i.root),this.globalRuntime.sceneGraphService.triggerPendingEvents(),i.renderReasons.size&&this.inited){i.dirtyRectangleRenderingDisabled=this.disableDirtyRectangleRendering();var o=1===i.renderReasons.size&&i.renderReasons.has(z.CAMERA_CHANGED),a=!t.disableRenderHooks||!(t.disableRenderHooks&&o);a&&this.renderDisplayObject(i.root,t,i),this.hooks.beginFrame.call(e),a&&i.renderListCurrentFrame.forEach(function(t){r.hooks.beforeRender.call(t),r.hooks.render.call(t),r.hooks.afterRender.call(t)}),this.hooks.endFrame.call(e),i.renderListCurrentFrame=[],i.renderReasons.clear(),n()}},t.prototype.renderDisplayObject=function(t,e,n){var r=this,i=e.renderer.getConfig(),o=i.enableDirtyCheck,a=i.enableCulling;this.globalRuntime.enableCSSParsing&&this.globalRuntime.styleValueRegistry.recalc(t);var s=t.renderable,l=o?s.dirty||n.dirtyRectangleRenderingDisabled?t:null:t;if(l){var u=a?this.hooks.cull.call(l,this.context.camera):l;u&&(this.stats.rendered++,n.renderListCurrentFrame.push(u))}t.renderable.dirty=!1,t.sortable.renderOrder=this.zIndexCounter++,this.stats.total++;var c=t.sortable;c.dirty&&(this.sort(t,c),c.dirty=!1,c.dirtyChildren=[],c.dirtyReason=void 0),(c.sorted||t.childNodes).forEach(function(t){r.renderDisplayObject(t,e,n)})},t.prototype.sort=function(t,e){e.sorted&&e.dirtyReason!==Z.Z_INDEX_CHANGED?e.dirtyChildren.forEach(function(n){if(-1===t.childNodes.indexOf(n)){var r=e.sorted.indexOf(n);r>=0&&e.sorted.splice(r,1)}else if(0===e.sorted.length)e.sorted.push(n);else{var i=function(t,e){for(var n=0,r=t.length;n>>1;0>nZ(t[i],e)?n=i+1:r=i}return n}(e.sorted,n);e.sorted.splice(i,0,n)}}):e.sorted=t.childNodes.slice().sort(nZ)},t.prototype.destroy=function(){this.inited=!1,this.hooks.destroy.call(),this.globalRuntime.sceneGraphService.clearPendingEvents()},t.prototype.dirtify=function(){this.context.renderingContext.renderReasons.add(z.DISPLAY_OBJECT_CHANGED)},t}(),rS=/\[\s*(.*)=(.*)\s*\]/,rN=function(){function t(){}return t.prototype.selectOne=function(t,e){var n=this;if(t.startsWith("."))return e.find(function(e){return((null==e?void 0:e.classList)||[]).indexOf(n.getIdOrClassname(t))>-1});if(t.startsWith("#"))return e.find(function(e){return e.id===n.getIdOrClassname(t)});if(!t.startsWith("["))return e.find(function(n){return e!==n&&n.nodeName===t});var r=this.getAttribute(t),i=r.name,o=r.value;return i?e.find(function(t){return e!==t&&("name"===i?t.name===o:n.attributeToString(t,i)===o)}):null},t.prototype.selectAll=function(t,e){var n=this;if(t.startsWith("."))return e.findAll(function(r){return e!==r&&((null==r?void 0:r.classList)||[]).indexOf(n.getIdOrClassname(t))>-1});if(t.startsWith("#"))return e.findAll(function(r){return e!==r&&r.id===n.getIdOrClassname(t)});if(!t.startsWith("["))return e.findAll(function(n){return e!==n&&n.nodeName===t});var r=this.getAttribute(t),i=r.name,o=r.value;return i?e.findAll(function(t){return e!==t&&("name"===i?t.name===o:n.attributeToString(t,i)===o)}):[]},t.prototype.is=function(t,e){if(t.startsWith("."))return e.className===this.getIdOrClassname(t);if(t.startsWith("#"))return e.id===this.getIdOrClassname(t);if(!t.startsWith("["))return e.nodeName===t;var n=this.getAttribute(t),r=n.name,i=n.value;return"name"===r?e.name===i:this.attributeToString(e,r)===i},t.prototype.getIdOrClassname=function(t){return t.substring(1)},t.prototype.getAttribute=function(t){var e=t.match(rS),n="",r="";return e&&e.length>2&&(n=e[1].replace(/"/g,""),r=e[2].replace(/"/g,"")),{name:n,value:r}},t.prototype.attributeToString=function(t,e){if(!t.getAttribute)return"";var n=t.getAttribute(e);return(0,tn.Z)(n)?"":n.toString?n.toString():""},t}(),rC=function(t){function e(e,n,r,i,o,a,s,l){var u=t.call(this,null)||this;return u.relatedNode=n,u.prevValue=r,u.newValue=i,u.attrName=o,u.attrChange=a,u.prevParsedValue=s,u.newParsedValue=l,u.type=e,u}return(0,W.ZT)(e,t),e.ADDITION=2,e.MODIFICATION=1,e.REMOVAL=3,e}(rf);function rw(t){var e=t.renderable;e&&(e.renderBoundsDirty=!0,e.boundsDirty=!0)}(x=X||(X={})).REPARENT="reparent",x.DESTROY="destroy",x.ATTR_MODIFIED="DOMAttrModified",x.INSERTED="DOMNodeInserted",x.REMOVED="removed",x.MOUNTED="DOMNodeInsertedIntoDocument",x.UNMOUNTED="DOMNodeRemovedFromDocument",x.BOUNDS_CHANGED="bounds-changed",x.CULLED="culled";var rk=new rC(X.REPARENT,null,"","","",0,"",""),rM=function(){function t(t){var e,n,r,i,o,a,s,l,u,c,h,p,d=this;this.runtime=t,this.pendingEvents=[],this.boundsChangedEvent=new rm(X.BOUNDS_CHANGED),this.rotate=(e=Q.Ue(),function(t,n,r,i,o){void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=!0),"number"==typeof n&&(n=q.al(n,r,i));var a=t.transformable;if(null!==t.parentNode&&t.parentNode.transformable){var s=Q.Ue();Q.Su(s,n[0],n[1],n[2]);var l=d.getRotation(t),u=d.getRotation(t.parentNode);Q.JG(e,u),Q.U_(e,e),Q.Jp(s,e,s),Q.Jp(a.localRotation,s,l),Q.Fv(a.localRotation,a.localRotation),o&&d.dirtifyLocal(t,a)}else d.rotateLocal(t,n)}),this.rotateLocal=(n=Q.Ue(),function(t,e,r,i,o){void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=!0),"number"==typeof e&&(e=q.al(e,r,i));var a=t.transformable;Q.Su(n,e[0],e[1],e[2]),Q.dC(a.localRotation,a.localRotation,n),o&&d.dirtifyLocal(t,a)}),this.setEulerAngles=(r=Q.Ue(),function(t,e,n,i,o){void 0===n&&(n=0),void 0===i&&(i=0),void 0===o&&(o=!0),"number"==typeof e&&(e=q.al(e,n,i));var a=t.transformable;if(null!==t.parentNode&&t.parentNode.transformable){Q.Su(a.localRotation,e[0],e[1],e[2]);var s=d.getRotation(t.parentNode);Q.JG(r,Q.U_(Q.Ue(),s)),Q.dC(a.localRotation,a.localRotation,r),o&&d.dirtifyLocal(t,a)}else d.setLocalEulerAngles(t,e)}),this.translateLocal=function(t,e,n,r,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=!0),"number"==typeof e&&(e=q.al(e,n,r));var o=t.transformable;!q.fS(e,q.Ue())&&(q.VC(e,e,o.localRotation),q.IH(o.localPosition,o.localPosition,e),i&&d.dirtifyLocal(t,o))},this.setPosition=(i=K.create(),o=q.Ue(),function(t,e,n){void 0===n&&(n=!0);var r=t.transformable;if(o[0]=e[0],o[1]=e[1],o[2]=e[2]||0,!q.fS(d.getPosition(t),o)){if(q.JG(r.position,o),null!==t.parentNode&&t.parentNode.transformable){var a=t.parentNode.transformable;K.copy(i,a.worldTransform),K.invert(i,i),q.fF(r.localPosition,o,i)}else q.JG(r.localPosition,o);n&&d.dirtifyLocal(t,r)}}),this.setLocalPosition=(a=q.Ue(),function(t,e,n){void 0===n&&(n=!0);var r=t.transformable;a[0]=e[0],a[1]=e[1],a[2]=e[2]||0,!q.fS(r.localPosition,a)&&(q.JG(r.localPosition,a),n&&d.dirtifyLocal(t,r))}),this.translate=(s=q.Ue(),l=q.Ue(),u=q.Ue(),function(t,e,n,r,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=!0),"number"==typeof e&&(e=q.t8(l,e,n,r)),q.fS(e,s)||(q.IH(u,d.getPosition(t),e),d.setPosition(t,u,i))}),this.setRotation=function(){var t=Q.Ue();return function(e,n,r,i,o,a){void 0===a&&(a=!0);var s=e.transformable;if("number"==typeof n&&(n=Q.al(n,r,i,o)),null!==e.parentNode&&e.parentNode.transformable){var l=d.getRotation(e.parentNode);Q.JG(t,l),Q.U_(t,t),Q.Jp(s.localRotation,t,n),Q.Fv(s.localRotation,s.localRotation),a&&d.dirtifyLocal(e,s)}else d.setLocalRotation(e,n)}},this.displayObjectDependencyMap=new WeakMap,this.calcLocalTransform=(c=K.create(),h=q.Ue(),p=Q.al(0,0,0,1),function(t){if(0!==t.localSkew[0]||0!==t.localSkew[1]){if(K.fromRotationTranslationScaleOrigin(t.localTransform,t.localRotation,t.localPosition,q.al(1,1,1),t.origin),0!==t.localSkew[0]||0!==t.localSkew[1]){var e=K.identity(c);e[4]=Math.tan(t.localSkew[0]),e[1]=Math.tan(t.localSkew[1]),K.multiply(t.localTransform,t.localTransform,e)}var n=K.fromRotationTranslationScaleOrigin(c,p,h,t.localScale,t.origin);K.multiply(t.localTransform,t.localTransform,n)}else K.fromRotationTranslationScaleOrigin(t.localTransform,t.localRotation,t.localPosition,t.localScale,t.origin)})}return t.prototype.matches=function(t,e){return this.runtime.sceneGraphSelector.is(t,e)},t.prototype.querySelector=function(t,e){return this.runtime.sceneGraphSelector.selectOne(t,e)},t.prototype.querySelectorAll=function(t,e){return this.runtime.sceneGraphSelector.selectAll(t,e)},t.prototype.attach=function(t,e,n){var r,i=!1;t.parentNode&&(i=t.parentNode!==e,this.detach(t)),t.parentNode=e,(0,tn.Z)(n)?t.parentNode.childNodes.push(t):t.parentNode.childNodes.splice(n,0,t);var o=e.sortable;((null===(r=null==o?void 0:o.sorted)||void 0===r?void 0:r.length)||t.parsedStyle.zIndex)&&(-1===o.dirtyChildren.indexOf(t)&&o.dirtyChildren.push(t),o.dirty=!0,o.dirtyReason=Z.ADDED);var a=t.transformable;a&&this.dirtifyWorld(t,a),a.frozen&&this.unfreezeParentToRoot(t),i&&t.dispatchEvent(rk)},t.prototype.detach=function(t){var e,n;if(t.parentNode){var r=t.transformable,i=t.parentNode.sortable;((null===(e=null==i?void 0:i.sorted)||void 0===e?void 0:e.length)||(null===(n=t.style)||void 0===n?void 0:n.zIndex))&&(-1===i.dirtyChildren.indexOf(t)&&i.dirtyChildren.push(t),i.dirty=!0,i.dirtyReason=Z.REMOVED);var o=t.parentNode.childNodes.indexOf(t);o>-1&&t.parentNode.childNodes.splice(o,1),r&&this.dirtifyWorld(t,r),t.parentNode=null}},t.prototype.getOrigin=function(t){return t.getGeometryBounds(),t.transformable.origin},t.prototype.setOrigin=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=0),"number"==typeof e&&(e=[e,n,r]);var i=t.transformable;if(e[0]!==i.origin[0]||e[1]!==i.origin[1]||e[2]!==i.origin[2]){var o=i.origin;o[0]=e[0],o[1]=e[1],o[2]=e[2]||0,this.dirtifyLocal(t,i)}},t.prototype.setLocalEulerAngles=function(t,e,n,r,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=!0),"number"==typeof e&&(e=q.al(e,n,r));var o=t.transformable;Q.Su(o.localRotation,e[0],e[1],e[2]),i&&this.dirtifyLocal(t,o)},t.prototype.scaleLocal=function(t,e,n){void 0===n&&(n=!0);var r=t.transformable;q.Jp(r.localScale,r.localScale,q.al(e[0],e[1],e[2]||1)),n&&this.dirtifyLocal(t,r)},t.prototype.setLocalScale=function(t,e,n){void 0===n&&(n=!0);var r=t.transformable,i=q.al(e[0],e[1],e[2]||r.localScale[2]);!q.fS(i,r.localScale)&&(q.JG(r.localScale,i),n&&this.dirtifyLocal(t,r))},t.prototype.setLocalRotation=function(t,e,n,r,i,o){void 0===o&&(o=!0),"number"==typeof e&&(e=Q.al(e,n,r,i));var a=t.transformable;Q.JG(a.localRotation,e),o&&this.dirtifyLocal(t,a)},t.prototype.setLocalSkew=function(t,e,n){"number"==typeof e&&(e=tt.al(e,n));var r=t.transformable;tt.JG(r.localSkew,e),this.dirtifyLocal(t,r)},t.prototype.dirtifyLocal=function(t,e){e.localDirtyFlag||(e.localDirtyFlag=!0,e.dirtyFlag||this.dirtifyWorld(t,e))},t.prototype.dirtifyWorld=function(t,e){e.dirtyFlag||this.unfreezeParentToRoot(t),this.dirtifyWorldInternal(t,e),this.dirtifyToRoot(t,!0)},t.prototype.triggerPendingEvents=function(){var t=this,e=new Set,n=function(n,r){n.isConnected&&!e.has(n.entity)&&(t.boundsChangedEvent.detail=r,t.boundsChangedEvent.target=n,n.isMutationObserved?n.dispatchEvent(t.boundsChangedEvent):n.ownerDocument.defaultView.dispatchEvent(t.boundsChangedEvent,!0),e.add(n.entity))};this.pendingEvents.forEach(function(t){var e=(0,W.CR)(t,2),r=e[0],i=e[1];i.affectChildren?r.forEach(function(t){n(t,i)}):n(r,i)}),this.clearPendingEvents(),e.clear()},t.prototype.clearPendingEvents=function(){this.pendingEvents=[]},t.prototype.dirtifyToRoot=function(t,e){void 0===e&&(e=!1);var n=t;for(n.renderable&&(n.renderable.dirty=!0);n;)rw(n),n=n.parentNode;e&&t.forEach(function(t){rw(t)}),this.informDependentDisplayObjects(t),this.pendingEvents.push([t,{affectChildren:e}])},t.prototype.updateDisplayObjectDependency=function(t,e,n,r){if(e&&e!==n){var i=this.displayObjectDependencyMap.get(e);if(i&&i[t]){var o=i[t].indexOf(r);i[t].splice(o,1)}}if(n){var a=this.displayObjectDependencyMap.get(n);a||(this.displayObjectDependencyMap.set(n,{}),a=this.displayObjectDependencyMap.get(n)),a[t]||(a[t]=[]),a[t].push(r)}},t.prototype.informDependentDisplayObjects=function(t){var e=this,n=this.displayObjectDependencyMap.get(t);n&&Object.keys(n).forEach(function(t){n[t].forEach(function(n){e.dirtifyToRoot(n,!0),n.dispatchEvent(new rC(X.ATTR_MODIFIED,n,e,e,t,rC.MODIFICATION,e,e)),n.isCustomElement&&n.isConnected&&n.attributeChangedCallback&&n.attributeChangedCallback(t,e,e)})})},t.prototype.getPosition=function(t){var e=t.transformable;return K.getTranslation(e.position,this.getWorldTransform(t,e))},t.prototype.getRotation=function(t){var e=t.transformable;return K.getRotation(e.rotation,this.getWorldTransform(t,e))},t.prototype.getScale=function(t){var e=t.transformable;return K.getScaling(e.scaling,this.getWorldTransform(t,e))},t.prototype.getWorldTransform=function(t,e){return void 0===e&&(e=t.transformable),(e.localDirtyFlag||e.dirtyFlag)&&(t.parentNode&&t.parentNode.transformable&&this.getWorldTransform(t.parentNode),this.sync(t,e)),e.worldTransform},t.prototype.getLocalPosition=function(t){return t.transformable.localPosition},t.prototype.getLocalRotation=function(t){return t.transformable.localRotation},t.prototype.getLocalScale=function(t){return t.transformable.localScale},t.prototype.getLocalSkew=function(t){return t.transformable.localSkew},t.prototype.getLocalTransform=function(t){var e=t.transformable;return e.localDirtyFlag&&(this.calcLocalTransform(e),e.localDirtyFlag=!1),e.localTransform},t.prototype.setLocalTransform=function(t,e){var n=K.getTranslation(q.Ue(),e),r=K.getRotation(Q.Ue(),e),i=K.getScaling(q.Ue(),e);this.setLocalScale(t,i,!1),this.setLocalPosition(t,n,!1),this.setLocalRotation(t,r,void 0,void 0,void 0,!1),this.dirtifyLocal(t,t.transformable)},t.prototype.resetLocalTransform=function(t){this.setLocalScale(t,[1,1,1]),this.setLocalPosition(t,[0,0,0]),this.setLocalEulerAngles(t,[0,0,0]),this.setLocalSkew(t,[0,0])},t.prototype.getTransformedGeometryBounds=function(t,e,n){void 0===e&&(e=!1);var r=this.getGeometryBounds(t,e);if(tY.isEmpty(r))return null;var i=n||new tY;return i.setFromTransformedAABB(r,this.getWorldTransform(t)),i},t.prototype.getGeometryBounds=function(t,e){void 0===e&&(e=!1);var n=t.geometry;return n.dirty&&rD.styleValueRegistry.updateGeometry(t),(e?n.renderBounds:n.contentBounds||null)||new tY},t.prototype.getBounds=function(t,e){var n=this;void 0===e&&(e=!1);var r=t.renderable;if(!r.boundsDirty&&!e&&r.bounds)return r.bounds;if(!r.renderBoundsDirty&&e&&r.renderBounds)return r.renderBounds;var i=e?r.renderBounds:r.bounds,o=this.getTransformedGeometryBounds(t,e,i);if(t.childNodes.forEach(function(t){var r=n.getBounds(t,e);r&&(o?o.add(r):(o=i||new tY).update(r.center,r.halfExtents))}),o||(o=new tY),e){var a=nY(t);if(a){var s=a.parsedStyle.clipPath.getBounds(e);o?s&&(o=s.intersection(o)):o.update(s.center,s.halfExtents)}}return e?(r.renderBounds=o,r.renderBoundsDirty=!1):(r.bounds=o,r.boundsDirty=!1),o},t.prototype.getLocalBounds=function(t){if(t.parentNode){var e=K.create();t.parentNode.transformable&&(e=K.invert(K.create(),this.getWorldTransform(t.parentNode)));var n=this.getBounds(t);if(!tY.isEmpty(n)){var r=new tY;return r.setFromTransformedAABB(n,e),r}}return this.getBounds(t)},t.prototype.getBoundingClientRect=function(t){var e,n,r,i=this.getGeometryBounds(t);tY.isEmpty(i)||(r=new tY).setFromTransformedAABB(i,this.getWorldTransform(t));var o=null===(n=null===(e=t.ownerDocument)||void 0===e?void 0:e.defaultView)||void 0===n?void 0:n.getContextService().getBoundingClientRect();if(r){var a=(0,W.CR)(r.getMin(),2),s=a[0],l=a[1],u=(0,W.CR)(r.getMax(),2),c=u[0],h=u[1];return new tW(s+((null==o?void 0:o.left)||0),l+((null==o?void 0:o.top)||0),c-s,h-l)}return new tW((null==o?void 0:o.left)||0,(null==o?void 0:o.top)||0,0,0)},t.prototype.dirtifyWorldInternal=function(t,e){var n=this;if(!e.dirtyFlag){e.dirtyFlag=!0,e.frozen=!1,t.childNodes.forEach(function(t){var e=t.transformable;e.dirtyFlag||n.dirtifyWorldInternal(t,e)});var r=t.renderable;r&&(r.renderBoundsDirty=!0,r.boundsDirty=!0,r.dirty=!0)}},t.prototype.syncHierarchy=function(t){var e=t.transformable;if(!e.frozen){e.frozen=!0,(e.localDirtyFlag||e.dirtyFlag)&&this.sync(t,e);for(var n=t.childNodes,r=0;rs;--p){for(var v=0;v=0;h--){var p=c[h].trim();!n7.test(p)&&0>n6.indexOf(p)&&(p='"'.concat(p,'"')),c[h]=p}return"".concat(void 0===i?"normal":i," ").concat(a," ").concat(l," ").concat(u," ").concat(c.join(","))}(e),E=this.measureFont(m,n);0===E.fontSize&&(E.fontSize=i,E.ascent=i);var x=this.runtime.offscreenCanvasCreator.getOrCreateContext(n);x.font=m,e.isOverflowing=!1;var b=(void 0!==o&&o?this.wordWrap(t,e,n):t).split(/(?:\r\n|\r|\n)/),T=Array(b.length),P=0;if(v){v.getTotalLength();for(var S=0;S=l){e.isOverflowing=!0;break}v=0,d[f]="";continue}if(v>0&&v+S>h){if(f+1>=l){if(e.isOverflowing=!0,m>0&&m<=h){for(var N=d[f].length,C=0,w=N,k=0;kh){w=k;break}C+=M}d[f]=(d[f]||"").slice(0,w)+p}break}if(v=0,d[++f]="",this.isBreakingSpace(b))continue;this.canBreakInLastChar(b)||(d=this.trimToBreakable(d),v=this.sumTextWidthByCache(d[f]||"",y)),this.shouldBreakByKinsokuShorui(b,P)&&(d=this.trimByKinsokuShorui(d),v+=g(T||""))}v+=S,d[f]=(d[f]||"")+b}return d.join("\n")},t.prototype.isBreakingSpace=function(t){return"string"==typeof t&&rR.BreakingSpaces.indexOf(t.charCodeAt(0))>=0},t.prototype.isNewline=function(t){return"string"==typeof t&&rR.Newlines.indexOf(t.charCodeAt(0))>=0},t.prototype.trimToBreakable=function(t){var e=(0,W.ev)([],(0,W.CR)(t),!1),n=e[e.length-2],r=this.findBreakableIndex(n);if(-1===r||!n)return e;var i=n.slice(r,r+1),o=this.isBreakingSpace(i),a=r+1,s=r+(o?0:1);return e[e.length-1]+=n.slice(a,n.length),e[e.length-2]=n.slice(0,s),e},t.prototype.canBreakInLastChar=function(t){return!(t&&rA.test(t))},t.prototype.sumTextWidthByCache=function(t,e){return t.split("").reduce(function(t,n){if(!e[n])throw Error("cannot count the word without cache");return t+e[n]},0)},t.prototype.findBreakableIndex=function(t){for(var e=t.length-1;e>=0;e--)if(!rA.test(t[e]))return e;return -1},t.prototype.getFromCache=function(t,e,n,r){var i=n[t];if("number"!=typeof i){var o=t.length*e;i=r.measureText(t).width+o,n[t]=i}return i},t}(),rD={},rG=(T=new rh,P=new rc,(b={})[k.CIRCLE]=new ra,b[k.ELLIPSE]=new rs,b[k.RECT]=T,b[k.IMAGE]=T,b[k.GROUP]=new rd,b[k.LINE]=new rl,b[k.TEXT]=new rp(rD),b[k.POLYLINE]=P,b[k.POLYGON]=P,b[k.PATH]=new ru,b[k.HTML]=null,b[k.MESH]=null,b),rB=(N=new nN,C=new nk,(S={})[Y.PERCENTAGE]=null,S[Y.NUMBER]=new nO,S[Y.ANGLE]=new nP,S[Y.DEFINED_PATH]=new nS,S[Y.PAINT]=N,S[Y.COLOR]=N,S[Y.FILTER]=new nC,S[Y.LENGTH]=C,S[Y.LENGTH_PERCENTAGE]=C,S[Y.LENGTH_PERCENTAGE_12]=new nM,S[Y.LENGTH_PERCENTAGE_14]=new nR,S[Y.COORDINATE]=new nk,S[Y.OFFSET_DISTANCE]=new nI,S[Y.OPACITY_VALUE]=new nL,S[Y.PATH]=new nD,S[Y.LIST_OF_POINTS]=new function(){this.parser=e6,this.mixer=e7},S[Y.SHADOW_BLUR]=new nG,S[Y.TEXT]=new nB,S[Y.TEXT_TRANSFORM]=new nF,S[Y.TRANSFORM]=new rr,S[Y.TRANSFORM_ORIGIN]=new ri,S[Y.Z_INDEX]=new ro,S[Y.MARKER]=new nA,S);rD.CameraContribution=tJ,rD.AnimationTimeline=null,rD.EasingFunction=null,rD.offscreenCanvasCreator=new rT,rD.sceneGraphSelector=new rN,rD.sceneGraphService=new rM(rD),rD.textService=new rL(rD),rD.geometryUpdaterFactory=rG,rD.CSSPropertySyntaxFactory=rB,rD.styleValueRegistry=new nT(rD),rD.layoutRegistry=null,rD.globalThis="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{},rD.enableCSSParsing=!1,rD.enableDataset=!1,rD.enableStyleSyntax=!0,rD.enableAttributeDashCased=!1,rD.enableSizeAttenuation=!1;var rF=0,r_=new rC(X.INSERTED,null,"","","",0,"",""),rU=new rC(X.REMOVED,null,"","","",0,"",""),rV=new rm(X.DESTROY),rZ=function(t){function e(){var e=t.call(this)||this;return e.entity=rF++,e.renderable={bounds:void 0,boundsDirty:!0,renderBounds:void 0,renderBoundsDirty:!0,dirtyRenderBounds:void 0,dirty:!1},e.cullable={strategy:V.Standard,visibilityPlaneMask:-1,visible:!0,enable:!0},e.transformable={dirtyFlag:!1,localDirtyFlag:!1,frozen:!1,localPosition:[0,0,0],localRotation:[0,0,0,1],localScale:[1,1,1],localTransform:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],localSkew:[0,0],position:[0,0,0],rotation:[0,0,0,1],scaling:[1,1,1],worldTransform:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],origin:[0,0,0]},e.sortable={dirty:!1,sorted:void 0,renderOrder:0,dirtyChildren:[],dirtyReason:void 0},e.geometry={contentBounds:void 0,renderBounds:void 0,dirty:!0},e.rBushNode={aabb:void 0},e.namespaceURI="g",e.scrollLeft=0,e.scrollTop=0,e.clientTop=0,e.clientLeft=0,e.destroyed=!1,e.style={},e.computedStyle=rD.enableCSSParsing?{opacity:eu,fillOpacity:eu,strokeOpacity:eu,fill:eu,stroke:eu,transform:eu,transformOrigin:eu,visibility:eu,pointerEvents:eu,lineWidth:eu,lineCap:eu,lineJoin:eu,increasedLineWidthForHitTesting:eu,fontSize:eu,fontFamily:eu,fontStyle:eu,fontWeight:eu,fontVariant:eu,textAlign:eu,textBaseline:eu,textTransform:eu,zIndex:eu,filter:eu,shadowType:eu}:null,e.parsedStyle={},e.attributes={},e}return(0,W.ZT)(e,t),Object.defineProperty(e.prototype,"className",{get:function(){return this.getAttribute("class")||""},set:function(t){this.setAttribute("class",t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classList",{get:function(){return this.className.split(" ").filter(function(t){return""!==t})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.nodeName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childElementCount",{get:function(){return this.childNodes.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstElementChild",{get:function(){return this.firstChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastElementChild",{get:function(){return this.lastChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentElement",{get:function(){return this.parentNode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){if(this.parentNode){var t=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[t+1]||null}return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){if(this.parentNode){var t=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[t-1]||null}return null},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(t){throw Error(tH)},e.prototype.appendChild=function(t,e){var n;if(t.destroyed)throw Error("Cannot append a destroyed element.");return rD.sceneGraphService.attach(t,this,e),(null===(n=this.ownerDocument)||void 0===n?void 0:n.defaultView)&&this.ownerDocument.defaultView.mountChildren(t),this.isMutationObserved&&(r_.relatedNode=this,t.dispatchEvent(r_)),t},e.prototype.insertBefore=function(t,e){if(e){t.parentElement&&t.parentElement.removeChild(t);var n=this.childNodes.indexOf(e);-1===n?this.appendChild(t):this.appendChild(t,n)}else this.appendChild(t);return t},e.prototype.replaceChild=function(t,e){var n=this.childNodes.indexOf(e);return this.removeChild(e),this.appendChild(t,n),e},e.prototype.removeChild=function(t){var e;return rU.relatedNode=this,t.dispatchEvent(rU),(null===(e=t.ownerDocument)||void 0===e?void 0:e.defaultView)&&t.ownerDocument.defaultView.unmountChildren(t),rD.sceneGraphService.detach(t),t},e.prototype.removeChildren=function(){for(var t=this.childNodes.length-1;t>=0;t--){var e=this.childNodes[t];this.removeChild(e)}},e.prototype.destroyChildren=function(){for(var t=this.childNodes.length-1;t>=0;t--){var e=this.childNodes[t];e.childNodes.length&&e.destroyChildren(),e.destroy()}},e.prototype.matches=function(t){return rD.sceneGraphService.matches(t,this)},e.prototype.getElementById=function(t){return rD.sceneGraphService.querySelector("#".concat(t),this)},e.prototype.getElementsByName=function(t){return rD.sceneGraphService.querySelectorAll('[name="'.concat(t,'"]'),this)},e.prototype.getElementsByClassName=function(t){return rD.sceneGraphService.querySelectorAll(".".concat(t),this)},e.prototype.getElementsByTagName=function(t){return rD.sceneGraphService.querySelectorAll(t,this)},e.prototype.querySelector=function(t){return rD.sceneGraphService.querySelector(t,this)},e.prototype.querySelectorAll=function(t){return rD.sceneGraphService.querySelectorAll(t,this)},e.prototype.closest=function(t){var e=this;do{if(rD.sceneGraphService.matches(t,e))return e;e=e.parentElement}while(null!==e);return null},e.prototype.find=function(t){var e=this,n=null;return this.forEach(function(r){return!!(r!==e&&t(r))&&(n=r,!0)}),n},e.prototype.findAll=function(t){var e=this,n=[];return this.forEach(function(r){r!==e&&t(r)&&n.push(r)}),n},e.prototype.after=function(){for(var t=this,e=[],n=0;n1){var n=t[0].currentPoint,r=t[1].currentPoint,i=t[1].startTangent;e=[],i?(e.push([n[0]-i[0],n[1]-i[1]]),e.push([n[0],n[1]])):(e.push([r[0],r[1]]),e.push([n[0],n[1]]))}return e},e.prototype.getEndTangent=function(){var t=this.parsedStyle.d.segments,e=t.length,n=[];if(e>1){var r=t[e-2].currentPoint,i=t[e-1].currentPoint,o=t[e-1].endTangent;n=[],o?(n.push([i[0]-o[0],i[1]-o[1]]),n.push([i[0],i[1]])):(n.push([r[0],r[1]]),n.push([i[0],i[1]]))}return n},e}(rK),r5=function(t){function e(e){void 0===e&&(e={});var n=this,r=e.style,i=(0,W._T)(e,["style"]);(n=t.call(this,(0,W.pi)({type:k.POLYGON,style:rD.enableCSSParsing?(0,W.pi)({points:"",miterLimit:"",isClosed:!0},r):(0,W.pi)({},r),initialParsedStyle:rD.enableCSSParsing?null:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!0}},i))||this).markerStartAngle=0,n.markerEndAngle=0,n.markerMidList=[];var o=n.parsedStyle,a=o.markerStart,s=o.markerEnd,l=o.markerMid;return a&&rY(a)&&(n.markerStartAngle=a.getLocalEulerAngles(),n.appendChild(a)),l&&rY(l)&&n.placeMarkerMid(l),s&&rY(s)&&(n.markerEndAngle=s.getLocalEulerAngles(),n.appendChild(s)),n.transformMarker(!0),n.transformMarker(!1),n}return(0,W.ZT)(e,t),e.prototype.attributeChangedCallback=function(t,e,n,r,i){"points"===t?(this.transformMarker(!0),this.transformMarker(!1),this.placeMarkerMid(this.parsedStyle.markerMid)):"markerStartOffset"===t||"markerEndOffset"===t?(this.transformMarker(!0),this.transformMarker(!1)):"markerStart"===t?(r&&rY(r)&&(this.markerStartAngle=0,r.remove()),i&&rY(i)&&(this.markerStartAngle=i.getLocalEulerAngles(),this.appendChild(i),this.transformMarker(!0))):"markerEnd"===t?(r&&rY(r)&&(this.markerEndAngle=0,r.remove()),i&&rY(i)&&(this.markerEndAngle=i.getLocalEulerAngles(),this.appendChild(i),this.transformMarker(!1))):"markerMid"===t&&this.placeMarkerMid(i)},e.prototype.transformMarker=function(t){var e,n,r,i,o,a,s=this.parsedStyle,l=s.markerStart,u=s.markerEnd,c=s.markerStartOffset,h=s.markerEndOffset,p=(s.points||{}).points,d=t?l:u;if(d&&rY(d)&&p){var f=0;if(r=p[0][0],i=p[0][1],t)e=p[1][0]-p[0][0],n=p[1][1]-p[0][1],o=c||0,a=this.markerStartAngle;else{var v=p.length;this.parsedStyle.isClosed?(e=p[v-1][0]-p[0][0],n=p[v-1][1]-p[0][1]):(r=p[v-1][0],i=p[v-1][1],e=p[v-2][0]-p[v-1][0],n=p[v-2][1]-p[v-1][1]),o=h||0,a=this.markerEndAngle}f=Math.atan2(n,e),d.setLocalEulerAngles(180*f/Math.PI+a),d.setLocalPosition(r+Math.cos(f)*o,i+Math.sin(f)*o)}},e.prototype.placeMarkerMid=function(t){var e=(this.parsedStyle.points||{}).points;if(this.markerMidList.forEach(function(t){t.remove()}),this.markerMidList=[],t&&rY(t)&&e)for(var n=1;n<(this.parsedStyle.isClosed?e.length:e.length-1);n++){var r=e[n][0],i=e[n][1],o=1===n?t:t.cloneNode(!0);this.markerMidList.push(o),this.appendChild(o),o.setLocalPosition(r,i)}},e}(rK),r4=function(t){function e(e){void 0===e&&(e={});var n=e.style,r=(0,W._T)(e,["style"]);return t.call(this,(0,W.pi)({type:k.POLYLINE,style:rD.enableCSSParsing?(0,W.pi)({points:"",miterLimit:"",isClosed:!1},n):(0,W.pi)({},n),initialParsedStyle:rD.enableCSSParsing?null:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!1}},r))||this}return(0,W.ZT)(e,t),e.prototype.getTotalLength=function(){return 0===this.parsedStyle.points.totalLength&&(this.parsedStyle.points.totalLength=(0,tP.hE)(this.parsedStyle.points.points)),this.parsedStyle.points.totalLength},e.prototype.getPointAtLength=function(t,e){return void 0===e&&(e=!1),this.getPoint(t/this.getTotalLength(),e)},e.prototype.getPoint=function(t,e){void 0===e&&(e=!1);var n=this.parsedStyle.points.points;if(0===this.parsedStyle.points.segments.length){var r,i=[],o=0,a=this.getTotalLength();n.forEach(function(t,e){n[e+1]&&((r=[0,0])[0]=o/a,o+=(0,tP.Xk)(t[0],t[1],n[e+1][0],n[e+1][1]),r[1]=o/a,i.push(r))}),this.parsedStyle.points.segments=i}var s=0,l=0;this.parsedStyle.points.segments.forEach(function(e,n){t>=e[0]&&t<=e[1]&&(s=(t-e[0])/(e[1]-e[0]),l=n)});var u=(0,tP.U4)(n[l][0],n[l][1],n[l+1][0],n[l+1][1],s),c=u.x,h=u.y,p=q.fF(q.Ue(),q.al(c,h,0),e?this.getWorldTransform():this.getLocalTransform());return new tj(p[0],p[1])},e.prototype.getStartTangent=function(){var t=this.parsedStyle.points.points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.parsedStyle.points.points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(r5),r9=function(t){function e(e){return void 0===e&&(e={}),t.call(this,(0,W.pi)({type:k.RECT},e))||this}return(0,W.ZT)(e,t),e}(rK),r8=function(t){function e(e){void 0===e&&(e={});var n=e.style,r=(0,W._T)(e,["style"]);return t.call(this,(0,W.pi)({type:k.TEXT,style:rD.enableCSSParsing?(0,W.pi)({x:"",y:"",text:"",fontSize:"",fontFamily:"",fontStyle:"",fontWeight:"",fontVariant:"",textAlign:"",textBaseline:"",textTransform:"",fill:"black",letterSpacing:"",lineHeight:"",miterLimit:"",wordWrap:!1,wordWrapWidth:0,leading:0,dx:"",dy:""},n):(0,W.pi)({fill:"black"},n)},r))||this}return(0,W.ZT)(e,t),e.prototype.getComputedTextLength=function(){var t;return this.getGeometryBounds(),(null===(t=this.parsedStyle.metrics)||void 0===t?void 0:t.maxLineWidth)||0},e.prototype.getLineBoundingRects=function(){var t;return this.getGeometryBounds(),(null===(t=this.parsedStyle.metrics)||void 0===t?void 0:t.lineMetrics)||[]},e.prototype.isOverflowing=function(){return this.getGeometryBounds(),!!this.parsedStyle.isOverflowing},e}(rK),r6=function(){function t(){this.registry={},this.define(k.CIRCLE,rJ),this.define(k.ELLIPSE,r$),this.define(k.RECT,r9),this.define(k.IMAGE,r1),this.define(k.LINE,r2),this.define(k.GROUP,rQ),this.define(k.PATH,r3),this.define(k.POLYGON,r5),this.define(k.POLYLINE,r4),this.define(k.TEXT,r8),this.define(k.HTML,r0)}return t.prototype.define=function(t,e){this.registry[t]=e},t.prototype.get=function(t){return this.registry[t]},t}(),r7=function(t){function e(){var e=t.call(this)||this;e.defaultView=null,e.ownerDocument=null,e.nodeName="document";try{e.timeline=new rD.AnimationTimeline(e)}catch(t){}var n={};return ng.forEach(function(t){var e=t.n,r=t.inh,i=t.d;r&&i&&(n[e]=et(i)?i(k.GROUP):i)}),e.documentElement=new rQ({id:"g-root",style:n}),e.documentElement.ownerDocument=e,e.documentElement.parentNode=e,e.childNodes=[e.documentElement],e}return(0,W.ZT)(e,t),Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childElementCount",{get:function(){return this.childNodes.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstElementChild",{get:function(){return this.firstChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastElementChild",{get:function(){return this.lastChild},enumerable:!1,configurable:!0}),e.prototype.createElement=function(t,e){if("svg"===t)return this.documentElement;var n=this.defaultView.customElements.get(t);n||(console.warn("Unsupported tagName: ",t),n="tspan"===t?r8:rQ);var r=new n(e);return r.ownerDocument=this,r},e.prototype.createElementNS=function(t,e,n){return this.createElement(e,n)},e.prototype.cloneNode=function(t){throw Error(tH)},e.prototype.destroy=function(){try{this.documentElement.destroyChildren(),this.timeline.destroy()}catch(t){}},e.prototype.elementsFromBBox=function(t,e,n,r){var i=this.defaultView.context.rBushRoot.search({minX:t,minY:e,maxX:n,maxY:r}),o=[];return i.forEach(function(t){var e=t.displayObject,n=e.parsedStyle.pointerEvents,r=["auto","visiblepainted","visiblefill","visiblestroke","visible"].includes(void 0===n?"auto":n);(!r||r&&e.isVisible())&&!e.isCulled()&&e.isInteractive()&&o.push(e)}),o.sort(function(t,e){return e.sortable.renderOrder-t.sortable.renderOrder}),o},e.prototype.elementFromPointSync=function(t,e){var n=this.defaultView.canvas2Viewport({x:t,y:e}),r=n.x,i=n.y,o=this.defaultView.getConfig(),a=o.width,s=o.height;if(r<0||i<0||r>a||i>s)return null;var l=this.defaultView.viewport2Client({x:r,y:i}),u=l.x,c=l.y,h=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!0,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]}).picked;return h&&h[0]||this.documentElement},e.prototype.elementFromPoint=function(t,e){return(0,W.mG)(this,void 0,void 0,function(){var n,r,i,o,a,s,l,u,c,h;return(0,W.Jh)(this,function(p){switch(p.label){case 0:if(r=(n=this.defaultView.canvas2Viewport({x:t,y:e})).x,i=n.y,a=(o=this.defaultView.getConfig()).width,s=o.height,r<0||i<0||r>a||i>s)return[2,null];return u=(l=this.defaultView.viewport2Client({x:r,y:i})).x,c=l.y,[4,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!0,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]})];case 1:return[2,(h=p.sent().picked)&&h[0]||this.documentElement]}})})},e.prototype.elementsFromPointSync=function(t,e){var n=this.defaultView.canvas2Viewport({x:t,y:e}),r=n.x,i=n.y,o=this.defaultView.getConfig(),a=o.width,s=o.height;if(r<0||i<0||r>a||i>s)return[];var l=this.defaultView.viewport2Client({x:r,y:i}),u=l.x,c=l.y,h=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!1,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]}).picked;return h[h.length-1]!==this.documentElement&&h.push(this.documentElement),h},e.prototype.elementsFromPoint=function(t,e){return(0,W.mG)(this,void 0,void 0,function(){var n,r,i,o,a,s,l,u,c,h;return(0,W.Jh)(this,function(p){switch(p.label){case 0:if(r=(n=this.defaultView.canvas2Viewport({x:t,y:e})).x,i=n.y,a=(o=this.defaultView.getConfig()).width,s=o.height,r<0||i<0||r>a||i>s)return[2,[]];return u=(l=this.defaultView.viewport2Client({x:r,y:i})).x,c=l.y,[4,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!1,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]})];case 1:return(h=p.sent().picked)[h.length-1]!==this.documentElement&&h.push(this.documentElement),[2,h]}})})},e.prototype.appendChild=function(t,e){throw Error(tq)},e.prototype.insertBefore=function(t,e){throw Error(tq)},e.prototype.removeChild=function(t,e){throw Error(tq)},e.prototype.replaceChild=function(t,e,n){throw Error(tq)},e.prototype.append=function(){throw Error(tq)},e.prototype.prepend=function(){throw Error(tq)},e.prototype.getElementById=function(t){return this.documentElement.getElementById(t)},e.prototype.getElementsByName=function(t){return this.documentElement.getElementsByName(t)},e.prototype.getElementsByTagName=function(t){return this.documentElement.getElementsByTagName(t)},e.prototype.getElementsByClassName=function(t){return this.documentElement.getElementsByClassName(t)},e.prototype.querySelector=function(t){return this.documentElement.querySelector(t)},e.prototype.querySelectorAll=function(t){return this.documentElement.querySelectorAll(t)},e.prototype.find=function(t){return this.documentElement.find(t)},e.prototype.findAll=function(t){return this.documentElement.findAll(t)},e}(rx),it=function(){function t(t){this.strategies=t}return t.prototype.apply=function(e){var n=e.camera,r=e.renderingService,i=e.renderingContext,o=this.strategies;r.hooks.cull.tap(t.tag,function(t){if(t){var e=t.cullable;return(0===o.length?e.visible=i.unculledEntities.indexOf(t.entity)>-1:e.visible=o.every(function(e){return e.isVisible(n,t)}),!t.isCulled()&&t.isVisible())?t:(t.dispatchEvent(new rm(X.CULLED)),null)}return t}),r.hooks.afterRender.tap(t.tag,function(t){t.cullable.visibilityPlaneMask=-1})},t.tag="Culling",t}(),ie=function(){function t(){var t=this;this.autoPreventDefault=!1,this.rootPointerEvent=new ry(null),this.rootWheelEvent=new rg(null),this.onPointerMove=function(e){var n,r,i,o,a=null===(o=null===(i=t.context.renderingContext.root)||void 0===i?void 0:i.ownerDocument)||void 0===o?void 0:o.defaultView;if(!a.supportsTouchEvents||"touch"!==e.pointerType){var s=t.normalizeToPointerEvent(e,a);try{for(var l=(0,W.XA)(s),u=l.next();!u.done;u=l.next()){var c=u.value,h=t.bootstrapEvent(t.rootPointerEvent,c,a,e);t.context.eventService.mapEvent(h)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}t.setCursor(t.context.eventService.cursor)}},this.onClick=function(e){var n,r,i,o,a=null===(o=null===(i=t.context.renderingContext.root)||void 0===i?void 0:i.ownerDocument)||void 0===o?void 0:o.defaultView,s=t.normalizeToPointerEvent(e,a);try{for(var l=(0,W.XA)(s),u=l.next();!u.done;u=l.next()){var c=u.value,h=t.bootstrapEvent(t.rootPointerEvent,c,a,e);t.context.eventService.mapEvent(h)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}t.setCursor(t.context.eventService.cursor)}}return t.prototype.apply=function(e){var n=this;this.context=e;var r=e.renderingService,i=this.context.renderingContext.root.ownerDocument.defaultView;this.context.eventService.setPickHandler(function(t){return n.context.renderingService.hooks.pickSync.call({position:t,picked:[],topmost:!0}).picked[0]||null}),r.hooks.pointerWheel.tap(t.tag,function(t){var e=n.normalizeWheelEvent(t);n.context.eventService.mapEvent(e)}),r.hooks.pointerDown.tap(t.tag,function(t){if(!i.supportsTouchEvents||"touch"!==t.pointerType){var e,r,o=n.normalizeToPointerEvent(t,i);n.autoPreventDefault&&o[0].isNormalized&&(t.cancelable||!("cancelable"in t))&&t.preventDefault();try{for(var a=(0,W.XA)(o),s=a.next();!s.done;s=a.next()){var l=s.value,u=n.bootstrapEvent(n.rootPointerEvent,l,i,t);n.context.eventService.mapEvent(u)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}n.setCursor(n.context.eventService.cursor)}}),r.hooks.pointerUp.tap(t.tag,function(t){if(!i.supportsTouchEvents||"touch"!==t.pointerType){var e,r,o=n.context.contextService.getDomElement(),a=n.context.eventService.isNativeEventFromCanvas(o,t)?"":"outside",s=n.normalizeToPointerEvent(t,i);try{for(var l=(0,W.XA)(s),u=l.next();!u.done;u=l.next()){var c=u.value,h=n.bootstrapEvent(n.rootPointerEvent,c,i,t);h.type+=a,n.context.eventService.mapEvent(h)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}n.setCursor(n.context.eventService.cursor)}}),r.hooks.pointerMove.tap(t.tag,this.onPointerMove),r.hooks.pointerOver.tap(t.tag,this.onPointerMove),r.hooks.pointerOut.tap(t.tag,this.onPointerMove),r.hooks.click.tap(t.tag,this.onClick),r.hooks.pointerCancel.tap(t.tag,function(t){var e,r,o=n.normalizeToPointerEvent(t,i);try{for(var a=(0,W.XA)(o),s=a.next();!s.done;s=a.next()){var l=s.value,u=n.bootstrapEvent(n.rootPointerEvent,l,i,t);n.context.eventService.mapEvent(u)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}n.setCursor(n.context.eventService.cursor)})},t.prototype.bootstrapEvent=function(t,e,n,r){t.view=n,t.originalEvent=null,t.nativeEvent=r,t.pointerId=e.pointerId,t.width=e.width,t.height=e.height,t.isPrimary=e.isPrimary,t.pointerType=e.pointerType,t.pressure=e.pressure,t.tangentialPressure=e.tangentialPressure,t.tiltX=e.tiltX,t.tiltY=e.tiltY,t.twist=e.twist,this.transferMouseData(t,e);var i=this.context.eventService.client2Viewport({x:e.clientX,y:e.clientY}),o=i.x,a=i.y;t.viewport.x=o,t.viewport.y=a;var s=this.context.eventService.viewport2Canvas(t.viewport),l=s.x,u=s.y;return t.canvas.x=l,t.canvas.y=u,t.global.copyFrom(t.canvas),t.offset.copyFrom(t.canvas),t.isTrusted=r.isTrusted,"pointerleave"===t.type&&(t.type="pointerout"),t.type.startsWith("mouse")&&(t.type=t.type.replace("mouse","pointer")),t.type.startsWith("touch")&&(t.type=nX[t.type]||t.type),t},t.prototype.normalizeWheelEvent=function(t){var e=this.rootWheelEvent;this.transferMouseData(e,t),e.deltaMode=t.deltaMode,e.deltaX=t.deltaX,e.deltaY=t.deltaY,e.deltaZ=t.deltaZ;var n=this.context.eventService.client2Viewport({x:t.clientX,y:t.clientY}),r=n.x,i=n.y;e.viewport.x=r,e.viewport.y=i;var o=this.context.eventService.viewport2Canvas(e.viewport),a=o.x,s=o.y;return e.canvas.x=a,e.canvas.y=s,e.global.copyFrom(e.canvas),e.offset.copyFrom(e.canvas),e.nativeEvent=t,e.type=t.type,e},t.prototype.transferMouseData=function(t,e){t.isTrusted=e.isTrusted,t.srcElement=e.srcElement,t.timeStamp=nj.now(),t.type=e.type,t.altKey=e.altKey,t.metaKey=e.metaKey,t.shiftKey=e.shiftKey,t.ctrlKey=e.ctrlKey,t.button=e.button,t.buttons=e.buttons,t.client.x=e.clientX,t.client.y=e.clientY,t.movement.x=e.movementX,t.movement.y=e.movementY,t.page.x=e.pageX,t.page.y=e.pageY,t.screen.x=e.screenX,t.screen.y=e.screenY,t.relatedTarget=null},t.prototype.setCursor=function(t){this.context.contextService.applyCursorStyle(t||this.context.config.cursor||"default")},t.prototype.normalizeToPointerEvent=function(t,e){var n=[];if(e.isTouchEvent(t))for(var r=0;r-1,a=0,s=r.length;a=1?Math.ceil(k):1,C=l||("auto"===(n=nz(a,"width"))?a.offsetWidth:parseFloat(n))||a.width/k,w=u||("auto"===(r=nz(a,"height"))?a.offsetHeight:parseFloat(r))||a.height/k),s&&(rD.offscreenCanvas=s),i.devicePixelRatio=k,i.requestAnimationFrame=null!=v?v:n2.bind(rD.globalThis),i.cancelAnimationFrame=null!=y?y:n3.bind(rD.globalThis),i.supportsTouchEvents=null!=E?E:"ontouchstart"in rD.globalThis,i.supportsPointerEvents=null!=m?m:!!rD.globalThis.PointerEvent,i.isTouchEvent=null!=S?S:function(t){return i.supportsTouchEvents&&t instanceof rD.globalThis.TouchEvent},i.isMouseEvent=null!=N?N:function(t){return!rD.globalThis.MouseEvent||t instanceof rD.globalThis.MouseEvent&&(!i.supportsPointerEvents||!(t instanceof rD.globalThis.PointerEvent))},i.initRenderingContext({container:o,canvas:a,width:C,height:w,renderer:h,offscreenCanvas:s,devicePixelRatio:k,cursor:d||"default",background:p||"transparent",createImage:g,document:f,supportsCSSTransform:x,useNativeClickEvent:T,alwaysTriggerPointerEventOnCanvas:P}),i.initDefaultCamera(C,w,h.clipSpaceNearZ),i.initRenderer(h,!0),i}(0,W.ZT)(e,t),e.prototype.initRenderingContext=function(t){this.context.config=t,this.context.renderingContext={root:this.document.documentElement,renderListCurrentFrame:[],unculledEntities:[],renderReasons:new Set,force:!1,dirty:!1}},e.prototype.initDefaultCamera=function(t,e,n){var r=this,i=new rD.CameraContribution;i.clipSpaceNearZ=n,i.setType(A.EXPLORING,O.DEFAULT).setPosition(t/2,e/2,500).setFocalPoint(t/2,e/2,0).setOrthographic(-(t/2),t/2,e/2,-(e/2),.1,1e3),i.canvas=this,i.eventEmitter.on(tK.UPDATED,function(){r.context.renderingContext.renderReasons.add(z.CAMERA_CHANGED),rD.enableSizeAttenuation&&r.getConfig().renderer.getConfig().enableSizeAttenuation&&r.updateSizeAttenuation()}),this.context.camera=i},e.prototype.updateSizeAttenuation=function(){var t=this.getCamera().getZoom();this.document.documentElement.forEach(function(e){rD.styleValueRegistry.updateSizeAttenuation(e,t)})},e.prototype.getConfig=function(){return this.context.config},e.prototype.getRoot=function(){return this.document.documentElement},e.prototype.getCamera=function(){return this.context.camera},e.prototype.getContextService=function(){return this.context.contextService},e.prototype.getEventService=function(){return this.context.eventService},e.prototype.getRenderingService=function(){return this.context.renderingService},e.prototype.getRenderingContext=function(){return this.context.renderingContext},e.prototype.getStats=function(){return this.getRenderingService().getStats()},Object.defineProperty(e.prototype,"ready",{get:function(){var t=this;return!this.readyPromise&&(this.readyPromise=new Promise(function(e){t.resolveReadyPromise=function(){e(t)}}),this.inited&&this.resolveReadyPromise()),this.readyPromise},enumerable:!1,configurable:!0}),e.prototype.destroy=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!1),e||this.dispatchEvent(new rm(j.BEFORE_DESTROY)),this.frameId&&(this.getConfig().cancelAnimationFrame||cancelAnimationFrame)(this.frameId);var n=this.getRoot();this.unmountChildren(n),t&&(this.document.destroy(),this.getEventService().destroy()),this.getRenderingService().destroy(),this.getContextService().destroy(),t&&this.context.rBushRoot&&(this.context.rBushRoot.clear(),this.context.rBushRoot=null,this.context.renderingContext.root=null),e||this.dispatchEvent(new rm(j.AFTER_DESTROY))},e.prototype.changeSize=function(t,e){this.resize(t,e)},e.prototype.resize=function(t,e){var n=this.context.config;n.width=t,n.height=e,this.getContextService().resize(t,e);var r=this.context.camera,i=r.getProjectionMode();r.setPosition(t/2,e/2,500).setFocalPoint(t/2,e/2,0),i===I.ORTHOGRAPHIC?r.setOrthographic(-(t/2),t/2,e/2,-(e/2),r.getNear(),r.getFar()):r.setAspect(t/e),this.dispatchEvent(new rm(j.RESIZE,{width:t,height:e}))},e.prototype.appendChild=function(t,e){return this.document.documentElement.appendChild(t,e)},e.prototype.insertBefore=function(t,e){return this.document.documentElement.insertBefore(t,e)},e.prototype.removeChild=function(t){return this.document.documentElement.removeChild(t)},e.prototype.removeChildren=function(){this.document.documentElement.removeChildren()},e.prototype.destroyChildren=function(){this.document.documentElement.destroyChildren()},e.prototype.render=function(t){var e=this;this.dispatchEvent(il),this.getRenderingService().render(this.getConfig(),t,function(){e.dispatchEvent(iu)}),this.dispatchEvent(ic)},e.prototype.run=function(){var t=this,e=function(n,r){t.render(r),t.frameId=t.requestAnimationFrame(e)};e()},e.prototype.initRenderer=function(t,e){var n=this;if(void 0===e&&(e=!1),!t)throw Error("Renderer is required.");this.inited=!1,this.readyPromise=void 0,this.context.rBushRoot=new tN,this.context.renderingPlugins=[],this.context.renderingPlugins.push(new ie,new io,new it([new ii])),this.loadRendererContainerModule(t),this.context.contextService=new this.context.ContextService((0,W.pi)((0,W.pi)({},rD),this.context)),this.context.renderingService=new rP(rD,this.context),this.context.eventService=new rb(rD,this.context),this.context.eventService.init(),this.context.contextService.init?(this.context.contextService.init(),this.initRenderingService(t,e,!0)):this.context.contextService.initAsync().then(function(){n.initRenderingService(t,e)})},e.prototype.initRenderingService=function(t,e,n){var r=this;void 0===e&&(e=!1),void 0===n&&(n=!1),this.context.renderingService.init(function(){r.inited=!0,e?(n?r.requestAnimationFrame(function(){r.dispatchEvent(new rm(j.READY))}):r.dispatchEvent(new rm(j.READY)),r.readyPromise&&r.resolveReadyPromise()):r.dispatchEvent(new rm(j.RENDERER_CHANGED)),e||r.getRoot().forEach(function(t){var e=t.renderable;e&&(e.renderBoundsDirty=!0,e.boundsDirty=!0,e.dirty=!0)}),r.mountChildren(r.getRoot()),t.getConfig().enableAutoRendering&&r.run()})},e.prototype.loadRendererContainerModule=function(t){var e=this;t.getPlugins().forEach(function(t){t.context=e.context,t.init(rD)})},e.prototype.setRenderer=function(t){var e=this.getConfig();if(e.renderer!==t){var n=e.renderer;e.renderer=t,this.destroy(!1,!0),(0,W.ev)([],(0,W.CR)(null==n?void 0:n.getPlugins()),!1).reverse().forEach(function(t){t.destroy(rD)}),this.initRenderer(t)}},e.prototype.setCursor=function(t){this.getConfig().cursor=t,this.getContextService().applyCursorStyle(t)},e.prototype.unmountChildren=function(t){var e=this;t.childNodes.forEach(function(t){e.unmountChildren(t)}),this.inited&&(t.isMutationObserved?t.dispatchEvent(is):(is.target=t,this.dispatchEvent(is,!0)),t!==this.document.documentElement&&(t.ownerDocument=null),t.isConnected=!1),t.isCustomElement&&t.disconnectedCallback&&t.disconnectedCallback()},e.prototype.mountChildren=function(t){var e=this;this.inited?t.isConnected||(t.ownerDocument=this.document,t.isConnected=!0,t.isMutationObserved?t.dispatchEvent(ia):(ia.target=t,this.dispatchEvent(ia,!0))):console.warn("[g]: You are trying to call `canvas.appendChild` before canvas' initialization finished. You can either await `canvas.ready` or listen to `CanvasEvent.READY` manually.","appended child: ",t.nodeName),t.childNodes.forEach(function(t){e.mountChildren(t)}),t.isCustomElement&&t.connectedCallback&&t.connectedCallback()},e.prototype.client2Viewport=function(t){return this.getEventService().client2Viewport(t)},e.prototype.viewport2Client=function(t){return this.getEventService().viewport2Client(t)},e.prototype.viewport2Canvas=function(t){return this.getEventService().viewport2Canvas(t)},e.prototype.canvas2Viewport=function(t){return this.getEventService().canvas2Viewport(t)},e.prototype.getPointByClient=function(t,e){return this.client2Viewport({x:t,y:e})},e.prototype.getClientByPoint=function(t,e){return this.viewport2Client({x:t,y:e})}}(rE)}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5558-30a2ace72fed40b1.js b/dbgpt/app/static/web/_next/static/chunks/5558-30a2ace72fed40b1.js new file mode 100644 index 000000000..1fe7f1c52 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/5558-30a2ace72fed40b1.js @@ -0,0 +1,5 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5558],{71965:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var i=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M793 242H366v-74c0-6.7-7.7-10.4-12.9-6.3l-142 112a8 8 0 000 12.6l142 112c5.2 4.1 12.9.4 12.9-6.3v-74h415v470H175c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-28.7 64-64V306c0-35.3-28.7-64-64-64z"}}]},name:"rollback",theme:"outlined"},o=n(13401),s=r.forwardRef(function(t,e){return r.createElement(o.Z,(0,i.Z)({},t,{ref:e,icon:a}))})},81746:function(t){"undefined"!=typeof self&&self,t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=5)}([function(t,e){t.exports={assign:Object.assign,getHeight:function(t,e,n,i){return void 0===i&&(i="height"),"center"===n?(t[i]+e[i])/2:t.height}}},function(t,e,n){var i=n(3),r=function(){function t(t,e){void 0===e&&(e={}),this.options=e,this.rootNode=i(t,e)}return t.prototype.execute=function(){throw Error("please override this method")},t}();t.exports=r},function(t,e,n){var i=n(4),r=["LR","RL","TB","BT","H","V"],a=["LR","RL","H"],o=r[0];t.exports=function(t,e,n){var s=e.direction||o;if(e.isHorizontal=a.indexOf(s)>-1,s&&-1===r.indexOf(s))throw TypeError("Invalid direction: "+s);if(s===r[0])n(t,e);else if(s===r[1])n(t,e),t.right2left();else if(s===r[2])n(t,e);else if(s===r[3])n(t,e),t.bottom2top();else if(s===r[4]||s===r[5]){var l=i(t,e),h=l.left,c=l.right;n(h,e),n(c,e),e.isHorizontal?h.right2left():h.bottom2top(),c.translate(h.x-c.x,h.y-c.y),t.x=h.x,t.y=c.y;var u=t.getBoundingBox();e.isHorizontal?u.top<0&&t.translate(0,-u.top):u.left<0&&t.translate(-u.left,0)}var d=e.fixedRoot;return void 0===d&&(d=!0),d&&t.translate(-(t.x+t.width/2+t.hgap),-(t.y+t.height/2+t.vgap)),t}},function(t,e,n){var i=n(0),r={getId:function(t){return t.id||t.name},getPreH:function(t){return t.preH||0},getPreV:function(t){return t.preV||0},getHGap:function(t){return t.hgap||18},getVGap:function(t){return t.vgap||18},getChildren:function(t){return t.children},getHeight:function(t){return t.height||36},getWidth:function(t){var e=t.label||" ";return t.width||18*e.split("").length}};function a(t,e){if(this.vgap=this.hgap=0,t instanceof a)return t;this.data=t;var n=e.getHGap(t),i=e.getVGap(t);return this.preH=e.getPreH(t),this.preV=e.getPreV(t),this.width=e.getWidth(t),this.height=e.getHeight(t),this.width+=this.preH,this.height+=this.preV,this.id=e.getId(t),this.x=this.y=0,this.depth=0,this.children||(this.children=[]),this.addGap(n,i),this}i.assign(a.prototype,{isRoot:function(){return 0===this.depth},isLeaf:function(){return 0===this.children.length},addGap:function(t,e){this.hgap+=t,this.vgap+=e,this.width+=2*t,this.height+=2*e},eachNode:function(t){for(var e,n=[this];e=n.shift();)t(e),n=e.children.concat(n)},DFTraverse:function(t){this.eachNode(t)},BFTraverse:function(t){for(var e,n=[this];e=n.shift();)t(e),n=n.concat(e.children)},getBoundingBox:function(){var t={left:Number.MAX_VALUE,top:Number.MAX_VALUE,width:0,height:0};return this.eachNode(function(e){t.left=Math.min(t.left,e.x),t.top=Math.min(t.top,e.y),t.width=Math.max(t.width,e.x+e.width),t.height=Math.max(t.height,e.y+e.height)}),t},translate:function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.eachNode(function(n){n.x+=t,n.y+=e,n.x+=n.preH,n.y+=n.preV})},right2left:function(){var t=this.getBoundingBox();this.eachNode(function(e){e.x=e.x-(e.x-t.left)*2-e.width}),this.translate(t.width,0)},bottom2top:function(){var t=this.getBoundingBox();this.eachNode(function(e){e.y=e.y-(e.y-t.top)*2-e.height}),this.translate(0,t.height)}}),t.exports=function(t,e,n){void 0===e&&(e={}),e=i.assign({},r,e);var o,s=new a(t,e),l=[s];if(!n&&!t.collapsed){for(;o=l.shift();)if(!o.data.collapsed){var h=e.getChildren(o.data),c=h?h.length:0;if(o.children=Array(c),h&&c)for(var u=0;u=n.low;)n=n.nxt;return{low:t,index:e,nxt:n}}!function t(e,n,i){void 0===i&&(i=0),n?(e.x=i,i+=e.width):(e.y=i,i+=e.height),e.children.forEach(function(e){t(e,n,i)})}(t,r);var l=n.fromNode(t,r);return function t(e){if(0===e.cs){a(e);return}t(e.c[0]);for(var n=s(o(e.c[0].el),0,null),i=1;in.low&&(n=n.nxt);var l,h,c,u=r+i.prelim+i.w-(s+a.prelim);u>0&&(s+=u,l=n.index,t.c[e].mod+=u,t.c[e].msel+=u,t.c[e].mser+=u,function(t,e,n,i){if(n!==e-1){var r=e-n;t.c[n+1].shift+=i/r,t.c[e].shift-=i/r,t.c[e].change-=i-i/r}}(t,e,l,u));var d=o(i),p=o(a);d<=p&&null!==(i=0===(h=i).cs?h.tr:h.c[h.cs-1])&&(r+=i.mod),d>=p&&null!==(a=0===(c=a).cs?c.tl:c.c[0])&&(s+=a.mod)}!i&&a?function(t,e,n,i){var r=t.c[0].el;r.tl=n;var a=i-n.mod-t.c[0].msel;r.mod+=a,r.prelim-=a,t.c[0].el=t.c[e].el,t.c[0].msel=t.c[e].msel}(t,e,a,s):i&&!a&&function(t,e,n,i){var r=t.c[e].er;r.tr=n;var a=i-n.mod-t.c[e].mser;r.mod+=a,r.prelim-=a,t.c[e].er=t.c[e-1].er,t.c[e].mser=t.c[e-1].mser}(t,e,i,r)})(e,i,n),n=s(r,i,n)}e.prelim=(e.c[0].prelim+e.c[0].mod+e.c[e.cs-1].mod+e.c[e.cs-1].prelim+e.c[e.cs-1].w)/2-e.w/2,a(e)}(l),function t(e,n){n+=e.mod,e.x=e.prelim+n,function(t){for(var e=0,n=0,i=0;io&&(o=e.depth);var n=e.children,i=n.length,a=new r(e.height,[]);return n.forEach(function(e,n){var r=t(e);a.children.push(r),0===n&&(a.leftChild=r),n===i-1&&(a.rightChild=r)}),a.originNode=e,a.isLeaf=e.isLeaf(),a}(t);return function t(e){if(e.isLeaf||0===e.children.length)e.drawingDepth=o;else{var n=e.children.map(function(e){return t(e)}),i=Math.min.apply(null,n);e.drawingDepth=i-1}return e.drawingDepth}(s),function t(i){i.x=i.drawingDepth*e.rankSep,i.isLeaf?(i.y=0,n&&(i.y=n.y+n.height+e.nodeSep,i.originNode.parent!==n.originNode.parent&&(i.y+=e.subTreeSep)),n=i):(i.children.forEach(function(e){t(e)}),i.y=(i.leftChild.y+i.rightChild.y)/2)}(s),function t(e,n,i){i?(n.x=e.x,n.y=e.y):(n.x=e.y,n.y=e.x),e.children.forEach(function(e,r){t(e,n.children[r],i)})}(s,t,e.isHorizontal),t}},function(t,e,n){function i(t,e){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var r=n(1),a=n(11),o=n(4),s=n(0),l=["LR","RL","H"],h=l[0],c=function(t){function e(){return t.apply(this,arguments)||this}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t),e.prototype.execute=function(){var t=this.options,e=this.rootNode;t.isHorizontal=!0;var n=t.indent,i=void 0===n?20:n,r=t.dropCap,s=void 0===r||r,c=t.direction,u=void 0===c?h:c,d=t.align;if(u&&-1===l.indexOf(u))throw TypeError("Invalid direction: "+u);if(u===l[0])a(e,i,s,d);else if(u===l[1])a(e,i,s,d),e.right2left();else if(u===l[2]){var p=o(e,t),f=p.left,g=p.right;a(f,i,s,d),f.right2left(),a(g,i,s,d);var y=f.getBoundingBox();g.translate(y.width,0),e.x=g.x-e.width/2}return e},e}(r),u={};t.exports=function(t,e){return e=s.assign({},u,e),new c(t,e).execute()}},function(t,e,n){var i=n(0);t.exports=function(t,e,n,r){var a=null;t.eachNode(function(t){(function(t,e,n,r,a){var o="function"==typeof n?n(t):n*t.depth;if(!r)try{if(t.id===t.parent.children[0].id){t.x+=o,t.y=e?e.y:0;return}}catch(t){}if(t.x+=o,e){if(t.y=e.y+i.getHeight(e,t,a),e.parent&&t.parent.id!==e.parent.id){var s=e.parent,l=s.y+i.getHeight(s,t,a);t.y=l>t.y?l:t.y}}else t.y=0})(t,a,e,n,r),a=t})}},function(t,e,n){function i(t,e){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var r=n(1),a=n(13),o=n(2),s=n(0),l=function(t){function e(){return t.apply(this,arguments)||this}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t),e.prototype.execute=function(){return o(this.rootNode,this.options,a)},e}(r),h={};t.exports=function(t,e){return e=s.assign({},h,e),new l(t,e).execute()}},function(t,e,n){var i=n(0),r={getSubTreeSep:function(){return 0}};t.exports=function(t,e){void 0===e&&(e={}),e=i.assign({},r,e),t.parent={x:0,width:0,height:0,y:0},t.BFTraverse(function(t){t.x=t.parent.x+t.parent.width}),t.parent=null,function t(e,n){var i=0;return e.children.length?e.children.forEach(function(e){i+=t(e,n)}):i=e.height,e._subTreeSep=n.getSubTreeSep(e.data),e.totalHeight=Math.max(e.height,i)+2*e._subTreeSep,e.totalHeight}(t,e),t.startY=0,t.y=t.totalHeight/2-t.height/2,t.eachNode(function(t){var e=t.children,n=e.length;if(n){var i=e[0];if(i.startY=t.startY+t._subTreeSep,1===n)i.y=t.y+t.height/2-i.height/2;else{i.y=i.startY+i.totalHeight/2-i.height/2;for(var r=1;re.height)e.y=r.y+o/2-e.height/2;else if(1!==n.length||e.height>s){var l=e.y+(e.height-o)/2-r.y;n.forEach(function(t){t.translate(0,l)})}else e.y=(r.y+r.height/2+a.y+a.height/2)/2-e.height/2}}(t)}}])},80817:function(t){function e(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0])}t.exports=function(t){let n=function(t){let n=[];for(let i=0;i=2&&0>=e(n[n.length-2],n[n.length-1],t[i]);)n.pop();n.push(t[i])}return n.pop(),n}(t),i=function(t){let n=t.reverse(),i=[];for(let t=0;t=2&&0>=e(i[i.length-2],i[i.length-1],n[t]);)i.pop();i.push(n[t])}return i.pop(),i}(t),r=i.concat(n);return r.push(t[0]),r}},63652:function(t){t.exports={toXy:function(t,e){return void 0===e?t.slice():t.map(function(t){let n=Function("pt","return [pt"+e[0]+",pt"+e[1]+"];");return n(t)})},fromXy:function(t,e){return void 0===e?t.slice():t.map(function(t){let n=Function("pt","const o = {}; o"+e[0]+"= pt[0]; o"+e[1]+"= pt[1]; return o;");return n(t)})}}},58867:function(t){function e(t,e){this._cells=[],this._cellSize=e,this._reverseCellSize=1/e;for(let e=0;e=0;a--)t[a][0]i&&(i=t[a][0]),t[a][1]>r&&(r=t[a][1]);return[i-e,r-n]}(i),d=[.6*u[0],.6*u[1]],p=o(i),f=i.filter(function(t){return 0>p.indexOf(t)}),g=Math.ceil(1/(i.length/(u[0]*u[1]))),y=function t(e,n,i,r,a){let o=!1;for(let t=0;tr&&s>a&&!h([t[0],e[c]],n)&&!h([t[1],e[c]],n)&&(r=o,a=s,i=e[c]);return i}(f,r.rangePoints(m),e),y++;while(null===p&&(i[0]>u||i[1]>d));u>=i[0]&&d>=i[1]&&a.add(g),null!==p&&(e.splice(t+1,0,p),r.removePoint(p),o=!0)}return o?t(e,n,i,r,a):e}(p,Math.pow(e||20,2),d,r(f,g),new Set);return n?a.fromXy(y,n):y}},77444:function(t){function e(t,e,n,i,r,a){let o=(a-e)*(n-t)-(i-e)*(r-t);return o>0||!(o<0)}t.exports=function(t,n){let i=t[0][0],r=t[0][1],a=t[1][0],o=t[1][1],s=n[0][0],l=n[0][1],h=n[1][0],c=n[1][1];return e(i,r,s,l,h,c)!==e(a,o,s,l,h,c)&&e(i,r,a,o,s,l)!==e(i,r,a,o,h,c)}},83007:function(t,e,n){"use strict";let i;n.d(e,{kJ:function(){return l8},jD:function(){return tt}});var r,a,o,s,l,h,c,u,d,p,f,g,y,m,v,b,x,E,w,C,S,R,A,O,M,T,k,P,L,D,N={};n.r(N),n.d(N,{circle:function(){return nw},diamond:function(){return nS},rect:function(){return nA},simple:function(){return nM},triangle:function(){return nC},triangleRect:function(){return nO},vee:function(){return nR}});var I=n(1242),B=n(83914),_=n(95147),F=n(30335),j=n(4637);let Z={duration:500},z={duration:1e3,easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",iterations:1,fill:"both"};(r=v||(v={})).NodeAdded="NodeAdded",r.NodeUpdated="NodeUpdated",r.NodeRemoved="NodeRemoved",r.EdgeAdded="EdgeAdded",r.EdgeUpdated="EdgeUpdated",r.EdgeRemoved="EdgeRemoved",r.ComboAdded="ComboAdded",r.ComboUpdated="ComboUpdated",r.ComboRemoved="ComboRemoved",(a=b||(b={})).DRAW="draw",a.COLLAPSE="collapse",a.EXPAND="expand",a.TRANSFORM="transform",(o=x||(x={})).CLICK="canvas:click",o.DBLCLICK="canvas:dblclick",o.POINTER_OVER="canvas:canvas:pointerover",o.POINTER_LEAVE="canvas:pointerleave",o.POINTER_ENTER="canvas:pointerenter",o.POINTER_MOVE="canvas:pointermove",o.POINTER_OUT="canvas:pointerout",o.POINTER_DOWN="canvas:pointerdown",o.POINTER_UP="canvas:pointerup",o.CONTEXT_MENU="canvas:contextmenu",o.DRAG_START="canvas:dragstart",o.DRAG="canvas:drag",o.DRAG_END="canvas:dragend",o.DRAG_ENTER="canvas:dragenter",o.DRAG_OVER="canvas:dragover",o.DRAG_LEAVE="canvas:dragleave",o.DROP="canvas:drop",o.WHEEL="canvas:wheel",(s=E||(E={})).CLICK="combo:click",s.DBLCLICK="combo:dblclick",s.POINTER_OVER="combo:pointerover",s.POINTER_LEAVE="combo:pointerleave",s.POINTER_ENTER="combo:pointerenter",s.POINTER_MOVE="combo:pointermove",s.POINTER_OUT="combo:pointerout",s.POINTER_DOWN="combo:pointerdown",s.POINTER_UP="combo:pointerup",s.CONTEXT_MENU="combo:contextmenu",s.DRAG_START="combo:dragstart",s.DRAG="combo:drag",s.DRAG_END="combo:dragend",s.DRAG_ENTER="combo:dragenter",s.DRAG_OVER="combo:dragover",s.DRAG_LEAVE="combo:dragleave",s.DROP="combo:drop",(l=w||(w={})).CLICK="click",l.DBLCLICK="dblclick",l.POINTER_OVER="pointerover",l.POINTER_LEAVE="pointerleave",l.POINTER_ENTER="pointerenter",l.POINTER_MOVE="pointermove",l.POINTER_OUT="pointerout",l.POINTER_DOWN="pointerdown",l.POINTER_UP="pointerup",l.CONTEXT_MENU="contextmenu",l.DRAG_START="dragstart",l.DRAG="drag",l.DRAG_END="dragend",l.DRAG_ENTER="dragenter",l.DRAG_OVER="dragover",l.DRAG_LEAVE="dragleave",l.DROP="drop",l.KEY_DOWN="keydown",l.KEY_UP="keyup",l.WHEEL="wheel",(h=C||(C={})).KEY_DOWN="keydown",h.KEY_UP="keyup",(c=S||(S={})).CLICK="edge:click",c.DBLCLICK="edge:dblclick",c.POINTER_OVER="edge:pointerover",c.POINTER_LEAVE="edge:pointerleave",c.POINTER_ENTER="edge:pointerenter",c.POINTER_MOVE="edge:pointermove",c.POINTER_OUT="edge:pointerout",c.POINTER_DOWN="edge:pointerdown",c.POINTER_UP="edge:pointerup",c.CONTEXT_MENU="edge:contextmenu",c.DRAG_ENTER="edge:dragenter",c.DRAG_OVER="edge:dragover",c.DRAG_LEAVE="edge:dragleave",c.DROP="edge:drop",(u=R||(R={})).BEFORE_CANVAS_INIT="beforecanvasinit",u.AFTER_CANVAS_INIT="aftercanvasinit",u.BEFORE_SIZE_CHANGE="beforesizechange",u.AFTER_SIZE_CHANGE="aftersizechange",u.BEFORE_ELEMENT_CREATE="beforeelementcreate",u.AFTER_ELEMENT_CREATE="afterelementcreate",u.BEFORE_ELEMENT_UPDATE="beforeelementupdate",u.AFTER_ELEMENT_UPDATE="afterelementupdate",u.BEFORE_ELEMENT_DESTROY="beforeelementdestroy",u.AFTER_ELEMENT_DESTROY="afterelementdestroy",u.BEFORE_ELEMENT_TRANSLATE="beforeelementtranslate",u.AFTER_ELEMENT_TRANSLATE="afterelementtranslate",u.BEFORE_DRAW="beforedraw",u.AFTER_DRAW="afterdraw",u.BEFORE_RENDER="beforerender",u.AFTER_RENDER="afterrender",u.BEFORE_ANIMATE="beforeanimate",u.AFTER_ANIMATE="afteranimate",u.BEFORE_LAYOUT="beforelayout",u.AFTER_LAYOUT="afterlayout",u.BEFORE_STAGE_LAYOUT="beforestagelayout",u.AFTER_STAGE_LAYOUT="afterstagelayout",u.BEFORE_TRANSFORM="beforetransform",u.AFTER_TRANSFORM="aftertransform",u.BATCH_START="batchstart",u.BATCH_END="batchend",u.BEFORE_DESTROY="beforedestroy",u.AFTER_DESTROY="afterdestroy",u.BEFORE_RENDERER_CHANGE="beforerendererchange",u.AFTER_RENDERER_CHANGE="afterrendererchange",(d=A||(A={})).UNDO="undo",d.REDO="redo",d.CANCEL="cancel",d.ADD="add",d.CLEAR="clear",d.CHANGE="change",(p=O||(O={})).CLICK="node:click",p.DBLCLICK="node:dblclick",p.POINTER_OVER="node:pointerover",p.POINTER_LEAVE="node:pointerleave",p.POINTER_ENTER="node:pointerenter",p.POINTER_MOVE="node:pointermove",p.POINTER_OUT="node:pointerout",p.POINTER_DOWN="node:pointerdown",p.POINTER_UP="node:pointerup",p.CONTEXT_MENU="node:contextmenu",p.DRAG_START="node:dragstart",p.DRAG="node:drag",p.DRAG_END="node:dragend",p.DRAG_ENTER="node:dragenter",p.DRAG_OVER="node:dragover",p.DRAG_LEAVE="node:dragleave",p.DROP="node:drop";let G="combo",H="tree";(f=M||(M={})).NODE="node",f.EDGE="edge",f.COMBO="combo",f.THEME="theme",f.PALETTE="palette",f.LAYOUT="layout",f.BEHAVIOR="behavior",f.PLUGIN="plugin",f.ANIMATION="animation",f.TRANSFORM="transform",f.SHAPE="shape";let W={animation:{},behavior:{},combo:{},edge:{},layout:{},node:{},palette:{},theme:{},plugin:{},transform:{},shape:{}};function V(t,e){var n;let i=null===(n=W[t])||void 0===n?void 0:n[e];if(i)return i}function U(t){return"[".concat("G6"," v").concat("5.0.17","] ").concat(t)}let Y={mute:!1,debug:t=>{Y.mute||console.debug(U(t))},info:t=>{Y.mute||console.info(U(t))},warn:t=>{Y.mute||console.warn(U(t))},error:t=>{Y.mute||console.error(U(t))}};function K(t){let{theme:e}=t;if(!e)return{};let n=V(M.THEME,e);return n||(Y.warn("The theme of ".concat(e," is not registered.")),{})}function $(t,e){if(Array.isArray(t)&&0===t.length)return null;let n=Array.isArray(t)?t[0]:t,i=Array.isArray(t)?t.slice(1):e||[];return new Proxy(n,{get:(t,e)=>"function"!=typeof t[e]||["onframe","onfinish"].includes(e)?"finished"===e?Promise.all([n.finished,...i.map(t=>t.finished)]):Reflect.get(t,e):function(){for(var n=arguments.length,r=Array(n),a=0;a{var n;return null===(n=t[e])||void 0===n?void 0:n.call(t,...r)})},set:(t,e,n)=>(["onframe","onfinish"].includes(e)||i.forEach(t=>{t[e]=n}),Reflect.set(t,e,n))})}function X(t){let e=t.reduce((t,e)=>(Object.entries(e).forEach(e=>{let[n,i]=e;void 0===t[n]?t[n]=[i]:t[n].push(i)}),t),{});Object.entries(e).forEach(n=>{let[i,r]=n;(r.length!==t.length||r.some(t=>(0,_.Z)(t))||r.every(t=>!["sourceNode","targetNode","childrenNode"].includes(i)&&(0,F.Z)(t,r[0])))&&delete e[i]});let n=Object.entries(e).reduce((t,e)=>{let[n,i]=e;return i.forEach((e,i)=>{t[i]?t[i][n]=e:t[i]={[n]:e}}),t},[]);return 0!==t.length&&0===n.length&&n.push(...[{_:0},{_:0}]),n}function q(t){switch(t){case"opacity":return 1;case"x":case"y":case"z":case"zIndex":return 0;case"visibility":return"visible";case"collapsed":return!1;case"states":return[];default:return}}function Q(t,e){let{animation:n}=t;if(!1===n||!1===e)return!1;let i={...Z};return(0,j.Z)(n)&&Object.assign(i,n),(0,j.Z)(e)&&Object.assign(i,e),i}var J=n(83787);function tt(t){if(void 0!==t.id)return t.id;if(void 0!==t.source&&void 0!==t.target)return"".concat(t.source,"-").concat(t.target);throw Error(U("The datum does not have available id."))}function te(t,e){let n={nodes:(t.nodes||[]).map(tt),edges:(t.edges||[]).map(tt),combos:(t.combos||[]).map(tt)};return e?Object.values(n).flat():n}function tn(t,e,n,i){let r=i?i.replace(/translate(3d)?\([^)]*\)/g,""):"";return 0===n?"translate(".concat(t,", ").concat(e,")").concat(r):"translate3d(".concat(t,", ").concat(e,", ").concat(n,")").concat(r)}let ti=function(t,e,n,i){let r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=tt(i),o="".concat(n,"s"),s=t.add[o].get(a)||t.update[o].get(a)||t.remove[o].get(a)||i;Object.entries(t).forEach(t=>{let[n,l]=t;e===n?l[o].set(a,r?(0,J.Z)(s,i):s):l[o].delete(a)})},tr=(t,e,n)=>{let i;if(!n.length)return null;let[r,a]=e,o=e=>{if(!e)return{shape:t,fromStyle:r,toStyle:a};{var n;let i=t.getShape(e);if(!i)return null;let o="get".concat((0,B.Z)(e),"Style"),s=(null==t?void 0:null===(n=t[o])||void 0===n?void 0:n.bind(t))||(t=>t),l=(null==s?void 0:s(r))||{},h=(null==s?void 0:s(a))||{};return{shape:i,fromStyle:l,toStyle:h}}},s=n.map(t=>{let{fields:e,shape:n,states:r,...a}=t,s=o(n);if(!s)return null;let{shape:l,fromStyle:h,toStyle:c}=s,u=[{},{}];if(e.forEach(t=>{var e,n;Object.assign(u[0],{[t]:null!==(e=h[t])&&void 0!==e?e:q(t)}),Object.assign(u[1],{[t]:null!==(n=c[t])&&void 0!==n?n:q(t)})}),u.some(t=>Object.keys(t).some(t=>["x","y","z"].includes(t)))){let{x:t=0,y:e=0,z:n=0,transform:i=""}=l.attributes||{};u.forEach(r=>{r.transform=tn(r.x||t,r.y||e,r.z||n,i)})}let d=l.animate(X(u),a);return void 0===n&&(i=d),d}).filter(Boolean),l=i||(null==s?void 0:s[0]);return l?$(l,s.filter(t=>t!=t)):null},ta=[{fields:["x","y"]}],to=[{fields:["sourceNode","targetNode"]}],ts=[{fields:["childrenNode","x","y"]}];function tl(t,e,n){let i=new Map(t.map(t=>[n(t),t])),r=new Map(e.map(t=>[n(t),t])),a=new Set(i.keys()),o=new Set(r.keys()),s=[],l=[],h=[],c=[];return o.forEach(t=>{a.has(t)?(0,F.Z)(i.get(t),r.get(t))?c.push(r.get(t)):l.push(r.get(t)):s.push(r.get(t))}),a.forEach(t=>{o.has(t)||h.push(i.get(t))}),{enter:s,exit:h,keep:c,update:l}}class th{setExtensions(t){let e=function(t,e,n){let i={},r=t=>(t in i||(i[t]=0),"".concat(e,"-").concat(t,"-").concat(i[t]++));return n.map(e=>"string"==typeof e?{type:e,key:r(e)}:"function"==typeof e?e.call(t):e.key?e:{...e,key:r(e.type)})}(this.context.graph,this.category,t),{enter:n,update:i,exit:r,keep:a}=tl(this.extensions,e,t=>t.key);this.createExtensions(n),this.updateExtensions([...i,...a]),this.destroyExtensions(r),this.extensions=e}createExtension(t){let{category:e}=this,{key:n,type:i}=t,r=V(e,i);if(!r)return Y.warn("The extension ".concat(i," of ").concat(e," is not registered."));let a=new r(this.context,t);this.extensionMap[n]=a}createExtensions(t){t.forEach(t=>this.createExtension(t))}updateExtension(t){let{key:e}=t,n=this.extensionMap[e];n&&n.update(t)}updateExtensions(t){t.forEach(t=>this.updateExtension(t))}destroyExtension(t){let e=this.extensionMap[t];e&&(e.destroy(),delete this.extensionMap[t])}destroyExtensions(t){t.forEach(t=>{let{key:e}=t;return this.destroyExtension(e)})}destroy(){Object.values(this.extensionMap).forEach(t=>t.destroy()),this.context={},this.extensions=[],this.extensionMap={}}constructor(t){this.extensions=[],this.extensionMap={},this.context=t}}class tc{update(t){this.options=Object.assign(this.options,t)}destroy(){this.context={},this.options={},this.destroyed=!0}constructor(t,e){this.events=[],this.destroyed=!1,this.context=t,this.options=e}}class tu extends tc{}var td=n(45607),tp=n(83207);function tf(t){return t instanceof Float32Array||!!Array.isArray(t)&&(2===t.length||3===t.length)&&t.every(t=>"number"==typeof t)}function tg(t,e,n){return t>=e&&t<=n}function ty(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(Array.isArray(t)){let[e=0,n=e,i=e,r=n]=t;return[e,n,i,r]}return[t,t,t,t]}function tm(t){return t.max[0]-t.min[0]}function tv(t){return t.max[1]-t.min[1]}function tb(t){return[tm(t),tv(t)]}function tx(t,e){let n=tf(t)?function(t){let[e,n,i=0]=t,r=new I.mN;return r.setMinMax([e,n,i],[e,n,i]),r}(t):t.getShape("key").getBounds();return e?tE(n,e):n}function tE(t,e){let[n,i,r,a]=ty(e),[o,s,l]=t.min,[h,c,u]=t.max,d=new I.mN;return d.setMinMax([o-a,s-n,l],[h+i,c+r,u]),d}function tw(t){if(0===t.length)return new I.mN;if(1===t.length)return t[0];let e=new I.mN;e.setMinMax(t[0].min,t[0].max);for(let n=1;n2&&void 0!==arguments[2]&&arguments[2],{min:[i,r],max:[a,o]}=e,s=(t[1]===r||t[1]===o)&&(n||tg(t[0],i,a)),l=(t[0]===i||t[0]===a)&&(n||tg(t[1],r,o));return s||l}function tR(t,e){let[n,i]=e,[r,a]=t.min,[o,s]=t.max,l=n-r,h=o-n,c=i-a,u=s-i,d=Math.min(l,h,c,u);return d===l?"left":d===h?"right":d===c?"top":d===u?"bottom":"left"}function tA(t,e){let n=(0,tp.Z)(e);if(tC(e,t)){let i=tR(t,e);switch(i){case"left":n[0]=t.min[0];break;case"right":n[0]=t.max[0];break;case"top":n[1]=t.min[1];break;case"bottom":n[1]=t.max[1]}}else{let[i,r]=e,[a,o]=t.min,[s,l]=t.max;n[0]=tg(i,a,s)?i:it+e[n])}function tT(t,e){return t.map((t,n)=>t-e[n])}function tk(t,e){return"number"==typeof e?t.map(t=>t*e):t.map((t,n)=>t*e[n])}function tP(t,e){return"number"==typeof e?t.map(t=>t/e):t.map((t,n)=>t/e[n])}function tL(t,e){return t.map(t=>t*e)}function tD(t,e){return Math.sqrt(t.reduce((t,n,i)=>t+(n-e[i]||0)**2,0))}function tN(t,e){return t.reduce((t,n,i)=>t+Math.abs(n-e[i]),0)}function tI(t){let e=t.reduce((t,e)=>t+e**2,0);return t.map(t=>t/Math.sqrt(e))}function tB(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t[0]*e[1]-t[1]*e[0],r=Math.acos(tk(t,e).reduce((t,e)=>t+e,0)/(tD(t,tO)*tD(e,tO)));return n&&i<0&&(r=2*Math.PI-r),r}function t_(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return e?[-t[1],t[0]]:[t[1],-t[0]]}function tF(t){return[t[0],t[1]]}function tj(t){return 2===t.length?[t[0],t[1],0]:t}function tZ(t,e){let[n,i]=t,[r,a]=e,o=tT(n,i),s=tT(r,a);return(function(t,e){let n=tj(t),i=tj(e);return[n[1]*i[2]-n[2]*i[1],n[2]*i[0]-n[0]*i[2],n[0]*i[1]-n[1]*i[0]]})(o,s).every(t=>0===t)}function tz(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(tZ(t,e))return;let[i,r]=t,[a,o]=e,s=((i[0]-a[0])*(a[1]-o[1])-(i[1]-a[1])*(a[0]-o[0]))/((i[0]-r[0])*(a[1]-o[1])-(i[1]-r[1])*(a[0]-o[0])),l=o[0]-a[0]?(i[0]-a[0]+s*(r[0]-i[0]))/(o[0]-a[0]):(i[1]-a[1]+s*(r[1]-i[1]))/(o[1]-a[1]);if(n||tg(s,0,1)&&tg(l,0,1))return[i[0]+s*(r[0]-i[0]),i[1]+s*(r[1]-i[1])]}function tG(t){if(Array.isArray(t))return tg(t[0],0,1)&&tg(t[1],0,1)?t:[.5,.5];let e=t.split("-"),n=e.includes("left")?0:e.includes("right")?1:.5,i=e.includes("top")?0:e.includes("bottom")?1:.5;return[n,i]}function tH(t){let{x:e=0,y:n=0,z:i=0}=t.style||{};return[+e,+n,+i]}function tW(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"center",n=tG(e);return function(t,e){let[n,i]=e,{min:r,max:a}=t;return[r[0]+n*(a[0]-r[0]),r[1]+i*(a[1]-r[1])]}(t,n)}function tV(t){var e;return[t.x,t.y,null!==(e=t.z)&&void 0!==e?e:0]}function tU(t){var e;return{x:t[0],y:t[1],z:null!==(e=t[2])&&void 0!==e?e:0}}function tY(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.map(t=>parseFloat(t.toFixed(e)))}function tK(t,e,n){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=i?tT(t,e):tT(e,t),a=tI(r),o=[a[0]*n,a[1]*n];return tM(tF(t),o)}function t$(t,e,n){let i=!(arguments.length>3)||void 0===arguments[3]||arguments[3];for(let r=0;r1?c=1:c<0&&(c=0);let u=n+c*l,d=i+c*h;return[u,d]}function tQ(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=function(t){let e=t.reduce((t,e)=>tM(t,e),[0,0]);return tP(e,t.length)}(t);return t.sort((t,i)=>{let[r,a]=t,[o,s]=i,l=Math.atan2(a-n[1],r-n[0]),h=Math.atan2(s-n[1],o-n[0]);return e?h-l:l-h})}function tJ(t,e){return[t,[t[0],e[1]],e,[e[0],t[1]]]}var t0=n(76714);let t1=t=>t.map(t=>(0,t0.Z)(t)?t.toLocaleLowerCase():t);class t2{bind(t,e){0!==t.length&&this.map.set(t,e)}unbind(t,e){this.map.forEach((n,i)=>{(0,F.Z)(i,t)&&(!e||e===n)&&this.map.delete(i)})}unbindAll(){this.map.clear()}match(t){let e=t1(Array.from(this.recordKey)).sort(),n=t1(t).sort();return(0,F.Z)(e,n)}bindEvents(){let{emitter:t}=this;t.on(w.KEY_DOWN,this.onKeyDown),t.on(w.KEY_UP,this.onKeyUp),t.on(w.WHEEL,this.onWheel),t.on(w.DRAG,this.onDrag),window.addEventListener("focus",this.onFocus)}trigger(t){this.map.forEach((e,n)=>{this.match(n)&&e(t)})}triggerExtendKey(t,e){this.map.forEach((n,i)=>{i.includes(t)&&(0,F.Z)(Array.from(this.recordKey),i.filter(e=>e!==t))&&n(e)})}destroy(){this.unbindAll(),this.emitter.off(w.KEY_DOWN,this.onKeyDown),this.emitter.off(w.KEY_UP,this.onKeyUp),this.emitter.off(w.WHEEL,this.onWheel),this.emitter.off(w.DRAG,this.onDrag),window.removeEventListener("blur",this.onFocus)}constructor(t){this.map=new Map,this.recordKey=new Set,this.onKeyDown=t=>{(null==t?void 0:t.key)&&(this.recordKey.add(t.key),this.trigger(t))},this.onKeyUp=t=>{(null==t?void 0:t.key)&&this.recordKey.delete(t.key)},this.onWheel=t=>{this.triggerExtendKey(w.WHEEL,t)},this.onDrag=t=>{this.triggerExtendKey(w.DRAG,t)},this.onFocus=()=>{this.recordKey.clear()},this.emitter=t,this.bindEvents()}}class t3 extends tu{onPointerDown(t){if(!this.validate(t)||!this.isKeydown()||this.startPoint)return;let{canvas:e,graph:n}=this.context,i={...this.options.style};this.options.style.lineWidth&&(i.lineWidth=+this.options.style.lineWidth/n.getZoom()),this.rectShape=new I.UL({id:"g6-brush-select",style:i}),e.appendChild(this.rectShape),this.startPoint=[t.canvas.x,t.canvas.y]}onPointerMove(t){var e;if(!this.startPoint)return;let{immediately:n,mode:i}=this.options;this.endPoint=t6(t),null===(e=this.rectShape)||void 0===e||e.attr({x:Math.min(this.endPoint[0],this.startPoint[0]),y:Math.min(this.endPoint[1],this.startPoint[1]),width:Math.abs(this.endPoint[0]-this.startPoint[0]),height:Math.abs(this.endPoint[1]-this.startPoint[1])}),n&&"default"===i&&this.updateElementsStates(tJ(this.startPoint,this.endPoint))}onPointerUp(t){if(this.startPoint){if(!this.endPoint){this.clearBrush();return}this.endPoint=t6(t),this.updateElementsStates(tJ(this.startPoint,this.endPoint)),this.clearBrush()}}clearStates(){this.endPoint||this.clearElementsStates()}clearElementsStates(){let{graph:t}=this.context,e=Object.values(t.getData()).reduce((t,e)=>Object.assign({},t,e.reduce((t,e)=>(t[tt(e)]=[],t),{})),{});t.setElementState(e,this.options.animation)}updateElementsStates(t){let{graph:e}=this.context,{enableElements:n,state:i,mode:r,onSelect:a}=this.options,o=this.selector(e,t,n),s={};switch(r){case"union":o.forEach(t=>{s[t]=[...e.getElementState(t),i]});break;case"diff":o.forEach(t=>{let n=e.getElementState(t);s[t]=n.includes(i)?n.filter(t=>t!==i):[...n,i]});break;case"intersect":o.forEach(t=>{let n=e.getElementState(t);s[t]=n.includes(i)?[i]:[]});break;default:o.forEach(t=>{s[t]=[i]})}(0,td.Z)(a)&&(s=a(s)),e.setElementState(s,this.options.animation)}selector(t,e,n){if(!n||0===n.length)return[];let i=[],r=t.getData();if(n.forEach(n=>{r["".concat(n,"s")].forEach(n=>{let r=tt(n);"hidden"!==t.getElementVisibility(r)&&function(t,e,n,i){let r=t[0],a=t[1],o=!1;void 0===n&&(n=0),void 0===i&&(i=e.length);let s=i-n;for(let t=0,i=s-1;ta!=c>a&&r<(h-s)*(a-l)/(c-l)+s;u&&(o=!o)}return o}(t.getElementPosition(r),e)&&i.push(r)})}),n.includes("edge")){let t=r.edges;null==t||t.forEach(t=>{let{source:e,target:n}=t;i.includes(e)&&i.includes(n)&&i.push(tt(t))})}return i}clearBrush(){var t;null===(t=this.rectShape)||void 0===t||t.remove(),this.rectShape=void 0,this.startPoint=void 0,this.endPoint=void 0}isKeydown(){let{trigger:t}=this.options,e=Array.isArray(t)?t:[t];return this.shortcut.match(e.filter(t=>"drag"!==t))}validate(t){if(this.destroyed)return!1;let{enable:e}=this.options;return(0,td.Z)(e)?e(t):!!e}bindEvents(){let{graph:t}=this.context;t.on(w.POINTER_DOWN,this.onPointerDown),t.on(w.POINTER_MOVE,this.onPointerMove),t.on(w.POINTER_UP,this.onPointerUp),t.on(x.CLICK,this.clearStates)}unbindEvents(){let{graph:t}=this.context;t.off(w.POINTER_DOWN,this.onPointerDown),t.off(w.POINTER_MOVE,this.onPointerMove),t.off(w.POINTER_UP,this.onPointerUp),t.off(x.CLICK,this.clearStates)}update(t){this.unbindEvents(),this.options=(0,J.Z)(this.options,t),this.bindEvents()}destroy(){this.unbindEvents(),super.destroy()}constructor(t,e){super(t,(0,J.Z)({},t3.defaultOptions,e)),this.shortcut=new t2(t.graph),this.onPointerDown=this.onPointerDown.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.clearStates=this.clearStates.bind(this),this.bindEvents()}}t3.defaultOptions={animation:!1,enable:!0,enableElements:["node","combo","edge"],immediately:!1,mode:"default",state:"selected",trigger:["shift"],style:{width:0,height:0,lineWidth:1,fill:"#1677FF",stroke:"#1677FF",fillOpacity:.1,zIndex:2,pointerEvents:"none"}};let t6=t=>[t.canvas.x,t.canvas.y],t4=["node","edge","combo"];function t8(t,e,n,i){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;"TB"===i&&e(t,r);let a=n(t);if(a)for(let t of a)t8(t,e,n,i,r+1);"BT"===i&&e(t,r)}function t9(t,e,n,i){if("combo"===e||"node"===e)return t5(t,n,i);let r=t.getEdgeData(n);if(!r)return[];let a=t5(t,r.source,i-1),o=t5(t,r.target,i-1);return Array.from(new Set([...a,...o,n]))}function t5(t,e,n){let i=new Set,r=new Set,a=new Set;return!function(t,e,n){let i=[[t,0]];for(;i.length;){let[t,r]=i.shift();e(t,r);let a=n(t);if(a)for(let t of a)i.push([t,r+1])}}(e,(e,i)=>{i>n||(a.add(e),t.getRelatedEdgesData(e).forEach(t=>{let e=tt(t);!r.has(e)&&it.getRelatedEdgesData(e).map(t=>t.source===e?t.target:t.source).filter(t=>!i.has(t)&&(i.add(t),!0))),Array.from(a)}function t7(t){return t.states||[]}class et extends tu{bindEvents(){let{graph:t}=this.context;this.unbindEvents(),t4.forEach(e=>{t.on("".concat(e,":").concat(w.CLICK),this.onClickSelect)}),t.on(x.CLICK,this.onClickCanvas)}get isMultipleSelect(){let{multiple:t,trigger:e}=this.options;return t&&this.shortcut.match(e)}getNeighborIds(t){let{target:e,targetType:n}=t,{graph:i}=this.context,{degree:r}=this.options;return t9(i,n,e.id,"function"==typeof r?r(t):r).filter(t=>t!==e.id)}async updateState(t){let{state:e,unselectedState:n,neighborState:i,animation:r}=this.options;if(!e&&!i&&!n)return;let{target:a}=t,{graph:o}=this.context,s=o.getElementData(a.id),l=t7(s).includes(e)?"unselect":"select",h={},c=this.isMultipleSelect,u=[a.id],d=this.getNeighborIds(t);if(c){if(Object.assign(h,this.getDataStates()),"select"===l){let t=(t,e)=>{t.forEach(t=>{let i=new Set(o.getElementState(t));i.add(e),i.delete(n),h[t]=Array.from(i)})};t(u,e),t(d,i),n&&Object.keys(h).forEach(t=>{let r=h[t];r.includes(e)||r.includes(i)||r.includes(n)||h[t].push(n)})}else{let t=h[a.id];h[a.id]=t.filter(t=>t!==e&&t!==i),t.includes(n)||h[a.id].push(n),d.forEach(t=>{h[t]=h[t].filter(t=>t!==i),h[t].includes(e)||h[t].push(n)})}}else if("select"===l){Object.assign(h,this.getClearStates(!!n));let t=(t,e)=>{t.forEach(t=>{h[t]||(h[t]=o.getElementState(t)),h[t].push(e)})};t(u,e),t(d,i),n&&Object.keys(h).forEach(t=>{u.includes(t)||d.includes(t)||h[t].push(n)})}else Object.assign(h,this.getClearStates());await o.setElementState(h,r)}getDataStates(){let{graph:t}=this.context,{nodes:e,edges:n,combos:i}=t.getData(),r={};return[...e,...n,...i].forEach(t=>{r[tt(t)]=t7(t)}),r}getClearStates(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{graph:e}=this.context,{state:n,unselectedState:i,neighborState:r}=this.options,a=new Set([n,i,r]),{nodes:o,edges:s,combos:l}=e.getData(),h={};return[...o,...s,...l].forEach(e=>{let n=t7(e),i=n.filter(t=>!a.has(t));t?h[tt(e)]=i:i.length!==n.length&&(h[tt(e)]=i)}),h}async clearState(){let{graph:t}=this.context;await t.setElementState(this.getClearStates(),this.options.animation)}validate(t){if(this.destroyed)return!1;let{enable:e}=this.options;return(0,td.Z)(e)?e(t):!!e}unbindEvents(){let{graph:t}=this.context;t4.forEach(e=>{t.off("".concat(e,":").concat(w.CLICK),this.onClickSelect)}),t.off(x.CLICK,this.onClickCanvas)}destroy(){this.unbindEvents(),super.destroy()}constructor(t,e){super(t,Object.assign({},et.defaultOptions,e)),this.onClickSelect=async t=>{var e,n;this.validate(t)&&(await this.updateState(t),null===(n=(e=this.options).onClick)||void 0===n||n.call(e,t))},this.onClickCanvas=async t=>{var e,n;this.validate(t)&&(await this.clearState(),null===(n=(e=this.options).onClick)||void 0===n||n.call(e,t))},this.shortcut=new t2(t.graph),this.bindEvents()}}function ee(t){var e;return!!(null===(e=t.style)||void 0===e?void 0:e.collapsed)}et.defaultOptions={animation:!0,enable:!0,multiple:!1,trigger:["shift"],state:"selected",neighborState:"selected",unselectedState:void 0,degree:0};var en=n(53032),ei=n(17829),er=n(73576);function ea(t,e){if(!t.startsWith(e))return!1;let n=t[e.length];return n>="A"&&n<="Z"}function eo(t,e){let n=Object.entries(t).reduce((t,n)=>{let[i,r]=n;return"className"===i||"class"===i||ea(i,e)&&Object.assign(t,{[function(t,e){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!e||!ea(t,e))return t;let i=t.slice(e.length);return n?(0,er.Z)(i):i}(i,e)]:r}),t},{});if("opacity"in t){let i="".concat(e).concat((0,B.Z)("opacity")),r=t.opacity;if(i in t){let e=t[i];Object.assign(n,{opacity:r*e})}else Object.assign(n,{opacity:r})}return n}function es(t,e){let n=e.length;return Object.keys(t).reduce((i,r)=>{if(r.startsWith(e)){let e=r.slice(n);i[e]=t[r]}return i},{})}function el(t,e){let n="string"==typeof e?[e]:e,i={};return Object.keys(t).forEach(e=>{n.find(t=>e.startsWith(t))||(i[e]=t[e])}),i}function eh(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if("number"==typeof t)return[t,t,t];let[e,n=e,i=e]=t;return[e,n,i]}function ec(t,e){let{datum:n,graph:i}=e;return"function"==typeof t?t.call(i,n):Object.fromEntries(Object.entries(t).map(t=>{let[e,r]=t;return"function"==typeof r?[e,r.call(i,n)]:[e,r]}))}function eu(t,e){let n=(null==t?void 0:t.style)||{},i=(null==e?void 0:e.style)||{};return Object.assign({},t,e,{style:Object.assign({},n,i)})}let ed="cachedStyle",ep=t=>"__".concat(t,"__");function ef(t,e){let n=Array.isArray(e)?e:[e];(0,en.Z)(t,ed)||(0,ei.Z)(t,ed,{}),n.forEach(e=>{(0,ei.Z)((0,en.Z)(t,ed),ep(e),t.attributes[e])})}function eg(t,e){return(0,en.Z)(t,[ed,ep(e)])}function ey(t,e){return ep(e) in((0,en.Z)(t,ed)||{})}function em(t,e,n){(0,ei.Z)(t,[ed,ep(e)],n)}function ev(t){return function(e,n,i){let r=i.value;return i.value=function(e){for(var i=arguments.length,a=Array(i>1?i-1:0),o=1;o2&&void 0!==arguments[2]?arguments[2]:2;if("object"!=typeof t||"object"!=typeof e)return t===e;let i=Object.keys(t),r=Object.keys(e);if(i.length!==r.length)return!1;for(let r of i){let i=t[r],a=e[r];if(n>1&&"object"==typeof i&&"object"==typeof a){if(!eb(i,a,n-1))return!1}else if(i!==a)return!1}return!0};var ex=n(5199),eE=Object.prototype.hasOwnProperty,ew=function(t,e){if(!e||!(0,ex.Z)(t))return{};for(var n,i={},r=(0,td.Z)(e)?e:function(t){return t[e]},a=0;at.id,color:t,invert:!1}:t}function eS(t){let e="string"==typeof t?V("palette",t):t;if("function"!=typeof e)return e}function eR(t,e){let n=2*t;return"string"==typeof e?n=t*Number(e.replace("%",""))/100:"number"==typeof e&&(n=e),isNaN(n)&&(n=2*t),n}function eA(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=(t.max[0]-t.min[0])*(i?n:1);return eR(r,e)}let eO=new WeakMap;function eM(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0;if(void 0===e)return;let r=function(a){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,s=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return a.childNodes.forEach(e=>r(e,t))};if(i&&!i(a))return s();if(n||a!==t){eO.has(a)||eO.set(a,a.style.visibility);let t="hidden"===o||"hidden"===(eO.has(a)?eO.get(a):a.style.visibility)?"hidden":"visible";a.style.visibility=t,s(t)}else t.style.visibility=e,eO.delete(t),s(e)};r(t)}var eT=n(82844),ek={}.toString,eP=Object.prototype,eL=function(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||eP;return t===n},eD=Object.prototype.hasOwnProperty,eN=function(t){if((0,_.Z)(t))return!0;if((0,eT.Z)(t))return!t.length;var e=ek.call(t).replace(/^\[object /,"").replace(/]$/,"");if("Map"===e||"Set"===e)return!t.size;if(eL(t))return!Object.keys(t).length;for(var n in t)if(eD.call(t,n))return!1;return!0};class eI extends I.b_{get parsedAttributes(){return this.attributes}upsert(t,e,n,i,r){var a,o,s,l,h,c,u,d;let p=this.shapeMap[t];if(!1===n){p&&(null==r||null===(s=r.beforeDestroy)||void 0===s||s.call(r,p),i.removeChild(p),delete this.shapeMap[t],null==r||null===(l=r.afterDestroy)||void 0===l||l.call(r,p));return}let f="string"==typeof e?V(M.SHAPE,e):e;if(!f)throw Error(U("Shape ".concat(e," not found")));if(!p||p.destroyed||!(p instanceof f)){p&&(null==r||null===(u=r.beforeDestroy)||void 0===u||u.call(r,p),null==p||p.destroy(),null==r||null===(d=r.afterDestroy)||void 0===d||d.call(r,p)),null==r||null===(h=r.beforeCreate)||void 0===h||h.call(r);let e=new f({className:t,style:n});return i.appendChild(e),this.shapeMap[t]=e,null==r||null===(c=r.afterCreate)||void 0===c||c.call(r,e),e}return null==r||null===(a=r.beforeUpdate)||void 0===a||a.call(r,p),n8(p,n),null==r||null===(o=r.afterUpdate)||void 0===o||o.call(r,p),p}transformPosition(t){let{x:e=0,y:n=0,z:i=0,transform:r}=t;(0!==e||0!==n||0!==i)&&(this.style.transform=tn(+e,+n,+i,r))}update(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.assign({},this.attributes,t);this.attr(e),this.render(e,this),this.transformPosition(e),this.setVisibility()}bindEvents(){}getGraphicStyle(t){return function(t){let{x:e,y:n,z:i,class:r,className:a,transform:o,transformOrigin:s,context:l,zIndex:h,visibility:c,...u}=t;return u}(t)}get compositeShapes(){return[["badges","badge-"],["ports","port-"]]}animate(t,e){if(0===t.length)return null;let n=[];if(void 0!==t[0].x||void 0!==t[0].y||void 0!==t[0].z){let{x:e=0,y:n=0,z:i=0}=this.attributes;t.forEach(t=>{let{x:r=e,y:a=n,z:o=i}=t;Object.assign(t,{transform:tn(+r,+a,+o)})})}let i=super.animate(t,e);if(i&&(eB(this,i),n.push(i)),Array.isArray(t)&&t.length>0){let i=["transform","transformOrigin","x","y","z","zIndex"];if(Object.keys(t[0]).some(t=>!i.includes(t))){Object.entries(this.shapeMap).forEach(i=>{let[r,a]=i,o="get".concat((0,B.Z)(r),"Style"),s=this[o];if((0,td.Z)(s)){let i=t.map(t=>s.call(this,{...this.attributes,...t})),r=a.animate(X(i),e);r&&(eB(a,r),n.push(r))}});let i=(i,r)=>{if(!eN(i)){let a="get".concat((0,B.Z)(r),"Style"),o=this[a];if((0,td.Z)(o)){let r=t.map(t=>o.call(this,{...this.attributes,...t}));Object.entries(r[0]).map(t=>{let[a]=t,o=r.map(t=>t[a]),s=i[a];if(s){let t=s.animate(X(o),e);t&&(eB(s,t),n.push(t))}})}}};this.compositeShapes.forEach(t=>{let[e,n]=t,r=es(this.shapeMap,n);i(r,e)})}}return $(n)}getShape(t){return this.shapeMap[t]}setVisibility(){let{visibility:t}=this.attributes;eM(this,t,!0)}destroy(){this.shapeMap={},this.animateMap={},super.destroy()}constructor(t){super(t),this.shapeMap={},this.animateMap={},this.transformPosition(this.attributes),this.render(this.attributes,this),this.setVisibility(),this.bindEvents()}}function eB(t,e){null==e||e.finished.then(()=>{let n=t.activeAnimations.findIndex(t=>t===e);n>-1&&t.activeAnimations.splice(n,1)})}class e_ extends eI{isTextStyle(t){return ea(t,"label")}isBackgroundStyle(t){return ea(t,"background")}getTextStyle(t){let{padding:e,...n}=this.getGraphicStyle(t);return el(n,"background")}getBackgroundStyle(t){if(!1===t.background)return!1;let e=this.getGraphicStyle(t),{wordWrap:n,wordWrapWidth:i,padding:r}=e,a=eo(e,"background"),{min:[o,s],center:[l,h],halfExtents:[c,u]}=this.shapeMap.text.getGeometryBounds(),[d,p,f,g]=ty(r),y=2*c+g+p,{width:m,height:v}=a;m&&v?Object.assign(a,{x:l-Number(m)/2,y:h-Number(v)/2}):Object.assign(a,{x:o-g,y:s-d,width:n?Math.min(y,i+g+p):y,height:2*u+d+f});let{radius:b}=a;if("string"==typeof b&&b.endsWith("%")){let t=Number(b.replace("%",""))/100;a.radius=Math.min(+a.width,+a.height)*t}return a}render(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.parsedAttributes,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this.upsert("text",I.xv,this.getTextStyle(t),e),this.upsert("background",I.UL,this.getBackgroundStyle(t),e)}getGeometryBounds(){let t=this.getShape("background")||this.getShape("text");return t.getGeometryBounds()}constructor(t){super(eu({style:e_.defaultStyleProps},t))}}e_.defaultStyleProps={padding:0,fontSize:12,fontFamily:"system-ui, sans-serif",wordWrap:!0,maxLines:1,wordWrapWidth:128,textOverflow:"...",textBaseline:"middle",backgroundOpacity:.75,backgroundZIndex:-1,backgroundLineWidth:0};class eF extends eI{getBadgeStyle(t){return this.getGraphicStyle(t)}render(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.parsedAttributes,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this.upsert("label",e_,this.getBadgeStyle(t),e)}getGeometryBounds(){let t=this.getShape("label"),e=t.getShape("background")||t.getShape("text");return e.getGeometryBounds()}constructor(t){super(eu({style:eF.defaultStyleProps},t))}}eF.defaultStyleProps={padding:[2,4,2,4],fontSize:10,wordWrap:!1,backgroundRadius:"50%",backgroundOpacity:1};let ej={M:["x","y"],m:["dx","dy"],H:["x"],h:["dx"],V:["y"],v:["dy"],L:["x","y"],l:["dx","dy"],Z:[],z:[],C:["x1","y1","x2","y2","x","y"],c:["dx1","dy1","dx2","dy2","dx","dy"],S:["x2","y2","x","y"],s:["dx2","dy2","dx","dy"],Q:["x1","y1","x","y"],q:["dx1","dy1","dx","dy"],T:["x","y"],t:["dx","dy"],A:["rx","ry","rotation","large-arc","sweep","x","y"],a:["rx","ry","rotation","large-arc","sweep","dx","dy"]},eZ=t=>{if(t.length<2)return[["M",0,0],["L",0,0]];let e=t[0],n=t[1],i=t[t.length-1],r=t[t.length-2];t.unshift(r,i),t.push(e,n);let a=[["M",i[0],i[1]]];for(let e=1;e0;){let t=e.shift();t in ej?i=t:e.unshift(t),r={type:i},ej[i].forEach(n=>{t=e.shift(),r[n]=t}),"M"===i?i="L":"m"===i&&(i="l");let[a,...o]=Object.values(r);n.push([a,...o.map(Number)])}return n}(t):t;return n.forEach(t=>{let n=t[0];if("Z"===n){e.push(e[0]);return}if("A"!==n)for(let n=1;n{let n=p[(e+1)%p.length];return(0,F.Z)(t,n)?null:[t,n]}).filter(Boolean),g=(s=[c,u],l=1/0,h=[[0,0],[0,0]],f.forEach(t=>{let e=function(t,e){let n=tq(t,e);return tD(t,n)}(s,t);e0?d.textBaseline="right"===e?"bottom":"top":d.textBaseline="right"===e?"top":"bottom")}return d}(h,a,n,i,o,t.d,r),{wordWrapWidth:eA(h,e)},s)}getKeyStyle(t){return this.getGraphicStyle(t)}render(t,e){this.upsert("key",I.y$,this.getKeyStyle(t),e),this.upsert("label",e_,this.getLabelStyle(t),e)}constructor(t){super(eu({style:ez.defaultStyleProps},t))}}ez.defaultStyleProps={label:!0,labelPlacement:"bottom",labelCloseToPath:!0,labelAutoRotate:!0,labelOffsetX:0,labelOffsetY:0};class eG extends I.Ee{handleRadius(){let{radius:t,clipPath:e,width:n=0,height:i=0}=this.attributes;if(t&&n&&i){let[r,a]=this.getBounds().min,o={x:r,y:a,radius:t,width:n,height:i};if(e)Object.assign(this.parsedStyle.clipPath.style,o);else{let t=new I.UL({style:o});this.style.clipPath=t}}else e&&(this.style.clipPath=null)}constructor(t){super(t),this.onMounted=()=>{this.handleRadius()},this.onAttrModified=()=>{this.handleRadius()},eW=this,this.isMutationObserved=!0,this.addEventListener(I.Dk.MOUNTED,this.onMounted),this.addEventListener(I.Dk.ATTR_MODIFIED,this.onAttrModified)}}let eH=new WeakMap,eW=null,eV=t=>{if(eW&&(function(t){let e=[],n=t.parentNode;for(;n;)e.push(n),n=n.parentNode;return e})(eW).includes(t)){let e=eH.get(t);e?e.includes(eW)||e.push(eW):eH.set(t,[eW])}},eU=t=>{let e=eH.get(t);e&&e.forEach(t=>t.handleRadius())};class eY extends eI{isImage(){let{src:t}=this.attributes;return!!t}getIconStyle(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.attributes,{width:e=0,height:n=0}=t,i=this.getGraphicStyle(t);return this.isImage()?{x:-e/2,y:-n/2,...i}:{textBaseline:"middle",textAlign:"center",...i}}render(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.attributes,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this.upsert("icon",this.isImage()?eG:I.xv,this.getIconStyle(t),e)}constructor(t){super(t)}}class eK extends eI{get context(){return this.attributes.context}get parsedAttributes(){return this.attributes}onframe(){}animate(t,e){let n=super.animate(t,e);return n&&(n.onframe=()=>this.onframe(),n.finished.then(()=>this.onframe())),n}}var e$=function(t,e,n,i){var r,a=arguments.length,o=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(o=(a<3?r(o):a>3?r(e,n,o):r(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o};class eX extends eK{getSize(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.attributes,{size:e}=t;return eh(e)}getKeyStyle(t){let e=this.getGraphicStyle(t);return Object.assign(el(e,["label","halo","icon","badge","port"]))}getLabelStyle(t){if(!1===t.label||!t.labelText)return!1;let{placement:e,maxWidth:n,offsetX:i,offsetY:r,...a}=eo(this.getGraphicStyle(t),"label"),o=this.getShape("key").getLocalBounds();return Object.assign(n4(o,e,i,r),{wordWrapWidth:eA(o,n)},a)}getHaloStyle(t){if(!1===t.halo)return!1;let{fill:e,...n}=this.getKeyStyle(t),i=eo(this.getGraphicStyle(t),"halo");return{...n,stroke:e,...i}}getIconStyle(t){if(!1===t.icon||!t.iconText&&!t.iconSrc)return!1;let e=eo(this.getGraphicStyle(t),"icon");return Object.assign(function(t,e){let n=eh(t),i={};return e.text&&!e.fontSize&&(i={fontSize:.5*Math.min(...n)}),!e.src||e.width&&e.height||(i={width:.5*n[0],height:.5*n[1]}),i}(t.size,e),e)}getBadgesStyle(t){var e;let n=es(this.shapeMap,"badge-"),i={};if(Object.keys(n).forEach(t=>{i[t]=!1}),!1===t.badge||!(null===(e=t.badges)||void 0===e?void 0:e.length))return i;let{badges:r=[],badgePalette:a,opacity:o=1,...s}=t,l=eS(a),h=eo(this.getGraphicStyle(s),"badge");return r.forEach((t,e)=>{i[e]={backgroundFill:l?l[e%(null==l?void 0:l.length)]:void 0,opacity:o,...h,...this.getBadgeStyle(t)}}),i}getBadgeStyle(t){let e=this.getShape("key"),{placement:n="top",offsetX:i,offsetY:r,...a}=t,o=n4(e.getLocalBounds(),n,i,r,!0);return{...o,...a}}getPortsStyle(t){var e;let n=this.getPorts(),i={};if(Object.keys(n).forEach(t=>{i[t]=!1}),!1===t.port||!(null===(e=t.ports)||void 0===e?void 0:e.length))return i;let r=eo(this.getGraphicStyle(t),"port"),{ports:a=[]}=t;return a.forEach((e,n)=>{let a=e.key||n,o={...r,...e};if(nJ(o))i[a]=!1;else{let[n,r]=this.getPortXY(t,e);i[a]={transform:"translate(".concat(n,", ").concat(r,")"),...o}}}),i}getPortXY(t,e){let{placement:n="left"}=e,i=this.getShape("key");return nq(function(t,e){if(!t)return e.getLocalBounds();let n=t.canvas.getLayer(),i=e.cloneNode();eM(i,"hidden"),n.appendChild(i);let r=i.getLocalBounds();return n.removeChild(i),r}(this.context,i),n)}getPorts(){return es(this.shapeMap,"port-")}getCenter(){return this.getShape("key").getBounds().center}getIntersectPoint(t){let e=this.getShape("key").getBounds();return function(t,e){let n=tW(e,"center"),i=[tW(e,"left-top"),tW(e,"right-top"),tW(e,"right-bottom"),tW(e,"left-bottom")];return t$(t,n,i,!1).point}(t,e)}drawHaloShape(t,e){let n=this.getShape("key");this.upsert("halo",n.constructor,this.getHaloStyle(t),e)}drawIconShape(t,e){this.upsert("icon",eY,this.getIconStyle(t),e),eV(this)}drawBadgeShapes(t,e){let n=this.getBadgesStyle(t);Object.keys(n).forEach(t=>{this.upsert("badge-".concat(t),eF,n[t],e)})}drawPortShapes(t,e){let n=this.getPortsStyle(t);Object.keys(n).forEach(t=>{this.upsert("port-".concat(t),I.Cd,n[t],e)})}drawLabelShape(t,e){this.upsert("label",e_,this.getLabelStyle(t),e)}_drawKeyShape(t,e){return this.drawKeyShape(t,e)}render(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.parsedAttributes,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._drawKeyShape(t,e),this.getShape("key")&&(this.drawHaloShape(t,e),this.drawIconShape(t,e),this.drawBadgeShapes(t,e),this.drawLabelShape(t,e),this.drawPortShapes(t,e))}update(t){super.update(t),t&&("x"in t||"y"in t||"z"in t)&&eU(this)}onframe(){this.drawBadgeShapes(this.parsedAttributes,this),this.drawLabelShape(this.parsedAttributes,this)}constructor(t){super(eu({style:eX.defaultStyleProps},t)),this.type="node"}}eX.defaultStyleProps={x:0,y:0,size:32,droppable:!0,draggable:!0,port:!0,ports:[],portZIndex:2,portLinkToCenter:!1,badge:!0,badges:[],badgeZIndex:3,halo:!1,haloDroppable:!1,haloLineDash:0,haloLineWidth:12,haloStrokeOpacity:.25,haloPointerEvents:"none",haloZIndex:-1,icon:!0,iconZIndex:1,label:!0,labelIsBillboard:!0,labelMaxWidth:"200%",labelPlacement:"bottom",labelWordWrap:!1,labelZIndex:0},e$([ev((t,e)=>t.getHaloStyle(e))],eX.prototype,"drawHaloShape",null),e$([ev((t,e)=>t.getIconStyle(e))],eX.prototype,"drawIconShape",null),e$([ev((t,e)=>t.getBadgesStyle(e))],eX.prototype,"drawBadgeShapes",null),e$([ev((t,e)=>t.getPortsStyle(e))],eX.prototype,"drawPortShapes",null),e$([ev((t,e)=>t.getLabelStyle(e))],eX.prototype,"drawLabelShape",null),e$([ev((t,e)=>t.getKeyStyle(e))],eX.prototype,"_drawKeyShape",null);class eq extends eX{drawKeyShape(t,e){return this.upsert("key",I.Cd,this.getKeyStyle(t),e)}getKeyStyle(t){let e=super.getKeyStyle(t);return{...e,r:Math.min(...this.getSize(t))/2}}getIconStyle(t){let e=super.getIconStyle(t),{r:n}=this.getShape("key").attributes,i=2*n*.8;return!!e&&{width:i,height:i,...e}}getIntersectPoint(t){let e=this.getShape("key").getBounds();return tX(t,e)}constructor(t){super(eu({style:eq.defaultStyleProps},t))}}eq.defaultStyleProps={size:32};class eQ extends eX{get parsedAttributes(){return this.attributes}drawKeyShape(t,e){return this.upsert("key",I.mg,this.getKeyStyle(t),e)}getKeyStyle(t){let e=super.getKeyStyle(t);return{...e,points:this.getPoints(t)}}getIntersectPoint(t){var e,n;let{points:i}=this.getShape("key").attributes,r=[+((null===(e=this.attributes)||void 0===e?void 0:e.x)||0),+((null===(n=this.attributes)||void 0===n?void 0:n.y)||0)];return t$(t,r,i).point}constructor(t){super(t)}}var eJ=n(25897);class e0 extends eq{parseOuterR(){let{size:t}=this.parsedAttributes;return Math.min(...eh(t))/2}parseInnerR(){let{innerR:t}=this.parsedAttributes;return(0,t0.Z)(t)?parseInt(t)/100*this.parseOuterR():t}drawDonutShape(t,e){var n;let{donuts:i}=t;if(!(null==i?void 0:i.length))return;let r=i.map(t=>(0,eJ.Z)(t)?{value:t}:t),a=eo(this.getGraphicStyle(t),"donut"),o=eS(t.donutPalette);if(!o)return;let s=r.reduce((t,e)=>t+(null!==(n=e.value)&&void 0!==n?n:0),0),l=this.parseOuterR(),h=this.parseInnerR(),c=0;r.forEach((t,n)=>{let{value:i=0,color:u=o[n%o.length],...d}=t,p=(0===s?1/r.length:i/s)*360;this.upsert("round".concat(n),I.y$,{...a,d:e6(l,h,c,c+p),fill:u,...d},e),c+=p})}render(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;super.render(t,e),this.drawDonutShape(t,e)}constructor(t){super(eu({style:e0.defaultStyleProps},t))}}e0.defaultStyleProps={innerR:"50%",donuts:[],donutPalette:"tableau"};let e1=(t,e,n,i)=>[t+Math.sin(i)*n,e-Math.cos(i)*n],e2=(t,e,n,i)=>i<=0||n<=i?[["M",t-n,e],["A",n,n,0,1,1,t+n,e],["A",n,n,0,1,1,t-n,e],["Z"]]:[["M",t-n,e],["A",n,n,0,1,1,t+n,e],["A",n,n,0,1,1,t-n,e],["Z"],["M",t+i,e],["A",i,i,0,1,0,t-i,e],["A",i,i,0,1,0,t+i,e],["Z"]],e3=(t,e,n,i,r,a)=>{let[o,s]=[r/360*2*Math.PI,a/360*2*Math.PI],l=[e1(t,e,i,o),e1(t,e,n,o),e1(t,e,n,s),e1(t,e,i,s)],h=s-o>Math.PI?1:0;return[["M",l[0][0],l[0][1]],["L",l[1][0],l[1][1]],["A",n,n,0,h,1,l[2][0],l[2][1]],["L",l[3][0],l[3][1]],["A",i,i,0,h,0,l[0][0],l[0][1]],["Z"]]},e6=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,[r,a]=[0,0];return Math.abs(n-i)%360<1e-6?e2(r,a,t,e):e3(r,a,t,e,n,i)};class e4 extends eX{drawKeyShape(t,e){return this.upsert("key",I.Pj,this.getKeyStyle(t),e)}getKeyStyle(t){let e=super.getKeyStyle(t),[n,i]=this.getSize(t);return{...e,rx:n/2,ry:i/2}}getIconStyle(t){let e=super.getIconStyle(t),{rx:n,ry:i}=this.getShape("key").attributes,r=2*Math.min(+n,+i)*.8;return!!e&&{width:r,height:r,...e}}getIntersectPoint(t){let e=this.getShape("key").getBounds();return tX(t,e)}constructor(t){super(eu({style:e4.defaultStyleProps},t))}}e4.defaultStyleProps={size:[45,35]};var e8=n(23413),e9=n(71154);class e5 extends eX{get eventService(){return this.context.canvas.context.eventService}get events(){return[w.CLICK,w.POINTER_DOWN,w.POINTER_MOVE,w.POINTER_UP,w.POINTER_OVER,w.POINTER_LEAVE]}getDomElement(){return this.getShape("key").getDomElement()}getKeyStyle(t){let e=(0,e8.Z)(t,["innerHTML","pointerEvents","cursor"]),[n,i]=this.getSize(t);return{...e,width:n,height:i}}drawKeyShape(t,e){let n=this.getKeyStyle(t),{width:i=0,height:r=0}=n,a=this.upsert("key-container",I.UL,{width:i,height:r,opacity:0},e);return this.upsert("key",I.k9,n,a)}connectedCallback(){let t=this.getDomElement();this.events.forEach(e=>{t.addEventListener(e,this.forwardEvents)})}attributeChangedCallback(t,e,n){"zIndex"===t&&e!==n&&(this.getDomElement().style.zIndex=n)}destroy(){let t=this.getDomElement();this.events.forEach(e=>{t.removeEventListener(e,this.forwardEvents)}),super.destroy()}normalizeToPointerEvent(t,e){let n=[];if(e.isTouchEvent(t))for(let e=0;e{let e=this.context.canvas,n=e.context.renderingContext.root.ownerDocument.defaultView,i=this.normalizeToPointerEvent(t,n);i.forEach(i=>{let r=this.bootstrapEvent(this.rootPointerEvent,i,n,t);e.context.eventService.mapEvent(r)})}}}e5.defaultStyleProps={size:[160,80],halo:!1,icon:!1,label:!1,pointerEvents:"auto"};class e7 extends eX{getKeyStyle(t){let[e,n]=this.getSize(t),{fillOpacity:i,opacity:r=i,...a}=super.getKeyStyle(t);return{opacity:r,...a,width:e,height:n,x:-e/2,y:-n/2}}getHaloStyle(t){if(!1===t.halo)return!1;let{fill:e,stroke:n,...i}=this.getShape("key").attributes,r=eo(this.getGraphicStyle(t),"halo"),a=Number(r.lineWidth),[o,s]=tM(this.getSize(t),[a,a]);return{...r,width:o,height:s,fill:"transparent",x:-o/2,y:-s/2}}getIconStyle(t){let e=super.getIconStyle(t),[n,i]=this.getSize(t);return!!e&&{width:.8*n,height:.8*i,...e}}drawKeyShape(t,e){let n=this.upsert("key",eG,this.getKeyStyle(t),e);return eV(this),n}drawHaloShape(t,e){this.upsert("halo",I.UL,this.getHaloStyle(t),e)}update(t){super.update(t),t&&("x"in t||"y"in t||"z"in t)&&eU(this)}constructor(t){super(eu({style:e7.defaultStyleProps},t))}}e7.defaultStyleProps={size:32};class nt extends eQ{getPoints(t){let{direction:e}=t,[n,i]=this.getSize(t);return function(t,e,n){let i=e/2,r=t/2,a={up:[[-r,i],[r,i],[0,-i]],left:[[-r,0],[r,i],[r,-i]],right:[[-r,i],[-r,-i],[r,0]],down:[[-r,-i],[r,-i],[0,i]]};return a[n]||a.up}(n,i,e)}getPortXY(t,e){let{direction:n}=t,{placement:i="top"}=e,r=this.getShape("key").getLocalBounds(),[a,o]=this.getSize(t),s=function(t,e,n){let i=e/2,r=t/2,a={};return"down"===n?(a.bottom=a.default=[0,i],a.right=[r,-i],a.left=[-r,-i]):"left"===n?(a.top=[r,-i],a.bottom=[r,i],a.left=a.default=[-r,0]):"right"===n?(a.top=[-r,-i],a.bottom=[-r,i],a.right=a.default=[r,0]):(a.left=[-r,i],a.top=a.default=[0,-i],a.right=[r,i]),a}(a,o,n);return nq(r,i,s,!1)}getIconStyle(t){let{icon:e,iconText:n,iconSrc:i,direction:r}=t;if(!1===e||eN(n||i))return!1;let a=eo(this.getGraphicStyle(t),"icon"),o=this.getShape("key").getLocalBounds(),[s,l]=function(t,e){let{center:n}=t,[i,r]=tb(t),a="up"===e||"down"===e?n[0]:"right"===e?n[0]-i/6:n[0]+i/6,o="left"===e||"right"===e?n[1]:"down"===e?n[1]-r/6:n[1]+r/6;return[a,o]}(o,r),h=2*function(t,e){let[n,i]=tb(t);return[n,i]="up"===e||"down"===e?[n,i]:[i,n],(i**2-(Math.sqrt((n/2)**2+i**2)-n/2)**2)/(2*i)}(o,r)*.8;return{x:s,y:l,width:h,height:h,...a}}constructor(t){super(eu({style:nt.defaultStyleProps},t))}}nt.defaultStyleProps={size:40,direction:"up"};class ne extends eX{getKeySize(t){let{collapsed:e,childrenNode:n=[]}=t;return 0===n.length?this.getEmptyKeySize(t):e?this.getCollapsedKeySize(t):this.getExpandedKeySize(t)}getEmptyKeySize(t){let{padding:e,collapsedSize:n}=t,[i,r,a,o]=ty(e);return tM(eh(n),[o+r,i+a,0])}getCollapsedKeySize(t){return eh(t.collapsedSize)}getExpandedKeySize(t){let e=this.getContentBBox(t);return[tm(e),tv(e),0]}getContentBBox(t){let{context:e,childrenNode:n=[],padding:i}=t,r=n.map(t=>e.element.getElement(t)).filter(Boolean);if(0===r.length){let e=new I.mN,{x:n=0,y:i=0,size:r}=t,[a,o]=eh(r);return e.setMinMax([n-a/2,i-o/2,0],[n+a/2,i+o/2,0]),e}let a=tw(r.map(t=>t.getBounds()));return i?tE(a,i):a}drawCollapsedMarkerShape(t,e){this.upsert("collapsed-marker",eY,this.getCollapsedMarkerStyle(t),e),eV(this)}getCollapsedMarkerStyle(t){if(!t.collapsed||!t.collapsedMarker)return!1;let{type:e,...n}=eo(this.getGraphicStyle(t),"collapsedMarker"),i=this.getShape("key"),[r,a]=tW(i.getLocalBounds(),"center"),o={...n,x:r,y:a};if(e){let n=this.getCollapsedMarkerText(e,t);Object.assign(o,{text:n})}return o}getCollapsedMarkerText(t,e){let{context:n,childrenData:i=[]}=e,{model:r}=n;return"descendant-count"===t?r.getDescendantsData(this.id).length.toString():"child-count"===t?i.length.toString():"node-count"===t?r.getDescendantsData(this.id).filter(t=>"node"===r.getElementType(tt(t))).length.toString():(0,td.Z)(t)?t(i):""}getComboZIndex(t){let e=this.context.model.getAncestorsData(this.id,G)||[];return e.length}getComboPosition(t){let{x:e=0,y:n=0,collapsed:i,context:r,childrenData:a=[]}=t;if(0===a.length)return[+e,+n,0];if(i){let{model:t}=r,i=t.getDescendantsData(this.id).filter(e=>!t.isCombo(tt(e)));if(i.length>0){let t=i.reduce((t,e)=>tM(t,tH(e)),[0,0,0]);return tP(t,i.length)}return[+e,+n,0]}return this.getContentBBox(t).center}getComboStyle(t){let{zIndex:e=this.getComboZIndex(t)}=t,[n,i]=this.getComboPosition(t);return{x:n,y:i,transform:"translate(".concat(n,", ").concat(i,")"),zIndex:e}}updateComboPosition(t){let e=this.getComboStyle(t);Object.assign(this.style,e);let{x:n,y:i}=e;this.context.model.syncComboDatum({id:this.id,style:{x:n,y:i}}),eU(this)}render(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;super.render(t,e),this.drawCollapsedMarkerShape(t,e)}update(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super.update(t),this.updateComboPosition(this.parsedAttributes)}onframe(){super.onframe(),this.attributes.collapsed||this.updateComboPosition(this.parsedAttributes),this.drawKeyShape(this.parsedAttributes,this)}animate(t,e){let n=super.animate(this.attributes.collapsed?t:t.map(t=>{let{x:e,y:n,z:i,transform:r,...a}=t;return a}),e);return n?new Proxy(n,{set:(t,e,n)=>("currentTime"===e&&Promise.resolve().then(()=>this.onframe()),Reflect.set(t,e,n))}):n}constructor(t){super(eu({style:ne.defaultStyleProps},t)),this.type="combo",this.updateComboPosition(this.parsedAttributes)}}ne.defaultStyleProps={childrenNode:[],droppable:!0,draggable:!0,collapsed:!1,collapsedSize:32,collapsedMarker:!0,collapsedMarkerZIndex:1,collapsedMarkerFontSize:12,collapsedMarkerTextAlign:"center",collapsedMarkerTextBaseline:"middle",collapsedMarkerType:"child-count"},function(t,e,n,i){var r,a=arguments.length,o=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(o=(a<3?r(o):a>3?r(e,n,o):r(e,n))||o);a>3&&o&&Object.defineProperty(e,n,o)}([ev((t,e)=>t.getCollapsedMarkerStyle(e))],ne.prototype,"drawCollapsedMarkerShape",null);var nn=n(47666);let ni={padding:10};function nr(t,e,n,i,r,a){let{padding:o}=Object.assign(ni,a),s=tx(n,o),l=tx(i,o),h=[t,...r,e],c=null,u=[];for(let t=0,e=h.length;ta?"N":"S":i===a?n>r?"W":"E":null}function nl(t,e){return"N"===e||"S"===e?tv(t):tm(t)}function nh(t,e,n){let i=nd(t,e,n);return{points:[i],direction:ns(i,e)}}function nc(t,e,n,i){let r=[[e[0],t[1]],[t[0],e[1]]],a=r.filter(t=>!tC(t,n)&&!tS(t,n,!0)),o=a.filter(e=>ns(e,t)!==i);if(o.length>0){let n=o.find(e=>ns(t,e)===i)||o[0];return{points:[n],direction:ns(n,e)}}{var s;let o=(void 0===(s=a)&&(s=[]),(0,nn.Z)(r,function(t){var e;return e=s,!((0,eT.Z)(e)&&e.indexOf(t)>-1)}))[0],l=tK(e,o,nl(n,i)/2),h=nd(l,t,n);return{points:[h,l],direction:ns(l,e)}}}function nu(t,e,n,i,r){let a;let o=tw([n,i]),s=tD(e,o.center)>tD(t,o.center),[l,h]=s?[e,t]:[t,e],c=tv(o)+tm(o);if(r){let t=[l[0]+c*Math.cos(no[r]),l[1]+c*Math.sin(no[r])];a=tK(tA(o,t),t,.01)}else a=tK(tA(o,l),l,-.01);let u=nd(a,h,o),d=[tY(a,2),tY(u,2)];if((0,F.Z)(tY(a),tY(u))){let t=tB(tT(a,l),[1,0,0])+Math.PI/2;u=[h[0]+c*Math.cos(t),h[1]+c*Math.sin(t),0],u=tY(tK(tA(o,u),h,-.01),2);let e=nd(a,u,o);d=[a,e,u]}return{points:s?d.reverse():d,direction:s?ns(a,e):ns(u,e)}}function nd(t,e,n){let i=[t[0],e[1]];return tC(i,n)&&(i=[e[0],t[1]]),i}function np(t,e,n,i,r){let a="number"==typeof e?e:.5;"start"===e&&(a=0),"end"===e&&(a=.99);let o=tV(t.getPoint(a)),s=tV(t.getPoint(a+.01)),l="start"===e?"left":"end"===e?"right":"center";if(o[1]===s[1]||!n){let[e,n]=nf(t,a,i,r);return{transform:"translate(".concat(e,", ").concat(n,")"),textAlign:l}}let h=Math.atan2(s[1]-o[1],s[0]-o[0]),c=s[0]1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t[0],r=t[t.length-1],a=t.slice(1,t.length-1),o=[["M",i[0],i[1]]];return a.forEach((t,n)=>{let s=a[n-1]||i,l=a[n+1]||r;if(!tZ([s,t],[t,l])&&e){let[n,i]=function(t,e,n,i){let r=tN(t,e),a=tN(n,e),o=Math.min(i,Math.min(r,a)/2),s=[e[0]-o/r*(e[0]-t[0]),e[1]-o/r*(e[1]-t[1])],l=[e[0]-o/a*(e[0]-n[0]),e[1]-o/a*(e[1]-n[1])];return[s,l]}(s,t,l,e);o.push(["L",n[0],n[1]],["Q",t[0],t[1],i[0],i[1]],["L",i[0],i[1]])}else o.push(["L",t[0],t[1]])}),o.push(["L",r[0],r[1]]),n&&o.push(["Z"]),o}let nv=t=>{let e=Math.PI/2,n=tv(t)/2,i=tm(t)/2,r=Math.atan2(n,i)/2,a=Math.atan2(i,n)/2;return{top:[-e-a,-e+a],"top-right":[-e+a,-r],"right-top":[-e+a,-r],right:[-r,r],"bottom-right":[r,e-a],"right-bottom":[r,e-a],bottom:[e-a,e+a],"bottom-left":[e+a,Math.PI-r],"left-bottom":[e+a,Math.PI-r],left:[Math.PI-r,Math.PI+r],"top-left":[Math.PI+r,-e-a],"left-top":[Math.PI+r,-e-a]}};function nb(t,e,n,i,r){let a=tx(t),o=t.getCenter(),s=i&&n0(i),l=r&&n0(r);if(!s||!l){let i=nv(a),r=i[e][0],h=i[e][1],[c,u]=tb(a),d=Math.max(c,u),p=tM(o,[d*Math.cos(r),d*Math.sin(r),0]),f=tM(o,[d*Math.cos(h),d*Math.sin(h),0]);s=n6(t,p),l=n6(t,f),n||([s,l]=[l,s])}return[s,l]}function nx(t,e){let n=new Set,i=new Set,r=new Set;return t.forEach(a=>{let o=e(a);o.forEach(e=>{n.add(e),t.includes(e.source)&&t.includes(e.target)?i.add(e):r.add(e)})}),{edges:Array.from(n),internal:Array.from(i),external:Array.from(r)}}function nE(t,e){let n=[],i=t;for(;i;){n.push(i);let t=e(tt(i));if(t)i=t;else break}if(n.some(t=>{var e;return null===(e=t.style)||void 0===e?void 0:e.collapsed})){let t=n.reverse().findIndex(ee);return n[t]||n.at(-1)}return t}let nw=(t,e)=>{let n=Math.max(t,e)/2;return[["M",-t/2,0],["A",n,n,0,1,0,2*n-t/2,0],["A",n,n,0,1,0,-t/2,0],["Z"]]},nC=(t,e)=>[["M",-t/2,0],["L",t/2,-e/2],["L",t/2,e/2],["Z"]],nS=(t,e)=>[["M",-t/2,0],["L",0,-e/2],["L",t/2,0],["L",0,e/2],["Z"]],nR=(t,e)=>[["M",-t/2,0],["L",t/2,-e/2],["L",4*t/5-t/2,0],["L",t/2,e/2],["Z"]],nA=(t,e)=>[["M",-t/2,-e/2],["L",t/2,-e/2],["L",t/2,e/2],["L",-t/2,e/2],["Z"]],nO=(t,e)=>{let n=t/2,i=t/7,r=t-i;return[["M",-n,0],["L",0,-e/2],["L",0,e/2],["Z"],["M",r-n,-e/2],["L",r+i-n,-e/2],["L",r+i-n,e/2],["L",r-n,e/2],["Z"]]},nM=(t,e)=>[["M",t/2,-e/2],["L",-t/2,0],["L",t/2,0],["L",-t/2,0],["L",t/2,e/2]];var nT=function(t,e,n,i){var r,a=arguments.length,o=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(o=(a<3?r(o):a>3?r(e,n,o):r(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o};class nk extends eK{get sourceNode(){let{context:t,sourceNode:e}=this.parsedAttributes;return t.element.getElement(e)}get targetNode(){let{context:t,targetNode:e}=this.parsedAttributes;return t.element.getElement(e)}getKeyStyle(t){let{loop:e,...n}=this.getGraphicStyle(t),{sourceNode:i,targetNode:r}=this,a=e&&i&&r&&i===r?this.getLoopPath(t):this.getKeyPath(t);return{d:a,...el(n,["halo","label","startArrow","endArrow"])}}getLoopPath(t){let{sourcePort:e,targetPort:n}=t,i=this.sourceNode,r=tx(i),a=Math.max(tm(r),tv(r)),{placement:o,clockwise:s,dist:l=a}=eo(this.getGraphicStyle(t),"loop");return function(t,e,n,i,r,a){let o=t.getPorts()[r||a],s=t.getPorts()[a||r],[l,h]=nb(t,e,n,o,s),c=function(t,e,n,i){let r=t.getCenter();if((0,F.Z)(e,n)){let t=tT(e,r),a=[i*Math.sign(t[0])||i/2,i*Math.sign(t[1])||-i/2,0];return[tM(e,a),tM(n,tk(a,[1,-1,1]))]}return[tK(r,e,tD(r,e)+i),tK(r,n,tD(r,n)+i)]}(t,l,h,i);return o&&(l=n3(o,c[0])),s&&(h=n3(s,c[c.length-1])),ny(l,h,c)}(i,o,s,l,e,n)}getEndpoints(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],{sourcePort:i,targetPort:r}=t,{sourceNode:a,targetNode:o}=this,[s,l]=function(t,e,n,i){let r=n1(t,e,n,i),a=n1(e,t,i,n);return[r,a]}(a,o,i,r);if(!e){let t=s?n0(s):a.getCenter(),e=l?n0(l):o.getCenter();return[t,e]}let h="function"==typeof n?n():n,c=n2(s||a,h[0]||l||o),u=n2(l||o,h[h.length-1]||s||a);return[c,u]}getHaloStyle(t){if(!1===t.halo)return!1;let e=this.getKeyStyle(t),n=eo(this.getGraphicStyle(t),"halo");return{...e,...n}}getLabelStyle(t){if(!1===t.label||!t.labelText)return!1;let e=eo(this.getGraphicStyle(t),"label"),{placement:n,offsetX:i,offsetY:r,autoRotate:a,maxWidth:o,...s}=e,l=np(this.shapeMap.key,n,a,i,r),h=this.shapeMap.key.getLocalBounds(),c=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=tD(t[0],t[1])*n;return eR(i,e)}([h.min,h.max],o);return Object.assign({wordWrapWidth:c},l,s)}getBadgeStyle(t){if(!1===t.badge||!t.badgeText)return!1;let{offsetX:e,offsetY:n,placement:i,...r}=eo(t,"badge");return Object.assign(r,function(t,e,n,i,r){var a,o;let s=(null===(a=t.badge)||void 0===a?void 0:a.getGeometryBounds().halfExtents[0])*2||0,l=(null===(o=t.label)||void 0===o?void 0:o.getGeometryBounds().halfExtents[0])*2||0;return np(t.key,n,!0,(l?(l/2+s/2)*("suffix"===e?1:-1):0)+i,r)}(this.shapeMap,i,t.labelPlacement,e,n))}drawArrow(t,e){let n="start"===e,i=t["start"===e?"startArrow":"endArrow"],r=this.shapeMap.key;if(i){let e=this.getArrowStyle(t,n),[i,a,o]=n?["markerStart","markerStartOffset","startArrowOffset"]:["markerEnd","markerEndOffset","endArrowOffset"],s=r.parsedStyle[i];if(s)s.attr(e);else{let t=e.src?I.Ee:I.y$,n=new t({style:e});r.style[i]=n}r.style[a]=t[o]||e.width/2+ +e.lineWidth}else{var a;let t=n?"markerStart":"markerEnd";null===(a=r.style[t])||void 0===a||a.destroy(),r.style[t]=null}}getArrowStyle(t,e){var n;let i=this.getShape("key").attributes,{size:r,type:a,...o}=eo(this.getGraphicStyle(t),e?"startArrow":"endArrow"),[s,l]=eh((n=i.lineWidth,r||(n<4?10:4===n?12:2.5*n))),h=(0,td.Z)(a)?a:N[a]||nC,c=h(s,l);return Object.assign((0,e8.Z)(i,["stroke","strokeOpacity","fillOpacity"]),{width:s,height:l},{...c&&{d:c,fill:"simple"===a?"":i.stroke}},o)}drawLabelShape(t,e){this.upsert("label",e_,this.getLabelStyle(t),e)}drawHaloShape(t,e){this.upsert("halo",I.y$,this.getHaloStyle(t),e)}drawBadgeShape(t,e){this.upsert("badge",eF,this.getBadgeStyle(t),e)}drawSourceArrow(t){this.drawArrow(t,"start")}drawTargetArrow(t){this.drawArrow(t,"end")}drawKeyShape(t,e){let n=this.upsert("key",I.y$,this.getKeyStyle(t),e);return n}render(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.parsedAttributes,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this.drawKeyShape(t,e),this.getShape("key")&&(this.drawSourceArrow(t),this.drawTargetArrow(t),this.drawLabelShape(t,e),this.drawHaloShape(t,e),this.drawBadgeShape(t,e))}onframe(){this.drawKeyShape(this.parsedAttributes,this),this.drawSourceArrow(this.parsedAttributes),this.drawTargetArrow(this.parsedAttributes),this.drawHaloShape(this.parsedAttributes,this),this.drawLabelShape(this.parsedAttributes,this),this.drawBadgeShape(this.parsedAttributes,this)}animate(t,e){let n=super.animate(t,e);return n?new Proxy(n,{set:(t,e,n)=>("currentTime"===e&&Promise.resolve().then(()=>this.onframe()),Reflect.set(t,e,n))}):n}constructor(t){super(eu({style:nk.defaultStyleProps},t)),this.type="edge"}}nk.defaultStyleProps={badge:!0,badgeOffsetX:0,badgeOffsetY:0,badgePlacement:"suffix",isBillboard:!0,label:!0,labelAutoRotate:!0,labelIsBillboard:!0,labelMaxWidth:"80%",labelOffsetX:4,labelOffsetY:0,labelPlacement:"center",labelTextBaseline:"middle",labelWordWrap:!1,halo:!1,haloDroppable:!1,haloLineDash:0,haloLineWidth:12,haloPointerEvents:"none",haloStrokeOpacity:.25,haloZIndex:-1,loop:!0,startArrow:!1,startArrowLineDash:0,startArrowLineJoin:"round",startArrowLineWidth:1,startArrowTransformOrigin:"center",startArrowType:"vee",endArrow:!1,endArrowLineDash:0,endArrowLineJoin:"round",endArrowLineWidth:1,endArrowTransformOrigin:"center",endArrowType:"vee",loopPlacement:"top",loopClockwise:!0},nT([ev((t,e)=>t.getLabelStyle(e))],nk.prototype,"drawLabelShape",null),nT([ev((t,e)=>t.getHaloStyle(e))],nk.prototype,"drawHaloShape",null),nT([ev((t,e)=>t.getBadgeStyle(e))],nk.prototype,"drawBadgeShape",null),nT([ev((t,e)=>t.getArrowStyle(e,"start"))],nk.prototype,"drawSourceArrow",null),nT([ev((t,e)=>t.getArrowStyle(e,"end"))],nk.prototype,"drawTargetArrow",null),nT([ev((t,e)=>t.getKeyStyle(e))],nk.prototype,"drawKeyShape",null);class nP extends nk{getKeyPath(t){let[e,n]=this.getEndpoints(t),{controlPoints:i,curvePosition:r,curveOffset:a}=t,o=this.getControlPoints(e,n,(0,eJ.Z)(r)?[r,1-r]:r,(0,eJ.Z)(a)?[a,-a]:a,i);return ny(e,n,o)}getControlPoints(t,e,n,i,r){return(null==r?void 0:r.length)===2?r:[ng(t,e,n[0],i[0]),ng(t,e,n[1],i[1])]}constructor(t){super(eu({style:nP.defaultStyleProps},t))}}nP.defaultStyleProps={curvePosition:.5,curveOffset:20};class nL extends nP{getControlPoints(t,e,n,i){let r=e[0]-t[0];return[[t[0]+r*n[0]+i[0],t[1]],[e[0]-r*n[1]+i[1],e[1]]]}constructor(t){super(eu({style:nL.defaultStyleProps},t))}}nL.defaultStyleProps={curvePosition:[.5,.5],curveOffset:[0,0]};class nD extends nP{getControlPoints(t,e,n,i){let r=e[1]-t[1];return[[t[0],t[1]+r*n[0]+i[0]],[e[0],e[1]-r*n[1]+i[1]]]}constructor(t){super(eu({style:nD.defaultStyleProps},t))}}nD.defaultStyleProps={curvePosition:[.5,.5],curveOffset:[0,0]};class nN extends nk{getKeyPath(t){let[e,n]=this.getEndpoints(t);return[["M",e[0],e[1]],["L",n[0],n[1]]]}constructor(t){super(eu({style:nN.defaultStyleProps},t))}}nN.defaultStyleProps={};let nI={enableObstacleAvoidance:!1,offset:10,maxAllowedDirectionChange:Math.PI/2,maximumLoops:3e3,gridSize:5,startDirections:["top","right","bottom","left"],endDirections:["top","right","bottom","left"],directionMap:{right:{stepX:1,stepY:0},left:{stepX:-1,stepY:0},bottom:{stepX:0,stepY:1},top:{stepX:0,stepY:-1}},penalties:{0:0,90:0},distFunc:tN},nB=t=>"".concat(Math.round(t[0]),"|||").concat(Math.round(t[1]));function n_(t,e){let n=t=>Math.round(t/e);return(0,eJ.Z)(t)?n(t):t.map(n)}function nF(t,e){let n=e[0]-t[0],i=e[1]-t[1];return n||i?Math.atan2(i,n):0}function nj(t,e,n,i){let r=nF(t,e),a=n[nB(t)],o=nF(a||i,t);return function(t,e){let n=Math.abs(t-e);return n>Math.PI?2*Math.PI-n:n}(o,r)}let nZ=(t,e)=>{let{offset:n,gridSize:i}=e,r={};return t.forEach(t=>{if(!t||t.destroyed||!t.isVisible())return;let e=tE(t.getRenderBounds(),n);for(let t=n_(e.min[0],i);t<=n_(e.max[0],i);t+=1)for(let n=n_(e.min[1],i);n<=n_(e.max[1],i);n+=1)r["".concat(t,"|||").concat(n)]=!0}),r};function nz(t,e,n){return Math.min(...e.map(e=>n(t,e)))}let nG=(t,e,n,i)=>{if(!e)return[t];let{directionMap:r,offset:a}=i,o=tE(e.getRenderBounds(),a),s=Object.keys(r).reduce((e,i)=>{if(n.includes(i)){let n=r[i],[a,s]=tb(o),l=[t[0]+n.stepX*a,t[1]+n.stepY*s],h=function(t){let{min:[e,n],max:[i,r]}=t,a=[e,r],o=[i,r],s=[i,n],l=[e,n];return[[a,o],[o,s],[s,l],[l,a]]}(o);for(let n=0;nn_(t,i.gridSize))},nH=(t,e,n,i,r,a,o)=>{let s=[],l=[a[0]===i[0]?i[0]:t[0]*o,a[1]===i[1]?i[1]:t[1]*o];s.unshift(l);let h=t,c=e[nB(h)];for(;c;){let t=c,i=h,r=nj(t,i,e,n);r&&(l=[t[0]===i[0]?l[0]:t[0]*o,t[1]===i[1]?l[1]:t[1]*o],s.unshift(l)),c=e[nB(t)],h=t}let u=r.map(t=>[t[0]*o,t[1]*o]),d=function(t,e,n){let i=t[0],r=n(t[0],e);for(let a=0;a1;){let e=Math.floor((n+i)/2);if(this.arr[e].value>t.value)i=e;else if(this.arr[e].value=0;e--)this.map[this.arr[e].id]?t=this.arr[e].id:this.arr.splice(e,1);return t}_findFirstId(){for(;this.arr.length;){let t=this.arr.shift();if(this.map[t.id])return t.id}}minId(t){return t?this._clearAndGetMinId():this._findFirstId()}constructor(){this.arr=[],this.map={},this.arr=[],this.map={}}}class nV extends nk{getControlPoints(t){let{router:e}=t,{sourceNode:n,targetNode:i}=this,[r,a]=this.getEndpoints(t,!1),o=[];if(e){if("shortest-path"===e.type){let s=this.context.element.getNodes();(o=function(t,e,n,i){let r;let a=tF(t.getCenter()),o=tF(e.getCenter()),s=Object.assign(nI,i),{gridSize:l}=s,h=s.enableObstacleAvoidance?n:[t,e],c=nZ(h,s),u=n_(a,l),d=n_(o,l),p=nG(a,t,s.startDirections,s),f=nG(o,e,s.endDirections,s);p.forEach(t=>delete c[nB(t)]),f.forEach(t=>delete c[nB(t)]);let g={},y={},m={},v={},b={},x=new nW;for(let t=0;tnB(t)),w=s.maximumLoops,C=1/0;for(let[t,e]of Object.entries(g))b[t]<=C&&(C=b[t],r=e);for(;Object.keys(g).length>0&&w>0;){let t=x.minId(!1);if(t)r=g[t];else break;let e=nB(r);if(E.includes(e))return nH(r,m,u,o,p,d,l);for(let t of(delete g[e],x.remove(e),y[e]=!0,Object.values(s.directionMap))){let n=tM(r,[t.stepX,t.stepY]),i=nB(n);if(y[i])continue;let a=nj(r,n,m,u);if(a>s.maxAllowedDirectionChange||c[i])continue;g[i]||(g[i]=n);let o=s.penalties[a],h=s.distFunc(r,n)+(isNaN(o)?l:o),d=v[e]+h,p=v[i];p&&d>=p||(m[i]=r,v[i]=d,b[i]=d+nz(n,f,s.distFunc),x.add({id:i,value:b[i]}))}w-=1}return[]}(n,i,s,e)).length||(o=nr(r,a,n,i,t.controlPoints,{padding:e.offset}))}else"orth"===e.type&&(o=nr(r,a,n,i,t.controlPoints,e))}else o=t.controlPoints;return o}getPoints(t){let e=this.getControlPoints(t),[n,i]=this.getEndpoints(t,!0,e);return[n,...e,i]}getKeyPath(t){let e=this.getPoints(t);return nm(e,t.radius)}getLoopPath(t){let{sourcePort:e,targetPort:n,radius:i}=t,r=this.sourceNode,a=tx(r),o=Math.max(tm(a),tv(a))/4,{placement:s,clockwise:l,dist:h=o}=eo(this.getGraphicStyle(t),"loop");return function(t,e,n,i,r,a,o){let s=nQ(t),l=s[a||o],h=s[o||a],[c,u]=nb(t,n,i,l,h),d=function(t,e,n,i){let r=[],a=tx(t);if((0,F.Z)(e,n)){let t=tR(a,e);switch(t){case"left":r.push([e[0]-i,e[1]]),r.push([e[0]-i,e[1]+i]),r.push([e[0],e[1]+i]);break;case"right":r.push([e[0]+i,e[1]]),r.push([e[0]+i,e[1]+i]),r.push([e[0],e[1]+i]);break;case"top":r.push([e[0],e[1]-i]),r.push([e[0]+i,e[1]-i]),r.push([e[0]+i,e[1]]);break;case"bottom":r.push([e[0],e[1]+i]),r.push([e[0]+i,e[1]+i]),r.push([e[0]+i,e[1]])}}else{let t=tR(a,e),o=tR(a,n);if(t===o){let a,o;switch(t){case"left":a=Math.min(e[0],n[0])-i,r.push([a,e[1]]),r.push([a,n[1]]);break;case"right":a=Math.max(e[0],n[0])+i,r.push([a,e[1]]),r.push([a,n[1]]);break;case"top":o=Math.min(e[1],n[1])-i,r.push([e[0],o]),r.push([n[0],o]);break;case"bottom":o=Math.max(e[1],n[1])+i,r.push([e[0],o]),r.push([n[0],o])}}else{let s=(t,e)=>({left:[e[0]-i,e[1]],right:[e[0]+i,e[1]],top:[e[0],e[1]-i],bottom:[e[0],e[1]+i]})[t],l=s(t,e),h=s(o,n),c=nd(l,h,a);r.push(l,c,h)}}return r}(t,c,u,r);return l&&(c=n3(l,d[0])),h&&(u=n3(h,d[d.length-1])),nm([c,...d,u],e)}(r,i,s,l,h,e,n)}constructor(t){super(eu({style:nV.defaultStyleProps},t))}}nV.defaultStyleProps={radius:0,controlPoints:[],router:!1};class nU extends nk{getKeyPath(t){let{curvePosition:e,curveOffset:n}=t,[i,r]=this.getEndpoints(t),a=t.controlPoint||ng(i,r,e,n);return[["M",i[0],i[1]],["Q",a[0],a[1],r[0],r[1]]]}constructor(t){super(eu({style:nU.defaultStyleProps},t))}}function nY(t){return t instanceof eX&&"node"===t.type}function nK(t){return t instanceof nk}function n$(t){return t instanceof ne}nU.defaultStyleProps={curvePosition:.5,curveOffset:30};let nX={top:[.5,0],right:[1,.5],bottom:[.5,1],left:[0,.5],default:[.5,.5]};function nq(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:nX,i=!(arguments.length>3)||void 0===arguments[3]||arguments[3],r=[.5,.5],a=(0,t0.Z)(e)?(0,en.Z)(n,e.toLocaleLowerCase(),r):e;if(!i&&(0,t0.Z)(e))return a;let[o,s]=a||r;return[t.min[0]+tm(t)*o,t.min[1]+tv(t)*s]}function nQ(t){if(!t)return{};let e=t.getPorts(),n=t.attributes.ports||[];return n.forEach((n,i)=>{let{key:r,placement:a}=n;if(nJ(n)){var o;e[o=r||i]||(e[o]=tW(t.getShape("key").getBounds(),a))}}),e}function nJ(t){let{r:e}=t;return!e||0===Number(e)}function n0(t){return tf(t)?t:t.getPosition()}function n1(t,e,n,i){let r,a;let o=nQ(t);if(n)return o[n];let s=Object.values(o);if(0===s.length)return;let l=s.map(t=>n0(t)),h=function(t,e){let n=nQ(t);if(e)return[n0(n[e])];let i=Object.values(n);return i.length>0?i.map(t=>n0(t)):[t.getCenter()]}(e,i),[c]=(r=1/0,a=[l[0],h[0]],l.forEach(t=>{h.forEach(e=>{let n=tD(t,e);nn0(t)===c)}function n2(t,e){return n$(t)||nY(t)?n6(t,e):n3(t,e)}function n3(t,e){if(!t||!e)return[0,0,0];if(tf(t))return t;if(t.attributes.linkToCenter)return t.getPosition();let n=tf(e)?e:nY(e)?e.getCenter():e.getPosition();return tX(n,t.getBounds())}function n6(t,e){if(!t||!e)return[0,0,0];let n=tf(e)?e:nY(e)?e.getCenter():e.getPosition();return t.getIntersectPoint(n)||t.getCenter()}function n4(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"bottom",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=e.split("-"),[o,s]=tW(t,e),l=a.includes("left")?"right":a.includes("right")?"left":"center",h=a.includes("top")?"bottom":a.includes("bottom")?"top":"middle";return r&&(h="top"===h?"bottom":"bottom"===h?"top":h),{transform:"translate(".concat(o+n,", ").concat(s+i,")"),textBaseline:h,textAlign:l}}function n8(t,e){"update"in t?t.update(e):t.attr(e)}function n9(t){return(0,en.Z)(t,"__to_be_destroyed__",!1)}class n5 extends tu{update(t){this.unbindEvents(),super.update(t),this.bindEvents()}bindEvents(){let{graph:t}=this.context,{trigger:e}=this.options;t.on("node:".concat(e),this.onCollapseExpand),t.on("combo:".concat(e),this.onCollapseExpand)}unbindEvents(){let{graph:t}=this.context,{trigger:e}=this.options;t.off("node:".concat(e),this.onCollapseExpand),t.off("combo:".concat(e),this.onCollapseExpand)}validate(t){if(this.destroyed)return!1;let{enable:e}=this.options;return(0,td.Z)(e)?e(t):!!e}destroy(){this.unbindEvents(),super.destroy()}constructor(t,e){super(t,Object.assign({},n5.defaultOptions,e)),this.onCollapseExpand=async t=>{if(!this.validate(t))return;let{target:e}=t;if(!(nY(e)||nK(e)||n$(e)))return;let n=e.id,{model:i,graph:r}=this.context,a=i.getElementDataById(n);if(!a)return!1;let{onCollapse:o,onExpand:s,animation:l}=this.options;ee(a)?(await r.expandElement(n,l),null==s||s(n)):(await r.collapseElement(n,l),null==o||o(n))},this.bindEvents()}}n5.defaultOptions={enable:!0,animation:!0,trigger:w.DBLCLICK};var n7={};let it="g6-create-edge-assist-node-id";class ie extends tu{update(t){super.update(t),this.bindEvents()}bindEvents(){let{graph:t}=this.context,{trigger:e}=this.options;this.unbindEvents(),"click"===e?(t.on(O.CLICK,this.handleCreateEdge),t.on(E.CLICK,this.handleCreateEdge),t.on(x.CLICK,this.cancelEdge),t.on(S.CLICK,this.cancelEdge)):(t.on(O.DRAG_START,this.handleCreateEdge),t.on(E.DRAG_START,this.handleCreateEdge),t.on(w.POINTER_UP,this.drop)),t.on(w.POINTER_MOVE,this.updateAssistEdge)}getSelectedNodeIDs(t){return Array.from(new Set(this.context.graph.getElementDataByState("node",this.options.state).map(t=>t.id).concat(t)))}validate(t){if(this.destroyed)return!1;let{enable:e}=this.options;return(0,td.Z)(e)?e(t):!!e}unbindEvents(){let{graph:t}=this.context;t.off(O.CLICK,this.handleCreateEdge),t.off(E.CLICK,this.handleCreateEdge),t.off(x.CLICK,this.cancelEdge),t.off(S.CLICK,this.cancelEdge),t.off(O.DRAG_START,this.handleCreateEdge),t.off(E.DRAG_START,this.handleCreateEdge),t.off(w.POINTER_UP,this.drop),t.off(w.POINTER_MOVE,this.updateAssistEdge)}destroy(){this.unbindEvents(),super.destroy()}constructor(t,e){super(t,Object.assign({},ie.defaultOptions,e)),this.drop=async t=>{let{targetType:e}=t;["combo","node"].includes(e)&&this.source?await this.handleCreateEdge(t):await this.cancelEdge()},this.handleCreateEdge=async t=>{var e;if(!this.validate(t))return;let{graph:n,canvas:i,batch:r,element:a}=this.context,{style:o}=this.options;if(this.source){this.createEdge(t),await this.cancelEdge();return}r.startBatch(),i.setCursor("crosshair"),this.source=this.getSelectedNodeIDs([t.target.id])[0],n.addNodeData([{id:it,style:{visibility:"hidden",ports:[{key:"port-1",placement:[.5,.5]}]}}]),n.addEdgeData([{id:"g6-create-edge-assist-edge-id",source:this.source,target:it,style:{pointerEvents:"none",...o}}]),await (null===(e=a.draw({animation:!1}))||void 0===e?void 0:e.finished)},this.updateAssistEdge=async t=>{var e;if(!this.source)return;let{model:n,element:i}=this.context;n.translateNodeTo(it,[t.canvas.x,t.canvas.y]),await (null===(e=i.draw({animation:!1,silence:!0}))||void 0===e?void 0:e.finished)},this.createEdge=t=>{var e,n,i;let{graph:r}=this.context,{style:a,onFinish:o,onCreate:s}=this.options,l=null===(e=t.target)||void 0===e?void 0:e.id;if(void 0===l||void 0===this.source)return;let h=null===(n=this.getSelectedNodeIDs([t.target.id]))||void 0===n?void 0:n[0],c="".concat(this.source,"-").concat(h,"-").concat((n7[i=i||"g"]?n7[i]+=1:n7[i]=1,i+n7[i])),u=s({id:c,source:this.source,target:h,style:a});r.addEdgeData([u]),o(u)},this.cancelEdge=async()=>{var t;if(!this.source)return;let{graph:e,element:n,batch:i}=this.context;e.removeNodeData([it]),this.source=void 0,await (null===(t=n.draw({animation:!1}))||void 0===t?void 0:t.finished),i.endBatch()},this.bindEvents()}}ie.defaultOptions={animation:!0,enable:!0,style:{},trigger:"drag",onCreate:t=>t,onFinish:()=>{}};var ii=n(68040);class ir extends tu{update(t){this.unbindEvents(),super.update(t),this.bindEvents()}bindEvents(){let{trigger:t}=this.options;if((0,j.Z)(t)){let{up:e=[],down:n=[],left:i=[],right:r=[]}=t;this.shortcut.bind(e,t=>this.onTranslate([0,1],t)),this.shortcut.bind(n,t=>this.onTranslate([0,-1],t)),this.shortcut.bind(i,t=>this.onTranslate([1,0],t)),this.shortcut.bind(r,t=>this.onTranslate([-1,0],t))}else{let{graph:t}=this.context;t.on(w.DRAG_START,this.onDragStart),t.on(w.DRAG,this.onDrag),t.on(w.DRAG_END,this.onDragEnd)}}async onTranslate(t,e){if(!this.validate(e))return;let{sensitivity:n}=this.options;await this.translate(tk(t,-1*n),this.options.animation),this.invokeOnFinish()}async translate(t,e){let[n,i]=t,{direction:r}=this.options;"x"===r?i=0:"y"===r&&(n=0),await this.context.graph.translateBy([n,i],e)}validate(t){if(this.destroyed)return!1;let{enable:e}=this.options;return"function"==typeof e?e(t):!!e}unbindEvents(){this.shortcut.unbindAll();let{graph:t}=this.context;t.off(w.DRAG_START,this.onDragStart),t.off(w.DRAG,this.onDrag),t.off(w.DRAG_END,this.onDragEnd)}destroy(){this.shortcut.destroy(),this.unbindEvents(),this.context.canvas.setCursor(this.defaultCursor),super.destroy()}constructor(t,e){super(t,Object.assign({},ir.defaultOptions,e)),this.isDragging=!1,this.onDragStart=t=>{this.validate(t)&&(this.isDragging=!0,this.context.canvas.setCursor("grabbing"))},this.onDrag=t=>{if(!this.isDragging)return;let{x:e,y:n}=t.movement;(e|n)!=0&&this.translate([e,n],!1)},this.onDragEnd=()=>{var t,e;this.isDragging=!1,this.context.canvas.setCursor(this.defaultCursor),null===(e=(t=this.options).onFinish)||void 0===e||e.call(t)},this.invokeOnFinish=(0,ii.Z)(()=>{var t,e;null===(e=(t=this.options).onFinish)||void 0===e||e.call(t)},300),this.shortcut=new t2(t.graph),this.bindEvents(),this.defaultCursor=this.context.canvas.getConfig().cursor||"default"}}ir.defaultOptions={enable:t=>!("targetType"in t)||"canvas"===t.targetType,sensitivity:10,direction:"both"};class ia extends tu{get animation(){return!!this.options.shadow&&this.options.animation}update(t){this.unbindEvents(),super.update(t),this.bindEvents()}bindEvents(){let{graph:t}=this.context;this.enableElements.forEach(e=>{t.on("".concat(e,":").concat(w.DRAG_START),this.onDragStart),t.on("".concat(e,":").concat(w.DRAG),this.onDrag),t.on("".concat(e,":").concat(w.DRAG_END),this.onDragEnd),t.on("".concat(e,":").concat(w.POINTER_ENTER),this.setCursor),t.on("".concat(e,":").concat(w.POINTER_LEAVE),this.setCursor)}),["link"].includes(this.options.dropEffect)&&(t.on(E.DROP,this.onDrop),t.on(x.DROP,this.onDrop))}getSelectedNodeIDs(t){return Array.from(new Set(this.context.graph.getElementDataByState("node",this.options.state).map(t=>t.id).concat(t)))}getDelta(t){let e=this.context.graph.getZoom();return tP([t.dx,t.dy],e)}onDragStart(t){var e;if(this.enable=this.validate(t),!this.enable)return;let{batch:n,canvas:i}=this.context;i.setCursor((null===(e=this.options.cursor)||void 0===e?void 0:e.grabbing)||"grabbing"),this.isDragging=!0,n.startBatch(),this.target=this.getSelectedNodeIDs([t.target.id]),this.hideEdge(),this.context.graph.frontElement(this.target),this.options.shadow&&this.createShadow(this.target)}onDrag(t){if(!this.enable)return;let e=this.getDelta(t);this.options.shadow?this.moveShadow(e):this.moveElement(this.target,e)}onDragEnd(){var t,e,n;if(this.enable=!1,this.options.shadow){if(!this.shadow)return;this.shadow.style.visibility="hidden";let{x:t=0,y:e=0}=this.shadow.attributes,[n,i]=tT([+t,+e],this.shadowOrigin);this.moveElement(this.target,[n,i])}this.showEdges(),null===(e=(t=this.options).onFinish)||void 0===e||e.call(t,this.target);let{batch:i,canvas:r}=this.context;i.endBatch(),r.setCursor((null===(n=this.options.cursor)||void 0===n?void 0:n.grab)||"grab"),this.isDragging=!1,this.target=[]}validate(t){if(this.destroyed)return!1;let{enable:e}=this.options;return(0,td.Z)(e)?e(t):!!e}async moveElement(t,e){let{graph:n,model:i}=this.context,{dropEffect:r}=this.options;"move"===r&&t.forEach(t=>i.refreshComboData(t)),n.translateElementBy(Object.fromEntries(t.map(t=>[t,e])),!1)}moveShadow(t){if(!this.shadow)return;let{x:e=0,y:n=0}=this.shadow.attributes,[i,r]=t;this.shadow.attr({x:+e+i,y:+n+r})}createShadow(t){let e=eo(this.options,"shadow"),n=tw(t.map(t=>this.context.element.getElement(t).getBounds())),[i,r]=n.min;this.shadowOrigin=[i,r];let[a,o]=tb(n),s={width:a,height:o,x:i,y:r};this.shadow?this.shadow.attr({...e,...s,visibility:"visible"}):(this.shadow=new I.UL({style:{$layer:"transient",...e,...s,pointerEvents:"none"}}),this.context.canvas.appendChild(this.shadow))}showEdges(){this.options.shadow||0===this.hiddenEdges.length||(this.context.graph.showElement(this.hiddenEdges),this.hiddenEdges=[])}hideEdge(){let{hideEdge:t,shadow:e}=this.options;if("none"===t||e)return;let{graph:n}=this.context;"all"===t?this.hiddenEdges=n.getEdgeData().map(tt):this.hiddenEdges=Array.from(new Set(this.target.map(e=>n.getRelatedEdgesData(e,t).map(tt)).flat())),n.hideElement(this.hiddenEdges)}unbindEvents(){let{graph:t}=this.context;this.enableElements.forEach(e=>{t.off("".concat(e,":").concat(w.DRAG_START),this.onDragStart),t.off("".concat(e,":").concat(w.DRAG),this.onDrag),t.off("".concat(e,":").concat(w.DRAG_END),this.onDragEnd),t.off("".concat(e,":").concat(w.POINTER_ENTER),this.setCursor),t.off("".concat(e,":").concat(w.POINTER_LEAVE),this.setCursor)}),t.off("combo:".concat(w.DROP),this.onDrop),t.off("canvas:".concat(w.DROP),this.onDrop)}destroy(){var t;this.unbindEvents(),null===(t=this.shadow)||void 0===t||t.destroy(),super.destroy()}constructor(t,e){super(t,Object.assign({},ia.defaultOptions,e)),this.enable=!1,this.enableElements=["node","combo"],this.target=[],this.shadowOrigin=[0,0],this.hiddenEdges=[],this.isDragging=!1,this.onDrop=async t=>{var e;if("link"!==this.options.dropEffect)return;let{model:n,element:i}=this.context,r=t.target.id;this.target.forEach(t=>{let e=n.getParentData(t,G);e&&tt(e)===r&&n.refreshComboData(r),n.setParent(t,r,G)}),await (null===(e=null==i?void 0:i.draw({animation:!0}))||void 0===e?void 0:e.finished)},this.setCursor=t=>{if(this.isDragging)return;let{type:e}=t,{canvas:n}=this.context,{cursor:i}=this.options;e===w.POINTER_ENTER?n.setCursor((null==i?void 0:i.grab)||"grab"):n.setCursor((null==i?void 0:i.default)||"default")},this.onDragStart=this.onDragStart.bind(this),this.onDrag=this.onDrag.bind(this),this.onDragEnd=this.onDragEnd.bind(this),this.onDrop=this.onDrop.bind(this),this.bindEvents()}}ia.defaultOptions={animation:!0,enable:t=>["node","combo"].includes(t.targetType),dropEffect:"move",state:"selected",hideEdge:"none",shadow:!1,shadowZIndex:100,shadowFill:"#F3F9FF",shadowFillOpacity:.5,shadowStroke:"#1890FF",shadowStrokeOpacity:.9,shadowLineDash:[5,5],cursor:{default:"default",grab:"grab",grabbing:"grabbing"}};var io=n(72137);class is{constructor(t,e){this.context=t,this.options=e||{}}}function il(t){let{nodes:e,edges:n}=t,i={nodes:[],edges:[],combos:[]};return e.forEach(t=>{let e=t.data._isCombo?i.combos:i.nodes,{x:n,y:r,z:a=0}=t.data;null==e||e.push({id:t.id,style:{x:n,y:r,z:a}})}),n.forEach(t=>{let{id:e,source:n,target:r,data:{points:a=[],controlPoints:o=a.slice(1,a.length-1)}}=t;i.edges.push({id:e,source:n,target:r,style:{...(null==o?void 0:o.length)?{controlPoints:o.map(tV)}:{}}})}),i}function ih(t,e){for(var n=arguments.length,i=Array(n>2?n-2:0),r=2;r"scale"in t.data,this.fixElementSize=async t=>{if(!this.isZoomEvent(t)||!this.validate(t))return;let{graph:e,element:n}=this.context,{state:i}=this.options,r=i?[...e.getElementDataByState("node",i),...e.getElementDataByState("edge",i),...e.getElementDataByState("combo",i)]:Object.values(e.getData()).flat();if(!r.length)return;let a=t.data.scale||e.getZoom();r.forEach(t=>{let i=tt(t),r=null==n?void 0:n.getElement(i),o=e.getElementType(i),s=this.options[o];if(!s){this.elementCache.set(i,r),"edge"===o&&(r.style.transformOrigin="center"),r.setLocalScale(1/a);return}let l=function(t){let e=[],n=t=>{(null==t?void 0:t.children.length)&&t.children.forEach(t=>{e.push(t),n(t)})};return n(t),e}(r),h=Array.isArray(s)?s:[s];h.forEach(t=>{let{shape:e,fields:n}=t,i=e(l);n.forEach(t=>{ey(i,t)||ef(i,t);let e=eg(i,t);(0,eJ.Z)(e)&&(i.style[t]=e/a)})})})},this.resetTransform=async()=>{this.elementCache&&(this.elementCache.forEach(t=>t.setLocalScale(1)),this.elementCache.clear())},this.bindEvents()}}iu.defaultOptions={enable:t=>t.data.scale<1,state:"selected",edge:[{shape:t=>t.find(t=>"key"===t.className),fields:["lineWidth"]},{shape:t=>t.find(t=>{var e;return(null===(e=t.parentElement)||void 0===e?void 0:e.className)==="label"&&"text"===t.className}),fields:["fontSize","lineHeight"]}]};class id extends tu{bindEvents(){let{graph:t}=this.context;this.unbindEvents(),t4.forEach(e=>{t.on("".concat(e,":").concat(w.CLICK),this.focus)})}validate(t){if(this.destroyed)return!1;let{enable:e}=this.options;return(0,td.Z)(e)?e(t):!!e}unbindEvents(){let{graph:t}=this.context;t4.forEach(e=>{t.off("".concat(e,":").concat(w.CLICK),this.focus)})}destroy(){this.unbindEvents(),super.destroy()}constructor(t,e){super(t,Object.assign({},id.defaultOptions,e)),this.focus=async t=>{if(!this.validate(t))return;let{graph:e}=this.context;await e.focusElement(t.target.id,this.options.animation)},this.bindEvents()}}id.defaultOptions={animation:{easing:"ease-in",duration:500},enable:!0};class ip extends tu{bindEvents(){let{graph:t}=this.context;this.unbindEvents(),t4.forEach(e=>{t.on("".concat(e,":").concat(w.POINTER_OVER),this.hoverElement),t.on("".concat(e,":").concat(w.POINTER_OUT),this.hoverElement)});let e=this.context.canvas.document;e.addEventListener("".concat(w.DRAG_START),this.toggleFrozen),e.addEventListener("".concat(w.DRAG_END),this.toggleFrozen)}validate(t){if(this.destroyed||this.isFrozen||this.context.graph.isCollapsingExpanding)return!1;let{enable:e}=this.options;return(0,td.Z)(e)?e(t):!!e}unbindEvents(){let{graph:t}=this.context;t4.forEach(e=>{t.off("".concat(e,":").concat(w.POINTER_OVER),this.hoverElement),t.off("".concat(e,":").concat(w.POINTER_OUT),this.hoverElement)});let e=this.context.canvas.document;e.removeEventListener("".concat(w.DRAG_START),this.toggleFrozen),e.removeEventListener("".concat(w.DRAG_END),this.toggleFrozen)}destroy(){this.unbindEvents(),super.destroy()}constructor(t,e){super(t,Object.assign({},ip.defaultOptions,e)),this.isFrozen=!1,this.toggleFrozen=t=>{this.isFrozen="dragstart"===t.type},this.hoverElement=t=>{if(!this.validate(t))return;let e=t.type===w.POINTER_OVER;this.updateElementsState(t,e);let{onHover:n,onHoverEnd:i}=this.options;e?null==n||n(t):null==i||i(t)},this.updateElementsState=(t,e)=>{if(!this.options.state&&!this.options.inactiveState)return;let{graph:n}=this.context,{state:i,degree:r,animation:a,inactiveState:o}=this.options,{targetType:s,target:l}=t,h=r?t9(n,s,l.id,r):[l.id],c={};if(i&&Object.assign(c,this.getElementsState(h,i,e)),o){let t=te(n.getData(),!0).filter(t=>!h.includes(t));Object.assign(c,this.getElementsState(t,o,e))}n.setElementState(c,a)},this.getElementsState=(t,e,n)=>{let{graph:i}=this.context,r={};return t.forEach(t=>{let a=i.getElementState(t),o=n?[...a,e]:a.filter(t=>t!==e);r[t]=o}),r},this.bindEvents()}}ip.defaultOptions={animation:!1,enable:!0,degree:0,state:"active",inactiveState:void 0};class ig extends tu{bindEvents(){let{graph:t}=this.context;t.on(R.BEFORE_TRANSFORM,this.hideShapes),t.on(R.AFTER_TRANSFORM,this.showShapes)}unbindEvents(){let{graph:t}=this.context;t.off(R.BEFORE_TRANSFORM,this.hideShapes),t.off(R.AFTER_TRANSFORM,this.showShapes)}validate(t){if(this.destroyed)return!1;let{enable:e}=this.options;return(0,td.Z)(e)?e(t):!!e}destroy(){this.unbindEvents(),super.destroy()}constructor(t,e){super(t,Object.assign({},ig.defaultOptions,e)),this.isVisible=!0,this.setElementsVisibility=(t,e,n)=>{t.forEach(t=>{eM(t,e,!1,t=>!t.className||!(null==n?void 0:n.includes(t.className)))})},this.hideShapes=t=>{if(!this.validate(t)||!this.isVisible)return;let{element:e}=this.context,{shapes:n={}}=this.options;this.setElementsVisibility(e.getNodes(),"hidden",n.node),this.setElementsVisibility(e.getEdges(),"hidden",n.edge),this.setElementsVisibility(e.getCombos(),"hidden",n.combo),this.isVisible=!1},this.showShapes=(0,ii.Z)(t=>{if(!this.validate(t)||this.isVisible)return;let{element:e}=this.context;this.setElementsVisibility(e.getNodes(),"visible"),this.setElementsVisibility(e.getEdges(),"visible"),this.setElementsVisibility(e.getCombos(),"visible"),this.isVisible=!0},this.options.debounce),this.bindEvents()}}ig.defaultOptions={enable:!0,debounce:200,shapes:{node:["key"]}};class iy extends tu{update(t){super.update(t),this.bindEvents()}bindEvents(){var t,e;let{trigger:n}=this.options;if(this.shortcut.unbindAll(),(0,j.Z)(n)){null===(t=this.graphDom)||void 0===t||t.removeEventListener(w.WHEEL,this.onWheel);let{up:e=[],down:i=[],left:r=[],right:a=[]}=n;this.shortcut.bind(e,t=>this.scroll([0,-10],t)),this.shortcut.bind(i,t=>this.scroll([0,10],t)),this.shortcut.bind(r,t=>this.scroll([-10,0],t)),this.shortcut.bind(a,t=>this.scroll([10,0],t))}else null===(e=this.graphDom)||void 0===e||e.addEventListener(w.WHEEL,this.onWheel,{passive:!1})}get graphDom(){return this.context.graph.getCanvas().getContextService().getDomElement()}formatDisplacement(t){let[e,n]=t,{direction:i,sensitivity:r}=this.options;return e*=r,n*=r,"x"===i?n=0:"y"===i&&(e=0),[e,n]}async scroll(t,e){if(!this.validate(e))return;let{onFinish:n}=this.options,i=this.context.graph,r=this.formatDisplacement(t);await i.translateBy(r,!1),null==n||n()}validate(t){if(this.destroyed)return!1;let{enable:e}=this.options;return(0,td.Z)(e)?e(t):!!e}destroy(){var t;this.shortcut.destroy(),null===(t=this.graphDom)||void 0===t||t.removeEventListener(w.WHEEL,this.onWheel),super.destroy()}constructor(t,e){super(t,Object.assign({},iy.defaultOptions,e)),this.onWheel=async t=>{this.options.preventDefault&&t.preventDefault();let e=t.deltaX,n=t.deltaY;await this.scroll([-e,-n],t)},this.shortcut=new t2(t.graph),this.bindEvents()}}iy.defaultOptions={enable:!0,sensitivity:1,preventDefault:!0};var im=n(81957);class iv extends tu{update(t){super.update(t),this.bindEvents()}bindEvents(){let{trigger:t}=this.options;if(this.shortcut.unbindAll(),Array.isArray(t)){var e;null===(e=this.context.canvas.getContainer())||void 0===e||e.addEventListener(w.WHEEL,this.preventDefault),this.shortcut.bind([...t,w.WHEEL],t=>{let{deltaX:e,deltaY:n}=t;this.zoom(-(null!=n?n:e),t,!1)})}if("object"==typeof t){let{zoomIn:e=[],zoomOut:n=[],reset:i=[]}=t;this.shortcut.bind(e,t=>this.zoom(10,t,this.options.animation)),this.shortcut.bind(n,t=>this.zoom(-10,t,this.options.animation)),this.shortcut.bind(i,this.onReset)}}validate(t){if(this.destroyed)return!1;let{enable:e}=this.options;return(0,td.Z)(e)?e(t):!!e}destroy(){var t;this.shortcut.destroy(),null===(t=this.context.canvas.getContainer())||void 0===t||t.removeEventListener(w.WHEEL,this.preventDefault),super.destroy()}constructor(t,e){super(t,Object.assign({},iv.defaultOptions,e)),this.zoom=async(t,e,n)=>{let i;if(!this.validate(e))return;let{graph:r}=this.context;"viewport"in e&&(i=tV(e.viewport));let{sensitivity:a,onFinish:o}=this.options,s=1+(0,im.Z)(t,-50,50)*a/100,l=r.getZoom();await r.zoomTo(l*s,n,i),null==o||o()},this.onReset=async()=>{await this.context.graph.zoomTo(1,this.options.animation)},this.preventDefault=t=>{this.options.preventDefault&&t.preventDefault()},this.shortcut=new t2(t.graph),this.bindEvents()}}iv.defaultOptions={animation:{duration:200},enable:!0,sensitivity:1,trigger:[],preventDefault:!0};var ib=n(81746),ix=n(28104),iE=n(63795),iw=n(39233),iC=n(5192),iS=n(63330),iR=n(51712),iA=n(67753),iO=n(12368),iM=n(89469),iT=n(41733),ik=n(64912),iP=n(29257),iL=n(26629),iD=n(69959);let iN=t=>t?parseInt(t):0;function iI(t){let e=640,n=480,[i,r]=function(t){let e=getComputedStyle(t),n=t.clientWidth||iN(e.width),i=t.clientHeight||iN(e.height),r=iN(e.paddingLeft)+iN(e.paddingRight),a=iN(e.paddingTop)+iN(e.paddingBottom);return[n-r,i-a]}(t);return e=i||e,n=r||n,[Math.max((0,eJ.Z)(e)?e:1,1),Math.max((0,eJ.Z)(n)?n:1,1)]}function iB(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=document.createElement("div");return n.setAttribute("class","g6-".concat(t)),n.style.position="absolute",n.style.display="block",e&&(n.style.inset="0px",n.style.height="100%",n.style.width="100%",n.style.overflow="hidden",n.style.pointerEvents="none"),n}function i_(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:document.body,a=document.getElementById(t);a&&a.remove();let o=document.createElement(e);return o.innerHTML=i,o.id=t,Object.assign(o.style,n),r.appendChild(o),o}class iF extends tc{}class ij extends iF{async update(t){super.update(t),Object.assign(this.$element.style,(0,iD.Z)(this.options,["key","type"]))}destroy(){super.destroy(),this.$element.remove()}constructor(t,e){super(t,Object.assign({},ij.defaultOptions,e)),this.$element=iB("background");let n=this.context.canvas.getContainer();n.prepend(this.$element),this.update(e)}}function iZ(t,e,n,i,r,a){let o=n-t,s=i-e,l=r-t,h=a-e,c=l*o+h*s,u=0;u=c<=0?0:(c=(l=o-l)*o+(h=s-h)*s)<=0?0:c*c/(o*o+s*s);let d=l*l+h*h-u;return d<0?0:d}function iz(t,e,n,i){return(t-n)*(t-n)+(e-i)*(e-i)}function iG(t){let e=Math.min(t.x1,t.x2),n=Math.max(t.x1,t.x2),i=Math.min(t.y1,t.y2),r=Math.max(t.y1,t.y2);return{x:e,y:i,x2:n,y2:r,width:n-e,height:r-i}}ij.defaultOptions={transition:"background 0.5s",backgroundSize:"cover"};class iH{constructor(t,e,n,i){this.x1=t,this.y1=e,this.x2=n,this.y2=i}equals(t){return this.x1===t.x1&&this.y1===t.y1&&this.x2===t.x2&&this.y2===t.y2}draw(t){t.moveTo(this.x1,this.y1),t.lineTo(this.x2,this.y2)}toString(){return`Line(from=(${this.x1},${this.y1}),to=(${this.x2},${this.y2}))`}static from(t){return new iH(t.x1,t.y1,t.x2,t.y2)}cuts(t,e){if(this.y1===this.y2||ethis.y1&&e>=this.y2||t>this.x1&&t>=this.x2)return!1;if(tthis.x2+n)return!1}else if(tthis.x1+n)return!1;if(this.y1this.y2+n)return!1}else if(ethis.y1+n)return!1;return!0}}(g=T||(T={}))[g.POINT=1]="POINT",g[g.PARALLEL=2]="PARALLEL",g[g.COINCIDENT=3]="COINCIDENT",g[g.NONE=4]="NONE";class iW{constructor(t,e=0,n=0){this.state=t,this.x=e,this.y=n}}function iV(t,e){let n=(e.x2-e.x1)*(t.y1-e.y1)-(e.y2-e.y1)*(t.x1-e.x1),i=(t.x2-t.x1)*(t.y1-e.y1)-(t.y2-t.y1)*(t.x1-e.x1),r=(e.y2-e.y1)*(t.x2-t.x1)-(e.x2-e.x1)*(t.y2-t.y1);if(r){let e=n/r,a=i/r;return 0<=e&&e<=1&&0<=a&&a<=1?new iW(T.POINT,t.x1+e*(t.x2-t.x1),t.y1+e*(t.y2-t.y1)):new iW(T.NONE)}return new iW(0===n||0===i?T.COINCIDENT:T.PARALLEL)}function iU(t,e){let n=(e.x2-e.x1)*(t.y1-e.y1)-(e.y2-e.y1)*(t.x1-e.x1),i=(t.x2-t.x1)*(t.y1-e.y1)-(t.y2-t.y1)*(t.x1-e.x1),r=(e.y2-e.y1)*(t.x2-t.x1)-(e.x2-e.x1)*(t.y2-t.y1);if(r){let t=n/r,e=i/r;if(0<=t&&t<=1&&0<=e&&e<=1)return t}return Number.POSITIVE_INFINITY}function iY(t,e,n){let i=new Set;return t.width<=0?(i.add(k.LEFT),i.add(k.RIGHT)):et.x+t.width&&i.add(k.RIGHT),t.height<=0?(i.add(k.TOP),i.add(k.BOTTOM)):nt.y+t.height&&i.add(k.BOTTOM),i}function iK(t,e){let n=e.x1,i=e.y1,r=e.x2,a=e.y2,o=Array.from(iY(t,r,a));if(0===o.length)return!0;let s=iY(t,n,i);for(;0!==s.size;){for(let t of o)if(s.has(t))return!1;if(s.has(k.RIGHT)||s.has(k.LEFT)){let e=t.x;s.has(k.RIGHT)&&(e+=t.width),i+=(e-n)*(a-i)/(r-n),n=e}else{let e=t.y;s.has(k.BOTTOM)&&(e+=t.height),n+=(e-i)*(r-n)/(a-i),i=e}s=iY(t,n,i)}return!0}(y=k||(k={}))[y.LEFT=0]="LEFT",y[y.TOP=1]="TOP",y[y.RIGHT=2]="RIGHT",y[y.BOTTOM=3]="BOTTOM";class i${constructor(t,e,n,i){this.x=t,this.y=e,this.width=n,this.height=i}get x2(){return this.x+this.width}get y2(){return this.y+this.height}get cx(){return this.x+this.width/2}get cy(){return this.y+this.height/2}get radius(){return Math.max(this.width,this.height)/2}static from(t){return new i$(t.x,t.y,t.width,t.height)}equals(t){return this.x===t.x&&this.y===t.y&&this.width===t.width&&this.height===t.height}clone(){return new i$(this.x,this.y,this.width,this.height)}add(t){let e=Math.min(this.x,t.x),n=Math.min(this.y,t.y),i=Math.max(this.x2,t.x+t.width),r=Math.max(this.y2,t.y+t.height);this.x=e,this.y=n,this.width=i-e,this.height=r-n}addPoint(t){let e=Math.min(this.x,t.x),n=Math.min(this.y,t.y),i=Math.max(this.x2,t.x),r=Math.max(this.y2,t.y);this.x=e,this.y=n,this.width=i-e,this.height=r-n}toString(){return`Rectangle[x=${this.x}, y=${this.y}, w=${this.width}, h=${this.height}]`}draw(t){t.rect(this.x,this.y,this.width,this.height)}containsPt(t,e){return t>=this.x&&t<=this.x2&&e>=this.y&&e<=this.y2}get area(){return this.width*this.height}intersects(t){return!(this.area<=0)&&!(t.width<=0)&&!(t.height<=0)&&t.x+t.width>this.x&&t.y+t.height>this.y&&t.x=this.width?this.width-1:t}boundY(t){return t=this.height?this.height-1:t}scaleX(t){return this.boundX(Math.floor((t-this.pixelX)/this.pixelGroup))}scaleY(t){return this.boundY(Math.floor((t-this.pixelY)/this.pixelGroup))}scale(t){let e=this.scaleX(t.x),n=this.scaleY(t.y),i=this.boundX(Math.ceil((t.x+t.width-this.pixelX)/this.pixelGroup)),r=this.boundY(Math.ceil((t.y+t.height-this.pixelY)/this.pixelGroup)),a=i-e,o=r-n;return new i$(e,n,a,o)}invertScaleX(t){return Math.round(t*this.pixelGroup+this.pixelX)}invertScaleY(t){return Math.round(t*this.pixelGroup+this.pixelY)}addPadding(t,e){let n=Math.ceil(e/this.pixelGroup),i=this.boundX(t.x-n),r=this.boundY(t.y-n),a=this.boundX(t.x2+n),o=this.boundY(t.y2+n),s=a-i,l=o-r;return new i$(i,r,s,l)}get(t,e){return t<0||e<0||t>=this.width||e>=this.height?Number.NaN:this.area[t+e*this.width]}inc(t,e,n){t<0||e<0||t>=this.width||e>=this.height||(this.area[t+e*this.width]+=n)}set(t,e,n){t<0||e<0||t>=this.width||e>=this.height||(this.area[t+e*this.width]=n)}incArea(t,e){if(t.width<=0||t.height<=0||0===e)return;let n=this.width,i=t.width,r=Math.max(0,t.i),a=Math.max(0,t.j),o=Math.min(t.i+t.width,n),s=Math.min(t.j+t.height,this.height);if(!(s<=0)&&!(o<=0)&&!(r>=n)&&!(s>=this.height))for(let l=a;lMath.min(t,e),Number.POSITIVE_INFINITY),i=this.area.reduce((t,e)=>Math.max(t,e),Number.NEGATIVE_INFINITY),r=t=>(t-n)/(i-n);t.scale(this.pixelGroup,this.pixelGroup);for(let e=0;ee?"black":"white",t.fillRect(n,i,1,1)}t.restore()}}}function iQ(t,e){let n=t=>({x:t.x-e,y:t.y-e,width:t.width+2*e,height:t.height+2*e});return Array.isArray(t)?t.map(n):n(t)}function iJ(t,e,n){return i0(Object.assign(iG(t),{distSquare:(e,n)=>iZ(t.x1,t.y1,t.x2,t.y2,e,n)}),e,n)}function i0(t,e,n){let i=iQ(t,n),r=e.scale(i),a=e.createSub(r,i);return function(t,e,n,i){let r=n*n;for(let a=0;at.distSquare(e,n)),a}function i1(t,e){return e.some(e=>e.containsPt(t.x,t.y))}function i2(t,e){return e.some(e=>{var n,i,r,a;return n=e.x1,i=e.y1,1e-6>iz(n,i,t.x,t.y)||(r=e.x2,a=e.y2,1e-6>iz(r,a,t.x,t.y))})}function i3(t,e){let n=Number.POSITIVE_INFINITY,i=null;for(let r of t){if(!iK(r,e))continue;let t=function(t,e){let n=Number.POSITIVE_INFINITY,i=0;function r(t,r,a,o){let s=iU(e,new iH(t,r,a,o));(s=Math.abs(s-.5))>=0&&s<=1&&(i++,s1)?n:(r(t.x,t.y2,t.x2,t.y2),i>1)?n:(r(t.x2,t.y,t.x2,t.y2),0===i)?-1:n}(r,e);t>=0&&ts.y?{x:t.x-e,y:t.y-e}:{x:t.x2+e,y:t.y-e}:a.yo.x?{x:t.x-e,y:t.y-e}:{x:t.x-e,y:t.y2+e}:r.xs.y?{x:t.x2+e,y:t.y2+e}:{x:t.x-e,y:t.y2+e}:a.yo.x?{x:t.x2+e,y:t.y2+e}:{x:t.x2+e,y:t.y-e}:r.x=e?this.closed?this.get(t-e):this.points[e-1]:this.points[t]}get length(){return this.points.length}toString(t=1/0){let e=this.points;if(0===e.length)return"";let n="function"==typeof t?t:function(t){if(!Number.isFinite(t))return t=>t;if(0===t)return Math.round;let e=Math.pow(10,t);return t=>Math.round(t*e)/e}(t),i="M";for(let t of e)i+=`${n(t.x)},${n(t.y)} L`;return i=i.slice(0,-1),this.closed&&(i+=" Z"),i}draw(t){let e=this.points;if(0!==e.length){for(let n of(t.beginPath(),t.moveTo(e[0].x,e[0].y),e))t.lineTo(n.x,n.y);this.closed&&t.closePath()}}sample(t){return(function(t=8){return e=>{let n=t,i=e.length;if(n>1)for(i=Math.floor(e.length/n);i<3&&n>1;)n-=1,i=Math.floor(e.length/n);let r=[];for(let t=0,a=0;a{if(t<0||e.length<3)return e;let n=[],i=0,r=t*t;for(;ii)return!1}return!0}(e,i,t,r);)t++;n.push(e.get(i)),i=t}return new i4(n)}})(t)(this)}bSplines(t){return(function(t=6){function e(t,e,n){let i=0,r=0;for(let a=-2;a<=1;a++){let o=t.get(e+a),s=function(t,e){switch(t){case -2:return(((-e+3)*e-3)*e+1)/6;case -1:return((3*e-6)*e*e+4)/6;case 0:return(((-3*e+3)*e+3)*e+1)/6;case 1:return e*e*e/6;default:throw Error("unknown error")}}(a,n);i+=s*o.x,r+=s*o.y}return{x:i,y:r}}return n=>{if(n.length<3)return n;let i=[],r=n.closed,a=n.length+3-1+(r?0:2);i.push(e(n,2-(r?0:2),0));for(let o=2-(r?0:2);oe.containsPt(t.cx,t.cy)&&this.withinArea(t.cx,t.cy))}withinArea(t,e){if(0===this.length)return!1;let n=0,i=this.points[0],r=new iH(i.x,i.y,i.x,i.y);for(let i=1;ii7(e.raw,t));return!(e<0)&&(this.members.splice(e,1),this.dirty.add(P.MEMBERS),!0)}removeNonMember(t){let e=this.nonMembers.findIndex(e=>i7(e.raw,t));return!(e<0)&&(this.nonMembers.splice(e,1),this.dirty.add(P.NON_MEMBERS),!0)}removeEdge(t){let e=this.edges.findIndex(e=>e.obj.equals(t));return!(e<0)&&(this.edges.splice(e,1),this.dirty.add(P.NON_MEMBERS),!0)}pushNonMember(...t){if(0!==t.length)for(let e of(this.dirty.add(P.NON_MEMBERS),t))this.nonMembers.push({raw:e,obj:i5(e)?iX.from(e):i$.from(e),area:null})}pushEdge(...t){if(0!==t.length)for(let e of(this.dirty.add(P.EDGES),t))this.edges.push({raw:e,obj:iH.from(e),area:null})}update(){let t=this.dirty.has(P.MEMBERS),e=this.dirty.has(P.NON_MEMBERS),n=this.dirty.has(P.EDGES);this.dirty.clear();let i=this.members.map(t=>t.obj);if(this.o.virtualEdges&&(t||e)){let t=this.nonMembers.map(t=>t.obj),e=function(t,e,n,i){if(0===t.length)return[];let r=function(t){if(t.length<2)return t;let e=0,n=0;return t.forEach(t=>{e+=t.cx,n+=t.cy}),e/=t.length,n/=t.length,t.map(t=>{let i=e-t.cx,r=n-t.cy;return[t,i*i+r*r]}).sort((t,e)=>t[1]-e[1]).map(t=>t[0])}(t);return r.map((t,a)=>{let o=r.slice(0,a);return function(t,e,n,i,r){let a;let o={x:e.cx,y:e.cy},s=(a=Number.POSITIVE_INFINITY,n.reduce((e,n)=>{let i=iz(o.x,o.y,n.cx,n.cy);if(i>a)return e;let r=new iH(o.x,o.y,n.cx,n.cy),s=t.reduce((t,e)=>iK(e,r)&&function(t,e){function n(t,n,i,r){let a=iU(e,new iH(t,n,i,r));return(a=Math.abs(a-.5))>=0&&a<=1?1:0}let i=n(t.x,t.y,t.x2,t.y);return!!((i+=n(t.x,t.y,t.x,t.y2))>1||(i+=n(t.x,t.y2,t.x2,t.y2))>1)||(i+=n(t.x2,t.y,t.x2,t.y2))>0}(e,r)?t+1:t,0);return i*(s+1)*(s+1)0;){let t=a.pop(),n=i3(e,t),s=n?function(t,e){let n=0,i=iV(t,new iH(e.x,e.y,e.x2,e.y));n+=i.state===T.POINT?1:0;let r=iV(t,new iH(e.x,e.y,e.x,e.y2));n+=r.state===T.POINT?1:0;let a=iV(t,new iH(e.x,e.y2,e.x2,e.y2));n+=a.state===T.POINT?1:0;let o=iV(t,new iH(e.x2,e.y,e.x2,e.y2));return{top:i,left:r,bottom:a,right:o,count:n+=o.state===T.POINT?1:0}}(t,n):null;if(!n||!s||2!==s.count){o||r.push(t);continue}let l=i,h=i6(n,l,s,!0),c=i2(h,a)||i2(h,r),u=i1(h,e);for(;!c&&u&&l>=1;)l/=1.5,c=i2(h=i6(n,l,s,!0),a)||i2(h,r),u=i1(h,e);if(!h||c||u||(a.push(new iH(t.x1,t.y1,h.x,h.y)),a.push(new iH(h.x,h.y,t.x2,t.y2)),o=!0),o)continue;let d=i2(h=i6(n,l=i,s,!1),a)||i2(h,r);for(u=i1(h,e);!d&&u&&l>=1;)l/=1.5,d=i2(h=i6(n,l,s,!1),a)||i2(h,r),u=i1(h,e);h&&!d&&(a.push(new iH(t.x1,t.y1,h.x,h.y)),a.push(new iH(h.x,h.y,t.x2,t.y2)),o=!0),o||r.push(t)}for(;a.length>0;)r.push(a.pop());return r}(l,t,i,r);return function(t,e){let n=[];for(;t.length>0;){let i=t.pop();if(0===t.length){n.push(i);break}let r=t.pop(),a=new iH(i.x1,i.y1,r.x2,r.y2),o=i3(e,a);o?(n.push(i),t.push(r)):t.push(a)}return n}(h,t)}(e,t,o,n,i)}).flat()}(i,t,this.o.maxRoutingIterations,this.o.morphBuffer),r=new Map(this.virtualEdges.map(t=>[t.obj.toString(),t.area]));this.virtualEdges=e.map(t=>{var e;return{raw:t,obj:t,area:null!==(e=r.get(t.toString()))&&void 0!==e?e:null}}),n=!0}let r=!1;if(t||n){let t=this.virtualEdges.concat(this.edges).map(t=>t.obj),e=function(t,e){if(0===t.length)return new i$(0,0,0,0);let n=i$.from(t[0]);for(let e of t)n.add(e);for(let t of e)n.add(iG(t));return n}(i,t),n=Math.max(this.o.edgeR1,this.o.nodeR1)+this.o.morphBuffer,a=i$.from(iQ(e,n));a.equals(this.activeRegion)||(r=!0,this.activeRegion=a)}if(r){let t=Math.ceil(this.activeRegion.width/this.o.pixelGroup),e=Math.ceil(this.activeRegion.height/this.o.pixelGroup);this.activeRegion.x!==this.potentialArea.pixelX||this.activeRegion.y!==this.potentialArea.pixelY?(this.potentialArea=iq.fromPixelRegion(this.activeRegion,this.o.pixelGroup),this.members.forEach(t=>t.area=null),this.nonMembers.forEach(t=>t.area=null),this.edges.forEach(t=>t.area=null),this.virtualEdges.forEach(t=>t.area=null)):(t!==this.potentialArea.width||e!==this.potentialArea.height)&&(this.potentialArea=iq.fromPixelRegion(this.activeRegion,this.o.pixelGroup))}let a=new Map,o=t=>{if(t.area){let e=`${t.obj.width}x${t.obj.height}x${t.obj instanceof i$?"R":"C"}`;a.set(e,t.area)}},s=t=>{if(t.area)return;let e=`${t.obj.width}x${t.obj.height}x${t.obj instanceof i$?"R":"C"}`;if(a.has(e)){let n=a.get(e);t.area=this.potentialArea.copy(n,{x:t.obj.x-this.o.nodeR1,y:t.obj.y-this.o.nodeR1});return}let n=t.obj instanceof i$?function(t,e,n){let i=e.scale(t),r=e.addPadding(i,n),a=e.createSub(r,{x:t.x-n,y:t.y-n}),o=i.x-r.x,s=i.y-r.y,l=r.x2-i.x2,h=r.y2-i.y2,c=r.width-o-l,u=r.height-s-h,d=n*n;a.fillArea({x:o,y:s,width:c+1,height:u+1},d);let p=[0],f=Math.max(s,o,l,h);{let r=e.invertScaleX(i.x+i.width/2);for(let a=1;a{this.activeRegion.intersects(t.obj)?s(t):t.area=null}),this.edges.forEach(t=>{t.area||(t.area=iJ(t.obj,this.potentialArea,this.o.edgeR1))}),this.virtualEdges.forEach(t=>{t.area||(t.area=iJ(t.obj,this.potentialArea,this.o.edgeR1))})}drawMembers(t){for(let e of this.members)e.obj.draw(t)}drawNonMembers(t){for(let e of this.nonMembers)e.obj.draw(t)}drawEdges(t){for(let e of this.edges)e.obj.draw(t)}drawPotentialArea(t,e=!0){this.potentialArea.draw(t,e)}compute(){if(0===this.members.length)return new i4([]);this.dirty.size>0&&this.update();let{o:t,potentialArea:e}=this,n=this.members.map(t=>t.area),i=this.virtualEdges.concat(this.edges).map(t=>t.area),r=this.nonMembers.filter(t=>null!=t.area).map(t=>t.area),a=this.members.map(t=>t.obj);return function(t,e,n,i,r,a={}){let o=Object.assign({},i9,a),s=o.threshold,l=o.memberInfluenceFactor,h=o.edgeInfluenceFactor,c=o.nonMemberInfluenceFactor,u=(o.nodeR0-o.nodeR1)*(o.nodeR0-o.nodeR1),d=(o.edgeR0-o.edgeR1)*(o.edgeR0-o.edgeR1);for(let a=0;ae?r+a:r}function a(t,e){let n=0;return(n=r(t,e,0,1),n=r(t+1,e,n,2),n=r(t,e+1,n,4),Number.isNaN(n=r(t+1,e+1,n,8)))?-1:n}let o=1;for(let n=0;n0)c*=.8;else break}return new i4([])}(e,n,i,r,t=>t.containsElements(a),t)}}class re extends iF{bindEvents(){this.context.graph.on(R.AFTER_RENDER,this.drawBubbleSets),this.context.graph.on(R.AFTER_ELEMENT_UPDATE,this.updateBubbleSetsPath)}init(){this.bubbleSets=new rt(this.options),this.members=new Map,this.avoidMembers=new Map}parseOptions(){let{type:t,key:e,members:n,avoidMembers:i,...r}=this.options,a=Object.keys(r).reduce((t,e)=>(e in i9?t.bubbleSetOptions[e]=r[e]:t.style[e]=r[e],t),{style:{},bubbleSetOptions:{}});return{type:t,key:e,members:n,avoidMembers:i,...a}}addMember(t){let e=Array.isArray(t)?t:[t];e.some(t=>this.options.avoidMembers.includes(t))&&(this.options.avoidMembers=this.options.avoidMembers.filter(t=>!e.includes(t))),this.options.members=[...new Set([...this.options.members,...e])],this.drawBubbleSets()}removeMember(t){let e=Array.isArray(t)?t:[t];this.options.members=this.options.members.filter(t=>!e.includes(t)),this.drawBubbleSets()}updateMember(t){this.options.members=(0,td.Z)(t)?t(this.options.members):t,this.drawBubbleSets()}getMember(){return this.options.members}addAvoidMember(t){let e=Array.isArray(t)?t:[t];e.some(t=>this.options.members.includes(t))&&(this.options.members=this.options.members.filter(t=>!e.includes(t))),this.options.avoidMembers=[...new Set([...this.options.avoidMembers,...e])],this.drawBubbleSets()}removeAvoidMember(t){let e=Array.isArray(t)?t:[t];this.options.avoidMembers.some(t=>e.includes(t))&&(this.options.avoidMembers=this.options.avoidMembers.filter(t=>!e.includes(t)),this.drawBubbleSets())}updateAvoidMember(t){this.options.avoidMembers=Array.isArray(t)?t:[t],this.drawBubbleSets()}getAvoidMember(){return this.options.avoidMembers}destroy(){this.context.graph.off(R.AFTER_RENDER,this.drawBubbleSets),this.context.graph.off(R.AFTER_ELEMENT_UPDATE,this.updateBubbleSetsPath),this.shape.destroy(),super.destroy()}constructor(t,e){super(t,(0,J.Z)({},re.defaultOptions,e)),this.members=new Map,this.avoidMembers=new Map,this.bubbleSetOptions={},this.drawBubbleSets=()=>{let{style:t,bubbleSetOptions:e}=this.parseOptions();(0,F.Z)(this.bubbleSetOptions,e)||this.init(),this.bubbleSetOptions={...e};let n={...t,d:this.getPath()};this.shape?this.shape.update(n):(this.shape=new ez({style:n}),this.context.canvas.appendChild(this.shape))},this.updateBubbleSetsPath=t=>{if(!this.shape)return;let e=tt(t.data);[...this.options.members,...this.options.avoidMembers].includes(e)&&this.shape.update({...this.parseOptions().style,d:this.getPath(e)})},this.getPath=t=>{let{graph:e}=this.context,n=this.options.members,i=[...this.members.keys()],r=this.options.avoidMembers,a=[...this.avoidMembers.keys()];if(!t&&(0,F.Z)(n,i)&&(0,F.Z)(r,a))return this.path;let{enter:o=[],exit:s=[]}=tl(i,n,t=>t),{enter:l=[],exit:h=[]}=tl(a,r,t=>t);t&&(s.push(t),o.push(t));let c=(t,n,i)=>{t.forEach(t=>{let r=i?this.members:this.avoidMembers;if(n){let n;"edge"===e.getElementType(t)?([n]=ri(e,t),this.bubbleSets.pushEdge(n)):([n]=rn(e,t),this.bubbleSets[i?"pushMember":"pushNonMember"](n)),r.set(t,n)}else{let n=r.get(t);n&&("edge"===e.getElementType(t)?this.bubbleSets.removeEdge(n):this.bubbleSets[i?"removeMember":"removeNonMember"](n),r.delete(t))}})};c(s,!1,!0),c(o,!0,!0),c(h,!1,!1),c(l,!0,!1);let u=this.bubbleSets.compute(),d=u.sample(8).simplify(0).bSplines().simplify(0);return this.path=eZ(d.points.map(tV)),this.path},this.bindEvents(),this.bubbleSets=new rt(this.options)}}re.defaultOptions={members:[],avoidMembers:[],fill:"lightblue",fillOpacity:.2,stroke:"blue",strokeOpacity:.2,...i9};let rn=(t,e)=>{let n=Array.isArray(e)?e:[e];return n.map(e=>{let n=t.getElementRenderBounds(e);return new i$(n.min[0],n.min[1],tm(n),tv(n))})},ri=(t,e)=>{let n=Array.isArray(e)?e:[e];return n.map(e=>{let n=t.getEdgeData(e),i=t.getElementPosition(n.source),r=t.getElementPosition(n.target);return iH.from({x1:i[0],y1:i[1],x2:r[0],y2:r[1]})})};class rr extends iF{initElement(){this.$element=iB("contextmenu",!1);let{className:t}=this.options;t&&this.$element.classList.add(t);let e=this.context.canvas.getContainer();e.appendChild(this.$element),i_("g6-contextmenu-css","style",{},"\n .g6-contextmenu {\n font-size: 12px;\n background-color: rgba(255, 255, 255, 0.96);\n border-radius: 4px;\n overflow: hidden;\n box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 12px 0px;\n transition: visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1) 0s, left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s;\n }\n\n .g6-contextmenu-ul {\n max-width: 256px;\n min-width: 96px;\n list-style: none;\n padding: 0;\n margin: 0;\n }\n\n .g6-contextmenu-li {\n padding: 8px 12px;\n cursor: pointer;\n user-select: none;\n }\n\n .g6-contextmenu-li:hover {\n background-color: #f5f5f5;\n cursor: pointer;\n }\n",document.head)}async show(t){let{enable:e,offset:n}=this.options;if("function"==typeof e&&!e(t)||!e){this.hide();return}let i=await this.getDOMContent(t);i instanceof HTMLElement?(this.$element.innerHTML="",this.$element.appendChild(i)):this.$element.innerHTML=i;let r=this.context.graph.getCanvas().getContainer().getBoundingClientRect();this.$element.style.left="".concat(t.client.x-r.left+n[0],"px"),this.$element.style.top="".concat(t.client.y-r.top+n[1],"px"),this.$element.style.display="block",this.targetElement=t.target}hide(){this.$element.style.display="none",this.targetElement=null}update(t){this.unbindEvents(),super.update(t),this.bindEvents()}destroy(){this.unbindEvents(),super.destroy(),this.$element.remove()}async getDOMContent(t){let{getContent:e,getItems:n}=this.options;if(n){var i;return i=await n(t),'\n
      \n '.concat(i.map(t=>'
    • ').concat(t.name,"
    • ")).join(""),"\n
    \n ")}return await e(t)}bindEvents(){let{graph:t}=this.context,{trigger:e}=this.options;t.on("canvas:".concat(e),this.onTriggerEvent),t.on("node:".concat(e),this.onTriggerEvent),t.on("edge:".concat(e),this.onTriggerEvent),t.on("combo:".concat(e),this.onTriggerEvent),document.addEventListener("click",this.onMenuItemClick)}unbindEvents(){let{graph:t}=this.context,{trigger:e}=this.options;t.off("canvas:".concat(e),this.onTriggerEvent),t.off("node:".concat(e),this.onTriggerEvent),t.off("edge:".concat(e),this.onTriggerEvent),t.off("combo:".concat(e),this.onTriggerEvent),document.removeEventListener("click",this.onMenuItemClick)}constructor(t,e){super(t,Object.assign({},rr.defaultOptions,e)),this.targetElement=null,this.onTriggerEvent=t=>{var e;null===(e=t.preventDefault)||void 0===e||e.call(t),this.show(t)},this.onMenuItemClick=t=>{let{onClick:e,trigger:n}=this.options;if(t.target instanceof HTMLElement&&t.target.className.includes("g6-contextmenu-li")){let n=t.target.getAttribute("value");null==e||e(n,t.target,this.targetElement),this.hide()}"click"!==n&&this.hide()},this.initElement(),this.update(e)}}rr.defaultOptions={trigger:"contextmenu",offset:[4,4],loadingContent:'
    Loading...
    ',getContent:()=>"It is a empty context menu.",enable:()=>!0};let ra={fill:"#fff",fillOpacity:1,lineWidth:1,stroke:"#000",strokeOpacity:.8};class ro extends iF{get canvas(){return this.context.canvas.getLayer("transient")}get isLensOn(){return this.lens&&!this.lens.destroyed}getElementStyle(t,e){let n="node"===t?this.options.nodeStyle:this.options.edgeStyle;return"function"==typeof n?n(e):n}get graphDom(){return this.context.graph.getCanvas().getContextService().getDomElement()}bindEvents(){let{graph:t}=this.context,{trigger:e,scaleRByWheel:n}=this.options,i=t.getCanvas().getLayer();if(["click","drag"].includes(e)&&i.addEventListener(w.CLICK,this.onEdgeFilter),"pointermove"===e?i.addEventListener(w.POINTER_MOVE,this.onEdgeFilter):"drag"===e&&(i.addEventListener(w.DRAG_START,this.onDragStart),i.addEventListener(w.DRAG,this.onDrag),i.addEventListener(w.DRAG_END,this.onDragEnd)),n){var r;null===(r=this.graphDom)||void 0===r||r.addEventListener(w.WHEEL,this.scaleRByWheel,{passive:!1})}}unbindEvents(){let{graph:t}=this.context,{trigger:e,scaleRByWheel:n}=this.options,i=t.getCanvas().getLayer();if(["click","drag"].includes(e)&&i.removeEventListener(w.CLICK,this.onEdgeFilter),"pointermove"===e?i.removeEventListener(w.POINTER_MOVE,this.onEdgeFilter):"drag"===e&&(i.removeEventListener(w.DRAG_START,this.onDragStart),i.removeEventListener(w.DRAG,this.onDrag),i.removeEventListener(w.DRAG_END,this.onDragEnd)),n){var r;null===(r=this.graphDom)||void 0===r||r.removeEventListener(w.WHEEL,this.scaleRByWheel)}}update(t){this.unbindEvents(),super.update(t),this.bindEvents()}destroy(){this.unbindEvents(),this.isLensOn&&this.lens.destroy(),this.shapes.forEach((t,e)=>{t.destroy(),this.shapes.delete(e)}),super.destroy()}constructor(t,e){super(t,Object.assign({},ro.defaultOptions,e)),this.shapes=new Map,this.r=this.options.r,this.onEdgeFilter=t=>{if("drag"===this.options.trigger&&this.isLensOn)return;let e=tV(t.canvas);this.renderLens(e),this.renderFocusElements()},this.renderLens=t=>{let[e,n]=t,i={size:2*this.r,x:e,y:n};if(this.isLensOn)this.lens.update(i);else{let t=Object.assign({},ra,this.options.style,i);this.lens=new eq({style:t})}this.canvas.appendChild(this.lens)},this.getFilterData=()=>{let{filter:t}=this.options,{model:e}=this.context,n=e.getData();if(!t)return n;let{nodes:i,edges:r,combos:a}=n;return{nodes:i.filter(e=>t(tt(e),"node")),edges:r.filter(e=>t(tt(e),"edge")),combos:a.filter(e=>t(tt(e),"combo"))}},this.getFocusElements=t=>{let{nodes:e,edges:n}=this.getFilterData(),i=e.filter(e=>tD(tH(e),t)tt(t)),a=n.filter(t=>{let{source:e,target:n}=t,i=r.includes(e),a=r.includes(n);switch(this.options.nodeType){case"both":return i&&a;case"either":return i!==a;case"source":return i&&!a;case"target":return!i&&a;default:return!1}});return{nodes:i,edges:a}},this.renderFocusElements=()=>{let{element:t,graph:e}=this.context;if(!this.isLensOn)return;let n=this.lens.getCenter(),{nodes:i,edges:r}=this.getFocusElements(n),a=new Set,{nodeStyle:o,edgeStyle:s}=this.options,l=n=>{let i=tt(n);a.add(i);let r=t.getElement(i);if(!r)return;let o=this.shapes.get(i)||r.cloneNode();o.setPosition(r.getPosition()),o.id=r.id,this.shapes.has(i)?Object.entries(r.attributes).forEach(t=>{let[e,n]=t;o.style[e]!==n&&(o.style[e]=n)}):(this.canvas.appendChild(o),this.shapes.set(i,o));let s=e.getElementType(i),l=this.getElementStyle(s,n);o.update(l)};i.forEach(l),r.forEach(l),this.shapes.forEach((t,e)=>{a.has(e)||(t.destroy(),this.shapes.delete(e))})},this.scaleRByWheel=t=>{var e;this.options.preventDefault&&t.preventDefault();let{clientX:n,clientY:i,deltaX:r,deltaY:a}=t,{graph:o,canvas:s}=this.context,l=o.getCanvasByClient([n,i]),h=null===(e=this.lens)||void 0===e?void 0:e.getCenter();if(!this.isLensOn||tD(l,h)>this.r)return;let{maxR:c,minR:u}=this.options,d=Math.min(...s.getSize())/2;this.r=Math.max(u||0,Math.min(c||d,this.r*(r+a>0?1/.95:.95))),this.renderLens(h),this.renderFocusElements()},this.isLensDragging=!1,this.onDragStart=t=>{var e;let n=tV(t.canvas),i=null===(e=this.lens)||void 0===e?void 0:e.getCenter();!this.isLensOn||tD(n,i)>this.r||(this.isLensDragging=!0)},this.onDrag=t=>{if(!this.isLensDragging)return;let e=tV(t.canvas);this.renderLens(e),this.renderFocusElements()},this.onDragEnd=()=>{this.isLensDragging=!1},this.bindEvents()}}ro.defaultOptions={trigger:"pointermove",r:60,nodeType:"both",filter:()=>!0,style:{lineWidth:2},nodeStyle:{label:!1},edgeStyle:{label:!0},scaleRByWheel:!0,preventDefault:!0};class rs extends iF{bindEvents(){this.unbindEvents(),this.shortcut.unbindAll();let{request:t=[],exit:e=[]}=this.options.trigger;this.shortcut.bind(t,this.request),this.shortcut.bind(e,this.exit),["webkitfullscreenchange","mozfullscreenchange","fullscreenchange","MSFullscreenChange"].forEach(t=>{document.addEventListener(t,this.onFullscreenChange,!1)})}unbindEvents(){this.shortcut.unbindAll(),["webkitfullscreenchange","mozfullscreenchange","fullscreenchange","MSFullscreenChange"].forEach(t=>{document.removeEventListener(t,this.onFullscreenChange,!1)})}setGraphSize(){let t,e,n=!(arguments.length>0)||void 0===arguments[0]||arguments[0];n?(t=window.screen.width,e=window.screen.height,this.graphSize=this.context.graph.getSize()):[t,e]=this.graphSize,this.context.graph.setSize(t,e),this.context.graph.render()}request(){!document.fullscreenElement&&(document.fullscreenEnabled||Reflect.get(document,"webkitFullscreenEnabled")||Reflect.get(document,"mozFullscreenEnabled")||Reflect.get(document,"msFullscreenEnabled"))&&this.$el.requestFullscreen().catch(t=>{Y.warn("Error attempting to enable full-screen: ".concat(t.message," (").concat(t.name,")"))})}exit(){document.fullscreenElement&&document.exitFullscreen()}update(t){this.unbindEvents(),super.update(t),this.bindEvents()}destroy(){this.exit(),this.style.remove(),super.destroy()}constructor(t,e){super(t,Object.assign({},rs.defaultOptions,e)),this.$el=this.context.canvas.getContainer(),this.graphSize=[0,0],this.onFullscreenChange=()=>{var t,e,n,i;let r=!!document.fullscreenElement;this.options.autoFit&&this.setGraphSize(r),r?null===(e=(t=this.options).onEnter)||void 0===e||e.call(t):null===(i=(n=this.options).onExit)||void 0===i||i.call(n)},this.shortcut=new t2(t.graph),this.bindEvents(),this.style=document.createElement("style"),document.head.appendChild(this.style),this.style.innerHTML="\n :not(:root):fullscreen::backdrop {\n background: transparent;\n }\n "}}rs.defaultOptions={trigger:{},autoFit:!0};class rl extends iF{update(t){super.update(t),this.updateStyle()}bindEvents(){let{graph:t}=this.context;t.on(R.AFTER_TRANSFORM,this.onTransform)}updateStyle(){let{size:t,stroke:e,lineWidth:n,border:i,borderLineWidth:r,borderStroke:a,borderStyle:o}=this.options;Object.assign(this.$element.style,{border:i?"".concat(r,"px ").concat(o," ").concat(a):"none",backgroundImage:"linear-gradient(".concat(e," ").concat(n,"px, transparent ").concat(n,"px), linear-gradient(90deg, ").concat(e," ").concat(n,"px, transparent ").concat(n,"px)"),backgroundSize:"".concat(t,"px ").concat(t,"px")})}updateOffset(t){var e,n;this.offset=(e=tM(this.offset,t),n=this.options.size,e.map(t=>t%n)),this.$element.style.backgroundPosition="".concat(this.offset[0],"px ").concat(this.offset[1],"px")}destroy(){this.context.graph.off(R.AFTER_TRANSFORM,this.onTransform),this.$element.remove(),super.destroy()}constructor(t,e){super(t,Object.assign({},rl.defaultOptions,e)),this.$element=iB("grid-line"),this.offset=[0,0],this.onTransform=t=>{if(!this.options.follow)return;let{data:{translate:e}}=t;e&&this.updateOffset(e)};let n=this.context.canvas.getContainer();!function(t,e){let n=t.firstChild;n?t.insertBefore(e,n):t.appendChild(e)}(n,this.$element),this.updateStyle(),this.bindEvents()}}rl.defaultOptions={border:!0,borderLineWidth:1,borderStroke:"#eee",borderStyle:"solid",lineWidth:1,size:20,stroke:"#eee"};var rh=n(90494);function rc(t){let e={Added:new Map,Updated:new Map,Removed:new Map};return t.forEach(t=>{let{type:n,value:i}=t,r=tt(i);if("NodeAdded"===n||"EdgeAdded"===n||"ComboAdded"===n)e.Added.set(r,t);else if("NodeUpdated"===n||"EdgeUpdated"===n||"ComboUpdated"===n){if(e.Added.has(r))e.Added.set(r,{type:n.replace("Updated","Added"),value:i});else if(e.Updated.has(r)){let{original:t}=e.Updated.get(r);e.Updated.set(r,{type:n,value:i,original:t})}else e.Removed.has(r)||e.Updated.set(r,t)}else("NodeRemoved"===n||"EdgeRemoved"===n||"ComboRemoved"===n)&&(e.Added.has(r)?e.Added.delete(r):(e.Updated.has(r)&&e.Updated.delete(r),e.Removed.set(r,t)))}),[...Array.from(e.Added.values()),...Array.from(e.Updated.values()),...Array.from(e.Removed.values())]}function ru(t){let{NodeAdded:e=[],NodeUpdated:n=[],NodeRemoved:i=[],EdgeAdded:r=[],EdgeUpdated:a=[],EdgeRemoved:o=[],ComboAdded:s=[],ComboUpdated:l=[],ComboRemoved:h=[]}=ew(t,t=>t.type);return{add:{nodes:e,edges:r,combos:s},update:{nodes:n,edges:a,combos:l},remove:{nodes:i,edges:o,combos:h}}}class rd extends iF{canUndo(){return this.undoStack.length>0}canRedo(){return this.redoStack.length>0}undo(){let t=this.undoStack.pop();if(t){var e,n,i,r;this.executeCommand(t);let a=null===(n=(e=this.options).beforeAddCommand)||void 0===n?void 0:n.call(e,t,!1);if(!1===a)return;this.redoStack.push(t),null===(r=(i=this.options).afterAddCommand)||void 0===r||r.call(i,t,!1),this.notify(A.UNDO,t)}return this}redo(){let t=this.redoStack.pop();return t&&(this.executeCommand(t,!1),this.undoStackPush(t),this.notify(A.REDO,t)),this}undoAndCancel(){let t=this.undoStack.pop();return t&&(this.executeCommand(t,!1),this.redoStack=[],this.notify(A.CANCEL,t)),this}undoStackPush(t){var e,n,i,r;let{stackSize:a}=this.options;0!==a&&this.undoStack.length>=a&&this.undoStack.shift();let o=null===(n=(e=this.options).beforeAddCommand)||void 0===n?void 0:n.call(e,t,!0);!1!==o&&(this.undoStack.push(t),null===(r=(i=this.options).afterAddCommand)||void 0===r||r.call(i,t,!0))}clear(){this.undoStack=[],this.redoStack=[],this.batchChanges=null,this.batchAnimation=!1,this.notify(A.CLEAR,null)}notify(t,e){this.emitter.emit(t,{cmd:e}),this.emitter.emit(A.CHANGE,{cmd:e})}on(t,e){this.emitter.on(t,e)}destroy(){let{graph:t}=this.context;t.off(R.AFTER_DRAW,this.addCommand),t.off(R.BATCH_START,this.initBatchCommand),t.off(R.BATCH_END,this.addCommand),this.emitter.off(),super.destroy(),this.undoStack=[],this.redoStack=[]}constructor(t,e){var n;super(t,Object.assign({},rd.defaultOptions,e)),n=this,this.batchChanges=null,this.batchAnimation=!1,this.undoStack=[],this.redoStack=[],this.freezed=!1,this.executeCommand=function(t){var e,i,r;let a=!(arguments.length>1)||void 0===arguments[1]||arguments[1];n.freezed=!0,null===(i=(e=n.options).executeCommand)||void 0===i||i.call(e,t);let o=a?t.original:t.current;n.context.graph.addData(o.add),n.context.graph.updateData(o.update),n.context.graph.removeData(te(o.remove,!1)),null===(r=n.context.element)||void 0===r||r.draw({silence:!0,animation:t.animation}),n.freezed=!1},this.addCommand=t=>{if(!this.freezed){if(t.type===R.AFTER_DRAW){var e;let{dataChanges:n=[],animation:i=!0}=t.data;if(null===(e=this.context.batch)||void 0===e?void 0:e.isBatching){if(!this.batchChanges)return;this.batchChanges.push(n),this.batchAnimation&&(this.batchAnimation=i);return}this.batchChanges=[n],this.batchAnimation=i}this.undoStackPush(function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,i={animation:e,current:{add:{},update:{},remove:{}},original:{add:{},update:{},remove:{}}},{add:r,update:a,remove:o}=ru(rc(t));return["nodes","edges","combos"].forEach(t=>{a[t]&&a[t].forEach(e=>{var r,a;let o={...e.value},s={...e.original};if(n){let t=n.graph.getElementType(tt(e.original)),i="edge"===t?"stroke":"fill",r=n.element.getElementComputedStyle(t,e.original);s={...e.original,style:{[i]:r[i],...e.original.style}}}(function t(e,n){for(let i in e)(0,j.Z)(e[i])&&!Array.isArray(e[i])&&null!==e[i]?(n[i]||(n[i]={}),t(e[i],n[i])):void 0===n[i]&&(n[i]=q(i))})(o,s),(r=i.current.update)[t]||(r[t]=[]),i.current.update[t].push(o),(a=i.original.update)[t]||(a[t]=[]),i.original.update[t].push(s)}),r[t]&&r[t].forEach(e=>{var n,r;let a={...e.value};(n=i.current.add)[t]||(n[t]=[]),i.current.add[t].push(a),(r=i.original.remove)[t]||(r[t]=[]),i.original.remove[t].push(a)}),o[t]&&o[t].forEach(e=>{var n,r;let a={...e.value};(n=i.current.remove)[t]||(n[t]=[]),i.current.remove[t].push(a),(r=i.original.add)[t]||(r[t]=[]),i.original.add[t].push(a)})}),i}(this.batchChanges.flat(),this.batchAnimation,this.context)),this.notify(A.ADD,this.undoStack[this.undoStack.length-1])}},this.initBatchCommand=t=>{let{initiate:e}=t.data;if(this.batchAnimation=!1,e)this.batchChanges=[];else{let t=this.undoStack.pop();t||(this.batchChanges=null)}},this.emitter=new rh.Z;let{graph:i}=this.context;i.on(R.AFTER_DRAW,this.addCommand),i.on(R.BATCH_START,this.initBatchCommand),i.on(R.BATCH_END,this.addCommand)}}rd.defaultOptions={stackSize:0};var rp=n(1344),rf=n.n(rp);let rg=(t,e,n)=>{if("sharp"===n)return[["M",t[0]-e,t[1]-e],["L",t[0]+e,t[1]-e],["L",t[0]+e,t[1]+e],["L",t[0]-e,t[1]+e],["Z"]];let i=[e,e,0,0,0];return[["M",t[0],t[1]-e],["A",...i,t[0],t[1]+e],["A",...i,t[0],t[1]-e]]},ry=(t,e,n)=>{let i=[e,e,0,0,0],r="sharp"===n?tM(t[0],tL(tI(tT(t[0],t[1])),e)):t[0],a="sharp"===n?tM(t[1],tL(tI(tT(t[1],t[0])),e)):t[1],o=tL(tI(t_(tT(r,a),!1)),e),s=tL(o,-1),l=tM(r,o),h=tM(a,o),c=tM(a,s),u=tM(r,s);return"sharp"===n?[["M",l[0],l[1]],["L",h[0],h[1]],["L",c[0],c[1]],["L",u[0],u[1]],["Z"]]:[["M",l[0],l[1]],["L",h[0],h[1]],["A",...i,c[0],c[1]],["L",u[0],u[1]],["A",...i,l[0],l[1]]]},rm=(t,e)=>{let n=tQ(t).map((n,i)=>{let r=(i-2+t.length)%t.length,a=(i-1+t.length)%t.length,o=(i+1)%t.length,s=t[r],l=t[a],h=t[o],c=tT(s,l),u=tT(l,n),d=tT(n,h),p=(t,e)=>tB(t,e,!0)tL(tI(t_(t,!1)),e),m=y(u);return[{p:tF(f?tM(l,y(c)):tM(l,m)),concave:f&&l},{p:tF(g?tM(n,y(d)):tM(n,m)),concave:g&&n}]}),i=[e,e,0,0,0],r=n.findIndex((t,e)=>!n[(e-1+n.length)%n.length][0].concave&&!n[(e-1+n.length)%n.length][1].concave&&!t[0].concave&&!t[0].concave&&!t[1].concave),a=n.slice(r).concat(n.slice(0,r)),o=[];return a.flatMap((t,e)=>{let r=[],s=a[n.length-1];return 0===e&&r.push(["M",...s[1].p]),t[0].concave?o.push(t[0].p,t[1].p):r.push(["A",...i,...t[0].p]),t[1].concave?o.unshift(t[1].p):r.push(["L",...t[1].p]),3===o.length&&(r.pop(),r.push(["C",...o.flat()]),o=[]),r})},rv=(t,e)=>{let n=tQ(t).map((e,n)=>{let i=t[(n+1)%t.length];return{p:e,v:tI(tT(i,e))}});return n.forEach((i,r)=>{let a=r>0?r-1:t.length-1,o=n[a].v,s=tI(tM(o,tL(i.v,tB(o,i.v,!0)t.p))},rb=(t,e)=>{let n=t.map((n,i)=>{let r=t[0===i?t.length-1:i-1],a=tj(tL(tI(t_(tT(r,n),!1)),e));return[tM(r,a),tM(n,a)]}),i=n.flat(),r=i.map((t,e)=>{if(e%2==0)return null;let n=[i[(e-1)%i.length],i[e%i.length]],r=[i[(e+1)%i.length],i[(e+2)%i.length]];return tz(n,r,!0)}).filter(Boolean);return r.map((t,e)=>[0===e?"M":"L",t[0],t[1]]).concat([["Z"]])};class rx extends iF{bindEvents(){this.context.graph.on(R.AFTER_RENDER,this.drawHull),this.context.graph.on(R.AFTER_ELEMENT_UPDATE,this.updateHullPath)}getHullStyle(t){let{members:e,padding:n,corner:i,...r}=this.options;return{...r,d:this.getHullPath(t)}}getPadding(){let{graph:t}=this.context,e=this.hullMemberIds.reduce((e,n)=>{let{halfExtents:i}=t.getElementRenderBounds(n),r=Math.max(i[0],i[1]);return Math.max(e,r)},0);return e+this.options.padding}addMember(t){let e=Array.isArray(t)?t:[t];this.options.members=[...new Set([...this.options.members,...e])],this.shape.update({d:this.getHullPath()})}removeMember(t){let e=Array.isArray(t)?t:[t];this.options.members=this.options.members.filter(t=>!e.includes(t)),e.some(t=>this.hullMemberIds.includes(t))&&this.shape.update({d:this.getHullPath()})}updateMember(t){this.options.members=(0,td.Z)(t)?t(this.options.members):t,this.shape.update(this.getHullStyle(!0))}getMember(){return this.options.members}destroy(){this.context.graph.off(R.AFTER_DRAW,this.drawHull),this.shape.destroy(),this.hullMemberIds=[],super.destroy()}constructor(t,e){var n;super(t,Object.assign({},rx.defaultOptions,e)),n=this,this.hullMemberIds=[],this.drawHull=()=>{if(this.shape){let t=!(0,F.Z)(this.optionsCache,this.options);this.shape.update(this.getHullStyle(t))}else this.shape=new ez({style:this.getHullStyle()}),this.context.canvas.appendChild(this.shape);this.optionsCache={...this.options}},this.updateHullPath=t=>{this.shape&&this.options.members.includes(tt(t.data))&&this.shape.update({d:this.getHullPath(!0)})},this.getHullPath=function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{graph:e}=n.context,i=n.getMember();if(0===i.length)return"";let r=i.map(t=>e.getNodeData(t)),a=rf()(r.map(tH),n.options.concavity).slice(1).reverse(),o=a.flatMap(t=>r.filter(e=>(0,F.Z)(tH(e),t)).map(tt));return(0,F.Z)(o,n.hullMemberIds)&&!t||(n.hullMemberIds=o,n.path=function(t,e,n){if(1===t.length)return rg(t[0],e,n);if(2===t.length)return ry(t,e,n);switch(n){case"smooth":return rv(t,e);case"sharp":return rb(t,e);default:return rm(t,e)}}(a,n.getPadding(),n.options.corner)),n.path},this.bindEvents()}}rx.defaultOptions={members:[],padding:10,corner:"rounded",concavity:1/0,fill:"lightblue",fillOpacity:.2,labelOpacity:1,stroke:"blue",strokeOpacity:.2};var rE=n(97582),rw=function(){function t(t,e,n,i){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===i&&(i=0),this.x=0,this.y=0,this.width=0,this.height=0,this.x=t,this.y=e,this.width=n,this.height=i}return Object.defineProperty(t.prototype,"bottom",{get:function(){return this.y+this.height},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return this.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return this.x+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.y},enumerable:!1,configurable:!0}),t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t.prototype.toJSON=function(){return{x:this.x,y:this.y,width:this.width,height:this.height,top:this.top,right:this.right,bottom:this.bottom,left:this.left}},t.prototype.isPointIn=function(t,e){return t>=this.left&&t<=this.right&&e>=this.top&&e<=this.bottom},t}();function rC(t){for(var e=1/0,n=1/0,i=-1/0,r=-1/0,a=0;ai&&(i=d),p>r&&(r=p)}return new rw(e,n,i-e,r-n)}var rS=function(t,e,n){var i=t.width,r=t.height,a=n.flexDirection,o=void 0===a?"row":a,s=(n.flexWrap,n.justifyContent),l=void 0===s?"flex-start":s,h=(n.alignContent,n.alignItems),c=void 0===h?"flex-start":h,u="row"===o,d="row"===o||"column"===o,p=u?d?[1,0]:[-1,0]:d?[0,1]:[0,-1],f=(0,rE.CR)([0,0],2),g=f[0],y=f[1],m=e.map(function(t){var e,n=t.width,i=t.height,r=(0,rE.CR)([g,y],2),a=r[0],o=r[1];return g=(e=(0,rE.CR)([g+n*p[0],y+i*p[1]],2))[0],y=e[1],new rw(a,o,n,i)}),v=rC(m),b={"flex-start":0,"flex-end":u?i-v.width:r-v.height,center:u?(i-v.width)/2:(r-v.height)/2},x=m.map(function(t){var e=t.x,n=t.y,i=rw.fromRect(t);return i.x=u?e+b[l]:e,i.y=u?n:n+b[l],i});rC(x);var E=function(t){var e=(0,rE.CR)(u?["height",r]:["width",i],2),n=e[0],a=e[1];switch(c){case"flex-start":default:return 0;case"flex-end":return a-t[n];case"center":return a/2-t[n]/2}};return x.map(function(t){var e=t.x,n=t.y,i=rw.fromRect(t);return i.x=u?e:e+E(i),i.y=u?n+E(i):n,i}).map(function(e){var n,i,r=rw.fromRect(e);return r.x+=null!==(n=t.x)&&void 0!==n?n:0,r.y+=null!==(i=t.y)&&void 0!==i?i:0,r})},rR=function(t,e,n){return[]},rA=function(t,e,n){if(0===e.length)return[];var i={flex:rS,grid:rR},r=n.display in i?i[n.display]:null;return(null==r?void 0:r.call(null,t,e,n))||[]};function rO(t){if((0,eJ.Z)(t))return[t,t,t,t];if((0,ex.Z)(t)){var e=t.length;if(1===e)return[t[0],t[0],t[0],t[0]];if(2===e)return[t[0],t[1],t[0],t[1]];if(3===e)return[t[0],t[1],t[2],t[1]];if(4===e)return t}return[0,0,0,0]}var rM=function(t){function e(e){var n=t.call(this,e)||this;n.layoutEvents=[I.Dk.BOUNDS_CHANGED,I.Dk.INSERTED,I.Dk.REMOVED],n.$margin=rO(0),n.$padding=rO(0);var i=e.style||{},r=i.margin,a=i.padding;return n.margin=void 0===r?0:r,n.padding=void 0===a?0:a,n.isMutationObserved=!0,n.bindEvents(),n}return(0,rE.ZT)(e,t),Object.defineProperty(e.prototype,"margin",{get:function(){return this.$margin},set:function(t){this.$margin=rO(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"padding",{get:function(){return this.$padding},set:function(t){this.$padding=rO(t)},enumerable:!1,configurable:!0}),e.prototype.getBBox=function(){var t=this.attributes,e=t.x,n=void 0===e?0:e,i=t.y,r=void 0===i?0:i,a=t.width,o=t.height,s=(0,rE.CR)(this.$margin,4),l=s[0],h=s[1],c=s[2],u=s[3];return new rw(n-u,r-l,a+u+h,o+l+c)},e.prototype.appendChild=function(e,n){return e.isMutationObserved=!0,t.prototype.appendChild.call(this,e,n),e},e.prototype.getAvailableSpace=function(){var t=this.attributes,e=t.width,n=t.height,i=(0,rE.CR)(this.$padding,4),r=i[0],a=i[1],o=i[2],s=i[3],l=(0,rE.CR)(this.$margin,4),h=l[0],c=l[3];return new rw(s+c,r+h,e-s-a,n-r-o)},e.prototype.layout=function(){if(this.attributes.display&&this.isConnected&&!this.children.some(function(t){return!t.isConnected}))try{var t=this.attributes,e=t.x,n=t.y;this.style.transform="translate(".concat(e,", ").concat(n,")");var i=rA(this.getAvailableSpace(),this.children.map(function(t){return t.getBBox()}),this.attributes);this.children.forEach(function(t,e){var n=i[e],r=n.x,a=n.y;t.style.transform="translate(".concat(r,", ").concat(a,")")})}catch(t){}},e.prototype.bindEvents=function(){var t=this;this.layoutEvents.forEach(function(e){t.addEventListener(e,function(e){e.target.isMutationObserved=!0,t.layout()})})},e.prototype.attributeChangedCallback=function(t,e,n){"margin"===t?this.margin=n:"padding"===t&&(this.padding=n),this.layout()},e}(I.ZA);function rT(t){rP(t,!0)}function rk(t){rP(t,!1)}function rP(t,e){var n=e?"visible":"hidden";!function t(e,n){n(e),e.children&&e.children.forEach(function(e){e&&t(e,n)})}(t,function(t){t.attr("visibility",n)})}var rL=n(83845),rD=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=5),Object.entries(e).forEach(function(r){var a=(0,rE.CR)(r,2),o=a[0],s=a[1];Object.prototype.hasOwnProperty.call(e,o)&&(s?(0,rL.Z)(s)?((0,rL.Z)(t[o])||(t[o]={}),n="A"&&n<="Z"};function rG(t,e,n){void 0===n&&(n=!1);var i={};return Object.entries(t).forEach(function(t){var r=(0,rE.CR)(t,2),a=r[0],o=r[1];if("className"===a||"class"===a);else if(rz(a,"show")&&rz(rZ(a,"show"),e)!==n)a==="".concat("show").concat(rj(e))?i[a]=o:i[a.replace(new RegExp(rj(e)),"")]=o;else if(!rz(a,"show")&&rz(a,e)!==n){var s=rZ(a,e);"filter"===s&&"function"==typeof o||(i[s]=o)}}),i}function rH(t,e){return Object.entries(t).reduce(function(t,n){var i=(0,rE.CR)(n,2),r=i[0],a=i[1];return r.startsWith("show")?t["show".concat(e).concat(r.slice(4))]=a:t["".concat(e).concat(rj(r))]=a,t},{})}function rW(t,e){void 0===e&&(e=["x","y","class","className"]);var n=["transform","transformOrigin","anchor","visibility","pointerEvents","zIndex","cursor","clipPath","clipPathTargets","offsetPath","offsetPathTargets","offsetDistance","draggable","droppable"],i={},r={};return Object.entries(t).forEach(function(t){var a=(0,rE.CR)(t,2),o=a[0],s=a[1];e.includes(o)||(-1!==n.indexOf(o)?r[o]=s:i[o]=s)}),[i,r]}var rV=function(t){function e(e){void 0===e&&(e={});var n=e.style,i=(0,rE._T)(e,["style"]);return t.call(this,(0,rE.pi)({style:(0,rE.pi)({text:"",fill:"black",fontFamily:"sans-serif",fontSize:16,fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",lineWidth:1,textAlign:"start",textBaseline:"middle"},n)},i))||this}return(0,rE.ZT)(e,t),Object.defineProperty(e.prototype,"offscreenGroup",{get:function(){return this._offscreen||(this._offscreen=rB(this)),this._offscreen},enumerable:!1,configurable:!0}),e.prototype.disconnectedCallback=function(){var t;null===(t=this._offscreen)||void 0===t||t.destroy()},e}(I.xv),rU=function(){var t,e,n;function i(e,n,i,r,a,o,s){void 0===e&&(e=null),void 0===n&&(n=null),void 0===i&&(i=null),void 0===r&&(r=null),void 0===a&&(a=[null,null,null,null,null]),void 0===o&&(o=[]),void 0===s&&(s=[]),t.add(this),this._elements=Array.from(e),this._data=n,this._parent=i,this._document=r,this._enter=a[0],this._update=a[1],this._exit=a[2],this._merge=a[3],this._split=a[4],this._transitions=o,this._facetElements=s}return i.prototype.selectAll=function(t){var n="string"==typeof t?this._parent.querySelectorAll(t):t;return new e(n,null,this._elements[0],this._document)},i.prototype.selectFacetAll=function(t){var n="string"==typeof t?this._parent.querySelectorAll(t):t;return new e(this._elements,null,this._parent,this._document,void 0,void 0,n)},i.prototype.select=function(t){var n="string"==typeof t?this._parent.querySelectorAll(t)[0]||null:t;return new e([n],null,n,this._document)},i.prototype.append=function(t){var n=this,i="function"==typeof t?t:function(){return n.createElement(t)},r=[];if(null!==this._data){for(var a=0;a2?[t[0]]:t.split("")}function rQ(t,e){var n=Object.entries(e).reduce(function(e,n){var i=(0,rE.CR)(n,2),r=i[0],a=i[1];return t.node().attr(r)||(e[r]=a),e},{});t.styles(n)}var rJ=function(t){function e(e){return t.call(this,e,{text:"",width:0,height:0,fill:"#4a505a",fontWeight:"bold",fontSize:12,fontFamily:"sans-serif",inset:0,spacing:0,position:"top-left"})||this}return(0,rE.ZT)(e,t),e.prototype.getAvailableSpace=function(){var t=this.attributes,e=t.width,n=t.height,i=t.position,r=t.spacing,a=t.inset,o=this.querySelector(rX.text.class);if(!o)return new rw(0,0,+e,+n);var s=o.getBBox(),l=s.width,h=s.height,c=(0,rE.CR)(rO(r),4),u=c[0],d=c[1],p=c[2],f=c[3],g=(0,rE.CR)([0,0,+e,+n],4),y=g[0],m=g[1],v=g[2],b=g[3],x=rq(i);if(x.includes("i"))return new rw(y,m,v,b);x.forEach(function(t,i){var r,a;"t"===t&&(m=(r=(0,rE.CR)(0===i?[h+p,+n-h-p]:[0,+n],2))[0],b=r[1]),"r"===t&&(v=(0,rE.CR)([+e-l-f],1)[0]),"b"===t&&(b=(0,rE.CR)([+n-h-u],1)[0]),"l"===t&&(y=(a=(0,rE.CR)(0===i?[l+d,+e-l-d]:[0,+e],2))[0],v=a[1])});var E=(0,rE.CR)(rO(a),4),w=E[0],C=E[1],S=E[2],R=E[3],A=(0,rE.CR)([R+C,w+S],2),O=A[0],M=A[1];return new rw(y+R,m+w,v-O,b-M)},e.prototype.getBBox=function(){return this.title?this.title.getBBox():new rw(0,0,0,0)},e.prototype.render=function(t,e){var n,i,r,a,o,s,l,h,c,u,d,p,f,g,y,m,v=this;t.width,t.height,t.position,t.spacing;var b=(0,rE._T)(t,["width","height","position","spacing"]),x=(0,rE.CR)(rW(b),1)[0],E=(o=t.width,s=t.height,l=t.position,c=(h=(0,rE.CR)([+o/2,+s/2],2))[0],u=h[1],p=(d=(0,rE.CR)([+c,+u,"center","middle"],4))[0],f=d[1],g=d[2],y=d[3],(m=rq(l)).includes("l")&&(p=(n=(0,rE.CR)([0,"start"],2))[0],g=n[1]),m.includes("r")&&(p=(i=(0,rE.CR)([+o,"end"],2))[0],g=i[1]),m.includes("t")&&(f=(r=(0,rE.CR)([0,"top"],2))[0],y=r[1]),m.includes("b")&&(f=(a=(0,rE.CR)([+s,"bottom"],2))[0],y=a[1]),{x:p,y:f,textAlign:g,textBaseline:y}),w=E.x,C=E.y,S=E.textAlign,R=E.textBaseline;r$(!!b.text,rY(e),function(t){v.title=t.maybeAppendByClassName(rX.text,"text").styles(x).call(rQ,{x:w,y:C,textAlign:S,textBaseline:R}).node()})},e}(rF),r0=n(13279);function r1(t,e){return(0,td.Z)(t)?t.apply(void 0,(0,rE.ev)([],(0,rE.CR)(e),!1)):t}function r2(t){if(!t)return{enter:!1,update:!1,exit:!1};var e=["enter","update","exit"],n=Object.fromEntries(Object.entries(t).filter(function(t){var n=(0,rE.CR)(t,1)[0];return!e.includes(n)}));return Object.fromEntries(e.map(function(e){return"boolean"!=typeof t&&"enter"in t&&"update"in t&&"exit"in t?!1===t[e]?[e,!1]:[e,(0,rE.pi)((0,rE.pi)({},t[e]),n)]:[e,n]}))}function r3(t,e){t?t.finished.then(e):e()}function r6(t,e){"update"in t?t.update(e):t.attr(e)}function r4(t,e,n){return 0===e.length?null:n?t.animate(e,n):(r6(t,{style:e.slice(-1)[0]}),null)}function r8(t,e,n){var i={},r={};return(Object.entries(e).forEach(function(e){var n=(0,rE.CR)(e,2),a=n[0],o=n[1];if(!(0,_.Z)(o)){var s=t.style[a]||t.parsedStyle[a]||0;s!==o&&(i[a]=s,r[a]=o)}}),n)?r4(t,[i,r],(0,rE.pi)({fill:"both"},n)):(r6(t,r),null)}function r9(t,e,n){void 0===n&&(n=!1);var i=t.getBBox(),r=e/Math.max(i.width,i.height);return n&&(t.style.transform="scale(".concat(r,")")),r}var r5=function(t,e,n){return[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e],["Z"]]},r7=function(t,e,n){return[["M",t,e+n],["L",t,e-n]]},at=function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},ae=rK({prevBtnGroup:"prev-btn-group",prevBtn:"prev-btn",nextBtnGroup:"next-btn-group",nextBtn:"next-btn",pageInfoGroup:"page-info-group",pageInfo:"page-info",playWindow:"play-window",contentGroup:"content-group",controller:"controller",clipPath:"clip-path"},"navigator"),an=function(t){function e(e){var n=t.call(this,e,{x:0,y:0,animate:{easing:"linear",duration:200,fill:"both"},buttonCursor:"pointer",buttonFill:"black",buttonD:[["M",-6,-6],["L",6,0],["L",-6,6],["Z"]],buttonSize:12,controllerPadding:5,controllerSpacing:5,formatter:function(t,e){return"".concat(t,"/").concat(e)},defaultPage:0,loop:!1,orientation:"horizontal",pageNumFill:"black",pageNumFontSize:12,pageNumTextAlign:"start",pageNumTextBaseline:"middle"})||this;return n.playState="idle",n.contentGroup=n.appendChild(new I.ZA({class:ae.contentGroup.name})),n.playWindow=n.contentGroup.appendChild(new I.ZA({class:ae.playWindow.name})),n.innerCurrPage=n.defaultPage,n}return(0,rE.ZT)(e,t),Object.defineProperty(e.prototype,"defaultPage",{get:function(){var t=this.attributes.defaultPage;return(0,im.Z)(t,0,Math.max(this.pageViews.length-1,0))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pageViews",{get:function(){return this.playWindow.children},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"controllerShape",{get:function(){return this.totalPages>1?{width:55,height:0}:{width:0,height:0}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pageShape",{get:function(){var t,e,n=this.pageViews,i=(0,rE.CR)(((null===(e=(t=n.map(function(t){var e=t.getBBox();return[e.width,e.height]}))[0])||void 0===e?void 0:e.map(function(e,n){return t.map(function(t){return t[n]})}))||[]).map(function(t){return Math.max.apply(Math,(0,rE.ev)([],(0,rE.CR)(t),!1))}),2),r=i[0],a=i[1],o=this.attributes,s=o.pageWidth,l=o.pageHeight;return{pageWidth:void 0===s?r:s,pageHeight:void 0===l?a:l}},enumerable:!1,configurable:!0}),e.prototype.getContainer=function(){return this.playWindow},Object.defineProperty(e.prototype,"totalPages",{get:function(){return this.pageViews.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currPage",{get:function(){return this.innerCurrPage},enumerable:!1,configurable:!0}),e.prototype.getBBox=function(){var e=t.prototype.getBBox.call(this),n=e.x,i=e.y,r=this.controllerShape,a=this.pageShape,o=a.pageWidth,s=a.pageHeight;return new rw(n,i,o+r.width,s)},e.prototype.goTo=function(t){var e=this,n=this.attributes.animate,i=this.currPage,r=this.playState,a=this.playWindow,o=this.pageViews;if("idle"!==r||t<0||o.length<=0||t>=o.length)return null;o[i].setLocalPosition(0,0),this.prepareFollowingPage(t);var s=(0,rE.CR)(this.getFollowingPageDiff(t),2),l=s[0],h=s[1];this.playState="running";var c=r4(a,[{transform:"translate(0, 0)"},{transform:"translate(".concat(-l,", ").concat(-h,")")}],n);return r3(c,function(){e.innerCurrPage=t,e.playState="idle",e.setVisiblePages([t]),e.updatePageInfo()}),c},e.prototype.prev=function(){var t=this.attributes.loop,e=this.pageViews.length,n=this.currPage;if(!t&&n<=0)return null;var i=t?(n-1+e)%e:(0,im.Z)(n-1,0,e);return this.goTo(i)},e.prototype.next=function(){var t=this.attributes.loop,e=this.pageViews.length,n=this.currPage;if(!t&&n>=e-1)return null;var i=t?(n+1)%e:(0,im.Z)(n+1,0,e);return this.goTo(i)},e.prototype.renderClipPath=function(t){var e=this.pageShape,n=e.pageWidth,i=e.pageHeight;if(!n||!i){this.contentGroup.style.clipPath=void 0;return}this.clipPath=t.maybeAppendByClassName(ae.clipPath,"rect").styles({width:n,height:i}),this.contentGroup.attr("clipPath",this.clipPath.node())},e.prototype.setVisiblePages=function(t){this.playWindow.children.forEach(function(e,n){t.includes(n)?rT(e):rk(e)})},e.prototype.adjustControllerLayout=function(){var t=this.prevBtnGroup,e=this.nextBtnGroup,n=this.pageInfoGroup,i=this.attributes,r=i.orientation,a=i.controllerPadding,o=n.getBBox(),s=o.width;o.height;var l=(0,rE.CR)("horizontal"===r?[-180,0]:[-90,90],2),h=l[0],c=l[1];t.setLocalEulerAngles(h),e.setLocalEulerAngles(c);var u=t.getBBox(),d=u.width,p=u.height,f=e.getBBox(),g=f.width,y=f.height,m=Math.max(d,s,g),v="horizontal"===r?{offset:[[0,0],[d/2+a,0],[d+s+2*a,0]],textAlign:"start"}:{offset:[[m/2,-p-a],[m/2,0],[m/2,y+a]],textAlign:"center"},b=(0,rE.CR)(v.offset,3),x=(0,rE.CR)(b[0],2),E=x[0],w=x[1],C=(0,rE.CR)(b[1],2),S=C[0],R=C[1],A=(0,rE.CR)(b[2],2),O=A[0],M=A[1],T=v.textAlign,k=n.querySelector("text");k&&(k.style.textAlign=T),t.setLocalPosition(E,w),n.setLocalPosition(S,R),e.setLocalPosition(O,M)},e.prototype.updatePageInfo=function(){var t,e=this.currPage,n=this.pageViews,i=this.attributes.formatter;n.length<2||(null===(t=this.pageInfoGroup.querySelector(ae.pageInfo.class))||void 0===t||t.attr("text",i(e+1,n.length)),this.adjustControllerLayout())},e.prototype.getFollowingPageDiff=function(t){var e=this.currPage;if(e===t)return[0,0];var n=this.attributes.orientation,i=this.pageShape,r=i.pageWidth,a=i.pageHeight,o=t=2,s=t.maybeAppendByClassName(ae.controller,"g");if(rP(s.node(),o),o){var l=rG(this.attributes,"button"),h=rG(this.attributes,"pageNum"),c=(0,rE.CR)(rW(l),2),u=c[0],d=c[1],p=u.size,f=(0,rE._T)(u,["size"]),g=!s.select(ae.prevBtnGroup.class).node(),y=s.maybeAppendByClassName(ae.prevBtnGroup,"g").styles(d);this.prevBtnGroup=y.node();var m=y.maybeAppendByClassName(ae.prevBtn,"path"),v=s.maybeAppendByClassName(ae.nextBtnGroup,"g").styles(d);this.nextBtnGroup=v.node(),[m,v.maybeAppendByClassName(ae.nextBtn,"path")].forEach(function(t){t.styles((0,rE.pi)((0,rE.pi)({},f),{transformOrigin:"center"})),r9(t.node(),p,!0)});var b=s.maybeAppendByClassName(ae.pageInfoGroup,"g");this.pageInfoGroup=b.node(),b.maybeAppendByClassName(ae.pageInfo,"text").styles(h),this.updatePageInfo(),s.node().setLocalPosition(r+n,a/2),g&&(this.prevBtnGroup.addEventListener("click",function(){e.prev()}),this.nextBtnGroup.addEventListener("click",function(){e.next()}))}},e.prototype.render=function(t,e){var n=t.x,i=t.y,r=void 0===i?0:i;this.attr("transform","translate(".concat(void 0===n?0:n,", ").concat(r,")"));var a=rY(e);this.renderClipPath(a),this.renderController(a),this.setVisiblePages([this.defaultPage]),this.goTo(this.defaultPage)},e.prototype.bindEvents=function(){var t=this,e=(0,ii.Z)(function(){return t.render(t.attributes,t)},50);this.playWindow.addEventListener(I.Dk.INSERTED,e),this.playWindow.addEventListener(I.Dk.REMOVED,e)},e}(rF),ai=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,rE.ZT)(e,t),e.prototype.render=function(t,n){var i,r=t.x,a=void 0===r?0:r,o=t.y,s=void 0===o?0:o,l=this.getSubShapeStyle(t),h=l.symbol,c=l.size,u=void 0===c?16:c,d=(0,rE._T)(l,["symbol","size"]),p=["base64","url","image"].includes(i=function(t){var e="default";if((0,j.Z)(t)&&t instanceof Image)e="image";else if((0,td.Z)(t))e="symbol";else if((0,t0.Z)(t)){var n=RegExp("data:(image|text)");e=t.match(n)?"base64":/^(https?:\/\/(([a-zA-Z0-9]+-?)+[a-zA-Z0-9]+\.)+[a-zA-Z]+)(:\d+)?(\/.*)?(\?.*)?(#.*)?$/.test(t)?"url":"symbol"}return e}(h))?"image":h&&"symbol"===i?"path":null;r$(!!p,rY(n),function(t){t.maybeAppendByClassName("marker",p).attr("className","marker ".concat(p,"-marker")).call(function(t){if("image"===p){var n=2*u;t.styles({img:h,width:n,height:n,x:a-u,y:s-u})}else{var n=u/2,i=(0,td.Z)(h)?h:e.getSymbol(h);t.styles((0,rE.pi)({d:null==i?void 0:i(a,s,n)},d))}})})},e.MARKER_SYMBOL_MAP=new Map,e.registerSymbol=function(t,n){e.MARKER_SYMBOL_MAP.set(t,n)},e.getSymbol=function(t){return e.MARKER_SYMBOL_MAP.get(t)},e.getSymbols=function(){return Array.from(e.MARKER_SYMBOL_MAP.keys())},e}(rF);function ar(t,e,n){return void 0===t&&(t="horizontal"),"horizontal"===t?e:n}function aa(t){var e=t.getLocalBounds(),n=e.min,i=e.max,r=(0,rE.CR)([n,i],2),a=(0,rE.CR)(r[0],2),o=a[0],s=a[1],l=(0,rE.CR)(r[1],2),h=l[0],c=l[1];return{x:o,y:s,width:h-o,height:c-s,left:o,bottom:c,top:s,right:h}}function ao(t,e){var n=(0,rE.CR)(t,2),i=n[0],r=n[1],a=(0,rE.CR)(e,2),o=a[0],s=a[1];return i!==o&&r===s}function as(t){return"function"==typeof t?t():(0,t0.Z)(t)||(0,eJ.Z)(t)?new rV({style:{text:String(t)}}):t}ai.registerSymbol("cross",function(t,e,n){return[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]]}),ai.registerSymbol("hyphen",function(t,e,n){return[["M",t-n,e],["L",t+n,e]]}),ai.registerSymbol("line",r7),ai.registerSymbol("plus",function(t,e,n){return[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]]}),ai.registerSymbol("tick",function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]}),ai.registerSymbol("circle",r5),ai.registerSymbol("point",r5),ai.registerSymbol("bowtie",function(t,e,n){var i=n-1.5;return[["M",t-n,e-i],["L",t+n,e+i],["L",t+n,e-i],["L",t-n,e+i],["Z"]]}),ai.registerSymbol("hexagon",function(t,e,n){var i=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+i,e-n/2],["L",t+i,e+n/2],["L",t,e+n],["L",t-i,e+n/2],["L",t-i,e-n/2],["Z"]]}),ai.registerSymbol("square",function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]}),ai.registerSymbol("diamond",function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]}),ai.registerSymbol("triangle",function(t,e,n){var i=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+i],["L",t,e-i],["L",t+n,e+i],["Z"]]}),ai.registerSymbol("triangle-down",function(t,e,n){var i=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-i],["L",t+n,e-i],["L",t,e+i],["Z"]]}),ai.registerSymbol("line",r7),ai.registerSymbol("dot",at),ai.registerSymbol("dash",at),ai.registerSymbol("smooth",function(t,e,n){return[["M",t-n,e],["A",n/2,n/2,0,1,1,t,e],["A",n/2,n/2,0,1,0,t+n,e]]}),ai.registerSymbol("hv",function(t,e,n){return[["M",t-n-1,e-2.5],["L",t,e-2.5],["L",t,e+2.5],["L",t+n+1,e+2.5]]}),ai.registerSymbol("vh",function(t,e,n){return[["M",t-n-1,e+2.5],["L",t,e+2.5],["L",t,e-2.5],["L",t+n+1,e-2.5]]}),ai.registerSymbol("hvh",function(t,e,n){return[["M",t-(n+1),e+2.5],["L",t-n/2,e+2.5],["L",t-n/2,e-2.5],["L",t+n/2,e-2.5],["L",t+n/2,e+2.5],["L",t+n+1,e+2.5]]}),ai.registerSymbol("vhv",function(t,e){return[["M",t-5,e+2.5],["L",t-5,e],["L",t,e],["L",t,e-3],["L",t,e+3],["L",t+6.5,e+3]]}),ai.registerSymbol("hiddenHandle",function(t,e,n){var i=1.4*n;return[["M",t-n,e-i],["L",t+n,e-i],["L",t+n,e+i],["L",t-n,e+i],["Z"]]}),ai.registerSymbol("verticalHandle",function(t,e,n){var i=1.4*n,r=n/2,a=n/6,o=t+.4*i;return[["M",t,e],["L",o,e+r],["L",t+i,e+r],["L",t+i,e-r],["L",o,e-r],["Z"],["M",o,e+a],["L",t+i-2,e+a],["M",o,e-a],["L",t+i-2,e-a]]}),ai.registerSymbol("horizontalHandle",function(t,e,n){var i=1.4*n,r=n/2,a=n/6,o=e+.4*i;return[["M",t,e],["L",t-r,o],["L",t-r,e+i],["L",t+r,e+i],["L",t+r,o],["Z"],["M",t-a,o],["L",t-a,e+i-2],["M",t+a,o],["L",t+a,e+i-2]]});var al=(0,n(92426).Z)(function(t,e){var n=e.fontSize,i=e.fontFamily,r=e.fontWeight,a=e.fontStyle,o=e.fontVariant;return D?D(t,n):(L||(L=I.GZ.offscreenCanvasCreator.getOrCreateContext(void 0)),L.font=[a,o,r,"".concat(n,"px"),i].join(" "),L.measureText(t).width)},function(t,e){return[t,Object.values(e||ah(t)).join()].join("")},4096),ah=function(t){var e=t.style.fontFamily||"sans-serif",n=t.style.fontWeight||"normal",i=t.style.fontStyle||"normal",r=t.style.fontVariant,a=t.style.fontSize;return{fontSize:a="object"==typeof a?a.value:a,fontFamily:e,fontWeight:n,fontStyle:i,fontVariant:r}};function ac(t){return"text"===t.nodeName?t:"g"===t.nodeName&&1===t.children.length&&"text"===t.children[0].nodeName?t.children[0]:null}function au(t,e){var n=ac(t);n&&n.attr(e)}function ad(t,e,n){void 0===n&&(n="..."),au(t,{wordWrap:!0,wordWrapWidth:e,maxLines:1,textOverflow:n})}var ap=rK({layout:"flex",markerGroup:"marker-group",marker:"marker",labelGroup:"label-group",label:"label",valueGroup:"value-group",value:"value",backgroundGroup:"background-group",background:"background"},"legend-category-item"),af=function(t){function e(e){return t.call(this,e,{span:[1,1],marker:function(){return new I.Cd({style:{r:6}})},markerSize:10,labelFill:"#646464",valueFill:"#646464",labelFontSize:12,valueFontSize:12,labelTextBaseline:"middle",valueTextBaseline:"middle"})||this}return(0,rE.ZT)(e,t),Object.defineProperty(e.prototype,"showValue",{get:function(){var t=this.attributes.valueText;return!!t&&("string"==typeof t||"number"==typeof t?""!==t:"function"==typeof t||""!==t.attr("text"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"actualSpace",{get:function(){var t=this.labelGroup,e=this.valueGroup,n=this.attributes.markerSize,i=t.node().getBBox(),r=i.width,a=i.height,o=e.node().getBBox();return{markerWidth:n,labelWidth:r,valueWidth:o.width,height:Math.max(n,a,o.height)}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"span",{get:function(){var t=this.attributes.span;if(!t)return[1,1];var e=(0,rE.CR)(rO(t),2),n=e[0],i=e[1],r=this.showValue?i:0,a=n+r;return[n/a,r/a]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shape",{get:function(){var t,e=this.attributes,n=e.markerSize,i=e.width,r=this.actualSpace,a=r.markerWidth,o=r.height,s=this.actualSpace,l=s.labelWidth,h=s.valueWidth,c=(0,rE.CR)(this.spacing,2),u=c[0],d=c[1];if(i){var p=i-n-u-d,f=(0,rE.CR)(this.span,2),g=f[0],y=f[1];l=(t=(0,rE.CR)([g*p,y*p],2))[0],h=t[1]}return{width:a+l+h+u+d,height:o,markerWidth:a,labelWidth:l,valueWidth:h}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"spacing",{get:function(){var t=this.attributes.spacing;if(!t)return[0,0];var e=(0,rE.CR)(rO(t),2),n=e[0],i=e[1];return this.showValue?[n,i]:[n,0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"layout",{get:function(){var t=this.shape,e=t.markerWidth,n=t.labelWidth,i=t.valueWidth,r=t.width,a=t.height,o=(0,rE.CR)(this.spacing,2),s=o[0];return{height:a,width:r,markerWidth:e,labelWidth:n,valueWidth:i,position:[e/2,e+s,e+n+s+o[1]]}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scaleSize",{get:function(){var t,e=(t=this.markerGroup.node().querySelector(ap.marker.class))?t.style:{},n=this.attributes,i=n.markerSize,r=n.markerStrokeWidth,a=void 0===r?e.strokeWidth:r,o=n.markerLineWidth,s=void 0===o?e.lineWidth:o,l=n.markerStroke,h=void 0===l?e.stroke:l,c=+(a||s||(h?1:0))*Math.sqrt(2),u=this.markerGroup.node().getBBox();return(1-c/Math.max(u.width,u.height))*i},enumerable:!1,configurable:!0}),e.prototype.renderMarker=function(t){var e=this,n=this.attributes.marker,i=rG(this.attributes,"marker");this.markerGroup=t.maybeAppendByClassName(ap.markerGroup,"g").style("zIndex",0),r$(!!n,this.markerGroup,function(){var t,r=e.markerGroup.node(),a=null===(t=r.childNodes)||void 0===t?void 0:t[0],o="string"==typeof n?new ai({style:{symbol:n},className:ap.marker.name}):n();a?o.nodeName===a.nodeName?a instanceof ai?a.update((0,rE.pi)((0,rE.pi)({},i),{symbol:n})):(function(t,e){var n,i,r=e.attributes;try{for(var a=(0,rE.XA)(Object.entries(r)),o=a.next();!o.done;o=a.next()){var s=(0,rE.CR)(o.value,2),l=s[0],h=s[1];"id"!==l&&"className"!==l&&t.attr(l,h)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}}(a,o),rY(a).styles(i)):(a.remove(),rY(o).attr("className",ap.marker.name).styles(i),r.appendChild(o)):(o instanceof ai||rY(o).attr("className",ap.marker.name).styles(i),r.appendChild(o)),e.markerGroup.node().scale(1/e.markerGroup.node().getScale()[0]);var s=r9(e.markerGroup.node(),e.scaleSize,!0);e.markerGroup.node().style._transform="scale(".concat(s,")")})},e.prototype.renderLabel=function(t){var e=rG(this.attributes,"label"),n=e.text,i=(0,rE._T)(e,["text"]);this.labelGroup=t.maybeAppendByClassName(ap.labelGroup,"g").style("zIndex",0),this.labelGroup.maybeAppendByClassName(ap.label,function(){return as(n)}).styles(i)},e.prototype.renderValue=function(t){var e=this,n=rG(this.attributes,"value"),i=n.text,r=(0,rE._T)(n,["text"]);this.valueGroup=t.maybeAppendByClassName(ap.valueGroup,"g").style("zIndex",0),r$(this.showValue,this.valueGroup,function(){e.valueGroup.maybeAppendByClassName(ap.value,function(){return as(i)}).styles(r)})},e.prototype.renderBackground=function(t){var e=this.shape,n=e.width,i=e.height,r=rG(this.attributes,"background");this.background=t.maybeAppendByClassName(ap.backgroundGroup,"g").style("zIndex",-1),this.background.maybeAppendByClassName(ap.background,"rect").styles((0,rE.pi)({width:n,height:i},r))},e.prototype.adjustLayout=function(){var t=this.layout,e=t.labelWidth,n=t.valueWidth,i=t.height,r=(0,rE.CR)(t.position,3),a=r[0],o=r[1],s=r[2],l=i/2;this.markerGroup.styles({transform:"translate(".concat(a,", ").concat(l,")").concat(this.markerGroup.node().style._transform)}),this.labelGroup.styles({transform:"translate(".concat(o,", ").concat(l,")")}),ad(this.labelGroup.select(ap.label.class).node(),Math.ceil(e)),this.showValue&&(this.valueGroup.styles({transform:"translate(".concat(s,", ").concat(l,")")}),ad(this.valueGroup.select(ap.value.class).node(),Math.ceil(n)))},e.prototype.render=function(t,e){var n=rY(e),i=t.x,r=t.y,a=void 0===r?0:r;n.styles({transform:"translate(".concat(void 0===i?0:i,", ").concat(a,")")}),this.renderMarker(n),this.renderLabel(n),this.renderValue(n),this.renderBackground(n),this.adjustLayout()},e}(rF),ag=rK({page:"item-page",navigator:"navigator",item:"item"},"items"),ay=function(t,e,n){return(void 0===n&&(n=!0),t)?e(t):n},am=function(t){function e(e){var n=t.call(this,e,{data:[],gridRow:1/0,gridCol:void 0,padding:0,width:1e3,height:100,rowPadding:0,colPadding:0,layout:"flex",orientation:"horizontal",click:r0.Z,mouseenter:r0.Z,mouseleave:r0.Z})||this;return n.navigatorShape=[0,0],n}return(0,rE.ZT)(e,t),Object.defineProperty(e.prototype,"pageViews",{get:function(){return this.navigator.getContainer()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"grid",{get:function(){var t=this.attributes,e=t.gridRow,n=t.gridCol,i=t.data;if(!e&&!n)throw Error("gridRow and gridCol can not be set null at the same time");return e&&n?[e,n]:e?[e,i.length]:[i.length,n]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"renderData",{get:function(){var t=this.attributes,e=t.data,n=t.layout,i=rG(this.attributes,"item");return e.map(function(t,r){var a=t.id,o=void 0===a?r:a,s=t.label,l=t.value;return{id:"".concat(o),index:r,style:(0,rE.pi)({layout:n,labelText:s,valueText:l},Object.fromEntries(Object.entries(i).map(function(n){var i=(0,rE.CR)(n,2);return[i[0],r1(i[1],[t,r,e])]})))}})},enumerable:!1,configurable:!0}),e.prototype.getGridLayout=function(){var t=this,e=this.attributes,n=e.orientation,i=e.width,r=e.rowPadding,a=e.colPadding,o=(0,rE.CR)(this.navigatorShape,1)[0],s=(0,rE.CR)(this.grid,2),l=s[0],h=s[1],c=h*l,u=0;return this.pageViews.children.map(function(e,s){var d,p,f=Math.floor(s/c),g=s%c,y=t.ifHorizontal(h,l),m=[Math.floor(g/y),g%y];"vertical"===n&&m.reverse();var v=(0,rE.CR)(m,2),b=v[0],x=v[1],E=(i-o-(h-1)*a)/h,w=e.getBBox().height,C=(0,rE.CR)([0,0],2),S=C[0],R=C[1];return"horizontal"===n?(S=(d=(0,rE.CR)([u,b*(w+r)],2))[0],R=d[1],u=x===h-1?0:u+E+a):(S=(p=(0,rE.CR)([x*(E+a),u],2))[0],R=p[1],u=b===l-1?0:u+w+r),{page:f,index:s,row:b,col:x,pageIndex:g,width:E,height:w,x:S,y:R}})},e.prototype.getFlexLayout=function(){var t=this.attributes,e=t.width,n=t.height,i=t.rowPadding,r=t.colPadding,a=(0,rE.CR)(this.navigatorShape,1)[0],o=(0,rE.CR)(this.grid,2),s=o[0],l=o[1],h=(0,rE.CR)([e-a,n],2),c=h[0],u=h[1],d=(0,rE.CR)([0,0,0,0,0,0,0,0],8),p=d[0],f=d[1],g=d[2],y=d[3],m=d[4],v=d[5],b=d[6],x=d[7];return this.pageViews.children.map(function(t,e){var n,a,o,h,d=t.getBBox(),E=d.width,w=d.height,C=0===b?0:r,S=b+C+E;return S<=c&&ay(m,function(t){return t0?(this.navigatorShape=[55,0],t.call(this)):e},enumerable:!1,configurable:!0}),e.prototype.ifHorizontal=function(t,e){return ar(this.attributes.orientation,t,e)},e.prototype.flattenPage=function(t){t.querySelectorAll(ag.item.class).forEach(function(e){t.appendChild(e)}),t.querySelectorAll(ag.page.class).forEach(function(e){t.removeChild(e).destroy()})},e.prototype.renderItems=function(t){var e=this.attributes,n=e.click,i=e.mouseenter,r=e.mouseleave;this.flattenPage(t);var a=this.dispatchCustomEvent.bind(this);rY(t).selectAll(ag.item.class).data(this.renderData,function(t){return t.id}).join(function(t){return t.append(function(t){var e=t.style;return new af({style:e})}).attr("className",ag.item.name).on("click",function(){null==n||n(this),a("itemClick",{item:this})}).on("pointerenter",function(){null==i||i(this),a("itemMouseenter",{item:this})}).on("pointerleave",function(){null==r||r(this),a("itemMouseleave",{item:this})})},function(t){return t.each(function(t){var e=t.style;this.update(e)})},function(t){return t.remove()})},e.prototype.relayoutNavigator=function(){var t,e=this.attributes,n=e.layout,i=e.width,r=(null===(t=this.pageViews.children[0])||void 0===t?void 0:t.getBBox().height)||0,a=(0,rE.CR)(this.navigatorShape,2),o=a[0],s=a[1];this.navigator.update("grid"===n?{pageWidth:i-o,pageHeight:r-s}:{})},e.prototype.adjustLayout=function(){var t,e,n=this,i=Object.entries((t=this.itemsLayout,e="page",t.reduce(function(t,n){return(t[n[e]]=t[n[e]]||[]).push(n),t},{}))).map(function(t){var e=(0,rE.CR)(t,2);return{page:e[0],layouts:e[1]}}),r=(0,rE.ev)([],(0,rE.CR)(this.navigator.getContainer().children),!1);i.forEach(function(t){var e=t.layouts,i=n.pageViews.appendChild(new I.ZA({className:ag.page.name}));e.forEach(function(t){var e=t.x,n=t.y,a=t.index,o=t.width,s=t.height,l=r[a];i.appendChild(l),(0,ei.Z)(l,"__layout__",t),l.update({x:e,y:n,width:o,height:s})})}),this.relayoutNavigator()},e.prototype.renderNavigator=function(t){var e=rN({orientation:this.attributes.orientation},rG(this.attributes,"nav")),n=this;return t.selectAll(ag.navigator.class).data(["nav"]).join(function(t){return t.append(function(){return new an({style:e})}).attr("className",ag.navigator.name).each(function(){n.navigator=this})},function(t){return t.each(function(){this.update(e)})},function(t){return t.remove()}),this.navigator},e.prototype.getBBox=function(){return this.navigator.getBBox()},e.prototype.render=function(t,e){var n=this.attributes.data;if(n&&0!==n.length){var i=this.renderNavigator(rY(e));this.renderItems(i.getContainer()),this.adjustLayout()}},e.prototype.dispatchCustomEvent=function(t,e){var n=new I.Aw(t,{detail:e});this.dispatchEvent(n)},e}(rF),av=rK({markerGroup:"marker-group",marker:"marker",labelGroup:"label-group",label:"label"},"handle"),ab={showLabel:!0,formatter:function(t){return t.toString()},markerSize:25,markerStroke:"#c5c5c5",markerFill:"#fff",markerLineWidth:1,labelFontSize:12,labelFill:"#c5c5c5",labelText:"",orientation:"vertical",spacing:0};!function(t){function e(e){return t.call(this,e,ab)||this}(0,rE.ZT)(e,t),e.prototype.render=function(t,e){var n=rY(e).maybeAppendByClassName(av.markerGroup,"g");this.renderMarker(n);var i=rY(e).maybeAppendByClassName(av.labelGroup,"g");this.renderLabel(i)},e.prototype.renderMarker=function(t){var e=this,n=this.attributes,i=n.orientation,r=n.markerSymbol,a=void 0===r?ar(i,"horizontalHandle","verticalHandle"):r;r$(!!a,t,function(t){var n=rG(e.attributes,"marker"),i=(0,rE.pi)({symbol:a},n);e.marker=t.maybeAppendByClassName(av.marker,function(){return new ai({style:i})}).update(i)})},e.prototype.renderLabel=function(t){var e=this,n=this.attributes,i=n.showLabel,r=n.orientation,a=n.spacing,o=void 0===a?0:a,s=n.formatter;r$(i,t,function(t){var n,i=rG(e.attributes,"label"),a=i.text,l=(0,rE._T)(i,["text"]),h=(null===(n=t.select(av.marker.class))||void 0===n?void 0:n.node().getBBox())||{},c=h.width,u=h.height,d=(0,rE.CR)(ar(r,[0,(void 0===u?0:u)+o,"center","top"],[(void 0===c?0:c)+o,0,"start","middle"]),4),p=d[0],f=d[1],g=d[2],y=d[3];t.maybeAppendByClassName(av.label,"text").styles((0,rE.pi)((0,rE.pi)({},l),{x:p,y:f,text:s(a).toString(),textAlign:g,textBaseline:y}))})}}(rF);var ax={showTitle:!0,padding:0,orientation:"horizontal",backgroundFill:"transparent",titleText:"",titleSpacing:4,titlePosition:"top-left",titleFill:"#2C3542",titleFontWeight:"bold",titleFontFamily:"sans-serif",titleFontSize:12},aE=rN({},ax,{});rN({},ax,rH(ab,"handle"),{color:["#d0e3fa","#acc7f6","#8daaf2","#6d8eea","#4d73cd","#325bb1","#5a3e75","#8c3c79","#e23455","#e7655b"],indicatorBackgroundFill:"#262626",indicatorLabelFill:"white",indicatorLabelFontSize:12,indicatorVisibility:"hidden",labelAlign:"value",labelDirection:"positive",labelSpacing:5,showHandle:!0,showIndicator:!0,showLabel:!0,slidable:!0,titleText:"",type:"continuous"});var aw=rK({title:"title",titleGroup:"title-group",items:"items",itemsGroup:"items-group",contentGroup:"content-group",ribbonGroup:"ribbon-group",ribbon:"ribbon",handlesGroup:"handles-group",handle:"handle",startHandle:"start-handle",endHandle:"end-handle",labelGroup:"label-group",label:"label",indicator:"indicator"},"legend"),aC=function(t){function e(e){return t.call(this,e,aE)||this}return(0,rE.ZT)(e,t),e.prototype.renderTitle=function(t,e,n){var i=this.attributes,r=i.showTitle,a=i.titleText,o=rG(this.attributes,"title"),s=(0,rE.CR)(rW(o),2),l=s[0],h=s[1];this.titleGroup=t.maybeAppendByClassName(aw.titleGroup,"g").styles(h);var c=(0,rE.pi)((0,rE.pi)({width:e,height:n},l),{text:r?a:""});this.title=this.titleGroup.maybeAppendByClassName(aw.title,function(){return new rJ({style:c})}).update(c)},e.prototype.renderItems=function(t,e){var n=e.x,i=e.y,r=e.width,a=e.height,o=rG(this.attributes,"title",!0),s=(0,rE.CR)(rW(o),2),l=s[0],h=s[1],c=(0,rE.pi)((0,rE.pi)({},l),{width:r,height:a,x:0,y:0});this.itemsGroup=t.maybeAppendByClassName(aw.itemsGroup,"g").styles((0,rE.pi)((0,rE.pi)({},h),{transform:"translate(".concat(n,", ").concat(i,")")}));var u=this;this.itemsGroup.selectAll(aw.items.class).data(["items"]).join(function(t){return t.append(function(){return new am({style:c})}).attr("className",aw.items.name).each(function(){u.items=rY(this)})},function(t){return t.update(c)},function(t){return t.remove()})},e.prototype.adjustLayout=function(){if(this.attributes.showTitle){var t=this.title.node().getAvailableSpace(),e=t.x,n=t.y;this.itemsGroup.node().style.transform="translate(".concat(e,", ").concat(n,")")}},Object.defineProperty(e.prototype,"availableSpace",{get:function(){var t=this.attributes,e=t.showTitle,n=t.width,i=t.height;return e?this.title.node().getAvailableSpace():new rw(0,0,n,i)},enumerable:!1,configurable:!0}),e.prototype.getBBox=function(){var e,n,i=null===(e=this.title)||void 0===e?void 0:e.node(),r=null===(n=this.items)||void 0===n?void 0:n.node();return i&&r?function(t,e){var n=t.attributes,i=n.position,r=n.spacing,a=n.inset,o=n.text,s=t.getBBox(),l=e.getBBox(),h=rq(i),c=(0,rE.CR)(rO(o?r:0),4),u=c[0],d=c[1],p=c[2],f=c[3],g=(0,rE.CR)(rO(a),4),y=g[0],m=g[1],v=g[2],b=g[3],x=(0,rE.CR)([f+d,u+p],2),E=x[0],w=x[1],C=(0,rE.CR)([b+m,y+v],2),S=C[0],R=C[1];if("l"===h[0])return new rw(s.x,s.y,l.width+s.width+E+S,Math.max(l.height+R,s.height));if("t"===h[0])return new rw(s.x,s.y,Math.max(l.width+S,s.width),l.height+s.height+w+R);var A=(0,rE.CR)([e.attributes.width||l.width,e.attributes.height||l.height],2),O=A[0],M=A[1];return new rw(l.x,l.y,O+s.width+E+S,M+s.height+w+R)}(i,r):t.prototype.getBBox.call(this)},e.prototype.render=function(t,e){var n=this.attributes,i=n.width,r=n.height,a=n.x,o=n.y,s=void 0===o?0:o,l=rY(e);e.style.transform="translate(".concat(void 0===a?0:a,", ").concat(s,")"),this.renderTitle(l,i,r),this.renderItems(l,this.availableSpace),this.adjustLayout()},e}(rF);class aS extends iF{update(t){super.update(t),this.clear(),this.createElement()}clear(){var t;null===(t=this.element)||void 0===t||t.destroy(),this.element=null,this.draw=!1}updateElement(){if(!this.element)return;let t=this.element.getChildByIndex(0);t.update({itemMarkerOpacity:t=>{let{id:e}=t;return!this.selectedItems.length||this.selectedItems.includes(e)?1:.5},itemLabelOpacity:t=>{let{id:e}=t;return!this.selectedItems.length||this.selectedItems.includes(e)?1:.5}})}destroy(){this.clear(),this.context.graph.off(R.AFTER_DRAW,this.createElement),super.destroy()}constructor(t,e){super(t,Object.assign({},aS.defaultOptions,e)),this.typePrefix="__data__",this.element=null,this.draw=!1,this.fieldMap={node:new Map,edge:new Map,combo:new Map},this.selectedItems=[],this.bindEvents=()=>{let{graph:t}=this.context;t.on(R.AFTER_DRAW,this.createElement)},this.changeState=(t,e)=>{let{graph:n}=this.context,{typePrefix:i}=this,r=(0,en.Z)(t,[i,"id"]),a=(0,en.Z)(t,[i,"style","labelText"]),[o]=r.split("__"),s=this.fieldMap[o].get(a)||[];n.setElementState(Object.fromEntries(null==s?void 0:s.map(t=>[t,e])))},this.click=t=>{if("hover"===this.options.trigger)return;let e=(0,en.Z)(t,[this.typePrefix,"id"]);this.selectedItems.includes(e)?(this.selectedItems=this.selectedItems.filter(t=>t!==e),this.changeState(t,[])):(this.selectedItems.push(e),this.changeState(t,"selected"))},this.mouseleave=t=>{"click"!==this.options.trigger&&(this.selectedItems=[],this.changeState(t,[]))},this.mouseenter=t=>{if("click"===this.options.trigger)return;let e=(0,en.Z)(t,[this.typePrefix,"id"]);this.selectedItems.includes(e)?this.selectedItems=this.selectedItems.filter(t=>t!==e):(this.selectedItems.push(e),this.changeState(t,"active"))},this.setFieldMap=(t,e,n)=>{if(!t)return;let i=this.fieldMap[n];if(i){if(i.has(t)){let n=i.get(t);n&&(n.push(e),i.set(t,n))}else i.set(t,[e])}},this.getEvents=()=>({mouseenter:this.mouseenter,mouseleave:this.mouseleave,click:this.click}),this.getMarkerData=(t,e)=>{if(!t)return[];let{model:n,element:i,graph:r}=this.context,{nodes:a,edges:o,combos:s}=n.getData(),l={},h=e=>(0,td.Z)(t)?t(e):t,c={node:"circle",edge:"line",combo:"rect"},u={circle:"circle",ellipse:"circle",image:"bowtie",rect:"square",star:"cross",triangle:"triangle",diamond:"diamond",cubic:"dot",line:"hyphen",polyline:"hyphen",quadratic:"hv","cubic-horizontal":"hyphen","cubic-vertical":"line"},d=(t,e)=>{let n=null==i?void 0:i.getElementComputedStyle(t,e);return n},p=(t,e)=>{t.forEach(t=>{let{id:n}=t,r=(0,en.Z)(t,["data",h(t)]),a=(null==i?void 0:i.getElementType(e,t))||"circle",o=d(e,t),s=("edge"===e?null==o?void 0:o.stroke:null==o?void 0:o.fill)||"#1783ff";n&&r&&r.replace(/\s+/g,"")&&(this.setFieldMap(r,n,e),l[r]||(l[r]={id:"".concat(e,"__").concat(n),label:r,marker:u[a]||c[e],elementType:e,lineWidth:1,stroke:s,fill:s}))})};switch(e){case"node":p(a,"node");break;case"edge":p(o,"edge");break;case"combo":p(s,"combo");break;default:return[]}return Object.values(l)},this.layout=t=>{let{flexDirection:e,alignItems:n,justifyContent:i}={flexDirection:"row",alignItems:"flex-end",justifyContent:"center"},r={top:["row","flex-start","center"],bottom:["row","flex-end","center"],left:["column","flex-start","center"],right:["column","flex-end","center"]};return t in r&&([e,n,i]=r[t]),{display:"flex",flexDirection:e,justifyContent:i,alignItems:n}},this.createElement=()=>{if(this.draw){this.updateElement();return}let{canvas:t}=this.context,[e,n]=t.getSize(),{width:i=e,height:r=n,nodeField:a,edgeField:o,comboField:s,trigger:l,position:h,...c}=this.options,u=this.getMarkerData(a,"node"),d=this.getMarkerData(o,"edge"),p=this.getMarkerData(s,"combo"),f=[...u,...p,...d],g=this.layout(h),y=new rM({style:{width:i,height:r,...g}}),m=Object.assign({width:i,height:r,data:f,itemMarkerLineWidth:t=>{let{lineWidth:e}=t;return e},itemMarker:t=>{let{marker:e}=t;return e},itemMarkerStroke:t=>{let{stroke:e}=t;return e},itemMarkerFill:t=>{let{fill:e}=t;return e},gridCol:u.length},c,this.getEvents()),v=new aC({className:"legend",style:m});y.appendChild(v),t.appendChild(y),this.element=y,this.draw=!0},this.bindEvents()}}aS.defaultOptions={position:"bottom",trigger:"hover",orientation:"horizontal",layout:"flex",itemSpacing:4,rowPadding:10,colPadding:10,itemMarkerSize:16,itemLabelFontSize:16};var aR=n(4559);function aA(t,e){var n=e.cx,i=void 0===n?0:n,r=e.cy,a=void 0===r?0:r,o=e.r;t.arc(i,a,o,0,2*Math.PI,!1)}function aO(t,e){var n=e.cx,i=void 0===n?0:n,r=e.cy,a=void 0===r?0:r,o=e.rx,s=e.ry;if(t.ellipse)t.ellipse(i,a,o,s,0,0,2*Math.PI,!1);else{var l=o>s?o:s,h=o>s?1:o/s,c=o>s?s/o:1;t.save(),t.scale(h,c),t.arc(i,a,l,0,2*Math.PI)}}function aM(t,e){var n,i=e.x1,r=e.y1,a=e.x2,o=e.y2,s=e.markerStart,l=e.markerEnd,h=e.markerStartOffset,c=e.markerEndOffset,u=0,d=0,p=0,f=0,g=0;s&&(0,aR.RV)(s)&&h&&(u=Math.cos(g=Math.atan2(o-r,a-i))*(h||0),d=Math.sin(g)*(h||0)),l&&(0,aR.RV)(l)&&c&&(p=Math.cos(g=Math.atan2(r-o,i-a))*(c||0),f=Math.sin(g)*(c||0)),t.moveTo(i+u,r+d),t.lineTo(a+p,o+f)}function aT(t,e){var n,i=e.markerStart,r=e.markerEnd,a=e.markerStartOffset,o=e.markerEndOffset,s=e.d,l=s.absolutePath,h=s.segments,c=0,u=0,d=0,p=0,f=0;if(i&&(0,aR.RV)(i)&&a){var g=(0,rE.CR)(i.parentNode.getStartTangent(),2),y=g[0],m=g[1];n=y[0]-m[0],c=Math.cos(f=Math.atan2(y[1]-m[1],n))*(a||0),u=Math.sin(f)*(a||0)}if(r&&(0,aR.RV)(r)&&o){var v=(0,rE.CR)(r.parentNode.getEndTangent(),2),y=v[0],m=v[1];n=y[0]-m[0],d=Math.cos(f=Math.atan2(y[1]-m[1],n))*(o||0),p=Math.sin(f)*(o||0)}for(var b=0;bT?M:T,I=M>T?1:M/T,B=M>T?T/M:1;t.translate(A,O),t.rotate(L),t.scale(I,B),t.arc(0,0,N,k,P,!!(1-D)),t.scale(1/I,1/B),t.rotate(-L),t.translate(-A,-O)}S&&t.lineTo(x[6]+d,x[7]+p);break;case"Z":t.closePath()}}}function ak(t,e){var n,i=e.markerStart,r=e.markerEnd,a=e.markerStartOffset,o=e.markerEndOffset,s=e.points.points,l=s.length,h=s[0][0],c=s[0][1],u=s[l-1][0],d=s[l-1][1],p=0,f=0,g=0,y=0,m=0;i&&(0,aR.RV)(i)&&a&&(n=s[1][0]-s[0][0],p=Math.cos(m=Math.atan2(s[1][1]-s[0][1],n))*(a||0),f=Math.sin(m)*(a||0)),r&&(0,aR.RV)(r)&&o&&(n=s[l-1][0]-s[0][0],g=Math.cos(m=Math.atan2(s[l-1][1]-s[0][1],n))*(o||0),y=Math.sin(m)*(o||0)),t.moveTo(h+(p||g),c+(f||y));for(var v=1;v0?1:-1,c=l>0?1:-1,u=h+c===0,d=(0,rE.CR)(o.map(function(t){return(0,im.Z)(t,0,Math.min(Math.abs(s)/2,Math.abs(l)/2))}),4),p=d[0],f=d[1],g=d[2],y=d[3];t.moveTo(h*p+i,a),t.lineTo(s-h*f+i,a),0!==f&&t.arc(s-h*f+i,c*f+a,f,-c*Math.PI/2,h>0?0:Math.PI,u),t.lineTo(s+i,l-c*g+a),0!==g&&t.arc(s-h*g+i,l-c*g+a,g,h>0?0:Math.PI,c>0?Math.PI/2:1.5*Math.PI,u),t.lineTo(h*y+i,l+a),0!==y&&t.arc(h*y+i,l-c*y+a,y,c>0?Math.PI/2:-Math.PI/2,h>0?Math.PI:0,u),t.lineTo(i,c*p+a),0!==p&&t.arc(h*p+i,c*p+a,p,h>0?Math.PI:0,c>0?1.5*Math.PI:Math.PI/2,u)}else t.rect(i,a,s,l)}var aD=function(t){function e(){var e=t.apply(this,(0,rE.ev)([],(0,rE.CR)(arguments),!1))||this;return e.name="canvas-path-generator",e}return(0,rE.ZT)(e,t),e.prototype.init=function(){var t,e=((t={})[aR.bn.CIRCLE]=aA,t[aR.bn.ELLIPSE]=aO,t[aR.bn.RECT]=aL,t[aR.bn.LINE]=aM,t[aR.bn.POLYLINE]=aP,t[aR.bn.POLYGON]=ak,t[aR.bn.PATH]=aT,t[aR.bn.TEXT]=void 0,t[aR.bn.GROUP]=void 0,t[aR.bn.IMAGE]=void 0,t[aR.bn.HTML]=void 0,t[aR.bn.MESH]=void 0,t);this.context.pathGeneratorFactory=e},e.prototype.destroy=function(){delete this.context.pathGeneratorFactory},e}(aR.F6),aN=n(77160),aI=n(85975),aB=n(11702),a_=n(74873),aF=aN.Ue(),aj=aN.Ue(),aZ=aN.Ue(),az=aI.create(),aG=function(){function t(){var t=this;this.isHit=function(e,n,i,r){var a=t.context.pointInPathPickerFactory[e.nodeName];if(a){var o=aI.invert(az,i),s=aN.fF(aj,aN.t8(aZ,n[0],n[1],0),o);if(a(e,new aR.E9(s[0],s[1]),r,t.isPointInPath,t.context,t.runtime))return!0}return!1},this.isPointInPath=function(e,n){var i=t.runtime.offscreenCanvasCreator.getOrCreateContext(t.context.config.offscreenCanvas),r=t.context.pathGeneratorFactory[e.nodeName];return r&&(i.beginPath(),r(i,e.parsedStyle),i.closePath()),i.isPointInPath(n.x,n.y)}}return t.prototype.apply=function(e,n){var i,r=this,a=e.renderingService,o=e.renderingContext;this.context=e,this.runtime=n;var s=null===(i=o.root)||void 0===i?void 0:i.ownerDocument;a.hooks.pick.tapPromise(t.tag,function(t){return(0,rE.mG)(r,void 0,void 0,function(){return(0,rE.Jh)(this,function(e){return[2,this.pick(s,t)]})})}),a.hooks.pickSync.tap(t.tag,function(t){return r.pick(s,t)})},t.prototype.pick=function(t,e){var n,i,r=e.topmost,a=e.position,o=a.x,s=a.y,l=aN.t8(aF,o,s,0),h=t.elementsFromBBox(l[0],l[1],l[0],l[1]),c=[];try{for(var u=(0,rE.XA)(h),d=u.next();!d.done;d=u.next()){var p=d.value,f=p.getWorldTransform();if(this.isHit(p,l,f,!1)){var g=(0,aR.Oi)(p);if(g){var y=g.parsedStyle.clipPath;if(this.isHit(y,l,y.getWorldTransform(),!0)){if(r)return e.picked=[p],e;c.push(p)}}else{if(r)return e.picked=[p],e;c.push(p)}}}}catch(t){n={error:t}}finally{try{d&&!d.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return e.picked=c,e},t.tag="CanvasPicker",t}();function aH(t,e,n){var i=t.parsedStyle,r=i.cx,a=i.cy,o=i.r,s=i.fill,l=i.stroke,h=i.lineWidth,c=i.increasedLineWidthForHitTesting,u=i.pointerEvents,d=((void 0===h?1:h)+(void 0===c?0:c))/2,p=(0,aB.TE)(void 0===r?0:r,void 0===a?0:a,e.x,e.y),f=(0,rE.CR)((0,aR.L1)(void 0===u?"auto":u,s,l),2),g=f[0],y=f[1];return g&&y||n?p<=o+d:g?p<=o:!!y&&p>=o-d&&p<=o+d}function aW(t,e,n){var i,r,a,o,s,l,h=t.parsedStyle,c=h.cx,u=void 0===c?0:c,d=h.cy,p=void 0===d?0:d,f=h.rx,g=h.ry,y=h.fill,m=h.stroke,v=h.lineWidth,b=h.increasedLineWidthForHitTesting,x=h.pointerEvents,E=e.x,w=e.y,C=(0,rE.CR)((0,aR.L1)(void 0===x?"auto":x,y,m),2),S=C[0],R=C[1],A=((void 0===v?1:v)+(void 0===b?0:b))/2,O=(E-u)*(E-u),M=(w-p)*(w-p);return S&&R||n?1>=O/((i=f+A)*i)+M/((r=g+A)*r):S?1>=O/(f*f)+M/(g*g):!!R&&O/((a=f-A)*a)+M/((o=g-A)*o)>=1&&1>=O/((s=f+A)*s)+M/((l=g+A)*l)}function aV(t,e,n,i,r,a){return r>=t&&r<=t+n&&a>=e&&a<=e+i}function aU(t,e,n,i,r,a,o,s){var l=(Math.atan2(s-e,o-t)+2*Math.PI)%(2*Math.PI),h={x:t+n*Math.cos(l),y:e+n*Math.sin(l)};return(0,aB.TE)(h.x,h.y,o,s)<=a/2}function aY(t,e,n,i,r,a,o){var s=Math.min(t,n),l=Math.max(t,n),h=Math.min(e,i),c=Math.max(e,i),u=r/2;return a>=s-u&&a<=l+u&&o>=h-u&&o<=c+u&&(0,aB._x)(t,e,n,i,a,o)<=r/2}function aK(t,e,n,i,r){var a=t.length;if(a<2)return!1;for(var o=0;oMath.abs(t)?0:t<0?-1:1}function aX(t,e,n){var i=!1,r=t.length;if(r<=2)return!1;for(var a=0;a0!=a$(l[1]-n)>0&&0>a$(e-(n-s[1])*(s[0]-l[0])/(s[1]-l[1])-s[0])&&(i=!i)}return i}function aq(t,e,n){for(var i=!1,r=0;rh&&g/f>d,e&&(e.resetTransform?e.resetTransform():e.setTransform(1,0,0,1,0,0),i.clearFullScreen&&i.clearRect(e,0,0,a*n,s*n,r.background))});var f=function(t,e){t.isVisible()&&!t.isCulled()&&i.renderDisplayObject(t,e,i.context,i.restoreStack,n),(t.sortable.sorted||t.childNodes).forEach(function(t){f(t,e)})};o.hooks.endFrame.tap(t.tag,function(){if(0===s.root.childNodes.length){i.clearFullScreenLastFrame=!0;return}i.clearFullScreenLastFrame=!1;var t=c.getContext(),e=c.getDPR();if(aI.fromScaling(i.dprMatrix,[e,e,1]),aI.multiply(i.vpMatrix,i.dprMatrix,a.getOrthoMatrix()),i.clearFullScreen)f(s.root,t);else{var o=i.safeMergeAABB.apply(i,(0,rE.ev)([i.mergeDirtyAABBs(i.renderQueue)],(0,rE.CR)(i.removedRBushNodeAABBs.map(function(t){var e=t.minX,n=t.minY,i=t.maxX,r=t.maxY,a=new aR.mN;return a.setMinMax([e,n,0],[i,r,0]),a})),!1));if(i.removedRBushNodeAABBs=[],aR.mN.isEmpty(o)){i.renderQueue=[];return}var l=i.convertAABB2Rect(o),h=l.x,d=l.y,p=l.width,g=l.height,y=aN.fF(i.vec3a,[h,d,0],i.vpMatrix),m=aN.fF(i.vec3b,[h+p,d,0],i.vpMatrix),v=aN.fF(i.vec3c,[h,d+g,0],i.vpMatrix),b=aN.fF(i.vec3d,[h+p,d+g,0],i.vpMatrix),x=Math.min(y[0],m[0],b[0],v[0]),E=Math.min(y[1],m[1],b[1],v[1]),w=Math.max(y[0],m[0],b[0],v[0]),C=Math.max(y[1],m[1],b[1],v[1]),S=Math.floor(x),R=Math.floor(E),A=Math.ceil(w-x),O=Math.ceil(C-E);t.save(),i.clearRect(t,S,R,A,O,r.background),t.beginPath(),t.rect(S,R,A,O),t.clip(),t.setTransform(i.vpMatrix[0],i.vpMatrix[1],i.vpMatrix[4],i.vpMatrix[5],i.vpMatrix[12],i.vpMatrix[13]),r.renderer.getConfig().enableDirtyRectangleRenderingDebug&&u.dispatchEvent(new aR.Aw(aR.$6.DIRTY_RECTANGLE,{dirtyRect:{x:S,y:R,width:A,height:O}})),i.searchDirtyObjects(o).sort(function(t,e){return t.sortable.renderOrder-e.sortable.renderOrder}).forEach(function(e){e&&e.isVisible()&&!e.isCulled()&&i.renderDisplayObject(e,t,i.context,i.restoreStack,n)}),t.restore(),i.renderQueue.forEach(function(t){i.saveDirtyAABB(t)}),i.renderQueue=[]}i.restoreStack.forEach(function(){t.restore()}),i.restoreStack=[]}),o.hooks.render.tap(t.tag,function(t){i.clearFullScreen||i.renderQueue.push(t)})},t.prototype.clearRect=function(t,e,n,i,r,a){t.clearRect(e,n,i,r),a&&(t.fillStyle=a,t.fillRect(e,n,i,r))},t.prototype.renderDisplayObject=function(t,e,n,i,r){var a=t.nodeName,o=i[i.length-1];o&&!(t.compareDocumentPosition(o)&aR.NB.DOCUMENT_POSITION_CONTAINS)&&(e.restore(),i.pop());var s=this.context.styleRendererFactory[a],l=this.pathGeneratorFactory[a],h=t.parsedStyle.clipPath;if(h){this.applyWorldTransform(e,h);var c=this.pathGeneratorFactory[h.nodeName];c&&(e.save(),i.push(t),e.beginPath(),c(e,h.parsedStyle),e.closePath(),e.clip())}s&&(this.applyWorldTransform(e,t),e.save(),this.applyAttributesToContext(e,t)),l&&(e.beginPath(),l(e,t.parsedStyle),t.nodeName!==aR.bn.LINE&&t.nodeName!==aR.bn.PATH&&t.nodeName!==aR.bn.POLYLINE&&e.closePath()),s&&(s.render(e,t.parsedStyle,t,n,this,r),e.restore()),t.renderable.dirty=!1},t.prototype.convertAABB2Rect=function(t){var e=t.getMin(),n=t.getMax(),i=Math.floor(e[0]),r=Math.floor(e[1]);return{x:i,y:r,width:Math.ceil(n[0])-i,height:Math.ceil(n[1])-r}},t.prototype.mergeDirtyAABBs=function(t){var e=new aR.mN;return t.forEach(function(t){var n=t.getRenderBounds();e.add(n);var i=t.renderable.dirtyRenderBounds;i&&e.add(i)}),e},t.prototype.searchDirtyObjects=function(t){var e=(0,rE.CR)(t.getMin(),2),n=e[0],i=e[1],r=(0,rE.CR)(t.getMax(),2),a=r[0],o=r[1];return this.rBush.search({minX:n,minY:i,maxX:a,maxY:o}).map(function(t){return t.displayObject})},t.prototype.saveDirtyAABB=function(t){var e=t.renderable;e.dirtyRenderBounds||(e.dirtyRenderBounds=new aR.mN);var n=t.getRenderBounds();n&&e.dirtyRenderBounds.update(n.center,n.halfExtents)},t.prototype.applyAttributesToContext=function(t,e){var n=e.parsedStyle,i=n.stroke,r=n.fill,a=n.opacity,o=n.lineDash,s=n.lineDashOffset;o&&t.setLineDash(o),(0,_.Z)(s)||(t.lineDashOffset=s),(0,_.Z)(a)||(t.globalAlpha*=a),(0,_.Z)(i)||Array.isArray(i)||i.isNone||(t.strokeStyle=e.attributes.stroke),(0,_.Z)(r)||Array.isArray(r)||r.isNone||(t.fillStyle=e.attributes.fill)},t.prototype.applyWorldTransform=function(t,e,n){n?(aI.copy(this.tmpMat4,e.getLocalTransform()),aI.multiply(this.tmpMat4,n,this.tmpMat4),aI.multiply(this.tmpMat4,this.vpMatrix,this.tmpMat4)):(aI.copy(this.tmpMat4,e.getWorldTransform()),aI.multiply(this.tmpMat4,this.vpMatrix,this.tmpMat4)),t.setTransform(this.tmpMat4[0],this.tmpMat4[1],this.tmpMat4[4],this.tmpMat4[5],this.tmpMat4[12],this.tmpMat4[13])},t.prototype.safeMergeAABB=function(){for(var t=[],e=0;e0,S=(null==o?void 0:o.alpha)===0,R=!!(x&&x.length),A=!(0,_.Z)(v)&&b>0,O=n.nodeName,M="inner"===m,T=C&&A&&(O===aR.bn.PATH||O===aR.bn.LINE||O===aR.bn.POLYLINE||S||M);w&&(t.globalAlpha=h*(void 0===c?1:c),T||a9(n,t,A),ot(t,n,o,s,i,r,a,this.imagePool),T||this.clearShadowAndFilter(t,R,A)),C&&(t.globalAlpha=h*(void 0===d?1:d),t.lineWidth=f,(0,_.Z)(E)||(t.miterLimit=E),(0,_.Z)(g)||(t.lineCap=g),(0,_.Z)(y)||(t.lineJoin=y),T&&(M&&(t.globalCompositeOperation="source-atop"),a9(n,t,!0),M&&(oe(t,n,u,i,r,a,this.imagePool),t.globalCompositeOperation="source-over",this.clearShadowAndFilter(t,R,!0))),oe(t,n,u,i,r,a,this.imagePool))},t.prototype.clearShadowAndFilter=function(t,e,n){if(n&&(t.shadowColor="transparent",t.shadowBlur=0),e){var i=t.filter;!(0,_.Z)(i)&&i.indexOf("drop-shadow")>-1&&(t.filter=i.replace(/drop-shadow\([^)]*\)/,"").trim()||"none")}},t}();function a9(t,e,n){var i=t.parsedStyle,r=i.filter,a=i.shadowColor,o=i.shadowBlur,s=i.shadowOffsetX,l=i.shadowOffsetY;r&&r.length&&(e.filter=t.style.filter),n&&(e.shadowColor=a.toString(),e.shadowBlur=o||0,e.shadowOffsetX=s||0,e.shadowOffsetY=l||0)}function a5(t,e,n,i,r,a,o){if("rect"===t.image.nodeName){var s,l,h=t.image.parsedStyle,c=h.width,u=h.height;l=i.contextService.getDPR();var d=i.config.offscreenCanvas;(s=a.offscreenCanvasCreator.getOrCreateCanvas(d)).width=c*l,s.height=u*l;var p=a.offscreenCanvasCreator.getOrCreateContext(d),f=[];t.image.forEach(function(t){r.renderDisplayObject(t,p,i,f,a)}),f.forEach(function(){p.restore()})}return o.getOrCreatePatternSync(t,n,s,l,e.getGeometryBounds().min,function(){e.renderable.dirty=!0,i.renderingService.dirtify()})}function a7(t,e,n,i){var r;if(t.type===aR.GL.LinearGradient||t.type===aR.GL.RadialGradient){var a=e.getGeometryBounds(),o=a&&2*a.halfExtents[0]||1,s=a&&2*a.halfExtents[1]||1,l=a&&a.min||[0,0];r=i.getOrCreateGradient((0,rE.pi)((0,rE.pi)({type:t.type},t.value),{min:l,width:o,height:s}),n)}return r}function ot(t,e,n,i,r,a,o,s,l){void 0===l&&(l=!1),Array.isArray(n)?n.forEach(function(n){t.fillStyle=a7(n,e,t,s),l||(i?t.fill(i):t.fill())}):((0,aR.R)(n)&&(t.fillStyle=a5(n,e,t,r,a,o,s)),l||(i?t.fill(i):t.fill()))}function oe(t,e,n,i,r,a,o,s){void 0===s&&(s=!1),Array.isArray(n)?n.forEach(function(n){t.strokeStyle=a7(n,e,t,o),s||t.stroke()}):((0,aR.R)(n)&&(t.strokeStyle=a5(n,e,t,i,r,a,o)),s||t.stroke())}var on=function(){function t(t){this.imagePool=t}return t.prototype.render=function(t,e,n){var i,r=e.x,a=e.y,o=e.width,s=e.height,l=e.src,h=e.shadowColor,c=e.shadowBlur,u=o,d=s;if((0,t0.Z)(l)?i=this.imagePool.getImageSync(l):(u||(u=l.width),d||(d=l.height),i=l),i){a9(n,t,!(0,_.Z)(h)&&c>0);try{t.drawImage(i,void 0===r?0:r,void 0===a?0:a,u,d)}catch(t){}}},t}(),oi=function(){function t(t){this.imagePool=t}return t.prototype.render=function(t,e,n,i,r,a){n.getBounds();var o=e.lineWidth,s=void 0===o?1:o,l=e.textAlign,h=void 0===l?"start":l,c=e.textBaseline,u=void 0===c?"alphabetic":c,d=e.lineJoin,p=e.miterLimit,f=void 0===p?10:p,g=e.letterSpacing,y=void 0===g?0:g,m=e.stroke,v=e.fill,b=e.fillRule,x=e.fillOpacity,E=void 0===x?1:x,w=e.strokeOpacity,C=void 0===w?1:w,S=e.opacity,R=void 0===S?1:S,A=e.metrics,O=e.x,M=e.y,T=e.dx,k=e.dy,P=e.shadowColor,L=e.shadowBlur,D=A.font,N=A.lines,I=A.height,B=A.lineHeight,F=A.lineMetrics;t.font=D,t.lineWidth=s,t.textAlign="middle"===h?"center":h;var j=u;a.enableCSSParsing||"alphabetic"!==j||(j="bottom"),t.lineJoin=void 0===d?"miter":d,(0,_.Z)(f)||(t.miterLimit=f);var Z=void 0===M?0:M;"middle"===u?Z+=-I/2-B/2:"bottom"===u||"alphabetic"===u||"ideographic"===u?Z+=-I:("top"===u||"hanging"===u)&&(Z+=-B);var z=(void 0===O?0:O)+(T||0);Z+=k||0,1===N.length&&("bottom"===j?(j="middle",Z-=.5*I):"top"===j&&(j="middle",Z+=.5*I)),t.textBaseline=j,a9(n,t,!(0,_.Z)(P)&&L>0);for(var G=0;G=1?Math.ceil(n):1,this.dpr=n,this.$canvas&&(this.$canvas.width=this.dpr*t,this.$canvas.height=this.dpr*e,(0,aR.$p)(this.$canvas,t,e)),this.renderingContext.renderReasons.add(aR.Rr.CAMERA_CHANGED)},t.prototype.applyCursorStyle=function(t){this.$container&&this.$container.style&&(this.$container.style.cursor=t)},t.prototype.toDataURL=function(t){return void 0===t&&(t={}),(0,rE.mG)(this,void 0,void 0,function(){var e,n;return(0,rE.Jh)(this,function(i){return e=t.type,n=t.encoderOptions,[2,this.context.canvas.toDataURL(e,n)]})})},t}(),op=function(t){function e(){var e=t.apply(this,(0,rE.ev)([],(0,rE.CR)(arguments),!1))||this;return e.name="canvas-context-register",e}return(0,rE.ZT)(e,t),e.prototype.init=function(){this.context.ContextService=od},e.prototype.destroy=function(){delete this.context.ContextService},e}(aR.F6),of=function(t){function e(e){var n=t.call(this,e)||this;return n.registerPlugin(new op),n.registerPlugin(new ou),n.registerPlugin(new aD),n.registerPlugin(new or),n.registerPlugin(new oo),n.registerPlugin(new a6),n.registerPlugin(new ol),n}return(0,rE.ZT)(e,t),e}(aR.I8),og=n(99711);class oy extends iF{bindEvents(){let{graph:t}=this.context;t.on(R.AFTER_DRAW,this.onDraw),t.on(R.AFTER_RENDER,this.onRender),t.on(R.AFTER_TRANSFORM,this.onTransform)}unbindEvents(){let{graph:t}=this.context;t.off(R.AFTER_DRAW,this.onDraw),t.off(R.AFTER_RENDER,this.onRender),t.off(R.AFTER_TRANSFORM,this.onTransform)}renderMinimap(){let t=this.getElements(),e=this.initCanvas();this.setShapes(e,t)}getElements(){let{filter:t}=this.options,{model:e}=this.context,n=e.getData();if(!t)return n;let{nodes:i,edges:r,combos:a}=n;return{nodes:i.filter(e=>t(tt(e),"node")),edges:r.filter(e=>t(tt(e),"edge")),combos:a.filter(e=>t(tt(e),"combo"))}}setShapes(t,e){let{nodes:n,edges:i,combos:r}=e,{shape:a}=this.options,{element:o}=this.context;if("key"===a){let e=new Set,a=n=>{let i=tt(n);e.add(i);let r=o.getElement(i);if(!r)return;let a=r.getShape("key"),s=this.shapes.get(i)||a.cloneNode();s.setPosition(a.getPosition()),r.style.zIndex&&(s.style.zIndex=r.style.zIndex),s.id=r.id,this.shapes.has(i)?Object.entries(a.attributes).forEach(t=>{let[e,n]=t;s.style[e]!==n&&(s.style[e]=n)}):(t.appendChild(s),this.shapes.set(i,s))};i.forEach(a),r.forEach(a),n.forEach(a),this.shapes.forEach((n,i)=>{e.has(i)||(t.removeChild(n),this.shapes.delete(i))});return}let s=(t,e)=>{let n=o.getElement(t),i=n.getPosition();return e.setPosition(i),e};t.removeChildren(),i.forEach(e=>t.appendChild(a(tt(e),"edge"))),r.forEach(e=>{t.appendChild(s(tt(e),a(tt(e),"combo")))}),n.forEach(e=>{t.appendChild(s(tt(e),a(tt(e),"node")))})}calculatePosition(){let{position:t,size:[e,n]}=this.options,{canvas:i}=this.context,[r,a]=i.getSize(),[o,s]=tG(t);return[o*(r-e),s*(a-n)]}createContainer(){let{container:t,className:e,size:[n,i],containerStyle:r}=this.options;if(t)return"string"==typeof t?document.querySelector(t):t;let a=document.createElement("div");a.classList.add("g6-minimap"),e&&a.classList.add(e);let[o,s]=this.calculatePosition();return Object.assign(a.style,{position:"absolute",left:o+"px",top:s+"px",width:n+"px",height:i+"px",...r}),this.context.canvas.getContainer().appendChild(a)}initCanvas(){let{renderer:t,size:[e,n]}=this.options;if(this.canvas)this.canvas.resize(e,n),t&&this.canvas.setRenderer(t);else{let i=document.createElement("div"),r=this.createContainer();this.container=r,r.appendChild(i),this.canvas=new I.Xz({width:e,height:n,container:i,renderer:t||new of})}return this.setCamera(),this.canvas}createLandmark(t,e,n){let i="".concat(t.join(","),"-").concat(e.join(","),"-").concat(n);if(this.landmarkMap.has(i))return this.landmarkMap.get(i);let r=this.canvas.getCamera(),a=r.createLandmark(i,{position:t,focalPoint:e,zoom:n});return this.landmarkMap.set(i,a),a}setCamera(){var t;let{canvas:e}=this.context,n=null===(t=this.canvas)||void 0===t?void 0:t.getCamera();if(!n)return;let{size:[i,r],padding:a}=this.options,[o,s,l,h]=ty(a),{min:c,max:u,center:d}=e.getBounds("elements"),p=u[0]-c[0],f=u[1]-c[1],g=Math.min((i-h-s)/p,(r-o-l)/f),y=this.createLandmark(d,d,g);n.gotoLandmark(y,0)}get maskBBox(){let{canvas:t}=this.context,e=t.getSize(),n=t.getCanvasByViewport([0,0]),i=t.getCanvasByViewport(e),r=this.canvas.canvas2Viewport(tU(n)),a=this.canvas.canvas2Viewport(tU(i)),o=a.x-r.x,s=a.y-r.y;return[r.x,r.y,o,s]}calculateMaskBBox(){let{size:[t,e]}=this.options,[n,i,r,a]=this.maskBBox;return n<0&&(r=om(r+n,t),n=0),i<0&&(a=om(a+i,e),i=0),n+r>t&&(r=ov(t-n,0)),i+a>e&&(a=ov(e-i,0)),[om(n,t),om(i,e),ov(r,0),ov(a,0)]}renderMask(){let{maskStyle:t}=this.options;this.mask||(this.mask=document.createElement("div"),this.mask.addEventListener("pointerdown",this.onMaskDragStart)),this.container.appendChild(this.mask),Object.assign(this.mask.style,{...t,cursor:"move",position:"absolute",pointerEvents:"auto"}),this.updateMask()}updateMask(){if(!this.mask)return;let[t,e,n,i]=this.calculateMaskBBox();Object.assign(this.mask.style,{top:e+"px",left:t+"px",width:n+"px",height:i+"px"})}destroy(){var t;this.unbindEvents(),this.canvas.destroy(),null===(t=this.mask)||void 0===t||t.remove(),super.destroy()}constructor(t,e){super(t,Object.assign({},oy.defaultOptions,e)),this.onDraw=t=>{var e;null!=t&&null!==(e=t.data)&&void 0!==e&&e.render||this.onRender()},this.onRender=(0,og.Z)(()=>{this.renderMinimap(),this.renderMask()},32,{leading:!0}),this.shapes=new Map,this.landmarkMap=new Map,this.mask=null,this.isMaskDragging=!1,this.onMaskDragStart=t=>{this.mask&&(this.isMaskDragging=!0,this.mask.setPointerCapture(t.pointerId),this.mask.addEventListener("pointermove",this.onMaskDrag),this.mask.addEventListener("pointerup",this.onMaskDragEnd),this.mask.addEventListener("pointercancel",this.onMaskDragEnd))},this.onMaskDrag=t=>{if(!this.mask||!this.isMaskDragging)return;let{size:[e,n]}=this.options,{movementX:i,movementY:r}=t,{left:a,top:o,width:s,height:l}=this.mask.style,[,,h,c]=this.maskBBox,u=parseInt(a)+i,d=parseInt(o)+r,p=parseInt(s),f=parseInt(l);u<0&&(u=0),d<0&&(d=0),u+p>e&&(u=ov(e-p,0)),d+f>n&&(d=ov(n-f,0)),p0?(u=ov(u-i,0),p=om(p+i,e)):i<0&&(p=om(p-i,e))),f0?(d=ov(d-r,0),f=om(f+r,n)):r<0&&(f=om(f-r,n))),Object.assign(this.mask.style,{left:u+"px",top:d+"px",width:p+"px",height:f+"px"});let g=parseInt(a)-u,y=parseInt(o)-d;if(0===g&&0===y)return;let m=this.context.canvas.getCamera().getZoom(),v=this.canvas.getCamera().getZoom(),b=m/v;this.context.graph.translateBy([g*b,y*b],!1)},this.onMaskDragEnd=t=>{this.mask&&(this.isMaskDragging=!1,this.mask.releasePointerCapture(t.pointerId),this.mask.removeEventListener("pointermove",this.onMaskDrag),this.mask.removeEventListener("pointerup",this.onMaskDragEnd),this.mask.removeEventListener("pointercancel",this.onMaskDragEnd))},this.onTransform=(0,og.Z)(()=>{this.isMaskDragging||(this.updateMask(),this.setCamera())},32,{leading:!0}),this.bindEvents()}}oy.defaultOptions={size:[240,160],shape:"key",padding:10,position:"right-bottom",maskStyle:{border:"1px solid #ddd",background:"rgba(0, 0, 0, 0.1)"},containerStyle:{border:"1px solid #ddd",background:"#fff"}};let om=(t,e)=>Math.min(t,e),ov=(t,e)=>Math.max(t,e),ob={x1:0,y1:0,x2:0,y2:0,visibility:"hidden"};class ox extends iF{getNodes(){var t;let{filter:e}=this.options,n=(null===(t=this.context.element)||void 0===t?void 0:t.getNodes())||[],i=n.filter(t=>{var e;return"hidden"!==(0,en.Z)(t,["style","visibility"])&&(null===(e=this.context.viewport)||void 0===e?void 0:e.isInViewport(t.getRenderBounds()))});return e?i.filter(t=>e(t)):i}hideSnapline(){this.horizontalLine.style.visibility="hidden",this.verticalLine.style.visibility="hidden"}getLineWidth(t){let{lineWidth:e}=this.options["".concat(t,"LineStyle")];return+(e||ob.lineWidth||1)/this.context.graph.getZoom()}updateSnapline(t){let{verticalX:e,verticalMinY:n,verticalMaxY:i,horizontalY:r,horizontalMinX:a,horizontalMaxX:o}=t,[s,l]=this.context.canvas.getSize(),{offset:h}=this.options;null!==r?Object.assign(this.horizontalLine.style,{x1:h===1/0?0:a-h,y1:r,x2:h===1/0?s:o+h,y2:r,visibility:"visible",lineWidth:this.getLineWidth("horizontal")}):this.horizontalLine.style.visibility="hidden",null!==e?Object.assign(this.verticalLine.style,{x1:e,y1:h===1/0?0:n-h,x2:e,y2:h===1/0?l:i+h,visibility:"visible",lineWidth:this.getLineWidth("vertical")}):this.verticalLine.style.visibility="hidden"}getDelta(t){let e=this.context.graph.getZoom();return tP([t.dx,t.dy],e)}async bindEvents(){let{graph:t}=this.context;t.on(O.DRAG_START,this.onDragStart),t.on(O.DRAG,this.onDrag),t.on(O.DRAG_END,this.onDragEnd)}unbindEvents(){let{graph:t}=this.context;t.off(O.DRAG_START,this.onDragStart),t.off(O.DRAG,this.onDrag),t.off(O.DRAG_END,this.onDragEnd)}destroyElements(){var t,e;null===(t=this.horizontalLine)||void 0===t||t.destroy(),null===(e=this.verticalLine)||void 0===e||e.destroy()}destroy(){this.destroyElements(),this.unbindEvents(),super.destroy()}constructor(t,e){super(t,Object.assign({},ox.defaultOptions,e)),this.initSnapline=()=>{let t=this.context.canvas.getLayer("transient");this.horizontalLine||(this.horizontalLine=t.appendChild(new I.x1({style:{...ob,...this.options.horizontalLineStyle}}))),this.verticalLine||(this.verticalLine=t.appendChild(new I.x1({style:{...ob,...this.options.verticalLineStyle}})))},this.isHorizontalSticking=!1,this.isVerticalSticking=!1,this.enableStick=!0,this.autoSnapToLine=async(t,e,n)=>{let{verticalX:i,horizontalY:r}=n,{tolerance:a}=this.options,{min:[o,s],max:[l,h],center:[c,u]}=e,d=0,p=0;null!==i&&(oE(l,i){let{target:e}=t;if(this.isHorizontalSticking||this.isVerticalSticking){let[n,i]=this.getDelta(t);if(this.isHorizontalSticking&&this.isVerticalSticking&&.5>=Math.abs(n)&&.5>=Math.abs(i))return this.context.graph.translateElementBy({[e.id]:[-n,-i]},!1),!1;if(this.isHorizontalSticking&&.5>=Math.abs(i))return this.context.graph.translateElementBy({[e.id]:[0,-i]},!1),!1;if(this.isVerticalSticking&&.5>=Math.abs(n))return this.context.graph.translateElementBy({[e.id]:[-n,0]},!1),!1;this.isHorizontalSticking=!1,this.isVerticalSticking=!1,this.enableStick=!1,setTimeout(()=>{this.enableStick=!0},200)}return this.enableStick},this.calcSnaplineMetadata=(t,e)=>{let{tolerance:n,shape:i}=this.options,{min:[r,a],max:[o,s],center:[l,h]}=e,c=null,u=null,d=null,p=null,f=null,g=null;return this.getNodes().some(e=>{if((0,F.Z)(t.id,e.id))return!1;let y=ow(e,i).getRenderBounds(),{min:[m,v],max:[b,x],center:[E,w]}=y;return null===c&&(oE(E,l){this.initSnapline()},this.onDrag=async t=>{let{target:e}=t;if(this.options.autoSnap){let e=this.enableSnap(t);if(!e)return}let n=ow(e,this.options.shape).getRenderBounds(),i=this.calcSnaplineMetadata(e,n);this.hideSnapline(),(null!==i.verticalX||null!==i.horizontalY)&&this.updateSnapline(i),this.options.autoSnap&&await this.autoSnapToLine(e.id,n,i)},this.onDragEnd=()=>{this.hideSnapline()},this.bindEvents()}}ox.defaultOptions={tolerance:5,offset:20,autoSnap:!0,shape:"key",verticalLineStyle:{stroke:"#1783FF"},horizontalLineStyle:{stroke:"#1783FF"},filter:()=>!0};let oE=(t,e)=>Math.abs(t-e),ow=(t,e)=>"function"==typeof e?e(t):t.getShape(e);function oC(t,e){var n={YYYY:t.getFullYear(),MM:t.getMonth()+1,DD:t.getDate(),HH:t.getHours(),mm:t.getMinutes(),ss:t.getSeconds()},i=e;return Object.keys(n).forEach(function(t){var e=n[t];i=i.replace(t,"YYYY"===t?"".concat(e):"".concat(e).padStart(2,"0"))}),i}var oS={data:[],animate:{enter:!1,update:{duration:100,easing:"ease-in-out-sine",fill:"both"},exit:{duration:100,fill:"both"}},showArrow:!0,showGrid:!0,showLabel:!0,showLine:!0,showTick:!0,showTitle:!0,showTrunc:!1,dataThreshold:100,lineLineWidth:1,lineStroke:"black",crossPadding:10,titleFill:"black",titleFontSize:12,titlePosition:"lb",titleSpacing:0,titleTextAlign:"center",titleTextBaseline:"middle",lineArrow:function(){return new I.y$({style:{d:[["M",10,10],["L",-10,0],["L",10,-10],["L",0,0],["L",10,10],["Z"]],fill:"black",transformOrigin:"center"}})},labelAlign:"parallel",labelDirection:"positive",labelFontSize:12,labelSpacing:0,gridConnect:"line",gridControlAngles:[],gridDirection:"positive",gridLength:0,gridType:"segment",lineArrowOffset:15,lineArrowSize:10,tickDirection:"positive",tickLength:5,tickLineWidth:1,tickStroke:"black",labelOverlap:[]};(0,J.Z)({},oS,{style:{type:"arc"}}),(0,J.Z)({},oS,{style:{}});var oR=rK({mainGroup:"main-group",gridGroup:"grid-group",grid:"grid",lineGroup:"line-group",line:"line",tickGroup:"tick-group",tick:"tick",tickItem:"tick-item",labelGroup:"label-group",label:"label",labelItem:"label-item",titleGroup:"title-group",title:"title",lineFirst:"line-first",lineSecond:"line-second"},"axis");function oA(t,e){return[t[0]*e,t[1]*e]}function oO(t,e){return[t[0]+e[0],t[1]+e[1]]}function oM(t,e){return[t[0]-e[0],t[1]-e[1]]}function oT(t,e){return[Math.min(t[0],e[0]),Math.min(t[1],e[1])]}function ok(t,e){return[Math.max(t[0],e[0]),Math.max(t[1],e[1])]}function oP(t,e){return Math.sqrt(Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2))}function oL(t){if(0===t[0]&&0===t[1])return[0,0];var e=Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2));return[t[0]/e,t[1]/e]}function oD(t){return t*Math.PI/180}function oN(t){return Number((180*t/Math.PI).toPrecision(5))}function oI(t,e){return t.style.opacity||(t.style.opacity=1),r8(t,{opacity:0},e)}var oB=["$el","cx","cy","d","dx","dy","fill","fillOpacity","filter","fontFamily","fontSize","fontStyle","fontVariant","fontWeight","height","img","increasedLineWidthForHitTesting","innerHTML","isBillboard","billboardRotation","isSizeAttenuation","isClosed","isOverflowing","leading","letterSpacing","lineDash","lineHeight","lineWidth","markerEnd","markerEndOffset","markerMid","markerStart","markerStartOffset","maxLines","metrics","miterLimit","offsetX","offsetY","opacity","path","points","r","radius","rx","ry","shadowColor","src","stroke","strokeOpacity","text","textAlign","textBaseline","textDecorationColor","textDecorationLine","textDecorationStyle","textOverflow","textPath","textPathSide","textPathStartOffset","transform","transformOrigin","visibility","width","wordWrap","wordWrapWidth","x","x1","x2","y","y1","y2","z1","z2","zIndex"];function o_(t){var e={};for(var n in t)oB.includes(n)&&(e[n]=t[n]);return e}var oF=rK({lineGroup:"line-group",line:"line",regionGroup:"region-group",region:"region"},"grid");function oj(t){return t.reduce(function(t,e,n){return t.push((0,rE.ev)([0===n?"M":"L"],(0,rE.CR)(e),!1)),t},[])}function oZ(t,e,n){return"surround"===e.type?function(t,e,n){var i=e.connect,r=e.center;if("line"===(void 0===i?"line":i))return oj(t);if(!r)return[];var a=oP(t[0],r),o=n?0:1;return t.reduce(function(t,e,n){return 0===n?t.push((0,rE.ev)(["M"],(0,rE.CR)(e),!1)):t.push((0,rE.ev)(["A",a,a,0,0,o],(0,rE.CR)(e),!1)),t},[])}(t,e,n):oj(t)}var oz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,rE.ZT)(e,t),e.prototype.render=function(t,e){t.type,t.center,t.areaFill,t.closed;var n,i,r,a,o,s=(0,rE._T)(t,["type","center","areaFill","closed"]),l=(i=void 0===(n=t.data)?[]:n,t.closed?i.map(function(t){var e=t.points,n=(0,rE.CR)(e,1)[0];return(0,rE.pi)((0,rE.pi)({},t),{points:(0,rE.ev)((0,rE.ev)([],(0,rE.CR)(e),!1),[n],!1)})}):i),h=rY(e).maybeAppendByClassName(oF.lineGroup,"g"),c=rY(e).maybeAppendByClassName(oF.regionGroup,"g"),u=(r=t.animate,a=t.isBillboard,o=l.map(function(e,n){return{id:e.id||"grid-line-".concat(n),d:oZ(e.points,t)}}),h.selectAll(oF.line.class).data(o,function(t){return t.id}).join(function(t){return t.append("path").each(function(t,e){var n=r1(o_((0,rE.pi)({d:t.d},s)),[t,e,o]);this.attr((0,rE.pi)({class:oF.line.name,stroke:"#D9D9D9",lineWidth:1,lineDash:[4,4],isBillboard:a},n))})},function(t){return t.transition(function(t,e){return r8(this,r1(o_((0,rE.pi)({d:t.d},s)),[t,e,o]),r.update)})},function(t){return t.transition(function(){var t=this,e=oI(this,r.exit);return r3(e,function(){return t.remove()}),e})}).transitions()),d=function(t,e,n){var i=n.animate,r=n.connect,a=n.areaFill;if(e.length<2||!a||!r)return[];for(var o=Array.isArray(a)?a:[a,"transparent"],s=[],l=0;le?0:1;return"M".concat(f,",").concat(g,",A").concat(s,",").concat(l,",0,").concat(a>180?1:0,",").concat(E,",").concat(m,",").concat(v)}function oJ(t){var e=(0,rE.CR)(t,2),n=(0,rE.CR)(e[0],2),i=n[0],r=n[1],a=(0,rE.CR)(e[1],2);return{x1:i,y1:r,x2:a[0],y2:a[1]}}function o0(t){var e=t.type,n=t.gridCenter;return"linear"===e?n:n||t.center}function o1(t,e,n,i,r){return void 0===i&&(i=!0),void 0===r&&(r=!1),!!i&&t===e||!!r&&t===n||t>e&&t0,v=i-l,b=r-h,x=d*b-p*v;if(x<0===m)return!1;var E=f*b-g*v;return E<0!==m&&x>y!==m&&E>y!==m}(e,t)})}(o,c))return!0}}catch(t){i={error:t}}finally{try{h&&!h.done&&(r=l.return)&&r.call(l)}finally{if(i)throw i.error}}return!1}(u.firstChild,d.firstChild,rO(n)):0)?(o.add(s),o.add(d)):s=d}}catch(t){i={error:t}}finally{try{c&&!c.done&&(r=h.return)&&r.call(h)}finally{if(i)throw i.error}}return Array.from(o)}function o7(t,e){return(void 0===e&&(e={}),(0,_.Z)(t))?0:"number"==typeof t?t:Math.floor(al(t,e))}var st={parity:function(t,e){var n=e.seq,i=void 0===n?2:n;return t.filter(function(t,e){return!(e%i)||(rk(t),!1)})}},se=new Map([["hide",function(t,e,n,i){var r,a,o=t.length,s=e.keepHeader,l=e.keepTail;if(!(o<=1)&&(2!==o||!s||!l)){var h=st.parity,c=function(t){return t.forEach(i.show),t},u=2,d=t.slice(),p=t.slice(),f=Math.min.apply(Math,(0,rE.ev)([1],(0,rE.CR)(t.map(function(t){return t.getBBox().width})),!1));if("linear"===n.type&&(oX(n)||oq(n))){var g=aa(t[0]).left,y=Math.abs(aa(t[o-1]).right-g)||1;u=Math.max(Math.floor(o*f/y),u)}for(s&&(r=d.splice(0,1)[0]),l&&(a=d.splice(-1,1)[0],d.reverse()),c(d);uf+p;b-=p){var x=v(b);if("object"==typeof x)return x.value}}}],["wrap",function(t,e,n,i){var r,a,o=e.wordWrapWidth,s=void 0===o?50:o,l=e.maxLines,h=void 0===l?3:l,c=e.recoverWhenFailed,u=e.margin,d=void 0===u?[0,0,0,0]:u,p=t.map(function(t){return t.attr("maxLines")||1}),f=Math.min.apply(Math,(0,rE.ev)([],(0,rE.CR)(p),!1)),g=(r=n.type,a=n.labelDirection,"linear"===r&&oX(n)?"negative"===a?"bottom":"top":"middle"),y=function(e){return t.forEach(function(t,n){var r=Array.isArray(e)?e[n]:e;i.wrap(t,s,r,g)})};if(!(f>h)){for(var m=f;m<=h;m++)if(y(m),o5(t,n,d).length<1)return;(void 0===c||c)&&y(p)}}]]);function sn(t){for(var e=t;e<0;)e+=360;return Math.round(e%360)}function si(t,e){var n=(0,rE.CR)(t,2),i=n[0],r=n[1],a=(0,rE.CR)(e,2),o=a[0],s=a[1],l=(0,rE.CR)([i*o+r*s,i*s-r*o],2),h=l[0];return Math.atan2(l[1],h)}function sr(t,e,n){var i=n.type,r=n.labelAlign,a=oK(t,n),o=sn(e),s=sn(oN(si([1,0],a))),l="center",h="middle";return"linear"===i?[90,270].includes(s)&&0===o?(l="center",h=1===a[1]?"top":"bottom"):!(s%180)&&[90,270].includes(o)?l="center":0===s?o1(o,0,90,!1,!0)?l="start":(o1(o,0,90)||o1(o,270,360))&&(l="start"):90===s?o1(o,0,90,!1,!0)?l="start":(o1(o,90,180)||o1(o,270,360))&&(l="end"):270===s?o1(o,0,90,!1,!0)?l="end":(o1(o,90,180)||o1(o,270,360))&&(l="start"):180===s&&(90===o?l="start":(o1(o,0,90)||o1(o,270,360))&&(l="end")):"parallel"===r?h=o1(s,0,180,!0)?"top":"bottom":"horizontal"===r?o1(s,90,270,!1)?l="end":(o1(s,270,360,!1)||o1(s,0,90))&&(l="start"):"perpendicular"===r&&(l=o1(s,90,270)?"end":"start"),{textAlign:l,textBaseline:h}}function sa(t,e,n){var i=n.showTick,r=n.tickLength,a=n.tickDirection,o=n.labelDirection,s=n.labelSpacing,l=e.indexOf(t),h=r1(s,[t,l,e]),c=(0,rE.CR)([oK(t.value,n),function(){for(var t=[],e=0;e1))||null==a||a(e,i,t,n)})}function sl(t,e,n,i,r){var a,o=n.indexOf(e),s=rY(t).append((a=r.labelFormatter,(0,td.Z)(a)?function(){return as(r1(a,[e,o,n,oK(e.value,r)]))}:function(){return as(e.label||"")})).attr("className",oR.labelItem.name).node(),l=(0,rE.CR)(rW(oH(i,[e,o,n])),2),h=l[0],c=l[1],u=c.transform,d=(0,rE._T)(c,["transform"]);o2(s,u);var p=function(t,e,n){var i,r,a=n.labelAlign;if(null===(r=e.style.transform)||void 0===r?void 0:r.includes("rotate"))return e.getLocalEulerAngles();var o=0,s=oK(t.value,n),l=oU(t.value,n);return"horizontal"===a?0:(o1(i=(oN(o="perpendicular"===a?si([1,0],s):si([l[0]<0?-1:1,0],l))+360)%180,-90,90)||(i+=180),i)}(e,s,r);return s.getLocalEulerAngles()||s.setLocalEulerAngles(p),so(s,(0,rE.pi)((0,rE.pi)({},sr(e.value,p,r)),h)),t.attr(d),s}function sh(t,e){return oY(t,e.tickDirection,e)}function sc(t,e,n,i,r,a){var o,s,l,h,c,u,d,p,f,g,y,m,v,b,x,E,w,C,S,R,A,O=(o=rY(this),s=i.tickFormatter,l=sh(t.value,i),h="line",(0,td.Z)(s)&&(h=function(){return r1(s,[t,e,n,l])}),o.append(h).attr("className",oR.tickItem.name));c=sh(t.value,i),u=i.tickLength,f=(0,rE.CR)((d=r1(u,[t,e,n]),[[0,0],[(p=(0,rE.CR)(c,2))[0]*d,p[1]*d]]),2),y=(g=(0,rE.CR)(f[0],2))[0],m=g[1],x=(b={x1:y,x2:(v=(0,rE.CR)(f[1],2))[0],y1:m,y2:v[1]}).x1,E=b.x2,w=b.y1,C=b.y2,R=(S=(0,rE.CR)(rW(oH(r,[t,e,n,c])),2))[0],A=S[1],"line"===O.node().nodeName&&O.styles((0,rE.pi)({x1:x,x2:E,y1:w,y2:C},R)),this.attr(A),O.styles(R);var M=(0,rE.CR)(o$(t.value,i),2),T=M[0],k=M[1];return r8(this,{transform:"translate(".concat(T,", ").concat(k,")")},a)}function su(t,e,n,i,r){var a=rG(i,"title"),o=(0,rE.CR)(rW(a),2),s=o[0],l=o[1],h=l.transform,c=l.transformOrigin,u=(0,rE._T)(l,["transform","transformOrigin"]);e.styles(u);var d=h||function(t,e,n){var i=2*t.getGeometryBounds().halfExtents[1];if("vertical"===e){if("left"===n)return"rotate(-90) translate(0, ".concat(i/2,")");if("right"===n)return"rotate(-90) translate(0, -".concat(i/2,")")}return""}(t.node(),s.direction,s.position);t.styles((0,rE.pi)((0,rE.pi)({},s),{transformOrigin:c})),o2(t.node(),d);var p=function(t,e,n){var i=n.titlePosition,r=void 0===i?"lb":i,a=n.titleSpacing,o=rq(r),s=t.node().getLocalBounds(),l=(0,rE.CR)(s.min,2),h=l[0],c=l[1],u=(0,rE.CR)(s.halfExtents,2),d=u[0],p=u[1],f=(0,rE.CR)(e.node().getLocalBounds().halfExtents,2),g=f[0],y=f[1],m=(0,rE.CR)([h+d,c+p],2),v=m[0],b=m[1],x=(0,rE.CR)(rO(a),4),E=x[0],w=x[1],C=x[2],S=x[3];if(["start","end"].includes(r)&&"linear"===n.type){var R=n.startPos,A=n.endPos,O=(0,rE.CR)("start"===r?[R,A]:[A,R],2),M=O[0],T=O[1],k=oL([-T[0]+M[0],-T[1]+M[1]]),P=(0,rE.CR)(oA(k,E),2),L=P[0],D=P[1];return{x:M[0]+L,y:M[1]+D}}return o.includes("t")&&(b-=p+y+E),o.includes("r")&&(v+=d+g+w),o.includes("l")&&(v-=d+g+S),o.includes("b")&&(b+=p+y+C),{x:v,y:b}}(rY(n._offscreen||n.querySelector(oR.mainGroup.class)),e,i),f=p.x,g=p.y;return r8(e.node(),{transform:"translate(".concat(f,", ").concat(g,")")},r)}function sd(t,e,n,i){var r=t.showLine,a=t.showTick,o=t.showLabel,s=r$(r,e.maybeAppendByClassName(oR.lineGroup,"g"),function(e){var n,r,a,o,s,l,h,c,u,d,p;return n=e,r=t,a=i,d=r.type,p=rG(r,"line"),"linear"===d?u=function(t,e,n,i){var r,a,o,s,l,h,c,u,d,p,f,g,y,m,v,b,x,E,w=e.showTrunc,C=e.startPos,S=e.endPos,R=e.truncRange,A=e.lineExtension,O=(0,rE.CR)([C,S],2),M=(0,rE.CR)(O[0],2),T=M[0],k=M[1],P=(0,rE.CR)(O[1],2),L=P[0],D=P[1],N=(0,rE.CR)(A?(void 0===(r=A)&&(r=[0,0]),a=(0,rE.CR)([C,S,r],3),s=(o=(0,rE.CR)(a[0],2))[0],l=o[1],c=(h=(0,rE.CR)(a[1],2))[0],u=h[1],p=(d=(0,rE.CR)(a[2],2))[0],f=d[1],v=Math.sqrt(Math.pow(y=(g=(0,rE.CR)([c-s,u-l],2))[0],2)+Math.pow(m=g[1],2)),[(x=(b=(0,rE.CR)([-p/v,f/v],2))[0])*y,x*m,(E=b[1])*y,E*m]):[,,,,].fill(0),4),I=N[0],B=N[1],_=N[2],F=N[3],j=function(e){return t.selectAll(oR.line.class).data(e,function(t,e){return e}).join(function(t){return t.append("line").attr("className",function(t){return"".concat(oR.line.name," ").concat(t.className)}).styles(n).transition(function(t){return r8(this,oJ(t.line),!1)})},function(t){return t.styles(n).transition(function(t){return r8(this,oJ(t.line),i.update)})},function(t){return t.remove()}).transitions()};if(!w||!R)return j([{line:[[T+I,k+B],[L+_,D+F]],className:oR.line.name}]);var Z=(0,rE.CR)(R,2),z=Z[0],G=Z[1],H=L-T,W=D-k,V=(0,rE.CR)([T+H*z,k+W*z],2),U=V[0],Y=V[1],K=(0,rE.CR)([T+H*G,k+W*G],2),$=K[0],X=K[1],q=j([{line:[[T+I,k+B],[U,Y]],className:oR.lineFirst.name},{line:[[$,X],[L+_,D+F]],className:oR.lineSecond.name}]);return e.truncRange,e.truncShape,e.lineExtension,q}(n,r,oG(p,"arrow"),a):(o=oG(p,"arrow"),s=r.startAngle,l=r.endAngle,h=r.center,c=r.radius,u=n.selectAll(oR.line.class).data([{d:oQ.apply(void 0,(0,rE.ev)((0,rE.ev)([s,l],(0,rE.CR)(h),!1),[c],!1))}],function(t,e){return e}).join(function(t){return t.append("path").attr("className",oR.line.name).styles(r).styles({d:function(t){return t.d}})},function(t){return t.transition(function(){var t,e,n,i,r,o=this,u=function(t,e,n,i){if(!i)return t.attr("__keyframe_data__",n),null;var r=i.duration,a=function t(e,n){var i,r,a,o,s,l;return"number"==typeof e&&"number"==typeof n?function(t){return e*(1-t)+n*t}:Array.isArray(e)&&Array.isArray(n)?(i=n?n.length:0,r=e?Math.min(i,e.length):0,function(a){var o=Array(r),s=Array(i),l=0;for(l=0;lc[0])||!(e=0?(s[l]+=r[l],r[l]=s[l]):(s[l]+=a[l],a[l]=s[l]);return e}var sT=function(t){function e(e){return t.call(this,e,{type:"line",x:0,y:0,width:200,height:20,isStack:!1,color:["#83daad","#edbf45","#d2cef9","#e290b3","#6f63f4"],smooth:!0,lineLineWidth:1,areaOpacity:0,isGroup:!1,columnLineWidth:1,columnStroke:"#fff",scale:1,spacing:0})||this}return(0,rE.ZT)(e,t),Object.defineProperty(e.prototype,"rawData",{get:function(){var t=this.attributes.data;if(!t||(null==t?void 0:t.length)===0)return[[]];var e=(0,tp.Z)(t);return(0,eJ.Z)(e[0])?[e]:e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this.attributes.isStack?sM(this.rawData):this.rawData},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scales",{get:function(){return this.createScales(this.data)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseline",{get:function(){var t=this.scales.y,e=(0,rE.CR)(t.getOptions().domain||[0,0],2),n=e[0],i=e[1];return i<0?t.map(i):t.map(n<0?0:n)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"containerShape",{get:function(){var t=this.attributes;return{width:t.width,height:t.height}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"linesStyle",{get:function(){var t=this,e=this.attributes,n=e.type,i=e.isStack,r=e.smooth;if("line"!==n)throw Error("linesStyle can only be used in line type");var a=rG(this.attributes,"area"),o=rG(this.attributes,"line"),s=this.containerShape.width,l=this.data;if(0===l[0].length)return{lines:[],areas:[]};var h=this.scales,c=(f=(d={type:"line",x:h.x,y:h.y}).x,g=d.y,m=(y=(0,rE.CR)(g.getOptions().range||[0,0],2))[0],(v=y[1])>m&&(v=(p=(0,rE.CR)([m,v],2))[0],m=p[1]),l.map(function(t){return t.map(function(t,e){return[f.map(e),(0,im.Z)(g.map(t),v,m)]})})),u=[];if(a){var d,p,f,g,y,m,v,b=this.baseline;u=i?r?function(t,e,n){for(var i=[],r=t.length-1;r>=0;r-=1){var a=t[r],o=sE(a),s=void 0;if(0===r)s=sw(o,e,n);else{var l=sE(t[r-1],!0),h=a[0];l[0][0]="L",s=(0,rE.ev)((0,rE.ev)((0,rE.ev)([],(0,rE.CR)(o),!1),(0,rE.CR)(l),!1),[(0,rE.ev)(["M"],(0,rE.CR)(h),!1),["Z"]],!1)}i.push(s)}return i}(c,s,b):function(t,e,n){for(var i=[],r=t.length-1;r>=0;r-=1){var a=sx(t[r]),o=void 0;if(0===r)o=sw(a,e,n);else{var s=sx(t[r-1],!0);s[0][0]="L",o=(0,rE.ev)((0,rE.ev)((0,rE.ev)([],(0,rE.CR)(a),!1),(0,rE.CR)(s),!1),[["Z"]],!1)}i.push(o)}return i}(c,s,b):c.map(function(t){return sw(r?sE(t):sx(t),s,b)})}return{lines:c.map(function(e,n){return(0,rE.pi)({stroke:t.getColor(n),d:r?sE(e):sx(e)},o)}),areas:u.map(function(e,n){return(0,rE.pi)({d:e,fill:t.getColor(n)},a)})}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"columnsStyle",{get:function(){var t=this,e=rG(this.attributes,"column"),n=this.attributes,i=n.isStack,r=n.type,a=n.scale;if("column"!==r)throw Error("columnsStyle can only be used in column type");var o=this.containerShape.height,s=this.rawData;if(!s)return{columns:[]};i&&(s=sM(s));var l=this.createScales(s),h=l.x,c=l.y,u=(0,rE.CR)(sO(s),2),d=u[0],p=u[1],f=new sy.b({domain:[0,p-(d>0?0:d)],range:[0,o*a]}),g=h.getBandWidth(),y=this.rawData;return{columns:s.map(function(n,r){return n.map(function(n,a){var o=g/s.length;return(0,rE.pi)((0,rE.pi)({fill:t.getColor(r)},e),i?{x:h.map(a),y:c.map(n),width:g,height:f.map(y[r][a])}:{x:h.map(a)+o*r,y:n>=0?c.map(n):c.map(0),width:o,height:f.map(Math.abs(n))})})})}},enumerable:!1,configurable:!0}),e.prototype.render=function(t,e){(n=".container",e.querySelector(n)?rY(e).select(n):rY(e).append("rect")).attr("className","container").node();var n,i=t.type,r=t.x,a=t.y,o="spark".concat(i),s=(0,rE.pi)({x:r,y:a},"line"===i?this.linesStyle:this.columnsStyle);rY(e).selectAll(".spark").data([i]).join(function(t){return t.append(function(t){return"line"===t?new sb({className:o,style:s}):new sv({className:o,style:s})}).attr("className","spark ".concat(o))},function(t){return t.update(s)},function(t){return t.remove()})},e.prototype.getColor=function(t){var e=this.attributes.color;return(0,ex.Z)(e)?e[t%e.length]:(0,td.Z)(e)?e.call(null,t):e},e.prototype.createScales=function(t){var e,n,i=this.attributes,r=i.type,a=i.scale,o=i.range,s=void 0===o?[]:o,l=i.spacing,h=this.containerShape,c=h.width,u=h.height,d=(0,rE.CR)(sO(t),2),p=d[0],f=d[1],g=new sy.b({domain:[null!==(e=s[0])&&void 0!==e?e:p,null!==(n=s[1])&&void 0!==n?n:f],range:[u,u*(1-a)]});return"line"===r?{type:r,x:new sy.b({domain:[0,t[0].length-1],range:[0,c]}),y:g}:{type:r,x:new sm.t({domain:t[0].map(function(t,e){return e}),range:[0,c],paddingInner:l,paddingOuter:l/2,align:.5}),y:g}},e.tag="sparkline",e}(rF),sk={fill:"#fff",lineWidth:1,radius:2,size:10,stroke:"#bfbfbf",strokeOpacity:1,zIndex:0},sP={fill:"#000",fillOpacity:.45,fontSize:12,textAlign:"center",textBaseline:"middle",zIndex:1},sL={x:0,y:0,orientation:"horizontal",showLabel:!0,type:"start"},sD=rK({foreground:"foreground",handle:"handle",selection:"selection",sparkline:"sparkline",sparklineGroup:"sparkline-group",track:"track",brushArea:"brush-area"},"slider"),sN=rK({labelGroup:"label-group",label:"label",iconGroup:"icon-group",icon:"icon",iconRect:"icon-rect",iconLine:"icon-line"},"handle"),sI=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,rE.ZT)(e,t),e.prototype.render=function(t,e){var n=t.x,i=t.y,r=t.size,a=void 0===r?10:r,o=t.radius,s=t.orientation,l=(0,rE._T)(t,["x","y","size","radius","orientation"]),h=2.4*a,c=rY(e).maybeAppendByClassName(sN.iconRect,"rect").styles((0,rE.pi)((0,rE.pi)({},l),{width:a,height:h,radius:void 0===o?a/4:o,x:n-a/2,y:i-h/2,transformOrigin:"center"})),u=n+1/3*a-a/2,d=n+2/3*a-a/2,p=i+1/4*h-h/2,f=i+3/4*h-h/2;c.maybeAppendByClassName("".concat(sN.iconLine,"-1"),"line").styles((0,rE.pi)({x1:u,x2:u,y1:p,y2:f},l)),c.maybeAppendByClassName("".concat(sN.iconLine,"-2"),"line").styles((0,rE.pi)({x1:d,x2:d,y1:p,y2:f},l)),"vertical"===s&&(c.node().style.transform="rotate(90)")},e}(rF),sB=function(t){function e(e){return t.call(this,e,sL)||this}return(0,rE.ZT)(e,t),e.prototype.renderLabel=function(t){var e=this,n=this.attributes,i=n.x,r=n.y,a=n.showLabel,o=rG(this.attributes,"label"),s=o.x,l=void 0===s?0:s,h=o.y,c=void 0===h?0:h,u=o.transform,d=o.transformOrigin,p=(0,rE._T)(o,["x","y","transform","transformOrigin"]),f=(0,rE.CR)(rW(p,[]),2),g=f[0],y=f[1],m=rY(t).maybeAppendByClassName(sN.labelGroup,"g").styles(y),v=(0,rE.pi)((0,rE.pi)({},sP),g),b=v.text,x=(0,rE._T)(v,["text"]);r$(!!a,m,function(t){e.label=t.maybeAppendByClassName(sN.label,"text").styles((0,rE.pi)((0,rE.pi)({},x),{x:i+l,y:r+c,transform:u,transformOrigin:d,text:"".concat(b)})),e.label.on("mousedown",function(t){t.stopPropagation()}),e.label.on("touchstart",function(t){t.stopPropagation()})})},e.prototype.renderIcon=function(t){var e=this.attributes,n=e.x,i=e.y,r=e.orientation,a=e.type,o=(0,rE.pi)((0,rE.pi)({x:n,y:i,orientation:r},sk),rG(this.attributes,"icon")),s=this.attributes.iconShape,l=void 0===s?function(){return new sI({style:o})}:s;rY(t).maybeAppendByClassName(sN.iconGroup,"g").selectAll(sN.icon.class).data([l]).join(function(t){return t.append("string"==typeof l?l:function(){return l(a)}).attr("className",sN.icon.name)},function(t){return t.update(o)},function(t){return t.remove()})},e.prototype.render=function(t,e){this.renderIcon(e),this.renderLabel(e)},e}(rF),s_=function(t){function e(e){var n=t.call(this,e,(0,rE.pi)((0,rE.pi)((0,rE.pi)({x:0,y:0,animate:{duration:100,fill:"both"},brushable:!0,formatter:function(t){return t.toString()},handleSpacing:2,orientation:"horizontal",padding:0,autoFitLabel:!0,scrollable:!0,selectionFill:"#5B8FF9",selectionFillOpacity:.45,selectionZIndex:2,showHandle:!0,showLabel:!0,slidable:!0,trackFill:"#416180",trackLength:200,trackOpacity:.05,trackSize:20,trackZIndex:-1,values:[0,1],type:"range",selectionType:"select",handleIconOffset:0},rH(sL,"handle")),rH(sk,"handleIcon")),rH(sP,"handleLabel")))||this;return n.range=[0,1],n.onDragStart=function(t){return function(e){e.stopPropagation(),n.target=t,n.prevPos=n.getOrientVal(sf(e));var i=n.availableSpace,r=i.x,a=i.y,o=n.getBBox(),s=o.x,l=o.y;n.selectionStartPos=n.getRatio(n.prevPos-n.getOrientVal([r,a])-n.getOrientVal([+s,+l])),n.selectionWidth=0,document.addEventListener("pointermove",n.onDragging),document.addEventListener("pointerup",n.onDragEnd)}},n.onDragging=function(t){var e=n.attributes,i=e.slidable,r=e.brushable,a=e.type;t.stopPropagation();var o=n.getOrientVal(sf(t)),s=o-n.prevPos;if(s){var l=n.getRatio(s);switch(n.target){case"start":i&&n.setValuesOffset(l);break;case"end":i&&n.setValuesOffset(0,l);break;case"selection":i&&n.setValuesOffset(l,l);break;case"track":if(!r)return;n.selectionWidth+=l,"range"===a?n.innerSetValues([n.selectionStartPos,n.selectionStartPos+n.selectionWidth].sort(),!0):n.innerSetValues([0,n.selectionStartPos+n.selectionWidth],!0)}n.prevPos=o}},n.onDragEnd=function(){document.removeEventListener("pointermove",n.onDragging),document.removeEventListener("pointermove",n.onDragging),document.removeEventListener("pointerup",n.onDragEnd),n.target="",n.updateHandlesPosition(!1)},n.onValueChange=function(t){var e=n.attributes,i=e.onChange,r=e.type,a="range"===r?t:t[1],o="range"===r?n.getValues():n.getValues()[1],s=new I.Aw("valuechange",{detail:{oldValue:a,value:o}});n.dispatchEvent(s),null==i||i(o)},n.selectionStartPos=0,n.selectionWidth=0,n.prevPos=0,n.target="",n}return(0,rE.ZT)(e,t),Object.defineProperty(e.prototype,"values",{get:function(){return this.attributes.values},set:function(t){this.attributes.values=this.clampValues(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sparklineStyle",{get:function(){if("horizontal"!==this.attributes.orientation)return null;var t=rG(this.attributes,"sparkline");return(0,rE.pi)((0,rE.pi)({zIndex:0},this.availableSpace),t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shape",{get:function(){var t=this.attributes,e=t.trackLength,n=t.trackSize,i=(0,rE.CR)(this.getOrientVal([[e,n],[n,e]]),2);return{width:i[0],height:i[1]}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"availableSpace",{get:function(){var t=this.attributes,e=(t.x,t.y,t.padding),n=(0,rE.CR)(rO(e),4),i=n[0],r=n[1],a=n[2],o=n[3],s=this.shape;return{x:o,y:i,width:s.width-(o+r),height:s.height-(i+a)}},enumerable:!1,configurable:!0}),e.prototype.getValues=function(){return this.values},e.prototype.setValues=function(t,e){void 0===t&&(t=[0,0]),void 0===e&&(e=!1),this.attributes.values=t;var n=!1!==e&&this.attributes.animate;this.updateSelectionArea(n),this.updateHandlesPosition(n)},e.prototype.updateSelectionArea=function(t){var e=this.calcSelectionArea();this.foregroundGroup.selectAll(sD.selection.class).each(function(n,i){r8(this,e[i],t)})},e.prototype.updateHandlesPosition=function(t){this.attributes.showHandle&&(this.startHandle&&r8(this.startHandle,this.getHandleStyle("start"),t),this.endHandle&&r8(this.endHandle,this.getHandleStyle("end"),t))},e.prototype.innerSetValues=function(t,e){void 0===t&&(t=[0,0]),void 0===e&&(e=!1);var n=this.values,i=this.clampValues(t);this.attributes.values=i,this.setValues(i),e&&this.onValueChange(n)},e.prototype.renderTrack=function(t){var e=this.attributes,n=e.x,i=e.y,r=rG(this.attributes,"track");this.trackShape=rY(t).maybeAppendByClassName(sD.track,"rect").styles((0,rE.pi)((0,rE.pi)({x:n,y:i},this.shape),r))},e.prototype.renderBrushArea=function(t){var e=this.attributes,n=e.x,i=e.y,r=e.brushable;this.brushArea=rY(t).maybeAppendByClassName(sD.brushArea,"rect").styles((0,rE.pi)({x:n,y:i,fill:"transparent",cursor:r?"crosshair":"default"},this.shape))},e.prototype.renderSparkline=function(t){var e=this,n=this.attributes,i=n.x,r=n.y;r$("horizontal"===n.orientation,rY(t).maybeAppendByClassName(sD.sparklineGroup,"g"),function(t){var n=(0,rE.pi)((0,rE.pi)({},e.sparklineStyle),{x:i,y:r});t.maybeAppendByClassName(sD.sparkline,function(){return new sT({style:n})}).update(n)})},e.prototype.renderHandles=function(){var t,e=this,n=this.attributes,i=n.showHandle,r=n.type,a=this;null===(t=this.foregroundGroup)||void 0===t||t.selectAll(sD.handle.class).data((i?"range"===r?["start","end"]:["end"]:[]).map(function(t){return{type:t}}),function(t){return t.type}).join(function(t){return t.append(function(t){var n=t.type;return new sB({style:e.getHandleStyle(n)})}).each(function(t){var e=t.type;this.attr("class","".concat(sD.handle.name," ").concat(e,"-handle")),a["".concat(e,"Handle")]=this,this.addEventListener("pointerdown",a.onDragStart(e))})},function(t){return t.each(function(t){var e=t.type;this.update(a.getHandleStyle(e))})},function(t){return t.each(function(t){var e=t.type;a["".concat(e,"Handle")]=void 0}).remove()})},e.prototype.renderSelection=function(t){var e=this.attributes,n=e.x,i=e.y,r=e.type,a=e.selectionType;this.foregroundGroup=rY(t).maybeAppendByClassName(sD.foreground,"g");var o=rG(this.attributes,"selection"),s=function(t){return t.style("visibility",function(t){return t.show?"visible":"hidden"}).style("cursor",function(t){return"select"===a?"grab":"invert"===a?"crosshair":"default"}).styles((0,rE.pi)((0,rE.pi)({},o),{transform:"translate(".concat(n,", ").concat(i,")")}))},l=this;this.foregroundGroup.selectAll(sD.selection.class).data("value"===r?[]:this.calcSelectionArea().map(function(t,e){return{style:(0,rE.pi)({},t),index:e,show:"select"===a?1===e:1!==e}}),function(t){return t.index}).join(function(t){return t.append("rect").attr("className",sD.selection.name).call(s).each(function(t,e){var n=this;1===e?(l.selectionShape=rY(this),this.on("pointerdown",function(t){n.attr("cursor","grabbing"),l.onDragStart("selection")(t)}),l.dispatchCustomEvent(this,"pointerenter","selectionMouseenter"),l.dispatchCustomEvent(this,"pointerleave","selectionMouseleave"),l.dispatchCustomEvent(this,"click","selectionClick"),this.addEventListener("pointerdown",function(){n.attr("cursor","grabbing")}),this.addEventListener("pointerup",function(){n.attr("cursor","pointer")}),this.addEventListener("pointerover",function(){n.attr("cursor","pointer")})):this.on("pointerdown",l.onDragStart("track"))})},function(t){return t.call(s)},function(t){return t.remove()}),this.updateSelectionArea(!1),this.renderHandles()},e.prototype.render=function(t,e){this.renderTrack(e),this.renderSparkline(e),this.renderBrushArea(e),this.renderSelection(e)},e.prototype.clampValues=function(t,e){void 0===e&&(e=4);var n,i=(0,rE.CR)(this.range,2),r=i[0],a=i[1],o=(0,rE.CR)(this.getValues().map(function(t){return sg(t,e)}),2),s=o[0],l=o[1],h=Array.isArray(t)?t:[s,null!=t?t:l],c=(0,rE.CR)((h||[s,l]).map(function(t){return sg(t,e)}),2),u=c[0],d=c[1];if("value"===this.attributes.type)return[0,(0,im.Z)(d,r,a)];u>d&&(u=(n=(0,rE.CR)([d,u],2))[0],d=n[1]);var p=d-u;return p>a-r?[r,a]:ua?l===a&&s===u?[u,a]:[a-p,a]:[u,d]},e.prototype.calcSelectionArea=function(t){var e=(0,rE.CR)(this.clampValues(t),2),n=e[0],i=e[1],r=this.availableSpace,a=r.x,o=r.y,s=r.width,l=r.height;return this.getOrientVal([[{y:o,height:l,x:a,width:n*s},{y:o,height:l,x:n*s+a,width:(i-n)*s},{y:o,height:l,x:i*s,width:(1-i)*s}],[{x:a,width:s,y:o,height:n*l},{x:a,width:s,y:n*l+o,height:(i-n)*l},{x:a,width:s,y:i*l,height:(1-i)*l}]])},e.prototype.calcHandlePosition=function(t){var e=this.attributes.handleIconOffset,n=this.availableSpace,i=n.x,r=n.y,a=n.width,o=n.height,s=(0,rE.CR)(this.clampValues(),2),l=s[0],h=s[1],c=("start"===t?l:h)*this.getOrientVal([a,o])+("start"===t?-e:e);return{x:i+this.getOrientVal([c,a/2]),y:r+this.getOrientVal([o/2,c])}},e.prototype.inferTextStyle=function(t){return"horizontal"===this.attributes.orientation?{}:"start"===t?{transformOrigin:"left center",transform:"rotate(90)",textAlign:"start"}:"end"===t?{transformOrigin:"right center",transform:"rotate(90)",textAlign:"end"}:{}},e.prototype.calcHandleText=function(t){var e,n=this.attributes,i=n.type,r=n.orientation,a=n.formatter,o=n.autoFitLabel,s=rG(this.attributes,"handle"),l=rG(s,"label"),h=s.spacing,c=this.getHandleSize(),u=this.clampValues(),d=a("start"===t?u[0]:u[1]),p=new rV({style:(0,rE.pi)((0,rE.pi)((0,rE.pi)({},l),this.inferTextStyle(t)),{text:d})}),f=p.getBBox(),g=f.width,y=f.height;if(p.destroy(),!o){if("value"===i)return{text:d,x:0,y:-y-h};var m=h+c+("horizontal"===r?g/2:0);return(e={text:d})["horizontal"===r?"x":"y"]="start"===t?-m:m,e}var v=0,b=0,x=this.availableSpace,E=x.width,w=x.height,C=this.calcSelectionArea()[1],S=C.x,R=C.y,A=C.width,O=C.height,M=h+c;if("horizontal"===r){var T=M+g/2;v="start"===t?S-M-g>0?-T:T:E-S-A-M>g?T:-T}else{var k=y+M;b="start"===t?R-c>y?-k:M:w-(R+O)-c>y?k:-M}return{x:v,y:b,text:d}},e.prototype.getHandleLabelStyle=function(t){var e=rG(this.attributes,"handleLabel");return(0,rE.pi)((0,rE.pi)((0,rE.pi)({},e),this.calcHandleText(t)),this.inferTextStyle(t))},e.prototype.getHandleIconStyle=function(){var t=this.attributes.handleIconShape,e=rG(this.attributes,"handleIcon"),n=this.getOrientVal(["ew-resize","ns-resize"]),i=this.getHandleSize();return(0,rE.pi)({cursor:n,shape:t,size:i},e)},e.prototype.getHandleStyle=function(t){var e=this.attributes,n=e.x,i=e.y,r=e.showLabel,a=e.showLabelOnInteraction,o=e.orientation,s=this.calcHandlePosition(t),l=s.x,h=s.y,c=this.calcHandleText(t),u=r;return!r&&a&&(u=!!this.target),(0,rE.pi)((0,rE.pi)((0,rE.pi)({},rH(this.getHandleIconStyle(),"icon")),rH((0,rE.pi)((0,rE.pi)({},this.getHandleLabelStyle(t)),c),"label")),{transform:"translate(".concat(l+n,", ").concat(h+i,")"),orientation:o,showLabel:u,type:t,zIndex:3})},e.prototype.getHandleSize=function(){var t=this.attributes,e=t.handleIconSize,n=t.width,i=t.height;return e||Math.floor((this.getOrientVal([+i,+n])+4)/2.4)},e.prototype.getOrientVal=function(t){var e=(0,rE.CR)(t,2),n=e[0],i=e[1];return"horizontal"===this.attributes.orientation?n:i},e.prototype.setValuesOffset=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=!1);var i=this.attributes.type,r=(0,rE.CR)(this.getValues(),2),a=[r[0]+("range"===i?t:0),r[1]+e].sort();n?this.setValues(a):this.innerSetValues(a,!0)},e.prototype.getRatio=function(t){var e=this.availableSpace,n=e.width,i=e.height;return t/this.getOrientVal([n,i])},e.prototype.dispatchCustomEvent=function(t,e,n){var i=this;t.on(e,function(t){t.stopPropagation(),i.dispatchEvent(new I.Aw(n,{detail:t}))})},e.prototype.bindEvents=function(){this.addEventListener("wheel",this.onScroll);var t=this.brushArea;this.dispatchCustomEvent(t,"click","trackClick"),this.dispatchCustomEvent(t,"pointerenter","trackMouseenter"),this.dispatchCustomEvent(t,"pointerleave","trackMouseleave"),t.on("pointerdown",this.onDragStart("track"))},e.prototype.onScroll=function(t){if(this.attributes.scrollable){var e=t.deltaX,n=t.deltaY||e,i=this.getRatio(n);this.setValuesOffset(i,i,!0)}},e.tag="slider",e}(rF),sF={backgroundFill:"#262626",backgroundLineCap:"round",backgroundLineWidth:1,backgroundStroke:"#333",backgroundZIndex:-1,formatter:function(t){return t.toString()},labelFill:"#fff",labelFontSize:12,labelTextBaseline:"middle",padding:[2,4],position:"right",radius:0,zIndex:999},sj=rK({background:"background",labelGroup:"label-group",label:"label"},"indicator"),sZ=function(t){function e(e){var n=t.call(this,e,sF)||this;return n.point=[0,0],n.group=n.appendChild(new I.ZA({})),n.isMutationObserved=!0,n}return(0,rE.ZT)(e,t),e.prototype.renderBackground=function(){if(this.label){var t=this.attributes,e=t.position,n=t.padding,i=(0,rE.CR)(rO(n),4),r=i[0],a=i[1],o=i[2],s=i[3],l=this.label.node().getLocalBounds(),h=l.min,c=l.max,u=new rw(h[0]-s,h[1]-r,c[0]+a-h[0]+s,c[1]+o-h[1]+r),d=this.getPath(e,u),p=rG(this.attributes,"background");this.background=rY(this.group).maybeAppendByClassName(sj.background,"path").styles((0,rE.pi)((0,rE.pi)({},p),{d:d})),this.group.appendChild(this.label.node())}},e.prototype.renderLabel=function(){var t=this.attributes,e=t.formatter,n=t.labelText,i=rG(this.attributes,"label"),r=(0,rE.CR)(rW(i),2),a=r[0],o=r[1],s=(a.text,(0,rE._T)(a,["text"]));this.label=rY(this.group).maybeAppendByClassName(sj.labelGroup,"g").styles(o),n&&this.label.maybeAppendByClassName(sj.label,function(){return as(e(n))}).style("text",e(n).toString()).selectAll("text").styles(s)},e.prototype.adjustLayout=function(){var t=(0,rE.CR)(this.point,2),e=t[0],n=t[1],i=this.attributes,r=i.x,a=i.y;this.group.attr("transform","translate(".concat(r-e,", ").concat(a-n,")"))},e.prototype.getPath=function(t,e){var n=this.attributes.radius,i=e.x,r=e.y,a=e.width,o=e.height,s=[["M",i+n,r],["L",i+a-n,r],["A",n,n,0,0,1,i+a,r+n],["L",i+a,r+o-n],["A",n,n,0,0,1,i+a-n,r+o],["L",i+n,r+o],["A",n,n,0,0,1,i,r+o-n],["L",i,r+n],["A",n,n,0,0,1,i+n,r],["Z"]],l={top:4,right:6,bottom:0,left:2}[t],h=this.createCorner([s[l].slice(-2),s[l+1].slice(-2)]);return s.splice.apply(s,(0,rE.ev)([l+1,1],(0,rE.CR)(h),!1)),s[0][0]="M",s},e.prototype.createCorner=function(t,e){void 0===e&&(e=10);var n=ao.apply(void 0,(0,rE.ev)([],(0,rE.CR)(t),!1)),i=(0,rE.CR)(t,2),r=(0,rE.CR)(i[0],2),a=r[0],o=r[1],s=(0,rE.CR)(i[1],2),l=s[0],h=s[1],c=(0,rE.CR)(n?[l-a,[a,l]]:[h-o,[o,h]],2),u=c[0],d=(0,rE.CR)(c[1],2),p=d[0],f=d[1],g=u/2,y=e*(u/Math.abs(u)),m=y/2,v=y*Math.sqrt(3)/2*.8,b=(0,rE.CR)([p,p+g-m,p+g,p+g+m,f],5),x=b[0],E=b[1],w=b[2],C=b[3],S=b[4];return n?(this.point=[w,o-v],[["L",x,o],["L",E,o],["L",w,o-v],["L",C,o],["L",S,o]]):(this.point=[a+v,w],[["L",a,x],["L",a,E],["L",a+v,w],["L",a,C],["L",a,S]])},e.prototype.applyVisibility=function(){"hidden"===this.attributes.visibility?rk(this):rT(this)},e.prototype.bindEvents=function(){this.label.on(I.Dk.BOUNDS_CHANGED,this.renderBackground)},e.prototype.render=function(){this.renderLabel(),this.renderBackground(),this.adjustLayout(),this.applyVisibility()},e}(rF),sz=function(t){function e(n){var i=t.call(this,rN({},e.defaultOptions,n))||this;return i.hoverColor="#f5f5f5",i.selectedColor="#e6f7ff",i.background=i.appendChild(new I.UL({})),i.label=i.background.appendChild(new I.ZA({})),i}return(0,rE.ZT)(e,t),Object.defineProperty(e.prototype,"padding",{get:function(){return rO(this.style.padding)},enumerable:!1,configurable:!0}),e.prototype.renderLabel=function(){var t=this.style,e=t.label,n=t.value,i=rG(this.attributes,"label");rY(this.label).maybeAppend(".label",function(){return as(e)}).attr("className","label").styles(i),this.label.attr("__data__",n)},e.prototype.renderBackground=function(){var t=this.label.getBBox(),e=(0,rE.CR)(this.padding,4),n=e[0],i=e[1],r=e[2],a=e[3],o=t.width,s=t.height,l=s+n+r,h=rG(this.attributes,"background"),c=this.style,u=c.width,d=c.height,p=c.selected;this.background.attr((0,rE.pi)((0,rE.pi)({},h),{width:Math.max(o+a+i,void 0===u?0:u),height:Math.max(l,void 0===d?0:d),fill:p?this.selectedColor:"#fff"})),this.label.attr({transform:"translate(".concat(a,", ").concat((l-s)/2,")")})},e.prototype.render=function(){this.renderLabel(),this.renderBackground()},e.prototype.bindEvents=function(){var t=this;this.addEventListener("pointerenter",function(){t.style.selected||t.background.attr("fill",t.hoverColor)}),this.addEventListener("pointerleave",function(){t.style.selected||t.background.attr("fill",t.style.backgroundFill)});var e=this;this.addEventListener("click",function(){var n=t.style,i=n.label,r=n.value,a=n.onClick;null==a||a(r,{label:i,value:r},e)})},e.defaultOptions={style:{value:"",label:"",cursor:"pointer"}},e}(rF),sG=function(t){function e(n){var i,r,a=t.call(this,rN({},e.defaultOptions,n))||this;a.currentValue=null===(i=e.defaultOptions.style)||void 0===i?void 0:i.defaultValue,a.isPointerInSelect=!1,a.select=a.appendChild(new I.UL({className:"select",style:{cursor:"pointer",width:0,height:0}})),a.dropdown=a.appendChild(new I.UL({className:"dropdown"}));var o=a.style.defaultValue;return o&&(null===(r=a.style.options)||void 0===r?void 0:r.some(function(t){return t.value===o}))&&(a.currentValue=o),a}return(0,rE.ZT)(e,t),e.prototype.setValue=function(t){this.currentValue=t,this.render()},e.prototype.getValue=function(){return this.currentValue},Object.defineProperty(e.prototype,"dropdownPadding",{get:function(){return rO(this.style.dropdownPadding)},enumerable:!1,configurable:!0}),e.prototype.renderSelect=function(){var t,e=this,n=this.style,i=n.x,r=n.y,a=n.width,o=n.height,s=n.bordered,l=n.showDropdownIcon,h=rG(this.attributes,"select"),c=rG(this.attributes,"placeholder");this.select.attr((0,rE.pi)((0,rE.pi)({x:i,y:r,width:a,height:o},h),{fill:"#fff",strokeWidth:s?1:0}));var u=this.dropdownPadding;l&&rY(this.select).maybeAppend(".dropdown-icon","path").style("d","M-5,-3.5 L0,3.5 L5,-3.5").style("transform","translate(".concat(i+a-10-u[1]-u[3],", ").concat(r+o/2,")")).style("lineWidth",1).style("stroke",this.select.style.stroke);var d=null===(t=this.style.options)||void 0===t?void 0:t.find(function(t){return t.value===e.currentValue}),p=(0,rE.pi)({x:i+u[3]},c);rY(this.select).selectAll(".placeholder").data(d?[]:[1]).join(function(t){return t.append("text").attr("className","placeholder").styles(p).style("y",function(){return r+(o-this.getBBox().height)/2})},function(t){return t.styles(p)},function(t){return t.remove()});var f=rG(this.attributes,"optionLabel"),g=(0,rE.pi)({x:i+u[3]},f);rY(this.select).selectAll(".value").data(d?[d]:[]).join(function(t){return t.append(function(t){return as(t.label)}).attr("className","value").styles(g).style("y",function(){return r+(o-this.getBBox().height)/2})},function(t){return t.styles(g)},function(t){return t.remove()})},e.prototype.renderDropdown=function(){var t,e,n=this,i=this.style,r=i.x,a=i.y,o=i.width,s=i.height,l=i.options,h=i.onSelect,c=i.open,u=rG(this.attributes,"dropdown"),d=rG(this.attributes,"option"),p=this.dropdownPadding;rY(this.dropdown).maybeAppend(".dropdown-container","g").attr("className","dropdown-container").selectAll(".dropdown-item").data(l,function(t){return t.value}).join(function(t){return t.append(function(t){return new sz({className:"dropdown-item",style:(0,rE.pi)((0,rE.pi)((0,rE.pi)({},t),d),{width:o-p[1]-p[3],selected:t.value===n.currentValue,onClick:function(t,e,i){n.setValue(t),null==h||h(t,e,i),n.dispatchEvent(new I.Aw("change",{detail:{value:t,option:e,item:i}})),rk(n.dropdown)}})})}).each(function(t,e){var n,i=(null===(n=this.parentNode)||void 0===n?void 0:n.children).reduce(function(t,n,i){return ie.time?1:0})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"space",{get:function(){var t,e=this.attributes,n=e.x,i=e.y,r=e.width,a=e.height,o=e.type,s=e.controllerHeight,l=(0,im.Z)(+a-s,0,+a),h=new rw(n,i+ +a-s,+r,s),c=0;"chart"===o?(c=35,t=new rw(n,i+l-c,+r,c)):t=new rw;var u="time"===o?10:l;return{axisBBox:t,controllerBBox:h,timelineBBox:new rw(n,i+("time"===o?l:l-u),+r,u-c)}},enumerable:!1,configurable:!0}),e.prototype.setBySliderValues=function(t){var e,n,i=this.data,r=(0,rE.CR)(Array.isArray(t)?t:[0,t],2),a=r[0],o=r[1],s=i.length,l=i[Math.floor(a*s)],h=i[Math.ceil(o*s)-(Array.isArray(t)?0:1)];this.states.values=[null!==(e=null==l?void 0:l.time)&&void 0!==e?e:i[0].time,null!==(n=null==h?void 0:h.time)&&void 0!==n?n:1/0]},e.prototype.setByTimebarValues=function(t){var e,n,i,r=this.data,a=(0,rE.CR)(Array.isArray(t)?t:[void 0,t],2),o=a[0],s=a[1],l=r.find(function(t){return t.time===o}),h=r.find(function(t){return t.time===s});this.states.values=[null!==(e=null==l?void 0:l.time)&&void 0!==e?e:null===(n=r[0])||void 0===n?void 0:n.time,null!==(i=null==h?void 0:h.time)&&void 0!==i?i:1/0]},e.prototype.setByIndex=function(t){var e,n,i,r,a=this.data,o=(0,rE.CR)(t,2),s=o[0],l=o[1];this.states.values=[null!==(n=null===(e=a[s])||void 0===e?void 0:e.time)&&void 0!==n?n:a[0].time,null!==(r=null===(i=this.data[l])||void 0===i?void 0:i.time)&&void 0!==r?r:1/0]},Object.defineProperty(e.prototype,"sliderValues",{get:function(){var t,e=this.states,n=e.values,i=e.selectionType,r=(0,rE.CR)(Array.isArray(n)?n:[void 0,n],2),a=r[0],o=r[1],s=this.data,l=s.length,h="value"===i;return[(t=s.findIndex(function(t){return t.time===a}),h?0:t>-1?t/l:0),function(){if(o===1/0)return 1;var t=s.findIndex(function(t){return t.time===o});return t>-1?t/l:h?.5:1}()]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"values",{get:function(){var t=this.states,e=t.values,n=t.selectionType,i=(0,rE.CR)(Array.isArray(e)?e:[this.data[0].time,e],2),r=i[0],a=i[1];return"value"===n?a:[r,a]},enumerable:!1,configurable:!0}),e.prototype.getDatumByRatio=function(t){var e=this.data,n=Math.floor(t*(e.length-1));return e[n]},Object.defineProperty(e.prototype,"chartHandleIconShape",{get:function(){var t=this.states.selectionType,e=this.space.timelineBBox.height;return"range"===t?function(t){return new lt({style:{type:t,height:e,iconSize:e/6}})}:function(){return new I.x1({style:{x1:0,y1:-e/2,x2:0,y2:e/2,lineWidth:2,stroke:"#c8c8c8"}})}},enumerable:!1,configurable:!0}),e.prototype.getChartStyle=function(t){var e=this,n=t.x,i=t.y,r=t.width,a=t.height,o=this.states,s=o.selectionType,l=o.chartType,h=this.data,c=this.attributes,u=c.type,d=c.labelFormatter,p=rG(this.attributes,"chart"),f=(p.type,(0,rE._T)(p,["type"])),g="range"===s;if("time"===u)return(0,rE.pi)({handleIconShape:function(){return new s7({})},selectionFill:"#2e7ff8",selectionFillOpacity:1,showLabelOnInteraction:!0,handleLabelDy:g?-15:0,autoFitLabel:g,handleSpacing:g?-15:0,trackFill:"#edeeef",trackLength:r,trackOpacity:.5,trackRadius:a/2,trackSize:a/2,type:s,values:this.sliderValues,formatter:function(t){if(d)return d(t);var n=e.getDatumByRatio(t).time;return"number"==typeof n?le(n):oC(n,"YYYY-MM-DD HH:mm:ss")},transform:"translate(".concat(n,", ").concat(i,")"),zIndex:1},f);var y=h.map(function(t){return t.value});return(0,rE.pi)({handleIconOffset:"range"===s?5:0,handleIconShape:this.chartHandleIconShape,selectionFill:"#fff",selectionFillOpacity:.5,selectionType:"invert",sparklineSpacing:.1,sparklineColumnLineWidth:0,sparklineColor:"#d4e5fd",sparklineAreaOpacity:1,sparklineAreaLineWidth:0,sparklineData:y,sparklineType:l,sparklineScale:.8,trackLength:r,trackSize:a,type:s,values:this.sliderValues,transform:"translate(".concat(n,", ").concat(i,")"),zIndex:1},f)},e.prototype.renderChart=function(t){void 0===t&&(t=this.space.timelineBBox),this.timeline.update(this.getChartStyle(t))},e.prototype.updateSelection=function(){this.timeline.setValues(this.sliderValues,!0),this.handleSliderChange(this.sliderValues)},e.prototype.getAxisStyle=function(t){var e=this.data,n=this.attributes,i=n.interval,r=n.labelFormatter,a=rG(this.attributes,"axis"),o=t.x,s=t.y,l=t.width,h=(0,rE.ev)((0,rE.ev)([],(0,rE.CR)(e),!1),[{time:0}],!1).map(function(t,e,n){var i=t.time;return{label:"".concat(i),value:e/(n.length-1),time:i}});return(0,rE.pi)({startPos:[o,s],endPos:[o+l,s],data:h,labelFilter:function(t,e){return en.getHours())return"AM\n".concat(oC(n,"YYYY-MM-DD"));return"PM";case"day":if([1,10,20].includes(n.getDate()))return oC(n,"DD\nYYYY-MM");return oC(n,"DD");case"week":if(7>=n.getDate())return oC(n,"DD\nYYYY-MM");return oC(n,"DD");case"month":if([0,6].includes(n.getMonth()))return oC(n,"MM月\nYYYY");return oC(n,"MM月");case"season":if([0].includes(n.getMonth()))return oC(n,"MM月\nYYYY");return oC(n,"MM月");case"year":return oC(n,"YYYY");default:return oC(n,"YYYY-MM-DD HH:mm")}}(e,i)}},a)},e.prototype.renderAxis=function(t){void 0===t&&(t=this.space.axisBBox),"chart"===this.attributes.type&&this.axis.update(this.getAxisStyle(t))},e.prototype.renderController=function(t){void 0===t&&(t=this.space.controllerBBox);var e=this.attributes.type,n=this.states,i=n.state,r=n.speed,a=n.selectionType,o=n.chartType,s=rG(this.attributes,"controller"),l=this,h=(0,rE.pi)((0,rE.pi)((0,rE.pi)({},t),{iconSize:20,speed:r,state:i,selectionType:a,chartType:o,onChange:function(t,e){var n=e.value;switch(t){case"reset":l.internalReset();break;case"speed":l.handleSpeedChange(n);break;case"backward":l.internalBackward();break;case"playPause":"play"===n?l.internalPlay():l.internalPause();break;case"forward":l.internalForward();break;case"selectionType":l.handleSelectionTypeChange(n);break;case"chartType":l.handleChartTypeChange(n)}}}),s);"time"===e&&(h.functions=[["reset","speed"],["backward","playPause","forward"],["selectionType"]]),this.controller.update(h)},e.prototype.dispatchOnChange=function(t){var e=this.data,n=this.attributes.onChange,i=this.states,r=i.values,a=i.selectionType,o=(0,rE.CR)(r,2),s=o[0],l=o[1],h=l===1/0?e.at(-1).time:l,c="range"===a?[s,h]:h;(!t||(Array.isArray(t)?!Array.isArray(c)||t[0]!==c[0]||t[1]!==c[1]&&t[1]!==1/0&&c[1]!==1/0:Array.isArray(c)||t!==c))&&null!=n&&n("range"===a?[s,h]:h)},e.prototype.internalReset=function(t){var e,n,i=this.states.selectionType;this.internalPause(),this.setBySliderValues("range"===i?[0,1]:[0,0]),this.renderController(),this.updateSelection(),t||(null===(n=null===(e=this.attributes)||void 0===e?void 0:e.onReset)||void 0===n||n.call(e),this.dispatchOnChange())},e.prototype.reset=function(){this.internalReset()},e.prototype.moveSelection=function(t,e){var n,i,r,a,o,s,l=this.data,h=l.length,c=this.states,u=c.values,d=c.selectionType,p=c.playMode,f=(0,rE.CR)(u,2),g=f[0],y=f[1],m=l.findIndex(function(t){return t.time===g}),v=l.findIndex(function(t){return t.time===y});-1===v&&(v=h);var b="backward"===t?-1:1;"range"===d?"acc"===p?(s=[m,v+b],-1===b&&m===v&&(s=[m,h])):s=[m+b,v+b]:s=[m,v+b];var x=(n=s,r=(i=(0,rE.CR)(n.sort(function(t,e){return t-e}),2))[0],a=i[1],o=function(t){return(0,im.Z)(t,0,h)},a>h?"value"===d?[0,0]:"acc"===p?[o(r),o(r)]:[0,o(a-r)]:r<0?"acc"===p?[0,o(a)]:[o(r+h-a),h]:[o(r),o(a)]);return this.setByIndex(x),this.updateSelection(),x},e.prototype.internalBackward=function(t){var e,n,i=this.moveSelection("backward",t);return t||(null===(n=null===(e=this.attributes)||void 0===e?void 0:e.onBackward)||void 0===n||n.call(e),this.dispatchOnChange()),i},e.prototype.backward=function(){this.internalBackward()},e.prototype.internalPlay=function(t){var e,n,i=this,r=this.data,a=this.attributes.loop,o=this.states.speed,s=void 0===o?1:o;this.playInterval=window.setInterval(function(){i.internalForward()[1]!==r.length||a||(i.internalPause(),i.renderController())},1e3/s),this.states.state="play",t||null===(n=null===(e=this.attributes)||void 0===e?void 0:e.onPlay)||void 0===n||n.call(e)},e.prototype.play=function(){this.internalPlay()},e.prototype.internalPause=function(t){var e,n;clearInterval(this.playInterval),this.states.state="pause",t||null===(n=null===(e=this.attributes)||void 0===e?void 0:e.onPause)||void 0===n||n.call(e)},e.prototype.pause=function(){this.internalPause()},e.prototype.internalForward=function(t){var e,n,i=this.moveSelection("forward",t);return t||(null===(n=null===(e=this.attributes)||void 0===e?void 0:e.onForward)||void 0===n||n.call(e),this.dispatchOnChange()),i},e.prototype.forward=function(){this.internalForward()},e.prototype.handleSpeedChange=function(t){var e,n;this.states.speed=t,"play"===this.states.state&&(this.internalPause(!0),this.internalPlay(!0)),null===(n=null===(e=this.attributes)||void 0===e?void 0:e.onSpeedChange)||void 0===n||n.call(e,t)},e.prototype.handleSelectionTypeChange=function(t){var e,n;this.states.selectionType=t,this.renderChart(),null===(n=null===(e=this.attributes)||void 0===e?void 0:e.onSelectionTypeChange)||void 0===n||n.call(e,t)},e.prototype.handleChartTypeChange=function(t){var e,n;this.states.chartType=t,this.renderChart(),null===(n=null===(e=this.attributes)||void 0===e?void 0:e.onChartTypeChange)||void 0===n||n.call(e,t)},e.prototype.render=function(){var t=this.space,e=t.axisBBox,n=t.controllerBBox,i=t.timelineBBox;this.renderController(n),this.renderAxis(e),this.renderChart(i),"play"===this.states.state&&this.internalPlay()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.internalPause(!0)},e.defaultOptions={style:{x:0,y:0,axisLabelFill:"#6e6e6e",axisLabelTextAlign:"left",axisLabelTextBaseline:"top",axisLabelTransform:"translate(5, -12)",axisLineLineWidth:1,axisLineStroke:"#cacdd1",axisTickLength:15,axisTickLineWidth:1,axisTickStroke:"#cacdd1",chartShowLabel:!1,chartType:"line",controllerAlign:"center",controllerHeight:40,data:[],interval:"day",loop:!1,playMode:"acc",selectionType:"range",type:"time"}},e}(rF),li=n(95456);let lr=["timestamp","time","date","datetime"];class la extends iF{get padding(){return ty(this.options.padding)}play(){var t;null===(t=this.timebar)||void 0===t||t.play()}pause(){var t;null===(t=this.timebar)||void 0===t||t.pause()}forward(){var t;null===(t=this.timebar)||void 0===t||t.forward()}backward(){var t;null===(t=this.timebar)||void 0===t||t.backward()}reset(){var t;null===(t=this.timebar)||void 0===t||t.reset()}update(t){super.update(t),this.backup(),Object.keys(t).forEach(t=>{"position"===t?this.upsertWrapper():this.upsertTimebar()})}backup(){this.originalData=lo(this.context.graph.getData())}upsertTimebar(){let{canvas:t}=this.context,{onChange:e,timebarType:n,data:i,x:r,y:a,width:o,height:s,mode:l,...h}=this.options,c=t.getSize(),[u]=this.padding;this.upsertCanvas().ready.then(()=>{let t={x:c[0]/2-o/2,y:u,onChange:t=>{let n=((0,ex.Z)(t)?t:[t,t]).map(t=>(0,li.Z)(t,"Date")?t.getTime():t);"modify"===this.options.mode?this.filterElements(n):this.hiddenElements(n),null==e||e(n)},...h,data:i.map(t=>(0,eJ.Z)(t)?{time:t,value:0}:t),width:o,height:s,type:n};if(this.timebar)this.timebar.update(t);else{var r;this.timebar=new ln({style:t}),null===(r=this.canvas)||void 0===r||r.appendChild(this.timebar)}})}upsertWrapper(){var t;if(!this.wrapper){let t=document.createElement("div");t.style.position="absolute",this.wrapper=t}let{x:e,y:n,className:i,position:r}=this.options;return i&&(this.wrapper.className=i),(0,eJ.Z)(e)||(0,eJ.Z)(n)?Object.assign(this.wrapper.style,{left:"".concat(null!=e?e:0,"px"),top:"".concat(null!=n?n:0,"px")}):Object.assign(this.wrapper.style,{["top"===r?"bottom":"top"]:"unset",["top"===r?"top":"bottom"]:"0px"}),null===(t=this.context.canvas.getContainer())||void 0===t||t.appendChild(this.wrapper),this.wrapper}upsertCanvas(){var t,e;let n=this.upsertWrapper();if(this.canvas)return this.canvas;let{height:i}=this.options,[r]=this.context.canvas.getSize(),[a,,o]=this.padding;return this.canvas=new I.Xz({container:n,width:r,height:i+a+o,renderer:(null===(e=(t=this.context.options).renderer)||void 0===e?void 0:e.call(t,"main"))||new of,supportsMutipleCanvasesInOneContainer:!0}),this.canvas}async filterElements(t){var e;if(!this.originalData)return;let{elementTypes:n,getTime:i}=this.options,{graph:r,element:a}=this.context,o=lo(this.originalData);n.forEach(e=>{let n="".concat(e,"s");o[n]=(this.originalData[n]||[]).filter(e=>{let n=i(e);return!!ls(n,t)})});let s=[...o.nodes,...o.combos].map(t=>tt(t));o.edges=o.edges.filter(t=>{let e=t.source,n=t.target;return s.includes(e)&&s.includes(n)}),r.setData(o),await (null===(e=a.draw({animation:!1,silence:!0}))||void 0===e?void 0:e.finished)}hiddenElements(t){let{graph:e}=this.context,{elementTypes:n,getTime:i}=this.options,r=[],a=[];n.forEach(e=>{var n;let o=(null===(n=this.originalData)||void 0===n?void 0:n["".concat(e,"s")])||[];o.forEach(e=>{let n=tt(e),o=i(e);ls(o,t)?a.push(n):r.push(n)})}),e.hideElement(r,!1),e.showElement(a,!1)}destroy(){var t,e,n;let{graph:i}=this.context;this.originalData&&i.setData({...this.originalData}),null===(t=this.timebar)||void 0===t||t.destroy(),null===(e=this.canvas)||void 0===e||e.destroy(),null===(n=this.wrapper)||void 0===n||n.remove(),this.originalData=void 0,this.wrapper=void 0,this.timebar=void 0,this.canvas=void 0,super.destroy()}constructor(t,e){super(t,Object.assign({},la.defaultOptions,e)),this.backup(),this.upsertTimebar()}}la.defaultOptions={position:"bottom",enable:!0,timebarType:"time",className:"g6-timebar",width:450,height:60,zIndex:3,elementTypes:["node"],padding:10,mode:"modify",getTime:t=>ll(t,lr,void 0),loop:!1};let lo=t=>{let{nodes:e=[],edges:n=[],combos:i=[]}=t;return{nodes:[...e],edges:[...n],combos:[...i]}},ls=(t,e)=>{if((0,eJ.Z)(e))return t===e;let[n,i]=e;return t>=n&&t<=i},ll=(t,e,n)=>{for(let n=0;n{e[t]="8px"}),e.flexDirection=t.startsWith("top")||t.startsWith("bottom")?"row":"column",e}(n)),this.$element.innerHTML=await this.getDOMContent()}destroy(){this.$element.removeEventListener("click",this.onToolbarItemClick),this.$element.remove(),super.destroy()}async getDOMContent(){let t=await this.options.getItems();return t.map(t=>'\n
    \n \n
    ')).join("")}constructor(t,e){super(t,Object.assign({},lh.defaultOptions,e)),this.$element=iB("toolbar",!1),this.onToolbarItemClick=t=>{let{onClick:e}=this.options;if(t.target instanceof Element&&t.target.className.includes("g6-toolbar-item")){let n=t.target.getAttribute("value");null==e||e(n,t.target)}};let n=this.context.canvas.getContainer();this.$element.style.display="flex",n.appendChild(this.$element),i_("g6-toolbar-css","style",{},"\n .g6-toolbar {\n position: absolute;\n z-index: 100;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border-radius: 4px;\n box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);\n opacity: 0.65;\n }\n .g6-toolbar .g6-toolbar-item {\n display: inline-block;\n width: 16px;\n height: 16px;\n padding: 4px;\n cursor: pointer;\n box-sizing: content-box;\n }\n\n .g6-toolbar .g6-toolbar-item:hover {\n background-color: #f0f0f0;\n }\n\n .g6-toolbar .g6-toolbar-item svg {\n display: inline-block;\n width: 100%;\n height: 100%;\n pointer-events: none;\n }\n",document.head),i_("g6-toolbar-svgicon","div",{display:"none"},'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'),this.$element.addEventListener("click",this.onToolbarItemClick),this.update(e)}}lh.defaultOptions={position:"top-left"};var lc=n(88204),lu=n(68856),ld=function(t,e){if(null==e){t.innerHTML="";return}t.replaceChildren?Array.isArray(e)?t.replaceChildren.apply(t,(0,rE.ev)([],(0,rE.CR)(e),!1)):t.replaceChildren(e):(t.innerHTML="",Array.isArray(e)?e.forEach(function(e){return t.appendChild(e)}):t.appendChild(e))};function lp(t){return void 0===t&&(t=""),{CONTAINER:"".concat(t,"tooltip"),TITLE:"".concat(t,"tooltip-title"),LIST:"".concat(t,"tooltip-list"),LIST_ITEM:"".concat(t,"tooltip-list-item"),NAME:"".concat(t,"tooltip-list-item-name"),MARKER:"".concat(t,"tooltip-list-item-marker"),NAME_LABEL:"".concat(t,"tooltip-list-item-name-label"),VALUE:"".concat(t,"tooltip-list-item-value"),CROSSHAIR_X:"".concat(t,"tooltip-crosshair-x"),CROSSHAIR_Y:"".concat(t,"tooltip-crosshair-y")}}var lf={overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"},lg=function(t){function e(e){var n,i,r,a,o,s=this,l=null===(o=null===(a=e.style)||void 0===a?void 0:a.template)||void 0===o?void 0:o.prefixCls,h=lp(l);return(s=t.call(this,e,{data:[],x:0,y:0,visibility:"visible",title:"",position:"bottom-right",offset:[5,5],enterable:!1,container:{x:0,y:0},bounding:null,template:{prefixCls:"",container:'
    '),title:'
    '),item:'
  • \n \n \n {name}\n \n {value}\n
  • ')},style:(void 0===(n=l)&&(n=""),r=lp(n),(i={})[".".concat(r.CONTAINER)]={position:"absolute",visibility:"visible","z-index":8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)","background-color":"rgba(255, 255, 255, 0.96)","box-shadow":"0 6px 12px 0 rgba(0, 0, 0, 0.12)","border-radius":"4px",color:"rgba(0, 0, 0, 0.65)","font-size":"12px","line-height":"20px",padding:"12px","min-width":"120px","max-width":"360px","font-family":"Roboto-Regular"},i[".".concat(r.TITLE)]={color:"rgba(0, 0, 0, 0.45)"},i[".".concat(r.LIST)]={margin:"0px","list-style-type":"none",padding:"0px"},i[".".concat(r.LIST_ITEM)]={"list-style-type":"none",display:"flex","line-height":"2em","align-items":"center","justify-content":"space-between","white-space":"nowrap"},i[".".concat(r.MARKER)]={width:"8px",height:"8px","border-radius":"50%",display:"inline-block","margin-right":"4px"},i[".".concat(r.NAME)]={display:"flex","align-items":"center","max-width":"216px"},i[".".concat(r.NAME_LABEL)]=(0,rE.pi)({flex:1},lf),i[".".concat(r.VALUE)]=(0,rE.pi)({display:"inline-block",float:"right",flex:1,"text-align":"right","min-width":"28px","margin-left":"30px",color:"rgba(0, 0, 0, 0.85)"},lf),i[".".concat(r.CROSSHAIR_X)]={position:"absolute",width:"1px","background-color":"rgba(0, 0, 0, 0.25)"},i[".".concat(r.CROSSHAIR_Y)]={position:"absolute",height:"1px","background-color":"rgba(0, 0, 0, 0.25)"},i)})||this).timestamp=-1,s.prevCustomContentKey=s.attributes.contentKey,s.initShape(),s.render(s.attributes,s),s}return(0,rE.ZT)(e,t),Object.defineProperty(e.prototype,"HTMLTooltipElement",{get:function(){return this.element},enumerable:!1,configurable:!0}),e.prototype.getContainer=function(){return this.element},Object.defineProperty(e.prototype,"elementSize",{get:function(){return{width:this.element.offsetWidth,height:this.element.offsetHeight}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"HTMLTooltipItemsElements",{get:function(){var t=this.attributes,e=t.data,n=t.template;return e.map(function(t,e){var i=t.name,r=t.color,a=t.index,o=(0,rE._T)(t,["name","color","index"]),s=(0,rE.pi)({name:void 0===i?"":i,color:void 0===r?"black":r,index:null!=a?a:e},o);return(0,lc.L)((0,lu.Z)(n.item,s))})},enumerable:!1,configurable:!0}),e.prototype.render=function(t,e){this.renderHTMLTooltipElement(),this.updatePosition()},e.prototype.destroy=function(){var e;null===(e=this.element)||void 0===e||e.remove(),t.prototype.destroy.call(this)},e.prototype.show=function(t,e){var n=this;if(void 0!==t&&void 0!==e){var i="hidden"===this.element.style.visibility,r=function(){n.attributes.x=null!=t?t:n.attributes.x,n.attributes.y=null!=e?e:n.attributes.y,n.updatePosition()};i?this.closeTransition(r):r()}this.element.style.visibility="visible"},e.prototype.hide=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.attributes.enterable&&this.isCursorEntered(t,e)||(this.element.style.visibility="hidden")},e.prototype.initShape=function(){var t=this.attributes.template;this.element=(0,lc.L)(t.container),this.id&&this.element.setAttribute("id",this.id)},e.prototype.renderCustomContent=function(){if(void 0===this.prevCustomContentKey||this.prevCustomContentKey!==this.attributes.contentKey){this.prevCustomContentKey=this.attributes.contentKey;var t=this.attributes.content;t&&("string"==typeof t?this.element.innerHTML=t:ld(this.element,t))}},e.prototype.renderHTMLTooltipElement=function(){var t,e,n=this.attributes,i=n.template,r=n.title,a=n.enterable,o=n.style,s=n.content,l=lp(i.prefixCls),h=this.element;if(this.element.style.pointerEvents=a?"auto":"none",s)this.renderCustomContent();else{r?(h.innerHTML=i.title,h.getElementsByClassName(l.TITLE)[0].innerHTML=r):null===(e=null===(t=h.getElementsByClassName(l.TITLE))||void 0===t?void 0:t[0])||void 0===e||e.remove();var c=this.HTMLTooltipItemsElements,u=document.createElement("ul");u.className=l.LIST,ld(u,c);var d=this.element.querySelector(".".concat(l.LIST));d?d.replaceWith(u):h.appendChild(u)}!function(t,e){Object.entries(e).forEach(function(e){var n=(0,rE.CR)(e,2),i=n[0],r=n[1];(0,rE.ev)([t],(0,rE.CR)(t.querySelectorAll(i)),!1).filter(function(t){return t.matches(i)}).forEach(function(t){t&&(t.style.cssText+=Object.entries(r).reduce(function(t,e){return"".concat(t).concat(e.join(":"),";")},""))})})}(h,o)},e.prototype.getRelativeOffsetFromCursor=function(t){var e=this.attributes,n=e.position,i=e.offset,r=(t||n).split("-"),a={left:[-1,0],right:[1,0],top:[0,-1],bottom:[0,1]},o=this.elementSize,s=o.width,l=o.height,h=[-s/2,-l/2];return r.forEach(function(t){var e=(0,rE.CR)(h,2),n=e[0],r=e[1],o=(0,rE.CR)(a[t],2),c=o[0],u=o[1];h=[n+(s/2+i[0])*c,r+(l/2+i[1])*u]}),h},e.prototype.setOffsetPosition=function(t){var e=(0,rE.CR)(t,2),n=e[0],i=e[1],r=this.attributes,a=r.x,o=r.y,s=r.container,l=s.x,h=s.y;this.element.style.left="".concat(+(void 0===a?0:a)+l+n,"px"),this.element.style.top="".concat(+(void 0===o?0:o)+h+i,"px")},e.prototype.updatePosition=function(){var t=this.attributes.showDelay,e=Date.now();this.timestamp>0&&e-this.timestamp<(void 0===t?60:t)||(this.timestamp=e,this.setOffsetPosition(this.autoPosition(this.getRelativeOffsetFromCursor())))},e.prototype.autoPosition=function(t){var e=(0,rE.CR)(t,2),n=e[0],i=e[1],r=this.attributes,a=r.x,o=r.y,s=r.bounding,l=r.position;if(!s)return[n,i];var h=this.element,c=h.offsetWidth,u=h.offsetHeight,d=(0,rE.CR)([+a+n,+o+i],2),p=d[0],f=d[1],g={left:"right",right:"left",top:"bottom",bottom:"top"},y=s.x,m=s.y,v={left:py+s.width,top:fm+s.height},b=[];l.split("-").forEach(function(t){v[t]?b.push(g[t]):b.push(t)});var x=b.join("-");return this.getRelativeOffsetFromCursor(x)},e.prototype.isCursorEntered=function(t,e){if(this.element){var n=this.element.getBoundingClientRect(),i=n.x,r=n.y,a=n.width,o=n.height;return new rw(i,r,a,o).isPointIn(t,e)}return!1},e.prototype.closeTransition=function(t){var e=this,n=this.element.style.transition;this.element.style.transition="none",t(),setTimeout(function(){e.element.style.transition=n},10)},e.tag="tooltip",e}(rF);class ly extends iF{getEvents(){return"click"===this.options.trigger?{"node:click":this.onClick,"edge:click":this.onClick,"combo:click":this.onClick,"canvas:click":this.onPointerLeave,contextmenu:this.onPointerLeave,drag:this.onPointerLeave}:{"node:pointerenter":this.onPointerEnter,"node:pointermove":this.onPointerMove,"canvas:pointermove":this.onCanvasMove,"edge:pointerenter":this.onPointerEnter,"edge:pointermove":this.onPointerMove,"combo:pointerenter":this.onPointerEnter,"combo:pointermove":this.onPointerMove,contextmenu:this.onPointerLeave,"node:drag":this.onPointerLeave}}update(t){if(this.unbindEvents(),super.update(t),this.tooltipElement){var e;null===(e=this.container)||void 0===e||e.removeChild(this.tooltipElement.HTMLTooltipElement)}this.tooltipElement=this.initTooltip(),this.bindEvents()}render(){let{canvas:t}=this.context,e=t.getContainer();e&&(this.container=e,this.tooltipElement=this.initTooltip())}unbindEvents(){let{graph:t}=this.context,e=this.getEvents();Object.keys(e).forEach(n=>{t.off(n,e[n])})}bindEvents(){let{graph:t}=this.context,e=this.getEvents();Object.keys(e).forEach(n=>{t.on(n,e[n])})}destroy(){if(this.unbindEvents(),this.tooltipElement){var t;null===(t=this.container)||void 0===t||t.removeChild(this.tooltipElement.HTMLTooltipElement)}super.destroy()}constructor(t,e){super(t,Object.assign({},ly.defaultOptions,e)),this.currentTarget=null,this.tooltipElement=null,this.container=null,this.isEnable=t=>{let{enable:e}=this.options;return"function"==typeof e?e(t):e},this.onClick=t=>{let{target:{id:e}}=t;this.currentTarget===e?(this.currentTarget=null,this.hide(t)):(this.currentTarget=e,this.show(t))},this.onPointerMove=t=>{let{target:e}=t;this.currentTarget&&e.id!==this.currentTarget&&this.show(t)},this.onPointerLeave=t=>{this.hide(t),this.currentTarget=null},this.onCanvasMove=t=>{this.hide(t),this.currentTarget=null},this.onPointerEnter=t=>{this.show(t)},this.showById=t=>{this.show({target:{id:t}})},this.getElementData=(t,e)=>{let{model:n}=this.context;switch(e){case"node":return n.getNodeData([t]);case"edge":return n.getEdgeData([t]);case"combo":return n.getComboData([t]);default:return[]}},this.show=t=>{let e,n;let{client:i,target:{id:r}}=t;if(n9(t.target)||!this.tooltipElement||!this.isEnable(t))return;let a=this.context.graph.getElementType(r),{getContent:o,title:s}=this.options;this.currentTarget=r;let l=this.getElementData(r,a);if(i)e=i.x,n=i.y;else{let t=(0,en.Z)(l,"0.style",{x:0,y:0});e=t.x,n=t.y}let h={};if(o)h.content=o(t,l);else{let t=this.context.graph.getElementRenderStyle(r),e="node"===a?t.fill:t.stroke;h={title:s||a,data:l.map(t=>({name:"ID",value:t.id||"".concat(t.source," -> ").concat(t.target),color:e}))}}this.tooltipElement.update({x:e,y:n,style:{".tooltip":{visibility:"visible"}},...h})},this.hide=t=>{if(!t){var e;null===(e=this.tooltipElement)||void 0===e||e.hide();return}if(!this.tooltipElement||!this.isEnable(t))return;let{client:{x:n,y:i}}=t;this.tooltipElement.hide(n,i)},this.initTooltip=()=>{var t;let{canvas:e}=this.context,{center:n}=e.getBounds(),i=e.getContainer(),{top:r,left:a}=i.getBoundingClientRect(),{style:o,position:s,enterable:l,container:h={x:-a,y:-r},title:c,offset:u}=this.options,[d,p]=n,[f,g]=e.getSize(),y=new lg({className:"tooltip",style:{x:d,y:p,container:h,title:c,bounding:{x:0,y:0,width:f,height:g},position:s,enterable:l,offset:u,style:o}});return null===(t=this.container)||void 0===t||t.appendChild(y.HTMLTooltipElement),y},this.render(),this.bindEvents()}}function lm(t,e){i||(i=document.createElement("canvas")),i.width=t,i.height=e;let n=i.getContext("2d");return n.clearRect(0,0,t,e),i}async function lv(t,e,n,i){let r=lm(t,e),a=r.getContext("2d"),{rotate:o,opacity:s,textFill:l,textFontSize:h,textFontFamily:c,textFontVariant:u,textFontWeight:d,textAlign:p,textBaseline:f}=i;return a.textAlign=p,a.textBaseline=f,a.translate(t/2,e/2),a.font="".concat(h,"px ").concat(c," ").concat(u," ").concat(d),o&&a.rotate(o),s&&(a.globalAlpha=s),l&&(a.fillStyle=l,a.fillText("".concat(n),0,0)),r.toDataURL()}async function lb(t,e,n,i){let r=lm(t,e),a=r.getContext("2d"),{rotate:o,opacity:s}=i;o&&a.rotate(o),s&&(a.globalAlpha=s);let l=new Image;return l.crossOrigin="anonymous",l.src=n,new Promise(n=>{l.onload=function(){let i=t>l.width?(t-l.width)/2:0,o=e>l.height?(e-l.height)/2:0;a.drawImage(l,0,0,l.width,l.height,i,o,t-2*i,e-2*o),n(r.toDataURL())}})}ly.defaultOptions={trigger:"hover",position:"top-right",enterable:!1,enable:!0,offset:[10,10],style:{".tooltip":{visibility:"hidden"}}};class lx extends iF{async update(t){super.update(t);let{width:e,height:n,text:i,imageURL:r,...a}=this.options;Object.keys(a).forEach(e=>{e.startsWith("background")&&(this.$element.style[e]=t[e])});let o=r?await lb(e,n,r,a):await lv(e,n,i,a);this.$element.style.backgroundImage="url(".concat(o,")")}destroy(){super.destroy(),this.$element.remove()}constructor(t,e){super(t,Object.assign({},lx.defaultOptions,e)),this.$element=iB("watermark");let n=this.context.canvas.getContainer();n.appendChild(this.$element),this.update(e)}}lx.defaultOptions={width:200,height:100,opacity:.2,rotate:Math.PI/12,text:"",textFill:"#000",textFontSize:16,textAlign:"center",textBaseline:"middle",backgroundRepeat:"repeat"};let lE=["#7E92B5","#F4664A","#FFBE3A"],lw={type:"group",color:["#1783FF","#00C9C9","#F08F56","#D580FF","#7863FF","#DB9D0D","#60C42D","#FF80CA","#2491B3","#17C76F"]},lC={type:"group",color:["#99ADD1","#1783FF","#00C9C9","#F08F56","#D580FF","#7863FF","#DB9D0D","#60C42D","#FF80CA","#2491B3","#17C76F"]};function lS(t){let{bgColor:e,textColor:n,nodeColor:i,nodeColorDisabled:r,nodeStroke:a,nodeHaloStrokeOpacityActive:o=.15,nodeHaloStrokeOpacitySelected:s=.25,nodeOpacityDisabled:l=.06,nodeIconOpacityInactive:h=.85,nodeOpacityInactive:c=.25,nodeBadgePalette:u=lE,nodePaletteOptions:d=lw,edgeColor:p,edgeColorDisabled:f,edgePaletteOptions:g=lC,comboColor:y,comboColorDisabled:m,comboStroke:v,comboStrokeDisabled:b,edgeColorInactive:x}=t;return{background:e,node:{palette:d,style:{donutOpacity:1,badgeBackgroundOpacity:1,badgeFill:"#fff",badgeFontSize:8,badgePadding:[0,4],badgePalette:u,fill:i,fillOpacity:1,halo:!1,iconFill:"#fff",iconOpacity:1,labelBackground:!1,labelBackgroundFill:e,labelBackgroundLineWidth:0,labelBackgroundOpacity:.75,labelFill:n,labelFillOpacity:.85,labelLineHeight:16,labelPadding:[0,2],labelFontSize:12,labelFontWeight:400,labelOpacity:1,labelOffsetY:2,lineWidth:0,portFill:i,portLineWidth:1,portStroke:a,portStrokeOpacity:.65,size:32,stroke:a,strokeOpacity:1,zIndex:2},state:{selected:{halo:!0,haloLineWidth:24,haloStrokeOpacity:s,labelFontSize:12,labelFontWeight:"bold",lineWidth:4,stroke:a},active:{halo:!0,haloLineWidth:12,haloStrokeOpacity:o},highlight:{labelFontWeight:"bold",lineWidth:4,stroke:a,strokeOpacity:.85},inactive:{badgeBackgroundOpacity:c,donutOpacity:c,fillOpacity:c,iconOpacity:h,labelFill:n,labelFillOpacity:c,strokeOpacity:c},disabled:{badgeBackgroundOpacity:.25,donutOpacity:l,fill:r,fillOpacity:l,iconFill:r,iconOpacity:.25,labelFill:n,labelFillOpacity:.25,strokeOpacity:l}},animation:{enter:"fade",exit:"fade",show:"fade",hide:"fade",expand:"node-expand",collapse:"node-collapse",update:[{fields:["x","y","fill","stroke"]}],translate:[{fields:["x","y"]}]}},edge:{palette:g,style:{badgeBackgroundFill:p,badgeFill:"#fff",badgeFontSize:8,badgeOffsetX:10,fillOpacity:1,halo:!1,haloLineWidth:12,haloStrokeOpacity:1,increasedLineWidthForHitTesting:2,labelBackground:!1,labelBackgroundFill:e,labelBackgroundLineWidth:0,labelBackgroundOpacity:.75,labelBackgroundPadding:[4,4,4,4],labelFill:n,labelFontSize:12,labelFontWeight:400,labelOpacity:1,labelPlacement:"center",labelTextBaseline:"middle",lineWidth:1,stroke:p,strokeOpacity:1,zIndex:1},state:{selected:{halo:!0,haloStrokeOpacity:.25,labelFontSize:14,labelFontWeight:"bold",lineWidth:3},active:{halo:!0,haloStrokeOpacity:.15},highlight:{labelFontWeight:"bold",lineWidth:3},inactive:{stroke:x,fillOpacity:.08,labelOpacity:.25,strokeOpacity:.08,badgeBackgroundOpacity:.25},disabled:{stroke:f,fillOpacity:.45,strokeOpacity:.45,labelOpacity:.25,badgeBackgroundOpacity:.45}},animation:{enter:"fade",exit:"fade",expand:"path-in",collapse:"path-out",show:"fade",hide:"fade",update:[{fields:["sourceNode","targetNode"]},{fields:["stroke"],shape:"key"}],translate:[{fields:["sourceNode","targetNode"]}]}},combo:{style:{collapsedMarkerFill:e,collapsedMarkerFontSize:12,collapsedMarkerFillOpacity:1,collapsedSize:32,collapsedFillOpacity:1,fill:y,halo:!1,haloLineWidth:12,haloStroke:v,haloStrokeOpacity:.25,labelBackground:!1,labelBackgroundFill:e,labelBackgroundLineWidth:0,labelBackgroundOpacity:.75,labelBackgroundPadding:[2,4,2,4],labelFill:n,labelFontSize:12,labelFontWeight:400,labelOpacity:1,lineDash:0,lineWidth:1,fillOpacity:.04,strokeOpacity:1,padding:10,stroke:v},state:{selected:{halo:!0,labelFontSize:14,labelFontWeight:700,lineWidth:4},active:{halo:!0},highlight:{labelFontWeight:700,lineWidth:4},inactive:{fillOpacity:.65,labelOpacity:.25,strokeOpacity:.65},disabled:{fill:m,fillOpacity:.25,labelOpacity:.25,stroke:b,strokeOpacity:.25}},animation:{enter:"fade",exit:"fade",show:"fade",hide:"fade",expand:"combo-expand",collapse:"combo-collapse",update:[{fields:["x","y"]},{fields:["fill","stroke","lineWidth"],shape:"key"}],translate:[{fields:["x","y"]}]}}}}let lR=lS({bgColor:"#000000",comboColor:"#fdfdfd",comboColorDisabled:"#d0e4ff",comboStroke:"#99add1",comboStrokeDisabled:"#969696",edgeColor:"#637088",edgeColorDisabled:"#637088",edgeColorInactive:"#D0E4FF",edgePaletteOptions:{type:"group",color:["#637088","#0F55A6","#008383","#9C5D38","#8B53A6","#4E40A6","#8F6608","#3E801D","#A65383","#175E75","#0F8248"]},nodeColor:"#1783ff",nodeColorDisabled:"#D0E4FF",nodeHaloStrokeOpacityActive:.25,nodeHaloStrokeOpacitySelected:.45,nodeIconOpacityInactive:.45,nodeOpacityDisabled:.25,nodeOpacityInactive:.45,nodeStroke:"#d0e4ff",textColor:"#ffffff"}),lA=lS({bgColor:"#ffffff",comboColor:"#99ADD1",comboColorDisabled:"#f0f0f0",comboStroke:"#99add1",comboStrokeDisabled:"#d9d9d9",edgeColor:"#99add1",edgeColorDisabled:"#d9d9d9",edgeColorInactive:"#1B324F",nodeColor:"#1783ff",nodeColorDisabled:"#1B324F",nodeHaloStrokeOpacityActive:.15,nodeHaloStrokeOpacitySelected:.25,nodeIconOpacityInactive:.85,nodeOpacityDisabled:.06,nodeOpacityInactive:.25,nodeStroke:"#000000",textColor:"#000000"});class lO extends tc{beforeDraw(t,e){return t}}function lM(t,e,n,i,r){let a=tt(i),o="".concat(n,"s"),s=r?i:t.add[o].get(a)||t.update[o].get(a)||t.remove[o].get(a)||i;Object.entries(t).forEach(t=>{let[n,i]=t;e===n?i[o].set(a,s):i[o].delete(a)})}let lT=(t,e,n,i)=>{let r="".concat(n,"s"),a=tt(i);t.add[r].has(a)||t.update[r].has(a)||t[e][r].set(tt(i),i)};class lk{constructor(t){this.type=t}}class lP extends lk{constructor(t,e){super(t),this.data=e}}class lL extends lk{constructor(t,e,n,i){super(t),this.animationType=e,this.animation=n,this.data=i}}class lD extends lk{constructor(t,e,n){super(t),this.elementType=e,this.data=n}}class lN extends lk{constructor(t,e){super(t),this.data=e}}function lI(t,e){t.emit(e.type,e)}class lB{getTasks(){let t=[...this.tasks];return this.tasks=[],t}add(t,e){this.tasks.push([t,e])}animate(t,e,n){var i,r,a;null==e||null===(i=e.before)||void 0===i||i.call(e);let o=this.getTasks().map(e=>{var i,r,a;let[o,s]=e,{element:l,elementType:h,stage:c}=o,u=function(t,e,n,i){var r,a;let{animation:o}=t,s=null==t?void 0:null===(r=t[e])||void 0===r?void 0:r.animation;if(!1===s)return[];let l=null==s?void 0:s[n];if(!1===l||!1===o||!1===i)return[];let h=null===(a=K(t)[e])||void 0===a?void 0:a.animation,c=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(function(t){if("string"==typeof t){let e=V(M.ANIMATION,t);return e||(Y.warn("The animation of ".concat(t," is not registered.")),[])}return t})(t).map(t=>({...z,...(0,j.Z)(o)&&o,...t,...(0,j.Z)(i)&&i}))};if(l)return c(l);if(!h)return[];let u=h[n];return!1===u?[]:c(u)}(this.context.options,h,c,t);null==s||null===(i=s.before)||void 0===i||i.call(s);let d=tr(l,this.inferStyle(o,n),u);return d?(null==s||null===(a=s.beforeAnimate)||void 0===a||a.call(s,d),d.finished.then(()=>{var t,e;null==s||null===(t=s.afterAnimate)||void 0===t||t.call(s,d),null==s||null===(e=s.after)||void 0===e||e.call(s),this.animations.delete(d)})):null==s||null===(r=s.after)||void 0===r||r.call(s),d}).filter(Boolean);o.forEach(t=>this.animations.add(t));let s=$(o);return s?(null==e||null===(a=e.beforeAnimate)||void 0===a||a.call(e,s),s.finished.then(()=>{var t,n;null==e||null===(t=e.afterAnimate)||void 0===t||t.call(e,s),null==e||null===(n=e.after)||void 0===n||n.call(e),this.release()})):null==e||null===(r=e.after)||void 0===r||r.call(e),s}inferStyle(t,e){var n;let{element:i,elementType:r,stage:a,originalStyle:o,modifiedStyle:s}=t,l={...o},h={...s},c=()=>null!==(n=eg(i,"opacity"))&&void 0!==n?n:q("opacity");if("enter"===a)Object.assign(l,{opacity:0});else if("exit"===a)Object.assign(h,{opacity:0});else if("show"===a)Object.assign(l,{opacity:0}),Object.assign(h,{opacity:c()});else if("hide"===a)Object.assign(l,{opacity:c()}),Object.assign(h,{opacity:0});else if("collapse"===a){let{collapse:t}=e||{},{target:n,descendants:a,position:o}=t;if("node"===r){if(a.includes(i.id)){let[t,e,n]=o;Object.assign(h,{x:t,y:e,z:n})}}else if("combo"===r){if(i.id===n||a.includes(i.id)){let[t,e]=o;Object.assign(h,{x:t,y:e,childrenNode:l.childrenNode})}}else"edge"===r&&Object.assign(h,{sourceNode:l.sourceNode,targetNode:l.targetNode})}else if("expand"===a){let{expand:t}=e||{},{target:n,descendants:a,position:o}=t;if("node"===r){if(i.id===n||a.includes(i.id)){let[t,e,n]=o;Object.assign(l,{x:t,y:e,z:n})}}else if("combo"===r){if(i.id===n||a.includes(i.id)){let[t,e,n]=o;Object.assign(l,{x:t,y:e,z:n,childrenNode:h.childrenNode})}}else"edge"===r&&Object.assign(l,{sourceNode:h.sourceNode,targetNode:h.targetNode})}return[l,h]}stop(){this.animations.forEach(t=>t.cancel())}clear(){this.tasks=[]}release(){var t,e;let{canvas:n}=this.context,i=null===(t=n.document)||void 0===t?void 0:null===(e=t.timeline)||void 0===e?void 0:e.animationsWithPromises;i&&(n.document.timeline.animationsWithPromises=i.filter(t=>"finished"!==t.playState))}destroy(){this.stop(),this.animations.clear(),this.tasks=[]}constructor(t){this.tasks=[],this.animations=new Set,this.context=t}}class l_{emit(t){let{graph:e}=this.context;e.emit(t.type,t)}startBatch(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];this.batchCount++,1===this.batchCount&&this.emit(new lP(R.BATCH_START,{initiate:t}))}endBatch(){this.batchCount--,0===this.batchCount&&this.emit(new lP(R.BATCH_END))}get isBatching(){return this.batchCount>0}destroy(){this.context=null}constructor(t){this.batchCount=0,this.context=t}}class lF extends th{setBehaviors(t){this.setExtensions(t)}forwardEvents(){let t=this.context.canvas.getContainer();t&&[C.KEY_DOWN,C.KEY_UP].forEach(e=>{t.addEventListener(e,this.forwardContainerEvents)});let e=this.context.canvas.document;e&&[w.CLICK,w.DBLCLICK,w.POINTER_OVER,w.POINTER_LEAVE,w.POINTER_ENTER,w.POINTER_MOVE,w.POINTER_OUT,w.POINTER_DOWN,w.POINTER_UP,w.CONTEXT_MENU,w.DRAG_START,w.DRAG,w.DRAG_END,w.DRAG_ENTER,w.DRAG_OVER,w.DRAG_LEAVE,w.DROP,w.WHEEL].forEach(t=>{e.addEventListener(t,this.forwardCanvasEvents)})}destroy(){let t=this.context.canvas.getContainer();t&&[C.KEY_DOWN,C.KEY_UP].forEach(e=>{t.removeEventListener(e,this.forwardContainerEvents)}),this.context.canvas.document.removeAllEventListeners(),super.destroy()}constructor(t){super(t),this.currentTarget=null,this.currentTargetType=null,this.category="behavior",this.forwardCanvasEvents=t=>{let{target:e}=t,n=function(t){if(!t)return null;if(t instanceof I.BB)return{type:"canvas",element:t};let e=t;for(;e;){if(nY(e))return{type:"node",element:e};if(nK(e))return{type:"edge",element:e};if(n$(e))return{type:"combo",element:e};e=e.parentElement}return null}(e);if(!n)return;let{graph:i,canvas:r}=this.context,{type:a,element:o}=n;if("destroyed"in o&&(n9(o)||o.destroyed))return;let{type:s,detail:l,button:h}=t,c={...t,target:o,targetType:a,originalTarget:e};s===w.POINTER_MOVE&&(this.currentTarget!==o&&(this.currentTarget&&i.emit("".concat(this.currentTargetType,":").concat(w.POINTER_LEAVE),{...c,type:w.POINTER_LEAVE,target:this.currentTarget}),o&&(Object.assign(c,{type:w.POINTER_ENTER}),i.emit("".concat(a,":").concat(w.POINTER_ENTER),c))),this.currentTarget=o,this.currentTargetType=a),s===w.CLICK&&2===h||(i.emit("".concat(a,":").concat(s),c),i.emit(s,c)),s===w.CLICK&&2===l&&(Object.assign(c,{type:w.DBLCLICK}),i.emit("".concat(a,":").concat(w.DBLCLICK),c),i.emit(w.DBLCLICK,c)),s===w.POINTER_DOWN&&2===h&&(Object.assign(c,{type:w.CONTEXT_MENU,preventDefault:()=>{var t;null===(t=r.getContainer())||void 0===t||t.addEventListener(w.CONTEXT_MENU,t=>t.preventDefault(),{once:!0})}}),i.emit("".concat(a,":").concat(w.CONTEXT_MENU),c),i.emit(w.CONTEXT_MENU,c))},this.forwardContainerEvents=t=>{this.context.graph.emit(t.type,t)},this.forwardEvents(),this.setBehaviors(this.context.options.behaviors||[])}}var lj=n(98875);let lZ=["background","main","label","transient"];class lz{getConfig(){return this.config}getLayer(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"main";return this.extends.layers[t]}getLayers(){return this.extends.layers}getRenderer(t){return this.extends.renderers[t]}getCamera(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"main";return this.getLayer(t).getCamera()}getRoot(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"main";return this.getLayer(t).getRoot()}getContextService(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"main";return this.getLayer(t).getContextService()}setCursor(t){this.config.cursor=t,this.getLayer().setCursor(t)}get document(){return this.getLayer().document}get context(){return this.getLayer().context}get ready(){return Promise.all(Object.entries(this.getLayers()).map(t=>{let[,e]=t;return e.ready}))}resize(t,e){Object.assign(this.extends.config,{width:t,height:e}),Object.values(this.getLayers()).forEach(n=>{let i=n.getCamera(),r=i.getPosition(),a=i.getFocalPoint();n.resize(t,e),i.setPosition(r),i.setFocalPoint(a)})}getBounds(t){return tw(Object.values(this.getLayers()).map(e=>{let n=t?e.getRoot().childNodes.find(e=>e.classList.includes(t)):e.getRoot();return n}).filter(t=>(null==t?void 0:t.childNodes.length)>0).map(t=>t.getBounds()))}getContainer(){let t=this.extends.config.container;return"string"==typeof t?document.getElementById(t):t}getSize(){return[this.extends.config.width||0,this.extends.config.height||0]}appendChild(t,e){var n;let i=(null===(n=t.style)||void 0===n?void 0:n.$layer)||"main";return this.getLayer(i).appendChild(t,e)}setRenderer(t){if(t===this.extends.renderer)return;let e=lG(t);this.extends.renderers=e,Object.entries(e).forEach(t=>{let[e,n]=t;return this.getLayer(e).setRenderer(n)}),lH(this.getLayers())}getCanvasByViewport(t){return tV(this.getLayer().viewport2Canvas(tU(t)))}getViewportByCanvas(t){return tV(this.getLayer().canvas2Viewport(tU(t)))}getViewportByClient(t){return tV(this.getLayer().client2Viewport(tU(t)))}getClientByViewport(t){return tV(this.getLayer().viewport2Client(tU(t)))}getClientByCanvas(t){return this.getClientByViewport(this.getViewportByCanvas(t))}getCanvasByClient(t){let e=this.getLayer(),n=e.client2Viewport(tU(t));return tV(e.viewport2Canvas(n))}async toDataURL(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=window.devicePixelRatio||1,{mode:n="viewport",...i}=t,[r,a,o,s]=[0,0,0,0];if("viewport"===n)[o,s]=this.getSize();else if("overall"===n){let t=this.getBounds(),e=tb(t);[r,a]=t.min,[o,s]=e}let l=(0,lc.L)('
    '),h=new I.Xz({width:o,height:s,renderer:new of,devicePixelRatio:e,container:l,background:this.extends.config.background});await h.ready,h.appendChild(this.getLayer("background").getRoot().cloneNode(!0)),h.appendChild(this.getRoot().cloneNode(!0));let c=this.getLayer("label").getRoot().cloneNode(!0),u=h.viewport2Canvas({x:0,y:0}),d=this.getCanvasByViewport([0,0]);c.translate([d[0]-u.x,d[1]-u.y]),c.scale(1/this.getCamera().getZoom()),h.appendChild(c),h.appendChild(this.getLayer("transient").getRoot().cloneNode(!0));let p=this.getCamera(),f=h.getCamera();if("viewport"===n)f.setZoom(p.getZoom()),f.setPosition(p.getPosition()),f.setFocalPoint(p.getFocalPoint());else if("overall"===n){let[t,e,n]=f.getPosition(),[i,o,s]=f.getFocalPoint();f.setPosition([t+r,e+a,n]),f.setFocalPoint([i+r,o+a,s])}let g=h.getContextService();return new Promise(t=>{h.addEventListener(I.$6.RERENDER,async()=>{await new Promise(t=>setTimeout(t,300));let e=await g.toDataURL(i);t(e)})})}destroy(){Object.values(this.getLayers()).forEach(t=>{let e=t.getCamera();e.cancelLandmarkAnimation(),t.destroy()})}constructor(t){this.config=t;let{renderer:e,background:n,cursor:i,...r}=t,a=lG(e),o=Object.fromEntries(lZ.map(t=>{let e=new I.Xz({...r,supportsMutipleCanvasesInOneContainer:!0,renderer:a[t],background:"background"===t?n:void 0});return[t,e]}));lH(o),this.extends={config:t,renderer:e,renderers:a,layers:o}}}function lG(t){return Object.fromEntries(lZ.map(e=>{let n=(null==t?void 0:t(e))||new of;return"main"===e?n.registerPlugin(new lj.S({isDocumentDraggable:!0,isDocumentDroppable:!0,dragstartDistanceThreshold:10,dragstartTimeThreshold:100})):n.unregisterPlugin(n.getPlugin("dom-interaction")),[e,n]}))}function lH(t){Object.entries(t).forEach(t=>{let[e,n]=t,i=n.getContextService().getDomElement();i.style.position="absolute",i.style.outline="none",i.tabIndex=1,"main"!==e&&(i.style.pointerEvents="none")})}function lW(t,e){let{data:n,style:i,...r}=t,{data:a,style:o,...s}=e,l={...r,...s};return(n||a)&&Object.assign(l,{data:{...n,...a}}),(i||o)&&Object.assign(l,{style:{...i,...o}}),l}function lV(t){let{data:e,style:n,...i}=t;return e&&(i.data={...e}),n&&(i.style={...n}),i}function lU(t){let{id:e=tt(t),style:n,data:i,...r}=t,a={...t,style:{...n},data:{...i}};return"source"in t&&"target"in t?{id:e,data:a,...r}:{id:e,data:a}}function lY(t){return t.data}class lK{pushChange(t){if(this.isTraceless)return;let{type:e}=t;if(e===v.NodeUpdated||e===v.EdgeUpdated||e===v.ComboUpdated){let{value:n,original:i}=t;this.changes.push({value:lV(n),original:lV(i),type:e})}else this.changes.push({value:lV(t.value),type:e})}getChanges(){return this.changes}clearChanges(){this.changes=[]}batch(t){this.batchCount++,this.model.batch(t),this.batchCount--}silence(t){this.isTraceless=!0,t(),this.isTraceless=!1}isCombo(t){return this.comboIds.has(t)||this.latestRemovedComboIds.has(t)}getData(){return{nodes:this.getNodeData(),edges:this.getEdgeData(),combos:this.getComboData()}}getNodeData(t){return this.model.getAllNodes().reduce((e,n)=>{let i=lY(n);return this.isCombo(tt(i))||(void 0===t?e.push(i):t.includes(tt(i))&&e.push(i)),e},[])}getEdgeDatum(t){return lY(this.model.getEdge(t))}getEdgeData(t){return this.model.getAllEdges().reduce((e,n)=>{let i=lY(n);return void 0===t?e.push(i):t.includes(tt(i))&&e.push(i),e},[])}getComboData(t){return this.model.getAllNodes().reduce((e,n)=>{let i=lY(n);return this.isCombo(tt(i))&&(void 0===t?e.push(i):t.includes(tt(i))&&e.push(i)),e},[])}getAncestorsData(t,e){let{model:n}=this;return n.hasNode(t)&&n.hasTreeStructure(e)?n.getAncestors(t,e).map(lY):[]}getDescendantsData(t){let e=this.getElementDataById(t),n=[];return t8(e,t=>{t!==e&&n.push(t)},t=>this.getChildrenData(tt(t)),"TB"),n}getParentData(t,e){let{model:n}=this;if(!e){Y.warn("The hierarchy structure key is not specified");return}if(!n.hasNode(t)||!n.hasTreeStructure(e))return;let i=n.getParent(t,e);return i?lY(i):void 0}getChildrenData(t){let e="node"===this.getElementType(t)?H:G,{model:n}=this;return n.hasNode(t)&&n.hasTreeStructure(e)?n.getChildren(t,e).map(lY):[]}getElementsDataByType(t){return"node"===t?this.getNodeData():"edge"===t?this.getEdgeData():"combo"===t?this.getComboData():[]}getElementDataById(t){let e=this.getElementType(t);return"edge"===e?this.getEdgeDatum(t):this.getNodeLikeDatum(t)}getNodeLikeDatum(t){let e=this.model.getNode(t);return lY(e)}getNodeLikeData(t){return this.model.getAllNodes().reduce((e,n)=>{let i=lY(n);return t?t.includes(tt(i))&&e.push(i):e.push(i),e},[])}getElementDataByState(t,e){let n=this.getElementsDataByType(t);return n.filter(t=>{var n;return null===(n=t.states)||void 0===n?void 0:n.includes(e)})}getElementState(t){var e;return(null===(e=this.getElementDataById(t))||void 0===e?void 0:e.states)||[]}hasNode(t){return this.model.hasNode(t)&&!this.isCombo(t)}hasEdge(t){return this.model.hasEdge(t)}hasCombo(t){return this.model.hasNode(t)&&this.isCombo(t)}getRelatedEdgesData(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"both";return this.model.getRelatedEdges(t,e).map(lY)}getNeighborNodesData(t){return this.model.getNeighbors(t).map(lY)}setData(t){let{nodes:e=[],edges:n=[],combos:i=[]}=t,{nodes:r,edges:a,combos:o}=this.getData(),s=tl(r,e,t=>tt(t)),l=tl(a,n,t=>tt(t)),h=tl(o,i,t=>tt(t));this.batch(()=>{this.addData({nodes:s.enter,edges:l.enter,combos:h.enter}),this.updateData({nodes:s.update,edges:l.update,combos:h.update}),this.removeData({nodes:s.exit.map(tt),edges:l.exit.map(tt),combos:h.exit.map(tt)})})}addData(t){let{nodes:e,edges:n,combos:i}=t;this.batch(()=>{this.addComboData(i),this.addNodeData(e),this.addEdgeData(n)})}addNodeData(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.length&&(this.model.addNodes(t.map(t=>(this.pushChange({value:t,type:v.NodeAdded}),lU(t)))),this.updateNodeLikeHierarchy(t))}addEdgeData(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.length&&this.model.addEdges(t.map(t=>(this.pushChange({value:t,type:v.EdgeAdded}),lU(t))))}addComboData(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!t.length)return;let{model:e}=this;e.hasTreeStructure(G)||e.attachTreeStructure(G),e.addNodes(t.map(t=>(this.comboIds.add(tt(t)),this.pushChange({value:t,type:v.ComboAdded}),lU(t)))),this.updateNodeLikeHierarchy(t)}addChildrenData(t,e){let n=this.getNodeLikeDatum(t),i=e.map(tt);this.addNodeData(e),this.updateNodeData([{id:t,children:[...n.children||[],...i]}]),this.addEdgeData(i.map(e=>({source:t,target:e})))}updateNodeLikeHierarchy(t){if(!this.enableUpdateNodeLikeHierarchy)return;let{model:e}=this;t.forEach(t=>{let n=tt(t);e.attachTreeStructure(G),this.setParent(n,t.combo,G);let i=t.children;if(void 0!==i){e.attachTreeStructure(H);let t=i.filter(t=>e.hasNode(t));t.forEach(t=>this.setParent(t,n,H)),t.length!==i.length&&this.updateNodeData([{id:n,children:t}])}})}preventUpdateNodeLikeHierarchy(t){this.enableUpdateNodeLikeHierarchy=!1,t(),this.enableUpdateNodeLikeHierarchy=!0}updateData(t){let{nodes:e,edges:n,combos:i}=t;this.batch(()=>{this.updateNodeData(e),this.updateComboData(i),this.updateEdgeData(n)})}updateNodeData(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!t.length)return;let{model:e}=this;this.batch(()=>{let n=[];t.forEach(t=>{let i=tt(t),r=lY(e.getNode(i));if((0,F.Z)(r,t))return;let a=lW(r,t);this.pushChange({value:a,original:r,type:v.NodeUpdated}),e.mergeNodeData(i,a),n.push(a)}),this.updateNodeLikeHierarchy(n)})}refreshData(){let{nodes:t,edges:e,combos:n}=this.getData();t.forEach(t=>{this.pushChange({value:t,original:t,type:v.NodeUpdated})}),e.forEach(t=>{this.pushChange({value:t,original:t,type:v.EdgeUpdated})}),n.forEach(t=>{this.pushChange({value:t,original:t,type:v.ComboUpdated})})}syncNodeDatum(t){let{model:e}=this,n=tt(t),i=lY(e.getNode(n)),r=lW(i,t);e.mergeNodeData(n,r)}updateEdgeData(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!t.length)return;let{model:e}=this;this.batch(()=>{t.forEach(t=>{let n=tt(t),i=lY(e.getEdge(n));if((0,F.Z)(i,t))return;t.source&&i.source!==t.source&&e.updateEdgeSource(n,t.source),t.target&&i.target!==t.target&&e.updateEdgeTarget(n,t.target);let r=lW(i,t);this.pushChange({value:r,original:i,type:v.EdgeUpdated}),e.mergeEdgeData(n,r)})})}updateComboData(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!t.length)return;let{model:e}=this;e.batch(()=>{let n=[];t.forEach(t=>{let i=tt(t),r=lY(e.getNode(i));if((0,F.Z)(r,t))return;let a=lW(r,t);this.pushChange({value:a,original:r,type:v.ComboUpdated}),e.mergeNodeData(i,a),n.push(a)}),this.updateNodeLikeHierarchy(n)})}setParent(t,e,n){let i=!(arguments.length>3)||void 0===arguments[3]||arguments[3];if(t===e)return;let r=this.getNodeLikeDatum(t).combo;if(r!==e&&n===G){let n={id:t,combo:e};this.isCombo(t)?this.syncComboDatum(n):this.syncNodeDatum(n)}this.model.setParent(t,e,n),i&&n===G&&(function(t,e){void 0===e&&(e=new Map);var n=[];if(Array.isArray(t))for(var i=0,r=t.length;i{void 0!==t&&this.refreshComboData(t)})}refreshComboData(t){let e=this.getComboData([t])[0],n=this.getAncestorsData(t,G);e&&this.pushChange({value:e,original:e,type:v.ComboUpdated}),n.forEach(t=>{this.pushChange({value:t,original:t,type:v.ComboUpdated})})}syncComboDatum(t){let{model:e}=this,n=tt(t);if(!e.hasNode(n))return;let i=lY(e.getNode(n)),r=lW(i,t);e.mergeNodeData(n,r)}getElementPosition(t){let e=this.getElementDataById(t);return tH(e)}translateNodeLikeBy(t,e){this.isCombo(t)?this.translateComboBy(t,e):this.translateNodeBy(t,e)}translateNodeLikeTo(t,e){this.isCombo(t)?this.translateComboTo(t,e):this.translateNodeTo(t,e)}translateNodeBy(t,e){let n=this.getElementPosition(t),i=tM(n,[...e,0].slice(0,3));this.translateNodeTo(t,i)}translateNodeTo(t,e){let[n=0,i=0,r=0]=e;this.preventUpdateNodeLikeHierarchy(()=>{this.updateNodeData([{id:t,style:{x:n,y:i,z:r}}])})}translateComboBy(t,e){let[n=0,i=0,r=0]=e;if([n,i,r].some(isNaN)||[n,i,r].every(t=>0===t))return;let a=this.getComboData([t])[0];a&&t8(a,t=>{let e=tt(t),[a,o,s]=tH(t),l=lW(t,{style:{x:a+n,y:o+i,z:s+r}});this.pushChange({value:l,original:t,type:this.isCombo(e)?v.ComboUpdated:v.NodeUpdated}),this.model.mergeNodeData(e,l)},t=>this.getChildrenData(tt(t)),"BT")}translateComboTo(t,e){var n;if(e.some(isNaN))return;let[i=0,r=0,a=0]=e,o=null===(n=this.getComboData([t]))||void 0===n?void 0:n[0];if(!o)return;let[s,l,h]=tH(o),c=i-s,u=r-l,d=a-h;t8(o,t=>{let e=tt(t),[n,i,r]=tH(t),a=lW(t,{style:{x:n+c,y:i+u,z:r+d}});this.pushChange({value:a,original:t,type:this.isCombo(e)?v.ComboUpdated:v.NodeUpdated}),this.model.mergeNodeData(e,a)},t=>this.getChildrenData(tt(t)),"BT")}removeData(t){let{nodes:e,edges:n,combos:i}=t;this.batch(()=>{this.removeEdgeData(n),this.removeNodeData(e),this.removeComboData(i),this.latestRemovedComboIds=new Set(i)})}removeNodeData(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.length&&this.batch(()=>{t.forEach(t=>{this.removeEdgeData(this.getRelatedEdgesData(t).map(tt)),this.pushChange({value:this.getNodeData([t])[0],type:v.NodeRemoved}),this.removeNodeLikeHierarchy(t)}),this.model.removeNodes(t)})}removeEdgeData(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.length&&(t.forEach(t=>this.pushChange({value:this.getEdgeData([t])[0],type:v.EdgeRemoved})),this.model.removeEdges(t))}removeComboData(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.length&&this.batch(()=>{t.forEach(t=>{this.pushChange({value:this.getComboData([t])[0],type:v.ComboRemoved}),this.removeNodeLikeHierarchy(t),this.comboIds.delete(t)}),this.model.removeNodes(t)})}removeNodeLikeHierarchy(t){if(this.model.hasTreeStructure(G)){let e=this.getNodeLikeDatum(t).combo;this.setParent(t,void 0,G,!1),this.model.getChildren(t,G).forEach(t=>{let n=lY(t),i=tt(n);this.setParent(tt(n),e,G,!1);let r=lW(n,{id:tt(n),combo:e});this.pushChange({value:r,original:n,type:this.isCombo(i)?v.ComboUpdated:v.NodeUpdated}),this.model.mergeNodeData(tt(n),r)}),(0,e9.Z)(e)||this.refreshComboData(e)}}getElementType(t){if(this.model.hasNode(t))return this.isCombo(t)?"combo":"node";if(this.model.hasEdge(t))return"edge";throw Error(U("Unknown element type of id: ".concat(t)))}destroy(){let{model:t}=this,e=t.getAllNodes(),n=t.getAllEdges();t.removeEdges(n.map(t=>t.id)),t.removeNodes(e.map(t=>t.id)),this.context={}}constructor(){this.latestRemovedComboIds=new Set,this.comboIds=new Set,this.changes=[],this.batchCount=0,this.isTraceless=!1,this.enableUpdateNodeLikeHierarchy=!0,this.model=new io.k}}class l${init(){if(!this.container){let{canvas:t}=this.context;this.container=t.appendChild(new I.ZA({className:"elements"}))}}emit(t,e){e.silence||lI(this.context.graph,t)}forEachElementData(t){t4.forEach(e=>{let n=this.context.model.getElementsDataByType(e);t(e,n)})}getElementType(t,e){var n;let{options:i,graph:r}=this.context,a=(null===(n=i[t])||void 0===n?void 0:n.type)||e.type;return a?"string"==typeof a?a:a.call(r,e):"edge"===t?"line":"circle"}getTheme(t){return K(this.context.options)[t]||{}}getThemeStyle(t){return this.getTheme(t).style||{}}getThemeStateStyle(t,e){let{state:n={}}=this.getTheme(t);return Object.assign({},...e.map(t=>n[t]||{}))}computePaletteStyle(){let{options:t}=this.context;this.paletteStyle={},this.forEachElementData((e,n)=>{var i,r;let a=Object.assign({},eC(null===(i=this.getTheme(e))||void 0===i?void 0:i.palette),eC(null===(r=t[e])||void 0===r?void 0:r.palette));(null==a?void 0:a.field)&&Object.assign(this.paletteStyle,function(t,e){if(!e)return{};let{type:n,color:i,field:r,invert:a}=e,o=t=>{let e="string"==typeof i?V("palette",i):i;if("function"==typeof e){let n={};return t.forEach(t=>{let[i,r]=t;n[i]=e(a?1-r:r)}),n}if(Array.isArray(e)){let n=a?[...e].reverse():e,i={};return t.forEach(t=>{let[r,a]=t;i[r]=n[a%e.length]}),i}return{}},s=(t,e)=>{var n;return"string"==typeof t?null===(n=e.data)||void 0===n?void 0:n[t]:null==t?void 0:t(e)};if("group"===n){let e=ew(t,t=>{if(!r)return"default";let e=s(r,t);return e?String(e):"default"}),n=Object.keys(e),i=o(n.map((t,e)=>[t,e])),a={};return Object.entries(e).forEach(t=>{let[e,n]=t;n.forEach(t=>{a[tt(t)]=i[e]})}),a}if("value"===n){let[e,n]=t.reduce((t,e)=>{let[n,i]=t,a=s(r,e);if("number"!=typeof a)throw Error(U("Palette field ".concat(r," is not a number")));return[Math.min(n,a),Math.max(i,a)]},[1/0,-1/0]),i=n-e;return o(t.map(t=>[t.id,(s(r,t)-e)/i]))}}(n,a))})}getPaletteStyle(t,e){let n=this.paletteStyle[e];return n?"edge"===t?{stroke:n}:{fill:n}:{}}computeElementDefaultStyle(t,e){var n;let{options:i}=this.context,r=(null===(n=i[t])||void 0===n?void 0:n.style)||{};this.defaultStyle[tt(e.datum)]=ec(r,e)}computeElementsDefaultStyle(t){let{graph:e}=this.context;this.forEachElementData((n,i)=>{let r=i.length;for(let a=0;athis.getElementStateStyle(t,e,n)))}computeElementsStatesStyle(t){let{graph:e}=this.context;this.forEachElementData((n,i)=>{let r=i.length;for(let a=0;a{let{id:e}=t;return this.elementMap[e]})}getEdges(){return this.context.model.getEdgeData().map(t=>this.elementMap[tt(t)])}getCombos(){return this.context.model.getComboData().map(t=>{let{id:e}=t;return this.elementMap[e]})}getElementComputedStyle(t,e){let n=tt(e),i=this.getThemeStyle(t),r=this.getPaletteStyle(t,n),a=e.style||{},o=this.getDefaultStyle(n),s=this.getThemeStateStyle(t,this.getElementState(n)),l=this.getStateStyle(n),h=Object.assign({},i,r,a,o,s,l);if("combo"===t){let t=this.context.model.getChildrenData(n),e=!!h.collapsed,i=e?[]:t.map(tt).filter(t=>this.getElement(t));Object.assign(h,{childrenNode:i,childrenData:t})}return h}draw(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{animation:!0};this.init();let e=this.computeChangesAndDrawData(t);if(!e)return null;let{dataChanges:n,drawData:i}=e;this.markDestroyElement(i),this.computeStyle(t.stage);let{add:r,update:a,remove:o}=i;this.destroyElements(o,t),this.createElements(r,t),this.updateElements(a,t);let{animation:s,silence:l}=t,{type:h="draw"}=t,c="render"===h;return this.context.animation.animate(s,l?{}:{before:()=>this.emit(new lP(R.BEFORE_DRAW,{dataChanges:n,animation:s,render:c}),t),beforeAnimate:e=>this.emit(new lL(R.BEFORE_ANIMATE,b.DRAW,e,i),t),afterAnimate:e=>this.emit(new lL(R.AFTER_ANIMATE,b.DRAW,e,i),t),after:()=>this.emit(new lP(R.AFTER_DRAW,{dataChanges:n,animation:s,render:c}),t)})}computeChangesAndDrawData(t){let{model:e}=this.context,n=e.getChanges(),i=rc(n);if(0===i.length)return null;let{NodeAdded:r=[],NodeUpdated:a=[],NodeRemoved:o=[],EdgeAdded:s=[],EdgeUpdated:l=[],EdgeRemoved:h=[],ComboAdded:c=[],ComboUpdated:u=[],ComboRemoved:d=[]}=ew(i,t=>t.type),p=t=>new Map(t.map(t=>{let e=t.value;return[tt(e),e]})),f={add:{nodes:p(r),edges:p(s),combos:p(c)},update:{nodes:p(a),edges:p(l),combos:p(u)},remove:{nodes:p(o),edges:p(h),combos:p(d)}},g=this.transformData(f,t);return e.clearChanges(),{dataChanges:n,drawData:g}}transformData(t,e){let n=this.context.transform.getTransformInstance();return Object.values(n).reduce((t,n)=>n.beforeDraw(t,e),t)}createElement(t,e,n){var i;let r=tt(e),a=this.getElement(r);if(a)return;let o=this.getElementType(t,e),s=this.getElementComputedStyle(t,e),l=V(t,o);if(!l)return Y.warn("The element ".concat(o," of ").concat(t," is not registered."));this.emit(new lD(R.BEFORE_ELEMENT_CREATE,t,e),n);let h=this.container.appendChild(new l({id:r,style:{context:this.context,...s}}));this.shapeTypeMap[r]=o,this.elementMap[r]=h;let{stage:c="enter"}=n;null===(i=this.context.animation)||void 0===i||i.add({element:h,elementType:t,stage:c,originalStyle:{...h.attributes},modifiedStyle:{...h.attributes,...s}},{after:()=>{var i;this.emit(new lD(R.AFTER_ELEMENT_CREATE,t,e),n),null===(i=h.onCreate)||void 0===i||i.call(h)}})}createElements(t,e){let{nodes:n,edges:i,combos:r}=t;[["node",n],["combo",r],["edge",i]].forEach(t=>{let[n,i]=t;i.forEach(t=>this.createElement(n,t,e))})}updateElement(t,e,n){var i;let r=tt(e),a=this.getElement(r);if(!a)return()=>null;this.emit(new lD(R.BEFORE_ELEMENT_UPDATE,t,e),n);let o=this.getElementType(t,e),s=this.getElementComputedStyle(t,e);this.shapeTypeMap[r]!==o&&(a.destroy(),delete this.shapeTypeMap[r],delete this.elementMap[r],this.createElement(t,e,{animation:!1,silence:!0}));let{stage:l="update"}=n,h="visibility"!==l?l:"hidden"===s.visibility?"hide":"show";"hide"===h&&delete s.visibility,null===(i=this.context.animation)||void 0===i||i.add({element:a,elementType:t,stage:h,originalStyle:{...a.attributes},modifiedStyle:{...a.attributes,...s}},{before:()=>{let t=this.elementMap[r];"collapse"!==l&&n8(t,s),"visibility"===l&&(ey(t,"opacity")||ef(t,"opacity"),this.visibilityCache.set(t,"show"===h?"visible":"hidden"),"show"===h&&eM(t,"visible"))},after:()=>{var i;let a=this.elementMap[r];"collapse"===l&&n8(a,s),"hide"===h&&eM(a,this.visibilityCache.get(a)),this.emit(new lD(R.AFTER_ELEMENT_UPDATE,t,e),n),null===(i=a.onUpdate)||void 0===i||i.call(a)}})}updateElements(t,e){let{nodes:n,edges:i,combos:r}=t;[["node",n],["combo",r],["edge",i]].forEach(t=>{let[n,i]=t;i.forEach(t=>this.updateElement(n,t,e))})}markDestroyElement(t){Object.values(t.remove).forEach(t=>{t.forEach(t=>{let e=tt(t),n=this.getElement(e);n&&(0,ei.Z)(n,"__to_be_destroyed__",!0)})})}destroyElement(t,e,n){var i;let{stage:r="exit"}=n,a=tt(e),o=this.elementMap[a];if(!o)return()=>null;this.emit(new lD(R.BEFORE_ELEMENT_DESTROY,t,e),n),null===(i=this.context.animation)||void 0===i||i.add({element:o,elementType:t,stage:r,originalStyle:{...o.attributes},modifiedStyle:{...o.attributes}},{after:()=>{var i;this.clearElement(a),o.destroy(),null===(i=o.onDestroy)||void 0===i||i.call(o),this.emit(new lD(R.AFTER_ELEMENT_DESTROY,t,e),n)}})}destroyElements(t,e){let{nodes:n,edges:i,combos:r}=t;[["combo",r],["edge",i],["node",n]].forEach(t=>{let[n,i]=t;i.forEach(t=>this.destroyElement(n,t,e))})}clearElement(t){delete this.paletteStyle[t],delete this.defaultStyle[t],delete this.stateStyle[t],delete this.elementMap[t],delete this.shapeTypeMap[t]}async collapseNode(t,e){var n;let{model:i,layout:r}=this.context,a=this.computeChangesAndDrawData({stage:"collapse",animation:e});this.markDestroyElement(a.drawData);let o=await r.simulate();i.updateData(o);let{drawData:s}=this.computeChangesAndDrawData({stage:"collapse",animation:e}),{add:l,remove:h,update:c}=s;this.markDestroyElement(s);let u={animation:e,stage:"collapse",data:s};this.destroyElements(h,u),this.createElements(l,u),this.updateElements(c,u),await (null===(n=this.context.animation.animate(e,{beforeAnimate:t=>this.emit(new lL(R.BEFORE_ANIMATE,b.COLLAPSE,t,s),u),afterAnimate:t=>this.emit(new lL(R.AFTER_ANIMATE,b.COLLAPSE,t,s),u)},{collapse:{target:t,descendants:Array.from(h.nodes).map(t=>{let[,e]=t;return tt(e)}),position:tH(c.nodes.get(t))}}))||void 0===n?void 0:n.finished)}async expandNode(t,e){var n;let{model:i,layout:r}=this.context;if(!i.getAncestorsData(t,G).every(t=>ee(t)))return;let a=tH(i.getNodeData([t])[0]),{drawData:{add:o}}=this.computeChangesAndDrawData({stage:"collapse",animation:e});this.createElements(o,{animation:!1,stage:"expand"}),this.context.animation.clear();let s=await r.simulate();i.updateData(s),this.computeStyle("expand");let{drawData:l}=this.computeChangesAndDrawData({stage:"collapse",animation:e}),{update:h}=l,c={animation:e,stage:"expand",data:l};o.edges.forEach(t=>{let e=tt(t);h.edges.has(e)||h.edges.set(e,t)}),this.updateElements(h,c),await (null===(n=this.context.animation.animate(e,{beforeAnimate:t=>this.emit(new lL(R.BEFORE_ANIMATE,b.EXPAND,t,l),c),afterAnimate:t=>this.emit(new lL(R.AFTER_ANIMATE,b.EXPAND,t,l),c)},{expand:{target:t,descendants:Array.from(o.nodes).map(t=>{let[,e]=t;return tt(e)}),position:a}}))||void 0===n?void 0:n.finished)}async collapseCombo(t,e){var n;let{model:i,element:r}=this.context;if(i.getAncestorsData(t,G).some(t=>ee(t)))return;let a=r.getElement(t),o=a.getComboPosition({...a.attributes,collapsed:!0}),{dataChanges:s,drawData:l}=this.computeChangesAndDrawData({stage:"collapse",animation:e});this.markDestroyElement(l);let{update:h,remove:c}=l,u={animation:e,stage:"collapse",data:l};this.destroyElements(c,u),this.updateElements(h,u);let d=t=>Array.from(t).map(t=>{let[,e]=t;return tt(e)});await (null===(n=this.context.animation.animate(e,{before:()=>this.emit(new lP(R.BEFORE_DRAW,{dataChanges:s,animation:e}),u),beforeAnimate:t=>this.emit(new lL(R.BEFORE_ANIMATE,b.COLLAPSE,t,l),u),afterAnimate:t=>this.emit(new lL(R.AFTER_ANIMATE,b.COLLAPSE,t,l),u),after:()=>this.emit(new lP(R.AFTER_DRAW,{dataChanges:s,animation:e}),u)},{collapse:{target:t,descendants:[...d(c.nodes),...d(c.combos)],position:o}}))||void 0===n?void 0:n.finished)}async expandCombo(t,e){var n;let{model:i}=this.context,r=tH(i.getComboData([t])[0]);this.computeStyle("expand");let{dataChanges:a,drawData:o}=this.computeChangesAndDrawData({stage:"expand",animation:e}),{add:s,update:l}=o,h={animation:e,stage:"expand",data:o};this.createElements(s,h),this.updateElements(l,h);let c=t=>Array.from(t).map(t=>{let[,e]=t;return tt(e)});await (null===(n=this.context.animation.animate(e,{before:()=>this.emit(new lP(R.BEFORE_DRAW,{dataChanges:a,animation:e}),h),beforeAnimate:t=>this.emit(new lL(R.BEFORE_ANIMATE,b.EXPAND,t,o),h),afterAnimate:t=>this.emit(new lL(R.AFTER_ANIMATE,b.EXPAND,t,o),h),after:()=>this.emit(new lP(R.AFTER_DRAW,{dataChanges:a,animation:e}),h)},{expand:{target:t,descendants:[...c(s.nodes),...c(s.combos)],position:r}}))||void 0===n?void 0:n.finished)}getFrontZIndex(t){let{model:e}=this.context,n=e.getElementType(t),i=e.getElementDataById(t),r=e.getData();if(Object.assign(r,{["".concat(n,"s")]:r["".concat(n,"s")].filter(e=>tt(e)!==t)}),"combo"===n&&!ee(i)){let n=e.getAncestorsData(t,G).map(tt);r.nodes=r.nodes.filter(t=>!n.includes(tt(t))),r.combos=r.combos.filter(t=>!n.includes(tt(t))),r.edges=r.edges.filter(t=>{let{source:e,target:i}=t;return n.includes(e)&&n.includes(i)})}return Math.max(0,...Object.values(r).flat().map(t=>{let e=tt(t);return this.getElementZIndex(e)}))+1}destroy(){this.container.destroy(),this.elementMap={},this.shapeTypeMap={},this.defaultStyle={},this.stateStyle={},this.paletteStyle={},this.context={}}constructor(t){this.elementMap={},this.shapeTypeMap={},this.paletteStyle={},this.defaultStyle={},this.stateStyle={},this.visibilityCache=new WeakMap,this.context=t}}var lX=n(38027),lq=n(54375);class lQ extends rh.Z{constructor(t,e,n){super(),this.graph=t,this.layout=e,this.options=n,this.spawnWorker()}spawnWorker(){this.proxy=lq.Ud(new Worker(n.tu(new URL(n.p+n.u(1939),n.b)),{type:void 0})),this.running&&(this.running=!1,this.execute())}execute(){var t;return(0,rE.mG)(this,void 0,void 0,function*(){if(this.running)return this;this.running=!0;let e=this.layout.options,{onTick:n}=e,i=(0,rE._T)(e,["onTick"]),r={};Object.keys(i).forEach(t=>{(0,lX.Z)(i[t])||(r[t]=i[t])});let a={layout:{id:this.layout.id,options:r,iterations:null===(t=this.options)||void 0===t?void 0:t.iterations},nodes:this.graph.getAllNodes(),edges:this.graph.getAllEdges()},o=new Float32Array([0]),[s]=yield this.proxy.calculateLayout(a,[o]);return s})}stop(){return this.running=!1,this.proxy.stopLayout(),this}kill(){this.proxy[lq.Yy]()}isRunning(){return this.running}}var lJ=n(10779);class l0{get presetOptions(){return{animation:!!Q(this.context.options,!0)}}get options(){let{options:t}=this.context;return t.layout}getLayoutInstance(){return this.instances}async layout(){if(!this.options)return;let t=Array.isArray(this.options)?this.options:[this.options],{graph:e}=this.context;for(let n of(lI(e,new lP(R.BEFORE_LAYOUT)),t)){let i=t.indexOf(n),r=this.getLayoutData(n),a={...this.presetOptions,...n};lI(e,new lP(R.BEFORE_STAGE_LAYOUT,{options:a,index:i}));let o=await this.stepLayout(r,a,i);lI(e,new lP(R.AFTER_STAGE_LAYOUT,{options:a,index:i})),n.animation||this.updateElementPosition(o,!1)}lI(e,new lP(R.AFTER_LAYOUT))}async simulate(){if(!this.options)return{};let t=Array.isArray(this.options)?this.options:[this.options],e={};for(let n of t){let i=t.indexOf(n),r=this.getLayoutData(n),a=await this.stepLayout(r,{...this.presetOptions,...n,animation:!1},i);e=a}return e}async stepLayout(t,e,n){return!function(t){let{type:e}=t;return["compact-box","mindmap","dendrogram","indented"].includes(e)}(e)?await this.graphLayout(t,e,n):await this.treeLayout(t,e,n)}async graphLayout(t,e,n){let{animation:i,enableWorker:r,iterations:a=300}=e,o=this.initGraphLayout(e);if(!o)return{};if(this.instances[n]=o,this.instance=o,r)return this.supervisor=new lQ(o.graphData2LayoutModel(t),o.instance,{iterations:a}),il(await this.supervisor.execute());if((0,lJ.h)(o))return i?await o.execute(t,{onTick:t=>{this.updateElementPosition(t,!1)}}):(o.execute(t),o.stop(),o.tick(a));let s=await o.execute(t);return i&&this.updateElementPosition(s,i),s}async treeLayout(t,e,n){let{type:i,animation:r}=e,a=V("layout",i);if(!a)return{};let{nodes:o=[],edges:s=[]}=t,l=new io.k({nodes:o.map(t=>({id:tt(t),data:t.data||{}})),edges:s.map(t=>({id:tt(t),source:t.source,target:t.target,data:t.data||{}}))});!function(t){if(t.hasTreeStructure(H))return;t.attachTreeStructure(H);let e=t.getAllEdges();for(let n of e){let{source:e,target:i}=n;t.setParent(i,e,H)}}(l);let h={nodes:[],edges:[]},c={nodes:[],edges:[]},u=l.getRoots(H);u.forEach(t=>{t8(t,t=>{t.children=l.getSuccessors(t.id)},t=>l.getSuccessors(t.id),"TB");let n=a(t,e),{x:i,y:r,z:o=0}=n;t8(n,t=>{let{id:e,x:n,y:a,z:s=0}=t;h.nodes.push({id:e,style:{x:i,y:r,z:o}}),c.nodes.push({id:e,style:{x:n,y:a,z:s}})},t=>t.children,"TB")});let d=this.inferTreeLayoutOffset(c);return l1(c,d),r&&(l1(h,d),this.updateElementPosition(h,!1),this.updateElementPosition(c,r)),c}inferTreeLayoutOffset(t){var e;let[n,i]=[1/0,-1/0],[r,a]=[1/0,-1/0];null===(e=t.nodes)||void 0===e||e.forEach(t=>{let{x:e=0,y:o=0}=t.style||{};n=Math.min(n,e),i=Math.max(i,e),r=Math.min(r,o),a=Math.max(a,o)});let{canvas:o}=this.context,s=o.getSize(),[l,h]=o.getCanvasByViewport([0,0]),[c,u]=o.getCanvasByViewport(s);return n>=l&&i<=c&&r>=h&&a<=u?[0,0]:[(l+c)/2-(n+i)/2,(h+u)/2-(r+a)/2]}stopLayout(){this.instance&&(0,lJ.h)(this.instance)&&(this.instance.stop(),this.instance=void 0),this.supervisor&&(this.supervisor.stop(),this.supervisor=void 0),this.animationResult&&(this.animationResult.finish(),this.animationResult=void 0)}getLayoutData(t){let{nodeFilter:e=()=>!0}=t,{nodes:n,edges:i,combos:r}=this.context.model.getData(),a=t=>this.context.element.getElement(t),o=n.filter(t=>{let n=tt(t),i=a(n);return!(!i||n9(i))&&e(t)}),s=new Map(o.map(t=>[tt(t),t])),l=i.filter(t=>{let{source:e,target:n}=t;return!!(s.has(e)&&s.has(n))});return{nodes:o,edges:l,combos:r}}initGraphLayout(t){var e,n;let{element:i,viewport:r}=this.context,{type:a,enableWorker:o,animation:s,iterations:l,...h}=t,[c,u]=r.getCanvasSize(),d=[c/2,u/2],p=null!==(e=null==t?void 0:t.nodeSize)&&void 0!==e?e:t=>{let e=null==i?void 0:i.getElement(t.id),{size:n}=(null==e?void 0:e.attributes)||{};return Math.max(...eh(n))},f=V("layout",a);if(!f)return Y.warn("The layout of ".concat(a," is not registered."));let g=Object.getPrototypeOf(f.prototype)===is.prototype?f:(n=this.context,class extends is{async execute(t,e){return il(await this.instance.execute(this.graphData2LayoutModel(t),this.transformOptions((0,J.Z)({},this.options,e))))}transformOptions(t){let{onTick:e}=t;return e&&(t.onTick=t=>e(il(t))),t}graphData2LayoutModel(t){let{nodes:e=[],edges:i=[],combos:r=[]}=t,a=e.map(t=>{let e=tt(t),{data:n,style:i,combo:r}=t,a={id:e,data:{...n,...r?{parentId:r}:{}},style:{...i}};return(null==i?void 0:i.x)&&Object.assign(a.data,{x:i.x}),(null==i?void 0:i.y)&&Object.assign(a.data,{y:i.y}),(null==i?void 0:i.z)&&Object.assign(a.data,{z:i.z}),a}),o=new Map(a.map(t=>[t.id,t])),s=i.filter(t=>{let{source:e,target:n}=t;return o.has(e)&&o.has(n)}).map(t=>{let{source:e,target:n,data:i,style:r}=t;return{id:tt(t),source:e,target:n,data:{...i},style:{...r}}}),l=r.map(t=>({id:tt(t),data:{_isCombo:!0,...t.data},style:{...t.style}})),h=new io.k({nodes:[...a,...l],edges:s});return n.model.model.hasTreeStructure(G)&&(h.attachTreeStructure(G),a.forEach(t=>{let e=n.model.model.getParent(t.id,G);e&&h.hasNode(e.id)&&h.setParent(t.id,e.id,G)})),h}constructor(t,e){if(super(t,e),this.instance=new f({}),this.id=this.instance.id,"stop"in this.instance&&"tick"in this.instance){let t=this.instance;this.stop=t.stop.bind(t),this.tick=e=>{let n=t.tick(e);return il(n)}}}}),y=new g(this.context),m={nodeSize:p,width:c,height:u,center:d};switch(y.id){case"d3-force":case"d3-force-3d":Object.assign(m,{center:{x:c/2,y:u/2,z:0}})}return(0,J.Z)(y.options,m,h),y}updateElementPosition(t,e){let{model:n,element:i}=this.context;return i?(n.updateData(t),i.draw({animation:e,silence:!0})):null}destroy(){var t;this.stopLayout(),this.context={},null===(t=this.supervisor)||void 0===t||t.kill(),this.supervisor=void 0,this.instance=void 0,this.instances=[],this.animationResult=void 0}constructor(t){this.instances=[],this.context=t}}let l1=(t,e)=>{var n;let[i,r]=e;null===(n=t.nodes)||void 0===n||n.forEach(t=>{if(t.style){let{x:e=0,y:n=0}=t.style;t.style.x=e+i,t.style.y=n+r}else t.style={x:i,y:r}})};class l2 extends th{setPlugins(t){this.setExtensions(t)}getPluginInstance(t){let e=this.extensionMap[t];if(e)return e;Y.warn("Cannot find the plugin ".concat(t,", will try to find it by type."));let n=this.extensions.find(e=>e.type===t);if(n)return this.extensionMap[n.key]}constructor(t){super(t),this.category="plugin",this.setPlugins(this.context.options.plugins||[])}}let l3=["update-related-edges","collapse-expand-node","collapse-expand-combo","get-edge-actual-ends","arrange-draw-order"];class l6 extends th{getTransforms(){}setTransforms(t){this.setExtensions([...l3.slice(0,l3.length-1),...t,l3[l3.length-1]])}getTransformInstance(t){return t?this.extensionMap[t]:this.extensionMap}constructor(t){super(t),this.category="transform",this.setTransforms(this.context.options.transforms||[])}}class l4{get padding(){return ty(this.context.options.padding)}get paddingOffset(){let[t,e,n,i]=this.padding,[r,a,o]=[(i-e)/2,(t-n)/2,0];return[r,a,o]}get camera(){let{canvas:t}=this.context;return new Proxy(t.getCamera(),{get:(e,n)=>{let i=Object.entries(t.getLayers()).filter(t=>{let[e]=t;return!["main"].includes(e)}),r=i.map(t=>{let[,e]=t;return e.getCamera()}),a=e[n];if("function"==typeof a)return function(){for(var t=arguments.length,i=Array(t),o=0;o{t[n].apply(t,i)}),s}}})}createLandmark(t){return this.camera.createLandmark("landmark-".concat(this.landmarkCounter++),t)}getAnimation(t){let e=Q(this.context.options,t);return!!e&&(0,e8.Z)({...e},["easing","duration"])}getCanvasSize(){let{canvas:t}=this.context,{width:e=0,height:n=0}=t.getConfig();return[e,n]}getCanvasCenter(){let{canvas:t}=this.context,{width:e=0,height:n=0}=t.getConfig();return[e/2,n/2,0]}getViewportCenter(){let[t,e]=this.camera.getPosition();return[t,e,0]}getGraphCenter(){return this.context.graph.getViewportByCanvas(this.getCanvasCenter())}getZoom(){return this.camera.getZoom()}getRotation(){return this.camera.getRoll()}getTranslateOptions(t){let{camera:e}=this,{mode:n,translate:i=[]}=t,r=this.getZoom(),a=e.getPosition(),o=e.getFocalPoint(),[s,l]=this.getCanvasCenter(),[h=0,c=0,u=0]=i,d=tP([-h,-c,-u],r);return"relative"===n?{position:tM(a,d),focalPoint:tM(o,d)}:{position:tM([s,l,a[2]],d),focalPoint:tM([s,l,o[2]],d)}}getRotateOptions(t){let{mode:e,rotate:n=0}=t,i="relative"===e?this.camera.getRoll()+n:n;return{roll:i}}getZoomOptions(t){let{zoomRange:e}=this.context.options,n=this.camera.getZoom(),{mode:i,scale:r=1}=t;return(0,im.Z)("relative"===i?n*r:r,...e)}async transform(t,e){let{graph:n}=this.context,{translate:i,rotate:r,scale:a,origin:o}=t;this.cancelAnimation();let s=this.getAnimation(e);if(lI(n,new lN(R.BEFORE_TRANSFORM,t)),!r&&a&&!i&&o&&!s){this.camera.setZoomByViewportPoint(this.getZoomOptions(t),o),lI(n,new lN(R.AFTER_TRANSFORM,t));return}let l={};if(i&&Object.assign(l,this.getTranslateOptions(t)),(0,eJ.Z)(r)&&Object.assign(l,this.getRotateOptions(t)),(0,eJ.Z)(a)&&Object.assign(l,{zoom:this.getZoomOptions(t)}),s)return lI(n,new lL(R.BEFORE_ANIMATE,b.TRANSFORM,null,t)),new Promise(e=>{this.transformResolver=e,this.camera.gotoLandmark(this.createLandmark(l),{...s,onfinish:()=>{lI(n,new lL(R.AFTER_ANIMATE,b.TRANSFORM,null,t)),lI(n,new lN(R.AFTER_TRANSFORM,t)),this.transformResolver=void 0,e()}})});this.camera.gotoLandmark(this.createLandmark(l),{duration:0}),lI(n,new lN(R.AFTER_TRANSFORM,t))}async fitView(t,e){let[n,i,r,a]=this.padding,{when:o="always",direction:s="both"}=t||{},[l,h]=this.context.canvas.getSize(),c=l-a-i,u=h-n-r,d=this.context.canvas.getBounds(),p=this.getBBoxInViewport(d),[f,g]=tb(p);if("overflow"===o&&!("x"===s&&f>=c||"y"===s&&g>=u||"both"===s&&f>=c&&g>=u))return await this.fitCenter(e);let y=c/f,m=u/g,v="x"===s?y:"y"===s?m:Math.min(y,m),b=this.getAnimation(e);await this.transform({mode:"relative",scale:v,translate:tM(tT(this.getCanvasCenter(),this.getBBoxInViewport(d).center),tP(this.paddingOffset,v))},b)}async fitCenter(t){let e=this.context.canvas.getBounds();await this.focus(e,t)}async focusElements(t,e){let{element:n}=this.context;if(!n)return;let i=tw(t.map(t=>n.getElement(t).getRenderBounds()));await this.focus(i,e)}async focus(t,e){let n=this.context.graph.getViewportByCanvas(t.center),i=this.getCanvasCenter(),r=tT(i,n);await this.transform({mode:"relative",translate:tM(r,this.paddingOffset)},e)}getBBoxInViewport(t){let{min:e,max:n}=t,{graph:i}=this.context,[r,a]=i.getViewportByCanvas(e),[o,s]=i.getViewportByCanvas(n),l=new I.mN;return l.setMinMax([r,a,0],[o,s,0]),l}isInViewport(t){let{graph:e}=this.context,n=this.getCanvasSize(),[i,r]=e.getCanvasByViewport([0,0]),[a,o]=e.getCanvasByViewport(n),s=new I.mN;return s.setMinMax([i,r,0],[a,o,0]),tf(t)?tC(t,s):s.intersects(t)}cancelAnimation(){var t,e;(null===(t=this.camera.landmarks)||void 0===t?void 0:t.length)&&this.camera.cancelLandmarkAnimation(),null===(e=this.transformResolver)||void 0===e||e.call(this)}constructor(t){this.landmarkCounter=0,this.context=t;let[e,n]=this.paddingOffset,{zoom:i,rotation:r,x:a=e,y:o=n}=t.options;this.transform({mode:"absolute",scale:i,translate:[a,o],rotate:r},!1)}}class l8 extends rh.Z{getOptions(){return this.options}setOptions(t){var e,n,i;let{behaviors:r,combo:a,data:o,edge:s,height:l,layout:h,node:c,plugins:u,theme:d,transforms:p,width:f,cursor:g,renderer:y}=t;if(y){let t=this.context.canvas;t&&(this.emit(R.BEFORE_RENDERER_CHANGE,{renderer:this.options.renderer}),t.setRenderer(y),this.emit(R.AFTER_RENDERER_CHANGE,{renderer:y}))}Object.assign(this.options,t),g&&(null===(e=this.context.canvas)||void 0===e||e.setCursor(g)),r&&this.setBehaviors(r),a&&this.setCombo(a),o&&this.setData(o),s&&this.setEdge(s),h&&this.setLayout(h),c&&this.setNode(c),d&&this.setTheme(d),u&&this.setPlugins(u),p&&this.setTransforms(p),((0,eJ.Z)(f)||(0,eJ.Z)(l))&&this.setSize(null!==(n=null!=f?f:this.options.width)&&void 0!==n?n:0,null!==(i=null!=l?l:this.options.height)&&void 0!==i?i:0)}getSize(){return this.context.canvas?this.context.canvas.getSize():[this.options.width||0,this.options.height||0]}setSize(t,e){var n;Object.assign(this.options,{width:t,height:e}),null===(n=this.context.canvas)||void 0===n||n.resize(t,e)}setZoomRange(t){this.options.zoomRange=t}getZoomRange(){return this.options.zoomRange}setNode(t){this.options.node=t,this.context.model.refreshData()}setEdge(t){this.options.edge=t,this.context.model.refreshData()}setCombo(t){this.options.combo=t,this.context.model.refreshData()}getTheme(){return this.options.theme}setTheme(t){this.options.theme=(0,td.Z)(t)?t(this.getTheme()):t}setLayout(t){this.options.layout=(0,td.Z)(t)?t(this.getLayout()):t}getLayout(){return this.options.layout}setBehaviors(t){var e;this.options.behaviors=(0,td.Z)(t)?t(this.getBehaviors()):t,null===(e=this.context.behavior)||void 0===e||e.setBehaviors(this.options.behaviors)}updateBehavior(t){this.setBehaviors(e=>e.map(e=>"object"==typeof e&&e.key===t.key?{...e,...t}:e))}getBehaviors(){return this.options.behaviors||[]}setPlugins(t){var e;this.options.plugins=(0,td.Z)(t)?t(this.getPlugins()):t,null===(e=this.context.plugin)||void 0===e||e.setPlugins(this.options.plugins)}updatePlugin(t){this.setPlugins(e=>e.map(e=>"object"==typeof e&&e.key===t.key?{...e,...t}:e))}getPlugins(){return this.options.plugins||[]}getPluginInstance(t){return this.context.plugin.getPluginInstance(t)}setTransforms(t){var e;this.options.transforms=(0,td.Z)(t)?t(this.getTransforms()):t,null===(e=this.context.transform)||void 0===e||e.setTransforms(this.options.transforms)}updateTransform(t){this.setTransforms(e=>e.map(e=>"object"==typeof e&&e.key===t.key?{...e,...t}:e)),this.context.model.refreshData()}getTransforms(){return this.options.transforms||[]}getData(){return this.context.model.getData()}getElementData(t){return Array.isArray(t)?t.map(t=>this.context.model.getElementDataById(t)):this.context.model.getElementDataById(t)}getNodeData(t){var e;return void 0===t?this.context.model.getNodeData():Array.isArray(t)?this.context.model.getNodeData(t):null===(e=this.context.model.getNodeData([t]))||void 0===e?void 0:e[0]}getEdgeData(t){var e;return void 0===t?this.context.model.getEdgeData():Array.isArray(t)?this.context.model.getEdgeData(t):null===(e=this.context.model.getEdgeData([t]))||void 0===e?void 0:e[0]}getComboData(t){var e;return void 0===t?this.context.model.getComboData():Array.isArray(t)?this.context.model.getComboData(t):null===(e=this.context.model.getComboData([t]))||void 0===e?void 0:e[0]}setData(t){this.context.model.setData((0,td.Z)(t)?t(this.getData()):t)}addData(t){this.context.model.addData((0,td.Z)(t)?t(this.getData()):t)}addNodeData(t){this.context.model.addNodeData((0,td.Z)(t)?t(this.getNodeData()):t)}addEdgeData(t){this.context.model.addEdgeData((0,td.Z)(t)?t(this.getEdgeData()):t)}addComboData(t){this.context.model.addComboData((0,td.Z)(t)?t(this.getComboData()):t)}addChildrenData(t,e){this.context.model.addChildrenData(t,e)}updateData(t){this.context.model.updateData((0,td.Z)(t)?t(this.getData()):t)}updateNodeData(t){this.context.model.updateNodeData((0,td.Z)(t)?t(this.getNodeData()):t)}updateEdgeData(t){this.context.model.updateEdgeData((0,td.Z)(t)?t(this.getEdgeData()):t)}updateComboData(t){this.context.model.updateComboData((0,td.Z)(t)?t(this.getComboData()):t)}removeData(t){this.context.model.removeData((0,td.Z)(t)?t(this.getData()):t)}removeNodeData(t){this.context.model.removeNodeData((0,td.Z)(t)?t(this.getNodeData()):t)}removeEdgeData(t){this.context.model.removeEdgeData((0,td.Z)(t)?t(this.getEdgeData()):t)}removeComboData(t){this.context.model.removeComboData((0,td.Z)(t)?t(this.getComboData()):t)}getElementType(t){return this.context.model.getElementType(t)}getRelatedEdgesData(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"both";return this.context.model.getRelatedEdgesData(t,e)}getNeighborNodesData(t){return this.context.model.getNeighborNodesData(t)}getAncestorsData(t,e){return this.context.model.getAncestorsData(t,e)}getParentData(t,e){return this.context.model.getParentData(t,e)}getChildrenData(t){return this.context.model.getChildrenData(t)}getElementDataByState(t,e){return this.context.model.getElementDataByState(t,e)}async initCanvas(){if(this.context.canvas)return await this.context.canvas.ready;let{container:t="container",width:e,height:n,renderer:i,cursor:r,background:a}=this.options;if(t instanceof lz)this.context.canvas=t,r&&t.setCursor(r),await t.ready;else{let o=(0,t0.Z)(t)?document.getElementById(t):t,s=iI(o);this.emit(R.BEFORE_CANVAS_INIT,{container:o,width:e,height:n});let l=new lz({container:o,width:e||s[0],height:n||s[1],background:a,renderer:i,cursor:r});this.context.canvas=l,await l.ready,this.emit(R.AFTER_CANVAS_INIT,{canvas:l})}}initRuntime(){this.context.options=this.options,this.context.batch||(this.context.batch=new l_(this.context)),this.context.plugin||(this.context.plugin=new l2(this.context)),this.context.viewport||(this.context.viewport=new l4(this.context)),this.context.transform||(this.context.transform=new l6(this.context)),this.context.element||(this.context.element=new l$(this.context)),this.context.animation||(this.context.animation=new lB(this.context)),this.context.layout||(this.context.layout=new l0(this.context)),this.context.behavior||(this.context.behavior=new lF(this.context))}async prepare(){if(await Promise.resolve(),this.destroyed)throw Error(U("The graph instance has been destroyed"));await this.initCanvas(),this.initRuntime()}async render(){await this.prepare(),lI(this,new lP(R.BEFORE_RENDER));let t=this.context.element.draw({type:"render"});await Promise.all([null==t?void 0:t.finished,this.context.layout.layout()]),await this.autoFit(),lI(this,new lP(R.AFTER_RENDER))}async draw(){var t;await this.prepare(),await (null===(t=this.context.element.draw())||void 0===t?void 0:t.finished)}async layout(){await this.context.layout.layout()}stopLayout(){this.context.layout.stopLayout()}async clear(){this.context.model.setData({}),await this.draw()}destroy(){lI(this,new lP(R.BEFORE_DESTROY));let{layout:t,animation:e,element:n,model:i,canvas:r,behavior:a,plugin:o}=this.context;null==o||o.destroy(),null==a||a.destroy(),null==t||t.destroy(),null==e||e.destroy(),null==n||n.destroy(),i.destroy(),null==r||r.destroy(),this.options={},this.context={},this.off(),window.removeEventListener("resize",this.onResize),this.destroyed=!0,lI(this,new lP(R.AFTER_DESTROY))}getCanvas(){return this.context.canvas}resize(t,e){let n=t&&e?[t,e]:iI(this.context.canvas.getContainer());(0,F.Z)(n,this.getSize())||(lI(this,new lP(R.BEFORE_SIZE_CHANGE,{size:n})),this.context.canvas.resize(...n),lI(this,new lP(R.AFTER_SIZE_CHANGE,{size:n})))}async fitView(t,e){var n;await (null===(n=this.context.viewport)||void 0===n?void 0:n.fitView(t,e))}async fitCenter(t){var e;await (null===(e=this.context.viewport)||void 0===e?void 0:e.fitCenter(t))}async autoFit(){let{autoFit:t}=this.context.options;if(t){if((0,t0.Z)(t))"view"===t?await this.fitView():"center"===t&&await this.fitCenter();else{let{type:e,animation:n}=t;"view"===e?await this.fitView(t.options,n):"center"===e&&await this.fitCenter(n)}}}async focusElement(t,e){var n;await (null===(n=this.context.viewport)||void 0===n?void 0:n.focusElements(Array.isArray(t)?t:[t],e))}async zoomBy(t,e,n){await this.context.viewport.transform({mode:"relative",scale:t,origin:n},e)}async zoomTo(t,e,n){this.context.viewport.transform({mode:"absolute",scale:t,origin:n},e)}getZoom(){return this.context.viewport.getZoom()}async rotateBy(t,e,n){await this.context.viewport.transform({mode:"relative",rotate:t,origin:n},e)}async rotateTo(t,e,n){await this.context.viewport.transform({mode:"absolute",rotate:t,origin:n},e)}getRotation(){return this.context.viewport.getRotation()}async translateBy(t,e){await this.context.viewport.transform({mode:"relative",translate:t},e)}async translateTo(t,e){await this.context.viewport.transform({mode:"absolute",translate:t},e)}getPosition(){return tT([0,0],this.getCanvasByViewport([0,0]))}async translateElementBy(t,e){var n;let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],[r,a]=(0,j.Z)(t)?[t,null==e||e]:[{[t]:e},i];Object.entries(r).forEach(t=>{let[e,n]=t;return this.context.model.translateNodeLikeBy(e,n)}),await (null===(n=this.context.element.draw({animation:a,stage:"translate"}))||void 0===n?void 0:n.finished)}async translateElementTo(t,e){var n;let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],[r,a]=(0,j.Z)(t)?[t,null==e||e]:[{[t]:e},i];Object.entries(r).forEach(t=>{let[e,n]=t;return this.context.model.translateNodeLikeTo(e,n)}),await (null===(n=this.context.element.draw({animation:a,stage:"translate"}))||void 0===n?void 0:n.finished)}getElementPosition(t){return this.context.model.getElementPosition(t)}getElementRenderStyle(t){return(0,iD.Z)(this.context.element.getElement(t).attributes,["context"])}async setElementVisibility(t,e){var n;let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],[r,a]=(0,j.Z)(t)?[t,null==e||e]:[{[t]:e},i],o={nodes:[],edges:[],combos:[]};Object.entries(r).forEach(t=>{let[e,n]=t,i=this.getElementType(e);o["".concat(i,"s")].push({id:e,style:{visibility:n}})});let{model:s,element:l}=this.context;s.preventUpdateNodeLikeHierarchy(()=>{s.updateData(o)}),await (null===(n=l.draw({animation:a,stage:"visibility"}))||void 0===n?void 0:n.finished)}async showElement(t,e){let n=Array.isArray(t)?t:[t];await this.setElementVisibility(Object.fromEntries(n.map(t=>[t,"visible"])),e)}async hideElement(t,e){let n=Array.isArray(t)?t:[t];await this.setElementVisibility(Object.fromEntries(n.map(t=>[t,"hidden"])),e)}getElementVisibility(t){var e,n;let i=this.context.element.getElement(t);return null!==(n=null==i?void 0:null===(e=i.style)||void 0===e?void 0:e.visibility)&&void 0!==n?n:"visible"}async setElementZIndex(t,e){var n;let i={nodes:[],edges:[],combos:[]},r=(0,j.Z)(t)?t:{[t]:e};Object.entries(r).forEach(t=>{let[e,n]=t,r=this.getElementType(e);i["".concat(r,"s")].push({id:e,style:{zIndex:n}})});let{model:a,element:o}=this.context;a.preventUpdateNodeLikeHierarchy(()=>a.updateData(i)),await (null===(n=o.draw({animation:!1,stage:"zIndex"}))||void 0===n?void 0:n.finished)}async frontElement(t){let e=Array.isArray(t)?t:[t],{model:n,element:i}=this.context,r={};e.map(t=>{let e=i.getFrontZIndex(t),a=n.getElementType(t);if("combo"===a){let a=n.getAncestorsData(t,G).at(-1)||this.getComboData(t),o=[a,...n.getDescendantsData(tt(a))],s=e-i.getElementZIndex(t);o.forEach(t=>{r[tt(t)]=this.getElementZIndex(tt(t))+s})}else r[t]=e}),await this.setElementZIndex(r)}getElementZIndex(t){var e,n,i;let{model:r,element:a}=this.context;return null!==(i=null===(e=r.getElementDataById(t))||void 0===e?void 0:null===(n=e.style)||void 0===n?void 0:n.zIndex)&&void 0!==i?i:a.getElementZIndex(t)}async setElementState(t,e){var n;let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],[r,a]=(0,j.Z)(t)?[t,null==e||e]:[{[t]:e},i],o=t=>t?Array.isArray(t)?t:[t]:[],s={nodes:[],edges:[],combos:[]};Object.entries(r).forEach(t=>{let[e,n]=t,i=this.getElementType(e);s["".concat(i,"s")].push({id:e,states:o(n)})}),this.updateData(s),await (null===(n=this.context.element.draw({animation:a}))||void 0===n?void 0:n.finished)}getElementState(t){return this.context.model.getElementState(t)}getElementRenderBounds(t){return this.context.element.getElement(t).getRenderBounds()}async collapseElement(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{model:n,element:i}=this.context;if(ee(n.getNodeLikeData([t])[0])||this.isCollapsingExpanding)return;let r=n.getElementType(t);await this.frontElement(t),this.isCollapsingExpanding=!0,this.setElementCollapsibility(t,!0),"node"===r?await i.collapseNode(t,e):"combo"===r&&await i.collapseCombo(t,e),this.isCollapsingExpanding=!1}async expandElement(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{model:n,element:i}=this.context;if(!ee(n.getNodeLikeData([t])[0])||this.isCollapsingExpanding)return;let r=n.getElementType(t);this.isCollapsingExpanding=!0,this.setElementCollapsibility(t,!1),"node"===r?await i.expandNode(t,e):"combo"===r&&await i.expandCombo(t,e),this.isCollapsingExpanding=!1}setElementCollapsibility(t,e){let n=this.getElementType(t);"node"===n?this.updateNodeData([{id:t,style:{collapsed:e}}]):"combo"===n&&this.updateComboData([{id:t,style:{collapsed:e}}])}async toDataURL(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.context.canvas.toDataURL(t)}getCanvasByViewport(t){return this.context.canvas.getCanvasByViewport(t)}getViewportByCanvas(t){return this.context.canvas.getViewportByCanvas(t)}getClientByCanvas(t){return this.context.canvas.getClientByCanvas(t)}getCanvasByClient(t){return this.context.canvas.getCanvasByClient(t)}getViewportCenter(){return this.context.viewport.getViewportCenter()}getCanvasCenter(){return this.context.viewport.getCanvasCenter()}on(t,e,n){return super.on(t,e,n)}once(t,e){return super.once(t,e)}off(t,e){return super.off(t,e)}constructor(t){super(),this.destroyed=!1,this.context={model:new lK},this.isCollapsingExpanding=!1,this.onResize=(0,ii.Z)(()=>{this.resize()},300),this.options=Object.assign({},l8.defaultOptions,t),this.setOptions(this.options),this.context.graph=this,this.options.autoResize&&window.addEventListener("resize",this.onResize)}}l8.defaultOptions={autoResize:!1,theme:"light",rotation:0,zoom:1,zoomRange:[.01,10]};let l9=(t,e)=>{let{source:n,target:i}=e,r=t.getElementDataById(n),a=t.getElementDataById(i),o=nE(r,e=>t.getParentData(e,G)),s=nE(a,e=>t.getParentData(e,G)),l=tt(o),h=tt(s),c={sourceNode:l,targetNode:h};return e.style?Object.assign(e.style,c):e.style=c,e};var l5=n(90134);let l7=["top","top-right","right","right-bottom","bottom","bottom-left","left","left-top"];class ht extends lO{beforeDraw(t){let e=this.getAffectedParallelEdges(t);return 0===e.size||("bundle"===this.options.mode?this.applyBundlingStyle(t,e,this.options.distance):this.applyMergingStyle(t,e)),t}constructor(t,e){super(t,Object.assign({},ht.defaultOptions,e)),this.cacheMergeStyle=new Map,this.getAffectedParallelEdges=t=>{let{add:{edges:e},update:{nodes:n,edges:i,combos:r},remove:{edges:a}}=t,{model:o}=this.context,s=new Map,l=(t,e)=>{let n=o.getRelatedEdgesData(e);n.forEach(t=>!s.has(tt(t))&&s.set(tt(t),t))};n.forEach(l),r.forEach(l);let h=t=>{let e=o.getEdgeData().map(t=>l9(o,t)),n=hn(t,e,!0);n.forEach(t=>!s.has(tt(t))&&s.set(tt(t),t))};if(a.size&&a.forEach(h),e.size&&e.forEach(h),i.size){let t=ru(rc(o.getChanges())).update.edges;i.forEach(e=>{var n;h(e);let i=null===(n=t.find(t=>tt(t.value)===tt(e)))||void 0===n?void 0:n.original;i&&!hi(e,i)&&h(i)})}eN(this.options.edges)||s.forEach((t,e)=>!this.options.edges.includes(e)&&s.delete(e));let c=o.getEdgeData().map(tt);return new Map([...s].sort((t,e)=>c.indexOf(t[0])-c.indexOf(e[0])))},this.applyBundlingStyle=(t,e,n)=>{let{edgeMap:i,reverses:r}=he(e);i.forEach(e=>{e.forEach((e,i,a)=>{var o;let s=Object.assign(e,{type:"quadratic",style:(()=>{let t=a.length,o={};if(e.source===e.target){let t=l7.length;o.loopPlacement=l7[i%t],o.loopDist=Math.floor(i/t)*n+50}else if(1===t)o.curveOffset=0;else{let a=(i%2==0?1:-1)*(r["".concat(e.source,"|").concat(e.target,"|").concat(i)]?-1:1);o.curveOffset=t%2==1?a*Math.ceil(i/2)*n*2:a*(Math.floor(i/2)*n*2+n)}return Object.assign({},e.style,o)})()}),l=null===(o=this.context.element)||void 0===o?void 0:o.getElement(tt(e));l?ti(t,"update","edge",s,!0):ti(t,"add","edge",s,!0)})})},this.resetEdgeStyle=t=>{let e=t.style||{},n=this.cacheMergeStyle.get(tt(t))||{};return Object.keys(n).forEach(i=>{(0,F.Z)(e[i],n[i])&&(t[i]?e[i]=t[i]:delete e[i])}),Object.assign(t,{style:e})},this.applyMergingStyle=(t,e)=>{let{edgeMap:n,reverses:i}=he(e);n.forEach(e=>{if(1===e.length){var n;let i=e[0],r=null===(n=this.context.element)||void 0===n?void 0:n.getElement(tt(i));ti(t,r?"update":"add","edge",this.resetEdgeStyle(i),!0);return}let r=e.map((t,e)=>{let{source:n,target:r,style:a={}}=t,{startArrow:o,endArrow:s}=a,l={},[h,c]=i["".concat(n,"|").concat(r,"|").concat(e)]?["endArrow","startArrow"]:["startArrow","endArrow"];return(0,l5.Z)(o)&&(l[h]=o),(0,l5.Z)(s)&&(l[c]=s),l}).reduce((t,e)=>({...t,...e}),{});e.forEach((e,n,i)=>{if(0===n){var a;let n=Object.assign({},(0,td.Z)(this.options.style)?this.options.style(i):this.options.style,{childrenData:i});this.cacheMergeStyle.set(tt(e),n);let o={...e,type:"line",style:{...r,...n}},s=null===(a=this.context.element)||void 0===a?void 0:a.getElement(tt(e));ti(t,s?"update":"add","edge",o,!0)}else ti(t,"remove","edge",e)})})}}}ht.defaultOptions={mode:"bundle",edges:void 0,distance:15};let he=t=>{let e=new Map,n=new Set,i={};for(let[r,a]of t){if(n.has(r))continue;let{source:o,target:s}=a,l="".concat(o,"-").concat(s);for(let[h,c]of(e.has(l)||e.set(l,[]),e.get(l).push(a),n.add(r),t))!n.has(h)&&hi(a,c)&&(e.get(l).push(c),n.add(h),o===c.target&&s===c.source&&(i["".concat(c.source,"|").concat(c.target,"|").concat(e.get(l).length-1)]=!0))}return{edgeMap:e,reverses:i}},hn=(t,e,n)=>e.filter(e=>(n||tt(e)!==tt(t))&&hi(e,t)),hi=(t,e)=>{let{sourceNode:n,targetNode:i}=t.style||{},{sourceNode:r,targetNode:a}=e.style||{};return n===r&&i===a||n===a&&i===r},hr={animation:{"combo-collapse":ts,"combo-expand":ts,"node-collapse":ta,"node-expand":ta,"path-in":to,"path-out":to,fade:[{fields:["opacity"]}],translate:[{fields:["x","y"]}]},behavior:{"brush-select":t3,"click-select":et,"collapse-expand":n5,"create-edge":ie,"drag-canvas":ir,"drag-element-force":class extends ia{get forceLayoutInstance(){return this.context.layout.getLayoutInstance().find(t=>["d3-force","d3-force-3d"].includes(null==t?void 0:t.id))}validate(t){return!!this.context.layout&&(this.forceLayoutInstance?super.validate(t):(Y.warn("DragElementForce only works with d3-force or d3-force-3d layout"),!1))}async moveElement(t,e){let n=this.forceLayoutInstance;this.context.graph.getNodeData(t).forEach((i,r)=>{let{x:a=0,y:o=0}=i.style||{};n&&ih(n,"setFixedPosition",t[r],[...tM([+a,+o],e)])})}onDragStart(t){if(this.enable=this.validate(t),!this.enable)return;this.target=this.getSelectedNodeIDs([t.target.id]),this.hideEdge(),this.context.graph.frontElement(this.target);let e=this.forceLayoutInstance;e&&ic(e,"simulation").alphaTarget(.3).restart(),this.context.graph.getNodeData(this.target).forEach(t=>{let{x:n=0,y:i=0}=t.style||{};e&&ih(e,"setFixedPosition",tt(t),[+n,+i])})}onDrag(t){if(!this.enable)return;let e=this.getDelta(t);this.moveElement(this.target,e)}onDragEnd(){let t=this.forceLayoutInstance;t&&ic(t,"simulation").alphaTarget(0),this.context.graph.getNodeData(this.target).forEach(e=>{t&&ih(t,"setFixedPosition",tt(e),[null,null,null])})}},"drag-element":ia,"fix-element-size":iu,"focus-element":id,"hover-activate":ip,"lasso-select":class extends t3{onPointerDown(t){if(!super.validate(t)||!super.isKeydown()||this.points)return;let{canvas:e}=this.context;this.pathShape=new I.y$({id:"g6-lasso-select",style:this.options.style}),e.appendChild(this.pathShape),this.points=[t6(t)]}onPointerMove(t){var e;if(!this.points)return;let{immediately:n,mode:i}=this.options;this.points.push(t6(t)),null===(e=this.pathShape)||void 0===e||e.setAttribute("d",function(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=[];return t.forEach((t,e)=>{n.push([0===e?"M":"L",...t])}),e&&n.push(["Z"]),n}(this.points)),n&&"default"===i&&this.points.length>2&&super.updateElementsStates(this.points)}onPointerUp(){if(this.points){if(this.points.length<2){this.clearLasso();return}super.updateElementsStates(this.points),this.clearLasso()}}clearLasso(){var t;null===(t=this.pathShape)||void 0===t||t.remove(),this.pathShape=void 0,this.points=void 0}},"optimize-viewport-transform":ig,"scroll-canvas":iy,"zoom-canvas":iv},combo:{circle:class extends ne{drawKeyShape(t,e){return this.upsert("key",I.Cd,this.getKeyStyle(t),e)}getKeyStyle(t){let{collapsed:e}=t,n=super.getKeyStyle(t),[i]=this.getKeySize(t);return{...n,...e&&eo(n,"collapsed"),r:i/2}}getCollapsedKeySize(t){let[e,n]=eh(t.collapsedSize),i=Math.max(e,n)/2;return[2*i,2*i,0]}getExpandedKeySize(t){let e=this.getContentBBox(t),[n,i]=tb(e),r=Math.sqrt(n**2+i**2)/2;return[2*r,2*r,0]}getIntersectPoint(t){let e=this.getShape("key").getBounds();return tX(t,e)}constructor(t){super(t)}},rect:class extends ne{drawKeyShape(t,e){return this.upsert("key",I.UL,this.getKeyStyle(t),e)}getKeyStyle(t){let e=super.getKeyStyle(t),[n,i]=this.getKeySize(t);return{...e,...t.collapsed&&eo(e,"collapsed"),width:n,height:i,x:-n/2,y:-i/2}}constructor(t){super(t)}}},edge:{cubic:nP,line:nN,polyline:nV,quadratic:nU,"cubic-horizontal":nL,"cubic-vertical":nD},layout:{"antv-dagre":ix.b,"combo-combined":iw.u,"compact-box":ib.compactBox,"force-atlas2":iA.E,circular:iE.S,concentric:iC.W,"d3-force":iS.j,dagre:iR.V,dendrogram:ib.dendrogram,force:iO.y,fruchterman:iM.O,grid:iT.M,indented:ib.indented,mds:ik.A,mindmap:ib.mindmap,radial:iP.D,random:iL._},node:{circle:eq,diamond:class extends eQ{getPoints(t){let[e,n]=this.getSize(t);return[[0,-n/2],[e/2,0],[0,n/2],[-e/2,0]]}constructor(t){super(t)}},ellipse:e4,hexagon:class extends eQ{getOuterR(t){return t.outerR||Math.min(...this.getSize(t))/2}getPoints(t){var e;return[[0,e=this.getOuterR(t)],[e*Math.sqrt(3)/2,e/2],[e*Math.sqrt(3)/2,-e/2],[0,-e],[-e*Math.sqrt(3)/2,-e/2],[-e*Math.sqrt(3)/2,e/2]]}getIconStyle(t){let e=super.getIconStyle(t),n=.8*this.getOuterR(t);return!!e&&{width:n,height:n,...e}}constructor(t){super(t)}},html:e5,image:e7,rect:class extends eX{getKeyStyle(t){let[e,n]=this.getSize(t);return{...super.getKeyStyle(t),width:e,height:n,x:-e/2,y:-n/2}}getIconStyle(t){let e=super.getIconStyle(t),{width:n,height:i}=this.getShape("key").attributes;return!!e&&{width:.8*n,height:.8*i,...e}}drawKeyShape(t,e){return this.upsert("key",I.UL,this.getKeyStyle(t),e)}constructor(t){super(t)}},star:class extends eQ{getInnerR(t){return t.innerR||3*this.getOuterR(t)/8}getOuterR(t){return Math.min(...this.getSize(t))/2}getPoints(t){var e,n;return[[0,-(e=this.getOuterR(t))],[(n=this.getInnerR(t))*Math.cos(3*Math.PI/10),-n*Math.sin(3*Math.PI/10)],[e*Math.cos(Math.PI/10),-e*Math.sin(Math.PI/10)],[n*Math.cos(Math.PI/10),n*Math.sin(Math.PI/10)],[e*Math.cos(3*Math.PI/10),e*Math.sin(3*Math.PI/10)],[0,n],[-e*Math.cos(3*Math.PI/10),e*Math.sin(3*Math.PI/10)],[-n*Math.cos(Math.PI/10),n*Math.sin(Math.PI/10)],[-e*Math.cos(Math.PI/10),-e*Math.sin(Math.PI/10)],[-n*Math.cos(3*Math.PI/10),-n*Math.sin(3*Math.PI/10)]]}getIconStyle(t){let e=super.getIconStyle(t),n=2*this.getInnerR(t)*.8;return!!e&&{width:n,height:n,...e}}getPortXY(t,e){let{placement:n="top"}=e,i=this.getShape("key").getLocalBounds(),r=function(t,e){let n={};return n.top=[0,-t],n.left=[-t*Math.cos(Math.PI/10),-t*Math.sin(Math.PI/10)],n["left-bottom"]=[-t*Math.cos(3*Math.PI/10),t*Math.sin(3*Math.PI/10)],n.bottom=[0,e],n["right-bottom"]=[t*Math.cos(3*Math.PI/10),t*Math.sin(3*Math.PI/10)],n.right=n.default=[t*Math.cos(Math.PI/10),-t*Math.sin(Math.PI/10)],n}(this.getOuterR(t),this.getInnerR(t));return nq(i,n,r,!1)}constructor(t){super(t)}},donut:e0,triangle:nt},palette:{spectral:["rgb(158, 1, 66)","rgb(213, 62, 79)","rgb(244, 109, 67)","rgb(253, 174, 97)","rgb(254, 224, 139)","rgb(255, 255, 191)","rgb(230, 245, 152)","rgb(171, 221, 164)","rgb(102, 194, 165)","rgb(50, 136, 189)","rgb(94, 79, 162)"],tableau:["rgb(78, 121, 167)","rgb(242, 142, 44)","rgb(225, 87, 89)","rgb(118, 183, 178)","rgb(89, 161, 79)","rgb(237, 201, 73)","rgb(175, 122, 161)","rgb(255, 157, 167)","rgb(156, 117, 95)","rgb(186, 176, 171)"],oranges:["rgb(255, 245, 235)","rgb(254, 230, 206)","rgb(253, 208, 162)","rgb(253, 174, 107)","rgb(253, 141, 60)","rgb(241, 105, 19)","rgb(217, 72, 1)","rgb(166, 54, 3)","rgb(127, 39, 4)"],greens:["rgb(247, 252, 245)","rgb(229, 245, 224)","rgb(199, 233, 192)","rgb(161, 217, 155)","rgb(116, 196, 118)","rgb(65, 171, 93)","rgb(35, 139, 69)","rgb(0, 109, 44)","rgb(0, 68, 27)"],blues:["rgb(247, 251, 255)","rgb(222, 235, 247)","rgb(198, 219, 239)","rgb(158, 202, 225)","rgb(107, 174, 214)","rgb(66, 146, 198)","rgb(33, 113, 181)","rgb(8, 81, 156)","rgb(8, 48, 107)"]},theme:{dark:lR,light:lA},plugin:{"bubble-sets":re,"edge-filter-lens":ro,"grid-line":rl,background:ij,contextmenu:rr,fullscreen:rs,history:rd,hull:rx,legend:aS,minimap:oy,snapline:ox,timebar:la,toolbar:lh,tooltip:ly,watermark:lx},transform:{"update-related-edges":class extends lO{beforeDraw(t,e){let{stage:n}=e;if("visibility"===n)return t;let{model:i}=this.context,{update:{nodes:r,edges:a,combos:o}}=t,s=(t,e)=>{let n=i.getRelatedEdgesData(e);n.forEach(t=>!a.has(tt(t))&&a.set(tt(t),t))};return r.forEach(s),o.forEach(s),t}},"arrange-draw-order":class extends lO{beforeDraw(t){let{model:e}=this.context,n=t.add.combos,i=t=>{let n=[];return t.forEach((t,i)=>{let r=e.getAncestorsData(i,"combo"),a=r.map(t=>tt(t)).reverse();n.push([i,t,a.length])}),new Map(n.sort((t,e)=>{let[,,n]=t,[,,i]=e;return i-n}).map(t=>{let[e,n]=t;return[e,n]}))};return t.add.combos=i(n),t.update.combos=i(t.update.combos),t}},"collapse-expand-combo":class extends lO{beforeDraw(t,e){if("visibility"===e.stage)return t;let{model:n}=this.context,{add:i,update:r}=t,a=[...t.update.combos.entries(),...t.add.combos.entries()];for(;a.length;){let[e,o]=a.pop();if(ee(o)){let o=n.getDescendantsData(e),s=o.map(tt),{internal:l,external:h}=nx(s,t=>n.getRelatedEdgesData(t));o.forEach(e=>{let i=tt(e),r=a.findIndex(t=>{let[e]=t;return e===i});-1!==r&&a.splice(r,1);let o=n.getElementType(i);lM(t,"remove",o,e)}),l.forEach(e=>lM(t,"remove","edge",e)),h.forEach(t=>{var e;let n=tt(t),a=null===(e=this.context.element)||void 0===e?void 0:e.getElement(n);a?r.edges.set(n,t):i.edges.set(n,t)})}else{let i=n.getChildrenData(e),r=i.map(tt),{edges:o}=nx(r,t=>n.getRelatedEdgesData(t));[...i,...o].forEach(e=>{var i;let r=tt(e),o=n.getElementType(r),s=null===(i=this.context.element)||void 0===i?void 0:i.getElement(r);s?lM(t,"update",o,e):lM(t,"add",o,e),"combo"===o&&a.push([r,e])})}}return t}},"collapse-expand-node":class extends lO{getElement(t){return this.context.element.getElement(t)}handleExpand(t,e){if(lT(e,"add","node",t),ee(t))return;let n=tt(t);lT(e,"add","node",t);let i=this.context.model.getRelatedEdgesData(n,"out");i.forEach(t=>{lM(e,"add","edge",t)});let r=this.context.model.getChildrenData(n);r.forEach(t=>{this.handleExpand(t,e)})}beforeDraw(t){let{graph:e,model:n}=this.context,{add:{nodes:i,edges:r},update:{nodes:a}}=t,o=new Map,s=new Map;i.forEach((t,e)=>{ee(t)&&o.set(e,t)}),r.forEach(t=>{if("node"!==e.getElementType(t.source))return;let n=e.getNodeData(t.source);ee(n)&&o.set(t.source,n)}),a.forEach((t,e)=>{let n=this.getElement(e);if(!n)return;let i=n.attributes.collapsed;ee(t)?i||o.set(e,t):i&&s.set(e,t)});let l=new Set;return o.forEach((e,i)=>{let r=n.getDescendantsData(i);r.forEach(e=>{let i=tt(e);if(l.has(i))return;lM(t,"remove","node",e);let r=n.getRelatedEdgesData(i);r.forEach(e=>{lM(t,"remove","edge",e)}),l.add(i)})}),s.forEach((e,i)=>{let r=n.getAncestorsData(i,H);if(r.some(ee)){lM(t,"remove","node",e);return}this.handleExpand(e,t)}),t}},"process-parallel-edges":ht,"get-edge-actual-ends":class extends lO{beforeDraw(t){let{add:e,update:n}=t,{model:i}=this.context;return[...e.edges.entries(),...n.edges.entries()].forEach(t=>{let[,e]=t;l9(i,e)}),t}}},shape:{circle:I.Cd,ellipse:I.Pj,group:I.ZA,html:I.k9,image:eG,line:I.x1,path:I.y$,polygon:I.mg,polyline:I.aH,rect:I.UL,text:I.xv,label:e_,badge:eF}};I.GZ.enableCSSParsing=!1,Object.entries(hr).forEach(t=>{let[e,n]=t;Object.entries(n).forEach(t=>{let[n,i]=t;!function(t,e,n){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=W[t][e];!i&&r?r!==n&&Y.warn("The extension ".concat(e," of ").concat(t," has been registered before.")):Object.assign(W[t],{[e]:n})}(e,n,i)})})},99397:function(t,e,n){"use strict";n.d(e,{P3:function(){return u}});var i=n(67294),r=i.createContext({graph:null,isReady:!1}),a=n(83007),o=function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n0)&&!(i=a.next()).done;)o.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o},l=function(){return(l=Object.assign||function(t){for(var e,n=1,i=arguments.length;ne.indexOf(i)&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(t);re.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]]);return n},c=(0,i.forwardRef)(function(t,e){var n,c,u,d,p,f,g,y,m,v,b=t.style,x=t.children,E=(c=(n=h(t,["style","children"])).onInit,u=n.onReady,d=n.onDestroy,p=n.options,g=(f=s((0,i.useState)(!1),2))[0],y=f[1],m=(0,i.useRef)(null),v=(0,i.useRef)(null),(0,i.useEffect)(function(){if(!m.current&&v.current){var t=new a.kJ(o({container:v.current},p));return m.current=t,y(!0),null==c||c(m.current),function(){var t=m.current;t&&(t.destroy(),null==d||d(),m.current=null)}}},[]),(0,i.useEffect)(function(){var t=v.current,e=m.current;p&&t&&e&&!e.destroyed&&(e.setOptions(p),e.render().then(function(){return null==u?void 0:u(e)}))},[p]),{graph:m.current,containerRef:v,isReady:g}),w=E.graph,C=E.containerRef,S=E.isReady;(0,i.useImperativeHandle)(e,function(){return w},[w]);var R=l({height:"inherit",position:"relative"},b);return x?i.createElement(r.Provider,{value:{graph:w,isReady:S}},i.createElement("div",{ref:C,style:R},S&&x)):i.createElement("div",{ref:C,style:R})}),u=(0,i.memo)(c)},54375:function(t,e,n){"use strict";n.d(e,{Ud:function(){return u},Yy:function(){return a}});/** + * @license + * Copyright 2019 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */let i=Symbol("Comlink.proxy"),r=Symbol("Comlink.endpoint"),a=Symbol("Comlink.releaseProxy"),o=Symbol("Comlink.finalizer"),s=Symbol("Comlink.thrown"),l=t=>"object"==typeof t&&null!==t||"function"==typeof t,h=new Map([["proxy",{canHandle:t=>l(t)&&t[i],serialize(t){let{port1:e,port2:n}=new MessageChannel;return function t(e,n=globalThis,r=["*"]){n.addEventListener("message",function a(l){let h;if(!l||!l.data)return;if(!function(t,e){for(let n of t)if(e===n||"*"===n||n instanceof RegExp&&n.test(e))return!0;return!1}(r,l.origin)){console.warn(`Invalid origin '${l.origin}' for comlink proxy`);return}let{id:u,type:d,path:p}=Object.assign({path:[]},l.data),f=(l.data.argumentList||[]).map(b);try{var g;let n=p.slice(0,-1).reduce((t,e)=>t[e],e),r=p.reduce((t,e)=>t[e],e);switch(d){case"GET":h=r;break;case"SET":n[p.slice(-1)[0]]=b(l.data.value),h=!0;break;case"APPLY":h=r.apply(n,f);break;case"CONSTRUCT":{let t=new r(...f);h=Object.assign(t,{[i]:!0})}break;case"ENDPOINT":{let{port1:n,port2:i}=new MessageChannel;t(e,i),g=[n],m.set(n,g),h=n}break;case"RELEASE":h=void 0;break;default:return}}catch(t){h={value:t,[s]:0}}Promise.resolve(h).catch(t=>({value:t,[s]:0})).then(t=>{let[i,r]=v(t);n.postMessage(Object.assign(Object.assign({},i),{id:u}),r),"RELEASE"===d&&(n.removeEventListener("message",a),c(n),o in e&&"function"==typeof e[o]&&e[o]())}).catch(t=>{let[e,i]=v({value:TypeError("Unserializable return value"),[s]:0});n.postMessage(Object.assign(Object.assign({},e),{id:u}),i)})}),n.start&&n.start()}(t,e),[n,[n]]},deserialize:t=>(t.start(),u(t))}],["throw",{canHandle:t=>l(t)&&s in t,serialize:({value:t})=>[t instanceof Error?{isError:!0,value:{message:t.message,name:t.name,stack:t.stack}}:{isError:!1,value:t},[]],deserialize(t){if(t.isError)throw Object.assign(Error(t.value.message),t.value);throw t.value}}]]);function c(t){"MessagePort"===t.constructor.name&&t.close()}function u(t,e){return function t(e,n=[],i=function(){}){let o=!1,s=new Proxy(i,{get(i,r){if(d(o),r===a)return()=>{g&&g.unregister(s),p(e),o=!0};if("then"===r){if(0===n.length)return{then:()=>s};let t=x(e,{type:"GET",path:n.map(t=>t.toString())}).then(b);return t.then.bind(t)}return t(e,[...n,r])},set(t,i,r){d(o);let[a,s]=v(r);return x(e,{type:"SET",path:[...n,i].map(t=>t.toString()),value:a},s).then(b)},apply(i,a,s){d(o);let l=n[n.length-1];if(l===r)return x(e,{type:"ENDPOINT"}).then(b);if("bind"===l)return t(e,n.slice(0,-1));let[h,c]=y(s);return x(e,{type:"APPLY",path:n.map(t=>t.toString()),argumentList:h},c).then(b)},construct(t,i){d(o);let[r,a]=y(i);return x(e,{type:"CONSTRUCT",path:n.map(t=>t.toString()),argumentList:r},a).then(b)}});return!function(t,e){let n=(f.get(e)||0)+1;f.set(e,n),g&&g.register(t,e,t)}(s,e),s}(t,[],e)}function d(t){if(t)throw Error("Proxy has been released and is not useable")}function p(t){return x(t,{type:"RELEASE"}).then(()=>{c(t)})}let f=new WeakMap,g="FinalizationRegistry"in globalThis&&new FinalizationRegistry(t=>{let e=(f.get(t)||0)-1;f.set(t,e),0===e&&p(t)});function y(t){var e;let n=t.map(v);return[n.map(t=>t[0]),(e=n.map(t=>t[1]),Array.prototype.concat.apply([],e))]}let m=new WeakMap;function v(t){for(let[e,n]of h)if(n.canHandle(t)){let[i,r]=n.serialize(t);return[{type:"HANDLER",name:e,value:i},r]}return[{type:"RAW",value:t},m.get(t)||[]]}function b(t){switch(t.type){case"HANDLER":return h.get(t.name).deserialize(t.value);case"RAW":return t.value}}function x(t,e,n){return new Promise(i=>{let r=[,,,,].fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-");t.addEventListener("message",function e(n){n.data&&n.data.id&&n.data.id===r&&(t.removeEventListener("message",e),i(n.data))}),t.start&&t.start(),t.postMessage(Object.assign({id:r},e),n)})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5592-8dc805e9681b81e3.js b/dbgpt/app/static/web/_next/static/chunks/5592-8dc805e9681b81e3.js new file mode 100644 index 000000000..97a941ffe --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/5592-8dc805e9681b81e3.js @@ -0,0 +1,13 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5592,6231,2783,4393,950,6047,1437,5005,1390,5654],{91321:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(87462),a=r(45987),o=r(67294),l=r(16165),i=["type","children"],c=new Set;function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e[t];if("string"==typeof r&&r.length&&!c.has(r)){var n=document.createElement("script");n.setAttribute("src",r),n.setAttribute("data-namespace",r),e.length>t+1&&(n.onload=function(){s(e,t+1)},n.onerror=function(){s(e,t+1)}),c.add(r),document.body.appendChild(n)}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,r=e.extraCommonProps,c=void 0===r?{}:r;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?s(t.reverse()):s([t]));var d=o.forwardRef(function(e,t){var r=e.type,s=e.children,d=(0,a.Z)(e,i),u=null;return e.type&&(u=o.createElement("use",{xlinkHref:"#".concat(r)})),s&&(u=s),o.createElement(l.Z,(0,n.Z)({},c,d,{ref:t}),u)});return d.displayName="Iconfont",d}},52645:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},58638:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},83266:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},3089:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},30159:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(87462),a=r(67294),o={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},87740:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},27496:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},94668:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=r(13401),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},1375:function(e,t,r){"use strict";async function n(e,t){let r;let n=e.getReader();for(;!(r=await n.read()).done;)t(r.value)}function a(){return{data:"",event:"",id:"",retry:void 0}}r.d(t,{a:function(){return l},L:function(){return c}});var o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let l="text/event-stream",i="last-event-id";function c(e,t){var{signal:r,headers:c,onopen:d,onmessage:u,onclose:f,onerror:b,openWhenHidden:m,fetch:p}=t,g=o(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,o)=>{let h;let v=Object.assign({},c);function y(){h.abort(),document.hidden||j()}v.accept||(v.accept=l),m||document.addEventListener("visibilitychange",y);let $=1e3,O=0;function S(){document.removeEventListener("visibilitychange",y),window.clearTimeout(O),h.abort()}null==r||r.addEventListener("abort",()=>{S(),t()});let x=null!=p?p:window.fetch,w=null!=d?d:s;async function j(){var r,l;h=new AbortController;try{let r,o,c,s;let d=await x(e,Object.assign(Object.assign({},g),{headers:v,signal:h.signal}));await w(d),await n(d.body,(l=function(e,t,r){let n=a(),o=new TextDecoder;return function(l,i){if(0===l.length)null==r||r(n),n=a();else if(i>0){let r=o.decode(l.subarray(0,i)),a=i+(32===l[i+1]?2:1),c=o.decode(l.subarray(a));switch(r){case"data":n.data=n.data?n.data+"\n"+c:c;break;case"event":n.event=c;break;case"id":e(n.id=c);break;case"retry":let s=parseInt(c,10);isNaN(s)||t(n.retry=s)}}}}(e=>{e?v[i]=e:delete v[i]},e=>{$=e},u),s=!1,function(e){void 0===r?(r=e,o=0,c=-1):r=function(e,t){let r=new Uint8Array(e.length+t.length);return r.set(e),r.set(t,e.length),r}(r,e);let t=r.length,n=0;for(;o{let{children:t}=e,{getPrefixCls:r}=n.useContext(s.E_),a=r("breadcrumb");return n.createElement("li",{className:`${a}-separator`,"aria-hidden":"true"},""===t?t:t||"/")};f.__ANT_BREADCRUMB_SEPARATOR=!0;var b=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};function m(e,t,r,a){if(null==r)return null;let{className:l,onClick:c}=t,s=b(t,["className","onClick"]),d=Object.assign(Object.assign({},(0,i.Z)(s,{data:!0,aria:!0})),{onClick:c});return void 0!==a?n.createElement("a",Object.assign({},d,{className:o()(`${e}-link`,l),href:a}),r):n.createElement("span",Object.assign({},d,{className:o()(`${e}-link`,l)}),r)}var p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let g=e=>{let{prefixCls:t,separator:r="/",children:a,menu:o,overlay:l,dropdownProps:i,href:c}=e,s=(e=>{if(o||l){let r=Object.assign({},i);if(o){let e=o||{},{items:t}=e,a=p(e,["items"]);r.menu=Object.assign(Object.assign({},a),{items:null==t?void 0:t.map((e,t)=>{var{key:r,title:a,label:o,path:l}=e,i=p(e,["key","title","label","path"]);let s=null!=o?o:a;return l&&(s=n.createElement("a",{href:`${c}${l}`},s)),Object.assign(Object.assign({},i),{key:null!=r?r:t,label:s})})})}else l&&(r.overlay=l);return n.createElement(u.Z,Object.assign({placement:"bottom"},r),n.createElement("span",{className:`${t}-overlay-link`},e,n.createElement(d.Z,null)))}return e})(a);return null!=s?n.createElement(n.Fragment,null,n.createElement("li",null,s),r&&n.createElement(f,null,r)):null},h=e=>{let{prefixCls:t,children:r,href:a}=e,o=p(e,["prefixCls","children","href"]),{getPrefixCls:l}=n.useContext(s.E_),i=l("breadcrumb",t);return n.createElement(g,Object.assign({},o,{prefixCls:i}),m(i,o,r,a))};h.__ANT_BREADCRUMB_ITEM=!0;var v=r(25446),y=r(14747),$=r(83559),O=r(83262);let S=e=>{let{componentCls:t,iconCls:r,calc:n}=e;return{[t]:Object.assign(Object.assign({},(0,y.Wf)(e)),{color:e.itemColor,fontSize:e.fontSize,[r]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${(0,v.bf)(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:n(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},(0,y.Qy)(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[` + > ${r} + span, + > ${r} + a + `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${(0,v.bf)(e.paddingXXS)}`,marginInline:n(e.marginXXS).mul(-1).equal(),[`> ${r}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}};var x=(0,$.I$)("Breadcrumb",e=>{let t=(0,O.IX)(e,{});return S(t)},e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS})),w=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};function j(e){let{breadcrumbName:t,children:r}=e,n=w(e,["breadcrumbName","children"]),a=Object.assign({title:t},n);return r&&(a.menu={items:r.map(e=>{var{breadcrumbName:t}=e;return Object.assign(Object.assign({},w(e,["breadcrumbName"])),{title:t})})}),a}var C=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let E=(e,t)=>{if(void 0===t)return t;let r=(t||"").replace(/^\//,"");return Object.keys(e).forEach(t=>{r=r.replace(`:${t}`,e[t])}),r},k=e=>{let t;let{prefixCls:r,separator:a="/",style:d,className:u,rootClassName:b,routes:p,items:h,children:v,itemRender:y,params:$={}}=e,O=C(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:S,direction:w,breadcrumb:k}=n.useContext(s.E_),N=S("breadcrumb",r),[P,z,H]=x(N),_=(0,n.useMemo)(()=>h||(p?p.map(j):null),[h,p]),R=(e,t,r,n,a)=>{if(y)return y(e,t,r,n);let o=function(e,t){if(void 0===e.title||null===e.title)return null;let r=Object.keys(t).join("|");return"object"==typeof e.title?e.title:String(e.title).replace(RegExp(`:(${r})`,"g"),(e,r)=>t[r]||e)}(e,t);return m(N,e,o,a)};if(_&&_.length>0){let e=[],r=h||p;t=_.map((t,o)=>{let{path:l,key:c,type:s,menu:d,overlay:u,onClick:b,className:m,separator:p,dropdownProps:h}=t,v=E($,l);void 0!==v&&e.push(v);let y=null!=c?c:o;if("separator"===s)return n.createElement(f,{key:y},p);let O={},S=o===_.length-1;d?O.menu=d:u&&(O.overlay=u);let{href:x}=t;return e.length&&void 0!==v&&(x=`#/${e.join("/")}`),n.createElement(g,Object.assign({key:y},O,(0,i.Z)(t,{data:!0,aria:!0}),{className:m,dropdownProps:h,href:x,separator:S?"":a,onClick:b,prefixCls:N}),R(t,$,r,e,x))})}else if(v){let e=(0,l.Z)(v).length;t=(0,l.Z)(v).map((t,r)=>t?(0,c.Tm)(t,{separator:r===e-1?"":a,key:r}):t)}let Z=o()(N,null==k?void 0:k.className,{[`${N}-rtl`]:"rtl"===w},u,b,z,H),I=Object.assign(Object.assign({},null==k?void 0:k.style),d);return P(n.createElement("nav",Object.assign({className:Z,style:I},O),n.createElement("ol",null,t)))};k.Item=h,k.Separator=f;var N=k},4393:function(e,t,r){"use strict";r.d(t,{Z:function(){return P}});var n=r(67294),a=r(93967),o=r.n(a),l=r(98423),i=r(53124),c=r(98675),s=r(48054),d=r(92398),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r},f=e=>{var{prefixCls:t,className:r,hoverable:a=!0}=e,l=u(e,["prefixCls","className","hoverable"]);let{getPrefixCls:c}=n.useContext(i.E_),s=c("card",t),d=o()(`${s}-grid`,r,{[`${s}-grid-hoverable`]:a});return n.createElement("div",Object.assign({},l,{className:d}))},b=r(25446),m=r(14747),p=r(83559),g=r(83262);let h=e=>{let{antCls:t,componentCls:r,headerHeight:n,cardPaddingBase:a,tabsMarginBottom:o}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:n,marginBottom:-1,padding:`0 ${(0,b.bf)(a)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,b.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,b.bf)(e.borderRadiusLG)} ${(0,b.bf)(e.borderRadiusLG)} 0 0`},(0,m.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},m.vS),{[` + > ${r}-typography, + > ${r}-typography-edit-content + `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:o,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,b.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},v=e=>{let{cardPaddingBase:t,colorBorderSecondary:r,cardShadow:n,lineWidth:a}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` + ${(0,b.bf)(a)} 0 0 0 ${r}, + 0 ${(0,b.bf)(a)} 0 0 ${r}, + ${(0,b.bf)(a)} ${(0,b.bf)(a)} 0 0 ${r}, + ${(0,b.bf)(a)} 0 0 0 ${r} inset, + 0 ${(0,b.bf)(a)} 0 0 ${r} inset; + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:n}}},y=e=>{let{componentCls:t,iconCls:r,actionsLiMargin:n,cardActionsIconSize:a,colorBorderSecondary:o,actionsBg:l}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:l,borderTop:`${(0,b.bf)(e.lineWidth)} ${e.lineType} ${o}`,display:"flex",borderRadius:`0 0 ${(0,b.bf)(e.borderRadiusLG)} ${(0,b.bf)(e.borderRadiusLG)}`},(0,m.dF)()),{"& > li":{margin:n,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${r}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,b.bf)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${r}`]:{fontSize:a,lineHeight:(0,b.bf)(e.calc(a).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,b.bf)(e.lineWidth)} ${e.lineType} ${o}`}}})},$=e=>Object.assign(Object.assign({margin:`${(0,b.bf)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,m.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},m.vS),"&-description":{color:e.colorTextDescription}}),O=e=>{let{componentCls:t,cardPaddingBase:r,colorFillAlter:n}=e;return{[`${t}-head`]:{padding:`0 ${(0,b.bf)(r)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,b.bf)(e.padding)} ${(0,b.bf)(r)}`}}},S=e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},x=e=>{let{componentCls:t,cardShadow:r,cardHeadPadding:n,colorBorderSecondary:a,boxShadowTertiary:o,cardPaddingBase:l,extraColor:i}=e;return{[t]:Object.assign(Object.assign({},(0,m.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:o},[`${t}-head`]:h(e),[`${t}-extra`]:{marginInlineStart:"auto",color:i,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:l,borderRadius:`0 0 ${(0,b.bf)(e.borderRadiusLG)} ${(0,b.bf)(e.borderRadiusLG)}`},(0,m.dF)()),[`${t}-grid`]:v(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,b.bf)(e.borderRadiusLG)} ${(0,b.bf)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:y(e),[`${t}-meta`]:$(e)}),[`${t}-bordered`]:{border:`${(0,b.bf)(e.lineWidth)} ${e.lineType} ${a}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${t}-contain-grid`]:{borderRadius:`${(0,b.bf)(e.borderRadiusLG)} ${(0,b.bf)(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:n}}},[`${t}-type-inner`]:O(e),[`${t}-loading`]:S(e),[`${t}-rtl`]:{direction:"rtl"}}},w=e=>{let{componentCls:t,cardPaddingSM:r,headerHeightSM:n,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:n,padding:`0 ${(0,b.bf)(r)}`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:r}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}};var j=(0,p.I$)("Card",e=>{let t=(0,g.IX)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[x(t),w(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})),C=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let E=e=>{let{actionClasses:t,actions:r=[],actionStyle:a}=e;return n.createElement("ul",{className:t,style:a},r.map((e,t)=>{let a=`action-${t}`;return n.createElement("li",{style:{width:`${100/r.length}%`},key:a},n.createElement("span",null,e))}))},k=n.forwardRef((e,t)=>{let r;let{prefixCls:a,className:u,rootClassName:b,style:m,extra:p,headStyle:g={},bodyStyle:h={},title:v,loading:y,bordered:$=!0,size:O,type:S,cover:x,actions:w,tabList:k,children:N,activeTabKey:P,defaultActiveTabKey:z,tabBarExtraContent:H,hoverable:_,tabProps:R={},classNames:Z,styles:I}=e,M=C(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:T,direction:B,card:L}=n.useContext(i.E_),A=e=>{var t;return o()(null===(t=null==L?void 0:L.classNames)||void 0===t?void 0:t[e],null==Z?void 0:Z[e])},D=e=>{var t;return Object.assign(Object.assign({},null===(t=null==L?void 0:L.styles)||void 0===t?void 0:t[e]),null==I?void 0:I[e])},G=n.useMemo(()=>{let e=!1;return n.Children.forEach(N,t=>{(null==t?void 0:t.type)===f&&(e=!0)}),e},[N]),W=T("card",a),[X,V,q]=j(W),F=n.createElement(s.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},N),U=void 0!==P,K=Object.assign(Object.assign({},R),{[U?"activeKey":"defaultActiveKey"]:U?P:z,tabBarExtraContent:H}),Q=(0,c.Z)(O),J=k?n.createElement(d.Z,Object.assign({size:Q&&"default"!==Q?Q:"large"},K,{className:`${W}-head-tabs`,onChange:t=>{var r;null===(r=e.onTabChange)||void 0===r||r.call(e,t)},items:k.map(e=>{var{tab:t}=e;return Object.assign({label:t},C(e,["tab"]))})})):null;if(v||p||J){let e=o()(`${W}-head`,A("header")),t=o()(`${W}-head-title`,A("title")),a=o()(`${W}-extra`,A("extra")),l=Object.assign(Object.assign({},g),D("header"));r=n.createElement("div",{className:e,style:l},n.createElement("div",{className:`${W}-head-wrapper`},v&&n.createElement("div",{className:t,style:D("title")},v),p&&n.createElement("div",{className:a,style:D("extra")},p)),J)}let Y=o()(`${W}-cover`,A("cover")),ee=x?n.createElement("div",{className:Y,style:D("cover")},x):null,et=o()(`${W}-body`,A("body")),er=Object.assign(Object.assign({},h),D("body")),en=n.createElement("div",{className:et,style:er},y?F:N),ea=o()(`${W}-actions`,A("actions")),eo=(null==w?void 0:w.length)?n.createElement(E,{actionClasses:ea,actionStyle:D("actions"),actions:w}):null,el=(0,l.Z)(M,["onTabChange"]),ei=o()(W,null==L?void 0:L.className,{[`${W}-loading`]:y,[`${W}-bordered`]:$,[`${W}-hoverable`]:_,[`${W}-contain-grid`]:G,[`${W}-contain-tabs`]:null==k?void 0:k.length,[`${W}-${Q}`]:Q,[`${W}-type-${S}`]:!!S,[`${W}-rtl`]:"rtl"===B},u,b,V,q),ec=Object.assign(Object.assign({},null==L?void 0:L.style),m);return X(n.createElement("div",Object.assign({ref:t},el,{className:ei,style:ec}),r,ee,en,eo))});var N=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};k.Grid=f,k.Meta=e=>{let{prefixCls:t,className:r,avatar:a,title:l,description:c}=e,s=N(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:d}=n.useContext(i.E_),u=d("card",t),f=o()(`${u}-meta`,r),b=a?n.createElement("div",{className:`${u}-meta-avatar`},a):null,m=l?n.createElement("div",{className:`${u}-meta-title`},l):null,p=c?n.createElement("div",{className:`${u}-meta-description`},c):null,g=m||p?n.createElement("div",{className:`${u}-meta-detail`},m,p):null;return n.createElement("div",Object.assign({},s,{className:f}),b,g)};var P=k},86250:function(e,t,r){"use strict";r.d(t,{Z:function(){return j}});var n=r(67294),a=r(93967),o=r.n(a),l=r(98423),i=r(98065),c=r(53124),s=r(83559),d=r(83262);let u=["wrap","nowrap","wrap-reverse"],f=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],b=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],m=(e,t)=>{let r=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${r}`]:r&&u.includes(r)}},p=(e,t)=>{let r={};return b.forEach(n=>{r[`${e}-align-${n}`]=t.align===n}),r[`${e}-align-stretch`]=!t.align&&!!t.vertical,r},g=(e,t)=>{let r={};return f.forEach(n=>{r[`${e}-justify-${n}`]=t.justify===n}),r},h=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},v=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},y=e=>{let{componentCls:t}=e,r={};return u.forEach(e=>{r[`${t}-wrap-${e}`]={flexWrap:e}}),r},$=e=>{let{componentCls:t}=e,r={};return b.forEach(e=>{r[`${t}-align-${e}`]={alignItems:e}}),r},O=e=>{let{componentCls:t}=e,r={};return f.forEach(e=>{r[`${t}-justify-${e}`]={justifyContent:e}}),r};var S=(0,s.I$)("Flex",e=>{let{paddingXS:t,padding:r,paddingLG:n}=e,a=(0,d.IX)(e,{flexGapSM:t,flexGap:r,flexGapLG:n});return[h(a),v(a),y(a),$(a),O(a)]},()=>({}),{resetStyle:!1}),x=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let w=n.forwardRef((e,t)=>{let{prefixCls:r,rootClassName:a,className:s,style:d,flex:u,gap:f,children:b,vertical:h=!1,component:v="div"}=e,y=x(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:$,direction:O,getPrefixCls:w}=n.useContext(c.E_),j=w("flex",r),[C,E,k]=S(j),N=null!=h?h:null==$?void 0:$.vertical,P=o()(s,a,null==$?void 0:$.className,j,E,k,o()(Object.assign(Object.assign(Object.assign({},m(j,e)),p(j,e)),g(j,e))),{[`${j}-rtl`]:"rtl"===O,[`${j}-gap-${f}`]:(0,i.n)(f),[`${j}-vertical`]:N}),z=Object.assign(Object.assign({},null==$?void 0:$.style),d);return u&&(z.flex=u),f&&!(0,i.n)(f)&&(z.gap=f),C(n.createElement(v,Object.assign({ref:t,className:P,style:z},(0,l.Z)(y,["justify","wrap","align"])),b))});var j=w},92783:function(e,t,r){"use strict";r.d(t,{Z:function(){return I}});var n=r(67294),a=r(93967),o=r.n(a),l=r(87462),i=r(97685),c=r(45987),s=r(4942),d=r(1413),u=r(71002),f=r(21770),b=r(42550),m=r(98423),p=r(29372),g=r(8410),h=function(e){return e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null},v=function(e){return void 0!==e?"".concat(e,"px"):void 0};function y(e){var t=e.prefixCls,r=e.containerRef,a=e.value,l=e.getValueIndex,c=e.motionName,s=e.onMotionStart,u=e.onMotionEnd,f=e.direction,m=n.useRef(null),y=n.useState(a),$=(0,i.Z)(y,2),O=$[0],S=$[1],x=function(e){var n,a=l(e),o=null===(n=r.current)||void 0===n?void 0:n.querySelectorAll(".".concat(t,"-item"))[a];return(null==o?void 0:o.offsetParent)&&o},w=n.useState(null),j=(0,i.Z)(w,2),C=j[0],E=j[1],k=n.useState(null),N=(0,i.Z)(k,2),P=N[0],z=N[1];(0,g.Z)(function(){if(O!==a){var e=x(O),t=x(a),r=h(e),n=h(t);S(a),E(r),z(n),e&&t?s():u()}},[a]);var H=n.useMemo(function(){return"rtl"===f?v(-(null==C?void 0:C.right)):v(null==C?void 0:C.left)},[f,C]),_=n.useMemo(function(){return"rtl"===f?v(-(null==P?void 0:P.right)):v(null==P?void 0:P.left)},[f,P]);return C&&P?n.createElement(p.ZP,{visible:!0,motionName:c,motionAppear:!0,onAppearStart:function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){E(null),z(null),u()}},function(e,r){var a=e.className,l=e.style,i=(0,d.Z)((0,d.Z)({},l),{},{"--thumb-start-left":H,"--thumb-start-width":v(null==C?void 0:C.width),"--thumb-active-left":_,"--thumb-active-width":v(null==P?void 0:P.width)}),c={ref:(0,b.sQ)(m,r),style:i,className:o()("".concat(t,"-thumb"),a)};return n.createElement("div",c)}):null}var $=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"],O=function(e){var t=e.prefixCls,r=e.className,a=e.disabled,l=e.checked,i=e.label,c=e.title,d=e.value,u=e.onChange;return n.createElement("label",{className:o()(r,(0,s.Z)({},"".concat(t,"-item-disabled"),a))},n.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:a,checked:l,onChange:function(e){a||u(e,d)}}),n.createElement("div",{className:"".concat(t,"-item-label"),title:c},i))},S=n.forwardRef(function(e,t){var r,a,p=e.prefixCls,g=void 0===p?"rc-segmented":p,h=e.direction,v=e.options,S=void 0===v?[]:v,x=e.disabled,w=e.defaultValue,j=e.value,C=e.onChange,E=e.className,k=void 0===E?"":E,N=e.motionName,P=void 0===N?"thumb-motion":N,z=(0,c.Z)(e,$),H=n.useRef(null),_=n.useMemo(function(){return(0,b.sQ)(H,t)},[H,t]),R=n.useMemo(function(){return S.map(function(e){if("object"===(0,u.Z)(e)&&null!==e){var t=function(e){if(void 0!==e.title)return e.title;if("object"!==(0,u.Z)(e.label)){var t;return null===(t=e.label)||void 0===t?void 0:t.toString()}}(e);return(0,d.Z)((0,d.Z)({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}})},[S]),Z=(0,f.Z)(null===(r=R[0])||void 0===r?void 0:r.value,{value:j,defaultValue:w}),I=(0,i.Z)(Z,2),M=I[0],T=I[1],B=n.useState(!1),L=(0,i.Z)(B,2),A=L[0],D=L[1],G=function(e,t){x||(T(t),null==C||C(t))},W=(0,m.Z)(z,["children"]);return n.createElement("div",(0,l.Z)({},W,{className:o()(g,(a={},(0,s.Z)(a,"".concat(g,"-rtl"),"rtl"===h),(0,s.Z)(a,"".concat(g,"-disabled"),x),a),k),ref:_}),n.createElement("div",{className:"".concat(g,"-group")},n.createElement(y,{prefixCls:g,value:M,containerRef:H,motionName:"".concat(g,"-").concat(P),direction:h,getValueIndex:function(e){return R.findIndex(function(t){return t.value===e})},onMotionStart:function(){D(!0)},onMotionEnd:function(){D(!1)}}),R.map(function(e){return n.createElement(O,(0,l.Z)({},e,{key:e.value,prefixCls:g,className:o()(e.className,"".concat(g,"-item"),(0,s.Z)({},"".concat(g,"-item-selected"),e.value===M&&!A)),checked:e.value===M,onChange:G,disabled:!!x||!!e.disabled}))})))}),x=r(53124),w=r(98675),j=r(25446),C=r(14747),E=r(83559),k=r(83262);function N(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function P(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}let z=Object.assign({overflow:"hidden"},C.vS),H=e=>{let{componentCls:t}=e,r=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),n=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),a=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,C.Wf)(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},P(e)),{color:e.itemSelectedColor}),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:r,lineHeight:(0,j.bf)(r),padding:`0 ${(0,j.bf)(e.segmentedPaddingHorizontal)}`},z),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},P(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${(0,j.bf)(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:n,lineHeight:(0,j.bf)(n),padding:`0 ${(0,j.bf)(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:a,lineHeight:(0,j.bf)(a),padding:`0 ${(0,j.bf)(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),N(`&-disabled ${t}-item`,e)),N(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}};var _=(0,E.I$)("Segmented",e=>{let{lineWidth:t,calc:r}=e,n=(0,k.IX)(e,{segmentedPaddingHorizontal:r(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:r(e.controlPaddingHorizontalSM).sub(t).equal()});return[H(n)]},e=>{let{colorTextLabel:t,colorText:r,colorFillSecondary:n,colorBgElevated:a,colorFill:o,lineWidthBold:l,colorBgLayout:i}=e;return{trackPadding:l,trackBg:i,itemColor:t,itemHoverColor:r,itemHoverBg:n,itemSelectedBg:a,itemActiveBg:o,itemSelectedColor:r}}),R=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let Z=n.forwardRef((e,t)=>{let{prefixCls:r,className:a,rootClassName:l,block:i,options:c=[],size:s="middle",style:d}=e,u=R(e,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:f,direction:b,segmented:m}=n.useContext(x.E_),p=f("segmented",r),[g,h,v]=_(p),y=(0,w.Z)(s),$=n.useMemo(()=>c.map(e=>{if("object"==typeof e&&(null==e?void 0:e.icon)){let{icon:t,label:r}=e,a=R(e,["icon","label"]);return Object.assign(Object.assign({},a),{label:n.createElement(n.Fragment,null,n.createElement("span",{className:`${p}-item-icon`},t),r&&n.createElement("span",null,r))})}return e}),[c,p]),O=o()(a,l,null==m?void 0:m.className,{[`${p}-block`]:i,[`${p}-sm`]:"small"===y,[`${p}-lg`]:"large"===y},h,v),j=Object.assign(Object.assign({},null==m?void 0:m.style),d);return g(n.createElement(S,Object.assign({},u,{className:O,style:j,options:$,ref:t,prefixCls:p,direction:b})))});var I=Z},66309:function(e,t,r){"use strict";r.d(t,{Z:function(){return P}});var n=r(67294),a=r(93967),o=r.n(a),l=r(98423),i=r(98787),c=r(69760),s=r(96159),d=r(45353),u=r(53124),f=r(25446),b=r(10274),m=r(14747),p=r(83262),g=r(83559);let h=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:a,calc:o}=e,l=o(n).sub(r).equal(),i=o(t).sub(r).equal();return{[a]:Object.assign(Object.assign({},(0,m.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{let{lineWidth:t,fontSizeIcon:r,calc:n}=e,a=e.fontSizeSM,o=(0,p.IX)(e,{tagFontSize:a,tagLineHeight:(0,f.bf)(n(e.lineHeightSM).mul(a).equal()),tagIconSize:n(r).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return o},y=e=>({defaultBg:new b.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var $=(0,g.I$)("Tag",e=>{let t=v(e);return h(t)},y),O=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let S=n.forwardRef((e,t)=>{let{prefixCls:r,style:a,className:l,checked:i,onChange:c,onClick:s}=e,d=O(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:b}=n.useContext(u.E_),m=f("tag",r),[p,g,h]=$(m),v=o()(m,`${m}-checkable`,{[`${m}-checkable-checked`]:i},null==b?void 0:b.className,l,g,h);return p(n.createElement("span",Object.assign({},d,{ref:t,style:Object.assign(Object.assign({},a),null==b?void 0:b.style),className:v,onClick:e=>{null==c||c(!i),null==s||s(e)}})))});var x=r(98719);let w=e=>(0,x.Z)(e,(t,r)=>{let{textColor:n,lightBorderColor:a,lightColor:o,darkColor:l}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:o,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var j=(0,g.bk)(["Tag","preset"],e=>{let t=v(e);return w(t)},y);let C=(e,t,r)=>{let n=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var E=(0,g.bk)(["Tag","status"],e=>{let t=v(e);return[C(t,"success","Success"),C(t,"processing","Info"),C(t,"error","Error"),C(t,"warning","Warning")]},y),k=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let N=n.forwardRef((e,t)=>{let{prefixCls:r,className:a,rootClassName:f,style:b,children:m,icon:p,color:g,onClose:h,bordered:v=!0,visible:y}=e,O=k(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:x,tag:w}=n.useContext(u.E_),[C,N]=n.useState(!0),P=(0,l.Z)(O,["closeIcon","closable"]);n.useEffect(()=>{void 0!==y&&N(y)},[y]);let z=(0,i.o2)(g),H=(0,i.yT)(g),_=z||H,R=Object.assign(Object.assign({backgroundColor:g&&!_?g:void 0},null==w?void 0:w.style),b),Z=S("tag",r),[I,M,T]=$(Z),B=o()(Z,null==w?void 0:w.className,{[`${Z}-${g}`]:_,[`${Z}-has-color`]:g&&!_,[`${Z}-hidden`]:!C,[`${Z}-rtl`]:"rtl"===x,[`${Z}-borderless`]:!v},a,f,M,T),L=e=>{e.stopPropagation(),null==h||h(e),e.defaultPrevented||N(!1)},[,A]=(0,c.Z)((0,c.w)(e),(0,c.w)(w),{closable:!1,closeIconRender:e=>{let t=n.createElement("span",{className:`${Z}-close-icon`,onClick:L},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var r;null===(r=null==e?void 0:e.onClick)||void 0===r||r.call(e,t),L(t)},className:o()(null==e?void 0:e.className,`${Z}-close-icon`)}))}}),D="function"==typeof O.onClick||m&&"a"===m.type,G=p||null,W=G?n.createElement(n.Fragment,null,G,m&&n.createElement("span",null,m)):m,X=n.createElement("span",Object.assign({},P,{ref:t,className:B,style:R}),W,A,z&&n.createElement(j,{key:"preset",prefixCls:Z}),H&&n.createElement(E,{key:"status",prefixCls:Z}));return I(D?n.createElement(d.Z,{component:"Tag"},X):X)});N.CheckableTag=S;var P=N},50948:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{noSSR:function(){return l},default:function(){return i}});let n=r(38754),a=(r(67294),n._(r(23900)));function o(e){return{default:(null==e?void 0:e.default)||e}}function l(e,t){return delete t.webpack,delete t.modules,e(t)}function i(e,t){let r=a.default,n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e}),n={...n,...t};let i=n.loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:()=>null!=i?i().then(o):Promise.resolve(o(()=>null))}):(delete n.webpack,delete n.modules,l(r,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)},2804:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return o}});let n=r(38754),a=n._(r(67294)),o=a.default.createContext(null)},23900:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});let n=r(38754),a=n._(r(67294)),o=r(2804),l=[],i=[],c=!1;function s(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class d{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function u(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),n=null;function l(){if(!n){let t=new d(e,r);n={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return n.promise()}if(!c){let e=r.webpack?r.webpack():r.modules;e&&i.push(t=>{for(let r of e)if(t.includes(r))return l()})}function s(e,t){!function(){l();let e=a.default.useContext(o.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let i=a.default.useSyncExternalStore(n.subscribe,n.getCurrentValue,n.getCurrentValue);return a.default.useImperativeHandle(t,()=>({retry:n.retry}),[]),a.default.useMemo(()=>{var t;return i.loading||i.error?a.default.createElement(r.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:n.retry}):i.loaded?a.default.createElement((t=i.loaded)&&t.default?t.default:t,e):null},[e,i])}return s.preload=()=>l(),s.displayName="LoadableComponent",a.default.forwardRef(s)}(s,e)}function f(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return f(e,t)})}u.preloadAll=()=>new Promise((e,t)=>{f(l).then(e,t)}),u.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(c=!0,t());f(i,e).then(r,r)})),window.__NEXT_PRELOADREADY=u.preloadReady;let b=u},5152:function(e,t,r){e.exports=r(50948)}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5593.7acef5061b6b6ff5.js b/dbgpt/app/static/web/_next/static/chunks/5593.5c276434e1162c59.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/5593.7acef5061b6b6ff5.js rename to dbgpt/app/static/web/_next/static/chunks/5593.5c276434e1162c59.js index bf811c0f5..04138ce7c 100644 --- a/dbgpt/app/static/web/_next/static/chunks/5593.7acef5061b6b6ff5.js +++ b/dbgpt/app/static/web/_next/static/chunks/5593.5c276434e1162c59.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5593],{35593:function(e,t,n){n.r(t),n.d(t,{conf:function(){return i},language:function(){return r}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var i={wordPattern:/(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},r={defaultToken:"",tokenPostfix:".less",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",identifierPlus:"-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@nestedJSBegin"},["[ \\t\\r\\n]+",""],{include:"@comments"},{include:"@keyword"},{include:"@strings"},{include:"@numbers"},["[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))","attribute.name","@attribute"],["url(\\-prefix)?\\(",{token:"tag",next:"@urldeclaration"}],["[{}()\\[\\]]","@brackets"],["[,:;]","delimiter"],["#@identifierPlus","tag.id"],["&","tag"],["\\.@identifierPlus(?=\\()","tag.class","@attribute"],["\\.@identifierPlus","tag.class"],["@identifierPlus","tag"],{include:"@operators"},["@(@identifier(?=[:,\\)]))","variable","@attribute"],["@(@identifier)","variable"],["@","key","@atRules"]],nestedJSBegin:[["``","delimiter.backtick"],["`",{token:"delimiter.backtick",next:"@nestedJSEnd",nextEmbedded:"text/javascript"}]],nestedJSEnd:[["`",{token:"delimiter.backtick",next:"@pop",nextEmbedded:"@pop"}]],operators:[["[<>=\\+\\-\\*\\/\\^\\|\\~]","operator"]],keyword:[["(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b","keyword"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"tag",next:"@pop"}]],attribute:[{include:"@nestedJSBegin"},{include:"@comments"},{include:"@strings"},{include:"@numbers"},{include:"@keyword"},["[a-zA-Z\\-]+(?=\\()","attribute.value","@attribute"],[">","operator","@pop"],["@identifier","attribute.value"],{include:"@operators"},["@(@identifier)","variable"],["[)\\}]","@brackets","@pop"],["[{}()\\[\\]>]","@brackets"],["[;]","delimiter","@pop"],["[,=:]","delimiter"],["\\s",""],[".","attribute.value"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],strings:[['~?"',{token:"string.delimiter",next:"@stringsEndDoubleQuote"}],["~?'",{token:"string.delimiter",next:"@stringsEndQuote"}]],stringsEndDoubleQuote:[['\\\\"',"string"],['"',{token:"string.delimiter",next:"@popall"}],[".","string"]],stringsEndQuote:[["\\\\'","string"],["'",{token:"string.delimiter",next:"@popall"}],[".","string"]],atRules:[{include:"@comments"},{include:"@strings"},["[()]","delimiter"],["[\\{;]","delimiter","@pop"],[".","key"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5654-e2fb6910235d251d.js b/dbgpt/app/static/web/_next/static/chunks/5654-e2fb6910235d251d.js new file mode 100644 index 000000000..ed2fa9596 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/5654-e2fb6910235d251d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5654,950,6047,1437,5005,1390],{91321:function(e,r,t){t.d(r,{Z:function(){return u}});var o=t(87462),n=t(45987),c=t(67294),l=t(16165),a=["type","children"],i=new Set;function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[r];if("string"==typeof t&&t.length&&!i.has(t)){var o=document.createElement("script");o.setAttribute("src",t),o.setAttribute("data-namespace",t),e.length>r+1&&(o.onload=function(){s(e,r+1)},o.onerror=function(){s(e,r+1)}),i.add(t),document.body.appendChild(o)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scriptUrl,t=e.extraCommonProps,i=void 0===t?{}:t;r&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(r)?s(r.reverse()):s([r]));var u=c.forwardRef(function(e,r){var t=e.type,s=e.children,u=(0,n.Z)(e,a),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(t)})),s&&(d=s),c.createElement(l.Z,(0,o.Z)({},i,u,{ref:r}),d)});return u.displayName="Iconfont",u}},52645:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},58638:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},83266:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},30159:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},87740:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},27496:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},94668:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},66309:function(e,r,t){t.d(r,{Z:function(){return z}});var o=t(67294),n=t(93967),c=t.n(n),l=t(98423),a=t(98787),i=t(69760),s=t(96159),u=t(45353),d=t(53124),f=t(25446),g=t(10274),h=t(14747),p=t(83262),v=t(83559);let m=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:o,componentCls:n,calc:c}=e,l=c(o).sub(t).equal(),a=c(r).sub(t).equal();return{[n]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${n}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${n}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${n}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${n}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${n}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:r,fontSizeIcon:t,calc:o}=e,n=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:n,tagLineHeight:(0,f.bf)(o(e.lineHeightSM).mul(n).equal()),tagIconSize:o(t).sub(o(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let r=b(e);return m(r)},C),k=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let w=o.forwardRef((e,r)=>{let{prefixCls:t,style:n,className:l,checked:a,onChange:i,onClick:s}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:g}=o.useContext(d.E_),h=f("tag",t),[p,v,m]=y(h),b=c()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:a},null==g?void 0:g.className,l,v,m);return p(o.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},n),null==g?void 0:g.style),className:b,onClick:e=>{null==i||i(!a),null==s||s(e)}})))});var $=t(98719);let x=e=>(0,$.Z)(e,(r,t)=>{let{textColor:o,lightBorderColor:n,lightColor:c,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:o,background:c,borderColor:n,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Z=(0,v.bk)(["Tag","preset"],e=>{let r=b(e);return x(r)},C);let E=(e,r,t)=>{let o=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let r=b(e);return[E(r,"success","Success"),E(r,"processing","Info"),E(r,"error","Error"),E(r,"warning","Warning")]},C),O=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let S=o.forwardRef((e,r)=>{let{prefixCls:t,className:n,rootClassName:f,style:g,children:h,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,k=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:$,tag:x}=o.useContext(d.E_),[E,S]=o.useState(!0),z=(0,l.Z)(k,["closeIcon","closable"]);o.useEffect(()=>{void 0!==C&&S(C)},[C]);let B=(0,a.o2)(v),M=(0,a.yT)(v),j=B||M,V=Object.assign(Object.assign({backgroundColor:v&&!j?v:void 0},null==x?void 0:x.style),g),P=w("tag",t),[I,N,R]=y(P),T=c()(P,null==x?void 0:x.className,{[`${P}-${v}`]:j,[`${P}-has-color`]:v&&!j,[`${P}-hidden`]:!E,[`${P}-rtl`]:"rtl"===$,[`${P}-borderless`]:!b},n,f,N,R),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)(x),{closable:!1,closeIconRender:e=>{let r=o.createElement("span",{className:`${P}-close-icon`,onClick:L},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),L(r)},className:c()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),_="function"==typeof k.onClick||h&&"a"===h.type,q=p||null,F=q?o.createElement(o.Fragment,null,q,h&&o.createElement("span",null,h)):h,D=o.createElement("span",Object.assign({},z,{ref:r,className:T,style:V}),F,A,B&&o.createElement(Z,{key:"preset",prefixCls:P}),M&&o.createElement(H,{key:"status",prefixCls:P}));return I(_?o.createElement(u.Z,{component:"Tag"},D):D)});S.CheckableTag=w;var z=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5703.2bf3013c94b71a2a.js b/dbgpt/app/static/web/_next/static/chunks/5703.2bf3013c94b71a2a.js deleted file mode 100644 index 18d724317..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/5703.2bf3013c94b71a2a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5703],{15703:function(e,t,n){n.r(t),n.d(t,{conf:function(){return p},language:function(){return h}});var a,r=n(5036),m=Object.defineProperty,l=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s=(e,t,n,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of i(t))o.call(e,r)||r===n||m(e,r,{get:()=>t[r],enumerable:!(a=l(t,r))||a.enumerable});return e},d={};s(d,r,"default"),a&&s(a,r,"default");var c=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],p={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[[""],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:RegExp(`<(?!(?:${c.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:d.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(?!(?:${c.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:d.languages.IndentAction.Indent}}]},h={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5703.82bca6f2f8f70bc1.js b/dbgpt/app/static/web/_next/static/chunks/5703.82bca6f2f8f70bc1.js new file mode 100644 index 000000000..2b9df536b --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/5703.82bca6f2f8f70bc1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5703],{15703:function(e,t,n){n.r(t),n.d(t,{conf:function(){return p},language:function(){return h}});var a,r=n(72339),m=Object.defineProperty,l=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s=(e,t,n,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of i(t))o.call(e,r)||r===n||m(e,r,{get:()=>t[r],enumerable:!(a=l(t,r))||a.enumerable});return e},d={};s(d,r,"default"),a&&s(a,r,"default");var c=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],p={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[[""],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:RegExp(`<(?!(?:${c.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:d.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(?!(?:${c.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:d.languages.IndentAction.Indent}}]},h={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5717-30366cfbe0962925.js b/dbgpt/app/static/web/_next/static/chunks/5717-30366cfbe0962925.js new file mode 100644 index 000000000..66d7a1b30 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/5717-30366cfbe0962925.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5717],{41156:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"},c=r(13401),l=o.forwardRef(function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},50067:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},c=r(13401),l=o.forwardRef(function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},63606:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},c=r(13401),l=o.forwardRef(function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},9020:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},c=r(13401),l=o.forwardRef(function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},9641:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 100c-61.8 0-112 50.2-112 112 0 47.7 29.9 88.5 72 104.6v27.6L512 601.4 312 344.2v-27.6c42.1-16.1 72-56.9 72-104.6 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 50.6 33.8 93.5 80 107.3v34.4c0 9.7 3.3 19.3 9.3 27L476 672.3v33.6c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-33.6l226.7-291.6c6-7.7 9.3-17.3 9.3-27v-34.4c46.2-13.8 80-56.7 80-107.3 0-61.8-50.2-112-112-112zM224 212a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm336 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm192-552a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"fork",theme:"outlined"},c=r(13401),l=o.forwardRef(function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},38545:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},c=r(13401),l=o.forwardRef(function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},92962:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},c=r(13401),l=o.forwardRef(function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},85980:function(e,t,r){var n=r(97582),o=r(23279),a=r.n(o),c=r(67294),l=r(3930),i=r(45210),s=r(92770),u=r(31663);t.Z=function(e,t){u.Z&&!(0,s.mf)(e)&&console.error("useDebounceFn expected parameter is a function, got ".concat(typeof e));var r,o=(0,l.Z)(e),f=null!==(r=null==t?void 0:t.wait)&&void 0!==r?r:1e3,d=(0,c.useMemo)(function(){return a()(function(){for(var e=[],t=0;tn.createElement(a.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},n.createElement(e,Object.assign({},t)))}t.Z=(e,t,r,a)=>l(l=>{let{prefixCls:i,style:s}=l,u=n.useRef(null),[f,d]=n.useState(0),[m,g]=n.useState(0),[p,v]=(0,o.Z)(!1,{value:l.open}),{getPrefixCls:h}=n.useContext(c.E_),b=h(t||"select",i);n.useEffect(()=>{if(v(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;d(t.offsetHeight+8),g(t.offsetWidth)}),t=setInterval(()=>{var n;let o=r?`.${r(b)}`:`.${b}-dropdown`,a=null===(n=u.current)||void 0===n?void 0:n.querySelector(o);a&&(clearInterval(t),e.observe(a))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let y=Object.assign(Object.assign({},l),{style:Object.assign(Object.assign({},s),{margin:0}),open:p,visible:p,getPopupContainer:()=>u.current});return a&&(y=a(y)),n.createElement("div",{ref:u,style:{paddingBottom:f,position:"relative",minWidth:m}},n.createElement(e,Object.assign({},y)))})},85576:function(e,t,r){r.d(t,{default:function(){return C}});var n=r(56080),o=r(38657),a=r(56745),c=r(67294),l=r(93967),i=r.n(l),s=r(40974),u=r(8745),f=r(53124),d=r(35792),m=r(32409),g=r(4941),p=r(71194),v=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},h=(0,u.i)(e=>{let{prefixCls:t,className:r,closeIcon:n,closable:o,type:a,title:l,children:u,footer:h}=e,b=v(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:y}=c.useContext(f.E_),O=y(),C=t||y("modal"),$=(0,d.Z)(O),[w,E,Z]=(0,p.ZP)(C,$),z=`${C}-confirm`,k={};return k=a?{closable:null!=o&&o,title:"",footer:"",children:c.createElement(m.O,Object.assign({},e,{prefixCls:C,confirmPrefixCls:z,rootPrefixCls:O,content:u}))}:{closable:null==o||o,title:l,footer:null!==h&&c.createElement(g.$,Object.assign({},e)),children:u},w(c.createElement(s.s,Object.assign({prefixCls:C,className:i()(E,`${C}-pure-panel`,a&&z,a&&`${z}-${a}`,r,Z,$)},b,{closeIcon:(0,g.b)(C,n),closable:o},k)))}),b=r(94423);function y(e){return(0,n.ZP)((0,n.uW)(e))}let O=a.Z;O.useModal=b.Z,O.info=function(e){return(0,n.ZP)((0,n.cw)(e))},O.success=function(e){return(0,n.ZP)((0,n.vq)(e))},O.error=function(e){return(0,n.ZP)((0,n.AQ)(e))},O.warning=y,O.warn=y,O.confirm=function(e){return(0,n.ZP)((0,n.Au)(e))},O.destroyAll=function(){for(;o.Z.length;){let e=o.Z.pop();e&&e()}},O.config=n.ai,O._InternalPanelDoNotUseOrYouWillBeFired=h;var C=O},33507:function(e,t){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`}}})},33297:function(e,t,r){r.d(t,{Fm:function(){return g}});var n=r(25446),o=r(93590);let a=new n.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),c=new n.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 n.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),i=new n.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),s=new n.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 n.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 n.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 n.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),m={"move-up":{inKeyframes:f,outKeyframes:d},"move-down":{inKeyframes:a,outKeyframes:c},"move-left":{inKeyframes:l,outKeyframes:i},"move-right":{inKeyframes:s,outKeyframes:u}},g=(e,t)=>{let{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:a,outKeyframes:c}=m[t];return[(0,o.R)(n,a,c,e.motionDurationMid),{[` + ${n}-enter, + ${n}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},66309:function(e,t,r){r.d(t,{Z:function(){return M}});var n=r(67294),o=r(93967),a=r.n(o),c=r(98423),l=r(98787),i=r(69760),s=r(96159),u=r(45353),f=r(53124),d=r(25446),m=r(10274),g=r(14747),p=r(83262),v=r(83559);let h=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:o,calc:a}=e,c=a(n).sub(r).equal(),l=a(t).sub(r).equal();return{[o]:Object.assign(Object.assign({},(0,g.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:c,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,d.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:c}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:t,fontSizeIcon:r,calc:n}=e,o=e.fontSizeSM,a=(0,p.IX)(e,{tagFontSize:o,tagLineHeight:(0,d.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(r).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},y=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var O=(0,v.I$)("Tag",e=>{let t=b(e);return h(t)},y),C=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let $=n.forwardRef((e,t)=>{let{prefixCls:r,style:o,className:c,checked:l,onChange:i,onClick:s}=e,u=C(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:d,tag:m}=n.useContext(f.E_),g=d("tag",r),[p,v,h]=O(g),b=a()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:l},null==m?void 0:m.className,c,v,h);return p(n.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},o),null==m?void 0:m.style),className:b,onClick:e=>{null==i||i(!l),null==s||s(e)}})))});var w=r(98719);let E=e=>(0,w.Z)(e,(t,r)=>{let{textColor:n,lightBorderColor:o,lightColor:a,darkColor:c}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:c,borderColor:c},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Z=(0,v.bk)(["Tag","preset"],e=>{let t=b(e);return E(t)},y);let z=(e,t,r)=>{let n=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var k=(0,v.bk)(["Tag","status"],e=>{let t=b(e);return[z(t,"success","Success"),z(t,"processing","Info"),z(t,"error","Error"),z(t,"warning","Warning")]},y),x=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let H=n.forwardRef((e,t)=>{let{prefixCls:r,className:o,rootClassName:d,style:m,children:g,icon:p,color:v,onClose:h,bordered:b=!0,visible:y}=e,C=x(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:$,direction:w,tag:E}=n.useContext(f.E_),[z,H]=n.useState(!0),M=(0,c.Z)(C,["closeIcon","closable"]);n.useEffect(()=>{void 0!==y&&H(y)},[y]);let j=(0,l.o2)(v),I=(0,l.yT)(v),S=j||I,P=Object.assign(Object.assign({backgroundColor:v&&!S?v:void 0},null==E?void 0:E.style),m),V=$("tag",r),[B,R,N]=O(V),T=a()(V,null==E?void 0:E.className,{[`${V}-${v}`]:S,[`${V}-has-color`]:v&&!S,[`${V}-hidden`]:!z,[`${V}-rtl`]:"rtl"===w,[`${V}-borderless`]:!b},o,d,R,N),D=e=>{e.stopPropagation(),null==h||h(e),e.defaultPrevented||H(!1)},[,L]=(0,i.Z)((0,i.w)(e),(0,i.w)(E),{closable:!1,closeIconRender:e=>{let t=n.createElement("span",{className:`${V}-close-icon`,onClick:D},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var r;null===(r=null==e?void 0:e.onClick)||void 0===r||r.call(e,t),D(t)},className:a()(null==e?void 0:e.className,`${V}-close-icon`)}))}}),F="function"==typeof C.onClick||g&&"a"===g.type,_=p||null,A=_?n.createElement(n.Fragment,null,_,g&&n.createElement("span",null,g)):g,K=n.createElement("span",Object.assign({},M,{ref:t,className:T,style:P}),A,L,j&&n.createElement(Z,{key:"preset",prefixCls:V}),I&&n.createElement(k,{key:"status",prefixCls:V}));return B(F?n.createElement(u.Z,{component:"Tag"},K):K)});H.CheckableTag=$;var M=H}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5737-5cac6ca544298b0c.js b/dbgpt/app/static/web/_next/static/chunks/5737-5cac6ca544298b0c.js deleted file mode 100644 index fa7bebcab..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/5737-5cac6ca544298b0c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5737,2500,7399,8538,2524,2293,7209],{39055:function(e,t){t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"}},91321:function(e,t,r){r.d(t,{Z:function(){return d}});var n=r(87462),o=r(45987),a=r(67294),l=r(16165),i=["type","children"],c=new Set;function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e[t];if("string"==typeof r&&r.length&&!c.has(r)){var n=document.createElement("script");n.setAttribute("src",r),n.setAttribute("data-namespace",r),e.length>t+1&&(n.onload=function(){s(e,t+1)},n.onerror=function(){s(e,t+1)}),c.add(r),document.body.appendChild(n)}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,r=e.extraCommonProps,c=void 0===r?{}:r;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?s(t.reverse()):s([t]));var d=a.forwardRef(function(e,t){var r=e.type,s=e.children,d=(0,o.Z)(e,i),f=null;return e.type&&(f=a.createElement("use",{xlinkHref:"#".concat(r)})),s&&(f=s),a.createElement(l.Z,(0,n.Z)({},c,d,{ref:t}),f)});return d.displayName="Iconfont",d}},52645:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(87462),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=r(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},85175:function(e,t,r){var n=r(87462),o=r(67294),a=r(48820),l=r(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=i},15381:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(87462),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},l=r(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},58638:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(87462),o=r(67294),a={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=r(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},83266:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(87462),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},l=r(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},65429:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(87462),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},l=r(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},79090:function(e,t,r){var n=r(87462),o=r(67294),a=r(15294),l=r(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=i},30159:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(87462),o=r(67294),a={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=r(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},87740:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(87462),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=r(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},27496:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(87462),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=r(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},41441:function(e,t,r){var n=r(87462),o=r(67294),a=r(39055),l=r(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=i},96074:function(e,t,r){r.d(t,{Z:function(){return g}});var n=r(67294),o=r(93967),a=r.n(o),l=r(53124),i=r(47648),c=r(14747),s=r(83559),d=r(87893);let f=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:r,colorSplit:n,lineWidth:o,textPaddingInline:a,orientationMargin:l,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{borderBlockStart:`${(0,i.bf)(o)} solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,i.bf)(o)} solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,i.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,i.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,i.bf)(o)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${l} * 100%)`},"&::after":{width:`calc(100% - ${l} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${l} * 100%)`},"&::after":{width:`calc(${l} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:a},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${(0,i.bf)(o)} 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},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${(0,i.bf)(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{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:r}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:r}}})}};var u=(0,s.I$)("Divider",e=>{let t=(0,d.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[f(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),h=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},g=e=>{let{getPrefixCls:t,direction:r,divider:o}=n.useContext(l.E_),{prefixCls:i,type:c="horizontal",orientation:s="center",orientationMargin:d,className:f,rootClassName:g,children:b,dashed:p,variant:m="solid",plain:v,style:$}=e,y=h(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),w=t("divider",i),[C,x,k]=u(w),z=!!b,S="left"===s&&null!=d,Z="right"===s&&null!=d,E=a()(w,null==o?void 0:o.className,x,k,`${w}-${c}`,{[`${w}-with-text`]:z,[`${w}-with-text-${s}`]:z,[`${w}-dashed`]:!!p,[`${w}-${m}`]:"solid"!==m,[`${w}-plain`]:!!v,[`${w}-rtl`]:"rtl"===r,[`${w}-no-default-orientation-margin-left`]:S,[`${w}-no-default-orientation-margin-right`]:Z},f,g),O=n.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),H=Object.assign(Object.assign({},S&&{marginLeft:O}),Z&&{marginRight:O});return C(n.createElement("div",Object.assign({className:E,style:Object.assign(Object.assign({},null==o?void 0:o.style),$)},y,{role:"separator"}),b&&"vertical"!==c&&n.createElement("span",{className:`${w}-inner-text`,style:H},b)))}},66309:function(e,t,r){r.d(t,{Z:function(){return H}});var n=r(67294),o=r(93967),a=r.n(o),l=r(98423),i=r(98787),c=r(69760),s=r(96159),d=r(45353),f=r(53124),u=r(47648),h=r(10274),g=r(14747),b=r(87893),p=r(83559);let m=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:o,calc:a}=e,l=a(n).sub(r).equal(),i=a(t).sub(r).equal();return{[o]:Object.assign(Object.assign({},(0,g.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,u.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{let{lineWidth:t,fontSizeIcon:r,calc:n}=e,o=e.fontSizeSM,a=(0,b.IX)(e,{tagFontSize:o,tagLineHeight:(0,u.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(r).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},$=e=>({defaultBg:new h.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,p.I$)("Tag",e=>{let t=v(e);return m(t)},$),w=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let C=n.forwardRef((e,t)=>{let{prefixCls:r,style:o,className:l,checked:i,onChange:c,onClick:s}=e,d=w(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:u,tag:h}=n.useContext(f.E_),g=u("tag",r),[b,p,m]=y(g),v=a()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:i},null==h?void 0:h.className,l,p,m);return b(n.createElement("span",Object.assign({},d,{ref:t,style:Object.assign(Object.assign({},o),null==h?void 0:h.style),className:v,onClick:e=>{null==c||c(!i),null==s||s(e)}})))});var x=r(98719);let k=e=>(0,x.Z)(e,(t,r)=>{let{textColor:n,lightBorderColor:o,lightColor:a,darkColor:l}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var z=(0,p.bk)(["Tag","preset"],e=>{let t=v(e);return k(t)},$);let S=(e,t,r)=>{let n=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Z=(0,p.bk)(["Tag","status"],e=>{let t=v(e);return[S(t,"success","Success"),S(t,"processing","Info"),S(t,"error","Error"),S(t,"warning","Warning")]},$),E=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let O=n.forwardRef((e,t)=>{let{prefixCls:r,className:o,rootClassName:u,style:h,children:g,icon:b,color:p,onClose:m,bordered:v=!0,visible:$}=e,w=E(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:C,direction:x,tag:k}=n.useContext(f.E_),[S,O]=n.useState(!0),H=(0,l.Z)(w,["closeIcon","closable"]);n.useEffect(()=>{void 0!==$&&O($)},[$]);let B=(0,i.o2)(p),M=(0,i.yT)(p),I=B||M,j=Object.assign(Object.assign({backgroundColor:p&&!I?p:void 0},null==k?void 0:k.style),h),N=C("tag",r),[P,V,R]=y(N),T=a()(N,null==k?void 0:k.className,{[`${N}-${p}`]:I,[`${N}-has-color`]:p&&!I,[`${N}-hidden`]:!S,[`${N}-rtl`]:"rtl"===x,[`${N}-borderless`]:!v},o,u,V,R),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||O(!1)},[,W]=(0,c.Z)((0,c.w)(e),(0,c.w)(k),{closable:!1,closeIconRender:e=>{let t=n.createElement("span",{className:`${N}-close-icon`,onClick:L},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var r;null===(r=null==e?void 0:e.onClick)||void 0===r||r.call(e,t),L(t)},className:a()(null==e?void 0:e.className,`${N}-close-icon`)}))}}),A="function"==typeof w.onClick||g&&"a"===g.type,_=b||null,G=_?n.createElement(n.Fragment,null,_,g&&n.createElement("span",null,g)):g,q=n.createElement("span",Object.assign({},H,{ref:t,className:T,style:j}),G,W,B&&n.createElement(z,{key:"preset",prefixCls:N}),M&&n.createElement(Z,{key:"status",prefixCls:N}));return P(A?n.createElement(d.Z,{component:"Tag"},q):q)});O.CheckableTag=C;var H=O}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5782-c716125f96f3c46d.js b/dbgpt/app/static/web/_next/static/chunks/5782-c716125f96f3c46d.js new file mode 100644 index 000000000..ed28e9cd6 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/5782-c716125f96f3c46d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5782],{94155:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z"}}]},name:"caret-left",theme:"outlined"},i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},14313:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"}}]},name:"caret-right",theme:"outlined"},i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},11186:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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-32zm-40 728H184V184h656v656zM340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8s0 .1.1.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8 0 0 0 .1-.1.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7zM620 539v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8v.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8v.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7z"}}]},name:"control",theme:"outlined"},i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},90725:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 472a40 40 0 1080 0 40 40 0 10-80 0zm367 352.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.7-107.8c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1L813.5 844h-603z"}}]},name:"experiment",theme:"outlined"},i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},42952:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},20046:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},90598:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},75750:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"},i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},96074:function(e,t,r){r.d(t,{Z:function(){return h}});var n=r(67294),o=r(93967),a=r.n(o),i=r(53124),l=r(25446),c=r(14747),s=r(83559),d=r(83262);let f=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:r,colorSplit:n,lineWidth:o,textPaddingInline:a,orientationMargin:i,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{borderBlockStart:`${(0,l.bf)(o)} solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,l.bf)(o)} solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,l.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,l.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,l.bf)(o)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${i} * 100%)`},"&::after":{width:`calc(100% - ${i} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${i} * 100%)`},"&::after":{width:`calc(${i} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:a},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${(0,l.bf)(o)} 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},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${(0,l.bf)(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{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:r}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:r}}})}};var u=(0,s.I$)("Divider",e=>{let t=(0,d.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[f(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),g=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},h=e=>{let{getPrefixCls:t,direction:r,divider:o}=n.useContext(i.E_),{prefixCls:l,type:c="horizontal",orientation:s="center",orientationMargin:d,className:f,rootClassName:h,children:b,dashed:m,variant:p="solid",plain:v,style:x}=e,$=g(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),y=t("divider",l),[w,O,z]=u(y),C=!!b,E="left"===s&&null!=d,S="right"===s&&null!=d,Z=a()(y,null==o?void 0:o.className,O,z,`${y}-${c}`,{[`${y}-with-text`]:C,[`${y}-with-text-${s}`]:C,[`${y}-dashed`]:!!m,[`${y}-${p}`]:"solid"!==p,[`${y}-plain`]:!!v,[`${y}-rtl`]:"rtl"===r,[`${y}-no-default-orientation-margin-left`]:E,[`${y}-no-default-orientation-margin-right`]:S},f,h),k=n.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),B=Object.assign(Object.assign({},E&&{marginLeft:k}),S&&{marginRight:k});return w(n.createElement("div",Object.assign({className:Z,style:Object.assign(Object.assign({},null==o?void 0:o.style),x)},$,{role:"separator"}),b&&"vertical"!==c&&n.createElement("span",{className:`${y}-inner-text`,style:B},b)))}},21612:function(e,t,r){r.d(t,{default:function(){return C}});var n=r(74902),o=r(67294),a=r(93967),i=r.n(a),l=r(98423),c=r(53124),s=r(82401),d=r(50344),f=r(5210),u=r(25446),g=r(83559),h=e=>{let{componentCls:t,bodyBg:r,lightSiderBg:n,lightTriggerBg:o,lightTriggerColor:a}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:a,background:o},[`${t}-sider-zero-width-trigger`]:{color:a,background:o,border:`1px solid ${r}`,borderInlineStart:0}}}};let b=e=>{let{antCls:t,componentCls:r,colorText:n,triggerColor:o,footerBg:a,triggerBg:i,headerHeight:l,headerPadding:c,headerColor:s,footerPadding:d,triggerHeight:f,zeroTriggerHeight:g,zeroTriggerWidth:b,motionDurationMid:m,motionDurationSlow:p,fontSize:v,borderRadius:x,bodyBg:$,headerBg:y,siderBg:w}=e;return{[r]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:$,"&, *":{boxSizing:"border-box"},[`&${r}-has-sider`]:{flexDirection:"row",[`> ${r}, > ${r}-content`]:{width:0}},[`${r}-header, &${r}-footer`]:{flex:"0 0 auto"},[`${r}-sider`]:{position:"relative",minWidth:0,background:w,transition:`all ${m}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:f},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:f,color:o,lineHeight:(0,u.bf)(f),textAlign:"center",background:i,cursor:"pointer",transition:`all ${m}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:l,insetInlineEnd:e.calc(b).mul(-1).equal(),zIndex:1,width:b,height:g,color:o,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:w,borderStartStartRadius:0,borderStartEndRadius:x,borderEndEndRadius:x,borderEndStartRadius:0,cursor:"pointer",transition:`background ${p} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${p}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(b).mul(-1).equal(),borderStartStartRadius:x,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:x}}}}},h(e)),{"&-rtl":{direction:"rtl"}}),[`${r}-header`]:{height:l,padding:c,color:s,lineHeight:(0,u.bf)(l),background:y,[`${t}-menu`]:{lineHeight:"inherit"}},[`${r}-footer`]:{padding:d,color:n,fontSize:v,background:a},[`${r}-content`]:{flex:"auto",color:n,minHeight:0}}};var m=(0,g.I$)("Layout",e=>[b(e)],e=>{let{colorBgLayout:t,controlHeight:r,controlHeightLG:n,colorText:o,controlHeightSM:a,marginXXS:i,colorTextLightSolid:l,colorBgContainer:c}=e,s=1.25*n;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:2*r,headerPadding:`0 ${s}px`,headerColor:o,footerPadding:`${a}px ${s}px`,footerBg:t,siderBg:"#001529",triggerHeight:n+2*i,triggerBg:"#002140",triggerColor:l,zeroTriggerWidth:n,zeroTriggerHeight:n,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:o}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function v(e){let{suffixCls:t,tagName:r,displayName:n}=e;return e=>{let n=o.forwardRef((n,a)=>o.createElement(e,Object.assign({ref:a,suffixCls:t,tagName:r},n)));return n}}let x=o.forwardRef((e,t)=>{let{prefixCls:r,suffixCls:n,className:a,tagName:l}=e,s=p(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:d}=o.useContext(c.E_),f=d("layout",r),[u,g,h]=m(f),b=n?`${f}-${n}`:f;return u(o.createElement(l,Object.assign({className:i()(r||b,a,g,h),ref:t},s)))}),$=o.forwardRef((e,t)=>{let{direction:r}=o.useContext(c.E_),[a,u]=o.useState([]),{prefixCls:g,className:h,rootClassName:b,children:v,hasSider:x,tagName:$,style:y}=e,w=p(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),O=(0,l.Z)(w,["suffixCls"]),{getPrefixCls:z,layout:C}=o.useContext(c.E_),E=z("layout",g),S=function(e,t,r){if("boolean"==typeof r)return r;if(e.length)return!0;let n=(0,d.Z)(t);return n.some(e=>e.type===f.Z)}(a,v,x),[Z,k,B]=m(E),j=i()(E,{[`${E}-has-sider`]:S,[`${E}-rtl`]:"rtl"===r},null==C?void 0:C.className,h,b,k,B),I=o.useMemo(()=>({siderHook:{addSider:e=>{u(t=>[].concat((0,n.Z)(t),[e]))},removeSider:e=>{u(t=>t.filter(t=>t!==e))}}}),[]);return Z(o.createElement(s.V.Provider,{value:I},o.createElement($,Object.assign({ref:t,className:j,style:Object.assign(Object.assign({},null==C?void 0:C.style),y)},O),v)))}),y=v({tagName:"div",displayName:"Layout"})($),w=v({suffixCls:"header",tagName:"header",displayName:"Header"})(x),O=v({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(x),z=v({suffixCls:"content",tagName:"main",displayName:"Content"})(x);y.Header=w,y.Footer=O,y.Content=z,y.Sider=f.Z,y._InternalSiderContext=f.D;var C=y},45360:function(e,t,r){var n=r(74902),o=r(67294),a=r(38135),i=r(66968),l=r(53124),c=r(28459),s=r(66277),d=r(16474),f=r(84926);let u=null,g=e=>e(),h=[],b={};function m(){let{getContainer:e,duration:t,rtl:r,maxCount:n,top:o}=b,a=(null==e?void 0:e())||document.body;return{getContainer:()=>a,duration:t,rtl:r,maxCount:n,top:o}}let p=o.forwardRef((e,t)=>{let{messageConfig:r,sync:n}=e,{getPrefixCls:a}=(0,o.useContext)(l.E_),c=b.prefixCls||a("message"),s=(0,o.useContext)(i.J),[f,u]=(0,d.K)(Object.assign(Object.assign(Object.assign({},r),{prefixCls:c}),s.message));return o.useImperativeHandle(t,()=>{let e=Object.assign({},f);return Object.keys(e).forEach(t=>{e[t]=function(){return n(),f[t].apply(f,arguments)}}),{instance:e,sync:n}}),u}),v=o.forwardRef((e,t)=>{let[r,n]=o.useState(m),a=()=>{n(m)};o.useEffect(a,[]);let i=(0,c.w6)(),l=i.getRootPrefixCls(),s=i.getIconPrefixCls(),d=i.getTheme(),f=o.createElement(p,{ref:t,sync:a,messageConfig:r});return o.createElement(c.ZP,{prefixCls:l,iconPrefixCls:s,theme:d},i.holderRender?i.holderRender(f):f)});function x(){if(!u){let e=document.createDocumentFragment(),t={fragment:e};u=t,g(()=>{(0,a.s)(o.createElement(v,{ref:e=>{let{instance:r,sync:n}=e||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=n,x())})}}),e)});return}u.instance&&(h.forEach(e=>{let{type:t,skipped:r}=e;if(!r)switch(t){case"open":g(()=>{let t=u.instance.open(Object.assign(Object.assign({},b),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":g(()=>{null==u||u.instance.destroy(e.key)});break;default:g(()=>{var r;let o=(r=u.instance)[t].apply(r,(0,n.Z)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),h=[])}let $={open:function(e){let t=(0,f.J)(t=>{let r;let n={type:"open",config:e,resolve:t,setCloseFn:e=>{r=e}};return h.push(n),()=>{r?g(()=>{r()}):n.skipped=!0}});return x(),t},destroy:e=>{h.push({type:"destroy",key:e}),x()},config:function(e){b=Object.assign(Object.assign({},b),e),g(()=>{var e;null===(e=null==u?void 0:u.sync)||void 0===e||e.call(u)})},useMessage:d.Z,_InternalPanelDoNotUseOrYouWillBeFired:s.ZP};["success","info","warning","error","loading"].forEach(e=>{$[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{let n;let o={type:e,args:t,resolve:r,setCloseFn:e=>{n=e}};return h.push(o),()=>{n?g(()=>{n()}):o.skipped=!0}});return x(),r}(e,r)}}),t.ZP=$},85576:function(e,t,r){r.d(t,{default:function(){return y}});var n=r(56080),o=r(38657),a=r(56745),i=r(67294),l=r(93967),c=r.n(l),s=r(40974),d=r(8745),f=r(53124),u=r(35792),g=r(32409),h=r(4941),b=r(71194),m=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},p=(0,d.i)(e=>{let{prefixCls:t,className:r,closeIcon:n,closable:o,type:a,title:l,children:d,footer:p}=e,v=m(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:x}=i.useContext(f.E_),$=x(),y=t||x("modal"),w=(0,u.Z)($),[O,z,C]=(0,b.ZP)(y,w),E=`${y}-confirm`,S={};return S=a?{closable:null!=o&&o,title:"",footer:"",children:i.createElement(g.O,Object.assign({},e,{prefixCls:y,confirmPrefixCls:E,rootPrefixCls:$,content:d}))}:{closable:null==o||o,title:l,footer:null!==p&&i.createElement(h.$,Object.assign({},e)),children:d},O(i.createElement(s.s,Object.assign({prefixCls:y,className:c()(z,`${y}-pure-panel`,a&&E,a&&`${E}-${a}`,r,C,w)},v,{closeIcon:(0,h.b)(y,n),closable:o},S)))}),v=r(94423);function x(e){return(0,n.ZP)((0,n.uW)(e))}let $=a.Z;$.useModal=v.Z,$.info=function(e){return(0,n.ZP)((0,n.cw)(e))},$.success=function(e){return(0,n.ZP)((0,n.vq)(e))},$.error=function(e){return(0,n.ZP)((0,n.AQ)(e))},$.warning=x,$.warn=x,$.confirm=function(e){return(0,n.ZP)((0,n.Au)(e))},$.destroyAll=function(){for(;o.Z.length;){let e=o.Z.pop();e&&e()}},$.config=n.ai,$._InternalPanelDoNotUseOrYouWillBeFired=p;var y=$}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5849.e9c307300748faf0.js b/dbgpt/app/static/web/_next/static/chunks/5849.1a5b2ead388fa43d.js similarity index 97% rename from dbgpt/app/static/web/_next/static/chunks/5849.e9c307300748faf0.js rename to dbgpt/app/static/web/_next/static/chunks/5849.1a5b2ead388fa43d.js index 6cfd5c5ac..60de6df59 100644 --- a/dbgpt/app/static/web/_next/static/chunks/5849.e9c307300748faf0.js +++ b/dbgpt/app/static/web/_next/static/chunks/5849.1a5b2ead388fa43d.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5849],{25849:function(e,n,s){s.r(n),s.d(n,{conf:function(){return o},language:function(){return t}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var o={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},t={defaultToken:"",tokenPostfix:".dockerfile",variable:/\${?[\w]+}?/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/(ONBUILD)(\s+)/,["keyword",""]],[/(ENV)(\s+)([\w]+)/,["keyword","",{token:"variable",next:"@arguments"}]],[/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,{token:"keyword",next:"@arguments"}]],arguments:[{include:"@whitespace"},{include:"@strings"},[/(@variable)/,{cases:{"@eos":{token:"variable",next:"@popall"},"@default":"variable"}}],[/\\/,{cases:{"@eos":"","@default":""}}],[/./,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],whitespace:[[/\s+/,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],comment:[[/(^#.*$)/,"comment","@popall"]],strings:[[/\\'$/,"","@popall"],[/\\'/,""],[/'$/,"string","@popall"],[/'/,"string","@stringBody"],[/"$/,"string","@popall"],[/"/,"string","@dblStringBody"]],stringBody:[[/[^\\\$']/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/'$/,"string","@popall"],[/'/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]],dblStringBody:[[/[^\\\$"]/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/"$/,"string","@popall"],[/"/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5852-455172e18d73a1f3.js b/dbgpt/app/static/web/_next/static/chunks/5852-455172e18d73a1f3.js deleted file mode 100644 index a13d7f115..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/5852-455172e18d73a1f3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5852],{91321:function(e,n,t){t.d(n,{Z:function(){return s}});var a=t(87462),r=t(45987),i=t(67294),c=t(16165),l=["type","children"],o=new Set;function d(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[n];if("string"==typeof t&&t.length&&!o.has(t)){var a=document.createElement("script");a.setAttribute("src",t),a.setAttribute("data-namespace",t),e.length>n+1&&(a.onload=function(){d(e,n+1)},a.onerror=function(){d(e,n+1)}),o.add(t),document.body.appendChild(a)}}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.scriptUrl,t=e.extraCommonProps,o=void 0===t?{}:t;n&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(n)?d(n.reverse()):d([n]));var s=i.forwardRef(function(e,n){var t=e.type,d=e.children,s=(0,r.Z)(e,l),u=null;return e.type&&(u=i.createElement("use",{xlinkHref:"#".concat(t)})),d&&(u=d),i.createElement(c.Z,(0,a.Z)({},o,s,{ref:n}),u)});return s.displayName="Iconfont",s}},56466:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),r=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"appstore-add",theme:"outlined"},c=t(13401),l=r.forwardRef(function(e,n){return r.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:i}))})},61086:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),r=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-600-80h56c4.4 0 8-3.6 8-8V560c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V384c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v320c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V462c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v242c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v400c0 4.4 3.6 8 8 8z"}}]},name:"bar-chart",theme:"outlined"},c=t(13401),l=r.forwardRef(function(e,n){return r.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:i}))})},89035:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),r=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 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:"code",theme:"outlined"},c=t(13401),l=r.forwardRef(function(e,n){return r.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:i}))})},13520:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),r=t(67294),i={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-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"database",theme:"outlined"},c=t(13401),l=r.forwardRef(function(e,n){return r.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:i}))})},13179:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),r=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z"}}]},name:"deployment-unit",theme:"outlined"},c=t(13401),l=r.forwardRef(function(e,n){return r.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:i}))})},97175:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),r=t(67294),i={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 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z"}}]},name:"file-excel",theme:"outlined"},c=t(13401),l=r.forwardRef(function(e,n){return r.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:i}))})},97245:function(e,n,t){var a=t(87462),r=t(67294),i=t(75573),c=t(13401),l=r.forwardRef(function(e,n){return r.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:i.Z}))});n.Z=l},55725:function(e,n,t){var a=t(87462),r=t(67294),i=t(85118),c=t(13401),l=r.forwardRef(function(e,n){return r.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:i.Z}))});n.Z=l},16801:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),r=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"}}]},name:"picture",theme:"outlined"},c=t(13401),l=r.forwardRef(function(e,n){return r.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:i}))})},48869:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),r=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552a398.46 398.46 0 00117.1 282.8c36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952a398.46 398.46 0 00282.8-117.1c36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552c0-88.7 34.5-172.1 97.2-234.8 54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8zM952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-4.7-.4-8.7 3.2-8.7 7.9V464c0 4.4 3.6 8 8 8l384-1c4.7 0 8.4-4 8-8.6zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z"}}]},name:"pie-chart",theme:"outlined"},c=t(13401),l=r.forwardRef(function(e,n){return r.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:i}))})},51042:function(e,n,t){var a=t(87462),r=t(67294),i=t(42110),c=t(13401),l=r.forwardRef(function(e,n){return r.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:i.Z}))});n.Z=l},79383:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),r=t(67294),i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V160a16 16 0 0116-16zm-52 68H212v200h200zm493.33 87.69a16 16 0 010 22.62L724.31 503.33a16 16 0 01-22.62 0L520.67 322.31a16 16 0 010-22.62l181.02-181.02a16 16 0 0122.62 0zm-84.85 11.3L713 203.53 605.52 311 713 418.48zM464 544a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V560a16 16 0 0116-16zm-52 68H212v200h200zm452-68a16 16 0 0116 16v304a16 16 0 01-16 16H560a16 16 0 01-16-16V560a16 16 0 0116-16zm-52 68H612v200h200z"}}]},name:"product",theme:"outlined"},c=t(13401),l=r.forwardRef(function(e,n){return r.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:i}))})},97879:function(e,n,t){t.d(n,{Z:function(){return l}});var a=t(87462),r=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917 211.1l-199.2 24c-6.6.8-9.4 8.9-4.7 13.6l59.3 59.3-226 226-101.8-101.7c-6.3-6.3-16.4-6.2-22.6 0L100.3 754.1a8.03 8.03 0 000 11.3l45 45.2c3.1 3.1 8.2 3.1 11.3 0L433.3 534 535 635.7c6.3 6.2 16.4 6.2 22.6 0L829 364.5l59.3 59.3a8.01 8.01 0 0013.6-4.7l24-199.2c.7-5.1-3.7-9.5-8.9-8.8z"}}]},name:"rise",theme:"outlined"},c=t(13401),l=r.forwardRef(function(e,n){return r.createElement(c.Z,(0,a.Z)({},e,{ref:n,icon:i}))})},86738:function(e,n,t){t.d(n,{Z:function(){return I}});var a=t(67294),r=t(29950),i=t(93967),c=t.n(i),l=t(21770),o=t(98423),d=t(53124),s=t(55241),u=t(86743),f=t(81643),m=t(14726),h=t(33671),g=t(10110),p=t(24457),v=t(66330),b=t(83559);let $=e=>{let{componentCls:n,iconCls:t,antCls:a,zIndexPopup:r,colorText:i,colorWarning:c,marginXXS:l,marginXS:o,fontSize:d,fontWeightStrong:s,colorTextHeading:u}=e;return{[n]:{zIndex:r,[`&${a}-popover`]:{fontSize:d},[`${n}-message`]:{marginBottom:o,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${n}-message-icon ${t}`]:{color:c,fontSize:d,lineHeight:1,marginInlineEnd:o},[`${n}-title`]:{fontWeight:s,color:u,"&:only-child":{fontWeight:"normal"}},[`${n}-description`]:{marginTop:l,color:i}},[`${n}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:o}}}}};var w=(0,b.I$)("Popconfirm",e=>$(e),e=>{let{zIndexPopupBase:n}=e;return{zIndexPopup:n+60}},{resetStyle:!1}),y=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>n.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rn.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(t[a[r]]=e[a[r]]);return t};let E=e=>{let{prefixCls:n,okButtonProps:t,cancelButtonProps:i,title:c,description:l,cancelText:o,okText:s,okType:v="primary",icon:b=a.createElement(r.Z,null),showCancel:$=!0,close:w,onConfirm:y,onCancel:E,onPopupClick:Z}=e,{getPrefixCls:k}=a.useContext(d.E_),[I]=(0,g.Z)("Popconfirm",p.Z.Popconfirm),z=(0,f.Z)(c),C=(0,f.Z)(l);return a.createElement("div",{className:`${n}-inner-content`,onClick:Z},a.createElement("div",{className:`${n}-message`},b&&a.createElement("span",{className:`${n}-message-icon`},b),a.createElement("div",{className:`${n}-message-text`},z&&a.createElement("div",{className:`${n}-title`},z),C&&a.createElement("div",{className:`${n}-description`},C))),a.createElement("div",{className:`${n}-buttons`},$&&a.createElement(m.ZP,Object.assign({onClick:E,size:"small"},i),o||(null==I?void 0:I.cancelText)),a.createElement(u.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,h.nx)(v)),t),actionFn:y,close:w,prefixCls:k("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},s||(null==I?void 0:I.okText))))};var Z=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>n.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rn.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(t[a[r]]=e[a[r]]);return t};let k=a.forwardRef((e,n)=>{var t,i;let{prefixCls:u,placement:f="top",trigger:m="click",okType:h="primary",icon:g=a.createElement(r.Z,null),children:p,overlayClassName:v,onOpenChange:b,onVisibleChange:$}=e,y=Z(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:k}=a.useContext(d.E_),[I,z]=(0,l.Z)(!1,{value:null!==(t=e.open)&&void 0!==t?t:e.visible,defaultValue:null!==(i=e.defaultOpen)&&void 0!==i?i:e.defaultVisible}),C=(e,n)=>{z(e,!0),null==$||$(e),null==b||b(e,n)},S=k("popconfirm",u),x=c()(S,v),[O]=w(S);return O(a.createElement(s.Z,Object.assign({},(0,o.Z)(y,["title"]),{trigger:m,placement:f,onOpenChange:(n,t)=>{let{disabled:a=!1}=e;a||C(n,t)},open:I,ref:n,overlayClassName:x,content:a.createElement(E,Object.assign({okType:h,icon:g},e,{prefixCls:S,close:e=>{C(!1,e)},onConfirm:n=>{var t;return null===(t=e.onConfirm)||void 0===t?void 0:t.call(void 0,n)},onCancel:n=>{var t;C(!1,n),null===(t=e.onCancel)||void 0===t||t.call(void 0,n)}})),"data-popover-inject":!0}),p))});k._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:n,placement:t,className:r,style:i}=e,l=y(e,["prefixCls","placement","className","style"]),{getPrefixCls:o}=a.useContext(d.E_),s=o("popconfirm",n),[u]=w(s);return u(a.createElement(v.ZP,{placement:t,className:c()(s,r),style:i,content:a.createElement(E,Object.assign({prefixCls:s},l))}))};var I=k},72269:function(e,n,t){t.d(n,{Z:function(){return H}});var a=t(67294),r=t(19267),i=t(93967),c=t.n(i),l=t(87462),o=t(4942),d=t(97685),s=t(45987),u=t(21770),f=t(15105),m=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],h=a.forwardRef(function(e,n){var t,r=e.prefixCls,i=void 0===r?"rc-switch":r,h=e.className,g=e.checked,p=e.defaultChecked,v=e.disabled,b=e.loadingIcon,$=e.checkedChildren,w=e.unCheckedChildren,y=e.onClick,E=e.onChange,Z=e.onKeyDown,k=(0,s.Z)(e,m),I=(0,u.Z)(!1,{value:g,defaultValue:p}),z=(0,d.Z)(I,2),C=z[0],S=z[1];function x(e,n){var t=C;return v||(S(t=e),null==E||E(t,n)),t}var O=c()(i,h,(t={},(0,o.Z)(t,"".concat(i,"-checked"),C),(0,o.Z)(t,"".concat(i,"-disabled"),v),t));return a.createElement("button",(0,l.Z)({},k,{type:"button",role:"switch","aria-checked":C,disabled:v,className:O,ref:n,onKeyDown:function(e){e.which===f.Z.LEFT?x(!1,e):e.which===f.Z.RIGHT&&x(!0,e),null==Z||Z(e)},onClick:function(e){var n=x(!C,e);null==y||y(n,e)}}),b,a.createElement("span",{className:"".concat(i,"-inner")},a.createElement("span",{className:"".concat(i,"-inner-checked")},$),a.createElement("span",{className:"".concat(i,"-inner-unchecked")},w)))});h.displayName="Switch";var g=t(45353),p=t(53124),v=t(98866),b=t(98675),$=t(47648),w=t(10274),y=t(14747),E=t(83559),Z=t(87893);let k=e=>{let{componentCls:n,trackHeightSM:t,trackPadding:a,trackMinWidthSM:r,innerMinMarginSM:i,innerMaxMarginSM:c,handleSizeSM:l,calc:o}=e,d=`${n}-inner`,s=(0,$.bf)(o(l).add(o(a).mul(2)).equal()),u=(0,$.bf)(o(c).mul(2).equal());return{[n]:{[`&${n}-small`]:{minWidth:r,height:t,lineHeight:(0,$.bf)(t),[`${n}-inner`]:{paddingInlineStart:c,paddingInlineEnd:i,[`${d}-checked, ${d}-unchecked`]:{minHeight:t},[`${d}-checked`]:{marginInlineStart:`calc(-100% + ${s} - ${u})`,marginInlineEnd:`calc(100% - ${s} + ${u})`},[`${d}-unchecked`]:{marginTop:o(t).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${n}-handle`]:{width:l,height:l},[`${n}-loading-icon`]:{top:o(o(l).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${n}-checked`]:{[`${n}-inner`]:{paddingInlineStart:i,paddingInlineEnd:c,[`${d}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${d}-unchecked`]:{marginInlineStart:`calc(100% - ${s} + ${u})`,marginInlineEnd:`calc(-100% + ${s} - ${u})`}},[`${n}-handle`]:{insetInlineStart:`calc(100% - ${(0,$.bf)(o(l).add(a).equal())})`}},[`&:not(${n}-disabled):active`]:{[`&:not(${n}-checked) ${d}`]:{[`${d}-unchecked`]:{marginInlineStart:o(e.marginXXS).div(2).equal(),marginInlineEnd:o(e.marginXXS).mul(-1).div(2).equal()}},[`&${n}-checked ${d}`]:{[`${d}-checked`]:{marginInlineStart:o(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:o(e.marginXXS).div(2).equal()}}}}}}},I=e=>{let{componentCls:n,handleSize:t,calc:a}=e;return{[n]:{[`${n}-loading-icon${e.iconCls}`]:{position:"relative",top:a(a(t).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${n}-checked ${n}-loading-icon`]:{color:e.switchColor}}}},z=e=>{let{componentCls:n,trackPadding:t,handleBg:a,handleShadow:r,handleSize:i,calc:c}=e,l=`${n}-handle`;return{[n]:{[l]:{position:"absolute",top:t,insetInlineStart:t,width:i,height:i,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:a,borderRadius:c(i).div(2).equal(),boxShadow:r,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${n}-checked ${l}`]:{insetInlineStart:`calc(100% - ${(0,$.bf)(c(i).add(t).equal())})`},[`&:not(${n}-disabled):active`]:{[`${l}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${n}-checked ${l}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},C=e=>{let{componentCls:n,trackHeight:t,trackPadding:a,innerMinMargin:r,innerMaxMargin:i,handleSize:c,calc:l}=e,o=`${n}-inner`,d=(0,$.bf)(l(c).add(l(a).mul(2)).equal()),s=(0,$.bf)(l(i).mul(2).equal());return{[n]:{[o]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:i,paddingInlineEnd:r,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${o}-checked, ${o}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:t},[`${o}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${s})`,marginInlineEnd:`calc(100% - ${d} + ${s})`},[`${o}-unchecked`]:{marginTop:l(t).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${n}-checked ${o}`]:{paddingInlineStart:r,paddingInlineEnd:i,[`${o}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${o}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${s})`,marginInlineEnd:`calc(-100% + ${d} - ${s})`}},[`&:not(${n}-disabled):active`]:{[`&:not(${n}-checked) ${o}`]:{[`${o}-unchecked`]:{marginInlineStart:l(a).mul(2).equal(),marginInlineEnd:l(a).mul(-1).mul(2).equal()}},[`&${n}-checked ${o}`]:{[`${o}-checked`]:{marginInlineStart:l(a).mul(-1).mul(2).equal(),marginInlineEnd:l(a).mul(2).equal()}}}}}},S=e=>{let{componentCls:n,trackHeight:t,trackMinWidth:a}=e;return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:a,height:t,lineHeight:(0,$.bf)(t),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${n}-disabled)`]:{background:e.colorTextTertiary}}),(0,y.Qy)(e)),{[`&${n}-checked`]:{background:e.switchColor,[`&:hover:not(${n}-disabled)`]:{background:e.colorPrimaryHover}},[`&${n}-loading, &${n}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${n}-rtl`]:{direction:"rtl"}})}};var x=(0,E.I$)("Switch",e=>{let n=(0,Z.IX)(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[S(n),C(n),z(n),I(n),k(n)]},e=>{let{fontSize:n,lineHeight:t,controlHeight:a,colorWhite:r}=e,i=n*t,c=a/2,l=i-4,o=c-4;return{trackHeight:i,trackHeightSM:c,trackMinWidth:2*l+8,trackMinWidthSM:2*o+4,trackPadding:2,handleBg:r,handleSize:l,handleSizeSM:o,handleShadow:`0 2px 4px 0 ${new w.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:l/2,innerMaxMargin:l+2+4,innerMinMarginSM:o/2,innerMaxMarginSM:o+2+4}}),O=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>n.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rn.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(t[a[r]]=e[a[r]]);return t};let V=a.forwardRef((e,n)=>{let{prefixCls:t,size:i,disabled:l,loading:o,className:d,rootClassName:s,style:f,checked:m,value:$,defaultChecked:w,defaultValue:y,onChange:E}=e,Z=O(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[k,I]=(0,u.Z)(!1,{value:null!=m?m:$,defaultValue:null!=w?w:y}),{getPrefixCls:z,direction:C,switch:S}=a.useContext(p.E_),V=a.useContext(v.Z),H=(null!=l?l:V)||o,M=z("switch",t),N=a.createElement("div",{className:`${M}-handle`},o&&a.createElement(r.Z,{className:`${M}-loading-icon`})),[R,j,L]=x(M),q=(0,b.Z)(i),P=c()(null==S?void 0:S.className,{[`${M}-small`]:"small"===q,[`${M}-loading`]:o,[`${M}-rtl`]:"rtl"===C},d,s,j,L),A=Object.assign(Object.assign({},null==S?void 0:S.style),f);return R(a.createElement(g.Z,{component:"Switch"},a.createElement(h,Object.assign({},Z,{checked:k,onChange:function(){I(arguments.length<=0?void 0:arguments[0]),null==E||E.apply(void 0,arguments)},prefixCls:M,className:P,style:A,disabled:H,ref:n,loadingIcon:N}))))});V.__ANT_SWITCH=!0;var H=V},25934:function(e,n,t){t.d(n,{Z:function(){return s}});var a,r=new Uint8Array(16);function i(){if(!a&&!(a="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a(r)}for(var c=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,l=[],o=0;o<256;++o)l.push((o+256).toString(16).substr(1));var d=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=(l[e[n+0]]+l[e[n+1]]+l[e[n+2]]+l[e[n+3]]+"-"+l[e[n+4]]+l[e[n+5]]+"-"+l[e[n+6]]+l[e[n+7]]+"-"+l[e[n+8]]+l[e[n+9]]+"-"+l[e[n+10]]+l[e[n+11]]+l[e[n+12]]+l[e[n+13]]+l[e[n+14]]+l[e[n+15]]).toLowerCase();if(!("string"==typeof t&&c.test(t)))throw TypeError("Stringified UUID is invalid");return t},s=function(e,n,t){var a=(e=e||{}).random||(e.rng||i)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,n){t=t||0;for(var r=0;r<16;++r)n[t+r]=a[r];return n}return d(a)}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5872-c44e0f19a507cf4a.js b/dbgpt/app/static/web/_next/static/chunks/5872-c44e0f19a507cf4a.js deleted file mode 100644 index b5b4880ff..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/5872-c44e0f19a507cf4a.js +++ /dev/null @@ -1,16 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5872],{27139:function(e,t){t.Z={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"}},34061:function(e,t){t.Z={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"}},55872:function(e,t,n){n.d(t,{Z:function(){return el}});var i=n(67294),o=n(83963),r=n(27139),l=n(30672),a=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,o.Z)({},e,{ref:t,icon:r.Z}))}),c=n(34061),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,o.Z)({},e,{ref:t,icon:c.Z}))}),m=n(97454),u=n(62994),d=n(93967),p=n.n(d),g=n(4942),b=n(87462),v=n(71002),h=n(1413),f=n(97685),$=n(21770),C=n(15105),S=n(64217);n(80334);var k={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:"页码"},y=["10","20","50","100"],x=function(e){var t=e.pageSizeOptions,n=void 0===t?y:t,o=e.locale,r=e.changeSize,l=e.pageSize,a=e.goButton,c=e.quickGo,s=e.rootPrefixCls,m=e.selectComponentClass,u=e.selectPrefixCls,d=e.disabled,p=e.buildOptionText,g=i.useState(""),b=(0,f.Z)(g,2),v=b[0],h=b[1],$=function(){return!v||Number.isNaN(v)?void 0:Number(v)},S="function"==typeof p?p:function(e){return"".concat(e," ").concat(o.items_per_page)},k=function(e){""!==v&&(e.keyCode===C.Z.ENTER||"click"===e.type)&&(h(""),null==c||c($()))},x="".concat(s,"-options");if(!r&&!c)return null;var E=null,N=null,j=null;if(r&&m){var z=(n.some(function(e){return e.toString()===l.toString()})?n:n.concat([l.toString()]).sort(function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))})).map(function(e,t){return i.createElement(m.Option,{key:t,value:e.toString()},S(e))});E=i.createElement(m,{disabled:d,prefixCls:u,showSearch:!1,className:"".concat(x,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(l||n[0]).toString(),onChange:function(e){null==r||r(Number(e))},getPopupContainer:function(e){return e.parentNode},"aria-label":o.page_size,defaultOpen:!1},z)}return c&&(a&&(j="boolean"==typeof a?i.createElement("button",{type:"button",onClick:k,onKeyUp:k,disabled:d,className:"".concat(x,"-quick-jumper-button")},o.jump_to_confirm):i.createElement("span",{onClick:k,onKeyUp:k},a)),N=i.createElement("div",{className:"".concat(x,"-quick-jumper")},o.jump_to,i.createElement("input",{disabled:d,type:"text",value:v,onChange:function(e){h(e.target.value)},onKeyUp:k,onBlur:function(e){!a&&""!==v&&(h(""),e.relatedTarget&&(e.relatedTarget.className.indexOf("".concat(s,"-item-link"))>=0||e.relatedTarget.className.indexOf("".concat(s,"-item"))>=0)||null==c||c($()))},"aria-label":o.page}),o.page,j)),i.createElement("li",{className:x},E,N)},E=function(e){var t,n=e.rootPrefixCls,o=e.page,r=e.active,l=e.className,a=e.showTitle,c=e.onClick,s=e.onKeyPress,m=e.itemRender,u="".concat(n,"-item"),d=p()(u,"".concat(u,"-").concat(o),(t={},(0,g.Z)(t,"".concat(u,"-active"),r),(0,g.Z)(t,"".concat(u,"-disabled"),!o),t),l),b=m(o,"page",i.createElement("a",{rel:"nofollow"},o));return b?i.createElement("li",{title:a?String(o):null,className:d,onClick:function(){c(o)},onKeyDown:function(e){s(e,c,o)},tabIndex:0},b):null},N=function(e,t,n){return n};function j(){}function z(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function O(e,t,n){return Math.floor((n-1)/(void 0===e?t:e))+1}var B=function(e){var t,n,o,r,l,a=e.prefixCls,c=void 0===a?"rc-pagination":a,s=e.selectPrefixCls,m=e.className,u=e.selectComponentClass,d=e.current,y=e.defaultCurrent,B=e.total,M=void 0===B?0:B,w=e.pageSize,Z=e.defaultPageSize,I=e.onChange,P=void 0===I?j:I,T=e.hideOnSinglePage,D=e.align,H=e.showPrevNextJumpers,_=e.showQuickJumper,A=e.showLessItems,R=e.showTitle,L=void 0===R||R,W=e.onShowSizeChange,X=void 0===W?j:W,q=e.locale,K=void 0===q?k:q,U=e.style,F=e.totalBoundaryShowSizeChanger,G=e.disabled,J=e.simple,Q=e.showTotal,V=e.showSizeChanger,Y=e.pageSizeOptions,ee=e.itemRender,et=void 0===ee?N:ee,en=e.jumpPrevIcon,ei=e.jumpNextIcon,eo=e.prevIcon,er=e.nextIcon,el=i.useRef(null),ea=(0,$.Z)(10,{value:w,defaultValue:void 0===Z?10:Z}),ec=(0,f.Z)(ea,2),es=ec[0],em=ec[1],eu=(0,$.Z)(1,{value:d,defaultValue:void 0===y?1:y,postState:function(e){return Math.max(1,Math.min(e,O(void 0,es,M)))}}),ed=(0,f.Z)(eu,2),ep=ed[0],eg=ed[1],eb=i.useState(ep),ev=(0,f.Z)(eb,2),eh=ev[0],ef=ev[1];(0,i.useEffect)(function(){ef(ep)},[ep]);var e$=Math.max(1,ep-(A?3:5)),eC=Math.min(O(void 0,es,M),ep+(A?3:5));function eS(t,n){var o=t||i.createElement("button",{type:"button","aria-label":n,className:"".concat(c,"-item-link")});return"function"==typeof t&&(o=i.createElement(t,(0,h.Z)({},e))),o}function ek(e){var t=e.target.value,n=O(void 0,es,M);return""===t?t:Number.isNaN(Number(t))?eh:t>=n?n:Number(t)}var ey=M>es&&_;function ex(e){var t=ek(e);switch(t!==eh&&ef(t),e.keyCode){case C.Z.ENTER:eE(t);break;case C.Z.UP:eE(t-1);break;case C.Z.DOWN:eE(t+1)}}function eE(e){if(z(e)&&e!==ep&&z(M)&&M>0&&!G){var t=O(void 0,es,M),n=e;return e>t?n=t:e<1&&(n=1),n!==eh&&ef(n),eg(n),null==P||P(n,es),n}return ep}var eN=ep>1,ej=ep(void 0===F?50:F);function eO(){eN&&eE(ep-1)}function eB(){ej&&eE(ep+1)}function eM(){eE(e$)}function ew(){eE(eC)}function eZ(e,t){if("Enter"===e.key||e.charCode===C.Z.ENTER||e.keyCode===C.Z.ENTER){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;oM?M:ep*es])),eH=null,e_=O(void 0,es,M);if(T&&M<=es)return null;var eA=[],eR={rootPrefixCls:c,onClick:eE,onKeyPress:eZ,showTitle:L,itemRender:et,page:-1},eL=ep-1>0?ep-1:0,eW=ep+1=2*eF&&3!==ep&&(eA[0]=i.cloneElement(eA[0],{className:p()("".concat(c,"-item-after-jump-prev"),eA[0].props.className)}),eA.unshift(eP)),e_-ep>=2*eF&&ep!==e_-2){var e3=eA[eA.length-1];eA[eA.length-1]=i.cloneElement(e3,{className:p()("".concat(c,"-item-before-jump-next"),e3.props.className)}),eA.push(eH)}1!==e0&&eA.unshift(i.createElement(E,(0,b.Z)({},eR,{key:1,page:1}))),e1!==e_&&eA.push(i.createElement(E,(0,b.Z)({},eR,{key:e_,page:e_})))}var e9=(t=et(eL,"prev",eS(eo,"prev page")),i.isValidElement(t)?i.cloneElement(t,{disabled:!eN}):t);if(e9){var e6=!eN||!e_;e9=i.createElement("li",{title:L?K.prev_page:null,onClick:eO,tabIndex:e6?null:0,onKeyDown:function(e){eZ(e,eO)},className:p()("".concat(c,"-prev"),(0,g.Z)({},"".concat(c,"-disabled"),e6)),"aria-disabled":e6},e9)}var e7=(n=et(eW,"next",eS(er,"next page")),i.isValidElement(n)?i.cloneElement(n,{disabled:!ej}):n);e7&&(J?(r=!ej,l=eN?0:null):l=(r=!ej||!e_)?null:0,e7=i.createElement("li",{title:L?K.next_page:null,onClick:eB,tabIndex:l,onKeyDown:function(e){eZ(e,eB)},className:p()("".concat(c,"-next"),(0,g.Z)({},"".concat(c,"-disabled"),r)),"aria-disabled":r},e7));var e5=p()(c,m,(o={},(0,g.Z)(o,"".concat(c,"-start"),"start"===D),(0,g.Z)(o,"".concat(c,"-center"),"center"===D),(0,g.Z)(o,"".concat(c,"-end"),"end"===D),(0,g.Z)(o,"".concat(c,"-simple"),J),(0,g.Z)(o,"".concat(c,"-disabled"),G),o));return i.createElement("ul",(0,b.Z)({className:e5,style:U,ref:el},eT),eD,e9,J?eU:eA,e7,i.createElement(x,{locale:K,rootPrefixCls:c,disabled:G,selectComponentClass:u,selectPrefixCls:void 0===s?"rc-select":s,changeSize:ez?function(e){var t=O(e,es,M),n=ep>t&&0!==t?t:ep;em(e),ef(n),null==X||X(ep,e),eg(n),null==P||P(n,e)}:null,pageSize:es,pageSizeOptions:Y,quickGo:ey?eE:null,goButton:eK}))},M=n(62906),w=n(53124),Z=n(98675),I=n(25378),P=n(10110),T=n(25976),D=n(34041);let H=e=>i.createElement(D.default,Object.assign({},e,{showSearch:!0,size:"small"})),_=e=>i.createElement(D.default,Object.assign({},e,{showSearch:!0,size:"middle"}));H.Option=D.default.Option,_.Option=D.default.Option;var A=n(47648),R=n(47673),L=n(20353),W=n(93900),X=n(14747),q=n(87893),K=n(83559);let U=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"}}}}}},F=e=>{let{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:(0,A.bf)(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,A.bf)(e.calc(e.itemSizeSM).sub(2).equal())},[`&${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:(0,A.bf)(e.itemSizeSM)},[`&${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:(0,A.bf)(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:(0,A.bf)(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:(0,A.bf)(e.itemSizeSM),input:Object.assign(Object.assign({},(0,R.x0)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},G=e=>{let{componentCls:t}=e;return{[` - &${t}-simple ${t}-prev, - &${t}-simple ${t}-next - `]:{height:e.itemSizeSM,lineHeight:(0,A.bf)(e.itemSizeSM),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:(0,A.bf)(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,A.bf)(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${(0,A.bf)(e.lineWidth)} ${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:`${(0,A.bf)(e.inputOutlineOffset)} 0 ${(0,A.bf)(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},J=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:(0,A.bf)(e.itemSize),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:`${(0,A.bf)(e.lineWidth)} ${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":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:(0,A.bf)(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,R.ik)(e)),(0,W.$U)(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},(0,W.Xy)(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},Q=e=>{let{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:(0,A.bf)(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${(0,A.bf)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,A.bf)(e.paginationItemPaddingInline)}`,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}}}}},V=e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,X.Wf)(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"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:(0,A.bf)(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),Q(e)),J(e)),G(e)),F(e)),U(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"}}},Y=e=>{let{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},(0,X.Qy)(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},(0,X.oN)(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},(0,X.oN)(e))}}}},ee=e=>Object.assign({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},(0,L.T)(e)),et=e=>(0,q.IX)(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,L.e)(e));var en=(0,K.I$)("Pagination",e=>{let t=et(e);return[V(t),Y(t)]},ee);let ei=e=>{let{componentCls:t}=e;return{[`${t}${t}-bordered${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}${t}-bordered: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:`${(0,A.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}};var eo=(0,K.bk)(["Pagination","bordered"],e=>{let t=et(e);return[ei(t)]},ee),er=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},el=e=>{let{align:t,prefixCls:n,selectPrefixCls:o,className:r,rootClassName:l,style:c,size:d,locale:g,selectComponentClass:b,responsive:v,showSizeChanger:h}=e,f=er(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:$}=(0,I.Z)(v),[,C]=(0,T.ZP)(),{getPrefixCls:S,direction:k,pagination:y={}}=i.useContext(w.E_),x=S("pagination",n),[E,N,j]=en(x),z=null!=h?h:y.showSizeChanger,O=i.useMemo(()=>{let e=i.createElement("span",{className:`${x}-item-ellipsis`},"•••"),t=i.createElement("button",{className:`${x}-item-link`,type:"button",tabIndex:-1},"rtl"===k?i.createElement(u.Z,null):i.createElement(m.Z,null)),n=i.createElement("button",{className:`${x}-item-link`,type:"button",tabIndex:-1},"rtl"===k?i.createElement(m.Z,null):i.createElement(u.Z,null)),o=i.createElement("a",{className:`${x}-item-link`},i.createElement("div",{className:`${x}-item-container`},"rtl"===k?i.createElement(s,{className:`${x}-item-link-icon`}):i.createElement(a,{className:`${x}-item-link-icon`}),e)),r=i.createElement("a",{className:`${x}-item-link`},i.createElement("div",{className:`${x}-item-container`},"rtl"===k?i.createElement(a,{className:`${x}-item-link-icon`}):i.createElement(s,{className:`${x}-item-link-icon`}),e));return{prevIcon:t,nextIcon:n,jumpPrevIcon:o,jumpNextIcon:r}},[k,x]),[D]=(0,P.Z)("Pagination",M.Z),A=Object.assign(Object.assign({},D),g),R=(0,Z.Z)(d),L="small"===R||!!($&&!R&&v),W=S("select",o),X=p()({[`${x}-${t}`]:!!t,[`${x}-mini`]:L,[`${x}-rtl`]:"rtl"===k,[`${x}-bordered`]:C.wireframe},null==y?void 0:y.className,r,l,N,j),q=Object.assign(Object.assign({},null==y?void 0:y.style),c);return E(i.createElement(i.Fragment,null,C.wireframe&&i.createElement(eo,{prefixCls:x}),i.createElement(B,Object.assign({},O,f,{style:q,prefixCls:x,selectPrefixCls:W,className:X,selectComponentClass:b||(L?H:_),locale:A,showSizeChanger:z}))))}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5880.2d10fae29e5dc5eb.js b/dbgpt/app/static/web/_next/static/chunks/5880.2d10fae29e5dc5eb.js deleted file mode 100644 index a3ebf597e..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/5880.2d10fae29e5dc5eb.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5880],{5880:function(e,t,n){n.r(t),n.d(t,{TagAngleInterpolationBracket:function(){return D},TagAngleInterpolationDollar:function(){return $},TagAutoInterpolationBracket:function(){return v},TagAutoInterpolationDollar:function(){return C},TagBracketInterpolationBracket:function(){return B},TagBracketInterpolationDollar:function(){return E}});var o,i=n(5036),_=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,u=(e,t,n,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of a(t))s.call(e,i)||i===n||_(e,i,{get:()=>t[i],enumerable:!(o=r(t,i))||o.enumerable});return e},c={};u(c,i,"default"),o&&u(o,i,"default");var d=["assign","flush","ftl","return","global","import","include","break","continue","local","nested","nt","setting","stop","t","lt","rt","fallback"],l=["attempt","autoesc","autoEsc","compress","comment","escape","noescape","function","if","list","items","sep","macro","noparse","noParse","noautoesc","noAutoEsc","outputformat","switch","visit","recurse"],k={close:">",id:"angle",open:"<"},p={close:"\\]",id:"bracket",open:"\\["},g={close:"[>\\]]",id:"auto",open:"[<\\[]"},A={close:"\\}",id:"dollar",open1:"\\$",open2:"\\{"},m={close:"\\]",id:"bracket",open1:"\\[",open2:"="};function f(e){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],comments:{blockComment:[`${e.open}--`,`--${e.close}`]},autoCloseBefore:"\n\r }]),.:;=",autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:RegExp(`${e.open}#(?:${l.join("|")})([^/${e.close}]*(?!/)${e.close})[^${e.open}]*$`),end:RegExp(`${e.open}/#(?:${l.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:RegExp(`${e.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${e.close}]*(?!/)${e.close})[^${e.open}]*$`),afterText:RegExp(`^${e.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${e.close}$`),action:{indentAction:c.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`${e.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${e.close}]*(?!/)${e.close})[^${e.open}]*$`),action:{indentAction:c.languages.IndentAction.Indent}}]}}function F(){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],autoCloseBefore:"\n\r }]),.:;=",autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:RegExp(`[<\\[]#(?:${l.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),end:RegExp(`[<\\[]/#(?:${l.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),afterText:RegExp(`^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$`),action:{indentAction:c.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),action:{indentAction:c.languages.IndentAction.Indent}}]}}function b(e,t){let n=`_${e.id}_${t.id}`,o=e=>e.replace(/__id__/g,n),i=e=>{let t=e.source.replace(/__id__/g,n);return new RegExp(t,e.flags)};return{unicode:!0,includeLF:!1,start:o("default__id__"),ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],[o("open__id__")]:new RegExp(e.open),[o("close__id__")]:new RegExp(e.close),[o("iOpen1__id__")]:new RegExp(t.open1),[o("iOpen2__id__")]:new RegExp(t.open2),[o("iClose__id__")]:new RegExp(t.close),[o("startTag__id__")]:i(/(@open__id__)(#)/),[o("endTag__id__")]:i(/(@open__id__)(\/#)/),[o("startOrEndTag__id__")]:i(/(@open__id__)(\/?#)/),[o("closeTag1__id__")]:i(/((?:@blank)*)(@close__id__)/),[o("closeTag2__id__")]:i(/((?:@blank)*\/?)(@close__id__)/),blank:/[ \t\n\r]/,keywords:["false","true","in","as","using"],directiveStartCloseTag1:/attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,directiveStartCloseTag2:/else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,directiveStartBlank:/if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,directiveEndCloseTag1:/if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,escapedChar:/\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,asciiDigit:/[0-9]/,integer:/[0-9]+/,nonEscapedIdStartChar:/[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,escapedIdChar:/\\[\-\.:#]/,idStartChar:/(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,id:/(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,specialHashKeys:/\*\*|\*|false|true|in|as|using/,namedSymbols:/<=|>=|\\lte|\\lt|<|\\gte|\\gt|>|&&|\\and|->|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,arrows:["->","->"],delimiters:[";",":",",","."],stringOperators:["lte","lt","gte","gt"],noParseTags:["noparse","noParse","comment"],tokenizer:{[o("default__id__")]:[{include:o("@directive_token__id__")},{include:o("@interpolation_and_text_token__id__")}],[o("fmExpression__id__.directive")]:[{include:o("@blank_and_expression_comment_token__id__")},{include:o("@directive_end_token__id__")},{include:o("@expression_token__id__")}],[o("fmExpression__id__.interpolation")]:[{include:o("@blank_and_expression_comment_token__id__")},{include:o("@expression_token__id__")},{include:o("@greater_operators_token__id__")}],[o("inParen__id__.plain")]:[{include:o("@blank_and_expression_comment_token__id__")},{include:o("@directive_end_token__id__")},{include:o("@expression_token__id__")}],[o("inParen__id__.gt")]:[{include:o("@blank_and_expression_comment_token__id__")},{include:o("@expression_token__id__")},{include:o("@greater_operators_token__id__")}],[o("noSpaceExpression__id__")]:[{include:o("@no_space_expression_end_token__id__")},{include:o("@directive_end_token__id__")},{include:o("@expression_token__id__")}],[o("unifiedCall__id__")]:[{include:o("@unified_call_token__id__")}],[o("singleString__id__")]:[{include:o("@string_single_token__id__")}],[o("doubleString__id__")]:[{include:o("@string_double_token__id__")}],[o("rawSingleString__id__")]:[{include:o("@string_single_raw_token__id__")}],[o("rawDoubleString__id__")]:[{include:o("@string_double_raw_token__id__")}],[o("expressionComment__id__")]:[{include:o("@expression_comment_token__id__")}],[o("noParse__id__")]:[{include:o("@no_parse_token__id__")}],[o("terseComment__id__")]:[{include:o("@terse_comment_token__id__")}],[o("directive_token__id__")]:[[i(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{cases:{"@noParseTags":{token:"tag",next:o("@noParse__id__.$3")},"@default":{token:"tag"}}},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[i(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[i(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"",next:o("@fmExpression__id__.directive")}]],[i(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[i(/(@open__id__)(@)/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive",next:o("@unifiedCall__id__")}]],[i(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[i(/(@open__id__)#--/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:{token:"comment",next:o("@terseComment__id__")}],[i(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag.invalid",next:o("@fmExpression__id__.directive")}]]],[o("interpolation_and_text_token__id__")]:[[i(/(@iOpen1__id__)(@iOpen2__id__)/),[{token:"bracket"===t.id?"@brackets.interpolation":"delimiter.interpolation"},{token:"bracket"===t.id?"delimiter.interpolation":"@brackets.interpolation",next:o("@fmExpression__id__.interpolation")}]],[/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/,{token:"source"}]],[o("string_single_token__id__")]:[[/[^'\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/'/,{token:"string",next:"@pop"}]],[o("string_double_token__id__")]:[[/[^"\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/"/,{token:"string",next:"@pop"}]],[o("string_single_raw_token__id__")]:[[/[^']+/,{token:"string.raw"}],[/'/,{token:"string.raw",next:"@pop"}]],[o("string_double_raw_token__id__")]:[[/[^"]+/,{token:"string.raw"}],[/"/,{token:"string.raw",next:"@pop"}]],[o("expression_token__id__")]:[[/(r?)(['"])/,{cases:{"r'":[{token:"keyword"},{token:"string.raw",next:o("@rawSingleString__id__")}],'r"':[{token:"keyword"},{token:"string.raw",next:o("@rawDoubleString__id__")}],"'":[{token:"source"},{token:"string",next:o("@singleString__id__")}],'"':[{token:"source"},{token:"string",next:o("@doubleString__id__")}]}}],[/(?:@integer)(?:\.(?:@integer))?/,{cases:{"(?:@integer)":{token:"number"},"@default":{token:"number.float"}}}],[/(\.)(@blank*)(@specialHashKeys)/,[{token:"delimiter"},{token:""},{token:"identifier"}]],[/(?:@namedSymbols)/,{cases:{"@arrows":{token:"meta.arrow"},"@delimiters":{token:"delimiter"},"@default":{token:"operators"}}}],[/@id/,{cases:{"@keywords":{token:"keyword.$0"},"@stringOperators":{token:"operators"},"@default":{token:"identifier"}}}],[/[\[\]\(\)\{\}]/,{cases:{"\\[":{cases:{"$S2==gt":{token:"@brackets",next:o("@inParen__id__.gt")},"@default":{token:"@brackets",next:o("@inParen__id__.plain")}}},"\\]":{cases:{..."bracket"===t.id?{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}}:{},..."bracket"===e.id?{"$S2==directive":{token:"@brackets.directive",next:"@popall"}}:{},[o("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\(":{token:"@brackets",next:o("@inParen__id__.gt")},"\\)":{cases:{[o("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\{":{cases:{"$S2==gt":{token:"@brackets",next:o("@inParen__id__.gt")},"@default":{token:"@brackets",next:o("@inParen__id__.plain")}}},"\\}":{cases:{..."bracket"===t.id?{}:{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}},[o("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}}}}],[/\$\{/,{token:"delimiter.invalid"}]],[o("blank_and_expression_comment_token__id__")]:[[/(?:@blank)+/,{token:""}],[/[<\[][#!]--/,{token:"comment",next:o("@expressionComment__id__")}]],[o("directive_end_token__id__")]:[[/>/,"bracket"===e.id?{token:"operators"}:{token:"@brackets.directive",next:"@popall"}],[i(/(\/)(@close__id__)/),[{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]]],[o("greater_operators_token__id__")]:[[/>/,{token:"operators"}],[/>=/,{token:"operators"}]],[o("no_space_expression_end_token__id__")]:[[/(?:@blank)+/,{token:"",switchTo:o("@fmExpression__id__.directive")}]],[o("unified_call_token__id__")]:[[/(@id)((?:@blank)+)/,[{token:"tag"},{token:"",next:o("@fmExpression__id__.directive")}]],[i(/(@id)(\/?)(@close__id__)/),[{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]],[/./,{token:"@rematch",next:o("@noSpaceExpression__id__")}]],[o("no_parse_token__id__")]:[[i(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),{cases:{"$S2==$3":[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:""},{token:"@brackets.directive",next:"@popall"}],"$S2==comment":[{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"}],"@default":[{token:"source"},{token:"source"},{token:"source"},{token:"source"},{token:"source"}]}}],[/[^<\[\-]+|[<\[\-]/,{cases:{"$S2==comment":{token:"comment"},"@default":{token:"source"}}}]],[o("expression_comment_token__id__")]:[[/--[>\]]/,{token:"comment",next:"@pop"}],[/[^\->\]]+|[>\]\-]/,{token:"comment"}]],[o("terse_comment_token__id__")]:[[i(/--(?:@close__id__)/),{token:"comment",next:"@popall"}],[/[^<\[\-]+|[<\[\-]/,{token:"comment"}]]}}}function x(e){let t=b(k,e),n=b(p,e),o=b(g,e);return{...t,...n,...o,unicode:!0,includeLF:!1,start:`default_auto_${e.id}`,ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{...t.tokenizer,...n.tokenizer,...o.tokenizer}}}var $={conf:f(k),language:b(k,A)},E={conf:f(p),language:b(p,A)},D={conf:f(k),language:b(k,m)},B={conf:f(p),language:b(p,m)},C={conf:F(),language:x(A)},v={conf:F(),language:x(m)}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5880.ea82770e62bf61b0.js b/dbgpt/app/static/web/_next/static/chunks/5880.ea82770e62bf61b0.js new file mode 100644 index 000000000..e3a06c070 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/5880.ea82770e62bf61b0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5880],{5880:function(e,t,n){n.r(t),n.d(t,{TagAngleInterpolationBracket:function(){return D},TagAngleInterpolationDollar:function(){return $},TagAutoInterpolationBracket:function(){return v},TagAutoInterpolationDollar:function(){return C},TagBracketInterpolationBracket:function(){return B},TagBracketInterpolationDollar:function(){return E}});var o,i=n(72339),_=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,u=(e,t,n,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of a(t))s.call(e,i)||i===n||_(e,i,{get:()=>t[i],enumerable:!(o=r(t,i))||o.enumerable});return e},c={};u(c,i,"default"),o&&u(o,i,"default");var d=["assign","flush","ftl","return","global","import","include","break","continue","local","nested","nt","setting","stop","t","lt","rt","fallback"],l=["attempt","autoesc","autoEsc","compress","comment","escape","noescape","function","if","list","items","sep","macro","noparse","noParse","noautoesc","noAutoEsc","outputformat","switch","visit","recurse"],k={close:">",id:"angle",open:"<"},p={close:"\\]",id:"bracket",open:"\\["},g={close:"[>\\]]",id:"auto",open:"[<\\[]"},A={close:"\\}",id:"dollar",open1:"\\$",open2:"\\{"},m={close:"\\]",id:"bracket",open1:"\\[",open2:"="};function f(e){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],comments:{blockComment:[`${e.open}--`,`--${e.close}`]},autoCloseBefore:"\n\r }]),.:;=",autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:RegExp(`${e.open}#(?:${l.join("|")})([^/${e.close}]*(?!/)${e.close})[^${e.open}]*$`),end:RegExp(`${e.open}/#(?:${l.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:RegExp(`${e.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${e.close}]*(?!/)${e.close})[^${e.open}]*$`),afterText:RegExp(`^${e.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${e.close}$`),action:{indentAction:c.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`${e.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${e.close}]*(?!/)${e.close})[^${e.open}]*$`),action:{indentAction:c.languages.IndentAction.Indent}}]}}function F(){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],autoCloseBefore:"\n\r }]),.:;=",autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:RegExp(`[<\\[]#(?:${l.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),end:RegExp(`[<\\[]/#(?:${l.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),afterText:RegExp(`^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$`),action:{indentAction:c.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),action:{indentAction:c.languages.IndentAction.Indent}}]}}function b(e,t){let n=`_${e.id}_${t.id}`,o=e=>e.replace(/__id__/g,n),i=e=>{let t=e.source.replace(/__id__/g,n);return new RegExp(t,e.flags)};return{unicode:!0,includeLF:!1,start:o("default__id__"),ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],[o("open__id__")]:new RegExp(e.open),[o("close__id__")]:new RegExp(e.close),[o("iOpen1__id__")]:new RegExp(t.open1),[o("iOpen2__id__")]:new RegExp(t.open2),[o("iClose__id__")]:new RegExp(t.close),[o("startTag__id__")]:i(/(@open__id__)(#)/),[o("endTag__id__")]:i(/(@open__id__)(\/#)/),[o("startOrEndTag__id__")]:i(/(@open__id__)(\/?#)/),[o("closeTag1__id__")]:i(/((?:@blank)*)(@close__id__)/),[o("closeTag2__id__")]:i(/((?:@blank)*\/?)(@close__id__)/),blank:/[ \t\n\r]/,keywords:["false","true","in","as","using"],directiveStartCloseTag1:/attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,directiveStartCloseTag2:/else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,directiveStartBlank:/if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,directiveEndCloseTag1:/if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,escapedChar:/\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,asciiDigit:/[0-9]/,integer:/[0-9]+/,nonEscapedIdStartChar:/[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,escapedIdChar:/\\[\-\.:#]/,idStartChar:/(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,id:/(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,specialHashKeys:/\*\*|\*|false|true|in|as|using/,namedSymbols:/<=|>=|\\lte|\\lt|<|\\gte|\\gt|>|&&|\\and|->|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,arrows:["->","->"],delimiters:[";",":",",","."],stringOperators:["lte","lt","gte","gt"],noParseTags:["noparse","noParse","comment"],tokenizer:{[o("default__id__")]:[{include:o("@directive_token__id__")},{include:o("@interpolation_and_text_token__id__")}],[o("fmExpression__id__.directive")]:[{include:o("@blank_and_expression_comment_token__id__")},{include:o("@directive_end_token__id__")},{include:o("@expression_token__id__")}],[o("fmExpression__id__.interpolation")]:[{include:o("@blank_and_expression_comment_token__id__")},{include:o("@expression_token__id__")},{include:o("@greater_operators_token__id__")}],[o("inParen__id__.plain")]:[{include:o("@blank_and_expression_comment_token__id__")},{include:o("@directive_end_token__id__")},{include:o("@expression_token__id__")}],[o("inParen__id__.gt")]:[{include:o("@blank_and_expression_comment_token__id__")},{include:o("@expression_token__id__")},{include:o("@greater_operators_token__id__")}],[o("noSpaceExpression__id__")]:[{include:o("@no_space_expression_end_token__id__")},{include:o("@directive_end_token__id__")},{include:o("@expression_token__id__")}],[o("unifiedCall__id__")]:[{include:o("@unified_call_token__id__")}],[o("singleString__id__")]:[{include:o("@string_single_token__id__")}],[o("doubleString__id__")]:[{include:o("@string_double_token__id__")}],[o("rawSingleString__id__")]:[{include:o("@string_single_raw_token__id__")}],[o("rawDoubleString__id__")]:[{include:o("@string_double_raw_token__id__")}],[o("expressionComment__id__")]:[{include:o("@expression_comment_token__id__")}],[o("noParse__id__")]:[{include:o("@no_parse_token__id__")}],[o("terseComment__id__")]:[{include:o("@terse_comment_token__id__")}],[o("directive_token__id__")]:[[i(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{cases:{"@noParseTags":{token:"tag",next:o("@noParse__id__.$3")},"@default":{token:"tag"}}},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[i(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[i(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"",next:o("@fmExpression__id__.directive")}]],[i(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[i(/(@open__id__)(@)/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive",next:o("@unifiedCall__id__")}]],[i(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[i(/(@open__id__)#--/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:{token:"comment",next:o("@terseComment__id__")}],[i(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag.invalid",next:o("@fmExpression__id__.directive")}]]],[o("interpolation_and_text_token__id__")]:[[i(/(@iOpen1__id__)(@iOpen2__id__)/),[{token:"bracket"===t.id?"@brackets.interpolation":"delimiter.interpolation"},{token:"bracket"===t.id?"delimiter.interpolation":"@brackets.interpolation",next:o("@fmExpression__id__.interpolation")}]],[/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/,{token:"source"}]],[o("string_single_token__id__")]:[[/[^'\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/'/,{token:"string",next:"@pop"}]],[o("string_double_token__id__")]:[[/[^"\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/"/,{token:"string",next:"@pop"}]],[o("string_single_raw_token__id__")]:[[/[^']+/,{token:"string.raw"}],[/'/,{token:"string.raw",next:"@pop"}]],[o("string_double_raw_token__id__")]:[[/[^"]+/,{token:"string.raw"}],[/"/,{token:"string.raw",next:"@pop"}]],[o("expression_token__id__")]:[[/(r?)(['"])/,{cases:{"r'":[{token:"keyword"},{token:"string.raw",next:o("@rawSingleString__id__")}],'r"':[{token:"keyword"},{token:"string.raw",next:o("@rawDoubleString__id__")}],"'":[{token:"source"},{token:"string",next:o("@singleString__id__")}],'"':[{token:"source"},{token:"string",next:o("@doubleString__id__")}]}}],[/(?:@integer)(?:\.(?:@integer))?/,{cases:{"(?:@integer)":{token:"number"},"@default":{token:"number.float"}}}],[/(\.)(@blank*)(@specialHashKeys)/,[{token:"delimiter"},{token:""},{token:"identifier"}]],[/(?:@namedSymbols)/,{cases:{"@arrows":{token:"meta.arrow"},"@delimiters":{token:"delimiter"},"@default":{token:"operators"}}}],[/@id/,{cases:{"@keywords":{token:"keyword.$0"},"@stringOperators":{token:"operators"},"@default":{token:"identifier"}}}],[/[\[\]\(\)\{\}]/,{cases:{"\\[":{cases:{"$S2==gt":{token:"@brackets",next:o("@inParen__id__.gt")},"@default":{token:"@brackets",next:o("@inParen__id__.plain")}}},"\\]":{cases:{..."bracket"===t.id?{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}}:{},..."bracket"===e.id?{"$S2==directive":{token:"@brackets.directive",next:"@popall"}}:{},[o("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\(":{token:"@brackets",next:o("@inParen__id__.gt")},"\\)":{cases:{[o("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\{":{cases:{"$S2==gt":{token:"@brackets",next:o("@inParen__id__.gt")},"@default":{token:"@brackets",next:o("@inParen__id__.plain")}}},"\\}":{cases:{..."bracket"===t.id?{}:{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}},[o("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}}}}],[/\$\{/,{token:"delimiter.invalid"}]],[o("blank_and_expression_comment_token__id__")]:[[/(?:@blank)+/,{token:""}],[/[<\[][#!]--/,{token:"comment",next:o("@expressionComment__id__")}]],[o("directive_end_token__id__")]:[[/>/,"bracket"===e.id?{token:"operators"}:{token:"@brackets.directive",next:"@popall"}],[i(/(\/)(@close__id__)/),[{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]]],[o("greater_operators_token__id__")]:[[/>/,{token:"operators"}],[/>=/,{token:"operators"}]],[o("no_space_expression_end_token__id__")]:[[/(?:@blank)+/,{token:"",switchTo:o("@fmExpression__id__.directive")}]],[o("unified_call_token__id__")]:[[/(@id)((?:@blank)+)/,[{token:"tag"},{token:"",next:o("@fmExpression__id__.directive")}]],[i(/(@id)(\/?)(@close__id__)/),[{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]],[/./,{token:"@rematch",next:o("@noSpaceExpression__id__")}]],[o("no_parse_token__id__")]:[[i(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),{cases:{"$S2==$3":[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:""},{token:"@brackets.directive",next:"@popall"}],"$S2==comment":[{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"}],"@default":[{token:"source"},{token:"source"},{token:"source"},{token:"source"},{token:"source"}]}}],[/[^<\[\-]+|[<\[\-]/,{cases:{"$S2==comment":{token:"comment"},"@default":{token:"source"}}}]],[o("expression_comment_token__id__")]:[[/--[>\]]/,{token:"comment",next:"@pop"}],[/[^\->\]]+|[>\]\-]/,{token:"comment"}]],[o("terse_comment_token__id__")]:[[i(/--(?:@close__id__)/),{token:"comment",next:"@popall"}],[/[^<\[\-]+|[<\[\-]/,{token:"comment"}]]}}}function x(e){let t=b(k,e),n=b(p,e),o=b(g,e);return{...t,...n,...o,unicode:!0,includeLF:!1,start:`default_auto_${e.id}`,ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{...t.tokenizer,...n.tokenizer,...o.tokenizer}}}var $={conf:f(k),language:b(k,A)},E={conf:f(p),language:b(p,A)},D={conf:f(k),language:b(k,m)},B={conf:f(p),language:b(p,m)},C={conf:F(),language:x(A)},v={conf:F(),language:x(m)}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5962.99a364404f763be2.js b/dbgpt/app/static/web/_next/static/chunks/5962.309fbfe15ce0bdf1.js similarity index 97% rename from dbgpt/app/static/web/_next/static/chunks/5962.99a364404f763be2.js rename to dbgpt/app/static/web/_next/static/chunks/5962.309fbfe15ce0bdf1.js index 5da8d76fc..a2b96c728 100644 --- a/dbgpt/app/static/web/_next/static/chunks/5962.99a364404f763be2.js +++ b/dbgpt/app/static/web/_next/static/chunks/5962.309fbfe15ce0bdf1.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5962],{85962:function(e,s,t){t.r(s),t.d(s,{conf:function(){return n},language:function(){return r}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var n={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"'",close:"'",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"}]},r={defaultToken:"",tokenPostfix:".rq",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["add","as","asc","ask","base","by","clear","construct","copy","create","data","delete","desc","describe","distinct","drop","false","filter","from","graph","group","having","in","insert","limit","load","minus","move","named","not","offset","optional","order","prefix","reduced","select","service","silent","to","true","undef","union","using","values","where","with"],builtinFunctions:["a","abs","avg","bind","bnode","bound","ceil","coalesce","concat","contains","count","datatype","day","encode_for_uri","exists","floor","group_concat","hours","if","iri","isblank","isiri","isliteral","isnumeric","isuri","lang","langmatches","lcase","max","md5","min","minutes","month","now","rand","regex","replace","round","sameterm","sample","seconds","sha1","sha256","sha384","sha512","str","strafter","strbefore","strdt","strends","strlang","strlen","strstarts","struuid","substr","sum","timezone","tz","ucase","uri","uuid","year"],ignoreCase:!0,tokenizer:{root:[[/<[^\s\u00a0>]*>?/,"tag"],{include:"@strings"},[/#.*/,"comment"],[/[{}()\[\]]/,"@brackets"],[/[;,.]/,"delimiter"],[/[_\w\d]+:(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])*/,"tag"],[/:(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/,"tag"],[/[$?]?[_\w\d]+/,{cases:{"@keywords":{token:"keyword"},"@builtinFunctions":{token:"predefined.sql"},"@default":"identifier"}}],[/\^\^/,"operator.sql"],[/\^[*+\-<>=&|^\/!?]*/,"operator.sql"],[/[*+\-<>=&|\/!?]/,"operator.sql"],[/@[a-z\d\-]*/,"metatag.html"],[/\s+/,"white"]],strings:[[/'([^'\\]|\\.)*$/,"string.invalid"],[/'$/,"string.sql","@pop"],[/'/,"string.sql","@stringBody"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"$/,"string.sql","@pop"],[/"/,"string.sql","@dblStringBody"]],stringBody:[[/[^\\']+/,"string.sql"],[/\\./,"string.escape"],[/'/,"string.sql","@pop"]],dblStringBody:[[/[^\\"]+/,"string.sql"],[/\\./,"string.escape"],[/"/,"string.sql","@pop"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6047-26e7e176b04ca9f3.js b/dbgpt/app/static/web/_next/static/chunks/6047-26e7e176b04ca9f3.js new file mode 100644 index 000000000..450999c7e --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/6047-26e7e176b04ca9f3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6047,950,1437,5005,1390,5654],{91321:function(e,r,t){t.d(r,{Z:function(){return u}});var o=t(87462),n=t(45987),c=t(67294),l=t(16165),a=["type","children"],i=new Set;function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[r];if("string"==typeof t&&t.length&&!i.has(t)){var o=document.createElement("script");o.setAttribute("src",t),o.setAttribute("data-namespace",t),e.length>r+1&&(o.onload=function(){s(e,r+1)},o.onerror=function(){s(e,r+1)}),i.add(t),document.body.appendChild(o)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scriptUrl,t=e.extraCommonProps,i=void 0===t?{}:t;r&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(r)?s(r.reverse()):s([r]));var u=c.forwardRef(function(e,r){var t=e.type,s=e.children,u=(0,n.Z)(e,a),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(t)})),s&&(d=s),c.createElement(l.Z,(0,o.Z)({},i,u,{ref:r}),d)});return u.displayName="Iconfont",u}},52645:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},58638:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},83266:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},30159:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},87740:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},27496:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},94668:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},66309:function(e,r,t){t.d(r,{Z:function(){return z}});var o=t(67294),n=t(93967),c=t.n(n),l=t(98423),a=t(98787),i=t(69760),s=t(96159),u=t(45353),d=t(53124),f=t(25446),g=t(10274),h=t(14747),p=t(83262),v=t(83559);let m=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:o,componentCls:n,calc:c}=e,l=c(o).sub(t).equal(),a=c(r).sub(t).equal();return{[n]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${n}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${n}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${n}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${n}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${n}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:r,fontSizeIcon:t,calc:o}=e,n=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:n,tagLineHeight:(0,f.bf)(o(e.lineHeightSM).mul(n).equal()),tagIconSize:o(t).sub(o(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let r=b(e);return m(r)},C),k=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let w=o.forwardRef((e,r)=>{let{prefixCls:t,style:n,className:l,checked:a,onChange:i,onClick:s}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:g}=o.useContext(d.E_),h=f("tag",t),[p,v,m]=y(h),b=c()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:a},null==g?void 0:g.className,l,v,m);return p(o.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},n),null==g?void 0:g.style),className:b,onClick:e=>{null==i||i(!a),null==s||s(e)}})))});var $=t(98719);let x=e=>(0,$.Z)(e,(r,t)=>{let{textColor:o,lightBorderColor:n,lightColor:c,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:o,background:c,borderColor:n,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Z=(0,v.bk)(["Tag","preset"],e=>{let r=b(e);return x(r)},C);let E=(e,r,t)=>{let o=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let r=b(e);return[E(r,"success","Success"),E(r,"processing","Info"),E(r,"error","Error"),E(r,"warning","Warning")]},C),O=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let S=o.forwardRef((e,r)=>{let{prefixCls:t,className:n,rootClassName:f,style:g,children:h,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,k=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:$,tag:x}=o.useContext(d.E_),[E,S]=o.useState(!0),z=(0,l.Z)(k,["closeIcon","closable"]);o.useEffect(()=>{void 0!==C&&S(C)},[C]);let B=(0,a.o2)(v),M=(0,a.yT)(v),j=B||M,V=Object.assign(Object.assign({backgroundColor:v&&!j?v:void 0},null==x?void 0:x.style),g),P=w("tag",t),[I,N,R]=y(P),T=c()(P,null==x?void 0:x.className,{[`${P}-${v}`]:j,[`${P}-has-color`]:v&&!j,[`${P}-hidden`]:!E,[`${P}-rtl`]:"rtl"===$,[`${P}-borderless`]:!b},n,f,N,R),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)(x),{closable:!1,closeIconRender:e=>{let r=o.createElement("span",{className:`${P}-close-icon`,onClick:L},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),L(r)},className:c()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),_="function"==typeof k.onClick||h&&"a"===h.type,q=p||null,F=q?o.createElement(o.Fragment,null,q,h&&o.createElement("span",null,h)):h,D=o.createElement("span",Object.assign({},z,{ref:r,className:T,style:V}),F,A,B&&o.createElement(Z,{key:"preset",prefixCls:P}),M&&o.createElement(H,{key:"status",prefixCls:P}));return I(_?o.createElement(u.Z,{component:"Tag"},D):D)});S.CheckableTag=w;var z=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6082.eed5cce2d81e7d6b.js b/dbgpt/app/static/web/_next/static/chunks/6082.dc4621c4b73d1f81.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/6082.eed5cce2d81e7d6b.js rename to dbgpt/app/static/web/_next/static/chunks/6082.dc4621c4b73d1f81.js index 8d422d49e..390ee8191 100644 --- a/dbgpt/app/static/web/_next/static/chunks/6082.eed5cce2d81e7d6b.js +++ b/dbgpt/app/static/web/_next/static/chunks/6082.dc4621c4b73d1f81.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6082],{86082:function(e,t,o){o.r(t),o.d(t,{conf:function(){return r},language:function(){return n}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["{","}"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*\\{\\$REGION(\\s\\'.*\\')?\\}"),end:RegExp("^\\s*\\{\\$ENDREGION\\}")}}},n={defaultToken:"",tokenPostfix:".pascal",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["absolute","abstract","all","and_then","array","as","asm","attribute","begin","bindable","case","class","const","contains","default","div","else","end","except","exports","external","far","file","finalization","finally","forward","generic","goto","if","implements","import","in","index","inherited","initialization","interrupt","is","label","library","mod","module","name","near","not","object","of","on","only","operator","or_else","otherwise","override","package","packed","pow","private","program","protected","public","published","interface","implementation","qualified","read","record","resident","requires","resourcestring","restricted","segment","set","shl","shr","specialize","stored","strict","then","threadvar","to","try","type","unit","uses","var","view","virtual","dynamic","overload","reintroduce","with","write","xor","true","false","procedure","function","constructor","destructor","property","break","continue","exit","abort","while","do","for","raise","repeat","until"],typeKeywords:["boolean","double","byte","integer","shortint","char","longint","float","string"],operators:["=",">","<","<=",">=","<>",":",":=","and","or","+","-","*","/","@","&","^","%"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\*\}]+/,"comment"],[/\}/,"comment","@pop"],[/[\{]/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\{/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6212-6da268a7efc0e249.js b/dbgpt/app/static/web/_next/static/chunks/6212-6da268a7efc0e249.js deleted file mode 100644 index 56c0168c1..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/6212-6da268a7efc0e249.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6212],{94155:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z"}}]},name:"caret-left",theme:"outlined"},i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},14313:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"}}]},name:"caret-right",theme:"outlined"},i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},11186:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),a=r(67294),o={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-32zm-40 728H184V184h656v656zM340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8s0 .1.1.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8 0 0 0 .1-.1.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7zM620 539v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8v.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8v.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7z"}}]},name:"control",theme:"outlined"},i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},82061:function(e,t,r){var n=r(87462),a=r(67294),o=r(47046),i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o.Z}))});t.Z=l},3471:function(e,t,r){var n=r(87462),a=r(67294),o=r(29245),i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o.Z}))});t.Z=l},90725:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 472a40 40 0 1080 0 40 40 0 10-80 0zm367 352.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.7-107.8c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1L813.5 844h-603z"}}]},name:"experiment",theme:"outlined"},i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},42952:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),a=r(67294),o={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"},i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},20046:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),a=r(67294),o={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"},i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},90598:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},75750:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"},i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},96074:function(e,t,r){r.d(t,{Z:function(){return h}});var n=r(67294),a=r(93967),o=r.n(a),i=r(53124),l=r(47648),c=r(14747),d=r(83559),s=r(87893);let f=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:r,colorSplit:n,lineWidth:a,textPaddingInline:o,orientationMargin:i,verticalMarginInline:d}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{borderBlockStart:`${(0,l.bf)(a)} solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:d,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,l.bf)(a)} solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,l.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,l.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,l.bf)(a)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${i} * 100%)`},"&::after":{width:`calc(100% - ${i} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${i} * 100%)`},"&::after":{width:`calc(${i} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:o},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${(0,l.bf)(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${(0,l.bf)(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:a,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:r}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:r}}})}};var g=(0,d.I$)("Divider",e=>{let t=(0,s.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[f(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r},h=e=>{let{getPrefixCls:t,direction:r,divider:a}=n.useContext(i.E_),{prefixCls:l,type:c="horizontal",orientation:d="center",orientationMargin:s,className:f,rootClassName:h,children:b,dashed:m,variant:p="solid",plain:v,style:$}=e,x=u(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),w=t("divider",l),[z,y,S]=g(w),E=!!b,B="left"===d&&null!=s,Z="right"===d&&null!=s,k=o()(w,null==a?void 0:a.className,y,S,`${w}-${c}`,{[`${w}-with-text`]:E,[`${w}-with-text-${d}`]:E,[`${w}-dashed`]:!!m,[`${w}-${p}`]:"solid"!==p,[`${w}-plain`]:!!v,[`${w}-rtl`]:"rtl"===r,[`${w}-no-default-orientation-margin-left`]:B,[`${w}-no-default-orientation-margin-right`]:Z},f,h),C=n.useMemo(()=>"number"==typeof s?s:/^\d+$/.test(s)?Number(s):s,[s]),O=Object.assign(Object.assign({},B&&{marginLeft:C}),Z&&{marginRight:C});return z(n.createElement("div",Object.assign({className:k,style:Object.assign(Object.assign({},null==a?void 0:a.style),$)},x,{role:"separator"}),b&&"vertical"!==c&&n.createElement("span",{className:`${w}-inner-text`,style:O},b)))}},21612:function(e,t,r){r.d(t,{default:function(){return E}});var n=r(96641),a=r(67294),o=r(93967),i=r.n(o),l=r(98423),c=r(53124),d=r(82401),s=r(50344),f=r(48058),g=r(47648),u=r(83559),h=e=>{let{componentCls:t,bodyBg:r,lightSiderBg:n,lightTriggerBg:a,lightTriggerColor:o}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:o,background:a},[`${t}-sider-zero-width-trigger`]:{color:o,background:a,border:`1px solid ${r}`,borderInlineStart:0}}}};let b=e=>{let{antCls:t,componentCls:r,colorText:n,triggerColor:a,footerBg:o,triggerBg:i,headerHeight:l,headerPadding:c,headerColor:d,footerPadding:s,triggerHeight:f,zeroTriggerHeight:u,zeroTriggerWidth:b,motionDurationMid:m,motionDurationSlow:p,fontSize:v,borderRadius:$,bodyBg:x,headerBg:w,siderBg:z}=e;return{[r]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:x,"&, *":{boxSizing:"border-box"},[`&${r}-has-sider`]:{flexDirection:"row",[`> ${r}, > ${r}-content`]:{width:0}},[`${r}-header, &${r}-footer`]:{flex:"0 0 auto"},[`${r}-sider`]:{position:"relative",minWidth:0,background:z,transition:`all ${m}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:f},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:f,color:a,lineHeight:(0,g.bf)(f),textAlign:"center",background:i,cursor:"pointer",transition:`all ${m}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:l,insetInlineEnd:e.calc(b).mul(-1).equal(),zIndex:1,width:b,height:u,color:a,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:z,borderStartStartRadius:0,borderStartEndRadius:$,borderEndEndRadius:$,borderEndStartRadius:0,cursor:"pointer",transition:`background ${p} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${p}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(b).mul(-1).equal(),borderStartStartRadius:$,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:$}}}}},h(e)),{"&-rtl":{direction:"rtl"}}),[`${r}-header`]:{height:l,padding:c,color:d,lineHeight:(0,g.bf)(l),background:w,[`${t}-menu`]:{lineHeight:"inherit"}},[`${r}-footer`]:{padding:s,color:n,fontSize:v,background:o},[`${r}-content`]:{flex:"auto",color:n,minHeight:0}}};var m=(0,u.I$)("Layout",e=>[b(e)],e=>{let{colorBgLayout:t,controlHeight:r,controlHeightLG:n,colorText:a,controlHeightSM:o,marginXXS:i,colorTextLightSolid:l,colorBgContainer:c}=e,d=1.25*n;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:2*r,headerPadding:`0 ${d}px`,headerColor:a,footerPadding:`${o}px ${d}px`,footerBg:t,siderBg:"#001529",triggerHeight:n+2*i,triggerBg:"#002140",triggerColor:l,zeroTriggerWidth:n,zeroTriggerHeight:n,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:a}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};function v(e){let{suffixCls:t,tagName:r,displayName:n}=e;return e=>{let n=a.forwardRef((n,o)=>a.createElement(e,Object.assign({ref:o,suffixCls:t,tagName:r},n)));return n}}let $=a.forwardRef((e,t)=>{let{prefixCls:r,suffixCls:n,className:o,tagName:l}=e,d=p(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:s}=a.useContext(c.E_),f=s("layout",r),[g,u,h]=m(f),b=n?`${f}-${n}`:f;return g(a.createElement(l,Object.assign({className:i()(r||b,o,u,h),ref:t},d)))}),x=a.forwardRef((e,t)=>{let{direction:r}=a.useContext(c.E_),[o,g]=a.useState([]),{prefixCls:u,className:h,rootClassName:b,children:v,hasSider:$,tagName:x,style:w}=e,z=p(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),y=(0,l.Z)(z,["suffixCls"]),{getPrefixCls:S,layout:E}=a.useContext(c.E_),B=S("layout",u),Z=function(e,t,r){if("boolean"==typeof r)return r;if(e.length)return!0;let n=(0,s.Z)(t);return n.some(e=>e.type===f.Z)}(o,v,$),[k,C,O]=m(B),N=i()(B,{[`${B}-has-sider`]:Z,[`${B}-rtl`]:"rtl"===r},null==E?void 0:E.className,h,b,C,O),L=a.useMemo(()=>({siderHook:{addSider:e=>{g(t=>[].concat((0,n.Z)(t),[e]))},removeSider:e=>{g(t=>t.filter(t=>t!==e))}}}),[]);return k(a.createElement(d.V.Provider,{value:L},a.createElement(x,Object.assign({ref:t,className:N,style:Object.assign(Object.assign({},null==E?void 0:E.style),w)},y),v)))}),w=v({tagName:"div",displayName:"Layout"})(x),z=v({suffixCls:"header",tagName:"header",displayName:"Header"})($),y=v({suffixCls:"footer",tagName:"footer",displayName:"Footer"})($),S=v({suffixCls:"content",tagName:"main",displayName:"Content"})($);w.Header=z,w.Footer=y,w.Content=S,w.Sider=f.Z,w._InternalSiderContext=f.D;var E=w}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6216.40427d7a52546b76.js b/dbgpt/app/static/web/_next/static/chunks/6216.40427d7a52546b76.js new file mode 100644 index 000000000..c4c3baf2a --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/6216.40427d7a52546b76.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6216],{89035:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 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:"code",theme:"outlined"},l=n(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},15381:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},l=n(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},65429:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},l=n(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},50228:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"},l=n(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},27496:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=n(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},94668:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=n(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},99134:function(e,t,n){var r=n(67294);let a=(0,r.createContext)({});t.Z=a},21584:function(e,t,n){var r=n(67294),a=n(93967),o=n.n(a),l=n(53124),c=n(99134),i=n(6999),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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function f(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let u=["xs","sm","md","lg","xl","xxl"],d=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:a}=r.useContext(l.E_),{gutter:d,wrap:p}=r.useContext(c.Z),{prefixCls:$,span:m,order:h,offset:g,push:y,pull:v,className:b,children:x,flex:w,style:j}=e,O=s(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),Z=n("col",$),[C,E,M]=(0,i.cG)(Z),z={},I={};u.forEach(t=>{let n={},r=e[t];"number"==typeof r?n.span=r:"object"==typeof r&&(n=r||{}),delete O[t],I=Object.assign(Object.assign({},I),{[`${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}-rtl`]:"rtl"===a}),n.flex&&(I[`${Z}-${t}-flex`]=!0,z[`--${Z}-${t}-flex`]=f(n.flex))});let S=o()(Z,{[`${Z}-${m}`]:void 0!==m,[`${Z}-order-${h}`]:h,[`${Z}-offset-${g}`]:g,[`${Z}-push-${y}`]:y,[`${Z}-pull-${v}`]:v},b,I,E,M),R={};if(d&&d[0]>0){let e=d[0]/2;R.paddingLeft=e,R.paddingRight=e}return w&&(R.flex=f(w),!1!==p||R.minWidth||(R.minWidth=0)),C(r.createElement("div",Object.assign({},O,{style:Object.assign(Object.assign(Object.assign({},R),j),z),className:S,ref:t}),x))});t.Z=d},92820:function(e,t,n){var r=n(67294),a=n(93967),o=n.n(a),l=n(74443),c=n(53124),i=n(99134),s=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function u(e,t){let[n,a]=r.useState("string"==typeof e?e:""),o=()=>{if("string"==typeof e&&a(e),"object"==typeof e)for(let n=0;n{o()},[JSON.stringify(e),t]),n}let d=r.forwardRef((e,t)=>{let{prefixCls:n,justify:a,align:d,className:p,style:$,children:m,gutter:h=0,wrap:g}=e,y=f(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:v,direction:b}=r.useContext(c.E_),[x,w]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[j,O]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),Z=u(d,j),C=u(a,j),E=r.useRef(h),M=(0,l.ZP)();r.useEffect(()=>{let e=M.subscribe(e=>{O(e);let t=E.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&w(e)});return()=>M.unsubscribe(e)},[]);let z=v("row",n),[I,S,R]=(0,s.VM)(z),V=(()=>{let e=[void 0,void 0],t=Array.isArray(h)?h:[h,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let r=0;r0?-(V[0]/2):void 0;k&&(L.marginLeft=k,L.marginRight=k);let[A,P]=V;L.rowGap=P;let N=r.useMemo(()=>({gutter:[A,P],wrap:g}),[A,P,g]);return I(r.createElement(i.Z.Provider,{value:N},r.createElement("div",Object.assign({},y,{className:H,style:Object.assign(Object.assign({},L),$),ref:t}),m)))});t.Z=d},6999:function(e,t,n){n.d(t,{VM:function(){return f},cG:function(){return u}});var r=n(25446),a=n(83559),o=n(83262);let l=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},c=(e,t)=>{let{prefixCls:n,componentCls:r,gridColumns:a}=e,o={};for(let e=a;e>=0;e--)0===e?(o[`${r}${t}-${e}`]={display:"none"},o[`${r}-push-${e}`]={insetInlineStart:"auto"},o[`${r}-pull-${e}`]={insetInlineEnd:"auto"},o[`${r}${t}-push-${e}`]={insetInlineStart:"auto"},o[`${r}${t}-pull-${e}`]={insetInlineEnd:"auto"},o[`${r}${t}-offset-${e}`]={marginInlineStart:0},o[`${r}${t}-order-${e}`]={order:0}):(o[`${r}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/a*100}%`,maxWidth:`${e/a*100}%`}],o[`${r}${t}-push-${e}`]={insetInlineStart:`${e/a*100}%`},o[`${r}${t}-pull-${e}`]={insetInlineEnd:`${e/a*100}%`},o[`${r}${t}-offset-${e}`]={marginInlineStart:`${e/a*100}%`},o[`${r}${t}-order-${e}`]={order:e});return o[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},o},i=(e,t)=>c(e,t),s=(e,t,n)=>({[`@media (min-width: ${(0,r.bf)(t)})`]:Object.assign({},i(e,n))}),f=(0,a.I$)("Grid",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"}}}},()=>({})),u=(0,a.I$)("Grid",e=>{let t=(0,o.IX)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[l(t),i(t,""),i(t,"-xs"),Object.keys(n).map(e=>s(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},25934:function(e,t,n){n.d(t,{Z:function(){return f}});var r,a=new Uint8Array(16);function o(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(a)}for(var l=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,c=[],i=0;i<256;++i)c.push((i+256).toString(16).substr(1));var s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!("string"==typeof n&&l.test(n)))throw TypeError("Stringified UUID is invalid");return n},f=function(e,t,n){var r=(e=e||{}).random||(e.rng||o)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var a=0;a<16;++a)t[n+a]=r[a];return t}return s(r)}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6231-01c7c0033aee5719.js b/dbgpt/app/static/web/_next/static/chunks/6231-082aa9c179c552ae.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/6231-01c7c0033aee5719.js rename to dbgpt/app/static/web/_next/static/chunks/6231-082aa9c179c552ae.js diff --git a/dbgpt/app/static/web/_next/static/chunks/6241.27111fad933edeb9.js b/dbgpt/app/static/web/_next/static/chunks/6241.6a2e06c38a4a022b.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/6241.27111fad933edeb9.js rename to dbgpt/app/static/web/_next/static/chunks/6241.6a2e06c38a4a022b.js index 0ba7ca125..84ee5c37d 100644 --- a/dbgpt/app/static/web/_next/static/chunks/6241.27111fad933edeb9.js +++ b/dbgpt/app/static/web/_next/static/chunks/6241.6a2e06c38a4a022b.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6241],{96241:function(e,n,t){t.r(n),t.d(n,{conf:function(){return s},language:function(){return o}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var s={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),end:RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")}}},o={defaultToken:"",tokenPostfix:".fs",keywords:["abstract","and","atomic","as","assert","asr","base","begin","break","checked","component","const","constraint","constructor","continue","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","eager","event","external","extern","false","finally","for","fun","function","fixed","functor","global","if","in","include","inherit","inline","interface","internal","land","lor","lsl","lsr","lxor","lazy","let","match","member","mod","module","mutable","namespace","method","mixin","new","not","null","of","open","or","object","override","private","parallel","process","protected","pure","public","rec","return","static","sealed","struct","sig","then","to","true","tailcall","trait","try","type","upcast","use","val","void","virtual","volatile","when","while","with","yield"],symbols:/[=>\]/,"annotation"],[/^#(if|else|endif)/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0x[0-9a-fA-F]+LF/,"number.float"],[/0x[0-9a-fA-F]+(@integersuffix)/,"number.hex"],[/0b[0-1]+(@integersuffix)/,"number.bin"],[/\d+(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string",'@string."""'],[/"/,"string",'@string."'],[/\@"/,{token:"string.quote",next:"@litstring"}],[/'[^\\']'B?/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\(\*(?!\))/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^*(]+/,"comment"],[/\*\)/,"comment","@pop"],[/\*/,"comment"],[/\(\*\)/,"comment"],[/\(/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/("""|"B?)/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6261-88eb5ea7012b9da0.js b/dbgpt/app/static/web/_next/static/chunks/6261-88eb5ea7012b9da0.js deleted file mode 100644 index 8eff6162b..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/6261-88eb5ea7012b9da0.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6261],{32857:function(e,r){r.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"}},51042:function(e,r,o){var t=o(87462),n=o(67294),a=o(42110),l=o(13401),i=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,t.Z)({},e,{ref:r,icon:a.Z}))});r.Z=i},85980:function(e,r,o){var t=o(97582),n=o(23279),a=o.n(n),l=o(67294),i=o(3930),c=o(45210),s=o(92770),u=o(31663);r.Z=function(e,r){u.Z&&!(0,s.mf)(e)&&console.error("useDebounceFn expected parameter is a function, got ".concat(typeof e));var o,n=(0,i.Z)(e),f=null!==(o=null==r?void 0:r.wait)&&void 0!==o?o:1e3,d=(0,l.useMemo)(function(){return a()(function(){for(var e=[],r=0;r({[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`}}})},33297:function(e,r,o){o.d(r,{Fm:function(){return p}});var t=o(47648),n=o(93590);let a=new t.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new t.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),i=new t.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),c=new t.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),s=new t.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 t.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 t.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 t.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),m={"move-up":{inKeyframes:f,outKeyframes:d},"move-down":{inKeyframes:a,outKeyframes:l},"move-left":{inKeyframes:i,outKeyframes:c},"move-right":{inKeyframes:s,outKeyframes:u}},p=(e,r)=>{let{antCls:o}=e,t=`${o}-${r}`,{inKeyframes:a,outKeyframes:l}=m[r];return[(0,n.R)(t,a,l,e.motionDurationMid),{[` - ${t}-enter, - ${t}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${t}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},66309:function(e,r,o){o.d(r,{Z:function(){return Z}});var t=o(67294),n=o(93967),a=o.n(n),l=o(98423),i=o(98787),c=o(69760),s=o(96159),u=o(45353),f=o(53124),d=o(47648),m=o(10274),p=o(14747),g=o(87893),b=o(83559);let y=e=>{let{paddingXXS:r,lineWidth:o,tagPaddingHorizontal:t,componentCls:n,calc:a}=e,l=a(t).sub(o).equal(),i=a(r).sub(o).equal();return{[n]:Object.assign(Object.assign({},(0,p.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,d.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${n}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${n}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${n}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${n}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${n}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{let{lineWidth:r,fontSizeIcon:o,calc:t}=e,n=e.fontSizeSM,a=(0,g.IX)(e,{tagFontSize:n,tagLineHeight:(0,d.bf)(t(e.lineHeightSM).mul(n).equal()),tagIconSize:t(o).sub(t(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},h=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var C=(0,b.I$)("Tag",e=>{let r=v(e);return y(r)},h),O=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&0>r.indexOf(t)&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,t=Object.getOwnPropertySymbols(e);nr.indexOf(t[n])&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]]);return o};let $=t.forwardRef((e,r)=>{let{prefixCls:o,style:n,className:l,checked:i,onChange:c,onClick:s}=e,u=O(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:d,tag:m}=t.useContext(f.E_),p=d("tag",o),[g,b,y]=C(p),v=a()(p,`${p}-checkable`,{[`${p}-checkable-checked`]:i},null==m?void 0:m.className,l,b,y);return g(t.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},n),null==m?void 0:m.style),className:v,onClick:e=>{null==c||c(!i),null==s||s(e)}})))});var k=o(98719);let w=e=>(0,k.Z)(e,(r,o)=>{let{textColor:t,lightBorderColor:n,lightColor:a,darkColor:l}=o;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:t,background:a,borderColor:n,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var E=(0,b.bk)(["Tag","preset"],e=>{let r=v(e);return w(r)},h);let S=(e,r,o)=>{let t=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(o);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${o}`],background:e[`color${t}Bg`],borderColor:e[`color${t}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,b.bk)(["Tag","status"],e=>{let r=v(e);return[S(r,"success","Success"),S(r,"processing","Info"),S(r,"error","Error"),S(r,"warning","Warning")]},h),I=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&0>r.indexOf(t)&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,t=Object.getOwnPropertySymbols(e);nr.indexOf(t[n])&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]]);return o};let M=t.forwardRef((e,r)=>{let{prefixCls:o,className:n,rootClassName:d,style:m,children:p,icon:g,color:b,onClose:y,bordered:v=!0,visible:h}=e,O=I(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:$,direction:k,tag:w}=t.useContext(f.E_),[S,M]=t.useState(!0),Z=(0,l.Z)(O,["closeIcon","closable"]);t.useEffect(()=>{void 0!==h&&M(h)},[h]);let j=(0,i.o2)(b),T=(0,i.yT)(b),B=j||T,P=Object.assign(Object.assign({backgroundColor:b&&!B?b:void 0},null==w?void 0:w.style),m),N=$("tag",o),[D,R,H]=C(N),z=a()(N,null==w?void 0:w.className,{[`${N}-${b}`]:B,[`${N}-has-color`]:b&&!B,[`${N}-hidden`]:!S,[`${N}-rtl`]:"rtl"===k,[`${N}-borderless`]:!v},n,d,R,H),F=e=>{e.stopPropagation(),null==y||y(e),e.defaultPrevented||M(!1)},[,K]=(0,c.Z)((0,c.w)(e),(0,c.w)(w),{closable:!1,closeIconRender:e=>{let r=t.createElement("span",{className:`${N}-close-icon`,onClick:F},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var o;null===(o=null==e?void 0:e.onClick)||void 0===o||o.call(e,r),F(r)},className:a()(null==e?void 0:e.className,`${N}-close-icon`)}))}}),L="function"==typeof O.onClick||p&&"a"===p.type,_=g||null,q=_?t.createElement(t.Fragment,null,_,p&&t.createElement("span",null,p)):p,A=t.createElement("span",Object.assign({},Z,{ref:r,className:z,style:P}),q,K,j&&t.createElement(E,{key:"preset",prefixCls:N}),T&&t.createElement(x,{key:"status",prefixCls:N}));return D(L?t.createElement(u.Z,{component:"Tag"},A):A)});M.CheckableTag=$;var Z=M},64894:function(e,r,o){var t=o(83963),n=o(67294),a=o(32857),l=o(30672),i=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,t.Z)({},e,{ref:r,icon:a.Z}))});r.Z=i}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6356-d3b83a9ada407817.js b/dbgpt/app/static/web/_next/static/chunks/6356-d3b83a9ada407817.js new file mode 100644 index 000000000..16c1ebc54 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/6356-d3b83a9ada407817.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6356,6231,2783],{52645:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},a=n(13401),i=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:l}))})},11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),l={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:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},a=n(13401),i=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:l}))})},58638:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},a=n(13401),i=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:l}))})},83266:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},a=n(13401),i=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:l}))})},30159:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),l={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},a=n(13401),i=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:l}))})},87740:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},a=n(13401),i=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:l}))})},27496:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},a=n(13401),i=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:l}))})},94668:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},a=n(13401),i=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:l}))})},1375:function(e,t,n){"use strict";async function r(e,t){let n;let r=e.getReader();for(;!(n=await r.read()).done;)t(n.value)}function o(){return{data:"",event:"",id:"",retry:void 0}}n.d(t,{a:function(){return a},L:function(){return c}});var 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};let a="text/event-stream",i="last-event-id";function c(e,t){var{signal:n,headers:c,onopen:u,onmessage:d,onclose:f,onerror:m,openWhenHidden:b,fetch:g}=t,p=l(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,l)=>{let h;let v=Object.assign({},c);function y(){h.abort(),document.hidden||S()}v.accept||(v.accept=a),b||document.addEventListener("visibilitychange",y);let w=1e3,$=0;function C(){document.removeEventListener("visibilitychange",y),window.clearTimeout($),h.abort()}null==n||n.addEventListener("abort",()=>{C(),t()});let O=null!=g?g:window.fetch,x=null!=u?u:s;async function S(){var n,a;h=new AbortController;try{let n,l,c,s;let u=await O(e,Object.assign(Object.assign({},p),{headers:v,signal:h.signal}));await x(u),await r(u.body,(a=function(e,t,n){let r=o(),l=new TextDecoder;return function(a,i){if(0===a.length)null==n||n(r),r=o();else if(i>0){let n=l.decode(a.subarray(0,i)),o=i+(32===a[i+1]?2:1),c=l.decode(a.subarray(o));switch(n){case"data":r.data=r.data?r.data+"\n"+c:c;break;case"event":r.event=c;break;case"id":e(r.id=c);break;case"retry":let s=parseInt(c,10);isNaN(s)||t(r.retry=s)}}}}(e=>{e?v[i]=e:delete v[i]},e=>{w=e},d),s=!1,function(e){void 0===n?(n=e,l=0,c=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;l{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},g=(e,t)=>{let n={};return m.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},p=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},h=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},v=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},y=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},w=e=>{let{componentCls:t}=e,n={};return m.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},$=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var C=(0,s.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,o=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[h(o),v(o),y(o),w(o),$(o)]},()=>({}),{resetStyle:!1}),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 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 x=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:o,className:s,style:u,flex:d,gap:f,children:m,vertical:h=!1,component:v="div"}=e,y=O(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:w,direction:$,getPrefixCls:x}=r.useContext(c.E_),S=x("flex",n),[k,j,E]=C(S),_=null!=h?h:null==w?void 0:w.vertical,Z=l()(s,o,null==w?void 0:w.className,S,j,E,l()(Object.assign(Object.assign(Object.assign({},b(S,e)),g(S,e)),p(S,e))),{[`${S}-rtl`]:"rtl"===$,[`${S}-gap-${f}`]:(0,i.n)(f),[`${S}-vertical`]:_}),H=Object.assign(Object.assign({},null==w?void 0:w.style),u);return d&&(H.flex=d),f&&!(0,i.n)(f)&&(H.gap=f),k(r.createElement(v,Object.assign({ref:t,className:Z,style:H},(0,a.Z)(y,["justify","wrap","align"])),m))});var S=x},92783:function(e,t,n){"use strict";n.d(t,{Z:function(){return z}});var r=n(67294),o=n(93967),l=n.n(o),a=n(87462),i=n(97685),c=n(45987),s=n(4942),u=n(1413),d=n(71002),f=n(21770),m=n(42550),b=n(98423),g=n(29372),p=n(8410),h=function(e){return e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null},v=function(e){return void 0!==e?"".concat(e,"px"):void 0};function y(e){var t=e.prefixCls,n=e.containerRef,o=e.value,a=e.getValueIndex,c=e.motionName,s=e.onMotionStart,d=e.onMotionEnd,f=e.direction,b=r.useRef(null),y=r.useState(o),w=(0,i.Z)(y,2),$=w[0],C=w[1],O=function(e){var r,o=a(e),l=null===(r=n.current)||void 0===r?void 0:r.querySelectorAll(".".concat(t,"-item"))[o];return(null==l?void 0:l.offsetParent)&&l},x=r.useState(null),S=(0,i.Z)(x,2),k=S[0],j=S[1],E=r.useState(null),_=(0,i.Z)(E,2),Z=_[0],H=_[1];(0,p.Z)(function(){if($!==o){var e=O($),t=O(o),n=h(e),r=h(t);C(o),j(n),H(r),e&&t?s():d()}},[o]);var P=r.useMemo(function(){return"rtl"===f?v(-(null==k?void 0:k.right)):v(null==k?void 0:k.left)},[f,k]),M=r.useMemo(function(){return"rtl"===f?v(-(null==Z?void 0:Z.right)):v(null==Z?void 0:Z.left)},[f,Z]);return k&&Z?r.createElement(g.ZP,{visible:!0,motionName:c,motionAppear:!0,onAppearStart:function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){j(null),H(null),d()}},function(e,n){var o=e.className,a=e.style,i=(0,u.Z)((0,u.Z)({},a),{},{"--thumb-start-left":P,"--thumb-start-width":v(null==k?void 0:k.width),"--thumb-active-left":M,"--thumb-active-width":v(null==Z?void 0:Z.width)}),c={ref:(0,m.sQ)(b,n),style:i,className:l()("".concat(t,"-thumb"),o)};return r.createElement("div",c)}):null}var w=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"],$=function(e){var t=e.prefixCls,n=e.className,o=e.disabled,a=e.checked,i=e.label,c=e.title,u=e.value,d=e.onChange;return r.createElement("label",{className:l()(n,(0,s.Z)({},"".concat(t,"-item-disabled"),o))},r.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:o,checked:a,onChange:function(e){o||d(e,u)}}),r.createElement("div",{className:"".concat(t,"-item-label"),title:c},i))},C=r.forwardRef(function(e,t){var n,o,g=e.prefixCls,p=void 0===g?"rc-segmented":g,h=e.direction,v=e.options,C=void 0===v?[]:v,O=e.disabled,x=e.defaultValue,S=e.value,k=e.onChange,j=e.className,E=void 0===j?"":j,_=e.motionName,Z=void 0===_?"thumb-motion":_,H=(0,c.Z)(e,w),P=r.useRef(null),M=r.useMemo(function(){return(0,m.sQ)(P,t)},[P,t]),N=r.useMemo(function(){return C.map(function(e){if("object"===(0,d.Z)(e)&&null!==e){var t=function(e){if(void 0!==e.title)return e.title;if("object"!==(0,d.Z)(e.label)){var t;return null===(t=e.label)||void 0===t?void 0:t.toString()}}(e);return(0,u.Z)((0,u.Z)({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}})},[C]),R=(0,f.Z)(null===(n=N[0])||void 0===n?void 0:n.value,{value:S,defaultValue:x}),z=(0,i.Z)(R,2),I=z[0],B=z[1],L=r.useState(!1),T=(0,i.Z)(L,2),V=T[0],A=T[1],D=function(e,t){O||(B(t),null==k||k(t))},G=(0,b.Z)(H,["children"]);return r.createElement("div",(0,a.Z)({},G,{className:l()(p,(o={},(0,s.Z)(o,"".concat(p,"-rtl"),"rtl"===h),(0,s.Z)(o,"".concat(p,"-disabled"),O),o),E),ref:M}),r.createElement("div",{className:"".concat(p,"-group")},r.createElement(y,{prefixCls:p,value:I,containerRef:P,motionName:"".concat(p,"-").concat(Z),direction:h,getValueIndex:function(e){return N.findIndex(function(t){return t.value===e})},onMotionStart:function(){A(!0)},onMotionEnd:function(){A(!1)}}),N.map(function(e){return r.createElement($,(0,a.Z)({},e,{key:e.value,prefixCls:p,className:l()(e.className,"".concat(p,"-item"),(0,s.Z)({},"".concat(p,"-item-selected"),e.value===I&&!V)),checked:e.value===I,onChange:D,disabled:!!O||!!e.disabled}))})))}),O=n(53124),x=n(98675),S=n(25446),k=n(14747),j=n(83559),E=n(83262);function _(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function Z(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}let H=Object.assign({overflow:"hidden"},k.vS),P=e=>{let{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),r=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),o=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,k.Wf)(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},Z(e)),{color:e.itemSelectedColor}),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:(0,S.bf)(n),padding:`0 ${(0,S.bf)(e.segmentedPaddingHorizontal)}`},H),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},Z(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${(0,S.bf)(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:r,lineHeight:(0,S.bf)(r),padding:`0 ${(0,S.bf)(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:o,lineHeight:(0,S.bf)(o),padding:`0 ${(0,S.bf)(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),_(`&-disabled ${t}-item`,e)),_(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}};var M=(0,j.I$)("Segmented",e=>{let{lineWidth:t,calc:n}=e,r=(0,E.IX)(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()});return[P(r)]},e=>{let{colorTextLabel:t,colorText:n,colorFillSecondary:r,colorBgElevated:o,colorFill:l,lineWidthBold:a,colorBgLayout:i}=e;return{trackPadding:a,trackBg:i,itemColor:t,itemHoverColor:n,itemHoverBg:r,itemSelectedBg:o,itemActiveBg:l,itemSelectedColor:n}}),N=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 R=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:a,block:i,options:c=[],size:s="middle",style:u}=e,d=N(e,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:f,direction:m,segmented:b}=r.useContext(O.E_),g=f("segmented",n),[p,h,v]=M(g),y=(0,x.Z)(s),w=r.useMemo(()=>c.map(e=>{if("object"==typeof e&&(null==e?void 0:e.icon)){let{icon:t,label:n}=e,o=N(e,["icon","label"]);return Object.assign(Object.assign({},o),{label:r.createElement(r.Fragment,null,r.createElement("span",{className:`${g}-item-icon`},t),n&&r.createElement("span",null,n))})}return e}),[c,g]),$=l()(o,a,null==b?void 0:b.className,{[`${g}-block`]:i,[`${g}-sm`]:"small"===y,[`${g}-lg`]:"large"===y},h,v),S=Object.assign(Object.assign({},null==b?void 0:b.style),u);return p(r.createElement(C,Object.assign({},d,{className:$,style:S,options:w,ref:t,prefixCls:g,direction:m})))});var z=R},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var r=n(67294),o=n(93967),l=n.n(o),a=n(98423),i=n(98787),c=n(69760),s=n(96159),u=n(45353),d=n(53124),f=n(25446),m=n(10274),b=n(14747),g=n(83262),p=n(83559);let h=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o,calc:l}=e,a=l(r).sub(n).equal(),i=l(t).sub(n).equal();return{[o]:Object.assign(Object.assign({},(0,b.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,o=e.fontSizeSM,l=(0,g.IX)(e,{tagFontSize:o,tagLineHeight:(0,f.bf)(r(e.lineHeightSM).mul(o).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return l},y=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var w=(0,p.I$)("Tag",e=>{let t=v(e);return h(t)},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 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=r.forwardRef((e,t)=>{let{prefixCls:n,style:o,className:a,checked:i,onChange:c,onClick:s}=e,u=$(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:m}=r.useContext(d.E_),b=f("tag",n),[g,p,h]=w(b),v=l()(b,`${b}-checkable`,{[`${b}-checkable-checked`]:i},null==m?void 0:m.className,a,p,h);return g(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},o),null==m?void 0:m.style),className:v,onClick:e=>{null==c||c(!i),null==s||s(e)}})))});var O=n(98719);let x=e=>(0,O.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:l,darkColor:a}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:l,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var S=(0,p.bk)(["Tag","preset"],e=>{let t=v(e);return x(t)},y);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var j=(0,p.bk)(["Tag","status"],e=>{let t=v(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},y),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 _=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:f,style:m,children:b,icon:g,color:p,onClose:h,bordered:v=!0,visible:y}=e,$=E(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:C,direction:O,tag:x}=r.useContext(d.E_),[k,_]=r.useState(!0),Z=(0,a.Z)($,["closeIcon","closable"]);r.useEffect(()=>{void 0!==y&&_(y)},[y]);let H=(0,i.o2)(p),P=(0,i.yT)(p),M=H||P,N=Object.assign(Object.assign({backgroundColor:p&&!M?p:void 0},null==x?void 0:x.style),m),R=C("tag",n),[z,I,B]=w(R),L=l()(R,null==x?void 0:x.className,{[`${R}-${p}`]:M,[`${R}-has-color`]:p&&!M,[`${R}-hidden`]:!k,[`${R}-rtl`]:"rtl"===O,[`${R}-borderless`]:!v},o,f,I,B),T=e=>{e.stopPropagation(),null==h||h(e),e.defaultPrevented||_(!1)},[,V]=(0,c.Z)((0,c.w)(e),(0,c.w)(x),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${R}-close-icon`,onClick:T},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),T(t)},className:l()(null==e?void 0:e.className,`${R}-close-icon`)}))}}),A="function"==typeof $.onClick||b&&"a"===b.type,D=g||null,G=D?r.createElement(r.Fragment,null,D,b&&r.createElement("span",null,b)):b,q=r.createElement("span",Object.assign({},Z,{ref:t,className:L,style:N}),G,V,H&&r.createElement(S,{key:"preset",prefixCls:R}),P&&r.createElement(j,{key:"status",prefixCls:R}));return z(A?r.createElement(u.Z,{component:"Tag"},q):q)});_.CheckableTag=C;var Z=_},50948: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,{noSSR:function(){return a},default:function(){return i}});let r=n(38754),o=(n(67294),r._(n(23900)));function l(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function i(e,t){let n=o.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e}),r={...r,...t};let i=r.loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=i?i().then(l):Promise.resolve(l(()=>null))}):(delete r.webpack,delete r.modules,a(n,r))}("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)},2804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return l}});let r=n(38754),o=r._(n(67294)),l=o.default.createContext(null)},23900:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});let r=n(38754),o=r._(n(67294)),l=n(2804),a=[],i=[],c=!1;function s(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),r=null;function a(){if(!r){let t=new u(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!c){let e=n.webpack?n.webpack():n.modules;e&&i.push(t=>{for(let n of e)if(t.includes(n))return a()})}function s(e,t){!function(){a();let e=o.default.useContext(l.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let i=o.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return o.default.useImperativeHandle(t,()=>({retry:r.retry}),[]),o.default.useMemo(()=>{var t;return i.loading||i.error?o.default.createElement(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:r.retry}):i.loaded?o.default.createElement((t=i.loaded)&&t.default?t.default:t,e):null},[e,i])}return s.preload=()=>a(),s.displayName="LoadableComponent",o.default.forwardRef(s)}(s,e)}function f(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return f(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{f(a).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(c=!0,t());f(i,e).then(n,n)})),window.__NEXT_PRELOADREADY=d.preloadReady;let m=d},5152:function(e,t,n){e.exports=n(50948)}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6388-3308b989f8a5ea15.js b/dbgpt/app/static/web/_next/static/chunks/6388-3308b989f8a5ea15.js new file mode 100644 index 000000000..b96201380 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/6388-3308b989f8a5ea15.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6388,6231,2783,464,950,6047,1437,5005,1390,5654],{91321:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(87462),l=n(45987),o=n(67294),a=n(16165),i=["type","children"],c=new Set;function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e[t];if("string"==typeof n&&n.length&&!c.has(n)){var r=document.createElement("script");r.setAttribute("src",n),r.setAttribute("data-namespace",n),e.length>t+1&&(r.onload=function(){s(e,t+1)},r.onerror=function(){s(e,t+1)}),c.add(n),document.body.appendChild(r)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,c=void 0===n?{}:n;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?s(t.reverse()):s([t]));var u=o.forwardRef(function(e,t){var n=e.type,s=e.children,u=(0,l.Z)(e,i),d=null;return e.type&&(d=o.createElement("use",{xlinkHref:"#".concat(n)})),s&&(d=s),o.createElement(a.Z,(0,r.Z)({},c,u,{ref:t}),d)});return u.displayName="Iconfont",u}},52645:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},a=n(13401),i=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},15381:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},a=n(13401),i=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},58638:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},a=n(13401),i=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},83266:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},a=n(13401),i=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},65429:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},a=n(13401),i=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},30159:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),l=n(67294),o={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},a=n(13401),i=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},87740:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},a=n(13401),i=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},27496:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},a=n(13401),i=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},94668:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},a=n(13401),i=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},1375:function(e,t,n){"use strict";async function r(e,t){let n;let r=e.getReader();for(;!(n=await r.read()).done;)t(n.value)}function l(){return{data:"",event:"",id:"",retry:void 0}}n.d(t,{a:function(){return a},L:function(){return c}});var 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 a="text/event-stream",i="last-event-id";function c(e,t){var{signal:n,headers:c,onopen:u,onmessage:d,onclose:f,onerror:m,openWhenHidden:p,fetch:b}=t,g=o(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,o)=>{let h;let v=Object.assign({},c);function y(){h.abort(),document.hidden||j()}v.accept||(v.accept=a),p||document.addEventListener("visibilitychange",y);let $=1e3,x=0;function w(){document.removeEventListener("visibilitychange",y),window.clearTimeout(x),h.abort()}null==n||n.addEventListener("abort",()=>{w(),t()});let O=null!=b?b:window.fetch,C=null!=u?u:s;async function j(){var n,a;h=new AbortController;try{let n,o,c,s;let u=await O(e,Object.assign(Object.assign({},g),{headers:v,signal:h.signal}));await C(u),await r(u.body,(a=function(e,t,n){let r=l(),o=new TextDecoder;return function(a,i){if(0===a.length)null==n||n(r),r=l();else if(i>0){let n=o.decode(a.subarray(0,i)),l=i+(32===a[i+1]?2:1),c=o.decode(a.subarray(l));switch(n){case"data":r.data=r.data?r.data+"\n"+c:c;break;case"event":r.event=c;break;case"id":e(r.id=c);break;case"retry":let s=parseInt(c,10);isNaN(s)||t(r.retry=s)}}}}(e=>{e?v[i]=e:delete v[i]},e=>{$=e},d),s=!1,function(e){void 0===n?(n=e,o=0,c=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;o{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},b=(e,t)=>{let n={};return m.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},g=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},h=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},v=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},y=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},$=e=>{let{componentCls:t}=e,n={};return m.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},x=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var w=(0,s.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,l=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[h(l),v(l),y(l),$(l),x(l)]},()=>({}),{resetStyle:!1}),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 C=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:l,className:s,style:u,flex:d,gap:f,children:m,vertical:h=!1,component:v="div"}=e,y=O(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:$,direction:x,getPrefixCls:C}=r.useContext(c.E_),j=C("flex",n),[S,E,k]=w(j),Z=null!=h?h:null==$?void 0:$.vertical,_=o()(s,l,null==$?void 0:$.className,j,E,k,o()(Object.assign(Object.assign(Object.assign({},p(j,e)),b(j,e)),g(j,e))),{[`${j}-rtl`]:"rtl"===x,[`${j}-gap-${f}`]:(0,i.n)(f),[`${j}-vertical`]:Z}),M=Object.assign(Object.assign({},null==$?void 0:$.style),u);return d&&(M.flex=d),f&&!(0,i.n)(f)&&(M.gap=f),S(r.createElement(v,Object.assign({ref:t,className:_,style:M},(0,a.Z)(y,["justify","wrap","align"])),m))});var j=C},99134:function(e,t,n){"use strict";var r=n(67294);let l=(0,r.createContext)({});t.Z=l},21584:function(e,t,n){"use strict";var r=n(67294),l=n(93967),o=n.n(l),a=n(53124),i=n(99134),c=n(6999),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 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 u(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let d=["xs","sm","md","lg","xl","xxl"],f=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:l}=r.useContext(a.E_),{gutter:f,wrap:m}=r.useContext(i.Z),{prefixCls:p,span:b,order:g,offset:h,push:v,pull:y,className:$,children:x,flex:w,style:O}=e,C=s(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),j=n("col",p),[S,E,k]=(0,c.cG)(j),Z={},_={};d.forEach(t=>{let n={},r=e[t];"number"==typeof r?n.span=r:"object"==typeof r&&(n=r||{}),delete C[t],_=Object.assign(Object.assign({},_),{[`${j}-${t}-${n.span}`]:void 0!==n.span,[`${j}-${t}-order-${n.order}`]:n.order||0===n.order,[`${j}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${j}-${t}-push-${n.push}`]:n.push||0===n.push,[`${j}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${j}-rtl`]:"rtl"===l}),n.flex&&(_[`${j}-${t}-flex`]=!0,Z[`--${j}-${t}-flex`]=u(n.flex))});let M=o()(j,{[`${j}-${b}`]:void 0!==b,[`${j}-order-${g}`]:g,[`${j}-offset-${h}`]:h,[`${j}-push-${v}`]:v,[`${j}-pull-${y}`]:y},$,_,E,k),P={};if(f&&f[0]>0){let e=f[0]/2;P.paddingLeft=e,P.paddingRight=e}return w&&(P.flex=u(w),!1!==m||P.minWidth||(P.minWidth=0)),S(r.createElement("div",Object.assign({},C,{style:Object.assign(Object.assign(Object.assign({},P),O),Z),className:M,ref:t}),x))});t.Z=f},92820:function(e,t,n){"use strict";var r=n(67294),l=n(93967),o=n.n(l),a=n(74443),i=n(53124),c=n(99134),s=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};function d(e,t){let[n,l]=r.useState("string"==typeof e?e:""),o=()=>{if("string"==typeof e&&l(e),"object"==typeof e)for(let n=0;n{o()},[JSON.stringify(e),t]),n}let f=r.forwardRef((e,t)=>{let{prefixCls:n,justify:l,align:f,className:m,style:p,children:b,gutter:g=0,wrap:h}=e,v=u(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:y,direction:$}=r.useContext(i.E_),[x,w]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[O,C]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),j=d(f,O),S=d(l,O),E=r.useRef(g),k=(0,a.ZP)();r.useEffect(()=>{let e=k.subscribe(e=>{C(e);let t=E.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&w(e)});return()=>k.unsubscribe(e)},[]);let Z=y("row",n),[_,M,P]=(0,s.VM)(Z),H=(()=>{let e=[void 0,void 0],t=Array.isArray(g)?g:[g,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let r=0;r0?-(H[0]/2):void 0;N&&(R.marginLeft=N,R.marginRight=N);let[z,L]=H;R.rowGap=L;let V=r.useMemo(()=>({gutter:[z,L],wrap:h}),[z,L,h]);return _(r.createElement(c.Z.Provider,{value:V},r.createElement("div",Object.assign({},v,{className:I,style:Object.assign(Object.assign({},R),p),ref:t}),b)))});t.Z=f},6999:function(e,t,n){"use strict";n.d(t,{VM:function(){return u},cG:function(){return d}});var r=n(25446),l=n(83559),o=n(83262);let a=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},i=(e,t)=>{let{prefixCls:n,componentCls:r,gridColumns:l}=e,o={};for(let e=l;e>=0;e--)0===e?(o[`${r}${t}-${e}`]={display:"none"},o[`${r}-push-${e}`]={insetInlineStart:"auto"},o[`${r}-pull-${e}`]={insetInlineEnd:"auto"},o[`${r}${t}-push-${e}`]={insetInlineStart:"auto"},o[`${r}${t}-pull-${e}`]={insetInlineEnd:"auto"},o[`${r}${t}-offset-${e}`]={marginInlineStart:0},o[`${r}${t}-order-${e}`]={order:0}):(o[`${r}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/l*100}%`,maxWidth:`${e/l*100}%`}],o[`${r}${t}-push-${e}`]={insetInlineStart:`${e/l*100}%`},o[`${r}${t}-pull-${e}`]={insetInlineEnd:`${e/l*100}%`},o[`${r}${t}-offset-${e}`]={marginInlineStart:`${e/l*100}%`},o[`${r}${t}-order-${e}`]={order:e});return o[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},o},c=(e,t)=>i(e,t),s=(e,t,n)=>({[`@media (min-width: ${(0,r.bf)(t)})`]:Object.assign({},c(e,n))}),u=(0,l.I$)("Grid",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"}}}},()=>({})),d=(0,l.I$)("Grid",e=>{let t=(0,o.IX)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[a(t),c(t,""),c(t,"-xs"),Object.keys(n).map(e=>s(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},92783:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var r=n(67294),l=n(93967),o=n.n(l),a=n(87462),i=n(97685),c=n(45987),s=n(4942),u=n(1413),d=n(71002),f=n(21770),m=n(42550),p=n(98423),b=n(29372),g=n(8410),h=function(e){return e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null},v=function(e){return void 0!==e?"".concat(e,"px"):void 0};function y(e){var t=e.prefixCls,n=e.containerRef,l=e.value,a=e.getValueIndex,c=e.motionName,s=e.onMotionStart,d=e.onMotionEnd,f=e.direction,p=r.useRef(null),y=r.useState(l),$=(0,i.Z)(y,2),x=$[0],w=$[1],O=function(e){var r,l=a(e),o=null===(r=n.current)||void 0===r?void 0:r.querySelectorAll(".".concat(t,"-item"))[l];return(null==o?void 0:o.offsetParent)&&o},C=r.useState(null),j=(0,i.Z)(C,2),S=j[0],E=j[1],k=r.useState(null),Z=(0,i.Z)(k,2),_=Z[0],M=Z[1];(0,g.Z)(function(){if(x!==l){var e=O(x),t=O(l),n=h(e),r=h(t);w(l),E(n),M(r),e&&t?s():d()}},[l]);var P=r.useMemo(function(){return"rtl"===f?v(-(null==S?void 0:S.right)):v(null==S?void 0:S.left)},[f,S]),H=r.useMemo(function(){return"rtl"===f?v(-(null==_?void 0:_.right)):v(null==_?void 0:_.left)},[f,_]);return S&&_?r.createElement(b.ZP,{visible:!0,motionName:c,motionAppear:!0,onAppearStart:function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){E(null),M(null),d()}},function(e,n){var l=e.className,a=e.style,i=(0,u.Z)((0,u.Z)({},a),{},{"--thumb-start-left":P,"--thumb-start-width":v(null==S?void 0:S.width),"--thumb-active-left":H,"--thumb-active-width":v(null==_?void 0:_.width)}),c={ref:(0,m.sQ)(p,n),style:i,className:o()("".concat(t,"-thumb"),l)};return r.createElement("div",c)}):null}var $=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"],x=function(e){var t=e.prefixCls,n=e.className,l=e.disabled,a=e.checked,i=e.label,c=e.title,u=e.value,d=e.onChange;return r.createElement("label",{className:o()(n,(0,s.Z)({},"".concat(t,"-item-disabled"),l))},r.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:l,checked:a,onChange:function(e){l||d(e,u)}}),r.createElement("div",{className:"".concat(t,"-item-label"),title:c},i))},w=r.forwardRef(function(e,t){var n,l,b=e.prefixCls,g=void 0===b?"rc-segmented":b,h=e.direction,v=e.options,w=void 0===v?[]:v,O=e.disabled,C=e.defaultValue,j=e.value,S=e.onChange,E=e.className,k=void 0===E?"":E,Z=e.motionName,_=void 0===Z?"thumb-motion":Z,M=(0,c.Z)(e,$),P=r.useRef(null),H=r.useMemo(function(){return(0,m.sQ)(P,t)},[P,t]),I=r.useMemo(function(){return w.map(function(e){if("object"===(0,d.Z)(e)&&null!==e){var t=function(e){if(void 0!==e.title)return e.title;if("object"!==(0,d.Z)(e.label)){var t;return null===(t=e.label)||void 0===t?void 0:t.toString()}}(e);return(0,u.Z)((0,u.Z)({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}})},[w]),R=(0,f.Z)(null===(n=I[0])||void 0===n?void 0:n.value,{value:j,defaultValue:C}),N=(0,i.Z)(R,2),z=N[0],L=N[1],V=r.useState(!1),B=(0,i.Z)(V,2),A=B[0],T=B[1],G=function(e,t){O||(L(t),null==S||S(t))},D=(0,p.Z)(M,["children"]);return r.createElement("div",(0,a.Z)({},D,{className:o()(g,(l={},(0,s.Z)(l,"".concat(g,"-rtl"),"rtl"===h),(0,s.Z)(l,"".concat(g,"-disabled"),O),l),k),ref:H}),r.createElement("div",{className:"".concat(g,"-group")},r.createElement(y,{prefixCls:g,value:z,containerRef:P,motionName:"".concat(g,"-").concat(_),direction:h,getValueIndex:function(e){return I.findIndex(function(t){return t.value===e})},onMotionStart:function(){T(!0)},onMotionEnd:function(){T(!1)}}),I.map(function(e){return r.createElement(x,(0,a.Z)({},e,{key:e.value,prefixCls:g,className:o()(e.className,"".concat(g,"-item"),(0,s.Z)({},"".concat(g,"-item-selected"),e.value===z&&!A)),checked:e.value===z,onChange:G,disabled:!!O||!!e.disabled}))})))}),O=n(53124),C=n(98675),j=n(25446),S=n(14747),E=n(83559),k=n(83262);function Z(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function _(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}let M=Object.assign({overflow:"hidden"},S.vS),P=e=>{let{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),r=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),l=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.Wf)(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},_(e)),{color:e.itemSelectedColor}),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:(0,j.bf)(n),padding:`0 ${(0,j.bf)(e.segmentedPaddingHorizontal)}`},M),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},_(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${(0,j.bf)(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:r,lineHeight:(0,j.bf)(r),padding:`0 ${(0,j.bf)(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:l,lineHeight:(0,j.bf)(l),padding:`0 ${(0,j.bf)(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),Z(`&-disabled ${t}-item`,e)),Z(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}};var H=(0,E.I$)("Segmented",e=>{let{lineWidth:t,calc:n}=e,r=(0,k.IX)(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()});return[P(r)]},e=>{let{colorTextLabel:t,colorText:n,colorFillSecondary:r,colorBgElevated:l,colorFill:o,lineWidthBold:a,colorBgLayout:i}=e;return{trackPadding:a,trackBg:i,itemColor:t,itemHoverColor:n,itemHoverBg:r,itemSelectedBg:l,itemActiveBg:o,itemSelectedColor:n}}),I=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 R=r.forwardRef((e,t)=>{let{prefixCls:n,className:l,rootClassName:a,block:i,options:c=[],size:s="middle",style:u}=e,d=I(e,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:f,direction:m,segmented:p}=r.useContext(O.E_),b=f("segmented",n),[g,h,v]=H(b),y=(0,C.Z)(s),$=r.useMemo(()=>c.map(e=>{if("object"==typeof e&&(null==e?void 0:e.icon)){let{icon:t,label:n}=e,l=I(e,["icon","label"]);return Object.assign(Object.assign({},l),{label:r.createElement(r.Fragment,null,r.createElement("span",{className:`${b}-item-icon`},t),n&&r.createElement("span",null,n))})}return e}),[c,b]),x=o()(l,a,null==p?void 0:p.className,{[`${b}-block`]:i,[`${b}-sm`]:"small"===y,[`${b}-lg`]:"large"===y},h,v),j=Object.assign(Object.assign({},null==p?void 0:p.style),u);return g(r.createElement(w,Object.assign({},d,{className:x,style:j,options:$,ref:t,prefixCls:b,direction:m})))});var N=R},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),l=n(93967),o=n.n(l),a=n(98423),i=n(98787),c=n(69760),s=n(96159),u=n(45353),d=n(53124),f=n(25446),m=n(10274),p=n(14747),b=n(83262),g=n(83559);let h=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:l,calc:o}=e,a=o(r).sub(n).equal(),i=o(t).sub(n).equal();return{[l]:Object.assign(Object.assign({},(0,p.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${l}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${l}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${l}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${l}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${l}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,l=e.fontSizeSM,o=(0,b.IX)(e,{tagFontSize:l,tagLineHeight:(0,f.bf)(r(e.lineHeightSM).mul(l).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return o},y=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var $=(0,g.I$)("Tag",e=>{let t=v(e);return h(t)},y),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 w=r.forwardRef((e,t)=>{let{prefixCls:n,style:l,className:a,checked:i,onChange:c,onClick:s}=e,u=x(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:m}=r.useContext(d.E_),p=f("tag",n),[b,g,h]=$(p),v=o()(p,`${p}-checkable`,{[`${p}-checkable-checked`]:i},null==m?void 0:m.className,a,g,h);return b(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},l),null==m?void 0:m.style),className:v,onClick:e=>{null==c||c(!i),null==s||s(e)}})))});var O=n(98719);let C=e=>(0,O.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:l,lightColor:o,darkColor:a}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:o,borderColor:l,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var j=(0,g.bk)(["Tag","preset"],e=>{let t=v(e);return C(t)},y);let S=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var E=(0,g.bk)(["Tag","status"],e=>{let t=v(e);return[S(t,"success","Success"),S(t,"processing","Info"),S(t,"error","Error"),S(t,"warning","Warning")]},y),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 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 Z=r.forwardRef((e,t)=>{let{prefixCls:n,className:l,rootClassName:f,style:m,children:p,icon:b,color:g,onClose:h,bordered:v=!0,visible:y}=e,x=k(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:O,tag:C}=r.useContext(d.E_),[S,Z]=r.useState(!0),_=(0,a.Z)(x,["closeIcon","closable"]);r.useEffect(()=>{void 0!==y&&Z(y)},[y]);let M=(0,i.o2)(g),P=(0,i.yT)(g),H=M||P,I=Object.assign(Object.assign({backgroundColor:g&&!H?g:void 0},null==C?void 0:C.style),m),R=w("tag",n),[N,z,L]=$(R),V=o()(R,null==C?void 0:C.className,{[`${R}-${g}`]:H,[`${R}-has-color`]:g&&!H,[`${R}-hidden`]:!S,[`${R}-rtl`]:"rtl"===O,[`${R}-borderless`]:!v},l,f,z,L),B=e=>{e.stopPropagation(),null==h||h(e),e.defaultPrevented||Z(!1)},[,A]=(0,c.Z)((0,c.w)(e),(0,c.w)(C),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${R}-close-icon`,onClick:B},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),B(t)},className:o()(null==e?void 0:e.className,`${R}-close-icon`)}))}}),T="function"==typeof x.onClick||p&&"a"===p.type,G=b||null,D=G?r.createElement(r.Fragment,null,G,p&&r.createElement("span",null,p)):p,W=r.createElement("span",Object.assign({},_,{ref:t,className:V,style:I}),D,A,M&&r.createElement(j,{key:"preset",prefixCls:R}),P&&r.createElement(E,{key:"status",prefixCls:R}));return N(T?r.createElement(u.Z,{component:"Tag"},W):W)});Z.CheckableTag=w;var _=Z},50948: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,{noSSR:function(){return a},default:function(){return i}});let r=n(38754),l=(n(67294),r._(n(23900)));function o(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function i(e,t){let n=l.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e}),r={...r,...t};let i=r.loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=i?i().then(o):Promise.resolve(o(()=>null))}):(delete r.webpack,delete r.modules,a(n,r))}("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)},2804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return o}});let r=n(38754),l=r._(n(67294)),o=l.default.createContext(null)},23900:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});let r=n(38754),l=r._(n(67294)),o=n(2804),a=[],i=[],c=!1;function s(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),r=null;function a(){if(!r){let t=new u(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!c){let e=n.webpack?n.webpack():n.modules;e&&i.push(t=>{for(let n of e)if(t.includes(n))return a()})}function s(e,t){!function(){a();let e=l.default.useContext(o.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let i=l.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return l.default.useImperativeHandle(t,()=>({retry:r.retry}),[]),l.default.useMemo(()=>{var t;return i.loading||i.error?l.default.createElement(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:r.retry}):i.loaded?l.default.createElement((t=i.loaded)&&t.default?t.default:t,e):null},[e,i])}return s.preload=()=>a(),s.displayName="LoadableComponent",l.default.forwardRef(s)}(s,e)}function f(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return f(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{f(a).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(c=!0,t());f(i,e).then(n,n)})),window.__NEXT_PRELOADREADY=d.preloadReady;let m=d},5152:function(e,t,n){e.exports=n(50948)}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6423.9edf82fac1232d33.js b/dbgpt/app/static/web/_next/static/chunks/6423.429a3e87e12b1ffd.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/6423.9edf82fac1232d33.js rename to dbgpt/app/static/web/_next/static/chunks/6423.429a3e87e12b1ffd.js index 08a83dbd3..d5cafcfa1 100644 --- a/dbgpt/app/static/web/_next/static/chunks/6423.9edf82fac1232d33.js +++ b/dbgpt/app/static/web/_next/static/chunks/6423.429a3e87e12b1ffd.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6423],{56423:function(e,i,t){t.r(i),t.d(i,{conf:function(){return n},language:function(){return s}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},s={defaultToken:"",tokenPostfix:".cypher",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ALL","AND","AS","ASC","ASCENDING","BY","CALL","CASE","CONTAINS","CREATE","DELETE","DESC","DESCENDING","DETACH","DISTINCT","ELSE","END","ENDS","EXISTS","IN","IS","LIMIT","MANDATORY","MATCH","MERGE","NOT","ON","ON","OPTIONAL","OR","ORDER","REMOVE","RETURN","SET","SKIP","STARTS","THEN","UNION","UNWIND","WHEN","WHERE","WITH","XOR","YIELD"],builtinLiterals:["true","TRUE","false","FALSE","null","NULL"],builtinFunctions:["abs","acos","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endNode","exists","exp","floor","head","id","keys","labels","last","left","length","log","log10","lTrim","max","min","nodes","percentileCont","percentileDisc","pi","properties","radians","rand","range","relationships","replace","reverse","right","round","rTrim","sign","sin","size","split","sqrt","startNode","stDev","stDevP","substring","sum","tail","tan","timestamp","toBoolean","toFloat","toInteger","toLower","toString","toUpper","trim","type"],operators:["+","-","*","/","%","^","=","<>","<",">","<=",">=","->","<-","-->","<--"],escapes:/\\(?:[tbnrf\\"'`]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+/,octaldigits:/[0-7]+/,hexdigits:/[0-9a-fA-F]+/,tokenizer:{root:[[/[{}[\]()]/,"@brackets"],{include:"common"}],common:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/:[a-zA-Z_][\w]*/,"type.identifier"],[/[a-zA-Z_][\w]*(?=\()/,{cases:{"@builtinFunctions":"predefined.function"}}],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":"keyword","@builtinLiterals":"predefined.literal","@default":"identifier"}}],[/`/,"identifier.escape","@identifierBacktick"],[/[;,.:|]/,"delimiter"],[/[<>=%+\-*/^]+/,{cases:{"@operators":"delimiter","@default":""}}]],numbers:[[/-?(@digits)[eE](-?(@digits))?/,"number.float"],[/-?(@digits)?\.(@digits)([eE]-?(@digits))?/,"number.float"],[/-?0x(@hexdigits)/,"number.hex"],[/-?0(@octaldigits)/,"number.octal"],[/-?(@digits)/,"number"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@stringDouble"],[/'/,"string","@stringSingle"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/\/\/.*/,"comment"],[/[^/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[/*]/,"comment"]],stringDouble:[[/[^\\"]+/,"string"],[/@escapes/,"string"],[/\\./,"string.invalid"],[/"/,"string","@pop"]],stringSingle:[[/[^\\']+/,"string"],[/@escapes/,"string"],[/\\./,"string.invalid"],[/'/,"string","@pop"]],identifierBacktick:[[/[^\\`]+/,"identifier.escape"],[/@escapes/,"identifier.escape"],[/\\./,"identifier.escape.invalid"],[/`/,"identifier.escape","@pop"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6424.066fa2aca041291d.js b/dbgpt/app/static/web/_next/static/chunks/6424.066fa2aca041291d.js new file mode 100644 index 000000000..11b51e04f --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/6424.066fa2aca041291d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6424],{76424:function(e,t,r){r.r(t),r.d(t,{conf:function(){return p},language:function(){return h}});var o,n=r(72339),i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,s=(e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of m(t))c.call(e,n)||n===r||i(e,n,{get:()=>t[n],enumerable:!(o=a(t,n))||o.enumerable});return e},l={};s(l,n,"default"),o&&s(o,n,"default");var d=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],p={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:[""]},brackets:[[""],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:RegExp(`<(?!(?:${d.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:l.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(?!(?:${d.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:l.languages.IndentAction.Indent}}]},h={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6424.c2ac37be5405a505.js b/dbgpt/app/static/web/_next/static/chunks/6424.c2ac37be5405a505.js deleted file mode 100644 index 62c20c6f4..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/6424.c2ac37be5405a505.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6424],{76424:function(e,t,r){r.r(t),r.d(t,{conf:function(){return p},language:function(){return h}});var o,n=r(5036),i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,s=(e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of m(t))c.call(e,n)||n===r||i(e,n,{get:()=>t[n],enumerable:!(o=a(t,n))||o.enumerable});return e},l={};s(l,n,"default"),o&&s(o,n,"default");var d=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],p={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:[""]},brackets:[[""],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:RegExp(`<(?!(?:${d.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:l.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(?!(?:${d.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:l.languages.IndentAction.Indent}}]},h={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6449.33014f0589bf34d8.js b/dbgpt/app/static/web/_next/static/chunks/6449.32768bc1846fcfce.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/6449.33014f0589bf34d8.js rename to dbgpt/app/static/web/_next/static/chunks/6449.32768bc1846fcfce.js index 435e88fdf..5afd147a6 100644 --- a/dbgpt/app/static/web/_next/static/chunks/6449.33014f0589bf34d8.js +++ b/dbgpt/app/static/web/_next/static/chunks/6449.32768bc1846fcfce.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6449],{56449:function(e,_,t){t.r(_),t.d(_,{conf:function(){return r},language:function(){return i}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var r={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},i={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["AES128","AES256","ALL","ALLOWOVERWRITE","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","AUTHORIZATION","AZ64","BACKUP","BETWEEN","BINARY","BLANKSASNULL","BOTH","BYTEDICT","BZIP2","CASE","CAST","CHECK","COLLATE","COLUMN","CONSTRAINT","CREATE","CREDENTIALS","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURRENT_USER_ID","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DELTA","DELTA32K","DESC","DISABLE","DISTINCT","DO","ELSE","EMPTYASNULL","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","END","EXCEPT","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GRANT","GROUP","GZIP","HAVING","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTERSECT","INTO","IS","ISNULL","JOIN","LANGUAGE","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","LZO","LZOP","MINUS","MOSTLY16","MOSTLY32","MOSTLY8","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","OR","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RAW","READRATIO","RECOVER","REFERENCES","RESPECT","REJECTLOG","RESORT","RESTORE","RIGHT","SELECT","SESSION_USER","SIMILAR","SNAPSHOT","SOME","SYSDATE","SYSTEM","TABLE","TAG","TDES","TEXT255","TEXT32K","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","TRUNCATECOLUMNS","UNION","UNIQUE","USER","USING","VERBOSE","WALLET","WHEN","WHERE","WITH","WITHOUT"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["current_schema","current_schemas","has_database_privilege","has_schema_privilege","has_table_privilege","age","current_time","current_timestamp","localtime","isfinite","now","ascii","get_bit","get_byte","set_bit","set_byte","to_ascii","approximate percentile_disc","avg","count","listagg","max","median","min","percentile_cont","stddev_samp","stddev_pop","sum","var_samp","var_pop","bit_and","bit_or","bool_and","bool_or","cume_dist","first_value","lag","last_value","lead","nth_value","ratio_to_report","dense_rank","ntile","percent_rank","rank","row_number","case","coalesce","decode","greatest","least","nvl","nvl2","nullif","add_months","at time zone","convert_timezone","current_date","date_cmp","date_cmp_timestamp","date_cmp_timestamptz","date_part_year","dateadd","datediff","date_part","date_trunc","extract","getdate","interval_cmp","last_day","months_between","next_day","sysdate","timeofday","timestamp_cmp","timestamp_cmp_date","timestamp_cmp_timestamptz","timestamptz_cmp","timestamptz_cmp_date","timestamptz_cmp_timestamp","timezone","to_timestamp","trunc","abs","acos","asin","atan","atan2","cbrt","ceil","ceiling","checksum","cos","cot","degrees","dexp","dlog1","dlog10","exp","floor","ln","log","mod","pi","power","radians","random","round","sin","sign","sqrt","tan","to_hex","bpcharcmp","btrim","bttext_pattern_cmp","char_length","character_length","charindex","chr","concat","crc32","func_sha1","initcap","left and rights","len","length","lower","lpad and rpads","ltrim","md5","octet_length","position","quote_ident","quote_literal","regexp_count","regexp_instr","regexp_replace","regexp_substr","repeat","replace","replicate","reverse","rtrim","split_part","strpos","strtol","substring","textlen","translate","trim","upper","cast","convert","to_char","to_date","to_number","json_array_length","json_extract_array_element_text","json_extract_path_text","current_setting","pg_cancel_backend","pg_terminate_backend","set_config","current_database","current_user","current_user_id","pg_backend_pid","pg_last_copy_count","pg_last_copy_id","pg_last_query_id","pg_last_unload_count","session_user","slice_num","user","version","abbrev","acosd","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","asind","atan2d","atand","bit","bit_length","bound_box","box","brin_summarize_new_values","broadcast","cardinality","center","circle","clock_timestamp","col_description","concat_ws","convert_from","convert_to","corr","cosd","cotd","covar_pop","covar_samp","current_catalog","current_query","current_role","currval","cursor_to_xml","diameter","div","encode","enum_first","enum_last","enum_range","every","family","format","format_type","generate_series","generate_subscripts","get_current_ts_config","gin_clean_pending_list","grouping","has_any_column_privilege","has_column_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_sequence_privilege","has_server_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","isclosed","isempty","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lastval","left","line","localtimestamp","lower_inc","lower_inf","lpad","lseg","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","mode","netmask","network","nextval","npoints","num_nonnulls","num_nulls","numnode","obj_description","overlay","parse_ident","path","pclose","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backup_start_time","pg_blocking_pids","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","plainto_tsquery","point","polygon","popen","pqserverversion","query_to_xml","querytree","quote_nullable","radius","range_merge","regexp_matches","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","right","row_security_active","row_to_json","rpad","scale","set_masklen","setseed","setval","setweight","shobj_description","sind","sprintf","statement_timestamp","stddev","string_agg","string_to_array","strip","substr","table_to_xml","table_to_xml_and_xmlschema","tand","text","to_json","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_tsquery","to_tsvector","transaction_timestamp","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper_inc","upper_inf","variance","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6489.d72cdcb43342500d.js b/dbgpt/app/static/web/_next/static/chunks/6489.24995c12818670f9.js similarity index 97% rename from dbgpt/app/static/web/_next/static/chunks/6489.d72cdcb43342500d.js rename to dbgpt/app/static/web/_next/static/chunks/6489.24995c12818670f9.js index e07bd8c6c..d16cbca88 100644 --- a/dbgpt/app/static/web/_next/static/chunks/6489.d72cdcb43342500d.js +++ b/dbgpt/app/static/web/_next/static/chunks/6489.24995c12818670f9.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6489],{66489:function(e,n,t){t.r(n),t.d(n,{conf:function(){return o},language:function(){return s}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var o={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""'},{open:'"',close:'"'}],folding:{offSide:!0}},s={defaultToken:"invalid",tokenPostfix:".gql",keywords:["null","true","false","query","mutation","subscription","extend","schema","directive","scalar","type","interface","union","enum","input","implements","fragment","on"],typeKeywords:["Int","Float","String","Boolean","ID"],directiveLocations:["SCHEMA","SCALAR","OBJECT","FIELD_DEFINITION","ARGUMENT_DEFINITION","INTERFACE","UNION","ENUM","ENUM_VALUE","INPUT_OBJECT","INPUT_FIELD_DEFINITION","QUERY","MUTATION","SUBSCRIPTION","FIELD","FRAGMENT_DEFINITION","FRAGMENT_SPREAD","INLINE_FRAGMENT","VARIABLE_DEFINITION"],operators:["=","!","?",":","&","|"],symbols:/[=!?:&|]+/,escapes:/\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,tokenizer:{root:[[/[a-z_][\w$]*/,{cases:{"@keywords":"keyword","@default":"key.identifier"}}],[/[$][\w$]*/,{cases:{"@keywords":"keyword","@default":"argument.identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@typeKeywords":"keyword","@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,{token:"annotation",log:"annotation token: $0"}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@mlstring",nextEmbedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],mlstring:[[/[^"]+/,"string"],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/#.*$/,"comment"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6587.1f32ebb81a91739e.js b/dbgpt/app/static/web/_next/static/chunks/6587.c15f85da2b8866f9.js similarity index 53% rename from dbgpt/app/static/web/_next/static/chunks/6587.1f32ebb81a91739e.js rename to dbgpt/app/static/web/_next/static/chunks/6587.c15f85da2b8866f9.js index c30c95f51..5fb620e25 100644 --- a/dbgpt/app/static/web/_next/static/chunks/6587.1f32ebb81a91739e.js +++ b/dbgpt/app/static/web/_next/static/chunks/6587.c15f85da2b8866f9.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6587],{86587:function(e,n,o){o.r(n),o.d(n,{conf:function(){return t},language:function(){return r}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var t={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["var","end_var"],["var_input","end_var"],["var_output","end_var"],["var_in_out","end_var"],["var_temp","end_var"],["var_global","end_var"],["var_access","end_var"],["var_external","end_var"],["type","end_type"],["struct","end_struct"],["program","end_program"],["function","end_function"],["function_block","end_function_block"],["action","end_action"],["step","end_step"],["initial_step","end_step"],["transaction","end_transaction"],["configuration","end_configuration"],["tcp","end_tcp"],["recource","end_recource"],["channel","end_channel"],["library","end_library"],["folder","end_folder"],["binaries","end_binaries"],["includes","end_includes"],["sources","end_sources"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"/*",close:"*/"},{open:"'",close:"'",notIn:["string_sq"]},{open:'"',close:'"',notIn:["string_dq"]},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"var",close:"end_var"},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],folding:{markers:{start:RegExp("^\\s*#pragma\\s+region\\b"),end:RegExp("^\\s*#pragma\\s+endregion\\b")}}},r={defaultToken:"",tokenPostfix:".st",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","end_if","elsif","else","case","of","to","__try","__catch","__finally","do","with","by","while","repeat","end_while","end_repeat","end_case","for","end_for","task","retain","non_retain","constant","with","at","exit","return","interval","priority","address","port","on_channel","then","iec","file","uses","version","packagetype","displayname","copyright","summary","vendor","common_source","from","extends","implements"],constant:["false","true","null"],defineKeywords:["var","var_input","var_output","var_in_out","var_temp","var_global","var_access","var_external","end_var","type","end_type","struct","end_struct","program","end_program","function","end_function","function_block","end_function_block","interface","end_interface","method","end_method","property","end_property","namespace","end_namespace","configuration","end_configuration","tcp","end_tcp","resource","end_resource","channel","end_channel","library","end_library","folder","end_folder","binaries","end_binaries","includes","end_includes","sources","end_sources","action","end_action","step","initial_step","end_step","transaction","end_transaction"],typeKeywords:["int","sint","dint","lint","usint","uint","udint","ulint","real","lreal","time","date","time_of_day","date_and_time","string","bool","byte","word","dword","array","pointer","lword"],operators:["=",">","<",":",":=","<=",">=","<>","&","+","-","*","**","MOD","^","or","and","not","xor","abs","acos","asin","atan","cos","exp","expt","ln","log","sin","sqrt","tan","sel","max","min","limit","mux","shl","shr","rol","ror","indexof","sizeof","adr","adrinst","bitadr","is_valid","ref","ref_to"],builtinVariables:[],builtinFunctions:["sr","rs","tp","ton","tof","eq","ge","le","lt","ne","round","trunc","ctd","сtu","ctud","r_trig","f_trig","move","concat","delete","find","insert","left","len","replace","right","rtc"],symbols:/[=>","<",":",":=","<=",">=","<>","&","+","-","*","**","MOD","^","or","and","not","xor","abs","acos","asin","atan","cos","exp","expt","ln","log","sin","sqrt","tan","sel","max","min","limit","mux","shl","shr","rol","ror","indexof","sizeof","adr","adrinst","bitadr","is_valid","ref","ref_to"],builtinVariables:[],builtinFunctions:["sr","rs","tp","ton","tof","eq","ge","le","lt","ne","round","trunc","ctd","сtu","ctud","r_trig","f_trig","move","concat","delete","find","insert","left","len","replace","right","rtc"],symbols:/[=>e.distinct?-1:0}var u=["pie_chart","donut_chart"],f=["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart","column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"];function d(t){var e=t.chartType,n=t.dataProps,r=t.preferences;return!!(n&&e&&r&&r.canvasLayout)}var h=["line_chart","area_chart","stacked_area_chart","percent_stacked_area_chart"],p=["bar_chart","column_chart","grouped_bar_chart","grouped_column_chart","stacked_bar_chart","stacked_column_chart"];function g(t){return t.filter(function(t){return a(t.levelOfMeasurements,["Nominal"])})}var m=["pie_chart","donut_chart","radar_chart","rose_chart"],y=n(96486);function v(t){return"number"==typeof t}function b(t){return"string"==typeof t||"boolean"==typeof t}function x(t){return t instanceof Date}function O(t){var e=t.encode,n=t.data,i=t.scale,a=(0,y.mapValues)(e,function(t,e){var r,a,o;return{field:t,type:void 0!==(r=null==i?void 0:i[e].type)?function(t){switch(t){case"linear":case"log":case"pow":case"sqrt":case"quantile":case"threshold":case"quantize":case"sequential":return"quantitative";case"time":return"temporal";case"ordinal":case"point":case"band":return"categorical";default:throw Error("Unkonwn scale type: ".concat(t,"."))}}(r):function(t){if(t.some(v))return"quantitative";if(t.some(b))return"categorical";if(t.some(x))return"temporal";throw Error("Unknown type: ".concat(typeof t[0]))}((a=n,"function"==typeof(o=t)?a.map(o):"string"==typeof o&&a.some(function(t){return void 0!==t[o]})?a.map(function(t){return t[o]}):a.map(function(){return o})))}});return(0,r.pi)((0,r.pi)({},t),{encode:a})}var w=["line_chart"];(0,r.ev)((0,r.ev)([],(0,r.CR)(["data-check","data-field-qty","no-redundant-field","purpose-check"]),!1),(0,r.CR)(["series-qty-limit","bar-series-qty","line-field-time-ordinal","landscape-or-portrait","diff-pie-sector","nominal-enum-combinatorial","limit-series"]),!1);var _={"data-check":{id:"data-check",type:"HARD",docs:{lintText:"Data must satisfy the data prerequisites."},trigger:function(){return!0},validator:function(t){var e=0,n=t.dataProps,r=t.chartType,i=t.chartWIKI;if(n&&r&&i[r]){e=1;var a=i[r].dataPres||[];a.forEach(function(t){!function(t,e){var n=e.map(function(t){return t.levelOfMeasurements});if(n){var r=0;if(n.forEach(function(e){e&&s(e,t.fieldConditions)&&(r+=1)}),r>=t.minQty&&("*"===t.maxQty||r<=t.maxQty))return!0}return!1}(t,n)&&(e=0)}),n.map(function(t){return t.levelOfMeasurements}).forEach(function(t){var n=!1;a.forEach(function(e){t&&s(t,e.fieldConditions)&&(n=!0)}),n||(e=0)})}return e}},"data-field-qty":{id:"data-field-qty",type:"HARD",docs:{lintText:"Data must have at least the min qty of the prerequisite."},trigger:function(){return!0},validator:function(t){var e=0,n=t.dataProps,r=t.chartType,i=t.chartWIKI;if(n&&r&&i[r]){e=1;var a=(i[r].dataPres||[]).map(function(t){return t.minQty}).reduce(function(t,e){return t+e});n.length&&n.length>=a&&(e=1)}return e}},"no-redundant-field":{id:"no-redundant-field",type:"HARD",docs:{lintText:"No redundant field."},trigger:function(){return!0},validator:function(t){var e=0,n=t.dataProps,r=t.chartType,i=t.chartWIKI;if(n&&r&&i[r]){var a=(i[r].dataPres||[]).map(function(t){return"*"===t.maxQty?99:t.maxQty}).reduce(function(t,e){return t+e});n.length&&n.length<=a&&(e=1)}return e}},"purpose-check":{id:"purpose-check",type:"HARD",docs:{lintText:"Choose chart types that satisfy the purpose, if purpose is defined."},trigger:function(){return!0},validator:function(t){var e=0,n=t.chartType,r=t.purpose,i=t.chartWIKI;return r?(n&&i[n]&&r&&(i[n].purpose||"").includes(r)&&(e=1),e):e=1}},"bar-series-qty":{id:"bar-series-qty",type:"SOFT",docs:{lintText:"Bar chart should has proper number of bars or bar groups."},trigger:function(t){var e=t.chartType;return o.includes(e)},validator:function(t){var e=1,n=t.dataProps,r=t.chartType;if(n&&r){var i=n.find(function(t){return a(t.levelOfMeasurements,["Nominal"])}),o=i&&i.count?i.count:0;o>20&&(e=20/o)}return e<.1?.1:e}},"diff-pie-sector":{id:"diff-pie-sector",type:"SOFT",docs:{lintText:"The difference between sectors of a pie chart should be large enough."},trigger:function(t){var e=t.chartType;return u.includes(e)},validator:function(t){var e=1,n=t.dataProps;if(n){var r=n.find(function(t){return a(t.levelOfMeasurements,["Interval"])});if(r&&r.sum&&r.rawData){var i=1/r.sum,o=r.rawData.map(function(t){return t*i}).reduce(function(t,e){return t*e}),l=r.rawData.length,s=Math.pow(1/l,l);e=2*(Math.abs(s-Math.abs(o))/s)}}return e<.1?.1:e}},"landscape-or-portrait":{id:"landscape-or-portrait",type:"SOFT",docs:{lintText:"Recommend column charts for landscape layout and bar charts for portrait layout."},trigger:function(t){return f.includes(t.chartType)&&d(t)},validator:function(t){var e=1,n=t.chartType,r=t.preferences;return d(t)&&("portrait"===r.canvasLayout&&["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart"].includes(n)?e=5:"landscape"===r.canvasLayout&&["column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"].includes(n)&&(e=5)),e}},"limit-series":{id:"limit-series",type:"SOFT",docs:{lintText:"Avoid too many values in one series."},trigger:function(t){return t.dataProps.filter(function(t){return s(t.levelOfMeasurements,["Nominal","Ordinal"])}).length>=2},validator:function(t){var e=1,n=t.dataProps,r=t.chartType;if(n){var i=n.filter(function(t){return s(t.levelOfMeasurements,["Nominal","Ordinal"])});if(i.length>=2){var a=i.sort(c)[1];a.distinct&&(e=a.distinct>10?.1:1/a.distinct,a.distinct>6&&"heatmap"===r?e=5:"heatmap"===r&&(e=1))}}return e}},"line-field-time-ordinal":{id:"line-field-time-ordinal",type:"SOFT",docs:{lintText:"Data containing time or ordinal fields are suitable for line or area charts."},trigger:function(t){var e=t.chartType;return h.includes(e)},validator:function(t){var e=1,n=t.dataProps;return n&&n.find(function(t){return s(t.levelOfMeasurements,["Ordinal","Time"])})&&(e=5),e}},"nominal-enum-combinatorial":{id:"nominal-enum-combinatorial",type:"SOFT",docs:{lintText:"Single (Basic) and Multi (Stacked, Grouped,...) charts should be optimized recommended by nominal enums combinatorial numbers."},trigger:function(t){var e=t.chartType,n=t.dataProps;return p.includes(e)&&g(n).length>=2},validator:function(t){var e=1,n=t.dataProps,r=t.chartType;if(n){var i=g(n);if(i.length>=2){var a=i.sort(c),o=a[0],l=a[1];o.distinct===o.count&&["bar_chart","column_chart"].includes(r)&&(e=5),o.count&&o.distinct&&l.distinct&&o.count>o.distinct&&["grouped_bar_chart","grouped_column_chart","stacked_bar_chart","stacked_column_chart"].includes(r)&&(e=5)}}return e}},"series-qty-limit":{id:"series-qty-limit",type:"SOFT",docs:{lintText:"Some charts should has at most N values for the series."},trigger:function(t){var e=t.chartType;return m.includes(e)},validator:function(t){var e=1,n=t.dataProps,r=t.chartType,i=t.limit;if((!Number.isInteger(i)||i<=0)&&(i=6,("pie_chart"===r||"donut_chart"===r||"rose_chart"===r)&&(i=6),"radar_chart"===r&&(i=8)),n){var o=n.find(function(t){return a(t.levelOfMeasurements,["Nominal"])}),l=o&&o.count?o.count:0;l>=2&&l<=i&&(e=5+2/l)}return e}},"x-axis-line-fading":{id:"x-axis-line-fading",type:"DESIGN",docs:{lintText:"Adjust axis to make it prettier"},trigger:function(t){var e=t.chartType;return w.includes(e)},optimizer:function(t,e){var n,r=O(e).encode;if(r&&(null===(n=r.y)||void 0===n?void 0:n.type)==="quantitative"){var i=t.find(function(t){var e;return t.name===(null===(e=r.y)||void 0===e?void 0:e.field)});if(i){var a=i.maximum-i.minimum;if(i.minimum&&i.maximum&&a<2*i.maximum/3){var o=Math.floor(i.minimum-a/5);return{axis:{x:{tick:!1}},scale:{y:{domainMin:o>0?o:0}},clip:!0}}}}return{}}},"bar-without-axis-min":{id:"bar-without-axis-min",type:"DESIGN",docs:{lintText:"It is not recommended to set the minimum value of axis for the bar or column chart.",fixText:"Remove the minimum value config of axis."},trigger:function(t){var e=t.chartType;return l.includes(e)},optimizer:function(t,e){var n,r,i=e.scale;if(!i)return{};var a=null===(n=i.x)||void 0===n?void 0:n.domainMin,o=null===(r=i.y)||void 0===r?void 0:r.domainMin;if(a||o){var l=JSON.parse(JSON.stringify(i));return a&&(l.x.domainMin=0),o&&(l.y.domainMin=0),{scale:l}}return{}}}},k=Object.keys(_),C=function(t){var e={};return t.forEach(function(t){Object.keys(_).includes(t)&&(e[t]=_[t])}),e},j=function(t){if(!t)return C(k);var e=C(k);if(t.exclude&&t.exclude.forEach(function(t){Object.keys(e).includes(t)&&delete e[t]}),t.include){var n=t.include;Object.keys(e).forEach(function(t){n.includes(t)||delete e[t]})}var i=(0,r.pi)((0,r.pi)({},e),t.custom),a=t.options;return a&&Object.keys(a).forEach(function(t){if(Object.keys(i).includes(t)){var e=a[t];i[t]=(0,r.pi)((0,r.pi)({},i[t]),{option:e})}}),i},M=function(t){if("object"!=typeof t||null===t)return t;if(Array.isArray(t)){e=[];for(var e,n=0,r=t.length;ne.distinct)return -1}return 0};function B(t){var e,n,r,i=null!==(n=null!==(e=t.find(function(t){return s(t.levelOfMeasurements,["Nominal"])}))&&void 0!==e?e:t.find(function(t){return s(t.levelOfMeasurements,["Time","Ordinal"])}))&&void 0!==n?n:t.find(function(t){return s(t.levelOfMeasurements,["Interval"])}),a=null!==(r=t.filter(function(t){return t!==i}).find(function(t){return s(t.levelOfMeasurements,["Interval"])}))&&void 0!==r?r:t.filter(function(t){return t!==i}).find(function(t){return s(t.levelOfMeasurements,["Nominal","Time","Ordinal"])});return[i,a]}function I(t){var e,n=null!==(e=t.find(function(t){return s(t.levelOfMeasurements,["Time","Ordinal","Nominal"])}))&&void 0!==e?e:t.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),r=t.filter(function(t){return t!==n}).find(function(t){return a(t.levelOfMeasurements,["Interval"])}),i=t.filter(function(t){return t!==n&&t!==r}).find(function(t){return s(t.levelOfMeasurements,["Nominal","Ordinal","Time"])});return[n,r,i]}function D(t){var e=t.find(function(t){return s(t.levelOfMeasurements,["Time","Ordinal"])}),n=t.find(function(t){return a(t.levelOfMeasurements,["Nominal"])});return[e,t.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),n]}function N(t){var e=t.filter(function(t){return a(t.levelOfMeasurements,["Nominal"])}).sort(L),n=e[0],r=e[1];return[t.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),n,r]}function z(t){var e,n,i,o,l,s,c=t.filter(function(t){return a(t.levelOfMeasurements,["Nominal"])}).sort(L);return(0,Z.Js)(null===(i=c[1])||void 0===i?void 0:i.rawData,null===(o=c[0])||void 0===o?void 0:o.rawData)?(s=(e=(0,r.CR)(c,2))[0],l=e[1]):(l=(n=(0,r.CR)(c,2))[0],s=n[1]),[l,t.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),s]}var F=function(t){var e=t.data,n=t.xField;return(0,y.uniq)(e.map(function(t){return t[n]})).length<=1},$=function(t,e,n){var r=n.field4Split,i=n.field4X;if((null==r?void 0:r.name)&&(null==i?void 0:i.name)){var a=t[r.name];return F({data:e.filter(function(t){return r.name&&t[r.name]===a}),xField:i.name})?5:void 0}return(null==i?void 0:i.name)&&F({data:e,xField:i.name})?5:void 0},W=n(66465);function H(t){var e,n,i,o,l,c,u,f,d,h,p,g,m,y,v,b,x,O,w,_,k,C,j,M,S,A,E,P,Z,T,F,H,G,q,Y,V,U,Q,X,K,J,tt,te,tn,tr,ti=t.chartType,ta=t.data,to=t.dataProps,tl=t.chartKnowledge;if(!R.includes(ti)&&tl)return tl.toSpec?tl.toSpec(ta,to):null;switch(ti){case"pie_chart":return n=(e=(0,r.CR)(B(to),2))[0],(i=e[1])&&n?{type:"interval",data:ta,encode:{color:n.name,y:i.name},transform:[{type:"stackY"}],coordinate:{type:"theta"}}:null;case"donut_chart":return l=(o=(0,r.CR)(B(to),2))[0],(c=o[1])&&l?{type:"interval",data:ta,encode:{color:l.name,y:c.name},transform:[{type:"stackY"}],coordinate:{type:"theta",innerRadius:.6}}:null;case"line_chart":return function(t,e){var n=(0,r.CR)(I(e),3),i=n[0],a=n[1],o=n[2];if(!i||!a)return null;var l={type:"line",data:t,encode:{x:i.name,y:a.name,size:function(e){return $(e,t,{field4X:i})}},legend:{size:!1}};return o&&(l.encode.color=o.name),l}(ta,to);case"step_line_chart":return function(t,e){var n=(0,r.CR)(I(e),3),i=n[0],a=n[1],o=n[2];if(!i||!a)return null;var l={type:"line",data:t,encode:{x:i.name,y:a.name,shape:"hvh",size:function(e){return $(e,t,{field4X:i})}},legend:{size:!1}};return o&&(l.encode.color=o.name),l}(ta,to);case"area_chart":return u=to.find(function(t){return s(t.levelOfMeasurements,["Time","Ordinal"])}),f=to.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),u&&f?{type:"area",data:ta,encode:{x:u.name,y:f.name,size:function(t){return $(t,ta,{field4X:u})}},legend:{size:!1}}:null;case"stacked_area_chart":return h=(d=(0,r.CR)(D(to),3))[0],p=d[1],g=d[2],h&&p&&g?{type:"area",data:ta,encode:{x:h.name,y:p.name,color:g.name,size:function(t){return $(t,ta,{field4Split:g,field4X:h})}},legend:{size:!1},transform:[{type:"stackY"}]}:null;case"percent_stacked_area_chart":return y=(m=(0,r.CR)(D(to),3))[0],v=m[1],b=m[2],y&&v&&b?{type:"area",data:ta,encode:{x:y.name,y:v.name,color:b.name},transform:[{type:"stackY"},{type:"normalizeY"}]}:null;case"bar_chart":return function(t,e){var n=(0,r.CR)(N(e),3),i=n[0],a=n[1],o=n[2];if(!i||!a)return null;var l={type:"interval",data:t,encode:{x:a.name,y:i.name},coordinate:{transform:[{type:"transpose"}]}};return o&&(l.encode.color=o.name,l.transform=[{type:"stackY"}]),l}(ta,to);case"grouped_bar_chart":return O=(x=(0,r.CR)(N(to),3))[0],w=x[1],_=x[2],O&&w&&_?{type:"interval",data:ta,encode:{x:w.name,y:O.name,color:_.name},transform:[{type:"dodgeX"}],coordinate:{transform:[{type:"transpose"}]}}:null;case"stacked_bar_chart":return C=(k=(0,r.CR)(N(to),3))[0],j=k[1],M=k[2],C&&j&&M?{type:"interval",data:ta,encode:{x:j.name,y:C.name,color:M.name},transform:[{type:"stackY"}],coordinate:{transform:[{type:"transpose"}]}}:null;case"percent_stacked_bar_chart":return A=(S=(0,r.CR)(N(to),3))[0],E=S[1],P=S[2],A&&E&&P?{type:"interval",data:ta,encode:{x:E.name,y:A.name,color:P.name},transform:[{type:"stackY"},{type:"normalizeY"}],coordinate:{transform:[{type:"transpose"}]}}:null;case"column_chart":return function(t,e){var n=e.filter(function(t){return a(t.levelOfMeasurements,["Nominal"])}).sort(L),r=n[0],i=n[1],o=e.find(function(t){return a(t.levelOfMeasurements,["Interval"])});if(!r||!o)return null;var l={type:"interval",data:t,encode:{x:r.name,y:o.name}};return i&&(l.encode.color=i.name,l.transform=[{type:"stackY"}]),l}(ta,to);case"grouped_column_chart":return T=(Z=(0,r.CR)(z(to),3))[0],F=Z[1],H=Z[2],T&&F&&H?{type:"interval",data:ta,encode:{x:T.name,y:F.name,color:H.name},transform:[{type:"dodgeX"}]}:null;case"stacked_column_chart":return q=(G=(0,r.CR)(z(to),3))[0],Y=G[1],V=G[2],q&&Y&&V?{type:"interval",data:ta,encode:{x:q.name,y:Y.name,color:V.name},transform:[{type:"stackY"}]}:null;case"percent_stacked_column_chart":return Q=(U=(0,r.CR)(z(to),3))[0],X=U[1],K=U[2],Q&&X&&K?{type:"interval",data:ta,encode:{x:Q.name,y:X.name,color:K.name},transform:[{type:"stackY"},{type:"normalizeY"}]}:null;case"scatter_plot":return function(t,e){var n=e.filter(function(t){return a(t.levelOfMeasurements,["Interval"])}).sort(L),r=n[0],i=n[1],o=e.find(function(t){return a(t.levelOfMeasurements,["Nominal"])});if(!r||!i)return null;var l={type:"point",data:t,encode:{x:r.name,y:i.name}};return o&&(l.encode.color=o.name),l}(ta,to);case"bubble_chart":return function(t,e){for(var n=e.filter(function(t){return a(t.levelOfMeasurements,["Interval"])}),i={x:n[0],y:n[1],corr:0,size:n[2]},o=function(t){for(var e=function(e){var a=(0,W.Vs)(n[t].rawData,n[e].rawData);Math.abs(a)>i.corr&&(i.x=n[t],i.y=n[e],i.corr=a,i.size=n[(0,r.ev)([],(0,r.CR)(Array(n.length).keys()),!1).find(function(n){return n!==t&&n!==e})||0])},a=t+1;ae.score?-1:0},X=function(t){var e=t.chartWIKI,n=t.dataProps,r=t.ruleBase,i=t.options;return Object.keys(e).map(function(t){return function(t,e,n,r,i){var a=i?i.purpose:"",o=i?i.preferences:void 0,l=[],s={dataProps:n,chartType:t,purpose:a,preferences:o},c=U(t,e,r,"HARD",s,l);if(0===c)return{chartType:t,score:0,log:l};var u=U(t,e,r,"SOFT",s,l);return{chartType:t,score:c*u,log:l}}(t,e,n,r,i)}).filter(function(t){return t.score>0}).sort(Q)};function K(t,e,n,r){return Object.values(n).filter(function(r){var i;return"DESIGN"===r.type&&r.trigger({dataProps:e,chartType:t})&&!(null===(i=n[r.id].option)||void 0===i?void 0:i.off)}).reduce(function(t,n){return P(t,n.optimizer(e,r))},{})}var J=n(28670),tt=n.n(J);let te=t=>!!tt().valid(t);function tn(t){let{value:e}=t;return te(e)?tt()(e).hex():""}let tr={lab:{l:[0,100],a:[-86.185,98.254],b:[-107.863,94.482]},lch:{l:[0,100],c:[0,100],h:[0,360]},rgb:{r:[0,255],g:[0,255],b:[0,255]},rgba:{r:[0,255],g:[0,255],b:[0,255],a:[0,1]},hsl:{h:[0,360],s:[0,1],l:[0,1]},hsv:{h:[0,360],s:[0,1],v:[0,1]},hsi:{h:[0,360],s:[0,1],i:[0,1]},cmyk:{c:[0,1],m:[0,1],y:[0,1],k:[0,1]}},ti={model:"rgb",value:{r:255,g:255,b:255}},ta=["normal","darken","multiply","colorBurn","linearBurn","lighten","screen","colorDodge","linearDodge","overlay","softLight","hardLight","vividLight","linearLight","pinLight","difference","exclusion"];[...ta];let to=t=>!!tt().valid(t),tl=t=>{let{value:e}=t;return to(e)?tt()(e):tt()("#000")},ts=(t,e=t.model)=>{let n=tl(t);return n?n[e]():[0,0,0]},tc=(t,e=4===t.length?"rgba":"rgb")=>{let n={};if(1===t.length){let[r]=t;for(let t=0;tt*e/255,tp=(t,e)=>t+e-t*e/255,tg=(t,e)=>t<128?th(2*t,e):tp(2*t-255,e),tm={normal:t=>t,darken:(t,e)=>Math.min(t,e),multiply:th,colorBurn:(t,e)=>0===t?0:Math.max(0,255*(1-(255-e)/t)),lighten:(t,e)=>Math.max(t,e),screen:tp,colorDodge:(t,e)=>255===t?255:Math.min(255,255*(e/(255-t))),overlay:(t,e)=>tg(e,t),softLight:(t,e)=>{if(t<128)return e-(1-2*t/255)*e*(1-e/255);let n=e<64?((16*(e/255)-12)*(e/255)+4)*(e/255):Math.sqrt(e/255);return e+255*(2*t/255-1)*(n-e/255)},hardLight:tg,difference:(t,e)=>Math.abs(t-e),exclusion:(t,e)=>t+e-2*t*e/255,linearBurn:(t,e)=>Math.max(t+e-255,0),linearDodge:(t,e)=>Math.min(255,t+e),linearLight:(t,e)=>Math.max(e+2*t-255,0),vividLight:(t,e)=>t<128?255*(1-(1-e/255)/(2*t/255)):255*(e/2/(255-t)),pinLight:(t,e)=>t<128?Math.min(e,2*t):Math.max(e,2*t-255)},ty=t=>.3*t[0]+.58*t[1]+.11*t[2],tv=t=>{let e=ty(t),n=Math.min(...t),r=Math.max(...t),i=[...t];return n<0&&(i=i.map(t=>e+(t-e)*e/(e-n))),r>255&&(i=i.map(t=>e+(t-e)*(255-e)/(r-e))),i},tb=(t,e)=>{let n=e-ty(t);return tv(t.map(t=>t+n))},tx=t=>Math.max(...t)-Math.min(...t),tO=(t,e)=>{let n=t.map((t,e)=>({value:t,index:e}));n.sort((t,e)=>t.value-e.value);let r=n[0].index,i=n[1].index,a=n[2].index,o=[...t];return o[a]>o[r]?(o[i]=(o[i]-o[r])*e/(o[a]-o[r]),o[a]=e):(o[i]=0,o[a]=0),o[r]=0,o},tw={hue:(t,e)=>tb(tO(t,tx(e)),ty(e)),saturation:(t,e)=>tb(tO(e,tx(t)),ty(e)),color:(t,e)=>tb(t,ty(e)),luminosity:(t,e)=>tb(e,ty(t))},t_=(t,e,n="normal")=>{let r;let[i,a,o,l]=ts(t,"rgba"),[s,c,u,f]=ts(e,"rgba"),d=[i,a,o],h=[s,c,u];if(ta.includes(n)){let t=tm[n];r=d.map((e,n)=>Math.floor(t(e,h[n])))}else r=tw[n](d,h);let p=l+f*(1-l),g=Math.round((l*(1-f)*i+l*f*r[0]+(1-l)*f*s)/p),m=Math.round((l*(1-f)*a+l*f*r[1]+(1-l)*f*c)/p),y=Math.round((l*(1-f)*o+l*f*r[2]+(1-l)*f*u)/p);return 1===p?{model:"rgb",value:{r:g,g:m,b:y}}:{model:"rgba",value:{r:g,g:m,b:y,a:p}}},tk=(t,e)=>{let n=(t+e)%360;return n<0?n+=360:n>=360&&(n-=360),n},tC=(t=1,e=0)=>{let n=Math.min(t,e),r=Math.max(t,e);return n+Math.random()*(r-n)},tj=(t=1,e=0)=>{let n=Math.ceil(Math.min(t,e)),r=Math.floor(Math.max(t,e));return Math.floor(n+Math.random()*(r-n+1))},tM=t=>{if(t&&"object"==typeof t){let e=Array.isArray(t);if(e){let e=t.map(t=>tM(t));return e}let n={},r=Object.keys(t);return r.forEach(e=>{n[e]=tM(t[e])}),n}return t};function tS(t){return t*(Math.PI/180)}var tA=n(56917),tE=n.n(tA);let tP=(t,e="normal")=>{if("normal"===e)return{...t};let n=tn(t),r=tE()[e](n);return td(r)},tR=t=>{let e=tu(t),[,,,n=1]=ts(t,"rgba");return tf(e,n)},tZ=(t,e="normal")=>"grayscale"===e?tR(t):tP(t,e),tT=(t,e,n=[tj(5,10),tj(90,95)])=>{let[r,i,a]=ts(t,"lab"),o=r<=15?r:n[0],l=r>=85?r:n[1],s=(l-o)/(e-1),c=Math.ceil((r-o)/s);return s=0===c?s:(r-o)/c,Array(e).fill(0).map((t,e)=>tc([s*e+o,i,a],"lab"))},tL=t=>{let{count:e,color:n,tendency:r}=t,i=tT(n,e),a={name:"monochromatic",semantic:null,type:"discrete-scale",colors:"tint"===r?i:i.reverse()};return a},tB={model:"rgb",value:{r:0,g:0,b:0}},tI={model:"rgb",value:{r:255,g:255,b:255}},tD=(t,e,n="lab")=>tt().distance(tl(t),tl(e),n),tN=(t,e)=>{let n=Math.atan2(t,e)*(180/Math.PI);return n>=0?n:n+360},tz=(t,e)=>{let n,r;let[i,a,o]=ts(t,"lab"),[l,s,c]=ts(e,"lab"),u=Math.sqrt(a**2+o**2),f=Math.sqrt(s**2+c**2),d=(u+f)/2,h=.5*(1-Math.sqrt(d**7/(d**7+6103515625))),p=(1+h)*a,g=(1+h)*s,m=Math.sqrt(p**2+o**2),y=Math.sqrt(g**2+c**2),v=tN(o,p),b=tN(c,g),x=y-m;n=180>=Math.abs(b-v)?b-v:b-v<-180?b-v+360:b-v-360;let O=2*Math.sqrt(m*y)*Math.sin(tS(n)/2);r=180>=Math.abs(v-b)?(v+b)/2:Math.abs(v-b)>180&&v+b<360?(v+b+360)/2:(v+b-360)/2;let w=(i+l)/2,_=(m+y)/2,k=1-.17*Math.cos(tS(r-30))+.24*Math.cos(tS(2*r))+.32*Math.cos(tS(3*r+6))-.2*Math.cos(tS(4*r-63)),C=1+.015*(w-50)**2/Math.sqrt(20+(w-50)**2),j=1+.045*_,M=1+.015*_*k,S=-2*Math.sqrt(_**7/(_**7+6103515625))*Math.sin(tS(60*Math.exp(-(((r-275)/25)**2)))),A=Math.sqrt(((l-i)/(1*C))**2+(x/(1*j))**2+(O/(1*M))**2+S*(x/(1*j))*(O/(1*M)));return A},tF=t=>{let e=t/255;return e<=.03928?e/12.92:((e+.055)/1.055)**2.4},t$=t=>{let[e,n,r]=ts(t);return .2126*tF(e)+.7152*tF(n)+.0722*tF(r)},tW=(t,e)=>{let n=t$(t),r=t$(e);return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)},tH=(t,e,n={measure:"euclidean"})=>{let{measure:r="euclidean",backgroundColor:i=ti}=n,a=t_(t,i),o=t_(e,i);switch(r){case"CIEDE2000":return tz(a,o);case"euclidean":return tD(a,o,n.colorModel);case"contrastRatio":return tW(a,o);default:return tD(a,o)}},tG=[.8,1.2],tq={rouletteWheel:t=>{let e=t.reduce((t,e)=>t+e),n=0,r=tC(e),i=0;for(let e=0;e{let e=-1,n=0;for(let r=0;r<3;r+=1){let i=tj(t.length-1);t[i]>n&&(e=r,n=t[i])}return e}},tY=(t,e="tournament")=>tq[e](t),tV=(t,e)=>{let n=tM(t),r=tM(e);for(let i=1;i{let i=tM(t),a=e[tj(e.length-1)],o=tj(t[0].length-1),l=i[a][o]*tC(...tG),s=[15,240];"grayscale"!==n&&(s=tr[r][r.split("")[o]]);let[c,u]=s;return lu&&(l=u),i[a][o]=l,i},tQ=(t,e,n,r,i,a)=>{let o;o="grayscale"===n?t.map(([t])=>tf(t)):t.map(t=>tZ(tc(t,r),n));let l=1/0;for(let t=0;t{if(Math.round(tQ(t,e,n,i,a,o))>r)return t;let l=Array(t.length).fill(0).map((t,e)=>e).filter((t,n)=>!e[n]),s=Array(50).fill(0).map(()=>tU(t,l,n,i)),c=s.map(t=>tQ(t,e,n,i,a,o)),u=Math.max(...c),f=s[c.findIndex(t=>t===u)],d=1;for(;d<100&&Math.round(u)tC()?tV(e,r):[e,r];a=a.map(t=>.1>tC()?tU(t,l,n,i):t),t.push(...a)}c=(s=t).map(t=>tQ(t,e,n,i,a,o));let r=Math.max(...c);u=r,f=s[c.findIndex(t=>t===r)],d+=1}return f},tK={euclidean:30,CIEDE2000:20,contrastRatio:4.5},tJ={euclidean:291.48,CIEDE2000:100,contrastRatio:21},t0=(t,e={})=>{let{locked:n=[],simulationType:r="normal",threshold:i,colorModel:a="hsv",colorDifferenceMeasure:o="euclidean",backgroundColor:l=ti}=e,s=i;if(s||(s=tK[o]),"grayscale"===r){let e=tJ[o];s=Math.min(s,e/t.colors.length)}let c=tM(t);if("matrix"!==c.type&&"continuous-scale"!==c.type){if("grayscale"===r){let t=c.colors.map(t=>[tu(t)]),e=tX(t,n,r,s,a,o,l);c.colors.forEach((t,n)=>Object.assign(t,function(t,e){let n;let[,r,i]=ts(e,"lab"),[,,,a=1]=ts(e,"rgba"),o=100*t,l=Math.round(o),s=tu(tc([l,r,i],"lab")),c=25;for(;Math.round(o)!==Math.round(s/255*100)&&c>0;)o>s/255*100?l+=1:l-=1,c-=1,s=tu(tc([l,r,i],"lab"));if(Math.round(o)ts(t,a)),e=tX(t,n,r,s,a,o,l);c.colors.forEach((t,n)=>{Object.assign(t,tc(e[n],a))})}}return c},t1=[.3,.9],t2=[.5,1],t5=(t,e,n,r=[])=>{let[i]=ts(t,"hsv"),a=Array(n).fill(!1),o=-1===r.findIndex(e=>e&&e.model===t.model&&e.value===t.value),l=Array(n).fill(0).map((n,l)=>{let s=r[l];return s?(a[l]=!0,s):o?(o=!1,a[l]=!0,t):tc([tk(i,e*l),tC(...t1),tC(...t2)],"hsv")});return{newColors:l,locked:a}};function t3(){let t=tj(255),e=tj(255),n=tj(255);return tc([t,e,n],"rgb")}let t4=t=>{let{count:e,colors:n}=t,r=[],i={name:"random",semantic:null,type:"categorical",colors:Array(e).fill(0).map((t,e)=>{let i=n[e];return i?(r[e]=!0,i):t3()})};return t0(i,{locked:r})},t6=["monochromatic"],t8=(t,e)=>{let{count:n=8,tendency:r="tint"}=e,{colors:i=[],color:a}=e;return a||(a=i.find(t=>!!t&&!!t.model&&!!t.value)||t3()),t6.includes(t)&&(i=[]),{color:a,colors:i,count:n,tendency:r}},t7={monochromatic:tL,analogous:t=>{let{count:e,color:n,tendency:r}=t,[i,a,o]=ts(n,"hsv"),l=Math.floor(e/2),s=60/(e-1);i>=60&&i<=240&&(s=-s);let c=(a-.1)/3/(e-l-1),u=(o-.4)/3/l,f=Array(e).fill(0).map((t,e)=>{let n=tk(i,s*(e-l)),r=e<=l?Math.min(a+c*(l-e),1):a+3*c*(l-e),f=e<=l?o-3*u*(l-e):Math.min(o-u*(l-e),1);return tc([n,r,f],"hsv")}),d={name:"analogous",semantic:null,type:"discrete-scale",colors:"tint"===r?f:f.reverse()};return d},achromatic:t=>{let{tendency:e}=t,n={...t,color:"tint"===e?tB:tI},r=tL(n);return{...r,name:"achromatic"}},complementary:t=>{let e;let{count:n,color:r}=t,[i,a,o]=ts(r,"hsv"),l=tc([tk(i,180),a,o],"hsv"),s=tj(80,90),c=tj(15,25),u=Math.floor(n/2),f=tT(r,u,[c,s]),d=tT(l,u,[c,s]).reverse();if(n%2==1){let t=tc([(tk(i,180)+i)/2,tC(.05,.1),tC(.9,.95)],"hsv");e=[...f,t,...d]}else e=[...f,...d];let h={name:"complementary",semantic:null,type:"discrete-scale",colors:e};return h},"split-complementary":t=>{let{count:e,color:n,colors:r}=t,{newColors:i,locked:a}=t5(n,180,e,r);return t0({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},triadic:t=>{let{count:e,color:n,colors:r}=t,{newColors:i,locked:a}=t5(n,120,e,r);return t0({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},tetradic:t=>{let{count:e,color:n,colors:r}=t,{newColors:i,locked:a}=t5(n,90,e,r);return t0({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},polychromatic:t=>{let{count:e,color:n,colors:r}=t,i=360/e,{newColors:a,locked:o}=t5(n,i,e,r);return t0({name:"tetradic",semantic:null,type:"categorical",colors:a},{locked:o})},customized:t4},t9=(t="monochromatic",e={})=>{let n=t8(t,e);try{return t7[t](n)}catch(t){return t4(n)}};function et(t,e,n){var r,i=O(e),a=n.primaryColor,o=i.encode;if(a&&o){var l=td(a);if(o.color){var s=o.color,c=s.type,u=s.field;return{scale:{color:{range:t9("quantitative"===c?G[Math.floor(Math.random()*G.length)]:q[Math.floor(Math.random()*q.length)],{color:l,count:null===(r=t.find(function(t){return t.name===u}))||void 0===r?void 0:r.count}).colors.map(function(t){return tn(t)})}}}}return"line"===e.type?{style:{stroke:tn(l)}}:{style:{fill:tn(l)}}}return{}}function ee(t,e,n,r,i){var a,o=O(e).encode;if(n&&o){var l=td(n);if(o.color){var s=o.color,c=s.type,u=s.field,f=r;return f||(f="quantitative"===c?"monochromatic":"polychromatic"),{scale:{color:{range:t9(f,{color:l,count:null===(a=t.find(function(t){return t.name===u}))||void 0===a?void 0:a.count}).colors.map(function(t){return tn(i?tZ(t,i):t)})}}}}return"line"===e.type?{style:{stroke:tn(l)}}:{style:{fill:tn(l)}}}return{}}n(16243);var en=n(8625);function er(t,e,n){try{i=e?new en.Z(t,{columns:e}):new en.Z(t)}catch(t){return console.error("failed to transform the input data into DataFrame: ",t),[]}var i,a=i.info();return n?a.map(function(t){var e=n.find(function(e){return e.name===t.name});return(0,r.pi)((0,r.pi)({},t),e)}):a}var ei=function(t){var e=t.data,n=t.fields;return n?e.map(function(t){return Object.keys(t).forEach(function(e){n.includes(e)||delete t[e]}),t}):e};function ea(t){var e=t.adviseParams,n=t.ckb,r=t.ruleBase,i=e.data,a=e.dataProps,o=e.smartColor,l=e.options,s=e.colorOptions,c=e.fields,u=l||{},f=u.refine,d=void 0!==f&&f,h=u.requireSpec,p=void 0===h||h,g=u.theme,m=s||{},y=m.themeColor,v=void 0===y?Y:y,b=m.colorSchemeType,x=m.simulationType,O=M(i),w=er(O,c,a),_=ei({data:O,fields:c}),k=X({dataProps:w,ruleBase:r,chartWIKI:n});return{advices:k.map(function(t){var e=t.score,i=t.chartType,a=H({chartType:i,data:_,dataProps:w,chartKnowledge:n[i]});if(a&&d){var l=K(i,w,r,a);P(a,l)}if(a){if(g&&!o){var l=et(w,a,g);P(a,l)}else if(o){var l=ee(w,a,v,b,x);P(a,l)}}return{type:i,spec:a,score:e}}).filter(function(t){return!p||t.spec}),log:k}}var eo=function(t){var e,n=t.coordinate;if((null==n?void 0:n.type)==="theta")return(null==n?void 0:n.innerRadius)?"donut_chart":"pie_chart";var r=t.transform,i=null===(e=null==n?void 0:n.transform)||void 0===e?void 0:e.some(function(t){return"transpose"===t.type}),a=null==r?void 0:r.some(function(t){return"normalizeY"===t.type}),o=null==r?void 0:r.some(function(t){return"stackY"===t.type}),l=null==r?void 0:r.some(function(t){return"dodgeX"===t.type});return i?l?"grouped_bar_chart":a?"stacked_bar_chart":o?"percent_stacked_bar_chart":"bar_chart":l?"grouped_column_chart":a?"stacked_column_chart":o?"percent_stacked_column_chart":"column_chart"},el=function(t){var e=t.transform,n=null==e?void 0:e.some(function(t){return"stackY"===t.type}),r=null==e?void 0:e.some(function(t){return"normalizeY"===t.type});return n?r?"percent_stacked_area_chart":"stacked_area_chart":"area_chart"},es=function(t){var e=t.encode;return e.shape&&"hvh"===e.shape?"step_line_chart":"line_chart"},ec=function(t){var e;switch(t.type){case"area":e=el(t);break;case"interval":e=eo(t);break;case"line":e=es(t);break;case"point":e=t.encode.size?"bubble_chart":"scatter_plot";break;case"rect":e="histogram";break;case"cell":e="heatmap";break;default:e=""}return e};function eu(t,e,n,i,a,o,l){Object.values(t).filter(function(t){var i,a,l=t.option||{},s=l.weight,c=l.extra;return i=t.type,("DESIGN"===e?"DESIGN"===i:"DESIGN"!==i)&&!(null===(a=t.option)||void 0===a?void 0:a.off)&&t.trigger((0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)({},n),{weight:s}),c),{chartWIKI:o}))}).forEach(function(t){var s,c=t.type,u=t.id,f=t.docs;if("DESIGN"===e){var d=t.optimizer(n.dataProps,l);s=0===Object.keys(d).length?1:0,a.push({type:c,id:u,score:s,fix:d,docs:f})}else{var h=t.option||{},p=h.weight,g=h.extra;s=t.validator((0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)({},n),{weight:p}),g),{chartWIKI:o})),a.push({type:c,id:u,score:s,docs:f})}i.push({phase:"LINT",ruleId:u,score:s,base:s,weight:1,ruleType:c})})}function ef(t,e,n){var r=t.spec,i=t.options,a=t.dataProps,o=null==i?void 0:i.purpose,l=null==i?void 0:i.preferences,s=ec(r),c=[],u=[];if(!r||!s)return{lints:c,log:u};if(!a||!a.length)try{a=new en.Z(r.data).info()}catch(t){return console.error("error: ",t),{lints:c,log:u}}var f={dataProps:a,chartType:s,purpose:o,preferences:l};return eu(e,"notDESIGN",f,u,c,n),eu(e,"DESIGN",f,u,c,n,r),{lints:c=c.filter(function(t){return t.score<1}),log:u}}var ed=n(89991),eh=function(){function t(t,e){var n,r,i,a=this;this.plugins=[],this.name=t,this.afterPluginsExecute=null!==(n=null==e?void 0:e.afterPluginsExecute)&&void 0!==n?n:this.defaultAfterPluginsExecute,this.pluginManager=new ed.AsyncParallelHook(["data","results"]),this.syncPluginManager=new ed.SyncHook(["data","results"]),this.context=null==e?void 0:e.context,this.hasAsyncPlugin=!!(null===(r=null==e?void 0:e.plugins)||void 0===r?void 0:r.find(function(t){return a.isPluginAsync(t)})),null===(i=null==e?void 0:e.plugins)||void 0===i||i.forEach(function(t){a.registerPlugin(t)})}return t.prototype.defaultAfterPluginsExecute=function(t){return(0,y.last)(Object.values(t))},t.prototype.isPluginAsync=function(t){return"AsyncFunction"===t.execute.constructor.name},t.prototype.registerPlugin=function(t){var e,n=this;null===(e=t.onLoad)||void 0===e||e.call(t,this.context),this.plugins.push(t),this.isPluginAsync(t)&&(this.hasAsyncPlugin=!0),this.hasAsyncPlugin?this.pluginManager.tapPromise(t.name,function(e,i){return void 0===i&&(i={}),(0,r.mG)(n,void 0,void 0,function(){var n,a,o;return(0,r.Jh)(this,function(r){switch(r.label){case 0:return null===(a=t.onBeforeExecute)||void 0===a||a.call(t,e,this.context),[4,t.execute(e,this.context)];case 1:return n=r.sent(),null===(o=t.onAfterExecute)||void 0===o||o.call(t,n,this.context),i[t.name]=n,[2]}})})}):this.syncPluginManager.tap(t.name,function(e,r){void 0===r&&(r={}),null===(i=t.onBeforeExecute)||void 0===i||i.call(t,e,n.context);var i,a,o=t.execute(e,n.context);return null===(a=t.onAfterExecute)||void 0===a||a.call(t,o,n.context),r[t.name]=o,o})},t.prototype.unloadPlugin=function(t){var e,n=this.plugins.find(function(e){return e.name===t});n&&(null===(e=n.onUnload)||void 0===e||e.call(n,this.context),this.plugins=this.plugins.filter(function(e){return e.name!==t}))},t.prototype.execute=function(t){var e,n=this;if(this.hasAsyncPlugin){var i={};return this.pluginManager.promise(t,i).then(function(){return(0,r.mG)(n,void 0,void 0,function(){var t;return(0,r.Jh)(this,function(e){return[2,null===(t=this.afterPluginsExecute)||void 0===t?void 0:t.call(this,i)]})})})}var a={};return this.syncPluginManager.call(t,a),null===(e=this.afterPluginsExecute)||void 0===e?void 0:e.call(this,a)},t}(),ep=function(){function t(t){var e=t.components,n=this;this.components=e,this.componentsManager=new ed.AsyncSeriesWaterfallHook(["initialParams"]),e.forEach(function(t){t&&n.componentsManager.tapPromise(t.name,function(e){return(0,r.mG)(n,void 0,void 0,function(){var n,i;return(0,r.Jh)(this,function(a){switch(a.label){case 0:return n=e,[4,t.execute(n||{})];case 1:return i=a.sent(),[2,(0,r.pi)((0,r.pi)({},n),i)]}})})})})}return t.prototype.execute=function(t){return(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:return[4,this.componentsManager.promise(t)];case 1:return[2,e.sent()]}})})},t}(),eg={name:"defaultDataProcessor",stage:["dataAnalyze"],execute:function(t,e){var n=t.data,r=t.customDataProps,i=((null==e?void 0:e.options)||{}).fields,a=(0,y.cloneDeep)(n),o=er(a,i,r);return{data:ei({data:a,fields:i}),dataProps:o}}},em={name:"defaultChartTypeRecommend",stage:["chartTypeRecommend"],execute:function(t,e){var n=t.dataProps,r=e||{},i=r.advisor,a=r.options;return{chartTypeRecommendations:X({dataProps:n,chartWIKI:i.ckb,ruleBase:i.ruleBase,options:a})}}},ey={name:"defaultSpecGenerator",stage:["specGenerate"],execute:function(t,e){var n=t.chartTypeRecommendations,r=t.dataProps,i=t.data,a=e||{},o=a.options,l=a.advisor,s=o||{},c=s.refine,u=void 0!==c&&c,f=s.theme,d=s.colorOptions,h=s.smartColor,p=d||{},g=p.themeColor,m=void 0===g?Y:g,y=p.colorSchemeType,v=p.simulationType;return{advices:null==n?void 0:n.map(function(t){var e=t.chartType,n=H({chartType:e,data:i,dataProps:r,chartKnowledge:l.ckb[e]});if(n&&u){var a=K(e,r,l.ruleBase,n);P(n,a)}if(n){if(f&&!h){var a=et(r,n,f);P(n,a)}else if(h){var a=ee(r,n,m,y,v);P(n,a)}}return{type:t.chartType,spec:n,score:t.score}}).filter(function(t){return t.spec})}}},ev=function(){function t(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this.ckb=(n=t.ckbCfg,a=JSON.parse(JSON.stringify(i)),n?(o=n.exclude,l=n.include,s=n.custom,o&&o.forEach(function(t){Object.keys(a).includes(t)&&delete a[t]}),l&&Object.keys(a).forEach(function(t){l.includes(t)||delete a[t]}),(0,r.pi)((0,r.pi)({},a),s)):a),this.ruleBase=j(t.ruleCfg),this.context={advisor:this},this.initDefaultComponents();var n,a,o,l,s,c=[this.dataAnalyzer,this.chartTypeRecommender,this.chartEncoder,this.specGenerator],u=e.plugins,f=e.components;this.plugins=u,this.pipeline=new ep({components:null!=f?f:c})}return t.prototype.initDefaultComponents=function(){this.dataAnalyzer=new eh("data",{plugins:[eg],context:this.context}),this.chartTypeRecommender=new eh("chartType",{plugins:[em],context:this.context}),this.specGenerator=new eh("specGenerate",{plugins:[ey],context:this.context})},t.prototype.advise=function(t){return ea({adviseParams:t,ckb:this.ckb,ruleBase:this.ruleBase}).advices},t.prototype.adviseAsync=function(t){return(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:return this.context=(0,r.pi)((0,r.pi)({},this.context),{data:t.data,options:t.options}),[4,this.pipeline.execute(t)];case 1:return[2,e.sent().advices]}})})},t.prototype.adviseWithLog=function(t){return ea({adviseParams:t,ckb:this.ckb,ruleBase:this.ruleBase})},t.prototype.lint=function(t){return ef(t,this.ruleBase,this.ckb).lints},t.prototype.lintWithLog=function(t){return ef(t,this.ruleBase,this.ckb)},t.prototype.registerPlugins=function(t){var e={dataAnalyze:this.dataAnalyzer,chartTypeRecommend:this.chartTypeRecommender,encode:this.chartEncoder,specGenerate:this.specGenerator};t.forEach(function(t){"string"==typeof t.stage&&e[t.stage].registerPlugin(t)})},t}()},8625:function(t,e,n){"use strict";n.d(e,{Z:function(){return O}});var r=n(97582),i=n(66465),a=n(61839),o=n(7813),l=function(t){var e,n,i=(void 0===(e=t)&&(e=!0),["".concat(o.oP),"".concat(o.oP).concat(o.cF).concat(e?"":"?","W").concat(o.ps,"(").concat(o.cF).concat(e?"":"?").concat(o.NO,")?"),"".concat(o.vc).concat(o.cF).concat(e?"":"?").concat(o.x4).concat(o.cF).concat(e?"":"?").concat(o.oP),"".concat(o.oP).concat(o.cF).concat(e?"":"?").concat(o.vc).concat(o.cF).concat(e?"":"?").concat(o.x4),"".concat(o.oP).concat(o.cF).concat(e?"":"?").concat(o.vc),"".concat(o.oP).concat(o.cF).concat(e?"":"?").concat(o.IY)]),a=(void 0===(n=t)&&(n=!0),["".concat(o.kr,":").concat(n?"":"?").concat(o.EB,":").concat(n?"":"?").concat(o.sh,"([.,]").concat(o.KP,")?").concat(o.ew,"?"),"".concat(o.kr,":").concat(n?"":"?").concat(o.EB,"?").concat(o.ew)]),l=(0,r.ev)((0,r.ev)([],(0,r.CR)(i),!1),(0,r.CR)(a),!1);return i.forEach(function(t){a.forEach(function(e){l.push("".concat(t,"[T\\s]").concat(e))})}),l.map(function(t){return new RegExp("^".concat(t,"$"))})};function s(t,e){if((0,a.HD)(t)){for(var n=l(e),r=0;r0&&(m.generateColumns([0],null==n?void 0:n.columns),m.colData=[m.data],m.data=m.data.map(function(t){return[t]})),(0,a.kJ)(b)){var x=(0,c.w6)(b.length);m.generateDataAndColDataFromArray(!1,e,x,null==n?void 0:n.fillValue,null==n?void 0:n.columnTypes),m.generateColumns(x,null==n?void 0:n.columns)}if((0,a.Kn)(b)){for(var O=[],y=0;y=0&&b>=0||O.length>0,"The rowLoc is not found in the indexes."),v>=0&&b>=0&&(E=this.data.slice(v,b),P=this.indexes.slice(v,b)),O.length>0)for(var s=0;s=0&&_>=0){for(var s=0;s0){for(var R=[],Z=E.slice(),s=0;s=0&&y>=0||v.length>0,"The colLoc is illegal"),(0,a.U)(n)&&(0,c.w6)(this.columns.length).includes(n)&&(b=n,O=n+1),(0,a.kJ)(n))for(var s=0;s=0&&y>=0||v.length>0,"The rowLoc is not found in the indexes.");var S=[],A=[];if(m>=0&&y>=0)S=this.data.slice(m,y),A=this.indexes.slice(m,y);else if(v.length>0)for(var s=0;s=0&&O>=0||w.length>0,"The colLoc is not found in the columns index."),b>=0&&O>=0){for(var s=0;s0){for(var E=[],P=S.slice(),s=0;s1){var _={},k=y;b.forEach(function(e){"date"===e?(_.date=t(k.filter(function(t){return s(t)}),n),k=k.filter(function(t){return!s(t)})):"integer"===e?(_.integer=t(k.filter(function(t){return(0,a.Cf)(t)&&!s(t)}),n),k=k.filter(function(t){return!(0,a.Cf)(t)})):"float"===e?(_.float=t(k.filter(function(t){return(0,a.vn)(t)&&!s(t)}),n),k=k.filter(function(t){return!(0,a.vn)(t)})):"string"===e&&(_.string=t(k.filter(function(t){return"string"===f(t,n)})),k=k.filter(function(t){return"string"!==f(t,n)}))}),w.meta=_}2===w.distinct&&"date"!==w.recommendation&&(g.length>=100?w.recommendation="boolean":(0,a.jn)(O,!0)&&(w.recommendation="boolean")),"string"===p&&Object.assign(w,(o=(r=y.map(function(t){return"".concat(t)})).map(function(t){return t.length}),{maxLength:(0,i.Fp)(o),minLength:(0,i.VV)(o),meanLength:(0,i.J6)(o),containsChar:r.some(function(t){return/[A-z]/.test(t)}),containsDigit:r.some(function(t){return/[0-9]/.test(t)}),containsSpace:r.some(function(t){return/\s/.test(t)})})),("integer"===p||"float"===p)&&Object.assign(w,(l=y.map(function(t){return 1*t}),{minimum:(0,i.VV)(l),maximum:(0,i.Fp)(l),mean:(0,i.J6)(l),percentile5:(0,i.VR)(l,5),percentile25:(0,i.VR)(l,25),percentile50:(0,i.VR)(l,50),percentile75:(0,i.VR)(l,75),percentile95:(0,i.VR)(l,95),sum:(0,i.Sm)(l),variance:(0,i.CA)(l),standardDeviation:(0,i.IN)(l),zeros:l.filter(function(t){return 0===t}).length})),"date"===p&&Object.assign(w,(d="integer"===w.type,h=y.map(function(t){if(d){var e="".concat(t);if(8===e.length)return new Date("".concat(e.substring(0,4),"/").concat(e.substring(4,2),"/").concat(e.substring(6,2))).getTime()}return new Date(t).getTime()}),{minimum:y[(0,i._D)(h)],maximum:y[(0,i.F_)(h)]}));var C=[];return"boolean"!==w.recommendation&&("string"!==w.recommendation||u(w))||C.push("Nominal"),u(w)&&C.push("Ordinal"),("integer"===w.recommendation||"float"===w.recommendation)&&C.push("Interval"),"integer"===w.recommendation&&C.push("Discrete"),"float"===w.recommendation&&C.push("Continuous"),"date"===w.recommendation&&C.push("Time"),w.levelOfMeasurements=C,w}(this.colData[n],this.extra.strictDatePattern)),{name:String(o)}))}return e},e.prototype.toString=function(){for(var t=this,e=Array(this.columns.length+1).fill(0),n=0;ne[0]&&(e[0]=r)}for(var n=0;ne[n+1]&&(e[n+1]=r)}for(var n=0;ne[n+1]&&(e[n+1]=r)}return"".concat(g(e[0])).concat(this.columns.map(function(n,r){return"".concat(n).concat(r!==t.columns.length?g(e[r+1]-y(n)+2):"")}).join(""),"\n").concat(this.indexes.map(function(n,r){var i;return"".concat(n).concat(g(e[0]-y(n))).concat(null===(i=t.data[r])||void 0===i?void 0:i.map(function(n,r){return"".concat(m(n)).concat(r!==t.columns.length?g(e[r+1]-y(n)):"")}).join("")).concat(r!==t.indexes.length?"\n":"")}).join(""))},e}(b)},66465:function(t,e,n){"use strict";n.d(e,{Fp:function(){return u},F_:function(){return f},J6:function(){return h},VV:function(){return s},_D:function(){return c},Vs:function(){return y},VR:function(){return p},IN:function(){return m},Sm:function(){return d},Gn:function(){return v},CA:function(){return g}});var r=n(97582),i=n(84813),a=new WeakMap;function o(t,e,n){return a.get(t)||a.set(t,new Map),a.get(t).set(e,n),n}function l(t,e){var n=a.get(t);if(n)return n.get(e)}function s(t){var e=l(t,"min");return void 0!==e?e:o(t,"min",Math.min.apply(Math,(0,r.ev)([],(0,r.CR)(t),!1)))}function c(t){var e=l(t,"minIndex");return void 0!==e?e:o(t,"minIndex",function(t){for(var e=t[0],n=0,r=0;re&&(n=r,e=t[r]);return n}(t))}function d(t){var e=l(t,"sum");return void 0!==e?e:o(t,"sum",t.reduce(function(t,e){return e+t},0))}function h(t){return d(t)/t.length}function p(t,e,n){return void 0===n&&(n=!1),(0,i.hu)(e>0&&e<100,"The percent cannot be between (0, 100)."),(n?t:t.sort(function(t,e){return t>e?1:-1}))[Math.ceil(t.length*e/100)-1]}function g(t){var e=h(t),n=l(t,"variance");return void 0!==n?n:o(t,"variance",t.reduce(function(t,n){return t+Math.pow(n-e,2)},0)/t.length)}function m(t){return Math.sqrt(g(t))}function y(t,e){return(0,i.hu)(t.length===e.length,"The x and y must has same length."),(h(t.map(function(t,n){return t*e[n]}))-h(t)*h(e))/(m(t)*m(e))}function v(t){var e={};return t.forEach(function(t){var n="".concat(t);e[n]?e[n]+=1:e[n]=1}),e}},84813:function(t,e,n){"use strict";n.d(e,{Js:function(){return s},Tw:function(){return a},hu:function(){return l},w6:function(){return o}});var r=n(97582),i=n(61839);function a(t){return Array.from(new Set(t))}function o(t){return(0,r.ev)([],(0,r.CR)(Array(t).keys()),!1)}function l(t,e){if(!t)throw Error(e)}function s(t,e){if(!(0,i.kJ)(t)||0===t.length||!(0,i.kJ)(e)||0===e.length||t.length!==e.length)return!1;for(var n={},r=0;r(18|19|20)\\d{2})",o="(?0?[1-9]|1[012])",l="(?0?[1-9]|[12]\\d|3[01])",s="(?[0-4]\\d|5[0-2])",c="(?[1-7])",u="(0?\\d|[012345]\\d)",f="(?".concat(u,")"),d="(?".concat(u,")"),h="(?".concat(u,")"),p="(?\\d{1,4})",g="(?(([0-2]\\d|3[0-5])\\d)|36[0-6])",m="(?Z|[+-]".concat("(0?\\d|1\\d|2[0-4])","(:").concat(u,")?)")},61839:function(t,e,n){"use strict";n.d(e,{Cf:function(){return c},HD:function(){return a},J_:function(){return f},Kn:function(){return h},M1:function(){return g},U:function(){return s},hj:function(){return o},i1:function(){return l},jn:function(){return d},kJ:function(){return p},kK:function(){return i},vn:function(){return u}});var r=n(7813);function i(t){return null==t||""===t||Number.isNaN(t)||"null"===t}function a(t){return"string"==typeof t}function o(t){return"number"==typeof t}function l(t){if(a(t)){var e=!1,n=t;/^[+-]/.test(n)&&(n=n.slice(1));for(var r=0;re?0:1;return"M".concat(m,",").concat(y,",A").concat(s,",").concat(c,",0,").concat(o>180?1:0,",").concat(_,",").concat(b,",").concat(x)}function I(t){var e=(0,r.CR)(t,2),n=(0,r.CR)(e[0],2),i=n[0],a=n[1],o=(0,r.CR)(e[1],2);return{x1:i,y1:a,x2:o[0],y2:o[1]}}function D(t){var e=t.type,n=t.gridCenter;return"linear"===e?n:n||t.center}function N(t,e,n,r,i){return void 0===r&&(r=!0),void 0===i&&(i=!1),!!r&&t===e||!!i&&t===n||t>e&&t0,b=i-c,x=a-u,O=h*x-p*b;if(O<0===v)return!1;var w=g*x-m*b;return w<0!==v&&O>y!==v&&w>y!==v}(e,t)})}(l,f))return!0}}catch(t){i={error:t}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}return!1}(h.firstChild,p.firstChild,(0,Y.j)(n)):0)?(l.add(s),l.add(p)):s=p}}catch(t){i={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(i)throw i.error}}return Array.from(l)}function J(t,e){return(void 0===e&&(e={}),(0,q.Z)(t))?0:"number"==typeof t?t:Math.floor((0,$.Ux)(t,e))}var tt=n(39639),te={parity:function(t,e){var n=e.seq,r=void 0===n?2:n;return t.filter(function(t,e){return!(e%r)||((0,z.Cp)(t),!1)})}},tn=new Map([["hide",function(t,e,n,i){var a,o,l=t.length,s=e.keepHeader,c=e.keepTail;if(!(l<=1)&&(2!==l||!s||!c)){var u=te.parity,f=function(t){return t.forEach(i.show),t},d=2,h=t.slice(),p=t.slice(),g=Math.min.apply(Math,(0,r.ev)([1],(0,r.CR)(t.map(function(t){return t.getBBox().width})),!1));if("linear"===n.type&&(T(n)||L(n))){var m=(0,tt._v)(t[0]).left,y=Math.abs((0,tt._v)(t[l-1]).right-m)||1;d=Math.max(Math.floor(l*g/y),d)}for(s&&(a=h.splice(0,1)[0]),c&&(o=h.splice(-1,1)[0],h.reverse()),f(h);dg+p;x-=p){var O=b(x);if("object"==typeof O)return O.value}}}],["wrap",function(t,e,n,i){var a,o,l=e.wordWrapWidth,s=void 0===l?50:l,c=e.maxLines,u=void 0===c?3:c,f=e.recoverWhenFailed,d=e.margin,h=void 0===d?[0,0,0,0]:d,p=t.map(function(t){return t.attr("maxLines")||1}),g=Math.min.apply(Math,(0,r.ev)([],(0,r.CR)(p),!1)),m=(a=n.type,o=n.labelDirection,"linear"===a&&T(n)?"negative"===o?"bottom":"top":"middle"),y=function(e){return t.forEach(function(t,n){var r=Array.isArray(e)?e[n]:e;i.wrap(t,s,r,m)})};if(!(g>u)){for(var v=g;v<=u;v++)if(y(v),K(t,n,h).length<1)return;(void 0===f||f)&&y(p)}}]]);function tr(t){for(var e=t;e<0;)e+=360;return Math.round(e%360)}function ti(t,e){var n=(0,r.CR)(t,2),i=n[0],a=n[1],o=(0,r.CR)(e,2),l=o[0],s=o[1],c=(0,r.CR)([i*l+a*s,i*s-a*l],2),u=c[0];return Math.atan2(c[1],u)}function ta(t,e,n){var r=n.type,i=n.labelAlign,a=R(t,n),o=tr(e),l=tr(d(ti([1,0],a))),s="center",c="middle";return"linear"===r?[90,270].includes(l)&&0===o?(s="center",c=1===a[1]?"top":"bottom"):!(l%180)&&[90,270].includes(o)?s="center":0===l?N(o,0,90,!1,!0)?s="start":(N(o,0,90)||N(o,270,360))&&(s="start"):90===l?N(o,0,90,!1,!0)?s="start":(N(o,90,180)||N(o,270,360))&&(s="end"):270===l?N(o,0,90,!1,!0)?s="end":(N(o,90,180)||N(o,270,360))&&(s="start"):180===l&&(90===o?s="start":(N(o,0,90)||N(o,270,360))&&(s="end")):"parallel"===i?c=N(l,0,180,!0)?"top":"bottom":"horizontal"===i?N(l,90,270,!1)?s="end":(N(l,270,360,!1)||N(l,0,90))&&(s="start"):"perpendicular"===i&&(s=N(l,90,270)?"end":"start"),{textAlign:s,textBaseline:c}}function to(t,e,n){var i=n.showTick,a=n.tickLength,o=n.tickDirection,l=n.labelDirection,s=n.labelSpacing,c=e.indexOf(t),f=(0,p.S)(s,[t,c,e]),d=(0,r.CR)([R(t.value,n),function(){for(var t=[],e=0;e1))||null==a||a(e,r,t,n)})}function tc(t,e,n,i,a){var o,u=n.indexOf(e),f=(0,l.Ys)(t).append((o=a.labelFormatter,(0,c.Z)(o)?function(){return(0,k.S)((0,p.S)(o,[e,u,n,R(e.value,a)]))}:function(){return(0,k.S)(e.label||"")})).attr("className",s.Ec.labelItem.name).node(),g=(0,r.CR)((0,h.Hm)(M(i,[e,u,n])),2),m=g[0],y=g[1],v=y.transform,b=(0,r._T)(y,["transform"]);W(f,v);var x=function(t,e,n){var r,i,a=n.labelAlign;if(null===(i=e.style.transform)||void 0===i?void 0:i.includes("rotate"))return e.getLocalEulerAngles();var o=0,l=R(t.value,n),s=E(t.value,n);return"horizontal"===a?0:(N(r=(d(o="perpendicular"===a?ti([1,0],l):ti([s[0]<0?-1:1,0],s))+360)%180,-90,90)||(r+=180),r)}(e,f,a);return f.getLocalEulerAngles()||f.setLocalEulerAngles(x),tl(f,(0,r.pi)((0,r.pi)({},ta(e.value,x,a)),m)),t.attr(b),f}function tu(t,e){return P(t,e.tickDirection,e)}function tf(t,e,n,a,o,u){var f,d,g,m,y,v,b,x,O,w,_,k,C,j,S,A,E,P,R,T,L,B=(f=(0,l.Ys)(this),d=a.tickFormatter,g=tu(t.value,a),m="line",(0,c.Z)(d)&&(m=function(){return(0,p.S)(d,[t,e,n,g])}),f.append(m).attr("className",s.Ec.tickItem.name));y=tu(t.value,a),v=a.tickLength,O=(0,r.CR)((b=(0,p.S)(v,[t,e,n]),[[0,0],[(x=(0,r.CR)(y,2))[0]*b,x[1]*b]]),2),_=(w=(0,r.CR)(O[0],2))[0],k=w[1],S=(j={x1:_,x2:(C=(0,r.CR)(O[1],2))[0],y1:k,y2:C[1]}).x1,A=j.x2,E=j.y1,P=j.y2,T=(R=(0,r.CR)((0,h.Hm)(M(o,[t,e,n,y])),2))[0],L=R[1],"line"===B.node().nodeName&&B.styles((0,r.pi)({x1:S,x2:A,y1:E,y2:P},T)),this.attr(L),B.styles(T);var I=(0,r.CR)(Z(t.value,a),2),D=I[0],N=I[1];return(0,i.eR)(this,{transform:"translate(".concat(D,", ").concat(N,")")},u)}var td=n(1366);function th(t,e,n,a,o){var c=(0,h.zs)(a,"title"),f=(0,r.CR)((0,h.Hm)(c),2),d=f[0],p=f[1],g=p.transform,m=p.transformOrigin,y=(0,r._T)(p,["transform","transformOrigin"]);e.styles(y);var v=g||function(t,e,n){var r=2*t.getGeometryBounds().halfExtents[1];if("vertical"===e){if("left"===n)return"rotate(-90) translate(0, ".concat(r/2,")");if("right"===n)return"rotate(-90) translate(0, -".concat(r/2,")")}return""}(t.node(),d.direction,d.position);t.styles((0,r.pi)((0,r.pi)({},d),{transformOrigin:m})),W(t.node(),v);var b=function(t,e,n){var i=n.titlePosition,a=void 0===i?"lb":i,o=n.titleSpacing,l=(0,td.li)(a),s=t.node().getLocalBounds(),c=(0,r.CR)(s.min,2),f=c[0],d=c[1],h=(0,r.CR)(s.halfExtents,2),p=h[0],g=h[1],m=(0,r.CR)(e.node().getLocalBounds().halfExtents,2),y=m[0],v=m[1],b=(0,r.CR)([f+p,d+g],2),x=b[0],O=b[1],w=(0,r.CR)((0,Y.j)(o),4),_=w[0],k=w[1],C=w[2],j=w[3];if(["start","end"].includes(a)&&"linear"===n.type){var M=n.startPos,S=n.endPos,A=(0,r.CR)("start"===a?[M,S]:[S,M],2),E=A[0],P=A[1],R=(0,u.Fv)([-P[0]+E[0],-P[1]+E[1]]),Z=(0,r.CR)((0,u.bA)(R,_),2),T=Z[0],L=Z[1];return{x:E[0]+T,y:E[1]+L}}return l.includes("t")&&(O-=g+v+_),l.includes("r")&&(x+=p+y+k),l.includes("l")&&(x-=p+y+j),l.includes("b")&&(O+=g+v+C),{x:x,y:O}}((0,l.Ys)(n._offscreen||n.querySelector(s.Ec.mainGroup.class)),e,a),x=b.x,O=b.y;return(0,i.eR)(e.node(),{transform:"translate(".concat(x,", ").concat(O,")")},o)}function tp(t,e,n,a){var c=t.showLine,u=t.showTick,f=t.showLabel,d=e.maybeAppendByClassName(s.Ec.lineGroup,"g"),p=(0,o.z)(c,d,function(e){var n,o,l,c,u,f,d,p,g,m,y;return n=e,o=t,l=a,m=o.type,y=(0,h.zs)(o,"line"),"linear"===m?g=function(t,e,n,a){var o,l,c,u,f,d,h,p,g,m,y,v,b,x,O,w,_,k,C=e.showTrunc,j=e.startPos,M=e.endPos,S=e.truncRange,A=e.lineExtension,E=(0,r.CR)([j,M],2),P=(0,r.CR)(E[0],2),R=P[0],Z=P[1],T=(0,r.CR)(E[1],2),L=T[0],B=T[1],D=(0,r.CR)(A?(void 0===(o=A)&&(o=[0,0]),l=(0,r.CR)([j,M,o],3),u=(c=(0,r.CR)(l[0],2))[0],f=c[1],h=(d=(0,r.CR)(l[1],2))[0],p=d[1],m=(g=(0,r.CR)(l[2],2))[0],y=g[1],O=Math.sqrt(Math.pow(b=(v=(0,r.CR)([h-u,p-f],2))[0],2)+Math.pow(x=v[1],2)),[(_=(w=(0,r.CR)([-m/O,y/O],2))[0])*b,_*x,(k=w[1])*b,k*x]):[,,,,].fill(0),4),N=D[0],z=D[1],F=D[2],$=D[3],W=function(e){return t.selectAll(s.Ec.line.class).data(e,function(t,e){return e}).join(function(t){return t.append("line").attr("className",function(t){return"".concat(s.Ec.line.name," ").concat(t.className)}).styles(n).transition(function(t){return(0,i.eR)(this,I(t.line),!1)})},function(t){return t.styles(n).transition(function(t){var e=t.line;return(0,i.eR)(this,I(e),a.update)})},function(t){return t.remove()}).transitions()};if(!C||!S)return W([{line:[[R+N,Z+z],[L+F,B+$]],className:s.Ec.line.name}]);var H=(0,r.CR)(S,2),G=H[0],q=H[1],Y=L-R,V=B-Z,U=(0,r.CR)([R+Y*G,Z+V*G],2),Q=U[0],X=U[1],K=(0,r.CR)([R+Y*q,Z+V*q],2),J=K[0],tt=K[1],te=W([{line:[[R+N,Z+z],[Q,X]],className:s.Ec.lineFirst.name},{line:[[J,tt],[L+F,B+$]],className:s.Ec.lineSecond.name}]);return e.truncRange,e.truncShape,e.lineExtension,te}(n,o,j(y,"arrow"),l):(c=j(y,"arrow"),u=o.startAngle,f=o.endAngle,d=o.center,p=o.radius,g=n.selectAll(s.Ec.line.class).data([{d:B.apply(void 0,(0,r.ev)((0,r.ev)([u,f],(0,r.CR)(d),!1),[p],!1))}],function(t,e){return e}).join(function(t){return t.append("path").attr("className",s.Ec.line.name).styles(o).styles({d:function(t){return t.d}})},function(t){return t.transition(function(){var t,e,n,i,a,o=this,s=function(t,e,n,i){if(!i)return t.attr("__keyframe_data__",n),null;var a=i.duration,o=function t(e,n){var i,a,o,l,s,c;return"number"==typeof e&&"number"==typeof n?function(t){return e*(1-t)+n*t}:Array.isArray(e)&&Array.isArray(n)?(i=n?n.length:0,a=e?Math.min(i,e.length):0,function(r){var o=Array(a),l=Array(i),s=0;for(s=0;sx[0])||!(ei&&(i=p),g>o&&(o=g)}return new a.b(e,n,i-e,o-n)}var l=function(t,e,n){var i=t.width,l=t.height,s=n.flexDirection,c=void 0===s?"row":s,u=(n.flexWrap,n.justifyContent),f=void 0===u?"flex-start":u,d=(n.alignContent,n.alignItems),h=void 0===d?"flex-start":d,p="row"===c,g="row"===c||"column"===c,m=p?g?[1,0]:[-1,0]:g?[0,1]:[0,-1],y=(0,r.CR)([0,0],2),v=y[0],b=y[1],x=e.map(function(t){var e,n=t.width,i=t.height,o=(0,r.CR)([v,b],2),l=o[0],s=o[1];return v=(e=(0,r.CR)([v+n*m[0],b+i*m[1]],2))[0],b=e[1],new a.b(l,s,n,i)}),O=o(x),w={"flex-start":0,"flex-end":p?i-O.width:l-O.height,center:p?(i-O.width)/2:(l-O.height)/2},_=x.map(function(t){var e=t.x,n=t.y,r=a.b.fromRect(t);return r.x=p?e+w[f]:e,r.y=p?n:n+w[f],r});o(_);var k=function(t){var e=(0,r.CR)(p?["height",l]:["width",i],2),n=e[0],a=e[1];switch(h){case"flex-start":default:return 0;case"flex-end":return a-t[n];case"center":return a/2-t[n]/2}};return _.map(function(t){var e=t.x,n=t.y,r=a.b.fromRect(t);return r.x=p?e:e+k(r),r.y=p?n+k(r):n,r}).map(function(e){var n,r,i=a.b.fromRect(e);return i.x+=null!==(n=t.x)&&void 0!==n?n:0,i.y+=null!==(r=t.y)&&void 0!==r?r:0,i})},s=function(t,e,n){return[]},c=function(t,e,n){if(0===e.length)return[];var r={flex:l,grid:s},i=n.display in r?r[n.display]:null;return(null==i?void 0:i.call(null,t,e,n))||[]},u=n(62191),f=function(t){function e(e){var n=t.call(this,e)||this;n.layoutEvents=[i.Dk.BOUNDS_CHANGED,i.Dk.INSERTED,i.Dk.REMOVED],n.$margin=(0,u.j)(0),n.$padding=(0,u.j)(0);var r=e.style||{},a=r.margin,o=r.padding;return n.margin=void 0===a?0:a,n.padding=void 0===o?0:o,n.isMutationObserved=!0,n.bindEvents(),n}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"margin",{get:function(){return this.$margin},set:function(t){this.$margin=(0,u.j)(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"padding",{get:function(){return this.$padding},set:function(t){this.$padding=(0,u.j)(t)},enumerable:!1,configurable:!0}),e.prototype.getBBox=function(){var t=this.attributes,e=t.x,n=void 0===e?0:e,i=t.y,o=void 0===i?0:i,l=t.width,s=t.height,c=(0,r.CR)(this.$margin,4),u=c[0],f=c[1],d=c[2],h=c[3];return new a.b(n-h,o-u,l+h+f,s+u+d)},e.prototype.appendChild=function(e,n){return e.isMutationObserved=!0,t.prototype.appendChild.call(this,e,n),e},e.prototype.getAvailableSpace=function(){var t=this.attributes,e=t.width,n=t.height,i=(0,r.CR)(this.$padding,4),o=i[0],l=i[1],s=i[2],c=i[3],u=(0,r.CR)(this.$margin,4),f=u[0],d=u[3];return new a.b(c+d,o+f,e-c-l,n-o-s)},e.prototype.layout=function(){if(this.attributes.display&&this.isConnected&&!this.children.some(function(t){return!t.isConnected}))try{var t=this.attributes,e=t.x,n=t.y;this.style.transform="translate(".concat(e,", ").concat(n,")");var r=c(this.getAvailableSpace(),this.children.map(function(t){return t.getBBox()}),this.attributes);this.children.forEach(function(t,e){var n=r[e],i=n.x,a=n.y;t.style.transform="translate(".concat(i,", ").concat(a,")")})}catch(t){}},e.prototype.bindEvents=function(){var t=this;this.layoutEvents.forEach(function(e){t.addEventListener(e,function(e){e.target.isMutationObserved=!0,t.layout()})})},e.prototype.attributeChangedCallback=function(t,e,n){"margin"===t?this.margin=n:"padding"===t&&(this.padding=n),this.layout()},e}(i.ZA)},45130:function(t,e,n){"use strict";n.d(e,{W:function(){return B}});var r=n(97582),i=n(5951),a=n(33016),o=n(54015),l=n(43629),s=n(1366),c=n(1242),u=n(13279),f=n(17829),d=n(79274),h=n(86650),p=n(8126),g=n(81957),m=n(68040),y=n(45631),v=n(62059),b=n(19712),x=n(56546),O=(0,d.A)({prevBtnGroup:"prev-btn-group",prevBtn:"prev-btn",nextBtnGroup:"next-btn-group",nextBtn:"next-btn",pageInfoGroup:"page-info-group",pageInfo:"page-info",playWindow:"play-window",contentGroup:"content-group",controller:"controller",clipPath:"clip-path"},"navigator"),w=function(t){function e(e){var n=t.call(this,e,{x:0,y:0,animate:{easing:"linear",duration:200,fill:"both"},buttonCursor:"pointer",buttonFill:"black",buttonD:(0,x.LI)(0,0,6),buttonSize:12,controllerPadding:5,controllerSpacing:5,formatter:function(t,e){return"".concat(t,"/").concat(e)},defaultPage:0,loop:!1,orientation:"horizontal",pageNumFill:"black",pageNumFontSize:12,pageNumTextAlign:"start",pageNumTextBaseline:"middle"})||this;return n.playState="idle",n.contentGroup=n.appendChild(new c.ZA({class:O.contentGroup.name})),n.playWindow=n.contentGroup.appendChild(new c.ZA({class:O.playWindow.name})),n.innerCurrPage=n.defaultPage,n}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"defaultPage",{get:function(){var t=this.attributes.defaultPage;return(0,g.Z)(t,0,Math.max(this.pageViews.length-1,0))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pageViews",{get:function(){return this.playWindow.children},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"controllerShape",{get:function(){return this.totalPages>1?{width:55,height:0}:{width:0,height:0}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pageShape",{get:function(){var t,e,n=this.pageViews,i=(0,r.CR)(((null===(e=(t=n.map(function(t){var e=t.getBBox();return[e.width,e.height]}))[0])||void 0===e?void 0:e.map(function(e,n){return t.map(function(t){return t[n]})}))||[]).map(function(t){return Math.max.apply(Math,(0,r.ev)([],(0,r.CR)(t),!1))}),2),a=i[0],o=i[1],l=this.attributes,s=l.pageWidth,c=l.pageHeight;return{pageWidth:void 0===s?a:s,pageHeight:void 0===c?o:c}},enumerable:!1,configurable:!0}),e.prototype.getContainer=function(){return this.playWindow},Object.defineProperty(e.prototype,"totalPages",{get:function(){return this.pageViews.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currPage",{get:function(){return this.innerCurrPage},enumerable:!1,configurable:!0}),e.prototype.getBBox=function(){var e=t.prototype.getBBox.call(this),n=e.x,r=e.y,i=this.controllerShape,a=this.pageShape,o=a.pageWidth,s=a.pageHeight;return new l.b(n,r,o+i.width,s)},e.prototype.goTo=function(t){var e=this,n=this.attributes.animate,i=this.currPage,a=this.playState,o=this.playWindow,l=this.pageViews;if("idle"!==a||t<0||l.length<=0||t>=l.length)return null;l[i].setLocalPosition(0,0),this.prepareFollowingPage(t);var s=(0,r.CR)(this.getFollowingPageDiff(t),2),c=s[0],u=s[1];this.playState="running";var f=(0,y.jt)(o,[{transform:"translate(0, 0)"},{transform:"translate(".concat(-c,", ").concat(-u,")")}],n);return(0,y.Yq)(f,function(){e.innerCurrPage=t,e.playState="idle",e.setVisiblePages([t]),e.updatePageInfo()}),f},e.prototype.prev=function(){var t=this.attributes.loop,e=this.pageViews.length,n=this.currPage;if(!t&&n<=0)return null;var r=t?(n-1+e)%e:(0,g.Z)(n-1,0,e);return this.goTo(r)},e.prototype.next=function(){var t=this.attributes.loop,e=this.pageViews.length,n=this.currPage;if(!t&&n>=e-1)return null;var r=t?(n+1)%e:(0,g.Z)(n+1,0,e);return this.goTo(r)},e.prototype.renderClipPath=function(t){var e=this.pageShape,n=e.pageWidth,r=e.pageHeight;if(!n||!r){this.contentGroup.style.clipPath=void 0;return}this.clipPath=t.maybeAppendByClassName(O.clipPath,"rect").styles({width:n,height:r}),this.contentGroup.attr("clipPath",this.clipPath.node())},e.prototype.setVisiblePages=function(t){this.playWindow.children.forEach(function(e,n){t.includes(n)?(0,v.$Z)(e):(0,v.Cp)(e)})},e.prototype.adjustControllerLayout=function(){var t=this.prevBtnGroup,e=this.nextBtnGroup,n=this.pageInfoGroup,i=this.attributes,a=i.orientation,o=i.controllerPadding,l=n.getBBox(),s=l.width;l.height;var c=(0,r.CR)("horizontal"===a?[-180,0]:[-90,90],2),u=c[0],f=c[1];t.setLocalEulerAngles(u),e.setLocalEulerAngles(f);var d=t.getBBox(),h=d.width,p=d.height,g=e.getBBox(),m=g.width,y=g.height,v=Math.max(h,s,m),b="horizontal"===a?{offset:[[0,0],[h/2+o,0],[h+s+2*o,0]],textAlign:"start"}:{offset:[[v/2,-p-o],[v/2,0],[v/2,y+o]],textAlign:"center"},x=(0,r.CR)(b.offset,3),O=(0,r.CR)(x[0],2),w=O[0],_=O[1],k=(0,r.CR)(x[1],2),C=k[0],j=k[1],M=(0,r.CR)(x[2],2),S=M[0],A=M[1],E=b.textAlign,P=n.querySelector("text");P&&(P.style.textAlign=E),t.setLocalPosition(w,_),n.setLocalPosition(C,j),e.setLocalPosition(S,A)},e.prototype.updatePageInfo=function(){var t,e=this.currPage,n=this.pageViews,r=this.attributes.formatter;n.length<2||(null===(t=this.pageInfoGroup.querySelector(O.pageInfo.class))||void 0===t||t.attr("text",r(e+1,n.length)),this.adjustControllerLayout())},e.prototype.getFollowingPageDiff=function(t){var e=this.currPage;if(e===t)return[0,0];var n=this.attributes.orientation,r=this.pageShape,i=r.pageWidth,a=r.pageHeight,o=t=2,c=t.maybeAppendByClassName(O.controller,"g");if((0,v.WD)(c.node(),s),s){var u=(0,a.zs)(this.attributes,"button"),f=(0,a.zs)(this.attributes,"pageNum"),d=(0,r.CR)((0,a.Hm)(u),2),h=d[0],p=d[1],g=h.size,m=(0,r._T)(h,["size"]),y=!c.select(O.prevBtnGroup.class).node(),x=c.maybeAppendByClassName(O.prevBtnGroup,"g").styles(p);this.prevBtnGroup=x.node();var w=x.maybeAppendByClassName(O.prevBtn,"path"),_=c.maybeAppendByClassName(O.nextBtnGroup,"g").styles(p);this.nextBtnGroup=_.node(),[w,_.maybeAppendByClassName(O.nextBtn,"path")].forEach(function(t){t.styles((0,r.pi)((0,r.pi)({},m),{transformOrigin:"center"})),(0,b.b)(t.node(),g,!0)});var k=c.maybeAppendByClassName(O.pageInfoGroup,"g");this.pageInfoGroup=k.node(),k.maybeAppendByClassName(O.pageInfo,"text").styles(f),this.updatePageInfo(),c.node().setLocalPosition(o+n,l/2),y&&(this.prevBtnGroup.addEventListener("click",function(){e.prev()}),this.nextBtnGroup.addEventListener("click",function(){e.next()}))}},e.prototype.render=function(t,e){var n=t.x,r=t.y,i=void 0===r?0:r;this.attr("transform","translate(".concat(void 0===n?0:n,", ").concat(i,")"));var a=(0,o.Ys)(e);this.renderClipPath(a),this.renderController(a),this.setVisiblePages([this.defaultPage]),this.goTo(this.defaultPage)},e.prototype.bindEvents=function(){var t=this,e=(0,m.Z)(function(){return t.render(t.attributes,t)},50);this.playWindow.addEventListener(c.Dk.INSERTED,e),this.playWindow.addEventListener(c.Dk.REMOVED,e)},e}(i.w),_=n(52644),k=n(86224),C=n(62191),j=n(47772),M=n(39639),S=n(75494),A=n(83186),E=(0,d.A)({layout:"flex",markerGroup:"marker-group",marker:"marker",labelGroup:"label-group",label:"label",valueGroup:"value-group",value:"value",backgroundGroup:"background-group",background:"background"},"legend-category-item"),P=function(t){function e(e){return t.call(this,e,{span:[1,1],marker:function(){return new c.Cd({style:{r:6}})},markerSize:10,labelFill:"#646464",valueFill:"#646464",labelFontSize:12,valueFontSize:12,labelTextBaseline:"middle",valueTextBaseline:"middle"})||this}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"showValue",{get:function(){var t=this.attributes.valueText;return!!t&&("string"==typeof t||"number"==typeof t?""!==t:"function"==typeof t||""!==t.attr("text"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"actualSpace",{get:function(){var t=this.labelGroup,e=this.valueGroup,n=this.attributes.markerSize,r=t.node().getBBox(),i=r.width,a=r.height,o=e.node().getBBox();return{markerWidth:n,labelWidth:i,valueWidth:o.width,height:Math.max(n,a,o.height)}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"span",{get:function(){var t=this.attributes.span;if(!t)return[1,1];var e=(0,r.CR)((0,C.j)(t),2),n=e[0],i=e[1],a=this.showValue?i:0,o=n+a;return[n/o,a/o]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shape",{get:function(){var t,e=this.attributes,n=e.markerSize,i=e.width,a=this.actualSpace,o=a.markerWidth,l=a.height,s=this.actualSpace,c=s.labelWidth,u=s.valueWidth,f=(0,r.CR)(this.spacing,2),d=f[0],h=f[1];if(i){var p=i-n-d-h,g=(0,r.CR)(this.span,2),m=g[0],y=g[1];c=(t=(0,r.CR)([m*p,y*p],2))[0],u=t[1]}return{width:o+c+u+d+h,height:l,markerWidth:o,labelWidth:c,valueWidth:u}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"spacing",{get:function(){var t=this.attributes.spacing;if(!t)return[0,0];var e=(0,r.CR)((0,C.j)(t),2),n=e[0],i=e[1];return this.showValue?[n,i]:[n,0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"layout",{get:function(){var t=this.shape,e=t.markerWidth,n=t.labelWidth,i=t.valueWidth,a=t.width,o=t.height,l=(0,r.CR)(this.spacing,2),s=l[0];return{height:o,width:a,markerWidth:e,labelWidth:n,valueWidth:i,position:[e/2,e+s,e+n+s+l[1]]}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scaleSize",{get:function(){var t,e=(t=this.markerGroup.node().querySelector(E.marker.class))?t.style:{},n=this.attributes,r=n.markerSize,i=n.markerStrokeWidth,a=void 0===i?e.strokeWidth:i,o=n.markerLineWidth,l=void 0===o?e.lineWidth:o,s=n.markerStroke,c=void 0===s?e.stroke:s,u=+(a||l||(c?1:0))*Math.sqrt(2),f=this.markerGroup.node().getBBox();return(1-u/Math.max(f.width,f.height))*r},enumerable:!1,configurable:!0}),e.prototype.renderMarker=function(t){var e=this,n=this.attributes.marker,i=(0,a.zs)(this.attributes,"marker");this.markerGroup=t.maybeAppendByClassName(E.markerGroup,"g").style("zIndex",0),(0,j.z)(!!n,this.markerGroup,function(){var t,a=e.markerGroup.node(),l=null===(t=a.childNodes)||void 0===t?void 0:t[0],s="string"==typeof n?new k.J({style:{symbol:n},className:E.marker.name}):n();l?s.nodeName===l.nodeName?l instanceof k.J?l.update((0,r.pi)((0,r.pi)({},i),{symbol:n})):((0,M.DM)(l,s),(0,o.Ys)(l).styles(i)):(l.remove(),(0,o.Ys)(s).attr("className",E.marker.name).styles(i),a.appendChild(s)):(s instanceof k.J||(0,o.Ys)(s).attr("className",E.marker.name).styles(i),a.appendChild(s)),e.markerGroup.node().scale(1/e.markerGroup.node().getScale()[0]);var c=(0,b.b)(e.markerGroup.node(),e.scaleSize,!0);e.markerGroup.node().style._transform="scale(".concat(c,")")})},e.prototype.renderLabel=function(t){var e=(0,a.zs)(this.attributes,"label"),n=e.text,i=(0,r._T)(e,["text"]);this.labelGroup=t.maybeAppendByClassName(E.labelGroup,"g").style("zIndex",0),this.labelGroup.maybeAppendByClassName(E.label,function(){return(0,S.S)(n)}).styles(i)},e.prototype.renderValue=function(t){var e=this,n=(0,a.zs)(this.attributes,"value"),i=n.text,o=(0,r._T)(n,["text"]);this.valueGroup=t.maybeAppendByClassName(E.valueGroup,"g").style("zIndex",0),(0,j.z)(this.showValue,this.valueGroup,function(){e.valueGroup.maybeAppendByClassName(E.value,function(){return(0,S.S)(i)}).styles(o)})},e.prototype.renderBackground=function(t){var e=this.shape,n=e.width,i=e.height,o=(0,a.zs)(this.attributes,"background");this.background=t.maybeAppendByClassName(E.backgroundGroup,"g").style("zIndex",-1),this.background.maybeAppendByClassName(E.background,"rect").styles((0,r.pi)({width:n,height:i},o))},e.prototype.adjustLayout=function(){var t=this.layout,e=t.labelWidth,n=t.valueWidth,i=t.height,a=(0,r.CR)(t.position,3),o=a[0],l=a[1],s=a[2],c=i/2;this.markerGroup.styles({transform:"translate(".concat(o,", ").concat(c,")").concat(this.markerGroup.node().style._transform)}),this.labelGroup.styles({transform:"translate(".concat(l,", ").concat(c,")")}),(0,A.O)(this.labelGroup.select(E.label.class).node(),Math.ceil(e)),this.showValue&&(this.valueGroup.styles({transform:"translate(".concat(s,", ").concat(c,")")}),(0,A.O)(this.valueGroup.select(E.value.class).node(),Math.ceil(n)))},e.prototype.render=function(t,e){var n=(0,o.Ys)(e),r=t.x,i=t.y,a=void 0===i?0:i;n.styles({transform:"translate(".concat(void 0===r?0:r,", ").concat(a,")")}),this.renderMarker(n),this.renderLabel(n),this.renderValue(n),this.renderBackground(n),this.adjustLayout()},e}(i.w),R=(0,d.A)({page:"item-page",navigator:"navigator",item:"item"},"items"),Z=function(t,e,n){return(void 0===n&&(n=!0),t)?e(t):n},T=function(t){function e(e){var n=t.call(this,e,{data:[],gridRow:1/0,gridCol:void 0,padding:0,width:1e3,height:100,rowPadding:0,colPadding:0,layout:"flex",orientation:"horizontal",click:u.Z,mouseenter:u.Z,mouseleave:u.Z})||this;return n.navigatorShape=[0,0],n}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"pageViews",{get:function(){return this.navigator.getContainer()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"grid",{get:function(){var t=this.attributes,e=t.gridRow,n=t.gridCol,r=t.data;if(!e&&!n)throw Error("gridRow and gridCol can not be set null at the same time");return e&&n?[e,n]:e?[e,r.length]:[r.length,n]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"renderData",{get:function(){var t=this.attributes,e=t.data,n=t.layout,i=(0,a.zs)(this.attributes,"item");return e.map(function(t,a){var o=t.id,l=void 0===o?a:o,s=t.label,c=t.value;return{id:"".concat(l),index:a,style:(0,r.pi)({layout:n,labelText:s,valueText:c},Object.fromEntries(Object.entries(i).map(function(n){var i=(0,r.CR)(n,2),o=i[0],l=i[1];return[o,(0,h.S)(l,[t,a,e])]})))}})},enumerable:!1,configurable:!0}),e.prototype.getGridLayout=function(){var t=this,e=this.attributes,n=e.orientation,i=e.width,a=e.rowPadding,o=e.colPadding,l=(0,r.CR)(this.navigatorShape,1)[0],s=(0,r.CR)(this.grid,2),c=s[0],u=s[1],f=u*c,d=0;return this.pageViews.children.map(function(e,s){var h,p,g=Math.floor(s/f),m=s%f,y=t.ifHorizontal(u,c),v=[Math.floor(m/y),m%y];"vertical"===n&&v.reverse();var b=(0,r.CR)(v,2),x=b[0],O=b[1],w=(i-l-(u-1)*o)/u,_=e.getBBox().height,k=(0,r.CR)([0,0],2),C=k[0],j=k[1];return"horizontal"===n?(C=(h=(0,r.CR)([d,x*(_+a)],2))[0],j=h[1],d=O===u-1?0:d+w+o):(C=(p=(0,r.CR)([O*(w+o),d],2))[0],j=p[1],d=x===c-1?0:d+_+a),{page:g,index:s,row:x,col:O,pageIndex:m,width:w,height:_,x:C,y:j}})},e.prototype.getFlexLayout=function(){var t=this.attributes,e=t.width,n=t.height,i=t.rowPadding,a=t.colPadding,o=(0,r.CR)(this.navigatorShape,1)[0],l=(0,r.CR)(this.grid,2),s=l[0],c=l[1],u=(0,r.CR)([e-o,n],2),f=u[0],d=u[1],h=(0,r.CR)([0,0,0,0,0,0,0,0],8),p=h[0],g=h[1],m=h[2],y=h[3],v=h[4],b=h[5],x=h[6],O=h[7];return this.pageViews.children.map(function(t,e){var n,o,l,u,h=t.getBBox(),w=h.width,_=h.height,k=0===x?0:a,C=x+k+w;return C<=f&&Z(v,function(t){return t0?(this.navigatorShape=[55,0],t.call(this)):e},enumerable:!1,configurable:!0}),e.prototype.ifHorizontal=function(t,e){var n=this.attributes.orientation;return(0,_._h)(n,t,e)},e.prototype.flattenPage=function(t){t.querySelectorAll(R.item.class).forEach(function(e){t.appendChild(e)}),t.querySelectorAll(R.page.class).forEach(function(e){t.removeChild(e).destroy()})},e.prototype.renderItems=function(t){var e=this.attributes,n=e.click,r=e.mouseenter,i=e.mouseleave;this.flattenPage(t);var a=this.dispatchCustomEvent.bind(this);(0,o.Ys)(t).selectAll(R.item.class).data(this.renderData,function(t){return t.id}).join(function(t){return t.append(function(t){var e=t.style;return new P({style:e})}).attr("className",R.item.name).on("click",function(){null==n||n(this),a("itemClick",{item:this})}).on("pointerenter",function(){null==r||r(this),a("itemMouseenter",{item:this})}).on("pointerleave",function(){null==i||i(this),a("itemMouseleave",{item:this})})},function(t){return t.each(function(t){var e=t.style;this.update(e)})},function(t){return t.remove()})},e.prototype.relayoutNavigator=function(){var t,e=this.attributes,n=e.layout,i=e.width,a=(null===(t=this.pageViews.children[0])||void 0===t?void 0:t.getBBox().height)||0,o=(0,r.CR)(this.navigatorShape,2),l=o[0],s=o[1];this.navigator.update("grid"===n?{pageWidth:i-l,pageHeight:a-s}:{})},e.prototype.adjustLayout=function(){var t,e,n=this,i=Object.entries((t=this.itemsLayout,e="page",t.reduce(function(t,n){return(t[n[e]]=t[n[e]]||[]).push(n),t},{}))).map(function(t){var e=(0,r.CR)(t,2);return{page:e[0],layouts:e[1]}}),a=(0,r.ev)([],(0,r.CR)(this.navigator.getContainer().children),!1);i.forEach(function(t){var e=t.layouts,r=n.pageViews.appendChild(new c.ZA({className:R.page.name}));e.forEach(function(t){var e=t.x,n=t.y,i=t.index,o=t.width,l=t.height,s=a[i];r.appendChild(s),(0,f.Z)(s,"__layout__",t),s.update({x:e,y:n,width:o,height:l})})}),this.relayoutNavigator()},e.prototype.renderNavigator=function(t){var e=this.attributes.orientation,n=(0,a.zs)(this.attributes,"nav"),r=(0,p.n)({orientation:e},n),i=this;return t.selectAll(R.navigator.class).data(["nav"]).join(function(t){return t.append(function(){return new w({style:r})}).attr("className",R.navigator.name).each(function(){i.navigator=this})},function(t){return t.each(function(){this.update(r)})},function(t){return t.remove()}),this.navigator},e.prototype.getBBox=function(){return this.navigator.getBBox()},e.prototype.render=function(t,e){var n=this.attributes.data;if(n&&0!==n.length){var r=this.renderNavigator((0,o.Ys)(e));this.renderItems(r.getContainer()),this.adjustLayout()}},e.prototype.dispatchCustomEvent=function(t,e){var n=new c.Aw(t,{detail:e});this.dispatchEvent(n)},e}(i.w),L=n(47334),B=function(t){function e(e){return t.call(this,e,L.bD)||this}return(0,r.ZT)(e,t),e.prototype.renderTitle=function(t,e,n){var i=this.attributes,o=i.showTitle,l=i.titleText,c=(0,a.zs)(this.attributes,"title"),u=(0,r.CR)((0,a.Hm)(c),2),f=u[0],d=u[1];this.titleGroup=t.maybeAppendByClassName(L.Ec.titleGroup,"g").styles(d);var h=(0,r.pi)((0,r.pi)({width:e,height:n},f),{text:o?l:""});this.title=this.titleGroup.maybeAppendByClassName(L.Ec.title,function(){return new s.Dx({style:h})}).update(h)},e.prototype.renderItems=function(t,e){var n=e.x,i=e.y,l=e.width,s=e.height,c=(0,a.zs)(this.attributes,"title",!0),u=(0,r.CR)((0,a.Hm)(c),2),f=u[0],d=u[1],h=(0,r.pi)((0,r.pi)({},f),{width:l,height:s,x:0,y:0});this.itemsGroup=t.maybeAppendByClassName(L.Ec.itemsGroup,"g").styles((0,r.pi)((0,r.pi)({},d),{transform:"translate(".concat(n,", ").concat(i,")")}));var p=this;this.itemsGroup.selectAll(L.Ec.items.class).data(["items"]).join(function(t){return t.append(function(){return new T({style:h})}).attr("className",L.Ec.items.name).each(function(){p.items=(0,o.Ys)(this)})},function(t){return t.update(h)},function(t){return t.remove()})},e.prototype.adjustLayout=function(){if(this.attributes.showTitle){var t=this.title.node().getAvailableSpace(),e=t.x,n=t.y;this.itemsGroup.node().style.transform="translate(".concat(e,", ").concat(n,")")}},Object.defineProperty(e.prototype,"availableSpace",{get:function(){var t=this.attributes,e=t.showTitle,n=t.width,r=t.height;return e?this.title.node().getAvailableSpace():new l.b(0,0,n,r)},enumerable:!1,configurable:!0}),e.prototype.getBBox=function(){var e,n,r=null===(e=this.title)||void 0===e?void 0:e.node(),i=null===(n=this.items)||void 0===n?void 0:n.node();return r&&i?(0,s.jY)(r,i):t.prototype.getBBox.call(this)},e.prototype.render=function(t,e){var n=this.attributes,r=n.width,i=n.height,a=n.x,l=n.y,s=void 0===l?0:l,c=(0,o.Ys)(e);e.style.transform="translate(".concat(void 0===a?0:a,", ").concat(s,")"),this.renderTitle(c,r,i),this.renderItems(c,this.availableSpace),this.adjustLayout()},e}(i.w)},47334:function(t,e,n){"use strict";n.d(e,{B0:function(){return c},D_:function(){return u},Ec:function(){return f},bD:function(){return s}});var r=n(8126),i=n(33016),a=n(79274),o=n(52774),l={showTitle:!0,padding:0,orientation:"horizontal",backgroundFill:"transparent",titleText:"",titleSpacing:4,titlePosition:"top-left",titleFill:"#2C3542",titleFontWeight:"bold",titleFontFamily:"sans-serif",titleFontSize:12},s=(0,r.n)({},l,{}),c=(0,r.n)({},l,(0,i.dq)(o.x,"handle"),{color:["#d0e3fa","#acc7f6","#8daaf2","#6d8eea","#4d73cd","#325bb1","#5a3e75","#8c3c79","#e23455","#e7655b"],indicatorBackgroundFill:"#262626",indicatorLabelFill:"white",indicatorLabelFontSize:12,indicatorVisibility:"hidden",labelAlign:"value",labelDirection:"positive",labelSpacing:5,showHandle:!0,showIndicator:!0,showLabel:!0,slidable:!0,titleText:"",type:"continuous"}),u=.01,f=(0,a.A)({title:"title",titleGroup:"title-group",items:"items",itemsGroup:"items-group",contentGroup:"content-group",ribbonGroup:"ribbon-group",ribbon:"ribbon",handlesGroup:"handles-group",handle:"handle",startHandle:"start-handle",endHandle:"end-handle",labelGroup:"label-group",label:"label",indicator:"indicator"},"legend")},37948:function(t,e,n){"use strict";n.d(e,{V:function(){return I}});var r=n(97582),i=n(1242),a=n(36380),o=n(81957),l=n(71154),s=n(5951),c=n(43629),u=n(54015),f=n(47772),d=n(33016),h=n(8126),p=n(62059),g=n(48951),m=n(26406),y=n(47537),v=n(61021),b=n(79274),x=n(62191),O=n(75494),w=n(39639),_={backgroundFill:"#262626",backgroundLineCap:"round",backgroundLineWidth:1,backgroundStroke:"#333",backgroundZIndex:-1,formatter:function(t){return t.toString()},labelFill:"#fff",labelFontSize:12,labelTextBaseline:"middle",padding:[2,4],position:"right",radius:0,zIndex:999},k=(0,b.A)({background:"background",labelGroup:"label-group",label:"label"},"indicator"),C=function(t){function e(e){var n=t.call(this,e,_)||this;return n.point=[0,0],n.group=n.appendChild(new i.ZA({})),n.isMutationObserved=!0,n}return(0,r.ZT)(e,t),e.prototype.renderBackground=function(){if(this.label){var t=this.attributes,e=t.position,n=t.padding,i=(0,r.CR)((0,x.j)(n),4),a=i[0],o=i[1],l=i[2],s=i[3],f=this.label.node().getLocalBounds(),h=f.min,p=f.max,g=new c.b(h[0]-s,h[1]-a,p[0]+o-h[0]+s,p[1]+l-h[1]+a),m=this.getPath(e,g),y=(0,d.zs)(this.attributes,"background");this.background=(0,u.Ys)(this.group).maybeAppendByClassName(k.background,"path").styles((0,r.pi)((0,r.pi)({},y),{d:m})),this.group.appendChild(this.label.node())}},e.prototype.renderLabel=function(){var t=this.attributes,e=t.formatter,n=t.labelText,i=(0,d.zs)(this.attributes,"label"),a=(0,r.CR)((0,d.Hm)(i),2),o=a[0],l=a[1],s=(o.text,(0,r._T)(o,["text"]));this.label=(0,u.Ys)(this.group).maybeAppendByClassName(k.labelGroup,"g").styles(l),n&&this.label.maybeAppendByClassName(k.label,function(){return(0,O.S)(e(n))}).style("text",e(n).toString()).selectAll("text").styles(s)},e.prototype.adjustLayout=function(){var t=(0,r.CR)(this.point,2),e=t[0],n=t[1],i=this.attributes,a=i.x,o=i.y;this.group.attr("transform","translate(".concat(a-e,", ").concat(o-n,")"))},e.prototype.getPath=function(t,e){var n=this.attributes.radius,i=e.x,a=e.y,o=e.width,l=e.height,s=[["M",i+n,a],["L",i+o-n,a],["A",n,n,0,0,1,i+o,a+n],["L",i+o,a+l-n],["A",n,n,0,0,1,i+o-n,a+l],["L",i+n,a+l],["A",n,n,0,0,1,i,a+l-n],["L",i,a+n],["A",n,n,0,0,1,i+n,a],["Z"]],c={top:4,right:6,bottom:0,left:2}[t],u=this.createCorner([s[c].slice(-2),s[c+1].slice(-2)]);return s.splice.apply(s,(0,r.ev)([c+1,1],(0,r.CR)(u),!1)),s[0][0]="M",s},e.prototype.createCorner=function(t,e){void 0===e&&(e=10);var n=w.wE.apply(void 0,(0,r.ev)([],(0,r.CR)(t),!1)),i=(0,r.CR)(t,2),a=(0,r.CR)(i[0],2),o=a[0],l=a[1],s=(0,r.CR)(i[1],2),c=s[0],u=s[1],f=(0,r.CR)(n?[c-o,[o,c]]:[u-l,[l,u]],2),d=f[0],h=(0,r.CR)(f[1],2),p=h[0],g=h[1],m=d/2,y=e*(d/Math.abs(d)),v=y/2,b=y*Math.sqrt(3)/2*.8,x=(0,r.CR)([p,p+m-v,p+m,p+m+v,g],5),O=x[0],_=x[1],k=x[2],C=x[3],j=x[4];return n?(this.point=[k,l-b],[["L",O,l],["L",_,l],["L",k,l-b],["L",C,l],["L",j,l]]):(this.point=[o+b,k],[["L",o,O],["L",o,_],["L",o+b,k],["L",o,C],["L",o,j]])},e.prototype.applyVisibility=function(){"hidden"===this.attributes.visibility?(0,p.Cp)(this):(0,p.$Z)(this)},e.prototype.bindEvents=function(){this.label.on(i.Dk.BOUNDS_CHANGED,this.renderBackground)},e.prototype.render=function(){this.renderLabel(),this.renderBackground(),this.adjustLayout(),this.applyVisibility()},e}(s.w),j=n(77687),M=n(1366),S=n(47334),A=n(52774),E=n(45607),P=n(52644);function R(t,e){var n=(0,r.CR)(function(t,e){for(var n=1;n=r&&e<=i)return[r,i]}return[e,e]}(t,e),2),i=n[0],a=n[1];return{tick:e>(i+a)/2?a:i,range:[i,a]}}var Z=(0,b.A)({trackGroup:"background-group",track:"background",selectionGroup:"ribbon-group",selection:"ribbon",clipPath:"clip-path"},"ribbon");function T(t){var e=t.orientation,n=t.size,r=t.length;return(0,P._h)(e,[r,n],[n,r])}function L(t){var e=t.type,n=(0,r.CR)(T(t),2),i=n[0],a=n[1];return"size"===e?[["M",0,a],["L",0+i,0],["L",0+i,a],["Z"]]:[["M",0,a],["L",0,0],["L",0+i,0],["L",0+i,a],["Z"]]}var B=function(t){function e(e){return t.call(this,e,{type:"color",orientation:"horizontal",size:30,range:[0,1],length:200,block:!1,partition:[],color:["#fff","#000"],trackFill:"#e5e5e5"})||this}return(0,r.ZT)(e,t),e.prototype.render=function(t,e){var n,a,o,l,s,c,f,h,p,g,m,y,v,b,x;(function(t,e){var n=(0,d.zs)(e,"track");t.maybeAppendByClassName(Z.track,"path").styles((0,r.pi)({d:L(e)},n))})((0,u.Ys)(e).maybeAppendByClassName(Z.trackGroup,"g"),t),n=(0,u.Ys)(e).maybeAppendByClassName(Z.selectionGroup,"g"),a=(0,d.zs)(t,"selection"),g=(c=t).orientation,m=c.color,y=c.block,v=c.partition,b=(p=(0,E.Z)(m)?Array(20).fill(0).map(function(t,e,n){return m(e/(n.length-1))}):m).length,x=p.map(function(t){return(0,i.lu)(t).toString()}),o=b?1===b?x[0]:y?(f=Array.from(x),Array(h=v.length).fill(0).reduce(function(t,e,n){var r=f[n%f.length];return t+" ".concat(v[n],":").concat(r).concat(ng?Math.max(d-s,0):Math.max((d-s-g)/y,0));var x=Math.max(m,u),O=h-x,w=(0,r.CR)(this.ifHorizontal([O,v],[v,O]),2),_=w[0],k=w[1],C=["top","left"].includes(b)?s:0,j=(0,r.CR)(this.ifHorizontal([x/2,C],[C,x/2]),2),M=j[0],S=j[1];return new c.b(M,S,_,k)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ribbonShape",{get:function(){var t=this.ribbonBBox,e=t.width,n=t.height;return this.ifHorizontal({size:n,length:e},{size:e,length:n})},enumerable:!1,configurable:!0}),e.prototype.renderRibbon=function(t){var e=this.attributes,n=e.data,r=e.type,i=e.orientation,a=e.color,o=e.block,l=(0,d.zs)(this.attributes,"ribbon"),s=this.range,c=s.min,u=s.max,f=this.ribbonBBox,p=f.x,g=f.y,m=this.ribbonShape,y=m.length,v=m.size,b=(0,h.n)({transform:"translate(".concat(p,", ").concat(g,")"),length:y,size:v,type:r,orientation:i,color:a,block:o,partition:n.map(function(t){return(t.value-c)/(u-c)}),range:this.ribbonRange},l);this.ribbon=t.maybeAppendByClassName(S.Ec.ribbon,function(){return new B({style:b})}).update(b)},e.prototype.getHandleClassName=function(t){return"".concat(S.Ec.prefix("".concat(t,"-handle")))},e.prototype.renderHandles=function(){var t=this.attributes,e=t.showHandle,n=t.orientation,i=(0,d.zs)(this.attributes,"handle"),a=(0,r.CR)(this.selection,2),o=a[0],l=a[1],s=(0,r.pi)((0,r.pi)({},i),{orientation:n}),c=i.shape,u="basic"===(void 0===c?"slider":c)?A.H:j.H,f=this;this.handlesGroup.selectAll(S.Ec.handle.class).data(e?[{value:o,type:"start"},{value:l,type:"end"}]:[],function(t){return t.type}).join(function(t){return t.append(function(){return new u({style:s})}).attr("className",function(t){var e=t.type;return"".concat(S.Ec.handle," ").concat(f.getHandleClassName(e))}).each(function(t){var e=t.type,n=t.value;this.update({labelText:n}),f["".concat(e,"Handle")]=this,this.addEventListener("pointerdown",f.onDragStart(e))})},function(t){return t.update(s).each(function(t){var e=t.value;this.update({labelText:e})})},function(t){return t.each(function(t){var e=t.type;f["".concat(e,"Handle")]=void 0}).remove()})},e.prototype.adjustHandles=function(){var t=(0,r.CR)(this.selection,2),e=t[0],n=t[1];this.setHandlePosition("start",e),this.setHandlePosition("end",n)},Object.defineProperty(e.prototype,"handleBBox",{get:function(){if(this.cacheHandleBBox)return this.cacheHandleBBox;if(!this.attributes.showHandle)return new c.b(0,0,0,0);var t=this.startHandle.getBBox(),e=t.width,n=t.height,i=this.endHandle.getBBox(),a=i.width,o=i.height,l=(0,r.CR)([Math.max(e,a),Math.max(n,o)],2),s=l[0],u=l[1];return this.cacheHandleBBox=new c.b(0,0,s,u),this.cacheHandleBBox},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"handleShape",{get:function(){var t=this.handleBBox,e=t.width,n=t.height,i=(0,r.CR)(this.ifHorizontal([n,e],[e,n]),2),a=i[0],o=i[1];return{width:e,height:n,size:a,length:o}},enumerable:!1,configurable:!0}),e.prototype.setHandlePosition=function(t,e){var n=this.attributes.handleFormatter,i=this.ribbonBBox,a=i.x,o=i.y,l=this.ribbonShape.size,s=this.getOffset(e),c=(0,r.CR)(this.ifHorizontal([a+s,o+l*this.handleOffsetRatio],[a+l*this.handleOffsetRatio,o+s]),2),u=c[0],f=c[1],d=this.handlesGroup.select(".".concat(this.getHandleClassName(t))).node();null==d||d.update({transform:"translate(".concat(u,", ").concat(f,")"),formatter:n})},e.prototype.renderIndicator=function(t){var e=(0,d.zs)(this.attributes,"indicator");this.indicator=t.maybeAppendByClassName(S.Ec.indicator,function(){return new C({})}).update(e)},Object.defineProperty(e.prototype,"labelData",{get:function(){var t=this;return this.attributes.data.reduce(function(e,n,i,a){var o,l,s=null!==(o=null==n?void 0:n.id)&&void 0!==o?o:i.toString();if(e.push((0,r.pi)((0,r.pi)({},n),{id:s,index:i,type:"value",label:null!==(l=null==n?void 0:n.label)&&void 0!==l?l:n.value.toString(),value:t.ribbonScale.map(n.value)})),iy&&(m=(a=(0,r.CR)([y,m],2))[0],y=a[1]),v>s-l)?[l,s]:ms?p===s&&h===m?[m,s]:[s-v,s]:[m,y]}function l(t,e,n){return void 0===t&&(t="horizontal"),"horizontal"===t?e:n}i.J.registerSymbol("hiddenHandle",function(t,e,n){var r=1.4*n;return[["M",t-n,e-r],["L",t+n,e-r],["L",t+n,e+r],["L",t-n,e+r],["Z"]]}),i.J.registerSymbol("verticalHandle",function(t,e,n){var r=1.4*n,i=n/2,a=n/6,o=t+.4*r;return[["M",t,e],["L",o,e+i],["L",t+r,e+i],["L",t+r,e-i],["L",o,e-i],["Z"],["M",o,e+a],["L",t+r-2,e+a],["M",o,e-a],["L",t+r-2,e-a]]}),i.J.registerSymbol("horizontalHandle",function(t,e,n){var r=1.4*n,i=n/2,a=n/6,o=e+.4*r;return[["M",t,e],["L",t-i,o],["L",t-i,e+r],["L",t+i,e+r],["L",t+i,o],["Z"],["M",t-a,o],["L",t-a,e+r-2],["M",t+a,o],["L",t+a,e+r-2]]})},86224:function(t,e,n){"use strict";n.d(e,{J:function(){return f}});var r=n(97582),i=n(45607),a=n(5951),o=n(47772),l=n(54015),s=n(56546),c=n(4637),u=n(76714),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.render=function(t,n){var a,s=t.x,f=void 0===s?0:s,d=t.y,h=void 0===d?0:d,p=this.getSubShapeStyle(t),g=p.symbol,m=p.size,y=void 0===m?16:m,v=(0,r._T)(p,["symbol","size"]),b=["base64","url","image"].includes(a=function(t){var e="default";if((0,c.Z)(t)&&t instanceof Image)e="image";else if((0,i.Z)(t))e="symbol";else if((0,u.Z)(t)){var n=RegExp("data:(image|text)");e=t.match(n)?"base64":/^(https?:\/\/(([a-zA-Z0-9]+-?)+[a-zA-Z0-9]+\.)+[a-zA-Z]+)(:\d+)?(\/.*)?(\?.*)?(#.*)?$/.test(t)?"url":"symbol"}return e}(g))?"image":g&&"symbol"===a?"path":null;(0,o.z)(!!b,(0,l.Ys)(n),function(t){t.maybeAppendByClassName("marker",b).attr("className","marker ".concat(b,"-marker")).call(function(t){if("image"===b){var n=2*y;t.styles({img:g,width:n,height:n,x:f-y,y:h-y})}else{var n=y/2,a=(0,i.Z)(g)?g:e.getSymbol(g);t.styles((0,r.pi)({d:null==a?void 0:a(f,h,n)},v))}})})},e.MARKER_SYMBOL_MAP=new Map,e.registerSymbol=function(t,n){e.MARKER_SYMBOL_MAP.set(t,n)},e.getSymbol=function(t){return e.MARKER_SYMBOL_MAP.get(t)},e.getSymbols=function(){return Array.from(e.MARKER_SYMBOL_MAP.keys())},e}(a.w);f.registerSymbol("cross",s.kC),f.registerSymbol("hyphen",s.Zb),f.registerSymbol("line",s.jv),f.registerSymbol("plus",s.PD),f.registerSymbol("tick",s.Ky),f.registerSymbol("circle",s.Xw),f.registerSymbol("point",s.xm),f.registerSymbol("bowtie",s.XF),f.registerSymbol("hexagon",s.bL),f.registerSymbol("square",s.h6),f.registerSymbol("diamond",s.tf),f.registerSymbol("triangle",s.cP),f.registerSymbol("triangle-down",s.MG),f.registerSymbol("line",s.jv),f.registerSymbol("dot",s.AK),f.registerSymbol("dash",s.P2),f.registerSymbol("smooth",s.ip),f.registerSymbol("hv",s.hv),f.registerSymbol("vh",s.vh),f.registerSymbol("hvh",s.t7),f.registerSymbol("vhv",s.sN)},56546:function(t,e,n){"use strict";n.d(e,{AK:function(){return m},Ky:function(){return h},LI:function(){return _},MG:function(){return s},P2:function(){return y},PD:function(){return p},XF:function(){return u},Xw:function(){return r},Zb:function(){return g},bL:function(){return c},cP:function(){return l},h6:function(){return a},hv:function(){return b},ip:function(){return v},jv:function(){return f},kC:function(){return d},sN:function(){return w},t7:function(){return O},tf:function(){return o},vh:function(){return x},xm:function(){return i}});var r=function(t,e,n){return[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e],["Z"]]},i=r,a=function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},o=function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},l=function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]},s=function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]},c=function(t,e,n){var r=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+r,e-n/2],["L",t+r,e+n/2],["L",t,e+n],["L",t-r,e+n/2],["L",t-r,e-n/2],["Z"]]},u=function(t,e,n){var r=n-1.5;return[["M",t-n,e-r],["L",t+n,e+r],["L",t+n,e-r],["L",t-n,e+r],["Z"]]},f=function(t,e,n){return[["M",t,e+n],["L",t,e-n]]},d=function(t,e,n){return[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]]},h=function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},p=function(t,e,n){return[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]]},g=function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},m=function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},y=m,v=function(t,e,n){return[["M",t-n,e],["A",n/2,n/2,0,1,1,t,e],["A",n/2,n/2,0,1,0,t+n,e]]},b=function(t,e,n){return[["M",t-n-1,e-2.5],["L",t,e-2.5],["L",t,e+2.5],["L",t+n+1,e+2.5]]},x=function(t,e,n){return[["M",t-n-1,e+2.5],["L",t,e+2.5],["L",t,e-2.5],["L",t+n+1,e-2.5]]},O=function(t,e,n){return[["M",t-(n+1),e+2.5],["L",t-n/2,e+2.5],["L",t-n/2,e-2.5],["L",t+n/2,e-2.5],["L",t+n/2,e+2.5],["L",t+n+1,e+2.5]]};function w(t,e){return[["M",t-5,e+2.5],["L",t-5,e],["L",t,e],["L",t,e-3],["L",t,e+3],["L",t+6.5,e+3]]}var _=function(t,e,n){return[["M",t-n,e-n],["L",t+n,e],["L",t-n,e+n],["Z"]]}},53020:function(t,e,n){"use strict";n.d(e,{L:function(){return d}});var r=n(97582),i=n(1242),a=n(81957),o=n(5951),l=n(26406),s=n(62191),c=n(33016),u=n(54015),f=n(6394),d=function(t){function e(e){var n=t.call(this,e,{x:0,y:0,isRound:!0,orientation:"vertical",padding:[2,2,2,2],scrollable:!0,slidable:!0,thumbCursor:"default",trackSize:10,value:0})||this;return n.range=[0,1],n.onValueChange=function(t){var e=n.attributes.value;if(t!==e){var r={detail:{oldValue:t,value:e}};n.dispatchEvent(new i.Aw("scroll",r)),n.dispatchEvent(new i.Aw("valuechange",r))}},n.onTrackClick=function(t){if(n.attributes.slidable){var e=(0,r.CR)(n.getLocalPosition(),2),i=e[0],a=e[1],o=(0,r.CR)(n.padding,4),s=o[0],c=o[3],u=n.getOrientVal([i+c,a+s]),f=(n.getOrientVal((0,l.s)(t))-u)/n.trackLength;n.setValue(f,!0)}},n.onThumbMouseenter=function(t){n.dispatchEvent(new i.Aw("thumbMouseenter",{detail:t.detail}))},n.onTrackMouseenter=function(t){n.dispatchEvent(new i.Aw("trackMouseenter",{detail:t.detail}))},n.onThumbMouseleave=function(t){n.dispatchEvent(new i.Aw("thumbMouseleave",{detail:t.detail}))},n.onTrackMouseleave=function(t){n.dispatchEvent(new i.Aw("trackMouseleave",{detail:t.detail}))},n}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"padding",{get:function(){var t=this.attributes.padding;return(0,s.j)(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){var t=this.attributes.value,e=(0,r.CR)(this.range,2),n=e[0],i=e[1];return(0,a.Z)(t,n,i)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"trackLength",{get:function(){var t=this.attributes,e=t.viewportLength,n=t.trackLength;return void 0===n?e:n},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"availableSpace",{get:function(){var t=this.attributes.trackSize,e=this.trackLength,n=(0,r.CR)(this.padding,4),i=n[0],a=n[1],o=n[2],l=n[3],s=(0,r.CR)(this.getOrientVal([[e,t],[t,e]]),2);return{x:l,y:i,width:+s[0]-(l+a),height:+s[1]-(i+o)}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"trackRadius",{get:function(){var t=this.attributes,e=t.isRound,n=t.trackSize;return e?n/2:0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"thumbRadius",{get:function(){var t=this.attributes,e=t.isRound,n=t.thumbRadius;if(!e)return 0;var r=this.availableSpace,i=r.width,a=r.height;return n||this.getOrientVal([a,i])/2},enumerable:!1,configurable:!0}),e.prototype.getValues=function(t){void 0===t&&(t=this.value);var e=this.attributes,n=e.viewportLength/e.contentLength,i=(0,r.CR)(this.range,2),a=i[0],o=t*(i[1]-a-n);return[o,o+n]},e.prototype.getValue=function(){return this.value},e.prototype.renderSlider=function(t){var e=this.attributes,n=e.x,i=e.y,a=e.orientation,o=e.trackSize,l=e.padding,s=e.slidable,d=(0,c.zs)(this.attributes,"track"),h=(0,c.zs)(this.attributes,"thumb"),p=(0,r.pi)((0,r.pi)({x:n,y:i,brushable:!1,orientation:a,padding:l,selectionRadius:this.thumbRadius,showHandle:!1,slidable:s,trackLength:this.trackLength,trackRadius:this.trackRadius,trackSize:o,values:this.getValues()},(0,c.dq)(d,"track")),(0,c.dq)(h,"selection"));this.slider=(0,u.Ys)(t).maybeAppendByClassName("scrollbar",function(){return new f.i({style:p})}).update(p).node()},e.prototype.render=function(t,e){this.renderSlider(e)},e.prototype.setValue=function(t,e){void 0===e&&(e=!1);var n=this.attributes.value,i=(0,r.CR)(this.range,2),o=i[0],l=i[1];this.slider.setValues(this.getValues((0,a.Z)(t,o,l)),e),this.onValueChange(n)},e.prototype.bindEvents=function(){var t=this;this.slider.addEventListener("trackClick",function(e){e.stopPropagation(),t.onTrackClick(e.detail)}),this.onHover()},e.prototype.getOrientVal=function(t){return"horizontal"===this.attributes.orientation?t[0]:t[1]},e.prototype.onHover=function(){this.slider.addEventListener("selectionMouseenter",this.onThumbMouseenter),this.slider.addEventListener("trackMouseenter",this.onTrackMouseenter),this.slider.addEventListener("selectionMouseleave",this.onThumbMouseleave),this.slider.addEventListener("trackMouseleave",this.onTrackMouseleave)},e.tag="scrollbar",e}(o.w)},42100:function(t,e,n){"use strict";n.d(e,{Ec:function(){return l},Qi:function(){return i},b0:function(){return a},fI:function(){return o}});var r=n(79274),i={fill:"#fff",lineWidth:1,radius:2,size:10,stroke:"#bfbfbf",strokeOpacity:1,zIndex:0},a={fill:"#000",fillOpacity:.45,fontSize:12,textAlign:"center",textBaseline:"middle",zIndex:1},o={x:0,y:0,orientation:"horizontal",showLabel:!0,type:"start"},l=(0,r.A)({foreground:"foreground",handle:"handle",selection:"selection",sparkline:"sparkline",sparklineGroup:"sparkline-group",track:"track",brushArea:"brush-area"},"slider")},77687:function(t,e,n){"use strict";n.d(e,{H:function(){return d}});var r=n(97582),i=n(5951),a=n(79274),o=n(54015),l=n(33016),s=n(47772),c=n(42100),u=(0,a.A)({labelGroup:"label-group",label:"label",iconGroup:"icon-group",icon:"icon",iconRect:"icon-rect",iconLine:"icon-line"},"handle"),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.render=function(t,e){var n=t.x,i=t.y,a=t.size,l=void 0===a?10:a,s=t.radius,c=t.orientation,f=(0,r._T)(t,["x","y","size","radius","orientation"]),d=2.4*l,h=(0,o.Ys)(e).maybeAppendByClassName(u.iconRect,"rect").styles((0,r.pi)((0,r.pi)({},f),{width:l,height:d,radius:void 0===s?l/4:s,x:n-l/2,y:i-d/2,transformOrigin:"center"})),p=n+1/3*l-l/2,g=n+2/3*l-l/2,m=i+1/4*d-d/2,y=i+3/4*d-d/2;h.maybeAppendByClassName("".concat(u.iconLine,"-1"),"line").styles((0,r.pi)({x1:p,x2:p,y1:m,y2:y},f)),h.maybeAppendByClassName("".concat(u.iconLine,"-2"),"line").styles((0,r.pi)({x1:g,x2:g,y1:m,y2:y},f)),"vertical"===c&&(h.node().style.transform="rotate(90)")},e}(i.w),d=function(t){function e(e){return t.call(this,e,c.fI)||this}return(0,r.ZT)(e,t),e.prototype.renderLabel=function(t){var e=this,n=this.attributes,i=n.x,a=n.y,f=n.showLabel,d=(0,l.zs)(this.attributes,"label"),h=d.x,p=void 0===h?0:h,g=d.y,m=void 0===g?0:g,y=d.transform,v=d.transformOrigin,b=(0,r._T)(d,["x","y","transform","transformOrigin"]),x=(0,r.CR)((0,l.Hm)(b,[]),2),O=x[0],w=x[1],_=(0,o.Ys)(t).maybeAppendByClassName(u.labelGroup,"g").styles(w),k=(0,r.pi)((0,r.pi)({},c.b0),O),C=k.text,j=(0,r._T)(k,["text"]);(0,s.z)(!!f,_,function(t){e.label=t.maybeAppendByClassName(u.label,"text").styles((0,r.pi)((0,r.pi)({},j),{x:i+p,y:a+m,transform:y,transformOrigin:v,text:"".concat(C)})),e.label.on("mousedown",function(t){t.stopPropagation()}),e.label.on("touchstart",function(t){t.stopPropagation()})})},e.prototype.renderIcon=function(t){var e=this.attributes,n=e.x,i=e.y,a=e.orientation,s=e.type,d=(0,r.pi)((0,r.pi)({x:n,y:i,orientation:a},c.Qi),(0,l.zs)(this.attributes,"icon")),h=this.attributes.iconShape,p=void 0===h?function(){return new f({style:d})}:h;(0,o.Ys)(t).maybeAppendByClassName(u.iconGroup,"g").selectAll(u.icon.class).data([p]).join(function(t){return t.append("string"==typeof p?p:function(){return p(s)}).attr("className",u.icon.name)},function(t){return t.update(d)},function(t){return t.remove()})},e.prototype.render=function(t,e){this.renderIcon(e),this.renderLabel(e)},e}(i.w)},6394:function(t,e,n){"use strict";n.d(e,{i:function(){return N}});var r=n(97582),i=n(1242),a=n(81957),o=n(45631),l=n(5951),s=n(8523),c=n(33016),u=n(26406),f=n(62191),d=n(54015),h=n(47772),p=n(48951),g=n(36380),m=n(88944),y=n(83207),v=n(25897),b=n(5199),x=n(45607),O=n(83787),w=n(8126),_=function(t){function e(e){var n=this,a=e.style,o=(0,r._T)(e,["style"]);return(n=t.call(this,(0,O.Z)({},{type:"column"},(0,r.pi)({style:a},o)))||this).columnsGroup=new i.ZA({name:"columns"}),n.appendChild(n.columnsGroup),n.render(),n}return(0,r.ZT)(e,t),e.prototype.render=function(){var t=this.attributes,e=t.columns,n=t.x,r=t.y;this.columnsGroup.style.transform="translate(".concat(n,", ").concat(r,")"),(0,d.Ys)(this.columnsGroup).selectAll(".column").data(e.flat()).join(function(t){return t.append("rect").attr("className","column").each(function(t){this.attr(t)})},function(t){return t.each(function(t){this.attr(t)})},function(t){return t.remove()})},e.prototype.update=function(t){this.attr((0,w.n)({},this.attributes,t)),this.render()},e.prototype.clear=function(){this.removeChildren()},e}(i.s$),k=function(t){function e(e){var n=this,a=e.style,o=(0,r._T)(e,["style"]);return(n=t.call(this,(0,O.Z)({},{type:"lines"},(0,r.pi)({style:a},o)))||this).linesGroup=n.appendChild(new i.ZA),n.areasGroup=n.appendChild(new i.ZA),n.render(),n}return(0,r.ZT)(e,t),e.prototype.render=function(){var t=this.attributes,e=t.lines,n=t.areas,r=t.x,i=t.y;this.style.transform="translate(".concat(r,", ").concat(i,")"),e&&this.renderLines(e),n&&this.renderAreas(n)},e.prototype.clear=function(){this.linesGroup.removeChildren(),this.areasGroup.removeChildren()},e.prototype.update=function(t){this.attr((0,w.n)({},this.attributes,t)),this.render()},e.prototype.renderLines=function(t){(0,d.Ys)(this.linesGroup).selectAll(".line").data(t).join(function(t){return t.append("path").attr("className","line").each(function(t){this.attr(t)})},function(t){return t.each(function(t){this.attr(t)})},function(t){return t.remove()})},e.prototype.renderAreas=function(t){(0,d.Ys)(this.linesGroup).selectAll(".area").data(t).join(function(t){return t.append("path").attr("className","area").each(function(t){this.attr(t)})},function(t){return t.each(function(t){this.style(t)})},function(t){return t.remove()})},e}(i.s$),C=n(30335),j=n(80264);function M(t,e){void 0===e&&(e=!1);var n=e?t.length-1:0,i=t.map(function(t,e){return(0,r.ev)([e===n?"M":"L"],(0,r.CR)(t),!1)});return e?i.reverse():i}function S(t,e){if(void 0===e&&(e=!1),t.length<=2)return M(t);for(var n=[],i=t.length,a=0;a=0?(s[c]+=a[c],a[c]=s[c]):(s[c]+=o[c],o[c]=s[c]);return e}var B=function(t){function e(e){return t.call(this,e,{type:"line",x:0,y:0,width:200,height:20,isStack:!1,color:["#83daad","#edbf45","#d2cef9","#e290b3","#6f63f4"],smooth:!0,lineLineWidth:1,areaOpacity:0,isGroup:!1,columnLineWidth:1,columnStroke:"#fff",scale:1,spacing:0})||this}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"rawData",{get:function(){var t=this.attributes.data;if(!t||(null==t?void 0:t.length)===0)return[[]];var e=(0,y.Z)(t);return(0,v.Z)(e[0])?[e]:e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this.attributes.isStack?L(this.rawData):this.rawData},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scales",{get:function(){return this.createScales(this.data)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseline",{get:function(){var t=this.scales.y,e=(0,r.CR)(t.getOptions().domain||[0,0],2),n=e[0],i=e[1];return i<0?t.map(i):t.map(n<0?0:n)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"containerShape",{get:function(){var t=this.attributes;return{width:t.width,height:t.height}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"linesStyle",{get:function(){var t=this,e=this.attributes,n=e.type,i=e.isStack,o=e.smooth;if("line"!==n)throw Error("linesStyle can only be used in line type");var l=(0,c.zs)(this.attributes,"area"),s=(0,c.zs)(this.attributes,"line"),u=this.containerShape.width,f=this.data;if(0===f[0].length)return{lines:[],areas:[]};var d=this.scales,h=(y=(g={type:"line",x:d.x,y:d.y}).x,v=g.y,x=(b=(0,r.CR)(v.getOptions().range||[0,0],2))[0],(O=b[1])>x&&(O=(m=(0,r.CR)([x,O],2))[0],x=m[1]),f.map(function(t){return t.map(function(t,e){return[y.map(e),(0,a.Z)(v.map(t),O,x)]})})),p=[];if(l){var g,m,y,v,b,x,O,w=this.baseline;p=i?o?function(t,e,n){for(var i=[],a=t.length-1;a>=0;a-=1){var o=t[a],l=S(o),s=void 0;if(0===a)s=A(l,e,n);else{var c=S(t[a-1],!0),u=o[0];c[0][0]="L",s=(0,r.ev)((0,r.ev)((0,r.ev)([],(0,r.CR)(l),!1),(0,r.CR)(c),!1),[(0,r.ev)(["M"],(0,r.CR)(u),!1),["Z"]],!1)}i.push(s)}return i}(h,u,w):function(t,e,n){for(var i=[],a=t.length-1;a>=0;a-=1){var o=M(t[a]),l=void 0;if(0===a)l=A(o,e,n);else{var s=M(t[a-1],!0);s[0][0]="L",l=(0,r.ev)((0,r.ev)((0,r.ev)([],(0,r.CR)(o),!1),(0,r.CR)(s),!1),[["Z"]],!1)}i.push(l)}return i}(h,u,w):h.map(function(t){return A(o?S(t):M(t),u,w)})}return{lines:h.map(function(e,n){return(0,r.pi)({stroke:t.getColor(n),d:o?S(e):M(e)},s)}),areas:p.map(function(e,n){return(0,r.pi)({d:e,fill:t.getColor(n)},l)})}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"columnsStyle",{get:function(){var t=this,e=(0,c.zs)(this.attributes,"column"),n=this.attributes,i=n.isStack,a=n.type,o=n.scale;if("column"!==a)throw Error("columnsStyle can only be used in column type");var l=this.containerShape.height,s=this.rawData;if(!s)return{columns:[]};i&&(s=L(s));var u=this.createScales(s),f=u.x,d=u.y,h=(0,r.CR)(T(s),2),p=h[0],m=h[1],y=new g.b({domain:[0,m-(p>0?0:p)],range:[0,l*o]}),v=f.getBandWidth(),b=this.rawData;return{columns:s.map(function(n,a){return n.map(function(n,o){var l=v/s.length;return(0,r.pi)((0,r.pi)({fill:t.getColor(a)},e),i?{x:f.map(o),y:d.map(n),width:v,height:y.map(b[a][o])}:{x:f.map(o)+l*a,y:n>=0?d.map(n):d.map(0),width:l,height:y.map(Math.abs(n))})})})}},enumerable:!1,configurable:!0}),e.prototype.render=function(t,e){(0,d.OV)(e,".container","rect").attr("className","container").node();var n=t.type,i=t.x,a=t.y,o="spark".concat(n),l=(0,r.pi)({x:i,y:a},"line"===n?this.linesStyle:this.columnsStyle);(0,d.Ys)(e).selectAll(".spark").data([n]).join(function(t){return t.append(function(t){return"line"===t?new k({className:o,style:l}):new _({className:o,style:l})}).attr("className","spark ".concat(o))},function(t){return t.update(l)},function(t){return t.remove()})},e.prototype.getColor=function(t){var e=this.attributes.color;return(0,b.Z)(e)?e[t%e.length]:(0,x.Z)(e)?e.call(null,t):e},e.prototype.createScales=function(t){var e,n,i=this.attributes,a=i.type,o=i.scale,l=i.range,s=void 0===l?[]:l,c=i.spacing,u=this.containerShape,f=u.width,d=u.height,h=(0,r.CR)(T(t),2),p=h[0],y=h[1],v=new g.b({domain:[null!==(e=s[0])&&void 0!==e?e:p,null!==(n=s[1])&&void 0!==n?n:y],range:[d,d*(1-o)]});return"line"===a?{type:a,x:new g.b({domain:[0,t[0].length-1],range:[0,f]}),y:v}:{type:a,x:new m.t({domain:t[0].map(function(t,e){return e}),range:[0,f],paddingInner:c,paddingOuter:c/2,align:.5}),y:v}},e.tag="sparkline",e}(l.w),I=n(42100),D=n(77687),N=function(t){function e(e){var n=t.call(this,e,(0,r.pi)((0,r.pi)((0,r.pi)({x:0,y:0,animate:{duration:100,fill:"both"},brushable:!0,formatter:function(t){return t.toString()},handleSpacing:2,orientation:"horizontal",padding:0,autoFitLabel:!0,scrollable:!0,selectionFill:"#5B8FF9",selectionFillOpacity:.45,selectionZIndex:2,showHandle:!0,showLabel:!0,slidable:!0,trackFill:"#416180",trackLength:200,trackOpacity:.05,trackSize:20,trackZIndex:-1,values:[0,1],type:"range",selectionType:"select",handleIconOffset:0},(0,c.dq)(I.fI,"handle")),(0,c.dq)(I.Qi,"handleIcon")),(0,c.dq)(I.b0,"handleLabel")))||this;return n.range=[0,1],n.onDragStart=function(t){return function(e){e.stopPropagation(),n.target=t,n.prevPos=n.getOrientVal((0,u.s)(e));var r=n.availableSpace,i=r.x,a=r.y,o=n.getBBox(),l=o.x,s=o.y;n.selectionStartPos=n.getRatio(n.prevPos-n.getOrientVal([i,a])-n.getOrientVal([+l,+s])),n.selectionWidth=0,document.addEventListener("pointermove",n.onDragging),document.addEventListener("pointerup",n.onDragEnd)}},n.onDragging=function(t){var e=n.attributes,r=e.slidable,i=e.brushable,a=e.type;t.stopPropagation();var o=n.getOrientVal((0,u.s)(t)),l=o-n.prevPos;if(l){var s=n.getRatio(l);switch(n.target){case"start":r&&n.setValuesOffset(s);break;case"end":r&&n.setValuesOffset(0,s);break;case"selection":r&&n.setValuesOffset(s,s);break;case"track":if(!i)return;n.selectionWidth+=s,"range"===a?n.innerSetValues([n.selectionStartPos,n.selectionStartPos+n.selectionWidth].sort(),!0):n.innerSetValues([0,n.selectionStartPos+n.selectionWidth],!0)}n.prevPos=o}},n.onDragEnd=function(){document.removeEventListener("pointermove",n.onDragging),document.removeEventListener("pointermove",n.onDragging),document.removeEventListener("pointerup",n.onDragEnd),n.target="",n.updateHandlesPosition(!1)},n.onValueChange=function(t){var e=n.attributes,r=e.onChange,a=e.type,o="range"===a?t:t[1],l="range"===a?n.getValues():n.getValues()[1],s=new i.Aw("valuechange",{detail:{oldValue:o,value:l}});n.dispatchEvent(s),null==r||r(l)},n.selectionStartPos=0,n.selectionWidth=0,n.prevPos=0,n.target="",n}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"values",{get:function(){return this.attributes.values},set:function(t){this.attributes.values=this.clampValues(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sparklineStyle",{get:function(){if("horizontal"!==this.attributes.orientation)return null;var t=(0,c.zs)(this.attributes,"sparkline");return(0,r.pi)((0,r.pi)({zIndex:0},this.availableSpace),t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shape",{get:function(){var t=this.attributes,e=t.trackLength,n=t.trackSize,i=(0,r.CR)(this.getOrientVal([[e,n],[n,e]]),2);return{width:i[0],height:i[1]}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"availableSpace",{get:function(){var t=this.attributes,e=(t.x,t.y,t.padding),n=(0,r.CR)((0,f.j)(e),4),i=n[0],a=n[1],o=n[2],l=n[3],s=this.shape;return{x:l,y:i,width:s.width-(l+a),height:s.height-(i+o)}},enumerable:!1,configurable:!0}),e.prototype.getValues=function(){return this.values},e.prototype.setValues=function(t,e){void 0===t&&(t=[0,0]),void 0===e&&(e=!1),this.attributes.values=t;var n=!1!==e&&this.attributes.animate;this.updateSelectionArea(n),this.updateHandlesPosition(n)},e.prototype.updateSelectionArea=function(t){var e=this.calcSelectionArea();this.foregroundGroup.selectAll(I.Ec.selection.class).each(function(n,r){(0,o.eR)(this,e[r],t)})},e.prototype.updateHandlesPosition=function(t){this.attributes.showHandle&&(this.startHandle&&(0,o.eR)(this.startHandle,this.getHandleStyle("start"),t),this.endHandle&&(0,o.eR)(this.endHandle,this.getHandleStyle("end"),t))},e.prototype.innerSetValues=function(t,e){void 0===t&&(t=[0,0]),void 0===e&&(e=!1);var n=this.values,r=this.clampValues(t);this.attributes.values=r,this.setValues(r),e&&this.onValueChange(n)},e.prototype.renderTrack=function(t){var e=this.attributes,n=e.x,i=e.y,a=(0,c.zs)(this.attributes,"track");this.trackShape=(0,d.Ys)(t).maybeAppendByClassName(I.Ec.track,"rect").styles((0,r.pi)((0,r.pi)({x:n,y:i},this.shape),a))},e.prototype.renderBrushArea=function(t){var e=this.attributes,n=e.x,i=e.y,a=e.brushable;this.brushArea=(0,d.Ys)(t).maybeAppendByClassName(I.Ec.brushArea,"rect").styles((0,r.pi)({x:n,y:i,fill:"transparent",cursor:a?"crosshair":"default"},this.shape))},e.prototype.renderSparkline=function(t){var e=this,n=this.attributes,i=n.x,a=n.y,o=n.orientation,l=(0,d.Ys)(t).maybeAppendByClassName(I.Ec.sparklineGroup,"g");(0,h.z)("horizontal"===o,l,function(t){var n=(0,r.pi)((0,r.pi)({},e.sparklineStyle),{x:i,y:a});t.maybeAppendByClassName(I.Ec.sparkline,function(){return new B({style:n})}).update(n)})},e.prototype.renderHandles=function(){var t,e=this,n=this.attributes,r=n.showHandle,i=n.type,a=this;null===(t=this.foregroundGroup)||void 0===t||t.selectAll(I.Ec.handle.class).data((r?"range"===i?["start","end"]:["end"]:[]).map(function(t){return{type:t}}),function(t){return t.type}).join(function(t){return t.append(function(t){var n=t.type;return new D.H({style:e.getHandleStyle(n)})}).each(function(t){var e=t.type;this.attr("class","".concat(I.Ec.handle.name," ").concat(e,"-handle")),a["".concat(e,"Handle")]=this,this.addEventListener("pointerdown",a.onDragStart(e))})},function(t){return t.each(function(t){var e=t.type;this.update(a.getHandleStyle(e))})},function(t){return t.each(function(t){var e=t.type;a["".concat(e,"Handle")]=void 0}).remove()})},e.prototype.renderSelection=function(t){var e=this.attributes,n=e.x,i=e.y,a=e.type,o=e.selectionType;this.foregroundGroup=(0,d.Ys)(t).maybeAppendByClassName(I.Ec.foreground,"g");var l=(0,c.zs)(this.attributes,"selection"),s=function(t){return t.style("visibility",function(t){return t.show?"visible":"hidden"}).style("cursor",function(t){return"select"===o?"grab":"invert"===o?"crosshair":"default"}).styles((0,r.pi)((0,r.pi)({},l),{transform:"translate(".concat(n,", ").concat(i,")")}))},u=this;this.foregroundGroup.selectAll(I.Ec.selection.class).data("value"===a?[]:this.calcSelectionArea().map(function(t,e){return{style:(0,r.pi)({},t),index:e,show:"select"===o?1===e:1!==e}}),function(t){return t.index}).join(function(t){return t.append("rect").attr("className",I.Ec.selection.name).call(s).each(function(t,e){var n=this;1===e?(u.selectionShape=(0,d.Ys)(this),this.on("pointerdown",function(t){n.attr("cursor","grabbing"),u.onDragStart("selection")(t)}),u.dispatchCustomEvent(this,"pointerenter","selectionMouseenter"),u.dispatchCustomEvent(this,"pointerleave","selectionMouseleave"),u.dispatchCustomEvent(this,"click","selectionClick"),this.addEventListener("pointerdown",function(){n.attr("cursor","grabbing")}),this.addEventListener("pointerup",function(){n.attr("cursor","pointer")}),this.addEventListener("pointerover",function(){n.attr("cursor","pointer")})):this.on("pointerdown",u.onDragStart("track"))})},function(t){return t.call(s)},function(t){return t.remove()}),this.updateSelectionArea(!1),this.renderHandles()},e.prototype.render=function(t,e){this.renderTrack(e),this.renderSparkline(e),this.renderBrushArea(e),this.renderSelection(e)},e.prototype.clampValues=function(t,e){void 0===e&&(e=4);var n,i=(0,r.CR)(this.range,2),o=i[0],l=i[1],s=(0,r.CR)(this.getValues().map(function(t){return(0,p.Zd)(t,e)}),2),c=s[0],u=s[1],f=Array.isArray(t)?t:[c,null!=t?t:u],d=(0,r.CR)((f||[c,u]).map(function(t){return(0,p.Zd)(t,e)}),2),h=d[0],g=d[1];if("value"===this.attributes.type)return[0,(0,a.Z)(g,o,l)];h>g&&(h=(n=(0,r.CR)([g,h],2))[0],g=n[1]);var m=g-h;return m>l-o?[o,l]:hl?u===l&&c===h?[h,l]:[l-m,l]:[h,g]},e.prototype.calcSelectionArea=function(t){var e=(0,r.CR)(this.clampValues(t),2),n=e[0],i=e[1],a=this.availableSpace,o=a.x,l=a.y,s=a.width,c=a.height;return this.getOrientVal([[{y:l,height:c,x:o,width:n*s},{y:l,height:c,x:n*s+o,width:(i-n)*s},{y:l,height:c,x:i*s,width:(1-i)*s}],[{x:o,width:s,y:l,height:n*c},{x:o,width:s,y:n*c+l,height:(i-n)*c},{x:o,width:s,y:i*c,height:(1-i)*c}]])},e.prototype.calcHandlePosition=function(t){var e=this.attributes.handleIconOffset,n=this.availableSpace,i=n.x,a=n.y,o=n.width,l=n.height,s=(0,r.CR)(this.clampValues(),2),c=s[0],u=s[1],f=("start"===t?c:u)*this.getOrientVal([o,l])+("start"===t?-e:e);return{x:i+this.getOrientVal([f,o/2]),y:a+this.getOrientVal([l/2,f])}},e.prototype.inferTextStyle=function(t){return"horizontal"===this.attributes.orientation?{}:"start"===t?{transformOrigin:"left center",transform:"rotate(90)",textAlign:"start"}:"end"===t?{transformOrigin:"right center",transform:"rotate(90)",textAlign:"end"}:{}},e.prototype.calcHandleText=function(t){var e,n=this.attributes,i=n.type,a=n.orientation,o=n.formatter,l=n.autoFitLabel,u=(0,c.zs)(this.attributes,"handle"),f=(0,c.zs)(u,"label"),d=u.spacing,h=this.getHandleSize(),p=this.clampValues(),g=o("start"===t?p[0]:p[1]),m=new s.x({style:(0,r.pi)((0,r.pi)((0,r.pi)({},f),this.inferTextStyle(t)),{text:g})}),y=m.getBBox(),v=y.width,b=y.height;if(m.destroy(),!l){if("value"===i)return{text:g,x:0,y:-b-d};var x=d+h+("horizontal"===a?v/2:0);return(e={text:g})["horizontal"===a?"x":"y"]="start"===t?-x:x,e}var O=0,w=0,_=this.availableSpace,k=_.width,C=_.height,j=this.calcSelectionArea()[1],M=j.x,S=j.y,A=j.width,E=j.height,P=d+h;if("horizontal"===a){var R=P+v/2;O="start"===t?M-P-v>0?-R:R:k-M-A-P>v?R:-R}else{var Z=b+P;w="start"===t?S-h>b?-Z:P:C-(S+E)-h>b?Z:-P}return{x:O,y:w,text:g}},e.prototype.getHandleLabelStyle=function(t){var e=(0,c.zs)(this.attributes,"handleLabel");return(0,r.pi)((0,r.pi)((0,r.pi)({},e),this.calcHandleText(t)),this.inferTextStyle(t))},e.prototype.getHandleIconStyle=function(){var t=this.attributes.handleIconShape,e=(0,c.zs)(this.attributes,"handleIcon"),n=this.getOrientVal(["ew-resize","ns-resize"]),i=this.getHandleSize();return(0,r.pi)({cursor:n,shape:t,size:i},e)},e.prototype.getHandleStyle=function(t){var e=this.attributes,n=e.x,i=e.y,a=e.showLabel,o=e.showLabelOnInteraction,l=e.orientation,s=this.calcHandlePosition(t),u=s.x,f=s.y,d=this.calcHandleText(t),h=a;return!a&&o&&(h=!!this.target),(0,r.pi)((0,r.pi)((0,r.pi)({},(0,c.dq)(this.getHandleIconStyle(),"icon")),(0,c.dq)((0,r.pi)((0,r.pi)({},this.getHandleLabelStyle(t)),d),"label")),{transform:"translate(".concat(u+n,", ").concat(f+i,")"),orientation:l,showLabel:h,type:t,zIndex:3})},e.prototype.getHandleSize=function(){var t=this.attributes,e=t.handleIconSize,n=t.width,r=t.height;return e||Math.floor((this.getOrientVal([+r,+n])+4)/2.4)},e.prototype.getOrientVal=function(t){var e=(0,r.CR)(t,2),n=e[0],i=e[1];return"horizontal"===this.attributes.orientation?n:i},e.prototype.setValuesOffset=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=!1);var i=this.attributes.type,a=(0,r.CR)(this.getValues(),2),o=[a[0]+("range"===i?t:0),a[1]+e].sort();n?this.setValues(o):this.innerSetValues(o,!0)},e.prototype.getRatio=function(t){var e=this.availableSpace,n=e.width,r=e.height;return t/this.getOrientVal([n,r])},e.prototype.dispatchCustomEvent=function(t,e,n){var r=this;t.on(e,function(t){t.stopPropagation(),r.dispatchEvent(new i.Aw(n,{detail:t}))})},e.prototype.bindEvents=function(){this.addEventListener("wheel",this.onScroll);var t=this.brushArea;this.dispatchCustomEvent(t,"click","trackClick"),this.dispatchCustomEvent(t,"pointerenter","trackMouseenter"),this.dispatchCustomEvent(t,"pointerleave","trackMouseleave"),t.on("pointerdown",this.onDragStart("track"))},e.prototype.onScroll=function(t){if(this.attributes.scrollable){var e=t.deltaX,n=t.deltaY||e,r=this.getRatio(n);this.setValuesOffset(r,r,!0)}},e.tag="slider",e}(l.w)},1366:function(t,e,n){"use strict";n.d(e,{Dx:function(){return g},jY:function(){return h},li:function(){return d}});var r=n(97582),i=n(5951),a=n(79274),o=n(62191),l=n(43629),s=n(33016),c=n(47772),u=n(54015),f=(0,a.A)({text:"text"},"title");function d(t){return/\S+-\S+/g.test(t)?t.split("-").map(function(t){return t[0]}):t.length>2?[t[0]]:t.split("")}function h(t,e){var n=t.attributes,i=n.position,a=n.spacing,s=n.inset,c=n.text,u=t.getBBox(),f=e.getBBox(),h=d(i),p=(0,r.CR)((0,o.j)(c?a:0),4),g=p[0],m=p[1],y=p[2],v=p[3],b=(0,r.CR)((0,o.j)(s),4),x=b[0],O=b[1],w=b[2],_=b[3],k=(0,r.CR)([v+m,g+y],2),C=k[0],j=k[1],M=(0,r.CR)([_+O,x+w],2),S=M[0],A=M[1];if("l"===h[0])return new l.b(u.x,u.y,f.width+u.width+C+S,Math.max(f.height+A,u.height));if("t"===h[0])return new l.b(u.x,u.y,Math.max(f.width+S,u.width),f.height+u.height+j+A);var E=(0,r.CR)([e.attributes.width||f.width,e.attributes.height||f.height],2),P=E[0],R=E[1];return new l.b(f.x,f.y,P+u.width+C+S,R+u.height+j+A)}function p(t,e){var n=Object.entries(e).reduce(function(e,n){var i=(0,r.CR)(n,2),a=i[0],o=i[1];return t.node().attr(a)||(e[a]=o),e},{});t.styles(n)}var g=function(t){function e(e){return t.call(this,e,{text:"",width:0,height:0,fill:"#4a505a",fontWeight:"bold",fontSize:12,fontFamily:"sans-serif",inset:0,spacing:0,position:"top-left"})||this}return(0,r.ZT)(e,t),e.prototype.getAvailableSpace=function(){var t=this.attributes,e=t.width,n=t.height,i=t.position,a=t.spacing,s=t.inset,c=this.querySelector(f.text.class);if(!c)return new l.b(0,0,+e,+n);var u=c.getBBox(),h=u.width,p=u.height,g=(0,r.CR)((0,o.j)(a),4),m=g[0],y=g[1],v=g[2],b=g[3],x=(0,r.CR)([0,0,+e,+n],4),O=x[0],w=x[1],_=x[2],k=x[3],C=d(i);if(C.includes("i"))return new l.b(O,w,_,k);C.forEach(function(t,i){var a,o;"t"===t&&(w=(a=(0,r.CR)(0===i?[p+v,+n-p-v]:[0,+n],2))[0],k=a[1]),"r"===t&&(_=(0,r.CR)([+e-h-b],1)[0]),"b"===t&&(k=(0,r.CR)([+n-p-m],1)[0]),"l"===t&&(O=(o=(0,r.CR)(0===i?[h+y,+e-h-y]:[0,+e],2))[0],_=o[1])});var j=(0,r.CR)((0,o.j)(s),4),M=j[0],S=j[1],A=j[2],E=j[3],P=(0,r.CR)([E+S,M+A],2),R=P[0],Z=P[1];return new l.b(O+E,w+M,_-R,k-Z)},e.prototype.getBBox=function(){return this.title?this.title.getBBox():new l.b(0,0,0,0)},e.prototype.render=function(t,e){var n,i,a,o,l,h,g,m,y,v,b,x,O,w,_,k,C=this;t.width,t.height,t.position,t.spacing;var j=(0,r._T)(t,["width","height","position","spacing"]),M=(0,r.CR)((0,s.Hm)(j),1)[0],S=(l=t.width,h=t.height,g=t.position,y=(m=(0,r.CR)([+l/2,+h/2],2))[0],v=m[1],x=(b=(0,r.CR)([+y,+v,"center","middle"],4))[0],O=b[1],w=b[2],_=b[3],(k=d(g)).includes("l")&&(x=(n=(0,r.CR)([0,"start"],2))[0],w=n[1]),k.includes("r")&&(x=(i=(0,r.CR)([+l,"end"],2))[0],w=i[1]),k.includes("t")&&(O=(a=(0,r.CR)([0,"top"],2))[0],_=a[1]),k.includes("b")&&(O=(o=(0,r.CR)([+h,"bottom"],2))[0],_=o[1]),{x:x,y:O,textAlign:w,textBaseline:_}),A=S.x,E=S.y,P=S.textAlign,R=S.textBaseline;(0,c.z)(!!j.text,(0,u.Ys)(e),function(t){C.title=t.maybeAppendByClassName(f.text,"text").styles(M).call(p,{x:A,y:E,textAlign:P,textBaseline:R}).node()})},e}(i.w)},61385:function(t,e,n){"use strict";n.d(e,{u:function(){return f}});var r=n(97582),i=n(88204),a=n(68856),o=n(5951),l=n(33016),s=n(43629);function c(t){return void 0===t&&(t=""),{CONTAINER:"".concat(t,"tooltip"),TITLE:"".concat(t,"tooltip-title"),LIST:"".concat(t,"tooltip-list"),LIST_ITEM:"".concat(t,"tooltip-list-item"),NAME:"".concat(t,"tooltip-list-item-name"),MARKER:"".concat(t,"tooltip-list-item-marker"),NAME_LABEL:"".concat(t,"tooltip-list-item-name-label"),VALUE:"".concat(t,"tooltip-list-item-value"),CROSSHAIR_X:"".concat(t,"tooltip-crosshair-x"),CROSSHAIR_Y:"".concat(t,"tooltip-crosshair-y")}}var u={overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"},f=function(t){function e(e){var n,i,a,o,l,s=this,f=null===(l=null===(o=e.style)||void 0===o?void 0:o.template)||void 0===l?void 0:l.prefixCls,d=c(f);return(s=t.call(this,e,{data:[],x:0,y:0,visibility:"visible",title:"",position:"bottom-right",offset:[5,5],enterable:!1,container:{x:0,y:0},bounding:null,template:{prefixCls:"",container:'
    '),title:'
    '),item:'
  • \n \n \n {name}\n \n {value}\n
  • ')},style:(void 0===(n=f)&&(n=""),a=c(n),(i={})[".".concat(a.CONTAINER)]={position:"absolute",visibility:"visible","z-index":8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)","background-color":"rgba(255, 255, 255, 0.96)","box-shadow":"0 6px 12px 0 rgba(0, 0, 0, 0.12)","border-radius":"4px",color:"rgba(0, 0, 0, 0.65)","font-size":"12px","line-height":"20px",padding:"12px","min-width":"120px","max-width":"360px","font-family":"Roboto-Regular"},i[".".concat(a.TITLE)]={color:"rgba(0, 0, 0, 0.45)"},i[".".concat(a.LIST)]={margin:"0px","list-style-type":"none",padding:"0px"},i[".".concat(a.LIST_ITEM)]={"list-style-type":"none",display:"flex","line-height":"2em","align-items":"center","justify-content":"space-between","white-space":"nowrap"},i[".".concat(a.MARKER)]={width:"8px",height:"8px","border-radius":"50%",display:"inline-block","margin-right":"4px"},i[".".concat(a.NAME)]={display:"flex","align-items":"center","max-width":"216px"},i[".".concat(a.NAME_LABEL)]=(0,r.pi)({flex:1},u),i[".".concat(a.VALUE)]=(0,r.pi)({display:"inline-block",float:"right",flex:1,"text-align":"right","min-width":"28px","margin-left":"30px",color:"rgba(0, 0, 0, 0.85)"},u),i[".".concat(a.CROSSHAIR_X)]={position:"absolute",width:"1px","background-color":"rgba(0, 0, 0, 0.25)"},i[".".concat(a.CROSSHAIR_Y)]={position:"absolute",height:"1px","background-color":"rgba(0, 0, 0, 0.25)"},i)})||this).timestamp=-1,s.prevCustomContentKey=s.attributes.contentKey,s.initShape(),s.render(s.attributes,s),s}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"HTMLTooltipElement",{get:function(){return this.element},enumerable:!1,configurable:!0}),e.prototype.getContainer=function(){return this.element},Object.defineProperty(e.prototype,"elementSize",{get:function(){return{width:this.element.offsetWidth,height:this.element.offsetHeight}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"HTMLTooltipItemsElements",{get:function(){var t=this.attributes,e=t.data,n=t.template;return e.map(function(t,e){var o=t.name,l=t.color,s=t.index,c=(0,r._T)(t,["name","color","index"]),u=(0,r.pi)({name:void 0===o?"":o,color:void 0===l?"black":l,index:null!=s?s:e},c);return(0,i.L)((0,a.Z)(n.item,u))})},enumerable:!1,configurable:!0}),e.prototype.render=function(t,e){this.renderHTMLTooltipElement(),this.updatePosition()},e.prototype.destroy=function(){var e;null===(e=this.element)||void 0===e||e.remove(),t.prototype.destroy.call(this)},e.prototype.show=function(t,e){var n=this;if(void 0!==t&&void 0!==e){var r="hidden"===this.element.style.visibility,i=function(){n.attributes.x=null!=t?t:n.attributes.x,n.attributes.y=null!=e?e:n.attributes.y,n.updatePosition()};r?this.closeTransition(i):i()}this.element.style.visibility="visible"},e.prototype.hide=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.attributes.enterable&&this.isCursorEntered(t,e)||(this.element.style.visibility="hidden")},e.prototype.initShape=function(){var t=this.attributes.template;this.element=(0,i.L)(t.container),this.id&&this.element.setAttribute("id",this.id)},e.prototype.renderCustomContent=function(){if(void 0===this.prevCustomContentKey||this.prevCustomContentKey!==this.attributes.contentKey){this.prevCustomContentKey=this.attributes.contentKey;var t=this.attributes.content;t&&("string"==typeof t?this.element.innerHTML=t:this.element.replaceChildren(t))}},e.prototype.renderHTMLTooltipElement=function(){var t,e,n=this.attributes,i=n.template,a=n.title,o=n.enterable,s=n.style,u=n.content,f=c(i.prefixCls),d=this.element;if(this.element.style.pointerEvents=o?"auto":"none",u)this.renderCustomContent();else{a?(d.innerHTML=i.title,d.getElementsByClassName(f.TITLE)[0].innerHTML=a):null===(e=null===(t=d.getElementsByClassName(f.TITLE))||void 0===t?void 0:t[0])||void 0===e||e.remove();var h=this.HTMLTooltipItemsElements,p=document.createElement("ul");p.className=f.LIST,p.replaceChildren.apply(p,(0,r.ev)([],(0,r.CR)(h),!1));var g=this.element.querySelector(".".concat(f.LIST));g?g.replaceWith(p):d.appendChild(p)}(0,l.MC)(d,s)},e.prototype.getRelativeOffsetFromCursor=function(t){var e=this.attributes,n=e.position,i=e.offset,a=(t||n).split("-"),o={left:[-1,0],right:[1,0],top:[0,-1],bottom:[0,1]},l=this.elementSize,s=l.width,c=l.height,u=[-s/2,-c/2];return a.forEach(function(t){var e=(0,r.CR)(u,2),n=e[0],a=e[1],l=(0,r.CR)(o[t],2),f=l[0],d=l[1];u=[n+(s/2+i[0])*f,a+(c/2+i[1])*d]}),u},e.prototype.setOffsetPosition=function(t){var e=(0,r.CR)(t,2),n=e[0],i=e[1],a=this.attributes,o=a.x,l=a.y,s=a.container,c=s.x,u=s.y;this.element.style.left="".concat(+(void 0===o?0:o)+c+n,"px"),this.element.style.top="".concat(+(void 0===l?0:l)+u+i,"px")},e.prototype.updatePosition=function(){var t=this.attributes.showDelay,e=Date.now();this.timestamp>0&&e-this.timestamp<(void 0===t?60:t)||(this.timestamp=e,this.setOffsetPosition(this.autoPosition(this.getRelativeOffsetFromCursor())))},e.prototype.autoPosition=function(t){var e=(0,r.CR)(t,2),n=e[0],i=e[1],a=this.attributes,o=a.x,l=a.y,s=a.bounding,c=a.position;if(!s)return[n,i];var u=this.element,f=u.offsetWidth,d=u.offsetHeight,h=(0,r.CR)([+o+n,+l+i],2),p=h[0],g=h[1],m={left:"right",right:"left",top:"bottom",bottom:"top"},y=s.x,v=s.y,b={left:py+s.width,top:gv+s.height},x=[];c.split("-").forEach(function(t){b[t]?x.push(m[t]):x.push(t)});var O=x.join("-");return this.getRelativeOffsetFromCursor(O)},e.prototype.isCursorEntered=function(t,e){if(this.element){var n=this.element.getBoundingClientRect(),r=n.x,i=n.y,a=n.width,o=n.height;return new s.b(r,i,a,o).isPointIn(t,e)}return!1},e.prototype.closeTransition=function(t){var e=this,n=this.element.style.transition;this.element.style.transition="none",t(),setTimeout(function(){e.element.style.transition=n},10)},e.tag="tooltip",e}(o.w)},43629:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var r=function(){function t(t,e,n,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),this.x=0,this.y=0,this.width=0,this.height=0,this.x=t,this.y=e,this.width=n,this.height=r}return Object.defineProperty(t.prototype,"bottom",{get:function(){return this.y+this.height},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return this.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return this.x+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.y},enumerable:!1,configurable:!0}),t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t.prototype.toJSON=function(){return{x:this.x,y:this.y,width:this.width,height:this.height,top:this.top,right:this.right,bottom:this.bottom,left:this.left}},t.prototype.isPointIn=function(t,e){return t>=this.left&&t<=this.right&&e>=this.top&&e<=this.bottom},t}()},86650:function(t,e,n){"use strict";n.d(e,{S:function(){return a}});var r=n(97582),i=n(45607);function a(t,e){return(0,i.Z)(t)?t.apply(void 0,(0,r.ev)([],(0,r.CR)(e),!1)):t}},79274:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(97582),i=function(t,e){var n=function(t){return"".concat(e,"-").concat(t)},i=Object.fromEntries(Object.entries(t).map(function(t){var e=(0,r.CR)(t,2),i=e[0],a=n(e[1]);return[i,{name:a,class:".".concat(a),id:"#".concat(a),toString:function(){return a}}]}));return Object.assign(i,{prefix:n}),i}},8126:function(t,e,n){"use strict";n.d(e,{n:function(){return l}});var r=n(97582),i=n(83845),a=n(5199),o=function(t,e,n,l){void 0===n&&(n=0),void 0===l&&(l=5),Object.entries(e).forEach(function(s){var c=(0,r.CR)(s,2),u=c[0],f=c[1];Object.prototype.hasOwnProperty.call(e,u)&&(f?(0,i.Z)(f)?((0,i.Z)(t[u])||(t[u]={}),n="A"&&n<="Z"};function s(t,e,n){void 0===n&&(n=!1);var o={};return Object.entries(t).forEach(function(t){var s=(0,r.CR)(t,2),c=s[0],u=s[1];if("className"===c||"class"===c);else if(l(c,"show")&&l(a(c,"show"),e)!==n)c==="".concat("show").concat(i(e))?o[c]=u:o[c.replace(new RegExp(i(e)),"")]=u;else if(!l(c,"show")&&l(c,e)!==n){var f=a(c,e);"filter"===f&&"function"==typeof u||(o[f]=u)}}),o}function c(t,e){return Object.entries(t).reduce(function(t,n){var a=(0,r.CR)(n,2),o=a[0],l=a[1];return o.startsWith("show")?t["show".concat(e).concat(o.slice(4))]=l:t["".concat(e).concat(i(o))]=l,t},{})}function u(t,e){void 0===e&&(e=["x","y","class","className"]);var n=["transform","transformOrigin","anchor","visibility","pointerEvents","zIndex","cursor","clipPath","clipPathTargets","offsetPath","offsetPathTargets","offsetDistance","draggable","droppable"],i={},a={};return Object.entries(t).forEach(function(t){var o=(0,r.CR)(t,2),l=o[0],s=o[1];e.includes(l)||(-1!==n.indexOf(l)?a[l]=s:i[l]=s)}),[i,a]}},30650:function(t,e,n){"use strict";n.d(e,{Rm:function(){return c},U4:function(){return s},Ux:function(){return o},qT:function(){return l}});var r,i,a=n(1242),o=(0,n(92426).Z)(function(t,e){var n=e.fontSize,o=e.fontFamily,l=e.fontWeight,s=e.fontStyle,c=e.fontVariant;return i?i(t,n):(r||(r=a.GZ.offscreenCanvasCreator.getOrCreateContext(void 0)),r.font=[s,c,l,"".concat(n,"px"),o].join(" "),r.measureText(t).width)},function(t,e){return[t,Object.values(e||l(t)).join()].join("")},4096),l=function(t){var e=t.style.fontFamily||"sans-serif",n=t.style.fontWeight||"normal",r=t.style.fontStyle||"normal",i=t.style.fontVariant,a=t.style.fontSize;return{fontSize:a="object"==typeof a?a.value:a,fontFamily:e,fontWeight:n,fontStyle:r,fontVariant:i}};function s(t){return"text"===t.nodeName?t:"g"===t.nodeName&&1===t.children.length&&"text"===t.children[0].nodeName?t.children[0]:null}function c(t,e){var n=s(t);n&&n.attr(e)}},62059:function(t,e,n){"use strict";function r(t){a(t,!0)}function i(t){a(t,!1)}function a(t,e){var n=e?"visible":"hidden";!function t(e,n){n(e),e.children&&e.children.forEach(function(e){e&&t(e,n)})}(t,function(t){t.attr("visibility",n)})}n.d(e,{Cp:function(){return i},$Z:function(){return r},WD:function(){return a}})},17816:function(t,e){!function(t){"use strict";function e(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return{value:(t=t&&r>=t.length?void 0:t)&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function n(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,a=n.call(t),o=[];try{for(;(void 0===e||0n=>t(e(n)),t)}function k(t,e){return e-t?n=>(n-t)/(e-t):t=>.5}Z=new p(3),p!=Float32Array&&(Z[0]=0,Z[1]=0,Z[2]=0),Z=new p(4),p!=Float32Array&&(Z[0]=0,Z[1]=0,Z[2]=0,Z[3]=0);let C=Math.sqrt(50),j=Math.sqrt(10),M=Math.sqrt(2);function S(t,e,n){return t=Math.floor(Math.log(e=(e-t)/Math.max(0,n))/Math.LN10),n=e/10**t,0<=t?(n>=C?10:n>=j?5:n>=M?2:1)*10**t:-(10**-t)/(n>=C?10:n>=j?5:n>=M?2:1)}let A=(t,e,n=5)=>{let r=0,i=(t=[t,e]).length-1,a=t[r],o=t[i],l;return o{n.prototype.rescale=function(){this.initRange(),this.nice();var[t]=this.chooseTransforms();this.composeOutput(t,this.chooseClamp(t))},n.prototype.initRange=function(){var e=this.options.interpolator;this.options.range=t(e)},n.prototype.composeOutput=function(t,n){var{domain:r,interpolator:i,round:a}=this.getOptions(),r=e(r.map(t)),a=a?t=>l(t=i(t),"Number")?Math.round(t):t:i;this.output=_(a,r,n,t)},n.prototype.invert=void 0}}var R,Z={exports:{}},T={exports:{}},L=Array.prototype.concat,B=Array.prototype.slice,I=T.exports=function(t){for(var e=[],n=0,r=t.length;nn=>t*(1-n)+e*n,U=(t,e)=>{if("number"==typeof t&&"number"==typeof e)return V(t,e);if("string"!=typeof t||"string"!=typeof e)return()=>t;{let n=Y(t),r=Y(e);return null===n||null===r?n?()=>t:()=>e:t=>{var e=[,,,,];for(let o=0;o<4;o+=1){var i=n[o],a=r[o];e[o]=i*(1-t)+a*t}var[o,l,s,c]=e;return`rgba(${Math.round(o)}, ${Math.round(l)}, ${Math.round(s)}, ${c})`}}},Q=(t,e)=>{let n=V(t,e);return t=>Math.round(n(t))};function X({map:t,initKey:e},n){return e=e(n),t.has(e)?t.get(e):n}function K(t){return"object"==typeof t?t.valueOf():t}class J extends Map{constructor(t){if(super(),this.map=new Map,this.initKey=K,null!==t)for(var[e,n]of t)this.set(e,n)}get(t){return super.get(X({map:this.map,initKey:this.initKey},t))}has(t){return super.has(X({map:this.map,initKey:this.initKey},t))}set(t,e){var n,r;return super.set(([{map:t,initKey:n},r]=[{map:this.map,initKey:this.initKey},t],n=n(r),t.has(n)?t.get(n):(t.set(n,r),r)),e)}delete(t){var e,n;return super.delete(([{map:t,initKey:e},n]=[{map:this.map,initKey:this.initKey},t],e=e(n),t.has(e)&&(n=t.get(e),t.delete(e)),n))}}class tt{constructor(t){this.options=f({},this.getDefaultOptions()),this.update(t)}getOptions(){return this.options}update(t={}){this.options=f({},this.options,t),this.rescale(t)}rescale(t){}}let te=Symbol("defaultUnknown");function tn(t,e,n){for(let r=0;r""+t:"object"==typeof t?t=>JSON.stringify(t):t=>t}class ta extends tt{getDefaultOptions(){return{domain:[],range:[],unknown:te}}constructor(t){super(t)}map(t){return 0===this.domainIndexMap.size&&tn(this.domainIndexMap,this.getDomain(),this.domainKey),tr({value:this.domainKey(t),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(t){return 0===this.rangeIndexMap.size&&tn(this.rangeIndexMap,this.getRange(),this.rangeKey),tr({value:this.rangeKey(t),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(t){var[e]=this.options.domain,[n]=this.options.range;this.domainKey=ti(e),this.rangeKey=ti(n),this.rangeIndexMap?(t&&!t.range||this.rangeIndexMap.clear(),(!t||t.domain||t.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)):(this.rangeIndexMap=new Map,this.domainIndexMap=new Map)}clone(){return new ta(this.options)}getRange(){return this.options.range}getDomain(){var t,e;return this.sortedDomain||({domain:t,compare:e}=this.options,this.sortedDomain=e?[...t].sort(e):t),this.sortedDomain}}class to extends ta{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,paddingInner:0,paddingOuter:0,padding:0,unknown:te,flex:[]}}constructor(t){super(t)}clone(){return new to(this.options)}getStep(t){return void 0===this.valueStep?1:"number"==typeof this.valueStep?this.valueStep:void 0===t?Array.from(this.valueStep.values())[0]:this.valueStep.get(t)}getBandWidth(t){return void 0===this.valueBandWidth?1:"number"==typeof this.valueBandWidth?this.valueBandWidth:void 0===t?Array.from(this.valueBandWidth.values())[0]:this.valueBandWidth.get(t)}getRange(){return this.adjustedRange}getPaddingInner(){var{padding:t,paddingInner:e}=this.options;return 0t/e)}(c),p=f/h.reduce((t,e)=>t+e);var c=new J(e.map((t,e)=>(e=h[e]*p,[t,o?Math.floor(e):e]))),g=new J(e.map((t,e)=>(e=h[e]*p+d,[t,o?Math.floor(e):e]))),f=Array.from(g.values()).reduce((t,e)=>t+e),t=t+(u-(f-f/s*i))*l;let m=o?Math.round(t):t;var y=Array(s);for(let t=0;ts+e*o),{valueStep:o,valueBandWidth:l,adjustedRange:t}}({align:t,range:n,round:r,flex:i,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:e});this.valueStep=r,this.valueBandWidth=n,this.adjustedRange=t}}let tl=(t,e,n)=>{let r,i,a=t,o=e;if(a===o&&0{let r;var[t,i]=t,[e,a]=e;return _(t{let r=Math.min(t.length,e.length)-1,i=Array(r),a=Array(r);var o=t[0]>t[r],l=o?[...t].reverse():t,s=o?[...e].reverse():e;for(let t=0;t{var n=function(t,e,n,r,i){let a=1,o=r||t.length;for(var l=t=>t;ae?o=s:a=s+1}return a}(t,e,0,r)-1,o=i[n];return _(a[n],o)(e)}},tu=(t,e,n,r)=>(2Math.min(Math.max(r,t),i)}return d}composeOutput(t,e){var{domain:n,range:r,round:i,interpolate:a}=this.options,n=tu(n.map(t),r,a,i);this.output=_(n,e,t)}composeInput(t,e,n){var{domain:r,range:i}=this.options,i=tu(i,r.map(t),V);this.input=_(e,n,i)}}class td extends tf{getDefaultOptions(){return{domain:[0,1],range:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolate:U,tickMethod:tl,tickCount:5}}chooseTransforms(){return[d,d]}clone(){return new td(this.options)}}class th extends to{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:te,paddingInner:1,paddingOuter:0}}constructor(t){super(t)}getPaddingInner(){return 1}clone(){return new th(this.options)}update(t){super.update(t)}getPaddingOuter(){return this.options.padding}}function tp(t,e){for(var n=[],r=0,i=t.length;r{var[t,e]=t;return _(V(0,1),k(t,e))})],ty);let tv=a=class extends td{getDefaultOptions(){return{domain:[0,.5,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:d,tickMethod:tl,tickCount:5}}constructor(t){super(t)}clone(){return new a(this.options)}};function tb(t,e,r,i,a){var o=new td({range:[e,e+i]}),l=new td({range:[r,r+a]});return{transform:function(t){var t=n(t,2),e=t[0],t=t[1];return[o.map(e),l.map(t)]},untransform:function(t){var t=n(t,2),e=t[0],t=t[1];return[o.invert(e),l.invert(t)]}}}function tx(t,e,r,i,a){return(0,n(t,1)[0])(e,r,i,a)}function tO(t,e,r,i,a){return n(t,1)[0]}function tw(t,e,r,i,a){var o=(t=n(t,4))[0],l=t[1],s=t[2],t=t[3],c=new td({range:[s,t]}),u=new td({range:[o,l]}),f=1<(s=a/i)?1:s,d=1{let[e,n,r]=t,i=_(V(0,.5),k(e,n)),a=_(V(.5,1),k(n,r));return t=>(e>r?tl?o:l,c=o>l?1:o/l,u=o>l?l/o:1;t.save(),t.scale(c,u),t.arc(r,a,s,0,2*Math.PI)}}function c(t,e){var n,r=e.x1,i=e.y1,o=e.x2,l=e.y2,s=e.markerStart,c=e.markerEnd,u=e.markerStartOffset,f=e.markerEndOffset,d=0,h=0,p=0,g=0,m=0;s&&(0,a.RV)(s)&&u&&(d=Math.cos(m=Math.atan2(l-i,o-r))*(u||0),h=Math.sin(m)*(u||0)),c&&(0,a.RV)(c)&&f&&(p=Math.cos(m=Math.atan2(i-l,r-o))*(f||0),g=Math.sin(m)*(f||0)),t.moveTo(r+d,i+h),t.lineTo(o+p,l+g)}function u(t,e){var n,i=e.markerStart,o=e.markerEnd,l=e.markerStartOffset,s=e.markerEndOffset,c=e.d,u=c.absolutePath,f=c.segments,d=0,h=0,p=0,g=0,m=0;if(i&&(0,a.RV)(i)&&l){var y=(0,r.CR)(i.parentNode.getStartTangent(),2),v=y[0],b=y[1];n=v[0]-b[0],d=Math.cos(m=Math.atan2(v[1]-b[1],n))*(l||0),h=Math.sin(m)*(l||0)}if(o&&(0,a.RV)(o)&&s){var x=(0,r.CR)(o.parentNode.getEndTangent(),2),v=x[0],b=x[1];n=v[0]-b[0],p=Math.cos(m=Math.atan2(v[1]-b[1],n))*(s||0),g=Math.sin(m)*(s||0)}for(var O=0;OP?E:P,I=E>P?1:E/P,D=E>P?P/E:1;t.translate(S,A),t.rotate(T),t.scale(I,D),t.arc(0,0,B,R,Z,!!(1-L)),t.scale(1/I,1/D),t.rotate(-T),t.translate(-S,-A)}j&&t.lineTo(w[6]+p,w[7]+g);break;case"Z":t.closePath()}}}function f(t,e){var n,r=e.markerStart,i=e.markerEnd,o=e.markerStartOffset,l=e.markerEndOffset,s=e.points.points,c=s.length,u=s[0][0],f=s[0][1],d=s[c-1][0],h=s[c-1][1],p=0,g=0,m=0,y=0,v=0;r&&(0,a.RV)(r)&&o&&(n=s[1][0]-s[0][0],p=Math.cos(v=Math.atan2(s[1][1]-s[0][1],n))*(o||0),g=Math.sin(v)*(o||0)),i&&(0,a.RV)(i)&&l&&(n=s[c-1][0]-s[0][0],m=Math.cos(v=Math.atan2(s[c-1][1]-s[0][1],n))*(l||0),y=Math.sin(v)*(l||0)),t.moveTo(u+(p||m),f+(g||y));for(var b=1;b0?1:-1,d=u>0?1:-1,h=f+d===0,p=(0,r.CR)(s.map(function(t){return(0,o.Z)(t,0,Math.min(Math.abs(c)/2,Math.abs(u)/2))}),4),g=p[0],m=p[1],y=p[2],v=p[3];t.moveTo(f*g+i,l),t.lineTo(c-f*m+i,l),0!==m&&t.arc(c-f*m+i,d*m+l,m,-d*Math.PI/2,f>0?0:Math.PI,h),t.lineTo(c+i,u-d*y+l),0!==y&&t.arc(c-f*y+i,u-d*y+l,y,f>0?0:Math.PI,d>0?Math.PI/2:1.5*Math.PI,h),t.lineTo(f*v+i,u+l),0!==v&&t.arc(f*v+i,u-d*v+l,v,d>0?Math.PI/2:-Math.PI/2,f>0?Math.PI:0,h),t.lineTo(i,d*g+l),0!==g&&t.arc(f*g+i,d*g+l,g,f>0?Math.PI:0,d>0?1.5*Math.PI:Math.PI/2,h)}else t.rect(i,l,c,u)}var p=function(t){function e(){var e=t.apply(this,(0,r.ev)([],(0,r.CR)(arguments),!1))||this;return e.name="canvas-path-generator",e}return(0,r.ZT)(e,t),e.prototype.init=function(){var t,e=((t={})[a.bn.CIRCLE]=l,t[a.bn.ELLIPSE]=s,t[a.bn.RECT]=h,t[a.bn.LINE]=c,t[a.bn.POLYLINE]=d,t[a.bn.POLYGON]=f,t[a.bn.PATH]=u,t[a.bn.TEXT]=void 0,t[a.bn.GROUP]=void 0,t[a.bn.IMAGE]=void 0,t[a.bn.HTML]=void 0,t[a.bn.MESH]=void 0,t);this.context.pathGeneratorFactory=e},e.prototype.destroy=function(){delete this.context.pathGeneratorFactory},e}(a.F6),g=n(80647),m=n(77160),y=n(85975),v=n(11702),b=n(74873),x=m.Ue(),O=m.Ue(),w=m.Ue(),_=y.create(),k=function(){function t(){var t=this;this.isHit=function(e,n,r,i){var a=t.context.pointInPathPickerFactory[e.nodeName];if(a){var o=y.invert(_,r),l=m.fF(O,m.t8(w,n[0],n[1],0),o);if(a(e,new g.E9(l[0],l[1]),i,t.isPointInPath,t.context,t.runtime))return!0}return!1},this.isPointInPath=function(e,n){var r=t.runtime.offscreenCanvasCreator.getOrCreateContext(t.context.config.offscreenCanvas),i=t.context.pathGeneratorFactory[e.nodeName];return i&&(r.beginPath(),i(r,e.parsedStyle),r.closePath()),r.isPointInPath(n.x,n.y)}}return t.prototype.apply=function(e,n){var i,a=this,o=e.renderingService,l=e.renderingContext;this.context=e,this.runtime=n;var s=null===(i=l.root)||void 0===i?void 0:i.ownerDocument;o.hooks.pick.tapPromise(t.tag,function(t){return(0,r.mG)(a,void 0,void 0,function(){return(0,r.Jh)(this,function(e){return[2,this.pick(s,t)]})})}),o.hooks.pickSync.tap(t.tag,function(t){return a.pick(s,t)})},t.prototype.pick=function(t,e){var n,i,a=e.topmost,o=e.position,l=o.x,s=o.y,c=m.t8(x,l,s,0),u=t.elementsFromBBox(c[0],c[1],c[0],c[1]),f=[];try{for(var d=(0,r.XA)(u),h=d.next();!h.done;h=d.next()){var p=h.value,y=p.getWorldTransform();if(this.isHit(p,c,y,!1)){var v=(0,g.Oi)(p);if(v){var b=v.parsedStyle.clipPath;if(this.isHit(b,c,b.getWorldTransform(),!0)){if(a)return e.picked=[p],e;f.push(p)}}else{if(a)return e.picked=[p],e;f.push(p)}}}}catch(t){n={error:t}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}return e.picked=f,e},t.tag="CanvasPicker",t}();function C(t,e,n){var i=t.parsedStyle,a=i.cx,o=i.cy,l=i.r,s=i.fill,c=i.stroke,u=i.lineWidth,f=i.increasedLineWidthForHitTesting,d=i.pointerEvents,h=((void 0===u?1:u)+(void 0===f?0:f))/2,p=(0,v.TE)(void 0===a?0:a,void 0===o?0:o,e.x,e.y),m=(0,r.CR)((0,g.L1)(void 0===d?"auto":d,s,c),2),y=m[0],b=m[1];return y&&b||n?p<=l+h:y?p<=l:!!b&&p>=l-h&&p<=l+h}function j(t,e,n){var i,a,o,l,s,c,u=t.parsedStyle,f=u.cx,d=void 0===f?0:f,h=u.cy,p=void 0===h?0:h,m=u.rx,y=u.ry,v=u.fill,b=u.stroke,x=u.lineWidth,O=u.increasedLineWidthForHitTesting,w=u.pointerEvents,_=e.x,k=e.y,C=(0,r.CR)((0,g.L1)(void 0===w?"auto":w,v,b),2),j=C[0],M=C[1],S=((void 0===x?1:x)+(void 0===O?0:O))/2,A=(_-d)*(_-d),E=(k-p)*(k-p);return j&&M||n?1>=A/((i=m+S)*i)+E/((a=y+S)*a):j?1>=A/(m*m)+E/(y*y):!!M&&A/((o=m-S)*o)+E/((l=y-S)*l)>=1&&1>=A/((s=m+S)*s)+E/((c=y+S)*c)}function M(t,e,n,r,i,a){return i>=t&&i<=t+n&&a>=e&&a<=e+r}function S(t,e,n,r,i,a,o,l){var s=(Math.atan2(l-e,o-t)+2*Math.PI)%(2*Math.PI),c={x:t+n*Math.cos(s),y:e+n*Math.sin(s)};return(0,v.TE)(c.x,c.y,o,l)<=a/2}function A(t,e,n,r,i,a,o){var l=Math.min(t,n),s=Math.max(t,n),c=Math.min(e,r),u=Math.max(e,r),f=i/2;return a>=l-f&&a<=s+f&&o>=c-f&&o<=u+f&&(0,v._x)(t,e,n,r,a,o)<=i/2}function E(t,e,n,r,i){var a=t.length;if(a<2)return!1;for(var o=0;oMath.abs(t)?0:t<0?-1:1}function R(t,e,n){var r=!1,i=t.length;if(i<=2)return!1;for(var a=0;a0!=P(s[1]-n)>0&&0>P(e-(n-l[1])*(l[0]-s[0])/(l[1]-s[1])-l[0])&&(r=!r)}return r}function Z(t,e,n){for(var r=!1,i=0;ic&&g/p>u,e&&(e.resetTransform?e.resetTransform():e.setTransform(1,0,0,1,0,0),i.clearFullScreen&&i.clearRect(e,0,0,r*n,o*n,a.background))});var g=function(t,e){t.isVisible()&&!t.isCulled()&&i.renderDisplayObject(t,e,i.context,i.restoreStack,n),(t.sortable.sorted||t.childNodes).forEach(function(t){g(t,e)})};l.hooks.endFrame.tap(t.tag,function(){if(0===s.root.childNodes.length){i.clearFullScreenLastFrame=!0;return}i.clearFullScreenLastFrame=!1;var t=f.getContext(),e=f.getDPR();if(y.fromScaling(i.dprMatrix,[e,e,1]),y.multiply(i.vpMatrix,i.dprMatrix,o.getOrthoMatrix()),i.clearFullScreen)g(s.root,t);else{var l=i.safeMergeAABB.apply(i,(0,r.ev)([i.mergeDirtyAABBs(i.renderQueue)],(0,r.CR)(i.removedRBushNodeAABBs.map(function(t){var e=t.minX,n=t.minY,r=t.maxX,i=t.maxY,a=new F.mN;return a.setMinMax([e,n,0],[r,i,0]),a})),!1));if(i.removedRBushNodeAABBs=[],F.mN.isEmpty(l)){i.renderQueue=[];return}var c=i.convertAABB2Rect(l),u=c.x,h=c.y,p=c.width,v=c.height,b=m.fF(i.vec3a,[u,h,0],i.vpMatrix),x=m.fF(i.vec3b,[u+p,h,0],i.vpMatrix),O=m.fF(i.vec3c,[u,h+v,0],i.vpMatrix),w=m.fF(i.vec3d,[u+p,h+v,0],i.vpMatrix),_=Math.min(b[0],x[0],w[0],O[0]),k=Math.min(b[1],x[1],w[1],O[1]),C=Math.max(b[0],x[0],w[0],O[0]),j=Math.max(b[1],x[1],w[1],O[1]),M=Math.floor(_),S=Math.floor(k),A=Math.ceil(C-_),E=Math.ceil(j-k);t.save(),i.clearRect(t,M,S,A,E,a.background),t.beginPath(),t.rect(M,S,A,E),t.clip(),t.setTransform(i.vpMatrix[0],i.vpMatrix[1],i.vpMatrix[4],i.vpMatrix[5],i.vpMatrix[12],i.vpMatrix[13]),a.renderer.getConfig().enableDirtyRectangleRenderingDebug&&d.dispatchEvent(new F.Aw(F.$6.DIRTY_RECTANGLE,{dirtyRect:{x:M,y:S,width:A,height:E}})),i.searchDirtyObjects(l).sort(function(t,e){return t.sortable.renderOrder-e.sortable.renderOrder}).forEach(function(e){e&&e.isVisible()&&!e.isCulled()&&i.renderDisplayObject(e,t,i.context,i.restoreStack,n)}),t.restore(),i.renderQueue.forEach(function(t){i.saveDirtyAABB(t)}),i.renderQueue=[]}i.restoreStack.forEach(function(){t.restore()}),i.restoreStack=[]}),l.hooks.render.tap(t.tag,function(t){i.clearFullScreen||i.renderQueue.push(t)})},t.prototype.clearRect=function(t,e,n,r,i,a){t.clearRect(e,n,r,i),a&&(t.fillStyle=a,t.fillRect(e,n,r,i))},t.prototype.renderDisplayObject=function(t,e,n,r,i){var a=t.nodeName,o=r[r.length-1];o&&!(t.compareDocumentPosition(o)&F.NB.DOCUMENT_POSITION_CONTAINS)&&(e.restore(),r.pop());var l=this.context.styleRendererFactory[a],s=this.pathGeneratorFactory[a],c=t.parsedStyle.clipPath;if(c){this.applyWorldTransform(e,c);var u=this.pathGeneratorFactory[c.nodeName];u&&(e.save(),r.push(t),e.beginPath(),u(e,c.parsedStyle),e.closePath(),e.clip())}l&&(this.applyWorldTransform(e,t),e.save(),this.applyAttributesToContext(e,t)),s&&(e.beginPath(),s(e,t.parsedStyle),t.nodeName!==F.bn.LINE&&t.nodeName!==F.bn.PATH&&t.nodeName!==F.bn.POLYLINE&&e.closePath()),l&&(l.render(e,t.parsedStyle,t,n,this,i),e.restore()),t.renderable.dirty=!1},t.prototype.convertAABB2Rect=function(t){var e=t.getMin(),n=t.getMax(),r=Math.floor(e[0]),i=Math.floor(e[1]);return{x:r,y:i,width:Math.ceil(n[0])-r,height:Math.ceil(n[1])-i}},t.prototype.mergeDirtyAABBs=function(t){var e=new F.mN;return t.forEach(function(t){var n=t.getRenderBounds();e.add(n);var r=t.renderable.dirtyRenderBounds;r&&e.add(r)}),e},t.prototype.searchDirtyObjects=function(t){var e=(0,r.CR)(t.getMin(),2),n=e[0],i=e[1],a=(0,r.CR)(t.getMax(),2),o=a[0],l=a[1];return this.rBush.search({minX:n,minY:i,maxX:o,maxY:l}).map(function(t){return t.displayObject})},t.prototype.saveDirtyAABB=function(t){var e=t.renderable;e.dirtyRenderBounds||(e.dirtyRenderBounds=new F.mN);var n=t.getRenderBounds();n&&e.dirtyRenderBounds.update(n.center,n.halfExtents)},t.prototype.applyAttributesToContext=function(t,e){var n=e.parsedStyle,r=n.stroke,i=n.fill,a=n.opacity,o=n.lineDash,l=n.lineDashOffset;o&&t.setLineDash(o),(0,$.Z)(l)||(t.lineDashOffset=l),(0,$.Z)(a)||(t.globalAlpha*=a),(0,$.Z)(r)||Array.isArray(r)||r.isNone||(t.strokeStyle=e.attributes.stroke),(0,$.Z)(i)||Array.isArray(i)||i.isNone||(t.fillStyle=e.attributes.fill)},t.prototype.applyWorldTransform=function(t,e,n){n?(y.copy(this.tmpMat4,e.getLocalTransform()),y.multiply(this.tmpMat4,n,this.tmpMat4),y.multiply(this.tmpMat4,this.vpMatrix,this.tmpMat4)):(y.copy(this.tmpMat4,e.getWorldTransform()),y.multiply(this.tmpMat4,this.vpMatrix,this.tmpMat4)),t.setTransform(this.tmpMat4[0],this.tmpMat4[1],this.tmpMat4[4],this.tmpMat4[5],this.tmpMat4[12],this.tmpMat4[13])},t.prototype.safeMergeAABB=function(){for(var t=[],e=0;e0,k=(null==o?void 0:o.alpha)===0,C=!!(x&&x.length),j=!(0,$.Z)(v)&&b>0,M=n.nodeName,S="inner"===y,A=_&&j&&(M===F.bn.PATH||M===F.bn.LINE||M===F.bn.POLYLINE||k||S);w&&(t.globalAlpha=c*(void 0===u?1:u),A||q(n,t,j),U(t,n,o,l,r,i,a,this.imagePool),A||this.clearShadowAndFilter(t,C,j)),_&&(t.globalAlpha=c*(void 0===d?1:d),t.lineWidth=p,(0,$.Z)(O)||(t.miterLimit=O),(0,$.Z)(g)||(t.lineCap=g),(0,$.Z)(m)||(t.lineJoin=m),A&&(S&&(t.globalCompositeOperation="source-atop"),q(n,t,!0),S&&(Q(t,n,f,r,i,a,this.imagePool),t.globalCompositeOperation="source-over",this.clearShadowAndFilter(t,C,!0))),Q(t,n,f,r,i,a,this.imagePool))},t.prototype.clearShadowAndFilter=function(t,e,n){if(n&&(t.shadowColor="transparent",t.shadowBlur=0),e){var r=t.filter;!(0,$.Z)(r)&&r.indexOf("drop-shadow")>-1&&(t.filter=r.replace(/drop-shadow\([^)]*\)/,"").trim()||"none")}},t}();function q(t,e,n){var r=t.parsedStyle,i=r.filter,a=r.shadowColor,o=r.shadowBlur,l=r.shadowOffsetX,s=r.shadowOffsetY;i&&i.length&&(e.filter=t.style.filter),n&&(e.shadowColor=a.toString(),e.shadowBlur=o||0,e.shadowOffsetX=l||0,e.shadowOffsetY=s||0)}function Y(t,e,n,r,i,a,o){if("rect"===t.image.nodeName){var l,s,c=t.image.parsedStyle,u=c.width,f=c.height;s=r.contextService.getDPR();var d=r.config.offscreenCanvas;(l=a.offscreenCanvasCreator.getOrCreateCanvas(d)).width=u*s,l.height=f*s;var h=a.offscreenCanvasCreator.getOrCreateContext(d),p=[];t.image.forEach(function(t){i.renderDisplayObject(t,h,r,p,a)}),p.forEach(function(){h.restore()})}return o.getOrCreatePatternSync(t,n,l,s,e.getGeometryBounds().min,function(){e.renderable.dirty=!0,r.renderingService.dirtify()})}function V(t,e,n,i){var a;if(t.type===F.GL.LinearGradient||t.type===F.GL.RadialGradient){var o=e.getGeometryBounds(),l=o&&2*o.halfExtents[0]||1,s=o&&2*o.halfExtents[1]||1,c=o&&o.min||[0,0];a=i.getOrCreateGradient((0,r.pi)((0,r.pi)({type:t.type},t.value),{min:c,width:l,height:s}),n)}return a}function U(t,e,n,r,i,a,o,l,s){void 0===s&&(s=!1),Array.isArray(n)?n.forEach(function(n){t.fillStyle=V(n,e,t,l),s||(r?t.fill(r):t.fill())}):((0,F.R)(n)&&(t.fillStyle=Y(n,e,t,i,a,o,l)),s||(r?t.fill(r):t.fill()))}function Q(t,e,n,r,i,a,o,l){void 0===l&&(l=!1),Array.isArray(n)?n.forEach(function(n){t.strokeStyle=V(n,e,t,o),l||t.stroke()}):((0,F.R)(n)&&(t.strokeStyle=Y(n,e,t,r,i,a,o)),l||t.stroke())}var X=function(){function t(t){this.imagePool=t}return t.prototype.render=function(t,e,n){var r,i=e.x,a=e.y,o=e.width,l=e.height,s=e.src,c=e.shadowColor,u=e.shadowBlur,f=o,d=l;if((0,W.Z)(s)?r=this.imagePool.getImageSync(s):(f||(f=s.width),d||(d=s.height),r=s),r){q(n,t,!(0,$.Z)(c)&&u>0);try{t.drawImage(r,void 0===i?0:i,void 0===a?0:a,f,d)}catch(t){}}},t}(),K=function(){function t(t){this.imagePool=t}return t.prototype.render=function(t,e,n,r,i,a){n.getBounds();var o=e.lineWidth,l=void 0===o?1:o,s=e.textAlign,c=void 0===s?"start":s,u=e.textBaseline,f=void 0===u?"alphabetic":u,d=e.lineJoin,h=e.miterLimit,p=void 0===h?10:h,g=e.letterSpacing,m=void 0===g?0:g,y=e.stroke,v=e.fill,b=e.fillRule,x=e.fillOpacity,O=void 0===x?1:x,w=e.strokeOpacity,_=void 0===w?1:w,k=e.opacity,C=void 0===k?1:k,j=e.metrics,M=e.x,S=e.y,A=e.dx,E=e.dy,P=e.shadowColor,R=e.shadowBlur,Z=j.font,T=j.lines,L=j.height,B=j.lineHeight,I=j.lineMetrics;t.font=Z,t.lineWidth=l,t.textAlign="middle"===c?"center":c;var D=f;a.enableCSSParsing||"alphabetic"!==D||(D="bottom"),t.lineJoin=void 0===d?"miter":d,(0,$.Z)(p)||(t.miterLimit=p);var N=void 0===S?0:S;"middle"===f?N+=-L/2-B/2:"bottom"===f||"alphabetic"===f||"ideographic"===f?N+=-L:("top"===f||"hanging"===f)&&(N+=-B);var z=(void 0===M?0:M)+(A||0);N+=E||0,1===T.length&&("bottom"===D?(D="middle",N-=.5*L):"top"===D&&(D="middle",N+=.5*L)),t.textBaseline=D,q(n,t,!(0,$.Z)(P)&&R>0);for(var F=0;F=1?Math.ceil(n):1,this.dpr=n,this.$canvas&&(this.$canvas.width=this.dpr*t,this.$canvas.height=this.dpr*e,(0,i.$p)(this.$canvas,t,e)),this.renderingContext.renderReasons.add(i.Rr.CAMERA_CHANGED)},t.prototype.applyCursorStyle=function(t){this.$container&&this.$container.style&&(this.$container.style.cursor=t)},t.prototype.toDataURL=function(t){return void 0===t&&(t={}),(0,r.mG)(this,void 0,void 0,function(){var e,n;return(0,r.Jh)(this,function(r){return e=t.type,n=t.encoderOptions,[2,this.context.canvas.toDataURL(e,n)]})})},t}(),td=function(t){function e(){var e=t.apply(this,(0,r.ev)([],(0,r.CR)(arguments),!1))||this;return e.name="canvas-context-register",e}return(0,r.ZT)(e,t),e.prototype.init=function(){this.context.ContextService=tf},e.prototype.destroy=function(){delete this.context.ContextService},e}(i.F6),th=function(t){function e(e){var n=t.call(this,e)||this;return n.registerPlugin(new td),n.registerPlugin(new tu),n.registerPlugin(new p),n.registerPlugin(new J),n.registerPlugin(new tn),n.registerPlugin(new z),n.registerPlugin(new to),n}return(0,r.ZT)(e,t),e}(i.I8)},41263:function(t){"use strict";var e=Object.prototype.hasOwnProperty,n="~";function r(){}function i(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function a(t,e,r,a,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var l=new i(r,a||t,o),s=n?n+e:e;return t._events[s]?t._events[s].fn?t._events[s]=[t._events[s],l]:t._events[s].push(l):(t._events[s]=l,t._eventsCount++),t}function o(t,e){0==--t._eventsCount?t._events=new r:delete t._events[e]}function l(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),l.prototype.eventNames=function(){var t,r,i=[];if(0===this._eventsCount)return i;for(r in t=this._events)e.call(t,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},l.prototype.listeners=function(t){var e=n?n+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,a=r.length,o=Array(a);ie=>-t(-e),o=(t,e)=>{let n=Math.log(t),r=t===Math.E?Math.log:10===t?Math.log10:2===t?Math.log2:t=>Math.log(t)/n;return e?a(r):r},l=(t,e)=>{let n=t===Math.E?Math.exp:e=>t**e;return e?a(n):n};var s=n(7847);let c=(t,e,n,r=10)=>{let i=t<0,a=l(r,i),c=o(r,i),u=e=1;e-=1){let n=t*e;if(n>d)break;n>=f&&g.push(n)}}else for(;h<=p;h+=1){let t=a(h);for(let e=1;ed)break;n>=f&&g.push(n)}}2*g.length{let i=t<0,a=o(r,i),s=l(r,i),c=t>e,u=[s(Math.floor(a(c?e:t))),s(Math.ceil(a(c?t:e)))];return c?u.reverse():u};class f extends r.V{getDefaultOptions(){return{domain:[1,10],range:[0,1],base:10,interpolate:i.wp,tickMethod:c,tickCount:5}}chooseNice(){return u}getTickMethodOptions(){let{domain:t,tickCount:e,base:n}=this.options,r=t[0],i=t[t.length-1];return[r,i,e,n]}chooseTransforms(){let{base:t,domain:e}=this.options,n=e[0]<0;return[o(t,n),l(t,n)]}clone(){return new f(this.options)}}},64117:function(t,e,n){"use strict";n.d(e,{E:function(){return a}});var r=n(88944),i=n(8064);class a extends r.t{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:i.z,paddingInner:1,paddingOuter:0}}constructor(t){super(t)}getPaddingInner(){return 1}clone(){return new a(this.options)}update(t){super.update(t)}getPaddingOuter(){return this.options.padding}}},23331:function(t,e,n){"use strict";n.d(e,{p:function(){return u}});var r=n(67128),i=n(63025),a=n(25338),o=n(7847);let l=t=>e=>e<0?-((-e)**t):e**t,s=t=>e=>e<0?-((-e)**(1/t)):e**(1/t),c=t=>t<0?-Math.sqrt(-t):Math.sqrt(t);class u extends i.V{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,exponent:2,interpolate:a.wp,tickMethod:o.Z,tickCount:5}}constructor(t){super(t)}chooseTransforms(){let{exponent:t}=this.options;if(1===t)return[r.Z,r.Z];let e=.5===t?c:l(t),n=s(t);return[e,n]}clone(){return new u(this.options)}}},15203:function(t,e,n){"use strict";n.d(e,{c:function(){return a}});var r=n(90314),i=n(88073);class a extends r.M{getDefaultOptions(){return{domain:[],range:[],tickCount:5,unknown:void 0,tickMethod:i.GX}}constructor(t){super(t)}rescale(){let{domain:t,range:e}=this.options;this.n=e.length-1,this.thresholds=function(t,e,n=!1){n||t.sort((t,e)=>t-e);let r=[];for(let n=1;ne=>{let n=t(e);return(0,u.Z)(n)?Math.round(n):n};var d=n(36380);let h=i=class extends d.b{getDefaultOptions(){return{domain:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:a.Z,tickMethod:o.Z,tickCount:5}}constructor(t){super(t)}clone(){return new i(this.options)}};h=i=function(t,e,n,r){var i,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(o=(a<3?i(o):a>3?i(e,n,o):i(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}([(r=t=>{let[e,n]=t,r=(0,l.q)((0,s.fv)(0,1),(0,c.I)(e,n));return r},t=>{t.prototype.rescale=function(){this.initRange(),this.nice();let[t]=this.chooseTransforms();this.composeOutput(t,this.chooseClamp(t))},t.prototype.initRange=function(){let{interpolator:t}=this.options;this.options.range=[t(0),t(1)]},t.prototype.composeOutput=function(t,e){let{domain:n,interpolator:i,round:a}=this.getOptions(),o=r(n.map(t)),s=a?f(i):i;this.output=(0,l.q)(s,o,e,t)},t.prototype.invert=void 0})],h)},69437:function(t,e,n){"use strict";n.d(e,{F:function(){return o}});var r=n(25338),i=n(23331),a=n(7847);class o extends i.p{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:r.wp,tickMethod:a.Z,tickCount:5,exponent:.5}}constructor(t){super(t)}update(t){super.update(t)}clone(){return new o(this.options)}}},90314:function(t,e,n){"use strict";n.d(e,{M:function(){return o}});var r=n(74271),i=n(13393),a=n(33338);class o extends r.X{getDefaultOptions(){return{domain:[.5],range:[0,1]}}constructor(t){super(t)}map(t){if(!(0,i.J)(t))return this.options.unknown;let e=(0,a.b)(this.thresholds,t,0,this.n);return this.options.range[e]}invert(t){let{range:e}=this.options,n=e.indexOf(t),r=this.thresholds;return[r[n-1],r[n]]}clone(){return new o(this.options)}rescale(){let{domain:t,range:e}=this.options;this.n=Math.min(t.length,e.length-1),this.thresholds=t}}},27527:function(t,e,n){"use strict";n.d(e,{q:function(){return V}});var r=n(67128),i=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,a=/\[([^]*?)\]/gm;function o(t,e){for(var n=[],r=0,i=t.length;r-1?r:null}};function s(t){for(var e=[],n=1;n3?0:(t-t%10!=10?1:0)*t%10]}}),h=function(t,e){for(void 0===e&&(e=2),t=String(t);t.lengtht.getHours()?e.amPm[0]:e.amPm[1]},A:function(t,e){return 12>t.getHours()?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase()},ZZ:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+h(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+h(Math.floor(Math.abs(e)/60),2)+":"+h(Math.abs(e)%60,2)}};l("monthNamesShort"),l("monthNames");var g={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},m=function(t,e,n){if(void 0===e&&(e=g.default),void 0===n&&(n={}),"number"==typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw Error("Invalid Date pass to format");e=g[e]||e;var r=[];e=e.replace(a,function(t,e){return r.push(e),"@@@"});var o=s(s({},d),n);return(e=e.replace(i,function(e){return p[e](t,o)})).replace(/@@@/g,function(){return r.shift()})},y=n(63025);let v=864e5,b=7*v,x=30*v,O=365*v;function w(t,e,n,r){let i=(t,e)=>{let i=t=>r(t)%e==0,a=e;for(;a&&!i(t);)n(t,-1),a-=1;return t},a=(t,n)=>{n&&i(t,n),e(t)},o=(t,e)=>{let r=new Date(+t-1);return a(r,e),n(r,e),a(r),r};return{ceil:o,floor:(t,e)=>{let n=new Date(+t);return a(n,e),n},range:(t,e,r,i)=>{let l=[],s=Math.floor(r),c=i?o(t,r):o(t);for(;ct,(t,e=1)=>{t.setTime(+t+e)},t=>t.getTime()),k=w(1e3,t=>{t.setMilliseconds(0)},(t,e=1)=>{t.setTime(+t+1e3*e)},t=>t.getSeconds()),C=w(6e4,t=>{t.setSeconds(0,0)},(t,e=1)=>{t.setTime(+t+6e4*e)},t=>t.getMinutes()),j=w(36e5,t=>{t.setMinutes(0,0,0)},(t,e=1)=>{t.setTime(+t+36e5*e)},t=>t.getHours()),M=w(v,t=>{t.setHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+v*e)},t=>t.getDate()-1),S=w(x,t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e=1)=>{let n=t.getMonth();t.setMonth(n+e)},t=>t.getMonth()),A=w(b,t=>{t.setDate(t.getDate()-t.getDay()%7),t.setHours(0,0,0,0)},(t,e=1)=>{t.setDate(t.getDate()+7*e)},t=>{let e=S.floor(t),n=new Date(+t);return Math.floor((+n-+e)/b)}),E=w(O,t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e=1)=>{let n=t.getFullYear();t.setFullYear(n+e)},t=>t.getFullYear()),P={millisecond:_,second:k,minute:C,hour:j,day:M,week:A,month:S,year:E},R=w(1,t=>t,(t,e=1)=>{t.setTime(+t+e)},t=>t.getTime()),Z=w(1e3,t=>{t.setUTCMilliseconds(0)},(t,e=1)=>{t.setTime(+t+1e3*e)},t=>t.getUTCSeconds()),T=w(6e4,t=>{t.setUTCSeconds(0,0)},(t,e=1)=>{t.setTime(+t+6e4*e)},t=>t.getUTCMinutes()),L=w(36e5,t=>{t.setUTCMinutes(0,0,0)},(t,e=1)=>{t.setTime(+t+36e5*e)},t=>t.getUTCHours()),B=w(v,t=>{t.setUTCHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+v*e)},t=>t.getUTCDate()-1),I=w(x,t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e=1)=>{let n=t.getUTCMonth();t.setUTCMonth(n+e)},t=>t.getUTCMonth()),D=w(b,t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7)%7),t.setUTCHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+b*e)},t=>{let e=I.floor(t),n=new Date(+t);return Math.floor((+n-+e)/b)}),N=w(O,t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e=1)=>{let n=t.getUTCFullYear();t.setUTCFullYear(n+e)},t=>t.getUTCFullYear()),z={millisecond:R,second:Z,minute:T,hour:L,day:B,week:D,month:I,year:N};var F=n(33338),$=n(72478);function W(t,e,n,r,i){let a;let o=+t,l=+e,{tickIntervals:s,year:c,millisecond:u}=function(t){let{year:e,month:n,week:r,day:i,hour:a,minute:o,second:l,millisecond:s}=t?z:P;return{tickIntervals:[[l,1],[l,5],[l,15],[l,30],[o,1],[o,5],[o,15],[o,30],[a,1],[a,3],[a,6],[a,12],[i,1],[i,2],[r,1],[n,1],[n,3],[e,1]],year:e,millisecond:s}}(i),f=([t,e])=>t.duration*e,d=r?(l-o)/r:n||5,h=r||(l-o)/d,p=s.length,g=(0,F.b)(s,h,0,p,f);if(g===p){let t=(0,$.l)(o/c.duration,l/c.duration,d);a=[c,t]}else if(g){let t=h/f(s[g-1]){let a=t>e,o=a?e:t,l=a?t:e,[s,c]=W(o,l,n,r,i),u=s.range(o,new Date(+l+1),c,!0);return a?u.reverse():u};var G=n(25338);let q=(t,e,n,r,i)=>{let a=t>e,o=a?e:t,l=a?t:e,[s,c]=W(o,l,n,r,i),u=[s.floor(o,c),s.ceil(l,c)];return a?u.reverse():u};function Y(t){let e=t.getTimezoneOffset(),n=new Date(t);return n.setMinutes(n.getMinutes()+e,n.getSeconds(),n.getMilliseconds()),n}class V extends y.V{getDefaultOptions(){return{domain:[new Date(2e3,0,1),new Date(2e3,0,2)],range:[0,1],nice:!1,tickCount:5,tickInterval:void 0,unknown:void 0,clamp:!1,tickMethod:H,interpolate:G.fv,mask:void 0,utc:!1}}chooseTransforms(){return[t=>+t,t=>new Date(t)]}chooseNice(){return q}getTickMethodOptions(){let{domain:t,tickCount:e,tickInterval:n,utc:r}=this.options,i=t[0],a=t[t.length-1];return[i,a,e,n,r]}getFormatter(){let{mask:t,utc:e}=this.options,n=e?z:P,i=e?Y:r.Z;return e=>m(i(e),t||function(t,e){let{second:n,minute:r,hour:i,day:a,week:o,month:l,year:s}=e;return n.floor(t)Math.abs(t)?t:parseFloat(t.toFixed(14))}let l=[1,5,2,2.5,4,3],s=100*Number.EPSILON,c=(t,e,n=5,i=!0,c=l,u=[.25,.2,.5,.05])=>{let f=n<0?0:Math.round(n);if(Number.isNaN(t)||Number.isNaN(e)||"number"!=typeof t||"number"!=typeof e||!f)return[];if(e-t<1e-15||1===f)return[t];let d={score:-2,lmin:0,lmax:0,lstep:0},h=1;for(;h<1/0;){for(let n=0;n=f?2-(p-1)/(f-1):1;if(u[0]*l+u[1]+u[2]*n+u[3]r?1-((n-r)/2)**2/(.1*r)**2:1}(t,e,p*(g-1));if(u[0]*l+u[1]*m+u[2]*n+u[3]=0&&(f=1),1-u/(c-1)-n+f}(o,c,h,m,y,p),x=1-.5*((e-y)**2+(t-m)**2)/(.1*(e-t))**2,O=function(t,e,n,r,i,a){let o=(t-1)/(a-i),l=(e-1)/(Math.max(a,r)-Math.min(n,i));return 2-Math.max(o/l,l/o)}(g,f,t,e,m,y),w=u[0]*b+u[1]*x+u[2]*O+1*u[3];w>d.score&&(!i||m<=t&&y>=e)&&(d.lmin=m,d.lmax=y,d.lstep=p,d.score=w)}}y+=1}g+=1}}h+=1}let g=o(d.lmax),m=o(d.lmin),y=o(d.lstep),v=Math.floor(Math.round(1e12*((g-m)/y))/1e12)+1,b=Array(v);b[0]=o(m);for(let t=1;t0?g[O]+" "+w:l(w,/&\f/g,g[O])).trim())&&(f[x++]=_);return b(t,e,n,0===a?E:c,f,d,h)}function B(t,e,n,r){return b(t,e,n,P,u(t,0,r),u(t,r+1,-1),r)}var I=function(t,e,n){for(var r=0,i=0;r=i,i=w(),38===r&&12===i&&(e[n]=1),!_(i);)O();return u(v,t,m)},D=function(t,e){var n=-1,r=44;do switch(_(r)){case 0:38===r&&12===w()&&(e[n]=1),t[n]+=I(m-1,e,n);break;case 2:t[n]+=C(r);break;case 4:if(44===r){t[++n]=58===w()?"&\f":"",e[n]=t[n].length;break}default:t[n]+=a(r)}while(r=O());return t},N=function(t,e){var n;return n=D(k(t),e),v="",n},z=new WeakMap,F=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var e=t.value,n=t.parent,r=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||z.get(n))&&!r){z.set(t,!0);for(var i=[],a=N(e,i),o=n.props,l=0,s=0;l-1&&!t.return)switch(t.type){case P:t.return=function t(e,n){switch(45^c(e,0)?(((n<<2^c(e,0))<<2^c(e,1))<<2^c(e,2))<<2^c(e,3):0){case 5103:return S+"print-"+e+e;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 S+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return S+e+M+e+j+e+e;case 6828:case 4268:return S+e+j+e+e;case 6165:return S+e+j+"flex-"+e+e;case 5187:return S+e+l(e,/(\w+).+(:[^]+)/,S+"box-$1$2"+j+"flex-$1$2")+e;case 5443:return S+e+j+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return S+e+j+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return S+e+j+l(e,"shrink","negative")+e;case 5292:return S+e+j+l(e,"basis","preferred-size")+e;case 6060:return S+"box-"+l(e,"-grow","")+S+e+j+l(e,"grow","positive")+e;case 4554:return S+l(e,/([^-])(transform)/g,"$1"+S+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,S+"$1"),/(image-set)/,S+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,S+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,S+"box-pack:$3"+j+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+S+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,S+"$1$2")+e;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(f(e)-1-n>6)switch(c(e,n+1)){case 109:if(45!==c(e,n+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+S+"$2-$3$1"+M+(108==c(e,n+3)?"$3":"$2-$3"))+e;case 115:return~s(e,"stretch")?t(l(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(115!==c(e,n+1))break;case 6444:switch(c(e,f(e)-3-(~s(e,"!important")&&10))){case 107:return l(e,":",":"+S)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+S+(45===c(e,14)?"inline-":"")+"box$3$1"+S+"$2$3$1"+j+"$2box$3")+e}break;case 5936:switch(c(e,n+11)){case 114:return S+e+j+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return S+e+j+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return S+e+j+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return S+e+j+e+e}return e}(t.value,t.length);break;case R:return Z([x(t,{value:l(t.value,"@","@"+S)})],r);case E:if(t.length)return t.props.map(function(e){var n;switch(n=e,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return Z([x(t,{props:[l(e,/:(read-\w+)/,":"+M+"$1")]})],r);case"::placeholder":return Z([x(t,{props:[l(e,/:(plac\w+)/,":"+S+"input-$1")]}),x(t,{props:[l(e,/:(plac\w+)/,":"+M+"$1")]}),x(t,{props:[l(e,/:(plac\w+)/,j+"input-$1")]})],r)}return""}).join("")}}],H=function(t){var e,n,i,o,g,x=t.key;if("css"===x){var j=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(j,function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))})}var M=t.stylisPlugins||W,S={},E=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+x+' "]'),function(t){for(var e=t.getAttribute("data-emotion").split(" "),n=1;n2||_(y)>3?"":" "}(T);break;case 92:G+=function(t,e){for(var n;--e&&O()&&!(y<48)&&!(y>102)&&(!(y>57)||!(y<65))&&(!(y>70)||!(y<97)););return n=m+(e<6&&32==w()&&32==O()),u(v,t,n)}(m-1,7);continue;case 47:switch(w()){case 42:case 47:d(b(M=function(t,e){for(;O();)if(t+y===57)break;else if(t+y===84&&47===w())break;return"/*"+u(v,e,m-1)+"*"+a(47===t?t:O())}(O(),m),n,r,A,a(y),u(M,2,-2),0),j);break;default:G+="/"}break;case 123*I:k[S++]=f(G)*N;case 125*I:case 59:case 0:switch(z){case 0:case 125:D=0;case 59+E:-1==N&&(G=l(G,/\f/g,"")),Z>0&&f(G)-P&&d(Z>32?B(G+";",i,r,P-1):B(l(G," ","")+";",i,r,P-2),j);break;case 59:G+=";";default:if(d(H=L(G,n,r,S,E,o,k,F,$=[],W=[],P),g),123===z){if(0===E)t(G,n,H,H,$,g,P,k,W);else switch(99===R&&110===c(G,3)?100:R){case 100:case 108:case 109:case 115:t(e,H,H,i&&d(L(e,H,H,0,0,o,k,F,o,$=[],P),W),o,W,P,k,i?$:W);break;default:t(G,H,H,H,[""],W,0,k,W)}}}S=E=Z=0,I=N=1,F=G="",P=x;break;case 58:P=1+f(G),Z=T;default:if(I<1){if(123==z)--I;else if(125==z&&0==I++&&125==(y=m>0?c(v,--m):0,p--,10===y&&(p=1,h--),y))continue}switch(G+=a(z),z*I){case 38:N=E>0?1:(G+="\f",-1);break;case 44:k[S++]=(f(G)-1)*N,N=1;break;case 64:45===w()&&(G+=C(O())),R=w(),E=P=f(F=G+=function(t){for(;!_(w());)O();return u(v,t,m)}(m)),z++;break;case 45:45===T&&2==f(G)&&(I=0)}}return g}("",null,null,null,[""],e=k(e=t),0,[0],e),v="",n),P)},I={key:x,sheet:new r({key:x,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:S,registered:{},insert:function(t,e,n,r){g=n,R(t?t+"{"+e.styles+"}":e.styles),r&&(I.inserted[e.name]=!0)}};return I.sheet.hydrate(E),I}},45042:function(t,e,n){"use strict";function r(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}n.d(e,{Z:function(){return r}})},6498:function(t,e,n){"use strict";n.d(e,{C:function(){return l},T:function(){return c},i:function(){return a},w:function(){return s}});var r=n(67294),i=n(8417);n(26346),n(27278);var a=!0,o=r.createContext("undefined"!=typeof HTMLElement?(0,i.Z)({key:"css"}):null),l=o.Provider,s=function(t){return(0,r.forwardRef)(function(e,n){return t(e,(0,r.useContext)(o),n)})};a||(s=function(t){return function(e){var n=(0,r.useContext)(o);return null===n?(n=(0,i.Z)({key:"css"}),r.createElement(o.Provider,{value:n},t(e,n))):t(e,n)}});var c=r.createContext({})},70917:function(t,e,n){"use strict";n.d(e,{F4:function(){return u},iv:function(){return c},xB:function(){return s}});var r=n(6498),i=n(67294),a=n(70444),o=n(27278),l=n(26346);n(8417),n(8679);var s=(0,r.w)(function(t,e){var n=t.styles,s=(0,l.O)([n],void 0,i.useContext(r.T));if(!r.i){for(var c,u=s.name,f=s.styles,d=s.next;void 0!==d;)u+=" "+d.name,f+=d.styles,d=d.next;var h=!0===e.compat,p=e.insert("",{name:u,styles:f},e.sheet,h);return h?null:i.createElement("style",((c={})["data-emotion"]=e.key+"-global "+u,c.dangerouslySetInnerHTML={__html:p},c.nonce=e.sheet.nonce,c))}var g=i.useRef();return(0,o.j)(function(){var t=e.key+"-global",n=new e.sheet.constructor({key:t,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+t+" "+s.name+'"]');return e.sheet.tags.length&&(n.before=e.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",t),n.hydrate([i])),g.current=[n,r],function(){n.flush()}},[e]),(0,o.j)(function(){var t=g.current,n=t[0];if(t[1]){t[1]=!1;return}if(void 0!==s.next&&(0,a.My)(e,s.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}e.insert("",s,n,!1)},[e,s.name]),null});function c(){for(var t=arguments.length,e=Array(t),n=0;n=4;++r,i-=4)e=(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))*1540483477+((e>>>16)*59797<<16),e^=e>>>24,n=(65535&e)*1540483477+((e>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(i){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n^=255&t.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)}(o)+c,styles:o,next:r}}},94371:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var r={animationIterationCount:1,aspectRatio: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}},27278:function(t,e,n){"use strict";n.d(e,{L:function(){return o},j:function(){return l}});var r,i=n(67294),a=!!(r||(r=n.t(i,2))).useInsertionEffect&&(r||(r=n.t(i,2))).useInsertionEffect,o=a||function(t){return t()},l=a||i.useLayoutEffect},70444:function(t,e,n){"use strict";function r(t,e,n){var r="";return n.split(" ").forEach(function(n){void 0!==t[n]?e.push(t[n]+";"):r+=n+" "}),r}n.d(e,{My:function(){return a},fp:function(){return r},hC:function(){return i}});var i=function(t,e,n){var r=t.key+"-"+e.name;!1===n&&void 0===t.registered[r]&&(t.registered[r]=e.styles)},a=function(t,e,n){i(t,e,n);var r=t.key+"-"+e.name;if(void 0===t.inserted[e.name]){var a=e;do t.insert(e===a?"."+r:"",a,t.sheet,!0),a=a.next;while(void 0!==a)}}},10238:function(t,e,n){"use strict";n.d(e,{$:function(){return a}});var r=n(87462),i=n(28442);function a(t,e,n){return void 0===t||(0,i.X)(t)?e:(0,r.Z)({},e,{ownerState:(0,r.Z)({},e.ownerState,n)})}},30437:function(t,e,n){"use strict";function r(t,e=[]){if(void 0===t)return{};let n={};return Object.keys(t).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof t[n]&&!e.includes(n)).forEach(e=>{n[e]=t[e]}),n}n.d(e,{_:function(){return r}})},28442:function(t,e,n){"use strict";function r(t){return"string"==typeof t}n.d(e,{X:function(){return r}})},24407:function(t,e,n){"use strict";n.d(e,{L:function(){return l}});var r=n(87462),i=n(90512),a=n(30437);function o(t){if(void 0===t)return{};let e={};return Object.keys(t).filter(e=>!(e.match(/^on[A-Z]/)&&"function"==typeof t[e])).forEach(n=>{e[n]=t[n]}),e}function l(t){let{getSlotProps:e,additionalProps:n,externalSlotProps:l,externalForwardedProps:s,className:c}=t;if(!e){let t=(0,i.Z)(null==s?void 0:s.className,null==l?void 0:l.className,c,null==n?void 0:n.className),e=(0,r.Z)({},null==n?void 0:n.style,null==s?void 0:s.style,null==l?void 0:l.style),a=(0,r.Z)({},n,s,l);return t.length>0&&(a.className=t),Object.keys(e).length>0&&(a.style=e),{props:a,internalRef:void 0}}let u=(0,a._)((0,r.Z)({},s,l)),f=o(l),d=o(s),h=e(u),p=(0,i.Z)(null==h?void 0:h.className,null==n?void 0:n.className,c,null==s?void 0:s.className,null==l?void 0:l.className),g=(0,r.Z)({},null==h?void 0:h.style,null==n?void 0:n.style,null==s?void 0:s.style,null==l?void 0:l.style),m=(0,r.Z)({},h,n,d,f);return p.length>0&&(m.className=p),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:h.ref}}},71276:function(t,e,n){"use strict";function r(t,e,n){return"function"==typeof t?t(e,n):t}n.d(e,{x:function(){return r}})},41118:function(t,e,n){"use strict";n.d(e,{Z:function(){return w}});var r=n(63366),i=n(87462),a=n(67294),o=n(90512),l=n(58510),s=n(62908),c=n(16485),u=n(20407),f=n(74312),d=n(2226),h=n(26821);function p(t){return(0,h.d6)("MuiCard",t)}(0,h.sI)("MuiCard",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","horizontal","vertical"]);var g=n(58859),m=n(30220),y=n(85893);let v=["className","color","component","invertedColors","size","variant","children","orientation","slots","slotProps"],b=t=>{let{size:e,variant:n,color:r,orientation:i}=t,a={root:["root",i,n&&`variant${(0,s.Z)(n)}`,r&&`color${(0,s.Z)(r)}`,e&&`size${(0,s.Z)(e)}`]};return(0,l.Z)(a,p,{})},x=(0,f.Z)("div",{name:"JoyCard",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t,ownerState:e})=>{var n,r;let{p:a,padding:o,borderRadius:l}=(0,g.V)({theme:t,ownerState:e},["p","padding","borderRadius"]);return[(0,i.Z)({"--Icon-color":"neutral"!==e.color||"solid"===e.variant?"currentColor":t.vars.palette.text.icon,"--Card-childRadius":"max((var(--Card-radius) - var(--variant-borderWidth, 0px)) - var(--Card-padding), min(var(--Card-padding) / 2, (var(--Card-radius) - var(--variant-borderWidth, 0px)) / 2))","--AspectRatio-radius":"var(--Card-childRadius)","--unstable_actionMargin":"calc(-1 * var(--variant-borderWidth, 0px))","--unstable_actionRadius":"var(--Card-radius)","--CardCover-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--CardOverflow-offset":"calc(-1 * var(--Card-padding))","--CardOverflow-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--Divider-inset":"calc(-1 * var(--Card-padding))"},"sm"===e.size&&{"--Card-radius":t.vars.radius.sm,"--Card-padding":"0.625rem",gap:"0.5rem"},"md"===e.size&&{"--Card-radius":t.vars.radius.md,"--Card-padding":"1rem",gap:"0.75rem 1rem"},"lg"===e.size&&{"--Card-radius":t.vars.radius.lg,"--Card-padding":"1.5rem",gap:"1rem 1.5rem"},{padding:"var(--Card-padding)",borderRadius:"var(--Card-radius)",backgroundColor:t.vars.palette.background.surface,position:"relative",display:"flex",flexDirection:"horizontal"===e.orientation?"row":"column"},t.typography[`body-${e.size}`],null==(n=t.variants[e.variant])?void 0:n[e.color]),"context"!==e.color&&e.invertedColors&&(null==(r=t.colorInversion[e.variant])?void 0:r[e.color]),void 0!==a&&{"--Card-padding":a},void 0!==o&&{"--Card-padding":o},void 0!==l&&{"--Card-radius":l}]}),O=a.forwardRef(function(t,e){let n=(0,u.Z)({props:t,name:"JoyCard"}),{className:l,color:s="neutral",component:f="div",invertedColors:h=!1,size:p="md",variant:g="outlined",children:O,orientation:w="vertical",slots:_={},slotProps:k={}}=n,C=(0,r.Z)(n,v),{getColor:j}=(0,d.VT)(g),M=j(t.color,s),S=(0,i.Z)({},n,{color:M,component:f,orientation:w,size:p,variant:g}),A=b(S),E=(0,i.Z)({},C,{component:f,slots:_,slotProps:k}),[P,R]=(0,m.Z)("root",{ref:e,className:(0,o.Z)(A.root,l),elementType:x,externalForwardedProps:E,ownerState:S}),Z=(0,y.jsx)(P,(0,i.Z)({},R,{children:a.Children.map(O,(t,e)=>{if(!a.isValidElement(t))return t;let n={};if((0,c.Z)(t,["Divider"])){n.inset="inset"in t.props?t.props.inset:"context";let e="vertical"===w?"horizontal":"vertical";n.orientation="orientation"in t.props?t.props.orientation:e}return(0,c.Z)(t,["CardOverflow"])&&("horizontal"===w&&(n["data-parent"]="Card-horizontal"),"vertical"===w&&(n["data-parent"]="Card-vertical")),0===e&&(n["data-first-child"]=""),e===a.Children.count(O)-1&&(n["data-last-child"]=""),a.cloneElement(t,n)})}));return h?(0,y.jsx)(d.do,{variant:g,children:Z}):Z});var w=O},30208:function(t,e,n){"use strict";n.d(e,{Z:function(){return b}});var r=n(87462),i=n(63366),a=n(67294),o=n(90512),l=n(58510),s=n(20407),c=n(74312),u=n(26821);function f(t){return(0,u.d6)("MuiCardContent",t)}(0,u.sI)("MuiCardContent",["root"]);let d=(0,u.sI)("MuiCardOverflow",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var h=n(30220),p=n(85893);let g=["className","component","children","orientation","slots","slotProps"],m=()=>(0,l.Z)({root:["root"]},f,{}),y=(0,c.Z)("div",{name:"JoyCardContent",slot:"Root",overridesResolver:(t,e)=>e.root})(({ownerState:t})=>({display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column",flex:9999,zIndex:1,columnGap:"var(--Card-padding)",rowGap:"max(2px, calc(0.1875 * var(--Card-padding)))",padding:"var(--unstable_padding)",[`.${d.root} > &`]:{"--unstable_padding":"calc(var(--Card-padding) * 0.75) 0px"}})),v=a.forwardRef(function(t,e){let n=(0,s.Z)({props:t,name:"JoyCardContent"}),{className:a,component:l="div",children:c,orientation:u="vertical",slots:f={},slotProps:d={}}=n,v=(0,i.Z)(n,g),b=(0,r.Z)({},v,{component:l,slots:f,slotProps:d}),x=(0,r.Z)({},n,{component:l,orientation:u}),O=m(),[w,_]=(0,h.Z)("root",{ref:e,className:(0,o.Z)(O.root,a),elementType:y,externalForwardedProps:b,ownerState:x});return(0,p.jsx)(w,(0,r.Z)({},_,{children:c}))});var b=v},61685:function(t,e,n){"use strict";n.d(e,{Z:function(){return w}});var r=n(63366),i=n(87462),a=n(67294),o=n(90512),l=n(62908),s=n(58510),c=n(20407),u=n(2226),f=n(74312),d=n(26821);function h(t){return(0,d.d6)("MuiTable",t)}(0,d.sI)("MuiTable",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","stickyHeader","stickyFooter","noWrap","hoverRow","borderAxisNone","borderAxisX","borderAxisXBetween","borderAxisY","borderAxisYBetween","borderAxisBoth","borderAxisBothBetween"]);var p=n(40911),g=n(30220),m=n(85893);let y=["className","component","children","borderAxis","hoverRow","noWrap","size","variant","color","stripe","stickyHeader","stickyFooter","slots","slotProps"],v=t=>{let{size:e,variant:n,color:r,borderAxis:i,stickyHeader:a,stickyFooter:o,noWrap:c,hoverRow:u}=t,f={root:["root",a&&"stickyHeader",o&&"stickyFooter",c&&"noWrap",u&&"hoverRow",i&&`borderAxis${(0,l.Z)(i)}`,n&&`variant${(0,l.Z)(n)}`,r&&`color${(0,l.Z)(r)}`,e&&`size${(0,l.Z)(e)}`]};return(0,s.Z)(f,h,{})},b={getColumnExceptFirst:()=>"& tr > *:not(:first-of-type), & tr > th + td, & tr > td + th",getCell:()=>"& th, & td",getHeadCell:()=>"& th",getHeaderCell:()=>"& thead th",getHeaderCellOfRow:t=>`& thead tr:nth-of-type(${t}) th`,getBottomHeaderCell:()=>"& thead th:not([colspan])",getHeaderNestedFirstColumn:()=>"& thead tr:not(:first-of-type) th:not([colspan]):first-of-type",getDataCell:()=>"& td",getDataCellExceptLastRow:()=>"& tr:not(:last-of-type) > td",getBodyCellExceptLastRow(){return`${this.getDataCellExceptLastRow()}, & tr:not(:last-of-type) > th[scope="row"]`},getBodyCellOfRow:t=>"number"==typeof t&&t<0?`& tbody tr:nth-last-of-type(${Math.abs(t)}) td, & tbody tr:nth-last-of-type(${Math.abs(t)}) th[scope="row"]`:`& tbody tr:nth-of-type(${t}) td, & tbody tr:nth-of-type(${t}) th[scope="row"]`,getBodyRow:t=>void 0===t?"& tbody tr":`& tbody tr:nth-of-type(${t})`,getFooterCell:()=>"& tfoot th, & tfoot td",getFooterFirstRowCell:()=>"& tfoot tr:not(:last-of-type) th, & tfoot tr:not(:last-of-type) td"},x=(0,f.Z)("table",{name:"JoyTable",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t,ownerState:e})=>{var n,r,a,o,l,s,c;let u=null==(n=t.variants[e.variant])?void 0:n[e.color];return[(0,i.Z)({"--Table-headerUnderlineThickness":"2px","--TableCell-borderColor":null!=(r=null==u?void 0:u.borderColor)?r:t.vars.palette.divider,"--TableCell-headBackground":`var(--Sheet-background, ${t.vars.palette.background.surface})`},"sm"===e.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 32px)","--TableCell-paddingX":"0.25rem","--TableCell-paddingY":"0.25rem"},"md"===e.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 40px)","--TableCell-paddingX":"0.5rem","--TableCell-paddingY":"0.375rem"},"lg"===e.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 48px)","--TableCell-paddingX":"0.75rem","--TableCell-paddingY":"0.5rem"},{tableLayout:"fixed",width:"100%",borderSpacing:"0px",borderCollapse:"separate",borderRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"},t.typography[`body-${({sm:"xs",md:"sm",lg:"md"})[e.size]}`],null==(a=t.variants[e.variant])?void 0:a[e.color],{"& caption":{color:t.vars.palette.text.tertiary,padding:"calc(2 * var(--TableCell-paddingY)) var(--TableCell-paddingX)"},[b.getDataCell()]:(0,i.Z)({padding:"var(--TableCell-paddingY) var(--TableCell-paddingX)",height:"var(--unstable_TableCell-height)",borderColor:"var(--TableCell-borderColor)",backgroundColor:"var(--TableCell-dataBackground)"},e.noWrap&&{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}),[b.getHeadCell()]:{textAlign:"left",padding:"var(--TableCell-paddingY) var(--TableCell-paddingX)",backgroundColor:"var(--TableCell-headBackground)",height:"var(--unstable_TableCell-height)",fontWeight:t.vars.fontWeight.lg,borderColor:"var(--TableCell-borderColor)",color:t.vars.palette.text.secondary,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},[b.getHeaderCell()]:{verticalAlign:"bottom","&:first-of-type":{borderTopLeftRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"},"&:last-of-type":{borderTopRightRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"}},"& tfoot tr > *":{backgroundColor:`var(--TableCell-footBackground, ${t.vars.palette.background.level1})`,"&:first-of-type":{borderBottomLeftRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"},"&:last-of-type":{borderBottomRightRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"}}}),((null==(o=e.borderAxis)?void 0:o.startsWith("x"))||(null==(l=e.borderAxis)?void 0:l.startsWith("both")))&&{[b.getHeaderCell()]:{borderBottomWidth:1,borderBottomStyle:"solid"},[b.getBottomHeaderCell()]:{borderBottomWidth:"var(--Table-headerUnderlineThickness)",borderBottomStyle:"solid"},[b.getBodyCellExceptLastRow()]:{borderBottomWidth:1,borderBottomStyle:"solid"},[b.getFooterCell()]:{borderTopWidth:1,borderTopStyle:"solid"}},((null==(s=e.borderAxis)?void 0:s.startsWith("y"))||(null==(c=e.borderAxis)?void 0:c.startsWith("both")))&&{[`${b.getColumnExceptFirst()}, ${b.getHeaderNestedFirstColumn()}`]:{borderLeftWidth:1,borderLeftStyle:"solid"}},("x"===e.borderAxis||"both"===e.borderAxis)&&{[b.getHeaderCellOfRow(1)]:{borderTopWidth:1,borderTopStyle:"solid"},[b.getBodyCellOfRow(-1)]:{borderBottomWidth:1,borderBottomStyle:"solid"},[b.getFooterCell()]:{borderBottomWidth:1,borderBottomStyle:"solid"}},("y"===e.borderAxis||"both"===e.borderAxis)&&{"& tr > *:first-of-type":{borderLeftWidth:1,borderLeftStyle:"solid"},"& tr > *:last-of-type:not(:first-of-type)":{borderRightWidth:1,borderRightStyle:"solid"}},e.stripe&&{[b.getBodyRow(e.stripe)]:{background:`var(--TableRow-stripeBackground, ${t.vars.palette.background.level2})`,color:t.vars.palette.text.primary}},e.hoverRow&&{[b.getBodyRow()]:{"&:hover":{background:`var(--TableRow-hoverBackground, ${t.vars.palette.background.level3})`}}},e.stickyHeader&&{[b.getHeaderCell()]:{position:"sticky",top:0,zIndex:t.vars.zIndex.table},[b.getHeaderCellOfRow(2)]:{top:"var(--unstable_TableCell-height)"}},e.stickyFooter&&{[b.getFooterCell()]:{position:"sticky",bottom:0,zIndex:t.vars.zIndex.table,color:t.vars.palette.text.secondary,fontWeight:t.vars.fontWeight.lg},[b.getFooterFirstRowCell()]:{bottom:"var(--unstable_TableCell-height)"}}]}),O=a.forwardRef(function(t,e){let n=(0,c.Z)({props:t,name:"JoyTable"}),{className:a,component:l,children:s,borderAxis:f="xBetween",hoverRow:d=!1,noWrap:h=!1,size:b="md",variant:O="plain",color:w="neutral",stripe:_,stickyHeader:k=!1,stickyFooter:C=!1,slots:j={},slotProps:M={}}=n,S=(0,r.Z)(n,y),{getColor:A}=(0,u.VT)(O),E=A(t.color,w),P=(0,i.Z)({},n,{borderAxis:f,hoverRow:d,noWrap:h,component:l,size:b,color:E,variant:O,stripe:_,stickyHeader:k,stickyFooter:C}),R=v(P),Z=(0,i.Z)({},S,{component:l,slots:j,slotProps:M}),[T,L]=(0,g.Z)("root",{ref:e,className:(0,o.Z)(R.root,a),elementType:x,externalForwardedProps:Z,ownerState:P});return(0,m.jsx)(p.eu.Provider,{value:!0,children:(0,m.jsx)(T,(0,i.Z)({},L,{children:s}))})});var w=O},40911:function(t,e,n){"use strict";n.d(e,{eu:function(){return x},ZP:function(){return M}});var r=n(63366),i=n(87462),a=n(67294),o=n(62908),l=n(16485),s=n(39707),c=n(58510),u=n(74312),f=n(20407),d=n(2226),h=n(30220),p=n(26821);function g(t){return(0,p.d6)("MuiTypography",t)}(0,p.sI)("MuiTypography",["root","h1","h2","h3","h4","title-lg","title-md","title-sm","body-lg","body-md","body-sm","body-xs","noWrap","gutterBottom","startDecorator","endDecorator","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var m=n(85893);let y=["color","textColor"],v=["component","gutterBottom","noWrap","level","levelMapping","children","endDecorator","startDecorator","variant","slots","slotProps"],b=a.createContext(!1),x=a.createContext(!1),O=t=>{let{gutterBottom:e,noWrap:n,level:r,color:i,variant:a}=t,l={root:["root",r,e&&"gutterBottom",n&&"noWrap",i&&`color${(0,o.Z)(i)}`,a&&`variant${(0,o.Z)(a)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,c.Z)(l,g,{})},w=(0,u.Z)("span",{name:"JoyTypography",slot:"StartDecorator",overridesResolver:(t,e)=>e.startDecorator})({display:"inline-flex",marginInlineEnd:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"}),_=(0,u.Z)("span",{name:"JoyTypography",slot:"endDecorator",overridesResolver:(t,e)=>e.endDecorator})({display:"inline-flex",marginInlineStart:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"}),k=(0,u.Z)("span",{name:"JoyTypography",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t,ownerState:e})=>{var n,r,a,o,l;let s="inherit"!==e.level?null==(n=t.typography[e.level])?void 0:n.lineHeight:"1";return(0,i.Z)({"--Icon-fontSize":`calc(1em * ${s})`},e.color&&{"--Icon-color":"currentColor"},{margin:"var(--Typography-margin, 0px)"},e.nesting?{display:"inline"}:(0,i.Z)({display:"block"},e.unstable_hasSkeleton&&{position:"relative"}),(e.startDecorator||e.endDecorator)&&(0,i.Z)({display:"flex",alignItems:"center"},e.nesting&&(0,i.Z)({display:"inline-flex"},e.startDecorator&&{verticalAlign:"bottom"})),e.level&&"inherit"!==e.level&&t.typography[e.level],{fontSize:`var(--Typography-fontSize, ${e.level&&"inherit"!==e.level&&null!=(r=null==(a=t.typography[e.level])?void 0:a.fontSize)?r:"inherit"})`},e.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e.gutterBottom&&{marginBottom:"0.35em"},e.color&&"context"!==e.color&&{color:`rgba(${null==(o=t.vars.palette[e.color])?void 0:o.mainChannel} / 1)`},e.variant&&(0,i.Z)({borderRadius:t.vars.radius.xs,paddingBlock:"min(0.1em, 4px)",paddingInline:"0.25em"},!e.nesting&&{marginInline:"-0.25em"},null==(l=t.variants[e.variant])?void 0:l[e.color]))}),C={h1:"h1",h2:"h2",h3:"h3",h4:"h4","title-lg":"p","title-md":"p","title-sm":"p","body-lg":"p","body-md":"p","body-sm":"p","body-xs":"span",inherit:"p"},j=a.forwardRef(function(t,e){let n=(0,f.Z)({props:t,name:"JoyTypography"}),{color:o,textColor:c}=n,u=(0,r.Z)(n,y),p=a.useContext(b),g=a.useContext(x),j=(0,s.Z)((0,i.Z)({},u,{color:c})),{component:M,gutterBottom:S=!1,noWrap:A=!1,level:E="body-md",levelMapping:P=C,children:R,endDecorator:Z,startDecorator:T,variant:L,slots:B={},slotProps:I={}}=j,D=(0,r.Z)(j,v),{getColor:N}=(0,d.VT)(L),z=N(t.color,L?null!=o?o:"neutral":o),F=p||g?t.level||"inherit":E,$=(0,l.Z)(R,["Skeleton"]),W=M||(p?"span":P[F]||C[F]||"span"),H=(0,i.Z)({},j,{level:F,component:W,color:z,gutterBottom:S,noWrap:A,nesting:p,variant:L,unstable_hasSkeleton:$}),G=O(H),q=(0,i.Z)({},D,{component:W,slots:B,slotProps:I}),[Y,V]=(0,h.Z)("root",{ref:e,className:G.root,elementType:k,externalForwardedProps:q,ownerState:H}),[U,Q]=(0,h.Z)("startDecorator",{className:G.startDecorator,elementType:w,externalForwardedProps:q,ownerState:H}),[X,K]=(0,h.Z)("endDecorator",{className:G.endDecorator,elementType:_,externalForwardedProps:q,ownerState:H});return(0,m.jsx)(b.Provider,{value:!0,children:(0,m.jsxs)(Y,(0,i.Z)({},V,{children:[T&&(0,m.jsx)(U,(0,i.Z)({},Q,{children:T})),$?a.cloneElement(R,{variant:R.props.variant||"inline"}):R,Z&&(0,m.jsx)(X,(0,i.Z)({},K,{children:Z}))]}))})});j.muiName="Typography";var M=j},26821:function(t,e,n){"use strict";n.d(e,{d6:function(){return a},sI:function(){return o}});var r=n(8027),i=n(1977);let a=(t,e)=>(0,r.ZP)(t,e,"Mui"),o=(t,e)=>(0,i.Z)(t,e,"Mui")},2226:function(t,e,n){"use strict";n.d(e,{do:function(){return f},ZP:function(){return d},VT:function(){return u}});var r=n(67294),i=n(79718),a=n(67299),o=n(2548),l=n(85893);let s=()=>{let t=(0,i.Z)(a.Z);return t[o.Z]||t},c=r.createContext(void 0),u=t=>{let e=r.useContext(c);return{getColor:(n,r)=>e&&t&&e.includes(t)?n||"context":n||r}};function f({children:t,variant:e}){var n;let r=s();return(0,l.jsx)(c.Provider,{value:e?(null!=(n=r.colorInversionConfig)?n:a.Z.colorInversionConfig)[e]:void 0,children:t})}var d=c},67299:function(t,e,n){"use strict";n.d(e,{Z:function(){return L}});var r=n(87462),i=n(63366),a=n(68027);function o(t=""){return(e,...n)=>`var(--${t?`${t}-`:""}${e}${function e(...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(--${t?`${t}-`:""}${r}${e(...n.slice(1))})`}(...n)})`}var l=n(78758);let s=t=>{let e=function t(e){let n;if(e.type)return e;if("#"===e.charAt(0))return t(function(t){t=t.slice(1);let e=RegExp(`.{1,${t.length>=6?2:1}}`,"g"),n=t.match(e);return n&&1===n[0].length&&(n=n.map(t=>t+t)),n?`rgb${4===n.length?"a":""}(${n.map((t,e)=>e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3).join(", ")})`:""}(e));let r=e.indexOf("("),i=e.substring(0,r);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(i))throw Error((0,l.Z)(9,e));let a=e.substring(r+1,e.length-1);if("color"===i){if(n=(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(n))throw Error((0,l.Z)(10,n))}else a=a.split(",");return{type:i,values:a=a.map(t=>parseFloat(t)),colorSpace:n}}(t);return e.values.slice(0,3).map((t,n)=>-1!==e.type.indexOf("hsl")&&0!==n?`${t}%`:t).join(" ")};var c=n(41512),u=n(98373),f=n(83997);let d=(t,e,n,r=[])=>{let i=t;e.forEach((t,a)=>{a===e.length-1?Array.isArray(i)?i[Number(t)]=n:i&&"object"==typeof i&&(i[t]=n):i&&"object"==typeof i&&(i[t]||(i[t]=r.includes(t)?[]:{}),i=i[t])})},h=(t,e,n)=>{!function t(r,i=[],a=[]){Object.entries(r).forEach(([r,o])=>{n&&(!n||n([...i,r]))||null==o||("object"==typeof o&&Object.keys(o).length>0?t(o,[...i,r],Array.isArray(o)?[...a,r]:a):e([...i,r],o,a))})}(t)},p=(t,e)=>{if("number"==typeof e){if(["lineHeight","fontWeight","opacity","zIndex"].some(e=>t.includes(e)))return e;let n=t[t.length-1];return n.toLowerCase().indexOf("opacity")>=0?e:`${e}px`}return e};function g(t,e){let{prefix:n,shouldSkipGeneratingVar:r}=e||{},i={},a={},o={};return h(t,(t,e,l)=>{if(("string"==typeof e||"number"==typeof e)&&(!r||!r(t,e))){let r=`--${n?`${n}-`:""}${t.join("-")}`;Object.assign(i,{[r]:p(t,e)}),d(a,t,`var(${r})`,l),d(o,t,`var(${r}, ${e})`,l)}},t=>"vars"===t[0]),{css:i,vars:a,varsWithDefaults:o}}let m=["colorSchemes","components","defaultColorScheme"];var y=function(t,e){let{colorSchemes:n={},defaultColorScheme:o="light"}=t,l=(0,i.Z)(t,m),{vars:s,css:c,varsWithDefaults:u}=g(l,e),d=u,h={},{[o]:p}=n,y=(0,i.Z)(n,[o].map(f.Z));if(Object.entries(y||{}).forEach(([t,n])=>{let{vars:r,css:i,varsWithDefaults:o}=g(n,e);d=(0,a.Z)(d,o),h[t]={css:i,vars:r}}),p){let{css:t,vars:n,varsWithDefaults:r}=g(p,e);d=(0,a.Z)(d,r),h[o]={css:t,vars:n}}return{vars:d,generateCssVars:t=>{var n,i;if(!t){let n=(0,r.Z)({},c);return{css:n,vars:s,selector:(null==e||null==(i=e.getSelector)?void 0:i.call(e,t,n))||":root"}}let a=(0,r.Z)({},h[t].css);return{css:a,vars:h[t].vars,selector:(null==e||null==(n=e.getSelector)?void 0:n.call(e,t,a))||":root"}}}},v=n(86523),b=n(44920);let x=(0,r.Z)({},b.Z,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}});var O={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"}};function w(t){var e;return!!t[0].match(/^(typography|variants|breakpoints|colorInversion|colorInversionConfig)$/)||!!t[0].match(/sxConfig$/)||"palette"===t[0]&&!!(null!=(e=t[1])&&e.match(/^(mode)$/))||"focus"===t[0]&&"thickness"!==t[1]}var _=n(26821);let k=t=>t&&"object"==typeof t&&Object.keys(t).some(t=>{var e;return null==(e=t.match)?void 0:e.call(t,/^(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))$/)}),C=(t,e,n)=>{e.includes("Color")&&(t.color=n),e.includes("Bg")&&(t.backgroundColor=n),e.includes("Border")&&(t.borderColor=n)},j=(t,e,n)=>{let r={};return Object.entries(e||{}).forEach(([e,i])=>{if(e.match(RegExp(`${t}(color|bg|border)`,"i"))&&i){let t=n?n(e):i;e.includes("Disabled")&&(r.pointerEvents="none",r.cursor="default",r["--Icon-color"]="currentColor"),e.match(/(Hover|Active|Disabled)/)||(r["--variant-borderWidth"]||(r["--variant-borderWidth"]="0px"),e.includes("Border")&&(r["--variant-borderWidth"]="1px",r.border="var(--variant-borderWidth) solid")),C(r,e,t)}}),r},M=t=>e=>`--${t?`${t}-`:""}${e.replace(/^--/,"")}`,S=(t,e)=>{let n={};if(e){let{getCssVar:i,palette:a}=e;Object.entries(a).forEach(e=>{let[o,l]=e;k(l)&&"object"==typeof l&&(n=(0,r.Z)({},n,{[o]:j(t,l,t=>i(`palette-${o}-${t}`,a[o][t]))}))})}return n.context=j(t,{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},A=(t,e)=>{let n=o(t.cssVarPrefix),r=M(t.cssVarPrefix),i={},a=e?e=>{var r;let i=e.split("-"),a=i[1],o=i[2];return n(e,null==(r=t.palette)||null==(r=r[a])?void 0:r[o])}:n;return Object.entries(t.palette).forEach(e=>{let[n,o]=e;k(o)&&(i[n]={"--Badge-ringColor":a(`palette-${n}-softBg`),[t.getColorSchemeSelector("dark")]:{[r("--palette-focusVisible")]:a(`palette-${n}-300`),[r("--palette-background-body")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.1)`,[r("--palette-background-surface")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.08)`,[r("--palette-background-level1")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.4)`,[r("--palette-background-level3")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,[r("--palette-text-primary")]:a(`palette-${n}-100`),[r("--palette-text-secondary")]:`rgba(${a(`palette-${n}-lightChannel`)} / 0.72)`,[r("--palette-text-tertiary")]:`rgba(${a(`palette-${n}-lightChannel`)} / 0.6)`,[r("--palette-text-icon")]:`rgba(${a(`palette-${n}-lightChannel`)} / 0.6)`,[r("--palette-divider")]:`rgba(${a(`palette-${n}-lightChannel`)} / 0.2)`,"--variant-plainColor":`rgba(${a(`palette-${n}-lightChannel`)} / 1)`,"--variant-plainHoverColor":a(`palette-${n}-50`),"--variant-plainHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.16)`,"--variant-plainActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":`rgba(${a(`palette-${n}-lightChannel`)} / 1)`,"--variant-outlinedHoverColor":a(`palette-${n}-50`),"--variant-outlinedBg":"initial","--variant-outlinedBorder":`rgba(${a(`palette-${n}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverBorder":a(`palette-${n}-600`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.16)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${a(`palette-${n}-mainChannel`)} / 0.2)`,"--variant-softColor":a(`palette-${n}-200`),"--variant-softBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-softHoverColor":"#fff","--variant-softHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-softActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.48)`,"--variant-softDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-solidColor":"#fff","--variant-solidBg":a(`palette-${n}-500`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":a(`palette-${n}-600`),"--variant-solidActiveBg":a(`palette-${n}-600`),"--variant-solidDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`},[t.getColorSchemeSelector("light")]:{[r("--palette-focusVisible")]:a(`palette-${n}-500`),[r("--palette-background-body")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.1)`,[r("--palette-background-surface")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.08)`,[r("--palette-background-level1")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,[r("--palette-background-level3")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.48)`,[r("--palette-text-primary")]:a(`palette-${n}-700`),[r("--palette-text-secondary")]:`rgba(${a(`palette-${n}-darkChannel`)} / 0.8)`,[r("--palette-text-tertiary")]:`rgba(${a(`palette-${n}-darkChannel`)} / 0.68)`,[r("--palette-text-icon")]:a(`palette-${n}-500`),[r("--palette-divider")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-plainColor":`rgba(${a(`palette-${n}-darkChannel`)} / 0.8)`,"--variant-plainHoverColor":`rgba(${a(`palette-${n}-darkChannel`)} / 1)`,"--variant-plainHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-outlinedColor":`rgba(${a(`palette-${n}-mainChannel`)} / 1)`,"--variant-outlinedBorder":`rgba(${a(`palette-${n}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverColor":a(`palette-${n}-600`),"--variant-outlinedHoverBorder":a(`palette-${n}-300`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-outlinedDisabledBorder":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-softColor":a(`palette-${n}-600`),"--variant-softBg":`rgba(${a(`palette-${n}-lightChannel`)} / 0.8)`,"--variant-softHoverColor":a(`palette-${n}-700`),"--variant-softHoverBg":a(`palette-${n}-200`),"--variant-softActiveBg":a(`palette-${n}-300`),"--variant-softDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-softDisabledBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.08)`,"--variant-solidColor":a("palette-common-white"),"--variant-solidBg":a(`palette-${n}-${"neutral"===n?"700":"500"}`),"--variant-solidHoverColor":a("palette-common-white"),"--variant-solidHoverBg":a(`palette-${n}-600`),"--variant-solidActiveBg":a(`palette-${n}-600`),"--variant-solidDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.08)`}})}),i},E=(t,e)=>{let n=o(t.cssVarPrefix),r=M(t.cssVarPrefix),i={},a=e?e=>{let r=e.split("-"),i=r[1],a=r[2];return n(e,t.palette[i][a])}:n;return Object.entries(t.palette).forEach(t=>{let[e,n]=t;k(n)&&(i[e]={colorScheme:"dark","--Badge-ringColor":a(`palette-${e}-solidBg`),[r("--palette-focusVisible")]:a(`palette-${e}-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")]:a(`palette-${e}-700`),[r("--palette-background-level1")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.36)`,[r("--palette-background-level3")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.6)`,[r("--palette-text-primary")]:a("palette-common-white"),[r("--palette-text-secondary")]:a(`palette-${e}-200`),[r("--palette-text-tertiary")]:a(`palette-${e}-300`),[r("--palette-text-icon")]:a(`palette-${e}-200`),[r("--palette-divider")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-plainColor":a(`palette-${e}-50`),"--variant-plainHoverColor":"#fff","--variant-plainHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-outlinedColor":a(`palette-${e}-50`),"--variant-outlinedBorder":`rgba(${a(`palette-${e}-lightChannel`)} / 0.5)`,"--variant-outlinedHoverColor":"#fff","--variant-outlinedHoverBorder":a(`palette-${e}-300`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":"rgba(255 255 255 / 0.2)","--variant-softColor":a("palette-common-white"),"--variant-softHoverColor":a("palette-common-white"),"--variant-softBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.24)`,"--variant-softHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.36)`,"--variant-softActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.16)`,"--variant-softDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.1)`,"--variant-solidColor":a(`palette-${e}-${"neutral"===e?"600":"500"}`),"--variant-solidBg":a("palette-common-white"),"--variant-solidHoverBg":a("palette-common-white"),"--variant-solidActiveBg":a(`palette-${e}-100`),"--variant-solidDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.1)`})}),i},P=["cssVarPrefix","breakpoints","spacing","components","variants","colorInversion","shouldSkipGeneratingVar"],R=["colorSchemes"],Z=(t="joy")=>o(t),T=function(t){var e,n,o,l,f,d,h,p,g,m;let b=t||{},{cssVarPrefix:k="joy",breakpoints:C,spacing:j,components:M,variants:T,colorInversion:L,shouldSkipGeneratingVar:B=w}=b,I=(0,i.Z)(b,P),D=Z(k),N={primary:O.blue,neutral:O.grey,danger:O.red,success:O.green,warning:O.yellow,common:{white:"#FCFCFD",black:"#09090B"}},z=t=>{var e;let n=t.split("-"),r=n[1],i=n[2];return D(t,null==(e=N[r])?void 0:e[i])},F=t=>({plainColor:z(`palette-${t}-500`),plainHoverBg:z(`palette-${t}-50`),plainActiveBg:z(`palette-${t}-100`),plainDisabledColor:z("palette-neutral-400"),outlinedColor:z(`palette-${t}-500`),outlinedBorder:z(`palette-${t}-300`),outlinedHoverBg:z(`palette-${t}-100`),outlinedActiveBg:z(`palette-${t}-200`),outlinedDisabledColor:z("palette-neutral-400"),outlinedDisabledBorder:z("palette-neutral-200"),softColor:z(`palette-${t}-700`),softBg:z(`palette-${t}-100`),softHoverBg:z(`palette-${t}-200`),softActiveColor:z(`palette-${t}-800`),softActiveBg:z(`palette-${t}-300`),softDisabledColor:z("palette-neutral-400"),softDisabledBg:z(`palette-${t}-50`),solidColor:z("palette-common-white"),solidBg:z(`palette-${t}-500`),solidHoverBg:z(`palette-${t}-600`),solidActiveBg:z(`palette-${t}-700`),solidDisabledColor:z("palette-neutral-400"),solidDisabledBg:z(`palette-${t}-100`)}),$=t=>({plainColor:z(`palette-${t}-300`),plainHoverBg:z(`palette-${t}-800`),plainActiveBg:z(`palette-${t}-700`),plainDisabledColor:z("palette-neutral-500"),outlinedColor:z(`palette-${t}-200`),outlinedBorder:z(`palette-${t}-700`),outlinedHoverBg:z(`palette-${t}-800`),outlinedActiveBg:z(`palette-${t}-700`),outlinedDisabledColor:z("palette-neutral-500"),outlinedDisabledBorder:z("palette-neutral-800"),softColor:z(`palette-${t}-200`),softBg:z(`palette-${t}-800`),softHoverBg:z(`palette-${t}-700`),softActiveColor:z(`palette-${t}-100`),softActiveBg:z(`palette-${t}-600`),softDisabledColor:z("palette-neutral-500"),softDisabledBg:z(`palette-${t}-900`),solidColor:z("palette-common-white"),solidBg:z(`palette-${t}-500`),solidHoverBg:z(`palette-${t}-600`),solidActiveBg:z(`palette-${t}-700`),solidDisabledColor:z("palette-neutral-500"),solidDisabledBg:z(`palette-${t}-800`)}),W={palette:{mode:"light",primary:(0,r.Z)({},N.primary,F("primary")),neutral:(0,r.Z)({},N.neutral,F("neutral"),{plainColor:z("palette-neutral-700"),outlinedColor:z("palette-neutral-700")}),danger:(0,r.Z)({},N.danger,F("danger")),success:(0,r.Z)({},N.success,F("success")),warning:(0,r.Z)({},N.warning,F("warning")),common:{white:"#FBFCFD",black:"#0E0E10"},text:{primary:z("palette-neutral-800"),secondary:z("palette-neutral-700"),tertiary:z("palette-neutral-600"),icon:z("palette-neutral-500")},background:{body:z("palette-neutral-50"),surface:z("palette-common-white"),popup:z("palette-common-white"),level1:z("palette-neutral-100"),level2:z("palette-neutral-200"),level3:z("palette-neutral-300"),tooltip:z("palette-neutral-500"),backdrop:`rgba(${D("palette-neutral-darkChannel",s(N.neutral[900]))} / 0.25)`},divider:`rgba(${D("palette-neutral-mainChannel",s(N.neutral[500]))} / 0.3)`,focusVisible:z("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"21 21 21",shadowOpacity:"0.08"},H={palette:{mode:"dark",primary:(0,r.Z)({},N.primary,$("primary")),neutral:(0,r.Z)({},N.neutral,$("neutral")),danger:(0,r.Z)({},N.danger,$("danger")),success:(0,r.Z)({},N.success,$("success")),warning:(0,r.Z)({},N.warning,$("warning")),common:{white:"#FBFCFD",black:"#0E0E10"},text:{primary:z("palette-neutral-100"),secondary:z("palette-neutral-300"),tertiary:z("palette-neutral-400"),icon:z("palette-neutral-400")},background:{body:z("palette-common-black"),surface:z("palette-neutral-900"),popup:z("palette-common-black"),level1:z("palette-neutral-800"),level2:z("palette-neutral-700"),level3:z("palette-neutral-600"),tooltip:z("palette-neutral-600"),backdrop:`rgba(${D("palette-neutral-darkChannel",s(N.neutral[50]))} / 0.25)`},divider:`rgba(${D("palette-neutral-mainChannel",s(N.neutral[500]))} / 0.16)`,focusVisible:z("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0",shadowOpacity:"0.6"},G='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',q=(0,r.Z)({body:`"Inter", ${D(`fontFamily-fallback, ${G}`)}`,display:`"Inter", ${D(`fontFamily-fallback, ${G}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:G},I.fontFamily),Y=(0,r.Z)({sm:300,md:500,lg:600,xl:700},I.fontWeight),V=(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"},I.fontSize),U=(0,r.Z)({xs:"1.33334",sm:"1.42858",md:"1.5",lg:"1.55556",xl:"1.66667"},I.lineHeight),Q=null!=(e=null==(n=I.colorSchemes)||null==(n=n.light)?void 0:n.shadowRing)?e:W.shadowRing,X=null!=(o=null==(l=I.colorSchemes)||null==(l=l.light)?void 0:l.shadowChannel)?o:W.shadowChannel,K=null!=(f=null==(d=I.colorSchemes)||null==(d=d.light)?void 0:d.shadowOpacity)?f:W.shadowOpacity,J={colorSchemes:{light:W,dark:H},fontSize:V,fontFamily:q,fontWeight:Y,focus:{thickness:"2px",selector:`&.${(0,_.d6)("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${D("focus-thickness",null!=(h=null==(p=I.focus)?void 0:p.thickness)?h:"2px")})`,outline:`${D("focus-thickness",null!=(g=null==(m=I.focus)?void 0:m.thickness)?g:"2px")} solid ${D("palette-focusVisible",N.primary[500])}`}},lineHeight:U,radius:{xs:"2px",sm:"6px",md:"8px",lg:"12px",xl:"16px"},shadow:{xs:`${D("shadowRing",Q)}, 0px 1px 2px 0px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)})`,sm:`${D("shadowRing",Q)}, 0px 1px 2px 0px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)}), 0px 2px 4px 0px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)})`,md:`${D("shadowRing",Q)}, 0px 2px 8px -2px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)}), 0px 6px 12px -2px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)})`,lg:`${D("shadowRing",Q)}, 0px 2px 8px -2px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)}), 0px 12px 16px -4px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)})`,xl:`${D("shadowRing",Q)}, 0px 2px 8px -2px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)}), 0px 20px 24px -4px rgba(${D("shadowChannel",X)} / ${D("shadowOpacity",K)})`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,tooltip:1500},typography:{h1:{fontFamily:D(`fontFamily-display, ${q.display}`),fontWeight:D(`fontWeight-xl, ${Y.xl}`),fontSize:D(`fontSize-xl4, ${V.xl4}`),lineHeight:D(`lineHeight-xs, ${U.xs}`),letterSpacing:"-0.025em",color:D(`palette-text-primary, ${W.palette.text.primary}`)},h2:{fontFamily:D(`fontFamily-display, ${q.display}`),fontWeight:D(`fontWeight-xl, ${Y.xl}`),fontSize:D(`fontSize-xl3, ${V.xl3}`),lineHeight:D(`lineHeight-xs, ${U.xs}`),letterSpacing:"-0.025em",color:D(`palette-text-primary, ${W.palette.text.primary}`)},h3:{fontFamily:D(`fontFamily-display, ${q.display}`),fontWeight:D(`fontWeight-lg, ${Y.lg}`),fontSize:D(`fontSize-xl2, ${V.xl2}`),lineHeight:D(`lineHeight-xs, ${U.xs}`),letterSpacing:"-0.025em",color:D(`palette-text-primary, ${W.palette.text.primary}`)},h4:{fontFamily:D(`fontFamily-display, ${q.display}`),fontWeight:D(`fontWeight-lg, ${Y.lg}`),fontSize:D(`fontSize-xl, ${V.xl}`),lineHeight:D(`lineHeight-md, ${U.md}`),letterSpacing:"-0.025em",color:D(`palette-text-primary, ${W.palette.text.primary}`)},"title-lg":{fontFamily:D(`fontFamily-body, ${q.body}`),fontWeight:D(`fontWeight-lg, ${Y.lg}`),fontSize:D(`fontSize-lg, ${V.lg}`),lineHeight:D(`lineHeight-xs, ${U.xs}`),color:D(`palette-text-primary, ${W.palette.text.primary}`)},"title-md":{fontFamily:D(`fontFamily-body, ${q.body}`),fontWeight:D(`fontWeight-md, ${Y.md}`),fontSize:D(`fontSize-md, ${V.md}`),lineHeight:D(`lineHeight-md, ${U.md}`),color:D(`palette-text-primary, ${W.palette.text.primary}`)},"title-sm":{fontFamily:D(`fontFamily-body, ${q.body}`),fontWeight:D(`fontWeight-md, ${Y.md}`),fontSize:D(`fontSize-sm, ${V.sm}`),lineHeight:D(`lineHeight-sm, ${U.sm}`),color:D(`palette-text-primary, ${W.palette.text.primary}`)},"body-lg":{fontFamily:D(`fontFamily-body, ${q.body}`),fontSize:D(`fontSize-lg, ${V.lg}`),lineHeight:D(`lineHeight-md, ${U.md}`),color:D(`palette-text-secondary, ${W.palette.text.secondary}`)},"body-md":{fontFamily:D(`fontFamily-body, ${q.body}`),fontSize:D(`fontSize-md, ${V.md}`),lineHeight:D(`lineHeight-md, ${U.md}`),color:D(`palette-text-secondary, ${W.palette.text.secondary}`)},"body-sm":{fontFamily:D(`fontFamily-body, ${q.body}`),fontSize:D(`fontSize-sm, ${V.sm}`),lineHeight:D(`lineHeight-md, ${U.md}`),color:D(`palette-text-tertiary, ${W.palette.text.tertiary}`)},"body-xs":{fontFamily:D(`fontFamily-body, ${q.body}`),fontWeight:D(`fontWeight-md, ${Y.md}`),fontSize:D(`fontSize-xs, ${V.xs}`),lineHeight:D(`lineHeight-md, ${U.md}`),color:D(`palette-text-tertiary, ${W.palette.text.tertiary}`)}}},tt=I?(0,a.Z)(J,I):J,{colorSchemes:te}=tt,tn=(0,i.Z)(tt,R),tr=(0,r.Z)({colorSchemes:te},tn,{breakpoints:(0,c.Z)(null!=C?C:{}),components:(0,a.Z)({MuiSvgIcon:{defaultProps:{fontSize:"xl2"},styleOverrides:{root:({ownerState:t,theme:e})=>{var n;let i=t.instanceFontSize;return(0,r.Z)({margin:"var(--Icon-margin)"},t.fontSize&&"inherit"!==t.fontSize&&{fontSize:`var(--Icon-fontSize, ${e.vars.fontSize[t.fontSize]})`},!t.htmlColor&&(0,r.Z)({color:`var(--Icon-color, ${tr.vars.palette.text.icon})`},t.color&&"inherit"!==t.color&&"context"!==t.color&&e.vars.palette[t.color]&&{color:`rgba(${null==(n=e.vars.palette[t.color])?void 0:n.mainChannel} / 1)`},"context"===t.color&&{color:e.vars.palette.text.secondary}),i&&"inherit"!==i&&{"--Icon-fontSize":e.vars.fontSize[i]})}}}},M),cssVarPrefix:k,getCssVar:D,spacing:(0,u.Z)(j),colorInversionConfig:{soft:["plain","outlined","soft","solid"],solid:["plain","outlined","soft","solid"]}});Object.entries(tr.colorSchemes).forEach(([t,e])=>{!function(t,e){Object.keys(e).forEach(n=>{let r={main:"500",light:"200",dark:"700"};"dark"===t&&(r.main=400),!e[n].mainChannel&&e[n][r.main]&&(e[n].mainChannel=s(e[n][r.main])),!e[n].lightChannel&&e[n][r.light]&&(e[n].lightChannel=s(e[n][r.light])),!e[n].darkChannel&&e[n][r.dark]&&(e[n].darkChannel=s(e[n][r.dark]))})}(t,e.palette)});let{vars:ti,generateCssVars:ta}=y((0,r.Z)({colorSchemes:te},tn),{prefix:k,shouldSkipGeneratingVar:B});tr.vars=ti,tr.generateCssVars=ta,tr.unstable_sxConfig=(0,r.Z)({},x,null==t?void 0:t.unstable_sxConfig),tr.unstable_sx=function(t){return(0,v.Z)({sx:t,theme:this})},tr.getColorSchemeSelector=t=>"light"===t?"&":`&[data-joy-color-scheme="${t}"], [data-joy-color-scheme="${t}"] &`;let to={getCssVar:D,palette:tr.colorSchemes.light.palette};return tr.variants=(0,a.Z)({plain:S("plain",to),plainHover:S("plainHover",to),plainActive:S("plainActive",to),plainDisabled:S("plainDisabled",to),outlined:S("outlined",to),outlinedHover:S("outlinedHover",to),outlinedActive:S("outlinedActive",to),outlinedDisabled:S("outlinedDisabled",to),soft:S("soft",to),softHover:S("softHover",to),softActive:S("softActive",to),softDisabled:S("softDisabled",to),solid:S("solid",to),solidHover:S("solidHover",to),solidActive:S("solidActive",to),solidDisabled:S("solidDisabled",to)},T),tr.palette=(0,r.Z)({},tr.colorSchemes.light.palette,{colorScheme:"light"}),tr.shouldSkipGeneratingVar=B,tr.colorInversion="function"==typeof L?L:(0,a.Z)({soft:A(tr,!0),solid:E(tr,!0)},L||{},{clone:!1}),tr}();var L=T},2548:function(t,e){"use strict";e.Z="$$joy"},58859:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});var r=n(87462);let i=({theme:t,ownerState:e},n)=>{let i={};return e.sx&&(function e(n){if("function"==typeof n){let r=n(t);e(r)}else Array.isArray(n)?n.forEach(t=>{"boolean"!=typeof t&&e(t)}):"object"==typeof n&&(i=(0,r.Z)({},i,n))}(e.sx),n.forEach(e=>{let n=i[e];if("string"==typeof n||"number"==typeof n){if("borderRadius"===e){if("number"==typeof n)i[e]=`${n}px`;else{var r;i[e]=(null==(r=t.vars)?void 0:r.radius[n])||n}}else -1!==["p","padding","m","margin"].indexOf(e)&&"number"==typeof n?i[e]=t.spacing(n):i[e]=n}else"function"==typeof n?i[e]=n(t):i[e]=void 0})),i}},74312:function(t,e,n){"use strict";var r=n(86154),i=n(67299),a=n(2548);let o=(0,r.ZP)({defaultTheme:i.Z,themeId:a.Z});e.Z=o},20407:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(87462),i=n(44065),a=n(67299),o=n(2548);function l({props:t,name:e}){return(0,i.Z)({props:t,name:e,defaultTheme:(0,r.Z)({},a.Z,{components:{}}),themeId:o.Z})}},30220:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var r=n(87462),i=n(63366),a=n(22760),o=n(71276),l=n(24407),s=n(10238),c=n(2226);let u=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],f=["component","slots","slotProps"],d=["component"],h=["disableColorInversion"];function p(t,e){let{className:n,elementType:p,ownerState:g,externalForwardedProps:m,getSlotOwnerState:y,internalForwardedProps:v}=e,b=(0,i.Z)(e,u),{component:x,slots:O={[t]:void 0},slotProps:w={[t]:void 0}}=m,_=(0,i.Z)(m,f),k=O[t]||p,C=(0,o.x)(w[t],g),j=(0,l.L)((0,r.Z)({className:n},b,{externalForwardedProps:"root"===t?_:void 0,externalSlotProps:C})),{props:{component:M},internalRef:S}=j,A=(0,i.Z)(j.props,d),E=(0,a.Z)(S,null==C?void 0:C.ref,e.ref),P=y?y(A):{},{disableColorInversion:R=!1}=P,Z=(0,i.Z)(P,h),T=(0,r.Z)({},g,Z),{getColor:L}=(0,c.VT)(T.variant);if("root"===t){var B;T.color=null!=(B=A.color)?B:g.color}else R||(T.color=L(A.color,T.color));let I="root"===t?M||x:M,D=(0,s.$)(k,(0,r.Z)({},"root"===t&&!x&&!O[t]&&v,"root"!==t&&!O[t]&&v,A,I&&{as:I},{ref:E}),T);return Object.keys(Z).forEach(t=>{delete D[t]}),[k,D]}},23534:function(t,e,n){"use strict";let r;n.r(e),n.d(e,{GlobalStyles:function(){return w},StyledEngineProvider:function(){return O},ThemeContext:function(){return c.T},css:function(){return v.iv},default:function(){return _},internal_processStyles:function(){return k},keyframes:function(){return v.F4}});var i=n(87462),a=n(67294),o=n(45042),l=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,o.Z)(function(t){return l.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&91>t.charCodeAt(2)}),c=n(6498),u=n(70444),f=n(26346),d=n(27278),h=function(t){return"theme"!==t},p=function(t){return"string"==typeof t&&t.charCodeAt(0)>96?s:h},g=function(t,e,n){var r;if(e){var i=e.shouldForwardProp;r=t.__emotion_forwardProp&&i?function(e){return t.__emotion_forwardProp(e)&&i(e)}:i}return"function"!=typeof r&&n&&(r=t.__emotion_forwardProp),r},m=function(t){var e=t.cache,n=t.serialized,r=t.isStringTag;return(0,u.hC)(e,n,r),(0,d.L)(function(){return(0,u.My)(e,n,r)}),null},y=(function t(e,n){var r,o,l=e.__emotion_real===e,s=l&&e.__emotion_base||e;void 0!==n&&(r=n.label,o=n.target);var d=g(e,n,l),h=d||p(s),y=!h("as");return function(){var v=arguments,b=l&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==r&&b.push("label:"+r+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{b.push(v[0][0]);for(var x=v.length,O=1;Oe(null==t||0===Object.keys(t).length?n:t):e;return(0,x.jsx)(v.xB,{styles:r})}function _(t,e){let n=y(t,e);return n}"object"==typeof document&&(r=(0,b.Z)({key:"css",prepend:!0}));let k=(t,e)=>{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))}},95408:function(t,e,n){"use strict";n.d(e,{L7:function(){return l},VO:function(){return r},W8:function(){return o},k9:function(){return a}});let r={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${r[t]}px)`};function a(t,e,n){let a=t.theme||{};if(Array.isArray(e)){let t=a.breakpoints||i;return e.reduce((r,i,a)=>(r[t.up(t.keys[a])]=n(e[a]),r),{})}if("object"==typeof e){let t=a.breakpoints||i;return Object.keys(e).reduce((i,a)=>{if(-1!==Object.keys(t.values||r).indexOf(a)){let r=t.up(a);i[r]=n(e[a],a)}else i[a]=e[a];return i},{})}let o=n(e);return o}function o(t={}){var e;let n=null==(e=t.keys)?void 0:e.reduce((e,n)=>{let r=t.up(n);return e[r]={},e},{});return n||{}}function l(t,e){return t.reduce((t,e)=>{let n=t[e],r=!n||0===Object.keys(n).length;return r&&delete t[e],t},e)}},86154:function(t,e,n){"use strict";n.d(e,{ZP:function(){return y}});var r=n(87462),i=n(63366),a=n(23534),o=n(68027),l=n(88647),s=n(86523);let c=["ownerState"],u=["variants"],f=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function d(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}let h=(0,l.Z)(),p=t=>t?t.charAt(0).toLowerCase()+t.slice(1):t;function g({defaultTheme:t,theme:e,themeId:n}){return 0===Object.keys(e).length?t:e[n]||e}function m(t,e){let{ownerState:n}=e,a=(0,i.Z)(e,c),o="function"==typeof t?t((0,r.Z)({ownerState:n},a)):t;if(Array.isArray(o))return o.flatMap(t=>m(t,(0,r.Z)({ownerState:n},a)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:t=[]}=o,e=(0,i.Z)(o,u),l=e;return t.forEach(t=>{let e=!0;"function"==typeof t.props?e=t.props((0,r.Z)({ownerState:n},a,n)):Object.keys(t.props).forEach(r=>{(null==n?void 0:n[r])!==t.props[r]&&a[r]!==t.props[r]&&(e=!1)}),e&&(Array.isArray(l)||(l=[l]),l.push("function"==typeof t.style?t.style((0,r.Z)({ownerState:n},a,n)):t.style))}),l}return o}function y(t={}){let{themeId:e,defaultTheme:n=h,rootShouldForwardProp:l=d,slotShouldForwardProp:c=d}=t,u=t=>(0,s.Z)((0,r.Z)({},t,{theme:g((0,r.Z)({},t,{defaultTheme:n,themeId:e}))}));return u.__mui_systemSx=!0,(t,s={})=>{var h;let y;(0,a.internal_processStyles)(t,t=>t.filter(t=>!(null!=t&&t.__mui_systemSx)));let{name:v,slot:b,skipVariantsResolver:x,skipSx:O,overridesResolver:w=(h=p(b))?(t,e)=>e[h]:null}=s,_=(0,i.Z)(s,f),k=void 0!==x?x:b&&"Root"!==b&&"root"!==b||!1,C=O||!1,j=d;"Root"===b||"root"===b?j=l:b?j=c:"string"==typeof t&&t.charCodeAt(0)>96&&(j=void 0);let M=(0,a.default)(t,(0,r.Z)({shouldForwardProp:j,label:y},_)),S=t=>"function"==typeof t&&t.__emotion_real!==t||(0,o.P)(t)?i=>m(t,(0,r.Z)({},i,{theme:g({theme:i.theme,defaultTheme:n,themeId:e})})):t,A=(i,...a)=>{let o=S(i),l=a?a.map(S):[];v&&w&&l.push(t=>{let i=g((0,r.Z)({},t,{defaultTheme:n,themeId:e}));if(!i.components||!i.components[v]||!i.components[v].styleOverrides)return null;let a=i.components[v].styleOverrides,o={};return Object.entries(a).forEach(([e,n])=>{o[e]=m(n,(0,r.Z)({},t,{theme:i}))}),w(t,o)}),v&&!k&&l.push(t=>{var i;let a=g((0,r.Z)({},t,{defaultTheme:n,themeId:e})),o=null==a||null==(i=a.components)||null==(i=i[v])?void 0:i.variants;return m({variants:o},(0,r.Z)({},t,{theme:a}))}),C||l.push(u);let s=l.length-a.length;if(Array.isArray(i)&&s>0){let t=Array(s).fill("");(o=[...i,...t]).raw=[...i.raw,...t]}let c=M(o,...l);return t.muiName&&(c.muiName=t.muiName),c};return M.withConfig&&(A.withConfig=M.withConfig),A}}},57064:function(t,e,n){"use strict";function r(t,e){if(this.vars&&"function"==typeof this.getColorSchemeSelector){let n=this.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:e}}return this.palette.mode===t?e:{}}n.d(e,{Z:function(){return r}})},41512:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(63366),i=n(87462);let a=["values","unit","step"],o=t=>{let e=Object.keys(t).map(e=>({key:e,val:t[e]}))||[];return e.sort((t,e)=>t.val-e.val),e.reduce((t,e)=>(0,i.Z)({},t,{[e.key]:e.val}),{})};function l(t){let{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:l=5}=t,s=(0,r.Z)(t,a),c=o(e),u=Object.keys(c);function f(t){let r="number"==typeof e[t]?e[t]:t;return`@media (min-width:${r}${n})`}function d(t){let r="number"==typeof e[t]?e[t]:t;return`@media (max-width:${r-l/100}${n})`}function h(t,r){let i=u.indexOf(r);return`@media (min-width:${"number"==typeof e[t]?e[t]:t}${n}) and (max-width:${(-1!==i&&"number"==typeof e[u[i]]?e[u[i]]:r)-l/100}${n})`}return(0,i.Z)({keys:u,values:c,up:f,down:d,between:h,only:function(t){return u.indexOf(t)+1{let n=0===t.length?[1]:t;return n.map(t=>{let n=e(t);return"number"==typeof n?`${n}px`:n}).join(" ")};return n.mui=!0,n}},88647:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var r=n(87462),i=n(63366),a=n(68027),o=n(41512),l={borderRadius:4},s=n(98373),c=n(86523),u=n(44920),f=n(57064);let d=["breakpoints","palette","spacing","shape"];var h=function(t={},...e){let{breakpoints:n={},palette:h={},spacing:p,shape:g={}}=t,m=(0,i.Z)(t,d),y=(0,o.Z)(n),v=(0,s.Z)(p),b=(0,a.Z)({breakpoints:y,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},h),spacing:v,shape:(0,r.Z)({},l,g)},m);return b.applyStyles=f.Z,(b=e.reduce((t,e)=>(0,a.Z)(t,e),b)).unstable_sxConfig=(0,r.Z)({},u.Z,null==m?void 0:m.unstable_sxConfig),b.unstable_sx=function(t){return(0,c.Z)({sx:t,theme:this})},b}},47730:function(t,e,n){"use strict";var r=n(68027);e.Z=function(t,e){return e?(0,r.Z)(t,e,{clone:!1}):t}},98700:function(t,e,n){"use strict";n.d(e,{hB:function(){return p},eI:function(){return h},NA:function(){return g},e6:function(){return y},o3:function(){return v}});var r=n(95408),i=n(54844),a=n(47730);let o={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(t){let e={};return n=>(void 0===e[n]&&(e[n]=t(n)),e[n])}(t=>{if(t.length>2){if(!s[t])return[t];t=s[t]}let[e,n]=t.split(""),r=o[e],i=l[n]||"";return Array.isArray(i)?i.map(t=>r+t):[r+i]}),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 h(t,e,n,r){var a;let o=null!=(a=(0,i.DW)(t,e,!1))?a:n;return"number"==typeof o?t=>"string"==typeof t?t:o*t:Array.isArray(o)?t=>"string"==typeof t?t:o[t]:"function"==typeof o?o:()=>void 0}function p(t){return h(t,"spacing",8,"spacing")}function g(t,e){if("string"==typeof e||null==e)return e;let n=Math.abs(e),r=t(n);return e>=0?r:"number"==typeof r?-r:`-${r}`}function m(t,e){let n=p(t.theme);return Object.keys(t).map(i=>(function(t,e,n,i){if(-1===e.indexOf(n))return null;let a=c(n),o=t[n];return(0,r.k9)(t,o,t=>a.reduce((e,n)=>(e[n]=g(i,t),e),{}))})(t,e,i,n)).reduce(a.Z,{})}function y(t){return m(t,u)}function v(t){return m(t,f)}function b(t){return m(t,d)}y.propTypes={},y.filterProps=u,v.propTypes={},v.filterProps=f,b.propTypes={},b.filterProps=d},54844:function(t,e,n){"use strict";n.d(e,{DW:function(){return a},Jq:function(){return o}});var r=n(62908),i=n(95408);function a(t,e,n=!0){if(!e||"string"!=typeof e)return null;if(t&&t.vars&&n){let n=`vars.${e}`.split(".").reduce((t,e)=>t&&t[e]?t[e]:null,t);if(null!=n)return n}return e.split(".").reduce((t,e)=>t&&null!=t[e]?t[e]:null,t)}function o(t,e,n,r=n){let i;return i="function"==typeof t?t(n):Array.isArray(t)?t[n]||r:a(t,n)||r,e&&(i=e(i,r,t)),i}e.ZP=function(t){let{prop:e,cssProperty:n=t.prop,themeKey:l,transform:s}=t,c=t=>{if(null==t[e])return null;let c=t[e],u=t.theme,f=a(u,l)||{};return(0,i.k9)(t,c,t=>{let i=o(f,s,t);return(t===i&&"string"==typeof t&&(i=o(f,s,`${e}${"default"===t?"":(0,r.Z)(t)}`,t)),!1===n)?i:{[n]:i}})};return c.propTypes={},c.filterProps=[e],c}},44920:function(t,e,n){"use strict";n.d(e,{Z:function(){return V}});var r=n(98700),i=n(54844),a=n(47730),o=function(...t){let e=t.reduce((t,e)=>(e.filterProps.forEach(n=>{t[n]=e}),t),{}),n=t=>Object.keys(t).reduce((n,r)=>e[r]?(0,a.Z)(n,e[r](t)):n,{});return n.propTypes={},n.filterProps=t.reduce((t,e)=>t.concat(e.filterProps),[]),n},l=n(95408);function s(t){return"number"!=typeof t?t:`${t}px solid`}function c(t,e){return(0,i.ZP)({prop:t,themeKey:"borders",transform:e})}let u=c("border",s),f=c("borderTop",s),d=c("borderRight",s),h=c("borderBottom",s),p=c("borderLeft",s),g=c("borderColor"),m=c("borderTopColor"),y=c("borderRightColor"),v=c("borderBottomColor"),b=c("borderLeftColor"),x=c("outline",s),O=c("outlineColor"),w=t=>{if(void 0!==t.borderRadius&&null!==t.borderRadius){let e=(0,r.eI)(t.theme,"shape.borderRadius",4,"borderRadius");return(0,l.k9)(t,t.borderRadius,t=>({borderRadius:(0,r.NA)(e,t)}))}return null};w.propTypes={},w.filterProps=["borderRadius"],o(u,f,d,h,p,g,m,y,v,b,w,x,O);let _=t=>{if(void 0!==t.gap&&null!==t.gap){let e=(0,r.eI)(t.theme,"spacing",8,"gap");return(0,l.k9)(t,t.gap,t=>({gap:(0,r.NA)(e,t)}))}return null};_.propTypes={},_.filterProps=["gap"];let k=t=>{if(void 0!==t.columnGap&&null!==t.columnGap){let e=(0,r.eI)(t.theme,"spacing",8,"columnGap");return(0,l.k9)(t,t.columnGap,t=>({columnGap:(0,r.NA)(e,t)}))}return null};k.propTypes={},k.filterProps=["columnGap"];let C=t=>{if(void 0!==t.rowGap&&null!==t.rowGap){let e=(0,r.eI)(t.theme,"spacing",8,"rowGap");return(0,l.k9)(t,t.rowGap,t=>({rowGap:(0,r.NA)(e,t)}))}return null};C.propTypes={},C.filterProps=["rowGap"];let j=(0,i.ZP)({prop:"gridColumn"}),M=(0,i.ZP)({prop:"gridRow"}),S=(0,i.ZP)({prop:"gridAutoFlow"}),A=(0,i.ZP)({prop:"gridAutoColumns"}),E=(0,i.ZP)({prop:"gridAutoRows"}),P=(0,i.ZP)({prop:"gridTemplateColumns"}),R=(0,i.ZP)({prop:"gridTemplateRows"}),Z=(0,i.ZP)({prop:"gridTemplateAreas"}),T=(0,i.ZP)({prop:"gridArea"});function L(t,e){return"grey"===e?e:t}o(_,k,C,j,M,S,A,E,P,R,Z,T);let B=(0,i.ZP)({prop:"color",themeKey:"palette",transform:L}),I=(0,i.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:L}),D=(0,i.ZP)({prop:"backgroundColor",themeKey:"palette",transform:L});function N(t){return t<=1&&0!==t?`${100*t}%`:t}o(B,I,D);let z=(0,i.ZP)({prop:"width",transform:N}),F=t=>void 0!==t.maxWidth&&null!==t.maxWidth?(0,l.k9)(t,t.maxWidth,e=>{var n,r;let i=(null==(n=t.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[e])||l.VO[e];return i?(null==(r=t.theme)||null==(r=r.breakpoints)?void 0:r.unit)!=="px"?{maxWidth:`${i}${t.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:N(e)}}):null;F.filterProps=["maxWidth"];let $=(0,i.ZP)({prop:"minWidth",transform:N}),W=(0,i.ZP)({prop:"height",transform:N}),H=(0,i.ZP)({prop:"maxHeight",transform:N}),G=(0,i.ZP)({prop:"minHeight",transform:N});(0,i.ZP)({prop:"size",cssProperty:"width",transform:N}),(0,i.ZP)({prop:"size",cssProperty:"height",transform:N});let q=(0,i.ZP)({prop:"boxSizing"});o(z,F,$,W,H,G,q);let Y={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"},outline:{themeKey:"borders",transform:s},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:w},color:{themeKey:"palette",transform:L},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:L},backgroundColor:{themeKey:"palette",transform:L},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:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:_},rowGap:{style:C},columnGap:{style:k},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:F},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 V=Y},39707:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(87462),i=n(63366),a=n(68027),o=n(44920);let l=["sx"],s=t=>{var e,n;let r={systemProps:{},otherProps:{}},i=null!=(e=null==t||null==(n=t.theme)?void 0:n.unstable_sxConfig)?e:o.Z;return Object.keys(t).forEach(e=>{i[e]?r.systemProps[e]=t[e]:r.otherProps[e]=t[e]}),r};function c(t){let e;let{sx:n}=t,o=(0,i.Z)(t,l),{systemProps:c,otherProps:u}=s(o);return e=Array.isArray(n)?[c,...n]:"function"==typeof n?(...t)=>{let e=n(...t);return(0,a.P)(e)?(0,r.Z)({},c,e):c}:(0,r.Z)({},c,n),(0,r.Z)({},u,{sx:e})}},86523:function(t,e,n){"use strict";n.d(e,{n:function(){return s}});var r=n(62908),i=n(47730),a=n(54844),o=n(95408),l=n(44920);function s(){function t(t,e,n,i){let l={[t]:e,theme:n},s=i[t];if(!s)return{[t]:e};let{cssProperty:c=t,themeKey:u,transform:f,style:d}=s;if(null==e)return null;if("typography"===u&&"inherit"===e)return{[t]:e};let h=(0,a.DW)(n,u)||{};return d?d(l):(0,o.k9)(l,e,e=>{let n=(0,a.Jq)(h,f,e);return(e===n&&"string"==typeof e&&(n=(0,a.Jq)(h,f,`${t}${"default"===e?"":(0,r.Z)(e)}`,e)),!1===c)?n:{[c]:n}})}return function e(n){var r;let{sx:a,theme:s={}}=n||{};if(!a)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 a=(0,o.W8)(s.breakpoints),l=Object.keys(a),u=a;return Object.keys(r).forEach(n=>{var a;let l="function"==typeof(a=r[n])?a(s):a;if(null!=l){if("object"==typeof l){if(c[n])u=(0,i.Z)(u,t(n,l,s,c));else{let t=(0,o.k9)({theme:s},l,t=>({[n]:t}));(function(...t){let e=t.reduce((t,e)=>t.concat(Object.keys(e)),[]),n=new Set(e);return t.every(t=>n.size===Object.keys(t).length)})(t,l)?u[n]=e({sx:l,theme:s}):u=(0,i.Z)(u,t)}}else u=(0,i.Z)(u,t(n,l,s,c))}}),(0,o.L7)(l,u)}return Array.isArray(a)?a.map(u):u(a)}}let c=s();c.filterProps=["sx"],e.Z=c},79718:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(88647),i=n(67294),a=n(6498),o=function(t=null){let e=i.useContext(a.T);return e&&0!==Object.keys(e).length?e:t};let l=(0,r.Z)();var s=function(t=l){return o(t)}},44065:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(87462),i=n(79718);function a({props:t,name:e,defaultTheme:n,themeId:a}){let o=(0,i.Z)(n);a&&(o=o[a]||o);let l=function(t){let{theme:e,name:n,props:i}=t;return e&&e.components&&e.components[n]&&e.components[n].defaultProps?function t(e,n){let i=(0,r.Z)({},n);return Object.keys(e).forEach(a=>{if(a.toString().match(/^(components|slots)$/))i[a]=(0,r.Z)({},e[a],i[a]);else if(a.toString().match(/^(componentsProps|slotProps)$/)){let o=e[a]||{},l=n[a];i[a]={},l&&Object.keys(l)?o&&Object.keys(o)?(i[a]=(0,r.Z)({},l),Object.keys(o).forEach(e=>{i[a][e]=t(o[e],l[e])})):i[a]=l:i[a]=o}else void 0===i[a]&&(i[a]=e[a])}),i}(e.components[n].defaultProps,i):i}({theme:o,name:e,props:t});return l}},31983:function(t,e){"use strict";let n;let r=t=>t,i=(n=r,{configure(t){n=t},generate:t=>n(t),reset(){n=r}});e.Z=i},62908:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(78758);function i(t){if("string"!=typeof t)throw Error((0,r.Z)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},58510:function(t,e,n){"use strict";function r(t,e,n){let r={};return Object.keys(t).forEach(i=>{r[i]=t[i].reduce((t,r)=>{if(r){let i=e(r);""!==i&&t.push(i),n&&n[r]&&t.push(n[r])}return t},[]).join(" ")}),r}n.d(e,{Z:function(){return r}})},68027:function(t,e,n){"use strict";n.d(e,{P:function(){return i},Z:function(){return function t(e,n,a={clone:!0}){let o=a.clone?(0,r.Z)({},e):e;return i(e)&&i(n)&&Object.keys(n).forEach(r=>{i(n[r])&&Object.prototype.hasOwnProperty.call(e,r)&&i(e[r])?o[r]=t(e[r],n[r],a):a.clone?o[r]=i(n[r])?function t(e){if(!i(e))return e;let n={};return Object.keys(e).forEach(r=>{n[r]=t(e[r])}),n}(n[r]):n[r]:o[r]=n[r]}),o}}});var r=n(87462);function i(t){if("object"!=typeof t||null===t)return!1;let e=Object.getPrototypeOf(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}},78758:function(t,e,n){"use strict";function r(t){let e="https://mui.com/production-error/?code="+t;for(let t=1;t{i[e]=(0,r.ZP)(t,e,n)}),i}},16485:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(67294);function i(t,e){var n,i;return r.isValidElement(t)&&-1!==e.indexOf(null!=(n=t.type.muiName)?n:null==(i=t.type)||null==(i=i._payload)||null==(i=i.value)?void 0:i.muiName)}},25091:function(t,e,n){"use strict";function r(t,e){"function"==typeof t?t(e):t&&(t.current=e)}n.d(e,{Z:function(){return r}})},22760:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(67294),i=n(25091);function a(...t){return r.useMemo(()=>t.every(t=>null==t)?null:e=>{t.forEach(t=>{(0,i.Z)(t,e)})},t)}},15746:function(t,e,n){"use strict";var r=n(21584);e.Z=r.Z},71230:function(t,e,n){"use strict";var r=n(92820);e.Z=r.Z},87760:function(t,e){"use strict";var n={protan:{x:.7465,y:.2535,m:1.273463,yi:-.073894},deutan:{x:1.4,y:-.4,m:.968437,yi:.003331},tritan:{x:.1748,y:0,m:.062921,yi:.292119},custom:{x:.735,y:.265,m:-1.059259,yi:1.026914}},r=function(t){var e={},n=t.R/255,r=t.G/255,i=t.B/255;return n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92,e.X=.41242371206635076*n+.3575793401363035*r+.1804662232369621*i,e.Y=.21265606784927693*n+.715157818248362*r+.0721864539171564*i,e.Z=.019331987577444885*n+.11919267420354762*r+.9504491124870351*i,e},i=function(t){var e=t.X+t.Y+t.Z;return 0===e?{x:0,y:0,Y:t.Y}:{x:t.X/e,y:t.Y/e,Y:t.Y}};e.a=function(t,e,a){var o,l,s,c,u,f,d,h,p,g,m,y,v,b,x,O,w,_,k,C;return"achroma"===e?(o={R:o=.212656*t.R+.715158*t.G+.072186*t.B,G:o,B:o},a&&(s=(l=1.75)+1,o.R=(l*o.R+t.R)/s,o.G=(l*o.G+t.G)/s,o.B=(l*o.B+t.B)/s),o):(c=n[e],f=((u=i(r(t))).y-c.y)/(u.x-c.x),d=u.y-u.x*f,h=(c.yi-d)/(f-c.m),p=f*h+d,(o={}).X=h*u.Y/p,o.Y=u.Y,o.Z=(1-(h+p))*u.Y/p,_=.312713*u.Y/.329016,k=.358271*u.Y/.329016,y=3.240712470389558*(g=_-o.X)+-0+-.49857440415943116*(m=k-o.Z),v=-.969259258688888*g+0+.041556132211625726*m,b=.05563600315398933*g+-0+1.0570636917433989*m,o.R=3.240712470389558*o.X+-1.5372626602963142*o.Y+-.49857440415943116*o.Z,o.G=-.969259258688888*o.X+1.875996969313966*o.Y+.041556132211625726*o.Z,o.B=.05563600315398933*o.X+-.2039948802843549*o.Y+1.0570636917433989*o.Z,x=((o.R<0?0:1)-o.R)/y,O=((o.G<0?0:1)-o.G)/v,(w=(w=((o.B<0?0:1)-o.B)/b)>1||w<0?0:w)>(C=(x=x>1||x<0?0:x)>(O=O>1||O<0?0:O)?x:O)&&(C=w),o.R+=C*y,o.G+=C*v,o.B+=C*b,o.R=255*(o.R<=0?0:o.R>=1?1:Math.pow(o.R,.45454545454545453)),o.G=255*(o.G<=0?0:o.G>=1?1:Math.pow(o.G,.45454545454545453)),o.B=255*(o.B<=0?0:o.B>=1?1:Math.pow(o.B,.45454545454545453)),a&&(s=(l=1.75)+1,o.R=(l*o.R+t.R)/s,o.G=(l*o.G+t.G)/s,o.B=(l*o.B+t.B)/s),o)}},56917:function(t,e,n){"use strict";var r=n(74314),i=n(87760).a,a={protanomaly:{type:"protan",anomalize:!0},protanopia:{type:"protan"},deuteranomaly:{type:"deutan",anomalize:!0},deuteranopia:{type:"deutan"},tritanomaly:{type:"tritan",anomalize:!0},tritanopia:{type:"tritan"},achromatomaly:{type:"achroma",anomalize:!0},achromatopsia:{type:"achroma"}},o=function(t){return Math.round(255*t)},l=function(t){return function(e,n){var l=r(e);if(!l)return n?{R:0,G:0,B:0}:"#000000";var s=new i({R:o(l.red()||0),G:o(l.green()||0),B:o(l.blue()||0)},a[t].type,a[t].anomalize);return(s.R=s.R||0,s.G=s.G||0,s.B=s.B||0,n)?(delete s.X,delete s.Y,delete s.Z,s):new r.RGB(s.R%256/255,s.G%256/255,s.B%256/255,1).hex()}};for(var s in a)e[s]=l(s)},91077:function(t,e,n){"use strict";function r(t,e){return te?1:t>=e?0:NaN}n.d(e,{Z:function(){return r}})},87568:function(t,e,n){"use strict";n.d(e,{Z:function(){return g}});var r=Array.prototype,i=r.slice;r.map;var a=n(44355);function o(t){return function(){return t}}var l=n(23865),s=n(10874),c=Math.sqrt(50),u=Math.sqrt(10),f=Math.sqrt(2);function d(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),a=r/Math.pow(10,i);return i>=0?(a>=c?10:a>=u?5:a>=f?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=c?10:a>=u?5:a>=f?2:1)}var h=n(89917);function p(t){return Math.ceil(Math.log((0,h.Z)(t))/Math.LN2)+1}function g(){var t=s.Z,e=l.Z,n=p;function r(r){Array.isArray(r)||(r=Array.from(r));var i,o,s=r.length,c=Array(s);for(i=0;i0?(t=Math.floor(t/i)*i,e=Math.ceil(e/i)*i):i<0&&(t=Math.ceil(t*i)/i,e=Math.floor(e*i)/i),r=i}}(f,h,n)),(p=function(t,e,n){var r,i,a,o,l=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e0){let n=Math.round(t/o),r=Math.round(e/o);for(n*oe&&--r,a=Array(i=r-n+1);++le&&--r,a=Array(i=r-n+1);++l=h){if(t>=h&&e===l.Z){let t=d(f,h,n);isFinite(t)&&(t>0?h=(Math.floor(h/t)+1)*t:t<0&&(h=-((Math.ceil(-(h*t))+1)/t)))}else p.pop()}}for(var g=p.length;p[0]<=f;)p.shift(),--g;for(;p[g-1]>h;)p.pop(),--g;var m,y=Array(g+1);for(i=0;i<=g;++i)(m=y[i]=[]).x0=i>0?p[i-1]:f,m.x1=i>>1;0>n(t[a],e)?r=a+1:i=a}return r}return 1===t.length&&(e=(e,n)=>t(e)-n,n=(e,n)=>(0,r.Z)(t(e),n)),{left:i,center:function(t,n,r,a){null==r&&(r=0),null==a&&(a=t.length);let o=i(t,n,r,a-1);return o>r&&e(t[o-1],n)>-e(t[o],n)?o-1:o},right:function(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r>>1;n(t[a],e)>0?i=a:r=a+1}return r}}}},89917:function(t,e,n){"use strict";function r(t,e){let n=0;if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&++n;else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(i=+i)>=i&&++n}return n}n.d(e,{Z:function(){return r}})},93209:function(t,e,n){"use strict";function r(t,e){let n=function(t,e){let n,r=0,i=0,a=0;if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(n=e-i,i+=n/++r,a+=n*(e-i));else{let o=-1;for(let l of t)null!=(l=e(l,++o,t))&&(l=+l)>=l&&(n=l-i,i+=n/++r,a+=n*(l-i))}if(r>1)return a/(r-1)}(t,e);return n?Math.sqrt(n):n}n.d(e,{Z:function(){return r}})},23865:function(t,e,n){"use strict";function r(t,e){let n,r;if(void 0===e)for(let e of t)null!=e&&(void 0===n?e>=e&&(n=r=e):(n>e&&(n=e),r=a&&(n=r=a):(n>a&&(n=a),r0){for(a=t[--e];e>0&&(a=(n=a)+(r=t[--e]),!(i=r-(a-n))););e>0&&(i<0&&t[e-1]<0||i>0&&t[e-1]>0)&&(n=a+(r=2*i),r==n-a&&(a=n))}return a}}},44022:function(t,e,n){"use strict";n.d(e,{ZP:function(){return l},Xx:function(){return s},jJ:function(){return c},Q3:function(){return u}});class r extends Map{constructor(t,e=a){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,n]of t)this.set(e,n)}get(t){return super.get(i(this,t))}has(t){return super.has(i(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},n){let r=e(n);return t.has(r)&&(n=t.get(n),t.delete(r)),n}(this,t))}}function i({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):n}function a(t){return null!==t&&"object"==typeof t?t.valueOf():t}var o=n(10874);function l(t,...e){return f(t,o.Z,o.Z,e)}function s(t,...e){return f(t,Array.from,o.Z,e)}function c(t,e,...n){return f(t,o.Z,e,n)}function u(t,e,...n){return f(t,Array.from,e,n)}function f(t,e,n,i){return function t(a,o){if(o>=i.length)return n(a);let l=new r,s=i[o++],c=-1;for(let t of a){let e=s(t,++c,a),n=l.get(e);n?n.push(t):l.set(e,[t])}for(let[e,n]of l)l.set(e,t(n,o));return e(l)}(t,0)}},28085:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(91077),i=n(44022),a=n(80732);function o(t,e,n){return(1===e.length?(0,a.Z)((0,i.jJ)(t,e,n),([t,e],[n,i])=>(0,r.Z)(e,i)||(0,r.Z)(t,n)):(0,a.Z)((0,i.ZP)(t,n),([t,n],[i,a])=>e(n,a)||(0,r.Z)(t,i))).map(([t])=>t)}},10874:function(t,e,n){"use strict";function r(t){return t}n.d(e,{Z:function(){return r}})},80091:function(){},98823:function(t,e,n){"use strict";function r(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n=i)&&(n=i)}return n}n.d(e,{Z:function(){return r}})},11616:function(t,e,n){"use strict";function r(t,e){let n;let r=-1,i=-1;if(void 0===e)for(let e of t)++i,null!=e&&(n=e)&&(n=e,r=i);else for(let a of t)null!=(a=e(a,++i,t))&&(n=a)&&(n=a,r=i);return r}n.d(e,{Z:function(){return r}})},71894:function(t,e,n){"use strict";function r(t,e){let n=0,r=0;if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(++n,r+=e);else{let i=-1;for(let a of t)null!=(a=e(a,++i,t))&&(a=+a)>=a&&(++n,r+=a)}if(n)return r/n}n.d(e,{Z:function(){return r}})},76132:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(51758);function i(t,e){return(0,r.Z)(t,.5,e)}},83502:function(t,e,n){"use strict";function r(t){return Array.from(function*(t){for(let e of t)yield*e}(t))}n.d(e,{Z:function(){return r}})},47622:function(t,e,n){"use strict";function r(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}n.d(e,{Z:function(){return r}})},18320:function(t,e,n){"use strict";function r(t,e){let n;let r=-1,i=-1;if(void 0===e)for(let e of t)++i,null!=e&&(n>e||void 0===n&&e>=e)&&(n=e,r=i);else for(let a of t)null!=(a=e(a,++i,t))&&(n>a||void 0===n&&a>=a)&&(n=a,r=i);return r}n.d(e,{Z:function(){return r}})},62921:function(t,e,n){"use strict";function r(t){return null===t?NaN:+t}function*i(t,e){if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(yield e);else{let n=-1;for(let r of t)null!=(r=e(r,++n,t))&&(r=+r)>=r&&(yield r)}}n.d(e,{K:function(){return i},Z:function(){return r}})},51758:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(98823),i=n(47622),a=n(91077);function o(t,e,n){let r=t[e];t[e]=t[n],t[n]=r}var l=n(62921);function s(t,e,n){if(s=(t=Float64Array.from((0,l.K)(t,n))).length){if((e=+e)<=0||s<2)return(0,i.Z)(t);if(e>=1)return(0,r.Z)(t);var s,c=(s-1)*e,u=Math.floor(c),f=(0,r.Z)((function t(e,n,r=0,i=e.length-1,l=a.Z){for(;i>r;){if(i-r>600){let a=i-r+1,o=n-r+1,s=Math.log(a),c=.5*Math.exp(2*s/3),u=.5*Math.sqrt(s*c*(a-c)/a)*(o-a/2<0?-1:1),f=Math.max(r,Math.floor(n-o*c/a+u)),d=Math.min(i,Math.floor(n+(a-o)*c/a+u));t(e,n,f,d,l)}let a=e[n],s=r,c=i;for(o(e,r,n),l(e[i],a)>0&&o(e,r,i);sl(e[s],a);)++s;for(;l(e[c],a)>0;)--c}0===l(e[r],a)?o(e,r,c):o(e,++c,i),c<=n&&(r=c+1),n<=c&&(i=c-1)}return e})(t,u).subarray(0,u+1));return f+((0,i.Z)(t.subarray(u+1))-f)*(c-u)}}},80732:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(91077);function i(t,...e){if("function"!=typeof t[Symbol.iterator])throw TypeError("values is not iterable");t=Array.from(t);let[n=r.Z]=e;if(1===n.length||e.length>1){var a;let i=Uint32Array.from(t,(t,e)=>e);return e.length>1?(e=e.map(e=>t.map(e)),i.sort((t,n)=>{for(let i of e){let e=(0,r.Z)(i[t],i[n]);if(e)return e}})):(n=t.map(n),i.sort((t,e)=>(0,r.Z)(n[t],n[e]))),a=t,Array.from(i,t=>a[t])}return t.sort(n)}},90155:function(t,e,n){"use strict";function r(t,e){let n=0;if(void 0===e)for(let e of t)(e=+e)&&(n+=e);else{let r=-1;for(let i of t)(i=+e(i,++r,t))&&(n+=i)}return n}n.d(e,{Z:function(){return r}})},52362:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(89917),i=n(93209);function a(t,e,n){return Math.ceil((n-e)/(3.5*(0,i.Z)(t)*Math.pow((0,r.Z)(t),-1/3)))}},6586:function(t,e,n){"use strict";function r(t){for(var e in t){var n,r,a=t[e].trim();if(a){if("true"===a)a=!0;else if("false"===a)a=!1;else if("NaN"===a)a=NaN;else if(isNaN(n=+a)){if(!(r=a.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;i&&r[4]&&!r[7]&&(a=a.replace(/-/g,"/").replace(/T/," ")),a=new Date(a)}else a=n}else a=null;t[e]=a}return t}n.d(e,{Z:function(){return r}});let i=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours()},42132:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r={},i={};function a(t){return Function("d","return {"+t.map(function(t,e){return JSON.stringify(t)+": d["+e+'] || ""'}).join(",")+"}")}function o(t){var e=Object.create(null),n=[];return t.forEach(function(t){for(var r in t)r in e||n.push(e[r]=r)}),n}function l(t,e){var n=t+"",r=n.length;return r=l?u=!0:10===(a=t.charCodeAt(s++))?f=!0:13===a&&(f=!0,10===t.charCodeAt(s)&&++s),t.slice(o+1,e-1).replace(/""/g,'"')}for(;s9999?"+"+l(s,6):l(s,4))+"-"+l(n.getUTCMonth()+1,2)+"-"+l(n.getUTCDate(),2)+(o?"T"+l(r,2)+":"+l(i,2)+":"+l(a,2)+"."+l(o,3)+"Z":a?"T"+l(r,2)+":"+l(i,2)+":"+l(a,2)+"Z":i||r?"T"+l(r,2)+":"+l(i,2)+"Z":"")):e.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var n,r,i=s(t,function(t,i){var o;if(n)return n(t,i-1);r=t,n=e?(o=a(t),function(n,r){return e(o(n),r,t)}):a(t)});return i.columns=r||[],i},parseRows:s,format:function(e,n){return null==n&&(n=o(e)),[n.map(f).join(t)].concat(c(e,n)).join("\n")},formatBody:function(t,e){return null==e&&(e=o(t)),c(t,e).join("\n")},formatRows:function(t){return t.map(u).join("\n")},formatRow:u,formatValue:f}}},17694:function(t,e,n){"use strict";function r(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}n.d(e,{WU:function(){return o}});var i,a,o,l=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function s(t){var e;if(!(e=l.exec(t)))throw Error("invalid format: "+t);return new c({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function c(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function u(t,e){var n=r(t,e);if(!n)return t+"";var i=n[0],a=n[1];return a<0?"0."+Array(-a).join("0")+i:i.length>a+1?i.slice(0,a+1)+"."+i.slice(a+1):i+Array(a-i.length+2).join("0")}s.prototype=c.prototype,c.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var f={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>u(100*t,e),r:u,s:function(t,e){var n=r(t,e);if(!n)return t+"";var a=n[0],o=n[1],l=o-(i=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,s=a.length;return l===s?a:l>s?a+Array(l-s+1).join("0"):l>0?a.slice(0,l)+"."+a.slice(l):"0."+Array(1-l).join("0")+r(t,Math.max(0,e+l-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function d(t){return t}var h=Array.prototype.map,p=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];o=(a=function(t){var e,n,a,o=void 0===t.grouping||void 0===t.thousands?d:(e=h.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,a=[],o=0,l=e[0],s=0;i>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),a.push(t.substring(i-=l,i+l)),!((s+=l+1)>r));)l=e[o=(o+1)%e.length];return a.reverse().join(n)}),l=void 0===t.currency?"":t.currency[0]+"",c=void 0===t.currency?"":t.currency[1]+"",u=void 0===t.decimal?".":t.decimal+"",g=void 0===t.numerals?d:(a=h.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return a[+t]})}),m=void 0===t.percent?"%":t.percent+"",y=void 0===t.minus?"−":t.minus+"",v=void 0===t.nan?"NaN":t.nan+"";function b(t){var e=(t=s(t)).fill,n=t.align,r=t.sign,a=t.symbol,d=t.zero,h=t.width,b=t.comma,x=t.precision,O=t.trim,w=t.type;"n"===w?(b=!0,w="g"):f[w]||(void 0===x&&(x=12),O=!0,w="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=");var _="$"===a?l:"#"===a&&/[boxX]/.test(w)?"0"+w.toLowerCase():"",k="$"===a?c:/[%p]/.test(w)?m:"",C=f[w],j=/[defgprs%]/.test(w);function M(t){var a,l,s,c=_,f=k;if("c"===w)f=C(t)+f,t="";else{var m=(t=+t)<0||1/t<0;if(t=isNaN(t)?v:C(Math.abs(t),x),O&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),m&&0==+t&&"+"!==r&&(m=!1),c=(m?"("===r?r:y:"-"===r||"("===r?"":r)+c,f=("s"===w?p[8+i/3]:"")+f+(m&&"("===r?")":""),j){for(a=-1,l=t.length;++a(s=t.charCodeAt(a))||s>57){f=(46===s?u+t.slice(a+1):t.slice(a))+f,t=t.slice(0,a);break}}}b&&!d&&(t=o(t,1/0));var M=c.length+t.length+f.length,S=M>1)+c+t+f+S.slice(M);break;default:t=S+c+t+f}return g(t)}return x=void 0===x?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,x)):Math.max(0,Math.min(20,x)),M.toString=function(){return t+""},M}return{format:b,formatPrefix:function(t,e){var n,i=b(((t=s(t)).type="f",t)),a=3*Math.max(-8,Math.min(8,Math.floor(((n=r(Math.abs(n=e)))?n[1]:NaN)/3))),o=Math.pow(10,-a),l=p[8+a/3];return function(t){return i(o*t)+l}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,a.formatPrefix},38627:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(11344);function i(){var t,e=[];return{point:function(e,n,r){t.push([e,n,r])},lineStart:function(){e.push(t=[])},lineEnd:r.Z,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}},85142:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(55350),i=n(38627),a=n(58684),o=n(83502);function l(t,e,n,l){function s(r,i){return t<=r&&r<=n&&e<=i&&i<=l}function c(r,i,a,o){var s=0,c=0;if(null==r||(s=u(r,a))!==(c=u(i,a))||0>d(r,i)^a>0)do o.point(0===s||3===s?t:n,s>1?l:e);while((s=(s+a+4)%4)!==c);else o.point(i[0],i[1])}function u(i,a){return(0,r.Wn)(i[0]-t)0?0:3:(0,r.Wn)(i[0]-n)0?2:1:(0,r.Wn)(i[1]-e)0?1:0:a>0?3:2}function f(t,e){return d(t.x,e.x)}function d(t,e){var n=u(t,1),r=u(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(r){var u,d,h,p,g,m,y,v,b,x,O,w=r,_=(0,i.Z)(),k={point:C,lineStart:function(){k.point=j,d&&d.push(h=[]),x=!0,b=!1,y=v=NaN},lineEnd:function(){u&&(j(p,g),m&&b&&_.rejoin(),u.push(_.result())),k.point=C,b&&w.lineEnd()},polygonStart:function(){w=_,u=[],d=[],O=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,r=d.length;nl&&(f-i)*(l-a)>(h-a)*(t-i)&&++e:h<=l&&(f-i)*(l-a)<(h-a)*(t-i)&&--e;return e}(),n=O&&e,i=(u=(0,o.Z)(u)).length;(n||i)&&(r.polygonStart(),n&&(r.lineStart(),c(null,null,1,r),r.lineEnd()),i&&(0,a.Z)(u,f,e,c,r),r.polygonEnd()),w=r,u=d=h=null}};function C(t,e){s(t,e)&&w.point(t,e)}function j(r,i){var a=s(r,i);if(d&&h.push([r,i]),x)p=r,g=i,m=a,x=!1,a&&(w.lineStart(),w.point(r,i));else if(a&&b)w.point(r,i);else{var o=[y=Math.max(-1e9,Math.min(1e9,y)),v=Math.max(-1e9,Math.min(1e9,v))],c=[r=Math.max(-1e9,Math.min(1e9,r)),i=Math.max(-1e9,Math.min(1e9,i))];!function(t,e,n,r,i,a){var o,l=t[0],s=t[1],c=e[0],u=e[1],f=0,d=1,h=c-l,p=u-s;if(o=n-l,h||!(o>0)){if(o/=h,h<0){if(o0){if(o>d)return;o>f&&(f=o)}if(o=i-l,h||!(o<0)){if(o/=h,h<0){if(o>d)return;o>f&&(f=o)}else if(h>0){if(o0)){if(o/=p,p<0){if(o0){if(o>d)return;o>f&&(f=o)}if(o=a-s,p||!(o<0)){if(o/=p,p<0){if(o>d)return;o>f&&(f=o)}else if(p>0){if(o0&&(t[0]=l+f*h,t[1]=s+f*p),d<1&&(e[0]=l+d*h,e[1]=s+d*p),!0}}}}}(o,c,t,e,n,l)?a&&(w.lineStart(),w.point(r,i),O=!1):(b||(w.lineStart(),w.point(o[0],o[1])),w.point(c[0],c[1]),a||w.lineEnd(),O=!1)}y=r,v=i,b=a}return k}}},58684:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(55228),i=n(55350);function a(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function o(t,e,n,o,s){var c,u,f=[],d=[];if(t.forEach(function(t){if(!((e=t.length-1)<=0)){var e,n,o=t[0],l=t[e];if((0,r.Z)(o,l)){if(!o[2]&&!l[2]){for(s.lineStart(),c=0;c=0;--c)s.point((p=h[c])[0],p[1]);else o(m.x,m.p.x,-1,s);m=m.p}h=(m=m.o).z,y=!y}while(!m.v);s.lineEnd()}}}function l(t){if(e=t.length){for(var e,n,r=0,i=t[0];++ri.Ho}).map(d)).concat(r((0,i.mD)(c/y)*y,s,y).filter(function(t){return(0,i.Wn)(t%b)>i.Ho}).map(h))}return O.lines=function(){return w().map(function(t){return{type:"LineString",coordinates:t}})},O.outline=function(){return{type:"Polygon",coordinates:[p(l).concat(g(u).slice(1),p(n).reverse().slice(1),g(f).reverse().slice(1))]}},O.extent=function(t){return arguments.length?O.extentMajor(t).extentMinor(t):O.extentMinor()},O.extentMajor=function(t){return arguments.length?(l=+t[0][0],n=+t[1][0],f=+t[0][1],u=+t[1][1],l>n&&(t=l,l=n,n=t),f>u&&(t=f,f=u,u=t),O.precision(x)):[[l,f],[n,u]]},O.extentMinor=function(n){return arguments.length?(e=+n[0][0],t=+n[1][0],c=+n[0][1],s=+n[1][1],e>t&&(n=e,e=t,t=n),c>s&&(n=c,c=s,s=n),O.precision(x)):[[e,c],[t,s]]},O.step=function(t){return arguments.length?O.stepMajor(t).stepMinor(t):O.stepMinor()},O.stepMajor=function(t){return arguments.length?(v=+t[0],b=+t[1],O):[v,b]},O.stepMinor=function(t){return arguments.length?(m=+t[0],y=+t[1],O):[m,y]},O.precision=function(r){return arguments.length?(x=+r,d=a(c,s,90),h=o(e,t,x),p=a(f,u,90),g=o(l,n,x),O):x},O.extentMajor([[-180,-90+i.Ho],[180,90-i.Ho]]).extentMinor([[-180,-80-i.Ho],[180,80+i.Ho]])})()()}},67423:function(t,e){"use strict";e.Z=t=>t},55350:function(t,e,n){"use strict";n.d(e,{BZ:function(){return s},Ho:function(){return r},Kh:function(){return _},O$:function(){return b},OR:function(){return w},Qq:function(){return m},RW:function(){return c},Wn:function(){return f},Xx:function(){return x},ZR:function(){return k},_b:function(){return O},aW:function(){return i},cM:function(){return y},fv:function(){return h},mC:function(){return p},mD:function(){return g},ou:function(){return o},pi:function(){return a},pu:function(){return l},sQ:function(){return v},uR:function(){return u},z4:function(){return d}});var r=1e-6,i=1e-12,a=Math.PI,o=a/2,l=a/4,s=2*a,c=180/a,u=a/180,f=Math.abs,d=Math.atan,h=Math.atan2,p=Math.cos,g=Math.ceil,m=Math.exp,y=Math.log,v=Math.pow,b=Math.sin,x=Math.sign||function(t){return t>0?1:t<0?-1:0},O=Math.sqrt,w=Math.tan;function _(t){return t>1?0:t<-1?a:Math.acos(t)}function k(t){return t>1?o:t<-1?-o:Math.asin(t)}},11344:function(t,e,n){"use strict";function r(){}n.d(e,{Z:function(){return r}})},3310:function(t,e,n){"use strict";var r=n(11344),i=1/0,a=1/0,o=-1/0,l=o,s={point:function(t,e){to&&(o=t),el&&(l=e)},lineStart:r.Z,lineEnd:r.Z,polygonStart:r.Z,polygonEnd:r.Z,result:function(){var t=[[i,a],[o,l]];return o=l=-(a=i=1/0),t}};e.Z=s},30348:function(t,e,n){"use strict";n.d(e,{Z:function(){return te}});var r,i,a,o,l=n(67423),s=n(23311),c=n(75801),u=n(55350),f=n(11344),d=new c.dU,h=new c.dU,p={point:f.Z,lineStart:f.Z,lineEnd:f.Z,polygonStart:function(){p.lineStart=g,p.lineEnd=v},polygonEnd:function(){p.lineStart=p.lineEnd=p.point=f.Z,d.add((0,u.Wn)(h)),h=new c.dU},result:function(){var t=d/2;return d=new c.dU,t}};function g(){p.point=m}function m(t,e){p.point=y,r=a=t,i=o=e}function y(t,e){h.add(o*t-a*e),a=t,o=e}function v(){y(r,i)}var b,x,O,w,_=n(3310),k=0,C=0,j=0,M=0,S=0,A=0,E=0,P=0,R=0,Z={point:T,lineStart:L,lineEnd:D,polygonStart:function(){Z.lineStart=N,Z.lineEnd=z},polygonEnd:function(){Z.point=T,Z.lineStart=L,Z.lineEnd=D},result:function(){var t=R?[E/R,P/R]:A?[M/A,S/A]:j?[k/j,C/j]:[NaN,NaN];return k=C=j=M=S=A=E=P=R=0,t}};function T(t,e){k+=t,C+=e,++j}function L(){Z.point=B}function B(t,e){Z.point=I,T(O=t,w=e)}function I(t,e){var n=t-O,r=e-w,i=(0,u._b)(n*n+r*r);M+=i*(O+t)/2,S+=i*(w+e)/2,A+=i,T(O=t,w=e)}function D(){Z.point=T}function N(){Z.point=F}function z(){$(b,x)}function F(t,e){Z.point=$,T(b=O=t,x=w=e)}function $(t,e){var n=t-O,r=e-w,i=(0,u._b)(n*n+r*r);M+=i*(O+t)/2,S+=i*(w+e)/2,A+=i,E+=(i=w*t-O*e)*(O+t),P+=i*(w+e),R+=3*i,T(O=t,w=e)}function W(t){this._context=t}W.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,u.BZ)}},result:f.Z};var H,G,q,Y,V,U=new c.dU,Q={point:f.Z,lineStart:function(){Q.point=X},lineEnd:function(){H&&K(G,q),Q.point=f.Z},polygonStart:function(){H=!0},polygonEnd:function(){H=null},result:function(){var t=+U;return U=new c.dU,t}};function X(t,e){Q.point=K,G=Y=t,q=V=e}function K(t,e){Y-=t,V-=e,U.add((0,u._b)(Y*Y+V*V)),Y=t,V=e}function J(){this._string=[]}function tt(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function te(t,e){var n,r,i=4.5;function a(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),(0,s.Z)(t,n(r))),r.result()}return a.area=function(t){return(0,s.Z)(t,n(p)),p.result()},a.measure=function(t){return(0,s.Z)(t,n(Q)),Q.result()},a.bounds=function(t){return(0,s.Z)(t,n(_.Z)),_.Z.result()},a.centroid=function(t){return(0,s.Z)(t,n(Z)),Z.result()},a.projection=function(e){return arguments.length?(n=null==e?(t=null,l.Z):(t=e).stream,a):t},a.context=function(t){return arguments.length?(r=null==t?(e=null,new J):new W(e=t),"function"!=typeof i&&r.pointRadius(i),a):e},a.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),a):i},a.projection(t).context(e)}J.prototype={_radius:4.5,_circle:tt(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=tt(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(!this._string.length)return null;var t=this._string.join("");return this._string=[],t}}},55228:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(55350);function i(t,e){return(0,r.Wn)(t[0]-e[0])=.12&&i<.234&&r>=-.425&&r<-.214?f:i>=.166&&i<.234&&r>=-.214&&r<-.115?d:u).invert(t)},p.stream=function(n){var r,i;return t&&e===n?t:(i=(r=[u.stream(e=n),f.stream(n),d.stream(n)]).length,t={point:function(t,e){for(var n=-1;++n0?e<-r.ou+r.Ho&&(e=-r.ou+r.Ho):e>r.ou-r.Ho&&(e=r.ou-r.Ho);var n=l/(0,r.sQ)(o(e),i);return[n*(0,r.O$)(i*t),l-n*(0,r.mC)(i*t)]}return s.invert=function(t,e){var n=l-e,a=(0,r.Xx)(i)*(0,r._b)(t*t+n*n),o=(0,r.fv)(t,(0,r.Wn)(n))*(0,r.Xx)(n);return n*i<0&&(o-=r.pi*(0,r.Xx)(t)*(0,r.Xx)(n)),[o/i,2*(0,r.z4)((0,r.sQ)(l/a,1/i))-r.ou]},s}function s(){return(0,i.o)(l).scale(109.5).parallels([30,30])}},26477:function(t,e,n){"use strict";n.d(e,{v:function(){return a},Z:function(){return o}});var r=n(55350),i=n(53388);function a(t,e){var n=(0,r.O$)(t),i=(n+(0,r.O$)(e))/2;if((0,r.Wn)(i)=0?1:-1,R=P*E,Z=R>a.pi,T=w*S;if(d.add((0,a.fv)(T*P*(0,a.O$)(R),_*A+T*(0,a.mC)(R))),c+=Z?E+P*a.BZ:E,Z^x>=n^j>=n){var L=u(s(b),s(C));h(L);var B=u(l,L);h(B);var I=(Z^E>=0?-1:1)*(0,a.ZR)(B[2]);(r>I||r===I&&(L[0]||L[1]))&&(f+=Z^E>=0?1:-1)}}return(c<-a.Ho||c0){for(w||(c.polygonStart(),w=!0),c.lineStart(),t=0;t1&&2&i&&a.push(a.pop().concat(a.shift())),d.push(a.filter(y))}}return _}}function y(t){return t.length>1}function v(t,e){return((t=t.x)[0]<0?t[1]-a.ou-a.Ho:a.ou-t[1])-((e=e.x)[0]<0?e[1]-a.ou-a.Ho:a.ou-e[1])}var b=m(function(){return!0},function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,l){var s,c,u,f,d,h,p=o>0?a.pi:-a.pi,g=(0,a.Wn)(o-n);(0,a.Wn)(g-a.pi)0?a.ou:-a.ou),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(p,r),t.point(o,r),e=0):i!==p&&g>=a.pi&&((0,a.Wn)(n-i)a.Ho?(0,a.z4)(((0,a.O$)(c)*(d=(0,a.mC)(l))*(0,a.O$)(u)-(0,a.O$)(l)*(f=(0,a.mC)(c))*(0,a.O$)(s))/(f*d*h)):(c+l)/2,t.point(i,r),t.lineEnd(),t.lineStart(),t.point(p,r),e=0),t.point(n=o,r=l),i=p},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}},function(t,e,n,r){var i;if(null==t)i=n*a.ou,r.point(-a.pi,i),r.point(0,i),r.point(a.pi,i),r.point(a.pi,0),r.point(a.pi,-i),r.point(0,-i),r.point(-a.pi,-i),r.point(-a.pi,0),r.point(-a.pi,i);else if((0,a.Wn)(t[0]-e[0])>a.Ho){var o=t[0]-e[2]?-n:n)+a.BZ-a.Ho)%a.BZ}var O=n(55228),w=n(85142),_=n(44079),k=n(67423),C=n(51613),j=n(20071),M=n(83776),S=(0,a.mC)(30*a.uR);function A(t,e){return+e?function(t,e){function n(r,i,o,l,s,c,u,f,d,h,p,g,m,y){var v=u-r,b=f-i,x=v*v+b*b;if(x>4*e&&m--){var O=l+h,w=s+p,_=c+g,k=(0,a._b)(O*O+w*w+_*_),C=(0,a.ZR)(_/=k),j=(0,a.Wn)((0,a.Wn)(_)-1)e||(0,a.Wn)((v*P+b*R)/x-.5)>.3||l*h+s*p+c*g0,i=(0,a.Wn)(e)>a.Ho;function o(t,n){return(0,a.mC)(t)*(0,a.mC)(n)>e}function h(t,n,r){var i=s(t),o=s(n),h=[1,0,0],p=u(i,o),g=c(p,p),m=p[0],y=g-m*m;if(!y)return!r&&t;var v=e*g/y,b=-e*m/y,x=u(h,p),O=d(h,v);f(O,d(p,b));var w=c(O,x),_=c(x,x),k=w*w-_*(c(O,O)-1);if(!(k<0)){var C=(0,a._b)(k),j=d(x,(-w-C)/_);if(f(j,O),j=l(j),!r)return j;var M,S=t[0],A=n[0],E=t[1],P=n[1];A0^j[1]<((0,a.Wn)(j[0]-S)a.pi^(S<=j[0]&&j[0]<=A)){var L=d(x,(-w+C)/_);return f(L,O),[j,l(L)]}}}function p(e,n){var i=r?t:a.pi-t,o=0;return e<-i?o|=1:e>i&&(o|=2),n<-i?o|=4:n>i&&(o|=8),o}return m(o,function(t){var e,n,l,s,c;return{lineStart:function(){s=l=!1,c=1},point:function(u,f){var d,g,m=[u,f],y=o(u,f),v=r?y?0:p(u,f):y?p(u+(u<0?a.pi:-a.pi),f):0;!e&&(s=l=y)&&t.lineStart(),y!==l&&(!(g=h(e,m))||(0,O.Z)(e,g)||(0,O.Z)(m,g))&&(m[2]=1),y!==l?(c=0,y?(t.lineStart(),g=h(m,e),t.point(g[0],g[1])):(g=h(e,m),t.point(g[0],g[1],2),t.lineEnd()),e=g):i&&e&&r^y&&!(v&n)&&(d=h(m,e,!0))&&(c=0,r?(t.lineStart(),t.point(d[0][0],d[0][1]),t.point(d[1][0],d[1][1]),t.lineEnd()):(t.point(d[1][0],d[1][1]),t.lineEnd(),t.lineStart(),t.point(d[0][0],d[0][1],3))),!y||e&&(0,O.Z)(e,m)||t.point(m[0],m[1]),e=m,l=y,n=v},lineEnd:function(){l&&t.lineEnd(),e=null},clean:function(){return c|(s&&l)<<1}}},function(e,r,i,o){!function(t,e,n,r,i,o){if(n){var s=(0,a.mC)(e),c=(0,a.O$)(e),u=r*n;null==i?(i=e+r*a.BZ,o=e-u/2):(i=x(s,i),o=x(s,o),(r>0?io)&&(i+=r*a.BZ));for(var f,d=i;r>0?d>o:d2?t[2]%360*a.uR:0,U()):[B*a.RW,I*a.RW,D*a.RW]},Y.angle=function(t){return arguments.length?(N=t%360*a.uR,U()):N*a.RW},Y.reflectX=function(t){return arguments.length?(z=t?-1:1,U()):z<0},Y.reflectY=function(t){return arguments.length?(F=t?-1:1,U()):F<0},Y.precision=function(t){return arguments.length?(h=A(p,q=t*t),Q()):(0,a._b)(q)},Y.fitExtent=function(t,e){return(0,M.qg)(Y,t,e)},Y.fitSize=function(t,e){return(0,M.mF)(Y,t,e)},Y.fitWidth=function(t,e){return(0,M.V6)(Y,t,e)},Y.fitHeight=function(t,e){return(0,M.rf)(Y,t,e)},function(){return e=t.apply(this,arguments),Y.invert=e.invert&&V,U()}}},23007:function(t,e,n){"use strict";n.d(e,{ZP:function(){return l},hk:function(){return o},iW:function(){return s}});var r=n(55350),i=n(51613),a=n(32427);function o(t,e){return[t,(0,r.cM)((0,r.OR)((r.ou+e)/2))]}function l(){return s(o).scale(961/r.BZ)}function s(t){var e,n,l,s=(0,a.Z)(t),c=s.center,u=s.scale,f=s.translate,d=s.clipExtent,h=null;function p(){var a=r.pi*u(),c=s((0,i.Z)(s.rotate()).invert([0,0]));return d(null==h?[[c[0]-a,c[1]-a],[c[0]+a,c[1]+a]]:t===o?[[Math.max(c[0]-a,h),e],[Math.min(c[0]+a,n),l]]:[[h,Math.max(c[1]-a,e)],[n,Math.min(c[1]+a,l)]])}return s.scale=function(t){return arguments.length?(u(t),p()):u()},s.translate=function(t){return arguments.length?(f(t),p()):f()},s.center=function(t){return arguments.length?(c(t),p()):c()},s.clipExtent=function(t){return arguments.length?(null==t?h=e=n=l=null:(h=+t[0][0],e=+t[0][1],n=+t[1][0],l=+t[1][1]),p()):null==h?null:[[h,e],[n,l]]},p()}o.invert=function(t,e){return[t,2*(0,r.z4)((0,r.Qq)(e))-r.ou]}},38839:function(t,e,n){"use strict";n.d(e,{K:function(){return a},Z:function(){return o}});var r=n(32427),i=n(55350);function a(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(-.013791+r*(.003971*n-.001529*r))),e*(1.007226+n*(.015085+r*(-.044475+.028874*n-.005916*r)))]}function o(){return(0,r.Z)(a).scale(175.295)}a.invert=function(t,e){var n,r=e,a=25;do{var o=r*r,l=o*o;r-=n=(r*(1.007226+o*(.015085+l*(-.044475+.028874*o-.005916*l)))-e)/(1.007226+o*(.045255+l*(-.311325+.259866*o-.005916*11*l)))}while((0,i.Wn)(n)>i.Ho&&--a>0);return[t/(.8707+(o=r*r)*(-.131979+o*(-.013791+o*o*o*(.003971-.001529*o)))),r]}},50435:function(t,e,n){"use strict";n.d(e,{I:function(){return o},Z:function(){return l}});var r=n(55350),i=n(93824),a=n(32427);function o(t,e){return[(0,r.mC)(e)*(0,r.O$)(t),(0,r.O$)(e)]}function l(){return(0,a.Z)(o).scale(249.5).clipAngle(90+r.Ho)}o.invert=(0,i.O)(r.ZR)},30378:function(t,e,n){"use strict";n.d(e,{T:function(){return o},Z:function(){return l}});var r=n(55350),i=n(93824),a=n(32427);function o(t,e){var n=(0,r.mC)(e),i=1+(0,r.mC)(t)*n;return[n*(0,r.O$)(t)/i,(0,r.O$)(e)/i]}function l(){return(0,a.Z)(o).scale(250).clipAngle(142)}o.invert=(0,i.O)(function(t){return 2*(0,r.z4)(t)})},17421:function(t,e,n){"use strict";n.d(e,{F:function(){return a},Z:function(){return o}});var r=n(55350),i=n(23007);function a(t,e){return[(0,r.cM)((0,r.OR)((r.ou+e)/2)),-t]}function o(){var t=(0,i.iW)(a),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)}a.invert=function(t,e){return[-e,2*(0,r.z4)((0,r.Qq)(t))-r.ou]}},51613:function(t,e,n){"use strict";n.d(e,{I:function(){return o},Z:function(){return u}});var r=n(44079),i=n(55350);function a(t,e){return[(0,i.Wn)(t)>i.pi?t+Math.round(-t/i.BZ)*i.BZ:t,e]}function o(t,e,n){return(t%=i.BZ)?e||n?(0,r.Z)(s(t),c(e,n)):s(t):e||n?c(e,n):a}function l(t){return function(e,n){return[(e+=t)>i.pi?e-i.BZ:e<-i.pi?e+i.BZ:e,n]}}function s(t){var e=l(t);return e.invert=l(-t),e}function c(t,e){var n=(0,i.mC)(t),r=(0,i.O$)(t),a=(0,i.mC)(e),o=(0,i.O$)(e);function l(t,e){var l=(0,i.mC)(e),s=(0,i.mC)(t)*l,c=(0,i.O$)(t)*l,u=(0,i.O$)(e),f=u*n+s*r;return[(0,i.fv)(c*a-f*o,s*n-u*r),(0,i.ZR)(f*a+c*o)]}return l.invert=function(t,e){var l=(0,i.mC)(e),s=(0,i.mC)(t)*l,c=(0,i.O$)(t)*l,u=(0,i.O$)(e),f=u*a-c*o;return[(0,i.fv)(c*a+u*o,s*n+f*r),(0,i.ZR)(f*n-s*r)]},l}function u(t){function e(e){return e=t(e[0]*i.uR,e[1]*i.uR),e[0]*=i.RW,e[1]*=i.RW,e}return t=o(t[0]*i.uR,t[1]*i.uR,t.length>2?t[2]*i.uR:0),e.invert=function(e){return e=t.invert(e[0]*i.uR,e[1]*i.uR),e[0]*=i.RW,e[1]*=i.RW,e},e}a.invert=a},23311:function(t,e,n){"use strict";function r(t,e){t&&a.hasOwnProperty(t.type)&&a[t.type](t,e)}n.d(e,{Z:function(){return s}});var i={Feature:function(t,e){r(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,i=-1,a=n.length;++i=0;)e+=n[r].value;else e=1;t.value=e}function i(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=o)):void 0===e&&(e=a);for(var n,r,i,l,u,f=new c(t),d=[f];n=d.pop();)if((i=e(n.data))&&(u=(i=Array.from(i)).length))for(n.children=i,l=u-1;l>=0;--l)d.push(r=i[l]=new c(i[l])),r.parent=n,r.depth=n.depth+1;return f.eachBefore(s)}function a(t){return t.children}function o(t){return Array.isArray(t)?t[1]:null}function l(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function s(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function c(t){this.data=t,this.depth=this.height=0,this.parent=null}n.d(e,{NB:function(){return c},le:function(){return s},ZP:function(){return i}}),c.prototype=i.prototype={constructor:c,count:function(){return this.eachAfter(r)},each:function(t,e){let n=-1;for(let r of this)t.call(e,r,++n,this);return this},eachAfter:function(t,e){for(var n,r,i,a=this,o=[a],l=[],s=-1;a=o.pop();)if(l.push(a),n=a.children)for(r=0,i=n.length;r=0;--r)a.push(n[r]);return this},find:function(t,e){let n=-1;for(let r of this)if(t.call(e,r,++n,this))return r},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)r.push(e=e.parent);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return i(this).eachBefore(l)},[Symbol.iterator]:function*(){var t,e,n,r,i=this,a=[i];do for(t=a.reverse(),a=[];i=t.pop();)if(yield i,e=i.children)for(n=0,r=e.length;n0&&n*n>r*r+i*i}function a(t,e){for(var n=0;n(o*=o)?(r=(c+o-i)/(2*c),a=Math.sqrt(Math.max(0,o/c-r*r)),n.x=t.x-r*l-a*s,n.y=t.y-r*s+a*l):(r=(c+i-o)/(2*c),a=Math.sqrt(Math.max(0,i/c-r*r)),n.x=e.x+r*l-a*s,n.y=e.y+r*s+a*l)):(n.x=e.x+n.r,n.y=e.y)}function c(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function u(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,a=(e.y*n.r+n.y*e.r)/r;return i*i+a*a}function f(t){this._=t,this.next=null,this.previous=null}n.d(e,{Z:function(){return g}});var d=n(76263),h=n(40588);function p(t){return Math.sqrt(t.value)}function g(){var t=null,e=1,n=1,r=h.G;function i(i){return i.x=e/2,i.y=n/2,t?i.eachBefore(m(t)).eachAfter(y(r,.5)).eachBefore(v(1)):i.eachBefore(m(p)).eachAfter(y(h.G,1)).eachAfter(y(r,i.r/Math.min(e,n))).eachBefore(v(Math.min(e,n)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=(0,d.j)(e),i):t},i.size=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:(0,h.Z)(+t),i):r},i}function m(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function y(t,e){return function(n){if(d=n.children){var d,h,p,g=d.length,m=t(n)*e||0;if(m)for(h=0;h1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(h>2))return e.r+n.r;s(n,e,d=t[2]),e=new f(e),n=new f(n),d=new f(d),e.next=d.previous=n,n.next=e.previous=d,d.next=n.previous=e;e:for(m=3;m0)throw Error("cycle");return s}return n.id=function(e){return arguments.length?(t=(0,r.C)(e),n):t},n.parentId=function(t){return arguments.length?(e=(0,r.C)(t),n):e},n}},81594:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(70569);function i(t,e){return t.parent===e.parent?1:2}function a(t){var e=t.children;return e?e[0]:t.t}function o(t){var e=t.children;return e?e[e.length-1]:t.t}function l(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function s(){var t=i,e=1,n=1,r=null;function s(i){var a=function(t){for(var e,n,r,i,a,o=new l(t,0),s=[o];e=s.pop();)if(r=e._.children)for(e.children=Array(a=r.length),i=a-1;i>=0;--i)s.push(n=e.children[i]=new l(r[i],i)),n.parent=e;return(o.parent=new l(null,0)).children=[o],o}(i);if(a.eachAfter(c),a.parent.m=-a.z,a.eachBefore(u),r)i.eachBefore(f);else{var o=i,s=i,d=i;i.eachBefore(function(t){t.xs.x&&(s=t),t.depth>d.depth&&(d=t)});var h=o===s?1:t(o,s)/2,p=h-o.x,g=e/(s.x+h+p),m=n/(d.depth||1);i.eachBefore(function(t){t.x=(t.x+p)*g,t.y=t.depth*m})}return i}function c(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,a=i.length;--a>=0;)e=i[a],e.z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var l=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-l):e.z=l}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,l,s,c=e,u=e,f=n,d=c.parent.children[0],h=c.m,p=u.m,g=f.m,m=d.m;f=o(f),c=a(c),f&&c;)d=a(d),(u=o(u)).a=e,(s=f.z+g-c.z-h+t(f._,c._))>0&&(function(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}((i=f,l=r,i.a.parent===e.parent?i.a:l),e,s),h+=s,p+=s),g+=f.m,h+=c.m,m+=d.m,p+=u.m;f&&!o(u)&&(u.t=f,u.m+=g-p),c&&!a(d)&&(d.t=c,d.m+=h-m,r=e)}return r}(e,i,e.parent.A||r[0])}function u(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function f(t){t.x*=e,t.y=t.depth*n}return s.separation=function(e){return arguments.length?(t=e,s):t},s.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],s):r?null:[e,n]},s.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],s):r?[e,n]:null},s}l.prototype=Object.create(r.NB.prototype)},70239:function(t,e,n){"use strict";function r(t,e,n,r,i){var a,o,l=t.children,s=l.length,c=Array(s+1);for(c[0]=o=a=0;a=n-1){var u=l[e];u.x0=i,u.y0=a,u.x1=o,u.y1=s;return}for(var f=c[e],d=r/2+f,h=e+1,p=n-1;h>>1;c[g]s-a){var v=r?(i*y+o*m)/r:o;t(e,h,m,i,a,v,s),t(h,n,y,v,a,o,s)}else{var b=r?(a*y+s*m)/r:s;t(e,h,m,i,a,o,b),t(h,n,y,i,b,o,s)}}(0,s,t.value,e,n,r,i)}n.d(e,{Z:function(){return r}})},36849:function(t,e,n){"use strict";function r(t,e,n,r,i){for(var a,o=t.children,l=-1,s=o.length,c=t.value&&(r-e)/t.value;++l1?e:1)},n}(a.Sk)},8080:function(t,e,n){"use strict";function r(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}n.d(e,{Z:function(){return r}})},71831:function(t,e,n){"use strict";function r(t,e,n,r,i){for(var a,o=t.children,l=-1,s=o.length,c=t.value&&(i-n)/t.value;++lp&&(p=c),(g=Math.max(p/(v=d*d*y),v/h))>m){d-=c;break}m=g}b.push(s={value:d,dice:u1?e:1)},n}(a)},11108:function(t,e){"use strict";let n=Math.PI,r=2*n,i=r-1e-6;function a(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function o(){return new a}a.prototype=o.prototype={constructor:a,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,a){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(t,e,r,i,a){t=+t,e=+e,r=+r,i=+i,a=+a;var o=this._x1,l=this._y1,s=r-t,c=i-e,u=o-t,f=l-e,d=u*u+f*f;if(a<0)throw Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(d>1e-6){if(Math.abs(f*s-c*u)>1e-6&&a){var h=r-o,p=i-l,g=s*s+c*c,m=Math.sqrt(g),y=Math.sqrt(d),v=a*Math.tan((n-Math.acos((g+d-(h*h+p*p))/(2*m*y)))/2),b=v/y,x=v/m;Math.abs(b-1)>1e-6&&(this._+="L"+(t+b*u)+","+(e+b*f)),this._+="A"+a+","+a+",0,0,"+ +(f*h>u*p)+","+(this._x1=t+x*s)+","+(this._y1=e+x*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e)}},arc:function(t,e,a,o,l,s){t=+t,e=+e,a=+a,s=!!s;var c=a*Math.cos(o),u=a*Math.sin(o),f=t+c,d=e+u,h=1^s,p=s?o-l:l-o;if(a<0)throw Error("negative radius: "+a);null===this._x1?this._+="M"+f+","+d:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-d)>1e-6)&&(this._+="L"+f+","+d),a&&(p<0&&(p=p%r+r),p>i?this._+="A"+a+","+a+",0,1,"+h+","+(t-c)+","+(e-u)+"A"+a+","+a+",0,1,"+h+","+(this._x1=f)+","+(this._y1=d):p>1e-6&&(this._+="A"+a+","+a+",0,"+ +(p>=n)+","+h+","+(this._x1=t+a*Math.cos(l))+","+(this._y1=e+a*Math.sin(l))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},e.Z=o},63488:function(t,e,n){"use strict";function r(t){for(var e=t.length/6|0,n=Array(e),r=0;r()=>t;function y(t,e){return function(n){return t+n*e}}function v(t,e){var n=e-t;return n?y(t,n):m(isNaN(t)?e:t)}function b(t){return function(e){var n,r,i=e.length,a=Array(i),o=Array(i),l=Array(i);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),i=t[r],a=t[r+1],o=r>0?t[r-1]:2*i-a,l=rx(t[t.length-1]),w=[,,,].concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(r),_=O(w),k=[,,,].concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(r),C=O(k),j=[,,,].concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(r),M=O(j),S=[,,,].concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(r),A=O(S),E=[,,,].concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(r),P=O(E),R=[,,,].concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(r),Z=O(R),T=[,,,].concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(r),L=O(T),B=[,,,].concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(r),I=O(B),D=[,,,].concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(r),N=O(D),z=[,,,].concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(r),F=O(z),$=[,,,].concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(r),W=O($),H=[,,,].concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(r),G=O(H),q=[,,,].concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(r),Y=O(q),V=[,,,].concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(r),U=O(V),Q=[,,,].concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(r),X=O(Q),K=[,,,].concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(r),J=O(K),tt=[,,,].concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(r),te=O(tt),tn=[,,,].concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(r),tr=O(tn),ti=[,,,].concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(r),ta=O(ti),to=[,,,].concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(r),tl=O(to),ts=[,,,].concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(r),tc=O(ts),tu=[,,,].concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(r),tf=O(tu),td=[,,,].concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(r),th=O(td),tp=[,,,].concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(r),tg=O(tp),tm=[,,,].concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(r),ty=O(tm),tv=[,,,].concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(r),tb=O(tv),tx=[,,,].concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(r),tO=O(tx);function tw(t){return"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-(t=Math.max(0,Math.min(1,t)))*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"}var t_=n(44087);let tk=Math.PI/180,tC=180/Math.PI;var tj=-1.78277*.29227-.1347134789;function tM(t,e,n,r){return 1==arguments.length?function(t){if(t instanceof tS)return new tS(t.h,t.s,t.l,t.opacity);t instanceof p.Ss||(t=(0,p.SU)(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(tj*r+-1.7884503806*e-3.5172982438*n)/(tj+-1.7884503806-3.5172982438),a=r-i,o=-((1.97294*(n-i)- -.29227*a)/.90649),l=Math.sqrt(o*o+a*a)/(1.97294*i*(1-i)),s=l?Math.atan2(o,a)*tC-120:NaN;return new tS(s<0?s+360:s,l,i,t.opacity)}(t):new tS(t,e,n,null==r?1:r)}function tS(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function tA(t){return function e(n){function r(e,r){var i=t((e=tM(e)).h,(r=tM(r)).h),a=v(e.s,r.s),o=v(e.l,r.l),l=v(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=a(t),e.l=o(Math.pow(t,n)),e.opacity=l(t),e+""}}return n=+n,r.gamma=e,r}(1)}(0,t_.Z)(tS,tM,(0,t_.l)(p.Il,{brighter:function(t){return t=null==t?p.J5:Math.pow(p.J5,t),new tS(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?p.xV:Math.pow(p.xV,t),new tS(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*tk,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new p.Ss(255*(e+n*(-.14861*r+1.78277*i)),255*(e+n*(-.29227*r+-.90649*i)),255*(e+n*(1.97294*r)),this.opacity)}})),tA(function(t,e){var n=e-t;return n?y(t,n>180||n<-180?n-360*Math.round(n/360):n):m(isNaN(t)?e:t)});var tE=tA(v),tP=tE(tM(300,.5,0),tM(-240,.5,1)),tR=tE(tM(-100,.75,.35),tM(80,1.5,.8)),tZ=tE(tM(260,.75,.35),tM(80,1.5,.8)),tT=tM();function tL(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return tT.h=360*t-100,tT.s=1.5-1.5*e,tT.l=.8-.9*e,tT+""}var tB=(0,p.B8)(),tI=Math.PI/3,tD=2*Math.PI/3;function tN(t){var e;return t=(.5-t)*Math.PI,tB.r=255*(e=Math.sin(t))*e,tB.g=255*(e=Math.sin(t+tI))*e,tB.b=255*(e=Math.sin(t+tD))*e,tB+""}function tz(t){return"rgb("+Math.max(0,Math.min(255,Math.round(34.61+(t=Math.max(0,Math.min(1,t)))*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"}function tF(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}var t$=tF(r("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),tW=tF(r("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),tH=tF(r("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),tG=tF(r("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},10233:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r=n(11108),i=n(93072),a=n(44915);function o(t){return t.innerRadius}function l(t){return t.outerRadius}function s(t){return t.startAngle}function c(t){return t.endAngle}function u(t){return t&&t.padAngle}function f(t,e,n,r,i,o,l){var s=t-n,c=e-r,u=(l?o:-o)/(0,a._b)(s*s+c*c),f=u*c,d=-u*s,h=t+f,p=e+d,g=n+f,m=r+d,y=(h+g)/2,v=(p+m)/2,b=g-h,x=m-p,O=b*b+x*x,w=i-o,_=h*m-g*p,k=(x<0?-1:1)*(0,a._b)((0,a.Fp)(0,w*w*O-_*_)),C=(_*x-b*k)/O,j=(-_*b-x*k)/O,M=(_*x+b*k)/O,S=(-_*b+x*k)/O,A=C-y,E=j-v,P=M-y,R=S-v;return A*A+E*E>P*P+R*R&&(C=M,j=S),{cx:C,cy:j,x01:-f,y01:-d,x11:C*(i/w-1),y11:j*(i/w-1)}}function d(){var t=o,e=l,n=(0,i.Z)(0),d=null,h=s,p=c,g=u,m=null;function y(){var i,o,l=+t.apply(this,arguments),s=+e.apply(this,arguments),c=h.apply(this,arguments)-a.ou,u=p.apply(this,arguments)-a.ou,y=(0,a.Wn)(u-c),v=u>c;if(m||(m=i=(0,r.Z)()),sa.Ho){if(y>a.BZ-a.Ho)m.moveTo(s*(0,a.mC)(c),s*(0,a.O$)(c)),m.arc(0,0,s,c,u,!v),l>a.Ho&&(m.moveTo(l*(0,a.mC)(u),l*(0,a.O$)(u)),m.arc(0,0,l,u,c,v));else{var b,x,O=c,w=u,_=c,k=u,C=y,j=y,M=g.apply(this,arguments)/2,S=M>a.Ho&&(d?+d.apply(this,arguments):(0,a._b)(l*l+s*s)),A=(0,a.VV)((0,a.Wn)(s-l)/2,+n.apply(this,arguments)),E=A,P=A;if(S>a.Ho){var R=(0,a.ZR)(S/l*(0,a.O$)(M)),Z=(0,a.ZR)(S/s*(0,a.O$)(M));(C-=2*R)>a.Ho?(R*=v?1:-1,_+=R,k-=R):(C=0,_=k=(c+u)/2),(j-=2*Z)>a.Ho?(Z*=v?1:-1,O+=Z,w-=Z):(j=0,O=w=(c+u)/2)}var T=s*(0,a.mC)(O),L=s*(0,a.O$)(O),B=l*(0,a.mC)(k),I=l*(0,a.O$)(k);if(A>a.Ho){var D,N=s*(0,a.mC)(w),z=s*(0,a.O$)(w),F=l*(0,a.mC)(_),$=l*(0,a.O$)(_);if(ya.Ho?P>a.Ho?(b=f(F,$,T,L,s,P,v),x=f(N,z,B,I,s,P,v),m.moveTo(b.cx+b.x01,b.cy+b.y01),Pa.Ho&&C>a.Ho?E>a.Ho?(b=f(B,I,N,z,l,-E,v),x=f(T,L,F,$,l,-E,v),m.lineTo(b.cx+b.x01,b.cy+b.y01),E=l;--s)h.point(v[s],b[s]);h.lineEnd(),h.areaEnd()}}y&&(v[o]=+t(p,o,a),b[o]=+e(p,o,a),h.point(c?+c(p,o,a):v[o],n?+n(p,o,a):b[o]))}if(g)return h=null,g+""||null}function g(){return(0,l.Z)().defined(u).curve(d).context(f)}return t="function"==typeof t?t:void 0===t?s.x:(0,a.Z)(+t),e="function"==typeof e?e:void 0===e?(0,a.Z)(0):(0,a.Z)(+e),n="function"==typeof n?n:void 0===n?s.y:(0,a.Z)(+n),p.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,a.Z)(+e),c=null,p):t},p.x0=function(e){return arguments.length?(t="function"==typeof e?e:(0,a.Z)(+e),p):t},p.x1=function(t){return arguments.length?(c=null==t?null:"function"==typeof t?t:(0,a.Z)(+t),p):c},p.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,a.Z)(+t),n=null,p):e},p.y0=function(t){return arguments.length?(e="function"==typeof t?t:(0,a.Z)(+t),p):e},p.y1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:(0,a.Z)(+t),p):n},p.lineX0=p.lineY0=function(){return g().x(t).y(e)},p.lineY1=function(){return g().x(t).y(n)},p.lineX1=function(){return g().x(c).y(e)},p.defined=function(t){return arguments.length?(u="function"==typeof t?t:(0,a.Z)(!!t),p):u},p.curve=function(t){return arguments.length?(d=t,null!=f&&(h=d(f)),p):d},p.context=function(t){return arguments.length?(null==t?f=h=null:h=d(f=t),p):f},p}},53253:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(45317),i=n(37633),a=n(73671);function o(){var t=(0,i.Z)().curve(r.j),e=t.curve,n=t.lineX0,o=t.lineX1,l=t.lineY0,s=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return(0,a.X)(n())},delete t.lineX0,t.lineEndAngle=function(){return(0,a.X)(o())},delete t.lineX1,t.lineInnerRadius=function(){return(0,a.X)(l())},delete t.lineY0,t.lineOuterRadius=function(){return(0,a.X)(s())},delete t.lineY1,t.curve=function(t){return arguments.length?e((0,r.Z)(t)):e()._curve},t}},5742:function(t,e,n){"use strict";function r(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}n.d(e,{Z:function(){return r}}),Array.prototype.slice},93072:function(t,e,n){"use strict";function r(t){return function(){return t}}n.d(e,{Z:function(){return r}})},43683:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r=n(33046);function i(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function a(t,e){this._context=t,this._k=(1-e)/6}function o(t,e){this._context=t,this._k=(1-e)/6}a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:i(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:i(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new a(t,e)}return n.tension=function(e){return t(+e)},n}(0),o.prototype={areaStart:r.Z,areaEnd:r.Z,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:i(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new o(t,e)}return n.tension=function(e){return t(+e)},n}(0);var l=n(44915);function s(t,e,n){var r=t._x1,i=t._y1,a=t._x2,o=t._y2;if(t._l01_a>l.Ho){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>l.Ho){var u=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*u+t._x1*t._l23_2a-e*t._l12_2a)/f,o=(o*u+t._y1*t._l23_2a-n*t._l12_2a)/f}t._context.bezierCurveTo(r,i,a,o,t._x2,t._y2)}function c(t,e){this._context=t,this._alpha=e}function u(t,e){this._context=t,this._alpha=e}c.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:s(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return e?new c(t,e):new a(t,0)}return n.alpha=function(e){return t(+e)},n}(.5),u.prototype={areaStart:r.Z,areaEnd:r.Z,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:s(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var f=function t(e){function n(t){return e?new u(t,e):new o(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)},18143:function(t,e,n){"use strict";function r(t){this._context=t}function i(t){return new r(t)}n.d(e,{Z:function(){return i}}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}}},57481:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(33046);function i(t){this._context=t}function a(t){return new i(t)}i.prototype={areaStart:r.Z,areaEnd:r.Z,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}}},65165:function(t,e,n){"use strict";function r(t,e,n){var r=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(r||i<0&&-0),o=(n-t._y1)/(i||r<0&&-0);return((a<0?-1:1)+(o<0?-1:1))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs((a*i+o*r)/(r+i)))||0}function i(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function a(t,e,n){var r=t._x0,i=t._y0,a=t._x1,o=t._y1,l=(a-r)/3;t._context.bezierCurveTo(r+l,i+l*e,a-l,o-l*n,a,o)}function o(t){this._context=t}function l(t){this._context=new s(t)}function s(t){this._context=t}function c(t){return new o(t)}function u(t){return new l(t)}n.d(e,{Z:function(){return c},s:function(){return u}}),o.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:a(this,this._t0,i(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,a(this,i(this,n=r(this,t,e)),n);break;default:a(this,this._t0,n=r(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(l.prototype=Object.create(o.prototype)).point=function(t,e){o.prototype.point.call(this,e,t)},s.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,a){this._context.bezierCurveTo(e,t,r,n,a,i)}}},45317:function(t,e,n){"use strict";n.d(e,{Z:function(){return a},j:function(){return r}});var r=a(n(18143).Z);function i(t){this._curve=t}function a(t){function e(e){return new i(t(e))}return e._curve=t,e}i.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),-(e*Math.cos(t)))}}},77059:function(t,e,n){"use strict";function r(t,e){this._context=t,this._t=e}function i(t){return new r(t,.5)}function a(t){return new r(t,0)}function o(t){return new r(t,1)}n.d(e,{RN:function(){return a},ZP:function(){return i},cD:function(){return o}}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}}},25049:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(11108),i=n(5742),a=n(93072),o=n(18143),l=n(78260);function s(t,e){var n=(0,a.Z)(!0),s=null,c=o.Z,u=null;function f(a){var o,l,f,d=(a=(0,i.Z)(a)).length,h=!1;for(null==s&&(u=c(f=(0,r.Z)())),o=0;o<=d;++o)!(o1?0:t<-1?f:Math.acos(t)}function g(t){return t>=1?d:t<=-1?-d:Math.asin(t)}},33046:function(t,e,n){"use strict";function r(){}n.d(e,{Z:function(){return r}})},78260:function(t,e,n){"use strict";function r(t){return t[0]}function i(t){return t[1]}n.d(e,{x:function(){return r},y:function(){return i}})},69916:function(t,e){!function(t){"use strict";function e(t){for(var e=Array(t),n=0;nc+l*o*u||f>=g)p=o;else{if(Math.abs(h)<=-s*u)return o;h*(p-d)>=0&&(p=d),d=o,g=f}return 0}o=o||1,l=l||1e-6,s=s||.1;for(var m=0;m<10;++m){if(a(i.x,1,r.x,o,e),f=i.fx=t(i.x,i.fxprime),h=n(i.fxprime,e),f>c+l*o*u||m&&f>=d)return g(p,o,d);if(Math.abs(h)<=-s*u)break;if(h>=0)return g(o,p,f);d=f,p=o,o*=2}return o}t.bisect=function(t,e,n,r){var i=(r=r||{}).maxIterations||100,a=r.tolerance||1e-10,o=t(e),l=t(n),s=n-e;if(o*l>0)throw"Initial bisect points must have opposite signs";if(0===o)return e;if(0===l)return n;for(var c=0;c=0&&(e=u),Math.abs(s)=g[p-1].fx){var S=!1;if(O.fx>M.fx?(a(w,1+d,x,-d,M),w.fx=t(w),w.fx=1)break;for(m=1;m=r(f.fxprime))break}return l.history&&l.history.push({x:f.x.slice(),fx:f.fx,fxprime:f.fxprime.slice(),alpha:p}),f},t.gradientDescent=function(t,e,n){for(var i=(n=n||{}).maxIterations||100*e.length,o=n.learnRate||.001,l={x:e.slice(),fx:0,fxprime:e.slice()},s=0;s=r(l.fxprime)));++s);return l},t.gradientDescentLineSearch=function(t,e,n){n=n||{};var a,l={x:e.slice(),fx:0,fxprime:e.slice()},s={x:e.slice(),fx:0,fxprime:e.slice()},c=n.maxIterations||100*e.length,u=n.learnRate||1,f=e.slice(),d=n.c1||.001,h=n.c2||.1,p=[];if(n.history){var g=t;t=function(t,e){return p.push(t.slice()),g(t,e)}}l.fx=t(l.x,l.fxprime);for(var m=0;mr(l.fxprime)));++m);return l},t.zeros=e,t.zerosM=function(t,n){return e(t).map(function(){return e(n)})},t.norm2=r,t.weightedSum=a,t.scale=i}(e)},8679:function(t,e,n){"use strict";var r=n(21296),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(t){return r.isMemo(t)?o:l[t.$$typeof]||i}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=o;var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(p){var i=h(n);i&&i!==p&&t(e,i,r)}var o=u(n);f&&(o=o.concat(f(n)));for(var l=s(e),g=s(n),m=0;m2&&void 0!==arguments[2]?arguments[2]:5,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(!(a>=r)){for(let o of Object.keys(n)){let l=n[o];(0,i.Z)(l)&&(0,i.Z)(e[o])?t(e[o],l,r,a+1):e[o]=l}return e}}},qC:function(){return o},ri:function(){return f},vU:function(){return c},yR:function(){return a}});var r=n(73576),i=n(83845);function a(t){return t}function o(t){return t.reduce((t,e)=>function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;an=>{var r,i,a,o;return r=this,i=void 0,a=void 0,o=function*(){let r=yield t(n);return e(r)},new(a||(a=Promise))(function(t,e){function n(t){try{s(o.next(t))}catch(t){e(t)}}function l(t){try{s(o.throw(t))}catch(t){e(t)}}function s(e){var r;e.done?t(e.value):((r=e.value)instanceof a?r:new a(function(t){t(r)})).then(n,l)}s((o=o.apply(r,i||[])).next())})},a)}function s(t){return t.replace(/( |^)[a-z]/g,t=>t.toUpperCase())}function c(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";throw Error(t)}function u(t,e){let{attributes:n}=e,r=new Set(["id","className"]);for(let[e,i]of Object.entries(n))r.has(e)||t.attr(e,i)}function f(t){return null!=t&&!Number.isNaN(t)}function d(t){let e=new Map;return n=>{if(e.has(n))return e.get(n);let r=t(n);return e.set(n,r),r}}function h(t,e){let{transform:n}=t.style;t.style.transform="".concat("none"===n||void 0===n?"":n," ").concat(e).trimStart()}function p(t,e){return g(t,e)||{}}function g(t,e){let n=Object.entries(t||{}).filter(t=>{let[n]=t;return n.startsWith(e)}).map(t=>{let[n,i]=t;return[(0,r.Z)(n.replace(e,"").trim()),i]}).filter(t=>{let[e]=t;return!!e});return 0===n.length?null:Object.fromEntries(n)}function m(t,e){return Object.fromEntries(Object.entries(t).filter(t=>{let[n]=t;return e.find(t=>n.startsWith(t))}))}function y(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r{let[e]=t;return n.every(t=>!e.startsWith(t))}))}function v(t,e){if(void 0===t)return null;if("number"==typeof t)return t;let n=+t.replace("%","");return Number.isNaN(n)?null:n/100*e}function b(t){return"object"==typeof t&&!(t instanceof Date)&&null!==t&&!Array.isArray(t)}function x(t){return null===t||!1===t}},80866:function(t,e,n){"use strict";n.d(e,{F:function(){return o},Y:function(){return l}});var r=n(1242),i=n(44022),a=n(39513);function o(t){return new l([t],null,t,t.ownerDocument)}class l{selectAll(t){let e="string"==typeof t?this._parent.querySelectorAll(t):t;return new l(e,null,this._elements[0],this._document)}selectFacetAll(t){let e="string"==typeof t?this._parent.querySelectorAll(t):t;return new l(this._elements,null,this._parent,this._document,void 0,void 0,e)}select(t){let e="string"==typeof t?this._parent.querySelectorAll(t)[0]||null:t;return new l([e],null,e,this._document)}append(t){let e="function"==typeof t?t:()=>this.createElement(t),n=[];if(null!==this._data){for(let t=0;t1&&void 0!==arguments[1]?arguments[1]:t=>t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>null,r=[],a=[],o=new Set(this._elements),s=[],c=new Set,u=new Map(this._elements.map((t,n)=>[e(t.__data__,n),t])),f=new Map(this._facetElements.map((t,n)=>[e(t.__data__,n),t])),d=(0,i.ZP)(this._elements,t=>n(t.__data__));for(let i=0;i0&&void 0!==arguments[0]?arguments[0]:t=>t,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t=>t.remove(),r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t=>t,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:t=>t.remove(),a=t(this._enter),o=e(this._update),l=n(this._exit),s=r(this._merge),c=i(this._split);return o.merge(a).merge(l).merge(s).merge(c)}remove(){for(let t=0;tt.finished)).then(()=>{let e=this._elements[t];e.remove()})}else{let e=this._elements[t];e.remove()}}return new l([],null,this._parent,this._document,void 0,this._transitions)}each(t){for(let e=0;ee:e;return this.each(function(r,i,a){void 0!==e&&(a[t]=n(r,i,a))})}style(t,e){let n="function"!=typeof e?()=>e:e;return this.each(function(r,i,a){void 0!==e&&(a.style[t]=n(r,i,a))})}transition(t){let e="function"!=typeof t?()=>t:t,{_transitions:n}=this;return this.each(function(t,r,i){n[r]=e(t,r,i)})}on(t,e){return this.each(function(n,r,i){i.addEventListener(t,e)}),this}call(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r[["cartesian"]];c.props={};let u=function(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),n);return Object.assign(Object.assign({},r),(t=r.startAngle,e=r.endAngle,t%=2*Math.PI,e%=2*Math.PI,t<0&&(t=2*Math.PI+t),e<0&&(e=2*Math.PI+e),t>=e&&(e+=2*Math.PI),{startAngle:t,endAngle:e}))},f=t=>{let{startAngle:e,endAngle:n,innerRadius:r,outerRadius:i}=u(t);return[["translate",0,.5],["reflect.y"],["translate",0,-.5],["polar",e,n,r,i]]};f.props={};let d=()=>[["transpose"],["translate",.5,.5],["reflect.x"],["translate",-.5,-.5]];d.props={transform:!0};let h=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),t)},p=t=>{let{startAngle:e,endAngle:n,innerRadius:r,outerRadius:i}=h(t);return[...d(),...f({startAngle:e,endAngle:n,innerRadius:r,outerRadius:i})]};p.props={};let g=()=>[["parallel",0,1,0,1]];g.props={};let m=t=>{let{focusX:e=0,focusY:n=0,distortionX:r=2,distortionY:i=2,visual:a=!1}=t;return[["fisheye",e,n,r,i,a]]};m.props={transform:!0};let y=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),t)},v=t=>{let{startAngle:e,endAngle:n,innerRadius:r,outerRadius:i}=y(t);return[["transpose"],["translate",.5,.5],["reflect"],["translate",-.5,-.5],...f({startAngle:e,endAngle:n,innerRadius:r,outerRadius:i})]};v.props={};let b=t=>{let{startAngle:e=-Math.PI/2,endAngle:n=3*Math.PI/2,innerRadius:r=0,outerRadius:i=1}=t;return[...g(),...f({startAngle:e,endAngle:n,innerRadius:r,outerRadius:i})]};b.props={};let x=t=>{let{value:e}=t;return t=>t.map(()=>e)};x.props={};let O=t=>{let{value:e}=t;return t=>t.map(t=>t[e])};O.props={};let w=t=>{let{value:e}=t;return t=>t.map(e)};w.props={};let _=t=>{let{value:e}=t;return()=>e};_.props={};var k=n(83787);function C(t,e){if(null!==t)return{type:"column",value:t,field:e}}function j(t,e){let n=C(t,e);return Object.assign(Object.assign({},n),{inferred:!0})}function M(t,e){if(null!==t)return{type:"column",value:t,field:e,visual:!0}}function S(t,e){let n=[];for(let r of t)n[r]=e;return n}function A(t,e){let n=t[e];if(!n)return[null,null];let{value:r,field:i=null}=n;return[r,i]}function E(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r(t,e)=>{let{encode:n}=e,{y1:r}=n;return void 0!==r?[t,e]:[t,(0,k.Z)({},e,{encode:{y1:j(S(t,0))}})]};R.props={};let Z=()=>(t,e)=>{let{encode:n}=e,{x:r}=n;return void 0!==r?[t,e]:[t,(0,k.Z)({},e,{encode:{x:j(S(t,0))},scale:{x:{guide:null}}})]};Z.props={};var T=n(10233);function L(t){let{transformations:e}=t.getOptions(),n=e.map(t=>{let[e]=t;return e}).filter(t=>"transpose"===t);return n.length%2!=0}function B(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"polar"===e})}function I(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"reflect"===e})&&e.some(t=>{let[e]=t;return e.startsWith("transpose")})}function D(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"helix"===e})}function N(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"parallel"===e})}function z(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"fisheye"===e})}function F(t){return D(t)||B(t)}function $(t){let{transformations:e}=t.getOptions(),[,,,n,r]=e.find(t=>"polar"===t[0]);return[+n,+r]}function W(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{transformations:n}=t.getOptions(),[,r,i]=n.find(t=>"polar"===t[0]);return e?[180*+r/Math.PI,180*+i/Math.PI]:[r,i]}var H=n(80866);function G(t,e){let[n,r]=t,[i,a]=e;return[n-i,r-a]}function q(t,e){let[n,r]=t,[i,a]=e;return[n+i,r+a]}function Y(t,e){let[n,r]=t,[i,a]=e;return Math.sqrt(Math.pow(n-i,2)+Math.pow(r-a,2))}function V(t){let[e,n]=t;return Math.atan2(n,e)}function U(t){let[e,n]=t;return V([e,n])+Math.PI/2}function Q(t,e){let n=V(t),r=V(e);return n1&&void 0!==arguments[1]?arguments[1]:10;return"number"!=typeof t?t:1e-15>Math.abs(t)?t:parseFloat(t.toFixed(e))}var te=n(36380),tn=n(25897),tr=n(23865);function ti(t,e){return Object.entries(t).reduce((n,r)=>{let[i,a]=r;return n[i]=e(a,i,t),n},{})}function ta(t){return t.map((t,e)=>e)}function to(t){return t[t.length-1]}function tl(t,e){let n=[[],[]];return t.forEach(t=>{n[e(t)?0:1].push(t)}),n}function ts(t,e){for(let[n,r]of Object.entries(e))t.style(n,r)}function tc(t,e,n,r,i){let a=V(G(r,e))+Math.PI,o=V(G(r,n))+Math.PI;return t.arc(r[0],r[1],i,a,o,o-a<0),t}function tu(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"y",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"between",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o="y"===r||!0===r?n:e,l=ta(o),[s,c]=(0,tr.Z)(l,t=>o[t]),u=new te.b({domain:[s,c],range:[0,100]}),f=t=>(0,tn.Z)(o[t])&&!Number.isNaN(o[t])?u.map(o[t]):0,d={between:e=>"".concat(t[e]," ").concat(f(e),"%"),start:e=>0===e?"".concat(t[e]," ").concat(f(e),"%"):"".concat(t[e-1]," ").concat(f(e),"%, ").concat(t[e]," ").concat(f(e),"%"),end:e=>e===t.length-1?"".concat(t[e]," ").concat(f(e),"%"):"".concat(t[e]," ").concat(f(e),"%, ").concat(t[e+1]," ").concat(f(e),"%")},h=l.sort((t,e)=>f(t)-f(e)).map(d[i]||d.between).join(",");return"linear-gradient(".concat("y"===r||!0===r?a?180:90:a?90:0,"deg, ").concat(h,")")}function tf(t){let[e,n,r,i]=t;return[i,e,n,r]}function td(t,e,n){let[r,i,,a]=L(t)?tf(e):e,[o,l]=n,s=t.getCenter(),c=U(G(r,s)),u=U(G(i,s)),f=u===c&&o!==l?u+2*Math.PI:u;return{startAngle:c,endAngle:f-c>=0?f:2*Math.PI+f,innerRadius:Y(a,s),outerRadius:Y(r,s)}}function th(t){let{colorAttribute:e,opacityAttribute:n=e}=t;return"".concat(n,"Opacity")}function tp(t,e){if(!B(t))return"";let n=t.getCenter(),{transform:r}=e;return"translate(".concat(n[0],", ").concat(n[1],") ").concat(r||"")}function tg(t){if(1===t.length)return t[0];let[[e,n,r=0],[i,a,o=0]]=t;return[(e+i)/2,(n+a)/2,(r+o)/2]}var tm=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function ty(t,e,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},{inset:a=0,radius:o=0,insetLeft:l=a,insetTop:s=a,insetRight:c=a,insetBottom:u=a,radiusBottomLeft:f=o,radiusBottomRight:d=o,radiusTopLeft:h=o,radiusTopRight:p=o,minWidth:g=-1/0,maxWidth:m=1/0,minHeight:y=-1/0}=i,v=tm(i,["inset","radius","insetLeft","insetTop","insetRight","insetBottom","radiusBottomLeft","radiusBottomRight","radiusTopLeft","radiusTopRight","minWidth","maxWidth","minHeight"]);if(!B(r)&&!D(r)){let n=!!L(r),[i,,a]=n?tf(e):e,[o,b]=i,[x,O]=G(a,i),w=Math.abs(x),_=Math.abs(O),k=(x>0?o:o+x)+l,C=(O>0?b:b+O)+s,j=w-(l+c),M=_-(s+u),S=n?J(j,y,1/0):J(j,g,m),A=n?J(M,g,m):J(M,y,1/0),E=n?k:k-(S-j)/2,P=n?C-(A-M)/2:C-(A-M);return(0,H.F)(t.createElement("rect",{})).style("x",E).style("y",P).style("width",S).style("height",A).style("radius",[h,p,d,f]).call(ts,v).node()}let{y:b,y1:x}=n,O=r.getCenter(),w=td(r,e,[b,x]),_=(0,T.Z)().cornerRadius(o).padAngle(a*Math.PI/180);return(0,H.F)(t.createElement("path",{})).style("d",_(w)).style("transform","translate(".concat(O[0],", ").concat(O[1],")")).style("radius",o).style("inset",a).call(ts,v).node()}let tv=(t,e)=>{let{colorAttribute:n,opacityAttribute:r="fill",first:i=!0,last:a=!0}=t,o=tm(t,["colorAttribute","opacityAttribute","first","last"]),{coordinate:l,document:s}=e;return(e,r,c)=>{let{color:u,radius:f=0}=c,d=tm(c,["color","radius"]),h=d.lineWidth||1,{stroke:p,radius:g=f,radiusTopLeft:m=g,radiusTopRight:y=g,radiusBottomRight:v=g,radiusBottomLeft:b=g,innerRadius:x=0,innerRadiusTopLeft:O=x,innerRadiusTopRight:w=x,innerRadiusBottomRight:_=x,innerRadiusBottomLeft:k=x,lineWidth:C="stroke"===n||p?h:0,inset:j=0,insetLeft:M=j,insetRight:S=j,insetBottom:A=j,insetTop:E=j,minWidth:P,maxWidth:R,minHeight:Z}=o,T=tm(o,["stroke","radius","radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft","innerRadius","innerRadiusTopLeft","innerRadiusTopRight","innerRadiusBottomRight","innerRadiusBottomLeft","lineWidth","inset","insetLeft","insetRight","insetBottom","insetTop","minWidth","maxWidth","minHeight"]),{color:B=u,opacity:I}=r,D=[i?m:O,i?y:w,a?v:_,a?b:k],N=["radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft"];L(l)&&N.push(N.shift());let z=Object.assign(Object.assign({radius:g},Object.fromEntries(N.map((t,e)=>[t,D[e]]))),{inset:j,insetLeft:M,insetRight:S,insetBottom:A,insetTop:E,minWidth:P,maxWidth:R,minHeight:Z});return(0,H.F)(ty(s,e,r,l,z)).call(ts,d).style("fill","transparent").style(n,B).style(th(t),I).style("lineWidth",C).style("stroke",void 0===p?B:p).call(ts,T).node()}};tv.props={defaultEnterAnimation:"scaleInY",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let tb=(t,e)=>tv(Object.assign({colorAttribute:"fill"},t),e);tb.props=Object.assign(Object.assign({},tv.props),{defaultMarker:"square"});let tx=(t,e)=>tv(Object.assign({colorAttribute:"stroke"},t),e);tx.props=Object.assign(Object.assign({},tv.props),{defaultMarker:"hollowSquare"});var tO=n(25049),tw=n(57481),t_=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function tk(t,e,n){let[r,i,a,o]=t;if(L(n)){let t=[e?e[0][0]:i[0],i[1]],n=[e?e[3][0]:a[0],a[1]];return[r,t,n,o]}let l=[i[0],e?e[0][1]:i[1]],s=[a[0],e?e[3][1]:a[1]];return[r,l,s,o]}let tC=(t,e)=>{let{adjustPoints:n=tk}=t,r=t_(t,["adjustPoints"]),{coordinate:i,document:a}=e;return(t,e,o,l)=>{let{index:s}=e,{color:c}=o,u=t_(o,["color"]),f=l[s+1],d=n(t,f,i),h=!!L(i),[p,g,m,y]=h?tf(d):d,{color:v=c,opacity:b}=e,x=(0,tO.Z)().curve(tw.Z)([p,g,m,y]);return(0,H.F)(a.createElement("path",{})).call(ts,u).style("d",x).style("fill",v).style("fillOpacity",b).call(ts,r).node()}};function tj(t,e,n){let[r,i,a,o]=t;if(L(n)){let t=[e?e[0][0]:(i[0]+a[0])/2,i[1]],n=[e?e[3][0]:(i[0]+a[0])/2,a[1]];return[r,t,n,o]}let l=[i[0],e?e[0][1]:(i[1]+a[1])/2],s=[a[0],e?e[3][1]:(i[1]+a[1])/2];return[r,l,s,o]}tC.props={defaultMarker:"square"};let tM=(t,e)=>tC(Object.assign({adjustPoints:tj},t),e);tM.props={defaultMarker:"square"};var tS=n(39513);function tA(t){return Math.abs(t)>10?String(t):t.toString().padStart(2,"0")}let tE=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{channel:e="x"}=t;return(t,n)=>{let{encode:r}=n,{tooltip:i}=n;if((0,tS.Qp)(i))return[t,n];let{title:a}=i;if(void 0!==a)return[t,n];let o=Object.keys(r).filter(t=>t.startsWith(e)).filter(t=>!r[t].inferred).map(t=>A(r,t)).filter(t=>{let[e]=t;return e}).map(t=>t[0]);if(0===o.length)return[t,n];let l=[];for(let e of t)l[e]={value:o.map(t=>t[e]instanceof Date?function(t){let e=t.getFullYear(),n=tA(t.getMonth()+1),r=tA(t.getDate()),i="".concat(e,"-").concat(n,"-").concat(r),a=t.getHours(),o=t.getMinutes(),l=t.getSeconds();return a||o||l?"".concat(i," ").concat(tA(a),":").concat(tA(o),":").concat(tA(l)):i}(t[e]):t[e]).join(", ")};return[t,(0,k.Z)({},n,{tooltip:{title:l}})]}};tE.props={};let tP=t=>{let{channel:e}=t;return(t,n)=>{let{encode:r,tooltip:i}=n;if((0,tS.Qp)(i))return[t,n];let{items:a=[]}=i;if(!a||a.length>0)return[t,n];let o=Array.isArray(e)?e:[e],l=o.flatMap(t=>Object.keys(r).filter(e=>e.startsWith(t)).map(t=>{let{field:e,value:n,inferred:i=!1,aggregate:a}=r[t];return i?null:a&&n?{channel:t}:e?{field:e}:n?{channel:t}:null}).filter(t=>null!==t));return[t,(0,k.Z)({},n,{tooltip:{items:l}})]}};tP.props={};var tR=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let tZ=()=>(t,e)=>{let{encode:n}=e,{key:r}=n,i=tR(n,["key"]);if(void 0!==r)return[t,e];let a=Object.values(i).map(t=>{let{value:e}=t;return e}),o=t.map(t=>a.filter(Array.isArray).map(e=>e[t]).join("-"));return[t,(0,k.Z)({},e,{encode:{key:C(o)}})]};function tT(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{shapes:e}=t;return[{name:"color"},{name:"opacity"},{name:"shape",range:e},{name:"enterType"},{name:"enterDelay",scaleKey:"enter"},{name:"enterDuration",scaleKey:"enter"},{name:"enterEasing"},{name:"key",scale:"identity"},{name:"groupKey",scale:"identity"},{name:"label",scale:"identity"}]}function tL(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[...tT(t),{name:"title",scale:"identity"}]}function tB(){return[{type:tE,channel:"color"},{type:tP,channel:["x","y"]}]}function tI(){return[{type:tE,channel:"x"},{type:tP,channel:["y"]}]}function tD(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return tT(t)}function tN(){return[{type:tZ}]}function tz(t,e){return t.getBandWidth(t.invert(e))}function tF(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{x:r,y:i,series:a}=e,{x:o,y:l,series:s}=t,{style:{bandOffset:c=s?0:.5,bandOffsetX:u=c,bandOffsetY:f=c}={}}=n,d=!!(null==o?void 0:o.getBandWidth),h=!!(null==l?void 0:l.getBandWidth),p=!!(null==s?void 0:s.getBandWidth);return d||h?(t,e)=>{let n=d?tz(o,r[e]):0,c=h?tz(l,i[e]):0,g=p&&a?(tz(s,a[e])/2+ +a[e])*n:0,[m,y]=t;return[m+u*n+g,y+f*c]}:t=>t}function t$(t){return parseFloat(t)/100}function tW(t,e,n,r){let{x:i,y:a}=n,{innerWidth:o,innerHeight:l}=r.getOptions(),s=Array.from(t,t=>{let e=i[t],n=a[t],r="string"==typeof e?t$(e)*o:+e,s="string"==typeof n?t$(n)*l:+n;return[[r,s]]});return[t,s]}function tH(t){return"function"==typeof t?t:e=>e[t]}function tG(t,e){return Array.from(t,tH(e))}function tq(t,e){let{source:n=t=>t.source,target:r=t=>t.target,value:i=t=>t.value}=e,{links:a,nodes:o}=t,l=tG(a,n),s=tG(a,r),c=tG(a,i);return{links:a.map((t,e)=>({target:s[e],source:l[e],value:c[e]})),nodes:o||Array.from(new Set([...l,...s]),t=>({key:t}))}}function tY(t,e){return t.getBandWidth(t.invert(e))}tZ.props={};let tV={rect:tb,hollow:tx,funnel:tC,pyramid:tM},tU=()=>(t,e,n,r)=>{let{x:i,y:a,y1:o,series:l,size:s}=n,c=e.x,u=e.series,[f]=r.getSize(),d=s?s.map(t=>+t/f):null,h=s?(t,e,n)=>{let r=t+e/2,i=d[n];return[r-i/2,r+i/2]}:(t,e,n)=>[t,t+e],p=Array.from(t,t=>{let e=tY(c,i[t]),n=u?tY(u,null==l?void 0:l[t]):1,s=(+(null==l?void 0:l[t])||0)*e,f=+i[t]+s,[d,p]=h(f,e*n,t),g=+a[t],m=+o[t];return[[d,g],[p,g],[p,m],[d,m]].map(t=>r.map(t))});return[t,p]};tU.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:tV,channels:[...tL({shapes:Object.keys(tV)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size"}],preInference:[...tN(),{type:R},{type:Z}],postInference:[...tI()],interaction:{shareTooltip:!0}};let tQ={rect:tb,hollow:tx},tX=()=>(t,e,n,r)=>{let{x:i,x1:a,y:o,y1:l}=n,s=Array.from(t,t=>{let e=[+i[t],+o[t]],n=[+a[t],+o[t]],s=[+a[t],+l[t]],c=[+i[t],+l[t]];return[e,n,s,c].map(t=>r.map(t))});return[t,s]};tX.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:tQ,channels:[...tL({shapes:Object.keys(tQ)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...tN(),{type:R}],postInference:[...tI()],interaction:{shareTooltip:!0}};var tK=n(44022),tJ=n(18143),t0=n(73671),t1=n(1242);function t2(t){let e="function"==typeof t?t:t.render;return class extends t1.b_{connectedCallback(){this.draw()}attributeChangedCallback(){this.draw()}draw(){e(this)}}}var t5=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let t3=t2(t=>{let{d1:e,d2:n,style1:r,style2:i}=t.attributes,a=t.ownerDocument;(0,H.F)(t).maybeAppend("line",()=>a.createElement("path",{})).style("d",e).call(ts,r),(0,H.F)(t).maybeAppend("line1",()=>a.createElement("path",{})).style("d",n).call(ts,i)}),t4=(t,e)=>{let{curve:n,gradient:r=!1,gradientColor:i="between",defined:a=t=>!Number.isNaN(t)&&null!=t,connect:o=!1}=t,l=t5(t,["curve","gradient","gradientColor","defined","connect"]),{coordinate:s,document:c}=e;return(t,e,u)=>{let f;let{color:d,lineWidth:h}=u,p=t5(u,["color","lineWidth"]),{color:g=d,size:m=h,seriesColor:y,seriesX:v,seriesY:b}=e,x=tp(s,e),O=L(s),w=r&&y?tu(y,v,b,r,i,O):g,_=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},p),w&&{stroke:w}),m&&{lineWidth:m}),x&&{transform:x}),l);if(B(s)){let t=s.getCenter();f=e=>(0,t0.Z)().angle((n,r)=>U(G(e[r],t))).radius((n,r)=>Y(e[r],t)).defined(t=>{let[e,n]=t;return a(e)&&a(n)}).curve(n)(e)}else f=(0,tO.Z)().x(t=>t[0]).y(t=>t[1]).defined(t=>{let[e,n]=t;return a(e)&&a(n)}).curve(n);let[k,C]=function(t,e){let n=[],r=[],i=!1,a=null;for(let o of t)e(o[0])&&e(o[1])?(n.push(o),i&&(i=!1,r.push([a,o])),a=o):i=!0;return[n,r]}(t,a),j=(0,tS.hB)(_,"connect"),M=!!C.length;return M&&(!o||Object.keys(j).length)?M&&!o?(0,H.F)(c.createElement("path",{})).style("d",f(t)).call(ts,_).node():(0,H.F)(new t3).style("style1",Object.assign(Object.assign({},_),j)).style("style2",_).style("d1",C.map(f).join(",")).style("d2",f(t)).node():(0,H.F)(c.createElement("path",{})).style("d",f(k)||[]).call(ts,_).node()}};t4.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let t6=(t,e)=>{let{coordinate:n}=e;return function(){for(var r=arguments.length,i=Array(r),a=0;ae.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let et=(t,e)=>{let n=t9(t,[]),{coordinate:r}=e;return function(){for(var t=arguments.length,i=Array(t),a=0;at4(Object.assign({curve:ee.cD},t),e);en.props=Object.assign(Object.assign({},t4.props),{defaultMarker:"hv"});let er=(t,e)=>t4(Object.assign({curve:ee.RN},t),e);er.props=Object.assign(Object.assign({},t4.props),{defaultMarker:"vh"});let ei=(t,e)=>t4(Object.assign({curve:ee.ZP},t),e);ei.props=Object.assign(Object.assign({},t4.props),{defaultMarker:"hvh"});var ea=n(11108),eo=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let el=(t,e)=>{let{document:n}=e;return(e,r,i)=>{let{seriesSize:a,color:o}=r,{color:l}=i,s=eo(i,["color"]),c=(0,ea.Z)();for(let t=0;t(t,e)=>{let{style:n={},encode:r}=e,{series:i}=r,{gradient:a}=n;return!a||i?[t,e]:[t,(0,k.Z)({},e,{encode:{series:M(S(t,void 0))}})]};es.props={};let ec=()=>(t,e)=>{let{encode:n}=e,{series:r,color:i}=n;if(void 0!==r||void 0===i)return[t,e];let[a,o]=A(n,"color");return[t,(0,k.Z)({},e,{encode:{series:C(a,o)}})]};ec.props={};let eu={line:t6,smooth:et,hv:en,vh:er,hvh:ei,trail:el},ef=(t,e,n,r)=>{var i,a;let{series:o,x:l,y:s}=n,{x:c,y:u}=e;if(void 0===l||void 0===s)throw Error("Missing encode for x or y channel.");let f=o?Array.from((0,tK.ZP)(t,t=>o[t]).values()):[t],d=f.map(t=>t[0]).filter(t=>void 0!==t),h=((null===(i=null==c?void 0:c.getBandWidth)||void 0===i?void 0:i.call(c))||0)/2,p=((null===(a=null==u?void 0:u.getBandWidth)||void 0===a?void 0:a.call(u))||0)/2,g=Array.from(f,t=>t.map(t=>r.map([+l[t]+h,+s[t]+p])));return[d,g,f]},ed=(t,e,n,r)=>{let i=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("position")}).map(t=>{let[,e]=t;return e});if(0===i.length)throw Error("Missing encode for position channel.");let a=Array.from(t,t=>{let e=i.map(e=>+e[t]),n=r.map(e),a=[];for(let t=0;t(t,e,n,r)=>{let i=N(r)?ed:ef;return i(t,e,n,r)};eh.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:eu,channels:[...tL({shapes:Object.keys(eu)}),{name:"x"},{name:"y"},{name:"position",independent:!0},{name:"size"},{name:"series",scale:"band"}],preInference:[...tN(),{type:es},{type:ec}],postInference:[...tI(),{type:tE,channel:"color"},{type:tP,channel:["position"]}],interaction:{shareTooltip:!0,seriesTooltip:!0,crosshairs:!0}};var ep=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let eg=(t,e,n)=>[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e],["Z"]];eg.style=["fill"];let em=eg.bind(void 0);em.style=["stroke","lineWidth"];let ey=(t,e,n)=>[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]];ey.style=["fill"];let ev=ey.bind(void 0);ev.style=["fill"];let eb=ey.bind(void 0);eb.style=["stroke","lineWidth"];let ex=(t,e,n)=>{let r=.618*n;return[["M",t-r,e],["L",t,e-n],["L",t+r,e],["L",t,e+n],["Z"]]};ex.style=["fill"];let eO=ex.bind(void 0);eO.style=["stroke","lineWidth"];let ew=(t,e,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]};ew.style=["fill"];let e_=ew.bind(void 0);e_.style=["stroke","lineWidth"];let ek=(t,e,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]};ek.style=["fill"];let eC=ek.bind(void 0);eC.style=["stroke","lineWidth"];let ej=(t,e,n)=>{let r=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+r,e-n/2],["L",t+r,e+n/2],["L",t,e+n],["L",t-r,e+n/2],["L",t-r,e-n/2],["Z"]]};ej.style=["fill"];let eM=ej.bind(void 0);eM.style=["stroke","lineWidth"];let eS=(t,e,n)=>{let r=n-1.5;return[["M",t-n,e-r],["L",t+n,e+r],["L",t+n,e-r],["L",t-n,e+r],["Z"]]};eS.style=["fill"];let eA=eS.bind(void 0);eA.style=["stroke","lineWidth"];let eE=(t,e,n)=>[["M",t,e+n],["L",t,e-n]];eE.style=["stroke","lineWidth"];let eP=(t,e,n)=>[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]];eP.style=["stroke","lineWidth"];let eR=(t,e,n)=>[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]];eR.style=["stroke","lineWidth"];let eZ=(t,e,n)=>[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]];eZ.style=["stroke","lineWidth"];let eT=(t,e,n)=>[["M",t-n,e],["L",t+n,e]];eT.style=["stroke","lineWidth"];let eL=(t,e,n)=>[["M",t-n,e],["L",t+n,e]];eL.style=["stroke","lineWidth"];let eB=eL.bind(void 0);eB.style=["stroke","lineWidth"];let eI=(t,e,n)=>[["M",t-n,e],["A",n/2,n/2,0,1,1,t,e],["A",n/2,n/2,0,1,0,t+n,e]];eI.style=["stroke","lineWidth"];let eD=(t,e,n)=>[["M",t-n-1,e-2.5],["L",t,e-2.5],["L",t,e+2.5],["L",t+n+1,e+2.5]];eD.style=["stroke","lineWidth"];let eN=(t,e,n)=>[["M",t-n-1,e+2.5],["L",t,e+2.5],["L",t,e-2.5],["L",t+n+1,e-2.5]];eN.style=["stroke","lineWidth"];let ez=(t,e,n)=>[["M",t-(n+1),e+2.5],["L",t-n/2,e+2.5],["L",t-n/2,e-2.5],["L",t+n/2,e-2.5],["L",t+n/2,e+2.5],["L",t+n+1,e+2.5]];ez.style=["stroke","lineWidth"];let eF=(t,e,n)=>[["M",t-5,e+2.5],["L",t-5,e],["L",t,e],["L",t,e-3],["L",t,e+3],["L",t+6.5,e+3]];eF.style=["stroke","lineWidth"];let e$=new Map([["bowtie",eS],["cross",eP],["dash",eB],["diamond",ex],["dot",eL],["hexagon",ej],["hollowBowtie",eA],["hollowDiamond",eO],["hollowHexagon",eM],["hollowPoint",em],["hollowSquare",eb],["hollowTriangle",e_],["hollowTriangleDown",eC],["hv",eD],["hvh",ez],["hyphen",eT],["line",eE],["plus",eZ],["point",eg],["rect",ev],["smooth",eI],["square",ey],["tick",eR],["triangleDown",ek],["triangle",ew],["vh",eN],["vhv",eF]]);var eW=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function eH(t,e,n,r){if(1===e.length)return;let{size:i}=n;if("fixed"===t)return i;if("normal"===t||z(r)){let[[t,n],[r,i]]=e,a=Math.abs((r-t)/2),o=Math.abs((i-n)/2);return Math.max(0,(a+o)/2)}return i}let eG=(t,e)=>{let{colorAttribute:n,symbol:r,mode:i="auto"}=t,a=eW(t,["colorAttribute","symbol","mode"]),o=e$.get(r)||e$.get("point"),{coordinate:l,document:s}=e;return(e,r,c)=>{let{lineWidth:u,color:f}=c,d=a.stroke?u||1:u,{color:h=f,transform:p,opacity:g}=r,[m,y]=tg(e),v=eH(i,e,r,l),b=v||a.r||c.r;return(0,H.F)(s.createElement("path",{})).call(ts,c).style("fill","transparent").style("d",o(m,y,b)).style("lineWidth",d).style("transform",p).style("transformOrigin","".concat(m-b," ").concat(y-b)).style("stroke",h).style(th(t),g).style(n,h).call(ts,a).node()}};eG.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let eq=(t,e)=>eG(Object.assign({colorAttribute:"stroke",symbol:"point"},t),e);eq.props=Object.assign({defaultMarker:"hollowPoint"},eG.props);let eY=(t,e)=>eG(Object.assign({colorAttribute:"stroke",symbol:"diamond"},t),e);eY.props=Object.assign({defaultMarker:"hollowDiamond"},eG.props);let eV=(t,e)=>eG(Object.assign({colorAttribute:"stroke",symbol:"hexagon"},t),e);eV.props=Object.assign({defaultMarker:"hollowHexagon"},eG.props);let eU=(t,e)=>eG(Object.assign({colorAttribute:"stroke",symbol:"square"},t),e);eU.props=Object.assign({defaultMarker:"hollowSquare"},eG.props);let eQ=(t,e)=>eG(Object.assign({colorAttribute:"stroke",symbol:"triangle-down"},t),e);eQ.props=Object.assign({defaultMarker:"hollowTriangleDown"},eG.props);let eX=(t,e)=>eG(Object.assign({colorAttribute:"stroke",symbol:"triangle"},t),e);eX.props=Object.assign({defaultMarker:"hollowTriangle"},eG.props);let eK=(t,e)=>eG(Object.assign({colorAttribute:"stroke",symbol:"bowtie"},t),e);eK.props=Object.assign({defaultMarker:"hollowBowtie"},eG.props);var eJ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let e0=(t,e)=>{let{colorAttribute:n,mode:r="auto"}=t,i=eJ(t,["colorAttribute","mode"]),{coordinate:a,document:o}=e;return(e,l,s)=>{let{lineWidth:c,color:u}=s,f=i.stroke?c||1:c,{color:d=u,transform:h,opacity:p}=l,[g,m]=tg(e),y=eH(r,e,l,a),v=y||i.r||s.r;return(0,H.F)(o.createElement("circle",{})).call(ts,s).style("fill","transparent").style("cx",g).style("cy",m).style("r",v).style("lineWidth",f).style("transform",h).style("transformOrigin","".concat(g," ").concat(m)).style("stroke",d).style(th(t),p).style(n,d).call(ts,i).node()}},e1=(t,e)=>e0(Object.assign({colorAttribute:"fill"},t),e);e1.props={defaultMarker:"circle",defaultEnterAnimation:"fadeIn",defaultExitAnimation:"fadeOut"};let e2=(t,e)=>e0(Object.assign({colorAttribute:"stroke"},t),e);e2.props=Object.assign({defaultMarker:"hollowPoint"},e1.props);let e5=(t,e)=>eG(Object.assign({colorAttribute:"fill",symbol:"point"},t),e);e5.props=Object.assign({defaultMarker:"point"},eG.props);let e3=(t,e)=>eG(Object.assign({colorAttribute:"stroke",symbol:"plus"},t),e);e3.props=Object.assign({defaultMarker:"plus"},eG.props);let e4=(t,e)=>eG(Object.assign({colorAttribute:"fill",symbol:"diamond"},t),e);e4.props=Object.assign({defaultMarker:"diamond"},eG.props);let e6=(t,e)=>eG(Object.assign({colorAttribute:"fill",symbol:"square"},t),e);e6.props=Object.assign({defaultMarker:"square"},eG.props);let e8=(t,e)=>eG(Object.assign({colorAttribute:"fill",symbol:"triangle"},t),e);e8.props=Object.assign({defaultMarker:"triangle"},eG.props);let e7=(t,e)=>eG(Object.assign({colorAttribute:"fill",symbol:"hexagon"},t),e);e7.props=Object.assign({defaultMarker:"hexagon"},eG.props);let e9=(t,e)=>eG(Object.assign({colorAttribute:"stroke",symbol:"cross"},t),e);e9.props=Object.assign({defaultMarker:"cross"},eG.props);let nt=(t,e)=>eG(Object.assign({colorAttribute:"fill",symbol:"bowtie"},t),e);nt.props=Object.assign({defaultMarker:"bowtie"},eG.props);let ne=(t,e)=>eG(Object.assign({colorAttribute:"stroke",symbol:"hyphen"},t),e);ne.props=Object.assign({defaultMarker:"hyphen"},eG.props);let nn=(t,e)=>eG(Object.assign({colorAttribute:"stroke",symbol:"line"},t),e);nn.props=Object.assign({defaultMarker:"line"},eG.props);let nr=(t,e)=>eG(Object.assign({colorAttribute:"stroke",symbol:"tick"},t),e);nr.props=Object.assign({defaultMarker:"tick"},eG.props);let ni=(t,e)=>eG(Object.assign({colorAttribute:"fill",symbol:"triangle-down"},t),e);ni.props=Object.assign({defaultMarker:"triangleDown"},eG.props);let na=()=>(t,e)=>{let{encode:n}=e,{y:r}=n;return void 0!==r?[t,e]:[t,(0,k.Z)({},e,{encode:{y:j(S(t,0))},scale:{y:{guide:null}}})]};na.props={};let no=()=>(t,e)=>{let{encode:n}=e,{size:r}=n;return void 0!==r?[t,e]:[t,(0,k.Z)({},e,{encode:{size:M(S(t,3))}})]};no.props={};let nl={hollow:eq,hollowDiamond:eY,hollowHexagon:eV,hollowSquare:eU,hollowTriangleDown:eQ,hollowTriangle:eX,hollowBowtie:eK,hollowCircle:e2,point:e5,plus:e3,diamond:e4,square:e6,triangle:e8,hexagon:e7,cross:e9,bowtie:nt,hyphen:ne,line:nn,tick:nr,triangleDown:ni,circle:e1},ns=t=>(e,n,r,i)=>{let{x:a,y:o,x1:l,y1:s,size:c,dx:u,dy:f}=r,[d,h]=i.getSize(),p=tF(n,r,t),g=t=>{let e=+((null==u?void 0:u[t])||0),n=+((null==f?void 0:f[t])||0),r=l?(+a[t]+ +l[t])/2:+a[t],i=s?(+o[t]+ +s[t])/2:+o[t];return[r+e,i+n]},m=c?Array.from(e,t=>{let[e,n]=g(t),r=+c[t],a=r/d,o=r/h;return[i.map(p([e-a,n-o],t)),i.map(p([e+a,n+o],t))]}):Array.from(e,t=>[i.map(p(g(t),t))]);return[e,m]};ns.props={defaultShape:"hollow",defaultLabelShape:"label",composite:!1,shape:nl,channels:[...tL({shapes:Object.keys(nl)}),{name:"x",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size",quantitative:"sqrt"},{name:"dx",scale:"identity"},{name:"dy",scale:"identity"}],preInference:[...tN(),{type:Z},{type:na}],postInference:[{type:no},...tB()]};var nc=n(86224),nu=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let nf=(t,e,n)=>{let r=Y(t,e),i=Y(e,n),a=Y(n,t);return(Math.pow(r,2)+Math.pow(i,2)-Math.pow(a,2))/(2*r*i)},nd=t2(t=>{let e;let n=t.attributes,{className:r,class:i,transform:a,rotate:o,labelTransform:l,labelTransformOrigin:s,x:c,y:u,x0:f=c,y0:d=u,text:h,background:p,connector:g,startMarker:m,endMarker:y,coordCenter:v,innerHTML:b}=n,x=nu(n,["className","class","transform","rotate","labelTransform","labelTransformOrigin","x","y","x0","y0","text","background","connector","startMarker","endMarker","coordCenter","innerHTML"]);if(t.style.transform="translate(".concat(c,", ").concat(u,")"),[c,u,f,d].some(t=>!(0,tn.Z)(t))){t.children.forEach(t=>t.remove());return}let O=(0,tS.hB)(x,"background"),{padding:w}=O,_=nu(O,["padding"]),k=(0,tS.hB)(x,"connector"),{points:C=[]}=k,j=nu(k,["points"]),M=[[+f,+d],[+c,+u]];e=b?(0,H.F)(t).maybeAppend("html","html",r).style("zIndex",0).style("innerHTML",b).call(ts,Object.assign({transform:l,transformOrigin:s},x)).node():(0,H.F)(t).maybeAppend("text","text").style("zIndex",0).style("text",h).call(ts,Object.assign({textBaseline:"middle",transform:l,transformOrigin:s},x)).node();let S=(0,H.F)(t).maybeAppend("background","rect").style("zIndex",-1).call(ts,function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],[n=0,r=0,i=n,a=r]=e,o=t.parentNode,l=o.getEulerAngles();o.setEulerAngles(0);let{min:s,halfExtents:c}=t.getLocalBounds(),[u,f]=s,[d,h]=c;return o.setEulerAngles(l),{x:u-a,y:f-n,width:2*d+a+r,height:2*h+n+i}}(e,w)).call(ts,p?_:{}).node(),A=function(t,e,n,r){let[[i,a],[o,l]]=e,[s,c]=function(t){let{min:[e,n],max:[r,i]}=t.getLocalBounds(),a=0,o=0;return e>0&&(a=e),r<0&&(a=r),n>0&&(o=n),i<0&&(o=i),[a,o]}(t);if(i===o&&a===l)return(0,tO.Z)()([[0,0],[s,c]]);let u=[[i-o,a-l]].concat(n.length?n:[[0,0]]),f=[r[0]-o,r[1]-l],[d,h]=u;if(nf(f,d,h)>0){let e=(()=>{let{min:e,max:n}=t.getLocalBounds(),r=d[0]+(d[1]-f[1])*(d[1]-0)/(d[0]-f[0]);return n[0]{let{coordinate:n}=e;return(e,r,i)=>{let{color:a,text:o="",fontSize:l,rotate:s=0,transform:c=""}=r,u={text:String(o),stroke:a,fill:a,fontSize:l},[[f,d]]=e;return(0,H.F)(new nd).style("x",f).style("y",d).call(ts,i).style("transform","".concat(c,"rotate(").concat(+s,")")).style("coordCenter",n.getCenter()).call(ts,u).call(ts,t).node()}};nh.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var np=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let ng=t2(t=>{let e=t.attributes,{class:n,x:r,y:i,transform:a}=e,o=np(e,["class","x","y","transform"]),l=(0,tS.hB)(o,"marker"),{size:s=24}=l,c=()=>(function(t){let e=t/Math.sqrt(2),n=t*Math.sqrt(2),[r,i]=[-e,e-n],[a,o]=[0,0],[l,s]=[e,e-n];return[["M",r,i],["A",t,t,0,1,1,l,s],["L",a,o],["Z"]]})(s/2),u=(0,H.F)(t).maybeAppend("marker",()=>new nc.J({})).call(t=>t.node().update(Object.assign({symbol:c},l))).node(),[f,d]=function(t){let{min:e,max:n}=t.getLocalBounds();return[(e[0]+n[0])*.5,(e[1]+n[1])*.5]}(u);(0,H.F)(t).maybeAppend("text","text").style("x",f).style("y",d).call(ts,o)}),nm=(t,e)=>{let n=np(t,[]);return(t,e,r)=>{let{color:i}=r,a=np(r,["color"]),{color:o=i,text:l=""}=e,s={text:String(l),stroke:o,fill:o},[[c,u]]=t;return(0,H.F)(new ng).call(ts,a).style("transform","translate(".concat(c,",").concat(u,")")).call(ts,s).call(ts,n).node()}};nm.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let ny=(t,e)=>{let{coordinate:n}=e;return(e,r,i)=>{let{color:a,text:o="",fontSize:l,rotate:s=0,transform:c=""}=r,u={text:String(o),stroke:a,fill:a,fontSize:l,textAlign:"center",textBaseline:"middle"},[[f,d]]=e,h=(0,H.F)(new t1.xv).style("x",f).style("y",d).call(ts,i).style("transformOrigin","center center").style("transform","".concat(c,"rotate(").concat(s,"deg)")).style("coordCenter",n.getCenter()).call(ts,u).call(ts,t).node();return h}};ny.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nv=()=>(t,e)=>{let{data:n}=e;if(!Array.isArray(n)||n.some(P))return[t,e];let r=Array.isArray(n[0])?n:[n],i=r.map(t=>t[0]),a=r.map(t=>t[1]);return[t,(0,k.Z)({},e,{encode:{x:C(i),y:C(a)}})]};nv.props={};var nb=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let nx=()=>(t,e)=>{let{data:n,style:r={}}=e,i=nb(e,["data","style"]),{x:a,y:o}=r,l=nb(r,["x","y"]);if(void 0==a||void 0==o)return[t,e];let s=a||0,c=o||0;return[[0],(0,k.Z)({},i,{data:[0],cartesian:!0,encode:{x:C([s]),y:C([c])},scale:{x:{type:"identity",independent:!0,guide:null},y:{type:"identity",independent:!0,guide:null}},style:l})]};nx.props={};let nO={text:nh,badge:nm,tag:ny},nw=t=>{let{cartesian:e=!1}=t;return e?tW:(e,n,r,i)=>{let{x:a,y:o}=r,l=tF(n,r,t),s=Array.from(e,t=>{let e=[+a[t],+o[t]];return[i.map(l(e,t))]});return[e,s]}};nw.props={defaultShape:"text",defaultLabelShape:"label",composite:!1,shape:nO,channels:[...tL({shapes:Object.keys(nO)}),{name:"x",required:!0},{name:"y",required:!0},{name:"text",scale:"identity"},{name:"fontSize",scale:"identity"},{name:"rotate",scale:"identity"}],preInference:[...tN(),{type:nv},{type:nx}],postInference:[...tB()]};let n_=()=>(t,e)=>[t,(0,k.Z)({scale:{x:{padding:0},y:{padding:0}}},e)];n_.props={};let nk={cell:tb,hollow:tx},nC=()=>(t,e,n,r)=>{let{x:i,y:a}=n,o=e.x,l=e.y,s=Array.from(t,t=>{let e=o.getBandWidth(o.invert(+i[t])),n=l.getBandWidth(l.invert(+a[t])),s=+i[t],c=+a[t];return[[s,c],[s+e,c],[s+e,c+n],[s,c+n]].map(t=>r.map(t))});return[t,s]};nC.props={defaultShape:"cell",defaultLabelShape:"label",shape:nk,composite:!1,channels:[...tL({shapes:Object.keys(nk)}),{name:"x",required:!0,scale:"band"},{name:"y",required:!0,scale:"band"}],preInference:[...tN(),{type:Z},{type:na},{type:n_}],postInference:[...tB()]};var nj=n(37633),nM=n(53253),nS=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let nA=t2(t=>{let{areaPath:e,connectPath:n,areaStyle:r,connectStyle:i}=t.attributes,a=t.ownerDocument;(0,H.F)(t).maybeAppend("connect-path",()=>a.createElement("path",{})).style("d",n).call(ts,i),(0,H.F)(t).maybeAppend("area-path",()=>a.createElement("path",{})).style("d",e).call(ts,r)}),nE=(t,e)=>{let{curve:n,gradient:r=!1,defined:i=t=>!Number.isNaN(t)&&null!=t,connect:a=!1}=t,o=nS(t,["curve","gradient","defined","connect"]),{coordinate:l,document:s}=e;return(t,e,c)=>{let{color:u}=c,{color:f=u,seriesColor:d,seriesX:h,seriesY:p}=e,g=L(l),m=tp(l,e),y=r&&d?tu(d,h,p,r,void 0,g):f,v=Object.assign(Object.assign(Object.assign(Object.assign({},c),{stroke:y,fill:y}),m&&{transform:m}),o),[b,x]=function(t,e){let n=[],r=[],i=[],a=!1,o=null,l=t.length/2;for(let s=0;s!e(t)))a=!0;else{if(n.push(c),r.push(u),a&&o){a=!1;let[t,e]=o;i.push([t,c,e,u])}o=[c,u]}}return[n.concat(r),i]}(t,i),O=(0,tS.hB)(v,"connect"),w=!!x.length,_=t=>(0,H.F)(s.createElement("path",{})).style("d",t||"").call(ts,v).node();if(B(l)){let e=t=>{let e=l.getCenter(),r=t.slice(0,t.length/2),a=t.slice(t.length/2);return(0,nM.Z)().angle((t,n)=>U(G(r[n],e))).outerRadius((t,n)=>Y(r[n],e)).innerRadius((t,n)=>Y(a[n],e)).defined((t,e)=>[...r[e],...a[e]].every(i)).curve(n)(a)};return w&&(!a||Object.keys(O).length)?w&&!a?_(e(t)):(0,H.F)(new nA).style("areaStyle",v).style("connectStyle",Object.assign(Object.assign({},O),o)).style("areaPath",e(t)).style("connectPath",x.map(e).join("")).node():_(e(b))}{let e=t=>{let e=t.slice(0,t.length/2),r=t.slice(t.length/2);return g?(0,nj.Z)().y((t,n)=>e[n][1]).x1((t,n)=>e[n][0]).x0((t,e)=>r[e][0]).defined((t,n)=>[...e[n],...r[n]].every(i)).curve(n)(e):(0,nj.Z)().x((t,n)=>e[n][0]).y1((t,n)=>e[n][1]).y0((t,e)=>r[e][1]).defined((t,n)=>[...e[n],...r[n]].every(i)).curve(n)(e)};return w&&(!a||Object.keys(O).length)?w&&!a?_(e(t)):(0,H.F)(new nA).style("areaStyle",v).style("connectStyle",Object.assign(Object.assign({},O),o)).style("areaPath",e(t)).style("connectPath",x.map(e).join("")).node():_(e(b))}}};nE.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nP=(t,e)=>{let{coordinate:n}=e;return function(){for(var r=arguments.length,i=Array(r),a=0;ae.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let nZ=(t,e)=>{let n=nR(t,[]),{coordinate:r}=e;return function(){for(var t=arguments.length,i=Array(t),a=0;afunction(){for(var n=arguments.length,r=Array(n),i=0;ifunction(){for(var n=arguments.length,r=Array(n),i=0;ifunction(){for(var n=arguments.length,r=Array(n),i=0;i(t,e,n,r)=>{var i,a;let{x:o,y:l,y1:s,series:c}=n,{x:u,y:f}=e,d=c?Array.from((0,tK.ZP)(t,t=>c[t]).values()):[t],h=d.map(t=>t[0]).filter(t=>void 0!==t),p=((null===(i=null==u?void 0:u.getBandWidth)||void 0===i?void 0:i.call(u))||0)/2,g=((null===(a=null==f?void 0:f.getBandWidth)||void 0===a?void 0:a.call(f))||0)/2,m=Array.from(d,t=>{let e=t.length,n=Array(2*e);for(let i=0;i(t,e)=>{let{encode:n}=e,{y1:r}=n;if(r)return[t,e];let[i]=A(n,"y");return[t,(0,k.Z)({},e,{encode:{y1:C([...i])}})]};nN.props={};let nz=()=>(t,e)=>{let{encode:n}=e,{x1:r}=n;if(r)return[t,e];let[i]=A(n,"x");return[t,(0,k.Z)({},e,{encode:{x1:C([...i])}})]};nz.props={};var nF=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let n$=(t,e)=>{let{arrow:n=!0,arrowSize:r="40%"}=t,i=nF(t,["arrow","arrowSize"]),{document:a}=e;return(t,e,o)=>{let{defaultColor:l}=o,s=nF(o,["defaultColor"]),{color:c=l,transform:u}=e,[f,d]=t,h=(0,ea.Z)();if(h.moveTo(...f),h.lineTo(...d),n){let[t,e]=function(t,e,n){let{arrowSize:r}=n,i="string"==typeof r?+parseFloat(r)/100*Y(t,e):r,a=Math.PI/6,o=Math.atan2(e[1]-t[1],e[0]-t[0]),l=Math.PI/2-o-a,s=[e[0]-i*Math.sin(l),e[1]-i*Math.cos(l)],c=o-a,u=[e[0]-i*Math.cos(c),e[1]-i*Math.sin(c)];return[s,u]}(f,d,{arrowSize:r});h.moveTo(...t),h.lineTo(...d),h.lineTo(...e)}return(0,H.F)(a.createElement("path",{})).call(ts,s).style("d",h.toString()).style("stroke",c).style("transform",u).call(ts,i).node()}};n$.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nW=(t,e)=>{let{arrow:n=!1}=t;return function(){for(var r=arguments.length,i=Array(r),a=0;ae.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let nG=(t,e)=>{let n=nH(t,[]),{coordinate:r,document:i}=e;return(t,e,a)=>{let{color:o}=a,l=nH(a,["color"]),{color:s=o,transform:c}=e,[u,f]=t,d=(0,ea.Z)();if(d.moveTo(u[0],u[1]),B(r)){let t=r.getCenter();d.quadraticCurveTo(t[0],t[1],f[0],f[1])}else{let t=K(u,f),e=Y(u,f)/2;tc(d,u,f,t,e)}return(0,H.F)(i.createElement("path",{})).call(ts,l).style("d",d.toString()).style("stroke",s).style("transform",c).call(ts,n).node()}};nG.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var nq=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let nY=(t,e)=>{let n=nq(t,[]),{document:r}=e;return(t,e,i)=>{let{color:a}=i,o=nq(i,["color"]),{color:l=a,transform:s}=e,[c,u]=t,f=(0,ea.Z)();return f.moveTo(c[0],c[1]),f.bezierCurveTo(c[0]/2+u[0]/2,c[1],c[0]/2+u[0]/2,u[1],u[0],u[1]),(0,H.F)(r.createElement("path",{})).call(ts,o).style("d",f.toString()).style("stroke",l).style("transform",s).call(ts,n).node()}};nY.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var nV=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let nU=(t,e)=>{let{cornerRatio:n=1/3}=t,r=nV(t,["cornerRatio"]),{coordinate:i,document:a}=e;return(t,e,o)=>{let{defaultColor:l}=o,s=nV(o,["defaultColor"]),{color:c=l,transform:u}=e,[f,d]=t,h=function(t,e,n,r){let i=(0,ea.Z)();if(B(n)){let a=n.getCenter(),o=Y(t,a),l=Y(e,a),s=(l-o)*r+o;return i.moveTo(t[0],t[1]),tc(i,t,e,a,s),i.lineTo(e[0],e[1]),i}return L(n)?(i.moveTo(t[0],t[1]),i.lineTo(t[0]+(e[0]-t[0])*r,t[1]),i.lineTo(t[0]+(e[0]-t[0])*r,e[1]),i.lineTo(e[0],e[1]),i):(i.moveTo(t[0],t[1]),i.lineTo(t[0],t[1]+(e[1]-t[1])*r),i.lineTo(e[0],t[1]+(e[1]-t[1])*r),i.lineTo(e[0],e[1]),i)}(f,d,i,n);return(0,H.F)(a.createElement("path",{})).call(ts,s).style("d",h.toString()).style("stroke",c).style("transform",u).call(ts,r).node()}};nU.props={defaultMarker:"vhv",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nQ={link:nW,arc:nG,smooth:nY,vhv:nU},nX=t=>(e,n,r,i)=>{let{x:a,y:o,x1:l=a,y1:s=o}=r,c=tF(n,r,t),u=e.map(t=>[i.map(c([+a[t],+o[t]],t)),i.map(c([+l[t],+s[t]],t))]);return[e,u]};nX.props={defaultShape:"link",defaultLabelShape:"label",composite:!1,shape:nQ,channels:[...tL({shapes:Object.keys(nQ)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...tN(),{type:nN},{type:nz}],postInference:[...tB()]};var nK=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let nJ=(t,e)=>{let{coordinate:n,document:r}=e;return(e,i,a)=>{let{color:o}=a,l=nK(a,["color"]),{color:s=o,src:c="",size:u=32,transform:f=""}=i,{width:d=u,height:h=u}=t,[[p,g]]=e,[m,y]=n.getSize();d="string"==typeof d?t$(d)*m:d,h="string"==typeof h?t$(h)*y:h;let v=p-Number(d)/2,b=g-Number(h)/2;return(0,H.F)(r.createElement("image",{})).call(ts,l).style("x",v).style("y",b).style("src",c).style("stroke",s).style("transform",f).call(ts,t).style("width",d).style("height",h).node()}};nJ.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let n0={image:nJ},n1=t=>{let{cartesian:e}=t;return e?tW:(e,n,r,i)=>{let{x:a,y:o}=r,l=tF(n,r,t),s=Array.from(e,t=>{let e=[+a[t],+o[t]];return[i.map(l(e,t))]});return[e,s]}};n1.props={defaultShape:"image",defaultLabelShape:"label",composite:!1,shape:n0,channels:[...tL({shapes:Object.keys(n0)}),{name:"x",required:!0},{name:"y",required:!0},{name:"src",scale:"identity"},{name:"size"}],preInference:[...tN(),{type:nv},{type:nx}],postInference:[...tB()]};var n2=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let n5=(t,e)=>{let{coordinate:n,document:r}=e;return(e,i,a)=>{let{color:o}=a,l=n2(a,["color"]),{color:s=o,transform:c}=i,u=function(t,e){let n=(0,ea.Z)();if(B(e)){let r=e.getCenter(),i=[...t,t[0]],a=i.map(t=>Y(t,r));return i.forEach((e,i)=>{if(0===i){n.moveTo(e[0],e[1]);return}let o=a[i],l=t[i-1],s=a[i-1];void 0!==s&&1e-10>Math.abs(o-s)?tc(n,l,e,r,o):n.lineTo(e[0],e[1])}),n.closePath(),n}return t.forEach((t,e)=>0===e?n.moveTo(t[0],t[1]):n.lineTo(t[0],t[1])),n.closePath(),n}(e,n);return(0,H.F)(r.createElement("path",{})).call(ts,l).style("d",u.toString()).style("stroke",s).style("fill",s).style("transform",c).call(ts,t).node()}};n5.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var n3=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let n4=(t,e)=>{let n=n3(t,[]),{coordinate:r,document:i}=e;return(t,e,a)=>{let{color:o}=a,l=n3(a,["color"]),{color:s=o,transform:c}=e,u=function(t,e){let[n,r,i,a]=t,o=(0,ea.Z)();if(B(e)){let t=e.getCenter(),l=Y(t,n);return o.moveTo(n[0],n[1]),o.quadraticCurveTo(t[0],t[1],i[0],i[1]),tc(o,i,a,t,l),o.quadraticCurveTo(t[0],t[1],r[0],r[1]),tc(o,r,n,t,l),o.closePath(),o}return o.moveTo(n[0],n[1]),o.bezierCurveTo(n[0]/2+i[0]/2,n[1],n[0]/2+i[0]/2,i[1],i[0],i[1]),o.lineTo(a[0],a[1]),o.bezierCurveTo(a[0]/2+r[0]/2,a[1],a[0]/2+r[0]/2,r[1],r[0],r[1]),o.lineTo(n[0],n[1]),o.closePath(),o}(t,r);return(0,H.F)(i.createElement("path",{})).call(ts,l).style("d",u.toString()).style("fill",s||o).style("stroke",s||o).style("transform",c).call(ts,n).node()}};n4.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let n6={polygon:n5,ribbon:n4},n8=()=>(t,e,n,r)=>{let i=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("x")}).map(t=>{let[,e]=t;return e}),a=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("y")}).map(t=>{let[,e]=t;return e}),o=t.map(t=>{let e=[];for(let n=0;ne.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let n9=(t,e)=>{let{coordinate:n,document:r}=e;return(e,i,a)=>{let{color:o,transform:l}=i,{color:s,fill:c=s,stroke:u=s}=a,f=n7(a,["color","fill","stroke"]),d=function(t,e){let n=(0,ea.Z)();if(B(e)){let r=e.getCenter(),[i,a]=r,o=V(G(t[0],r)),l=V(G(t[1],r)),s=Y(r,t[2]),c=Y(r,t[3]),u=Y(r,t[8]),f=Y(r,t[10]),d=Y(r,t[11]);n.moveTo(...t[0]),n.arc(i,a,s,o,l),n.arc(i,a,s,l,o,!0),n.moveTo(...t[2]),n.lineTo(...t[3]),n.moveTo(...t[4]),n.arc(i,a,c,o,l),n.lineTo(...t[6]),n.arc(i,a,f,l,o,!0),n.closePath(),n.moveTo(...t[8]),n.arc(i,a,u,o,l),n.arc(i,a,u,l,o,!0),n.moveTo(...t[10]),n.lineTo(...t[11]),n.moveTo(...t[12]),n.arc(i,a,d,o,l),n.arc(i,a,d,l,o,!0)}else n.moveTo(...t[0]),n.lineTo(...t[1]),n.moveTo(...t[2]),n.lineTo(...t[3]),n.moveTo(...t[4]),n.lineTo(...t[5]),n.lineTo(...t[6]),n.lineTo(...t[7]),n.closePath(),n.moveTo(...t[8]),n.lineTo(...t[9]),n.moveTo(...t[10]),n.lineTo(...t[11]),n.moveTo(...t[12]),n.lineTo(...t[13]);return n}(e,n);return(0,H.F)(r.createElement("path",{})).call(ts,f).style("d",d.toString()).style("stroke",u).style("fill",o||c).style("transform",l).call(ts,t).node()}};n9.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var rt=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let re=(t,e)=>{let{coordinate:n,document:r}=e;return(e,i,a)=>{let{color:o,transform:l}=i,{color:s,fill:c=s,stroke:u=s}=a,f=rt(a,["color","fill","stroke"]),d=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4,r=(0,ea.Z)();if(!B(e))return r.moveTo(...t[2]),r.lineTo(...t[3]),r.lineTo(t[3][0]-n,t[3][1]),r.lineTo(t[10][0]-n,t[10][1]),r.lineTo(t[10][0]+n,t[10][1]),r.lineTo(t[3][0]+n,t[3][1]),r.lineTo(...t[3]),r.closePath(),r.moveTo(...t[10]),r.lineTo(...t[11]),r.moveTo(t[3][0]+n/2,t[8][1]),r.arc(t[3][0],t[8][1],n/2,0,2*Math.PI),r.closePath(),r;let i=e.getCenter(),[a,o]=i,l=Y(i,t[3]),s=Y(i,t[8]),c=Y(i,t[10]),u=V(G(t[2],i)),f=Math.asin(n/s),d=u-f,h=u+f;r.moveTo(...t[2]),r.lineTo(...t[3]),r.moveTo(Math.cos(d)*l+a,Math.sin(d)*l+o),r.arc(a,o,l,d,h),r.lineTo(Math.cos(h)*c+a,Math.sin(h)*c+o),r.arc(a,o,c,h,d,!0),r.lineTo(Math.cos(d)*l+a,Math.sin(d)*l+o),r.closePath(),r.moveTo(...t[10]),r.lineTo(...t[11]);let p=(d+h)/2;return r.moveTo(Math.cos(p)*(s+n/2)+a,Math.sin(p)*(s+n/2)+o),r.arc(Math.cos(p)*s+a,Math.sin(p)*s+o,n/2,p,2*Math.PI+p),r.closePath(),r}(e,n,4);return(0,H.F)(r.createElement("path",{})).call(ts,f).style("d",d.toString()).style("stroke",u).style("fill",o||c).style("transform",l).call(ts,t).node()}};re.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let rn={box:n9,violin:re},rr=()=>(t,e,n,r)=>{let{x:i,y:a,y1:o,y2:l,y3:s,y4:c,series:u}=n,f=e.x,d=e.series,h=Array.from(t,t=>{let e=f.getBandWidth(f.invert(+i[t])),n=d?d.getBandWidth(d.invert(+(null==u?void 0:u[t]))):1,h=e*n,p=(+(null==u?void 0:u[t])||0)*e,g=+i[t]+p+h/2,[m,y,v,b,x]=[+a[t],+o[t],+l[t],+s[t],+c[t]];return[[g-h/2,x],[g+h/2,x],[g,x],[g,b],[g-h/2,b],[g+h/2,b],[g+h/2,y],[g-h/2,y],[g-h/2,v],[g+h/2,v],[g,y],[g,m],[g-h/2,m],[g+h/2,m]].map(t=>r.map(t))});return[t,h]};rr.props={defaultShape:"box",defaultLabelShape:"label",composite:!1,shape:rn,channels:[...tL({shapes:Object.keys(rn)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"}],preInference:[...tN(),{type:Z}],postInference:[...tI()],interaction:{shareTooltip:!0}};let ri={vector:n$},ra=()=>(t,e,n,r)=>{let{x:i,y:a,size:o,rotate:l}=n,[s,c]=r.getSize(),u=t.map(t=>{let e=+l[t]/180*Math.PI,n=+o[t],u=n/s*Math.cos(e),f=-(n/c)*Math.sin(e);return[r.map([+i[t]-u/2,+a[t]-f/2]),r.map([+i[t]+u/2,+a[t]+f/2])]});return[t,u]};ra.props={defaultShape:"vector",defaultLabelShape:"label",composite:!1,shape:ri,channels:[...tL({shapes:Object.keys(ri)}),{name:"x",required:!0},{name:"y",required:!0},{name:"rotate",required:!0,scale:"identity"},{name:"size",required:!0}],preInference:[...tN()],postInference:[...tB()]};var ro=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let rl=(t,e)=>{let{arrow:n,arrowSize:r=4}=t,i=ro(t,["arrow","arrowSize"]),{coordinate:a,document:o}=e;return(t,e,l)=>{let{color:s,lineWidth:c}=l,u=ro(l,["color","lineWidth"]),{color:f=s,size:d=c}=e,h=n?function(t,e,n){let r=t.createElement("path",{style:Object.assign({d:"M ".concat(e,",").concat(e," L -").concat(e,",0 L ").concat(e,",-").concat(e," L 0,0 Z"),transformOrigin:"center"},n)});return r}(o,r,Object.assign({fill:i.stroke||f,stroke:i.stroke||f},(0,tS.hB)(i,"arrow"))):null,p=function(t,e){if(!B(e))return(0,tO.Z)().x(t=>t[0]).y(t=>t[1])(t);let n=e.getCenter();return(0,T.Z)()({startAngle:0,endAngle:2*Math.PI,outerRadius:Y(t[0],n),innerRadius:Y(t[1],n)})}(t,a),g=function(t,e){if(!B(t))return e;let[n,r]=t.getCenter();return"translate(".concat(n,", ").concat(r,") ").concat(e||"")}(a,e.transform);return(0,H.F)(o.createElement("path",{})).call(ts,u).style("d",p).style("stroke",f).style("lineWidth",d).style("transform",g).style("markerEnd",h).call(ts,i).node()}};rl.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let rs=()=>(t,e)=>{let{data:n}=e;return!Array.isArray(n)||n.some(P)?[t,e]:[t,(0,k.Z)({},e,{encode:{x:C(n)}})]};rs.props={};let rc={line:rl},ru=t=>(e,n,r,i)=>{let{x:a}=r,o=tF(n,r,(0,k.Z)({style:{bandOffset:0}},t)),l=Array.from(e,t=>{let e=[a[t],1],n=[a[t],0];return[e,n].map(e=>i.map(o(e,t)))});return[e,l]};ru.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:rc,channels:[...tD({shapes:Object.keys(rc)}),{name:"x",required:!0}],preInference:[...tN(),{type:rs}],postInference:[]};let rf=()=>(t,e)=>{let{data:n}=e;return!Array.isArray(n)||n.some(P)?[t,e]:[t,(0,k.Z)({},e,{encode:{y:C(n)}})]};rf.props={};let rd={line:rl},rh=t=>(e,n,r,i)=>{let{y:a}=r,o=tF(n,r,(0,k.Z)({style:{bandOffset:0}},t)),l=Array.from(e,t=>{let e=[0,a[t]],n=[1,a[t]];return[e,n].map(e=>i.map(o(e,t)))});return[e,l]};rh.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:rd,channels:[...tD({shapes:Object.keys(rd)}),{name:"y",required:!0}],preInference:[...tN(),{type:rf}],postInference:[]};var rp=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function rg(t,e,n){return[["M",t,e],["L",t+2*n,e-n],["L",t+2*n,e+n],["Z"]]}let rm=(t,e)=>{let{offset:n=0,offset1:r=n,offset2:i=n,connectLength1:a,endMarker:o=!0}=t,l=rp(t,["offset","offset1","offset2","connectLength1","endMarker"]),{coordinate:s}=e;return(t,e,n)=>{let{color:c,connectLength1:u}=n,f=rp(n,["color","connectLength1"]),{color:d,transform:h}=e,p=function(t,e,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,[[a,o],[l,s]]=e;if(L(t)){let t=a+n,e=t+i;return[[t,o],[e,o],[e,s],[l+r,s]]}let c=o-n,u=c-i;return[[a,c],[a,u],[l,u],[l,s-r]]}(s,t,r,i,null!=a?a:u),g=(0,tS.hB)(Object.assign(Object.assign({},l),n),"endMarker");return(0,H.F)(new t1.y$).call(ts,f).style("d",(0,tO.Z)().x(t=>t[0]).y(t=>t[1])(p)).style("stroke",d||c).style("transform",h).style("markerEnd",o?new nc.J({className:"marker",style:Object.assign(Object.assign({},g),{symbol:rg})}):null).call(ts,l).node()}};rm.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let ry={connector:rm},rv=function(){for(var t=arguments.length,e=Array(t),n=0;n[0,1];let{[t]:i,["".concat(t,"1")]:a}=n;return t=>{var e;let n=(null===(e=r.getBandWidth)||void 0===e?void 0:e.call(r,r.invert(+a[t])))||0;return[i[t],a[t]+n]}}function rx(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{extendX:e=!1,extendY:n=!1}=t;return(t,r,i,a)=>{let o=rb("x",e,i,r.x),l=rb("y",n,i,r.y),s=Array.from(t,t=>{let[e,n]=o(t),[r,i]=l(t);return[[e,r],[n,r],[n,i],[e,i]].map(t=>a.map(t))});return[t,s]}}rv.props={defaultShape:"connector",defaultLabelShape:"label",composite:!1,shape:ry,channels:[...tD({shapes:Object.keys(ry)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...tN()],postInference:[]};let rO={range:tb},rw=()=>rx();rw.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:rO,channels:[...tD({shapes:Object.keys(rO)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...tN()],postInference:[]};let r_=()=>(t,e)=>{let{data:n}=e;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(P))){let r=(t,e)=>Array.isArray(t[0])?t.map(t=>t[e]):[t[e]];return[t,(0,k.Z)({},e,{encode:{x:C(r(n,0)),x1:C(r(n,1))}})]}return[t,e]};r_.props={};let rk={range:tb},rC=()=>rx({extendY:!0});rC.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:rk,channels:[...tD({shapes:Object.keys(rk)}),{name:"x",required:!0}],preInference:[...tN(),{type:r_}],postInference:[]};let rj=()=>(t,e)=>{let{data:n}=e;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(P))){let r=(t,e)=>Array.isArray(t[0])?t.map(t=>t[e]):[t[e]];return[t,(0,k.Z)({},e,{encode:{y:C(r(n,0)),y1:C(r(n,1))}})]}return[t,e]};rj.props={};let rM={range:tb},rS=()=>rx({extendX:!0});rS.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:rM,channels:[...tD({shapes:Object.keys(rM)}),{name:"y",required:!0}],preInference:[...tN(),{type:rj}],postInference:[]};var rA=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let rE=(t,e)=>{let{arrow:n,colorAttribute:r}=t,i=rA(t,["arrow","colorAttribute"]),{coordinate:a,document:o}=e;return(t,e,n)=>{let{color:l,stroke:s}=n,c=rA(n,["color","stroke"]),{d:u,color:f=l}=e,[d,h]=a.getSize();return(0,H.F)(o.createElement("path",{})).call(ts,c).style("d","function"==typeof u?u({width:d,height:h}):u).style(r,f).call(ts,i).node()}};rE.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let rP=(t,e)=>rE(Object.assign({colorAttribute:"fill"},t),e);rP.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let rR=(t,e)=>rE(Object.assign({fill:"none",colorAttribute:"stroke"},t),e);rR.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let rZ={path:rP,hollow:rR},rT=t=>(t,e,n,r)=>[t,t.map(()=>[[0,0]])];rT.props={defaultShape:"path",defaultLabelShape:"label",shape:rZ,composite:!1,channels:[...tL({shapes:Object.keys(rZ)}),{name:"d",scale:"identity"}],preInference:[...tN()],postInference:[]};var rL=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let rB=(t,e)=>{let{render:n}=t,r=rL(t,["render"]);return t=>{let[[i,a]]=t;return n(Object.assign(Object.assign({},r),{x:i,y:a}),e)}};rB.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let rI=()=>(t,e)=>{let{style:n={}}=e;return[t,(0,k.Z)({},e,{style:Object.assign(Object.assign({},n),Object.fromEntries(Object.entries(n).filter(t=>{let[,e]=t;return"function"==typeof e}).map(t=>{let[e,n]=t;return[e,()=>n]})))})]};rI.props={};let rD=t=>{let{cartesian:e}=t;return e?tW:(e,n,r,i)=>{let{x:a,y:o}=r,l=tF(n,r,t),s=Array.from(e,t=>{let e=[+a[t],+o[t]];return[i.map(l(e,t))]});return[e,s]}};rD.props={defaultShape:"shape",defaultLabelShape:"label",composite:!1,shape:{shape:rB},channels:[{name:"x",required:!0},{name:"y",required:!0}],preInference:[...tN(),{type:nv},{type:nx},{type:rI}]};var rN=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let rz=(t,e)=>{let{document:n}=e;return(e,r,i)=>{let{transform:a}=r,{color:o}=i,l=rN(i,["color"]),{color:s=o}=r,[c,...u]=e,f=(0,ea.Z)();return f.moveTo(...c),u.forEach(t=>{let[e,n]=t;f.lineTo(e,n)}),f.closePath(),(0,H.F)(n.createElement("path",{})).call(ts,l).style("d",f.toString()).style("stroke",s||o).style("fill",s||o).style("fillOpacity",.4).style("transform",a).call(ts,t).node()}};rz.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let rF={density:rz},r$=()=>(t,e,n,r)=>{let{x:i,series:a}=n,o=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("y")}).map(t=>{let[,e]=t;return e}),l=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("size")}).map(t=>{let[,e]=t;return e});if(void 0===i||void 0===o||void 0===l)throw Error("Missing encode for x or y or size channel.");let s=e.x,c=e.series,u=Array.from(t,e=>{let n=s.getBandWidth(s.invert(+i[e])),u=c?c.getBandWidth(c.invert(+(null==a?void 0:a[e]))):1,f=(+(null==a?void 0:a[e])||0)*n,d=+i[e]+f+n*u/2,h=[...o.map((n,r)=>[d+ +l[r][e]/t.length,+o[r][e]]),...o.map((n,r)=>[d-+l[r][e]/t.length,+o[r][e]]).reverse()];return h.map(t=>r.map(t))});return[t,u]};r$.props={defaultShape:"density",defaultLabelShape:"label",composite:!1,shape:rF,channels:[...tL({shapes:Object.keys(rF)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"size",required:!0},{name:"series",scale:"band"},{name:"size",required:!0,scale:"identity"}],preInference:[...tN(),{type:R},{type:Z}],postInference:[...tI()],interaction:{shareTooltip:!0}};var rW=n(47622),rH=n(98823),rG=n(82631);function rq(t,e,n){let r=t?t():document.createElement("canvas");return r.width=e,r.height=n,r}(0,rG.Z)(3);let rY=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){for(var t=arguments.length,e=Array(t),n=0;n2&&void 0!==arguments[2]?arguments[2]:16,r=(0,rG.Z)(n);return function(){for(var n=arguments.length,i=Array(n),a=0;a{let r=rq(n,2*t,2*t),i=r.getContext("2d");if(1===e)i.beginPath(),i.arc(t,t,t,0,2*Math.PI,!1),i.fillStyle="rgba(0,0,0,1)",i.fill();else{let n=i.createRadialGradient(t,t,t*e,t,t,t);n.addColorStop(0,"rgba(0,0,0,1)"),n.addColorStop(1,"rgba(0,0,0,0)"),i.fillStyle=n,i.fillRect(0,0,2*t,2*t)}return r},t=>"".concat(t));var rV=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let rU=(t,e)=>{let{gradient:n,opacity:r,maxOpacity:i,minOpacity:a,blur:o,useGradientOpacity:l}=t,s=rV(t,["gradient","opacity","maxOpacity","minOpacity","blur","useGradientOpacity"]),{coordinate:c,createCanvas:u,document:f}=e;return(t,e,d)=>{var h,p;let{transform:g}=e,[m,y]=c.getSize(),v=t.map(t=>({x:t[0],y:t[1],value:t[2],radius:t[3]})),b=(0,rW.Z)(t,t=>t[2]),x=(0,rH.Z)(t,t=>t[2]),O=m&&y?function(t,e,n,r,i,a,o){let l=Object.assign({blur:.85,minOpacity:0,opacity:.6,maxOpacity:1,gradient:[[.25,"rgb(0,0,255)"],[.55,"rgb(0,255,0)"],[.85,"yellow"],[1,"rgb(255,0,0)"]]},a);l.minOpacity*=255,l.opacity*=255,l.maxOpacity*=255;let s=rq(o,t,e),c=s.getContext("2d"),u=function(t,e){let n=rq(e,256,1),r=n.getContext("2d"),i=r.createLinearGradient(0,0,256,1);return("string"==typeof t?t.split(" ").map(t=>{let[e,n]=t.split(":");return[+e,n]}):t).forEach(t=>{let[e,n]=t;i.addColorStop(e,n)}),r.fillStyle=i,r.fillRect(0,0,256,1),r.getImageData(0,0,256,1).data}(l.gradient,o);c.clearRect(0,0,t,e),function(t,e,n,r,i,a){let{blur:o}=i,l=r.length;for(;l--;){let{x:i,y:s,value:c,radius:u}=r[l],f=Math.min(c,n),d=i-u,h=s-u,p=rY(u,1-o,a),g=(f-e)/(n-e);t.globalAlpha=Math.max(g,.001),t.drawImage(p,d,h)}}(c,n,r,i,l,o);let f=function(t,e,n,r,i){let{minOpacity:a,opacity:o,maxOpacity:l,useGradientOpacity:s}=i,c=t.getImageData(0,0,e,n),u=c.data,f=u.length;for(let t=3;tvoid 0===t,Object.keys(h).reduce((t,e)=>{let n=h[e];return p(n,e)||(t[e]=n),t},{})),u):{canvas:null};return(0,H.F)(f.createElement("image",{})).call(ts,d).style("x",0).style("y",0).style("width",m).style("height",y).style("src",O.canvas).style("transform",g).call(ts,s).node()}};rU.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let rQ={heatmap:rU},rX=t=>(t,e,n,r)=>{let{x:i,y:a,size:o,color:l}=n,s=Array.from(t,t=>{let e=o?+o[t]:40;return[...r.map([+i[t],+a[t]]),l[t],e]});return[[0],[s]]};rX.props={defaultShape:"heatmap",defaultLabelShape:"label",composite:!1,shape:rQ,channels:[...tL({shapes:Object.keys(rQ)}),{name:"x",required:!0},{name:"y",required:!0},{name:"color",scale:"identity",required:!0},{name:"size"}],preInference:[...tN(),{type:Z},{type:na}],postInference:[...tB()]};var rK=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let rJ=()=>({axis:!1,type:"text",encode:{x:"x",y:"y",text:"text",rotate:"rotate",fontSize:"size",shape:"tag"},scale:{x:{range:[0,1]},y:{range:[0,1]}},style:{fontFamily:t=>t.fontFamily}}),r0=(t,e)=>{var n,r,i,a;return n=void 0,r=void 0,i=void 0,a=function*(){let{width:n,height:r}=e,{data:i,encode:a={},scale:o,style:l={},layout:s={}}=t,c=rK(t,["data","encode","scale","style","layout"]),u=function(t,e){let{text:n="text",value:r="value"}=e;return t.map(t=>Object.assign(Object.assign({},t),{text:t[n],value:t[r]}))}(i,a);return(0,k.Z)({},rJ(),Object.assign(Object.assign({data:{value:u,transform:[Object.assign({type:"wordCloud",size:[n,r]},s)]},encode:a,scale:o,style:l},c),{axis:!1}))},new(i||(i=Promise))(function(t,e){function o(t){try{s(a.next(t))}catch(t){e(t)}}function l(t){try{s(a.throw(t))}catch(t){e(t)}}function s(e){var n;e.done?t(e.value):((n=e.value)instanceof i?n:new i(function(t){t(n)})).then(o,l)}s((a=a.apply(n,r||[])).next())})};r0.props={};let r1=()=>["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"];r1.props={};let r2=()=>["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"];r2.props={};let r5=t=>new te.b(t);r5.props={};var r3=n(8064);let r4=t=>new r3.r(t);r4.props={};var r6=n(88944);let r8=t=>new r6.t(t);r8.props={};var r7=n(30655);let r9=t=>new r7.i(t);r9.props={};var it=n(64117);let ie=t=>new it.E(t);ie.props={};var ir=n(27527);let ii=t=>new ir.q(t);ii.props={};var ia=n(63117);let io=t=>new ia.Z(t);io.props={};var il=n(23331);let is=t=>new il.p(t);is.props={};var ic=n(69437);let iu=t=>new ic.F(t);iu.props={};var id=n(90314);let ih=t=>new id.M(t);ih.props={};var ip=n(15203);let ig=t=>new ip.c(t);ig.props={};var im=n(29631);let iy=t=>new im.J(t);iy.props={};var iv=n(67559);let ib=t=>new iv.s(t);ib.props={};var ix=n(84965);let iO=t=>new ix.s(t);function iw(t){let{colorDefault:e,colorBlack:n,colorWhite:r,colorStroke:i,colorBackground:a,padding1:o,padding2:l,padding3:s,alpha90:c,alpha65:u,alpha45:f,alpha25:d,alpha10:h,category10:p,category20:g,sizeDefault:m=1,padding:y="auto",margin:v=16}=t;return{padding:y,margin:v,size:m,color:e,category10:p,category20:g,enter:{duration:300,fill:"both",delay:0},update:{duration:300,fill:"both",delay:0},exit:{duration:300,fill:"both",delay:0},view:{viewFill:a,plotFill:"transparent",mainFill:"transparent",contentFill:"transparent"},line:{line:{fill:"",strokeOpacity:1,lineWidth:1,lineCap:"round"}},point:{point:{r:3,fillOpacity:.95,lineWidth:0},hollow:{r:3,strokeOpacity:.95,lineWidth:1},plus:{r:3,strokeOpacity:.95,lineWidth:3},diamond:{r:3,strokeOpacity:.95,lineWidth:1}},interval:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},area:{area:{fillOpacity:.85,lineWidth:0}},polygon:{polygon:{fillOpacity:.95}},cell:{cell:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},rect:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},link:{link:{fill:"",strokeOpacity:1}},vector:{vector:{fillOpacity:1}},box:{box:{fillOpacity:.95,stroke:n,lineWidth:1}},text:{text:{fill:"#1D2129",fontSize:12,lineWidth:0,connectorStroke:i,connectorStrokeOpacity:.45,connectorLineWidth:1,backgroundFill:i,backgroundFillOpacity:.15,backgroundPadding:[2,4],startMarkerSymbol:"circle",startMarkerSize:4,endMarkerSymbol:"circle",endMarkerSize:4},badge:{fill:"#1D2129",fillOpacity:.65,lineWidth:0,fontSize:10,textAlign:"center",textBaseline:"middle",markerFill:i,markerFillOpacity:.25,markerStrokeOpacity:0}},lineX:{line:{stroke:i,strokeOpacity:.45,lineWidth:1}},lineY:{line:{stroke:i,strokeOpacity:.45,lineWidth:1}},rangeX:{range:{fill:i,fillOpacity:.15,lineWidth:0}},rangeY:{range:{fill:i,fillOpacity:.15,lineWidth:0}},connector:{connector:{stroke:i,strokeOpacity:.45,lineWidth:1,connectLength1:12,endMarker:!0,endMarkerSize:6,endMarkerFill:i,endMarkerFillOpacity:.95}},axis:{arrow:!1,gridLineDash:[3,4],gridLineWidth:.5,gridStroke:n,gridStrokeOpacity:h,labelAlign:"horizontal",labelFill:n,labelOpacity:f,labelFontSize:12,labelFontWeight:"normal",labelSpacing:o,line:!1,lineLineWidth:.5,lineStroke:n,lineStrokeOpacity:f,tickLength:4,tickLineWidth:1,tickStroke:n,tickOpacity:f,titleFill:n,titleOpacity:c,titleFontSize:12,titleFontWeight:"normal",titleSpacing:12,titleTransformOrigin:"center",lineArrowOffset:6,lineArrowSize:6},axisTop:{gridDirection:"positive",labelDirection:"negative",tickDirection:"negative",titlePosition:"top",titleSpacing:12,labelSpacing:4,titleTextBaseline:"middle"},axisBottom:{gridDirection:"negative",labelDirection:"positive",tickDirection:"positive",titlePosition:"bottom",titleSpacing:12,labelSpacing:4,titleTextBaseline:"bottom",titleTransform:"translate(0, 8)"},axisLeft:{gridDirection:"positive",labelDirection:"negative",labelSpacing:4,tickDirection:"negative",titlePosition:"left",titleSpacing:12,titleTextBaseline:"middle",titleDirection:"vertical",titleTransform:"rotate(-90) translate(0, -8)",titleTransformOrigin:"center"},axisRight:{gridDirection:"negative",labelDirection:"positive",labelSpacing:4,tickDirection:"positive",titlePosition:"right",titleSpacing:12,titleTextBaseline:"top",titleDirection:"vertical",titleTransformOrigin:"center"},axisLinear:{girdClosed:!0,gridConnect:"arc",gridDirection:"negative",gridType:"surround",titlePosition:"top",titleSpacing:0},axisArc:{title:!1,titlePosition:"inner",line:!1,tick:!0,labelSpacing:4},axisRadar:{girdClosed:!0,gridStrokeOpacity:.3,gridType:"surround",label:!1,tick:!1,titlePosition:"start"},legendCategory:{backgroundFill:"transparent",itemBackgroundFill:"transparent",itemLabelFill:n,itemLabelFillOpacity:c,itemLabelFontSize:12,itemLabelFontWeight:"normal",itemMarkerFillOpacity:1,itemMarkerSize:8,itemSpacing:[o,o],itemValueFill:n,itemValueFillOpacity:.65,itemValueFontSize:12,itemValueFontWeight:"normal",navButtonFill:n,navButtonFillOpacity:.65,navPageNumFill:n,navPageNumFillOpacity:.45,navPageNumFontSize:12,padding:8,title:!1,titleFill:n,titleFillOpacity:.65,titleFontSize:12,titleFontWeight:"normal",titleSpacing:4,tickStroke:n,tickStrokeOpacity:.25,rowPadding:o,colPadding:l,maxRows:3,maxCols:3},legendContinuous:{handleHeight:12,handleLabelFill:n,handleLabelFillOpacity:f,handleLabelFontSize:12,handleLabelFontWeight:"normal",handleMarkerFill:n,handleMarkerFillOpacity:.6,handleMarkerLineWidth:1,handleMarkerStroke:n,handleMarkerStrokeOpacity:.25,handleWidth:10,labelFill:n,labelFillOpacity:f,labelFontSize:12,labelFontWeight:"normal",labelSpacing:3,tick:!0,tickLength:12,ribbonSize:12,ribbonFill:"#aaa",handle:!0,handleLabel:!1,handleShape:"slider",handleIconSize:12/1.8,indicator:!1,titleFontSize:12,titleSpacing:4,titleFontWeight:"normal",titleFillOpacity:c,tickStroke:n,tickStrokeOpacity:f},label:{fill:n,fillOpacity:.65,fontSize:12,fontWeight:"normal",stroke:void 0,offset:12,connectorStroke:n,connectorStrokeOpacity:.45,connectorLineWidth:1,connectorLength:12,connectorLength2:8,connectorDistance:4},innerLabel:{fill:r,fontSize:12,fillOpacity:.85,fontWeight:"normal",stroke:void 0,offset:0},htmlLabel:{fontSize:12,opacity:.65,color:n,fontWeight:"normal"},slider:{trackSize:16,trackFill:i,trackFillOpacity:1,selectionFill:e,selectionFillOpacity:.15,handleIconSize:10,handleIconFill:"#f7f7f7",handleIconFillOpacity:1,handleIconStroke:n,handleIconStrokeOpacity:.25,handleIconLineWidth:1,handleIconRadius:2,handleLabelFill:n,handleLabelFillOpacity:.45,handleLabelFontSize:12,handleLabelFontWeight:"normal"},scrollbar:{padding:[0,0,0,0],trackSize:6,isRound:!0,slidable:!0,scrollable:!0,trackFill:"#e5e5e5",trackFillOpacity:0,thumbFill:"#000",thumbFillOpacity:.15,thumbHighlightedFillOpacity:.2},title:{spacing:8,titleFill:n,titleFillOpacity:c,titleFontSize:16,titleFontWeight:"bold",titleTextBaseline:"top",subtitleFill:n,subtitleFillOpacity:u,subtitleFontSize:12,subtitleFontWeight:"normal",subtitleTextBaseline:"top"}}}iO.props={};let i_=iw({colorBlack:"#1D2129",colorWhite:"#ffffff",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1}),ik=t=>(0,k.Z)({},i_,t);ik.props={};let iC=t=>(0,k.Z)({},ik(),{category10:"category10",category20:"category20"},t);iC.props={};let ij=iw({colorBlack:"#fff",colorWhite:"#000",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.25}),iM=t=>(0,k.Z)({},ij,{tooltip:{crosshairsStroke:"#fff",crosshairsLineWidth:1,crosshairsStrokeOpacity:.25,css:{".g2-tooltip":{background:"#1f1f1f",opacity:.95},".g2-tooltip-title":{color:"#A6A6A6"},".g2-tooltip-list-item-name-label":{color:"#A6A6A6"},".g2-tooltip-list-item-value":{color:"#A6A6A6"}}}},t),iS=t=>Object.assign({},iM(),{category10:"category10",category20:"category20"},t);iS.props={};let iA=iw({colorBlack:"#000",colorWhite:"#fff",colorStroke:"#888",colorDefault:"#4e79a7",colorBackground:"transparent",category10:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],category20:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1}),iE=t=>(0,k.Z)({},iA,{text:{text:{fontSize:10}},axis:{gridLineDash:[0,0],gridLineWidth:1,gridStroke:"#ddd",gridStrokeOpacity:1,labelOpacity:1,labelStrokeOpacity:1,labelFontSize:10,line:!0,lineLineWidth:1,lineStroke:"#888",lineStrokeOpacity:1,tickLength:5,tickStrokeOpacity:1,titleOpacity:1,titleStrokeOpacity:1,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},axisLeft:{gridFilter:(t,e)=>0!==e},axisRight:{gridFilter:(t,e)=>0!==e},legendCategory:{itemLabelFillOpacity:1,itemLabelFontSize:10,itemValueFillOpacity:1,itemValueFontSize:10,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},legendContinuous:{handleLabelFontSize:10,labelFillOpacity:.45,labelFontSize:10},label:{fontSize:10},innerLabel:{fontSize:10},htmlLabel:{fontSize:10},slider:{handleLabelFontSize:10,trackFillOpacity:.05}},t);iE.props={};var iP=n(47537),iR=n(69959),iZ=n(83914),iT=n(17694),iL=n(64493),iB=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function iI(t,e,n){return t.querySelector(e)?(0,H.F)(t).select(e):(0,H.F)(t).append(n)}function iD(t){return Array.isArray(t)?t.join(", "):"".concat(t||"")}function iN(t,e){let{flexDirection:n,justifyContent:r,alignItems:i}={display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"center"},a={top:["row","flex-start","center"],bottom:["row","flex-start","center"],left:["column","flex-start","center"],right:["column","flex-start","center"],center:["column","center","center"]};return t in a&&([n,r,i]=a[t]),Object.assign({display:"flex",flexDirection:n,justifyContent:r,alignItems:i},e)}class iz extends iL.A{get child(){var t;return null===(t=this.children)||void 0===t?void 0:t[0]}update(t){var e;this.attr(t);let{subOptions:n}=t;null===(e=this.child)||void 0===e||e.update(n)}}class iF extends iz{update(t){var e;let{subOptions:n}=t;this.attr(t),null===(e=this.child)||void 0===e||e.update(n)}}function i$(t,e){var n;return null===(n=t.filter(t=>t.getOptions().name===e))||void 0===n?void 0:n[0]}function iW(t,e,n){let{bbox:r}=t,{position:i="top",size:a,length:o}=e,l=["top","bottom","center"].includes(i),[s,c]=l?[r.height,r.width]:[r.width,r.height],{defaultSize:u,defaultLength:f}=n.props,d=a||u||s,h=o||f||c,[p,g]=l?[h,d]:[d,h];return{orientation:l?"horizontal":"vertical",width:p,height:g,size:d,length:h}}function iH(t){let e=["arrow","crosshairs","grid","handle","handleLabel","indicator","label","line","tick","tip","title","trunc"],{style:n}=t,r=iB(t,["style"]),i={};return Object.entries(r).forEach(t=>{let[n,r]=t;e.includes(n)?i["show".concat((0,iZ.Z)(n))]=r:i[n]=r}),Object.assign(Object.assign({},i),n)}var iG=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function iq(t,e){let{eulerAngles:n,origin:r}=e;r&&t.setOrigin(r),n&&t.rotate(n[0],n[1],n[2])}function iY(t){let{innerWidth:e,innerHeight:n,depth:r}=t.getOptions();return[e,n,r]}function iV(t,e,n,r,i,a,o,l){var s;(void 0!==n||void 0!==a)&&t.update(Object.assign(Object.assign({},n&&{tickCount:n}),a&&{tickMethod:a}));let c=function(t,e,n){if(t.getTicks)return t.getTicks();if(!n)return e;let[r,i]=(0,tr.Z)(e,t=>+t),{tickCount:a}=t.getOptions();return n(r,i,a)}(t,e,a),u=i?c.filter(i):c,f=t=>t instanceof Date?String(t):"object"==typeof t&&t?t:String(t),d=r||(null===(s=t.getFormatter)||void 0===s?void 0:s.call(t))||f,h=function(t,e){if(B(e))return t=>t;let n=e.getOptions(),{innerWidth:r,innerHeight:i,insetTop:a,insetBottom:o,insetLeft:l,insetRight:s}=n,[c,u,f]="left"===t||"right"===t?[a,o,i]:[l,s,r],d=new te.b({domain:[0,1],range:[c/f,1-u/f]});return t=>d.map(t)}(o,l),p=function(t,e){let{width:n,height:r}=e.getOptions();return i=>{if(!z(e))return i;let a=e.map("bottom"===t?[i,1]:[0,i]);if("bottom"===t){let t=a[0],e=new te.b({domain:[0,n],range:[0,1]});return e.map(t)}if("left"===t){let t=a[1],e=new te.b({domain:[0,r],range:[0,1]});return e.map(t)}return i}}(o,l),g=t=>["top","bottom","center","outer"].includes(t),m=t=>["left","right"].includes(t);return B(l)||L(l)?u.map((e,n,r)=>{var i,a;let s=(null===(i=t.getBandWidth)||void 0===i?void 0:i.call(t,e))/2||0,c=h(t.map(e)+s),u=I(l)&&"center"===o||L(l)&&(null===(a=t.getTicks)||void 0===a?void 0:a.call(t))&&g(o)||L(l)&&m(o);return{value:u?1-c:c,label:f(d(tt(e),n,r)),id:String(n)}}):u.map((e,n,r)=>{var i;let a=(null===(i=t.getBandWidth)||void 0===i?void 0:i.call(t,e))/2||0,l=p(h(t.map(e)+a)),s=m(o);return{value:s?1-l:l,label:f(d(tt(e),n,r)),id:String(n)}})}let iU=t=>e=>{let{labelFormatter:n,labelFilter:r=()=>!0}=e;return i=>{var a;let{scales:[o]}=i,l=(null===(a=o.getTicks)||void 0===a?void 0:a.call(o))||o.getOptions().domain,s="string"==typeof n?(0,iT.WU)(n):n,c=Object.assign(Object.assign({},e),{labelFormatter:s,labelFilter:(t,e,n)=>r(l[e],e,l),scale:o});return t(c)(i)}},iQ=iU(t=>{let{direction:e="left",important:n={},labelFormatter:r,order:i,orientation:a,actualPosition:o,position:l,size:s,style:c={},title:u,tickCount:f,tickFilter:d,tickMethod:h,transform:p,indexBBox:g}=t,m=iG(t,["direction","important","labelFormatter","order","orientation","actualPosition","position","size","style","title","tickCount","tickFilter","tickMethod","transform","indexBBox"]);return i=>{var y;let{scales:v,value:b,coordinate:x,theme:O}=i,{bbox:w}=b,[_]=v,{domain:k,xScale:C}=_.getOptions(),j=function(t,e,n,r,i,a){let o=function(t,e,n,r,i,a){let o=n.axis,l=["top","right","bottom","left"].includes(i)?n["axis".concat((0,tS.Ez)(i))]:n.axisLinear,s=t.getOptions().name,c=n["axis".concat((0,iZ.Z)(s))]||{};return Object.assign({},o,l,c)}(t,0,n,0,i,0);return"center"===i?Object.assign(Object.assign(Object.assign(Object.assign({},o),{labelDirection:"right"===r?"negative":"positive"}),"center"===r?{labelTransform:"translate(50%,0)"}:null),{tickDirection:"right"===r?"negative":"positive",labelSpacing:"center"===r?0:4,titleSpacing:"vertical"===a||a===-Math.PI/2?10:0,tick:"center"!==r&&void 0}):o}(_,0,O,e,l,a),M=Object.assign(Object.assign(Object.assign({},j),c),m),S=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"xy",[r,i,a]=iY(e);return"xy"===n?t.includes("bottom")||t.includes("top")?i:r:"xz"===n?t.includes("bottom")||t.includes("top")?a:r:t.includes("bottom")||t.includes("top")?i:a}(o||l,x,t.plane),A=function(t,e,n,r,i){let{x:a,y:o,width:l,height:s}=n;if("bottom"===t)return{startPos:[a,o],endPos:[a+l,o]};if("left"===t)return{startPos:[a+l,o+s],endPos:[a+l,o]};if("right"===t)return{startPos:[a,o+s],endPos:[a,o]};if("top"===t)return{startPos:[a,o+s],endPos:[a+l,o+s]};if("center"===t){if("vertical"===e)return{startPos:[a,o],endPos:[a,o+s]};if("horizontal"===e)return{startPos:[a,o],endPos:[a+l,o]};if("number"==typeof e){let[t,n]=r.getCenter(),[c,u]=$(r),[f,d]=W(r),h=Math.min(l,s)/2,{insetLeft:p,insetTop:g}=r.getOptions(),m=c*h,y=u*h,[v,b]=[t+a-p,n+o-g],[x,O]=[Math.cos(e),Math.sin(e)],w=B(r)&&i?(()=>{let{domain:t}=i.getOptions();return t.length})():3;return{startPos:[v+y*x,b+y*O],endPos:[v+m*x,b+m*O],gridClosed:1e-6>Math.abs(d-f-360),gridCenter:[v,b],gridControlAngles:Array(w).fill(0).map((t,e,n)=>(d-f)/w*e)}}}return{}}(l,a,w,x,C),E=function(t){let{depth:e}=t.getOptions();return e?{tickIsBillboard:!0,lineIsBillboard:!0,labelIsBillboard:!0,titleIsBillboard:!0,gridIsBillboard:!0}:{}}(x),P=iV(_,k,f,r,d,h,l,x),R=g?P.map((t,e)=>{let n=g.get(e);return n&&n[0]===t.label?Object.assign(Object.assign({},t),{bbox:n[1]}):t}):P,Z=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},M),{type:"linear",data:R,crossSize:s,titleText:iD(u),labelOverlap:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;if(t.length>0)return t;let{labelAutoRotate:n,labelAutoHide:r,labelAutoEllipsis:i,labelAutoWrap:a}=e,o=[],l=(t,e)=>{e&&o.push(Object.assign(Object.assign({},t),e))};return l({type:"rotate",optionalAngles:[0,15,30,45,60,90]},n),l({type:"ellipsis",minLength:20},i),l({type:"hide"},r),l({type:"wrap",wordWrapWidth:100,maxLines:3,recoveryWhenFail:!0},a),o}(p,M),grid:(y=M.grid,!(B(x)&&L(x)||N(x))&&(void 0===y?!!_.getTicks:y)),gridLength:S,line:!0,indexBBox:g}),M.line?null:{lineOpacity:0}),A),E),n),T=Z.labelOverlap.find(t=>"hide"===t.type);return T&&(Z.crossSize=!1),new iP.R({className:"axis",style:iH(Z)})}}),iX=iU(t=>{let{order:e,size:n,position:r,orientation:i,labelFormatter:a,tickFilter:o,tickCount:l,tickMethod:s,important:c={},style:u={},indexBBox:f,title:d,grid:h=!1}=t,p=iG(t,["order","size","position","orientation","labelFormatter","tickFilter","tickCount","tickMethod","important","style","indexBBox","title","grid"]);return t=>{let{scales:[e],value:n,coordinate:i,theme:u}=t,{bbox:g}=n,{domain:m}=e.getOptions(),y=iV(e,m,l,a,o,s,r,i),v=f?y.map((t,e)=>{let n=f.get(e);return n&&n[0]===t.label?Object.assign(Object.assign({},t),{bbox:n[1]}):t}):y,[b,x]=$(i),O=function(t,e,n,r,i){let{x:a,y:o,width:l,height:s}=e,c=[a+l/2,o+s/2],u=Math.min(l,s)/2,[f,d]=W(i),[h,p]=iY(i),g=Math.min(h,p)/2,m={center:c,radius:u,startAngle:f,endAngle:d,gridLength:(r-n)*g};if("inner"===t){let{insetLeft:t,insetTop:e}=i.getOptions();return Object.assign(Object.assign({},m),{center:[c[0]-t,c[1]-e],labelAlign:"perpendicular",labelDirection:"positive",tickDirection:"positive",gridDirection:"negative"})}return Object.assign(Object.assign({},m),{labelAlign:"parallel",labelDirection:"negative",tickDirection:"negative",gridDirection:"positive"})}(r,g,b,x,i),{axis:w,axisArc:_={}}=u,C=iH((0,k.Z)({},w,_,O,Object.assign(Object.assign({type:"arc",data:v,titleText:iD(d),grid:h},p),c)));return new iP.R({style:(0,iR.Z)(C,["transform"])})}});iQ.props={defaultPosition:"center",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]},iX.props={defaultPosition:"outer",defaultOrientation:"vertical",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let iK=t=>function(){for(var e=arguments.length,n=Array(e),r=0;rfunction(){for(var e=arguments.length,n=Array(e),r=0;re.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let i5=t=>{let{labelFormatter:e,layout:n,order:r,orientation:i,position:a,size:o,title:l,cols:s,itemMarker:c}=t,u=i2(t,["labelFormatter","layout","order","orientation","position","size","title","cols","itemMarker"]),{gridRow:f}=u;return e=>{let{value:r,theme:i}=e,{bbox:o}=r,{width:c,height:d}=function(t,e,n){let{position:r}=e;if("center"===r){let{bbox:e}=t,{width:n,height:r}=e;return{width:n,height:r}}let{width:i,height:a}=iW(t,e,n);return{width:i,height:a}}(r,t,i5),h=iN(a,n),p=Object.assign(Object.assign(Object.assign(Object.assign({orientation:["right","left","center"].includes(a)?"vertical":"horizontal",width:c,height:d,layout:void 0!==s?"grid":"flex"},void 0!==s&&{gridCol:s}),void 0!==f&&{gridRow:f}),{titleText:iD(l)}),function(t,e){let{labelFormatter:n=t=>"".concat(t)}=t,{scales:r,theme:i}=e,a=i.legendCategory.itemMarkerSize,o=function(t,e){let n=i$(t,"size");return n instanceof r7.i?2*n.map(NaN):e}(r,a),l={itemMarker:function(t,e){let{scales:n,library:r,markState:i}=e,[a,o]=function(t,e){let n=i$(t,"shape"),r=i$(t,"color"),i=n?n.clone():null,a=[];for(let[t,n]of e){let e=t.type,o=(null==r?void 0:r.getOptions().domain.length)>0?null==r?void 0:r.getOptions().domain:n.data,l=o.map((e,r)=>{var a;return i?i.map(e||"point"):(null===(a=null==t?void 0:t.style)||void 0===a?void 0:a.shape)||n.defaultShape||"point"});"string"==typeof e&&a.push([e,l])}if(0===a.length)return["point",["point"]];if(1===a.length||!n)return a[0];let{range:o}=n.getOptions();return a.map(t=>{let[e,n]=t,r=0;for(let t=0;te[0]-t[0])[0][1]}(n,i),{itemMarker:l,itemMarkerSize:s}=t,c=(t,e)=>{var n,i,o;let l=(null===(o=null===(i=null===(n=r["mark.".concat(a)])||void 0===n?void 0:n.props)||void 0===i?void 0:i.shape[t])||void 0===o?void 0:o.props.defaultMarker)||(0,i1.Z)(t.split(".")),c="function"==typeof s?s(e):s;return()=>(function(t,e){var{d:n,fill:r,lineWidth:i,path:a,stroke:o,color:l}=e,s=ep(e,["d","fill","lineWidth","path","stroke","color"]);let c=e$.get(t)||e$.get("point");return function(){for(var t=arguments.length,e=Array(t),n=0;n"".concat(o[t]),f=i$(n,"shape");return f&&!l?(t,e)=>c(u(e),t):"function"==typeof l?(t,e)=>{let n=l(t.id,e);return"string"==typeof n?c(n,t):n}:(t,e)=>c(l||u(e),t)}(Object.assign(Object.assign({},t),{itemMarkerSize:o}),e),itemMarkerSize:o,itemMarkerOpacity:function(t){let e=i$(t,"opacity");if(e){let{range:t}=e.getOptions();return(e,n)=>t[n]}}(r)},s="string"==typeof n?(0,iT.WU)(n):n,c=i$(r,"color"),u=r.find(t=>t.getOptions().domain.length>0).getOptions().domain,f=c?t=>c.map(t):()=>e.theme.color;return Object.assign(Object.assign({},l),{data:u.map(t=>({id:t,label:s(t),color:f(t)}))})}(t,e)),{legendCategory:g={}}=i,m=iH(Object.assign({},g,p,u)),y=new iF({style:Object.assign(Object.assign({x:o.x,y:o.y,width:o.width,height:o.height},h),{subOptions:m})});return y.appendChild(new i0.W({className:"legend-category",style:m})),y}};i5.props={defaultPosition:"top",defaultOrder:1,defaultSize:40,defaultCrossPadding:[12,12],defaultPadding:[12,12]};var i3=n(37948),i4=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function i6(t){let{domain:e}=t.getOptions(),[n,r]=[e[0],to(e)];return[n,r]}let i8=t=>{let{labelFormatter:e,layout:n,order:r,orientation:i,position:a,size:o,title:l,style:s,crossPadding:c,padding:u}=t,f=i4(t,["labelFormatter","layout","order","orientation","position","size","title","style","crossPadding","padding"]);return r=>{let{scales:i,value:o,theme:c,scale:u}=r,{bbox:d}=o,{x:h,y:p,width:g,height:m}=d,y=iN(a,n),{legendContinuous:v={}}=c,b=iH(Object.assign({},v,Object.assign(Object.assign({titleText:iD(l),labelAlign:"value",labelFormatter:"string"==typeof e?t=>(0,iT.WU)(e)(t.label):e},function(t,e,n,r,i,a){let o=i$(t,"color"),l=function(t,e,n){var r,i,a;let{size:o}=e,l=iW(t,e,n);return r=l,i=o,a=l.orientation,(r.size=i,"horizontal"===a||0===a)?r.height=i:r.width=i,r}(n,r,i);if(o instanceof id.M){let{range:t}=o.getOptions(),[e,n]=i6(o);return o instanceof im.J||o instanceof ip.c?function(t,e,n,r,i){let a=e.thresholds;return Object.assign(Object.assign({},t),{color:i,data:[n,...a,r].map(t=>({value:t/r,label:String(t)}))})}(l,o,e,n,t):function(t,e,n){let r=e.thresholds,i=[-1/0,...r,1/0].map((t,e)=>({value:e,label:t}));return Object.assign(Object.assign({},t),{data:i,color:n,labelFilter:(t,e)=>e>0&&evoid 0!==t).find(t=>!(t instanceof ix.s)));return Object.assign(Object.assign({},t),{domain:[f,d],data:s.getTicks().map(t=>({value:t})),color:Array(Math.floor(o)).fill(0).map((t,e)=>{let n=(u-c)/(o-1)*e+c,i=s.map(n)||l,a=r?r.map(n):1;return i.replace(/rgb[a]*\(([\d]{1,3}) *, *([\d]{1,3}) *, *([\d]{1,3})[\S\s]*\)/,(t,e,n,r)=>"rgba(".concat(e,", ").concat(n,", ").concat(r,", ").concat(a,")"))})})}(l,o,s,c,e,a)}(i,u,o,t,i8,c)),s),f)),x=new iz({style:Object.assign(Object.assign({x:h,y:p,width:g,height:m},y),{subOptions:b})});return x.appendChild(new i3.V({className:"legend-continuous",style:b})),x}};i8.props={defaultPosition:"top",defaultOrientation:"vertical",defaultOrder:1,defaultSize:60,defaultLength:200,defaultLegendSize:60,defaultPadding:[20,10],defaultCrossPadding:[12,12]};let i7=t=>()=>new t1.ZA;i7.props={};var i9=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function at(t,e,n,r){switch(r){case"center":return{x:t+n/2,y:e,textAlign:"middle"};case"right":return{x:t+n,y:e,textAlign:"right"};default:return{x:t,y:e,textAlign:"left"}}}let ae=(r={render(t,e){let{width:n,title:r,subtitle:i,spacing:a=2,align:o="left",x:l,y:s}=t,c=i9(t,["width","title","subtitle","spacing","align","x","y"]);e.style.transform="translate(".concat(l,", ").concat(s,")");let u=(0,tS.hB)(c,"title"),f=(0,tS.hB)(c,"subtitle"),d=iI(e,".title","text").attr("className","title").call(ts,Object.assign(Object.assign(Object.assign({},at(0,0,n,o)),{fontSize:14,textBaseline:"top",text:r}),u)).node(),h=d.getLocalBounds();iI(e,".sub-title","text").attr("className","sub-title").call(t=>{if(!i)return t.node().remove();t.node().attr(Object.assign(Object.assign(Object.assign({},at(0,h.max[1]+a,n,o)),{fontSize:12,textBaseline:"top",text:i}),f))})}},class extends t1.b_{connectedCallback(){var t,e;null===(e=(t=this.descriptor).render)||void 0===e||e.call(t,this.attributes,this)}update(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.attr((0,k.Z)({},this.attributes,n)),null===(e=(t=this.descriptor).render)||void 0===e||e.call(t,this.attributes,this)}constructor(t){super(t),this.descriptor=r}}),an=t=>e=>{let{value:n,theme:r}=e,{x:i,y:a,width:o,height:l}=n.bbox;return new ae({style:(0,k.Z)({},r.title,Object.assign({x:i,y:a,width:o,height:l},t))})};an.props={defaultPosition:"top",defaultOrder:2,defaultSize:36,defaultCrossPadding:[20,20],defaultPadding:[12,12]};var ar=n(6394),ai=n(5199),aa=n(44355),ao=n(80732);function al(t){return!!t.getBandWidth}function as(t,e,n){if(!al(t))return t.invert(e);let{adjustedRange:r}=t,{domain:i}=t.getOptions(),a=t.getStep(),o=n?r:r.map(t=>t+a),l=(0,aa.Nw)(o,e),s=Math.min(i.length-1,Math.max(0,l+(n?-1:0)));return i[s]}function ac(t,e,n){if(!e)return t.getOptions().domain;if(!al(t)){let r=(0,ao.Z)(e);if(!n)return r;let[i]=r,{range:a}=t.getOptions(),[o,l]=a,s=t.invert(t.map(i)+(o>l?-1:1)*n);return[i,s]}let{domain:r}=t.getOptions(),i=e[0],a=r.indexOf(i);if(n){let t=a+Math.round(r.length*n);return r.slice(a,t)}let o=e[e.length-1],l=r.indexOf(o);return r.slice(a,l+1)}function au(t,e,n,r,i,a){let{x:o,y:l}=i,s=(t,e)=>{let[n,r]=a.invert(t);return[as(o,n,e),as(l,r,e)]},c=s([t,e],!0),u=s([n,r],!1),f=ac(o,[c[0],u[0]]),d=ac(l,[c[1],u[1]]);return[f,d]}function af(t,e){let[n,r]=t;return[e.map(n),e.map(r)+(e.getStep?e.getStep():0)]}var ad=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let ah=t=>{let{orientation:e,labelFormatter:n,size:r,style:i={},position:a}=t,o=ad(t,["orientation","labelFormatter","size","style","position"]);return r=>{var l;let{scales:[s],value:c,theme:u,coordinate:f}=r,{bbox:d}=c,{width:h,height:p}=d,{slider:g={}}=u,m=(null===(l=s.getFormatter)||void 0===l?void 0:l.call(s))||(t=>t+""),y="string"==typeof n?(0,iT.WU)(n):n,v="horizontal"===e,b=L(f)&&v,{trackSize:x=g.trackSize}=i,[O,w]=function(t,e,n){let{x:r,y:i,width:a,height:o}=t;return"left"===e?[r+a-n,i]:"right"===e||"bottom"===e?[r,i]:"top"===e?[r,i+o-n]:void 0}(d,a,x);return new ar.i({className:"slider",style:Object.assign({},g,Object.assign(Object.assign({x:O,y:w,trackLength:v?h:p,orientation:e,formatter:t=>{let e=as(s,b?1-t:t,!0);return(y||m)(e)},sparklineData:function(t,e){let{markState:n}=e;return(0,ai.Z)(t.sparklineData)?t.sparklineData:function(t,e){let[n]=Array.from(t.entries()).filter(t=>{let[e]=t;return"line"===e.type||"area"===e.type}).map(t=>{let[n]=t,{encode:r,slider:i}=n;if((null==i?void 0:i.x)&&0===Object.keys(i.x).length)return Object.fromEntries(e.map(t=>{let e=r[t];return[t,e?e.value:void 0]}))});if(!(null==n?void 0:n.series))return null==n?void 0:n.y;let r=n.series.reduce((t,e,r)=>(t[e]=t[e]||[],t[e].push(n.y[r]),t),{});return Object.values(r)}(n,["y","series"])}(t,r)},i),o))})}};ah.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let ap=t=>ah(Object.assign(Object.assign({},t),{orientation:"horizontal"}));ap.props=Object.assign(Object.assign({},ah.props),{defaultPosition:"bottom"});let ag=t=>ah(Object.assign(Object.assign({},t),{orientation:"vertical"}));ag.props=Object.assign(Object.assign({},ah.props),{defaultPosition:"left"});var am=n(53020),ay=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let av=t=>{let{orientation:e,labelFormatter:n,style:r}=t,i=ay(t,["orientation","labelFormatter","style"]);return t=>{let{scales:[n],value:a,theme:o}=t,{bbox:l}=a,{x:s,y:c,width:u,height:f}=l,{scrollbar:d={}}=o,{ratio:h,range:p}=n.getOptions(),g="horizontal"===e?u:f,[m,y]=p;return new am.L({className:"g2-scrollbar",style:Object.assign({},d,Object.assign(Object.assign(Object.assign(Object.assign({},r),{x:s,y:c,trackLength:g,value:y>m?0:1}),i),{orientation:e,contentLength:g/h,viewportLength:g}))})}};av.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let ab=t=>av(Object.assign(Object.assign({},t),{orientation:"horizontal"}));ab.props=Object.assign(Object.assign({},av.props),{defaultPosition:"bottom"});let ax=t=>av(Object.assign(Object.assign({},t),{orientation:"vertical"}));ax.props=Object.assign(Object.assign({},av.props),{defaultPosition:"left"});let aO=(t,e)=>{let{coordinate:n}=e;return(e,r,i)=>{let[a]=e,{transform:o="",fillOpacity:l=1,strokeOpacity:s=1,opacity:c=1}=a.style,[u,f]=L(n)?["left bottom","scale(1, ".concat(1e-4,")")]:["left top","scale(".concat(1e-4,", 1)")],d=[{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:l,strokeOpacity:s,opacity:c,offset:.01},{transform:"".concat(o," scale(1, 1)").trimStart(),transformOrigin:u,fillOpacity:l,strokeOpacity:s,opacity:c}],h=a.animate(d,Object.assign(Object.assign({},i),t));return h}},aw=(t,e)=>{let{coordinate:n}=e;return t1.ux.registerProperty({name:"scaleInYRadius",inherits:!1,initialValue:"",interpolable:!0,syntax:t1.h0.NUMBER}),(e,r,i)=>{let[a]=e;return B(n)?(e=>{let{__data__:r,style:a}=e,{radius:o=0,inset:l=0,fillOpacity:s=1,strokeOpacity:c=1,opacity:u=1}=a,{points:f,y:d,y1:h}=r,p=td(n,f,[d,h]),{innerRadius:g,outerRadius:m}=p,y=(0,T.Z)().cornerRadius(o).padAngle(l*Math.PI/180),v=new t1.y$({}),b=t=>{v.attr({d:y(t)});let e=(0,t1.YR)(v);return e},x=e.animate([{scaleInYRadius:g+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{scaleInYRadius:g+1e-4,fillOpacity:s,strokeOpacity:c,opacity:u,offset:.01},{scaleInYRadius:m,fillOpacity:s,strokeOpacity:c,opacity:u}],Object.assign(Object.assign({},i),t));return x.onframe=function(){e.style.d=b(Object.assign(Object.assign({},p),{outerRadius:Number(e.style.scaleInYRadius)}))},x.onfinish=function(){e.style.d=b(Object.assign(Object.assign({},p),{outerRadius:m}))},x})(a):(e=>{let{style:r}=e,{transform:a="",fillOpacity:o=1,strokeOpacity:l=1,opacity:s=1}=r,[c,u]=L(n)?["left top","scale(".concat(1e-4,", 1)")]:["left bottom","scale(1, ".concat(1e-4,")")],f=[{transform:"".concat(a," ").concat(u).trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:"".concat(a," ").concat(u).trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s,offset:.01},{transform:"".concat(a," scale(1, 1)").trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s}],d=e.animate(f,Object.assign(Object.assign({},i),t));return d})(a)}},a_=(t,e)=>{t1.ux.registerProperty({name:"waveInArcAngle",inherits:!1,initialValue:"",interpolable:!0,syntax:t1.h0.NUMBER});let{coordinate:n}=e;return(r,i,a)=>{let[o]=r;if(!B(n))return aO(t,e)(r,i,a);let{__data__:l,style:s}=o,{radius:c=0,inset:u=0,fillOpacity:f=1,strokeOpacity:d=1,opacity:h=1}=s,{points:p,y:g,y1:m}=l,y=(0,T.Z)().cornerRadius(c).padAngle(u*Math.PI/180),v=td(n,p,[g,m]),{startAngle:b,endAngle:x}=v,O=o.animate([{waveInArcAngle:b+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{waveInArcAngle:b+1e-4,fillOpacity:f,strokeOpacity:d,opacity:h,offset:.01},{waveInArcAngle:x,fillOpacity:f,strokeOpacity:d,opacity:h}],Object.assign(Object.assign({},a),t));return O.onframe=function(){o.style.d=y(Object.assign(Object.assign({},v),{endAngle:Number(o.style.waveInArcAngle)}))},O.onfinish=function(){o.style.d=y(Object.assign(Object.assign({},v),{endAngle:x}))},O}};a_.props={};let ak=t=>(e,n,r)=>{let[i]=e,{fillOpacity:a=1,strokeOpacity:o=1,opacity:l=1}=i.style,s=[{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:a,strokeOpacity:o,opacity:l}];return i.animate(s,Object.assign(Object.assign({},r),t))};ak.props={};let aC=t=>(e,n,r)=>{let[i]=e,{fillOpacity:a=1,strokeOpacity:o=1,opacity:l=1}=i.style,s=[{fillOpacity:a,strokeOpacity:o,opacity:l},{fillOpacity:0,strokeOpacity:0,opacity:0}];return i.animate(s,Object.assign(Object.assign({},r),t))};aC.props={};let aj=t=>(e,n,r)=>{var i;let[a]=e,o=(null===(i=a.getTotalLength)||void 0===i?void 0:i.call(a))||0,l=[{lineDash:[0,o]},{lineDash:[o,0]}];return a.animate(l,Object.assign(Object.assign({},r),t))};aj.props={};let aM={opacity:1,strokeOpacity:1,fillOpacity:1,lineWidth:0,x:0,y:0,cx:0,cy:0,r:0,rx:0,ry:0,width:0,height:0},aS={[t1.bn.CIRCLE]:["cx","cy","r"],[t1.bn.ELLIPSE]:["cx","cy","rx","ry"],[t1.bn.RECT]:["x","y","width","height"],[t1.bn.IMAGE]:["x","y","width","height"],[t1.bn.LINE]:["x1","y1","x2","y2"],[t1.bn.POLYLINE]:["points"],[t1.bn.POLYGON]:["points"]};function aA(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r={};for(let i of e){let e=t.style[i];e?r[i]=e:n&&(r[i]=aM[i])}return r}let aE=["fill","stroke","fillOpacity","strokeOpacity","opacity","lineWidth"];function aP(t){let{min:e,max:n}=t.getLocalBounds(),[r,i]=e,[a,o]=n;return[r,i,a-r,o-i]}function aR(t,e){let[n,r,i,a]=aP(t),o=Math.ceil(Math.sqrt(e/(a/i))),l=Math.ceil(e/o),s=[],c=a/l,u=0,f=e;for(;f>0;){let t=Math.min(f,o),e=i/t;for(let i=0;i{let t=c.style.d;(0,tS.DM)(c,n),c.style.d=t,c.style.transform="none"},c.style.transform="none",t}return null}let aI=t=>(e,n,r)=>{let i=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pack";return"function"==typeof t?t:aR}(t.split),a=Object.assign(Object.assign({},r),t),{length:o}=e,{length:l}=n;if(1===o&&1===l||o>1&&l>1){let[t]=e,[r]=n;return aB(t,t,r,a)}if(1===o&&l>1){let[t]=e;return function(t,e,n,r){t.style.visibility="hidden";let i=r(t,e.length);return e.map((e,r)=>{let a=new t1.y$({style:Object.assign({d:i[r]},aA(t,aE))});return aB(e,a,e,n)})}(t,n,a,i)}if(o>1&&1===l){let[t]=n;return function(t,e,n,r){let i=r(e,t.length),{fillOpacity:a=1,strokeOpacity:o=1,opacity:l=1}=e.style,s=e.animate([{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:0,strokeOpacity:0,opacity:0,offset:.99},{fillOpacity:a,strokeOpacity:o,opacity:l}],n),c=t.map((t,r)=>{let a=new t1.y$({style:{d:i[r],fill:e.style.fill}});return aB(t,t,a,n)});return[...c,s]}(e,t,a,i)}return null};aI.props={};let aD=(t,e)=>(n,r,i)=>{let[a]=n,{min:[o,l],halfExtents:s}=a.getLocalBounds(),c=2*s[0],u=2*s[1],f=new t1.y$({style:{d:"M".concat(o,",").concat(l,"L").concat(o+c,",").concat(l,"L").concat(o+c,",").concat(l+u,"L").concat(o,",").concat(l+u,"Z")}});a.appendChild(f),a.style.clipPath=f;let d=aO(t,e)([f],r,i);return d};aD.props={};let aN=(t,e)=>(n,r,i)=>{let[a]=n,{min:[o,l],halfExtents:s}=a.getLocalBounds(),c=2*s[0],u=2*s[1],f=new t1.y$({style:{d:"M".concat(o,",").concat(l,"L").concat(o+c,",").concat(l,"L").concat(o+c,",").concat(l+u,"L").concat(o,",").concat(l+u,"Z")}});a.appendChild(f),a.style.clipPath=f;let d=aw(t,e)([f],r,i);return d};aN.props={};var az=n(47666),aF=n(83190);let a$={visibility:"visible",opacity:1,fillOpacity:1,strokeOpacity:1};function aW(t,e,n,r){t.style[e]=n,r&&t.children.forEach(t=>aW(t,e,n,r))}function aH(t){aW(t,"visibility","hidden",!0)}function aG(t){aW(t,"visibility","visible",!0)}var aq=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function aY(t){return(0,H.F)(t).selectAll(".".concat(aF.Tt)).nodes().filter(t=>!t.__removed__)}function aV(t,e){return aU(t,e).flatMap(t=>{let{container:e}=t;return aY(e)})}function aU(t,e){return e.filter(e=>e!==t&&e.options.parentKey===t.options.key)}function aQ(t){return(0,H.F)(t).select(".".concat(aF.V$)).node()}function aX(t){if("g"===t.tagName)return t.getRenderBounds();let e=t.getGeometryBounds(),n=new t1.mN;return n.setFromTransformedAABB(e,t.getWorldTransform()),n}function aK(t,e){let{offsetX:n,offsetY:r}=e,i=aX(t),{min:[a,o],max:[l,s]}=i;return nl||rs?null:[n-a,r-o]}function aJ(t,e){let{offsetX:n,offsetY:r}=e,[i,a,o,l]=function(t){let e=t.getRenderBounds(),{min:[n,r],max:[i,a]}=e;return[n,r,i,a]}(t);return[Math.min(o,Math.max(i,n))-i,Math.min(l,Math.max(a,r))-a]}function a0(t){return t=>t.__data__.color}function a1(t){return t=>t.__data__.x}function a2(t){let e=Array.isArray(t)?t:[t],n=new Map(e.flatMap(t=>{let e=Array.from(t.markState.keys());return e.map(e=>[a3(t.key,e.key),e.data])}));return t=>{let{index:e,markKey:r,viewKey:i}=t.__data__,a=n.get(a3(i,r));return a[e]}}function a5(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t,e)=>t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(t,e,n)=>t.setAttribute(e,n),r="__states__",i="__ordinal__",a=a=>{let{[r]:o=[],[i]:l={}}=a,s=o.reduce((e,n)=>Object.assign(Object.assign({},e),t[n]),l);if(0!==Object.keys(s).length){for(let[t,r]of Object.entries(s)){let i=function(t,e){var n;return null!==(n=t.style[e])&&void 0!==n?n:a$[e]}(a,t),o=e(r,a);n(a,t,o),t in l||(l[t]=i)}a[i]=l}},o=t=>{t[r]||(t[r]=[])};return{setState:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i1?e-1:0),i=1;i(o(t),-1!==t[r].indexOf(e))}}function a3(t,e){return"".concat(t,",").concat(e)}function a4(t,e){let n=Array.isArray(t)?t:[t],r=n.flatMap(t=>t.marks.map(e=>[a3(t.key,e.key),e.state])),i={};for(let t of e){let[e,n]=Array.isArray(t)?t:[t,{}];i[e]=r.reduce((t,r)=>{var i;let[a,o={}]=r,l=void 0===(i=o[e])||"object"==typeof i&&0===Object.keys(i).length?n:o[e];for(let[e,n]of Object.entries(l)){let r=t[e],i=(t,e,i,o)=>{let l=a3(o.__data__.viewKey,o.__data__.markKey);return a!==l?null==r?void 0:r(t,e,i,o):"function"!=typeof n?n:n(t,e,i,o)};t[e]=i}return t},{})}return i}function a6(t,e){let n=new Map(t.map((t,e)=>[t,e])),r=e?t.map(e):t;return(t,i)=>{if("function"!=typeof t)return t;let a=n.get(i),o=e?e(i):i;return t(o,a,r,i)}}function a8(t){var{link:e=!1,valueof:n=(t,e)=>t,coordinate:r}=t,i=aq(t,["link","valueof","coordinate"]);if(!e)return[()=>{},()=>{}];let a=t=>t.__data__.points,o=(t,e)=>{let[,n,r]=t,[i,,,a]=e;return[n,i,a,r]};return[t=>{var e;if(t.length<=1)return;let r=(0,ao.Z)(t,(t,e)=>{let{x:n}=t.__data__,{x:r}=e.__data__;return n-r});for(let t=1;tn(t,s)),{fill:g=s.getAttribute("fill")}=p,m=aq(p,["fill"]),y=new t1.y$({className:"element-link",style:Object.assign({d:l.toString(),fill:g,zIndex:-2},m)});null===(e=s.link)||void 0===e||e.remove(),s.parentNode.appendChild(y),s.link=y}},t=>{var e;null===(e=t.link)||void 0===e||e.remove(),t.link=null}]}function a7(t,e,n){let r=e=>{let{transform:n}=t.style;return n?"".concat(n," ").concat(e):e};if(B(n)){let{points:i}=t.__data__,[a,o]=L(n)?tf(i):i,l=n.getCenter(),s=G(a,l),c=G(o,l),u=V(s),f=Q(s,c),d=u+f/2,h=e*Math.cos(d),p=e*Math.sin(d);return r("translate(".concat(h,", ").concat(p,")"))}return r(L(n)?"translate(".concat(e,", 0)"):"translate(0, ".concat(-e,")"))}function a9(t){var{document:e,background:n,scale:r,coordinate:i,valueof:a}=t,o=aq(t,["document","background","scale","coordinate","valueof"]);let l="element-background";if(!n)return[()=>{},()=>{}];let s=(t,e,n)=>{let r=t.invert(e),i=e+t.getBandWidth(r)/2,a=t.getStep(r)/2,o=a*n;return[i-a+o,i+a-o]},c=(t,e)=>{let{x:n}=r;if(!al(n))return[0,1];let{__data__:i}=t,{x:a}=i,[o,l]=s(n,a,e);return[o,l]},u=(t,e)=>{let{y:n}=r;if(!al(n))return[0,1];let{__data__:i}=t,{y:a}=i,[o,l]=s(n,a,e);return[o,l]},f=(t,n)=>{let{padding:r}=n,[a,o]=c(t,r),[l,s]=u(t,r),f=[[a,l],[o,l],[o,s],[a,s]].map(t=>i.map(t)),{__data__:d}=t,{y:h,y1:p}=d;return ty(e,f,{y:h,y1:p},i,n)},d=(t,e)=>{let{transform:n="scale(1.2, 1.2)",transformOrigin:r="center center",stroke:i=""}=e,a=aq(e,["transform","transformOrigin","stroke"]),o=Object.assign({transform:n,transformOrigin:r,stroke:i},a),l=t.cloneNode(!0);for(let[t,e]of Object.entries(o))l.style[t]=e;return l},h=()=>{let{x:t,y:e}=r;return[t,e].some(al)};return[t=>{t.background&&t.background.remove();let e=ti(o,e=>a(e,t)),{fill:n="#CCD6EC",fillOpacity:r=.3,zIndex:i=-2,padding:s=.001,lineWidth:c=0}=e,u=aq(e,["fill","fillOpacity","zIndex","padding","lineWidth"]),p=Object.assign(Object.assign({},u),{fill:n,fillOpacity:r,zIndex:i,padding:s,lineWidth:c}),g=h()?f:d,m=g(t,p);m.className=l,t.parentNode.parentNode.appendChild(m),t.background=m},t=>{var e;null===(e=t.background)||void 0===e||e.remove(),t.background=null},t=>t.className===l]}function ot(t,e){let n=t.getRootNode().defaultView,r=n.getContextService().getDomElement();(null==r?void 0:r.style)&&(t.cursor=r.style.cursor,r.style.cursor=e)}function oe(t,e,n){return t.find(t=>Object.entries(e).every(e=>{let[r,i]=e;return n(t)[r]===i}))}function on(t,e){return Math.sqrt(Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2))}function or(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,az.Z)(t,t=>!!t).map((t,e)=>[0===e?"M":"L",...t]);return e&&n.push(["Z"]),n}function oi(t){return t.querySelectorAll(".element")}function oa(t,e){if(e(t))return t;let n=t.parent;for(;n&&!e(n);)n=n.parent;return n}var oo=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function ol(t){var{delay:e,createGroup:n,background:r=!1,link:i=!1}=t,a=oo(t,["delay","createGroup","background","link"]);return(t,o,l)=>{let{container:s,view:c,options:u}=t,{scale:f,coordinate:d}=c,h=aQ(s);return function(t,e){var n;let r,{elements:i,datum:a,groupKey:o=t=>t,link:l=!1,background:s=!1,delay:c=60,scale:u,coordinate:f,emitter:d,state:h={}}=e,p=i(t),g=new Set(p),m=(0,tK.ZP)(p,o),y=a6(p,a),[v,b]=a8(Object.assign({elements:p,valueof:y,link:l,coordinate:f},(0,tS.hB)(h.active,"link"))),[x,O,w]=a9(Object.assign({document:t.ownerDocument,scale:u,coordinate:f,background:s,valueof:y},(0,tS.hB)(h.active,"background"))),_=(0,k.Z)(h,{active:Object.assign({},(null===(n=h.active)||void 0===n?void 0:n.offset)&&{transform:function(){for(var t=arguments.length,e=Array(t),n=0;n{let{target:e,nativeEvent:n=!0}=t;if(!g.has(e))return;r&&clearTimeout(r);let i=o(e),l=m.get(i),s=new Set(l);for(let t of p)s.has(t)?M(t,"active")||C(t,"active"):(C(t,"inactive"),b(t)),t!==e&&O(t);x(e),v(l),n&&d.emit("element:highlight",{nativeEvent:n,data:{data:a(e),group:l.map(a)}})},A=()=>{r&&clearTimeout(r),r=setTimeout(()=>{E(),r=null},c)},E=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];for(let t of p)j(t,"active","inactive"),O(t),b(t);t&&d.emit("element:unhighlight",{nativeEvent:t})},P=t=>{let{target:e}=t;(!s||w(e))&&(s||g.has(e))&&(c>0?A():E())},R=()=>{E()};t.addEventListener("pointerover",S),t.addEventListener("pointerout",P),t.addEventListener("pointerleave",R);let Z=t=>{let{nativeEvent:e}=t;e||E(!1)},T=t=>{let{nativeEvent:e}=t;if(e)return;let{data:n}=t.data,r=oe(p,n,a);r&&S({target:r,nativeEvent:!1})};return d.on("element:highlight",T),d.on("element:unhighlight",Z),()=>{for(let e of(t.removeEventListener("pointerover",S),t.removeEventListener("pointerout",P),t.removeEventListener("pointerleave",R),d.off("element:highlight",T),d.off("element:unhighlight",Z),p))O(e),b(e)}}(h,Object.assign({elements:aY,datum:a2(c),groupKey:n?n(c):void 0,coordinate:d,scale:f,state:a4(u,[["active",r?{}:{lineWidth:"1",stroke:"#000"}],"inactive"]),background:r,link:i,delay:e,emitter:l},a))}}function os(t){return ol(Object.assign(Object.assign({},t),{createGroup:a1}))}function oc(t){return ol(Object.assign(Object.assign({},t),{createGroup:a0}))}ol.props={reapplyWhenUpdate:!0},os.props={reapplyWhenUpdate:!0},oc.props={reapplyWhenUpdate:!0};var ou=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function of(t){var{createGroup:e,background:n=!1,link:r=!1}=t,i=ou(t,["createGroup","background","link"]);return(t,a,o)=>{let{container:l,view:s,options:c}=t,{coordinate:u,scale:f}=s,d=aQ(l);return function(t,e){var n;let{elements:r,datum:i,groupKey:a=t=>t,link:o=!1,single:l=!1,coordinate:s,background:c=!1,scale:u,emitter:f,state:d={}}=e,h=r(t),p=new Set(h),g=(0,tK.ZP)(h,a),m=a6(h,i),[y,v]=a8(Object.assign({link:o,elements:h,valueof:m,coordinate:s},(0,tS.hB)(d.selected,"link"))),[b,x]=a9(Object.assign({document:t.ownerDocument,background:c,coordinate:s,scale:u,valueof:m},(0,tS.hB)(d.selected,"background"))),O=(0,k.Z)(d,{selected:Object.assign({},(null===(n=d.selected)||void 0===n?void 0:n.offset)&&{transform:function(){for(var t=arguments.length,e=Array(t),n=0;n0)||void 0===arguments[0]||arguments[0];for(let t of h)_(t,"selected","unselected"),v(t),x(t);t&&f.emit("element:unselect",{nativeEvent:!0})},M=function(t,e){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(C(e,"selected"))j();else{let r=a(e),o=g.get(r),l=new Set(o);for(let t of h)l.has(t)?w(t,"selected"):(w(t,"unselected"),v(t)),t!==e&&x(t);if(y(o),b(e),!n)return;f.emit("element:select",Object.assign(Object.assign({},t),{nativeEvent:n,data:{data:[i(e),...o.map(i)]}}))}},S=function(t,e){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=a(e),l=g.get(r),s=new Set(l);if(C(e,"selected")){let t=h.some(t=>!s.has(t)&&C(t,"selected"));if(!t)return j();for(let t of l)w(t,"unselected"),v(t),x(t)}else{let t=l.some(t=>C(t,"selected"));for(let t of h)s.has(t)?w(t,"selected"):C(t,"selected")||w(t,"unselected");!t&&o&&y(l),b(e)}n&&f.emit("element:select",Object.assign(Object.assign({},t),{nativeEvent:n,data:{data:h.filter(t=>C(t,"selected")).map(i)}}))},A=t=>{let{target:e,nativeEvent:n=!0}=t;return p.has(e)?l?M(t,e,n):S(t,e,n):j()};t.addEventListener("click",A);let E=t=>{let{nativeEvent:e,data:n}=t;if(e)return;let r=l?n.data.slice(0,1):n.data;for(let t of r){let e=oe(h,t,i);A({target:e,nativeEvent:!1})}},P=()=>{j(!1)};return f.on("element:select",E),f.on("element:unselect",P),()=>{for(let t of h)v(t);t.removeEventListener("click",A),f.off("element:select",E),f.off("element:unselect",P)}}(d,Object.assign({elements:aY,datum:a2(s),groupKey:e?e(s):void 0,coordinate:u,scale:f,state:a4(c,[["selected",n?{}:{lineWidth:"1",stroke:"#000"}],"unselected"]),background:n,link:r,emitter:o},i))}}function od(t){return of(Object.assign(Object.assign({},t),{createGroup:a1}))}function oh(t){return of(Object.assign(Object.assign({},t),{createGroup:a0}))}of.props={reapplyWhenUpdate:!0},od.props={reapplyWhenUpdate:!0},oh.props={reapplyWhenUpdate:!0};var op=n(99711),og=n(29173),om=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function oy(t){var{wait:e=20,leading:n,trailing:r=!1,labelFormatter:i=t=>"".concat(t)}=t,a=om(t,["wait","leading","trailing","labelFormatter"]);return t=>{let o;let{view:l,container:s,update:c,setState:u}=t,{markState:f,scale:d,coordinate:h}=l,p=function(t,e,n){let[r]=Array.from(t.entries()).filter(t=>{let[n]=t;return n.type===e}).map(t=>{let[e]=t,{encode:r}=e;return Object.fromEntries(n.map(t=>{let e=r[t];return[t,e?e.value:void 0]}))});return r}(f,"line",["x","y","series"]);if(!p)return;let{y:g,x:m,series:y=[]}=p,v=g.map((t,e)=>e),b=(0,ao.Z)(v.map(t=>m[t])),x=aQ(s),O=s.getElementsByClassName(aF.Tt),w=s.getElementsByClassName(aF.fw),_=(0,tK.ZP)(w,t=>t.__data__.key.split("-")[0]),C=new t1.x1({style:Object.assign({x1:0,y1:0,x2:0,y2:x.getAttribute("height"),stroke:"black",lineWidth:1},(0,tS.hB)(a,"rule"))}),j=new t1.xv({style:Object.assign({x:0,y:x.getAttribute("height"),text:"",fontSize:10},(0,tS.hB)(a,"label"))});C.append(j),x.appendChild(C);let M=(t,e,n)=>{let[r]=t.invert(n),i=e.invert(r);return b[(0,aa.ZR)(b,i)]},S=(t,e)=>{C.setAttribute("x1",t[0]),C.setAttribute("x2",t[0]),j.setAttribute("text",i(e))},A=t=>{let{scale:e,coordinate:n}=o,{x:r,y:i}=e,a=M(n,r,t);for(let e of(S(t,a),O)){let{seriesIndex:t,key:r}=e.__data__,o=t[(0,og.Z)(t=>m[+t]).center(t,a)],l=[0,i.map(1)],s=[0,i.map(g[o]/g[t[0]])],[,c]=n.map(l),[,u]=n.map(s),f=c-u;e.setAttribute("transform","translate(0, ".concat(f,")"));let d=_.get(r)||[];for(let t of d)t.setAttribute("dy",f)}},E=(0,op.Z)(t=>{let e=aK(x,t);e&&A(e)},e,{leading:n,trailing:r});return(t=>{var e,n,r,i;return e=this,n=void 0,r=void 0,i=function*(){let{x:e}=d,n=M(h,e,t);S(t,n),u("chartIndex",t=>{let e=(0,k.Z)({},t),r=e.marks.find(t=>"line"===t.type),i=(0,rH.Z)((0,tK.jJ)(v,t=>(0,rH.Z)(t,t=>+g[t])/(0,rW.Z)(t,t=>+g[t]),t=>y[t]).values());(0,k.Z)(r,{scale:{y:{domain:[1/i,i]}}});let a=function(t){let{transform:e=[]}=t,n=e.find(t=>"normalizeY"===t.type);if(n)return n;let r={type:"normalizeY"};return e.push(r),t.transform=e,r}(r);for(let t of(a.groupBy="color",a.basis=(t,e)=>{let r=t[(0,og.Z)(t=>m[+t]).center(t,n)];return e[r]},e.marks))t.animate=!1;return e});let r=yield c("chartIndex");o=r.view},new(r||(r=Promise))(function(t,a){function o(t){try{s(i.next(t))}catch(t){a(t)}}function l(t){try{s(i.throw(t))}catch(t){a(t)}}function s(e){var n;e.done?t(e.value):((n=e.value)instanceof r?n:new r(function(t){t(n)})).then(o,l)}s((i=i.apply(e,n||[])).next())})})([0,0]),x.addEventListener("pointerenter",E),x.addEventListener("pointermove",E),x.addEventListener("pointerleave",E),()=>{C.remove(),x.removeEventListener("pointerenter",E),x.removeEventListener("pointermove",E),x.removeEventListener("pointerleave",E)}}}oy.props={reapplyWhenUpdate:!0};var ov=n(18320),ob=n(71894),ox=n(73576),oO=n(61385);let ow={BEFORE_RENDER:"beforerender",AFTER_RENDER:"afterrender",BEFORE_PAINT:"beforepaint",AFTER_PAINT:"afterpaint",BEFORE_CHANGE_DATA:"beforechangedata",AFTER_CHANGE_DATA:"afterchangedata",BEFORE_CLEAR:"beforeclear",AFTER_CLEAR:"afterclear",BEFORE_DESTROY:"beforedestroy",AFTER_DESTROY:"afterdestroy",BEFORE_CHANGE_SIZE:"beforechangesize",AFTER_CHANGE_SIZE:"afterchangesize",POINTER_TAP:"pointertap",POINTER_DOWN:"pointerdown",POINTER_UP:"pointerup",POINTER_OVER:"pointerover",POINTER_OUT:"pointerout",POINTER_MOVE:"pointermove",POINTER_ENTER:"pointerenter",POINTER_LEAVE:"pointerleave",POINTER_UPOUTSIDE:"pointerupoutside",DRAG_START:"dragstart",DRAG:"drag",DRAG_END:"dragend",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"DROP",CLICK:"click",DBLCLICK:"dblclick"};function o_(t,e){let{__data__:n}=t,{markKey:r,index:i,seriesIndex:a}=n,{markState:o}=e,l=Array.from(o.keys()).find(t=>t.key===r);if(l)return a?a.map(t=>l.data[t]):l.data[i]}function ok(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t=>!0;return i=>{if(!r(i))return;n.emit("plot:".concat(t),i);let{target:a}=i;if(!a)return;let{className:o}=a;if("plot"===o)return;let l=oa(a,t=>"element"===t.className),s=oa(a,t=>"component"===t.className),c=oa(a,t=>"label"===t.className),u=l||s||c;if(!u)return;let{className:f,markType:d}=u,h=Object.assign(Object.assign({},i),{nativeEvent:!0});"element"===f?(h.data={data:o_(u,e)},n.emit("element:".concat(t),h),n.emit("".concat(d,":").concat(t),h)):"label"===f?(h.data={data:u.attributes.datum},n.emit("label:".concat(t),h),n.emit("".concat(o,":").concat(t),h)):(n.emit("component:".concat(t),h),n.emit("".concat(o,":").concat(t),h))}}function oC(){return(t,e,n)=>{let{container:r,view:i}=t,a=ok(ow.CLICK,i,n,t=>1===t.detail),o=ok(ow.DBLCLICK,i,n,t=>2===t.detail),l=ok(ow.POINTER_TAP,i,n),s=ok(ow.POINTER_DOWN,i,n),c=ok(ow.POINTER_UP,i,n),u=ok(ow.POINTER_OVER,i,n),f=ok(ow.POINTER_OUT,i,n),d=ok(ow.POINTER_MOVE,i,n),h=ok(ow.POINTER_ENTER,i,n),p=ok(ow.POINTER_LEAVE,i,n),g=ok(ow.POINTER_UPOUTSIDE,i,n),m=ok(ow.DRAG_START,i,n),y=ok(ow.DRAG,i,n),v=ok(ow.DRAG_END,i,n),b=ok(ow.DRAG_ENTER,i,n),x=ok(ow.DRAG_LEAVE,i,n),O=ok(ow.DRAG_OVER,i,n),w=ok(ow.DROP,i,n);return r.addEventListener("click",a),r.addEventListener("click",o),r.addEventListener("pointertap",l),r.addEventListener("pointerdown",s),r.addEventListener("pointerup",c),r.addEventListener("pointerover",u),r.addEventListener("pointerout",f),r.addEventListener("pointermove",d),r.addEventListener("pointerenter",h),r.addEventListener("pointerleave",p),r.addEventListener("pointerupoutside",g),r.addEventListener("dragstart",m),r.addEventListener("drag",y),r.addEventListener("dragend",v),r.addEventListener("dragenter",b),r.addEventListener("dragleave",x),r.addEventListener("dragover",O),r.addEventListener("drop",w),()=>{r.removeEventListener("click",a),r.removeEventListener("click",o),r.removeEventListener("pointertap",l),r.removeEventListener("pointerdown",s),r.removeEventListener("pointerup",c),r.removeEventListener("pointerover",u),r.removeEventListener("pointerout",f),r.removeEventListener("pointermove",d),r.removeEventListener("pointerenter",h),r.removeEventListener("pointerleave",p),r.removeEventListener("pointerupoutside",g),r.removeEventListener("dragstart",m),r.removeEventListener("drag",y),r.removeEventListener("dragend",v),r.removeEventListener("dragenter",b),r.removeEventListener("dragleave",x),r.removeEventListener("dragover",O),r.removeEventListener("drop",w)}}}oC.props={reapplyWhenUpdate:!0};var oj=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function oM(t,e){if(e)return"string"==typeof e?document.querySelector(e):e;let n=t.ownerDocument.defaultView.getContextService().getDomElement();return n.parentElement}function oS(t){let{root:e,data:n,x:r,y:i,render:a,event:o,single:l,position:s="right-bottom",enterable:c=!1,css:u,mount:f,bounding:d}=t,h=oM(e,f),p=oM(e),g=l?p:e,m=d||function(t){let e=t.getRenderBounds(),{min:[n,r],max:[i,a]}=e;return{x:n,y:r,width:i-n,height:a-r}}(e),y=function(t,e){let n=t.getBoundingClientRect(),r=e.getBoundingClientRect();return{x:n.x-r.x,y:n.y-r.y}}(p,h),{tooltipElement:v=function(t,e,n,r,i,a,o){let l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},s=new oO.u({className:"tooltip",style:{x:e,y:n,container:o,data:[],bounding:a,position:r,enterable:i,title:"",offset:[10,10],template:{prefixCls:"g2-"},style:(0,k.Z)({".g2-tooltip":{},".g2-tooltip-title":{overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},l)}});return t.appendChild(s.HTMLTooltipElement),s}(h,r,i,s,c,m,y,u)}=g,{items:b,title:x=""}=n;v.update(Object.assign({x:r,y:i,data:b,title:x,position:s,enterable:c},void 0!==a&&{content:a(o,{items:b,title:x})})),g.tooltipElement=v}function oA(t){let{root:e,single:n,emitter:r,nativeEvent:i=!0,event:a=null}=t;i&&r.emit("tooltip:hide",{nativeEvent:i});let o=oM(e),l=n?o:e,{tooltipElement:s}=l;s&&s.hide(null==a?void 0:a.clientX,null==a?void 0:a.clientY)}function oE(t){let{root:e,single:n}=t,r=oM(e),i=n?r:e;if(!i)return;let{tooltipElement:a}=i;a&&(a.destroy(),i.tooltipElement=void 0)}function oP(t){let{value:e}=t;return Object.assign(Object.assign({},t),{value:void 0===e?"undefined":e})}function oR(t){let e=t.getAttribute("fill"),n=t.getAttribute("stroke"),{__data__:r}=t,{color:i=e&&"transparent"!==e?e:n}=r;return i}function oZ(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>t,n=new Map(t.map(t=>[e(t),t]));return Array.from(n.values())}function oT(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.map(t=>t.__data__),i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=t=>t instanceof Date?+t:t,o=oZ(r.map(t=>t.title),a).filter(tS.ri),l=r.flatMap((r,a)=>{let o=t[a],{items:l=[],title:s}=r,c=l.filter(tS.ri),u=void 0!==n?n:l.length<=1;return c.map(t=>{var{color:n=oR(o)||i.color,name:a}=t,l=oj(t,["color","name"]);let c=function(t,e){let{color:n,series:r,facet:i=!1}=t,{color:a,series:o}=e;if(r&&r.invert&&!(r instanceof r6.t)&&!(r instanceof ix.s)){let t=r.clone();return t.invert(o)}if(o&&r instanceof r6.t&&r.invert(o)!==a&&!i)return r.invert(o);if(n&&n.invert&&!(n instanceof r6.t)&&!(n instanceof ix.s)){let t=n.invert(a);return Array.isArray(t)?null:t}return null}(e,r);return Object.assign(Object.assign({},l),{color:n,name:(u?c||a:a||c)||s})})}).map(oP);return Object.assign(Object.assign({},o.length>0&&{title:o.join(",")}),{items:oZ(l,t=>"(".concat(a(t.name),", ").concat(a(t.value),", ").concat(a(t.color),")"))})}function oL(t){t.ruleY&&(t.ruleY.remove(),t.ruleY=void 0)}function oB(t){t.ruleX&&(t.ruleX.remove(),t.ruleX=void 0)}function oI(t){t.markers&&(t.markers.forEach(t=>t.remove()),t.markers=[])}function oD(t,e){return Array.from(t.values()).some(t=>{var n;return null===(n=t.interaction)||void 0===n?void 0:n[e]})}function oN(t,e){return void 0===t?e:t}function oz(t){let{title:e,items:n}=t;return 0===n.length&&void 0===e}function oF(t,e){var{elements:n,sort:r,filter:i,scale:a,coordinate:o,crosshairs:l,crosshairsX:s,crosshairsY:c,render:u,groupName:f,emitter:d,wait:h=50,leading:p=!0,trailing:g=!1,startX:m=0,startY:y=0,body:v=!0,single:b=!0,position:x,enterable:O,mount:w,bounding:_,theme:C,disableNative:j=!1,marker:M=!0,preserve:S=!1,style:A={},css:E={}}=e,P=oj(e,["elements","sort","filter","scale","coordinate","crosshairs","crosshairsX","crosshairsY","render","groupName","emitter","wait","leading","trailing","startX","startY","body","single","position","enterable","mount","bounding","theme","disableNative","marker","preserve","style","css"]);let R=n(t),Z=L(o),T=B(o),I=(0,k.Z)(A,P),{innerWidth:D,innerHeight:N,width:z,height:F,insetLeft:$,insetTop:W}=o.getOptions(),H=[],q=[];for(let t of R){let{__data__:e}=t,{seriesX:n,title:r,items:i}=e;n?H.push(t):(r||i)&&q.push(t)}let U=!!a.x.getBandWidth,Q=U&&q.length>0;H.sort((t,e)=>{let n=Z?0:1,r=t=>t.getBounds().min[n];return Z?r(e)-r(t):r(t)-r(e)});let X=t=>{let e=Z?1:0,{min:n,max:r}=t.getLocalBounds();return(0,ao.Z)([n[e],r[e]])};q.sort((t,e)=>{let[n,r]=X(t),[i,a]=X(e),o=(n+r)/2,l=(i+a)/2;return Z?l-o:o-l});let K=new Map(H.map(t=>{let{__data__:e}=t,{seriesX:n}=e,r=n.map((t,e)=>e),i=(0,ao.Z)(r,t=>n[+t]);return[t,[i,n]]})),{x:J}=a,tt=(null==J?void 0:J.getBandWidth)?J.getBandWidth()/2:0,te=t=>{let[e]=o.invert(t);return e-tt},tn=(t,e,n)=>{let r=te(t),i=n.filter(tS.ri),[a,o]=(0,ao.Z)([i[0],i[i.length-1]]);if(!Q&&(ro)&&a!==o)return null;let l=(0,og.Z)(t=>n[+t]).center,s=l(e,r);return e[s]},tr=(t,e)=>{let n=Z?1:0,r=t[n],i=e.filter(t=>{let[e,n]=X(t);return r>=e&&r<=n});if(!Q||i.length>0)return i;let a=(0,og.Z)(t=>{let[e,n]=X(t);return(e+n)/2}).center,o=a(e,r);return[e[o]].filter(tS.ri)},ti=(t,e)=>{let{__data__:n}=t;return Object.fromEntries(Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("series")&&"series"!==e}).map(t=>{let[n,r]=t,i=r[e];return[(0,ox.Z)(n.replace("series","")),i]}))},ta=(0,op.Z)(e=>{let n=aK(t,e);if(!n)return;let h=aX(t),p=h.min[0],g=h.min[1],k=[n[0]-m,n[1]-y];if(!k)return;let j=tr(k,q),S=[],A=[];for(let t of H){let[e,n]=K.get(t),r=tn(k,e,n);if(null!==r){S.push(t);let e=ti(t,r),{x:n,y:i}=e,a=o.map([(n||0)+tt,i||0]);A.push([Object.assign(Object.assign({},e),{element:t}),a])}}let P=Array.from(new Set(A.map(t=>t[0].x))),R=P[(0,ov.Z)(P,t=>Math.abs(t-te(k)))],L=A.filter(t=>t[0].x===R),B=[...L.map(t=>t[0]),...j.map(t=>t.__data__)],U=[...S,...j],Q=oT(U,a,f,B,C);if(r&&Q.items.sort((t,e)=>r(t)-r(e)),i&&(Q.items=Q.items.filter(i)),0===U.length||oz(Q)){to(e);return}if(v&&oS({root:t,data:Q,x:n[0]+p,y:n[1]+g,render:u,event:e,single:b,position:x,enterable:O,mount:w,bounding:_,css:E}),l||s||c){let e=(0,tS.hB)(I,"crosshairs"),r=Object.assign(Object.assign({},e),(0,tS.hB)(I,"crosshairsX")),i=Object.assign(Object.assign({},e),(0,tS.hB)(I,"crosshairsY")),a=L.map(t=>t[1]);s&&function(t,e,n,r){var{plotWidth:i,plotHeight:a,mainWidth:o,mainHeight:l,startX:s,startY:c,transposed:u,polar:f,insetLeft:d,insetTop:h}=r,p=oj(r,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);let g=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},p),m=((t,e)=>{if(1===e.length)return e[0];let n=e.map(e=>Y(e,t)),r=(0,ov.Z)(n,t=>t);return e[r]})(n,e);if(f){let[e,n,r]=(()=>{let t=s+d+o/2,e=c+h+l/2,n=Y([t,e],m);return[t,e,n]})(),i=t.ruleX||((e,n,r)=>{let i=new t1.Cd({style:Object.assign({cx:e,cy:n,r},g)});return t.appendChild(i),i})(e,n,r);i.style.cx=e,i.style.cy=n,i.style.r=r,t.ruleX=i}else{let[e,n,r,o]=u?[s+m[0],s+m[0],c,c+a]:[s,s+i,m[1]+c,m[1]+c],l=t.ruleX||((e,n,r,i)=>{let a=new t1.x1({style:Object.assign({x1:e,x2:n,y1:r,y2:i},g)});return t.appendChild(a),a})(e,n,r,o);l.style.x1=e,l.style.x2=n,l.style.y1=r,l.style.y2=o,t.ruleX=l}}(t,a,n,Object.assign(Object.assign({},r),{plotWidth:D,plotHeight:N,mainWidth:z,mainHeight:F,insetLeft:$,insetTop:W,startX:m,startY:y,transposed:Z,polar:T})),c&&function(t,e,n){var{plotWidth:r,plotHeight:i,mainWidth:a,mainHeight:o,startX:l,startY:s,transposed:c,polar:u,insetLeft:f,insetTop:d}=n,h=oj(n,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);let p=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},h),g=e.map(t=>t[1]),m=e.map(t=>t[0]),y=(0,ob.Z)(g),v=(0,ob.Z)(m),[b,x,O,w]=(()=>{if(u){let t=Math.min(a,o)/2,e=l+f+a/2,n=s+d+o/2,r=V(G([v,y],[e,n])),i=e+t*Math.cos(r),c=n+t*Math.sin(r);return[e,i,n,c]}return c?[l,l+r,y+s,y+s]:[v+l,v+l,s,s+i]})();if(m.length>0){let e=t.ruleY||(()=>{let e=new t1.x1({style:Object.assign({x1:b,x2:x,y1:O,y2:w},p)});return t.appendChild(e),e})();e.style.x1=b,e.style.x2=x,e.style.y1=O,e.style.y2=w,t.ruleY=e}}(t,a,Object.assign(Object.assign({},i),{plotWidth:D,plotHeight:N,mainWidth:z,mainHeight:F,insetLeft:$,insetTop:W,startX:m,startY:y,transposed:Z,polar:T}))}if(M){let e=(0,tS.hB)(I,"marker");!function(t,e){let{data:n,style:r,theme:i}=e;t.markers&&t.markers.forEach(t=>t.remove());let a=n.filter(t=>{let[{x:e,y:n}]=t;return(0,tS.ri)(e)&&(0,tS.ri)(n)}).map(t=>{let[{color:e,element:n},a]=t,o=e||n.style.fill||n.style.stroke||i.color,l=new t1.Cd({style:Object.assign({cx:a[0],cy:a[1],fill:o,r:4,stroke:"#fff",lineWidth:2},r)});return l});for(let e of a)t.appendChild(e);t.markers=a}(t,{data:L,style:e,theme:C})}d.emit("tooltip:show",Object.assign(Object.assign({},e),{nativeEvent:!0,data:{data:{x:as(a.x,te(k),!0)}}}))},h,{leading:p,trailing:g}),to=e=>{oA({root:t,single:b,emitter:d,event:e}),l&&(oL(t),oB(t)),M&&oI(t)},tl=()=>{oE({root:t,single:b}),l&&(oL(t),oB(t)),M&&oI(t)},ts=e=>{let{nativeEvent:n,data:r}=e;if(n)return;let{x:i}=r.data,{x:l}=a,s=l.map(i),[c,u]=o.map([s,.5]),{min:[f,d]}=t.getRenderBounds();ta({offsetX:c+f,offsetY:u+d})},tc=()=>{oA({root:t,single:b,emitter:d,nativeEvent:!1})},tu=()=>{th(),tl()},tf=()=>{td()},td=()=>{j||(t.addEventListener("pointerenter",ta),t.addEventListener("pointermove",ta),t.addEventListener("pointerleave",to))},th=()=>{j||(t.removeEventListener("pointerenter",ta),t.removeEventListener("pointermove",ta),t.removeEventListener("pointerleave",to))};return td(),d.on("tooltip:show",ts),d.on("tooltip:hide",tc),d.on("tooltip:disable",tu),d.on("tooltip:enable",tf),()=>{th(),d.off("tooltip:show",ts),d.off("tooltip:hide",tc),d.off("tooltip:disable",tu),d.off("tooltip:enable",tf),S?oA({root:t,single:b,emitter:d,nativeEvent:!1}):tl()}}function o$(t){let{shared:e,crosshairs:n,crosshairsX:r,crosshairsY:i,series:a,name:o,item:l=()=>({}),facet:s=!1}=t,c=oj(t,["shared","crosshairs","crosshairsX","crosshairsY","series","name","item","facet"]);return(t,o,u)=>{let{container:f,view:d}=t,{scale:h,markState:p,coordinate:g,theme:m}=d,y=oD(p,"seriesTooltip"),v=oD(p,"crosshairs"),b=aQ(f),x=oN(a,y),O=oN(n,v);if(x&&Array.from(p.values()).some(t=>{var e;return(null===(e=t.interaction)||void 0===e?void 0:e.seriesTooltip)&&t.tooltip})&&!s)return oF(b,Object.assign(Object.assign({},c),{theme:m,elements:aY,scale:h,coordinate:g,crosshairs:O,crosshairsX:oN(oN(r,n),!1),crosshairsY:oN(i,O),item:l,emitter:u}));if(x&&s){let e=o.filter(e=>e!==t&&e.options.parentKey===t.options.key),a=aV(t,o),s=e[0].view.scale,f=b.getBounds(),d=f.min[0],h=f.min[1];return Object.assign(s,{facet:!0}),oF(b.parentNode.parentNode,Object.assign(Object.assign({},c),{theme:m,elements:()=>a,scale:s,coordinate:g,crosshairs:oN(n,v),crosshairsX:oN(oN(r,n),!1),crosshairsY:oN(i,O),item:l,startX:d,startY:h,emitter:u}))}return function(t,e){let{elements:n,coordinate:r,scale:i,render:a,groupName:o,sort:l,filter:s,emitter:c,wait:u=50,leading:f=!0,trailing:d=!1,groupKey:h=t=>t,single:p=!0,position:g,enterable:m,datum:y,view:v,mount:b,bounding:x,theme:O,shared:w=!1,body:_=!0,disableNative:k=!1,preserve:C=!1,css:j={}}=e,M=n(t),S=(0,tK.ZP)(M,h),A=M.every(t=>"interval"===t.markType)&&!B(r),E=t=>t.__data__.x,P=i.x;A&&M.sort((t,e)=>E(t)-E(e));let R=A?e=>{let n=aK(t,e);if(!n)return;let i=(null==P?void 0:P.getBandWidth)?P.getBandWidth()/2:0,[a]=r.invert(n),o=(0,og.Z)(E).center,l=o(M,a-i);return M[l]}:t=>{let{target:e}=t;return oa(e,t=>!!t.classList&&t.classList.includes("element"))},Z=(0,op.Z)(e=>{let n=R(e);if(!n){oA({root:t,single:p,emitter:c,event:e});return}let r=h(n),u=S.get(r);if(!u)return;let f=1!==u.length||w?oT(u,i,o,void 0,O):function(t){let{__data__:e}=t,{title:n,items:r=[]}=e,i=r.filter(tS.ri).map(e=>{var{color:n=oR(t)}=e;return Object.assign(Object.assign({},oj(e,["color"])),{color:n})}).map(oP);return Object.assign(Object.assign({},n&&{title:n}),{items:i})}(u[0]);if(l&&f.items.sort((t,e)=>l(t)-l(e)),s&&(f.items=f.items.filter(s)),oz(f)){oA({root:t,single:p,emitter:c,event:e});return}let{offsetX:d,offsetY:y}=e;_&&oS({root:t,data:f,x:d,y:y,render:a,event:e,single:p,position:g,enterable:m,mount:b,bounding:x,css:j}),c.emit("tooltip:show",Object.assign(Object.assign({},e),{nativeEvent:!0,data:{data:o_(n,v)}}))},u,{leading:f,trailing:d}),T=e=>{oA({root:t,single:p,emitter:c,event:e})},L=()=>{k||(t.addEventListener("pointermove",Z),t.addEventListener("pointerleave",T))},I=()=>{k||(t.removeEventListener("pointermove",Z),t.removeEventListener("pointerleave",T))},D=t=>{let{nativeEvent:e,data:n}=t;if(e)return;let r=oe(M,n.data,y);if(!r)return;let i=r.getBBox(),{x:a,y:o,width:l,height:s}=i;Z({target:r,offsetX:a+l/2,offsetY:o+s/2})},N=function(){let{nativeEvent:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e||oA({root:t,single:p,emitter:c,nativeEvent:!1})};return c.on("tooltip:show",D),c.on("tooltip:hide",N),c.on("tooltip:enable",()=>{L()}),c.on("tooltip:disable",()=>{I(),oE({root:t,single:p})}),L(),()=>{I(),c.off("tooltip:show",D),c.off("tooltip:hide",N),C?oA({root:t,single:p,emitter:c,nativeEvent:!1}):oE({root:t,single:p})}}(b,Object.assign(Object.assign({},c),{datum:a2(d),elements:aY,scale:h,coordinate:g,groupKey:e?a1(d):void 0,item:l,emitter:u,view:d,theme:m,shared:e}))}}o$.props={reapplyWhenUpdate:!0};var oW=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})};let oH="legend-category";function oG(t){return t.getElementsByClassName("legend-category-item-marker")[0]}function oq(t){return t.getElementsByClassName("legend-category-item-label")[0]}function oY(t){return t.getElementsByClassName("items-item")}function oV(t){return t.getElementsByClassName(oH)}function oU(t){return t.getElementsByClassName("legend-continuous")}function oQ(t){let e=t.parentNode;for(;e&&!e.__data__;)e=e.parentNode;return e.__data__}function oX(t,e){let{legend:n,channel:r,value:i,ordinal:a,channels:o,allChannels:l,facet:s=!1}=e;return oW(this,void 0,void 0,function*(){let{view:e,update:c,setState:u}=t;u(n,t=>{let{marks:n}=t,c=n.map(t=>{if("legends"===t.type)return t;let{transform:n=[]}=t,c=n.findIndex(t=>{let{type:e}=t;return e.startsWith("group")||e.startsWith("bin")}),u=[...n];u.splice(c+1,0,{type:"filter",[r]:{value:i,ordinal:a}});let f=Object.fromEntries(o.map(t=>[t,{domain:e.scale[t].getOptions().domain}]));return(0,k.Z)({},t,Object.assign(Object.assign({transform:u,scale:f},!a&&{animate:!1}),{legend:!s&&Object.fromEntries(l.map(t=>[t,{preserve:!0}]))}))});return Object.assign(Object.assign({},t),{marks:c})}),yield c()})}function oK(t,e){for(let n of t)oX(n,Object.assign(Object.assign({},e),{facet:!0}))}var oJ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function o0(t,e){for(let[n,r]of Object.entries(e))t.style(n,r)}let o1=t2(t=>{let e=t.attributes,{x:n,y:r,width:i,height:a,class:o,renders:l={},handleSize:s=10,document:c}=e,u=oJ(e,["x","y","width","height","class","renders","handleSize","document"]);if(!c||void 0===i||void 0===a||void 0===n||void 0===r)return;let f=s/2,d=(t,e,n)=>{t.handle||(t.handle=n.createElement("rect"),t.append(t.handle));let{handle:r}=t;return r.attr(e),r},h=(0,tS.hB)((0,tS.C7)(u,"handleNW","handleNE"),"handleN"),{render:p=d}=h,g=oJ(h,["render"]),m=(0,tS.hB)(u,"handleE"),{render:y=d}=m,v=oJ(m,["render"]),b=(0,tS.hB)((0,tS.C7)(u,"handleSE","handleSW"),"handleS"),{render:x=d}=b,O=oJ(b,["render"]),w=(0,tS.hB)(u,"handleW"),{render:_=d}=w,k=oJ(w,["render"]),C=(0,tS.hB)(u,"handleNW"),{render:j=d}=C,M=oJ(C,["render"]),S=(0,tS.hB)(u,"handleNE"),{render:A=d}=S,E=oJ(S,["render"]),P=(0,tS.hB)(u,"handleSE"),{render:R=d}=P,Z=oJ(P,["render"]),T=(0,tS.hB)(u,"handleSW"),{render:L=d}=T,B=oJ(T,["render"]),I=(t,e)=>{let{id:n}=t,r=e(t,t.attributes,c);r.id=n,r.style.draggable=!0},D=t=>()=>{let e=t2(e=>I(e,t));return new e({})},N=(0,H.F)(t).attr("className",o).style("transform","translate(".concat(n,", ").concat(r,")")).style("draggable",!0);N.maybeAppend("selection","rect").style("draggable",!0).style("fill","transparent").call(o0,Object.assign(Object.assign({width:i,height:a},(0,tS.C7)(u,"handle")),{transform:void 0})),N.maybeAppend("handle-n",D(p)).style("x",f).style("y",-f).style("width",i-s).style("height",s).style("fill","transparent").call(o0,g),N.maybeAppend("handle-e",D(y)).style("x",i-f).style("y",f).style("width",s).style("height",a-s).style("fill","transparent").call(o0,v),N.maybeAppend("handle-s",D(x)).style("x",f).style("y",a-f).style("width",i-s).style("height",s).style("fill","transparent").call(o0,O),N.maybeAppend("handle-w",D(_)).style("x",-f).style("y",f).style("width",s).style("height",a-s).style("fill","transparent").call(o0,k),N.maybeAppend("handle-nw",D(j)).style("x",-f).style("y",-f).style("width",s).style("height",s).style("fill","transparent").call(o0,M),N.maybeAppend("handle-ne",D(A)).style("x",i-f).style("y",-f).style("width",s).style("height",s).style("fill","transparent").call(o0,E),N.maybeAppend("handle-se",D(R)).style("x",i-f).style("y",a-f).style("width",s).style("height",s).style("fill","transparent").call(o0,Z),N.maybeAppend("handle-sw",D(L)).style("x",-f).style("y",a-f).style("width",s).style("height",s).style("fill","transparent").call(o0,B)});function o2(t,e){var{brushed:n=()=>{},brushended:r=()=>{},brushcreated:i=()=>{},brushstarted:a=()=>{},brushupdated:o=()=>{},extent:l=function(t){let{width:e,height:n}=t.getBBox();return[0,0,e,n]}(t),brushRegion:s=(t,e,n,r,i)=>[t,e,n,r],reverse:c=!1,fill:u="#777",fillOpacity:f="0.3",stroke:d="#fff",selectedHandles:h=["handle-n","handle-e","handle-s","handle-w","handle-nw","handle-ne","handle-se","handle-sw"]}=e,p=oJ(e,["brushed","brushended","brushcreated","brushstarted","brushupdated","extent","brushRegion","reverse","fill","fillOpacity","stroke","selectedHandles"]);let g=null,m=null,y=null,v=null,b=null,x=!1,[O,w,_,k]=l;ot(t,"crosshair"),t.style.draggable=!0;let C=(t,e,n)=>{if(a(n),v&&v.remove(),b&&b.remove(),g=[t,e],c)return j();M()},j=()=>{b=new t1.y$({style:Object.assign(Object.assign({},p),{fill:u,fillOpacity:f,stroke:d,pointerEvents:"none"})}),v=new o1({style:{x:0,y:0,width:0,height:0,draggable:!0,document:t.ownerDocument},className:"mask"}),t.appendChild(b),t.appendChild(v)},M=()=>{v=new o1({style:Object.assign(Object.assign({document:t.ownerDocument,x:0,y:0},p),{fill:u,fillOpacity:f,stroke:d,draggable:!0}),className:"mask"}),t.appendChild(v)},S=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];v&&v.remove(),b&&b.remove(),g=null,m=null,y=null,x=!1,v=null,b=null,r(t)},A=function(t,e){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],[i,a,o,u]=function(t,e,n,r,i){let[a,o,l,s]=i;return[Math.max(a,Math.min(t,n)),Math.max(o,Math.min(e,r)),Math.min(l,Math.max(t,n)),Math.min(s,Math.max(e,r))]}(t[0],t[1],e[0],e[1],l),[f,d,h,p]=s(i,a,o,u,l);return c?P(f,d,h,p):E(f,d,h,p),n(f,d,h,p,r),[f,d,h,p]},E=(t,e,n,r)=>{v.style.x=t,v.style.y=e,v.style.width=n-t,v.style.height=r-e},P=(t,e,n,r)=>{b.style.d="\n M".concat(O,",").concat(w,"L").concat(_,",").concat(w,"L").concat(_,",").concat(k,"L").concat(O,",").concat(k,"Z\n M").concat(t,",").concat(e,"L").concat(t,",").concat(r,"L").concat(n,",").concat(r,"L").concat(n,",").concat(e,"Z\n "),v.style.x=t,v.style.y=e,v.style.width=n-t,v.style.height=r-e},R=t=>{let e=(t,e,n,r,i)=>t+ei?i-n:t,n=t[0]-y[0],r=t[1]-y[1],i=e(n,g[0],m[0],O,_),a=e(r,g[1],m[1],w,k),o=[g[0]+i,g[1]+a],l=[m[0]+i,m[1]+a];A(o,l)},Z={"handle-n":{vector:[0,1,0,0],cursor:"ns-resize"},"handle-e":{vector:[0,0,1,0],cursor:"ew-resize"},"handle-s":{vector:[0,0,0,1],cursor:"ns-resize"},"handle-w":{vector:[1,0,0,0],cursor:"ew-resize"},"handle-nw":{vector:[1,1,0,0],cursor:"nwse-resize"},"handle-ne":{vector:[0,1,1,0],cursor:"nesw-resize"},"handle-se":{vector:[0,0,1,1],cursor:"nwse-resize"},"handle-sw":{vector:[1,0,0,1],cursor:"nesw-resize"}},T=t=>B(t)||L(t),L=t=>{let{id:e}=t;return -1!==h.indexOf(e)&&new Set(Object.keys(Z)).has(e)},B=t=>t===v.getElementById("selection"),I=e=>{let{target:n}=e,[r,i]=aJ(t,e);if(!v||!T(n)){C(r,i,e),x=!0;return}T(n)&&(y=[r,i])},D=e=>{let{target:n}=e,r=aJ(t,e);if(!g)return;if(!y)return A(g,r);if(B(n))return R(r);let[i,a]=[r[0]-y[0],r[1]-y[1]],{id:o}=n;if(Z[o]){let[t,e,n,r]=Z[o].vector;return A([g[0]+i*t,g[1]+a*e],[m[0]+i*n,m[1]+a*r])}},N=e=>{if(y){y=null;let{x:t,y:n,width:r,height:i}=v.style;g=[t,n],m=[t+r,n+i],o(t,n,t+r,n+i,e);return}m=aJ(t,e);let[n,r,a,l]=A(g,m);x=!1,i(n,r,a,l,e)},z=t=>{let{target:e}=t;v&&!T(e)&&S()},F=e=>{let{target:n}=e;v&&T(n)&&!x?B(n)?ot(t,"move"):L(n)&&ot(t,Z[n.id].cursor):ot(t,"crosshair")},$=()=>{ot(t,"default")};return t.addEventListener("dragstart",I),t.addEventListener("drag",D),t.addEventListener("dragend",N),t.addEventListener("click",z),t.addEventListener("pointermove",F),t.addEventListener("pointerleave",$),{mask:v,move(t,e,n,r){let i=!(arguments.length>4)||void 0===arguments[4]||arguments[4];v||C(t,e,{}),g=[t,e],m=[n,r],A([t,e],[n,r],i)},remove(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];v&&S(t)},destroy(){v&&S(!1),ot(t,"default"),t.removeEventListener("dragstart",I),t.removeEventListener("drag",D),t.removeEventListener("dragend",N),t.removeEventListener("click",z),t.removeEventListener("pointermove",F),t.removeEventListener("pointerleave",$)}}}function o5(t,e,n){return e.filter(e=>{if(e===t)return!1;let{interaction:r={}}=e.options;return Object.values(r).find(t=>t.brushKey===n)})}function o3(t,e){var{elements:n,selectedHandles:r,siblings:i=t=>[],datum:a,brushRegion:o,extent:l,reverse:s,scale:c,coordinate:u,series:f=!1,key:d=t=>t,bboxOf:h=t=>{let{x:e,y:n,width:r,height:i}=t.style;return{x:e,y:n,width:r,height:i}},state:p={},emitter:g}=e,m=oJ(e,["elements","selectedHandles","siblings","datum","brushRegion","extent","reverse","scale","coordinate","series","key","bboxOf","state","emitter"]);let y=n(t),v=i(t),b=v.flatMap(n),x=a6(y,a),O=(0,tS.hB)(m,"mask"),{setState:w,removeState:_}=a5(p,x),k=new Map,{width:C,height:j,x:M=0,y:S=0}=h(t),A=()=>{for(let t of[...y,...b])_(t,"active","inactive")},E=(t,e,n,r)=>{var i;for(let t of v)null===(i=t.brush)||void 0===i||i.remove();let a=new Set;for(let i of y){let{min:o,max:l}=i.getLocalBounds(),[s,c]=o,[u,f]=l;!function(t,e){let[n,r,i,a]=t,[o,l,s,c]=e;return!(o>i||sa||c{for(let t of y)_(t,"inactive");for(let t of k.values())t.remove();k.clear()},R=(e,n,r,i)=>{let a=t=>{let e=t.cloneNode();return e.__data__=t.__data__,t.parentNode.appendChild(e),k.set(t,e),e},o=new t1.UL({style:{x:e+M,y:n+S,width:r-e,height:i-n}});for(let e of(t.appendChild(o),y)){let t=k.get(e)||a(e);t.style.clipPath=o,w(e,"inactive"),w(t,"active")}},Z=o2(t,Object.assign(Object.assign({},O),{extent:l||[0,0,C,j],brushRegion:o,reverse:s,selectedHandles:r,brushended:t=>{let e=f?P:A;t&&g.emit("brush:remove",{nativeEvent:!0}),e()},brushed:(t,e,n,r,i)=>{let a=au(t,e,n,r,c,u);i&&g.emit("brush:highlight",{nativeEvent:!0,data:{selection:a}});let o=f?R:E;o(t,e,n,r)},brushcreated:(t,e,n,r,i)=>{let a=au(t,e,n,r,c,u);g.emit("brush:end",Object.assign(Object.assign({},i),{nativeEvent:!0,data:{selection:a}}))},brushupdated:(t,e,n,r,i)=>{let a=au(t,e,n,r,c,u);g.emit("brush:end",Object.assign(Object.assign({},i),{nativeEvent:!0,data:{selection:a}}))},brushstarted:t=>{g.emit("brush:start",t)}})),T=t=>{let{nativeEvent:e,data:n}=t;if(e)return;let{selection:r}=n,[i,a,o,l]=function(t,e,n){let{x:r,y:i}=e,[a,o]=t,l=af(a,r),s=af(o,i),c=[l[0],s[0]],u=[l[1],s[1]],[f,d]=n.map(c),[h,p]=n.map(u);return[f,d,h,p]}(r,c,u);Z.move(i,a,o,l,!1)};g.on("brush:highlight",T);let L=function(){let{nativeEvent:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t||Z.remove(!1)};g.on("brush:remove",L);let B=Z.destroy.bind(Z);return Z.destroy=()=>{g.off("brush:highlight",T),g.off("brush:remove",L),B()},Z}function o4(t){var{facet:e,brushKey:n}=t,r=oJ(t,["facet","brushKey"]);return(t,i,a)=>{let{container:o,view:l,options:s}=t,c=aQ(o),u={maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",reverse:!1},f=["active",["inactive",{opacity:.5}]],{scale:d,coordinate:h}=l;if(e){let e=c.getBounds(),n=e.min[0],o=e.min[1],l=e.max[0],s=e.max[1];return o3(c.parentNode.parentNode,Object.assign(Object.assign({elements:()=>aV(t,i),datum:a2(aU(t,i).map(t=>t.view)),brushRegion:(t,e,n,r)=>[t,e,n,r],extent:[n,o,l,s],state:a4(aU(t,i).map(t=>t.options),f),emitter:a,scale:d,coordinate:h,selectedHandles:void 0},u),r))}let p=o3(c,Object.assign(Object.assign({elements:aY,key:t=>t.__data__.key,siblings:()=>o5(t,i,n).map(t=>aQ(t.container)),datum:a2([l,...o5(t,i,n).map(t=>t.view)]),brushRegion:(t,e,n,r)=>[t,e,n,r],extent:void 0,state:a4([s,...o5(t,i,n).map(t=>t.options)],f),emitter:a,scale:d,coordinate:h,selectedHandles:void 0},u),r));return c.brush=p,()=>p.destroy()}}function o6(t,e,n,r,i){let[,a,,o]=i;return[t,a,n,o]}function o8(t,e,n,r,i){let[a,,o]=i;return[a,e,o,r]}var o7=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let o9="axis-hot-area";function lt(t){return t.getElementsByClassName("axis")}function le(t){return t.getElementsByClassName("axis-line")[0]}function ln(t){return t.getElementsByClassName("axis-main-group")[0].getLocalBounds()}function lr(t,e){var{cross:n,offsetX:r,offsetY:i}=e,a=o7(e,["cross","offsetX","offsetY"]);let o=ln(t),l=le(t),[s]=l.getLocalBounds().min,[c,u]=o.min,[f,d]=o.max,h=(f-c)*2;return{brushRegion:o8,hotZone:new t1.UL({className:o9,style:Object.assign({width:n?h/2:h,transform:"translate(".concat((n?c:s-h/2).toFixed(2),", ").concat(u,")"),height:d-u},a)}),extent:n?(t,e,n,r)=>[-1/0,e,1/0,r]:(t,e,n,i)=>[Math.floor(c-r),e,Math.ceil(f-r),i]}}function li(t,e){var{offsetY:n,offsetX:r,cross:i=!1}=e,a=o7(e,["offsetY","offsetX","cross"]);let o=ln(t),l=le(t),[,s]=l.getLocalBounds().min,[c,u]=o.min,[f,d]=o.max,h=d-u;return{brushRegion:o6,hotZone:new t1.UL({className:o9,style:Object.assign({width:f-c,height:i?h:2*h,transform:"translate(".concat(c,", ").concat(i?u:s-h,")")},a)}),extent:i?(t,e,n,r)=>[t,-1/0,n,1/0]:(t,e,r,i)=>[t,Math.floor(u-n),r,Math.ceil(d-n)]}}var la=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function lo(t){var{hideX:e=!0,hideY:n=!0}=t,r=la(t,["hideX","hideY"]);return(t,i,a)=>{let{container:o,view:l,options:s,update:c,setState:u}=t,f=aQ(o),d=!1,h=!1,p=l,{scale:g,coordinate:m}=l;return function(t,e){var{filter:n,reset:r,brushRegion:i,extent:a,reverse:o,emitter:l,scale:s,coordinate:c,selection:u,series:f=!1}=e,d=la(e,["filter","reset","brushRegion","extent","reverse","emitter","scale","coordinate","selection","series"]);let h=(0,tS.hB)(d,"mask"),{width:p,height:g}=t.getBBox(),m=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300,e=null;return n=>{let{timeStamp:r}=n;return null!==e&&r-e{let{nativeEvent:e,data:r}=t;if(e)return;let{selection:i}=r;n(i,{nativeEvent:!1})};return l.on("brush:filter",b),()=>{y.destroy(),l.off("brush:filter",b),t.removeEventListener("click",v)}}(f,Object.assign(Object.assign({brushRegion:(t,e,n,r)=>[t,e,n,r],selection:(t,e,n,r)=>{let{scale:i,coordinate:a}=p;return au(t,e,n,r,i,a)},filter:(t,r)=>{var i,o,l,f;return i=this,o=void 0,l=void 0,f=function*(){if(h)return;h=!0;let[i,o]=t;u("brushFilter",t=>{let{marks:r}=t,a=r.map(t=>(0,k.Z)({axis:Object.assign(Object.assign({},e&&{x:{transform:[{type:"hide"}]}}),n&&{y:{transform:[{type:"hide"}]}})},t,{scale:{x:{domain:i,nice:!1},y:{domain:o,nice:!1}}}));return Object.assign(Object.assign({},s),{marks:a,clip:!0})}),a.emit("brush:filter",Object.assign(Object.assign({},r),{data:{selection:[i,o]}}));let l=yield c();p=l.view,h=!1,d=!0},new(l||(l=Promise))(function(t,e){function n(t){try{a(f.next(t))}catch(t){e(t)}}function r(t){try{a(f.throw(t))}catch(t){e(t)}}function a(e){var i;e.done?t(e.value):((i=e.value)instanceof l?i:new l(function(t){t(i)})).then(n,r)}a((f=f.apply(i,o||[])).next())})},reset:t=>{if(h||!d)return;let{scale:e}=l,{x:n,y:r}=e,i=n.getOptions().domain,o=r.getOptions().domain;a.emit("brush:filter",Object.assign(Object.assign({},t),{data:{selection:[i,o]}})),d=!1,p=l,u("brushFilter"),c()},extent:void 0,emitter:a,scale:g,coordinate:m},{maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",unhighlightedOpacity:.5,reverse:!1}),r))}}var ll=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})};function ls(t){return[t[0],t[t.length-1]]}function lc(t){let{initDomain:e={},className:n="slider",prefix:r="slider",setValue:i=(t,e)=>t.setValues(e),hasState:a=!1,wait:o=50,leading:l=!0,trailing:s=!1,getInitValues:c=t=>{var e;let n=null===(e=null==t?void 0:t.attributes)||void 0===e?void 0:e.values;if(0!==n[0]||1!==n[1])return n}}=t;return(t,u,f)=>{let{container:d,view:h,update:p,setState:g}=t,m=d.getElementsByClassName(n);if(!m.length)return()=>{};let y=!1,{scale:v,coordinate:b,layout:x}=h,{paddingLeft:O,paddingTop:w,paddingBottom:_,paddingRight:C}=x,{x:j,y:M}=v,S=L(b),A=t=>{let e="vertical"===t?"y":"x",n="vertical"===t?"x":"y";return S?[n,e]:[e,n]},E=new Map,P=new Set,R={x:e.x||j.getOptions().domain,y:e.y||M.getOptions().domain};for(let t of m){let{orientation:e}=t.attributes,[n,u]=A(e),d="".concat(r).concat((0,iZ.Z)(n),":filter"),h="x"===n,{ratio:m}=j.getOptions(),{ratio:b}=M.getOptions(),x=t=>{if(t.data){let{selection:e}=t.data,[n=ls(R.x),r=ls(R.y)]=e;return h?[ac(j,n,m),ac(M,r,b)]:[ac(M,r,b),ac(j,n,m)]}let{value:r}=t.detail,i=v[n],a=function(t,e,n){let[r,i]=t,a=n?t=>1-t:t=>t,o=as(e,a(r),!0),l=as(e,a(i),!1);return ac(e,[o,l])}(r,i,S&&"horizontal"===e),o=R[u];return[a,o]},Z=(0,op.Z)(e=>ll(this,void 0,void 0,function*(){let{initValue:i=!1}=e;if(y&&!i)return;y=!0;let{nativeEvent:o=!0}=e,[l,s]=x(e);if(R[n]=l,R[u]=s,o){let t=h?l:s,n=h?s:l;f.emit(d,Object.assign(Object.assign({},e),{nativeEvent:o,data:{selection:[ls(t),ls(n)]}}))}g(t,t=>Object.assign(Object.assign({},function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"x",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"y",{marks:o}=t,l=o.map(t=>{var o,l;return(0,k.Z)({axis:{x:{transform:[{type:"hide"}]},y:{transform:[{type:"hide"}]}}},t,{scale:e,[n]:Object.assign(Object.assign({},(null===(o=t[n])||void 0===o?void 0:o[i])&&{[i]:Object.assign({preserve:!0},r&&{ratio:null})}),(null===(l=t[n])||void 0===l?void 0:l[a])&&{[a]:{preserve:!0}}),animate:!1})});return Object.assign(Object.assign({},t),{marks:l,clip:!0,animate:!1})}(t,{[n]:{domain:l,nice:!1}},r,a,n,u)),{paddingLeft:O,paddingTop:w,paddingBottom:_,paddingRight:C})),yield p(),y=!1}),o,{leading:l,trailing:s}),T=e=>{let{nativeEvent:n}=e;if(n)return;let{data:r}=e,{selection:a}=r,[o,l]=a;t.dispatchEvent(new t1.Aw("valuechange",{data:r,nativeEvent:!1}));let s=h?af(o,j):af(l,M);i(t,s)};f.on(d,T),t.addEventListener("valuechange",Z),E.set(t,Z),P.add([d,T]);let L=c(t);L&&t.dispatchEvent(new t1.Aw("valuechange",{detail:{value:L},nativeEvent:!1,initValue:!0}))}return p(),()=>{for(let[t,e]of E)t.removeEventListener("valuechange",e);for(let[t,e]of P)f.off(t,e)}}}let lu="g2-scrollbar";function lf(t){return t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()})}var ld=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let lh={backgroundColor:"rgba(0,0,0,0.75)",color:"#fff",width:"max-content",padding:"1px 4px",fontSize:"12px",borderRadius:"2.5px",boxShadow:"0 3px 6px -4px rgba(0,0,0,0.12), 0 6px 16px 0 rgba(0,0,0,0.08), 0 9px 28px 8px rgba(0,0,0,0.05)"};function lp(t){return"text"===t.nodeName&&!!t.isOverflowing()}function lg(t){var{offsetX:e=8,offsetY:n=8}=t,r=ld(t,["offsetX","offsetY"]);return t=>{let{container:i}=t,[a,o]=i.getBounds().min,l=(0,tS.hB)(r,"tip"),s=new Set,c=t=>{var r;let{target:c}=t;if(!lp(c)){t.stopPropagation();return}let{offsetX:u,offsetY:f}=t,d=u+e-a,h=f+n-o;if(c.tip){c.tip.style.x=d,c.tip.style.y=h;return}let{text:p}=c.style,g=new t1.k9({className:"poptip",style:{innerHTML:(r=Object.assign(Object.assign({},lh),l),"<".concat("div",' style="').concat(Object.entries(r).map(t=>{let[e,n]=t;return"".concat(e.replace(/([A-Z])/g,"-$1").toLowerCase(),":").concat(n)}).join(";"),'">').concat(p,"")),x:d,y:h}});i.appendChild(g),c.tip=g,s.add(g)},u=t=>{let{target:e}=t;if(!lp(e)){t.stopPropagation();return}e.tip&&(e.tip.remove(),e.tip=null,s.delete(e.tip))};return i.addEventListener("pointerover",c),i.addEventListener("pointerout",u),()=>{i.removeEventListener("pointerover",c),i.removeEventListener("pointerout",u),s.forEach(t=>t.remove())}}}lg.props={reapplyWhenUpdate:!0};var lm=n(7745),ly=n(53032),lv=n(89205),lb=n(38523),lx=n(23413),lO=n(47370),lw=n(70569),l_=n(70239),lk=n(36849),lC=n(71831),lj=n(54786),lM=n(58834),lS=n(84173),lA=n(33533);function lE(t,e,n){var r;let{value:i}=n,a=function(t,e){let n={treemapBinary:l_.Z,treemapDice:lk.Z,treemapSlice:lC.Z,treemapSliceDice:lj.Z,treemapSquarify:lM.ZP,treemapResquarify:lS.Z},r="treemapSquarify"===t?n[t].ratio(e):n[t];if(!r)throw TypeError("Invalid tile method!");return r}(e.tile,e.ratio),o=(r=e.path,Array.isArray(t)?"function"==typeof r?(0,lO.Z)().path(r)(t):(0,lO.Z)()(t):(0,lw.ZP)(t));(0,ai.Z)(t)?function t(e){let n=(0,ly.Z)(e,["data","name"]);n.replaceAll&&(e.path=n.replaceAll(".","/").split("/")),e.children&&e.children.forEach(e=>{t(e)})}(o):function t(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[e.data.name];e.id=e.id||e.data.name,e.path=n,e.children&&e.children.forEach(r=>{r.id="".concat(e.id,"/").concat(r.data.name),r.path=[...n,r.data.name],t(r,r.path)})}(o),i?o.sum(t=>e.ignoreParentValue&&t.children?0:tH(i)(t)).sort(e.sort):o.count(),(0,lA.Z)().tile(a).size(e.size).round(e.round).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft)(o);let l=o.descendants().map(t=>Object.assign(t,{id:t.id.replace(/^\//,""),x:[t.x0,t.x1],y:[t.y0,t.y1]})),s=l.filter("function"==typeof e.layer?e.layer:t=>t.height===e.layer);return[s,l]}var lP=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let lR={breadCrumbFill:"rgba(0, 0, 0, 0.85)",breadCrumbFontSize:12,breadCrumbY:12,activeFill:"rgba(0, 0, 0, 0.5)"};var lZ=n(71154),lT=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})},lL=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let lB={pointR:6,pointStrokeWidth:1,pointStroke:"#888",pointActiveStroke:"#f5f5f5",pathStroke:"#888",pathLineDash:[3,4],labelFontSize:12,labelFill:"#888",labelStroke:"#fff",labelLineWidth:1,labelY:-6,labelX:2},lI="movePoint",lD=t=>{let e=t.target,{markType:n}=e;"line"===n&&(e.attr("_lineWidth",e.attr("lineWidth")||1),e.attr("lineWidth",e.attr("_lineWidth")+3)),"interval"===n&&(e.attr("_opacity",e.attr("opacity")||1),e.attr("opacity",.7*e.attr("_opacity")))},lN=t=>{let e=t.target,{markType:n}=e;"line"===n&&e.attr("lineWidth",e.attr("_lineWidth")),"interval"===n&&e.attr("opacity",e.attr("_opacity"))},lz=(t,e,n)=>e.map(e=>{let r=["x","color"].reduce((r,i)=>{let a=n[i];return a?e[a]===t[a]&&r:r},!0);return r?Object.assign(Object.assign({},e),t):e}),lF=t=>{let e=(0,ly.Z)(t,["__data__","y"]),n=(0,ly.Z)(t,["__data__","y1"]),r=n-e,{__data__:{data:i,encode:a,transform:o},childNodes:l}=t.parentNode,s=(0,lv.Z)(o,t=>{let{type:e}=t;return"normalizeY"===e}),c=(0,ly.Z)(a,["y","field"]),u=i[l.indexOf(t)][c];return function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return s||e?t/(1-t)/(r/(1-r))*u:t}},l$=(t,e)=>{let n=(0,ly.Z)(t,["__data__","seriesItems",e,"0","value"]),r=(0,ly.Z)(t,["__data__","seriesIndex",e]),{__data__:{data:i,encode:a,transform:o}}=t.parentNode,l=(0,lv.Z)(o,t=>{let{type:e}=t;return"normalizeY"===e}),s=(0,ly.Z)(a,["y","field"]),c=i[r][s];return t=>l?1===n?t:t/(1-t)/(n/(1-n))*c:t},lW=(t,e,n)=>{t.forEach((t,r)=>{t.attr("stroke",e[1]===r?n.activeStroke:n.stroke)})},lH=(t,e,n,r)=>{let i=new t1.y$({style:n}),a=new t1.xv({style:r});return e.appendChild(a),t.appendChild(i),[i,a]},lG=(t,e)=>{let n=(0,ly.Z)(t,["options","range","indexOf"]);if(!n)return;let r=t.options.range.indexOf(e);return t.sortedDomain[r]},lq=(t,e,n)=>{let r=on(t,e),i=on(t,n),a=i/r,o=t[0]+(e[0]-t[0])*a,l=t[1]+(e[1]-t[1])*a;return[o,l]};var lY=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function lV(t){return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i1?n-1:0),i=1;ie.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let lK=()=>t=>{let{children:e}=t;if(!Array.isArray(e))return[];let{x:n=0,y:r=0,width:i,height:a,data:o}=t;return e.map(t=>{var{data:e,x:l,y:s,width:c,height:u}=t;return Object.assign(Object.assign({},lX(t,["data","x","y","width","height"])),{data:lQ(e,o),x:null!=l?l:n,y:null!=s?s:r,width:null!=c?c:i,height:null!=u?u:a})})};lK.props={};var lJ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let l0=()=>t=>{let{children:e}=t;if(!Array.isArray(e))return[];let{direction:n="row",ratio:r=e.map(()=>1),padding:i=0,data:a}=t,[o,l,s,c]="col"===n?["y","height","width","x"]:["x","width","height","y"],u=r.reduce((t,e)=>t+e),f=t[l]-i*(e.length-1),d=r.map(t=>f*(t/u)),h=[],p=t[o]||0;for(let n=0;n1?e-1:0),r=1;re.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let l5=lV(t=>{let{encode:e,data:n,scale:r,shareSize:i=!1}=t,{x:a,y:o}=e,l=(t,e)=>{var a;if(void 0===t||!i)return{};let o=(0,tK.ZP)(n,e=>e[t]),l=(null===(a=null==r?void 0:r[e])||void 0===a?void 0:a.domain)||Array.from(o.keys()),s=l.map(t=>o.has(t)?o.get(t).length:1);return{domain:l,flex:s}};return{scale:{x:Object.assign(Object.assign({paddingOuter:0,paddingInner:.1,guide:void 0===a?null:{position:"top"}},void 0===a&&{paddingInner:0}),l(a,"x")),y:Object.assign(Object.assign({range:[0,1],paddingOuter:0,paddingInner:.1,guide:void 0===o?null:{position:"right"}},void 0===o&&{paddingInner:0}),l(o,"y"))}}}),l3=lV(t=>{let e,n,r;let{data:i,scale:a}=t,o=[t];for(;o.length;){let t=o.shift(),{children:i,encode:a={},scale:l={},legend:s={}}=t,{color:c}=a,{color:u}=l,{color:f}=s;void 0!==c&&(e=c),void 0!==u&&(n=u),void 0!==f&&(r=f),Array.isArray(i)&&o.push(...i)}let l="string"==typeof e?e:"",[s,c]=(()=>{var t;let n=null===(t=null==a?void 0:a.color)||void 0===t?void 0:t.domain;if(void 0!==n)return[n];if(void 0===e)return[void 0];let r="function"==typeof e?e:t=>t[e],o=i.map(r);return o.some(t=>"number"==typeof t)?[(0,tr.Z)(o)]:[Array.from(new Set(o)),"ordinal"]})();return{encode:{color:e},scale:{color:(0,k.Z)({},n,{domain:s,type:c})},legend:{color:(0,k.Z)({title:l},r)}}}),l4=lV(()=>({animate:{enterType:"fadeIn"}})),l6=lU(()=>({frame:!1,encode:{shape:"hollow"},style:{lineWidth:0}})),l8=lU(()=>({type:"cell"})),l7=lU(t=>{let{data:e}=t;return{data:{type:"inline",value:e,transform:[{type:"custom",callback:()=>{let{data:e,encode:n}=t,{x:r,y:i}=n,a=r?Array.from(new Set(e.map(t=>t[r]))):[],o=i?Array.from(new Set(e.map(t=>t[i]))):[];return(()=>{if(a.length&&o.length){let t=[];for(let e of a)for(let n of o)t.push({[r]:e,[i]:n});return t}return a.length?a.map(t=>({[r]:t})):o.length?o.map(t=>({[i]:t})):void 0})()}}]}}}),l9=lU(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:st,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:sn,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:sr,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},{data:a,encode:o,children:l,scale:s,x:c=0,y:u=0,shareData:f=!1,key:d}=t,{value:h}=a,{x:p,y:g}=o,{color:m}=s,{domain:y}=m;return{children:(t,a,o)=>{let{x:s,y:m}=a,{paddingLeft:v,paddingTop:b,marginLeft:x,marginTop:O}=o,{domain:w}=s.getOptions(),{domain:_}=m.getOptions(),C=ta(t),j=t.map(e),M=t.map(t=>{let{x:e,y:n}=t;return[s.invert(e),m.invert(n)]}),S=M.map(t=>{let[e,n]=t;return t=>{let{[p]:r,[g]:i}=t;return(void 0===p||r===e)&&(void 0===g||i===n)}}),A=S.map(t=>h.filter(t)),E=f?(0,rH.Z)(A,t=>t.length):void 0,P=M.map(t=>{let[e,n]=t;return{columnField:p,columnIndex:w.indexOf(e),columnValue:e,columnValuesLength:w.length,rowField:g,rowIndex:_.indexOf(n),rowValue:n,rowValuesLength:_.length}}),R=P.map(t=>Array.isArray(l)?l:[l(t)].flat(1));return C.flatMap(t=>{let[e,a,o,l]=j[t],s=P[t],f=A[t],m=R[t];return m.map(m=>{var w,_,{scale:C,key:j,facet:M=!0,axis:S={},legend:A={}}=m,P=l2(m,["scale","key","facet","axis","legend"]);let R=(null===(w=null==C?void 0:C.y)||void 0===w?void 0:w.guide)||S.y,Z=(null===(_=null==C?void 0:C.x)||void 0===_?void 0:_.guide)||S.x,T=M?f:0===f.length?[]:h,L={x:si(Z,n)(s,T),y:si(R,r)(s,T)};return Object.assign(Object.assign({key:"".concat(j,"-").concat(t),data:T,margin:0,x:e+v+c+x,y:a+b+u+O,parentKey:d,width:o,height:l,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!!T.length,dataDomain:E,scale:(0,k.Z)({x:{tickCount:p?5:void 0},y:{tickCount:g?5:void 0}},C,{color:{domain:y}}),axis:(0,k.Z)({},S,L),legend:!1},P),i)})})}}});function st(t){let{points:e}=t;return X(e)}function se(t,e){return e.length?(0,k.Z)({title:!1,tick:null,label:null},t):(0,k.Z)({title:!1,tick:null,label:null,grid:null},t)}function sn(t){return(e,n)=>{let{rowIndex:r,rowValuesLength:i,columnIndex:a,columnValuesLength:o}=e;if(r!==i-1)return se(t,n);let l=n.length?void 0:null;return(0,k.Z)({title:a===o-1&&void 0,grid:l},t)}}function sr(t){return(e,n)=>{let{rowIndex:r,columnIndex:i}=e;if(0!==i)return se(t,n);let a=n.length?void 0:null;return(0,k.Z)({title:0===r&&void 0,grid:a},t)}}function si(t,e){return"function"==typeof t?t:null===t||!1===t?()=>null:e(t)}let sa=()=>t=>{let e=l1.of(t).call(l8).call(l3).call(l4).call(l5).call(l6).call(l7).call(l9).value();return[e]};sa.props={};var so=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let sl=lV(t=>({scale:{x:{guide:null,paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),ss=lU(t=>{let{data:e,children:n,x:r=0,y:i=0,key:a}=t;return{children:(t,o,l)=>{let{x:s,y:c}=o,{paddingLeft:u,paddingTop:f,marginLeft:d,marginTop:h}=l,{domain:p}=s.getOptions(),{domain:g}=c.getOptions(),m=ta(t),y=t.map(t=>{let{points:e}=t;return X(e)}),v=t.map(t=>{let{x:e,y:n}=t;return[s.invert(e),c.invert(n)]}),b=v.map(t=>{let[e,n]=t;return{columnField:e,columnIndex:p.indexOf(e),columnValue:e,columnValuesLength:p.length,rowField:n,rowIndex:g.indexOf(n),rowValue:n,rowValuesLength:g.length}}),x=b.map(t=>Array.isArray(n)?n:[n(t)].flat(1));return m.flatMap(t=>{let[n,o,l,s]=y[t],[c,p]=v[t],g=b[t],m=x[t];return m.map(m=>{var y,v;let{scale:b,key:x,encode:O,axis:w,interaction:_}=m,C=so(m,["scale","key","encode","axis","interaction"]),j=null===(y=null==b?void 0:b.y)||void 0===y?void 0:y.guide,M=null===(v=null==b?void 0:b.x)||void 0===v?void 0:v.guide,S={x:("function"==typeof M?M:null===M?()=>null:(t,e)=>{let{rowIndex:n,rowValuesLength:r}=t;if(n!==r-1)return se(M,e)})(g,e),y:("function"==typeof j?j:null===j?()=>null:(t,e)=>{let{columnIndex:n}=t;if(0!==n)return se(j,e)})(g,e)};return Object.assign({data:e,parentKey:a,key:"".concat(x,"-").concat(t),x:n+u+r+d,y:o+f+i+h,width:l,height:s,margin:0,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!0,scale:(0,k.Z)({x:{facet:!1},y:{facet:!1}},b),axis:(0,k.Z)({x:{tickCount:5},y:{tickCount:5}},w,S),legend:!1,encode:(0,k.Z)({},O,{x:c,y:p}),interaction:(0,k.Z)({},_,{legendFilter:!1})},C)})})}}}),sc=lU(t=>{let{encode:e}=t,n=so(t,["encode"]),{position:r=[],x:i=r,y:a=[...r].reverse()}=e,o=so(e,["position","x","y"]),l=[];for(let t of[i].flat(1))for(let e of[a].flat(1))l.push({$x:t,$y:e});return Object.assign(Object.assign({},n),{data:l,encode:Object.assign(Object.assign({},o),{x:"$x",y:"$y"}),scale:Object.assign(Object.assign({},1===[i].flat(1).length&&{x:{paddingInner:0}}),1===[a].flat(1).length&&{y:{paddingInner:0}})})});var su=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let sf=lV(t=>({scale:{x:{guide:{type:"axisArc"},paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),sd=lV(t=>({coordinate:{type:"polar"}})),sh=t=>{let{encode:e}=t,n=su(t,["encode"]),{position:r}=e;return Object.assign(Object.assign({},n),{encode:{x:r}})};function sp(t){return t=>null}function sg(t){let{points:e}=t,[n,r,i,a]=e,o=Y(n,a),l=G(n,a),s=G(r,i),c=Q(l,s),u=1/Math.sin(c/2),f=o/(1+u),d=f*Math.sqrt(2),[h,p]=i,g=U(l),m=g+c/2,y=f*u,v=h+y*Math.sin(m),b=p-y*Math.cos(m);return[v-d/2,b-d/2,d,d]}let sm=()=>t=>{let{children:e=[],duration:n=1e3,iterationCount:r=1,direction:i="normal",easing:a="ease-in-out-sine"}=t,o=e.length;if(!Array.isArray(e)||0===o)return[];let{key:l}=e[0],s=e.map(t=>Object.assign(Object.assign({},t),{key:l})).map(t=>(function(t,e,n){let r=[t];for(;r.length;){let t=r.pop();t.animate=(0,k.Z)({enter:{duration:e},update:{duration:e,easing:n,type:"morphing",fill:"both"},exit:{type:"fadeOut",duration:e}},t.animate||{});let{children:i}=t;Array.isArray(i)&&r.push(...i)}return t})(t,n,a));return function*(){let t,e=0;for(;"infinite"===r||e{var e;return[t,null===(e=A(r,t))||void 0===e?void 0:e[0]]}).filter(t=>{let[,e]=t;return(0,tS.ri)(e)});return Array.from((0,tK.ZP)(e,t=>i.map(e=>{let[,n]=e;return n[t]}).join("-")).values())}function sx(t){return Array.isArray(t)?(e,n,r)=>(n,r)=>t.reduce((t,i)=>0!==t?t:(0,sy.Z)(e[n][i],e[r][i]),0):"function"==typeof t?(e,n,r)=>sM(n=>t(e[n])):"series"===t?s_:"value"===t?sk:"sum"===t?sC:"maxIndex"===t?sj:()=>null}function sO(t,e){for(let n of t)n.sort(e)}function sw(t,e){return(null==e?void 0:e.domain)||Array.from(new Set(t))}function s_(t,e,n){return sM(t=>n[t])}function sk(t,e,n){return sM(t=>e[t])}function sC(t,e,n){let r=ta(t),i=Array.from((0,tK.ZP)(r,t=>n[+t]).entries()),a=new Map(i.map(t=>{let[n,r]=t;return[n,r.reduce((t,n)=>t+ +e[n])]}));return sM(t=>a.get(n[t]))}function sj(t,e,n){let r=ta(t),i=Array.from((0,tK.ZP)(r,t=>n[+t]).entries()),a=new Map(i.map(t=>{let[n,r]=t;return[n,(0,sv.Z)(r,t=>e[t])]}));return sM(t=>a.get(n[t]))}function sM(t){return(e,n)=>(0,sy.Z)(t(e),t(n))}let sS=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x",orderBy:n=null,reverse:r=!1,y:i="y",y1:a="y1",series:o=!0}=t;return(t,l)=>{let{data:s,encode:c,style:u={}}=l,[f,d]=A(c,"y"),[h,p]=A(c,"y1"),[g]=o?E(c,"series","color"):A(c,"color"),m=sb(e,t,l),y=sx(n),v=y(s,f,g);v&&sO(m,v);let b=Array(t.length),x=Array(t.length),O=Array(t.length),w=[],_=[];for(let t of m){r&&t.reverse();let e=h?+h[t[0]]:0,n=[],i=[];for(let r of t){let t=O[r]=+f[r]-e;t<0?i.push(r):t>=0&&n.push(r)}let a=n.length>0?n:i,o=i.length>0?i:n,l=n.length-1,s=0;for(;l>0&&0===f[a[l]];)l--;for(;s0?u=b[t]=(x[t]=u)+e:b[t]=x[t]=u}}let M=new Set(w),S=new Set(_),P="y"===i?b:x,R="y"===a?b:x;return[t,(0,k.Z)({},l,{encode:{y0:j(f,d),y:C(P,d),y1:C(R,p)},style:Object.assign({first:(t,e)=>M.has(e),last:(t,e)=>S.has(e)},u)})]}};sS.props={};var sA=n(52362),sE=n(87568),sP=n(76132),sR=n(90155),sZ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function sT(t){return e=>null===e?t:"".concat(t," of ").concat(e)}function sL(){let t=sT("mean");return[(t,e)=>(0,ob.Z)(t,t=>+e[t]),t]}function sB(){let t=sT("median");return[(t,e)=>(0,sP.Z)(t,t=>+e[t]),t]}function sI(){let t=sT("max");return[(t,e)=>(0,rH.Z)(t,t=>+e[t]),t]}function sD(){let t=sT("min");return[(t,e)=>(0,rW.Z)(t,t=>+e[t]),t]}function sN(){let t=sT("count");return[(t,e)=>t.length,t]}function sz(){let t=sT("sum");return[(t,e)=>(0,sR.Z)(t,t=>+e[t]),t]}function sF(){let t=sT("first");return[(t,e)=>e[t[0]],t]}function s$(){let t=sT("last");return[(t,e)=>e[t[t.length-1]],t]}let sW=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e}=t,n=sZ(t,["groupBy"]);return(t,r)=>{let{data:i,encode:a}=r,o=e(t,r);if(!o)return[t,r];let l=(t,e)=>{if(t)return t;let{from:n}=e;if(!n)return t;let[,r]=A(a,n);return r},s=Object.entries(n).map(t=>{let[e,n]=t,[r,s]=function(t){if("function"==typeof t)return[t,null];let e={mean:sL,max:sI,count:sN,first:sF,last:s$,sum:sz,min:sD,median:sB}[t];if(!e)throw Error("Unknown reducer: ".concat(t,"."));return e()}(n),[c,u]=A(a,e),f=l(u,n),d=o.map(t=>r(t,null!=c?c:i));return[e,Object.assign(Object.assign({},function(t,e){let n=C(t,e);return Object.assign(Object.assign({},n),{constant:!1})}(d,(null==s?void 0:s(f))||f)),{aggregate:!0})]}),c=Object.keys(a).map(t=>{let[e,n]=A(a,t),r=o.map(t=>e[t[0]]);return[t,C(r,n)]}),u=o.map(t=>i[t[0]]),f=ta(o);return[f,(0,k.Z)({},r,{data:u,encode:Object.fromEntries([...c,...s])})]}};sW.props={};var sH=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let sG="thresholds",sq=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupChannels:e=["color"],binChannels:n=["x","y"]}=t,r=sH(t,["groupChannels","binChannels"]),i={};return sW(Object.assign(Object.assign(Object.assign({},Object.fromEntries(Object.entries(r).filter(t=>{let[e]=t;return!e.startsWith(sG)}))),Object.fromEntries(n.flatMap(t=>{let e=e=>{let[n]=e;return+i[t].get(n).split(",")[1]};return e.from=t,[[t,e=>{let[n]=e;return+i[t].get(n).split(",")[0]}],["".concat(t,"1"),e]]}))),{groupBy:(t,a)=>{let{encode:o}=a,l=n.map(t=>{let[e]=A(o,t);return e}),s=(0,tS.hB)(r,sG),c=t.filter(t=>l.every(e=>(0,tS.ri)(e[t]))),u=[...e.map(t=>{let[e]=A(o,t);return e}).filter(tS.ri).map(t=>e=>t[e]),...n.map((t,e)=>{let n=l[e],r=s[t]||function(t){let[e,n]=(0,tr.Z)(t);return Math.min(200,(0,sA.Z)(t,e,n))}(n),a=(0,sE.Z)().thresholds(r).value(t=>+n[t])(c),o=new Map(a.flatMap(t=>{let{x0:e,x1:n}=t,r="".concat(e,",").concat(n);return t.map(t=>[t,r])}));return i[t]=o,t=>o.get(t)})];return Array.from((0,tK.ZP)(c,t=>u.map(e=>e(t)).join("-")).values())}}))};sq.props={};let sY=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{thresholds:e}=t;return sq(Object.assign(Object.assign({},t),{thresholdsX:e,groupChannels:["color"],binChannels:["x"]}))};sY.props={};var sV=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let sU=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x",reverse:n=!1,orderBy:r,padding:i}=t;return sV(t,["groupBy","reverse","orderBy","padding"]),(t,a)=>{let{data:o,encode:l,scale:s}=a,{series:c}=s,[u]=A(l,"y"),[f]=E(l,"series","color"),d=sw(f,c),h=sb(e,t,a),p=sx(r),g=p(o,u,f);g&&sO(h,g);let m=Array(t.length);for(let t of h){n&&t.reverse();for(let e=0;e0&&void 0!==arguments[0]?arguments[0]:{},{padding:e=0,paddingX:n=e,paddingY:r=e,random:i=Math.random}=t;return(t,e)=>{let{encode:a,scale:o}=e,{x:l,y:s}=o,[c]=A(a,"x"),[u]=A(a,"y"),f=sQ(c,l,n),d=sQ(u,s,r),h=t.map(()=>(function(t,e,n){return e*(1-t)+n*t})(i(),...d)),p=t.map(()=>(function(t,e,n){return e*(1-t)+n*t})(i(),...f));return[t,(0,k.Z)({scale:{x:{padding:.5},y:{padding:.5}}},e,{encode:{dy:C(h),dx:C(p)}})]}};sX.props={};let sK=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{padding:e=0,random:n=Math.random}=t;return(t,r)=>{let{encode:i,scale:a}=r,{x:o}=a,[l]=A(i,"x"),s=sQ(l,o,e),c=t.map(()=>(function(t,e,n){return e*(1-t)+n*t})(n(),...s));return[t,(0,k.Z)({scale:{x:{padding:.5}}},r,{encode:{dx:C(c)}})]}};sK.props={};let sJ=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{padding:e=0,random:n=Math.random}=t;return(t,r)=>{let{encode:i,scale:a}=r,{y:o}=a,[l]=A(i,"y"),s=sQ(l,o,e),c=t.map(()=>(function(t,e,n){return e*(1-t)+n*t})(n(),...s));return[t,(0,k.Z)({scale:{y:{padding:.5}}},r,{encode:{dy:C(c)}})]}};sJ.props={};var s0=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let s1=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x"}=t;return(t,n)=>{let{encode:r}=n,{x:i}=r,a=s0(r,["x"]),o=Object.entries(a).filter(t=>{let[e]=t;return e.startsWith("y")}).map(t=>{let[e]=t;return[e,A(r,e)[0]]}),l=o.map(e=>{let[n]=e;return[n,Array(t.length)]}),s=sb(e,t,n),c=Array(s.length);for(let t=0;to.map(e=>{let[,n]=e;return+n[t]})),[r,i]=(0,tr.Z)(n);c[t]=(r+i)/2}let u=Math.max(...c);for(let t=0;t{let[e,n]=t;return[e,C(n,A(r,e)[1])]}))})]}};s1.props={};let s2=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x",series:n=!0}=t;return(t,r)=>{let{encode:i}=r,[a]=A(i,"y"),[o,l]=A(i,"y1"),[s]=n?E(i,"series","color"):A(i,"color"),c=sb(e,t,r),u=Array(t.length);for(let t of c){let e=t.map(t=>+a[t]);for(let n=0;ne!==n));u[r]=a[r]>i?i:a[r]}}return[t,(0,k.Z)({},r,{encode:{y1:C(u,l)}})]}};s2.props={};let s5=t=>{let{groupBy:e=["x"],reducer:n=(t,e)=>e[t[0]],orderBy:r=null,reverse:i=!1,duration:a}=t;return(t,o)=>{let{encode:l}=o,s=Array.isArray(e)?e:[e],c=s.map(t=>[t,A(l,t)[0]]);if(0===c.length)return[t,o];let u=[t];for(let[,t]of c){let e=[];for(let n of u){let r=Array.from((0,tK.ZP)(n,e=>t[e]).values());e.push(...r)}u=e}if(r){let[t]=A(l,r);t&&u.sort((e,r)=>n(e,t)-n(r,t)),i&&u.reverse()}let f=(a||3e3)/u.length,[d]=a?[S(t,f)]:E(l,"enterDuration",S(t,f)),[h]=E(l,"enterDelay",S(t,0)),p=Array(t.length);for(let t=0,e=0;t+d[t]);for(let t of n)p[t]=+h[t]+e;e+=r}return[t,(0,k.Z)({},o,{encode:{enterDuration:M(d),enterDelay:M(p)}})]}};s5.props={};var s3=n(93209),s4=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let s6=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x",basis:n="max"}=t;return(t,r)=>{let{encode:i,tooltip:a}=r,{x:o}=i,l=s4(i,["x"]),s=Object.entries(l).filter(t=>{let[e]=t;return e.startsWith("y")}).map(t=>{let[e]=t;return[e,A(i,e)[0]]}),[,c]=s.find(t=>{let[e]=t;return"y"===e}),u=s.map(e=>{let[n]=e;return[n,Array(t.length)]}),f=sb(e,t,r),d="function"==typeof n?n:({min:(t,e)=>(0,rW.Z)(t,t=>e[+t]),max:(t,e)=>(0,rH.Z)(t,t=>e[+t]),first:(t,e)=>e[t[0]],last:(t,e)=>e[t[t.length-1]],mean:(t,e)=>(0,ob.Z)(t,t=>e[+t]),median:(t,e)=>(0,sP.Z)(t,t=>e[+t]),sum:(t,e)=>(0,sR.Z)(t,t=>e[+t]),deviation:(t,e)=>(0,s3.Z)(t,t=>e[+t])})[n]||rH.Z;for(let t of f){let e=d(t,c);for(let n of t)for(let t=0;t{let[e,n]=t;return[e,C(n,A(i,e)[1])]}))},!h&&i.y0&&{tooltip:{items:[{channel:"y0"}]}}))]}};function s8(t,e){return[t[0]]}function s7(t,e){let n=t.length-1;return[t[n]]}function s9(t,e){let n=(0,sv.Z)(t,t=>e[t]);return[t[n]]}function ct(t,e){let n=(0,ov.Z)(t,t=>e[t]);return[t[n]]}s6.props={};let ce=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="series",channel:n,selector:r}=t;return(t,i)=>{let{encode:a}=i,o=sb(e,t,i),[l]=A(a,n),s="function"==typeof r?r:({first:s8,last:s7,max:s9,min:ct})[r]||s8;return[o.flatMap(t=>s(t,l)),i]}};ce.props={};var cn=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let cr=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{selector:e}=t,n=cn(t,["selector"]);return ce(Object.assign({channel:"x",selector:e},n))};cr.props={};var ci=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let ca=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{selector:e}=t,n=ci(t,["selector"]);return ce(Object.assign({channel:"y",selector:e},n))};ca.props={};var co=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let cl=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{channels:e=["x","y"]}=t,n=co(t,["channels"]);return sW(Object.assign(Object.assign({},n),{groupBy:(t,n)=>sb(e,t,n)}))};cl.props={};let cs=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return cl(Object.assign(Object.assign({},t),{channels:["x","color","series"]}))};cs.props={};let cc=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return cl(Object.assign(Object.assign({},t),{channels:["y","color","series"]}))};cc.props={};let cu=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return cl(Object.assign(Object.assign({},t),{channels:["color"]}))};cu.props={};var cf=n(28085),cd=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let ch=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{reverse:e=!1,slice:n,channel:r,ordinal:i=!0}=t,a=cd(t,["reverse","slice","channel","ordinal"]);return(t,o)=>i?function(t,e,n){var r;let{reverse:i,slice:a,channel:o}=n,l=cd(n,["reverse","slice","channel"]),{encode:s,scale:c={}}=e,u=null===(r=c[o])||void 0===r?void 0:r.domain,[f]=A(s,o),d=function(t,e,n){let{by:r=t,reducer:i="max"}=e,[a]=A(n,r);if("function"==typeof i)return t=>i(t,a);if("max"===i)return t=>(0,rH.Z)(t,t=>+a[t]);if("min"===i)return t=>(0,rW.Z)(t,t=>+a[t]);if("sum"===i)return t=>(0,sR.Z)(t,t=>+a[t]);if("median"===i)return t=>(0,sP.Z)(t,t=>+a[t]);if("mean"===i)return t=>(0,ob.Z)(t,t=>+a[t]);if("first"===i)return t=>a[t[0]];if("last"===i)return t=>a[t[t.length-1]];throw Error("Unknown reducer: ".concat(i))}(o,l,s),h=function(t,e,n){if(!Array.isArray(n))return t;let r=new Set(n);return t.filter(t=>r.has(e[t]))}(t,f,u),p=(0,cf.Z)(h,d,t=>f[t]);i&&p.reverse();let g=a?p.slice(..."number"==typeof a?[0,a]:a):p;return[t,(0,k.Z)(e,{scale:{[o]:{domain:g}}})]}(t,o,Object.assign({reverse:e,slice:n,channel:r},a)):function(t,e,n){let{reverse:r,channel:i}=n,{encode:a}=e,[o]=A(a,i),l=(0,ao.Z)(t,t=>o[t]);return r&&l.reverse(),[l,e]}(t,o,Object.assign({reverse:e,slice:n,channel:r},a))};ch.props={};let cp=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ch(Object.assign(Object.assign({},t),{channel:"x"}))};cp.props={};let cg=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ch(Object.assign(Object.assign({},t),{channel:"y"}))};cg.props={};let cm=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ch(Object.assign(Object.assign({},t),{channel:"color"}))};cm.props={};let cy=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{field:e,channel:n="y",reducer:r="sum"}=t;return(t,i)=>{let{data:a,encode:o}=i,[l]=A(o,"x"),s=e?"string"==typeof e?a.map(t=>t[e]):a.map(e):A(o,n)[0],c=function(t,e){if("function"==typeof t)return n=>t(n,e);if("sum"===t)return t=>(0,sR.Z)(t,t=>+e[t]);throw Error("Unknown reducer: ".concat(t))}(r,s),u=(0,tK.Q3)(t,c,t=>l[t]).map(t=>t[1]);return[t,(0,k.Z)({},i,{scale:{x:{flex:u}}})]}};cy.props={};let cv=t=>(e,n)=>[e,(0,k.Z)({},n,{modifier:function(t){let{padding:e=0,direction:n="col"}=t;return(t,r,i)=>{let a=t.length;if(0===a)return[];let{innerWidth:o,innerHeight:l}=i,s=Math.ceil(Math.sqrt(r/(l/o))),c=o/s,u=Math.ceil(r/s),f=u*c;for(;f>l;)s+=1,c=o/s,f=(u=Math.ceil(r/s))*c;let d=l-u*c,h=u<=1?0:d/(u-1),[p,g]=u<=1?[(o-a*c)/(a-1),(l-c)/2]:[0,0];return t.map((t,r)=>{let[i,a,o,l]=X(t),f="col"===n?r%s:Math.floor(r/u),m="col"===n?Math.floor(r/s):r%u,y=f*c,v=(u-m-1)*c+d,b=(c-e)/o,x=(c-e)/l;return"translate(".concat(y-i+p*f+.5*e,", ").concat(v-a-h*m-g+.5*e,") scale(").concat(b,", ").concat(x,")")})}}(t),axis:!1})];cv.props={};var cb=n(80091);function cx(t,e,n,r){let i,a,o;let l=t.length;if(r>=l||0===r)return t;let s=n=>1*e[t[n]],c=e=>1*n[t[e]],u=[],f=(l-2)/(r-2),d=0;u.push(d);for(let t=0;ti&&(i=a,o=g);u.push(o),d=o}return u.push(l-1),u.map(e=>t[e])}let cO=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{strategy:e="median",thresholds:n=2e3,groupBy:r=["series","color"]}=t,i=function(t){if("function"==typeof t)return t;if("lttb"===t)return cx;let e={first:t=>[t[0]],last:t=>[t[t.length-1]],min:(t,e,n)=>[t[(0,ov.Z)(t,t=>n[t])]],max:(t,e,n)=>[t[(0,sv.Z)(t,t=>n[t])]],median:(t,e,n)=>[t[(0,cb.medianIndex)(t,t=>n[t])]]},n=e[t]||e.median;return(t,e,r,i)=>{let a=Math.max(1,Math.floor(t.length/i)),o=function(t,e){let n=t.length,r=[],i=0;for(;in(t,e,r))}}(e);return(t,e)=>{let{encode:a}=e,o=sb(r,t,e),[l]=A(a,"x"),[s]=A(a,"y");return[o.flatMap(t=>i(t,l,s,n)),e]}};cO.props={};let cw=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e,n)=>{let{encode:r,data:i}=n,a=Object.entries(t).map(t=>{let[e,n]=t,[i]=A(r,e);if(!i)return null;let[a,o=!0]="object"==typeof n?[n.value,n.ordinal]:[n,!0];if("function"==typeof a)return t=>a(i[t]);if(o){let t=Array.isArray(a)?a:[a];return 0===t.length?null:e=>t.includes(i[e])}{let[t,e]=a;return n=>i[n]>=t&&i[n]<=e}}).filter(tS.ri);if(0===a.length)return[e,n];let o=e.filter(t=>a.every(e=>e(t))),l=o.map((t,e)=>e),s=Object.entries(r).map(t=>{let[e,n]=t;return[e,Object.assign(Object.assign({},n),{value:l.map(t=>n.value[o[t]]).filter(t=>void 0!==t)})]});return[l,(0,k.Z)({},n,{encode:Object.fromEntries(s),data:o.map(t=>i[t])})]}};cw.props={};var c_=n(42132),ck=n(6586);let cC=t=>{let{value:e,format:n=e.split(".").pop(),delimiter:r=",",autoType:i=!0}=t;return()=>{var t,a,o,l;return t=void 0,a=void 0,o=void 0,l=function*(){let t=yield fetch(e);if("csv"===n){let e=yield t.text();return(0,c_.Z)(r).parse(e,i?ck.Z:tS.yR)}if("json"===n)return yield t.json();throw Error("Unknown format: ".concat(n,"."))},new(o||(o=Promise))(function(e,n){function r(t){try{s(l.next(t))}catch(t){n(t)}}function i(t){try{s(l.throw(t))}catch(t){n(t)}}function s(t){var n;t.done?e(t.value):((n=t.value)instanceof o?n:new o(function(t){t(n)})).then(r,i)}s((l=l.apply(t,a||[])).next())})}};cC.props={};let cj=t=>{let{value:e}=t;return()=>e};cj.props={};let cM=t=>{let{fields:e=[]}=t,n=e.map(t=>{if(Array.isArray(t)){let[e,n=!0]=t;return[e,n]}return[t,!0]});return t=>[...t].sort((t,e)=>n.reduce((n,r)=>{let[i,a=!0]=r;return 0!==n?n:a?t[i]e[i]?-1:+(t[i]!==e[i])},0))};cM.props={};let cS=t=>{let{callback:e}=t;return t=>Array.isArray(t)?[...t].sort(e):t};function cA(t){return null!=t&&!Number.isNaN(t)}cS.props={};let cE=t=>{let{callback:e=cA}=t;return t=>t.filter(e)};cE.props={};let cP=t=>{let{fields:e}=t;return t=>t.map(t=>(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.reduce((e,n)=>(n in t&&(e[n]=t[n]),e),{})})(t,e))};cP.props={};let cR=t=>e=>t&&0!==Object.keys(t).length?e.map(e=>Object.entries(e).reduce((e,n)=>{let[r,i]=n;return e[t[r]||r]=i,e},{})):e;cR.props={};let cZ=t=>{let{fields:e,key:n="key",value:r="value"}=t;return t=>e&&0!==Object.keys(e).length?t.flatMap(t=>e.map(e=>Object.assign(Object.assign({},t),{[n]:e,[r]:t[e]}))):t};cZ.props={};let cT=t=>{let{start:e,end:n}=t;return t=>t.slice(e,n)};cT.props={};let cL=t=>{let{callback:e=tS.yR}=t;return t=>e(t)};cL.props={};let cB=t=>{let{callback:e=tS.yR}=t;return t=>Array.isArray(t)?t.map(e):t};function cI(t){return"string"==typeof t?e=>e[t]:t}cB.props={};let cD=t=>{let{join:e,on:n,select:r=[],as:i=r,unknown:a=NaN}=t,[o,l]=n,s=cI(l),c=cI(o),u=(0,tK.jJ)(e,t=>{let[e]=t;return e},t=>s(t));return t=>t.map(t=>{let e=u.get(c(t));return Object.assign(Object.assign({},t),r.reduce((t,n,r)=>(t[i[r]]=e?e[n]:a,t),{}))})};cD.props={};var cN=n(53843),cz=n.n(cN);let cF=t=>{let{field:e,groupBy:n,as:r=["y","size"],min:i,max:a,size:o=10,width:l}=t,[s,c]=r;return t=>{let r=Array.from((0,tK.ZP)(t,t=>n.map(e=>t[e]).join("-")).values());return r.map(t=>{let n=cz().create(t.map(t=>t[e]),{min:i,max:a,size:o,width:l}),r=n.map(t=>t.x),u=n.map(t=>t.y);return Object.assign(Object.assign({},t[0]),{[s]:r,[c]:u})})}};cF.props={};let c$=()=>t=>(console.log("G2 data section:",t),t);c$.props={};let cW=Math.PI/180;function cH(t){return t.text}function cG(){return"serif"}function cq(){return"normal"}function cY(t){return t.value}function cV(){return 90*~~(2*Math.random())}function cU(){return 1}function cQ(){}function cX(t){let e=t[0]/t[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function cK(t){let e=[],n=-1;for(;++ne.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let c2={fontSize:[20,60],font:"Impact",padding:2,rotate:function(){return(~~(6*Math.random())-3)*30}};function c5(t){return new Promise((e,n)=>{if(t instanceof HTMLImageElement){e(t);return}if("string"==typeof t){let r=new Image;r.crossOrigin="anonymous",r.src=t,r.onload=()=>e(r),r.onerror=()=>{console.error("'image ".concat(t," load failed !!!'")),n()};return}n()})}let c3=t=>e=>{var n,r,i,a;return n=void 0,r=void 0,i=void 0,a=function*(){let n=Object.assign({},c2,t),r=function(){let t=[256,256],e=cH,n=cG,r=cY,i=cq,a=cV,o=cU,l=cX,s=Math.random,c=cQ,u=[],f=null,d=1/0,h={};return h.start=function(){let[p,g]=t,m=function(t){t.width=t.height=1;let e=Math.sqrt(t.getContext("2d").getImageData(0,0,1,1).data.length>>2);t.width=2048/e,t.height=2048/e;let n=t.getContext("2d");return n.fillStyle=n.strokeStyle="red",n.textAlign="center",n.textBaseline="middle",{context:n,ratio:e}}(document.createElement("canvas")),y=h.board?h.board:cK((t[0]>>5)*t[1]),v=u.length,b=[],x=u.map(function(t,l,s){return t.text=e.call(this,t,l,s),t.font=n.call(this,t,l,s),t.style=cq.call(this,t,l,s),t.weight=i.call(this,t,l,s),t.rotate=a.call(this,t,l,s),t.size=~~r.call(this,t,l,s),t.padding=o.call(this,t,l,s),t}).sort(function(t,e){return e.size-t.size}),O=-1,w=h.board?[{x:0,y:0},{x:p,y:g}]:void 0;function _(){let e=Date.now();for(;Date.now()-e>1,e.y=g*(s()+.5)>>1,function(t,e,n,r){if(e.sprite)return;let i=t.context,a=t.ratio;i.clearRect(0,0,2048/a,2048/a);let o=0,l=0,s=0,c=n.length;for(--r;++r>5<<5,c=~~Math.max(Math.abs(a+o),Math.abs(a-o))}else t=t+31>>5<<5;if(c>s&&(s=c),o+t>=2048&&(o=0,l+=s,s=0),l+c>=2048)break;i.translate((o+(t>>1))/a,(l+(c>>1))/a),e.rotate&&i.rotate(e.rotate*cW),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=t,e.height=c,e.xoff=o,e.yoff=l,e.x1=t>>1,e.y1=c>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,o+=t}let u=i.getImageData(0,0,2048/a,2048/a).data,f=[];for(;--r>=0;){if(!(e=n[r]).hasText)continue;let t=e.width,i=t>>5,a=e.y1-e.y0;for(let t=0;t>5),r=u[(l+n)*2048+(o+e)<<2]?1<<31-e%32:0;f[t]|=r,s|=r}s?c=n:(e.y0++,a--,n--,l++)}e.y1=e.y0+c,e.sprite=f.slice(0,(e.y1-e.y0)*i)}}(m,e,x,O),e.hasText&&function(e,n,r){let i=n.x,a=n.y,o=Math.sqrt(t[0]*t[0]+t[1]*t[1]),c=l(t),u=.5>s()?1:-1,f,d=-u,h,p;for(;(f=c(d+=u))&&!(Math.min(Math.abs(h=~~f[0]),Math.abs(p=~~f[1]))>=o);)if(n.x=i+h,n.y=a+p,!(n.x+n.x0<0)&&!(n.y+n.y0<0)&&!(n.x+n.x1>t[0])&&!(n.y+n.y1>t[1])&&(!r||!function(t,e,n){n>>=5;let r=t.sprite,i=t.width>>5,a=t.x-(i<<4),o=127&a,l=32-o,s=t.y1-t.y0,c=(t.y+t.y0)*n+(a>>5),u;for(let t=0;t>>o:0))&e[c+n])return!0;c+=n}return!1}(n,e,t[0]))&&(!r||n.x+n.x1>r[0].x&&n.x+n.x0r[0].y&&n.y+n.y0>5,a=t[0]>>5,o=n.x-(i<<4),l=127&o,s=32-l,c=n.y1-n.y0,u,f=(n.y+n.y0)*a+(o>>5);for(let t=0;t>>l:0);f+=a}return delete n.sprite,!0}return!1}(y,e,w)&&(c.call(null,"word",{cloud:h,word:e}),b.push(e),w?h.hasImage||function(t,e){let n=t[0],r=t[1];e.x+e.x0r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}(w,e):w=[{x:e.x+e.x0,y:e.y+e.y0},{x:e.x+e.x1,y:e.y+e.y1}],e.x-=t[0]>>1,e.y-=t[1]>>1)}h._tags=b,h._bounds=w,O>=v&&(h.stop(),c.call(null,"end",{cloud:h,words:b,bounds:w}))}return f&&clearInterval(f),f=setInterval(_,0),_(),h},h.stop=function(){return f&&(clearInterval(f),f=null),h},h.createMask=e=>{let n=document.createElement("canvas"),[r,i]=t;if(!r||!i)return;let a=r>>5,o=cK((r>>5)*i);n.width=r,n.height=i;let l=n.getContext("2d");l.drawImage(e,0,0,e.width,e.height,0,0,r,i);let s=l.getImageData(0,0,r,i).data;for(let t=0;t>5),i=t*r+e<<2,l=s[i]>=250&&s[i+1]>=250&&s[i+2]>=250,c=l?1<<31-e%32:0;o[n]|=c}h.board=o,h.hasImage=!0},h.timeInterval=function(t){d=null==t?1/0:t},h.words=function(t){u=t},h.size=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t=[+e[0],+e[1]]},h.text=function(t){e=cJ(t)},h.font=function(t){n=cJ(t)},h.fontWeight=function(t){i=cJ(t)},h.rotate=function(t){a=cJ(t)},h.spiral=function(t){l=c0[t]||t},h.fontSize=function(t){r=cJ(t)},h.padding=function(t){o=cJ(t)},h.random=function(t){s=cJ(t)},h.on=function(t){c=cJ(t)},h}();yield({set(t,e,i){if(void 0===n[t])return this;let a=e?e.call(null,n[t]):n[t];return i?i.call(null,a):"function"==typeof r[t]?r[t](a):r[t]=a,this},setAsync(t,e,i){var a,o,l,s;return a=this,o=void 0,l=void 0,s=function*(){if(void 0===n[t])return this;let a=e?yield e.call(null,n[t]):n[t];return i?i.call(null,a):"function"==typeof r[t]?r[t](a):r[t]=a,this},new(l||(l=Promise))(function(t,e){function n(t){try{i(s.next(t))}catch(t){e(t)}}function r(t){try{i(s.throw(t))}catch(t){e(t)}}function i(e){var i;e.done?t(e.value):((i=e.value)instanceof l?i:new l(function(t){t(i)})).then(n,r)}i((s=s.apply(a,o||[])).next())})}}).set("fontSize",t=>{let n=e.map(t=>t.value);return function(t,e){if("function"==typeof t)return t;if(Array.isArray(t)){let[n,r]=t;if(!e)return()=>(r+n)/2;let[i,a]=e;return a===i?()=>(r+n)/2:t=>{let{value:e}=t;return(r-n)/(a-i)*(e-i)+n}}return()=>t}(t,[(0,rW.Z)(n),(0,rH.Z)(n)])}).set("font").set("fontStyle").set("fontWeight").set("padding").set("rotate").set("size").set("spiral").set("timeInterval").set("random").set("text").set("on").setAsync("imageMask",c5,r.createMask),r.words([...e]);let i=r.start(),[a,o]=n.size,{_bounds:l=[{x:0,y:0},{x:a,y:o}],_tags:s,hasImage:c}=i,u=s.map(t=>{var{x:e,y:n,font:r}=t;return Object.assign(Object.assign({},c1(t,["x","y","font"])),{x:e+a/2,y:n+o/2,fontFamily:r})}),[{x:f,y:d},{x:h,y:p}]=l,g={text:"",value:0,opacity:0,fontSize:0};return u.push(Object.assign(Object.assign({},g),{x:c?0:f,y:c?0:d}),Object.assign(Object.assign({},g),{x:c?a:h,y:c?o:p})),u},new(i||(i=Promise))(function(t,e){function o(t){try{s(a.next(t))}catch(t){e(t)}}function l(t){try{s(a.throw(t))}catch(t){e(t)}}function s(e){var n;e.done?t(e.value):((n=e.value)instanceof i?n:new i(function(t){t(n)})).then(o,l)}s((a=a.apply(n,r||[])).next())})};function c4(t){let{min:e,max:n}=t;return[[e[0],e[1]],[n[0],n[1]]]}function c6(t,e){let[n,r]=t,[i,a]=e;return n>=i[0]&&n<=a[0]&&r>=i[1]&&r<=a[1]}function c8(){let t=new Map;return[e=>t.get(e),(e,n)=>t.set(e,n)]}function c7(t){let e=t/255;return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}function c9(t,e,n){return .2126*c7(t)+.7152*c7(e)+.0722*c7(n)}function ut(t,e){let{r:n,g:r,b:i}=t,{r:a,g:o,b:l}=e,s=c9(n,r,i),c=c9(a,o,l);return(Math.max(s,c)+.05)/(Math.min(s,c)+.05)}c3.props={};let ue=(t,e)=>{let[[n,r],[i,a]]=e,[[o,l],[s,c]]=t,u=0,f=0;return oi&&(u=i-s),la&&(f=a-c),[u,f]};var un=n(30348),ur=n(70603);function ui(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if((0,tS.Qp)(t)||Array.isArray(t)&&r)return t;let i=(0,tS.hB)(t,e);return(0,k.Z)(n,i)}function ua(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,tS.Qp)(t)||Array.isArray(t)||!uo(t)?t:(0,k.Z)(e,t)}function uo(t){if(0===Object.keys(t).length)return!0;let{title:e,items:n}=t;return void 0!==e||void 0!==n}function ul(t,e){return"object"==typeof t?(0,tS.hB)(t,e):t}var us=n(60261),uc=n(33487),uu=n(84699),uf=n(58271),ud=n(72051),uh=n(26477),up=n(75053),ug=n(40552),um=n(11261),uy=n(40916),uv=n(93437),ub=n(32427),ux=n(23007),uO=n(38839),uw=n(50435),u_=n(30378),uk=n(17421),uC=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function uj(t){let{data:e}=t;if(Array.isArray(e))return Object.assign(Object.assign({},t),{data:{value:e}});let{type:n}=e;return"graticule10"===n?Object.assign(Object.assign({},t),{data:{value:[(0,ur.e)()]}}):"sphere"===n?Object.assign(Object.assign({},t),{sphere:!0,data:{value:[{type:"Sphere"}]}}):t}function uM(t){return"geoPath"===t.type}let uS=()=>t=>{let e;let{children:n,coordinate:r={}}=t;if(!Array.isArray(n))return[];let{type:i="equalEarth"}=r,o=uC(r,["type"]),l=function(t){if("function"==typeof t)return t;let e="geo".concat((0,iZ.Z)(t)),n=a[e];if(!n)throw Error("Unknown coordinate: ".concat(t));return n}(i),s=n.map(uj);return[Object.assign(Object.assign({},t),{type:"view",scale:{x:{type:"identity"},y:{type:"identity"}},axis:!1,coordinate:{type:function(){return[["custom",(t,n,r,i)=>{let a=l();!function(t,e,n,r){let{outline:i=(()=>{let t=e.filter(uM),n=t.find(t=>t.sphere);return n?{type:"Sphere"}:{type:"FeatureCollection",features:t.filter(t=>!t.sphere).flatMap(t=>t.data.value).flatMap(t=>(function(t){if(!t||!t.type)return null;let e={Point:"geometry",MultiPoint:"geometry",LineString:"geometry",MultiLineString:"geometry",Polygon:"geometry",MultiPolygon:"geometry",GeometryCollection:"geometry",Feature:"feature",FeatureCollection:"featureCollection"}[t.type];return e?"geometry"===e?{type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:t}]}:"feature"===e?{type:"FeatureCollection",features:[t]}:"featureCollection"===e?t:void 0:null})(t).features)}})()}=r,{size:a="fitExtent"}=r;"fitExtent"===a?function(t,e,n){let{x:r,y:i,width:a,height:o}=n;t.fitExtent([[r,i],[a,o]],e)}(t,i,n):"fitWidth"===a&&function(t,e,n){let{width:r,height:i}=n,[[a,o],[l,s]]=(0,un.Z)(t.fitWidth(r,e)).bounds(e),c=Math.ceil(s-o),u=Math.min(Math.ceil(l-a),c),f=t.scale()*(u-1)/u,[d,h]=t.translate();t.scale(f).translate([d,h+(i-c)/2]).precision(.2)}(t,i,n)}(a,s,{x:t,y:n,width:r,height:i},o),function(t,e){var n;for(let[r,i]of Object.entries(e))null===(n=t[r])||void 0===n||n.call(t,i)}(a,o),e=(0,un.Z)(a);let c=new te.b({domain:[t,t+r]}),u=new te.b({domain:[n,n+i]}),f=t=>{let e=a(t);if(!e)return[null,null];let[n,r]=e;return[c.map(n),u.map(r)]},d=t=>{if(!t)return null;let[e,n]=t,r=[c.invert(e),u.invert(n)];return a.invert(r)};return{transform:t=>f(t),untransform:t=>d(t)}}]]}},children:s.flatMap(t=>uM(t)?function(t){let{style:n,tooltip:r={}}=t;return Object.assign(Object.assign({},t),{type:"path",tooltip:ua(r,{title:"id",items:[{channel:"color"}]}),style:Object.assign(Object.assign({},n),{d:t=>e(t)||[]})})}(t):t)})]};uS.props={};var uA=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let uE=()=>t=>{let{type:e,data:n,scale:r,encode:i,style:a,animate:o,key:l,state:s}=t,c=uA(t,["type","data","scale","encode","style","animate","key","state"]);return[Object.assign(Object.assign({type:"geoView"},c),{children:[{type:"geoPath",key:"".concat(l,"-0"),data:{value:n},scale:r,encode:i,style:a,animate:o,state:s}]})]};uE.props={};var uP=n(43231),uR=n(58571),uZ=n(69299),uT=n(77715),uL=n(26464),uB=n(32878),uI=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let uD={joint:!0},uN={type:"link",axis:!1,legend:!1,encode:{x:[t=>t.source.x,t=>t.target.x],y:[t=>t.source.y,t=>t.target.y]},style:{stroke:"#999",strokeOpacity:.6}},uz={type:"point",axis:!1,legend:!1,encode:{x:"x",y:"y",size:5,color:"group",shape:"point"},style:{stroke:"#fff"}},uF={text:""},u$=t=>{let{data:e,encode:n={},scale:r,style:i={},layout:a={},nodeLabels:o=[],linkLabels:l=[],animate:s={},tooltip:c={}}=t,{nodeKey:u=t=>t.id,linkKey:f=t=>t.id}=n,d=uI(n,["nodeKey","linkKey"]),h=Object.assign({nodeKey:u,linkKey:f},d),p=(0,tS.hB)(h,"node"),g=(0,tS.hB)(h,"link"),{links:m,nodes:y}=tq(e,h),{nodesData:v,linksData:b}=function(t,e,n){let{nodes:r,links:i}=t,{joint:a,nodeStrength:o,linkStrength:l}=e,{nodeKey:s=t=>t.id,linkKey:c=t=>t.id}=n,u=(0,uP.Z)(),f=(0,uR.Z)(i).id(tH(c));"function"==typeof o&&u.strength(o),"function"==typeof l&&f.strength(l);let d=(0,uZ.Z)(r).force("link",f).force("charge",u);a?d.force("center",(0,uT.Z)()):d.force("x",(0,uL.Z)()).force("y",(0,uB.Z)()),d.stop();let h=Math.ceil(Math.log(d.alphaMin())/Math.log(1-d.alphaDecay()));for(let t=0;t({name:"source",value:tH(f)(t.source)}),t=>({name:"target",value:tH(f)(t.target)})]}),O=ui(c,"node",{items:[t=>({name:"key",value:tH(u)(t)})]},!0);return[(0,k.Z)({},uN,{data:b,encode:g,labels:l,style:(0,tS.hB)(i,"link"),tooltip:x,animate:ul(s,"link")}),(0,k.Z)({},uz,{data:v,encode:Object.assign({},p),scale:r,style:(0,tS.hB)(i,"node"),tooltip:O,labels:[Object.assign(Object.assign({},uF),(0,tS.hB)(i,"label")),...o],animate:ul(s,"link")})]};u$.props={};var uW=n(81594),uH=n(95608);let uG=t=>e=>n=>{let{field:r="value",nodeSize:i,separation:a,sortBy:o,as:l=["x","y"]}=e,[s,c]=l,u=(0,lw.ZP)(n,t=>t.children).sum(t=>t[r]).sort(o),f=t();f.size([1,1]),i&&f.nodeSize(i),a&&f.separation(a),f(u);let d=[];u.each(t=>{t[s]=t.x,t[c]=t.y,t.name=t.data.name,d.push(t)});let h=u.links();return h.forEach(t=>{t[s]=[t.source[s],t.target[s]],t[c]=[t.source[c],t.target[c]]}),{nodes:d,edges:h}},uq=t=>uG(uH.Z)(t);uq.props={};let uY=t=>uG(uW.Z)(t);uY.props={};let uV={sortBy:(t,e)=>e.value-t.value},uU={axis:!1,legend:!1,type:"point",encode:{x:"x",y:"y",size:2,shape:"point"}},uQ={type:"link",encode:{x:"x",y:"y",shape:"smooth"}},uX={text:"",fontSize:10},uK=t=>{let{data:e,encode:n={},scale:r={},style:i={},layout:a={},nodeLabels:o=[],linkLabels:l=[],animate:s={},tooltip:c={}}=t,u=null==n?void 0:n.value,{nodes:f,edges:d}=uY(Object.assign(Object.assign(Object.assign({},uV),a),{field:u}))(e),h=ui(c,"node",{title:"name",items:["value"]},!0),p=ui(c,"link",{title:"",items:[t=>({name:"source",value:t.source.name}),t=>({name:"target",value:t.target.name})]});return[(0,k.Z)({},uQ,{data:d,encode:(0,tS.hB)(n,"link"),scale:(0,tS.hB)(r,"link"),labels:l,style:Object.assign({stroke:"#999"},(0,tS.hB)(i,"link")),tooltip:p,animate:ul(s,"link")}),(0,k.Z)({},uU,{data:f,scale:(0,tS.hB)(r,"node"),encode:(0,tS.hB)(n,"node"),labels:[Object.assign(Object.assign({},uX),(0,tS.hB)(i,"label")),...o],style:Object.assign({},(0,tS.hB)(i,"node")),tooltip:h,animate:ul(s,"node")})]};uK.props={};var uJ=n(45571),u0=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let u1=(t,e)=>({size:[t,e],padding:0,sort:(t,e)=>e.value-t.value}),u2=(t,e,n)=>({type:"point",axis:!1,legend:!1,scale:{x:{domain:[0,t]},y:{domain:[0,e]},size:{type:"identity"}},encode:{x:"x",y:"y",size:"r",shape:"point"},style:{fill:n.color?void 0:t=>0===t.height?"#ddd":"#fff",stroke:n.color?void 0:t=>0===t.height?"":"#000"}}),u5={text:"",position:"inside",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:t=>2*t.r},u3={title:t=>t.data.name,items:[{field:"value"}]},u4=(t,e,n)=>{let{value:r}=n,i=(0,ai.Z)(t)?(0,lO.Z)().path(e.path)(t):(0,lw.ZP)(t);return r?i.sum(t=>tH(r)(t)).sort(e.sort):i.count(),(0,uJ.Z)().size(e.size).padding(e.padding)(i),i.descendants()},u6=(t,e)=>{let{width:n,height:r}=e,{data:i,encode:a={},scale:o={},style:l={},layout:s={},labels:c=[],tooltip:u={}}=t,f=u0(t,["data","encode","scale","style","layout","labels","tooltip"]),d=u2(n,r,a),h=u4(i,(0,k.Z)({},u1(n,r),s),(0,k.Z)({},d.encode,a)),p=(0,tS.hB)(l,"label");return(0,k.Z)({},d,Object.assign(Object.assign({data:h,encode:a,scale:o,style:l,labels:[Object.assign(Object.assign({},u5),p),...c]},f),{tooltip:ua(u,u3),axis:!1}))};function u8(t){return t.target.depth}function u7(t,e){return t.sourceLinks.length?t.depth:e-1}function u9(t){return function(){return t}}function ft(t,e){return fn(t.source,e.source)||t.index-e.index}function fe(t,e){return fn(t.target,e.target)||t.index-e.index}function fn(t,e){return t.y0-e.y0}function fr(t){return t.value}function fi(t){return t.index}function fa(t){return t.nodes}function fo(t){return t.links}function fl(t,e){let n=t.get(e);if(!n)throw Error("missing: "+e);return n}function fs(t){let{nodes:e}=t;for(let t of e){let e=t.y0,n=e;for(let n of t.sourceLinks)n.y0=e+n.width/2,e+=n.width;for(let e of t.targetLinks)e.y1=n+e.width/2,n+=e.width}}u6.props={};let fc={nodeAlign:"justify",nodeWidth:.008,nodePadding:.03,nodes:t=>t.nodes,links:t=>t.links,nodeSort:void 0,linkSort:void 0,iterations:6},fu={left:function(t){return t.depth},right:function(t,e){return e-1-t.height},center:function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?(0,rW.Z)(t.sourceLinks,u8)-1:0},justify:u7},ff=t=>e=>{let{nodeId:n,nodeSort:r,nodeAlign:i,nodeWidth:a,nodePadding:o,nodeDepth:l,nodes:s,links:c,linkSort:u,iterations:f}=Object.assign({},fc,t),d=(function(){let t,e,n,r=0,i=0,a=1,o=1,l=24,s=8,c,u=fi,f=u7,d=fa,h=fo,p=6;function g(g){let y={nodes:d(g),links:h(g)};return function(t){let{nodes:e,links:r}=t;e.forEach((t,e)=>{t.index=e,t.sourceLinks=[],t.targetLinks=[]});let i=new Map(e.map(t=>[u(t),t]));if(r.forEach((t,e)=>{t.index=e;let{source:n,target:r}=t;"object"!=typeof n&&(n=t.source=fl(i,n)),"object"!=typeof r&&(r=t.target=fl(i,r)),n.sourceLinks.push(t),r.targetLinks.push(t)}),null!=n)for(let{sourceLinks:t,targetLinks:r}of e)t.sort(n),r.sort(n)}(y),function(t){let{nodes:e}=t;for(let t of e)t.value=void 0===t.fixedValue?Math.max((0,sR.Z)(t.sourceLinks,fr),(0,sR.Z)(t.targetLinks,fr)):t.fixedValue}(y),function(e){let{nodes:n}=e,r=n.length,i=new Set(n),a=new Set,o=0;for(;i.size;){if(i.forEach(t=>{for(let{target:e}of(t.depth=o,t.sourceLinks))a.add(e)}),++o>r)throw Error("circular link");i=a,a=new Set}if(t){let e;let r=Math.max((0,rH.Z)(n,t=>t.depth)+1,0);for(let i=0;i{for(let{source:e}of(t.height=a,t.targetLinks))i.add(e)}),++a>n)throw Error("circular link");r=i,i=new Set}}(y),function(t){let u=function(t){let{nodes:n}=t,i=Math.max((0,rH.Z)(n,t=>t.depth)+1,0),o=(a-r-l)/(i-1),s=Array(i).fill(0).map(()=>[]);for(let t of n){let e=Math.max(0,Math.min(i-1,Math.floor(f.call(null,t,i))));t.layer=e,t.x0=r+e*o,t.x1=t.x0+l,s[e]?s[e].push(t):s[e]=[t]}if(e)for(let t of s)t.sort(e);return s}(t);c=Math.min(s,(o-i)/((0,rH.Z)(u,t=>t.length)-1)),function(t){let e=(0,rW.Z)(t,t=>(o-i-(t.length-1)*c)/(0,sR.Z)(t,fr));for(let r of t){let t=i;for(let n of r)for(let r of(n.y0=t,n.y1=t+n.value*e,t=n.y1+c,n.sourceLinks))r.width=r.value*e;t=(o-t+c)/(r.length+1);for(let e=0;e=0;--a){let i=t[a];for(let t of i){let e=0,r=0;for(let{target:n,value:i}of t.sourceLinks){let a=i*(n.layer-t.layer);e+=function(t,e){let n=e.y0-(e.targetLinks.length-1)*c/2;for(let{source:r,width:i}of e.targetLinks){if(r===t)break;n+=i+c}for(let{target:r,width:i}of t.sourceLinks){if(r===e)break;n-=i}return n}(t,n)*a,r+=a}if(!(r>0))continue;let i=(e/r-t.y0)*n;t.y0+=i,t.y1+=i,b(t)}void 0===e&&i.sort(fn),i.length&&m(i,r)}})(u,n,r),function(t,n,r){for(let i=1,a=t.length;i0))continue;let i=(e/r-t.y0)*n;t.y0+=i,t.y1+=i,b(t)}void 0===e&&a.sort(fn),a.length&&m(a,r)}}(u,n,r)}}(y),fs(y),y}function m(t,e){let n=t.length>>1,r=t[n];v(t,r.y0-c,n-1,e),y(t,r.y1+c,n+1,e),v(t,o,t.length-1,e),y(t,i,0,e)}function y(t,e,n,r){for(;n1e-6&&(i.y0+=a,i.y1+=a),e=i.y1+c}}function v(t,e,n,r){for(;n>=0;--n){let i=t[n],a=(i.y1-e)*r;a>1e-6&&(i.y0-=a,i.y1-=a),e=i.y0-c}}function b(t){let{sourceLinks:e,targetLinks:r}=t;if(void 0===n){for(let{source:{sourceLinks:t}}of r)t.sort(fe);for(let{target:{targetLinks:t}}of e)t.sort(ft)}}return g.update=function(t){return fs(t),t},g.nodeId=function(t){return arguments.length?(u="function"==typeof t?t:u9(t),g):u},g.nodeAlign=function(t){return arguments.length?(f="function"==typeof t?t:u9(t),g):f},g.nodeDepth=function(e){return arguments.length?(t=e,g):t},g.nodeSort=function(t){return arguments.length?(e=t,g):e},g.nodeWidth=function(t){return arguments.length?(l=+t,g):l},g.nodePadding=function(t){return arguments.length?(s=c=+t,g):s},g.nodes=function(t){return arguments.length?(d="function"==typeof t?t:u9(t),g):d},g.links=function(t){return arguments.length?(h="function"==typeof t?t:u9(t),g):h},g.linkSort=function(t){return arguments.length?(n=t,g):n},g.size=function(t){return arguments.length?(r=i=0,a=+t[0],o=+t[1],g):[a-r,o-i]},g.extent=function(t){return arguments.length?(r=+t[0][0],a=+t[1][0],i=+t[0][1],o=+t[1][1],g):[[r,i],[a,o]]},g.iterations=function(t){return arguments.length?(p=+t,g):p},g})().nodeSort(r).linkSort(u).links(c).nodes(s).nodeWidth(a).nodePadding(o).nodeDepth(l).nodeAlign(function(t){let e=typeof t;return"string"===e?fu[t]||u7:"function"===e?t:u7}(i)).iterations(f).extent([[0,0],[1,1]]);"function"==typeof n&&d.nodeId(n);let h=d(e),{nodes:p,links:g}=h,m=p.map(t=>{let{x0:e,x1:n,y0:r,y1:i}=t;return Object.assign(Object.assign({},t),{x:[e,n,n,e],y:[r,r,i,i]})}),y=g.map(t=>{let{source:e,target:n}=t,r=e.x1,i=n.x0,a=t.width/2;return Object.assign(Object.assign({},t),{x:[r,r,i,i],y:[t.y0+a,t.y0-a,t.y1+a,t.y1-a]})});return{nodes:m,links:y}};ff.props={};var fd=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let fh={nodeId:t=>t.key,nodeWidth:.02,nodePadding:.02},fp={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{stroke:"#000"}},fg={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{fillOpacity:.5,stroke:void 0}},fm={textAlign:t=>t.x[0]<.5?"start":"end",position:t=>t.x[0]<.5?"right":"left",fontSize:10},fy=t=>{let{data:e,encode:n={},scale:r,style:i={},layout:a={},nodeLabels:o=[],linkLabels:l=[],animate:s={},tooltip:c={}}=t,{links:u,nodes:f}=tq(e,n),d=(0,tS.hB)(n,"node"),h=(0,tS.hB)(n,"link"),{key:p=t=>t.key,color:g=p}=d,{links:m,nodes:y}=ff(Object.assign(Object.assign(Object.assign({},fh),{nodeId:tH(p)}),a))({links:u,nodes:f}),v=(0,tS.hB)(i,"label"),{text:b=p,spacing:x=5}=v,O=fd(v,["text","spacing"]),w=tH(p),_=ui(c,"node",{title:w,items:[{field:"value"}]},!0),C=ui(c,"link",{title:"",items:[t=>({name:"source",value:w(t.source)}),t=>({name:"target",value:w(t.target)})]});return[(0,k.Z)({},fp,{data:y,encode:Object.assign(Object.assign({},d),{color:g}),scale:r,style:(0,tS.hB)(i,"node"),labels:[Object.assign(Object.assign(Object.assign({},fm),{text:b,dx:t=>t.x[0]<.5?x:-x}),O),...o],tooltip:_,animate:ul(s,"node"),axis:!1}),(0,k.Z)({},fg,{data:m,encode:h,labels:l,style:Object.assign({fill:h.color?void 0:"#aaa",lineWidth:0},(0,tS.hB)(i,"link")),tooltip:C,animate:ul(s,"link")})]};function fv(t,e){return e.value-t.value}function fb(t,e){return e.frequency-t.frequency}function fx(t,e){return"".concat(t.id).localeCompare("".concat(e.id))}function fO(t,e){return"".concat(t.name).localeCompare("".concat(e.name))}fy.props={};let fw={y:0,thickness:.05,weight:!1,marginRatio:.1,id:t=>t.id,source:t=>t.source,target:t=>t.target,sourceWeight:t=>t.value||1,targetWeight:t=>t.value||1,sortBy:null},f_=t=>e=>(function(t){let{y:e,thickness:n,weight:r,marginRatio:i,id:a,source:l,target:s,sourceWeight:c,targetWeight:u,sortBy:f}=Object.assign(Object.assign({},fw),t);return function(t){let d=t.nodes.map(t=>Object.assign({},t)),h=t.edges.map(t=>Object.assign({},t));return function(t,e){e.forEach(t=>{t.source=l(t),t.target=s(t),t.sourceWeight=c(t),t.targetWeight=u(t)});let n=(0,tK.ZP)(e,t=>t.source),r=(0,tK.ZP)(e,t=>t.target);t.forEach(t=>{t.id=a(t);let e=n.has(t.id)?n.get(t.id):[],i=r.has(t.id)?r.get(t.id):[];t.frequency=e.length+i.length,t.value=(0,sR.Z)(e,t=>t.sourceWeight)+(0,sR.Z)(i,t=>t.targetWeight)})}(d,h),function(t,e){let n="function"==typeof f?f:o[f];n&&t.sort(n)}(d,0),function(t,a){let o=t.length;if(!o)throw(0,tS.vU)("Invalid nodes: it's empty!");if(!r){let n=1/o;return t.forEach((t,r)=>{t.x=(r+.5)*n,t.y=e})}let l=i/(2*o),s=t.reduce((t,e)=>t+=e.value,0);t.reduce((t,r)=>{r.weight=r.value/s,r.width=r.weight*(1-i),r.height=n;let a=l+t,o=a+r.width,c=e-n/2,u=c+n;return r.x=[a,o,o,a],r.y=[c,c,u,u],t+r.width+2*l},0)}(d,0),function(t,n){let i=new Map(t.map(t=>[t.id,t]));if(!r)return n.forEach(t=>{let e=l(t),n=s(t),r=i.get(e),a=i.get(n);r&&a&&(t.x=[r.x,a.x],t.y=[r.y,a.y])});n.forEach(t=>{t.x=[0,0,0,0],t.y=[e,e,e,e]});let a=(0,tK.ZP)(n,t=>t.source),o=(0,tK.ZP)(n,t=>t.target);t.forEach(t=>{let{edges:e,width:n,x:r,y:i,value:l,id:s}=t,c=a.get(s)||[],u=o.get(s)||[],f=0;c.map(t=>{let e=t.sourceWeight/l*n;t.x[0]=r[0]+f,t.x[1]=r[0]+f+e,f+=e}),u.forEach(t=>{let e=t.targetWeight/l*n;t.x[3]=r[0]+f,t.x[2]=r[0]+f+e,f+=e})})}(d,h),{nodes:d,edges:h}}})(t)(e);f_.props={};var fk=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let fC={y:0,thickness:.05,marginRatio:.1,id:t=>t.key,source:t=>t.source,target:t=>t.target,sourceWeight:t=>t.value||1,targetWeight:t=>t.value||1,sortBy:null},fj={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{opacity:1,fillOpacity:1,lineWidth:1}},fM={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{opacity:.5,lineWidth:1}},fS={position:"outside",fontSize:10},fA=(t,e)=>{let{data:n,encode:r={},scale:i,style:a={},layout:o={},nodeLabels:l=[],linkLabels:s=[],animate:c={},tooltip:u={}}=t,{nodes:f,links:d}=tq(n,r),h=(0,tS.hB)(r,"node"),p=(0,tS.hB)(r,"link"),{key:g=t=>t.key,color:m=g}=h,{linkEncodeColor:y=t=>t.source}=p,{nodeWidthRatio:v=fC.thickness,nodePaddingRatio:b=fC.marginRatio}=o,x=fk(o,["nodeWidthRatio","nodePaddingRatio"]),{nodes:O,edges:w}=f_(Object.assign(Object.assign(Object.assign(Object.assign({},fC),{id:tH(g),thickness:v,marginRatio:b}),x),{weight:!0}))({nodes:f,edges:d}),_=(0,tS.hB)(a,"label"),{text:C=g}=_,j=fk(_,["text"]),M=ui(u,"node",{title:"",items:[t=>({name:t.key,value:t.value})]},!0),S=ui(u,"link",{title:"",items:[t=>({name:"".concat(t.source," -> ").concat(t.target),value:t.value})]}),{height:A,width:E}=e,P=Math.min(A,E);return[(0,k.Z)({},fM,{data:w,encode:Object.assign(Object.assign({},p),{color:y}),labels:s,style:Object.assign({fill:y?void 0:"#aaa"},(0,tS.hB)(a,"link")),tooltip:S,animate:ul(c,"link")}),(0,k.Z)({},fj,{data:O,encode:Object.assign(Object.assign({},h),{color:m}),scale:i,style:(0,tS.hB)(a,"node"),coordinate:{type:"polar",outerRadius:(P-20)/P,startAngle:-(2*Math.PI),endAngle:0},labels:[Object.assign(Object.assign(Object.assign({},fS),{text:C}),j),...l],tooltip:M,animate:ul(c,"node"),axis:!1})]};fA.props={};var fE=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let fP=(t,e)=>({tile:"treemapSquarify",ratio:.5*(1+Math.sqrt(5)),size:[t,e],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,sort:(t,e)=>e.value-t.value,layer:0}),fR=(t,e)=>({type:"rect",axis:!1,encode:{x:"x",y:"y",key:"id",color:t=>t.path[1]},scale:{x:{domain:[0,t],range:[0,1]},y:{domain:[0,e],range:[0,1]}},style:{stroke:"#fff"},state:{active:{opacity:.6},inactive:{opacity:1}}}),fZ={fontSize:10,text:t=>(0,i1.Z)(t.path),position:"inside",fill:"#000",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:t=>t.x1-t.x0},fT={title:t=>{var e,n;return null===(n=null===(e=t.path)||void 0===e?void 0:e.join)||void 0===n?void 0:n.call(e,".")},items:[{field:"value"}]},fL={title:t=>(0,i1.Z)(t.path),items:[{field:"value"}]},fB=(t,e)=>{let{width:n,height:r,options:i}=e,{data:a,encode:o={},scale:l,style:s={},layout:c={},labels:u=[],tooltip:f={}}=t,d=fE(t,["data","encode","scale","style","layout","labels","tooltip"]),h=(0,ly.Z)(i,["interaction","treemapDrillDown"]),p=(0,k.Z)({},fP(n,r),c,{layer:h?t=>1===t.depth:c.layer}),[g,m]=lE(a,p,o),y=(0,tS.hB)(s,"label");return(0,k.Z)({},fR(n,r),Object.assign(Object.assign({data:g,scale:l,style:s,labels:[Object.assign(Object.assign({},fZ),y),...u]},d),{encode:o,tooltip:ua(f,fT),axis:!1}),h?{interaction:Object.assign(Object.assign({},d.interaction),{treemapDrillDown:h?Object.assign(Object.assign({},h),{originData:m,layout:p}):void 0}),encode:Object.assign({color:t=>(0,i1.Z)(t.path)},o),tooltip:ua(f,fL)}:{})};fB.props={};var fI=n(51758),fD=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function fN(t,e){return(0,rW.Z)(t,t=>e[t])}function fz(t,e){return(0,rH.Z)(t,t=>e[t])}function fF(t,e){let n=2.5*f$(t,e)-1.5*fH(t,e);return(0,rW.Z)(t,t=>e[t]>=n?e[t]:NaN)}function f$(t,e){return(0,fI.Z)(t,.25,t=>e[t])}function fW(t,e){return(0,fI.Z)(t,.5,t=>e[t])}function fH(t,e){return(0,fI.Z)(t,.75,t=>e[t])}function fG(t,e){let n=2.5*fH(t,e)-1.5*f$(t,e);return(0,rH.Z)(t,t=>e[t]<=n?e[t]:NaN)}function fq(){return(t,e)=>{let{encode:n}=e,{y:r,x:i}=n,{value:a}=r,{value:o}=i,l=Array.from((0,tK.ZP)(t,t=>o[+t]).values()),s=l.flatMap(t=>{let e=fF(t,a),n=fG(t,a);return t.filter(t=>a[t]n)});return[s,e]}}let fY=t=>{let{data:e,encode:n,style:r={},tooltip:i={},transform:a,animate:o}=t,l=fD(t,["data","encode","style","tooltip","transform","animate"]),{point:s=!0}=r,c=fD(r,["point"]),{y:u}=n,f={y:u,y1:u,y2:u,y3:u,y4:u},d={y1:f$,y2:fW,y3:fH},h=ui(i,"box",{items:[{channel:"y",name:"min"},{channel:"y1",name:"q1"},{channel:"y2",name:"q2"},{channel:"y3",name:"q3"},{channel:"y4",name:"max"}]},!0),p=ui(i,"point",{title:{channel:"x"},items:[{name:"outlier",channel:"y"}]});if(!s)return Object.assign({type:"box",data:e,transform:[Object.assign(Object.assign({type:"groupX",y:fN},d),{y4:fz})],encode:Object.assign(Object.assign({},n),f),style:c,tooltip:h},l);let g=(0,tS.hB)(c,"box"),m=(0,tS.hB)(c,"point");return[Object.assign({type:"box",data:e,transform:[Object.assign(Object.assign({type:"groupX",y:fF},d),{y4:fG})],encode:Object.assign(Object.assign({},n),f),style:g,tooltip:h,animate:ul(o,"box")},l),{type:"point",data:e,transform:[{type:fq}],encode:n,style:Object.assign({},m),tooltip:p,animate:ul(o,"point")}]};fY.props={};let fV=(t,e)=>Math.sqrt(Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2))/2,fU=(t,e)=>{if(!e)return;let{coordinate:n}=e;if(!(null==n?void 0:n.getCenter))return;let r=n.getCenter();return(n,i,a)=>{let{document:o}=e.canvas,{color:l,index:s}=i,c=o.createElement("g",{}),u=fV(n[0],n[1]),f=2*fV(n[0],r),d=o.createElement("path",{style:Object.assign(Object.assign(Object.assign({d:[["M",...n[0]],["A",u,u,0,1,0,...n[1]],["A",f+2*u,f+2*u,0,0,0,...n[2]],["A",u,u,0,1,0===s?0:1,...n[3]],["A",f,f,0,0,1,...n[0]],["Z"]]},a),(0,iR.Z)(t,["shape","last","first"])),{fill:l||a.color})});return c.appendChild(d),c}};var fQ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let fX={coordinate:{type:"radial",innerRadius:.9,outerRadius:1,startAngle:-1.1*Math.PI,endAngle:.1*Math.PI},axis:{x:!1},legend:!1,tooltip:!1,encode:{x:"x",y:"y",color:"color"},scale:{color:{range:["#30BF78","#D0D0D0"]}}},fK={style:{shape:(t,e)=>{let{shape:n,radius:r}=t,i=fQ(t,["shape","radius"]),a=(0,tS.hB)(i,"pointer"),o=(0,tS.hB)(i,"pin"),{shape:l}=a,s=fQ(a,["shape"]),{shape:c}=o,u=fQ(o,["shape"]),{coordinate:f,theme:d}=e;return(t,e)=>{let n=t.map(t=>f.invert(t)),[a,o,h]=function(t,e){let{transformations:n}=t.getOptions(),[,...r]=n.find(t=>t[0]===e);return r}(f,"polar"),p=f.clone(),{color:g}=e,m=v({startAngle:a,endAngle:o,innerRadius:h,outerRadius:r});m.push(["cartesian"]),p.update({transformations:m});let y=n.map(t=>p.map(t)),[b,x]=tg(y),[O,w]=f.getCenter(),_=Object.assign(Object.assign({x1:b,y1:x,x2:O,y2:w,stroke:g},s),i),k=Object.assign(Object.assign({cx:O,cy:w,stroke:g},u),i),C=(0,H.F)(new t1.ZA);return(0,tS.Qp)(l)||("function"==typeof l?C.append(()=>l(y,e,p,d)):C.append("line").call(ts,_).node()),(0,tS.Qp)(c)||("function"==typeof c?C.append(()=>c(y,e,p,d)):C.append("circle").call(ts,k).node()),C.node()}},lineWidth:4,pointerLineCap:"round",pinR:10,pinFill:"#fff",radius:.6}},fJ={type:"text",style:{x:"50%",y:"60%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"}},f0=t=>{let{data:e={},scale:n={},style:r={},animate:i={},transform:a=[]}=t,o=fQ(t,["data","scale","style","animate","transform"]),{targetData:l,totalData:s,target:c,total:u,scale:f}=function(t,e){let{name:n="score",target:r,total:i,percent:a,thresholds:o=[]}=function(t){if((0,tn.Z)(t)){let e=Math.max(0,Math.min(t,1));return{percent:e,target:e,total:1}}return t}(t),l=a||r,s=a?1:i,c=Object.assign({y:{domain:[0,s]}},e);return o.length?{targetData:[{x:n,y:l,color:"target"}],totalData:o.map((t,e)=>({x:n,y:e>=1?t-o[e-1]:t,color:e})),target:l,total:s,scale:c}:{targetData:[{x:n,y:l,color:"target"}],totalData:[{x:n,y:l,color:"target"},{x:n,y:s-l,color:"total"}],target:l,total:s,scale:c}}(e,n),d=(0,tS.hB)(r,"text"),h=(0,tS.b5)(r,["pointer","pin"]),p=(0,tS.hB)(r,"arc"),g=p.shape;return[(0,k.Z)({},fX,Object.assign({type:"interval",transform:[{type:"stackY"}],data:s,scale:f,style:"round"===g?Object.assign(Object.assign({},p),{shape:fU}):p,animate:"object"==typeof i?(0,tS.hB)(i,"arc"):i},o)),(0,k.Z)({},fX,fK,Object.assign({type:"point",data:l,scale:f,style:h,animate:"object"==typeof i?(0,tS.hB)(i,"indicator"):i},o)),(0,k.Z)({},fJ,{style:Object.assign({text:function(t,e){let{target:n,total:r}=e,{content:i}=t;return i?i(n,r):n.toString()}(d,{target:c,total:u})},d),animate:"object"==typeof i?(0,tS.hB)(i,"text"):i})]};f0.props={};var f1=n(45607);let f2={pin:function(t,e,n){let r=4*n/3,i=Math.max(r,2*n),a=r/2,o=a+e-i/2,l=Math.asin(a/((i-a)*.85)),s=Math.sin(l)*a,c=Math.cos(l)*a,u=t-c,f=o+s,d=o+a/Math.sin(l);return"\n M ".concat(u," ").concat(f,"\n A ").concat(a," ").concat(a," 0 1 1 ").concat(u+2*c," ").concat(f,"\n Q ").concat(t," ").concat(d," ").concat(t," ").concat(e+i/2,"\n Q ").concat(t," ").concat(d," ").concat(u," ").concat(f,"\n Z \n ")},rect:function(t,e,n){let r=.618*n;return"\n M ".concat(t-r," ").concat(e-n,"\n L ").concat(t+r," ").concat(e-n,"\n L ").concat(t+r," ").concat(e+n,"\n L ").concat(t-r," ").concat(e+n,"\n Z\n ")},circle:function(t,e,n){return"\n M ".concat(t," ").concat(e-n," \n a ").concat(n," ").concat(n," 0 1 0 0 ").concat(2*n,"\n a ").concat(n," ").concat(n," 0 1 0 0 ").concat(-(2*n),"\n Z\n ")},diamond:function(t,e,n){return"\n M ".concat(t," ").concat(e-n,"\n L ").concat(t+n," ").concat(e,"\n L ").concat(t," ").concat(e+n,"\n L ").concat(t-n," ").concat(e,"\n Z\n ")},triangle:function(t,e,n){return"\n M ".concat(t," ").concat(e-n,"\n L ").concat(t+n," ").concat(e+n,"\n L ").concat(t-n," ").concat(e+n,"\n Z\n ")}};var f5=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let f3=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"circle";return f2[t]||f2.circle},f4=(t,e)=>{if(!e)return;let{coordinate:n}=e,{liquidOptions:r,styleOptions:i}=t,{liquidShape:a,percent:o}=r,{background:l,outline:s={},wave:c={}}=i,u=f5(i,["background","outline","wave"]),{border:f=2,distance:d=0}=s,h=f5(s,["border","distance"]),{length:p=192,count:g=3}=c;return(t,r,i)=>{let{document:s}=e.canvas,{color:c,fillOpacity:m}=i,y=Object.assign(Object.assign({fill:c},i),u),v=s.createElement("g",{}),[b,x]=n.getCenter(),O=n.getSize(),w=Math.min(...O)/2,_=(0,f1.Z)(a)?a:f3(a),k=_(b,x,w,...O);if(Object.keys(l).length){let t=s.createElement("path",{style:Object.assign({d:k,fill:"#fff"},l)});v.appendChild(t)}if(o>0){let t=s.createElement("path",{style:{d:k}});v.appendChild(t),v.style.clipPath=t,function(t,e,n,r,i,a,o,l,s,c,u){let{fill:f,fillOpacity:d,opacity:h}=i;for(let i=0;i0;)c-=2*Math.PI;c=c/Math.PI/2*n;let u=a-t+c-2*t;s.push(["M",u,e]);let f=0;for(let t=0;te.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let f8={axis:{x:!1,y:!1},legend:!1,tooltip:!1,encode:{x:"type",y:"percent"},scale:{y:{domain:[0,1]}},style:{shape:f4},animate:{enter:{type:"fadeIn"}}},f7={type:"text",style:{x:"50%",y:"50%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"},animate:{enter:{type:"fadeIn"}}},f9=t=>{let{data:e={},style:n={},animate:r}=t,i=f6(t,["data","style","animate"]),a=Math.max(0,(0,tn.Z)(e)?e:null==e?void 0:e.percent),o=[{percent:a,type:"liquid"}],l=Object.assign(Object.assign({},(0,tS.hB)(n,"text")),(0,tS.hB)(n,"content")),s=(0,tS.hB)(n,"outline"),c=(0,tS.hB)(n,"wave"),u=(0,tS.hB)(n,"background");return[(0,k.Z)({},f8,Object.assign({type:"interval",data:o,style:{liquidOptions:{percent:a,liquidShape:null==n?void 0:n.shape},styleOptions:Object.assign(Object.assign({},n),{outline:s,wave:c,background:u})},animate:r},i)),(0,k.Z)({},f7,{style:Object.assign({text:"".concat(tt(100*a)," %")},l),animate:r})]};f9.props={};var dt=n(69916);function de(t,e){let n=function(t){let e=[];for(let n=0;ne[n].radius+1e-10)return!1;return!0}(e,t)}),i=0,a=0,o,l=[];if(r.length>1){let e=function(t){let e={x:0,y:0};for(let n=0;n-1){let i=t[e.parentIndex[r]],a=Math.atan2(e.x-i.x,e.y-i.y),o=Math.atan2(n.x-i.x,n.y-i.y),l=o-a;l<0&&(l+=2*Math.PI);let u=o-l/2,f=dr(s,{x:i.x+i.radius*Math.sin(u),y:i.y+i.radius*Math.cos(u)});f>2*i.radius&&(f=2*i.radius),(null===c||c.width>f)&&(c={circle:i,width:f,p1:e,p2:n})}null!==c&&(l.push(c),i+=dn(c.circle.radius,c.width),n=e)}}else{let e=t[0];for(o=1;oMath.abs(e.radius-t[o].radius)){n=!0;break}n?i=a=0:(i=e.radius*e.radius*Math.PI,l.push({circle:e,p1:{x:e.x,y:e.y+e.radius},p2:{x:e.x-1e-10,y:e.y+e.radius},width:2*e.radius}))}return a/=2,e&&(e.area=i+a,e.arcArea=i,e.polygonArea=a,e.arcs=l,e.innerPoints=r,e.intersectionPoints=n),i+a}function dn(t,e){return t*t*Math.acos(1-e/t)-(t-e)*Math.sqrt(e*(2*t-e))}function dr(t,e){return Math.sqrt((t.x-e.x)*(t.x-e.x)+(t.y-e.y)*(t.y-e.y))}function di(t,e,n){if(n>=t+e)return 0;if(n<=Math.abs(t-e))return Math.PI*Math.min(t,e)*Math.min(t,e);let r=t-(n*n-e*e+t*t)/(2*n),i=e-(n*n-t*t+e*e)/(2*n);return dn(t,r)+dn(e,i)}function da(t,e){let n=dr(t,e),r=t.radius,i=e.radius;if(n>=r+i||n<=Math.abs(r-i))return[];let a=(r*r-i*i+n*n)/(2*n),o=Math.sqrt(r*r-a*a),l=t.x+a*(e.x-t.x)/n,s=t.y+a*(e.y-t.y)/n,c=-(e.y-t.y)*(o/n),u=-(e.x-t.x)*(o/n);return[{x:l+c,y:s-u},{x:l-c,y:s+u}]}function dl(t,e,n){return Math.min(t,e)*Math.min(t,e)*Math.PI<=n+1e-10?Math.abs(t-e):(0,dt.bisect)(function(r){return di(t,e,r)-n},0,t+e)}function ds(t,e){let n=function(t,e){let n;let r=e&&e.lossFunction?e.lossFunction:dc,i={},a={};for(let e=0;e=Math.min(i[o].size,i[l].size)&&(r=0),a[o].push({set:l,size:n.size,weight:r}),a[l].push({set:o,size:n.size,weight:r})}let o=[];for(n in a)if(a.hasOwnProperty(n)){let t=0;for(let e=0;e=8){let i=function(t,e){let n,r,i;e=e||{};let a=e.restarts||10,o=[],l={};for(n=0;n=Math.min(e[a].size,e[o].size)?u=1:t.size<=1e-10&&(u=-1),i[a][o]=i[o][a]=u}),{distances:r,constraints:i}}(t,o,l),c=s.distances,u=s.constraints,f=(0,dt.norm2)(c.map(dt.norm2))/c.length;c=c.map(function(t){return t.map(function(t){return t/f})});let d=function(t,e){return function(t,e,n,r){let i=0,a;for(a=0;a0&&p<=f||d<0&&p>=f||(i+=2*g*g,e[2*a]+=4*g*(o-c),e[2*a+1]+=4*g*(l-u),e[2*s]+=4*g*(c-o),e[2*s+1]+=4*g*(u-l))}}return i}(t,e,c,u)};for(n=0;n{let{sets:e="sets",size:n="size",as:r=["key","path"],padding:i=0}=t,[a,o]=r;return t=>{let r;let l=t.map(t=>Object.assign(Object.assign({},t),{sets:t[e],size:t[n],[a]:t.sets.join("&")}));l.sort((t,e)=>t.sets.length-e.sets.length);let s=function(t,e){let n;(e=e||{}).maxIterations=e.maxIterations||500;let r=e.initialLayout||ds,i=e.lossFunction||dc;t=function(t){let e,n,r,i;t=t.slice();let a=[],o={};for(e=0;et>e?1:-1),e=0;e{let n=t[e];return Object.assign(Object.assign({},t),{[o]:t=>{let{width:e,height:a}=t;r=r||function(t,e,n,r){let i=[],a=[];for(let e in t)t.hasOwnProperty(e)&&(a.push(e),i.push(t[e]));e-=2*r,n-=2*r;let o=function(t){let e=function(e){let n=Math.max.apply(null,t.map(function(t){return t[e]+t.radius})),r=Math.min.apply(null,t.map(function(t){return t[e]-t.radius}));return{max:n,min:r}};return{xRange:e("x"),yRange:e("y")}}(i),l=o.xRange,s=o.yRange;if(l.max==l.min||s.max==s.min)return console.log("not scaling solution: zero size detected"),t;let c=e/(l.max-l.min),u=n/(s.max-s.min),f=Math.min(u,c),d=(e-(l.max-l.min)*f)/2,h=(n-(s.max-s.min)*f)/2,p={};for(let t=0;tr[t]),l=function(t){let e={};de(t,e);let n=e.arcs;if(0===n.length)return"M 0 0";if(1==n.length){let t=n[0].circle;return function(t,e,n){let r=[],i=t-n;return r.push("M",i,e),r.push("A",n,n,0,1,0,i+2*n,e),r.push("A",n,n,0,1,0,i,e),r.join(" ")}(t.x,t.y,t.radius)}{let t=["\nM",n[0].p2.x,n[0].p2.y];for(let e=0;ei;t.push("\nA",i,i,0,a?1:0,1,r.p1.x,r.p1.y)}return t.join(" ")}}(o);return/[zZ]$/.test(l)||(l+=" Z"),l}})})}};du.props={};var df=n(31989),dd=n(98875),dh=n(68040),dp=n(90494),dg=n(30335);let dm=[["legendCategory",[[["color","discrete"],["opacity","discrete"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","constant"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","constant"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","discrete"]],[["color","discrete"],["opacity","discrete"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","discrete"]],[["color","discrete"],["opacity","constant"],["size","constant"]],[["color","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","constant"]],[["color","discrete"],["opacity","constant"],["shape","constant"]],[["color","constant"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","discrete"]],[["color","constant"],["opacity","discrete"],["size","constant"]],[["color","constant"],["opacity","constant"],["shape","discrete"]],[["color","constant"],["opacity","discrete"],["shape","constant"]],[["color","discrete"],["shape","discrete"]],[["color","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"]],[["color","discrete"],["opacity","constant"]],[["color","discrete"],["shape","constant"]],[["color","constant"],["shape","discrete"]],[["color","constant"],["size","constant"]],[["color","constant"],["opacity","discrete"]],[["color","discrete"]]]],["legendContinuousSize",[[["color","continuous"],["opacity","continuous"],["size","continuous"]],[["color","constant"],["opacity","continuous"],["size","continuous"]],[["color","continuous"],["size","continuous"]],[["color","constant"],["size","continuous"]],[["size","continuous"],["opacity","continuous"]],[["size","continuous"]]]],["legendContinuousBlockSize",[[["color","distribution"],["opacity","distribution"],["size","distribution"]],[["color","distribution"],["size","distribution"]]]],["legendContinuousBlock",[[["color","distribution"],["opacity","continuous"]],[["color","distribution"]]]],["legendContinuous",[[["color","continuous"],["opacity","continuous"]],[["color","continuous"]],[["opacity","continuous"]]]]];var dy=n(17816),dv=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let db=t=>{let{important:e={}}=t,n=dv(t,["important"]);return r=>{let{theme:i,coordinate:a,scales:o}=r;return iQ(Object.assign(Object.assign(Object.assign({},n),function(t){let e=t%(2*Math.PI);return e===Math.PI/2?{titleTransform:"translate(0, 50%)"}:e>-Math.PI/2&&eMath.PI/2&&e<3*Math.PI/2?{titleTransform:"translate(-50%, 0)"}:{}}(t.orientation)),{important:Object.assign(Object.assign({},function(t,e,n,r){let{radar:i}=t,[a]=r,o=a.getOptions().name,[l,s]=W(n),{axisRadar:c={}}=e;return Object.assign(Object.assign({},c),{grid:"position"===o,gridConnect:"line",gridControlAngles:Array(i.count).fill(0).map((t,e)=>{let n=(s-l)/i.count;return n*e})})}(t,i,a,o)),e)}))(r)}};db.props=Object.assign(Object.assign({},iQ.props),{defaultPosition:"center"});let dx=t=>function(){for(var e=arguments.length,n=Array(e),r=0;re=>{let{scales:n}=e,r=i$(n,"size");return i8(Object.assign({},{type:"size",data:r.getTicks().map((t,e)=>({value:t,label:String(t)}))},t))(e)};dO.props=Object.assign(Object.assign({},i8.props),{defaultPosition:"top",defaultOrientation:"horizontal"});let dw=t=>dO(Object.assign({},{block:!0},t));dw.props=Object.assign(Object.assign({},i8.props),{defaultPosition:"top",defaultOrientation:"horizontal"});var d_=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let dk=function(){let{static:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e=>{let{width:n,height:r,depth:i,paddingLeft:a,paddingRight:o,paddingTop:l,paddingBottom:s,padding:c,inset:u,insetLeft:f,insetTop:d,insetRight:h,insetBottom:p,margin:g,marginLeft:m,marginBottom:y,marginTop:v,marginRight:b,data:x,coordinate:O,theme:w,component:_,interaction:k,x:C,y:j,z:M,key:S,frame:A,labelTransform:E,parentKey:P,clip:R,viewStyle:Z,title:T}=e,L=d_(e,["width","height","depth","paddingLeft","paddingRight","paddingTop","paddingBottom","padding","inset","insetLeft","insetTop","insetRight","insetBottom","margin","marginLeft","marginBottom","marginTop","marginRight","data","coordinate","theme","component","interaction","x","y","z","key","frame","labelTransform","parentKey","clip","viewStyle","title"]);return[Object.assign(Object.assign({type:"standardView",x:C,y:j,z:M,key:S,width:n,height:r,depth:i,padding:c,paddingLeft:a,paddingRight:o,paddingTop:l,inset:u,insetLeft:f,insetTop:d,insetRight:h,insetBottom:p,paddingBottom:s,theme:w,coordinate:O,component:_,interaction:k,frame:A,labelTransform:E,margin:g,marginLeft:m,marginBottom:y,marginTop:v,marginRight:b,parentKey:P,clip:R,style:Z},!t&&{title:T}),{marks:[Object.assign(Object.assign(Object.assign({},L),{key:"".concat(S,"-0"),data:x}),t&&{title:T})]})]}};dk.props={};var dC=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let dj=()=>t=>{let{children:e}=t,n=dC(t,["children"]);if(!Array.isArray(e))return[];let{data:r,scale:i={},axis:a={},legend:o={},encode:l={},transform:s=[]}=n,c=dC(n,["data","scale","axis","legend","encode","transform"]),u=e.map(t=>{var{data:e,scale:n={},axis:c={},legend:u={},encode:f={},transform:d=[]}=t,h=dC(t,["data","scale","axis","legend","encode","transform"]);return Object.assign({data:lQ(e,r),scale:(0,k.Z)({},i,n),encode:(0,k.Z)({},l,f),transform:[...s,...d],axis:!!c&&!!a&&(0,k.Z)({},a,c),legend:!!u&&!!o&&(0,k.Z)({},o,u)},h)});return[Object.assign(Object.assign({},c),{marks:u,type:"standardView"})]};function dM(t,e,n,r){let i=e.length/2,a=e.slice(0,i),o=e.slice(i),l=(0,sv.Z)(a,(t,e)=>Math.abs(t[1]-o[e][1]));l=Math.max(Math.min(l,i-2),1);let s=t=>[a[t][0],(a[t][1]+o[t][1])/2],c=s(l),u=s(l-1),f=s(l+1),d=V(G(f,u))/Math.PI*180;return{x:c[0],y:c[1],transform:"rotate(".concat(d,")"),textAlign:"center",textBaseline:"middle"}}function dS(t,e,n,r){let{bounds:i}=n,[[a,o],[l,s]]=i,c=l-a,u=s-o;return(t=>{let{x:e,y:r}=t,i=(0,tS.Lq)(n.x,c),l=(0,tS.Lq)(n.y,u);return Object.assign(Object.assign({},t),{x:(i||e)+a,y:(l||r)+o})})("left"===t?{x:0,y:u/2,textAlign:"start",textBaseline:"middle"}:"right"===t?{x:c,y:u/2,textAlign:"end",textBaseline:"middle"}:"top"===t?{x:c/2,y:0,textAlign:"center",textBaseline:"top"}:"bottom"===t?{x:c/2,y:u,textAlign:"center",textBaseline:"bottom"}:"top-left"===t?{x:0,y:0,textAlign:"start",textBaseline:"top"}:"top-right"===t?{x:c,y:0,textAlign:"end",textBaseline:"top"}:"bottom-left"===t?{x:0,y:u,textAlign:"start",textBaseline:"bottom"}:"bottom-right"===t?{x:c,y:u,textAlign:"end",textBaseline:"bottom"}:{x:c/2,y:u/2,textAlign:"center",textBaseline:"middle"})}function dA(t,e,n,r){let{y:i,y1:a,autoRotate:o,rotateToAlignArc:l}=n,s=r.getCenter(),c=td(r,e,[i,a]),{innerRadius:u,outerRadius:f,startAngle:d,endAngle:h}=c,p="inside"===t?(d+h)/2:h,g=dP(p,o,l),m=(()=>{let[n,r]=e,[i,a]="inside"===t?dE(s,p,u+(f-u)*.5):K(n,r);return{x:i,y:a}})();return Object.assign(Object.assign({},m),{textAlign:"inside"===t?"center":"start",textBaseline:"middle",rotate:g})}function dE(t,e,n){return[t[0]+Math.sin(e)*n,t[1]-Math.cos(e)*n]}function dP(t,e,n){if(!e)return 0;let r=n?0:0>Math.sin(t)?90:-90;return t/Math.PI*180+r}function dR(t,e,n,r){let{y:i,y1:a,autoRotate:o,rotateToAlignArc:l,radius:s=.5,offset:c=0}=n,u=td(r,e,[i,a]),{startAngle:f,endAngle:d}=u,h=r.getCenter(),p=(f+d)/2,g=dP(p,o,l),{innerRadius:m,outerRadius:y}=u,[v,b]=dE(h,p,m+(y-m)*s+c);return Object.assign({x:v,y:b},{textAlign:"center",textBaseline:"middle",rotate:g})}function dZ(t){return void 0===t?null:t}function dT(t,e,n,r){let{bounds:i}=n,[a]=i;return{x:dZ(a[0]),y:dZ(a[1])}}function dL(t,e,n,r){let{bounds:i}=n;if(1===i.length)return dT(t,e,n,r);let a=I(r)?dA:F(r)?dR:dS;return a(t,e,n,r)}function dB(t,e,n){let r=td(n,t,[e.y,e.y1]),{innerRadius:i,outerRadius:a}=r;return i+(a-i)}function dI(t,e,n){let r=td(n,t,[e.y,e.y1]),{startAngle:i,endAngle:a}=r;return(i+a)/2}function dD(t,e,n,r){let{autoRotate:i,rotateToAlignArc:a,offset:o=0,connector:l=!0,connectorLength:s=o,connectorLength2:c=0,connectorDistance:u=0}=n,f=r.getCenter(),d=dI(e,n,r),h=Math.sin(d)>0?1:-1,p=dP(d,i,a),g={textAlign:h>0||I(r)?"start":"end",textBaseline:"middle",rotate:p},m=dB(e,n,r),y=m+(l?s:o),[[v,b],[x,O],[w,_]]=function(t,e,n,r,i){let[a,o]=dE(t,e,n),[l,s]=dE(t,e,r),c=Math.sin(e)>0?1:-1;return[[a,o],[l,s],[l+c*i,s]]}(f,d,m,y,l?c:0),k=l?+u*h:0,C=w+k;return Object.assign(Object.assign({x0:v,y0:b,x:w+k,y:_},g),{connector:l,connectorPoints:[[x-C,O-_],[w-C,_-_]]})}function dN(t,e,n,r){let{bounds:i}=n;if(1===i.length)return dT(t,e,n,r);let a=I(r)?dA:F(r)?dD:dS;return a(t,e,n,r)}dj.props={};var dz=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function dF(t,e,n,r){if(!F(r))return{};let{connectorLength:i,connectorLength2:a,connectorDistance:o}=n,l=dz(dD("outside",e,n,r),[]),s=r.getCenter(),c=dB(e,n,r),u=dI(e,n,r),f=Math.sin(u)>0?1:-1,d=s[0]+(c+i+a+ +o)*f,{x:h}=l,p=d-h;return l.x+=p,l.connectorPoints[0][0]-=p,l}var d$=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function dW(t,e,n,r){if(!F(r))return{};let{connectorLength:i,connectorLength2:a,connectorDistance:o}=n,l=d$(dD("outside",e,n,r),[]),{x0:s,y0:c}=l,u=r.getCenter(),f=function(t){if(F(t)){let[e,n]=t.getSize(),r=t.getOptions().transformations.find(t=>"polar"===t[0]);if(r)return Math.max(e,n)/2*r[4]}return 0}(r),d=U([s-u[0],c-u[1]]),h=Math.sin(d)>0?1:-1,[p,g]=dE(u,d,f+i);return l.x=p+(a+o)*h,l.y=g,l}var dH=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let dG=(t,e)=>{let{coordinate:n,theme:r}=e,{render:i}=t;return(e,a)=>{let{text:o,x:s,y:c,transform:u="",transformOrigin:f,className:d=""}=a,h=dH(a,["text","x","y","transform","transformOrigin","className"]),p=function(t,e,n,r,i){let{position:a}=e,{render:o}=i,s=void 0!==a?a:F(n)?"inside":L(n)?"right":"top",c=o?"htmlLabel":"inside"===s?"innerLabel":"label",u=r[c],f=Object.assign({},u,e),d=l[lf(s)];if(!d)throw Error("Unknown position: ".concat(s));return Object.assign(Object.assign({},u),d(s,t,f,n,i))}(e,a,n,r,t),{rotate:g=0,transform:m=""}=p,y=dH(p,["rotate","transform"]);return(0,H.F)(new nd).call(ts,y).style("text","".concat(o)).style("className","".concat(d," g2-label")).style("innerHTML",i?i(o,a.datum,a.index):void 0).style("labelTransform","".concat(m," rotate(").concat(+g,") ").concat(u).trim()).style("labelTransformOrigin",f).style("coordCenter",n.getCenter()).call(ts,h).node()}};dG.props={defaultMarker:"point"};var dq=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function dY(t,e){let n=Object.assign(Object.assign({},{"component.axisRadar":db,"component.axisLinear":iQ,"component.axisArc":iX,"component.legendContinuousBlock":dx,"component.legendContinuousBlockSize":dw,"component.legendContinuousSize":dO,"interaction.event":oC,"composition.mark":dk,"composition.view":dj,"shape.label.label":dG}),e),r=e=>{if("string"!=typeof e)return e;let r="".concat(t,".").concat(e);return n[r]||(0,tS.vU)("Unknown Component: ".concat(r))};return[(t,e)=>{let{type:n}=t,i=dq(t,["type"]);n||(0,tS.vU)("Plot type is required!");let a=r(n);return null==a?void 0:a(i,e)},r]}function dV(t){let{canvas:e,group:n}=t;return(null==e?void 0:e.document)||(null==n?void 0:n.ownerDocument)||(0,tS.vU)("Cannot find library document")}var dU=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function dQ(t,e){let{coordinate:n={}}=t,r=dU(t,["coordinate"]),{type:i,transform:a=[]}=n,o=dU(n,["type","transform"]);if(!i)return Object.assign(Object.assign({},r),{coordinates:a});let[,l]=dY("coordinate",e),{transform:s=!1}=l(i).props||{};if(s)throw Error("Unknown coordinate: ".concat(i,"."));return Object.assign(Object.assign({},r),{coordinates:[Object.assign({type:i},o),...a]})}function dX(t,e){return t.filter(t=>t.type===e)}function dK(t){return dX(t,"polar").length>0}function dJ(t){return dX(t,"transpose").length%2==1}function d0(t){return dX(t,"theta").length>0}function d1(t){return dX(t,"radial").length>0}var d2=n(25338),d5=n(63488);function d3(t,e){let n=Object.keys(t);for(let r of Object.values(e)){let{name:e}=r.getOptions();if(e in t){let i=n.filter(t=>t.startsWith(e)).map(t=>+(t.replace(e,"")||0)),a=(0,rH.Z)(i)+1,o="".concat(e).concat(a);t[o]=r,r.getOptions().key=o}else t[e]=r}return t}function d4(t,e){let n,r;let[i]=dY("scale",e),{relations:a}=t,[o]=a&&Array.isArray(a)?[t=>{var e;n=t.map.bind(t),r=null===(e=t.invert)||void 0===e?void 0:e.bind(t);let i=a.filter(t=>{let[e]=t;return"function"==typeof e}),o=a.filter(t=>{let[e]=t;return"function"!=typeof e}),l=new Map(o);if(t.map=t=>{for(let[e,n]of i)if(e(t))return n;return l.has(t)?l.get(t):n(t)},!r)return t;let s=new Map(o.map(t=>{let[e,n]=t;return[n,e]})),c=new Map(i.map(t=>{let[e,n]=t;return[n,e]}));return t.invert=t=>c.has(t)?t:s.has(t)?s.get(t):r(t),t},t=>(null!==n&&(t.map=n),null!==r&&(t.invert=r),t)]:[tS.yR,tS.yR],l=i(t);return o(l)}function d6(t,e){let n=t.filter(t=>{let{name:n,facet:r=!0}=t;return r&&n===e}),r=n.flatMap(t=>t.domain),i=n.every(d8)?(0,tr.Z)(r):n.every(d7)?Array.from(new Set(r)):null;if(null!==i)for(let t of n)t.domain=i}function d8(t){let{type:e}=t;return"string"==typeof e&&["linear","log","pow","time"].includes(e)}function d7(t){let{type:e}=t;return"string"==typeof e&&["band","point","ordinal"].includes(e)}function d9(t,e,n,r,i){var a;let[o]=dY("palette",i),{category10:l,category20:s}=r,c=(a=t.flat(),Array.from(new Set(a))).length<=l.length?l:s,{palette:u=c,offset:f}=e;if(Array.isArray(u))return u;try{return o({type:u})}catch(e){let t=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t=>t;if(!t)return null;let r=(0,iZ.Z)(t),i=d5["scheme".concat(r)],a=d5["interpolate".concat(r)];if(!i&&!a)return null;if(i){if(!i.some(Array.isArray))return i;let t=i[e.length];if(t)return t}return e.map((t,r)=>a(n(r/e.length)))}(u,n,f);if(t)return t;throw Error("Unknown Component: ".concat(u," "))}}function ht(t,e){return e||(t.startsWith("x")||t.startsWith("y")||t.startsWith("position")||t.startsWith("size")?"point":"ordinal")}function he(t,e,n){return n||("color"!==t?"linear":e?"linear":"sequential")}function hn(t,e){if(0===t.length)return t;let{domainMin:n,domainMax:r}=e,[i,a]=t;return[null!=n?n:i,null!=r?r:a]}function hr(t){return ha(t,t=>{let e=typeof t;return"string"===e||"boolean"===e})}function hi(t){return ha(t,t=>t instanceof Date)}function ha(t,e){for(let n of t)if(n.some(e))return!0;return!1}let ho={linear:"linear",identity:"identity",log:"log",pow:"pow",sqrt:"sqrt",sequential:"sequential"},hl={threshold:"threshold",quantize:"quantize",quantile:"quantile"},hs={ordinal:"ordinal",band:"band",point:"point"},hc={constant:"constant"};var hu=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function hf(t,e,n,r,i){let[a]=dY("component",r),{scaleInstances:o,scale:l,bbox:s}=t,c=hu(t,["scaleInstances","scale","bbox"]),u=a(c);return u({coordinate:e,library:r,markState:i,scales:o,theme:n,value:{bbox:s,library:r},scale:l})}function hd(t,e){let n=["left","right","bottom","top"],r=(0,tK.Xx)(t,t=>{let{type:e,position:r,group:i}=t;return n.includes(r)?void 0===i?e.startsWith("legend")?"legend-".concat(r):Symbol("independent"):"independent"===i?Symbol("independent"):i:Symbol("independent")});return r.flatMap(t=>{let[,n]=t;if(1===n.length)return n[0];if(void 0!==e){let t=n.filter(t=>void 0!==t.length).map(t=>t.length),r=(0,sR.Z)(t);if(r>e)return n.forEach(t=>t.group=Symbol("independent")),n;let i=n.length-t.length,a=(e-r)/i;n.forEach(t=>{void 0===t.length&&(t.length=a)})}let r=(0,rH.Z)(n,t=>t.size),i=(0,rH.Z)(n,t=>t.order),a=(0,rH.Z)(n,t=>t.crossPadding),o=n[0].position;return{type:"group",size:r,order:i,position:o,children:n,crossPadding:a}})}function hh(t){let e=dX(t,"polar");if(e.length){let t=e[e.length-1],{startAngle:n,endAngle:r}=u(t);return[n,r]}let n=dX(t,"radial");if(n.length){let t=n[n.length-1],{startAngle:e,endAngle:r}=y(t);return[e,r]}return[-Math.PI/2,Math.PI/2*3]}function hp(t,e,n,r,i,a){let{type:o}=t;if(["left","right","bottom","top"].includes(r)&&"string"==typeof o)return(o.startsWith("axis")?hb:o.startsWith("group")?hg:o.startsWith("legendContinuous")?hx:"legendCategory"===o?hO:o.startsWith("slider")?hv:"title"===o?hy:o.startsWith("scrollbar")?hm:()=>{})(t,e,n,r,i,a)}function hg(t,e,n,r,i,a){let{children:o}=t,l=(0,rH.Z)(o,t=>t.crossPadding);o.forEach(t=>t.crossPadding=l),o.forEach(t=>hp(t,e,n,r,i,a));let s=(0,rH.Z)(o,t=>t.size);t.size=s,o.forEach(t=>t.size=s)}function hm(t,e,n,r,i,a){let{trackSize:o=6}=(0,k.Z)({},i.scrollbar,t);t.size=o}function hy(t,e,n,r,i,a){let o=(0,k.Z)({},i.title,t),{title:l,subtitle:s,spacing:c=0}=o,u=hu(o,["title","subtitle","spacing"]);if(l){let e=(0,tS.hB)(u,"title"),n=hM(l,e);t.size=n.height}if(s){let e=(0,tS.hB)(u,"subtitle"),n=hM(s,e);t.size+=c+n.height}}function hv(t,e,n,r,i,a){let{trackSize:o,handleIconSize:l}=(()=>{let{slider:e}=i;return(0,k.Z)({},e,t)})(),s=Math.max(o,2.4*l);t.size=s}function hb(t,e,n,r,i,a){var o;t.transform=t.transform||[{type:"hide"}];let l="left"===r||"right"===r,s=hC(t,r,i),{tickLength:c=0,labelSpacing:u=0,titleSpacing:f=0,labelAutoRotate:d}=s,h=hu(s,["tickLength","labelSpacing","titleSpacing","labelAutoRotate"]),p=hw(t,a),g=h_(h,p),m=c+u;if(g&&g.length){let r=(0,rH.Z)(g,t=>t.width),i=(0,rH.Z)(g,t=>t.height);if(l)t.size=r+m;else{let{tickFilter:a,labelTransform:l}=t;(function(t,e,n,r,i){let a=(0,sR.Z)(e,t=>t.width);if(a>n)return!0;let o=t.clone();o.update({range:[0,n]});let l=hj(t,i),s=l.map(t=>o.map(t)+function(t,e){if(!t.getBandWidth)return 0;let n=t.getBandWidth(e)/2;return n}(o,t)),c=l.map((t,e)=>e),u=-r[0],f=n+r[1],d=(t,e)=>{let{width:n}=e;return[t-n/2,t+n/2]};for(let t=0;tf)return!0;let a=s[t+1];if(a){let[n]=d(a,e[t+1]);if(i>n)return!0}}return!1})(p,g,e,n,a)&&!l&&!1!==d&&null!==d?(t.labelTransform="rotate(90)",t.size=r+m):(t.labelTransform=null!==(o=t.labelTransform)&&void 0!==o?o:"rotate(0)",t.size=i+m)}}else t.size=c;let y=hk(h);y&&(l?t.size+=f+y.width:t.size+=f+y.height)}function hx(t,e,n,r,i,a){let o=(()=>{let{legendContinuous:e}=i;return(0,k.Z)({},e,t)})(),{labelSpacing:l=0,titleSpacing:s=0}=o,c=hu(o,["labelSpacing","titleSpacing"]),u="left"===r||"right"===r,f=(0,tS.hB)(c,"ribbon"),{size:d}=f,h=(0,tS.hB)(c,"handleIcon"),{size:p}=h,g=Math.max(d,2.4*p);t.size=g;let m=hw(t,a),y=h_(c,m);if(y){let e=u?"width":"height",n=(0,rH.Z)(y,t=>t[e]);t.size+=n+l}let v=hk(c);v&&(u?t.size=Math.max(t.size,v.width):t.size+=s+v.height)}function hO(t,e,n,r,i,a){let o=(()=>{let{legendCategory:e}=i,{title:n}=t,[r,a]=Array.isArray(n)?[n,void 0]:[void 0,n];return(0,k.Z)({title:r},e,Object.assign(Object.assign({},t),{title:a}))})(),{itemSpacing:l,itemMarkerSize:s,titleSpacing:c,rowPadding:u,colPadding:f,maxCols:d=1/0,maxRows:h=1/0}=o,p=hu(o,["itemSpacing","itemMarkerSize","titleSpacing","rowPadding","colPadding","maxCols","maxRows"]),{cols:g,length:m}=t,y=t=>Math.min(t,h),v=t=>Math.min(t,d),b="left"===r||"right"===r,x=void 0===m?e+(b?0:n[0]+n[1]):m,O=hk(p),w=hw(t,a),_=h_(p,w,"itemLabel"),C=Math.max(_[0].height,s)+u,j=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return s+t+l[0]+e};b?(()=>{let e=-1/0,n=0,r=1,i=0,a=-1/0,o=-1/0,l=O?O.height:0,s=x-l;for(let{width:t}of _){let l=j(t,f);e=Math.max(e,l),n+C>s?(r++,a=Math.max(a,i),o=Math.max(o,n),i=1,n=C):(n+=C,i++)}r<=1&&(a=i,o=n),t.size=e*v(r),t.length=o+l,(0,k.Z)(t,{cols:v(r),gridRow:a})})():"number"==typeof g?(()=>{let e=Math.ceil(_.length/g),n=(0,rH.Z)(_,t=>j(t.width))*g;t.size=C*y(e)-u,t.length=Math.min(n,x)})():(()=>{let e=1,n=0,r=-1/0;for(let{width:t}of _){let i=j(t,f);n+i>x?(r=Math.max(r,n),n=i,e++):n+=i}1===e&&(r=n),t.size=C*y(e)-u,t.length=r})(),O&&(b?t.size=Math.max(t.size,O.width):t.size+=c+O.height)}function hw(t,e){let[n]=dY("scale",e),{scales:r,tickCount:i,tickMethod:a}=t,o=r.find(t=>"constant"!==t.type&&"identity"!==t.type);return void 0!==i&&(o.tickCount=i),void 0!==a&&(o.tickMethod=a),n(o)}function h_(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"label",{labelFormatter:r,tickFilter:i,label:a=!0}=t,o=hu(t,["labelFormatter","tickFilter","label"]);if(!a)return null;let l=function(t,e,n){let r=hj(t,n),i=r.map(t=>"number"==typeof t?tt(t):t),a=e?"string"==typeof e?(0,iT.WU)(e):e:t.getFormatter?t.getFormatter():t=>"".concat(t);return i.map(a)}(e,r,i),s=(0,tS.hB)(o,n),c=l.map((t,e)=>Object.fromEntries(Object.entries(s).map(n=>{let[r,i]=n;return[r,"function"==typeof i?i(t,e):i]}))),u=l.map((t,e)=>{let n=c[e];return hM(t,n)}),f=c.some(t=>t.transform);if(!f){let e=l.map((t,e)=>e);t.indexBBox=new Map(e.map(t=>[t,[l[t],u[t]]]))}return u}function hk(t){let{title:e}=t,n=hu(t,["title"]);if(!1===e||null==e)return null;let r=(0,tS.hB)(n,"title"),{direction:i,transform:a}=r,o=Array.isArray(e)?e.join(","):e;if("string"!=typeof o)return null;let l=hM(o,Object.assign(Object.assign({},r),{transform:a||("vertical"===i?"rotate(-90)":"")}));return l}function hC(t,e,n){let{title:r}=t,[i,a]=Array.isArray(r)?[r,void 0]:[void 0,r],{axis:o,["axis".concat((0,tS.Ez)(e))]:l}=n;return(0,k.Z)({title:i},o,l,Object.assign(Object.assign({},t),{title:a}))}function hj(t,e){let n=t.getTicks?t.getTicks():t.getOptions().domain;return e?n.filter(e):n}function hM(t,e){let n=t instanceof t1.s$?t:new t1.xv({style:{text:"".concat(t)}}),{filter:r}=e,i=hu(e,["filter"]);n.attr(Object.assign(Object.assign({},i),{visibility:"none"}));let a=n.getBBox();return a}function hS(t,e,n,r,i,a,o){let l=(0,tK.ZP)(t,t=>t.position),{padding:s=a.padding,paddingLeft:c=s,paddingRight:u=s,paddingBottom:f=s,paddingTop:d=s}=i,h={paddingBottom:f,paddingLeft:c,paddingTop:d,paddingRight:u};for(let t of r){let r="padding".concat((0,tS.Ez)(lf(t))),i=l.get(t)||[],s=h[r],c=t=>{void 0===t.size&&(t.size=t.defaultSize)},u=t=>{"group"===t.type?(t.children.forEach(c),t.size=(0,rH.Z)(t.children,t=>t.size)):t.size=t.defaultSize},f=r=>{r.size||("auto"!==s?u(r):(hp(r,e,n,t,a,o),c(r)))},d=t=>{t.type.startsWith("axis")&&void 0===t.labelAutoHide&&(t.labelAutoHide=!0)},p="bottom"===t||"top"===t,g=(0,rW.Z)(i,t=>t.order),m=i.filter(t=>t.type.startsWith("axis")&&t.order==g);if(m.length&&(m[0].crossPadding=0),"number"==typeof s)i.forEach(c),i.forEach(d);else if(0===i.length)h[r]=0;else{let t=p?e+n[0]+n[1]:e,a=hd(i,t);a.forEach(f);let o=a.reduce((t,e)=>{let{size:n,crossPadding:r=12}=e;return t+n+r},0);h[r]=o}}return h}function hA(t){let{width:e,height:n,paddingLeft:r,paddingRight:i,paddingTop:a,paddingBottom:o,marginLeft:l,marginTop:s,marginBottom:c,marginRight:u,innerHeight:f,innerWidth:d,insetBottom:h,insetLeft:p,insetRight:g,insetTop:m}=t,y=r+l,v=a+s,b=i+u,x=o+c,O=e-l-u,w=[y+p,v+m,d-p-g,f-m-h,"center",null,null],_={top:[y,0,d,v,"vertical",!0,sy.Z,l,O],right:[e-b,v,b,f,"horizontal",!1,sy.Z],bottom:[y,n-x,d,x,"vertical",!1,sy.Z,l,O],left:[0,v,y,f,"horizontal",!0,sy.Z],"top-left":[y,0,d,v,"vertical",!0,sy.Z],"top-right":[y,0,d,v,"vertical",!0,sy.Z],"bottom-left":[y,n-x,d,x,"vertical",!1,sy.Z],"bottom-right":[y,n-x,d,x,"vertical",!1,sy.Z],center:w,inner:w,outer:w};return _}var hE=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function hP(t,e,n){let{encode:r={},scale:i={},transform:a=[]}=e,o=hE(e,["encode","scale","transform"]);return[t,Object.assign(Object.assign({},o),{encode:r,scale:i,transform:a})]}function hR(t,e,n){var r,i,a,o;return r=this,i=void 0,a=void 0,o=function*(){let{library:t}=n,{data:r}=e,[i]=dY("data",t),a=function(t){if((0,tn.Z)(t))return{type:"inline",value:t};if(!t)return{type:"inline",value:null};if(Array.isArray(t))return{type:"inline",value:t};let{type:e="inline"}=t,n=hE(t,["type"]);return Object.assign(Object.assign({},n),{type:e})}(r),{transform:o=[]}=a,l=hE(a,["transform"]),s=[l,...o],c=s.map(i),u=yield(0,tS.ne)(c)(r),f=!r||Array.isArray(r)||Array.isArray(u)?u:{value:u};return[Array.isArray(u)?ta(u):[],Object.assign(Object.assign({},e),{data:f})]},new(a||(a=Promise))(function(t,e){function n(t){try{s(o.next(t))}catch(t){e(t)}}function l(t){try{s(o.throw(t))}catch(t){e(t)}}function s(e){var r;e.done?t(e.value):((r=e.value)instanceof a?r:new a(function(t){t(r)})).then(n,l)}s((o=o.apply(r,i||[])).next())})}function hZ(t,e,n){let{encode:r}=e;if(!r)return[t,e];let i={};for(let[t,e]of Object.entries(r))if(Array.isArray(e))for(let n=0;n{if(function(t){if("object"!=typeof t||t instanceof Date||null===t)return!1;let{type:e}=t;return(0,tS.ri)(e)}(t))return t;let e="function"==typeof t?"transform":"string"==typeof t&&Array.isArray(i)&&i.some(e=>void 0!==e[t])?"field":"constant";return{type:e,value:t}});return[t,Object.assign(Object.assign({},e),{encode:a})]}function hL(t,e,n){let{encode:r}=e;if(!r)return[t,e];let i=ti(r,(t,e)=>{var n;let{type:r}=t;return"constant"!==r||(n=e).startsWith("x")||n.startsWith("y")||n.startsWith("position")||"enterDelay"===n||"enterDuration"===n||"updateDelay"===n||"updateDuration"===n||"exitDelay"===n||"exitDuration"===n?t:Object.assign(Object.assign({},t),{constant:!0})});return[t,Object.assign(Object.assign({},e),{encode:i})]}function hB(t,e,n){let{encode:r,data:i}=e;if(!r)return[t,e];let{library:a}=n,o=function(t){let[e]=dY("encode",t);return(t,n)=>void 0===n||void 0===t?null:Object.assign(Object.assign({},n),{type:"column",value:e(n)(t),field:function(t){let{type:e,value:n}=t;return"field"===e&&"string"==typeof n?n:null}(n)})}(a),l=ti(r,t=>o(i,t));return[t,Object.assign(Object.assign({},e),{encode:l})]}function hI(t,e,n){let{tooltip:r={}}=e;return(0,tS.Qp)(r)?[t,e]:Array.isArray(r)?[t,Object.assign(Object.assign({},e),{tooltip:{items:r}})]:(0,tS.mx)(r)&&uo(r)?[t,Object.assign(Object.assign({},e),{tooltip:r})]:[t,Object.assign(Object.assign({},e),{tooltip:{items:[r]}})]}function hD(t,e,n){let{data:r,encode:i,tooltip:a={}}=e;if((0,tS.Qp)(a))return[t,e];let o=e=>{if(!e)return e;if("string"==typeof e)return t.map(t=>({name:e,value:r[t][e]}));if((0,tS.mx)(e)){let{field:n,channel:a,color:o,name:l=n,valueFormatter:s=t=>t}=e,c="string"==typeof s?(0,iT.WU)(s):s,u=a&&i[a],f=u&&i[a].field,d=l||f||a,h=[];for(let e of t){let t=n?r[e][n]:u?i[a].value[e]:null;h[e]={name:d,color:o,value:c(t)}}return h}if("function"==typeof e){let n=[];for(let a of t){let t=e(r[a],a,r,i);(0,tS.mx)(t)?n[a]=t:n[a]={value:t}}return n}return e},{title:l,items:s=[]}=a,c=hE(a,["title","items"]),u=Object.assign({title:o(l),items:Array.isArray(s)?s.map(o):[]},c);return[t,Object.assign(Object.assign({},e),{tooltip:u})]}function hN(t,e,n){let{encode:r}=e,i=hE(e,["encode"]);if(!r)return[t,e];let a=Object.entries(r),o=a.filter(t=>{let[,e]=t,{value:n}=e;return Array.isArray(n[0])}).flatMap(e=>{let[n,r]=e,i=[[n,Array(t.length).fill(void 0)]],{value:a}=r,o=hE(r,["value"]);for(let e=0;e{let[e,n]=t;return[e,Object.assign({type:"column",value:n},o)]})}),l=Object.fromEntries([...a,...o]);return[t,Object.assign(Object.assign({},i),{encode:l})]}function hz(t,e,n){let{axis:r={},legend:i={},slider:a={},scrollbar:o={}}=e,l=(t,e)=>{if("boolean"==typeof t)return t?{}:null;let n=t[e];return void 0===n||n?n:null},s="object"==typeof r?Array.from(new Set(["x","y","z",...Object.keys(r)])):["x","y","z"];return(0,k.Z)(e,{scale:Object.assign(Object.assign({},Object.fromEntries(s.map(t=>{let e=l(o,t);return[t,Object.assign({guide:l(r,t),slider:l(a,t),scrollbar:e},e&&{ratio:void 0===e.ratio?.5:e.ratio})]}))),{color:{guide:l(i,"color")},size:{guide:l(i,"size")},shape:{guide:l(i,"shape")},opacity:{guide:l(i,"opacity")}})}),[t,e]}function hF(t,e,n){let{animate:r}=e;return r||void 0===r||(0,k.Z)(e,{animate:{enter:{type:null},exit:{type:null},update:{type:null}}}),[t,e]}var h$=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})},hW=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},hH=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})},hG=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function hq(t){t.style("transform",t=>"translate(".concat(t.layout.x,", ").concat(t.layout.y,")"))}function hY(t,e){return hH(this,void 0,void 0,function*(){let n=yield function(t,e){return hH(this,void 0,void 0,function*(){let[n,r]=dY("mark",e),i=new Set(Object.keys(e).map(t=>{var e;return null===(e=/component\.(.*)/.exec(t))||void 0===e?void 0:e[1]}).filter(tS.ri)),{marks:a}=t,o=[],l=[],s=[...a],{width:c,height:u}=function(t){let{height:e,width:n,padding:r=0,paddingLeft:i=r,paddingRight:a=r,paddingTop:o=r,paddingBottom:l=r,margin:s=16,marginLeft:c=s,marginRight:u=s,marginTop:f=s,marginBottom:d=s,inset:h=0,insetLeft:p=h,insetRight:g=h,insetTop:m=h,insetBottom:y=h}=t,v=t=>"auto"===t?20:t,b=n-v(i)-v(a)-c-u-p-g,x=e-v(o)-v(l)-f-d-m-y;return{width:b,height:x}}(t),f={options:t,width:c,height:u};for(;s.length;){let[t]=s.splice(0,1),a=yield h3(t,e),{type:c=(0,tS.vU)("G2Mark type is required."),key:u}=a;if(i.has(c))l.push(a);else{let{props:t={}}=r(c),{composite:e=!0}=t;if(e){let{data:t}=a,e=Object.assign(Object.assign({},a),{data:t?Array.isArray(t)?t:t.value:t}),r=yield n(e,f),i=Array.isArray(r)?r:[r];s.unshift(...i.map((t,e)=>Object.assign(Object.assign({},t),{key:"".concat(u,"-").concat(e)})))}else o.push(a)}}return Object.assign(Object.assign({},t),{marks:o,components:l})})}(t,e),r=function(t){let{coordinate:e={},interaction:n={},style:r={},marks:i}=t,a=hG(t,["coordinate","interaction","style","marks"]),o=i.map(t=>t.coordinate||{}),l=i.map(t=>t.interaction||{}),s=i.map(t=>t.viewStyle||{}),c=[...o,e].reduceRight((t,e)=>(0,k.Z)(t,e),{}),u=[n,...l].reduce((t,e)=>(0,k.Z)(t,e),{}),f=[...s,r].reduce((t,e)=>(0,k.Z)(t,e),{});return Object.assign(Object.assign({},a),{marks:i,coordinate:c,interaction:u,style:f})}(n);t.interaction=r.interaction,t.coordinate=r.coordinate,t.marks=[...r.marks,...r.components];let i=dQ(r,e),a=yield hV(i,e);return hQ(a,i,e)})}function hV(t,e){return hH(this,void 0,void 0,function*(){let[n]=dY("theme",e),[,r]=dY("mark",e),{theme:i,marks:a,coordinates:o=[]}=t,l=n(h2(i)),s=new Map;for(let t of a){let{type:n}=t,{props:i={}}=r(n),a=yield function(t,e,n){return h$(this,void 0,void 0,function*(){let[r,i]=yield function(t,e,n){return h$(this,void 0,void 0,function*(){let{library:r}=n,[i]=dY("transform",r),{preInference:a=[],postInference:o=[]}=e,{transform:l=[]}=t,s=[hP,hR,hZ,hT,hL,hB,hN,hF,hz,hI,...a.map(i),...l.map(i),...o.map(i),hD],c=[],u=t;for(let t of s)[c,u]=yield t(c,u,n);return[c,u]})}(t,e,{library:n}),{encode:a,scale:o,data:l,tooltip:s}=i;if(!1===Array.isArray(l))return null;let{channels:c}=e,u=(0,tK.Q3)(Object.entries(a).filter(t=>{let[,e]=t;return(0,tS.ri)(e)}),t=>t.map(t=>{let[e,n]=t;return Object.assign({name:e},n)}),t=>{var e;let[n]=t,r=null===(e=/([^\d]+)\d*$/.exec(n))||void 0===e?void 0:e[1],i=c.find(t=>t.name===r);return(null==i?void 0:i.independent)?n:r}),f=c.filter(t=>{let{name:e,required:n}=t;if(u.find(t=>{let[n]=t;return n===e}))return!0;if(n)throw Error("Missing encoding for channel: ".concat(e,"."));return!1}).flatMap(t=>{let{name:e,scale:n,scaleKey:r,range:i,quantitative:a,ordinal:l}=t,s=u.filter(t=>{let[n]=t;return n.startsWith(e)});return s.map((t,e)=>{let[s,c]=t,u=c.some(t=>t.visual),f=c.some(t=>t.constant),d=o[s]||{},{independent:h=!1,key:p=r||s,type:g=f?"constant":u?"identity":n}=d,m=hW(d,["independent","key","type"]),y="constant"===g;return{name:s,values:c,scaleKey:h||y?Symbol("independent"):p,scale:Object.assign(Object.assign({type:g,range:y?void 0:i},m),{quantitative:a,ordinal:l})}})});return[i,Object.assign(Object.assign({},e),{index:r,channels:f,tooltip:s})]})}(t,i,e);if(a){let[t,e]=a;s.set(t,e)}}let c=(0,tK.ZP)(Array.from(s.values()).flatMap(t=>t.channels),t=>{let{scaleKey:e}=t;return e});for(let t of c.values()){let n=t.reduce((t,e)=>{let{scale:n}=e;return(0,k.Z)(t,n)},{}),{scaleKey:r}=t[0],{values:i}=t[0],a=Array.from(new Set(i.map(t=>t.field).filter(tS.ri))),s=(0,k.Z)({guide:{title:0===a.length?void 0:a},field:a[0]},n),{name:c}=t[0],u=t.flatMap(t=>{let{values:e}=t;return e.map(t=>t.value)}),f=Object.assign(Object.assign({},function(t,e,n,r,i,a){let{guide:o={}}=n,l=function(t,e,n){let{type:r,domain:i,range:a,quantitative:o,ordinal:l}=n;return void 0!==r?r:ha(e,tS.mx)?"identity":"string"==typeof a?"linear":(i||a||[]).length>2?ht(t,l):void 0!==i?hr([i])?ht(t,l):hi(e)?"time":he(t,a,o):hr(e)?ht(t,l):hi(e)?"time":he(t,a,o)}(t,e,n);if("string"!=typeof l)return n;let s=function(t,e,n,r){let{domain:i}=r;if(void 0!==i)return i;switch(t){case"linear":case"time":case"log":case"pow":case"sqrt":case"quantize":case"threshold":return hn(function(t,e){let{zero:n=!1}=e,r=1/0,i=-1/0;for(let e of t)for(let t of e)(0,tS.ri)(t)&&(r=Math.min(r,+t),i=Math.max(i,+t));return r===1/0?[]:n?[Math.min(0,r),i]:[r,i]}(n,r),r);case"band":case"ordinal":case"point":return Array.from(new Set(n.flat()));case"quantile":return n.flat().sort();case"sequential":return hn(function(t){let e=1/0,n=-1/0;for(let r of t)for(let t of r)(0,tS.ri)(t)&&(e=Math.min(e,+t),n=Math.max(n,+t));return e===1/0?[]:[e<0?-n:e,n]}(n),r);default:return[]}}(l,0,e,n),c=function(t,e,n){let{ratio:r}=n;return null==r?e:d8({type:t})?function(t,e,n){let r=t.map(Number),i=new te.b({domain:r,range:[r[0],r[0]+(r[r.length-1]-r[0])*e]});return"time"===n?t.map(t=>new Date(i.map(t))):t.map(t=>i.map(t))}(e,r,t):d7({type:t})?function(t,e){let n=Math.round(t.length*e);return t.slice(0,n)}(e,r):e}(l,s,n);return Object.assign(Object.assign(Object.assign({},n),function(t,e,n,r,i){switch(t){case"linear":case"time":case"log":case"pow":case"sqrt":return function(t,e){let{interpolate:n=d2.wp,nice:r=!1,tickCount:i=5}=e;return Object.assign(Object.assign({},e),{interpolate:n,nice:r,tickCount:i})}(0,r);case"band":case"point":return function(t,e,n,r){if(void 0!==r.padding||void 0!==r.paddingInner||void 0!==r.paddingOuter)return Object.assign(Object.assign({},r),{unknown:NaN});let i="enterDelay"===e||"enterDuration"===e||"size"===e?0:"band"===t?d0(n)?0:.1:"point"===t?.5:0,{paddingInner:a=i,paddingOuter:o=i}=r;return Object.assign(Object.assign({},r),{paddingInner:a,paddingOuter:o,padding:i,unknown:NaN})}(t,e,i,r);case"sequential":return function(t){let{palette:e="ylGnBu",offset:n}=t,r=(0,iZ.Z)(e),i=d5["interpolate".concat(r)];if(!i)throw Error("Unknown palette: ".concat(r));return{interpolator:n?t=>i(n(t)):i}}(r);default:return r}}(l,t,0,n,r)),{domain:c,range:function(t,e,n,r,i,a,o){let{range:l}=r;if("string"==typeof l)return l.split("-");if(void 0!==l)return l;let{rangeMin:s,rangeMax:c}=r;switch(t){case"linear":case"time":case"log":case"pow":case"sqrt":{let t=d9(n,r,i,a,o),[l,u]="enterDelay"===e?[0,1e3]:"enterDuration"==e?[300,1e3]:e.startsWith("y")||e.startsWith("position")?[1,0]:"color"===e?[t[0],to(t)]:"opacity"===e?[0,1]:"size"===e?[1,10]:[0,1];return[null!=s?s:l,null!=c?c:u]}case"band":case"point":{let t="size"===e?5:0,n="size"===e?10:1;return[null!=s?s:t,null!=c?c:n]}case"ordinal":return d9(n,r,i,a,o);case"sequential":return;case"constant":return[n[0][0]];default:return[]}}(l,t,e,n,c,i,a),expectedDomain:s,guide:o,name:t,type:l})}(c,u,s,o,l,e)),{key:r});t.forEach(t=>t.scale=f)}return s})}function hU(t,e,n,r){let i=t.theme,a="string"==typeof e&&i[e]||{},o=r((0,k.Z)(a,Object.assign({type:e},n)));return o}function hQ(t,e,n){let[r]=dY("mark",n),[i]=dY("theme",n),[a]=dY("labelTransform",n),{key:o,frame:l=!1,theme:s,clip:c,style:u={},labelTransform:f=[]}=e,d=i(h2(s)),h=Array.from(t.values()),p=function(t,e){var n;let{components:r=[]}=e,i=["scale","encode","axis","legend","data","transform"],a=Array.from(new Set(t.flatMap(t=>t.channels.map(t=>t.scale)))),o=new Map(a.map(t=>[t.name,t]));for(let t of r){let e=function(t){let{channels:e=[],type:n,scale:r={}}=t,i=["shape","color","opacity","size"];return 0!==e.length?e:"axisX"===n?["x"]:"axisY"===n?["y"]:"legends"===n?Object.keys(r).filter(t=>i.includes(t)):[]}(t);for(let r of e){let e=o.get(r),l=(null===(n=t.scale)||void 0===n?void 0:n[r])||{},{independent:s=!1}=l;if(e&&!s){let{guide:n}=e,r="boolean"==typeof n?{}:n;e.guide=(0,k.Z)({},r,t),Object.assign(e,l)}else{let e=Object.assign(Object.assign({},l),{expectedDomain:l.domain,name:r,guide:(0,iR.Z)(t,i)});a.push(e)}}}return a}(h,e),g=(function(t,e,n){let{coordinates:r=[],title:i}=e,[,a]=dY("component",n),o=t.filter(t=>{let{guide:e}=t;return null!==e}),l=[],s=function(t,e,n){let[,r]=dY("component",n),{coordinates:i}=t;function a(t,e,n,a){let o=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return"x"===t?dJ(n)?"".concat(e,"Y"):"".concat(e,"X"):"y"===t?dJ(n)?"".concat(e,"X"):"".concat(e,"Y"):null}(e,t,i);if(!a||!o)return;let{props:l}=r(o),{defaultPosition:s,defaultSize:c,defaultOrder:u,defaultCrossPadding:[f]}=l;return Object.assign(Object.assign({position:s,defaultSize:c,order:u,type:o,crossPadding:f},a),{scales:[n]})}return e.filter(t=>t.slider||t.scrollbar).flatMap(t=>{let{slider:e,scrollbar:n,name:r}=t;return[a("slider",r,t,e),a("scrollbar",r,t,n)]}).filter(t=>!!t)}(e,t,n);if(l.push(...s),i){let{props:t}=a("title"),{defaultPosition:e,defaultOrientation:n,defaultOrder:r,defaultSize:o,defaultCrossPadding:s}=t,c="string"==typeof i?{title:i}:i;l.push(Object.assign({type:"title",position:e,orientation:n,order:r,crossPadding:s[0],defaultSize:o},c))}let c=function(t,e){let n=t.filter(t=>(function(t){if(!t||!t.type)return!1;if("function"==typeof t.type)return!0;let{type:e,domain:n,range:r,interpolator:i}=t,a=n&&n.length>0,o=r&&r.length>0;return!!(["linear","sqrt","log","time","pow","threshold","quantize","quantile","ordinal","band","point"].includes(e)&&a&&o||["sequential"].includes(e)&&a&&(o||i)||["constant","identity"].includes(e)&&o)})(t));return[...function(t,e){let n=["shape","size","color","opacity"],r=(t,e)=>"constant"===t&&"size"===e,i=t.filter(t=>{let{type:e,name:i}=t;return"string"==typeof e&&n.includes(i)&&!r(e,i)}),a=i.filter(t=>{let{type:e}=t;return"constant"===e}),o=i.filter(t=>{let{type:e}=t;return"constant"!==e}),l=(0,tK.Xx)(o,t=>t.field?t.field:Symbol("independent")).map(t=>{let[e,n]=t;return[e,[...n,...a]]}).filter(t=>{let[,e]=t;return e.some(t=>"constant"!==t.type)}),s=new Map(l);if(0===s.size)return[];let c=t=>t.sort((t,e)=>{let[n]=t,[r]=e;return n.localeCompare(r)}),u=Array.from(s).map(t=>{let[,e]=t,n=(function(t){if(1===t.length)return[t];let e=[];for(let n=1;n<=t.length;n++)e.push(...function t(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;if(1===n)return e.map(t=>[t]);let r=[];for(let i=0;i{r.push([e[i],...t])})}return r}(t,n));return e})(e).sort((t,e)=>e.length-t.length),r=n.map(t=>({combination:t,option:t.map(t=>[t.name,function(t){let{type:e}=t;return"string"!=typeof e?null:e in ho?"continuous":e in hs?"discrete":e in hl?"distribution":e in hc?"constant":null}(t)])}));for(let{option:t,combination:e}of r)if(!t.every(t=>"constant"===t[1])&&t.every(t=>"discrete"===t[1]||"constant"===t[1]))return["legendCategory",e];for(let[t,e]of dm)for(let{option:n,combination:i}of r)if(e.some(t=>(0,dg.Z)(c(t),c(n))))return[t,i];return null}).filter(tS.ri);return u}(n,0),...n.map(t=>{let{name:n}=t;if(dX(e,"helix").length>0||d0(e)||dJ(e)&&(dK(e)||d1(e)))return null;if(n.startsWith("x"))return dK(e)?["axisArc",[t]]:d1(e)?["axisLinear",[t]]:[dJ(e)?"axisY":"axisX",[t]];if(n.startsWith("y"))return dK(e)?["axisLinear",[t]]:d1(e)?["axisArc",[t]]:[dJ(e)?"axisX":"axisY",[t]];if(n.startsWith("z"))return["axisZ",[t]];if(n.startsWith("position")){if(dX(e,"radar").length>0)return["axisRadar",[t]];if(!dK(e))return["axisY",[t]]}return null}).filter(tS.ri)]}(o,r);return c.forEach(t=>{let[e,n]=t,{props:i}=a(e),{defaultPosition:s,defaultPlane:c="xy",defaultOrientation:u,defaultSize:f,defaultOrder:d,defaultLength:h,defaultPadding:p=[0,0],defaultCrossPadding:g=[0,0]}=i,m=(0,k.Z)({},...n),{guide:y,field:v}=m,b=Array.isArray(y)?y:[y];for(let t of b){let[i,a]=function(t,e,n,r,i,a,o){let[l]=hh(o),s=[r.position||e,null!=l?l:n];return"string"==typeof t&&t.startsWith("axis")?function(t,e,n,r,i){let{name:a}=n[0];if("axisRadar"===t){let t=r.filter(t=>t.name.startsWith("position")),e=function(t){let e=/position(\d*)/g.exec(t);return e?+e[1]:null}(a);if(a===t.slice(-1)[0].name||null===e)return[null,null];let[n,o]=hh(i),l=(o-n)/(t.length-1)*e+n;return["center",l]}if("axisY"===t&&dX(i,"parallel").length>0)return dJ(i)?["center","horizontal"]:["center","vertical"];if("axisLinear"===t){let[t]=hh(i);return["center",t]}return"axisArc"===t?"inner"===e[0]?["inner",null]:["outer",null]:dK(i)||d1(i)?["center",null]:"axisX"===t&&dX(i,"reflect").length>0||"axisX"===t&&dX(i,"reflectY").length>0?["top",null]:e}(t,s,i,a,o):"string"==typeof t&&t.startsWith("legend")&&dK(o)&&"center"===r.position?["center","vertical"]:s}(e,s,u,t,n,o,r);if(!i&&!a)continue;let m="left"===i||"right"===i,y=m?p[1]:p[0],b=m?g[1]:g[0],{size:x,order:O=d,length:w=h,padding:_=y,crossPadding:k=b}=t;l.push(Object.assign(Object.assign({title:v},t),{defaultSize:f,length:w,position:i,plane:c,orientation:a,padding:_,order:O,crossPadding:k,size:x,type:e,scales:n}))}}),l})(function(t,e,n){var r;for(let[e]of n.entries())if("cell"===e.type)return t.filter(t=>"shape"!==t.name);if(1!==e.length||t.some(t=>"shape"===t.name))return t;let{defaultShape:i}=e[0];if(!["point","line","rect","hollow"].includes(i))return t;let a=(null===(r=t.find(t=>"color"===t.name))||void 0===r?void 0:r.field)||null;return[...t,{field:a,name:"shape",type:"constant",domain:[],range:[{point:"point",line:"hyphen",rect:"square",hollow:"hollow"}[i]]}]}(Array.from(p),h,t),e,n).map(t=>{let e=(0,k.Z)(t,t.style);return delete e.style,e}),m=function(t,e,n,r){var i,a;let{width:o,height:l,depth:s,x:c=0,y:u=0,z:f=0,inset:d=null!==(i=n.inset)&&void 0!==i?i:0,insetLeft:h=d,insetTop:p=d,insetBottom:g=d,insetRight:m=d,margin:y=null!==(a=n.margin)&&void 0!==a?a:0,marginLeft:v=y,marginBottom:b=y,marginTop:x=y,marginRight:O=y,padding:w=n.padding,paddingBottom:_=w,paddingLeft:k=w,paddingRight:C=w,paddingTop:j=w}=function(t,e,n,r){let{coordinates:i}=e;if(!dK(i)&&!d1(i))return e;let a=t.filter(t=>"string"==typeof t.type&&t.type.startsWith("axis"));if(0===a.length)return e;let o=a.map(t=>{let e="axisArc"===t.type?"arc":"linear";return hC(t,e,n)}),l=(0,rH.Z)(o,t=>{var e;return null!==(e=t.labelSpacing)&&void 0!==e?e:0}),s=a.flatMap((t,e)=>{let n=o[e],i=hw(t,r),a=h_(n,i);return a}).filter(tS.ri),c=(0,rH.Z)(s,t=>t.height)+l,u=a.flatMap((t,e)=>{let n=o[e];return hk(n)}).filter(t=>null!==t),f=0===u.length?0:(0,rH.Z)(u,t=>t.height),{inset:d=c,insetLeft:h=d,insetBottom:p=d,insetTop:g=d+f,insetRight:m=d}=e;return Object.assign(Object.assign({},e),{insetLeft:h,insetBottom:p,insetTop:g,insetRight:m})}(t,e,n,r),M=1/4,S=(t,n,r,i,a)=>{let{marks:o}=e;if(0===o.length||t-i-a-t*M>0)return[i,a];let l=t*(1-M);return["auto"===n?l*i/(i+a):i,"auto"===r?l*a/(i+a):a]},A=t=>"auto"===t?20:null!=t?t:20,E=A(j),P=A(_),R=hS(t,l-E-P,[E+x,P+b],["left","right"],e,n,r),{paddingLeft:Z,paddingRight:T}=R,L=o-v-O,[B,I]=S(L,k,C,Z,T),D=L-B-I,N=hS(t,D,[B+v,I+O],["bottom","top"],e,n,r),{paddingTop:z,paddingBottom:F}=N,$=l-b-x,[W,H]=S($,_,j,F,z),G=$-W-H;return{width:o,height:l,depth:s,insetLeft:h,insetTop:p,insetBottom:g,insetRight:m,innerWidth:D,innerHeight:G,paddingLeft:B,paddingRight:I,paddingTop:H,paddingBottom:W,marginLeft:v,marginBottom:b,marginTop:x,marginRight:O,x:c,y:u,z:f}}(g,e,d,n),y=function(t,e,n){let[r]=dY("coordinate",n),{innerHeight:i,innerWidth:a,insetLeft:o,insetTop:l,insetRight:s,insetBottom:c}=t,{coordinates:u=[]}=e,f=u.find(t=>"cartesian"===t.type||"cartesian3D"===t.type)?u:[...u,{type:"cartesian"}],d="cartesian3D"===f[0].type,h=Object.assign(Object.assign({},t),{x:o,y:l,width:a-o-s,height:i-c-l,transformations:f.flatMap(r)}),p=d?new dy.Coordinate3D(h):new dy.Coordinate(h);return p}(m,e,n),v=l?(0,k.Z)({mainLineWidth:1,mainStroke:"#000"},u):u;!function(t,e,n){let r=(0,tK.ZP)(t,t=>"".concat(t.plane||"xy","-").concat(t.position)),{paddingLeft:i,paddingRight:a,paddingTop:o,paddingBottom:l,marginLeft:s,marginTop:c,marginBottom:u,marginRight:f,innerHeight:d,innerWidth:h,insetBottom:p,insetLeft:g,insetRight:m,insetTop:y,height:v,width:b,depth:x}=n,O={xy:hA({width:b,height:v,paddingLeft:i,paddingRight:a,paddingTop:o,paddingBottom:l,marginLeft:s,marginTop:c,marginBottom:u,marginRight:f,innerHeight:d,innerWidth:h,insetBottom:p,insetLeft:g,insetRight:m,insetTop:y}),yz:hA({width:x,height:v,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:x,innerHeight:v,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0}),xz:hA({width:b,height:x,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:b,innerHeight:x,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0})};for(let[t,n]of r.entries()){let[r,i]=t.split("-"),a=O[r][i],[o,l]=tl(n,t=>"string"==typeof t.type&&!!("center"===i||t.type.startsWith("axis")&&["inner","outer"].includes(i)));o.length&&function(t,e,n,r){let[i,a]=tl(t,t=>!!("string"==typeof t.type&&t.type.startsWith("axis")));(function(t,e,n,r){if("center"===r){if(N(e)&&B(e))(function(t,e,n,r){let[i,a,o,l]=n;for(let e of t)e.bbox={x:i,y:a,width:o,height:l},e.radar={index:t.indexOf(e),count:t.length}})(t,0,n,0);else{var i;B(e)?function(t,e,n){let[r,i,a,o]=n;for(let e of t)e.bbox={x:r,y:i,width:a,height:o}}(t,0,n):N(e)&&("horizontal"===(i=t[0].orientation)?function(t,e,n){let[r,i,a]=n,o=Array(t.length).fill(0),l=e.map(o),s=l.filter((t,e)=>e%2==1).map(t=>t+i);for(let e=0;ee%2==0).map(t=>t+r);for(let e=0;enull==c?void 0:c(t.order,e.order));let x=t=>"title"===t||"group"===t||t.startsWith("legend"),O=(t,e,n)=>void 0===n?e:x(t)?n:e,w=(t,e,n)=>void 0===n?e:x(t)?n:e;for(let e=0,n=s?h+y:h;e"group"===t.type);for(let t of _){let{bbox:e,children:n}=t,r=e[v],i=r/n.length,a=n.reduce((t,e)=>{var n;let r=null===(n=e.layout)||void 0===n?void 0:n.justifyContent;return r||t},"flex-start"),o=n.map((t,e)=>{let{length:r=i,padding:a=0}=t;return r+(e===n.length-1?0:a)}),l=(0,sR.Z)(o),s=r-l,c="flex-start"===a?0:"center"===a?s/2:s;for(let t=0,r=e[p]+c;t{let{type:e}=t;return"axisX"===e}),n=t.find(t=>{let{type:e}=t;return"axisY"===e}),r=t.find(t=>{let{type:e}=t;return"axisZ"===e});e&&n&&r&&(e.plane="xy",n.plane="xy",r.plane="yz",r.origin=[e.bbox.x,e.bbox.y,0],r.eulerAngles=[0,-90,0],r.bbox.x=e.bbox.x,r.bbox.y=e.bbox.y,t.push(Object.assign(Object.assign({},e),{plane:"xz",showLabel:!1,showTitle:!1,origin:[e.bbox.x,e.bbox.y,0],eulerAngles:[-90,0,0]})),t.push(Object.assign(Object.assign({},n),{plane:"yz",showLabel:!1,showTitle:!1,origin:[n.bbox.x+n.bbox.width,n.bbox.y,0],eulerAngles:[0,-90,0]})),t.push(Object.assign(Object.assign({},r),{plane:"xz",actualPosition:"left",showLabel:!1,showTitle:!1,eulerAngles:[90,-90,0]})))}(g);let b={};for(let t of g){let{scales:e=[]}=t,r=[];for(let t of e){let{name:e}=t,i=d4(t,n);r.push(i),"y"===e&&i.update(Object.assign(Object.assign({},i.getOptions()),{xScale:b.x})),d3(b,{[e]:i})}t.scaleInstances=r}let x=[];for(let[e,i]of t.entries()){let{children:t,dataDomain:a,modifier:l,key:s}=e,{index:c,channels:u,tooltip:f}=i,d=Object.fromEntries(u.map(t=>{let{name:e,scale:n}=t;return[e,n]})),h=ti(d,t=>d4(t,n));d3(b,h);let p=function(t,e){let n={};for(let r of t){let{values:t,name:i}=r,a=e[i];for(let e of t){let{name:t,value:r}=e;n[t]=r.map(t=>a.map(t))}}return n}(u,h),g=r(e),[v,O,w]=function(t){let[e,n,r]=t;if(r)return[e,n,r];let i=[],a=[];for(let t=0;t{let[e,n]=t;return(0,tS.ri)(e)&&(0,tS.ri)(n)})&&(i.push(r),a.push(o))}return[i,a]}(g(c,h,p,y)),_=a||v.length,k=l?l(O,_,m):[],C=t=>{var e,n;return null===(n=null===(e=f.title)||void 0===e?void 0:e[t])||void 0===n?void 0:n.value},j=t=>f.items.map(e=>e[t]),M=v.map((t,e)=>{let n=Object.assign({points:O[e],transform:k[e],index:t,markKey:s,viewKey:o},f&&{title:C(t),items:j(t)});for(let[r,i]of Object.entries(p))n[r]=i[t],w&&(n["series".concat((0,iZ.Z)(r))]=w[e].map(t=>i[t]));return w&&(n.seriesIndex=w[e]),w&&f&&(n.seriesItems=w[e].map(t=>j(t)),n.seriesTitle=w[e].map(t=>C(t))),n});i.data=M,i.index=v;let S=null==t?void 0:t(M,h,m);x.push(...S||[])}let O={layout:m,theme:d,coordinate:y,markState:t,key:o,clip:c,scale:b,style:v,components:g,labelTransform:(0,tS.qC)(f.map(a))};return[O,x]}function hX(t,e,n,r,i){return hH(this,void 0,void 0,function*(){let{components:a,theme:o,layout:l,markState:s,coordinate:c,key:u,style:f,clip:d,scale:h}=t,{x:p,y:g,width:m,height:y}=l,v=hG(l,["x","y","width","height"]),b=["view","plot","main","content"],x=b.map((t,e)=>e),O=b.map(t=>(0,tS.c7)(Object.assign({},o.view,f),t)),w=["a","margin","padding","inset"].map(t=>(0,tS.hB)(v,t)),_=t=>t.style("x",t=>A[t].x).style("y",t=>A[t].y).style("width",t=>A[t].width).style("height",t=>A[t].height).each(function(t,e,n){!function(t,e){for(let[n,r]of Object.entries(e))t.style(n,r)}((0,H.F)(n),O[t])}),C=0,j=0,M=m,S=y,A=x.map(t=>{let e=w[t],{left:n=0,top:r=0,bottom:i=0,right:a=0}=e;return{x:C+=n,y:j+=r,width:M-=n+a,height:S-=r+i}});e.selectAll(h7(aF.tu)).data(x.filter(t=>(0,tS.ri)(O[t])),t=>b[t]).join(t=>t.append("rect").attr("className",aF.tu).style("zIndex",-2).call(_),t=>t.call(_),t=>t.remove());let E=function(t){let e=-1/0,n=1/0;for(let[r,i]of t){let{animate:t={}}=r,{data:a}=i,{enter:o={},update:l={},exit:s={}}=t,{type:c,duration:u=300,delay:f=0}=l,{type:d,duration:h=300,delay:p=0}=o,{type:g,duration:m=300,delay:y=0}=s;for(let t of a){let{updateType:r=c,updateDuration:i=u,updateDelay:a=f,enterType:o=d,enterDuration:l=h,enterDelay:s=p,exitDuration:v=m,exitDelay:b=y,exitType:x=g}=t;(void 0===r||r)&&(e=Math.max(e,i+a),n=Math.min(n,a)),(void 0===x||x)&&(e=Math.max(e,v+b),n=Math.min(n,b)),(void 0===o||o)&&(e=Math.max(e,l+s),n=Math.min(n,s))}}return e===-1/0?null:[n,e-n]}(s),P=!!E&&{duration:E[1]};for(let[,t]of(0,tK.Xx)(a,t=>"".concat(t.type,"-").concat(t.position)))t.forEach((t,e)=>t.index=e);let R=e.selectAll(h7(aF.nQ)).data(a,t=>"".concat(t.type,"-").concat(t.position,"-").concat(t.index)).join(t=>t.append("g").style("zIndex",t=>{let{zIndex:e}=t;return e||-1}).attr("className",aF.nQ).append(t=>hf((0,k.Z)({animate:P,scale:h},t),c,o,r,s)),t=>t.transition(function(t,e,n){let{preserve:i=!1}=t;if(i)return;let a=hf((0,k.Z)({animate:P,scale:h},t),c,o,r,s),{attributes:l}=a,[u]=n.childNodes;return u.update(l,!1)})).transitions();n.push(...R.flat().filter(tS.ri));let Z=e.selectAll(h7(aF.V$)).data([l],()=>u).join(t=>t.append("rect").style("zIndex",0).style("fill","transparent").attr("className",aF.V$).call(h4).call(h8,Array.from(s.keys())).call(h9,d),t=>t.call(h8,Array.from(s.keys())).call(t=>E?function(t,e){let[n,r]=e;t.transition(function(t,e,i){let{transform:a,width:o,height:l}=i.style,{paddingLeft:s,paddingTop:c,innerWidth:u,innerHeight:f,marginLeft:d,marginTop:h}=t,p=[{transform:a,width:o,height:l},{transform:"translate(".concat(s+d,", ").concat(c+h,")"),width:u,height:f}];return i.animate(p,{delay:n,duration:r,fill:"both"})})}(t,E):h4(t)).call(h9,d)).transitions();for(let[a,o]of(n.push(...Z.flat()),s.entries())){let{data:l}=o,{key:s,class:c,type:u}=a,f=e.select("#".concat(s)),d=function(t,e,n,r,i){let[a]=dY("shape",r),{data:o,encode:l}=t,{defaultShape:s,data:c,shape:u}=e,f=ti(l,t=>t.value),d=c.map(t=>t.points),{theme:h,coordinate:p}=n,{type:g,style:m={}}=t,y=Object.assign(Object.assign({},i),{document:dV(i),coordinate:p,theme:h});return e=>{let{shape:n=s}=m,{shape:r=n,points:i,seriesIndex:l,index:c}=e,p=hG(e,["shape","points","seriesIndex","index"]),v=Object.assign(Object.assign({},p),{index:c}),b=l?l.map(t=>o[t]):o[c],x=l||c,O=ti(m,t=>hK(t,b,x,o,{channel:f})),w=u[r]?u[r](O,y):a(Object.assign(Object.assign({},O),{type:h6(t,r)}),y),_=hJ(h,g,r,s);return w(i,v,_,d)}}(a,o,t,r,i),h=h0("enter",a,o,t,r),p=h0("update",a,o,t,r),g=h0("exit",a,o,t,r),m=function(t,e,n,r){let i=t.node().parentElement;return i.findAll(t=>void 0!==t.style.facet&&t.style.facet===n&&t!==e.node()).flatMap(t=>t.getElementsByClassName(r))}(e,f,c,"element"),y=f.selectAll(h7(aF.Tt)).selectFacetAll(m).data(l,t=>t.key,t=>t.groupKey).join(t=>t.append(d).attr("className",aF.Tt).attr("markType",u).transition(function(t,e,n){return h(t,[n])}),t=>t.call(t=>{let e=t.parent(),n=(0,tS.Ye)(t=>{let[e,n]=t.getBounds().min;return[e,n]});t.transition(function(t,r,i){!function(t,e,n){if(!t.__facet__)return;let r=t.parentNode.parentNode,i=e.parentNode,[a,o]=n(r),[l,s]=n(i),c="translate(".concat(a-l,", ").concat(o-s,")");(0,tS.gn)(t,c),e.append(t)}(i,e,n);let a=d(t,r),o=p(t,[i],[a]);return null!==o||(i.nodeName===a.nodeName&&"g"!==a.nodeName?(0,tS.DM)(i,a):(i.parentNode.replaceChild(a,i),a.className=aF.Tt,a.markType=u,a.__data__=i.__data__)),o}).attr("markType",u).attr("className",aF.Tt)}),t=>t.each(function(t,e,n){n.__removed__=!0}).transition(function(t,e,n){return g(t,[n])}).remove(),t=>t.append(d).attr("className",aF.Tt).attr("markType",u).transition(function(t,e,n){let{__fromElements__:r}=n,i=p(t,r,[n]),a=new H.Y(r,null,n.parentNode);return a.transition(i).remove(),i}),t=>t.transition(function(t,e,n){let r=new H.Y([],n.__toData__,n.parentNode),i=r.append(d).attr("className",aF.Tt).attr("markType",u).nodes();return p(t,[n],i)}).remove()).transitions();n.push(...y.flat())}!function(t,e,n,r,i){let[a]=dY("labelTransform",r),{markState:o,labelTransform:l}=t,s=e.select(h7(aF.z3)).node(),c=new Map,u=new Map,f=Array.from(o.entries()).flatMap(n=>{let[a,o]=n,{labels:l=[],key:s}=a,f=function(t,e,n,r,i){let[a]=dY("shape",r),{data:o,encode:l}=t,{data:s,defaultLabelShape:c}=e,u=s.map(t=>t.points),f=ti(l,t=>t.value),{theme:d,coordinate:h}=n,p=Object.assign(Object.assign({},i),{document:dV(i),theme:d,coordinate:h});return t=>{let{index:e,points:n}=t,r=o[e],{formatter:i=t=>"".concat(t),transform:l,style:s,render:h}=t,g=hG(t,["formatter","transform","style","render"]),m=ti(Object.assign(Object.assign({},g),s),t=>hK(t,r,e,o,{channel:f})),{shape:y=c,text:v}=m,b=hG(m,["shape","text"]),x="string"==typeof i?(0,iT.WU)(i):i,O=Object.assign(Object.assign({},b),{text:x(v,r,e,o),datum:r}),w=Object.assign({type:"label.".concat(y),render:h},b),_=a(w,p),k=hJ(d,"label",y,"label");return _(n,O,k,u)}}(a,o,t,r,i),d=e.select("#".concat(s)).selectAll(h7(aF.Tt)).nodes().filter(t=>!t.__removed__);return l.flatMap((t,e)=>{let{transform:n=[]}=t,r=hG(t,["transform"]);return d.flatMap(n=>{let i=function(t,e,n){let{seriesIndex:r,seriesKey:i,points:a,key:o,index:l}=n.__data__,s=function(t){let e=t.cloneNode(),n=t.getAnimations();e.style.visibility="hidden",n.forEach(t=>{let n=t.effect.getKeyframes();e.attr(n[n.length-1])}),t.parentNode.appendChild(e);let r=e.getLocalBounds();e.destroy();let{min:i,max:a}=r;return[i,a]}(n);if(!r)return[Object.assign(Object.assign({},t),{key:"".concat(o,"-").concat(e),bounds:s,index:l,points:a,dependentElement:n})];let c=function(t){let{selector:e}=t;if(!e)return null;if("function"==typeof e)return e;if("first"===e)return t=>[t[0]];if("last"===e)return t=>[t[t.length-1]];throw Error("Unknown selector: ".concat(e))}(t),u=r.map((r,o)=>Object.assign(Object.assign({},t),{key:"".concat(i[o],"-").concat(e),bounds:[a[o]],index:r,points:a,dependentElement:n}));return c?c(u):u}(r,e,n);return i.forEach(e=>{c.set(e,f),u.set(e,t)}),i})})}),d=(0,H.F)(s).selectAll(h7(aF.fw)).data(f,t=>t.key).join(t=>t.append(t=>c.get(t)(t)).attr("className",aF.fw),t=>t.each(function(t,e,n){let r=c.get(t),i=r(t);(0,tS.DM)(n,i)}),t=>t.remove()).nodes(),h=(0,tK.ZP)(d,t=>u.get(t.__data__)),{coordinate:p}=t,g={canvas:i.canvas,coordinate:p};for(let[t,e]of h){let{transform:n=[]}=t,r=(0,tS.qC)(n.map(a));r(e,g)}l&&l(d,g)}(t,e,0,r,i)})}function hK(t,e,n,r,i){return"function"==typeof t?t(e,n,r,i):"string"!=typeof t?t:(0,tS.mx)(e)&&void 0!==e[t]?e[t]:t}function hJ(t,e,n,r){if("string"!=typeof e)return;let{color:i}=t,a=t[e]||{},o=a[n]||a[r];return Object.assign({color:i},o)}function h0(t,e,n,r,i){var a,o;let[,l]=dY("shape",i),[s]=dY("animation",i),{defaultShape:c,shape:u}=n,{theme:f,coordinate:d}=r,h=(0,iZ.Z)(t),{["default".concat(h,"Animation")]:p}=(null===(a=u[c])||void 0===a?void 0:a.props)||l(h6(e,c)).props,{[t]:g={}}=f,m=(null===(o=e.animate)||void 0===o?void 0:o[t])||{},y={coordinate:d};return(e,n,r)=>{let{["".concat(t,"Type")]:i,["".concat(t,"Delay")]:a,["".concat(t,"Duration")]:o,["".concat(t,"Easing")]:l}=e,c=Object.assign({type:i||p},m);if(!c.type)return null;let u=s(c,y),f=u(n,r,(0,k.Z)(g,{delay:a,duration:o,easing:l}));return Array.isArray(f)?f:[f]}}function h1(t){return t.finished.then(()=>{t.cancel()}),t}function h2(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("string"==typeof t)return{type:t};let{type:e="light"}=t,n=hG(t,["type"]);return Object.assign(Object.assign({},n),{type:e})}function h5(t){let{interaction:e={}}=t;return Object.entries((0,k.Z)({event:!0,tooltip:!0,sliderFilter:!0,legendFilter:!0,scrollbarFilter:!0},e)).reverse()}function h3(t,e){return hH(this,void 0,void 0,function*(){let{data:n}=t,r=hG(t,["data"]);if(void 0==n)return t;let[,{data:i}]=yield hR([],{data:n},{library:e});return Object.assign({data:i},r)})}function h4(t){t.style("transform",t=>"translate(".concat(t.paddingLeft+t.marginLeft,", ").concat(t.paddingTop+t.marginTop,")")).style("width",t=>t.innerWidth).style("height",t=>t.innerHeight)}function h6(t,e){let{type:n}=t;return"string"==typeof e?"".concat(n,".").concat(e):e}function h8(t,e){let n=t=>void 0!==t.class?"".concat(t.class):"",r=t.nodes();if(0===r.length)return;t.selectAll(h7(aF.Sx)).data(e,t=>t.key).join(t=>t.append("g").attr("className",aF.Sx).attr("id",t=>t.key).style("facet",n).style("fill","transparent").style("zIndex",t=>{var e;return null!==(e=t.zIndex)&&void 0!==e?e:0}),t=>t.style("facet",n).style("fill","transparent").style("zIndex",t=>{var e;return null!==(e=t.zIndex)&&void 0!==e?e:0}),t=>t.remove());let i=t.select(h7(aF.z3)).node();i||t.append("g").attr("className",aF.z3).style("zIndex",0)}function h7(){for(var t=arguments.length,e=Array(t),n=0;n".".concat(t)).join("")}function h9(t,e){t.node()&&t.style("clipPath",t=>{if(!e)return null;let{paddingTop:n,paddingLeft:r,marginLeft:i,marginTop:a,innerWidth:o,innerHeight:l}=t;return new t1.UL({style:{x:r+i,y:n+a,width:o,height:l}})})}function pt(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{canvas:r,emitter:i}=e;r&&(function(t){let e=t.getRoot().querySelectorAll(".".concat(aF.S));null==e||e.forEach(t=>{let{nameInteraction:e=new Map}=t;(null==e?void 0:e.size)>0&&Array.from(null==e?void 0:e.values()).forEach(t=>{null==t||t.destroy()})})}(r),n?r.destroy():r.destroyChildren()),i.off()}let pe=t=>t?parseInt(t):0;function pn(t,e){let n=[t];for(;n.length;){let t=n.shift();e&&e(t);let r=t.children||[];for(let t of r)n.push(t)}}class pr{map(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t=>t,e=t(this.value);return this.value=e,this}attr(t,e){return 1==arguments.length?this.value[t]:this.map(n=>(n[t]=e,n))}append(t){let e=new t({});return e.children=[],this.push(e),e}push(t){return t.parentNode=this,t.index=this.children.length,this.children.push(t),this}remove(){let t=this.parentNode;if(t){let{children:e}=t,n=e.findIndex(t=>t===this);e.splice(n,1)}return this}getNodeByKey(t){let e=null;return pn(this,n=>{t===n.attr("key")&&(e=n)}),e}getNodesByType(t){let e=[];return pn(this,n=>{t===n.type&&e.push(n)}),e}getNodeByType(t){let e=null;return pn(this,n=>{e||t!==n.type||(e=n)}),e}call(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;re.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let pa=["width","height","depth","padding","paddingLeft","paddingRight","paddingBottom","paddingTop","inset","insetLeft","insetRight","insetTop","insetBottom","margin","marginLeft","marginRight","marginTop","marginBottom","autoFit","theme","title"],po="__remove__",pl="__callback__";function ps(t){return Object.assign(Object.assign({},t.value),{type:t.type})}function pc(t,e){let{width:n,height:r,autoFit:i,depth:a=0}=t,o=640,l=480;if(i){let{width:t,height:n}=function(t){let e=getComputedStyle(t),n=t.clientWidth||pe(e.width),r=t.clientHeight||pe(e.height),i=pe(e.paddingLeft)+pe(e.paddingRight),a=pe(e.paddingTop)+pe(e.paddingBottom);return{width:n-i,height:r-a}}(e);o=t||o,l=n||l}return o=n||o,l=r||l,{width:Math.max((0,tn.Z)(o)?o:1,1),height:Math.max((0,tn.Z)(l)?l:1,1),depth:a}}function pu(t){return e=>{for(let[n,r]of Object.entries(t)){let{type:t}=r;"value"===t?function(t,e,n){let{key:r=e}=n;t.prototype[e]=function(t){return 0==arguments.length?this.attr(r):this.attr(r,t)}}(e,n,r):"array"===t?function(t,e,n){let{key:r=e}=n;t.prototype[e]=function(t){if(0==arguments.length)return this.attr(r);if(Array.isArray(t))return this.attr(r,t);let e=[...this.attr(r)||[],t];return this.attr(r,e)}}(e,n,r):"object"===t?function(t,e,n){let{key:r=e}=n;t.prototype[e]=function(t,e){if(0==arguments.length)return this.attr(r);if(1==arguments.length&&"string"!=typeof t)return this.attr(r,t);let n=this.attr(r)||{};return n[t]=1==arguments.length||e,this.attr(r,n)}}(e,n,r):"node"===t?function(t,e,n){let{ctor:r}=n;t.prototype[e]=function(t){let n=this.append(r);return"mark"===e&&(n.type=t),n}}(e,n,r):"container"===t?function(t,e,n){let{ctor:r}=n;t.prototype[e]=function(){return this.type=null,this.append(r)}}(e,n,r):"mix"===t&&function(t,e,n){t.prototype[e]=function(t){if(0==arguments.length)return this.attr(e);if(Array.isArray(t))return this.attr(e,{items:t});if((0,tS.mx)(t)&&(void 0!==t.title||void 0!==t.items)||null===t||!1===t)return this.attr(e,t);let n=this.attr(e)||{},{items:r=[]}=n;return r.push(t),n.items=r,this.attr(e,n)}}(e,n,0)}return e}}function pf(t){return Object.fromEntries(Object.entries(t).map(t=>{let[e,n]=t;return[e,{type:"node",ctor:n}]}))}let pd={encode:{type:"object"},scale:{type:"object"},data:{type:"value"},transform:{type:"array"},style:{type:"object"},animate:{type:"object"},coordinate:{type:"object"},interaction:{type:"object"},label:{type:"array",key:"labels"},axis:{type:"object"},legend:{type:"object"},slider:{type:"object"},scrollbar:{type:"object"},state:{type:"object"},layout:{type:"object"},theme:{type:"object"},title:{type:"value"}},ph=Object.assign(Object.assign({},pd),{tooltip:{type:"mix"},viewStyle:{type:"object"}}),pp=Object.assign(Object.assign({},pd),{labelTransform:{type:"array"}}),pg=class extends pr{changeData(t){var e;let n=this.getRoot();if(n)return this.attr("data",t),(null===(e=this.children)||void 0===e?void 0:e.length)&&this.children.forEach(e=>{e.attr("data",t)}),null==n?void 0:n.render()}getView(){let t=this.getRoot(),{views:e}=t.getContext();if(null==e?void 0:e.length)return e.find(t=>t.key===this._key)}getScale(){var t;return null===(t=this.getView())||void 0===t?void 0:t.scale}getScaleByChannel(t){let e=this.getScale();if(e)return e[t]}getCoordinate(){var t;return null===(t=this.getView())||void 0===t?void 0:t.coordinate}getTheme(){var t;return null===(t=this.getView())||void 0===t?void 0:t.theme}getGroup(){let t=this._key;if(!t)return;let e=this.getRoot(),n=e.getContext().canvas.getRoot();return n.getElementById(t)}show(){let t=this.getGroup();t&&(t.isVisible()||aG(t))}hide(){let t=this.getGroup();t&&t.isVisible()&&aH(t)}};pg=function(t,e,n,r){var i,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(o=(a<3?i(o):a>3?i(e,n,o):i(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}([pu(pp)],pg);let pm=class extends pr{changeData(t){let e=this.getRoot();if(e)return this.attr("data",t),null==e?void 0:e.render()}getMark(){var t;let e=null===(t=this.getRoot())||void 0===t?void 0:t.getView();if(!e)return;let{markState:n}=e,r=Array.from(n.keys()).find(t=>t.key===this.attr("key"));return n.get(r)}getScale(){var t;let e=null===(t=this.getRoot())||void 0===t?void 0:t.getView();if(e)return null==e?void 0:e.scale}getScaleByChannel(t){var e,n;let r=null===(e=this.getRoot())||void 0===e?void 0:e.getView();if(r)return null===(n=null==r?void 0:r.scale)||void 0===n?void 0:n[t]}getGroup(){let t=this.attr("key");if(!t)return;let e=this.getRoot(),n=e.getContext().canvas.getRoot();return n.getElementById(t)}};pm=function(t,e,n,r){var i,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(o=(a<3?i(o):a>3?i(e,n,o):i(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}([pu(ph)],pm);let py={};var pv=function(t,e,n,r){var i,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(o=(a<3?i(o):a>3?i(e,n,o):i(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o},pb=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};n(50368);let px=Object.assign({},Object.assign(Object.assign(Object.assign(Object.assign({},{"composition.geoView":uS,"composition.geoPath":uE}),{"data.arc":f_,"data.cluster":uq,"mark.forceGraph":u$,"mark.tree":uK,"mark.pack":u6,"mark.sankey":fy,"mark.chord":fA,"mark.treemap":fB}),{"data.venn":du,"mark.boxplot":fY,"mark.gauge":f0,"mark.wordCloud":r0,"mark.liquid":f9}),{"data.fetch":cC,"data.inline":cj,"data.sortBy":cM,"data.sort":cS,"data.filter":cE,"data.pick":cP,"data.rename":cR,"data.fold":cZ,"data.slice":cT,"data.custom":cL,"data.map":cB,"data.join":cD,"data.kde":cF,"data.log":c$,"data.wordCloud":c3,"transform.stackY":sS,"transform.binX":sY,"transform.bin":sq,"transform.dodgeX":sU,"transform.jitter":sX,"transform.jitterX":sK,"transform.jitterY":sJ,"transform.symmetryY":s1,"transform.diffY":s2,"transform.stackEnter":s5,"transform.normalizeY":s6,"transform.select":ce,"transform.selectX":cr,"transform.selectY":ca,"transform.groupX":cs,"transform.groupY":cc,"transform.groupColor":cu,"transform.group":cl,"transform.sortX":cp,"transform.sortY":cg,"transform.sortColor":cm,"transform.flexX":cy,"transform.pack":cv,"transform.sample":cO,"transform.filter":cw,"coordinate.cartesian":c,"coordinate.polar":f,"coordinate.transpose":d,"coordinate.theta":p,"coordinate.parallel":g,"coordinate.fisheye":m,"coordinate.radial":v,"coordinate.radar":b,"encode.constant":x,"encode.field":O,"encode.transform":w,"encode.column":_,"mark.interval":tU,"mark.rect":tX,"mark.line":eh,"mark.point":ns,"mark.text":nw,"mark.cell":nC,"mark.area":nD,"mark.link":nX,"mark.image":n1,"mark.polygon":n8,"mark.box":rr,"mark.vector":ra,"mark.lineX":ru,"mark.lineY":rh,"mark.connector":rv,"mark.range":rw,"mark.rangeX":rC,"mark.rangeY":rS,"mark.path":rT,"mark.shape":rD,"mark.density":r$,"mark.heatmap":rX,"mark.wordCloud":r0,"palette.category10":r1,"palette.category20":r2,"scale.linear":r5,"scale.ordinal":r4,"scale.band":r8,"scale.identity":r9,"scale.point":ie,"scale.time":ii,"scale.log":io,"scale.pow":is,"scale.sqrt":iu,"scale.threshold":ih,"scale.quantile":ig,"scale.quantize":iy,"scale.sequential":ib,"scale.constant":iO,"theme.classic":iC,"theme.classicDark":iS,"theme.academy":iE,"theme.light":ik,"theme.dark":iM,"component.axisX":iK,"component.axisY":iJ,"component.legendCategory":i5,"component.legendContinuous":i8,"component.legends":i7,"component.title":an,"component.sliderX":ap,"component.sliderY":ag,"component.scrollbarX":ab,"component.scrollbarY":ax,"animation.scaleInX":aO,"animation.scaleOutX":(t,e)=>{let{coordinate:n}=e;return(e,r,i)=>{let[a]=e,{transform:o="",fillOpacity:l=1,strokeOpacity:s=1,opacity:c=1}=a.style,[u,f]=L(n)?["left bottom","scale(1, ".concat(1e-4,")")]:["left top","scale(".concat(1e-4,", 1)")],d=[{transform:"".concat(o," scale(1, 1)").trimStart(),transformOrigin:u},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:l,strokeOpacity:s,opacity:c,offset:.99},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],h=a.animate(d,Object.assign(Object.assign({},i),t));return h}},"animation.scaleInY":aw,"animation.scaleOutY":(t,e)=>{let{coordinate:n}=e;return(e,r,i)=>{let[a]=e,{transform:o="",fillOpacity:l=1,strokeOpacity:s=1,opacity:c=1}=a.style,[u,f]=L(n)?["left top","scale(".concat(1e-4,", 1)")]:["left bottom","scale(1, ".concat(1e-4,")")],d=[{transform:"".concat(o," scale(1, 1)").trimStart(),transformOrigin:u},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:l,strokeOpacity:s,opacity:c,offset:.99},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],h=a.animate(d,Object.assign(Object.assign({},i),t));return h}},"animation.waveIn":a_,"animation.fadeIn":ak,"animation.fadeOut":aC,"animation.zoomIn":t=>(e,n,r)=>{let[i]=e,{transform:a="",fillOpacity:o=1,strokeOpacity:l=1,opacity:s=1}=i.style,c="center center",u=[{transform:"".concat(a," scale(").concat(1e-4,")").trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:"".concat(a," scale(").concat(1e-4,")").trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s,offset:.01},{transform:"".concat(a," scale(1)").trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s}],f=i.animate(u,Object.assign(Object.assign({},r),t));return f},"animation.zoomOut":t=>(e,n,r)=>{let[i]=e,{transform:a="",fillOpacity:o=1,strokeOpacity:l=1,opacity:s=1}=i.style,c="center center",u=[{transform:"".concat(a," scale(1)").trimStart(),transformOrigin:c},{transform:"".concat(a," scale(").concat(1e-4,")").trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s,offset:.99},{transform:"".concat(a," scale(").concat(1e-4,")").trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(u,Object.assign(Object.assign({},r),t));return f},"animation.pathIn":aj,"animation.morphing":aI,"animation.growInX":aD,"animation.growInY":aN,"interaction.elementHighlight":ol,"interaction.elementHighlightByX":os,"interaction.elementHighlightByColor":oc,"interaction.elementSelect":of,"interaction.elementSelectByX":od,"interaction.elementSelectByColor":oh,"interaction.fisheye":function(t){let{wait:e=30,leading:n,trailing:r=!1}=t;return t=>{let{options:i,update:a,setState:o,container:l}=t,s=aQ(l),c=(0,op.Z)(t=>{let e=aK(s,t);if(!e){o("fisheye"),a();return}o("fisheye",t=>{let n=(0,k.Z)({},t,{interaction:{tooltip:{preserve:!0}}});for(let t of n.marks)t.animate=!1;let[r,i]=e,a=function(t){let{coordinate:e={}}=t,{transform:n=[]}=e,r=n.find(t=>"fisheye"===t.type);if(r)return r;let i={type:"fisheye"};return n.push(i),e.transform=n,t.coordinate=e,i}(n);return a.focusX=r,a.focusY=i,a.visual=!0,n}),a()},e,{leading:n,trailing:r});return s.addEventListener("pointerenter",c),s.addEventListener("pointermove",c),s.addEventListener("pointerleave",c),()=>{s.removeEventListener("pointerenter",c),s.removeEventListener("pointermove",c),s.removeEventListener("pointerleave",c)}}},"interaction.chartIndex":oy,"interaction.tooltip":o$,"interaction.legendFilter":function(){return(t,e,n)=>{let{container:r}=t,i=e.filter(e=>e!==t),a=i.length>0,o=t=>oQ(t).scales.map(t=>t.name),l=[...oV(r),...oU(r)],s=l.flatMap(o),c=a?(0,op.Z)(oK,50,{trailing:!0}):(0,op.Z)(oX,50,{trailing:!0}),u=l.map(e=>{let{name:l,domain:u}=oQ(e).scales[0],f=o(e),d={legend:e,channel:l,channels:f,allChannels:s};return e.className===oH?function(t,e){let{legends:n,marker:r,label:i,datum:a,filter:o,emitter:l,channel:s,state:c={}}=e,u=new Map,f=new Map,d=new Map,{unselected:h={markerStroke:"#aaa",markerFill:"#aaa",labelFill:"#aaa"}}=c,p={unselected:(0,tS.hB)(h,"marker")},g={unselected:(0,tS.hB)(h,"label")},{setState:m,removeState:y}=a5(p,void 0),{setState:v,removeState:b}=a5(g,void 0),x=Array.from(n(t)),O=x.map(a),w=()=>{for(let t of x){let e=a(t),n=r(t),o=i(t);O.includes(e)?(y(n,"unselected"),b(o,"unselected")):(m(n,"unselected"),v(o,"unselected"))}};for(let e of x){let n=()=>{ot(t,"pointer")},r=()=>{ot(t,t.cursor)},i=t=>oW(this,void 0,void 0,function*(){let n=a(e),r=O.indexOf(n);-1===r?O.push(n):O.splice(r,1),0===O.length&&O.push(...x.map(a)),yield o(O),w();let{nativeEvent:i=!0}=t;i&&(O.length===x.length?l.emit("legend:reset",{nativeEvent:i}):l.emit("legend:filter",Object.assign(Object.assign({},t),{nativeEvent:i,data:{channel:s,values:O}})))});e.addEventListener("click",i),e.addEventListener("pointerenter",n),e.addEventListener("pointerout",r),u.set(e,i),f.set(e,n),d.set(e,r)}let _=t=>oW(this,void 0,void 0,function*(){let{nativeEvent:e}=t;if(e)return;let{data:n}=t,{channel:r,values:i}=n;r===s&&(O=i,yield o(O),w())}),k=t=>oW(this,void 0,void 0,function*(){let{nativeEvent:e}=t;e||(O=x.map(a),yield o(O),w())});return l.on("legend:filter",_),l.on("legend:reset",k),()=>{for(let t of x)t.removeEventListener("click",u.get(t)),t.removeEventListener("pointerenter",f.get(t)),t.removeEventListener("pointerout",d.get(t)),l.off("legend:filter",_),l.off("legend:reset",k)}}(r,{legends:oY,marker:oG,label:oq,datum:t=>{let{__data__:e}=t,{index:n}=e;return u[n]},filter:e=>{let n=Object.assign(Object.assign({},d),{value:e,ordinal:!0});a?c(i,n):c(t,n)},state:e.attributes.state,channel:l,emitter:n}):function(t,e){let{legend:n,filter:r,emitter:i,channel:a}=e,o=t=>{let{detail:{value:e}}=t;r(e),i.emit({nativeEvent:!0,data:{channel:a,values:e}})};return n.addEventListener("valuechange",o),()=>{n.removeEventListener("valuechange",o)}}(0,{legend:e,filter:e=>{let n=Object.assign(Object.assign({},d),{value:e,ordinal:!1});a?c(i,n):c(t,n)},emitter:n,channel:l})});return()=>{u.forEach(t=>t())}}},"interaction.legendHighlight":function(){return(t,e,n)=>{let{container:r,view:i,options:a}=t,o=oV(r),l=aY(r),s=t=>oQ(t).scales[0].name,c=t=>{let{scale:{[t]:e}}=i;return e},u=a4(a,["active","inactive"]),f=a6(l,a2(i)),d=[];for(let t of o){let e=e=>{let{data:n}=t.attributes,{__data__:r}=e,{index:i}=r;return n[i].label},r=s(t),i=oY(t),a=c(r),o=(0,tK.ZP)(l,t=>a.invert(t.__data__[r])),{state:h={}}=t.attributes,{inactive:p={}}=h,{setState:g,removeState:m}=a5(u,f),y={inactive:(0,tS.hB)(p,"marker")},v={inactive:(0,tS.hB)(p,"label")},{setState:b,removeState:x}=a5(y),{setState:O,removeState:w}=a5(v),_=t=>{for(let e of i){let n=oG(e),r=oq(e);e===t||null===t?(x(n,"inactive"),w(r,"inactive")):(b(n,"inactive"),O(r,"inactive"))}},k=(t,i)=>{let a=e(i),s=new Set(o.get(a));for(let t of l)s.has(t)?g(t,"active"):g(t,"inactive");_(i);let{nativeEvent:c=!0}=t;c&&n.emit("legend:highlight",Object.assign(Object.assign({},t),{nativeEvent:c,data:{channel:r,value:a}}))},C=new Map;for(let t of i){let e=e=>{k(e,t)};t.addEventListener("pointerover",e),C.set(t,e)}let j=t=>{for(let t of l)m(t,"inactive","active");_(null);let{nativeEvent:e=!0}=t;e&&n.emit("legend:unhighlight",{nativeEvent:e})},M=t=>{let{nativeEvent:n,data:a}=t;if(n)return;let{channel:o,value:l}=a;if(o!==r)return;let s=i.find(t=>e(t)===l);s&&k({nativeEvent:!1},s)},S=t=>{let{nativeEvent:e}=t;e||j({nativeEvent:!1})};t.addEventListener("pointerleave",j),n.on("legend:highlight",M),n.on("legend:unhighlight",S);let A=()=>{for(let[e,r]of(t.removeEventListener(j),n.off("legend:highlight",M),n.off("legend:unhighlight",S),C))e.removeEventListener(r)};d.push(A)}return()=>d.forEach(t=>t())}},"interaction.brushHighlight":o4,"interaction.brushXHighlight":function(t){return o4(Object.assign(Object.assign({},t),{brushRegion:o6,selectedHandles:["handle-e","handle-w"]}))},"interaction.brushYHighlight":function(t){return o4(Object.assign(Object.assign({},t),{brushRegion:o8,selectedHandles:["handle-n","handle-s"]}))},"interaction.brushAxisHighlight":function(t){return(e,n,r)=>{let{container:i,view:a,options:o}=e,l=aQ(i),{x:s,y:c}=l.getBBox(),{coordinate:u}=a;return function(t,e){var{axes:n,elements:r,points:i,horizontal:a,datum:o,offsetY:l,offsetX:s,reverse:c=!1,state:u={},emitter:f,coordinate:d}=e,h=o7(e,["axes","elements","points","horizontal","datum","offsetY","offsetX","reverse","state","emitter","coordinate"]);let p=r(t),g=n(t),m=a6(p,o),{setState:y,removeState:v}=a5(u,m),b=new Map,x=(0,tS.hB)(h,"mask"),O=t=>Array.from(b.values()).every(e=>{let[n,r,i,a]=e;return t.some(t=>{let[e,o]=t;return e>=n&&e<=i&&o>=r&&o<=a})}),w=g.map(t=>t.attributes.scale),_=t=>t.length>2?[t[0],t[t.length-1]]:t,k=new Map,C=()=>{k.clear();for(let t=0;t{let n=[];for(let t of p){let e=i(t);O(e)?(y(t,"active"),n.push(t)):y(t,"inactive")}k.set(t,S(n,t)),e&&f.emit("brushAxis:highlight",{nativeEvent:!0,data:{selection:(()=>{if(!A)return Array.from(k.values());let t=[];for(let[e,n]of k){let r=w[e],{name:i}=r.getOptions();"x"===i?t[0]=n:t[1]=n}return t})()}})},M=t=>{for(let t of p)v(t,"active","inactive");C(),t&&f.emit("brushAxis:remove",{nativeEvent:!0})},S=(t,e)=>{let n=w[e],{name:r}=n.getOptions(),i=t.map(t=>{let e=t.__data__;return n.invert(e[r])});return _(ac(n,i))},A=g.some(a)&&g.some(t=>!a(t)),E=[];for(let t=0;t0&&void 0!==arguments[0]?arguments[0]:{},{nativeEvent:e}=t;e||E.forEach(t=>t.remove(!1))},R=(t,e,n)=>{let[r,i]=t,o=Z(r,e,n),l=Z(i,e,n)+(e.getStep?e.getStep():0);return a(n)?[o,-1/0,l,1/0]:[-1/0,o,1/0,l]},Z=(t,e,n)=>{let{height:r,width:i}=d.getOptions(),o=e.clone();return a(n)?o.update({range:[0,i]}):o.update({range:[r,0]}),o.map(t)},T=t=>{let{nativeEvent:e}=t;if(e)return;let{selection:n}=t.data;for(let t=0;t{E.forEach(t=>t.destroy()),f.off("brushAxis:remove",P),f.off("brushAxis:highlight",T)}}(i,Object.assign({elements:aY,axes:lt,offsetY:c,offsetX:s,points:t=>t.__data__.points,horizontal:t=>{let{startPos:[e,n],endPos:[r,i]}=t.attributes;return e!==r&&n===i},datum:a2(a),state:a4(o,["active",["inactive",{opacity:.5}]]),coordinate:u,emitter:r},t))}},"interaction.brushFilter":lo,"interaction.brushXFilter":function(t){return lo(Object.assign(Object.assign({hideX:!0},t),{brushRegion:o6}))},"interaction.brushYFilter":function(t){return lo(Object.assign(Object.assign({hideY:!0},t),{brushRegion:o8}))},"interaction.sliderFilter":lc,"interaction.scrollbarFilter":function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e,n,r)=>{let{view:i,container:a}=e,o=a.getElementsByClassName(lu);if(!o.length)return()=>{};let{scale:l}=i,{x:s,y:c}=l,u={x:[...s.getOptions().domain],y:[...c.getOptions().domain]};s.update({domain:s.getOptions().expectedDomain}),c.update({domain:c.getOptions().expectedDomain});let f=lc(Object.assign(Object.assign({},t),{initDomain:u,className:lu,prefix:"scrollbar",hasState:!0,setValue:(t,e)=>t.setValue(e[0]),getInitValues:t=>{let e=t.slider.attributes.values;if(0!==e[0])return e}}));return f(e,n,r)}},"interaction.poptip":lg,"interaction.treemapDrillDown":function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{originData:e=[],layout:n}=t,r=lP(t,["originData","layout"]),i=(0,k.Z)({},lR,r),a=(0,tS.hB)(i,"breadCrumb"),o=(0,tS.hB)(i,"active");return t=>{let{update:r,setState:i,container:l,options:s}=t,c=(0,H.F)(l).select(".".concat(aF.V$)).node(),u=s.marks[0],{state:f}=u,d=new t1.ZA;c.appendChild(d);let h=(t,s)=>{var u,f,p,g;return u=this,f=void 0,p=void 0,g=function*(){if(d.removeChildren(),s){let e="",n=a.y,r=0,i=[],l=c.getBBox().width,s=t.map((o,s)=>{e="".concat(e).concat(o,"/"),i.push(o);let c=new t1.xv({name:e.replace(/\/$/,""),style:Object.assign(Object.assign({text:o,x:r,path:[...i],depth:s},a),{y:n})});d.appendChild(c),r+=c.getBBox().width;let u=new t1.xv({style:Object.assign(Object.assign({x:r,text:" / "},a),{y:n})});return d.appendChild(u),(r+=u.getBBox().width)>l&&(n=d.getBBox().height+a.y,r=0,c.attr({x:r,y:n}),r+=c.getBBox().width,u.attr({x:r,y:n}),r+=u.getBBox().width),s===(0,lm.Z)(t)-1&&u.remove(),c});s.forEach((t,e)=>{if(e===(0,lm.Z)(s)-1)return;let n=Object.assign({},t.attributes);t.attr("cursor","pointer"),t.addEventListener("mouseenter",()=>{t.attr(o)}),t.addEventListener("mouseleave",()=>{t.attr(n)}),t.addEventListener("click",()=>{h((0,ly.Z)(t,["style","path"]),(0,ly.Z)(t,["style","depth"]))})})}(function(t,e){let n=[...oV(t),...oU(t)];n.forEach(t=>{e(t,t=>t)})})(l,i),i("treemapDrillDown",r=>{let{marks:i}=r,a=t.join("/"),o=i.map(t=>{if("rect"!==t.type)return t;let r=e;if(s){let t=e.filter(t=>{let e=(0,ly.Z)(t,["id"]);return e&&(e.match("".concat(a,"/"))||a.match(e))}).map(t=>({value:0===t.height?(0,ly.Z)(t,["value"]):void 0,name:(0,ly.Z)(t,["id"])})),{paddingLeft:i,paddingBottom:o,paddingRight:l}=n,c=Object.assign(Object.assign({},n),{paddingTop:(n.paddingTop||d.getBBox().height+10)/(s+1),paddingLeft:i/(s+1),paddingBottom:o/(s+1),paddingRight:l/(s+1),path:t=>t.name,layer:t=>t.depth===s+1});r=lE(t,c,{value:"value"})[0]}else r=e.filter(t=>1===t.depth);let i=[];return r.forEach(t=>{let{path:e}=t;i.push((0,i1.Z)(e))}),(0,k.Z)({},t,{data:r,scale:{color:{domain:i}}})});return Object.assign(Object.assign({},r),{marks:o})}),yield r(void 0,["legendFilter"])},new(p||(p=Promise))(function(t,e){function n(t){try{i(g.next(t))}catch(t){e(t)}}function r(t){try{i(g.throw(t))}catch(t){e(t)}}function i(e){var i;e.done?t(e.value):((i=e.value)instanceof p?i:new p(function(t){t(i)})).then(n,r)}i((g=g.apply(u,f||[])).next())})},p=t=>{let n=t.target;if("rect"!==(0,ly.Z)(n,["markType"]))return;let r=(0,ly.Z)(n,["__data__","key"]),i=(0,lv.Z)(e,t=>t.id===r);(0,ly.Z)(i,"height")&&h((0,ly.Z)(i,"path"),(0,ly.Z)(i,"depth"))};c.addEventListener("click",p);let g=(0,lb.Z)(Object.assign(Object.assign({},f.active),f.inactive)),m=()=>{let t=oi(c);t.forEach(t=>{let n=(0,ly.Z)(t,["style","cursor"]),r=(0,lv.Z)(e,e=>e.id===(0,ly.Z)(t,["__data__","key"]));if("pointer"!==n&&(null==r?void 0:r.height)){t.style.cursor="pointer";let e=(0,lx.Z)(t.attributes,g);t.addEventListener("mouseenter",()=>{t.attr(f.active)}),t.addEventListener("mouseleave",()=>{t.attr((0,k.Z)(e,f.inactive))})}})};return m(),c.addEventListener("mousemove",m),()=>{d.remove(),c.removeEventListener("click",p),c.removeEventListener("mousemove",m)}}},"interaction.elementPointMove":function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{selection:e=[],precision:n=2}=t,r=lL(t,["selection","precision"]),i=Object.assign(Object.assign({},lB),r||{}),a=(0,tS.hB)(i,"path"),o=(0,tS.hB)(i,"label"),l=(0,tS.hB)(i,"point");return(t,r,i)=>{let s;let{update:c,setState:u,container:f,view:d,options:{marks:h,coordinate:p}}=t,g=aQ(f),m=oi(g),y=e,{transform:v=[],type:b}=p,x=!!(0,lv.Z)(v,t=>{let{type:e}=t;return"transpose"===e}),O="polar"===b,w="theta"===b,_=!!(0,lv.Z)(m,t=>{let{markType:e}=t;return"area"===e});_&&(m=m.filter(t=>{let{markType:e}=t;return"area"===e}));let C=new t1.ZA({style:{zIndex:2}});g.appendChild(C);let j=()=>{i.emit("element-point:select",{nativeEvent:!0,data:{selection:y}})},M=(t,e)=>{i.emit("element-point:moved",{nativeEvent:!0,data:{changeData:t,data:e}})},S=t=>{let e=t.target;y=[e.parentNode.childNodes.indexOf(e)],j(),E(e)},A=t=>{let{data:{selection:e},nativeEvent:n}=t;if(n)return;y=e;let r=(0,ly.Z)(m,[null==y?void 0:y[0]]);r&&E(r)},E=t=>{let e;let{attributes:r,markType:i,__data__:p}=t,{stroke:g}=r,{points:m,seriesTitle:v,color:b,title:S,seriesX:A,y1:P}=p;if(x&&"interval"!==i)return;let{scale:R,coordinate:Z}=(null==s?void 0:s.view)||d,{color:T,y:L,x:B}=R,I=Z.getCenter();C.removeChildren();let D=(t,e,n,r)=>lT(this,void 0,void 0,function*(){return u("elementPointMove",i=>{var a;let o=((null===(a=null==s?void 0:s.options)||void 0===a?void 0:a.marks)||h).map(i=>{if(!r.includes(i.type))return i;let{data:a,encode:o}=i,l=Object.keys(o),s=l.reduce((r,i)=>{let a=o[i];return"x"===i&&(r[a]=t),"y"===i&&(r[a]=e),"color"===i&&(r[a]=n),r},{}),c=lz(s,a,o);return M(s,c),(0,k.Z)({},i,{data:c,animate:!1})});return Object.assign(Object.assign({},i),{marks:o})}),yield c("elementPointMove")});if(["line","area"].includes(i))m.forEach((r,i)=>{let c=B.invert(A[i]);if(!c)return;let u=new t1.Cd({name:lI,style:Object.assign({cx:r[0],cy:r[1],fill:g},l)}),d=l$(t,i);u.addEventListener("mousedown",h=>{let p=Z.output([A[i],0]),g=null==v?void 0:v.length;f.attr("cursor","move"),y[1]!==i&&(y[1]=i,j()),lW(C.childNodes,y,l);let[x,w]=lH(C,u,a,o),k=t=>{let a=r[1]+t.clientY-e[1];if(_){if(O){let o=r[0]+t.clientX-e[0],[l,s]=lq(I,p,[o,a]),[,c]=Z.output([1,L.output(0)]),[,f]=Z.invert([l,c-(m[i+g][1]-s)]),h=(i+1)%g,y=(i-1+g)%g,b=or([m[y],[l,s],v[h]&&m[h]]);w.attr("text",d(L.invert(f)).toFixed(n)),x.attr("d",b),u.attr("cx",l),u.attr("cy",s)}else{let[,t]=Z.output([1,L.output(0)]),[,e]=Z.invert([r[0],t-(m[i+g][1]-a)]),o=or([m[i-1],[r[0],a],v[i+1]&&m[i+1]]);w.attr("text",d(L.invert(e)).toFixed(n)),x.attr("d",o),u.attr("cy",a)}}else{let[,t]=Z.invert([r[0],a]),e=or([m[i-1],[r[0],a],m[i+1]]);w.attr("text",L.invert(t).toFixed(n)),x.attr("d",e),u.attr("cy",a)}};e=[h.clientX,h.clientY],window.addEventListener("mousemove",k);let M=()=>lT(this,void 0,void 0,function*(){if(f.attr("cursor","default"),window.removeEventListener("mousemove",k),f.removeEventListener("mouseup",M),(0,lZ.Z)(w.attr("text")))return;let e=Number(w.attr("text")),n=lG(T,b);s=yield D(c,e,n,["line","area"]),w.remove(),x.remove(),E(t)});f.addEventListener("mouseup",M)}),C.appendChild(u)}),lW(C.childNodes,y,l);else if("interval"===i){let r=[(m[0][0]+m[1][0])/2,m[0][1]];x?r=[m[0][0],(m[0][1]+m[1][1])/2]:w&&(r=m[0]);let c=lF(t),u=new t1.Cd({name:lI,style:Object.assign(Object.assign({cx:r[0],cy:r[1],fill:g},l),{stroke:l.activeStroke})});u.addEventListener("mousedown",l=>{f.attr("cursor","move");let d=lG(T,b),[h,p]=lH(C,u,a,o),g=t=>{if(x){let i=r[0]+t.clientX-e[0],[a]=Z.output([L.output(0),L.output(0)]),[,o]=Z.invert([a+(i-m[2][0]),r[1]]),l=or([[i,m[0][1]],[i,m[1][1]],m[2],m[3]],!0);p.attr("text",c(L.invert(o)).toFixed(n)),h.attr("d",l),u.attr("cx",i)}else if(w){let i=r[1]+t.clientY-e[1],a=r[0]+t.clientX-e[0],[o,l]=lq(I,[a,i],r),[s,f]=lq(I,[a,i],m[1]),d=Z.invert([o,l])[1],g=P-d;if(g<0)return;let y=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=[["M",...e[1]]],i=on(t,e[1]),a=on(t,e[0]);return 0===i?r.push(["L",...e[3]],["A",a,a,0,n,1,...e[0]],["Z"]):r.push(["A",i,i,0,n,0,...e[2]],["L",...e[3]],["A",a,a,0,n,1,...e[0]],["Z"]),r}(I,[[o,l],[s,f],m[2],m[3]],g>.5?1:0);p.attr("text",c(g,!0).toFixed(n)),h.attr("d",y),u.attr("cx",o),u.attr("cy",l)}else{let i=r[1]+t.clientY-e[1],[,a]=Z.output([1,L.output(0)]),[,o]=Z.invert([r[0],a-(m[2][1]-i)]),l=or([[m[0][0],i],[m[1][0],i],m[2],m[3]],!0);p.attr("text",c(L.invert(o)).toFixed(n)),h.attr("d",l),u.attr("cy",i)}};e=[l.clientX,l.clientY],window.addEventListener("mousemove",g);let y=()=>lT(this,void 0,void 0,function*(){if(f.attr("cursor","default"),f.removeEventListener("mouseup",y),window.removeEventListener("mousemove",g),(0,lZ.Z)(p.attr("text")))return;let e=Number(p.attr("text"));s=yield D(S,e,d,[i]),p.remove(),h.remove(),E(t)});f.addEventListener("mouseup",y)}),C.appendChild(u)}};m.forEach((t,e)=>{y[0]===e&&E(t),t.addEventListener("click",S),t.addEventListener("mouseenter",lD),t.addEventListener("mouseleave",lN)});let P=t=>{let e=null==t?void 0:t.target;e&&(e.name===lI||m.includes(e))||(y=[],j(),C.removeChildren())};return i.on("element-point:select",A),i.on("element-point:unselect",P),f.addEventListener("mousedown",P),()=>{C.remove(),i.off("element-point:select",A),i.off("element-point:unselect",P),f.removeEventListener("mousedown",P),m.forEach(t=>{t.removeEventListener("click",S),t.removeEventListener("mouseenter",lD),t.removeEventListener("mouseleave",lN)})}}},"composition.spaceLayer":lK,"composition.spaceFlex":l0,"composition.facetRect":sa,"composition.repeatMatrix":()=>t=>{let e=l1.of(t).call(l8).call(l3).call(ss).call(sc).call(l4).call(l6).call(sl).value();return[e]},"composition.facetCircle":()=>t=>{let e=l1.of(t).call(l8).call(sh).call(l3).call(sd).call(l7).call(l9,sg,sp,sp,{frame:!1}).call(l4).call(l6).call(sf).value();return[e]},"composition.timingKeyframe":sm,"labelTransform.overlapHide":t=>{let{priority:e}=t;return t=>{let n=[];return e&&t.sort(e),t.forEach(t=>{aG(t);let e=t.getLocalBounds(),r=n.some(t=>(function(t,e){let[n,r]=t,[i,a]=e;return n[0]i[0]&&n[1]i[1]})(c4(e),c4(t.getLocalBounds())));r?aH(t):n.push(t)}),t}},"labelTransform.overlapDodgeY":t=>{let{maxIterations:e=10,maxError:n=.1,padding:r=1}=t;return t=>{let i=t.length;if(i<=1)return t;let[a,o]=c8(),[l,s]=c8(),[c,u]=c8(),[f,d]=c8();for(let e of t){let{min:t,max:n}=function(t){let e=t.cloneNode(!0),n=e.getElementById("connector");n&&e.removeChild(n);let{min:r,max:i}=e.getRenderBounds();return e.destroy(),{min:r,max:i}}(e),[r,i]=t,[a,l]=n;o(e,i),s(e,i),u(e,l-i),d(e,[r,a])}for(let a=0;a(0,sy.Z)(l(t),l(e)));let e=0;for(let n=0;nn&&r>i}(f(a),f(i));)o+=1;if(i){let t=l(a),n=c(a),o=l(i),u=o-(t+n);if(ut=>(t.forEach(t=>{aG(t);let e=t.attr("bounds"),n=t.getLocalBounds(),r=function(t,e){let[n,r]=t;return!(c6(n,e)&&c6(r,e))}(c4(n),e);r&&aH(t)}),t),"labelTransform.contrastReverse":t=>{let{threshold:e=4.5,palette:n=["#000","#fff"]}=t;return t=>(t.forEach(t=>{let r=t.attr("dependentElement").parsedStyle.fill,i=t.parsedStyle.fill,a=ut(i,r);aut(t,"object"==typeof e?e:(0,t1.lu)(e)));return e[n]}(r,n))}),t)},"labelTransform.exceedAdjust":()=>(t,e)=>{let{canvas:n}=e,{width:r,height:i}=n.getConfig();return t.forEach(t=>{aG(t);let{max:e,min:n}=t.getRenderBounds(),[a,o]=e,[l,s]=n,c=ue([[l,s],[a,o]],[[0,0],[r,i]]);t.style.x+=c[0],t.style.y+=c[1]}),t}})),pO=(i=class extends pg{render(){if(this._rendering)return this._addToTrailing();this._context.canvas||this._createCanvas(),this._context.canvas.getConfig().supportsCSSTransform=!0,this._bindAutoFit(),this._rendering=!0;let t=new Promise((t,e)=>(function(t){var e;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t=>{throw t},{width:a=640,height:o=480,depth:l=0}=t,s=function(t){let e=(0,k.Z)({},t),n=new Map([[e,null]]),r=new Map([[null,-1]]),i=[e];for(;i.length;){let t=i.shift();if(void 0===t.key){let e=n.get(t),i=r.get(t),a=null===e?"".concat(0):"".concat(e.key,"-").concat(i);t.key=a}let{children:e=[]}=t;if(Array.isArray(e))for(let a=0;a(function t(e,n,r,i){var a;return hH(this,void 0,void 0,function*(){let[o]=dY("composition",r),[l]=dY("interaction",r),s=new Set(Object.keys(r).map(t=>{var e;return null===(e=/mark\.(.*)/.exec(t))||void 0===e?void 0:e[1]}).filter(tS.ri)),c=new Set(Object.keys(r).map(t=>{var e;return null===(e=/component\.(.*)/.exec(t))||void 0===e?void 0:e[1]}).filter(tS.ri)),u=t=>{let{type:e}=t;if("function"==typeof e){let{props:t={}}=e,{composite:n=!0}=t;if(n)return"mark"}return"string"!=typeof e?e:s.has(e)||c.has(e)?"mark":e},f=t=>"mark"===u(t),d=t=>"standardView"===u(t),h=t=>{let{type:e}=t;return"string"==typeof e&&!!c.has(e)},p=t=>{if(d(t))return[t];let e=u(t),n=o({type:e,static:h(t)});return n(t)},g=[],m=new Map,y=new Map,v=[e],b=[];for(;v.length;){let t=v.shift();if(d(t)){let e=y.get(t),[n,i]=e?hQ(e,t,r):yield hY(t,r);m.set(n,t),g.push(n);let a=i.flatMap(p).map(t=>dQ(t,r));if(v.push(...a),a.every(d)){let t=yield Promise.all(a.map(t=>hV(t,r)));!function(t){let e=t.flatMap(t=>Array.from(t.values())).flatMap(t=>t.channels.map(t=>t.scale));d6(e,"x"),d6(e,"y")}(t);for(let e=0;et.key).join(t=>t.append("g").attr("className",aF.S).attr("id",t=>t.key).call(hq).each(function(t,e,n){hX(t,(0,H.F)(n),w,r,i),x.set(t,n)}),t=>t.call(hq).each(function(t,e,n){hX(t,(0,H.F)(n),w,r,i),O.set(t,n)}),t=>t.each(function(t,e,n){let r=n.nameInteraction.values();for(let t of r)t.destroy()}).remove());let _=(e,n,a)=>Array.from(e.entries()).map(o=>{let[l,s]=o,c=a||new Map,u=m.get(l),f=function(e,n,r,i){let a=function(t){let[,e]=dY("interaction",t);return t=>{let[n,r]=t;try{return[n,e(n)]}catch(t){return[n,r.type]}}}(r),o=h5(n),l=o.map(a).filter(t=>t[1]&&t[1].props&&t[1].props.reapplyWhenUpdate).map(t=>t[0]);return(n,a,o)=>hH(this,void 0,void 0,function*(){let[s,c]=yield hY(n,r);for(let t of(hX(s,e,[],r,i),l.filter(t=>t!==a)))!function(t,e,n,r,i,a){var o;let[l]=dY("interaction",i),s=e.node(),c=s.nameInteraction,u=h5(n).find(e=>{let[n]=e;return n===t}),f=c.get(t);if(!f||(null===(o=f.destroy)||void 0===o||o.call(f),!u[1]))return;let d=hU(r,t,u[1],l),h={options:n,view:r,container:e.node(),update:t=>Promise.resolve(t)},p=d(h,[],a.emitter);c.set(t,{destroy:p})}(t,e,n,s,r,i);for(let n of c)t(n,e,r,i);return o(),{options:n,view:s}})}((0,H.F)(s),u,r,i);return{view:l,container:s,options:u,setState:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>t;return c.set(t,e)},update:(t,r)=>hH(this,void 0,void 0,function*(){let i=(0,tS.qC)(Array.from(c.values())),a=i(u);return yield f(a,t,()=>{(0,ai.Z)(r)&&n(e,r,c)})})}}),k=function(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O,n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,a=_(e,k,r);for(let e of a){let{options:r,container:o}=e,s=o.nameInteraction,c=h5(r);for(let r of(n&&(c=c.filter(t=>n.includes(t[0]))),c)){let[n,o]=r,c=s.get(n);if(c&&(null===(t=c.destroy)||void 0===t||t.call(c)),o){let t=hU(e.view,n,o,l),r=t(e,a,i.emitter);s.set(n,{destroy:r})}}}},C=_(x,k);for(let t of C){let{options:e}=t,n=new Map;for(let r of(t.container.nameInteraction=n,h5(e))){let[e,a]=r;if(a){let r=hU(t.view,e,a,l),o=r(t,C,i.emitter);n.set(e,{destroy:o})}}}k();let{width:j,height:M}=e,S=[];for(let e of b){let a=new Promise(a=>hH(this,void 0,void 0,function*(){for(let a of e){let e=Object.assign({width:j,height:M},a);yield t(e,n,r,i)}a()}));S.push(a)}i.views=g,null===(a=i.animations)||void 0===a||a.forEach(t=>null==t?void 0:t.cancel()),i.animations=w,i.emitter.emit(ow.AFTER_PAINT);let A=w.filter(tS.ri).map(h1).map(t=>t.finished);return Promise.all([...A,...S])})})(Object.assign(Object.assign({},s),{width:a,height:o,depth:l}),p,f,n)).then(()=>{if(l){let[t,e]=c.document.documentElement.getPosition();c.document.documentElement.setPosition(t,e,-l/2)}c.requestAnimationFrame(()=>{u.emit(ow.AFTER_RENDER),null==r||r()})}).catch(t=>{null==i||i(t)}),"string"==typeof(e=c.getConfig().container)?document.getElementById(e):e})(this._computedOptions(),this._context,this._createResolve(t),this._createReject(e))),[e,n,r]=function(){let t,e;let n=new Promise((n,r)=>{e=n,t=r});return[n,e,t]}();return t.then(n).catch(r).then(()=>this._renderTrailing()),e}options(t){if(0==arguments.length)return function(t){let e=function(t){if(null!==t.type)return t;let e=t.children[t.children.length-1];for(let n of pa)e.attr(n,t.attr(n));return e}(t),n=[e],r=new Map;for(r.set(e,ps(e));n.length;){let t=n.pop(),e=r.get(t),{children:i=[]}=t;for(let t of i)if(t.type===pl)e.children=t.value;else{let i=ps(t),{children:a=[]}=e;a.push(i),n.push(t),r.set(t,i),e.children=a}}return r.get(e)}(this);let{type:e}=t;return e&&(this._previousDefinedType=e),function(t,e,n,r,i){let a=function(t,e,n,r,i){let{type:a}=t,{type:o=n||a}=e;if("function"!=typeof o&&new Set(Object.keys(i)).has(o)){for(let n of pa)void 0!==t.attr(n)&&void 0===e[n]&&(e[n]=t.attr(n));return e}if("function"==typeof o||new Set(Object.keys(r)).has(o)){let t={type:"view"},n=Object.assign({},e);for(let e of pa)void 0!==n[e]&&(t[e]=n[e],delete n[e]);return Object.assign(Object.assign({},t),{children:[n]})}return e}(t,e,n,r,i),o=[[null,t,a]];for(;o.length;){let[t,e,n]=o.shift();if(e){if(n){!function(t,e){let{type:n,children:r}=e,i=pi(e,["type","children"]);t.type===n||void 0===n?(0,tS.nx)(t.value,i):"string"==typeof n&&(t.type=n,t.value=i)}(e,n);let{children:t}=n,{children:r}=e;if(Array.isArray(t)&&Array.isArray(r)){let n=Math.max(t.length,r.length);for(let i=0;i1?e-1:0),r=1;r{this.emit(ow.AFTER_CHANGE_SIZE)}),n}changeSize(t,e){if(t===this._width&&e===this._height)return Promise.resolve(this);this.emit(ow.BEFORE_CHANGE_SIZE),this.attr("width",t),this.attr("height",e);let n=this.render();return n.then(()=>{this.emit(ow.AFTER_CHANGE_SIZE)}),n}_create(){let{library:t}=this._context,e=["mark.mark",...Object.keys(t).filter(t=>t.startsWith("mark.")||"component.axisX"===t||"component.axisY"===t||"component.legends"===t)];for(let t of(this._marks={},e)){let e=t.split(".").pop();class n extends pm{constructor(){super({},e)}}this._marks[e]=n,this[e]=function(t){let r=this.append(n);return"mark"===e&&(r.type=t),r}}let n=["composition.view",...Object.keys(t).filter(t=>t.startsWith("composition.")&&"composition.mark"!==t)];for(let t of(this._compositions=Object.fromEntries(n.map(t=>{let e=t.split(".").pop(),n=class extends pg{constructor(){super({},e)}};return n=pv([pu(pf(this._marks))],n),[e,n]})),Object.values(this._compositions)))pu(pf(this._compositions))(t);for(let t of n){let e=t.split(".").pop();this[e]=function(){let t=this._compositions[e];return this.type=null,this.append(t)}}}_reset(){let t=["theme","type","width","height","autoFit"];this.type="view",this.value=Object.fromEntries(Object.entries(this.value).filter(e=>{let[n]=e;return n.startsWith("margin")||n.startsWith("padding")||n.startsWith("inset")||t.includes(n)})),this.children=[]}_renderTrailing(){this._trailing&&(this._trailing=!1,this.render().then(()=>{let t=this._trailingResolve.bind(this);this._trailingResolve=null,t(this)}).catch(t=>{let e=this._trailingReject.bind(this);this._trailingReject=null,e(t)}))}_createResolve(t){return()=>{this._rendering=!1,t(this)}}_createReject(t){return e=>{this._rendering=!1,t(e)}}_computedOptions(){let t=this.options(),{key:e="G2_CHART_KEY"}=t,{width:n,height:r,depth:i}=pc(t,this._container);return this._width=n,this._height=r,this._key=e,Object.assign(Object.assign({key:this._key},t),{width:n,height:r,depth:i})}_createCanvas(){let{width:t,height:e}=pc(this.options(),this._container);this._plugins.push(new dd.S),this._plugins.forEach(t=>this._renderer.registerPlugin(t)),this._context.canvas=new t1.Xz({container:this._container,width:t,height:e,renderer:this._renderer})}_addToTrailing(){var t;null===(t=this._trailingResolve)||void 0===t||t.call(this,this),this._trailing=!0;let e=new Promise((t,e)=>{this._trailingResolve=t,this._trailingReject=e});return e}_bindAutoFit(){let t=this.options(),{autoFit:e}=t;if(this._hasBindAutoFit){e||this._unbindAutoFit();return}e&&(this._hasBindAutoFit=!0,window.addEventListener("resize",this._onResize))}_unbindAutoFit(){this._hasBindAutoFit&&(this._hasBindAutoFit=!1,window.removeEventListener("resize",this._onResize))}constructor(t){let{container:e,canvas:n,renderer:r,plugins:i,lib:a}=t,o=pb(t,["container","canvas","renderer","plugins","lib"]);super(o,"view"),this._hasBindAutoFit=!1,this._rendering=!1,this._trailing=!1,this._trailingResolve=null,this._trailingReject=null,this._previousDefinedType=null,this._onResize=(0,dh.Z)(()=>{this.forceFit()},300),this._renderer=r||new df.Th,this._plugins=i||[],this._container=function(t){if(void 0===t){let t=document.createElement("div");return t[po]=!0,t}if("string"==typeof t){let e=document.getElementById(t);return e}return t}(e),this._emitter=new dp.Z,this._context={library:Object.assign(Object.assign({},a),py),emitter:this._emitter,canvas:n},this._create()}},class extends i{constructor(t){super(Object.assign(Object.assign({},t),{lib:px}))}}),pw=(0,s.forwardRef)((t,e)=>{let{options:n,style:r,onInit:i,renderer:a}=t,o=(0,s.useRef)(null),l=(0,s.useRef)(),[c,u]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{if(!l.current&&o.current)return l.current=new pO({container:o.current,renderer:a}),u(!0),()=>{l.current&&(l.current.destroy(),l.current=void 0)}},[a]),(0,s.useEffect)(()=>{c&&(null==i||i())},[c,i]),(0,s.useEffect)(()=>{l.current&&n&&(l.current.options(n),l.current.render())},[n]),(0,s.useImperativeHandle)(e,()=>l.current,[c]),s.createElement("div",{ref:o,style:r})})},74314:function(t,e,n){t.exports=n(52172).use(n(81794)).use(n(18870)).use(n(654)).use(n(95305)).use(n(44775)).use(n(52861)).use(n(77273)).use(n(98195)).use(n(12986)).use(n(95632)).use(n(34157)).use(n(52411)).use(n(88508)).use(n(74115)).use(n(75201)).use(n(64209)).use(n(14593)).use(n(93467)).use(n(991)).use(n(48532)).use(n(82810))},44775:function(t){t.exports=function(t){t.installColorSpace("CMYK",["cyan","magenta","yellow","black","alpha"],{rgb:function(){return new t.RGB(1-this._cyan*(1-this._black)-this._black,1-this._magenta*(1-this._black)-this._black,1-this._yellow*(1-this._black)-this._black,this._alpha)},fromRgb:function(){var e=this._red,n=this._green,r=this._blue,i=1-e,a=1-n,o=1-r,l=1;return e||n||r?(l=Math.min(i,Math.min(a,o)),i=(i-l)/(1-l),a=(a-l)/(1-l),o=(o-l)/(1-l)):l=1,new t.CMYK(i,a,o,l,this._alpha)}})}},95305:function(t,e,n){t.exports=function(t){t.use(n(654)),t.installColorSpace("HSL",["hue","saturation","lightness","alpha"],{hsv:function(){var e,n=2*this._lightness,r=this._saturation*(n<=1?n:2-n);return e=n+r<1e-9?0:2*r/(n+r),new t.HSV(this._hue,e,(n+r)/2,this._alpha)},rgb:function(){return this.hsv().rgb()},fromRgb:function(){return this.hsv().hsl()}})}},654:function(t){t.exports=function(t){t.installColorSpace("HSV",["hue","saturation","value","alpha"],{rgb:function(){var e,n,r,i=this._hue,a=this._saturation,o=this._value,l=Math.min(5,Math.floor(6*i)),s=6*i-l,c=o*(1-a),u=o*(1-s*a),f=o*(1-(1-s)*a);switch(l){case 0:e=o,n=f,r=c;break;case 1:e=u,n=o,r=c;break;case 2:e=c,n=o,r=f;break;case 3:e=c,n=u,r=o;break;case 4:e=f,n=c,r=o;break;case 5:e=o,n=c,r=u}return new t.RGB(e,n,r,this._alpha)},hsl:function(){var e=(2-this._saturation)*this._value,n=this._saturation*this._value,r=e<=1?e:2-e;return new t.HSL(this._hue,r<1e-9?0:n/r,e/2,this._alpha)},fromRgb:function(){var e,n=this._red,r=this._green,i=this._blue,a=Math.max(n,r,i),o=a-Math.min(n,r,i),l=0===a?0:o/a;if(0===o)e=0;else switch(a){case n:e=(r-i)/o/6+(r.008856?e:(t-16/116)/7.87},n=(this._l+16)/116,r=this._a/500+n,i=n-this._b/200;return new t.XYZ(95.047*e(r),100*e(n),108.883*e(i),this._alpha)}})}},81794:function(t){t.exports=function(t){t.installColorSpace("XYZ",["x","y","z","alpha"],{fromRgb:function(){var e=function(t){return t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92},n=e(this._red),r=e(this._green),i=e(this._blue);return new t.XYZ(.4124564*n+.3575761*r+.1804375*i,.2126729*n+.7151522*r+.072175*i,.0193339*n+.119192*r+.9503041*i,this._alpha)},rgb:function(){var e=this._x,n=this._y,r=this._z,i=function(t){return t>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t};return new t.RGB(i(3.2404542*e+-1.5371385*n+-.4985314*r),i(-.969266*e+1.8760108*n+.041556*r),i(.0556434*e+-.2040259*n+1.0572252*r),this._alpha)},lab:function(){var e=function(t){return t>.008856?Math.pow(t,1/3):7.787037*t+4/29},n=e(this._x/95.047),r=e(this._y/100),i=e(this._z/108.883);return new t.LAB(116*r-16,500*(n-r),200*(r-i),this._alpha)}})}},52172:function(t){var e=[],n=function(t){return void 0===t},r=/\s*(\.\d+|\d+(?:\.\d+)?)(%)?\s*/,i=/\s*(\.\d+|100|\d?\d(?:\.\d+)?)%\s*/,a=RegExp("^(rgb|hsl|hsv)a?\\("+r.source+","+r.source+","+r.source+"(?:,"+/\s*(\.\d+|\d+(?:\.\d+)?)\s*/.source+")?\\)$","i");function o(t){if(Array.isArray(t)){if("string"==typeof t[0]&&"function"==typeof o[t[0]])return new o[t[0]](t.slice(1,t.length));if(4===t.length)return new o.RGB(t[0]/255,t[1]/255,t[2]/255,t[3]/255)}else if("string"==typeof t){var e=t.toLowerCase();o.namedColors[e]&&(t="#"+o.namedColors[e]),"transparent"===e&&(t="rgba(0,0,0,0)");var r=t.match(a);if(r){var l=r[1].toUpperCase(),s=n(r[8])?r[8]:parseFloat(r[8]),c="H"===l[0],u=r[3]?100:c?360:255,f=r[5]||c?100:255,d=r[7]||c?100:255;if(n(o[l]))throw Error("color."+l+" is not installed.");return new o[l](parseFloat(r[2])/u,parseFloat(r[4])/f,parseFloat(r[6])/d,s)}t.length<6&&(t=t.replace(/^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i,"$1$1$2$2$3$3"));var h=t.match(/^#?([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])$/i);if(h)return new o.RGB(parseInt(h[1],16)/255,parseInt(h[2],16)/255,parseInt(h[3],16)/255);if(o.CMYK){var p=t.match(RegExp("^cmyk\\("+i.source+","+i.source+","+i.source+","+i.source+"\\)$","i"));if(p)return new o.CMYK(parseFloat(p[1])/100,parseFloat(p[2])/100,parseFloat(p[3])/100,parseFloat(p[4])/100)}}else if("object"==typeof t&&t.isColor)return t;return!1}o.namedColors={},o.installColorSpace=function(t,r,i){o[t]=function(e){var n=Array.isArray(e)?e:arguments;r.forEach(function(e,i){var a=n[i];if("alpha"===e)this._alpha=isNaN(a)||a>1?1:a<0?0:a;else{if(isNaN(a))throw Error("["+t+"]: Invalid color: ("+r.join(",")+")");"hue"===e?this._hue=a<0?a-Math.floor(a):a%1:this["_"+e]=a<0?0:a>1?1:a}},this)},o[t].propertyNames=r;var a=o[t].prototype;for(var l in["valueOf","hex","hexa","css","cssa"].forEach(function(e){a[e]=a[e]||("RGB"===t?a.hex:function(){return this.rgb()[e]()})}),a.isColor=!0,a.equals=function(e,i){n(i)&&(i=1e-10),e=e[t.toLowerCase()]();for(var a=0;ai)return!1;return!0},a.toJSON=function(){return[t].concat(r.map(function(t){return this["_"+t]},this))},i)if(i.hasOwnProperty(l)){var s=l.match(/^from(.*)$/);s?o[s[1].toUpperCase()].prototype[t.toLowerCase()]=i[l]:a[l]=i[l]}function c(t,e){var n={};for(var r in n[e.toLowerCase()]=function(){return this.rgb()[e.toLowerCase()]()},o[e].propertyNames.forEach(function(t){var r="black"===t?"k":t.charAt(0);n[t]=n[r]=function(n,r){return this[e.toLowerCase()]()[t](n,r)}}),n)n.hasOwnProperty(r)&&void 0===o[t].prototype[r]&&(o[t].prototype[r]=n[r])}return a[t.toLowerCase()]=function(){return this},a.toString=function(){return"["+t+" "+r.map(function(t){return this["_"+t]},this).join(", ")+"]"},r.forEach(function(t){var e="black"===t?"k":t.charAt(0);a[t]=a[e]=function(e,n){return void 0===e?this["_"+t]:new this.constructor(n?r.map(function(n){return this["_"+n]+(t===n?e:0)},this):r.map(function(n){return t===n?e:this["_"+n]},this))}}),e.forEach(function(e){c(t,e),c(e,t)}),e.push(t),o},o.pluginList=[],o.use=function(t){return -1===o.pluginList.indexOf(t)&&(this.pluginList.push(t),t(o)),o},o.installMethod=function(t,n){return e.forEach(function(e){o[e].prototype[t]=n}),this},o.installColorSpace("RGB",["red","green","blue","alpha"],{hex:function(){var t=(65536*Math.round(255*this._red)+256*Math.round(255*this._green)+Math.round(255*this._blue)).toString(16);return"#"+"00000".substr(0,6-t.length)+t},hexa:function(){var t=Math.round(255*this._alpha).toString(16);return"#"+"00".substr(0,2-t.length)+t+this.hex().substr(1,6)},css:function(){return"rgb("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+")"},cssa:function(){return"rgba("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+","+this._alpha+")"}}),t.exports=o},77273:function(t){t.exports=function(t){t.installMethod("clearer",function(t){return this.alpha(isNaN(t)?-.1:-t,!0)})}},98195:function(t,e,n){t.exports=function(t){t.use(n(75201)),t.installMethod("contrast",function(t){var e=this.luminance(),n=t.luminance();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)})}},12986:function(t,e,n){t.exports=function(t){t.use(n(95305)),t.installMethod("darken",function(t){return this.lightness(isNaN(t)?-.1:-t,!0)})}},95632:function(t,e,n){t.exports=function(t){t.use(n(95305)),t.installMethod("desaturate",function(t){return this.saturation(isNaN(t)?-.1:-t,!0)})}},34157:function(t){t.exports=function(t){function e(){var e=this.rgb(),n=.3*e._red+.59*e._green+.11*e._blue;return new t.RGB(n,n,n,e._alpha)}t.installMethod("greyscale",e).installMethod("grayscale",e)}},52411:function(t){t.exports=function(t){t.installMethod("isDark",function(){var t=this.rgb();return(76245*t._red+149685*t._green+29070*t._blue)/1e3<128})}},88508:function(t,e,n){t.exports=function(t){t.use(n(52411)),t.installMethod("isLight",function(){return!this.isDark()})}},74115:function(t,e,n){t.exports=function(t){t.use(n(95305)),t.installMethod("lighten",function(t){return this.lightness(isNaN(t)?.1:t,!0)})}},75201:function(t){t.exports=function(t){function e(t){return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}t.installMethod("luminance",function(){var t=this.rgb();return .2126*e(t._red)+.7152*e(t._green)+.0722*e(t._blue)})}},64209:function(t){t.exports=function(t){t.installMethod("mix",function(e,n){e=t(e).rgb();var r=2*(n=1-(isNaN(n)?.5:n))-1,i=this._alpha-e._alpha,a=((r*i==-1?r:(r+i)/(1+r*i))+1)/2,o=1-a,l=this.rgb();return new t.RGB(l._red*a+e._red*o,l._green*a+e._green*o,l._blue*a+e._blue*o,l._alpha*n+e._alpha*(1-n))})}},52861:function(t){t.exports=function(t){t.namedColors={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgrey:"a9a9a9",darkgreen:"006400",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:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",grey:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",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:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",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:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"}}},14593:function(t){t.exports=function(t){t.installMethod("negate",function(){var e=this.rgb();return new t.RGB(1-e._red,1-e._green,1-e._blue,this._alpha)})}},93467:function(t){t.exports=function(t){t.installMethod("opaquer",function(t){return this.alpha(isNaN(t)?.1:t,!0)})}},991:function(t,e,n){t.exports=function(t){t.use(n(95305)),t.installMethod("rotate",function(t){return this.hue((t||0)/360,!0)})}},48532:function(t,e,n){t.exports=function(t){t.use(n(95305)),t.installMethod("saturate",function(t){return this.saturation(isNaN(t)?.1:t,!0)})}},82810:function(t){t.exports=function(t){t.installMethod("toAlpha",function(t){var e=this.rgb(),n=t(t).rgb(),r=new t.RGB(0,0,0,e._alpha),i=["_red","_green","_blue"];return i.forEach(function(t){e[t]<1e-10?r[t]=e[t]:e[t]>n[t]?r[t]=(e[t]-n[t])/(1-n[t]):e[t]>n[t]?r[t]=(n[t]-e[t])/n[t]:r[t]=0}),r._red>r._green?r._red>r._blue?e._alpha=r._red:e._alpha=r._blue:r._green>r._blue?e._alpha=r._green:e._alpha=r._blue,e._alpha<1e-10||(i.forEach(function(t){e[t]=(e[t]-n[t])/e._alpha+n[t]}),e._alpha*=r._alpha),e})}},73807:function(t){"use strict";var e=t.exports;t.exports.isNumber=function(t){return"number"==typeof t},t.exports.findMin=function(t){if(0===t.length)return 1/0;for(var e=t[0],n=1;n=f.length)){var n=Math.max(e-r,0),i=Math.min(e+r,f.length-1),o=n-(e-r),l=e+r-i,c=p/(p-(h[-r-1+o]||0)-(h[-r-1+l]||0));o>0&&(m+=c*(o-1)*g);var d=Math.max(0,e-r+1);a.inside(0,f.length-1,d)&&(f[d].y+=1*c*g),a.inside(0,f.length-1,e+1)&&(f[e+1].y-=2*c*g),a.inside(0,f.length-1,i+1)&&(f[i+1].y+=1*c*g)}});var y=m,v=0,b=0;return f.forEach(function(t){v+=t.y,y+=v,t.y=y,b+=y}),b>0&&f.forEach(function(t){t.y/=b}),f},t.exports.getExpectedValueFromPdf=function(t){if(t&&0!==t.length){var e=0;return t.forEach(function(t){e+=t.x*t.y}),e}},t.exports.getXWithLeftTailArea=function(t,e){if(t&&0!==t.length){for(var n=0,r=0,i=0;i=e));i++);return t[r].x}},t.exports.getPerplexity=function(t){if(t&&0!==t.length){var e=0;return t.forEach(function(t){var n=Math.log(t.y);isFinite(n)&&(e+=t.y*n)}),Math.pow(2,e=-e/r)}}},16243:function(t){if(!e)var e={map:function(t,e){var n={};return e?t.map(function(t,r){return n.index=r,e.call(n,t)}):t.slice()},naturalOrder:function(t,e){return te?1:0},sum:function(t,e){var n={};return t.reduce(e?function(t,r,i){return n.index=i,t+e.call(n,r)}:function(t,e){return t+e},0)},max:function(t,n){return Math.max.apply(null,n?e.map(t,n):t)}};var n=function(){function t(t,e,n){return(t<<10)+(e<<5)+n}function n(t){var e=[],n=!1;function r(){e.sort(t),n=!0}return{push:function(t){e.push(t),n=!1},peek:function(t){return n||r(),void 0===t&&(t=e.length-1),e[t]},pop:function(){return n||r(),e.pop()},size:function(){return e.length},map:function(t){return e.map(t)},debug:function(){return n||r(),e}}}function r(t,e,n,r,i,a,o){this.r1=t,this.r2=e,this.g1=n,this.g2=r,this.b1=i,this.b2=a,this.histo=o}function i(){this.vboxes=new n(function(t,n){return e.naturalOrder(t.vbox.count()*t.vbox.volume(),n.vbox.count()*n.vbox.volume())})}return r.prototype={volume:function(t){return(!this._volume||t)&&(this._volume=(this.r2-this.r1+1)*(this.g2-this.g1+1)*(this.b2-this.b1+1)),this._volume},count:function(e){var n=this.histo;if(!this._count_set||e){var r,i,a,o=0;for(r=this.r1;r<=this.r2;r++)for(i=this.g1;i<=this.g2;i++)for(a=this.b1;a<=this.b2;a++)o+=n[t(r,i,a)]||0;this._count=o,this._count_set=!0}return this._count},copy:function(){return new r(this.r1,this.r2,this.g1,this.g2,this.b1,this.b2,this.histo)},avg:function(e){var n=this.histo;if(!this._avg||e){var r,i,a,o,l=0,s=0,c=0,u=0;for(i=this.r1;i<=this.r2;i++)for(a=this.g1;a<=this.g2;a++)for(o=this.b1;o<=this.b2;o++)l+=r=n[t(i,a,o)]||0,s+=r*(i+.5)*8,c+=r*(a+.5)*8,u+=r*(o+.5)*8;l?this._avg=[~~(s/l),~~(c/l),~~(u/l)]:this._avg=[~~(8*(this.r1+this.r2+1)/2),~~(8*(this.g1+this.g2+1)/2),~~(8*(this.b1+this.b2+1)/2)]}return this._avg},contains:function(t){var e=t[0]>>3;return gval=t[1]>>3,bval=t[2]>>3,e>=this.r1&&e<=this.r2&&gval>=this.g1&&gval<=this.g2&&bval>=this.b1&&bval<=this.b2}},i.prototype={push:function(t){this.vboxes.push({vbox:t,color:t.avg()})},palette:function(){return this.vboxes.map(function(t){return t.color})},size:function(){return this.vboxes.size()},map:function(t){for(var e=this.vboxes,n=0;n251&&i[1]>251&&i[2]>251&&(t[r].color=[255,255,255])}},{quantize:function(a,o){if(!a.length||o<2||o>256)return!1;var l,s,c,u,f,d,h,p,g,m,y,v=(s=Array(32768),a.forEach(function(e){s[l=t(e[0]>>3,e[1]>>3,e[2]>>3)]=(s[l]||0)+1}),s),b=0;v.forEach(function(){b++});var x=(d=1e6,h=0,p=1e6,g=0,m=1e6,y=0,a.forEach(function(t){c=t[0]>>3,u=t[1]>>3,f=t[2]>>3,ch&&(h=c),ug&&(g=u),fy&&(y=f)}),new r(d,h,p,g,m,y,v)),O=new n(function(t,n){return e.naturalOrder(t.count(),n.count())});function w(n,r){for(var i,a=1,o=0;o<1e3;){if(!(i=n.pop()).count()){n.push(i),o++;continue}var l=function(n,r){if(r.count()){var i=r.r2-r.r1+1,a=r.g2-r.g1+1,o=r.b2-r.b1+1,l=e.max([i,a,o]);if(1==r.count())return[r.copy()];var s,c,u,f,d=0,h=[],p=[];if(l==i)for(s=r.r1;s<=r.r2;s++){for(f=0,c=r.g1;c<=r.g2;c++)for(u=r.b1;u<=r.b2;u++)f+=n[t(s,c,u)]||0;d+=f,h[s]=d}else if(l==a)for(s=r.g1;s<=r.g2;s++){for(f=0,c=r.r1;c<=r.r2;c++)for(u=r.b1;u<=r.b2;u++)f+=n[t(c,s,u)]||0;d+=f,h[s]=d}else for(s=r.b1;s<=r.b2;s++){for(f=0,c=r.r1;c<=r.r2;c++)for(u=r.g1;u<=r.g2;u++)f+=n[t(c,u,s)]||0;d+=f,h[s]=d}return h.forEach(function(t,e){p[e]=d-t}),function(t){var e,n,i,a,o,l=t+"1",c=t+"2",u=0;for(s=r[l];s<=r[c];s++)if(h[s]>d/2){for(i=r.copy(),a=r.copy(),o=(e=s-r[l])<=(n=r[c]-s)?Math.min(r[c]-1,~~(s+n/2)):Math.max(r[l],~~(s-1-e/2));!h[o];)o++;for(u=p[o];!u&&h[o-1];)u=p[--o];return i[c]=o,a[l]=i[c]+1,[i,a]}}(l==i?"r":l==a?"g":"b")}}(v,i),s=l[0],c=l[1];if(!s||(n.push(s),c&&(n.push(c),a++),a>=r||o++>1e3))return}}O.push(x),w(O,.75*o);for(var _=new n(function(t,n){return e.naturalOrder(t.count()*t.volume(),n.count()*n.volume())});O.size();)_.push(O.pop());w(_,o-_.size());for(var k=new i;_.size();)k.push(_.pop());return k}}}();t.exports=n.quantize},87247:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onResult:e,onDone:n}){return`var _results = new Array(${this.options.taps.length}); +var _checkDone = function() { +for(var i = 0; i < _results.length; i++) { +var item = _results[i]; +if(item === undefined) return false; +if(item.result !== undefined) { +`+e("item.result")+"return true;\n}\nif(item.error) {\n"+t("item.error")+"return true;\n}\n}\nreturn false;\n}\n"+this.callTapsParallel({onError:(t,e,n,r)=>`if(${t} < _results.length && ((_results.length = ${t+1}), (_results[${t}] = { error: ${e} }), _checkDone())) { +`+r(!0)+"} else {\n"+n()+"}\n",onResult:(t,e,n,r)=>`if(${t} < _results.length && (${e} !== undefined && (_results.length = ${t+1}), (_results[${t}] = { result: ${e} }), _checkDone())) { +`+r(!0)+"} else {\n"+n()+"}\n",onTap:(t,e,n,r)=>{let i="";return t>0&&(i+=`if(${t} >= _results.length) { +`+n()+"} else {\n"),i+=e(),t>0&&(i+="}\n"),i},onDone:n})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},26714:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onDone:e}){return this.callTapsParallel({onError:(e,n,r,i)=>t(n)+i(!0),onDone:e})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},21293:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onResult:e,resultReturns:n,onDone:r}){return this.callTapsSeries({onError:(e,n,r,i)=>t(n)+i(!0),onResult:(t,n,r)=>`if(${n} !== undefined) { +${e(n)} +} else { +${r()}} +`,resultReturns:n,onDone:r})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},21617:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onDone:e}){return this.callTapsSeries({onError:(e,n,r,i)=>t(n)+i(!0),onDone:e})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},40996:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onDone:e}){return this.callTapsLooping({onError:(e,n,r,i)=>t(n)+i(!0),onDone:e})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},17178:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onResult:e,onDone:n}){return this.callTapsSeries({onError:(e,n,r,i)=>t(n)+i(!0),onResult:(t,e,n)=>`if(${e} !== undefined) { +${this._args[0]} = ${e}; +} +`+n(),onDone:()=>e(this._args[0])})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){if(t.length<1)throw Error("Waterfall hooks must have at least one argument");let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},56534:function(t,e,n){"use strict";let r=n(50517),i=r.deprecate(()=>{},"Hook.context is deprecated and will be removed"),a=function(...t){return this.call=this._createCall("sync"),this.call(...t)},o=function(...t){return this.callAsync=this._createCall("async"),this.callAsync(...t)},l=function(...t){return this.promise=this._createCall("promise"),this.promise(...t)};class s{constructor(t=[],e){this._args=t,this.name=e,this.taps=[],this.interceptors=[],this._call=a,this.call=a,this._callAsync=o,this.callAsync=o,this._promise=l,this.promise=l,this._x=void 0,this.compile=this.compile,this.tap=this.tap,this.tapAsync=this.tapAsync,this.tapPromise=this.tapPromise}compile(t){throw Error("Abstract: should be overridden")}_createCall(t){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:t})}_tap(t,e,n){if("string"==typeof e)e={name:e.trim()};else if("object"!=typeof e||null===e)throw Error("Invalid tap options");if("string"!=typeof e.name||""===e.name)throw Error("Missing name for tap");void 0!==e.context&&i(),e=Object.assign({type:t,fn:n},e),e=this._runRegisterInterceptors(e),this._insert(e)}tap(t,e){this._tap("sync",t,e)}tapAsync(t,e){this._tap("async",t,e)}tapPromise(t,e){this._tap("promise",t,e)}_runRegisterInterceptors(t){for(let e of this.interceptors)if(e.register){let n=e.register(t);void 0!==n&&(t=n)}return t}withOptions(t){let e=e=>Object.assign({},t,"string"==typeof e?{name:e}:e);return{name:this.name,tap:(t,n)=>this.tap(e(t),n),tapAsync:(t,n)=>this.tapAsync(e(t),n),tapPromise:(t,n)=>this.tapPromise(e(t),n),intercept:t=>this.intercept(t),isUsed:()=>this.isUsed(),withOptions:t=>this.withOptions(e(t))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(t){if(this._resetCompilation(),this.interceptors.push(Object.assign({},t)),t.register)for(let e=0;e0;){r--;let t=this.taps[r];this.taps[r+1]=t;let i=t.stage||0;if(e){if(e.has(t.name)){e.delete(t.name);continue}if(e.size>0)continue}if(!(i>n)){r++;break}}this.taps[r]=t}}Object.setPrototypeOf(s.prototype,null),t.exports=s},12275:function(t){"use strict";t.exports=class{constructor(t){this.config=t,this.options=void 0,this._args=void 0}create(t){let e;switch(this.init(t),this.options.type){case"sync":e=Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:t=>`throw ${t}; +`,onResult:t=>`return ${t}; +`,resultReturns:!0,onDone:()=>"",rethrowIfPossible:!0}));break;case"async":e=Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:t=>`_callback(${t}); +`,onResult:t=>`_callback(null, ${t}); +`,onDone:()=>"_callback();\n"}));break;case"promise":let n=!1,r=this.contentWithInterceptors({onError:t=>(n=!0,`_error(${t}); +`),onResult:t=>`_resolve(${t}); +`,onDone:()=>"_resolve();\n"}),i="";i+='"use strict";\n'+this.header()+"return new Promise((function(_resolve, _reject) {\n",n&&(i+="var _sync = true;\nfunction _error(_err) {\nif(_sync)\n_resolve(Promise.resolve().then((function() { throw _err; })));\nelse\n_reject(_err);\n};\n"),i+=r,n&&(i+="_sync = false;\n"),i+="}));\n",e=Function(this.args(),i)}return this.deinit(),e}setup(t,e){t._x=e.taps.map(t=>t.fn)}init(t){this.options=t,this._args=t.args.slice()}deinit(){this.options=void 0,this._args=void 0}contentWithInterceptors(t){if(!(this.options.interceptors.length>0))return this.content(t);{let e=t.onError,n=t.onResult,r=t.onDone,i="";for(let t=0;t{let n="";for(let e=0;e{let e="";for(let n=0;n{let t="";for(let e=0;e0&&(t+="var _taps = this.taps;\nvar _interceptors = this.interceptors;\n"),t}needContext(){for(let t of this.options.taps)if(t.context)return!0;return!1}callTap(t,{onError:e,onResult:n,onDone:r,rethrowIfPossible:i}){let a="",o=!1;for(let e=0;e"sync"!==t.type),l=n||i,s="",c=r,u=0;for(let n=this.options.taps.length-1;n>=0;n--){let i=n,f=c!==r&&("sync"!==this.options.taps[i].type||u++>20);f&&(u=0,s+=`function _next${i}() { +`+c()+`} +`,c=()=>`${l?"return ":""}_next${i}(); +`);let d=c,h=t=>t?"":r(),p=this.callTap(i,{onError:e=>t(i,e,d,h),onResult:e&&(t=>e(i,t,d,h)),onDone:!e&&d,rethrowIfPossible:a&&(o<0||ip}return s+c()}callTapsLooping({onError:t,onDone:e,rethrowIfPossible:n}){if(0===this.options.taps.length)return e();let r=this.options.taps.every(t=>"sync"===t.type),i="";r||(i+="var _looper = (function() {\nvar _loopAsync = false;\n"),i+="var _loop;\ndo {\n_loop = false;\n";for(let t=0;t{let a="";return a+=`if(${e} !== undefined) { +_loop = true; +`,r||(a+="if(_loopAsync) _looper();\n"),a+=i(!0)+`} else { +`+n()+`} +`},onDone:e&&(()=>"if(!_loop) {\n"+e()+"}\n"),rethrowIfPossible:n&&r})+"} while(_loop);\n",r||(i+="_loopAsync = true;\n});\n_looper();\n"),i}callTapsParallel({onError:t,onResult:e,onDone:n,rethrowIfPossible:r,onTap:i=(t,e)=>e()}){if(this.options.taps.length<=1)return this.callTapsSeries({onError:t,onResult:e,onDone:n,rethrowIfPossible:r});let a="";a+=`do { +var _counter = ${this.options.taps.length}; +`,n&&(a+="var _done = (function() {\n"+n()+"});\n");for(let o=0;on?"if(--_counter === 0) _done();\n":"--_counter;",s=t=>t||!n?"_counter = 0;\n":"_counter = 0;\n_done();\n";a+="if(_counter <= 0) break;\n"+i(o,()=>this.callTap(o,{onError:e=>"if(_counter > 0) {\n"+t(o,e,l,s)+"}\n",onResult:e&&(t=>"if(_counter > 0) {\n"+e(o,t,l,s)+"}\n"),onDone:!e&&(()=>l()),rethrowIfPossible:r}),l,s)}return a+"} while(false);\n"}args({before:t,after:e}={}){let n=this._args;return(t&&(n=[t].concat(n)),e&&(n=n.concat(e)),0===n.length)?"":n.join(", ")}getTapFn(t){return`_x[${t}]`}getTap(t){return`_taps[${t}]`}getInterceptor(t){return`_interceptors[${t}]`}}},12459:function(t,e,n){"use strict";let r=n(50517),i=(t,e)=>e;class a{constructor(t,e){this._map=new Map,this.name=e,this._factory=t,this._interceptors=[]}get(t){return this._map.get(t)}for(t){let e=this.get(t);if(void 0!==e)return e;let n=this._factory(t),r=this._interceptors;for(let e=0;ee.withOptions(t)),this.name)}}t.exports=r},13922:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onResult:e,resultReturns:n,onDone:r,rethrowIfPossible:i}){return this.callTapsSeries({onError:(e,n)=>t(n),onResult:(t,n,r)=>`if(${n} !== undefined) { +${e(n)}; +} else { +${r()}} +`,resultReturns:n,onDone:r,rethrowIfPossible:i})}},o=()=>{throw Error("tapAsync is not supported on a SyncBailHook")},l=()=>{throw Error("tapPromise is not supported on a SyncBailHook")},s=function(t){return a.setup(this,t),a.create(t)};function c(t=[],e){let n=new r(t,e);return n.constructor=c,n.tapAsync=o,n.tapPromise=l,n.compile=s,n}c.prototype=null,t.exports=c},90537:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onDone:e,rethrowIfPossible:n}){return this.callTapsSeries({onError:(e,n)=>t(n),onDone:e,rethrowIfPossible:n})}},o=()=>{throw Error("tapAsync is not supported on a SyncHook")},l=()=>{throw Error("tapPromise is not supported on a SyncHook")},s=function(t){return a.setup(this,t),a.create(t)};function c(t=[],e){let n=new r(t,e);return n.constructor=c,n.tapAsync=o,n.tapPromise=l,n.compile=s,n}c.prototype=null,t.exports=c},43074:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onDone:e,rethrowIfPossible:n}){return this.callTapsLooping({onError:(e,n)=>t(n),onDone:e,rethrowIfPossible:n})}},o=()=>{throw Error("tapAsync is not supported on a SyncLoopHook")},l=()=>{throw Error("tapPromise is not supported on a SyncLoopHook")},s=function(t){return a.setup(this,t),a.create(t)};function c(t=[],e){let n=new r(t,e);return n.constructor=c,n.tapAsync=o,n.tapPromise=l,n.compile=s,n}c.prototype=null,t.exports=c},62076:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onResult:e,resultReturns:n,rethrowIfPossible:r}){return this.callTapsSeries({onError:(e,n)=>t(n),onResult:(t,e,n)=>`if(${e} !== undefined) { +${this._args[0]} = ${e}; +} +`+n(),onDone:()=>e(this._args[0]),doneReturns:n,rethrowIfPossible:r})}},o=()=>{throw Error("tapAsync is not supported on a SyncWaterfallHook")},l=()=>{throw Error("tapPromise is not supported on a SyncWaterfallHook")},s=function(t){return a.setup(this,t),a.create(t)};function c(t=[],e){if(t.length<1)throw Error("Waterfall hooks must have at least one argument");let n=new r(t,e);return n.constructor=c,n.tapAsync=o,n.tapPromise=l,n.compile=s,n}c.prototype=null,t.exports=c},89991:function(t,e,n){"use strict";e.SyncHook=n(90537),n(13922),n(62076),n(43074),e.AsyncParallelHook=n(26714),n(87247),n(21617),n(21293),n(40996),e.AsyncSeriesWaterfallHook=n(17178),n(12459),n(70942)},50517:function(t,e){"use strict";e.deprecate=(t,e)=>{let n=!0;return function(){return n&&(console.warn("DeprecationWarning: "+e),n=!1),t.apply(this,arguments)}}},28670:function(t){t.exports=function(){"use strict";for(var t=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),tn?n:t},e={},n=0,r=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];n255)&&(e._clipped=!0),e[n]=t(e[n],0,255)):3===n&&(e[n]=t(e[n],0,1));return e},limit:t,type:a,unpack:function(t,e){return(void 0===e&&(e=null),t.length>=3)?Array.prototype.slice.call(t):"object"==a(t[0])&&e?e.split("").filter(function(e){return void 0!==t[0][e]}).map(function(e){return t[0][e]}):t[0]},last:function(t){if(t.length<2)return null;var e=t.length-1;return"string"==a(t[e])?t[e].toLowerCase():null},PI:o,TWOPI:2*o,PITHIRD:o/3,DEG2RAD:o/180,RAD2DEG:180/o},s={format:{},autodetect:[]},c=l.last,u=l.clip_rgb,f=l.type,d=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("object"===f(t[0])&&t[0].constructor&&t[0].constructor===this.constructor)return t[0];var n=c(t),r=!1;if(!n){r=!0,s.sorted||(s.autodetect=s.autodetect.sort(function(t,e){return e.p-t.p}),s.sorted=!0);for(var i=0,a=s.autodetect;i4?t[4]:1;return 1===a?[0,0,0,o]:[n>=1?0:255*(1-n)*(1-a),r>=1?0:255*(1-r)*(1-a),i>=1?0:255*(1-i)*(1-a),o]},s.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("array"===v(t=y(t,"cmyk"))&&4===t.length)return"cmyk"}});var x=l.unpack,O=l.last,w=function(t){return Math.round(100*t)/100},_=l.unpack,k=function(){for(var t,e,n=[],r=arguments.length;r--;)n[r]=arguments[r];var i=(n=_(n,"rgba"))[0],a=n[1],o=n[2],l=Math.min(i/=255,a/=255,o/=255),s=Math.max(i,a,o),c=(s+l)/2;return(s===l?(t=0,e=Number.NaN):t=c<.5?(s-l)/(s+l):(s-l)/(2-s-l),i==s?e=(a-o)/(s-l):a==s?e=2+(o-i)/(s-l):o==s&&(e=4+(i-a)/(s-l)),(e*=60)<0&&(e+=360),n.length>3&&void 0!==n[3])?[e,t,c,n[3]]:[e,t,c]},C=l.unpack,j=l.last,M=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=x(t,"hsla"),r=O(t)||"lsa";return n[0]=w(n[0]||0),n[1]=w(100*n[1])+"%",n[2]=w(100*n[2])+"%","hsla"===r||n.length>3&&n[3]<1?(n[3]=n.length>3?n[3]:1,r="hsla"):n.length=3,r+"("+n.join(",")+")"},S=Math.round,A=l.unpack,E=Math.round,P=function(){for(var t,e,n,r,i=[],a=arguments.length;a--;)i[a]=arguments[a];var o=(i=A(i,"hsl"))[0],l=i[1],s=i[2];if(0===l)e=n=r=255*s;else{var c=[0,0,0],u=[0,0,0],f=s<.5?s*(1+l):s+l-s*l,d=2*s-f,h=o/360;c[0]=h+1/3,c[1]=h,c[2]=h-1/3;for(var p=0;p<3;p++)c[p]<0&&(c[p]+=1),c[p]>1&&(c[p]-=1),6*c[p]<1?u[p]=d+(f-d)*6*c[p]:2*c[p]<1?u[p]=f:3*c[p]<2?u[p]=d+(f-d)*(2/3-c[p])*6:u[p]=d;e=(t=[E(255*u[0]),E(255*u[1]),E(255*u[2])])[0],n=t[1],r=t[2]}return i.length>3?[e,n,r,i[3]]:[e,n,r,1]},R=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,Z=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,T=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,L=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,B=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,I=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,D=Math.round,N=function(t){if(t=t.toLowerCase().trim(),s.format.named)try{return s.format.named(t)}catch(t){}if(e=t.match(R)){for(var e,n=e.slice(1,4),r=0;r<3;r++)n[r]=+n[r];return n[3]=1,n}if(e=t.match(Z)){for(var i=e.slice(1,5),a=0;a<4;a++)i[a]=+i[a];return i}if(e=t.match(T)){for(var o=e.slice(1,4),l=0;l<3;l++)o[l]=D(2.55*o[l]);return o[3]=1,o}if(e=t.match(L)){for(var c=e.slice(1,5),u=0;u<3;u++)c[u]=D(2.55*c[u]);return c[3]=+c[3],c}if(e=t.match(B)){var f=e.slice(1,4);f[1]*=.01,f[2]*=.01;var d=P(f);return d[3]=1,d}if(e=t.match(I)){var h=e.slice(1,4);h[1]*=.01,h[2]*=.01;var p=P(h);return p[3]=+e[4],p}};N.test=function(t){return R.test(t)||Z.test(t)||T.test(t)||L.test(t)||B.test(t)||I.test(t)};var z=l.type,F=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=C(t,"rgba"),r=j(t)||"rgb";return"hsl"==r.substr(0,3)?M(k(n),r):(n[0]=S(n[0]),n[1]=S(n[1]),n[2]=S(n[2]),("rgba"===r||n.length>3&&n[3]<1)&&(n[3]=n.length>3?n[3]:1,r="rgba"),r+"("+n.slice(0,"rgb"===r?3:4).join(",")+")")};d.prototype.css=function(t){return F(this._rgb,t)},h.css=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["css"])))},s.format.css=N,s.autodetect.push({p:5,test:function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if(!e.length&&"string"===z(t)&&N.test(t))return"css"}});var $=l.unpack;s.format.gl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=$(t,"rgba");return n[0]*=255,n[1]*=255,n[2]*=255,n},h.gl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["gl"])))},d.prototype.gl=function(){var t=this._rgb;return[t[0]/255,t[1]/255,t[2]/255,t[3]]};var W=l.unpack,H=l.unpack,G=Math.floor,q=l.unpack,Y=l.type,V=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=W(e,"rgb"),i=r[0],a=r[1],o=r[2],l=Math.min(i,a,o),s=Math.max(i,a,o),c=s-l;return 0===c?t=Number.NaN:(i===s&&(t=(a-o)/c),a===s&&(t=2+(o-i)/c),o===s&&(t=4+(i-a)/c),(t*=60)<0&&(t+=360)),[t,100*c/255,l/(255-c)*100]};d.prototype.hcg=function(){return V(this._rgb)},h.hcg=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["hcg"])))},s.format.hcg=function(){for(var t,e,n,r,i,a,o,l,s,c=[],u=arguments.length;u--;)c[u]=arguments[u];var f=(c=H(c,"hcg"))[0],d=c[1],h=c[2];h*=255;var p=255*d;if(0===d)o=l=s=h;else{360===f&&(f=0),f>360&&(f-=360),f<0&&(f+=360);var g=G(f/=60),m=f-g,y=h*(1-d),v=y+p*(1-m),b=y+p*m,x=y+p;switch(g){case 0:o=(t=[x,b,y])[0],l=t[1],s=t[2];break;case 1:o=(e=[v,x,y])[0],l=e[1],s=e[2];break;case 2:o=(n=[y,x,b])[0],l=n[1],s=n[2];break;case 3:o=(r=[y,v,x])[0],l=r[1],s=r[2];break;case 4:o=(i=[b,y,x])[0],l=i[1],s=i[2];break;case 5:o=(a=[x,y,v])[0],l=a[1],s=a[2]}}return[o,l,s,c.length>3?c[3]:1]},s.autodetect.push({p:1,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("array"===Y(t=q(t,"hcg"))&&3===t.length)return"hcg"}});var U=l.unpack,Q=l.last,X=Math.round,K=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=U(t,"rgba"),r=n[0],i=n[1],a=n[2],o=n[3],l=Q(t)||"auto";void 0===o&&(o=1),"auto"===l&&(l=o<1?"rgba":"rgb");var s="000000"+((r=X(r))<<16|(i=X(i))<<8|(a=X(a))).toString(16);s=s.substr(s.length-6);var c="0"+X(255*o).toString(16);switch(c=c.substr(c.length-2),l.toLowerCase()){case"rgba":return"#"+s+c;case"argb":return"#"+c+s;default:return"#"+s}},J=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,tt=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,te=function(t){if(t.match(J)){(4===t.length||7===t.length)&&(t=t.substr(1)),3===t.length&&(t=(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]);var e=parseInt(t,16);return[e>>16,e>>8&255,255&e,1]}if(t.match(tt)){(5===t.length||9===t.length)&&(t=t.substr(1)),4===t.length&&(t=(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]);var n=parseInt(t,16),r=Math.round((255&n)/255*100)/100;return[n>>24&255,n>>16&255,n>>8&255,r]}throw Error("unknown hex color: "+t)},tn=l.type;d.prototype.hex=function(t){return K(this._rgb,t)},h.hex=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["hex"])))},s.format.hex=te,s.autodetect.push({p:4,test:function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if(!e.length&&"string"===tn(t)&&[3,4,5,6,7,8,9].indexOf(t.length)>=0)return"hex"}});var tr=l.unpack,ti=l.TWOPI,ta=Math.min,to=Math.sqrt,tl=Math.acos,ts=l.unpack,tc=l.limit,tu=l.TWOPI,tf=l.PITHIRD,td=Math.cos,th=l.unpack,tp=l.type,tg=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=tr(e,"rgb"),i=r[0],a=r[1],o=r[2],l=ta(i/=255,a/=255,o/=255),s=(i+a+o)/3,c=s>0?1-l/s:0;return 0===c?t=NaN:(t=tl(t=(i-a+(i-o))/2/to((i-a)*(i-a)+(i-o)*(a-o))),o>a&&(t=ti-t),t/=ti),[360*t,c,s]};d.prototype.hsi=function(){return tg(this._rgb)},h.hsi=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["hsi"])))},s.format.hsi=function(){for(var t,e,n,r=[],i=arguments.length;i--;)r[i]=arguments[i];var a=(r=ts(r,"hsi"))[0],o=r[1],l=r[2];return isNaN(a)&&(a=0),isNaN(o)&&(o=0),a>360&&(a-=360),a<0&&(a+=360),(a/=360)<1/3?e=1-((n=(1-o)/3)+(t=(1+o*td(tu*a)/td(tf-tu*a))/3)):a<2/3?(a-=1/3,n=1-((t=(1-o)/3)+(e=(1+o*td(tu*a)/td(tf-tu*a))/3))):(a-=2/3,t=1-((e=(1-o)/3)+(n=(1+o*td(tu*a)/td(tf-tu*a))/3))),[255*(t=tc(l*t*3)),255*(e=tc(l*e*3)),255*(n=tc(l*n*3)),r.length>3?r[3]:1]},s.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("array"===tp(t=th(t,"hsi"))&&3===t.length)return"hsi"}});var tm=l.unpack,ty=l.type;d.prototype.hsl=function(){return k(this._rgb)},h.hsl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["hsl"])))},s.format.hsl=P,s.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("array"===ty(t=tm(t,"hsl"))&&3===t.length)return"hsl"}});var tv=l.unpack,tb=Math.min,tx=Math.max,tO=l.unpack,tw=Math.floor,t_=l.unpack,tk=l.type,tC=function(){for(var t,e,n=[],r=arguments.length;r--;)n[r]=arguments[r];var i=(n=tv(n,"rgb"))[0],a=n[1],o=n[2],l=tb(i,a,o),s=tx(i,a,o),c=s-l;return 0===s?(t=Number.NaN,e=0):(e=c/s,i===s&&(t=(a-o)/c),a===s&&(t=2+(o-i)/c),o===s&&(t=4+(i-a)/c),(t*=60)<0&&(t+=360)),[t,e,s/255]};d.prototype.hsv=function(){return tC(this._rgb)},h.hsv=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["hsv"])))},s.format.hsv=function(){for(var t,e,n,r,i,a,o,l,s,c=[],u=arguments.length;u--;)c[u]=arguments[u];var f=(c=tO(c,"hsv"))[0],d=c[1],h=c[2];if(h*=255,0===d)o=l=s=h;else{360===f&&(f=0),f>360&&(f-=360),f<0&&(f+=360);var p=tw(f/=60),g=f-p,m=h*(1-d),y=h*(1-d*g),v=h*(1-d*(1-g));switch(p){case 0:o=(t=[h,v,m])[0],l=t[1],s=t[2];break;case 1:o=(e=[y,h,m])[0],l=e[1],s=e[2];break;case 2:o=(n=[m,h,v])[0],l=n[1],s=n[2];break;case 3:o=(r=[m,y,h])[0],l=r[1],s=r[2];break;case 4:o=(i=[v,m,h])[0],l=i[1],s=i[2];break;case 5:o=(a=[h,m,y])[0],l=a[1],s=a[2]}}return[o,l,s,c.length>3?c[3]:1]},s.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("array"===tk(t=t_(t,"hsv"))&&3===t.length)return"hsv"}});var tj={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},tM=l.unpack,tS=Math.pow,tA=function(t){return(t/=255)<=.04045?t/12.92:tS((t+.055)/1.055,2.4)},tE=function(t){return t>tj.t3?tS(t,1/3):t/tj.t2+tj.t0},tP=function(){for(var t,e,n,r=[],i=arguments.length;i--;)r[i]=arguments[i];var a=tM(r,"rgb"),o=(t=a[0],e=a[1],n=a[2],[tE((.4124564*(t=tA(t))+.3575761*(e=tA(e))+.1804375*(n=tA(n)))/tj.Xn),tE((.2126729*t+.7151522*e+.072175*n)/tj.Yn),tE((.0193339*t+.119192*e+.9503041*n)/tj.Zn)]),l=o[0],s=o[1],c=o[2],u=116*s-16;return[u<0?0:u,500*(l-s),200*(s-c)]},tR=l.unpack,tZ=Math.pow,tT=function(t){return 255*(t<=.00304?12.92*t:1.055*tZ(t,1/2.4)-.055)},tL=function(t){return t>tj.t1?t*t*t:tj.t2*(t-tj.t0)},tB=function(){for(var t,e,n,r=[],i=arguments.length;i--;)r[i]=arguments[i];var a=(r=tR(r,"lab"))[0],o=r[1],l=r[2];return e=(a+16)/116,t=isNaN(o)?e:e+o/500,n=isNaN(l)?e:e-l/200,e=tj.Yn*tL(e),t=tj.Xn*tL(t),n=tj.Zn*tL(n),[tT(3.2404542*t-1.5371385*e-.4985314*n),tT(-.969266*t+1.8760108*e+.041556*n),tT(.0556434*t-.2040259*e+1.0572252*n),r.length>3?r[3]:1]},tI=l.unpack,tD=l.type;d.prototype.lab=function(){return tP(this._rgb)},h.lab=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["lab"])))},s.format.lab=tB,s.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("array"===tD(t=tI(t,"lab"))&&3===t.length)return"lab"}});var tN=l.unpack,tz=l.RAD2DEG,tF=Math.sqrt,t$=Math.atan2,tW=Math.round,tH=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=tN(t,"lab"),r=n[0],i=n[1],a=n[2],o=tF(i*i+a*a),l=(t$(a,i)*tz+360)%360;return 0===tW(1e4*o)&&(l=Number.NaN),[r,o,l]},tG=l.unpack,tq=l.unpack,tY=l.DEG2RAD,tV=Math.sin,tU=Math.cos,tQ=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=tq(t,"lch"),r=n[0],i=n[1],a=n[2];return isNaN(a)&&(a=0),[r,tU(a*=tY)*i,tV(a)*i]},tX=l.unpack,tK=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=tQ((t=tX(t,"lch"))[0],t[1],t[2]),r=tB(n[0],n[1],n[2]);return[r[0],r[1],r[2],t.length>3?t[3]:1]},tJ=l.unpack,t0=l.unpack,t1=l.type,t2=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=tG(t,"rgb"),r=tP(n[0],n[1],n[2]);return tH(r[0],r[1],r[2])};d.prototype.lch=function(){return t2(this._rgb)},d.prototype.hcl=function(){return t2(this._rgb).reverse()},h.lch=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["lch"])))},h.hcl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["hcl"])))},s.format.lch=tK,s.format.hcl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=tJ(t,"hcl").reverse();return tK.apply(void 0,n)},["lch","hcl"].forEach(function(t){return s.autodetect.push({p:2,test:function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if("array"===t1(e=t0(e,t))&&3===e.length)return t}})});var t5={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",cornflower:"#6495ed",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",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",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",maroon2:"#7f0000",maroon3:"#b03060",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",purple2:"#7f007f",purple3:"#a020f0",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"},t3=l.type;d.prototype.name=function(){for(var t=K(this._rgb,"rgb"),e=0,n=Object.keys(t5);e0;)e[n]=arguments[n+1];if(!e.length&&"string"===t3(t)&&t5[t.toLowerCase()])return"named"}});var t4=l.unpack,t6=l.type,t8=l.type,t7=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=t4(t,"rgb");return(n[0]<<16)+(n[1]<<8)+n[2]};d.prototype.num=function(){return t7(this._rgb)},h.num=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["num"])))},s.format.num=function(t){if("number"==t6(t)&&t>=0&&t<=16777215)return[t>>16,t>>8&255,255&t,1];throw Error("unknown num color: "+t)},s.autodetect.push({p:5,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(1===t.length&&"number"===t8(t[0])&&t[0]>=0&&t[0]<=16777215)return"num"}});var t9=l.unpack,et=l.type,ee=Math.round;d.prototype.rgb=function(t){return(void 0===t&&(t=!0),!1===t)?this._rgb.slice(0,3):this._rgb.slice(0,3).map(ee)},d.prototype.rgba=function(t){return void 0===t&&(t=!0),this._rgb.slice(0,4).map(function(e,n){return n<3?!1===t?e:ee(e):e})},h.rgb=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["rgb"])))},s.format.rgb=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=t9(t,"rgba");return void 0===n[3]&&(n[3]=1),n},s.autodetect.push({p:3,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("array"===et(t=t9(t,"rgba"))&&(3===t.length||4===t.length&&"number"==et(t[3])&&t[3]>=0&&t[3]<=1))return"rgb"}});var en=Math.log,er=function(t){var e,n,r,i=t/100;return i<66?(e=255,n=i<6?0:-155.25485562709179-.44596950469579133*(n=i-2)+104.49216199393888*en(n),r=i<20?0:-254.76935184120902+.8274096064007395*(r=i-10)+115.67994401066147*en(r)):(e=351.97690566805693+.114206453784165*(e=i-55)-40.25366309332127*en(e),n=325.4494125711974+.07943456536662342*(n=i-50)-28.0852963507957*en(n),r=255),[e,n,r,1]},ei=l.unpack,ea=Math.round,eo=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];for(var r=ei(e,"rgb"),i=r[0],a=r[2],o=1e3,l=4e4;l-o>.4;){var s=er(t=(l+o)*.5);s[2]/s[0]>=a/i?l=t:o=t}return ea(t)};d.prototype.temp=d.prototype.kelvin=d.prototype.temperature=function(){return eo(this._rgb)},h.temp=h.kelvin=h.temperature=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["temp"])))},s.format.temp=s.format.kelvin=s.format.temperature=er;var el=l.unpack,es=Math.cbrt,ec=Math.pow,eu=Math.sign,ef=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=el(t,"rgb"),r=n[0],i=n[1],a=n[2],o=[ed(r/255),ed(i/255),ed(a/255)],l=o[0],s=o[1],c=o[2],u=es(.4122214708*l+.5363325363*s+.0514459929*c),f=es(.2119034982*l+.6806995451*s+.1073969566*c),d=es(.0883024619*l+.2817188376*s+.6299787005*c);return[.2104542553*u+.793617785*f-.0040720468*d,1.9779984951*u-2.428592205*f+.4505937099*d,.0259040371*u+.7827717662*f-.808675766*d]};function ed(t){var e=Math.abs(t);return e<.04045?t/12.92:(eu(t)||1)*ec((e+.055)/1.055,2.4)}var eh=l.unpack,ep=Math.pow,eg=Math.sign,em=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=(t=eh(t,"lab"))[0],r=t[1],i=t[2],a=ep(n+.3963377774*r+.2158037573*i,3),o=ep(n-.1055613458*r-.0638541728*i,3),l=ep(n-.0894841775*r-1.291485548*i,3);return[255*ey(4.0767416621*a-3.3077115913*o+.2309699292*l),255*ey(-1.2684380046*a+2.6097574011*o-.3413193965*l),255*ey(-.0041960863*a-.7034186147*o+1.707614701*l),t.length>3?t[3]:1]};function ey(t){var e=Math.abs(t);return e>.0031308?(eg(t)||1)*(1.055*ep(e,1/2.4)-.055):12.92*t}var ev=l.unpack,eb=l.type;d.prototype.oklab=function(){return ef(this._rgb)},h.oklab=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["oklab"])))},s.format.oklab=em,s.autodetect.push({p:3,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("array"===eb(t=ev(t,"oklab"))&&3===t.length)return"oklab"}});var ex=l.unpack,eO=l.unpack,ew=l.unpack,e_=l.type,ek=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=ex(t,"rgb"),r=ef(n[0],n[1],n[2]);return tH(r[0],r[1],r[2])};d.prototype.oklch=function(){return ek(this._rgb)},h.oklch=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["oklch"])))},s.format.oklch=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=tQ((t=eO(t,"lch"))[0],t[1],t[2]),r=em(n[0],n[1],n[2]);return[r[0],r[1],r[2],t.length>3?t[3]:1]},s.autodetect.push({p:3,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("array"===e_(t=ew(t,"oklch"))&&3===t.length)return"oklch"}});var eC=l.type;d.prototype.alpha=function(t,e){return(void 0===e&&(e=!1),void 0!==t&&"number"===eC(t))?e?(this._rgb[3]=t,this):new d([this._rgb[0],this._rgb[1],this._rgb[2],t],"rgb"):this._rgb[3]},d.prototype.clipped=function(){return this._rgb._clipped||!1},d.prototype.darken=function(t){void 0===t&&(t=1);var e=this.lab();return e[0]-=tj.Kn*t,new d(e,"lab").alpha(this.alpha(),!0)},d.prototype.brighten=function(t){return void 0===t&&(t=1),this.darken(-t)},d.prototype.darker=d.prototype.darken,d.prototype.brighter=d.prototype.brighten,d.prototype.get=function(t){var e=t.split("."),n=e[0],r=e[1],i=this[n]();if(!r)return i;var a=n.indexOf(r)-("ok"===n.substr(0,2)?2:0);if(a>-1)return i[a];throw Error("unknown channel "+r+" in mode "+n)};var ej=l.type,eM=Math.pow;d.prototype.luminance=function(t){if(void 0!==t&&"number"===ej(t)){if(0===t)return new d([0,0,0,this._rgb[3]],"rgb");if(1===t)return new d([255,255,255,this._rgb[3]],"rgb");var e=this.luminance(),n=20,r=function(e,i){var a=e.interpolate(i,.5,"rgb"),o=a.luminance();return!(1e-7>Math.abs(t-o))&&n--?o>t?r(e,a):r(a,i):a},i=(e>t?r(new d([0,0,0]),this):r(this,new d([255,255,255]))).rgb();return new d(i.concat([this._rgb[3]]))}return eS.apply(void 0,this._rgb.slice(0,3))};var eS=function(t,e,n){return .2126*(t=eA(t))+.7152*(e=eA(e))+.0722*(n=eA(n))},eA=function(t){return(t/=255)<=.03928?t/12.92:eM((t+.055)/1.055,2.4)},eE={},eP=l.type,eR=function(t,e,n){void 0===n&&(n=.5);for(var r=[],i=arguments.length-3;i-- >0;)r[i]=arguments[i+3];var a=r[0]||"lrgb";if(eE[a]||r.length||(a=Object.keys(eE)[0]),!eE[a])throw Error("interpolation mode "+a+" is not defined");return"object"!==eP(t)&&(t=new d(t)),"object"!==eP(e)&&(e=new d(e)),eE[a](t,e,n).alpha(t.alpha()+n*(e.alpha()-t.alpha()))};d.prototype.mix=d.prototype.interpolate=function(t,e){void 0===e&&(e=.5);for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return eR.apply(void 0,[this,t,e].concat(n))},d.prototype.premultiply=function(t){void 0===t&&(t=!1);var e=this._rgb,n=e[3];return t?(this._rgb=[e[0]*n,e[1]*n,e[2]*n,n],this):new d([e[0]*n,e[1]*n,e[2]*n,n],"rgb")},d.prototype.saturate=function(t){void 0===t&&(t=1);var e=this.lch();return e[1]+=tj.Kn*t,e[1]<0&&(e[1]=0),new d(e,"lch").alpha(this.alpha(),!0)},d.prototype.desaturate=function(t){return void 0===t&&(t=1),this.saturate(-t)};var eZ=l.type;d.prototype.set=function(t,e,n){void 0===n&&(n=!1);var r=t.split("."),i=r[0],a=r[1],o=this[i]();if(!a)return o;var l=i.indexOf(a)-("ok"===i.substr(0,2)?2:0);if(l>-1){if("string"==eZ(e))switch(e.charAt(0)){case"+":case"-":o[l]+=+e;break;case"*":o[l]*=+e.substr(1);break;case"/":o[l]/=+e.substr(1);break;default:o[l]=+e}else if("number"===eZ(e))o[l]=e;else throw Error("unsupported value for Color.set");var s=new d(o,i);return n?(this._rgb=s._rgb,this):s}throw Error("unknown channel "+a+" in mode "+i)},eE.rgb=function(t,e,n){var r=t._rgb,i=e._rgb;return new d(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"rgb")};var eT=Math.sqrt,eL=Math.pow;eE.lrgb=function(t,e,n){var r=t._rgb,i=r[0],a=r[1],o=r[2],l=e._rgb,s=l[0],c=l[1],u=l[2];return new d(eT(eL(i,2)*(1-n)+eL(s,2)*n),eT(eL(a,2)*(1-n)+eL(c,2)*n),eT(eL(o,2)*(1-n)+eL(u,2)*n),"rgb")},eE.lab=function(t,e,n){var r=t.lab(),i=e.lab();return new d(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"lab")};var eB=function(t,e,n,r){var i,a,o,l,s,c,u,f,h,p,g,m,y,v;return"hsl"===r?(o=t.hsl(),l=e.hsl()):"hsv"===r?(o=t.hsv(),l=e.hsv()):"hcg"===r?(o=t.hcg(),l=e.hcg()):"hsi"===r?(o=t.hsi(),l=e.hsi()):"lch"===r||"hcl"===r?(r="hcl",o=t.hcl(),l=e.hcl()):"oklch"===r&&(o=t.oklch().reverse(),l=e.oklch().reverse()),("h"===r.substr(0,1)||"oklch"===r)&&(s=(i=o)[0],u=i[1],h=i[2],c=(a=l)[0],f=a[1],p=a[2]),isNaN(s)||isNaN(c)?isNaN(s)?isNaN(c)?m=Number.NaN:(m=c,(1==h||0==h)&&"hsv"!=r&&(g=f)):(m=s,(1==p||0==p)&&"hsv"!=r&&(g=u)):(v=c>s&&c-s>180?c-(s+360):c180?c+360-s:c-s,m=s+n*v),void 0===g&&(g=u+n*(f-u)),y=h+n*(p-h),"oklch"===r?new d([y,g,m],r):new d([m,g,y],r)},eI=function(t,e,n){return eB(t,e,n,"lch")};eE.lch=eI,eE.hcl=eI,eE.num=function(t,e,n){var r=t.num(),i=e.num();return new d(r+n*(i-r),"num")},eE.hcg=function(t,e,n){return eB(t,e,n,"hcg")},eE.hsi=function(t,e,n){return eB(t,e,n,"hsi")},eE.hsl=function(t,e,n){return eB(t,e,n,"hsl")},eE.hsv=function(t,e,n){return eB(t,e,n,"hsv")},eE.oklab=function(t,e,n){var r=t.oklab(),i=e.oklab();return new d(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"oklab")},eE.oklch=function(t,e,n){return eB(t,e,n,"oklch")};var eD=l.clip_rgb,eN=Math.pow,ez=Math.sqrt,eF=Math.PI,e$=Math.cos,eW=Math.sin,eH=Math.atan2,eG=function(t,e){for(var n=t.length,r=[0,0,0,0],i=0;i.9999999&&(r[3]=1),new d(eD(r))},eq=l.type,eY=Math.pow,eV=function(t){var e="rgb",n=h("#ccc"),r=0,i=[0,1],a=[],o=[0,0],l=!1,s=[],c=!1,u=0,f=1,d=!1,p={},g=!0,m=1,y=function(t){if("string"===eq(t=t||["#fff","#000"])&&h.brewer&&h.brewer[t.toLowerCase()]&&(t=h.brewer[t.toLowerCase()]),"array"===eq(t)){1===t.length&&(t=[t[0],t[0]]),t=t.slice(0);for(var e=0;e=l[n];)n++;return n-1}return 0},b=function(t){return t},x=function(t){return t},O=function(t,r){if(null==r&&(r=!1),isNaN(t)||null===t)return n;if(r)c=t;else if(l&&l.length>2){var i,c;c=v(t)/(l.length-2)}else c=f!==u?(t-u)/(f-u):1;c=x(c),r||(c=b(c)),1!==m&&(c=eY(c,m));var d=Math.floor(1e4*(c=Math.min(1,Math.max(0,c=o[0]+c*(1-o[0]-o[1])))));if(g&&p[d])i=p[d];else{if("array"===eq(s))for(var y=0;y=O&&y===a.length-1){i=s[y];break}if(c>O&&c2){var c=t.map(function(e,n){return n/(t.length-1)}),d=t.map(function(t){return(t-u)/(f-u)});d.every(function(t,e){return c[e]===t})||(x=function(t){if(t<=0||t>=1)return t;for(var e=0;t>=d[e+1];)e++;var n=(t-d[e])/(d[e+1]-d[e]);return c[e]+n*(c[e+1]-c[e])})}}return i=[u,f],_},_.mode=function(t){return arguments.length?(e=t,w(),_):e},_.range=function(t,e){return y(t),_},_.out=function(t){return c=t,_},_.spread=function(t){return arguments.length?(r=t,_):r},_.correctLightness=function(t){return null==t&&(t=!0),d=t,w(),b=d?function(t){for(var e=O(0,!0).lab()[0],n=O(1,!0).lab()[0],r=e>n,i=O(t,!0).lab()[0],a=e+(n-e)*t,o=i-a,l=0,s=1,c=20;Math.abs(o)>.01&&c-- >0;)r&&(o*=-1),o<0?(l=t,t+=(s-t)*.5):(s=t,t+=(l-t)*.5),o=(i=O(t,!0).lab()[0])-a;return t}:function(t){return t},_},_.padding=function(t){return null!=t?("number"===eq(t)&&(t=[t,t]),o=t,_):o},_.colors=function(e,n){arguments.length<2&&(n="hex");var r=[];if(0==arguments.length)r=s.slice(0);else if(1===e)r=[_(.5)];else if(e>1){var a=i[0],o=i[1]-a;r=(function(t,e,n){for(var r=[],i=ta;i?o++:o--)r.push(o);return r})(0,e,!1).map(function(t){return _(a+t/(e-1)*o)})}else{t=[];var c=[];if(l&&l.length>2)for(var u=1,f=l.length,d=1<=f;d?uf;d?u++:u--)c.push((l[u-1]+l[u])*.5);else c=i;r=c.map(function(t){return _(t)})}return h[n]&&(r=r.map(function(t){return t[n]()})),r},_.cache=function(t){return null!=t?(g=t,_):g},_.gamma=function(t){return null!=t?(m=t,_):m},_.nodata=function(t){return null!=t?(n=h(t),_):n},_},eU=function(t){for(var e=[1,1],n=1;n=5)c=t.map(function(t){return t.lab()}),u=eU(f=t.length-1),i=function(t){var e=1-t,n=[0,1,2].map(function(n){return c.reduce(function(r,i,a){return r+u[a]*Math.pow(e,f-a)*Math.pow(t,a)*i[n]},0)});return new d(n,"lab")};else throw RangeError("No point in running bezier with only one color.");return i},eX=function(t,e,n){if(!eX[n])throw Error("unknown blend mode "+n);return eX[n](t,e)},eK=function(t){return function(e,n){var r=h(n).rgb(),i=h(e).rgb();return h.rgb(t(r,i))}},eJ=function(t){return function(e,n){var r=[];return r[0]=t(e[0],n[0]),r[1]=t(e[1],n[1]),r[2]=t(e[2],n[2]),r}};eX.normal=eK(eJ(function(t){return t})),eX.multiply=eK(eJ(function(t,e){return t*e/255})),eX.screen=eK(eJ(function(t,e){return 255*(1-(1-t/255)*(1-e/255))})),eX.overlay=eK(eJ(function(t,e){return e<128?2*t*e/255:255*(1-2*(1-t/255)*(1-e/255))})),eX.darken=eK(eJ(function(t,e){return t>e?e:t})),eX.lighten=eK(eJ(function(t,e){return t>e?t:e})),eX.dodge=eK(eJ(function(t,e){return 255===t?255:(t=255*(e/255)/(1-t/255))>255?255:t})),eX.burn=eK(eJ(function(t,e){return 255*(1-(1-e/255)/(t/255))}));for(var e0=l.type,e1=l.clip_rgb,e2=l.TWOPI,e5=Math.pow,e3=Math.sin,e4=Math.cos,e6=Math.floor,e8=Math.random,e7=Math.log,e9=Math.pow,nt=Math.floor,ne=Math.abs,nn=function(t,e){void 0===e&&(e=null);var n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===a(t)&&(t=Object.values(t)),t.forEach(function(t){e&&"object"===a(t)&&(t=t[e]),null==t||isNaN(t)||(n.values.push(t),n.sum+=t,tn.max&&(n.max=t),n.count+=1)}),n.domain=[n.min,n.max],n.limits=function(t,e){return nr(n,t,e)},n},nr=function(t,e,n){void 0===e&&(e="equal"),void 0===n&&(n=7),"array"==a(t)&&(t=nn(t));var r=t.min,i=t.max,o=t.values.sort(function(t,e){return t-e});if(1===n)return[r,i];var l=[];if("c"===e.substr(0,1)&&(l.push(r),l.push(i)),"e"===e.substr(0,1)){l.push(r);for(var s=1;s 0");var c=Math.LOG10E*e7(r),u=Math.LOG10E*e7(i);l.push(r);for(var f=1;f200&&(x=!1)}for(var B={},I=0;I=360;)g-=360;o[p]=g}else o[p]=o[p]/l[p];return h/=r,new d(o,e).alpha(h>.99999?1:h,!0)},h.bezier=function(t){var e=eQ(t);return e.scale=function(){return eV(e)},e},h.blend=eX,h.cubehelix=function(t,e,n,r,i){void 0===t&&(t=300),void 0===e&&(e=-1.5),void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=[0,1]);var a,o=0;"array"===e0(i)?a=i[1]-i[0]:(a=0,i=[i,i]);var l=function(l){var s=e2*((t+120)/360+e*l),c=e5(i[0]+a*l,r),u=(0!==o?n[0]+l*o:n)*c*(1-c)/2,f=e4(s),d=e3(s);return h(e1([255*(c+u*(-.14861*f+1.78277*d)),255*(c+u*(-.29227*f-.90649*d)),255*(c+u*(1.97294*f)),1]))};return l.start=function(e){return null==e?t:(t=e,l)},l.rotations=function(t){return null==t?e:(e=t,l)},l.gamma=function(t){return null==t?r:(r=t,l)},l.hue=function(t){return null==t?n:("array"===e0(n=t)?0==(o=n[1]-n[0])&&(n=n[1]):o=0,l)},l.lightness=function(t){return null==t?i:("array"===e0(t)?(i=t,a=t[1]-t[0]):(i=[t,t],a=0),l)},l.scale=function(){return h.scale(l)},l.hue(n),l},h.mix=h.interpolate=eR,h.random=function(){for(var t="#",e=0;e<6;e++)t+="0123456789abcdef".charAt(e6(16*e8()));return new d(t,"hex")},h.scale=eV,h.analyze=ni.analyze,h.contrast=function(t,e){t=new d(t),e=new d(e);var n=t.luminance(),r=e.luminance();return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)},h.deltaE=function(t,e,n,r,i){void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=1);var a=function(t){return 360*t/(2*np)},o=function(t){return 2*np*t/360};t=new d(t),e=new d(e);var l=Array.from(t.lab()),s=l[0],c=l[1],u=l[2],f=Array.from(e.lab()),h=f[0],p=f[1],g=f[2],m=(s+h)/2,y=(na(no(c,2)+no(u,2))+na(no(p,2)+no(g,2)))/2,v=.5*(1-na(no(y,7)/(no(y,7)+no(25,7)))),b=c*(1+v),x=p*(1+v),O=na(no(b,2)+no(u,2)),w=na(no(x,2)+no(g,2)),_=(O+w)/2,k=a(nc(u,b)),C=a(nc(g,x)),j=k>=0?k:k+360,M=C>=0?C:C+360,S=nu(j-M)>180?(j+M+360)/2:(j+M)/2,A=1-.17*nf(o(S-30))+.24*nf(o(2*S))+.32*nf(o(3*S+6))-.2*nf(o(4*S-63)),E=M-j;E=180>=nu(E)?E:M<=j?E+360:E-360,E=2*na(O*w)*nd(o(E)/2);var P=w-O,R=1+.015*no(m-50,2)/na(20+no(m-50,2)),Z=1+.045*_,T=1+.015*_*A,L=30*nh(-no((S-275)/25,2)),B=-(2*na(no(_,7)/(no(_,7)+no(25,7))))*nd(2*o(L));return ns(0,nl(100,na(no((h-s)/(n*R),2)+no(P/(r*Z),2)+no(E/(i*T),2)+B*(P/(r*Z))*(E/(i*T)))))},h.distance=function(t,e,n){void 0===n&&(n="lab"),t=new d(t),e=new d(e);var r=t.get(n),i=e.get(n),a=0;for(var o in r){var l=(r[o]||0)-(i[o]||0);a+=l*l}return Math.sqrt(a)},h.limits=ni.limits,h.valid=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];try{return new(Function.prototype.bind.apply(d,[null].concat(t))),!0}catch(t){return!1}},h.scales={cool:function(){return eV([h.hsl(180,1,.9),h.hsl(250,.7,.4)])},hot:function(){return eV(["#000","#f00","#ff0","#fff"]).mode("rgb")}},h.colors=t5,h.brewer=ng,h}()},90230:function(t,e,n){"use strict";var r=n(41263);e.Z=r},15342:function(t,e,n){"use strict";var r=n(93859);e.Z=r},99204:function(t,e,n){"use strict";var r=n(69399);e.Z=r},14457:function(t,e,n){"use strict";var r=n(13346);e.Z=r},51961:function(t,e,n){"use strict";var r=n(47143);e.Z=r},23943:function(t,e,n){"use strict";var r=n(11089);e.Z=r},63968:function(t,e,n){"use strict";var r=n(66290);e.Z=r},90512:function(t,e,n){"use strict";e.Z=function(){for(var t,e,n=0,r="",i=arguments.length;ni&&(r=n,o(1),++e),n[t]=a}function o(t){e=0,n=Object.create(null),t||(r=Object.create(null))}return o(),{clear:o,has:function(t){return void 0!==n[t]||void 0!==r[t]},get:function(t){var e=n[t];return void 0!==e?e:void 0!==(e=r[t])?(a(t,e),e):void 0},set:function(t,e){void 0!==n[t]?n[t]=e:a(t,e)}}}n.d(e,{Z:function(){return r}})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/665.3c818272010a6e03.js b/dbgpt/app/static/web/_next/static/chunks/665.3c818272010a6e03.js new file mode 100644 index 000000000..8831d0a36 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/665.3c818272010a6e03.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[665],{90665:function(e,t,n){n.r(t),n.d(t,{CompletionAdapter:function(){return ti},DefinitionAdapter:function(){return tg},DiagnosticsAdapter:function(){return tr},DocumentColorAdapter:function(){return tC},DocumentFormattingEditProvider:function(){return t_},DocumentHighlightAdapter:function(){return tl},DocumentLinkAdapter:function(){return tv},DocumentRangeFormattingEditProvider:function(){return tk},DocumentSymbolAdapter:function(){return tm},FoldingRangeAdapter:function(){return tw},HoverAdapter:function(){return tc},ReferenceAdapter:function(){return tf},RenameAdapter:function(){return tp},SelectionRangeAdapter:function(){return ty},WorkerManager:function(){return e9},fromPosition:function(){return to},fromRange:function(){return ta},setupMode:function(){return tM},toRange:function(){return ts},toTextEdit:function(){return tu}});var r,i,o,a,s,u,c,d,l,g,h,f,p,m,v,_,k,b,C,w,y,E,A,x,I,S,T,R,D,P,M,j,L,F,O,N,W,U,V,H,K,z,q,X,B,$,Q,G,J,Y,Z,ee,et,en,er,ei,eo,ea,es,eu,ec,ed,el,eg,eh,ef,ep,em,ev,e_,ek,eb,eC,ew,ey,eE,eA,ex,eI,eS,eT,eR,eD,eP,eM,ej,eL,eF,eO,eN,eW,eU,eV,eH,eK,ez,eq,eX,eB,e$,eQ,eG,eJ,eY,eZ,e0,e1,e2=n(72339),e4=Object.defineProperty,e3=Object.getOwnPropertyDescriptor,e6=Object.getOwnPropertyNames,e5=Object.prototype.hasOwnProperty,e7=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of e6(t))e5.call(e,i)||i===n||e4(e,i,{get:()=>t[i],enumerable:!(r=e3(t,i))||r.enumerable});return e},e8={};e7(e8,e2,"default"),r&&e7(r,e2,"default");var e9=class{_defaults;_idleCheckInterval;_lastUsedTime;_configChangeListener;_worker;_client;constructor(e){this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){this._worker&&Date.now()-this._lastUsedTime>12e4&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=e8.editor.createWebWorker({moduleId:"vs/language/json/jsonWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let t;return this._getClient().then(e=>{t=e}).then(t=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(e=>t)}};(i=J||(J={})).MIN_VALUE=-2147483648,i.MAX_VALUE=2147483647,(o=Y||(Y={})).MIN_VALUE=0,o.MAX_VALUE=2147483647,(a=Z||(Z={})).create=function(e,t){return e===Number.MAX_VALUE&&(e=Y.MAX_VALUE),t===Number.MAX_VALUE&&(t=Y.MAX_VALUE),{line:e,character:t}},a.is=function(e){return e0.objectLiteral(e)&&e0.uinteger(e.line)&&e0.uinteger(e.character)},(s=ee||(ee={})).create=function(e,t,n,r){if(e0.uinteger(e)&&e0.uinteger(t)&&e0.uinteger(n)&&e0.uinteger(r))return{start:Z.create(e,t),end:Z.create(n,r)};if(Z.is(e)&&Z.is(t))return{start:e,end:t};throw Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},s.is=function(e){return e0.objectLiteral(e)&&Z.is(e.start)&&Z.is(e.end)},(u=et||(et={})).create=function(e,t){return{uri:e,range:t}},u.is=function(e){return e0.defined(e)&&ee.is(e.range)&&(e0.string(e.uri)||e0.undefined(e.uri))},(c=en||(en={})).create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},c.is=function(e){return e0.defined(e)&&ee.is(e.targetRange)&&e0.string(e.targetUri)&&(ee.is(e.targetSelectionRange)||e0.undefined(e.targetSelectionRange))&&(ee.is(e.originSelectionRange)||e0.undefined(e.originSelectionRange))},(d=er||(er={})).create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},d.is=function(e){return e0.numberRange(e.red,0,1)&&e0.numberRange(e.green,0,1)&&e0.numberRange(e.blue,0,1)&&e0.numberRange(e.alpha,0,1)},(l=ei||(ei={})).create=function(e,t){return{range:e,color:t}},l.is=function(e){return ee.is(e.range)&&er.is(e.color)},(g=eo||(eo={})).create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},g.is=function(e){return e0.string(e.label)&&(e0.undefined(e.textEdit)||ef.is(e))&&(e0.undefined(e.additionalTextEdits)||e0.typedArray(e.additionalTextEdits,ef.is))},(h=ea||(ea={})).Comment="comment",h.Imports="imports",h.Region="region",(f=es||(es={})).create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return e0.defined(n)&&(o.startCharacter=n),e0.defined(r)&&(o.endCharacter=r),e0.defined(i)&&(o.kind=i),o},f.is=function(e){return e0.uinteger(e.startLine)&&e0.uinteger(e.startLine)&&(e0.undefined(e.startCharacter)||e0.uinteger(e.startCharacter))&&(e0.undefined(e.endCharacter)||e0.uinteger(e.endCharacter))&&(e0.undefined(e.kind)||e0.string(e.kind))},(p=eu||(eu={})).create=function(e,t){return{location:e,message:t}},p.is=function(e){return e0.defined(e)&&et.is(e.location)&&e0.string(e.message)},(m=ec||(ec={})).Error=1,m.Warning=2,m.Information=3,m.Hint=4,(v=ed||(ed={})).Unnecessary=1,v.Deprecated=2,(el||(el={})).is=function(e){return null!=e&&e0.string(e.href)},(_=eg||(eg={})).create=function(e,t,n,r,i,o){var a={range:e,message:t};return e0.defined(n)&&(a.severity=n),e0.defined(r)&&(a.code=r),e0.defined(i)&&(a.source=i),e0.defined(o)&&(a.relatedInformation=o),a},_.is=function(e){var t;return e0.defined(e)&&ee.is(e.range)&&e0.string(e.message)&&(e0.number(e.severity)||e0.undefined(e.severity))&&(e0.integer(e.code)||e0.string(e.code)||e0.undefined(e.code))&&(e0.undefined(e.codeDescription)||e0.string(null===(t=e.codeDescription)||void 0===t?void 0:t.href))&&(e0.string(e.source)||e0.undefined(e.source))&&(e0.undefined(e.relatedInformation)||e0.typedArray(e.relatedInformation,eu.is))},(k=eh||(eh={})).create=function(e,t){for(var n=[],r=2;r0&&(i.arguments=n),i},k.is=function(e){return e0.defined(e)&&e0.string(e.title)&&e0.string(e.command)},(b=ef||(ef={})).replace=function(e,t){return{range:e,newText:t}},b.insert=function(e,t){return{range:{start:e,end:e},newText:t}},b.del=function(e){return{range:e,newText:""}},b.is=function(e){return e0.objectLiteral(e)&&e0.string(e.newText)&&ee.is(e.range)},(C=ep||(ep={})).create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},C.is=function(e){return void 0!==e&&e0.objectLiteral(e)&&e0.string(e.label)&&(e0.boolean(e.needsConfirmation)||void 0===e.needsConfirmation)&&(e0.string(e.description)||void 0===e.description)},(em||(em={})).is=function(e){return"string"==typeof e},(w=ev||(ev={})).replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},w.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},w.del=function(e,t){return{range:e,newText:"",annotationId:t}},w.is=function(e){return ef.is(e)&&(ep.is(e.annotationId)||em.is(e.annotationId))},(y=e_||(e_={})).create=function(e,t){return{textDocument:e,edits:t}},y.is=function(e){return e0.defined(e)&&eA.is(e.textDocument)&&Array.isArray(e.edits)},(E=ek||(ek={})).create=function(e,t,n){var r={kind:"create",uri:e};return void 0!==t&&(void 0!==t.overwrite||void 0!==t.ignoreIfExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},E.is=function(e){return e&&"create"===e.kind&&e0.string(e.uri)&&(void 0===e.options||(void 0===e.options.overwrite||e0.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||e0.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||em.is(e.annotationId))},(A=eb||(eb={})).create=function(e,t,n,r){var i={kind:"rename",oldUri:e,newUri:t};return void 0!==n&&(void 0!==n.overwrite||void 0!==n.ignoreIfExists)&&(i.options=n),void 0!==r&&(i.annotationId=r),i},A.is=function(e){return e&&"rename"===e.kind&&e0.string(e.oldUri)&&e0.string(e.newUri)&&(void 0===e.options||(void 0===e.options.overwrite||e0.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||e0.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||em.is(e.annotationId))},(x=eC||(eC={})).create=function(e,t,n){var r={kind:"delete",uri:e};return void 0!==t&&(void 0!==t.recursive||void 0!==t.ignoreIfNotExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},x.is=function(e){return e&&"delete"===e.kind&&e0.string(e.uri)&&(void 0===e.options||(void 0===e.options.recursive||e0.boolean(e.options.recursive))&&(void 0===e.options.ignoreIfNotExists||e0.boolean(e.options.ignoreIfNotExists)))&&(void 0===e.annotationId||em.is(e.annotationId))},(ew||(ew={})).is=function(e){return e&&(void 0!==e.changes||void 0!==e.documentChanges)&&(void 0===e.documentChanges||e.documentChanges.every(function(e){return e0.string(e.kind)?ek.is(e)||eb.is(e)||eC.is(e):e_.is(e)}))};var te=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=ef.insert(e,t):em.is(n)?(i=n,r=ev.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=ev.insert(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.replace=function(e,t,n){var r,i;if(void 0===n?r=ef.replace(e,t):em.is(n)?(i=n,r=ev.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=ev.replace(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=ef.del(e):em.is(t)?(r=t,n=ev.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=ev.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw Error("Text edit change is not configured to manage change annotations.")},e}(),tt=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(em.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw Error("Id "+n+" is already in use.");if(void 0===t)throw Error("No annotation provided for id "+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new tt(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach(function(e){if(e_.is(e)){var n=new te(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach(function(n){var r=new te(e.changes[n]);t._textEditChanges[n]=r})):this._workspaceEdit={}}Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(eA.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version},n=this._textEditChanges[t.uri];if(!n){var r=[],i={textDocument:t,edits:r};this._workspaceEdit.documentChanges.push(i),n=new te(r,this._changeAnnotations),this._textEditChanges[t.uri]=n}return n}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw Error("Workspace edit is not configured for normal text edit changes.");var n=this._textEditChanges[e];if(!n){var r=[];this._workspaceEdit.changes[e]=r,n=new te(r),this._textEditChanges[e]=n}return n},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new tt,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){var r,i,o;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ep.is(t)||em.is(t)?r=t:n=t,void 0===r?i=ek.create(e,n):(o=em.is(r)?r:this._changeAnnotations.manage(r),i=ek.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o},e.prototype.renameFile=function(e,t,n,r){var i,o,a;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ep.is(n)||em.is(n)?i=n:r=n,void 0===i?o=eb.create(e,t,r):(a=em.is(i)?i:this._changeAnnotations.manage(i),o=eb.create(e,t,r,a)),this._workspaceEdit.documentChanges.push(o),void 0!==a)return a},e.prototype.deleteFile=function(e,t,n){var r,i,o;if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw Error("Workspace edit is not configured for document changes.");if(ep.is(t)||em.is(t)?r=t:n=t,void 0===r?i=eC.create(e,n):(o=em.is(r)?r:this._changeAnnotations.manage(r),i=eC.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o}}(),(I=ey||(ey={})).create=function(e){return{uri:e}},I.is=function(e){return e0.defined(e)&&e0.string(e.uri)},(S=eE||(eE={})).create=function(e,t){return{uri:e,version:t}},S.is=function(e){return e0.defined(e)&&e0.string(e.uri)&&e0.integer(e.version)},(T=eA||(eA={})).create=function(e,t){return{uri:e,version:t}},T.is=function(e){return e0.defined(e)&&e0.string(e.uri)&&(null===e.version||e0.integer(e.version))},(R=ex||(ex={})).create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},R.is=function(e){return e0.defined(e)&&e0.string(e.uri)&&e0.string(e.languageId)&&e0.integer(e.version)&&e0.string(e.text)},(D=eI||(eI={})).PlainText="plaintext",D.Markdown="markdown",(P=eI||(eI={})).is=function(e){return e===P.PlainText||e===P.Markdown},(eS||(eS={})).is=function(e){return e0.objectLiteral(e)&&eI.is(e.kind)&&e0.string(e.value)},(M=eT||(eT={})).Text=1,M.Method=2,M.Function=3,M.Constructor=4,M.Field=5,M.Variable=6,M.Class=7,M.Interface=8,M.Module=9,M.Property=10,M.Unit=11,M.Value=12,M.Enum=13,M.Keyword=14,M.Snippet=15,M.Color=16,M.File=17,M.Reference=18,M.Folder=19,M.EnumMember=20,M.Constant=21,M.Struct=22,M.Event=23,M.Operator=24,M.TypeParameter=25,(j=eR||(eR={})).PlainText=1,j.Snippet=2,(eD||(eD={})).Deprecated=1,(L=eP||(eP={})).create=function(e,t,n){return{newText:e,insert:t,replace:n}},L.is=function(e){return e&&e0.string(e.newText)&&ee.is(e.insert)&&ee.is(e.replace)},(F=eM||(eM={})).asIs=1,F.adjustIndentation=2,(ej||(ej={})).create=function(e){return{label:e}},(eL||(eL={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(O=eF||(eF={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},O.is=function(e){return e0.string(e)||e0.objectLiteral(e)&&e0.string(e.language)&&e0.string(e.value)},(eO||(eO={})).is=function(e){return!!e&&e0.objectLiteral(e)&&(eS.is(e.contents)||eF.is(e.contents)||e0.typedArray(e.contents,eF.is))&&(void 0===e.range||ee.is(e.range))},(eN||(eN={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(eW||(eW={})).create=function(e,t){for(var n=[],r=2;r=n(i[a],o[s])?t[u++]=i[a++]:t[u++]=o[s++];for(;a=0;o--){var a=r[o],s=e.offsetAt(a.range.start),u=e.offsetAt(a.range.end);if(u<=i)n=n.substring(0,s)+a.newText+n.substring(u,n.length);else throw Error("Overlapping edit");i=s}return n};var tn=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return Z.create(0,e);for(;ne?r=i:n=i+1}var o=n-1;return Z.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1{let t,n=e.getLanguageId();n===this._languageId&&(this._listener[e.uri.toString()]=e.onDidChangeContent(()=>{window.clearTimeout(t),t=window.setTimeout(()=>this._doValidate(e.uri,n),500)}),this._doValidate(e.uri,n))},i=e=>{e8.editor.setModelMarkers(e,this._languageId,[]);let t=e.uri.toString(),n=this._listener[t];n&&(n.dispose(),delete this._listener[t])};this._disposables.push(e8.editor.onDidCreateModel(r)),this._disposables.push(e8.editor.onWillDisposeModel(i)),this._disposables.push(e8.editor.onDidChangeModelLanguage(e=>{i(e.model),r(e.model)})),this._disposables.push(n(e=>{e8.editor.getModels().forEach(e=>{e.getLanguageId()===this._languageId&&(i(e),r(e))})})),this._disposables.push({dispose:()=>{for(let e in e8.editor.getModels().forEach(i),this._listener)this._listener[e].dispose()}}),e8.editor.getModels().forEach(r)}_disposables=[];_listener=Object.create(null);dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,t){this._worker(e).then(t=>t.doValidation(e.toString())).then(n=>{let r=n.map(e=>{let t;return t="number"==typeof e.code?String(e.code):e.code,{severity:function(e){switch(e){case ec.Error:return e8.MarkerSeverity.Error;case ec.Warning:return e8.MarkerSeverity.Warning;case ec.Information:return e8.MarkerSeverity.Info;case ec.Hint:return e8.MarkerSeverity.Hint;default:return e8.MarkerSeverity.Info}}(e.severity),startLineNumber:e.range.start.line+1,startColumn:e.range.start.character+1,endLineNumber:e.range.end.line+1,endColumn:e.range.end.character+1,message:e.message,code:t,source:e.source}}),i=e8.editor.getModel(e);i&&i.getLanguageId()===t&&e8.editor.setModelMarkers(i,t,r)}).then(void 0,e=>{console.error(e)})}},ti=class{constructor(e,t){this._worker=e,this._triggerCharacters=t}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.doComplete(i.toString(),to(t))).then(n=>{if(!n)return;let r=e.getWordUntilPosition(t),i=new e8.Range(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn),o=n.items.map(e=>{var t,n;let r={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,command:(t=e.command)&&"editor.action.triggerSuggest"===t.command?{id:t.command,title:t.title,arguments:t.arguments}:void 0,range:i,kind:function(e){let t=e8.languages.CompletionItemKind;switch(e){case eT.Text:return t.Text;case eT.Method:return t.Method;case eT.Function:return t.Function;case eT.Constructor:return t.Constructor;case eT.Field:return t.Field;case eT.Variable:return t.Variable;case eT.Class:return t.Class;case eT.Interface:return t.Interface;case eT.Module:return t.Module;case eT.Property:break;case eT.Unit:return t.Unit;case eT.Value:return t.Value;case eT.Enum:return t.Enum;case eT.Keyword:return t.Keyword;case eT.Snippet:return t.Snippet;case eT.Color:return t.Color;case eT.File:return t.File;case eT.Reference:return t.Reference}return t.Property}(e.kind)};return e.textEdit&&(void 0!==(n=e.textEdit).insert&&void 0!==n.replace?r.range={insert:ts(e.textEdit.insert),replace:ts(e.textEdit.replace)}:r.range=ts(e.textEdit.range),r.insertText=e.textEdit.newText),e.additionalTextEdits&&(r.additionalTextEdits=e.additionalTextEdits.map(tu)),e.insertTextFormat===eR.Snippet&&(r.insertTextRules=e8.languages.CompletionItemInsertTextRule.InsertAsSnippet),r});return{isIncomplete:n.isIncomplete,suggestions:o}})}};function to(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function ta(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function ts(e){if(e)return new e8.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function tu(e){if(e)return{range:ts(e.range),text:e.newText}}var tc=class{constructor(e){this._worker=e}provideHover(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.doHover(r.toString(),to(t))).then(e=>{if(e){var t;return{range:ts(e.range),contents:(t=e.contents)?Array.isArray(t)?t.map(td):[td(t)]:void 0}}})}};function td(e){return"string"==typeof e?{value:e}:e&&"object"==typeof e&&"string"==typeof e.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"}}var tl=class{constructor(e){this._worker=e}provideDocumentHighlights(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.findDocumentHighlights(r.toString(),to(t))).then(e=>{if(e)return e.map(e=>({range:ts(e.range),kind:function(e){switch(e){case eU.Read:return e8.languages.DocumentHighlightKind.Read;case eU.Write:return e8.languages.DocumentHighlightKind.Write;case eU.Text:}return e8.languages.DocumentHighlightKind.Text}(e.kind)}))})}},tg=class{constructor(e){this._worker=e}provideDefinition(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.findDefinition(r.toString(),to(t))).then(e=>{if(e)return[th(e)]})}};function th(e){return{uri:e8.Uri.parse(e.uri),range:ts(e.range)}}var tf=class{constructor(e){this._worker=e}provideReferences(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.findReferences(i.toString(),to(t))).then(e=>{if(e)return e.map(th)})}},tp=class{constructor(e){this._worker=e}provideRenameEdits(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.doRename(i.toString(),to(t),n)).then(e=>(function(e){if(!e||!e.changes)return;let t=[];for(let n in e.changes){let r=e8.Uri.parse(n);for(let i of e.changes[n])t.push({resource:r,versionId:void 0,textEdit:{range:ts(i.range),text:i.newText}})}return{edits:t}})(e))}},tm=class{constructor(e){this._worker=e}provideDocumentSymbols(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentSymbols(n.toString())).then(e=>{if(e)return e.map(e=>({name:e.name,detail:"",containerName:e.containerName,kind:function(e){let t=e8.languages.SymbolKind;switch(e){case eH.File:return t.Array;case eH.Module:return t.Module;case eH.Namespace:return t.Namespace;case eH.Package:return t.Package;case eH.Class:return t.Class;case eH.Method:return t.Method;case eH.Property:return t.Property;case eH.Field:return t.Field;case eH.Constructor:return t.Constructor;case eH.Enum:return t.Enum;case eH.Interface:return t.Interface;case eH.Function:break;case eH.Variable:return t.Variable;case eH.Constant:return t.Constant;case eH.String:return t.String;case eH.Number:return t.Number;case eH.Boolean:return t.Boolean;case eH.Array:return t.Array}return t.Function}(e.kind),range:ts(e.location.range),selectionRange:ts(e.location.range),tags:[]}))})}},tv=class{constructor(e){this._worker=e}provideLinks(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentLinks(n.toString())).then(e=>{if(e)return{links:e.map(e=>({range:ts(e.range),url:e.target}))}})}},t_=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.format(r.toString(),null,tb(t)).then(e=>{if(e&&0!==e.length)return e.map(tu)}))}},tk=class{constructor(e){this._worker=e}provideDocumentRangeFormattingEdits(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.format(i.toString(),ta(t),tb(n)).then(e=>{if(e&&0!==e.length)return e.map(tu)}))}};function tb(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var tC=class{constructor(e){this._worker=e}provideDocumentColors(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentColors(n.toString())).then(e=>{if(e)return e.map(e=>({color:e.color,range:ts(e.range)}))})}provideColorPresentations(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getColorPresentations(r.toString(),t.color,ta(t.range))).then(e=>{if(e)return e.map(e=>{let t={label:e.label};return e.textEdit&&(t.textEdit=tu(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(tu)),t})})}},tw=class{constructor(e){this._worker=e}provideFoldingRanges(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getFoldingRanges(r.toString(),t)).then(e=>{if(e)return e.map(e=>{let t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case ea.Comment:return e8.languages.FoldingRangeKind.Comment;case ea.Imports:return e8.languages.FoldingRangeKind.Imports;case ea.Region:return e8.languages.FoldingRangeKind.Region}}(e.kind)),t})})}},ty=class{constructor(e){this._worker=e}provideSelectionRanges(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getSelectionRanges(r.toString(),t.map(to))).then(e=>{if(e)return e.map(e=>{let t=[];for(;e;)t.push({range:ts(e.range)}),e=e.parent;return t})})}};function tE(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function tA(e){return 10===e||13===e||8232===e||8233===e}function tx(e){return e>=48&&e<=57}(e1||(e1={})).DEFAULT={allowTrailingComma:!1};var tI=function(e,t){void 0===t&&(t=!1);var n=e.length,r=0,i="",o=0,a=16,s=0,u=0,c=0,d=0,l=0;function g(){if(i="",l=0,o=r,u=s,d=c,r>=n)return o=n,a=17;var t=e.charCodeAt(r);if(tE(t)){do r++,i+=String.fromCharCode(t),t=e.charCodeAt(r);while(tE(t));return a=15}if(tA(t))return r++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,i+="\n"),s++,c=r,a=14;switch(t){case 123:return r++,a=1;case 125:return r++,a=2;case 91:return r++,a=3;case 93:return r++,a=4;case 58:return r++,a=6;case 44:return r++,a=5;case 34:return r++,i=function(){for(var t="",i=r;;){if(r>=n){t+=e.substring(i,r),l=2;break}var o=e.charCodeAt(r);if(34===o){t+=e.substring(i,r),r++;break}if(92===o){if(t+=e.substring(i,r),++r>=n){l=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+=" ";break;case 117:var a=function(t,n){for(var i=0,o=0;i=48&&a<=57)o=16*o+a-48;else if(a>=65&&a<=70)o=16*o+a-65+10;else if(a>=97&&a<=102)o=16*o+a-97+10;else break;r++,i++}return i=0?t+=String.fromCharCode(a):l=4;break;default:l=5}i=r;continue}if(o>=0&&o<=31){if(tA(o)){t+=e.substring(i,r),l=2;break}l=6}r++}return t}(),a=10;case 47:var g=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r=12&&e<=15);return e}:g,getToken:function(){return a},getTokenValue:function(){return i},getTokenOffset:function(){return o},getTokenLength:function(){return r-o},getTokenStartLine:function(){return u},getTokenStartCharacter:function(){return o-d},getTokenError:function(){return l}}},tS="delimiter.bracket.json",tT="delimiter.array.json",tR=class{constructor(e,t){this.parent=e,this.type=t}static pop(e){return e?e.parent:null}static push(e,t){return new tR(e,t)}static equals(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;for(;e&&t&&e!==t;){if(e.type!==t.type)return!1;e=e.parent,t=t.parent}return!0}},tD=class{_state;scanError;lastWasColon;parents;constructor(e,t,n,r){this._state=e,this.scanError=t,this.lastWasColon=n,this.parents=r}clone(){return new tD(this._state,this.scanError,this.lastWasColon,this.parents)}equals(e){return e===this||!!e&&e instanceof tD&&this.scanError===e.scanError&&this.lastWasColon===e.lastWasColon&&tR.equals(this.parents,e.parents)}getStateData(){return this._state}setStateData(e){this._state=e}},tP=class extends tr{constructor(e,t,n){super(e,t,n.onDidChange),this._disposables.push(e8.editor.onWillDisposeModel(e=>{this._resetSchema(e.uri)})),this._disposables.push(e8.editor.onDidChangeModelLanguage(e=>{this._resetSchema(e.model.uri)}))}_resetSchema(e){this._worker().then(t=>{t.resetSchema(e.toString())})}};function tM(e){let t=[],n=[],r=new e9(e);t.push(r);let i=(...e)=>r.getLanguageServiceWorker(...e);function o(){let{languageId:t,modeConfiguration:r}=e;tL(n),r.documentFormattingEdits&&n.push(e8.languages.registerDocumentFormattingEditProvider(t,new t_(i))),r.documentRangeFormattingEdits&&n.push(e8.languages.registerDocumentRangeFormattingEditProvider(t,new tk(i))),r.completionItems&&n.push(e8.languages.registerCompletionItemProvider(t,new ti(i,[" ",":",'"']))),r.hovers&&n.push(e8.languages.registerHoverProvider(t,new tc(i))),r.documentSymbols&&n.push(e8.languages.registerDocumentSymbolProvider(t,new tm(i))),r.tokens&&n.push(e8.languages.setTokensProvider(t,{getInitialState:()=>new tD(null,null,!1,null),tokenize:(e,t)=>(function(e,t,n,r=0){let i=0,o=!1;switch(n.scanError){case 2:t='"'+t,i=1;break;case 1:t="/*"+t,i=2}let a=tI(t),s=n.lastWasColon,u=n.parents,c={tokens:[],endState:n.clone()};for(;;){let d=r+a.getPosition(),l="",g=a.scan();if(17===g)break;if(d===r+a.getPosition())throw Error("Scanner did not advance, next 3 characters are: "+t.substr(a.getPosition(),3));switch(o&&(d-=i),o=i>0,g){case 1:u=tR.push(u,0),l=tS,s=!1;break;case 2:u=tR.pop(u),l=tS,s=!1;break;case 3:u=tR.push(u,1),l=tT,s=!1;break;case 4:u=tR.pop(u),l=tT,s=!1;break;case 6:l="delimiter.colon.json",s=!0;break;case 5:l="delimiter.comma.json",s=!1;break;case 8:case 9:case 7:l="keyword.json",s=!1;break;case 10:let h=u?u.type:0,f=1===h;l=s||f?"string.value.json":"string.key.json",s=!1;break;case 11:l="number.json",s=!1}if(e)switch(g){case 12:l="comment.line.json";break;case 13:l="comment.block.json"}c.endState=new tD(n.getStateData(),a.getTokenError(),s,u),c.tokens.push({startIndex:d,scopes:l})}return c})(!0,e,t)})),r.colors&&n.push(e8.languages.registerColorProvider(t,new tC(i))),r.foldingRanges&&n.push(e8.languages.registerFoldingRangeProvider(t,new tw(i))),r.diagnostics&&n.push(new tP(t,i,e)),r.selectionRanges&&n.push(e8.languages.registerSelectionRangeProvider(t,new ty(i)))}o(),t.push(e8.languages.setLanguageConfiguration(e.languageId,tF));let a=e.modeConfiguration;return e.onDidChange(e=>{e.modeConfiguration!==a&&(a=e.modeConfiguration,o())}),t.push(tj(n)),tj(t)}function tj(e){return{dispose:()=>tL(e)}}function tL(e){for(;e.length;)e.pop().dispose()}var tF={wordPattern:/(-?\d*\.\d\w*)|([^\[\{\]\}\:\"\,\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:'"',close:'"',notIn:["string"]}]}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/665.b78d0adc7216542a.js b/dbgpt/app/static/web/_next/static/chunks/665.b78d0adc7216542a.js deleted file mode 100644 index 622cd303a..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/665.b78d0adc7216542a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[665],{90665:function(e,t,n){n.r(t),n.d(t,{CompletionAdapter:function(){return tB},DefinitionAdapter:function(){return tQ},DiagnosticsAdapter:function(){return tV},DocumentColorAdapter:function(){return t3},DocumentFormattingEditProvider:function(){return t2},DocumentHighlightAdapter:function(){return t$},DocumentLinkAdapter:function(){return t0},DocumentRangeFormattingEditProvider:function(){return t4},DocumentSymbolAdapter:function(){return tZ},FoldingRangeAdapter:function(){return t6},HoverAdapter:function(){return tq},ReferenceAdapter:function(){return tG},RenameAdapter:function(){return tY},SelectionRangeAdapter:function(){return t7},WorkerManager:function(){return tO},fromPosition:function(){return tW},fromRange:function(){return tK},getWorker:function(){return na},setupMode:function(){return nc},toRange:function(){return tH},toTextEdit:function(){return tX}});var r,i,o,a,s,c,u,d,l,g,f,h,p,m,v,b,k,C,_,y,w,E,x,I,A,S,T,L,R,M,F,N,P,j,D,O,U,V,B,W,K,H,X,q,z,$,Q,J,G,Y,Z,ee,et,en,er,ei,eo,ea,es,ec,eu,ed,el,eg,ef,eh,ep,em,ev,eb,ek,eC,e_,ey,ew,eE,ex,eI,eA,eS,eT,eL,eR,eM,eF,eN,eP,ej,eD,eO,eU,eV,eB,eW,eK,eH,eX,eq,ez,e$,eQ,eJ,eG,eY,eZ,e1,e0,e2,e4,e5,e3,e6,e7,e8,e9,te,tt,tn,tr,ti,to,ta,ts,tc,tu,td,tl,tg,tf,th,tp,tm,tv,tb,tk,tC,t_,ty,tw,tE,tx,tI,tA,tS,tT,tL,tR=n(5036),tM=Object.defineProperty,tF=Object.getOwnPropertyDescriptor,tN=Object.getOwnPropertyNames,tP=Object.prototype.hasOwnProperty,tj=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of tN(t))tP.call(e,i)||i===n||tM(e,i,{get:()=>t[i],enumerable:!(r=tF(t,i))||r.enumerable});return e},tD={};tj(tD,tR,"default"),r&&tj(r,tR,"default");var tO=class{constructor(e){this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){this._worker&&Date.now()-this._lastUsedTime>12e4&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=tD.editor.createWebWorker({moduleId:"vs/language/json/jsonWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let t;return this._getClient().then(e=>{t=e}).then(t=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(e=>t)}};(eu||(eu={})).is=function(e){return"string"==typeof e},(ed||(ed={})).is=function(e){return"string"==typeof e},(i=el||(el={})).MIN_VALUE=-2147483648,i.MAX_VALUE=2147483647,i.is=function(e){return"number"==typeof e&&i.MIN_VALUE<=e&&e<=i.MAX_VALUE},(o=eg||(eg={})).MIN_VALUE=0,o.MAX_VALUE=2147483647,o.is=function(e){return"number"==typeof e&&o.MIN_VALUE<=e&&e<=o.MAX_VALUE},(a=ef||(ef={})).create=function(e,t){return e===Number.MAX_VALUE&&(e=eg.MAX_VALUE),t===Number.MAX_VALUE&&(t=eg.MAX_VALUE),{line:e,character:t}},a.is=function(e){return tE.objectLiteral(e)&&tE.uinteger(e.line)&&tE.uinteger(e.character)},(s=eh||(eh={})).create=function(e,t,n,r){if(tE.uinteger(e)&&tE.uinteger(t)&&tE.uinteger(n)&&tE.uinteger(r))return{start:ef.create(e,t),end:ef.create(n,r)};if(ef.is(e)&&ef.is(t))return{start:e,end:t};throw Error(`Range#create called with invalid arguments[${e}, ${t}, ${n}, ${r}]`)},s.is=function(e){return tE.objectLiteral(e)&&ef.is(e.start)&&ef.is(e.end)},(c=ep||(ep={})).create=function(e,t){return{uri:e,range:t}},c.is=function(e){return tE.objectLiteral(e)&&eh.is(e.range)&&(tE.string(e.uri)||tE.undefined(e.uri))},(u=em||(em={})).create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},u.is=function(e){return tE.objectLiteral(e)&&eh.is(e.targetRange)&&tE.string(e.targetUri)&&eh.is(e.targetSelectionRange)&&(eh.is(e.originSelectionRange)||tE.undefined(e.originSelectionRange))},(d=ev||(ev={})).create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},d.is=function(e){return tE.objectLiteral(e)&&tE.numberRange(e.red,0,1)&&tE.numberRange(e.green,0,1)&&tE.numberRange(e.blue,0,1)&&tE.numberRange(e.alpha,0,1)},(l=eb||(eb={})).create=function(e,t){return{range:e,color:t}},l.is=function(e){return tE.objectLiteral(e)&&eh.is(e.range)&&ev.is(e.color)},(g=ek||(ek={})).create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},g.is=function(e){return tE.objectLiteral(e)&&tE.string(e.label)&&(tE.undefined(e.textEdit)||eS.is(e))&&(tE.undefined(e.additionalTextEdits)||tE.typedArray(e.additionalTextEdits,eS.is))},(f=eC||(eC={})).Comment="comment",f.Imports="imports",f.Region="region",(h=e_||(e_={})).create=function(e,t,n,r,i,o){let a={startLine:e,endLine:t};return tE.defined(n)&&(a.startCharacter=n),tE.defined(r)&&(a.endCharacter=r),tE.defined(i)&&(a.kind=i),tE.defined(o)&&(a.collapsedText=o),a},h.is=function(e){return tE.objectLiteral(e)&&tE.uinteger(e.startLine)&&tE.uinteger(e.startLine)&&(tE.undefined(e.startCharacter)||tE.uinteger(e.startCharacter))&&(tE.undefined(e.endCharacter)||tE.uinteger(e.endCharacter))&&(tE.undefined(e.kind)||tE.string(e.kind))},(p=ey||(ey={})).create=function(e,t){return{location:e,message:t}},p.is=function(e){return tE.defined(e)&&ep.is(e.location)&&tE.string(e.message)},(m=ew||(ew={})).Error=1,m.Warning=2,m.Information=3,m.Hint=4,(v=eE||(eE={})).Unnecessary=1,v.Deprecated=2,(ex||(ex={})).is=function(e){return tE.objectLiteral(e)&&tE.string(e.href)},(b=eI||(eI={})).create=function(e,t,n,r,i,o){let a={range:e,message:t};return tE.defined(n)&&(a.severity=n),tE.defined(r)&&(a.code=r),tE.defined(i)&&(a.source=i),tE.defined(o)&&(a.relatedInformation=o),a},b.is=function(e){var t;return tE.defined(e)&&eh.is(e.range)&&tE.string(e.message)&&(tE.number(e.severity)||tE.undefined(e.severity))&&(tE.integer(e.code)||tE.string(e.code)||tE.undefined(e.code))&&(tE.undefined(e.codeDescription)||tE.string(null===(t=e.codeDescription)||void 0===t?void 0:t.href))&&(tE.string(e.source)||tE.undefined(e.source))&&(tE.undefined(e.relatedInformation)||tE.typedArray(e.relatedInformation,ey.is))},(k=eA||(eA={})).create=function(e,t,...n){let r={title:e,command:t};return tE.defined(n)&&n.length>0&&(r.arguments=n),r},k.is=function(e){return tE.defined(e)&&tE.string(e.title)&&tE.string(e.command)},(C=eS||(eS={})).replace=function(e,t){return{range:e,newText:t}},C.insert=function(e,t){return{range:{start:e,end:e},newText:t}},C.del=function(e){return{range:e,newText:""}},C.is=function(e){return tE.objectLiteral(e)&&tE.string(e.newText)&&eh.is(e.range)},(_=eT||(eT={})).create=function(e,t,n){let r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},_.is=function(e){return tE.objectLiteral(e)&&tE.string(e.label)&&(tE.boolean(e.needsConfirmation)||void 0===e.needsConfirmation)&&(tE.string(e.description)||void 0===e.description)},(eL||(eL={})).is=function(e){return tE.string(e)},(y=eR||(eR={})).replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},y.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},y.del=function(e,t){return{range:e,newText:"",annotationId:t}},y.is=function(e){return eS.is(e)&&(eT.is(e.annotationId)||eL.is(e.annotationId))},(w=eM||(eM={})).create=function(e,t){return{textDocument:e,edits:t}},w.is=function(e){return tE.defined(e)&&eU.is(e.textDocument)&&Array.isArray(e.edits)},(E=eF||(eF={})).create=function(e,t,n){let r={kind:"create",uri:e};return void 0!==t&&(void 0!==t.overwrite||void 0!==t.ignoreIfExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},E.is=function(e){return e&&"create"===e.kind&&tE.string(e.uri)&&(void 0===e.options||(void 0===e.options.overwrite||tE.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||tE.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||eL.is(e.annotationId))},(x=eN||(eN={})).create=function(e,t,n,r){let i={kind:"rename",oldUri:e,newUri:t};return void 0!==n&&(void 0!==n.overwrite||void 0!==n.ignoreIfExists)&&(i.options=n),void 0!==r&&(i.annotationId=r),i},x.is=function(e){return e&&"rename"===e.kind&&tE.string(e.oldUri)&&tE.string(e.newUri)&&(void 0===e.options||(void 0===e.options.overwrite||tE.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||tE.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||eL.is(e.annotationId))},(I=eP||(eP={})).create=function(e,t,n){let r={kind:"delete",uri:e};return void 0!==t&&(void 0!==t.recursive||void 0!==t.ignoreIfNotExists)&&(r.options=t),void 0!==n&&(r.annotationId=n),r},I.is=function(e){return e&&"delete"===e.kind&&tE.string(e.uri)&&(void 0===e.options||(void 0===e.options.recursive||tE.boolean(e.options.recursive))&&(void 0===e.options.ignoreIfNotExists||tE.boolean(e.options.ignoreIfNotExists)))&&(void 0===e.annotationId||eL.is(e.annotationId))},(ej||(ej={})).is=function(e){return e&&(void 0!==e.changes||void 0!==e.documentChanges)&&(void 0===e.documentChanges||e.documentChanges.every(e=>tE.string(e.kind)?eF.is(e)||eN.is(e)||eP.is(e):eM.is(e)))},(A=eD||(eD={})).create=function(e){return{uri:e}},A.is=function(e){return tE.defined(e)&&tE.string(e.uri)},(S=eO||(eO={})).create=function(e,t){return{uri:e,version:t}},S.is=function(e){return tE.defined(e)&&tE.string(e.uri)&&tE.integer(e.version)},(T=eU||(eU={})).create=function(e,t){return{uri:e,version:t}},T.is=function(e){return tE.defined(e)&&tE.string(e.uri)&&(null===e.version||tE.integer(e.version))},(L=eV||(eV={})).create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},L.is=function(e){return tE.defined(e)&&tE.string(e.uri)&&tE.string(e.languageId)&&tE.integer(e.version)&&tE.string(e.text)},(R=eB||(eB={})).PlainText="plaintext",R.Markdown="markdown",R.is=function(e){return e===R.PlainText||e===R.Markdown},(eW||(eW={})).is=function(e){return tE.objectLiteral(e)&&eB.is(e.kind)&&tE.string(e.value)},(M=eK||(eK={})).Text=1,M.Method=2,M.Function=3,M.Constructor=4,M.Field=5,M.Variable=6,M.Class=7,M.Interface=8,M.Module=9,M.Property=10,M.Unit=11,M.Value=12,M.Enum=13,M.Keyword=14,M.Snippet=15,M.Color=16,M.File=17,M.Reference=18,M.Folder=19,M.EnumMember=20,M.Constant=21,M.Struct=22,M.Event=23,M.Operator=24,M.TypeParameter=25,(F=eH||(eH={})).PlainText=1,F.Snippet=2,(eX||(eX={})).Deprecated=1,(N=eq||(eq={})).create=function(e,t,n){return{newText:e,insert:t,replace:n}},N.is=function(e){return e&&tE.string(e.newText)&&eh.is(e.insert)&&eh.is(e.replace)},(P=ez||(ez={})).asIs=1,P.adjustIndentation=2,(e$||(e$={})).is=function(e){return e&&(tE.string(e.detail)||void 0===e.detail)&&(tE.string(e.description)||void 0===e.description)},(eQ||(eQ={})).create=function(e){return{label:e}},(eJ||(eJ={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(j=eG||(eG={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},j.is=function(e){return tE.string(e)||tE.objectLiteral(e)&&tE.string(e.language)&&tE.string(e.value)},(eY||(eY={})).is=function(e){return!!e&&tE.objectLiteral(e)&&(eW.is(e.contents)||eG.is(e.contents)||tE.typedArray(e.contents,eG.is))&&(void 0===e.range||eh.is(e.range))},(eZ||(eZ={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(e1||(e1={})).create=function(e,t,...n){let r={label:e};return tE.defined(t)&&(r.documentation=t),tE.defined(n)?r.parameters=n:r.parameters=[],r},(D=e0||(e0={})).Text=1,D.Read=2,D.Write=3,(e2||(e2={})).create=function(e,t){let n={range:e};return tE.number(t)&&(n.kind=t),n},(O=e4||(e4={})).File=1,O.Module=2,O.Namespace=3,O.Package=4,O.Class=5,O.Method=6,O.Property=7,O.Field=8,O.Constructor=9,O.Enum=10,O.Interface=11,O.Function=12,O.Variable=13,O.Constant=14,O.String=15,O.Number=16,O.Boolean=17,O.Array=18,O.Object=19,O.Key=20,O.Null=21,O.EnumMember=22,O.Struct=23,O.Event=24,O.Operator=25,O.TypeParameter=26,(e5||(e5={})).Deprecated=1,(e3||(e3={})).create=function(e,t,n,r,i){let o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o},(e6||(e6={})).create=function(e,t,n,r){return void 0!==r?{name:e,kind:t,location:{uri:n,range:r}}:{name:e,kind:t,location:{uri:n}}},(U=e7||(e7={})).create=function(e,t,n,r,i,o){let a={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(a.children=o),a},U.is=function(e){return e&&tE.string(e.name)&&tE.number(e.kind)&&eh.is(e.range)&&eh.is(e.selectionRange)&&(void 0===e.detail||tE.string(e.detail))&&(void 0===e.deprecated||tE.boolean(e.deprecated))&&(void 0===e.children||Array.isArray(e.children))&&(void 0===e.tags||Array.isArray(e.tags))},(V=e8||(e8={})).Empty="",V.QuickFix="quickfix",V.Refactor="refactor",V.RefactorExtract="refactor.extract",V.RefactorInline="refactor.inline",V.RefactorRewrite="refactor.rewrite",V.Source="source",V.SourceOrganizeImports="source.organizeImports",V.SourceFixAll="source.fixAll",(B=e9||(e9={})).Invoked=1,B.Automatic=2,(W=te||(te={})).create=function(e,t,n){let r={diagnostics:e};return null!=t&&(r.only=t),null!=n&&(r.triggerKind=n),r},W.is=function(e){return tE.defined(e)&&tE.typedArray(e.diagnostics,eI.is)&&(void 0===e.only||tE.typedArray(e.only,tE.string))&&(void 0===e.triggerKind||e.triggerKind===e9.Invoked||e.triggerKind===e9.Automatic)},(K=tt||(tt={})).create=function(e,t,n){let r={title:e},i=!0;return"string"==typeof t?(i=!1,r.kind=t):eA.is(t)?r.command=t:r.edit=t,i&&void 0!==n&&(r.kind=n),r},K.is=function(e){return e&&tE.string(e.title)&&(void 0===e.diagnostics||tE.typedArray(e.diagnostics,eI.is))&&(void 0===e.kind||tE.string(e.kind))&&(void 0!==e.edit||void 0!==e.command)&&(void 0===e.command||eA.is(e.command))&&(void 0===e.isPreferred||tE.boolean(e.isPreferred))&&(void 0===e.edit||ej.is(e.edit))},(H=tn||(tn={})).create=function(e,t){let n={range:e};return tE.defined(t)&&(n.data=t),n},H.is=function(e){return tE.defined(e)&&eh.is(e.range)&&(tE.undefined(e.command)||eA.is(e.command))},(X=tr||(tr={})).create=function(e,t){return{tabSize:e,insertSpaces:t}},X.is=function(e){return tE.defined(e)&&tE.uinteger(e.tabSize)&&tE.boolean(e.insertSpaces)},(q=ti||(ti={})).create=function(e,t,n){return{range:e,target:t,data:n}},q.is=function(e){return tE.defined(e)&&eh.is(e.range)&&(tE.undefined(e.target)||tE.string(e.target))},(z=to||(to={})).create=function(e,t){return{range:e,parent:t}},z.is=function(e){return tE.objectLiteral(e)&&eh.is(e.range)&&(void 0===e.parent||z.is(e.parent))},($=ta||(ta={})).namespace="namespace",$.type="type",$.class="class",$.enum="enum",$.interface="interface",$.struct="struct",$.typeParameter="typeParameter",$.parameter="parameter",$.variable="variable",$.property="property",$.enumMember="enumMember",$.event="event",$.function="function",$.method="method",$.macro="macro",$.keyword="keyword",$.modifier="modifier",$.comment="comment",$.string="string",$.number="number",$.regexp="regexp",$.operator="operator",$.decorator="decorator",(Q=ts||(ts={})).declaration="declaration",Q.definition="definition",Q.readonly="readonly",Q.static="static",Q.deprecated="deprecated",Q.abstract="abstract",Q.async="async",Q.modification="modification",Q.documentation="documentation",Q.defaultLibrary="defaultLibrary",(tc||(tc={})).is=function(e){return tE.objectLiteral(e)&&(void 0===e.resultId||"string"==typeof e.resultId)&&Array.isArray(e.data)&&(0===e.data.length||"number"==typeof e.data[0])},(J=tu||(tu={})).create=function(e,t){return{range:e,text:t}},J.is=function(e){return null!=e&&eh.is(e.range)&&tE.string(e.text)},(G=td||(td={})).create=function(e,t,n){return{range:e,variableName:t,caseSensitiveLookup:n}},G.is=function(e){return null!=e&&eh.is(e.range)&&tE.boolean(e.caseSensitiveLookup)&&(tE.string(e.variableName)||void 0===e.variableName)},(Y=tl||(tl={})).create=function(e,t){return{range:e,expression:t}},Y.is=function(e){return null!=e&&eh.is(e.range)&&(tE.string(e.expression)||void 0===e.expression)},(Z=tg||(tg={})).create=function(e,t){return{frameId:e,stoppedLocation:t}},Z.is=function(e){return tE.defined(e)&&eh.is(e.stoppedLocation)},(ee=tf||(tf={})).Type=1,ee.Parameter=2,ee.is=function(e){return 1===e||2===e},(et=th||(th={})).create=function(e){return{value:e}},et.is=function(e){return tE.objectLiteral(e)&&(void 0===e.tooltip||tE.string(e.tooltip)||eW.is(e.tooltip))&&(void 0===e.location||ep.is(e.location))&&(void 0===e.command||eA.is(e.command))},(en=tp||(tp={})).create=function(e,t,n){let r={position:e,label:t};return void 0!==n&&(r.kind=n),r},en.is=function(e){return tE.objectLiteral(e)&&ef.is(e.position)&&(tE.string(e.label)||tE.typedArray(e.label,th.is))&&(void 0===e.kind||tf.is(e.kind))&&void 0===e.textEdits||tE.typedArray(e.textEdits,eS.is)&&(void 0===e.tooltip||tE.string(e.tooltip)||eW.is(e.tooltip))&&(void 0===e.paddingLeft||tE.boolean(e.paddingLeft))&&(void 0===e.paddingRight||tE.boolean(e.paddingRight))},(tm||(tm={})).createSnippet=function(e){return{kind:"snippet",value:e}},(tv||(tv={})).create=function(e,t,n,r){return{insertText:e,filterText:t,range:n,command:r}},(tb||(tb={})).create=function(e){return{items:e}},(er=tk||(tk={})).Invoked=0,er.Automatic=1,(tC||(tC={})).create=function(e,t){return{range:e,text:t}},(t_||(t_={})).create=function(e,t){return{triggerKind:e,selectedCompletionInfo:t}},(ty||(ty={})).is=function(e){return tE.objectLiteral(e)&&ed.is(e.uri)&&tE.string(e.name)},(ei=tw||(tw={})).create=function(e,t,n,r){return new tU(e,t,n,r)},ei.is=function(e){return!!(tE.defined(e)&&tE.string(e.uri)&&(tE.undefined(e.languageId)||tE.string(e.languageId))&&tE.uinteger(e.lineCount)&&tE.func(e.getText)&&tE.func(e.positionAt)&&tE.func(e.offsetAt))},ei.applyEdits=function(e,t){let n=e.getText(),r=function e(t,n){if(t.length<=1)return t;let r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);let a=0,s=0,c=0;for(;a=n(i[a],o[s])?t[c++]=i[a++]:t[c++]=o[s++];for(;a{let n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}),i=n.length;for(let t=r.length-1;t>=0;t--){let o=r[t],a=e.offsetAt(o.range.start),s=e.offsetAt(o.range.end);if(s<=i)n=n.substring(0,a)+o.newText+n.substring(s,n.length);else throw Error("Overlapping edit");i=a}return n};var tU=class{constructor(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0}getLineOffsets(){if(void 0===this._lineOffsets){let e=[],t=this._content,n=!0;for(let r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return ef.create(0,e);for(;ne?r=i:n=i+1}let i=n-1;return ef.create(i,e-t[i])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1{let t,n=e.getLanguageId();n===this._languageId&&(this._listener[e.uri.toString()]=e.onDidChangeContent(()=>{window.clearTimeout(t),t=window.setTimeout(()=>this._doValidate(e.uri,n),500)}),this._doValidate(e.uri,n))},i=e=>{tD.editor.setModelMarkers(e,this._languageId,[]);let t=e.uri.toString(),n=this._listener[t];n&&(n.dispose(),delete this._listener[t])};this._disposables.push(tD.editor.onDidCreateModel(r)),this._disposables.push(tD.editor.onWillDisposeModel(i)),this._disposables.push(tD.editor.onDidChangeModelLanguage(e=>{i(e.model),r(e.model)})),this._disposables.push(n(e=>{tD.editor.getModels().forEach(e=>{e.getLanguageId()===this._languageId&&(i(e),r(e))})})),this._disposables.push({dispose:()=>{for(let e in tD.editor.getModels().forEach(i),this._listener)this._listener[e].dispose()}}),tD.editor.getModels().forEach(r)}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,t){this._worker(e).then(t=>t.doValidation(e.toString())).then(n=>{let r=n.map(e=>{let t;return t="number"==typeof e.code?String(e.code):e.code,{severity:function(e){switch(e){case ew.Error:return tD.MarkerSeverity.Error;case ew.Warning:return tD.MarkerSeverity.Warning;case ew.Information:return tD.MarkerSeverity.Info;case ew.Hint:return tD.MarkerSeverity.Hint;default:return tD.MarkerSeverity.Info}}(e.severity),startLineNumber:e.range.start.line+1,startColumn:e.range.start.character+1,endLineNumber:e.range.end.line+1,endColumn:e.range.end.character+1,message:e.message,code:t,source:e.source}}),i=tD.editor.getModel(e);i&&i.getLanguageId()===t&&tD.editor.setModelMarkers(i,t,r)}).then(void 0,e=>{console.error(e)})}},tB=class{constructor(e,t){this._worker=e,this._triggerCharacters=t}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.doComplete(i.toString(),tW(t))).then(n=>{if(!n)return;let r=e.getWordUntilPosition(t),i=new tD.Range(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn),o=n.items.map(e=>{var t,n;let r={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,command:(t=e.command)&&"editor.action.triggerSuggest"===t.command?{id:t.command,title:t.title,arguments:t.arguments}:void 0,range:i,kind:function(e){let t=tD.languages.CompletionItemKind;switch(e){case eK.Text:return t.Text;case eK.Method:return t.Method;case eK.Function:return t.Function;case eK.Constructor:return t.Constructor;case eK.Field:return t.Field;case eK.Variable:return t.Variable;case eK.Class:return t.Class;case eK.Interface:return t.Interface;case eK.Module:return t.Module;case eK.Property:break;case eK.Unit:return t.Unit;case eK.Value:return t.Value;case eK.Enum:return t.Enum;case eK.Keyword:return t.Keyword;case eK.Snippet:return t.Snippet;case eK.Color:return t.Color;case eK.File:return t.File;case eK.Reference:return t.Reference}return t.Property}(e.kind)};return e.textEdit&&(void 0!==(n=e.textEdit).insert&&void 0!==n.replace?r.range={insert:tH(e.textEdit.insert),replace:tH(e.textEdit.replace)}:r.range=tH(e.textEdit.range),r.insertText=e.textEdit.newText),e.additionalTextEdits&&(r.additionalTextEdits=e.additionalTextEdits.map(tX)),e.insertTextFormat===eH.Snippet&&(r.insertTextRules=tD.languages.CompletionItemInsertTextRule.InsertAsSnippet),r});return{isIncomplete:n.isIncomplete,suggestions:o}})}};function tW(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function tK(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function tH(e){if(e)return new tD.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function tX(e){if(e)return{range:tH(e.range),text:e.newText}}var tq=class{constructor(e){this._worker=e}provideHover(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.doHover(r.toString(),tW(t))).then(e=>{if(e){var t;return{range:tH(e.range),contents:(t=e.contents)?Array.isArray(t)?t.map(tz):[tz(t)]:void 0}}})}};function tz(e){return"string"==typeof e?{value:e}:e&&"object"==typeof e&&"string"==typeof e.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"}}var t$=class{constructor(e){this._worker=e}provideDocumentHighlights(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.findDocumentHighlights(r.toString(),tW(t))).then(e=>{if(e)return e.map(e=>({range:tH(e.range),kind:function(e){switch(e){case e0.Read:return tD.languages.DocumentHighlightKind.Read;case e0.Write:return tD.languages.DocumentHighlightKind.Write;case e0.Text:}return tD.languages.DocumentHighlightKind.Text}(e.kind)}))})}},tQ=class{constructor(e){this._worker=e}provideDefinition(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.findDefinition(r.toString(),tW(t))).then(e=>{if(e)return[tJ(e)]})}};function tJ(e){return{uri:tD.Uri.parse(e.uri),range:tH(e.range)}}var tG=class{constructor(e){this._worker=e}provideReferences(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.findReferences(i.toString(),tW(t))).then(e=>{if(e)return e.map(tJ)})}},tY=class{constructor(e){this._worker=e}provideRenameEdits(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.doRename(i.toString(),tW(t),n)).then(e=>(function(e){if(!e||!e.changes)return;let t=[];for(let n in e.changes){let r=tD.Uri.parse(n);for(let i of e.changes[n])t.push({resource:r,versionId:void 0,textEdit:{range:tH(i.range),text:i.newText}})}return{edits:t}})(e))}},tZ=class{constructor(e){this._worker=e}provideDocumentSymbols(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentSymbols(n.toString())).then(e=>{if(e)return e.map(e=>"children"in e?function e(t){return{name:t.name,detail:t.detail??"",kind:t1(t.kind),range:tH(t.range),selectionRange:tH(t.selectionRange),tags:t.tags??[],children:(t.children??[]).map(t=>e(t))}}(e):{name:e.name,detail:"",containerName:e.containerName,kind:t1(e.kind),range:tH(e.location.range),selectionRange:tH(e.location.range),tags:[]})})}};function t1(e){let t=tD.languages.SymbolKind;switch(e){case e4.File:return t.File;case e4.Module:return t.Module;case e4.Namespace:return t.Namespace;case e4.Package:return t.Package;case e4.Class:return t.Class;case e4.Method:return t.Method;case e4.Property:return t.Property;case e4.Field:return t.Field;case e4.Constructor:return t.Constructor;case e4.Enum:return t.Enum;case e4.Interface:return t.Interface;case e4.Function:break;case e4.Variable:return t.Variable;case e4.Constant:return t.Constant;case e4.String:return t.String;case e4.Number:return t.Number;case e4.Boolean:return t.Boolean;case e4.Array:return t.Array}return t.Function}var t0=class{constructor(e){this._worker=e}provideLinks(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentLinks(n.toString())).then(e=>{if(e)return{links:e.map(e=>({range:tH(e.range),url:e.target}))}})}},t2=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.format(r.toString(),null,t5(t)).then(e=>{if(e&&0!==e.length)return e.map(tX)}))}},t4=class{constructor(e){this._worker=e,this.canFormatMultipleRanges=!1}provideDocumentRangeFormattingEdits(e,t,n,r){let i=e.uri;return this._worker(i).then(e=>e.format(i.toString(),tK(t),t5(n)).then(e=>{if(e&&0!==e.length)return e.map(tX)}))}};function t5(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var t3=class{constructor(e){this._worker=e}provideDocumentColors(e,t){let n=e.uri;return this._worker(n).then(e=>e.findDocumentColors(n.toString())).then(e=>{if(e)return e.map(e=>({color:e.color,range:tH(e.range)}))})}provideColorPresentations(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getColorPresentations(r.toString(),t.color,tK(t.range))).then(e=>{if(e)return e.map(e=>{let t={label:e.label};return e.textEdit&&(t.textEdit=tX(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(tX)),t})})}},t6=class{constructor(e){this._worker=e}provideFoldingRanges(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getFoldingRanges(r.toString(),t)).then(e=>{if(e)return e.map(e=>{let t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case eC.Comment:return tD.languages.FoldingRangeKind.Comment;case eC.Imports:return tD.languages.FoldingRangeKind.Imports;case eC.Region:return tD.languages.FoldingRangeKind.Region}}(e.kind)),t})})}},t7=class{constructor(e){this._worker=e}provideSelectionRanges(e,t,n){let r=e.uri;return this._worker(r).then(e=>e.getSelectionRanges(r.toString(),t.map(tW))).then(e=>{if(e)return e.map(e=>{let t=[];for(;e;)t.push({range:tH(e.range)}),e=e.parent;return t})})}};function t8(e){return 32===e||9===e}function t9(e){return 10===e||13===e}function ne(e){return e>=48&&e<=57}(eo=tx||(tx={}))[eo.lineFeed=10]="lineFeed",eo[eo.carriageReturn=13]="carriageReturn",eo[eo.space=32]="space",eo[eo._0=48]="_0",eo[eo._1=49]="_1",eo[eo._2=50]="_2",eo[eo._3=51]="_3",eo[eo._4=52]="_4",eo[eo._5=53]="_5",eo[eo._6=54]="_6",eo[eo._7=55]="_7",eo[eo._8=56]="_8",eo[eo._9=57]="_9",eo[eo.a=97]="a",eo[eo.b=98]="b",eo[eo.c=99]="c",eo[eo.d=100]="d",eo[eo.e=101]="e",eo[eo.f=102]="f",eo[eo.g=103]="g",eo[eo.h=104]="h",eo[eo.i=105]="i",eo[eo.j=106]="j",eo[eo.k=107]="k",eo[eo.l=108]="l",eo[eo.m=109]="m",eo[eo.n=110]="n",eo[eo.o=111]="o",eo[eo.p=112]="p",eo[eo.q=113]="q",eo[eo.r=114]="r",eo[eo.s=115]="s",eo[eo.t=116]="t",eo[eo.u=117]="u",eo[eo.v=118]="v",eo[eo.w=119]="w",eo[eo.x=120]="x",eo[eo.y=121]="y",eo[eo.z=122]="z",eo[eo.A=65]="A",eo[eo.B=66]="B",eo[eo.C=67]="C",eo[eo.D=68]="D",eo[eo.E=69]="E",eo[eo.F=70]="F",eo[eo.G=71]="G",eo[eo.H=72]="H",eo[eo.I=73]="I",eo[eo.J=74]="J",eo[eo.K=75]="K",eo[eo.L=76]="L",eo[eo.M=77]="M",eo[eo.N=78]="N",eo[eo.O=79]="O",eo[eo.P=80]="P",eo[eo.Q=81]="Q",eo[eo.R=82]="R",eo[eo.S=83]="S",eo[eo.T=84]="T",eo[eo.U=85]="U",eo[eo.V=86]="V",eo[eo.W=87]="W",eo[eo.X=88]="X",eo[eo.Y=89]="Y",eo[eo.Z=90]="Z",eo[eo.asterisk=42]="asterisk",eo[eo.backslash=92]="backslash",eo[eo.closeBrace=125]="closeBrace",eo[eo.closeBracket=93]="closeBracket",eo[eo.colon=58]="colon",eo[eo.comma=44]="comma",eo[eo.dot=46]="dot",eo[eo.doubleQuote=34]="doubleQuote",eo[eo.minus=45]="minus",eo[eo.openBrace=123]="openBrace",eo[eo.openBracket=91]="openBracket",eo[eo.plus=43]="plus",eo[eo.slash=47]="slash",eo[eo.formFeed=12]="formFeed",eo[eo.tab=9]="tab",Array(20).fill(0).map((e,t)=>" ".repeat(t)),Array(200).fill(0).map((e,t)=>"\n"+" ".repeat(t)),Array(200).fill(0).map((e,t)=>"\r"+" ".repeat(t)),Array(200).fill(0).map((e,t)=>"\r\n"+" ".repeat(t)),Array(200).fill(0).map((e,t)=>"\n"+" ".repeat(t)),Array(200).fill(0).map((e,t)=>"\r"+" ".repeat(t)),Array(200).fill(0).map((e,t)=>"\r\n"+" ".repeat(t)),(tI||(tI={})).DEFAULT={allowTrailingComma:!1};var nt=function(e,t=!1){let n=e.length,r=0,i="",o=0,a=16,s=0,c=0,u=0,d=0,l=0;function g(){if(i="",l=0,o=r,c=s,d=u,r>=n)return o=n,a=17;let t=e.charCodeAt(r);if(t8(t)){do r++,i+=String.fromCharCode(t),t=e.charCodeAt(r);while(t8(t));return a=15}if(t9(t))return r++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,i+="\n"),s++,u=r,a=14;switch(t){case 123:return r++,a=1;case 125:return r++,a=2;case 91:return r++,a=3;case 93:return r++,a=4;case 58:return r++,a=6;case 44:return r++,a=5;case 34:return r++,i=function(){let t="",i=r;for(;;){if(r>=n){t+=e.substring(i,r),l=2;break}let o=e.charCodeAt(r);if(34===o){t+=e.substring(i,r),r++;break}if(92===o){if(t+=e.substring(i,r),++r>=n){l=2;break}let o=e.charCodeAt(r++);switch(o){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+=" ";break;case 117:let a=function(t,n){let i=0,o=0;for(;i=48&&t<=57)o=16*o+t-48;else if(t>=65&&t<=70)o=16*o+t-65+10;else if(t>=97&&t<=102)o=16*o+t-97+10;else break;r++,i++}return i=0?t+=String.fromCharCode(a):l=4;break;default:l=5}i=r;continue}if(o>=0&&o<=31){if(t9(o)){t+=e.substring(i,r),l=2;break}l=6}r++}return t}(),a=10;case 47:let g=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;rr,scan:t?function(){let e;do e=g();while(e>=12&&e<=15);return e}:g,getToken:()=>a,getTokenValue:()=>i,getTokenOffset:()=>o,getTokenLength:()=>r-o,getTokenStartLine:()=>c,getTokenStartCharacter:()=>o-d,getTokenError:()=>l}};(ea=tA||(tA={}))[ea.None=0]="None",ea[ea.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",ea[ea.UnexpectedEndOfString=2]="UnexpectedEndOfString",ea[ea.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",ea[ea.InvalidUnicode=4]="InvalidUnicode",ea[ea.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",ea[ea.InvalidCharacter=6]="InvalidCharacter",(es=tS||(tS={}))[es.OpenBraceToken=1]="OpenBraceToken",es[es.CloseBraceToken=2]="CloseBraceToken",es[es.OpenBracketToken=3]="OpenBracketToken",es[es.CloseBracketToken=4]="CloseBracketToken",es[es.CommaToken=5]="CommaToken",es[es.ColonToken=6]="ColonToken",es[es.NullKeyword=7]="NullKeyword",es[es.TrueKeyword=8]="TrueKeyword",es[es.FalseKeyword=9]="FalseKeyword",es[es.StringLiteral=10]="StringLiteral",es[es.NumericLiteral=11]="NumericLiteral",es[es.LineCommentTrivia=12]="LineCommentTrivia",es[es.BlockCommentTrivia=13]="BlockCommentTrivia",es[es.LineBreakTrivia=14]="LineBreakTrivia",es[es.Trivia=15]="Trivia",es[es.Unknown=16]="Unknown",es[es.EOF=17]="EOF",(ec=tT||(tT={}))[ec.InvalidSymbol=1]="InvalidSymbol",ec[ec.InvalidNumberFormat=2]="InvalidNumberFormat",ec[ec.PropertyNameExpected=3]="PropertyNameExpected",ec[ec.ValueExpected=4]="ValueExpected",ec[ec.ColonExpected=5]="ColonExpected",ec[ec.CommaExpected=6]="CommaExpected",ec[ec.CloseBraceExpected=7]="CloseBraceExpected",ec[ec.CloseBracketExpected=8]="CloseBracketExpected",ec[ec.EndOfFileExpected=9]="EndOfFileExpected",ec[ec.InvalidCommentToken=10]="InvalidCommentToken",ec[ec.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",ec[ec.UnexpectedEndOfString=12]="UnexpectedEndOfString",ec[ec.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",ec[ec.InvalidUnicode=14]="InvalidUnicode",ec[ec.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",ec[ec.InvalidCharacter=16]="InvalidCharacter";var nn="delimiter.bracket.json",nr="delimiter.array.json",ni=class e{constructor(e,t){this.parent=e,this.type=t}static pop(e){return e?e.parent:null}static push(t,n){return new e(t,n)}static equals(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;for(;e&&t&&e!==t;){if(e.type!==t.type)return!1;e=e.parent,t=t.parent}return!0}},no=class e{constructor(e,t,n,r){this._state=e,this.scanError=t,this.lastWasColon=n,this.parents=r}clone(){return new e(this._state,this.scanError,this.lastWasColon,this.parents)}equals(t){return t===this||!!t&&t instanceof e&&this.scanError===t.scanError&&this.lastWasColon===t.lastWasColon&&ni.equals(this.parents,t.parents)}getStateData(){return this._state}setStateData(e){this._state=e}};function na(){return new Promise((e,t)=>{if(!tL)return t("JSON not registered!");e(tL)})}var ns=class extends tV{constructor(e,t,n){super(e,t,n.onDidChange),this._disposables.push(tD.editor.onWillDisposeModel(e=>{this._resetSchema(e.uri)})),this._disposables.push(tD.editor.onDidChangeModelLanguage(e=>{this._resetSchema(e.model.uri)}))}_resetSchema(e){this._worker().then(t=>{t.resetSchema(e.toString())})}};function nc(e){let t=[],n=[],r=new tO(e);function i(){let{languageId:t,modeConfiguration:r}=e;nd(n),r.documentFormattingEdits&&n.push(tD.languages.registerDocumentFormattingEditProvider(t,new t2(tL))),r.documentRangeFormattingEdits&&n.push(tD.languages.registerDocumentRangeFormattingEditProvider(t,new t4(tL))),r.completionItems&&n.push(tD.languages.registerCompletionItemProvider(t,new tB(tL,[" ",":",'"']))),r.hovers&&n.push(tD.languages.registerHoverProvider(t,new tq(tL))),r.documentSymbols&&n.push(tD.languages.registerDocumentSymbolProvider(t,new tZ(tL))),r.tokens&&n.push(tD.languages.setTokensProvider(t,{getInitialState:()=>new no(null,null,!1,null),tokenize:(e,t)=>(function(e,t,n,r=0){let i=0,o=!1;switch(n.scanError){case 2:t='"'+t,i=1;break;case 1:t="/*"+t,i=2}let a=nt(t),s=n.lastWasColon,c=n.parents,u={tokens:[],endState:n.clone()};for(;;){let d=r+a.getPosition(),l="",g=a.scan();if(17===g)break;if(d===r+a.getPosition())throw Error("Scanner did not advance, next 3 characters are: "+t.substr(a.getPosition(),3));switch(o&&(d-=i),o=i>0,g){case 1:c=ni.push(c,0),l=nn,s=!1;break;case 2:c=ni.pop(c),l=nn,s=!1;break;case 3:c=ni.push(c,1),l=nr,s=!1;break;case 4:c=ni.pop(c),l=nr,s=!1;break;case 6:l="delimiter.colon.json",s=!0;break;case 5:l="delimiter.comma.json",s=!1;break;case 8:case 9:case 7:l="keyword.json",s=!1;break;case 10:let f=c?c.type:0,h=1===f;l=s||h?"string.value.json":"string.key.json",s=!1;break;case 11:l="number.json",s=!1}if(e)switch(g){case 12:l="comment.line.json";break;case 13:l="comment.block.json"}u.endState=new no(n.getStateData(),a.getTokenError(),s,c),u.tokens.push({startIndex:d,scopes:l})}return u})(!0,e,t)})),r.colors&&n.push(tD.languages.registerColorProvider(t,new t3(tL))),r.foldingRanges&&n.push(tD.languages.registerFoldingRangeProvider(t,new t6(tL))),r.diagnostics&&n.push(new ns(t,tL,e)),r.selectionRanges&&n.push(tD.languages.registerSelectionRangeProvider(t,new t7(tL)))}t.push(r),tL=(...e)=>r.getLanguageServiceWorker(...e),i(),t.push(tD.languages.setLanguageConfiguration(e.languageId,nl));let o=e.modeConfiguration;return e.onDidChange(e=>{e.modeConfiguration!==o&&(o=e.modeConfiguration,i())}),t.push(nu(n)),nu(t)}function nu(e){return{dispose:()=>nd(e)}}function nd(e){for(;e.length;)e.pop().dispose()}var nl={wordPattern:/(-?\d*\.\d\w*)|([^\[\{\]\}\:\"\,\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:'"',close:'"',notIn:["string"]}]}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6717.60dc55b0f638f8b4.js b/dbgpt/app/static/web/_next/static/chunks/6717.60dc55b0f638f8b4.js new file mode 100644 index 000000000..bdb662583 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/6717.60dc55b0f638f8b4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6717],{96717:function(e,t,n){n.r(t),n.d(t,{conf:function(){return l},language:function(){return d}});var o,r=n(72339),i=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,p=(e,t,n,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of c(t))a.call(e,r)||r===n||i(e,r,{get:()=>t[r],enumerable:!(o=s(t,r))||o.enumerable});return e},g={};p(g,r,"default"),o&&p(o,r,"default");var l={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:g.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:g.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:g.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:g.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:RegExp("^\\s*//\\s*#?region\\b"),end:RegExp("^\\s*//\\s*#?endregion\\b")}}},d={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","out","package","private","protected","public","override","readonly","require","global","return","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<",">",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([dgimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6717.7fa867a5c699cd6f.js b/dbgpt/app/static/web/_next/static/chunks/6717.7fa867a5c699cd6f.js deleted file mode 100644 index a4b1ed1d7..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/6717.7fa867a5c699cd6f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6717],{96717:function(e,t,n){n.r(t),n.d(t,{conf:function(){return l},language:function(){return d}});var o,r=n(5036),i=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,p=(e,t,n,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of c(t))a.call(e,r)||r===n||i(e,r,{get:()=>t[r],enumerable:!(o=s(t,r))||o.enumerable});return e},g={};p(g,r,"default"),o&&p(o,r,"default");var l={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:g.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:g.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:g.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:g.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:RegExp("^\\s*//\\s*#?region\\b"),end:RegExp("^\\s*//\\s*#?endregion\\b")}}},d={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","out","package","private","protected","public","override","readonly","require","global","return","satisfies","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<",">",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([dgimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6791.6a00972ace1edc4e.js b/dbgpt/app/static/web/_next/static/chunks/6791.6a00972ace1edc4e.js deleted file mode 100644 index 3c84aae25..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/6791.6a00972ace1edc4e.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6791],{47578:function(e,t,n){n.d(t,{Ht:function(){return u},Lx:function(){return l},Pf:function(){return a},k8:function(){return c},lW:function(){return d},yD:function(){return s}});var i,o,r=n(10558);function l(e,t){return{label:e,range:t,insertText:e+" ",kind:r.Mj.CompletionItemKind.Keyword,command:{id:"editor.action.triggerSuggest",title:""},sortText:"*"===e?o.Star:o.Keyword}}function a(e,t="",n=!1,i){let l=n?[t,e].filter(Boolean).join("."):e;return{label:{label:l,description:"Table",detail:" "+t},range:i,insertText:l,kind:r.Mj.CompletionItemKind.Class,sortText:o.Table}}function s(e,t,n="",i){let l=[n,t].filter(Boolean).join(".");return{label:{label:e,description:"Column",detail:" "+l},range:i,insertText:e+" ",kind:r.Mj.CompletionItemKind.Field,command:{id:"editor.action.triggerSuggest",title:""},sortText:o.Column}}function u(e,t){var n,i;let l=(null===(n=e.params)||void 0===n?void 0:n.map((e,t)=>`\${${t+1}:${"string"==typeof e?e:e.name}}`).join(", "))||"",a=(null===(i=e.params)||void 0===i?void 0:i.map((e,t)=>`${"string"==typeof e?e:e.name}`).join(", "))||"";return{label:{label:e.name,description:"Function",detail:" "+e.desc},kind:r.Mj.CompletionItemKind.Function,documentation:`${e.name}(${a})`,insertText:`${e.name}(${l}) `,insertTextRules:r.Mj.CompletionItemInsertTextRule.InsertAsSnippet,range:t,sortText:o.Function}}function c(e,t){return{label:e.label,kind:r.Mj.CompletionItemKind.Snippet,documentation:e.documentation,insertText:e.insertText,insertTextRules:r.Mj.CompletionItemInsertTextRule.InsertAsSnippet,range:t,sortText:o.Snippet}}function d(e,t){return{label:e,kind:r.Mj.CompletionItemKind.Module,detail:"Schema",insertText:e,range:t,sortText:o.Schema}}(i=o||(o={})).Star="37",i.Keyword="50",i.Table="39",i.Column="38",i.Function="51",i.Schema="40",i.Snippet="52"},36498:function(e,t,n){n.d(t,{y:function(){return i}});function i(e,t,n,i){var o,r;let l=n.triggerCharacter,a=(null===(o=null==i?void 0:i.modelOptionsMap.get(e.id))||void 0===o?void 0:o.delimiter)||";",s=e.getWordUntilPosition(t),u={startLineNumber:t.lineNumber,endLineNumber:t.lineNumber,startColumn:s.startColumn,endColumn:s.endColumn},c=e.getValue(),d=e.getOffsetAt(t);return(null===(r=null==s?void 0:s.word)||void 0===r?void 0:r.trim())!==""||l||(c=c.substring(0,d)+"s"+c.substring(d)),{offset:d,value:c,delimiter:a,range:u,triggerCharacter:l}}},54768:function(e,t,n){n.d(t,{q:function(){return i}});class i{constructor(e){{let t=URL.createObjectURL(new Blob([`importScripts(${JSON.stringify(e.toString())});`],{type:"application/javascript"}));this.worker=new Worker(t),URL.revokeObjectURL(t)}}getWorker(){return this.worker}}},5601:function(e,t,n){n.d(t,{X:function(){return a},m:function(){return l}});var i=n(81065),o=function(e,t,n,i){return new(n||(n=Promise))(function(o,r){function l(e){try{s(i.next(e))}catch(e){r(e)}}function a(e){try{s(i.throw(e))}catch(e){r(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(l,a)}s((i=i.apply(e,t||[])).next())})};function r(e,t,r){return o(this,void 0,void 0,function*(){let{SQLType:o,plugins:l}=yield Promise.all([n.e(2425),n.e(4849),n.e(7356),n.e(1414),n.e(1586),n.e(8010),n.e(7816)]).then(n.bind(n,19357)),a={[i.$.OB_MySQL]:o.OBMySQL,[i.$.MySQL]:o.MySQL,[i.$.OB_Oracle]:o.Oracle},s=l.format({sql:e,type:a[t],delimiter:r});return s})}class l{constructor(e,t){this.plugin=null,this.type=i.$.OB_MySQL,this.plugin=e,this.type=t}provideDocumentFormattingEdits(e,t,n){let i=e.getValue(),l=e.getFullModelRange();return new Promise(t=>o(this,void 0,void 0,function*(){var n,o;let a=yield r(i,this.type,(null===(o=null===(n=this.plugin)||void 0===n?void 0:n.modelOptionsMap.get(e.id))||void 0===o?void 0:o.delimiter)||";");t([{range:l,text:a}])}))}}class a{constructor(e,t){this.plugin=null,this.type=i.$.OB_MySQL,this.plugin=e,this.type=t}provideDocumentRangeFormattingEdits(e,t,n,i){let l=e.getValueInRange(t);return new Promise(n=>o(this,void 0,void 0,function*(){var i,o;let a=yield r(l,this.type,(null===(o=null===(i=this.plugin)||void 0===i?void 0:i.modelOptionsMap.get(e.id))||void 0===o?void 0:o.delimiter)||";");n([{range:t,text:a}])}))}}},95422:function(e,t){t.Z=class{constructor(e){this.modelVersion={},this.triggerCharacters=["."],this.plugin=null,this.plugin=e}freeInlineCompletions(e){}getModelOptions(e){var t;return null===(t=this.plugin)||void 0===t?void 0:t.modelOptionsMap.get(e)}provideInlineCompletions(e,t,n,i){var o;let r=e.id,l=this.modelVersion[r]?this.modelVersion[r]+1:1;this.modelVersion[r]=l;let a=e.getWordAtPosition(t),s=this.getModelOptions(r);if(!(null===(o=null==s?void 0:s.llm)||void 0===o?void 0:o.completions))return;let u=e.getValue(),c=e.getOffsetAt(t),d=u.substring(0,c)+"|"+u.substring(c);return new Promise((t,n)=>{var o,u,c,m;return o=this,u=void 0,c=void 0,m=function*(){var n,o,u,c,m;if(yield new Promise(e=>setTimeout(()=>e(null),500)),l!==this.modelVersion[r]||i.isCancellationRequested){t({items:[]});return}let p=(null===(o=yield null===(n=null==s?void 0:s.getTableList)||void 0===n?void 0:n.call(s))||void 0===o?void 0:o.slice(0,30))||[],f={};for(let e of p)f[e]=yield null===(u=null==s?void 0:s.getTableColumns)||void 0===u?void 0:u.call(s,e);let g=Object.keys(f).map(e=>{var t;return`${e}(${null===(t=f[e])||void 0===t?void 0:t.map(e=>e.columnName).join(", ")})`}),h=`You are an SQL autocomplete bot tasked with completing code segments. Here's the database information: -SQL Dialect: ${e.getLanguageId()} -Tables: ${g} -Your job is to fill in the SQL code at the position indicated by the '|' cursor in the given code segment. Your task is to provide the necessary SQL code that fits at the cursor's location and ensure that the code formatting is beautified. Do not include explanations. If you are unsure of the completion, respond with 'IDONTKNOW'.Any variables that the user must define should be wrapped in \${index:variable_name} format. For example, given the input 'create | aa (id int);', the expected output would be 'table'. Here is the input for your task: -${d}`,v=yield null===(c=null==s?void 0:s.llm)||void 0===c?void 0:c.completions(h);if(i.isCancellationRequested){t(null);return}if(!v||(null===(m=v.includes)||void 0===m?void 0:m.call(v,"IDONTKNOW"))){t({items:[]});return}t({items:[{insertText:{snippet:v=((null==a?void 0:a.word)||"")+v}}]})},new(c||(c=Promise))(function(e,t){function n(e){try{r(m.next(e))}catch(e){t(e)}}function i(e){try{r(m.throw(e))}catch(e){t(e)}}function r(t){var o;t.done?e(t.value):((o=t.value)instanceof c?o:new c(function(e){e(o)})).then(n,i)}r((m=m.apply(o,u||[])).next())})})}}},81065:function(e,t,n){var i,o;n.d(t,{$:function(){return i}}),(o=i||(i={})).OB_MySQL="obmysql",o.OB_Oracle="oboracle",o.MySQL="mysql"},54375:function(e,t,n){n.d(t,{Ud:function(){return d}});/** - * @license - * Copyright 2019 Google LLC - * SPDX-License-Identifier: Apache-2.0 - */let i=Symbol("Comlink.proxy"),o=Symbol("Comlink.endpoint"),r=Symbol("Comlink.releaseProxy"),l=Symbol("Comlink.finalizer"),a=Symbol("Comlink.thrown"),s=e=>"object"==typeof e&&null!==e||"function"==typeof e,u=new Map([["proxy",{canHandle:e=>s(e)&&e[i],serialize(e){let{port1:t,port2:n}=new MessageChannel;return function e(t,n=globalThis,o=["*"]){n.addEventListener("message",function r(s){let u;if(!s||!s.data)return;if(!function(e,t){for(let n of e)if(t===n||"*"===n||n instanceof RegExp&&n.test(t))return!0;return!1}(o,s.origin)){console.warn(`Invalid origin '${s.origin}' for comlink proxy`);return}let{id:d,type:m,path:p}=Object.assign({path:[]},s.data),f=(s.data.argumentList||[]).map(b);try{var g;let n=p.slice(0,-1).reduce((e,t)=>e[t],t),o=p.reduce((e,t)=>e[t],t);switch(m){case"GET":u=o;break;case"SET":n[p.slice(-1)[0]]=b(s.data.value),u=!0;break;case"APPLY":u=o.apply(n,f);break;case"CONSTRUCT":{let e=new o(...f);u=Object.assign(e,{[i]:!0})}break;case"ENDPOINT":{let{port1:n,port2:i}=new MessageChannel;e(t,i),g=[n],v.set(n,g),u=n}break;case"RELEASE":u=void 0;break;default:return}}catch(e){u={value:e,[a]:0}}Promise.resolve(u).catch(e=>({value:e,[a]:0})).then(e=>{let[i,o]=y(e);n.postMessage(Object.assign(Object.assign({},i),{id:d}),o),"RELEASE"===m&&(n.removeEventListener("message",r),c(n),l in t&&"function"==typeof t[l]&&t[l]())}).catch(e=>{let[t,i]=y({value:TypeError("Unserializable return value"),[a]:0});n.postMessage(Object.assign(Object.assign({},t),{id:d}),i)})}),n.start&&n.start()}(e,t),[n,[n]]},deserialize:e=>(e.start(),d(e))}],["throw",{canHandle:e=>s(e)&&a in e,serialize:({value:e})=>[e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[]],deserialize(e){if(e.isError)throw Object.assign(Error(e.value.message),e.value);throw e.value}}]]);function c(e){"MessagePort"===e.constructor.name&&e.close()}function d(e,t){return function e(t,n=[],i=function(){}){let l=!1,a=new Proxy(i,{get(i,o){if(m(l),o===r)return()=>{g&&g.unregister(a),p(t),l=!0};if("then"===o){if(0===n.length)return{then:()=>a};let e=S(t,{type:"GET",path:n.map(e=>e.toString())}).then(b);return e.then.bind(e)}return e(t,[...n,o])},set(e,i,o){m(l);let[r,a]=y(o);return S(t,{type:"SET",path:[...n,i].map(e=>e.toString()),value:r},a).then(b)},apply(i,r,a){m(l);let s=n[n.length-1];if(s===o)return S(t,{type:"ENDPOINT"}).then(b);if("bind"===s)return e(t,n.slice(0,-1));let[u,c]=h(a);return S(t,{type:"APPLY",path:n.map(e=>e.toString()),argumentList:u},c).then(b)},construct(e,i){m(l);let[o,r]=h(i);return S(t,{type:"CONSTRUCT",path:n.map(e=>e.toString()),argumentList:o},r).then(b)}});return!function(e,t){let n=(f.get(t)||0)+1;f.set(t,n),g&&g.register(e,t,e)}(a,t),a}(e,[],t)}function m(e){if(e)throw Error("Proxy has been released and is not useable")}function p(e){return S(e,{type:"RELEASE"}).then(()=>{c(e)})}let f=new WeakMap,g="FinalizationRegistry"in globalThis&&new FinalizationRegistry(e=>{let t=(f.get(e)||0)-1;f.set(e,t),0===t&&p(e)});function h(e){var t;let n=e.map(y);return[n.map(e=>e[0]),(t=n.map(e=>e[1]),Array.prototype.concat.apply([],t))]}let v=new WeakMap;function y(e){for(let[t,n]of u)if(n.canHandle(e)){let[i,o]=n.serialize(e);return[{type:"HANDLER",name:t,value:i},o]}return[{type:"RAW",value:e},v.get(e)||[]]}function b(e){switch(e.type){case"HANDLER":return u.get(e.name).deserialize(e.value);case"RAW":return e.value}}function S(e,t,n){return new Promise(i=>{let o=[,,,,].fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-");e.addEventListener("message",function t(n){n.data&&n.data.id&&n.data.id===o&&(e.removeEventListener("message",t),i(n.data))}),e.start&&e.start(),e.postMessage(Object.assign({id:o},t),n)})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6791.8ed2e586aadd124e.js b/dbgpt/app/static/web/_next/static/chunks/6791.8ed2e586aadd124e.js new file mode 100644 index 000000000..0da22ada3 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/6791.8ed2e586aadd124e.js @@ -0,0 +1,9 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6791],{47578:function(e,t,n){n.d(t,{Ht:function(){return u},Lx:function(){return l},Pf:function(){return a},k8:function(){return c},lW:function(){return d},yD:function(){return s}});var i,r,o=n(96685);function l(e,t){return{label:e,range:t,insertText:e+" ",kind:o.Mj.CompletionItemKind.Keyword,command:{id:"editor.action.triggerSuggest",title:""},sortText:"*"===e?r.Star:r.Keyword}}function a(e,t="",n=!1,i){let l=n?[t,e].filter(Boolean).join("."):e;return{label:{label:l,description:"Table",detail:" "+t},range:i,insertText:l,kind:o.Mj.CompletionItemKind.Class,sortText:r.Table}}function s(e,t,n="",i){let l=[n,t].filter(Boolean).join(".");return{label:{label:e,description:"Column",detail:" "+l},range:i,insertText:e+" ",kind:o.Mj.CompletionItemKind.Field,command:{id:"editor.action.triggerSuggest",title:""},sortText:r.Column}}function u(e,t){var n,i;let l=(null===(n=e.params)||void 0===n?void 0:n.map((e,t)=>`\${${t+1}:${"string"==typeof e?e:e.name}}`).join(", "))||"",a=(null===(i=e.params)||void 0===i?void 0:i.map((e,t)=>`${"string"==typeof e?e:e.name}`).join(", "))||"";return{label:{label:e.name,description:"Function",detail:" "+e.desc},kind:o.Mj.CompletionItemKind.Function,documentation:`${e.name}(${a})`,insertText:`${e.name}(${l}) `,insertTextRules:o.Mj.CompletionItemInsertTextRule.InsertAsSnippet,range:t,sortText:r.Function}}function c(e,t){return{label:e.label,kind:o.Mj.CompletionItemKind.Snippet,documentation:e.documentation,insertText:e.insertText,insertTextRules:o.Mj.CompletionItemInsertTextRule.InsertAsSnippet,range:t,sortText:r.Snippet}}function d(e,t){return{label:e,kind:o.Mj.CompletionItemKind.Module,detail:"Schema",insertText:e,range:t,sortText:r.Schema}}(i=r||(r={})).Star="37",i.Keyword="50",i.Table="39",i.Column="38",i.Function="51",i.Schema="40",i.Snippet="52"},36498:function(e,t,n){n.d(t,{y:function(){return i}});function i(e,t,n,i){var r,o;let l=n.triggerCharacter,a=(null===(r=null==i?void 0:i.modelOptionsMap.get(e.id))||void 0===r?void 0:r.delimiter)||";",s=e.getWordUntilPosition(t),u={startLineNumber:t.lineNumber,endLineNumber:t.lineNumber,startColumn:s.startColumn,endColumn:s.endColumn},c=e.getValue(),d=e.getOffsetAt(t);return(null===(o=null==s?void 0:s.word)||void 0===o?void 0:o.trim())!==""||l||(c=c.substring(0,d)+"s"+c.substring(d)),{offset:d,value:c,delimiter:a,range:u,triggerCharacter:l}}},54768:function(e,t,n){n.d(t,{q:function(){return i}});class i{constructor(e){{let t=URL.createObjectURL(new Blob([`importScripts(${JSON.stringify(e.toString())});`],{type:"application/javascript"}));this.worker=new Worker(t),URL.revokeObjectURL(t)}}getWorker(){return this.worker}}},5601:function(e,t,n){n.d(t,{X:function(){return a},m:function(){return l}});var i=n(81065),r=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function l(e){try{s(i.next(e))}catch(e){o(e)}}function a(e){try{s(i.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(l,a)}s((i=i.apply(e,t||[])).next())})};function o(e,t,o){return r(this,void 0,void 0,function*(){let{SQLType:r,plugins:l}=yield Promise.all([n.e(2425),n.e(4849),n.e(7356),n.e(1414),n.e(1586),n.e(2973),n.e(8010),n.e(7816)]).then(n.bind(n,19357)),a={[i.$.OB_MySQL]:r.OBMySQL,[i.$.MySQL]:r.MySQL,[i.$.OB_Oracle]:r.Oracle},s=l.format({sql:e,type:a[t],delimiter:o});return s})}class l{constructor(e,t){this.plugin=null,this.type=i.$.OB_MySQL,this.plugin=e,this.type=t}provideDocumentFormattingEdits(e,t,n){let i=e.getValue(),l=e.getFullModelRange();return new Promise(t=>r(this,void 0,void 0,function*(){var n,r;let a=yield o(i,this.type,(null===(r=null===(n=this.plugin)||void 0===n?void 0:n.modelOptionsMap.get(e.id))||void 0===r?void 0:r.delimiter)||";");t([{range:l,text:a}])}))}}class a{constructor(e,t){this.plugin=null,this.type=i.$.OB_MySQL,this.plugin=e,this.type=t}provideDocumentRangeFormattingEdits(e,t,n,i){let l=e.getValueInRange(t);return new Promise(n=>r(this,void 0,void 0,function*(){var i,r;let a=yield o(l,this.type,(null===(r=null===(i=this.plugin)||void 0===i?void 0:i.modelOptionsMap.get(e.id))||void 0===r?void 0:r.delimiter)||";");n([{range:t,text:a}])}))}}},95422:function(e,t){t.Z=class{constructor(e){this.modelVersion={},this.triggerCharacters=["."],this.plugin=null,this.plugin=e}freeInlineCompletions(e){}getModelOptions(e){var t;return null===(t=this.plugin)||void 0===t?void 0:t.modelOptionsMap.get(e)}provideInlineCompletions(e,t,n,i){var r;let o=e.id,l=this.modelVersion[o]?this.modelVersion[o]+1:1;this.modelVersion[o]=l;let a=e.getWordAtPosition(t),s=this.getModelOptions(o);if(!(null===(r=null==s?void 0:s.llm)||void 0===r?void 0:r.completions))return;let u=e.getValue(),c=e.getOffsetAt(t),d=u.substring(0,c)+"|"+u.substring(c);return new Promise((t,n)=>{var r,u,c,m;return r=this,u=void 0,c=void 0,m=function*(){var n,r,u,c,m;if(yield new Promise(e=>setTimeout(()=>e(null),500)),l!==this.modelVersion[o]||i.isCancellationRequested){t({items:[]});return}let p=(null===(r=yield null===(n=null==s?void 0:s.getTableList)||void 0===n?void 0:n.call(s))||void 0===r?void 0:r.slice(0,30))||[],f={};for(let e of p)f[e]=yield null===(u=null==s?void 0:s.getTableColumns)||void 0===u?void 0:u.call(s,e);let g=Object.keys(f).map(e=>{var t;return`${e}(${null===(t=f[e])||void 0===t?void 0:t.map(e=>e.columnName).join(", ")})`}),h=`You are an SQL autocomplete bot tasked with completing code segments. Here's the database information: +SQL Dialect: ${e.getLanguageId()} +Tables: ${g} +Your job is to fill in the SQL code at the position indicated by the '|' cursor in the given code segment. Your task is to provide the necessary SQL code that fits at the cursor's location and ensure that the code formatting is beautified. Do not include explanations. If you are unsure of the completion, respond with 'IDONTKNOW'.Any variables that the user must define should be wrapped in \${index:variable_name} format. For example, given the input 'create | aa (id int);', the expected output would be 'table'. Here is the input for your task: +${d}`,v=yield null===(c=null==s?void 0:s.llm)||void 0===c?void 0:c.completions(h);if(i.isCancellationRequested){t(null);return}if(!v||(null===(m=v.includes)||void 0===m?void 0:m.call(v,"IDONTKNOW"))){t({items:[]});return}t({items:[{insertText:{snippet:v=((null==a?void 0:a.word)||"")+v}}]})},new(c||(c=Promise))(function(e,t){function n(e){try{o(m.next(e))}catch(e){t(e)}}function i(e){try{o(m.throw(e))}catch(e){t(e)}}function o(t){var r;t.done?e(t.value):((r=t.value)instanceof c?r:new c(function(e){e(r)})).then(n,i)}o((m=m.apply(r,u||[])).next())})})}}},81065:function(e,t,n){var i,r;n.d(t,{$:function(){return i}}),(r=i||(i={})).OB_MySQL="obmysql",r.OB_Oracle="oboracle",r.MySQL="mysql"},54375:function(e,t,n){n.d(t,{Ud:function(){return d},Yy:function(){return o}});/** + * @license + * Copyright 2019 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */let i=Symbol("Comlink.proxy"),r=Symbol("Comlink.endpoint"),o=Symbol("Comlink.releaseProxy"),l=Symbol("Comlink.finalizer"),a=Symbol("Comlink.thrown"),s=e=>"object"==typeof e&&null!==e||"function"==typeof e,u=new Map([["proxy",{canHandle:e=>s(e)&&e[i],serialize(e){let{port1:t,port2:n}=new MessageChannel;return function e(t,n=globalThis,r=["*"]){n.addEventListener("message",function o(s){let u;if(!s||!s.data)return;if(!function(e,t){for(let n of e)if(t===n||"*"===n||n instanceof RegExp&&n.test(t))return!0;return!1}(r,s.origin)){console.warn(`Invalid origin '${s.origin}' for comlink proxy`);return}let{id:d,type:m,path:p}=Object.assign({path:[]},s.data),f=(s.data.argumentList||[]).map(b);try{var g;let n=p.slice(0,-1).reduce((e,t)=>e[t],t),r=p.reduce((e,t)=>e[t],t);switch(m){case"GET":u=r;break;case"SET":n[p.slice(-1)[0]]=b(s.data.value),u=!0;break;case"APPLY":u=r.apply(n,f);break;case"CONSTRUCT":{let e=new r(...f);u=Object.assign(e,{[i]:!0})}break;case"ENDPOINT":{let{port1:n,port2:i}=new MessageChannel;e(t,i),g=[n],v.set(n,g),u=n}break;case"RELEASE":u=void 0;break;default:return}}catch(e){u={value:e,[a]:0}}Promise.resolve(u).catch(e=>({value:e,[a]:0})).then(e=>{let[i,r]=y(e);n.postMessage(Object.assign(Object.assign({},i),{id:d}),r),"RELEASE"===m&&(n.removeEventListener("message",o),c(n),l in t&&"function"==typeof t[l]&&t[l]())}).catch(e=>{let[t,i]=y({value:TypeError("Unserializable return value"),[a]:0});n.postMessage(Object.assign(Object.assign({},t),{id:d}),i)})}),n.start&&n.start()}(e,t),[n,[n]]},deserialize:e=>(e.start(),d(e))}],["throw",{canHandle:e=>s(e)&&a in e,serialize:({value:e})=>[e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[]],deserialize(e){if(e.isError)throw Object.assign(Error(e.value.message),e.value);throw e.value}}]]);function c(e){"MessagePort"===e.constructor.name&&e.close()}function d(e,t){return function e(t,n=[],i=function(){}){let l=!1,a=new Proxy(i,{get(i,r){if(m(l),r===o)return()=>{g&&g.unregister(a),p(t),l=!0};if("then"===r){if(0===n.length)return{then:()=>a};let e=S(t,{type:"GET",path:n.map(e=>e.toString())}).then(b);return e.then.bind(e)}return e(t,[...n,r])},set(e,i,r){m(l);let[o,a]=y(r);return S(t,{type:"SET",path:[...n,i].map(e=>e.toString()),value:o},a).then(b)},apply(i,o,a){m(l);let s=n[n.length-1];if(s===r)return S(t,{type:"ENDPOINT"}).then(b);if("bind"===s)return e(t,n.slice(0,-1));let[u,c]=h(a);return S(t,{type:"APPLY",path:n.map(e=>e.toString()),argumentList:u},c).then(b)},construct(e,i){m(l);let[r,o]=h(i);return S(t,{type:"CONSTRUCT",path:n.map(e=>e.toString()),argumentList:r},o).then(b)}});return!function(e,t){let n=(f.get(t)||0)+1;f.set(t,n),g&&g.register(e,t,e)}(a,t),a}(e,[],t)}function m(e){if(e)throw Error("Proxy has been released and is not useable")}function p(e){return S(e,{type:"RELEASE"}).then(()=>{c(e)})}let f=new WeakMap,g="FinalizationRegistry"in globalThis&&new FinalizationRegistry(e=>{let t=(f.get(e)||0)-1;f.set(e,t),0===t&&p(e)});function h(e){var t;let n=e.map(y);return[n.map(e=>e[0]),(t=n.map(e=>e[1]),Array.prototype.concat.apply([],t))]}let v=new WeakMap;function y(e){for(let[t,n]of u)if(n.canHandle(e)){let[i,r]=n.serialize(e);return[{type:"HANDLER",name:t,value:i},r]}return[{type:"RAW",value:e},v.get(e)||[]]}function b(e){switch(e.type){case"HANDLER":return u.get(e.name).deserialize(e.value);case"RAW":return e.value}}function S(e,t,n){return new Promise(i=>{let r=[,,,,].fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-");e.addEventListener("message",function t(n){n.data&&n.data.id&&n.data.id===r&&(e.removeEventListener("message",t),i(n.data))}),e.start&&e.start(),e.postMessage(Object.assign({id:r},t),n)})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7003-35ff135d274ba463.js b/dbgpt/app/static/web/_next/static/chunks/7003-35ff135d274ba463.js deleted file mode 100644 index 491191434..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/7003-35ff135d274ba463.js +++ /dev/null @@ -1,17 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7003],{4583:function(){},53250:function(t,n,e){"use strict";/** - * @license React - * use-sync-external-store-shim.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var r=e(67294),i="function"==typeof Object.is?Object.is:function(t,n){return t===n&&(0!==t||1/t==1/n)||t!=t&&n!=n},o=r.useState,u=r.useEffect,a=r.useLayoutEffect,s=r.useDebugValue;function c(t){var n=t.getSnapshot;t=t.value;try{var e=n();return!i(t,e)}catch(t){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,n){return n()}:function(t,n){var e=n(),r=o({inst:{value:e,getSnapshot:n}}),i=r[0].inst,l=r[1];return a(function(){i.value=e,i.getSnapshot=n,c(i)&&l({inst:i})},[t,e,n]),u(function(){return c(i)&&l({inst:i}),t(function(){c(i)&&l({inst:i})})},[t]),s(e),e};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},50139:function(t,n,e){"use strict";/** - * @license React - * use-sync-external-store-shim/with-selector.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var r=e(67294),i=e(61688),o="function"==typeof Object.is?Object.is:function(t,n){return t===n&&(0!==t||1/t==1/n)||t!=t&&n!=n},u=i.useSyncExternalStore,a=r.useRef,s=r.useEffect,c=r.useMemo,l=r.useDebugValue;n.useSyncExternalStoreWithSelector=function(t,n,e,r,i){var f=a(null);if(null===f.current){var h={hasValue:!1,value:null};f.current=h}else h=f.current;f=c(function(){function t(t){if(!s){if(s=!0,u=t,t=r(t),void 0!==i&&h.hasValue){var n=h.value;if(i(n,t))return a=n}return a=t}if(n=a,o(u,t))return n;var e=r(t);return void 0!==i&&i(n,e)?n:(u=t,a=e)}var u,a,s=!1,c=void 0===e?null:e;return[function(){return t(n())},null===c?void 0:function(){return t(c())}]},[n,e,r,i]);var p=u(t,f[0],f[1]);return s(function(){h.hasValue=!0,h.value=p},[p]),l(p),p}},61688:function(t,n,e){"use strict";t.exports=e(53250)},52798:function(t,n,e){"use strict";t.exports=e(50139)},59819:function(t,n,e){"use strict";e.d(n,{A:function(){return d}});var r,i,o=e(67294),u=e(83840),a=e(36851),s=e(76248);function c({color:t,dimensions:n,lineWidth:e}){return o.createElement("path",{stroke:t,strokeWidth:e,d:`M${n[0]/2} 0 V${n[1]} M0 ${n[1]/2} H${n[0]}`})}function l({color:t,radius:n}){return o.createElement("circle",{cx:n,cy:n,r:n,fill:t})}(r=i||(i={})).Lines="lines",r.Dots="dots",r.Cross="cross";let f={[i.Dots]:"#91919a",[i.Lines]:"#eee",[i.Cross]:"#e2e2e2"},h={[i.Dots]:1,[i.Lines]:1,[i.Cross]:6},p=t=>({transform:t.transform,patternId:`pattern-${t.rfId}`});function v({id:t,variant:n=i.Dots,gap:e=20,size:r,lineWidth:v=1,offset:d=2,color:m,style:y,className:_}){let g=(0,o.useRef)(null),{transform:w,patternId:b}=(0,a.oR)(p,s.X),x=m||f[n],S=r||h[n],E=n===i.Dots,A=n===i.Cross,Z=Array.isArray(e)?e:[e,e],M=[Z[0]*w[2]||1,Z[1]*w[2]||1],z=S*w[2],k=A?[z,z]:M,P=E?[z/d,z/d]:[k[0]/d,k[1]/d];return o.createElement("svg",{className:(0,u.Z)(["react-flow__background",_]),style:{...y,position:"absolute",width:"100%",height:"100%",top:0,left:0},ref:g,"data-testid":"rf__background"},o.createElement("pattern",{id:b+t,x:w[0]%M[0],y:w[1]%M[1],width:M[0],height:M[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${P[0]},-${P[1]})`},E?o.createElement(l,{color:x,radius:z/d}):o.createElement(c,{dimensions:k,color:x,lineWidth:v})),o.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${b+t})`}))}v.displayName="Background";var d=(0,o.memo)(v)},83840:function(t,n,e){"use strict";e.d(n,{Z:function(){return function t(n){if("string"==typeof n||"number"==typeof n)return""+n;let e="";if(Array.isArray(n))for(let r=0,i;r()=>t;function c(t,{sourceEvent:n,subject:e,target:r,identifier:i,active:o,x:u,y:a,dx:s,dy:c,dispatch:l}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:e,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:u,enumerable:!0,configurable:!0},y:{value:a,enumerable:!0,configurable:!0},dx:{value:s,enumerable:!0,configurable:!0},dy:{value:c,enumerable:!0,configurable:!0},_:{value:l}})}function l(t){return!t.ctrlKey&&!t.button}function f(){return this.parentNode}function h(t,n){return null==n?{x:t.x,y:t.y}:n}function p(){return navigator.maxTouchPoints||"ontouchstart"in this}function v(){var t,n,e,v,d=l,m=f,y=h,_=p,g={},w=(0,r.Z)("start","drag","end"),b=0,x=0;function S(t){t.on("mousedown.drag",E).filter(_).on("touchstart.drag",M).on("touchmove.drag",z,a.Q7).on("touchend.drag touchcancel.drag",k).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function E(r,o){if(!v&&d.call(this,r,o)){var s=P(this,m.call(this,r,o),r,o,"mouse");s&&((0,i.Z)(r.view).on("mousemove.drag",A,a.Dd).on("mouseup.drag",Z,a.Dd),(0,u.Z)(r.view),(0,a.rG)(r),e=!1,t=r.clientX,n=r.clientY,s("start",r))}}function A(r){if((0,a.ZP)(r),!e){var i=r.clientX-t,o=r.clientY-n;e=i*i+o*o>x}g.mouse("drag",r)}function Z(t){(0,i.Z)(t.view).on("mousemove.drag mouseup.drag",null),(0,u.D)(t.view,e),(0,a.ZP)(t),g.mouse("end",t)}function M(t,n){if(d.call(this,t,n)){var e,r,i=t.changedTouches,o=m.call(this,t,n),u=i.length;for(e=0;e=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),r.Z.hasOwnProperty(n)?{space:r.Z[n],local:t}:t}},91226:function(t,n,e){"use strict";e.d(n,{P:function(){return r}});var r="http://www.w3.org/1999/xhtml";n.Z={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},46939:function(t,n,e){"use strict";function r(t,n){if(t=function(t){let n;for(;n=t.sourceEvent;)t=n;return t}(t),void 0===n&&(n=t.currentTarget),n){var e=n.ownerSVGElement||n;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(n.getScreenCTM().inverse())).x,r.y]}if(n.getBoundingClientRect){var i=n.getBoundingClientRect();return[t.clientX-i.left-n.clientLeft,t.clientY-i.top-n.clientTop]}}return[t.pageX,t.pageY]}e.d(n,{Z:function(){return r}})},23838:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(21680);function i(t){return"string"==typeof t?new r.Y1([[document.querySelector(t)]],[document.documentElement]):new r.Y1([[t]],r.Jz)}},21680:function(t,n,e){"use strict";e.d(n,{Y1:function(){return ti},ZP:function(){return tu},Jz:function(){return tr}});var r=e(83010),i=e(19701),o=e(24421),u=Array.prototype.find;function a(){return this.firstElementChild}var s=Array.prototype.filter;function c(){return Array.from(this.children)}function l(t){return Array(t.length)}function f(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function h(t,n,e,r,i,o){for(var u,a=0,s=n.length,c=o.length;an?1:t>=n?0:NaN}f.prototype={constructor:f,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var m=e(26667);function y(t){return function(){this.removeAttribute(t)}}function _(t){return function(){this.removeAttributeNS(t.space,t.local)}}function g(t,n){return function(){this.setAttribute(t,n)}}function w(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function b(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function x(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}var S=e(52627);function E(t){return function(){delete this[t]}}function A(t,n){return function(){this[t]=n}}function Z(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function M(t){return t.trim().split(/^|\s+/)}function z(t){return t.classList||new k(t)}function k(t){this._node=t,this._names=M(t.getAttribute("class")||"")}function P(t,n){for(var e=z(t),r=-1,i=n.length;++rthis._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var L=e(91226);function R(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===L.P&&n.documentElement.namespaceURI===L.P?n.createElement(t):n.createElementNS(e,t)}}function G(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function U(t){var n=(0,m.Z)(t);return(n.local?G:R)(n)}function $(){return null}function H(){var t=this.parentNode;t&&t.removeChild(this)}function K(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function W(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function Q(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r=A&&(A=E+1);!(S=g[A])&&++A=0;)(r=i[o])&&(u&&4^r.compareDocumentPosition(u)&&u.parentNode.insertBefore(r,u),u=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=d);for(var e=this._groups,r=e.length,i=Array(r),o=0;o1?this.each((null==n?E:"function"==typeof n?Z:A)(t,n)):this.node()[t]},classed:function(t,n){var e=M(t+"");if(arguments.length<2){for(var r=z(this.node()),i=-1,o=e.length;++i=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}),u=o.length;if(arguments.length<2){var a=this.node().__on;if(a){for(var s,c=0,l=a.length;c1?this.each((null==n?i:"function"==typeof n?u:o)(t,n,null==e?"":e)):s(this.node(),t)}function s(t,n){return t.style.getPropertyValue(n)||(0,r.Z)(t).getComputedStyle(t,null).getPropertyValue(n)}},83010:function(t,n,e){"use strict";function r(){}function i(t){return null==t?r:function(){return this.querySelector(t)}}e.d(n,{Z:function(){return i}})},19701:function(t,n,e){"use strict";function r(){return[]}function i(t){return null==t?r:function(){return this.querySelectorAll(t)}}e.d(n,{Z:function(){return i}})},89920:function(t,n,e){"use strict";function r(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}e.d(n,{Z:function(){return r}})},7782:function(t,n,e){"use strict";e.d(n,{sP:function(){return tb},CR:function(){return th}});var r,i=e(92626),o=e(22718);function u(t){return((t=Math.exp(t))+1/t)/2}var a=function t(n,e,r){function i(t,i){var o,a,s=t[0],c=t[1],l=t[2],f=i[0],h=i[1],p=i[2],v=f-s,d=h-c,m=v*v+d*d;if(m<1e-12)a=Math.log(p/l)/n,o=function(t){return[s+t*v,c+t*d,l*Math.exp(n*t*a)]};else{var y=Math.sqrt(m),_=(p*p-l*l+r*m)/(2*l*e*y),g=(p*p-l*l-r*m)/(2*p*e*y),w=Math.log(Math.sqrt(_*_+1)-_);a=(Math.log(Math.sqrt(g*g+1)-g)-w)/n,o=function(t){var r,i,o=t*a,f=u(w),h=l/(e*y)*(f*(((r=Math.exp(2*(r=n*o+w)))-1)/(r+1))-((i=Math.exp(i=w))-1/i)/2);return[s+h*v,c+h*d,l*f/u(n*o+w)]}}return o.duration=1e3*a*n/Math.SQRT2,o}return i.rho=function(n){var e=Math.max(.001,+n),r=e*e,i=r*r;return t(e,r,i)},i}(Math.SQRT2,2,4),s=e(23838),c=e(46939),l=e(21680),f=e(35374);function h(t,n,e){var r=new f.B7;return n=null==n?0:+n,r.restart(e=>{r.stop(),t(e+n)},n,e),r}var p=(0,i.Z)("start","end","cancel","interrupt"),v=[];function d(t,n,e,r,i,o){var u=t.__transition;if(u){if(e in u)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(s){var c,l,f,p;if(1!==e.state)return a();for(c in i)if((p=i[c]).name===e.name){if(3===p.state)return h(o);4===p.state?(p.state=6,p.timer.stop(),p.on.call("interrupt",t,t.__data__,p.index,p.group),delete i[c]):+c0)throw Error("too late; already scheduled");return e}function y(t,n){var e=_(t,n);if(e.state>3)throw Error("too late; already running");return e}function _(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw Error("transition not found");return e}function g(t,n){var e,r,i,o=t.__transition,u=!0;if(o){for(i in n=null==n?null:n+"",o){if((e=o[i]).name!==n){u=!1;continue}r=e.state>2&&e.state<5,e.state=6,e.timer.stop(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group),delete o[i]}u&&delete t.__transition}}function w(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}var b=180/Math.PI,x={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function S(t,n,e,r,i,o){var u,a,s;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(s=t*e+n*r)&&(e-=t*s,r-=n*s),(a=Math.sqrt(e*e+r*r))&&(e/=a,r/=a,s/=a),t*r180?s+=360:s-a>180&&(a+=360),h.push({i:f.push(i(f)+"rotate(",null,r)-2,x:w(a,s)})):s&&f.push(i(f)+"rotate("+s+r),(c=o.skewX)!==(l=u.skewX)?h.push({i:f.push(i(f)+"skewX(",null,r)-2,x:w(c,l)}):l&&f.push(i(f)+"skewX("+l+r),!function(t,n,e,r,o,u){if(t!==e||n!==r){var a=o.push(i(o)+"scale(",null,",",null,")");u.push({i:a-4,x:w(t,e)},{i:a-2,x:w(n,r)})}else(1!==e||1!==r)&&o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,u.scaleX,u.scaleY,f,h),o=u=null,function(t){for(var n,e=-1,r=h.length;++e()=>t;function D(t,n){var e=n-t;return e?function(n){return t+n*e}:C(isNaN(t)?n:t)}var X=function t(n){var e,r=1==(e=+(e=n))?D:function(t,n){var r,i,o;return n-t?(r=t,i=n,r=Math.pow(r,o=e),i=Math.pow(i,o)-r,o=1/o,function(t){return Math.pow(r+t*i,o)}):C(isNaN(t)?n:t)};function i(t,n){var e=r((t=(0,T.B8)(t)).r,(n=(0,T.B8)(n)).r),i=r(t.g,n.g),o=r(t.b,n.b),u=D(t.opacity,n.opacity);return function(n){return t.r=e(n),t.g=i(n),t.b=o(n),t.opacity=u(n),t+""}}return i.gamma=t,i}(1);function j(t){return function(n){var e,r,i=n.length,o=Array(i),u=Array(i),a=Array(i);for(e=0;e=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],u=r>0?t[r-1]:2*i-o,a=ra&&(u=n.slice(a,u),c[s]?c[s]+=u:c[++s]=u),(i=i[0])===(o=o[0])?c[s]?c[s]+=o:c[++s]=o:(c[++s]=null,l.push({i:s,x:w(i,o)})),a=Y.lastIndex;return a=0&&(t=t.slice(0,n)),!t||"start"===t})?m:y,function(){var u=i(this,o),a=u.on;a!==e&&(r=(e=a).copy()).on(t,n),u.on=r}))},attr:function(t,n){var e=(0,M.Z)(t),r="transform"===e?Z:B;return this.attrTween(t,"function"==typeof n?(e.local?U:G)(e,r,P(this,"attr."+t,n)):null==n?(e.local?q:I)(e):(e.local?R:L)(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw Error();var r=(0,M.Z)(t);return this.tween(e,(r.local?$:H)(r,n))},style:function(t,n,e){var r,i,o,u,a,s,c,l,f,h,p,v,d,m,_,g,w,b,x,S,E,Z="transform"==(t+="")?A:B;return null==n?this.styleTween(t,(r=t,function(){var t=(0,tr.S)(this,r),n=(this.style.removeProperty(r),(0,tr.S)(this,r));return t===n?null:t===i&&n===o?u:u=Z(i=t,o=n)})).on("end.style."+t,ti(t)):"function"==typeof n?this.styleTween(t,(a=t,s=P(this,"style."+t,n),function(){var t=(0,tr.S)(this,a),n=s(this),e=n+"";return null==n&&(this.style.removeProperty(a),e=n=(0,tr.S)(this,a)),t===e?null:t===c&&e===l?f:(l=e,f=Z(c=t,n))})).each((h=this._id,w="end."+(g="style."+(p=t)),function(){var t=y(this,h),n=t.on,e=null==t.value[g]?_||(_=ti(p)):void 0;(n!==v||m!==e)&&(d=(v=n).copy()).on(w,m=e),t.on=d})):this.styleTween(t,(b=t,E=n+"",function(){var t=(0,tr.S)(this,b);return t===E?null:t===x?S:S=Z(x=t,n)}),e).on("end.style."+t,null)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw Error();return this.tween(r,function(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(n){this.style.setProperty(t,o.call(this,n),e)}),r}return o._value=n,o}(t,n,null==e?"":e))},text:function(t){var n,e;return this.tween("text","function"==typeof t?(n=P(this,"text",t),function(){var t=n(this);this.textContent=null==t?"":t}):(e=null==t?"":t+"",function(){this.textContent=e}))},textTween:function(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw Error();return this.tween(n,function(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){this.textContent=r.call(this,t)}),n}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}))},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=_(this.node(),e).tween,o=0,u=i.length;o()=>t;function tl(t,{sourceEvent:n,target:e,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function tf(t,n,e){this.k=t,this.x=n,this.y=e}tf.prototype={constructor:tf,scale:function(t){return 1===t?this:new tf(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new tf(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var th=new tf(1,0,0);function tp(t){t.stopImmediatePropagation()}function tv(t){t.preventDefault(),t.stopImmediatePropagation()}function td(t){return(!t.ctrlKey||"wheel"===t.type)&&!t.button}function tm(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function ty(){return this.__zoom||th}function t_(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function tg(){return navigator.maxTouchPoints||"ontouchstart"in this}function tw(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],u=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),u>o?(o+u)/2:Math.min(0,o)||Math.max(0,u))}function tb(){var t,n,e,r=td,u=tm,l=tw,f=t_,h=tg,p=[0,1/0],v=[[-1/0,-1/0],[1/0,1/0]],d=250,m=a,y=(0,i.Z)("start","zoom","end"),_=0,w=10;function b(t){t.property("__zoom",ty).on("wheel.zoom",z,{passive:!1}).on("mousedown.zoom",k).on("dblclick.zoom",P).filter(h).on("touchstart.zoom",T).on("touchmove.zoom",N).on("touchend.zoom touchcancel.zoom",C).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function x(t,n){return(n=Math.max(p[0],Math.min(p[1],n)))===t.k?t:new tf(n,t.x,t.y)}function S(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new tf(t.k,r,i)}function E(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function A(t,n,e,r){t.on("start.zoom",function(){Z(this,arguments).event(r).start()}).on("interrupt.zoom end.zoom",function(){Z(this,arguments).event(r).end()}).tween("zoom",function(){var t=arguments,i=Z(this,t).event(r),o=u.apply(this,t),a=null==e?E(o):"function"==typeof e?e.apply(this,t):e,s=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),c=this.__zoom,l="function"==typeof n?n.apply(this,t):n,f=m(c.invert(a).concat(s/c.k),l.invert(a).concat(s/l.k));return function(t){if(1===t)t=l;else{var n=f(t),e=s/n[2];t=new tf(e,a[0]-n[0]*e,a[1]-n[1]*e)}i.zoom(null,t)}})}function Z(t,n,e){return!e&&t.__zooming||new M(t,n)}function M(t,n){this.that=t,this.args=n,this.active=0,this.sourceEvent=null,this.extent=u.apply(t,n),this.taps=0}function z(t,...n){if(r.apply(this,arguments)){var e=Z(this,n).event(t),i=this.__zoom,o=Math.max(p[0],Math.min(p[1],i.k*Math.pow(2,f.apply(this,arguments)))),u=(0,c.Z)(t);if(e.wheel)(e.mouse[0][0]!==u[0]||e.mouse[0][1]!==u[1])&&(e.mouse[1]=i.invert(e.mouse[0]=u)),clearTimeout(e.wheel);else{if(i.k===o)return;e.mouse=[u,i.invert(u)],g(this),e.start()}tv(t),e.wheel=setTimeout(function(){e.wheel=null,e.end()},150),e.zoom("mouse",l(S(x(i,o),e.mouse[0],e.mouse[1]),e.extent,v))}}function k(t,...n){if(!e&&r.apply(this,arguments)){var i=t.currentTarget,u=Z(this,n,!0).event(t),a=(0,s.Z)(t.view).on("mousemove.zoom",function(t){if(tv(t),!u.moved){var n=t.clientX-h,e=t.clientY-p;u.moved=n*n+e*e>_}u.event(t).zoom("mouse",l(S(u.that.__zoom,u.mouse[0]=(0,c.Z)(t,i),u.mouse[1]),u.extent,v))},!0).on("mouseup.zoom",function(t){a.on("mousemove.zoom mouseup.zoom",null),(0,o.D)(t.view,u.moved),tv(t),u.event(t).end()},!0),f=(0,c.Z)(t,i),h=t.clientX,p=t.clientY;(0,o.Z)(t.view),tp(t),u.mouse=[f,this.__zoom.invert(f)],g(this),u.start()}}function P(t,...n){if(r.apply(this,arguments)){var e=this.__zoom,i=(0,c.Z)(t.changedTouches?t.changedTouches[0]:t,this),o=e.invert(i),a=e.k*(t.shiftKey?.5:2),f=l(S(x(e,a),i,o),u.apply(this,n),v);tv(t),d>0?(0,s.Z)(this).transition().duration(d).call(A,f,i,t):(0,s.Z)(this).call(b.transform,f,i,t)}}function T(e,...i){if(r.apply(this,arguments)){var o,u,a,s,l=e.touches,f=l.length,h=Z(this,i,e.changedTouches.length===f).event(e);for(tp(e),u=0;u{let n;let e=new Set,r=(t,r)=>{let i="function"==typeof t?t(n):t;if(!Object.is(i,n)){let t=n;n=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},n,i),e.forEach(e=>e(n,t))}},i=()=>n,o={setState:r,getState:i,getInitialState:()=>u,subscribe:t=>(e.add(t),()=>e.delete(t)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),e.clear()}},u=n=t(r,i,o);return o},u=t=>t?o(t):o,{useDebugValue:a}=r,{useSyncExternalStoreWithSelector:s}=i,c=t=>t;function l(t,n=c,e){let r=s(t.subscribe,t.getState,t.getServerState||t.getInitialState,n,e);return a(r),r}let f=(t,n)=>{let e=u(t),r=(t,r=n)=>l(e,t,r);return Object.assign(r,e),r},h=(t,n)=>t?f(t,n):f}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7043.cca93c08647094c4.js b/dbgpt/app/static/web/_next/static/chunks/7043.e64eb06a070e4407.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/7043.cca93c08647094c4.js rename to dbgpt/app/static/web/_next/static/chunks/7043.e64eb06a070e4407.js index adb9a654d..5b4ae631a 100644 --- a/dbgpt/app/static/web/_next/static/chunks/7043.cca93c08647094c4.js +++ b/dbgpt/app/static/web/_next/static/chunks/7043.e64eb06a070e4407.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7043],{17043:function(e,t,s){s.r(t),s.d(t,{conf:function(){return n},language:function(){return i}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},i={defaultToken:"",tokenPostfix:".java",keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false","yield","record","sealed","non-sealed","permits"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7121.57aa484d64e08de9.js b/dbgpt/app/static/web/_next/static/chunks/7121.0078f0547a5167f4.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/7121.57aa484d64e08de9.js rename to dbgpt/app/static/web/_next/static/chunks/7121.0078f0547a5167f4.js index 069123727..ffe86482d 100644 --- a/dbgpt/app/static/web/_next/static/chunks/7121.57aa484d64e08de9.js +++ b/dbgpt/app/static/web/_next/static/chunks/7121.0078f0547a5167f4.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7121],{87121:function(E,T,e){e.r(T),e.d(T,{setup:function(){return D}});var A=e(10558),R=e(81065),S=e(47578);let I=[{name:"ABS",params:[{name:"numeric_expression"}],desc:"返回指定数值表达式的绝对值(正值)的数学函数。ABS 将负值更改为正值,对零或正值没有影响。"},{name:"ACOS",params:[{name:"numeric_expression"}],desc:"返回以弧度表示的角,其余弦为指定的 NUMBER 表达式,也称为反余弦。"},{name:"ASIN",params:[],desc:"",isNotSupport:!0},{name:"ATAN",params:[],desc:"",isNotSupport:!0},{name:"ATAN2",params:[],desc:"",isNotSupport:!0},{name:"BITAND",params:[{name:"nExpression1"},{name:"nExpression2"}],desc:"运算符按位进行“与”操作。输入和输出类型均为 NUMBER 数据类型。"},{name:"CEIL",params:[{name:"numeric_expression"}],desc:"返回值大于等于数值 numeric_expression 的最小整数。"},{name:"COS",params:[],desc:"",isNotSupport:!0},{name:"COSH",params:[],desc:"",isNotSupport:!0},{name:"EXP",params:[{name:"numeric_expression"}],desc:"返回 e 的 numeric_expression 次幂(e 为数学常量,e = 2.71828183... )。"},{name:"FLOOR",params:[{name:"numeric_expression"}],desc:"返回小于等于数值 numeric_expression 的最大整数。"},{name:"LN",params:[{name:"numeric_expression"}],desc:"返回以 e 为底的 numeric_expression 的对数(e 为数学常量 e = 2.71828183...)。"},{name:"LOG",params:[{name:"x"},{name:"y"}],desc:"返回以 x 为底的 y 的对数。"},{name:"MOD",params:[{name:"x"},{name:"y"}],desc:"返回 x 除以 y 的余数。"},{name:"POWER",params:[{name:"x"},{name:"y"}],desc:"返回 x 的 y 次幂。"},{name:"REMAINDER",params:[{name:"x"},{name:"y"}],desc:"返回 x 除以 y 的余数。"},{name:"ROUND",params:[{name:"numeric"},{name:"decimal"}],desc:"返回参数 numeric 四舍五入后的值。"},{name:"SIGN",params:[{name:"n"}],desc:"返回数字 n 的符号,大于 0 返回 1,小于 0 返回 -1 ,等于 0 返回 0。"},{name:"SIN",params:[],desc:"",isNotSupport:!0},{name:"SINH",params:[],desc:"",isNotSupport:!0},{name:"SQRT",params:[{name:"n"}],desc:"返回 n 的平方根。"},{name:"TAN",params:[],desc:"",isNotSupport:!0},{name:"TANH",params:[],desc:"",isNotSupport:!0},{name:"TRUNC",params:[{name:"numberic"},{name:"precision"}],desc:"返回 numberic 按精度 precision 截取后的值。"},{name:"WIDTH_BUCKET",params:[],desc:"",isNotSupport:!0},{name:"CHR",params:[{name:"n"}],desc:"将 n 转换为等价的一个或多个字符返回,且返回值与当前系统的字符集相关。"},{name:"CONCAT",params:[{name:"c1"},{name:"c2"}],desc:"连接两个字符串。"},{name:"INITCAP ",params:[{name:"c1"}],desc:"返回字符串并将字符串中每个单词的首字母大写,其他字母小写。"},{name:"LOWER",params:[{name:"c1"}],desc:"将字符串全部转为小写。"},{name:"LPAD ",params:[{name:"c1"},{name:"n"},{name:"c2"}],desc:"在字符串 c1 的左边用字符串 c2 填充,直到长度为 n 时为止。"},{name:"LTRIM",params:[{name:"c1"},{name:"c2"}],desc:"删除左边出现的字符串。"},{name:"REGEXP_REPLACE",params:[{name:"source_char"},{name:"pattern"},{name:"replace_string"},{name:"position"},{name:"occurrence"},{name:"match_param"}],desc:"正则表达式替换。"},{name:"REGEXP_SUBSTR",params:[],desc:"",isNotSupport:!0},{name:"REPLACE",params:[{name:"c1"},{name:"c2"},{name:"c3"}],desc:"将字符表达式值中,部分相同字符串,替换成新的字符串。"},{name:"RPAD",params:[{name:"c1"},{name:"n"},{name:"c2"}],desc:"在字符串 c1 的右边用字符串 c2 填充,直到长度为 n 时为止。"},{name:"RTRIM",params:[{name:"c1"},{name:"c2"}],desc:"删除右边出现的字符串,此函数对于格式化查询的输出非常有用。"},{name:"SUBSTR ",params:[{name:"c1"},{name:"n1"},{name:"n2"}],desc:"截取子字符串。其中多字节符(汉字、全角符等)按 1 个字符计算。"},{name:"TRANSLATE",params:[{name:"c1"},{name:"c2"},{name:"c3"}],desc:"将字符表达式值中,指定字符替换为新字符。多字节符(汉字、全角符等),按 1 个字符计算。"},{name:"TRIM ",body:"TRIM(${1:trim_character} FROM ${2:trim_source})",desc:"删除一个字符串的开头或结尾(或两者)的字符。"},{name:"UPPER",params:[{name:"c1"}],desc:"将字符串全部转为大写。"},{name:"ASCII",params:[{name:"x"}],desc:"返回字符表达式最左端字符的 ASCII 码值。"},{name:"INSTR",params:[{name:"c1"},{name:"c2"},{name:"i"},{name:"j"}],desc:"在一个字符串中搜索指定的字符,返回发现指定的字符的位置。"},{name:"LENGTH",params:[{name:"c1"}],desc:"返回字符串的长度。"},{name:"REGEXP_COUNT",params:[],desc:"",isNotSupport:!0},{name:"REGEXP_INSTR",params:[],desc:"",isNotSupport:!0},{name:"ADD_MONTHS",params:[{name:"date"},{name:"n"}],desc:"返回在日期 date 基础上 n 个月后的日期值,如果 n 的值为负数则返回日期 date 基础上 n 个月前的日期值(date 减去 n 个月)。"},{name:"CURRENT_DATE",desc:"当前会话时区中的当前日期。"},{name:"CURRENT_TIMESTAMP",params:[{name:"precision"}],desc:"返回 TIMESTAMP WITH TIME ZONE 数据类型的当前会话时区中的当前日期,返回值中包含当前的时区信息。"},{name:"DBTIMEZONE",desc:"返回当前数据库实例的时区,在 OceanBase 中数据库时区恒为+00:00,且不支持修改。"},{name:"EXTRACT",body:"EXTRACT(${1:fields} FROM ${2:datetime})",desc:"从指定的时间字段或表达式中抽取年、月、日、时、分、秒等元素。"},{name:"FROM_TZ",params:[{name:"timestamp_value"},{name:"timestamp_value"}],desc:"将一个 TIMSTAMP 数据类型的值和时区信息拼成一个 TIMESTAMP WITH TIME ZONE 数据类型的时间值。"},{name:"LAST_DAY",params:[{name:"date"}],desc:"返回日期 date 所在月份的最后一天的日期。"},{name:"LOCALTIMESTAMP",params:[{name:"timestamp_precision"}],desc:"返回当前会话时区中的当前日期,返回 TIMESTAMP 数据类型的值。"},{name:"MONTHS_BETWEEN ",params:[{name:"date1"},{name:"date2"}],desc:"返回返回参数 date1 到 date2 之间的月数。"},{name:"NEW_TIME",params:[],desc:"",isNotSupport:!0},{name:"NEXT_DAY",params:[{name:"d1"},{name:"c1"}],desc:"返回日期 d1 的下一周中 c1(星期值)所在的日期值。"},{name:"NUMTODSINTERVAL",params:[{name:"n"},{name:"interval_unit"}],desc:"把参数 n 转为以参数 interval_unit 为单位的 INTERVAL DAY TO SECOND 数据类型的值。"},{name:"NUMTOYMINTERVAL",params:[{name:"n"},{name:"interval_unit"}],desc:"把参数 n 转为以 interval_unit 为单位的 INTERVAL YEAR TO MONTH 数据类型的值。"},{name:"ROUND",params:[{name:"date"},{name:"fmt"}],desc:"返回以参数 fmt 为单位距离的离指定日期 date 最近的日期时间值。"},{name:"SESSIONTIMEZONE",desc:"当前会话时区。"},{name:"SYS_EXTRACT_UTC",params:[{name:"datetime_with_timezone"}],desc:"返回与指定时间相对应的标准 UTC 时间。"},{name:"SYSDATE",desc:"当前日期。"},{name:"SYSTIMESTAMP",desc:"系统当前日期,返回值的秒的小数位包含 6 位精度,且包含当前时区信息。"},{name:"TO_CHAR",params:[{name:"datetime"},{name:"fmt"},{name:"nlsparam"}],desc:"将 DATE、TIMESTAMP、TIMESTAMP WITH TIME ZONE、TIMESTAMP WITH LOCAL TIME ZONE、INTERVAL DAY TO SECOND 和 INTERVAL YEAR TO MONTH 等数据类型的值按照参数 fmt 指定的格式转换为 VARCHAR2 数据类型的值。"},{name:"TO_DSINTERVAL",params:[{name:"n"}],desc:"将一个 CHAR、VARCHAR2、NCHAR 或 NVARCHAR2 数据类型的字符串转换为一个 INTERVAL DAY TO SECOND 数据类型的值。"},{name:"TO_TIMESTAMP",params:[{name:"char"},{name:"fmt"},{name:"nlsparam"}],desc:"将字符串转换为 TIMESTAMP 数据类型。"},{name:"TO_TIMESTAMP_TZ ",params:[{name:"char"},{name:"fmt"},{name:"nlsparam"}],desc:"将字符串转换为 TIMESTAMP WITH TIME ZONE 数据类型,包含时区信息。"},{name:"TO_YMINTERVAL",params:[{name:"n"}],desc:"将一个 CHAR、VARCHAR2、NCHAR 或 NVARCHAR2 数据类型的字符串转换为一个 INTERVAL YEAR TO MONTH 数据类型的值,该函数可以用来对一个日期时间值进行加减计算。"},{name:"TRUNC",params:[{name:"date"},{name:"fmt"}],desc:"返回以参数 fmt 为单位距离的离指定日期 date 最近的日期时间值,并且返回的日期值在 date 之前。"},{name:"TZ_OFFSET",params:[{name:"n"}],desc:"返回时区 n 的时区偏移量。时区偏移量是指与格林尼治标准时间 GMT 的差(小时和分钟)。"},{name:"GREATEST",params:[{name:"expr"}],desc:"返回一个或多个表达式列表中的最大值。"},{name:"LEAST",params:[{name:"expr"}],desc:"返回一个或多个表达式列表中的最小值。"},{name:"CAST",body:"CAST(${1:expr} AS ${2:type_name})",desc:"将源数据类型的表达式显式转换为另一种数据类型。"},{name:"ASCIISTR",params:[],desc:"",isNotSupport:!0},{name:"BIN_TO_NUM",params:[],desc:"",isNotSupport:!0},{name:"CHARTOROWID",params:[],desc:"",isNotSupport:!0},{name:"HEXTORAW",params:[{name:"char"}],desc:"将 CHAR、VARCHAR2、NCHAR 或 NVARCHAR2 数据类型中包含十六进制数字的字符转换为 RAW 数据类型。"},{name:"RAWTOHEX",params:[{name:"raw"}],desc:"将二进制数转换为一个相应的十六进制表示的字符串。"},{name:"TO_BINARY_DOUBLE ",params:[{name:"expr"},{name:"fmt"},{name:"nlsparam"}],desc:"返回一个双精度的 64 位浮点数。"},{name:"TO_BINARY_FLOAT",params:[{name:"expr"},{name:"fmt"},{name:"nlsparam"}],desc:"返回一个单精度的 32 位浮点数。"},{name:"TO_CHAR",params:[{name:"character"}],desc:"将 NCHAR、NVARCHAR2 或 CLOB 数据转换为数据库字符集。"},{name:"TO_DATE",params:[{name:"char"},{name:"fmt"},{name:"nlsparam"}],desc:"将 CHAR、VARCHAR、NCHAR 或 NVARCHAR2 数据类型的字符转换为日期数据类型的值。"},{name:"TO_DSINTERVAL",params:[{name:"n"}],desc:"将一个 CHAR、VARCHAR2、NCHAR 或 NVARCHAR2 数据类型的字符串转换为一个 INTERVAL DAY TO SECOND 数据类型的值,该函数可以用来对一个日期时间值进行加减计算。"},{name:"TO_NUMBER",params:[{name:"char"},{name:"fmt"},{name:"nlsparam"}],desc:"将 expr 转换为数值数据类型的值。expr 可以是 CHAR、VARCHAR2、NCHAR、NVARCHAR2、BINARY_FLOAT 或 BINARY_DOUBLE 数据类型的数值。"},{name:"TO_TIMESTAMP",params:[{name:"char"},{name:"fmt"},{name:"nlsparam"}],desc:"将字符串转换为 TIMESTAMP 数据类型。"},{name:"TO_TIMESTAMP_TZ",params:[{name:"char"},{name:"fmt"},{name:"nlsparam"}],desc:"将字符串转换为 TIMESTAMP WITH TIME ZONE 数据类型,包含时区信息。"},{name:"TO_YMINTERVAL",params:[{name:"n"}],desc:"将一个 CHAR、VARCHAR2、NCHAR 或 NVARCHAR2 数据类型的字符串转换为一个 INTERVAL YEAR TO MONTH 数据类型的值,该函数可以用来对一个日期时间值进行加减计算。"},{name:"DECODE",params:[{name:"condition"},{name:"search"},{name:"result"}],desc:"依次用参数 search 与 condition 做比较,直至 condition 与 search 的值相等,则返回对应 search 后跟随的参数 result 的值。如果没有 search 与 condition 相等,则返回参数 default 的值。"},{name:"ORA_HASH",params:[{name:"expr"},{name:"max_bucket"},{name:"seed_value"}],desc:"获取对应表达式的 HASH 值。"},{name:"VSIZE",params:[{name:"x"}],desc:"返回 x 的字节大小数。"},{name:"COALESCE",params:[{name:"expr1"},{name:"expr1"}],desc:"返回参数列表中第一个非空表达式,必须指定最少两个参数。"},{name:"LNNVL",params:[{name:"condition"}],desc:"判断条件中的一个或者两个操作数是否为 NULL"},{name:"NULLIF",params:[],desc:"",isNotSupport:!0},{name:"NVL",params:[{name:"expr1"},{name:"expr2"}],desc:"返回一个非 NULL 值"},{name:"NVL2 ",params:[{name:"expr1"},{name:"expr2"},{name:"expr3"}],desc:"根据表达式是否为空,返回不同的值。"}].concat([{name:"AVG",params:[{name:"expr"}],desc:"返回数值列的平均值。"},{name:"COUNT",params:[{name:"expr"}],desc:"查询 expr 的行数。"},{name:"SUM",params:[{name:"expr"}],desc:"返回参数中指定列的和。"},{name:"GROUPING",params:[],desc:"",isNotSupport:!0},{name:"MAX",params:[{name:"expr"}],desc:"返回参数中指定的列中的最大值。"},{name:"MIN",params:[{name:"expr"}],desc:"返回参数中指定列的最小值。"},{name:"LISTAGG",body:"LISTAGG (${1:measure_expr}) WITHIN GROUP (ORDER BY ${2: expr}) OVER ${3:query_partition_clause}",desc:"用于列转行,LISTAGG 对 ORDER BY 子句中指定的每个组内的数据进行排序,然后合并度量列的值。"},{name:"ROLLUP",params:[{name:"col1"}],desc:"在数据统计和报表生成过程中,它可以为每个分组返回一个小计,同时为所有分组返回总计。"},{name:"STDDEV",params:[{name:"expr"}],desc:"计算总体标准差。"},{name:"STDDEV_POP",params:[{name:"expr"}],desc:"计算总体标准差。"},{name:"STDDEV_SAMP",params:[{name:"expr"}],desc:"计算样本标准差。"},{name:"VARIANCE",params:[{name:"expr"}],desc:"返回参数指定列的方差。"},{name:"APPROX_COUNT_DISTINCT ",params:[{name:"expr"}],desc:"对某一列去重后的行数进行计算,结果只能返回一个值,且该值是近似值,该函数可以进一步用于计算被引用的列的选择性。"}]).concat([]);var N=e(54375),O=e(54768);let a=new O.q(window.obMonaco.getWorkerUrl("oboracle")),n=N.Ud(a.getWorker());var L=e(36498),C=function(E,T,e,A){return new(e||(e=Promise))(function(R,S){function I(E){try{O(A.next(E))}catch(E){S(E)}}function N(E){try{O(A.throw(E))}catch(E){S(E)}}function O(E){var T;E.done?R(E.value):((T=E.value)instanceof e?T:new e(function(E){E(T)})).then(I,N)}O((A=A.apply(E,T||[])).next())})},s=class{constructor(E){this.triggerCharacters=["."],this.plugin=null,this.plugin=E}getModelOptions(E){var T;return null===(T=this.plugin)||void 0===T?void 0:T.modelOptionsMap.get(E)}provideCompletionItems(E,T,e,A){let{offset:R,value:S,delimiter:I,range:N,triggerCharacter:O}=(0,L.y)(E,T,e,this.plugin);return this.getCompleteWordFromOffset(R,S,I,N,E,O)}getColumnList(E,T,e){var A,R;return C(this,void 0,void 0,function*(){let I=this.getModelOptions(E.id),N=[],O=yield null===(A=null==I?void 0:I.getTableColumns)||void 0===A?void 0:A.call(I,T.tableName,T.schemaName);return(null==O?void 0:O.length)||T.schemaName||(O=yield null===(R=null==I?void 0:I.getTableColumns)||void 0===R?void 0:R.call(I,T.tableName,"sys")),O&&O.forEach(E=>{N.push((0,S.yD)(E.columnName,T.tableName,T.schemaName,e))}),N})}getSchemaList(E,T){var e;return C(this,void 0,void 0,function*(){let A=this.getModelOptions(E.id),R=[],I=yield null===(e=null==A?void 0:A.getSchemaList)||void 0===e?void 0:e.call(A);return I&&I.forEach(E=>{R.push((0,S.lW)(E,T))}),R})}getTableList(E,T,e){var A;return C(this,void 0,void 0,function*(){let R=this.getModelOptions(E.id),I=[],N=yield null===(A=null==R?void 0:R.getTableList)||void 0===A?void 0:A.call(R,T);return N&&N.forEach(E=>{I.push((0,S.Pf)(E,T,!1,e))}),I})}getFunctions(E,T){var e;return C(this,void 0,void 0,function*(){let A=this.getModelOptions(E.id),R=yield null===(e=null==A?void 0:A.getFunctions)||void 0===e?void 0:e.call(A);return(R||[]).concat(I).map(E=>(0,S.Ht)(E,T))})}getSnippets(E,T){var e;return C(this,void 0,void 0,function*(){let A=this.getModelOptions(E.id),R=yield null===(e=null==A?void 0:A.getSnippets)||void 0===e?void 0:e.call(A);return(R||[]).map(E=>(0,S.k8)(E,T))})}getCompleteWordFromOffset(E,T,e,A,R,I){var N;return C(this,void 0,void 0,function*(){let I=n.parser,O=yield I.getAutoCompletion(T,e,E);if(O){let E=this.getModelOptions(R.id),T=[],e=!0;for(let I of O)if("string"!=typeof I&&(e=!1),"string"==typeof I)T.push((0,S.Lx)(I,A));else if("allTables"===I.type)T=T.concat((yield this.getTableList(R,I.schema,A))),I.schema||(T=T.concat((yield this.getTableList(R,"sys",A))));else if("tableColumns"===I.type)T=T.concat((yield this.getColumnList(R,I,A)));else if("withTable"===I.type)T.push((0,S.Pf)(I.tableName,"CTE",!1,A));else if("allSchemas"===I.type)T=T.concat((yield this.getSchemaList(R,A)));else if("objectAccess"===I.type){let e=I.objectName,S=yield null===(N=null==E?void 0:E.getSchemaList)||void 0===N?void 0:N.call(E),O=null==S?void 0:S.find(E=>E===e);if(O){T=T.concat((yield this.getTableList(R,I.objectName,A)));continue}let a=e.split("."),n=a.length>1?a[1]:a[0],L=a.length>1?a[0]:void 0,C=yield this.getColumnList(R,{tableName:n,schemaName:L},A);(null==C?void 0:C.length)&&(T=T.concat(C))}else"fromTable"===I.type?T.push((0,S.Pf)(I.tableName,I.schemaName,!0,A)):"allFunction"===I.type&&(T=T.concat((yield this.getFunctions(R,A))));return e&&(T=T.concat((yield this.getSnippets(R,A)))),{suggestions:T,incomplete:!1}}return{suggestions:[],incomplete:!1}})}};let t=["*","ADMIN","AFTER","ALLOCATE","ANALYZE","ARCHIVE","ARCHIVELOG","AUTHORIZATION","AVG","BACKUP","BECOME","BEFORE","BEGIN_KEY","BLOCK","BODY","CACHE","CANCEL","CASCADE","CHANGE","CHARACTER","CHECKPOINT","CLOSE","COBOL","COMMIT","COMPILE","CONSTRAINT","CONSTRAINTS","CONTENTS","CONTINUE","CONTROLFILE","COUNT","CURSOR","CYCLE","DATABASE","DATAFILE","DBA","DEC","DECLARE","DISABLE","DISMOUNT","DOUBLE","DUMP","EACH","ENABLE","END","ESCAPE","EVENTS","EXCEPT","EXCEPTIONS","EXEC","EXECUTE","EXPLAIN","EXTENT","EXTERNALLY","FETCH","FLUSH","FORCE","FOREIGN","FORTRAN","FOUND","FREELIST","FREELISTS","FUNCTION","GO","GOTO","GROUPS","INCLUDING","INDICATOR","INITRANS","INSTANCE","INT","KEY","LANGUAGE","LAYER","LINK","LISTS","LOGFILE","MANAGE","MANUAL","MAX","MAXDATAFILES","MAXINSTANCES","MAXLOGFILES","MAXLOGHISTORY","MAXLOGMEMBERS","MAXTRANS","MAXVALUE","MIN","MINEXTENTS","MINVALUE","MODULE","MOUNT","NEW","NEXT","NOARCHIVELOG","NOCACHE","NOCYCLE","NOMAXVALUE","NOMINVALUE","NONE","NOORDER","NORESETLOGS","NOSORT","NUMERIC","OFF","OLD","ONLY","OPEN","OPTIMAL","OWN","PACKAGE_KEY","PARALLEL","PCTINCREASE","PCTUSED","PLAN","PLI","PRECISION","PRIMARY","PRIVATE","PROCEDURE","PROFILE","QUOTA","READ","REAL","RECOVER","REFERENCES","REFERENCING","RESETLOGS","RESTRICTED","REUSE","ROLE","ROLES","ROLLBACK","SAVEPOINT","SCHEMA","SCN","SECTION","SEGMENT","SEQUENCE","SHARED","SNAPSHOT","SOME","SORT","SQL","SQLCODE","SQLERROR","SQLSTATE","STATEMENT_ID","STATISTICS","STOP","STORAGE","SUM","SWITCH","SYSTEM","TABLES","TABLESPACE","TEMPORARY","THREAD","TIME","TRACING","TRANSACTION","TRIGGERS","TRUNCATE","UNDER","UNLIMITED","UNTIL","USE","USING","WHEN","WORK","WRITE","ACCOUNT","ACCESSIBLE","ACTION","ACTIVE","ADDDATE","ADMINISTER","AGGREGATE","AGAINST","ALGORITHM","ALWAYS","ANALYSE","APPROX_COUNT_DISTINCT","APPROX_COUNT_DISTINCT_SYNOPSIS","APPROX_COUNT_DISTINCT_SYNOPSIS_MERGE","ASENSITIVE","AT","AUTHORS","AUTO","AUTOEXTEND_SIZE","AVG_ROW_LENGTH","BASE","BASELINE","BASELINE_ID","BASIC","BALANCE","BINARY","BINARY_DOUBLE","BINARY_FLOAT","BINDING","BINLOG","BIT","BLOB","BLOCK_SIZE","BLOCK_INDEX","BLOOM_FILTER","BOOL","BOOLEAN","BOOTSTRAP","BOTH","BTREE","BULK","BULK_EXCEPTIONS","BULK_ROWCOUNT","BYTE","BREADTH","CALL","CASCADED","CAST","CATALOG_NAME","CHAIN","CHANGED","CHARSET","CHECKSUM","CIPHER","CLASS_ORIGIN","CLEAN","CLEAR","CLIENT","CLOB","CLOG","CLUSTER_ID","CLUSTER_NAME","COALESCE","CODE","COLLATE","COLLATION","COLLECT","COLUMN_FORMAT","COLUMN_NAME","COLUMN_OUTER_JOIN_SYMBOL","COLUMN_STAT","COLUMNS","COMMITTED","COMPACT","COMPLETION","COMPRESSED","COMPRESSION","COMPUTE","CONCURRENT","CONNECTION","CONNECT_BY_ISCYCLE","CONNECT_BY_ISLEAF","CONSISTENT","CONSISTENT_MODE","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTRIBUTORS","CONVERT","COPY","CORR","COVAR_POP","COVAR_SAMP","CPU","CREATE_TIMESTAMP","CROSS","CUBE","CUME_DIST","CURRENT_USER","CURRENT_SCHEMA","CURRENT_DATE","CURRENT_TIMESTAMP","DATA","DATABASES","DATABASE_ID","DATA_TABLE_ID","DATE_ADD","DATE_SUB","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DBA_RECYCLEBIN","DBTIMEZONE","DEALLOCATE","DEFAULT_AUTH","DEFINER","DELAY","DELAYED","DELAY_KEY_WRITE","DENSE_RANK","DEPTH","DES_KEY_FILE","DESCRIBE","DESTINATION","DETERMINISTIC","DIAGNOSTICS","DICTIONARY","DIRECTORY","DISCARD","DISK","DISTINCTROW","DIV","DO","DUMPFILE","DUPLICATE","DUPLICATE_SCOPE","DYNAMIC","DEFAULT_TABLEGROUP","E","EFFECTIVE","ELSEIF","ENCLOSED","ENCRYPTION","ENDS","ENGINE_","ENGINES","ENUM","ERROR_CODE","ERROR_P","ERROR_INDEX","ERRORS","ESCAPED","ESTIMATE","EVENT","EVERY","EXCHANGE","EXCLUDE","EXEMPT","EXIT","EXPANSION","EXPIRE","EXPIRE_INFO","EXPORT","EXTENDED","EXTENDED_NOADDR","EXTENT_SIZE","EXTRACT","FAILED_LOGIN_ATTEMPTS","FAST","FAULTS","FIELDS","FILE_ID","FILEX","FINAL_COUNT","FIRST","FIRST_VALUE","FIXED","FLASHBACK","FLOAT4","FLOAT8","FOLLOWER","FOLLOWING","FORMAT","FREEZE","FREQUENCY","FROZEN","FULL","G","GENERAL","GENERATED","GEOMETRY","GEOMETRYCOLLECTION","GET","GET_FORMAT","GLOBAL","GLOBAL_ALIAS","GRANTS","GROUPING","GTS","HANDLER","HASH","HELP","HIGH","HIGH_PRIORITY","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","HOST","HOSTS","HOUR","ID","IDC","IF","IFIGNORE","IGNORE","IGNORE_SERVER_IDS","ILOG","ILOGCACHE","IMPORT","INDEXES","INDEX_TABLE_ID","INCR","INCLUDE","INFO","INFILE","INITIAL_SIZE","INNER","INNER_PARSE","INOUT","INSENSITIVE","INSERT_METHOD","INSTALL","INT1","INT2","INT3","INT4","INT8","INTERVAL","INVOKER","IO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IO_THREAD","IPC","ISNULL","ISOLATION","ISSUER","IS_TENANT_SYS_POOL","ITERATE","JOB","JOIN","JSON","K","KEY_BLOCK_SIZE","KEYS","KEYSTORE","KEY_VERSION","KILL","KEEP","KVCACHE","LAG","LAST","LAST_VALUE","LEAD","LEADER","LEADING","LEAVE","LEAVES","LEFT","LESS","LIMIT","LINEAR","LINES","LINESTRING","LIST","LISTAGG","LNNVL","LOAD","LOCAL","LOCALITY","LOCALTIMESTAMP","LOCK_","LOCKED","LOCKS","LOGONLY_REPLICA_NUM","LOGS","LONGBLOB","LONGTEXT","LOOP","LOW","LOW_PRIORITY","ISOPEN","ISOLATION_LEVEL","M","MAJOR","MANAGEMENT","MASTER","MASTER_AUTO_POSITION","MASTER_BIND","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_HEARTBEAT_PERIOD","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_RETRY_COUNT","MASTER_SERVER_ID","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_USER","MATCH","MATCHED","MAX_CONNECTIONS_PER_HOUR","MAX_CPU","MAX_DISK_SIZE","MAX_IOPS","MAX_MEMORY","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SESSION_NUM","MAX_SIZE","MAX_UPDATES_PER_HOUR","MAX_USED_PART_ID","MAX_USER_CONNECTIONS","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMORY","MEMTABLE","MERGE","MESSAGE_TEXT","META","MICROSECOND","MIDDLEINT","MIGRATE","MIGRATION","MIN_CPU","MIN_IOPS","MIN_MEMORY","MINOR","MIN_ROWS","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MOD","MODIFIES","MONTH","MOVE","MOVEMENT","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","MUTEX","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NDB","NDBCLUSTER","NO","NODEGROUP","NOLOGGING","NOW","NO_WAIT","NO_WRITE_TO_BINLOG","NULLS","NTILE","NTH_VALUE","NVARCHAR","NVARCHAR2","OBJECT","OCCUR","OFFSET","OLD_PASSWORD","OLD_KEY","OLTP","OVER","ONE","ONE_SHOT","OPTIONS","OPTIMIZE","OPTIONALLY","ORA_ROWSCN","ORIG_DEFAULT","OUT","OUTER","OUTFILE","OUTLINE","OWNER","P","PACK_KEYS","PAGE","PARAMETERS","PARAM_ASSIGN_OPERATOR","PARSER","PARTIAL","PARTITION","PARTITION_ID","PARTITIONING","PARTITIONS","PERCENT_RANK","PASSWORD","PASSWORD_LOCK_TIME","PASSWORD_VERIFY_FUNCTION","PAUSE","PERCENTAGE","PHASE","PLANREGRESS","PLUGIN","PLUGIN_DIR","PLUGINS","PIVOT","POINT","POLICY","POLYGON","POOL","PORT","POSITION","PRECEDING","PREPARE","PRESERVE","PREV","PRIMARY_ZONE","PRIVILEGE","PROCESS","PROCESSLIST","PROFILES","PROGRESSIVE_MERGE_NUM","PROXY","PURGE","QUARTER","QUERY","QUICK","RANK","RANGE","RATIO_TO_REPORT","READ_WRITE","READS","READ_ONLY","REBUILD","RECURSIVE","RECYCLE","RECYCLEBIN","REDACTION","ROW_NUMBER","REDO_BUFFER_SIZE","REDOFILE","REDUNDANT","REFRESH","REGEXP_LIKE","REGION","REGR_SLOPE","REGR_INTERCEPT","REGR_COUNT","REGR_R2","REGR_AVGX","REGR_AVGY","REGR_SXX","REGR_SYY","REGR_SXY","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","REORGANIZE","REPAIR","REPEAT","REPEATABLE","REPLACE","REPLICA","REPLICA_NUM","REPLICA_TYPE","REPLICATION","REPORT","REQUIRE","RESET","RESIGNAL","RESOURCE_POOL_LIST","RESPECT","RESTART","RESTORE","RESTRICT","RESUME","RETURN","RETURNED_SQLSTATE","RETURNING","RETURNS","REVERSE","REWRITE_MERGE_VERSION","REMOTE_OSS","RLIKE","RIGHT","ROLLUP","ROOT","ROOTTABLE","ROOTSERVICE","ROOTSERVICE_LIST","ROUTINE","ROWCOUNT","ROW_COUNT","ROW_FORMAT","RTREE","RUN","SAMPLE","SCHEDULE","SCHEMAS","SCHEMA_NAME","SCOPE","SEARCH","SECOND","SECOND_MICROSECOND","SECURITY","SEED","SENSITIVE","SEPARATOR","SERIAL","SERIALIZABLE","SERVER","SERVER_IP","SERVER_PORT","SERVER_TYPE","SESSION_ALIAS","SESSION_USER","SESSIONTIMEZONE","SET_MASTER_CLUSTER","SET_SLAVE_CLUSTER","SET_TP","SHRINK","SHOW","SHUTDOWN","SIBLINGS","SIGNAL","SIGNED","SIMPLE","SLAVE","SLOW","SOCKET","SONAME","SOUNDS","SOURCE","SPACE","SPATIAL","SPECIFIC","SPFILE","SPLIT","SQLEXCEPTION","SQLWARNING","SQL_BIG_RESULT","SQL_CALC_FOUND_ROW","SQL_SMALL_RESULT","SQL_AFTER_GTIDS","SQL_AFTER_MTS_GAPS","SQL_BEFORE_GTIDS","SQL_BUFFER_RESULT","SQL_CACHE","SQL_ID","SQL_NO_CACHE","SQL_THREAD","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SSL","STRAIGHT_JOIN","STARTING","STARTS","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STATEMENTS","STDDEV","STDDEV_POP","STDDEV_SAMP","STORAGE_FORMAT_VERSION","STORAGE_FORMAT_WORK_VERSION","STORED","STORING","STRONG","SUBCLASS_ORIGIN","SUBDATE","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUBSTR","SUPER","SUSPEND","SWAPS","SWITCHES","SYSTEM_USER","SYSTIMESTAMP","SYSBACKUP","SYSDBA","SYSKM","SYSOPER","SYS_CONNECT_BY_PATH","T","TABLEGROUP","TABLE_CHECKSUM","TABLE_MODE","TABLEGROUPS","TABLEGROUP_ID","TABLE_ID","TABLE_NAME","TABLET","TABLET_SIZE","TABLET_MAX_SIZE","TASK","TEMPLATE","TEMPTABLE","TENANT","TERMINATED","TEXT","THAN","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIMEZONE_ABBR","TIMEZONE_HOUR","TIMEZONE_MINUTE","TIMEZONE_REGION","TIME_ZONE_INFO","TINYBLOB","TINYTEXT","TP_NAME","TP_NO","TRACE","TRADITIONAL","TRAILING","TRIM","TYPE","TYPES","UNCOMMITTED","UNDEFINED","UNDO","UNDO_BUFFER_SIZE","UNDOFILE","UNICODE","UNKNOWN","UNINSTALL","UNIT","UNIT_NUM","UNLOCK","UNLOCKED","UNUSUAL","UNPIVOT","UPGRADE","UROWID","USAGE","USE_BLOOM_FILTER","USE_FRM","USER_RESOURCES","UTC_DATE","UTC_TIMESTAMP","UNBOUNDED","VALID","VARIABLES","VAR_POP","VAR_SAMP","VERBOSE","MATERIALIZED","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WRAPPER","X509","XA","XML","YEAR","ZONE","ZONE_LIST","ZONE_TYPE","LOCATION","VARIANCE","VARYING","VIRTUAL","VISIBLE","INVISIBLE","RELY","NORELY","NOVALIDATE","WITHIN","WEAK","WHILE","XOR","YEAR_MONTH","ZEROFILL","PERCENT","TIES","THROTTLE","PRIORITY","RT","NETWORK","LOGICAL_READS","QUEUE_TIME","MEMBER","SUBMULTISET","EMPTY","A"].concat(["ACCESS","ADD","ALL","ALTER","AND","ANY","ARRAYLEN","AS","ASC","AUDIT","BEGIN","BEGIN","BETWEEN","BY","CASE","CHAR","CHECK","CLUSTER","COLUMN","COMMENT","COMPRESS","CONNECT","CONNECT_BY_ROOT","CREATE","CURRENT","DATE","DECIMAL","DEFAULT","DELETE","DESC","DISTINCT","DROP","ELSE","ENGINE","ERROR","EXCLUSIVE","EXISTS","FILE","FILE","FLOAT","FOR","FROM","GRANT","GROUP","HAVING","IDENTIFIED","IMMEDIATE","IN","INCREMENT","INDEX","INITIAL","INSERT","INTEGER","INTERSECT","INTO","IS","LEVEL","LIKE","LOCK","LONG","MAXEXTENTS","MINUS","MODE","MODIFY","NOAUDIT","NOCOMPRESS","NOT","NOTFOUND","NO_REWRITE","NUMBER","OF","OFFLINE","ON","ONLINE","OPTION","OR","ORDER","PACKAGE","PCTFREE","PRIOR","PRIVILEGES","PUBLIC","RAW","READ_CONSISTENCY","RENAME","RESOURCE","REVOKE","ROW","ROWID","ROWLABEL","ROWNUM","ROWS","SELECT","SESSION","SET","SHARE","SIZE","SMALLINT","SQLBUF","SQL_CALC_FOUND_ROWS","START","SUCCESSFUL","SYNONYM","DUAL","SYSDATE","TABLE","THEN","TO","TRIGGER","UID","UNION","UNIQUE","UPDATE","USER","VALIDATE","VALUES","VARCHAR2","VARCHAR","VARCHARACTER","VIEW","WHENEVER","WHERE","WITH","NOWAIT","NULLX"]),m={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],wordPattern:/[\w#$]+/i,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},_={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:Array.from(new Set(t.concat(["ABORT","ACCEPT","ACCESS","ACCESSIBLE","ADD","ALL","ALTER","AND","ANY","ARRAY","ARRAYLEN","AS","ASC","ASSERT","ASSIGN","ASSIGN_OPERATOR","AT","AUTHID","AUTHORIZATION","AVG","BASE_TABLE","BEGIN_KEY","BETWEEN","BINARY","BINARY_DOUBLE","BINARY_FLOAT","BINARY_INTEGER","BLOB","BODY","BOOL","BOOLEAN","BULK","BY","BYTE","C","CALL","CASE","CHARACTER","CHARSET","CHAR_BASE","CHECK","CLOB","CLOSE","CLUSTER","CLUSTERS","COLAUTH","COLLATE","COLLECT","COLUMNS","COMMIT","COMPILE","COMPRESS","CONNECT","CONSTANT","CONSTRUCTOR","CONTINUE","COUNT","CRASH","CREATE","CURRENT","CURRENT_USER","CURRVAL","CURSOR","CUSTOMDATUM","DATABASE","DATA_BASE","DATE","DATE_VALUE","DBA","DEBUG","DEBUGOFF","DEBUGON","DECIMAL","DECIMAL_VAL","DECLARE","DEFAULT","DEFINER","DEFINITION","DELAY","DELETE","DELTA","DESC","DETERMINISTIC","DIGITS","DISPOSE","DISTINCT","DO","DROP","Dot","EDITIONABLE","ELSE","ELSIF","END_KEY","END_P","ENTRY","EXCEPTION","EXCEPTIONS","EXCEPTION_INIT","EXECUTE","EXISTS","EXIT","EXTERNAL","FALSE","FETCH","FINAL","FLOAT","FOR","FORALL","FORCE","FORM","FROM","FUNCTION","GENERIC","GOTO","GRANT","GROUP","HASH","HAVING","IDENT","IDENTIFIED","IF","IMMEDIATE","IN","INDEX","INDEXES","INDICATOR","INLINE","INSERT","INSTANTIABLE","INTEGER","INTERFACE","INTERSECT","INTERVAL","INTNUM","INTO","IS","JAVA","LABEL_LEFT","LABEL_RIGHT","LANGUAGE","LEVEL","LIKE","LIMIT","LIMITED","LOCAL","LONG","LOOP","LeftBracket","LeftParen","MAP","MAX","MEMBER","MIN","MINUS","MLSLABEL","MOD","MODE","NAME","NATURAL","NATURALN","NCHAR","NEW","NEXTVAL","NO","NOCOMPRESS","NOCOPY","NONEDITIONABLE","NOT","NULLX","NUMBER","NUMBER_BASE","NUMERIC","NVARCHAR","NVARCHAR2","OBJECT","OF","OID","OLD","ON","OPEN","OPTION","OR","ORADATA","ORDER","OTHERS","OUT","OVERRIDING","PACKAGE_P","PARALLEL_ENABLE","PARAM_ASSIGN_OPERATOR","PARENT","PARTITION","PCTFREE","PIPELINED","PLS_INTEGER","POSITIVE","POSITIVEN","PRAGMA","PRIOR","PRIVATE","PROCEDURE","PUBLIC","RAISE","RANGE","RANGE_OPERATOR","RAW","REAL","RECORD","REF","REFERENCING","RELEASE","RELIES_ON","REMR","RENAME","REPLACE","RESOURCE","RESTIRCT_REFERENCES","RESULT","RESULT_CACHE","RETURN","REUSE","REVERSE","REVOKE","RNDS","RNPS","ROLLBACK","ROWID","ROWLABEL","ROWNUM","ROWTYPE","RUN","RightBracket","RightParen","SAVE","SAVEPOINT","SCHEMA","SELF","SEPARATE","SET","SETTINGS","SIGNTYPE","SIMPLE_DOUBLE","SIMPLE_FLOAT","SIMPLE_INTEGER","SIZE","SMALLINT","SPACE","SPECIFICATION","SQL","SQLCODE","SQLDATA","SQLERRM","SQL_KEYWORD","START","STATEMENT","STATIC","STDDEV","STRING","SUBTYPE","SUM","TABAUTH","TABLE","TABLES","TASK","TERMINATE","THEN","TIME","TIMESTAMP","TO","TRIGGER","TRUE","TRUST","TYPE","UNDER","UNION","UNIQUE","UPDATE","USE","USING","USING_NLS_COMP","VALIDATE","VALUE","VALUES","VARCHAR2","VARIABLE","VARIANCE","VARRAY","VARYING","VIEW","VIEWS","WHEN","WHERE","WHILE","WITH","WNDS","WNPS","WORK","XOR","YEAR","YES","ZONE"]))),operators:[":="],packages:["DBMS_CRYPTO","DBMS_DEBUG","UTL_ENCODE","DBMS_LOB","DBMS_LOCK.SLEEP","DBMS_METADATA.GET_DDL","DBMS_OUTPUT","DBMS_RANDOM","DBMS_SQL","DBMS_XA","ODCIArgDesc.ArgType","ODCIEnv","ODCIFuncInfo.Flags","ODCIIndexAlter parameter alter_option","ODCIIndexInfo","ODCIPredInfo.Flags","ODCIQueryInfo.Flags","ODCIStatsOptions","UTL_I18N","UTL_RAW","SA_SYSDBA","SA_COMPONENTS","SA_LABEL_ADMIN","SA_POLICY_ADMIN","SA_USER_ADMIN.SET_LEVELS","SA_SESSION"],builtinFunctions:I.map(E=>E.name),pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@backTick"},{include:"@complexIdentifiers"},{include:"@scopes"},{include:"@qstrings"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@packages":"type.identifier","@builtinFunctions":"type.identifier","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],qstrings:[[/q\'/,{token:"string",next:"@qstring"}]],qstring:[[/\'.*?\'\'/s,{token:"string",next:"@pop"}],[/<.*?>\'/s,{token:"string",next:"@pop"}],[/\[.*?\]\'/s,{token:"string",next:"@pop"}],[/\{.*?\}\'/s,{token:"string",next:"@pop"}],[/\(.*?\)\'/s,{token:"string",next:"@pop"}],[/!.*?!\'/s,{token:"string",next:"@pop"}],[/#.*?#\'/s,{token:"string",next:"@pop"}],[/".*?"\'/s,{token:"string",next:"@pop"}]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/@escapes/,"string.escape"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],backTick:[[/`/,{token:"identifier.quote",next:"@backTickIdentifiers"}]],backTickIdentifiers:[[/[^`]+/,"string.escape"],[/`/,{token:"identifier.quote",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}};var r=e(5601),M=e(95422);function D(E){A.Mj.register({id:R.$.OB_Oracle}),A.Mj.setMonarchTokensProvider(R.$.OB_Oracle,_),A.Mj.setLanguageConfiguration(R.$.OB_Oracle,m),A.Mj.registerCompletionItemProvider(R.$.OB_Oracle,new s(E)),A.Mj.registerDocumentFormattingEditProvider(R.$.OB_Oracle,new r.m(E,R.$.OB_Oracle)),A.Mj.registerDocumentRangeFormattingEditProvider(R.$.OB_Oracle,new r.X(E,R.$.OB_Oracle)),A.Mj.registerInlineCompletionsProvider(R.$.OB_Oracle,new M.Z(E))}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7121],{87121:function(E,T,e){e.r(T),e.d(T,{setup:function(){return D}});var A=e(96685),R=e(81065),S=e(47578);let I=[{name:"ABS",params:[{name:"numeric_expression"}],desc:"返回指定数值表达式的绝对值(正值)的数学函数。ABS 将负值更改为正值,对零或正值没有影响。"},{name:"ACOS",params:[{name:"numeric_expression"}],desc:"返回以弧度表示的角,其余弦为指定的 NUMBER 表达式,也称为反余弦。"},{name:"ASIN",params:[],desc:"",isNotSupport:!0},{name:"ATAN",params:[],desc:"",isNotSupport:!0},{name:"ATAN2",params:[],desc:"",isNotSupport:!0},{name:"BITAND",params:[{name:"nExpression1"},{name:"nExpression2"}],desc:"运算符按位进行“与”操作。输入和输出类型均为 NUMBER 数据类型。"},{name:"CEIL",params:[{name:"numeric_expression"}],desc:"返回值大于等于数值 numeric_expression 的最小整数。"},{name:"COS",params:[],desc:"",isNotSupport:!0},{name:"COSH",params:[],desc:"",isNotSupport:!0},{name:"EXP",params:[{name:"numeric_expression"}],desc:"返回 e 的 numeric_expression 次幂(e 为数学常量,e = 2.71828183... )。"},{name:"FLOOR",params:[{name:"numeric_expression"}],desc:"返回小于等于数值 numeric_expression 的最大整数。"},{name:"LN",params:[{name:"numeric_expression"}],desc:"返回以 e 为底的 numeric_expression 的对数(e 为数学常量 e = 2.71828183...)。"},{name:"LOG",params:[{name:"x"},{name:"y"}],desc:"返回以 x 为底的 y 的对数。"},{name:"MOD",params:[{name:"x"},{name:"y"}],desc:"返回 x 除以 y 的余数。"},{name:"POWER",params:[{name:"x"},{name:"y"}],desc:"返回 x 的 y 次幂。"},{name:"REMAINDER",params:[{name:"x"},{name:"y"}],desc:"返回 x 除以 y 的余数。"},{name:"ROUND",params:[{name:"numeric"},{name:"decimal"}],desc:"返回参数 numeric 四舍五入后的值。"},{name:"SIGN",params:[{name:"n"}],desc:"返回数字 n 的符号,大于 0 返回 1,小于 0 返回 -1 ,等于 0 返回 0。"},{name:"SIN",params:[],desc:"",isNotSupport:!0},{name:"SINH",params:[],desc:"",isNotSupport:!0},{name:"SQRT",params:[{name:"n"}],desc:"返回 n 的平方根。"},{name:"TAN",params:[],desc:"",isNotSupport:!0},{name:"TANH",params:[],desc:"",isNotSupport:!0},{name:"TRUNC",params:[{name:"numberic"},{name:"precision"}],desc:"返回 numberic 按精度 precision 截取后的值。"},{name:"WIDTH_BUCKET",params:[],desc:"",isNotSupport:!0},{name:"CHR",params:[{name:"n"}],desc:"将 n 转换为等价的一个或多个字符返回,且返回值与当前系统的字符集相关。"},{name:"CONCAT",params:[{name:"c1"},{name:"c2"}],desc:"连接两个字符串。"},{name:"INITCAP ",params:[{name:"c1"}],desc:"返回字符串并将字符串中每个单词的首字母大写,其他字母小写。"},{name:"LOWER",params:[{name:"c1"}],desc:"将字符串全部转为小写。"},{name:"LPAD ",params:[{name:"c1"},{name:"n"},{name:"c2"}],desc:"在字符串 c1 的左边用字符串 c2 填充,直到长度为 n 时为止。"},{name:"LTRIM",params:[{name:"c1"},{name:"c2"}],desc:"删除左边出现的字符串。"},{name:"REGEXP_REPLACE",params:[{name:"source_char"},{name:"pattern"},{name:"replace_string"},{name:"position"},{name:"occurrence"},{name:"match_param"}],desc:"正则表达式替换。"},{name:"REGEXP_SUBSTR",params:[],desc:"",isNotSupport:!0},{name:"REPLACE",params:[{name:"c1"},{name:"c2"},{name:"c3"}],desc:"将字符表达式值中,部分相同字符串,替换成新的字符串。"},{name:"RPAD",params:[{name:"c1"},{name:"n"},{name:"c2"}],desc:"在字符串 c1 的右边用字符串 c2 填充,直到长度为 n 时为止。"},{name:"RTRIM",params:[{name:"c1"},{name:"c2"}],desc:"删除右边出现的字符串,此函数对于格式化查询的输出非常有用。"},{name:"SUBSTR ",params:[{name:"c1"},{name:"n1"},{name:"n2"}],desc:"截取子字符串。其中多字节符(汉字、全角符等)按 1 个字符计算。"},{name:"TRANSLATE",params:[{name:"c1"},{name:"c2"},{name:"c3"}],desc:"将字符表达式值中,指定字符替换为新字符。多字节符(汉字、全角符等),按 1 个字符计算。"},{name:"TRIM ",body:"TRIM(${1:trim_character} FROM ${2:trim_source})",desc:"删除一个字符串的开头或结尾(或两者)的字符。"},{name:"UPPER",params:[{name:"c1"}],desc:"将字符串全部转为大写。"},{name:"ASCII",params:[{name:"x"}],desc:"返回字符表达式最左端字符的 ASCII 码值。"},{name:"INSTR",params:[{name:"c1"},{name:"c2"},{name:"i"},{name:"j"}],desc:"在一个字符串中搜索指定的字符,返回发现指定的字符的位置。"},{name:"LENGTH",params:[{name:"c1"}],desc:"返回字符串的长度。"},{name:"REGEXP_COUNT",params:[],desc:"",isNotSupport:!0},{name:"REGEXP_INSTR",params:[],desc:"",isNotSupport:!0},{name:"ADD_MONTHS",params:[{name:"date"},{name:"n"}],desc:"返回在日期 date 基础上 n 个月后的日期值,如果 n 的值为负数则返回日期 date 基础上 n 个月前的日期值(date 减去 n 个月)。"},{name:"CURRENT_DATE",desc:"当前会话时区中的当前日期。"},{name:"CURRENT_TIMESTAMP",params:[{name:"precision"}],desc:"返回 TIMESTAMP WITH TIME ZONE 数据类型的当前会话时区中的当前日期,返回值中包含当前的时区信息。"},{name:"DBTIMEZONE",desc:"返回当前数据库实例的时区,在 OceanBase 中数据库时区恒为+00:00,且不支持修改。"},{name:"EXTRACT",body:"EXTRACT(${1:fields} FROM ${2:datetime})",desc:"从指定的时间字段或表达式中抽取年、月、日、时、分、秒等元素。"},{name:"FROM_TZ",params:[{name:"timestamp_value"},{name:"timestamp_value"}],desc:"将一个 TIMSTAMP 数据类型的值和时区信息拼成一个 TIMESTAMP WITH TIME ZONE 数据类型的时间值。"},{name:"LAST_DAY",params:[{name:"date"}],desc:"返回日期 date 所在月份的最后一天的日期。"},{name:"LOCALTIMESTAMP",params:[{name:"timestamp_precision"}],desc:"返回当前会话时区中的当前日期,返回 TIMESTAMP 数据类型的值。"},{name:"MONTHS_BETWEEN ",params:[{name:"date1"},{name:"date2"}],desc:"返回返回参数 date1 到 date2 之间的月数。"},{name:"NEW_TIME",params:[],desc:"",isNotSupport:!0},{name:"NEXT_DAY",params:[{name:"d1"},{name:"c1"}],desc:"返回日期 d1 的下一周中 c1(星期值)所在的日期值。"},{name:"NUMTODSINTERVAL",params:[{name:"n"},{name:"interval_unit"}],desc:"把参数 n 转为以参数 interval_unit 为单位的 INTERVAL DAY TO SECOND 数据类型的值。"},{name:"NUMTOYMINTERVAL",params:[{name:"n"},{name:"interval_unit"}],desc:"把参数 n 转为以 interval_unit 为单位的 INTERVAL YEAR TO MONTH 数据类型的值。"},{name:"ROUND",params:[{name:"date"},{name:"fmt"}],desc:"返回以参数 fmt 为单位距离的离指定日期 date 最近的日期时间值。"},{name:"SESSIONTIMEZONE",desc:"当前会话时区。"},{name:"SYS_EXTRACT_UTC",params:[{name:"datetime_with_timezone"}],desc:"返回与指定时间相对应的标准 UTC 时间。"},{name:"SYSDATE",desc:"当前日期。"},{name:"SYSTIMESTAMP",desc:"系统当前日期,返回值的秒的小数位包含 6 位精度,且包含当前时区信息。"},{name:"TO_CHAR",params:[{name:"datetime"},{name:"fmt"},{name:"nlsparam"}],desc:"将 DATE、TIMESTAMP、TIMESTAMP WITH TIME ZONE、TIMESTAMP WITH LOCAL TIME ZONE、INTERVAL DAY TO SECOND 和 INTERVAL YEAR TO MONTH 等数据类型的值按照参数 fmt 指定的格式转换为 VARCHAR2 数据类型的值。"},{name:"TO_DSINTERVAL",params:[{name:"n"}],desc:"将一个 CHAR、VARCHAR2、NCHAR 或 NVARCHAR2 数据类型的字符串转换为一个 INTERVAL DAY TO SECOND 数据类型的值。"},{name:"TO_TIMESTAMP",params:[{name:"char"},{name:"fmt"},{name:"nlsparam"}],desc:"将字符串转换为 TIMESTAMP 数据类型。"},{name:"TO_TIMESTAMP_TZ ",params:[{name:"char"},{name:"fmt"},{name:"nlsparam"}],desc:"将字符串转换为 TIMESTAMP WITH TIME ZONE 数据类型,包含时区信息。"},{name:"TO_YMINTERVAL",params:[{name:"n"}],desc:"将一个 CHAR、VARCHAR2、NCHAR 或 NVARCHAR2 数据类型的字符串转换为一个 INTERVAL YEAR TO MONTH 数据类型的值,该函数可以用来对一个日期时间值进行加减计算。"},{name:"TRUNC",params:[{name:"date"},{name:"fmt"}],desc:"返回以参数 fmt 为单位距离的离指定日期 date 最近的日期时间值,并且返回的日期值在 date 之前。"},{name:"TZ_OFFSET",params:[{name:"n"}],desc:"返回时区 n 的时区偏移量。时区偏移量是指与格林尼治标准时间 GMT 的差(小时和分钟)。"},{name:"GREATEST",params:[{name:"expr"}],desc:"返回一个或多个表达式列表中的最大值。"},{name:"LEAST",params:[{name:"expr"}],desc:"返回一个或多个表达式列表中的最小值。"},{name:"CAST",body:"CAST(${1:expr} AS ${2:type_name})",desc:"将源数据类型的表达式显式转换为另一种数据类型。"},{name:"ASCIISTR",params:[],desc:"",isNotSupport:!0},{name:"BIN_TO_NUM",params:[],desc:"",isNotSupport:!0},{name:"CHARTOROWID",params:[],desc:"",isNotSupport:!0},{name:"HEXTORAW",params:[{name:"char"}],desc:"将 CHAR、VARCHAR2、NCHAR 或 NVARCHAR2 数据类型中包含十六进制数字的字符转换为 RAW 数据类型。"},{name:"RAWTOHEX",params:[{name:"raw"}],desc:"将二进制数转换为一个相应的十六进制表示的字符串。"},{name:"TO_BINARY_DOUBLE ",params:[{name:"expr"},{name:"fmt"},{name:"nlsparam"}],desc:"返回一个双精度的 64 位浮点数。"},{name:"TO_BINARY_FLOAT",params:[{name:"expr"},{name:"fmt"},{name:"nlsparam"}],desc:"返回一个单精度的 32 位浮点数。"},{name:"TO_CHAR",params:[{name:"character"}],desc:"将 NCHAR、NVARCHAR2 或 CLOB 数据转换为数据库字符集。"},{name:"TO_DATE",params:[{name:"char"},{name:"fmt"},{name:"nlsparam"}],desc:"将 CHAR、VARCHAR、NCHAR 或 NVARCHAR2 数据类型的字符转换为日期数据类型的值。"},{name:"TO_DSINTERVAL",params:[{name:"n"}],desc:"将一个 CHAR、VARCHAR2、NCHAR 或 NVARCHAR2 数据类型的字符串转换为一个 INTERVAL DAY TO SECOND 数据类型的值,该函数可以用来对一个日期时间值进行加减计算。"},{name:"TO_NUMBER",params:[{name:"char"},{name:"fmt"},{name:"nlsparam"}],desc:"将 expr 转换为数值数据类型的值。expr 可以是 CHAR、VARCHAR2、NCHAR、NVARCHAR2、BINARY_FLOAT 或 BINARY_DOUBLE 数据类型的数值。"},{name:"TO_TIMESTAMP",params:[{name:"char"},{name:"fmt"},{name:"nlsparam"}],desc:"将字符串转换为 TIMESTAMP 数据类型。"},{name:"TO_TIMESTAMP_TZ",params:[{name:"char"},{name:"fmt"},{name:"nlsparam"}],desc:"将字符串转换为 TIMESTAMP WITH TIME ZONE 数据类型,包含时区信息。"},{name:"TO_YMINTERVAL",params:[{name:"n"}],desc:"将一个 CHAR、VARCHAR2、NCHAR 或 NVARCHAR2 数据类型的字符串转换为一个 INTERVAL YEAR TO MONTH 数据类型的值,该函数可以用来对一个日期时间值进行加减计算。"},{name:"DECODE",params:[{name:"condition"},{name:"search"},{name:"result"}],desc:"依次用参数 search 与 condition 做比较,直至 condition 与 search 的值相等,则返回对应 search 后跟随的参数 result 的值。如果没有 search 与 condition 相等,则返回参数 default 的值。"},{name:"ORA_HASH",params:[{name:"expr"},{name:"max_bucket"},{name:"seed_value"}],desc:"获取对应表达式的 HASH 值。"},{name:"VSIZE",params:[{name:"x"}],desc:"返回 x 的字节大小数。"},{name:"COALESCE",params:[{name:"expr1"},{name:"expr1"}],desc:"返回参数列表中第一个非空表达式,必须指定最少两个参数。"},{name:"LNNVL",params:[{name:"condition"}],desc:"判断条件中的一个或者两个操作数是否为 NULL"},{name:"NULLIF",params:[],desc:"",isNotSupport:!0},{name:"NVL",params:[{name:"expr1"},{name:"expr2"}],desc:"返回一个非 NULL 值"},{name:"NVL2 ",params:[{name:"expr1"},{name:"expr2"},{name:"expr3"}],desc:"根据表达式是否为空,返回不同的值。"}].concat([{name:"AVG",params:[{name:"expr"}],desc:"返回数值列的平均值。"},{name:"COUNT",params:[{name:"expr"}],desc:"查询 expr 的行数。"},{name:"SUM",params:[{name:"expr"}],desc:"返回参数中指定列的和。"},{name:"GROUPING",params:[],desc:"",isNotSupport:!0},{name:"MAX",params:[{name:"expr"}],desc:"返回参数中指定的列中的最大值。"},{name:"MIN",params:[{name:"expr"}],desc:"返回参数中指定列的最小值。"},{name:"LISTAGG",body:"LISTAGG (${1:measure_expr}) WITHIN GROUP (ORDER BY ${2: expr}) OVER ${3:query_partition_clause}",desc:"用于列转行,LISTAGG 对 ORDER BY 子句中指定的每个组内的数据进行排序,然后合并度量列的值。"},{name:"ROLLUP",params:[{name:"col1"}],desc:"在数据统计和报表生成过程中,它可以为每个分组返回一个小计,同时为所有分组返回总计。"},{name:"STDDEV",params:[{name:"expr"}],desc:"计算总体标准差。"},{name:"STDDEV_POP",params:[{name:"expr"}],desc:"计算总体标准差。"},{name:"STDDEV_SAMP",params:[{name:"expr"}],desc:"计算样本标准差。"},{name:"VARIANCE",params:[{name:"expr"}],desc:"返回参数指定列的方差。"},{name:"APPROX_COUNT_DISTINCT ",params:[{name:"expr"}],desc:"对某一列去重后的行数进行计算,结果只能返回一个值,且该值是近似值,该函数可以进一步用于计算被引用的列的选择性。"}]).concat([]);var N=e(54375),O=e(54768);let a=new O.q(window.obMonaco.getWorkerUrl("oboracle")),n=N.Ud(a.getWorker());var L=e(36498),C=function(E,T,e,A){return new(e||(e=Promise))(function(R,S){function I(E){try{O(A.next(E))}catch(E){S(E)}}function N(E){try{O(A.throw(E))}catch(E){S(E)}}function O(E){var T;E.done?R(E.value):((T=E.value)instanceof e?T:new e(function(E){E(T)})).then(I,N)}O((A=A.apply(E,T||[])).next())})},s=class{constructor(E){this.triggerCharacters=["."],this.plugin=null,this.plugin=E}getModelOptions(E){var T;return null===(T=this.plugin)||void 0===T?void 0:T.modelOptionsMap.get(E)}provideCompletionItems(E,T,e,A){let{offset:R,value:S,delimiter:I,range:N,triggerCharacter:O}=(0,L.y)(E,T,e,this.plugin);return this.getCompleteWordFromOffset(R,S,I,N,E,O)}getColumnList(E,T,e){var A,R;return C(this,void 0,void 0,function*(){let I=this.getModelOptions(E.id),N=[],O=yield null===(A=null==I?void 0:I.getTableColumns)||void 0===A?void 0:A.call(I,T.tableName,T.schemaName);return(null==O?void 0:O.length)||T.schemaName||(O=yield null===(R=null==I?void 0:I.getTableColumns)||void 0===R?void 0:R.call(I,T.tableName,"sys")),O&&O.forEach(E=>{N.push((0,S.yD)(E.columnName,T.tableName,T.schemaName,e))}),N})}getSchemaList(E,T){var e;return C(this,void 0,void 0,function*(){let A=this.getModelOptions(E.id),R=[],I=yield null===(e=null==A?void 0:A.getSchemaList)||void 0===e?void 0:e.call(A);return I&&I.forEach(E=>{R.push((0,S.lW)(E,T))}),R})}getTableList(E,T,e){var A;return C(this,void 0,void 0,function*(){let R=this.getModelOptions(E.id),I=[],N=yield null===(A=null==R?void 0:R.getTableList)||void 0===A?void 0:A.call(R,T);return N&&N.forEach(E=>{I.push((0,S.Pf)(E,T,!1,e))}),I})}getFunctions(E,T){var e;return C(this,void 0,void 0,function*(){let A=this.getModelOptions(E.id),R=yield null===(e=null==A?void 0:A.getFunctions)||void 0===e?void 0:e.call(A);return(R||[]).concat(I).map(E=>(0,S.Ht)(E,T))})}getSnippets(E,T){var e;return C(this,void 0,void 0,function*(){let A=this.getModelOptions(E.id),R=yield null===(e=null==A?void 0:A.getSnippets)||void 0===e?void 0:e.call(A);return(R||[]).map(E=>(0,S.k8)(E,T))})}getCompleteWordFromOffset(E,T,e,A,R,I){var N;return C(this,void 0,void 0,function*(){let I=n.parser,O=yield I.getAutoCompletion(T,e,E);if(O){let E=this.getModelOptions(R.id),T=[],e=!0;for(let I of O)if("string"!=typeof I&&(e=!1),"string"==typeof I)T.push((0,S.Lx)(I,A));else if("allTables"===I.type)T=T.concat((yield this.getTableList(R,I.schema,A))),I.schema||(T=T.concat((yield this.getTableList(R,"sys",A))));else if("tableColumns"===I.type)T=T.concat((yield this.getColumnList(R,I,A)));else if("withTable"===I.type)T.push((0,S.Pf)(I.tableName,"CTE",!1,A));else if("allSchemas"===I.type)T=T.concat((yield this.getSchemaList(R,A)));else if("objectAccess"===I.type){let e=I.objectName,S=yield null===(N=null==E?void 0:E.getSchemaList)||void 0===N?void 0:N.call(E),O=null==S?void 0:S.find(E=>E===e);if(O){T=T.concat((yield this.getTableList(R,I.objectName,A)));continue}let a=e.split("."),n=a.length>1?a[1]:a[0],L=a.length>1?a[0]:void 0,C=yield this.getColumnList(R,{tableName:n,schemaName:L},A);(null==C?void 0:C.length)&&(T=T.concat(C))}else"fromTable"===I.type?T.push((0,S.Pf)(I.tableName,I.schemaName,!0,A)):"allFunction"===I.type&&(T=T.concat((yield this.getFunctions(R,A))));return e&&(T=T.concat((yield this.getSnippets(R,A)))),{suggestions:T,incomplete:!1}}return{suggestions:[],incomplete:!1}})}};let t=["*","ADMIN","AFTER","ALLOCATE","ANALYZE","ARCHIVE","ARCHIVELOG","AUTHORIZATION","AVG","BACKUP","BECOME","BEFORE","BEGIN_KEY","BLOCK","BODY","CACHE","CANCEL","CASCADE","CHANGE","CHARACTER","CHECKPOINT","CLOSE","COBOL","COMMIT","COMPILE","CONSTRAINT","CONSTRAINTS","CONTENTS","CONTINUE","CONTROLFILE","COUNT","CURSOR","CYCLE","DATABASE","DATAFILE","DBA","DEC","DECLARE","DISABLE","DISMOUNT","DOUBLE","DUMP","EACH","ENABLE","END","ESCAPE","EVENTS","EXCEPT","EXCEPTIONS","EXEC","EXECUTE","EXPLAIN","EXTENT","EXTERNALLY","FETCH","FLUSH","FORCE","FOREIGN","FORTRAN","FOUND","FREELIST","FREELISTS","FUNCTION","GO","GOTO","GROUPS","INCLUDING","INDICATOR","INITRANS","INSTANCE","INT","KEY","LANGUAGE","LAYER","LINK","LISTS","LOGFILE","MANAGE","MANUAL","MAX","MAXDATAFILES","MAXINSTANCES","MAXLOGFILES","MAXLOGHISTORY","MAXLOGMEMBERS","MAXTRANS","MAXVALUE","MIN","MINEXTENTS","MINVALUE","MODULE","MOUNT","NEW","NEXT","NOARCHIVELOG","NOCACHE","NOCYCLE","NOMAXVALUE","NOMINVALUE","NONE","NOORDER","NORESETLOGS","NOSORT","NUMERIC","OFF","OLD","ONLY","OPEN","OPTIMAL","OWN","PACKAGE_KEY","PARALLEL","PCTINCREASE","PCTUSED","PLAN","PLI","PRECISION","PRIMARY","PRIVATE","PROCEDURE","PROFILE","QUOTA","READ","REAL","RECOVER","REFERENCES","REFERENCING","RESETLOGS","RESTRICTED","REUSE","ROLE","ROLES","ROLLBACK","SAVEPOINT","SCHEMA","SCN","SECTION","SEGMENT","SEQUENCE","SHARED","SNAPSHOT","SOME","SORT","SQL","SQLCODE","SQLERROR","SQLSTATE","STATEMENT_ID","STATISTICS","STOP","STORAGE","SUM","SWITCH","SYSTEM","TABLES","TABLESPACE","TEMPORARY","THREAD","TIME","TRACING","TRANSACTION","TRIGGERS","TRUNCATE","UNDER","UNLIMITED","UNTIL","USE","USING","WHEN","WORK","WRITE","ACCOUNT","ACCESSIBLE","ACTION","ACTIVE","ADDDATE","ADMINISTER","AGGREGATE","AGAINST","ALGORITHM","ALWAYS","ANALYSE","APPROX_COUNT_DISTINCT","APPROX_COUNT_DISTINCT_SYNOPSIS","APPROX_COUNT_DISTINCT_SYNOPSIS_MERGE","ASENSITIVE","AT","AUTHORS","AUTO","AUTOEXTEND_SIZE","AVG_ROW_LENGTH","BASE","BASELINE","BASELINE_ID","BASIC","BALANCE","BINARY","BINARY_DOUBLE","BINARY_FLOAT","BINDING","BINLOG","BIT","BLOB","BLOCK_SIZE","BLOCK_INDEX","BLOOM_FILTER","BOOL","BOOLEAN","BOOTSTRAP","BOTH","BTREE","BULK","BULK_EXCEPTIONS","BULK_ROWCOUNT","BYTE","BREADTH","CALL","CASCADED","CAST","CATALOG_NAME","CHAIN","CHANGED","CHARSET","CHECKSUM","CIPHER","CLASS_ORIGIN","CLEAN","CLEAR","CLIENT","CLOB","CLOG","CLUSTER_ID","CLUSTER_NAME","COALESCE","CODE","COLLATE","COLLATION","COLLECT","COLUMN_FORMAT","COLUMN_NAME","COLUMN_OUTER_JOIN_SYMBOL","COLUMN_STAT","COLUMNS","COMMITTED","COMPACT","COMPLETION","COMPRESSED","COMPRESSION","COMPUTE","CONCURRENT","CONNECTION","CONNECT_BY_ISCYCLE","CONNECT_BY_ISLEAF","CONSISTENT","CONSISTENT_MODE","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTRIBUTORS","CONVERT","COPY","CORR","COVAR_POP","COVAR_SAMP","CPU","CREATE_TIMESTAMP","CROSS","CUBE","CUME_DIST","CURRENT_USER","CURRENT_SCHEMA","CURRENT_DATE","CURRENT_TIMESTAMP","DATA","DATABASES","DATABASE_ID","DATA_TABLE_ID","DATE_ADD","DATE_SUB","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DBA_RECYCLEBIN","DBTIMEZONE","DEALLOCATE","DEFAULT_AUTH","DEFINER","DELAY","DELAYED","DELAY_KEY_WRITE","DENSE_RANK","DEPTH","DES_KEY_FILE","DESCRIBE","DESTINATION","DETERMINISTIC","DIAGNOSTICS","DICTIONARY","DIRECTORY","DISCARD","DISK","DISTINCTROW","DIV","DO","DUMPFILE","DUPLICATE","DUPLICATE_SCOPE","DYNAMIC","DEFAULT_TABLEGROUP","E","EFFECTIVE","ELSEIF","ENCLOSED","ENCRYPTION","ENDS","ENGINE_","ENGINES","ENUM","ERROR_CODE","ERROR_P","ERROR_INDEX","ERRORS","ESCAPED","ESTIMATE","EVENT","EVERY","EXCHANGE","EXCLUDE","EXEMPT","EXIT","EXPANSION","EXPIRE","EXPIRE_INFO","EXPORT","EXTENDED","EXTENDED_NOADDR","EXTENT_SIZE","EXTRACT","FAILED_LOGIN_ATTEMPTS","FAST","FAULTS","FIELDS","FILE_ID","FILEX","FINAL_COUNT","FIRST","FIRST_VALUE","FIXED","FLASHBACK","FLOAT4","FLOAT8","FOLLOWER","FOLLOWING","FORMAT","FREEZE","FREQUENCY","FROZEN","FULL","G","GENERAL","GENERATED","GEOMETRY","GEOMETRYCOLLECTION","GET","GET_FORMAT","GLOBAL","GLOBAL_ALIAS","GRANTS","GROUPING","GTS","HANDLER","HASH","HELP","HIGH","HIGH_PRIORITY","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","HOST","HOSTS","HOUR","ID","IDC","IF","IFIGNORE","IGNORE","IGNORE_SERVER_IDS","ILOG","ILOGCACHE","IMPORT","INDEXES","INDEX_TABLE_ID","INCR","INCLUDE","INFO","INFILE","INITIAL_SIZE","INNER","INNER_PARSE","INOUT","INSENSITIVE","INSERT_METHOD","INSTALL","INT1","INT2","INT3","INT4","INT8","INTERVAL","INVOKER","IO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IO_THREAD","IPC","ISNULL","ISOLATION","ISSUER","IS_TENANT_SYS_POOL","ITERATE","JOB","JOIN","JSON","K","KEY_BLOCK_SIZE","KEYS","KEYSTORE","KEY_VERSION","KILL","KEEP","KVCACHE","LAG","LAST","LAST_VALUE","LEAD","LEADER","LEADING","LEAVE","LEAVES","LEFT","LESS","LIMIT","LINEAR","LINES","LINESTRING","LIST","LISTAGG","LNNVL","LOAD","LOCAL","LOCALITY","LOCALTIMESTAMP","LOCK_","LOCKED","LOCKS","LOGONLY_REPLICA_NUM","LOGS","LONGBLOB","LONGTEXT","LOOP","LOW","LOW_PRIORITY","ISOPEN","ISOLATION_LEVEL","M","MAJOR","MANAGEMENT","MASTER","MASTER_AUTO_POSITION","MASTER_BIND","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_HEARTBEAT_PERIOD","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_RETRY_COUNT","MASTER_SERVER_ID","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_USER","MATCH","MATCHED","MAX_CONNECTIONS_PER_HOUR","MAX_CPU","MAX_DISK_SIZE","MAX_IOPS","MAX_MEMORY","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SESSION_NUM","MAX_SIZE","MAX_UPDATES_PER_HOUR","MAX_USED_PART_ID","MAX_USER_CONNECTIONS","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMORY","MEMTABLE","MERGE","MESSAGE_TEXT","META","MICROSECOND","MIDDLEINT","MIGRATE","MIGRATION","MIN_CPU","MIN_IOPS","MIN_MEMORY","MINOR","MIN_ROWS","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MOD","MODIFIES","MONTH","MOVE","MOVEMENT","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","MUTEX","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NDB","NDBCLUSTER","NO","NODEGROUP","NOLOGGING","NOW","NO_WAIT","NO_WRITE_TO_BINLOG","NULLS","NTILE","NTH_VALUE","NVARCHAR","NVARCHAR2","OBJECT","OCCUR","OFFSET","OLD_PASSWORD","OLD_KEY","OLTP","OVER","ONE","ONE_SHOT","OPTIONS","OPTIMIZE","OPTIONALLY","ORA_ROWSCN","ORIG_DEFAULT","OUT","OUTER","OUTFILE","OUTLINE","OWNER","P","PACK_KEYS","PAGE","PARAMETERS","PARAM_ASSIGN_OPERATOR","PARSER","PARTIAL","PARTITION","PARTITION_ID","PARTITIONING","PARTITIONS","PERCENT_RANK","PASSWORD","PASSWORD_LOCK_TIME","PASSWORD_VERIFY_FUNCTION","PAUSE","PERCENTAGE","PHASE","PLANREGRESS","PLUGIN","PLUGIN_DIR","PLUGINS","PIVOT","POINT","POLICY","POLYGON","POOL","PORT","POSITION","PRECEDING","PREPARE","PRESERVE","PREV","PRIMARY_ZONE","PRIVILEGE","PROCESS","PROCESSLIST","PROFILES","PROGRESSIVE_MERGE_NUM","PROXY","PURGE","QUARTER","QUERY","QUICK","RANK","RANGE","RATIO_TO_REPORT","READ_WRITE","READS","READ_ONLY","REBUILD","RECURSIVE","RECYCLE","RECYCLEBIN","REDACTION","ROW_NUMBER","REDO_BUFFER_SIZE","REDOFILE","REDUNDANT","REFRESH","REGEXP_LIKE","REGION","REGR_SLOPE","REGR_INTERCEPT","REGR_COUNT","REGR_R2","REGR_AVGX","REGR_AVGY","REGR_SXX","REGR_SYY","REGR_SXY","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","REORGANIZE","REPAIR","REPEAT","REPEATABLE","REPLACE","REPLICA","REPLICA_NUM","REPLICA_TYPE","REPLICATION","REPORT","REQUIRE","RESET","RESIGNAL","RESOURCE_POOL_LIST","RESPECT","RESTART","RESTORE","RESTRICT","RESUME","RETURN","RETURNED_SQLSTATE","RETURNING","RETURNS","REVERSE","REWRITE_MERGE_VERSION","REMOTE_OSS","RLIKE","RIGHT","ROLLUP","ROOT","ROOTTABLE","ROOTSERVICE","ROOTSERVICE_LIST","ROUTINE","ROWCOUNT","ROW_COUNT","ROW_FORMAT","RTREE","RUN","SAMPLE","SCHEDULE","SCHEMAS","SCHEMA_NAME","SCOPE","SEARCH","SECOND","SECOND_MICROSECOND","SECURITY","SEED","SENSITIVE","SEPARATOR","SERIAL","SERIALIZABLE","SERVER","SERVER_IP","SERVER_PORT","SERVER_TYPE","SESSION_ALIAS","SESSION_USER","SESSIONTIMEZONE","SET_MASTER_CLUSTER","SET_SLAVE_CLUSTER","SET_TP","SHRINK","SHOW","SHUTDOWN","SIBLINGS","SIGNAL","SIGNED","SIMPLE","SLAVE","SLOW","SOCKET","SONAME","SOUNDS","SOURCE","SPACE","SPATIAL","SPECIFIC","SPFILE","SPLIT","SQLEXCEPTION","SQLWARNING","SQL_BIG_RESULT","SQL_CALC_FOUND_ROW","SQL_SMALL_RESULT","SQL_AFTER_GTIDS","SQL_AFTER_MTS_GAPS","SQL_BEFORE_GTIDS","SQL_BUFFER_RESULT","SQL_CACHE","SQL_ID","SQL_NO_CACHE","SQL_THREAD","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SSL","STRAIGHT_JOIN","STARTING","STARTS","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STATEMENTS","STDDEV","STDDEV_POP","STDDEV_SAMP","STORAGE_FORMAT_VERSION","STORAGE_FORMAT_WORK_VERSION","STORED","STORING","STRONG","SUBCLASS_ORIGIN","SUBDATE","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUBSTR","SUPER","SUSPEND","SWAPS","SWITCHES","SYSTEM_USER","SYSTIMESTAMP","SYSBACKUP","SYSDBA","SYSKM","SYSOPER","SYS_CONNECT_BY_PATH","T","TABLEGROUP","TABLE_CHECKSUM","TABLE_MODE","TABLEGROUPS","TABLEGROUP_ID","TABLE_ID","TABLE_NAME","TABLET","TABLET_SIZE","TABLET_MAX_SIZE","TASK","TEMPLATE","TEMPTABLE","TENANT","TERMINATED","TEXT","THAN","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIMEZONE_ABBR","TIMEZONE_HOUR","TIMEZONE_MINUTE","TIMEZONE_REGION","TIME_ZONE_INFO","TINYBLOB","TINYTEXT","TP_NAME","TP_NO","TRACE","TRADITIONAL","TRAILING","TRIM","TYPE","TYPES","UNCOMMITTED","UNDEFINED","UNDO","UNDO_BUFFER_SIZE","UNDOFILE","UNICODE","UNKNOWN","UNINSTALL","UNIT","UNIT_NUM","UNLOCK","UNLOCKED","UNUSUAL","UNPIVOT","UPGRADE","UROWID","USAGE","USE_BLOOM_FILTER","USE_FRM","USER_RESOURCES","UTC_DATE","UTC_TIMESTAMP","UNBOUNDED","VALID","VARIABLES","VAR_POP","VAR_SAMP","VERBOSE","MATERIALIZED","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WRAPPER","X509","XA","XML","YEAR","ZONE","ZONE_LIST","ZONE_TYPE","LOCATION","VARIANCE","VARYING","VIRTUAL","VISIBLE","INVISIBLE","RELY","NORELY","NOVALIDATE","WITHIN","WEAK","WHILE","XOR","YEAR_MONTH","ZEROFILL","PERCENT","TIES","THROTTLE","PRIORITY","RT","NETWORK","LOGICAL_READS","QUEUE_TIME","MEMBER","SUBMULTISET","EMPTY","A"].concat(["ACCESS","ADD","ALL","ALTER","AND","ANY","ARRAYLEN","AS","ASC","AUDIT","BEGIN","BEGIN","BETWEEN","BY","CASE","CHAR","CHECK","CLUSTER","COLUMN","COMMENT","COMPRESS","CONNECT","CONNECT_BY_ROOT","CREATE","CURRENT","DATE","DECIMAL","DEFAULT","DELETE","DESC","DISTINCT","DROP","ELSE","ENGINE","ERROR","EXCLUSIVE","EXISTS","FILE","FILE","FLOAT","FOR","FROM","GRANT","GROUP","HAVING","IDENTIFIED","IMMEDIATE","IN","INCREMENT","INDEX","INITIAL","INSERT","INTEGER","INTERSECT","INTO","IS","LEVEL","LIKE","LOCK","LONG","MAXEXTENTS","MINUS","MODE","MODIFY","NOAUDIT","NOCOMPRESS","NOT","NOTFOUND","NO_REWRITE","NUMBER","OF","OFFLINE","ON","ONLINE","OPTION","OR","ORDER","PACKAGE","PCTFREE","PRIOR","PRIVILEGES","PUBLIC","RAW","READ_CONSISTENCY","RENAME","RESOURCE","REVOKE","ROW","ROWID","ROWLABEL","ROWNUM","ROWS","SELECT","SESSION","SET","SHARE","SIZE","SMALLINT","SQLBUF","SQL_CALC_FOUND_ROWS","START","SUCCESSFUL","SYNONYM","DUAL","SYSDATE","TABLE","THEN","TO","TRIGGER","UID","UNION","UNIQUE","UPDATE","USER","VALIDATE","VALUES","VARCHAR2","VARCHAR","VARCHARACTER","VIEW","WHENEVER","WHERE","WITH","NOWAIT","NULLX"]),m={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],wordPattern:/[\w#$]+/i,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},_={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:Array.from(new Set(t.concat(["ABORT","ACCEPT","ACCESS","ACCESSIBLE","ADD","ALL","ALTER","AND","ANY","ARRAY","ARRAYLEN","AS","ASC","ASSERT","ASSIGN","ASSIGN_OPERATOR","AT","AUTHID","AUTHORIZATION","AVG","BASE_TABLE","BEGIN_KEY","BETWEEN","BINARY","BINARY_DOUBLE","BINARY_FLOAT","BINARY_INTEGER","BLOB","BODY","BOOL","BOOLEAN","BULK","BY","BYTE","C","CALL","CASE","CHARACTER","CHARSET","CHAR_BASE","CHECK","CLOB","CLOSE","CLUSTER","CLUSTERS","COLAUTH","COLLATE","COLLECT","COLUMNS","COMMIT","COMPILE","COMPRESS","CONNECT","CONSTANT","CONSTRUCTOR","CONTINUE","COUNT","CRASH","CREATE","CURRENT","CURRENT_USER","CURRVAL","CURSOR","CUSTOMDATUM","DATABASE","DATA_BASE","DATE","DATE_VALUE","DBA","DEBUG","DEBUGOFF","DEBUGON","DECIMAL","DECIMAL_VAL","DECLARE","DEFAULT","DEFINER","DEFINITION","DELAY","DELETE","DELTA","DESC","DETERMINISTIC","DIGITS","DISPOSE","DISTINCT","DO","DROP","Dot","EDITIONABLE","ELSE","ELSIF","END_KEY","END_P","ENTRY","EXCEPTION","EXCEPTIONS","EXCEPTION_INIT","EXECUTE","EXISTS","EXIT","EXTERNAL","FALSE","FETCH","FINAL","FLOAT","FOR","FORALL","FORCE","FORM","FROM","FUNCTION","GENERIC","GOTO","GRANT","GROUP","HASH","HAVING","IDENT","IDENTIFIED","IF","IMMEDIATE","IN","INDEX","INDEXES","INDICATOR","INLINE","INSERT","INSTANTIABLE","INTEGER","INTERFACE","INTERSECT","INTERVAL","INTNUM","INTO","IS","JAVA","LABEL_LEFT","LABEL_RIGHT","LANGUAGE","LEVEL","LIKE","LIMIT","LIMITED","LOCAL","LONG","LOOP","LeftBracket","LeftParen","MAP","MAX","MEMBER","MIN","MINUS","MLSLABEL","MOD","MODE","NAME","NATURAL","NATURALN","NCHAR","NEW","NEXTVAL","NO","NOCOMPRESS","NOCOPY","NONEDITIONABLE","NOT","NULLX","NUMBER","NUMBER_BASE","NUMERIC","NVARCHAR","NVARCHAR2","OBJECT","OF","OID","OLD","ON","OPEN","OPTION","OR","ORADATA","ORDER","OTHERS","OUT","OVERRIDING","PACKAGE_P","PARALLEL_ENABLE","PARAM_ASSIGN_OPERATOR","PARENT","PARTITION","PCTFREE","PIPELINED","PLS_INTEGER","POSITIVE","POSITIVEN","PRAGMA","PRIOR","PRIVATE","PROCEDURE","PUBLIC","RAISE","RANGE","RANGE_OPERATOR","RAW","REAL","RECORD","REF","REFERENCING","RELEASE","RELIES_ON","REMR","RENAME","REPLACE","RESOURCE","RESTIRCT_REFERENCES","RESULT","RESULT_CACHE","RETURN","REUSE","REVERSE","REVOKE","RNDS","RNPS","ROLLBACK","ROWID","ROWLABEL","ROWNUM","ROWTYPE","RUN","RightBracket","RightParen","SAVE","SAVEPOINT","SCHEMA","SELF","SEPARATE","SET","SETTINGS","SIGNTYPE","SIMPLE_DOUBLE","SIMPLE_FLOAT","SIMPLE_INTEGER","SIZE","SMALLINT","SPACE","SPECIFICATION","SQL","SQLCODE","SQLDATA","SQLERRM","SQL_KEYWORD","START","STATEMENT","STATIC","STDDEV","STRING","SUBTYPE","SUM","TABAUTH","TABLE","TABLES","TASK","TERMINATE","THEN","TIME","TIMESTAMP","TO","TRIGGER","TRUE","TRUST","TYPE","UNDER","UNION","UNIQUE","UPDATE","USE","USING","USING_NLS_COMP","VALIDATE","VALUE","VALUES","VARCHAR2","VARIABLE","VARIANCE","VARRAY","VARYING","VIEW","VIEWS","WHEN","WHERE","WHILE","WITH","WNDS","WNPS","WORK","XOR","YEAR","YES","ZONE"]))),operators:[":="],packages:["DBMS_CRYPTO","DBMS_DEBUG","UTL_ENCODE","DBMS_LOB","DBMS_LOCK.SLEEP","DBMS_METADATA.GET_DDL","DBMS_OUTPUT","DBMS_RANDOM","DBMS_SQL","DBMS_XA","ODCIArgDesc.ArgType","ODCIEnv","ODCIFuncInfo.Flags","ODCIIndexAlter parameter alter_option","ODCIIndexInfo","ODCIPredInfo.Flags","ODCIQueryInfo.Flags","ODCIStatsOptions","UTL_I18N","UTL_RAW","SA_SYSDBA","SA_COMPONENTS","SA_LABEL_ADMIN","SA_POLICY_ADMIN","SA_USER_ADMIN.SET_LEVELS","SA_SESSION"],builtinFunctions:I.map(E=>E.name),pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@backTick"},{include:"@complexIdentifiers"},{include:"@scopes"},{include:"@qstrings"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@packages":"type.identifier","@builtinFunctions":"type.identifier","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],qstrings:[[/q\'/,{token:"string",next:"@qstring"}]],qstring:[[/\'.*?\'\'/s,{token:"string",next:"@pop"}],[/<.*?>\'/s,{token:"string",next:"@pop"}],[/\[.*?\]\'/s,{token:"string",next:"@pop"}],[/\{.*?\}\'/s,{token:"string",next:"@pop"}],[/\(.*?\)\'/s,{token:"string",next:"@pop"}],[/!.*?!\'/s,{token:"string",next:"@pop"}],[/#.*?#\'/s,{token:"string",next:"@pop"}],[/".*?"\'/s,{token:"string",next:"@pop"}]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/@escapes/,"string.escape"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],backTick:[[/`/,{token:"identifier.quote",next:"@backTickIdentifiers"}]],backTickIdentifiers:[[/[^`]+/,"string.escape"],[/`/,{token:"identifier.quote",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}};var r=e(5601),M=e(95422);function D(E){A.Mj.register({id:R.$.OB_Oracle}),A.Mj.setMonarchTokensProvider(R.$.OB_Oracle,_),A.Mj.setLanguageConfiguration(R.$.OB_Oracle,m),A.Mj.registerCompletionItemProvider(R.$.OB_Oracle,new s(E)),A.Mj.registerDocumentFormattingEditProvider(R.$.OB_Oracle,new r.m(E,R.$.OB_Oracle)),A.Mj.registerDocumentRangeFormattingEditProvider(R.$.OB_Oracle,new r.X(E,R.$.OB_Oracle)),A.Mj.registerInlineCompletionsProvider(R.$.OB_Oracle,new M.Z(E))}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7209-521abe84c6bfc433.js b/dbgpt/app/static/web/_next/static/chunks/7209-521abe84c6bfc433.js deleted file mode 100644 index 34c28c23e..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/7209-521abe84c6bfc433.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7209,2500,7399,8538,2524,2293],{39055:function(e,r){r.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"}},91321:function(e,r,t){t.d(r,{Z:function(){return u}});var n=t(87462),o=t(45987),c=t(67294),l=t(16165),a=["type","children"],i=new Set;function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[r];if("string"==typeof t&&t.length&&!i.has(t)){var n=document.createElement("script");n.setAttribute("src",t),n.setAttribute("data-namespace",t),e.length>r+1&&(n.onload=function(){s(e,r+1)},n.onerror=function(){s(e,r+1)}),i.add(t),document.body.appendChild(n)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scriptUrl,t=e.extraCommonProps,i=void 0===t?{}:t;r&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(r)?s(r.reverse()):s([r]));var u=c.forwardRef(function(e,r){var t=e.type,s=e.children,u=(0,o.Z)(e,a),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(t)})),s&&(d=s),c.createElement(l.Z,(0,n.Z)({},i,u,{ref:r}),d)});return u.displayName="Iconfont",u}},52645:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},58638:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},83266:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},79090:function(e,r,t){var n=t(87462),o=t(67294),c=t(15294),l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c.Z}))});r.Z=a},30159:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},87740:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},27496:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},41441:function(e,r,t){var n=t(87462),o=t(67294),c=t(39055),l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c.Z}))});r.Z=a},66309:function(e,r,t){t.d(r,{Z:function(){return z}});var n=t(67294),o=t(93967),c=t.n(o),l=t(98423),a=t(98787),i=t(69760),s=t(96159),u=t(45353),d=t(53124),f=t(47648),g=t(10274),h=t(14747),p=t(87893),v=t(83559);let m=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:n,componentCls:o,calc:c}=e,l=c(n).sub(t).equal(),a=c(r).sub(t).equal();return{[o]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:r,fontSizeIcon:t,calc:n}=e,o=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:o,tagLineHeight:(0,f.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(t).sub(n(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let r=b(e);return m(r)},C),k=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let w=n.forwardRef((e,r)=>{let{prefixCls:t,style:o,className:l,checked:a,onChange:i,onClick:s}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:g}=n.useContext(d.E_),h=f("tag",t),[p,v,m]=y(h),b=c()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:a},null==g?void 0:g.className,l,v,m);return p(n.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},o),null==g?void 0:g.style),className:b,onClick:e=>{null==i||i(!a),null==s||s(e)}})))});var Z=t(98719);let $=e=>(0,Z.Z)(e,(r,t)=>{let{textColor:n,lightBorderColor:o,lightColor:c,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:n,background:c,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var x=(0,v.bk)(["Tag","preset"],e=>{let r=b(e);return $(r)},C);let E=(e,r,t)=>{let n=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let r=b(e);return[E(r,"success","Success"),E(r,"processing","Info"),E(r,"error","Error"),E(r,"warning","Warning")]},C),O=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let S=n.forwardRef((e,r)=>{let{prefixCls:t,className:o,rootClassName:f,style:g,children:h,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,k=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:Z,tag:$}=n.useContext(d.E_),[E,S]=n.useState(!0),z=(0,l.Z)(k,["closeIcon","closable"]);n.useEffect(()=>{void 0!==C&&S(C)},[C]);let B=(0,a.o2)(v),M=(0,a.yT)(v),j=B||M,V=Object.assign(Object.assign({backgroundColor:v&&!j?v:void 0},null==$?void 0:$.style),g),P=w("tag",t),[R,I,N]=y(P),T=c()(P,null==$?void 0:$.className,{[`${P}-${v}`]:j,[`${P}-has-color`]:v&&!j,[`${P}-hidden`]:!E,[`${P}-rtl`]:"rtl"===Z,[`${P}-borderless`]:!b},o,f,I,N),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)($),{closable:!1,closeIconRender:e=>{let r=n.createElement("span",{className:`${P}-close-icon`,onClick:L},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),L(r)},className:c()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),_="function"==typeof k.onClick||h&&"a"===h.type,q=p||null,F=q?n.createElement(n.Fragment,null,q,h&&n.createElement("span",null,h)):h,D=n.createElement("span",Object.assign({},z,{ref:r,className:T,style:V}),F,A,B&&n.createElement(x,{key:"preset",prefixCls:P}),M&&n.createElement(H,{key:"status",prefixCls:P}));return R(_?n.createElement(u.Z,{component:"Tag"},D):D)});S.CheckableTag=w;var z=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7287.7caf4a2c2551c5e0.js b/dbgpt/app/static/web/_next/static/chunks/7287.7caf4a2c2551c5e0.js deleted file mode 100644 index 0f3a39b60..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/7287.7caf4a2c2551c5e0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7287],{37287:function(e,t,n){n.r(t),n.d(t,{conf:function(){return g},language:function(){return d}});var r,s=n(5036),i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,c=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of l(t))a.call(e,s)||s===n||i(e,s,{get:()=>t[s],enumerable:!(r=o(t,s))||r.enumerable});return e},p={};c(p,s,"default"),r&&c(r,s,"default");var g={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"),action:{indentAction:p.languages.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:RegExp("^\\s*#region\\b"),end:RegExp("^\\s*#endregion\\b")}}},d={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","_","and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","match","nonlocal","not","or","pass","print","raise","return","try","type","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/f'{1,3}/,"string.escape","@fStringBody"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/f"{1,3}/,"string.escape","@fDblStringBody"],[/"/,"string.escape","@dblStringBody"]],fStringBody:[[/[^\\'\{\}]+$/,"string","@popall"],[/[^\\'\{\}]+/,"string"],[/\{[^\}':!=]+/,"identifier","@fStringDetail"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],fDblStringBody:[[/[^\\"\{\}]+$/,"string","@popall"],[/[^\\"\{\}]+/,"string"],[/\{[^\}':!=]+/,"identifier","@fStringDetail"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]],fStringDetail:[[/[:][^}]+/,"string"],[/[!][ars]/,"string"],[/=/,"string"],[/\}/,"identifier","@pop"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7287.a83a6143e008f452.js b/dbgpt/app/static/web/_next/static/chunks/7287.a83a6143e008f452.js new file mode 100644 index 000000000..fc6f038de --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/7287.a83a6143e008f452.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7287],{37287:function(e,t,n){n.r(t),n.d(t,{conf:function(){return d},language:function(){return g}});var r,s=n(72339),o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,c=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of l(t))a.call(e,s)||s===n||o(e,s,{get:()=>t[s],enumerable:!(r=i(t,s))||r.enumerable});return e},p={};c(p,s,"default"),r&&c(r,s,"default");var d={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"),action:{indentAction:p.languages.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:RegExp("^\\s*#region\\b"),end:RegExp("^\\s*#endregion\\b")}}},g={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","_","and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","match","nonlocal","not","or","pass","print","raise","return","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7332-8eb0732abfa61a4b.js b/dbgpt/app/static/web/_next/static/chunks/7332-8eb0732abfa61a4b.js deleted file mode 100644 index 9c3b87d8c..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/7332-8eb0732abfa61a4b.js +++ /dev/null @@ -1,73 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7332],{69753:function(t,e,n){"use strict";var r=n(87462),i=n(67294),a=n(49495),o=n(13401),l=i.forwardRef(function(t,e){return i.createElement(o.Z,(0,r.Z)({},t,{ref:e,icon:a.Z}))});e.Z=l},29158:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(87462),i=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},o=n(13401),l=i.forwardRef(function(t,e){return i.createElement(o.Z,(0,r.Z)({},t,{ref:e,icon:a}))})},64352:function(t,e,n){"use strict";n.d(e,{w:function(){return ev}});var r=n(97582),i={line_chart:{id:"line_chart",name:"Line Chart",alias:["Lines"],family:["LineCharts"],def:"A line chart uses lines with segments to show changes in data in a ordinal dimension.",purpose:["Comparison","Trend","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Direction"],recRate:"Recommended"},step_line_chart:{id:"step_line_chart",name:"Step Line Chart",alias:["Step Lines"],family:["LineCharts"],def:"A step line chart is a line chart in which points of each line are connected by horizontal and vertical line segments, looking like steps of a staircase.",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Direction"],recRate:"Recommended"},area_chart:{id:"area_chart",name:"Area Chart",alias:[],family:["AreaCharts"],def:"An area chart uses series of line segments with overlapped areas to show the change in data in a ordinal dimension.",purpose:["Comparison","Trend","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Position"],recRate:"Recommended"},stacked_area_chart:{id:"stacked_area_chart",name:"Stacked Area Chart",alias:[],family:["AreaCharts"],def:"A stacked area chart uses layered line segments with different styles of padding regions to display how multiple sets of data change in the same ordinal dimension, and the endpoint heights of the segments on the same dimension tick are accumulated by value.",purpose:["Composition","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Length"],recRate:"Recommended"},percent_stacked_area_chart:{id:"percent_stacked_area_chart",name:"Percent Stacked Area Chart",alias:["Percent Stacked Area","% Stacked Area","100% Stacked Area"],family:["AreaCharts"],def:"A percent stacked area chart is an extented stacked area chart in which the height of the endpoints of the line segment on the same dimension tick is the accumulated proportion of the ratio, which is 100% of the total.",purpose:["Comparison","Composition","Proportion","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Length"],recRate:"Recommended"},column_chart:{id:"column_chart",name:"Column Chart",alias:["Columns"],family:["ColumnCharts"],def:"A column chart uses series of columns to display the value of the dimension. The horizontal axis shows the classification dimension and the vertical axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Color"],recRate:"Recommended"},grouped_column_chart:{id:"grouped_column_chart",name:"Grouped Column Chart",alias:["Grouped Column"],family:["ColumnCharts"],def:"A grouped column chart uses columns of different colors to form a group to display the values of dimensions. The horizontal axis indicates the grouping of categories, the color indicates the categories, and the vertical axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},stacked_column_chart:{id:"stacked_column_chart",name:"Stacked Column Chart",alias:["Stacked Column"],family:["ColumnCharts"],def:"A stacked column chart uses stacked bars of different colors to display the values for each dimension. The horizontal axis indicates the first classification dimension, the color indicates the second classification dimension, and the vertical axis shows the corresponding value.",purpose:["Comparison","Composition","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length","Position"],recRate:"Recommended"},percent_stacked_column_chart:{id:"percent_stacked_column_chart",name:"Percent Stacked Column Chart",alias:["Percent Stacked Column","% Stacked Column","100% Stacked Column"],family:["ColumnCharts"],def:"A percent stacked column chart uses stacked bars of different colors to display the values for each dimension. The horizontal axis indicates the first classification dimension, the color indicates the second classification dimension, and the vertical axis shows the percentage of the corresponding classification.",purpose:["Comparison","Composition","Distribution","Proportion"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length"],recRate:"Recommended"},range_column_chart:{id:"range_column_chart",name:"Range Column Chart",alias:[],family:["ColumnCharts"],def:"A column chart that does not have to start from zero axis.",purpose:["Comparison"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Interval","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Length"],recRate:"Recommended"},waterfall_chart:{id:"waterfall_chart",name:"Waterfall Chart",alias:["Flying Bricks Chart","Mario Chart","Bridge Chart","Cascade Chart"],family:["ColumnCharts"],def:"A waterfall chart is used to portray how an initial value is affected by a series of intermediate positive or negative values",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Ordinal","Time","Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length","Position"],recRate:"Recommended"},histogram:{id:"histogram",name:"Histogram",alias:[],family:["ColumnCharts"],def:"A histogram is an accurate representation of the distribution of numerical data.",purpose:["Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position"],recRate:"Recommended"},bar_chart:{id:"bar_chart",name:"Bar Chart",alias:["Bars"],family:["BarCharts"],def:"A bar chart uses series of bars to display the value of the dimension. The vertical axis shows the classification dimension and the horizontal axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Color"],recRate:"Recommended"},stacked_bar_chart:{id:"stacked_bar_chart",name:"Stacked Bar Chart",alias:["Stacked Bar"],family:["BarCharts"],def:"A stacked bar chart uses stacked bars of different colors to display the values for each dimension. The vertical axis indicates the first classification dimension, the color indicates the second classification dimension, and the horizontal axis shows the corresponding value.",purpose:["Comparison","Composition","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length","Position"],recRate:"Recommended"},percent_stacked_bar_chart:{id:"percent_stacked_bar_chart",name:"Percent Stacked Bar Chart",alias:["Percent Stacked Bar","% Stacked Bar","100% Stacked Bar"],family:["BarCharts"],def:"A percent stacked column chart uses stacked bars of different colors to display the values for each dimension. The vertical axis indicates the first classification dimension, the color indicates the second classification dimension, and the horizontal axis shows the percentage of the corresponding classification.",purpose:["Comparison","Composition","Distribution","Proportion"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length"],recRate:"Recommended"},grouped_bar_chart:{id:"grouped_bar_chart",name:"Grouped Bar Chart",alias:["Grouped Bar"],family:["BarCharts"],def:"A grouped bar chart uses bars of different colors to form a group to display the values of the dimensions. The vertical axis indicates the grouping of categories, the color indicates the categories, and the horizontal axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},range_bar_chart:{id:"range_bar_chart",name:"Range Bar Chart",alias:[],family:["BarCharts"],def:"A bar chart that does not have to start from zero axis.",purpose:["Comparison"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]}],channel:["Length"],recRate:"Recommended"},radial_bar_chart:{id:"radial_bar_chart",name:"Radial Bar Chart",alias:["Radial Column Chart"],family:["BarCharts"],def:"A bar chart that is plotted in the polar coordinate system. The axis along radius shows the classification dimension and the angle shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Angle","Color"],recRate:"Recommended"},bullet_chart:{id:"bullet_chart",name:"Bullet Chart",alias:[],family:["BarCharts"],def:"A bullet graph is a variation of a bar graph developed by Stephen Few. Seemingly inspired by the traditional thermometer charts and progress bars found in many dashboards, the bullet graph serves as a replacement for dashboard gauges and meters.",purpose:["Proportion"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:3,maxQty:3,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]}],channel:["Position","Color"],recRate:"Recommended"},pie_chart:{id:"pie_chart",name:"Pie Chart",alias:["Circle Chart","Pie"],family:["PieCharts"],def:"A pie chart is a chart that the classification and proportion of data are represented by the color and arc length (angle, area) of the sector.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Angle","Area","Color"],recRate:"Use with Caution"},donut_chart:{id:"donut_chart",name:"Donut Chart",alias:["Donut","Doughnut","Doughnut Chart","Ring Chart"],family:["PieCharts"],def:"A donut chart is a variation on a Pie chart except it has a round hole in the center which makes it look like a donut.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["ArcLength"],recRate:"Recommended"},nested_pie_chart:{id:"nested_pie_chart",name:"Nested Pie Chart",alias:["Nested Circle Chart","Nested Pie","Nested Donut Chart"],family:["PieCharts"],def:"A nested pie chart is a chart that contains several donut charts, where all the donut charts share the same center in position.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:"*",fieldConditions:["Interval"]}],channel:["Angle","Area","Color","Position"],recRate:"Use with Caution"},rose_chart:{id:"rose_chart",name:"Rose Chart",alias:["Nightingale Chart","Polar Area Chart","Coxcomb Chart"],family:["PieCharts"],def:"Nightingale Rose Chart is a peculiar combination of the Radar Chart and Stacked Column Chart types of data visualization.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Angle","Color","Length"],recRate:"Use with Caution"},scatter_plot:{id:"scatter_plot",name:"Scatter Plot",alias:["Scatter Chart","Scatterplot"],family:["ScatterCharts"],def:"A scatter plot is a type of plot or mathematical diagram using Cartesian coordinates to display values for typically two variables for series of data.",purpose:["Comparison","Distribution","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Scatter"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Position"],recRate:"Recommended"},bubble_chart:{id:"bubble_chart",name:"Bubble Chart",alias:["Bubble Chart"],family:["ScatterCharts"],def:"A bubble chart is a type of chart that displays four dimensions of data with x, y positions, circle size and circle color.",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Scatter"],dataPres:[{minQty:3,maxQty:3,fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Position","Size"],recRate:"Recommended"},non_ribbon_chord_diagram:{id:"non_ribbon_chord_diagram",name:"Non-Ribbon Chord Diagram",alias:[],family:["GeneralGraph"],def:"A stripped-down version of a Chord Diagram, with only the connection lines showing. This provides more emphasis on the connections within the data.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},arc_diagram:{id:"arc_diagram",name:"Arc Diagram",alias:[],family:["GeneralGraph"],def:"A graph where the edges are represented as arcs.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},chord_diagram:{id:"chord_diagram",name:"Chord Diagram",alias:[],family:["GeneralGraph"],def:"A graphical method of displaying the inter-relationships between data in a matrix. The data are arranged radially around a circle with the relationships between the data points typically drawn as arcs connecting the data.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},treemap:{id:"treemap",name:"Treemap",alias:[],family:["TreeGraph"],def:"A visual representation of a data tree with nodes. Each node is displayed as a rectangle, sized and colored according to values that you assign.",purpose:["Composition","Comparison","Hierarchy"],coord:["Cartesian2D"],category:["Statistic"],shape:["Square"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Area"],recRate:"Recommended"},sankey_diagram:{id:"sankey_diagram",name:"Sankey Diagram",alias:[],family:["GeneralGraph"],def:"A graph shows the flows with weights between objects.",purpose:["Flow","Trend","Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},funnel_chart:{id:"funnel_chart",name:"Funnel Chart",alias:[],family:["FunnelCharts"],def:"A funnel chart is often used to represent stages in a sales process and show the amount of potential revenue for each stage.",purpose:["Trend"],coord:["SymmetricCartesian"],category:["Statistic"],shape:["Symmetric"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length"],recRate:"Recommended"},mirror_funnel_chart:{id:"mirror_funnel_chart",name:"Mirror Funnel Chart",alias:["Contrast Funnel Chart"],family:["FunnelCharts"],def:"A mirror funnel chart is a funnel chart divided into two series by a central axis.",purpose:["Comparison","Trend"],coord:["SymmetricCartesian"],category:["Statistic"],shape:["Symmetric"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Length","Direction"],recRate:"Recommended"},box_plot:{id:"box_plot",name:"Box Plot",alias:["Box and Whisker Plot","boxplot"],family:["BarCharts"],def:"A box plot is often used to graphically depict groups of numerical data through their quartiles. Box plots may also have lines extending from the boxes indicating variability outside the upper and lower quartiles. Outliers may be plotted as individual points.",purpose:["Distribution","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position"],recRate:"Recommended"},heatmap:{id:"heatmap",name:"Heatmap",alias:[],family:["HeatmapCharts"],def:"A heatmap is a graphical representation of data where the individual values contained in a matrix are represented as colors.",purpose:["Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Square"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},density_heatmap:{id:"density_heatmap",name:"Density Heatmap",alias:["Heatmap"],family:["HeatmapCharts"],def:"A density heatmap is a heatmap for representing the density of dots.",purpose:["Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:3,maxQty:3,fieldConditions:["Interval"]}],channel:["Color","Position","Area"],recRate:"Recommended"},radar_chart:{id:"radar_chart",name:"Radar Chart",alias:["Web Chart","Spider Chart","Star Chart","Cobweb Chart","Irregular Polygon","Kiviat diagram"],family:["RadarCharts"],def:"A radar chart maps series of data volume of multiple dimensions onto the axes. Starting at the same center point, usually ending at the edge of the circle, connecting the same set of points using lines.",purpose:["Comparison"],coord:["Radar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},wordcloud:{id:"wordcloud",name:"Word Cloud",alias:["Wordle","Tag Cloud","Text Cloud"],family:["Others"],def:"A word cloud is a collection, or cluster, of words depicted in different sizes, colors, and shapes, which takes a piece of text as input. Typically, the font size in the word cloud is encoded as the word frequency in the input text.",purpose:["Proportion"],coord:["Cartesian2D"],category:["Diagram"],shape:["Scatter"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal"]},{minQty:0,maxQty:1,fieldConditions:["Interval"]}],channel:["Size","Position","Color"],recRate:"Recommended"},candlestick_chart:{id:"candlestick_chart",name:"Candlestick Chart",alias:["Japanese Candlestick Chart)"],family:["BarCharts"],def:"A candlestick chart is a specific version of box plot, which is a style of financial chart used to describe price movements of a security, derivative, or currency.",purpose:["Trend","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position"],recRate:"Recommended"},compact_box_tree:{id:"compact_box_tree",name:"CompactBox Tree",alias:[],family:["TreeGraph"],def:"A type of tree graph layout which arranges the nodes with same depth on the same level.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},dendrogram:{id:"dendrogram",name:"Dendrogram",alias:[],family:["TreeGraph"],def:"A type of tree graph layout which arranges the leaves on the same level.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},indented_tree:{id:"indented_tree",name:"Indented Tree Layout",alias:[],family:["TreeGraph"],def:"A type of tree graph layout where the hierarchy of tree is represented by the horizontal indentation, and each element will occupy one row/column. It is commonly used to represent the file directory structure.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},radial_tree:{id:"radial_tree",name:"Radial Tree Layout",alias:[],family:["TreeGraph"],def:"A type of tree graph layout which places the root at the center, and the branches around the root radially.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},flow_diagram:{id:"flow_diagram",name:"Flow Diagram",alias:["Dagre Graph Layout","Dagre","Flow Chart"],family:["GeneralGraph"],def:"Directed flow graph.",purpose:["Relation","Flow"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},fruchterman_layout_graph:{id:"fruchterman_layout_graph",name:"Fruchterman Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of force directed graph layout.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},force_directed_layout_graph:{id:"force_directed_layout_graph",name:"Force Directed Graph Layout",alias:[],family:["GeneralGraph"],def:"The classical force directed graph layout.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},fa2_layout_graph:{id:"fa2_layout_graph",name:"Force Atlas 2 Graph Layout",alias:["FA2 Layout"],family:["GeneralGraph"],def:"A type of force directed graph layout algorithm. It focuses more on the degree of the node when calculating the force than the classical force-directed algorithm .",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},mds_layout_graph:{id:"mds_layout_graph",name:"Multi-Dimensional Scaling Layout",alias:["MDS Layout"],family:["GeneralGraph"],def:"A type of dimension reduction algorithm that could be used for calculating graph layout. MDS (Multidimensional scaling) is used for project high dimensional data onto low dimensional space.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},circular_layout_graph:{id:"circular_layout_graph",name:"Circular Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which arranges all the nodes on a circle.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},spiral_layout_graph:{id:"spiral_layout_graph",name:"Spiral Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which arranges all the nodes along a spiral line.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},radial_layout_graph:{id:"radial_layout_graph",name:"Radial Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which places a focus node on the center and the others on the concentrics centered at the focus node according to the shortest path length to the it.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},concentric_layout_graph:{id:"concentric_layout_graph",name:"Concentric Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which arranges the nodes on concentrics.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},grid_layout_graph:{id:"grid_layout_graph",name:"Grid Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout arranges the nodes on grids.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"}};function a(t,e){return e.every(function(e){return t.includes(e)})}var o=["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart","column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"],l=["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart","column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"];function s(t,e){return e.some(function(e){return t.includes(e)})}function c(t,e){return t.distincte.distinct?-1:0}var u=["pie_chart","donut_chart"],f=["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart","column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"];function d(t){var e=t.chartType,n=t.dataProps,r=t.preferences;return!!(n&&e&&r&&r.canvasLayout)}var h=["line_chart","area_chart","stacked_area_chart","percent_stacked_area_chart"],p=["bar_chart","column_chart","grouped_bar_chart","grouped_column_chart","stacked_bar_chart","stacked_column_chart"];function g(t){return t.filter(function(t){return a(t.levelOfMeasurements,["Nominal"])})}var m=["pie_chart","donut_chart","radar_chart","rose_chart"],y=n(96486);function v(t){return"number"==typeof t}function b(t){return"string"==typeof t||"boolean"==typeof t}function x(t){return t instanceof Date}function O(t){var e=t.encode,n=t.data,i=t.scale,a=(0,y.mapValues)(e,function(t,e){var r,a,o;return{field:t,type:void 0!==(r=null==i?void 0:i[e].type)?function(t){switch(t){case"linear":case"log":case"pow":case"sqrt":case"quantile":case"threshold":case"quantize":case"sequential":return"quantitative";case"time":return"temporal";case"ordinal":case"point":case"band":return"categorical";default:throw Error("Unkonwn scale type: ".concat(t,"."))}}(r):function(t){if(t.some(v))return"quantitative";if(t.some(b))return"categorical";if(t.some(x))return"temporal";throw Error("Unknown type: ".concat(typeof t[0]))}((a=n,"function"==typeof(o=t)?a.map(o):"string"==typeof o&&a.some(function(t){return void 0!==t[o]})?a.map(function(t){return t[o]}):a.map(function(){return o})))}});return(0,r.pi)((0,r.pi)({},t),{encode:a})}var w=["line_chart"];(0,r.ev)((0,r.ev)([],(0,r.CR)(["data-check","data-field-qty","no-redundant-field","purpose-check"]),!1),(0,r.CR)(["series-qty-limit","bar-series-qty","line-field-time-ordinal","landscape-or-portrait","diff-pie-sector","nominal-enum-combinatorial","limit-series"]),!1);var _={"data-check":{id:"data-check",type:"HARD",docs:{lintText:"Data must satisfy the data prerequisites."},trigger:function(){return!0},validator:function(t){var e=0,n=t.dataProps,r=t.chartType,i=t.chartWIKI;if(n&&r&&i[r]){e=1;var a=i[r].dataPres||[];a.forEach(function(t){!function(t,e){var n=e.map(function(t){return t.levelOfMeasurements});if(n){var r=0;if(n.forEach(function(e){e&&s(e,t.fieldConditions)&&(r+=1)}),r>=t.minQty&&("*"===t.maxQty||r<=t.maxQty))return!0}return!1}(t,n)&&(e=0)}),n.map(function(t){return t.levelOfMeasurements}).forEach(function(t){var n=!1;a.forEach(function(e){t&&s(t,e.fieldConditions)&&(n=!0)}),n||(e=0)})}return e}},"data-field-qty":{id:"data-field-qty",type:"HARD",docs:{lintText:"Data must have at least the min qty of the prerequisite."},trigger:function(){return!0},validator:function(t){var e=0,n=t.dataProps,r=t.chartType,i=t.chartWIKI;if(n&&r&&i[r]){e=1;var a=(i[r].dataPres||[]).map(function(t){return t.minQty}).reduce(function(t,e){return t+e});n.length&&n.length>=a&&(e=1)}return e}},"no-redundant-field":{id:"no-redundant-field",type:"HARD",docs:{lintText:"No redundant field."},trigger:function(){return!0},validator:function(t){var e=0,n=t.dataProps,r=t.chartType,i=t.chartWIKI;if(n&&r&&i[r]){var a=(i[r].dataPres||[]).map(function(t){return"*"===t.maxQty?99:t.maxQty}).reduce(function(t,e){return t+e});n.length&&n.length<=a&&(e=1)}return e}},"purpose-check":{id:"purpose-check",type:"HARD",docs:{lintText:"Choose chart types that satisfy the purpose, if purpose is defined."},trigger:function(){return!0},validator:function(t){var e=0,n=t.chartType,r=t.purpose,i=t.chartWIKI;return r?(n&&i[n]&&r&&(i[n].purpose||"").includes(r)&&(e=1),e):e=1}},"bar-series-qty":{id:"bar-series-qty",type:"SOFT",docs:{lintText:"Bar chart should has proper number of bars or bar groups."},trigger:function(t){var e=t.chartType;return o.includes(e)},validator:function(t){var e=1,n=t.dataProps,r=t.chartType;if(n&&r){var i=n.find(function(t){return a(t.levelOfMeasurements,["Nominal"])}),o=i&&i.count?i.count:0;o>20&&(e=20/o)}return e<.1?.1:e}},"diff-pie-sector":{id:"diff-pie-sector",type:"SOFT",docs:{lintText:"The difference between sectors of a pie chart should be large enough."},trigger:function(t){var e=t.chartType;return u.includes(e)},validator:function(t){var e=1,n=t.dataProps;if(n){var r=n.find(function(t){return a(t.levelOfMeasurements,["Interval"])});if(r&&r.sum&&r.rawData){var i=1/r.sum,o=r.rawData.map(function(t){return t*i}).reduce(function(t,e){return t*e}),l=r.rawData.length,s=Math.pow(1/l,l);e=2*(Math.abs(s-Math.abs(o))/s)}}return e<.1?.1:e}},"landscape-or-portrait":{id:"landscape-or-portrait",type:"SOFT",docs:{lintText:"Recommend column charts for landscape layout and bar charts for portrait layout."},trigger:function(t){return f.includes(t.chartType)&&d(t)},validator:function(t){var e=1,n=t.chartType,r=t.preferences;return d(t)&&("portrait"===r.canvasLayout&&["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart"].includes(n)?e=5:"landscape"===r.canvasLayout&&["column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"].includes(n)&&(e=5)),e}},"limit-series":{id:"limit-series",type:"SOFT",docs:{lintText:"Avoid too many values in one series."},trigger:function(t){return t.dataProps.filter(function(t){return s(t.levelOfMeasurements,["Nominal","Ordinal"])}).length>=2},validator:function(t){var e=1,n=t.dataProps,r=t.chartType;if(n){var i=n.filter(function(t){return s(t.levelOfMeasurements,["Nominal","Ordinal"])});if(i.length>=2){var a=i.sort(c)[1];a.distinct&&(e=a.distinct>10?.1:1/a.distinct,a.distinct>6&&"heatmap"===r?e=5:"heatmap"===r&&(e=1))}}return e}},"line-field-time-ordinal":{id:"line-field-time-ordinal",type:"SOFT",docs:{lintText:"Data containing time or ordinal fields are suitable for line or area charts."},trigger:function(t){var e=t.chartType;return h.includes(e)},validator:function(t){var e=1,n=t.dataProps;return n&&n.find(function(t){return s(t.levelOfMeasurements,["Ordinal","Time"])})&&(e=5),e}},"nominal-enum-combinatorial":{id:"nominal-enum-combinatorial",type:"SOFT",docs:{lintText:"Single (Basic) and Multi (Stacked, Grouped,...) charts should be optimized recommended by nominal enums combinatorial numbers."},trigger:function(t){var e=t.chartType,n=t.dataProps;return p.includes(e)&&g(n).length>=2},validator:function(t){var e=1,n=t.dataProps,r=t.chartType;if(n){var i=g(n);if(i.length>=2){var a=i.sort(c),o=a[0],l=a[1];o.distinct===o.count&&["bar_chart","column_chart"].includes(r)&&(e=5),o.count&&o.distinct&&l.distinct&&o.count>o.distinct&&["grouped_bar_chart","grouped_column_chart","stacked_bar_chart","stacked_column_chart"].includes(r)&&(e=5)}}return e}},"series-qty-limit":{id:"series-qty-limit",type:"SOFT",docs:{lintText:"Some charts should has at most N values for the series."},trigger:function(t){var e=t.chartType;return m.includes(e)},validator:function(t){var e=1,n=t.dataProps,r=t.chartType,i=t.limit;if((!Number.isInteger(i)||i<=0)&&(i=6,("pie_chart"===r||"donut_chart"===r||"rose_chart"===r)&&(i=6),"radar_chart"===r&&(i=8)),n){var o=n.find(function(t){return a(t.levelOfMeasurements,["Nominal"])}),l=o&&o.count?o.count:0;l>=2&&l<=i&&(e=5+2/l)}return e}},"x-axis-line-fading":{id:"x-axis-line-fading",type:"DESIGN",docs:{lintText:"Adjust axis to make it prettier"},trigger:function(t){var e=t.chartType;return w.includes(e)},optimizer:function(t,e){var n,r=O(e).encode;if(r&&(null===(n=r.y)||void 0===n?void 0:n.type)==="quantitative"){var i=t.find(function(t){var e;return t.name===(null===(e=r.y)||void 0===e?void 0:e.field)});if(i){var a=i.maximum-i.minimum;if(i.minimum&&i.maximum&&a<2*i.maximum/3){var o=Math.floor(i.minimum-a/5);return{axis:{x:{tick:!1}},scale:{y:{domainMin:o>0?o:0}},clip:!0}}}}return{}}},"bar-without-axis-min":{id:"bar-without-axis-min",type:"DESIGN",docs:{lintText:"It is not recommended to set the minimum value of axis for the bar or column chart.",fixText:"Remove the minimum value config of axis."},trigger:function(t){var e=t.chartType;return l.includes(e)},optimizer:function(t,e){var n,r,i=e.scale;if(!i)return{};var a=null===(n=i.x)||void 0===n?void 0:n.domainMin,o=null===(r=i.y)||void 0===r?void 0:r.domainMin;if(a||o){var l=JSON.parse(JSON.stringify(i));return a&&(l.x.domainMin=0),o&&(l.y.domainMin=0),{scale:l}}return{}}}},k=Object.keys(_),M=function(t){var e={};return t.forEach(function(t){Object.keys(_).includes(t)&&(e[t]=_[t])}),e},C=function(t){if(!t)return M(k);var e=M(k);if(t.exclude&&t.exclude.forEach(function(t){Object.keys(e).includes(t)&&delete e[t]}),t.include){var n=t.include;Object.keys(e).forEach(function(t){n.includes(t)||delete e[t]})}var i=(0,r.pi)((0,r.pi)({},e),t.custom),a=t.options;return a&&Object.keys(a).forEach(function(t){if(Object.keys(i).includes(t)){var e=a[t];i[t]=(0,r.pi)((0,r.pi)({},i[t]),{option:e})}}),i},j=function(t){if("object"!=typeof t||null===t)return t;if(Array.isArray(t)){e=[];for(var e,n=0,r=t.length;ne.distinct)return -1}return 0};function B(t){var e,n,r,i=null!==(n=null!==(e=t.find(function(t){return s(t.levelOfMeasurements,["Nominal"])}))&&void 0!==e?e:t.find(function(t){return s(t.levelOfMeasurements,["Time","Ordinal"])}))&&void 0!==n?n:t.find(function(t){return s(t.levelOfMeasurements,["Interval"])}),a=null!==(r=t.filter(function(t){return t!==i}).find(function(t){return s(t.levelOfMeasurements,["Interval"])}))&&void 0!==r?r:t.filter(function(t){return t!==i}).find(function(t){return s(t.levelOfMeasurements,["Nominal","Time","Ordinal"])});return[i,a]}function I(t){var e,n=null!==(e=t.find(function(t){return s(t.levelOfMeasurements,["Time","Ordinal","Nominal"])}))&&void 0!==e?e:t.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),r=t.filter(function(t){return t!==n}).find(function(t){return a(t.levelOfMeasurements,["Interval"])}),i=t.filter(function(t){return t!==n&&t!==r}).find(function(t){return s(t.levelOfMeasurements,["Nominal","Ordinal","Time"])});return[n,r,i]}function N(t){var e=t.find(function(t){return s(t.levelOfMeasurements,["Time","Ordinal"])}),n=t.find(function(t){return a(t.levelOfMeasurements,["Nominal"])});return[e,t.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),n]}function D(t){var e=t.filter(function(t){return a(t.levelOfMeasurements,["Nominal"])}).sort(L),n=e[0],r=e[1];return[t.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),n,r]}function F(t){var e,n,i,o,l,s,c=t.filter(function(t){return a(t.levelOfMeasurements,["Nominal"])}).sort(L);return(0,T.Js)(null===(i=c[1])||void 0===i?void 0:i.rawData,null===(o=c[0])||void 0===o?void 0:o.rawData)?(s=(e=(0,r.CR)(c,2))[0],l=e[1]):(l=(n=(0,r.CR)(c,2))[0],s=n[1]),[l,t.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),s]}var z=function(t){var e=t.data,n=t.xField;return(0,y.uniq)(e.map(function(t){return t[n]})).length<=1},$=function(t,e,n){var r=n.field4Split,i=n.field4X;if((null==r?void 0:r.name)&&(null==i?void 0:i.name)){var a=t[r.name];return z({data:e.filter(function(t){return r.name&&t[r.name]===a}),xField:i.name})?5:void 0}return(null==i?void 0:i.name)&&z({data:e,xField:i.name})?5:void 0},W=n(66465);function H(t){var e,n,i,o,l,c,u,f,d,h,p,g,m,y,v,b,x,O,w,_,k,M,C,j,A,S,E,P,T,Z,z,H,G,q,V,Y,U,Q,K,X,J,tt,te,tn,tr,ti=t.chartType,ta=t.data,to=t.dataProps,tl=t.chartKnowledge;if(!R.includes(ti)&&tl)return tl.toSpec?tl.toSpec(ta,to):null;switch(ti){case"pie_chart":return n=(e=(0,r.CR)(B(to),2))[0],(i=e[1])&&n?{type:"interval",data:ta,encode:{color:n.name,y:i.name},transform:[{type:"stackY"}],coordinate:{type:"theta"}}:null;case"donut_chart":return l=(o=(0,r.CR)(B(to),2))[0],(c=o[1])&&l?{type:"interval",data:ta,encode:{color:l.name,y:c.name},transform:[{type:"stackY"}],coordinate:{type:"theta",innerRadius:.6}}:null;case"line_chart":return function(t,e){var n=(0,r.CR)(I(e),3),i=n[0],a=n[1],o=n[2];if(!i||!a)return null;var l={type:"line",data:t,encode:{x:i.name,y:a.name,size:function(e){return $(e,t,{field4X:i})}},legend:{size:!1}};return o&&(l.encode.color=o.name),l}(ta,to);case"step_line_chart":return function(t,e){var n=(0,r.CR)(I(e),3),i=n[0],a=n[1],o=n[2];if(!i||!a)return null;var l={type:"line",data:t,encode:{x:i.name,y:a.name,shape:"hvh",size:function(e){return $(e,t,{field4X:i})}},legend:{size:!1}};return o&&(l.encode.color=o.name),l}(ta,to);case"area_chart":return u=to.find(function(t){return s(t.levelOfMeasurements,["Time","Ordinal"])}),f=to.find(function(t){return a(t.levelOfMeasurements,["Interval"])}),u&&f?{type:"area",data:ta,encode:{x:u.name,y:f.name,size:function(t){return $(t,ta,{field4X:u})}},legend:{size:!1}}:null;case"stacked_area_chart":return h=(d=(0,r.CR)(N(to),3))[0],p=d[1],g=d[2],h&&p&&g?{type:"area",data:ta,encode:{x:h.name,y:p.name,color:g.name,size:function(t){return $(t,ta,{field4Split:g,field4X:h})}},legend:{size:!1},transform:[{type:"stackY"}]}:null;case"percent_stacked_area_chart":return y=(m=(0,r.CR)(N(to),3))[0],v=m[1],b=m[2],y&&v&&b?{type:"area",data:ta,encode:{x:y.name,y:v.name,color:b.name},transform:[{type:"stackY"},{type:"normalizeY"}]}:null;case"bar_chart":return function(t,e){var n=(0,r.CR)(D(e),3),i=n[0],a=n[1],o=n[2];if(!i||!a)return null;var l={type:"interval",data:t,encode:{x:a.name,y:i.name},coordinate:{transform:[{type:"transpose"}]}};return o&&(l.encode.color=o.name,l.transform=[{type:"stackY"}]),l}(ta,to);case"grouped_bar_chart":return O=(x=(0,r.CR)(D(to),3))[0],w=x[1],_=x[2],O&&w&&_?{type:"interval",data:ta,encode:{x:w.name,y:O.name,color:_.name},transform:[{type:"dodgeX"}],coordinate:{transform:[{type:"transpose"}]}}:null;case"stacked_bar_chart":return M=(k=(0,r.CR)(D(to),3))[0],C=k[1],j=k[2],M&&C&&j?{type:"interval",data:ta,encode:{x:C.name,y:M.name,color:j.name},transform:[{type:"stackY"}],coordinate:{transform:[{type:"transpose"}]}}:null;case"percent_stacked_bar_chart":return S=(A=(0,r.CR)(D(to),3))[0],E=A[1],P=A[2],S&&E&&P?{type:"interval",data:ta,encode:{x:E.name,y:S.name,color:P.name},transform:[{type:"stackY"},{type:"normalizeY"}],coordinate:{transform:[{type:"transpose"}]}}:null;case"column_chart":return function(t,e){var n=e.filter(function(t){return a(t.levelOfMeasurements,["Nominal"])}).sort(L),r=n[0],i=n[1],o=e.find(function(t){return a(t.levelOfMeasurements,["Interval"])});if(!r||!o)return null;var l={type:"interval",data:t,encode:{x:r.name,y:o.name}};return i&&(l.encode.color=i.name,l.transform=[{type:"stackY"}]),l}(ta,to);case"grouped_column_chart":return Z=(T=(0,r.CR)(F(to),3))[0],z=T[1],H=T[2],Z&&z&&H?{type:"interval",data:ta,encode:{x:Z.name,y:z.name,color:H.name},transform:[{type:"dodgeX"}]}:null;case"stacked_column_chart":return q=(G=(0,r.CR)(F(to),3))[0],V=G[1],Y=G[2],q&&V&&Y?{type:"interval",data:ta,encode:{x:q.name,y:V.name,color:Y.name},transform:[{type:"stackY"}]}:null;case"percent_stacked_column_chart":return Q=(U=(0,r.CR)(F(to),3))[0],K=U[1],X=U[2],Q&&K&&X?{type:"interval",data:ta,encode:{x:Q.name,y:K.name,color:X.name},transform:[{type:"stackY"},{type:"normalizeY"}]}:null;case"scatter_plot":return function(t,e){var n=e.filter(function(t){return a(t.levelOfMeasurements,["Interval"])}).sort(L),r=n[0],i=n[1],o=e.find(function(t){return a(t.levelOfMeasurements,["Nominal"])});if(!r||!i)return null;var l={type:"point",data:t,encode:{x:r.name,y:i.name}};return o&&(l.encode.color=o.name),l}(ta,to);case"bubble_chart":return function(t,e){for(var n=e.filter(function(t){return a(t.levelOfMeasurements,["Interval"])}),i={x:n[0],y:n[1],corr:0,size:n[2]},o=function(t){for(var e=function(e){var a=(0,W.Vs)(n[t].rawData,n[e].rawData);Math.abs(a)>i.corr&&(i.x=n[t],i.y=n[e],i.corr=a,i.size=n[(0,r.ev)([],(0,r.CR)(Array(n.length).keys()),!1).find(function(n){return n!==t&&n!==e})||0])},a=t+1;ae.score?-1:0},K=function(t){var e=t.chartWIKI,n=t.dataProps,r=t.ruleBase,i=t.options;return Object.keys(e).map(function(t){return function(t,e,n,r,i){var a=i?i.purpose:"",o=i?i.preferences:void 0,l=[],s={dataProps:n,chartType:t,purpose:a,preferences:o},c=U(t,e,r,"HARD",s,l);if(0===c)return{chartType:t,score:0,log:l};var u=U(t,e,r,"SOFT",s,l);return{chartType:t,score:c*u,log:l}}(t,e,n,r,i)}).filter(function(t){return t.score>0}).sort(Q)};function X(t,e,n,r){return Object.values(n).filter(function(r){var i;return"DESIGN"===r.type&&r.trigger({dataProps:e,chartType:t})&&!(null===(i=n[r.id].option)||void 0===i?void 0:i.off)}).reduce(function(t,n){return P(t,n.optimizer(e,r))},{})}var J=n(28670),tt=n.n(J);let te=t=>!!tt().valid(t);function tn(t){let{value:e}=t;return te(e)?tt()(e).hex():""}let tr={lab:{l:[0,100],a:[-86.185,98.254],b:[-107.863,94.482]},lch:{l:[0,100],c:[0,100],h:[0,360]},rgb:{r:[0,255],g:[0,255],b:[0,255]},rgba:{r:[0,255],g:[0,255],b:[0,255],a:[0,1]},hsl:{h:[0,360],s:[0,1],l:[0,1]},hsv:{h:[0,360],s:[0,1],v:[0,1]},hsi:{h:[0,360],s:[0,1],i:[0,1]},cmyk:{c:[0,1],m:[0,1],y:[0,1],k:[0,1]}},ti={model:"rgb",value:{r:255,g:255,b:255}},ta=["normal","darken","multiply","colorBurn","linearBurn","lighten","screen","colorDodge","linearDodge","overlay","softLight","hardLight","vividLight","linearLight","pinLight","difference","exclusion"];[...ta];let to=t=>!!tt().valid(t),tl=t=>{let{value:e}=t;return to(e)?tt()(e):tt()("#000")},ts=(t,e=t.model)=>{let n=tl(t);return n?n[e]():[0,0,0]},tc=(t,e=4===t.length?"rgba":"rgb")=>{let n={};if(1===t.length){let[r]=t;for(let t=0;tt*e/255,tp=(t,e)=>t+e-t*e/255,tg=(t,e)=>t<128?th(2*t,e):tp(2*t-255,e),tm={normal:t=>t,darken:(t,e)=>Math.min(t,e),multiply:th,colorBurn:(t,e)=>0===t?0:Math.max(0,255*(1-(255-e)/t)),lighten:(t,e)=>Math.max(t,e),screen:tp,colorDodge:(t,e)=>255===t?255:Math.min(255,255*(e/(255-t))),overlay:(t,e)=>tg(e,t),softLight:(t,e)=>{if(t<128)return e-(1-2*t/255)*e*(1-e/255);let n=e<64?((16*(e/255)-12)*(e/255)+4)*(e/255):Math.sqrt(e/255);return e+255*(2*t/255-1)*(n-e/255)},hardLight:tg,difference:(t,e)=>Math.abs(t-e),exclusion:(t,e)=>t+e-2*t*e/255,linearBurn:(t,e)=>Math.max(t+e-255,0),linearDodge:(t,e)=>Math.min(255,t+e),linearLight:(t,e)=>Math.max(e+2*t-255,0),vividLight:(t,e)=>t<128?255*(1-(1-e/255)/(2*t/255)):255*(e/2/(255-t)),pinLight:(t,e)=>t<128?Math.min(e,2*t):Math.max(e,2*t-255)},ty=t=>.3*t[0]+.58*t[1]+.11*t[2],tv=t=>{let e=ty(t),n=Math.min(...t),r=Math.max(...t),i=[...t];return n<0&&(i=i.map(t=>e+(t-e)*e/(e-n))),r>255&&(i=i.map(t=>e+(t-e)*(255-e)/(r-e))),i},tb=(t,e)=>{let n=e-ty(t);return tv(t.map(t=>t+n))},tx=t=>Math.max(...t)-Math.min(...t),tO=(t,e)=>{let n=t.map((t,e)=>({value:t,index:e}));n.sort((t,e)=>t.value-e.value);let r=n[0].index,i=n[1].index,a=n[2].index,o=[...t];return o[a]>o[r]?(o[i]=(o[i]-o[r])*e/(o[a]-o[r]),o[a]=e):(o[i]=0,o[a]=0),o[r]=0,o},tw={hue:(t,e)=>tb(tO(t,tx(e)),ty(e)),saturation:(t,e)=>tb(tO(e,tx(t)),ty(e)),color:(t,e)=>tb(t,ty(e)),luminosity:(t,e)=>tb(e,ty(t))},t_=(t,e,n="normal")=>{let r;let[i,a,o,l]=ts(t,"rgba"),[s,c,u,f]=ts(e,"rgba"),d=[i,a,o],h=[s,c,u];if(ta.includes(n)){let t=tm[n];r=d.map((e,n)=>Math.floor(t(e,h[n])))}else r=tw[n](d,h);let p=l+f*(1-l),g=Math.round((l*(1-f)*i+l*f*r[0]+(1-l)*f*s)/p),m=Math.round((l*(1-f)*a+l*f*r[1]+(1-l)*f*c)/p),y=Math.round((l*(1-f)*o+l*f*r[2]+(1-l)*f*u)/p);return 1===p?{model:"rgb",value:{r:g,g:m,b:y}}:{model:"rgba",value:{r:g,g:m,b:y,a:p}}},tk=(t,e)=>{let n=(t+e)%360;return n<0?n+=360:n>=360&&(n-=360),n},tM=(t=1,e=0)=>{let n=Math.min(t,e),r=Math.max(t,e);return n+Math.random()*(r-n)},tC=(t=1,e=0)=>{let n=Math.ceil(Math.min(t,e)),r=Math.floor(Math.max(t,e));return Math.floor(n+Math.random()*(r-n+1))},tj=t=>{if(t&&"object"==typeof t){let e=Array.isArray(t);if(e){let e=t.map(t=>tj(t));return e}let n={},r=Object.keys(t);return r.forEach(e=>{n[e]=tj(t[e])}),n}return t};function tA(t){return t*(Math.PI/180)}var tS=n(56917),tE=n.n(tS);let tP=(t,e="normal")=>{if("normal"===e)return{...t};let n=tn(t),r=tE()[e](n);return td(r)},tR=t=>{let e=tu(t),[,,,n=1]=ts(t,"rgba");return tf(e,n)},tT=(t,e="normal")=>"grayscale"===e?tR(t):tP(t,e),tZ=(t,e,n=[tC(5,10),tC(90,95)])=>{let[r,i,a]=ts(t,"lab"),o=r<=15?r:n[0],l=r>=85?r:n[1],s=(l-o)/(e-1),c=Math.ceil((r-o)/s);return s=0===c?s:(r-o)/c,Array(e).fill(0).map((t,e)=>tc([s*e+o,i,a],"lab"))},tL=t=>{let{count:e,color:n,tendency:r}=t,i=tZ(n,e),a={name:"monochromatic",semantic:null,type:"discrete-scale",colors:"tint"===r?i:i.reverse()};return a},tB={model:"rgb",value:{r:0,g:0,b:0}},tI={model:"rgb",value:{r:255,g:255,b:255}},tN=(t,e,n="lab")=>tt().distance(tl(t),tl(e),n),tD=(t,e)=>{let n=Math.atan2(t,e)*(180/Math.PI);return n>=0?n:n+360},tF=(t,e)=>{let n,r;let[i,a,o]=ts(t,"lab"),[l,s,c]=ts(e,"lab"),u=Math.sqrt(a**2+o**2),f=Math.sqrt(s**2+c**2),d=(u+f)/2,h=.5*(1-Math.sqrt(d**7/(d**7+6103515625))),p=(1+h)*a,g=(1+h)*s,m=Math.sqrt(p**2+o**2),y=Math.sqrt(g**2+c**2),v=tD(o,p),b=tD(c,g),x=y-m;n=180>=Math.abs(b-v)?b-v:b-v<-180?b-v+360:b-v-360;let O=2*Math.sqrt(m*y)*Math.sin(tA(n)/2);r=180>=Math.abs(v-b)?(v+b)/2:Math.abs(v-b)>180&&v+b<360?(v+b+360)/2:(v+b-360)/2;let w=(i+l)/2,_=(m+y)/2,k=1-.17*Math.cos(tA(r-30))+.24*Math.cos(tA(2*r))+.32*Math.cos(tA(3*r+6))-.2*Math.cos(tA(4*r-63)),M=1+.015*(w-50)**2/Math.sqrt(20+(w-50)**2),C=1+.045*_,j=1+.015*_*k,A=-2*Math.sqrt(_**7/(_**7+6103515625))*Math.sin(tA(60*Math.exp(-(((r-275)/25)**2)))),S=Math.sqrt(((l-i)/(1*M))**2+(x/(1*C))**2+(O/(1*j))**2+A*(x/(1*C))*(O/(1*j)));return S},tz=t=>{let e=t/255;return e<=.03928?e/12.92:((e+.055)/1.055)**2.4},t$=t=>{let[e,n,r]=ts(t);return .2126*tz(e)+.7152*tz(n)+.0722*tz(r)},tW=(t,e)=>{let n=t$(t),r=t$(e);return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)},tH=(t,e,n={measure:"euclidean"})=>{let{measure:r="euclidean",backgroundColor:i=ti}=n,a=t_(t,i),o=t_(e,i);switch(r){case"CIEDE2000":return tF(a,o);case"euclidean":return tN(a,o,n.colorModel);case"contrastRatio":return tW(a,o);default:return tN(a,o)}},tG=[.8,1.2],tq={rouletteWheel:t=>{let e=t.reduce((t,e)=>t+e),n=0,r=tM(e),i=0;for(let e=0;e{let e=-1,n=0;for(let r=0;r<3;r+=1){let i=tC(t.length-1);t[i]>n&&(e=r,n=t[i])}return e}},tV=(t,e="tournament")=>tq[e](t),tY=(t,e)=>{let n=tj(t),r=tj(e);for(let i=1;i{let i=tj(t),a=e[tC(e.length-1)],o=tC(t[0].length-1),l=i[a][o]*tM(...tG),s=[15,240];"grayscale"!==n&&(s=tr[r][r.split("")[o]]);let[c,u]=s;return lu&&(l=u),i[a][o]=l,i},tQ=(t,e,n,r,i,a)=>{let o;o="grayscale"===n?t.map(([t])=>tf(t)):t.map(t=>tT(tc(t,r),n));let l=1/0;for(let t=0;t{if(Math.round(tQ(t,e,n,i,a,o))>r)return t;let l=Array(t.length).fill(0).map((t,e)=>e).filter((t,n)=>!e[n]),s=Array(50).fill(0).map(()=>tU(t,l,n,i)),c=s.map(t=>tQ(t,e,n,i,a,o)),u=Math.max(...c),f=s[c.findIndex(t=>t===u)],d=1;for(;d<100&&Math.round(u)tM()?tY(e,r):[e,r];a=a.map(t=>.1>tM()?tU(t,l,n,i):t),t.push(...a)}c=(s=t).map(t=>tQ(t,e,n,i,a,o));let r=Math.max(...c);u=r,f=s[c.findIndex(t=>t===r)],d+=1}return f},tX={euclidean:30,CIEDE2000:20,contrastRatio:4.5},tJ={euclidean:291.48,CIEDE2000:100,contrastRatio:21},t0=(t,e={})=>{let{locked:n=[],simulationType:r="normal",threshold:i,colorModel:a="hsv",colorDifferenceMeasure:o="euclidean",backgroundColor:l=ti}=e,s=i;if(s||(s=tX[o]),"grayscale"===r){let e=tJ[o];s=Math.min(s,e/t.colors.length)}let c=tj(t);if("matrix"!==c.type&&"continuous-scale"!==c.type){if("grayscale"===r){let t=c.colors.map(t=>[tu(t)]),e=tK(t,n,r,s,a,o,l);c.colors.forEach((t,n)=>Object.assign(t,function(t,e){let n;let[,r,i]=ts(e,"lab"),[,,,a=1]=ts(e,"rgba"),o=100*t,l=Math.round(o),s=tu(tc([l,r,i],"lab")),c=25;for(;Math.round(o)!==Math.round(s/255*100)&&c>0;)o>s/255*100?l+=1:l-=1,c-=1,s=tu(tc([l,r,i],"lab"));if(Math.round(o)ts(t,a)),e=tK(t,n,r,s,a,o,l);c.colors.forEach((t,n)=>{Object.assign(t,tc(e[n],a))})}}return c},t1=[.3,.9],t2=[.5,1],t5=(t,e,n,r=[])=>{let[i]=ts(t,"hsv"),a=Array(n).fill(!1),o=-1===r.findIndex(e=>e&&e.model===t.model&&e.value===t.value),l=Array(n).fill(0).map((n,l)=>{let s=r[l];return s?(a[l]=!0,s):o?(o=!1,a[l]=!0,t):tc([tk(i,e*l),tM(...t1),tM(...t2)],"hsv")});return{newColors:l,locked:a}};function t3(){let t=tC(255),e=tC(255),n=tC(255);return tc([t,e,n],"rgb")}let t4=t=>{let{count:e,colors:n}=t,r=[],i={name:"random",semantic:null,type:"categorical",colors:Array(e).fill(0).map((t,e)=>{let i=n[e];return i?(r[e]=!0,i):t3()})};return t0(i,{locked:r})},t6=["monochromatic"],t8=(t,e)=>{let{count:n=8,tendency:r="tint"}=e,{colors:i=[],color:a}=e;return a||(a=i.find(t=>!!t&&!!t.model&&!!t.value)||t3()),t6.includes(t)&&(i=[]),{color:a,colors:i,count:n,tendency:r}},t7={monochromatic:tL,analogous:t=>{let{count:e,color:n,tendency:r}=t,[i,a,o]=ts(n,"hsv"),l=Math.floor(e/2),s=60/(e-1);i>=60&&i<=240&&(s=-s);let c=(a-.1)/3/(e-l-1),u=(o-.4)/3/l,f=Array(e).fill(0).map((t,e)=>{let n=tk(i,s*(e-l)),r=e<=l?Math.min(a+c*(l-e),1):a+3*c*(l-e),f=e<=l?o-3*u*(l-e):Math.min(o-u*(l-e),1);return tc([n,r,f],"hsv")}),d={name:"analogous",semantic:null,type:"discrete-scale",colors:"tint"===r?f:f.reverse()};return d},achromatic:t=>{let{tendency:e}=t,n={...t,color:"tint"===e?tB:tI},r=tL(n);return{...r,name:"achromatic"}},complementary:t=>{let e;let{count:n,color:r}=t,[i,a,o]=ts(r,"hsv"),l=tc([tk(i,180),a,o],"hsv"),s=tC(80,90),c=tC(15,25),u=Math.floor(n/2),f=tZ(r,u,[c,s]),d=tZ(l,u,[c,s]).reverse();if(n%2==1){let t=tc([(tk(i,180)+i)/2,tM(.05,.1),tM(.9,.95)],"hsv");e=[...f,t,...d]}else e=[...f,...d];let h={name:"complementary",semantic:null,type:"discrete-scale",colors:e};return h},"split-complementary":t=>{let{count:e,color:n,colors:r}=t,{newColors:i,locked:a}=t5(n,180,e,r);return t0({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},triadic:t=>{let{count:e,color:n,colors:r}=t,{newColors:i,locked:a}=t5(n,120,e,r);return t0({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},tetradic:t=>{let{count:e,color:n,colors:r}=t,{newColors:i,locked:a}=t5(n,90,e,r);return t0({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},polychromatic:t=>{let{count:e,color:n,colors:r}=t,i=360/e,{newColors:a,locked:o}=t5(n,i,e,r);return t0({name:"tetradic",semantic:null,type:"categorical",colors:a},{locked:o})},customized:t4},t9=(t="monochromatic",e={})=>{let n=t8(t,e);try{return t7[t](n)}catch(t){return t4(n)}};function et(t,e,n){var r,i=O(e),a=n.primaryColor,o=i.encode;if(a&&o){var l=td(a);if(o.color){var s=o.color,c=s.type,u=s.field;return{scale:{color:{range:t9("quantitative"===c?G[Math.floor(Math.random()*G.length)]:q[Math.floor(Math.random()*q.length)],{color:l,count:null===(r=t.find(function(t){return t.name===u}))||void 0===r?void 0:r.count}).colors.map(function(t){return tn(t)})}}}}return"line"===e.type?{style:{stroke:tn(l)}}:{style:{fill:tn(l)}}}return{}}function ee(t,e,n,r,i){var a,o=O(e).encode;if(n&&o){var l=td(n);if(o.color){var s=o.color,c=s.type,u=s.field,f=r;return f||(f="quantitative"===c?"monochromatic":"polychromatic"),{scale:{color:{range:t9(f,{color:l,count:null===(a=t.find(function(t){return t.name===u}))||void 0===a?void 0:a.count}).colors.map(function(t){return tn(i?tT(t,i):t)})}}}}return"line"===e.type?{style:{stroke:tn(l)}}:{style:{fill:tn(l)}}}return{}}n(16243);var en=n(8625);function er(t,e,n){try{i=e?new en.Z(t,{columns:e}):new en.Z(t)}catch(t){return console.error("failed to transform the input data into DataFrame: ",t),[]}var i,a=i.info();return n?a.map(function(t){var e=n.find(function(e){return e.name===t.name});return(0,r.pi)((0,r.pi)({},t),e)}):a}var ei=function(t){var e=t.data,n=t.fields;return n?e.map(function(t){return Object.keys(t).forEach(function(e){n.includes(e)||delete t[e]}),t}):e};function ea(t){var e=t.adviseParams,n=t.ckb,r=t.ruleBase,i=e.data,a=e.dataProps,o=e.smartColor,l=e.options,s=e.colorOptions,c=e.fields,u=l||{},f=u.refine,d=void 0!==f&&f,h=u.requireSpec,p=void 0===h||h,g=u.theme,m=s||{},y=m.themeColor,v=void 0===y?V:y,b=m.colorSchemeType,x=m.simulationType,O=j(i),w=er(O,c,a),_=ei({data:O,fields:c}),k=K({dataProps:w,ruleBase:r,chartWIKI:n});return{advices:k.map(function(t){var e=t.score,i=t.chartType,a=H({chartType:i,data:_,dataProps:w,chartKnowledge:n[i]});if(a&&d){var l=X(i,w,r,a);P(a,l)}if(a){if(g&&!o){var l=et(w,a,g);P(a,l)}else if(o){var l=ee(w,a,v,b,x);P(a,l)}}return{type:i,spec:a,score:e}}).filter(function(t){return!p||t.spec}),log:k}}var eo=function(t){var e,n=t.coordinate;if((null==n?void 0:n.type)==="theta")return(null==n?void 0:n.innerRadius)?"donut_chart":"pie_chart";var r=t.transform,i=null===(e=null==n?void 0:n.transform)||void 0===e?void 0:e.some(function(t){return"transpose"===t.type}),a=null==r?void 0:r.some(function(t){return"normalizeY"===t.type}),o=null==r?void 0:r.some(function(t){return"stackY"===t.type}),l=null==r?void 0:r.some(function(t){return"dodgeX"===t.type});return i?l?"grouped_bar_chart":a?"stacked_bar_chart":o?"percent_stacked_bar_chart":"bar_chart":l?"grouped_column_chart":a?"stacked_column_chart":o?"percent_stacked_column_chart":"column_chart"},el=function(t){var e=t.transform,n=null==e?void 0:e.some(function(t){return"stackY"===t.type}),r=null==e?void 0:e.some(function(t){return"normalizeY"===t.type});return n?r?"percent_stacked_area_chart":"stacked_area_chart":"area_chart"},es=function(t){var e=t.encode;return e.shape&&"hvh"===e.shape?"step_line_chart":"line_chart"},ec=function(t){var e;switch(t.type){case"area":e=el(t);break;case"interval":e=eo(t);break;case"line":e=es(t);break;case"point":e=t.encode.size?"bubble_chart":"scatter_plot";break;case"rect":e="histogram";break;case"cell":e="heatmap";break;default:e=""}return e};function eu(t,e,n,i,a,o,l){Object.values(t).filter(function(t){var i,a,l=t.option||{},s=l.weight,c=l.extra;return i=t.type,("DESIGN"===e?"DESIGN"===i:"DESIGN"!==i)&&!(null===(a=t.option)||void 0===a?void 0:a.off)&&t.trigger((0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)({},n),{weight:s}),c),{chartWIKI:o}))}).forEach(function(t){var s,c=t.type,u=t.id,f=t.docs;if("DESIGN"===e){var d=t.optimizer(n.dataProps,l);s=0===Object.keys(d).length?1:0,a.push({type:c,id:u,score:s,fix:d,docs:f})}else{var h=t.option||{},p=h.weight,g=h.extra;s=t.validator((0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)({},n),{weight:p}),g),{chartWIKI:o})),a.push({type:c,id:u,score:s,docs:f})}i.push({phase:"LINT",ruleId:u,score:s,base:s,weight:1,ruleType:c})})}function ef(t,e,n){var r=t.spec,i=t.options,a=t.dataProps,o=null==i?void 0:i.purpose,l=null==i?void 0:i.preferences,s=ec(r),c=[],u=[];if(!r||!s)return{lints:c,log:u};if(!a||!a.length)try{a=new en.Z(r.data).info()}catch(t){return console.error("error: ",t),{lints:c,log:u}}var f={dataProps:a,chartType:s,purpose:o,preferences:l};return eu(e,"notDESIGN",f,u,c,n),eu(e,"DESIGN",f,u,c,n,r),{lints:c=c.filter(function(t){return t.score<1}),log:u}}var ed=n(89991),eh=function(){function t(t,e){var n,r,i,a=this;this.plugins=[],this.name=t,this.afterPluginsExecute=null!==(n=null==e?void 0:e.afterPluginsExecute)&&void 0!==n?n:this.defaultAfterPluginsExecute,this.pluginManager=new ed.AsyncParallelHook(["data","results"]),this.syncPluginManager=new ed.SyncHook(["data","results"]),this.context=null==e?void 0:e.context,this.hasAsyncPlugin=!!(null===(r=null==e?void 0:e.plugins)||void 0===r?void 0:r.find(function(t){return a.isPluginAsync(t)})),null===(i=null==e?void 0:e.plugins)||void 0===i||i.forEach(function(t){a.registerPlugin(t)})}return t.prototype.defaultAfterPluginsExecute=function(t){return(0,y.last)(Object.values(t))},t.prototype.isPluginAsync=function(t){return"AsyncFunction"===t.execute.constructor.name},t.prototype.registerPlugin=function(t){var e,n=this;null===(e=t.onLoad)||void 0===e||e.call(t,this.context),this.plugins.push(t),this.isPluginAsync(t)&&(this.hasAsyncPlugin=!0),this.hasAsyncPlugin?this.pluginManager.tapPromise(t.name,function(e,i){return void 0===i&&(i={}),(0,r.mG)(n,void 0,void 0,function(){var n,a,o;return(0,r.Jh)(this,function(r){switch(r.label){case 0:return null===(a=t.onBeforeExecute)||void 0===a||a.call(t,e,this.context),[4,t.execute(e,this.context)];case 1:return n=r.sent(),null===(o=t.onAfterExecute)||void 0===o||o.call(t,n,this.context),i[t.name]=n,[2]}})})}):this.syncPluginManager.tap(t.name,function(e,r){void 0===r&&(r={}),null===(i=t.onBeforeExecute)||void 0===i||i.call(t,e,n.context);var i,a,o=t.execute(e,n.context);return null===(a=t.onAfterExecute)||void 0===a||a.call(t,o,n.context),r[t.name]=o,o})},t.prototype.unloadPlugin=function(t){var e,n=this.plugins.find(function(e){return e.name===t});n&&(null===(e=n.onUnload)||void 0===e||e.call(n,this.context),this.plugins=this.plugins.filter(function(e){return e.name!==t}))},t.prototype.execute=function(t){var e,n=this;if(this.hasAsyncPlugin){var i={};return this.pluginManager.promise(t,i).then(function(){return(0,r.mG)(n,void 0,void 0,function(){var t;return(0,r.Jh)(this,function(e){return[2,null===(t=this.afterPluginsExecute)||void 0===t?void 0:t.call(this,i)]})})})}var a={};return this.syncPluginManager.call(t,a),null===(e=this.afterPluginsExecute)||void 0===e?void 0:e.call(this,a)},t}(),ep=function(){function t(t){var e=t.components,n=this;this.components=e,this.componentsManager=new ed.AsyncSeriesWaterfallHook(["initialParams"]),e.forEach(function(t){t&&n.componentsManager.tapPromise(t.name,function(e){return(0,r.mG)(n,void 0,void 0,function(){var n,i;return(0,r.Jh)(this,function(a){switch(a.label){case 0:return n=e,[4,t.execute(n||{})];case 1:return i=a.sent(),[2,(0,r.pi)((0,r.pi)({},n),i)]}})})})})}return t.prototype.execute=function(t){return(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:return[4,this.componentsManager.promise(t)];case 1:return[2,e.sent()]}})})},t}(),eg={name:"defaultDataProcessor",stage:["dataAnalyze"],execute:function(t,e){var n=t.data,r=t.customDataProps,i=((null==e?void 0:e.options)||{}).fields,a=(0,y.cloneDeep)(n),o=er(a,i,r);return{data:ei({data:a,fields:i}),dataProps:o}}},em={name:"defaultChartTypeRecommend",stage:["chartTypeRecommend"],execute:function(t,e){var n=t.dataProps,r=e||{},i=r.advisor,a=r.options;return{chartTypeRecommendations:K({dataProps:n,chartWIKI:i.ckb,ruleBase:i.ruleBase,options:a})}}},ey={name:"defaultSpecGenerator",stage:["specGenerate"],execute:function(t,e){var n=t.chartTypeRecommendations,r=t.dataProps,i=t.data,a=e||{},o=a.options,l=a.advisor,s=o||{},c=s.refine,u=void 0!==c&&c,f=s.theme,d=s.colorOptions,h=s.smartColor,p=d||{},g=p.themeColor,m=void 0===g?V:g,y=p.colorSchemeType,v=p.simulationType;return{advices:null==n?void 0:n.map(function(t){var e=t.chartType,n=H({chartType:e,data:i,dataProps:r,chartKnowledge:l.ckb[e]});if(n&&u){var a=X(e,r,l.ruleBase,n);P(n,a)}if(n){if(f&&!h){var a=et(r,n,f);P(n,a)}else if(h){var a=ee(r,n,m,y,v);P(n,a)}}return{type:t.chartType,spec:n,score:t.score}}).filter(function(t){return t.spec})}}},ev=function(){function t(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this.ckb=(n=t.ckbCfg,a=JSON.parse(JSON.stringify(i)),n?(o=n.exclude,l=n.include,s=n.custom,o&&o.forEach(function(t){Object.keys(a).includes(t)&&delete a[t]}),l&&Object.keys(a).forEach(function(t){l.includes(t)||delete a[t]}),(0,r.pi)((0,r.pi)({},a),s)):a),this.ruleBase=C(t.ruleCfg),this.context={advisor:this},this.initDefaultComponents();var n,a,o,l,s,c=[this.dataAnalyzer,this.chartTypeRecommender,this.chartEncoder,this.specGenerator],u=e.plugins,f=e.components;this.plugins=u,this.pipeline=new ep({components:null!=f?f:c})}return t.prototype.initDefaultComponents=function(){this.dataAnalyzer=new eh("data",{plugins:[eg],context:this.context}),this.chartTypeRecommender=new eh("chartType",{plugins:[em],context:this.context}),this.specGenerator=new eh("specGenerate",{plugins:[ey],context:this.context})},t.prototype.advise=function(t){return ea({adviseParams:t,ckb:this.ckb,ruleBase:this.ruleBase}).advices},t.prototype.adviseAsync=function(t){return(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:return this.context=(0,r.pi)((0,r.pi)({},this.context),{data:t.data,options:t.options}),[4,this.pipeline.execute(t)];case 1:return[2,e.sent().advices]}})})},t.prototype.adviseWithLog=function(t){return ea({adviseParams:t,ckb:this.ckb,ruleBase:this.ruleBase})},t.prototype.lint=function(t){return ef(t,this.ruleBase,this.ckb).lints},t.prototype.lintWithLog=function(t){return ef(t,this.ruleBase,this.ckb)},t.prototype.registerPlugins=function(t){var e={dataAnalyze:this.dataAnalyzer,chartTypeRecommend:this.chartTypeRecommender,encode:this.chartEncoder,specGenerate:this.specGenerator};t.forEach(function(t){"string"==typeof t.stage&&e[t.stage].registerPlugin(t)})},t}()},8625:function(t,e,n){"use strict";n.d(e,{Z:function(){return O}});var r=n(97582),i=n(66465),a=n(61839),o=n(7813),l=function(t){var e,n,i=(void 0===(e=t)&&(e=!0),["".concat(o.oP),"".concat(o.oP).concat(o.cF).concat(e?"":"?","W").concat(o.ps,"(").concat(o.cF).concat(e?"":"?").concat(o.NO,")?"),"".concat(o.vc).concat(o.cF).concat(e?"":"?").concat(o.x4).concat(o.cF).concat(e?"":"?").concat(o.oP),"".concat(o.oP).concat(o.cF).concat(e?"":"?").concat(o.vc).concat(o.cF).concat(e?"":"?").concat(o.x4),"".concat(o.oP).concat(o.cF).concat(e?"":"?").concat(o.vc),"".concat(o.oP).concat(o.cF).concat(e?"":"?").concat(o.IY)]),a=(void 0===(n=t)&&(n=!0),["".concat(o.kr,":").concat(n?"":"?").concat(o.EB,":").concat(n?"":"?").concat(o.sh,"([.,]").concat(o.KP,")?").concat(o.ew,"?"),"".concat(o.kr,":").concat(n?"":"?").concat(o.EB,"?").concat(o.ew)]),l=(0,r.ev)((0,r.ev)([],(0,r.CR)(i),!1),(0,r.CR)(a),!1);return i.forEach(function(t){a.forEach(function(e){l.push("".concat(t,"[T\\s]").concat(e))})}),l.map(function(t){return new RegExp("^".concat(t,"$"))})};function s(t,e){if((0,a.HD)(t)){for(var n=l(e),r=0;r0&&(m.generateColumns([0],null==n?void 0:n.columns),m.colData=[m.data],m.data=m.data.map(function(t){return[t]})),(0,a.kJ)(b)){var x=(0,c.w6)(b.length);m.generateDataAndColDataFromArray(!1,e,x,null==n?void 0:n.fillValue,null==n?void 0:n.columnTypes),m.generateColumns(x,null==n?void 0:n.columns)}if((0,a.Kn)(b)){for(var O=[],y=0;y=0&&b>=0||O.length>0,"The rowLoc is not found in the indexes."),v>=0&&b>=0&&(E=this.data.slice(v,b),P=this.indexes.slice(v,b)),O.length>0)for(var s=0;s=0&&_>=0){for(var s=0;s0){for(var R=[],T=E.slice(),s=0;s=0&&y>=0||v.length>0,"The colLoc is illegal"),(0,a.U)(n)&&(0,c.w6)(this.columns.length).includes(n)&&(b=n,O=n+1),(0,a.kJ)(n))for(var s=0;s=0&&y>=0||v.length>0,"The rowLoc is not found in the indexes.");var A=[],S=[];if(m>=0&&y>=0)A=this.data.slice(m,y),S=this.indexes.slice(m,y);else if(v.length>0)for(var s=0;s=0&&O>=0||w.length>0,"The colLoc is not found in the columns index."),b>=0&&O>=0){for(var s=0;s0){for(var E=[],P=A.slice(),s=0;s1){var _={},k=y;b.forEach(function(e){"date"===e?(_.date=t(k.filter(function(t){return s(t)}),n),k=k.filter(function(t){return!s(t)})):"integer"===e?(_.integer=t(k.filter(function(t){return(0,a.Cf)(t)&&!s(t)}),n),k=k.filter(function(t){return!(0,a.Cf)(t)})):"float"===e?(_.float=t(k.filter(function(t){return(0,a.vn)(t)&&!s(t)}),n),k=k.filter(function(t){return!(0,a.vn)(t)})):"string"===e&&(_.string=t(k.filter(function(t){return"string"===f(t,n)})),k=k.filter(function(t){return"string"!==f(t,n)}))}),w.meta=_}2===w.distinct&&"date"!==w.recommendation&&(g.length>=100?w.recommendation="boolean":(0,a.jn)(O,!0)&&(w.recommendation="boolean")),"string"===p&&Object.assign(w,(o=(r=y.map(function(t){return"".concat(t)})).map(function(t){return t.length}),{maxLength:(0,i.Fp)(o),minLength:(0,i.VV)(o),meanLength:(0,i.J6)(o),containsChar:r.some(function(t){return/[A-z]/.test(t)}),containsDigit:r.some(function(t){return/[0-9]/.test(t)}),containsSpace:r.some(function(t){return/\s/.test(t)})})),("integer"===p||"float"===p)&&Object.assign(w,(l=y.map(function(t){return 1*t}),{minimum:(0,i.VV)(l),maximum:(0,i.Fp)(l),mean:(0,i.J6)(l),percentile5:(0,i.VR)(l,5),percentile25:(0,i.VR)(l,25),percentile50:(0,i.VR)(l,50),percentile75:(0,i.VR)(l,75),percentile95:(0,i.VR)(l,95),sum:(0,i.Sm)(l),variance:(0,i.CA)(l),standardDeviation:(0,i.IN)(l),zeros:l.filter(function(t){return 0===t}).length})),"date"===p&&Object.assign(w,(d="integer"===w.type,h=y.map(function(t){if(d){var e="".concat(t);if(8===e.length)return new Date("".concat(e.substring(0,4),"/").concat(e.substring(4,2),"/").concat(e.substring(6,2))).getTime()}return new Date(t).getTime()}),{minimum:y[(0,i._D)(h)],maximum:y[(0,i.F_)(h)]}));var M=[];return"boolean"!==w.recommendation&&("string"!==w.recommendation||u(w))||M.push("Nominal"),u(w)&&M.push("Ordinal"),("integer"===w.recommendation||"float"===w.recommendation)&&M.push("Interval"),"integer"===w.recommendation&&M.push("Discrete"),"float"===w.recommendation&&M.push("Continuous"),"date"===w.recommendation&&M.push("Time"),w.levelOfMeasurements=M,w}(this.colData[n],this.extra.strictDatePattern)),{name:String(o)}))}return e},e.prototype.toString=function(){for(var t=this,e=Array(this.columns.length+1).fill(0),n=0;ne[0]&&(e[0]=r)}for(var n=0;ne[n+1]&&(e[n+1]=r)}for(var n=0;ne[n+1]&&(e[n+1]=r)}return"".concat(g(e[0])).concat(this.columns.map(function(n,r){return"".concat(n).concat(r!==t.columns.length?g(e[r+1]-y(n)+2):"")}).join(""),"\n").concat(this.indexes.map(function(n,r){var i;return"".concat(n).concat(g(e[0]-y(n))).concat(null===(i=t.data[r])||void 0===i?void 0:i.map(function(n,r){return"".concat(m(n)).concat(r!==t.columns.length?g(e[r+1]-y(n)):"")}).join("")).concat(r!==t.indexes.length?"\n":"")}).join(""))},e}(b)},66465:function(t,e,n){"use strict";n.d(e,{Fp:function(){return u},F_:function(){return f},J6:function(){return h},VV:function(){return s},_D:function(){return c},Vs:function(){return y},VR:function(){return p},IN:function(){return m},Sm:function(){return d},Gn:function(){return v},CA:function(){return g}});var r=n(97582),i=n(84813),a=new WeakMap;function o(t,e,n){return a.get(t)||a.set(t,new Map),a.get(t).set(e,n),n}function l(t,e){var n=a.get(t);if(n)return n.get(e)}function s(t){var e=l(t,"min");return void 0!==e?e:o(t,"min",Math.min.apply(Math,(0,r.ev)([],(0,r.CR)(t),!1)))}function c(t){var e=l(t,"minIndex");return void 0!==e?e:o(t,"minIndex",function(t){for(var e=t[0],n=0,r=0;re&&(n=r,e=t[r]);return n}(t))}function d(t){var e=l(t,"sum");return void 0!==e?e:o(t,"sum",t.reduce(function(t,e){return e+t},0))}function h(t){return d(t)/t.length}function p(t,e,n){return void 0===n&&(n=!1),(0,i.hu)(e>0&&e<100,"The percent cannot be between (0, 100)."),(n?t:t.sort(function(t,e){return t>e?1:-1}))[Math.ceil(t.length*e/100)-1]}function g(t){var e=h(t),n=l(t,"variance");return void 0!==n?n:o(t,"variance",t.reduce(function(t,n){return t+Math.pow(n-e,2)},0)/t.length)}function m(t){return Math.sqrt(g(t))}function y(t,e){return(0,i.hu)(t.length===e.length,"The x and y must has same length."),(h(t.map(function(t,n){return t*e[n]}))-h(t)*h(e))/(m(t)*m(e))}function v(t){var e={};return t.forEach(function(t){var n="".concat(t);e[n]?e[n]+=1:e[n]=1}),e}},84813:function(t,e,n){"use strict";n.d(e,{Js:function(){return s},Tw:function(){return a},hu:function(){return l},w6:function(){return o}});var r=n(97582),i=n(61839);function a(t){return Array.from(new Set(t))}function o(t){return(0,r.ev)([],(0,r.CR)(Array(t).keys()),!1)}function l(t,e){if(!t)throw Error(e)}function s(t,e){if(!(0,i.kJ)(t)||0===t.length||!(0,i.kJ)(e)||0===e.length||t.length!==e.length)return!1;for(var n={},r=0;r(18|19|20)\\d{2})",o="(?0?[1-9]|1[012])",l="(?0?[1-9]|[12]\\d|3[01])",s="(?[0-4]\\d|5[0-2])",c="(?[1-7])",u="(0?\\d|[012345]\\d)",f="(?".concat(u,")"),d="(?".concat(u,")"),h="(?".concat(u,")"),p="(?\\d{1,4})",g="(?(([0-2]\\d|3[0-5])\\d)|36[0-6])",m="(?Z|[+-]".concat("(0?\\d|1\\d|2[0-4])","(:").concat(u,")?)")},61839:function(t,e,n){"use strict";n.d(e,{Cf:function(){return c},HD:function(){return a},J_:function(){return f},Kn:function(){return h},M1:function(){return g},U:function(){return s},hj:function(){return o},i1:function(){return l},jn:function(){return d},kJ:function(){return p},kK:function(){return i},vn:function(){return u}});var r=n(7813);function i(t){return null==t||""===t||Number.isNaN(t)||"null"===t}function a(t){return"string"==typeof t}function o(t){return"number"==typeof t}function l(t){if(a(t)){var e=!1,n=t;/^[+-]/.test(n)&&(n=n.slice(1));for(var r=0;re?0:1;return"M".concat(m,",").concat(y,",A").concat(s,",").concat(c,",0,").concat(o>180?1:0,",").concat(_,",").concat(b,",").concat(x)}function I(t){var e=(0,r.CR)(t,2),n=(0,r.CR)(e[0],2),i=n[0],a=n[1],o=(0,r.CR)(e[1],2);return{x1:i,y1:a,x2:o[0],y2:o[1]}}function N(t){var e=t.type,n=t.gridCenter;return"linear"===e?n:n||t.center}function D(t,e,n,r,i){return void 0===r&&(r=!0),void 0===i&&(i=!1),!!r&&t===e||!!i&&t===n||t>e&&t0,b=i-c,x=a-u,O=h*x-p*b;if(O<0===v)return!1;var w=g*x-m*b;return w<0!==v&&O>y!==v&&w>y!==v}(e,t)})}(l,f))return!0}}catch(t){i={error:t}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}return!1}(h.firstChild,p.firstChild,(0,V.j)(n)):0)?(l.add(s),l.add(p)):s=p}}catch(t){i={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(i)throw i.error}}return Array.from(l)}function J(t,e){return(void 0===e&&(e={}),(0,q.Z)(t))?0:"number"==typeof t?t:Math.floor((0,$.Ux)(t,e))}var tt=n(39639),te={parity:function(t,e){var n=e.seq,r=void 0===n?2:n;return t.filter(function(t,e){return!(e%r)||((0,F.Cp)(t),!1)})}},tn=new Map([["hide",function(t,e,n,i){var a,o,l=t.length,s=e.keepHeader,c=e.keepTail;if(!(l<=1)&&(2!==l||!s||!c)){var u=te.parity,f=function(t){return t.forEach(i.show),t},d=2,h=t.slice(),p=t.slice(),g=Math.min.apply(Math,(0,r.ev)([1],(0,r.CR)(t.map(function(t){return t.getBBox().width})),!1));if("linear"===n.type&&(Z(n)||L(n))){var m=(0,tt._v)(t[0]).left,y=Math.abs((0,tt._v)(t[l-1]).right-m)||1;d=Math.max(Math.floor(l*g/y),d)}for(s&&(a=h.splice(0,1)[0]),c&&(o=h.splice(-1,1)[0],h.reverse()),f(h);dg+p;x-=p){var O=b(x);if("object"==typeof O)return O.value}}}],["wrap",function(t,e,n,i){var a,o,l=e.wordWrapWidth,s=void 0===l?50:l,c=e.maxLines,u=void 0===c?3:c,f=e.recoverWhenFailed,d=e.margin,h=void 0===d?[0,0,0,0]:d,p=t.map(function(t){return t.attr("maxLines")||1}),g=Math.min.apply(Math,(0,r.ev)([],(0,r.CR)(p),!1)),m=(a=n.type,o=n.labelDirection,"linear"===a&&Z(n)?"negative"===o?"bottom":"top":"middle"),y=function(e){return t.forEach(function(t,n){var r=Array.isArray(e)?e[n]:e;i.wrap(t,s,r,m)})};if(!(g>u)){for(var v=g;v<=u;v++)if(y(v),X(t,n,h).length<1)return;(void 0===f||f)&&y(p)}}]]);function tr(t){for(var e=t;e<0;)e+=360;return Math.round(e%360)}function ti(t,e){var n=(0,r.CR)(t,2),i=n[0],a=n[1],o=(0,r.CR)(e,2),l=o[0],s=o[1],c=(0,r.CR)([i*l+a*s,i*s-a*l],2),u=c[0];return Math.atan2(c[1],u)}function ta(t,e,n){var r=n.type,i=n.labelAlign,a=R(t,n),o=tr(e),l=tr(d(ti([1,0],a))),s="center",c="middle";return"linear"===r?[90,270].includes(l)&&0===o?(s="center",c=1===a[1]?"top":"bottom"):!(l%180)&&[90,270].includes(o)?s="center":0===l?D(o,0,90,!1,!0)?s="start":(D(o,0,90)||D(o,270,360))&&(s="start"):90===l?D(o,0,90,!1,!0)?s="start":(D(o,90,180)||D(o,270,360))&&(s="end"):270===l?D(o,0,90,!1,!0)?s="end":(D(o,90,180)||D(o,270,360))&&(s="start"):180===l&&(90===o?s="start":(D(o,0,90)||D(o,270,360))&&(s="end")):"parallel"===i?c=D(l,0,180,!0)?"top":"bottom":"horizontal"===i?D(l,90,270,!1)?s="end":(D(l,270,360,!1)||D(l,0,90))&&(s="start"):"perpendicular"===i&&(s=D(l,90,270)?"end":"start"),{textAlign:s,textBaseline:c}}function to(t,e,n){var i=n.showTick,a=n.tickLength,o=n.tickDirection,l=n.labelDirection,s=n.labelSpacing,c=e.indexOf(t),f=(0,p.S)(s,[t,c,e]),d=(0,r.CR)([R(t.value,n),function(){for(var t=[],e=0;e1))||null==a||a(e,r,t,n)})}function tc(t,e,n,i,a){var o,u=n.indexOf(e),f=(0,l.Ys)(t).append((o=a.labelFormatter,(0,c.Z)(o)?function(){return(0,k.S)((0,p.S)(o,[e,u,n,R(e.value,a)]))}:function(){return(0,k.S)(e.label||"")})).attr("className",s.Ec.labelItem.name).node(),g=(0,r.CR)((0,h.Hm)(j(i,[e,u,n])),2),m=g[0],y=g[1],v=y.transform,b=(0,r._T)(y,["transform"]);W(f,v);var x=function(t,e,n){var r,i,a=n.labelAlign;if(null===(i=e.style.transform)||void 0===i?void 0:i.includes("rotate"))return e.getLocalEulerAngles();var o=0,l=R(t.value,n),s=E(t.value,n);return"horizontal"===a?0:(D(r=(d(o="perpendicular"===a?ti([1,0],l):ti([s[0]<0?-1:1,0],s))+360)%180,-90,90)||(r+=180),r)}(e,f,a);return f.getLocalEulerAngles()||f.setLocalEulerAngles(x),tl(f,(0,r.pi)((0,r.pi)({},ta(e.value,x,a)),m)),t.attr(b),f}function tu(t,e){return P(t,e.tickDirection,e)}function tf(t,e,n,a,o,u){var f,d,g,m,y,v,b,x,O,w,_,k,M,C,A,S,E,P,R,Z,L,B=(f=(0,l.Ys)(this),d=a.tickFormatter,g=tu(t.value,a),m="line",(0,c.Z)(d)&&(m=function(){return(0,p.S)(d,[t,e,n,g])}),f.append(m).attr("className",s.Ec.tickItem.name));y=tu(t.value,a),v=a.tickLength,O=(0,r.CR)((b=(0,p.S)(v,[t,e,n]),[[0,0],[(x=(0,r.CR)(y,2))[0]*b,x[1]*b]]),2),_=(w=(0,r.CR)(O[0],2))[0],k=w[1],A=(C={x1:_,x2:(M=(0,r.CR)(O[1],2))[0],y1:k,y2:M[1]}).x1,S=C.x2,E=C.y1,P=C.y2,Z=(R=(0,r.CR)((0,h.Hm)(j(o,[t,e,n,y])),2))[0],L=R[1],"line"===B.node().nodeName&&B.styles((0,r.pi)({x1:A,x2:S,y1:E,y2:P},Z)),this.attr(L),B.styles(Z);var I=(0,r.CR)(T(t.value,a),2),N=I[0],D=I[1];return(0,i.eR)(this,{transform:"translate(".concat(N,", ").concat(D,")")},u)}var td=n(1366);function th(t,e,n,a,o){var c=(0,h.zs)(a,"title"),f=(0,r.CR)((0,h.Hm)(c),2),d=f[0],p=f[1],g=p.transform,m=p.transformOrigin,y=(0,r._T)(p,["transform","transformOrigin"]);e.styles(y);var v=g||function(t,e,n){var r=2*t.getGeometryBounds().halfExtents[1];if("vertical"===e){if("left"===n)return"rotate(-90) translate(0, ".concat(r/2,")");if("right"===n)return"rotate(-90) translate(0, -".concat(r/2,")")}return""}(t.node(),d.direction,d.position);t.styles((0,r.pi)((0,r.pi)({},d),{transformOrigin:m})),W(t.node(),v);var b=function(t,e,n){var i=n.titlePosition,a=void 0===i?"lb":i,o=n.titleSpacing,l=(0,td.li)(a),s=t.node().getLocalBounds(),c=(0,r.CR)(s.min,2),f=c[0],d=c[1],h=(0,r.CR)(s.halfExtents,2),p=h[0],g=h[1],m=(0,r.CR)(e.node().getLocalBounds().halfExtents,2),y=m[0],v=m[1],b=(0,r.CR)([f+p,d+g],2),x=b[0],O=b[1],w=(0,r.CR)((0,V.j)(o),4),_=w[0],k=w[1],M=w[2],C=w[3];if(["start","end"].includes(a)&&"linear"===n.type){var j=n.startPos,A=n.endPos,S=(0,r.CR)("start"===a?[j,A]:[A,j],2),E=S[0],P=S[1],R=(0,u.Fv)([-P[0]+E[0],-P[1]+E[1]]),T=(0,r.CR)((0,u.bA)(R,_),2),Z=T[0],L=T[1];return{x:E[0]+Z,y:E[1]+L}}return l.includes("t")&&(O-=g+v+_),l.includes("r")&&(x+=p+y+k),l.includes("l")&&(x-=p+y+C),l.includes("b")&&(O+=g+v+M),{x:x,y:O}}((0,l.Ys)(n._offscreen||n.querySelector(s.Ec.mainGroup.class)),e,a),x=b.x,O=b.y;return(0,i.eR)(e.node(),{transform:"translate(".concat(x,", ").concat(O,")")},o)}function tp(t,e,n,a){var c=t.showLine,u=t.showTick,f=t.showLabel,d=e.maybeAppendByClassName(s.Ec.lineGroup,"g"),p=(0,o.z)(c,d,function(e){var n,o,l,c,u,f,d,p,g,m,y;return n=e,o=t,l=a,m=o.type,y=(0,h.zs)(o,"line"),"linear"===m?g=function(t,e,n,a){var o,l,c,u,f,d,h,p,g,m,y,v,b,x,O,w,_,k,M=e.showTrunc,C=e.startPos,j=e.endPos,A=e.truncRange,S=e.lineExtension,E=(0,r.CR)([C,j],2),P=(0,r.CR)(E[0],2),R=P[0],T=P[1],Z=(0,r.CR)(E[1],2),L=Z[0],B=Z[1],N=(0,r.CR)(S?(void 0===(o=S)&&(o=[0,0]),l=(0,r.CR)([C,j,o],3),u=(c=(0,r.CR)(l[0],2))[0],f=c[1],h=(d=(0,r.CR)(l[1],2))[0],p=d[1],m=(g=(0,r.CR)(l[2],2))[0],y=g[1],O=Math.sqrt(Math.pow(b=(v=(0,r.CR)([h-u,p-f],2))[0],2)+Math.pow(x=v[1],2)),[(_=(w=(0,r.CR)([-m/O,y/O],2))[0])*b,_*x,(k=w[1])*b,k*x]):[,,,,].fill(0),4),D=N[0],F=N[1],z=N[2],$=N[3],W=function(e){return t.selectAll(s.Ec.line.class).data(e,function(t,e){return e}).join(function(t){return t.append("line").attr("className",function(t){return"".concat(s.Ec.line.name," ").concat(t.className)}).styles(n).transition(function(t){return(0,i.eR)(this,I(t.line),!1)})},function(t){return t.styles(n).transition(function(t){var e=t.line;return(0,i.eR)(this,I(e),a.update)})},function(t){return t.remove()}).transitions()};if(!M||!A)return W([{line:[[R+D,T+F],[L+z,B+$]],className:s.Ec.line.name}]);var H=(0,r.CR)(A,2),G=H[0],q=H[1],V=L-R,Y=B-T,U=(0,r.CR)([R+V*G,T+Y*G],2),Q=U[0],K=U[1],X=(0,r.CR)([R+V*q,T+Y*q],2),J=X[0],tt=X[1],te=W([{line:[[R+D,T+F],[Q,K]],className:s.Ec.lineFirst.name},{line:[[J,tt],[L+z,B+$]],className:s.Ec.lineSecond.name}]);return e.truncRange,e.truncShape,e.lineExtension,te}(n,o,C(y,"arrow"),l):(c=C(y,"arrow"),u=o.startAngle,f=o.endAngle,d=o.center,p=o.radius,g=n.selectAll(s.Ec.line.class).data([{d:B.apply(void 0,(0,r.ev)((0,r.ev)([u,f],(0,r.CR)(d),!1),[p],!1))}],function(t,e){return e}).join(function(t){return t.append("path").attr("className",s.Ec.line.name).styles(o).styles({d:function(t){return t.d}})},function(t){return t.transition(function(){var t,e,n,i,a,o=this,s=function(t,e,n,i){if(!i)return t.attr("__keyframe_data__",n),null;var a=i.duration,o=function t(e,n){var i,a,o,l,s,c;return"number"==typeof e&&"number"==typeof n?function(t){return e*(1-t)+n*t}:Array.isArray(e)&&Array.isArray(n)?(i=n?n.length:0,a=e?Math.min(i,e.length):0,function(r){var o=Array(a),l=Array(i),s=0;for(s=0;sx[0])||!(ei&&(i=p),g>o&&(o=g)}return new a.b(e,n,i-e,o-n)}var l=function(t,e,n){var i=t.width,l=t.height,s=n.flexDirection,c=void 0===s?"row":s,u=(n.flexWrap,n.justifyContent),f=void 0===u?"flex-start":u,d=(n.alignContent,n.alignItems),h=void 0===d?"flex-start":d,p="row"===c,g="row"===c||"column"===c,m=p?g?[1,0]:[-1,0]:g?[0,1]:[0,-1],y=(0,r.CR)([0,0],2),v=y[0],b=y[1],x=e.map(function(t){var e,n=t.width,i=t.height,o=(0,r.CR)([v,b],2),l=o[0],s=o[1];return v=(e=(0,r.CR)([v+n*m[0],b+i*m[1]],2))[0],b=e[1],new a.b(l,s,n,i)}),O=o(x),w={"flex-start":0,"flex-end":p?i-O.width:l-O.height,center:p?(i-O.width)/2:(l-O.height)/2},_=x.map(function(t){var e=t.x,n=t.y,r=a.b.fromRect(t);return r.x=p?e+w[f]:e,r.y=p?n:n+w[f],r});o(_);var k=function(t){var e=(0,r.CR)(p?["height",l]:["width",i],2),n=e[0],a=e[1];switch(h){case"flex-start":default:return 0;case"flex-end":return a-t[n];case"center":return a/2-t[n]/2}};return _.map(function(t){var e=t.x,n=t.y,r=a.b.fromRect(t);return r.x=p?e:e+k(r),r.y=p?n+k(r):n,r}).map(function(e){var n,r,i=a.b.fromRect(e);return i.x+=null!==(n=t.x)&&void 0!==n?n:0,i.y+=null!==(r=t.y)&&void 0!==r?r:0,i})},s=function(t,e,n){return[]},c=function(t,e,n){if(0===e.length)return[];var r={flex:l,grid:s},i=n.display in r?r[n.display]:null;return(null==i?void 0:i.call(null,t,e,n))||[]},u=n(62191),f=function(t){function e(e){var n=t.call(this,e)||this;n.layoutEvents=[i.Dk.BOUNDS_CHANGED,i.Dk.INSERTED,i.Dk.REMOVED],n.$margin=(0,u.j)(0),n.$padding=(0,u.j)(0);var r=e.style||{},a=r.margin,o=r.padding;return n.margin=void 0===a?0:a,n.padding=void 0===o?0:o,n.isMutationObserved=!0,n.bindEvents(),n}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"margin",{get:function(){return this.$margin},set:function(t){this.$margin=(0,u.j)(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"padding",{get:function(){return this.$padding},set:function(t){this.$padding=(0,u.j)(t)},enumerable:!1,configurable:!0}),e.prototype.getBBox=function(){var t=this.attributes,e=t.x,n=void 0===e?0:e,i=t.y,o=void 0===i?0:i,l=t.width,s=t.height,c=(0,r.CR)(this.$margin,4),u=c[0],f=c[1],d=c[2],h=c[3];return new a.b(n-h,o-u,l+h+f,s+u+d)},e.prototype.appendChild=function(e,n){return e.isMutationObserved=!0,t.prototype.appendChild.call(this,e,n),e},e.prototype.getAvailableSpace=function(){var t=this.attributes,e=t.width,n=t.height,i=(0,r.CR)(this.$padding,4),o=i[0],l=i[1],s=i[2],c=i[3],u=(0,r.CR)(this.$margin,4),f=u[0],d=u[3];return new a.b(c+d,o+f,e-c-l,n-o-s)},e.prototype.layout=function(){if(this.attributes.display&&this.isConnected&&!this.children.some(function(t){return!t.isConnected}))try{var t=this.attributes,e=t.x,n=t.y;this.style.transform="translate(".concat(e,", ").concat(n,")");var r=c(this.getAvailableSpace(),this.children.map(function(t){return t.getBBox()}),this.attributes);this.children.forEach(function(t,e){var n=r[e],i=n.x,a=n.y;t.style.transform="translate(".concat(i,", ").concat(a,")")})}catch(t){}},e.prototype.bindEvents=function(){var t=this;this.layoutEvents.forEach(function(e){t.addEventListener(e,function(e){e.target.isMutationObserved=!0,t.layout()})})},e.prototype.attributeChangedCallback=function(t,e,n){"margin"===t?this.margin=n:"padding"===t&&(this.padding=n),this.layout()},e}(i.ZA)},36789:function(t,e,n){"use strict";n.d(e,{W:function(){return D}});var r=n(97582),i=n(5951),a=n(33016),o=n(54015),l=n(43629),s=n(1366),c=n(1242),u=function(){},f=n(4637),d=n(76714),h=n(25897),p=function(t,e,n){var r=t,i=(0,d.Z)(e)?e.split("."):e;return i.forEach(function(t,e){e1?{width:55,height:0}:{width:0,height:0}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pageShape",{get:function(){var t,e,n=this.pageViews,i=(0,r.CR)(((null===(e=(t=n.map(function(t){var e=t.getBBox();return[e.width,e.height]}))[0])||void 0===e?void 0:e.map(function(e,n){return t.map(function(t){return t[n]})}))||[]).map(function(t){return Math.max.apply(Math,(0,r.ev)([],(0,r.CR)(t),!1))}),2),a=i[0],o=i[1],l=this.attributes,s=l.pageWidth,c=l.pageHeight;return{pageWidth:void 0===s?a:s,pageHeight:void 0===c?o:c}},enumerable:!1,configurable:!0}),e.prototype.getContainer=function(){return this.playWindow},Object.defineProperty(e.prototype,"totalPages",{get:function(){return this.pageViews.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currPage",{get:function(){return this.innerCurrPage},enumerable:!1,configurable:!0}),e.prototype.getBBox=function(){var e=t.prototype.getBBox.call(this),n=e.x,r=e.y,i=this.controllerShape,a=this.pageShape,o=a.pageWidth,s=a.pageHeight;return new l.b(n,r,o+i.width,s)},e.prototype.goTo=function(t){var e=this,n=this.attributes.animate,i=this.currPage,a=this.playState,o=this.playWindow,l=this.pageViews;if("idle"!==a||t<0||l.length<=0||t>=l.length)return null;l[i].setLocalPosition(0,0),this.prepareFollowingPage(t);var s=(0,r.CR)(this.getFollowingPageDiff(t),2),c=s[0],u=s[1];this.playState="running";var f=(0,x.jt)(o,[{transform:"translate(0, 0)"},{transform:"translate(".concat(-c,", ").concat(-u,")")}],n);return(0,x.Yq)(f,function(){e.innerCurrPage=t,e.playState="idle",e.setVisiblePages([t]),e.updatePageInfo()}),f},e.prototype.prev=function(){var t=this.attributes.loop,e=this.pageViews.length,n=this.currPage;if(!t&&n<=0)return null;var r=t?(n-1+e)%e:(0,v.Z)(n-1,0,e);return this.goTo(r)},e.prototype.next=function(){var t=this.attributes.loop,e=this.pageViews.length,n=this.currPage;if(!t&&n>=e-1)return null;var r=t?(n+1)%e:(0,v.Z)(n+1,0,e);return this.goTo(r)},e.prototype.renderClipPath=function(t){var e=this.pageShape,n=e.pageWidth,r=e.pageHeight;if(!n||!r){this.contentGroup.style.clipPath=void 0;return}this.clipPath=t.maybeAppendByClassName(k.clipPath,"rect").styles({width:n,height:r}),this.contentGroup.attr("clipPath",this.clipPath.node())},e.prototype.setVisiblePages=function(t){this.playWindow.children.forEach(function(e,n){t.includes(n)?(0,O.$Z)(e):(0,O.Cp)(e)})},e.prototype.adjustControllerLayout=function(){var t=this.prevBtnGroup,e=this.nextBtnGroup,n=this.pageInfoGroup,i=this.attributes,a=i.orientation,o=i.controllerPadding,l=n.getBBox(),s=l.width;l.height;var c=(0,r.CR)("horizontal"===a?[-180,0]:[-90,90],2),u=c[0],f=c[1];t.setLocalEulerAngles(u),e.setLocalEulerAngles(f);var d=t.getBBox(),h=d.width,p=d.height,g=e.getBBox(),m=g.width,y=g.height,v=Math.max(h,s,m),b="horizontal"===a?{offset:[[0,0],[h/2+o,0],[h+s+2*o,0]],textAlign:"start"}:{offset:[[v/2,-p-o],[v/2,0],[v/2,y+o]],textAlign:"center"},x=(0,r.CR)(b.offset,3),O=(0,r.CR)(x[0],2),w=O[0],_=O[1],k=(0,r.CR)(x[1],2),M=k[0],C=k[1],j=(0,r.CR)(x[2],2),A=j[0],S=j[1],E=b.textAlign,P=n.querySelector("text");P&&(P.style.textAlign=E),t.setLocalPosition(w,_),n.setLocalPosition(M,C),e.setLocalPosition(A,S)},e.prototype.updatePageInfo=function(){var t,e=this.currPage,n=this.pageViews,r=this.attributes.formatter;n.length<2||(null===(t=this.pageInfoGroup.querySelector(k.pageInfo.class))||void 0===t||t.attr("text",r(e+1,n.length)),this.adjustControllerLayout())},e.prototype.getFollowingPageDiff=function(t){var e=this.currPage;if(e===t)return[0,0];var n=this.attributes.orientation,r=this.pageShape,i=r.pageWidth,a=r.pageHeight,o=t=2,c=t.maybeAppendByClassName(k.controller,"g");if((0,O.WD)(c.node(),s),s){var u=(0,a.zs)(this.attributes,"button"),f=(0,a.zs)(this.attributes,"pageNum"),d=(0,r.CR)((0,a.Hm)(u),2),h=d[0],p=d[1],g=h.size,m=(0,r._T)(h,["size"]),y=!c.select(k.prevBtnGroup.class).node(),v=c.maybeAppendByClassName(k.prevBtnGroup,"g").styles(p);this.prevBtnGroup=v.node();var b=v.maybeAppendByClassName(k.prevBtn,"path"),x=c.maybeAppendByClassName(k.nextBtnGroup,"g").styles(p);this.nextBtnGroup=x.node(),[b,x.maybeAppendByClassName(k.nextBtn,"path")].forEach(function(t){t.styles((0,r.pi)((0,r.pi)({},m),{transformOrigin:"center"})),(0,w.b)(t.node(),g,!0)});var _=c.maybeAppendByClassName(k.pageInfoGroup,"g");this.pageInfoGroup=_.node(),_.maybeAppendByClassName(k.pageInfo,"text").styles(f),this.updatePageInfo(),c.node().setLocalPosition(o+n,l/2),y&&(this.prevBtnGroup.addEventListener("click",function(){e.prev()}),this.nextBtnGroup.addEventListener("click",function(){e.next()}))}},e.prototype.render=function(t,e){var n=t.x,r=t.y,i=void 0===r?0:r;this.attr("transform","translate(".concat(void 0===n?0:n,", ").concat(i,")"));var a=(0,o.Ys)(e);this.renderClipPath(a),this.renderController(a),this.setVisiblePages([this.defaultPage]),this.goTo(this.defaultPage)},e.prototype.bindEvents=function(){var t=this,e=(0,b.Z)(function(){return t.render(t.attributes,t)},50);this.playWindow.addEventListener(c.Dk.INSERTED,e),this.playWindow.addEventListener(c.Dk.REMOVED,e)},e}(i.w),C=n(52644),j=n(86224),A=n(62191),S=n(47772),E=n(39639),P=n(75494),R=n(83186),T=(0,g.A)({layout:"flex",markerGroup:"marker-group",marker:"marker",labelGroup:"label-group",label:"label",valueGroup:"value-group",value:"value",backgroundGroup:"background-group",background:"background"},"legend-category-item"),Z=function(t){function e(e){return t.call(this,e,{span:[1,1],marker:function(){return new c.Cd({style:{r:6}})},markerSize:10,labelFill:"#646464",valueFill:"#646464",labelFontSize:12,valueFontSize:12,labelTextBaseline:"middle",valueTextBaseline:"middle"})||this}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"showValue",{get:function(){var t=this.attributes.valueText;return!!t&&("string"==typeof t||"number"==typeof t?""!==t:"function"==typeof t||""!==t.attr("text"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"actualSpace",{get:function(){var t=this.labelGroup,e=this.valueGroup,n=this.attributes.markerSize,r=t.node().getBBox(),i=r.width,a=r.height,o=e.node().getBBox();return{markerWidth:n,labelWidth:i,valueWidth:o.width,height:Math.max(n,a,o.height)}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"span",{get:function(){var t=this.attributes.span;if(!t)return[1,1];var e=(0,r.CR)((0,A.j)(t),2),n=e[0],i=e[1],a=this.showValue?i:0,o=n+a;return[n/o,a/o]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shape",{get:function(){var t,e=this.attributes,n=e.markerSize,i=e.width,a=this.actualSpace,o=a.markerWidth,l=a.height,s=this.actualSpace,c=s.labelWidth,u=s.valueWidth,f=(0,r.CR)(this.spacing,2),d=f[0],h=f[1];if(i){var p=i-n-d-h,g=(0,r.CR)(this.span,2),m=g[0],y=g[1];c=(t=(0,r.CR)([m*p,y*p],2))[0],u=t[1]}return{width:o+c+u+d+h,height:l,markerWidth:o,labelWidth:c,valueWidth:u}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"spacing",{get:function(){var t=this.attributes.spacing;if(!t)return[0,0];var e=(0,r.CR)((0,A.j)(t),2),n=e[0],i=e[1];return this.showValue?[n,i]:[n,0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"layout",{get:function(){var t=this.shape,e=t.markerWidth,n=t.labelWidth,i=t.valueWidth,a=t.width,o=t.height,l=(0,r.CR)(this.spacing,2),s=l[0];return{height:o,width:a,markerWidth:e,labelWidth:n,valueWidth:i,position:[e/2,e+s,e+n+s+l[1]]}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scaleSize",{get:function(){var t,e=(t=this.markerGroup.node().querySelector(T.marker.class))?t.style:{},n=this.attributes,r=n.markerSize,i=n.markerStrokeWidth,a=void 0===i?e.strokeWidth:i,o=n.markerLineWidth,l=void 0===o?e.lineWidth:o,s=n.markerStroke,c=void 0===s?e.stroke:s,u=+(a||l||(c?1:0))*Math.sqrt(2),f=this.markerGroup.node().getBBox();return(1-u/Math.max(f.width,f.height))*r},enumerable:!1,configurable:!0}),e.prototype.renderMarker=function(t){var e=this,n=this.attributes.marker,i=(0,a.zs)(this.attributes,"marker");this.markerGroup=t.maybeAppendByClassName(T.markerGroup,"g").style("zIndex",0),(0,S.z)(!!n,this.markerGroup,function(){var t,a=e.markerGroup.node(),l=null===(t=a.childNodes)||void 0===t?void 0:t[0],s="string"==typeof n?new j.J({style:{symbol:n},className:T.marker.name}):n();l?s.nodeName===l.nodeName?l instanceof j.J?l.update((0,r.pi)((0,r.pi)({},i),{symbol:n})):((0,E.DM)(l,s),(0,o.Ys)(l).styles(i)):(l.remove(),(0,o.Ys)(s).attr("className",T.marker.name).styles(i),a.appendChild(s)):(s instanceof j.J||(0,o.Ys)(s).attr("className",T.marker.name).styles(i),a.appendChild(s)),e.markerGroup.node().scale(1/e.markerGroup.node().getScale()[0]);var c=(0,w.b)(e.markerGroup.node(),e.scaleSize,!0);e.markerGroup.node().style._transform="scale(".concat(c,")")})},e.prototype.renderLabel=function(t){var e=(0,a.zs)(this.attributes,"label"),n=e.text,i=(0,r._T)(e,["text"]);this.labelGroup=t.maybeAppendByClassName(T.labelGroup,"g").style("zIndex",0),this.labelGroup.maybeAppendByClassName(T.label,function(){return(0,P.S)(n)}).styles(i)},e.prototype.renderValue=function(t){var e=this,n=(0,a.zs)(this.attributes,"value"),i=n.text,o=(0,r._T)(n,["text"]);this.valueGroup=t.maybeAppendByClassName(T.valueGroup,"g").style("zIndex",0),(0,S.z)(this.showValue,this.valueGroup,function(){e.valueGroup.maybeAppendByClassName(T.value,function(){return(0,P.S)(i)}).styles(o)})},e.prototype.renderBackground=function(t){var e=this.shape,n=e.width,i=e.height,o=(0,a.zs)(this.attributes,"background");this.background=t.maybeAppendByClassName(T.backgroundGroup,"g").style("zIndex",-1),this.background.maybeAppendByClassName(T.background,"rect").styles((0,r.pi)({width:n,height:i},o))},e.prototype.adjustLayout=function(){var t=this.layout,e=t.labelWidth,n=t.valueWidth,i=t.height,a=(0,r.CR)(t.position,3),o=a[0],l=a[1],s=a[2],c=i/2;this.markerGroup.styles({transform:"translate(".concat(o,", ").concat(c,")").concat(this.markerGroup.node().style._transform)}),this.labelGroup.styles({transform:"translate(".concat(l,", ").concat(c,")")}),(0,R.O)(this.labelGroup.select(T.label.class).node(),Math.ceil(e)),this.showValue&&(this.valueGroup.styles({transform:"translate(".concat(s,", ").concat(c,")")}),(0,R.O)(this.valueGroup.select(T.value.class).node(),Math.ceil(n)))},e.prototype.render=function(t,e){var n=(0,o.Ys)(e),r=t.x,i=t.y,a=void 0===i?0:i;n.styles({transform:"translate(".concat(void 0===r?0:r,", ").concat(a,")")}),this.renderMarker(n),this.renderLabel(n),this.renderValue(n),this.renderBackground(n),this.adjustLayout()},e}(i.w),L=(0,g.A)({page:"item-page",navigator:"navigator",item:"item"},"items"),B=function(t,e,n){return(void 0===n&&(n=!0),t)?e(t):n},I=function(t){function e(e){var n=t.call(this,e,{data:[],gridRow:1/0,gridCol:void 0,padding:0,width:1e3,height:100,rowPadding:0,colPadding:0,layout:"flex",orientation:"horizontal",click:u,mouseenter:u,mouseleave:u})||this;return n.navigatorShape=[0,0],n}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"pageViews",{get:function(){return this.navigator.getContainer()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"grid",{get:function(){var t=this.attributes,e=t.gridRow,n=t.gridCol,r=t.data;if(!e&&!n)throw Error("gridRow and gridCol can not be set null at the same time");return e&&n?[e,n]:e?[e,r.length]:[r.length,n]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"renderData",{get:function(){var t=this.attributes,e=t.data,n=t.layout,i=(0,a.zs)(this.attributes,"item");return e.map(function(t,a){var o=t.id,l=void 0===o?a:o,s=t.label,c=t.value;return{id:"".concat(l),index:a,style:(0,r.pi)({layout:n,labelText:s,valueText:c},Object.fromEntries(Object.entries(i).map(function(n){var i=(0,r.CR)(n,2),o=i[0],l=i[1];return[o,(0,m.S)(l,[t,a,e])]})))}})},enumerable:!1,configurable:!0}),e.prototype.getGridLayout=function(){var t=this,e=this.attributes,n=e.orientation,i=e.width,a=e.rowPadding,o=e.colPadding,l=(0,r.CR)(this.navigatorShape,1)[0],s=(0,r.CR)(this.grid,2),c=s[0],u=s[1],f=u*c,d=0;return this.pageViews.children.map(function(e,s){var h,p,g=Math.floor(s/f),m=s%f,y=t.ifHorizontal(u,c),v=[Math.floor(m/y),m%y];"vertical"===n&&v.reverse();var b=(0,r.CR)(v,2),x=b[0],O=b[1],w=(i-l-(u-1)*o)/u,_=e.getBBox().height,k=(0,r.CR)([0,0],2),M=k[0],C=k[1];return"horizontal"===n?(M=(h=(0,r.CR)([d,x*(_+a)],2))[0],C=h[1],d=O===u-1?0:d+w+o):(M=(p=(0,r.CR)([O*(w+o),d],2))[0],C=p[1],d=x===c-1?0:d+_+a),{page:g,index:s,row:x,col:O,pageIndex:m,width:w,height:_,x:M,y:C}})},e.prototype.getFlexLayout=function(){var t=this.attributes,e=t.width,n=t.height,i=t.rowPadding,a=t.colPadding,o=(0,r.CR)(this.navigatorShape,1)[0],l=(0,r.CR)(this.grid,2),s=l[0],c=l[1],u=(0,r.CR)([e-o,n],2),f=u[0],d=u[1],h=(0,r.CR)([0,0,0,0,0,0,0,0],8),p=h[0],g=h[1],m=h[2],y=h[3],v=h[4],b=h[5],x=h[6],O=h[7];return this.pageViews.children.map(function(t,e){var n,o,l,u,h=t.getBBox(),w=h.width,_=h.height,k=0===x?0:a,M=x+k+w;return M<=f&&B(v,function(t){return t0?(this.navigatorShape=[55,0],t.call(this)):e},enumerable:!1,configurable:!0}),e.prototype.ifHorizontal=function(t,e){var n=this.attributes.orientation;return(0,C._h)(n,t,e)},e.prototype.flattenPage=function(t){t.querySelectorAll(L.item.class).forEach(function(e){t.appendChild(e)}),t.querySelectorAll(L.page.class).forEach(function(e){t.removeChild(e).destroy()})},e.prototype.renderItems=function(t){var e=this.attributes,n=e.click,r=e.mouseenter,i=e.mouseleave;this.flattenPage(t);var a=this.dispatchCustomEvent.bind(this);(0,o.Ys)(t).selectAll(L.item.class).data(this.renderData,function(t){return t.id}).join(function(t){return t.append(function(t){var e=t.style;return new Z({style:e})}).attr("className",L.item.name).on("click",function(){null==n||n(this),a("itemClick",{item:this})}).on("pointerenter",function(){null==r||r(this),a("itemMouseenter",{item:this})}).on("pointerleave",function(){null==i||i(this),a("itemMouseleave",{item:this})})},function(t){return t.each(function(t){var e=t.style;this.update(e)})},function(t){return t.remove()})},e.prototype.relayoutNavigator=function(){var t,e=this.attributes,n=e.layout,i=e.width,a=(null===(t=this.pageViews.children[0])||void 0===t?void 0:t.getBBox().height)||0,o=(0,r.CR)(this.navigatorShape,2),l=o[0],s=o[1];this.navigator.update("grid"===n?{pageWidth:i-l,pageHeight:a-s}:{})},e.prototype.adjustLayout=function(){var t,e,n=this,i=Object.entries((t=this.itemsLayout,e="page",t.reduce(function(t,n){return(t[n[e]]=t[n[e]]||[]).push(n),t},{}))).map(function(t){var e=(0,r.CR)(t,2);return{page:e[0],layouts:e[1]}}),a=(0,r.ev)([],(0,r.CR)(this.navigator.getContainer().children),!1);i.forEach(function(t){var e=t.layouts,r=n.pageViews.appendChild(new c.ZA({className:L.page.name}));e.forEach(function(t){var e=t.x,n=t.y,i=t.index,o=t.width,l=t.height,s=a[i];r.appendChild(s),p(s,"__layout__",t),s.update({x:e,y:n,width:o,height:l})})}),this.relayoutNavigator()},e.prototype.renderNavigator=function(t){var e=this.attributes.orientation,n=(0,a.zs)(this.attributes,"nav"),r=(0,y.n)({orientation:e},n),i=this;return t.selectAll(L.navigator.class).data(["nav"]).join(function(t){return t.append(function(){return new M({style:r})}).attr("className",L.navigator.name).each(function(){i.navigator=this})},function(t){return t.each(function(){this.update(r)})},function(t){return t.remove()}),this.navigator},e.prototype.getBBox=function(){return this.navigator.getBBox()},e.prototype.render=function(t,e){var n=this.attributes.data;if(n&&0!==n.length){var r=this.renderNavigator((0,o.Ys)(e));this.renderItems(r.getContainer()),this.adjustLayout()}},e.prototype.dispatchCustomEvent=function(t,e){var n=new c.Aw(t,{detail:e});this.dispatchEvent(n)},e}(i.w),N=n(47334),D=function(t){function e(e){return t.call(this,e,N.bD)||this}return(0,r.ZT)(e,t),e.prototype.renderTitle=function(t,e,n){var i=this.attributes,o=i.showTitle,l=i.titleText,c=(0,a.zs)(this.attributes,"title"),u=(0,r.CR)((0,a.Hm)(c),2),f=u[0],d=u[1];this.titleGroup=t.maybeAppendByClassName(N.Ec.titleGroup,"g").styles(d);var h=(0,r.pi)((0,r.pi)({width:e,height:n},f),{text:o?l:""});this.title=this.titleGroup.maybeAppendByClassName(N.Ec.title,function(){return new s.Dx({style:h})}).update(h)},e.prototype.renderItems=function(t,e){var n=e.x,i=e.y,l=e.width,s=e.height,c=(0,a.zs)(this.attributes,"title",!0),u=(0,r.CR)((0,a.Hm)(c),2),f=u[0],d=u[1],h=(0,r.pi)((0,r.pi)({},f),{width:l,height:s,x:0,y:0});this.itemsGroup=t.maybeAppendByClassName(N.Ec.itemsGroup,"g").styles((0,r.pi)((0,r.pi)({},d),{transform:"translate(".concat(n,", ").concat(i,")")}));var p=this;this.itemsGroup.selectAll(N.Ec.items.class).data(["items"]).join(function(t){return t.append(function(){return new I({style:h})}).attr("className",N.Ec.items.name).each(function(){p.items=(0,o.Ys)(this)})},function(t){return t.update(h)},function(t){return t.remove()})},e.prototype.adjustLayout=function(){if(this.attributes.showTitle){var t=this.title.node().getAvailableSpace(),e=t.x,n=t.y;this.itemsGroup.node().style.transform="translate(".concat(e,", ").concat(n,")")}},Object.defineProperty(e.prototype,"availableSpace",{get:function(){var t=this.attributes,e=t.showTitle,n=t.width,r=t.height;return e?this.title.node().getAvailableSpace():new l.b(0,0,n,r)},enumerable:!1,configurable:!0}),e.prototype.getBBox=function(){var e,n,r=null===(e=this.title)||void 0===e?void 0:e.node(),i=null===(n=this.items)||void 0===n?void 0:n.node();return r&&i?(0,s.jY)(r,i):t.prototype.getBBox.call(this)},e.prototype.render=function(t,e){var n=this.attributes,r=n.width,i=n.height,a=n.x,l=n.y,s=void 0===l?0:l,c=(0,o.Ys)(e);e.style.transform="translate(".concat(void 0===a?0:a,", ").concat(s,")"),this.renderTitle(c,r,i),this.renderItems(c,this.availableSpace),this.adjustLayout()},e}(i.w)},47334:function(t,e,n){"use strict";n.d(e,{B0:function(){return c},D_:function(){return u},Ec:function(){return f},bD:function(){return s}});var r=n(8126),i=n(33016),a=n(79274),o=n(52774),l={showTitle:!0,padding:0,orientation:"horizontal",backgroundFill:"transparent",titleText:"",titleSpacing:4,titlePosition:"top-left",titleFill:"#2C3542",titleFontWeight:"bold",titleFontFamily:"sans-serif",titleFontSize:12},s=(0,r.n)({},l,{}),c=(0,r.n)({},l,(0,i.dq)(o.x,"handle"),{color:["#d0e3fa","#acc7f6","#8daaf2","#6d8eea","#4d73cd","#325bb1","#5a3e75","#8c3c79","#e23455","#e7655b"],indicatorBackgroundFill:"#262626",indicatorLabelFill:"white",indicatorLabelFontSize:12,indicatorVisibility:"hidden",labelAlign:"value",labelDirection:"positive",labelSpacing:5,showHandle:!0,showIndicator:!0,showLabel:!0,slidable:!0,titleText:"",type:"continuous"}),u=.01,f=(0,a.A)({title:"title",titleGroup:"title-group",items:"items",itemsGroup:"items-group",contentGroup:"content-group",ribbonGroup:"ribbon-group",ribbon:"ribbon",handlesGroup:"handles-group",handle:"handle",startHandle:"start-handle",endHandle:"end-handle",labelGroup:"label-group",label:"label",indicator:"indicator"},"legend")},37948:function(t,e,n){"use strict";n.d(e,{V:function(){return I}});var r=n(97582),i=n(1242),a=n(36380),o=n(81957),l=n(71154),s=n(5951),c=n(43629),u=n(54015),f=n(47772),d=n(33016),h=n(8126),p=n(62059),g=n(48951),m=n(26406),y=n(47537),v=n(61021),b=n(79274),x=n(62191),O=n(75494),w=n(39639),_={backgroundFill:"#262626",backgroundLineCap:"round",backgroundLineWidth:1,backgroundStroke:"#333",backgroundZIndex:-1,formatter:function(t){return t.toString()},labelFill:"#fff",labelFontSize:12,labelTextBaseline:"middle",padding:[2,4],position:"right",radius:0,zIndex:999},k=(0,b.A)({background:"background",labelGroup:"label-group",label:"label"},"indicator"),M=function(t){function e(e){var n=t.call(this,e,_)||this;return n.point=[0,0],n.group=n.appendChild(new i.ZA({})),n.isMutationObserved=!0,n}return(0,r.ZT)(e,t),e.prototype.renderBackground=function(){if(this.label){var t=this.attributes,e=t.position,n=t.padding,i=(0,r.CR)((0,x.j)(n),4),a=i[0],o=i[1],l=i[2],s=i[3],f=this.label.node().getLocalBounds(),h=f.min,p=f.max,g=new c.b(h[0]-s,h[1]-a,p[0]+o-h[0]+s,p[1]+l-h[1]+a),m=this.getPath(e,g),y=(0,d.zs)(this.attributes,"background");this.background=(0,u.Ys)(this.group).maybeAppendByClassName(k.background,"path").styles((0,r.pi)((0,r.pi)({},y),{d:m})),this.group.appendChild(this.label.node())}},e.prototype.renderLabel=function(){var t=this.attributes,e=t.formatter,n=t.labelText,i=(0,d.zs)(this.attributes,"label"),a=(0,r.CR)((0,d.Hm)(i),2),o=a[0],l=a[1],s=(o.text,(0,r._T)(o,["text"]));this.label=(0,u.Ys)(this.group).maybeAppendByClassName(k.labelGroup,"g").styles(l),n&&this.label.maybeAppendByClassName(k.label,function(){return(0,O.S)(e(n))}).style("text",e(n).toString()).selectAll("text").styles(s)},e.prototype.adjustLayout=function(){var t=(0,r.CR)(this.point,2),e=t[0],n=t[1],i=this.attributes,a=i.x,o=i.y;this.group.attr("transform","translate(".concat(a-e,", ").concat(o-n,")"))},e.prototype.getPath=function(t,e){var n=this.attributes.radius,i=e.x,a=e.y,o=e.width,l=e.height,s=[["M",i+n,a],["L",i+o-n,a],["A",n,n,0,0,1,i+o,a+n],["L",i+o,a+l-n],["A",n,n,0,0,1,i+o-n,a+l],["L",i+n,a+l],["A",n,n,0,0,1,i,a+l-n],["L",i,a+n],["A",n,n,0,0,1,i+n,a],["Z"]],c={top:4,right:6,bottom:0,left:2}[t],u=this.createCorner([s[c].slice(-2),s[c+1].slice(-2)]);return s.splice.apply(s,(0,r.ev)([c+1,1],(0,r.CR)(u),!1)),s[0][0]="M",s},e.prototype.createCorner=function(t,e){void 0===e&&(e=10);var n=w.wE.apply(void 0,(0,r.ev)([],(0,r.CR)(t),!1)),i=(0,r.CR)(t,2),a=(0,r.CR)(i[0],2),o=a[0],l=a[1],s=(0,r.CR)(i[1],2),c=s[0],u=s[1],f=(0,r.CR)(n?[c-o,[o,c]]:[u-l,[l,u]],2),d=f[0],h=(0,r.CR)(f[1],2),p=h[0],g=h[1],m=d/2,y=e*(d/Math.abs(d)),v=y/2,b=y*Math.sqrt(3)/2*.8,x=(0,r.CR)([p,p+m-v,p+m,p+m+v,g],5),O=x[0],_=x[1],k=x[2],M=x[3],C=x[4];return n?(this.point=[k,l-b],[["L",O,l],["L",_,l],["L",k,l-b],["L",M,l],["L",C,l]]):(this.point=[o+b,k],[["L",o,O],["L",o,_],["L",o+b,k],["L",o,M],["L",o,C]])},e.prototype.applyVisibility=function(){"hidden"===this.attributes.visibility?(0,p.Cp)(this):(0,p.$Z)(this)},e.prototype.bindEvents=function(){this.label.on(i.Dk.BOUNDS_CHANGED,this.renderBackground)},e.prototype.render=function(){this.renderLabel(),this.renderBackground(),this.adjustLayout(),this.applyVisibility()},e}(s.w),C=n(77687),j=n(1366),A=n(47334),S=n(52774),E=n(45607),P=n(52644);function R(t,e){var n=(0,r.CR)(function(t,e){for(var n=1;n=r&&e<=i)return[r,i]}return[e,e]}(t,e),2),i=n[0],a=n[1];return{tick:e>(i+a)/2?a:i,range:[i,a]}}var T=(0,b.A)({trackGroup:"background-group",track:"background",selectionGroup:"ribbon-group",selection:"ribbon",clipPath:"clip-path"},"ribbon");function Z(t){var e=t.orientation,n=t.size,r=t.length;return(0,P._h)(e,[r,n],[n,r])}function L(t){var e=t.type,n=(0,r.CR)(Z(t),2),i=n[0],a=n[1];return"size"===e?[["M",0,a],["L",0+i,0],["L",0+i,a],["Z"]]:[["M",0,a],["L",0,0],["L",0+i,0],["L",0+i,a],["Z"]]}var B=function(t){function e(e){return t.call(this,e,{type:"color",orientation:"horizontal",size:30,range:[0,1],length:200,block:!1,partition:[],color:["#fff","#000"],trackFill:"#e5e5e5"})||this}return(0,r.ZT)(e,t),e.prototype.render=function(t,e){var n,a,o,l,s,c,f,h,p,g,m,y,v,b,x;(function(t,e){var n=(0,d.zs)(e,"track");t.maybeAppendByClassName(T.track,"path").styles((0,r.pi)({d:L(e)},n))})((0,u.Ys)(e).maybeAppendByClassName(T.trackGroup,"g"),t),n=(0,u.Ys)(e).maybeAppendByClassName(T.selectionGroup,"g"),a=(0,d.zs)(t,"selection"),g=(c=t).orientation,m=c.color,y=c.block,v=c.partition,b=(p=(0,E.Z)(m)?Array(20).fill(0).map(function(t,e,n){return m(e/(n.length-1))}):m).length,x=p.map(function(t){return(0,i.lu)(t).toString()}),o=b?1===b?x[0]:y?(f=Array.from(x),Array(h=v.length).fill(0).reduce(function(t,e,n){var r=f[n%f.length];return t+" ".concat(v[n],":").concat(r).concat(ng?Math.max(d-s,0):Math.max((d-s-g)/y,0));var x=Math.max(m,u),O=h-x,w=(0,r.CR)(this.ifHorizontal([O,v],[v,O]),2),_=w[0],k=w[1],M=["top","left"].includes(b)?s:0,C=(0,r.CR)(this.ifHorizontal([x/2,M],[M,x/2]),2),j=C[0],A=C[1];return new c.b(j,A,_,k)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ribbonShape",{get:function(){var t=this.ribbonBBox,e=t.width,n=t.height;return this.ifHorizontal({size:n,length:e},{size:e,length:n})},enumerable:!1,configurable:!0}),e.prototype.renderRibbon=function(t){var e=this.attributes,n=e.data,r=e.type,i=e.orientation,a=e.color,o=e.block,l=(0,d.zs)(this.attributes,"ribbon"),s=this.range,c=s.min,u=s.max,f=this.ribbonBBox,p=f.x,g=f.y,m=this.ribbonShape,y=m.length,v=m.size,b=(0,h.n)({transform:"translate(".concat(p,", ").concat(g,")"),length:y,size:v,type:r,orientation:i,color:a,block:o,partition:n.map(function(t){return(t.value-c)/(u-c)}),range:this.ribbonRange},l);this.ribbon=t.maybeAppendByClassName(A.Ec.ribbon,function(){return new B({style:b})}).update(b)},e.prototype.getHandleClassName=function(t){return"".concat(A.Ec.prefix("".concat(t,"-handle")))},e.prototype.renderHandles=function(){var t=this.attributes,e=t.showHandle,n=t.orientation,i=(0,d.zs)(this.attributes,"handle"),a=(0,r.CR)(this.selection,2),o=a[0],l=a[1],s=(0,r.pi)((0,r.pi)({},i),{orientation:n}),c=i.shape,u="basic"===(void 0===c?"slider":c)?S.H:C.H,f=this;this.handlesGroup.selectAll(A.Ec.handle.class).data(e?[{value:o,type:"start"},{value:l,type:"end"}]:[],function(t){return t.type}).join(function(t){return t.append(function(){return new u({style:s})}).attr("className",function(t){var e=t.type;return"".concat(A.Ec.handle," ").concat(f.getHandleClassName(e))}).each(function(t){var e=t.type,n=t.value;this.update({labelText:n}),f["".concat(e,"Handle")]=this,this.addEventListener("pointerdown",f.onDragStart(e))})},function(t){return t.update(s).each(function(t){var e=t.value;this.update({labelText:e})})},function(t){return t.each(function(t){var e=t.type;f["".concat(e,"Handle")]=void 0}).remove()})},e.prototype.adjustHandles=function(){var t=(0,r.CR)(this.selection,2),e=t[0],n=t[1];this.setHandlePosition("start",e),this.setHandlePosition("end",n)},Object.defineProperty(e.prototype,"handleBBox",{get:function(){if(this.cacheHandleBBox)return this.cacheHandleBBox;if(!this.attributes.showHandle)return new c.b(0,0,0,0);var t=this.startHandle.getBBox(),e=t.width,n=t.height,i=this.endHandle.getBBox(),a=i.width,o=i.height,l=(0,r.CR)([Math.max(e,a),Math.max(n,o)],2),s=l[0],u=l[1];return this.cacheHandleBBox=new c.b(0,0,s,u),this.cacheHandleBBox},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"handleShape",{get:function(){var t=this.handleBBox,e=t.width,n=t.height,i=(0,r.CR)(this.ifHorizontal([n,e],[e,n]),2),a=i[0],o=i[1];return{width:e,height:n,size:a,length:o}},enumerable:!1,configurable:!0}),e.prototype.setHandlePosition=function(t,e){var n=this.attributes.handleFormatter,i=this.ribbonBBox,a=i.x,o=i.y,l=this.ribbonShape.size,s=this.getOffset(e),c=(0,r.CR)(this.ifHorizontal([a+s,o+l*this.handleOffsetRatio],[a+l*this.handleOffsetRatio,o+s]),2),u=c[0],f=c[1],d=this.handlesGroup.select(".".concat(this.getHandleClassName(t))).node();null==d||d.update({transform:"translate(".concat(u,", ").concat(f,")"),formatter:n})},e.prototype.renderIndicator=function(t){var e=(0,d.zs)(this.attributes,"indicator");this.indicator=t.maybeAppendByClassName(A.Ec.indicator,function(){return new M({})}).update(e)},Object.defineProperty(e.prototype,"labelData",{get:function(){var t=this;return this.attributes.data.reduce(function(e,n,i,a){var o,l,s=null!==(o=null==n?void 0:n.id)&&void 0!==o?o:i.toString();if(e.push((0,r.pi)((0,r.pi)({},n),{id:s,index:i,type:"value",label:null!==(l=null==n?void 0:n.label)&&void 0!==l?l:n.value.toString(),value:t.ribbonScale.map(n.value)})),iy&&(m=(a=(0,r.CR)([y,m],2))[0],y=a[1]),v>s-l)?[l,s]:ms?p===s&&h===m?[m,s]:[s-v,s]:[m,y]}function l(t,e,n){return void 0===t&&(t="horizontal"),"horizontal"===t?e:n}i.J.registerSymbol("hiddenHandle",function(t,e,n){var r=1.4*n;return[["M",t-n,e-r],["L",t+n,e-r],["L",t+n,e+r],["L",t-n,e+r],["Z"]]}),i.J.registerSymbol("verticalHandle",function(t,e,n){var r=1.4*n,i=n/2,a=n/6,o=t+.4*r;return[["M",t,e],["L",o,e+i],["L",t+r,e+i],["L",t+r,e-i],["L",o,e-i],["Z"],["M",o,e+a],["L",t+r-2,e+a],["M",o,e-a],["L",t+r-2,e-a]]}),i.J.registerSymbol("horizontalHandle",function(t,e,n){var r=1.4*n,i=n/2,a=n/6,o=e+.4*r;return[["M",t,e],["L",t-i,o],["L",t-i,e+r],["L",t+i,e+r],["L",t+i,o],["Z"],["M",t-a,o],["L",t-a,e+r-2],["M",t+a,o],["L",t+a,e+r-2]]})},86224:function(t,e,n){"use strict";n.d(e,{J:function(){return f}});var r=n(97582),i=n(45607),a=n(5951),o=n(47772),l=n(54015),s=n(56546),c=n(4637),u=n(76714),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.render=function(t,n){var a,s=t.x,f=void 0===s?0:s,d=t.y,h=void 0===d?0:d,p=this.getSubShapeStyle(t),g=p.symbol,m=p.size,y=void 0===m?16:m,v=(0,r._T)(p,["symbol","size"]),b=["base64","url","image"].includes(a=function(t){var e="default";if((0,c.Z)(t)&&t instanceof Image)e="image";else if((0,i.Z)(t))e="symbol";else if((0,u.Z)(t)){var n=RegExp("data:(image|text)");e=t.match(n)?"base64":/^(https?:\/\/(([a-zA-Z0-9]+-?)+[a-zA-Z0-9]+\.)+[a-zA-Z]+)(:\d+)?(\/.*)?(\?.*)?(#.*)?$/.test(t)?"url":"symbol"}return e}(g))?"image":g&&"symbol"===a?"path":null;(0,o.z)(!!b,(0,l.Ys)(n),function(t){t.maybeAppendByClassName("marker",b).attr("className","marker ".concat(b,"-marker")).call(function(t){if("image"===b){var n=2*y;t.styles({img:g,width:n,height:n,x:f-y,y:h-y})}else{var n=y/2,a=(0,i.Z)(g)?g:e.getSymbol(g);t.styles((0,r.pi)({d:null==a?void 0:a(f,h,n)},v))}})})},e.MARKER_SYMBOL_MAP=new Map,e.registerSymbol=function(t,n){e.MARKER_SYMBOL_MAP.set(t,n)},e.getSymbol=function(t){return e.MARKER_SYMBOL_MAP.get(t)},e.getSymbols=function(){return Array.from(e.MARKER_SYMBOL_MAP.keys())},e}(a.w);f.registerSymbol("cross",s.kC),f.registerSymbol("hyphen",s.Zb),f.registerSymbol("line",s.jv),f.registerSymbol("plus",s.PD),f.registerSymbol("tick",s.Ky),f.registerSymbol("circle",s.Xw),f.registerSymbol("point",s.xm),f.registerSymbol("bowtie",s.XF),f.registerSymbol("hexagon",s.bL),f.registerSymbol("square",s.h6),f.registerSymbol("diamond",s.tf),f.registerSymbol("triangle",s.cP),f.registerSymbol("triangle-down",s.MG),f.registerSymbol("line",s.jv),f.registerSymbol("dot",s.AK),f.registerSymbol("dash",s.P2),f.registerSymbol("smooth",s.ip),f.registerSymbol("hv",s.hv),f.registerSymbol("vh",s.vh),f.registerSymbol("hvh",s.t7),f.registerSymbol("vhv",s.sN)},56546:function(t,e,n){"use strict";n.d(e,{AK:function(){return m},Ky:function(){return h},LI:function(){return _},MG:function(){return s},P2:function(){return y},PD:function(){return p},XF:function(){return u},Xw:function(){return r},Zb:function(){return g},bL:function(){return c},cP:function(){return l},h6:function(){return a},hv:function(){return b},ip:function(){return v},jv:function(){return f},kC:function(){return d},sN:function(){return w},t7:function(){return O},tf:function(){return o},vh:function(){return x},xm:function(){return i}});var r=function(t,e,n){return[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e],["Z"]]},i=r,a=function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},o=function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},l=function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]},s=function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]},c=function(t,e,n){var r=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+r,e-n/2],["L",t+r,e+n/2],["L",t,e+n],["L",t-r,e+n/2],["L",t-r,e-n/2],["Z"]]},u=function(t,e,n){var r=n-1.5;return[["M",t-n,e-r],["L",t+n,e+r],["L",t+n,e-r],["L",t-n,e+r],["Z"]]},f=function(t,e,n){return[["M",t,e+n],["L",t,e-n]]},d=function(t,e,n){return[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]]},h=function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},p=function(t,e,n){return[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]]},g=function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},m=function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},y=m,v=function(t,e,n){return[["M",t-n,e],["A",n/2,n/2,0,1,1,t,e],["A",n/2,n/2,0,1,0,t+n,e]]},b=function(t,e,n){return[["M",t-n-1,e-2.5],["L",t,e-2.5],["L",t,e+2.5],["L",t+n+1,e+2.5]]},x=function(t,e,n){return[["M",t-n-1,e+2.5],["L",t,e+2.5],["L",t,e-2.5],["L",t+n+1,e-2.5]]},O=function(t,e,n){return[["M",t-(n+1),e+2.5],["L",t-n/2,e+2.5],["L",t-n/2,e-2.5],["L",t+n/2,e-2.5],["L",t+n/2,e+2.5],["L",t+n+1,e+2.5]]};function w(t,e){return[["M",t-5,e+2.5],["L",t-5,e],["L",t,e],["L",t,e-3],["L",t,e+3],["L",t+6.5,e+3]]}var _=function(t,e,n){return[["M",t-n,e-n],["L",t+n,e],["L",t-n,e+n],["Z"]]}},53020:function(t,e,n){"use strict";n.d(e,{L:function(){return d}});var r=n(97582),i=n(1242),a=n(81957),o=n(5951),l=n(26406),s=n(62191),c=n(33016),u=n(54015),f=n(21155),d=function(t){function e(e){var n=t.call(this,e,{x:0,y:0,isRound:!0,orientation:"vertical",padding:[2,2,2,2],scrollable:!0,slidable:!0,thumbCursor:"default",trackSize:10,value:0})||this;return n.range=[0,1],n.onValueChange=function(t){var e=n.attributes.value;if(t!==e){var r={detail:{oldValue:t,value:e}};n.dispatchEvent(new i.Aw("scroll",r)),n.dispatchEvent(new i.Aw("valuechange",r))}},n.onTrackClick=function(t){if(n.attributes.slidable){var e=(0,r.CR)(n.getLocalPosition(),2),i=e[0],a=e[1],o=(0,r.CR)(n.padding,4),s=o[0],c=o[3],u=n.getOrientVal([i+c,a+s]),f=(n.getOrientVal((0,l.s)(t))-u)/n.trackLength;n.setValue(f,!0)}},n.onThumbMouseenter=function(t){n.dispatchEvent(new i.Aw("thumbMouseenter",{detail:t.detail}))},n.onTrackMouseenter=function(t){n.dispatchEvent(new i.Aw("trackMouseenter",{detail:t.detail}))},n.onThumbMouseleave=function(t){n.dispatchEvent(new i.Aw("thumbMouseleave",{detail:t.detail}))},n.onTrackMouseleave=function(t){n.dispatchEvent(new i.Aw("trackMouseleave",{detail:t.detail}))},n}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"padding",{get:function(){var t=this.attributes.padding;return(0,s.j)(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){var t=this.attributes.value,e=(0,r.CR)(this.range,2),n=e[0],i=e[1];return(0,a.Z)(t,n,i)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"trackLength",{get:function(){var t=this.attributes,e=t.viewportLength,n=t.trackLength;return void 0===n?e:n},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"availableSpace",{get:function(){var t=this.attributes.trackSize,e=this.trackLength,n=(0,r.CR)(this.padding,4),i=n[0],a=n[1],o=n[2],l=n[3],s=(0,r.CR)(this.getOrientVal([[e,t],[t,e]]),2);return{x:l,y:i,width:+s[0]-(l+a),height:+s[1]-(i+o)}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"trackRadius",{get:function(){var t=this.attributes,e=t.isRound,n=t.trackSize;return e?n/2:0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"thumbRadius",{get:function(){var t=this.attributes,e=t.isRound,n=t.thumbRadius;if(!e)return 0;var r=this.availableSpace,i=r.width,a=r.height;return n||this.getOrientVal([a,i])/2},enumerable:!1,configurable:!0}),e.prototype.getValues=function(t){void 0===t&&(t=this.value);var e=this.attributes,n=e.viewportLength/e.contentLength,i=(0,r.CR)(this.range,2),a=i[0],o=t*(i[1]-a-n);return[o,o+n]},e.prototype.getValue=function(){return this.value},e.prototype.renderSlider=function(t){var e=this.attributes,n=e.x,i=e.y,a=e.orientation,o=e.trackSize,l=e.padding,s=e.slidable,d=(0,c.zs)(this.attributes,"track"),h=(0,c.zs)(this.attributes,"thumb"),p=(0,r.pi)((0,r.pi)({x:n,y:i,brushable:!1,orientation:a,padding:l,selectionRadius:this.thumbRadius,showHandle:!1,slidable:s,trackLength:this.trackLength,trackRadius:this.trackRadius,trackSize:o,values:this.getValues()},(0,c.dq)(d,"track")),(0,c.dq)(h,"selection"));this.slider=(0,u.Ys)(t).maybeAppendByClassName("scrollbar",function(){return new f.i({style:p})}).update(p).node()},e.prototype.render=function(t,e){this.renderSlider(e)},e.prototype.setValue=function(t,e){void 0===e&&(e=!1);var n=this.attributes.value,i=(0,r.CR)(this.range,2),o=i[0],l=i[1];this.slider.setValues(this.getValues((0,a.Z)(t,o,l)),e),this.onValueChange(n)},e.prototype.bindEvents=function(){var t=this;this.slider.addEventListener("trackClick",function(e){e.stopPropagation(),t.onTrackClick(e.detail)}),this.onHover()},e.prototype.getOrientVal=function(t){return"horizontal"===this.attributes.orientation?t[0]:t[1]},e.prototype.onHover=function(){this.slider.addEventListener("selectionMouseenter",this.onThumbMouseenter),this.slider.addEventListener("trackMouseenter",this.onTrackMouseenter),this.slider.addEventListener("selectionMouseleave",this.onThumbMouseleave),this.slider.addEventListener("trackMouseleave",this.onTrackMouseleave)},e.tag="scrollbar",e}(o.w)},42100:function(t,e,n){"use strict";n.d(e,{Ec:function(){return l},Qi:function(){return i},b0:function(){return a},fI:function(){return o}});var r=n(79274),i={fill:"#fff",lineWidth:1,radius:2,size:10,stroke:"#bfbfbf",strokeOpacity:1,zIndex:0},a={fill:"#000",fillOpacity:.45,fontSize:12,textAlign:"center",textBaseline:"middle",zIndex:1},o={x:0,y:0,orientation:"horizontal",showLabel:!0,type:"start"},l=(0,r.A)({foreground:"foreground",handle:"handle",selection:"selection",sparkline:"sparkline",sparklineGroup:"sparkline-group",track:"track",brushArea:"brush-area"},"slider")},77687:function(t,e,n){"use strict";n.d(e,{H:function(){return d}});var r=n(97582),i=n(5951),a=n(79274),o=n(54015),l=n(33016),s=n(47772),c=n(42100),u=(0,a.A)({labelGroup:"label-group",label:"label",iconGroup:"icon-group",icon:"icon",iconRect:"icon-rect",iconLine:"icon-line"},"handle"),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.render=function(t,e){var n=t.x,i=t.y,a=t.size,l=void 0===a?10:a,s=t.radius,c=t.orientation,f=(0,r._T)(t,["x","y","size","radius","orientation"]),d=2.4*l,h=(0,o.Ys)(e).maybeAppendByClassName(u.iconRect,"rect").styles((0,r.pi)((0,r.pi)({},f),{width:l,height:d,radius:void 0===s?l/4:s,x:n-l/2,y:i-d/2,transformOrigin:"center"})),p=n+1/3*l-l/2,g=n+2/3*l-l/2,m=i+1/4*d-d/2,y=i+3/4*d-d/2;h.maybeAppendByClassName("".concat(u.iconLine,"-1"),"line").styles((0,r.pi)({x1:p,x2:p,y1:m,y2:y},f)),h.maybeAppendByClassName("".concat(u.iconLine,"-2"),"line").styles((0,r.pi)({x1:g,x2:g,y1:m,y2:y},f)),"vertical"===c&&(h.node().style.transform="rotate(90)")},e}(i.w),d=function(t){function e(e){return t.call(this,e,c.fI)||this}return(0,r.ZT)(e,t),e.prototype.renderLabel=function(t){var e=this,n=this.attributes,i=n.x,a=n.y,f=n.showLabel,d=(0,l.zs)(this.attributes,"label"),h=d.x,p=void 0===h?0:h,g=d.y,m=void 0===g?0:g,y=d.transform,v=d.transformOrigin,b=(0,r._T)(d,["x","y","transform","transformOrigin"]),x=(0,r.CR)((0,l.Hm)(b,[]),2),O=x[0],w=x[1],_=(0,o.Ys)(t).maybeAppendByClassName(u.labelGroup,"g").styles(w),k=(0,r.pi)((0,r.pi)({},c.b0),O),M=k.text,C=(0,r._T)(k,["text"]);(0,s.z)(!!f,_,function(t){e.label=t.maybeAppendByClassName(u.label,"text").styles((0,r.pi)((0,r.pi)({},C),{x:i+p,y:a+m,transform:y,transformOrigin:v,text:"".concat(M)})),e.label.on("mousedown",function(t){t.stopPropagation()}),e.label.on("touchstart",function(t){t.stopPropagation()})})},e.prototype.renderIcon=function(t){var e=this.attributes,n=e.x,i=e.y,a=e.orientation,s=e.type,d=(0,r.pi)((0,r.pi)({x:n,y:i,orientation:a},c.Qi),(0,l.zs)(this.attributes,"icon")),h=this.attributes.iconShape,p=void 0===h?function(){return new f({style:d})}:h;(0,o.Ys)(t).maybeAppendByClassName(u.iconGroup,"g").selectAll(u.icon.class).data([p]).join(function(t){return t.append("string"==typeof p?p:function(){return p(s)}).attr("className",u.icon.name)},function(t){return t.update(d)},function(t){return t.remove()})},e.prototype.render=function(t,e){this.renderIcon(e),this.renderLabel(e)},e}(i.w)},21155:function(t,e,n){"use strict";n.d(e,{i:function(){return D}});var r=n(97582),i=n(1242),a=n(81957),o=n(45631),l=n(5951),s=n(8523),c=n(33016),u=n(26406),f=n(62191),d=n(54015),h=n(47772),p=n(48951),g=n(36380),m=n(88944),y=n(5199),v=function(t){if("object"!=typeof t||null===t)return t;if((0,y.Z)(t)){e=[];for(var e,n=0,r=t.length;nr&&(n=a,r=o)}return n}};function Z(t){return 0===t.length?[0,0]:[(0,E.Z)(P(t,function(t){return(0,E.Z)(t)||0})),(0,R.Z)(T(t,function(t){return(0,R.Z)(t)||0}))]}function L(t){for(var e=v(t),n=e[0].length,i=(0,r.CR)([Array(n).fill(0),Array(n).fill(0)],2),a=i[0],o=i[1],l=0;l=0?(s[c]+=a[c],a[c]=s[c]):(s[c]+=o[c],o[c]=s[c]);return e}var B=function(t){function e(e){return t.call(this,e,{type:"line",x:0,y:0,width:200,height:20,isStack:!1,color:["#83daad","#edbf45","#d2cef9","#e290b3","#6f63f4"],smooth:!0,lineLineWidth:1,areaOpacity:0,isGroup:!1,columnLineWidth:1,columnStroke:"#fff",scale:1,spacing:0})||this}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"rawData",{get:function(){var t=this.attributes.data;if(!t||(null==t?void 0:t.length)===0)return[[]];var e=v(t);return(0,b.Z)(e[0])?[e]:e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this.attributes.isStack?L(this.rawData):this.rawData},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scales",{get:function(){return this.createScales(this.data)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseline",{get:function(){var t=this.scales.y,e=(0,r.CR)(t.getOptions().domain||[0,0],2),n=e[0],i=e[1];return i<0?t.map(i):t.map(n<0?0:n)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"containerShape",{get:function(){var t=this.attributes;return{width:t.width,height:t.height}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"linesStyle",{get:function(){var t=this,e=this.attributes,n=e.type,i=e.isStack,o=e.smooth;if("line"!==n)throw Error("linesStyle can only be used in line type");var l=(0,c.zs)(this.attributes,"area"),s=(0,c.zs)(this.attributes,"line"),u=this.containerShape.width,f=this.data;if(0===f[0].length)return{lines:[],areas:[]};var d=this.scales,h=(y=(g={type:"line",x:d.x,y:d.y}).x,v=g.y,x=(b=(0,r.CR)(v.getOptions().range||[0,0],2))[0],(O=b[1])>x&&(O=(m=(0,r.CR)([x,O],2))[0],x=m[1]),f.map(function(t){return t.map(function(t,e){return[y.map(e),(0,a.Z)(v.map(t),O,x)]})})),p=[];if(l){var g,m,y,v,b,x,O,w=this.baseline;p=i?o?function(t,e,n){for(var i=[],a=t.length-1;a>=0;a-=1){var o=t[a],l=A(o),s=void 0;if(0===a)s=S(l,e,n);else{var c=A(t[a-1],!0),u=o[0];c[0][0]="L",s=(0,r.ev)((0,r.ev)((0,r.ev)([],(0,r.CR)(l),!1),(0,r.CR)(c),!1),[(0,r.ev)(["M"],(0,r.CR)(u),!1),["Z"]],!1)}i.push(s)}return i}(h,u,w):function(t,e,n){for(var i=[],a=t.length-1;a>=0;a-=1){var o=j(t[a]),l=void 0;if(0===a)l=S(o,e,n);else{var s=j(t[a-1],!0);s[0][0]="L",l=(0,r.ev)((0,r.ev)((0,r.ev)([],(0,r.CR)(o),!1),(0,r.CR)(s),!1),[["Z"]],!1)}i.push(l)}return i}(h,u,w):h.map(function(t){return S(o?A(t):j(t),u,w)})}return{lines:h.map(function(e,n){return(0,r.pi)({stroke:t.getColor(n),d:o?A(e):j(e)},s)}),areas:p.map(function(e,n){return(0,r.pi)({d:e,fill:t.getColor(n)},l)})}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"columnsStyle",{get:function(){var t=this,e=(0,c.zs)(this.attributes,"column"),n=this.attributes,i=n.isStack,a=n.type,o=n.scale;if("column"!==a)throw Error("columnsStyle can only be used in column type");var l=this.containerShape.height,s=this.rawData;if(!s)return{columns:[]};i&&(s=L(s));var u=this.createScales(s),f=u.x,d=u.y,h=(0,r.CR)(Z(s),2),p=h[0],m=h[1],y=new g.b({domain:[0,m-(p>0?0:p)],range:[0,l*o]}),v=f.getBandWidth(),b=this.rawData;return{columns:s.map(function(n,a){return n.map(function(n,o){var l=v/s.length;return(0,r.pi)((0,r.pi)({fill:t.getColor(a)},e),i?{x:f.map(o),y:d.map(n),width:v,height:y.map(b[a][o])}:{x:f.map(o)+l*a,y:n>=0?d.map(n):d.map(0),width:l,height:y.map(Math.abs(n))})})})}},enumerable:!1,configurable:!0}),e.prototype.render=function(t,e){(0,d.OV)(e,".container","rect").attr("className","container").node();var n=t.type,i=t.x,a=t.y,o="spark".concat(n),l=(0,r.pi)({x:i,y:a},"line"===n?this.linesStyle:this.columnsStyle);(0,d.Ys)(e).selectAll(".spark").data([n]).join(function(t){return t.append(function(t){return"line"===t?new k({className:o,style:l}):new _({className:o,style:l})}).attr("className","spark ".concat(o))},function(t){return t.update(l)},function(t){return t.remove()})},e.prototype.getColor=function(t){var e=this.attributes.color;return(0,y.Z)(e)?e[t%e.length]:(0,x.Z)(e)?e.call(null,t):e},e.prototype.createScales=function(t){var e,n,i=this.attributes,a=i.type,o=i.scale,l=i.range,s=void 0===l?[]:l,c=i.spacing,u=this.containerShape,f=u.width,d=u.height,h=(0,r.CR)(Z(t),2),p=h[0],y=h[1],v=new g.b({domain:[null!==(e=s[0])&&void 0!==e?e:p,null!==(n=s[1])&&void 0!==n?n:y],range:[d,d*(1-o)]});return"line"===a?{type:a,x:new g.b({domain:[0,t[0].length-1],range:[0,f]}),y:v}:{type:a,x:new m.t({domain:t[0].map(function(t,e){return e}),range:[0,f],paddingInner:c,paddingOuter:c/2,align:.5}),y:v}},e.tag="sparkline",e}(l.w),I=n(42100),N=n(77687),D=function(t){function e(e){var n=t.call(this,e,(0,r.pi)((0,r.pi)((0,r.pi)({x:0,y:0,animate:{duration:100,fill:"both"},brushable:!0,formatter:function(t){return t.toString()},handleSpacing:2,orientation:"horizontal",padding:0,autoFitLabel:!0,scrollable:!0,selectionFill:"#5B8FF9",selectionFillOpacity:.45,selectionZIndex:2,showHandle:!0,showLabel:!0,slidable:!0,trackFill:"#416180",trackLength:200,trackOpacity:.05,trackSize:20,trackZIndex:-1,values:[0,1],type:"range",selectionType:"select",handleIconOffset:0},(0,c.dq)(I.fI,"handle")),(0,c.dq)(I.Qi,"handleIcon")),(0,c.dq)(I.b0,"handleLabel")))||this;return n.range=[0,1],n.onDragStart=function(t){return function(e){e.stopPropagation(),n.target=t,n.prevPos=n.getOrientVal((0,u.s)(e));var r=n.availableSpace,i=r.x,a=r.y,o=n.getBBox(),l=o.x,s=o.y;n.selectionStartPos=n.getRatio(n.prevPos-n.getOrientVal([i,a])-n.getOrientVal([+l,+s])),n.selectionWidth=0,document.addEventListener("pointermove",n.onDragging),document.addEventListener("pointerup",n.onDragEnd)}},n.onDragging=function(t){var e=n.attributes,r=e.slidable,i=e.brushable,a=e.type;t.stopPropagation();var o=n.getOrientVal((0,u.s)(t)),l=o-n.prevPos;if(l){var s=n.getRatio(l);switch(n.target){case"start":r&&n.setValuesOffset(s);break;case"end":r&&n.setValuesOffset(0,s);break;case"selection":r&&n.setValuesOffset(s,s);break;case"track":if(!i)return;n.selectionWidth+=s,"range"===a?n.innerSetValues([n.selectionStartPos,n.selectionStartPos+n.selectionWidth].sort(),!0):n.innerSetValues([0,n.selectionStartPos+n.selectionWidth],!0)}n.prevPos=o}},n.onDragEnd=function(){document.removeEventListener("pointermove",n.onDragging),document.removeEventListener("pointermove",n.onDragging),document.removeEventListener("pointerup",n.onDragEnd),n.target="",n.updateHandlesPosition(!1)},n.onValueChange=function(t){var e=n.attributes,r=e.onChange,a=e.type,o="range"===a?t:t[1],l="range"===a?n.getValues():n.getValues()[1],s=new i.Aw("valuechange",{detail:{oldValue:o,value:l}});n.dispatchEvent(s),null==r||r(l)},n.selectionStartPos=0,n.selectionWidth=0,n.prevPos=0,n.target="",n}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"values",{get:function(){return this.attributes.values},set:function(t){this.attributes.values=this.clampValues(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sparklineStyle",{get:function(){if("horizontal"!==this.attributes.orientation)return null;var t=(0,c.zs)(this.attributes,"sparkline");return(0,r.pi)((0,r.pi)({zIndex:0},this.availableSpace),t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shape",{get:function(){var t=this.attributes,e=t.trackLength,n=t.trackSize,i=(0,r.CR)(this.getOrientVal([[e,n],[n,e]]),2);return{width:i[0],height:i[1]}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"availableSpace",{get:function(){var t=this.attributes,e=(t.x,t.y,t.padding),n=(0,r.CR)((0,f.j)(e),4),i=n[0],a=n[1],o=n[2],l=n[3],s=this.shape;return{x:l,y:i,width:s.width-(l+a),height:s.height-(i+o)}},enumerable:!1,configurable:!0}),e.prototype.getValues=function(){return this.values},e.prototype.setValues=function(t,e){void 0===t&&(t=[0,0]),void 0===e&&(e=!1),this.attributes.values=t;var n=!1!==e&&this.attributes.animate;this.updateSelectionArea(n),this.updateHandlesPosition(n)},e.prototype.updateSelectionArea=function(t){var e=this.calcSelectionArea();this.foregroundGroup.selectAll(I.Ec.selection.class).each(function(n,r){(0,o.eR)(this,e[r],t)})},e.prototype.updateHandlesPosition=function(t){this.attributes.showHandle&&(this.startHandle&&(0,o.eR)(this.startHandle,this.getHandleStyle("start"),t),this.endHandle&&(0,o.eR)(this.endHandle,this.getHandleStyle("end"),t))},e.prototype.innerSetValues=function(t,e){void 0===t&&(t=[0,0]),void 0===e&&(e=!1);var n=this.values,r=this.clampValues(t);this.attributes.values=r,this.setValues(r),e&&this.onValueChange(n)},e.prototype.renderTrack=function(t){var e=this.attributes,n=e.x,i=e.y,a=(0,c.zs)(this.attributes,"track");this.trackShape=(0,d.Ys)(t).maybeAppendByClassName(I.Ec.track,"rect").styles((0,r.pi)((0,r.pi)({x:n,y:i},this.shape),a))},e.prototype.renderBrushArea=function(t){var e=this.attributes,n=e.x,i=e.y,a=e.brushable;this.brushArea=(0,d.Ys)(t).maybeAppendByClassName(I.Ec.brushArea,"rect").styles((0,r.pi)({x:n,y:i,fill:"transparent",cursor:a?"crosshair":"default"},this.shape))},e.prototype.renderSparkline=function(t){var e=this,n=this.attributes,i=n.x,a=n.y,o=n.orientation,l=(0,d.Ys)(t).maybeAppendByClassName(I.Ec.sparklineGroup,"g");(0,h.z)("horizontal"===o,l,function(t){var n=(0,r.pi)((0,r.pi)({},e.sparklineStyle),{x:i,y:a});t.maybeAppendByClassName(I.Ec.sparkline,function(){return new B({style:n})}).update(n)})},e.prototype.renderHandles=function(){var t,e=this,n=this.attributes,r=n.showHandle,i=n.type,a=this;null===(t=this.foregroundGroup)||void 0===t||t.selectAll(I.Ec.handle.class).data((r?"range"===i?["start","end"]:["end"]:[]).map(function(t){return{type:t}}),function(t){return t.type}).join(function(t){return t.append(function(t){var n=t.type;return new N.H({style:e.getHandleStyle(n)})}).each(function(t){var e=t.type;this.attr("class","".concat(I.Ec.handle.name," ").concat(e,"-handle")),a["".concat(e,"Handle")]=this,this.addEventListener("pointerdown",a.onDragStart(e))})},function(t){return t.each(function(t){var e=t.type;this.update(a.getHandleStyle(e))})},function(t){return t.each(function(t){var e=t.type;a["".concat(e,"Handle")]=void 0}).remove()})},e.prototype.renderSelection=function(t){var e=this.attributes,n=e.x,i=e.y,a=e.type,o=e.selectionType;this.foregroundGroup=(0,d.Ys)(t).maybeAppendByClassName(I.Ec.foreground,"g");var l=(0,c.zs)(this.attributes,"selection"),s=function(t){return t.style("visibility",function(t){return t.show?"visible":"hidden"}).style("cursor",function(t){return"select"===o?"grab":"invert"===o?"crosshair":"default"}).styles((0,r.pi)((0,r.pi)({},l),{transform:"translate(".concat(n,", ").concat(i,")")}))},u=this;this.foregroundGroup.selectAll(I.Ec.selection.class).data("value"===a?[]:this.calcSelectionArea().map(function(t,e){return{style:(0,r.pi)({},t),index:e,show:"select"===o?1===e:1!==e}}),function(t){return t.index}).join(function(t){return t.append("rect").attr("className",I.Ec.selection.name).call(s).each(function(t,e){var n=this;1===e?(u.selectionShape=(0,d.Ys)(this),this.on("pointerdown",function(t){n.attr("cursor","grabbing"),u.onDragStart("selection")(t)}),u.dispatchCustomEvent(this,"pointerenter","selectionMouseenter"),u.dispatchCustomEvent(this,"pointerleave","selectionMouseleave"),u.dispatchCustomEvent(this,"click","selectionClick"),this.addEventListener("pointerdown",function(){n.attr("cursor","grabbing")}),this.addEventListener("pointerup",function(){n.attr("cursor","pointer")}),this.addEventListener("pointerover",function(){n.attr("cursor","pointer")})):this.on("pointerdown",u.onDragStart("track"))})},function(t){return t.call(s)},function(t){return t.remove()}),this.updateSelectionArea(!1),this.renderHandles()},e.prototype.render=function(t,e){this.renderTrack(e),this.renderSparkline(e),this.renderBrushArea(e),this.renderSelection(e)},e.prototype.clampValues=function(t,e){void 0===e&&(e=4);var n,i=(0,r.CR)(this.range,2),o=i[0],l=i[1],s=(0,r.CR)(this.getValues().map(function(t){return(0,p.Zd)(t,e)}),2),c=s[0],u=s[1],f=Array.isArray(t)?t:[c,null!=t?t:u],d=(0,r.CR)((f||[c,u]).map(function(t){return(0,p.Zd)(t,e)}),2),h=d[0],g=d[1];if("value"===this.attributes.type)return[0,(0,a.Z)(g,o,l)];h>g&&(h=(n=(0,r.CR)([g,h],2))[0],g=n[1]);var m=g-h;return m>l-o?[o,l]:hl?u===l&&c===h?[h,l]:[l-m,l]:[h,g]},e.prototype.calcSelectionArea=function(t){var e=(0,r.CR)(this.clampValues(t),2),n=e[0],i=e[1],a=this.availableSpace,o=a.x,l=a.y,s=a.width,c=a.height;return this.getOrientVal([[{y:l,height:c,x:o,width:n*s},{y:l,height:c,x:n*s+o,width:(i-n)*s},{y:l,height:c,x:i*s,width:(1-i)*s}],[{x:o,width:s,y:l,height:n*c},{x:o,width:s,y:n*c+l,height:(i-n)*c},{x:o,width:s,y:i*c,height:(1-i)*c}]])},e.prototype.calcHandlePosition=function(t){var e=this.attributes.handleIconOffset,n=this.availableSpace,i=n.x,a=n.y,o=n.width,l=n.height,s=(0,r.CR)(this.clampValues(),2),c=s[0],u=s[1],f=("start"===t?c:u)*this.getOrientVal([o,l])+("start"===t?-e:e);return{x:i+this.getOrientVal([f,o/2]),y:a+this.getOrientVal([l/2,f])}},e.prototype.inferTextStyle=function(t){return"horizontal"===this.attributes.orientation?{}:"start"===t?{transformOrigin:"left center",transform:"rotate(90)",textAlign:"start"}:"end"===t?{transformOrigin:"right center",transform:"rotate(90)",textAlign:"end"}:{}},e.prototype.calcHandleText=function(t){var e,n=this.attributes,i=n.type,a=n.orientation,o=n.formatter,l=n.autoFitLabel,u=(0,c.zs)(this.attributes,"handle"),f=(0,c.zs)(u,"label"),d=u.spacing,h=this.getHandleSize(),p=this.clampValues(),g=o("start"===t?p[0]:p[1]),m=new s.x({style:(0,r.pi)((0,r.pi)((0,r.pi)({},f),this.inferTextStyle(t)),{text:g})}),y=m.getBBox(),v=y.width,b=y.height;if(m.destroy(),!l){if("value"===i)return{text:g,x:0,y:-b-d};var x=d+h+("horizontal"===a?v/2:0);return(e={text:g})["horizontal"===a?"x":"y"]="start"===t?-x:x,e}var O=0,w=0,_=this.availableSpace,k=_.width,M=_.height,C=this.calcSelectionArea()[1],j=C.x,A=C.y,S=C.width,E=C.height,P=d+h;if("horizontal"===a){var R=P+v/2;O="start"===t?j-P-v>0?-R:R:k-j-S-P>v?R:-R}else{var T=b+P;w="start"===t?A-h>b?-T:P:M-(A+E)-h>b?T:-P}return{x:O,y:w,text:g}},e.prototype.getHandleLabelStyle=function(t){var e=(0,c.zs)(this.attributes,"handleLabel");return(0,r.pi)((0,r.pi)((0,r.pi)({},e),this.calcHandleText(t)),this.inferTextStyle(t))},e.prototype.getHandleIconStyle=function(){var t=this.attributes.handleIconShape,e=(0,c.zs)(this.attributes,"handleIcon"),n=this.getOrientVal(["ew-resize","ns-resize"]),i=this.getHandleSize();return(0,r.pi)({cursor:n,shape:t,size:i},e)},e.prototype.getHandleStyle=function(t){var e=this.attributes,n=e.x,i=e.y,a=e.showLabel,o=e.showLabelOnInteraction,l=e.orientation,s=this.calcHandlePosition(t),u=s.x,f=s.y,d=this.calcHandleText(t),h=a;return!a&&o&&(h=!!this.target),(0,r.pi)((0,r.pi)((0,r.pi)({},(0,c.dq)(this.getHandleIconStyle(),"icon")),(0,c.dq)((0,r.pi)((0,r.pi)({},this.getHandleLabelStyle(t)),d),"label")),{transform:"translate(".concat(u+n,", ").concat(f+i,")"),orientation:l,showLabel:h,type:t,zIndex:3})},e.prototype.getHandleSize=function(){var t=this.attributes,e=t.handleIconSize,n=t.width,r=t.height;return e||Math.floor((this.getOrientVal([+r,+n])+4)/2.4)},e.prototype.getOrientVal=function(t){var e=(0,r.CR)(t,2),n=e[0],i=e[1];return"horizontal"===this.attributes.orientation?n:i},e.prototype.setValuesOffset=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=!1);var i=this.attributes.type,a=(0,r.CR)(this.getValues(),2),o=[a[0]+("range"===i?t:0),a[1]+e].sort();n?this.setValues(o):this.innerSetValues(o,!0)},e.prototype.getRatio=function(t){var e=this.availableSpace,n=e.width,r=e.height;return t/this.getOrientVal([n,r])},e.prototype.dispatchCustomEvent=function(t,e,n){var r=this;t.on(e,function(t){t.stopPropagation(),r.dispatchEvent(new i.Aw(n,{detail:t}))})},e.prototype.bindEvents=function(){this.addEventListener("wheel",this.onScroll);var t=this.brushArea;this.dispatchCustomEvent(t,"click","trackClick"),this.dispatchCustomEvent(t,"pointerenter","trackMouseenter"),this.dispatchCustomEvent(t,"pointerleave","trackMouseleave"),t.on("pointerdown",this.onDragStart("track"))},e.prototype.onScroll=function(t){if(this.attributes.scrollable){var e=t.deltaX,n=t.deltaY||e,r=this.getRatio(n);this.setValuesOffset(r,r,!0)}},e.tag="slider",e}(l.w)},1366:function(t,e,n){"use strict";n.d(e,{Dx:function(){return g},jY:function(){return h},li:function(){return d}});var r=n(97582),i=n(5951),a=n(79274),o=n(62191),l=n(43629),s=n(33016),c=n(47772),u=n(54015),f=(0,a.A)({text:"text"},"title");function d(t){return/\S+-\S+/g.test(t)?t.split("-").map(function(t){return t[0]}):t.length>2?[t[0]]:t.split("")}function h(t,e){var n=t.attributes,i=n.position,a=n.spacing,s=n.inset,c=n.text,u=t.getBBox(),f=e.getBBox(),h=d(i),p=(0,r.CR)((0,o.j)(c?a:0),4),g=p[0],m=p[1],y=p[2],v=p[3],b=(0,r.CR)((0,o.j)(s),4),x=b[0],O=b[1],w=b[2],_=b[3],k=(0,r.CR)([v+m,g+y],2),M=k[0],C=k[1],j=(0,r.CR)([_+O,x+w],2),A=j[0],S=j[1];if("l"===h[0])return new l.b(u.x,u.y,f.width+u.width+M+A,Math.max(f.height+S,u.height));if("t"===h[0])return new l.b(u.x,u.y,Math.max(f.width+A,u.width),f.height+u.height+C+S);var E=(0,r.CR)([e.attributes.width||f.width,e.attributes.height||f.height],2),P=E[0],R=E[1];return new l.b(f.x,f.y,P+u.width+M+A,R+u.height+C+S)}function p(t,e){var n=Object.entries(e).reduce(function(e,n){var i=(0,r.CR)(n,2),a=i[0],o=i[1];return t.node().attr(a)||(e[a]=o),e},{});t.styles(n)}var g=function(t){function e(e){return t.call(this,e,{text:"",width:0,height:0,fill:"#4a505a",fontWeight:"bold",fontSize:12,fontFamily:"sans-serif",inset:0,spacing:0,position:"top-left"})||this}return(0,r.ZT)(e,t),e.prototype.getAvailableSpace=function(){var t=this.attributes,e=t.width,n=t.height,i=t.position,a=t.spacing,s=t.inset,c=this.querySelector(f.text.class);if(!c)return new l.b(0,0,+e,+n);var u=c.getBBox(),h=u.width,p=u.height,g=(0,r.CR)((0,o.j)(a),4),m=g[0],y=g[1],v=g[2],b=g[3],x=(0,r.CR)([0,0,+e,+n],4),O=x[0],w=x[1],_=x[2],k=x[3],M=d(i);if(M.includes("i"))return new l.b(O,w,_,k);M.forEach(function(t,i){var a,o;"t"===t&&(w=(a=(0,r.CR)(0===i?[p+v,+n-p-v]:[0,+n],2))[0],k=a[1]),"r"===t&&(_=(0,r.CR)([+e-h-b],1)[0]),"b"===t&&(k=(0,r.CR)([+n-p-m],1)[0]),"l"===t&&(O=(o=(0,r.CR)(0===i?[h+y,+e-h-y]:[0,+e],2))[0],_=o[1])});var C=(0,r.CR)((0,o.j)(s),4),j=C[0],A=C[1],S=C[2],E=C[3],P=(0,r.CR)([E+A,j+S],2),R=P[0],T=P[1];return new l.b(O+E,w+j,_-R,k-T)},e.prototype.getBBox=function(){return this.title?this.title.getBBox():new l.b(0,0,0,0)},e.prototype.render=function(t,e){var n,i,a,o,l,h,g,m,y,v,b,x,O,w,_,k,M=this;t.width,t.height,t.position,t.spacing;var C=(0,r._T)(t,["width","height","position","spacing"]),j=(0,r.CR)((0,s.Hm)(C),1)[0],A=(l=t.width,h=t.height,g=t.position,y=(m=(0,r.CR)([+l/2,+h/2],2))[0],v=m[1],x=(b=(0,r.CR)([+y,+v,"center","middle"],4))[0],O=b[1],w=b[2],_=b[3],(k=d(g)).includes("l")&&(x=(n=(0,r.CR)([0,"start"],2))[0],w=n[1]),k.includes("r")&&(x=(i=(0,r.CR)([+l,"end"],2))[0],w=i[1]),k.includes("t")&&(O=(a=(0,r.CR)([0,"top"],2))[0],_=a[1]),k.includes("b")&&(O=(o=(0,r.CR)([+h,"bottom"],2))[0],_=o[1]),{x:x,y:O,textAlign:w,textBaseline:_}),S=A.x,E=A.y,P=A.textAlign,R=A.textBaseline;(0,c.z)(!!C.text,(0,u.Ys)(e),function(t){M.title=t.maybeAppendByClassName(f.text,"text").styles(j).call(p,{x:S,y:E,textAlign:P,textBaseline:R}).node()})},e}(i.w)},8612:function(t,e,n){"use strict";n.d(e,{u:function(){return u}});var r=n(97582);function i(t){var e=document.createElement("div");e.innerHTML=t;var n=e.childNodes[0];return n&&e.contains(n)&&e.removeChild(n),n}var a=n(5951),o=n(33016),l=n(43629);function s(t){return void 0===t&&(t=""),{CONTAINER:"".concat(t,"tooltip"),TITLE:"".concat(t,"tooltip-title"),LIST:"".concat(t,"tooltip-list"),LIST_ITEM:"".concat(t,"tooltip-list-item"),NAME:"".concat(t,"tooltip-list-item-name"),MARKER:"".concat(t,"tooltip-list-item-marker"),NAME_LABEL:"".concat(t,"tooltip-list-item-name-label"),VALUE:"".concat(t,"tooltip-list-item-value"),CROSSHAIR_X:"".concat(t,"tooltip-crosshair-x"),CROSSHAIR_Y:"".concat(t,"tooltip-crosshair-y")}}var c={overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"},u=function(t){function e(e){var n,i,a,o,l,u=this,f=null===(l=null===(o=e.style)||void 0===o?void 0:o.template)||void 0===l?void 0:l.prefixCls,d=s(f);return(u=t.call(this,e,{data:[],x:0,y:0,visibility:"visible",title:"",position:"bottom-right",offset:[5,5],enterable:!1,container:{x:0,y:0},bounding:null,template:{prefixCls:"",container:'
    '),title:'
    '),item:'
  • \n \n \n {name}\n \n {value}\n
  • ')},style:(void 0===(n=f)&&(n=""),a=s(n),(i={})[".".concat(a.CONTAINER)]={position:"absolute",visibility:"visible","z-index":8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)","background-color":"rgba(255, 255, 255, 0.96)","box-shadow":"0 6px 12px 0 rgba(0, 0, 0, 0.12)","border-radius":"4px",color:"rgba(0, 0, 0, 0.65)","font-size":"12px","line-height":"20px",padding:"12px","min-width":"120px","max-width":"360px","font-family":"Roboto-Regular"},i[".".concat(a.TITLE)]={color:"rgba(0, 0, 0, 0.45)"},i[".".concat(a.LIST)]={margin:"0px","list-style-type":"none",padding:"0px"},i[".".concat(a.LIST_ITEM)]={"list-style-type":"none",display:"flex","line-height":"2em","align-items":"center","justify-content":"space-between","white-space":"nowrap"},i[".".concat(a.MARKER)]={width:"8px",height:"8px","border-radius":"50%",display:"inline-block","margin-right":"4px"},i[".".concat(a.NAME)]={display:"flex","align-items":"center","max-width":"216px"},i[".".concat(a.NAME_LABEL)]=(0,r.pi)({flex:1},c),i[".".concat(a.VALUE)]=(0,r.pi)({display:"inline-block",float:"right",flex:1,"text-align":"right","min-width":"28px","margin-left":"30px",color:"rgba(0, 0, 0, 0.85)"},c),i[".".concat(a.CROSSHAIR_X)]={position:"absolute",width:"1px","background-color":"rgba(0, 0, 0, 0.25)"},i[".".concat(a.CROSSHAIR_Y)]={position:"absolute",height:"1px","background-color":"rgba(0, 0, 0, 0.25)"},i)})||this).timestamp=-1,u.prevCustomContentKey=u.attributes.contentKey,u.initShape(),u.render(u.attributes,u),u}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"HTMLTooltipElement",{get:function(){return this.element},enumerable:!1,configurable:!0}),e.prototype.getContainer=function(){return this.element},Object.defineProperty(e.prototype,"elementSize",{get:function(){return{width:this.element.offsetWidth,height:this.element.offsetHeight}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"HTMLTooltipItemsElements",{get:function(){var t=this.attributes,e=t.data,n=t.template;return e.map(function(t,e){var a,o=t.name,l=t.color,s=t.index,c=(0,r._T)(t,["name","color","index"]),u=(0,r.pi)({name:void 0===o?"":o,color:void 0===l?"black":l,index:null!=s?s:e},c);return i((a=n.item)&&u?a.replace(/\\?\{([^{}]+)\}/g,function(t,e){return"\\"===t.charAt(0)?t.slice(1):void 0===u[e]?"":u[e]}):a)})},enumerable:!1,configurable:!0}),e.prototype.render=function(t,e){this.renderHTMLTooltipElement(),this.updatePosition()},e.prototype.destroy=function(){var e;null===(e=this.element)||void 0===e||e.remove(),t.prototype.destroy.call(this)},e.prototype.show=function(t,e){var n=this;if(void 0!==t&&void 0!==e){var r="hidden"===this.element.style.visibility,i=function(){n.attributes.x=null!=t?t:n.attributes.x,n.attributes.y=null!=e?e:n.attributes.y,n.updatePosition()};r?this.closeTransition(i):i()}this.element.style.visibility="visible"},e.prototype.hide=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.attributes.enterable&&this.isCursorEntered(t,e)||(this.element.style.visibility="hidden")},e.prototype.initShape=function(){var t=this.attributes.template;this.element=i(t.container),this.id&&this.element.setAttribute("id",this.id)},e.prototype.renderCustomContent=function(){if(void 0===this.prevCustomContentKey||this.prevCustomContentKey!==this.attributes.contentKey){this.prevCustomContentKey=this.attributes.contentKey;var t=this.attributes.content;t&&("string"==typeof t?this.element.innerHTML=t:this.element.replaceChildren(t))}},e.prototype.renderHTMLTooltipElement=function(){var t,e,n=this.attributes,i=n.template,a=n.title,l=n.enterable,c=n.style,u=n.content,f=s(i.prefixCls),d=this.element;if(this.element.style.pointerEvents=l?"auto":"none",u)this.renderCustomContent();else{a?(d.innerHTML=i.title,d.getElementsByClassName(f.TITLE)[0].innerHTML=a):null===(e=null===(t=d.getElementsByClassName(f.TITLE))||void 0===t?void 0:t[0])||void 0===e||e.remove();var h=this.HTMLTooltipItemsElements,p=document.createElement("ul");p.className=f.LIST,p.replaceChildren.apply(p,(0,r.ev)([],(0,r.CR)(h),!1));var g=this.element.querySelector(".".concat(f.LIST));g?g.replaceWith(p):d.appendChild(p)}(0,o.MC)(d,c)},e.prototype.getRelativeOffsetFromCursor=function(t){var e=this.attributes,n=e.position,i=e.offset,a=(t||n).split("-"),o={left:[-1,0],right:[1,0],top:[0,-1],bottom:[0,1]},l=this.elementSize,s=l.width,c=l.height,u=[-s/2,-c/2];return a.forEach(function(t){var e=(0,r.CR)(u,2),n=e[0],a=e[1],l=(0,r.CR)(o[t],2),f=l[0],d=l[1];u=[n+(s/2+i[0])*f,a+(c/2+i[1])*d]}),u},e.prototype.setOffsetPosition=function(t){var e=(0,r.CR)(t,2),n=e[0],i=e[1],a=this.attributes,o=a.x,l=a.y,s=a.container,c=s.x,u=s.y;this.element.style.left="".concat(+(void 0===o?0:o)+c+n,"px"),this.element.style.top="".concat(+(void 0===l?0:l)+u+i,"px")},e.prototype.updatePosition=function(){var t=this.attributes.showDelay,e=Date.now();this.timestamp>0&&e-this.timestamp<(void 0===t?60:t)||(this.timestamp=e,this.setOffsetPosition(this.autoPosition(this.getRelativeOffsetFromCursor())))},e.prototype.autoPosition=function(t){var e=(0,r.CR)(t,2),n=e[0],i=e[1],a=this.attributes,o=a.x,l=a.y,s=a.bounding,c=a.position;if(!s)return[n,i];var u=this.element,f=u.offsetWidth,d=u.offsetHeight,h=(0,r.CR)([+o+n,+l+i],2),p=h[0],g=h[1],m={left:"right",right:"left",top:"bottom",bottom:"top"},y=s.x,v=s.y,b={left:py+s.width,top:gv+s.height},x=[];c.split("-").forEach(function(t){b[t]?x.push(m[t]):x.push(t)});var O=x.join("-");return this.getRelativeOffsetFromCursor(O)},e.prototype.isCursorEntered=function(t,e){if(this.element){var n=this.element.getBoundingClientRect(),r=n.x,i=n.y,a=n.width,o=n.height;return new l.b(r,i,a,o).isPointIn(t,e)}return!1},e.prototype.closeTransition=function(t){var e=this,n=this.element.style.transition;this.element.style.transition="none",t(),setTimeout(function(){e.element.style.transition=n},10)},e.tag="tooltip",e}(a.w)},43629:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var r=function(){function t(t,e,n,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),this.x=0,this.y=0,this.width=0,this.height=0,this.x=t,this.y=e,this.width=n,this.height=r}return Object.defineProperty(t.prototype,"bottom",{get:function(){return this.y+this.height},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return this.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return this.x+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.y},enumerable:!1,configurable:!0}),t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t.prototype.toJSON=function(){return{x:this.x,y:this.y,width:this.width,height:this.height,top:this.top,right:this.right,bottom:this.bottom,left:this.left}},t.prototype.isPointIn=function(t,e){return t>=this.left&&t<=this.right&&e>=this.top&&e<=this.bottom},t}()},86650:function(t,e,n){"use strict";n.d(e,{S:function(){return a}});var r=n(97582),i=n(45607);function a(t,e){return(0,i.Z)(t)?t.apply(void 0,(0,r.ev)([],(0,r.CR)(e),!1)):t}},79274:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(97582),i=function(t,e){var n=function(t){return"".concat(e,"-").concat(t)},i=Object.fromEntries(Object.entries(t).map(function(t){var e=(0,r.CR)(t,2),i=e[0],a=n(e[1]);return[i,{name:a,class:".".concat(a),id:"#".concat(a),toString:function(){return a}}]}));return Object.assign(i,{prefix:n}),i}},8126:function(t,e,n){"use strict";n.d(e,{n:function(){return l}});var r=n(97582),i=n(83845),a=n(5199),o=function(t,e,n,l){void 0===n&&(n=0),void 0===l&&(l=5),Object.entries(e).forEach(function(s){var c=(0,r.CR)(s,2),u=c[0],f=c[1];Object.prototype.hasOwnProperty.call(e,u)&&(f?(0,i.Z)(f)?((0,i.Z)(t[u])||(t[u]={}),n="A"&&n<="Z"};function s(t,e,n){void 0===n&&(n=!1);var o={};return Object.entries(t).forEach(function(t){var s=(0,r.CR)(t,2),c=s[0],u=s[1];if("className"===c||"class"===c);else if(l(c,"show")&&l(a(c,"show"),e)!==n)c==="".concat("show").concat(i(e))?o[c]=u:o[c.replace(new RegExp(i(e)),"")]=u;else if(!l(c,"show")&&l(c,e)!==n){var f=a(c,e);"filter"===f&&"function"==typeof u||(o[f]=u)}}),o}function c(t,e){return Object.entries(t).reduce(function(t,n){var a=(0,r.CR)(n,2),o=a[0],l=a[1];return o.startsWith("show")?t["show".concat(e).concat(o.slice(4))]=l:t["".concat(e).concat(i(o))]=l,t},{})}function u(t,e){void 0===e&&(e=["x","y","class","className"]);var n=["transform","transformOrigin","anchor","visibility","pointerEvents","zIndex","cursor","clipPath","clipPathTargets","offsetPath","offsetPathTargets","offsetDistance","draggable","droppable"],i={},a={};return Object.entries(t).forEach(function(t){var o=(0,r.CR)(t,2),l=o[0],s=o[1];e.includes(l)||(-1!==n.indexOf(l)?a[l]=s:i[l]=s)}),[i,a]}},91379:function(t,e,n){"use strict";n.d(e,{Rm:function(){return u},qT:function(){return s},Ux:function(){return l},U4:function(){return c}});var r,i,a=n(1242),o=n(45607),l=function(t,e,n){if(void 0===n&&(n=128),!(0,o.Z)(t))throw TypeError("Expected a function");var r=function(){for(var n=[],i=0;ii&&(r=n,o(1),++e),n[t]=a}function o(t){e=0,n=Object.create(null),t||(r=Object.create(null))}return o(),{clear:o,has:function(t){return void 0!==n[t]||void 0!==r[t]},get:function(t){var e=n[t];return void 0!==e?e:void 0!==(e=r[t])?(a(t,e),e):void 0},set:function(t,e){void 0!==n[t]?n[t]=e:a(t,e)}}}(n),r}(function(t,e){var n=e.fontSize,o=e.fontFamily,l=e.fontWeight,s=e.fontStyle,c=e.fontVariant;return i?i(t,n):(r||(r=a.GZ.offscreenCanvasCreator.getOrCreateContext(void 0)),r.font=[s,c,l,"".concat(n,"px"),o].join(" "),r.measureText(t).width)},function(t,e){return[t,Object.values(e||s(t)).join()].join("")},4096),s=function(t){var e=t.style.fontFamily||"sans-serif",n=t.style.fontWeight||"normal",r=t.style.fontStyle||"normal",i=t.style.fontVariant,a=t.style.fontSize;return{fontSize:a="object"==typeof a?a.value:a,fontFamily:e,fontWeight:n,fontStyle:r,fontVariant:i}};function c(t){return"text"===t.nodeName?t:"g"===t.nodeName&&1===t.children.length&&"text"===t.children[0].nodeName?t.children[0]:null}function u(t,e){var n=c(t);n&&n.attr(e)}},62059:function(t,e,n){"use strict";function r(t){a(t,!0)}function i(t){a(t,!1)}function a(t,e){var n=e?"visible":"hidden";!function t(e,n){n(e),e.children&&e.children.forEach(function(e){e&&t(e,n)})}(t,function(t){t.attr("visibility",n)})}n.d(e,{Cp:function(){return i},$Z:function(){return r},WD:function(){return a}})},17816:function(t,e){!function(t){"use strict";function e(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return{value:(t=t&&r>=t.length?void 0:t)&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function n(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,a=n.call(t),o=[];try{for(;(void 0===e||0n=>t(e(n)),t)}function k(t,e){return e-t?n=>(n-t)/(e-t):t=>.5}T=new p(3),p!=Float32Array&&(T[0]=0,T[1]=0,T[2]=0),T=new p(4),p!=Float32Array&&(T[0]=0,T[1]=0,T[2]=0,T[3]=0);let M=Math.sqrt(50),C=Math.sqrt(10),j=Math.sqrt(2);function A(t,e,n){return t=Math.floor(Math.log(e=(e-t)/Math.max(0,n))/Math.LN10),n=e/10**t,0<=t?(n>=M?10:n>=C?5:n>=j?2:1)*10**t:-(10**-t)/(n>=M?10:n>=C?5:n>=j?2:1)}let S=(t,e,n=5)=>{let r=0,i=(t=[t,e]).length-1,a=t[r],o=t[i],l;return o{n.prototype.rescale=function(){this.initRange(),this.nice();var[t]=this.chooseTransforms();this.composeOutput(t,this.chooseClamp(t))},n.prototype.initRange=function(){var e=this.options.interpolator;this.options.range=t(e)},n.prototype.composeOutput=function(t,n){var{domain:r,interpolator:i,round:a}=this.getOptions(),r=e(r.map(t)),a=a?t=>l(t=i(t),"Number")?Math.round(t):t:i;this.output=_(a,r,n,t)},n.prototype.invert=void 0}}var R,T={exports:{}},Z={exports:{}},L=Array.prototype.concat,B=Array.prototype.slice,I=Z.exports=function(t){for(var e=[],n=0,r=t.length;nn=>t*(1-n)+e*n,U=(t,e)=>{if("number"==typeof t&&"number"==typeof e)return Y(t,e);if("string"!=typeof t||"string"!=typeof e)return()=>t;{let n=V(t),r=V(e);return null===n||null===r?n?()=>t:()=>e:t=>{var e=[,,,,];for(let o=0;o<4;o+=1){var i=n[o],a=r[o];e[o]=i*(1-t)+a*t}var[o,l,s,c]=e;return`rgba(${Math.round(o)}, ${Math.round(l)}, ${Math.round(s)}, ${c})`}}},Q=(t,e)=>{let n=Y(t,e);return t=>Math.round(n(t))};function K({map:t,initKey:e},n){return e=e(n),t.has(e)?t.get(e):n}function X(t){return"object"==typeof t?t.valueOf():t}class J extends Map{constructor(t){if(super(),this.map=new Map,this.initKey=X,null!==t)for(var[e,n]of t)this.set(e,n)}get(t){return super.get(K({map:this.map,initKey:this.initKey},t))}has(t){return super.has(K({map:this.map,initKey:this.initKey},t))}set(t,e){var n,r;return super.set(([{map:t,initKey:n},r]=[{map:this.map,initKey:this.initKey},t],n=n(r),t.has(n)?t.get(n):(t.set(n,r),r)),e)}delete(t){var e,n;return super.delete(([{map:t,initKey:e},n]=[{map:this.map,initKey:this.initKey},t],e=e(n),t.has(e)&&(n=t.get(e),t.delete(e)),n))}}class tt{constructor(t){this.options=f({},this.getDefaultOptions()),this.update(t)}getOptions(){return this.options}update(t={}){this.options=f({},this.options,t),this.rescale(t)}rescale(t){}}let te=Symbol("defaultUnknown");function tn(t,e,n){for(let r=0;r""+t:"object"==typeof t?t=>JSON.stringify(t):t=>t}class ta extends tt{getDefaultOptions(){return{domain:[],range:[],unknown:te}}constructor(t){super(t)}map(t){return 0===this.domainIndexMap.size&&tn(this.domainIndexMap,this.getDomain(),this.domainKey),tr({value:this.domainKey(t),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(t){return 0===this.rangeIndexMap.size&&tn(this.rangeIndexMap,this.getRange(),this.rangeKey),tr({value:this.rangeKey(t),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(t){var[e]=this.options.domain,[n]=this.options.range;this.domainKey=ti(e),this.rangeKey=ti(n),this.rangeIndexMap?(t&&!t.range||this.rangeIndexMap.clear(),(!t||t.domain||t.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)):(this.rangeIndexMap=new Map,this.domainIndexMap=new Map)}clone(){return new ta(this.options)}getRange(){return this.options.range}getDomain(){var t,e;return this.sortedDomain||({domain:t,compare:e}=this.options,this.sortedDomain=e?[...t].sort(e):t),this.sortedDomain}}class to extends ta{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,paddingInner:0,paddingOuter:0,padding:0,unknown:te,flex:[]}}constructor(t){super(t)}clone(){return new to(this.options)}getStep(t){return void 0===this.valueStep?1:"number"==typeof this.valueStep?this.valueStep:void 0===t?Array.from(this.valueStep.values())[0]:this.valueStep.get(t)}getBandWidth(t){return void 0===this.valueBandWidth?1:"number"==typeof this.valueBandWidth?this.valueBandWidth:void 0===t?Array.from(this.valueBandWidth.values())[0]:this.valueBandWidth.get(t)}getRange(){return this.adjustedRange}getPaddingInner(){var{padding:t,paddingInner:e}=this.options;return 0t/e)}(c),p=f/h.reduce((t,e)=>t+e);var c=new J(e.map((t,e)=>(e=h[e]*p,[t,o?Math.floor(e):e]))),g=new J(e.map((t,e)=>(e=h[e]*p+d,[t,o?Math.floor(e):e]))),f=Array.from(g.values()).reduce((t,e)=>t+e),t=t+(u-(f-f/s*i))*l;let m=o?Math.round(t):t;var y=Array(s);for(let t=0;ts+e*o),{valueStep:o,valueBandWidth:l,adjustedRange:t}}({align:t,range:n,round:r,flex:i,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:e});this.valueStep=r,this.valueBandWidth=n,this.adjustedRange=t}}let tl=(t,e,n)=>{let r,i,a=t,o=e;if(a===o&&0{let r;var[t,i]=t,[e,a]=e;return _(t{let r=Math.min(t.length,e.length)-1,i=Array(r),a=Array(r);var o=t[0]>t[r],l=o?[...t].reverse():t,s=o?[...e].reverse():e;for(let t=0;t{var n=function(t,e,n,r,i){let a=1,o=r||t.length;for(var l=t=>t;ae?o=s:a=s+1}return a}(t,e,0,r)-1,o=i[n];return _(a[n],o)(e)}},tu=(t,e,n,r)=>(2Math.min(Math.max(r,t),i)}return d}composeOutput(t,e){var{domain:n,range:r,round:i,interpolate:a}=this.options,n=tu(n.map(t),r,a,i);this.output=_(n,e,t)}composeInput(t,e,n){var{domain:r,range:i}=this.options,i=tu(i,r.map(t),Y);this.input=_(e,n,i)}}class td extends tf{getDefaultOptions(){return{domain:[0,1],range:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolate:U,tickMethod:tl,tickCount:5}}chooseTransforms(){return[d,d]}clone(){return new td(this.options)}}class th extends to{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:te,paddingInner:1,paddingOuter:0}}constructor(t){super(t)}getPaddingInner(){return 1}clone(){return new th(this.options)}update(t){super.update(t)}getPaddingOuter(){return this.options.padding}}function tp(t,e){for(var n=[],r=0,i=t.length;r{var[t,e]=t;return _(Y(0,1),k(t,e))})],ty);let tv=a=class extends td{getDefaultOptions(){return{domain:[0,.5,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:d,tickMethod:tl,tickCount:5}}constructor(t){super(t)}clone(){return new a(this.options)}};function tb(t,e,r,i,a){var o=new td({range:[e,e+i]}),l=new td({range:[r,r+a]});return{transform:function(t){var t=n(t,2),e=t[0],t=t[1];return[o.map(e),l.map(t)]},untransform:function(t){var t=n(t,2),e=t[0],t=t[1];return[o.invert(e),l.invert(t)]}}}function tx(t,e,r,i,a){return(0,n(t,1)[0])(e,r,i,a)}function tO(t,e,r,i,a){return n(t,1)[0]}function tw(t,e,r,i,a){var o=(t=n(t,4))[0],l=t[1],s=t[2],t=t[3],c=new td({range:[s,t]}),u=new td({range:[o,l]}),f=1<(s=a/i)?1:s,d=1{let[e,n,r]=t,i=_(Y(0,.5),k(e,n)),a=_(Y(.5,1),k(n,r));return t=>(e>r?tl?o:l,c=o>l?1:o/l,u=o>l?l/o:1;t.save(),t.scale(c,u),t.arc(r,a,s,0,2*Math.PI)}}function s(t,e){var n,r=e.x1,a=e.y1,o=e.x2,l=e.y2,s=e.markerStart,c=e.markerEnd,u=e.markerStartOffset,f=e.markerEndOffset,d=0,h=0,p=0,g=0,m=0;s&&(0,i.RV)(s)&&u&&(d=Math.cos(m=Math.atan2(l-a,o-r))*(u||0),h=Math.sin(m)*(u||0)),c&&(0,i.RV)(c)&&f&&(p=Math.cos(m=Math.atan2(a-l,r-o))*(f||0),g=Math.sin(m)*(f||0)),t.moveTo(r+d,a+h),t.lineTo(o+p,l+g)}function c(t,e){var n,a=e.markerStart,o=e.markerEnd,l=e.markerStartOffset,s=e.markerEndOffset,c=e.d,u=c.absolutePath,f=c.segments,d=0,h=0,p=0,g=0,m=0;if(a&&(0,i.RV)(a)&&l){var y=(0,r.CR)(a.parentNode.getStartTangent(),2),v=y[0],b=y[1];n=v[0]-b[0],d=Math.cos(m=Math.atan2(v[1]-b[1],n))*(l||0),h=Math.sin(m)*(l||0)}if(o&&(0,i.RV)(o)&&s){var x=(0,r.CR)(o.parentNode.getEndTangent(),2),v=x[0],b=x[1];n=v[0]-b[0],p=Math.cos(m=Math.atan2(v[1]-b[1],n))*(s||0),g=Math.sin(m)*(s||0)}for(var O=0;OP?E:P,I=E>P?1:E/P,N=E>P?P/E:1;t.translate(A,S),t.rotate(Z),t.scale(I,N),t.arc(0,0,B,R,T,!!(1-L)),t.scale(1/I,1/N),t.rotate(-Z),t.translate(-A,-S)}C&&t.lineTo(w[6]+p,w[7]+g);break;case"Z":t.closePath()}}}function u(t,e){var n,r=e.markerStart,a=e.markerEnd,o=e.markerStartOffset,l=e.markerEndOffset,s=e.points.points,c=s.length,u=s[0][0],f=s[0][1],d=s[c-1][0],h=s[c-1][1],p=0,g=0,m=0,y=0,v=0;r&&(0,i.RV)(r)&&o&&(n=s[1][0]-s[0][0],p=Math.cos(v=Math.atan2(s[1][1]-s[0][1],n))*(o||0),g=Math.sin(v)*(o||0)),a&&(0,i.RV)(a)&&l&&(n=s[c-1][0]-s[0][0],m=Math.cos(v=Math.atan2(s[c-1][1]-s[0][1],n))*(l||0),y=Math.sin(v)*(l||0)),t.moveTo(u+(p||m),f+(g||y));for(var b=1;b0?1:-1,d=u>0?1:-1,h=f+d===0,p=(0,r.CR)(s.map(function(t){return(0,a.Z)(t,0,Math.min(Math.abs(c)/2,Math.abs(u)/2))}),4),g=p[0],m=p[1],y=p[2],v=p[3];t.moveTo(f*g+i,l),t.lineTo(c-f*m+i,l),0!==m&&t.arc(c-f*m+i,d*m+l,m,-d*Math.PI/2,f>0?0:Math.PI,h),t.lineTo(c+i,u-d*y+l),0!==y&&t.arc(c-f*y+i,u-d*y+l,y,f>0?0:Math.PI,d>0?Math.PI/2:1.5*Math.PI,h),t.lineTo(f*v+i,u+l),0!==v&&t.arc(f*v+i,u-d*v+l,v,d>0?Math.PI/2:-Math.PI/2,f>0?Math.PI:0,h),t.lineTo(i,d*g+l),0!==g&&t.arc(f*g+i,d*g+l,g,f>0?Math.PI:0,d>0?1.5*Math.PI:Math.PI/2,h)}else t.rect(i,l,c,u)}var h=function(t){function e(){var e=t.apply(this,(0,r.ev)([],(0,r.CR)(arguments),!1))||this;return e.name="canvas-path-generator",e}return(0,r.ZT)(e,t),e.prototype.init=function(){var t,e=((t={})[i.bn.CIRCLE]=o,t[i.bn.ELLIPSE]=l,t[i.bn.RECT]=d,t[i.bn.LINE]=s,t[i.bn.POLYLINE]=f,t[i.bn.POLYGON]=u,t[i.bn.PATH]=c,t[i.bn.TEXT]=void 0,t[i.bn.GROUP]=void 0,t[i.bn.IMAGE]=void 0,t[i.bn.HTML]=void 0,t[i.bn.MESH]=void 0,t);this.context.pathGeneratorFactory=e},e.prototype.destroy=function(){delete this.context.pathGeneratorFactory},e}(i.F6),p=n(77160),g=n(85975),m=n(11702),y=n(74873),v=p.Ue(),b=p.Ue(),x=p.Ue(),O=g.create(),w=function(){function t(){var t=this;this.isHit=function(e,n,r,a){var o=t.context.pointInPathPickerFactory[e.nodeName];if(o){var l=g.invert(O,r),s=p.fF(b,p.t8(x,n[0],n[1],0),l);if(o(e,new i.E9(s[0],s[1]),a,t.isPointInPath,t.context,t.runtime))return!0}return!1},this.isPointInPath=function(e,n){var r=t.runtime.offscreenCanvasCreator.getOrCreateContext(t.context.config.offscreenCanvas),i=t.context.pathGeneratorFactory[e.nodeName];return i&&(r.beginPath(),i(r,e.parsedStyle),r.closePath()),r.isPointInPath(n.x,n.y)}}return t.prototype.apply=function(e,n){var i,a=this,o=e.renderingService,l=e.renderingContext;this.context=e,this.runtime=n;var s=null===(i=l.root)||void 0===i?void 0:i.ownerDocument;o.hooks.pick.tapPromise(t.tag,function(t){return(0,r.mG)(a,void 0,void 0,function(){return(0,r.Jh)(this,function(e){return[2,this.pick(s,t)]})})}),o.hooks.pickSync.tap(t.tag,function(t){return a.pick(s,t)})},t.prototype.pick=function(t,e){var n,a,o=e.topmost,l=e.position,s=l.x,c=l.y,u=p.t8(v,s,c,0),f=t.elementsFromBBox(u[0],u[1],u[0],u[1]),d=[];try{for(var h=(0,r.XA)(f),g=h.next();!g.done;g=h.next()){var m=g.value,y=m.getWorldTransform();if(this.isHit(m,u,y,!1)){var b=(0,i.Oi)(m);if(b){var x=b.parsedStyle.clipPath;if(this.isHit(x,u,x.getWorldTransform(),!0)){if(o)return e.picked=[m],e;d.push(m)}}else{if(o)return e.picked=[m],e;d.push(m)}}}}catch(t){n={error:t}}finally{try{g&&!g.done&&(a=h.return)&&a.call(h)}finally{if(n)throw n.error}}return e.picked=d,e},t.tag="CanvasPicker",t}();function _(t,e,n){var a=t.parsedStyle,o=a.cx,l=a.cy,s=a.r,c=a.fill,u=a.stroke,f=a.lineWidth,d=a.increasedLineWidthForHitTesting,h=a.pointerEvents,p=((void 0===f?1:f)+(void 0===d?0:d))/2,g=(0,m.TE)(void 0===o?0:o,void 0===l?0:l,e.x,e.y),y=(0,r.CR)((0,i.L1)(void 0===h?"auto":h,c,u),2),v=y[0],b=y[1];return v&&b||n?g<=s+p:v?g<=s:!!b&&g>=s-p&&g<=s+p}function k(t,e,n){var a,o,l,s,c,u,f=t.parsedStyle,d=f.cx,h=void 0===d?0:d,p=f.cy,g=void 0===p?0:p,m=f.rx,y=f.ry,v=f.fill,b=f.stroke,x=f.lineWidth,O=f.increasedLineWidthForHitTesting,w=f.pointerEvents,_=e.x,k=e.y,M=(0,r.CR)((0,i.L1)(void 0===w?"auto":w,v,b),2),C=M[0],j=M[1],A=((void 0===x?1:x)+(void 0===O?0:O))/2,S=(_-h)*(_-h),E=(k-g)*(k-g);return C&&j||n?1>=S/((a=m+A)*a)+E/((o=y+A)*o):C?1>=S/(m*m)+E/(y*y):!!j&&S/((l=m-A)*l)+E/((s=y-A)*s)>=1&&1>=S/((c=m+A)*c)+E/((u=y+A)*u)}function M(t,e,n,r,i,a){return i>=t&&i<=t+n&&a>=e&&a<=e+r}function C(t,e,n,r,i,a,o,l){var s=(Math.atan2(l-e,o-t)+2*Math.PI)%(2*Math.PI),c={x:t+n*Math.cos(s),y:e+n*Math.sin(s)};return(0,m.TE)(c.x,c.y,o,l)<=a/2}function j(t,e,n,r,i,a,o){var l=Math.min(t,n),s=Math.max(t,n),c=Math.min(e,r),u=Math.max(e,r),f=i/2;return a>=l-f&&a<=s+f&&o>=c-f&&o<=u+f&&(0,m._x)(t,e,n,r,a,o)<=i/2}function A(t,e,n,r,i){var a=t.length;if(a<2)return!1;for(var o=0;oMath.abs(t)?0:t<0?-1:1}function E(t,e,n){var r=!1,i=t.length;if(i<=2)return!1;for(var a=0;a0!=S(s[1]-n)>0&&0>S(e-(n-l[1])*(l[0]-s[0])/(l[1]-s[1])-l[0])&&(r=!r)}return r}function P(t,e,n){for(var r=!1,i=0;ic&&g/p>u,e&&(e.resetTransform?e.resetTransform():e.setTransform(1,0,0,1,0,0),a.clearFullScreen&&a.clearRect(e,0,0,r*n,i*n,o.background))});var v=function(t,e){t.isVisible()&&!t.isCulled()&&a.renderDisplayObject(t,e,a.context,a.restoreStack,n),(t.sortable.sorted||t.childNodes).forEach(function(t){v(t,e)})};s.hooks.endFrame.tap(t.tag,function(){if(0===c.root.childNodes.length){a.clearFullScreenLastFrame=!0;return}a.clearFullScreenLastFrame=!1;var t=d.getContext(),e=d.getDPR();if(g.fromScaling(a.dprMatrix,[e,e,1]),g.multiply(a.vpMatrix,a.dprMatrix,l.getOrthoMatrix()),a.clearFullScreen)v(c.root,t);else{var s=a.safeMergeAABB.apply(a,(0,r.ev)([a.mergeDirtyAABBs(a.renderQueue)],(0,r.CR)(a.removedRBushNodeAABBs.map(function(t){var e=t.minX,n=t.minY,r=t.maxX,a=t.maxY,o=new i.mN;return o.setMinMax([e,n,0],[r,a,0]),o})),!1));if(a.removedRBushNodeAABBs=[],i.mN.isEmpty(s)){a.renderQueue=[];return}var u=a.convertAABB2Rect(s),f=u.x,m=u.y,y=u.width,b=u.height,x=p.fF(a.vec3a,[f,m,0],a.vpMatrix),O=p.fF(a.vec3b,[f+y,m,0],a.vpMatrix),w=p.fF(a.vec3c,[f,m+b,0],a.vpMatrix),_=p.fF(a.vec3d,[f+y,m+b,0],a.vpMatrix),k=Math.min(x[0],O[0],_[0],w[0]),M=Math.min(x[1],O[1],_[1],w[1]),C=Math.max(x[0],O[0],_[0],w[0]),j=Math.max(x[1],O[1],_[1],w[1]),A=Math.floor(k),S=Math.floor(M),E=Math.ceil(C-k),P=Math.ceil(j-M);t.save(),a.clearRect(t,A,S,E,P,o.background),t.beginPath(),t.rect(A,S,E,P),t.clip(),t.setTransform(a.vpMatrix[0],a.vpMatrix[1],a.vpMatrix[4],a.vpMatrix[5],a.vpMatrix[12],a.vpMatrix[13]),o.renderer.getConfig().enableDirtyRectangleRenderingDebug&&h.dispatchEvent(new i.Aw(i.$6.DIRTY_RECTANGLE,{dirtyRect:{x:A,y:S,width:E,height:P}})),a.searchDirtyObjects(s).sort(function(t,e){return t.sortable.renderOrder-e.sortable.renderOrder}).forEach(function(e){e&&e.isVisible()&&!e.isCulled()&&a.renderDisplayObject(e,t,a.context,a.restoreStack,n)}),t.restore(),a.renderQueue.forEach(function(t){a.saveDirtyAABB(t)}),a.renderQueue=[]}a.restoreStack.forEach(function(){t.restore()}),a.restoreStack=[]}),s.hooks.render.tap(t.tag,function(t){a.clearFullScreen||a.renderQueue.push(t)})},t.prototype.clearRect=function(t,e,n,r,i,a){t.clearRect(e,n,r,i),a&&(t.fillStyle=a,t.fillRect(e,n,r,i))},t.prototype.renderDisplayObject=function(t,e,n,r,a){var o=t.nodeName,l=r[r.length-1];l&&!(t.compareDocumentPosition(l)&i.NB.DOCUMENT_POSITION_CONTAINS)&&(e.restore(),r.pop());var s=this.context.styleRendererFactory[o],c=this.pathGeneratorFactory[o],u=t.parsedStyle.clipPath;if(u){this.applyWorldTransform(e,u);var f=this.pathGeneratorFactory[u.nodeName];f&&(e.save(),r.push(t),e.beginPath(),f(e,u.parsedStyle),e.closePath(),e.clip())}s&&(this.applyWorldTransform(e,t),e.save(),this.applyAttributesToContext(e,t)),c&&(e.beginPath(),c(e,t.parsedStyle),t.nodeName!==i.bn.LINE&&t.nodeName!==i.bn.PATH&&t.nodeName!==i.bn.POLYLINE&&e.closePath()),s&&(s.render(e,t.parsedStyle,t,n,this,a),e.restore()),t.renderable.dirty=!1},t.prototype.convertAABB2Rect=function(t){var e=t.getMin(),n=t.getMax(),r=Math.floor(e[0]),i=Math.floor(e[1]);return{x:r,y:i,width:Math.ceil(n[0])-r,height:Math.ceil(n[1])-i}},t.prototype.mergeDirtyAABBs=function(t){var e=new i.mN;return t.forEach(function(t){var n=t.getRenderBounds();e.add(n);var r=t.renderable.dirtyRenderBounds;r&&e.add(r)}),e},t.prototype.searchDirtyObjects=function(t){var e=(0,r.CR)(t.getMin(),2),n=e[0],i=e[1],a=(0,r.CR)(t.getMax(),2),o=a[0],l=a[1];return this.rBush.search({minX:n,minY:i,maxX:o,maxY:l}).map(function(t){return t.displayObject})},t.prototype.saveDirtyAABB=function(t){var e=t.renderable;e.dirtyRenderBounds||(e.dirtyRenderBounds=new i.mN);var n=t.getRenderBounds();n&&e.dirtyRenderBounds.update(n.center,n.halfExtents)},t.prototype.applyAttributesToContext=function(t,e){var n=e.parsedStyle,r=n.stroke,i=n.fill,a=n.opacity,o=n.lineDash,l=n.lineDashOffset;o&&t.setLineDash(o),(0,D.Z)(l)||(t.lineDashOffset=l),(0,D.Z)(a)||(t.globalAlpha*=a),(0,D.Z)(r)||Array.isArray(r)||r.isNone||(t.strokeStyle=e.attributes.stroke),(0,D.Z)(i)||Array.isArray(i)||i.isNone||(t.fillStyle=e.attributes.fill)},t.prototype.applyWorldTransform=function(t,e,n){n?(g.copy(this.tmpMat4,e.getLocalTransform()),g.multiply(this.tmpMat4,n,this.tmpMat4),g.multiply(this.tmpMat4,this.vpMatrix,this.tmpMat4)):(g.copy(this.tmpMat4,e.getWorldTransform()),g.multiply(this.tmpMat4,this.vpMatrix,this.tmpMat4)),t.setTransform(this.tmpMat4[0],this.tmpMat4[1],this.tmpMat4[4],this.tmpMat4[5],this.tmpMat4[12],this.tmpMat4[13])},t.prototype.safeMergeAABB=function(){for(var t=[],e=0;e0,M=(null==l?void 0:l.alpha)===0,C=!!(O&&O.length),j=!(0,D.Z)(b)&&x>0,A=n.nodeName,S="inner"===v,E=k&&j&&(A===i.bn.PATH||A===i.bn.LINE||A===i.bn.POLYLINE||M||S);_&&(t.globalAlpha=u*(void 0===f?1:f),E||W(n,t,j),q(t,n,l,s,r,a,o,this.imagePool),E||this.clearShadowAndFilter(t,C,j)),k&&(t.globalAlpha=u*(void 0===h?1:h),t.lineWidth=g,(0,D.Z)(w)||(t.miterLimit=w),(0,D.Z)(m)||(t.lineCap=m),(0,D.Z)(y)||(t.lineJoin=y),E&&(S&&(t.globalCompositeOperation="source-atop"),W(n,t,!0),S&&(V(t,n,d,r,a,o,this.imagePool),t.globalCompositeOperation="source-over",this.clearShadowAndFilter(t,C,!0))),V(t,n,d,r,a,o,this.imagePool))},t.prototype.clearShadowAndFilter=function(t,e,n){if(n&&(t.shadowColor="transparent",t.shadowBlur=0),e){var r=t.filter;!(0,D.Z)(r)&&r.indexOf("drop-shadow")>-1&&(t.filter=r.replace(/drop-shadow\([^)]*\)/,"").trim()||"none")}},t}();function W(t,e,n){var r=t.parsedStyle,i=r.filter,a=r.shadowColor,o=r.shadowBlur,l=r.shadowOffsetX,s=r.shadowOffsetY;i&&i.length&&(e.filter=t.style.filter),n&&(e.shadowColor=a.toString(),e.shadowBlur=o||0,e.shadowOffsetX=l||0,e.shadowOffsetY=s||0)}function H(t,e,n,r,i,a,o){if("rect"===t.image.nodeName){var l,s,c=t.image.parsedStyle,u=c.width,f=c.height;s=r.contextService.getDPR();var d=r.config.offscreenCanvas;(l=a.offscreenCanvasCreator.getOrCreateCanvas(d)).width=u*s,l.height=f*s;var h=a.offscreenCanvasCreator.getOrCreateContext(d),p=[];t.image.forEach(function(t){i.renderDisplayObject(t,h,r,p,a)}),p.forEach(function(){h.restore()})}return o.getOrCreatePatternSync(t,n,l,s,e.getGeometryBounds().min,function(){e.renderable.dirty=!0,r.renderingService.dirtify()})}function G(t,e,n,a){var o;if(t.type===i.GL.LinearGradient||t.type===i.GL.RadialGradient){var l=e.getGeometryBounds(),s=l&&2*l.halfExtents[0]||1,c=l&&2*l.halfExtents[1]||1,u=l&&l.min||[0,0];o=a.getOrCreateGradient((0,r.pi)((0,r.pi)({type:t.type},t.value),{min:u,width:s,height:c}),n)}return o}function q(t,e,n,r,a,o,l,s,c){void 0===c&&(c=!1),Array.isArray(n)?n.forEach(function(n){t.fillStyle=G(n,e,t,s),c||(r?t.fill(r):t.fill())}):((0,i.R)(n)&&(t.fillStyle=H(n,e,t,a,o,l,s)),c||(r?t.fill(r):t.fill()))}function V(t,e,n,r,a,o,l,s){void 0===s&&(s=!1),Array.isArray(n)?n.forEach(function(n){t.strokeStyle=G(n,e,t,l),s||t.stroke()}):((0,i.R)(n)&&(t.strokeStyle=H(n,e,t,r,a,o,l)),s||t.stroke())}var Y=function(){function t(t){this.imagePool=t}return t.prototype.render=function(t,e,n){var r,i=e.x,a=e.y,o=e.width,l=e.height,s=e.src,c=e.shadowColor,u=e.shadowBlur,f=o,d=l;if((0,F.Z)(s)?r=this.imagePool.getImageSync(s):(f||(f=s.width),d||(d=s.height),r=s),r){W(n,t,!(0,D.Z)(c)&&u>0);try{t.drawImage(r,void 0===i?0:i,void 0===a?0:a,f,d)}catch(t){}}},t}(),U=function(){function t(t){this.imagePool=t}return t.prototype.render=function(t,e,n,r,i,a){n.getBounds();var o=e.lineWidth,l=void 0===o?1:o,s=e.textAlign,c=void 0===s?"start":s,u=e.textBaseline,f=void 0===u?"alphabetic":u,d=e.lineJoin,h=e.miterLimit,p=void 0===h?10:h,g=e.letterSpacing,m=void 0===g?0:g,y=e.stroke,v=e.fill,b=e.fillRule,x=e.fillOpacity,O=void 0===x?1:x,w=e.strokeOpacity,_=void 0===w?1:w,k=e.opacity,M=void 0===k?1:k,C=e.metrics,j=e.x,A=e.y,S=e.dx,E=e.dy,P=e.shadowColor,R=e.shadowBlur,T=C.font,Z=C.lines,L=C.height,B=C.lineHeight,I=C.lineMetrics;t.font=T,t.lineWidth=l,t.textAlign="middle"===c?"center":c;var N=f;a.enableCSSParsing||"alphabetic"!==N||(N="bottom"),t.lineJoin=void 0===d?"miter":d,(0,D.Z)(p)||(t.miterLimit=p);var F=void 0===A?0:A;"middle"===f?F+=-L/2-B/2:"bottom"===f||"alphabetic"===f||"ideographic"===f?F+=-L:("top"===f||"hanging"===f)&&(F+=-B);var z=(void 0===j?0:j)+(S||0);F+=E||0,1===Z.length&&("bottom"===N?(N="middle",F-=.5*L):"top"===N&&(N="middle",F+=.5*L)),t.textBaseline=N,W(n,t,!(0,D.Z)(P)&&R>0);for(var $=0;$=1?Math.ceil(n):1,this.dpr=n,this.$canvas&&(this.$canvas.width=this.dpr*t,this.$canvas.height=this.dpr*e,(0,i.$p)(this.$canvas,t,e)),this.renderingContext.renderReasons.add(i.Rr.CAMERA_CHANGED)},t.prototype.applyCursorStyle=function(t){this.$container&&this.$container.style&&(this.$container.style.cursor=t)},t.prototype.toDataURL=function(t){return void 0===t&&(t={}),(0,r.mG)(this,void 0,void 0,function(){var e,n;return(0,r.Jh)(this,function(r){return e=t.type,n=t.encoderOptions,[2,this.context.canvas.toDataURL(e,n)]})})},t}(),to=function(t){function e(){var e=t.apply(this,(0,r.ev)([],(0,r.CR)(arguments),!1))||this;return e.name="canvas-context-register",e}return(0,r.ZT)(e,t),e.prototype.init=function(){this.context.ContextService=ta},e.prototype.destroy=function(){delete this.context.ContextService},e}(i.F6),tl=function(t){function e(e){var n=t.call(this,e)||this;return n.registerPlugin(new to),n.registerPlugin(new ti),n.registerPlugin(new h),n.registerPlugin(new Q),n.registerPlugin(new X),n.registerPlugin(new N),n.registerPlugin(new te),n}return(0,r.ZT)(e,t),e}(i.I8)},38554:function(t){"use strict";var e=Object.prototype.hasOwnProperty,n="~";function r(){}function i(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function a(t,e,r,a,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var l=new i(r,a||t,o),s=n?n+e:e;return t._events[s]?t._events[s].fn?t._events[s]=[t._events[s],l]:t._events[s].push(l):(t._events[s]=l,t._eventsCount++),t}function o(t,e){0==--t._eventsCount?t._events=new r:delete t._events[e]}function l(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),l.prototype.eventNames=function(){var t,r,i=[];if(0===this._eventsCount)return i;for(r in t=this._events)e.call(t,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},l.prototype.listeners=function(t){var e=n?n+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,a=r.length,o=Array(a);ic&&(c=p)}for(var g=Math.atan(r/(n*Math.tan(i))),m=1/0,y=-1/0,v=[a,o],f=-(2*Math.PI);f<=2*Math.PI;f+=Math.PI){var b=g+f;ay&&(y=O)}return{x:s,y:m,width:c-s,height:y-m}}function c(t,e,n,i,a,l){var s=-1,c=1/0,u=[n,i],f=20;l&&l>200&&(f=l/10);for(var d=1/f,h=d/10,p=0;p<=f;p++){var g=p*d,m=[a.apply(void 0,(0,r.ev)([],(0,r.CR)(t.concat([g])),!1)),a.apply(void 0,(0,r.ev)([],(0,r.CR)(e.concat([g])),!1))],y=o(u[0],u[1],m[0],m[1]);y=0&&y=0&&a<=1&&f.push(a);else{var d=c*c-4*s*u;(0,i.Z)(d,0)?f.push(-c/(2*s)):d>0&&(a=(-c+(l=Math.sqrt(d)))/(2*s),o=(-c-l)/(2*s),a>=0&&a<=1&&f.push(a),o>=0&&o<=1&&f.push(o))}return f}function g(t,e,n,r,i,a,o,s){for(var c=[t,o],u=[e,s],f=p(t,n,i,o),d=p(e,r,a,s),g=0;g=0?[a]:[]}function x(t,e,n,r,i,a){var o=b(t,n,i)[0],s=b(e,r,a)[0],c=[t,i],u=[e,a];return void 0!==o&&c.push(v(t,n,i,o)),void 0!==s&&u.push(v(e,r,a,s)),l(c,u)}function O(t,e,n,r,i,a,l,s){var u=c([t,n,i],[e,r,a],l,s,v);return o(u.x,u.y,l,s)}},98875:function(t,e,n){"use strict";n.d(e,{S:function(){return l}});var r=n(97582),i=n(4559),a=n(44078),o=function(){function t(t){this.dragndropPluginOptions=t}return t.prototype.apply=function(e){var n=this,i=e.renderingService,o=e.renderingContext.root.ownerDocument,l=o.defaultView,s=function(t){var e=t.target,i=e===o,s=i&&n.dragndropPluginOptions.isDocumentDraggable?o:e.closest&&e.closest("[draggable=true]");if(s){var c=!1,u=t.timeStamp,f=[t.clientX,t.clientY],d=null,h=[t.clientX,t.clientY],p=function(t){return(0,r.mG)(n,void 0,void 0,function(){var n,l,p,g,m,y;return(0,r.Jh)(this,function(r){switch(r.label){case 0:if(!c){if(n=t.timeStamp-u,l=(0,a.y)([t.clientX,t.clientY],f),n<=this.dragndropPluginOptions.dragstartTimeThreshold||l<=this.dragndropPluginOptions.dragstartDistanceThreshold)return[2];t.type="dragstart",s.dispatchEvent(t),c=!0}if(t.type="drag",t.dx=t.clientX-h[0],t.dy=t.clientY-h[1],s.dispatchEvent(t),h=[t.clientX,t.clientY],i)return[3,2];return p="pointer"===this.dragndropPluginOptions.overlap?[t.canvasX,t.canvasY]:e.getBounds().center,[4,o.elementsFromPoint(p[0],p[1])];case 1:d!==(y=(null==(m=(g=r.sent())[g.indexOf(e)+1])?void 0:m.closest("[droppable=true]"))||(this.dragndropPluginOptions.isDocumentDroppable?o:null))&&(d&&(t.type="dragleave",t.target=d,d.dispatchEvent(t)),y&&(t.type="dragenter",t.target=y,y.dispatchEvent(t)),(d=y)&&(t.type="dragover",t.target=d,d.dispatchEvent(t))),r.label=2;case 2:return[2]}})})};l.addEventListener("pointermove",p);var g=function(t){if(c){t.detail={preventClick:!0};var e=t.clone();d&&(e.type="drop",e.target=d,d.dispatchEvent(e)),e.type="dragend",s.dispatchEvent(e),c=!1}l.removeEventListener("pointermove",p)};e.addEventListener("pointerup",g,{once:!0}),e.addEventListener("pointerupoutside",g,{once:!0})}};i.hooks.init.tap(t.tag,function(){l.addEventListener("pointerdown",s)}),i.hooks.destroy.tap(t.tag,function(){l.removeEventListener("pointerdown",s)})},t.tag="Dragndrop",t}(),l=function(t){function e(e){void 0===e&&(e={});var n=t.call(this)||this;return n.options=e,n.name="dragndrop",n}return(0,r.ZT)(e,t),e.prototype.init=function(){this.addRenderingPlugin(new o((0,r.pi)({overlap:"pointer",isDocumentDraggable:!1,isDocumentDroppable:!1,dragstartDistanceThreshold:0,dragstartTimeThreshold:0},this.options)))},e.prototype.destroy=function(){this.removeAllRenderingPlugins()},e.prototype.setOptions=function(t){Object.assign(this.plugins[0].dragndropPluginOptions,t)},e}(i.F6)},1242:function(t,e,n){"use strict";n.d(e,{mN:function(){return a.mN},ux:function(){return a.ux},Xz:function(){return a.Xz},Cd:function(){return a.Cd},b_:function(){return a.b_},Aw:function(){return a.Aw},s$:function(){return a.s$},Dk:function(){return a.Dk},Pj:function(){return a.Pj},ZA:function(){return a.ZA},k9:function(){return a.k9},Ee:function(){return a.Ee},x1:function(){return a.x1},y$:function(){return a.y$},mg:function(){return a.mg},aH:function(){return a.aH},h0:function(){return a.h0},UL:function(){return a.UL},bn:function(){return a.bn},xv:function(){return a.xv},YR:function(){return a.YR},lu:function(){return a.lu},GZ:function(){return a.GZ}});var r,i,a=n(4559),o=n(97582),l=n(76714),s=n(25897),c=n(32945),u=n(85975),f=n(77160),d=function(t){function e(){var e=t.apply(this,(0,o.ev)([],(0,o.CR)(arguments),!1))||this;return e.landmarks=[],e}return(0,o.ZT)(e,t),e.prototype.rotate=function(t,e,n){if(this.relElevation=(0,a._O)(e),this.relAzimuth=(0,a._O)(t),this.relRoll=(0,a._O)(n),this.elevation+=this.relElevation,this.azimuth+=this.relAzimuth,this.roll+=this.relRoll,this.type===a.iM.EXPLORING){var r=c.yY(c.Ue(),[1,0,0],(0,a.Vl)((this.rotateWorld?1:-1)*this.relElevation)),i=c.yY(c.Ue(),[0,1,0],(0,a.Vl)((this.rotateWorld?1:-1)*this.relAzimuth)),o=c.yY(c.Ue(),[0,0,1],(0,a.Vl)(this.relRoll)),l=c.Jp(c.Ue(),i,r);l=c.Jp(c.Ue(),l,o);var s=u.fromQuat(u.create(),l);u.translate(this.matrix,this.matrix,[0,0,-this.distance]),u.multiply(this.matrix,this.matrix,s),u.translate(this.matrix,this.matrix,[0,0,this.distance])}else{if(Math.abs(this.elevation)>90)return this;this.computeMatrix()}return this._getAxes(),this.type===a.iM.ORBITING||this.type===a.iM.EXPLORING?this._getPosition():this.type===a.iM.TRACKING&&this._getFocalPoint(),this._update(),this},e.prototype.pan=function(t,e){var n=(0,a.O4)(t,e,0),r=f.d9(this.position);return f.IH(r,r,f.bA(f.Ue(),this.right,n[0])),f.IH(r,r,f.bA(f.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this},e.prototype.dolly=function(t){var e=this.forward,n=f.d9(this.position),r=t*this.dollyingStep;return r=Math.max(Math.min(this.distance+t*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*e[0],n[1]+=r*e[1],n[2]+=r*e[2],this._setPosition(n),this.type===a.iM.ORBITING||this.type===a.iM.EXPLORING?this._getDistance():this.type===a.iM.TRACKING&&f.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this},e.prototype.cancelLandmarkAnimation=function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)},e.prototype.createLandmark=function(t,e){void 0===e&&(e={});var n,r,i,o,l=e.position,s=void 0===l?this.position:l,c=e.focalPoint,d=void 0===c?this.focalPoint:c,h=e.roll,p=e.zoom,g=new a.GZ.CameraContribution;g.setType(this.type,void 0),g.setPosition(s[0],null!==(n=s[1])&&void 0!==n?n:this.position[1],null!==(r=s[2])&&void 0!==r?r:this.position[2]),g.setFocalPoint(d[0],null!==(i=d[1])&&void 0!==i?i:this.focalPoint[1],null!==(o=d[2])&&void 0!==o?o:this.focalPoint[2]),g.setRoll(null!=h?h:this.roll),g.setZoom(null!=p?p:this.zoom);var m={name:t,matrix:u.clone(g.getWorldTransform()),right:f.d9(g.right),up:f.d9(g.up),forward:f.d9(g.forward),position:f.d9(g.getPosition()),focalPoint:f.d9(g.getFocalPoint()),distanceVector:f.d9(g.getDistanceVector()),distance:g.getDistance(),dollyingStep:g.getDollyingStep(),azimuth:g.getAzimuth(),elevation:g.getElevation(),roll:g.getRoll(),relAzimuth:g.relAzimuth,relElevation:g.relElevation,relRoll:g.relRoll,zoom:g.getZoom()};return this.landmarks.push(m),m},e.prototype.gotoLandmark=function(t,e){var n=this;void 0===e&&(e={});var r=(0,l.Z)(t)?this.landmarks.find(function(e){return e.name===t}):t;if(r){var i,o=(0,s.Z)(e)?{duration:e}:e,c=o.easing,u=void 0===c?"linear":c,d=o.duration,h=void 0===d?100:d,p=o.easingFunction,g=o.onfinish,m=void 0===g?void 0:g,y=o.onframe,v=void 0===y?void 0:y;if(0===h){this.syncFromLandmark(r),m&&m();return}this.cancelLandmarkAnimation();var b=r.position,x=r.focalPoint,O=r.zoom,w=r.roll,_=(void 0===p?void 0:p)||a.GZ.EasingFunction(u),k=function(){n.setFocalPoint(x),n.setPosition(b),n.setRoll(w),n.setZoom(O),n.computeMatrix(),n.triggerUpdate(),m&&m()},M=function(t){void 0===i&&(i=t);var e=t-i;if(e>h){k();return}var r=_(e/h),a=f.Ue(),o=f.Ue(),l=1,s=0;if(f.t7(a,n.focalPoint,x,r),f.t7(o,n.position,b,r),s=n.roll*(1-r)+w*r,l=n.zoom*(1-r)+O*r,n.setFocalPoint(a),n.setPosition(o),n.setRoll(s),n.setZoom(l),f.TK(a,x)+f.TK(o,b)<=.01&&void 0==O&&void 0==w){k();return}n.computeMatrix(),n.triggerUpdate(),e0){var l,s=(l=n[o-1],l===t?l:i&&(l===i||l===r)?i:null);if(s){n[o-1]=s;return}}else e=this.observer,b.push(e),v||(v=!0,void 0!==a.GZ.globalThis?a.GZ.globalThis.setTimeout(x):x());n[o]=t},t.prototype.addListeners=function(){this.addListeners_(this.target)},t.prototype.addListeners_=function(t){var e=this.options;e.attributes&&t.addEventListener(a.Dk.ATTR_MODIFIED,this,!0),e.childList&&t.addEventListener(a.Dk.INSERTED,this,!0),(e.childList||e.subtree)&&t.addEventListener(a.Dk.REMOVED,this,!0)},t.prototype.removeListeners=function(){this.removeListeners_(this.target)},t.prototype.removeListeners_=function(t){var e=this.options;e.attributes&&t.removeEventListener(a.Dk.ATTR_MODIFIED,this,!0),e.childList&&t.removeEventListener(a.Dk.INSERTED,this,!0),(e.childList||e.subtree)&&t.removeEventListener(a.Dk.REMOVED,this,!0)},t.prototype.removeTransientObservers=function(){var t=this.transientObservedNodes;this.transientObservedNodes=[],t.forEach(function(t){this.removeListeners_(t);for(var e=g.get(t),n=0;n0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalDuration",{get:function(){return this._totalDuration},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_needsTick",{get:function(){return this.pending||"running"===this.playState||!this._finishedFlag},enumerable:!1,configurable:!0}),t.prototype.updatePromises=function(){var t=this.oldPlayState,e=this.pending?"pending":this.playState;return this.readyPromise&&e!==t&&("idle"===e?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===t?this.resolveReadyPromise():"pending"===e&&(this.readyPromise=void 0)),this.finishedPromise&&e!==t&&("idle"===e?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===e?this.resolveFinishedPromise():"finished"===t&&(this.finishedPromise=void 0)),this.oldPlayState=e,this.readyPromise||this.finishedPromise},t.prototype.play=function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()},t.prototype.pause=function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()},t.prototype.finish=function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())},t.prototype.cancel=function(){var t=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var e=new _(null,this,this.currentTime,null);setTimeout(function(){t.oncancel(e)})}},t.prototype.reverse=function(){this.updatePromises();var t=this.currentTime;this.playbackRate*=-1,this.play(),null!==t&&(this.currentTime=t),this.updatePromises()},t.prototype.updatePlaybackRate=function(t){this.playbackRate=t},t.prototype.targetAnimations=function(){var t;return(null===(t=this.effect)||void 0===t?void 0:t.target).getAnimations()},t.prototype.markTarget=function(){var t=this.targetAnimations();-1===t.indexOf(this)&&t.push(this)},t.prototype.unmarkTarget=function(){var t=this.targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)},t.prototype.tick=function(t,e){this._idle||this._paused||(null===this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this.currentTimePending=!1,this.fireEvents(t))},t.prototype.rewind=function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")},t.prototype.persist=function(){throw Error(a.jf)},t.prototype.addEventListener=function(t,e,n){throw Error(a.jf)},t.prototype.removeEventListener=function(t,e,n){throw Error(a.jf)},t.prototype.dispatchEvent=function(t){throw Error(a.jf)},t.prototype.commitStyles=function(){throw Error(a.jf)},t.prototype.ensureAlive=function(){var t,e;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null===(t=this.effect)||void 0===t?void 0:t.update(-1)):this._inEffect=!!(null===(e=this.effect)||void 0===e?void 0:e.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))},t.prototype.tickCurrentTime=function(t,e){t!==this._currentTime&&(this._currentTime=t,this._isFinished&&!e&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())},t.prototype.fireEvents=function(t){var e=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new _(null,this,this.currentTime,t);setTimeout(function(){e.onfinish&&e.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new _(null,this,this.currentTime,t);this.onframe(r)}this._finishedFlag=!1}},t}(),C="function"==typeof Float32Array,j=function(t,e){return 1-3*e+3*t},A=function(t,e){return 3*e-6*t},S=function(t){return 3*t},E=function(t,e,n){return((j(e,n)*t+A(e,n))*t+S(e))*t},P=function(t,e,n){return 3*j(e,n)*t*t+2*A(e,n)*t+S(e)},R=function(t,e,n,r,i){var a,o,l=0;do(a=E(o=e+(n-e)/2,r,i)-t)>0?n=o:e=o;while(Math.abs(a)>1e-7&&++l<10);return o},T=function(t,e,n,r){for(var i=0;i<4;++i){var a=P(e,n,r);if(0===a)break;var o=E(e,n,r)-t;e-=o/a}return e},Z=function(t,e,n,r){if(!(0<=t&&t<=1&&0<=n&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(t===e&&n===r)return function(t){return t};for(var i=C?new Float32Array(11):Array(11),a=0;a<11;++a)i[a]=E(.1*a,t,n);var o=function(e){for(var r=0,a=1;10!==a&&i[a]<=e;++a)r+=.1;var o=r+(e-i[--a])/(i[a+1]-i[a])*.1,l=P(o,t,n);return l>=.001?T(e,o,t,n):0===l?o:R(e,r,r+.1,t,n)};return function(t){return 0===t||1===t?t:E(o(t),e,r)}},L=function(t){return Math.pow(t,2)},B=function(t){return Math.pow(t,3)},I=function(t){return Math.pow(t,4)},N=function(t){return Math.pow(t,5)},D=function(t){return Math.pow(t,6)},F=function(t){return 1-Math.cos(t*Math.PI/2)},z=function(t){return 1-Math.sqrt(1-t*t)},$=function(t){return t*t*(3*t-2)},W=function(t){for(var e,n=4;t<((e=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*e-2)/22-t,2)},H=function(t,e){void 0===e&&(e=[]);var n=(0,o.CR)(e,2),r=n[0],i=n[1],a=(0,O.Z)(Number(void 0===r?1:r),1,10),l=(0,O.Z)(Number(void 0===i?.5:i),.1,2);return 0===t||1===t?t:-a*Math.pow(2,10*(t-1))*Math.sin((t-1-l/(2*Math.PI)*Math.asin(1/a))*(2*Math.PI)/l)},G=function(t,e,n){void 0===e&&(e=[]);var r=(0,o.CR)(e,4),i=r[0],a=void 0===i?1:i,l=r[1],s=void 0===l?100:l,c=r[2],u=void 0===c?10:c,f=r[3],d=void 0===f?0:f;a=(0,O.Z)(a,.1,1e3),s=(0,O.Z)(s,.1,1e3),u=(0,O.Z)(u,.1,1e3),d=(0,O.Z)(d,.1,1e3);var h=Math.sqrt(s/a),p=u/(2*Math.sqrt(s*a)),g=p<1?h*Math.sqrt(1-p*p):0,m=p<1?(p*h+-d)/g:-d+h,y=n?n*t/1e3:t;return(y=p<1?Math.exp(-y*p*h)*(1*Math.cos(g*y)+m*Math.sin(g*y)):(1+m*y)*Math.exp(-y*h),0===t||1===t)?t:1-y},q=function(t,e){void 0===e&&(e=[]);var n=(0,o.CR)(e,2),r=n[0],i=void 0===r?10:r;return("start"==n[1]?Math.ceil:Math.floor)((0,O.Z)(t,0,1)*i)/i},V=function(t,e){void 0===e&&(e=[]);var n=(0,o.CR)(e,4);return Z(n[0],n[1],n[2],n[3])(t)},Y=Z(.42,0,1,1),U=function(t){return function(e,n,r){return void 0===n&&(n=[]),1-t(1-e,n,r)}},Q=function(t){return function(e,n,r){return void 0===n&&(n=[]),e<.5?t(2*e,n,r)/2:1-t(-2*e+2,n,r)/2}},K=function(t){return function(e,n,r){return void 0===n&&(n=[]),e<.5?(1-t(1-2*e,n,r))/2:(t(2*e-1,n,r)+1)/2}},X={steps:q,"step-start":function(t){return q(t,[1,"start"])},"step-end":function(t){return q(t,[1,"end"])},linear:function(t){return t},"cubic-bezier":V,ease:function(t){return V(t,[.25,.1,.25,1])},in:Y,out:U(Y),"in-out":Q(Y),"out-in":K(Y),"in-quad":L,"out-quad":U(L),"in-out-quad":Q(L),"out-in-quad":K(L),"in-cubic":B,"out-cubic":U(B),"in-out-cubic":Q(B),"out-in-cubic":K(B),"in-quart":I,"out-quart":U(I),"in-out-quart":Q(I),"out-in-quart":K(I),"in-quint":N,"out-quint":U(N),"in-out-quint":Q(N),"out-in-quint":K(N),"in-expo":D,"out-expo":U(D),"in-out-expo":Q(D),"out-in-expo":K(D),"in-sine":F,"out-sine":U(F),"in-out-sine":Q(F),"out-in-sine":K(F),"in-circ":z,"out-circ":U(z),"in-out-circ":Q(z),"out-in-circ":K(z),"in-back":$,"out-back":U($),"in-out-back":Q($),"out-in-back":K($),"in-bounce":W,"out-bounce":U(W),"in-out-bounce":Q(W),"out-in-bounce":K(W),"in-elastic":H,"out-elastic":U(H),"in-out-elastic":Q(H),"out-in-elastic":K(H),spring:G,"spring-in":G,"spring-out":U(G),"spring-in-out":Q(G),"spring-out-in":K(G)},J=function(t){var e;return("-"===(e=(e=t).replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())})).charAt(0)?e.substring(1):e).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},tt=function(t){return t};function te(t,e){return function(n){if(n>=1)return 1;var r=1/t;return(n+=e*r)-n%r}}var tn="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",tr=RegExp("cubic-bezier\\("+tn+","+tn+","+tn+","+tn+"\\)"),ti=/steps\(\s*(\d+)\s*\)/,ta=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function to(t){var e=tr.exec(t);if(e)return Z.apply(void 0,(0,o.ev)([],(0,o.CR)(e.slice(1).map(Number)),!1));var n=ti.exec(t);if(n)return te(Number(n[1]),0);var r=ta.exec(t);return r?te(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):X[J(t)]||X.linear}function tl(t){return"offset"!==t&&"easing"!==t&&"composite"!==t&&"computedOffset"!==t}var ts=function(t,e,n){return function(r){var i=function t(e,n,r){if("number"==typeof e&&"number"==typeof n)return e*(1-r)+n*r;if("boolean"==typeof e&&"boolean"==typeof n||"string"==typeof e&&"string"==typeof n)return r<.5?e:n;if(Array.isArray(e)&&Array.isArray(n)){for(var i=e.length,a=n.length,o=Math.max(i,a),l=[],s=0;s1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=i}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(i))throw Error("".concat(i," compositing is not supported"));n[r]=i}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==e?void 0:e.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,i=-1/0,a=0;a=0&&1>=Number(t.offset)}),r||function(){var t,e,r=n.length;n[r-1].computedOffset=Number(null!==(t=n[r-1].offset)&&void 0!==t?t:1),r>1&&(n[0].computedOffset=Number(null!==(e=n[0].offset)&&void 0!==e?e:0));for(var i=0,a=Number(n[0].computedOffset),o=1;o=t.applyFrom&&e=Math.min(n.delay+t+n.endDelay,r)?2:3}(t,e,n),u=function(t,e,n,r,i){switch(r){case 1:if("backwards"===e||"both"===e)return 0;return null;case 3:return n-i;case 2:if("forwards"===e||"both"===e)return t;return null;case 0:return null}}(t,n.fill,e,c,n.delay);if(null===u)return null;var f="auto"===n.duration?0:n.duration,d=(r=n.iterations,i=n.iterationStart,0===f?1!==c&&(i+=r):i+=u/f,i),h=(a=n.iterationStart,o=n.iterations,0==(l=d===1/0?a%1:d%1)&&2===c&&0!==o&&(0!==u||0===f)&&(l=1),l),p=(s=n.iterations,2===c&&s===1/0?1/0:1===h?Math.floor(d)-1:Math.floor(d)),g=function(t,e,n){var r=t;if("normal"!==t&&"reverse"!==t){var i=e;"alternate-reverse"===t&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,p,h);return n.currentIteration=p,n.progress=g,n.easingFunction(g)}(this.timing.activeDuration,t,this.timing),null!==this.timeFraction)},t.prototype.getKeyframes=function(){return this.normalizedKeyframes},t.prototype.setKeyframes=function(t){this.normalizedKeyframes=tu(t)},t.prototype.getComputedTiming=function(){return this.computedTiming},t.prototype.getTiming=function(){return this.timing},t.prototype.updateTiming=function(t){var e=this;Object.keys(t||{}).forEach(function(n){e.timing[n]=t[n]})},t}();function tp(t,e){return Number(t.id)-Number(e.id)}var tg=function(){function t(t){var e=this;this.document=t,this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(t){e.currentTime=t,e.discardAnimations(),0===e.animations.length?e.timelineTicking=!1:e.requestAnimationFrame(e.webAnimationsNextTick)},this.processRafCallbacks=function(t){var n=e.rafCallbacks;e.rafCallbacks=[],t0?t:e}getPaddingOuter(){let{padding:t,paddingOuter:e}=this.options;return t>0?t:e}rescale(){super.rescale();let{align:t,domain:e,range:n,round:r,flex:i}=this.options,{adjustedRange:o,valueBandWidth:l,valueStep:s}=function(t){var e;let n,r;let{domain:i}=t,o=i.length;if(0===o)return{valueBandWidth:void 0,valueStep:void 0,adjustedRange:[]};let l=!!(null===(e=t.flex)||void 0===e?void 0:e.length);if(l)return function(t){let{domain:e,range:n,paddingOuter:r,paddingInner:i,flex:o,round:l,align:s}=t,c=e.length,u=function(t,e){let n=t.length,r=e-n;return r>0?[...t,...Array(r).fill(1)]:r<0?t.slice(0,e):t}(o,c),[f,d]=n,h=d-f,p=2/c*r+1-1/c*i,g=h/p,m=g*i/c,y=g-c*m,v=function(t){let e=Math.min(...t);return t.map(t=>t/e)}(u),b=v.reduce((t,e)=>t+e),x=y/b,O=new a(e.map((t,e)=>{let n=v[e]*x;return[t,l?Math.floor(n):n]})),w=new a(e.map((t,e)=>{let n=v[e]*x,r=n+m;return[t,l?Math.floor(r):r]})),_=Array.from(w.values()).reduce((t,e)=>t+e),k=h-(_-_/c*i),M=f+k*s,C=l?Math.round(M):M,j=Array(c);for(let t=0;th+e*n);return{valueStep:n,valueBandWidth:r,adjustedRange:y}}({align:t,range:n,round:r,flex:i,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:e});this.valueStep=s,this.valueBandWidth=l,this.adjustedRange=o}}},74271:function(t,e,n){"use strict";n.d(e,{X:function(){return i}});var r=n(83787);class i{constructor(t){this.options=(0,r.Z)({},this.getDefaultOptions()),this.update(t)}getOptions(){return this.options}update(t={}){this.options=(0,r.Z)({},this.options,t),this.rescale(t)}rescale(t){}}},63025:function(t,e,n){"use strict";n.d(e,{V:function(){return p}});var r=n(67128),i=n(74271),a=n(34199),o=n(99871),l=n(33338),s=n(25338),c=n(13393),u=n(82569);let f=(t,e,n)=>{let r,i;let[l,s]=t,[c,u]=e;return l{let r=Math.min(t.length,e.length)-1,i=Array(r),s=Array(r),c=t[0]>t[r],u=c?[...t].reverse():t,f=c?[...e].reverse():e;for(let t=0;t{let n=(0,l.b)(t,e,1,r)-1,a=i[n],c=s[n];return(0,o.q)(c,a)(e)}},h=(t,e,n,r)=>{let i=Math.min(t.length,e.length),a=r?s.lk:n;return(i>2?d:f)(t,e,a)};class p extends i.X{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:s.fv,tickCount:5}}map(t){return(0,c.J)(t)?this.output(t):this.options.unknown}invert(t){return(0,c.J)(t)?this.input(t):this.options.unknown}nice(){if(!this.options.nice)return;let[t,e,n,...r]=this.getTickMethodOptions();this.options.domain=this.chooseNice()(t,e,n,...r)}getTicks(){let{tickMethod:t}=this.options,[e,n,r,...i]=this.getTickMethodOptions();return t(e,n,r,...i)}getTickMethodOptions(){let{domain:t,tickCount:e}=this.options,n=t[0],r=t[t.length-1];return[n,r,e]}chooseNice(){return u.n}rescale(){this.nice();let[t,e]=this.chooseTransforms();this.composeOutput(t,this.chooseClamp(t)),this.composeInput(t,e,this.chooseClamp(e))}chooseClamp(t){let{clamp:e,range:n}=this.options,i=this.options.domain.map(t),a=Math.min(i.length,n.length);return e?function(t,e){let n=ee?t:e;return t=>Math.min(Math.max(n,t),r)}(i[0],i[a-1]):r.Z}composeOutput(t,e){let{domain:n,range:r,round:i,interpolate:a}=this.options,l=h(n.map(t),r,a,i);this.output=(0,o.q)(l,e,t)}composeInput(t,e,n){let{domain:r,range:i}=this.options,a=h(i,r.map(t),s.fv);this.input=(0,o.q)(e,n,a)}}},36380:function(t,e,n){"use strict";n.d(e,{b:function(){return l}});var r=n(67128),i=n(63025),a=n(25338),o=n(7847);class l extends i.V{getDefaultOptions(){return{domain:[0,1],range:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolate:a.wp,tickMethod:o.Z,tickCount:5}}chooseTransforms(){return[r.Z,r.Z]}clone(){return new l(this.options)}}},8064:function(t,e,n){"use strict";n.d(e,{r:function(){return s},z:function(){return i}});var r=n(74271);let i=Symbol("defaultUnknown");function a(t,e,n){for(let r=0;r`${t}`:"object"==typeof t?t=>JSON.stringify(t):t=>t}class s extends r.X{getDefaultOptions(){return{domain:[],range:[],unknown:i}}constructor(t){super(t)}map(t){return 0===this.domainIndexMap.size&&a(this.domainIndexMap,this.getDomain(),this.domainKey),o({value:this.domainKey(t),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(t){return 0===this.rangeIndexMap.size&&a(this.rangeIndexMap,this.getRange(),this.rangeKey),o({value:this.rangeKey(t),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(t){let[e]=this.options.domain,[n]=this.options.range;if(this.domainKey=l(e),this.rangeKey=l(n),!this.rangeIndexMap){this.rangeIndexMap=new Map,this.domainIndexMap=new Map;return}(!t||t.range)&&this.rangeIndexMap.clear(),(!t||t.domain||t.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)}clone(){return new s(this.options)}getRange(){return this.options.range}getDomain(){if(this.sortedDomain)return this.sortedDomain;let{domain:t,compare:e}=this.options;return this.sortedDomain=e?[...t].sort(e):t,this.sortedDomain}}},7847:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(72478);let i=(t,e,n)=>{let i,a;let o=t,l=e;if(o===l&&n>0)return[o];let s=(0,r.G)(o,l,n);if(0===s||!Number.isFinite(s))return[];if(s>0){o=Math.ceil(o/s),a=Array(i=Math.ceil((l=Math.floor(l/s))-o+1));for(let t=0;tt);for(;ae?o=n:a=n+1}return a}n.d(e,{b:function(){return r}})},99871:function(t,e,n){"use strict";function r(t,...e){return e.reduce((t,e)=>n=>t(e(n)),t)}n.d(e,{q:function(){return r}})},82569:function(t,e,n){"use strict";n.d(e,{n:function(){return i}});var r=n(72478);let i=(t,e,n=5)=>{let i;let a=[t,e],o=0,l=a.length-1,s=a[o],c=a[l];return c0?(s=Math.floor(s/i)*i,c=Math.ceil(c/i)*i,i=(0,r.G)(s,c,n)):i<0&&(s=Math.ceil(s*i)/i,c=Math.floor(c*i)/i,i=(0,r.G)(s,c,n)),i>0?(a[o]=Math.floor(s/i)*i,a[l]=Math.ceil(c/i)*i):i<0&&(a[o]=Math.ceil(s*i)/i,a[l]=Math.floor(c*i)/i),a}},25338:function(t,e,n){"use strict";n.d(e,{fv:function(){return l},lk:function(){return u},wp:function(){return c}});var r=n(19818),i=n.n(r);function a(t,e,n){let r=n;return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function o(t){let e=i().get(t);if(!e)return null;let{model:n,value:r}=e;return"rgb"===n?r:"hsl"===n?function(t){let e=t[0]/360,n=t[1]/100,r=t[2]/100,i=t[3];if(0===n)return[255*r,255*r,255*r,i];let o=r<.5?r*(1+n):r+n-r*n,l=2*r-o,s=a(l,o,e+1/3),c=a(l,o,e),u=a(l,o,e-1/3);return[255*s,255*c,255*u,i]}(r):null}let l=(t,e)=>n=>t*(1-n)+e*n,s=(t,e)=>{let n=o(t),r=o(e);return null===n||null===r?n?()=>t:()=>e:t=>{let e=[,,,,];for(let i=0;i<4;i+=1){let a=n[i],o=r[i];e[i]=a*(1-t)+o*t}let[i,a,o,l]=e;return`rgba(${Math.round(i)}, ${Math.round(a)}, ${Math.round(o)}, ${l})`}},c=(t,e)=>"number"==typeof t&&"number"==typeof e?l(t,e):"string"==typeof t&&"string"==typeof e?s(t,e):()=>t,u=(t,e)=>{let n=l(t,e);return t=>Math.round(n(t))}},13393:function(t,e,n){"use strict";n.d(e,{J:function(){return i}});var r=n(71154);function i(t){return!(0,r.Z)(t)&&null!==t&&!Number.isNaN(t)}},34199:function(t,e,n){"use strict";function r(t,e){return e-t?n=>(n-t)/(e-t):t=>.5}n.d(e,{I:function(){return r}})},72478:function(t,e,n){"use strict";n.d(e,{G:function(){return o},l:function(){return l}});let r=Math.sqrt(50),i=Math.sqrt(10),a=Math.sqrt(2);function o(t,e,n){let o=(e-t)/Math.max(0,n),l=Math.floor(Math.log(o)/Math.LN10),s=o/10**l;return l>=0?(s>=r?10:s>=i?5:s>=a?2:1)*10**l:-(10**-l)/(s>=r?10:s>=i?5:s>=a?2:1)}function l(t,e,n){let o=Math.abs(e-t)/Math.max(0,n),l=10**Math.floor(Math.log(o)/Math.LN10),s=o/l;return s>=r?l*=10:s>=i?l*=5:s>=a&&(l*=2),en?n:t}},68040:function(t,e){"use strict";e.Z=function(t,e,n){var r;return function(){var i=this,a=arguments,o=n&&!r;clearTimeout(r),r=setTimeout(function(){r=null,n||t.apply(i,a)},e),o&&t.apply(i,a)}}},83787:function(t,e,n){"use strict";var r=n(5199),i=n(83845);e.Z=function(t){for(var e=[],n=1;n7){t[n].shift();for(var r=t[n],i=n;r.length;)e[n]="A",t.splice(i+=1,0,["C"].concat(r.splice(0,6)));t.splice(n,1)}}(f,h,y),g=f.length,"Z"===p&&m.push(y),s=(n=f[y]).length,d.x1=+n[s-2],d.y1=+n[s-1],d.x2=+n[s-4]||d.x1,d.y2=+n[s-3]||d.y1}return e?[f,m]:f}},18323:function(t,e,n){"use strict";n.d(e,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},64985:function(t,e,n){"use strict";n.d(e,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},74873:function(t,e,n){"use strict";function r(t,e,n){return{x:t*Math.cos(n)-e*Math.sin(n),y:t*Math.sin(n)+e*Math.cos(n)}}n.d(e,{W:function(){return function t(e,n,i,a,o,l,s,c,u,f){var d,h,p,g,m,y=e,v=n,b=i,x=a,O=c,w=u,_=120*Math.PI/180,k=Math.PI/180*(+o||0),M=[];if(f)h=f[0],p=f[1],g=f[2],m=f[3];else{y=(d=r(y,v,-k)).x,v=d.y,O=(d=r(O,w,-k)).x,w=d.y;var C=(y-O)/2,j=(v-w)/2,A=C*C/(b*b)+j*j/(x*x);A>1&&(b*=A=Math.sqrt(A),x*=A);var S=b*b,E=x*x,P=(l===s?-1:1)*Math.sqrt(Math.abs((S*E-S*j*j-E*C*C)/(S*j*j+E*C*C)));g=P*b*j/x+(y+O)/2,m=-(P*x)*C/b+(v+w)/2,h=Math.asin(((v-m)/x*1e9>>0)/1e9),p=Math.asin(((w-m)/x*1e9>>0)/1e9),h=yp&&(h-=2*Math.PI),!s&&p>h&&(p-=2*Math.PI)}var R=p-h;if(Math.abs(R)>_){var T=p,Z=O,L=w;M=t(O=g+b*Math.cos(p=h+_*(s&&p>h?1:-1)),w=m+x*Math.sin(p),b,x,o,0,s,Z,L,[p,T,g,m])}R=p-h;var B=Math.cos(h),I=Math.cos(p),N=Math.tan(R/4),D=4/3*b*N,F=4/3*x*N,z=[y,v],$=[y+D*Math.sin(h),v-F*B],W=[O+D*Math.sin(p),w-F*I],H=[O,w];if($[0]=2*z[0]-$[0],$[1]=2*z[1]-$[1],f)return $.concat(W,H,M);M=$.concat(W,H,M);for(var G=[],q=0,V=M.length;q=s.R[n]&&("m"===n&&r.length>2?(t.segments.push([e].concat(r.splice(0,2))),n="l",e="m"===e?"l":"L"):t.segments.push([e].concat(r.splice(0,s.R[n]))),s.R[n]););}function u(t){return t>=48&&t<=57}function f(t){for(var e,n=t.pathValue,r=t.max;t.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(e));)t.index+=1}var d=function(t){this.pathValue=t,this.segments=[],this.max=t.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function h(t){if((0,i.y)(t))return[].concat(t);for(var e=function(t){if((0,o.b)(t))return[].concat(t);var e=function(t){if((0,l.n)(t))return[].concat(t);var e=new d(t);for(f(e);e.index0;l-=1){if((32|i)==97&&(3===l||4===l)?function(t){var e=t.index,n=t.pathValue,r=n.charCodeAt(e);if(48===r){t.param=0,t.index+=1;return}if(49===r){t.param=1,t.index+=1;return}t.err='[path-util]: invalid Arc flag "'+n[e]+'", expecting 0 or 1 at index '+e}(t):function(t){var e,n=t.max,r=t.pathValue,i=t.index,a=i,o=!1,l=!1,s=!1,c=!1;if(a>=n){t.err="[path-util]: Invalid path value at index "+a+', "pathValue" is missing param';return}if((43===(e=r.charCodeAt(a))||45===e)&&(a+=1,e=r.charCodeAt(a)),!u(e)&&46!==e){t.err="[path-util]: Invalid path value at index "+a+', "'+r[a]+'" is not a number';return}if(46!==e){if(o=48===e,a+=1,e=r.charCodeAt(a),o&&a=t.max||!((o=n.charCodeAt(t.index))>=48&&o<=57||43===o||45===o||46===o))break}c(t)}(e);return e.err?e.err:e.segments}(t),n=0,r=0,i=0,a=0;return e.map(function(t){var e,o=t.slice(1).map(Number),l=t[0],s=l.toUpperCase();if("M"===l)return n=o[0],r=o[1],i=n,a=r,["M",n,r];if(l!==s)switch(s){case"A":e=[s,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":e=[s,o[0]+r];break;case"H":e=[s,o[0]+n];break;default:e=[s].concat(o.map(function(t,e){return t+(e%2?r:n)}))}else e=[s].concat(o);var c=e.length;switch(s){case"Z":n=i,r=a;break;case"H":n=e[1];break;case"V":r=e[1];break;default:n=e[c-2],r=e[c-1],"M"===s&&(i=n,a=r)}return e})}(t),n=(0,r.pi)({},a.z),h=0;h=p[e],g[e]-=m?1:0,m?t.ss:[t.s]}).flat()});return y[0].length===y[1].length?y:t(y[0],y[1],h)}}});var r=n(17570),i=n(6489);function a(t){return t.map(function(t,e,n){var a,o,l,s,c,u,f,d,h,p,g,m,y=e&&n[e-1].slice(-2).concat(t.slice(1)),v=e?(0,i.S)(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],{bbox:!1}).length:0;return m=e?v?(void 0===a&&(a=.5),o=y.slice(0,2),l=y.slice(2,4),s=y.slice(4,6),c=y.slice(6,8),u=(0,r.k)(o,l,a),f=(0,r.k)(l,s,a),d=(0,r.k)(s,c,a),h=(0,r.k)(u,f,a),p=(0,r.k)(f,d,a),g=(0,r.k)(h,p,a),[["C"].concat(u,h,g),["C"].concat(p,d,c)]):[t,t]:[t],{s:t,ss:m,l:v}})}},92455:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});var r=n(75839);function i(t){var e,n,i;return e=0,n=0,i=0,(0,r.Y)(t).map(function(t){if("M"===t[0])return e=t[1],n=t[2],0;var r,a,o,l=t.slice(1),s=l[0],c=l[1],u=l[2],f=l[3],d=l[4],h=l[5];return a=e,i=3*((h-(o=n))*(s+u)-(d-a)*(c+f)+c*(a-u)-s*(o-f)+h*(u+a/3)-d*(f+o/3))/20,e=(r=t.slice(-2))[0],n=r[1],i}).reduce(function(t,e){return t+e},0)>=0}},84329:function(t,e,n){"use strict";n.d(e,{r:function(){return a}});var r=n(97582),i=n(32262);function a(t,e,n){return(0,i.s)(t,e,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},83555:function(t,e,n){"use strict";n.d(e,{g:function(){return i}});var r=n(44078);function i(t,e){var n,i,a=t.length-1,o=[],l=0,s=(i=(n=t.length)-1,t.map(function(e,r){return t.map(function(e,a){var o=r+a;return 0===a||t[o]&&"M"===t[o][0]?["M"].concat(t[o].slice(-2)):(o>=n&&(o-=i),t[o])})}));return s.forEach(function(n,i){t.slice(1).forEach(function(n,o){l+=(0,r.y)(t[(i+o)%a].slice(-2),e[o%a].slice(-2))}),o[i]=l,l=0}),s[o.indexOf(Math.min.apply(null,o))]}},69877:function(t,e,n){"use strict";n.d(e,{D:function(){return a}});var r=n(97582),i=n(32262);function a(t,e){return(0,i.s)(t,void 0,(0,r.pi)((0,r.pi)({},e),{bbox:!1,length:!0})).length}},41010:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});var r=n(56346);function i(t){return(0,r.n)(t)&&t.every(function(t){var e=t[0];return e===e.toUpperCase()})}},11013:function(t,e,n){"use strict";n.d(e,{y:function(){return i}});var r=n(41010);function i(t){return(0,r.b)(t)&&t.every(function(t){var e=t[0];return"ACLMQZ".includes(e)})}},56346:function(t,e,n){"use strict";n.d(e,{n:function(){return i}});var r=n(18323);function i(t){return Array.isArray(t)&&t.every(function(t){var e=t[0].toLowerCase();return r.R[e]===t.length-1&&"achlmqstvz".includes(e)})}},17570:function(t,e,n){"use strict";function r(t,e,n){var r=t[0],i=t[1];return[r+(e[0]-r)*n,i+(e[1]-i)*n]}n.d(e,{k:function(){return r}})},32262:function(t,e,n){"use strict";n.d(e,{s:function(){return c}});var r=n(4848),i=n(17570),a=n(44078);function o(t,e,n,r,o){var l=(0,a.y)([t,e],[n,r]),s={x:0,y:0};if("number"==typeof o){if(o<=0)s={x:t,y:e};else if(o>=l)s={x:n,y:r};else{var c=(0,i.k)([t,e],[n,r],o/l);s={x:c[0],y:c[1]}}}return{length:l,point:s,min:{x:Math.min(t,n),y:Math.min(e,r)},max:{x:Math.max(t,n),y:Math.max(e,r)}}}function l(t,e){var n=t.x,r=t.y,i=e.x,a=e.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(i,2)+Math.pow(a,2)));return(n*a-r*i<0?-1:1)*Math.acos((n*i+r*a)/o)}var s=n(6489);function c(t,e,n){for(var i,c,u,f,d,h,p,g,m,y=(0,r.A)(t),v="number"==typeof e,b=[],x=0,O=0,w=0,_=0,k=[],M=[],C=0,j={x:0,y:0},A=j,S=j,E=j,P=0,R=0,T=y.length;R1&&(y*=g(_),v*=g(_));var k=(Math.pow(y,2)*Math.pow(v,2)-Math.pow(y,2)*Math.pow(w.y,2)-Math.pow(v,2)*Math.pow(w.x,2))/(Math.pow(y,2)*Math.pow(w.y,2)+Math.pow(v,2)*Math.pow(w.x,2)),M=(a!==s?1:-1)*g(k=k<0?0:k),C={x:M*(y*w.y/v),y:M*(-(v*w.x)/y)},j={x:p(b)*C.x-h(b)*C.y+(t+c)/2,y:h(b)*C.x+p(b)*C.y+(e+u)/2},A={x:(w.x-C.x)/y,y:(w.y-C.y)/v},S=l({x:1,y:0},A),E=l(A,{x:(-w.x-C.x)/y,y:(-w.y-C.y)/v});!s&&E>0?E-=2*m:s&&E<0&&(E+=2*m);var P=S+(E%=2*m)*f,R=y*p(P),T=v*h(P);return{x:p(b)*R-h(b)*T+j.x,y:h(b)*R+p(b)*T+j.y}}(t,e,n,r,i,s,c,u,f,S/x)).x,_=p.y,m&&A.push({x:w,y:_}),v&&(k+=(0,a.y)(C,[w,_])),C=[w,_],O&&k>=d&&d>M[2]){var E=(k-d)/(k-M[2]);j={x:C[0]*(1-E)+M[0]*E,y:C[1]*(1-E)+M[1]*E}}M=[w,_,k]}return O&&d>=k&&(j={x:u,y:f}),{length:k,point:j,min:{x:Math.min.apply(null,A.map(function(t){return t.x})),y:Math.min.apply(null,A.map(function(t){return t.y}))},max:{x:Math.max.apply(null,A.map(function(t){return t.x})),y:Math.max.apply(null,A.map(function(t){return t.y}))}}}(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],(e||0)-P,n||{})).length,j=c.min,A=c.max,S=c.point):"C"===g?(C=(u=(0,s.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],(e||0)-P,n||{})).length,j=u.min,A=u.max,S=u.point):"Q"===g?(C=(f=function(t,e,n,r,i,o,l,s){var c,u=s.bbox,f=void 0===u||u,d=s.length,h=void 0===d||d,p=s.sampleSize,g=void 0===p?10:p,m="number"==typeof l,y=t,v=e,b=0,x=[y,v,0],O=[y,v],w={x:0,y:0},_=[{x:y,y:v}];m&&l<=0&&(w={x:y,y:v});for(var k=0;k<=g;k+=1){if(y=(c=function(t,e,n,r,i,a,o){var l=1-o;return{x:Math.pow(l,2)*t+2*l*o*n+Math.pow(o,2)*i,y:Math.pow(l,2)*e+2*l*o*r+Math.pow(o,2)*a}}(t,e,n,r,i,o,k/g)).x,v=c.y,f&&_.push({x:y,y:v}),h&&(b+=(0,a.y)(O,[y,v])),O=[y,v],m&&b>=l&&l>x[2]){var M=(b-l)/(b-x[2]);w={x:O[0]*(1-M)+x[0]*M,y:O[1]*(1-M)+x[1]*M}}x=[y,v,b]}return m&&l>=b&&(w={x:i,y:o}),{length:b,point:w,min:{x:Math.min.apply(null,_.map(function(t){return t.x})),y:Math.min.apply(null,_.map(function(t){return t.y}))},max:{x:Math.max.apply(null,_.map(function(t){return t.x})),y:Math.max.apply(null,_.map(function(t){return t.y}))}}}(b[0],b[1],b[2],b[3],b[4],b[5],(e||0)-P,n||{})).length,j=f.min,A=f.max,S=f.point):"Z"===g&&(C=(d=o((b=[x,O,w,_])[0],b[1],b[2],b[3],(e||0)-P)).length,j=d.min,A=d.max,S=d.point),v&&P=e&&(E=S),M.push(A),k.push(j),P+=C,x=(h="Z"!==g?m.slice(-2):[w,_])[0],O=h[1];return v&&e>=P&&(E={x:x,y:O}),{length:P,point:E,min:{x:Math.min.apply(null,k.map(function(t){return t.x})),y:Math.min.apply(null,k.map(function(t){return t.y}))},max:{x:Math.max.apply(null,M.map(function(t){return t.x})),y:Math.max.apply(null,M.map(function(t){return t.y}))}}}},6489:function(t,e,n){"use strict";n.d(e,{S:function(){return i}});var r=n(44078);function i(t,e,n,i,a,o,l,s,c,u){var f,d=u.bbox,h=void 0===d||d,p=u.length,g=void 0===p||p,m=u.sampleSize,y=void 0===m?10:m,v="number"==typeof c,b=t,x=e,O=0,w=[b,x,0],_=[b,x],k={x:0,y:0},M=[{x:b,y:x}];v&&c<=0&&(k={x:b,y:x});for(var C=0;C<=y;C+=1){if(b=(f=function(t,e,n,r,i,a,o,l,s){var c=1-s;return{x:Math.pow(c,3)*t+3*Math.pow(c,2)*s*n+3*c*Math.pow(s,2)*i+Math.pow(s,3)*o,y:Math.pow(c,3)*e+3*Math.pow(c,2)*s*r+3*c*Math.pow(s,2)*a+Math.pow(s,3)*l}}(t,e,n,i,a,o,l,s,C/y)).x,x=f.y,h&&M.push({x:b,y:x}),g&&(O+=(0,r.y)(_,[b,x])),_=[b,x],v&&O>=c&&c>w[2]){var j=(O-c)/(O-w[2]);k={x:_[0]*(1-j)+w[0]*j,y:_[1]*(1-j)+w[1]*j}}w=[b,x,O]}return v&&c>=O&&(k={x:l,y:s}),{length:O,point:k,min:{x:Math.min.apply(null,M.map(function(t){return t.x})),y:Math.min.apply(null,M.map(function(t){return t.y}))},max:{x:Math.max.apply(null,M.map(function(t){return t.x})),y:Math.max.apply(null,M.map(function(t){return t.y}))}}}},8417:function(t,e,n){"use strict";n.d(e,{Z:function(){return H}});var r=function(){function t(t){var e=this;this._insertTag=function(t){var n;n=0===e.tags.length?e.insertionPoint?e.insertionPoint.nextSibling:e.prepend?e.container.firstChild:e.before:e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(t,n),e.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){if(this.ctr%(this.isSpeedy?65e3:1)==0){var e;this._insertTag(((e=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&e.setAttribute("nonce",this.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e))}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(t){if(t.sheet)return t.sheet;for(var e=0;e0?g[O]+" "+w:l(w,/&\f/g,g[O])).trim())&&(f[x++]=_);return b(t,e,n,0===a?E:c,f,d,h)}function B(t,e,n,r){return b(t,e,n,P,u(t,0,r),u(t,r+1,-1),r)}var I=function(t,e,n){for(var r=0,i=0;r=i,i=w(),38===r&&12===i&&(e[n]=1),!_(i);)O();return u(v,t,m)},N=function(t,e){var n=-1,r=44;do switch(_(r)){case 0:38===r&&12===w()&&(e[n]=1),t[n]+=I(m-1,e,n);break;case 2:t[n]+=M(r);break;case 4:if(44===r){t[++n]=58===w()?"&\f":"",e[n]=t[n].length;break}default:t[n]+=a(r)}while(r=O());return t},D=function(t,e){var n;return n=N(k(t),e),v="",n},F=new WeakMap,z=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var e=t.value,n=t.parent,r=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||F.get(n))&&!r){F.set(t,!0);for(var i=[],a=D(e,i),o=n.props,l=0,s=0;l-1&&!t.return)switch(t.type){case P:t.return=function t(e,n){switch(45^c(e,0)?(((n<<2^c(e,0))<<2^c(e,1))<<2^c(e,2))<<2^c(e,3):0){case 5103:return A+"print-"+e+e;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+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return A+e+j+e+C+e+e;case 6828:case 4268:return A+e+C+e+e;case 6165:return A+e+C+"flex-"+e+e;case 5187:return A+e+l(e,/(\w+).+(:[^]+)/,A+"box-$1$2"+C+"flex-$1$2")+e;case 5443:return A+e+C+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return A+e+C+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return A+e+C+l(e,"shrink","negative")+e;case 5292:return A+e+C+l(e,"basis","preferred-size")+e;case 6060:return A+"box-"+l(e,"-grow","")+A+e+C+l(e,"grow","positive")+e;case 4554:return A+l(e,/([^-])(transform)/g,"$1"+A+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,A+"$1"),/(image-set)/,A+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,A+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,A+"box-pack:$3"+C+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+A+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,A+"$1$2")+e;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(f(e)-1-n>6)switch(c(e,n+1)){case 109:if(45!==c(e,n+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+A+"$2-$3$1"+j+(108==c(e,n+3)?"$3":"$2-$3"))+e;case 115:return~s(e,"stretch")?t(l(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(115!==c(e,n+1))break;case 6444:switch(c(e,f(e)-3-(~s(e,"!important")&&10))){case 107:return l(e,":",":"+A)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+A+(45===c(e,14)?"inline-":"")+"box$3$1"+A+"$2$3$1"+C+"$2box$3")+e}break;case 5936:switch(c(e,n+11)){case 114:return A+e+C+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return A+e+C+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return A+e+C+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return A+e+C+e+e}return e}(t.value,t.length);break;case R:return T([x(t,{value:l(t.value,"@","@"+A)})],r);case E:if(t.length)return t.props.map(function(e){var n;switch(n=e,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return T([x(t,{props:[l(e,/:(read-\w+)/,":"+j+"$1")]})],r);case"::placeholder":return T([x(t,{props:[l(e,/:(plac\w+)/,":"+A+"input-$1")]}),x(t,{props:[l(e,/:(plac\w+)/,":"+j+"$1")]}),x(t,{props:[l(e,/:(plac\w+)/,C+"input-$1")]})],r)}return""}).join("")}}],H=function(t){var e,n,i,o,g,x=t.key;if("css"===x){var C=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(C,function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))})}var j=t.stylisPlugins||W,A={},E=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+x+' "]'),function(t){for(var e=t.getAttribute("data-emotion").split(" "),n=1;n2||_(y)>3?"":" "}(Z);break;case 92:G+=function(t,e){for(var n;--e&&O()&&!(y<48)&&!(y>102)&&(!(y>57)||!(y<65))&&(!(y>70)||!(y<97)););return n=m+(e<6&&32==w()&&32==O()),u(v,t,n)}(m-1,7);continue;case 47:switch(w()){case 42:case 47:d(b(j=function(t,e){for(;O();)if(t+y===57)break;else if(t+y===84&&47===w())break;return"/*"+u(v,e,m-1)+"*"+a(47===t?t:O())}(O(),m),n,r,S,a(y),u(j,2,-2),0),C);break;default:G+="/"}break;case 123*I:k[A++]=f(G)*D;case 125*I:case 59:case 0:switch(F){case 0:case 125:N=0;case 59+E:-1==D&&(G=l(G,/\f/g,"")),T>0&&f(G)-P&&d(T>32?B(G+";",i,r,P-1):B(l(G," ","")+";",i,r,P-2),C);break;case 59:G+=";";default:if(d(H=L(G,n,r,A,E,o,k,z,$=[],W=[],P),g),123===F){if(0===E)t(G,n,H,H,$,g,P,k,W);else switch(99===R&&110===c(G,3)?100:R){case 100:case 108:case 109:case 115:t(e,H,H,i&&d(L(e,H,H,0,0,o,k,z,o,$=[],P),W),o,W,P,k,i?$:W);break;default:t(G,H,H,H,[""],W,0,k,W)}}}A=E=T=0,I=D=1,z=G="",P=x;break;case 58:P=1+f(G),T=Z;default:if(I<1){if(123==F)--I;else if(125==F&&0==I++&&125==(y=m>0?c(v,--m):0,p--,10===y&&(p=1,h--),y))continue}switch(G+=a(F),F*I){case 38:D=E>0?1:(G+="\f",-1);break;case 44:k[A++]=(f(G)-1)*D,D=1;break;case 64:45===w()&&(G+=M(O())),R=w(),E=P=f(z=G+=function(t){for(;!_(w());)O();return u(v,t,m)}(m)),F++;break;case 45:45===Z&&2==f(G)&&(I=0)}}return g}("",null,null,null,[""],e=k(e=t),0,[0],e),v="",n),P)},I={key:x,sheet:new r({key:x,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:A,registered:{},insert:function(t,e,n,r){g=n,R(t?t+"{"+e.styles+"}":e.styles),r&&(I.inserted[e.name]=!0)}};return I.sheet.hydrate(E),I}},45042:function(t,e,n){"use strict";function r(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}n.d(e,{Z:function(){return r}})},6498:function(t,e,n){"use strict";n.d(e,{C:function(){return l},T:function(){return c},i:function(){return a},w:function(){return s}});var r=n(67294),i=n(8417);n(50649),n(27278);var a=!0,o=r.createContext("undefined"!=typeof HTMLElement?(0,i.Z)({key:"css"}):null),l=o.Provider,s=function(t){return(0,r.forwardRef)(function(e,n){return t(e,(0,r.useContext)(o),n)})};a||(s=function(t){return function(e){var n=(0,r.useContext)(o);return null===n?(n=(0,i.Z)({key:"css"}),r.createElement(o.Provider,{value:n},t(e,n))):t(e,n)}});var c=r.createContext({})},70917:function(t,e,n){"use strict";n.d(e,{F4:function(){return u},iv:function(){return c},xB:function(){return s}});var r=n(6498),i=n(67294),a=n(70444),o=n(27278),l=n(50649);n(8417),n(8679);var s=(0,r.w)(function(t,e){var n=t.styles,s=(0,l.O)([n],void 0,i.useContext(r.T));if(!r.i){for(var c,u=s.name,f=s.styles,d=s.next;void 0!==d;)u+=" "+d.name,f+=d.styles,d=d.next;var h=!0===e.compat,p=e.insert("",{name:u,styles:f},e.sheet,h);return h?null:i.createElement("style",((c={})["data-emotion"]=e.key+"-global "+u,c.dangerouslySetInnerHTML={__html:p},c.nonce=e.sheet.nonce,c))}var g=i.useRef();return(0,o.j)(function(){var t=e.key+"-global",n=new e.sheet.constructor({key:t,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+t+" "+s.name+'"]');return e.sheet.tags.length&&(n.before=e.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",t),n.hydrate([i])),g.current=[n,r],function(){n.flush()}},[e]),(0,o.j)(function(){var t=g.current,n=t[0];if(t[1]){t[1]=!1;return}if(void 0!==s.next&&(0,a.My)(e,s.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}e.insert("",s,n,!1)},[e,s.name]),null});function c(){for(var t=arguments.length,e=Array(t),n=0;n=4;++r,i-=4)e=(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))*1540483477+((e>>>16)*59797<<16),e^=e>>>24,n=(65535&e)*1540483477+((e>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(i){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n^=255&t.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)}(o)+c,styles:o,next:r}}},27278:function(t,e,n){"use strict";n.d(e,{L:function(){return o},j:function(){return l}});var r,i=n(67294),a=!!(r||(r=n.t(i,2))).useInsertionEffect&&(r||(r=n.t(i,2))).useInsertionEffect,o=a||function(t){return t()},l=a||i.useLayoutEffect},70444:function(t,e,n){"use strict";function r(t,e,n){var r="";return n.split(" ").forEach(function(n){void 0!==t[n]?e.push(t[n]+";"):r+=n+" "}),r}n.d(e,{My:function(){return a},fp:function(){return r},hC:function(){return i}});var i=function(t,e,n){var r=t.key+"-"+e.name;!1===n&&void 0===t.registered[r]&&(t.registered[r]=e.styles)},a=function(t,e,n){i(t,e,n);var r=t.key+"-"+e.name;if(void 0===t.inserted[e.name]){var a=e;do t.insert(e===a?"."+r:"",a,t.sheet,!0),a=a.next;while(void 0!==a)}}},10238:function(t,e,n){"use strict";n.d(e,{$:function(){return a}});var r=n(87462),i=n(28442);function a(t,e,n){return void 0===t||(0,i.X)(t)?e:(0,r.Z)({},e,{ownerState:(0,r.Z)({},e.ownerState,n)})}},30437:function(t,e,n){"use strict";function r(t,e=[]){if(void 0===t)return{};let n={};return Object.keys(t).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof t[n]&&!e.includes(n)).forEach(e=>{n[e]=t[e]}),n}n.d(e,{_:function(){return r}})},28442:function(t,e,n){"use strict";function r(t){return"string"==typeof t}n.d(e,{X:function(){return r}})},24407:function(t,e,n){"use strict";n.d(e,{L:function(){return l}});var r=n(87462),i=n(90512),a=n(30437);function o(t){if(void 0===t)return{};let e={};return Object.keys(t).filter(e=>!(e.match(/^on[A-Z]/)&&"function"==typeof t[e])).forEach(n=>{e[n]=t[n]}),e}function l(t){let{getSlotProps:e,additionalProps:n,externalSlotProps:l,externalForwardedProps:s,className:c}=t;if(!e){let t=(0,i.Z)(null==s?void 0:s.className,null==l?void 0:l.className,c,null==n?void 0:n.className),e=(0,r.Z)({},null==n?void 0:n.style,null==s?void 0:s.style,null==l?void 0:l.style),a=(0,r.Z)({},n,s,l);return t.length>0&&(a.className=t),Object.keys(e).length>0&&(a.style=e),{props:a,internalRef:void 0}}let u=(0,a._)((0,r.Z)({},s,l)),f=o(l),d=o(s),h=e(u),p=(0,i.Z)(null==h?void 0:h.className,null==n?void 0:n.className,c,null==s?void 0:s.className,null==l?void 0:l.className),g=(0,r.Z)({},null==h?void 0:h.style,null==n?void 0:n.style,null==s?void 0:s.style,null==l?void 0:l.style),m=(0,r.Z)({},h,n,d,f);return p.length>0&&(m.className=p),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:h.ref}}},71276:function(t,e,n){"use strict";function r(t,e,n){return"function"==typeof t?t(e,n):t}n.d(e,{x:function(){return r}})},41118:function(t,e,n){"use strict";n.d(e,{Z:function(){return w}});var r=n(63366),i=n(87462),a=n(67294),o=n(90512),l=n(58510),s=n(62908),c=n(16485),u=n(20407),f=n(74312),d=n(2226),h=n(26821);function p(t){return(0,h.d6)("MuiCard",t)}(0,h.sI)("MuiCard",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","horizontal","vertical"]);var g=n(58859),m=n(30220),y=n(85893);let v=["className","color","component","invertedColors","size","variant","children","orientation","slots","slotProps"],b=t=>{let{size:e,variant:n,color:r,orientation:i}=t,a={root:["root",i,n&&`variant${(0,s.Z)(n)}`,r&&`color${(0,s.Z)(r)}`,e&&`size${(0,s.Z)(e)}`]};return(0,l.Z)(a,p,{})},x=(0,f.Z)("div",{name:"JoyCard",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t,ownerState:e})=>{var n,r;let{p:a,padding:o,borderRadius:l}=(0,g.V)({theme:t,ownerState:e},["p","padding","borderRadius"]);return[(0,i.Z)({"--Icon-color":"neutral"!==e.color||"solid"===e.variant?"currentColor":t.vars.palette.text.icon,"--Card-childRadius":"max((var(--Card-radius) - var(--variant-borderWidth, 0px)) - var(--Card-padding), min(var(--Card-padding) / 2, (var(--Card-radius) - var(--variant-borderWidth, 0px)) / 2))","--AspectRatio-radius":"var(--Card-childRadius)","--unstable_actionMargin":"calc(-1 * var(--variant-borderWidth, 0px))","--unstable_actionRadius":"var(--Card-radius)","--CardCover-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--CardOverflow-offset":"calc(-1 * var(--Card-padding))","--CardOverflow-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--Divider-inset":"calc(-1 * var(--Card-padding))"},"sm"===e.size&&{"--Card-radius":t.vars.radius.sm,"--Card-padding":"0.625rem",gap:"0.5rem"},"md"===e.size&&{"--Card-radius":t.vars.radius.md,"--Card-padding":"1rem",gap:"0.75rem 1rem"},"lg"===e.size&&{"--Card-radius":t.vars.radius.lg,"--Card-padding":"1.5rem",gap:"1rem 1.5rem"},{padding:"var(--Card-padding)",borderRadius:"var(--Card-radius)",backgroundColor:t.vars.palette.background.surface,position:"relative",display:"flex",flexDirection:"horizontal"===e.orientation?"row":"column"},t.typography[`body-${e.size}`],null==(n=t.variants[e.variant])?void 0:n[e.color]),"context"!==e.color&&e.invertedColors&&(null==(r=t.colorInversion[e.variant])?void 0:r[e.color]),void 0!==a&&{"--Card-padding":a},void 0!==o&&{"--Card-padding":o},void 0!==l&&{"--Card-radius":l}]}),O=a.forwardRef(function(t,e){let n=(0,u.Z)({props:t,name:"JoyCard"}),{className:l,color:s="neutral",component:f="div",invertedColors:h=!1,size:p="md",variant:g="outlined",children:O,orientation:w="vertical",slots:_={},slotProps:k={}}=n,M=(0,r.Z)(n,v),{getColor:C}=(0,d.VT)(g),j=C(t.color,s),A=(0,i.Z)({},n,{color:j,component:f,orientation:w,size:p,variant:g}),S=b(A),E=(0,i.Z)({},M,{component:f,slots:_,slotProps:k}),[P,R]=(0,m.Z)("root",{ref:e,className:(0,o.Z)(S.root,l),elementType:x,externalForwardedProps:E,ownerState:A}),T=(0,y.jsx)(P,(0,i.Z)({},R,{children:a.Children.map(O,(t,e)=>{if(!a.isValidElement(t))return t;let n={};if((0,c.Z)(t,["Divider"])){n.inset="inset"in t.props?t.props.inset:"context";let e="vertical"===w?"horizontal":"vertical";n.orientation="orientation"in t.props?t.props.orientation:e}return(0,c.Z)(t,["CardOverflow"])&&("horizontal"===w&&(n["data-parent"]="Card-horizontal"),"vertical"===w&&(n["data-parent"]="Card-vertical")),0===e&&(n["data-first-child"]=""),e===a.Children.count(O)-1&&(n["data-last-child"]=""),a.cloneElement(t,n)})}));return h?(0,y.jsx)(d.do,{variant:g,children:T}):T});var w=O},30208:function(t,e,n){"use strict";n.d(e,{Z:function(){return b}});var r=n(87462),i=n(63366),a=n(67294),o=n(90512),l=n(58510),s=n(20407),c=n(74312),u=n(26821);function f(t){return(0,u.d6)("MuiCardContent",t)}(0,u.sI)("MuiCardContent",["root"]);let d=(0,u.sI)("MuiCardOverflow",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var h=n(30220),p=n(85893);let g=["className","component","children","orientation","slots","slotProps"],m=()=>(0,l.Z)({root:["root"]},f,{}),y=(0,c.Z)("div",{name:"JoyCardContent",slot:"Root",overridesResolver:(t,e)=>e.root})(({ownerState:t})=>({display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column",flex:9999,zIndex:1,columnGap:"var(--Card-padding)",rowGap:"max(2px, calc(0.1875 * var(--Card-padding)))",padding:"var(--unstable_padding)",[`.${d.root} > &`]:{"--unstable_padding":"calc(var(--Card-padding) * 0.75) 0px"}})),v=a.forwardRef(function(t,e){let n=(0,s.Z)({props:t,name:"JoyCardContent"}),{className:a,component:l="div",children:c,orientation:u="vertical",slots:f={},slotProps:d={}}=n,v=(0,i.Z)(n,g),b=(0,r.Z)({},v,{component:l,slots:f,slotProps:d}),x=(0,r.Z)({},n,{component:l,orientation:u}),O=m(),[w,_]=(0,h.Z)("root",{ref:e,className:(0,o.Z)(O.root,a),elementType:y,externalForwardedProps:b,ownerState:x});return(0,p.jsx)(w,(0,r.Z)({},_,{children:c}))});var b=v},61685:function(t,e,n){"use strict";n.d(e,{Z:function(){return w}});var r=n(63366),i=n(87462),a=n(67294),o=n(90512),l=n(62908),s=n(58510),c=n(20407),u=n(2226),f=n(74312),d=n(26821);function h(t){return(0,d.d6)("MuiTable",t)}(0,d.sI)("MuiTable",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","stickyHeader","stickyFooter","noWrap","hoverRow","borderAxisNone","borderAxisX","borderAxisXBetween","borderAxisY","borderAxisYBetween","borderAxisBoth","borderAxisBothBetween"]);var p=n(40911),g=n(30220),m=n(85893);let y=["className","component","children","borderAxis","hoverRow","noWrap","size","variant","color","stripe","stickyHeader","stickyFooter","slots","slotProps"],v=t=>{let{size:e,variant:n,color:r,borderAxis:i,stickyHeader:a,stickyFooter:o,noWrap:c,hoverRow:u}=t,f={root:["root",a&&"stickyHeader",o&&"stickyFooter",c&&"noWrap",u&&"hoverRow",i&&`borderAxis${(0,l.Z)(i)}`,n&&`variant${(0,l.Z)(n)}`,r&&`color${(0,l.Z)(r)}`,e&&`size${(0,l.Z)(e)}`]};return(0,s.Z)(f,h,{})},b={getColumnExceptFirst:()=>"& tr > *:not(:first-of-type), & tr > th + td, & tr > td + th",getCell:()=>"& th, & td",getHeadCell:()=>"& th",getHeaderCell:()=>"& thead th",getHeaderCellOfRow:t=>`& thead tr:nth-of-type(${t}) th`,getBottomHeaderCell:()=>"& thead th:not([colspan])",getHeaderNestedFirstColumn:()=>"& thead tr:not(:first-of-type) th:not([colspan]):first-of-type",getDataCell:()=>"& td",getDataCellExceptLastRow:()=>"& tr:not(:last-of-type) > td",getBodyCellExceptLastRow(){return`${this.getDataCellExceptLastRow()}, & tr:not(:last-of-type) > th[scope="row"]`},getBodyCellOfRow:t=>"number"==typeof t&&t<0?`& tbody tr:nth-last-of-type(${Math.abs(t)}) td, & tbody tr:nth-last-of-type(${Math.abs(t)}) th[scope="row"]`:`& tbody tr:nth-of-type(${t}) td, & tbody tr:nth-of-type(${t}) th[scope="row"]`,getBodyRow:t=>void 0===t?"& tbody tr":`& tbody tr:nth-of-type(${t})`,getFooterCell:()=>"& tfoot th, & tfoot td",getFooterFirstRowCell:()=>"& tfoot tr:not(:last-of-type) th, & tfoot tr:not(:last-of-type) td"},x=(0,f.Z)("table",{name:"JoyTable",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t,ownerState:e})=>{var n,r,a,o,l,s,c;let u=null==(n=t.variants[e.variant])?void 0:n[e.color];return[(0,i.Z)({"--Table-headerUnderlineThickness":"2px","--TableCell-borderColor":null!=(r=null==u?void 0:u.borderColor)?r:t.vars.palette.divider,"--TableCell-headBackground":`var(--Sheet-background, ${t.vars.palette.background.surface})`},"sm"===e.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 32px)","--TableCell-paddingX":"0.25rem","--TableCell-paddingY":"0.25rem"},"md"===e.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 40px)","--TableCell-paddingX":"0.5rem","--TableCell-paddingY":"0.375rem"},"lg"===e.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 48px)","--TableCell-paddingX":"0.75rem","--TableCell-paddingY":"0.5rem"},{tableLayout:"fixed",width:"100%",borderSpacing:"0px",borderCollapse:"separate",borderRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"},t.typography[`body-${({sm:"xs",md:"sm",lg:"md"})[e.size]}`],null==(a=t.variants[e.variant])?void 0:a[e.color],{"& caption":{color:t.vars.palette.text.tertiary,padding:"calc(2 * var(--TableCell-paddingY)) var(--TableCell-paddingX)"},[b.getDataCell()]:(0,i.Z)({padding:"var(--TableCell-paddingY) var(--TableCell-paddingX)",height:"var(--unstable_TableCell-height)",borderColor:"var(--TableCell-borderColor)",backgroundColor:"var(--TableCell-dataBackground)"},e.noWrap&&{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}),[b.getHeadCell()]:{textAlign:"left",padding:"var(--TableCell-paddingY) var(--TableCell-paddingX)",backgroundColor:"var(--TableCell-headBackground)",height:"var(--unstable_TableCell-height)",fontWeight:t.vars.fontWeight.lg,borderColor:"var(--TableCell-borderColor)",color:t.vars.palette.text.secondary,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},[b.getHeaderCell()]:{verticalAlign:"bottom","&:first-of-type":{borderTopLeftRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"},"&:last-of-type":{borderTopRightRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"}},"& tfoot tr > *":{backgroundColor:`var(--TableCell-footBackground, ${t.vars.palette.background.level1})`,"&:first-of-type":{borderBottomLeftRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"},"&:last-of-type":{borderBottomRightRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"}}}),((null==(o=e.borderAxis)?void 0:o.startsWith("x"))||(null==(l=e.borderAxis)?void 0:l.startsWith("both")))&&{[b.getHeaderCell()]:{borderBottomWidth:1,borderBottomStyle:"solid"},[b.getBottomHeaderCell()]:{borderBottomWidth:"var(--Table-headerUnderlineThickness)",borderBottomStyle:"solid"},[b.getBodyCellExceptLastRow()]:{borderBottomWidth:1,borderBottomStyle:"solid"},[b.getFooterCell()]:{borderTopWidth:1,borderTopStyle:"solid"}},((null==(s=e.borderAxis)?void 0:s.startsWith("y"))||(null==(c=e.borderAxis)?void 0:c.startsWith("both")))&&{[`${b.getColumnExceptFirst()}, ${b.getHeaderNestedFirstColumn()}`]:{borderLeftWidth:1,borderLeftStyle:"solid"}},("x"===e.borderAxis||"both"===e.borderAxis)&&{[b.getHeaderCellOfRow(1)]:{borderTopWidth:1,borderTopStyle:"solid"},[b.getBodyCellOfRow(-1)]:{borderBottomWidth:1,borderBottomStyle:"solid"},[b.getFooterCell()]:{borderBottomWidth:1,borderBottomStyle:"solid"}},("y"===e.borderAxis||"both"===e.borderAxis)&&{"& tr > *:first-of-type":{borderLeftWidth:1,borderLeftStyle:"solid"},"& tr > *:last-of-type:not(:first-of-type)":{borderRightWidth:1,borderRightStyle:"solid"}},e.stripe&&{[b.getBodyRow(e.stripe)]:{background:`var(--TableRow-stripeBackground, ${t.vars.palette.background.level2})`,color:t.vars.palette.text.primary}},e.hoverRow&&{[b.getBodyRow()]:{"&:hover":{background:`var(--TableRow-hoverBackground, ${t.vars.palette.background.level3})`}}},e.stickyHeader&&{[b.getHeaderCell()]:{position:"sticky",top:0,zIndex:t.vars.zIndex.table},[b.getHeaderCellOfRow(2)]:{top:"var(--unstable_TableCell-height)"}},e.stickyFooter&&{[b.getFooterCell()]:{position:"sticky",bottom:0,zIndex:t.vars.zIndex.table,color:t.vars.palette.text.secondary,fontWeight:t.vars.fontWeight.lg},[b.getFooterFirstRowCell()]:{bottom:"var(--unstable_TableCell-height)"}}]}),O=a.forwardRef(function(t,e){let n=(0,c.Z)({props:t,name:"JoyTable"}),{className:a,component:l,children:s,borderAxis:f="xBetween",hoverRow:d=!1,noWrap:h=!1,size:b="md",variant:O="plain",color:w="neutral",stripe:_,stickyHeader:k=!1,stickyFooter:M=!1,slots:C={},slotProps:j={}}=n,A=(0,r.Z)(n,y),{getColor:S}=(0,u.VT)(O),E=S(t.color,w),P=(0,i.Z)({},n,{borderAxis:f,hoverRow:d,noWrap:h,component:l,size:b,color:E,variant:O,stripe:_,stickyHeader:k,stickyFooter:M}),R=v(P),T=(0,i.Z)({},A,{component:l,slots:C,slotProps:j}),[Z,L]=(0,g.Z)("root",{ref:e,className:(0,o.Z)(R.root,a),elementType:x,externalForwardedProps:T,ownerState:P});return(0,m.jsx)(p.eu.Provider,{value:!0,children:(0,m.jsx)(Z,(0,i.Z)({},L,{children:s}))})});var w=O},40911:function(t,e,n){"use strict";n.d(e,{eu:function(){return x},ZP:function(){return j}});var r=n(63366),i=n(87462),a=n(67294),o=n(62908),l=n(16485),s=n(39707),c=n(58510),u=n(74312),f=n(20407),d=n(2226),h=n(30220),p=n(26821);function g(t){return(0,p.d6)("MuiTypography",t)}(0,p.sI)("MuiTypography",["root","h1","h2","h3","h4","title-lg","title-md","title-sm","body-lg","body-md","body-sm","body-xs","noWrap","gutterBottom","startDecorator","endDecorator","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var m=n(85893);let y=["color","textColor"],v=["component","gutterBottom","noWrap","level","levelMapping","children","endDecorator","startDecorator","variant","slots","slotProps"],b=a.createContext(!1),x=a.createContext(!1),O=t=>{let{gutterBottom:e,noWrap:n,level:r,color:i,variant:a}=t,l={root:["root",r,e&&"gutterBottom",n&&"noWrap",i&&`color${(0,o.Z)(i)}`,a&&`variant${(0,o.Z)(a)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,c.Z)(l,g,{})},w=(0,u.Z)("span",{name:"JoyTypography",slot:"StartDecorator",overridesResolver:(t,e)=>e.startDecorator})({display:"inline-flex",marginInlineEnd:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"}),_=(0,u.Z)("span",{name:"JoyTypography",slot:"endDecorator",overridesResolver:(t,e)=>e.endDecorator})({display:"inline-flex",marginInlineStart:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"}),k=(0,u.Z)("span",{name:"JoyTypography",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t,ownerState:e})=>{var n,r,a,o,l;let s="inherit"!==e.level?null==(n=t.typography[e.level])?void 0:n.lineHeight:"1";return(0,i.Z)({"--Icon-fontSize":`calc(1em * ${s})`},e.color&&{"--Icon-color":"currentColor"},{margin:"var(--Typography-margin, 0px)"},e.nesting?{display:"inline"}:(0,i.Z)({display:"block"},e.unstable_hasSkeleton&&{position:"relative"}),(e.startDecorator||e.endDecorator)&&(0,i.Z)({display:"flex",alignItems:"center"},e.nesting&&(0,i.Z)({display:"inline-flex"},e.startDecorator&&{verticalAlign:"bottom"})),e.level&&"inherit"!==e.level&&t.typography[e.level],{fontSize:`var(--Typography-fontSize, ${e.level&&"inherit"!==e.level&&null!=(r=null==(a=t.typography[e.level])?void 0:a.fontSize)?r:"inherit"})`},e.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e.gutterBottom&&{marginBottom:"0.35em"},e.color&&"context"!==e.color&&{color:`rgba(${null==(o=t.vars.palette[e.color])?void 0:o.mainChannel} / 1)`},e.variant&&(0,i.Z)({borderRadius:t.vars.radius.xs,paddingBlock:"min(0.1em, 4px)",paddingInline:"0.25em"},!e.nesting&&{marginInline:"-0.25em"},null==(l=t.variants[e.variant])?void 0:l[e.color]))}),M={h1:"h1",h2:"h2",h3:"h3",h4:"h4","title-lg":"p","title-md":"p","title-sm":"p","body-lg":"p","body-md":"p","body-sm":"p","body-xs":"span",inherit:"p"},C=a.forwardRef(function(t,e){let n=(0,f.Z)({props:t,name:"JoyTypography"}),{color:o,textColor:c}=n,u=(0,r.Z)(n,y),p=a.useContext(b),g=a.useContext(x),C=(0,s.Z)((0,i.Z)({},u,{color:c})),{component:j,gutterBottom:A=!1,noWrap:S=!1,level:E="body-md",levelMapping:P=M,children:R,endDecorator:T,startDecorator:Z,variant:L,slots:B={},slotProps:I={}}=C,N=(0,r.Z)(C,v),{getColor:D}=(0,d.VT)(L),F=D(t.color,L?null!=o?o:"neutral":o),z=p||g?t.level||"inherit":E,$=(0,l.Z)(R,["Skeleton"]),W=j||(p?"span":P[z]||M[z]||"span"),H=(0,i.Z)({},C,{level:z,component:W,color:F,gutterBottom:A,noWrap:S,nesting:p,variant:L,unstable_hasSkeleton:$}),G=O(H),q=(0,i.Z)({},N,{component:W,slots:B,slotProps:I}),[V,Y]=(0,h.Z)("root",{ref:e,className:G.root,elementType:k,externalForwardedProps:q,ownerState:H}),[U,Q]=(0,h.Z)("startDecorator",{className:G.startDecorator,elementType:w,externalForwardedProps:q,ownerState:H}),[K,X]=(0,h.Z)("endDecorator",{className:G.endDecorator,elementType:_,externalForwardedProps:q,ownerState:H});return(0,m.jsx)(b.Provider,{value:!0,children:(0,m.jsxs)(V,(0,i.Z)({},Y,{children:[Z&&(0,m.jsx)(U,(0,i.Z)({},Q,{children:Z})),$?a.cloneElement(R,{variant:R.props.variant||"inline"}):R,T&&(0,m.jsx)(K,(0,i.Z)({},X,{children:T}))]}))})});C.muiName="Typography";var j=C},26821:function(t,e,n){"use strict";n.d(e,{d6:function(){return a},sI:function(){return o}});var r=n(8027),i=n(1977);let a=(t,e)=>(0,r.ZP)(t,e,"Mui"),o=(t,e)=>(0,i.Z)(t,e,"Mui")},2226:function(t,e,n){"use strict";n.d(e,{do:function(){return f},ZP:function(){return d},VT:function(){return u}});var r=n(67294),i=n(79718),a=n(67299),o=n(2548),l=n(85893);let s=()=>{let t=(0,i.Z)(a.Z);return t[o.Z]||t},c=r.createContext(void 0),u=t=>{let e=r.useContext(c);return{getColor:(n,r)=>e&&t&&e.includes(t)?n||"context":n||r}};function f({children:t,variant:e}){var n;let r=s();return(0,l.jsx)(c.Provider,{value:e?(null!=(n=r.colorInversionConfig)?n:a.Z.colorInversionConfig)[e]:void 0,children:t})}var d=c},67299:function(t,e,n){"use strict";n.d(e,{Z:function(){return L}});var r=n(87462),i=n(63366),a=n(68027);function o(t=""){return(e,...n)=>`var(--${t?`${t}-`:""}${e}${function e(...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(--${t?`${t}-`:""}${r}${e(...n.slice(1))})`}(...n)})`}var l=n(78758);let s=t=>{let e=function t(e){let n;if(e.type)return e;if("#"===e.charAt(0))return t(function(t){t=t.slice(1);let e=RegExp(`.{1,${t.length>=6?2:1}}`,"g"),n=t.match(e);return n&&1===n[0].length&&(n=n.map(t=>t+t)),n?`rgb${4===n.length?"a":""}(${n.map((t,e)=>e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3).join(", ")})`:""}(e));let r=e.indexOf("("),i=e.substring(0,r);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(i))throw Error((0,l.Z)(9,e));let a=e.substring(r+1,e.length-1);if("color"===i){if(n=(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(n))throw Error((0,l.Z)(10,n))}else a=a.split(",");return{type:i,values:a=a.map(t=>parseFloat(t)),colorSpace:n}}(t);return e.values.slice(0,3).map((t,n)=>-1!==e.type.indexOf("hsl")&&0!==n?`${t}%`:t).join(" ")};var c=n(41512),u=n(98373),f=n(83997);let d=(t,e,n,r=[])=>{let i=t;e.forEach((t,a)=>{a===e.length-1?Array.isArray(i)?i[Number(t)]=n:i&&"object"==typeof i&&(i[t]=n):i&&"object"==typeof i&&(i[t]||(i[t]=r.includes(t)?[]:{}),i=i[t])})},h=(t,e,n)=>{!function t(r,i=[],a=[]){Object.entries(r).forEach(([r,o])=>{n&&(!n||n([...i,r]))||null==o||("object"==typeof o&&Object.keys(o).length>0?t(o,[...i,r],Array.isArray(o)?[...a,r]:a):e([...i,r],o,a))})}(t)},p=(t,e)=>{if("number"==typeof e){if(["lineHeight","fontWeight","opacity","zIndex"].some(e=>t.includes(e)))return e;let n=t[t.length-1];return n.toLowerCase().indexOf("opacity")>=0?e:`${e}px`}return e};function g(t,e){let{prefix:n,shouldSkipGeneratingVar:r}=e||{},i={},a={},o={};return h(t,(t,e,l)=>{if(("string"==typeof e||"number"==typeof e)&&(!r||!r(t,e))){let r=`--${n?`${n}-`:""}${t.join("-")}`;Object.assign(i,{[r]:p(t,e)}),d(a,t,`var(${r})`,l),d(o,t,`var(${r}, ${e})`,l)}},t=>"vars"===t[0]),{css:i,vars:a,varsWithDefaults:o}}let m=["colorSchemes","components","defaultColorScheme"];var y=function(t,e){let{colorSchemes:n={},defaultColorScheme:o="light"}=t,l=(0,i.Z)(t,m),{vars:s,css:c,varsWithDefaults:u}=g(l,e),d=u,h={},{[o]:p}=n,y=(0,i.Z)(n,[o].map(f.Z));if(Object.entries(y||{}).forEach(([t,n])=>{let{vars:r,css:i,varsWithDefaults:o}=g(n,e);d=(0,a.Z)(d,o),h[t]={css:i,vars:r}}),p){let{css:t,vars:n,varsWithDefaults:r}=g(p,e);d=(0,a.Z)(d,r),h[o]={css:t,vars:n}}return{vars:d,generateCssVars:t=>{var n,i;if(!t){let n=(0,r.Z)({},c);return{css:n,vars:s,selector:(null==e||null==(i=e.getSelector)?void 0:i.call(e,t,n))||":root"}}let a=(0,r.Z)({},h[t].css);return{css:a,vars:h[t].vars,selector:(null==e||null==(n=e.getSelector)?void 0:n.call(e,t,a))||":root"}}}},v=n(86523),b=n(44920);let x=(0,r.Z)({},b.Z,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}});var O={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"}};function w(t){var e;return!!t[0].match(/^(typography|variants|breakpoints|colorInversion|colorInversionConfig)$/)||!!t[0].match(/sxConfig$/)||"palette"===t[0]&&!!(null!=(e=t[1])&&e.match(/^(mode)$/))||"focus"===t[0]&&"thickness"!==t[1]}var _=n(26821);let k=t=>t&&"object"==typeof t&&Object.keys(t).some(t=>{var e;return null==(e=t.match)?void 0:e.call(t,/^(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))$/)}),M=(t,e,n)=>{e.includes("Color")&&(t.color=n),e.includes("Bg")&&(t.backgroundColor=n),e.includes("Border")&&(t.borderColor=n)},C=(t,e,n)=>{let r={};return Object.entries(e||{}).forEach(([e,i])=>{if(e.match(RegExp(`${t}(color|bg|border)`,"i"))&&i){let t=n?n(e):i;e.includes("Disabled")&&(r.pointerEvents="none",r.cursor="default",r["--Icon-color"]="currentColor"),e.match(/(Hover|Active|Disabled)/)||(r["--variant-borderWidth"]||(r["--variant-borderWidth"]="0px"),e.includes("Border")&&(r["--variant-borderWidth"]="1px",r.border="var(--variant-borderWidth) solid")),M(r,e,t)}}),r},j=t=>e=>`--${t?`${t}-`:""}${e.replace(/^--/,"")}`,A=(t,e)=>{let n={};if(e){let{getCssVar:i,palette:a}=e;Object.entries(a).forEach(e=>{let[o,l]=e;k(l)&&"object"==typeof l&&(n=(0,r.Z)({},n,{[o]:C(t,l,t=>i(`palette-${o}-${t}`,a[o][t]))}))})}return n.context=C(t,{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},S=(t,e)=>{let n=o(t.cssVarPrefix),r=j(t.cssVarPrefix),i={},a=e?e=>{var r;let i=e.split("-"),a=i[1],o=i[2];return n(e,null==(r=t.palette)||null==(r=r[a])?void 0:r[o])}:n;return Object.entries(t.palette).forEach(e=>{let[n,o]=e;k(o)&&(i[n]={"--Badge-ringColor":a(`palette-${n}-softBg`),[t.getColorSchemeSelector("dark")]:{[r("--palette-focusVisible")]:a(`palette-${n}-300`),[r("--palette-background-body")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.1)`,[r("--palette-background-surface")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.08)`,[r("--palette-background-level1")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.4)`,[r("--palette-background-level3")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,[r("--palette-text-primary")]:a(`palette-${n}-100`),[r("--palette-text-secondary")]:`rgba(${a(`palette-${n}-lightChannel`)} / 0.72)`,[r("--palette-text-tertiary")]:`rgba(${a(`palette-${n}-lightChannel`)} / 0.6)`,[r("--palette-text-icon")]:`rgba(${a(`palette-${n}-lightChannel`)} / 0.6)`,[r("--palette-divider")]:`rgba(${a(`palette-${n}-lightChannel`)} / 0.2)`,"--variant-plainColor":`rgba(${a(`palette-${n}-lightChannel`)} / 1)`,"--variant-plainHoverColor":a(`palette-${n}-50`),"--variant-plainHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.16)`,"--variant-plainActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":`rgba(${a(`palette-${n}-lightChannel`)} / 1)`,"--variant-outlinedHoverColor":a(`palette-${n}-50`),"--variant-outlinedBg":"initial","--variant-outlinedBorder":`rgba(${a(`palette-${n}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverBorder":a(`palette-${n}-600`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.16)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${a(`palette-${n}-mainChannel`)} / 0.2)`,"--variant-softColor":a(`palette-${n}-200`),"--variant-softBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-softHoverColor":"#fff","--variant-softHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-softActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.48)`,"--variant-softDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-solidColor":"#fff","--variant-solidBg":a(`palette-${n}-500`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":a(`palette-${n}-600`),"--variant-solidActiveBg":a(`palette-${n}-600`),"--variant-solidDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`},[t.getColorSchemeSelector("light")]:{[r("--palette-focusVisible")]:a(`palette-${n}-500`),[r("--palette-background-body")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.1)`,[r("--palette-background-surface")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.08)`,[r("--palette-background-level1")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,[r("--palette-background-level3")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.48)`,[r("--palette-text-primary")]:a(`palette-${n}-700`),[r("--palette-text-secondary")]:`rgba(${a(`palette-${n}-darkChannel`)} / 0.8)`,[r("--palette-text-tertiary")]:`rgba(${a(`palette-${n}-darkChannel`)} / 0.68)`,[r("--palette-text-icon")]:a(`palette-${n}-500`),[r("--palette-divider")]:`rgba(${a(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-plainColor":`rgba(${a(`palette-${n}-darkChannel`)} / 0.8)`,"--variant-plainHoverColor":`rgba(${a(`palette-${n}-darkChannel`)} / 1)`,"--variant-plainHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-outlinedColor":`rgba(${a(`palette-${n}-mainChannel`)} / 1)`,"--variant-outlinedBorder":`rgba(${a(`palette-${n}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverColor":a(`palette-${n}-600`),"--variant-outlinedHoverBorder":a(`palette-${n}-300`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-outlinedDisabledBorder":`rgba(${a(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-softColor":a(`palette-${n}-600`),"--variant-softBg":`rgba(${a(`palette-${n}-lightChannel`)} / 0.8)`,"--variant-softHoverColor":a(`palette-${n}-700`),"--variant-softHoverBg":a(`palette-${n}-200`),"--variant-softActiveBg":a(`palette-${n}-300`),"--variant-softDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-softDisabledBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.08)`,"--variant-solidColor":a("palette-common-white"),"--variant-solidBg":a(`palette-${n}-${"neutral"===n?"700":"500"}`),"--variant-solidHoverColor":a("palette-common-white"),"--variant-solidHoverBg":a(`palette-${n}-600`),"--variant-solidActiveBg":a(`palette-${n}-600`),"--variant-solidDisabledColor":`rgba(${a(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${n}-mainChannel`)} / 0.08)`}})}),i},E=(t,e)=>{let n=o(t.cssVarPrefix),r=j(t.cssVarPrefix),i={},a=e?e=>{let r=e.split("-"),i=r[1],a=r[2];return n(e,t.palette[i][a])}:n;return Object.entries(t.palette).forEach(t=>{let[e,n]=t;k(n)&&(i[e]={colorScheme:"dark","--Badge-ringColor":a(`palette-${e}-solidBg`),[r("--palette-focusVisible")]:a(`palette-${e}-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")]:a(`palette-${e}-700`),[r("--palette-background-level1")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.36)`,[r("--palette-background-level3")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.6)`,[r("--palette-text-primary")]:a("palette-common-white"),[r("--palette-text-secondary")]:a(`palette-${e}-200`),[r("--palette-text-tertiary")]:a(`palette-${e}-300`),[r("--palette-text-icon")]:a(`palette-${e}-200`),[r("--palette-divider")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-plainColor":a(`palette-${e}-50`),"--variant-plainHoverColor":"#fff","--variant-plainHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-outlinedColor":a(`palette-${e}-50`),"--variant-outlinedBorder":`rgba(${a(`palette-${e}-lightChannel`)} / 0.5)`,"--variant-outlinedHoverColor":"#fff","--variant-outlinedHoverBorder":a(`palette-${e}-300`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":"rgba(255 255 255 / 0.2)","--variant-softColor":a("palette-common-white"),"--variant-softHoverColor":a("palette-common-white"),"--variant-softBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.24)`,"--variant-softHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.36)`,"--variant-softActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.16)`,"--variant-softDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.1)`,"--variant-solidColor":a(`palette-${e}-${"neutral"===e?"600":"500"}`),"--variant-solidBg":a("palette-common-white"),"--variant-solidHoverBg":a("palette-common-white"),"--variant-solidActiveBg":a(`palette-${e}-100`),"--variant-solidDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.1)`})}),i},P=["cssVarPrefix","breakpoints","spacing","components","variants","colorInversion","shouldSkipGeneratingVar"],R=["colorSchemes"],T=(t="joy")=>o(t),Z=function(t){var e,n,o,l,f,d,h,p,g,m;let b=t||{},{cssVarPrefix:k="joy",breakpoints:M,spacing:C,components:j,variants:Z,colorInversion:L,shouldSkipGeneratingVar:B=w}=b,I=(0,i.Z)(b,P),N=T(k),D={primary:O.blue,neutral:O.grey,danger:O.red,success:O.green,warning:O.yellow,common:{white:"#FCFCFD",black:"#09090B"}},F=t=>{var e;let n=t.split("-"),r=n[1],i=n[2];return N(t,null==(e=D[r])?void 0:e[i])},z=t=>({plainColor:F(`palette-${t}-500`),plainHoverBg:F(`palette-${t}-50`),plainActiveBg:F(`palette-${t}-100`),plainDisabledColor:F("palette-neutral-400"),outlinedColor:F(`palette-${t}-500`),outlinedBorder:F(`palette-${t}-300`),outlinedHoverBg:F(`palette-${t}-100`),outlinedActiveBg:F(`palette-${t}-200`),outlinedDisabledColor:F("palette-neutral-400"),outlinedDisabledBorder:F("palette-neutral-200"),softColor:F(`palette-${t}-700`),softBg:F(`palette-${t}-100`),softHoverBg:F(`palette-${t}-200`),softActiveColor:F(`palette-${t}-800`),softActiveBg:F(`palette-${t}-300`),softDisabledColor:F("palette-neutral-400"),softDisabledBg:F(`palette-${t}-50`),solidColor:F("palette-common-white"),solidBg:F(`palette-${t}-500`),solidHoverBg:F(`palette-${t}-600`),solidActiveBg:F(`palette-${t}-700`),solidDisabledColor:F("palette-neutral-400"),solidDisabledBg:F(`palette-${t}-100`)}),$=t=>({plainColor:F(`palette-${t}-300`),plainHoverBg:F(`palette-${t}-800`),plainActiveBg:F(`palette-${t}-700`),plainDisabledColor:F("palette-neutral-500"),outlinedColor:F(`palette-${t}-200`),outlinedBorder:F(`palette-${t}-700`),outlinedHoverBg:F(`palette-${t}-800`),outlinedActiveBg:F(`palette-${t}-700`),outlinedDisabledColor:F("palette-neutral-500"),outlinedDisabledBorder:F("palette-neutral-800"),softColor:F(`palette-${t}-200`),softBg:F(`palette-${t}-800`),softHoverBg:F(`palette-${t}-700`),softActiveColor:F(`palette-${t}-100`),softActiveBg:F(`palette-${t}-600`),softDisabledColor:F("palette-neutral-500"),softDisabledBg:F(`palette-${t}-900`),solidColor:F("palette-common-white"),solidBg:F(`palette-${t}-500`),solidHoverBg:F(`palette-${t}-600`),solidActiveBg:F(`palette-${t}-700`),solidDisabledColor:F("palette-neutral-500"),solidDisabledBg:F(`palette-${t}-800`)}),W={palette:{mode:"light",primary:(0,r.Z)({},D.primary,z("primary")),neutral:(0,r.Z)({},D.neutral,z("neutral"),{plainColor:F("palette-neutral-700"),outlinedColor:F("palette-neutral-700")}),danger:(0,r.Z)({},D.danger,z("danger")),success:(0,r.Z)({},D.success,z("success")),warning:(0,r.Z)({},D.warning,z("warning")),common:{white:"#FBFCFD",black:"#0E0E10"},text:{primary:F("palette-neutral-800"),secondary:F("palette-neutral-700"),tertiary:F("palette-neutral-600"),icon:F("palette-neutral-500")},background:{body:F("palette-neutral-50"),surface:F("palette-common-white"),popup:F("palette-common-white"),level1:F("palette-neutral-100"),level2:F("palette-neutral-200"),level3:F("palette-neutral-300"),tooltip:F("palette-neutral-500"),backdrop:`rgba(${N("palette-neutral-darkChannel",s(D.neutral[900]))} / 0.25)`},divider:`rgba(${N("palette-neutral-mainChannel",s(D.neutral[500]))} / 0.3)`,focusVisible:F("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"21 21 21",shadowOpacity:"0.08"},H={palette:{mode:"dark",primary:(0,r.Z)({},D.primary,$("primary")),neutral:(0,r.Z)({},D.neutral,$("neutral")),danger:(0,r.Z)({},D.danger,$("danger")),success:(0,r.Z)({},D.success,$("success")),warning:(0,r.Z)({},D.warning,$("warning")),common:{white:"#FBFCFD",black:"#0E0E10"},text:{primary:F("palette-neutral-100"),secondary:F("palette-neutral-300"),tertiary:F("palette-neutral-400"),icon:F("palette-neutral-400")},background:{body:F("palette-common-black"),surface:F("palette-neutral-900"),popup:F("palette-common-black"),level1:F("palette-neutral-800"),level2:F("palette-neutral-700"),level3:F("palette-neutral-600"),tooltip:F("palette-neutral-600"),backdrop:`rgba(${N("palette-neutral-darkChannel",s(D.neutral[50]))} / 0.25)`},divider:`rgba(${N("palette-neutral-mainChannel",s(D.neutral[500]))} / 0.16)`,focusVisible:F("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0",shadowOpacity:"0.6"},G='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',q=(0,r.Z)({body:`"Inter", ${N(`fontFamily-fallback, ${G}`)}`,display:`"Inter", ${N(`fontFamily-fallback, ${G}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:G},I.fontFamily),V=(0,r.Z)({sm:300,md:500,lg:600,xl:700},I.fontWeight),Y=(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"},I.fontSize),U=(0,r.Z)({xs:"1.33334",sm:"1.42858",md:"1.5",lg:"1.55556",xl:"1.66667"},I.lineHeight),Q=null!=(e=null==(n=I.colorSchemes)||null==(n=n.light)?void 0:n.shadowRing)?e:W.shadowRing,K=null!=(o=null==(l=I.colorSchemes)||null==(l=l.light)?void 0:l.shadowChannel)?o:W.shadowChannel,X=null!=(f=null==(d=I.colorSchemes)||null==(d=d.light)?void 0:d.shadowOpacity)?f:W.shadowOpacity,J={colorSchemes:{light:W,dark:H},fontSize:Y,fontFamily:q,fontWeight:V,focus:{thickness:"2px",selector:`&.${(0,_.d6)("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${N("focus-thickness",null!=(h=null==(p=I.focus)?void 0:p.thickness)?h:"2px")})`,outline:`${N("focus-thickness",null!=(g=null==(m=I.focus)?void 0:m.thickness)?g:"2px")} solid ${N("palette-focusVisible",D.primary[500])}`}},lineHeight:U,radius:{xs:"2px",sm:"6px",md:"8px",lg:"12px",xl:"16px"},shadow:{xs:`${N("shadowRing",Q)}, 0px 1px 2px 0px rgba(${N("shadowChannel",K)} / ${N("shadowOpacity",X)})`,sm:`${N("shadowRing",Q)}, 0px 1px 2px 0px rgba(${N("shadowChannel",K)} / ${N("shadowOpacity",X)}), 0px 2px 4px 0px rgba(${N("shadowChannel",K)} / ${N("shadowOpacity",X)})`,md:`${N("shadowRing",Q)}, 0px 2px 8px -2px rgba(${N("shadowChannel",K)} / ${N("shadowOpacity",X)}), 0px 6px 12px -2px rgba(${N("shadowChannel",K)} / ${N("shadowOpacity",X)})`,lg:`${N("shadowRing",Q)}, 0px 2px 8px -2px rgba(${N("shadowChannel",K)} / ${N("shadowOpacity",X)}), 0px 12px 16px -4px rgba(${N("shadowChannel",K)} / ${N("shadowOpacity",X)})`,xl:`${N("shadowRing",Q)}, 0px 2px 8px -2px rgba(${N("shadowChannel",K)} / ${N("shadowOpacity",X)}), 0px 20px 24px -4px rgba(${N("shadowChannel",K)} / ${N("shadowOpacity",X)})`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,tooltip:1500},typography:{h1:{fontFamily:N(`fontFamily-display, ${q.display}`),fontWeight:N(`fontWeight-xl, ${V.xl}`),fontSize:N(`fontSize-xl4, ${Y.xl4}`),lineHeight:N(`lineHeight-xs, ${U.xs}`),letterSpacing:"-0.025em",color:N(`palette-text-primary, ${W.palette.text.primary}`)},h2:{fontFamily:N(`fontFamily-display, ${q.display}`),fontWeight:N(`fontWeight-xl, ${V.xl}`),fontSize:N(`fontSize-xl3, ${Y.xl3}`),lineHeight:N(`lineHeight-xs, ${U.xs}`),letterSpacing:"-0.025em",color:N(`palette-text-primary, ${W.palette.text.primary}`)},h3:{fontFamily:N(`fontFamily-display, ${q.display}`),fontWeight:N(`fontWeight-lg, ${V.lg}`),fontSize:N(`fontSize-xl2, ${Y.xl2}`),lineHeight:N(`lineHeight-xs, ${U.xs}`),letterSpacing:"-0.025em",color:N(`palette-text-primary, ${W.palette.text.primary}`)},h4:{fontFamily:N(`fontFamily-display, ${q.display}`),fontWeight:N(`fontWeight-lg, ${V.lg}`),fontSize:N(`fontSize-xl, ${Y.xl}`),lineHeight:N(`lineHeight-md, ${U.md}`),letterSpacing:"-0.025em",color:N(`palette-text-primary, ${W.palette.text.primary}`)},"title-lg":{fontFamily:N(`fontFamily-body, ${q.body}`),fontWeight:N(`fontWeight-lg, ${V.lg}`),fontSize:N(`fontSize-lg, ${Y.lg}`),lineHeight:N(`lineHeight-xs, ${U.xs}`),color:N(`palette-text-primary, ${W.palette.text.primary}`)},"title-md":{fontFamily:N(`fontFamily-body, ${q.body}`),fontWeight:N(`fontWeight-md, ${V.md}`),fontSize:N(`fontSize-md, ${Y.md}`),lineHeight:N(`lineHeight-md, ${U.md}`),color:N(`palette-text-primary, ${W.palette.text.primary}`)},"title-sm":{fontFamily:N(`fontFamily-body, ${q.body}`),fontWeight:N(`fontWeight-md, ${V.md}`),fontSize:N(`fontSize-sm, ${Y.sm}`),lineHeight:N(`lineHeight-sm, ${U.sm}`),color:N(`palette-text-primary, ${W.palette.text.primary}`)},"body-lg":{fontFamily:N(`fontFamily-body, ${q.body}`),fontSize:N(`fontSize-lg, ${Y.lg}`),lineHeight:N(`lineHeight-md, ${U.md}`),color:N(`palette-text-secondary, ${W.palette.text.secondary}`)},"body-md":{fontFamily:N(`fontFamily-body, ${q.body}`),fontSize:N(`fontSize-md, ${Y.md}`),lineHeight:N(`lineHeight-md, ${U.md}`),color:N(`palette-text-secondary, ${W.palette.text.secondary}`)},"body-sm":{fontFamily:N(`fontFamily-body, ${q.body}`),fontSize:N(`fontSize-sm, ${Y.sm}`),lineHeight:N(`lineHeight-md, ${U.md}`),color:N(`palette-text-tertiary, ${W.palette.text.tertiary}`)},"body-xs":{fontFamily:N(`fontFamily-body, ${q.body}`),fontWeight:N(`fontWeight-md, ${V.md}`),fontSize:N(`fontSize-xs, ${Y.xs}`),lineHeight:N(`lineHeight-md, ${U.md}`),color:N(`palette-text-tertiary, ${W.palette.text.tertiary}`)}}},tt=I?(0,a.Z)(J,I):J,{colorSchemes:te}=tt,tn=(0,i.Z)(tt,R),tr=(0,r.Z)({colorSchemes:te},tn,{breakpoints:(0,c.Z)(null!=M?M:{}),components:(0,a.Z)({MuiSvgIcon:{defaultProps:{fontSize:"xl2"},styleOverrides:{root:({ownerState:t,theme:e})=>{var n;let i=t.instanceFontSize;return(0,r.Z)({margin:"var(--Icon-margin)"},t.fontSize&&"inherit"!==t.fontSize&&{fontSize:`var(--Icon-fontSize, ${e.vars.fontSize[t.fontSize]})`},!t.htmlColor&&(0,r.Z)({color:`var(--Icon-color, ${tr.vars.palette.text.icon})`},t.color&&"inherit"!==t.color&&"context"!==t.color&&e.vars.palette[t.color]&&{color:`rgba(${null==(n=e.vars.palette[t.color])?void 0:n.mainChannel} / 1)`},"context"===t.color&&{color:e.vars.palette.text.secondary}),i&&"inherit"!==i&&{"--Icon-fontSize":e.vars.fontSize[i]})}}}},j),cssVarPrefix:k,getCssVar:N,spacing:(0,u.Z)(C),colorInversionConfig:{soft:["plain","outlined","soft","solid"],solid:["plain","outlined","soft","solid"]}});Object.entries(tr.colorSchemes).forEach(([t,e])=>{!function(t,e){Object.keys(e).forEach(n=>{let r={main:"500",light:"200",dark:"700"};"dark"===t&&(r.main=400),!e[n].mainChannel&&e[n][r.main]&&(e[n].mainChannel=s(e[n][r.main])),!e[n].lightChannel&&e[n][r.light]&&(e[n].lightChannel=s(e[n][r.light])),!e[n].darkChannel&&e[n][r.dark]&&(e[n].darkChannel=s(e[n][r.dark]))})}(t,e.palette)});let{vars:ti,generateCssVars:ta}=y((0,r.Z)({colorSchemes:te},tn),{prefix:k,shouldSkipGeneratingVar:B});tr.vars=ti,tr.generateCssVars=ta,tr.unstable_sxConfig=(0,r.Z)({},x,null==t?void 0:t.unstable_sxConfig),tr.unstable_sx=function(t){return(0,v.Z)({sx:t,theme:this})},tr.getColorSchemeSelector=t=>"light"===t?"&":`&[data-joy-color-scheme="${t}"], [data-joy-color-scheme="${t}"] &`;let to={getCssVar:N,palette:tr.colorSchemes.light.palette};return tr.variants=(0,a.Z)({plain:A("plain",to),plainHover:A("plainHover",to),plainActive:A("plainActive",to),plainDisabled:A("plainDisabled",to),outlined:A("outlined",to),outlinedHover:A("outlinedHover",to),outlinedActive:A("outlinedActive",to),outlinedDisabled:A("outlinedDisabled",to),soft:A("soft",to),softHover:A("softHover",to),softActive:A("softActive",to),softDisabled:A("softDisabled",to),solid:A("solid",to),solidHover:A("solidHover",to),solidActive:A("solidActive",to),solidDisabled:A("solidDisabled",to)},Z),tr.palette=(0,r.Z)({},tr.colorSchemes.light.palette,{colorScheme:"light"}),tr.shouldSkipGeneratingVar=B,tr.colorInversion="function"==typeof L?L:(0,a.Z)({soft:S(tr,!0),solid:E(tr,!0)},L||{},{clone:!1}),tr}();var L=Z},2548:function(t,e){"use strict";e.Z="$$joy"},58859:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});var r=n(87462);let i=({theme:t,ownerState:e},n)=>{let i={};return e.sx&&(function e(n){if("function"==typeof n){let r=n(t);e(r)}else Array.isArray(n)?n.forEach(t=>{"boolean"!=typeof t&&e(t)}):"object"==typeof n&&(i=(0,r.Z)({},i,n))}(e.sx),n.forEach(e=>{let n=i[e];if("string"==typeof n||"number"==typeof n){if("borderRadius"===e){if("number"==typeof n)i[e]=`${n}px`;else{var r;i[e]=(null==(r=t.vars)?void 0:r.radius[n])||n}}else -1!==["p","padding","m","margin"].indexOf(e)&&"number"==typeof n?i[e]=t.spacing(n):i[e]=n}else"function"==typeof n?i[e]=n(t):i[e]=void 0})),i}},74312:function(t,e,n){"use strict";var r=n(86154),i=n(67299),a=n(2548);let o=(0,r.ZP)({defaultTheme:i.Z,themeId:a.Z});e.Z=o},20407:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(87462),i=n(44065),a=n(67299),o=n(2548);function l({props:t,name:e}){return(0,i.Z)({props:t,name:e,defaultTheme:(0,r.Z)({},a.Z,{components:{}}),themeId:o.Z})}},30220:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var r=n(87462),i=n(63366),a=n(22760),o=n(71276),l=n(24407),s=n(10238),c=n(2226);let u=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],f=["component","slots","slotProps"],d=["component"],h=["disableColorInversion"];function p(t,e){let{className:n,elementType:p,ownerState:g,externalForwardedProps:m,getSlotOwnerState:y,internalForwardedProps:v}=e,b=(0,i.Z)(e,u),{component:x,slots:O={[t]:void 0},slotProps:w={[t]:void 0}}=m,_=(0,i.Z)(m,f),k=O[t]||p,M=(0,o.x)(w[t],g),C=(0,l.L)((0,r.Z)({className:n},b,{externalForwardedProps:"root"===t?_:void 0,externalSlotProps:M})),{props:{component:j},internalRef:A}=C,S=(0,i.Z)(C.props,d),E=(0,a.Z)(A,null==M?void 0:M.ref,e.ref),P=y?y(S):{},{disableColorInversion:R=!1}=P,T=(0,i.Z)(P,h),Z=(0,r.Z)({},g,T),{getColor:L}=(0,c.VT)(Z.variant);if("root"===t){var B;Z.color=null!=(B=S.color)?B:g.color}else R||(Z.color=L(S.color,Z.color));let I="root"===t?j||x:j,N=(0,s.$)(k,(0,r.Z)({},"root"===t&&!x&&!O[t]&&v,"root"!==t&&!O[t]&&v,S,I&&{as:I},{ref:E}),Z);return Object.keys(T).forEach(t=>{delete N[t]}),[k,N]}},23534:function(t,e,n){"use strict";let r;n.r(e),n.d(e,{GlobalStyles:function(){return w},StyledEngineProvider:function(){return O},ThemeContext:function(){return c.T},css:function(){return v.iv},default:function(){return _},internal_processStyles:function(){return k},keyframes:function(){return v.F4}});var i=n(87462),a=n(67294),o=n(45042),l=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,o.Z)(function(t){return l.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&91>t.charCodeAt(2)}),c=n(6498),u=n(70444),f=n(50649),d=n(27278),h=function(t){return"theme"!==t},p=function(t){return"string"==typeof t&&t.charCodeAt(0)>96?s:h},g=function(t,e,n){var r;if(e){var i=e.shouldForwardProp;r=t.__emotion_forwardProp&&i?function(e){return t.__emotion_forwardProp(e)&&i(e)}:i}return"function"!=typeof r&&n&&(r=t.__emotion_forwardProp),r},m=function(t){var e=t.cache,n=t.serialized,r=t.isStringTag;return(0,u.hC)(e,n,r),(0,d.L)(function(){return(0,u.My)(e,n,r)}),null},y=(function t(e,n){var r,o,l=e.__emotion_real===e,s=l&&e.__emotion_base||e;void 0!==n&&(r=n.label,o=n.target);var d=g(e,n,l),h=d||p(s),y=!h("as");return function(){var v=arguments,b=l&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==r&&b.push("label:"+r+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{b.push(v[0][0]);for(var x=v.length,O=1;Oe(null==t||0===Object.keys(t).length?n:t):e;return(0,x.jsx)(v.xB,{styles:r})}function _(t,e){let n=y(t,e);return n}"object"==typeof document&&(r=(0,b.Z)({key:"css",prepend:!0}));let k=(t,e)=>{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))}},95408:function(t,e,n){"use strict";n.d(e,{L7:function(){return l},VO:function(){return r},W8:function(){return o},k9:function(){return a}});let r={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${r[t]}px)`};function a(t,e,n){let a=t.theme||{};if(Array.isArray(e)){let t=a.breakpoints||i;return e.reduce((r,i,a)=>(r[t.up(t.keys[a])]=n(e[a]),r),{})}if("object"==typeof e){let t=a.breakpoints||i;return Object.keys(e).reduce((i,a)=>{if(-1!==Object.keys(t.values||r).indexOf(a)){let r=t.up(a);i[r]=n(e[a],a)}else i[a]=e[a];return i},{})}let o=n(e);return o}function o(t={}){var e;let n=null==(e=t.keys)?void 0:e.reduce((e,n)=>{let r=t.up(n);return e[r]={},e},{});return n||{}}function l(t,e){return t.reduce((t,e)=>{let n=t[e],r=!n||0===Object.keys(n).length;return r&&delete t[e],t},e)}},86154:function(t,e,n){"use strict";n.d(e,{ZP:function(){return y}});var r=n(87462),i=n(63366),a=n(23534),o=n(68027),l=n(88647),s=n(86523);let c=["ownerState"],u=["variants"],f=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function d(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}let h=(0,l.Z)(),p=t=>t?t.charAt(0).toLowerCase()+t.slice(1):t;function g({defaultTheme:t,theme:e,themeId:n}){return 0===Object.keys(e).length?t:e[n]||e}function m(t,e){let{ownerState:n}=e,a=(0,i.Z)(e,c),o="function"==typeof t?t((0,r.Z)({ownerState:n},a)):t;if(Array.isArray(o))return o.flatMap(t=>m(t,(0,r.Z)({ownerState:n},a)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:t=[]}=o,e=(0,i.Z)(o,u),l=e;return t.forEach(t=>{let e=!0;"function"==typeof t.props?e=t.props((0,r.Z)({ownerState:n},a,n)):Object.keys(t.props).forEach(r=>{(null==n?void 0:n[r])!==t.props[r]&&a[r]!==t.props[r]&&(e=!1)}),e&&(Array.isArray(l)||(l=[l]),l.push("function"==typeof t.style?t.style((0,r.Z)({ownerState:n},a,n)):t.style))}),l}return o}function y(t={}){let{themeId:e,defaultTheme:n=h,rootShouldForwardProp:l=d,slotShouldForwardProp:c=d}=t,u=t=>(0,s.Z)((0,r.Z)({},t,{theme:g((0,r.Z)({},t,{defaultTheme:n,themeId:e}))}));return u.__mui_systemSx=!0,(t,s={})=>{var h;let y;(0,a.internal_processStyles)(t,t=>t.filter(t=>!(null!=t&&t.__mui_systemSx)));let{name:v,slot:b,skipVariantsResolver:x,skipSx:O,overridesResolver:w=(h=p(b))?(t,e)=>e[h]:null}=s,_=(0,i.Z)(s,f),k=void 0!==x?x:b&&"Root"!==b&&"root"!==b||!1,M=O||!1,C=d;"Root"===b||"root"===b?C=l:b?C=c:"string"==typeof t&&t.charCodeAt(0)>96&&(C=void 0);let j=(0,a.default)(t,(0,r.Z)({shouldForwardProp:C,label:y},_)),A=t=>"function"==typeof t&&t.__emotion_real!==t||(0,o.P)(t)?i=>m(t,(0,r.Z)({},i,{theme:g({theme:i.theme,defaultTheme:n,themeId:e})})):t,S=(i,...a)=>{let o=A(i),l=a?a.map(A):[];v&&w&&l.push(t=>{let i=g((0,r.Z)({},t,{defaultTheme:n,themeId:e}));if(!i.components||!i.components[v]||!i.components[v].styleOverrides)return null;let a=i.components[v].styleOverrides,o={};return Object.entries(a).forEach(([e,n])=>{o[e]=m(n,(0,r.Z)({},t,{theme:i}))}),w(t,o)}),v&&!k&&l.push(t=>{var i;let a=g((0,r.Z)({},t,{defaultTheme:n,themeId:e})),o=null==a||null==(i=a.components)||null==(i=i[v])?void 0:i.variants;return m({variants:o},(0,r.Z)({},t,{theme:a}))}),M||l.push(u);let s=l.length-a.length;if(Array.isArray(i)&&s>0){let t=Array(s).fill("");(o=[...i,...t]).raw=[...i.raw,...t]}let c=j(o,...l);return t.muiName&&(c.muiName=t.muiName),c};return j.withConfig&&(S.withConfig=j.withConfig),S}}},57064:function(t,e,n){"use strict";function r(t,e){if(this.vars&&"function"==typeof this.getColorSchemeSelector){let n=this.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:e}}return this.palette.mode===t?e:{}}n.d(e,{Z:function(){return r}})},41512:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(63366),i=n(87462);let a=["values","unit","step"],o=t=>{let e=Object.keys(t).map(e=>({key:e,val:t[e]}))||[];return e.sort((t,e)=>t.val-e.val),e.reduce((t,e)=>(0,i.Z)({},t,{[e.key]:e.val}),{})};function l(t){let{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:l=5}=t,s=(0,r.Z)(t,a),c=o(e),u=Object.keys(c);function f(t){let r="number"==typeof e[t]?e[t]:t;return`@media (min-width:${r}${n})`}function d(t){let r="number"==typeof e[t]?e[t]:t;return`@media (max-width:${r-l/100}${n})`}function h(t,r){let i=u.indexOf(r);return`@media (min-width:${"number"==typeof e[t]?e[t]:t}${n}) and (max-width:${(-1!==i&&"number"==typeof e[u[i]]?e[u[i]]:r)-l/100}${n})`}return(0,i.Z)({keys:u,values:c,up:f,down:d,between:h,only:function(t){return u.indexOf(t)+1{let n=0===t.length?[1]:t;return n.map(t=>{let n=e(t);return"number"==typeof n?`${n}px`:n}).join(" ")};return n.mui=!0,n}},88647:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var r=n(87462),i=n(63366),a=n(68027),o=n(41512),l={borderRadius:4},s=n(98373),c=n(86523),u=n(44920),f=n(57064);let d=["breakpoints","palette","spacing","shape"];var h=function(t={},...e){let{breakpoints:n={},palette:h={},spacing:p,shape:g={}}=t,m=(0,i.Z)(t,d),y=(0,o.Z)(n),v=(0,s.Z)(p),b=(0,a.Z)({breakpoints:y,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},h),spacing:v,shape:(0,r.Z)({},l,g)},m);return b.applyStyles=f.Z,(b=e.reduce((t,e)=>(0,a.Z)(t,e),b)).unstable_sxConfig=(0,r.Z)({},u.Z,null==m?void 0:m.unstable_sxConfig),b.unstable_sx=function(t){return(0,c.Z)({sx:t,theme:this})},b}},47730:function(t,e,n){"use strict";var r=n(68027);e.Z=function(t,e){return e?(0,r.Z)(t,e,{clone:!1}):t}},98700:function(t,e,n){"use strict";n.d(e,{hB:function(){return p},eI:function(){return h},NA:function(){return g},e6:function(){return y},o3:function(){return v}});var r=n(95408),i=n(54844),a=n(47730);let o={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(t){let e={};return n=>(void 0===e[n]&&(e[n]=t(n)),e[n])}(t=>{if(t.length>2){if(!s[t])return[t];t=s[t]}let[e,n]=t.split(""),r=o[e],i=l[n]||"";return Array.isArray(i)?i.map(t=>r+t):[r+i]}),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 h(t,e,n,r){var a;let o=null!=(a=(0,i.DW)(t,e,!1))?a:n;return"number"==typeof o?t=>"string"==typeof t?t:o*t:Array.isArray(o)?t=>"string"==typeof t?t:o[t]:"function"==typeof o?o:()=>void 0}function p(t){return h(t,"spacing",8,"spacing")}function g(t,e){if("string"==typeof e||null==e)return e;let n=Math.abs(e),r=t(n);return e>=0?r:"number"==typeof r?-r:`-${r}`}function m(t,e){let n=p(t.theme);return Object.keys(t).map(i=>(function(t,e,n,i){if(-1===e.indexOf(n))return null;let a=c(n),o=t[n];return(0,r.k9)(t,o,t=>a.reduce((e,n)=>(e[n]=g(i,t),e),{}))})(t,e,i,n)).reduce(a.Z,{})}function y(t){return m(t,u)}function v(t){return m(t,f)}function b(t){return m(t,d)}y.propTypes={},y.filterProps=u,v.propTypes={},v.filterProps=f,b.propTypes={},b.filterProps=d},54844:function(t,e,n){"use strict";n.d(e,{DW:function(){return a},Jq:function(){return o}});var r=n(62908),i=n(95408);function a(t,e,n=!0){if(!e||"string"!=typeof e)return null;if(t&&t.vars&&n){let n=`vars.${e}`.split(".").reduce((t,e)=>t&&t[e]?t[e]:null,t);if(null!=n)return n}return e.split(".").reduce((t,e)=>t&&null!=t[e]?t[e]:null,t)}function o(t,e,n,r=n){let i;return i="function"==typeof t?t(n):Array.isArray(t)?t[n]||r:a(t,n)||r,e&&(i=e(i,r,t)),i}e.ZP=function(t){let{prop:e,cssProperty:n=t.prop,themeKey:l,transform:s}=t,c=t=>{if(null==t[e])return null;let c=t[e],u=t.theme,f=a(u,l)||{};return(0,i.k9)(t,c,t=>{let i=o(f,s,t);return(t===i&&"string"==typeof t&&(i=o(f,s,`${e}${"default"===t?"":(0,r.Z)(t)}`,t)),!1===n)?i:{[n]:i}})};return c.propTypes={},c.filterProps=[e],c}},44920:function(t,e,n){"use strict";n.d(e,{Z:function(){return Y}});var r=n(98700),i=n(54844),a=n(47730),o=function(...t){let e=t.reduce((t,e)=>(e.filterProps.forEach(n=>{t[n]=e}),t),{}),n=t=>Object.keys(t).reduce((n,r)=>e[r]?(0,a.Z)(n,e[r](t)):n,{});return n.propTypes={},n.filterProps=t.reduce((t,e)=>t.concat(e.filterProps),[]),n},l=n(95408);function s(t){return"number"!=typeof t?t:`${t}px solid`}function c(t,e){return(0,i.ZP)({prop:t,themeKey:"borders",transform:e})}let u=c("border",s),f=c("borderTop",s),d=c("borderRight",s),h=c("borderBottom",s),p=c("borderLeft",s),g=c("borderColor"),m=c("borderTopColor"),y=c("borderRightColor"),v=c("borderBottomColor"),b=c("borderLeftColor"),x=c("outline",s),O=c("outlineColor"),w=t=>{if(void 0!==t.borderRadius&&null!==t.borderRadius){let e=(0,r.eI)(t.theme,"shape.borderRadius",4,"borderRadius");return(0,l.k9)(t,t.borderRadius,t=>({borderRadius:(0,r.NA)(e,t)}))}return null};w.propTypes={},w.filterProps=["borderRadius"],o(u,f,d,h,p,g,m,y,v,b,w,x,O);let _=t=>{if(void 0!==t.gap&&null!==t.gap){let e=(0,r.eI)(t.theme,"spacing",8,"gap");return(0,l.k9)(t,t.gap,t=>({gap:(0,r.NA)(e,t)}))}return null};_.propTypes={},_.filterProps=["gap"];let k=t=>{if(void 0!==t.columnGap&&null!==t.columnGap){let e=(0,r.eI)(t.theme,"spacing",8,"columnGap");return(0,l.k9)(t,t.columnGap,t=>({columnGap:(0,r.NA)(e,t)}))}return null};k.propTypes={},k.filterProps=["columnGap"];let M=t=>{if(void 0!==t.rowGap&&null!==t.rowGap){let e=(0,r.eI)(t.theme,"spacing",8,"rowGap");return(0,l.k9)(t,t.rowGap,t=>({rowGap:(0,r.NA)(e,t)}))}return null};M.propTypes={},M.filterProps=["rowGap"];let C=(0,i.ZP)({prop:"gridColumn"}),j=(0,i.ZP)({prop:"gridRow"}),A=(0,i.ZP)({prop:"gridAutoFlow"}),S=(0,i.ZP)({prop:"gridAutoColumns"}),E=(0,i.ZP)({prop:"gridAutoRows"}),P=(0,i.ZP)({prop:"gridTemplateColumns"}),R=(0,i.ZP)({prop:"gridTemplateRows"}),T=(0,i.ZP)({prop:"gridTemplateAreas"}),Z=(0,i.ZP)({prop:"gridArea"});function L(t,e){return"grey"===e?e:t}o(_,k,M,C,j,A,S,E,P,R,T,Z);let B=(0,i.ZP)({prop:"color",themeKey:"palette",transform:L}),I=(0,i.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:L}),N=(0,i.ZP)({prop:"backgroundColor",themeKey:"palette",transform:L});function D(t){return t<=1&&0!==t?`${100*t}%`:t}o(B,I,N);let F=(0,i.ZP)({prop:"width",transform:D}),z=t=>void 0!==t.maxWidth&&null!==t.maxWidth?(0,l.k9)(t,t.maxWidth,e=>{var n,r;let i=(null==(n=t.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[e])||l.VO[e];return i?(null==(r=t.theme)||null==(r=r.breakpoints)?void 0:r.unit)!=="px"?{maxWidth:`${i}${t.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:D(e)}}):null;z.filterProps=["maxWidth"];let $=(0,i.ZP)({prop:"minWidth",transform:D}),W=(0,i.ZP)({prop:"height",transform:D}),H=(0,i.ZP)({prop:"maxHeight",transform:D}),G=(0,i.ZP)({prop:"minHeight",transform:D});(0,i.ZP)({prop:"size",cssProperty:"width",transform:D}),(0,i.ZP)({prop:"size",cssProperty:"height",transform:D});let q=(0,i.ZP)({prop:"boxSizing"});o(F,z,$,W,H,G,q);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"},outline:{themeKey:"borders",transform:s},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:w},color:{themeKey:"palette",transform:L},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:L},backgroundColor:{themeKey:"palette",transform:L},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:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:_},rowGap:{style:M},columnGap:{style:k},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:D},maxWidth:{style:z},minWidth:{transform:D},height:{transform:D},maxHeight:{transform:D},minHeight:{transform:D},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};var Y=V},39707:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(87462),i=n(63366),a=n(68027),o=n(44920);let l=["sx"],s=t=>{var e,n;let r={systemProps:{},otherProps:{}},i=null!=(e=null==t||null==(n=t.theme)?void 0:n.unstable_sxConfig)?e:o.Z;return Object.keys(t).forEach(e=>{i[e]?r.systemProps[e]=t[e]:r.otherProps[e]=t[e]}),r};function c(t){let e;let{sx:n}=t,o=(0,i.Z)(t,l),{systemProps:c,otherProps:u}=s(o);return e=Array.isArray(n)?[c,...n]:"function"==typeof n?(...t)=>{let e=n(...t);return(0,a.P)(e)?(0,r.Z)({},c,e):c}:(0,r.Z)({},c,n),(0,r.Z)({},u,{sx:e})}},86523:function(t,e,n){"use strict";n.d(e,{n:function(){return s}});var r=n(62908),i=n(47730),a=n(54844),o=n(95408),l=n(44920);function s(){function t(t,e,n,i){let l={[t]:e,theme:n},s=i[t];if(!s)return{[t]:e};let{cssProperty:c=t,themeKey:u,transform:f,style:d}=s;if(null==e)return null;if("typography"===u&&"inherit"===e)return{[t]:e};let h=(0,a.DW)(n,u)||{};return d?d(l):(0,o.k9)(l,e,e=>{let n=(0,a.Jq)(h,f,e);return(e===n&&"string"==typeof e&&(n=(0,a.Jq)(h,f,`${t}${"default"===e?"":(0,r.Z)(e)}`,e)),!1===c)?n:{[c]:n}})}return function e(n){var r;let{sx:a,theme:s={}}=n||{};if(!a)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 a=(0,o.W8)(s.breakpoints),l=Object.keys(a),u=a;return Object.keys(r).forEach(n=>{var a;let l="function"==typeof(a=r[n])?a(s):a;if(null!=l){if("object"==typeof l){if(c[n])u=(0,i.Z)(u,t(n,l,s,c));else{let t=(0,o.k9)({theme:s},l,t=>({[n]:t}));(function(...t){let e=t.reduce((t,e)=>t.concat(Object.keys(e)),[]),n=new Set(e);return t.every(t=>n.size===Object.keys(t).length)})(t,l)?u[n]=e({sx:l,theme:s}):u=(0,i.Z)(u,t)}}else u=(0,i.Z)(u,t(n,l,s,c))}}),(0,o.L7)(l,u)}return Array.isArray(a)?a.map(u):u(a)}}let c=s();c.filterProps=["sx"],e.Z=c},79718:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(88647),i=n(67294),a=n(6498),o=function(t=null){let e=i.useContext(a.T);return e&&0!==Object.keys(e).length?e:t};let l=(0,r.Z)();var s=function(t=l){return o(t)}},44065:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(87462),i=n(79718);function a({props:t,name:e,defaultTheme:n,themeId:a}){let o=(0,i.Z)(n);a&&(o=o[a]||o);let l=function(t){let{theme:e,name:n,props:i}=t;return e&&e.components&&e.components[n]&&e.components[n].defaultProps?function t(e,n){let i=(0,r.Z)({},n);return Object.keys(e).forEach(a=>{if(a.toString().match(/^(components|slots)$/))i[a]=(0,r.Z)({},e[a],i[a]);else if(a.toString().match(/^(componentsProps|slotProps)$/)){let o=e[a]||{},l=n[a];i[a]={},l&&Object.keys(l)?o&&Object.keys(o)?(i[a]=(0,r.Z)({},l),Object.keys(o).forEach(e=>{i[a][e]=t(o[e],l[e])})):i[a]=l:i[a]=o}else void 0===i[a]&&(i[a]=e[a])}),i}(e.components[n].defaultProps,i):i}({theme:o,name:e,props:t});return l}},31983:function(t,e){"use strict";let n;let r=t=>t,i=(n=r,{configure(t){n=t},generate:t=>n(t),reset(){n=r}});e.Z=i},62908:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(78758);function i(t){if("string"!=typeof t)throw Error((0,r.Z)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},58510:function(t,e,n){"use strict";function r(t,e,n){let r={};return Object.keys(t).forEach(i=>{r[i]=t[i].reduce((t,r)=>{if(r){let i=e(r);""!==i&&t.push(i),n&&n[r]&&t.push(n[r])}return t},[]).join(" ")}),r}n.d(e,{Z:function(){return r}})},68027:function(t,e,n){"use strict";n.d(e,{P:function(){return i},Z:function(){return function t(e,n,a={clone:!0}){let o=a.clone?(0,r.Z)({},e):e;return i(e)&&i(n)&&Object.keys(n).forEach(r=>{i(n[r])&&Object.prototype.hasOwnProperty.call(e,r)&&i(e[r])?o[r]=t(e[r],n[r],a):a.clone?o[r]=i(n[r])?function t(e){if(!i(e))return e;let n={};return Object.keys(e).forEach(r=>{n[r]=t(e[r])}),n}(n[r]):n[r]:o[r]=n[r]}),o}}});var r=n(87462);function i(t){if("object"!=typeof t||null===t)return!1;let e=Object.getPrototypeOf(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}},78758:function(t,e,n){"use strict";function r(t){let e="https://mui.com/production-error/?code="+t;for(let t=1;t{i[e]=(0,r.ZP)(t,e,n)}),i}},16485:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(67294);function i(t,e){var n,i;return r.isValidElement(t)&&-1!==e.indexOf(null!=(n=t.type.muiName)?n:null==(i=t.type)||null==(i=i._payload)||null==(i=i.value)?void 0:i.muiName)}},25091:function(t,e,n){"use strict";function r(t,e){"function"==typeof t?t(e):t&&(t.current=e)}n.d(e,{Z:function(){return r}})},22760:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(67294),i=n(25091);function a(...t){return r.useMemo(()=>t.every(t=>null==t)?null:e=>{t.forEach(t=>{(0,i.Z)(t,e)})},t)}},15746:function(t,e,n){"use strict";var r=n(21584);e.Z=r.Z},71230:function(t,e,n){"use strict";var r=n(92820);e.Z=r.Z},87760:function(t,e){"use strict";var n={protan:{x:.7465,y:.2535,m:1.273463,yi:-.073894},deutan:{x:1.4,y:-.4,m:.968437,yi:.003331},tritan:{x:.1748,y:0,m:.062921,yi:.292119},custom:{x:.735,y:.265,m:-1.059259,yi:1.026914}},r=function(t){var e={},n=t.R/255,r=t.G/255,i=t.B/255;return n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92,e.X=.41242371206635076*n+.3575793401363035*r+.1804662232369621*i,e.Y=.21265606784927693*n+.715157818248362*r+.0721864539171564*i,e.Z=.019331987577444885*n+.11919267420354762*r+.9504491124870351*i,e},i=function(t){var e=t.X+t.Y+t.Z;return 0===e?{x:0,y:0,Y:t.Y}:{x:t.X/e,y:t.Y/e,Y:t.Y}};e.a=function(t,e,a){var o,l,s,c,u,f,d,h,p,g,m,y,v,b,x,O,w,_,k,M;return"achroma"===e?(o={R:o=.212656*t.R+.715158*t.G+.072186*t.B,G:o,B:o},a&&(s=(l=1.75)+1,o.R=(l*o.R+t.R)/s,o.G=(l*o.G+t.G)/s,o.B=(l*o.B+t.B)/s),o):(c=n[e],f=((u=i(r(t))).y-c.y)/(u.x-c.x),d=u.y-u.x*f,h=(c.yi-d)/(f-c.m),p=f*h+d,(o={}).X=h*u.Y/p,o.Y=u.Y,o.Z=(1-(h+p))*u.Y/p,_=.312713*u.Y/.329016,k=.358271*u.Y/.329016,y=3.240712470389558*(g=_-o.X)+-0+-.49857440415943116*(m=k-o.Z),v=-.969259258688888*g+0+.041556132211625726*m,b=.05563600315398933*g+-0+1.0570636917433989*m,o.R=3.240712470389558*o.X+-1.5372626602963142*o.Y+-.49857440415943116*o.Z,o.G=-.969259258688888*o.X+1.875996969313966*o.Y+.041556132211625726*o.Z,o.B=.05563600315398933*o.X+-.2039948802843549*o.Y+1.0570636917433989*o.Z,x=((o.R<0?0:1)-o.R)/y,O=((o.G<0?0:1)-o.G)/v,(w=(w=((o.B<0?0:1)-o.B)/b)>1||w<0?0:w)>(M=(x=x>1||x<0?0:x)>(O=O>1||O<0?0:O)?x:O)&&(M=w),o.R+=M*y,o.G+=M*v,o.B+=M*b,o.R=255*(o.R<=0?0:o.R>=1?1:Math.pow(o.R,.45454545454545453)),o.G=255*(o.G<=0?0:o.G>=1?1:Math.pow(o.G,.45454545454545453)),o.B=255*(o.B<=0?0:o.B>=1?1:Math.pow(o.B,.45454545454545453)),a&&(s=(l=1.75)+1,o.R=(l*o.R+t.R)/s,o.G=(l*o.G+t.G)/s,o.B=(l*o.B+t.B)/s),o)}},56917:function(t,e,n){"use strict";var r=n(74314),i=n(87760).a,a={protanomaly:{type:"protan",anomalize:!0},protanopia:{type:"protan"},deuteranomaly:{type:"deutan",anomalize:!0},deuteranopia:{type:"deutan"},tritanomaly:{type:"tritan",anomalize:!0},tritanopia:{type:"tritan"},achromatomaly:{type:"achroma",anomalize:!0},achromatopsia:{type:"achroma"}},o=function(t){return Math.round(255*t)},l=function(t){return function(e,n){var l=r(e);if(!l)return n?{R:0,G:0,B:0}:"#000000";var s=new i({R:o(l.red()||0),G:o(l.green()||0),B:o(l.blue()||0)},a[t].type,a[t].anomalize);return(s.R=s.R||0,s.G=s.G||0,s.B=s.B||0,n)?(delete s.X,delete s.Y,delete s.Z,s):new r.RGB(s.R%256/255,s.G%256/255,s.B%256/255,1).hex()}};for(var s in a)e[s]=l(s)},8874:function(t){"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},19818:function(t,e,n){var r=n(8874),i=n(86851),a=Object.hasOwnProperty,o=Object.create(null);for(var l in r)a.call(r,l)&&(o[r[l]]=l);var s=t.exports={to:{},get:{}};function c(t,e,n){return Math.min(Math.max(e,t),n)}function u(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}s.get=function(t){var e,n;switch(t.substring(0,3).toLowerCase()){case"hsl":e=s.get.hsl(t),n="hsl";break;case"hwb":e=s.get.hwb(t),n="hwb";break;default:e=s.get.rgb(t),n="rgb"}return e?{model:n,value:e}:null},s.get.rgb=function(t){if(!t)return null;var e,n,i,o=[0,0,0,1];if(e=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(n=0,i=e[2],e=e[1];n<3;n++){var l=2*n;o[n]=parseInt(e.slice(l,l+2),16)}i&&(o[3]=parseInt(i,16)/255)}else if(e=t.match(/^#([a-f0-9]{3,4})$/i)){for(n=0,i=(e=e[1])[3];n<3;n++)o[n]=parseInt(e[n]+e[n],16);i&&(o[3]=parseInt(i+i,16)/255)}else if(e=t.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)o[n]=parseInt(e[n+1],0);e[4]&&(e[5]?o[3]=.01*parseFloat(e[4]):o[3]=parseFloat(e[4]))}else if(e=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)o[n]=Math.round(2.55*parseFloat(e[n+1]));e[4]&&(e[5]?o[3]=.01*parseFloat(e[4]):o[3]=parseFloat(e[4]))}else if(!(e=t.match(/^(\w+)$/)))return null;else return"transparent"===e[1]?[0,0,0,0]:a.call(r,e[1])?((o=r[e[1]])[3]=1,o):null;for(n=0;n<3;n++)o[n]=c(o[n],0,255);return o[3]=c(o[3],0,1),o},s.get.hsl=function(t){if(!t)return null;var e=t.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var n=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,c(parseFloat(e[2]),0,100),c(parseFloat(e[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},s.get.hwb=function(t){if(!t)return null;var e=t.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var n=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,c(parseFloat(e[2]),0,100),c(parseFloat(e[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},s.to.hex=function(){var t=i(arguments);return"#"+u(t[0])+u(t[1])+u(t[2])+(t[3]<1?u(Math.round(255*t[3])):"")},s.to.rgb=function(){var t=i(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},s.to.rgb.percent=function(){var t=i(arguments),e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),r=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+n+"%, "+r+"%)":"rgba("+e+"%, "+n+"%, "+r+"%, "+t[3]+")"},s.to.hsl=function(){var t=i(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},s.to.hwb=function(){var t=i(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},s.to.keyword=function(t){return o[t.slice(0,3)]}},91077:function(t,e,n){"use strict";function r(t,e){return te?1:t>=e?0:NaN}n.d(e,{Z:function(){return r}})},87568:function(t,e,n){"use strict";n.d(e,{Z:function(){return g}});var r=Array.prototype,i=r.slice;r.map;var a=n(44355);function o(t){return function(){return t}}var l=n(23865),s=n(10874),c=Math.sqrt(50),u=Math.sqrt(10),f=Math.sqrt(2);function d(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),a=r/Math.pow(10,i);return i>=0?(a>=c?10:a>=u?5:a>=f?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=c?10:a>=u?5:a>=f?2:1)}var h=n(89917);function p(t){return Math.ceil(Math.log((0,h.Z)(t))/Math.LN2)+1}function g(){var t=s.Z,e=l.Z,n=p;function r(r){Array.isArray(r)||(r=Array.from(r));var i,o,s=r.length,c=Array(s);for(i=0;i0?(t=Math.floor(t/i)*i,e=Math.ceil(e/i)*i):i<0&&(t=Math.ceil(t*i)/i,e=Math.floor(e*i)/i),r=i}}(f,h,n)),(p=function(t,e,n){var r,i,a,o,l=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e0){let n=Math.round(t/o),r=Math.round(e/o);for(n*oe&&--r,a=Array(i=r-n+1);++le&&--r,a=Array(i=r-n+1);++l=h){if(t>=h&&e===l.Z){let t=d(f,h,n);isFinite(t)&&(t>0?h=(Math.floor(h/t)+1)*t:t<0&&(h=-((Math.ceil(-(h*t))+1)/t)))}else p.pop()}}for(var g=p.length;p[0]<=f;)p.shift(),--g;for(;p[g-1]>h;)p.pop(),--g;var m,y=Array(g+1);for(i=0;i<=g;++i)(m=y[i]=[]).x0=i>0?p[i-1]:f,m.x1=i>>1;0>n(t[a],e)?r=a+1:i=a}return r}return 1===t.length&&(e=(e,n)=>t(e)-n,n=(e,n)=>(0,r.Z)(t(e),n)),{left:i,center:function(t,n,r,a){null==r&&(r=0),null==a&&(a=t.length);let o=i(t,n,r,a-1);return o>r&&e(t[o-1],n)>-e(t[o],n)?o-1:o},right:function(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r>>1;n(t[a],e)>0?i=a:r=a+1}return r}}}},89917:function(t,e,n){"use strict";function r(t,e){let n=0;if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&++n;else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(i=+i)>=i&&++n}return n}n.d(e,{Z:function(){return r}})},93209:function(t,e,n){"use strict";function r(t,e){let n=function(t,e){let n,r=0,i=0,a=0;if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(n=e-i,i+=n/++r,a+=n*(e-i));else{let o=-1;for(let l of t)null!=(l=e(l,++o,t))&&(l=+l)>=l&&(n=l-i,i+=n/++r,a+=n*(l-i))}if(r>1)return a/(r-1)}(t,e);return n?Math.sqrt(n):n}n.d(e,{Z:function(){return r}})},23865:function(t,e,n){"use strict";function r(t,e){let n,r;if(void 0===e)for(let e of t)null!=e&&(void 0===n?e>=e&&(n=r=e):(n>e&&(n=e),r=a&&(n=r=a):(n>a&&(n=a),r0){for(a=t[--e];e>0&&(a=(n=a)+(r=t[--e]),!(i=r-(a-n))););e>0&&(i<0&&t[e-1]<0||i>0&&t[e-1]>0)&&(n=a+(r=2*i),r==n-a&&(a=n))}return a}}},44022:function(t,e,n){"use strict";n.d(e,{ZP:function(){return l},Xx:function(){return s},jJ:function(){return c},Q3:function(){return u}});class r extends Map{constructor(t,e=a){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,n]of t)this.set(e,n)}get(t){return super.get(i(this,t))}has(t){return super.has(i(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},n){let r=e(n);return t.has(r)&&(n=t.get(n),t.delete(r)),n}(this,t))}}function i({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):n}function a(t){return null!==t&&"object"==typeof t?t.valueOf():t}var o=n(10874);function l(t,...e){return f(t,o.Z,o.Z,e)}function s(t,...e){return f(t,Array.from,o.Z,e)}function c(t,e,...n){return f(t,o.Z,e,n)}function u(t,e,...n){return f(t,Array.from,e,n)}function f(t,e,n,i){return function t(a,o){if(o>=i.length)return n(a);let l=new r,s=i[o++],c=-1;for(let t of a){let e=s(t,++c,a),n=l.get(e);n?n.push(t):l.set(e,[t])}for(let[e,n]of l)l.set(e,t(n,o));return e(l)}(t,0)}},28085:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(91077),i=n(44022),a=n(80732);function o(t,e,n){return(1===e.length?(0,a.Z)((0,i.jJ)(t,e,n),([t,e],[n,i])=>(0,r.Z)(e,i)||(0,r.Z)(t,n)):(0,a.Z)((0,i.ZP)(t,n),([t,n],[i,a])=>e(n,a)||(0,r.Z)(t,i))).map(([t])=>t)}},10874:function(t,e,n){"use strict";function r(t){return t}n.d(e,{Z:function(){return r}})},80091:function(){},98823:function(t,e,n){"use strict";function r(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n=i)&&(n=i)}return n}n.d(e,{Z:function(){return r}})},11616:function(t,e,n){"use strict";function r(t,e){let n;let r=-1,i=-1;if(void 0===e)for(let e of t)++i,null!=e&&(n=e)&&(n=e,r=i);else for(let a of t)null!=(a=e(a,++i,t))&&(n=a)&&(n=a,r=i);return r}n.d(e,{Z:function(){return r}})},71894:function(t,e,n){"use strict";function r(t,e){let n=0,r=0;if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(++n,r+=e);else{let i=-1;for(let a of t)null!=(a=e(a,++i,t))&&(a=+a)>=a&&(++n,r+=a)}if(n)return r/n}n.d(e,{Z:function(){return r}})},76132:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(51758);function i(t,e){return(0,r.Z)(t,.5,e)}},83502:function(t,e,n){"use strict";function r(t){return Array.from(function*(t){for(let e of t)yield*e}(t))}n.d(e,{Z:function(){return r}})},47622:function(t,e,n){"use strict";function r(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}n.d(e,{Z:function(){return r}})},18320:function(t,e,n){"use strict";function r(t,e){let n;let r=-1,i=-1;if(void 0===e)for(let e of t)++i,null!=e&&(n>e||void 0===n&&e>=e)&&(n=e,r=i);else for(let a of t)null!=(a=e(a,++i,t))&&(n>a||void 0===n&&a>=a)&&(n=a,r=i);return r}n.d(e,{Z:function(){return r}})},62921:function(t,e,n){"use strict";function r(t){return null===t?NaN:+t}function*i(t,e){if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(yield e);else{let n=-1;for(let r of t)null!=(r=e(r,++n,t))&&(r=+r)>=r&&(yield r)}}n.d(e,{K:function(){return i},Z:function(){return r}})},51758:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(98823),i=n(47622),a=n(91077);function o(t,e,n){let r=t[e];t[e]=t[n],t[n]=r}var l=n(62921);function s(t,e,n){if(s=(t=Float64Array.from((0,l.K)(t,n))).length){if((e=+e)<=0||s<2)return(0,i.Z)(t);if(e>=1)return(0,r.Z)(t);var s,c=(s-1)*e,u=Math.floor(c),f=(0,r.Z)((function t(e,n,r=0,i=e.length-1,l=a.Z){for(;i>r;){if(i-r>600){let a=i-r+1,o=n-r+1,s=Math.log(a),c=.5*Math.exp(2*s/3),u=.5*Math.sqrt(s*c*(a-c)/a)*(o-a/2<0?-1:1),f=Math.max(r,Math.floor(n-o*c/a+u)),d=Math.min(i,Math.floor(n+(a-o)*c/a+u));t(e,n,f,d,l)}let a=e[n],s=r,c=i;for(o(e,r,n),l(e[i],a)>0&&o(e,r,i);sl(e[s],a);)++s;for(;l(e[c],a)>0;)--c}0===l(e[r],a)?o(e,r,c):o(e,++c,i),c<=n&&(r=c+1),n<=c&&(i=c-1)}return e})(t,u).subarray(0,u+1));return f+((0,i.Z)(t.subarray(u+1))-f)*(c-u)}}},80732:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(91077);function i(t,...e){if("function"!=typeof t[Symbol.iterator])throw TypeError("values is not iterable");t=Array.from(t);let[n=r.Z]=e;if(1===n.length||e.length>1){var a;let i=Uint32Array.from(t,(t,e)=>e);return e.length>1?(e=e.map(e=>t.map(e)),i.sort((t,n)=>{for(let i of e){let e=(0,r.Z)(i[t],i[n]);if(e)return e}})):(n=t.map(n),i.sort((t,e)=>(0,r.Z)(n[t],n[e]))),a=t,Array.from(i,t=>a[t])}return t.sort(n)}},90155:function(t,e,n){"use strict";function r(t,e){let n=0;if(void 0===e)for(let e of t)(e=+e)&&(n+=e);else{let r=-1;for(let i of t)(i=+e(i,++r,t))&&(n+=i)}return n}n.d(e,{Z:function(){return r}})},52362:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(89917),i=n(93209);function a(t,e,n){return Math.ceil((n-e)/(3.5*(0,i.Z)(t)*Math.pow((0,r.Z)(t),-1/3)))}},16372:function(t,e,n){"use strict";n.d(e,{B8:function(){return k},Il:function(){return i},J5:function(){return o},SU:function(){return _},Ss:function(){return M},ZP:function(){return x},xV:function(){return a}});var r=n(44087);function i(){}var a=.7,o=1.4285714285714286,l="\\s*([+-]?\\d+)\\s*",s="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",u=/^#([0-9a-f]{3,8})$/,f=RegExp("^rgb\\("+[l,l,l]+"\\)$"),d=RegExp("^rgb\\("+[c,c,c]+"\\)$"),h=RegExp("^rgba\\("+[l,l,l,s]+"\\)$"),p=RegExp("^rgba\\("+[c,c,c,s]+"\\)$"),g=RegExp("^hsl\\("+[s,c,c]+"\\)$"),m=RegExp("^hsla\\("+[s,c,c,s]+"\\)$"),y={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function v(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function x(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=u.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?O(e):3===n?new M(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?w(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?w(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=f.exec(t))?new M(e[1],e[2],e[3],1):(e=d.exec(t))?new M(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=h.exec(t))?w(e[1],e[2],e[3],e[4]):(e=p.exec(t))?w(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=g.exec(t))?S(e[1],e[2]/100,e[3]/100,1):(e=m.exec(t))?S(e[1],e[2]/100,e[3]/100,e[4]):y.hasOwnProperty(t)?O(y[t]):"transparent"===t?new M(NaN,NaN,NaN,0):null}function O(t){return new M(t>>16&255,t>>8&255,255&t,1)}function w(t,e,n,r){return r<=0&&(t=e=n=NaN),new M(t,e,n,r)}function _(t){return(t instanceof i||(t=x(t)),t)?(t=t.rgb(),new M(t.r,t.g,t.b,t.opacity)):new M}function k(t,e,n,r){return 1==arguments.length?_(t):new M(t,e,n,null==r?1:r)}function M(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function C(){return"#"+A(this.r)+A(this.g)+A(this.b)}function j(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function A(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function S(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new P(t,e,n,r)}function E(t){if(t instanceof P)return new P(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=x(t)),!t)return new P;if(t instanceof P)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,a=Math.min(e,n,r),o=Math.max(e,n,r),l=NaN,s=o-a,c=(o+a)/2;return s?(l=e===o?(n-r)/s+(n0&&c<1?0:l,new P(l,s,c,t.opacity)}function P(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function R(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}(0,r.Z)(i,x,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:v,formatHex:v,formatHsl:function(){return E(this).formatHsl()},formatRgb:b,toString:b}),(0,r.Z)(M,k,(0,r.l)(i,{brighter:function(t){return t=null==t?o:Math.pow(o,t),new M(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new M(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:C,formatHex:C,formatRgb:j,toString:j})),(0,r.Z)(P,function(t,e,n,r){return 1==arguments.length?E(t):new P(t,e,n,null==r?1:r)},(0,r.l)(i,{brighter:function(t){return t=null==t?o:Math.pow(o,t),new P(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new P(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new M(R(t>=240?t-240:t+120,i,r),R(t,i,r),R(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},44087:function(t,e,n){"use strict";function r(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function i(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}n.d(e,{Z:function(){return r},l:function(){return i}})},92626:function(t,e){"use strict";var n={value:()=>{}};function r(){for(var t,e=0,n=arguments.length,r={};e=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}}),o=-1,l=i.length;if(arguments.length<2){for(;++o0)for(var n,r,i=Array(n),a=0;a=l?u=!0:10===(a=t.charCodeAt(s++))?f=!0:13===a&&(f=!0,10===t.charCodeAt(s)&&++s),t.slice(o+1,e-1).replace(/""/g,'"')}for(;s9999?"+"+l(s,6):l(s,4))+"-"+l(n.getUTCMonth()+1,2)+"-"+l(n.getUTCDate(),2)+(o?"T"+l(r,2)+":"+l(i,2)+":"+l(a,2)+"."+l(o,3)+"Z":a?"T"+l(r,2)+":"+l(i,2)+":"+l(a,2)+"Z":i||r?"T"+l(r,2)+":"+l(i,2)+"Z":"")):e.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var n,r,i=s(t,function(t,i){var o;if(n)return n(t,i-1);r=t,n=e?(o=a(t),function(n,r){return e(o(n),r,t)}):a(t)});return i.columns=r||[],i},parseRows:s,format:function(e,n){return null==n&&(n=o(e)),[n.map(f).join(t)].concat(c(e,n)).join("\n")},formatBody:function(t,e){return null==e&&(e=o(t)),c(t,e).join("\n")},formatRows:function(t){return t.map(u).join("\n")},formatRow:u,formatValue:f}}},77715:function(t,e,n){"use strict";function r(t,e){var n,r=1;function i(){var i,a,o=n.length,l=0,s=0;for(i=0;i[f(t,e,l),t]));for(r=0,s=Array(a);r=(a=(g+y)/2))?g=a:y=a,(u=n>=(o=(m+v)/2))?m=o:v=o,i=h,!(h=h[f=u<<1|c]))return i[f]=p,t;if(l=+t._x.call(null,h.data),s=+t._y.call(null,h.data),e===l&&n===s)return p.next=h,i?i[f]=p:t._root=p,t;do i=i?i[f]=[,,,,]:t._root=[,,,,],(c=e>=(a=(g+y)/2))?g=a:y=a,(u=n>=(o=(m+v)/2))?m=o:v=o;while((f=u<<1|c)==(d=(s>=o)<<1|l>=a));return i[d]=h,i[f]=p,t}function i(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i}function a(t){return t[0]}function o(t){return t[1]}function l(t,e,n){var r=new s(null==e?a:e,null==n?o:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function s(t,e,n,r,i,a){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=a,this._root=void 0}function c(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}n.d(e,{Z:function(){return p}});var u=l.prototype=s.prototype;u.copy=function(){var t,e,n=new s(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=c(r),n;for(t=[{source:r,target:n._root=[,,,,]}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=[,,,,]}):r.target[i]=c(e));return n},u.add=function(t){let e=+this._x.call(null,t),n=+this._y.call(null,t);return r(this.cover(e,n),e,n,t)},u.addAll=function(t){var e,n,i,a,o=t.length,l=Array(o),s=Array(o),c=1/0,u=1/0,f=-1/0,d=-1/0;for(n=0;nf&&(f=i),ad&&(d=a));if(c>f||u>d)return this;for(this.cover(c,u).cover(f,d),n=0;nt||t>=i||r>e||e>=a;)switch(l=(eh)&&!((o=c.y0)>p)&&!((l=c.x1)=v)<<1|t>=y)&&(c=g[g.length-1],g[g.length-1]=g[g.length-1-u],g[g.length-1-u]=c)}else{var b=t-+this._x.call(null,m.data),x=e-+this._y.call(null,m.data),O=b*b+x*x;if(O=(l=(p+m)/2))?p=l:m=l,(u=o>=(s=(g+y)/2))?g=s:y=s,e=h,!(h=h[f=u<<1|c]))return this;if(!h.length)break;(e[f+1&3]||e[f+2&3]||e[f+3&3])&&(n=e,d=f)}for(;h.data!==t;)if(r=h,!(h=h.next))return this;return((i=h.next)&&delete h.next,r)?(i?r.next=i:delete r.next,this):e?(i?e[f]=i:delete e[f],(h=e[0]||e[1]||e[2]||e[3])&&h===(e[3]||e[2]||e[1]||e[0])&&!h.length&&(n?n[d]=h:this._root=h),this):(this._root=i,this)},u.removeAll=function(t){for(var e=0,n=t.length;e=s)){(t.data!==e||t.next)&&(0===f&&(g+=(f=(0,d.Z)(n))*f),0===h&&(g+=(h=(0,d.Z)(n))*h),g(e=(1664525*e+1013904223)%4294967296)/4294967296);function g(){m(),h.call("tick",n),a1?(null==e?f.delete(t):f.set(t,v(e)),n):f.get(t)},find:function(e,n,r){var i,a,o,l,s,c=0,u=t.length;for(null==r?r=1/0:r*=r,c=0;c1?(h.on(t,e),n):h.on(t)}}}},26464:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(27898);function i(t){var e,n,i,a=(0,r.Z)(.1);function o(t){for(var r,a=0,o=e.length;a1?r[0]+r.slice(2):r,+t.slice(n+1)]}n.d(e,{WU:function(){return o}});var i,a,o,l=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function s(t){var e;if(!(e=l.exec(t)))throw Error("invalid format: "+t);return new c({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function c(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function u(t,e){var n=r(t,e);if(!n)return t+"";var i=n[0],a=n[1];return a<0?"0."+Array(-a).join("0")+i:i.length>a+1?i.slice(0,a+1)+"."+i.slice(a+1):i+Array(a-i.length+2).join("0")}s.prototype=c.prototype,c.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var f={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>u(100*t,e),r:u,s:function(t,e){var n=r(t,e);if(!n)return t+"";var a=n[0],o=n[1],l=o-(i=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,s=a.length;return l===s?a:l>s?a+Array(l-s+1).join("0"):l>0?a.slice(0,l)+"."+a.slice(l):"0."+Array(1-l).join("0")+r(t,Math.max(0,e+l-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function d(t){return t}var h=Array.prototype.map,p=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];o=(a=function(t){var e,n,a,o=void 0===t.grouping||void 0===t.thousands?d:(e=h.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,a=[],o=0,l=e[0],s=0;i>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),a.push(t.substring(i-=l,i+l)),!((s+=l+1)>r));)l=e[o=(o+1)%e.length];return a.reverse().join(n)}),l=void 0===t.currency?"":t.currency[0]+"",c=void 0===t.currency?"":t.currency[1]+"",u=void 0===t.decimal?".":t.decimal+"",g=void 0===t.numerals?d:(a=h.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return a[+t]})}),m=void 0===t.percent?"%":t.percent+"",y=void 0===t.minus?"−":t.minus+"",v=void 0===t.nan?"NaN":t.nan+"";function b(t){var e=(t=s(t)).fill,n=t.align,r=t.sign,a=t.symbol,d=t.zero,h=t.width,b=t.comma,x=t.precision,O=t.trim,w=t.type;"n"===w?(b=!0,w="g"):f[w]||(void 0===x&&(x=12),O=!0,w="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=");var _="$"===a?l:"#"===a&&/[boxX]/.test(w)?"0"+w.toLowerCase():"",k="$"===a?c:/[%p]/.test(w)?m:"",M=f[w],C=/[defgprs%]/.test(w);function j(t){var a,l,s,c=_,f=k;if("c"===w)f=M(t)+f,t="";else{var m=(t=+t)<0||1/t<0;if(t=isNaN(t)?v:M(Math.abs(t),x),O&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),m&&0==+t&&"+"!==r&&(m=!1),c=(m?"("===r?r:y:"-"===r||"("===r?"":r)+c,f=("s"===w?p[8+i/3]:"")+f+(m&&"("===r?")":""),C){for(a=-1,l=t.length;++a(s=t.charCodeAt(a))||s>57){f=(46===s?u+t.slice(a+1):t.slice(a))+f,t=t.slice(0,a);break}}}b&&!d&&(t=o(t,1/0));var j=c.length+t.length+f.length,A=j>1)+c+t+f+A.slice(j);break;default:t=A+c+t+f}return g(t)}return x=void 0===x?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,x)):Math.max(0,Math.min(20,x)),j.toString=function(){return t+""},j}return{format:b,formatPrefix:function(t,e){var n,i=b(((t=s(t)).type="f",t)),a=3*Math.max(-8,Math.min(8,Math.floor(((n=r(Math.abs(n=e)))?n[1]:NaN)/3))),o=Math.pow(10,-a),l=p[8+a/3];return function(t){return i(o*t)+l}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,a.formatPrefix},38627:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(11344);function i(){var t,e=[];return{point:function(e,n,r){t.push([e,n,r])},lineStart:function(){e.push(t=[])},lineEnd:r.Z,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}},85142:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(55350),i=n(38627),a=n(58684),o=n(83502);function l(t,e,n,l){function s(r,i){return t<=r&&r<=n&&e<=i&&i<=l}function c(r,i,a,o){var s=0,c=0;if(null==r||(s=u(r,a))!==(c=u(i,a))||0>d(r,i)^a>0)do o.point(0===s||3===s?t:n,s>1?l:e);while((s=(s+a+4)%4)!==c);else o.point(i[0],i[1])}function u(i,a){return(0,r.Wn)(i[0]-t)0?0:3:(0,r.Wn)(i[0]-n)0?2:1:(0,r.Wn)(i[1]-e)0?1:0:a>0?3:2}function f(t,e){return d(t.x,e.x)}function d(t,e){var n=u(t,1),r=u(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(r){var u,d,h,p,g,m,y,v,b,x,O,w=r,_=(0,i.Z)(),k={point:M,lineStart:function(){k.point=C,d&&d.push(h=[]),x=!0,b=!1,y=v=NaN},lineEnd:function(){u&&(C(p,g),m&&b&&_.rejoin(),u.push(_.result())),k.point=M,b&&w.lineEnd()},polygonStart:function(){w=_,u=[],d=[],O=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,r=d.length;nl&&(f-i)*(l-a)>(h-a)*(t-i)&&++e:h<=l&&(f-i)*(l-a)<(h-a)*(t-i)&&--e;return e}(),n=O&&e,i=(u=(0,o.Z)(u)).length;(n||i)&&(r.polygonStart(),n&&(r.lineStart(),c(null,null,1,r),r.lineEnd()),i&&(0,a.Z)(u,f,e,c,r),r.polygonEnd()),w=r,u=d=h=null}};function M(t,e){s(t,e)&&w.point(t,e)}function C(r,i){var a=s(r,i);if(d&&h.push([r,i]),x)p=r,g=i,m=a,x=!1,a&&(w.lineStart(),w.point(r,i));else if(a&&b)w.point(r,i);else{var o=[y=Math.max(-1e9,Math.min(1e9,y)),v=Math.max(-1e9,Math.min(1e9,v))],c=[r=Math.max(-1e9,Math.min(1e9,r)),i=Math.max(-1e9,Math.min(1e9,i))];!function(t,e,n,r,i,a){var o,l=t[0],s=t[1],c=e[0],u=e[1],f=0,d=1,h=c-l,p=u-s;if(o=n-l,h||!(o>0)){if(o/=h,h<0){if(o0){if(o>d)return;o>f&&(f=o)}if(o=i-l,h||!(o<0)){if(o/=h,h<0){if(o>d)return;o>f&&(f=o)}else if(h>0){if(o0)){if(o/=p,p<0){if(o0){if(o>d)return;o>f&&(f=o)}if(o=a-s,p||!(o<0)){if(o/=p,p<0){if(o>d)return;o>f&&(f=o)}else if(p>0){if(o0&&(t[0]=l+f*h,t[1]=s+f*p),d<1&&(e[0]=l+d*h,e[1]=s+d*p),!0}}}}}(o,c,t,e,n,l)?a&&(w.lineStart(),w.point(r,i),O=!1):(b||(w.lineStart(),w.point(o[0],o[1])),w.point(c[0],c[1]),a||w.lineEnd(),O=!1)}y=r,v=i,b=a}return k}}},58684:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(55228),i=n(55350);function a(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function o(t,e,n,o,s){var c,u,f=[],d=[];if(t.forEach(function(t){if(!((e=t.length-1)<=0)){var e,n,o=t[0],l=t[e];if((0,r.Z)(o,l)){if(!o[2]&&!l[2]){for(s.lineStart(),c=0;c=0;--c)s.point((p=h[c])[0],p[1]);else o(m.x,m.p.x,-1,s);m=m.p}h=(m=m.o).z,y=!y}while(!m.v);s.lineEnd()}}}function l(t){if(e=t.length){for(var e,n,r=0,i=t[0];++ri.Ho}).map(d)).concat(r((0,i.mD)(c/y)*y,s,y).filter(function(t){return(0,i.Wn)(t%b)>i.Ho}).map(h))}return O.lines=function(){return w().map(function(t){return{type:"LineString",coordinates:t}})},O.outline=function(){return{type:"Polygon",coordinates:[p(l).concat(g(u).slice(1),p(n).reverse().slice(1),g(f).reverse().slice(1))]}},O.extent=function(t){return arguments.length?O.extentMajor(t).extentMinor(t):O.extentMinor()},O.extentMajor=function(t){return arguments.length?(l=+t[0][0],n=+t[1][0],f=+t[0][1],u=+t[1][1],l>n&&(t=l,l=n,n=t),f>u&&(t=f,f=u,u=t),O.precision(x)):[[l,f],[n,u]]},O.extentMinor=function(n){return arguments.length?(e=+n[0][0],t=+n[1][0],c=+n[0][1],s=+n[1][1],e>t&&(n=e,e=t,t=n),c>s&&(n=c,c=s,s=n),O.precision(x)):[[e,c],[t,s]]},O.step=function(t){return arguments.length?O.stepMajor(t).stepMinor(t):O.stepMinor()},O.stepMajor=function(t){return arguments.length?(v=+t[0],b=+t[1],O):[v,b]},O.stepMinor=function(t){return arguments.length?(m=+t[0],y=+t[1],O):[m,y]},O.precision=function(r){return arguments.length?(x=+r,d=a(c,s,90),h=o(e,t,x),p=a(f,u,90),g=o(l,n,x),O):x},O.extentMajor([[-180,-90+i.Ho],[180,90-i.Ho]]).extentMinor([[-180,-80-i.Ho],[180,80+i.Ho]])})()()}},67423:function(t,e){"use strict";e.Z=t=>t},55350:function(t,e,n){"use strict";n.d(e,{BZ:function(){return s},Ho:function(){return r},Kh:function(){return _},O$:function(){return b},OR:function(){return w},Qq:function(){return m},RW:function(){return c},Wn:function(){return f},Xx:function(){return x},ZR:function(){return k},_b:function(){return O},aW:function(){return i},cM:function(){return y},fv:function(){return h},mC:function(){return p},mD:function(){return g},ou:function(){return o},pi:function(){return a},pu:function(){return l},sQ:function(){return v},uR:function(){return u},z4:function(){return d}});var r=1e-6,i=1e-12,a=Math.PI,o=a/2,l=a/4,s=2*a,c=180/a,u=a/180,f=Math.abs,d=Math.atan,h=Math.atan2,p=Math.cos,g=Math.ceil,m=Math.exp,y=Math.log,v=Math.pow,b=Math.sin,x=Math.sign||function(t){return t>0?1:t<0?-1:0},O=Math.sqrt,w=Math.tan;function _(t){return t>1?0:t<-1?a:Math.acos(t)}function k(t){return t>1?o:t<-1?-o:Math.asin(t)}},11344:function(t,e,n){"use strict";function r(){}n.d(e,{Z:function(){return r}})},3310:function(t,e,n){"use strict";var r=n(11344),i=1/0,a=1/0,o=-1/0,l=o,s={point:function(t,e){to&&(o=t),el&&(l=e)},lineStart:r.Z,lineEnd:r.Z,polygonStart:r.Z,polygonEnd:r.Z,result:function(){var t=[[i,a],[o,l]];return o=l=-(a=i=1/0),t}};e.Z=s},30348:function(t,e,n){"use strict";n.d(e,{Z:function(){return te}});var r,i,a,o,l=n(67423),s=n(23311),c=n(75801),u=n(55350),f=n(11344),d=new c.dU,h=new c.dU,p={point:f.Z,lineStart:f.Z,lineEnd:f.Z,polygonStart:function(){p.lineStart=g,p.lineEnd=v},polygonEnd:function(){p.lineStart=p.lineEnd=p.point=f.Z,d.add((0,u.Wn)(h)),h=new c.dU},result:function(){var t=d/2;return d=new c.dU,t}};function g(){p.point=m}function m(t,e){p.point=y,r=a=t,i=o=e}function y(t,e){h.add(o*t-a*e),a=t,o=e}function v(){y(r,i)}var b,x,O,w,_=n(3310),k=0,M=0,C=0,j=0,A=0,S=0,E=0,P=0,R=0,T={point:Z,lineStart:L,lineEnd:N,polygonStart:function(){T.lineStart=D,T.lineEnd=F},polygonEnd:function(){T.point=Z,T.lineStart=L,T.lineEnd=N},result:function(){var t=R?[E/R,P/R]:S?[j/S,A/S]:C?[k/C,M/C]:[NaN,NaN];return k=M=C=j=A=S=E=P=R=0,t}};function Z(t,e){k+=t,M+=e,++C}function L(){T.point=B}function B(t,e){T.point=I,Z(O=t,w=e)}function I(t,e){var n=t-O,r=e-w,i=(0,u._b)(n*n+r*r);j+=i*(O+t)/2,A+=i*(w+e)/2,S+=i,Z(O=t,w=e)}function N(){T.point=Z}function D(){T.point=z}function F(){$(b,x)}function z(t,e){T.point=$,Z(b=O=t,x=w=e)}function $(t,e){var n=t-O,r=e-w,i=(0,u._b)(n*n+r*r);j+=i*(O+t)/2,A+=i*(w+e)/2,S+=i,E+=(i=w*t-O*e)*(O+t),P+=i*(w+e),R+=3*i,Z(O=t,w=e)}function W(t){this._context=t}W.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,u.BZ)}},result:f.Z};var H,G,q,V,Y,U=new c.dU,Q={point:f.Z,lineStart:function(){Q.point=K},lineEnd:function(){H&&X(G,q),Q.point=f.Z},polygonStart:function(){H=!0},polygonEnd:function(){H=null},result:function(){var t=+U;return U=new c.dU,t}};function K(t,e){Q.point=X,G=V=t,q=Y=e}function X(t,e){V-=t,Y-=e,U.add((0,u._b)(V*V+Y*Y)),V=t,Y=e}function J(){this._string=[]}function tt(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function te(t,e){var n,r,i=4.5;function a(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),(0,s.Z)(t,n(r))),r.result()}return a.area=function(t){return(0,s.Z)(t,n(p)),p.result()},a.measure=function(t){return(0,s.Z)(t,n(Q)),Q.result()},a.bounds=function(t){return(0,s.Z)(t,n(_.Z)),_.Z.result()},a.centroid=function(t){return(0,s.Z)(t,n(T)),T.result()},a.projection=function(e){return arguments.length?(n=null==e?(t=null,l.Z):(t=e).stream,a):t},a.context=function(t){return arguments.length?(r=null==t?(e=null,new J):new W(e=t),"function"!=typeof i&&r.pointRadius(i),a):e},a.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),a):i},a.projection(t).context(e)}J.prototype={_radius:4.5,_circle:tt(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=tt(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(!this._string.length)return null;var t=this._string.join("");return this._string=[],t}}},55228:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(55350);function i(t,e){return(0,r.Wn)(t[0]-e[0])=.12&&i<.234&&r>=-.425&&r<-.214?f:i>=.166&&i<.234&&r>=-.214&&r<-.115?d:u).invert(t)},p.stream=function(n){var r,i;return t&&e===n?t:(i=(r=[u.stream(e=n),f.stream(n),d.stream(n)]).length,t={point:function(t,e){for(var n=-1;++n0?e<-r.ou+r.Ho&&(e=-r.ou+r.Ho):e>r.ou-r.Ho&&(e=r.ou-r.Ho);var n=l/(0,r.sQ)(o(e),i);return[n*(0,r.O$)(i*t),l-n*(0,r.mC)(i*t)]}return s.invert=function(t,e){var n=l-e,a=(0,r.Xx)(i)*(0,r._b)(t*t+n*n),o=(0,r.fv)(t,(0,r.Wn)(n))*(0,r.Xx)(n);return n*i<0&&(o-=r.pi*(0,r.Xx)(t)*(0,r.Xx)(n)),[o/i,2*(0,r.z4)((0,r.sQ)(l/a,1/i))-r.ou]},s}function s(){return(0,i.o)(l).scale(109.5).parallels([30,30])}},26477:function(t,e,n){"use strict";n.d(e,{v:function(){return a},Z:function(){return o}});var r=n(55350),i=n(53388);function a(t,e){var n=(0,r.O$)(t),i=(n+(0,r.O$)(e))/2;if((0,r.Wn)(i)=0?1:-1,R=P*E,T=R>a.pi,Z=w*A;if(d.add((0,a.fv)(Z*P*(0,a.O$)(R),_*S+Z*(0,a.mC)(R))),c+=T?E+P*a.BZ:E,T^x>=n^C>=n){var L=u(s(b),s(M));h(L);var B=u(l,L);h(B);var I=(T^E>=0?-1:1)*(0,a.ZR)(B[2]);(r>I||r===I&&(L[0]||L[1]))&&(f+=T^E>=0?1:-1)}}return(c<-a.Ho||c0){for(w||(c.polygonStart(),w=!0),c.lineStart(),t=0;t1&&2&i&&a.push(a.pop().concat(a.shift())),d.push(a.filter(y))}}return _}}function y(t){return t.length>1}function v(t,e){return((t=t.x)[0]<0?t[1]-a.ou-a.Ho:a.ou-t[1])-((e=e.x)[0]<0?e[1]-a.ou-a.Ho:a.ou-e[1])}var b=m(function(){return!0},function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,l){var s,c,u,f,d,h,p=o>0?a.pi:-a.pi,g=(0,a.Wn)(o-n);(0,a.Wn)(g-a.pi)0?a.ou:-a.ou),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(p,r),t.point(o,r),e=0):i!==p&&g>=a.pi&&((0,a.Wn)(n-i)a.Ho?(0,a.z4)(((0,a.O$)(c)*(d=(0,a.mC)(l))*(0,a.O$)(u)-(0,a.O$)(l)*(f=(0,a.mC)(c))*(0,a.O$)(s))/(f*d*h)):(c+l)/2,t.point(i,r),t.lineEnd(),t.lineStart(),t.point(p,r),e=0),t.point(n=o,r=l),i=p},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}},function(t,e,n,r){var i;if(null==t)i=n*a.ou,r.point(-a.pi,i),r.point(0,i),r.point(a.pi,i),r.point(a.pi,0),r.point(a.pi,-i),r.point(0,-i),r.point(-a.pi,-i),r.point(-a.pi,0),r.point(-a.pi,i);else if((0,a.Wn)(t[0]-e[0])>a.Ho){var o=t[0]-e[2]?-n:n)+a.BZ-a.Ho)%a.BZ}var O=n(55228),w=n(85142),_=n(44079),k=n(67423),M=n(51613),C=n(20071),j=n(83776),A=(0,a.mC)(30*a.uR);function S(t,e){return+e?function(t,e){function n(r,i,o,l,s,c,u,f,d,h,p,g,m,y){var v=u-r,b=f-i,x=v*v+b*b;if(x>4*e&&m--){var O=l+h,w=s+p,_=c+g,k=(0,a._b)(O*O+w*w+_*_),M=(0,a.ZR)(_/=k),C=(0,a.Wn)((0,a.Wn)(_)-1)e||(0,a.Wn)((v*P+b*R)/x-.5)>.3||l*h+s*p+c*g0,i=(0,a.Wn)(e)>a.Ho;function o(t,n){return(0,a.mC)(t)*(0,a.mC)(n)>e}function h(t,n,r){var i=s(t),o=s(n),h=[1,0,0],p=u(i,o),g=c(p,p),m=p[0],y=g-m*m;if(!y)return!r&&t;var v=e*g/y,b=-e*m/y,x=u(h,p),O=d(h,v);f(O,d(p,b));var w=c(O,x),_=c(x,x),k=w*w-_*(c(O,O)-1);if(!(k<0)){var M=(0,a._b)(k),C=d(x,(-w-M)/_);if(f(C,O),C=l(C),!r)return C;var j,A=t[0],S=n[0],E=t[1],P=n[1];S0^C[1]<((0,a.Wn)(C[0]-A)a.pi^(A<=C[0]&&C[0]<=S)){var L=d(x,(-w+M)/_);return f(L,O),[C,l(L)]}}}function p(e,n){var i=r?t:a.pi-t,o=0;return e<-i?o|=1:e>i&&(o|=2),n<-i?o|=4:n>i&&(o|=8),o}return m(o,function(t){var e,n,l,s,c;return{lineStart:function(){s=l=!1,c=1},point:function(u,f){var d,g,m=[u,f],y=o(u,f),v=r?y?0:p(u,f):y?p(u+(u<0?a.pi:-a.pi),f):0;!e&&(s=l=y)&&t.lineStart(),y!==l&&(!(g=h(e,m))||(0,O.Z)(e,g)||(0,O.Z)(m,g))&&(m[2]=1),y!==l?(c=0,y?(t.lineStart(),g=h(m,e),t.point(g[0],g[1])):(g=h(e,m),t.point(g[0],g[1],2),t.lineEnd()),e=g):i&&e&&r^y&&!(v&n)&&(d=h(m,e,!0))&&(c=0,r?(t.lineStart(),t.point(d[0][0],d[0][1]),t.point(d[1][0],d[1][1]),t.lineEnd()):(t.point(d[1][0],d[1][1]),t.lineEnd(),t.lineStart(),t.point(d[0][0],d[0][1],3))),!y||e&&(0,O.Z)(e,m)||t.point(m[0],m[1]),e=m,l=y,n=v},lineEnd:function(){l&&t.lineEnd(),e=null},clean:function(){return c|(s&&l)<<1}}},function(e,r,i,o){!function(t,e,n,r,i,o){if(n){var s=(0,a.mC)(e),c=(0,a.O$)(e),u=r*n;null==i?(i=e+r*a.BZ,o=e-u/2):(i=x(s,i),o=x(s,o),(r>0?io)&&(i+=r*a.BZ));for(var f,d=i;r>0?d>o:d2?t[2]%360*a.uR:0,U()):[B*a.RW,I*a.RW,N*a.RW]},V.angle=function(t){return arguments.length?(D=t%360*a.uR,U()):D*a.RW},V.reflectX=function(t){return arguments.length?(F=t?-1:1,U()):F<0},V.reflectY=function(t){return arguments.length?(z=t?-1:1,U()):z<0},V.precision=function(t){return arguments.length?(h=S(p,q=t*t),Q()):(0,a._b)(q)},V.fitExtent=function(t,e){return(0,j.qg)(V,t,e)},V.fitSize=function(t,e){return(0,j.mF)(V,t,e)},V.fitWidth=function(t,e){return(0,j.V6)(V,t,e)},V.fitHeight=function(t,e){return(0,j.rf)(V,t,e)},function(){return e=t.apply(this,arguments),V.invert=e.invert&&Y,U()}}},23007:function(t,e,n){"use strict";n.d(e,{ZP:function(){return l},hk:function(){return o},iW:function(){return s}});var r=n(55350),i=n(51613),a=n(32427);function o(t,e){return[t,(0,r.cM)((0,r.OR)((r.ou+e)/2))]}function l(){return s(o).scale(961/r.BZ)}function s(t){var e,n,l,s=(0,a.Z)(t),c=s.center,u=s.scale,f=s.translate,d=s.clipExtent,h=null;function p(){var a=r.pi*u(),c=s((0,i.Z)(s.rotate()).invert([0,0]));return d(null==h?[[c[0]-a,c[1]-a],[c[0]+a,c[1]+a]]:t===o?[[Math.max(c[0]-a,h),e],[Math.min(c[0]+a,n),l]]:[[h,Math.max(c[1]-a,e)],[n,Math.min(c[1]+a,l)]])}return s.scale=function(t){return arguments.length?(u(t),p()):u()},s.translate=function(t){return arguments.length?(f(t),p()):f()},s.center=function(t){return arguments.length?(c(t),p()):c()},s.clipExtent=function(t){return arguments.length?(null==t?h=e=n=l=null:(h=+t[0][0],e=+t[0][1],n=+t[1][0],l=+t[1][1]),p()):null==h?null:[[h,e],[n,l]]},p()}o.invert=function(t,e){return[t,2*(0,r.z4)((0,r.Qq)(e))-r.ou]}},38839:function(t,e,n){"use strict";n.d(e,{K:function(){return a},Z:function(){return o}});var r=n(32427),i=n(55350);function a(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(-.013791+r*(.003971*n-.001529*r))),e*(1.007226+n*(.015085+r*(-.044475+.028874*n-.005916*r)))]}function o(){return(0,r.Z)(a).scale(175.295)}a.invert=function(t,e){var n,r=e,a=25;do{var o=r*r,l=o*o;r-=n=(r*(1.007226+o*(.015085+l*(-.044475+.028874*o-.005916*l)))-e)/(1.007226+o*(.045255+l*(-.311325+.259866*o-.005916*11*l)))}while((0,i.Wn)(n)>i.Ho&&--a>0);return[t/(.8707+(o=r*r)*(-.131979+o*(-.013791+o*o*o*(.003971-.001529*o)))),r]}},50435:function(t,e,n){"use strict";n.d(e,{I:function(){return o},Z:function(){return l}});var r=n(55350),i=n(93824),a=n(32427);function o(t,e){return[(0,r.mC)(e)*(0,r.O$)(t),(0,r.O$)(e)]}function l(){return(0,a.Z)(o).scale(249.5).clipAngle(90+r.Ho)}o.invert=(0,i.O)(r.ZR)},30378:function(t,e,n){"use strict";n.d(e,{T:function(){return o},Z:function(){return l}});var r=n(55350),i=n(93824),a=n(32427);function o(t,e){var n=(0,r.mC)(e),i=1+(0,r.mC)(t)*n;return[n*(0,r.O$)(t)/i,(0,r.O$)(e)/i]}function l(){return(0,a.Z)(o).scale(250).clipAngle(142)}o.invert=(0,i.O)(function(t){return 2*(0,r.z4)(t)})},17421:function(t,e,n){"use strict";n.d(e,{F:function(){return a},Z:function(){return o}});var r=n(55350),i=n(23007);function a(t,e){return[(0,r.cM)((0,r.OR)((r.ou+e)/2)),-t]}function o(){var t=(0,i.iW)(a),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)}a.invert=function(t,e){return[-e,2*(0,r.z4)((0,r.Qq)(t))-r.ou]}},51613:function(t,e,n){"use strict";n.d(e,{I:function(){return o},Z:function(){return u}});var r=n(44079),i=n(55350);function a(t,e){return[(0,i.Wn)(t)>i.pi?t+Math.round(-t/i.BZ)*i.BZ:t,e]}function o(t,e,n){return(t%=i.BZ)?e||n?(0,r.Z)(s(t),c(e,n)):s(t):e||n?c(e,n):a}function l(t){return function(e,n){return[(e+=t)>i.pi?e-i.BZ:e<-i.pi?e+i.BZ:e,n]}}function s(t){var e=l(t);return e.invert=l(-t),e}function c(t,e){var n=(0,i.mC)(t),r=(0,i.O$)(t),a=(0,i.mC)(e),o=(0,i.O$)(e);function l(t,e){var l=(0,i.mC)(e),s=(0,i.mC)(t)*l,c=(0,i.O$)(t)*l,u=(0,i.O$)(e),f=u*n+s*r;return[(0,i.fv)(c*a-f*o,s*n-u*r),(0,i.ZR)(f*a+c*o)]}return l.invert=function(t,e){var l=(0,i.mC)(e),s=(0,i.mC)(t)*l,c=(0,i.O$)(t)*l,u=(0,i.O$)(e),f=u*a-c*o;return[(0,i.fv)(c*a+u*o,s*n+f*r),(0,i.ZR)(f*n-s*r)]},l}function u(t){function e(e){return e=t(e[0]*i.uR,e[1]*i.uR),e[0]*=i.RW,e[1]*=i.RW,e}return t=o(t[0]*i.uR,t[1]*i.uR,t.length>2?t[2]*i.uR:0),e.invert=function(e){return e=t.invert(e[0]*i.uR,e[1]*i.uR),e[0]*=i.RW,e[1]*=i.RW,e},e}a.invert=a},23311:function(t,e,n){"use strict";function r(t,e){t&&a.hasOwnProperty(t.type)&&a[t.type](t,e)}n.d(e,{Z:function(){return s}});var i={Feature:function(t,e){r(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,i=-1,a=n.length;++i=0;)e+=n[r].value;else e=1;t.value=e}function i(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=o)):void 0===e&&(e=a);for(var n,r,i,l,u,f=new c(t),d=[f];n=d.pop();)if((i=e(n.data))&&(u=(i=Array.from(i)).length))for(n.children=i,l=u-1;l>=0;--l)d.push(r=i[l]=new c(i[l])),r.parent=n,r.depth=n.depth+1;return f.eachBefore(s)}function a(t){return t.children}function o(t){return Array.isArray(t)?t[1]:null}function l(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function s(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function c(t){this.data=t,this.depth=this.height=0,this.parent=null}n.d(e,{NB:function(){return c},le:function(){return s},ZP:function(){return i}}),c.prototype=i.prototype={constructor:c,count:function(){return this.eachAfter(r)},each:function(t,e){let n=-1;for(let r of this)t.call(e,r,++n,this);return this},eachAfter:function(t,e){for(var n,r,i,a=this,o=[a],l=[],s=-1;a=o.pop();)if(l.push(a),n=a.children)for(r=0,i=n.length;r=0;--r)a.push(n[r]);return this},find:function(t,e){let n=-1;for(let r of this)if(t.call(e,r,++n,this))return r},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)r.push(e=e.parent);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return i(this).eachBefore(l)},[Symbol.iterator]:function*(){var t,e,n,r,i=this,a=[i];do for(t=a.reverse(),a=[];i=t.pop();)if(yield i,e=i.children)for(n=0,r=e.length;n0&&n*n>r*r+i*i}function a(t,e){for(var n=0;n(o*=o)?(r=(c+o-i)/(2*c),a=Math.sqrt(Math.max(0,o/c-r*r)),n.x=t.x-r*l-a*s,n.y=t.y-r*s+a*l):(r=(c+i-o)/(2*c),a=Math.sqrt(Math.max(0,i/c-r*r)),n.x=e.x+r*l-a*s,n.y=e.y+r*s+a*l)):(n.x=e.x+n.r,n.y=e.y)}function c(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function u(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,a=(e.y*n.r+n.y*e.r)/r;return i*i+a*a}function f(t){this._=t,this.next=null,this.previous=null}n.d(e,{Z:function(){return g}});var d=n(76263),h=n(40588);function p(t){return Math.sqrt(t.value)}function g(){var t=null,e=1,n=1,r=h.G;function i(i){return i.x=e/2,i.y=n/2,t?i.eachBefore(m(t)).eachAfter(y(r,.5)).eachBefore(v(1)):i.eachBefore(m(p)).eachAfter(y(h.G,1)).eachAfter(y(r,i.r/Math.min(e,n))).eachBefore(v(Math.min(e,n)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=(0,d.j)(e),i):t},i.size=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:(0,h.Z)(+t),i):r},i}function m(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function y(t,e){return function(n){if(d=n.children){var d,h,p,g=d.length,m=t(n)*e||0;if(m)for(h=0;h1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(h>2))return e.r+n.r;s(n,e,d=t[2]),e=new f(e),n=new f(n),d=new f(d),e.next=d.previous=n,n.next=e.previous=d,d.next=n.previous=e;e:for(m=3;m0)throw Error("cycle");return s}return n.id=function(e){return arguments.length?(t=(0,r.C)(e),n):t},n.parentId=function(t){return arguments.length?(e=(0,r.C)(t),n):e},n}},81594:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(70569);function i(t,e){return t.parent===e.parent?1:2}function a(t){var e=t.children;return e?e[0]:t.t}function o(t){var e=t.children;return e?e[e.length-1]:t.t}function l(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function s(){var t=i,e=1,n=1,r=null;function s(i){var a=function(t){for(var e,n,r,i,a,o=new l(t,0),s=[o];e=s.pop();)if(r=e._.children)for(e.children=Array(a=r.length),i=a-1;i>=0;--i)s.push(n=e.children[i]=new l(r[i],i)),n.parent=e;return(o.parent=new l(null,0)).children=[o],o}(i);if(a.eachAfter(c),a.parent.m=-a.z,a.eachBefore(u),r)i.eachBefore(f);else{var o=i,s=i,d=i;i.eachBefore(function(t){t.xs.x&&(s=t),t.depth>d.depth&&(d=t)});var h=o===s?1:t(o,s)/2,p=h-o.x,g=e/(s.x+h+p),m=n/(d.depth||1);i.eachBefore(function(t){t.x=(t.x+p)*g,t.y=t.depth*m})}return i}function c(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,a=i.length;--a>=0;)e=i[a],e.z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var l=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-l):e.z=l}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,l,s,c=e,u=e,f=n,d=c.parent.children[0],h=c.m,p=u.m,g=f.m,m=d.m;f=o(f),c=a(c),f&&c;)d=a(d),(u=o(u)).a=e,(s=f.z+g-c.z-h+t(f._,c._))>0&&(function(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}((i=f,l=r,i.a.parent===e.parent?i.a:l),e,s),h+=s,p+=s),g+=f.m,h+=c.m,m+=d.m,p+=u.m;f&&!o(u)&&(u.t=f,u.m+=g-p),c&&!a(d)&&(d.t=c,d.m+=h-m,r=e)}return r}(e,i,e.parent.A||r[0])}function u(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function f(t){t.x*=e,t.y=t.depth*n}return s.separation=function(e){return arguments.length?(t=e,s):t},s.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],s):r?null:[e,n]},s.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],s):r?[e,n]:null},s}l.prototype=Object.create(r.NB.prototype)},70239:function(t,e,n){"use strict";function r(t,e,n,r,i){var a,o,l=t.children,s=l.length,c=Array(s+1);for(c[0]=o=a=0;a=n-1){var u=l[e];u.x0=i,u.y0=a,u.x1=o,u.y1=s;return}for(var f=c[e],d=r/2+f,h=e+1,p=n-1;h>>1;c[g]s-a){var v=r?(i*y+o*m)/r:o;t(e,h,m,i,a,v,s),t(h,n,y,v,a,o,s)}else{var b=r?(a*y+s*m)/r:s;t(e,h,m,i,a,o,b),t(h,n,y,i,b,o,s)}}(0,s,t.value,e,n,r,i)}n.d(e,{Z:function(){return r}})},36849:function(t,e,n){"use strict";function r(t,e,n,r,i){for(var a,o=t.children,l=-1,s=o.length,c=t.value&&(r-e)/t.value;++l1?e:1)},n}(a.Sk)},8080:function(t,e,n){"use strict";function r(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}n.d(e,{Z:function(){return r}})},71831:function(t,e,n){"use strict";function r(t,e,n,r,i){for(var a,o=t.children,l=-1,s=o.length,c=t.value&&(i-n)/t.value;++lp&&(p=c),(g=Math.max(p/(v=d*d*y),v/h))>m){d-=c;break}m=g}b.push(s={value:d,dice:u1?e:1)},n}(a)},11108:function(t,e){"use strict";let n=Math.PI,r=2*n,i=r-1e-6;function a(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function o(){return new a}a.prototype=o.prototype={constructor:a,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,a){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(t,e,r,i,a){t=+t,e=+e,r=+r,i=+i,a=+a;var o=this._x1,l=this._y1,s=r-t,c=i-e,u=o-t,f=l-e,d=u*u+f*f;if(a<0)throw Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(d>1e-6){if(Math.abs(f*s-c*u)>1e-6&&a){var h=r-o,p=i-l,g=s*s+c*c,m=Math.sqrt(g),y=Math.sqrt(d),v=a*Math.tan((n-Math.acos((g+d-(h*h+p*p))/(2*m*y)))/2),b=v/y,x=v/m;Math.abs(b-1)>1e-6&&(this._+="L"+(t+b*u)+","+(e+b*f)),this._+="A"+a+","+a+",0,0,"+ +(f*h>u*p)+","+(this._x1=t+x*s)+","+(this._y1=e+x*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e)}},arc:function(t,e,a,o,l,s){t=+t,e=+e,a=+a,s=!!s;var c=a*Math.cos(o),u=a*Math.sin(o),f=t+c,d=e+u,h=1^s,p=s?o-l:l-o;if(a<0)throw Error("negative radius: "+a);null===this._x1?this._+="M"+f+","+d:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-d)>1e-6)&&(this._+="L"+f+","+d),a&&(p<0&&(p=p%r+r),p>i?this._+="A"+a+","+a+",0,1,"+h+","+(t-c)+","+(e-u)+"A"+a+","+a+",0,1,"+h+","+(this._x1=f)+","+(this._y1=d):p>1e-6&&(this._+="A"+a+","+a+",0,"+ +(p>=n)+","+h+","+(this._x1=t+a*Math.cos(l))+","+(this._y1=e+a*Math.sin(l))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},e.Z=o},63488:function(t,e,n){"use strict";function r(t){for(var e=t.length/6|0,n=Array(e),r=0;r()=>t;function y(t,e){return function(n){return t+n*e}}function v(t,e){var n=e-t;return n?y(t,n):m(isNaN(t)?e:t)}function b(t){return function(e){var n,r,i=e.length,a=Array(i),o=Array(i),l=Array(i);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),i=t[r],a=t[r+1],o=r>0?t[r-1]:2*i-a,l=rx(t[t.length-1]),w=[,,,].concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(r),_=O(w),k=[,,,].concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(r),M=O(k),C=[,,,].concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(r),j=O(C),A=[,,,].concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(r),S=O(A),E=[,,,].concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(r),P=O(E),R=[,,,].concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(r),T=O(R),Z=[,,,].concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(r),L=O(Z),B=[,,,].concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(r),I=O(B),N=[,,,].concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(r),D=O(N),F=[,,,].concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(r),z=O(F),$=[,,,].concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(r),W=O($),H=[,,,].concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(r),G=O(H),q=[,,,].concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(r),V=O(q),Y=[,,,].concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(r),U=O(Y),Q=[,,,].concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(r),K=O(Q),X=[,,,].concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(r),J=O(X),tt=[,,,].concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(r),te=O(tt),tn=[,,,].concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(r),tr=O(tn),ti=[,,,].concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(r),ta=O(ti),to=[,,,].concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(r),tl=O(to),ts=[,,,].concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(r),tc=O(ts),tu=[,,,].concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(r),tf=O(tu),td=[,,,].concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(r),th=O(td),tp=[,,,].concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(r),tg=O(tp),tm=[,,,].concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(r),ty=O(tm),tv=[,,,].concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(r),tb=O(tv),tx=[,,,].concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(r),tO=O(tx);function tw(t){return"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-(t=Math.max(0,Math.min(1,t)))*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"}var t_=n(44087);let tk=Math.PI/180,tM=180/Math.PI;var tC=-1.78277*.29227-.1347134789;function tj(t,e,n,r){return 1==arguments.length?function(t){if(t instanceof tA)return new tA(t.h,t.s,t.l,t.opacity);t instanceof p.Ss||(t=(0,p.SU)(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(tC*r+-1.7884503806*e-3.5172982438*n)/(tC+-1.7884503806-3.5172982438),a=r-i,o=-((1.97294*(n-i)- -.29227*a)/.90649),l=Math.sqrt(o*o+a*a)/(1.97294*i*(1-i)),s=l?Math.atan2(o,a)*tM-120:NaN;return new tA(s<0?s+360:s,l,i,t.opacity)}(t):new tA(t,e,n,null==r?1:r)}function tA(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function tS(t){return function e(n){function r(e,r){var i=t((e=tj(e)).h,(r=tj(r)).h),a=v(e.s,r.s),o=v(e.l,r.l),l=v(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=a(t),e.l=o(Math.pow(t,n)),e.opacity=l(t),e+""}}return n=+n,r.gamma=e,r}(1)}(0,t_.Z)(tA,tj,(0,t_.l)(p.Il,{brighter:function(t){return t=null==t?p.J5:Math.pow(p.J5,t),new tA(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?p.xV:Math.pow(p.xV,t),new tA(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*tk,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new p.Ss(255*(e+n*(-.14861*r+1.78277*i)),255*(e+n*(-.29227*r+-.90649*i)),255*(e+n*(1.97294*r)),this.opacity)}})),tS(function(t,e){var n=e-t;return n?y(t,n>180||n<-180?n-360*Math.round(n/360):n):m(isNaN(t)?e:t)});var tE=tS(v),tP=tE(tj(300,.5,0),tj(-240,.5,1)),tR=tE(tj(-100,.75,.35),tj(80,1.5,.8)),tT=tE(tj(260,.75,.35),tj(80,1.5,.8)),tZ=tj();function tL(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return tZ.h=360*t-100,tZ.s=1.5-1.5*e,tZ.l=.8-.9*e,tZ+""}var tB=(0,p.B8)(),tI=Math.PI/3,tN=2*Math.PI/3;function tD(t){var e;return t=(.5-t)*Math.PI,tB.r=255*(e=Math.sin(t))*e,tB.g=255*(e=Math.sin(t+tI))*e,tB.b=255*(e=Math.sin(t+tN))*e,tB+""}function tF(t){return"rgb("+Math.max(0,Math.min(255,Math.round(34.61+(t=Math.max(0,Math.min(1,t)))*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"}function tz(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}var t$=tz(r("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),tW=tz(r("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),tH=tz(r("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),tG=tz(r("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},10233:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r=n(11108),i=n(93072),a=n(44915);function o(t){return t.innerRadius}function l(t){return t.outerRadius}function s(t){return t.startAngle}function c(t){return t.endAngle}function u(t){return t&&t.padAngle}function f(t,e,n,r,i,o,l){var s=t-n,c=e-r,u=(l?o:-o)/(0,a._b)(s*s+c*c),f=u*c,d=-u*s,h=t+f,p=e+d,g=n+f,m=r+d,y=(h+g)/2,v=(p+m)/2,b=g-h,x=m-p,O=b*b+x*x,w=i-o,_=h*m-g*p,k=(x<0?-1:1)*(0,a._b)((0,a.Fp)(0,w*w*O-_*_)),M=(_*x-b*k)/O,C=(-_*b-x*k)/O,j=(_*x+b*k)/O,A=(-_*b+x*k)/O,S=M-y,E=C-v,P=j-y,R=A-v;return S*S+E*E>P*P+R*R&&(M=j,C=A),{cx:M,cy:C,x01:-f,y01:-d,x11:M*(i/w-1),y11:C*(i/w-1)}}function d(){var t=o,e=l,n=(0,i.Z)(0),d=null,h=s,p=c,g=u,m=null;function y(){var i,o,l=+t.apply(this,arguments),s=+e.apply(this,arguments),c=h.apply(this,arguments)-a.ou,u=p.apply(this,arguments)-a.ou,y=(0,a.Wn)(u-c),v=u>c;if(m||(m=i=(0,r.Z)()),sa.Ho){if(y>a.BZ-a.Ho)m.moveTo(s*(0,a.mC)(c),s*(0,a.O$)(c)),m.arc(0,0,s,c,u,!v),l>a.Ho&&(m.moveTo(l*(0,a.mC)(u),l*(0,a.O$)(u)),m.arc(0,0,l,u,c,v));else{var b,x,O=c,w=u,_=c,k=u,M=y,C=y,j=g.apply(this,arguments)/2,A=j>a.Ho&&(d?+d.apply(this,arguments):(0,a._b)(l*l+s*s)),S=(0,a.VV)((0,a.Wn)(s-l)/2,+n.apply(this,arguments)),E=S,P=S;if(A>a.Ho){var R=(0,a.ZR)(A/l*(0,a.O$)(j)),T=(0,a.ZR)(A/s*(0,a.O$)(j));(M-=2*R)>a.Ho?(R*=v?1:-1,_+=R,k-=R):(M=0,_=k=(c+u)/2),(C-=2*T)>a.Ho?(T*=v?1:-1,O+=T,w-=T):(C=0,O=w=(c+u)/2)}var Z=s*(0,a.mC)(O),L=s*(0,a.O$)(O),B=l*(0,a.mC)(k),I=l*(0,a.O$)(k);if(S>a.Ho){var N,D=s*(0,a.mC)(w),F=s*(0,a.O$)(w),z=l*(0,a.mC)(_),$=l*(0,a.O$)(_);if(ya.Ho?P>a.Ho?(b=f(z,$,Z,L,s,P,v),x=f(D,F,B,I,s,P,v),m.moveTo(b.cx+b.x01,b.cy+b.y01),Pa.Ho&&M>a.Ho?E>a.Ho?(b=f(B,I,D,F,l,-E,v),x=f(Z,L,z,$,l,-E,v),m.lineTo(b.cx+b.x01,b.cy+b.y01),E=l;--s)h.point(v[s],b[s]);h.lineEnd(),h.areaEnd()}}y&&(v[o]=+t(p,o,a),b[o]=+e(p,o,a),h.point(c?+c(p,o,a):v[o],n?+n(p,o,a):b[o]))}if(g)return h=null,g+""||null}function g(){return(0,l.Z)().defined(u).curve(d).context(f)}return t="function"==typeof t?t:void 0===t?s.x:(0,a.Z)(+t),e="function"==typeof e?e:void 0===e?(0,a.Z)(0):(0,a.Z)(+e),n="function"==typeof n?n:void 0===n?s.y:(0,a.Z)(+n),p.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,a.Z)(+e),c=null,p):t},p.x0=function(e){return arguments.length?(t="function"==typeof e?e:(0,a.Z)(+e),p):t},p.x1=function(t){return arguments.length?(c=null==t?null:"function"==typeof t?t:(0,a.Z)(+t),p):c},p.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,a.Z)(+t),n=null,p):e},p.y0=function(t){return arguments.length?(e="function"==typeof t?t:(0,a.Z)(+t),p):e},p.y1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:(0,a.Z)(+t),p):n},p.lineX0=p.lineY0=function(){return g().x(t).y(e)},p.lineY1=function(){return g().x(t).y(n)},p.lineX1=function(){return g().x(c).y(e)},p.defined=function(t){return arguments.length?(u="function"==typeof t?t:(0,a.Z)(!!t),p):u},p.curve=function(t){return arguments.length?(d=t,null!=f&&(h=d(f)),p):d},p.context=function(t){return arguments.length?(null==t?f=h=null:h=d(f=t),p):f},p}},53253:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(45317),i=n(37633),a=n(73671);function o(){var t=(0,i.Z)().curve(r.j),e=t.curve,n=t.lineX0,o=t.lineX1,l=t.lineY0,s=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return(0,a.X)(n())},delete t.lineX0,t.lineEndAngle=function(){return(0,a.X)(o())},delete t.lineX1,t.lineInnerRadius=function(){return(0,a.X)(l())},delete t.lineY0,t.lineOuterRadius=function(){return(0,a.X)(s())},delete t.lineY1,t.curve=function(t){return arguments.length?e((0,r.Z)(t)):e()._curve},t}},5742:function(t,e,n){"use strict";function r(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}n.d(e,{Z:function(){return r}}),Array.prototype.slice},93072:function(t,e,n){"use strict";function r(t){return function(){return t}}n.d(e,{Z:function(){return r}})},43683:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r=n(33046);function i(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function a(t,e){this._context=t,this._k=(1-e)/6}function o(t,e){this._context=t,this._k=(1-e)/6}a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:i(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:i(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new a(t,e)}return n.tension=function(e){return t(+e)},n}(0),o.prototype={areaStart:r.Z,areaEnd:r.Z,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:i(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new o(t,e)}return n.tension=function(e){return t(+e)},n}(0);var l=n(44915);function s(t,e,n){var r=t._x1,i=t._y1,a=t._x2,o=t._y2;if(t._l01_a>l.Ho){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>l.Ho){var u=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*u+t._x1*t._l23_2a-e*t._l12_2a)/f,o=(o*u+t._y1*t._l23_2a-n*t._l12_2a)/f}t._context.bezierCurveTo(r,i,a,o,t._x2,t._y2)}function c(t,e){this._context=t,this._alpha=e}function u(t,e){this._context=t,this._alpha=e}c.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:s(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return e?new c(t,e):new a(t,0)}return n.alpha=function(e){return t(+e)},n}(.5),u.prototype={areaStart:r.Z,areaEnd:r.Z,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:s(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var f=function t(e){function n(t){return e?new u(t,e):new o(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)},18143:function(t,e,n){"use strict";function r(t){this._context=t}function i(t){return new r(t)}n.d(e,{Z:function(){return i}}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}}},57481:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(33046);function i(t){this._context=t}function a(t){return new i(t)}i.prototype={areaStart:r.Z,areaEnd:r.Z,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}}},65165:function(t,e,n){"use strict";function r(t,e,n){var r=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(r||i<0&&-0),o=(n-t._y1)/(i||r<0&&-0);return((a<0?-1:1)+(o<0?-1:1))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs((a*i+o*r)/(r+i)))||0}function i(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function a(t,e,n){var r=t._x0,i=t._y0,a=t._x1,o=t._y1,l=(a-r)/3;t._context.bezierCurveTo(r+l,i+l*e,a-l,o-l*n,a,o)}function o(t){this._context=t}function l(t){this._context=new s(t)}function s(t){this._context=t}function c(t){return new o(t)}function u(t){return new l(t)}n.d(e,{Z:function(){return c},s:function(){return u}}),o.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:a(this,this._t0,i(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,a(this,i(this,n=r(this,t,e)),n);break;default:a(this,this._t0,n=r(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(l.prototype=Object.create(o.prototype)).point=function(t,e){o.prototype.point.call(this,e,t)},s.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,a){this._context.bezierCurveTo(e,t,r,n,a,i)}}},45317:function(t,e,n){"use strict";n.d(e,{Z:function(){return a},j:function(){return r}});var r=a(n(18143).Z);function i(t){this._curve=t}function a(t){function e(e){return new i(t(e))}return e._curve=t,e}i.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),-(e*Math.cos(t)))}}},77059:function(t,e,n){"use strict";function r(t,e){this._context=t,this._t=e}function i(t){return new r(t,.5)}function a(t){return new r(t,0)}function o(t){return new r(t,1)}n.d(e,{RN:function(){return a},ZP:function(){return i},cD:function(){return o}}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}}},25049:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(11108),i=n(5742),a=n(93072),o=n(18143),l=n(78260);function s(t,e){var n=(0,a.Z)(!0),s=null,c=o.Z,u=null;function f(a){var o,l,f,d=(a=(0,i.Z)(a)).length,h=!1;for(null==s&&(u=c(f=(0,r.Z)())),o=0;o<=d;++o)!(o1?0:t<-1?f:Math.acos(t)}function g(t){return t>=1?d:t<=-1?-d:Math.asin(t)}},33046:function(t,e,n){"use strict";function r(){}n.d(e,{Z:function(){return r}})},78260:function(t,e,n){"use strict";function r(t){return t[0]}function i(t){return t[1]}n.d(e,{x:function(){return r},y:function(){return i}})},35374:function(t,e,n){"use strict";n.d(e,{B7:function(){return g},HT:function(){return m},zO:function(){return h}});var r,i,a=0,o=0,l=0,s=0,c=0,u=0,f="object"==typeof performance&&performance.now?performance:Date,d="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function h(){return c||(d(p),c=f.now()+u)}function p(){c=0}function g(){this._call=this._time=this._next=null}function m(t,e,n){var r=new g;return r.restart(t,e,n),r}function y(){c=(s=f.now())+u,a=o=0;try{!function(){h(),++a;for(var t,e=r;e;)(t=c-e._time)>=0&&e._call.call(null,t),e=e._next;--a}()}finally{a=0,function(){for(var t,e,n=r,a=1/0;n;)n._call?(a>n._time&&(a=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:r=e);i=t,b(a)}(),c=0}}function v(){var t=f.now(),e=t-s;e>1e3&&(u-=e,s=t)}function b(t){!a&&(o&&(o=clearTimeout(o)),t-c>24?(t<1/0&&(o=setTimeout(y,t-f.now()-u)),l&&(l=clearInterval(l))):(l||(s=f.now(),l=setInterval(v,1e3)),a=1,d(y)))}g.prototype=m.prototype={constructor:g,restart:function(t,e,n){if("function"!=typeof t)throw TypeError("callback is not a function");n=(null==n?h():+n)+(null==e?0:+e),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=n,b()},stop:function(){this._call&&(this._call=null,this._time=1/0,b())}}},19432:function(t,e,n){"use strict";n.d(e,{WU:function(){return g}});var r=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,i=/\[([^]*?)\]/gm;function a(t,e){for(var n=[],r=0,i=t.length;r-1?r:null}};function l(t){for(var e=[],n=1;n3?0:(t-t%10!=10?1:0)*t%10]}}),d=function(t,e){for(void 0===e&&(e=2),t=String(t);t.lengtht.getHours()?e.amPm[0]:e.amPm[1]},A:function(t,e){return 12>t.getHours()?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase()},ZZ:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+d(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+d(Math.floor(Math.abs(e)/60),2)+":"+d(Math.abs(e)%60,2)}};o("monthNamesShort"),o("monthNames");var p={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},g=function(t,e,n){if(void 0===e&&(e=p.default),void 0===n&&(n={}),"number"==typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw Error("Invalid Date pass to format");e=p[e]||e;var a=[];e=e.replace(i,function(t,e){return a.push(e),"@@@"});var o=l(l({},f),n);return(e=e.replace(r,function(e){return h[e](t,o)})).replace(/@@@/g,function(){return a.shift()})}},69916:function(t,e){!function(t){"use strict";function e(t){for(var e=Array(t),n=0;nc+l*o*u||f>=g)p=o;else{if(Math.abs(h)<=-s*u)return o;h*(p-d)>=0&&(p=d),d=o,g=f}return 0}o=o||1,l=l||1e-6,s=s||.1;for(var m=0;m<10;++m){if(a(i.x,1,r.x,o,e),f=i.fx=t(i.x,i.fxprime),h=n(i.fxprime,e),f>c+l*o*u||m&&f>=d)return g(p,o,d);if(Math.abs(h)<=-s*u)break;if(h>=0)return g(o,p,f);d=f,p=o,o*=2}return o}t.bisect=function(t,e,n,r){var i=(r=r||{}).maxIterations||100,a=r.tolerance||1e-10,o=t(e),l=t(n),s=n-e;if(o*l>0)throw"Initial bisect points must have opposite signs";if(0===o)return e;if(0===l)return n;for(var c=0;c=0&&(e=u),Math.abs(s)=g[p-1].fx){var A=!1;if(O.fx>j.fx?(a(w,1+d,x,-d,j),w.fx=t(w),w.fx=1)break;for(m=1;m=r(f.fxprime))break}return l.history&&l.history.push({x:f.x.slice(),fx:f.fx,fxprime:f.fxprime.slice(),alpha:p}),f},t.gradientDescent=function(t,e,n){for(var i=(n=n||{}).maxIterations||100*e.length,o=n.learnRate||.001,l={x:e.slice(),fx:0,fxprime:e.slice()},s=0;s=r(l.fxprime)));++s);return l},t.gradientDescentLineSearch=function(t,e,n){n=n||{};var a,l={x:e.slice(),fx:0,fxprime:e.slice()},s={x:e.slice(),fx:0,fxprime:e.slice()},c=n.maxIterations||100*e.length,u=n.learnRate||1,f=e.slice(),d=n.c1||.001,h=n.c2||.1,p=[];if(n.history){var g=t;t=function(t,e){return p.push(t.slice()),g(t,e)}}l.fx=t(l.x,l.fxprime);for(var m=0;mr(l.fxprime)));++m);return l},t.zeros=e,t.zerosM=function(t,n){return e(t).map(function(){return e(n)})},t.norm2=r,t.weightedSum=a,t.scale=i}(e)},49685:function(t,e,n){"use strict";n.d(e,{Ib:function(){return r},WT:function(){return i}});var r=1e-6,i="undefined"!=typeof Float32Array?Float32Array:Array;Math.hypot||(Math.hypot=function(){for(var t=0,e=arguments.length;e--;)t+=arguments[e]*arguments[e];return Math.sqrt(t)})},35600:function(t,e,n){"use strict";n.d(e,{Ue:function(){return i},al:function(){return o},xO:function(){return a}});var r=n(49685);function i(){var t=new r.WT(9);return r.WT!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0),t[0]=1,t[4]=1,t[8]=1,t}function a(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t}function o(t,e,n,i,a,o,l,s,c){var u=new r.WT(9);return u[0]=t,u[1]=e,u[2]=n,u[3]=i,u[4]=a,u[5]=o,u[6]=l,u[7]=s,u[8]=c,u}},85975:function(t,e,n){"use strict";n.r(e),n.d(e,{add:function(){return V},adjoint:function(){return d},clone:function(){return a},copy:function(){return o},create:function(){return i},determinant:function(){return h},equals:function(){return X},exactEquals:function(){return K},frob:function(){return q},fromQuat:function(){return Z},fromQuat2:function(){return A},fromRotation:function(){return _},fromRotationTranslation:function(){return j},fromRotationTranslationScale:function(){return R},fromRotationTranslationScaleOrigin:function(){return T},fromScaling:function(){return w},fromTranslation:function(){return O},fromValues:function(){return l},fromXRotation:function(){return k},fromYRotation:function(){return M},fromZRotation:function(){return C},frustum:function(){return L},getRotation:function(){return P},getScaling:function(){return E},getTranslation:function(){return S},identity:function(){return c},invert:function(){return f},lookAt:function(){return W},mul:function(){return J},multiply:function(){return p},multiplyScalar:function(){return U},multiplyScalarAndAdd:function(){return Q},ortho:function(){return z},orthoNO:function(){return F},orthoZO:function(){return $},perspective:function(){return I},perspectiveFromFieldOfView:function(){return D},perspectiveNO:function(){return B},perspectiveZO:function(){return N},rotate:function(){return y},rotateX:function(){return v},rotateY:function(){return b},rotateZ:function(){return x},scale:function(){return m},set:function(){return s},str:function(){return G},sub:function(){return tt},subtract:function(){return Y},targetTo:function(){return H},translate:function(){return g},transpose:function(){return u}});var r=n(49685);function i(){var t=new r.WT(16);return r.WT!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0),t[0]=1,t[5]=1,t[10]=1,t[15]=1,t}function a(t){var e=new r.WT(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function l(t,e,n,i,a,o,l,s,c,u,f,d,h,p,g,m){var y=new r.WT(16);return y[0]=t,y[1]=e,y[2]=n,y[3]=i,y[4]=a,y[5]=o,y[6]=l,y[7]=s,y[8]=c,y[9]=u,y[10]=f,y[11]=d,y[12]=h,y[13]=p,y[14]=g,y[15]=m,y}function s(t,e,n,r,i,a,o,l,s,c,u,f,d,h,p,g,m){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=l,t[7]=s,t[8]=c,t[9]=u,t[10]=f,t[11]=d,t[12]=h,t[13]=p,t[14]=g,t[15]=m,t}function c(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function u(t,e){if(t===e){var n=e[1],r=e[2],i=e[3],a=e[6],o=e[7],l=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=a,t[11]=e[14],t[12]=i,t[13]=o,t[14]=l}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}function f(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],l=e[5],s=e[6],c=e[7],u=e[8],f=e[9],d=e[10],h=e[11],p=e[12],g=e[13],m=e[14],y=e[15],v=n*l-r*o,b=n*s-i*o,x=n*c-a*o,O=r*s-i*l,w=r*c-a*l,_=i*c-a*s,k=u*g-f*p,M=u*m-d*p,C=u*y-h*p,j=f*m-d*g,A=f*y-h*g,S=d*y-h*m,E=v*S-b*A+x*j+O*C-w*M+_*k;return E?(E=1/E,t[0]=(l*S-s*A+c*j)*E,t[1]=(i*A-r*S-a*j)*E,t[2]=(g*_-m*w+y*O)*E,t[3]=(d*w-f*_-h*O)*E,t[4]=(s*C-o*S-c*M)*E,t[5]=(n*S-i*C+a*M)*E,t[6]=(m*x-p*_-y*b)*E,t[7]=(u*_-d*x+h*b)*E,t[8]=(o*A-l*C+c*k)*E,t[9]=(r*C-n*A-a*k)*E,t[10]=(p*w-g*x+y*v)*E,t[11]=(f*x-u*w-h*v)*E,t[12]=(l*M-o*j-s*k)*E,t[13]=(n*j-r*M+i*k)*E,t[14]=(g*b-p*O-m*v)*E,t[15]=(u*O-f*b+d*v)*E,t):null}function d(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],l=e[5],s=e[6],c=e[7],u=e[8],f=e[9],d=e[10],h=e[11],p=e[12],g=e[13],m=e[14],y=e[15];return t[0]=l*(d*y-h*m)-f*(s*y-c*m)+g*(s*h-c*d),t[1]=-(r*(d*y-h*m)-f*(i*y-a*m)+g*(i*h-a*d)),t[2]=r*(s*y-c*m)-l*(i*y-a*m)+g*(i*c-a*s),t[3]=-(r*(s*h-c*d)-l*(i*h-a*d)+f*(i*c-a*s)),t[4]=-(o*(d*y-h*m)-u*(s*y-c*m)+p*(s*h-c*d)),t[5]=n*(d*y-h*m)-u*(i*y-a*m)+p*(i*h-a*d),t[6]=-(n*(s*y-c*m)-o*(i*y-a*m)+p*(i*c-a*s)),t[7]=n*(s*h-c*d)-o*(i*h-a*d)+u*(i*c-a*s),t[8]=o*(f*y-h*g)-u*(l*y-c*g)+p*(l*h-c*f),t[9]=-(n*(f*y-h*g)-u*(r*y-a*g)+p*(r*h-a*f)),t[10]=n*(l*y-c*g)-o*(r*y-a*g)+p*(r*c-a*l),t[11]=-(n*(l*h-c*f)-o*(r*h-a*f)+u*(r*c-a*l)),t[12]=-(o*(f*m-d*g)-u*(l*m-s*g)+p*(l*d-s*f)),t[13]=n*(f*m-d*g)-u*(r*m-i*g)+p*(r*d-i*f),t[14]=-(n*(l*m-s*g)-o*(r*m-i*g)+p*(r*s-i*l)),t[15]=n*(l*d-s*f)-o*(r*d-i*f)+u*(r*s-i*l),t}function h(t){var e=t[0],n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],l=t[6],s=t[7],c=t[8],u=t[9],f=t[10],d=t[11],h=t[12],p=t[13],g=t[14],m=t[15];return(e*o-n*a)*(f*m-d*g)-(e*l-r*a)*(u*m-d*p)+(e*s-i*a)*(u*g-f*p)+(n*l-r*o)*(c*m-d*h)-(n*s-i*o)*(c*g-f*h)+(r*s-i*l)*(c*p-u*h)}function p(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],l=e[4],s=e[5],c=e[6],u=e[7],f=e[8],d=e[9],h=e[10],p=e[11],g=e[12],m=e[13],y=e[14],v=e[15],b=n[0],x=n[1],O=n[2],w=n[3];return t[0]=b*r+x*l+O*f+w*g,t[1]=b*i+x*s+O*d+w*m,t[2]=b*a+x*c+O*h+w*y,t[3]=b*o+x*u+O*p+w*v,b=n[4],x=n[5],O=n[6],w=n[7],t[4]=b*r+x*l+O*f+w*g,t[5]=b*i+x*s+O*d+w*m,t[6]=b*a+x*c+O*h+w*y,t[7]=b*o+x*u+O*p+w*v,b=n[8],x=n[9],O=n[10],w=n[11],t[8]=b*r+x*l+O*f+w*g,t[9]=b*i+x*s+O*d+w*m,t[10]=b*a+x*c+O*h+w*y,t[11]=b*o+x*u+O*p+w*v,b=n[12],x=n[13],O=n[14],w=n[15],t[12]=b*r+x*l+O*f+w*g,t[13]=b*i+x*s+O*d+w*m,t[14]=b*a+x*c+O*h+w*y,t[15]=b*o+x*u+O*p+w*v,t}function g(t,e,n){var r,i,a,o,l,s,c,u,f,d,h,p,g=n[0],m=n[1],y=n[2];return e===t?(t[12]=e[0]*g+e[4]*m+e[8]*y+e[12],t[13]=e[1]*g+e[5]*m+e[9]*y+e[13],t[14]=e[2]*g+e[6]*m+e[10]*y+e[14],t[15]=e[3]*g+e[7]*m+e[11]*y+e[15]):(r=e[0],i=e[1],a=e[2],o=e[3],l=e[4],s=e[5],c=e[6],u=e[7],f=e[8],d=e[9],h=e[10],p=e[11],t[0]=r,t[1]=i,t[2]=a,t[3]=o,t[4]=l,t[5]=s,t[6]=c,t[7]=u,t[8]=f,t[9]=d,t[10]=h,t[11]=p,t[12]=r*g+l*m+f*y+e[12],t[13]=i*g+s*m+d*y+e[13],t[14]=a*g+c*m+h*y+e[14],t[15]=o*g+u*m+p*y+e[15]),t}function m(t,e,n){var r=n[0],i=n[1],a=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*a,t[9]=e[9]*a,t[10]=e[10]*a,t[11]=e[11]*a,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function y(t,e,n,i){var a,o,l,s,c,u,f,d,h,p,g,m,y,v,b,x,O,w,_,k,M,C,j,A,S=i[0],E=i[1],P=i[2],R=Math.hypot(S,E,P);return R0?(n[0]=(s*l+f*i+c*o-u*a)*2/d,n[1]=(c*l+f*a+u*i-s*o)*2/d,n[2]=(u*l+f*o+s*a-c*i)*2/d):(n[0]=(s*l+f*i+c*o-u*a)*2,n[1]=(c*l+f*a+u*i-s*o)*2,n[2]=(u*l+f*o+s*a-c*i)*2),j(t,e,n),t}function S(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function E(t,e){var n=e[0],r=e[1],i=e[2],a=e[4],o=e[5],l=e[6],s=e[8],c=e[9],u=e[10];return t[0]=Math.hypot(n,r,i),t[1]=Math.hypot(a,o,l),t[2]=Math.hypot(s,c,u),t}function P(t,e){var n=new r.WT(3);E(n,e);var i=1/n[0],a=1/n[1],o=1/n[2],l=e[0]*i,s=e[1]*a,c=e[2]*o,u=e[4]*i,f=e[5]*a,d=e[6]*o,h=e[8]*i,p=e[9]*a,g=e[10]*o,m=l+f+g,y=0;return m>0?(y=2*Math.sqrt(m+1),t[3]=.25*y,t[0]=(d-p)/y,t[1]=(h-c)/y,t[2]=(s-u)/y):l>f&&l>g?(y=2*Math.sqrt(1+l-f-g),t[3]=(d-p)/y,t[0]=.25*y,t[1]=(s+u)/y,t[2]=(h+c)/y):f>g?(y=2*Math.sqrt(1+f-l-g),t[3]=(h-c)/y,t[0]=(s+u)/y,t[1]=.25*y,t[2]=(d+p)/y):(y=2*Math.sqrt(1+g-l-f),t[3]=(s-u)/y,t[0]=(h+c)/y,t[1]=(d+p)/y,t[2]=.25*y),t}function R(t,e,n,r){var i=e[0],a=e[1],o=e[2],l=e[3],s=i+i,c=a+a,u=o+o,f=i*s,d=i*c,h=i*u,p=a*c,g=a*u,m=o*u,y=l*s,v=l*c,b=l*u,x=r[0],O=r[1],w=r[2];return t[0]=(1-(p+m))*x,t[1]=(d+b)*x,t[2]=(h-v)*x,t[3]=0,t[4]=(d-b)*O,t[5]=(1-(f+m))*O,t[6]=(g+y)*O,t[7]=0,t[8]=(h+v)*w,t[9]=(g-y)*w,t[10]=(1-(f+p))*w,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function T(t,e,n,r,i){var a=e[0],o=e[1],l=e[2],s=e[3],c=a+a,u=o+o,f=l+l,d=a*c,h=a*u,p=a*f,g=o*u,m=o*f,y=l*f,v=s*c,b=s*u,x=s*f,O=r[0],w=r[1],_=r[2],k=i[0],M=i[1],C=i[2],j=(1-(g+y))*O,A=(h+x)*O,S=(p-b)*O,E=(h-x)*w,P=(1-(d+y))*w,R=(m+v)*w,T=(p+b)*_,Z=(m-v)*_,L=(1-(d+g))*_;return t[0]=j,t[1]=A,t[2]=S,t[3]=0,t[4]=E,t[5]=P,t[6]=R,t[7]=0,t[8]=T,t[9]=Z,t[10]=L,t[11]=0,t[12]=n[0]+k-(j*k+E*M+T*C),t[13]=n[1]+M-(A*k+P*M+Z*C),t[14]=n[2]+C-(S*k+R*M+L*C),t[15]=1,t}function Z(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n+n,l=r+r,s=i+i,c=n*o,u=r*o,f=r*l,d=i*o,h=i*l,p=i*s,g=a*o,m=a*l,y=a*s;return t[0]=1-f-p,t[1]=u+y,t[2]=d-m,t[3]=0,t[4]=u-y,t[5]=1-c-p,t[6]=h+g,t[7]=0,t[8]=d+m,t[9]=h-g,t[10]=1-c-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function L(t,e,n,r,i,a,o){var l=1/(n-e),s=1/(i-r),c=1/(a-o);return t[0]=2*a*l,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*a*s,t[6]=0,t[7]=0,t[8]=(n+e)*l,t[9]=(i+r)*s,t[10]=(o+a)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=o*a*2*c,t[15]=0,t}function B(t,e,n,r,i){var a,o=1/Math.tan(e/2);return t[0]=o/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(a=1/(r-i),t[10]=(i+r)*a,t[14]=2*i*r*a):(t[10]=-1,t[14]=-2*r),t}var I=B;function N(t,e,n,r,i){var a,o=1/Math.tan(e/2);return t[0]=o/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(a=1/(r-i),t[10]=i*a,t[14]=i*r*a):(t[10]=-1,t[14]=-r),t}function D(t,e,n,r){var i=Math.tan(e.upDegrees*Math.PI/180),a=Math.tan(e.downDegrees*Math.PI/180),o=Math.tan(e.leftDegrees*Math.PI/180),l=Math.tan(e.rightDegrees*Math.PI/180),s=2/(o+l),c=2/(i+a);return t[0]=s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-((o-l)*s*.5),t[9]=(i-a)*c*.5,t[10]=r/(n-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*n/(n-r),t[15]=0,t}function F(t,e,n,r,i,a,o){var l=1/(e-n),s=1/(r-i),c=1/(a-o);return t[0]=-2*l,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*s,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(e+n)*l,t[13]=(i+r)*s,t[14]=(o+a)*c,t[15]=1,t}var z=F;function $(t,e,n,r,i,a,o){var l=1/(e-n),s=1/(r-i),c=1/(a-o);return t[0]=-2*l,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*s,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=c,t[11]=0,t[12]=(e+n)*l,t[13]=(i+r)*s,t[14]=a*c,t[15]=1,t}function W(t,e,n,i){var a,o,l,s,u,f,d,h,p,g,m=e[0],y=e[1],v=e[2],b=i[0],x=i[1],O=i[2],w=n[0],_=n[1],k=n[2];return Math.abs(m-w)0&&(u*=h=1/Math.sqrt(h),f*=h,d*=h);var p=s*d-c*f,g=c*u-l*d,m=l*f-s*u;return(h=p*p+g*g+m*m)>0&&(p*=h=1/Math.sqrt(h),g*=h,m*=h),t[0]=p,t[1]=g,t[2]=m,t[3]=0,t[4]=f*m-d*g,t[5]=d*p-u*m,t[6]=u*g-f*p,t[7]=0,t[8]=u,t[9]=f,t[10]=d,t[11]=0,t[12]=i,t[13]=a,t[14]=o,t[15]=1,t}function G(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"}function q(t){return Math.hypot(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function V(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t[9]=e[9]+n[9],t[10]=e[10]+n[10],t[11]=e[11]+n[11],t[12]=e[12]+n[12],t[13]=e[13]+n[13],t[14]=e[14]+n[14],t[15]=e[15]+n[15],t}function Y(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}function U(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t[9]=e[9]*n,t[10]=e[10]*n,t[11]=e[11]*n,t[12]=e[12]*n,t[13]=e[13]*n,t[14]=e[14]*n,t[15]=e[15]*n,t}function Q(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t[9]=e[9]+n[9]*r,t[10]=e[10]+n[10]*r,t[11]=e[11]+n[11]*r,t[12]=e[12]+n[12]*r,t[13]=e[13]+n[13]*r,t[14]=e[14]+n[14]*r,t[15]=e[15]+n[15]*r,t}function K(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]}function X(t,e){var n=t[0],i=t[1],a=t[2],o=t[3],l=t[4],s=t[5],c=t[6],u=t[7],f=t[8],d=t[9],h=t[10],p=t[11],g=t[12],m=t[13],y=t[14],v=t[15],b=e[0],x=e[1],O=e[2],w=e[3],_=e[4],k=e[5],M=e[6],C=e[7],j=e[8],A=e[9],S=e[10],E=e[11],P=e[12],R=e[13],T=e[14],Z=e[15];return Math.abs(n-b)<=r.Ib*Math.max(1,Math.abs(n),Math.abs(b))&&Math.abs(i-x)<=r.Ib*Math.max(1,Math.abs(i),Math.abs(x))&&Math.abs(a-O)<=r.Ib*Math.max(1,Math.abs(a),Math.abs(O))&&Math.abs(o-w)<=r.Ib*Math.max(1,Math.abs(o),Math.abs(w))&&Math.abs(l-_)<=r.Ib*Math.max(1,Math.abs(l),Math.abs(_))&&Math.abs(s-k)<=r.Ib*Math.max(1,Math.abs(s),Math.abs(k))&&Math.abs(c-M)<=r.Ib*Math.max(1,Math.abs(c),Math.abs(M))&&Math.abs(u-C)<=r.Ib*Math.max(1,Math.abs(u),Math.abs(C))&&Math.abs(f-j)<=r.Ib*Math.max(1,Math.abs(f),Math.abs(j))&&Math.abs(d-A)<=r.Ib*Math.max(1,Math.abs(d),Math.abs(A))&&Math.abs(h-S)<=r.Ib*Math.max(1,Math.abs(h),Math.abs(S))&&Math.abs(p-E)<=r.Ib*Math.max(1,Math.abs(p),Math.abs(E))&&Math.abs(g-P)<=r.Ib*Math.max(1,Math.abs(g),Math.abs(P))&&Math.abs(m-R)<=r.Ib*Math.max(1,Math.abs(m),Math.abs(R))&&Math.abs(y-T)<=r.Ib*Math.max(1,Math.abs(y),Math.abs(T))&&Math.abs(v-Z)<=r.Ib*Math.max(1,Math.abs(v),Math.abs(Z))}var J=p,tt=Y},32945:function(t,e,n){"use strict";n.d(e,{Fv:function(){return g},JG:function(){return h},Jp:function(){return c},Su:function(){return f},U_:function(){return u},Ue:function(){return l},al:function(){return d},dC:function(){return p},yY:function(){return s}});var r=n(49685),i=n(35600),a=n(77160),o=n(98333);function l(){var t=new r.WT(4);return r.WT!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t[3]=1,t}function s(t,e,n){var r=Math.sin(n*=.5);return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=Math.cos(n),t}function c(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],l=n[0],s=n[1],c=n[2],u=n[3];return t[0]=r*u+o*l+i*c-a*s,t[1]=i*u+o*s+a*l-r*c,t[2]=a*u+o*c+r*s-i*l,t[3]=o*u-r*l-i*s-a*c,t}function u(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n+r*r+i*i+a*a,l=o?1/o:0;return t[0]=-n*l,t[1]=-r*l,t[2]=-i*l,t[3]=a*l,t}function f(t,e,n,r){var i=.5*Math.PI/180,a=Math.sin(e*=i),o=Math.cos(e),l=Math.sin(n*=i),s=Math.cos(n),c=Math.sin(r*=i),u=Math.cos(r);return t[0]=a*s*u-o*l*c,t[1]=o*l*u+a*s*c,t[2]=o*s*c-a*l*u,t[3]=o*s*u+a*l*c,t}o.d9;var d=o.al,h=o.JG;o.t8,o.IH;var p=c;o.bA,o.AK,o.t7,o.kE,o.we;var g=o.Fv;o.I6,o.fS,a.Ue(),a.al(1,0,0),a.al(0,1,0),l(),l(),i.Ue()},31437:function(t,e,n){"use strict";n.d(e,{AK:function(){return s},Fv:function(){return l},I6:function(){return c},JG:function(){return o},al:function(){return a}});var r,i=n(49685);function a(t,e){var n=new i.WT(2);return n[0]=t,n[1]=e,n}function o(t,e){return t[0]=e[0],t[1]=e[1],t}function l(t,e){var n=e[0],r=e[1],i=n*n+r*r;return i>0&&(i=1/Math.sqrt(i)),t[0]=e[0]*i,t[1]=e[1]*i,t}function s(t,e){return t[0]*e[0]+t[1]*e[1]}function c(t,e){return t[0]===e[0]&&t[1]===e[1]}r=new i.WT(2),i.WT!=Float32Array&&(r[0]=0,r[1]=0)},77160:function(t,e,n){"use strict";n.d(e,{$X:function(){return f},AK:function(){return g},Fv:function(){return p},IH:function(){return u},JG:function(){return s},Jp:function(){return d},TK:function(){return w},Ue:function(){return i},VC:function(){return x},Zh:function(){return _},al:function(){return l},bA:function(){return h},d9:function(){return a},fF:function(){return v},fS:function(){return O},kC:function(){return m},kE:function(){return o},kK:function(){return b},t7:function(){return y},t8:function(){return c}});var r=n(49685);function i(){var t=new r.WT(3);return r.WT!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t}function a(t){var e=new r.WT(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function o(t){return Math.hypot(t[0],t[1],t[2])}function l(t,e,n){var i=new r.WT(3);return i[0]=t,i[1]=e,i[2]=n,i}function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function c(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function f(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function d(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function h(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function p(t,e){var n=e[0],r=e[1],i=e[2],a=n*n+r*r+i*i;return a>0&&(a=1/Math.sqrt(a)),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a,t}function g(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function m(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[0],l=n[1],s=n[2];return t[0]=i*s-a*l,t[1]=a*o-r*s,t[2]=r*l-i*o,t}function y(t,e,n,r){var i=e[0],a=e[1],o=e[2];return t[0]=i+r*(n[0]-i),t[1]=a+r*(n[1]-a),t[2]=o+r*(n[2]-o),t}function v(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[3]*r+n[7]*i+n[11]*a+n[15];return o=o||1,t[0]=(n[0]*r+n[4]*i+n[8]*a+n[12])/o,t[1]=(n[1]*r+n[5]*i+n[9]*a+n[13])/o,t[2]=(n[2]*r+n[6]*i+n[10]*a+n[14])/o,t}function b(t,e,n){var r=e[0],i=e[1],a=e[2];return t[0]=r*n[0]+i*n[3]+a*n[6],t[1]=r*n[1]+i*n[4]+a*n[7],t[2]=r*n[2]+i*n[5]+a*n[8],t}function x(t,e,n){var r=n[0],i=n[1],a=n[2],o=n[3],l=e[0],s=e[1],c=e[2],u=i*c-a*s,f=a*l-r*c,d=r*s-i*l,h=i*d-a*f,p=a*u-r*d,g=r*f-i*u,m=2*o;return u*=m,f*=m,d*=m,h*=2,p*=2,g*=2,t[0]=l+u+h,t[1]=s+f+p,t[2]=c+d+g,t}function O(t,e){var n=t[0],i=t[1],a=t[2],o=e[0],l=e[1],s=e[2];return Math.abs(n-o)<=r.Ib*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(i-l)<=r.Ib*Math.max(1,Math.abs(i),Math.abs(l))&&Math.abs(a-s)<=r.Ib*Math.max(1,Math.abs(a),Math.abs(s))}var w=function(t,e){return Math.hypot(e[0]-t[0],e[1]-t[1],e[2]-t[2])},_=o;i()},98333:function(t,e,n){"use strict";n.d(e,{AK:function(){return p},Fv:function(){return h},I6:function(){return y},IH:function(){return c},JG:function(){return l},Ue:function(){return i},al:function(){return o},bA:function(){return u},d9:function(){return a},fF:function(){return m},fS:function(){return v},kE:function(){return f},t7:function(){return g},t8:function(){return s},we:function(){return d}});var r=n(49685);function i(){var t=new r.WT(4);return r.WT!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0,t[3]=0),t}function a(t){var e=new r.WT(4);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function o(t,e,n,i){var a=new r.WT(4);return a[0]=t,a[1]=e,a[2]=n,a[3]=i,a}function l(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function s(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function c(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t}function u(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t}function f(t){return Math.hypot(t[0],t[1],t[2],t[3])}function d(t){var e=t[0],n=t[1],r=t[2],i=t[3];return e*e+n*n+r*r+i*i}function h(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n+r*r+i*i+a*a;return o>0&&(o=1/Math.sqrt(o)),t[0]=n*o,t[1]=r*o,t[2]=i*o,t[3]=a*o,t}function p(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function g(t,e,n,r){var i=e[0],a=e[1],o=e[2],l=e[3];return t[0]=i+r*(n[0]-i),t[1]=a+r*(n[1]-a),t[2]=o+r*(n[2]-o),t[3]=l+r*(n[3]-l),t}function m(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*a+n[12]*o,t[1]=n[1]*r+n[5]*i+n[9]*a+n[13]*o,t[2]=n[2]*r+n[6]*i+n[10]*a+n[14]*o,t[3]=n[3]*r+n[7]*i+n[11]*a+n[15]*o,t}function y(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function v(t,e){var n=t[0],i=t[1],a=t[2],o=t[3],l=e[0],s=e[1],c=e[2],u=e[3];return Math.abs(n-l)<=r.Ib*Math.max(1,Math.abs(n),Math.abs(l))&&Math.abs(i-s)<=r.Ib*Math.max(1,Math.abs(i),Math.abs(s))&&Math.abs(a-c)<=r.Ib*Math.max(1,Math.abs(a),Math.abs(c))&&Math.abs(o-u)<=r.Ib*Math.max(1,Math.abs(o),Math.abs(u))}i()},8679:function(t,e,n){"use strict";var r=n(21296),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(t){return r.isMemo(t)?o:l[t.$$typeof]||i}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=o;var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(p){var i=h(n);i&&i!==p&&t(e,i,r)}var o=u(n);f&&(o=o.concat(f(n)));for(var l=s(e),g=s(n),m=0;m=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))}},50368:function(t,e,n){"use strict";n.d(e,{V$:function(){return r.V$},Ys:function(){return i.F}});var r=n(83190),i=n(80866)},83190:function(t,e,n){"use strict";n.d(e,{S:function(){return o},Sx:function(){return r},Tt:function(){return a},V$:function(){return l},fw:function(){return c},nQ:function(){return s},tu:function(){return u},z3:function(){return i}});let r="main-layer",i="label-layer",a="element",o="view",l="plot",s="component",c="label",u="area"},39513:function(t,e,n){"use strict";n.d(e,{C7:function(){return y},DM:function(){return u},Ez:function(){return s},Lq:function(){return v},Qp:function(){return x},Ye:function(){return d},b5:function(){return m},c7:function(){return g},gn:function(){return h},hB:function(){return p},mx:function(){return b},ne:function(){return l},nx:function(){return function t(e,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(!(a>=r)){for(let o of Object.keys(n)){let l=n[o];(0,i.Z)(l)&&(0,i.Z)(e[o])?t(e[o],l,r,a+1):e[o]=l}return e}}},qC:function(){return o},ri:function(){return f},vU:function(){return c},yR:function(){return a}});var r=n(21281),i=n(16470);function a(t){return t}function o(t){return t.reduce((t,e)=>function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;an=>{var r,i,a,o;return r=this,i=void 0,a=void 0,o=function*(){let r=yield t(n);return e(r)},new(a||(a=Promise))(function(t,e){function n(t){try{s(o.next(t))}catch(t){e(t)}}function l(t){try{s(o.throw(t))}catch(t){e(t)}}function s(e){var r;e.done?t(e.value):((r=e.value)instanceof a?r:new a(function(t){t(r)})).then(n,l)}s((o=o.apply(r,i||[])).next())})},a)}function s(t){return t.replace(/( |^)[a-z]/g,t=>t.toUpperCase())}function c(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";throw Error(t)}function u(t,e){let{attributes:n}=e,r=new Set(["id","className"]);for(let[e,i]of Object.entries(n))r.has(e)||t.attr(e,i)}function f(t){return null!=t&&!Number.isNaN(t)}function d(t){let e=new Map;return n=>{if(e.has(n))return e.get(n);let r=t(n);return e.set(n,r),r}}function h(t,e){let{transform:n}=t.style;t.style.transform="".concat("none"===n||void 0===n?"":n," ").concat(e).trimStart()}function p(t,e){return g(t,e)||{}}function g(t,e){let n=Object.entries(t||{}).filter(t=>{let[n]=t;return n.startsWith(e)}).map(t=>{let[n,i]=t;return[(0,r.Z)(n.replace(e,"").trim()),i]}).filter(t=>{let[e]=t;return!!e});return 0===n.length?null:Object.fromEntries(n)}function m(t,e){return Object.fromEntries(Object.entries(t).filter(t=>{let[n]=t;return e.find(t=>n.startsWith(t))}))}function y(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r{let[e]=t;return n.every(t=>!e.startsWith(t))}))}function v(t,e){if(void 0===t)return null;if("number"==typeof t)return t;let n=+t.replace("%","");return Number.isNaN(n)?null:n/100*e}function b(t){return"object"==typeof t&&!(t instanceof Date)&&null!==t&&!Array.isArray(t)}function x(t){return null===t||!1===t}},80866:function(t,e,n){"use strict";n.d(e,{F:function(){return o},Y:function(){return l}});var r=n(1242),i=n(44022),a=n(39513);function o(t){return new l([t],null,t,t.ownerDocument)}class l{selectAll(t){let e="string"==typeof t?this._parent.querySelectorAll(t):t;return new l(e,null,this._elements[0],this._document)}selectFacetAll(t){let e="string"==typeof t?this._parent.querySelectorAll(t):t;return new l(this._elements,null,this._parent,this._document,void 0,void 0,e)}select(t){let e="string"==typeof t?this._parent.querySelectorAll(t)[0]||null:t;return new l([e],null,e,this._document)}append(t){let e="function"==typeof t?t:()=>this.createElement(t),n=[];if(null!==this._data){for(let t=0;t1&&void 0!==arguments[1]?arguments[1]:t=>t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>null,r=[],a=[],o=new Set(this._elements),s=[],c=new Set,u=new Map(this._elements.map((t,n)=>[e(t.__data__,n),t])),f=new Map(this._facetElements.map((t,n)=>[e(t.__data__,n),t])),d=(0,i.ZP)(this._elements,t=>n(t.__data__));for(let i=0;i0&&void 0!==arguments[0]?arguments[0]:t=>t,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t=>t.remove(),r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t=>t,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:t=>t.remove(),a=t(this._enter),o=e(this._update),l=n(this._exit),s=r(this._merge),c=i(this._split);return o.merge(a).merge(l).merge(s).merge(c)}remove(){for(let t=0;tt.finished)).then(()=>{let e=this._elements[t];e.remove()})}else{let e=this._elements[t];e.remove()}}return new l([],null,this._parent,this._document,void 0,this._transitions)}each(t){for(let e=0;ee:e;return this.each(function(r,i,a){void 0!==e&&(a[t]=n(r,i,a))})}style(t,e){let n="function"!=typeof e?()=>e:e;return this.each(function(r,i,a){void 0!==e&&(a.style[t]=n(r,i,a))})}transition(t){let e="function"!=typeof t?()=>t:t,{_transitions:n}=this;return this.each(function(t,r,i){n[r]=e(t,r,i)})}on(t,e){return this.each(function(n,r,i){i.addEventListener(t,e)}),this}call(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r[["cartesian"]];d.props={};let h=function(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),n);return Object.assign(Object.assign({},r),(t=r.startAngle,e=r.endAngle,t%=2*Math.PI,e%=2*Math.PI,t<0&&(t=2*Math.PI+t),e<0&&(e=2*Math.PI+e),t>=e&&(e+=2*Math.PI),{startAngle:t,endAngle:e}))},p=t=>{let{startAngle:e,endAngle:n,innerRadius:r,outerRadius:i}=h(t);return[["translate",0,.5],["reflect.y"],["translate",0,-.5],["polar",e,n,r,i]]};p.props={};let g=()=>[["transpose"],["translate",.5,.5],["reflect.x"],["translate",-.5,-.5]];g.props={transform:!0};let m=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),t)},y=t=>{let{startAngle:e,endAngle:n,innerRadius:r,outerRadius:i}=m(t);return[...g(),...p({startAngle:e,endAngle:n,innerRadius:r,outerRadius:i})]};y.props={};let v=()=>[["parallel",0,1,0,1]];v.props={};let b=t=>{let{focusX:e=0,focusY:n=0,distortionX:r=2,distortionY:i=2,visual:a=!1}=t;return[["fisheye",e,n,r,i,a]]};b.props={transform:!0};let x=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),t)},O=t=>{let{startAngle:e,endAngle:n,innerRadius:r,outerRadius:i}=x(t);return[["transpose"],["translate",.5,.5],["reflect"],["translate",-.5,-.5],...p({startAngle:e,endAngle:n,innerRadius:r,outerRadius:i})]};O.props={};let w=t=>{let{startAngle:e=-Math.PI/2,endAngle:n=3*Math.PI/2,innerRadius:r=0,outerRadius:i=1}=t;return[...v(),...p({startAngle:e,endAngle:n,innerRadius:r,outerRadius:i})]};w.props={};let _=t=>{let{value:e}=t;return t=>t.map(()=>e)};_.props={};let k=t=>{let{value:e}=t;return t=>t.map(t=>t[e])};k.props={};let M=t=>{let{value:e}=t;return t=>t.map(e)};M.props={};let C=t=>{let{value:e}=t;return()=>e};C.props={};var j=n(85159),A=function(t){return Array.isArray?Array.isArray(t):(0,j.Z)(t,"Array")},S=n(16470),E=function(t){for(var e=[],n=1;n1?e-1:0),r=1;r(t,e)=>{let{encode:n}=e,{y1:r}=n;return void 0!==r?[t,e]:[t,E({},e,{encode:{y1:R(Z(t,0))}})]};N.props={};let D=()=>(t,e)=>{let{encode:n}=e,{x:r}=n;return void 0!==r?[t,e]:[t,E({},e,{encode:{x:R(Z(t,0))},scale:{x:{guide:null}}})]};D.props={};var F=n(10233);function z(t){let{transformations:e}=t.getOptions(),n=e.map(t=>{let[e]=t;return e}).filter(t=>"transpose"===t);return n.length%2!=0}function $(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"polar"===e})}function W(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"reflect"===e})&&e.some(t=>{let[e]=t;return e.startsWith("transpose")})}function H(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"helix"===e})}function G(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"parallel"===e})}function q(t){let{transformations:e}=t.getOptions();return e.some(t=>{let[e]=t;return"fisheye"===e})}function V(t){return H(t)||$(t)}function Y(t){let{transformations:e}=t.getOptions(),[,,,n,r]=e.find(t=>"polar"===t[0]);return[+n,+r]}function U(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{transformations:n}=t.getOptions(),[,r,i]=n.find(t=>"polar"===t[0]);return e?[180*+r/Math.PI,180*+i/Math.PI]:[r,i]}var Q=n(80866);function K(t,e){let[n,r]=t,[i,a]=e;return[n-i,r-a]}function X(t,e){let[n,r]=t,[i,a]=e;return[n+i,r+a]}function J(t,e){let[n,r]=t,[i,a]=e;return Math.sqrt(Math.pow(n-i,2)+Math.pow(r-a,2))}function tt(t){let[e,n]=t;return Math.atan2(n,e)}function te(t){let[e,n]=t;return tt([e,n])+Math.PI/2}function tn(t,e){let n=tt(t),r=tt(e);return n1&&void 0!==arguments[1]?arguments[1]:10;return"number"!=typeof t?t:1e-15>Math.abs(t)?t:parseFloat(t.toFixed(e))}function tl(t,...e){return e.reduce((t,e)=>n=>t(e(n)),t)}function ts(t,e){return e-t?n=>(n-t)/(e-t):t=>.5}function tc(t,e,n,r,i){let a=n||0,o=r||t.length,l=i||(t=>t);for(;ae?o=n:a=n+1}return a}let tu=Math.sqrt(50),tf=Math.sqrt(10),td=Math.sqrt(2);function th(t,e,n){let r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),a=r/10**i;return i>=0?(a>=tu?10:a>=tf?5:a>=td?2:1)*10**i:-(10**-i)/(a>=tu?10:a>=tf?5:a>=td?2:1)}function tp(t,e,n){let r=Math.abs(e-t)/Math.max(0,n),i=10**Math.floor(Math.log(r)/Math.LN10),a=r/i;return a>=tu?i*=10:a>=tf?i*=5:a>=td&&(i*=2),e{let r;let i=[t,e],a=0,o=i.length-1,l=i[a],s=i[o];return s0?r=th(l=Math.floor(l/r)*r,s=Math.ceil(s/r)*r,n):r<0&&(r=th(l=Math.ceil(l*r)/r,s=Math.floor(s*r)/r,n)),r>0?(i[a]=Math.floor(l/r)*r,i[o]=Math.ceil(s/r)*r):r<0&&(i[a]=Math.ceil(l*r)/r,i[o]=Math.floor(s*r)/r),i},tm=864e5,ty=7*tm,tv=30*tm,tb=365*tm;function tx(t,e,n,r){let i=(t,e)=>{let i=t=>r(t)%e==0,a=e;for(;a&&!i(t);)n(t,-1),a-=1;return t},a=(t,n)=>{n&&i(t,n),e(t)},o=(t,e)=>{let r=new Date(+t-1);return a(r,e),n(r,e),a(r),r};return{ceil:o,floor:(t,e)=>{let n=new Date(+t);return a(n,e),n},range:(t,e,r,i)=>{let l=[],s=Math.floor(r),c=i?o(t,r):o(t);for(;+c<+e;n(c,s),a(c))l.push(new Date(+c));return l},duration:t}}let tO=tx(1,t=>t,(t,e=1)=>{t.setTime(+t+e)},t=>t.getTime()),tw=tx(1e3,t=>{t.setMilliseconds(0)},(t,e=1)=>{t.setTime(+t+1e3*e)},t=>t.getSeconds()),t_=tx(6e4,t=>{t.setSeconds(0,0)},(t,e=1)=>{t.setTime(+t+6e4*e)},t=>t.getMinutes()),tk=tx(36e5,t=>{t.setMinutes(0,0,0)},(t,e=1)=>{t.setTime(+t+36e5*e)},t=>t.getHours()),tM=tx(tm,t=>{t.setHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+tm*e)},t=>t.getDate()-1),tC=tx(tv,t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e=1)=>{let n=t.getMonth();t.setMonth(n+e)},t=>t.getMonth()),tj=tx(ty,t=>{t.setDate(t.getDate()-t.getDay()%7),t.setHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+ty*e)},t=>{let e=tC.floor(t),n=new Date(+t);return Math.floor((+n-+e)/ty)}),tA=tx(tb,t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e=1)=>{let n=t.getFullYear();t.setFullYear(n+e)},t=>t.getFullYear()),tS={millisecond:tO,second:tw,minute:t_,hour:tk,day:tM,week:tj,month:tC,year:tA},tE=tx(1,t=>t,(t,e=1)=>{t.setTime(+t+e)},t=>t.getTime()),tP=tx(1e3,t=>{t.setUTCMilliseconds(0)},(t,e=1)=>{t.setTime(+t+1e3*e)},t=>t.getUTCSeconds()),tR=tx(6e4,t=>{t.setUTCSeconds(0,0)},(t,e=1)=>{t.setTime(+t+6e4*e)},t=>t.getUTCMinutes()),tT=tx(36e5,t=>{t.setUTCMinutes(0,0,0)},(t,e=1)=>{t.setTime(+t+36e5*e)},t=>t.getUTCHours()),tZ=tx(tm,t=>{t.setUTCHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+tm*e)},t=>t.getUTCDate()-1),tL=tx(tv,t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e=1)=>{let n=t.getUTCMonth();t.setUTCMonth(n+e)},t=>t.getUTCMonth()),tB=tx(ty,t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7)%7),t.setUTCHours(0,0,0,0)},(t,e=1)=>{t.setTime(+t+ty*e)},t=>{let e=tL.floor(t),n=new Date(+t);return Math.floor((+n-+e)/ty)}),tI=tx(tb,t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e=1)=>{let n=t.getUTCFullYear();t.setUTCFullYear(n+e)},t=>t.getUTCFullYear()),tN={millisecond:tE,second:tP,minute:tR,hour:tT,day:tZ,week:tB,month:tL,year:tI};function tD(t,e,n,r,i){let a;let o=+t,l=+e,{tickIntervals:s,year:c,millisecond:u}=function(t){let{year:e,month:n,week:r,day:i,hour:a,minute:o,second:l,millisecond:s}=t?tN:tS;return{tickIntervals:[[l,1],[l,5],[l,15],[l,30],[o,1],[o,5],[o,15],[o,30],[a,1],[a,3],[a,6],[a,12],[i,1],[i,2],[r,1],[n,1],[n,3],[e,1]],year:e,millisecond:s}}(i),f=([t,e])=>t.duration*e,d=r?(l-o)/r:n||5,h=r||(l-o)/d,p=s.length,g=tc(s,h,0,p,f);if(g===p){let t=tp(o/c.duration,l/c.duration,d);a=[c,t]}else if(g){let t=h/f(s[g-1]){let a=t>e,o=a?e:t,l=a?t:e,[s,c]=tD(o,l,n,r,i),u=[s.floor(o,c),s.ceil(l,c)];return a?u.reverse():u};var tz={}.toString,t$=function(t,e){return tz.call(t)==="[object "+e+"]"},tW=function(t){return t$(t,"Function")},tH=function(t){return Array.isArray?Array.isArray(t):t$(t,"Array")},tG=function(t){var e=typeof t;return null!==t&&"object"===e||"function"===e},tq=function(t,e){if(t){if(tH(t))for(var n=0,r=t.length;ne=>-t(-e),t7=(t,e)=>{let n=Math.log(t),r=t===Math.E?Math.log:10===t?Math.log10:2===t?Math.log2:t=>Math.log(t)/n;return e?t8(r):r},t9=(t,e)=>{let n=t===Math.E?Math.exp:e=>t**e;return e?t8(n):n},et=t=>e=>{let n=t(e);return tQ(n)?Math.round(n):n};function ee(t,e){return n=>{n.prototype.rescale=function(){this.initRange(),this.nice();let[t]=this.chooseTransforms();this.composeOutput(t,this.chooseClamp(t))},n.prototype.initRange=function(){let{interpolator:e}=this.options;this.options.range=t(e)},n.prototype.composeOutput=function(t,n){let{domain:r,interpolator:i,round:a}=this.getOptions(),o=e(r.map(t)),l=a?et(i):i;this.output=tl(l,o,n,t)},n.prototype.invert=void 0}}var en=n(19818),er=n.n(en);function ei(t,e,n){let r=n;return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function ea(t){let e=er().get(t);if(!e)return null;let{model:n,value:r}=e;return"rgb"===n?r:"hsl"===n?function(t){let e=t[0]/360,n=t[1]/100,r=t[2]/100,i=t[3];if(0===n)return[255*r,255*r,255*r,i];let a=r<.5?r*(1+n):r+n-r*n,o=2*r-a,l=ei(o,a,e+1/3),s=ei(o,a,e),c=ei(o,a,e-1/3);return[255*l,255*s,255*c,i]}(r):null}let eo=(t,e)=>n=>t*(1-n)+e*n,el=(t,e)=>{let n=ea(t),r=ea(e);return null===n||null===r?n?()=>t:()=>e:t=>{let e=[,,,,];for(let i=0;i<4;i+=1){let a=n[i],o=r[i];e[i]=a*(1-t)+o*t}let[i,a,o,l]=e;return`rgba(${Math.round(i)}, ${Math.round(a)}, ${Math.round(o)}, ${l})`}},es=(t,e)=>"number"==typeof t&&"number"==typeof e?eo(t,e):"string"==typeof t&&"string"==typeof e?el(t,e):()=>t,ec=(t,e)=>{let n=eo(t,e);return t=>Math.round(n(t))};function eu({map:t,initKey:e},n){let r=e(n);return t.has(r)?t.get(r):n}function ef(t){return"object"==typeof t?t.valueOf():t}class ed extends Map{constructor(t){if(super(),this.map=new Map,this.initKey=ef,null!==t)for(let[e,n]of t)this.set(e,n)}get(t){return super.get(eu({map:this.map,initKey:this.initKey},t))}has(t){return super.has(eu({map:this.map,initKey:this.initKey},t))}set(t,e){return super.set(function({map:t,initKey:e},n){let r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}({map:this.map,initKey:this.initKey},t),e)}delete(t){return super.delete(function({map:t,initKey:e},n){let r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}({map:this.map,initKey:this.initKey},t))}}class eh{constructor(t){this.options=tJ({},this.getDefaultOptions()),this.update(t)}getOptions(){return this.options}update(t={}){this.options=tJ({},this.options,t),this.rescale(t)}rescale(t){}}let ep=Symbol("defaultUnknown");function eg(t,e,n){for(let r=0;r`${t}`:"object"==typeof t?t=>JSON.stringify(t):t=>t}class ev extends eh{getDefaultOptions(){return{domain:[],range:[],unknown:ep}}constructor(t){super(t)}map(t){return 0===this.domainIndexMap.size&&eg(this.domainIndexMap,this.getDomain(),this.domainKey),em({value:this.domainKey(t),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(t){return 0===this.rangeIndexMap.size&&eg(this.rangeIndexMap,this.getRange(),this.rangeKey),em({value:this.rangeKey(t),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(t){let[e]=this.options.domain,[n]=this.options.range;if(this.domainKey=ey(e),this.rangeKey=ey(n),!this.rangeIndexMap){this.rangeIndexMap=new Map,this.domainIndexMap=new Map;return}(!t||t.range)&&this.rangeIndexMap.clear(),(!t||t.domain||t.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)}clone(){return new ev(this.options)}getRange(){return this.options.range}getDomain(){if(this.sortedDomain)return this.sortedDomain;let{domain:t,compare:e}=this.options;return this.sortedDomain=e?[...t].sort(e):t,this.sortedDomain}}class eb extends ev{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,paddingInner:0,paddingOuter:0,padding:0,unknown:ep,flex:[]}}constructor(t){super(t)}clone(){return new eb(this.options)}getStep(t){return void 0===this.valueStep?1:"number"==typeof this.valueStep?this.valueStep:void 0===t?Array.from(this.valueStep.values())[0]:this.valueStep.get(t)}getBandWidth(t){return void 0===this.valueBandWidth?1:"number"==typeof this.valueBandWidth?this.valueBandWidth:void 0===t?Array.from(this.valueBandWidth.values())[0]:this.valueBandWidth.get(t)}getRange(){return this.adjustedRange}getPaddingInner(){let{padding:t,paddingInner:e}=this.options;return t>0?t:e}getPaddingOuter(){let{padding:t,paddingOuter:e}=this.options;return t>0?t:e}rescale(){super.rescale();let{align:t,domain:e,range:n,round:r,flex:i}=this.options,{adjustedRange:a,valueBandWidth:o,valueStep:l}=function(t){var e;let n,r;let{domain:i}=t,a=i.length;if(0===a)return{valueBandWidth:void 0,valueStep:void 0,adjustedRange:[]};let o=!!(null===(e=t.flex)||void 0===e?void 0:e.length);if(o)return function(t){let{domain:e,range:n,paddingOuter:r,paddingInner:i,flex:a,round:o,align:l}=t,s=e.length,c=function(t,e){let n=t.length,r=e-n;return r>0?[...t,...Array(r).fill(1)]:r<0?t.slice(0,e):t}(a,s),[u,f]=n,d=f-u,h=2/s*r+1-1/s*i,p=d/h,g=p*i/s,m=p-s*g,y=function(t){let e=Math.min(...t);return t.map(t=>t/e)}(c),v=y.reduce((t,e)=>t+e),b=m/v,x=new ed(e.map((t,e)=>{let n=y[e]*b;return[t,o?Math.floor(n):n]})),O=new ed(e.map((t,e)=>{let n=y[e]*b,r=n+g;return[t,o?Math.floor(r):r]})),w=Array.from(O.values()).reduce((t,e)=>t+e),_=d-(w-w/s*i),k=u+_*l,M=o?Math.round(k):k,C=Array(s);for(let t=0;td+e*n);return{valueStep:n,valueBandWidth:r,adjustedRange:m}}({align:t,range:n,round:r,flex:i,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:e});this.valueStep=l,this.valueBandWidth=o,this.adjustedRange=a}}let ex=(t,e,n)=>{let r,i;let a=t,o=e;if(a===o&&n>0)return[a];let l=th(a,o,n);if(0===l||!Number.isFinite(l))return[];if(l>0){a=Math.ceil(a/l),i=Array(r=Math.ceil((o=Math.floor(o/l))-a+1));for(let t=0;tMath.abs(t)?t:parseFloat(t.toFixed(15))}let e_=[1,5,2,2.5,4,3],ek=100*Number.EPSILON,eM=(t,e,n=5,r=!0,i=e_,a=[.25,.2,.5,.05])=>{let o=n<0?0:Math.round(n);if(Number.isNaN(t)||Number.isNaN(e)||"number"!=typeof t||"number"!=typeof e||!o)return[];if(e-t<1e-15||1===o)return[t];let l={score:-2,lmin:0,lmax:0,lstep:0},s=1;for(;s<1/0;){for(let n=0;n=o?2-(c-1)/(o-1):1;if(a[0]*f+a[1]+a[2]*n+a[3]r?1-((n-r)/2)**2/(.1*r)**2:1}(t,e,c*(d-1));if(a[0]*f+a[1]*h+a[2]*n+a[3]=0&&(s=1),1-l/(o-1)-n+s}(u,i,s,h,p,c),y=1-.5*((e-p)**2+(t-h)**2)/(.1*(e-t))**2,v=function(t,e,n,r,i,a){let o=(t-1)/(a-i),l=(e-1)/(Math.max(a,r)-Math.min(n,i));return 2-Math.max(o/l,l/o)}(d,o,t,e,h,p),b=a[0]*m+a[1]*y+a[2]*v+1*a[3];b>l.score&&(!r||h<=t&&p>=e)&&(l.lmin=h,l.lmax=p,l.lstep=c,l.score=b)}}p+=1}d+=1}}s+=1}let u=ew(l.lmax),f=ew(l.lmin),d=ew(l.lstep),h=Math.floor(Math.round(1e12*((u-f)/d))/1e12)+1,p=Array(h);p[0]=ew(f);for(let t=1;t{let r,i;let[a,o]=t,[l,s]=e;return a{let r=Math.min(t.length,e.length)-1,i=Array(r),a=Array(r),o=t[0]>t[r],l=o?[...t].reverse():t,s=o?[...e].reverse():e;for(let t=0;t{let n=tc(t,e,1,r)-1,o=i[n],l=a[n];return tl(l,o)(e)}},eS=(t,e,n,r)=>{let i=Math.min(t.length,e.length),a=r?ec:n;return(i>2?eA:ej)(t,e,a)};class eE extends eh{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:eo,tickCount:5}}map(t){return t6(t)?this.output(t):this.options.unknown}invert(t){return t6(t)?this.input(t):this.options.unknown}nice(){if(!this.options.nice)return;let[t,e,n,...r]=this.getTickMethodOptions();this.options.domain=this.chooseNice()(t,e,n,...r)}getTicks(){let{tickMethod:t}=this.options,[e,n,r,...i]=this.getTickMethodOptions();return t(e,n,r,...i)}getTickMethodOptions(){let{domain:t,tickCount:e}=this.options,n=t[0],r=t[t.length-1];return[n,r,e]}chooseNice(){return tg}rescale(){this.nice();let[t,e]=this.chooseTransforms();this.composeOutput(t,this.chooseClamp(t)),this.composeInput(t,e,this.chooseClamp(e))}chooseClamp(t){let{clamp:e,range:n}=this.options,r=this.options.domain.map(t),i=Math.min(r.length,n.length);return e?function(t,e){let n=ee?t:e;return t=>Math.min(Math.max(n,t),r)}(r[0],r[i-1]):t5}composeOutput(t,e){let{domain:n,range:r,round:i,interpolate:a}=this.options,o=eS(n.map(t),r,a,i);this.output=tl(o,e,t)}composeInput(t,e,n){let{domain:r,range:i}=this.options,a=eS(i,r.map(t),eo);this.input=tl(e,n,a)}}class eP extends eE{getDefaultOptions(){return{domain:[0,1],range:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolate:es,tickMethod:ex,tickCount:5}}chooseTransforms(){return[t5,t5]}clone(){return new eP(this.options)}}class eR extends eb{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:ep,paddingInner:1,paddingOuter:0}}constructor(t){super(t)}getPaddingInner(){return 1}clone(){return new eR(this.options)}update(t){super.update(t)}getPaddingOuter(){return this.options.padding}}let eT=t=>e=>e<0?-((-e)**t):e**t,eZ=t=>e=>e<0?-((-e)**(1/t)):e**(1/t),eL=t=>t<0?-Math.sqrt(-t):Math.sqrt(t);class eB extends eE{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,exponent:2,interpolate:es,tickMethod:ex,tickCount:5}}constructor(t){super(t)}chooseTransforms(){let{exponent:t}=this.options;if(1===t)return[t5,t5];let e=.5===t?eL:eT(t),n=eZ(t);return[e,n]}clone(){return new eB(this.options)}}class eI extends eB{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:es,tickMethod:ex,tickCount:5,exponent:.5}}constructor(t){super(t)}update(t){super.update(t)}clone(){return new eI(this.options)}}class eN extends eh{getDefaultOptions(){return{domain:[.5],range:[0,1]}}constructor(t){super(t)}map(t){if(!t6(t))return this.options.unknown;let e=tc(this.thresholds,t,0,this.n);return this.options.range[e]}invert(t){let{range:e}=this.options,n=e.indexOf(t),r=this.thresholds;return[r[n-1],r[n]]}clone(){return new eN(this.options)}rescale(){let{domain:t,range:e}=this.options;this.n=Math.min(t.length,e.length-1),this.thresholds=t}}let eD=(t,e,n,r=10)=>{let i=t<0,a=t9(r,i),o=t7(r,i),l=e=1;e-=1){let n=t*e;if(n>c)break;n>=s&&d.push(n)}}else for(;u<=f;u+=1){let t=a(u);for(let e=1;ec)break;n>=s&&d.push(n)}}2*d.length{let i=t<0,a=t7(r,i),o=t9(r,i),l=t>e,s=[o(Math.floor(a(l?e:t))),o(Math.ceil(a(l?t:e)))];return l?s.reverse():s};class ez extends eE{getDefaultOptions(){return{domain:[1,10],range:[0,1],base:10,interpolate:es,tickMethod:eD,tickCount:5}}chooseNice(){return eF}getTickMethodOptions(){let{domain:t,tickCount:e,base:n}=this.options,r=t[0],i=t[t.length-1];return[r,i,e,n]}chooseTransforms(){let{base:t,domain:e}=this.options,n=e[0]<0;return[t7(t,n),t9(t,n)]}clone(){return new ez(this.options)}}class e$ extends eN{getDefaultOptions(){return{domain:[0,1],range:[.5],nice:!1,tickCount:5,tickMethod:eM}}constructor(t){super(t)}nice(){let{nice:t}=this.options;if(t){let[t,e,n]=this.getTickMethodOptions();this.options.domain=tg(t,e,n)}}getTicks(){let{tickMethod:t}=this.options,[e,n,r]=this.getTickMethodOptions();return t(e,n,r)}getTickMethodOptions(){let{domain:t,tickCount:e}=this.options,n=t[0],r=t[t.length-1];return[n,r,e]}rescale(){this.nice();let{range:t,domain:e}=this.options,[n,r]=e;this.n=t.length-1,this.thresholds=Array(this.n);for(let t=0;tt-e);let r=[];for(let n=1;n{let a=t>e,o=a?e:t,l=a?t:e,[s,c]=tD(o,l,n,r,i),u=s.range(o,new Date(+l+1),c,!0);return a?u.reverse():u};function eq(t){let e=t.getTimezoneOffset(),n=new Date(t);return n.setMinutes(n.getMinutes()+e,n.getSeconds(),n.getMilliseconds()),n}class eV extends eE{getDefaultOptions(){return{domain:[new Date(2e3,0,1),new Date(2e3,0,2)],range:[0,1],nice:!1,tickCount:5,tickInterval:void 0,unknown:void 0,clamp:!1,tickMethod:eG,interpolate:eo,mask:void 0,utc:!1}}chooseTransforms(){return[t=>+t,t=>new Date(t)]}chooseNice(){return tF}getTickMethodOptions(){let{domain:t,tickCount:e,tickInterval:n,utc:r}=this.options,i=t[0],a=t[t.length-1];return[i,a,e,n,r]}getFormatter(){let{mask:t,utc:e}=this.options,n=e?tN:tS,r=e?eq:t5;return e=>(0,eH.WU)(r(e),t||function(t,e){let{second:n,minute:r,hour:i,day:a,week:o,month:l,year:s}=e;return n.floor(t)=0;l--)(i=t[l])&&(o=(a<3?i(o):a>3?i(e,n,o):i(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}([ee(function(t){return[t(0),t(1)]},t=>{let[e,n]=t,r=tl(eo(0,1),ts(e,n));return r})],eY);let eU=l=class extends eP{getDefaultOptions(){return{domain:[0,.5,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:t5,tickMethod:ex,tickCount:5}}constructor(t){super(t)}clone(){return new l(this.options)}};eU=l=function(t,e,n,r){var i,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(o=(a<3?i(o):a>3?i(e,n,o):i(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}([ee(function(t){return[t(0),t(.5),t(1)]},t=>{let[e,n,r]=t,i=tl(eo(0,.5),ts(e,n)),a=tl(eo(.5,1),ts(n,r));return t=>e>r?t{let[i,a]=r;return n[i]=e(a,i,t),n},{})}function eJ(t){return t.map((t,e)=>e)}function e0(t){return t[t.length-1]}function e1(t,e){let n=[[],[]];return t.forEach(t=>{n[e(t)?0:1].push(t)}),n}function e2(t,e){for(let[n,r]of Object.entries(e))t.style(n,r)}function e5(t,e,n,r,i){let a=tt(K(r,e))+Math.PI,o=tt(K(r,n))+Math.PI;return t.arc(r[0],r[1],i,a,o,o-a<0),t}function e3(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"y",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"between",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o="y"===r||!0===r?n:e,l=eJ(o),[s,c]=(0,eK.Z)(l,t=>o[t]),u=new eP({domain:[s,c],range:[0,100]}),f=t=>eQ(o[t])&&!Number.isNaN(o[t])?u.map(o[t]):0,d={between:e=>"".concat(t[e]," ").concat(f(e),"%"),start:e=>0===e?"".concat(t[e]," ").concat(f(e),"%"):"".concat(t[e-1]," ").concat(f(e),"%, ").concat(t[e]," ").concat(f(e),"%"),end:e=>e===t.length-1?"".concat(t[e]," ").concat(f(e),"%"):"".concat(t[e]," ").concat(f(e),"%, ").concat(t[e+1]," ").concat(f(e),"%")},h=l.sort((t,e)=>f(t)-f(e)).map(d[i]||d.between).join(",");return"linear-gradient(".concat("y"===r||!0===r?a?180:90:a?90:0,"deg, ").concat(h,")")}function e4(t){let[e,n,r,i]=t;return[i,e,n,r]}function e6(t,e,n){let[r,i,,a]=z(t)?e4(e):e,[o,l]=n,s=t.getCenter(),c=te(K(r,s)),u=te(K(i,s)),f=u===c&&o!==l?u+2*Math.PI:u;return{startAngle:c,endAngle:f-c>=0?f:2*Math.PI+f,innerRadius:J(a,s),outerRadius:J(r,s)}}function e8(t){let{colorAttribute:e,opacityAttribute:n=e}=t;return"".concat(n,"Opacity")}function e7(t,e){if(!$(t))return"";let n=t.getCenter(),{transform:r}=e;return"translate(".concat(n[0],", ").concat(n[1],") ").concat(r||"")}function e9(t){if(1===t.length)return t[0];let[[e,n,r=0],[i,a,o=0]]=t;return[(e+i)/2,(n+a)/2,(r+o)/2]}var nt=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function ne(t,e,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},{inset:a=0,radius:o=0,insetLeft:l=a,insetTop:s=a,insetRight:c=a,insetBottom:u=a,radiusBottomLeft:f=o,radiusBottomRight:d=o,radiusTopLeft:h=o,radiusTopRight:p=o,minWidth:g=-1/0,maxWidth:m=1/0,minHeight:y=-1/0}=i,v=nt(i,["inset","radius","insetLeft","insetTop","insetRight","insetBottom","radiusBottomLeft","radiusBottomRight","radiusTopLeft","radiusTopRight","minWidth","maxWidth","minHeight"]);if(!$(r)&&!H(r)){let n=!!z(r),[i,,a]=n?e4(e):e,[o,b]=i,[x,O]=K(a,i),w=Math.abs(x),_=Math.abs(O),k=(x>0?o:o+x)+l,M=(O>0?b:b+O)+s,C=w-(l+c),j=_-(s+u),A=n?ta(C,y,1/0):ta(C,g,m),S=n?ta(j,g,m):ta(j,y,1/0),E=n?k:k-(A-C)/2,P=n?M-(S-j)/2:M-(S-j);return(0,Q.F)(t.createElement("rect",{})).style("x",E).style("y",P).style("width",A).style("height",S).style("radius",[h,p,d,f]).call(e2,v).node()}let{y:b,y1:x}=n,O=r.getCenter(),w=e6(r,e,[b,x]),_=(0,F.Z)().cornerRadius(o).padAngle(a*Math.PI/180);return(0,Q.F)(t.createElement("path",{})).style("d",_(w)).style("transform","translate(".concat(O[0],", ").concat(O[1],")")).style("radius",o).style("inset",a).call(e2,v).node()}let nn=(t,e)=>{let{colorAttribute:n,opacityAttribute:r="fill",first:i=!0,last:a=!0}=t,o=nt(t,["colorAttribute","opacityAttribute","first","last"]),{coordinate:l,document:s}=e;return(e,r,c)=>{let{color:u,radius:f=0}=c,d=nt(c,["color","radius"]),h=d.lineWidth||1,{stroke:p,radius:g=f,radiusTopLeft:m=g,radiusTopRight:y=g,radiusBottomRight:v=g,radiusBottomLeft:b=g,innerRadius:x=0,innerRadiusTopLeft:O=x,innerRadiusTopRight:w=x,innerRadiusBottomRight:_=x,innerRadiusBottomLeft:k=x,lineWidth:M="stroke"===n||p?h:0,inset:C=0,insetLeft:j=C,insetRight:A=C,insetBottom:S=C,insetTop:E=C,minWidth:P,maxWidth:R,minHeight:T}=o,Z=nt(o,["stroke","radius","radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft","innerRadius","innerRadiusTopLeft","innerRadiusTopRight","innerRadiusBottomRight","innerRadiusBottomLeft","lineWidth","inset","insetLeft","insetRight","insetBottom","insetTop","minWidth","maxWidth","minHeight"]),{color:L=u,opacity:B}=r,I=[i?m:O,i?y:w,a?v:_,a?b:k],N=["radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft"];z(l)&&N.push(N.shift());let D=Object.assign(Object.assign({radius:g},Object.fromEntries(N.map((t,e)=>[t,I[e]]))),{inset:C,insetLeft:j,insetRight:A,insetBottom:S,insetTop:E,minWidth:P,maxWidth:R,minHeight:T});return(0,Q.F)(ne(s,e,r,l,D)).call(e2,d).style("fill","transparent").style(n,L).style(e8(t),B).style("lineWidth",M).style("stroke",void 0===p?L:p).call(e2,Z).node()}};nn.props={defaultEnterAnimation:"scaleInY",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nr=(t,e)=>nn(Object.assign({colorAttribute:"fill"},t),e);nr.props=Object.assign(Object.assign({},nn.props),{defaultMarker:"square"});let ni=(t,e)=>nn(Object.assign({colorAttribute:"stroke"},t),e);ni.props=Object.assign(Object.assign({},nn.props),{defaultMarker:"hollowSquare"});var na=n(25049),no=n(57481),nl=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function ns(t,e,n){let[r,i,a,o]=t;if(z(n)){let t=[e?e[0][0]:i[0],i[1]],n=[e?e[3][0]:a[0],a[1]];return[r,t,n,o]}let l=[i[0],e?e[0][1]:i[1]],s=[a[0],e?e[3][1]:a[1]];return[r,l,s,o]}let nc=(t,e)=>{let{adjustPoints:n=ns}=t,r=nl(t,["adjustPoints"]),{coordinate:i,document:a}=e;return(t,e,o,l)=>{let{index:s}=e,{color:c}=o,u=nl(o,["color"]),f=l[s+1],d=n(t,f,i),h=!!z(i),[p,g,m,y]=h?e4(d):d,{color:v=c,opacity:b}=e,x=(0,na.Z)().curve(no.Z)([p,g,m,y]);return(0,Q.F)(a.createElement("path",{})).call(e2,u).style("d",x).style("fill",v).style("fillOpacity",b).call(e2,r).node()}};function nu(t,e,n){let[r,i,a,o]=t;if(z(n)){let t=[e?e[0][0]:(i[0]+a[0])/2,i[1]],n=[e?e[3][0]:(i[0]+a[0])/2,a[1]];return[r,t,n,o]}let l=[i[0],e?e[0][1]:(i[1]+a[1])/2],s=[a[0],e?e[3][1]:(i[1]+a[1])/2];return[r,l,s,o]}nc.props={defaultMarker:"square"};let nf=(t,e)=>nc(Object.assign({adjustPoints:nu},t),e);nf.props={defaultMarker:"square"};var nd=n(39513);function nh(t){return Math.abs(t)>10?String(t):t.toString().padStart(2,"0")}let np=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{channel:e="x"}=t;return(t,n)=>{let{encode:r}=n,{tooltip:i}=n;if((0,nd.Qp)(i))return[t,n];let{title:a}=i;if(void 0!==a)return[t,n];let o=Object.keys(r).filter(t=>t.startsWith(e)).filter(t=>!r[t].inferred).map(t=>L(r,t)).filter(t=>{let[e]=t;return e}).map(t=>t[0]);if(0===o.length)return[t,n];let l=[];for(let e of t)l[e]={value:o.map(t=>t[e]instanceof Date?function(t){let e=t.getFullYear(),n=nh(t.getMonth()+1),r=nh(t.getDate()),i="".concat(e,"-").concat(n,"-").concat(r),a=t.getHours(),o=t.getMinutes(),l=t.getSeconds();return a||o||l?"".concat(i," ").concat(nh(a),":").concat(nh(o),":").concat(nh(l)):i}(t[e]):t[e]).join(", ")};return[t,E({},n,{tooltip:{title:l}})]}};np.props={};let ng=t=>{let{channel:e}=t;return(t,n)=>{let{encode:r,tooltip:i}=n;if((0,nd.Qp)(i))return[t,n];let{items:a=[]}=i;if(!a||a.length>0)return[t,n];let o=Array.isArray(e)?e:[e],l=o.flatMap(t=>Object.keys(r).filter(e=>e.startsWith(t)).map(t=>{let{field:e,value:n,inferred:i=!1,aggregate:a}=r[t];return i?null:a&&n?{channel:t}:e?{field:e}:n?{channel:t}:null}).filter(t=>null!==t));return[t,E({},n,{tooltip:{items:l}})]}};ng.props={};var nm=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let ny=()=>(t,e)=>{let{encode:n}=e,{key:r}=n,i=nm(n,["key"]);if(void 0!==r)return[t,e];let a=Object.values(i).map(t=>{let{value:e}=t;return e}),o=t.map(t=>a.filter(Array.isArray).map(e=>e[t]).join("-"));return[t,E({},e,{encode:{key:P(o)}})]};function nv(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{shapes:e}=t;return[{name:"color"},{name:"opacity"},{name:"shape",range:e},{name:"enterType"},{name:"enterDelay",scaleKey:"enter"},{name:"enterDuration",scaleKey:"enter"},{name:"enterEasing"},{name:"key",scale:"identity"},{name:"groupKey",scale:"identity"},{name:"label",scale:"identity"}]}function nb(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[...nv(t),{name:"title",scale:"identity"}]}function nx(){return[{type:np,channel:"color"},{type:ng,channel:["x","y"]}]}function nO(){return[{type:np,channel:"x"},{type:ng,channel:["y"]}]}function nw(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return nv(t)}function n_(){return[{type:ny}]}function nk(t,e){return t.getBandWidth(t.invert(e))}function nM(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{x:r,y:i,series:a}=e,{x:o,y:l,series:s}=t,{style:{bandOffset:c=s?0:.5,bandOffsetX:u=c,bandOffsetY:f=c}={}}=n,d=!!(null==o?void 0:o.getBandWidth),h=!!(null==l?void 0:l.getBandWidth),p=!!(null==s?void 0:s.getBandWidth);return d||h?(t,e)=>{let n=d?nk(o,r[e]):0,c=h?nk(l,i[e]):0,g=p&&a?(nk(s,a[e])/2+ +a[e])*n:0,[m,y]=t;return[m+u*n+g,y+f*c]}:t=>t}function nC(t){return parseFloat(t)/100}function nj(t,e,n,r){let{x:i,y:a}=n,{innerWidth:o,innerHeight:l}=r.getOptions(),s=Array.from(t,t=>{let e=i[t],n=a[t],r="string"==typeof e?nC(e)*o:+e,s="string"==typeof n?nC(n)*l:+n;return[[r,s]]});return[t,s]}function nA(t){return"function"==typeof t?t:e=>e[t]}function nS(t,e){return Array.from(t,nA(e))}function nE(t,e){let{source:n=t=>t.source,target:r=t=>t.target,value:i=t=>t.value}=e,{links:a,nodes:o}=t,l=nS(a,n),s=nS(a,r),c=nS(a,i);return{links:a.map((t,e)=>({target:s[e],source:l[e],value:c[e]})),nodes:o||Array.from(new Set([...l,...s]),t=>({key:t}))}}function nP(t,e){return t.getBandWidth(t.invert(e))}ny.props={};let nR={rect:nr,hollow:ni,funnel:nc,pyramid:nf},nT=()=>(t,e,n,r)=>{let{x:i,y:a,y1:o,series:l,size:s}=n,c=e.x,u=e.series,[f]=r.getSize(),d=s?s.map(t=>+t/f):null,h=s?(t,e,n)=>{let r=t+e/2,i=d[n];return[r-i/2,r+i/2]}:(t,e,n)=>[t,t+e],p=Array.from(t,t=>{let e=nP(c,i[t]),n=u?nP(u,null==l?void 0:l[t]):1,s=(+(null==l?void 0:l[t])||0)*e,f=+i[t]+s,[d,p]=h(f,e*n,t),g=+a[t],m=+o[t];return[[d,g],[p,g],[p,m],[d,m]].map(t=>r.map(t))});return[t,p]};nT.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:nR,channels:[...nb({shapes:Object.keys(nR)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size"}],preInference:[...n_(),{type:N},{type:D}],postInference:[...nO()],interaction:{shareTooltip:!0}};let nZ={rect:nr,hollow:ni},nL=()=>(t,e,n,r)=>{let{x:i,x1:a,y:o,y1:l}=n,s=Array.from(t,t=>{let e=[+i[t],+o[t]],n=[+a[t],+o[t]],s=[+a[t],+l[t]],c=[+i[t],+l[t]];return[e,n,s,c].map(t=>r.map(t))});return[t,s]};nL.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:nZ,channels:[...nb({shapes:Object.keys(nZ)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...n_(),{type:N}],postInference:[...nO()],interaction:{shareTooltip:!0}};var nB=n(44022),nI=n(18143),nN=n(73671),nD=n(1242);function nF(t){let e="function"==typeof t?t:t.render;return class extends nD.b_{connectedCallback(){this.draw()}attributeChangedCallback(){this.draw()}draw(){e(this)}}}var nz=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let n$=nF(t=>{let{d1:e,d2:n,style1:r,style2:i}=t.attributes,a=t.ownerDocument;(0,Q.F)(t).maybeAppend("line",()=>a.createElement("path",{})).style("d",e).call(e2,r),(0,Q.F)(t).maybeAppend("line1",()=>a.createElement("path",{})).style("d",n).call(e2,i)}),nW=(t,e)=>{let{curve:n,gradient:r=!1,gradientColor:i="between",defined:a=t=>!Number.isNaN(t)&&null!=t,connect:o=!1}=t,l=nz(t,["curve","gradient","gradientColor","defined","connect"]),{coordinate:s,document:c}=e;return(t,e,u)=>{let f;let{color:d,lineWidth:h}=u,p=nz(u,["color","lineWidth"]),{color:g=d,size:m=h,seriesColor:y,seriesX:v,seriesY:b}=e,x=e7(s,e),O=z(s),w=r&&y?e3(y,v,b,r,i,O):g,_=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},p),w&&{stroke:w}),m&&{lineWidth:m}),x&&{transform:x}),l);if($(s)){let t=s.getCenter();f=e=>(0,nN.Z)().angle((n,r)=>te(K(e[r],t))).radius((n,r)=>J(e[r],t)).defined(t=>{let[e,n]=t;return a(e)&&a(n)}).curve(n)(e)}else f=(0,na.Z)().x(t=>t[0]).y(t=>t[1]).defined(t=>{let[e,n]=t;return a(e)&&a(n)}).curve(n);let[k,M]=function(t,e){let n=[],r=[],i=!1,a=null;for(let o of t)e(o[0])&&e(o[1])?(n.push(o),i&&(i=!1,r.push([a,o])),a=o):i=!0;return[n,r]}(t,a),C=(0,nd.hB)(_,"connect"),j=!!M.length;return j&&(!o||Object.keys(C).length)?j&&!o?(0,Q.F)(c.createElement("path",{})).style("d",f(t)).call(e2,_).node():(0,Q.F)(new n$).style("style1",Object.assign(Object.assign({},_),C)).style("style2",_).style("d1",M.map(f).join(",")).style("d2",f(t)).node():(0,Q.F)(c.createElement("path",{})).style("d",f(k)||[]).call(e2,_).node()}};nW.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nH=(t,e)=>{let{coordinate:n}=e;return function(){for(var r=arguments.length,i=Array(r),a=0;ae.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let nY=(t,e)=>{let n=nV(t,[]),{coordinate:r}=e;return function(){for(var t=arguments.length,i=Array(t),a=0;anW(Object.assign({curve:nU.cD},t),e);nQ.props=Object.assign(Object.assign({},nW.props),{defaultMarker:"hv"});let nK=(t,e)=>nW(Object.assign({curve:nU.RN},t),e);nK.props=Object.assign(Object.assign({},nW.props),{defaultMarker:"vh"});let nX=(t,e)=>nW(Object.assign({curve:nU.ZP},t),e);nX.props=Object.assign(Object.assign({},nW.props),{defaultMarker:"hvh"});var nJ=n(11108),n0=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let n1=(t,e)=>{let{document:n}=e;return(e,r,i)=>{let{seriesSize:a,color:o}=r,{color:l}=i,s=n0(i,["color"]),c=(0,nJ.Z)();for(let t=0;t(t,e)=>{let{style:n={},encode:r}=e,{series:i}=r,{gradient:a}=n;return!a||i?[t,e]:[t,E({},e,{encode:{series:T(Z(t,void 0))}})]};n2.props={};let n5=()=>(t,e)=>{let{encode:n}=e,{series:r,color:i}=n;if(void 0!==r||void 0===i)return[t,e];let[a,o]=L(n,"color");return[t,E({},e,{encode:{series:P(a,o)}})]};n5.props={};let n3={line:nH,smooth:nY,hv:nQ,vh:nK,hvh:nX,trail:n1},n4=(t,e,n,r)=>{var i,a;let{series:o,x:l,y:s}=n,{x:c,y:u}=e;if(void 0===l||void 0===s)throw Error("Missing encode for x or y channel.");let f=o?Array.from((0,nB.ZP)(t,t=>o[t]).values()):[t],d=f.map(t=>t[0]).filter(t=>void 0!==t),h=((null===(i=null==c?void 0:c.getBandWidth)||void 0===i?void 0:i.call(c))||0)/2,p=((null===(a=null==u?void 0:u.getBandWidth)||void 0===a?void 0:a.call(u))||0)/2,g=Array.from(f,t=>t.map(t=>r.map([+l[t]+h,+s[t]+p])));return[d,g,f]},n6=(t,e,n,r)=>{let i=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("position")}).map(t=>{let[,e]=t;return e});if(0===i.length)throw Error("Missing encode for position channel.");let a=Array.from(t,t=>{let e=i.map(e=>+e[t]),n=r.map(e),a=[];for(let t=0;t(t,e,n,r)=>{let i=G(r)?n6:n4;return i(t,e,n,r)};n8.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:n3,channels:[...nb({shapes:Object.keys(n3)}),{name:"x"},{name:"y"},{name:"position",independent:!0},{name:"size"},{name:"series",scale:"band"}],preInference:[...n_(),{type:n2},{type:n5}],postInference:[...nO(),{type:np,channel:"color"},{type:ng,channel:["position"]}],interaction:{shareTooltip:!0,seriesTooltip:!0,crosshairs:!0}};var n7=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let n9=(t,e,n)=>[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e],["Z"]];n9.style=["fill"];let rt=n9.bind(void 0);rt.style=["stroke","lineWidth"];let re=(t,e,n)=>[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]];re.style=["fill"];let rn=re.bind(void 0);rn.style=["fill"];let rr=re.bind(void 0);rr.style=["stroke","lineWidth"];let ri=(t,e,n)=>{let r=.618*n;return[["M",t-r,e],["L",t,e-n],["L",t+r,e],["L",t,e+n],["Z"]]};ri.style=["fill"];let ra=ri.bind(void 0);ra.style=["stroke","lineWidth"];let ro=(t,e,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]};ro.style=["fill"];let rl=ro.bind(void 0);rl.style=["stroke","lineWidth"];let rs=(t,e,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]};rs.style=["fill"];let rc=rs.bind(void 0);rc.style=["stroke","lineWidth"];let ru=(t,e,n)=>{let r=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+r,e-n/2],["L",t+r,e+n/2],["L",t,e+n],["L",t-r,e+n/2],["L",t-r,e-n/2],["Z"]]};ru.style=["fill"];let rf=ru.bind(void 0);rf.style=["stroke","lineWidth"];let rd=(t,e,n)=>{let r=n-1.5;return[["M",t-n,e-r],["L",t+n,e+r],["L",t+n,e-r],["L",t-n,e+r],["Z"]]};rd.style=["fill"];let rh=rd.bind(void 0);rh.style=["stroke","lineWidth"];let rp=(t,e,n)=>[["M",t,e+n],["L",t,e-n]];rp.style=["stroke","lineWidth"];let rg=(t,e,n)=>[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]];rg.style=["stroke","lineWidth"];let rm=(t,e,n)=>[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]];rm.style=["stroke","lineWidth"];let ry=(t,e,n)=>[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]];ry.style=["stroke","lineWidth"];let rv=(t,e,n)=>[["M",t-n,e],["L",t+n,e]];rv.style=["stroke","lineWidth"];let rb=(t,e,n)=>[["M",t-n,e],["L",t+n,e]];rb.style=["stroke","lineWidth"];let rx=rb.bind(void 0);rx.style=["stroke","lineWidth"];let rO=(t,e,n)=>[["M",t-n,e],["A",n/2,n/2,0,1,1,t,e],["A",n/2,n/2,0,1,0,t+n,e]];rO.style=["stroke","lineWidth"];let rw=(t,e,n)=>[["M",t-n-1,e-2.5],["L",t,e-2.5],["L",t,e+2.5],["L",t+n+1,e+2.5]];rw.style=["stroke","lineWidth"];let r_=(t,e,n)=>[["M",t-n-1,e+2.5],["L",t,e+2.5],["L",t,e-2.5],["L",t+n+1,e-2.5]];r_.style=["stroke","lineWidth"];let rk=(t,e,n)=>[["M",t-(n+1),e+2.5],["L",t-n/2,e+2.5],["L",t-n/2,e-2.5],["L",t+n/2,e-2.5],["L",t+n/2,e+2.5],["L",t+n+1,e+2.5]];rk.style=["stroke","lineWidth"];let rM=(t,e,n)=>[["M",t-5,e+2.5],["L",t-5,e],["L",t,e],["L",t,e-3],["L",t,e+3],["L",t+6.5,e+3]];rM.style=["stroke","lineWidth"];let rC=new Map([["bowtie",rd],["cross",rg],["dash",rx],["diamond",ri],["dot",rb],["hexagon",ru],["hollowBowtie",rh],["hollowDiamond",ra],["hollowHexagon",rf],["hollowPoint",rt],["hollowSquare",rr],["hollowTriangle",rl],["hollowTriangleDown",rc],["hv",rw],["hvh",rk],["hyphen",rv],["line",rp],["plus",ry],["point",n9],["rect",rn],["smooth",rO],["square",re],["tick",rm],["triangleDown",rs],["triangle",ro],["vh",r_],["vhv",rM]]);var rj=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function rA(t,e,n,r){if(1===e.length)return;let{size:i}=n;if("fixed"===t)return i;if("normal"===t||q(r)){let[[t,n],[r,i]]=e,a=Math.abs((r-t)/2),o=Math.abs((i-n)/2);return Math.max(0,(a+o)/2)}return i}let rS=(t,e)=>{let{colorAttribute:n,symbol:r,mode:i="auto"}=t,a=rj(t,["colorAttribute","symbol","mode"]),o=rC.get(r)||rC.get("point"),{coordinate:l,document:s}=e;return(e,r,c)=>{let{lineWidth:u,color:f}=c,d=a.stroke?u||1:u,{color:h=f,transform:p,opacity:g}=r,[m,y]=e9(e),v=rA(i,e,r,l),b=v||a.r||c.r;return(0,Q.F)(s.createElement("path",{})).call(e2,c).style("fill","transparent").style("d",o(m,y,b)).style("lineWidth",d).style("transform",p).style("transformOrigin","".concat(m-b," ").concat(y-b)).style("stroke",h).style(e8(t),g).style(n,h).call(e2,a).node()}};rS.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let rE=(t,e)=>rS(Object.assign({colorAttribute:"stroke",symbol:"point"},t),e);rE.props=Object.assign({defaultMarker:"hollowPoint"},rS.props);let rP=(t,e)=>rS(Object.assign({colorAttribute:"stroke",symbol:"diamond"},t),e);rP.props=Object.assign({defaultMarker:"hollowDiamond"},rS.props);let rR=(t,e)=>rS(Object.assign({colorAttribute:"stroke",symbol:"hexagon"},t),e);rR.props=Object.assign({defaultMarker:"hollowHexagon"},rS.props);let rT=(t,e)=>rS(Object.assign({colorAttribute:"stroke",symbol:"square"},t),e);rT.props=Object.assign({defaultMarker:"hollowSquare"},rS.props);let rZ=(t,e)=>rS(Object.assign({colorAttribute:"stroke",symbol:"triangle-down"},t),e);rZ.props=Object.assign({defaultMarker:"hollowTriangleDown"},rS.props);let rL=(t,e)=>rS(Object.assign({colorAttribute:"stroke",symbol:"triangle"},t),e);rL.props=Object.assign({defaultMarker:"hollowTriangle"},rS.props);let rB=(t,e)=>rS(Object.assign({colorAttribute:"stroke",symbol:"bowtie"},t),e);rB.props=Object.assign({defaultMarker:"hollowBowtie"},rS.props);var rI=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let rN=(t,e)=>{let{colorAttribute:n,mode:r="auto"}=t,i=rI(t,["colorAttribute","mode"]),{coordinate:a,document:o}=e;return(e,l,s)=>{let{lineWidth:c,color:u}=s,f=i.stroke?c||1:c,{color:d=u,transform:h,opacity:p}=l,[g,m]=e9(e),y=rA(r,e,l,a),v=y||i.r||s.r;return(0,Q.F)(o.createElement("circle",{})).call(e2,s).style("fill","transparent").style("cx",g).style("cy",m).style("r",v).style("lineWidth",f).style("transform",h).style("transformOrigin","".concat(g," ").concat(m)).style("stroke",d).style(e8(t),p).style(n,d).call(e2,i).node()}},rD=(t,e)=>rN(Object.assign({colorAttribute:"fill"},t),e);rD.props={defaultMarker:"circle",defaultEnterAnimation:"fadeIn",defaultExitAnimation:"fadeOut"};let rF=(t,e)=>rN(Object.assign({colorAttribute:"stroke"},t),e);rF.props=Object.assign({defaultMarker:"hollowPoint"},rD.props);let rz=(t,e)=>rS(Object.assign({colorAttribute:"fill",symbol:"point"},t),e);rz.props=Object.assign({defaultMarker:"point"},rS.props);let r$=(t,e)=>rS(Object.assign({colorAttribute:"stroke",symbol:"plus"},t),e);r$.props=Object.assign({defaultMarker:"plus"},rS.props);let rW=(t,e)=>rS(Object.assign({colorAttribute:"fill",symbol:"diamond"},t),e);rW.props=Object.assign({defaultMarker:"diamond"},rS.props);let rH=(t,e)=>rS(Object.assign({colorAttribute:"fill",symbol:"square"},t),e);rH.props=Object.assign({defaultMarker:"square"},rS.props);let rG=(t,e)=>rS(Object.assign({colorAttribute:"fill",symbol:"triangle"},t),e);rG.props=Object.assign({defaultMarker:"triangle"},rS.props);let rq=(t,e)=>rS(Object.assign({colorAttribute:"fill",symbol:"hexagon"},t),e);rq.props=Object.assign({defaultMarker:"hexagon"},rS.props);let rV=(t,e)=>rS(Object.assign({colorAttribute:"stroke",symbol:"cross"},t),e);rV.props=Object.assign({defaultMarker:"cross"},rS.props);let rY=(t,e)=>rS(Object.assign({colorAttribute:"fill",symbol:"bowtie"},t),e);rY.props=Object.assign({defaultMarker:"bowtie"},rS.props);let rU=(t,e)=>rS(Object.assign({colorAttribute:"stroke",symbol:"hyphen"},t),e);rU.props=Object.assign({defaultMarker:"hyphen"},rS.props);let rQ=(t,e)=>rS(Object.assign({colorAttribute:"stroke",symbol:"line"},t),e);rQ.props=Object.assign({defaultMarker:"line"},rS.props);let rK=(t,e)=>rS(Object.assign({colorAttribute:"stroke",symbol:"tick"},t),e);rK.props=Object.assign({defaultMarker:"tick"},rS.props);let rX=(t,e)=>rS(Object.assign({colorAttribute:"fill",symbol:"triangle-down"},t),e);rX.props=Object.assign({defaultMarker:"triangleDown"},rS.props);let rJ=()=>(t,e)=>{let{encode:n}=e,{y:r}=n;return void 0!==r?[t,e]:[t,E({},e,{encode:{y:R(Z(t,0))},scale:{y:{guide:null}}})]};rJ.props={};let r0=()=>(t,e)=>{let{encode:n}=e,{size:r}=n;return void 0!==r?[t,e]:[t,E({},e,{encode:{size:T(Z(t,3))}})]};r0.props={};let r1={hollow:rE,hollowDiamond:rP,hollowHexagon:rR,hollowSquare:rT,hollowTriangleDown:rZ,hollowTriangle:rL,hollowBowtie:rB,hollowCircle:rF,point:rz,plus:r$,diamond:rW,square:rH,triangle:rG,hexagon:rq,cross:rV,bowtie:rY,hyphen:rU,line:rQ,tick:rK,triangleDown:rX,circle:rD},r2=t=>(e,n,r,i)=>{let{x:a,y:o,x1:l,y1:s,size:c,dx:u,dy:f}=r,[d,h]=i.getSize(),p=nM(n,r,t),g=t=>{let e=+((null==u?void 0:u[t])||0),n=+((null==f?void 0:f[t])||0),r=l?(+a[t]+ +l[t])/2:+a[t],i=s?(+o[t]+ +s[t])/2:+o[t];return[r+e,i+n]},m=c?Array.from(e,t=>{let[e,n]=g(t),r=+c[t],a=r/d,o=r/h;return[i.map(p([e-a,n-o],t)),i.map(p([e+a,n+o],t))]}):Array.from(e,t=>[i.map(p(g(t),t))]);return[e,m]};r2.props={defaultShape:"hollow",defaultLabelShape:"label",composite:!1,shape:r1,channels:[...nb({shapes:Object.keys(r1)}),{name:"x",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size",quantitative:"sqrt"},{name:"dx",scale:"identity"},{name:"dy",scale:"identity"}],preInference:[...n_(),{type:D},{type:rJ}],postInference:[{type:r0},...nx()]};var r5=n(86224),r3=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let r4=(t,e,n)=>{let r=J(t,e),i=J(e,n),a=J(n,t);return(Math.pow(r,2)+Math.pow(i,2)-Math.pow(a,2))/(2*r*i)},r6=nF(t=>{let e;let n=t.attributes,{className:r,class:i,transform:a,rotate:o,labelTransform:l,labelTransformOrigin:s,x:c,y:u,x0:f=c,y0:d=u,text:h,background:p,connector:g,startMarker:m,endMarker:y,coordCenter:v,innerHTML:b}=n,x=r3(n,["className","class","transform","rotate","labelTransform","labelTransformOrigin","x","y","x0","y0","text","background","connector","startMarker","endMarker","coordCenter","innerHTML"]);if(t.style.transform="translate(".concat(c,", ").concat(u,")"),[c,u,f,d].some(t=>!eQ(t))){t.children.forEach(t=>t.remove());return}let O=(0,nd.hB)(x,"background"),{padding:w}=O,_=r3(O,["padding"]),k=(0,nd.hB)(x,"connector"),{points:M=[]}=k,C=r3(k,["points"]),j=[[+f,+d],[+c,+u]];e=b?(0,Q.F)(t).maybeAppend("html","html",r).style("zIndex",0).style("innerHTML",b).call(e2,Object.assign({transform:l,transformOrigin:s},x)).node():(0,Q.F)(t).maybeAppend("text","text").style("zIndex",0).style("text",h).call(e2,Object.assign({textBaseline:"middle",transform:l,transformOrigin:s},x)).node();let A=(0,Q.F)(t).maybeAppend("background","rect").style("zIndex",-1).call(e2,function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],[n=0,r=0,i=n,a=r]=e,o=t.parentNode,l=o.getEulerAngles();o.setEulerAngles(0);let{min:s,halfExtents:c}=t.getLocalBounds(),[u,f]=s,[d,h]=c;return o.setEulerAngles(l),{x:u-a,y:f-n,width:2*d+a+r,height:2*h+n+i}}(e,w)).call(e2,p?_:{}).node(),S=function(t,e,n,r){let[[i,a],[o,l]]=e,[s,c]=function(t){let{min:[e,n],max:[r,i]}=t.getLocalBounds(),a=0,o=0;return e>0&&(a=e),r<0&&(a=r),n>0&&(o=n),i<0&&(o=i),[a,o]}(t);if(i===o&&a===l)return(0,na.Z)()([[0,0],[s,c]]);let u=[[i-o,a-l]].concat(n.length?n:[[0,0]]),f=[r[0]-o,r[1]-l],[d,h]=u;if(r4(f,d,h)>0){let e=(()=>{let{min:e,max:n}=t.getLocalBounds(),r=d[0]+(d[1]-f[1])*(d[1]-0)/(d[0]-f[0]);return n[0]{let{coordinate:n}=e;return(e,r,i)=>{let{color:a,text:o="",fontSize:l,rotate:s=0,transform:c=""}=r,u={text:String(o),stroke:a,fill:a,fontSize:l},[[f,d]]=e;return(0,Q.F)(new r6).style("x",f).style("y",d).call(e2,i).style("transform","".concat(c,"rotate(").concat(+s,")")).style("coordCenter",n.getCenter()).call(e2,u).call(e2,t).node()}};r8.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var r7=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let r9=nF(t=>{let e=t.attributes,{class:n,x:r,y:i,transform:a}=e,o=r7(e,["class","x","y","transform"]),l=(0,nd.hB)(o,"marker"),{size:s=24}=l,c=()=>(function(t){let e=t/Math.sqrt(2),n=t*Math.sqrt(2),[r,i]=[-e,e-n],[a,o]=[0,0],[l,s]=[e,e-n];return[["M",r,i],["A",t,t,0,1,1,l,s],["L",a,o],["Z"]]})(s/2),u=(0,Q.F)(t).maybeAppend("marker",()=>new r5.J({})).call(t=>t.node().update(Object.assign({symbol:c},l))).node(),[f,d]=function(t){let{min:e,max:n}=t.getLocalBounds();return[(e[0]+n[0])*.5,(e[1]+n[1])*.5]}(u);(0,Q.F)(t).maybeAppend("text","text").style("x",f).style("y",d).call(e2,o)}),it=(t,e)=>{let n=r7(t,[]);return(t,e,r)=>{let{color:i}=r,a=r7(r,["color"]),{color:o=i,text:l=""}=e,s={text:String(l),stroke:o,fill:o},[[c,u]]=t;return(0,Q.F)(new r9).call(e2,a).style("transform","translate(".concat(c,",").concat(u,")")).call(e2,s).call(e2,n).node()}};it.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let ie=(t,e)=>{let{coordinate:n}=e;return(e,r,i)=>{let{color:a,text:o="",fontSize:l,rotate:s=0,transform:c=""}=r,u={text:String(o),stroke:a,fill:a,fontSize:l,textAlign:"center",textBaseline:"middle"},[[f,d]]=e,h=(0,Q.F)(new nD.xv).style("x",f).style("y",d).call(e2,i).style("transformOrigin","center center").style("transform","".concat(c,"rotate(").concat(s,"deg)")).style("coordCenter",n.getCenter()).call(e2,u).call(e2,t).node();return h}};ie.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let ir=()=>(t,e)=>{let{data:n}=e;if(!Array.isArray(n)||n.some(I))return[t,e];let r=Array.isArray(n[0])?n:[n],i=r.map(t=>t[0]),a=r.map(t=>t[1]);return[t,E({},e,{encode:{x:P(i),y:P(a)}})]};ir.props={};var ii=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let ia=()=>(t,e)=>{let{data:n,style:r={}}=e,i=ii(e,["data","style"]),{x:a,y:o}=r,l=ii(r,["x","y"]);if(void 0==a||void 0==o)return[t,e];let s=a||0,c=o||0;return[[0],E({},i,{data:[0],cartesian:!0,encode:{x:P([s]),y:P([c])},scale:{x:{type:"identity",independent:!0,guide:null},y:{type:"identity",independent:!0,guide:null}},style:l})]};ia.props={};let io={text:r8,badge:it,tag:ie},il=t=>{let{cartesian:e=!1}=t;return e?nj:(e,n,r,i)=>{let{x:a,y:o}=r,l=nM(n,r,t),s=Array.from(e,t=>{let e=[+a[t],+o[t]];return[i.map(l(e,t))]});return[e,s]}};il.props={defaultShape:"text",defaultLabelShape:"label",composite:!1,shape:io,channels:[...nb({shapes:Object.keys(io)}),{name:"x",required:!0},{name:"y",required:!0},{name:"text",scale:"identity"},{name:"fontSize",scale:"identity"},{name:"rotate",scale:"identity"}],preInference:[...n_(),{type:ir},{type:ia}],postInference:[...nx()]};let is=()=>(t,e)=>[t,E({scale:{x:{padding:0},y:{padding:0}}},e)];is.props={};let ic={cell:nr,hollow:ni},iu=()=>(t,e,n,r)=>{let{x:i,y:a}=n,o=e.x,l=e.y,s=Array.from(t,t=>{let e=o.getBandWidth(o.invert(+i[t])),n=l.getBandWidth(l.invert(+a[t])),s=+i[t],c=+a[t];return[[s,c],[s+e,c],[s+e,c+n],[s,c+n]].map(t=>r.map(t))});return[t,s]};iu.props={defaultShape:"cell",defaultLabelShape:"label",shape:ic,composite:!1,channels:[...nb({shapes:Object.keys(ic)}),{name:"x",required:!0,scale:"band"},{name:"y",required:!0,scale:"band"}],preInference:[...n_(),{type:D},{type:rJ},{type:is}],postInference:[...nx()]};var id=n(37633),ih=n(53253),ip=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let ig=nF(t=>{let{areaPath:e,connectPath:n,areaStyle:r,connectStyle:i}=t.attributes,a=t.ownerDocument;(0,Q.F)(t).maybeAppend("connect-path",()=>a.createElement("path",{})).style("d",n).call(e2,i),(0,Q.F)(t).maybeAppend("area-path",()=>a.createElement("path",{})).style("d",e).call(e2,r)}),im=(t,e)=>{let{curve:n,gradient:r=!1,defined:i=t=>!Number.isNaN(t)&&null!=t,connect:a=!1}=t,o=ip(t,["curve","gradient","defined","connect"]),{coordinate:l,document:s}=e;return(t,e,c)=>{let{color:u}=c,{color:f=u,seriesColor:d,seriesX:h,seriesY:p}=e,g=z(l),m=e7(l,e),y=r&&d?e3(d,h,p,r,void 0,g):f,v=Object.assign(Object.assign(Object.assign(Object.assign({},c),{stroke:y,fill:y}),m&&{transform:m}),o),[b,x]=function(t,e){let n=[],r=[],i=[],a=!1,o=null,l=t.length/2;for(let s=0;s!e(t)))a=!0;else{if(n.push(c),r.push(u),a&&o){a=!1;let[t,e]=o;i.push([t,c,e,u])}o=[c,u]}}return[n.concat(r),i]}(t,i),O=(0,nd.hB)(v,"connect"),w=!!x.length,_=t=>(0,Q.F)(s.createElement("path",{})).style("d",t||"").call(e2,v).node();if($(l)){let e=t=>{let e=l.getCenter(),r=t.slice(0,t.length/2),a=t.slice(t.length/2);return(0,ih.Z)().angle((t,n)=>te(K(r[n],e))).outerRadius((t,n)=>J(r[n],e)).innerRadius((t,n)=>J(a[n],e)).defined((t,e)=>[...r[e],...a[e]].every(i)).curve(n)(a)};return w&&(!a||Object.keys(O).length)?w&&!a?_(e(t)):(0,Q.F)(new ig).style("areaStyle",v).style("connectStyle",Object.assign(Object.assign({},O),o)).style("areaPath",e(t)).style("connectPath",x.map(e).join("")).node():_(e(b))}{let e=t=>{let e=t.slice(0,t.length/2),r=t.slice(t.length/2);return g?(0,id.Z)().y((t,n)=>e[n][1]).x1((t,n)=>e[n][0]).x0((t,e)=>r[e][0]).defined((t,n)=>[...e[n],...r[n]].every(i)).curve(n)(e):(0,id.Z)().x((t,n)=>e[n][0]).y1((t,n)=>e[n][1]).y0((t,e)=>r[e][1]).defined((t,n)=>[...e[n],...r[n]].every(i)).curve(n)(e)};return w&&(!a||Object.keys(O).length)?w&&!a?_(e(t)):(0,Q.F)(new ig).style("areaStyle",v).style("connectStyle",Object.assign(Object.assign({},O),o)).style("areaPath",e(t)).style("connectPath",x.map(e).join("")).node():_(e(b))}}};im.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let iy=(t,e)=>{let{coordinate:n}=e;return function(){for(var r=arguments.length,i=Array(r),a=0;ae.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let ib=(t,e)=>{let n=iv(t,[]),{coordinate:r}=e;return function(){for(var t=arguments.length,i=Array(t),a=0;afunction(){for(var n=arguments.length,r=Array(n),i=0;ifunction(){for(var n=arguments.length,r=Array(n),i=0;ifunction(){for(var n=arguments.length,r=Array(n),i=0;i(t,e,n,r)=>{var i,a;let{x:o,y:l,y1:s,series:c}=n,{x:u,y:f}=e,d=c?Array.from((0,nB.ZP)(t,t=>c[t]).values()):[t],h=d.map(t=>t[0]).filter(t=>void 0!==t),p=((null===(i=null==u?void 0:u.getBandWidth)||void 0===i?void 0:i.call(u))||0)/2,g=((null===(a=null==f?void 0:f.getBandWidth)||void 0===a?void 0:a.call(f))||0)/2,m=Array.from(d,t=>{let e=t.length,n=Array(2*e);for(let i=0;i(t,e)=>{let{encode:n}=e,{y1:r}=n;if(r)return[t,e];let[i]=L(n,"y");return[t,E({},e,{encode:{y1:P([...i])}})]};iM.props={};let iC=()=>(t,e)=>{let{encode:n}=e,{x1:r}=n;if(r)return[t,e];let[i]=L(n,"x");return[t,E({},e,{encode:{x1:P([...i])}})]};iC.props={};var ij=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let iA=(t,e)=>{let{arrow:n=!0,arrowSize:r="40%"}=t,i=ij(t,["arrow","arrowSize"]),{document:a}=e;return(t,e,o)=>{let{defaultColor:l}=o,s=ij(o,["defaultColor"]),{color:c=l,transform:u}=e,[f,d]=t,h=(0,nJ.Z)();if(h.moveTo(...f),h.lineTo(...d),n){let[t,e]=function(t,e,n){let{arrowSize:r}=n,i="string"==typeof r?+parseFloat(r)/100*J(t,e):r,a=Math.PI/6,o=Math.atan2(e[1]-t[1],e[0]-t[0]),l=Math.PI/2-o-a,s=[e[0]-i*Math.sin(l),e[1]-i*Math.cos(l)],c=o-a,u=[e[0]-i*Math.cos(c),e[1]-i*Math.sin(c)];return[s,u]}(f,d,{arrowSize:r});h.moveTo(...t),h.lineTo(...d),h.lineTo(...e)}return(0,Q.F)(a.createElement("path",{})).call(e2,s).style("d",h.toString()).style("stroke",c).style("transform",u).call(e2,i).node()}};iA.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let iS=(t,e)=>{let{arrow:n=!1}=t;return function(){for(var r=arguments.length,i=Array(r),a=0;ae.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let iP=(t,e)=>{let n=iE(t,[]),{coordinate:r,document:i}=e;return(t,e,a)=>{let{color:o}=a,l=iE(a,["color"]),{color:s=o,transform:c}=e,[u,f]=t,d=(0,nJ.Z)();if(d.moveTo(u[0],u[1]),$(r)){let t=r.getCenter();d.quadraticCurveTo(t[0],t[1],f[0],f[1])}else{let t=ti(u,f),e=J(u,f)/2;e5(d,u,f,t,e)}return(0,Q.F)(i.createElement("path",{})).call(e2,l).style("d",d.toString()).style("stroke",s).style("transform",c).call(e2,n).node()}};iP.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var iR=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let iT=(t,e)=>{let n=iR(t,[]),{document:r}=e;return(t,e,i)=>{let{color:a}=i,o=iR(i,["color"]),{color:l=a,transform:s}=e,[c,u]=t,f=(0,nJ.Z)();return f.moveTo(c[0],c[1]),f.bezierCurveTo(c[0]/2+u[0]/2,c[1],c[0]/2+u[0]/2,u[1],u[0],u[1]),(0,Q.F)(r.createElement("path",{})).call(e2,o).style("d",f.toString()).style("stroke",l).style("transform",s).call(e2,n).node()}};iT.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var iZ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let iL=(t,e)=>{let{cornerRatio:n=1/3}=t,r=iZ(t,["cornerRatio"]),{coordinate:i,document:a}=e;return(t,e,o)=>{let{defaultColor:l}=o,s=iZ(o,["defaultColor"]),{color:c=l,transform:u}=e,[f,d]=t,h=function(t,e,n,r){let i=(0,nJ.Z)();if($(n)){let a=n.getCenter(),o=J(t,a),l=J(e,a),s=(l-o)*r+o;return i.moveTo(t[0],t[1]),e5(i,t,e,a,s),i.lineTo(e[0],e[1]),i}return z(n)?(i.moveTo(t[0],t[1]),i.lineTo(t[0]+(e[0]-t[0])*r,t[1]),i.lineTo(t[0]+(e[0]-t[0])*r,e[1]),i.lineTo(e[0],e[1]),i):(i.moveTo(t[0],t[1]),i.lineTo(t[0],t[1]+(e[1]-t[1])*r),i.lineTo(e[0],t[1]+(e[1]-t[1])*r),i.lineTo(e[0],e[1]),i)}(f,d,i,n);return(0,Q.F)(a.createElement("path",{})).call(e2,s).style("d",h.toString()).style("stroke",c).style("transform",u).call(e2,r).node()}};iL.props={defaultMarker:"vhv",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let iB={link:iS,arc:iP,smooth:iT,vhv:iL},iI=t=>(e,n,r,i)=>{let{x:a,y:o,x1:l=a,y1:s=o}=r,c=nM(n,r,t),u=e.map(t=>[i.map(c([+a[t],+o[t]],t)),i.map(c([+l[t],+s[t]],t))]);return[e,u]};iI.props={defaultShape:"link",defaultLabelShape:"label",composite:!1,shape:iB,channels:[...nb({shapes:Object.keys(iB)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...n_(),{type:iM},{type:iC}],postInference:[...nx()]};var iN=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let iD=(t,e)=>{let{coordinate:n,document:r}=e;return(e,i,a)=>{let{color:o}=a,l=iN(a,["color"]),{color:s=o,src:c="",size:u=32,transform:f=""}=i,{width:d=u,height:h=u}=t,[[p,g]]=e,[m,y]=n.getSize();d="string"==typeof d?nC(d)*m:d,h="string"==typeof h?nC(h)*y:h;let v=p-Number(d)/2,b=g-Number(h)/2;return(0,Q.F)(r.createElement("image",{})).call(e2,l).style("x",v).style("y",b).style("src",c).style("stroke",s).style("transform",f).call(e2,t).style("width",d).style("height",h).node()}};iD.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let iF={image:iD},iz=t=>{let{cartesian:e}=t;return e?nj:(e,n,r,i)=>{let{x:a,y:o}=r,l=nM(n,r,t),s=Array.from(e,t=>{let e=[+a[t],+o[t]];return[i.map(l(e,t))]});return[e,s]}};iz.props={defaultShape:"image",defaultLabelShape:"label",composite:!1,shape:iF,channels:[...nb({shapes:Object.keys(iF)}),{name:"x",required:!0},{name:"y",required:!0},{name:"src",scale:"identity"},{name:"size"}],preInference:[...n_(),{type:ir},{type:ia}],postInference:[...nx()]};var i$=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let iW=(t,e)=>{let{coordinate:n,document:r}=e;return(e,i,a)=>{let{color:o}=a,l=i$(a,["color"]),{color:s=o,transform:c}=i,u=function(t,e){let n=(0,nJ.Z)();if($(e)){let r=e.getCenter(),i=[...t,t[0]],a=i.map(t=>J(t,r));return i.forEach((e,i)=>{if(0===i){n.moveTo(e[0],e[1]);return}let o=a[i],l=t[i-1],s=a[i-1];void 0!==s&&1e-10>Math.abs(o-s)?e5(n,l,e,r,o):n.lineTo(e[0],e[1])}),n.closePath(),n}return t.forEach((t,e)=>0===e?n.moveTo(t[0],t[1]):n.lineTo(t[0],t[1])),n.closePath(),n}(e,n);return(0,Q.F)(r.createElement("path",{})).call(e2,l).style("d",u.toString()).style("stroke",s).style("fill",s).style("transform",c).call(e2,t).node()}};iW.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var iH=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let iG=(t,e)=>{let n=iH(t,[]),{coordinate:r,document:i}=e;return(t,e,a)=>{let{color:o}=a,l=iH(a,["color"]),{color:s=o,transform:c}=e,u=function(t,e){let[n,r,i,a]=t,o=(0,nJ.Z)();if($(e)){let t=e.getCenter(),l=J(t,n);return o.moveTo(n[0],n[1]),o.quadraticCurveTo(t[0],t[1],i[0],i[1]),e5(o,i,a,t,l),o.quadraticCurveTo(t[0],t[1],r[0],r[1]),e5(o,r,n,t,l),o.closePath(),o}return o.moveTo(n[0],n[1]),o.bezierCurveTo(n[0]/2+i[0]/2,n[1],n[0]/2+i[0]/2,i[1],i[0],i[1]),o.lineTo(a[0],a[1]),o.bezierCurveTo(a[0]/2+r[0]/2,a[1],a[0]/2+r[0]/2,r[1],r[0],r[1]),o.lineTo(n[0],n[1]),o.closePath(),o}(t,r);return(0,Q.F)(i.createElement("path",{})).call(e2,l).style("d",u.toString()).style("fill",s||o).style("stroke",s||o).style("transform",c).call(e2,n).node()}};iG.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let iq={polygon:iW,ribbon:iG},iV=()=>(t,e,n,r)=>{let i=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("x")}).map(t=>{let[,e]=t;return e}),a=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("y")}).map(t=>{let[,e]=t;return e}),o=t.map(t=>{let e=[];for(let n=0;ne.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let iU=(t,e)=>{let{coordinate:n,document:r}=e;return(e,i,a)=>{let{color:o,transform:l}=i,{color:s,fill:c=s,stroke:u=s}=a,f=iY(a,["color","fill","stroke"]),d=function(t,e){let n=(0,nJ.Z)();if($(e)){let r=e.getCenter(),[i,a]=r,o=tt(K(t[0],r)),l=tt(K(t[1],r)),s=J(r,t[2]),c=J(r,t[3]),u=J(r,t[8]),f=J(r,t[10]),d=J(r,t[11]);n.moveTo(...t[0]),n.arc(i,a,s,o,l),n.arc(i,a,s,l,o,!0),n.moveTo(...t[2]),n.lineTo(...t[3]),n.moveTo(...t[4]),n.arc(i,a,c,o,l),n.lineTo(...t[6]),n.arc(i,a,f,l,o,!0),n.closePath(),n.moveTo(...t[8]),n.arc(i,a,u,o,l),n.arc(i,a,u,l,o,!0),n.moveTo(...t[10]),n.lineTo(...t[11]),n.moveTo(...t[12]),n.arc(i,a,d,o,l),n.arc(i,a,d,l,o,!0)}else n.moveTo(...t[0]),n.lineTo(...t[1]),n.moveTo(...t[2]),n.lineTo(...t[3]),n.moveTo(...t[4]),n.lineTo(...t[5]),n.lineTo(...t[6]),n.lineTo(...t[7]),n.closePath(),n.moveTo(...t[8]),n.lineTo(...t[9]),n.moveTo(...t[10]),n.lineTo(...t[11]),n.moveTo(...t[12]),n.lineTo(...t[13]);return n}(e,n);return(0,Q.F)(r.createElement("path",{})).call(e2,f).style("d",d.toString()).style("stroke",u).style("fill",o||c).style("transform",l).call(e2,t).node()}};iU.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var iQ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let iK=(t,e)=>{let{coordinate:n,document:r}=e;return(e,i,a)=>{let{color:o,transform:l}=i,{color:s,fill:c=s,stroke:u=s}=a,f=iQ(a,["color","fill","stroke"]),d=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4,r=(0,nJ.Z)();if(!$(e))return r.moveTo(...t[2]),r.lineTo(...t[3]),r.lineTo(t[3][0]-n,t[3][1]),r.lineTo(t[10][0]-n,t[10][1]),r.lineTo(t[10][0]+n,t[10][1]),r.lineTo(t[3][0]+n,t[3][1]),r.lineTo(...t[3]),r.closePath(),r.moveTo(...t[10]),r.lineTo(...t[11]),r.moveTo(t[3][0]+n/2,t[8][1]),r.arc(t[3][0],t[8][1],n/2,0,2*Math.PI),r.closePath(),r;let i=e.getCenter(),[a,o]=i,l=J(i,t[3]),s=J(i,t[8]),c=J(i,t[10]),u=tt(K(t[2],i)),f=Math.asin(n/s),d=u-f,h=u+f;r.moveTo(...t[2]),r.lineTo(...t[3]),r.moveTo(Math.cos(d)*l+a,Math.sin(d)*l+o),r.arc(a,o,l,d,h),r.lineTo(Math.cos(h)*c+a,Math.sin(h)*c+o),r.arc(a,o,c,h,d,!0),r.lineTo(Math.cos(d)*l+a,Math.sin(d)*l+o),r.closePath(),r.moveTo(...t[10]),r.lineTo(...t[11]);let p=(d+h)/2;return r.moveTo(Math.cos(p)*(s+n/2)+a,Math.sin(p)*(s+n/2)+o),r.arc(Math.cos(p)*s+a,Math.sin(p)*s+o,n/2,p,2*Math.PI+p),r.closePath(),r}(e,n,4);return(0,Q.F)(r.createElement("path",{})).call(e2,f).style("d",d.toString()).style("stroke",u).style("fill",o||c).style("transform",l).call(e2,t).node()}};iK.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let iX={box:iU,violin:iK},iJ=()=>(t,e,n,r)=>{let{x:i,y:a,y1:o,y2:l,y3:s,y4:c,series:u}=n,f=e.x,d=e.series,h=Array.from(t,t=>{let e=f.getBandWidth(f.invert(+i[t])),n=d?d.getBandWidth(d.invert(+(null==u?void 0:u[t]))):1,h=e*n,p=(+(null==u?void 0:u[t])||0)*e,g=+i[t]+p+h/2,[m,y,v,b,x]=[+a[t],+o[t],+l[t],+s[t],+c[t]];return[[g-h/2,x],[g+h/2,x],[g,x],[g,b],[g-h/2,b],[g+h/2,b],[g+h/2,y],[g-h/2,y],[g-h/2,v],[g+h/2,v],[g,y],[g,m],[g-h/2,m],[g+h/2,m]].map(t=>r.map(t))});return[t,h]};iJ.props={defaultShape:"box",defaultLabelShape:"label",composite:!1,shape:iX,channels:[...nb({shapes:Object.keys(iX)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"}],preInference:[...n_(),{type:D}],postInference:[...nO()],interaction:{shareTooltip:!0}};let i0={vector:iA},i1=()=>(t,e,n,r)=>{let{x:i,y:a,size:o,rotate:l}=n,[s,c]=r.getSize(),u=t.map(t=>{let e=+l[t]/180*Math.PI,n=+o[t],u=n/s*Math.cos(e),f=-(n/c)*Math.sin(e);return[r.map([+i[t]-u/2,+a[t]-f/2]),r.map([+i[t]+u/2,+a[t]+f/2])]});return[t,u]};i1.props={defaultShape:"vector",defaultLabelShape:"label",composite:!1,shape:i0,channels:[...nb({shapes:Object.keys(i0)}),{name:"x",required:!0},{name:"y",required:!0},{name:"rotate",required:!0,scale:"identity"},{name:"size",required:!0}],preInference:[...n_()],postInference:[...nx()]};var i2=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let i5=(t,e)=>{let{arrow:n,arrowSize:r=4}=t,i=i2(t,["arrow","arrowSize"]),{coordinate:a,document:o}=e;return(t,e,l)=>{let{color:s,lineWidth:c}=l,u=i2(l,["color","lineWidth"]),{color:f=s,size:d=c}=e,h=n?function(t,e,n){let r=t.createElement("path",{style:Object.assign({d:"M ".concat(e,",").concat(e," L -").concat(e,",0 L ").concat(e,",-").concat(e," L 0,0 Z"),transformOrigin:"center"},n)});return r}(o,r,Object.assign({fill:i.stroke||f,stroke:i.stroke||f},(0,nd.hB)(i,"arrow"))):null,p=function(t,e){if(!$(e))return(0,na.Z)().x(t=>t[0]).y(t=>t[1])(t);let n=e.getCenter();return(0,F.Z)()({startAngle:0,endAngle:2*Math.PI,outerRadius:J(t[0],n),innerRadius:J(t[1],n)})}(t,a),g=function(t,e){if(!$(t))return e;let[n,r]=t.getCenter();return"translate(".concat(n,", ").concat(r,") ").concat(e||"")}(a,e.transform);return(0,Q.F)(o.createElement("path",{})).call(e2,u).style("d",p).style("stroke",f).style("lineWidth",d).style("transform",g).style("markerEnd",h).call(e2,i).node()}};i5.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let i3=()=>(t,e)=>{let{data:n}=e;return!Array.isArray(n)||n.some(I)?[t,e]:[t,E({},e,{encode:{x:P(n)}})]};i3.props={};let i4={line:i5},i6=t=>(e,n,r,i)=>{let{x:a}=r,o=nM(n,r,E({style:{bandOffset:0}},t)),l=Array.from(e,t=>{let e=[a[t],1],n=[a[t],0];return[e,n].map(e=>i.map(o(e,t)))});return[e,l]};i6.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:i4,channels:[...nw({shapes:Object.keys(i4)}),{name:"x",required:!0}],preInference:[...n_(),{type:i3}],postInference:[]};let i8=()=>(t,e)=>{let{data:n}=e;return!Array.isArray(n)||n.some(I)?[t,e]:[t,E({},e,{encode:{y:P(n)}})]};i8.props={};let i7={line:i5},i9=t=>(e,n,r,i)=>{let{y:a}=r,o=nM(n,r,E({style:{bandOffset:0}},t)),l=Array.from(e,t=>{let e=[0,a[t]],n=[1,a[t]];return[e,n].map(e=>i.map(o(e,t)))});return[e,l]};i9.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:i7,channels:[...nw({shapes:Object.keys(i7)}),{name:"y",required:!0}],preInference:[...n_(),{type:i8}],postInference:[]};var at=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function ae(t,e,n){return[["M",t,e],["L",t+2*n,e-n],["L",t+2*n,e+n],["Z"]]}let an=(t,e)=>{let{offset:n=0,offset1:r=n,offset2:i=n,connectLength1:a,endMarker:o=!0}=t,l=at(t,["offset","offset1","offset2","connectLength1","endMarker"]),{coordinate:s}=e;return(t,e,n)=>{let{color:c,connectLength1:u}=n,f=at(n,["color","connectLength1"]),{color:d,transform:h}=e,p=function(t,e,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,[[a,o],[l,s]]=e;if(z(t)){let t=a+n,e=t+i;return[[t,o],[e,o],[e,s],[l+r,s]]}let c=o-n,u=c-i;return[[a,c],[a,u],[l,u],[l,s-r]]}(s,t,r,i,null!=a?a:u),g=(0,nd.hB)(Object.assign(Object.assign({},l),n),"endMarker");return(0,Q.F)(new nD.y$).call(e2,f).style("d",(0,na.Z)().x(t=>t[0]).y(t=>t[1])(p)).style("stroke",d||c).style("transform",h).style("markerEnd",o?new r5.J({className:"marker",style:Object.assign(Object.assign({},g),{symbol:ae})}):null).call(e2,l).node()}};an.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let ar={connector:an},ai=function(){for(var t=arguments.length,e=Array(t),n=0;n[0,1];let{[t]:i,["".concat(t,"1")]:a}=n;return t=>{var e;let n=(null===(e=r.getBandWidth)||void 0===e?void 0:e.call(r,r.invert(+a[t])))||0;return[i[t],a[t]+n]}}function ao(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{extendX:e=!1,extendY:n=!1}=t;return(t,r,i,a)=>{let o=aa("x",e,i,r.x),l=aa("y",n,i,r.y),s=Array.from(t,t=>{let[e,n]=o(t),[r,i]=l(t);return[[e,r],[n,r],[n,i],[e,i]].map(t=>a.map(t))});return[t,s]}}ai.props={defaultShape:"connector",defaultLabelShape:"label",composite:!1,shape:ar,channels:[...nw({shapes:Object.keys(ar)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...n_()],postInference:[]};let al={range:nr},as=()=>ao();as.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:al,channels:[...nw({shapes:Object.keys(al)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...n_()],postInference:[]};let ac=()=>(t,e)=>{let{data:n}=e;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(I))){let r=(t,e)=>Array.isArray(t[0])?t.map(t=>t[e]):[t[e]];return[t,E({},e,{encode:{x:P(r(n,0)),x1:P(r(n,1))}})]}return[t,e]};ac.props={};let au={range:nr},af=()=>ao({extendY:!0});af.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:au,channels:[...nw({shapes:Object.keys(au)}),{name:"x",required:!0}],preInference:[...n_(),{type:ac}],postInference:[]};let ad=()=>(t,e)=>{let{data:n}=e;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(I))){let r=(t,e)=>Array.isArray(t[0])?t.map(t=>t[e]):[t[e]];return[t,E({},e,{encode:{y:P(r(n,0)),y1:P(r(n,1))}})]}return[t,e]};ad.props={};let ah={range:nr},ap=()=>ao({extendX:!0});ap.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:ah,channels:[...nw({shapes:Object.keys(ah)}),{name:"y",required:!0}],preInference:[...n_(),{type:ad}],postInference:[]};var ag=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let am=(t,e)=>{let{arrow:n,colorAttribute:r}=t,i=ag(t,["arrow","colorAttribute"]),{coordinate:a,document:o}=e;return(t,e,n)=>{let{color:l,stroke:s}=n,c=ag(n,["color","stroke"]),{d:u,color:f=l}=e,[d,h]=a.getSize();return(0,Q.F)(o.createElement("path",{})).call(e2,c).style("d","function"==typeof u?u({width:d,height:h}):u).style(r,f).call(e2,i).node()}};am.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let ay=(t,e)=>am(Object.assign({colorAttribute:"fill"},t),e);ay.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let av=(t,e)=>am(Object.assign({fill:"none",colorAttribute:"stroke"},t),e);av.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let ab={path:ay,hollow:av},ax=t=>(t,e,n,r)=>[t,t.map(()=>[[0,0]])];ax.props={defaultShape:"path",defaultLabelShape:"label",shape:ab,composite:!1,channels:[...nb({shapes:Object.keys(ab)}),{name:"d",scale:"identity"}],preInference:[...n_()],postInference:[]};var aO=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let aw=(t,e)=>{let{render:n}=t,r=aO(t,["render"]);return t=>{let[[i,a]]=t;return n(Object.assign(Object.assign({},r),{x:i,y:a}),e)}};aw.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let a_=()=>(t,e)=>{let{style:n={}}=e;return[t,E({},e,{style:Object.assign(Object.assign({},n),Object.fromEntries(Object.entries(n).filter(t=>{let[,e]=t;return"function"==typeof e}).map(t=>{let[e,n]=t;return[e,()=>n]})))})]};a_.props={};let ak=t=>{let{cartesian:e}=t;return e?nj:(e,n,r,i)=>{let{x:a,y:o}=r,l=nM(n,r,t),s=Array.from(e,t=>{let e=[+a[t],+o[t]];return[i.map(l(e,t))]});return[e,s]}};ak.props={defaultShape:"shape",defaultLabelShape:"label",composite:!1,shape:{shape:aw},channels:[{name:"x",required:!0},{name:"y",required:!0}],preInference:[...n_(),{type:ir},{type:ia},{type:a_}]};var aM=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let aC=(t,e)=>{let{document:n}=e;return(e,r,i)=>{let{transform:a}=r,{color:o}=i,l=aM(i,["color"]),{color:s=o}=r,[c,...u]=e,f=(0,nJ.Z)();return f.moveTo(...c),u.forEach(t=>{let[e,n]=t;f.lineTo(e,n)}),f.closePath(),(0,Q.F)(n.createElement("path",{})).call(e2,l).style("d",f.toString()).style("stroke",s||o).style("fill",s||o).style("fillOpacity",.4).style("transform",a).call(e2,t).node()}};aC.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let aj={density:aC},aA=()=>(t,e,n,r)=>{let{x:i,series:a}=n,o=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("y")}).map(t=>{let[,e]=t;return e}),l=Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("size")}).map(t=>{let[,e]=t;return e});if(void 0===i||void 0===o||void 0===l)throw Error("Missing encode for x or y or size channel.");let s=e.x,c=e.series,u=Array.from(t,e=>{let n=s.getBandWidth(s.invert(+i[e])),u=c?c.getBandWidth(c.invert(+(null==a?void 0:a[e]))):1,f=(+(null==a?void 0:a[e])||0)*n,d=+i[e]+f+n*u/2,h=[...o.map((n,r)=>[d+ +l[r][e]/t.length,+o[r][e]]),...o.map((n,r)=>[d-+l[r][e]/t.length,+o[r][e]]).reverse()];return h.map(t=>r.map(t))});return[t,u]};aA.props={defaultShape:"density",defaultLabelShape:"label",composite:!1,shape:aj,channels:[...nb({shapes:Object.keys(aj)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"size",required:!0},{name:"series",scale:"band"},{name:"size",required:!0,scale:"identity"}],preInference:[...n_(),{type:N},{type:D}],postInference:[...nO()],interaction:{shareTooltip:!0}};var aS=n(47622),aE=n(98823),aP=n(82631);function aR(t,e,n){let r=t?t():document.createElement("canvas");return r.width=e,r.height=n,r}(0,aP.Z)(3);let aT=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){for(var t=arguments.length,e=Array(t),n=0;n2&&void 0!==arguments[2]?arguments[2]:16,r=(0,aP.Z)(n);return function(){for(var n=arguments.length,i=Array(n),a=0;a{let r=aR(n,2*t,2*t),i=r.getContext("2d");if(1===e)i.beginPath(),i.arc(t,t,t,0,2*Math.PI,!1),i.fillStyle="rgba(0,0,0,1)",i.fill();else{let n=i.createRadialGradient(t,t,t*e,t,t,t);n.addColorStop(0,"rgba(0,0,0,1)"),n.addColorStop(1,"rgba(0,0,0,0)"),i.fillStyle=n,i.fillRect(0,0,2*t,2*t)}return r},t=>"".concat(t));var aZ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let aL=(t,e)=>{let{gradient:n,opacity:r,maxOpacity:i,minOpacity:a,blur:o,useGradientOpacity:l}=t,s=aZ(t,["gradient","opacity","maxOpacity","minOpacity","blur","useGradientOpacity"]),{coordinate:c,createCanvas:u,document:f}=e;return(t,e,d)=>{var h,p;let{transform:g}=e,[m,y]=c.getSize(),v=t.map(t=>({x:t[0],y:t[1],value:t[2],radius:t[3]})),b=(0,aS.Z)(t,t=>t[2]),x=(0,aE.Z)(t,t=>t[2]),O=m&&y?function(t,e,n,r,i,a,o){let l=Object.assign({blur:.85,minOpacity:0,opacity:.6,maxOpacity:1,gradient:[[.25,"rgb(0,0,255)"],[.55,"rgb(0,255,0)"],[.85,"yellow"],[1,"rgb(255,0,0)"]]},a);l.minOpacity*=255,l.opacity*=255,l.maxOpacity*=255;let s=aR(o,t,e),c=s.getContext("2d"),u=function(t,e){let n=aR(e,256,1),r=n.getContext("2d"),i=r.createLinearGradient(0,0,256,1);return("string"==typeof t?t.split(" ").map(t=>{let[e,n]=t.split(":");return[+e,n]}):t).forEach(t=>{let[e,n]=t;i.addColorStop(e,n)}),r.fillStyle=i,r.fillRect(0,0,256,1),r.getImageData(0,0,256,1).data}(l.gradient,o);c.clearRect(0,0,t,e),function(t,e,n,r,i,a){let{blur:o}=i,l=r.length;for(;l--;){let{x:i,y:s,value:c,radius:u}=r[l],f=Math.min(c,n),d=i-u,h=s-u,p=aT(u,1-o,a),g=(f-e)/(n-e);t.globalAlpha=Math.max(g,.001),t.drawImage(p,d,h)}}(c,n,r,i,l,o);let f=function(t,e,n,r,i){let{minOpacity:a,opacity:o,maxOpacity:l,useGradientOpacity:s}=i,c=t.getImageData(0,0,e,n),u=c.data,f=u.length;for(let t=3;tvoid 0===t,Object.keys(h).reduce((t,e)=>{let n=h[e];return p(n,e)||(t[e]=n),t},{})),u):{canvas:null};return(0,Q.F)(f.createElement("image",{})).call(e2,d).style("x",0).style("y",0).style("width",m).style("height",y).style("src",O.canvas).style("transform",g).call(e2,s).node()}};aL.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let aB={heatmap:aL},aI=t=>(t,e,n,r)=>{let{x:i,y:a,size:o,color:l}=n,s=Array.from(t,t=>{let e=o?+o[t]:40;return[...r.map([+i[t],+a[t]]),l[t],e]});return[[0],[s]]};aI.props={defaultShape:"heatmap",defaultLabelShape:"label",composite:!1,shape:aB,channels:[...nb({shapes:Object.keys(aB)}),{name:"x",required:!0},{name:"y",required:!0},{name:"color",scale:"identity",required:!0},{name:"size"}],preInference:[...n_(),{type:D},{type:rJ}],postInference:[...nx()]};var aN=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let aD=()=>({axis:!1,type:"text",encode:{x:"x",y:"y",text:"text",rotate:"rotate",fontSize:"size",shape:"tag"},scale:{x:{range:[0,1]},y:{range:[0,1]}},style:{fontFamily:t=>t.fontFamily}}),aF=(t,e)=>{var n,r,i,a;return n=void 0,r=void 0,i=void 0,a=function*(){let{width:n,height:r}=e,{data:i,encode:a={},scale:o,style:l={},layout:s={}}=t,c=aN(t,["data","encode","scale","style","layout"]),u=function(t,e){let{text:n="text",value:r="value"}=e;return t.map(t=>Object.assign(Object.assign({},t),{text:t[n],value:t[r]}))}(i,a);return E({},aD(),Object.assign(Object.assign({data:{value:u,transform:[Object.assign({type:"wordCloud",size:[n,r]},s)]},encode:a,scale:o,style:l},c),{axis:!1}))},new(i||(i=Promise))(function(t,e){function o(t){try{s(a.next(t))}catch(t){e(t)}}function l(t){try{s(a.throw(t))}catch(t){e(t)}}function s(e){var n;e.done?t(e.value):((n=e.value)instanceof i?n:new i(function(t){t(n)})).then(o,l)}s((a=a.apply(n,r||[])).next())})};aF.props={};let az=()=>["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"];az.props={};let a$=()=>["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"];a$.props={};let aW=t=>new eP(t);aW.props={};let aH=t=>new ev(t);aH.props={};let aG=t=>new eb(t);aG.props={};let aq=t=>new eC(t);aq.props={};let aV=t=>new eR(t);aV.props={};let aY=t=>new eV(t);aY.props={};let aU=t=>new ez(t);aU.props={};let aQ=t=>new eB(t);aQ.props={};let aK=t=>new eI(t);aK.props={};let aX=t=>new eN(t);aX.props={};let aJ=t=>new eW(t);aJ.props={};let a0=t=>new e$(t);a0.props={};let a1=t=>new eY(t);a1.props={};let a2=t=>new eO(t);function a5(t){let{colorDefault:e,colorBlack:n,colorWhite:r,colorStroke:i,colorBackground:a,padding1:o,padding2:l,padding3:s,alpha90:c,alpha65:u,alpha45:f,alpha25:d,alpha10:h,category10:p,category20:g,sizeDefault:m=1,padding:y="auto",margin:v=16}=t;return{padding:y,margin:v,size:m,color:e,category10:p,category20:g,enter:{duration:300,fill:"both",delay:0},update:{duration:300,fill:"both",delay:0},exit:{duration:300,fill:"both",delay:0},view:{viewFill:a,plotFill:"transparent",mainFill:"transparent",contentFill:"transparent"},line:{line:{fill:"",strokeOpacity:1,lineWidth:1,lineCap:"round"}},point:{point:{r:3,fillOpacity:.95,lineWidth:0},hollow:{r:3,strokeOpacity:.95,lineWidth:1},plus:{r:3,strokeOpacity:.95,lineWidth:3},diamond:{r:3,strokeOpacity:.95,lineWidth:1}},interval:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},area:{area:{fillOpacity:.85,lineWidth:0}},polygon:{polygon:{fillOpacity:.95}},cell:{cell:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},rect:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},link:{link:{fill:"",strokeOpacity:1}},vector:{vector:{fillOpacity:1}},box:{box:{fillOpacity:.95,stroke:n,lineWidth:1}},text:{text:{fill:"#1D2129",fontSize:12,lineWidth:0,connectorStroke:i,connectorStrokeOpacity:.45,connectorLineWidth:1,backgroundFill:i,backgroundFillOpacity:.15,backgroundPadding:[2,4],startMarkerSymbol:"circle",startMarkerSize:4,endMarkerSymbol:"circle",endMarkerSize:4},badge:{fill:"#1D2129",fillOpacity:.65,lineWidth:0,fontSize:10,textAlign:"center",textBaseline:"middle",markerFill:i,markerFillOpacity:.25,markerStrokeOpacity:0}},lineX:{line:{stroke:i,strokeOpacity:.45,lineWidth:1}},lineY:{line:{stroke:i,strokeOpacity:.45,lineWidth:1}},rangeX:{range:{fill:i,fillOpacity:.15,lineWidth:0}},rangeY:{range:{fill:i,fillOpacity:.15,lineWidth:0}},connector:{connector:{stroke:i,strokeOpacity:.45,lineWidth:1,connectLength1:12,endMarker:!0,endMarkerSize:6,endMarkerFill:i,endMarkerFillOpacity:.95}},axis:{arrow:!1,gridLineDash:[3,4],gridLineWidth:.5,gridStroke:n,gridStrokeOpacity:h,labelAlign:"horizontal",labelFill:n,labelOpacity:f,labelFontSize:12,labelFontWeight:"normal",labelSpacing:o,line:!1,lineLineWidth:.5,lineStroke:n,lineStrokeOpacity:f,tickLength:4,tickLineWidth:1,tickStroke:n,tickOpacity:f,titleFill:n,titleOpacity:c,titleFontSize:12,titleFontWeight:"normal",titleSpacing:12,titleTransformOrigin:"center",lineArrowOffset:6,lineArrowSize:6},axisTop:{gridDirection:"positive",labelDirection:"negative",tickDirection:"negative",titlePosition:"top",titleSpacing:12,labelSpacing:4,titleTextBaseline:"middle"},axisBottom:{gridDirection:"negative",labelDirection:"positive",tickDirection:"positive",titlePosition:"bottom",titleSpacing:12,labelSpacing:4,titleTextBaseline:"bottom",titleTransform:"translate(0, 8)"},axisLeft:{gridDirection:"positive",labelDirection:"negative",labelSpacing:4,tickDirection:"negative",titlePosition:"left",titleSpacing:12,titleTextBaseline:"middle",titleDirection:"vertical",titleTransform:"rotate(-90) translate(0, -8)",titleTransformOrigin:"center"},axisRight:{gridDirection:"negative",labelDirection:"positive",labelSpacing:4,tickDirection:"positive",titlePosition:"right",titleSpacing:12,titleTextBaseline:"top",titleDirection:"vertical",titleTransformOrigin:"center"},axisLinear:{girdClosed:!0,gridConnect:"arc",gridDirection:"negative",gridType:"surround",titlePosition:"top",titleSpacing:0},axisArc:{title:!1,titlePosition:"inner",line:!1,tick:!0,labelSpacing:4},axisRadar:{girdClosed:!0,gridStrokeOpacity:.3,gridType:"surround",label:!1,tick:!1,titlePosition:"start"},legendCategory:{backgroundFill:"transparent",itemBackgroundFill:"transparent",itemLabelFill:n,itemLabelFillOpacity:c,itemLabelFontSize:12,itemLabelFontWeight:"normal",itemMarkerFillOpacity:1,itemMarkerSize:8,itemSpacing:[o,o],itemValueFill:n,itemValueFillOpacity:.65,itemValueFontSize:12,itemValueFontWeight:"normal",navButtonFill:n,navButtonFillOpacity:.65,navPageNumFill:n,navPageNumFillOpacity:.45,navPageNumFontSize:12,padding:8,title:!1,titleFill:n,titleFillOpacity:.65,titleFontSize:12,titleFontWeight:"normal",titleSpacing:4,tickStroke:n,tickStrokeOpacity:.25,rowPadding:o,colPadding:l,maxRows:3,maxCols:3},legendContinuous:{handleHeight:12,handleLabelFill:n,handleLabelFillOpacity:f,handleLabelFontSize:12,handleLabelFontWeight:"normal",handleMarkerFill:n,handleMarkerFillOpacity:.6,handleMarkerLineWidth:1,handleMarkerStroke:n,handleMarkerStrokeOpacity:.25,handleWidth:10,labelFill:n,labelFillOpacity:f,labelFontSize:12,labelFontWeight:"normal",labelSpacing:3,tick:!0,tickLength:12,ribbonSize:12,ribbonFill:"#aaa",handle:!0,handleLabel:!1,handleShape:"slider",handleIconSize:12/1.8,indicator:!1,titleFontSize:12,titleSpacing:4,titleFontWeight:"normal",titleFillOpacity:c,tickStroke:n,tickStrokeOpacity:f},label:{fill:n,fillOpacity:.65,fontSize:12,fontWeight:"normal",stroke:void 0,offset:12,connectorStroke:n,connectorStrokeOpacity:.45,connectorLineWidth:1,connectorLength:12,connectorLength2:8,connectorDistance:4},innerLabel:{fill:r,fontSize:12,fillOpacity:.85,fontWeight:"normal",stroke:void 0,offset:0},htmlLabel:{fontSize:12,opacity:.65,color:n,fontWeight:"normal"},slider:{trackSize:16,trackFill:i,trackFillOpacity:1,selectionFill:e,selectionFillOpacity:.15,handleIconSize:10,handleIconFill:"#f7f7f7",handleIconFillOpacity:1,handleIconStroke:n,handleIconStrokeOpacity:.25,handleIconLineWidth:1,handleIconRadius:2,handleLabelFill:n,handleLabelFillOpacity:.45,handleLabelFontSize:12,handleLabelFontWeight:"normal"},scrollbar:{padding:[0,0,0,0],trackSize:6,isRound:!0,slidable:!0,scrollable:!0,trackFill:"#e5e5e5",trackFillOpacity:0,thumbFill:"#000",thumbFillOpacity:.15,thumbHighlightedFillOpacity:.2},title:{spacing:8,titleFill:n,titleFillOpacity:c,titleFontSize:16,titleFontWeight:"bold",titleTextBaseline:"top",subtitleFill:n,subtitleFillOpacity:u,subtitleFontSize:12,subtitleFontWeight:"normal",subtitleTextBaseline:"top"}}}a2.props={};let a3=a5({colorBlack:"#1D2129",colorWhite:"#ffffff",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1}),a4=t=>E({},a3,t);a4.props={};let a6=t=>E({},a4(),{category10:"category10",category20:"category20"},t);a6.props={};let a8=a5({colorBlack:"#fff",colorWhite:"#000",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.25}),a7=t=>E({},a8,{tooltip:{crosshairsStroke:"#fff",crosshairsLineWidth:1,crosshairsStrokeOpacity:.25,css:{".g2-tooltip":{background:"#1f1f1f",opacity:.95},".g2-tooltip-title":{color:"#A6A6A6"},".g2-tooltip-list-item-name-label":{color:"#A6A6A6"},".g2-tooltip-list-item-value":{color:"#A6A6A6"}}}},t),a9=t=>Object.assign({},a7(),{category10:"category10",category20:"category20"},t);a9.props={};let ot=a5({colorBlack:"#000",colorWhite:"#fff",colorStroke:"#888",colorDefault:"#4e79a7",colorBackground:"transparent",category10:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],category20:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1}),oe=t=>E({},ot,{text:{text:{fontSize:10}},axis:{gridLineDash:[0,0],gridLineWidth:1,gridStroke:"#ddd",gridStrokeOpacity:1,labelOpacity:1,labelStrokeOpacity:1,labelFontSize:10,line:!0,lineLineWidth:1,lineStroke:"#888",lineStrokeOpacity:1,tickLength:5,tickStrokeOpacity:1,titleOpacity:1,titleStrokeOpacity:1,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},axisLeft:{gridFilter:(t,e)=>0!==e},axisRight:{gridFilter:(t,e)=>0!==e},legendCategory:{itemLabelFillOpacity:1,itemLabelFontSize:10,itemValueFillOpacity:1,itemValueFontSize:10,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},legendContinuous:{handleLabelFontSize:10,labelFillOpacity:.45,labelFontSize:10},label:{fontSize:10},innerLabel:{fontSize:10},htmlLabel:{fontSize:10},slider:{handleLabelFontSize:10,trackFillOpacity:.05}},t);oe.props={};var on=n(47537),or=function(t){var e=typeof t;return null!==t&&"object"===e||"function"===e},oi=function(t,e){if(t){if(A(t))for(var n=0,r=t.length;ne.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function od(t,e,n){return t.querySelector(e)?(0,Q.F)(t).select(e):(0,Q.F)(t).append(n)}function oh(t){return Array.isArray(t)?t.join(", "):"".concat(t||"")}function op(t,e){let{flexDirection:n,justifyContent:r,alignItems:i}={display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"center"},a={top:["row","flex-start","center"],bottom:["row","flex-start","center"],left:["column","flex-start","center"],right:["column","flex-start","center"],center:["column","center","center"]};return t in a&&([n,r,i]=a[t]),Object.assign({display:"flex",flexDirection:n,justifyContent:r,alignItems:i},e)}class og extends ou.A{get child(){var t;return null===(t=this.children)||void 0===t?void 0:t[0]}update(t){var e;this.attr(t);let{subOptions:n}=t;null===(e=this.child)||void 0===e||e.update(n)}}class om extends og{update(t){var e;let{subOptions:n}=t;this.attr(t),null===(e=this.child)||void 0===e||e.update(n)}}function oy(t,e){var n;return null===(n=t.filter(t=>t.getOptions().name===e))||void 0===n?void 0:n[0]}function ov(t,e,n){let{bbox:r}=t,{position:i="top",size:a,length:o}=e,l=["top","bottom","center"].includes(i),[s,c]=l?[r.height,r.width]:[r.width,r.height],{defaultSize:u,defaultLength:f}=n.props,d=a||u||s,h=o||f||c,[p,g]=l?[h,d]:[d,h];return{orientation:l?"horizontal":"vertical",width:p,height:g,size:d,length:h}}function ob(t){let e=["arrow","crosshairs","grid","handle","handleLabel","indicator","label","line","tick","tip","title","trunc"],{style:n}=t,r=of(t,["style"]),i={};return Object.entries(r).forEach(t=>{let[n,r]=t;e.includes(n)?i["show".concat(os(n))]=r:i[n]=r}),Object.assign(Object.assign({},i),n)}var ox=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function oO(t,e){let{eulerAngles:n,origin:r}=e;r&&t.setOrigin(r),n&&t.rotate(n[0],n[1],n[2])}function ow(t){let{innerWidth:e,innerHeight:n,depth:r}=t.getOptions();return[e,n,r]}function o_(t,e,n,r,i,a,o,l){var s;(void 0!==n||void 0!==a)&&t.update(Object.assign(Object.assign({},n&&{tickCount:n}),a&&{tickMethod:a}));let c=function(t,e,n){if(t.getTicks)return t.getTicks();if(!n)return e;let[r,i]=(0,eK.Z)(e,t=>+t),{tickCount:a}=t.getOptions();return n(r,i,a)}(t,e,a),u=i?c.filter(i):c,f=t=>t instanceof Date?String(t):"object"==typeof t&&t?t:String(t),d=r||(null===(s=t.getFormatter)||void 0===s?void 0:s.call(t))||f,h=function(t,e){if($(e))return t=>t;let n=e.getOptions(),{innerWidth:r,innerHeight:i,insetTop:a,insetBottom:o,insetLeft:l,insetRight:s}=n,[c,u,f]="left"===t||"right"===t?[a,o,i]:[l,s,r],d=new eP({domain:[0,1],range:[c/f,1-u/f]});return t=>d.map(t)}(o,l),p=function(t,e){let{width:n,height:r}=e.getOptions();return i=>{if(!q(e))return i;let a=e.map("bottom"===t?[i,1]:[0,i]);if("bottom"===t){let t=a[0],e=new eP({domain:[0,n],range:[0,1]});return e.map(t)}if("left"===t){let t=a[1],e=new eP({domain:[0,r],range:[0,1]});return e.map(t)}return i}}(o,l),g=t=>["top","bottom","center","outer"].includes(t),m=t=>["left","right"].includes(t);return $(l)||z(l)?u.map((e,n,r)=>{var i,a;let s=(null===(i=t.getBandWidth)||void 0===i?void 0:i.call(t,e))/2||0,c=h(t.map(e)+s),u=W(l)&&"center"===o||z(l)&&(null===(a=t.getTicks)||void 0===a?void 0:a.call(t))&&g(o)||z(l)&&m(o);return{value:u?1-c:c,label:f(d(to(e),n,r)),id:String(n)}}):u.map((e,n,r)=>{var i;let a=(null===(i=t.getBandWidth)||void 0===i?void 0:i.call(t,e))/2||0,l=p(h(t.map(e)+a)),s=m(o);return{value:s?1-l:l,label:f(d(to(e),n,r)),id:String(n)}})}let ok=t=>e=>{let{labelFormatter:n,labelFilter:r=()=>!0}=e;return i=>{var a;let{scales:[o]}=i,l=(null===(a=o.getTicks)||void 0===a?void 0:a.call(o))||o.getOptions().domain,s="string"==typeof n?(0,oc.WU)(n):n,c=Object.assign(Object.assign({},e),{labelFormatter:s,labelFilter:(t,e,n)=>r(l[e],e,l),scale:o});return t(c)(i)}},oM=ok(t=>{let{direction:e="left",important:n={},labelFormatter:r,order:i,orientation:a,actualPosition:o,position:l,size:s,style:c={},title:u,tickCount:f,tickFilter:d,tickMethod:h,transform:p,indexBBox:g}=t,m=ox(t,["direction","important","labelFormatter","order","orientation","actualPosition","position","size","style","title","tickCount","tickFilter","tickMethod","transform","indexBBox"]);return i=>{var y;let{scales:v,value:b,coordinate:x,theme:O}=i,{bbox:w}=b,[_]=v,{domain:k,xScale:M}=_.getOptions(),C=function(t,e,n,r,i,a){let o=function(t,e,n,r,i,a){let o=n.axis,l=["top","right","bottom","left"].includes(i)?n["axis".concat((0,nd.Ez)(i))]:n.axisLinear,s=t.getOptions().name,c=n["axis".concat(os(s))]||{};return Object.assign({},o,l,c)}(t,0,n,0,i,0);return"center"===i?Object.assign(Object.assign(Object.assign(Object.assign({},o),{labelDirection:"right"===r?"negative":"positive"}),"center"===r?{labelTransform:"translate(50%,0)"}:null),{tickDirection:"right"===r?"negative":"positive",labelSpacing:"center"===r?0:4,titleSpacing:"vertical"===a||a===-Math.PI/2?10:0,tick:"center"!==r&&void 0}):o}(_,0,O,e,l,a),j=Object.assign(Object.assign(Object.assign({},C),c),m),A=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"xy",[r,i,a]=ow(e);return"xy"===n?t.includes("bottom")||t.includes("top")?i:r:"xz"===n?t.includes("bottom")||t.includes("top")?a:r:t.includes("bottom")||t.includes("top")?i:a}(o||l,x,t.plane),S=function(t,e,n,r,i){let{x:a,y:o,width:l,height:s}=n;if("bottom"===t)return{startPos:[a,o],endPos:[a+l,o]};if("left"===t)return{startPos:[a+l,o+s],endPos:[a+l,o]};if("right"===t)return{startPos:[a,o+s],endPos:[a,o]};if("top"===t)return{startPos:[a,o+s],endPos:[a+l,o+s]};if("center"===t){if("vertical"===e)return{startPos:[a,o],endPos:[a,o+s]};if("horizontal"===e)return{startPos:[a,o],endPos:[a+l,o]};if("number"==typeof e){let[t,n]=r.getCenter(),[c,u]=Y(r),[f,d]=U(r),h=Math.min(l,s)/2,{insetLeft:p,insetTop:g}=r.getOptions(),m=c*h,y=u*h,[v,b]=[t+a-p,n+o-g],[x,O]=[Math.cos(e),Math.sin(e)],w=$(r)&&i?(()=>{let{domain:t}=i.getOptions();return t.length})():3;return{startPos:[v+y*x,b+y*O],endPos:[v+m*x,b+m*O],gridClosed:1e-6>Math.abs(d-f-360),gridCenter:[v,b],gridControlAngles:Array(w).fill(0).map((t,e,n)=>(d-f)/w*e)}}}return{}}(l,a,w,x,M),E=function(t){let{depth:e}=t.getOptions();return e?{tickIsBillboard:!0,lineIsBillboard:!0,labelIsBillboard:!0,titleIsBillboard:!0,gridIsBillboard:!0}:{}}(x),P=o_(_,k,f,r,d,h,l,x),R=g?P.map((t,e)=>{let n=g.get(e);return n&&n[0]===t.label?Object.assign(Object.assign({},t),{bbox:n[1]}):t}):P,T=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},j),{type:"linear",data:R,crossSize:s,titleText:oh(u),labelOverlap:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;if(t.length>0)return t;let{labelAutoRotate:n,labelAutoHide:r,labelAutoEllipsis:i,labelAutoWrap:a}=e,o=[],l=(t,e)=>{e&&o.push(Object.assign(Object.assign({},t),e))};return l({type:"rotate",optionalAngles:[0,15,30,45,60,90]},n),l({type:"ellipsis",minLength:20},i),l({type:"hide"},r),l({type:"wrap",wordWrapWidth:100,maxLines:3,recoveryWhenFail:!0},a),o}(p,j),grid:(y=j.grid,!($(x)&&z(x)||G(x))&&(void 0===y?!!_.getTicks:y)),gridLength:A,line:!0,indexBBox:g}),j.line?null:{lineOpacity:0}),S),E),n),Z=T.labelOverlap.find(t=>"hide"===t.type);return Z&&(T.crossSize=!1),new on.R({className:"axis",style:ob(T)})}}),oC=ok(t=>{let{order:e,size:n,position:r,orientation:i,labelFormatter:a,tickFilter:o,tickCount:l,tickMethod:s,important:c={},style:u={},indexBBox:f,title:d,grid:h=!1}=t,p=ox(t,["order","size","position","orientation","labelFormatter","tickFilter","tickCount","tickMethod","important","style","indexBBox","title","grid"]);return t=>{let{scales:[e],value:n,coordinate:i,theme:u}=t,{bbox:g}=n,{domain:m}=e.getOptions(),y=o_(e,m,l,a,o,s,r,i),v=f?y.map((t,e)=>{let n=f.get(e);return n&&n[0]===t.label?Object.assign(Object.assign({},t),{bbox:n[1]}):t}):y,[b,x]=Y(i),O=function(t,e,n,r,i){let{x:a,y:o,width:l,height:s}=e,c=[a+l/2,o+s/2],u=Math.min(l,s)/2,[f,d]=U(i),[h,p]=ow(i),g=Math.min(h,p)/2,m={center:c,radius:u,startAngle:f,endAngle:d,gridLength:(r-n)*g};if("inner"===t){let{insetLeft:t,insetTop:e}=i.getOptions();return Object.assign(Object.assign({},m),{center:[c[0]-t,c[1]-e],labelAlign:"perpendicular",labelDirection:"positive",tickDirection:"positive",gridDirection:"negative"})}return Object.assign(Object.assign({},m),{labelAlign:"parallel",labelDirection:"negative",tickDirection:"negative",gridDirection:"positive"})}(r,g,b,x,i),{axis:w,axisArc:_={}}=u,k=ob(E({},w,_,O,Object.assign(Object.assign({type:"arc",data:v,titleText:oh(d),grid:h},p),c)));return new on.R({style:oo(k,["transform"])})}});oM.props={defaultPosition:"center",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]},oC.props={defaultPosition:"outer",defaultOrientation:"vertical",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let oj=t=>function(){for(var e=arguments.length,n=Array(e),r=0;rfunction(){for(var e=arguments.length,n=Array(e),r=0;re.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let oT=t=>{let{labelFormatter:e,layout:n,order:r,orientation:i,position:a,size:o,title:l,cols:s,itemMarker:c}=t,u=oR(t,["labelFormatter","layout","order","orientation","position","size","title","cols","itemMarker"]),{gridRow:f}=u;return e=>{let{value:r,theme:i}=e,{bbox:o}=r,{width:c,height:d}=function(t,e,n){let{position:r}=e;if("center"===r){let{bbox:e}=t,{width:n,height:r}=e;return{width:n,height:r}}let{width:i,height:a}=ov(t,e,n);return{width:i,height:a}}(r,t,oT),h=op(a,n),p=Object.assign(Object.assign(Object.assign(Object.assign({orientation:["right","left","center"].includes(a)?"vertical":"horizontal",width:c,height:d,layout:void 0!==s?"grid":"flex"},void 0!==s&&{gridCol:s}),void 0!==f&&{gridRow:f}),{titleText:oh(l)}),function(t,e){let{labelFormatter:n=t=>"".concat(t)}=t,{scales:r,theme:i}=e,a=i.legendCategory.itemMarkerSize,o=function(t,e){let n=oy(t,"size");return n instanceof eC?2*n.map(NaN):e}(r,a),l={itemMarker:function(t,e){let{scales:n,library:r,markState:i}=e,[a,o]=function(t,e){let n=oy(t,"shape"),r=oy(t,"color"),i=n?n.clone():null,a=[];for(let[t,n]of e){let e=t.type,o=(null==r?void 0:r.getOptions().domain.length)>0?null==r?void 0:r.getOptions().domain:n.data,l=o.map((e,r)=>{var a;return i?i.map(e||"point"):(null===(a=null==t?void 0:t.style)||void 0===a?void 0:a.shape)||n.defaultShape||"point"});"string"==typeof e&&a.push([e,l])}if(0===a.length)return["point",["point"]];if(1===a.length||!n)return a[0];let{range:o}=n.getOptions();return a.map(t=>{let[e,n]=t,r=0;for(let t=0;te[0]-t[0])[0][1]}(n,i),{itemMarker:l,itemMarkerSize:s}=t,c=(t,e)=>{var n,i,o;let l=(null===(o=null===(i=null===(n=r["mark.".concat(a)])||void 0===n?void 0:n.props)||void 0===i?void 0:i.shape[t])||void 0===o?void 0:o.props.defaultMarker)||oP(t.split(".")),c="function"==typeof s?s(e):s;return()=>(function(t,e){var{d:n,fill:r,lineWidth:i,path:a,stroke:o,color:l}=e,s=n7(e,["d","fill","lineWidth","path","stroke","color"]);let c=rC.get(t)||rC.get("point");return function(){for(var t=arguments.length,e=Array(t),n=0;n"".concat(o[t]),f=oy(n,"shape");return f&&!l?(t,e)=>c(u(e),t):"function"==typeof l?(t,e)=>{let n=l(t.id,e);return"string"==typeof n?c(n,t):n}:(t,e)=>c(l||u(e),t)}(Object.assign(Object.assign({},t),{itemMarkerSize:o}),e),itemMarkerSize:o,itemMarkerOpacity:function(t){let e=oy(t,"opacity");if(e){let{range:t}=e.getOptions();return(e,n)=>t[n]}}(r)},s="string"==typeof n?(0,oc.WU)(n):n,c=oy(r,"color"),u=r.find(t=>t.getOptions().domain.length>0).getOptions().domain,f=c?t=>c.map(t):()=>e.theme.color;return Object.assign(Object.assign({},l),{data:u.map(t=>({id:t,label:s(t),color:f(t)}))})}(t,e)),{legendCategory:g={}}=i,m=ob(Object.assign({},g,p,u)),y=new om({style:Object.assign(Object.assign({x:o.x,y:o.y,width:o.width,height:o.height},h),{subOptions:m})});return y.appendChild(new oS.W({className:"legend-category",style:m})),y}};oT.props={defaultPosition:"top",defaultOrder:1,defaultSize:40,defaultCrossPadding:[12,12],defaultPadding:[12,12]};var oZ=n(37948),oL=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function oB(t){let{domain:e}=t.getOptions(),[n,r]=[e[0],e0(e)];return[n,r]}let oI=t=>{let{labelFormatter:e,layout:n,order:r,orientation:i,position:a,size:o,title:l,style:s,crossPadding:c,padding:u}=t,f=oL(t,["labelFormatter","layout","order","orientation","position","size","title","style","crossPadding","padding"]);return r=>{let{scales:i,value:o,theme:c,scale:u}=r,{bbox:d}=o,{x:h,y:p,width:g,height:m}=d,y=op(a,n),{legendContinuous:v={}}=c,b=ob(Object.assign({},v,Object.assign(Object.assign({titleText:oh(l),labelAlign:"value",labelFormatter:"string"==typeof e?t=>(0,oc.WU)(e)(t.label):e},function(t,e,n,r,i,a){let o=oy(t,"color"),l=function(t,e,n){var r,i,a;let{size:o}=e,l=ov(t,e,n);return r=l,i=o,a=l.orientation,(r.size=i,"horizontal"===a||0===a)?r.height=i:r.width=i,r}(n,r,i);if(o instanceof eN){let{range:t}=o.getOptions(),[e,n]=oB(o);return o instanceof e$||o instanceof eW?function(t,e,n,r,i){let a=e.thresholds;return Object.assign(Object.assign({},t),{color:i,data:[n,...a,r].map(t=>({value:t/r,label:String(t)}))})}(l,o,e,n,t):function(t,e,n){let r=e.thresholds,i=[-1/0,...r,1/0].map((t,e)=>({value:e,label:t}));return Object.assign(Object.assign({},t),{data:i,color:n,labelFilter:(t,e)=>e>0&&evoid 0!==t).find(t=>!(t instanceof eO)));return Object.assign(Object.assign({},t),{domain:[f,d],data:s.getTicks().map(t=>({value:t})),color:Array(Math.floor(o)).fill(0).map((t,e)=>{let n=(u-c)/(o-1)*e+c,i=s.map(n)||l,a=r?r.map(n):1;return i.replace(/rgb[a]*\(([\d]{1,3}) *, *([\d]{1,3}) *, *([\d]{1,3})[\S\s]*\)/,(t,e,n,r)=>"rgba(".concat(e,", ").concat(n,", ").concat(r,", ").concat(a,")"))})})}(l,o,s,c,e,a)}(i,u,o,t,oI,c)),s),f)),x=new og({style:Object.assign(Object.assign({x:h,y:p,width:g,height:m},y),{subOptions:b})});return x.appendChild(new oZ.V({className:"legend-continuous",style:b})),x}};oI.props={defaultPosition:"top",defaultOrientation:"vertical",defaultOrder:1,defaultSize:60,defaultLength:200,defaultLegendSize:60,defaultPadding:[20,10],defaultCrossPadding:[12,12]};let oN=t=>()=>new nD.ZA;oN.props={};var oD=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function oF(t,e,n,r){switch(r){case"center":return{x:t+n/2,y:e,textAlign:"middle"};case"right":return{x:t+n,y:e,textAlign:"right"};default:return{x:t,y:e,textAlign:"left"}}}let oz=(r={render(t,e){let{width:n,title:r,subtitle:i,spacing:a=2,align:o="left",x:l,y:s}=t,c=oD(t,["width","title","subtitle","spacing","align","x","y"]);e.style.transform="translate(".concat(l,", ").concat(s,")");let u=(0,nd.hB)(c,"title"),f=(0,nd.hB)(c,"subtitle"),d=od(e,".title","text").attr("className","title").call(e2,Object.assign(Object.assign(Object.assign({},oF(0,0,n,o)),{fontSize:14,textBaseline:"top",text:r}),u)).node(),h=d.getLocalBounds();od(e,".sub-title","text").attr("className","sub-title").call(t=>{if(!i)return t.node().remove();t.node().attr(Object.assign(Object.assign(Object.assign({},oF(0,h.max[1]+a,n,o)),{fontSize:12,textBaseline:"top",text:i}),f))})}},class extends nD.b_{connectedCallback(){var t,e;null===(e=(t=this.descriptor).render)||void 0===e||e.call(t,this.attributes,this)}update(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.attr(E({},this.attributes,n)),null===(e=(t=this.descriptor).render)||void 0===e||e.call(t,this.attributes,this)}constructor(t){super(t),this.descriptor=r}}),o$=t=>e=>{let{value:n,theme:r}=e,{x:i,y:a,width:o,height:l}=n.bbox;return new oz({style:E({},r.title,Object.assign({x:i,y:a,width:o,height:l},t))})};o$.props={defaultPosition:"top",defaultOrder:2,defaultSize:36,defaultCrossPadding:[20,20],defaultPadding:[12,12]};var oW=n(21155),oH=n(44355),oG=n(80732);function oq(t){return!!t.getBandWidth}function oV(t,e,n){if(!oq(t))return t.invert(e);let{adjustedRange:r}=t,{domain:i}=t.getOptions(),a=t.getStep(),o=n?r:r.map(t=>t+a),l=(0,oH.Nw)(o,e),s=Math.min(i.length-1,Math.max(0,l+(n?-1:0)));return i[s]}function oY(t,e,n){if(!e)return t.getOptions().domain;if(!oq(t)){let r=(0,oG.Z)(e);if(!n)return r;let[i]=r,{range:a}=t.getOptions(),[o,l]=a,s=t.invert(t.map(i)+(o>l?-1:1)*n);return[i,s]}let{domain:r}=t.getOptions(),i=e[0],a=r.indexOf(i);if(n){let t=a+Math.round(r.length*n);return r.slice(a,t)}let o=e[e.length-1],l=r.indexOf(o);return r.slice(a,l+1)}function oU(t,e,n,r,i,a){let{x:o,y:l}=i,s=(t,e)=>{let[n,r]=a.invert(t);return[oV(o,n,e),oV(l,r,e)]},c=s([t,e],!0),u=s([n,r],!1),f=oY(o,[c[0],u[0]]),d=oY(l,[c[1],u[1]]);return[f,d]}function oQ(t,e){let[n,r]=t;return[e.map(n),e.map(r)+(e.getStep?e.getStep():0)]}var oK=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let oX=t=>{let{orientation:e,labelFormatter:n,size:r,style:i={},position:a}=t,o=oK(t,["orientation","labelFormatter","size","style","position"]);return r=>{var l;let{scales:[s],value:c,theme:u,coordinate:f}=r,{bbox:d}=c,{width:h,height:p}=d,{slider:g={}}=u,m=(null===(l=s.getFormatter)||void 0===l?void 0:l.call(s))||(t=>t+""),y="string"==typeof n?(0,oc.WU)(n):n,v="horizontal"===e,b=z(f)&&v,{trackSize:x=g.trackSize}=i,[O,w]=function(t,e,n){let{x:r,y:i,width:a,height:o}=t;return"left"===e?[r+a-n,i]:"right"===e||"bottom"===e?[r,i]:"top"===e?[r,i+o-n]:void 0}(d,a,x);return new oW.i({className:"slider",style:Object.assign({},g,Object.assign(Object.assign({x:O,y:w,trackLength:v?h:p,orientation:e,formatter:t=>{let e=oV(s,b?1-t:t,!0);return(y||m)(e)},sparklineData:function(t,e){let{markState:n}=e;return A(t.sparklineData)?t.sparklineData:function(t,e){let[n]=Array.from(t.entries()).filter(t=>{let[e]=t;return"line"===e.type||"area"===e.type}).map(t=>{let[n]=t,{encode:r,slider:i}=n;if((null==i?void 0:i.x)&&0===Object.keys(i.x).length)return Object.fromEntries(e.map(t=>{let e=r[t];return[t,e?e.value:void 0]}))});if(!(null==n?void 0:n.series))return null==n?void 0:n.y;let r=n.series.reduce((t,e,r)=>(t[e]=t[e]||[],t[e].push(n.y[r]),t),{});return Object.values(r)}(n,["y","series"])}(t,r)},i),o))})}};oX.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let oJ=t=>oX(Object.assign(Object.assign({},t),{orientation:"horizontal"}));oJ.props=Object.assign(Object.assign({},oX.props),{defaultPosition:"bottom"});let o0=t=>oX(Object.assign(Object.assign({},t),{orientation:"vertical"}));o0.props=Object.assign(Object.assign({},oX.props),{defaultPosition:"left"});var o1=n(53020),o2=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let o5=t=>{let{orientation:e,labelFormatter:n,style:r}=t,i=o2(t,["orientation","labelFormatter","style"]);return t=>{let{scales:[n],value:a,theme:o}=t,{bbox:l}=a,{x:s,y:c,width:u,height:f}=l,{scrollbar:d={}}=o,{ratio:h,range:p}=n.getOptions(),g="horizontal"===e?u:f,[m,y]=p;return new o1.L({className:"g2-scrollbar",style:Object.assign({},d,Object.assign(Object.assign(Object.assign(Object.assign({},r),{x:s,y:c,trackLength:g,value:y>m?0:1}),i),{orientation:e,contentLength:g/h,viewportLength:g}))})}};o5.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let o3=t=>o5(Object.assign(Object.assign({},t),{orientation:"horizontal"}));o3.props=Object.assign(Object.assign({},o5.props),{defaultPosition:"bottom"});let o4=t=>o5(Object.assign(Object.assign({},t),{orientation:"vertical"}));o4.props=Object.assign(Object.assign({},o5.props),{defaultPosition:"left"});let o6=(t,e)=>{let{coordinate:n}=e;return(e,r,i)=>{let[a]=e,{transform:o="",fillOpacity:l=1,strokeOpacity:s=1,opacity:c=1}=a.style,[u,f]=z(n)?["left bottom","scale(1, ".concat(1e-4,")")]:["left top","scale(".concat(1e-4,", 1)")],d=[{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:l,strokeOpacity:s,opacity:c,offset:.01},{transform:"".concat(o," scale(1, 1)").trimStart(),transformOrigin:u,fillOpacity:l,strokeOpacity:s,opacity:c}],h=a.animate(d,Object.assign(Object.assign({},i),t));return h}},o8=(t,e)=>{let{coordinate:n}=e;return nD.ux.registerProperty({name:"scaleInYRadius",inherits:!1,initialValue:"",interpolable:!0,syntax:nD.h0.NUMBER}),(e,r,i)=>{let[a]=e;return $(n)?(e=>{let{__data__:r,style:a}=e,{radius:o=0,inset:l=0,fillOpacity:s=1,strokeOpacity:c=1,opacity:u=1}=a,{points:f,y:d,y1:h}=r,p=e6(n,f,[d,h]),{innerRadius:g,outerRadius:m}=p,y=(0,F.Z)().cornerRadius(o).padAngle(l*Math.PI/180),v=new nD.y$({}),b=t=>{v.attr({d:y(t)});let e=(0,nD.YR)(v);return e},x=e.animate([{scaleInYRadius:g+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{scaleInYRadius:g+1e-4,fillOpacity:s,strokeOpacity:c,opacity:u,offset:.01},{scaleInYRadius:m,fillOpacity:s,strokeOpacity:c,opacity:u}],Object.assign(Object.assign({},i),t));return x.onframe=function(){e.style.d=b(Object.assign(Object.assign({},p),{outerRadius:Number(e.style.scaleInYRadius)}))},x.onfinish=function(){e.style.d=b(Object.assign(Object.assign({},p),{outerRadius:m}))},x})(a):(e=>{let{style:r}=e,{transform:a="",fillOpacity:o=1,strokeOpacity:l=1,opacity:s=1}=r,[c,u]=z(n)?["left top","scale(".concat(1e-4,", 1)")]:["left bottom","scale(1, ".concat(1e-4,")")],f=[{transform:"".concat(a," ").concat(u).trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:"".concat(a," ").concat(u).trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s,offset:.01},{transform:"".concat(a," scale(1, 1)").trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s}],d=e.animate(f,Object.assign(Object.assign({},i),t));return d})(a)}},o7=(t,e)=>{nD.ux.registerProperty({name:"waveInArcAngle",inherits:!1,initialValue:"",interpolable:!0,syntax:nD.h0.NUMBER});let{coordinate:n}=e;return(r,i,a)=>{let[o]=r;if(!$(n))return o6(t,e)(r,i,a);let{__data__:l,style:s}=o,{radius:c=0,inset:u=0,fillOpacity:f=1,strokeOpacity:d=1,opacity:h=1}=s,{points:p,y:g,y1:m}=l,y=(0,F.Z)().cornerRadius(c).padAngle(u*Math.PI/180),v=e6(n,p,[g,m]),{startAngle:b,endAngle:x}=v,O=o.animate([{waveInArcAngle:b+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{waveInArcAngle:b+1e-4,fillOpacity:f,strokeOpacity:d,opacity:h,offset:.01},{waveInArcAngle:x,fillOpacity:f,strokeOpacity:d,opacity:h}],Object.assign(Object.assign({},a),t));return O.onframe=function(){o.style.d=y(Object.assign(Object.assign({},v),{endAngle:Number(o.style.waveInArcAngle)}))},O.onfinish=function(){o.style.d=y(Object.assign(Object.assign({},v),{endAngle:x}))},O}};o7.props={};let o9=t=>(e,n,r)=>{let[i]=e,{fillOpacity:a=1,strokeOpacity:o=1,opacity:l=1}=i.style,s=[{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:a,strokeOpacity:o,opacity:l}];return i.animate(s,Object.assign(Object.assign({},r),t))};o9.props={};let lt=t=>(e,n,r)=>{let[i]=e,{fillOpacity:a=1,strokeOpacity:o=1,opacity:l=1}=i.style,s=[{fillOpacity:a,strokeOpacity:o,opacity:l},{fillOpacity:0,strokeOpacity:0,opacity:0}];return i.animate(s,Object.assign(Object.assign({},r),t))};lt.props={};let le=t=>(e,n,r)=>{var i;let[a]=e,o=(null===(i=a.getTotalLength)||void 0===i?void 0:i.call(a))||0,l=[{lineDash:[0,o]},{lineDash:[o,0]}];return a.animate(l,Object.assign(Object.assign({},r),t))};le.props={};let ln={opacity:1,strokeOpacity:1,fillOpacity:1,lineWidth:0,x:0,y:0,cx:0,cy:0,r:0,rx:0,ry:0,width:0,height:0},lr={[nD.bn.CIRCLE]:["cx","cy","r"],[nD.bn.ELLIPSE]:["cx","cy","rx","ry"],[nD.bn.RECT]:["x","y","width","height"],[nD.bn.IMAGE]:["x","y","width","height"],[nD.bn.LINE]:["x1","y1","x2","y2"],[nD.bn.POLYLINE]:["points"],[nD.bn.POLYGON]:["points"]};function li(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r={};for(let i of e){let e=t.style[i];e?r[i]=e:n&&(r[i]=ln[i])}return r}let la=["fill","stroke","fillOpacity","strokeOpacity","opacity","lineWidth"];function lo(t){let{min:e,max:n}=t.getLocalBounds(),[r,i]=e,[a,o]=n;return[r,i,a-r,o-i]}function ll(t,e){let[n,r,i,a]=lo(t),o=Math.ceil(Math.sqrt(e/(a/i))),l=Math.ceil(e/o),s=[],c=a/l,u=0,f=e;for(;f>0;){let t=Math.min(f,o),e=i/t;for(let i=0;i{let t=c.style.d;(0,nd.DM)(c,n),c.style.d=t,c.style.transform="none"},c.style.transform="none",t}return null}let ld=t=>(e,n,r)=>{let i=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pack";return"function"==typeof t?t:ll}(t.split),a=Object.assign(Object.assign({},r),t),{length:o}=e,{length:l}=n;if(1===o&&1===l||o>1&&l>1){let[t]=e,[r]=n;return lf(t,t,r,a)}if(1===o&&l>1){let[t]=e;return function(t,e,n,r){t.style.visibility="hidden";let i=r(t,e.length);return e.map((e,r)=>{let a=new nD.y$({style:Object.assign({d:i[r]},li(t,la))});return lf(e,a,e,n)})}(t,n,a,i)}if(o>1&&1===l){let[t]=n;return function(t,e,n,r){let i=r(e,t.length),{fillOpacity:a=1,strokeOpacity:o=1,opacity:l=1}=e.style,s=e.animate([{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:0,strokeOpacity:0,opacity:0,offset:.99},{fillOpacity:a,strokeOpacity:o,opacity:l}],n),c=t.map((t,r)=>{let a=new nD.y$({style:{d:i[r],fill:e.style.fill}});return lf(t,t,a,n)});return[...c,s]}(e,t,a,i)}return null};ld.props={};let lh=(t,e)=>(n,r,i)=>{let[a]=n,{min:[o,l],halfExtents:s}=a.getLocalBounds(),c=2*s[0],u=2*s[1],f=new nD.y$({style:{d:"M".concat(o,",").concat(l,"L").concat(o+c,",").concat(l,"L").concat(o+c,",").concat(l+u,"L").concat(o,",").concat(l+u,"Z")}});a.appendChild(f),a.style.clipPath=f;let d=o6(t,e)([f],r,i);return d};lh.props={};let lp=(t,e)=>(n,r,i)=>{let[a]=n,{min:[o,l],halfExtents:s}=a.getLocalBounds(),c=2*s[0],u=2*s[1],f=new nD.y$({style:{d:"M".concat(o,",").concat(l,"L").concat(o+c,",").concat(l,"L").concat(o+c,",").concat(l+u,"L").concat(o,",").concat(l+u,"Z")}});a.appendChild(f),a.style.clipPath=f;let d=o8(t,e)([f],r,i);return d};lp.props={};var lg=function(t,e){if(!oE(t))return t;for(var n=[],r=0;rlv(t,e,n,r))}function lb(t){lv(t,"visibility","hidden",!0)}function lx(t){lv(t,"visibility","visible",!0)}var lO=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function lw(t){return(0,Q.F)(t).selectAll(".".concat(lm.Tt)).nodes().filter(t=>!t.__removed__)}function l_(t,e){return lk(t,e).flatMap(t=>{let{container:e}=t;return lw(e)})}function lk(t,e){return e.filter(e=>e!==t&&e.options.parentKey===t.options.key)}function lM(t){return(0,Q.F)(t).select(".".concat(lm.V$)).node()}function lC(t){if("g"===t.tagName)return t.getRenderBounds();let e=t.getGeometryBounds(),n=new nD.mN;return n.setFromTransformedAABB(e,t.getWorldTransform()),n}function lj(t,e){let{offsetX:n,offsetY:r}=e,i=lC(t),{min:[a,o],max:[l,s]}=i;return nl||rs?null:[n-a,r-o]}function lA(t,e){let{offsetX:n,offsetY:r}=e,[i,a,o,l]=function(t){let e=t.getRenderBounds(),{min:[n,r],max:[i,a]}=e;return[n,r,i,a]}(t);return[Math.min(o,Math.max(i,n))-i,Math.min(l,Math.max(a,r))-a]}function lS(t){return t=>t.__data__.color}function lE(t){return t=>t.__data__.x}function lP(t){let e=Array.isArray(t)?t:[t],n=new Map(e.flatMap(t=>{let e=Array.from(t.markState.keys());return e.map(e=>[lT(t.key,e.key),e.data])}));return t=>{let{index:e,markKey:r,viewKey:i}=t.__data__,a=n.get(lT(i,r));return a[e]}}function lR(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t,e)=>t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(t,e,n)=>t.setAttribute(e,n),r="__states__",i="__ordinal__",a=a=>{let{[r]:o=[],[i]:l={}}=a,s=o.reduce((e,n)=>Object.assign(Object.assign({},e),t[n]),l);if(0!==Object.keys(s).length){for(let[t,r]of Object.entries(s)){let i=function(t,e){var n;return null!==(n=t.style[e])&&void 0!==n?n:ly[e]}(a,t),o=e(r,a);n(a,t,o),t in l||(l[t]=i)}a[i]=l}},o=t=>{t[r]||(t[r]=[])};return{setState:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i1?e-1:0),i=1;i(o(t),-1!==t[r].indexOf(e))}}function lT(t,e){return"".concat(t,",").concat(e)}function lZ(t,e){let n=Array.isArray(t)?t:[t],r=n.flatMap(t=>t.marks.map(e=>[lT(t.key,e.key),e.state])),i={};for(let t of e){let[e,n]=Array.isArray(t)?t:[t,{}];i[e]=r.reduce((t,r)=>{var i;let[a,o={}]=r,l=void 0===(i=o[e])||"object"==typeof i&&0===Object.keys(i).length?n:o[e];for(let[e,n]of Object.entries(l)){let r=t[e],i=(t,e,i,o)=>{let l=lT(o.__data__.viewKey,o.__data__.markKey);return a!==l?null==r?void 0:r(t,e,i,o):"function"!=typeof n?n:n(t,e,i,o)};t[e]=i}return t},{})}return i}function lL(t,e){let n=new Map(t.map((t,e)=>[t,e])),r=e?t.map(e):t;return(t,i)=>{if("function"!=typeof t)return t;let a=n.get(i),o=e?e(i):i;return t(o,a,r,i)}}function lB(t){var{link:e=!1,valueof:n=(t,e)=>t,coordinate:r}=t,i=lO(t,["link","valueof","coordinate"]);if(!e)return[()=>{},()=>{}];let a=t=>t.__data__.points,o=(t,e)=>{let[,n,r]=t,[i,,,a]=e;return[n,i,a,r]};return[t=>{var e;if(t.length<=1)return;let r=(0,oG.Z)(t,(t,e)=>{let{x:n}=t.__data__,{x:r}=e.__data__;return n-r});for(let t=1;tn(t,s)),{fill:g=s.getAttribute("fill")}=p,m=lO(p,["fill"]),y=new nD.y$({className:"element-link",style:Object.assign({d:l.toString(),fill:g,zIndex:-2},m)});null===(e=s.link)||void 0===e||e.remove(),s.parentNode.appendChild(y),s.link=y}},t=>{var e;null===(e=t.link)||void 0===e||e.remove(),t.link=null}]}function lI(t,e,n){let r=e=>{let{transform:n}=t.style;return n?"".concat(n," ").concat(e):e};if($(n)){let{points:i}=t.__data__,[a,o]=z(n)?e4(i):i,l=n.getCenter(),s=K(a,l),c=K(o,l),u=tt(s),f=tn(s,c),d=u+f/2,h=e*Math.cos(d),p=e*Math.sin(d);return r("translate(".concat(h,", ").concat(p,")"))}return r(z(n)?"translate(".concat(e,", 0)"):"translate(0, ".concat(-e,")"))}function lN(t){var{document:e,background:n,scale:r,coordinate:i,valueof:a}=t,o=lO(t,["document","background","scale","coordinate","valueof"]);let l="element-background";if(!n)return[()=>{},()=>{}];let s=(t,e,n)=>{let r=t.invert(e),i=e+t.getBandWidth(r)/2,a=t.getStep(r)/2,o=a*n;return[i-a+o,i+a-o]},c=(t,e)=>{let{x:n}=r;if(!oq(n))return[0,1];let{__data__:i}=t,{x:a}=i,[o,l]=s(n,a,e);return[o,l]},u=(t,e)=>{let{y:n}=r;if(!oq(n))return[0,1];let{__data__:i}=t,{y:a}=i,[o,l]=s(n,a,e);return[o,l]},f=(t,n)=>{let{padding:r}=n,[a,o]=c(t,r),[l,s]=u(t,r),f=[[a,l],[o,l],[o,s],[a,s]].map(t=>i.map(t)),{__data__:d}=t,{y:h,y1:p}=d;return ne(e,f,{y:h,y1:p},i,n)},d=(t,e)=>{let{transform:n="scale(1.2, 1.2)",transformOrigin:r="center center",stroke:i=""}=e,a=lO(e,["transform","transformOrigin","stroke"]),o=Object.assign({transform:n,transformOrigin:r,stroke:i},a),l=t.cloneNode(!0);for(let[t,e]of Object.entries(o))l.style[t]=e;return l},h=()=>{let{x:t,y:e}=r;return[t,e].some(oq)};return[t=>{t.background&&t.background.remove();let e=eX(o,e=>a(e,t)),{fill:n="#CCD6EC",fillOpacity:r=.3,zIndex:i=-2,padding:s=.001,lineWidth:c=0}=e,u=lO(e,["fill","fillOpacity","zIndex","padding","lineWidth"]),p=Object.assign(Object.assign({},u),{fill:n,fillOpacity:r,zIndex:i,padding:s,lineWidth:c}),g=h()?f:d,m=g(t,p);m.className=l,t.parentNode.parentNode.appendChild(m),t.background=m},t=>{var e;null===(e=t.background)||void 0===e||e.remove(),t.background=null},t=>t.className===l]}function lD(t,e){let n=t.getRootNode().defaultView,r=n.getContextService().getDomElement();(null==r?void 0:r.style)&&(t.cursor=r.style.cursor,r.style.cursor=e)}function lF(t,e,n){return t.find(t=>Object.entries(e).every(e=>{let[r,i]=e;return n(t)[r]===i}))}function lz(t,e){return Math.sqrt(Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2))}function l$(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=lg(t,t=>!!t).map((t,e)=>[0===e?"M":"L",...t]);return e&&n.push(["Z"]),n}function lW(t){return t.querySelectorAll(".element")}function lH(t,e){if(e(t))return t;let n=t.parent;for(;n&&!e(n);)n=n.parent;return n}var lG=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function lq(t){var{delay:e,createGroup:n,background:r=!1,link:i=!1}=t,a=lG(t,["delay","createGroup","background","link"]);return(t,o,l)=>{let{container:s,view:c,options:u}=t,{scale:f,coordinate:d}=c,h=lM(s);return function(t,e){var n;let r,{elements:i,datum:a,groupKey:o=t=>t,link:l=!1,background:s=!1,delay:c=60,scale:u,coordinate:f,emitter:d,state:h={}}=e,p=i(t),g=new Set(p),m=(0,nB.ZP)(p,o),y=lL(p,a),[v,b]=lB(Object.assign({elements:p,valueof:y,link:l,coordinate:f},(0,nd.hB)(h.active,"link"))),[x,O,w]=lN(Object.assign({document:t.ownerDocument,scale:u,coordinate:f,background:s,valueof:y},(0,nd.hB)(h.active,"background"))),_=E(h,{active:Object.assign({},(null===(n=h.active)||void 0===n?void 0:n.offset)&&{transform:function(){for(var t=arguments.length,e=Array(t),n=0;n{let{target:e,nativeEvent:n=!0}=t;if(!g.has(e))return;r&&clearTimeout(r);let i=o(e),l=m.get(i),s=new Set(l);for(let t of p)s.has(t)?C(t,"active")||k(t,"active"):(k(t,"inactive"),b(t)),t!==e&&O(t);x(e),v(l),n&&d.emit("element:highlight",{nativeEvent:n,data:{data:a(e),group:l.map(a)}})},A=()=>{r&&clearTimeout(r),r=setTimeout(()=>{S(),r=null},c)},S=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];for(let t of p)M(t,"active","inactive"),O(t),b(t);t&&d.emit("element:unhighlight",{nativeEvent:t})},P=t=>{let{target:e}=t;(!s||w(e))&&(s||g.has(e))&&(c>0?A():S())},R=()=>{S()};t.addEventListener("pointerover",j),t.addEventListener("pointerout",P),t.addEventListener("pointerleave",R);let T=t=>{let{nativeEvent:e}=t;e||S(!1)},Z=t=>{let{nativeEvent:e}=t;if(e)return;let{data:n}=t.data,r=lF(p,n,a);r&&j({target:r,nativeEvent:!1})};return d.on("element:highlight",Z),d.on("element:unhighlight",T),()=>{for(let e of(t.removeEventListener("pointerover",j),t.removeEventListener("pointerout",P),t.removeEventListener("pointerleave",R),d.off("element:highlight",Z),d.off("element:unhighlight",T),p))O(e),b(e)}}(h,Object.assign({elements:lw,datum:lP(c),groupKey:n?n(c):void 0,coordinate:d,scale:f,state:lZ(u,[["active",r?{}:{lineWidth:"1",stroke:"#000"}],"inactive"]),background:r,link:i,delay:e,emitter:l},a))}}function lV(t){return lq(Object.assign(Object.assign({},t),{createGroup:lE}))}function lY(t){return lq(Object.assign(Object.assign({},t),{createGroup:lS}))}lq.props={reapplyWhenUpdate:!0},lV.props={reapplyWhenUpdate:!0},lY.props={reapplyWhenUpdate:!0};var lU=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function lQ(t){var{createGroup:e,background:n=!1,link:r=!1}=t,i=lU(t,["createGroup","background","link"]);return(t,a,o)=>{let{container:l,view:s,options:c}=t,{coordinate:u,scale:f}=s,d=lM(l);return function(t,e){var n;let{elements:r,datum:i,groupKey:a=t=>t,link:o=!1,single:l=!1,coordinate:s,background:c=!1,scale:u,emitter:f,state:d={}}=e,h=r(t),p=new Set(h),g=(0,nB.ZP)(h,a),m=lL(h,i),[y,v]=lB(Object.assign({link:o,elements:h,valueof:m,coordinate:s},(0,nd.hB)(d.selected,"link"))),[b,x]=lN(Object.assign({document:t.ownerDocument,background:c,coordinate:s,scale:u,valueof:m},(0,nd.hB)(d.selected,"background"))),O=E(d,{selected:Object.assign({},(null===(n=d.selected)||void 0===n?void 0:n.offset)&&{transform:function(){for(var t=arguments.length,e=Array(t),n=0;n0)||void 0===arguments[0]||arguments[0];for(let t of h)_(t,"selected","unselected"),v(t),x(t);t&&f.emit("element:unselect",{nativeEvent:!0})},C=function(t,e){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(k(e,"selected"))M();else{let r=a(e),o=g.get(r),l=new Set(o);for(let t of h)l.has(t)?w(t,"selected"):(w(t,"unselected"),v(t)),t!==e&&x(t);if(y(o),b(e),!n)return;f.emit("element:select",Object.assign(Object.assign({},t),{nativeEvent:n,data:{data:[i(e),...o.map(i)]}}))}},j=function(t,e){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=a(e),l=g.get(r),s=new Set(l);if(k(e,"selected")){let t=h.some(t=>!s.has(t)&&k(t,"selected"));if(!t)return M();for(let t of l)w(t,"unselected"),v(t),x(t)}else{let t=l.some(t=>k(t,"selected"));for(let t of h)s.has(t)?w(t,"selected"):k(t,"selected")||w(t,"unselected");!t&&o&&y(l),b(e)}n&&f.emit("element:select",Object.assign(Object.assign({},t),{nativeEvent:n,data:{data:h.filter(t=>k(t,"selected")).map(i)}}))},A=t=>{let{target:e,nativeEvent:n=!0}=t;return p.has(e)?l?C(t,e,n):j(t,e,n):M()};t.addEventListener("click",A);let S=t=>{let{nativeEvent:e,data:n}=t;if(e)return;let r=l?n.data.slice(0,1):n.data;for(let t of r){let e=lF(h,t,i);A({target:e,nativeEvent:!1})}},P=()=>{M(!1)};return f.on("element:select",S),f.on("element:unselect",P),()=>{for(let t of h)v(t);t.removeEventListener("click",A),f.off("element:select",S),f.off("element:unselect",P)}}(d,Object.assign({elements:lw,datum:lP(s),groupKey:e?e(s):void 0,coordinate:u,scale:f,state:lZ(c,[["selected",n?{}:{lineWidth:"1",stroke:"#000"}],"unselected"]),background:n,link:r,emitter:o},i))}}function lK(t){return lQ(Object.assign(Object.assign({},t),{createGroup:lE}))}function lX(t){return lQ(Object.assign(Object.assign({},t),{createGroup:lS}))}lQ.props={reapplyWhenUpdate:!0},lK.props={reapplyWhenUpdate:!0},lX.props={reapplyWhenUpdate:!0};var lJ=function(t,e,n){var r,i,a,o,l=0;n||(n={});var s=function(){l=!1===n.leading?0:Date.now(),r=null,o=t.apply(i,a),r||(i=a=null)},c=function(){var c=Date.now();l||!1!==n.leading||(l=c);var u=e-(c-l);return i=this,a=arguments,u<=0||u>e?(r&&(clearTimeout(r),r=null),l=c,o=t.apply(i,a),r||(i=a=null)):r||!1===n.trailing||(r=setTimeout(s,u)),o};return c.cancel=function(){clearTimeout(r),l=0,r=i=a=null},c},l0=n(29173),l1=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function l2(t){var{wait:e=20,leading:n,trailing:r=!1,labelFormatter:i=t=>"".concat(t)}=t,a=l1(t,["wait","leading","trailing","labelFormatter"]);return t=>{let o;let{view:l,container:s,update:c,setState:u}=t,{markState:f,scale:d,coordinate:h}=l,p=function(t,e,n){let[r]=Array.from(t.entries()).filter(t=>{let[n]=t;return n.type===e}).map(t=>{let[e]=t,{encode:r}=e;return Object.fromEntries(n.map(t=>{let e=r[t];return[t,e?e.value:void 0]}))});return r}(f,"line",["x","y","series"]);if(!p)return;let{y:g,x:m,series:y=[]}=p,v=g.map((t,e)=>e),b=(0,oG.Z)(v.map(t=>m[t])),x=lM(s),O=s.getElementsByClassName(lm.Tt),w=s.getElementsByClassName(lm.fw),_=(0,nB.ZP)(w,t=>t.__data__.key.split("-")[0]),k=new nD.x1({style:Object.assign({x1:0,y1:0,x2:0,y2:x.getAttribute("height"),stroke:"black",lineWidth:1},(0,nd.hB)(a,"rule"))}),M=new nD.xv({style:Object.assign({x:0,y:x.getAttribute("height"),text:"",fontSize:10},(0,nd.hB)(a,"label"))});k.append(M),x.appendChild(k);let C=(t,e,n)=>{let[r]=t.invert(n),i=e.invert(r);return b[(0,oH.ZR)(b,i)]},j=(t,e)=>{k.setAttribute("x1",t[0]),k.setAttribute("x2",t[0]),M.setAttribute("text",i(e))},A=t=>{let{scale:e,coordinate:n}=o,{x:r,y:i}=e,a=C(n,r,t);for(let e of(j(t,a),O)){let{seriesIndex:t,key:r}=e.__data__,o=t[(0,l0.Z)(t=>m[+t]).center(t,a)],l=[0,i.map(1)],s=[0,i.map(g[o]/g[t[0]])],[,c]=n.map(l),[,u]=n.map(s),f=c-u;e.setAttribute("transform","translate(0, ".concat(f,")"));let d=_.get(r)||[];for(let t of d)t.setAttribute("dy",f)}},S=lJ(t=>{let e=lj(x,t);e&&A(e)},e,{leading:n,trailing:r});return(t=>{var e,n,r,i;return e=this,n=void 0,r=void 0,i=function*(){let{x:e}=d,n=C(h,e,t);j(t,n),u("chartIndex",t=>{let e=E({},t),r=e.marks.find(t=>"line"===t.type),i=(0,aE.Z)((0,nB.jJ)(v,t=>(0,aE.Z)(t,t=>+g[t])/(0,aS.Z)(t,t=>+g[t]),t=>y[t]).values());E(r,{scale:{y:{domain:[1/i,i]}}});let a=function(t){let{transform:e=[]}=t,n=e.find(t=>"normalizeY"===t.type);if(n)return n;let r={type:"normalizeY"};return e.push(r),t.transform=e,r}(r);for(let t of(a.groupBy="color",a.basis=(t,e)=>{let r=t[(0,l0.Z)(t=>m[+t]).center(t,n)];return e[r]},e.marks))t.animate=!1;return e});let r=yield c("chartIndex");o=r.view},new(r||(r=Promise))(function(t,a){function o(t){try{s(i.next(t))}catch(t){a(t)}}function l(t){try{s(i.throw(t))}catch(t){a(t)}}function s(e){var n;e.done?t(e.value):((n=e.value)instanceof r?n:new r(function(t){t(n)})).then(o,l)}s((i=i.apply(e,n||[])).next())})})([0,0]),x.addEventListener("pointerenter",S),x.addEventListener("pointermove",S),x.addEventListener("pointerleave",S),()=>{k.remove(),x.removeEventListener("pointerenter",S),x.removeEventListener("pointermove",S),x.removeEventListener("pointerleave",S)}}}l2.props={reapplyWhenUpdate:!0};var l5=n(18320),l3=n(71894),l4=n(21281),l6=n(8612);let l8={BEFORE_RENDER:"beforerender",AFTER_RENDER:"afterrender",BEFORE_PAINT:"beforepaint",AFTER_PAINT:"afterpaint",BEFORE_CHANGE_DATA:"beforechangedata",AFTER_CHANGE_DATA:"afterchangedata",BEFORE_CLEAR:"beforeclear",AFTER_CLEAR:"afterclear",BEFORE_DESTROY:"beforedestroy",AFTER_DESTROY:"afterdestroy",BEFORE_CHANGE_SIZE:"beforechangesize",AFTER_CHANGE_SIZE:"afterchangesize",POINTER_TAP:"pointertap",POINTER_DOWN:"pointerdown",POINTER_UP:"pointerup",POINTER_OVER:"pointerover",POINTER_OUT:"pointerout",POINTER_MOVE:"pointermove",POINTER_ENTER:"pointerenter",POINTER_LEAVE:"pointerleave",POINTER_UPOUTSIDE:"pointerupoutside",DRAG_START:"dragstart",DRAG:"drag",DRAG_END:"dragend",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"DROP",CLICK:"click",DBLCLICK:"dblclick"};function l7(t,e){let{__data__:n}=t,{markKey:r,index:i,seriesIndex:a}=n,{markState:o}=e,l=Array.from(o.keys()).find(t=>t.key===r);if(l)return a?a.map(t=>l.data[t]):l.data[i]}function l9(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t=>!0;return i=>{if(!r(i))return;n.emit("plot:".concat(t),i);let{target:a}=i;if(!a)return;let{className:o}=a;if("plot"===o)return;let l=lH(a,t=>"element"===t.className),s=lH(a,t=>"component"===t.className),c=lH(a,t=>"label"===t.className),u=l||s||c;if(!u)return;let{className:f,markType:d}=u,h=Object.assign(Object.assign({},i),{nativeEvent:!0});"element"===f?(h.data={data:l7(u,e)},n.emit("element:".concat(t),h),n.emit("".concat(d,":").concat(t),h)):"label"===f?(h.data={data:u.attributes.datum},n.emit("label:".concat(t),h),n.emit("".concat(o,":").concat(t),h)):(n.emit("component:".concat(t),h),n.emit("".concat(o,":").concat(t),h))}}function st(){return(t,e,n)=>{let{container:r,view:i}=t,a=l9(l8.CLICK,i,n,t=>1===t.detail),o=l9(l8.DBLCLICK,i,n,t=>2===t.detail),l=l9(l8.POINTER_TAP,i,n),s=l9(l8.POINTER_DOWN,i,n),c=l9(l8.POINTER_UP,i,n),u=l9(l8.POINTER_OVER,i,n),f=l9(l8.POINTER_OUT,i,n),d=l9(l8.POINTER_MOVE,i,n),h=l9(l8.POINTER_ENTER,i,n),p=l9(l8.POINTER_LEAVE,i,n),g=l9(l8.POINTER_UPOUTSIDE,i,n),m=l9(l8.DRAG_START,i,n),y=l9(l8.DRAG,i,n),v=l9(l8.DRAG_END,i,n),b=l9(l8.DRAG_ENTER,i,n),x=l9(l8.DRAG_LEAVE,i,n),O=l9(l8.DRAG_OVER,i,n),w=l9(l8.DROP,i,n);return r.addEventListener("click",a),r.addEventListener("click",o),r.addEventListener("pointertap",l),r.addEventListener("pointerdown",s),r.addEventListener("pointerup",c),r.addEventListener("pointerover",u),r.addEventListener("pointerout",f),r.addEventListener("pointermove",d),r.addEventListener("pointerenter",h),r.addEventListener("pointerleave",p),r.addEventListener("pointerupoutside",g),r.addEventListener("dragstart",m),r.addEventListener("drag",y),r.addEventListener("dragend",v),r.addEventListener("dragenter",b),r.addEventListener("dragleave",x),r.addEventListener("dragover",O),r.addEventListener("drop",w),()=>{r.removeEventListener("click",a),r.removeEventListener("click",o),r.removeEventListener("pointertap",l),r.removeEventListener("pointerdown",s),r.removeEventListener("pointerup",c),r.removeEventListener("pointerover",u),r.removeEventListener("pointerout",f),r.removeEventListener("pointermove",d),r.removeEventListener("pointerenter",h),r.removeEventListener("pointerleave",p),r.removeEventListener("pointerupoutside",g),r.removeEventListener("dragstart",m),r.removeEventListener("drag",y),r.removeEventListener("dragend",v),r.removeEventListener("dragenter",b),r.removeEventListener("dragleave",x),r.removeEventListener("dragover",O),r.removeEventListener("drop",w)}}}st.props={reapplyWhenUpdate:!0};var se=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function sn(t,e){if(e)return"string"==typeof e?document.querySelector(e):e;let n=t.ownerDocument.defaultView.getContextService().getDomElement();return n.parentElement}function sr(t){let{root:e,data:n,x:r,y:i,render:a,event:o,single:l,position:s="right-bottom",enterable:c=!1,css:u,mount:f,bounding:d}=t,h=sn(e,f),p=sn(e),g=l?p:e,m=d||function(t){let e=t.getRenderBounds(),{min:[n,r],max:[i,a]}=e;return{x:n,y:r,width:i-n,height:a-r}}(e),y=function(t,e){let n=t.getBoundingClientRect(),r=e.getBoundingClientRect();return{x:n.x-r.x,y:n.y-r.y}}(p,h),{tooltipElement:v=function(t,e,n,r,i,a,o){let l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},s=new l6.u({className:"tooltip",style:{x:e,y:n,container:o,data:[],bounding:a,position:r,enterable:i,title:"",offset:[10,10],template:{prefixCls:"g2-"},style:E({".g2-tooltip":{},".g2-tooltip-title":{overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},l)}});return t.appendChild(s.HTMLTooltipElement),s}(h,r,i,s,c,m,y,u)}=g,{items:b,title:x=""}=n;v.update(Object.assign({x:r,y:i,data:b,title:x,position:s,enterable:c},void 0!==a&&{content:a(o,{items:b,title:x})})),g.tooltipElement=v}function si(t){let{root:e,single:n,emitter:r,nativeEvent:i=!0,event:a=null}=t;i&&r.emit("tooltip:hide",{nativeEvent:i});let o=sn(e),l=n?o:e,{tooltipElement:s}=l;s&&s.hide(null==a?void 0:a.clientX,null==a?void 0:a.clientY)}function sa(t){let{root:e,single:n}=t,r=sn(e),i=n?r:e;if(!i)return;let{tooltipElement:a}=i;a&&(a.destroy(),i.tooltipElement=void 0)}function so(t){let{value:e}=t;return Object.assign(Object.assign({},t),{value:void 0===e?"undefined":e})}function sl(t){let e=t.getAttribute("fill"),n=t.getAttribute("stroke"),{__data__:r}=t,{color:i=e&&"transparent"!==e?e:n}=r;return i}function ss(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>t,n=new Map(t.map(t=>[e(t),t]));return Array.from(n.values())}function sc(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.map(t=>t.__data__),i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=t=>t instanceof Date?+t:t,o=ss(r.map(t=>t.title),a).filter(nd.ri),l=r.flatMap((r,a)=>{let o=t[a],{items:l=[],title:s}=r,c=l.filter(nd.ri),u=void 0!==n?n:l.length<=1;return c.map(t=>{var{color:n=sl(o)||i.color,name:a}=t,l=se(t,["color","name"]);let c=function(t,e){let{color:n,series:r,facet:i=!1}=t,{color:a,series:o}=e;if(r&&r.invert&&!(r instanceof eb)&&!(r instanceof eO)){let t=r.clone();return t.invert(o)}if(o&&r instanceof eb&&r.invert(o)!==a&&!i)return r.invert(o);if(n&&n.invert&&!(n instanceof eb)&&!(n instanceof eO)){let t=n.invert(a);return Array.isArray(t)?null:t}return null}(e,r);return Object.assign(Object.assign({},l),{color:n,name:(u?c||a:a||c)||s})})}).map(so);return Object.assign(Object.assign({},o.length>0&&{title:o.join(",")}),{items:ss(l,t=>"(".concat(a(t.name),", ").concat(a(t.value),", ").concat(a(t.color),")"))})}function su(t){t.ruleY&&(t.ruleY.remove(),t.ruleY=void 0)}function sf(t){t.ruleX&&(t.ruleX.remove(),t.ruleX=void 0)}function sd(t){t.markers&&(t.markers.forEach(t=>t.remove()),t.markers=[])}function sh(t,e){return Array.from(t.values()).some(t=>{var n;return null===(n=t.interaction)||void 0===n?void 0:n[e]})}function sp(t,e){return void 0===t?e:t}function sg(t){let{title:e,items:n}=t;return 0===n.length&&void 0===e}function sm(t,e){var{elements:n,sort:r,filter:i,scale:a,coordinate:o,crosshairs:l,crosshairsX:s,crosshairsY:c,render:u,groupName:f,emitter:d,wait:h=50,leading:p=!0,trailing:g=!1,startX:m=0,startY:y=0,body:v=!0,single:b=!0,position:x,enterable:O,mount:w,bounding:_,theme:k,disableNative:M=!1,marker:C=!0,preserve:j=!1,style:A={},css:S={}}=e,P=se(e,["elements","sort","filter","scale","coordinate","crosshairs","crosshairsX","crosshairsY","render","groupName","emitter","wait","leading","trailing","startX","startY","body","single","position","enterable","mount","bounding","theme","disableNative","marker","preserve","style","css"]);let R=n(t),T=z(o),Z=$(o),L=E(A,P),{innerWidth:B,innerHeight:I,width:N,height:D,insetLeft:F,insetTop:W}=o.getOptions(),H=[],G=[];for(let t of R){let{__data__:e}=t,{seriesX:n,title:r,items:i}=e;n?H.push(t):(r||i)&&G.push(t)}let q=!!a.x.getBandWidth,V=q&&G.length>0;H.sort((t,e)=>{let n=T?0:1,r=t=>t.getBounds().min[n];return T?r(e)-r(t):r(t)-r(e)});let Y=t=>{let e=T?1:0,{min:n,max:r}=t.getLocalBounds();return(0,oG.Z)([n[e],r[e]])};G.sort((t,e)=>{let[n,r]=Y(t),[i,a]=Y(e),o=(n+r)/2,l=(i+a)/2;return T?l-o:o-l});let U=new Map(H.map(t=>{let{__data__:e}=t,{seriesX:n}=e,r=n.map((t,e)=>e),i=(0,oG.Z)(r,t=>n[+t]);return[t,[i,n]]})),{x:Q}=a,X=(null==Q?void 0:Q.getBandWidth)?Q.getBandWidth()/2:0,te=t=>{let[e]=o.invert(t);return e-X},tn=(t,e,n)=>{let r=te(t),i=n.filter(nd.ri),[a,o]=(0,oG.Z)([i[0],i[i.length-1]]);if(!V&&(ro)&&a!==o)return null;let l=(0,l0.Z)(t=>n[+t]).center,s=l(e,r);return e[s]},tr=(t,e)=>{let n=T?1:0,r=t[n],i=e.filter(t=>{let[e,n]=Y(t);return r>=e&&r<=n});if(!V||i.length>0)return i;let a=(0,l0.Z)(t=>{let[e,n]=Y(t);return(e+n)/2}).center,o=a(e,r);return[e[o]].filter(nd.ri)},ti=(t,e)=>{let{__data__:n}=t;return Object.fromEntries(Object.entries(n).filter(t=>{let[e]=t;return e.startsWith("series")&&"series"!==e}).map(t=>{let[n,r]=t,i=r[e];return[(0,l4.Z)(n.replace("series","")),i]}))},ta=lJ(e=>{let n=lj(t,e);if(!n)return;let h=lC(t),p=h.min[0],g=h.min[1],M=[n[0]-m,n[1]-y];if(!M)return;let j=tr(M,G),A=[],E=[];for(let t of H){let[e,n]=U.get(t),r=tn(M,e,n);if(null!==r){A.push(t);let e=ti(t,r),{x:n,y:i}=e,a=o.map([(n||0)+X,i||0]);E.push([Object.assign(Object.assign({},e),{element:t}),a])}}let P=Array.from(new Set(E.map(t=>t[0].x))),R=P[(0,l5.Z)(P,t=>Math.abs(t-te(M)))],z=E.filter(t=>t[0].x===R),$=[...z.map(t=>t[0]),...j.map(t=>t.__data__)],q=[...A,...j],V=sc(q,a,f,$,k);if(r&&V.items.sort((t,e)=>r(t)-r(e)),i&&(V.items=V.items.filter(i)),0===q.length||sg(V)){to(e);return}if(v&&sr({root:t,data:V,x:n[0]+p,y:n[1]+g,render:u,event:e,single:b,position:x,enterable:O,mount:w,bounding:_,css:S}),l||s||c){let e=(0,nd.hB)(L,"crosshairs"),r=Object.assign(Object.assign({},e),(0,nd.hB)(L,"crosshairsX")),i=Object.assign(Object.assign({},e),(0,nd.hB)(L,"crosshairsY")),a=z.map(t=>t[1]);s&&function(t,e,n,r){var{plotWidth:i,plotHeight:a,mainWidth:o,mainHeight:l,startX:s,startY:c,transposed:u,polar:f,insetLeft:d,insetTop:h}=r,p=se(r,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);let g=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},p),m=((t,e)=>{if(1===e.length)return e[0];let n=e.map(e=>J(e,t)),r=(0,l5.Z)(n,t=>t);return e[r]})(n,e);if(f){let[e,n,r]=(()=>{let t=s+d+o/2,e=c+h+l/2,n=J([t,e],m);return[t,e,n]})(),i=t.ruleX||((e,n,r)=>{let i=new nD.Cd({style:Object.assign({cx:e,cy:n,r},g)});return t.appendChild(i),i})(e,n,r);i.style.cx=e,i.style.cy=n,i.style.r=r,t.ruleX=i}else{let[e,n,r,o]=u?[s+m[0],s+m[0],c,c+a]:[s,s+i,m[1]+c,m[1]+c],l=t.ruleX||((e,n,r,i)=>{let a=new nD.x1({style:Object.assign({x1:e,x2:n,y1:r,y2:i},g)});return t.appendChild(a),a})(e,n,r,o);l.style.x1=e,l.style.x2=n,l.style.y1=r,l.style.y2=o,t.ruleX=l}}(t,a,n,Object.assign(Object.assign({},r),{plotWidth:B,plotHeight:I,mainWidth:N,mainHeight:D,insetLeft:F,insetTop:W,startX:m,startY:y,transposed:T,polar:Z})),c&&function(t,e,n){var{plotWidth:r,plotHeight:i,mainWidth:a,mainHeight:o,startX:l,startY:s,transposed:c,polar:u,insetLeft:f,insetTop:d}=n,h=se(n,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);let p=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},h),g=e.map(t=>t[1]),m=e.map(t=>t[0]),y=(0,l3.Z)(g),v=(0,l3.Z)(m),[b,x,O,w]=(()=>{if(u){let t=Math.min(a,o)/2,e=l+f+a/2,n=s+d+o/2,r=tt(K([v,y],[e,n])),i=e+t*Math.cos(r),c=n+t*Math.sin(r);return[e,i,n,c]}return c?[l,l+r,y+s,y+s]:[v+l,v+l,s,s+i]})();if(m.length>0){let e=t.ruleY||(()=>{let e=new nD.x1({style:Object.assign({x1:b,x2:x,y1:O,y2:w},p)});return t.appendChild(e),e})();e.style.x1=b,e.style.x2=x,e.style.y1=O,e.style.y2=w,t.ruleY=e}}(t,a,Object.assign(Object.assign({},i),{plotWidth:B,plotHeight:I,mainWidth:N,mainHeight:D,insetLeft:F,insetTop:W,startX:m,startY:y,transposed:T,polar:Z}))}if(C){let e=(0,nd.hB)(L,"marker");!function(t,e){let{data:n,style:r,theme:i}=e;t.markers&&t.markers.forEach(t=>t.remove());let a=n.filter(t=>{let[{x:e,y:n}]=t;return(0,nd.ri)(e)&&(0,nd.ri)(n)}).map(t=>{let[{color:e,element:n},a]=t,o=e||n.style.fill||n.style.stroke||i.color,l=new nD.Cd({style:Object.assign({cx:a[0],cy:a[1],fill:o,r:4,stroke:"#fff",lineWidth:2},r)});return l});for(let e of a)t.appendChild(e);t.markers=a}(t,{data:z,style:e,theme:k})}d.emit("tooltip:show",Object.assign(Object.assign({},e),{nativeEvent:!0,data:{data:{x:oV(a.x,te(M),!0)}}}))},h,{leading:p,trailing:g}),to=e=>{si({root:t,single:b,emitter:d,event:e}),l&&(su(t),sf(t)),C&&sd(t)},tl=()=>{sa({root:t,single:b}),l&&(su(t),sf(t)),C&&sd(t)},ts=e=>{let{nativeEvent:n,data:r}=e;if(n)return;let{x:i}=r.data,{x:l}=a,s=l.map(i),[c,u]=o.map([s,.5]),{min:[f,d]}=t.getRenderBounds();ta({offsetX:c+f,offsetY:u+d})},tc=()=>{si({root:t,single:b,emitter:d,nativeEvent:!1})},tu=()=>{th(),tl()},tf=()=>{td()},td=()=>{M||(t.addEventListener("pointerenter",ta),t.addEventListener("pointermove",ta),t.addEventListener("pointerleave",to))},th=()=>{M||(t.removeEventListener("pointerenter",ta),t.removeEventListener("pointermove",ta),t.removeEventListener("pointerleave",to))};return td(),d.on("tooltip:show",ts),d.on("tooltip:hide",tc),d.on("tooltip:disable",tu),d.on("tooltip:enable",tf),()=>{th(),d.off("tooltip:show",ts),d.off("tooltip:hide",tc),d.off("tooltip:disable",tu),d.off("tooltip:enable",tf),j?si({root:t,single:b,emitter:d,nativeEvent:!1}):tl()}}function sy(t){let{shared:e,crosshairs:n,crosshairsX:r,crosshairsY:i,series:a,name:o,item:l=()=>({}),facet:s=!1}=t,c=se(t,["shared","crosshairs","crosshairsX","crosshairsY","series","name","item","facet"]);return(t,o,u)=>{let{container:f,view:d}=t,{scale:h,markState:p,coordinate:g,theme:m}=d,y=sh(p,"seriesTooltip"),v=sh(p,"crosshairs"),b=lM(f),x=sp(a,y),O=sp(n,v);if(x&&Array.from(p.values()).some(t=>{var e;return(null===(e=t.interaction)||void 0===e?void 0:e.seriesTooltip)&&t.tooltip})&&!s)return sm(b,Object.assign(Object.assign({},c),{theme:m,elements:lw,scale:h,coordinate:g,crosshairs:O,crosshairsX:sp(sp(r,n),!1),crosshairsY:sp(i,O),item:l,emitter:u}));if(x&&s){let e=o.filter(e=>e!==t&&e.options.parentKey===t.options.key),a=l_(t,o),s=e[0].view.scale,f=b.getBounds(),d=f.min[0],h=f.min[1];return Object.assign(s,{facet:!0}),sm(b.parentNode.parentNode,Object.assign(Object.assign({},c),{theme:m,elements:()=>a,scale:s,coordinate:g,crosshairs:sp(n,v),crosshairsX:sp(sp(r,n),!1),crosshairsY:sp(i,O),item:l,startX:d,startY:h,emitter:u}))}return function(t,e){let{elements:n,coordinate:r,scale:i,render:a,groupName:o,sort:l,filter:s,emitter:c,wait:u=50,leading:f=!0,trailing:d=!1,groupKey:h=t=>t,single:p=!0,position:g,enterable:m,datum:y,view:v,mount:b,bounding:x,theme:O,shared:w=!1,body:_=!0,disableNative:k=!1,preserve:M=!1,css:C={}}=e,j=n(t),A=(0,nB.ZP)(j,h),S=j.every(t=>"interval"===t.markType)&&!$(r),E=t=>t.__data__.x,P=i.x;S&&j.sort((t,e)=>E(t)-E(e));let R=S?e=>{let n=lj(t,e);if(!n)return;let i=(null==P?void 0:P.getBandWidth)?P.getBandWidth()/2:0,[a]=r.invert(n),o=(0,l0.Z)(E).center,l=o(j,a-i);return j[l]}:t=>{let{target:e}=t;return lH(e,t=>!!t.classList&&t.classList.includes("element"))},T=lJ(e=>{let n=R(e);if(!n){si({root:t,single:p,emitter:c,event:e});return}let r=h(n),u=A.get(r);if(!u)return;let f=1!==u.length||w?sc(u,i,o,void 0,O):function(t){let{__data__:e}=t,{title:n,items:r=[]}=e,i=r.filter(nd.ri).map(e=>{var{color:n=sl(t)}=e;return Object.assign(Object.assign({},se(e,["color"])),{color:n})}).map(so);return Object.assign(Object.assign({},n&&{title:n}),{items:i})}(u[0]);if(l&&f.items.sort((t,e)=>l(t)-l(e)),s&&(f.items=f.items.filter(s)),sg(f)){si({root:t,single:p,emitter:c,event:e});return}let{offsetX:d,offsetY:y}=e;_&&sr({root:t,data:f,x:d,y:y,render:a,event:e,single:p,position:g,enterable:m,mount:b,bounding:x,css:C}),c.emit("tooltip:show",Object.assign(Object.assign({},e),{nativeEvent:!0,data:{data:l7(n,v)}}))},u,{leading:f,trailing:d}),Z=e=>{si({root:t,single:p,emitter:c,event:e})},L=()=>{k||(t.addEventListener("pointermove",T),t.addEventListener("pointerleave",Z))},B=()=>{k||(t.removeEventListener("pointermove",T),t.removeEventListener("pointerleave",Z))},I=t=>{let{nativeEvent:e,data:n}=t;if(e)return;let r=lF(j,n.data,y);if(!r)return;let i=r.getBBox(),{x:a,y:o,width:l,height:s}=i;T({target:r,offsetX:a+l/2,offsetY:o+s/2})},N=function(){let{nativeEvent:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e||si({root:t,single:p,emitter:c,nativeEvent:!1})};return c.on("tooltip:show",I),c.on("tooltip:hide",N),c.on("tooltip:enable",()=>{L()}),c.on("tooltip:disable",()=>{B(),sa({root:t,single:p})}),L(),()=>{B(),c.off("tooltip:show",I),c.off("tooltip:hide",N),M?si({root:t,single:p,emitter:c,nativeEvent:!1}):sa({root:t,single:p})}}(b,Object.assign(Object.assign({},c),{datum:lP(d),elements:lw,scale:h,coordinate:g,groupKey:e?lE(d):void 0,item:l,emitter:u,view:d,theme:m,shared:e}))}}sy.props={reapplyWhenUpdate:!0};var sv=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})};let sb="legend-category";function sx(t){return t.getElementsByClassName("legend-category-item-marker")[0]}function sO(t){return t.getElementsByClassName("legend-category-item-label")[0]}function sw(t){return t.getElementsByClassName("items-item")}function s_(t){return t.getElementsByClassName(sb)}function sk(t){return t.getElementsByClassName("legend-continuous")}function sM(t){let e=t.parentNode;for(;e&&!e.__data__;)e=e.parentNode;return e.__data__}function sC(t,e){let{legend:n,channel:r,value:i,ordinal:a,channels:o,allChannels:l,facet:s=!1}=e;return sv(this,void 0,void 0,function*(){let{view:e,update:c,setState:u}=t;u(n,t=>{let{marks:n}=t,c=n.map(t=>{if("legends"===t.type)return t;let{transform:n=[]}=t,c=n.findIndex(t=>{let{type:e}=t;return e.startsWith("group")||e.startsWith("bin")}),u=[...n];u.splice(c+1,0,{type:"filter",[r]:{value:i,ordinal:a}});let f=Object.fromEntries(o.map(t=>[t,{domain:e.scale[t].getOptions().domain}]));return E({},t,Object.assign(Object.assign({transform:u,scale:f},!a&&{animate:!1}),{legend:!s&&Object.fromEntries(l.map(t=>[t,{preserve:!0}]))}))});return Object.assign(Object.assign({},t),{marks:c})}),yield c()})}function sj(t,e){for(let n of t)sC(n,Object.assign(Object.assign({},e),{facet:!0}))}var sA=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function sS(t,e){for(let[n,r]of Object.entries(e))t.style(n,r)}let sE=nF(t=>{let e=t.attributes,{x:n,y:r,width:i,height:a,class:o,renders:l={},handleSize:s=10,document:c}=e,u=sA(e,["x","y","width","height","class","renders","handleSize","document"]);if(!c||void 0===i||void 0===a||void 0===n||void 0===r)return;let f=s/2,d=(t,e,n)=>{t.handle||(t.handle=n.createElement("rect"),t.append(t.handle));let{handle:r}=t;return r.attr(e),r},h=(0,nd.hB)((0,nd.C7)(u,"handleNW","handleNE"),"handleN"),{render:p=d}=h,g=sA(h,["render"]),m=(0,nd.hB)(u,"handleE"),{render:y=d}=m,v=sA(m,["render"]),b=(0,nd.hB)((0,nd.C7)(u,"handleSE","handleSW"),"handleS"),{render:x=d}=b,O=sA(b,["render"]),w=(0,nd.hB)(u,"handleW"),{render:_=d}=w,k=sA(w,["render"]),M=(0,nd.hB)(u,"handleNW"),{render:C=d}=M,j=sA(M,["render"]),A=(0,nd.hB)(u,"handleNE"),{render:S=d}=A,E=sA(A,["render"]),P=(0,nd.hB)(u,"handleSE"),{render:R=d}=P,T=sA(P,["render"]),Z=(0,nd.hB)(u,"handleSW"),{render:L=d}=Z,B=sA(Z,["render"]),I=(t,e)=>{let{id:n}=t,r=e(t,t.attributes,c);r.id=n,r.style.draggable=!0},N=t=>()=>{let e=nF(e=>I(e,t));return new e({})},D=(0,Q.F)(t).attr("className",o).style("transform","translate(".concat(n,", ").concat(r,")")).style("draggable",!0);D.maybeAppend("selection","rect").style("draggable",!0).style("fill","transparent").call(sS,Object.assign(Object.assign({width:i,height:a},(0,nd.C7)(u,"handle")),{transform:void 0})),D.maybeAppend("handle-n",N(p)).style("x",f).style("y",-f).style("width",i-s).style("height",s).style("fill","transparent").call(sS,g),D.maybeAppend("handle-e",N(y)).style("x",i-f).style("y",f).style("width",s).style("height",a-s).style("fill","transparent").call(sS,v),D.maybeAppend("handle-s",N(x)).style("x",f).style("y",a-f).style("width",i-s).style("height",s).style("fill","transparent").call(sS,O),D.maybeAppend("handle-w",N(_)).style("x",-f).style("y",f).style("width",s).style("height",a-s).style("fill","transparent").call(sS,k),D.maybeAppend("handle-nw",N(C)).style("x",-f).style("y",-f).style("width",s).style("height",s).style("fill","transparent").call(sS,j),D.maybeAppend("handle-ne",N(S)).style("x",i-f).style("y",-f).style("width",s).style("height",s).style("fill","transparent").call(sS,E),D.maybeAppend("handle-se",N(R)).style("x",i-f).style("y",a-f).style("width",s).style("height",s).style("fill","transparent").call(sS,T),D.maybeAppend("handle-sw",N(L)).style("x",-f).style("y",a-f).style("width",s).style("height",s).style("fill","transparent").call(sS,B)});function sP(t,e){var{brushed:n=()=>{},brushended:r=()=>{},brushcreated:i=()=>{},brushstarted:a=()=>{},brushupdated:o=()=>{},extent:l=function(t){let{width:e,height:n}=t.getBBox();return[0,0,e,n]}(t),brushRegion:s=(t,e,n,r,i)=>[t,e,n,r],reverse:c=!1,fill:u="#777",fillOpacity:f="0.3",stroke:d="#fff",selectedHandles:h=["handle-n","handle-e","handle-s","handle-w","handle-nw","handle-ne","handle-se","handle-sw"]}=e,p=sA(e,["brushed","brushended","brushcreated","brushstarted","brushupdated","extent","brushRegion","reverse","fill","fillOpacity","stroke","selectedHandles"]);let g=null,m=null,y=null,v=null,b=null,x=!1,[O,w,_,k]=l;lD(t,"crosshair"),t.style.draggable=!0;let M=(t,e,n)=>{if(a(n),v&&v.remove(),b&&b.remove(),g=[t,e],c)return C();j()},C=()=>{b=new nD.y$({style:Object.assign(Object.assign({},p),{fill:u,fillOpacity:f,stroke:d,pointerEvents:"none"})}),v=new sE({style:{x:0,y:0,width:0,height:0,draggable:!0,document:t.ownerDocument},className:"mask"}),t.appendChild(b),t.appendChild(v)},j=()=>{v=new sE({style:Object.assign(Object.assign({document:t.ownerDocument,x:0,y:0},p),{fill:u,fillOpacity:f,stroke:d,draggable:!0}),className:"mask"}),t.appendChild(v)},A=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];v&&v.remove(),b&&b.remove(),g=null,m=null,y=null,x=!1,v=null,b=null,r(t)},S=function(t,e){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],[i,a,o,u]=function(t,e,n,r,i){let[a,o,l,s]=i;return[Math.max(a,Math.min(t,n)),Math.max(o,Math.min(e,r)),Math.min(l,Math.max(t,n)),Math.min(s,Math.max(e,r))]}(t[0],t[1],e[0],e[1],l),[f,d,h,p]=s(i,a,o,u,l);return c?P(f,d,h,p):E(f,d,h,p),n(f,d,h,p,r),[f,d,h,p]},E=(t,e,n,r)=>{v.style.x=t,v.style.y=e,v.style.width=n-t,v.style.height=r-e},P=(t,e,n,r)=>{b.style.d="\n M".concat(O,",").concat(w,"L").concat(_,",").concat(w,"L").concat(_,",").concat(k,"L").concat(O,",").concat(k,"Z\n M").concat(t,",").concat(e,"L").concat(t,",").concat(r,"L").concat(n,",").concat(r,"L").concat(n,",").concat(e,"Z\n "),v.style.x=t,v.style.y=e,v.style.width=n-t,v.style.height=r-e},R=t=>{let e=(t,e,n,r,i)=>t+ei?i-n:t,n=t[0]-y[0],r=t[1]-y[1],i=e(n,g[0],m[0],O,_),a=e(r,g[1],m[1],w,k),o=[g[0]+i,g[1]+a],l=[m[0]+i,m[1]+a];S(o,l)},T={"handle-n":{vector:[0,1,0,0],cursor:"ns-resize"},"handle-e":{vector:[0,0,1,0],cursor:"ew-resize"},"handle-s":{vector:[0,0,0,1],cursor:"ns-resize"},"handle-w":{vector:[1,0,0,0],cursor:"ew-resize"},"handle-nw":{vector:[1,1,0,0],cursor:"nwse-resize"},"handle-ne":{vector:[0,1,1,0],cursor:"nesw-resize"},"handle-se":{vector:[0,0,1,1],cursor:"nwse-resize"},"handle-sw":{vector:[1,0,0,1],cursor:"nesw-resize"}},Z=t=>B(t)||L(t),L=t=>{let{id:e}=t;return -1!==h.indexOf(e)&&new Set(Object.keys(T)).has(e)},B=t=>t===v.getElementById("selection"),I=e=>{let{target:n}=e,[r,i]=lA(t,e);if(!v||!Z(n)){M(r,i,e),x=!0;return}Z(n)&&(y=[r,i])},N=e=>{let{target:n}=e,r=lA(t,e);if(!g)return;if(!y)return S(g,r);if(B(n))return R(r);let[i,a]=[r[0]-y[0],r[1]-y[1]],{id:o}=n;if(T[o]){let[t,e,n,r]=T[o].vector;return S([g[0]+i*t,g[1]+a*e],[m[0]+i*n,m[1]+a*r])}},D=e=>{if(y){y=null;let{x:t,y:n,width:r,height:i}=v.style;g=[t,n],m=[t+r,n+i],o(t,n,t+r,n+i,e);return}m=lA(t,e);let[n,r,a,l]=S(g,m);x=!1,i(n,r,a,l,e)},F=t=>{let{target:e}=t;v&&!Z(e)&&A()},z=e=>{let{target:n}=e;v&&Z(n)&&!x?B(n)?lD(t,"move"):L(n)&&lD(t,T[n.id].cursor):lD(t,"crosshair")},$=()=>{lD(t,"default")};return t.addEventListener("dragstart",I),t.addEventListener("drag",N),t.addEventListener("dragend",D),t.addEventListener("click",F),t.addEventListener("pointermove",z),t.addEventListener("pointerleave",$),{mask:v,move(t,e,n,r){let i=!(arguments.length>4)||void 0===arguments[4]||arguments[4];v||M(t,e,{}),g=[t,e],m=[n,r],S([t,e],[n,r],i)},remove(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];v&&A(t)},destroy(){v&&A(!1),lD(t,"default"),t.removeEventListener("dragstart",I),t.removeEventListener("drag",N),t.removeEventListener("dragend",D),t.removeEventListener("click",F),t.removeEventListener("pointermove",z),t.removeEventListener("pointerleave",$)}}}function sR(t,e,n){return e.filter(e=>{if(e===t)return!1;let{interaction:r={}}=e.options;return Object.values(r).find(t=>t.brushKey===n)})}function sT(t,e){var{elements:n,selectedHandles:r,siblings:i=t=>[],datum:a,brushRegion:o,extent:l,reverse:s,scale:c,coordinate:u,series:f=!1,key:d=t=>t,bboxOf:h=t=>{let{x:e,y:n,width:r,height:i}=t.style;return{x:e,y:n,width:r,height:i}},state:p={},emitter:g}=e,m=sA(e,["elements","selectedHandles","siblings","datum","brushRegion","extent","reverse","scale","coordinate","series","key","bboxOf","state","emitter"]);let y=n(t),v=i(t),b=v.flatMap(n),x=lL(y,a),O=(0,nd.hB)(m,"mask"),{setState:w,removeState:_}=lR(p,x),k=new Map,{width:M,height:C,x:j=0,y:A=0}=h(t),S=()=>{for(let t of[...y,...b])_(t,"active","inactive")},E=(t,e,n,r)=>{var i;for(let t of v)null===(i=t.brush)||void 0===i||i.remove();let a=new Set;for(let i of y){let{min:o,max:l}=i.getLocalBounds(),[s,c]=o,[u,f]=l;!function(t,e){let[n,r,i,a]=t,[o,l,s,c]=e;return!(o>i||sa||c{for(let t of y)_(t,"inactive");for(let t of k.values())t.remove();k.clear()},R=(e,n,r,i)=>{let a=t=>{let e=t.cloneNode();return e.__data__=t.__data__,t.parentNode.appendChild(e),k.set(t,e),e},o=new nD.UL({style:{x:e+j,y:n+A,width:r-e,height:i-n}});for(let e of(t.appendChild(o),y)){let t=k.get(e)||a(e);t.style.clipPath=o,w(e,"inactive"),w(t,"active")}},T=sP(t,Object.assign(Object.assign({},O),{extent:l||[0,0,M,C],brushRegion:o,reverse:s,selectedHandles:r,brushended:t=>{let e=f?P:S;t&&g.emit("brush:remove",{nativeEvent:!0}),e()},brushed:(t,e,n,r,i)=>{let a=oU(t,e,n,r,c,u);i&&g.emit("brush:highlight",{nativeEvent:!0,data:{selection:a}});let o=f?R:E;o(t,e,n,r)},brushcreated:(t,e,n,r,i)=>{let a=oU(t,e,n,r,c,u);g.emit("brush:end",Object.assign(Object.assign({},i),{nativeEvent:!0,data:{selection:a}}))},brushupdated:(t,e,n,r,i)=>{let a=oU(t,e,n,r,c,u);g.emit("brush:end",Object.assign(Object.assign({},i),{nativeEvent:!0,data:{selection:a}}))},brushstarted:t=>{g.emit("brush:start",t)}})),Z=t=>{let{nativeEvent:e,data:n}=t;if(e)return;let{selection:r}=n,[i,a,o,l]=function(t,e,n){let{x:r,y:i}=e,[a,o]=t,l=oQ(a,r),s=oQ(o,i),c=[l[0],s[0]],u=[l[1],s[1]],[f,d]=n.map(c),[h,p]=n.map(u);return[f,d,h,p]}(r,c,u);T.move(i,a,o,l,!1)};g.on("brush:highlight",Z);let L=function(){let{nativeEvent:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t||T.remove(!1)};g.on("brush:remove",L);let B=T.destroy.bind(T);return T.destroy=()=>{g.off("brush:highlight",Z),g.off("brush:remove",L),B()},T}function sZ(t){var{facet:e,brushKey:n}=t,r=sA(t,["facet","brushKey"]);return(t,i,a)=>{let{container:o,view:l,options:s}=t,c=lM(o),u={maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",reverse:!1},f=["active",["inactive",{opacity:.5}]],{scale:d,coordinate:h}=l;if(e){let e=c.getBounds(),n=e.min[0],o=e.min[1],l=e.max[0],s=e.max[1];return sT(c.parentNode.parentNode,Object.assign(Object.assign({elements:()=>l_(t,i),datum:lP(lk(t,i).map(t=>t.view)),brushRegion:(t,e,n,r)=>[t,e,n,r],extent:[n,o,l,s],state:lZ(lk(t,i).map(t=>t.options),f),emitter:a,scale:d,coordinate:h,selectedHandles:void 0},u),r))}let p=sT(c,Object.assign(Object.assign({elements:lw,key:t=>t.__data__.key,siblings:()=>sR(t,i,n).map(t=>lM(t.container)),datum:lP([l,...sR(t,i,n).map(t=>t.view)]),brushRegion:(t,e,n,r)=>[t,e,n,r],extent:void 0,state:lZ([s,...sR(t,i,n).map(t=>t.options)],f),emitter:a,scale:d,coordinate:h,selectedHandles:void 0},u),r));return c.brush=p,()=>p.destroy()}}function sL(t,e,n,r,i){let[,a,,o]=i;return[t,a,n,o]}function sB(t,e,n,r,i){let[a,,o]=i;return[a,e,o,r]}var sI=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let sN="axis-hot-area";function sD(t){return t.getElementsByClassName("axis")}function sF(t){return t.getElementsByClassName("axis-line")[0]}function sz(t){return t.getElementsByClassName("axis-main-group")[0].getLocalBounds()}function s$(t,e){var{cross:n,offsetX:r,offsetY:i}=e,a=sI(e,["cross","offsetX","offsetY"]);let o=sz(t),l=sF(t),[s]=l.getLocalBounds().min,[c,u]=o.min,[f,d]=o.max,h=(f-c)*2;return{brushRegion:sB,hotZone:new nD.UL({className:sN,style:Object.assign({width:n?h/2:h,transform:"translate(".concat((n?c:s-h/2).toFixed(2),", ").concat(u,")"),height:d-u},a)}),extent:n?(t,e,n,r)=>[-1/0,e,1/0,r]:(t,e,n,i)=>[Math.floor(c-r),e,Math.ceil(f-r),i]}}function sW(t,e){var{offsetY:n,offsetX:r,cross:i=!1}=e,a=sI(e,["offsetY","offsetX","cross"]);let o=sz(t),l=sF(t),[,s]=l.getLocalBounds().min,[c,u]=o.min,[f,d]=o.max,h=d-u;return{brushRegion:sL,hotZone:new nD.UL({className:sN,style:Object.assign({width:f-c,height:i?h:2*h,transform:"translate(".concat(c,", ").concat(i?u:s-h,")")},a)}),extent:i?(t,e,n,r)=>[t,-1/0,n,1/0]:(t,e,r,i)=>[t,Math.floor(u-n),r,Math.ceil(d-n)]}}var sH=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function sG(t){var{hideX:e=!0,hideY:n=!0}=t,r=sH(t,["hideX","hideY"]);return(t,i,a)=>{let{container:o,view:l,options:s,update:c,setState:u}=t,f=lM(o),d=!1,h=!1,p=l,{scale:g,coordinate:m}=l;return function(t,e){var{filter:n,reset:r,brushRegion:i,extent:a,reverse:o,emitter:l,scale:s,coordinate:c,selection:u,series:f=!1}=e,d=sH(e,["filter","reset","brushRegion","extent","reverse","emitter","scale","coordinate","selection","series"]);let h=(0,nd.hB)(d,"mask"),{width:p,height:g}=t.getBBox(),m=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300,e=null;return n=>{let{timeStamp:r}=n;return null!==e&&r-e{let{nativeEvent:e,data:r}=t;if(e)return;let{selection:i}=r;n(i,{nativeEvent:!1})};return l.on("brush:filter",b),()=>{y.destroy(),l.off("brush:filter",b),t.removeEventListener("click",v)}}(f,Object.assign(Object.assign({brushRegion:(t,e,n,r)=>[t,e,n,r],selection:(t,e,n,r)=>{let{scale:i,coordinate:a}=p;return oU(t,e,n,r,i,a)},filter:(t,r)=>{var i,o,l,f;return i=this,o=void 0,l=void 0,f=function*(){if(h)return;h=!0;let[i,o]=t;u("brushFilter",t=>{let{marks:r}=t,a=r.map(t=>E({axis:Object.assign(Object.assign({},e&&{x:{transform:[{type:"hide"}]}}),n&&{y:{transform:[{type:"hide"}]}})},t,{scale:{x:{domain:i,nice:!1},y:{domain:o,nice:!1}}}));return Object.assign(Object.assign({},s),{marks:a,clip:!0})}),a.emit("brush:filter",Object.assign(Object.assign({},r),{data:{selection:[i,o]}}));let l=yield c();p=l.view,h=!1,d=!0},new(l||(l=Promise))(function(t,e){function n(t){try{a(f.next(t))}catch(t){e(t)}}function r(t){try{a(f.throw(t))}catch(t){e(t)}}function a(e){var i;e.done?t(e.value):((i=e.value)instanceof l?i:new l(function(t){t(i)})).then(n,r)}a((f=f.apply(i,o||[])).next())})},reset:t=>{if(h||!d)return;let{scale:e}=l,{x:n,y:r}=e,i=n.getOptions().domain,o=r.getOptions().domain;a.emit("brush:filter",Object.assign(Object.assign({},t),{data:{selection:[i,o]}})),d=!1,p=l,u("brushFilter"),c()},extent:void 0,emitter:a,scale:g,coordinate:m},{maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",unhighlightedOpacity:.5,reverse:!1}),r))}}var sq=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})};function sV(t){return[t[0],t[t.length-1]]}function sY(t){let{initDomain:e={},className:n="slider",prefix:r="slider",setValue:i=(t,e)=>t.setValues(e),hasState:a=!1,wait:o=50,leading:l=!0,trailing:s=!1,getInitValues:c=t=>{var e;let n=null===(e=null==t?void 0:t.attributes)||void 0===e?void 0:e.values;if(0!==n[0]||1!==n[1])return n}}=t;return(t,u,f)=>{let{container:d,view:h,update:p,setState:g}=t,m=d.getElementsByClassName(n);if(!m.length)return()=>{};let y=!1,{scale:v,coordinate:b,layout:x}=h,{paddingLeft:O,paddingTop:w,paddingBottom:_,paddingRight:k}=x,{x:M,y:C}=v,j=z(b),A=t=>{let e="vertical"===t?"y":"x",n="vertical"===t?"x":"y";return j?[n,e]:[e,n]},S=new Map,P=new Set,R={x:e.x||M.getOptions().domain,y:e.y||C.getOptions().domain};for(let t of m){let{orientation:e}=t.attributes,[n,u]=A(e),d="".concat(r).concat(os(n),":filter"),h="x"===n,{ratio:m}=M.getOptions(),{ratio:b}=C.getOptions(),x=t=>{if(t.data){let{selection:e}=t.data,[n=sV(R.x),r=sV(R.y)]=e;return h?[oY(M,n,m),oY(C,r,b)]:[oY(C,r,b),oY(M,n,m)]}let{value:r}=t.detail,i=v[n],a=function(t,e,n){let[r,i]=t,a=n?t=>1-t:t=>t,o=oV(e,a(r),!0),l=oV(e,a(i),!1);return oY(e,[o,l])}(r,i,j&&"horizontal"===e),o=R[u];return[a,o]},T=lJ(e=>sq(this,void 0,void 0,function*(){let{initValue:i=!1}=e;if(y&&!i)return;y=!0;let{nativeEvent:o=!0}=e,[l,s]=x(e);if(R[n]=l,R[u]=s,o){let t=h?l:s,n=h?s:l;f.emit(d,Object.assign(Object.assign({},e),{nativeEvent:o,data:{selection:[sV(t),sV(n)]}}))}g(t,t=>Object.assign(Object.assign({},function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"x",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"y",{marks:o}=t,l=o.map(t=>{var o,l;return E({axis:{x:{transform:[{type:"hide"}]},y:{transform:[{type:"hide"}]}}},t,{scale:e,[n]:Object.assign(Object.assign({},(null===(o=t[n])||void 0===o?void 0:o[i])&&{[i]:Object.assign({preserve:!0},r&&{ratio:null})}),(null===(l=t[n])||void 0===l?void 0:l[a])&&{[a]:{preserve:!0}}),animate:!1})});return Object.assign(Object.assign({},t),{marks:l,clip:!0,animate:!1})}(t,{[n]:{domain:l,nice:!1}},r,a,n,u)),{paddingLeft:O,paddingTop:w,paddingBottom:_,paddingRight:k})),yield p(),y=!1}),o,{leading:l,trailing:s}),Z=e=>{let{nativeEvent:n}=e;if(n)return;let{data:r}=e,{selection:a}=r,[o,l]=a;t.dispatchEvent(new nD.Aw("valuechange",{data:r,nativeEvent:!1}));let s=h?oQ(o,M):oQ(l,C);i(t,s)};f.on(d,Z),t.addEventListener("valuechange",T),S.set(t,T),P.add([d,Z]);let L=c(t);L&&t.dispatchEvent(new nD.Aw("valuechange",{detail:{value:L},nativeEvent:!1,initValue:!0}))}return p(),()=>{for(let[t,e]of S)t.removeEventListener("valuechange",e);for(let[t,e]of P)f.off(t,e)}}}let sU="g2-scrollbar";function sQ(t){return t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()})}var sK=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let sX={backgroundColor:"rgba(0,0,0,0.75)",color:"#fff",width:"max-content",padding:"1px 4px",fontSize:"12px",borderRadius:"2.5px",boxShadow:"0 3px 6px -4px rgba(0,0,0,0.12), 0 6px 16px 0 rgba(0,0,0,0.08), 0 9px 28px 8px rgba(0,0,0,0.05)"};function sJ(t){return"text"===t.nodeName&&!!t.isOverflowing()}function s0(t){var{offsetX:e=8,offsetY:n=8}=t,r=sK(t,["offsetX","offsetY"]);return t=>{let{container:i}=t,[a,o]=i.getBounds().min,l=(0,nd.hB)(r,"tip"),s=new Set,c=t=>{var r;let{target:c}=t;if(!sJ(c)){t.stopPropagation();return}let{offsetX:u,offsetY:f}=t,d=u+e-a,h=f+n-o;if(c.tip){c.tip.style.x=d,c.tip.style.y=h;return}let{text:p}=c.style,g=new nD.k9({className:"poptip",style:{innerHTML:(r=Object.assign(Object.assign({},sX),l),"<".concat("div",' style="').concat(Object.entries(r).map(t=>{let[e,n]=t;return"".concat(e.replace(/([A-Z])/g,"-$1").toLowerCase(),":").concat(n)}).join(";"),'">').concat(p,"")),x:d,y:h}});i.appendChild(g),c.tip=g,s.add(g)},u=t=>{let{target:e}=t;if(!sJ(e)){t.stopPropagation();return}e.tip&&(e.tip.remove(),e.tip=null,s.delete(e.tip))};return i.addEventListener("pointerover",c),i.addEventListener("pointerout",u),()=>{i.removeEventListener("pointerover",c),i.removeEventListener("pointerout",u),s.forEach(t=>t.remove())}}}s0.props={reapplyWhenUpdate:!0};var s1=n(1935);function s2(t){return(0,s1.Z)(t)?0:oE(t)?t.length:Object.keys(t).length}var s5=function(t){return(0,j.Z)(t,"String")},s3=function(t,e,n){for(var r=0,i=s5(e)?e.split("."):e;t&&r{t(e)})}(o):function t(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[e.data.name];e.id=e.id||e.data.name,e.path=n,e.children&&e.children.forEach(r=>{r.id="".concat(e.id,"/").concat(r.data.name),r.path=[...n,r.data.name],t(r,r.path)})}(o),i?o.sum(t=>e.ignoreParentValue&&t.children?0:nA(i)(t)).sort(e.sort):o.count(),(0,cc.Z)().tile(a).size(e.size).round(e.round).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft)(o);let l=o.descendants().map(t=>Object.assign(t,{id:t.id.replace(/^\//,""),x:[t.x0,t.x1],y:[t.y0,t.y1]})),s=l.filter("function"==typeof e.layer?e.layer:t=>t.height===e.layer);return[s,l]}var cf=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let cd={breadCrumbFill:"rgba(0, 0, 0, 0.85)",breadCrumbFontSize:12,breadCrumbY:12,activeFill:"rgba(0, 0, 0, 0.5)"};var ch=function(t){return void 0===t},cp=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})},cg=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let cm={pointR:6,pointStrokeWidth:1,pointStroke:"#888",pointActiveStroke:"#f5f5f5",pathStroke:"#888",pathLineDash:[3,4],labelFontSize:12,labelFill:"#888",labelStroke:"#fff",labelLineWidth:1,labelY:-6,labelX:2},cy="movePoint",cv=t=>{let e=t.target,{markType:n}=e;"line"===n&&(e.attr("_lineWidth",e.attr("lineWidth")||1),e.attr("lineWidth",e.attr("_lineWidth")+3)),"interval"===n&&(e.attr("_opacity",e.attr("opacity")||1),e.attr("opacity",.7*e.attr("_opacity")))},cb=t=>{let e=t.target,{markType:n}=e;"line"===n&&e.attr("lineWidth",e.attr("_lineWidth")),"interval"===n&&e.attr("opacity",e.attr("_opacity"))},cx=(t,e,n)=>e.map(e=>{let r=["x","color"].reduce((r,i)=>{let a=n[i];return a?e[a]===t[a]&&r:r},!0);return r?Object.assign(Object.assign({},e),t):e}),cO=t=>{let e=s3(t,["__data__","y"]),n=s3(t,["__data__","y1"]),r=n-e,{__data__:{data:i,encode:a,transform:o},childNodes:l}=t.parentNode,s=s7(o,t=>{let{type:e}=t;return"normalizeY"===e}),c=s3(a,["y","field"]),u=i[l.indexOf(t)][c];return function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return s||e?t/(1-t)/(r/(1-r))*u:t}},cw=(t,e)=>{let n=s3(t,["__data__","seriesItems",e,"0","value"]),r=s3(t,["__data__","seriesIndex",e]),{__data__:{data:i,encode:a,transform:o}}=t.parentNode,l=s7(o,t=>{let{type:e}=t;return"normalizeY"===e}),s=s3(a,["y","field"]),c=i[r][s];return t=>l?1===n?t:t/(1-t)/(n/(1-n))*c:t},c_=(t,e,n)=>{t.forEach((t,r)=>{t.attr("stroke",e[1]===r?n.activeStroke:n.stroke)})},ck=(t,e,n,r)=>{let i=new nD.y$({style:n}),a=new nD.xv({style:r});return e.appendChild(a),t.appendChild(i),[i,a]},cM=(t,e)=>{let n=s3(t,["options","range","indexOf"]);if(!n)return;let r=t.options.range.indexOf(e);return t.sortedDomain[r]},cC=(t,e,n)=>{let r=lz(t,e),i=lz(t,n),a=i/r,o=t[0]+(e[0]-t[0])*a,l=t[1]+(e[1]-t[1])*a;return[o,l]};var cj=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function cA(t){return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i1?n-1:0),i=1;ie.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let cR=()=>t=>{let{children:e}=t;if(!Array.isArray(e))return[];let{x:n=0,y:r=0,width:i,height:a,data:o}=t;return e.map(t=>{var{data:e,x:l,y:s,width:c,height:u}=t;return Object.assign(Object.assign({},cP(t,["data","x","y","width","height"])),{data:cE(e,o),x:null!=l?l:n,y:null!=s?s:r,width:null!=c?c:i,height:null!=u?u:a})})};cR.props={};var cT=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let cZ=()=>t=>{let{children:e}=t;if(!Array.isArray(e))return[];let{direction:n="row",ratio:r=e.map(()=>1),padding:i=0,data:a}=t,[o,l,s,c]="col"===n?["y","height","width","x"]:["x","width","height","y"],u=r.reduce((t,e)=>t+e),f=t[l]-i*(e.length-1),d=r.map(t=>f*(t/u)),h=[],p=t[o]||0;for(let n=0;n1?e-1:0),r=1;re.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let cI=cA(t=>{let{encode:e,data:n,scale:r,shareSize:i=!1}=t,{x:a,y:o}=e,l=(t,e)=>{var a;if(void 0===t||!i)return{};let o=(0,nB.ZP)(n,e=>e[t]),l=(null===(a=null==r?void 0:r[e])||void 0===a?void 0:a.domain)||Array.from(o.keys()),s=l.map(t=>o.has(t)?o.get(t).length:1);return{domain:l,flex:s}};return{scale:{x:Object.assign(Object.assign({paddingOuter:0,paddingInner:.1,guide:void 0===a?null:{position:"top"}},void 0===a&&{paddingInner:0}),l(a,"x")),y:Object.assign(Object.assign({range:[0,1],paddingOuter:0,paddingInner:.1,guide:void 0===o?null:{position:"right"}},void 0===o&&{paddingInner:0}),l(o,"y"))}}}),cN=cA(t=>{let e,n,r;let{data:i,scale:a}=t,o=[t];for(;o.length;){let t=o.shift(),{children:i,encode:a={},scale:l={},legend:s={}}=t,{color:c}=a,{color:u}=l,{color:f}=s;void 0!==c&&(e=c),void 0!==u&&(n=u),void 0!==f&&(r=f),Array.isArray(i)&&o.push(...i)}let l="string"==typeof e?e:"",[s,c]=(()=>{var t;let n=null===(t=null==a?void 0:a.color)||void 0===t?void 0:t.domain;if(void 0!==n)return[n];if(void 0===e)return[void 0];let r="function"==typeof e?e:t=>t[e],o=i.map(r);return o.some(t=>"number"==typeof t)?[(0,eK.Z)(o)]:[Array.from(new Set(o)),"ordinal"]})();return{encode:{color:e},scale:{color:E({},n,{domain:s,type:c})},legend:{color:E({title:l},r)}}}),cD=cA(()=>({animate:{enterType:"fadeIn"}})),cF=cS(()=>({frame:!1,encode:{shape:"hollow"},style:{lineWidth:0}})),cz=cS(()=>({type:"cell"})),c$=cS(t=>{let{data:e}=t;return{data:{type:"inline",value:e,transform:[{type:"custom",callback:()=>{let{data:e,encode:n}=t,{x:r,y:i}=n,a=r?Array.from(new Set(e.map(t=>t[r]))):[],o=i?Array.from(new Set(e.map(t=>t[i]))):[];return(()=>{if(a.length&&o.length){let t=[];for(let e of a)for(let n of o)t.push({[r]:e,[i]:n});return t}return a.length?a.map(t=>({[r]:t})):o.length?o.map(t=>({[i]:t})):void 0})()}}]}}}),cW=cS(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:cH,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:cq,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:cV,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},{data:a,encode:o,children:l,scale:s,x:c=0,y:u=0,shareData:f=!1,key:d}=t,{value:h}=a,{x:p,y:g}=o,{color:m}=s,{domain:y}=m;return{children:(t,a,o)=>{let{x:s,y:m}=a,{paddingLeft:v,paddingTop:b,marginLeft:x,marginTop:O}=o,{domain:w}=s.getOptions(),{domain:_}=m.getOptions(),k=eJ(t),M=t.map(e),C=t.map(t=>{let{x:e,y:n}=t;return[s.invert(e),m.invert(n)]}),j=C.map(t=>{let[e,n]=t;return t=>{let{[p]:r,[g]:i}=t;return(void 0===p||r===e)&&(void 0===g||i===n)}}),A=j.map(t=>h.filter(t)),S=f?(0,aE.Z)(A,t=>t.length):void 0,P=C.map(t=>{let[e,n]=t;return{columnField:p,columnIndex:w.indexOf(e),columnValue:e,columnValuesLength:w.length,rowField:g,rowIndex:_.indexOf(n),rowValue:n,rowValuesLength:_.length}}),R=P.map(t=>Array.isArray(l)?l:[l(t)].flat(1));return k.flatMap(t=>{let[e,a,o,l]=M[t],s=P[t],f=A[t],m=R[t];return m.map(m=>{var w,_,{scale:k,key:M,facet:C=!0,axis:j={},legend:A={}}=m,P=cB(m,["scale","key","facet","axis","legend"]);let R=(null===(w=null==k?void 0:k.y)||void 0===w?void 0:w.guide)||j.y,T=(null===(_=null==k?void 0:k.x)||void 0===_?void 0:_.guide)||j.x,Z=C?f:0===f.length?[]:h,L={x:cY(T,n)(s,Z),y:cY(R,r)(s,Z)};return Object.assign(Object.assign({key:"".concat(M,"-").concat(t),data:Z,margin:0,x:e+v+c+x,y:a+b+u+O,parentKey:d,width:o,height:l,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!!Z.length,dataDomain:S,scale:E({x:{tickCount:p?5:void 0},y:{tickCount:g?5:void 0}},k,{color:{domain:y}}),axis:E({},j,L),legend:!1},P),i)})})}}});function cH(t){let{points:e}=t;return tr(e)}function cG(t,e){return e.length?E({title:!1,tick:null,label:null},t):E({title:!1,tick:null,label:null,grid:null},t)}function cq(t){return(e,n)=>{let{rowIndex:r,rowValuesLength:i,columnIndex:a,columnValuesLength:o}=e;if(r!==i-1)return cG(t,n);let l=n.length?void 0:null;return E({title:a===o-1&&void 0,grid:l},t)}}function cV(t){return(e,n)=>{let{rowIndex:r,columnIndex:i}=e;if(0!==i)return cG(t,n);let a=n.length?void 0:null;return E({title:0===r&&void 0,grid:a},t)}}function cY(t,e){return"function"==typeof t?t:null===t||!1===t?()=>null:e(t)}let cU=()=>t=>{let e=cL.of(t).call(cz).call(cN).call(cD).call(cI).call(cF).call(c$).call(cW).value();return[e]};cU.props={};var cQ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let cK=cA(t=>({scale:{x:{guide:null,paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),cX=cS(t=>{let{data:e,children:n,x:r=0,y:i=0,key:a}=t;return{children:(t,o,l)=>{let{x:s,y:c}=o,{paddingLeft:u,paddingTop:f,marginLeft:d,marginTop:h}=l,{domain:p}=s.getOptions(),{domain:g}=c.getOptions(),m=eJ(t),y=t.map(t=>{let{points:e}=t;return tr(e)}),v=t.map(t=>{let{x:e,y:n}=t;return[s.invert(e),c.invert(n)]}),b=v.map(t=>{let[e,n]=t;return{columnField:e,columnIndex:p.indexOf(e),columnValue:e,columnValuesLength:p.length,rowField:n,rowIndex:g.indexOf(n),rowValue:n,rowValuesLength:g.length}}),x=b.map(t=>Array.isArray(n)?n:[n(t)].flat(1));return m.flatMap(t=>{let[n,o,l,s]=y[t],[c,p]=v[t],g=b[t],m=x[t];return m.map(m=>{var y,v;let{scale:b,key:x,encode:O,axis:w,interaction:_}=m,k=cQ(m,["scale","key","encode","axis","interaction"]),M=null===(y=null==b?void 0:b.y)||void 0===y?void 0:y.guide,C=null===(v=null==b?void 0:b.x)||void 0===v?void 0:v.guide,j={x:("function"==typeof C?C:null===C?()=>null:(t,e)=>{let{rowIndex:n,rowValuesLength:r}=t;if(n!==r-1)return cG(C,e)})(g,e),y:("function"==typeof M?M:null===M?()=>null:(t,e)=>{let{columnIndex:n}=t;if(0!==n)return cG(M,e)})(g,e)};return Object.assign({data:e,parentKey:a,key:"".concat(x,"-").concat(t),x:n+u+r+d,y:o+f+i+h,width:l,height:s,margin:0,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!0,scale:E({x:{facet:!1},y:{facet:!1}},b),axis:E({x:{tickCount:5},y:{tickCount:5}},w,j),legend:!1,encode:E({},O,{x:c,y:p}),interaction:E({},_,{legendFilter:!1})},k)})})}}}),cJ=cS(t=>{let{encode:e}=t,n=cQ(t,["encode"]),{position:r=[],x:i=r,y:a=[...r].reverse()}=e,o=cQ(e,["position","x","y"]),l=[];for(let t of[i].flat(1))for(let e of[a].flat(1))l.push({$x:t,$y:e});return Object.assign(Object.assign({},n),{data:l,encode:Object.assign(Object.assign({},o),{x:"$x",y:"$y"}),scale:Object.assign(Object.assign({},1===[i].flat(1).length&&{x:{paddingInner:0}}),1===[a].flat(1).length&&{y:{paddingInner:0}})})});var c0=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let c1=cA(t=>({scale:{x:{guide:{type:"axisArc"},paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),c2=cA(t=>({coordinate:{type:"polar"}})),c5=t=>{let{encode:e}=t,n=c0(t,["encode"]),{position:r}=e;return Object.assign(Object.assign({},n),{encode:{x:r}})};function c3(t){return t=>null}function c4(t){let{points:e}=t,[n,r,i,a]=e,o=J(n,a),l=K(n,a),s=K(r,i),c=tn(l,s),u=1/Math.sin(c/2),f=o/(1+u),d=f*Math.sqrt(2),[h,p]=i,g=te(l),m=g+c/2,y=f*u,v=h+y*Math.sin(m),b=p-y*Math.cos(m);return[v-d/2,b-d/2,d,d]}let c6=()=>t=>{let{children:e=[],duration:n=1e3,iterationCount:r=1,direction:i="normal",easing:a="ease-in-out-sine"}=t,o=e.length;if(!Array.isArray(e)||0===o)return[];let{key:l}=e[0],s=e.map(t=>Object.assign(Object.assign({},t),{key:l})).map(t=>(function(t,e,n){let r=[t];for(;r.length;){let t=r.pop();t.animate=E({enter:{duration:e},update:{duration:e,easing:n,type:"morphing",fill:"both"},exit:{type:"fadeOut",duration:e}},t.animate||{});let{children:i}=t;Array.isArray(i)&&r.push(...i)}return t})(t,n,a));return function*(){let t,e=0;for(;"infinite"===r||e{var e;return[t,null===(e=L(r,t))||void 0===e?void 0:e[0]]}).filter(t=>{let[,e]=t;return(0,nd.ri)(e)});return Array.from((0,nB.ZP)(e,t=>i.map(e=>{let[,n]=e;return n[t]}).join("-")).values())}function ut(t){return Array.isArray(t)?(e,n,r)=>(n,r)=>t.reduce((t,i)=>0!==t?t:(0,c8.Z)(e[n][i],e[r][i]),0):"function"==typeof t?(e,n,r)=>ul(n=>t(e[n])):"series"===t?ur:"value"===t?ui:"sum"===t?ua:"maxIndex"===t?uo:()=>null}function ue(t,e){for(let n of t)n.sort(e)}function un(t,e){return(null==e?void 0:e.domain)||Array.from(new Set(t))}function ur(t,e,n){return ul(t=>n[t])}function ui(t,e,n){return ul(t=>e[t])}function ua(t,e,n){let r=eJ(t),i=Array.from((0,nB.ZP)(r,t=>n[+t]).entries()),a=new Map(i.map(t=>{let[n,r]=t;return[n,r.reduce((t,n)=>t+ +e[n])]}));return ul(t=>a.get(n[t]))}function uo(t,e,n){let r=eJ(t),i=Array.from((0,nB.ZP)(r,t=>n[+t]).entries()),a=new Map(i.map(t=>{let[n,r]=t;return[n,(0,c7.Z)(r,t=>e[t])]}));return ul(t=>a.get(n[t]))}function ul(t){return(e,n)=>(0,c8.Z)(t(e),t(n))}let us=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x",orderBy:n=null,reverse:r=!1,y:i="y",y1:a="y1",series:o=!0}=t;return(t,l)=>{let{data:s,encode:c,style:u={}}=l,[f,d]=L(c,"y"),[h,p]=L(c,"y1"),[g]=o?B(c,"series","color"):L(c,"color"),m=c9(e,t,l),y=ut(n),v=y(s,f,g);v&&ue(m,v);let b=Array(t.length),x=Array(t.length),O=Array(t.length),w=[],_=[];for(let t of m){r&&t.reverse();let e=h?+h[t[0]]:0,n=[],i=[];for(let r of t){let t=O[r]=+f[r]-e;t<0?i.push(r):t>=0&&n.push(r)}let a=n.length>0?n:i,o=i.length>0?i:n,l=n.length-1,s=0;for(;l>0&&0===f[a[l]];)l--;for(;s0?u=b[t]=(x[t]=u)+e:b[t]=x[t]=u}}let k=new Set(w),M=new Set(_),C="y"===i?b:x,j="y"===a?b:x;return[t,E({},l,{encode:{y0:R(f,d),y:P(C,d),y1:P(j,p)},style:Object.assign({first:(t,e)=>k.has(e),last:(t,e)=>M.has(e)},u)})]}};us.props={};var uc=n(52362),uu=n(87568),uf=n(76132),ud=n(90155),uh=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function up(t){return e=>null===e?t:"".concat(t," of ").concat(e)}function ug(){let t=up("mean");return[(t,e)=>(0,l3.Z)(t,t=>+e[t]),t]}function um(){let t=up("median");return[(t,e)=>(0,uf.Z)(t,t=>+e[t]),t]}function uy(){let t=up("max");return[(t,e)=>(0,aE.Z)(t,t=>+e[t]),t]}function uv(){let t=up("min");return[(t,e)=>(0,aS.Z)(t,t=>+e[t]),t]}function ub(){let t=up("count");return[(t,e)=>t.length,t]}function ux(){let t=up("sum");return[(t,e)=>(0,ud.Z)(t,t=>+e[t]),t]}function uO(){let t=up("first");return[(t,e)=>e[t[0]],t]}function uw(){let t=up("last");return[(t,e)=>e[t[t.length-1]],t]}let u_=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e}=t,n=uh(t,["groupBy"]);return(t,r)=>{let{data:i,encode:a}=r,o=e(t,r);if(!o)return[t,r];let l=(t,e)=>{if(t)return t;let{from:n}=e;if(!n)return t;let[,r]=L(a,n);return r},s=Object.entries(n).map(t=>{let[e,n]=t,[r,s]=function(t){if("function"==typeof t)return[t,null];let e={mean:ug,max:uy,count:ub,first:uO,last:uw,sum:ux,min:uv,median:um}[t];if(!e)throw Error("Unknown reducer: ".concat(t,"."));return e()}(n),[c,u]=L(a,e),f=l(u,n),d=o.map(t=>r(t,null!=c?c:i));return[e,Object.assign(Object.assign({},function(t,e){let n=P(t,e);return Object.assign(Object.assign({},n),{constant:!1})}(d,(null==s?void 0:s(f))||f)),{aggregate:!0})]}),c=Object.keys(a).map(t=>{let[e,n]=L(a,t),r=o.map(t=>e[t[0]]);return[t,P(r,n)]}),u=o.map(t=>i[t[0]]),f=eJ(o);return[f,E({},r,{data:u,encode:Object.fromEntries([...c,...s])})]}};u_.props={};var uk=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let uM="thresholds",uC=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupChannels:e=["color"],binChannels:n=["x","y"]}=t,r=uk(t,["groupChannels","binChannels"]),i={};return u_(Object.assign(Object.assign(Object.assign({},Object.fromEntries(Object.entries(r).filter(t=>{let[e]=t;return!e.startsWith(uM)}))),Object.fromEntries(n.flatMap(t=>{let e=e=>{let[n]=e;return+i[t].get(n).split(",")[1]};return e.from=t,[[t,e=>{let[n]=e;return+i[t].get(n).split(",")[0]}],["".concat(t,"1"),e]]}))),{groupBy:(t,a)=>{let{encode:o}=a,l=n.map(t=>{let[e]=L(o,t);return e}),s=(0,nd.hB)(r,uM),c=t.filter(t=>l.every(e=>(0,nd.ri)(e[t]))),u=[...e.map(t=>{let[e]=L(o,t);return e}).filter(nd.ri).map(t=>e=>t[e]),...n.map((t,e)=>{let n=l[e],r=s[t]||function(t){let[e,n]=(0,eK.Z)(t);return Math.min(200,(0,uc.Z)(t,e,n))}(n),a=(0,uu.Z)().thresholds(r).value(t=>+n[t])(c),o=new Map(a.flatMap(t=>{let{x0:e,x1:n}=t,r="".concat(e,",").concat(n);return t.map(t=>[t,r])}));return i[t]=o,t=>o.get(t)})];return Array.from((0,nB.ZP)(c,t=>u.map(e=>e(t)).join("-")).values())}}))};uC.props={};let uj=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{thresholds:e}=t;return uC(Object.assign(Object.assign({},t),{thresholdsX:e,groupChannels:["color"],binChannels:["x"]}))};uj.props={};var uA=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let uS=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x",reverse:n=!1,orderBy:r,padding:i}=t;return uA(t,["groupBy","reverse","orderBy","padding"]),(t,a)=>{let{data:o,encode:l,scale:s}=a,{series:c}=s,[u]=L(l,"y"),[f]=B(l,"series","color"),d=un(f,c),h=c9(e,t,a),p=ut(r),g=p(o,u,f);g&&ue(h,g);let m=Array(t.length);for(let t of h){n&&t.reverse();for(let e=0;e0&&void 0!==arguments[0]?arguments[0]:{},{padding:e=0,paddingX:n=e,paddingY:r=e,random:i=Math.random}=t;return(t,e)=>{let{encode:a,scale:o}=e,{x:l,y:s}=o,[c]=L(a,"x"),[u]=L(a,"y"),f=uE(c,l,n),d=uE(u,s,r),h=t.map(()=>(function(t,e,n){return e*(1-t)+n*t})(i(),...d)),p=t.map(()=>(function(t,e,n){return e*(1-t)+n*t})(i(),...f));return[t,E({scale:{x:{padding:.5},y:{padding:.5}}},e,{encode:{dy:P(h),dx:P(p)}})]}};uP.props={};let uR=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{padding:e=0,random:n=Math.random}=t;return(t,r)=>{let{encode:i,scale:a}=r,{x:o}=a,[l]=L(i,"x"),s=uE(l,o,e),c=t.map(()=>(function(t,e,n){return e*(1-t)+n*t})(n(),...s));return[t,E({scale:{x:{padding:.5}}},r,{encode:{dx:P(c)}})]}};uR.props={};let uT=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{padding:e=0,random:n=Math.random}=t;return(t,r)=>{let{encode:i,scale:a}=r,{y:o}=a,[l]=L(i,"y"),s=uE(l,o,e),c=t.map(()=>(function(t,e,n){return e*(1-t)+n*t})(n(),...s));return[t,E({scale:{y:{padding:.5}}},r,{encode:{dy:P(c)}})]}};uT.props={};var uZ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let uL=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x"}=t;return(t,n)=>{let{encode:r}=n,{x:i}=r,a=uZ(r,["x"]),o=Object.entries(a).filter(t=>{let[e]=t;return e.startsWith("y")}).map(t=>{let[e]=t;return[e,L(r,e)[0]]}),l=o.map(e=>{let[n]=e;return[n,Array(t.length)]}),s=c9(e,t,n),c=Array(s.length);for(let t=0;to.map(e=>{let[,n]=e;return+n[t]})),[r,i]=(0,eK.Z)(n);c[t]=(r+i)/2}let u=Math.max(...c);for(let t=0;t{let[e,n]=t;return[e,P(n,L(r,e)[1])]}))})]}};uL.props={};let uB=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x",series:n=!0}=t;return(t,r)=>{let{encode:i}=r,[a]=L(i,"y"),[o,l]=L(i,"y1"),[s]=n?B(i,"series","color"):L(i,"color"),c=c9(e,t,r),u=Array(t.length);for(let t of c){let e=t.map(t=>+a[t]);for(let n=0;ne!==n));u[r]=a[r]>i?i:a[r]}}return[t,E({},r,{encode:{y1:P(u,l)}})]}};uB.props={};let uI=t=>{let{groupBy:e=["x"],reducer:n=(t,e)=>e[t[0]],orderBy:r=null,reverse:i=!1,duration:a}=t;return(t,o)=>{let{encode:l}=o,s=Array.isArray(e)?e:[e],c=s.map(t=>[t,L(l,t)[0]]);if(0===c.length)return[t,o];let u=[t];for(let[,t]of c){let e=[];for(let n of u){let r=Array.from((0,nB.ZP)(n,e=>t[e]).values());e.push(...r)}u=e}if(r){let[t]=L(l,r);t&&u.sort((e,r)=>n(e,t)-n(r,t)),i&&u.reverse()}let f=(a||3e3)/u.length,[d]=a?[Z(t,f)]:B(l,"enterDuration",Z(t,f)),[h]=B(l,"enterDelay",Z(t,0)),p=Array(t.length);for(let t=0,e=0;t+d[t]);for(let t of n)p[t]=+h[t]+e;e+=r}return[t,E({},o,{encode:{enterDuration:T(d),enterDelay:T(p)}})]}};uI.props={};var uN=n(93209),uD=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let uF=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="x",basis:n="max"}=t;return(t,r)=>{let{encode:i,tooltip:a}=r,{x:o}=i,l=uD(i,["x"]),s=Object.entries(l).filter(t=>{let[e]=t;return e.startsWith("y")}).map(t=>{let[e]=t;return[e,L(i,e)[0]]}),[,c]=s.find(t=>{let[e]=t;return"y"===e}),u=s.map(e=>{let[n]=e;return[n,Array(t.length)]}),f=c9(e,t,r),d="function"==typeof n?n:({min:(t,e)=>(0,aS.Z)(t,t=>e[+t]),max:(t,e)=>(0,aE.Z)(t,t=>e[+t]),first:(t,e)=>e[t[0]],last:(t,e)=>e[t[t.length-1]],mean:(t,e)=>(0,l3.Z)(t,t=>e[+t]),median:(t,e)=>(0,uf.Z)(t,t=>e[+t]),sum:(t,e)=>(0,ud.Z)(t,t=>e[+t]),deviation:(t,e)=>(0,uN.Z)(t,t=>e[+t])})[n]||aE.Z;for(let t of f){let e=d(t,c);for(let n of t)for(let t=0;t{let[e,n]=t;return[e,P(n,L(i,e)[1])]}))},!h&&i.y0&&{tooltip:{items:[{channel:"y0"}]}}))]}};function uz(t,e){return[t[0]]}function u$(t,e){let n=t.length-1;return[t[n]]}function uW(t,e){let n=(0,c7.Z)(t,t=>e[t]);return[t[n]]}function uH(t,e){let n=(0,l5.Z)(t,t=>e[t]);return[t[n]]}uF.props={};let uG=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{groupBy:e="series",channel:n,selector:r}=t;return(t,i)=>{let{encode:a}=i,o=c9(e,t,i),[l]=L(a,n),s="function"==typeof r?r:({first:uz,last:u$,max:uW,min:uH})[r]||uz;return[o.flatMap(t=>s(t,l)),i]}};uG.props={};var uq=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let uV=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{selector:e}=t,n=uq(t,["selector"]);return uG(Object.assign({channel:"x",selector:e},n))};uV.props={};var uY=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let uU=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{selector:e}=t,n=uY(t,["selector"]);return uG(Object.assign({channel:"y",selector:e},n))};uU.props={};var uQ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let uK=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{channels:e=["x","y"]}=t,n=uQ(t,["channels"]);return u_(Object.assign(Object.assign({},n),{groupBy:(t,n)=>c9(e,t,n)}))};uK.props={};let uX=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return uK(Object.assign(Object.assign({},t),{channels:["x","color","series"]}))};uX.props={};let uJ=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return uK(Object.assign(Object.assign({},t),{channels:["y","color","series"]}))};uJ.props={};let u0=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return uK(Object.assign(Object.assign({},t),{channels:["color"]}))};u0.props={};var u1=n(28085),u2=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let u5=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{reverse:e=!1,slice:n,channel:r,ordinal:i=!0}=t,a=u2(t,["reverse","slice","channel","ordinal"]);return(t,o)=>i?function(t,e,n){var r;let{reverse:i,slice:a,channel:o}=n,l=u2(n,["reverse","slice","channel"]),{encode:s,scale:c={}}=e,u=null===(r=c[o])||void 0===r?void 0:r.domain,[f]=L(s,o),d=function(t,e,n){let{by:r=t,reducer:i="max"}=e,[a]=L(n,r);if("function"==typeof i)return t=>i(t,a);if("max"===i)return t=>(0,aE.Z)(t,t=>+a[t]);if("min"===i)return t=>(0,aS.Z)(t,t=>+a[t]);if("sum"===i)return t=>(0,ud.Z)(t,t=>+a[t]);if("median"===i)return t=>(0,uf.Z)(t,t=>+a[t]);if("mean"===i)return t=>(0,l3.Z)(t,t=>+a[t]);if("first"===i)return t=>a[t[0]];if("last"===i)return t=>a[t[t.length-1]];throw Error("Unknown reducer: ".concat(i))}(o,l,s),h=function(t,e,n){if(!Array.isArray(n))return t;let r=new Set(n);return t.filter(t=>r.has(e[t]))}(t,f,u),p=(0,u1.Z)(h,d,t=>f[t]);i&&p.reverse();let g=a?p.slice(..."number"==typeof a?[0,a]:a):p;return[t,E(e,{scale:{[o]:{domain:g}}})]}(t,o,Object.assign({reverse:e,slice:n,channel:r},a)):function(t,e,n){let{reverse:r,channel:i}=n,{encode:a}=e,[o]=L(a,i),l=(0,oG.Z)(t,t=>o[t]);return r&&l.reverse(),[l,e]}(t,o,Object.assign({reverse:e,slice:n,channel:r},a))};u5.props={};let u3=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u5(Object.assign(Object.assign({},t),{channel:"x"}))};u3.props={};let u4=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u5(Object.assign(Object.assign({},t),{channel:"y"}))};u4.props={};let u6=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u5(Object.assign(Object.assign({},t),{channel:"color"}))};u6.props={};let u8=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{field:e,channel:n="y",reducer:r="sum"}=t;return(t,i)=>{let{data:a,encode:o}=i,[l]=L(o,"x"),s=e?"string"==typeof e?a.map(t=>t[e]):a.map(e):L(o,n)[0],c=function(t,e){if("function"==typeof t)return n=>t(n,e);if("sum"===t)return t=>(0,ud.Z)(t,t=>+e[t]);throw Error("Unknown reducer: ".concat(t))}(r,s),u=(0,nB.Q3)(t,c,t=>l[t]).map(t=>t[1]);return[t,E({},i,{scale:{x:{flex:u}}})]}};u8.props={};let u7=t=>(e,n)=>[e,E({},n,{modifier:function(t){let{padding:e=0,direction:n="col"}=t;return(t,r,i)=>{let a=t.length;if(0===a)return[];let{innerWidth:o,innerHeight:l}=i,s=Math.ceil(Math.sqrt(r/(l/o))),c=o/s,u=Math.ceil(r/s),f=u*c;for(;f>l;)s+=1,c=o/s,f=(u=Math.ceil(r/s))*c;let d=l-u*c,h=u<=1?0:d/(u-1),[p,g]=u<=1?[(o-a*c)/(a-1),(l-c)/2]:[0,0];return t.map((t,r)=>{let[i,a,o,l]=tr(t),f="col"===n?r%s:Math.floor(r/u),m="col"===n?Math.floor(r/s):r%u,y=f*c,v=(u-m-1)*c+d,b=(c-e)/o,x=(c-e)/l;return"translate(".concat(y-i+p*f+.5*e,", ").concat(v-a-h*m-g+.5*e,") scale(").concat(b,", ").concat(x,")")})}}(t),axis:!1})];u7.props={};var u9=n(80091);function ft(t,e,n,r){let i,a,o;let l=t.length;if(r>=l||0===r)return t;let s=n=>1*e[t[n]],c=e=>1*n[t[e]],u=[],f=(l-2)/(r-2),d=0;u.push(d);for(let t=0;ti&&(i=a,o=g);u.push(o),d=o}return u.push(l-1),u.map(e=>t[e])}let fe=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{strategy:e="median",thresholds:n=2e3,groupBy:r=["series","color"]}=t,i=function(t){if("function"==typeof t)return t;if("lttb"===t)return ft;let e={first:t=>[t[0]],last:t=>[t[t.length-1]],min:(t,e,n)=>[t[(0,l5.Z)(t,t=>n[t])]],max:(t,e,n)=>[t[(0,c7.Z)(t,t=>n[t])]],median:(t,e,n)=>[t[(0,u9.medianIndex)(t,t=>n[t])]]},n=e[t]||e.median;return(t,e,r,i)=>{let a=Math.max(1,Math.floor(t.length/i)),o=function(t,e){let n=t.length,r=[],i=0;for(;in(t,e,r))}}(e);return(t,e)=>{let{encode:a}=e,o=c9(r,t,e),[l]=L(a,"x"),[s]=L(a,"y");return[o.flatMap(t=>i(t,l,s,n)),e]}};fe.props={};let fn=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e,n)=>{let{encode:r,data:i}=n,a=Object.entries(t).map(t=>{let[e,n]=t,[i]=L(r,e);if(!i)return null;let[a,o=!0]="object"==typeof n?[n.value,n.ordinal]:[n,!0];if("function"==typeof a)return t=>a(i[t]);if(o){let t=Array.isArray(a)?a:[a];return 0===t.length?null:e=>t.includes(i[e])}{let[t,e]=a;return n=>i[n]>=t&&i[n]<=e}}).filter(nd.ri);if(0===a.length)return[e,n];let o=e.filter(t=>a.every(e=>e(t))),l=o.map((t,e)=>e),s=Object.entries(r).map(t=>{let[e,n]=t;return[e,Object.assign(Object.assign({},n),{value:l.map(t=>n.value[o[t]]).filter(t=>void 0!==t)})]});return[l,E({},n,{encode:Object.fromEntries(s),data:o.map(t=>i[t])})]}};fn.props={};var fr=n(42132),fi=n(6586);let fa=t=>{let{value:e,format:n=e.split(".").pop(),delimiter:r=",",autoType:i=!0}=t;return()=>{var t,a,o,l;return t=void 0,a=void 0,o=void 0,l=function*(){let t=yield fetch(e);if("csv"===n){let e=yield t.text();return(0,fr.Z)(r).parse(e,i?fi.Z:nd.yR)}if("json"===n)return yield t.json();throw Error("Unknown format: ".concat(n,"."))},new(o||(o=Promise))(function(e,n){function r(t){try{s(l.next(t))}catch(t){n(t)}}function i(t){try{s(l.throw(t))}catch(t){n(t)}}function s(t){var n;t.done?e(t.value):((n=t.value)instanceof o?n:new o(function(t){t(n)})).then(r,i)}s((l=l.apply(t,a||[])).next())})}};fa.props={};let fo=t=>{let{value:e}=t;return()=>e};fo.props={};let fl=t=>{let{fields:e=[]}=t,n=e.map(t=>{if(Array.isArray(t)){let[e,n=!0]=t;return[e,n]}return[t,!0]});return t=>[...t].sort((t,e)=>n.reduce((n,r)=>{let[i,a=!0]=r;return 0!==n?n:a?t[i]e[i]?-1:+(t[i]!==e[i])},0))};fl.props={};let fs=t=>{let{callback:e}=t;return t=>Array.isArray(t)?[...t].sort(e):t};function fc(t){return null!=t&&!Number.isNaN(t)}fs.props={};let fu=t=>{let{callback:e=fc}=t;return t=>t.filter(e)};fu.props={};let ff=t=>{let{fields:e}=t;return t=>t.map(t=>(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.reduce((e,n)=>(n in t&&(e[n]=t[n]),e),{})})(t,e))};ff.props={};let fd=t=>e=>t&&0!==Object.keys(t).length?e.map(e=>Object.entries(e).reduce((e,n)=>{let[r,i]=n;return e[t[r]||r]=i,e},{})):e;fd.props={};let fh=t=>{let{fields:e,key:n="key",value:r="value"}=t;return t=>e&&0!==Object.keys(e).length?t.flatMap(t=>e.map(e=>Object.assign(Object.assign({},t),{[n]:e,[r]:t[e]}))):t};fh.props={};let fp=t=>{let{start:e,end:n}=t;return t=>t.slice(e,n)};fp.props={};let fg=t=>{let{callback:e=nd.yR}=t;return t=>e(t)};fg.props={};let fm=t=>{let{callback:e=nd.yR}=t;return t=>Array.isArray(t)?t.map(e):t};function fy(t){return"string"==typeof t?e=>e[t]:t}fm.props={};let fv=t=>{let{join:e,on:n,select:r=[],as:i=r,unknown:a=NaN}=t,[o,l]=n,s=fy(l),c=fy(o),u=(0,nB.jJ)(e,t=>{let[e]=t;return e},t=>s(t));return t=>t.map(t=>{let e=u.get(c(t));return Object.assign(Object.assign({},t),r.reduce((t,n,r)=>(t[i[r]]=e?e[n]:a,t),{}))})};fv.props={};var fb=n(53843),fx=n.n(fb);let fO=t=>{let{field:e,groupBy:n,as:r=["y","size"],min:i,max:a,size:o=10,width:l}=t,[s,c]=r;return t=>{let r=Array.from((0,nB.ZP)(t,t=>n.map(e=>t[e]).join("-")).values());return r.map(t=>{let n=fx().create(t.map(t=>t[e]),{min:i,max:a,size:o,width:l}),r=n.map(t=>t.x),u=n.map(t=>t.y);return Object.assign(Object.assign({},t[0]),{[s]:r,[c]:u})})}};fO.props={};let fw=()=>t=>(console.log("G2 data section:",t),t);fw.props={};let f_=Math.PI/180;function fk(t){return t.text}function fM(){return"serif"}function fC(){return"normal"}function fj(t){return t.value}function fA(){return 90*~~(2*Math.random())}function fS(){return 1}function fE(){}function fP(t){let e=t[0]/t[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function fR(t){let e=[],n=-1;for(;++ne.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let fB={fontSize:[20,60],font:"Impact",padding:2,rotate:function(){return(~~(6*Math.random())-3)*30}};function fI(t){return new Promise((e,n)=>{if(t instanceof HTMLImageElement){e(t);return}if("string"==typeof t){let r=new Image;r.crossOrigin="anonymous",r.src=t,r.onload=()=>e(r),r.onerror=()=>{console.error("'image ".concat(t," load failed !!!'")),n()};return}n()})}let fN=t=>e=>{var n,r,i,a;return n=void 0,r=void 0,i=void 0,a=function*(){let n=Object.assign({},fB,t),r=function(){let t=[256,256],e=fk,n=fM,r=fj,i=fC,a=fA,o=fS,l=fP,s=Math.random,c=fE,u=[],f=null,d=1/0,h={};return h.start=function(){let[p,g]=t,m=function(t){t.width=t.height=1;let e=Math.sqrt(t.getContext("2d").getImageData(0,0,1,1).data.length>>2);t.width=2048/e,t.height=2048/e;let n=t.getContext("2d");return n.fillStyle=n.strokeStyle="red",n.textAlign="center",n.textBaseline="middle",{context:n,ratio:e}}(document.createElement("canvas")),y=h.board?h.board:fR((t[0]>>5)*t[1]),v=u.length,b=[],x=u.map(function(t,l,s){return t.text=e.call(this,t,l,s),t.font=n.call(this,t,l,s),t.style=fC.call(this,t,l,s),t.weight=i.call(this,t,l,s),t.rotate=a.call(this,t,l,s),t.size=~~r.call(this,t,l,s),t.padding=o.call(this,t,l,s),t}).sort(function(t,e){return e.size-t.size}),O=-1,w=h.board?[{x:0,y:0},{x:p,y:g}]:void 0;function _(){let e=Date.now();for(;Date.now()-e>1,e.y=g*(s()+.5)>>1,function(t,e,n,r){if(e.sprite)return;let i=t.context,a=t.ratio;i.clearRect(0,0,2048/a,2048/a);let o=0,l=0,s=0,c=n.length;for(--r;++r>5<<5,c=~~Math.max(Math.abs(a+o),Math.abs(a-o))}else t=t+31>>5<<5;if(c>s&&(s=c),o+t>=2048&&(o=0,l+=s,s=0),l+c>=2048)break;i.translate((o+(t>>1))/a,(l+(c>>1))/a),e.rotate&&i.rotate(e.rotate*f_),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=t,e.height=c,e.xoff=o,e.yoff=l,e.x1=t>>1,e.y1=c>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,o+=t}let u=i.getImageData(0,0,2048/a,2048/a).data,f=[];for(;--r>=0;){if(!(e=n[r]).hasText)continue;let t=e.width,i=t>>5,a=e.y1-e.y0;for(let t=0;t>5),r=u[(l+n)*2048+(o+e)<<2]?1<<31-e%32:0;f[t]|=r,s|=r}s?c=n:(e.y0++,a--,n--,l++)}e.y1=e.y0+c,e.sprite=f.slice(0,(e.y1-e.y0)*i)}}(m,e,x,O),e.hasText&&function(e,n,r){let i=n.x,a=n.y,o=Math.sqrt(t[0]*t[0]+t[1]*t[1]),c=l(t),u=.5>s()?1:-1,f,d=-u,h,p;for(;(f=c(d+=u))&&!(Math.min(Math.abs(h=~~f[0]),Math.abs(p=~~f[1]))>=o);)if(n.x=i+h,n.y=a+p,!(n.x+n.x0<0)&&!(n.y+n.y0<0)&&!(n.x+n.x1>t[0])&&!(n.y+n.y1>t[1])&&(!r||!function(t,e,n){n>>=5;let r=t.sprite,i=t.width>>5,a=t.x-(i<<4),o=127&a,l=32-o,s=t.y1-t.y0,c=(t.y+t.y0)*n+(a>>5),u;for(let t=0;t>>o:0))&e[c+n])return!0;c+=n}return!1}(n,e,t[0]))&&(!r||n.x+n.x1>r[0].x&&n.x+n.x0r[0].y&&n.y+n.y0>5,a=t[0]>>5,o=n.x-(i<<4),l=127&o,s=32-l,c=n.y1-n.y0,u,f=(n.y+n.y0)*a+(o>>5);for(let t=0;t>>l:0);f+=a}return delete n.sprite,!0}return!1}(y,e,w)&&(c.call(null,"word",{cloud:h,word:e}),b.push(e),w?h.hasImage||function(t,e){let n=t[0],r=t[1];e.x+e.x0r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}(w,e):w=[{x:e.x+e.x0,y:e.y+e.y0},{x:e.x+e.x1,y:e.y+e.y1}],e.x-=t[0]>>1,e.y-=t[1]>>1)}h._tags=b,h._bounds=w,O>=v&&(h.stop(),c.call(null,"end",{cloud:h,words:b,bounds:w}))}return f&&clearInterval(f),f=setInterval(_,0),_(),h},h.stop=function(){return f&&(clearInterval(f),f=null),h},h.createMask=e=>{let n=document.createElement("canvas"),[r,i]=t;if(!r||!i)return;let a=r>>5,o=fR((r>>5)*i);n.width=r,n.height=i;let l=n.getContext("2d");l.drawImage(e,0,0,e.width,e.height,0,0,r,i);let s=l.getImageData(0,0,r,i).data;for(let t=0;t>5),i=t*r+e<<2,l=s[i]>=250&&s[i+1]>=250&&s[i+2]>=250,c=l?1<<31-e%32:0;o[n]|=c}h.board=o,h.hasImage=!0},h.timeInterval=function(t){d=null==t?1/0:t},h.words=function(t){u=t},h.size=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t=[+e[0],+e[1]]},h.text=function(t){e=fT(t)},h.font=function(t){n=fT(t)},h.fontWeight=function(t){i=fT(t)},h.rotate=function(t){a=fT(t)},h.spiral=function(t){l=fZ[t]||t},h.fontSize=function(t){r=fT(t)},h.padding=function(t){o=fT(t)},h.random=function(t){s=fT(t)},h.on=function(t){c=fT(t)},h}();yield({set(t,e,i){if(void 0===n[t])return this;let a=e?e.call(null,n[t]):n[t];return i?i.call(null,a):"function"==typeof r[t]?r[t](a):r[t]=a,this},setAsync(t,e,i){var a,o,l,s;return a=this,o=void 0,l=void 0,s=function*(){if(void 0===n[t])return this;let a=e?yield e.call(null,n[t]):n[t];return i?i.call(null,a):"function"==typeof r[t]?r[t](a):r[t]=a,this},new(l||(l=Promise))(function(t,e){function n(t){try{i(s.next(t))}catch(t){e(t)}}function r(t){try{i(s.throw(t))}catch(t){e(t)}}function i(e){var i;e.done?t(e.value):((i=e.value)instanceof l?i:new l(function(t){t(i)})).then(n,r)}i((s=s.apply(a,o||[])).next())})}}).set("fontSize",t=>{let n=e.map(t=>t.value);return function(t,e){if("function"==typeof t)return t;if(Array.isArray(t)){let[n,r]=t;if(!e)return()=>(r+n)/2;let[i,a]=e;return a===i?()=>(r+n)/2:t=>{let{value:e}=t;return(r-n)/(a-i)*(e-i)+n}}return()=>t}(t,[(0,aS.Z)(n),(0,aE.Z)(n)])}).set("font").set("fontStyle").set("fontWeight").set("padding").set("rotate").set("size").set("spiral").set("timeInterval").set("random").set("text").set("on").setAsync("imageMask",fI,r.createMask),r.words([...e]);let i=r.start(),[a,o]=n.size,{_bounds:l=[{x:0,y:0},{x:a,y:o}],_tags:s,hasImage:c}=i,u=s.map(t=>{var{x:e,y:n,font:r}=t;return Object.assign(Object.assign({},fL(t,["x","y","font"])),{x:e+a/2,y:n+o/2,fontFamily:r})}),[{x:f,y:d},{x:h,y:p}]=l,g={text:"",value:0,opacity:0,fontSize:0};return u.push(Object.assign(Object.assign({},g),{x:c?0:f,y:c?0:d}),Object.assign(Object.assign({},g),{x:c?a:h,y:c?o:p})),u},new(i||(i=Promise))(function(t,e){function o(t){try{s(a.next(t))}catch(t){e(t)}}function l(t){try{s(a.throw(t))}catch(t){e(t)}}function s(e){var n;e.done?t(e.value):((n=e.value)instanceof i?n:new i(function(t){t(n)})).then(o,l)}s((a=a.apply(n,r||[])).next())})};function fD(t){let{min:e,max:n}=t;return[[e[0],e[1]],[n[0],n[1]]]}function fF(t,e){let[n,r]=t,[i,a]=e;return n>=i[0]&&n<=a[0]&&r>=i[1]&&r<=a[1]}function fz(){let t=new Map;return[e=>t.get(e),(e,n)=>t.set(e,n)]}function f$(t){let e=t/255;return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}function fW(t,e,n){return .2126*f$(t)+.7152*f$(e)+.0722*f$(n)}function fH(t,e){let{r:n,g:r,b:i}=t,{r:a,g:o,b:l}=e,s=fW(n,r,i),c=fW(a,o,l);return(Math.max(s,c)+.05)/(Math.min(s,c)+.05)}fN.props={};let fG=(t,e)=>{let[[n,r],[i,a]]=e,[[o,l],[s,c]]=t,u=0,f=0;return oi&&(u=i-s),la&&(f=a-c),[u,f]};var fq=n(30348),fV=n(70603);function fY(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if((0,nd.Qp)(t)||Array.isArray(t)&&r)return t;let i=(0,nd.hB)(t,e);return E(n,i)}function fU(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,nd.Qp)(t)||Array.isArray(t)||!fQ(t)?t:E(e,t)}function fQ(t){if(0===Object.keys(t).length)return!0;let{title:e,items:n}=t;return void 0!==e||void 0!==n}function fK(t,e){return"object"==typeof t?(0,nd.hB)(t,e):t}var fX=n(60261),fJ=n(33487),f0=n(84699),f1=n(58271),f2=n(72051),f5=n(26477),f3=n(75053),f4=n(40552),f6=n(11261),f8=n(40916),f7=n(93437),f9=n(32427),dt=n(23007),de=n(38839),dn=n(50435),dr=n(30378),di=n(17421),da=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function dl(t){let{data:e}=t;if(Array.isArray(e))return Object.assign(Object.assign({},t),{data:{value:e}});let{type:n}=e;return"graticule10"===n?Object.assign(Object.assign({},t),{data:{value:[(0,fV.e)()]}}):"sphere"===n?Object.assign(Object.assign({},t),{sphere:!0,data:{value:[{type:"Sphere"}]}}):t}function ds(t){return"geoPath"===t.type}let dc=()=>t=>{let e;let{children:n,coordinate:r={}}=t;if(!Array.isArray(n))return[];let{type:i="equalEarth"}=r,a=da(r,["type"]),o=function(t){if("function"==typeof t)return t;let e="geo".concat(os(t)),n=s[e];if(!n)throw Error("Unknown coordinate: ".concat(t));return n}(i),l=n.map(dl);return[Object.assign(Object.assign({},t),{type:"view",scale:{x:{type:"identity"},y:{type:"identity"}},axis:!1,coordinate:{type:function(){return[["custom",(t,n,r,i)=>{let s=o();!function(t,e,n,r){let{outline:i=(()=>{let t=e.filter(ds),n=t.find(t=>t.sphere);return n?{type:"Sphere"}:{type:"FeatureCollection",features:t.filter(t=>!t.sphere).flatMap(t=>t.data.value).flatMap(t=>(function(t){if(!t||!t.type)return null;let e={Point:"geometry",MultiPoint:"geometry",LineString:"geometry",MultiLineString:"geometry",Polygon:"geometry",MultiPolygon:"geometry",GeometryCollection:"geometry",Feature:"feature",FeatureCollection:"featureCollection"}[t.type];return e?"geometry"===e?{type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:t}]}:"feature"===e?{type:"FeatureCollection",features:[t]}:"featureCollection"===e?t:void 0:null})(t).features)}})()}=r,{size:a="fitExtent"}=r;"fitExtent"===a?function(t,e,n){let{x:r,y:i,width:a,height:o}=n;t.fitExtent([[r,i],[a,o]],e)}(t,i,n):"fitWidth"===a&&function(t,e,n){let{width:r,height:i}=n,[[a,o],[l,s]]=(0,fq.Z)(t.fitWidth(r,e)).bounds(e),c=Math.ceil(s-o),u=Math.min(Math.ceil(l-a),c),f=t.scale()*(u-1)/u,[d,h]=t.translate();t.scale(f).translate([d,h+(i-c)/2]).precision(.2)}(t,i,n)}(s,l,{x:t,y:n,width:r,height:i},a),function(t,e){var n;for(let[r,i]of Object.entries(e))null===(n=t[r])||void 0===n||n.call(t,i)}(s,a),e=(0,fq.Z)(s);let c=new eP({domain:[t,t+r]}),u=new eP({domain:[n,n+i]}),f=t=>{let e=s(t);if(!e)return[null,null];let[n,r]=e;return[c.map(n),u.map(r)]},d=t=>{if(!t)return null;let[e,n]=t,r=[c.invert(e),u.invert(n)];return s.invert(r)};return{transform:t=>f(t),untransform:t=>d(t)}}]]}},children:l.flatMap(t=>ds(t)?function(t){let{style:n,tooltip:r={}}=t;return Object.assign(Object.assign({},t),{type:"path",tooltip:fU(r,{title:"id",items:[{channel:"color"}]}),style:Object.assign(Object.assign({},n),{d:t=>e(t)||[]})})}(t):t)})]};dc.props={};var du=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let df=()=>t=>{let{type:e,data:n,scale:r,encode:i,style:a,animate:o,key:l,state:s}=t,c=du(t,["type","data","scale","encode","style","animate","key","state"]);return[Object.assign(Object.assign({type:"geoView"},c),{children:[{type:"geoPath",key:"".concat(l,"-0"),data:{value:n},scale:r,encode:i,style:a,animate:o,state:s}]})]};df.props={};var dd=n(61940),dh=n(58571),dp=n(69299),dg=n(77715),dm=n(26464),dy=n(32878),dv=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let db={joint:!0},dx={type:"link",axis:!1,legend:!1,encode:{x:[t=>t.source.x,t=>t.target.x],y:[t=>t.source.y,t=>t.target.y]},style:{stroke:"#999",strokeOpacity:.6}},dO={type:"point",axis:!1,legend:!1,encode:{x:"x",y:"y",size:5,color:"group",shape:"point"},style:{stroke:"#fff"}},dw={text:""},d_=t=>{let{data:e,encode:n={},scale:r,style:i={},layout:a={},nodeLabels:o=[],linkLabels:l=[],animate:s={},tooltip:c={}}=t,{nodeKey:u=t=>t.id,linkKey:f=t=>t.id}=n,d=dv(n,["nodeKey","linkKey"]),h=Object.assign({nodeKey:u,linkKey:f},d),p=(0,nd.hB)(h,"node"),g=(0,nd.hB)(h,"link"),{links:m,nodes:y}=nE(e,h),{nodesData:v,linksData:b}=function(t,e,n){let{nodes:r,links:i}=t,{joint:a,nodeStrength:o,linkStrength:l}=e,{nodeKey:s=t=>t.id,linkKey:c=t=>t.id}=n,u=(0,dd.Z)(),f=(0,dh.Z)(i).id(nA(c));"function"==typeof o&&u.strength(o),"function"==typeof l&&f.strength(l);let d=(0,dp.Z)(r).force("link",f).force("charge",u);a?d.force("center",(0,dg.Z)()):d.force("x",(0,dm.Z)()).force("y",(0,dy.Z)()),d.stop();let h=Math.ceil(Math.log(d.alphaMin())/Math.log(1-d.alphaDecay()));for(let t=0;t({name:"source",value:nA(f)(t.source)}),t=>({name:"target",value:nA(f)(t.target)})]}),O=fY(c,"node",{items:[t=>({name:"key",value:nA(u)(t)})]},!0);return[E({},dx,{data:b,encode:g,labels:l,style:(0,nd.hB)(i,"link"),tooltip:x,animate:fK(s,"link")}),E({},dO,{data:v,encode:Object.assign({},p),scale:r,style:(0,nd.hB)(i,"node"),tooltip:O,labels:[Object.assign(Object.assign({},dw),(0,nd.hB)(i,"label")),...o],animate:fK(s,"link")})]};d_.props={};var dk=n(81594),dM=n(95608);let dC=t=>e=>n=>{let{field:r="value",nodeSize:i,separation:a,sortBy:o,as:l=["x","y"]}=e,[s,c]=l,u=(0,cn.ZP)(n,t=>t.children).sum(t=>t[r]).sort(o),f=t();f.size([1,1]),i&&f.nodeSize(i),a&&f.separation(a),f(u);let d=[];u.each(t=>{t[s]=t.x,t[c]=t.y,t.name=t.data.name,d.push(t)});let h=u.links();return h.forEach(t=>{t[s]=[t.source[s],t.target[s]],t[c]=[t.source[c],t.target[c]]}),{nodes:d,edges:h}},dj=t=>dC(dM.Z)(t);dj.props={};let dA=t=>dC(dk.Z)(t);dA.props={};let dS={sortBy:(t,e)=>e.value-t.value},dE={axis:!1,legend:!1,type:"point",encode:{x:"x",y:"y",size:2,shape:"point"}},dP={type:"link",encode:{x:"x",y:"y",shape:"smooth"}},dR={text:"",fontSize:10},dT=t=>{let{data:e,encode:n={},scale:r={},style:i={},layout:a={},nodeLabels:o=[],linkLabels:l=[],animate:s={},tooltip:c={}}=t,u=null==n?void 0:n.value,{nodes:f,edges:d}=dA(Object.assign(Object.assign(Object.assign({},dS),a),{field:u}))(e),h=fY(c,"node",{title:"name",items:["value"]},!0),p=fY(c,"link",{title:"",items:[t=>({name:"source",value:t.source.name}),t=>({name:"target",value:t.target.name})]});return[E({},dP,{data:d,encode:(0,nd.hB)(n,"link"),scale:(0,nd.hB)(r,"link"),labels:l,style:Object.assign({stroke:"#999"},(0,nd.hB)(i,"link")),tooltip:p,animate:fK(s,"link")}),E({},dE,{data:f,scale:(0,nd.hB)(r,"node"),encode:(0,nd.hB)(n,"node"),labels:[Object.assign(Object.assign({},dR),(0,nd.hB)(i,"label")),...o],style:Object.assign({},(0,nd.hB)(i,"node")),tooltip:h,animate:fK(s,"node")})]};dT.props={};var dZ=n(45571),dL=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let dB=(t,e)=>({size:[t,e],padding:0,sort:(t,e)=>e.value-t.value}),dI=(t,e,n)=>({type:"point",axis:!1,legend:!1,scale:{x:{domain:[0,t]},y:{domain:[0,e]},size:{type:"identity"}},encode:{x:"x",y:"y",size:"r",shape:"point"},style:{fill:n.color?void 0:t=>0===t.height?"#ddd":"#fff",stroke:n.color?void 0:t=>0===t.height?"":"#000"}}),dN={text:"",position:"inside",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:t=>2*t.r},dD={title:t=>t.data.name,items:[{field:"value"}]},dF=(t,e,n)=>{let{value:r}=n,i=A(t)?(0,ce.Z)().path(e.path)(t):(0,cn.ZP)(t);return r?i.sum(t=>nA(r)(t)).sort(e.sort):i.count(),(0,dZ.Z)().size(e.size).padding(e.padding)(i),i.descendants()},dz=(t,e)=>{let{width:n,height:r}=e,{data:i,encode:a={},scale:o={},style:l={},layout:s={},labels:c=[],tooltip:u={}}=t,f=dL(t,["data","encode","scale","style","layout","labels","tooltip"]),d=dI(n,r,a),h=dF(i,E({},dB(n,r),s),E({},d.encode,a)),p=(0,nd.hB)(l,"label");return E({},d,Object.assign(Object.assign({data:h,encode:a,scale:o,style:l,labels:[Object.assign(Object.assign({},dN),p),...c]},f),{tooltip:fU(u,dD),axis:!1}))};function d$(t){return t.target.depth}function dW(t,e){return t.sourceLinks.length?t.depth:e-1}function dH(t){return function(){return t}}function dG(t,e){return dV(t.source,e.source)||t.index-e.index}function dq(t,e){return dV(t.target,e.target)||t.index-e.index}function dV(t,e){return t.y0-e.y0}function dY(t){return t.value}function dU(t){return t.index}function dQ(t){return t.nodes}function dK(t){return t.links}function dX(t,e){let n=t.get(e);if(!n)throw Error("missing: "+e);return n}function dJ(t){let{nodes:e}=t;for(let t of e){let e=t.y0,n=e;for(let n of t.sourceLinks)n.y0=e+n.width/2,e+=n.width;for(let e of t.targetLinks)e.y1=n+e.width/2,n+=e.width}}dz.props={};let d0={nodeAlign:"justify",nodeWidth:.008,nodePadding:.03,nodes:t=>t.nodes,links:t=>t.links,nodeSort:void 0,linkSort:void 0,iterations:6},d1={left:function(t){return t.depth},right:function(t,e){return e-1-t.height},center:function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?(0,aS.Z)(t.sourceLinks,d$)-1:0},justify:dW},d2=t=>e=>{let{nodeId:n,nodeSort:r,nodeAlign:i,nodeWidth:a,nodePadding:o,nodeDepth:l,nodes:s,links:c,linkSort:u,iterations:f}=Object.assign({},d0,t),d=(function(){let t,e,n,r=0,i=0,a=1,o=1,l=24,s=8,c,u=dU,f=dW,d=dQ,h=dK,p=6;function g(g){let y={nodes:d(g),links:h(g)};return function(t){let{nodes:e,links:r}=t;e.forEach((t,e)=>{t.index=e,t.sourceLinks=[],t.targetLinks=[]});let i=new Map(e.map(t=>[u(t),t]));if(r.forEach((t,e)=>{t.index=e;let{source:n,target:r}=t;"object"!=typeof n&&(n=t.source=dX(i,n)),"object"!=typeof r&&(r=t.target=dX(i,r)),n.sourceLinks.push(t),r.targetLinks.push(t)}),null!=n)for(let{sourceLinks:t,targetLinks:r}of e)t.sort(n),r.sort(n)}(y),function(t){let{nodes:e}=t;for(let t of e)t.value=void 0===t.fixedValue?Math.max((0,ud.Z)(t.sourceLinks,dY),(0,ud.Z)(t.targetLinks,dY)):t.fixedValue}(y),function(e){let{nodes:n}=e,r=n.length,i=new Set(n),a=new Set,o=0;for(;i.size;){if(i.forEach(t=>{for(let{target:e}of(t.depth=o,t.sourceLinks))a.add(e)}),++o>r)throw Error("circular link");i=a,a=new Set}if(t){let e;let r=Math.max((0,aE.Z)(n,t=>t.depth)+1,0);for(let i=0;i{for(let{source:e}of(t.height=a,t.targetLinks))i.add(e)}),++a>n)throw Error("circular link");r=i,i=new Set}}(y),function(t){let u=function(t){let{nodes:n}=t,i=Math.max((0,aE.Z)(n,t=>t.depth)+1,0),o=(a-r-l)/(i-1),s=Array(i).fill(0).map(()=>[]);for(let t of n){let e=Math.max(0,Math.min(i-1,Math.floor(f.call(null,t,i))));t.layer=e,t.x0=r+e*o,t.x1=t.x0+l,s[e]?s[e].push(t):s[e]=[t]}if(e)for(let t of s)t.sort(e);return s}(t);c=Math.min(s,(o-i)/((0,aE.Z)(u,t=>t.length)-1)),function(t){let e=(0,aS.Z)(t,t=>(o-i-(t.length-1)*c)/(0,ud.Z)(t,dY));for(let r of t){let t=i;for(let n of r)for(let r of(n.y0=t,n.y1=t+n.value*e,t=n.y1+c,n.sourceLinks))r.width=r.value*e;t=(o-t+c)/(r.length+1);for(let e=0;e=0;--a){let i=t[a];for(let t of i){let e=0,r=0;for(let{target:n,value:i}of t.sourceLinks){let a=i*(n.layer-t.layer);e+=function(t,e){let n=e.y0-(e.targetLinks.length-1)*c/2;for(let{source:r,width:i}of e.targetLinks){if(r===t)break;n+=i+c}for(let{target:r,width:i}of t.sourceLinks){if(r===e)break;n-=i}return n}(t,n)*a,r+=a}if(!(r>0))continue;let i=(e/r-t.y0)*n;t.y0+=i,t.y1+=i,b(t)}void 0===e&&i.sort(dV),i.length&&m(i,r)}})(u,n,r),function(t,n,r){for(let i=1,a=t.length;i0))continue;let i=(e/r-t.y0)*n;t.y0+=i,t.y1+=i,b(t)}void 0===e&&a.sort(dV),a.length&&m(a,r)}}(u,n,r)}}(y),dJ(y),y}function m(t,e){let n=t.length>>1,r=t[n];v(t,r.y0-c,n-1,e),y(t,r.y1+c,n+1,e),v(t,o,t.length-1,e),y(t,i,0,e)}function y(t,e,n,r){for(;n1e-6&&(i.y0+=a,i.y1+=a),e=i.y1+c}}function v(t,e,n,r){for(;n>=0;--n){let i=t[n],a=(i.y1-e)*r;a>1e-6&&(i.y0-=a,i.y1-=a),e=i.y0-c}}function b(t){let{sourceLinks:e,targetLinks:r}=t;if(void 0===n){for(let{source:{sourceLinks:t}}of r)t.sort(dq);for(let{target:{targetLinks:t}}of e)t.sort(dG)}}return g.update=function(t){return dJ(t),t},g.nodeId=function(t){return arguments.length?(u="function"==typeof t?t:dH(t),g):u},g.nodeAlign=function(t){return arguments.length?(f="function"==typeof t?t:dH(t),g):f},g.nodeDepth=function(e){return arguments.length?(t=e,g):t},g.nodeSort=function(t){return arguments.length?(e=t,g):e},g.nodeWidth=function(t){return arguments.length?(l=+t,g):l},g.nodePadding=function(t){return arguments.length?(s=c=+t,g):s},g.nodes=function(t){return arguments.length?(d="function"==typeof t?t:dH(t),g):d},g.links=function(t){return arguments.length?(h="function"==typeof t?t:dH(t),g):h},g.linkSort=function(t){return arguments.length?(n=t,g):n},g.size=function(t){return arguments.length?(r=i=0,a=+t[0],o=+t[1],g):[a-r,o-i]},g.extent=function(t){return arguments.length?(r=+t[0][0],a=+t[1][0],i=+t[0][1],o=+t[1][1],g):[[r,i],[a,o]]},g.iterations=function(t){return arguments.length?(p=+t,g):p},g})().nodeSort(r).linkSort(u).links(c).nodes(s).nodeWidth(a).nodePadding(o).nodeDepth(l).nodeAlign(function(t){let e=typeof t;return"string"===e?d1[t]||dW:"function"===e?t:dW}(i)).iterations(f).extent([[0,0],[1,1]]);"function"==typeof n&&d.nodeId(n);let h=d(e),{nodes:p,links:g}=h,m=p.map(t=>{let{x0:e,x1:n,y0:r,y1:i}=t;return Object.assign(Object.assign({},t),{x:[e,n,n,e],y:[r,r,i,i]})}),y=g.map(t=>{let{source:e,target:n}=t,r=e.x1,i=n.x0,a=t.width/2;return Object.assign(Object.assign({},t),{x:[r,r,i,i],y:[t.y0+a,t.y0-a,t.y1+a,t.y1-a]})});return{nodes:m,links:y}};d2.props={};var d5=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let d3={nodeId:t=>t.key,nodeWidth:.02,nodePadding:.02},d4={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{stroke:"#000"}},d6={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{fillOpacity:.5,stroke:void 0}},d8={textAlign:t=>t.x[0]<.5?"start":"end",position:t=>t.x[0]<.5?"right":"left",fontSize:10},d7=t=>{let{data:e,encode:n={},scale:r,style:i={},layout:a={},nodeLabels:o=[],linkLabels:l=[],animate:s={},tooltip:c={}}=t,{links:u,nodes:f}=nE(e,n),d=(0,nd.hB)(n,"node"),h=(0,nd.hB)(n,"link"),{key:p=t=>t.key,color:g=p}=d,{links:m,nodes:y}=d2(Object.assign(Object.assign(Object.assign({},d3),{nodeId:nA(p)}),a))({links:u,nodes:f}),v=(0,nd.hB)(i,"label"),{text:b=p,spacing:x=5}=v,O=d5(v,["text","spacing"]),w=nA(p),_=fY(c,"node",{title:w,items:[{field:"value"}]},!0),k=fY(c,"link",{title:"",items:[t=>({name:"source",value:w(t.source)}),t=>({name:"target",value:w(t.target)})]});return[E({},d4,{data:y,encode:Object.assign(Object.assign({},d),{color:g}),scale:r,style:(0,nd.hB)(i,"node"),labels:[Object.assign(Object.assign(Object.assign({},d8),{text:b,dx:t=>t.x[0]<.5?x:-x}),O),...o],tooltip:_,animate:fK(s,"node"),axis:!1}),E({},d6,{data:m,encode:h,labels:l,style:Object.assign({fill:h.color?void 0:"#aaa",lineWidth:0},(0,nd.hB)(i,"link")),tooltip:k,animate:fK(s,"link")})]};function d9(t,e){return e.value-t.value}function ht(t,e){return e.frequency-t.frequency}function he(t,e){return"".concat(t.id).localeCompare("".concat(e.id))}function hn(t,e){return"".concat(t.name).localeCompare("".concat(e.name))}d7.props={};let hr={y:0,thickness:.05,weight:!1,marginRatio:.1,id:t=>t.id,source:t=>t.source,target:t=>t.target,sourceWeight:t=>t.value||1,targetWeight:t=>t.value||1,sortBy:null},hi=t=>e=>(function(t){let{y:e,thickness:n,weight:r,marginRatio:i,id:a,source:o,target:l,sourceWeight:s,targetWeight:u,sortBy:f}=Object.assign(Object.assign({},hr),t);return function(t){let d=t.nodes.map(t=>Object.assign({},t)),h=t.edges.map(t=>Object.assign({},t));return function(t,e){e.forEach(t=>{t.source=o(t),t.target=l(t),t.sourceWeight=s(t),t.targetWeight=u(t)});let n=(0,nB.ZP)(e,t=>t.source),r=(0,nB.ZP)(e,t=>t.target);t.forEach(t=>{t.id=a(t);let e=n.has(t.id)?n.get(t.id):[],i=r.has(t.id)?r.get(t.id):[];t.frequency=e.length+i.length,t.value=(0,ud.Z)(e,t=>t.sourceWeight)+(0,ud.Z)(i,t=>t.targetWeight)})}(d,h),function(t,e){let n="function"==typeof f?f:c[f];n&&t.sort(n)}(d,0),function(t,a){let o=t.length;if(!o)throw(0,nd.vU)("Invalid nodes: it's empty!");if(!r){let n=1/o;return t.forEach((t,r)=>{t.x=(r+.5)*n,t.y=e})}let l=i/(2*o),s=t.reduce((t,e)=>t+=e.value,0);t.reduce((t,r)=>{r.weight=r.value/s,r.width=r.weight*(1-i),r.height=n;let a=l+t,o=a+r.width,c=e-n/2,u=c+n;return r.x=[a,o,o,a],r.y=[c,c,u,u],t+r.width+2*l},0)}(d,0),function(t,n){let i=new Map(t.map(t=>[t.id,t]));if(!r)return n.forEach(t=>{let e=o(t),n=l(t),r=i.get(e),a=i.get(n);r&&a&&(t.x=[r.x,a.x],t.y=[r.y,a.y])});n.forEach(t=>{t.x=[0,0,0,0],t.y=[e,e,e,e]});let a=(0,nB.ZP)(n,t=>t.source),s=(0,nB.ZP)(n,t=>t.target);t.forEach(t=>{let{edges:e,width:n,x:r,y:i,value:o,id:l}=t,c=a.get(l)||[],u=s.get(l)||[],f=0;c.map(t=>{let e=t.sourceWeight/o*n;t.x[0]=r[0]+f,t.x[1]=r[0]+f+e,f+=e}),u.forEach(t=>{let e=t.targetWeight/o*n;t.x[3]=r[0]+f,t.x[2]=r[0]+f+e,f+=e})})}(d,h),{nodes:d,edges:h}}})(t)(e);hi.props={};var ha=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let ho={y:0,thickness:.05,marginRatio:.1,id:t=>t.key,source:t=>t.source,target:t=>t.target,sourceWeight:t=>t.value||1,targetWeight:t=>t.value||1,sortBy:null},hl={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{opacity:1,fillOpacity:1,lineWidth:1}},hs={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{opacity:.5,lineWidth:1}},hc={position:"outside",fontSize:10},hu=(t,e)=>{let{data:n,encode:r={},scale:i,style:a={},layout:o={},nodeLabels:l=[],linkLabels:s=[],animate:c={},tooltip:u={}}=t,{nodes:f,links:d}=nE(n,r),h=(0,nd.hB)(r,"node"),p=(0,nd.hB)(r,"link"),{key:g=t=>t.key,color:m=g}=h,{linkEncodeColor:y=t=>t.source}=p,{nodeWidthRatio:v=ho.thickness,nodePaddingRatio:b=ho.marginRatio}=o,x=ha(o,["nodeWidthRatio","nodePaddingRatio"]),{nodes:O,edges:w}=hi(Object.assign(Object.assign(Object.assign(Object.assign({},ho),{id:nA(g),thickness:v,marginRatio:b}),x),{weight:!0}))({nodes:f,edges:d}),_=(0,nd.hB)(a,"label"),{text:k=g}=_,M=ha(_,["text"]),C=fY(u,"node",{title:"",items:[t=>({name:t.key,value:t.value})]},!0),j=fY(u,"link",{title:"",items:[t=>({name:"".concat(t.source," -> ").concat(t.target),value:t.value})]}),{height:A,width:S}=e,P=Math.min(A,S);return[E({},hs,{data:w,encode:Object.assign(Object.assign({},p),{color:y}),labels:s,style:Object.assign({fill:y?void 0:"#aaa"},(0,nd.hB)(a,"link")),tooltip:j,animate:fK(c,"link")}),E({},hl,{data:O,encode:Object.assign(Object.assign({},h),{color:m}),scale:i,style:(0,nd.hB)(a,"node"),coordinate:{type:"polar",outerRadius:(P-20)/P,startAngle:-(2*Math.PI),endAngle:0},labels:[Object.assign(Object.assign(Object.assign({},hc),{text:k}),M),...l],tooltip:C,animate:fK(c,"node"),axis:!1})]};hu.props={};var hf=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let hd=(t,e)=>({tile:"treemapSquarify",ratio:.5*(1+Math.sqrt(5)),size:[t,e],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,sort:(t,e)=>e.value-t.value,layer:0}),hh=(t,e)=>({type:"rect",axis:!1,encode:{x:"x",y:"y",key:"id",color:t=>t.path[1]},scale:{x:{domain:[0,t],range:[0,1]},y:{domain:[0,e],range:[0,1]}},style:{stroke:"#fff"},state:{active:{opacity:.6},inactive:{opacity:1}}}),hp={fontSize:10,text:t=>oP(t.path),position:"inside",fill:"#000",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:t=>t.x1-t.x0},hg={title:t=>{var e,n;return null===(n=null===(e=t.path)||void 0===e?void 0:e.join)||void 0===n?void 0:n.call(e,".")},items:[{field:"value"}]},hm={title:t=>oP(t.path),items:[{field:"value"}]},hy=(t,e)=>{let{width:n,height:r,options:i}=e,{data:a,encode:o={},scale:l,style:s={},layout:c={},labels:u=[],tooltip:f={}}=t,d=hf(t,["data","encode","scale","style","layout","labels","tooltip"]),h=s3(i,["interaction","treemapDrillDown"]),p=E({},hd(n,r),c,{layer:h?t=>1===t.depth:c.layer}),[g,m]=cu(a,p,o),y=(0,nd.hB)(s,"label");return E({},hh(n,r),Object.assign(Object.assign({data:g,scale:l,style:s,labels:[Object.assign(Object.assign({},hp),y),...u]},d),{encode:o,tooltip:fU(f,hg),axis:!1}),h?{interaction:Object.assign(Object.assign({},d.interaction),{treemapDrillDown:h?Object.assign(Object.assign({},h),{originData:m,layout:p}):void 0}),encode:Object.assign({color:t=>oP(t.path)},o),tooltip:fU(f,hm)}:{})};hy.props={};var hv=n(51758),hb=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function hx(t,e){return(0,aS.Z)(t,t=>e[t])}function hO(t,e){return(0,aE.Z)(t,t=>e[t])}function hw(t,e){let n=2.5*h_(t,e)-1.5*hM(t,e);return(0,aS.Z)(t,t=>e[t]>=n?e[t]:NaN)}function h_(t,e){return(0,hv.Z)(t,.25,t=>e[t])}function hk(t,e){return(0,hv.Z)(t,.5,t=>e[t])}function hM(t,e){return(0,hv.Z)(t,.75,t=>e[t])}function hC(t,e){let n=2.5*hM(t,e)-1.5*h_(t,e);return(0,aE.Z)(t,t=>e[t]<=n?e[t]:NaN)}function hj(){return(t,e)=>{let{encode:n}=e,{y:r,x:i}=n,{value:a}=r,{value:o}=i,l=Array.from((0,nB.ZP)(t,t=>o[+t]).values()),s=l.flatMap(t=>{let e=hw(t,a),n=hC(t,a);return t.filter(t=>a[t]n)});return[s,e]}}let hA=t=>{let{data:e,encode:n,style:r={},tooltip:i={},transform:a,animate:o}=t,l=hb(t,["data","encode","style","tooltip","transform","animate"]),{point:s=!0}=r,c=hb(r,["point"]),{y:u}=n,f={y:u,y1:u,y2:u,y3:u,y4:u},d={y1:h_,y2:hk,y3:hM},h=fY(i,"box",{items:[{channel:"y",name:"min"},{channel:"y1",name:"q1"},{channel:"y2",name:"q2"},{channel:"y3",name:"q3"},{channel:"y4",name:"max"}]},!0),p=fY(i,"point",{title:{channel:"x"},items:[{name:"outlier",channel:"y"}]});if(!s)return Object.assign({type:"box",data:e,transform:[Object.assign(Object.assign({type:"groupX",y:hx},d),{y4:hO})],encode:Object.assign(Object.assign({},n),f),style:c,tooltip:h},l);let g=(0,nd.hB)(c,"box"),m=(0,nd.hB)(c,"point");return[Object.assign({type:"box",data:e,transform:[Object.assign(Object.assign({type:"groupX",y:hw},d),{y4:hC})],encode:Object.assign(Object.assign({},n),f),style:g,tooltip:h,animate:fK(o,"box")},l),{type:"point",data:e,transform:[{type:hj}],encode:n,style:Object.assign({},m),tooltip:p,animate:fK(o,"point")}]};hA.props={};let hS=(t,e)=>Math.sqrt(Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2))/2,hE=(t,e)=>{if(!e)return;let{coordinate:n}=e;if(!(null==n?void 0:n.getCenter))return;let r=n.getCenter();return(n,i,a)=>{let{document:o}=e.canvas,{color:l,index:s}=i,c=o.createElement("g",{}),u=hS(n[0],n[1]),f=2*hS(n[0],r),d=o.createElement("path",{style:Object.assign(Object.assign(Object.assign({d:[["M",...n[0]],["A",u,u,0,1,0,...n[1]],["A",f+2*u,f+2*u,0,0,0,...n[2]],["A",u,u,0,1,0===s?0:1,...n[3]],["A",f,f,0,0,1,...n[0]],["Z"]]},a),oo(t,["shape","last","first"])),{fill:l||a.color})});return c.appendChild(d),c}};var hP=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let hR={coordinate:{type:"radial",innerRadius:.9,outerRadius:1,startAngle:-1.1*Math.PI,endAngle:.1*Math.PI},axis:{x:!1},legend:!1,tooltip:!1,encode:{x:"x",y:"y",color:"color"},scale:{color:{range:["#30BF78","#D0D0D0"]}}},hT={style:{shape:(t,e)=>{let{shape:n,radius:r}=t,i=hP(t,["shape","radius"]),a=(0,nd.hB)(i,"pointer"),o=(0,nd.hB)(i,"pin"),{shape:l}=a,s=hP(a,["shape"]),{shape:c}=o,u=hP(o,["shape"]),{coordinate:f,theme:d}=e;return(t,e)=>{let n=t.map(t=>f.invert(t)),[a,o,h]=function(t,e){let{transformations:n}=t.getOptions(),[,...r]=n.find(t=>t[0]===e);return r}(f,"polar"),p=f.clone(),{color:g}=e,m=O({startAngle:a,endAngle:o,innerRadius:h,outerRadius:r});m.push(["cartesian"]),p.update({transformations:m});let y=n.map(t=>p.map(t)),[v,b]=e9(y),[x,w]=f.getCenter(),_=Object.assign(Object.assign({x1:v,y1:b,x2:x,y2:w,stroke:g},s),i),k=Object.assign(Object.assign({cx:x,cy:w,stroke:g},u),i),M=(0,Q.F)(new nD.ZA);return(0,nd.Qp)(l)||("function"==typeof l?M.append(()=>l(y,e,p,d)):M.append("line").call(e2,_).node()),(0,nd.Qp)(c)||("function"==typeof c?M.append(()=>c(y,e,p,d)):M.append("circle").call(e2,k).node()),M.node()}},lineWidth:4,pointerLineCap:"round",pinR:10,pinFill:"#fff",radius:.6}},hZ={type:"text",style:{x:"50%",y:"60%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"}},hL=t=>{let{data:e={},scale:n={},style:r={},animate:i={},transform:a=[]}=t,o=hP(t,["data","scale","style","animate","transform"]),{targetData:l,totalData:s,target:c,total:u,scale:f}=function(t,e){let{name:n="score",target:r,total:i,percent:a,thresholds:o=[]}=function(t){if(eQ(t)){let e=Math.max(0,Math.min(t,1));return{percent:e,target:e,total:1}}return t}(t),l=a||r,s=a?1:i,c=Object.assign({y:{domain:[0,s]}},e);return o.length?{targetData:[{x:n,y:l,color:"target"}],totalData:o.map((t,e)=>({x:n,y:e>=1?t-o[e-1]:t,color:e})),target:l,total:s,scale:c}:{targetData:[{x:n,y:l,color:"target"}],totalData:[{x:n,y:l,color:"target"},{x:n,y:s-l,color:"total"}],target:l,total:s,scale:c}}(e,n),d=(0,nd.hB)(r,"text"),h=(0,nd.b5)(r,["pointer","pin"]),p=(0,nd.hB)(r,"arc"),g=p.shape;return[E({},hR,Object.assign({type:"interval",transform:[{type:"stackY"}],data:s,scale:f,style:"round"===g?Object.assign(Object.assign({},p),{shape:hE}):p,animate:"object"==typeof i?(0,nd.hB)(i,"arc"):i},o)),E({},hR,hT,Object.assign({type:"point",data:l,scale:f,style:h,animate:"object"==typeof i?(0,nd.hB)(i,"indicator"):i},o)),E({},hZ,{style:Object.assign({text:function(t,e){let{target:n,total:r}=e,{content:i}=t;return i?i(n,r):n.toString()}(d,{target:c,total:u})},d),animate:"object"==typeof i?(0,nd.hB)(i,"text"):i})]};hL.props={};let hB={pin:function(t,e,n){let r=4*n/3,i=Math.max(r,2*n),a=r/2,o=a+e-i/2,l=Math.asin(a/((i-a)*.85)),s=Math.sin(l)*a,c=Math.cos(l)*a,u=t-c,f=o+s,d=o+a/Math.sin(l);return"\n M ".concat(u," ").concat(f,"\n A ").concat(a," ").concat(a," 0 1 1 ").concat(u+2*c," ").concat(f,"\n Q ").concat(t," ").concat(d," ").concat(t," ").concat(e+i/2,"\n Q ").concat(t," ").concat(d," ").concat(u," ").concat(f,"\n Z \n ")},rect:function(t,e,n){let r=.618*n;return"\n M ".concat(t-r," ").concat(e-n,"\n L ").concat(t+r," ").concat(e-n,"\n L ").concat(t+r," ").concat(e+n,"\n L ").concat(t-r," ").concat(e+n,"\n Z\n ")},circle:function(t,e,n){return"\n M ".concat(t," ").concat(e-n," \n a ").concat(n," ").concat(n," 0 1 0 0 ").concat(2*n,"\n a ").concat(n," ").concat(n," 0 1 0 0 ").concat(-(2*n),"\n Z\n ")},diamond:function(t,e,n){return"\n M ".concat(t," ").concat(e-n,"\n L ").concat(t+n," ").concat(e,"\n L ").concat(t," ").concat(e+n,"\n L ").concat(t-n," ").concat(e,"\n Z\n ")},triangle:function(t,e,n){return"\n M ".concat(t," ").concat(e-n,"\n L ").concat(t+n," ").concat(e+n,"\n L ").concat(t-n," ").concat(e+n,"\n Z\n ")}};var hI=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let hN=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"circle";return hB[t]||hB.circle},hD=(t,e)=>{if(!e)return;let{coordinate:n}=e,{liquidOptions:r,styleOptions:i}=t,{liquidShape:a,percent:o}=r,{background:l,outline:s={},wave:c={}}=i,u=hI(i,["background","outline","wave"]),{border:f=2,distance:d=0}=s,h=hI(s,["border","distance"]),{length:p=192,count:g=3}=c;return(t,r,i)=>{let{document:s}=e.canvas,{color:c,fillOpacity:m}=i,y=Object.assign(Object.assign({fill:c},i),u),v=s.createElement("g",{}),[b,x]=n.getCenter(),O=n.getSize(),w=Math.min(...O)/2,_=s4(a)?a:hN(a),k=_(b,x,w,...O);if(Object.keys(l).length){let t=s.createElement("path",{style:Object.assign({d:k,fill:"#fff"},l)});v.appendChild(t)}if(o>0){let t=s.createElement("path",{style:{d:k}});v.appendChild(t),v.style.clipPath=t,function(t,e,n,r,i,a,o,l,s,c,u){let{fill:f,fillOpacity:d,opacity:h}=i;for(let i=0;i0;)c-=2*Math.PI;c=c/Math.PI/2*n;let u=a-t+c-2*t;s.push(["M",u,e]);let f=0;for(let t=0;te.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let hz={axis:{x:!1,y:!1},legend:!1,tooltip:!1,encode:{x:"type",y:"percent"},scale:{y:{domain:[0,1]}},style:{shape:hD},animate:{enter:{type:"fadeIn"}}},h$={type:"text",style:{x:"50%",y:"50%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"},animate:{enter:{type:"fadeIn"}}},hW=t=>{let{data:e={},style:n={},animate:r}=t,i=hF(t,["data","style","animate"]),a=Math.max(0,eQ(e)?e:null==e?void 0:e.percent),o=[{percent:a,type:"liquid"}],l=Object.assign(Object.assign({},(0,nd.hB)(n,"text")),(0,nd.hB)(n,"content")),s=(0,nd.hB)(n,"outline"),c=(0,nd.hB)(n,"wave"),u=(0,nd.hB)(n,"background");return[E({},hz,Object.assign({type:"interval",data:o,style:{liquidOptions:{percent:a,liquidShape:null==n?void 0:n.shape},styleOptions:Object.assign(Object.assign({},n),{outline:s,wave:c,background:u})},animate:r},i)),E({},h$,{style:Object.assign({text:"".concat(to(100*a)," %")},l),animate:r})]};hW.props={};var hH=n(69916);function hG(t,e){let n=function(t){let e=[];for(let n=0;ne[n].radius+1e-10)return!1;return!0}(e,t)}),i=0,a=0,o,l=[];if(r.length>1){let e=function(t){let e={x:0,y:0};for(let n=0;n-1){let i=t[e.parentIndex[r]],a=Math.atan2(e.x-i.x,e.y-i.y),o=Math.atan2(n.x-i.x,n.y-i.y),l=o-a;l<0&&(l+=2*Math.PI);let u=o-l/2,f=hV(s,{x:i.x+i.radius*Math.sin(u),y:i.y+i.radius*Math.cos(u)});f>2*i.radius&&(f=2*i.radius),(null===c||c.width>f)&&(c={circle:i,width:f,p1:e,p2:n})}null!==c&&(l.push(c),i+=hq(c.circle.radius,c.width),n=e)}}else{let e=t[0];for(o=1;oMath.abs(e.radius-t[o].radius)){n=!0;break}n?i=a=0:(i=e.radius*e.radius*Math.PI,l.push({circle:e,p1:{x:e.x,y:e.y+e.radius},p2:{x:e.x-1e-10,y:e.y+e.radius},width:2*e.radius}))}return a/=2,e&&(e.area=i+a,e.arcArea=i,e.polygonArea=a,e.arcs=l,e.innerPoints=r,e.intersectionPoints=n),i+a}function hq(t,e){return t*t*Math.acos(1-e/t)-(t-e)*Math.sqrt(e*(2*t-e))}function hV(t,e){return Math.sqrt((t.x-e.x)*(t.x-e.x)+(t.y-e.y)*(t.y-e.y))}function hY(t,e,n){if(n>=t+e)return 0;if(n<=Math.abs(t-e))return Math.PI*Math.min(t,e)*Math.min(t,e);let r=t-(n*n-e*e+t*t)/(2*n),i=e-(n*n-t*t+e*e)/(2*n);return hq(t,r)+hq(e,i)}function hU(t,e){let n=hV(t,e),r=t.radius,i=e.radius;if(n>=r+i||n<=Math.abs(r-i))return[];let a=(r*r-i*i+n*n)/(2*n),o=Math.sqrt(r*r-a*a),l=t.x+a*(e.x-t.x)/n,s=t.y+a*(e.y-t.y)/n,c=-(e.y-t.y)*(o/n),u=-(e.x-t.x)*(o/n);return[{x:l+c,y:s-u},{x:l-c,y:s+u}]}function hQ(t,e,n){return Math.min(t,e)*Math.min(t,e)*Math.PI<=n+1e-10?Math.abs(t-e):(0,hH.bisect)(function(r){return hY(t,e,r)-n},0,t+e)}function hK(t,e){let n=function(t,e){let n;let r=e&&e.lossFunction?e.lossFunction:hX,i={},a={};for(let e=0;e=Math.min(i[o].size,i[l].size)&&(r=0),a[o].push({set:l,size:n.size,weight:r}),a[l].push({set:o,size:n.size,weight:r})}let o=[];for(n in a)if(a.hasOwnProperty(n)){let t=0;for(let e=0;e=8){let i=function(t,e){let n,r,i;e=e||{};let a=e.restarts||10,o=[],l={};for(n=0;n=Math.min(e[a].size,e[o].size)?u=1:t.size<=1e-10&&(u=-1),i[a][o]=i[o][a]=u}),{distances:r,constraints:i}}(t,o,l),c=s.distances,u=s.constraints,f=(0,hH.norm2)(c.map(hH.norm2))/c.length;c=c.map(function(t){return t.map(function(t){return t/f})});let d=function(t,e){return function(t,e,n,r){let i=0,a;for(a=0;a0&&p<=f||d<0&&p>=f||(i+=2*g*g,e[2*a]+=4*g*(o-c),e[2*a+1]+=4*g*(l-u),e[2*s]+=4*g*(c-o),e[2*s+1]+=4*g*(u-l))}}return i}(t,e,c,u)};for(n=0;n{let{sets:e="sets",size:n="size",as:r=["key","path"],padding:i=0}=t,[a,o]=r;return t=>{let r;let l=t.map(t=>Object.assign(Object.assign({},t),{sets:t[e],size:t[n],[a]:t.sets.join("&")}));l.sort((t,e)=>t.sets.length-e.sets.length);let s=function(t,e){let n;(e=e||{}).maxIterations=e.maxIterations||500;let r=e.initialLayout||hK,i=e.lossFunction||hX;t=function(t){let e,n,r,i;t=t.slice();let a=[],o={};for(e=0;et>e?1:-1),e=0;e{let n=t[e];return Object.assign(Object.assign({},t),{[o]:t=>{let{width:e,height:a}=t;r=r||function(t,e,n,r){let i=[],a=[];for(let e in t)t.hasOwnProperty(e)&&(a.push(e),i.push(t[e]));e-=2*r,n-=2*r;let o=function(t){let e=function(e){let n=Math.max.apply(null,t.map(function(t){return t[e]+t.radius})),r=Math.min.apply(null,t.map(function(t){return t[e]-t.radius}));return{max:n,min:r}};return{xRange:e("x"),yRange:e("y")}}(i),l=o.xRange,s=o.yRange;if(l.max==l.min||s.max==s.min)return console.log("not scaling solution: zero size detected"),t;let c=e/(l.max-l.min),u=n/(s.max-s.min),f=Math.min(u,c),d=(e-(l.max-l.min)*f)/2,h=(n-(s.max-s.min)*f)/2,p={};for(let t=0;tr[t]),l=function(t){let e={};hG(t,e);let n=e.arcs;if(0===n.length)return"M 0 0";if(1==n.length){let t=n[0].circle;return function(t,e,n){let r=[],i=t-n;return r.push("M",i,e),r.push("A",n,n,0,1,0,i+2*n,e),r.push("A",n,n,0,1,0,i,e),r.join(" ")}(t.x,t.y,t.radius)}{let t=["\nM",n[0].p2.x,n[0].p2.y];for(let e=0;ei;t.push("\nA",i,i,0,a?1:0,1,r.p1.x,r.p1.y)}return t.join(" ")}}(o);return/[zZ]$/.test(l)||(l+=" Z"),l}})})}};hJ.props={};var h0=n(31989),h1=n(98875),h2=function(t,e,n){var r;return function(){var i=this,a=arguments,o=n&&!r;clearTimeout(r),r=setTimeout(function(){r=null,n||t.apply(i,a)},e),o&&t.apply(i,a)}},h5=n(90494),h3=n(17313),h4=function(t,e){if(t===e)return!0;if(!t||!e||s5(t)||s5(e))return!1;if(oE(t)||oE(e)){if(t.length!==e.length)return!1;for(var n=!0,r=0;re.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let h9=t=>{let{important:e={}}=t,n=h7(t,["important"]);return r=>{let{theme:i,coordinate:a,scales:o}=r;return oM(Object.assign(Object.assign(Object.assign({},n),function(t){let e=t%(2*Math.PI);return e===Math.PI/2?{titleTransform:"translate(0, 50%)"}:e>-Math.PI/2&&eMath.PI/2&&e<3*Math.PI/2?{titleTransform:"translate(-50%, 0)"}:{}}(t.orientation)),{important:Object.assign(Object.assign({},function(t,e,n,r){let{radar:i}=t,[a]=r,o=a.getOptions().name,[l,s]=U(n),{axisRadar:c={}}=e;return Object.assign(Object.assign({},c),{grid:"position"===o,gridConnect:"line",gridControlAngles:Array(i.count).fill(0).map((t,e)=>{let n=(s-l)/i.count;return n*e})})}(t,i,a,o)),e)}))(r)}};h9.props=Object.assign(Object.assign({},oM.props),{defaultPosition:"center"});let pt=t=>function(){for(var e=arguments.length,n=Array(e),r=0;re=>{let{scales:n}=e,r=oy(n,"size");return oI(Object.assign({},{type:"size",data:r.getTicks().map((t,e)=>({value:t,label:String(t)}))},t))(e)};pe.props=Object.assign(Object.assign({},oI.props),{defaultPosition:"top",defaultOrientation:"horizontal"});let pn=t=>pe(Object.assign({},{block:!0},t));pn.props=Object.assign(Object.assign({},oI.props),{defaultPosition:"top",defaultOrientation:"horizontal"});var pr=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let pi=function(){let{static:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e=>{let{width:n,height:r,depth:i,paddingLeft:a,paddingRight:o,paddingTop:l,paddingBottom:s,padding:c,inset:u,insetLeft:f,insetTop:d,insetRight:h,insetBottom:p,margin:g,marginLeft:m,marginBottom:y,marginTop:v,marginRight:b,data:x,coordinate:O,theme:w,component:_,interaction:k,x:M,y:C,z:j,key:A,frame:S,labelTransform:E,parentKey:P,clip:R,viewStyle:T,title:Z}=e,L=pr(e,["width","height","depth","paddingLeft","paddingRight","paddingTop","paddingBottom","padding","inset","insetLeft","insetTop","insetRight","insetBottom","margin","marginLeft","marginBottom","marginTop","marginRight","data","coordinate","theme","component","interaction","x","y","z","key","frame","labelTransform","parentKey","clip","viewStyle","title"]);return[Object.assign(Object.assign({type:"standardView",x:M,y:C,z:j,key:A,width:n,height:r,depth:i,padding:c,paddingLeft:a,paddingRight:o,paddingTop:l,inset:u,insetLeft:f,insetTop:d,insetRight:h,insetBottom:p,paddingBottom:s,theme:w,coordinate:O,component:_,interaction:k,frame:S,labelTransform:E,margin:g,marginLeft:m,marginBottom:y,marginTop:v,marginRight:b,parentKey:P,clip:R,style:T},!t&&{title:Z}),{marks:[Object.assign(Object.assign(Object.assign({},L),{key:"".concat(A,"-0"),data:x}),t&&{title:Z})]})]}};pi.props={};var pa=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let po=()=>t=>{let{children:e}=t,n=pa(t,["children"]);if(!Array.isArray(e))return[];let{data:r,scale:i={},axis:a={},legend:o={},encode:l={},transform:s=[]}=n,c=pa(n,["data","scale","axis","legend","encode","transform"]),u=e.map(t=>{var{data:e,scale:n={},axis:c={},legend:u={},encode:f={},transform:d=[]}=t,h=pa(t,["data","scale","axis","legend","encode","transform"]);return Object.assign({data:cE(e,r),scale:E({},i,n),encode:E({},l,f),transform:[...s,...d],axis:!!c&&!!a&&E({},a,c),legend:!!u&&!!o&&E({},o,u)},h)});return[Object.assign(Object.assign({},c),{marks:u,type:"standardView"})]};function pl(t,e,n,r){let i=e.length/2,a=e.slice(0,i),o=e.slice(i),l=(0,c7.Z)(a,(t,e)=>Math.abs(t[1]-o[e][1]));l=Math.max(Math.min(l,i-2),1);let s=t=>[a[t][0],(a[t][1]+o[t][1])/2],c=s(l),u=s(l-1),f=s(l+1),d=tt(K(f,u))/Math.PI*180;return{x:c[0],y:c[1],transform:"rotate(".concat(d,")"),textAlign:"center",textBaseline:"middle"}}function ps(t,e,n,r){let{bounds:i}=n,[[a,o],[l,s]]=i,c=l-a,u=s-o;return(t=>{let{x:e,y:r}=t,i=(0,nd.Lq)(n.x,c),l=(0,nd.Lq)(n.y,u);return Object.assign(Object.assign({},t),{x:(i||e)+a,y:(l||r)+o})})("left"===t?{x:0,y:u/2,textAlign:"start",textBaseline:"middle"}:"right"===t?{x:c,y:u/2,textAlign:"end",textBaseline:"middle"}:"top"===t?{x:c/2,y:0,textAlign:"center",textBaseline:"top"}:"bottom"===t?{x:c/2,y:u,textAlign:"center",textBaseline:"bottom"}:"top-left"===t?{x:0,y:0,textAlign:"start",textBaseline:"top"}:"top-right"===t?{x:c,y:0,textAlign:"end",textBaseline:"top"}:"bottom-left"===t?{x:0,y:u,textAlign:"start",textBaseline:"bottom"}:"bottom-right"===t?{x:c,y:u,textAlign:"end",textBaseline:"bottom"}:{x:c/2,y:u/2,textAlign:"center",textBaseline:"middle"})}function pc(t,e,n,r){let{y:i,y1:a,autoRotate:o,rotateToAlignArc:l}=n,s=r.getCenter(),c=e6(r,e,[i,a]),{innerRadius:u,outerRadius:f,startAngle:d,endAngle:h}=c,p="inside"===t?(d+h)/2:h,g=pf(p,o,l),m=(()=>{let[n,r]=e,[i,a]="inside"===t?pu(s,p,u+(f-u)*.5):ti(n,r);return{x:i,y:a}})();return Object.assign(Object.assign({},m),{textAlign:"inside"===t?"center":"start",textBaseline:"middle",rotate:g})}function pu(t,e,n){return[t[0]+Math.sin(e)*n,t[1]-Math.cos(e)*n]}function pf(t,e,n){if(!e)return 0;let r=n?0:0>Math.sin(t)?90:-90;return t/Math.PI*180+r}function pd(t,e,n,r){let{y:i,y1:a,autoRotate:o,rotateToAlignArc:l,radius:s=.5,offset:c=0}=n,u=e6(r,e,[i,a]),{startAngle:f,endAngle:d}=u,h=r.getCenter(),p=(f+d)/2,g=pf(p,o,l),{innerRadius:m,outerRadius:y}=u,[v,b]=pu(h,p,m+(y-m)*s+c);return Object.assign({x:v,y:b},{textAlign:"center",textBaseline:"middle",rotate:g})}function ph(t){return void 0===t?null:t}function pp(t,e,n,r){let{bounds:i}=n,[a]=i;return{x:ph(a[0]),y:ph(a[1])}}function pg(t,e,n,r){let{bounds:i}=n;if(1===i.length)return pp(t,e,n,r);let a=W(r)?pc:V(r)?pd:ps;return a(t,e,n,r)}function pm(t,e,n){let r=e6(n,t,[e.y,e.y1]),{innerRadius:i,outerRadius:a}=r;return i+(a-i)}function py(t,e,n){let r=e6(n,t,[e.y,e.y1]),{startAngle:i,endAngle:a}=r;return(i+a)/2}function pv(t,e,n,r){let{autoRotate:i,rotateToAlignArc:a,offset:o=0,connector:l=!0,connectorLength:s=o,connectorLength2:c=0,connectorDistance:u=0}=n,f=r.getCenter(),d=py(e,n,r),h=Math.sin(d)>0?1:-1,p=pf(d,i,a),g={textAlign:h>0||W(r)?"start":"end",textBaseline:"middle",rotate:p},m=pm(e,n,r),y=m+(l?s:o),[[v,b],[x,O],[w,_]]=function(t,e,n,r,i){let[a,o]=pu(t,e,n),[l,s]=pu(t,e,r),c=Math.sin(e)>0?1:-1;return[[a,o],[l,s],[l+c*i,s]]}(f,d,m,y,l?c:0),k=l?+u*h:0,M=w+k;return Object.assign(Object.assign({x0:v,y0:b,x:w+k,y:_},g),{connector:l,connectorPoints:[[x-M,O-_],[w-M,_-_]]})}function pb(t,e,n,r){let{bounds:i}=n;if(1===i.length)return pp(t,e,n,r);let a=W(r)?pc:V(r)?pv:ps;return a(t,e,n,r)}po.props={};var px=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function pO(t,e,n,r){if(!V(r))return{};let{connectorLength:i,connectorLength2:a,connectorDistance:o}=n,l=px(pv("outside",e,n,r),[]),s=r.getCenter(),c=pm(e,n,r),u=py(e,n,r),f=Math.sin(u)>0?1:-1,d=s[0]+(c+i+a+ +o)*f,{x:h}=l,p=d-h;return l.x+=p,l.connectorPoints[0][0]-=p,l}var pw=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function p_(t,e,n,r){if(!V(r))return{};let{connectorLength:i,connectorLength2:a,connectorDistance:o}=n,l=pw(pv("outside",e,n,r),[]),{x0:s,y0:c}=l,u=r.getCenter(),f=function(t){if(V(t)){let[e,n]=t.getSize(),r=t.getOptions().transformations.find(t=>"polar"===t[0]);if(r)return Math.max(e,n)/2*r[4]}return 0}(r),d=te([s-u[0],c-u[1]]),h=Math.sin(d)>0?1:-1,[p,g]=pu(u,d,f+i);return l.x=p+(a+o)*h,l.y=g,l}var pk=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let pM=(t,e)=>{let{coordinate:n,theme:r}=e,{render:i}=t;return(e,a)=>{let{text:o,x:l,y:s,transform:c="",transformOrigin:f,className:d=""}=a,h=pk(a,["text","x","y","transform","transformOrigin","className"]),p=function(t,e,n,r,i){let{position:a}=e,{render:o}=i,l=void 0!==a?a:V(n)?"inside":z(n)?"right":"top",s=o?"htmlLabel":"inside"===l?"innerLabel":"label",c=r[s],f=Object.assign({},c,e),d=u[sQ(l)];if(!d)throw Error("Unknown position: ".concat(l));return Object.assign(Object.assign({},c),d(l,t,f,n,i))}(e,a,n,r,t),{rotate:g=0,transform:m=""}=p,y=pk(p,["rotate","transform"]);return(0,Q.F)(new r6).call(e2,y).style("text","".concat(o)).style("className","".concat(d," g2-label")).style("innerHTML",i?i(o,a.datum,a.index):void 0).style("labelTransform","".concat(m," rotate(").concat(+g,") ").concat(c).trim()).style("labelTransformOrigin",f).style("coordCenter",n.getCenter()).call(e2,h).node()}};pM.props={defaultMarker:"point"};var pC=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function pj(t,e){let n=Object.assign(Object.assign({},{"component.axisRadar":h9,"component.axisLinear":oM,"component.axisArc":oC,"component.legendContinuousBlock":pt,"component.legendContinuousBlockSize":pn,"component.legendContinuousSize":pe,"interaction.event":st,"composition.mark":pi,"composition.view":po,"shape.label.label":pM}),e),r=e=>{if("string"!=typeof e)return e;let r="".concat(t,".").concat(e);return n[r]||(0,nd.vU)("Unknown Component: ".concat(r))};return[(t,e)=>{let{type:n}=t,i=pC(t,["type"]);n||(0,nd.vU)("Plot type is required!");let a=r(n);return null==a?void 0:a(i,e)},r]}function pA(t){let{canvas:e,group:n}=t;return(null==e?void 0:e.document)||(null==n?void 0:n.ownerDocument)||(0,nd.vU)("Cannot find library document")}var pS=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function pE(t,e){let{coordinate:n={}}=t,r=pS(t,["coordinate"]),{type:i,transform:a=[]}=n,o=pS(n,["type","transform"]);if(!i)return Object.assign(Object.assign({},r),{coordinates:a});let[,l]=pj("coordinate",e),{transform:s=!1}=l(i).props||{};if(s)throw Error("Unknown coordinate: ".concat(i,"."));return Object.assign(Object.assign({},r),{coordinates:[Object.assign({type:i},o),...a]})}function pP(t,e){return t.filter(t=>t.type===e)}function pR(t){return pP(t,"polar").length>0}function pT(t){return pP(t,"transpose").length%2==1}function pZ(t){return pP(t,"theta").length>0}function pL(t){return pP(t,"radial").length>0}var pB=n(63488);function pI(t,e){let n=Object.keys(t);for(let r of Object.values(e)){let{name:e}=r.getOptions();if(e in t){let i=n.filter(t=>t.startsWith(e)).map(t=>+(t.replace(e,"")||0)),a=(0,aE.Z)(i)+1,o="".concat(e).concat(a);t[o]=r,r.getOptions().key=o}else t[e]=r}return t}function pN(t,e){let n,r;let[i]=pj("scale",e),{relations:a}=t,[o]=a&&Array.isArray(a)?[t=>{var e;n=t.map.bind(t),r=null===(e=t.invert)||void 0===e?void 0:e.bind(t);let i=a.filter(t=>{let[e]=t;return"function"==typeof e}),o=a.filter(t=>{let[e]=t;return"function"!=typeof e}),l=new Map(o);if(t.map=t=>{for(let[e,n]of i)if(e(t))return n;return l.has(t)?l.get(t):n(t)},!r)return t;let s=new Map(o.map(t=>{let[e,n]=t;return[n,e]})),c=new Map(i.map(t=>{let[e,n]=t;return[n,e]}));return t.invert=t=>c.has(t)?t:s.has(t)?s.get(t):r(t),t},t=>(null!==n&&(t.map=n),null!==r&&(t.invert=r),t)]:[nd.yR,nd.yR],l=i(t);return o(l)}function pD(t,e){let n=t.filter(t=>{let{name:n,facet:r=!0}=t;return r&&n===e}),r=n.flatMap(t=>t.domain),i=n.every(pF)?(0,eK.Z)(r):n.every(pz)?Array.from(new Set(r)):null;if(null!==i)for(let t of n)t.domain=i}function pF(t){let{type:e}=t;return"string"==typeof e&&["linear","log","pow","time"].includes(e)}function pz(t){let{type:e}=t;return"string"==typeof e&&["band","point","ordinal"].includes(e)}function p$(t,e,n,r,i){var a;let[o]=pj("palette",i),{category10:l,category20:s}=r,c=(a=t.flat(),Array.from(new Set(a))).length<=l.length?l:s,{palette:u=c,offset:f}=e;if(Array.isArray(u))return u;try{return o({type:u})}catch(e){let t=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t=>t;if(!t)return null;let r=os(t),i=pB["scheme".concat(r)],a=pB["interpolate".concat(r)];if(!i&&!a)return null;if(i){if(!i.some(Array.isArray))return i;let t=i[e.length];if(t)return t}return e.map((t,r)=>a(n(r/e.length)))}(u,n,f);if(t)return t;throw Error("Unknown Component: ".concat(u," "))}}function pW(t,e){return e||(t.startsWith("x")||t.startsWith("y")||t.startsWith("position")||t.startsWith("size")?"point":"ordinal")}function pH(t,e,n){return n||("color"!==t?"linear":e?"linear":"sequential")}function pG(t,e){if(0===t.length)return t;let{domainMin:n,domainMax:r}=e,[i,a]=t;return[null!=n?n:i,null!=r?r:a]}function pq(t){return pY(t,t=>{let e=typeof t;return"string"===e||"boolean"===e})}function pV(t){return pY(t,t=>t instanceof Date)}function pY(t,e){for(let n of t)if(n.some(e))return!0;return!1}let pU={linear:"linear",identity:"identity",log:"log",pow:"pow",sqrt:"sqrt",sequential:"sequential"},pQ={threshold:"threshold",quantize:"quantize",quantile:"quantile"},pK={ordinal:"ordinal",band:"band",point:"point"},pX={constant:"constant"};var pJ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function p0(t,e,n,r,i){let[a]=pj("component",r),{scaleInstances:o,scale:l,bbox:s}=t,c=pJ(t,["scaleInstances","scale","bbox"]),u=a(c);return u({coordinate:e,library:r,markState:i,scales:o,theme:n,value:{bbox:s,library:r},scale:l})}function p1(t,e){let n=["left","right","bottom","top"],r=(0,nB.Xx)(t,t=>{let{type:e,position:r,group:i}=t;return n.includes(r)?void 0===i?e.startsWith("legend")?"legend-".concat(r):Symbol("independent"):"independent"===i?Symbol("independent"):i:Symbol("independent")});return r.flatMap(t=>{let[,n]=t;if(1===n.length)return n[0];if(void 0!==e){let t=n.filter(t=>void 0!==t.length).map(t=>t.length),r=(0,ud.Z)(t);if(r>e)return n.forEach(t=>t.group=Symbol("independent")),n;let i=n.length-t.length,a=(e-r)/i;n.forEach(t=>{void 0===t.length&&(t.length=a)})}let r=(0,aE.Z)(n,t=>t.size),i=(0,aE.Z)(n,t=>t.order),a=(0,aE.Z)(n,t=>t.crossPadding),o=n[0].position;return{type:"group",size:r,order:i,position:o,children:n,crossPadding:a}})}function p2(t){let e=pP(t,"polar");if(e.length){let t=e[e.length-1],{startAngle:n,endAngle:r}=h(t);return[n,r]}let n=pP(t,"radial");if(n.length){let t=n[n.length-1],{startAngle:e,endAngle:r}=x(t);return[e,r]}return[-Math.PI/2,Math.PI/2*3]}function p5(t,e,n,r,i,a){let{type:o}=t;if(["left","right","bottom","top"].includes(r)&&"string"==typeof o)return(o.startsWith("axis")?p7:o.startsWith("group")?p3:o.startsWith("legendContinuous")?p9:"legendCategory"===o?gt:o.startsWith("slider")?p8:"title"===o?p6:o.startsWith("scrollbar")?p4:()=>{})(t,e,n,r,i,a)}function p3(t,e,n,r,i,a){let{children:o}=t,l=(0,aE.Z)(o,t=>t.crossPadding);o.forEach(t=>t.crossPadding=l),o.forEach(t=>p5(t,e,n,r,i,a));let s=(0,aE.Z)(o,t=>t.size);t.size=s,o.forEach(t=>t.size=s)}function p4(t,e,n,r,i,a){let{trackSize:o=6}=E({},i.scrollbar,t);t.size=o}function p6(t,e,n,r,i,a){let o=E({},i.title,t),{title:l,subtitle:s,spacing:c=0}=o,u=pJ(o,["title","subtitle","spacing"]);if(l){let e=(0,nd.hB)(u,"title"),n=go(l,e);t.size=n.height}if(s){let e=(0,nd.hB)(u,"subtitle"),n=go(s,e);t.size+=c+n.height}}function p8(t,e,n,r,i,a){let{trackSize:o,handleIconSize:l}=(()=>{let{slider:e}=i;return E({},e,t)})(),s=Math.max(o,2.4*l);t.size=s}function p7(t,e,n,r,i,a){var o;t.transform=t.transform||[{type:"hide"}];let l="left"===r||"right"===r,s=gi(t,r,i),{tickLength:c=0,labelSpacing:u=0,titleSpacing:f=0,labelAutoRotate:d}=s,h=pJ(s,["tickLength","labelSpacing","titleSpacing","labelAutoRotate"]),p=ge(t,a),g=gn(h,p),m=c+u;if(g&&g.length){let r=(0,aE.Z)(g,t=>t.width),i=(0,aE.Z)(g,t=>t.height);if(l)t.size=r+m;else{let{tickFilter:a,labelTransform:l}=t;(function(t,e,n,r,i){let a=(0,ud.Z)(e,t=>t.width);if(a>n)return!0;let o=t.clone();o.update({range:[0,n]});let l=ga(t,i),s=l.map(t=>o.map(t)+function(t,e){if(!t.getBandWidth)return 0;let n=t.getBandWidth(e)/2;return n}(o,t)),c=l.map((t,e)=>e),u=-r[0],f=n+r[1],d=(t,e)=>{let{width:n}=e;return[t-n/2,t+n/2]};for(let t=0;tf)return!0;let a=s[t+1];if(a){let[n]=d(a,e[t+1]);if(i>n)return!0}}return!1})(p,g,e,n,a)&&!l&&!1!==d&&null!==d?(t.labelTransform="rotate(90)",t.size=r+m):(t.labelTransform=null!==(o=t.labelTransform)&&void 0!==o?o:"rotate(0)",t.size=i+m)}}else t.size=c;let y=gr(h);y&&(l?t.size+=f+y.width:t.size+=f+y.height)}function p9(t,e,n,r,i,a){let o=(()=>{let{legendContinuous:e}=i;return E({},e,t)})(),{labelSpacing:l=0,titleSpacing:s=0}=o,c=pJ(o,["labelSpacing","titleSpacing"]),u="left"===r||"right"===r,f=(0,nd.hB)(c,"ribbon"),{size:d}=f,h=(0,nd.hB)(c,"handleIcon"),{size:p}=h,g=Math.max(d,2.4*p);t.size=g;let m=ge(t,a),y=gn(c,m);if(y){let e=u?"width":"height",n=(0,aE.Z)(y,t=>t[e]);t.size+=n+l}let v=gr(c);v&&(u?t.size=Math.max(t.size,v.width):t.size+=s+v.height)}function gt(t,e,n,r,i,a){let o=(()=>{let{legendCategory:e}=i,{title:n}=t,[r,a]=Array.isArray(n)?[n,void 0]:[void 0,n];return E({title:r},e,Object.assign(Object.assign({},t),{title:a}))})(),{itemSpacing:l,itemMarkerSize:s,titleSpacing:c,rowPadding:u,colPadding:f,maxCols:d=1/0,maxRows:h=1/0}=o,p=pJ(o,["itemSpacing","itemMarkerSize","titleSpacing","rowPadding","colPadding","maxCols","maxRows"]),{cols:g,length:m}=t,y=t=>Math.min(t,h),v=t=>Math.min(t,d),b="left"===r||"right"===r,x=void 0===m?e+(b?0:n[0]+n[1]):m,O=gr(p),w=ge(t,a),_=gn(p,w,"itemLabel"),k=Math.max(_[0].height,s)+u,M=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return s+t+l[0]+e};b?(()=>{let e=-1/0,n=0,r=1,i=0,a=-1/0,o=-1/0,l=O?O.height:0,s=x-l;for(let{width:t}of _){let l=M(t,f);e=Math.max(e,l),n+k>s?(r++,a=Math.max(a,i),o=Math.max(o,n),i=1,n=k):(n+=k,i++)}r<=1&&(a=i,o=n),t.size=e*v(r),t.length=o+l,E(t,{cols:v(r),gridRow:a})})():"number"==typeof g?(()=>{let e=Math.ceil(_.length/g),n=(0,aE.Z)(_,t=>M(t.width))*g;t.size=k*y(e)-u,t.length=Math.min(n,x)})():(()=>{let e=1,n=0,r=-1/0;for(let{width:t}of _){let i=M(t,f);n+i>x?(r=Math.max(r,n),n=i,e++):n+=i}1===e&&(r=n),t.size=k*y(e)-u,t.length=r})(),O&&(b?t.size=Math.max(t.size,O.width):t.size+=c+O.height)}function ge(t,e){let[n]=pj("scale",e),{scales:r,tickCount:i,tickMethod:a}=t,o=r.find(t=>"constant"!==t.type&&"identity"!==t.type);return void 0!==i&&(o.tickCount=i),void 0!==a&&(o.tickMethod=a),n(o)}function gn(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"label",{labelFormatter:r,tickFilter:i,label:a=!0}=t,o=pJ(t,["labelFormatter","tickFilter","label"]);if(!a)return null;let l=function(t,e,n){let r=ga(t,n),i=r.map(t=>"number"==typeof t?to(t):t),a=e?"string"==typeof e?(0,oc.WU)(e):e:t.getFormatter?t.getFormatter():t=>"".concat(t);return i.map(a)}(e,r,i),s=(0,nd.hB)(o,n),c=l.map((t,e)=>Object.fromEntries(Object.entries(s).map(n=>{let[r,i]=n;return[r,"function"==typeof i?i(t,e):i]}))),u=l.map((t,e)=>{let n=c[e];return go(t,n)}),f=c.some(t=>t.transform);if(!f){let e=l.map((t,e)=>e);t.indexBBox=new Map(e.map(t=>[t,[l[t],u[t]]]))}return u}function gr(t){let{title:e}=t,n=pJ(t,["title"]);if(!1===e||null==e)return null;let r=(0,nd.hB)(n,"title"),{direction:i,transform:a}=r,o=Array.isArray(e)?e.join(","):e;if("string"!=typeof o)return null;let l=go(o,Object.assign(Object.assign({},r),{transform:a||("vertical"===i?"rotate(-90)":"")}));return l}function gi(t,e,n){let{title:r}=t,[i,a]=Array.isArray(r)?[r,void 0]:[void 0,r],{axis:o,["axis".concat((0,nd.Ez)(e))]:l}=n;return E({title:i},o,l,Object.assign(Object.assign({},t),{title:a}))}function ga(t,e){let n=t.getTicks?t.getTicks():t.getOptions().domain;return e?n.filter(e):n}function go(t,e){let n=t instanceof nD.s$?t:new nD.xv({style:{text:"".concat(t)}}),{filter:r}=e,i=pJ(e,["filter"]);n.attr(Object.assign(Object.assign({},i),{visibility:"none"}));let a=n.getBBox();return a}function gl(t,e,n,r,i,a,o){let l=(0,nB.ZP)(t,t=>t.position),{padding:s=a.padding,paddingLeft:c=s,paddingRight:u=s,paddingBottom:f=s,paddingTop:d=s}=i,h={paddingBottom:f,paddingLeft:c,paddingTop:d,paddingRight:u};for(let t of r){let r="padding".concat((0,nd.Ez)(sQ(t))),i=l.get(t)||[],s=h[r],c=t=>{void 0===t.size&&(t.size=t.defaultSize)},u=t=>{"group"===t.type?(t.children.forEach(c),t.size=(0,aE.Z)(t.children,t=>t.size)):t.size=t.defaultSize},f=r=>{r.size||("auto"!==s?u(r):(p5(r,e,n,t,a,o),c(r)))},d=t=>{t.type.startsWith("axis")&&void 0===t.labelAutoHide&&(t.labelAutoHide=!0)},p="bottom"===t||"top"===t,g=(0,aS.Z)(i,t=>t.order),m=i.filter(t=>t.type.startsWith("axis")&&t.order==g);if(m.length&&(m[0].crossPadding=0),"number"==typeof s)i.forEach(c),i.forEach(d);else if(0===i.length)h[r]=0;else{let t=p?e+n[0]+n[1]:e,a=p1(i,t);a.forEach(f);let o=a.reduce((t,e)=>{let{size:n,crossPadding:r=12}=e;return t+n+r},0);h[r]=o}}return h}function gs(t){let{width:e,height:n,paddingLeft:r,paddingRight:i,paddingTop:a,paddingBottom:o,marginLeft:l,marginTop:s,marginBottom:c,marginRight:u,innerHeight:f,innerWidth:d,insetBottom:h,insetLeft:p,insetRight:g,insetTop:m}=t,y=r+l,v=a+s,b=i+u,x=o+c,O=e-l-u,w=[y+p,v+m,d-p-g,f-m-h,"center",null,null],_={top:[y,0,d,v,"vertical",!0,c8.Z,l,O],right:[e-b,v,b,f,"horizontal",!1,c8.Z],bottom:[y,n-x,d,x,"vertical",!1,c8.Z,l,O],left:[0,v,y,f,"horizontal",!0,c8.Z],"top-left":[y,0,d,v,"vertical",!0,c8.Z],"top-right":[y,0,d,v,"vertical",!0,c8.Z],"bottom-left":[y,n-x,d,x,"vertical",!1,c8.Z],"bottom-right":[y,n-x,d,x,"vertical",!1,c8.Z],center:w,inner:w,outer:w};return _}var gc=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function gu(t,e,n){let{encode:r={},scale:i={},transform:a=[]}=e,o=gc(e,["encode","scale","transform"]);return[t,Object.assign(Object.assign({},o),{encode:r,scale:i,transform:a})]}function gf(t,e,n){var r,i,a,o;return r=this,i=void 0,a=void 0,o=function*(){let{library:t}=n,{data:r}=e,[i]=pj("data",t),a=function(t){if(eQ(t))return{type:"inline",value:t};if(!t)return{type:"inline",value:null};if(Array.isArray(t))return{type:"inline",value:t};let{type:e="inline"}=t,n=gc(t,["type"]);return Object.assign(Object.assign({},n),{type:e})}(r),{transform:o=[]}=a,l=gc(a,["transform"]),s=[l,...o],c=s.map(i),u=yield(0,nd.ne)(c)(r),f=!r||Array.isArray(r)||Array.isArray(u)?u:{value:u};return[Array.isArray(u)?eJ(u):[],Object.assign(Object.assign({},e),{data:f})]},new(a||(a=Promise))(function(t,e){function n(t){try{s(o.next(t))}catch(t){e(t)}}function l(t){try{s(o.throw(t))}catch(t){e(t)}}function s(e){var r;e.done?t(e.value):((r=e.value)instanceof a?r:new a(function(t){t(r)})).then(n,l)}s((o=o.apply(r,i||[])).next())})}function gd(t,e,n){let{encode:r}=e;if(!r)return[t,e];let i={};for(let[t,e]of Object.entries(r))if(Array.isArray(e))for(let n=0;n{if(function(t){if("object"!=typeof t||t instanceof Date||null===t)return!1;let{type:e}=t;return(0,nd.ri)(e)}(t))return t;let e="function"==typeof t?"transform":"string"==typeof t&&Array.isArray(i)&&i.some(e=>void 0!==e[t])?"field":"constant";return{type:e,value:t}});return[t,Object.assign(Object.assign({},e),{encode:a})]}function gp(t,e,n){let{encode:r}=e;if(!r)return[t,e];let i=eX(r,(t,e)=>{var n;let{type:r}=t;return"constant"!==r||(n=e).startsWith("x")||n.startsWith("y")||n.startsWith("position")||"enterDelay"===n||"enterDuration"===n||"updateDelay"===n||"updateDuration"===n||"exitDelay"===n||"exitDuration"===n?t:Object.assign(Object.assign({},t),{constant:!0})});return[t,Object.assign(Object.assign({},e),{encode:i})]}function gg(t,e,n){let{encode:r,data:i}=e;if(!r)return[t,e];let{library:a}=n,o=function(t){let[e]=pj("encode",t);return(t,n)=>void 0===n||void 0===t?null:Object.assign(Object.assign({},n),{type:"column",value:e(n)(t),field:function(t){let{type:e,value:n}=t;return"field"===e&&"string"==typeof n?n:null}(n)})}(a),l=eX(r,t=>o(i,t));return[t,Object.assign(Object.assign({},e),{encode:l})]}function gm(t,e,n){let{tooltip:r={}}=e;return(0,nd.Qp)(r)?[t,e]:Array.isArray(r)?[t,Object.assign(Object.assign({},e),{tooltip:{items:r}})]:(0,nd.mx)(r)&&fQ(r)?[t,Object.assign(Object.assign({},e),{tooltip:r})]:[t,Object.assign(Object.assign({},e),{tooltip:{items:[r]}})]}function gy(t,e,n){let{data:r,encode:i,tooltip:a={}}=e;if((0,nd.Qp)(a))return[t,e];let o=e=>{if(!e)return e;if("string"==typeof e)return t.map(t=>({name:e,value:r[t][e]}));if((0,nd.mx)(e)){let{field:n,channel:a,color:o,name:l=n,valueFormatter:s=t=>t}=e,c="string"==typeof s?(0,oc.WU)(s):s,u=a&&i[a],f=u&&i[a].field,d=l||f||a,h=[];for(let e of t){let t=n?r[e][n]:u?i[a].value[e]:null;h[e]={name:d,color:o,value:c(t)}}return h}if("function"==typeof e){let n=[];for(let a of t){let t=e(r[a],a,r,i);(0,nd.mx)(t)?n[a]=t:n[a]={value:t}}return n}return e},{title:l,items:s=[]}=a,c=gc(a,["title","items"]),u=Object.assign({title:o(l),items:Array.isArray(s)?s.map(o):[]},c);return[t,Object.assign(Object.assign({},e),{tooltip:u})]}function gv(t,e,n){let{encode:r}=e,i=gc(e,["encode"]);if(!r)return[t,e];let a=Object.entries(r),o=a.filter(t=>{let[,e]=t,{value:n}=e;return Array.isArray(n[0])}).flatMap(e=>{let[n,r]=e,i=[[n,Array(t.length).fill(void 0)]],{value:a}=r,o=gc(r,["value"]);for(let e=0;e{let[e,n]=t;return[e,Object.assign({type:"column",value:n},o)]})}),l=Object.fromEntries([...a,...o]);return[t,Object.assign(Object.assign({},i),{encode:l})]}function gb(t,e,n){let{axis:r={},legend:i={},slider:a={},scrollbar:o={}}=e,l=(t,e)=>{if("boolean"==typeof t)return t?{}:null;let n=t[e];return void 0===n||n?n:null},s="object"==typeof r?Array.from(new Set(["x","y","z",...Object.keys(r)])):["x","y","z"];return E(e,{scale:Object.assign(Object.assign({},Object.fromEntries(s.map(t=>{let e=l(o,t);return[t,Object.assign({guide:l(r,t),slider:l(a,t),scrollbar:e},e&&{ratio:void 0===e.ratio?.5:e.ratio})]}))),{color:{guide:l(i,"color")},size:{guide:l(i,"size")},shape:{guide:l(i,"shape")},opacity:{guide:l(i,"opacity")}})}),[t,e]}function gx(t,e,n){let{animate:r}=e;return r||void 0===r||E(e,{animate:{enter:{type:null},exit:{type:null},update:{type:null}}}),[t,e]}var gO=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})},gw=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},g_=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function l(t){try{s(r.throw(t))}catch(t){a(t)}}function s(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,l)}s((r=r.apply(t,e||[])).next())})},gk=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function gM(t){t.style("transform",t=>"translate(".concat(t.layout.x,", ").concat(t.layout.y,")"))}function gC(t,e){return g_(this,void 0,void 0,function*(){let n=yield function(t,e){return g_(this,void 0,void 0,function*(){let[n,r]=pj("mark",e),i=new Set(Object.keys(e).map(t=>{var e;return null===(e=/component\.(.*)/.exec(t))||void 0===e?void 0:e[1]}).filter(nd.ri)),{marks:a}=t,o=[],l=[],s=[...a],{width:c,height:u}=function(t){let{height:e,width:n,padding:r=0,paddingLeft:i=r,paddingRight:a=r,paddingTop:o=r,paddingBottom:l=r,margin:s=16,marginLeft:c=s,marginRight:u=s,marginTop:f=s,marginBottom:d=s,inset:h=0,insetLeft:p=h,insetRight:g=h,insetTop:m=h,insetBottom:y=h}=t,v=t=>"auto"===t?20:t,b=n-v(i)-v(a)-c-u-p-g,x=e-v(o)-v(l)-f-d-m-y;return{width:b,height:x}}(t),f={options:t,width:c,height:u};for(;s.length;){let[t]=s.splice(0,1),a=yield gI(t,e),{type:c=(0,nd.vU)("G2Mark type is required."),key:u}=a;if(i.has(c))l.push(a);else{let{props:t={}}=r(c),{composite:e=!0}=t;if(e){let{data:t}=a,e=Object.assign(Object.assign({},a),{data:t?Array.isArray(t)?t:t.value:t}),r=yield n(e,f),i=Array.isArray(r)?r:[r];s.unshift(...i.map((t,e)=>Object.assign(Object.assign({},t),{key:"".concat(u,"-").concat(e)})))}else o.push(a)}}return Object.assign(Object.assign({},t),{marks:o,components:l})})}(t,e),r=function(t){let{coordinate:e={},interaction:n={},style:r={},marks:i}=t,a=gk(t,["coordinate","interaction","style","marks"]),o=i.map(t=>t.coordinate||{}),l=i.map(t=>t.interaction||{}),s=i.map(t=>t.viewStyle||{}),c=[...o,e].reduceRight((t,e)=>E(t,e),{}),u=[n,...l].reduce((t,e)=>E(t,e),{}),f=[...s,r].reduce((t,e)=>E(t,e),{});return Object.assign(Object.assign({},a),{marks:i,coordinate:c,interaction:u,style:f})}(n);t.interaction=r.interaction,t.coordinate=r.coordinate,t.marks=[...r.marks,...r.components];let i=pE(r,e),a=yield gj(i,e);return gS(a,i,e)})}function gj(t,e){return g_(this,void 0,void 0,function*(){let[n]=pj("theme",e),[,r]=pj("mark",e),{theme:i,marks:a,coordinates:o=[]}=t,l=n(gL(i)),s=new Map;for(let t of a){let{type:n}=t,{props:i={}}=r(n),a=yield function(t,e,n){return gO(this,void 0,void 0,function*(){let[r,i]=yield function(t,e,n){return gO(this,void 0,void 0,function*(){let{library:r}=n,[i]=pj("transform",r),{preInference:a=[],postInference:o=[]}=e,{transform:l=[]}=t,s=[gu,gf,gd,gh,gp,gg,gv,gx,gb,gm,...a.map(i),...l.map(i),...o.map(i),gy],c=[],u=t;for(let t of s)[c,u]=yield t(c,u,n);return[c,u]})}(t,e,{library:n}),{encode:a,scale:o,data:l,tooltip:s}=i;if(!1===Array.isArray(l))return null;let{channels:c}=e,u=(0,nB.Q3)(Object.entries(a).filter(t=>{let[,e]=t;return(0,nd.ri)(e)}),t=>t.map(t=>{let[e,n]=t;return Object.assign({name:e},n)}),t=>{var e;let[n]=t,r=null===(e=/([^\d]+)\d*$/.exec(n))||void 0===e?void 0:e[1],i=c.find(t=>t.name===r);return(null==i?void 0:i.independent)?n:r}),f=c.filter(t=>{let{name:e,required:n}=t;if(u.find(t=>{let[n]=t;return n===e}))return!0;if(n)throw Error("Missing encoding for channel: ".concat(e,"."));return!1}).flatMap(t=>{let{name:e,scale:n,scaleKey:r,range:i,quantitative:a,ordinal:l}=t,s=u.filter(t=>{let[n]=t;return n.startsWith(e)});return s.map((t,e)=>{let[s,c]=t,u=c.some(t=>t.visual),f=c.some(t=>t.constant),d=o[s]||{},{independent:h=!1,key:p=r||s,type:g=f?"constant":u?"identity":n}=d,m=gw(d,["independent","key","type"]),y="constant"===g;return{name:s,values:c,scaleKey:h||y?Symbol("independent"):p,scale:Object.assign(Object.assign({type:g,range:y?void 0:i},m),{quantitative:a,ordinal:l})}})});return[i,Object.assign(Object.assign({},e),{index:r,channels:f,tooltip:s})]})}(t,i,e);if(a){let[t,e]=a;s.set(t,e)}}let c=(0,nB.ZP)(Array.from(s.values()).flatMap(t=>t.channels),t=>{let{scaleKey:e}=t;return e});for(let t of c.values()){let n=t.reduce((t,e)=>{let{scale:n}=e;return E(t,n)},{}),{scaleKey:r}=t[0],{values:i}=t[0],a=Array.from(new Set(i.map(t=>t.field).filter(nd.ri))),s=E({guide:{title:0===a.length?void 0:a},field:a[0]},n),{name:c}=t[0],u=t.flatMap(t=>{let{values:e}=t;return e.map(t=>t.value)}),f=Object.assign(Object.assign({},function(t,e,n,r,i,a){let{guide:o={}}=n,l=function(t,e,n){let{type:r,domain:i,range:a,quantitative:o,ordinal:l}=n;return void 0!==r?r:pY(e,nd.mx)?"identity":"string"==typeof a?"linear":(i||a||[]).length>2?pW(t,l):void 0!==i?pq([i])?pW(t,l):pV(e)?"time":pH(t,a,o):pq(e)?pW(t,l):pV(e)?"time":pH(t,a,o)}(t,e,n);if("string"!=typeof l)return n;let s=function(t,e,n,r){let{domain:i}=r;if(void 0!==i)return i;switch(t){case"linear":case"time":case"log":case"pow":case"sqrt":case"quantize":case"threshold":return pG(function(t,e){let{zero:n=!1}=e,r=1/0,i=-1/0;for(let e of t)for(let t of e)(0,nd.ri)(t)&&(r=Math.min(r,+t),i=Math.max(i,+t));return r===1/0?[]:n?[Math.min(0,r),i]:[r,i]}(n,r),r);case"band":case"ordinal":case"point":return Array.from(new Set(n.flat()));case"quantile":return n.flat().sort();case"sequential":return pG(function(t){let e=1/0,n=-1/0;for(let r of t)for(let t of r)(0,nd.ri)(t)&&(e=Math.min(e,+t),n=Math.max(n,+t));return e===1/0?[]:[e<0?-n:e,n]}(n),r);default:return[]}}(l,0,e,n),c=function(t,e,n){let{ratio:r}=n;return null==r?e:pF({type:t})?function(t,e,n){let r=t.map(Number),i=new eP({domain:r,range:[r[0],r[0]+(r[r.length-1]-r[0])*e]});return"time"===n?t.map(t=>new Date(i.map(t))):t.map(t=>i.map(t))}(e,r,t):pz({type:t})?function(t,e){let n=Math.round(t.length*e);return t.slice(0,n)}(e,r):e}(l,s,n);return Object.assign(Object.assign(Object.assign({},n),function(t,e,n,r,i){switch(t){case"linear":case"time":case"log":case"pow":case"sqrt":return function(t,e){let{interpolate:n=es,nice:r=!1,tickCount:i=5}=e;return Object.assign(Object.assign({},e),{interpolate:n,nice:r,tickCount:i})}(0,r);case"band":case"point":return function(t,e,n,r){if(void 0!==r.padding||void 0!==r.paddingInner||void 0!==r.paddingOuter)return Object.assign(Object.assign({},r),{unknown:NaN});let i="enterDelay"===e||"enterDuration"===e||"size"===e?0:"band"===t?pZ(n)?0:.1:"point"===t?.5:0,{paddingInner:a=i,paddingOuter:o=i}=r;return Object.assign(Object.assign({},r),{paddingInner:a,paddingOuter:o,padding:i,unknown:NaN})}(t,e,i,r);case"sequential":return function(t){let{palette:e="ylGnBu",offset:n}=t,r=os(e),i=pB["interpolate".concat(r)];if(!i)throw Error("Unknown palette: ".concat(r));return{interpolator:n?t=>i(n(t)):i}}(r);default:return r}}(l,t,0,n,r)),{domain:c,range:function(t,e,n,r,i,a,o){let{range:l}=r;if("string"==typeof l)return l.split("-");if(void 0!==l)return l;let{rangeMin:s,rangeMax:c}=r;switch(t){case"linear":case"time":case"log":case"pow":case"sqrt":{let t=p$(n,r,i,a,o),[l,u]="enterDelay"===e?[0,1e3]:"enterDuration"==e?[300,1e3]:e.startsWith("y")||e.startsWith("position")?[1,0]:"color"===e?[t[0],e0(t)]:"opacity"===e?[0,1]:"size"===e?[1,10]:[0,1];return[null!=s?s:l,null!=c?c:u]}case"band":case"point":{let t="size"===e?5:0,n="size"===e?10:1;return[null!=s?s:t,null!=c?c:n]}case"ordinal":return p$(n,r,i,a,o);case"sequential":return;case"constant":return[n[0][0]];default:return[]}}(l,t,e,n,c,i,a),expectedDomain:s,guide:o,name:t,type:l})}(c,u,s,o,l,e)),{key:r});t.forEach(t=>t.scale=f)}return s})}function gA(t,e,n,r){let i=t.theme,a="string"==typeof e&&i[e]||{},o=r(E(a,Object.assign({type:e},n)));return o}function gS(t,e,n){let[r]=pj("mark",n),[i]=pj("theme",n),[a]=pj("labelTransform",n),{key:o,frame:l=!1,theme:s,clip:c,style:u={},labelTransform:f=[]}=e,d=i(gL(s)),h=Array.from(t.values()),p=function(t,e){var n;let{components:r=[]}=e,i=["scale","encode","axis","legend","data","transform"],a=Array.from(new Set(t.flatMap(t=>t.channels.map(t=>t.scale)))),o=new Map(a.map(t=>[t.name,t]));for(let t of r){let e=function(t){let{channels:e=[],type:n,scale:r={}}=t,i=["shape","color","opacity","size"];return 0!==e.length?e:"axisX"===n?["x"]:"axisY"===n?["y"]:"legends"===n?Object.keys(r).filter(t=>i.includes(t)):[]}(t);for(let r of e){let e=o.get(r),l=(null===(n=t.scale)||void 0===n?void 0:n[r])||{},{independent:s=!1}=l;if(e&&!s){let{guide:n}=e,r="boolean"==typeof n?{}:n;e.guide=E({},r,t),Object.assign(e,l)}else{let e=Object.assign(Object.assign({},l),{expectedDomain:l.domain,name:r,guide:oo(t,i)});a.push(e)}}}return a}(h,e),g=(function(t,e,n){let{coordinates:r=[],title:i}=e,[,a]=pj("component",n),o=t.filter(t=>{let{guide:e}=t;return null!==e}),l=[],s=function(t,e,n){let[,r]=pj("component",n),{coordinates:i}=t;function a(t,e,n,a){let o=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return"x"===t?pT(n)?"".concat(e,"Y"):"".concat(e,"X"):"y"===t?pT(n)?"".concat(e,"X"):"".concat(e,"Y"):null}(e,t,i);if(!a||!o)return;let{props:l}=r(o),{defaultPosition:s,defaultSize:c,defaultOrder:u,defaultCrossPadding:[f]}=l;return Object.assign(Object.assign({position:s,defaultSize:c,order:u,type:o,crossPadding:f},a),{scales:[n]})}return e.filter(t=>t.slider||t.scrollbar).flatMap(t=>{let{slider:e,scrollbar:n,name:r}=t;return[a("slider",r,t,e),a("scrollbar",r,t,n)]}).filter(t=>!!t)}(e,t,n);if(l.push(...s),i){let{props:t}=a("title"),{defaultPosition:e,defaultOrientation:n,defaultOrder:r,defaultSize:o,defaultCrossPadding:s}=t,c="string"==typeof i?{title:i}:i;l.push(Object.assign({type:"title",position:e,orientation:n,order:r,crossPadding:s[0],defaultSize:o},c))}let c=function(t,e){let n=t.filter(t=>(function(t){if(!t||!t.type)return!1;if("function"==typeof t.type)return!0;let{type:e,domain:n,range:r,interpolator:i}=t,a=n&&n.length>0,o=r&&r.length>0;return!!(["linear","sqrt","log","time","pow","threshold","quantize","quantile","ordinal","band","point"].includes(e)&&a&&o||["sequential"].includes(e)&&a&&(o||i)||["constant","identity"].includes(e)&&o)})(t));return[...function(t,e){let n=["shape","size","color","opacity"],r=(t,e)=>"constant"===t&&"size"===e,i=t.filter(t=>{let{type:e,name:i}=t;return"string"==typeof e&&n.includes(i)&&!r(e,i)}),a=i.filter(t=>{let{type:e}=t;return"constant"===e}),o=i.filter(t=>{let{type:e}=t;return"constant"!==e}),l=(0,nB.Xx)(o,t=>t.field?t.field:Symbol("independent")).map(t=>{let[e,n]=t;return[e,[...n,...a]]}).filter(t=>{let[,e]=t;return e.some(t=>"constant"!==t.type)}),s=new Map(l);if(0===s.size)return[];let c=t=>t.sort((t,e)=>{let[n]=t,[r]=e;return n.localeCompare(r)}),u=Array.from(s).map(t=>{let[,e]=t,n=(function(t){if(1===t.length)return[t];let e=[];for(let n=1;n<=t.length;n++)e.push(...function t(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;if(1===n)return e.map(t=>[t]);let r=[];for(let i=0;i{r.push([e[i],...t])})}return r}(t,n));return e})(e).sort((t,e)=>e.length-t.length),r=n.map(t=>({combination:t,option:t.map(t=>[t.name,function(t){let{type:e}=t;return"string"!=typeof e?null:e in pU?"continuous":e in pK?"discrete":e in pQ?"distribution":e in pX?"constant":null}(t)])}));for(let{option:t,combination:e}of r)if(!t.every(t=>"constant"===t[1])&&t.every(t=>"discrete"===t[1]||"constant"===t[1]))return["legendCategory",e];for(let[t,e]of h6)for(let{option:n,combination:i}of r)if(e.some(t=>h4(c(t),c(n))))return[t,i];return null}).filter(nd.ri);return u}(n,0),...n.map(t=>{let{name:n}=t;if(pP(e,"helix").length>0||pZ(e)||pT(e)&&(pR(e)||pL(e)))return null;if(n.startsWith("x"))return pR(e)?["axisArc",[t]]:pL(e)?["axisLinear",[t]]:[pT(e)?"axisY":"axisX",[t]];if(n.startsWith("y"))return pR(e)?["axisLinear",[t]]:pL(e)?["axisArc",[t]]:[pT(e)?"axisX":"axisY",[t]];if(n.startsWith("z"))return["axisZ",[t]];if(n.startsWith("position")){if(pP(e,"radar").length>0)return["axisRadar",[t]];if(!pR(e))return["axisY",[t]]}return null}).filter(nd.ri)]}(o,r);return c.forEach(t=>{let[e,n]=t,{props:i}=a(e),{defaultPosition:s,defaultPlane:c="xy",defaultOrientation:u,defaultSize:f,defaultOrder:d,defaultLength:h,defaultPadding:p=[0,0],defaultCrossPadding:g=[0,0]}=i,m=E({},...n),{guide:y,field:v}=m,b=Array.isArray(y)?y:[y];for(let t of b){let[i,a]=function(t,e,n,r,i,a,o){let[l]=p2(o),s=[r.position||e,null!=l?l:n];return"string"==typeof t&&t.startsWith("axis")?function(t,e,n,r,i){let{name:a}=n[0];if("axisRadar"===t){let t=r.filter(t=>t.name.startsWith("position")),e=function(t){let e=/position(\d*)/g.exec(t);return e?+e[1]:null}(a);if(a===t.slice(-1)[0].name||null===e)return[null,null];let[n,o]=p2(i),l=(o-n)/(t.length-1)*e+n;return["center",l]}if("axisY"===t&&pP(i,"parallel").length>0)return pT(i)?["center","horizontal"]:["center","vertical"];if("axisLinear"===t){let[t]=p2(i);return["center",t]}return"axisArc"===t?"inner"===e[0]?["inner",null]:["outer",null]:pR(i)||pL(i)?["center",null]:"axisX"===t&&pP(i,"reflect").length>0||"axisX"===t&&pP(i,"reflectY").length>0?["top",null]:e}(t,s,i,a,o):"string"==typeof t&&t.startsWith("legend")&&pR(o)&&"center"===r.position?["center","vertical"]:s}(e,s,u,t,n,o,r);if(!i&&!a)continue;let m="left"===i||"right"===i,y=m?p[1]:p[0],b=m?g[1]:g[0],{size:x,order:O=d,length:w=h,padding:_=y,crossPadding:k=b}=t;l.push(Object.assign(Object.assign({title:v},t),{defaultSize:f,length:w,position:i,plane:c,orientation:a,padding:_,order:O,crossPadding:k,size:x,type:e,scales:n}))}}),l})(function(t,e,n){var r;for(let[e]of n.entries())if("cell"===e.type)return t.filter(t=>"shape"!==t.name);if(1!==e.length||t.some(t=>"shape"===t.name))return t;let{defaultShape:i}=e[0];if(!["point","line","rect","hollow"].includes(i))return t;let a=(null===(r=t.find(t=>"color"===t.name))||void 0===r?void 0:r.field)||null;return[...t,{field:a,name:"shape",type:"constant",domain:[],range:[{point:"point",line:"hyphen",rect:"square",hollow:"hollow"}[i]]}]}(Array.from(p),h,t),e,n).map(t=>{let e=E(t,t.style);return delete e.style,e}),m=function(t,e,n,r){var i,a;let{width:o,height:l,depth:s,x:c=0,y:u=0,z:f=0,inset:d=null!==(i=n.inset)&&void 0!==i?i:0,insetLeft:h=d,insetTop:p=d,insetBottom:g=d,insetRight:m=d,margin:y=null!==(a=n.margin)&&void 0!==a?a:0,marginLeft:v=y,marginBottom:b=y,marginTop:x=y,marginRight:O=y,padding:w=n.padding,paddingBottom:_=w,paddingLeft:k=w,paddingRight:M=w,paddingTop:C=w}=function(t,e,n,r){let{coordinates:i}=e;if(!pR(i)&&!pL(i))return e;let a=t.filter(t=>"string"==typeof t.type&&t.type.startsWith("axis"));if(0===a.length)return e;let o=a.map(t=>{let e="axisArc"===t.type?"arc":"linear";return gi(t,e,n)}),l=(0,aE.Z)(o,t=>{var e;return null!==(e=t.labelSpacing)&&void 0!==e?e:0}),s=a.flatMap((t,e)=>{let n=o[e],i=ge(t,r),a=gn(n,i);return a}).filter(nd.ri),c=(0,aE.Z)(s,t=>t.height)+l,u=a.flatMap((t,e)=>{let n=o[e];return gr(n)}).filter(t=>null!==t),f=0===u.length?0:(0,aE.Z)(u,t=>t.height),{inset:d=c,insetLeft:h=d,insetBottom:p=d,insetTop:g=d+f,insetRight:m=d}=e;return Object.assign(Object.assign({},e),{insetLeft:h,insetBottom:p,insetTop:g,insetRight:m})}(t,e,n,r),j=1/4,A=(t,n,r,i,a)=>{let{marks:o}=e;if(0===o.length||t-i-a-t*j>0)return[i,a];let l=t*(1-j);return["auto"===n?l*i/(i+a):i,"auto"===r?l*a/(i+a):a]},S=t=>"auto"===t?20:null!=t?t:20,E=S(C),P=S(_),R=gl(t,l-E-P,[E+x,P+b],["left","right"],e,n,r),{paddingLeft:T,paddingRight:Z}=R,L=o-v-O,[B,I]=A(L,k,M,T,Z),N=L-B-I,D=gl(t,N,[B+v,I+O],["bottom","top"],e,n,r),{paddingTop:F,paddingBottom:z}=D,$=l-b-x,[W,H]=A($,_,C,z,F),G=$-W-H;return{width:o,height:l,depth:s,insetLeft:h,insetTop:p,insetBottom:g,insetRight:m,innerWidth:N,innerHeight:G,paddingLeft:B,paddingRight:I,paddingTop:H,paddingBottom:W,marginLeft:v,marginBottom:b,marginTop:x,marginRight:O,x:c,y:u,z:f}}(g,e,d,n),y=function(t,e,n){let[r]=pj("coordinate",n),{innerHeight:i,innerWidth:a,insetLeft:o,insetTop:l,insetRight:s,insetBottom:c}=t,{coordinates:u=[]}=e,f=u.find(t=>"cartesian"===t.type||"cartesian3D"===t.type)?u:[...u,{type:"cartesian"}],d="cartesian3D"===f[0].type,h=Object.assign(Object.assign({},t),{x:o,y:l,width:a-o-s,height:i-c-l,transformations:f.flatMap(r)}),p=d?new h8.Coordinate3D(h):new h8.Coordinate(h);return p}(m,e,n),v=l?E({mainLineWidth:1,mainStroke:"#000"},u):u;!function(t,e,n){let r=(0,nB.ZP)(t,t=>"".concat(t.plane||"xy","-").concat(t.position)),{paddingLeft:i,paddingRight:a,paddingTop:o,paddingBottom:l,marginLeft:s,marginTop:c,marginBottom:u,marginRight:f,innerHeight:d,innerWidth:h,insetBottom:p,insetLeft:g,insetRight:m,insetTop:y,height:v,width:b,depth:x}=n,O={xy:gs({width:b,height:v,paddingLeft:i,paddingRight:a,paddingTop:o,paddingBottom:l,marginLeft:s,marginTop:c,marginBottom:u,marginRight:f,innerHeight:d,innerWidth:h,insetBottom:p,insetLeft:g,insetRight:m,insetTop:y}),yz:gs({width:x,height:v,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:x,innerHeight:v,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0}),xz:gs({width:b,height:x,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:b,innerHeight:x,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0})};for(let[t,n]of r.entries()){let[r,i]=t.split("-"),a=O[r][i],[o,l]=e1(n,t=>"string"==typeof t.type&&!!("center"===i||t.type.startsWith("axis")&&["inner","outer"].includes(i)));o.length&&function(t,e,n,r){let[i,a]=e1(t,t=>!!("string"==typeof t.type&&t.type.startsWith("axis")));(function(t,e,n,r){if("center"===r){if(G(e)&&$(e))(function(t,e,n,r){let[i,a,o,l]=n;for(let e of t)e.bbox={x:i,y:a,width:o,height:l},e.radar={index:t.indexOf(e),count:t.length}})(t,0,n,0);else{var i;$(e)?function(t,e,n){let[r,i,a,o]=n;for(let e of t)e.bbox={x:r,y:i,width:a,height:o}}(t,0,n):G(e)&&("horizontal"===(i=t[0].orientation)?function(t,e,n){let[r,i,a]=n,o=Array(t.length).fill(0),l=e.map(o),s=l.filter((t,e)=>e%2==1).map(t=>t+i);for(let e=0;ee%2==0).map(t=>t+r);for(let e=0;enull==c?void 0:c(t.order,e.order));let x=t=>"title"===t||"group"===t||t.startsWith("legend"),O=(t,e,n)=>void 0===n?e:x(t)?n:e,w=(t,e,n)=>void 0===n?e:x(t)?n:e;for(let e=0,n=s?h+y:h;e"group"===t.type);for(let t of _){let{bbox:e,children:n}=t,r=e[v],i=r/n.length,a=n.reduce((t,e)=>{var n;let r=null===(n=e.layout)||void 0===n?void 0:n.justifyContent;return r||t},"flex-start"),o=n.map((t,e)=>{let{length:r=i,padding:a=0}=t;return r+(e===n.length-1?0:a)}),l=(0,ud.Z)(o),s=r-l,c="flex-start"===a?0:"center"===a?s/2:s;for(let t=0,r=e[p]+c;t{let{type:e}=t;return"axisX"===e}),n=t.find(t=>{let{type:e}=t;return"axisY"===e}),r=t.find(t=>{let{type:e}=t;return"axisZ"===e});e&&n&&r&&(e.plane="xy",n.plane="xy",r.plane="yz",r.origin=[e.bbox.x,e.bbox.y,0],r.eulerAngles=[0,-90,0],r.bbox.x=e.bbox.x,r.bbox.y=e.bbox.y,t.push(Object.assign(Object.assign({},e),{plane:"xz",showLabel:!1,showTitle:!1,origin:[e.bbox.x,e.bbox.y,0],eulerAngles:[-90,0,0]})),t.push(Object.assign(Object.assign({},n),{plane:"yz",showLabel:!1,showTitle:!1,origin:[n.bbox.x+n.bbox.width,n.bbox.y,0],eulerAngles:[0,-90,0]})),t.push(Object.assign(Object.assign({},r),{plane:"xz",actualPosition:"left",showLabel:!1,showTitle:!1,eulerAngles:[90,-90,0]})))}(g);let b={};for(let t of g){let{scales:e=[]}=t,r=[];for(let t of e){let{name:e}=t,i=pN(t,n);r.push(i),"y"===e&&i.update(Object.assign(Object.assign({},i.getOptions()),{xScale:b.x})),pI(b,{[e]:i})}t.scaleInstances=r}let x=[];for(let[e,i]of t.entries()){let{children:t,dataDomain:a,modifier:l,key:s}=e,{index:c,channels:u,tooltip:f}=i,d=Object.fromEntries(u.map(t=>{let{name:e,scale:n}=t;return[e,n]})),h=eX(d,t=>pN(t,n));pI(b,h);let p=function(t,e){let n={};for(let r of t){let{values:t,name:i}=r,a=e[i];for(let e of t){let{name:t,value:r}=e;n[t]=r.map(t=>a.map(t))}}return n}(u,h),g=r(e),[v,O,w]=function(t){let[e,n,r]=t;if(r)return[e,n,r];let i=[],a=[];for(let t=0;t{let[e,n]=t;return(0,nd.ri)(e)&&(0,nd.ri)(n)})&&(i.push(r),a.push(o))}return[i,a]}(g(c,h,p,y)),_=a||v.length,k=l?l(O,_,m):[],M=t=>{var e,n;return null===(n=null===(e=f.title)||void 0===e?void 0:e[t])||void 0===n?void 0:n.value},C=t=>f.items.map(e=>e[t]),j=v.map((t,e)=>{let n=Object.assign({points:O[e],transform:k[e],index:t,markKey:s,viewKey:o},f&&{title:M(t),items:C(t)});for(let[r,i]of Object.entries(p))n[r]=i[t],w&&(n["series".concat(os(r))]=w[e].map(t=>i[t]));return w&&(n.seriesIndex=w[e]),w&&f&&(n.seriesItems=w[e].map(t=>C(t)),n.seriesTitle=w[e].map(t=>M(t))),n});i.data=j,i.index=v;let A=null==t?void 0:t(j,h,m);x.push(...A||[])}let O={layout:m,theme:d,coordinate:y,markState:t,key:o,clip:c,scale:b,style:v,components:g,labelTransform:(0,nd.qC)(f.map(a))};return[O,x]}function gE(t,e,n,r,i){return g_(this,void 0,void 0,function*(){let{components:a,theme:o,layout:l,markState:s,coordinate:c,key:u,style:f,clip:d,scale:h}=t,{x:p,y:g,width:m,height:y}=l,v=gk(l,["x","y","width","height"]),b=["view","plot","main","content"],x=b.map((t,e)=>e),O=b.map(t=>(0,nd.c7)(Object.assign({},o.view,f),t)),w=["a","margin","padding","inset"].map(t=>(0,nd.hB)(v,t)),_=t=>t.style("x",t=>A[t].x).style("y",t=>A[t].y).style("width",t=>A[t].width).style("height",t=>A[t].height).each(function(t,e,n){!function(t,e){for(let[n,r]of Object.entries(e))t.style(n,r)}((0,Q.F)(n),O[t])}),k=0,M=0,C=m,j=y,A=x.map(t=>{let e=w[t],{left:n=0,top:r=0,bottom:i=0,right:a=0}=e;return{x:k+=n,y:M+=r,width:C-=n+a,height:j-=r+i}});e.selectAll(gz(lm.tu)).data(x.filter(t=>(0,nd.ri)(O[t])),t=>b[t]).join(t=>t.append("rect").attr("className",lm.tu).style("zIndex",-2).call(_),t=>t.call(_),t=>t.remove());let S=function(t){let e=-1/0,n=1/0;for(let[r,i]of t){let{animate:t={}}=r,{data:a}=i,{enter:o={},update:l={},exit:s={}}=t,{type:c,duration:u=300,delay:f=0}=l,{type:d,duration:h=300,delay:p=0}=o,{type:g,duration:m=300,delay:y=0}=s;for(let t of a){let{updateType:r=c,updateDuration:i=u,updateDelay:a=f,enterType:o=d,enterDuration:l=h,enterDelay:s=p,exitDuration:v=m,exitDelay:b=y,exitType:x=g}=t;(void 0===r||r)&&(e=Math.max(e,i+a),n=Math.min(n,a)),(void 0===x||x)&&(e=Math.max(e,v+b),n=Math.min(n,b)),(void 0===o||o)&&(e=Math.max(e,l+s),n=Math.min(n,s))}}return e===-1/0?null:[n,e-n]}(s),P=!!S&&{duration:S[1]};for(let[,t]of(0,nB.Xx)(a,t=>"".concat(t.type,"-").concat(t.position)))t.forEach((t,e)=>t.index=e);let R=e.selectAll(gz(lm.nQ)).data(a,t=>"".concat(t.type,"-").concat(t.position,"-").concat(t.index)).join(t=>t.append("g").style("zIndex",t=>{let{zIndex:e}=t;return e||-1}).attr("className",lm.nQ).append(t=>p0(E({animate:P,scale:h},t),c,o,r,s)),t=>t.transition(function(t,e,n){let{preserve:i=!1}=t;if(i)return;let a=p0(E({animate:P,scale:h},t),c,o,r,s),{attributes:l}=a,[u]=n.childNodes;return u.update(l,!1)})).transitions();n.push(...R.flat().filter(nd.ri));let T=e.selectAll(gz(lm.V$)).data([l],()=>u).join(t=>t.append("rect").style("zIndex",0).style("fill","transparent").attr("className",lm.V$).call(gN).call(gF,Array.from(s.keys())).call(g$,d),t=>t.call(gF,Array.from(s.keys())).call(t=>S?function(t,e){let[n,r]=e;t.transition(function(t,e,i){let{transform:a,width:o,height:l}=i.style,{paddingLeft:s,paddingTop:c,innerWidth:u,innerHeight:f,marginLeft:d,marginTop:h}=t,p=[{transform:a,width:o,height:l},{transform:"translate(".concat(s+d,", ").concat(c+h,")"),width:u,height:f}];return i.animate(p,{delay:n,duration:r,fill:"both"})})}(t,S):gN(t)).call(g$,d)).transitions();for(let[a,o]of(n.push(...T.flat()),s.entries())){let{data:l}=o,{key:s,class:c,type:u}=a,f=e.select("#".concat(s)),d=function(t,e,n,r,i){let[a]=pj("shape",r),{data:o,encode:l}=t,{defaultShape:s,data:c,shape:u}=e,f=eX(l,t=>t.value),d=c.map(t=>t.points),{theme:h,coordinate:p}=n,{type:g,style:m={}}=t,y=Object.assign(Object.assign({},i),{document:pA(i),coordinate:p,theme:h});return e=>{let{shape:n=s}=m,{shape:r=n,points:i,seriesIndex:l,index:c}=e,p=gk(e,["shape","points","seriesIndex","index"]),v=Object.assign(Object.assign({},p),{index:c}),b=l?l.map(t=>o[t]):o[c],x=l||c,O=eX(m,t=>gP(t,b,x,o,{channel:f})),w=u[r]?u[r](O,y):a(Object.assign(Object.assign({},O),{type:gD(t,r)}),y),_=gR(h,g,r,s);return w(i,v,_,d)}}(a,o,t,r,i),h=gT("enter",a,o,t,r),p=gT("update",a,o,t,r),g=gT("exit",a,o,t,r),m=function(t,e,n,r){let i=t.node().parentElement;return i.findAll(t=>void 0!==t.style.facet&&t.style.facet===n&&t!==e.node()).flatMap(t=>t.getElementsByClassName(r))}(e,f,c,"element"),y=f.selectAll(gz(lm.Tt)).selectFacetAll(m).data(l,t=>t.key,t=>t.groupKey).join(t=>t.append(d).attr("className",lm.Tt).attr("markType",u).transition(function(t,e,n){return h(t,[n])}),t=>t.call(t=>{let e=t.parent(),n=(0,nd.Ye)(t=>{let[e,n]=t.getBounds().min;return[e,n]});t.transition(function(t,r,i){!function(t,e,n){if(!t.__facet__)return;let r=t.parentNode.parentNode,i=e.parentNode,[a,o]=n(r),[l,s]=n(i),c="translate(".concat(a-l,", ").concat(o-s,")");(0,nd.gn)(t,c),e.append(t)}(i,e,n);let a=d(t,r),o=p(t,[i],[a]);return null!==o||(i.nodeName===a.nodeName&&"g"!==a.nodeName?(0,nd.DM)(i,a):(i.parentNode.replaceChild(a,i),a.className=lm.Tt,a.markType=u,a.__data__=i.__data__)),o}).attr("markType",u).attr("className",lm.Tt)}),t=>t.each(function(t,e,n){n.__removed__=!0}).transition(function(t,e,n){return g(t,[n])}).remove(),t=>t.append(d).attr("className",lm.Tt).attr("markType",u).transition(function(t,e,n){let{__fromElements__:r}=n,i=p(t,r,[n]),a=new Q.Y(r,null,n.parentNode);return a.transition(i).remove(),i}),t=>t.transition(function(t,e,n){let r=new Q.Y([],n.__toData__,n.parentNode),i=r.append(d).attr("className",lm.Tt).attr("markType",u).nodes();return p(t,[n],i)}).remove()).transitions();n.push(...y.flat())}!function(t,e,n,r,i){let[a]=pj("labelTransform",r),{markState:o,labelTransform:l}=t,s=e.select(gz(lm.z3)).node(),c=new Map,u=new Map,f=Array.from(o.entries()).flatMap(n=>{let[a,o]=n,{labels:l=[],key:s}=a,f=function(t,e,n,r,i){let[a]=pj("shape",r),{data:o,encode:l}=t,{data:s,defaultLabelShape:c}=e,u=s.map(t=>t.points),f=eX(l,t=>t.value),{theme:d,coordinate:h}=n,p=Object.assign(Object.assign({},i),{document:pA(i),theme:d,coordinate:h});return t=>{let{index:e,points:n}=t,r=o[e],{formatter:i=t=>"".concat(t),transform:l,style:s,render:h}=t,g=gk(t,["formatter","transform","style","render"]),m=eX(Object.assign(Object.assign({},g),s),t=>gP(t,r,e,o,{channel:f})),{shape:y=c,text:v}=m,b=gk(m,["shape","text"]),x="string"==typeof i?(0,oc.WU)(i):i,O=Object.assign(Object.assign({},b),{text:x(v,r,e,o),datum:r}),w=Object.assign({type:"label.".concat(y),render:h},b),_=a(w,p),k=gR(d,"label",y,"label");return _(n,O,k,u)}}(a,o,t,r,i),d=e.select("#".concat(s)).selectAll(gz(lm.Tt)).nodes().filter(t=>!t.__removed__);return l.flatMap((t,e)=>{let{transform:n=[]}=t,r=gk(t,["transform"]);return d.flatMap(n=>{let i=function(t,e,n){let{seriesIndex:r,seriesKey:i,points:a,key:o,index:l}=n.__data__,s=function(t){let e=t.cloneNode(),n=t.getAnimations();e.style.visibility="hidden",n.forEach(t=>{let n=t.effect.getKeyframes();e.attr(n[n.length-1])}),t.parentNode.appendChild(e);let r=e.getLocalBounds();e.destroy();let{min:i,max:a}=r;return[i,a]}(n);if(!r)return[Object.assign(Object.assign({},t),{key:"".concat(o,"-").concat(e),bounds:s,index:l,points:a,dependentElement:n})];let c=function(t){let{selector:e}=t;if(!e)return null;if("function"==typeof e)return e;if("first"===e)return t=>[t[0]];if("last"===e)return t=>[t[t.length-1]];throw Error("Unknown selector: ".concat(e))}(t),u=r.map((r,o)=>Object.assign(Object.assign({},t),{key:"".concat(i[o],"-").concat(e),bounds:[a[o]],index:r,points:a,dependentElement:n}));return c?c(u):u}(r,e,n);return i.forEach(e=>{c.set(e,f),u.set(e,t)}),i})})}),d=(0,Q.F)(s).selectAll(gz(lm.fw)).data(f,t=>t.key).join(t=>t.append(t=>c.get(t)(t)).attr("className",lm.fw),t=>t.each(function(t,e,n){let r=c.get(t),i=r(t);(0,nd.DM)(n,i)}),t=>t.remove()).nodes(),h=(0,nB.ZP)(d,t=>u.get(t.__data__)),{coordinate:p}=t,g={canvas:i.canvas,coordinate:p};for(let[t,e]of h){let{transform:n=[]}=t,r=(0,nd.qC)(n.map(a));r(e,g)}l&&l(d,g)}(t,e,0,r,i)})}function gP(t,e,n,r,i){return"function"==typeof t?t(e,n,r,i):"string"!=typeof t?t:(0,nd.mx)(e)&&void 0!==e[t]?e[t]:t}function gR(t,e,n,r){if("string"!=typeof e)return;let{color:i}=t,a=t[e]||{},o=a[n]||a[r];return Object.assign({color:i},o)}function gT(t,e,n,r,i){var a,o;let[,l]=pj("shape",i),[s]=pj("animation",i),{defaultShape:c,shape:u}=n,{theme:f,coordinate:d}=r,h=os(t),{["default".concat(h,"Animation")]:p}=(null===(a=u[c])||void 0===a?void 0:a.props)||l(gD(e,c)).props,{[t]:g={}}=f,m=(null===(o=e.animate)||void 0===o?void 0:o[t])||{},y={coordinate:d};return(e,n,r)=>{let{["".concat(t,"Type")]:i,["".concat(t,"Delay")]:a,["".concat(t,"Duration")]:o,["".concat(t,"Easing")]:l}=e,c=Object.assign({type:i||p},m);if(!c.type)return null;let u=s(c,y),f=u(n,r,E(g,{delay:a,duration:o,easing:l}));return Array.isArray(f)?f:[f]}}function gZ(t){return t.finished.then(()=>{t.cancel()}),t}function gL(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("string"==typeof t)return{type:t};let{type:e="light"}=t,n=gk(t,["type"]);return Object.assign(Object.assign({},n),{type:e})}function gB(t){let{interaction:e={}}=t;return Object.entries(E({event:!0,tooltip:!0,sliderFilter:!0,legendFilter:!0,scrollbarFilter:!0},e)).reverse()}function gI(t,e){return g_(this,void 0,void 0,function*(){let{data:n}=t,r=gk(t,["data"]);if(void 0==n)return t;let[,{data:i}]=yield gf([],{data:n},{library:e});return Object.assign({data:i},r)})}function gN(t){t.style("transform",t=>"translate(".concat(t.paddingLeft+t.marginLeft,", ").concat(t.paddingTop+t.marginTop,")")).style("width",t=>t.innerWidth).style("height",t=>t.innerHeight)}function gD(t,e){let{type:n}=t;return"string"==typeof e?"".concat(n,".").concat(e):e}function gF(t,e){let n=t=>void 0!==t.class?"".concat(t.class):"",r=t.nodes();if(0===r.length)return;t.selectAll(gz(lm.Sx)).data(e,t=>t.key).join(t=>t.append("g").attr("className",lm.Sx).attr("id",t=>t.key).style("facet",n).style("fill","transparent").style("zIndex",t=>{var e;return null!==(e=t.zIndex)&&void 0!==e?e:0}),t=>t.style("facet",n).style("fill","transparent").style("zIndex",t=>{var e;return null!==(e=t.zIndex)&&void 0!==e?e:0}),t=>t.remove());let i=t.select(gz(lm.z3)).node();i||t.append("g").attr("className",lm.z3).style("zIndex",0)}function gz(){for(var t=arguments.length,e=Array(t),n=0;n".".concat(t)).join("")}function g$(t,e){t.node()&&t.style("clipPath",t=>{if(!e)return null;let{paddingTop:n,paddingLeft:r,marginLeft:i,marginTop:a,innerWidth:o,innerHeight:l}=t;return new nD.UL({style:{x:r+i,y:n+a,width:o,height:l}})})}function gW(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{canvas:r,emitter:i}=e;r&&(function(t){let e=t.getRoot().querySelectorAll(".".concat(lm.S));null==e||e.forEach(t=>{let{nameInteraction:e=new Map}=t;(null==e?void 0:e.size)>0&&Array.from(null==e?void 0:e.values()).forEach(t=>{null==t||t.destroy()})})}(r),n?r.destroy():r.destroyChildren()),i.off()}let gH=t=>t?parseInt(t):0;function gG(t,e){let n=[t];for(;n.length;){let t=n.shift();e&&e(t);let r=t.children||[];for(let t of r)n.push(t)}}class gq{map(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t=>t,e=t(this.value);return this.value=e,this}attr(t,e){return 1==arguments.length?this.value[t]:this.map(n=>(n[t]=e,n))}append(t){let e=new t({});return e.children=[],this.push(e),e}push(t){return t.parentNode=this,t.index=this.children.length,this.children.push(t),this}remove(){let t=this.parentNode;if(t){let{children:e}=t,n=e.findIndex(t=>t===this);e.splice(n,1)}return this}getNodeByKey(t){let e=null;return gG(this,n=>{t===n.attr("key")&&(e=n)}),e}getNodesByType(t){let e=[];return gG(this,n=>{t===n.type&&e.push(n)}),e}getNodeByType(t){let e=null;return gG(this,n=>{e||t!==n.type||(e=n)}),e}call(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;re.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};let gY=["width","height","depth","padding","paddingLeft","paddingRight","paddingBottom","paddingTop","inset","insetLeft","insetRight","insetTop","insetBottom","margin","marginLeft","marginRight","marginTop","marginBottom","autoFit","theme","title"],gU="__remove__",gQ="__callback__";function gK(t){return Object.assign(Object.assign({},t.value),{type:t.type})}function gX(t,e){let{width:n,height:r,autoFit:i,depth:a=0}=t,o=640,l=480;if(i){let{width:t,height:n}=function(t){let e=getComputedStyle(t),n=t.clientWidth||gH(e.width),r=t.clientHeight||gH(e.height),i=gH(e.paddingLeft)+gH(e.paddingRight),a=gH(e.paddingTop)+gH(e.paddingBottom);return{width:n-i,height:r-a}}(e);o=t||o,l=n||l}return o=n||o,l=r||l,{width:Math.max(eQ(o)?o:1,1),height:Math.max(eQ(l)?l:1,1),depth:a}}function gJ(t){return e=>{for(let[n,r]of Object.entries(t)){let{type:t}=r;"value"===t?function(t,e,n){let{key:r=e}=n;t.prototype[e]=function(t){return 0==arguments.length?this.attr(r):this.attr(r,t)}}(e,n,r):"array"===t?function(t,e,n){let{key:r=e}=n;t.prototype[e]=function(t){if(0==arguments.length)return this.attr(r);if(Array.isArray(t))return this.attr(r,t);let e=[...this.attr(r)||[],t];return this.attr(r,e)}}(e,n,r):"object"===t?function(t,e,n){let{key:r=e}=n;t.prototype[e]=function(t,e){if(0==arguments.length)return this.attr(r);if(1==arguments.length&&"string"!=typeof t)return this.attr(r,t);let n=this.attr(r)||{};return n[t]=1==arguments.length||e,this.attr(r,n)}}(e,n,r):"node"===t?function(t,e,n){let{ctor:r}=n;t.prototype[e]=function(t){let n=this.append(r);return"mark"===e&&(n.type=t),n}}(e,n,r):"container"===t?function(t,e,n){let{ctor:r}=n;t.prototype[e]=function(){return this.type=null,this.append(r)}}(e,n,r):"mix"===t&&function(t,e,n){t.prototype[e]=function(t){if(0==arguments.length)return this.attr(e);if(Array.isArray(t))return this.attr(e,{items:t});if((0,nd.mx)(t)&&(void 0!==t.title||void 0!==t.items)||null===t||!1===t)return this.attr(e,t);let n=this.attr(e)||{},{items:r=[]}=n;return r.push(t),n.items=r,this.attr(e,n)}}(e,n,0)}return e}}function g0(t){return Object.fromEntries(Object.entries(t).map(t=>{let[e,n]=t;return[e,{type:"node",ctor:n}]}))}let g1={encode:{type:"object"},scale:{type:"object"},data:{type:"value"},transform:{type:"array"},style:{type:"object"},animate:{type:"object"},coordinate:{type:"object"},interaction:{type:"object"},label:{type:"array",key:"labels"},axis:{type:"object"},legend:{type:"object"},slider:{type:"object"},scrollbar:{type:"object"},state:{type:"object"},layout:{type:"object"},theme:{type:"object"},title:{type:"value"}},g2=Object.assign(Object.assign({},g1),{tooltip:{type:"mix"},viewStyle:{type:"object"}}),g5=Object.assign(Object.assign({},g1),{labelTransform:{type:"array"}}),g3=class extends gq{changeData(t){var e;let n=this.getRoot();if(n)return this.attr("data",t),(null===(e=this.children)||void 0===e?void 0:e.length)&&this.children.forEach(e=>{e.attr("data",t)}),null==n?void 0:n.render()}getView(){let t=this.getRoot(),{views:e}=t.getContext();if(null==e?void 0:e.length)return e.find(t=>t.key===this._key)}getScale(){var t;return null===(t=this.getView())||void 0===t?void 0:t.scale}getScaleByChannel(t){let e=this.getScale();if(e)return e[t]}getCoordinate(){var t;return null===(t=this.getView())||void 0===t?void 0:t.coordinate}getTheme(){var t;return null===(t=this.getView())||void 0===t?void 0:t.theme}getGroup(){let t=this._key;if(!t)return;let e=this.getRoot(),n=e.getContext().canvas.getRoot();return n.getElementById(t)}show(){let t=this.getGroup();t&&(t.isVisible()||lx(t))}hide(){let t=this.getGroup();t&&t.isVisible()&&lb(t)}};g3=function(t,e,n,r){var i,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(o=(a<3?i(o):a>3?i(e,n,o):i(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}([gJ(g5)],g3);let g4=class extends gq{changeData(t){let e=this.getRoot();if(e)return this.attr("data",t),null==e?void 0:e.render()}getMark(){var t;let e=null===(t=this.getRoot())||void 0===t?void 0:t.getView();if(!e)return;let{markState:n}=e,r=Array.from(n.keys()).find(t=>t.key===this.attr("key"));return n.get(r)}getScale(){var t;let e=null===(t=this.getRoot())||void 0===t?void 0:t.getView();if(e)return null==e?void 0:e.scale}getScaleByChannel(t){var e,n;let r=null===(e=this.getRoot())||void 0===e?void 0:e.getView();if(r)return null===(n=null==r?void 0:r.scale)||void 0===n?void 0:n[t]}getGroup(){let t=this.attr("key");if(!t)return;let e=this.getRoot(),n=e.getContext().canvas.getRoot();return n.getElementById(t)}};g4=function(t,e,n,r){var i,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(o=(a<3?i(o):a>3?i(e,n,o):i(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}([gJ(g2)],g4);let g6={};var g8=function(t,e,n,r){var i,a=arguments.length,o=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(o=(a<3?i(o):a>3?i(e,n,o):i(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o},g7=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};n(50368);let g9=Object.assign({},Object.assign(Object.assign(Object.assign(Object.assign({},{"composition.geoView":dc,"composition.geoPath":df}),{"data.arc":hi,"data.cluster":dj,"mark.forceGraph":d_,"mark.tree":dT,"mark.pack":dz,"mark.sankey":d7,"mark.chord":hu,"mark.treemap":hy}),{"data.venn":hJ,"mark.boxplot":hA,"mark.gauge":hL,"mark.wordCloud":aF,"mark.liquid":hW}),{"data.fetch":fa,"data.inline":fo,"data.sortBy":fl,"data.sort":fs,"data.filter":fu,"data.pick":ff,"data.rename":fd,"data.fold":fh,"data.slice":fp,"data.custom":fg,"data.map":fm,"data.join":fv,"data.kde":fO,"data.log":fw,"data.wordCloud":fN,"transform.stackY":us,"transform.binX":uj,"transform.bin":uC,"transform.dodgeX":uS,"transform.jitter":uP,"transform.jitterX":uR,"transform.jitterY":uT,"transform.symmetryY":uL,"transform.diffY":uB,"transform.stackEnter":uI,"transform.normalizeY":uF,"transform.select":uG,"transform.selectX":uV,"transform.selectY":uU,"transform.groupX":uX,"transform.groupY":uJ,"transform.groupColor":u0,"transform.group":uK,"transform.sortX":u3,"transform.sortY":u4,"transform.sortColor":u6,"transform.flexX":u8,"transform.pack":u7,"transform.sample":fe,"transform.filter":fn,"coordinate.cartesian":d,"coordinate.polar":p,"coordinate.transpose":g,"coordinate.theta":y,"coordinate.parallel":v,"coordinate.fisheye":b,"coordinate.radial":O,"coordinate.radar":w,"encode.constant":_,"encode.field":k,"encode.transform":M,"encode.column":C,"mark.interval":nT,"mark.rect":nL,"mark.line":n8,"mark.point":r2,"mark.text":il,"mark.cell":iu,"mark.area":ik,"mark.link":iI,"mark.image":iz,"mark.polygon":iV,"mark.box":iJ,"mark.vector":i1,"mark.lineX":i6,"mark.lineY":i9,"mark.connector":ai,"mark.range":as,"mark.rangeX":af,"mark.rangeY":ap,"mark.path":ax,"mark.shape":ak,"mark.density":aA,"mark.heatmap":aI,"mark.wordCloud":aF,"palette.category10":az,"palette.category20":a$,"scale.linear":aW,"scale.ordinal":aH,"scale.band":aG,"scale.identity":aq,"scale.point":aV,"scale.time":aY,"scale.log":aU,"scale.pow":aQ,"scale.sqrt":aK,"scale.threshold":aX,"scale.quantile":aJ,"scale.quantize":a0,"scale.sequential":a1,"scale.constant":a2,"theme.classic":a6,"theme.classicDark":a9,"theme.academy":oe,"theme.light":a4,"theme.dark":a7,"component.axisX":oj,"component.axisY":oA,"component.legendCategory":oT,"component.legendContinuous":oI,"component.legends":oN,"component.title":o$,"component.sliderX":oJ,"component.sliderY":o0,"component.scrollbarX":o3,"component.scrollbarY":o4,"animation.scaleInX":o6,"animation.scaleOutX":(t,e)=>{let{coordinate:n}=e;return(e,r,i)=>{let[a]=e,{transform:o="",fillOpacity:l=1,strokeOpacity:s=1,opacity:c=1}=a.style,[u,f]=z(n)?["left bottom","scale(1, ".concat(1e-4,")")]:["left top","scale(".concat(1e-4,", 1)")],d=[{transform:"".concat(o," scale(1, 1)").trimStart(),transformOrigin:u},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:l,strokeOpacity:s,opacity:c,offset:.99},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],h=a.animate(d,Object.assign(Object.assign({},i),t));return h}},"animation.scaleInY":o8,"animation.scaleOutY":(t,e)=>{let{coordinate:n}=e;return(e,r,i)=>{let[a]=e,{transform:o="",fillOpacity:l=1,strokeOpacity:s=1,opacity:c=1}=a.style,[u,f]=z(n)?["left top","scale(".concat(1e-4,", 1)")]:["left bottom","scale(1, ".concat(1e-4,")")],d=[{transform:"".concat(o," scale(1, 1)").trimStart(),transformOrigin:u},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:l,strokeOpacity:s,opacity:c,offset:.99},{transform:"".concat(o," ").concat(f).trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],h=a.animate(d,Object.assign(Object.assign({},i),t));return h}},"animation.waveIn":o7,"animation.fadeIn":o9,"animation.fadeOut":lt,"animation.zoomIn":t=>(e,n,r)=>{let[i]=e,{transform:a="",fillOpacity:o=1,strokeOpacity:l=1,opacity:s=1}=i.style,c="center center",u=[{transform:"".concat(a," scale(").concat(1e-4,")").trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:"".concat(a," scale(").concat(1e-4,")").trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s,offset:.01},{transform:"".concat(a," scale(1)").trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s}],f=i.animate(u,Object.assign(Object.assign({},r),t));return f},"animation.zoomOut":t=>(e,n,r)=>{let[i]=e,{transform:a="",fillOpacity:o=1,strokeOpacity:l=1,opacity:s=1}=i.style,c="center center",u=[{transform:"".concat(a," scale(1)").trimStart(),transformOrigin:c},{transform:"".concat(a," scale(").concat(1e-4,")").trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:l,opacity:s,offset:.99},{transform:"".concat(a," scale(").concat(1e-4,")").trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(u,Object.assign(Object.assign({},r),t));return f},"animation.pathIn":le,"animation.morphing":ld,"animation.growInX":lh,"animation.growInY":lp,"interaction.elementHighlight":lq,"interaction.elementHighlightByX":lV,"interaction.elementHighlightByColor":lY,"interaction.elementSelect":lQ,"interaction.elementSelectByX":lK,"interaction.elementSelectByColor":lX,"interaction.fisheye":function(t){let{wait:e=30,leading:n,trailing:r=!1}=t;return t=>{let{options:i,update:a,setState:o,container:l}=t,s=lM(l),c=lJ(t=>{let e=lj(s,t);if(!e){o("fisheye"),a();return}o("fisheye",t=>{let n=E({},t,{interaction:{tooltip:{preserve:!0}}});for(let t of n.marks)t.animate=!1;let[r,i]=e,a=function(t){let{coordinate:e={}}=t,{transform:n=[]}=e,r=n.find(t=>"fisheye"===t.type);if(r)return r;let i={type:"fisheye"};return n.push(i),e.transform=n,t.coordinate=e,i}(n);return a.focusX=r,a.focusY=i,a.visual=!0,n}),a()},e,{leading:n,trailing:r});return s.addEventListener("pointerenter",c),s.addEventListener("pointermove",c),s.addEventListener("pointerleave",c),()=>{s.removeEventListener("pointerenter",c),s.removeEventListener("pointermove",c),s.removeEventListener("pointerleave",c)}}},"interaction.chartIndex":l2,"interaction.tooltip":sy,"interaction.legendFilter":function(){return(t,e,n)=>{let{container:r}=t,i=e.filter(e=>e!==t),a=i.length>0,o=t=>sM(t).scales.map(t=>t.name),l=[...s_(r),...sk(r)],s=l.flatMap(o),c=a?lJ(sj,50,{trailing:!0}):lJ(sC,50,{trailing:!0}),u=l.map(e=>{let{name:l,domain:u}=sM(e).scales[0],f=o(e),d={legend:e,channel:l,channels:f,allChannels:s};return e.className===sb?function(t,e){let{legends:n,marker:r,label:i,datum:a,filter:o,emitter:l,channel:s,state:c={}}=e,u=new Map,f=new Map,d=new Map,{unselected:h={markerStroke:"#aaa",markerFill:"#aaa",labelFill:"#aaa"}}=c,p={unselected:(0,nd.hB)(h,"marker")},g={unselected:(0,nd.hB)(h,"label")},{setState:m,removeState:y}=lR(p,void 0),{setState:v,removeState:b}=lR(g,void 0),x=Array.from(n(t)),O=x.map(a),w=()=>{for(let t of x){let e=a(t),n=r(t),o=i(t);O.includes(e)?(y(n,"unselected"),b(o,"unselected")):(m(n,"unselected"),v(o,"unselected"))}};for(let e of x){let n=()=>{lD(t,"pointer")},r=()=>{lD(t,t.cursor)},i=t=>sv(this,void 0,void 0,function*(){let n=a(e),r=O.indexOf(n);-1===r?O.push(n):O.splice(r,1),0===O.length&&O.push(...x.map(a)),yield o(O),w();let{nativeEvent:i=!0}=t;i&&(O.length===x.length?l.emit("legend:reset",{nativeEvent:i}):l.emit("legend:filter",Object.assign(Object.assign({},t),{nativeEvent:i,data:{channel:s,values:O}})))});e.addEventListener("click",i),e.addEventListener("pointerenter",n),e.addEventListener("pointerout",r),u.set(e,i),f.set(e,n),d.set(e,r)}let _=t=>sv(this,void 0,void 0,function*(){let{nativeEvent:e}=t;if(e)return;let{data:n}=t,{channel:r,values:i}=n;r===s&&(O=i,yield o(O),w())}),k=t=>sv(this,void 0,void 0,function*(){let{nativeEvent:e}=t;e||(O=x.map(a),yield o(O),w())});return l.on("legend:filter",_),l.on("legend:reset",k),()=>{for(let t of x)t.removeEventListener("click",u.get(t)),t.removeEventListener("pointerenter",f.get(t)),t.removeEventListener("pointerout",d.get(t)),l.off("legend:filter",_),l.off("legend:reset",k)}}(r,{legends:sw,marker:sx,label:sO,datum:t=>{let{__data__:e}=t,{index:n}=e;return u[n]},filter:e=>{let n=Object.assign(Object.assign({},d),{value:e,ordinal:!0});a?c(i,n):c(t,n)},state:e.attributes.state,channel:l,emitter:n}):function(t,e){let{legend:n,filter:r,emitter:i,channel:a}=e,o=t=>{let{detail:{value:e}}=t;r(e),i.emit({nativeEvent:!0,data:{channel:a,values:e}})};return n.addEventListener("valuechange",o),()=>{n.removeEventListener("valuechange",o)}}(0,{legend:e,filter:e=>{let n=Object.assign(Object.assign({},d),{value:e,ordinal:!1});a?c(i,n):c(t,n)},emitter:n,channel:l})});return()=>{u.forEach(t=>t())}}},"interaction.legendHighlight":function(){return(t,e,n)=>{let{container:r,view:i,options:a}=t,o=s_(r),l=lw(r),s=t=>sM(t).scales[0].name,c=t=>{let{scale:{[t]:e}}=i;return e},u=lZ(a,["active","inactive"]),f=lL(l,lP(i)),d=[];for(let t of o){let e=e=>{let{data:n}=t.attributes,{__data__:r}=e,{index:i}=r;return n[i].label},r=s(t),i=sw(t),a=c(r),o=(0,nB.ZP)(l,t=>a.invert(t.__data__[r])),{state:h={}}=t.attributes,{inactive:p={}}=h,{setState:g,removeState:m}=lR(u,f),y={inactive:(0,nd.hB)(p,"marker")},v={inactive:(0,nd.hB)(p,"label")},{setState:b,removeState:x}=lR(y),{setState:O,removeState:w}=lR(v),_=t=>{for(let e of i){let n=sx(e),r=sO(e);e===t||null===t?(x(n,"inactive"),w(r,"inactive")):(b(n,"inactive"),O(r,"inactive"))}},k=(t,i)=>{let a=e(i),s=new Set(o.get(a));for(let t of l)s.has(t)?g(t,"active"):g(t,"inactive");_(i);let{nativeEvent:c=!0}=t;c&&n.emit("legend:highlight",Object.assign(Object.assign({},t),{nativeEvent:c,data:{channel:r,value:a}}))},M=new Map;for(let t of i){let e=e=>{k(e,t)};t.addEventListener("pointerover",e),M.set(t,e)}let C=t=>{for(let t of l)m(t,"inactive","active");_(null);let{nativeEvent:e=!0}=t;e&&n.emit("legend:unhighlight",{nativeEvent:e})},j=t=>{let{nativeEvent:n,data:a}=t;if(n)return;let{channel:o,value:l}=a;if(o!==r)return;let s=i.find(t=>e(t)===l);s&&k({nativeEvent:!1},s)},A=t=>{let{nativeEvent:e}=t;e||C({nativeEvent:!1})};t.addEventListener("pointerleave",C),n.on("legend:highlight",j),n.on("legend:unhighlight",A);let S=()=>{for(let[e,r]of(t.removeEventListener(C),n.off("legend:highlight",j),n.off("legend:unhighlight",A),M))e.removeEventListener(r)};d.push(S)}return()=>d.forEach(t=>t())}},"interaction.brushHighlight":sZ,"interaction.brushXHighlight":function(t){return sZ(Object.assign(Object.assign({},t),{brushRegion:sL,selectedHandles:["handle-e","handle-w"]}))},"interaction.brushYHighlight":function(t){return sZ(Object.assign(Object.assign({},t),{brushRegion:sB,selectedHandles:["handle-n","handle-s"]}))},"interaction.brushAxisHighlight":function(t){return(e,n,r)=>{let{container:i,view:a,options:o}=e,l=lM(i),{x:s,y:c}=l.getBBox(),{coordinate:u}=a;return function(t,e){var{axes:n,elements:r,points:i,horizontal:a,datum:o,offsetY:l,offsetX:s,reverse:c=!1,state:u={},emitter:f,coordinate:d}=e,h=sI(e,["axes","elements","points","horizontal","datum","offsetY","offsetX","reverse","state","emitter","coordinate"]);let p=r(t),g=n(t),m=lL(p,o),{setState:y,removeState:v}=lR(u,m),b=new Map,x=(0,nd.hB)(h,"mask"),O=t=>Array.from(b.values()).every(e=>{let[n,r,i,a]=e;return t.some(t=>{let[e,o]=t;return e>=n&&e<=i&&o>=r&&o<=a})}),w=g.map(t=>t.attributes.scale),_=t=>t.length>2?[t[0],t[t.length-1]]:t,k=new Map,M=()=>{k.clear();for(let t=0;t{let n=[];for(let t of p){let e=i(t);O(e)?(y(t,"active"),n.push(t)):y(t,"inactive")}k.set(t,A(n,t)),e&&f.emit("brushAxis:highlight",{nativeEvent:!0,data:{selection:(()=>{if(!S)return Array.from(k.values());let t=[];for(let[e,n]of k){let r=w[e],{name:i}=r.getOptions();"x"===i?t[0]=n:t[1]=n}return t})()}})},j=t=>{for(let t of p)v(t,"active","inactive");M(),t&&f.emit("brushAxis:remove",{nativeEvent:!0})},A=(t,e)=>{let n=w[e],{name:r}=n.getOptions(),i=t.map(t=>{let e=t.__data__;return n.invert(e[r])});return _(oY(n,i))},S=g.some(a)&&g.some(t=>!a(t)),E=[];for(let t=0;t0&&void 0!==arguments[0]?arguments[0]:{},{nativeEvent:e}=t;e||E.forEach(t=>t.remove(!1))},R=(t,e,n)=>{let[r,i]=t,o=T(r,e,n),l=T(i,e,n)+(e.getStep?e.getStep():0);return a(n)?[o,-1/0,l,1/0]:[-1/0,o,1/0,l]},T=(t,e,n)=>{let{height:r,width:i}=d.getOptions(),o=e.clone();return a(n)?o.update({range:[0,i]}):o.update({range:[r,0]}),o.map(t)},Z=t=>{let{nativeEvent:e}=t;if(e)return;let{selection:n}=t.data;for(let t=0;t{E.forEach(t=>t.destroy()),f.off("brushAxis:remove",P),f.off("brushAxis:highlight",Z)}}(i,Object.assign({elements:lw,axes:sD,offsetY:c,offsetX:s,points:t=>t.__data__.points,horizontal:t=>{let{startPos:[e,n],endPos:[r,i]}=t.attributes;return e!==r&&n===i},datum:lP(a),state:lZ(o,["active",["inactive",{opacity:.5}]]),coordinate:u,emitter:r},t))}},"interaction.brushFilter":sG,"interaction.brushXFilter":function(t){return sG(Object.assign(Object.assign({hideX:!0},t),{brushRegion:sL}))},"interaction.brushYFilter":function(t){return sG(Object.assign(Object.assign({hideY:!0},t),{brushRegion:sB}))},"interaction.sliderFilter":sY,"interaction.scrollbarFilter":function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e,n,r)=>{let{view:i,container:a}=e,o=a.getElementsByClassName(sU);if(!o.length)return()=>{};let{scale:l}=i,{x:s,y:c}=l,u={x:[...s.getOptions().domain],y:[...c.getOptions().domain]};s.update({domain:s.getOptions().expectedDomain}),c.update({domain:c.getOptions().expectedDomain});let f=sY(Object.assign(Object.assign({},t),{initDomain:u,className:sU,prefix:"scrollbar",hasState:!0,setValue:(t,e)=>t.setValue(e[0]),getInitValues:t=>{let e=t.slider.attributes.values;if(0!==e[0])return e}}));return f(e,n,r)}},"interaction.poptip":s0,"interaction.treemapDrillDown":function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{originData:e=[],layout:n}=t,r=cf(t,["originData","layout"]),i=E({},cd,r),a=(0,nd.hB)(i,"breadCrumb"),o=(0,nd.hB)(i,"active");return t=>{let{update:r,setState:i,container:l,options:s}=t,c=(0,Q.F)(l).select(".".concat(lm.V$)).node(),u=s.marks[0],{state:f}=u,d=new nD.ZA;c.appendChild(d);let h=(t,s)=>{var u,f,p,g;return u=this,f=void 0,p=void 0,g=function*(){if(d.removeChildren(),s){let e="",n=a.y,r=0,i=[],l=c.getBBox().width,s=t.map((o,s)=>{e="".concat(e).concat(o,"/"),i.push(o);let c=new nD.xv({name:e.replace(/\/$/,""),style:Object.assign(Object.assign({text:o,x:r,path:[...i],depth:s},a),{y:n})});d.appendChild(c),r+=c.getBBox().width;let u=new nD.xv({style:Object.assign(Object.assign({x:r,text:" / "},a),{y:n})});return d.appendChild(u),(r+=u.getBBox().width)>l&&(n=d.getBBox().height+a.y,r=0,c.attr({x:r,y:n}),r+=c.getBBox().width,u.attr({x:r,y:n}),r+=u.getBBox().width),s===s2(t)-1&&u.remove(),c});s.forEach((t,e)=>{if(e===s2(s)-1)return;let n=Object.assign({},t.attributes);t.attr("cursor","pointer"),t.addEventListener("mouseenter",()=>{t.attr(o)}),t.addEventListener("mouseleave",()=>{t.attr(n)}),t.addEventListener("click",()=>{h(s3(t,["style","path"]),s3(t,["style","depth"]))})})}(function(t,e){let n=[...s_(t),...sk(t)];n.forEach(t=>{e(t,t=>t)})})(l,i),i("treemapDrillDown",r=>{let{marks:i}=r,a=t.join("/"),o=i.map(t=>{if("rect"!==t.type)return t;let r=e;if(s){let t=e.filter(t=>{let e=s3(t,["id"]);return e&&(e.match("".concat(a,"/"))||a.match(e))}).map(t=>({value:0===t.height?s3(t,["value"]):void 0,name:s3(t,["id"])})),{paddingLeft:i,paddingBottom:o,paddingRight:l}=n,c=Object.assign(Object.assign({},n),{paddingTop:(n.paddingTop||d.getBBox().height+10)/(s+1),paddingLeft:i/(s+1),paddingBottom:o/(s+1),paddingRight:l/(s+1),path:t=>t.name,layer:t=>t.depth===s+1});r=cu(t,c,{value:"value"})[0]}else r=e.filter(t=>1===t.depth);let i=[];return r.forEach(t=>{let{path:e}=t;i.push(oP(e))}),E({},t,{data:r,scale:{color:{domain:i}}})});return Object.assign(Object.assign({},r),{marks:o})}),yield r(void 0,["legendFilter"])},new(p||(p=Promise))(function(t,e){function n(t){try{i(g.next(t))}catch(t){e(t)}}function r(t){try{i(g.throw(t))}catch(t){e(t)}}function i(e){var i;e.done?t(e.value):((i=e.value)instanceof p?i:new p(function(t){t(i)})).then(n,r)}i((g=g.apply(u,f||[])).next())})},p=t=>{let n=t.target;if("rect"!==s3(n,["markType"]))return;let r=s3(n,["__data__","key"]),i=s7(e,t=>t.id===r);s3(i,"height")&&h(s3(i,"path"),s3(i,"depth"))};c.addEventListener("click",p);let g=s6(Object.assign(Object.assign({},f.active),f.inactive)),m=()=>{let t=lW(c);t.forEach(t=>{let n=s3(t,["style","cursor"]),r=s7(e,e=>e.id===s3(t,["__data__","key"]));if("pointer"!==n&&(null==r?void 0:r.height)){t.style.cursor="pointer";let e=ct(t.attributes,g);t.addEventListener("mouseenter",()=>{t.attr(f.active)}),t.addEventListener("mouseleave",()=>{t.attr(E(e,f.inactive))})}})};return m(),c.addEventListener("mousemove",m),()=>{d.remove(),c.removeEventListener("click",p),c.removeEventListener("mousemove",m)}}},"interaction.elementPointMove":function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{selection:e=[],precision:n=2}=t,r=cg(t,["selection","precision"]),i=Object.assign(Object.assign({},cm),r||{}),a=(0,nd.hB)(i,"path"),o=(0,nd.hB)(i,"label"),l=(0,nd.hB)(i,"point");return(t,r,i)=>{let s;let{update:c,setState:u,container:f,view:d,options:{marks:h,coordinate:p}}=t,g=lM(f),m=lW(g),y=e,{transform:v=[],type:b}=p,x=!!s7(v,t=>{let{type:e}=t;return"transpose"===e}),O="polar"===b,w="theta"===b,_=!!s7(m,t=>{let{markType:e}=t;return"area"===e});_&&(m=m.filter(t=>{let{markType:e}=t;return"area"===e}));let k=new nD.ZA({style:{zIndex:2}});g.appendChild(k);let M=()=>{i.emit("element-point:select",{nativeEvent:!0,data:{selection:y}})},C=(t,e)=>{i.emit("element-point:moved",{nativeEvent:!0,data:{changeData:t,data:e}})},j=t=>{let e=t.target;y=[e.parentNode.childNodes.indexOf(e)],M(),S(e)},A=t=>{let{data:{selection:e},nativeEvent:n}=t;if(n)return;y=e;let r=s3(m,[null==y?void 0:y[0]]);r&&S(r)},S=t=>{let e;let{attributes:r,markType:i,__data__:p}=t,{stroke:g}=r,{points:m,seriesTitle:v,color:b,title:j,seriesX:A,y1:P}=p;if(x&&"interval"!==i)return;let{scale:R,coordinate:T}=(null==s?void 0:s.view)||d,{color:Z,y:L,x:B}=R,I=T.getCenter();k.removeChildren();let N=(t,e,n,r)=>cp(this,void 0,void 0,function*(){return u("elementPointMove",i=>{var a;let o=((null===(a=null==s?void 0:s.options)||void 0===a?void 0:a.marks)||h).map(i=>{if(!r.includes(i.type))return i;let{data:a,encode:o}=i,l=Object.keys(o),s=l.reduce((r,i)=>{let a=o[i];return"x"===i&&(r[a]=t),"y"===i&&(r[a]=e),"color"===i&&(r[a]=n),r},{}),c=cx(s,a,o);return C(s,c),E({},i,{data:c,animate:!1})});return Object.assign(Object.assign({},i),{marks:o})}),yield c("elementPointMove")});if(["line","area"].includes(i))m.forEach((r,i)=>{let c=B.invert(A[i]);if(!c)return;let u=new nD.Cd({name:cy,style:Object.assign({cx:r[0],cy:r[1],fill:g},l)}),d=cw(t,i);u.addEventListener("mousedown",h=>{let p=T.output([A[i],0]),g=null==v?void 0:v.length;f.attr("cursor","move"),y[1]!==i&&(y[1]=i,M()),c_(k.childNodes,y,l);let[x,w]=ck(k,u,a,o),C=t=>{let a=r[1]+t.clientY-e[1];if(_){if(O){let o=r[0]+t.clientX-e[0],[l,s]=cC(I,p,[o,a]),[,c]=T.output([1,L.output(0)]),[,f]=T.invert([l,c-(m[i+g][1]-s)]),h=(i+1)%g,y=(i-1+g)%g,b=l$([m[y],[l,s],v[h]&&m[h]]);w.attr("text",d(L.invert(f)).toFixed(n)),x.attr("d",b),u.attr("cx",l),u.attr("cy",s)}else{let[,t]=T.output([1,L.output(0)]),[,e]=T.invert([r[0],t-(m[i+g][1]-a)]),o=l$([m[i-1],[r[0],a],v[i+1]&&m[i+1]]);w.attr("text",d(L.invert(e)).toFixed(n)),x.attr("d",o),u.attr("cy",a)}}else{let[,t]=T.invert([r[0],a]),e=l$([m[i-1],[r[0],a],m[i+1]]);w.attr("text",L.invert(t).toFixed(n)),x.attr("d",e),u.attr("cy",a)}};e=[h.clientX,h.clientY],window.addEventListener("mousemove",C);let j=()=>cp(this,void 0,void 0,function*(){if(f.attr("cursor","default"),window.removeEventListener("mousemove",C),f.removeEventListener("mouseup",j),ch(w.attr("text")))return;let e=Number(w.attr("text")),n=cM(Z,b);s=yield N(c,e,n,["line","area"]),w.remove(),x.remove(),S(t)});f.addEventListener("mouseup",j)}),k.appendChild(u)}),c_(k.childNodes,y,l);else if("interval"===i){let r=[(m[0][0]+m[1][0])/2,m[0][1]];x?r=[m[0][0],(m[0][1]+m[1][1])/2]:w&&(r=m[0]);let c=cO(t),u=new nD.Cd({name:cy,style:Object.assign(Object.assign({cx:r[0],cy:r[1],fill:g},l),{stroke:l.activeStroke})});u.addEventListener("mousedown",l=>{f.attr("cursor","move");let d=cM(Z,b),[h,p]=ck(k,u,a,o),g=t=>{if(x){let i=r[0]+t.clientX-e[0],[a]=T.output([L.output(0),L.output(0)]),[,o]=T.invert([a+(i-m[2][0]),r[1]]),l=l$([[i,m[0][1]],[i,m[1][1]],m[2],m[3]],!0);p.attr("text",c(L.invert(o)).toFixed(n)),h.attr("d",l),u.attr("cx",i)}else if(w){let i=r[1]+t.clientY-e[1],a=r[0]+t.clientX-e[0],[o,l]=cC(I,[a,i],r),[s,f]=cC(I,[a,i],m[1]),d=T.invert([o,l])[1],g=P-d;if(g<0)return;let y=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=[["M",...e[1]]],i=lz(t,e[1]),a=lz(t,e[0]);return 0===i?r.push(["L",...e[3]],["A",a,a,0,n,1,...e[0]],["Z"]):r.push(["A",i,i,0,n,0,...e[2]],["L",...e[3]],["A",a,a,0,n,1,...e[0]],["Z"]),r}(I,[[o,l],[s,f],m[2],m[3]],g>.5?1:0);p.attr("text",c(g,!0).toFixed(n)),h.attr("d",y),u.attr("cx",o),u.attr("cy",l)}else{let i=r[1]+t.clientY-e[1],[,a]=T.output([1,L.output(0)]),[,o]=T.invert([r[0],a-(m[2][1]-i)]),l=l$([[m[0][0],i],[m[1][0],i],m[2],m[3]],!0);p.attr("text",c(L.invert(o)).toFixed(n)),h.attr("d",l),u.attr("cy",i)}};e=[l.clientX,l.clientY],window.addEventListener("mousemove",g);let y=()=>cp(this,void 0,void 0,function*(){if(f.attr("cursor","default"),f.removeEventListener("mouseup",y),window.removeEventListener("mousemove",g),ch(p.attr("text")))return;let e=Number(p.attr("text"));s=yield N(j,e,d,[i]),p.remove(),h.remove(),S(t)});f.addEventListener("mouseup",y)}),k.appendChild(u)}};m.forEach((t,e)=>{y[0]===e&&S(t),t.addEventListener("click",j),t.addEventListener("mouseenter",cv),t.addEventListener("mouseleave",cb)});let P=t=>{let e=null==t?void 0:t.target;e&&(e.name===cy||m.includes(e))||(y=[],M(),k.removeChildren())};return i.on("element-point:select",A),i.on("element-point:unselect",P),f.addEventListener("mousedown",P),()=>{k.remove(),i.off("element-point:select",A),i.off("element-point:unselect",P),f.removeEventListener("mousedown",P),m.forEach(t=>{t.removeEventListener("click",j),t.removeEventListener("mouseenter",cv),t.removeEventListener("mouseleave",cb)})}}},"composition.spaceLayer":cR,"composition.spaceFlex":cZ,"composition.facetRect":cU,"composition.repeatMatrix":()=>t=>{let e=cL.of(t).call(cz).call(cN).call(cX).call(cJ).call(cD).call(cF).call(cK).value();return[e]},"composition.facetCircle":()=>t=>{let e=cL.of(t).call(cz).call(c5).call(cN).call(c2).call(c$).call(cW,c4,c3,c3,{frame:!1}).call(cD).call(cF).call(c1).value();return[e]},"composition.timingKeyframe":c6,"labelTransform.overlapHide":t=>{let{priority:e}=t;return t=>{let n=[];return e&&t.sort(e),t.forEach(t=>{lx(t);let e=t.getLocalBounds(),r=n.some(t=>(function(t,e){let[n,r]=t,[i,a]=e;return n[0]i[0]&&n[1]i[1]})(fD(e),fD(t.getLocalBounds())));r?lb(t):n.push(t)}),t}},"labelTransform.overlapDodgeY":t=>{let{maxIterations:e=10,maxError:n=.1,padding:r=1}=t;return t=>{let i=t.length;if(i<=1)return t;let[a,o]=fz(),[l,s]=fz(),[c,u]=fz(),[f,d]=fz();for(let e of t){let{min:t,max:n}=function(t){let e=t.cloneNode(!0),n=e.getElementById("connector");n&&e.removeChild(n);let{min:r,max:i}=e.getRenderBounds();return e.destroy(),{min:r,max:i}}(e),[r,i]=t,[a,l]=n;o(e,i),s(e,i),u(e,l-i),d(e,[r,a])}for(let a=0;a(0,c8.Z)(l(t),l(e)));let e=0;for(let n=0;nn&&r>i}(f(a),f(i));)o+=1;if(i){let t=l(a),n=c(a),o=l(i),u=o-(t+n);if(ut=>(t.forEach(t=>{lx(t);let e=t.attr("bounds"),n=t.getLocalBounds(),r=function(t,e){let[n,r]=t;return!(fF(n,e)&&fF(r,e))}(fD(n),e);r&&lb(t)}),t),"labelTransform.contrastReverse":t=>{let{threshold:e=4.5,palette:n=["#000","#fff"]}=t;return t=>(t.forEach(t=>{let r=t.attr("dependentElement").parsedStyle.fill,i=t.parsedStyle.fill,a=fH(i,r);afH(t,"object"==typeof e?e:(0,nD.lu)(e)));return e[n]}(r,n))}),t)},"labelTransform.exceedAdjust":()=>(t,e)=>{let{canvas:n}=e,{width:r,height:i}=n.getConfig();return t.forEach(t=>{lx(t);let{max:e,min:n}=t.getRenderBounds(),[a,o]=e,[l,s]=n,c=fG([[l,s],[a,o]],[[0,0],[r,i]]);t.style.x+=c[0],t.style.y+=c[1]}),t}})),mt=(i=class extends g3{render(){if(this._rendering)return this._addToTrailing();this._context.canvas||this._createCanvas(),this._context.canvas.getConfig().supportsCSSTransform=!0,this._bindAutoFit(),this._rendering=!0;let t=new Promise((t,e)=>(function(t){var e;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t=>{throw t},{width:a=640,height:o=480,depth:l=0}=t,s=function(t){let e=E({},t),n=new Map([[e,null]]),r=new Map([[null,-1]]),i=[e];for(;i.length;){let t=i.shift();if(void 0===t.key){let e=n.get(t),i=r.get(t),a=null===e?"".concat(0):"".concat(e.key,"-").concat(i);t.key=a}let{children:e=[]}=t;if(Array.isArray(e))for(let a=0;a(function t(e,n,r,i){var a;return g_(this,void 0,void 0,function*(){let[o]=pj("composition",r),[l]=pj("interaction",r),s=new Set(Object.keys(r).map(t=>{var e;return null===(e=/mark\.(.*)/.exec(t))||void 0===e?void 0:e[1]}).filter(nd.ri)),c=new Set(Object.keys(r).map(t=>{var e;return null===(e=/component\.(.*)/.exec(t))||void 0===e?void 0:e[1]}).filter(nd.ri)),u=t=>{let{type:e}=t;if("function"==typeof e){let{props:t={}}=e,{composite:n=!0}=t;if(n)return"mark"}return"string"!=typeof e?e:s.has(e)||c.has(e)?"mark":e},f=t=>"mark"===u(t),d=t=>"standardView"===u(t),h=t=>{let{type:e}=t;return"string"==typeof e&&!!c.has(e)},p=t=>{if(d(t))return[t];let e=u(t),n=o({type:e,static:h(t)});return n(t)},g=[],m=new Map,y=new Map,v=[e],b=[];for(;v.length;){let t=v.shift();if(d(t)){let e=y.get(t),[n,i]=e?gS(e,t,r):yield gC(t,r);m.set(n,t),g.push(n);let a=i.flatMap(p).map(t=>pE(t,r));if(v.push(...a),a.every(d)){let t=yield Promise.all(a.map(t=>gj(t,r)));!function(t){let e=t.flatMap(t=>Array.from(t.values())).flatMap(t=>t.channels.map(t=>t.scale));pD(e,"x"),pD(e,"y")}(t);for(let e=0;et.key).join(t=>t.append("g").attr("className",lm.S).attr("id",t=>t.key).call(gM).each(function(t,e,n){gE(t,(0,Q.F)(n),w,r,i),x.set(t,n)}),t=>t.call(gM).each(function(t,e,n){gE(t,(0,Q.F)(n),w,r,i),O.set(t,n)}),t=>t.each(function(t,e,n){let r=n.nameInteraction.values();for(let t of r)t.destroy()}).remove());let _=(e,n,a)=>Array.from(e.entries()).map(o=>{let[l,s]=o,c=a||new Map,u=m.get(l),f=function(e,n,r,i){let a=function(t){let[,e]=pj("interaction",t);return t=>{let[n,r]=t;try{return[n,e(n)]}catch(t){return[n,r.type]}}}(r),o=gB(n),l=o.map(a).filter(t=>t[1]&&t[1].props&&t[1].props.reapplyWhenUpdate).map(t=>t[0]);return(n,a,o)=>g_(this,void 0,void 0,function*(){let[s,c]=yield gC(n,r);for(let t of(gE(s,e,[],r,i),l.filter(t=>t!==a)))!function(t,e,n,r,i,a){var o;let[l]=pj("interaction",i),s=e.node(),c=s.nameInteraction,u=gB(n).find(e=>{let[n]=e;return n===t}),f=c.get(t);if(!f||(null===(o=f.destroy)||void 0===o||o.call(f),!u[1]))return;let d=gA(r,t,u[1],l),h={options:n,view:r,container:e.node(),update:t=>Promise.resolve(t)},p=d(h,[],a.emitter);c.set(t,{destroy:p})}(t,e,n,s,r,i);for(let n of c)t(n,e,r,i);return o(),{options:n,view:s}})}((0,Q.F)(s),u,r,i);return{view:l,container:s,options:u,setState:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>t;return c.set(t,e)},update:(t,r)=>g_(this,void 0,void 0,function*(){let i=(0,nd.qC)(Array.from(c.values())),a=i(u);return yield f(a,t,()=>{A(r)&&n(e,r,c)})})}}),k=function(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O,n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,a=_(e,k,r);for(let e of a){let{options:r,container:o}=e,s=o.nameInteraction,c=gB(r);for(let r of(n&&(c=c.filter(t=>n.includes(t[0]))),c)){let[n,o]=r,c=s.get(n);if(c&&(null===(t=c.destroy)||void 0===t||t.call(c)),o){let t=gA(e.view,n,o,l),r=t(e,a,i.emitter);s.set(n,{destroy:r})}}}},M=_(x,k);for(let t of M){let{options:e}=t,n=new Map;for(let r of(t.container.nameInteraction=n,gB(e))){let[e,a]=r;if(a){let r=gA(t.view,e,a,l),o=r(t,M,i.emitter);n.set(e,{destroy:o})}}}k();let{width:C,height:j}=e,S=[];for(let e of b){let a=new Promise(a=>g_(this,void 0,void 0,function*(){for(let a of e){let e=Object.assign({width:C,height:j},a);yield t(e,n,r,i)}a()}));S.push(a)}i.views=g,null===(a=i.animations)||void 0===a||a.forEach(t=>null==t?void 0:t.cancel()),i.animations=w,i.emitter.emit(l8.AFTER_PAINT);let E=w.filter(nd.ri).map(gZ).map(t=>t.finished);return Promise.all([...E,...S])})})(Object.assign(Object.assign({},s),{width:a,height:o,depth:l}),p,f,n)).then(()=>{if(l){let[t,e]=c.document.documentElement.getPosition();c.document.documentElement.setPosition(t,e,-l/2)}c.requestAnimationFrame(()=>{u.emit(l8.AFTER_RENDER),null==r||r()})}).catch(t=>{null==i||i(t)}),"string"==typeof(e=c.getConfig().container)?document.getElementById(e):e})(this._computedOptions(),this._context,this._createResolve(t),this._createReject(e))),[e,n,r]=function(){let t,e;let n=new Promise((n,r)=>{e=n,t=r});return[n,e,t]}();return t.then(n).catch(r).then(()=>this._renderTrailing()),e}options(t){if(0==arguments.length)return function(t){let e=function(t){if(null!==t.type)return t;let e=t.children[t.children.length-1];for(let n of gY)e.attr(n,t.attr(n));return e}(t),n=[e],r=new Map;for(r.set(e,gK(e));n.length;){let t=n.pop(),e=r.get(t),{children:i=[]}=t;for(let t of i)if(t.type===gQ)e.children=t.value;else{let i=gK(t),{children:a=[]}=e;a.push(i),n.push(t),r.set(t,i),e.children=a}}return r.get(e)}(this);let{type:e}=t;return e&&(this._previousDefinedType=e),function(t,e,n,r,i){let a=function(t,e,n,r,i){let{type:a}=t,{type:o=n||a}=e;if("function"!=typeof o&&new Set(Object.keys(i)).has(o)){for(let n of gY)void 0!==t.attr(n)&&void 0===e[n]&&(e[n]=t.attr(n));return e}if("function"==typeof o||new Set(Object.keys(r)).has(o)){let t={type:"view"},n=Object.assign({},e);for(let e of gY)void 0!==n[e]&&(t[e]=n[e],delete n[e]);return Object.assign(Object.assign({},t),{children:[n]})}return e}(t,e,n,r,i),o=[[null,t,a]];for(;o.length;){let[t,e,n]=o.shift();if(e){if(n){!function(t,e){let{type:n,children:r}=e,i=gV(e,["type","children"]);t.type===n||void 0===n?(0,nd.nx)(t.value,i):"string"==typeof n&&(t.type=n,t.value=i)}(e,n);let{children:t}=n,{children:r}=e;if(Array.isArray(t)&&Array.isArray(r)){let n=Math.max(t.length,r.length);for(let i=0;i1?e-1:0),r=1;r{this.emit(l8.AFTER_CHANGE_SIZE)}),n}changeSize(t,e){if(t===this._width&&e===this._height)return Promise.resolve(this);this.emit(l8.BEFORE_CHANGE_SIZE),this.attr("width",t),this.attr("height",e);let n=this.render();return n.then(()=>{this.emit(l8.AFTER_CHANGE_SIZE)}),n}_create(){let{library:t}=this._context,e=["mark.mark",...Object.keys(t).filter(t=>t.startsWith("mark.")||"component.axisX"===t||"component.axisY"===t||"component.legends"===t)];for(let t of(this._marks={},e)){let e=t.split(".").pop();class n extends g4{constructor(){super({},e)}}this._marks[e]=n,this[e]=function(t){let r=this.append(n);return"mark"===e&&(r.type=t),r}}let n=["composition.view",...Object.keys(t).filter(t=>t.startsWith("composition.")&&"composition.mark"!==t)];for(let t of(this._compositions=Object.fromEntries(n.map(t=>{let e=t.split(".").pop(),n=class extends g3{constructor(){super({},e)}};return n=g8([gJ(g0(this._marks))],n),[e,n]})),Object.values(this._compositions)))gJ(g0(this._compositions))(t);for(let t of n){let e=t.split(".").pop();this[e]=function(){let t=this._compositions[e];return this.type=null,this.append(t)}}}_reset(){let t=["theme","type","width","height","autoFit"];this.type="view",this.value=Object.fromEntries(Object.entries(this.value).filter(e=>{let[n]=e;return n.startsWith("margin")||n.startsWith("padding")||n.startsWith("inset")||t.includes(n)})),this.children=[]}_renderTrailing(){this._trailing&&(this._trailing=!1,this.render().then(()=>{let t=this._trailingResolve.bind(this);this._trailingResolve=null,t(this)}).catch(t=>{let e=this._trailingReject.bind(this);this._trailingReject=null,e(t)}))}_createResolve(t){return()=>{this._rendering=!1,t(this)}}_createReject(t){return e=>{this._rendering=!1,t(e)}}_computedOptions(){let t=this.options(),{key:e="G2_CHART_KEY"}=t,{width:n,height:r,depth:i}=gX(t,this._container);return this._width=n,this._height=r,this._key=e,Object.assign(Object.assign({key:this._key},t),{width:n,height:r,depth:i})}_createCanvas(){let{width:t,height:e}=gX(this.options(),this._container);this._plugins.push(new h1.S),this._plugins.forEach(t=>this._renderer.registerPlugin(t)),this._context.canvas=new nD.Xz({container:this._container,width:t,height:e,renderer:this._renderer})}_addToTrailing(){var t;null===(t=this._trailingResolve)||void 0===t||t.call(this,this),this._trailing=!0;let e=new Promise((t,e)=>{this._trailingResolve=t,this._trailingReject=e});return e}_bindAutoFit(){let t=this.options(),{autoFit:e}=t;if(this._hasBindAutoFit){e||this._unbindAutoFit();return}e&&(this._hasBindAutoFit=!0,window.addEventListener("resize",this._onResize))}_unbindAutoFit(){this._hasBindAutoFit&&(this._hasBindAutoFit=!1,window.removeEventListener("resize",this._onResize))}constructor(t){let{container:e,canvas:n,renderer:r,plugins:i,lib:a}=t,o=g7(t,["container","canvas","renderer","plugins","lib"]);super(o,"view"),this._hasBindAutoFit=!1,this._rendering=!1,this._trailing=!1,this._trailingResolve=null,this._trailingReject=null,this._previousDefinedType=null,this._onResize=h2(()=>{this.forceFit()},300),this._renderer=r||new h0.Th,this._plugins=i||[],this._container=function(t){if(void 0===t){let t=document.createElement("div");return t[gU]=!0,t}if("string"==typeof t){let e=document.getElementById(t);return e}return t}(e),this._emitter=new h5.Z,this._context={library:Object.assign(Object.assign({},a),g6),emitter:this._emitter,canvas:n},this._create()}},class extends i{constructor(t){super(Object.assign(Object.assign({},t),{lib:g9}))}}),me=(0,f.forwardRef)((t,e)=>{let{options:n,style:r,onInit:i,renderer:a}=t,o=(0,f.useRef)(null),l=(0,f.useRef)(),[s,c]=(0,f.useState)(!1);return(0,f.useEffect)(()=>{if(!l.current&&o.current)return l.current=new mt({container:o.current,renderer:a}),c(!0),()=>{l.current&&(l.current.destroy(),l.current=void 0)}},[a]),(0,f.useEffect)(()=>{s&&(null==i||i())},[s,i]),(0,f.useEffect)(()=>{l.current&&n&&(l.current.options(n),l.current.render())},[n]),(0,f.useImperativeHandle)(e,()=>l.current,[s]),f.createElement("div",{ref:o,style:r})})},74314:function(t,e,n){t.exports=n(52172).use(n(81794)).use(n(18870)).use(n(654)).use(n(95305)).use(n(44775)).use(n(52861)).use(n(77273)).use(n(98195)).use(n(12986)).use(n(95632)).use(n(34157)).use(n(52411)).use(n(88508)).use(n(74115)).use(n(75201)).use(n(64209)).use(n(14593)).use(n(93467)).use(n(991)).use(n(48532)).use(n(82810))},44775:function(t){t.exports=function(t){t.installColorSpace("CMYK",["cyan","magenta","yellow","black","alpha"],{rgb:function(){return new t.RGB(1-this._cyan*(1-this._black)-this._black,1-this._magenta*(1-this._black)-this._black,1-this._yellow*(1-this._black)-this._black,this._alpha)},fromRgb:function(){var e=this._red,n=this._green,r=this._blue,i=1-e,a=1-n,o=1-r,l=1;return e||n||r?(l=Math.min(i,Math.min(a,o)),i=(i-l)/(1-l),a=(a-l)/(1-l),o=(o-l)/(1-l)):l=1,new t.CMYK(i,a,o,l,this._alpha)}})}},95305:function(t,e,n){t.exports=function(t){t.use(n(654)),t.installColorSpace("HSL",["hue","saturation","lightness","alpha"],{hsv:function(){var e,n=2*this._lightness,r=this._saturation*(n<=1?n:2-n);return e=n+r<1e-9?0:2*r/(n+r),new t.HSV(this._hue,e,(n+r)/2,this._alpha)},rgb:function(){return this.hsv().rgb()},fromRgb:function(){return this.hsv().hsl()}})}},654:function(t){t.exports=function(t){t.installColorSpace("HSV",["hue","saturation","value","alpha"],{rgb:function(){var e,n,r,i=this._hue,a=this._saturation,o=this._value,l=Math.min(5,Math.floor(6*i)),s=6*i-l,c=o*(1-a),u=o*(1-s*a),f=o*(1-(1-s)*a);switch(l){case 0:e=o,n=f,r=c;break;case 1:e=u,n=o,r=c;break;case 2:e=c,n=o,r=f;break;case 3:e=c,n=u,r=o;break;case 4:e=f,n=c,r=o;break;case 5:e=o,n=c,r=u}return new t.RGB(e,n,r,this._alpha)},hsl:function(){var e=(2-this._saturation)*this._value,n=this._saturation*this._value,r=e<=1?e:2-e;return new t.HSL(this._hue,r<1e-9?0:n/r,e/2,this._alpha)},fromRgb:function(){var e,n=this._red,r=this._green,i=this._blue,a=Math.max(n,r,i),o=a-Math.min(n,r,i),l=0===a?0:o/a;if(0===o)e=0;else switch(a){case n:e=(r-i)/o/6+(r.008856?e:(t-16/116)/7.87},n=(this._l+16)/116,r=this._a/500+n,i=n-this._b/200;return new t.XYZ(95.047*e(r),100*e(n),108.883*e(i),this._alpha)}})}},81794:function(t){t.exports=function(t){t.installColorSpace("XYZ",["x","y","z","alpha"],{fromRgb:function(){var e=function(t){return t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92},n=e(this._red),r=e(this._green),i=e(this._blue);return new t.XYZ(.4124564*n+.3575761*r+.1804375*i,.2126729*n+.7151522*r+.072175*i,.0193339*n+.119192*r+.9503041*i,this._alpha)},rgb:function(){var e=this._x,n=this._y,r=this._z,i=function(t){return t>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t};return new t.RGB(i(3.2404542*e+-1.5371385*n+-.4985314*r),i(-.969266*e+1.8760108*n+.041556*r),i(.0556434*e+-.2040259*n+1.0572252*r),this._alpha)},lab:function(){var e=function(t){return t>.008856?Math.pow(t,1/3):7.787037*t+4/29},n=e(this._x/95.047),r=e(this._y/100),i=e(this._z/108.883);return new t.LAB(116*r-16,500*(n-r),200*(r-i),this._alpha)}})}},52172:function(t){var e=[],n=function(t){return void 0===t},r=/\s*(\.\d+|\d+(?:\.\d+)?)(%)?\s*/,i=/\s*(\.\d+|100|\d?\d(?:\.\d+)?)%\s*/,a=RegExp("^(rgb|hsl|hsv)a?\\("+r.source+","+r.source+","+r.source+"(?:,"+/\s*(\.\d+|\d+(?:\.\d+)?)\s*/.source+")?\\)$","i");function o(t){if(Array.isArray(t)){if("string"==typeof t[0]&&"function"==typeof o[t[0]])return new o[t[0]](t.slice(1,t.length));if(4===t.length)return new o.RGB(t[0]/255,t[1]/255,t[2]/255,t[3]/255)}else if("string"==typeof t){var e=t.toLowerCase();o.namedColors[e]&&(t="#"+o.namedColors[e]),"transparent"===e&&(t="rgba(0,0,0,0)");var r=t.match(a);if(r){var l=r[1].toUpperCase(),s=n(r[8])?r[8]:parseFloat(r[8]),c="H"===l[0],u=r[3]?100:c?360:255,f=r[5]||c?100:255,d=r[7]||c?100:255;if(n(o[l]))throw Error("color."+l+" is not installed.");return new o[l](parseFloat(r[2])/u,parseFloat(r[4])/f,parseFloat(r[6])/d,s)}t.length<6&&(t=t.replace(/^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i,"$1$1$2$2$3$3"));var h=t.match(/^#?([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])$/i);if(h)return new o.RGB(parseInt(h[1],16)/255,parseInt(h[2],16)/255,parseInt(h[3],16)/255);if(o.CMYK){var p=t.match(RegExp("^cmyk\\("+i.source+","+i.source+","+i.source+","+i.source+"\\)$","i"));if(p)return new o.CMYK(parseFloat(p[1])/100,parseFloat(p[2])/100,parseFloat(p[3])/100,parseFloat(p[4])/100)}}else if("object"==typeof t&&t.isColor)return t;return!1}o.namedColors={},o.installColorSpace=function(t,r,i){o[t]=function(e){var n=Array.isArray(e)?e:arguments;r.forEach(function(e,i){var a=n[i];if("alpha"===e)this._alpha=isNaN(a)||a>1?1:a<0?0:a;else{if(isNaN(a))throw Error("["+t+"]: Invalid color: ("+r.join(",")+")");"hue"===e?this._hue=a<0?a-Math.floor(a):a%1:this["_"+e]=a<0?0:a>1?1:a}},this)},o[t].propertyNames=r;var a=o[t].prototype;for(var l in["valueOf","hex","hexa","css","cssa"].forEach(function(e){a[e]=a[e]||("RGB"===t?a.hex:function(){return this.rgb()[e]()})}),a.isColor=!0,a.equals=function(e,i){n(i)&&(i=1e-10),e=e[t.toLowerCase()]();for(var a=0;ai)return!1;return!0},a.toJSON=function(){return[t].concat(r.map(function(t){return this["_"+t]},this))},i)if(i.hasOwnProperty(l)){var s=l.match(/^from(.*)$/);s?o[s[1].toUpperCase()].prototype[t.toLowerCase()]=i[l]:a[l]=i[l]}function c(t,e){var n={};for(var r in n[e.toLowerCase()]=function(){return this.rgb()[e.toLowerCase()]()},o[e].propertyNames.forEach(function(t){var r="black"===t?"k":t.charAt(0);n[t]=n[r]=function(n,r){return this[e.toLowerCase()]()[t](n,r)}}),n)n.hasOwnProperty(r)&&void 0===o[t].prototype[r]&&(o[t].prototype[r]=n[r])}return a[t.toLowerCase()]=function(){return this},a.toString=function(){return"["+t+" "+r.map(function(t){return this["_"+t]},this).join(", ")+"]"},r.forEach(function(t){var e="black"===t?"k":t.charAt(0);a[t]=a[e]=function(e,n){return void 0===e?this["_"+t]:new this.constructor(n?r.map(function(n){return this["_"+n]+(t===n?e:0)},this):r.map(function(n){return t===n?e:this["_"+n]},this))}}),e.forEach(function(e){c(t,e),c(e,t)}),e.push(t),o},o.pluginList=[],o.use=function(t){return -1===o.pluginList.indexOf(t)&&(this.pluginList.push(t),t(o)),o},o.installMethod=function(t,n){return e.forEach(function(e){o[e].prototype[t]=n}),this},o.installColorSpace("RGB",["red","green","blue","alpha"],{hex:function(){var t=(65536*Math.round(255*this._red)+256*Math.round(255*this._green)+Math.round(255*this._blue)).toString(16);return"#"+"00000".substr(0,6-t.length)+t},hexa:function(){var t=Math.round(255*this._alpha).toString(16);return"#"+"00".substr(0,2-t.length)+t+this.hex().substr(1,6)},css:function(){return"rgb("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+")"},cssa:function(){return"rgba("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+","+this._alpha+")"}}),t.exports=o},77273:function(t){t.exports=function(t){t.installMethod("clearer",function(t){return this.alpha(isNaN(t)?-.1:-t,!0)})}},98195:function(t,e,n){t.exports=function(t){t.use(n(75201)),t.installMethod("contrast",function(t){var e=this.luminance(),n=t.luminance();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)})}},12986:function(t,e,n){t.exports=function(t){t.use(n(95305)),t.installMethod("darken",function(t){return this.lightness(isNaN(t)?-.1:-t,!0)})}},95632:function(t,e,n){t.exports=function(t){t.use(n(95305)),t.installMethod("desaturate",function(t){return this.saturation(isNaN(t)?-.1:-t,!0)})}},34157:function(t){t.exports=function(t){function e(){var e=this.rgb(),n=.3*e._red+.59*e._green+.11*e._blue;return new t.RGB(n,n,n,e._alpha)}t.installMethod("greyscale",e).installMethod("grayscale",e)}},52411:function(t){t.exports=function(t){t.installMethod("isDark",function(){var t=this.rgb();return(76245*t._red+149685*t._green+29070*t._blue)/1e3<128})}},88508:function(t,e,n){t.exports=function(t){t.use(n(52411)),t.installMethod("isLight",function(){return!this.isDark()})}},74115:function(t,e,n){t.exports=function(t){t.use(n(95305)),t.installMethod("lighten",function(t){return this.lightness(isNaN(t)?.1:t,!0)})}},75201:function(t){t.exports=function(t){function e(t){return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}t.installMethod("luminance",function(){var t=this.rgb();return .2126*e(t._red)+.7152*e(t._green)+.0722*e(t._blue)})}},64209:function(t){t.exports=function(t){t.installMethod("mix",function(e,n){e=t(e).rgb();var r=2*(n=1-(isNaN(n)?.5:n))-1,i=this._alpha-e._alpha,a=((r*i==-1?r:(r+i)/(1+r*i))+1)/2,o=1-a,l=this.rgb();return new t.RGB(l._red*a+e._red*o,l._green*a+e._green*o,l._blue*a+e._blue*o,l._alpha*n+e._alpha*(1-n))})}},52861:function(t){t.exports=function(t){t.namedColors={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgrey:"a9a9a9",darkgreen:"006400",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:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",grey:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",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:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",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:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"}}},14593:function(t){t.exports=function(t){t.installMethod("negate",function(){var e=this.rgb();return new t.RGB(1-e._red,1-e._green,1-e._blue,this._alpha)})}},93467:function(t){t.exports=function(t){t.installMethod("opaquer",function(t){return this.alpha(isNaN(t)?.1:t,!0)})}},991:function(t,e,n){t.exports=function(t){t.use(n(95305)),t.installMethod("rotate",function(t){return this.hue((t||0)/360,!0)})}},48532:function(t,e,n){t.exports=function(t){t.use(n(95305)),t.installMethod("saturate",function(t){return this.saturation(isNaN(t)?.1:t,!0)})}},82810:function(t){t.exports=function(t){t.installMethod("toAlpha",function(t){var e=this.rgb(),n=t(t).rgb(),r=new t.RGB(0,0,0,e._alpha),i=["_red","_green","_blue"];return i.forEach(function(t){e[t]<1e-10?r[t]=e[t]:e[t]>n[t]?r[t]=(e[t]-n[t])/(1-n[t]):e[t]>n[t]?r[t]=(n[t]-e[t])/n[t]:r[t]=0}),r._red>r._green?r._red>r._blue?e._alpha=r._red:e._alpha=r._blue:r._green>r._blue?e._alpha=r._green:e._alpha=r._blue,e._alpha<1e-10||(i.forEach(function(t){e[t]=(e[t]-n[t])/e._alpha+n[t]}),e._alpha*=r._alpha),e})}},73807:function(t){"use strict";var e=t.exports;t.exports.isNumber=function(t){return"number"==typeof t},t.exports.findMin=function(t){if(0===t.length)return 1/0;for(var e=t[0],n=1;n=f.length)){var n=Math.max(e-r,0),i=Math.min(e+r,f.length-1),o=n-(e-r),l=e+r-i,c=p/(p-(h[-r-1+o]||0)-(h[-r-1+l]||0));o>0&&(m+=c*(o-1)*g);var d=Math.max(0,e-r+1);a.inside(0,f.length-1,d)&&(f[d].y+=1*c*g),a.inside(0,f.length-1,e+1)&&(f[e+1].y-=2*c*g),a.inside(0,f.length-1,i+1)&&(f[i+1].y+=1*c*g)}});var y=m,v=0,b=0;return f.forEach(function(t){v+=t.y,y+=v,t.y=y,b+=y}),b>0&&f.forEach(function(t){t.y/=b}),f},t.exports.getExpectedValueFromPdf=function(t){if(t&&0!==t.length){var e=0;return t.forEach(function(t){e+=t.x*t.y}),e}},t.exports.getXWithLeftTailArea=function(t,e){if(t&&0!==t.length){for(var n=0,r=0,i=0;i=e));i++);return t[r].x}},t.exports.getPerplexity=function(t){if(t&&0!==t.length){var e=0;return t.forEach(function(t){var n=Math.log(t.y);isFinite(n)&&(e+=t.y*n)}),Math.pow(2,e=-e/r)}}},16243:function(t){if(!e)var e={map:function(t,e){var n={};return e?t.map(function(t,r){return n.index=r,e.call(n,t)}):t.slice()},naturalOrder:function(t,e){return te?1:0},sum:function(t,e){var n={};return t.reduce(e?function(t,r,i){return n.index=i,t+e.call(n,r)}:function(t,e){return t+e},0)},max:function(t,n){return Math.max.apply(null,n?e.map(t,n):t)}};var n=function(){function t(t,e,n){return(t<<10)+(e<<5)+n}function n(t){var e=[],n=!1;function r(){e.sort(t),n=!0}return{push:function(t){e.push(t),n=!1},peek:function(t){return n||r(),void 0===t&&(t=e.length-1),e[t]},pop:function(){return n||r(),e.pop()},size:function(){return e.length},map:function(t){return e.map(t)},debug:function(){return n||r(),e}}}function r(t,e,n,r,i,a,o){this.r1=t,this.r2=e,this.g1=n,this.g2=r,this.b1=i,this.b2=a,this.histo=o}function i(){this.vboxes=new n(function(t,n){return e.naturalOrder(t.vbox.count()*t.vbox.volume(),n.vbox.count()*n.vbox.volume())})}return r.prototype={volume:function(t){return(!this._volume||t)&&(this._volume=(this.r2-this.r1+1)*(this.g2-this.g1+1)*(this.b2-this.b1+1)),this._volume},count:function(e){var n=this.histo;if(!this._count_set||e){var r,i,a,o=0;for(r=this.r1;r<=this.r2;r++)for(i=this.g1;i<=this.g2;i++)for(a=this.b1;a<=this.b2;a++)o+=n[t(r,i,a)]||0;this._count=o,this._count_set=!0}return this._count},copy:function(){return new r(this.r1,this.r2,this.g1,this.g2,this.b1,this.b2,this.histo)},avg:function(e){var n=this.histo;if(!this._avg||e){var r,i,a,o,l=0,s=0,c=0,u=0;for(i=this.r1;i<=this.r2;i++)for(a=this.g1;a<=this.g2;a++)for(o=this.b1;o<=this.b2;o++)l+=r=n[t(i,a,o)]||0,s+=r*(i+.5)*8,c+=r*(a+.5)*8,u+=r*(o+.5)*8;l?this._avg=[~~(s/l),~~(c/l),~~(u/l)]:this._avg=[~~(8*(this.r1+this.r2+1)/2),~~(8*(this.g1+this.g2+1)/2),~~(8*(this.b1+this.b2+1)/2)]}return this._avg},contains:function(t){var e=t[0]>>3;return gval=t[1]>>3,bval=t[2]>>3,e>=this.r1&&e<=this.r2&&gval>=this.g1&&gval<=this.g2&&bval>=this.b1&&bval<=this.b2}},i.prototype={push:function(t){this.vboxes.push({vbox:t,color:t.avg()})},palette:function(){return this.vboxes.map(function(t){return t.color})},size:function(){return this.vboxes.size()},map:function(t){for(var e=this.vboxes,n=0;n251&&i[1]>251&&i[2]>251&&(t[r].color=[255,255,255])}},{quantize:function(a,o){if(!a.length||o<2||o>256)return!1;var l,s,c,u,f,d,h,p,g,m,y,v=(s=Array(32768),a.forEach(function(e){s[l=t(e[0]>>3,e[1]>>3,e[2]>>3)]=(s[l]||0)+1}),s),b=0;v.forEach(function(){b++});var x=(d=1e6,h=0,p=1e6,g=0,m=1e6,y=0,a.forEach(function(t){c=t[0]>>3,u=t[1]>>3,f=t[2]>>3,ch&&(h=c),ug&&(g=u),fy&&(y=f)}),new r(d,h,p,g,m,y,v)),O=new n(function(t,n){return e.naturalOrder(t.count(),n.count())});function w(n,r){for(var i,a=1,o=0;o<1e3;){if(!(i=n.pop()).count()){n.push(i),o++;continue}var l=function(n,r){if(r.count()){var i=r.r2-r.r1+1,a=r.g2-r.g1+1,o=r.b2-r.b1+1,l=e.max([i,a,o]);if(1==r.count())return[r.copy()];var s,c,u,f,d=0,h=[],p=[];if(l==i)for(s=r.r1;s<=r.r2;s++){for(f=0,c=r.g1;c<=r.g2;c++)for(u=r.b1;u<=r.b2;u++)f+=n[t(s,c,u)]||0;d+=f,h[s]=d}else if(l==a)for(s=r.g1;s<=r.g2;s++){for(f=0,c=r.r1;c<=r.r2;c++)for(u=r.b1;u<=r.b2;u++)f+=n[t(c,s,u)]||0;d+=f,h[s]=d}else for(s=r.b1;s<=r.b2;s++){for(f=0,c=r.r1;c<=r.r2;c++)for(u=r.g1;u<=r.g2;u++)f+=n[t(c,u,s)]||0;d+=f,h[s]=d}return h.forEach(function(t,e){p[e]=d-t}),function(t){var e,n,i,a,o,l=t+"1",c=t+"2",u=0;for(s=r[l];s<=r[c];s++)if(h[s]>d/2){for(i=r.copy(),a=r.copy(),o=(e=s-r[l])<=(n=r[c]-s)?Math.min(r[c]-1,~~(s+n/2)):Math.max(r[l],~~(s-1-e/2));!h[o];)o++;for(u=p[o];!u&&h[o-1];)u=p[--o];return i[c]=o,a[l]=i[c]+1,[i,a]}}(l==i?"r":l==a?"g":"b")}}(v,i),s=l[0],c=l[1];if(!s||(n.push(s),c&&(n.push(c),a++),a>=r||o++>1e3))return}}O.push(x),w(O,.75*o);for(var _=new n(function(t,n){return e.naturalOrder(t.count()*t.volume(),n.count()*n.volume())});O.size();)_.push(O.pop());w(_,o-_.size());for(var k=new i;_.size();)k.push(_.pop());return k}}}();t.exports=n.quantize},86851:function(t,e,n){"use strict";var r=n(35171),i=Array.prototype.concat,a=Array.prototype.slice,o=t.exports=function(t){for(var e=[],n=0,o=t.length;n`if(${t} < _results.length && ((_results.length = ${t+1}), (_results[${t}] = { error: ${e} }), _checkDone())) { -`+r(!0)+"} else {\n"+n()+"}\n",onResult:(t,e,n,r)=>`if(${t} < _results.length && (${e} !== undefined && (_results.length = ${t+1}), (_results[${t}] = { result: ${e} }), _checkDone())) { -`+r(!0)+"} else {\n"+n()+"}\n",onTap:(t,e,n,r)=>{let i="";return t>0&&(i+=`if(${t} >= _results.length) { -`+n()+"} else {\n"),i+=e(),t>0&&(i+="}\n"),i},onDone:n})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},26714:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onDone:e}){return this.callTapsParallel({onError:(e,n,r,i)=>t(n)+i(!0),onDone:e})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},21293:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onResult:e,resultReturns:n,onDone:r}){return this.callTapsSeries({onError:(e,n,r,i)=>t(n)+i(!0),onResult:(t,n,r)=>`if(${n} !== undefined) { -${e(n)} -} else { -${r()}} -`,resultReturns:n,onDone:r})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},21617:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onDone:e}){return this.callTapsSeries({onError:(e,n,r,i)=>t(n)+i(!0),onDone:e})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},40996:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onDone:e}){return this.callTapsLooping({onError:(e,n,r,i)=>t(n)+i(!0),onDone:e})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},17178:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onResult:e,onDone:n}){return this.callTapsSeries({onError:(e,n,r,i)=>t(n)+i(!0),onResult:(t,e,n)=>`if(${e} !== undefined) { -${this._args[0]} = ${e}; -} -`+n(),onDone:()=>e(this._args[0])})}},o=function(t){return a.setup(this,t),a.create(t)};function l(t=[],e){if(t.length<1)throw Error("Waterfall hooks must have at least one argument");let n=new r(t,e);return n.constructor=l,n.compile=o,n._call=void 0,n.call=void 0,n}l.prototype=null,t.exports=l},56534:function(t,e,n){"use strict";let r=n(50517),i=r.deprecate(()=>{},"Hook.context is deprecated and will be removed"),a=function(...t){return this.call=this._createCall("sync"),this.call(...t)},o=function(...t){return this.callAsync=this._createCall("async"),this.callAsync(...t)},l=function(...t){return this.promise=this._createCall("promise"),this.promise(...t)};class s{constructor(t=[],e){this._args=t,this.name=e,this.taps=[],this.interceptors=[],this._call=a,this.call=a,this._callAsync=o,this.callAsync=o,this._promise=l,this.promise=l,this._x=void 0,this.compile=this.compile,this.tap=this.tap,this.tapAsync=this.tapAsync,this.tapPromise=this.tapPromise}compile(t){throw Error("Abstract: should be overridden")}_createCall(t){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:t})}_tap(t,e,n){if("string"==typeof e)e={name:e.trim()};else if("object"!=typeof e||null===e)throw Error("Invalid tap options");if("string"!=typeof e.name||""===e.name)throw Error("Missing name for tap");void 0!==e.context&&i(),e=Object.assign({type:t,fn:n},e),e=this._runRegisterInterceptors(e),this._insert(e)}tap(t,e){this._tap("sync",t,e)}tapAsync(t,e){this._tap("async",t,e)}tapPromise(t,e){this._tap("promise",t,e)}_runRegisterInterceptors(t){for(let e of this.interceptors)if(e.register){let n=e.register(t);void 0!==n&&(t=n)}return t}withOptions(t){let e=e=>Object.assign({},t,"string"==typeof e?{name:e}:e);return{name:this.name,tap:(t,n)=>this.tap(e(t),n),tapAsync:(t,n)=>this.tapAsync(e(t),n),tapPromise:(t,n)=>this.tapPromise(e(t),n),intercept:t=>this.intercept(t),isUsed:()=>this.isUsed(),withOptions:t=>this.withOptions(e(t))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(t){if(this._resetCompilation(),this.interceptors.push(Object.assign({},t)),t.register)for(let e=0;e0;){r--;let t=this.taps[r];this.taps[r+1]=t;let i=t.stage||0;if(e){if(e.has(t.name)){e.delete(t.name);continue}if(e.size>0)continue}if(!(i>n)){r++;break}}this.taps[r]=t}}Object.setPrototypeOf(s.prototype,null),t.exports=s},12275:function(t){"use strict";t.exports=class{constructor(t){this.config=t,this.options=void 0,this._args=void 0}create(t){let e;switch(this.init(t),this.options.type){case"sync":e=Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:t=>`throw ${t}; -`,onResult:t=>`return ${t}; -`,resultReturns:!0,onDone:()=>"",rethrowIfPossible:!0}));break;case"async":e=Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:t=>`_callback(${t}); -`,onResult:t=>`_callback(null, ${t}); -`,onDone:()=>"_callback();\n"}));break;case"promise":let n=!1,r=this.contentWithInterceptors({onError:t=>(n=!0,`_error(${t}); -`),onResult:t=>`_resolve(${t}); -`,onDone:()=>"_resolve();\n"}),i="";i+='"use strict";\n'+this.header()+"return new Promise((function(_resolve, _reject) {\n",n&&(i+="var _sync = true;\nfunction _error(_err) {\nif(_sync)\n_resolve(Promise.resolve().then((function() { throw _err; })));\nelse\n_reject(_err);\n};\n"),i+=r,n&&(i+="_sync = false;\n"),i+="}));\n",e=Function(this.args(),i)}return this.deinit(),e}setup(t,e){t._x=e.taps.map(t=>t.fn)}init(t){this.options=t,this._args=t.args.slice()}deinit(){this.options=void 0,this._args=void 0}contentWithInterceptors(t){if(!(this.options.interceptors.length>0))return this.content(t);{let e=t.onError,n=t.onResult,r=t.onDone,i="";for(let t=0;t{let n="";for(let e=0;e{let e="";for(let n=0;n{let t="";for(let e=0;e0&&(t+="var _taps = this.taps;\nvar _interceptors = this.interceptors;\n"),t}needContext(){for(let t of this.options.taps)if(t.context)return!0;return!1}callTap(t,{onError:e,onResult:n,onDone:r,rethrowIfPossible:i}){let a="",o=!1;for(let e=0;e"sync"!==t.type),l=n||i,s="",c=r,u=0;for(let n=this.options.taps.length-1;n>=0;n--){let i=n,f=c!==r&&("sync"!==this.options.taps[i].type||u++>20);f&&(u=0,s+=`function _next${i}() { -`+c()+`} -`,c=()=>`${l?"return ":""}_next${i}(); -`);let d=c,h=t=>t?"":r(),p=this.callTap(i,{onError:e=>t(i,e,d,h),onResult:e&&(t=>e(i,t,d,h)),onDone:!e&&d,rethrowIfPossible:a&&(o<0||ip}return s+c()}callTapsLooping({onError:t,onDone:e,rethrowIfPossible:n}){if(0===this.options.taps.length)return e();let r=this.options.taps.every(t=>"sync"===t.type),i="";r||(i+="var _looper = (function() {\nvar _loopAsync = false;\n"),i+="var _loop;\ndo {\n_loop = false;\n";for(let t=0;t{let a="";return a+=`if(${e} !== undefined) { -_loop = true; -`,r||(a+="if(_loopAsync) _looper();\n"),a+=i(!0)+`} else { -`+n()+`} -`},onDone:e&&(()=>"if(!_loop) {\n"+e()+"}\n"),rethrowIfPossible:n&&r})+"} while(_loop);\n",r||(i+="_loopAsync = true;\n});\n_looper();\n"),i}callTapsParallel({onError:t,onResult:e,onDone:n,rethrowIfPossible:r,onTap:i=(t,e)=>e()}){if(this.options.taps.length<=1)return this.callTapsSeries({onError:t,onResult:e,onDone:n,rethrowIfPossible:r});let a="";a+=`do { -var _counter = ${this.options.taps.length}; -`,n&&(a+="var _done = (function() {\n"+n()+"});\n");for(let o=0;on?"if(--_counter === 0) _done();\n":"--_counter;",s=t=>t||!n?"_counter = 0;\n":"_counter = 0;\n_done();\n";a+="if(_counter <= 0) break;\n"+i(o,()=>this.callTap(o,{onError:e=>"if(_counter > 0) {\n"+t(o,e,l,s)+"}\n",onResult:e&&(t=>"if(_counter > 0) {\n"+e(o,t,l,s)+"}\n"),onDone:!e&&(()=>l()),rethrowIfPossible:r}),l,s)}return a+"} while(false);\n"}args({before:t,after:e}={}){let n=this._args;return(t&&(n=[t].concat(n)),e&&(n=n.concat(e)),0===n.length)?"":n.join(", ")}getTapFn(t){return`_x[${t}]`}getTap(t){return`_taps[${t}]`}getInterceptor(t){return`_interceptors[${t}]`}}},12459:function(t,e,n){"use strict";let r=n(50517),i=(t,e)=>e;class a{constructor(t,e){this._map=new Map,this.name=e,this._factory=t,this._interceptors=[]}get(t){return this._map.get(t)}for(t){let e=this.get(t);if(void 0!==e)return e;let n=this._factory(t),r=this._interceptors;for(let e=0;ee.withOptions(t)),this.name)}}t.exports=r},13922:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onResult:e,resultReturns:n,onDone:r,rethrowIfPossible:i}){return this.callTapsSeries({onError:(e,n)=>t(n),onResult:(t,n,r)=>`if(${n} !== undefined) { -${e(n)}; -} else { -${r()}} -`,resultReturns:n,onDone:r,rethrowIfPossible:i})}},o=()=>{throw Error("tapAsync is not supported on a SyncBailHook")},l=()=>{throw Error("tapPromise is not supported on a SyncBailHook")},s=function(t){return a.setup(this,t),a.create(t)};function c(t=[],e){let n=new r(t,e);return n.constructor=c,n.tapAsync=o,n.tapPromise=l,n.compile=s,n}c.prototype=null,t.exports=c},90537:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onDone:e,rethrowIfPossible:n}){return this.callTapsSeries({onError:(e,n)=>t(n),onDone:e,rethrowIfPossible:n})}},o=()=>{throw Error("tapAsync is not supported on a SyncHook")},l=()=>{throw Error("tapPromise is not supported on a SyncHook")},s=function(t){return a.setup(this,t),a.create(t)};function c(t=[],e){let n=new r(t,e);return n.constructor=c,n.tapAsync=o,n.tapPromise=l,n.compile=s,n}c.prototype=null,t.exports=c},43074:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onDone:e,rethrowIfPossible:n}){return this.callTapsLooping({onError:(e,n)=>t(n),onDone:e,rethrowIfPossible:n})}},o=()=>{throw Error("tapAsync is not supported on a SyncLoopHook")},l=()=>{throw Error("tapPromise is not supported on a SyncLoopHook")},s=function(t){return a.setup(this,t),a.create(t)};function c(t=[],e){let n=new r(t,e);return n.constructor=c,n.tapAsync=o,n.tapPromise=l,n.compile=s,n}c.prototype=null,t.exports=c},62076:function(t,e,n){"use strict";let r=n(56534),i=n(12275),a=new class extends i{content({onError:t,onResult:e,resultReturns:n,rethrowIfPossible:r}){return this.callTapsSeries({onError:(e,n)=>t(n),onResult:(t,e,n)=>`if(${e} !== undefined) { -${this._args[0]} = ${e}; -} -`+n(),onDone:()=>e(this._args[0]),doneReturns:n,rethrowIfPossible:r})}},o=()=>{throw Error("tapAsync is not supported on a SyncWaterfallHook")},l=()=>{throw Error("tapPromise is not supported on a SyncWaterfallHook")},s=function(t){return a.setup(this,t),a.create(t)};function c(t=[],e){if(t.length<1)throw Error("Waterfall hooks must have at least one argument");let n=new r(t,e);return n.constructor=c,n.tapAsync=o,n.tapPromise=l,n.compile=s,n}c.prototype=null,t.exports=c},89991:function(t,e,n){"use strict";e.SyncHook=n(90537),n(13922),n(62076),n(43074),e.AsyncParallelHook=n(26714),n(87247),n(21617),n(21293),n(40996),e.AsyncSeriesWaterfallHook=n(17178),n(12459),n(70942)},50517:function(t,e){"use strict";e.deprecate=(t,e)=>{let n=!0;return function(){return n&&(console.warn("DeprecationWarning: "+e),n=!1),t.apply(this,arguments)}}},28670:function(t){t.exports=function(){"use strict";for(var t=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),tn?n:t},e={},n=0,r=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];n255)&&(e._clipped=!0),e[n]=t(e[n],0,255)):3===n&&(e[n]=t(e[n],0,1));return e},limit:t,type:a,unpack:function(t,e){return(void 0===e&&(e=null),t.length>=3)?Array.prototype.slice.call(t):"object"==a(t[0])&&e?e.split("").filter(function(e){return void 0!==t[0][e]}).map(function(e){return t[0][e]}):t[0]},last:function(t){if(t.length<2)return null;var e=t.length-1;return"string"==a(t[e])?t[e].toLowerCase():null},PI:o,TWOPI:2*o,PITHIRD:o/3,DEG2RAD:o/180,RAD2DEG:180/o},s={format:{},autodetect:[]},c=l.last,u=l.clip_rgb,f=l.type,d=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("object"===f(t[0])&&t[0].constructor&&t[0].constructor===this.constructor)return t[0];var n=c(t),r=!1;if(!n){r=!0,s.sorted||(s.autodetect=s.autodetect.sort(function(t,e){return e.p-t.p}),s.sorted=!0);for(var i=0,a=s.autodetect;i4?t[4]:1;return 1===a?[0,0,0,o]:[n>=1?0:255*(1-n)*(1-a),r>=1?0:255*(1-r)*(1-a),i>=1?0:255*(1-i)*(1-a),o]},s.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("array"===v(t=y(t,"cmyk"))&&4===t.length)return"cmyk"}});var x=l.unpack,O=l.last,w=function(t){return Math.round(100*t)/100},_=l.unpack,k=function(){for(var t,e,n=[],r=arguments.length;r--;)n[r]=arguments[r];var i=(n=_(n,"rgba"))[0],a=n[1],o=n[2],l=Math.min(i/=255,a/=255,o/=255),s=Math.max(i,a,o),c=(s+l)/2;return(s===l?(t=0,e=Number.NaN):t=c<.5?(s-l)/(s+l):(s-l)/(2-s-l),i==s?e=(a-o)/(s-l):a==s?e=2+(o-i)/(s-l):o==s&&(e=4+(i-a)/(s-l)),(e*=60)<0&&(e+=360),n.length>3&&void 0!==n[3])?[e,t,c,n[3]]:[e,t,c]},M=l.unpack,C=l.last,j=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=x(t,"hsla"),r=O(t)||"lsa";return n[0]=w(n[0]||0),n[1]=w(100*n[1])+"%",n[2]=w(100*n[2])+"%","hsla"===r||n.length>3&&n[3]<1?(n[3]=n.length>3?n[3]:1,r="hsla"):n.length=3,r+"("+n.join(",")+")"},A=Math.round,S=l.unpack,E=Math.round,P=function(){for(var t,e,n,r,i=[],a=arguments.length;a--;)i[a]=arguments[a];var o=(i=S(i,"hsl"))[0],l=i[1],s=i[2];if(0===l)e=n=r=255*s;else{var c=[0,0,0],u=[0,0,0],f=s<.5?s*(1+l):s+l-s*l,d=2*s-f,h=o/360;c[0]=h+1/3,c[1]=h,c[2]=h-1/3;for(var p=0;p<3;p++)c[p]<0&&(c[p]+=1),c[p]>1&&(c[p]-=1),6*c[p]<1?u[p]=d+(f-d)*6*c[p]:2*c[p]<1?u[p]=f:3*c[p]<2?u[p]=d+(f-d)*(2/3-c[p])*6:u[p]=d;e=(t=[E(255*u[0]),E(255*u[1]),E(255*u[2])])[0],n=t[1],r=t[2]}return i.length>3?[e,n,r,i[3]]:[e,n,r,1]},R=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,T=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,Z=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,L=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,B=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,I=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,N=Math.round,D=function(t){if(t=t.toLowerCase().trim(),s.format.named)try{return s.format.named(t)}catch(t){}if(e=t.match(R)){for(var e,n=e.slice(1,4),r=0;r<3;r++)n[r]=+n[r];return n[3]=1,n}if(e=t.match(T)){for(var i=e.slice(1,5),a=0;a<4;a++)i[a]=+i[a];return i}if(e=t.match(Z)){for(var o=e.slice(1,4),l=0;l<3;l++)o[l]=N(2.55*o[l]);return o[3]=1,o}if(e=t.match(L)){for(var c=e.slice(1,5),u=0;u<3;u++)c[u]=N(2.55*c[u]);return c[3]=+c[3],c}if(e=t.match(B)){var f=e.slice(1,4);f[1]*=.01,f[2]*=.01;var d=P(f);return d[3]=1,d}if(e=t.match(I)){var h=e.slice(1,4);h[1]*=.01,h[2]*=.01;var p=P(h);return p[3]=+e[4],p}};D.test=function(t){return R.test(t)||T.test(t)||Z.test(t)||L.test(t)||B.test(t)||I.test(t)};var F=l.type,z=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=M(t,"rgba"),r=C(t)||"rgb";return"hsl"==r.substr(0,3)?j(k(n),r):(n[0]=A(n[0]),n[1]=A(n[1]),n[2]=A(n[2]),("rgba"===r||n.length>3&&n[3]<1)&&(n[3]=n.length>3?n[3]:1,r="rgba"),r+"("+n.slice(0,"rgb"===r?3:4).join(",")+")")};d.prototype.css=function(t){return z(this._rgb,t)},h.css=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["css"])))},s.format.css=D,s.autodetect.push({p:5,test:function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if(!e.length&&"string"===F(t)&&D.test(t))return"css"}});var $=l.unpack;s.format.gl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=$(t,"rgba");return n[0]*=255,n[1]*=255,n[2]*=255,n},h.gl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["gl"])))},d.prototype.gl=function(){var t=this._rgb;return[t[0]/255,t[1]/255,t[2]/255,t[3]]};var W=l.unpack,H=l.unpack,G=Math.floor,q=l.unpack,V=l.type,Y=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=W(e,"rgb"),i=r[0],a=r[1],o=r[2],l=Math.min(i,a,o),s=Math.max(i,a,o),c=s-l;return 0===c?t=Number.NaN:(i===s&&(t=(a-o)/c),a===s&&(t=2+(o-i)/c),o===s&&(t=4+(i-a)/c),(t*=60)<0&&(t+=360)),[t,100*c/255,l/(255-c)*100]};d.prototype.hcg=function(){return Y(this._rgb)},h.hcg=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["hcg"])))},s.format.hcg=function(){for(var t,e,n,r,i,a,o,l,s,c=[],u=arguments.length;u--;)c[u]=arguments[u];var f=(c=H(c,"hcg"))[0],d=c[1],h=c[2];h*=255;var p=255*d;if(0===d)o=l=s=h;else{360===f&&(f=0),f>360&&(f-=360),f<0&&(f+=360);var g=G(f/=60),m=f-g,y=h*(1-d),v=y+p*(1-m),b=y+p*m,x=y+p;switch(g){case 0:o=(t=[x,b,y])[0],l=t[1],s=t[2];break;case 1:o=(e=[v,x,y])[0],l=e[1],s=e[2];break;case 2:o=(n=[y,x,b])[0],l=n[1],s=n[2];break;case 3:o=(r=[y,v,x])[0],l=r[1],s=r[2];break;case 4:o=(i=[b,y,x])[0],l=i[1],s=i[2];break;case 5:o=(a=[x,y,v])[0],l=a[1],s=a[2]}}return[o,l,s,c.length>3?c[3]:1]},s.autodetect.push({p:1,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("array"===V(t=q(t,"hcg"))&&3===t.length)return"hcg"}});var U=l.unpack,Q=l.last,K=Math.round,X=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=U(t,"rgba"),r=n[0],i=n[1],a=n[2],o=n[3],l=Q(t)||"auto";void 0===o&&(o=1),"auto"===l&&(l=o<1?"rgba":"rgb");var s="000000"+((r=K(r))<<16|(i=K(i))<<8|(a=K(a))).toString(16);s=s.substr(s.length-6);var c="0"+K(255*o).toString(16);switch(c=c.substr(c.length-2),l.toLowerCase()){case"rgba":return"#"+s+c;case"argb":return"#"+c+s;default:return"#"+s}},J=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,tt=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,te=function(t){if(t.match(J)){(4===t.length||7===t.length)&&(t=t.substr(1)),3===t.length&&(t=(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]);var e=parseInt(t,16);return[e>>16,e>>8&255,255&e,1]}if(t.match(tt)){(5===t.length||9===t.length)&&(t=t.substr(1)),4===t.length&&(t=(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]);var n=parseInt(t,16),r=Math.round((255&n)/255*100)/100;return[n>>24&255,n>>16&255,n>>8&255,r]}throw Error("unknown hex color: "+t)},tn=l.type;d.prototype.hex=function(t){return X(this._rgb,t)},h.hex=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["hex"])))},s.format.hex=te,s.autodetect.push({p:4,test:function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if(!e.length&&"string"===tn(t)&&[3,4,5,6,7,8,9].indexOf(t.length)>=0)return"hex"}});var tr=l.unpack,ti=l.TWOPI,ta=Math.min,to=Math.sqrt,tl=Math.acos,ts=l.unpack,tc=l.limit,tu=l.TWOPI,tf=l.PITHIRD,td=Math.cos,th=l.unpack,tp=l.type,tg=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=tr(e,"rgb"),i=r[0],a=r[1],o=r[2],l=ta(i/=255,a/=255,o/=255),s=(i+a+o)/3,c=s>0?1-l/s:0;return 0===c?t=NaN:(t=tl(t=(i-a+(i-o))/2/to((i-a)*(i-a)+(i-o)*(a-o))),o>a&&(t=ti-t),t/=ti),[360*t,c,s]};d.prototype.hsi=function(){return tg(this._rgb)},h.hsi=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["hsi"])))},s.format.hsi=function(){for(var t,e,n,r=[],i=arguments.length;i--;)r[i]=arguments[i];var a=(r=ts(r,"hsi"))[0],o=r[1],l=r[2];return isNaN(a)&&(a=0),isNaN(o)&&(o=0),a>360&&(a-=360),a<0&&(a+=360),(a/=360)<1/3?e=1-((n=(1-o)/3)+(t=(1+o*td(tu*a)/td(tf-tu*a))/3)):a<2/3?(a-=1/3,n=1-((t=(1-o)/3)+(e=(1+o*td(tu*a)/td(tf-tu*a))/3))):(a-=2/3,t=1-((e=(1-o)/3)+(n=(1+o*td(tu*a)/td(tf-tu*a))/3))),[255*(t=tc(l*t*3)),255*(e=tc(l*e*3)),255*(n=tc(l*n*3)),r.length>3?r[3]:1]},s.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("array"===tp(t=th(t,"hsi"))&&3===t.length)return"hsi"}});var tm=l.unpack,ty=l.type;d.prototype.hsl=function(){return k(this._rgb)},h.hsl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["hsl"])))},s.format.hsl=P,s.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("array"===ty(t=tm(t,"hsl"))&&3===t.length)return"hsl"}});var tv=l.unpack,tb=Math.min,tx=Math.max,tO=l.unpack,tw=Math.floor,t_=l.unpack,tk=l.type,tM=function(){for(var t,e,n=[],r=arguments.length;r--;)n[r]=arguments[r];var i=(n=tv(n,"rgb"))[0],a=n[1],o=n[2],l=tb(i,a,o),s=tx(i,a,o),c=s-l;return 0===s?(t=Number.NaN,e=0):(e=c/s,i===s&&(t=(a-o)/c),a===s&&(t=2+(o-i)/c),o===s&&(t=4+(i-a)/c),(t*=60)<0&&(t+=360)),[t,e,s/255]};d.prototype.hsv=function(){return tM(this._rgb)},h.hsv=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["hsv"])))},s.format.hsv=function(){for(var t,e,n,r,i,a,o,l,s,c=[],u=arguments.length;u--;)c[u]=arguments[u];var f=(c=tO(c,"hsv"))[0],d=c[1],h=c[2];if(h*=255,0===d)o=l=s=h;else{360===f&&(f=0),f>360&&(f-=360),f<0&&(f+=360);var p=tw(f/=60),g=f-p,m=h*(1-d),y=h*(1-d*g),v=h*(1-d*(1-g));switch(p){case 0:o=(t=[h,v,m])[0],l=t[1],s=t[2];break;case 1:o=(e=[y,h,m])[0],l=e[1],s=e[2];break;case 2:o=(n=[m,h,v])[0],l=n[1],s=n[2];break;case 3:o=(r=[m,y,h])[0],l=r[1],s=r[2];break;case 4:o=(i=[v,m,h])[0],l=i[1],s=i[2];break;case 5:o=(a=[h,m,y])[0],l=a[1],s=a[2]}}return[o,l,s,c.length>3?c[3]:1]},s.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("array"===tk(t=t_(t,"hsv"))&&3===t.length)return"hsv"}});var tC={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},tj=l.unpack,tA=Math.pow,tS=function(t){return(t/=255)<=.04045?t/12.92:tA((t+.055)/1.055,2.4)},tE=function(t){return t>tC.t3?tA(t,1/3):t/tC.t2+tC.t0},tP=function(){for(var t,e,n,r=[],i=arguments.length;i--;)r[i]=arguments[i];var a=tj(r,"rgb"),o=(t=a[0],e=a[1],n=a[2],[tE((.4124564*(t=tS(t))+.3575761*(e=tS(e))+.1804375*(n=tS(n)))/tC.Xn),tE((.2126729*t+.7151522*e+.072175*n)/tC.Yn),tE((.0193339*t+.119192*e+.9503041*n)/tC.Zn)]),l=o[0],s=o[1],c=o[2],u=116*s-16;return[u<0?0:u,500*(l-s),200*(s-c)]},tR=l.unpack,tT=Math.pow,tZ=function(t){return 255*(t<=.00304?12.92*t:1.055*tT(t,1/2.4)-.055)},tL=function(t){return t>tC.t1?t*t*t:tC.t2*(t-tC.t0)},tB=function(){for(var t,e,n,r=[],i=arguments.length;i--;)r[i]=arguments[i];var a=(r=tR(r,"lab"))[0],o=r[1],l=r[2];return e=(a+16)/116,t=isNaN(o)?e:e+o/500,n=isNaN(l)?e:e-l/200,e=tC.Yn*tL(e),t=tC.Xn*tL(t),n=tC.Zn*tL(n),[tZ(3.2404542*t-1.5371385*e-.4985314*n),tZ(-.969266*t+1.8760108*e+.041556*n),tZ(.0556434*t-.2040259*e+1.0572252*n),r.length>3?r[3]:1]},tI=l.unpack,tN=l.type;d.prototype.lab=function(){return tP(this._rgb)},h.lab=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["lab"])))},s.format.lab=tB,s.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("array"===tN(t=tI(t,"lab"))&&3===t.length)return"lab"}});var tD=l.unpack,tF=l.RAD2DEG,tz=Math.sqrt,t$=Math.atan2,tW=Math.round,tH=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=tD(t,"lab"),r=n[0],i=n[1],a=n[2],o=tz(i*i+a*a),l=(t$(a,i)*tF+360)%360;return 0===tW(1e4*o)&&(l=Number.NaN),[r,o,l]},tG=l.unpack,tq=l.unpack,tV=l.DEG2RAD,tY=Math.sin,tU=Math.cos,tQ=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=tq(t,"lch"),r=n[0],i=n[1],a=n[2];return isNaN(a)&&(a=0),[r,tU(a*=tV)*i,tY(a)*i]},tK=l.unpack,tX=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=tQ((t=tK(t,"lch"))[0],t[1],t[2]),r=tB(n[0],n[1],n[2]);return[r[0],r[1],r[2],t.length>3?t[3]:1]},tJ=l.unpack,t0=l.unpack,t1=l.type,t2=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=tG(t,"rgb"),r=tP(n[0],n[1],n[2]);return tH(r[0],r[1],r[2])};d.prototype.lch=function(){return t2(this._rgb)},d.prototype.hcl=function(){return t2(this._rgb).reverse()},h.lch=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["lch"])))},h.hcl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["hcl"])))},s.format.lch=tX,s.format.hcl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=tJ(t,"hcl").reverse();return tX.apply(void 0,n)},["lch","hcl"].forEach(function(t){return s.autodetect.push({p:2,test:function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if("array"===t1(e=t0(e,t))&&3===e.length)return t}})});var t5={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",cornflower:"#6495ed",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",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",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",maroon2:"#7f0000",maroon3:"#b03060",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",purple2:"#7f007f",purple3:"#a020f0",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"},t3=l.type;d.prototype.name=function(){for(var t=X(this._rgb,"rgb"),e=0,n=Object.keys(t5);e0;)e[n]=arguments[n+1];if(!e.length&&"string"===t3(t)&&t5[t.toLowerCase()])return"named"}});var t4=l.unpack,t6=l.type,t8=l.type,t7=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=t4(t,"rgb");return(n[0]<<16)+(n[1]<<8)+n[2]};d.prototype.num=function(){return t7(this._rgb)},h.num=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["num"])))},s.format.num=function(t){if("number"==t6(t)&&t>=0&&t<=16777215)return[t>>16,t>>8&255,255&t,1];throw Error("unknown num color: "+t)},s.autodetect.push({p:5,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(1===t.length&&"number"===t8(t[0])&&t[0]>=0&&t[0]<=16777215)return"num"}});var t9=l.unpack,et=l.type,ee=Math.round;d.prototype.rgb=function(t){return(void 0===t&&(t=!0),!1===t)?this._rgb.slice(0,3):this._rgb.slice(0,3).map(ee)},d.prototype.rgba=function(t){return void 0===t&&(t=!0),this._rgb.slice(0,4).map(function(e,n){return n<3?!1===t?e:ee(e):e})},h.rgb=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["rgb"])))},s.format.rgb=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=t9(t,"rgba");return void 0===n[3]&&(n[3]=1),n},s.autodetect.push({p:3,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("array"===et(t=t9(t,"rgba"))&&(3===t.length||4===t.length&&"number"==et(t[3])&&t[3]>=0&&t[3]<=1))return"rgb"}});var en=Math.log,er=function(t){var e,n,r,i=t/100;return i<66?(e=255,n=i<6?0:-155.25485562709179-.44596950469579133*(n=i-2)+104.49216199393888*en(n),r=i<20?0:-254.76935184120902+.8274096064007395*(r=i-10)+115.67994401066147*en(r)):(e=351.97690566805693+.114206453784165*(e=i-55)-40.25366309332127*en(e),n=325.4494125711974+.07943456536662342*(n=i-50)-28.0852963507957*en(n),r=255),[e,n,r,1]},ei=l.unpack,ea=Math.round,eo=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];for(var r=ei(e,"rgb"),i=r[0],a=r[2],o=1e3,l=4e4;l-o>.4;){var s=er(t=(l+o)*.5);s[2]/s[0]>=a/i?l=t:o=t}return ea(t)};d.prototype.temp=d.prototype.kelvin=d.prototype.temperature=function(){return eo(this._rgb)},h.temp=h.kelvin=h.temperature=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["temp"])))},s.format.temp=s.format.kelvin=s.format.temperature=er;var el=l.unpack,es=Math.cbrt,ec=Math.pow,eu=Math.sign,ef=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=el(t,"rgb"),r=n[0],i=n[1],a=n[2],o=[ed(r/255),ed(i/255),ed(a/255)],l=o[0],s=o[1],c=o[2],u=es(.4122214708*l+.5363325363*s+.0514459929*c),f=es(.2119034982*l+.6806995451*s+.1073969566*c),d=es(.0883024619*l+.2817188376*s+.6299787005*c);return[.2104542553*u+.793617785*f-.0040720468*d,1.9779984951*u-2.428592205*f+.4505937099*d,.0259040371*u+.7827717662*f-.808675766*d]};function ed(t){var e=Math.abs(t);return e<.04045?t/12.92:(eu(t)||1)*ec((e+.055)/1.055,2.4)}var eh=l.unpack,ep=Math.pow,eg=Math.sign,em=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=(t=eh(t,"lab"))[0],r=t[1],i=t[2],a=ep(n+.3963377774*r+.2158037573*i,3),o=ep(n-.1055613458*r-.0638541728*i,3),l=ep(n-.0894841775*r-1.291485548*i,3);return[255*ey(4.0767416621*a-3.3077115913*o+.2309699292*l),255*ey(-1.2684380046*a+2.6097574011*o-.3413193965*l),255*ey(-.0041960863*a-.7034186147*o+1.707614701*l),t.length>3?t[3]:1]};function ey(t){var e=Math.abs(t);return e>.0031308?(eg(t)||1)*(1.055*ep(e,1/2.4)-.055):12.92*t}var ev=l.unpack,eb=l.type;d.prototype.oklab=function(){return ef(this._rgb)},h.oklab=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["oklab"])))},s.format.oklab=em,s.autodetect.push({p:3,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("array"===eb(t=ev(t,"oklab"))&&3===t.length)return"oklab"}});var ex=l.unpack,eO=l.unpack,ew=l.unpack,e_=l.type,ek=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=ex(t,"rgb"),r=ef(n[0],n[1],n[2]);return tH(r[0],r[1],r[2])};d.prototype.oklch=function(){return ek(this._rgb)},h.oklch=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(d,[null].concat(t,["oklch"])))},s.format.oklch=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=tQ((t=eO(t,"lch"))[0],t[1],t[2]),r=em(n[0],n[1],n[2]);return[r[0],r[1],r[2],t.length>3?t[3]:1]},s.autodetect.push({p:3,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if("array"===e_(t=ew(t,"oklch"))&&3===t.length)return"oklch"}});var eM=l.type;d.prototype.alpha=function(t,e){return(void 0===e&&(e=!1),void 0!==t&&"number"===eM(t))?e?(this._rgb[3]=t,this):new d([this._rgb[0],this._rgb[1],this._rgb[2],t],"rgb"):this._rgb[3]},d.prototype.clipped=function(){return this._rgb._clipped||!1},d.prototype.darken=function(t){void 0===t&&(t=1);var e=this.lab();return e[0]-=tC.Kn*t,new d(e,"lab").alpha(this.alpha(),!0)},d.prototype.brighten=function(t){return void 0===t&&(t=1),this.darken(-t)},d.prototype.darker=d.prototype.darken,d.prototype.brighter=d.prototype.brighten,d.prototype.get=function(t){var e=t.split("."),n=e[0],r=e[1],i=this[n]();if(!r)return i;var a=n.indexOf(r)-("ok"===n.substr(0,2)?2:0);if(a>-1)return i[a];throw Error("unknown channel "+r+" in mode "+n)};var eC=l.type,ej=Math.pow;d.prototype.luminance=function(t){if(void 0!==t&&"number"===eC(t)){if(0===t)return new d([0,0,0,this._rgb[3]],"rgb");if(1===t)return new d([255,255,255,this._rgb[3]],"rgb");var e=this.luminance(),n=20,r=function(e,i){var a=e.interpolate(i,.5,"rgb"),o=a.luminance();return!(1e-7>Math.abs(t-o))&&n--?o>t?r(e,a):r(a,i):a},i=(e>t?r(new d([0,0,0]),this):r(this,new d([255,255,255]))).rgb();return new d(i.concat([this._rgb[3]]))}return eA.apply(void 0,this._rgb.slice(0,3))};var eA=function(t,e,n){return .2126*(t=eS(t))+.7152*(e=eS(e))+.0722*(n=eS(n))},eS=function(t){return(t/=255)<=.03928?t/12.92:ej((t+.055)/1.055,2.4)},eE={},eP=l.type,eR=function(t,e,n){void 0===n&&(n=.5);for(var r=[],i=arguments.length-3;i-- >0;)r[i]=arguments[i+3];var a=r[0]||"lrgb";if(eE[a]||r.length||(a=Object.keys(eE)[0]),!eE[a])throw Error("interpolation mode "+a+" is not defined");return"object"!==eP(t)&&(t=new d(t)),"object"!==eP(e)&&(e=new d(e)),eE[a](t,e,n).alpha(t.alpha()+n*(e.alpha()-t.alpha()))};d.prototype.mix=d.prototype.interpolate=function(t,e){void 0===e&&(e=.5);for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return eR.apply(void 0,[this,t,e].concat(n))},d.prototype.premultiply=function(t){void 0===t&&(t=!1);var e=this._rgb,n=e[3];return t?(this._rgb=[e[0]*n,e[1]*n,e[2]*n,n],this):new d([e[0]*n,e[1]*n,e[2]*n,n],"rgb")},d.prototype.saturate=function(t){void 0===t&&(t=1);var e=this.lch();return e[1]+=tC.Kn*t,e[1]<0&&(e[1]=0),new d(e,"lch").alpha(this.alpha(),!0)},d.prototype.desaturate=function(t){return void 0===t&&(t=1),this.saturate(-t)};var eT=l.type;d.prototype.set=function(t,e,n){void 0===n&&(n=!1);var r=t.split("."),i=r[0],a=r[1],o=this[i]();if(!a)return o;var l=i.indexOf(a)-("ok"===i.substr(0,2)?2:0);if(l>-1){if("string"==eT(e))switch(e.charAt(0)){case"+":case"-":o[l]+=+e;break;case"*":o[l]*=+e.substr(1);break;case"/":o[l]/=+e.substr(1);break;default:o[l]=+e}else if("number"===eT(e))o[l]=e;else throw Error("unsupported value for Color.set");var s=new d(o,i);return n?(this._rgb=s._rgb,this):s}throw Error("unknown channel "+a+" in mode "+i)},eE.rgb=function(t,e,n){var r=t._rgb,i=e._rgb;return new d(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"rgb")};var eZ=Math.sqrt,eL=Math.pow;eE.lrgb=function(t,e,n){var r=t._rgb,i=r[0],a=r[1],o=r[2],l=e._rgb,s=l[0],c=l[1],u=l[2];return new d(eZ(eL(i,2)*(1-n)+eL(s,2)*n),eZ(eL(a,2)*(1-n)+eL(c,2)*n),eZ(eL(o,2)*(1-n)+eL(u,2)*n),"rgb")},eE.lab=function(t,e,n){var r=t.lab(),i=e.lab();return new d(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"lab")};var eB=function(t,e,n,r){var i,a,o,l,s,c,u,f,h,p,g,m,y,v;return"hsl"===r?(o=t.hsl(),l=e.hsl()):"hsv"===r?(o=t.hsv(),l=e.hsv()):"hcg"===r?(o=t.hcg(),l=e.hcg()):"hsi"===r?(o=t.hsi(),l=e.hsi()):"lch"===r||"hcl"===r?(r="hcl",o=t.hcl(),l=e.hcl()):"oklch"===r&&(o=t.oklch().reverse(),l=e.oklch().reverse()),("h"===r.substr(0,1)||"oklch"===r)&&(s=(i=o)[0],u=i[1],h=i[2],c=(a=l)[0],f=a[1],p=a[2]),isNaN(s)||isNaN(c)?isNaN(s)?isNaN(c)?m=Number.NaN:(m=c,(1==h||0==h)&&"hsv"!=r&&(g=f)):(m=s,(1==p||0==p)&&"hsv"!=r&&(g=u)):(v=c>s&&c-s>180?c-(s+360):c180?c+360-s:c-s,m=s+n*v),void 0===g&&(g=u+n*(f-u)),y=h+n*(p-h),"oklch"===r?new d([y,g,m],r):new d([m,g,y],r)},eI=function(t,e,n){return eB(t,e,n,"lch")};eE.lch=eI,eE.hcl=eI,eE.num=function(t,e,n){var r=t.num(),i=e.num();return new d(r+n*(i-r),"num")},eE.hcg=function(t,e,n){return eB(t,e,n,"hcg")},eE.hsi=function(t,e,n){return eB(t,e,n,"hsi")},eE.hsl=function(t,e,n){return eB(t,e,n,"hsl")},eE.hsv=function(t,e,n){return eB(t,e,n,"hsv")},eE.oklab=function(t,e,n){var r=t.oklab(),i=e.oklab();return new d(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"oklab")},eE.oklch=function(t,e,n){return eB(t,e,n,"oklch")};var eN=l.clip_rgb,eD=Math.pow,eF=Math.sqrt,ez=Math.PI,e$=Math.cos,eW=Math.sin,eH=Math.atan2,eG=function(t,e){for(var n=t.length,r=[0,0,0,0],i=0;i.9999999&&(r[3]=1),new d(eN(r))},eq=l.type,eV=Math.pow,eY=function(t){var e="rgb",n=h("#ccc"),r=0,i=[0,1],a=[],o=[0,0],l=!1,s=[],c=!1,u=0,f=1,d=!1,p={},g=!0,m=1,y=function(t){if("string"===eq(t=t||["#fff","#000"])&&h.brewer&&h.brewer[t.toLowerCase()]&&(t=h.brewer[t.toLowerCase()]),"array"===eq(t)){1===t.length&&(t=[t[0],t[0]]),t=t.slice(0);for(var e=0;e=l[n];)n++;return n-1}return 0},b=function(t){return t},x=function(t){return t},O=function(t,r){if(null==r&&(r=!1),isNaN(t)||null===t)return n;if(r)c=t;else if(l&&l.length>2){var i,c;c=v(t)/(l.length-2)}else c=f!==u?(t-u)/(f-u):1;c=x(c),r||(c=b(c)),1!==m&&(c=eV(c,m));var d=Math.floor(1e4*(c=Math.min(1,Math.max(0,c=o[0]+c*(1-o[0]-o[1])))));if(g&&p[d])i=p[d];else{if("array"===eq(s))for(var y=0;y=O&&y===a.length-1){i=s[y];break}if(c>O&&c2){var c=t.map(function(e,n){return n/(t.length-1)}),d=t.map(function(t){return(t-u)/(f-u)});d.every(function(t,e){return c[e]===t})||(x=function(t){if(t<=0||t>=1)return t;for(var e=0;t>=d[e+1];)e++;var n=(t-d[e])/(d[e+1]-d[e]);return c[e]+n*(c[e+1]-c[e])})}}return i=[u,f],_},_.mode=function(t){return arguments.length?(e=t,w(),_):e},_.range=function(t,e){return y(t),_},_.out=function(t){return c=t,_},_.spread=function(t){return arguments.length?(r=t,_):r},_.correctLightness=function(t){return null==t&&(t=!0),d=t,w(),b=d?function(t){for(var e=O(0,!0).lab()[0],n=O(1,!0).lab()[0],r=e>n,i=O(t,!0).lab()[0],a=e+(n-e)*t,o=i-a,l=0,s=1,c=20;Math.abs(o)>.01&&c-- >0;)r&&(o*=-1),o<0?(l=t,t+=(s-t)*.5):(s=t,t+=(l-t)*.5),o=(i=O(t,!0).lab()[0])-a;return t}:function(t){return t},_},_.padding=function(t){return null!=t?("number"===eq(t)&&(t=[t,t]),o=t,_):o},_.colors=function(e,n){arguments.length<2&&(n="hex");var r=[];if(0==arguments.length)r=s.slice(0);else if(1===e)r=[_(.5)];else if(e>1){var a=i[0],o=i[1]-a;r=(function(t,e,n){for(var r=[],i=ta;i?o++:o--)r.push(o);return r})(0,e,!1).map(function(t){return _(a+t/(e-1)*o)})}else{t=[];var c=[];if(l&&l.length>2)for(var u=1,f=l.length,d=1<=f;d?uf;d?u++:u--)c.push((l[u-1]+l[u])*.5);else c=i;r=c.map(function(t){return _(t)})}return h[n]&&(r=r.map(function(t){return t[n]()})),r},_.cache=function(t){return null!=t?(g=t,_):g},_.gamma=function(t){return null!=t?(m=t,_):m},_.nodata=function(t){return null!=t?(n=h(t),_):n},_},eU=function(t){for(var e=[1,1],n=1;n=5)c=t.map(function(t){return t.lab()}),u=eU(f=t.length-1),i=function(t){var e=1-t,n=[0,1,2].map(function(n){return c.reduce(function(r,i,a){return r+u[a]*Math.pow(e,f-a)*Math.pow(t,a)*i[n]},0)});return new d(n,"lab")};else throw RangeError("No point in running bezier with only one color.");return i},eK=function(t,e,n){if(!eK[n])throw Error("unknown blend mode "+n);return eK[n](t,e)},eX=function(t){return function(e,n){var r=h(n).rgb(),i=h(e).rgb();return h.rgb(t(r,i))}},eJ=function(t){return function(e,n){var r=[];return r[0]=t(e[0],n[0]),r[1]=t(e[1],n[1]),r[2]=t(e[2],n[2]),r}};eK.normal=eX(eJ(function(t){return t})),eK.multiply=eX(eJ(function(t,e){return t*e/255})),eK.screen=eX(eJ(function(t,e){return 255*(1-(1-t/255)*(1-e/255))})),eK.overlay=eX(eJ(function(t,e){return e<128?2*t*e/255:255*(1-2*(1-t/255)*(1-e/255))})),eK.darken=eX(eJ(function(t,e){return t>e?e:t})),eK.lighten=eX(eJ(function(t,e){return t>e?t:e})),eK.dodge=eX(eJ(function(t,e){return 255===t?255:(t=255*(e/255)/(1-t/255))>255?255:t})),eK.burn=eX(eJ(function(t,e){return 255*(1-(1-e/255)/(t/255))}));for(var e0=l.type,e1=l.clip_rgb,e2=l.TWOPI,e5=Math.pow,e3=Math.sin,e4=Math.cos,e6=Math.floor,e8=Math.random,e7=Math.log,e9=Math.pow,nt=Math.floor,ne=Math.abs,nn=function(t,e){void 0===e&&(e=null);var n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===a(t)&&(t=Object.values(t)),t.forEach(function(t){e&&"object"===a(t)&&(t=t[e]),null==t||isNaN(t)||(n.values.push(t),n.sum+=t,tn.max&&(n.max=t),n.count+=1)}),n.domain=[n.min,n.max],n.limits=function(t,e){return nr(n,t,e)},n},nr=function(t,e,n){void 0===e&&(e="equal"),void 0===n&&(n=7),"array"==a(t)&&(t=nn(t));var r=t.min,i=t.max,o=t.values.sort(function(t,e){return t-e});if(1===n)return[r,i];var l=[];if("c"===e.substr(0,1)&&(l.push(r),l.push(i)),"e"===e.substr(0,1)){l.push(r);for(var s=1;s 0");var c=Math.LOG10E*e7(r),u=Math.LOG10E*e7(i);l.push(r);for(var f=1;f200&&(x=!1)}for(var B={},I=0;I=360;)g-=360;o[p]=g}else o[p]=o[p]/l[p];return h/=r,new d(o,e).alpha(h>.99999?1:h,!0)},h.bezier=function(t){var e=eQ(t);return e.scale=function(){return eY(e)},e},h.blend=eK,h.cubehelix=function(t,e,n,r,i){void 0===t&&(t=300),void 0===e&&(e=-1.5),void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=[0,1]);var a,o=0;"array"===e0(i)?a=i[1]-i[0]:(a=0,i=[i,i]);var l=function(l){var s=e2*((t+120)/360+e*l),c=e5(i[0]+a*l,r),u=(0!==o?n[0]+l*o:n)*c*(1-c)/2,f=e4(s),d=e3(s);return h(e1([255*(c+u*(-.14861*f+1.78277*d)),255*(c+u*(-.29227*f-.90649*d)),255*(c+u*(1.97294*f)),1]))};return l.start=function(e){return null==e?t:(t=e,l)},l.rotations=function(t){return null==t?e:(e=t,l)},l.gamma=function(t){return null==t?r:(r=t,l)},l.hue=function(t){return null==t?n:("array"===e0(n=t)?0==(o=n[1]-n[0])&&(n=n[1]):o=0,l)},l.lightness=function(t){return null==t?i:("array"===e0(t)?(i=t,a=t[1]-t[0]):(i=[t,t],a=0),l)},l.scale=function(){return h.scale(l)},l.hue(n),l},h.mix=h.interpolate=eR,h.random=function(){for(var t="#",e=0;e<6;e++)t+="0123456789abcdef".charAt(e6(16*e8()));return new d(t,"hex")},h.scale=eY,h.analyze=ni.analyze,h.contrast=function(t,e){t=new d(t),e=new d(e);var n=t.luminance(),r=e.luminance();return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)},h.deltaE=function(t,e,n,r,i){void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=1);var a=function(t){return 360*t/(2*np)},o=function(t){return 2*np*t/360};t=new d(t),e=new d(e);var l=Array.from(t.lab()),s=l[0],c=l[1],u=l[2],f=Array.from(e.lab()),h=f[0],p=f[1],g=f[2],m=(s+h)/2,y=(na(no(c,2)+no(u,2))+na(no(p,2)+no(g,2)))/2,v=.5*(1-na(no(y,7)/(no(y,7)+no(25,7)))),b=c*(1+v),x=p*(1+v),O=na(no(b,2)+no(u,2)),w=na(no(x,2)+no(g,2)),_=(O+w)/2,k=a(nc(u,b)),M=a(nc(g,x)),C=k>=0?k:k+360,j=M>=0?M:M+360,A=nu(C-j)>180?(C+j+360)/2:(C+j)/2,S=1-.17*nf(o(A-30))+.24*nf(o(2*A))+.32*nf(o(3*A+6))-.2*nf(o(4*A-63)),E=j-C;E=180>=nu(E)?E:j<=C?E+360:E-360,E=2*na(O*w)*nd(o(E)/2);var P=w-O,R=1+.015*no(m-50,2)/na(20+no(m-50,2)),T=1+.045*_,Z=1+.015*_*S,L=30*nh(-no((A-275)/25,2)),B=-(2*na(no(_,7)/(no(_,7)+no(25,7))))*nd(2*o(L));return ns(0,nl(100,na(no((h-s)/(n*R),2)+no(P/(r*T),2)+no(E/(i*Z),2)+B*(P/(r*T))*(E/(i*Z)))))},h.distance=function(t,e,n){void 0===n&&(n="lab"),t=new d(t),e=new d(e);var r=t.get(n),i=e.get(n),a=0;for(var o in r){var l=(r[o]||0)-(i[o]||0);a+=l*l}return Math.sqrt(a)},h.limits=ni.limits,h.valid=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];try{return new(Function.prototype.bind.apply(d,[null].concat(t))),!0}catch(t){return!1}},h.scales={cool:function(){return eY([h.hsl(180,1,.9),h.hsl(250,.7,.4)])},hot:function(){return eY(["#000","#f00","#ff0","#fff"]).mode("rgb")}},h.colors=t5,h.brewer=ng,h}()},89093:function(t,e,n){"use strict";var r=n(38554);e.Z=r},90512:function(t,e,n){"use strict";e.Z=function(){for(var t,e,n=0,r="",i=arguments.length;ni&&(r=n,o(1),++e),n[t]=a}function o(t){e=0,n=Object.create(null),t||(r=Object.create(null))}return o(),{clear:o,has:function(t){return void 0!==n[t]||void 0!==r[t]},get:function(t){var e=n[t];return void 0!==e?e:void 0!==(e=r[t])?(a(t,e),e):void 0},set:function(t,e){void 0!==n[t]?n[t]=e:a(t,e)}}}n.d(e,{Z:function(){return r}})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7399-aa4b411960656a19.js b/dbgpt/app/static/web/_next/static/chunks/7399-aa4b411960656a19.js deleted file mode 100644 index fc1ae2746..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/7399-aa4b411960656a19.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7399,2500,8538,2524,2293,7209],{39055:function(e,r){r.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"}},91321:function(e,r,t){t.d(r,{Z:function(){return u}});var n=t(87462),o=t(45987),c=t(67294),l=t(16165),a=["type","children"],i=new Set;function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[r];if("string"==typeof t&&t.length&&!i.has(t)){var n=document.createElement("script");n.setAttribute("src",t),n.setAttribute("data-namespace",t),e.length>r+1&&(n.onload=function(){s(e,r+1)},n.onerror=function(){s(e,r+1)}),i.add(t),document.body.appendChild(n)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scriptUrl,t=e.extraCommonProps,i=void 0===t?{}:t;r&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(r)?s(r.reverse()):s([r]));var u=c.forwardRef(function(e,r){var t=e.type,s=e.children,u=(0,o.Z)(e,a),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(t)})),s&&(d=s),c.createElement(l.Z,(0,n.Z)({},i,u,{ref:r}),d)});return u.displayName="Iconfont",u}},52645:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},58638:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},83266:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},79090:function(e,r,t){var n=t(87462),o=t(67294),c=t(15294),l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c.Z}))});r.Z=a},30159:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},87740:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},27496:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},41441:function(e,r,t){var n=t(87462),o=t(67294),c=t(39055),l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c.Z}))});r.Z=a},66309:function(e,r,t){t.d(r,{Z:function(){return z}});var n=t(67294),o=t(93967),c=t.n(o),l=t(98423),a=t(98787),i=t(69760),s=t(96159),u=t(45353),d=t(53124),f=t(47648),g=t(10274),h=t(14747),p=t(87893),v=t(83559);let m=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:n,componentCls:o,calc:c}=e,l=c(n).sub(t).equal(),a=c(r).sub(t).equal();return{[o]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:r,fontSizeIcon:t,calc:n}=e,o=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:o,tagLineHeight:(0,f.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(t).sub(n(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let r=b(e);return m(r)},C),k=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let w=n.forwardRef((e,r)=>{let{prefixCls:t,style:o,className:l,checked:a,onChange:i,onClick:s}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:g}=n.useContext(d.E_),h=f("tag",t),[p,v,m]=y(h),b=c()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:a},null==g?void 0:g.className,l,v,m);return p(n.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},o),null==g?void 0:g.style),className:b,onClick:e=>{null==i||i(!a),null==s||s(e)}})))});var Z=t(98719);let $=e=>(0,Z.Z)(e,(r,t)=>{let{textColor:n,lightBorderColor:o,lightColor:c,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:n,background:c,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var x=(0,v.bk)(["Tag","preset"],e=>{let r=b(e);return $(r)},C);let E=(e,r,t)=>{let n=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let r=b(e);return[E(r,"success","Success"),E(r,"processing","Info"),E(r,"error","Error"),E(r,"warning","Warning")]},C),O=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let S=n.forwardRef((e,r)=>{let{prefixCls:t,className:o,rootClassName:f,style:g,children:h,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,k=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:Z,tag:$}=n.useContext(d.E_),[E,S]=n.useState(!0),z=(0,l.Z)(k,["closeIcon","closable"]);n.useEffect(()=>{void 0!==C&&S(C)},[C]);let B=(0,a.o2)(v),M=(0,a.yT)(v),j=B||M,V=Object.assign(Object.assign({backgroundColor:v&&!j?v:void 0},null==$?void 0:$.style),g),P=w("tag",t),[R,I,N]=y(P),T=c()(P,null==$?void 0:$.className,{[`${P}-${v}`]:j,[`${P}-has-color`]:v&&!j,[`${P}-hidden`]:!E,[`${P}-rtl`]:"rtl"===Z,[`${P}-borderless`]:!b},o,f,I,N),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)($),{closable:!1,closeIconRender:e=>{let r=n.createElement("span",{className:`${P}-close-icon`,onClick:L},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),L(r)},className:c()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),_="function"==typeof k.onClick||h&&"a"===h.type,q=p||null,F=q?n.createElement(n.Fragment,null,q,h&&n.createElement("span",null,h)):h,D=n.createElement("span",Object.assign({},z,{ref:r,className:T,style:V}),F,A,B&&n.createElement(x,{key:"preset",prefixCls:P}),M&&n.createElement(H,{key:"status",prefixCls:P}));return R(_?n.createElement(u.Z,{component:"Tag"},D):D)});S.CheckableTag=w;var z=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7530-a7f2629474af542d.js b/dbgpt/app/static/web/_next/static/chunks/7530-a7f2629474af542d.js deleted file mode 100644 index bd6cc4555..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/7530-a7f2629474af542d.js +++ /dev/null @@ -1,53 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7530],{99011:function(e,t){"use strict";t.Z={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:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"}},4708:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"}},10952:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"}},19369:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"}},66995:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"}},86759:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"}},8751:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{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"}}]},name:"check-circle",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},88284:function(e,t,n){"use strict";var r=n(87462),a=n(67294),i=n(32857),o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},30071:function(e,t,n){"use strict";var r=n(87462),a=n(67294),i=n(99011),o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},18429:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=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 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},28508:function(e,t,n){"use strict";var r=n(87462),a=n(67294),i=n(89503),o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},85175:function(e,t,n){"use strict";var r=n(87462),a=n(67294),i=n(48820),o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},35790:function(e,t,n){"use strict";var r=n(87462),a=n(67294),i=n(19369),o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},98165:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},47221:function(e,t,n){"use strict";n.d(t,{Z:function(){return $}});var r=n(67294),a=n(62994),i=n(93967),o=n.n(i),s=n(87462),l=n(74902),c=n(97685),u=n(71002),p=n(21770),d=n(80334),f=n(45987),g=n(50344),m=n(4942),h=n(29372),b=n(15105),y=r.forwardRef(function(e,t){var n=e.prefixCls,a=e.forceRender,i=e.className,s=e.style,l=e.children,u=e.isActive,p=e.role,d=r.useState(u||a),f=(0,c.Z)(d,2),g=f[0],h=f[1];return(r.useEffect(function(){(a||u)&&h(!0)},[a,u]),g)?r.createElement("div",{ref:t,className:o()("".concat(n,"-content"),(0,m.Z)((0,m.Z)({},"".concat(n,"-content-active"),u),"".concat(n,"-content-inactive"),!u),i),style:s,role:p},r.createElement("div",{className:"".concat(n,"-content-box")},l)):null});y.displayName="PanelContent";var E=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],T=r.forwardRef(function(e,t){var n=e.showArrow,a=void 0===n||n,i=e.headerClass,l=e.isActive,c=e.onItemClick,u=e.forceRender,p=e.className,d=e.prefixCls,g=e.collapsible,T=e.accordion,S=e.panelKey,v=e.extra,A=e.header,O=e.expandIcon,_=e.openMotion,k=e.destroyInactivePanel,I=e.children,C=(0,f.Z)(e,E),N="disabled"===g,w="header"===g,x="icon"===g,R=null!=v&&"boolean"!=typeof v,L=function(){null==c||c(S)},D="function"==typeof O?O(e):r.createElement("i",{className:"arrow"});D&&(D=r.createElement("div",{className:"".concat(d,"-expand-icon"),onClick:["header","icon"].includes(g)?L:void 0},D));var P=o()((0,m.Z)((0,m.Z)((0,m.Z)({},"".concat(d,"-item"),!0),"".concat(d,"-item-active"),l),"".concat(d,"-item-disabled"),N),p),M={className:o()(i,(0,m.Z)((0,m.Z)((0,m.Z)({},"".concat(d,"-header"),!0),"".concat(d,"-header-collapsible-only"),w),"".concat(d,"-icon-collapsible-only"),x)),"aria-expanded":l,"aria-disabled":N,onKeyDown:function(e){("Enter"===e.key||e.keyCode===b.Z.ENTER||e.which===b.Z.ENTER)&&L()}};return w||x||(M.onClick=L,M.role=T?"tab":"button",M.tabIndex=N?-1:0),r.createElement("div",(0,s.Z)({},C,{ref:t,className:P}),r.createElement("div",M,a&&D,r.createElement("span",{className:"".concat(d,"-header-text"),onClick:"header"===g?L:void 0},A),R&&r.createElement("div",{className:"".concat(d,"-extra")},v)),r.createElement(h.ZP,(0,s.Z)({visible:l,leavedClassName:"".concat(d,"-content-hidden")},_,{forceRender:u,removeOnLeave:k}),function(e,t){var n=e.className,a=e.style;return r.createElement(y,{ref:t,prefixCls:d,className:n,style:a,isActive:l,forceRender:u,role:T?"tabpanel":void 0},I)}))}),S=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],v=function(e,t){var n=t.prefixCls,a=t.accordion,i=t.collapsible,o=t.destroyInactivePanel,l=t.onItemClick,c=t.activeKey,u=t.openMotion,p=t.expandIcon;return e.map(function(e,t){var d=e.children,g=e.label,m=e.key,h=e.collapsible,b=e.onItemClick,y=e.destroyInactivePanel,E=(0,f.Z)(e,S),v=String(null!=m?m:t),A=null!=h?h:i,O=!1;return O=a?c[0]===v:c.indexOf(v)>-1,r.createElement(T,(0,s.Z)({},E,{prefixCls:n,key:v,panelKey:v,isActive:O,accordion:a,openMotion:u,expandIcon:p,header:g,collapsible:A,onItemClick:function(e){"disabled"!==A&&(l(e),null==b||b(e))},destroyInactivePanel:null!=y?y:o}),d)})},A=function(e,t,n){if(!e)return null;var a=n.prefixCls,i=n.accordion,o=n.collapsible,s=n.destroyInactivePanel,l=n.onItemClick,c=n.activeKey,u=n.openMotion,p=n.expandIcon,d=e.key||String(t),f=e.props,g=f.header,m=f.headerClass,h=f.destroyInactivePanel,b=f.collapsible,y=f.onItemClick,E=!1;E=i?c[0]===d:c.indexOf(d)>-1;var T=null!=b?b:o,S={key:d,panelKey:d,header:g,headerClass:m,isActive:E,prefixCls:a,destroyInactivePanel:null!=h?h:s,openMotion:u,accordion:i,children:e.props.children,onItemClick:function(e){"disabled"!==T&&(l(e),null==y||y(e))},expandIcon:p,collapsible:T};return"string"==typeof e.type?e:(Object.keys(S).forEach(function(e){void 0===S[e]&&delete S[e]}),r.cloneElement(e,S))},O=n(64217);function _(e){var t=e;if(!Array.isArray(t)){var n=(0,u.Z)(t);t="number"===n||"string"===n?[t]:[]}return t.map(function(e){return String(e)})}var k=Object.assign(r.forwardRef(function(e,t){var n,a=e.prefixCls,i=void 0===a?"rc-collapse":a,u=e.destroyInactivePanel,f=e.style,m=e.accordion,h=e.className,b=e.children,y=e.collapsible,E=e.openMotion,T=e.expandIcon,S=e.activeKey,k=e.defaultActiveKey,I=e.onChange,C=e.items,N=o()(i,h),w=(0,p.Z)([],{value:S,onChange:function(e){return null==I?void 0:I(e)},defaultValue:k,postState:_}),x=(0,c.Z)(w,2),R=x[0],L=x[1];(0,d.ZP)(!b,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var D=(n={prefixCls:i,accordion:m,openMotion:E,expandIcon:T,collapsible:y,destroyInactivePanel:void 0!==u&&u,onItemClick:function(e){return L(function(){return m?R[0]===e?[]:[e]:R.indexOf(e)>-1?R.filter(function(t){return t!==e}):[].concat((0,l.Z)(R),[e])})},activeKey:R},Array.isArray(C)?v(C,n):(0,g.Z)(b).map(function(e,t){return A(e,t,n)}));return r.createElement("div",(0,s.Z)({ref:t,className:N,style:f,role:m?"tablist":void 0},(0,O.Z)(e,{aria:!0,data:!0})),D)}),{Panel:T});k.Panel;var I=n(98423),C=n(33603),N=n(96159),w=n(53124),x=n(98675);let R=r.forwardRef((e,t)=>{let{getPrefixCls:n}=r.useContext(w.E_),{prefixCls:a,className:i,showArrow:s=!0}=e,l=n("collapse",a),c=o()({[`${l}-no-arrow`]:!s},i);return r.createElement(k.Panel,Object.assign({ref:t},e,{prefixCls:l,className:c}))});var L=n(47648),D=n(14747),P=n(33507),M=n(83559),F=n(87893);let B=e=>{let{componentCls:t,contentBg:n,padding:r,headerBg:a,headerPadding:i,collapseHeaderPaddingSM:o,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:l,lineWidth:c,lineType:u,colorBorder:p,colorText:d,colorTextHeading:f,colorTextDisabled:g,fontSizeLG:m,lineHeight:h,lineHeightLG:b,marginSM:y,paddingSM:E,paddingLG:T,paddingXS:S,motionDurationSlow:v,fontSizeIcon:A,contentPadding:O,fontHeight:_,fontHeightLG:k}=e,I=`${(0,L.bf)(c)} ${u} ${p}`;return{[t]:Object.assign(Object.assign({},(0,D.Wf)(e)),{backgroundColor:a,border:I,borderRadius:l,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:I,"&:last-child":{[` - &, - & > ${t}-header`]:{borderRadius:`0 0 ${(0,L.bf)(l)} ${(0,L.bf)(l)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:f,lineHeight:h,cursor:"pointer",transition:`all ${v}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:_,display:"flex",alignItems:"center",paddingInlineEnd:y},[`${t}-arrow`]:Object.assign(Object.assign({},(0,D.Ro)()),{fontSize:A,transition:`transform ${v}`,svg:{transition:`transform ${v}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:d,backgroundColor:n,borderTop:I,[`& > ${t}-content-box`]:{padding:O},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:o,paddingInlineStart:S,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(E).sub(S).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:E}}},"&-large":{[`> ${t}-item`]:{fontSize:m,lineHeight:b,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:k,marginInlineStart:e.calc(T).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:T}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${(0,L.bf)(l)} ${(0,L.bf)(l)}`}},[`& ${t}-item-disabled > ${t}-header`]:{[` - &, - & > .arrow - `]:{color:g,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:y}}}}})}},j=e=>{let{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},U=e=>{let{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[` - > ${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:r}}}},H=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 G=(0,M.I$)("Collapse",e=>{let t=(0,F.IX)(e,{collapseHeaderPaddingSM:`${(0,L.bf)(e.paddingXS)} ${(0,L.bf)(e.paddingSM)}`,collapseHeaderPaddingLG:`${(0,L.bf)(e.padding)} ${(0,L.bf)(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[B(t),U(t),H(t),j(t),(0,P.Z)(t)]},e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}));let z=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:i,collapse:s}=r.useContext(w.E_),{prefixCls:l,className:c,rootClassName:u,style:p,bordered:d=!0,ghost:f,size:m,expandIconPosition:h="start",children:b,expandIcon:y}=e,E=(0,x.Z)(e=>{var t;return null!==(t=null!=m?m:e)&&void 0!==t?t:"middle"}),T=n("collapse",l),S=n(),[v,A,O]=G(T),_=r.useMemo(()=>"left"===h?"start":"right"===h?"end":h,[h]),R=null!=y?y:null==s?void 0:s.expandIcon,L=r.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t="function"==typeof R?R(e):r.createElement(a.Z,{rotate:e.isActive?90:void 0,"aria-label":e.isActive?"expanded":"collapsed"});return(0,N.Tm)(t,()=>{var e;return{className:o()(null===(e=null==t?void 0:t.props)||void 0===e?void 0:e.className,`${T}-arrow`)}})},[R,T]),D=o()(`${T}-icon-position-${_}`,{[`${T}-borderless`]:!d,[`${T}-rtl`]:"rtl"===i,[`${T}-ghost`]:!!f,[`${T}-${E}`]:"middle"!==E},null==s?void 0:s.className,c,u,A,O),P=Object.assign(Object.assign({},(0,C.Z)(S)),{motionAppear:!1,leavedClassName:`${T}-content-hidden`}),M=r.useMemo(()=>b?(0,g.Z)(b).map((e,t)=>{var n,r;if(null===(n=e.props)||void 0===n?void 0:n.disabled){let n=null!==(r=e.key)&&void 0!==r?r:String(t),{disabled:a,collapsible:i}=e.props,o=Object.assign(Object.assign({},(0,I.Z)(e.props,["disabled"])),{key:n,collapsible:null!=i?i:a?"disabled":void 0});return(0,N.Tm)(e,o)}return e}):null,[b]);return v(r.createElement(k,Object.assign({ref:t,openMotion:P},(0,I.Z)(e,["rootClassName"]),{expandIcon:L,prefixCls:T,className:D,style:Object.assign(Object.assign({},null==s?void 0:s.style),p)}),M))});var $=Object.assign(z,{Panel:R})},72906:function(e,t,n){"use strict";n.d(t,{Z:function(){return eC}});var r=n(67294),a=n(1208),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),p=n(71002),d=n(45987),f=n(27678),g=n(21770),m=n(40974),h=n(64019),b=n(15105),y=n(2788),E=n(29372),T=r.createContext(null),S=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,p=e.countRender,d=e.showSwitch,f=e.showProgress,g=e.current,m=e.transform,h=e.count,S=e.scale,v=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,I=e.onClose,C=e.onZoomIn,N=e.onZoomOut,w=e.onRotateRight,x=e.onRotateLeft,R=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(T),j=u.rotateLeft,U=u.rotateRight,H=u.zoomIn,G=u.zoomOut,z=u.close,$=u.left,W=u.right,Z=u.flipX,Y=u.flipY,V="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&I()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:Y,onClick:L,type:"flipY"},{icon:Z,onClick:R,type:"flipX"},{icon:j,onClick:x,type:"rotateLeft"},{icon:U,onClick:w,type:"rotateRight"},{icon:G,onClick:N,type:"zoomOut",disabled:S<=v},{icon:H,onClick:C,type:"zoomIn",disabled:S===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(V,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:I},O||z),d&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===g)),onClick:_},$),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),g===h-1)),onClick:k},W)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},p?p(g+1,h):"".concat(g+1," / ").concat(h)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:R,onRotateLeft:x,onRotateRight:w,onZoomOut:N,onZoomIn:C,onReset:D,onClose:I},transform:m},B?{current:g,total:h}:{}),{},{image:F})):K)))})},v=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function I(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function C(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),p="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):p&&l("normal")},[t]);var d=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,d())},p&&a?{src:a}:{onLoad:d,src:t},s]}function N(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var w=["fallback","src","imgRef"],x=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],R=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,d.Z)(e,w),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],p=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,p))},L=function(e){var t,n,a,i,p,g,y,E,k,C,w,L,D,P,M,F,B,j,U,H,G,z,$,W,Z,Y,V,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ep=e.count,ed=void 0===ep?1:ep,ef=e.countRender,eg=e.scaleStep,em=void 0===eg?.5:eg,eh=e.minScale,eb=void 0===eh?1:eh,ey=e.maxScale,eE=void 0===ey?50:ey,eT=e.transitionName,eS=e.maskTransitionName,ev=void 0===eS?"fade":eS,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,eI=e.onChange,eC=(0,d.Z)(e,x),eN=(0,r.useRef)(),ew=(0,r.useContext)(T),ex=ew&&ed>1,eR=ew&&ed>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(O),p=(i=(0,u.Z)(a,2))[0],g=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.Z)(function(){g(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},p),e))},{transform:p,resetTransform:function(e){g(O),(0,v.Z)(O,p)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=eN.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,d=i.offsetTop,g=e,m=p.scale*e;m>eE?(m=eE,g=eE/p.scale):m0&&(t=1/t),eH(t,"wheel",e.clientX,e.clientY)}}}),ez=eG.isMoving,e$=eG.onMouseDown,eW=eG.onWheel,eZ=(U=eB.rotate,H=eB.scale,G=eB.x,z=eB.y,$=(0,r.useState)(!1),Z=(W=(0,u.Z)($,2))[0],Y=W[1],V=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){V.current=(0,l.Z)((0,l.Z)({},V.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,h.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:Z,onTouchStart:function(e){if(en){e.stopPropagation(),Y(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-G,y:n[0].clientY-z},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=V.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=N(e,n),i=N(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),p=(0,u.Z)(c,2),d=p[0],f=p[1];eH(N(s,l)/N(a,i),"touchZoom",d,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(Z&&Y(!1),q({eventType:"none"}),eb>H)return eU({x:0,y:0,scale:eb},"touchZoom");var e=eN.current.offsetWidth*H,t=eN.current.offsetHeight*H,n=eN.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=I(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eY=eZ.isTouching,eV=eZ.onTouchStart,eq=eZ.onTouchMove,eK=eZ.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),ez));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==eI||eI(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eb=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new ec.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ep.vS),{padding:`0 ${(0,el.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ey=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:p}=e,d=new ec.C(n).setAlpha(.1),f=d.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:p,backgroundColor:d.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,el.bf)(o)}`,backgroundColor:d.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},eE=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new ec.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},eT=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},eh()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},eh()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ey(e),eE(e)]}]},eS=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eb(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},eh())}}},ev=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ed._y)(e,"zoom"),"&":(0,ef.J$)(e,!0)}};var eA=(0,eg.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,em.IX)(e,{previewCls:t,modalMaskBg:new ec.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eS(n),eT(n),(0,eu.QA)((0,em.IX)(n,{componentCls:t})),ev(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new ec.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new ec.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new ec.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eO=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let e_={rotateLeft:r.createElement(J,null),rotateRight:r.createElement(et,null),zoomIn:r.createElement(ei,null),zoomOut:r.createElement(es,null),close:r.createElement(Y.Z,null),left:r.createElement(V.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(er,null),flipY:r.createElement(er,{rotate:90})};var ek=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let eI=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=ek(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:p,locale:d=Z.Z,getPopupContainer:f,image:g}=r.useContext($.E_),m=p("image",n),h=p(),b=d.Image||Z.Z.Image,y=(0,W.Z)(m),[E,T,S]=eA(m,y),v=o()(l,T,S,y),A=o()(s,T,null==g?void 0:g.className),[O]=(0,G.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=ek(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${m}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:e_},s),{getContainer:null!=n?n:f,transitionName:(0,z.m)(h,"zoom",t.transitionName),maskTransitionName:(0,z.m)(h,"fade",t.maskTransitionName),zIndex:O,closeIcon:null!=o?o:null===(e=null==g?void 0:g.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==g?void 0:g.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==g?void 0:g.style),c);return E(r.createElement(H,Object.assign({prefixCls:m,preview:_,rootClassName:v,className:A,style:k},u)))};eI.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eO(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext($.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,W.Z)(s),[p,d,f]=eA(s,u),[g]=(0,G.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),m=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(d,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,z.m)(c,"zoom",t.transitionName),maskTransitionName:(0,z.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:g})},[n]);return p(r.createElement(H.PreviewGroup,Object.assign({preview:m,previewPrefixCls:l,icons:e_},a)))};var eC=eI},94470:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},o=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,a=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!a&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(a)return a(e,n).value}return e[n]};e.exports=function e(){var t,n,r,a,c,u,p=arguments[0],d=1,f=arguments.length,g=!1;for("boolean"==typeof p&&(g=p,p=arguments[1]||{},d=2),(null==p||"object"!=typeof p&&"function"!=typeof p)&&(p={});d4&&g.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?m=o+(n=t.slice(5).replace(l,p)).charAt(0).toUpperCase()+n.slice(1):(f=(d=t).slice(4),t=l.test(f)?d:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),h=a),new h(m,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function p(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,p=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:p,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|p,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:p,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:c,pattern:null,ping:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:p,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:c,security:null,unselectable:null}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,p={},d={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),p[t]=n,d[r(t)]=t,d[r(n.attribute)]=t;return new a(p,d,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,p=-1;for(s&&(this.space=s),r.call(this,e,t);++p=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},25160:function(e,t,n){"use strict";n.d(t,{r:function(){return vg}});var r,a,i,o,s,l,c,u,p,d,f,g,m,h,b,y,E,T,S,v,A,O,_,k,I,C,N,w,x,R,L,D,P,M,F,B,j,U,H,G,z,$,W,Z,Y,V,q,K,X,Q={};n.r(Q),n.d(Q,{area:function(){return iO},bottom:function(){return iR},bottomLeft:function(){return iR},bottomRight:function(){return iR},inside:function(){return iR},left:function(){return iR},outside:function(){return iM},right:function(){return iR},spider:function(){return iG},surround:function(){return i$},top:function(){return iR},topLeft:function(){return iR},topRight:function(){return iR}});var J={};n.r(J),n.d(J,{geoAlbers:function(){return bv.Z},geoAlbersUsa:function(){return bS.Z},geoAzimuthalEqualArea:function(){return bA.Z},geoAzimuthalEqualAreaRaw:function(){return bA.l},geoAzimuthalEquidistant:function(){return bO.Z},geoAzimuthalEquidistantRaw:function(){return bO.N},geoConicConformal:function(){return b_.Z},geoConicConformalRaw:function(){return b_.l},geoConicEqualArea:function(){return bk.Z},geoConicEqualAreaRaw:function(){return bk.v},geoConicEquidistant:function(){return bI.Z},geoConicEquidistantRaw:function(){return bI.o},geoEqualEarth:function(){return bC.Z},geoEqualEarthRaw:function(){return bC.i},geoEquirectangular:function(){return bN.Z},geoEquirectangularRaw:function(){return bN.k},geoGnomonic:function(){return bw.Z},geoGnomonicRaw:function(){return bw.M},geoIdentity:function(){return bx.Z},geoMercator:function(){return bL.ZP},geoMercatorRaw:function(){return bL.hk},geoNaturalEarth1:function(){return bD.Z},geoNaturalEarth1Raw:function(){return bD.K},geoOrthographic:function(){return bP.Z},geoOrthographicRaw:function(){return bP.I},geoProjection:function(){return bR.Z},geoProjectionMutator:function(){return bR.r},geoStereographic:function(){return bM.Z},geoStereographicRaw:function(){return bM.T},geoTransverseMercator:function(){return bF.Z},geoTransverseMercatorRaw:function(){return bF.F}});var ee={};n.r(ee),n.d(ee,{frequency:function(){return yR},id:function(){return yL},name:function(){return yD},weight:function(){return yx}});var et=n(74902),en=n(1413),er=n(87462),ea=n(97685),ei=n(45987);function eo(){return(eo=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&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 e_(e){return(0,eh.R_)(e)[0]}function ek(e){return e?Array.isArray(e)?e:[e]:[]}var eI=function(e){var t=(0,es.useContext)(eb),n=t.csp,r=t.prefixCls,a="\n.anticon {\n display: inline-flex;\n align-items: center;\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&&(a=a.replace(/anticon/g,r)),(0,es.useEffect)(function(){var t=e.current,r=(0,eS.A)(t);(0,eT.hq)(a,"@ant-design-icons",{prepend:!0,csp:n,attachTo:r})},[])},eC=["icon","className","onClick","style","primaryColor","secondaryColor"],eN={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},ew=function(e){var t,n,r=e.icon,a=e.className,i=e.onClick,o=e.style,s=e.primaryColor,l=e.secondaryColor,c=ef(e,eC),u=es.useRef(),p=eN;if(s&&(p={primaryColor:s,secondaryColor:l||e_(s)}),eI(u),t=eA(r),n="icon should be icon definiton, but got ".concat(r),(0,ev.ZP)(t,"[@ant-design/icons] ".concat(n)),!eA(r))return null;var d=r;return d&&"function"==typeof d.icon&&(d=eE(eE({},d),{},{icon:d.icon(p.primaryColor,p.secondaryColor)})),function e(t,n,r){return r?es.createElement(t.tag,eE(eE({key:n},eO(t.attrs)),r),(t.children||[]).map(function(r,a){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(a))})):es.createElement(t.tag,eE({key:n},eO(t.attrs)),(t.children||[]).map(function(r,a){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(a))}))}(d.icon,"svg-".concat(d.name),eE(eE({className:a,onClick:i,style:o,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};function ex(e){var t=eu(ek(e),2),n=t[0],r=t[1];return ew.setTwoToneColors({primaryColor:n,secondaryColor:r})}ew.displayName="IconReact",ew.getTwoToneColors=function(){return eE({},eN)},ew.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;eN.primaryColor=t,eN.secondaryColor=n||e_(t),eN.calculated=!!n};var eR=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];ex(eh.iN.primary);var eL=es.forwardRef(function(e,t){var n=e.className,r=e.icon,a=e.spin,i=e.rotate,o=e.tabIndex,s=e.onClick,l=e.twoToneColor,c=ef(e,eR),u=es.useContext(eb),p=u.prefixCls,d=void 0===p?"anticon":p,f=u.rootClassName,g=em()(f,d,ed(ed({},"".concat(d,"-").concat(r.name),!!r.name),"".concat(d,"-spin"),!!a||"loading"===r.name),n),m=o;void 0===m&&s&&(m=-1);var h=eu(ek(l),2),b=h[0],y=h[1];return es.createElement("span",eo({role:"img","aria-label":r.name},c,{ref:t,tabIndex:m,onClick:s,className:g}),es.createElement(ew,{icon:r,primaryColor:b,secondaryColor:y,style:i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0}))});eL.displayName="AntdIcon",eL.getTwoToneColor=function(){var e=ew.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},eL.setTwoToneColor=ex;var eD=es.forwardRef(function(e,t){return es.createElement(eL,eo({},e,{ref:t,icon:el.Z}))}),eP=n(96486),eM=function(){return(eM=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case eW:e.return=function e(t,n,r){var a;switch(a=n,45^eJ(t,0)?(((a<<2^eJ(t,0))<<2^eJ(t,1))<<2^eJ(t,2))<<2^eJ(t,3):0){case 5103:return eG+"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 eG+t+t;case 4789:return eH+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eG+t+eH+t+eU+t+t;case 5936:switch(eJ(t,n+11)){case 114:return eG+t+eU+eX(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eG+t+eU+eX(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eG+t+eU+eX(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eG+t+eU+t+t;case 6165:return eG+t+eU+"flex-"+t+t;case 5187:return eG+t+eX(t,/(\w+).+(:[^]+)/,eG+"box-$1$2"+eU+"flex-$1$2")+t;case 5443:return eG+t+eU+"flex-item-"+eX(t,/flex-|-self/g,"")+(eK(t,/flex-|baseline/)?"":eU+"grid-row-"+eX(t,/flex-|-self/g,""))+t;case 4675:return eG+t+eU+"flex-line-pack"+eX(t,/align-content|flex-|-self/g,"")+t;case 5548:return eG+t+eU+eX(t,"shrink","negative")+t;case 5292:return eG+t+eU+eX(t,"basis","preferred-size")+t;case 6060:return eG+"box-"+eX(t,"-grow","")+eG+t+eU+eX(t,"grow","positive")+t;case 4554:return eG+eX(t,/([^-])(transform)/g,"$1"+eG+"$2")+t;case 6187:return eX(eX(eX(t,/(zoom-|grab)/,eG+"$1"),/(image-set)/,eG+"$1"),t,"")+t;case 5495:case 3959:return eX(t,/(image-set\([^]*)/,eG+"$1$`$1");case 4968:return eX(eX(t,/(.+:)(flex-)?(.*)/,eG+"box-pack:$3"+eU+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eG+t+t;case 4200:if(!eK(t,/flex-|baseline/))return eU+"grid-column-align"+e0(t,n)+t;break;case 2592:case 3360:return eU+eX(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eK(e.props,/grid-\w+-end/)}))return~eQ(t+(r=r[n].value),"span",0)?t:eU+eX(t,"-start","")+t+eU+"grid-row-span:"+(~eQ(r,"span",0)?eK(r,/\d+/):+eK(r,/\d+/)-+eK(t,/\d+/))+";";return eU+eX(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eK(e.props,/grid-\w+-start/)})?t:eU+eX(eX(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eX(t,/(.+)-inline(.+)/,eG+"$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(e1(t)-1-n>6)switch(eJ(t,n+1)){case 109:if(45!==eJ(t,n+4))break;case 102:return eX(t,/(.+:)(.+)-([^]+)/,"$1"+eG+"$2-$3$1"+eH+(108==eJ(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eQ(t,"stretch",0)?e(eX(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eX(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eU+n+":"+r+s+(a?eU+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eJ(t,n+6))return eX(t,":",":"+eG)+t;break;case 6444:switch(eJ(t,45===eJ(t,14)?18:11)){case 120:return eX(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eG+(45===eJ(t,14)?"inline-":"")+"box$3$1"+eG+"$2$3$1"+eU+"$2box$3")+t;case 100:return eX(t,":",":"+eU)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eX(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case eZ:return ts([tt(e,{value:eX(e.value,"@","@"+eG)})],r);case e$:if(e.length)return(n=e.props).map(function(t){switch(eK(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":tn(tt(e,{props:[eX(t,/:(read-\w+)/,":"+eH+"$1")]})),tn(tt(e,{props:[t]})),eq(e,{props:e3(n,r)});break;case"::placeholder":tn(tt(e,{props:[eX(t,/:(plac\w+)/,":"+eG+"input-$1")]})),tn(tt(e,{props:[eX(t,/:(plac\w+)/,":"+eH+"$1")]})),tn(tt(e,{props:[eX(t,/:(plac\w+)/,eU+"input-$1")]})),tn(tt(e,{props:[t]})),eq(e,{props:e3(n,r)})}return""}).join("")}}function tu(e,t,n,r,a,i,o,s,l,c,u,p){for(var d=a-1,f=0===a?i:[""],g=f.length,m=0,h=0,b=0;m0?f[y]+" "+E:eX(E,/&\f/g,f[y])).trim())&&(l[b++]=T);return te(e,t,n,0===a?e$:s,l,c,u,p)}function tp(e,t,n,r,a){return te(e,t,n,eW,e0(e,0,r),e0(e,r+1,-1),r,a)}var td={animationIterationCount:1,aspectRatio: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},tf=n(83454),tg=void 0!==tf&&void 0!==tf.env&&(tf.env.REACT_APP_SC_ATTR||tf.env.SC_ATTR)||"data-styled",tm="active",th="data-styled-version",tb="6.1.12",ty="/*!sc*/\n",tE="undefined"!=typeof window&&"HTMLElement"in window,tT=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==tf&&void 0!==tf.env&&void 0!==tf.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==tf.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==tf.env.REACT_APP_SC_DISABLE_SPEEDY&&tf.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==tf&&void 0!==tf.env&&void 0!==tf.env.SC_DISABLE_SPEEDY&&""!==tf.env.SC_DISABLE_SPEEDY&&"false"!==tf.env.SC_DISABLE_SPEEDY&&tf.env.SC_DISABLE_SPEEDY),tS=Object.freeze([]),tv=Object.freeze({}),tA=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),tO=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,t_=/(^-|-$)/g;function tk(e){return e.replace(tO,"-").replace(t_,"")}var tI=/(a)(d)/gi,tC=function(e){return String.fromCharCode(e+(e>25?39:97))};function tN(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tC(t%52)+n;return(tC(t%52)+n).replace(tI,"$1-$2")}var tw,tx=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tR=function(e){return tx(5381,e)};function tL(e){return"string"==typeof e}var tD="function"==typeof Symbol&&Symbol.for,tP=tD?Symbol.for("react.memo"):60115,tM=tD?Symbol.for("react.forward_ref"):60112,tF={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tB={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tj={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tU=((tw={})[tM]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},tw[tP]=tj,tw);function tH(e){return("type"in e&&e.type.$$typeof)===tP?tj:"$$typeof"in e?tU[e.$$typeof]:tF}var tG=Object.defineProperty,tz=Object.getOwnPropertyNames,t$=Object.getOwnPropertySymbols,tW=Object.getOwnPropertyDescriptor,tZ=Object.getPrototypeOf,tY=Object.prototype;function tV(e){return"function"==typeof e}function tq(e){return"object"==typeof e&&"styledComponentId"in e}function tK(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tX(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var t1=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw t0(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(ty)}}})(a);return r}(r)})}return e.registerId=function(e){return t5(e)},e.prototype.rehydrate=function(){!this.server&&tE&&nt(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eM(eM({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new ni(r):n?new nr(r):new na(r),new t1(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(t5(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(t5(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(t5(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),nc=/&/g,nu=/^\s*\/\/.*$/gm;function np(e){var t,n,r,a=void 0===e?tv:e,i=a.options,o=void 0===i?tv:i,s=a.plugins,l=void 0===s?tS:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e$&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(nc,n).replace(r,c))}),o.prefix&&u.push(tc),u.push(tl);var p=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,p,d,f,g=e.replace(nu,""),m=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,p=0,d=0,f=s,g=0,m=0,h=0,b=1,y=1,E=1,T=0,S="",v=i,A=o,O=a,_=S;y;)switch(h=T,T=tr()){case 40:if(108!=h&&58==eJ(_,f-1)){-1!=eQ(_+=eX(to(T),"&","&\f"),"&\f",eY(p?l[p-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=to(T);break;case 9:case 10:case 13:case 32:_+=function(e){for(;e8=ta();)if(e8<33)tr();else break;return ti(e)>2||ti(e8)>3?"":" "}(h);break;case 92:_+=function(e,t){for(var n;--t&&tr()&&!(e8<48)&&!(e8>102)&&(!(e8>57)||!(e8<65))&&(!(e8>70)||!(e8<97)););return n=e9+(t<6&&32==ta()&&32==tr()),e0(e7,e,n)}(e9-1,7);continue;case 47:switch(ta()){case 42:case 47:e2(te(u=function(e,t){for(;tr();)if(e+e8===57)break;else if(e+e8===84&&47===ta())break;return"/*"+e0(e7,t,e9-1)+"*"+eV(47===e?e:tr())}(tr(),e9),n,r,ez,eV(e8),e0(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[p++]=e1(_)*E;case 125*b:case 59:case 0:switch(T){case 0:case 125:y=0;case 59+d:-1==E&&(_=eX(_,/\f/g,"")),m>0&&e1(_)-f&&e2(m>32?tp(_+";",a,r,f-1,c):tp(eX(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(e2(O=tu(_,n,r,p,d,i,l,S,v=[],A=[],f,o),o),123===T){if(0===d)e(_,n,O,O,v,o,f,l,A);else switch(99===g&&110===eJ(_,3)?100:g){case 100:case 108:case 109:case 115:e(t,O,O,a&&e2(tu(t,O,O,0,0,i,l,S,i,v=[],f,A),A),i,A,f,l,a?v:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}p=d=m=0,b=E=1,S=_="",f=s;break;case 58:f=1+e1(_),m=h;default:if(b<1){if(123==T)--b;else if(125==T&&0==b++&&125==(e8=e9>0?eJ(e7,--e9):0,e5--,10===e8&&(e5=1,e4--),e8))continue}switch(_+=eV(T),T*b){case 38:E=d>0?1:(_+="\f",-1);break;case 44:l[p++]=(e1(_)-1)*E,E=1;break;case 64:45===ta()&&(_+=to(tr())),g=ta(),d=f=e1(S=_+=function(e){for(;!ti(ta());)tr();return e0(e7,e,e9)}(e9)),T++;break;case 45:45===h&&2==e1(_)&&(b=0)}}return o}("",null,null,null,[""],(d=p=i||a?"".concat(i," ").concat(a," { ").concat(g," }"):g,e4=e5=1,e6=e1(e7=d),e9=0,p=[]),0,[0],p),e7="",f);o.namespace&&(m=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(m,o.namespace));var h=[];return ts(m,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,h.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nT=function(e){return null==e||!1===e||""===e},nS=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nT(r)&&(Array.isArray(r)&&r.isCss||tV(r)?t.push("".concat(nE(n),":"),r,";"):tQ(r)?t.push.apply(t,eF(eF(["".concat(n," {")],nS(r),!1),["}"],!1)):t.push("".concat(nE(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in td||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nv(e,t,n,r){return nT(e)?[]:tq(e)?[".".concat(e.styledComponentId)]:tV(e)?!tV(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nv(e(t),t,n,r):e instanceof ny?n?(e.inject(n,r),[e.getName(r)]):[e]:tQ(e)?nS(e):Array.isArray(e)?Array.prototype.concat.apply(tS,e.map(function(e){return nv(e,t,n,r)})):[e.toString()]}function nA(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tK(r,i),this.staticRulesId=i}}else{for(var s=tx(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(l,".".concat(d),void 0,this.componentId)),r=tK(r,d)}}return r},e}(),nk=es.createContext(void 0);nk.Consumer;var nI={};function nC(e,t,n){var r,a,i,o,s=tq(e),l=!tL(e),c=t.attrs,u=void 0===c?tS:c,p=t.componentId,d=void 0===p?(r=t.displayName,a=t.parentComponentId,nI[i="string"!=typeof r?"sc":tk(r)]=(nI[i]||0)+1,o="".concat(i,"-").concat(tN(tR(tb+i+nI[i])>>>0)),a?"".concat(a,"-").concat(o):o):p,f=t.displayName,g=void 0===f?tL(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,m=t.displayName&&t.componentId?"".concat(tk(t.displayName),"-").concat(t.componentId):t.componentId||d,h=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var T=new n_(n,m,s?e.componentStyle:void 0);function S(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,p=es.useContext(nk),d=nh(),f=e.shouldForwardProp||d.shouldForwardProp,g=(void 0===(r=s)&&(r=tv),t.theme!==r.theme&&t.theme||p||r.theme||tv),m=function(e,t,n){for(var r,a=eM(eM({},t),{className:void 0,theme:n}),i=0;i2&&nl.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tX([r&&'nonce="'.concat(r,'"'),"".concat(tg,'="true"'),"".concat(th,'="').concat(tb,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw t0(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw t0(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[tg]="",t[th]=tb,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[es.createElement("style",eM({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new nl({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw t0(2);return es.createElement(nb,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw t0(3)}}();var nL=n(4942),nD=n(73935),nP=n.t(nD,2),nM=function(){return(nM=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(q=nF.createRoot)}catch(e){}function nU(e){var t=nF.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nH="__rc_react_root__",nG=new Map;"undefined"!=typeof document&&nG.set("tooltip",document.createElement("div"));var nz=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nG.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nG.get(e.key);r?n=r:nG.set(e.key,n)}return!function(e,t){if(q){var n;nU(!0),n=t[nH]||q(t),nU(!1),n.render(e),t[nH]=n;return}nj(e,t)}(e,n),n},n$=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
    ",t.appendChild(r),t.appendChild(n)},nW=function(e){var t=e.loadingTemplate,n=e.theme,r=es.useRef(null);return es.useEffect(function(){!t&&r.current&&n$(r.current)},[]),es.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||es.createElement("div",{ref:r}))},nZ=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nY=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||es.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nZ(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):es.createElement(es.Fragment,null,this.props.children)},t}(es.Component),nV=function(){return(nV=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},nK=n(90494),nX=n(1242),nQ=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let nJ=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];nJ.style=["fill"];let n0=nJ.bind(void 0);n0.style=["stroke","lineWidth"];let n1=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];n1.style=["fill"];let n2=n1.bind(void 0);n2.style=["fill"];let n3=n1.bind(void 0);n3.style=["stroke","lineWidth"];let n4=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};n4.style=["fill"];let n5=n4.bind(void 0);n5.style=["stroke","lineWidth"];let n6=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};n6.style=["fill"];let n9=n6.bind(void 0);n9.style=["stroke","lineWidth"];let n8=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};n8.style=["fill"];let n7=n8.bind(void 0);n7.style=["stroke","lineWidth"];let re=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};re.style=["fill"];let rt=re.bind(void 0);rt.style=["stroke","lineWidth"];let rn=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rn.style=["fill"];let rr=rn.bind(void 0);rr.style=["stroke","lineWidth"];let ra=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];ra.style=["stroke","lineWidth"];let ri=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];ri.style=["stroke","lineWidth"];let ro=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];ro.style=["stroke","lineWidth"];let rs=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rs.style=["stroke","lineWidth"];let rl=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rl.style=["stroke","lineWidth"];let rc=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rc.style=["stroke","lineWidth"];let ru=rc.bind(void 0);ru.style=["stroke","lineWidth"];let rp=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];rp.style=["stroke","lineWidth"];let rd=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];rd.style=["stroke","lineWidth"];let rf=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];rf.style=["stroke","lineWidth"];let rg=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];rg.style=["stroke","lineWidth"];let rm=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];rm.style=["stroke","lineWidth"];let rh=new Map([["bowtie",rn],["cross",ri],["dash",ru],["diamond",n4],["dot",rc],["hexagon",re],["hollowBowtie",rr],["hollowDiamond",n5],["hollowHexagon",rt],["hollowPoint",n0],["hollowSquare",n3],["hollowTriangle",n9],["hollowTriangleDown",n7],["hv",rd],["hvh",rg],["hyphen",rl],["line",ra],["plus",rs],["point",nJ],["rect",n2],["smooth",rp],["square",n1],["tick",ro],["triangleDown",n8],["triangle",n6],["vh",rf],["vhv",rm]]),rb={};function ry(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),rh.set(n,t)}else Object.assign(rb,{[e]:t})}var rE=n(31989),rT=n(98875),rS=n(68040),rv=n(83787),rA=n(44022),rO=n(95147),r_=function(e){return(0,rO.Z)(e)?"":e.toString()},rk=function(e){var t=r_(e);return t.charAt(0).toLowerCase()+t.substring(1)},rI=n(83845);function rC(e){return e}function rN(e){return e.reduce((e,t)=>(n,...r)=>t(e(n,...r),...r),rC)}function rw(e){return e.replace(/( |^)[a-z]/g,e=>e.toUpperCase())}function rx(e=""){throw Error(e)}function rR(e,t){let{attributes:n}=t,r=new Set(["id","className"]);for(let[t,a]of Object.entries(n))r.has(t)||e.attr(t,a)}function rL(e){return null!=e&&!Number.isNaN(e)}function rD(e,t){return rP(e,t)||{}}function rP(e,t){let n=Object.entries(e||{}).filter(([e])=>e.startsWith(t)).map(([e,n])=>[rk(e.replace(t,"").trim()),n]).filter(([e])=>!!e);return 0===n.length?null:Object.fromEntries(n)}function rM(e,...t){return Object.fromEntries(Object.entries(e).filter(([e])=>t.every(t=>!e.startsWith(t))))}function rF(e,t){if(void 0===e)return null;if("number"==typeof e)return e;let n=+e.replace("%","");return Number.isNaN(n)?null:n/100*t}function rB(e){return"object"==typeof e&&!(e instanceof Date)&&null!==e&&!Array.isArray(e)}function rj(e){return null===e||!1===e}function rU(e){return new rH([e],null,e,e.ownerDocument)}class rH{constructor(e=null,t=null,n=null,r=null,a=[null,null,null,null,null],i=[],o=[]){this._elements=Array.from(e),this._data=t,this._parent=n,this._document=r,this._enter=a[0],this._update=a[1],this._exit=a[2],this._merge=a[3],this._split=a[4],this._transitions=i,this._facetElements=o}selectAll(e){let t="string"==typeof e?this._parent.querySelectorAll(e):e;return new rH(t,null,this._elements[0],this._document)}selectFacetAll(e){let t="string"==typeof e?this._parent.querySelectorAll(e):e;return new rH(this._elements,null,this._parent,this._document,void 0,void 0,t)}select(e){let t="string"==typeof e?this._parent.querySelectorAll(e)[0]||null:e;return new rH([t],null,t,this._document)}append(e){let t="function"==typeof e?e:()=>this.createElement(e),n=[];if(null!==this._data){for(let e=0;ee,n=()=>null){let r=[],a=[],i=new Set(this._elements),o=[],s=new Set,l=new Map(this._elements.map((e,n)=>[t(e.__data__,n),e])),c=new Map(this._facetElements.map((e,n)=>[t(e.__data__,n),e])),u=(0,rA.ZP)(this._elements,e=>n(e.__data__));for(let p=0;pe,t=e=>e,n=e=>e.remove(),r=e=>e,a=e=>e.remove()){let i=e(this._enter),o=t(this._update),s=n(this._exit),l=r(this._merge),c=a(this._split);return o.merge(i).merge(s).merge(l).merge(c)}remove(){for(let e=0;ee.finished)).then(()=>{let t=this._elements[e];t.remove()})}else{let t=this._elements[e];t.remove()}}return new rH([],null,this._parent,this._document,void 0,this._transitions)}each(e){for(let t=0;tt:t;return this.each(function(r,a,i){void 0!==t&&(i[e]=n(r,a,i))})}style(e,t){let n="function"!=typeof t?()=>t:t;return this.each(function(r,a,i){void 0!==t&&(i.style[e]=n(r,a,i))})}transition(e){let t="function"!=typeof e?()=>e:e,{_transitions:n}=this;return this.each(function(e,r,a){n[r]=t(e,r,a)})}on(e,t){return this.each(function(n,r,a){a.addEventListener(e,t)}),this}call(e,...t){return e(this,...t),this}node(){return this._elements[0]}nodes(){return this._elements}transitions(){return this._transitions}parent(){return this._parent}}rH.registry={g:nX.ZA,rect:nX.UL,circle:nX.Cd,path:nX.y$,text:nX.xv,ellipse:nX.Pj,image:nX.Ee,line:nX.x1,polygon:nX.mg,polyline:nX.aH,html:nX.k9};let rG={BEFORE_RENDER:"beforerender",AFTER_RENDER:"afterrender",BEFORE_PAINT:"beforepaint",AFTER_PAINT:"afterpaint",BEFORE_CHANGE_DATA:"beforechangedata",AFTER_CHANGE_DATA:"afterchangedata",BEFORE_CLEAR:"beforeclear",AFTER_CLEAR:"afterclear",BEFORE_DESTROY:"beforedestroy",AFTER_DESTROY:"afterdestroy",BEFORE_CHANGE_SIZE:"beforechangesize",AFTER_CHANGE_SIZE:"afterchangesize",POINTER_TAP:"pointertap",POINTER_DOWN:"pointerdown",POINTER_UP:"pointerup",POINTER_OVER:"pointerover",POINTER_OUT:"pointerout",POINTER_MOVE:"pointermove",POINTER_ENTER:"pointerenter",POINTER_LEAVE:"pointerleave",POINTER_UPOUTSIDE:"pointerupoutside",DRAG_START:"dragstart",DRAG:"drag",DRAG_END:"dragend",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"DROP",CLICK:"click",DBLCLICK:"dblclick"};var rz=n(5199),r$=function(e){var t=r_(e);return t.charAt(0).toUpperCase()+t.substring(1)},rW=n(17694);function rZ(e,t){return Object.entries(e).reduce((n,[r,a])=>(n[r]=t(a,r,e),n),{})}function rY(e){return e.map((e,t)=>t)}function rV(e){return e[e.length-1]}function rq(e,t){let n=[[],[]];return e.forEach(e=>{n[t(e)?0:1].push(e)}),n}var rK=n(30335),rX=n(90155),rQ=n(98823);let rJ=(e={})=>{var t,n;let r=Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),e);return Object.assign(Object.assign({},r),(t=r.startAngle,n=r.endAngle,t%=2*Math.PI,n%=2*Math.PI,t<0&&(t=2*Math.PI+t),n<0&&(n=2*Math.PI+n),t>=n&&(n+=2*Math.PI),{startAngle:t,endAngle:n}))},r0=e=>{let{startAngle:t,endAngle:n,innerRadius:r,outerRadius:a}=rJ(e);return[["translate",0,.5],["reflect.y"],["translate",0,-.5],["polar",t,n,r,a]]};r0.props={};let r1=(e={})=>Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),e),r2=e=>{let{startAngle:t,endAngle:n,innerRadius:r,outerRadius:a}=r1(e);return[["transpose"],["translate",.5,.5],["reflect"],["translate",-.5,-.5],...r0({startAngle:t,endAngle:n,innerRadius:r,outerRadius:a})]};function r3(e,t,n){return Math.max(t,Math.min(e,n))}function r4(e,t=10){return"number"!=typeof e?e:1e-15>Math.abs(e)?e:parseFloat(e.toFixed(t))}r2.props={};let r5=[["legendCategory",[[["color","discrete"],["opacity","discrete"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","constant"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","constant"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","discrete"]],[["color","discrete"],["opacity","discrete"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","discrete"]],[["color","discrete"],["opacity","constant"],["size","constant"]],[["color","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","constant"]],[["color","discrete"],["opacity","constant"],["shape","constant"]],[["color","constant"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","discrete"]],[["color","constant"],["opacity","discrete"],["size","constant"]],[["color","constant"],["opacity","constant"],["shape","discrete"]],[["color","constant"],["opacity","discrete"],["shape","constant"]],[["color","discrete"],["shape","discrete"]],[["color","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"]],[["color","discrete"],["opacity","constant"]],[["color","discrete"],["shape","constant"]],[["color","constant"],["shape","discrete"]],[["color","constant"],["size","constant"]],[["color","constant"],["opacity","discrete"]],[["color","discrete"]]]],["legendContinuousSize",[[["color","continuous"],["opacity","continuous"],["size","continuous"]],[["color","constant"],["opacity","continuous"],["size","continuous"]],[["color","continuous"],["size","continuous"]],[["color","constant"],["size","continuous"]],[["size","continuous"],["opacity","continuous"]],[["size","continuous"]]]],["legendContinuousBlockSize",[[["color","distribution"],["opacity","distribution"],["size","distribution"]],[["color","distribution"],["size","distribution"]]]],["legendContinuousBlock",[[["color","distribution"],["opacity","continuous"]],[["color","distribution"]]]],["legendContinuous",[[["color","continuous"],["opacity","continuous"]],[["color","continuous"]],[["opacity","continuous"]]]]];var r6=n(17816);function r9(e){let{transformations:t}=e.getOptions(),n=t.map(([e])=>e).filter(e=>"transpose"===e);return n.length%2!=0}function r8(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"polar"===e)}function r7(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"reflect"===e)&&t.some(([e])=>e.startsWith("transpose"))}function ae(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"helix"===e)}function at(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"parallel"===e)}function an(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"fisheye"===e)}function ar(e){return ae(e)||r8(e)}function aa(e){let{transformations:t}=e.getOptions(),[,,,n,r]=t.find(e=>"polar"===e[0]);return[+n,+r]}function ai(e,t=!0){let{transformations:n}=e.getOptions(),[,r,a]=n.find(e=>"polar"===e[0]);return t?[180*+r/Math.PI,180*+a/Math.PI]:[r,a]}var ao=n(47537),as=n(36380),al=n(4637),ac=function(e,t){if(e){if((0,rz.Z)(e))for(var n=0,r=e.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function am(e,t,n){return e.querySelector(t)?rU(e).select(t):rU(e).append(n)}function ah(e){return Array.isArray(e)?e.join(", "):`${e||""}`}function ab(e,t){let{flexDirection:n,justifyContent:r,alignItems:a}={display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"center"},i={top:["row","flex-start","center"],bottom:["row","flex-start","center"],left:["column","flex-start","center"],right:["column","flex-start","center"],center:["column","center","center"]};return e in i&&([n,r,a]=i[e]),Object.assign({display:"flex",flexDirection:n,justifyContent:r,alignItems:a},t)}class ay extends af.A{get child(){var e;return null===(e=this.children)||void 0===e?void 0:e[0]}update(e){var t;this.attr(e);let{subOptions:n}=e;null===(t=this.child)||void 0===t||t.update(n)}}class aE extends ay{update(e){var t;let{subOptions:n}=e;this.attr(e),null===(t=this.child)||void 0===t||t.update(n)}}function aT(e,t){var n;return null===(n=e.filter(e=>e.getOptions().name===t))||void 0===n?void 0:n[0]}function aS(e,t,n){let{bbox:r}=e,{position:a="top",size:i,length:o}=t,s=["top","bottom","center"].includes(a),[l,c]=s?[r.height,r.width]:[r.width,r.height],{defaultSize:u,defaultLength:p}=n.props,d=i||u||l,f=o||p||c,[g,m]=s?[f,d]:[d,f];return{orientation:s?"horizontal":"vertical",width:g,height:m,size:d,length:f}}function av(e){let t=["arrow","crosshairs","grid","handle","handleLabel","indicator","label","line","tick","tip","title","trunc"],{style:n}=e,r=ag(e,["style"]),a={};return Object.entries(r).forEach(([e,n])=>{t.includes(e)?a[`show${r$(e)}`]=n:a[e]=n}),Object.assign(Object.assign({},a),n)}var aA=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function aO(e,t){let{eulerAngles:n,origin:r}=t;r&&e.setOrigin(r),n&&e.rotate(n[0],n[1],n[2])}function a_(e){let{innerWidth:t,innerHeight:n,depth:r}=e.getOptions();return[t,n,r]}function ak(e,t,n,r,a,i,o,s){var l;(void 0!==n||void 0!==i)&&e.update(Object.assign(Object.assign({},n&&{tickCount:n}),i&&{tickMethod:i}));let c=function(e,t,n){if(e.getTicks)return e.getTicks();if(!n)return t;let[r,a]=(0,ad.Z)(t,e=>+e),{tickCount:i}=e.getOptions();return n(r,a,i)}(e,t,i),u=a?c.filter(a):c,p=e=>e instanceof Date?String(e):"object"==typeof e&&e?e:String(e),d=r||(null===(l=e.getFormatter)||void 0===l?void 0:l.call(e))||p,f=function(e,t){if(r8(t))return e=>e;let n=t.getOptions(),{innerWidth:r,innerHeight:a,insetTop:i,insetBottom:o,insetLeft:s,insetRight:l}=n,[c,u,p]="left"===e||"right"===e?[i,o,a]:[s,l,r],d=new as.b({domain:[0,1],range:[c/p,1-u/p]});return e=>d.map(e)}(o,s),g=function(e,t){let{width:n,height:r}=t.getOptions();return a=>{if(!an(t))return a;let i=t.map("bottom"===e?[a,1]:[0,a]);if("bottom"===e){let e=i[0],t=new as.b({domain:[0,n],range:[0,1]});return t.map(e)}if("left"===e){let e=i[1],t=new as.b({domain:[0,r],range:[0,1]});return t.map(e)}return a}}(o,s),m=e=>["top","bottom","center","outer"].includes(e),h=e=>["left","right"].includes(e);return r8(s)||r9(s)?u.map((t,n,r)=>{var a,i;let l=(null===(a=e.getBandWidth)||void 0===a?void 0:a.call(e,t))/2||0,c=f(e.map(t)+l),u=r7(s)&&"center"===o||r9(s)&&(null===(i=e.getTicks)||void 0===i?void 0:i.call(e))&&m(o)||r9(s)&&h(o);return{value:u?1-c:c,label:p(d(r4(t),n,r)),id:String(n)}}):u.map((t,n,r)=>{var a;let i=(null===(a=e.getBandWidth)||void 0===a?void 0:a.call(e,t))/2||0,s=g(f(e.map(t)+i)),l=h(o);return{value:l?1-s:s,label:p(d(r4(t),n,r)),id:String(n)}})}let aI=e=>t=>{let{labelFormatter:n,labelFilter:r=()=>!0}=t;return a=>{var i;let{scales:[o]}=a,s=(null===(i=o.getTicks)||void 0===i?void 0:i.call(o))||o.getOptions().domain,l="string"==typeof n?(0,rW.WU)(n):n,c=Object.assign(Object.assign({},t),{labelFormatter:l,labelFilter:(e,t,n)=>r(s[t],t,s),scale:o});return e(c)(a)}},aC=aI(e=>{let{direction:t="left",important:n={},labelFormatter:r,order:a,orientation:i,actualPosition:o,position:s,size:l,style:c={},title:u,tickCount:p,tickFilter:d,tickMethod:f,transform:g,indexBBox:m}=e,h=aA(e,["direction","important","labelFormatter","order","orientation","actualPosition","position","size","style","title","tickCount","tickFilter","tickMethod","transform","indexBBox"]);return({scales:a,value:b,coordinate:y,theme:E})=>{var T;let{bbox:S}=b,[v]=a,{domain:A,xScale:O}=v.getOptions(),_=function(e,t,n,r,a,i){let o=function(e,t,n,r,a,i){let o=n.axis,s=["top","right","bottom","left"].includes(a)?n[`axis${rw(a)}`]:n.axisLinear,l=e.getOptions().name,c=n[`axis${r$(l)}`]||{};return Object.assign({},o,s,c)}(e,0,n,0,a,0);return"center"===a?Object.assign(Object.assign(Object.assign(Object.assign({},o),{labelDirection:"right"===r?"negative":"positive"}),"center"===r?{labelTransform:"translate(50%,0)"}:null),{tickDirection:"right"===r?"negative":"positive",labelSpacing:"center"===r?0:4,titleSpacing:"vertical"===i||i===-Math.PI/2?10:0,tick:"center"!==r&&void 0}):o}(v,0,E,t,s,i),k=Object.assign(Object.assign(Object.assign({},_),c),h),I=function(e,t,n="xy"){let[r,a,i]=a_(t);return"xy"===n?e.includes("bottom")||e.includes("top")?a:r:"xz"===n?e.includes("bottom")||e.includes("top")?i:r:e.includes("bottom")||e.includes("top")?a:i}(o||s,y,e.plane),C=function(e,t,n,r,a){let{x:i,y:o,width:s,height:l}=n;if("bottom"===e)return{startPos:[i,o],endPos:[i+s,o]};if("left"===e)return{startPos:[i+s,o+l],endPos:[i+s,o]};if("right"===e)return{startPos:[i,o+l],endPos:[i,o]};if("top"===e)return{startPos:[i,o+l],endPos:[i+s,o+l]};if("center"===e){if("vertical"===t)return{startPos:[i,o],endPos:[i,o+l]};if("horizontal"===t)return{startPos:[i,o],endPos:[i+s,o]};if("number"==typeof t){let[e,n]=r.getCenter(),[c,u]=aa(r),[p,d]=ai(r),f=Math.min(s,l)/2,{insetLeft:g,insetTop:m}=r.getOptions(),h=c*f,b=u*f,[y,E]=[e+i-g,n+o-m],[T,S]=[Math.cos(t),Math.sin(t)],v=r8(r)&&a?(()=>{let{domain:e}=a.getOptions();return e.length})():3;return{startPos:[y+b*T,E+b*S],endPos:[y+h*T,E+h*S],gridClosed:1e-6>Math.abs(d-p-360),gridCenter:[y,E],gridControlAngles:Array(v).fill(0).map((e,t,n)=>(d-p)/v*t)}}}return{}}(s,i,S,y,O),N=function(e){let{depth:t}=e.getOptions();return t?{tickIsBillboard:!0,lineIsBillboard:!0,labelIsBillboard:!0,titleIsBillboard:!0,gridIsBillboard:!0}:{}}(y),w=ak(v,A,p,r,d,f,s,y),x=m?w.map((e,t)=>{let n=m.get(t);return n&&n[0]===e.label?Object.assign(Object.assign({},e),{bbox:n[1]}):e}):w,R=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},k),{type:"linear",data:x,crossSize:l,titleText:ah(u),labelOverlap:function(e=[],t){if(e.length>0)return e;let{labelAutoRotate:n,labelAutoHide:r,labelAutoEllipsis:a,labelAutoWrap:i}=t,o=[],s=(e,t)=>{t&&o.push(Object.assign(Object.assign({},e),t))};return s({type:"rotate",optionalAngles:[0,15,30,45,60,90]},n),s({type:"ellipsis",minLength:20},a),s({type:"hide"},r),s({type:"wrap",wordWrapWidth:100,maxLines:3,recoveryWhenFail:!0},i),o}(g,k),grid:(T=k.grid,!(r8(y)&&r9(y)||at(y))&&(void 0===T?!!v.getTicks:T)),gridLength:I,line:!0,indexBBox:m}),k.line?null:{lineOpacity:0}),C),N),n),L=R.labelOverlap.find(e=>"hide"===e.type);return L&&(R.crossSize=!1),new ao.R({className:"axis",style:av(R)})}}),aN=aI(e=>{let{order:t,size:n,position:r,orientation:a,labelFormatter:i,tickFilter:o,tickCount:s,tickMethod:l,important:c={},style:u={},indexBBox:p,title:d,grid:f=!1}=e,g=aA(e,["order","size","position","orientation","labelFormatter","tickFilter","tickCount","tickMethod","important","style","indexBBox","title","grid"]);return({scales:[e],value:t,coordinate:n,theme:a})=>{let{bbox:u}=t,{domain:m}=e.getOptions(),h=ak(e,m,s,i,o,l,r,n),b=p?h.map((e,t)=>{let n=p.get(t);return n&&n[0]===e.label?Object.assign(Object.assign({},e),{bbox:n[1]}):e}):h,[y,E]=aa(n),T=function(e,t,n,r,a){let{x:i,y:o,width:s,height:l}=t,c=[i+s/2,o+l/2],[u,p]=ai(a),[d,f]=a_(a),g={center:c,radius:Math.min(s,l)/2,startAngle:u,endAngle:p,gridLength:(r-n)*(Math.min(d,f)/2)};if("inner"===e){let{insetLeft:e,insetTop:t}=a.getOptions();return Object.assign(Object.assign({},g),{center:[c[0]-e,c[1]-t],labelAlign:"perpendicular",labelDirection:"positive",tickDirection:"positive",gridDirection:"negative"})}return Object.assign(Object.assign({},g),{labelAlign:"parallel",labelDirection:"negative",tickDirection:"negative",gridDirection:"positive"})}(r,u,y,E,n),{axis:S,axisArc:v={}}=a,A=av((0,rv.Z)({},S,v,T,Object.assign(Object.assign({type:"arc",data:b,titleText:ah(d),grid:f},g),c)));return new ao.R({style:ap(A,["transform"])})}});aC.props={defaultPosition:"center",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]},aN.props={defaultPosition:"outer",defaultOrientation:"vertical",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]};var aw=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ax=e=>{let{important:t={}}=e,n=aw(e,["important"]);return r=>{let{theme:a,coordinate:i,scales:o}=r;return aC(Object.assign(Object.assign(Object.assign({},n),function(e){let t=e%(2*Math.PI);return t===Math.PI/2?{titleTransform:"translate(0, 50%)"}:t>-Math.PI/2&&tMath.PI/2&&t<3*Math.PI/2?{titleTransform:"translate(-50%, 0)"}:{}}(e.orientation)),{important:Object.assign(Object.assign({},function(e,t,n,r){let{radar:a}=e,[i]=r,o=i.getOptions().name,[s,l]=ai(n),{axisRadar:c={}}=t;return Object.assign(Object.assign({},c),{grid:"position"===o,gridConnect:"line",gridControlAngles:Array(a.count).fill(0).map((e,t)=>{let n=(l-s)/a.count;return n*t})})}(e,a,i,o)),t)}))(r)}};ax.props=Object.assign(Object.assign({},aC.props),{defaultPosition:"center"});var aR=n(37948),aL=n(25897),aD=n(7847),aP=n(74271);class aM extends aP.X{getDefaultOptions(){return{range:[0],domain:[0,1],unknown:void 0,tickCount:5,tickMethod:aD.Z}}map(e){let[t]=this.options.range;return void 0!==t?t:this.options.unknown}invert(e){let[t]=this.options.range;return e===t&&void 0!==t?this.options.domain:[]}getTicks(){let{tickMethod:e,domain:t,tickCount:n}=this.options,[r,a]=t;return(0,aL.Z)(r)&&(0,aL.Z)(a)?e(r,a,n):[]}clone(){return new aM(this.options)}}var aF=n(13393),aB=n(33338);class aj extends aP.X{getDefaultOptions(){return{domain:[.5],range:[0,1]}}constructor(e){super(e)}map(e){if(!(0,aF.J)(e))return this.options.unknown;let t=(0,aB.b)(this.thresholds,e,0,this.n);return this.options.range[t]}invert(e){let{range:t}=this.options,n=t.indexOf(e),r=this.thresholds;return[r[n-1],r[n]]}clone(){return new aj(this.options)}rescale(){let{domain:e,range:t}=this.options;this.n=Math.min(e.length,t.length-1),this.thresholds=e}}var aU=n(82844);function aH(e){return(0,rO.Z)(e)?0:(0,aU.Z)(e)?e.length:Object.keys(e).length}var aG=function(e,t){if(!(0,aU.Z)(e))return -1;var n=Array.prototype.indexOf;if(n)return n.call(e,t);for(var r=-1,a=0;aMath.abs(e)?e:parseFloat(e.toFixed(14))}let a$=[1,5,2,2.5,4,3],aW=100*Number.EPSILON,aZ=(e,t,n=5,r=!0,a=a$,i=[.25,.2,.5,.05])=>{let o=n<0?0:Math.round(n);if(Number.isNaN(e)||Number.isNaN(t)||"number"!=typeof e||"number"!=typeof t||!o)return[];if(t-e<1e-15||1===o)return[e];let s={score:-2,lmin:0,lmax:0,lstep:0},l=1;for(;l<1/0;){for(let n=0;n=o?2-(c-1)/(o-1):1;if(i[0]*p+i[1]+i[2]*n+i[3]r?1-((n-r)/2)**2/(.1*r)**2:1}(e,t,c*(d-1));if(i[0]*p+i[1]*f+i[2]*n+i[3]=0&&(l=1),1-s/(o-1)-n+l}(u,a,l,f,g,c),b=1-.5*((t-g)**2+(e-f)**2)/(.1*(t-e))**2,y=function(e,t,n,r,a,i){let o=(e-1)/(i-a),s=(t-1)/(Math.max(i,r)-Math.min(n,a));return 2-Math.max(o/s,s/o)}(d,o,e,t,f,g),E=i[0]*h+i[1]*b+i[2]*y+1*i[3];E>s.score&&(!r||f<=e&&g>=t)&&(s.lmin=f,s.lmax=g,s.lstep=c,s.score=E)}}g+=1}d+=1}}l+=1}let u=az(s.lmax),p=az(s.lmin),d=az(s.lstep),f=Math.floor(Math.round(1e12*((u-p)/d))/1e12)+1,g=Array(f);g[0]=az(p);for(let e=1;ee-t);let r=[];for(let n=1;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function aX(e){let{domain:t}=e.getOptions(),[n,r]=[t[0],rV(t)];return[n,r]}let aQ=e=>{let{labelFormatter:t,layout:n,order:r,orientation:a,position:i,size:o,title:s,style:l,crossPadding:c,padding:u}=e,p=aK(e,["labelFormatter","layout","order","orientation","position","size","title","style","crossPadding","padding"]);return({scales:r,value:a,theme:o,scale:c})=>{let{bbox:u}=a,{x:d,y:f,width:g,height:m}=u,h=ab(i,n),{legendContinuous:b={}}=o,y=av(Object.assign({},b,Object.assign(Object.assign({titleText:ah(s),labelAlign:"value",labelFormatter:"string"==typeof t?e=>(0,rW.WU)(t)(e.label):t},function(e,t,n,r,a,i){let o=aT(e,"color"),s=function(e,t,n){var r,a,i;let{size:o}=t,s=aS(e,t,n);return r=s,a=o,i=s.orientation,(r.size=a,"horizontal"===i||0===i)?r.height=a:r.width=a,r}(n,r,a);if(o instanceof aj){let{range:e}=o.getOptions(),[t,n]=aX(o);return o instanceof aV||o instanceof aq?function(e,t,n,r,a){let i=t.thresholds;return Object.assign(Object.assign({},e),{color:a,data:[n,...i,r].map(e=>({value:e/r,label:String(e)}))})}(s,o,t,n,e):function(e,t,n){let r=t.thresholds,a=[-1/0,...r,1/0].map((e,t)=>({value:t,label:e}));return Object.assign(Object.assign({},e),{data:a,color:n,labelFilter:(e,t)=>t>0&&tvoid 0!==e).find(e=>!(e instanceof aM)));return Object.assign(Object.assign({},e),{domain:[p,d],data:l.getTicks().map(e=>({value:e})),color:Array(Math.floor(o)).fill(0).map((e,t)=>{let n=(u-c)/(o-1)*t+c,a=l.map(n)||s,i=r?r.map(n):1;return a.replace(/rgb[a]*\(([\d]{1,3}) *, *([\d]{1,3}) *, *([\d]{1,3})[\S\s]*\)/,(e,t,n,r)=>`rgba(${t}, ${n}, ${r}, ${i})`)})})}(s,o,l,c,t,i)}(r,c,a,e,aQ,o)),l),p)),E=new ay({style:Object.assign(Object.assign({x:d,y:f,width:g,height:m},h),{subOptions:y})});return E.appendChild(new aR.V({className:"legend-continuous",style:y})),E}};aQ.props={defaultPosition:"top",defaultOrientation:"vertical",defaultOrder:1,defaultSize:60,defaultLength:200,defaultLegendSize:60,defaultPadding:[20,10],defaultCrossPadding:[12,12]};let aJ=e=>(...t)=>aQ(Object.assign({},{block:!0},e))(...t);aJ.props=Object.assign(Object.assign({},aQ.props),{defaultPosition:"top",defaultOrientation:"horizontal"});let a0=e=>t=>{let{scales:n}=t,r=aT(n,"size");return aQ(Object.assign({},{type:"size",data:r.getTicks().map((e,t)=>({value:e,label:String(e)}))},e))(t)};a0.props=Object.assign(Object.assign({},aQ.props),{defaultPosition:"top",defaultOrientation:"horizontal"});let a1=e=>a0(Object.assign({},{block:!0},e));a1.props=Object.assign(Object.assign({},aQ.props),{defaultPosition:"top",defaultOrientation:"horizontal"});var a2=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let a3=({static:e=!1}={})=>t=>{let{width:n,height:r,depth:a,paddingLeft:i,paddingRight:o,paddingTop:s,paddingBottom:l,padding:c,inset:u,insetLeft:p,insetTop:d,insetRight:f,insetBottom:g,margin:m,marginLeft:h,marginBottom:b,marginTop:y,marginRight:E,data:T,coordinate:S,theme:v,component:A,interaction:O,x:_,y:k,z:I,key:C,frame:N,labelTransform:w,parentKey:x,clip:R,viewStyle:L,title:D}=t,P=a2(t,["width","height","depth","paddingLeft","paddingRight","paddingTop","paddingBottom","padding","inset","insetLeft","insetTop","insetRight","insetBottom","margin","marginLeft","marginBottom","marginTop","marginRight","data","coordinate","theme","component","interaction","x","y","z","key","frame","labelTransform","parentKey","clip","viewStyle","title"]);return[Object.assign(Object.assign({type:"standardView",x:_,y:k,z:I,key:C,width:n,height:r,depth:a,padding:c,paddingLeft:i,paddingRight:o,paddingTop:s,inset:u,insetLeft:p,insetTop:d,insetRight:f,insetBottom:g,paddingBottom:l,theme:v,coordinate:S,component:A,interaction:O,frame:N,labelTransform:w,margin:m,marginLeft:h,marginBottom:b,marginTop:y,marginRight:E,parentKey:x,clip:R,style:L},!e&&{title:D}),{marks:[Object.assign(Object.assign(Object.assign({},P),{key:`${C}-0`,data:T}),e&&{title:D})]})]};a3.props={};var a4=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function a5(e){return(t,...n)=>(0,rv.Z)({},e(t,...n),t)}function a6(e){return(t,...n)=>(0,rv.Z)({},t,e(t,...n))}function a9(e,t){if(!e)return t;if(Array.isArray(e))return e;if(!(e instanceof Date)&&"object"==typeof e){let{value:n=t}=e,r=a4(e,["value"]);return Object.assign(Object.assign({},r),{value:n})}return e}var a8=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let a7=()=>e=>{let{children:t}=e,n=a8(e,["children"]);if(!Array.isArray(t))return[];let{data:r,scale:a={},axis:i={},legend:o={},encode:s={},transform:l=[]}=n,c=a8(n,["data","scale","axis","legend","encode","transform"]),u=t.map(e=>{var{data:t,scale:n={},axis:c={},legend:u={},encode:p={},transform:d=[]}=e,f=a8(e,["data","scale","axis","legend","encode","transform"]);return Object.assign({data:a9(t,r),scale:(0,rv.Z)({},a,n),encode:(0,rv.Z)({},s,p),transform:[...l,...d],axis:!!c&&!!i&&(0,rv.Z)({},i,c),legend:!!u&&!!o&&(0,rv.Z)({},o,u)},f)});return[Object.assign(Object.assign({},c),{marks:u,type:"standardView"})]};function ie([e,t],[n,r]){return[e-n,t-r]}function it([e,t],[n,r]){return Math.sqrt(Math.pow(e-n,2)+Math.pow(t-r,2))}function ir([e,t]){return Math.atan2(t,e)}function ia([e,t]){return ir([e,t])+Math.PI/2}function ii(e,t){let n=ir(e),r=ir(t);return no[e]),u=new as.b({domain:[l,c],range:[0,100]}),p=e=>(0,aL.Z)(o[e])&&!Number.isNaN(o[e])?u.map(o[e]):0,d={between:t=>`${e[t]} ${p(t)}%`,start:t=>0===t?`${e[t]} ${p(t)}%`:`${e[t-1]} ${p(t)}%, ${e[t]} ${p(t)}%`,end:t=>t===e.length-1?`${e[t]} ${p(t)}%`:`${e[t]} ${p(t)}%, ${e[t+1]} ${p(t)}%`},f=s.sort((e,t)=>p(e)-p(t)).map(d[a]||d.between).join(",");return`linear-gradient(${"y"===r||!0===r?i?180:90:i?90:0}deg, ${f})`}function ip(e){let[t,n,r,a]=e;return[a,t,n,r]}function id(e,t,n){let[r,a,,i]=r9(e)?ip(t):t,[o,s]=n,l=e.getCenter(),c=ia(ie(r,l)),u=ia(ie(a,l)),p=u===c&&o!==s?u+2*Math.PI:u;return{startAngle:c,endAngle:p-c>=0?p:2*Math.PI+p,innerRadius:it(i,l),outerRadius:it(r,l)}}function ig(e){let{colorAttribute:t,opacityAttribute:n=t}=e;return`${n}Opacity`}function im(e,t){if(!r8(e))return"";let n=e.getCenter(),{transform:r}=t;return`translate(${n[0]}, ${n[1]}) ${r||""}`}function ih(e){if(1===e.length)return e[0];let[[t,n,r=0],[a,i,o=0]]=e;return[(t+a)/2,(n+i)/2,(r+o)/2]}function ib(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})}a7.props={};var iy=n(86224),iE=n(25049);function iT(e){let t="function"==typeof e?e:e.render;return class extends nX.b_{connectedCallback(){this.draw()}attributeChangedCallback(){this.draw()}draw(){t(this)}}}var iS=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let iv=iT(e=>{let t;let n=e.attributes,{className:r,class:a,transform:i,rotate:o,labelTransform:s,labelTransformOrigin:l,x:c,y:u,x0:p=c,y0:d=u,text:f,background:g,connector:m,startMarker:h,endMarker:b,coordCenter:y,innerHTML:E}=n,T=iS(n,["className","class","transform","rotate","labelTransform","labelTransformOrigin","x","y","x0","y0","text","background","connector","startMarker","endMarker","coordCenter","innerHTML"]);if(e.style.transform=`translate(${c}, ${u})`,[c,u,p,d].some(e=>!(0,aL.Z)(e))){e.children.forEach(e=>e.remove());return}let S=rD(T,"background"),{padding:v}=S,A=iS(S,["padding"]),O=rD(T,"connector"),{points:_=[]}=O,k=iS(O,["points"]);t=E?rU(e).maybeAppend("html","html",r).style("zIndex",0).style("innerHTML",E).call(il,Object.assign({transform:s,transformOrigin:l},T)).node():rU(e).maybeAppend("text","text").style("zIndex",0).style("text",f).call(il,Object.assign({textBaseline:"middle",transform:s,transformOrigin:l},T)).node();let I=rU(e).maybeAppend("background","rect").style("zIndex",-1).call(il,function(e,t=[]){let[n=0,r=0,a=n,i=r]=t,o=e.parentNode,s=o.getEulerAngles();o.setEulerAngles(0);let{min:l,halfExtents:c}=e.getLocalBounds(),[u,p]=l,[d,f]=c;return o.setEulerAngles(s),{x:u-i,y:p-n,width:2*d+i+r,height:2*f+n+a}}(t,v)).call(il,g?A:{}).node(),C=+p(0,iE.Z)()(e);if(!t[0]&&!t[1])return o([function(e){let{min:[t,n],max:[r,a]}=e.getLocalBounds(),i=0,o=0;return t>0&&(i=t),r<0&&(i=r),n>0&&(o=n),a<0&&(o=a),[i,o]}(e),t]);if(!n.length)return o([[0,0],t]);let[s,l]=n,c=[...l],u=[...s];if(l[0]!==s[0]){let e=a?-4:4;c[1]=l[1],i&&!a&&(c[0]=Math.max(s[0],l[0]-e),l[1]s[1]?u[1]=c[1]:(u[1]=s[1],u[0]=Math.max(u[0],c[0]-e))),!i&&a&&(c[0]=Math.min(s[0],l[0]-e),l[1]>s[1]?u[1]=c[1]:(u[1]=s[1],u[0]=Math.min(u[0],c[0]-e))),i&&a&&(c[0]=Math.min(s[0],l[0]-e),l[1]Math.abs(e[1]-o[t][1]));s=Math.max(Math.min(s,a-2),1);let l=e=>[i[e][0],(i[e][1]+o[e][1])/2],c=l(s),u=l(s-1),p=l(s+1),d=ir(ie(p,u))/Math.PI*180;return{x:c[0],y:c[1],transform:`rotate(${d})`,textAlign:"center",textBaseline:"middle"}}function i_(e,t,n,r){let{bounds:a}=n,[[i,o],[s,l]]=a,c=s-i,u=l-o;return(e=>{let{x:t,y:r}=e,a=rF(n.x,c),s=rF(n.y,u);return Object.assign(Object.assign({},e),{x:(a||t)+i,y:(s||r)+o})})("left"===e?{x:0,y:u/2,textAlign:"start",textBaseline:"middle"}:"right"===e?{x:c,y:u/2,textAlign:"end",textBaseline:"middle"}:"top"===e?{x:c/2,y:0,textAlign:"center",textBaseline:"top"}:"bottom"===e?{x:c/2,y:u,textAlign:"center",textBaseline:"bottom"}:"top-left"===e?{x:0,y:0,textAlign:"start",textBaseline:"top"}:"top-right"===e?{x:c,y:0,textAlign:"end",textBaseline:"top"}:"bottom-left"===e?{x:0,y:u,textAlign:"start",textBaseline:"bottom"}:"bottom-right"===e?{x:c,y:u,textAlign:"end",textBaseline:"bottom"}:{x:c/2,y:u/2,textAlign:"center",textBaseline:"middle"})}function ik(e,t,n,r){let{y:a,y1:i,autoRotate:o,rotateToAlignArc:s}=n,l=r.getCenter(),c=id(r,t,[a,i]),{innerRadius:u,outerRadius:p,startAngle:d,endAngle:f}=c,g="inside"===e?(d+f)/2:f,m=iC(g,o,s),h=(()=>{let[n,r]=t,[a,i]="inside"===e?iI(l,g,u+(p-u)*.5):is(n,r);return{x:a,y:i}})();return Object.assign(Object.assign({},h),{textAlign:"inside"===e?"center":"start",textBaseline:"middle",rotate:m})}function iI(e,t,n){return[e[0]+Math.sin(t)*n,e[1]-Math.cos(t)*n]}function iC(e,t,n){return t?e/Math.PI*180+(n?0:0>Math.sin(e)?90:-90):0}function iN(e,t,n,r){let{y:a,y1:i,autoRotate:o,rotateToAlignArc:s,radius:l=.5,offset:c=0}=n,u=id(r,t,[a,i]),{startAngle:p,endAngle:d}=u,f=r.getCenter(),g=(p+d)/2,m=iC(g,o,s),{innerRadius:h,outerRadius:b}=u,[y,E]=iI(f,g,h+(b-h)*l+c);return Object.assign({x:y,y:E},{textAlign:"center",textBaseline:"middle",rotate:m})}function iw(e){return void 0===e?null:e}function ix(e,t,n,r){let{bounds:a}=n,[i]=a;return{x:iw(i[0]),y:iw(i[1])}}function iR(e,t,n,r){let{bounds:a}=n;if(1===a.length)return ix(e,t,n,r);let i=r7(r)?ik:ar(r)?iN:i_;return i(e,t,n,r)}function iL(e,t,n){let r=id(n,e,[t.y,t.y1]),{innerRadius:a,outerRadius:i}=r;return a+(i-a)}function iD(e,t,n){let r=id(n,e,[t.y,t.y1]),{startAngle:a,endAngle:i}=r;return(a+i)/2}function iP(e,t,n,r){let{autoRotate:a,rotateToAlignArc:i,offset:o=0,connector:s=!0,connectorLength:l=o,connectorLength2:c=0,connectorDistance:u=0}=n,p=r.getCenter(),d=iD(t,n,r),f=Math.sin(d)>0?1:-1,g=iC(d,a,i),m={textAlign:f>0||r7(r)?"start":"end",textBaseline:"middle",rotate:g},h=iL(t,n,r),b=h+(s?l:o),[[y,E],[T,S],[v,A]]=function(e,t,n,r,a){let[i,o]=iI(e,t,n),[s,l]=iI(e,t,r),c=Math.sin(t)>0?1:-1;return[[i,o],[s,l],[s+c*a,l]]}(p,d,h,b,s?c:0),O=s?+u*f:0,_=v+O;return Object.assign(Object.assign({x0:y,y0:E,x:v+O,y:A},m),{connector:s,connectorPoints:[[T-_,S-A],[v-_,A-A]]})}function iM(e,t,n,r){let{bounds:a}=n;if(1===a.length)return ix(e,t,n,r);let i=r7(r)?ik:ar(r)?iP:i_;return i(e,t,n,r)}var iF=n(80732);function iB(e,t={}){let{labelHeight:n=14,height:r}=t,a=(0,iF.Z)(e,e=>e.y),i=a.length,o=Array(i);for(let e=0;e0;e--){let t=o[e],n=o[e-1];if(n.y1>t.y){s=!0,n.labels.push(...t.labels),o.splice(e,1),n.y1+=t.y1-t.y;let a=n.y1-n.y;n.y1=Math.max(Math.min(n.y1,r),a),n.y=n.y1-a}}}let l=0;for(let e of o){let{y:t,labels:r}=e,i=t-n;for(let e of r){let t=a[l++],r=i+n,o=r-e;t.connectorPoints[0][1]-=o,t.y=i+n,i+=n}}}function ij(e,t){let n=(0,iF.Z)(e,e=>e.y),{height:r,labelHeight:a=14}=t,i=Math.ceil(r/a);if(n.length<=i)return iB(n,t);let o=[];for(let e=0;et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let iH=new WeakMap;function iG(e,t,n,r,a,i){if(!ar(r))return{};if(iH.has(t))return iH.get(t);let o=i.map(e=>(function(e,t,n){let{connectorLength:r,connectorLength2:a,connectorDistance:i}=t,o=iU(iP("outside",e,t,n),[]),s=n.getCenter(),l=iL(e,t,n),c=iD(e,t,n),u=s[0]+(l+r+a+ +i)*(Math.sin(c)>0?1:-1),{x:p}=o,d=u-p;return o.x+=d,o.connectorPoints[0][0]-=d,o})(e,n,r)),{width:s,height:l}=r.getOptions(),c=o.filter(e=>e.xe.x>=s/2),p=Object.assign(Object.assign({},a),{height:l});return ij(c,p),ij(u,p),o.forEach((e,t)=>iH.set(i[t],e)),iH.get(t)}var iz=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function i$(e,t,n,r){if(!ar(r))return{};let{connectorLength:a,connectorLength2:i,connectorDistance:o}=n,s=iz(iP("outside",t,n,r),[]),{x0:l,y0:c}=s,u=r.getCenter(),p=function(e){if(ar(e)){let[t,n]=e.getSize(),r=e.getOptions().transformations.find(e=>"polar"===e[0]);if(r)return Math.max(t,n)/2*r[4]}return 0}(r),d=ia([l-u[0],c-u[1]]),f=Math.sin(d)>0?1:-1,[g,m]=iI(u,d,p+a);return s.x=g+(i+o)*f,s.y=m,s}var iW=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let iZ=(e,t)=>{let{coordinate:n,theme:r}=t,{render:a}=e;return(t,i,o,s)=>{let{text:l,x:c,y:u,transform:p="",transformOrigin:d,className:f=""}=i,g=iW(i,["text","x","y","transform","transformOrigin","className"]),m=function(e,t,n,r,a,i){let{position:o}=t,{render:s}=a,l=void 0!==o?o:ar(n)?"inside":r9(n)?"right":"top",c=s?"htmlLabel":"inside"===l?"innerLabel":"label",u=r[c],p=Object.assign({},u,t),d=Q[ib(l)];if(!d)throw Error(`Unknown position: ${l}`);return Object.assign(Object.assign({},u),d(l,e,p,n,a,i))}(t,i,n,r,e,s),{rotate:h=0,transform:b=""}=m,y=iW(m,["rotate","transform"]);return rU(new iv).call(il,y).style("text",`${l}`).style("className",`${f} g2-label`).style("innerHTML",a?a(l,i.datum,i.index):void 0).style("labelTransform",`${b} rotate(${+h}) ${p}`.trim()).style("labelTransformOrigin",d).style("coordCenter",n.getCenter()).call(il,g).node()}};iZ.props={defaultMarker:"point"};var iY=n(11108),iV=function(e,t){if(!(0,aU.Z)(e))return e;for(var n=[],r=0;re+i),s=(0,i3.Nw)(o,t),l=Math.min(a.length-1,Math.max(0,s+(n?-1:0)));return a[l]}function i6(e,t,n){if(!t)return e.getOptions().domain;if(!i4(e)){let r=(0,iF.Z)(t);if(!n)return r;let[a]=r,{range:i}=e.getOptions(),[o,s]=i,l=e.invert(e.map(a)+(o>s?-1:1)*n);return[a,l]}let{domain:r}=e.getOptions(),a=t[0],i=r.indexOf(a);if(n){let e=i+Math.round(r.length*n);return r.slice(i,e)}let o=t[t.length-1],s=r.indexOf(o);return r.slice(i,s+1)}function i9(e,t,n,r,a,i){let{x:o,y:s}=a,l=(e,t)=>{let[n,r]=i.invert(e);return[i5(o,n,t),i5(s,r,t)]},c=l([e,t],!0),u=l([n,r],!1),p=i6(o,[c[0],u[0]]),d=i6(s,[c[1],u[1]]);return[p,d]}function i8(e,t){let[n,r]=e;return[t.map(n),t.map(r)+(t.getStep?t.getStep():0)]}var i7=n(10233),oe=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function ot(e,t,n,r,a={}){let{inset:i=0,radius:o=0,insetLeft:s=i,insetTop:l=i,insetRight:c=i,insetBottom:u=i,radiusBottomLeft:p=o,radiusBottomRight:d=o,radiusTopLeft:f=o,radiusTopRight:g=o,minWidth:m=-1/0,maxWidth:h=1/0,minHeight:b=-1/0}=a,y=oe(a,["inset","radius","insetLeft","insetTop","insetRight","insetBottom","radiusBottomLeft","radiusBottomRight","radiusTopLeft","radiusTopRight","minWidth","maxWidth","minHeight"]);if(!r8(r)&&!ae(r)){let n=!!r9(r),[a,,i]=n?ip(t):t,[o,E]=a,[T,S]=ie(i,a),v=(T>0?o:o+T)+s,A=(S>0?E:E+S)+l,O=Math.abs(T)-(s+c),_=Math.abs(S)-(l+u),k=n?r3(O,b,1/0):r3(O,m,h),I=n?r3(_,m,h):r3(_,b,1/0),C=n?v:v-(k-O)/2,N=n?A-(I-_)/2:A-(I-_);return rU(e.createElement("rect",{})).style("x",C).style("y",N).style("width",k).style("height",I).style("radius",[f,g,d,p]).call(il,y).node()}let{y:E,y1:T}=n,S=r.getCenter(),v=id(r,t,[E,T]),A=(0,i7.Z)().cornerRadius(o).padAngle(i*Math.PI/180);return rU(e.createElement("path",{})).style("d",A(v)).style("transform",`translate(${S[0]}, ${S[1]})`).style("radius",o).style("inset",i).call(il,y).node()}let on=(e,t)=>{let{colorAttribute:n,opacityAttribute:r="fill",first:a=!0,last:i=!0}=e,o=oe(e,["colorAttribute","opacityAttribute","first","last"]),{coordinate:s,document:l}=t;return(t,r,c)=>{let{color:u,radius:p=0}=c,d=oe(c,["color","radius"]),f=d.lineWidth||1,{stroke:g,radius:m=p,radiusTopLeft:h=m,radiusTopRight:b=m,radiusBottomRight:y=m,radiusBottomLeft:E=m,innerRadius:T=0,innerRadiusTopLeft:S=T,innerRadiusTopRight:v=T,innerRadiusBottomRight:A=T,innerRadiusBottomLeft:O=T,lineWidth:_="stroke"===n||g?f:0,inset:k=0,insetLeft:I=k,insetRight:C=k,insetBottom:N=k,insetTop:w=k,minWidth:x,maxWidth:R,minHeight:L}=o,D=oe(o,["stroke","radius","radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft","innerRadius","innerRadiusTopLeft","innerRadiusTopRight","innerRadiusBottomRight","innerRadiusBottomLeft","lineWidth","inset","insetLeft","insetRight","insetBottom","insetTop","minWidth","maxWidth","minHeight"]),{color:P=u,opacity:M}=r,F=[a?h:S,a?b:v,i?y:A,i?E:O],B=["radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft"];r9(s)&&B.push(B.shift());let j=Object.assign(Object.assign({radius:m},Object.fromEntries(B.map((e,t)=>[e,F[t]]))),{inset:k,insetLeft:I,insetRight:C,insetBottom:N,insetTop:w,minWidth:x,maxWidth:R,minHeight:L});return rU(ot(l,t,r,s,j)).call(il,d).style("fill","transparent").style(n,P).style(ig(e),M).style("lineWidth",_).style("stroke",void 0===g?P:g).call(il,D).node()}};on.props={defaultEnterAnimation:"scaleInY",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let or={visibility:"visible",opacity:1,fillOpacity:1,strokeOpacity:1};function oa(e,t,n,r){e.style[t]=n,r&&e.children.forEach(e=>oa(e,t,n,r))}function oi(e){oa(e,"visibility","hidden",!0)}function oo(e){oa(e,"visibility","visible",!0)}var os=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function ol(e){return rU(e).selectAll(`.${iX}`).nodes().filter(e=>!e.__removed__)}function oc(e,t){return ou(e,t).flatMap(({container:e})=>ol(e))}function ou(e,t){return t.filter(t=>t!==e&&t.options.parentKey===e.options.key)}function op(e){return rU(e).select(`.${iJ}`).node()}function od(e){if("g"===e.tagName)return e.getRenderBounds();let t=e.getGeometryBounds(),n=new nX.mN;return n.setFromTransformedAABB(t,e.getWorldTransform()),n}function of(e,t){let{offsetX:n,offsetY:r}=t,a=od(e),{min:[i,o],max:[s,l]}=a;return ns||rl?null:[n-i,r-o]}function og(e,t){let{offsetX:n,offsetY:r}=t,[a,i,o,s]=function(e){let t=e.getRenderBounds(),{min:[n,r],max:[a,i]}=t;return[n,r,a,i]}(e);return[Math.min(o,Math.max(a,n))-a,Math.min(s,Math.max(i,r))-i]}function om(e){return e=>e.__data__.color}function oh(e){return e=>e.__data__.x}function ob(e){let t=Array.isArray(e)?e:[e],n=new Map(t.flatMap(e=>{let t=Array.from(e.markState.keys());return t.map(t=>[oE(e.key,t.key),t.data])}));return e=>{let{index:t,markKey:r,viewKey:a}=e.__data__,i=n.get(oE(a,r));return i[t]}}function oy(e,t=(e,t)=>e,n=(e,t,n)=>e.setAttribute(t,n)){let r="__states__",a="__ordinal__",i=i=>{let{[r]:o=[],[a]:s={}}=i,l=o.reduce((t,n)=>Object.assign(Object.assign({},t),e[n]),s);if(0!==Object.keys(l).length){for(let[e,r]of Object.entries(l)){let a=function(e,t){var n;return null!==(n=e.style[t])&&void 0!==n?n:or[t]}(i,e),o=t(r,i);n(i,e,o),e in s||(s[e]=a)}i[a]=s}},o=e=>{e[r]||(e[r]=[])};return{setState:(e,...t)=>{o(e),e[r]=[...t],i(e)},removeState:(e,...t)=>{for(let n of(o(e),t)){let t=e[r].indexOf(n);-1!==t&&e[r].splice(t,1)}i(e)},hasState:(e,t)=>(o(e),-1!==e[r].indexOf(t))}}function oE(e,t){return`${e},${t}`}function oT(e,t){let n=Array.isArray(e)?e:[e],r=n.flatMap(e=>e.marks.map(t=>[oE(e.key,t.key),t.state])),a={};for(let e of t){let[t,n]=Array.isArray(e)?e:[e,{}];a[t]=r.reduce((e,r)=>{var a;let[i,o={}]=r,s=void 0===(a=o[t])||"object"==typeof a&&0===Object.keys(a).length?n:o[t];for(let[t,n]of Object.entries(s)){let r=e[t],a=(e,t,a,o)=>{let s=oE(o.__data__.viewKey,o.__data__.markKey);return i!==s?null==r?void 0:r(e,t,a,o):"function"!=typeof n?n:n(e,t,a,o)};e[t]=a}return e},{})}return a}function oS(e,t){let n=new Map(e.map((e,t)=>[e,t])),r=t?e.map(t):e;return(e,a)=>{if("function"!=typeof e)return e;let i=n.get(a),o=t?t(a):a;return e(o,i,r,a)}}function ov(e){var{link:t=!1,valueof:n=(e,t)=>e,coordinate:r}=e,a=os(e,["link","valueof","coordinate"]);if(!t)return[()=>{},()=>{}];let i=e=>e.__data__.points,o=(e,t)=>{let[,n,r]=e,[a,,,i]=t;return[n,a,i,r]};return[e=>{var t;if(e.length<=1)return;let r=(0,iF.Z)(e,(e,t)=>{let{x:n}=e.__data__,{x:r}=t.__data__;return n-r});for(let e=1;en(e,l)),{fill:m=l.getAttribute("fill")}=g,h=os(g,["fill"]),b=new nX.y$({className:"element-link",style:Object.assign({d:s.toString(),fill:m,zIndex:-2},h)});null===(t=l.link)||void 0===t||t.remove(),l.parentNode.appendChild(b),l.link=b}},e=>{var t;null===(t=e.link)||void 0===t||t.remove(),e.link=null}]}function oA(e,t,n){let r=t=>{let{transform:n}=e.style;return n?`${n} ${t}`:t};if(r8(n)){let{points:a}=e.__data__,[i,o]=r9(n)?ip(a):a,s=n.getCenter(),l=ie(i,s),c=ie(o,s),u=ir(l),p=ii(l,c),d=u+p/2,f=t*Math.cos(d),g=t*Math.sin(d);return r(`translate(${f}, ${g})`)}return r(r9(n)?`translate(${t}, 0)`:`translate(0, ${-t})`)}function oO(e){var{document:t,background:n,scale:r,coordinate:a,valueof:i}=e,o=os(e,["document","background","scale","coordinate","valueof"]);let s="element-background";if(!n)return[()=>{},()=>{}];let l=(e,t,n)=>{let r=e.invert(t),a=t+e.getBandWidth(r)/2,i=e.getStep(r)/2,o=i*n;return[a-i+o,a+i-o]},c=(e,t)=>{let{x:n}=r;if(!i4(n))return[0,1];let{__data__:a}=e,{x:i}=a,[o,s]=l(n,i,t);return[o,s]},u=(e,t)=>{let{y:n}=r;if(!i4(n))return[0,1];let{__data__:a}=e,{y:i}=a,[o,s]=l(n,i,t);return[o,s]},p=(e,n)=>{let{padding:r}=n,[i,o]=c(e,r),[s,l]=u(e,r),p=[[i,s],[o,s],[o,l],[i,l]].map(e=>a.map(e)),{__data__:d}=e,{y:f,y1:g}=d;return ot(t,p,{y:f,y1:g},a,n)},d=(e,t)=>{let{transform:n="scale(1.2, 1.2)",transformOrigin:r="center center",stroke:a=""}=t,i=os(t,["transform","transformOrigin","stroke"]),o=Object.assign({transform:n,transformOrigin:r,stroke:a},i),s=e.cloneNode(!0);for(let[e,t]of Object.entries(o))s.style[e]=t;return s},f=()=>{let{x:e,y:t}=r;return[e,t].some(i4)};return[e=>{e.background&&e.background.remove();let t=rZ(o,t=>i(t,e)),{fill:n="#CCD6EC",fillOpacity:r=.3,zIndex:a=-2,padding:l=.001,lineWidth:c=0}=t,u=os(t,["fill","fillOpacity","zIndex","padding","lineWidth"]),g=Object.assign(Object.assign({},u),{fill:n,fillOpacity:r,zIndex:a,padding:l,lineWidth:c}),m=f()?p:d,h=m(e,g);h.className=s,e.parentNode.parentNode.appendChild(h),e.background=h},e=>{var t;null===(t=e.background)||void 0===t||t.remove(),e.background=null},e=>e.className===s]}function o_(e,t){let n=e.getRootNode().defaultView,r=n.getContextService().getDomElement();(null==r?void 0:r.style)&&(e.cursor=r.style.cursor,r.style.cursor=t)}function ok(e,t,n){return e.find(e=>Object.entries(t).every(([t,r])=>n(e)[t]===r))}function oI(e,t){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))}function oC(e,t=!1){let n=iV(e,e=>!!e).map((e,t)=>[0===t?"M":"L",...e]);return t&&n.push(["Z"]),n}function oN(e){return e.querySelectorAll(".element")}function ow(e,t){if(t(e))return e;let n=e.parent;for(;n&&!t(n);)n=n.parent;return n}function ox(e,t){let{__data__:n}=e,{markKey:r,index:a,seriesIndex:i}=n,{markState:o}=t,s=Array.from(o.keys()).find(e=>e.key===r);if(s)return i?i.map(e=>s.data[e]):s.data[a]}function oR(e,t,n,r=e=>!0){return a=>{if(!r(a))return;n.emit(`plot:${e}`,a);let{target:i}=a;if(!i)return;let{className:o}=i;if("plot"===o)return;let s=ow(i,e=>"element"===e.className),l=ow(i,e=>"component"===e.className),c=ow(i,e=>"label"===e.className),u=s||l||c;if(!u)return;let{className:p,markType:d}=u,f=Object.assign(Object.assign({},a),{nativeEvent:!0});"element"===p?(f.data={data:ox(u,t)},n.emit(`element:${e}`,f),n.emit(`${d}:${e}`,f)):"label"===p?(f.data={data:u.attributes.datum},n.emit(`label:${e}`,f),n.emit(`${o}:${e}`,f)):(n.emit(`component:${e}`,f),n.emit(`${o}:${e}`,f))}}function oL(){return(e,t,n)=>{let{container:r,view:a}=e,i=oR(rG.CLICK,a,n,e=>1===e.detail),o=oR(rG.DBLCLICK,a,n,e=>2===e.detail),s=oR(rG.POINTER_TAP,a,n),l=oR(rG.POINTER_DOWN,a,n),c=oR(rG.POINTER_UP,a,n),u=oR(rG.POINTER_OVER,a,n),p=oR(rG.POINTER_OUT,a,n),d=oR(rG.POINTER_MOVE,a,n),f=oR(rG.POINTER_ENTER,a,n),g=oR(rG.POINTER_LEAVE,a,n),m=oR(rG.POINTER_UPOUTSIDE,a,n),h=oR(rG.DRAG_START,a,n),b=oR(rG.DRAG,a,n),y=oR(rG.DRAG_END,a,n),E=oR(rG.DRAG_ENTER,a,n),T=oR(rG.DRAG_LEAVE,a,n),S=oR(rG.DRAG_OVER,a,n),v=oR(rG.DROP,a,n);return r.addEventListener("click",i),r.addEventListener("click",o),r.addEventListener("pointertap",s),r.addEventListener("pointerdown",l),r.addEventListener("pointerup",c),r.addEventListener("pointerover",u),r.addEventListener("pointerout",p),r.addEventListener("pointermove",d),r.addEventListener("pointerenter",f),r.addEventListener("pointerleave",g),r.addEventListener("pointerupoutside",m),r.addEventListener("dragstart",h),r.addEventListener("drag",b),r.addEventListener("dragend",y),r.addEventListener("dragenter",E),r.addEventListener("dragleave",T),r.addEventListener("dragover",S),r.addEventListener("drop",v),()=>{r.removeEventListener("click",i),r.removeEventListener("click",o),r.removeEventListener("pointertap",s),r.removeEventListener("pointerdown",l),r.removeEventListener("pointerup",c),r.removeEventListener("pointerover",u),r.removeEventListener("pointerout",p),r.removeEventListener("pointermove",d),r.removeEventListener("pointerenter",f),r.removeEventListener("pointerleave",g),r.removeEventListener("pointerupoutside",m),r.removeEventListener("dragstart",h),r.removeEventListener("drag",b),r.removeEventListener("dragend",y),r.removeEventListener("dragenter",E),r.removeEventListener("dragleave",T),r.removeEventListener("dragover",S),r.removeEventListener("drop",v)}}}oL.props={reapplyWhenUpdate:!0};var oD=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function oP(e,t){let n=Object.assign(Object.assign({},{"component.axisRadar":ax,"component.axisLinear":aC,"component.axisArc":aN,"component.legendContinuousBlock":aJ,"component.legendContinuousBlockSize":a1,"component.legendContinuousSize":a0,"interaction.event":oL,"composition.mark":a3,"composition.view":a7,"shape.label.label":iZ}),t),r=t=>{if("string"!=typeof t)return t;let r=`${e}.${t}`;return n[r]||rx(`Unknown Component: ${r}`)};return[(e,t)=>{let{type:n}=e,a=oD(e,["type"]);n||rx("Plot type is required!");let i=r(n);return null==i?void 0:i(a,t)},r]}function oM(e){let{canvas:t,group:n}=e;return(null==t?void 0:t.document)||(null==n?void 0:n.ownerDocument)||rx("Cannot find library document")}var oF=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function oB(e,t){let{coordinate:n={},coordinates:r}=e,a=oF(e,["coordinate","coordinates"]);if(r)return e;let{type:i,transform:o=[]}=n,s=oF(n,["type","transform"]);if(!i)return Object.assign(Object.assign({},a),{coordinates:o});let[,l]=oP("coordinate",t),{transform:c=!1}=l(i).props||{};if(c)throw Error(`Unknown coordinate: ${i}.`);return Object.assign(Object.assign({},a),{coordinates:[Object.assign({type:i},s),...o]})}function oj(e,t){return e.filter(e=>e.type===t)}function oU(e){return oj(e,"polar").length>0}function oH(e){return oj(e,"transpose").length%2==1}function oG(e){return oj(e,"theta").length>0}function oz(e){return oj(e,"radial").length>0}var o$=n(25338),oW=n(63488);function oZ(e,t){let n=Object.keys(e);for(let r of Object.values(t)){let{name:t}=r.getOptions();if(t in e){let a=n.filter(e=>e.startsWith(t)).map(e=>+(e.replace(t,"")||0)),i=(0,rQ.Z)(a)+1,o=`${t}${i}`;e[o]=r,r.getOptions().key=o}else e[t]=r}return e}function oY(e,t){let n,r;let[a]=oP("scale",t),{relations:i}=e,[o]=i&&Array.isArray(i)?[e=>{var t;n=e.map.bind(e),r=null===(t=e.invert)||void 0===t?void 0:t.bind(e);let a=i.filter(([e])=>"function"==typeof e),o=i.filter(([e])=>"function"!=typeof e),s=new Map(o);if(e.map=e=>{for(let[t,n]of a)if(t(e))return n;return s.has(e)?s.get(e):n(e)},!r)return e;let l=new Map(o.map(([e,t])=>[t,e])),c=new Map(a.map(([e,t])=>[t,e]));return e.invert=e=>c.has(e)?e:l.has(e)?l.get(e):r(e),e},e=>(null!==n&&(e.map=n),null!==r&&(e.invert=r),e)]:[rC,rC],s=a(e);return o(s)}function oV(e,t){let n=e.filter(({name:e,facet:n=!0})=>n&&e===t),r=n.flatMap(e=>e.domain),a=n.every(oq)?(0,ad.Z)(r):n.every(oK)?Array.from(new Set(r)):null;if(null!==a)for(let e of n)e.domain=a}function oq(e){let{type:t}=e;return"string"==typeof t&&["linear","log","pow","time"].includes(t)}function oK(e){let{type:t}=e;return"string"==typeof t&&["band","point","ordinal"].includes(t)}function oX(e,t,n,r,a){let[i]=oP("palette",a),{category10:o,category20:s}=r,l=Array.from(new Set(n)).length<=o.length?o:s,{palette:c=l,offset:u}=t;if(Array.isArray(c))return c;try{return i({type:c})}catch(t){let e=function(e,t,n=e=>e){if(!e)return null;let r=r$(e),a=oW[`scheme${r}`],i=oW[`interpolate${r}`];if(!a&&!i)return null;if(a){if(!a.some(Array.isArray))return a;let e=a[t.length];if(e)return e}return t.map((e,r)=>i(n(r/t.length)))}(c,n,u);if(e)return e;throw Error(`Unknown Component: ${c} `)}}function oQ(e,t){return t||(e.startsWith("x")||e.startsWith("y")||e.startsWith("position")||e.startsWith("size")?"point":"ordinal")}function oJ(e,t,n){return n||("color"!==e?"linear":t?"linear":"sequential")}function o0(e,t){if(0===e.length)return e;let{domainMin:n,domainMax:r}=t,[a,i]=e;return[null!=n?n:a,null!=r?r:i]}function o1(e){return o3(e,e=>{let t=typeof e;return"string"===t||"boolean"===t})}function o2(e){return o3(e,e=>e instanceof Date)}function o3(e,t){for(let n of e)if(n.some(t))return!0;return!1}let o4={linear:"linear",identity:"identity",log:"log",pow:"pow",sqrt:"sqrt",sequential:"sequential"},o5={threshold:"threshold",quantize:"quantize",quantile:"quantile"},o6={ordinal:"ordinal",band:"band",point:"point"},o9={constant:"constant"};var o8=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function o7(e,t,n,r,a){let[i]=oP("component",r),{scaleInstances:o,scale:s,bbox:l}=e,c=o8(e,["scaleInstances","scale","bbox"]),u=i(c);return u({coordinate:t,library:r,markState:a,scales:o,theme:n,value:{bbox:l,library:r},scale:s})}function se(e,t){let n=["left","right","bottom","top"],r=(0,rA.Xx)(e,({type:e,position:t,group:r})=>n.includes(t)?void 0===r?e.startsWith("legend")?`legend-${t}`:Symbol("independent"):"independent"===r?Symbol("independent"):r:Symbol("independent"));return r.flatMap(([,e])=>{if(1===e.length)return e[0];if(void 0!==t){let n=e.filter(e=>void 0!==e.length).map(e=>e.length),r=(0,rX.Z)(n);if(r>t)return e.forEach(e=>e.group=Symbol("independent")),e;let a=e.length-n.length,i=(t-r)/a;e.forEach(e=>{void 0===e.length&&(e.length=i)})}let n=(0,rQ.Z)(e,e=>e.size),r=(0,rQ.Z)(e,e=>e.order),a=(0,rQ.Z)(e,e=>e.crossPadding),i=e[0].position;return{type:"group",size:n,order:r,position:i,children:e,crossPadding:a}})}function st(e){let t=oj(e,"polar");if(t.length){let e=t[t.length-1],{startAngle:n,endAngle:r}=rJ(e);return[n,r]}let n=oj(e,"radial");if(n.length){let e=n[n.length-1],{startAngle:t,endAngle:r}=r1(e);return[t,r]}return[-Math.PI/2,Math.PI/2*3]}function sn(e,t,n,r,a,i){let{type:o}=e;if(["left","right","bottom","top"].includes(r)&&"string"==typeof o)return(o.startsWith("axis")?ss:o.startsWith("group")?sr:o.startsWith("legendContinuous")?sl:"legendCategory"===o?sc:o.startsWith("slider")?so:"title"===o?si:o.startsWith("scrollbar")?sa:()=>{})(e,t,n,r,a,i)}function sr(e,t,n,r,a,i){let{children:o}=e,s=(0,rQ.Z)(o,e=>e.crossPadding);o.forEach(e=>e.crossPadding=s),o.forEach(e=>sn(e,t,n,r,a,i));let l=(0,rQ.Z)(o,e=>e.size);e.size=l,o.forEach(e=>e.size=l)}function sa(e,t,n,r,a,i){let{trackSize:o=6}=(0,rv.Z)({},a.scrollbar,e);e.size=o}function si(e,t,n,r,a,i){let o=(0,rv.Z)({},a.title,e),{title:s,subtitle:l,spacing:c=0}=o,u=o8(o,["title","subtitle","spacing"]);if(s){let t=rD(u,"title"),n=sm(s,t);e.size=n.height}if(l){let t=rD(u,"subtitle"),n=sm(l,t);e.size+=c+n.height}}function so(e,t,n,r,a,i){let{trackSize:o,handleIconSize:s}=(()=>{let{slider:t}=a;return(0,rv.Z)({},t,e)})();e.size=Math.max(o,2.4*s)}function ss(e,t,n,r,a,i){var o;e.transform=e.transform||[{type:"hide"}];let s="left"===r||"right"===r,l=sf(e,r,a),{tickLength:c=0,labelSpacing:u=0,titleSpacing:p=0,labelAutoRotate:d}=l,f=o8(l,["tickLength","labelSpacing","titleSpacing","labelAutoRotate"]),g=su(e,i),m=sp(f,g),h=c+u;if(m&&m.length){let r=(0,rQ.Z)(m,e=>e.width),a=(0,rQ.Z)(m,e=>e.height);if(s)e.size=r+h;else{let{tickFilter:i,labelTransform:s}=e;(function(e,t,n,r,a){let i=(0,rX.Z)(t,e=>e.width);if(i>n)return!0;let o=e.clone();o.update({range:[0,n]});let s=sg(e,a),l=s.map(e=>o.map(e)+function(e,t){if(!e.getBandWidth)return 0;let n=e.getBandWidth(t)/2;return n}(o,e)),c=s.map((e,t)=>t),u=-r[0],p=n+r[1],d=(e,t)=>{let{width:n}=t;return[e-n/2,e+n/2]};for(let e=0;ep)return!0;let i=l[e+1];if(i){let[n]=d(i,t[e+1]);if(a>n)return!0}}return!1})(g,m,t,n,i)&&!s&&!1!==d&&null!==d?(e.labelTransform="rotate(90)",e.size=r+h):(e.labelTransform=null!==(o=e.labelTransform)&&void 0!==o?o:"rotate(0)",e.size=a+h)}}else e.size=c;let b=sd(f);b&&(s?e.size+=p+b.width:e.size+=p+b.height)}function sl(e,t,n,r,a,i){let o=(()=>{let{legendContinuous:t}=a;return(0,rv.Z)({},t,e)})(),{labelSpacing:s=0,titleSpacing:l=0}=o,c=o8(o,["labelSpacing","titleSpacing"]),u="left"===r||"right"===r,p=rD(c,"ribbon"),{size:d}=p,f=rD(c,"handleIcon"),{size:g}=f;e.size=Math.max(d,2.4*g);let m=su(e,i),h=sp(c,m);if(h){let t=u?"width":"height",n=(0,rQ.Z)(h,e=>e[t]);e.size+=n+s}let b=sd(c);b&&(u?e.size=Math.max(e.size,b.width):e.size+=l+b.height)}function sc(e,t,n,r,a,i){let o=(()=>{let{legendCategory:t}=a,{title:n}=e,[r,i]=Array.isArray(n)?[n,void 0]:[void 0,n];return(0,rv.Z)({title:r},t,Object.assign(Object.assign({},e),{title:i}))})(),{itemSpacing:s,itemMarkerSize:l,titleSpacing:c,rowPadding:u,colPadding:p,maxCols:d=1/0,maxRows:f=1/0}=o,g=o8(o,["itemSpacing","itemMarkerSize","titleSpacing","rowPadding","colPadding","maxCols","maxRows"]),{cols:m,length:h}=e,b=e=>Math.min(e,f),y=e=>Math.min(e,d),E="left"===r||"right"===r,T=void 0===h?t+(E?0:n[0]+n[1]):h,S=sd(g),v=su(e,i),A=sp(g,v,"itemLabel"),O=Math.max(A[0].height,l)+u,_=(e,t=0)=>l+e+s[0]+t;E?(()=>{let t=-1/0,n=0,r=1,a=0,i=-1/0,o=-1/0,s=S?S.height:0,l=T-s;for(let{width:e}of A){let s=_(e,p);t=Math.max(t,s),n+O>l?(r++,i=Math.max(i,a),o=Math.max(o,n),a=1,n=O):(n+=O,a++)}r<=1&&(i=a,o=n),e.size=t*y(r),e.length=o+s,(0,rv.Z)(e,{cols:y(r),gridRow:i})})():"number"==typeof m?(()=>{let t=Math.ceil(A.length/m),n=(0,rQ.Z)(A,e=>_(e.width))*m;e.size=O*b(t)-u,e.length=Math.min(n,T)})():(()=>{let t=1,n=0,r=-1/0;for(let{width:e}of A){let a=_(e,p);n+a>T?(r=Math.max(r,n),n=a,t++):n+=a}1===t&&(r=n),e.size=O*b(t)-u,e.length=r})(),S&&(E?e.size=Math.max(e.size,S.width):e.size+=c+S.height)}function su(e,t){let[n]=oP("scale",t),{scales:r,tickCount:a,tickMethod:i}=e,o=r.find(e=>"constant"!==e.type&&"identity"!==e.type);return void 0!==a&&(o.tickCount=a),void 0!==i&&(o.tickMethod=i),n(o)}function sp(e,t,n="label"){let{labelFormatter:r,tickFilter:a,label:i=!0}=e,o=o8(e,["labelFormatter","tickFilter","label"]);if(!i)return null;let s=function(e,t,n){let r=sg(e,n),a=r.map(e=>"number"==typeof e?r4(e):e),i=t?"string"==typeof t?(0,rW.WU)(t):t:e.getFormatter?e.getFormatter():e=>`${e}`;return a.map(i)}(t,r,a),l=rD(o,n),c=s.map((e,t)=>Object.fromEntries(Object.entries(l).map(([n,r])=>[n,"function"==typeof r?r(e,t):r]))),u=s.map((e,t)=>{let n=c[t];return sm(e,n)}),p=c.some(e=>e.transform);if(!p){let t=s.map((e,t)=>t);e.indexBBox=new Map(t.map(e=>[e,[s[e],u[e]]]))}return u}function sd(e){let{title:t}=e,n=o8(e,["title"]);if(!1===t||null==t)return null;let r=rD(n,"title"),{direction:a,transform:i}=r,o=Array.isArray(t)?t.join(","):t;if("string"!=typeof o)return null;let s=sm(o,Object.assign(Object.assign({},r),{transform:i||("vertical"===a?"rotate(-90)":"")}));return s}function sf(e,t,n){let{title:r}=e,[a,i]=Array.isArray(r)?[r,void 0]:[void 0,r],{axis:o,[`axis${rw(t)}`]:s}=n;return(0,rv.Z)({title:a},o,s,Object.assign(Object.assign({},e),{title:i}))}function sg(e,t){let n=e.getTicks?e.getTicks():e.getOptions().domain;return t?n.filter(t):n}function sm(e,t){let n=e instanceof nX.s$?e:new nX.xv({style:{text:`${e}`}}),{filter:r}=t,a=o8(t,["filter"]);n.attr(Object.assign(Object.assign({},a),{visibility:"none"}));let i=n.getBBox();return i}var sh=n(47622),sb=n(91077);function sy(e,t,n,r,a,i,o){let s=(0,rA.ZP)(e,e=>e.position),{padding:l=i.padding,paddingLeft:c=l,paddingRight:u=l,paddingBottom:p=l,paddingTop:d=l}=a,f={paddingBottom:p,paddingLeft:c,paddingTop:d,paddingRight:u};for(let e of r){let r=`padding${rw(ib(e))}`,a=s.get(e)||[],l=f[r],c=e=>{void 0===e.size&&(e.size=e.defaultSize)},u=e=>{"group"===e.type?(e.children.forEach(c),e.size=(0,rQ.Z)(e.children,e=>e.size)):e.size=e.defaultSize},p=r=>{r.size||("auto"!==l?u(r):(sn(r,t,n,e,i,o),c(r)))},d=e=>{e.type.startsWith("axis")&&void 0===e.labelAutoHide&&(e.labelAutoHide=!0)},g="bottom"===e||"top"===e,m=(0,sh.Z)(a,e=>e.order),h=a.filter(e=>e.type.startsWith("axis")&&e.order==m);if(h.length&&(h[0].crossPadding=0),"number"==typeof l)a.forEach(c),a.forEach(d);else if(0===a.length)f[r]=0;else{let e=g?t+n[0]+n[1]:t,i=se(a,e);i.forEach(p);let o=i.reduce((e,{size:t,crossPadding:n=12})=>e+t+n,0);f[r]=o}}return f}function sE({width:e,height:t,paddingLeft:n,paddingRight:r,paddingTop:a,paddingBottom:i,marginLeft:o,marginTop:s,marginBottom:l,marginRight:c,innerHeight:u,innerWidth:p,insetBottom:d,insetLeft:f,insetRight:g,insetTop:m}){let h=n+o,b=a+s,y=r+c,E=i+l,T=e-o-c,S=[h+f,b+m,p-f-g,u-m-d,"center",null,null],v={top:[h,0,p,b,"vertical",!0,sb.Z,o,T],right:[e-y,b,y,u,"horizontal",!1,sb.Z],bottom:[h,t-E,p,E,"vertical",!1,sb.Z,o,T],left:[0,b,h,u,"horizontal",!0,sb.Z],"top-left":[h,0,p,b,"vertical",!0,sb.Z],"top-right":[h,0,p,b,"vertical",!0,sb.Z],"bottom-left":[h,t-E,p,E,"vertical",!1,sb.Z],"bottom-right":[h,t-E,p,E,"vertical",!1,sb.Z],center:S,inner:S,outer:S};return v}function sT(e,t,n={},r=!1){if(rj(e)||Array.isArray(e)&&r)return e;let a=rD(e,t);return(0,rv.Z)(n,a)}function sS(e,t={}){return rj(e)||Array.isArray(e)||!sv(e)?e:(0,rv.Z)(t,e)}function sv(e){if(0===Object.keys(e).length)return!0;let{title:t,items:n}=e;return void 0!==t||void 0!==n}function sA(e,t){return"object"==typeof e?rD(e,t):e}var sO=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function s_(e,t,n){let{encode:r={},scale:a={},transform:i=[]}=t,o=sO(t,["encode","scale","transform"]);return[e,Object.assign(Object.assign({},o),{encode:r,scale:a,transform:i})]}function sk(e,t,n){var r,a,i,o;return r=this,a=void 0,i=void 0,o=function*(){let{library:e}=n,{data:r}=t,[a]=oP("data",e),i=function(e){if((0,aL.Z)(e))return{type:"inline",value:e};if(!e)return{type:"inline",value:null};if(Array.isArray(e))return{type:"inline",value:e};let{type:t="inline"}=e,n=sO(e,["type"]);return Object.assign(Object.assign({},n),{type:t})}(r),{transform:o=[]}=i,s=sO(i,["transform"]),l=[s,...o],c=l.map(e=>a(e,n)),u=yield(function(e){return e.reduce((e,t)=>n=>{var r,a,i,o;return r=this,a=void 0,i=void 0,o=function*(){let r=yield e(n);return t(r)},new(i||(i=Promise))(function(e,t){function n(e){try{l(o.next(e))}catch(e){t(e)}}function s(e){try{l(o.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof i?r:new i(function(e){e(r)})).then(n,s)}l((o=o.apply(r,a||[])).next())})},rC)})(c)(r),p=!r||Array.isArray(r)||Array.isArray(u)?u:{value:u};return[Array.isArray(u)?rY(u):[],Object.assign(Object.assign({},t),{data:p})]},new(i||(i=Promise))(function(e,t){function n(e){try{l(o.next(e))}catch(e){t(e)}}function s(e){try{l(o.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof i?r:new i(function(e){e(r)})).then(n,s)}l((o=o.apply(r,a||[])).next())})}function sI(e,t,n){let{encode:r}=t;if(!r)return[e,t];let a={};for(let[e,t]of Object.entries(r))if(Array.isArray(t))for(let n=0;n{if(function(e){if("object"!=typeof e||e instanceof Date||null===e)return!1;let{type:t}=e;return rL(t)}(e))return e;let t="function"==typeof e?"transform":"string"==typeof e&&Array.isArray(a)&&a.some(t=>void 0!==t[e])?"field":"constant";return{type:t,value:e}});return[e,Object.assign(Object.assign({},t),{encode:i})]}function sN(e,t,n){let{encode:r}=t;if(!r)return[e,t];let a=rZ(r,(e,t)=>{var n;let{type:r}=e;return"constant"!==r||(n=t).startsWith("x")||n.startsWith("y")||n.startsWith("position")||"enterDelay"===n||"enterDuration"===n||"updateDelay"===n||"updateDuration"===n||"exitDelay"===n||"exitDuration"===n?e:Object.assign(Object.assign({},e),{constant:!0})});return[e,Object.assign(Object.assign({},t),{encode:a})]}function sw(e,t,n){let{encode:r,data:a}=t;if(!r)return[e,t];let{library:i}=n,o=function(e){let[t]=oP("encode",e);return(e,n)=>void 0===n||void 0===e?null:Object.assign(Object.assign({},n),{type:"column",value:t(n)(e),field:function(e){let{type:t,value:n}=e;return"field"===t&&"string"==typeof n?n:null}(n)})}(i),s=rZ(r,e=>o(a,e));return[e,Object.assign(Object.assign({},t),{encode:s})]}function sx(e,t,n){let{tooltip:r={}}=t;return rj(r)?[e,t]:Array.isArray(r)?[e,Object.assign(Object.assign({},t),{tooltip:{items:r}})]:rB(r)&&sv(r)?[e,Object.assign(Object.assign({},t),{tooltip:r})]:[e,Object.assign(Object.assign({},t),{tooltip:{items:[r]}})]}function sR(e,t,n){let{data:r,encode:a,tooltip:i={}}=t;if(rj(i))return[e,t];let o=t=>{if(!t)return t;if("string"==typeof t)return e.map(e=>({name:t,value:r[e][t]}));if(rB(t)){let{field:n,channel:i,color:o,name:s=n,valueFormatter:l=e=>e}=t,c="string"==typeof l?(0,rW.WU)(l):l,u=i&&a[i],p=u&&a[i].field,d=s||p||i,f=[];for(let t of e){let e=n?r[t][n]:u?a[i].value[t]:null;f[t]={name:d,color:o,value:c(e)}}return f}if("function"==typeof t){let n=[];for(let i of e){let e=t(r[i],i,r,a);rB(e)?n[i]=e:n[i]={value:e}}return n}return t},{title:s,items:l=[]}=i,c=sO(i,["title","items"]),u=Object.assign({title:o(s),items:Array.isArray(l)?l.map(o):[]},c);return[e,Object.assign(Object.assign({},t),{tooltip:u})]}function sL(e,t,n){let{encode:r}=t,a=sO(t,["encode"]);if(!r)return[e,t];let i=Object.entries(r),o=i.filter(([,e])=>{let{value:t}=e;return Array.isArray(t[0])}).flatMap(([t,n])=>{let r=[[t,Array(e.length).fill(void 0)]],{value:a}=n,i=sO(n,["value"]);for(let n=0;n[e,Object.assign({type:"column",value:t},i)])}),s=Object.fromEntries([...i,...o]);return[e,Object.assign(Object.assign({},a),{encode:s})]}function sD(e,t,n){let{axis:r={},legend:a={},slider:i={},scrollbar:o={}}=t,s=(e,t)=>{if("boolean"==typeof e)return e?{}:null;let n=e[t];return void 0===n||n?n:null},l="object"==typeof r?Array.from(new Set(["x","y","z",...Object.keys(r)])):["x","y","z"];return(0,rv.Z)(t,{scale:Object.assign(Object.assign({},Object.fromEntries(l.map(e=>{let t=s(o,e);return[e,Object.assign({guide:s(r,e),slider:s(i,e),scrollbar:t},t&&{ratio:void 0===t.ratio?.5:t.ratio})]}))),{color:{guide:s(a,"color")},size:{guide:s(a,"size")},shape:{guide:s(a,"shape")},opacity:{guide:s(a,"opacity")}})}),[e,t]}function sP(e,t,n){let{animate:r}=t;return r||void 0===r||(0,rv.Z)(t,{animate:{enter:{type:null},exit:{type:null},update:{type:null}}}),[e,t]}var sM=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})},sF=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},sB=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})},sj=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function sU(e){e.style("transform",e=>`translate(${e.layout.x}, ${e.layout.y})`)}function sH(e,t){return sB(this,void 0,void 0,function*(){let{library:n}=t,r=yield function(e,t){return sB(this,void 0,void 0,function*(){let{library:n}=t,[r,a]=oP("mark",n),i=new Set(Object.keys(n).map(e=>{var t;return null===(t=/component\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(rL)),{marks:o}=e,s=[],l=[],c=[...o],{width:u,height:p}=function(e){let{height:t,width:n,padding:r=0,paddingLeft:a=r,paddingRight:i=r,paddingTop:o=r,paddingBottom:s=r,margin:l=16,marginLeft:c=l,marginRight:u=l,marginTop:p=l,marginBottom:d=l,inset:f=0,insetLeft:g=f,insetRight:m=f,insetTop:h=f,insetBottom:b=f}=e,y=e=>"auto"===e?20:e,E=n-y(a)-y(i)-c-u-g-m,T=t-y(o)-y(s)-p-d-h-b;return{width:E,height:T}}(e),d={options:e,width:u,height:p};for(;c.length;){let[e]=c.splice(0,1),n=yield sQ(e,t),{type:o=rx("G2Mark type is required."),key:u}=n;if(i.has(o))l.push(n);else{let{props:e={}}=a(o),{composite:t=!0}=e;if(t){let{data:e}=n,t=Object.assign(Object.assign({},n),{data:e?Array.isArray(e)?e:e.value:e}),a=yield r(t,d),i=Array.isArray(a)?a:[a];c.unshift(...i.map((e,t)=>Object.assign(Object.assign({},e),{key:`${u}-${t}`})))}else s.push(n)}}return Object.assign(Object.assign({},e),{marks:s,components:l})})}(e,t),a=function(e){let{coordinate:t={},interaction:n={},style:r={},marks:a}=e,i=sj(e,["coordinate","interaction","style","marks"]),o=a.map(e=>e.coordinate||{}),s=a.map(e=>e.interaction||{}),l=a.map(e=>e.viewStyle||{}),c=[...o,t].reduceRight((e,t)=>(0,rv.Z)(e,t),{}),u=[n,...s].reduce((e,t)=>(0,rv.Z)(e,t),{}),p=[...l,r].reduce((e,t)=>(0,rv.Z)(e,t),{});return Object.assign(Object.assign({},i),{marks:a,coordinate:c,interaction:u,style:p})}(r);e.interaction=a.interaction,e.coordinate=a.coordinate,e.marks=[...a.marks,...a.components];let i=oB(a,n),o=yield sG(i,t);return s$(o,i,n)})}function sG(e,t){return sB(this,void 0,void 0,function*(){let{library:n}=t,[r]=oP("theme",n),[,a]=oP("mark",n),{theme:i,marks:o,coordinates:s=[]}=e,l=r(sK(i)),c=new Map;for(let e of o){let{type:n}=e,{props:r={}}=a(n),i=yield function(e,t,n){return sM(this,void 0,void 0,function*(){let[r,a]=yield function(e,t,n){return sM(this,void 0,void 0,function*(){let{library:r}=n,[a]=oP("transform",r),{preInference:i=[],postInference:o=[]}=t,{transform:s=[]}=e,l=[s_,sk,sI,sC,sN,sw,sL,sP,sD,sx,...i.map(a),...s.map(a),...o.map(a),sR],c=[],u=e;for(let e of l)[c,u]=yield e(c,u,n);return[c,u]})}(e,t,n),{encode:i,scale:o,data:s,tooltip:l}=a;if(!1===Array.isArray(s))return null;let{channels:c}=t,u=(0,rA.Q3)(Object.entries(i).filter(([,e])=>rL(e)),e=>e.map(([e,t])=>Object.assign({name:e},t)),([e])=>{var t;let n=null===(t=/([^\d]+)\d*$/.exec(e))||void 0===t?void 0:t[1],r=c.find(e=>e.name===n);return(null==r?void 0:r.independent)?e:n}),p=c.filter(e=>{let{name:t,required:n}=e;if(u.find(([e])=>e===t))return!0;if(n)throw Error(`Missing encoding for channel: ${t}.`);return!1}).flatMap(e=>{let{name:t,scale:n,scaleKey:r,range:a,quantitative:i,ordinal:s}=e,l=u.filter(([e])=>e.startsWith(t));return l.map(([e,t],l)=>{let c=t.some(e=>e.visual),u=t.some(e=>e.constant),p=o[e]||{},{independent:d=!1,key:f=r||e,type:g=u?"constant":c?"identity":n}=p,m=sF(p,["independent","key","type"]),h="constant"===g;return{name:e,values:t,scaleKey:d||h?Symbol("independent"):f,scale:Object.assign(Object.assign({type:g,range:h?void 0:a},m),{quantitative:i,ordinal:s})}})});return[a,Object.assign(Object.assign({},t),{index:r,channels:p,tooltip:l})]})}(e,r,t);if(i){let[e,t]=i;c.set(e,t)}}let u=(0,rA.ZP)(Array.from(c.values()).flatMap(e=>e.channels),({scaleKey:e})=>e);for(let e of u.values()){let t=e.reduce((e,{scale:t})=>(0,rv.Z)(e,t),{}),{scaleKey:r}=e[0],{values:a}=e[0],i=Array.from(new Set(a.map(e=>e.field).filter(rL))),o=(0,rv.Z)({guide:{title:0===i.length?void 0:i},field:i[0]},t),{name:c}=e[0],u=e.flatMap(({values:e})=>e.map(e=>e.value)),p=Object.assign(Object.assign({},function(e,t,n,r,a,i){let{guide:o={}}=n,s=function(e,t,n){let{type:r,domain:a,range:i,quantitative:o,ordinal:s}=n;return void 0!==r?r:o3(t,rB)?"identity":"string"==typeof i?"linear":(a||i||[]).length>2?oQ(e,s):void 0!==a?o1([a])?oQ(e,s):o2(t)?"time":oJ(e,i,o):o1(t)?oQ(e,s):o2(t)?"time":oJ(e,i,o)}(e,t,n);if("string"!=typeof s)return n;let l=function(e,t,n,r){let{domain:a}=r;if(void 0!==a)return a;switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":case"quantize":case"threshold":return o0(function(e,t){let{zero:n=!1}=t,r=1/0,a=-1/0;for(let t of e)for(let e of t)rL(e)&&(r=Math.min(r,+e),a=Math.max(a,+e));return r===1/0?[]:n?[Math.min(0,r),a]:[r,a]}(n,r),r);case"band":case"ordinal":case"point":return Array.from(new Set(n.flat()));case"quantile":return n.flat().sort();case"sequential":return o0(function(e){let t=1/0,n=-1/0;for(let r of e)for(let e of r)rL(e)&&(t=Math.min(t,+e),n=Math.max(n,+e));return t===1/0?[]:[t<0?-n:t,n]}(n),r);default:return[]}}(s,0,t,n),c=function(e,t,n){let{ratio:r}=n;return null==r?t:oq({type:e})?function(e,t,n){let r=e.map(Number),a=new as.b({domain:r,range:[r[0],r[0]+(r[r.length-1]-r[0])*t]});return"time"===n?e.map(e=>new Date(a.map(e))):e.map(e=>a.map(e))}(t,r,e):oK({type:e})?function(e,t){let n=Math.round(e.length*t);return e.slice(0,n)}(t,r):t}(s,l,n);return Object.assign(Object.assign(Object.assign({},n),function(e,t,n,r,a){switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":return function(e,t){let{interpolate:n=o$.wp,nice:r=!1,tickCount:a=5}=t;return Object.assign(Object.assign({},t),{interpolate:n,nice:r,tickCount:a})}(0,r);case"band":case"point":return function(e,t,n,r){if(void 0!==r.padding||void 0!==r.paddingInner||void 0!==r.paddingOuter)return Object.assign(Object.assign({},r),{unknown:NaN});let a="enterDelay"===t||"enterDuration"===t||"size"===t?0:"band"===e?oG(n)?0:.1:"point"===e?.5:0,{paddingInner:i=a,paddingOuter:o=a}=r;return Object.assign(Object.assign({},r),{paddingInner:i,paddingOuter:o,padding:a,unknown:NaN})}(e,t,a,r);case"sequential":return function(e){let{palette:t="ylGnBu",offset:n}=e,r=r$(t),a=oW[`interpolate${r}`];if(!a)throw Error(`Unknown palette: ${r}`);return{interpolator:n?e=>a(n(e)):a}}(r);default:return r}}(s,e,0,n,r)),{domain:c,range:function(e,t,n,r,a,i,o){let{range:s}=r;if("string"==typeof s)return s.split("-");if(void 0!==s)return s;let{rangeMin:l,rangeMax:c}=r;switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":{let e=oX(n,r,a,i,o),[s,u]="enterDelay"===t?[0,1e3]:"enterDuration"==t?[300,1e3]:t.startsWith("y")||t.startsWith("position")?[1,0]:"color"===t?[e[0],rV(e)]:"opacity"===t?[0,1]:"size"===t?[1,10]:[0,1];return[null!=l?l:s,null!=c?c:u]}case"band":case"point":{let e="size"===t?5:0,n="size"===t?10:1;return[null!=l?l:e,null!=c?c:n]}case"ordinal":return oX(n,r,a,i,o);case"sequential":return;case"constant":return[n[0][0]];default:return[]}}(s,e,t,n,c,a,i),expectedDomain:l,guide:o,name:e,type:s})}(c,u,o,s,l,n)),{uid:Symbol("scale"),key:r});e.forEach(e=>e.scale=p)}return c})}function sz(e,t,n,r){let a=e.theme,i="string"==typeof t&&a[t]||{},o=r((0,rv.Z)(i,Object.assign({type:t},n)));return o}function s$(e,t,n){var r;let[a]=oP("mark",n),[i]=oP("theme",n),[o]=oP("labelTransform",n),{key:s,frame:l=!1,theme:c,clip:u,style:p={},labelTransform:d=[]}=t,f=i(sK(c)),g=Array.from(e.values()),m=function(e,t){var n;let{components:r=[]}=t,a=["scale","encode","axis","legend","data","transform"],i=Array.from(new Set(e.flatMap(e=>e.channels.map(e=>e.scale)))),o=new Map(i.map(e=>[e.name,e]));for(let e of r){let t=function(e){let{channels:t=[],type:n,scale:r={}}=e,a=["shape","color","opacity","size"];return 0!==t.length?t:"axisX"===n?["x"]:"axisY"===n?["y"]:"legends"===n?Object.keys(r).filter(e=>a.includes(e)):[]}(e);for(let r of t){let t=o.get(r),s=(null===(n=e.scale)||void 0===n?void 0:n[r])||{},{independent:l=!1}=s;if(t&&!l){let{guide:n}=t,r="boolean"==typeof n?{}:n;t.guide=(0,rv.Z)({},r,e),Object.assign(t,s)}else{let t=Object.assign(Object.assign({},s),{expectedDomain:s.domain,name:r,guide:ap(e,a)});i.push(t)}}}return i}(g,t),h=(function(e,t,n){let{coordinates:r=[],title:a}=t,[,i]=oP("component",n),o=e.filter(({guide:e})=>null!==e),s=[],l=function(e,t,n){let[,r]=oP("component",n),{coordinates:a}=e;function i(e,t,n,i){let o=function(e,t,n=[]){return"x"===e?oH(n)?`${t}Y`:`${t}X`:"y"===e?oH(n)?`${t}X`:`${t}Y`:null}(t,e,a);if(!i||!o)return;let{props:s}=r(o),{defaultPosition:l,defaultSize:c,defaultOrder:u,defaultCrossPadding:[p]}=s;return Object.assign(Object.assign({position:l,defaultSize:c,order:u,type:o,crossPadding:p},i),{scales:[n]})}return t.filter(e=>e.slider||e.scrollbar).flatMap(e=>{let{slider:t,scrollbar:n,name:r}=e;return[i("slider",r,e,t),i("scrollbar",r,e,n)]}).filter(e=>!!e)}(t,e,n);if(s.push(...l),a){let{props:e}=i("title"),{defaultPosition:t,defaultOrientation:n,defaultOrder:r,defaultSize:o,defaultCrossPadding:l}=e,c="string"==typeof a?{title:a}:a;s.push(Object.assign({type:"title",position:t,orientation:n,order:r,crossPadding:l[0],defaultSize:o},c))}let c=function(e,t){let n=e.filter(e=>(function(e){if(!e||!e.type)return!1;if("function"==typeof e.type)return!0;let{type:t,domain:n,range:r,interpolator:a}=e,i=n&&n.length>0,o=r&&r.length>0;return!!(["linear","sqrt","log","time","pow","threshold","quantize","quantile","ordinal","band","point"].includes(t)&&i&&o||["sequential"].includes(t)&&i&&(o||a)||["constant","identity"].includes(t)&&o)})(e));return[...function(e,t){let n=["shape","size","color","opacity"],r=(e,t)=>"constant"===e&&"size"===t,a=e.filter(({type:e,name:t})=>"string"==typeof e&&n.includes(t)&&!r(e,t)),i=a.filter(({type:e})=>"constant"===e),o=a.filter(({type:e})=>"constant"!==e),s=(0,rA.Xx)(o,e=>e.field?e.field:Symbol("independent")).map(([e,t])=>[e,[...t,...i]]).filter(([,e])=>e.some(e=>"constant"!==e.type)),l=new Map(s);if(0===l.size)return[];let c=e=>e.sort(([e],[t])=>e.localeCompare(t)),u=Array.from(l).map(([,e])=>{let t=(function(e){if(1===e.length)return[e];let t=[];for(let n=1;n<=e.length;n++)t.push(...function e(t,n=t.length){if(1===n)return t.map(e=>[e]);let r=[];for(let a=0;a{r.push([t[a],...e])})}return r}(e,n));return t})(e).sort((e,t)=>t.length-e.length),n=t.map(e=>({combination:e,option:e.map(e=>[e.name,function(e){let{type:t}=e;return"string"!=typeof t?null:t in o4?"continuous":t in o6?"discrete":t in o5?"distribution":t in o9?"constant":null}(e)])}));for(let{option:e,combination:t}of n)if(!e.every(e=>"constant"===e[1])&&e.every(e=>"discrete"===e[1]||"constant"===e[1]))return["legendCategory",t];for(let[e,t]of r5)for(let{option:r,combination:a}of n)if(t.some(e=>(0,rK.Z)(c(e),c(r))))return[e,a];return null}).filter(rL);return u}(n,0),...n.map(e=>{let{name:n}=e;if(oj(t,"helix").length>0||oG(t)||oH(t)&&(oU(t)||oz(t)))return null;if(n.startsWith("x"))return oU(t)?["axisArc",[e]]:oz(t)?["axisLinear",[e]]:[oH(t)?"axisY":"axisX",[e]];if(n.startsWith("y"))return oU(t)?["axisLinear",[e]]:oz(t)?["axisArc",[e]]:[oH(t)?"axisX":"axisY",[e]];if(n.startsWith("z"))return["axisZ",[e]];if(n.startsWith("position")){if(oj(t,"radar").length>0)return["axisRadar",[e]];if(!oU(t))return["axisY",[e]]}return null}).filter(rL)]}(o,r);return c.forEach(([e,t])=>{let{props:n}=i(e),{defaultPosition:a,defaultPlane:l="xy",defaultOrientation:c,defaultSize:u,defaultOrder:p,defaultLength:d,defaultPadding:f=[0,0],defaultCrossPadding:g=[0,0]}=n,m=(0,rv.Z)({},...t),{guide:h,field:b}=m,y=Array.isArray(h)?h:[h];for(let n of y){let[i,m]=function(e,t,n,r,a,i,o){let[s]=st(o),l=[r.position||t,null!=s?s:n];return"string"==typeof e&&e.startsWith("axis")?function(e,t,n,r,a){let{name:i}=n[0];if("axisRadar"===e){let e=r.filter(e=>e.name.startsWith("position")),t=function(e){let t=/position(\d*)/g.exec(e);return t?+t[1]:null}(i);if(i===e.slice(-1)[0].name||null===t)return[null,null];let[n,o]=st(a),s=(o-n)/(e.length-1)*t+n;return["center",s]}if("axisY"===e&&oj(a,"parallel").length>0)return oH(a)?["center","horizontal"]:["center","vertical"];if("axisLinear"===e){let[e]=st(a);return["center",e]}return"axisArc"===e?"inner"===t[0]?["inner",null]:["outer",null]:oU(a)||oz(a)?["center",null]:"axisX"===e&&oj(a,"reflect").length>0||"axisX"===e&&oj(a,"reflectY").length>0?["top",null]:t}(e,l,a,i,o):"string"==typeof e&&e.startsWith("legend")&&oU(o)&&"center"===r.position?["center","vertical"]:l}(e,a,c,n,t,o,r);if(!i&&!m)continue;let h="left"===i||"right"===i,y=h?f[1]:f[0],E=h?g[1]:g[0],{size:T,order:S=p,length:v=d,padding:A=y,crossPadding:O=E}=n;s.push(Object.assign(Object.assign({title:b},n),{defaultSize:u,length:v,position:i,plane:l,orientation:m,padding:A,order:S,crossPadding:O,size:T,type:e,scales:t}))}}),s})(function(e,t,n){var r;for(let[t]of n.entries())if("cell"===t.type)return e.filter(e=>"shape"!==e.name);if(1!==t.length||e.some(e=>"shape"===e.name))return e;let{defaultShape:a}=t[0];if(!["point","line","rect","hollow"].includes(a))return e;let i=(null===(r=e.find(e=>"color"===e.name))||void 0===r?void 0:r.field)||null;return[...e,{field:i,name:"shape",type:"constant",domain:[],range:[{point:"point",line:"hyphen",rect:"square",hollow:"hollow"}[a]]}]}(Array.from(m),g,e),t,n).map(e=>{let t=(0,rv.Z)(e,e.style);return delete t.style,t}),b=function(e,t,n,r){var a,i;let{width:o,height:s,depth:l,x:c=0,y:u=0,z:p=0,inset:d=null!==(a=n.inset)&&void 0!==a?a:0,insetLeft:f=d,insetTop:g=d,insetBottom:m=d,insetRight:h=d,margin:b=null!==(i=n.margin)&&void 0!==i?i:0,marginLeft:y=b,marginBottom:E=b,marginTop:T=b,marginRight:S=b,padding:v=n.padding,paddingBottom:A=v,paddingLeft:O=v,paddingRight:_=v,paddingTop:k=v}=function(e,t,n,r){let{coordinates:a}=t;if(!oU(a)&&!oz(a))return t;let i=e.filter(e=>"string"==typeof e.type&&e.type.startsWith("axis"));if(0===i.length)return t;let o=i.map(e=>{let t="axisArc"===e.type?"arc":"linear";return sf(e,t,n)}),s=(0,rQ.Z)(o,e=>{var t;return null!==(t=e.labelSpacing)&&void 0!==t?t:0}),l=i.flatMap((e,t)=>{let n=o[t],a=su(e,r),i=sp(n,a);return i}).filter(rL),c=(0,rQ.Z)(l,e=>e.height)+s,u=i.flatMap((e,t)=>{let n=o[t];return sd(n)}).filter(e=>null!==e),p=0===u.length?0:(0,rQ.Z)(u,e=>e.height),{inset:d=c,insetLeft:f=d,insetBottom:g=d,insetTop:m=d+p,insetRight:h=d}=t;return Object.assign(Object.assign({},t),{insetLeft:f,insetBottom:g,insetTop:m,insetRight:h})}(e,t,n,r),I=1/4,C=(e,n,r,a,i)=>{let{marks:o}=t;if(0===o.length||e-a-i-e*I>0)return[a,i];let s=e*(1-I);return["auto"===n?s*a/(a+i):a,"auto"===r?s*i/(a+i):i]},N=e=>"auto"===e?20:null!=e?e:20,w=N(k),x=N(A),R=sy(e,s-w-x,[w+T,x+E],["left","right"],t,n,r),{paddingLeft:L,paddingRight:D}=R,P=o-y-S,[M,F]=C(P,O,_,L,D),B=P-M-F,j=sy(e,B,[M+y,F+S],["bottom","top"],t,n,r),{paddingTop:U,paddingBottom:H}=j,G=s-E-T,[z,$]=C(G,A,k,H,U),W=G-z-$;return{width:o,height:s,depth:l,insetLeft:f,insetTop:g,insetBottom:m,insetRight:h,innerWidth:B,innerHeight:W,paddingLeft:M,paddingRight:F,paddingTop:$,paddingBottom:z,marginLeft:y,marginBottom:E,marginTop:T,marginRight:S,x:c,y:u,z:p}}(h,t,f,n),y=function(e,t,n){let[r]=oP("coordinate",n),{innerHeight:a,innerWidth:i,insetLeft:o,insetTop:s,insetRight:l,insetBottom:c}=e,{coordinates:u=[]}=t,p=u.find(e=>"cartesian"===e.type||"cartesian3D"===e.type)?u:[...u,{type:"cartesian"}],d="cartesian3D"===p[0].type,f=Object.assign(Object.assign({},e),{x:o,y:s,width:i-o-l,height:a-c-s,transformations:p.flatMap(r)}),g=d?new r6.Coordinate3D(f):new r6.Coordinate(f);return g}(b,t,n),E=l?(0,rv.Z)({mainLineWidth:1,mainStroke:"#000"},p):p;!function(e,t,n){let r=(0,rA.ZP)(e,e=>`${e.plane||"xy"}-${e.position}`),{paddingLeft:a,paddingRight:i,paddingTop:o,paddingBottom:s,marginLeft:l,marginTop:c,marginBottom:u,marginRight:p,innerHeight:d,innerWidth:f,insetBottom:g,insetLeft:m,insetRight:h,insetTop:b,height:y,width:E,depth:T}=n,S={xy:sE({width:E,height:y,paddingLeft:a,paddingRight:i,paddingTop:o,paddingBottom:s,marginLeft:l,marginTop:c,marginBottom:u,marginRight:p,innerHeight:d,innerWidth:f,insetBottom:g,insetLeft:m,insetRight:h,insetTop:b}),yz:sE({width:T,height:y,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:T,innerHeight:y,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0}),xz:sE({width:E,height:T,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:E,innerHeight:T,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0})};for(let[e,n]of r.entries()){let[r,a]=e.split("-"),i=S[r][a],[o,s]=rq(n,e=>"string"==typeof e.type&&!!("center"===a||e.type.startsWith("axis")&&["inner","outer"].includes(a)));o.length&&function(e,t,n,r){let[a,i]=rq(e,e=>!!("string"==typeof e.type&&e.type.startsWith("axis")));(function(e,t,n,r){if("center"===r){if(at(t)&&r8(t))(function(e,t,n,r){let[a,i,o,s]=n;for(let t of e)t.bbox={x:a,y:i,width:o,height:s},t.radar={index:e.indexOf(t),count:e.length}})(e,0,n,0);else{var a;r8(t)?function(e,t,n){let[r,a,i,o]=n;for(let t of e)t.bbox={x:r,y:a,width:i,height:o}}(e,0,n):at(t)&&("horizontal"===(a=e[0].orientation)?function(e,t,n){let[r,a,i]=n,o=Array(e.length).fill(0),s=t.map(o),l=s.filter((e,t)=>t%2==1).map(e=>e+a);for(let t=0;tt%2==0).map(e=>e+r);for(let t=0;tnull==c?void 0:c(e.order,t.order));let T=e=>"title"===e||"group"===e||e.startsWith("legend"),S=(e,t,n)=>void 0===n?t:T(e)?n:t,v=(e,t,n)=>void 0===n?t:T(e)?n:t;for(let t=0,n=l?f+b:f;t"group"===e.type);for(let e of A){let{bbox:t,children:n}=e,r=t[y],a=r/n.length,i=n.reduce((e,t)=>{var n;let r=null===(n=t.layout)||void 0===n?void 0:n.justifyContent;return r||e},"flex-start"),o=n.map((e,t)=>{let{length:r=a,padding:i=0}=e;return r+(t===n.length-1?0:i)}),s=(0,rX.Z)(o),l=r-s,c="flex-start"===i?0:"center"===i?l/2:l;for(let e=0,r=t[g]+c;e"axisX"===e),n=e.find(({type:e})=>"axisY"===e),r=e.find(({type:e})=>"axisZ"===e);t&&n&&r&&(t.plane="xy",n.plane="xy",r.plane="yz",r.origin=[t.bbox.x,t.bbox.y,0],r.eulerAngles=[0,-90,0],r.bbox.x=t.bbox.x,r.bbox.y=t.bbox.y,e.push(Object.assign(Object.assign({},t),{plane:"xz",showLabel:!1,showTitle:!1,origin:[t.bbox.x,t.bbox.y,0],eulerAngles:[-90,0,0]})),e.push(Object.assign(Object.assign({},n),{plane:"yz",showLabel:!1,showTitle:!1,origin:[n.bbox.x+n.bbox.width,n.bbox.y,0],eulerAngles:[0,-90,0]})),e.push(Object.assign(Object.assign({},r),{plane:"xz",actualPosition:"left",showLabel:!1,showTitle:!1,eulerAngles:[90,-90,0]})))}(h);let T=new Map(Array.from(e.values()).flatMap(e=>{let{channels:t}=e;return t.map(({scale:e})=>[e.uid,oY(e,n)])}));!function(e,t){let n=Array.from(e.values()).flatMap(e=>e.channels),r=(0,rA.Q3)(n,e=>e.map(e=>t.get(e.scale.uid)),e=>e.name).filter(([,e])=>e.some(e=>"function"==typeof e.getOptions().groupTransform)&&e.every(e=>e.getTicks)).map(e=>e[1]);r.forEach(e=>{let t=e.map(e=>e.getOptions().groupTransform)[0];t(e)})}(e,T);let S={};for(let e of h){let{scales:t=[]}=e,a=[];for(let e of t){let{name:t,uid:i}=e,o=null!==(r=T.get(i))&&void 0!==r?r:oY(e,n);a.push(o),"y"===t&&o.update(Object.assign(Object.assign({},o.getOptions()),{xScale:S.x})),oZ(S,{[t]:o})}e.scaleInstances=a}let v=[];for(let[t,n]of e.entries()){let{children:e,dataDomain:r,modifier:i,key:o}=t,{index:l,channels:c,tooltip:u}=n,p=Object.fromEntries(c.map(({name:e,scale:t})=>[e,t])),d=rZ(p,({uid:e})=>T.get(e));oZ(S,d);let f=function(e,t){let n={};for(let r of e){let{values:e,name:a}=r,i=t[a];for(let t of e){let{name:e,value:r}=t;n[e]=r.map(e=>i.map(e))}}return n}(c,d),g=a(t),[m,h,E]=function([e,t,n]){if(n)return[e,t,n];let r=[],a=[];for(let n=0;nrL(e)&&rL(t))&&(r.push(i),a.push(o))}return[r,a]}(g(l,d,f,y)),A=r||m.length,O=i?i(h,A,b):[],_=e=>{var t,n;return null===(n=null===(t=u.title)||void 0===t?void 0:t[e])||void 0===n?void 0:n.value},k=e=>u.items.map(t=>t[e]),I=m.map((e,t)=>{let n=Object.assign({points:h[t],transform:O[t],index:e,markKey:o,viewKey:s},u&&{title:_(e),items:k(e)});for(let[r,a]of Object.entries(f))n[r]=a[e],E&&(n[`series${r$(r)}`]=E[t].map(e=>a[e]));return E&&(n.seriesIndex=E[t]),E&&u&&(n.seriesItems=E[t].map(e=>k(e)),n.seriesTitle=E[t].map(e=>_(e))),n});n.data=I,n.index=m;let C=null==e?void 0:e(I,d,b);v.push(...C||[])}let A={layout:b,theme:f,coordinate:y,markState:e,key:s,clip:u,scale:S,style:E,components:h,labelTransform:rN(d.map(o))};return[A,v]}function sW(e,t,n,r){return sB(this,void 0,void 0,function*(){let{library:a}=r,{components:i,theme:o,layout:s,markState:l,coordinate:c,key:u,style:p,clip:d,scale:f}=e,{x:g,y:m,width:h,height:b}=s,y=sj(s,["x","y","width","height"]),E=["view","plot","main","content"],T=E.map((e,t)=>t),S=E.map(e=>rP(Object.assign({},o.view,p),e)),v=["a","margin","padding","inset"].map(e=>rD(y,e)),A=e=>e.style("x",e=>C[e].x).style("y",e=>C[e].y).style("width",e=>C[e].width).style("height",e=>C[e].height).each(function(e,t,n){!function(e,t){for(let[n,r]of Object.entries(t))e.style(n,r)}(rU(n),S[e])}),O=0,_=0,k=h,I=b,C=T.map(e=>{let t=v[e],{left:n=0,top:r=0,bottom:a=0,right:i=0}=t;return{x:O+=n,y:_+=r,width:k-=n+i,height:I-=r+a}});t.selectAll(s2(i2)).data(T.filter(e=>rL(S[e])),e=>E[e]).join(e=>e.append("rect").attr("className",i2).style("zIndex",-2).call(A),e=>e.call(A),e=>e.remove());let N=function(e){let t=-1/0,n=1/0;for(let[r,a]of e){let{animate:e={}}=r,{data:i}=a,{enter:o={},update:s={},exit:l={}}=e,{type:c,duration:u=300,delay:p=0}=s,{type:d,duration:f=300,delay:g=0}=o,{type:m,duration:h=300,delay:b=0}=l;for(let e of i){let{updateType:r=c,updateDuration:a=u,updateDelay:i=p,enterType:o=d,enterDuration:s=f,enterDelay:l=g,exitDuration:y=h,exitDelay:E=b,exitType:T=m}=e;(void 0===r||r)&&(t=Math.max(t,a+i),n=Math.min(n,i)),(void 0===T||T)&&(t=Math.max(t,y+E),n=Math.min(n,E)),(void 0===o||o)&&(t=Math.max(t,s+l),n=Math.min(n,l))}}return t===-1/0?null:[n,t-n]}(l),w=!!N&&{duration:N[1]};for(let[,e]of(0,rA.Xx)(i,e=>`${e.type}-${e.position}`))e.forEach((e,t)=>e.index=t);let x=t.selectAll(s2(i0)).data(i,e=>`${e.type}-${e.position}-${e.index}`).join(e=>e.append("g").style("zIndex",({zIndex:e})=>e||-1).attr("className",i0).append(e=>o7((0,rv.Z)({animate:w,scale:f},e),c,o,a,l)),e=>e.transition(function(e,t,n){let{preserve:r=!1}=e;if(r)return;let i=o7((0,rv.Z)({animate:w,scale:f},e),c,o,a,l),{attributes:s}=i,[u]=n.childNodes;return u.update(s,!1)})).transitions();n.push(...x.flat().filter(rL));let R=t.selectAll(s2(iJ)).data([s],()=>u).join(e=>e.append("rect").style("zIndex",0).style("fill","transparent").attr("className",iJ).call(sJ).call(s1,Array.from(l.keys())).call(s3,d),e=>e.call(s1,Array.from(l.keys())).call(e=>N?function(e,t){let[n,r]=t;e.transition(function(e,t,a){let{transform:i,width:o,height:s}=a.style,{paddingLeft:l,paddingTop:c,innerWidth:u,innerHeight:p,marginLeft:d,marginTop:f}=e,g=[{transform:i,width:o,height:s},{transform:`translate(${l+d}, ${c+f})`,width:u,height:p}];return a.animate(g,{delay:n,duration:r,fill:"both"})})}(e,N):sJ(e)).call(s3,d)).transitions();for(let[i,o]of(n.push(...R.flat()),l.entries())){let{data:s}=o,{key:l,class:c,type:u}=i,p=t.select(`#${l}`),d=function(e,t,n,r){let{library:a}=r,[i]=oP("shape",a),{data:o,encode:s}=e,{defaultShape:l,data:c,shape:u}=t,p=rZ(s,e=>e.value),d=c.map(e=>e.points),{theme:f,coordinate:g}=n,{type:m,style:h={}}=e,b=Object.assign(Object.assign({},r),{document:oM(r),coordinate:g,theme:f});return t=>{let{shape:n=l}=h,{shape:r=n,points:a,seriesIndex:s,index:c}=t,g=sj(t,["shape","points","seriesIndex","index"]),y=Object.assign(Object.assign({},g),{index:c}),E=s?s.map(e=>o[e]):o[c],T=s||c,S=rZ(h,e=>sZ(e,E,T,o,{channel:p})),v=u[r]?u[r](S,b):i(Object.assign(Object.assign({},S),{type:s0(e,r)}),b),A=sY(f,m,r,l);return v(a,y,A,d)}}(i,o,e,r),f=sV("enter",i,o,e,a),g=sV("update",i,o,e,a),m=sV("exit",i,o,e,a),h=function(e,t,n,r){let a=e.node().parentElement;return a.findAll(e=>void 0!==e.style.facet&&e.style.facet===n&&e!==t.node()).flatMap(e=>e.getElementsByClassName(r))}(t,p,c,"element"),b=p.selectAll(s2(iX)).selectFacetAll(h).data(s,e=>e.key,e=>e.groupKey).join(e=>e.append(d).attr("className",iX).attr("markType",u).transition(function(e,t,n){return f(e,[n])}),e=>e.call(e=>{let t=e.parent(),n=function(e){let t=new Map;return n=>{if(t.has(n))return t.get(n);let r=e(n);return t.set(n,r),r}}(e=>{let[t,n]=e.getBounds().min;return[t,n]});e.transition(function(e,r,a){!function(e,t,n){if(!e.__facet__)return;let r=e.parentNode.parentNode,a=t.parentNode,[i,o]=n(r),[s,l]=n(a),c=`translate(${i-s}, ${o-l})`;!function(e,t){let{transform:n}=e.style,r="none"===n||void 0===n?"":n;e.style.transform=`${r} ${t}`.trimStart()}(e,c),t.append(e)}(a,t,n);let i=d(e,r),o=g(e,[a],[i]);return null!==o||(a.nodeName===i.nodeName&&"g"!==i.nodeName?rR(a,i):(a.parentNode.replaceChild(i,a),i.className=iX,i.markType=u,i.__data__=a.__data__)),o}).attr("markType",u).attr("className",iX)}),e=>e.each(function(e,t,n){n.__removed__=!0}).transition(function(e,t,n){return m(e,[n])}).remove(),e=>e.append(d).attr("className",iX).attr("markType",u).transition(function(e,t,n){let{__fromElements__:r}=n,a=g(e,r,[n]),i=new rH(r,null,n.parentNode);return i.transition(a).remove(),a}),e=>e.transition(function(e,t,n){let r=new rH([],n.__toData__,n.parentNode),a=r.append(d).attr("className",iX).attr("markType",u).nodes();return g(e,[n],a)}).remove()).transitions();n.push(...b.flat())}!function(e,t,n,r,a){let[i]=oP("labelTransform",r),{markState:o,labelTransform:s}=e,l=t.select(s2(iK)).node(),c=new Map,u=new Map,p=Array.from(o.entries()).flatMap(([n,i])=>{let{labels:o=[],key:s}=n,l=function(e,t,n,r,a){let[i]=oP("shape",r),{data:o,encode:s}=e,{data:l,defaultLabelShape:c}=t,u=l.map(e=>e.points),p=rZ(s,e=>e.value),{theme:d,coordinate:f}=n,g=Object.assign(Object.assign({},a),{document:oM(a),theme:d,coordinate:f});return e=>{let{index:t,points:n}=e,r=o[t],{formatter:a=e=>`${e}`,transform:s,style:l,render:f}=e,m=sj(e,["formatter","transform","style","render"]),h=rZ(Object.assign(Object.assign({},m),l),e=>sZ(e,r,t,o,{channel:p})),{shape:b=c,text:y}=h,E=sj(h,["shape","text"]),T="string"==typeof a?(0,rW.WU)(a):a,S=Object.assign(Object.assign({},E),{text:T(y,r,t,o),datum:r}),v=Object.assign({type:`label.${b}`,render:f},E),A=i(v,g),O=sY(d,"label",b,"label");return A(n,S,O,u)}}(n,i,e,r,a),p=t.select(`#${s}`).selectAll(s2(iX)).nodes().filter(e=>!e.__removed__);return o.flatMap((e,t)=>{let{transform:n=[]}=e,r=sj(e,["transform"]);return p.flatMap(n=>{let a=function(e,t,n){let{seriesIndex:r,seriesKey:a,points:i,key:o,index:s}=n.__data__,l=function(e){let t=e.cloneNode(),n=e.getAnimations();t.style.visibility="hidden",n.forEach(e=>{let n=e.effect.getKeyframes();t.attr(n[n.length-1])}),e.parentNode.appendChild(t);let r=t.getLocalBounds();t.destroy();let{min:a,max:i}=r;return[a,i]}(n);if(!r)return[Object.assign(Object.assign({},e),{key:`${o}-${t}`,bounds:l,index:s,points:i,dependentElement:n})];let c=function(e){let{selector:t}=e;if(!t)return null;if("function"==typeof t)return t;if("first"===t)return e=>[e[0]];if("last"===t)return e=>[e[e.length-1]];throw Error(`Unknown selector: ${t}`)}(e),u=r.map((r,o)=>Object.assign(Object.assign({},e),{key:`${a[o]}-${t}`,bounds:[i[o]],index:r,points:i,dependentElement:n}));return c?c(u):u}(r,t,n);return a.forEach(t=>{c.set(t,l),u.set(t,e)}),a})})}),d=rU(l).selectAll(s2(i1)).data(p,e=>e.key).join(e=>e.append(e=>c.get(e)(e)).attr("className",i1),e=>e.each(function(e,t,n){let r=c.get(e),a=r(e);rR(n,a)}),e=>e.remove()).nodes(),f=(0,rA.ZP)(d,e=>u.get(e.__data__)),{coordinate:g}=e,m={canvas:a.canvas,coordinate:g};for(let[e,t]of f){let{transform:n=[]}=e,r=rN(n.map(i));r(t,m)}s&&s(d,m)}(e,t,0,a,r)})}function sZ(e,t,n,r,a){return"function"==typeof e?e(t,n,r,a):"string"!=typeof e?e:rB(t)&&void 0!==t[e]?t[e]:e}function sY(e,t,n,r){if("string"!=typeof t)return;let{color:a}=e,i=e[t]||{},o=i[n]||i[r];return Object.assign({color:a},o)}function sV(e,t,n,r,a){var i,o;let[,s]=oP("shape",a),[l]=oP("animation",a),{defaultShape:c,shape:u}=n,{theme:p,coordinate:d}=r,f=r$(e),g=`default${f}Animation`,{[g]:m}=(null===(i=u[c])||void 0===i?void 0:i.props)||s(s0(t,c)).props,{[e]:h={}}=p,b=(null===(o=t.animate)||void 0===o?void 0:o[e])||{},y={coordinate:d};return(t,n,r)=>{let{[`${e}Type`]:a,[`${e}Delay`]:i,[`${e}Duration`]:o,[`${e}Easing`]:s}=t,c=Object.assign({type:a||m},b);if(!c.type)return null;let u=l(c,y),p=u(n,r,(0,rv.Z)(h,{delay:i,duration:o,easing:s}));return Array.isArray(p)?p:[p]}}function sq(e){return e.finished.then(()=>{e.cancel()}),e}function sK(e={}){if("string"==typeof e)return{type:e};let{type:t="light"}=e,n=sj(e,["type"]);return Object.assign(Object.assign({},n),{type:t})}function sX(e){let{interaction:t={}}=e;return Object.entries((0,rv.Z)({event:!0,tooltip:!0,sliderFilter:!0,legendFilter:!0,scrollbarFilter:!0},t)).reverse()}function sQ(e,t){return sB(this,void 0,void 0,function*(){let{data:n}=e,r=sj(e,["data"]);if(void 0==n)return e;let[,{data:a}]=yield sk([],{data:n},t);return Object.assign({data:a},r)})}function sJ(e){e.style("transform",e=>`translate(${e.paddingLeft+e.marginLeft}, ${e.paddingTop+e.marginTop})`).style("width",e=>e.innerWidth).style("height",e=>e.innerHeight)}function s0(e,t){let{type:n}=e;return"string"==typeof t?`${n}.${t}`:t}function s1(e,t){let n=e=>void 0!==e.class?`${e.class}`:"",r=e.nodes();if(0===r.length)return;e.selectAll(s2(iq)).data(t,e=>e.key).join(e=>e.append("g").attr("className",iq).attr("id",e=>e.key).style("facet",n).style("fill","transparent").style("zIndex",e=>{var t;return null!==(t=e.zIndex)&&void 0!==t?t:0}),e=>e.style("facet",n).style("fill","transparent").style("zIndex",e=>{var t;return null!==(t=e.zIndex)&&void 0!==t?t:0}),e=>e.remove());let a=e.select(s2(iK)).node();a||e.append("g").attr("className",iK).style("zIndex",0)}function s2(...e){return e.map(e=>`.${e}`).join("")}function s3(e,t){e.node()&&e.style("clipPath",e=>{if(!t)return null;let{paddingTop:n,paddingLeft:r,marginLeft:a,marginTop:i,innerWidth:o,innerHeight:s}=e;return new nX.UL({style:{x:r+a,y:n+i,width:o,height:s}})})}function s4(e,t={},n=!1){let{canvas:r,emitter:a}=t;r&&(function(e){let t=e.getRoot().querySelectorAll(`.${iQ}`);null==t||t.forEach(e=>{let{nameInteraction:t=new Map}=e;(null==t?void 0:t.size)>0&&Array.from(null==t?void 0:t.values()).forEach(e=>{null==e||e.destroy()})})}(r),n?r.destroy():r.destroyChildren()),a.off()}let s5=e=>e?parseInt(e):0;function s6(e,t){let n=[e];for(;n.length;){let e=n.shift();t&&t(e);let r=e.children||[];for(let e of r)n.push(e)}}class s9{constructor(e={},t){this.parentNode=null,this.children=[],this.index=0,this.type=t,this.value=e}map(e=e=>e){let t=e(this.value);return this.value=t,this}attr(e,t){return 1==arguments.length?this.value[e]:this.map(n=>(n[e]=t,n))}append(e){let t=new e({});return t.children=[],this.push(t),t}push(e){return e.parentNode=this,e.index=this.children.length,this.children.push(e),this}remove(){let e=this.parentNode;if(e){let{children:t}=e,n=t.findIndex(e=>e===this);t.splice(n,1)}return this}getNodeByKey(e){let t=null;return s6(this,n=>{e===n.attr("key")&&(t=n)}),t}getNodesByType(e){let t=[];return s6(this,n=>{e===n.type&&t.push(n)}),t}getNodeByType(e){let t=null;return s6(this,n=>{t||e!==n.type||(t=n)}),t}call(e,...t){return e(this.map(),...t),this}getRoot(){let e=this;for(;e&&e.parentNode;)e=e.parentNode;return e}}var s8=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let s7=["width","height","depth","padding","paddingLeft","paddingRight","paddingBottom","paddingTop","inset","insetLeft","insetRight","insetTop","insetBottom","margin","marginLeft","marginRight","marginTop","marginBottom","autoFit","theme","title","interaction"],le="__remove__",lt="__callback__";function ln(e){return Object.assign(Object.assign({},e.value),{type:e.type})}function lr(e,t){let{width:n,height:r,autoFit:a,depth:i=0}=e,o=640,s=480;if(a){let{width:e,height:n}=function(e){let t=getComputedStyle(e),n=e.clientWidth||s5(t.width),r=e.clientHeight||s5(t.height),a=s5(t.paddingLeft)+s5(t.paddingRight),i=s5(t.paddingTop)+s5(t.paddingBottom);return{width:n-a,height:r-i}}(t);o=e||o,s=n||s}return o=n||o,s=r||s,{width:Math.max((0,aL.Z)(o)?o:1,1),height:Math.max((0,aL.Z)(s)?s:1,1),depth:i}}function la(e){return t=>{for(let[n,r]of Object.entries(e)){let{type:e}=r;"value"===e?function(e,t,{key:n=t}){e.prototype[t]=function(e){return 0==arguments.length?this.attr(n):this.attr(n,e)}}(t,n,r):"array"===e?function(e,t,{key:n=t}){e.prototype[t]=function(e){if(0==arguments.length)return this.attr(n);if(Array.isArray(e))return this.attr(n,e);let t=[...this.attr(n)||[],e];return this.attr(n,t)}}(t,n,r):"object"===e?function(e,t,{key:n=t}){e.prototype[t]=function(e,t){if(0==arguments.length)return this.attr(n);if(1==arguments.length&&"string"!=typeof e)return this.attr(n,e);let r=this.attr(n)||{};return r[e]=1==arguments.length||t,this.attr(n,r)}}(t,n,r):"node"===e?function(e,t,{ctor:n}){e.prototype[t]=function(e){let r=this.append(n);return"mark"===t&&(r.type=e),r}}(t,n,r):"container"===e?function(e,t,{ctor:n}){e.prototype[t]=function(){return this.type=null,this.append(n)}}(t,n,r):"mix"===e&&function(e,t,n){e.prototype[t]=function(e){if(0==arguments.length)return this.attr(t);if(Array.isArray(e))return this.attr(t,{items:e});if(rB(e)&&(void 0!==e.title||void 0!==e.items)||null===e||!1===e)return this.attr(t,e);let n=this.attr(t)||{},{items:r=[]}=n;return r.push(e),n.items=r,this.attr(t,n)}}(t,n,0)}return t}}function li(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,{type:"node",ctor:t}]))}let lo={encode:{type:"object"},scale:{type:"object"},data:{type:"value"},transform:{type:"array"},style:{type:"object"},animate:{type:"object"},coordinate:{type:"object"},interaction:{type:"object"},label:{type:"array",key:"labels"},axis:{type:"object"},legend:{type:"object"},slider:{type:"object"},scrollbar:{type:"object"},state:{type:"object"},layout:{type:"object"},theme:{type:"object"},title:{type:"value"}},ls=Object.assign(Object.assign({},lo),{tooltip:{type:"mix"},viewStyle:{type:"object"}}),ll=Object.assign(Object.assign({},lo),{labelTransform:{type:"array"}}),lc=class extends s9{changeData(e){var t;let n=this.getRoot();if(n)return this.attr("data",e),(null===(t=this.children)||void 0===t?void 0:t.length)&&this.children.forEach(t=>{t.attr("data",e)}),null==n?void 0:n.render()}getView(){let e=this.getRoot(),{views:t}=e.getContext();if(null==t?void 0:t.length)return t.find(e=>e.key===this._key)}getScale(){var e;return null===(e=this.getView())||void 0===e?void 0:e.scale}getScaleByChannel(e){let t=this.getScale();if(t)return t[e]}getCoordinate(){var e;return null===(e=this.getView())||void 0===e?void 0:e.coordinate}getTheme(){var e;return null===(e=this.getView())||void 0===e?void 0:e.theme}getGroup(){let e=this._key;if(!e)return;let t=this.getRoot(),n=t.getContext().canvas.getRoot();return n.getElementById(e)}show(){let e=this.getGroup();e&&(e.isVisible()||oo(e))}hide(){let e=this.getGroup();e&&e.isVisible()&&oi(e)}};lc=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}([la(ll)],lc);let lu=class extends s9{changeData(e){let t=this.getRoot();if(t)return this.attr("data",e),null==t?void 0:t.render()}getMark(){var e;let t=null===(e=this.getRoot())||void 0===e?void 0:e.getView();if(!t)return;let{markState:n}=t,r=Array.from(n.keys()).find(e=>e.key===this.attr("key"));return n.get(r)}getScale(){var e;let t=null===(e=this.getRoot())||void 0===e?void 0:e.getView();if(t)return null==t?void 0:t.scale}getScaleByChannel(e){var t,n;let r=null===(t=this.getRoot())||void 0===t?void 0:t.getView();if(r)return null===(n=null==r?void 0:r.scale)||void 0===n?void 0:n[e]}getGroup(){let e=this.attr("key");if(!e)return;let t=this.getRoot(),n=t.getContext().canvas.getRoot();return n.getElementById(e)}};lu=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}([la(ls)],lu);var lp=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},ld=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},lf=Object.prototype.hasOwnProperty,lg=function(e,t){if(null===e||!(0,rI.Z)(e))return{};var n={};return ac(t,function(t){lf.call(e,t)&&(n[t]=e[t])}),n},lm=n(53032),lh=n(8080),lb=n(36849),ly=n(70569),lE=n(76714);function lT(e,t){for(var n in t)t.hasOwnProperty(n)&&"constructor"!==n&&void 0!==t[n]&&(e[n]=t[n])}let lS={field:"value",size:[1,1],round:!1,padding:0,sort:(e,t)=>t.value-e.value,as:["x","y"],ignoreParentValue:!0},lv="childNodeCount",lA="Invalid field: it must be a string!";var lO=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let l_="sunburst",lk="markType",lI="path",lC="ancestor-node",lN={id:l_,encode:{x:"x",y:"y",key:lI,color:lC,value:"value"},axis:{x:!1,y:!1},style:{[lk]:l_,stroke:"#fff",lineWidth:.5,fillOpacity:"fillOpacity",[lv]:lv,depth:"depth"},state:{active:{zIndex:2,stroke:"#000"},inactive:{zIndex:1,stroke:"#fff"}},legend:!1,interaction:{drillDown:!0},coordinate:{type:"polar",innerRadius:.2}},lw=e=>{let{encode:t,data:n=[],legend:r}=e,a=lO(e,["encode","data","legend"]),i=Object.assign(Object.assign({},a.coordinate),{innerRadius:Math.max((0,lm.Z)(a,["coordinate","innerRadius"],.2),1e-5)}),o=Object.assign(Object.assign({},lN.encode),t),{value:s}=o,l=function(e){let{data:t,encode:n}=e,{color:r,value:a}=n,i=function(e,t){var n,r,a;let i;n={},r=t,lS&&lT(n,lS),r&&lT(n,r),a&&lT(n,a),t=n;let o=t.as;if(!(0,rz.Z)(o)||2!==o.length)throw TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{i=function(e,t){let{field:n,fields:r}=e;if((0,lE.Z)(n))return n;if((0,rz.Z)(n))return console.warn(lA),n[0];if(console.warn("".concat(lA," will try to get fields instead.")),(0,lE.Z)(r))return r;if((0,rz.Z)(r)&&r.length)return r[0];if(t)return t;throw TypeError(lA)}(t)}catch(e){console.warn(e)}let s=(function(){var e=1,t=1,n=0,r=!1;function a(a){var i,o=a.height+1;return a.x0=a.y0=n,a.x1=e,a.y1=t/o,a.eachBefore((i=t,function(e){e.children&&(0,lb.Z)(e,e.x0,i*(e.depth+1)/o,e.x1,i*(e.depth+2)/o);var t=e.x0,r=e.y0,a=e.x1-n,s=e.y1-n;aaH(e.children)?t.ignoreParentValue?0:e[i]-au(e.children,(e,t)=>e+t[i],0):e[i]).sort(t.sort)),l=o[0],c=o[1];return s.each(e=>{var t,n;e[l]=[e.x0,e.x1,e.x1,e.x0],e[c]=[e.y1,e.y1,e.y0,e.y0],e.name=e.name||(null===(t=e.data)||void 0===t?void 0:t.name)||(null===(n=e.data)||void 0===n?void 0:n.label),e.data.name=e.name,["x0","x1","y0","y1"].forEach(t=>{-1===o.indexOf(t)&&delete e[t]})}),function(e){let t=[];if(e&&e.each){let n,r;e.each(e=>{var a,i;e.parent!==n?(n=e.parent,r=0):r+=1;let o=iV(((null===(a=e.ancestors)||void 0===a?void 0:a.call(e))||[]).map(e=>t.find(t=>t.name===e.name)||e),t=>{let{depth:n}=t;return n>0&&n{t.push(e)});return t}(s)}(t,{field:a,type:"hierarchy.".concat("partition"),as:["x","y"]}),o=[];return i.forEach(e=>{var t,n,i,s;if(0===e.depth)return null;let l=e.data.name,c=[l],u=Object.assign({},e);for(;u.depth>1;)l="".concat(null===(t=u.parent.data)||void 0===t?void 0:t.name," / ").concat(l),c.unshift(null===(n=u.parent.data)||void 0===n?void 0:n.name),u=u.parent;let p=Object.assign(Object.assign(Object.assign({},lg(e.data,[a])),{[lI]:l,[lC]:u.data.name}),e);r&&r!==lC&&(p[r]=e.data[r]||(null===(s=null===(i=e.parent)||void 0===i?void 0:i.data)||void 0===s?void 0:s[r])),o.push(p)}),o.map(e=>{let t=e.x.slice(0,2),n=[e.y[2],e.y[0]];return t[0]===t[1]&&(n[0]=n[1]=(e.y[2]+e.y[0])/2),Object.assign(Object.assign({},e),{x:t,y:n,fillOpacity:Math.pow(.85,e.depth)})})}({encode:o,data:n});return console.log(l,"rectData"),[(0,rv.Z)({},lN,Object.assign(Object.assign({type:"rect",data:l,encode:o,tooltip:{title:"path",items:[e=>({name:s,value:e[s]})]}},a),{coordinate:i}))]};lw.props={};var lx=n(45607),lR=Object.keys?function(e){return Object.keys(e)}:function(e){var t=[];return ac(e,function(n,r){(0,lx.Z)(e)&&"prototype"===r||t.push(r)}),t},lL=n(50368);let lD=e=>e.querySelectorAll(".element").filter(e=>(0,lm.Z)(e,["style",lk])===l_),lP={rootText:"root",style:{fill:"rgba(0, 0, 0, 0.85)",fontSize:12,y:1},active:{fill:"rgba(0, 0, 0, 0.5)"}},lM=()=>[["cartesian"]];lM.props={};let lF=()=>[["transpose"],["translate",.5,.5],["reflect.x"],["translate",-.5,-.5]];lF.props={transform:!0};let lB=(e={})=>Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),e),lj=e=>{let{startAngle:t,endAngle:n,innerRadius:r,outerRadius:a}=lB(e);return[...lF(),...r0({startAngle:t,endAngle:n,innerRadius:r,outerRadius:a})]};lj.props={};let lU=()=>[["parallel",0,1,0,1]];lU.props={};let lH=({focusX:e=0,focusY:t=0,distortionX:n=2,distortionY:r=2,visual:a=!1})=>[["fisheye",e,t,n,r,a]];lH.props={transform:!0};let lG=e=>{let{startAngle:t=-Math.PI/2,endAngle:n=3*Math.PI/2,innerRadius:r=0,outerRadius:a=1}=e;return[...lU(),...r0({startAngle:t,endAngle:n,innerRadius:r,outerRadius:a})]};lG.props={};let lz=({value:e})=>t=>t.map(()=>e);lz.props={};let l$=({value:e})=>t=>t.map(t=>t[e]);l$.props={};let lW=({value:e})=>t=>t.map(e);lW.props={};let lZ=({value:e})=>()=>e;function lY(e,t){if(null!==e)return{type:"column",value:e,field:t}}function lV(e,t){let n=lY(e,t);return Object.assign(Object.assign({},n),{inferred:!0})}function lq(e,t){if(null!==e)return{type:"column",value:e,field:t,visual:!0}}function lK(e,t){let n=[];for(let r of e)n[r]=t;return n}function lX(e,t){let n=e[t];if(!n)return[null,null];let{value:r,field:a=null}=n;return[r,a]}function lQ(e,...t){for(let n of t){if("string"!=typeof n)return[n,null];{let[t,r]=lX(e,n);if(null!==t)return[t,r]}}return[null,null]}function lJ(e){return!(e instanceof Date)&&"object"==typeof e}lZ.props={};let l0=()=>(e,t)=>{let{encode:n}=t,{y1:r}=n;return void 0!==r?[e,t]:[e,(0,rv.Z)({},t,{encode:{y1:lV(lK(e,0))}})]};l0.props={};let l1=()=>(e,t)=>{let{encode:n}=t,{x:r}=n;return void 0!==r?[e,t]:[e,(0,rv.Z)({},t,{encode:{x:lV(lK(e,0))},scale:{x:{guide:null}}})]};l1.props={};let l2=(e,t)=>on(Object.assign({colorAttribute:"fill"},e),t);l2.props=Object.assign(Object.assign({},on.props),{defaultMarker:"square"});let l3=(e,t)=>on(Object.assign({colorAttribute:"stroke"},e),t);l3.props=Object.assign(Object.assign({},on.props),{defaultMarker:"hollowSquare"});var l4=n(57481),l5=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function l6(e,t,n){let[r,a,i,o]=e;if(r9(n)){let e=[t?t[0][0]:a[0],a[1]],n=[t?t[3][0]:i[0],i[1]];return[r,e,n,o]}let s=[a[0],t?t[0][1]:a[1]],l=[i[0],t?t[3][1]:i[1]];return[r,s,l,o]}let l9=(e,t)=>{let{adjustPoints:n=l6}=e,r=l5(e,["adjustPoints"]),{coordinate:a,document:i}=t;return(e,t,o,s)=>{let{index:l}=t,{color:c}=o,u=l5(o,["color"]),p=s[l+1],d=n(e,p,a),f=!!r9(a),[g,m,h,b]=f?ip(d):d,{color:y=c,opacity:E}=t,T=(0,iE.Z)().curve(l4.Z)([g,m,h,b]);return rU(i.createElement("path",{})).call(il,u).style("d",T).style("fill",y).style("fillOpacity",E).call(il,r).node()}};function l8(e,t,n){let[r,a,i,o]=e;if(r9(n)){let e=[t?t[0][0]:(a[0]+i[0])/2,a[1]],n=[t?t[3][0]:(a[0]+i[0])/2,i[1]];return[r,e,n,o]}let s=[a[0],t?t[0][1]:(a[1]+i[1])/2],l=[i[0],t?t[3][1]:(a[1]+i[1])/2];return[r,s,l,o]}l9.props={defaultMarker:"square"};let l7=(e,t)=>l9(Object.assign({adjustPoints:l8},e),t);function ce(e){return Math.abs(e)>10?String(e):e.toString().padStart(2,"0")}l7.props={defaultMarker:"square"};let ct=(e={})=>{let{channel:t="x"}=e;return(e,n)=>{let{encode:r}=n,{tooltip:a}=n;if(rj(a))return[e,n];let{title:i}=a;if(void 0!==i)return[e,n];let o=Object.keys(r).filter(e=>e.startsWith(t)).filter(e=>!r[e].inferred).map(e=>lX(r,e)).filter(([e])=>e).map(e=>e[0]);if(0===o.length)return[e,n];let s=[];for(let t of e)s[t]={value:o.map(e=>e[t]instanceof Date?function(e){let t=e.getFullYear(),n=ce(e.getMonth()+1),r=ce(e.getDate()),a=`${t}-${n}-${r}`,i=e.getHours(),o=e.getMinutes(),s=e.getSeconds();return i||o||s?`${a} ${ce(i)}:${ce(o)}:${ce(s)}`:a}(e[t]):e[t]).join(", ")};return[e,(0,rv.Z)({},n,{tooltip:{title:s}})]}};ct.props={};let cn=e=>{let{channel:t}=e;return(e,n)=>{let{encode:r,tooltip:a}=n;if(rj(a))return[e,n];let{items:i=[]}=a;if(!i||i.length>0)return[e,n];let o=Array.isArray(t)?t:[t],s=o.flatMap(e=>Object.keys(r).filter(t=>t.startsWith(e)).map(e=>{let{field:t,value:n,inferred:a=!1,aggregate:i}=r[e];return a?null:i&&n?{channel:e}:t?{field:t}:n?{channel:e}:null}).filter(e=>null!==e));return[e,(0,rv.Z)({},n,{tooltip:{items:s}})]}};cn.props={};var cr=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ca=()=>(e,t)=>{let{encode:n}=t,{key:r}=n,a=cr(n,["key"]);if(void 0!==r)return[e,t];let i=Object.values(a).map(({value:e})=>e),o=e.map(e=>i.filter(Array.isArray).map(t=>t[e]).join("-"));return[e,(0,rv.Z)({},t,{encode:{key:lY(o)}})]};function ci(e={}){let{shapes:t}=e;return[{name:"color"},{name:"opacity"},{name:"shape",range:t},{name:"enterType"},{name:"enterDelay",scaleKey:"enter"},{name:"enterDuration",scaleKey:"enter"},{name:"enterEasing"},{name:"key",scale:"identity"},{name:"groupKey",scale:"identity"},{name:"label",scale:"identity"}]}function co(e={}){return[...ci(e),{name:"title",scale:"identity"}]}function cs(){return[{type:ct,channel:"color"},{type:cn,channel:["x","y"]}]}function cl(){return[{type:ct,channel:"x"},{type:cn,channel:["y"]}]}function cc(e={}){return ci(e)}function cu(){return[{type:ca}]}function cp(e,t){return e.getBandWidth(e.invert(t))}function cd(e,t,n={}){let{x:r,y:a,series:i}=t,{x:o,y:s,series:l}=e,{style:{bandOffset:c=l?0:.5,bandOffsetX:u=c,bandOffsetY:p=c}={}}=n,d=!!(null==o?void 0:o.getBandWidth),f=!!(null==s?void 0:s.getBandWidth),g=!!(null==l?void 0:l.getBandWidth);return d||f?(e,t)=>{let n=d?cp(o,r[t]):0,c=f?cp(s,a[t]):0,m=g&&i?(cp(l,i[t])/2+ +i[t])*n:0,[h,b]=e;return[h+u*n+m,b+p*c]}:e=>e}function cf(e){return parseFloat(e)/100}function cg(e,t,n,r){let{x:a,y:i}=n,{innerWidth:o,innerHeight:s}=r.getOptions(),l=Array.from(e,e=>{let t=a[e],n=i[e],r="string"==typeof t?cf(t)*o:+t,l="string"==typeof n?cf(n)*s:+n;return[[r,l]]});return[e,l]}function cm(e){return"function"==typeof e?e:t=>t[e]}function ch(e,t){return Array.from(e,cm(t))}function cb(e,t){let{source:n=e=>e.source,target:r=e=>e.target,value:a=e=>e.value}=t,{links:i,nodes:o}=e,s=ch(i,n),l=ch(i,r),c=ch(i,a);return{links:i.map((e,t)=>({target:l[t],source:s[t],value:c[t]})),nodes:o||Array.from(new Set([...s,...l]),e=>({key:e}))}}function cy(e,t){return e.getBandWidth(e.invert(t))}ca.props={};let cE={rect:l2,hollow:l3,funnel:l9,pyramid:l7},cT=()=>(e,t,n,r)=>{let{x:a,y:i,y1:o,series:s,size:l}=n,c=t.x,u=t.series,[p]=r.getSize(),d=l?l.map(e=>+e/p):null,f=l?(e,t,n)=>{let r=e+t/2,a=d[n];return[r-a/2,r+a/2]}:(e,t,n)=>[e,e+t],g=Array.from(e,e=>{let t=cy(c,a[e]),n=u?cy(u,null==s?void 0:s[e]):1,l=(+(null==s?void 0:s[e])||0)*t,p=+a[e]+l,[d,g]=f(p,t*n,e),m=+i[e],h=+o[e];return[[d,m],[g,m],[g,h],[d,h]].map(e=>r.map(e))});return[e,g]};cT.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:cE,channels:[...co({shapes:Object.keys(cE)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size"}],preInference:[...cu(),{type:l0},{type:l1}],postInference:[...cl()],interaction:{shareTooltip:!0}};let cS={rect:l2,hollow:l3},cv=()=>(e,t,n,r)=>{let{x:a,x1:i,y:o,y1:s}=n,l=Array.from(e,e=>{let t=[+a[e],+o[e]],n=[+i[e],+o[e]],l=[+i[e],+s[e]],c=[+a[e],+s[e]];return[t,n,l,c].map(e=>r.map(e))});return[e,l]};cv.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:cS,channels:[...co({shapes:Object.keys(cS)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...cu(),{type:l0}],postInference:[...cl()],interaction:{shareTooltip:!0}};var cA=n(18143),cO=n(73671),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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ck=iT(e=>{let{d1:t,d2:n,style1:r,style2:a}=e.attributes,i=e.ownerDocument;rU(e).maybeAppend("line",()=>i.createElement("path",{})).style("d",t).call(il,r),rU(e).maybeAppend("line1",()=>i.createElement("path",{})).style("d",n).call(il,a)}),cI=(e,t)=>{let{curve:n,gradient:r=!1,gradientColor:a="between",defined:i=e=>!Number.isNaN(e)&&null!=e,connect:o=!1}=e,s=c_(e,["curve","gradient","gradientColor","defined","connect"]),{coordinate:l,document:c}=t;return(e,t,u)=>{let p;let{color:d,lineWidth:f}=u,g=c_(u,["color","lineWidth"]),{color:m=d,size:h=f,seriesColor:b,seriesX:y,seriesY:E}=t,T=im(l,t),S=r9(l),v=r&&b?iu(b,y,E,r,a,S):m,A=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},g),v&&{stroke:v}),h&&{lineWidth:h}),T&&{transform:T}),s);if(r8(l)){let e=l.getCenter();p=t=>(0,cO.Z)().angle((n,r)=>ia(ie(t[r],e))).radius((n,r)=>it(t[r],e)).defined(([e,t])=>i(e)&&i(t)).curve(n)(t)}else p=(0,iE.Z)().x(e=>e[0]).y(e=>e[1]).defined(([e,t])=>i(e)&&i(t)).curve(n);let[O,_]=function(e,t){let n=[],r=[],a=!1,i=null;for(let o of e)t(o[0])&&t(o[1])?(n.push(o),a&&(a=!1,r.push([i,o])),i=o):a=!0;return[n,r]}(e,i),k=rD(A,"connect"),I=!!_.length;return I&&(!o||Object.keys(k).length)?I&&!o?rU(c.createElement("path",{})).style("d",p(e)).call(il,A).node():rU(new ck).style("style1",Object.assign(Object.assign({},A),k)).style("style2",A).style("d1",_.map(p).join(",")).style("d2",p(e)).node():rU(c.createElement("path",{})).style("d",p(O)||[]).call(il,A).node()}};cI.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let cC=(e,t)=>{let{coordinate:n}=t;return(...r)=>{let a=r8(n)?l4.Z:cA.Z;return cI(Object.assign({curve:a},e),t)(...r)}};cC.props=Object.assign(Object.assign({},cI.props),{defaultMarker:"line"});var cN=n(43683),cw=n(65165),cx=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let cR=(e,t)=>{let n=cx(e,[]),{coordinate:r}=t;return(...e)=>{let a=r8(r)?cN.Z:r9(r)?cw.s:cw.Z;return cI(Object.assign({curve:a},n),t)(...e)}};cR.props=Object.assign(Object.assign({},cI.props),{defaultMarker:"smooth"});var cL=n(77059);let cD=(e,t)=>cI(Object.assign({curve:cL.cD},e),t);cD.props=Object.assign(Object.assign({},cI.props),{defaultMarker:"hv"});let cP=(e,t)=>cI(Object.assign({curve:cL.RN},e),t);cP.props=Object.assign(Object.assign({},cI.props),{defaultMarker:"vh"});let cM=(e,t)=>cI(Object.assign({curve:cL.ZP},e),t);cM.props=Object.assign(Object.assign({},cI.props),{defaultMarker:"hvh"});var cF=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let cB=(e,t)=>{let{document:n}=t;return(t,r,a)=>{let{seriesSize:i,color:o}=r,{color:s}=a,l=cF(a,["color"]),c=(0,iY.Z)();for(let e=0;e(e,t)=>{let{style:n={},encode:r}=t,{series:a}=r,{gradient:i}=n;return!i||a?[e,t]:[e,(0,rv.Z)({},t,{encode:{series:lq(lK(e,void 0))}})]};cj.props={};let cU=()=>(e,t)=>{let{encode:n}=t,{series:r,color:a}=n;if(void 0!==r||void 0===a)return[e,t];let[i,o]=lX(n,"color");return[e,(0,rv.Z)({},t,{encode:{series:lY(i,o)}})]};cU.props={};let cH={line:cC,smooth:cR,hv:cD,vh:cP,hvh:cM,trail:cB},cG=(e,t,n,r)=>{var a,i;let{series:o,x:s,y:l}=n,{x:c,y:u}=t;if(void 0===s||void 0===l)throw Error("Missing encode for x or y channel.");let p=o?Array.from((0,rA.ZP)(e,e=>o[e]).values()):[e],d=p.map(e=>e[0]).filter(e=>void 0!==e),f=((null===(a=null==c?void 0:c.getBandWidth)||void 0===a?void 0:a.call(c))||0)/2,g=((null===(i=null==u?void 0:u.getBandWidth)||void 0===i?void 0:i.call(u))||0)/2,m=Array.from(p,e=>e.map(e=>r.map([+s[e]+f,+l[e]+g])));return[d,m,p]},cz=(e,t,n,r)=>{let a=Object.entries(n).filter(([e])=>e.startsWith("position")).map(([,e])=>e);if(0===a.length)throw Error("Missing encode for position channel.");let i=Array.from(e,e=>{let t=a.map(t=>+t[e]),n=r.map(t),i=[];for(let e=0;e(e,t,n,r)=>{let a=at(r)?cz:cG;return a(e,t,n,r)};c$.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:cH,channels:[...co({shapes:Object.keys(cH)}),{name:"x"},{name:"y"},{name:"position",independent:!0},{name:"size"},{name:"series",scale:"band"}],preInference:[...cu(),{type:cj},{type:cU}],postInference:[...cl(),{type:ct,channel:"color"},{type:cn,channel:["position"]}],interaction:{shareTooltip:!0,seriesTooltip:!0,crosshairs:!0}};var cW=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function cZ(e,t,n,r){if(1===t.length)return;let{size:a}=n;if("fixed"===e)return a;if("normal"===e||an(r)){let[[e,n],[r,a]]=t;return Math.max(0,(Math.abs((r-e)/2)+Math.abs((a-n)/2))/2)}return a}let cY=(e,t)=>{let{colorAttribute:n,symbol:r,mode:a="auto"}=e,i=cW(e,["colorAttribute","symbol","mode"]),o=rh.get(r)||rh.get("point"),{coordinate:s,document:l}=t;return(t,r,c)=>{let{lineWidth:u,color:p}=c,d=i.stroke?u||1:u,{color:f=p,transform:g,opacity:m}=r,[h,b]=ih(t),y=cZ(a,t,r,s),E=y||i.r||c.r;return rU(l.createElement("path",{})).call(il,c).style("fill","transparent").style("d",o(h,b,E)).style("lineWidth",d).style("transform",g).style("transformOrigin",`${h-E} ${b-E}`).style("stroke",f).style(ig(e),m).style(n,f).call(il,i).node()}};cY.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let cV=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"point"},e),t);cV.props=Object.assign({defaultMarker:"hollowPoint"},cY.props);let cq=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"diamond"},e),t);cq.props=Object.assign({defaultMarker:"hollowDiamond"},cY.props);let cK=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"hexagon"},e),t);cK.props=Object.assign({defaultMarker:"hollowHexagon"},cY.props);let cX=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"square"},e),t);cX.props=Object.assign({defaultMarker:"hollowSquare"},cY.props);let cQ=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"triangle-down"},e),t);cQ.props=Object.assign({defaultMarker:"hollowTriangleDown"},cY.props);let cJ=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"triangle"},e),t);cJ.props=Object.assign({defaultMarker:"hollowTriangle"},cY.props);let c0=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"bowtie"},e),t);c0.props=Object.assign({defaultMarker:"hollowBowtie"},cY.props);var c1=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let c2=(e,t)=>{let{colorAttribute:n,mode:r="auto"}=e,a=c1(e,["colorAttribute","mode"]),{coordinate:i,document:o}=t;return(t,s,l)=>{let{lineWidth:c,color:u}=l,p=a.stroke?c||1:c,{color:d=u,transform:f,opacity:g}=s,[m,h]=ih(t),b=cZ(r,t,s,i),y=b||a.r||l.r;return rU(o.createElement("circle",{})).call(il,l).style("fill","transparent").style("cx",m).style("cy",h).style("r",y).style("lineWidth",p).style("transform",f).style("transformOrigin",`${m} ${h}`).style("stroke",d).style(ig(e),g).style(n,d).call(il,a).node()}},c3=(e,t)=>c2(Object.assign({colorAttribute:"fill"},e),t);c3.props={defaultMarker:"circle",defaultEnterAnimation:"fadeIn",defaultExitAnimation:"fadeOut"};let c4=(e,t)=>c2(Object.assign({colorAttribute:"stroke"},e),t);c4.props=Object.assign({defaultMarker:"hollowPoint"},c3.props);let c5=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"point"},e),t);c5.props=Object.assign({defaultMarker:"point"},cY.props);let c6=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"plus"},e),t);c6.props=Object.assign({defaultMarker:"plus"},cY.props);let c9=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"diamond"},e),t);c9.props=Object.assign({defaultMarker:"diamond"},cY.props);let c8=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"square"},e),t);c8.props=Object.assign({defaultMarker:"square"},cY.props);let c7=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"triangle"},e),t);c7.props=Object.assign({defaultMarker:"triangle"},cY.props);let ue=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"hexagon"},e),t);ue.props=Object.assign({defaultMarker:"hexagon"},cY.props);let ut=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"cross"},e),t);ut.props=Object.assign({defaultMarker:"cross"},cY.props);let un=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"bowtie"},e),t);un.props=Object.assign({defaultMarker:"bowtie"},cY.props);let ur=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"hyphen"},e),t);ur.props=Object.assign({defaultMarker:"hyphen"},cY.props);let ua=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"line"},e),t);ua.props=Object.assign({defaultMarker:"line"},cY.props);let ui=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"tick"},e),t);ui.props=Object.assign({defaultMarker:"tick"},cY.props);let uo=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"triangle-down"},e),t);uo.props=Object.assign({defaultMarker:"triangleDown"},cY.props);let us=()=>(e,t)=>{let{encode:n}=t,{y:r}=n;return void 0!==r?[e,t]:[e,(0,rv.Z)({},t,{encode:{y:lV(lK(e,0))},scale:{y:{guide:null}}})]};us.props={};let ul=()=>(e,t)=>{let{encode:n}=t,{size:r}=n;return void 0!==r?[e,t]:[e,(0,rv.Z)({},t,{encode:{size:lq(lK(e,3))}})]};ul.props={};let uc={hollow:cV,hollowDiamond:cq,hollowHexagon:cK,hollowSquare:cX,hollowTriangleDown:cQ,hollowTriangle:cJ,hollowBowtie:c0,hollowCircle:c4,point:c5,plus:c6,diamond:c9,square:c8,triangle:c7,hexagon:ue,cross:ut,bowtie:un,hyphen:ur,line:ua,tick:ui,triangleDown:uo,circle:c3},uu=e=>(t,n,r,a)=>{let{x:i,y:o,x1:s,y1:l,size:c,dx:u,dy:p}=r,[d,f]=a.getSize(),g=cd(n,r,e),m=e=>{let t=+((null==u?void 0:u[e])||0),n=+((null==p?void 0:p[e])||0),r=s?(+i[e]+ +s[e])/2:+i[e],a=l?(+o[e]+ +l[e])/2:+o[e];return[r+t,a+n]},h=c?Array.from(t,e=>{let[t,n]=m(e),r=+c[e],i=r/d,o=r/f;return[a.map(g([t-i,n-o],e)),a.map(g([t+i,n+o],e))]}):Array.from(t,e=>[a.map(g(m(e),e))]);return[t,h]};uu.props={defaultShape:"hollow",defaultLabelShape:"label",composite:!1,shape:uc,channels:[...co({shapes:Object.keys(uc)}),{name:"x",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size",quantitative:"sqrt"},{name:"dx",scale:"identity"},{name:"dy",scale:"identity"}],preInference:[...cu(),{type:l1},{type:us}],postInference:[{type:ul},...cs()]};let up=(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let{color:i,text:o="",fontSize:s,rotate:l=0,transform:c=""}=r,u={text:String(o),stroke:i,fill:i,fontSize:s},[[p,d]]=t;return rU(new iv).style("x",p).style("y",d).call(il,a).style("transform",`${c}rotate(${+l})`).style("coordCenter",n.getCenter()).call(il,u).call(il,e).node()}};up.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var ud=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let uf=iT(e=>{let t=e.attributes,{class:n,x:r,y:a,transform:i}=t,o=ud(t,["class","x","y","transform"]),s=rD(o,"marker"),{size:l=24}=s,c=()=>(function(e){let t=e/Math.sqrt(2),n=e*Math.sqrt(2),[r,a]=[-t,t-n],[i,o]=[0,0],[s,l]=[t,t-n];return[["M",r,a],["A",e,e,0,1,1,s,l],["L",i,o],["Z"]]})(l/2),u=rU(e).maybeAppend("marker",()=>new iy.J({})).call(e=>e.node().update(Object.assign({symbol:c},s))).node(),[p,d]=function(e){let{min:t,max:n}=e.getLocalBounds();return[(t[0]+n[0])*.5,(t[1]+n[1])*.5]}(u);rU(e).maybeAppend("text","text").style("x",p).style("y",d).call(il,o)}),ug=(e,t)=>{let n=ud(e,[]);return(e,t,r)=>{let{color:a}=r,i=ud(r,["color"]),{color:o=a,text:s=""}=t,l={text:String(s),stroke:o,fill:o},[[c,u]]=e;return rU(new uf).call(il,i).style("transform",`translate(${c},${u})`).call(il,l).call(il,n).node()}};ug.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let um=(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let{color:i,text:o="",fontSize:s,rotate:l=0,transform:c=""}=r,u={text:String(o),stroke:i,fill:i,fontSize:s,textAlign:"center",textBaseline:"middle"},[[p,d]]=t,f=rU(new nX.xv).style("x",p).style("y",d).call(il,a).style("transformOrigin","center center").style("transform",`${c}rotate(${l}deg)`).style("coordCenter",n.getCenter()).call(il,u).call(il,e).node();return f}};um.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uh=()=>(e,t)=>{let{data:n}=t;if(!Array.isArray(n)||n.some(lJ))return[e,t];let r=Array.isArray(n[0])?n:[n],a=r.map(e=>e[0]),i=r.map(e=>e[1]);return[e,(0,rv.Z)({},t,{encode:{x:lY(a),y:lY(i)}})]};uh.props={};var ub=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let uy=()=>(e,t)=>{let{data:n,style:r={}}=t,a=ub(t,["data","style"]),{x:i,y:o}=r,s=ub(r,["x","y"]);if(void 0==i||void 0==o)return[e,t];let l=i||0,c=o||0;return[[0],(0,rv.Z)({},a,{data:[0],cartesian:!0,encode:{x:lY([l]),y:lY([c])},scale:{x:{type:"identity",independent:!0,guide:null},y:{type:"identity",independent:!0,guide:null}},style:s})]};uy.props={};let uE={text:up,badge:ug,tag:um},uT=e=>{let{cartesian:t=!1}=e;return t?cg:(t,n,r,a)=>{let{x:i,y:o}=r,s=cd(n,r,e),l=Array.from(t,e=>{let t=[+i[e],+o[e]];return[a.map(s(t,e))]});return[t,l]}};uT.props={defaultShape:"text",defaultLabelShape:"label",composite:!1,shape:uE,channels:[...co({shapes:Object.keys(uE)}),{name:"x",required:!0},{name:"y",required:!0},{name:"text",scale:"identity"},{name:"fontSize",scale:"identity"},{name:"rotate",scale:"identity"}],preInference:[...cu(),{type:uh},{type:uy}],postInference:[...cs()]};let uS=()=>(e,t)=>[e,(0,rv.Z)({scale:{x:{padding:0},y:{padding:0}}},t)];uS.props={};let uv={cell:l2,hollow:l3},uA=()=>(e,t,n,r)=>{let{x:a,y:i}=n,o=t.x,s=t.y,l=Array.from(e,e=>{let t=o.getBandWidth(o.invert(+a[e])),n=s.getBandWidth(s.invert(+i[e])),l=+a[e],c=+i[e];return[[l,c],[l+t,c],[l+t,c+n],[l,c+n]].map(e=>r.map(e))});return[e,l]};uA.props={defaultShape:"cell",defaultLabelShape:"label",shape:uv,composite:!1,channels:[...co({shapes:Object.keys(uv)}),{name:"x",required:!0,scale:"band"},{name:"y",required:!0,scale:"band"}],preInference:[...cu(),{type:l1},{type:us},{type:uS}],postInference:[...cs()]};var uO=n(37633),u_=n(53253),uk=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let uI=iT(e=>{let{areaPath:t,connectPath:n,areaStyle:r,connectStyle:a}=e.attributes,i=e.ownerDocument;rU(e).maybeAppend("connect-path",()=>i.createElement("path",{})).style("d",n).call(il,a),rU(e).maybeAppend("area-path",()=>i.createElement("path",{})).style("d",t).call(il,r)}),uC=(e,t)=>{let{curve:n,gradient:r=!1,defined:a=e=>!Number.isNaN(e)&&null!=e,connect:i=!1}=e,o=uk(e,["curve","gradient","defined","connect"]),{coordinate:s,document:l}=t;return(e,t,c)=>{let{color:u}=c,{color:p=u,seriesColor:d,seriesX:f,seriesY:g}=t,m=r9(s),h=im(s,t),b=r&&d?iu(d,f,g,r,void 0,m):p,y=Object.assign(Object.assign(Object.assign(Object.assign({},c),{stroke:b,fill:b}),h&&{transform:h}),o),[E,T]=function(e,t){let n=[],r=[],a=[],i=!1,o=null,s=e.length/2;for(let l=0;l!t(e)))i=!0;else{if(n.push(c),r.push(u),i&&o){i=!1;let[e,t]=o;a.push([e,c,t,u])}o=[c,u]}}return[n.concat(r),a]}(e,a),S=rD(y,"connect"),v=!!T.length,A=e=>rU(l.createElement("path",{})).style("d",e||"").call(il,y).node();if(r8(s)){let t=e=>{let t=s.getCenter(),r=e.slice(0,e.length/2),i=e.slice(e.length/2);return(0,u_.Z)().angle((e,n)=>ia(ie(r[n],t))).outerRadius((e,n)=>it(r[n],t)).innerRadius((e,n)=>it(i[n],t)).defined((e,t)=>[...r[t],...i[t]].every(a)).curve(n)(i)};return v&&(!i||Object.keys(S).length)?v&&!i?A(t(e)):rU(new uI).style("areaStyle",y).style("connectStyle",Object.assign(Object.assign({},S),o)).style("areaPath",t(e)).style("connectPath",T.map(t).join("")).node():A(t(E))}{let t=e=>{let t=e.slice(0,e.length/2),r=e.slice(e.length/2);return m?(0,uO.Z)().y((e,n)=>t[n][1]).x1((e,n)=>t[n][0]).x0((e,t)=>r[t][0]).defined((e,n)=>[...t[n],...r[n]].every(a)).curve(n)(t):(0,uO.Z)().x((e,n)=>t[n][0]).y1((e,n)=>t[n][1]).y0((e,t)=>r[t][1]).defined((e,n)=>[...t[n],...r[n]].every(a)).curve(n)(t)};return v&&(!i||Object.keys(S).length)?v&&!i?A(t(e)):rU(new uI).style("areaStyle",y).style("connectStyle",Object.assign(Object.assign({},S),o)).style("areaPath",t(e)).style("connectPath",T.map(t).join("")).node():A(t(E))}}};uC.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uN=(e,t)=>{let{coordinate:n}=t;return(...r)=>{let a=r8(n)?l4.Z:cA.Z;return uC(Object.assign({curve:a},e),t)(...r)}};uN.props=Object.assign(Object.assign({},uC.props),{defaultMarker:"square"});var uw=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ux=(e,t)=>{let n=uw(e,[]),{coordinate:r}=t;return(...e)=>{let a=r8(r)?cN.Z:r9(r)?cw.s:cw.Z;return uC(Object.assign({curve:a},n),t)(...e)}};ux.props=Object.assign(Object.assign({},uC.props),{defaultMarker:"smooth"});let uR=(e,t)=>(...n)=>uC(Object.assign({curve:cL.ZP},e),t)(...n);uR.props=Object.assign(Object.assign({},uC.props),{defaultMarker:"hvh"});let uL=(e,t)=>(...n)=>uC(Object.assign({curve:cL.RN},e),t)(...n);uL.props=Object.assign(Object.assign({},uC.props),{defaultMarker:"vh"});let uD=(e,t)=>(...n)=>uC(Object.assign({curve:cL.cD},e),t)(...n);uD.props=Object.assign(Object.assign({},uC.props),{defaultMarker:"hv"});let uP={area:uN,smooth:ux,hvh:uR,vh:uL,hv:uD},uM=()=>(e,t,n,r)=>{var a,i;let{x:o,y:s,y1:l,series:c}=n,{x:u,y:p}=t,d=c?Array.from((0,rA.ZP)(e,e=>c[e]).values()):[e],f=d.map(e=>e[0]).filter(e=>void 0!==e),g=((null===(a=null==u?void 0:u.getBandWidth)||void 0===a?void 0:a.call(u))||0)/2,m=((null===(i=null==p?void 0:p.getBandWidth)||void 0===i?void 0:i.call(p))||0)/2,h=Array.from(d,e=>{let t=e.length,n=Array(2*t);for(let a=0;a(e,t)=>{let{encode:n}=t,{y1:r}=n;if(r)return[e,t];let[a]=lX(n,"y");return[e,(0,rv.Z)({},t,{encode:{y1:lY([...a])}})]};uF.props={};let uB=()=>(e,t)=>{let{encode:n}=t,{x1:r}=n;if(r)return[e,t];let[a]=lX(n,"x");return[e,(0,rv.Z)({},t,{encode:{x1:lY([...a])}})]};uB.props={};var uj=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let uU=(e,t)=>{let{arrow:n=!0,arrowSize:r="40%"}=e,a=uj(e,["arrow","arrowSize"]),{document:i}=t;return(e,t,o)=>{let{defaultColor:s}=o,l=uj(o,["defaultColor"]),{color:c=s,transform:u}=t,[p,d]=e,f=(0,iY.Z)();if(f.moveTo(...p),f.lineTo(...d),n){let[e,t]=function(e,t,n){let{arrowSize:r}=n,a="string"==typeof r?+parseFloat(r)/100*it(e,t):r,i=Math.PI/6,o=Math.atan2(t[1]-e[1],t[0]-e[0]),s=Math.PI/2-o-i,l=[t[0]-a*Math.sin(s),t[1]-a*Math.cos(s)],c=o-i,u=[t[0]-a*Math.cos(c),t[1]-a*Math.sin(c)];return[l,u]}(p,d,{arrowSize:r});f.moveTo(...e),f.lineTo(...d),f.lineTo(...t)}return rU(i.createElement("path",{})).call(il,l).style("d",f.toString()).style("stroke",c).style("transform",u).call(il,a).node()}};uU.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uH=(e,t)=>{let{arrow:n=!1}=e;return(...r)=>uU(Object.assign(Object.assign({},e),{arrow:n}),t)(...r)};uH.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var uG=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let uz=(e,t)=>{let n=uG(e,[]),{coordinate:r,document:a}=t;return(e,t,i)=>{let{color:o}=i,s=uG(i,["color"]),{color:l=o,transform:c}=t,[u,p]=e,d=(0,iY.Z)();if(d.moveTo(u[0],u[1]),r8(r)){let e=r.getCenter();d.quadraticCurveTo(e[0],e[1],p[0],p[1])}else{let e=is(u,p),t=it(u,p)/2;ic(d,u,p,e,t)}return rU(a.createElement("path",{})).call(il,s).style("d",d.toString()).style("stroke",l).style("transform",c).call(il,n).node()}};uz.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var 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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let uW=(e,t)=>{let n=u$(e,[]),{document:r}=t;return(e,t,a)=>{let{color:i}=a,o=u$(a,["color"]),{color:s=i,transform:l}=t,[c,u]=e,p=(0,iY.Z)();return p.moveTo(c[0],c[1]),p.bezierCurveTo(c[0]/2+u[0]/2,c[1],c[0]/2+u[0]/2,u[1],u[0],u[1]),rU(r.createElement("path",{})).call(il,o).style("d",p.toString()).style("stroke",s).style("transform",l).call(il,n).node()}};uW.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var uZ=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let uY=(e,t)=>{let{cornerRatio:n=1/3}=e,r=uZ(e,["cornerRatio"]),{coordinate:a,document:i}=t;return(e,t,o)=>{let{defaultColor:s}=o,l=uZ(o,["defaultColor"]),{color:c=s,transform:u}=t,[p,d]=e,f=function(e,t,n,r){let a=(0,iY.Z)();if(r8(n)){let i=n.getCenter(),o=it(e,i),s=it(t,i),l=(s-o)*r+o;return a.moveTo(e[0],e[1]),ic(a,e,t,i,l),a.lineTo(t[0],t[1]),a}return r9(n)?(a.moveTo(e[0],e[1]),a.lineTo(e[0]+(t[0]-e[0])*r,e[1]),a.lineTo(e[0]+(t[0]-e[0])*r,t[1]),a.lineTo(t[0],t[1]),a):(a.moveTo(e[0],e[1]),a.lineTo(e[0],e[1]+(t[1]-e[1])*r),a.lineTo(t[0],e[1]+(t[1]-e[1])*r),a.lineTo(t[0],t[1]),a)}(p,d,a,n);return rU(i.createElement("path",{})).call(il,l).style("d",f.toString()).style("stroke",c).style("transform",u).call(il,r).node()}};uY.props={defaultMarker:"vhv",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uV={link:uH,arc:uz,smooth:uW,vhv:uY},uq=e=>(t,n,r,a)=>{let{x:i,y:o,x1:s=i,y1:l=o}=r,c=cd(n,r,e),u=t.map(e=>[a.map(c([+i[e],+o[e]],e)),a.map(c([+s[e],+l[e]],e))]);return[t,u]};uq.props={defaultShape:"link",defaultLabelShape:"label",composite:!1,shape:uV,channels:[...co({shapes:Object.keys(uV)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...cu(),{type:uF},{type:uB}],postInference:[...cs()]};var uK=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let uX=(e,t)=>{let{coordinate:n,document:r}=t;return(t,a,i)=>{let{color:o}=i,s=uK(i,["color"]),{color:l=o,src:c="",size:u=32,transform:p=""}=a,{width:d=u,height:f=u}=e,[[g,m]]=t,[h,b]=n.getSize();d="string"==typeof d?cf(d)*h:d,f="string"==typeof f?cf(f)*b:f;let y=g-Number(d)/2,E=m-Number(f)/2;return rU(r.createElement("image",{})).call(il,s).style("x",y).style("y",E).style("src",c).style("stroke",l).style("transform",p).call(il,e).style("width",d).style("height",f).node()}};uX.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uQ={image:uX},uJ=e=>{let{cartesian:t}=e;return t?cg:(t,n,r,a)=>{let{x:i,y:o}=r,s=cd(n,r,e),l=Array.from(t,e=>{let t=[+i[e],+o[e]];return[a.map(s(t,e))]});return[t,l]}};uJ.props={defaultShape:"image",defaultLabelShape:"label",composite:!1,shape:uQ,channels:[...co({shapes:Object.keys(uQ)}),{name:"x",required:!0},{name:"y",required:!0},{name:"src",scale:"identity"},{name:"size"}],preInference:[...cu(),{type:uh},{type:uy}],postInference:[...cs()]};var u0=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let u1=(e,t)=>{let{coordinate:n,document:r}=t;return(t,a,i)=>{let{color:o}=i,s=u0(i,["color"]),{color:l=o,transform:c}=a,u=function(e,t){let n=(0,iY.Z)();if(r8(t)){let r=t.getCenter(),a=[...e,e[0]],i=a.map(e=>it(e,r));return a.forEach((t,a)=>{if(0===a){n.moveTo(t[0],t[1]);return}let o=i[a],s=e[a-1],l=i[a-1];void 0!==l&&1e-10>Math.abs(o-l)?ic(n,s,t,r,o):n.lineTo(t[0],t[1])}),n.closePath(),n}return e.forEach((e,t)=>0===t?n.moveTo(e[0],e[1]):n.lineTo(e[0],e[1])),n.closePath(),n}(t,n);return rU(r.createElement("path",{})).call(il,s).style("d",u.toString()).style("stroke",l).style("fill",l).style("transform",c).call(il,e).node()}};u1.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var u2=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let u3=(e,t)=>{let n=u2(e,[]),{coordinate:r,document:a}=t;return(e,t,i)=>{let{color:o}=i,s=u2(i,["color"]),{color:l=o,transform:c}=t,u=function(e,t){let[n,r,a,i]=e,o=(0,iY.Z)();if(r8(t)){let e=t.getCenter(),s=it(e,n);return o.moveTo(n[0],n[1]),o.quadraticCurveTo(e[0],e[1],a[0],a[1]),ic(o,a,i,e,s),o.quadraticCurveTo(e[0],e[1],r[0],r[1]),ic(o,r,n,e,s),o.closePath(),o}return o.moveTo(n[0],n[1]),o.bezierCurveTo(n[0]/2+a[0]/2,n[1],n[0]/2+a[0]/2,a[1],a[0],a[1]),o.lineTo(i[0],i[1]),o.bezierCurveTo(i[0]/2+r[0]/2,i[1],i[0]/2+r[0]/2,r[1],r[0],r[1]),o.lineTo(n[0],n[1]),o.closePath(),o}(e,r);return rU(a.createElement("path",{})).call(il,s).style("d",u.toString()).style("fill",l||o).style("stroke",l||o).style("transform",c).call(il,n).node()}};u3.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let u4={polygon:u1,ribbon:u3},u5=()=>(e,t,n,r)=>{let a=Object.entries(n).filter(([e])=>e.startsWith("x")).map(([,e])=>e),i=Object.entries(n).filter(([e])=>e.startsWith("y")).map(([,e])=>e),o=e.map(e=>{let t=[];for(let n=0;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let u9=(e,t)=>{let{coordinate:n,document:r}=t;return(t,a,i)=>{let{color:o,transform:s}=a,{color:l,fill:c=l,stroke:u=l}=i,p=u6(i,["color","fill","stroke"]),d=function(e,t){let n=(0,iY.Z)();if(r8(t)){let r=t.getCenter(),[a,i]=r,o=ir(ie(e[0],r)),s=ir(ie(e[1],r)),l=it(r,e[2]),c=it(r,e[3]),u=it(r,e[8]),p=it(r,e[10]),d=it(r,e[11]);n.moveTo(...e[0]),n.arc(a,i,l,o,s),n.arc(a,i,l,s,o,!0),n.moveTo(...e[2]),n.lineTo(...e[3]),n.moveTo(...e[4]),n.arc(a,i,c,o,s),n.lineTo(...e[6]),n.arc(a,i,p,s,o,!0),n.closePath(),n.moveTo(...e[8]),n.arc(a,i,u,o,s),n.arc(a,i,u,s,o,!0),n.moveTo(...e[10]),n.lineTo(...e[11]),n.moveTo(...e[12]),n.arc(a,i,d,o,s),n.arc(a,i,d,s,o,!0)}else n.moveTo(...e[0]),n.lineTo(...e[1]),n.moveTo(...e[2]),n.lineTo(...e[3]),n.moveTo(...e[4]),n.lineTo(...e[5]),n.lineTo(...e[6]),n.lineTo(...e[7]),n.closePath(),n.moveTo(...e[8]),n.lineTo(...e[9]),n.moveTo(...e[10]),n.lineTo(...e[11]),n.moveTo(...e[12]),n.lineTo(...e[13]);return n}(t,n);return rU(r.createElement("path",{})).call(il,p).style("d",d.toString()).style("stroke",u).style("fill",o||c).style("transform",s).call(il,e).node()}};u9.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var u8=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let u7=(e,t)=>{let{coordinate:n,document:r}=t;return(t,a,i)=>{let{color:o,transform:s}=a,{color:l,fill:c=l,stroke:u=l}=i,p=u8(i,["color","fill","stroke"]),d=function(e,t,n=4){let r=(0,iY.Z)();if(!r8(t))return r.moveTo(...e[2]),r.lineTo(...e[3]),r.lineTo(e[3][0]-n,e[3][1]),r.lineTo(e[10][0]-n,e[10][1]),r.lineTo(e[10][0]+n,e[10][1]),r.lineTo(e[3][0]+n,e[3][1]),r.lineTo(...e[3]),r.closePath(),r.moveTo(...e[10]),r.lineTo(...e[11]),r.moveTo(e[3][0]+n/2,e[8][1]),r.arc(e[3][0],e[8][1],n/2,0,2*Math.PI),r.closePath(),r;let a=t.getCenter(),[i,o]=a,s=it(a,e[3]),l=it(a,e[8]),c=it(a,e[10]),u=ir(ie(e[2],a)),p=Math.asin(n/l),d=u-p,f=u+p;r.moveTo(...e[2]),r.lineTo(...e[3]),r.moveTo(Math.cos(d)*s+i,Math.sin(d)*s+o),r.arc(i,o,s,d,f),r.lineTo(Math.cos(f)*c+i,Math.sin(f)*c+o),r.arc(i,o,c,f,d,!0),r.lineTo(Math.cos(d)*s+i,Math.sin(d)*s+o),r.closePath(),r.moveTo(...e[10]),r.lineTo(...e[11]);let g=(d+f)/2;return r.moveTo(Math.cos(g)*(l+n/2)+i,Math.sin(g)*(l+n/2)+o),r.arc(Math.cos(g)*l+i,Math.sin(g)*l+o,n/2,g,2*Math.PI+g),r.closePath(),r}(t,n,4);return rU(r.createElement("path",{})).call(il,p).style("d",d.toString()).style("stroke",u).style("fill",o||c).style("transform",s).call(il,e).node()}};u7.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pe={box:u9,violin:u7},pt=()=>(e,t,n,r)=>{let{x:a,y:i,y1:o,y2:s,y3:l,y4:c,series:u}=n,p=t.x,d=t.series,f=Array.from(e,e=>{let t=p.getBandWidth(p.invert(+a[e])),n=d?d.getBandWidth(d.invert(+(null==u?void 0:u[e]))):1,f=t*n,g=(+(null==u?void 0:u[e])||0)*t,m=+a[e]+g+f/2,[h,b,y,E,T]=[+i[e],+o[e],+s[e],+l[e],+c[e]];return[[m-f/2,T],[m+f/2,T],[m,T],[m,E],[m-f/2,E],[m+f/2,E],[m+f/2,b],[m-f/2,b],[m-f/2,y],[m+f/2,y],[m,b],[m,h],[m-f/2,h],[m+f/2,h]].map(e=>r.map(e))});return[e,f]};pt.props={defaultShape:"box",defaultLabelShape:"label",composite:!1,shape:pe,channels:[...co({shapes:Object.keys(pe)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"}],preInference:[...cu(),{type:l1}],postInference:[...cl()],interaction:{shareTooltip:!0}};let pn={vector:uU},pr=()=>(e,t,n,r)=>{let{x:a,y:i,size:o,rotate:s}=n,[l,c]=r.getSize(),u=e.map(e=>{let t=+s[e]/180*Math.PI,n=+o[e],u=n/l*Math.cos(t),p=-(n/c)*Math.sin(t);return[r.map([+a[e]-u/2,+i[e]-p/2]),r.map([+a[e]+u/2,+i[e]+p/2])]});return[e,u]};pr.props={defaultShape:"vector",defaultLabelShape:"label",composite:!1,shape:pn,channels:[...co({shapes:Object.keys(pn)}),{name:"x",required:!0},{name:"y",required:!0},{name:"rotate",required:!0,scale:"identity"},{name:"size",required:!0}],preInference:[...cu()],postInference:[...cs()]};var pa=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let pi=(e,t)=>{let{arrow:n,arrowSize:r=4}=e,a=pa(e,["arrow","arrowSize"]),{coordinate:i,document:o}=t;return(e,t,s)=>{let{color:l,lineWidth:c}=s,u=pa(s,["color","lineWidth"]),{color:p=l,size:d=c}=t,f=n?function(e,t,n){let r=e.createElement("path",{style:Object.assign({d:`M ${t},${t} L -${t},0 L ${t},-${t} L 0,0 Z`,transformOrigin:"center"},n)});return r}(o,r,Object.assign({fill:a.stroke||p,stroke:a.stroke||p},rD(a,"arrow"))):null,g=function(e,t){if(!r8(t))return(0,iE.Z)().x(e=>e[0]).y(e=>e[1])(e);let n=t.getCenter();return(0,i7.Z)()({startAngle:0,endAngle:2*Math.PI,outerRadius:it(e[0],n),innerRadius:it(e[1],n)})}(e,i),m=function(e,t){if(!r8(e))return t;let[n,r]=e.getCenter();return`translate(${n}, ${r}) ${t||""}`}(i,t.transform);return rU(o.createElement("path",{})).call(il,u).style("d",g).style("stroke",p).style("lineWidth",d).style("transform",m).style("markerEnd",f).call(il,a).node()}};pi.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let po=()=>(e,t)=>{let{data:n}=t;return!Array.isArray(n)||n.some(lJ)?[e,t]:[e,(0,rv.Z)({},t,{encode:{x:lY(n)}})]};po.props={};let ps={line:pi},pl=e=>(t,n,r,a)=>{let{x:i}=r,o=cd(n,r,(0,rv.Z)({style:{bandOffset:0}},e)),s=Array.from(t,e=>{let t=[i[e],1],n=[i[e],0];return[t,n].map(t=>a.map(o(t,e)))});return[t,s]};pl.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:ps,channels:[...cc({shapes:Object.keys(ps)}),{name:"x",required:!0}],preInference:[...cu(),{type:po}],postInference:[]};let pc=()=>(e,t)=>{let{data:n}=t;return!Array.isArray(n)||n.some(lJ)?[e,t]:[e,(0,rv.Z)({},t,{encode:{y:lY(n)}})]};pc.props={};let pu={line:pi},pp=e=>(t,n,r,a)=>{let{y:i}=r,o=cd(n,r,(0,rv.Z)({style:{bandOffset:0}},e)),s=Array.from(t,e=>{let t=[0,i[e]],n=[1,i[e]];return[t,n].map(t=>a.map(o(t,e)))});return[t,s]};pp.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:pu,channels:[...cc({shapes:Object.keys(pu)}),{name:"y",required:!0}],preInference:[...cu(),{type:pc}],postInference:[]};var pd=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function pf(e,t,n){return[["M",e,t],["L",e+2*n,t-n],["L",e+2*n,t+n],["Z"]]}let pg=(e,t)=>{let{offset:n=0,offset1:r=n,offset2:a=n,connectLength1:i,endMarker:o=!0}=e,s=pd(e,["offset","offset1","offset2","connectLength1","endMarker"]),{coordinate:l}=t;return(e,t,n)=>{let{color:c,connectLength1:u}=n,p=pd(n,["color","connectLength1"]),{color:d,transform:f}=t,g=function(e,t,n,r,a=0){let[[i,o],[s,l]]=t;if(r9(e)){let e=i+n,t=e+a;return[[e,o],[t,o],[t,l],[s+r,l]]}let c=o-n,u=c-a;return[[i,c],[i,u],[s,u],[s,l-r]]}(l,e,r,a,null!=i?i:u),m=rD(Object.assign(Object.assign({},s),n),"endMarker");return rU(new nX.y$).call(il,p).style("d",(0,iE.Z)().x(e=>e[0]).y(e=>e[1])(g)).style("stroke",d||c).style("transform",f).style("markerEnd",o?new iy.J({className:"marker",style:Object.assign(Object.assign({},m),{symbol:pf})}):null).call(il,s).node()}};pg.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pm={connector:pg},ph=(...e)=>uq(...e);function pb(e,t,n,r){if(t)return()=>[0,1];let{[e]:a,[`${e}1`]:i}=n;return e=>{var t;let n=(null===(t=r.getBandWidth)||void 0===t?void 0:t.call(r,r.invert(+i[e])))||0;return[a[e],i[e]+n]}}function py(e={}){let{extendX:t=!1,extendY:n=!1}=e;return(e,r,a,i)=>{let o=pb("x",t,a,r.x),s=pb("y",n,a,r.y),l=Array.from(e,e=>{let[t,n]=o(e),[r,a]=s(e);return[[t,r],[n,r],[n,a],[t,a]].map(e=>i.map(e))});return[e,l]}}ph.props={defaultShape:"connector",defaultLabelShape:"label",composite:!1,shape:pm,channels:[...cc({shapes:Object.keys(pm)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...cu()],postInference:[]};let pE={range:l2},pT=()=>py();pT.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:pE,channels:[...cc({shapes:Object.keys(pE)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...cu()],postInference:[]};let pS=()=>(e,t)=>{let{data:n}=t;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(lJ))){let r=(e,t)=>Array.isArray(e[0])?e.map(e=>e[t]):[e[t]];return[e,(0,rv.Z)({},t,{encode:{x:lY(r(n,0)),x1:lY(r(n,1))}})]}return[e,t]};pS.props={};let pv={range:l2},pA=()=>py({extendY:!0});pA.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:pv,channels:[...cc({shapes:Object.keys(pv)}),{name:"x",required:!0}],preInference:[...cu(),{type:pS}],postInference:[]};let pO=()=>(e,t)=>{let{data:n}=t;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(lJ))){let r=(e,t)=>Array.isArray(e[0])?e.map(e=>e[t]):[e[t]];return[e,(0,rv.Z)({},t,{encode:{y:lY(r(n,0)),y1:lY(r(n,1))}})]}return[e,t]};pO.props={};let p_={range:l2},pk=()=>py({extendX:!0});pk.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:p_,channels:[...cc({shapes:Object.keys(p_)}),{name:"y",required:!0}],preInference:[...cu(),{type:pO}],postInference:[]};var pI=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let pC=(e,t)=>{let{arrow:n,colorAttribute:r}=e,a=pI(e,["arrow","colorAttribute"]),{coordinate:i,document:o}=t;return(e,t,n)=>{let{color:s,stroke:l}=n,c=pI(n,["color","stroke"]),{d:u,color:p=s}=t,[d,f]=i.getSize();return rU(o.createElement("path",{})).call(il,c).style("d","function"==typeof u?u({width:d,height:f}):u).style(r,p).call(il,a).node()}};pC.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pN=(e,t)=>pC(Object.assign({colorAttribute:"fill"},e),t);pN.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pw=(e,t)=>pC(Object.assign({fill:"none",colorAttribute:"stroke"},e),t);pw.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let px={path:pN,hollow:pw},pR=e=>(e,t,n,r)=>[e,e.map(()=>[[0,0]])];pR.props={defaultShape:"path",defaultLabelShape:"label",shape:px,composite:!1,channels:[...co({shapes:Object.keys(px)}),{name:"d",scale:"identity"}],preInference:[...cu()],postInference:[]};var pL=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let pD=(e,t)=>{let{render:n}=e,r=pL(e,["render"]);return e=>{let[[a,i]]=e;return n(Object.assign(Object.assign({},r),{x:a,y:i}),t)}};pD.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pP=()=>(e,t)=>{let{style:n={}}=t;return[e,(0,rv.Z)({},t,{style:Object.assign(Object.assign({},n),Object.fromEntries(Object.entries(n).filter(([,e])=>"function"==typeof e).map(([e,t])=>[e,()=>t])))})]};pP.props={};let pM=e=>{let{cartesian:t}=e;return t?cg:(t,n,r,a)=>{let{x:i,y:o}=r,s=cd(n,r,e),l=Array.from(t,e=>{let t=[+i[e],+o[e]];return[a.map(s(t,e))]});return[t,l]}};pM.props={defaultShape:"shape",defaultLabelShape:"label",composite:!1,shape:{shape:pD},channels:[{name:"x",required:!0},{name:"y",required:!0}],preInference:[...cu(),{type:uh},{type:uy},{type:pP}]};var pF=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let pB=(e,t)=>{let{document:n}=t;return(t,r,a)=>{let{transform:i}=r,{color:o}=a,s=pF(a,["color"]),{color:l=o}=r,[c,...u]=t,p=(0,iY.Z)();return p.moveTo(...c),u.forEach(([e,t])=>{p.lineTo(e,t)}),p.closePath(),rU(n.createElement("path",{})).call(il,s).style("d",p.toString()).style("stroke",l||o).style("fill",l||o).style("fillOpacity",.4).style("transform",i).call(il,e).node()}};pB.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pj={density:pB},pU=()=>(e,t,n,r)=>{let{x:a,series:i}=n,o=Object.entries(n).filter(([e])=>e.startsWith("y")).map(([,e])=>e),s=Object.entries(n).filter(([e])=>e.startsWith("size")).map(([,e])=>e);if(void 0===a||void 0===o||void 0===s)throw Error("Missing encode for x or y or size channel.");let l=t.x,c=t.series,u=Array.from(e,t=>{let n=l.getBandWidth(l.invert(+a[t])),u=c?c.getBandWidth(c.invert(+(null==i?void 0:i[t]))):1,p=(+(null==i?void 0:i[t])||0)*n,d=+a[t]+p+n*u/2,f=[...o.map((n,r)=>[d+ +s[r][t]/e.length,+o[r][t]]),...o.map((n,r)=>[d-+s[r][t]/e.length,+o[r][t]]).reverse()];return f.map(e=>r.map(e))});return[e,u]};pU.props={defaultShape:"density",defaultLabelShape:"label",composite:!1,shape:pj,channels:[...co({shapes:Object.keys(pj)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"size",required:!0},{name:"series",scale:"band"},{name:"size",required:!0,scale:"identity"}],preInference:[...cu(),{type:l0},{type:l1}],postInference:[...cl()],interaction:{shareTooltip:!0}};var pH=n(82631);function pG(e,t,n){let r=e?e():document.createElement("canvas");return r.width=t,r.height=n,r}(0,pH.Z)(3);let pz=function(e,t=(...e)=>`${e[0]}`,n=16){let r=(0,pH.Z)(n);return(...n)=>{let a=t(...n),i=r.get(a);return r.has(a)?r.get(a):(i=e(...n),r.set(a,i),i)}}((e,t,n)=>{let r=pG(n,2*e,2*e),a=r.getContext("2d");if(1===t)a.beginPath(),a.arc(e,e,e,0,2*Math.PI,!1),a.fillStyle="rgba(0,0,0,1)",a.fill();else{let n=a.createRadialGradient(e,e,e*t,e,e,e);n.addColorStop(0,"rgba(0,0,0,1)"),n.addColorStop(1,"rgba(0,0,0,0)"),a.fillStyle=n,a.fillRect(0,0,2*e,2*e)}return r},e=>`${e}`);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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let pW=(e,t)=>{let{gradient:n,opacity:r,maxOpacity:a,minOpacity:i,blur:o,useGradientOpacity:s}=e,l=p$(e,["gradient","opacity","maxOpacity","minOpacity","blur","useGradientOpacity"]),{coordinate:c,createCanvas:u,document:p}=t;return(e,t,d)=>{var f,g;let{transform:m}=t,[h,b]=c.getSize(),y=e.map(e=>({x:e[0],y:e[1],value:e[2],radius:e[3]})),E=(0,sh.Z)(e,e=>e[2]),T=(0,rQ.Z)(e,e=>e[2]),S=h&&b?function(e,t,n,r,a,i,o){let s=Object.assign({blur:.85,minOpacity:0,opacity:.6,maxOpacity:1,gradient:[[.25,"rgb(0,0,255)"],[.55,"rgb(0,255,0)"],[.85,"yellow"],[1,"rgb(255,0,0)"]]},i);s.minOpacity*=255,s.opacity*=255,s.maxOpacity*=255;let l=pG(o,e,t),c=l.getContext("2d"),u=function(e,t){let n=pG(t,256,1),r=n.getContext("2d"),a=r.createLinearGradient(0,0,256,1);return("string"==typeof e?e.split(" ").map(e=>{let[t,n]=e.split(":");return[+t,n]}):e).forEach(([e,t])=>{a.addColorStop(e,t)}),r.fillStyle=a,r.fillRect(0,0,256,1),r.getImageData(0,0,256,1).data}(s.gradient,o);c.clearRect(0,0,e,t),function(e,t,n,r,a,i){let{blur:o}=a,s=r.length;for(;s--;){let{x:a,y:l,value:c,radius:u}=r[s],p=Math.min(c,n),d=a-u,f=l-u,g=pz(u,1-o,i),m=(p-t)/(n-t);e.globalAlpha=Math.max(m,.001),e.drawImage(g,d,f)}}(c,n,r,a,s,o);let p=function(e,t,n,r,a){let{minOpacity:i,opacity:o,maxOpacity:s,useGradientOpacity:l}=a,c=e.getImageData(0,0,t,n),u=c.data,p=u.length;for(let e=3;evoid 0===e,Object.keys(f).reduce((e,t)=>{let n=f[t];return g(n,t)||(e[t]=n),e},{})),u):{canvas:null};return rU(p.createElement("image",{})).call(il,d).style("x",0).style("y",0).style("width",h).style("height",b).style("src",S.canvas).style("transform",m).call(il,l).node()}};pW.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pZ={heatmap:pW},pY=e=>(e,t,n,r)=>{let{x:a,y:i,size:o,color:s}=n,l=Array.from(e,e=>{let t=o?+o[e]:40;return[...r.map([+a[e],+i[e]]),s[e],t]});return[[0],[l]]};pY.props={defaultShape:"heatmap",defaultLabelShape:"label",composite:!1,shape:pZ,channels:[...co({shapes:Object.keys(pZ)}),{name:"x",required:!0},{name:"y",required:!0},{name:"color",scale:"identity",required:!0},{name:"size"}],preInference:[...cu(),{type:l1},{type:us}],postInference:[...cs()]};var pV=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let pq=()=>({axis:!1,type:"text",encode:{x:"x",y:"y",text:"text",rotate:"rotate",fontSize:"size",shape:"tag"},scale:{x:{range:[0,1]},y:{range:[0,1]}},style:{fontFamily:e=>e.fontFamily}}),pK=(e,t)=>{var n,r,a,i;return n=void 0,r=void 0,a=void 0,i=function*(){let{width:n,height:r}=t,{data:a,encode:i={},scale:o,style:s={},layout:l={}}=e,c=pV(e,["data","encode","scale","style","layout"]),u=function(e,t){let{text:n="text",value:r="value"}=t;return e.map(e=>Object.assign(Object.assign({},e),{text:e[n],value:e[r]}))}(a,i);return(0,rv.Z)({},pq(),Object.assign(Object.assign({data:{value:u,transform:[Object.assign({type:"wordCloud",size:[n,r]},l)]},encode:i,scale:o,style:s},c),{axis:!1}))},new(a||(a=Promise))(function(e,t){function o(e){try{l(i.next(e))}catch(e){t(e)}}function s(e){try{l(i.throw(e))}catch(e){t(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof a?n:new a(function(e){e(n)})).then(o,s)}l((i=i.apply(n,r||[])).next())})};pK.props={};let pX=()=>["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"];pX.props={};let pQ=()=>["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"];pQ.props={};let pJ=e=>new as.b(e);pJ.props={};var p0=n(8064);let p1=e=>new p0.r(e);p1.props={};var p2=n(88944);let p3=e=>new p2.t(e);p3.props={};class p4 extends aP.X{getDefaultOptions(){return{domain:[0,1],range:[0,1],tickCount:5,unknown:void 0,tickMethod:aZ}}map(e){return(0,aF.J)(e)?e:this.options.unknown}invert(e){return this.map(e)}clone(){return new p4(this.options)}getTicks(){let{domain:e,tickCount:t,tickMethod:n}=this.options,[r,a]=e;return(0,aL.Z)(r)&&(0,aL.Z)(a)?n(r,a,t):[]}}let p5=e=>new p4(e);p5.props={};class p6 extends p2.t{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:p0.z,paddingInner:1,paddingOuter:0}}constructor(e){super(e)}getPaddingInner(){return 1}clone(){return new p6(this.options)}update(e){super.update(e)}getPaddingOuter(){return this.options.padding}}let p9=e=>new p6(e);p9.props={};var p8=n(67128),p7=n(19432),de=n(63025);let dt=864e5,dn=7*dt,dr=30*dt,da=365*dt;function di(e,t,n,r){let a=(e,t)=>{let a=e=>r(e)%t==0,i=t;for(;i&&!a(e);)n(e,-1),i-=1;return e},i=(e,n)=>{n&&a(e,n),t(e)},o=(e,t)=>{let r=new Date(+e-1);return i(r,t),n(r,t),i(r),r};return{ceil:o,floor:(e,t)=>{let n=new Date(+e);return i(n,t),n},range:(e,t,r,a)=>{let s=[],l=Math.floor(r),c=a?o(e,r):o(e);for(;ce,(e,t=1)=>{e.setTime(+e+t)},e=>e.getTime()),dl=di(1e3,e=>{e.setMilliseconds(0)},(e,t=1)=>{e.setTime(+e+1e3*t)},e=>e.getSeconds()),dc=di(6e4,e=>{e.setSeconds(0,0)},(e,t=1)=>{e.setTime(+e+6e4*t)},e=>e.getMinutes()),du=di(36e5,e=>{e.setMinutes(0,0,0)},(e,t=1)=>{e.setTime(+e+36e5*t)},e=>e.getHours()),dp=di(dt,e=>{e.setHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+dt*t)},e=>e.getDate()-1),dd=di(dr,e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t=1)=>{let n=e.getMonth();e.setMonth(n+t)},e=>e.getMonth()),df=di(dn,e=>{e.setDate(e.getDate()-e.getDay()%7),e.setHours(0,0,0,0)},(e,t=1)=>{e.setDate(e.getDate()+7*t)},e=>{let t=dd.floor(e),n=new Date(+e);return Math.floor((+n-+t)/dn)}),dg=di(da,e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t=1)=>{let n=e.getFullYear();e.setFullYear(n+t)},e=>e.getFullYear()),dm={millisecond:ds,second:dl,minute:dc,hour:du,day:dp,week:df,month:dd,year:dg},dh=di(1,e=>e,(e,t=1)=>{e.setTime(+e+t)},e=>e.getTime()),db=di(1e3,e=>{e.setUTCMilliseconds(0)},(e,t=1)=>{e.setTime(+e+1e3*t)},e=>e.getUTCSeconds()),dy=di(6e4,e=>{e.setUTCSeconds(0,0)},(e,t=1)=>{e.setTime(+e+6e4*t)},e=>e.getUTCMinutes()),dE=di(36e5,e=>{e.setUTCMinutes(0,0,0)},(e,t=1)=>{e.setTime(+e+36e5*t)},e=>e.getUTCHours()),dT=di(dt,e=>{e.setUTCHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+dt*t)},e=>e.getUTCDate()-1),dS=di(dr,e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t=1)=>{let n=e.getUTCMonth();e.setUTCMonth(n+t)},e=>e.getUTCMonth()),dv=di(dn,e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7)%7),e.setUTCHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+dn*t)},e=>{let t=dS.floor(e),n=new Date(+e);return Math.floor((+n-+t)/dn)}),dA=di(da,e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t=1)=>{let n=e.getUTCFullYear();e.setUTCFullYear(n+t)},e=>e.getUTCFullYear()),dO={millisecond:dh,second:db,minute:dy,hour:dE,day:dT,week:dv,month:dS,year:dA};var d_=n(72478);function dk(e,t,n,r,a){let i;let o=+e,s=+t,{tickIntervals:l,year:c,millisecond:u}=function(e){let{year:t,month:n,week:r,day:a,hour:i,minute:o,second:s,millisecond:l}=e?dO:dm;return{tickIntervals:[[s,1],[s,5],[s,15],[s,30],[o,1],[o,5],[o,15],[o,30],[i,1],[i,3],[i,6],[i,12],[a,1],[a,2],[r,1],[n,1],[n,3],[t,1]],year:t,millisecond:l}}(a),p=([e,t])=>e.duration*t,d=r?(s-o)/r:n||5,f=r||(s-o)/d,g=l.length,m=(0,aB.b)(l,f,0,g,p);if(m===g){let e=(0,d_.l)(o/c.duration,s/c.duration,d);i=[c,e]}else if(m){let e=f/p(l[m-1]){let i=e>t,o=i?t:e,s=i?e:t,[l,c]=dk(o,s,n,r,a),u=l.range(o,new Date(+s+1),c,!0);return i?u.reverse():u},dC=(e,t,n,r,a)=>{let i=e>t,o=i?t:e,s=i?e:t,[l,c]=dk(o,s,n,r,a),u=[l.floor(o,c),l.ceil(s,c)];return i?u.reverse():u};function dN(e){let t=e.getTimezoneOffset(),n=new Date(e);return n.setMinutes(n.getMinutes()+t,n.getSeconds(),n.getMilliseconds()),n}class dw extends de.V{getDefaultOptions(){return{domain:[new Date(2e3,0,1),new Date(2e3,0,2)],range:[0,1],nice:!1,tickCount:5,tickInterval:void 0,unknown:void 0,clamp:!1,tickMethod:dI,interpolate:o$.fv,mask:void 0,utc:!1}}chooseTransforms(){return[e=>+e,e=>new Date(e)]}chooseNice(){return dC}getTickMethodOptions(){let{domain:e,tickCount:t,tickInterval:n,utc:r}=this.options,a=e[0],i=e[e.length-1];return[a,i,t,n,r]}getFormatter(){let{mask:e,utc:t}=this.options,n=t?dO:dm,r=t?dN:p8.Z;return t=>(0,p7.WU)(r(t),e||function(e,t){let{second:n,minute:r,hour:a,day:i,week:o,month:s,year:l}=t;return n.floor(e)new dw(e);dx.props={};let dR=e=>t=>-e(-t),dL=(e,t)=>{let n=Math.log(e),r=e===Math.E?Math.log:10===e?Math.log10:2===e?Math.log2:e=>Math.log(e)/n;return t?dR(r):r},dD=(e,t)=>{let n=e===Math.E?Math.exp:t=>e**t;return t?dR(n):n},dP=(e,t,n,r=10)=>{let a=e<0,i=dD(r,a),o=dL(r,a),s=t=1;t-=1){let n=e*t;if(n>c)break;n>=l&&d.push(n)}}else for(;u<=p;u+=1){let e=i(u);for(let t=1;tc)break;n>=l&&d.push(n)}}2*d.length{let a=e<0,i=dL(r,a),o=dD(r,a),s=e>t,l=[o(Math.floor(i(s?t:e))),o(Math.ceil(i(s?e:t)))];return s?l.reverse():l};class dF extends de.V{getDefaultOptions(){return{domain:[1,10],range:[0,1],base:10,interpolate:o$.wp,tickMethod:dP,tickCount:5}}chooseNice(){return dM}getTickMethodOptions(){let{domain:e,tickCount:t,base:n}=this.options,r=e[0],a=e[e.length-1];return[r,a,t,n]}chooseTransforms(){let{base:e,domain:t}=this.options,n=t[0]<0;return[dL(e,n),dD(e,n)]}clone(){return new dF(this.options)}}let dB=e=>new dF(e);dB.props={};let dj=e=>t=>t<0?-((-t)**e):t**e,dU=e=>t=>t<0?-((-t)**(1/e)):t**(1/e),dH=e=>e<0?-Math.sqrt(-e):Math.sqrt(e);class dG extends de.V{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,exponent:2,interpolate:o$.wp,tickMethod:aD.Z,tickCount:5}}constructor(e){super(e)}chooseTransforms(){let{exponent:e}=this.options;if(1===e)return[p8.Z,p8.Z];let t=.5===e?dH:dj(e),n=dU(e);return[t,n]}clone(){return new dG(this.options)}}let dz=e=>new dG(e);dz.props={};class d$ extends dG{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:o$.wp,tickMethod:aD.Z,tickCount:5,exponent:.5}}constructor(e){super(e)}update(e){super.update(e)}clone(){return new d$(this.options)}}let dW=e=>new d$(e);dW.props={};let dZ=e=>new aj(e);dZ.props={};let dY=e=>new aq(e);dY.props={};let dV=e=>new aV(e);dV.props={};var dq=n(99871),dK=n(34199);let dX=e=>t=>{let n=e(t);return(0,aL.Z)(n)?Math.round(n):n},dQ=K=class extends as.b{getDefaultOptions(){return{domain:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:p8.Z,tickMethod:aD.Z,tickCount:5}}constructor(e){super(e)}clone(){return new K(this.options)}};dQ=K=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}([(a=e=>{let[t,n]=e,r=(0,dq.q)((0,o$.fv)(0,1),(0,dK.I)(t,n));return r},e=>{e.prototype.rescale=function(){this.initRange(),this.nice();let[e]=this.chooseTransforms();this.composeOutput(e,this.chooseClamp(e))},e.prototype.initRange=function(){let{interpolator:e}=this.options;this.options.range=[e(0),e(1)]},e.prototype.composeOutput=function(e,t){let{domain:n,interpolator:r,round:i}=this.getOptions(),o=a(n.map(e)),s=i?dX(r):r;this.output=(0,dq.q)(s,o,t,e)},e.prototype.invert=void 0})],dQ);let dJ=e=>new dQ(e);dJ.props={};let d0=e=>new aM(e);function d1({colorDefault:e,colorBlack:t,colorWhite:n,colorStroke:r,colorBackground:a,padding1:i,padding2:o,padding3:s,alpha90:l,alpha65:c,alpha45:u,alpha25:p,alpha10:d,category10:f,category20:g,sizeDefault:m=1,padding:h="auto",margin:b=16}){return{padding:h,margin:b,size:m,color:e,category10:f,category20:g,enter:{duration:300,fill:"both",delay:0},update:{duration:300,fill:"both",delay:0},exit:{duration:300,fill:"both",delay:0},view:{viewFill:a,plotFill:"transparent",mainFill:"transparent",contentFill:"transparent"},line:{line:{fill:"",strokeOpacity:1,lineWidth:1,lineCap:"round"}},point:{point:{r:3,fillOpacity:.95,lineWidth:0},hollow:{r:3,strokeOpacity:.95,lineWidth:1},plus:{r:3,strokeOpacity:.95,lineWidth:3},diamond:{r:3,strokeOpacity:.95,lineWidth:1}},interval:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},area:{area:{fillOpacity:.85,lineWidth:0}},polygon:{polygon:{fillOpacity:.95}},cell:{cell:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},rect:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},link:{link:{fill:"",strokeOpacity:1}},vector:{vector:{fillOpacity:1}},box:{box:{fillOpacity:.95,stroke:t,lineWidth:1}},text:{text:{fill:"#1D2129",fontSize:12,lineWidth:0,connectorStroke:r,connectorStrokeOpacity:.45,connectorLineWidth:1,backgroundFill:r,backgroundFillOpacity:.15,backgroundPadding:[2,4],startMarkerSymbol:"circle",startMarkerSize:4,endMarkerSymbol:"circle",endMarkerSize:4},badge:{fill:"#1D2129",fillOpacity:.65,lineWidth:0,fontSize:10,textAlign:"center",textBaseline:"middle",markerFill:r,markerFillOpacity:.25,markerStrokeOpacity:0}},lineX:{line:{stroke:r,strokeOpacity:.45,lineWidth:1}},lineY:{line:{stroke:r,strokeOpacity:.45,lineWidth:1}},rangeX:{range:{fill:r,fillOpacity:.15,lineWidth:0}},rangeY:{range:{fill:r,fillOpacity:.15,lineWidth:0}},connector:{connector:{stroke:r,strokeOpacity:.45,lineWidth:1,connectLength1:12,endMarker:!0,endMarkerSize:6,endMarkerFill:r,endMarkerFillOpacity:.95}},axis:{arrow:!1,gridLineDash:[3,4],gridLineWidth:.5,gridStroke:t,gridStrokeOpacity:d,labelAlign:"horizontal",labelFill:t,labelOpacity:u,labelFontSize:12,labelFontWeight:"normal",labelSpacing:i,line:!1,lineLineWidth:.5,lineStroke:t,lineStrokeOpacity:u,tickLength:4,tickLineWidth:1,tickStroke:t,tickOpacity:u,titleFill:t,titleOpacity:l,titleFontSize:12,titleFontWeight:"normal",titleSpacing:12,titleTransformOrigin:"center",lineArrowOffset:6,lineArrowSize:6},axisTop:{gridDirection:"positive",labelDirection:"negative",tickDirection:"negative",titlePosition:"top",titleSpacing:12,labelSpacing:4,titleTextBaseline:"middle"},axisBottom:{gridDirection:"negative",labelDirection:"positive",tickDirection:"positive",titlePosition:"bottom",titleSpacing:12,labelSpacing:4,titleTextBaseline:"bottom",titleTransform:"translate(0, 8)"},axisLeft:{gridDirection:"positive",labelDirection:"negative",labelSpacing:4,tickDirection:"negative",titlePosition:"left",titleSpacing:12,titleTextBaseline:"middle",titleDirection:"vertical",titleTransform:"rotate(-90) translate(0, -8)",titleTransformOrigin:"center"},axisRight:{gridDirection:"negative",labelDirection:"positive",labelSpacing:4,tickDirection:"positive",titlePosition:"right",titleSpacing:12,titleTextBaseline:"top",titleDirection:"vertical",titleTransformOrigin:"center"},axisLinear:{girdClosed:!0,gridConnect:"arc",gridDirection:"negative",gridType:"surround",titlePosition:"top",titleSpacing:0},axisArc:{title:!1,titlePosition:"inner",line:!1,tick:!0,labelSpacing:4},axisRadar:{girdClosed:!0,gridStrokeOpacity:.3,gridType:"surround",label:!1,tick:!1,titlePosition:"start"},legendCategory:{backgroundFill:"transparent",itemBackgroundFill:"transparent",itemLabelFill:t,itemLabelFillOpacity:l,itemLabelFontSize:12,itemLabelFontWeight:"normal",itemMarkerFillOpacity:1,itemMarkerSize:8,itemSpacing:[i,i],itemValueFill:t,itemValueFillOpacity:.65,itemValueFontSize:12,itemValueFontWeight:"normal",navButtonFill:t,navButtonFillOpacity:.65,navPageNumFill:t,navPageNumFillOpacity:.45,navPageNumFontSize:12,padding:8,title:!1,titleFill:t,titleFillOpacity:.65,titleFontSize:12,titleFontWeight:"normal",titleSpacing:4,tickStroke:t,tickStrokeOpacity:.25,rowPadding:i,colPadding:o,maxRows:3,maxCols:3},legendContinuous:{handleHeight:12,handleLabelFill:t,handleLabelFillOpacity:u,handleLabelFontSize:12,handleLabelFontWeight:"normal",handleMarkerFill:t,handleMarkerFillOpacity:.6,handleMarkerLineWidth:1,handleMarkerStroke:t,handleMarkerStrokeOpacity:.25,handleWidth:10,labelFill:t,labelFillOpacity:u,labelFontSize:12,labelFontWeight:"normal",labelSpacing:3,tick:!0,tickLength:12,ribbonSize:12,ribbonFill:"#aaa",handle:!0,handleLabel:!1,handleShape:"slider",handleIconSize:12/1.8,indicator:!1,titleFontSize:12,titleSpacing:4,titleFontWeight:"normal",titleFillOpacity:l,tickStroke:t,tickStrokeOpacity:u},label:{fill:t,fillOpacity:.65,fontSize:12,fontWeight:"normal",stroke:void 0,offset:12,connectorStroke:t,connectorStrokeOpacity:.45,connectorLineWidth:1,connectorLength:12,connectorLength2:8,connectorDistance:4},innerLabel:{fill:n,fontSize:12,fillOpacity:.85,fontWeight:"normal",stroke:void 0,offset:0},htmlLabel:{fontSize:12,opacity:.65,color:t,fontWeight:"normal"},slider:{trackSize:16,trackFill:r,trackFillOpacity:1,selectionFill:e,selectionFillOpacity:.15,handleIconSize:10,handleIconFill:"#f7f7f7",handleIconFillOpacity:1,handleIconStroke:t,handleIconStrokeOpacity:.25,handleIconLineWidth:1,handleIconRadius:2,handleLabelFill:t,handleLabelFillOpacity:.45,handleLabelFontSize:12,handleLabelFontWeight:"normal"},scrollbar:{padding:[0,0,0,0],trackSize:6,isRound:!0,slidable:!0,scrollable:!0,trackFill:"#e5e5e5",trackFillOpacity:0,thumbFill:"#000",thumbFillOpacity:.15,thumbHighlightedFillOpacity:.2},title:{spacing:8,titleFill:t,titleFillOpacity:l,titleFontSize:16,titleFontWeight:"bold",titleTextBaseline:"top",subtitleFill:t,subtitleFillOpacity:c,subtitleFontSize:12,subtitleFontWeight:"normal",subtitleTextBaseline:"top"},tooltip:{css:{".g2-tooltip":{"font-family":"sans-serif"}}}}}d0.props={};let d2=d1({colorBlack:"#1D2129",colorWhite:"#ffffff",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1}),d3=e=>(0,rv.Z)({},d2,e);d3.props={};let d4=e=>(0,rv.Z)({},d3(),{category10:"category10",category20:"category20"},e);d4.props={};let d5=d1({colorBlack:"#fff",colorWhite:"#000",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.25}),d6=e=>(0,rv.Z)({},d5,{tooltip:{crosshairsStroke:"#fff",crosshairsLineWidth:1,crosshairsStrokeOpacity:.25,css:{".g2-tooltip":{background:"#1f1f1f",opacity:.95},".g2-tooltip-title":{color:"#A6A6A6"},".g2-tooltip-list-item-name-label":{color:"#A6A6A6"},".g2-tooltip-list-item-value":{color:"#A6A6A6"}}}},e),d9=e=>Object.assign({},d6(),{category10:"category10",category20:"category20"},e);d9.props={};let d8=d1({colorBlack:"#000",colorWhite:"#fff",colorStroke:"#888",colorDefault:"#4e79a7",colorBackground:"transparent",category10:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],category20:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1}),d7=e=>(0,rv.Z)({},d8,{text:{text:{fontSize:10}},axis:{gridLineDash:[0,0],gridLineWidth:1,gridStroke:"#ddd",gridStrokeOpacity:1,labelOpacity:1,labelStrokeOpacity:1,labelFontSize:10,line:!0,lineLineWidth:1,lineStroke:"#888",lineStrokeOpacity:1,tickLength:5,tickStrokeOpacity:1,titleOpacity:1,titleStrokeOpacity:1,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},axisLeft:{gridFilter:(e,t)=>0!==t},axisRight:{gridFilter:(e,t)=>0!==t},legendCategory:{itemLabelFillOpacity:1,itemLabelFontSize:10,itemValueFillOpacity:1,itemValueFontSize:10,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},legendContinuous:{handleLabelFontSize:10,labelFillOpacity:.45,labelFontSize:10},label:{fontSize:10},innerLabel:{fontSize:10},htmlLabel:{fontSize:10},slider:{handleLabelFontSize:10,trackFillOpacity:.05}},e);d7.props={};let fe=e=>(...t)=>{let n=aC(Object.assign({},{crossPadding:50},e))(...t);return aO(n,e),n};fe.props=Object.assign(Object.assign({},aC.props),{defaultPosition:"bottom"});let ft=e=>(...t)=>{let n=aC(Object.assign({},{crossPadding:10},e))(...t);return aO(n,e),n};ft.props=Object.assign(Object.assign({},aC.props),{defaultPosition:"left"});var fn=n(36789);function fr(e){if((0,aU.Z)(e))return e[e.length-1]}var fa=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let fi=e=>{let{labelFormatter:t,layout:n,order:r,orientation:a,position:i,size:o,title:s,cols:l,itemMarker:c}=e,u=fa(e,["labelFormatter","layout","order","orientation","position","size","title","cols","itemMarker"]),{gridRow:p}=u;return t=>{let{value:r,theme:a}=t,{bbox:o}=r,{width:c,height:d}=function(e,t,n){let{position:r}=t;if("center"===r){let{bbox:t}=e,{width:n,height:r}=t;return{width:n,height:r}}let{width:a,height:i}=aS(e,t,n);return{width:a,height:i}}(r,e,fi),f=ab(i,n),g=Object.assign(Object.assign(Object.assign(Object.assign({orientation:["right","left","center"].includes(i)?"vertical":"horizontal",width:c,height:d,layout:void 0!==l?"grid":"flex"},void 0!==l&&{gridCol:l}),void 0!==p&&{gridRow:p}),{titleText:ah(s)}),function(e,t){let{labelFormatter:n=e=>`${e}`}=e,{scales:r,theme:a}=t,i=a.legendCategory.itemMarkerSize,o=function(e,t){let n=aT(e,"size");return n instanceof p4?2*n.map(NaN):t}(r,i),s={itemMarker:function(e,t){let{scales:n,library:r,markState:a}=t,[i,o]=function(e,t){let n=aT(e,"shape"),r=aT(e,"color"),a=n?n.clone():null,i=[];for(let[e,n]of t){let t=e.type,o=(null==r?void 0:r.getOptions().domain.length)>0?null==r?void 0:r.getOptions().domain:n.data,s=o.map((t,r)=>{var i;return a?a.map(t||"point"):(null===(i=null==e?void 0:e.style)||void 0===i?void 0:i.shape)||n.defaultShape||"point"});"string"==typeof t&&i.push([t,s])}if(0===i.length)return["point",["point"]];if(1===i.length||!n)return i[0];let{range:o}=n.getOptions();return i.map(([e,t])=>{let n=0;for(let e=0;et[0]-e[0])[0][1]}(n,a),{itemMarker:s,itemMarkerSize:l}=e,c=(e,t)=>{var n,a,o;let s=(null===(o=null===(a=null===(n=r[`mark.${i}`])||void 0===n?void 0:n.props)||void 0===a?void 0:a.shape[e])||void 0===o?void 0:o.props.defaultMarker)||fr(e.split(".")),c="function"==typeof l?l(t):l;return()=>(function(e,t){var{d:n,fill:r,lineWidth:a,path:i,stroke:o,color:s}=t,l=nQ(t,["d","fill","lineWidth","path","stroke","color"]);let c=rh.get(e)||rh.get("point");return(...e)=>{let t=new nX.y$({style:Object.assign(Object.assign({},l),{d:c(...e),stroke:c.style.includes("stroke")?s||o:"",fill:c.style.includes("fill")?s||r:"",lineWidth:c.style.includes("lineWidth")?a||a||2:0})});return t}})(s,{color:t.color})(0,0,c)},u=e=>`${o[e]}`,p=aT(n,"shape");return p&&!s?(e,t)=>c(u(t),e):"function"==typeof s?(e,t)=>{let n=s(e.id,t);return"string"==typeof n?c(n,e):n}:(e,t)=>c(s||u(t),e)}(Object.assign(Object.assign({},e),{itemMarkerSize:o}),t),itemMarkerSize:o,itemMarkerOpacity:function(e){let t=aT(e,"opacity");if(t){let{range:e}=t.getOptions();return(t,n)=>e[n]}}(r)},l="string"==typeof n?(0,rW.WU)(n):n,c=aT(r,"color"),u=r.find(e=>e.getOptions().domain.length>0).getOptions().domain,p=c?e=>c.map(e):()=>t.theme.color;return Object.assign(Object.assign({},s),{data:u.map(e=>({id:e,label:l(e),color:p(e)}))})}(e,t)),{legendCategory:m={}}=a,h=av(Object.assign({},m,g,u)),b=new aE({style:Object.assign(Object.assign({x:o.x,y:o.y,width:o.width,height:o.height},f),{subOptions:h})});return b.appendChild(new fn.W({className:"legend-category",style:h})),b}};fi.props={defaultPosition:"top",defaultOrder:1,defaultSize:40,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let fo=e=>()=>new nX.ZA;fo.props={};var fs=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function fl(e,t,n,r){switch(r){case"center":return{x:e+n/2,y:t,textAlign:"middle"};case"right":return{x:e+n,y:t,textAlign:"right"};default:return{x:e,y:t,textAlign:"left"}}}let fc=(i={render(e,t){let{width:n,title:r,subtitle:a,spacing:i=2,align:o="left",x:s,y:l}=e,c=fs(e,["width","title","subtitle","spacing","align","x","y"]);t.style.transform=`translate(${s}, ${l})`;let u=rD(c,"title"),p=rD(c,"subtitle"),d=am(t,".title","text").attr("className","title").call(il,Object.assign(Object.assign(Object.assign({},fl(0,0,n,o)),{fontSize:14,textBaseline:"top",text:r}),u)).node(),f=d.getLocalBounds();am(t,".sub-title","text").attr("className","sub-title").call(e=>{if(!a)return e.node().remove();e.node().attr(Object.assign(Object.assign(Object.assign({},fl(0,f.max[1]+i,n,o)),{fontSize:12,textBaseline:"top",text:a}),p))})}},class extends nX.b_{constructor(e){super(e),this.descriptor=i}connectedCallback(){var e,t;null===(t=(e=this.descriptor).render)||void 0===t||t.call(e,this.attributes,this)}update(e={}){var t,n;this.attr((0,rv.Z)({},this.attributes,e)),null===(n=(t=this.descriptor).render)||void 0===n||n.call(t,this.attributes,this)}}),fu=e=>({value:t,theme:n})=>{let{x:r,y:a,width:i,height:o}=t.bbox;return new fc({style:(0,rv.Z)({},n.title,Object.assign({x:r,y:a,width:i,height:o},e))})};fu.props={defaultPosition:"top",defaultOrder:2,defaultSize:36,defaultCrossPadding:[20,20],defaultPadding:[12,12]};var fp=n(21155),fd=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ff=e=>{let{orientation:t,labelFormatter:n,size:r,style:a={},position:i}=e,o=fd(e,["orientation","labelFormatter","size","style","position"]);return r=>{var s;let{scales:[l],value:c,theme:u,coordinate:p}=r,{bbox:d}=c,{width:f,height:g}=d,{slider:m={}}=u,h=(null===(s=l.getFormatter)||void 0===s?void 0:s.call(l))||(e=>e+""),b="string"==typeof n?(0,rW.WU)(n):n,y="horizontal"===t,E=r9(p)&&y,{trackSize:T=m.trackSize}=a,[S,v]=function(e,t,n){let{x:r,y:a,width:i,height:o}=e;return"left"===t?[r+i-n,a]:"right"===t||"bottom"===t?[r,a]:"top"===t?[r,a+o-n]:void 0}(d,i,T);return new fp.i({className:"slider",style:Object.assign({},m,Object.assign(Object.assign({x:S,y:v,trackLength:y?f:g,orientation:t,formatter:e=>{let t=i5(l,E?1-e:e,!0);return(b||h)(t)},sparklineData:function(e,t){let{markState:n}=t;return(0,rz.Z)(e.sparklineData)?e.sparklineData:function(e,t){let[n]=Array.from(e.entries()).filter(([e])=>"line"===e.type||"area"===e.type).filter(([e])=>e.slider).map(([e])=>{let{encode:n,slider:r}=e;if(null==r?void 0:r.x)return Object.fromEntries(t.map(e=>{let t=n[e];return[e,t?t.value:void 0]}))});if(!(null==n?void 0:n.series))return null==n?void 0:n.y;let r=n.series.reduce((e,t,r)=>(e[t]=e[t]||[],e[t].push(n.y[r]),e),{});return Object.values(r)}(n,["y","series"])}(e,r)},a),o))})}};ff.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let fg=e=>ff(Object.assign(Object.assign({},e),{orientation:"horizontal"}));fg.props=Object.assign(Object.assign({},ff.props),{defaultPosition:"bottom"});let fm=e=>ff(Object.assign(Object.assign({},e),{orientation:"vertical"}));fm.props=Object.assign(Object.assign({},ff.props),{defaultPosition:"left"});var fh=n(53020),fb=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let fy=e=>{let{orientation:t,labelFormatter:n,style:r}=e,a=fb(e,["orientation","labelFormatter","style"]);return({scales:[e],value:n,theme:i})=>{let{bbox:o}=n,{x:s,y:l,width:c,height:u}=o,{scrollbar:p={}}=i,{ratio:d,range:f}=e.getOptions(),g="horizontal"===t?c:u,[m,h]=f;return new fh.L({className:"g2-scrollbar",style:Object.assign({},p,Object.assign(Object.assign(Object.assign(Object.assign({},r),{x:s,y:l,trackLength:g,value:h>m?0:1}),a),{orientation:t,contentLength:g/d,viewportLength:g}))})}};fy.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let fE=e=>fy(Object.assign(Object.assign({},e),{orientation:"horizontal"}));fE.props=Object.assign(Object.assign({},fy.props),{defaultPosition:"bottom"});let fT=e=>fy(Object.assign(Object.assign({},e),{orientation:"vertical"}));fT.props=Object.assign(Object.assign({},fy.props),{defaultPosition:"left"});let fS=(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let[i]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=i.style,[u,p]=r9(n)?["left bottom","scale(1, 0.0001)"]:["left top","scale(0.0001, 1)"],d=[{transform:`${o} ${p}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${o} ${p}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.01},{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c}],f=i.animate(d,Object.assign(Object.assign({},a),e));return f}},fv=(e,t)=>{let{coordinate:n}=t;return nX.ux.registerProperty({name:"scaleInYRadius",inherits:!1,initialValue:"",interpolable:!0,syntax:nX.h0.NUMBER}),(t,r,a)=>{let[i]=t;return r8(n)?(t=>{let{__data__:r,style:i}=t,{radius:o=0,inset:s=0,fillOpacity:l=1,strokeOpacity:c=1,opacity:u=1}=i,{points:p,y:d,y1:f}=r,g=id(n,p,[d,f]),{innerRadius:m,outerRadius:h}=g,b=(0,i7.Z)().cornerRadius(o).padAngle(s*Math.PI/180),y=new nX.y$({}),E=e=>{y.attr({d:b(e)});let t=(0,nX.YR)(y);return t},T=t.animate([{scaleInYRadius:m+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{scaleInYRadius:m+1e-4,fillOpacity:l,strokeOpacity:c,opacity:u,offset:.01},{scaleInYRadius:h,fillOpacity:l,strokeOpacity:c,opacity:u}],Object.assign(Object.assign({},a),e));return T.onframe=function(){t.style.d=E(Object.assign(Object.assign({},g),{outerRadius:Number(t.style.scaleInYRadius)}))},T.onfinish=function(){t.style.d=E(Object.assign(Object.assign({},g),{outerRadius:h}))},T})(i):(t=>{let{style:r}=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=r,[c,u]=r9(n)?["left top","scale(0.0001, 1)"]:["left bottom","scale(1, 0.0001)"],p=[{transform:`${i} ${u}`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${i} ${u}`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.01},{transform:`${i} scale(1, 1)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l}],d=t.animate(p,Object.assign(Object.assign({},a),e));return d})(i)}},fA=(e,t)=>{nX.ux.registerProperty({name:"waveInArcAngle",inherits:!1,initialValue:"",interpolable:!0,syntax:nX.h0.NUMBER});let{coordinate:n}=t;return(r,a,i)=>{let[o]=r;if(!r8(n))return fS(e,t)(r,a,i);let{__data__:s,style:l}=o,{radius:c=0,inset:u=0,fillOpacity:p=1,strokeOpacity:d=1,opacity:f=1}=l,{points:g,y:m,y1:h}=s,b=(0,i7.Z)().cornerRadius(c).padAngle(u*Math.PI/180),y=id(n,g,[m,h]),{startAngle:E,endAngle:T}=y,S=o.animate([{waveInArcAngle:E+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{waveInArcAngle:E+1e-4,fillOpacity:p,strokeOpacity:d,opacity:f,offset:.01},{waveInArcAngle:T,fillOpacity:p,strokeOpacity:d,opacity:f}],Object.assign(Object.assign({},i),e));return S.onframe=function(){o.style.d=b(Object.assign(Object.assign({},y),{endAngle:Number(o.style.waveInArcAngle)}))},S.onfinish=function(){o.style.d=b(Object.assign(Object.assign({},y),{endAngle:T}))},S}};fA.props={};let fO=e=>(t,n,r)=>{let[a]=t,{fillOpacity:i=1,strokeOpacity:o=1,opacity:s=1}=a.style,l=[{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:i,strokeOpacity:o,opacity:s}];return a.animate(l,Object.assign(Object.assign({},r),e))};fO.props={};let f_=e=>(t,n,r)=>{let[a]=t,{fillOpacity:i=1,strokeOpacity:o=1,opacity:s=1}=a.style,l=[{fillOpacity:i,strokeOpacity:o,opacity:s},{fillOpacity:0,strokeOpacity:0,opacity:0}];return a.animate(l,Object.assign(Object.assign({},r),e))};f_.props={};let fk=e=>(t,n,r)=>{var a;let[i]=t,o=(null===(a=i.getTotalLength)||void 0===a?void 0:a.call(i))||0,s=[{lineDash:[0,o]},{lineDash:[o,0]}];return i.animate(s,Object.assign(Object.assign({},r),e))};fk.props={};let fI={opacity:1,strokeOpacity:1,fillOpacity:1,lineWidth:0,x:0,y:0,cx:0,cy:0,r:0,rx:0,ry:0,width:0,height:0},fC={[nX.bn.CIRCLE]:["cx","cy","r"],[nX.bn.ELLIPSE]:["cx","cy","rx","ry"],[nX.bn.RECT]:["x","y","width","height"],[nX.bn.IMAGE]:["x","y","width","height"],[nX.bn.LINE]:["x1","y1","x2","y2"],[nX.bn.POLYLINE]:["points"],[nX.bn.POLYGON]:["points"]};function fN(e,t,n=!1){let r={};for(let a of t){let t=e.style[a];t?r[a]=t:n&&(r[a]=fI[a])}return r}let fw=["fill","stroke","fillOpacity","strokeOpacity","opacity","lineWidth"];function fx(e){let{min:t,max:n}=e.getLocalBounds(),[r,a]=t,[i,o]=n;return[r,a,i-r,o-a]}function fR(e,t){let[n,r,a,i]=fx(e),o=Math.ceil(Math.sqrt(t/(i/a))),s=[],l=i/Math.ceil(t/o),c=0,u=t;for(;u>0;){let e=Math.min(u,o),t=a/e;for(let a=0;a{let e=c.style.d;rR(c,n),c.style.d=e,c.style.transform="none"},c.style.transform="none",e}return null}let fF=e=>(t,n,r)=>{let a=function(e="pack"){return"function"==typeof e?e:fR}(e.split),i=Object.assign(Object.assign({},r),e),{length:o}=t,{length:s}=n;if(1===o&&1===s||o>1&&s>1){let[e]=t,[r]=n;return fM(e,e,r,i)}if(1===o&&s>1){let[e]=t;return function(e,t,n,r){e.style.visibility="hidden";let a=r(e,t.length);return t.map((t,r)=>{let i=new nX.y$({style:Object.assign({d:a[r]},fN(e,fw))});return fM(t,i,t,n)})}(e,n,i,a)}if(o>1&&1===s){let[e]=n;return function(e,t,n,r){let a=r(t,e.length),{fillOpacity:i=1,strokeOpacity:o=1,opacity:s=1}=t.style,l=t.animate([{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:0,strokeOpacity:0,opacity:0,offset:.99},{fillOpacity:i,strokeOpacity:o,opacity:s}],n),c=e.map((e,r)=>{let i=new nX.y$({style:{d:a[r],fill:t.style.fill}});return fM(e,e,i,n)});return[...c,l]}(t,e,i,a)}return null};fF.props={};let fB=(e,t)=>(n,r,a)=>{let[i]=n,{min:[o,s],halfExtents:l}=i.getLocalBounds(),c=2*l[0],u=2*l[1],p=new nX.y$({style:{d:`M${o},${s}L${o+c},${s}L${o+c},${s+u}L${o},${s+u}Z`}});i.appendChild(p),i.style.clipPath=p;let d=fS(e,t)([p],r,a);return d};fB.props={};let fj=(e,t)=>(n,r,a)=>{let[i]=n,{min:[o,s],halfExtents:l}=i.getLocalBounds(),c=2*l[0],u=2*l[1],p=new nX.y$({style:{d:`M${o},${s}L${o+c},${s}L${o+c},${s+u}L${o},${s+u}Z`}});i.appendChild(p),i.style.clipPath=p;let d=fv(e,t)([p],r,a);return d};fj.props={};var fU=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function fH(e){var{delay:t,createGroup:n,background:r=!1,link:a=!1}=e,i=fU(e,["delay","createGroup","background","link"]);return(e,o,s)=>{let{container:l,view:c,options:u}=e,{scale:p,coordinate:d}=c,f=op(l);return function(e,{elements:t,datum:n,groupKey:r=e=>e,link:a=!1,background:i=!1,delay:o=60,scale:s,coordinate:l,emitter:c,state:u={}}){var p;let d;let f=t(e),g=new Set(f),m=(0,rA.ZP)(f,r),h=oS(f,n),[b,y]=ov(Object.assign({elements:f,valueof:h,link:a,coordinate:l},rD(u.active,"link"))),[E,T,S]=oO(Object.assign({document:e.ownerDocument,scale:s,coordinate:l,background:i,valueof:h},rD(u.active,"background"))),v=(0,rv.Z)(u,{active:Object.assign({},(null===(p=u.active)||void 0===p?void 0:p.offset)&&{transform:(...e)=>{let t=u.active.offset(...e),[,n]=e;return oA(f[n],t,l)}})}),{setState:A,removeState:O,hasState:_}=oy(v,h),k=e=>{let{target:t,nativeEvent:a=!0}=e;if(!g.has(t))return;d&&clearTimeout(d);let i=r(t),o=m.get(i),s=new Set(o);for(let e of f)s.has(e)?_(e,"active")||A(e,"active"):(A(e,"inactive"),y(e)),e!==t&&T(e);E(t),b(o),a&&c.emit("element:highlight",{nativeEvent:a,data:{data:n(t),group:o.map(n)}})},I=()=>{d&&clearTimeout(d),d=setTimeout(()=>{C(),d=null},o)},C=(e=!0)=>{for(let e of f)O(e,"active","inactive"),T(e),y(e);e&&c.emit("element:unhighlight",{nativeEvent:e})},N=e=>{let{target:t}=e;(!i||S(t))&&(i||g.has(t))&&(o>0?I():C())},w=()=>{C()};e.addEventListener("pointerover",k),e.addEventListener("pointerout",N),e.addEventListener("pointerleave",w);let x=e=>{let{nativeEvent:t}=e;t||C(!1)},R=e=>{let{nativeEvent:t}=e;if(t)return;let{data:r}=e.data,a=ok(f,r,n);a&&k({target:a,nativeEvent:!1})};return c.on("element:highlight",R),c.on("element:unhighlight",x),()=>{for(let t of(e.removeEventListener("pointerover",k),e.removeEventListener("pointerout",N),e.removeEventListener("pointerleave",w),c.off("element:highlight",R),c.off("element:unhighlight",x),f))T(t),y(t)}}(f,Object.assign({elements:ol,datum:ob(c),groupKey:n?n(c):void 0,coordinate:d,scale:p,state:oT(u,[["active",r?{}:{lineWidth:"1",stroke:"#000"}],"inactive"]),background:r,link:a,delay:t,emitter:s},i))}}function fG(e){return fH(Object.assign(Object.assign({},e),{createGroup:oh}))}function fz(e){return fH(Object.assign(Object.assign({},e),{createGroup:om}))}fH.props={reapplyWhenUpdate:!0},fG.props={reapplyWhenUpdate:!0},fz.props={reapplyWhenUpdate:!0};var 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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function fW(e){var{createGroup:t,background:n=!1,link:r=!1}=e,a=f$(e,["createGroup","background","link"]);return(e,i,o)=>{let{container:s,view:l,options:c}=e,{coordinate:u,scale:p}=l,d=op(s);return function(e,{elements:t,datum:n,groupKey:r=e=>e,link:a=!1,single:i=!1,coordinate:o,background:s=!1,scale:l,emitter:c,state:u={}}){var p;let d=t(e),f=new Set(d),g=(0,rA.ZP)(d,r),m=oS(d,n),[h,b]=ov(Object.assign({link:a,elements:d,valueof:m,coordinate:o},rD(u.selected,"link"))),[y,E]=oO(Object.assign({document:e.ownerDocument,background:s,coordinate:o,scale:l,valueof:m},rD(u.selected,"background"))),T=(0,rv.Z)(u,{selected:Object.assign({},(null===(p=u.selected)||void 0===p?void 0:p.offset)&&{transform:(...e)=>{let t=u.selected.offset(...e),[,n]=e;return oA(d[n],t,o)}})}),{setState:S,removeState:v,hasState:A}=oy(T,m),O=(e=!0)=>{for(let e of d)v(e,"selected","unselected"),b(e),E(e);e&&c.emit("element:unselect",{nativeEvent:!0})},_=(e,t,a=!0)=>{if(A(t,"selected"))O();else{let i=r(t),o=g.get(i),s=new Set(o);for(let e of d)s.has(e)?S(e,"selected"):(S(e,"unselected"),b(e)),e!==t&&E(e);if(h(o),y(t),!a)return;c.emit("element:select",Object.assign(Object.assign({},e),{nativeEvent:a,data:{data:[n(t),...o.map(n)]}}))}},k=(e,t,i=!0)=>{let o=r(t),s=g.get(o),l=new Set(s);if(A(t,"selected")){let e=d.some(e=>!l.has(e)&&A(e,"selected"));if(!e)return O();for(let e of s)S(e,"unselected"),b(e),E(e)}else{let e=s.some(e=>A(e,"selected"));for(let e of d)l.has(e)?S(e,"selected"):A(e,"selected")||S(e,"unselected");!e&&a&&h(s),y(t)}i&&c.emit("element:select",Object.assign(Object.assign({},e),{nativeEvent:i,data:{data:d.filter(e=>A(e,"selected")).map(n)}}))},I=e=>{let{target:t,nativeEvent:n=!0}=e;return f.has(t)?i?_(e,t,n):k(e,t,n):O()};e.addEventListener("click",I);let C=e=>{let{nativeEvent:t,data:r}=e;if(t)return;let a=i?r.data.slice(0,1):r.data;for(let e of a){let t=ok(d,e,n);I({target:t,nativeEvent:!1})}},N=()=>{O(!1)};return c.on("element:select",C),c.on("element:unselect",N),()=>{for(let e of d)b(e);e.removeEventListener("click",I),c.off("element:select",C),c.off("element:unselect",N)}}(d,Object.assign({elements:ol,datum:ob(l),groupKey:t?t(l):void 0,coordinate:u,scale:p,state:oT(c,[["selected",n?{}:{lineWidth:"1",stroke:"#000"}],"unselected"]),background:n,link:r,emitter:o},a))}}function fZ(e){return fW(Object.assign(Object.assign({},e),{createGroup:oh}))}function fY(e){return fW(Object.assign(Object.assign({},e),{createGroup:om}))}fW.props={reapplyWhenUpdate:!0},fZ.props={reapplyWhenUpdate:!0},fY.props={reapplyWhenUpdate:!0};var fV=function(e,t,n){var r,a,i,o,s=0;n||(n={});var l=function(){s=!1===n.leading?0:Date.now(),r=null,o=e.apply(a,i),r||(a=i=null)},c=function(){var c=Date.now();s||!1!==n.leading||(s=c);var u=t-(c-s);return a=this,i=arguments,u<=0||u>t?(r&&(clearTimeout(r),r=null),s=c,o=e.apply(a,i),r||(a=i=null)):r||!1===n.trailing||(r=setTimeout(l,u)),o};return c.cancel=function(){clearTimeout(r),s=0,r=a=i=null},c},fq=n(29173),fK=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function fX(e){var{wait:t=20,leading:n,trailing:r=!1,labelFormatter:a=e=>`${e}`}=e,i=fK(e,["wait","leading","trailing","labelFormatter"]);return e=>{let o;let{view:s,container:l,update:c,setState:u}=e,{markState:p,scale:d,coordinate:f}=s,g=function(e,t,n){let[r]=Array.from(e.entries()).filter(([e])=>e.type===t).map(([e])=>{let{encode:t}=e;return Object.fromEntries(n.map(e=>{let n=t[e];return[e,n?n.value:void 0]}))});return r}(p,"line",["x","y","series"]);if(!g)return;let{y:m,x:h,series:b=[]}=g,y=m.map((e,t)=>t),E=(0,iF.Z)(y.map(e=>h[e])),T=op(l),S=l.getElementsByClassName(iX),v=l.getElementsByClassName(i1),A=(0,rA.ZP)(v,e=>e.__data__.key.split("-")[0]),O=new nX.x1({style:Object.assign({x1:0,y1:0,x2:0,y2:T.getAttribute("height"),stroke:"black",lineWidth:1},rD(i,"rule"))}),_=new nX.xv({style:Object.assign({x:0,y:T.getAttribute("height"),text:"",fontSize:10},rD(i,"label"))});O.append(_),T.appendChild(O);let k=(e,t,n)=>{let[r]=e.invert(n),a=t.invert(r);return E[(0,i3.ZR)(E,a)]},I=(e,t)=>{O.setAttribute("x1",e[0]),O.setAttribute("x2",e[0]),_.setAttribute("text",a(t))},C=e=>{let{scale:t,coordinate:n}=o,{x:r,y:a}=t,i=k(n,r,e);for(let t of(I(e,i),S)){let{seriesIndex:e,key:r}=t.__data__,o=e[(0,fq.Z)(e=>h[+e]).center(e,i)],s=[0,a.map(1)],l=[0,a.map(m[o]/m[e[0]])],[,c]=n.map(s),[,u]=n.map(l),p=c-u;t.setAttribute("transform",`translate(0, ${p})`);let d=A.get(r)||[];for(let e of d)e.setAttribute("dy",p)}},N=fV(e=>{let t=of(T,e);t&&C(t)},t,{leading:n,trailing:r});return(e=>{var t,n,r,a;return t=this,n=void 0,r=void 0,a=function*(){let{x:t}=d,n=k(f,t,e);I(e,n),u("chartIndex",e=>{let t=(0,rv.Z)({},e),r=t.marks.find(e=>"line"===e.type),a=(0,rQ.Z)((0,rA.jJ)(y,e=>(0,rQ.Z)(e,e=>+m[e])/(0,sh.Z)(e,e=>+m[e]),e=>b[e]).values());(0,rv.Z)(r,{scale:{y:{domain:[1/a,a]}}});let i=function(e){let{transform:t=[]}=e,n=t.find(e=>"normalizeY"===e.type);if(n)return n;let r={type:"normalizeY"};return t.push(r),e.transform=t,r}(r);for(let e of(i.groupBy="color",i.basis=(e,t)=>{let r=e[(0,fq.Z)(e=>h[+e]).center(e,n)];return t[r]},t.marks))e.animate=!1;return t});let r=yield c("chartIndex");o=r.view},new(r||(r=Promise))(function(e,i){function o(e){try{l(a.next(e))}catch(e){i(e)}}function s(e){try{l(a.throw(e))}catch(e){i(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof r?n:new r(function(e){e(n)})).then(o,s)}l((a=a.apply(t,n||[])).next())})})([0,0]),T.addEventListener("pointerenter",N),T.addEventListener("pointermove",N),T.addEventListener("pointerleave",N),()=>{O.remove(),T.removeEventListener("pointerenter",N),T.removeEventListener("pointermove",N),T.removeEventListener("pointerleave",N)}}}fX.props={reapplyWhenUpdate:!0};var fQ=n(18320),fJ=n(71894),f0=n(8612),f1=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function f2(e,t){if(t)return"string"==typeof t?document.querySelector(t):t;let n=e.ownerDocument.defaultView.getContextService().getDomElement();return n.parentElement}function f3({root:e,data:t,x:n,y:r,render:a,event:i,single:o,position:s="right-bottom",enterable:l=!1,css:c,mount:u,bounding:p,offset:d}){let f=f2(e,u),g=f2(e),m=o?g:e,h=p||function(e){let t=e.getRenderBounds(),{min:[n,r],max:[a,i]}=t;return{x:n,y:r,width:a-n,height:i-r}}(e),b=function(e,t){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:n.x-r.x,y:n.y-r.y}}(g,f),{tooltipElement:y=function(e,t,n,r,a,i,o,s={},l=[10,10]){let c=new f0.u({className:"tooltip",style:{x:t,y:n,container:o,data:[],bounding:i,position:r,enterable:a,title:"",offset:l,template:{prefixCls:"g2-"},style:(0,rv.Z)({".g2-tooltip":{},".g2-tooltip-title":{overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},s)}});return e.appendChild(c.HTMLTooltipElement),c}(f,n,r,s,l,h,b,c,d)}=m,{items:E,title:T=""}=t;y.update(Object.assign({x:n,y:r,data:E,title:T,position:s,enterable:l},void 0!==a&&{content:a(i,{items:E,title:T})})),m.tooltipElement=y}function f4({root:e,single:t,emitter:n,nativeEvent:r=!0,event:a=null}){r&&n.emit("tooltip:hide",{nativeEvent:r});let i=f2(e),o=t?i:e,{tooltipElement:s}=o;s&&s.hide(null==a?void 0:a.clientX,null==a?void 0:a.clientY),ge(e),gt(e),gn(e)}function f5({root:e,single:t}){let n=f2(e),r=t?n:e;if(!r)return;let{tooltipElement:a}=r;a&&(a.destroy(),r.tooltipElement=void 0),ge(e),gt(e),gn(e)}function f6(e){let{value:t}=e;return Object.assign(Object.assign({},e),{value:void 0===t?"undefined":t})}function f9(e){let t=e.getAttribute("fill"),n=e.getAttribute("stroke"),{__data__:r}=e,{color:a=t&&"transparent"!==t?t:n}=r;return a}function f8(e,t=e=>e){let n=new Map(e.map(e=>[t(e),e]));return Array.from(n.values())}function f7(e,t,n,r=e.map(e=>e.__data__),a={}){let i=e=>e instanceof Date?+e:e,o=f8(r.map(e=>e.title),i).filter(rL),s=r.flatMap((r,i)=>{let o=e[i],{items:s=[],title:l}=r,c=s.filter(rL),u=void 0!==n?n:s.length<=1;return c.map(e=>{var{color:n=f9(o)||a.color,name:i}=e,s=f1(e,["color","name"]);let c=function(e,t){let{color:n,series:r,facet:a=!1}=e,{color:i,series:o}=t;if(r&&r.invert&&!(r instanceof p2.t)&&!(r instanceof aM)){let e=r.clone();return e.invert(o)}if(o&&r instanceof p2.t&&r.invert(o)!==i&&!a)return r.invert(o);if(n&&n.invert&&!(n instanceof p2.t)&&!(n instanceof aM)){let e=n.invert(i);return Array.isArray(e)?null:e}return null}(t,r);return Object.assign(Object.assign({},s),{color:n,name:(u?c||i:i||c)||l})})}).map(f6);return Object.assign(Object.assign({},o.length>0&&{title:o.join(",")}),{items:f8(s,e=>`(${i(e.name)}, ${i(e.value)}, ${i(e.color)})`)})}function ge(e){e.ruleY&&(e.ruleY.remove(),e.ruleY=void 0)}function gt(e){e.ruleX&&(e.ruleX.remove(),e.ruleX=void 0)}function gn(e){e.markers&&(e.markers.forEach(e=>e.remove()),e.markers=[])}function gr(e,t){return Array.from(e.values()).some(e=>{var n;return null===(n=e.interaction)||void 0===n?void 0:n[t]})}function ga(e,t){return void 0===e?t:e}function gi(e){let{title:t,items:n}=e;return 0===n.length&&void 0===t}function go(e,t){var{elements:n,sort:r,filter:a,scale:i,coordinate:o,crosshairs:s,crosshairsX:l,crosshairsY:c,render:u,groupName:p,emitter:d,wait:f=50,leading:g=!0,trailing:m=!1,startX:h=0,startY:b=0,body:y=!0,single:E=!0,position:T,enterable:S,mount:v,bounding:A,theme:O,offset:_,disableNative:k=!1,marker:I=!0,preserve:C=!1,style:N={},css:w={}}=t,x=f1(t,["elements","sort","filter","scale","coordinate","crosshairs","crosshairsX","crosshairsY","render","groupName","emitter","wait","leading","trailing","startX","startY","body","single","position","enterable","mount","bounding","theme","offset","disableNative","marker","preserve","style","css"]);let R=n(e),L=r9(o),D=r8(o),P=(0,rv.Z)(N,x),{innerWidth:M,innerHeight:F,width:B,height:j,insetLeft:U,insetTop:H}=o.getOptions(),G=[],z=[];for(let e of R){let{__data__:t}=e,{seriesX:n,title:r,items:a}=t;n?G.push(e):(r||a)&&z.push(e)}let $=z.length&&z.every(e=>"interval"===e.markType)&&!r8(o),W=e=>e.__data__.x,Z=!!i.x.getBandWidth,Y=Z&&z.length>0;G.sort((e,t)=>{let n=L?0:1,r=e=>e.getBounds().min[n];return L?r(t)-r(e):r(e)-r(t)});let V=e=>{let t=L?1:0,{min:n,max:r}=e.getLocalBounds();return(0,iF.Z)([n[t],r[t]])};$?R.sort((e,t)=>W(e)-W(t)):z.sort((e,t)=>{let[n,r]=V(e),[a,i]=V(t),o=(n+r)/2,s=(a+i)/2;return L?s-o:o-s});let q=new Map(G.map(e=>{let{__data__:t}=e,{seriesX:n}=t,r=n.map((e,t)=>t),a=(0,iF.Z)(r,e=>n[+e]);return[e,[a,n]]})),{x:K}=i,X=(null==K?void 0:K.getBandWidth)?K.getBandWidth()/2:0,Q=e=>{let[t]=o.invert(e);return t-X},J=(e,t,n,r)=>{let{_x:a}=e,i=void 0!==a?K.map(a):Q(t),o=r.filter(rL),[s,l]=(0,iF.Z)([o[0],o[o.length-1]]);if(!Y&&(il)&&s!==l)return null;let c=(0,fq.Z)(e=>r[+e]).center,u=c(n,i);return n[u]},ee=$?(e,t)=>{let n=(0,fq.Z)(W).center,r=n(t,Q(e)),a=t[r],i=(0,rA.ZP)(t,W),o=i.get(W(a));return o}:(e,t)=>{let n=L?1:0,r=e[n],a=t.filter(e=>{let[t,n]=V(e);return r>=t&&r<=n});if(!Y||a.length>0)return a;let i=(0,fq.Z)(e=>{let[t,n]=V(e);return(t+n)/2}).center,o=i(t,r);return[t[o]].filter(rL)},et=(e,t)=>{let{__data__:n}=e;return Object.fromEntries(Object.entries(n).filter(([e])=>e.startsWith("series")&&"series"!==e).map(([e,n])=>{let r=n[t];return[rk(e.replace("series","")),r]}))},en=fV(t=>{var n;let f=of(e,t);if(!f)return;let g=od(e),m=g.min[0],k=g.min[1],C=[f[0]-h,f[1]-b];if(!C)return;let N=ee(C,z),x=[],R=[];for(let e of G){let[n,r]=q.get(e),a=J(t,C,n,r);if(null!==a){x.push(e);let t=et(e,a),{x:n,y:r}=t,i=o.map([(n||0)+X,r||0]);R.push([Object.assign(Object.assign({},t),{element:e}),i])}}let $=Array.from(new Set(R.map(e=>e[0].x))),W=$[(0,fQ.Z)($,e=>Math.abs(e-Q(C)))],Z=R.filter(e=>e[0].x===W),Y=[...Z.map(e=>e[0]),...N.map(e=>e.__data__)],V=[...x,...N],K=f7(V,i,p,Y,O);if(r&&K.items.sort((e,t)=>r(e)-r(t)),a&&(K.items=K.items.filter(a)),0===V.length||gi(K)){er(t);return}if(y&&f3({root:e,data:K,x:f[0]+m,y:f[1]+k,render:u,event:t,single:E,position:T,enterable:S,mount:v,bounding:A,css:w,offset:_}),s||l||c){let t=rD(P,"crosshairs"),n=Object.assign(Object.assign({},t),rD(P,"crosshairsX")),r=Object.assign(Object.assign({},t),rD(P,"crosshairsY")),a=Z.map(e=>e[1]);l&&function(e,t,n,r){var{plotWidth:a,plotHeight:i,mainWidth:o,mainHeight:s,startX:l,startY:c,transposed:u,polar:p,insetLeft:d,insetTop:f}=r,g=f1(r,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);let m=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},g),h=((e,t)=>{if(1===t.length)return t[0];let n=t.map(t=>it(t,e)),r=(0,fQ.Z)(n,e=>e);return t[r]})(n,t);if(p){let[t,n,r]=(()=>{let e=l+d+o/2,t=c+f+s/2,n=it([e,t],h);return[e,t,n]})(),a=e.ruleX||((t,n,r)=>{let a=new nX.Cd({style:Object.assign({cx:t,cy:n,r},m)});return e.appendChild(a),a})(t,n,r);a.style.cx=t,a.style.cy=n,a.style.r=r,e.ruleX=a}else{let[t,n,r,o]=u?[l+h[0],l+h[0],c,c+i]:[l,l+a,h[1]+c,h[1]+c],s=e.ruleX||((t,n,r,a)=>{let i=new nX.x1({style:Object.assign({x1:t,x2:n,y1:r,y2:a},m)});return e.appendChild(i),i})(t,n,r,o);s.style.x1=t,s.style.x2=n,s.style.y1=r,s.style.y2=o,e.ruleX=s}}(e,a,f,Object.assign(Object.assign({},n),{plotWidth:M,plotHeight:F,mainWidth:B,mainHeight:j,insetLeft:U,insetTop:H,startX:h,startY:b,transposed:L,polar:D})),c&&function(e,t,n){var{plotWidth:r,plotHeight:a,mainWidth:i,mainHeight:o,startX:s,startY:l,transposed:c,polar:u,insetLeft:p,insetTop:d}=n,f=f1(n,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);let g=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},f),m=t.map(e=>e[1]),h=t.map(e=>e[0]),b=(0,fJ.Z)(m),y=(0,fJ.Z)(h),[E,T,S,v]=(()=>{if(u){let e=Math.min(i,o)/2,t=s+p+i/2,n=l+d+o/2,r=ir(ie([y,b],[t,n])),a=t+e*Math.cos(r),c=n+e*Math.sin(r);return[t,a,n,c]}return c?[s,s+r,b+l,b+l]:[y+s,y+s,l,l+a]})();if(h.length>0){let t=e.ruleY||(()=>{let t=new nX.x1({style:Object.assign({x1:E,x2:T,y1:S,y2:v},g)});return e.appendChild(t),t})();t.style.x1=E,t.style.x2=T,t.style.y1=S,t.style.y2=v,e.ruleY=t}}(e,a,Object.assign(Object.assign({},r),{plotWidth:M,plotHeight:F,mainWidth:B,mainHeight:j,insetLeft:U,insetTop:H,startX:h,startY:b,transposed:L,polar:D}))}if(I){let t=rD(P,"marker");!function(e,{data:t,style:n,theme:r}){e.markers&&e.markers.forEach(e=>e.remove());let{type:a=""}=n,i=t.filter(e=>{let[{x:t,y:n}]=e;return rL(t)&&rL(n)}).map(e=>{let[{color:t,element:i},o]=e,s=t||i.style.fill||i.style.stroke||r.color,l=new nX.Cd({className:"g2-tooltip-marker",style:Object.assign({cx:o[0],cy:o[1],fill:"hollow"===a?"transparent":s,r:4,stroke:"hollow"===a?s:"#fff",lineWidth:2},n)});return l});for(let t of i)e.appendChild(t);e.markers=i}(e,{data:Z,style:t,theme:O})}let en=null===(n=Z[0])||void 0===n?void 0:n[0].x,ea=null!=en?en:Q(C);d.emit("tooltip:show",Object.assign(Object.assign({},t),{nativeEvent:!0,data:{data:{x:i5(i.x,ea,!0)}}}))},f,{leading:g,trailing:m}),er=t=>{f4({root:e,single:E,emitter:d,event:t})},ea=()=>{f5({root:e,single:E})},ei=t=>{var n,{nativeEvent:r,data:a,offsetX:s,offsetY:l}=t,c=f1(t,["nativeEvent","data","offsetX","offsetY"]);if(r)return;let u=null===(n=null==a?void 0:a.data)||void 0===n?void 0:n.x,p=i.x,d=p.map(u),[f,g]=o.map([d,.5]),m=e.getRenderBounds(),h=m.min[0],b=m.min[1];en(Object.assign(Object.assign({},c),{offsetX:void 0!==s?s:h+f,offsetY:void 0!==l?l:b+g,_x:u}))},eo=()=>{f4({root:e,single:E,emitter:d,nativeEvent:!1})},es=()=>{eu(),ea()},el=()=>{ec()},ec=()=>{k||(e.addEventListener("pointerenter",en),e.addEventListener("pointermove",en),e.addEventListener("pointerleave",t=>{of(e,t)||er(t)}))},eu=()=>{k||(e.removeEventListener("pointerenter",en),e.removeEventListener("pointermove",en),e.removeEventListener("pointerleave",er))};return ec(),d.on("tooltip:show",ei),d.on("tooltip:hide",eo),d.on("tooltip:disable",es),d.on("tooltip:enable",el),()=>{eu(),d.off("tooltip:show",ei),d.off("tooltip:hide",eo),d.off("tooltip:disable",es),d.off("tooltip:enable",el),C?f4({root:e,single:E,emitter:d,nativeEvent:!1}):ea()}}function gs(e){let{shared:t,crosshairs:n,crosshairsX:r,crosshairsY:a,series:i,name:o,item:s=()=>({}),facet:l=!1}=e,c=f1(e,["shared","crosshairs","crosshairsX","crosshairsY","series","name","item","facet"]);return(e,o,u)=>{let{container:p,view:d}=e,{scale:f,markState:g,coordinate:m,theme:h}=d,b=gr(g,"seriesTooltip"),y=gr(g,"crosshairs"),E=op(p),T=ga(i,b),S=ga(n,y);if(T&&Array.from(g.values()).some(e=>{var t;return(null===(t=e.interaction)||void 0===t?void 0:t.seriesTooltip)&&e.tooltip})&&!l)return go(E,Object.assign(Object.assign({},c),{theme:h,elements:ol,scale:f,coordinate:m,crosshairs:S,crosshairsX:ga(ga(r,n),!1),crosshairsY:ga(a,S),item:s,emitter:u}));if(T&&l){let t=o.filter(t=>t!==e&&t.options.parentKey===e.options.key),i=oc(e,o),l=t[0].view.scale,p=E.getBounds(),d=p.min[0],f=p.min[1];return Object.assign(l,{facet:!0}),go(E.parentNode.parentNode,Object.assign(Object.assign({},c),{theme:h,elements:()=>i,scale:l,coordinate:m,crosshairs:ga(n,y),crosshairsX:ga(ga(r,n),!1),crosshairsY:ga(a,S),item:s,startX:d,startY:f,emitter:u}))}return function(e,{elements:t,coordinate:n,scale:r,render:a,groupName:i,sort:o,filter:s,emitter:l,wait:c=50,leading:u=!0,trailing:p=!1,groupKey:d=e=>e,single:f=!0,position:g,enterable:m,datum:h,view:b,mount:y,bounding:E,theme:T,offset:S,shared:v=!1,body:A=!0,disableNative:O=!1,preserve:_=!1,css:k={}}){var I,C;let N=t(e),w=(0,rA.ZP)(N,d),x=N.every(e=>"interval"===e.markType)&&!r8(n),R=r.x,L=r.series,D=null!==(C=null===(I=null==R?void 0:R.getBandWidth)||void 0===I?void 0:I.call(R))&&void 0!==C?C:0,P=L?e=>e.__data__.x+e.__data__.series*D:e=>e.__data__.x+D/2;x&&N.sort((e,t)=>P(e)-P(t));let M=e=>{let{target:t}=e;return ow(t,e=>!!e.classList&&e.classList.includes("element"))},F=x?t=>{let r=of(e,t);if(!r)return;let[a]=n.invert(r),i=(0,fq.Z)(P).center,o=i(N,a),s=N[o];if(!v){let e=N.find(e=>e!==s&&P(e)===P(s));if(e)return M(t)}return s}:M,B=fV(t=>{let n=F(t);if(!n){f4({root:e,single:f,emitter:l,event:t});return}let c=d(n),u=w.get(c);if(!u)return;let p=1!==u.length||v?f7(u,r,i,void 0,T):function(e){let{__data__:t}=e,{title:n,items:r=[]}=t,a=r.filter(rL).map(t=>{var{color:n=f9(e)}=t;return Object.assign(Object.assign({},f1(t,["color"])),{color:n})}).map(f6);return Object.assign(Object.assign({},n&&{title:n}),{items:a})}(u[0]);if(o&&p.items.sort((e,t)=>o(e)-o(t)),s&&(p.items=p.items.filter(s)),gi(p)){f4({root:e,single:f,emitter:l,event:t});return}let{offsetX:h,offsetY:O}=t;A&&f3({root:e,data:p,x:h,y:O,render:a,event:t,single:f,position:g,enterable:m,mount:y,bounding:E,css:k,offset:S}),l.emit("tooltip:show",Object.assign(Object.assign({},t),{nativeEvent:!0,data:{data:ox(n,b)}}))},c,{leading:u,trailing:p}),j=t=>{f4({root:e,single:f,emitter:l,event:t})},U=()=>{O||(e.addEventListener("pointermove",B),e.addEventListener("pointerleave",j))},H=()=>{O||(e.removeEventListener("pointermove",B),e.removeEventListener("pointerleave",j))},G=({nativeEvent:t,offsetX:n,offsetY:r,data:a})=>{if(t)return;let{data:i}=a,o=ok(N,i,h);if(!o)return;let s=o.getBBox(),{x:l,y:c,width:u,height:p}=s,d=e.getBBox();B({target:o,offsetX:void 0!==n?n+d.x:l+u/2,offsetY:void 0!==r?r+d.y:c+p/2})},z=({nativeEvent:t}={})=>{t||f4({root:e,single:f,emitter:l,nativeEvent:!1})};return l.on("tooltip:show",G),l.on("tooltip:hide",z),l.on("tooltip:enable",()=>{U()}),l.on("tooltip:disable",()=>{H(),f5({root:e,single:f})}),U(),()=>{H(),l.off("tooltip:show",G),l.off("tooltip:hide",z),_?f4({root:e,single:f,emitter:l,nativeEvent:!1}):f5({root:e,single:f})}}(E,Object.assign(Object.assign({},c),{datum:ob(d),elements:ol,scale:f,coordinate:m,groupKey:t?oh(d):void 0,item:s,emitter:u,view:d,theme:h,shared:t}))}}gs.props={reapplyWhenUpdate:!0};var gl=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};let gc="legend-category";function gu(e){return e.getElementsByClassName("legend-category-item-marker")[0]}function gp(e){return e.getElementsByClassName("legend-category-item-label")[0]}function gd(e){return e.getElementsByClassName("items-item")}function gf(e){return e.getElementsByClassName(gc)}function gg(e){return e.getElementsByClassName("legend-continuous")}function gm(e){let t=e.parentNode;for(;t&&!t.__data__;)t=t.parentNode;return t.__data__}function gh(e,{legend:t,channel:n,value:r,ordinal:a,channels:i,allChannels:o,facet:s=!1}){return gl(this,void 0,void 0,function*(){let{view:l,update:c,setState:u}=e;u(t,e=>{let{marks:t}=e,c=t.map(e=>{if("legends"===e.type)return e;let{transform:t=[],data:c=[]}=e,u=t.findIndex(({type:e})=>e.startsWith("group")||e.startsWith("bin")),p=[...t];c.length&&p.splice(u+1,0,{type:"filter",[n]:{value:r,ordinal:a}});let d=Object.fromEntries(i.map(e=>[e,{domain:l.scale[e].getOptions().domain}]));return(0,rv.Z)({},e,Object.assign(Object.assign({transform:p,scale:d},!a&&{animate:!1}),{legend:!s&&Object.fromEntries(o.map(e=>[e,{preserve:!0}]))}))});return Object.assign(Object.assign({},e),{marks:c})}),yield c()})}function gb(e,t){for(let n of e)gh(n,Object.assign(Object.assign({},t),{facet:!0}))}var gy=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function gE(e,t){for(let[n,r]of Object.entries(t))e.style(n,r)}let gT=iT(e=>{let t=e.attributes,{x:n,y:r,width:a,height:i,class:o,renders:s={},handleSize:l=10,document:c}=t,u=gy(t,["x","y","width","height","class","renders","handleSize","document"]);if(!c||void 0===a||void 0===i||void 0===n||void 0===r)return;let p=l/2,d=(e,t,n)=>{e.handle||(e.handle=n.createElement("rect"),e.append(e.handle));let{handle:r}=e;return r.attr(t),r},f=rD(rM(u,"handleNW","handleNE"),"handleN"),{render:g=d}=f,m=gy(f,["render"]),h=rD(u,"handleE"),{render:b=d}=h,y=gy(h,["render"]),E=rD(rM(u,"handleSE","handleSW"),"handleS"),{render:T=d}=E,S=gy(E,["render"]),v=rD(u,"handleW"),{render:A=d}=v,O=gy(v,["render"]),_=rD(u,"handleNW"),{render:k=d}=_,I=gy(_,["render"]),C=rD(u,"handleNE"),{render:N=d}=C,w=gy(C,["render"]),x=rD(u,"handleSE"),{render:R=d}=x,L=gy(x,["render"]),D=rD(u,"handleSW"),{render:P=d}=D,M=gy(D,["render"]),F=(e,t)=>{let{id:n}=e,r=t(e,e.attributes,c);r.id=n,r.style.draggable=!0},B=e=>()=>{let t=iT(t=>F(t,e));return new t({})},j=rU(e).attr("className",o).style("transform",`translate(${n}, ${r})`).style("draggable",!0);j.maybeAppend("selection","rect").style("draggable",!0).style("fill","transparent").call(gE,Object.assign(Object.assign({width:a,height:i},rM(u,"handle")),{transform:void 0})),j.maybeAppend("handle-n",B(g)).style("x",p).style("y",-p).style("width",a-l).style("height",l).style("fill","transparent").call(gE,m),j.maybeAppend("handle-e",B(b)).style("x",a-p).style("y",p).style("width",l).style("height",i-l).style("fill","transparent").call(gE,y),j.maybeAppend("handle-s",B(T)).style("x",p).style("y",i-p).style("width",a-l).style("height",l).style("fill","transparent").call(gE,S),j.maybeAppend("handle-w",B(A)).style("x",-p).style("y",p).style("width",l).style("height",i-l).style("fill","transparent").call(gE,O),j.maybeAppend("handle-nw",B(k)).style("x",-p).style("y",-p).style("width",l).style("height",l).style("fill","transparent").call(gE,I),j.maybeAppend("handle-ne",B(N)).style("x",a-p).style("y",-p).style("width",l).style("height",l).style("fill","transparent").call(gE,w),j.maybeAppend("handle-se",B(R)).style("x",a-p).style("y",i-p).style("width",l).style("height",l).style("fill","transparent").call(gE,L),j.maybeAppend("handle-sw",B(P)).style("x",-p).style("y",i-p).style("width",l).style("height",l).style("fill","transparent").call(gE,M)});function gS(e,t){var{brushed:n=()=>{},brushended:r=()=>{},brushcreated:a=()=>{},brushstarted:i=()=>{},brushupdated:o=()=>{},extent:s=function(e){let{width:t,height:n}=e.getBBox();return[0,0,t,n]}(e),brushRegion:l=(e,t,n,r,a)=>[e,t,n,r],reverse:c=!1,fill:u="#777",fillOpacity:p="0.3",stroke:d="#fff",selectedHandles:f=["handle-n","handle-e","handle-s","handle-w","handle-nw","handle-ne","handle-se","handle-sw"]}=t,g=gy(t,["brushed","brushended","brushcreated","brushstarted","brushupdated","extent","brushRegion","reverse","fill","fillOpacity","stroke","selectedHandles"]);let m=null,h=null,b=null,y=null,E=null,T=!1,[S,v,A,O]=s;o_(e,"crosshair"),e.style.draggable=!0;let _=(e,t,n)=>{if(i(n),y&&y.remove(),E&&E.remove(),m=[e,t],c)return k();I()},k=()=>{E=new nX.y$({style:Object.assign(Object.assign({},g),{fill:u,fillOpacity:p,stroke:d,pointerEvents:"none"})}),y=new gT({style:{x:0,y:0,width:0,height:0,draggable:!0,document:e.ownerDocument},className:"mask"}),e.appendChild(E),e.appendChild(y)},I=()=>{y=new gT({style:Object.assign(Object.assign({document:e.ownerDocument,x:0,y:0},g),{fill:u,fillOpacity:p,stroke:d,draggable:!0}),className:"mask"}),e.appendChild(y)},C=(e=!0)=>{y&&y.remove(),E&&E.remove(),m=null,h=null,b=null,T=!1,y=null,E=null,r(e)},N=(e,t,r=!0)=>{let[a,i,o,u]=function(e,t,n,r,a){let[i,o,s,l]=a;return[Math.max(i,Math.min(e,n)),Math.max(o,Math.min(t,r)),Math.min(s,Math.max(e,n)),Math.min(l,Math.max(t,r))]}(e[0],e[1],t[0],t[1],s),[p,d,f,g]=l(a,i,o,u,s);return c?x(p,d,f,g):w(p,d,f,g),n(p,d,f,g,r),[p,d,f,g]},w=(e,t,n,r)=>{y.style.x=e,y.style.y=t,y.style.width=n-e,y.style.height=r-t},x=(e,t,n,r)=>{E.style.d=` - M${S},${v}L${A},${v}L${A},${O}L${S},${O}Z - M${e},${t}L${e},${r}L${n},${r}L${n},${t}Z - `,y.style.x=e,y.style.y=t,y.style.width=n-e,y.style.height=r-t},R=e=>{let t=(e,t,n,r,a)=>e+ta?a-n:e,n=e[0]-b[0],r=e[1]-b[1],a=t(n,m[0],h[0],S,A),i=t(r,m[1],h[1],v,O),o=[m[0]+a,m[1]+i],s=[h[0]+a,h[1]+i];N(o,s)},L={"handle-n":{vector:[0,1,0,0],cursor:"ns-resize"},"handle-e":{vector:[0,0,1,0],cursor:"ew-resize"},"handle-s":{vector:[0,0,0,1],cursor:"ns-resize"},"handle-w":{vector:[1,0,0,0],cursor:"ew-resize"},"handle-nw":{vector:[1,1,0,0],cursor:"nwse-resize"},"handle-ne":{vector:[0,1,1,0],cursor:"nesw-resize"},"handle-se":{vector:[0,0,1,1],cursor:"nwse-resize"},"handle-sw":{vector:[1,0,0,1],cursor:"nesw-resize"}},D=e=>M(e)||P(e),P=e=>{let{id:t}=e;return -1!==f.indexOf(t)&&new Set(Object.keys(L)).has(t)},M=e=>e===y.getElementById("selection"),F=t=>{let{target:n}=t,[r,a]=og(e,t);if(!y||!D(n)){_(r,a,t),T=!0;return}D(n)&&(b=[r,a])},B=t=>{let{target:n}=t,r=og(e,t);if(!m)return;if(!b)return N(m,r);if(M(n))return R(r);let[a,i]=[r[0]-b[0],r[1]-b[1]],{id:o}=n;if(L[o]){let[e,t,n,r]=L[o].vector;return N([m[0]+a*e,m[1]+i*t],[h[0]+a*n,h[1]+i*r])}},j=t=>{if(b){b=null;let{x:e,y:n,width:r,height:a}=y.style;m=[e,n],h=[e+r,n+a],o(e,n,e+r,n+a,t);return}h=og(e,t);let[n,r,i,s]=N(m,h);T=!1,a(n,r,i,s,t)},U=e=>{let{target:t}=e;y&&!D(t)&&C()},H=t=>{let{target:n}=t;y&&D(n)&&!T?M(n)?o_(e,"move"):P(n)&&o_(e,L[n.id].cursor):o_(e,"crosshair")},G=()=>{o_(e,"default")};return e.addEventListener("dragstart",F),e.addEventListener("drag",B),e.addEventListener("dragend",j),e.addEventListener("click",U),e.addEventListener("pointermove",H),e.addEventListener("pointerleave",G),{mask:y,move(e,t,n,r,a=!0){y||_(e,t,{}),m=[e,t],h=[n,r],N([e,t],[n,r],a)},remove(e=!0){y&&C(e)},destroy(){y&&C(!1),o_(e,"default"),e.removeEventListener("dragstart",F),e.removeEventListener("drag",B),e.removeEventListener("dragend",j),e.removeEventListener("click",U),e.removeEventListener("pointermove",H),e.removeEventListener("pointerleave",G)}}}function gv(e,t,n){return t.filter(t=>{if(t===e)return!1;let{interaction:r={}}=t.options;return Object.values(r).find(e=>e.brushKey===n)})}function gA(e,t){var{elements:n,selectedHandles:r,siblings:a=e=>[],datum:i,brushRegion:o,extent:s,reverse:l,scale:c,coordinate:u,series:p=!1,key:d=e=>e,bboxOf:f=e=>{let{x:t,y:n,width:r,height:a}=e.style;return{x:t,y:n,width:r,height:a}},state:g={},emitter:m}=t,h=gy(t,["elements","selectedHandles","siblings","datum","brushRegion","extent","reverse","scale","coordinate","series","key","bboxOf","state","emitter"]);let b=n(e),y=a(e),E=y.flatMap(n),T=oS(b,i),S=rD(h,"mask"),{setState:v,removeState:A}=oy(g,T),O=new Map,{width:_,height:k,x:I=0,y:C=0}=f(e),N=()=>{for(let e of[...b,...E])A(e,"active","inactive")},w=(e,t,n,r)=>{var a;for(let e of y)null===(a=e.brush)||void 0===a||a.remove();let i=new Set;for(let a of b){let{min:o,max:s}=a.getLocalBounds(),[l,c]=o,[u,p]=s;!function(e,t){let[n,r,a,i]=e,[o,s,l,c]=t;return!(o>a||li||c{for(let e of b)A(e,"inactive");for(let e of O.values())e.remove();O.clear()},R=(t,n,r,a)=>{let i=e=>{let t=e.cloneNode();return t.__data__=e.__data__,e.parentNode.appendChild(t),O.set(e,t),t},o=new nX.UL({style:{x:t+I,y:n+C,width:r-t,height:a-n}});for(let t of(e.appendChild(o),b)){let e=O.get(t)||i(t);e.style.clipPath=o,v(t,"inactive"),v(e,"active")}},L=gS(e,Object.assign(Object.assign({},S),{extent:s||[0,0,_,k],brushRegion:o,reverse:l,selectedHandles:r,brushended:e=>{let t=p?x:N;e&&m.emit("brush:remove",{nativeEvent:!0}),t()},brushed:(e,t,n,r,a)=>{let i=i9(e,t,n,r,c,u);a&&m.emit("brush:highlight",{nativeEvent:!0,data:{selection:i}});let o=p?R:w;o(e,t,n,r)},brushcreated:(e,t,n,r,a)=>{let i=i9(e,t,n,r,c,u);m.emit("brush:end",Object.assign(Object.assign({},a),{nativeEvent:!0,data:{selection:i}}))},brushupdated:(e,t,n,r,a)=>{let i=i9(e,t,n,r,c,u);m.emit("brush:end",Object.assign(Object.assign({},a),{nativeEvent:!0,data:{selection:i}}))},brushstarted:e=>{m.emit("brush:start",e)}})),D=({nativeEvent:e,data:t})=>{if(e)return;let{selection:n}=t,[r,a,i,o]=function(e,t,n){let{x:r,y:a}=t,[i,o]=e,s=i8(i,r),l=i8(o,a),c=[s[0],l[0]],u=[s[1],l[1]],[p,d]=n.map(c),[f,g]=n.map(u);return[p,d,f,g]}(n,c,u);L.move(r,a,i,o,!1)};m.on("brush:highlight",D);let P=({nativeEvent:e}={})=>{e||L.remove(!1)};m.on("brush:remove",P);let M=L.destroy.bind(L);return L.destroy=()=>{m.off("brush:highlight",D),m.off("brush:remove",P),M()},L}function gO(e){var{facet:t,brushKey:n}=e,r=gy(e,["facet","brushKey"]);return(e,a,i)=>{let{container:o,view:s,options:l}=e,c=op(o),u={maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",reverse:!1},p=["active",["inactive",{opacity:.5}]],{scale:d,coordinate:f}=s;if(t){let t=c.getBounds(),n=t.min[0],o=t.min[1],s=t.max[0],l=t.max[1];return gA(c.parentNode.parentNode,Object.assign(Object.assign({elements:()=>oc(e,a),datum:ob(ou(e,a).map(e=>e.view)),brushRegion:(e,t,n,r)=>[e,t,n,r],extent:[n,o,s,l],state:oT(ou(e,a).map(e=>e.options),p),emitter:i,scale:d,coordinate:f,selectedHandles:void 0},u),r))}let g=gA(c,Object.assign(Object.assign({elements:ol,key:e=>e.__data__.key,siblings:()=>gv(e,a,n).map(e=>op(e.container)),datum:ob([s,...gv(e,a,n).map(e=>e.view)]),brushRegion:(e,t,n,r)=>[e,t,n,r],extent:void 0,state:oT([l,...gv(e,a,n).map(e=>e.options)],p),emitter:i,scale:d,coordinate:f,selectedHandles:void 0},u),r));return c.brush=g,()=>g.destroy()}}function g_(e,t,n,r,a){let[,i,,o]=a;return[e,i,n,o]}function gk(e,t,n,r,a){let[i,,o]=a;return[i,t,o,r]}var gI=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let gC="axis-hot-area";function gN(e){return e.getElementsByClassName("axis")}function gw(e){return e.getElementsByClassName("axis-line")[0]}function gx(e){return e.getElementsByClassName("axis-main-group")[0].getLocalBounds()}function gR(e,t){var{cross:n,offsetX:r,offsetY:a}=t,i=gI(t,["cross","offsetX","offsetY"]);let o=gx(e),s=gw(e),[l]=s.getLocalBounds().min,[c,u]=o.min,[p,d]=o.max,f=(p-c)*2;return{brushRegion:gk,hotZone:new nX.UL({className:gC,style:Object.assign({width:n?f/2:f,transform:`translate(${(n?c:l-f/2).toFixed(2)}, ${u})`,height:d-u},i)}),extent:n?(e,t,n,r)=>[-1/0,t,1/0,r]:(e,t,n,a)=>[Math.floor(c-r),t,Math.ceil(p-r),a]}}function gL(e,t){var{offsetY:n,offsetX:r,cross:a=!1}=t,i=gI(t,["offsetY","offsetX","cross"]);let o=gx(e),s=gw(e),[,l]=s.getLocalBounds().min,[c,u]=o.min,[p,d]=o.max,f=d-u;return{brushRegion:g_,hotZone:new nX.UL({className:gC,style:Object.assign({width:p-c,height:a?f:2*f,transform:`translate(${c}, ${a?u:l-f})`},i)}),extent:a?(e,t,n,r)=>[e,-1/0,n,1/0]:(e,t,r,a)=>[e,Math.floor(u-n),r,Math.ceil(d-n)]}}var gD=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function gP(e){var{hideX:t=!0,hideY:n=!0}=e,r=gD(e,["hideX","hideY"]);return(e,a,i)=>{let{container:o,view:s,options:l,update:c,setState:u}=e,p=op(o),d=!1,f=!1,g=s,{scale:m,coordinate:h}=s;return function(e,t){var{filter:n,reset:r,brushRegion:a,extent:i,reverse:o,emitter:s,scale:l,coordinate:c,selection:u,series:p=!1}=t,d=gD(t,["filter","reset","brushRegion","extent","reverse","emitter","scale","coordinate","selection","series"]);let f=rD(d,"mask"),{width:g,height:m}=e.getBBox(),h=function(e=300){let t=null;return n=>{let{timeStamp:r}=n;return null!==t&&r-t{if(e)return;let{selection:r}=t;n(r,{nativeEvent:!1})};return s.on("brush:filter",E),()=>{b.destroy(),s.off("brush:filter",E),e.removeEventListener("click",y)}}(p,Object.assign(Object.assign({brushRegion:(e,t,n,r)=>[e,t,n,r],selection:(e,t,n,r)=>{let{scale:a,coordinate:i}=g;return i9(e,t,n,r,a,i)},filter:(e,r)=>{var a,o,s,p;return a=this,o=void 0,s=void 0,p=function*(){if(f)return;f=!0;let[a,o]=e;u("brushFilter",e=>{let{marks:r}=e,i=r.map(e=>(0,rv.Z)({axis:Object.assign(Object.assign({},t&&{x:{transform:[{type:"hide"}]}}),n&&{y:{transform:[{type:"hide"}]}})},e,{scale:{x:{domain:a,nice:!1},y:{domain:o,nice:!1}}}));return Object.assign(Object.assign({},l),{marks:i,clip:!0})}),i.emit("brush:filter",Object.assign(Object.assign({},r),{data:{selection:[a,o]}}));let s=yield c();g=s.view,f=!1,d=!0},new(s||(s=Promise))(function(e,t){function n(e){try{i(p.next(e))}catch(e){t(e)}}function r(e){try{i(p.throw(e))}catch(e){t(e)}}function i(t){var a;t.done?e(t.value):((a=t.value)instanceof s?a:new s(function(e){e(a)})).then(n,r)}i((p=p.apply(a,o||[])).next())})},reset:e=>{if(f||!d)return;let{scale:t}=s,{x:n,y:r}=t,a=n.getOptions().domain,o=r.getOptions().domain;i.emit("brush:filter",Object.assign(Object.assign({},e),{data:{selection:[a,o]}})),d=!1,g=s,u("brushFilter"),c()},extent:void 0,emitter:i,scale:m,coordinate:h},{maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",unhighlightedOpacity:.5,reverse:!1}),r))}}var gM=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};function gF(e){return[e[0],e[e.length-1]]}function gB({initDomain:e={},className:t="slider",prefix:n="slider",setValue:r=(e,t)=>e.setValues(t),hasState:a=!1,wait:i=50,leading:o=!0,trailing:s=!1,getInitValues:l=e=>{var t;let n=null===(t=null==e?void 0:e.attributes)||void 0===t?void 0:t.values;if(0!==n[0]||1!==n[1])return n}}){return(c,u,p)=>{let{container:d,view:f,update:g,setState:m}=c,h=d.getElementsByClassName(t);if(!h.length)return()=>{};let b=!1,{scale:y,coordinate:E,layout:T}=f,{paddingLeft:S,paddingTop:v,paddingBottom:A,paddingRight:O}=T,{x:_,y:k}=y,I=r9(E),C=e=>{let t="vertical"===e?"y":"x",n="vertical"===e?"x":"y";return I?[n,t]:[t,n]},N=new Map,w=new Set,x={x:e.x||_.getOptions().domain,y:e.y||k.getOptions().domain};for(let e of h){let{orientation:t}=e.attributes,[c,u]=C(t),d=`${n}${r$(c)}:filter`,f="x"===c,{ratio:h}=_.getOptions(),{ratio:E}=k.getOptions(),T=e=>{if(e.data){let{selection:t}=e.data,[n=gF(x.x),r=gF(x.y)]=t;return f?[i6(_,n,h),i6(k,r,E)]:[i6(k,r,E),i6(_,n,h)]}let{value:n}=e.detail,r=y[c],a=function(e,t,n){let[r,a]=e,i=n?e=>1-e:e=>e,o=i5(t,i(r),!0),s=i5(t,i(a),!1);return i6(t,[o,s])}(n,r,I&&"horizontal"===t),i=x[u];return[a,i]},R=fV(t=>gM(this,void 0,void 0,function*(){let{initValue:r=!1}=t;if(b&&!r)return;b=!0;let{nativeEvent:i=!0}=t,[o,s]=T(t);if(x[c]=o,x[u]=s,i){let e=f?o:s,n=f?s:o;p.emit(d,Object.assign(Object.assign({},t),{nativeEvent:i,data:{selection:[gF(e),gF(n)]}}))}m(e,e=>Object.assign(Object.assign({},function(e,t,n,r=!1,a="x",i="y"){let{marks:o}=e,s=o.map(e=>{var o,s;return(0,rv.Z)({axis:{x:{transform:[{type:"hide"}]},y:{transform:[{type:"hide"}]}}},e,{scale:t,[n]:Object.assign(Object.assign({},(null===(o=e[n])||void 0===o?void 0:o[a])&&{[a]:Object.assign({preserve:!0},r&&{ratio:null})}),(null===(s=e[n])||void 0===s?void 0:s[i])&&{[i]:{preserve:!0}}),animate:!1})});return Object.assign(Object.assign({},e),{marks:s,clip:!0,animate:!1})}(e,{[c]:{domain:o,nice:!1}},n,a,c,u)),{paddingLeft:S,paddingTop:v,paddingBottom:A,paddingRight:O})),yield g(),b=!1}),i,{leading:o,trailing:s}),L=t=>{let{nativeEvent:n}=t;if(n)return;let{data:a}=t,{selection:i}=a,[o,s]=i;e.dispatchEvent(new nX.Aw("valuechange",{data:a,nativeEvent:!1}));let l=f?i8(o,_):i8(s,k);r(e,l)};p.on(d,L),e.addEventListener("valuechange",R),N.set(e,R),w.add([d,L]);let D=l(e);D&&e.dispatchEvent(new nX.Aw("valuechange",{detail:{value:D},nativeEvent:!1,initValue:!0}))}return()=>{for(let[e,t]of N)e.removeEventListener("valuechange",t);for(let[e,t]of w)p.off(e,t)}}}let gj="g2-scrollbar";var gU=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let gH={backgroundColor:"rgba(0,0,0,0.75)",color:"#fff",width:"max-content",padding:"1px 4px",fontSize:"12px",borderRadius:"2.5px",boxShadow:"0 3px 6px -4px rgba(0,0,0,0.12), 0 6px 16px 0 rgba(0,0,0,0.08), 0 9px 28px 8px rgba(0,0,0,0.05)"};function gG(e){return"text"===e.nodeName&&!!e.isOverflowing()}function gz(e){var{offsetX:t=8,offsetY:n=8}=e,r=gU(e,["offsetX","offsetY"]);return e=>{let{container:a}=e,[i,o]=a.getBounds().min,s=rD(r,"tip"),l=new Set,c=e=>{let{target:r}=e;if(!gG(r)){e.stopPropagation();return}let{offsetX:c,offsetY:u}=e,p=c+t-i,d=u+n-o;if(r.tip){r.tip.style.x=p,r.tip.style.y=d;return}let{text:f}=r.style,g=new nX.k9({className:"poptip",style:{innerHTML:`
    ${f}
    `,x:p,y:d}});a.appendChild(g),r.tip=g,l.add(g)},u=e=>{let{target:t}=e;if(!gG(t)){e.stopPropagation();return}t.tip&&(t.tip.remove(),t.tip=null,l.delete(t.tip))};return a.addEventListener("pointerover",c),a.addEventListener("pointerout",u),()=>{a.removeEventListener("pointerover",c),a.removeEventListener("pointerout",u),l.forEach(e=>e.remove())}}}gz.props={reapplyWhenUpdate:!0};var g$=function(e,t){var n=lR(t),r=n.length;if((0,rO.Z)(e))return!r;for(var a=0;a{e(t)})}(o):function e(t,n=[t.data.name]){t.id=t.id||t.data.name,t.path=n,t.children&&t.children.forEach(r=>{r.id=`${t.id}/${r.data.name}`,r.path=[...n,r.data.name],e(r,r.path)})}(o),a?o.sum(e=>t.ignoreParentValue&&e.children?0:cm(a)(e)).sort(t.sort):o.count(),(0,gQ.Z)().tile(i).size(t.size).round(t.round).paddingInner(t.paddingInner).paddingOuter(t.paddingOuter).paddingTop(t.paddingTop).paddingRight(t.paddingRight).paddingBottom(t.paddingBottom).paddingLeft(t.paddingLeft)(o);let s=o.descendants().map(e=>Object.assign(e,{id:e.id.replace(/^\//,""),x:[e.x0,e.x1],y:[e.y0,e.y1]})),l=s.filter("function"==typeof t.layer?t.layer:e=>e.height===t.layer);return[l,s]}var g0=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let g1={breadCrumbFill:"rgba(0, 0, 0, 0.85)",breadCrumbFontSize:12,breadCrumbY:12,activeFill:"rgba(0, 0, 0, 0.5)"};var g2=n(71154),g3=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})},g4=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let g5={pointR:6,pointStrokeWidth:1,pointStroke:"#888",pointActiveStroke:"#f5f5f5",pathStroke:"#888",pathLineDash:[3,4],labelFontSize:12,labelFill:"#888",labelStroke:"#fff",labelLineWidth:1,labelY:-6,labelX:2},g6="movePoint",g9=e=>{let t=e.target,{markType:n}=t;"line"===n&&(t.attr("_lineWidth",t.attr("lineWidth")||1),t.attr("lineWidth",t.attr("_lineWidth")+3)),"interval"===n&&(t.attr("_opacity",t.attr("opacity")||1),t.attr("opacity",.7*t.attr("_opacity")))},g8=e=>{let t=e.target,{markType:n}=t;"line"===n&&t.attr("lineWidth",t.attr("_lineWidth")),"interval"===n&&t.attr("opacity",t.attr("_opacity"))},g7=(e,t,n)=>t.map(t=>{let r=["x","color"].reduce((r,a)=>{let i=n[a];return i?t[i]===e[i]&&r:r},!0);return r?Object.assign(Object.assign({},t),e):t}),me=e=>{let t=(0,lm.Z)(e,["__data__","y"]),n=(0,lm.Z)(e,["__data__","y1"]),r=n-t,{__data__:{data:a,encode:i,transform:o},childNodes:s}=e.parentNode,l=gW(o,({type:e})=>"normalizeY"===e),c=(0,lm.Z)(i,["y","field"]),u=a[s.indexOf(e)][c];return(e,t=!1)=>l||t?e/(1-e)/(r/(1-r))*u:e},mt=(e,t)=>{let n=(0,lm.Z)(e,["__data__","seriesItems",t,"0","value"]),r=(0,lm.Z)(e,["__data__","seriesIndex",t]),{__data__:{data:a,encode:i,transform:o}}=e.parentNode,s=gW(o,({type:e})=>"normalizeY"===e),l=(0,lm.Z)(i,["y","field"]),c=a[r][l];return e=>s?1===n?e:e/(1-e)/(n/(1-n))*c:e},mn=(e,t,n)=>{e.forEach((e,r)=>{e.attr("stroke",t[1]===r?n.activeStroke:n.stroke)})},mr=(e,t,n,r)=>{let a=new nX.y$({style:n}),i=new nX.xv({style:r});return t.appendChild(i),e.appendChild(a),[a,i]},ma=(e,t)=>{let n=(0,lm.Z)(e,["options","range","indexOf"]);if(!n)return;let r=e.options.range.indexOf(t);return e.sortedDomain[r]},mi=(e,t,n)=>{let r=oI(e,t),a=oI(e,n),i=a/r,o=e[0]+(t[0]-e[0])*i,s=e[1]+(t[1]-e[1])*i;return[o,s]};var mo=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ms=()=>e=>{let{children:t}=e;if(!Array.isArray(t))return[];let{x:n=0,y:r=0,width:a,height:i,data:o}=e;return t.map(e=>{var{data:t,x:s,y:l,width:c,height:u}=e;return Object.assign(Object.assign({},mo(e,["data","x","y","width","height"])),{data:a9(t,o),x:null!=s?s:n,y:null!=l?l:r,width:null!=c?c:a,height:null!=u?u:i})})};ms.props={};var ml=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let mc=()=>e=>{let{children:t}=e;if(!Array.isArray(t))return[];let{direction:n="row",ratio:r=t.map(()=>1),padding:a=0,data:i}=e,[o,s,l,c]="col"===n?["y","height","width","x"]:["x","width","height","y"],u=r.reduce((e,t)=>e+t),p=e[s]-a*(t.length-1),d=r.map(e=>p*(e/u)),f=[],g=e[o]||0;for(let n=0;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let md=a5(e=>{let{encode:t,data:n,scale:r,shareSize:a=!1}=e,{x:i,y:o}=t,s=(e,t)=>{var i;if(void 0===e||!a)return{};let o=(0,rA.ZP)(n,t=>t[e]),s=(null===(i=null==r?void 0:r[t])||void 0===i?void 0:i.domain)||Array.from(o.keys()),l=s.map(e=>o.has(e)?o.get(e).length:1);return{domain:s,flex:l}};return{scale:{x:Object.assign(Object.assign({paddingOuter:0,paddingInner:.1,guide:void 0===i?null:{position:"top"}},void 0===i&&{paddingInner:0}),s(i,"x")),y:Object.assign(Object.assign({range:[0,1],paddingOuter:0,paddingInner:.1,guide:void 0===o?null:{position:"right"}},void 0===o&&{paddingInner:0}),s(o,"y"))}}}),mf=a6(e=>{let t,n,r;let{data:a,scale:i,legend:o}=e,s=[e];for(;s.length;){let e=s.shift(),{children:a,encode:i={},scale:o={},legend:l={}}=e,{color:c}=i,{color:u}=o,{color:p}=l;void 0!==c&&(t=c),void 0!==u&&(n=u),void 0!==p&&(r=p),Array.isArray(a)&&s.push(...a)}let l="string"==typeof t?t:"",[c,u]=(()=>{var e;let n=null===(e=null==i?void 0:i.color)||void 0===e?void 0:e.domain;if(void 0!==n)return[n];if(void 0===t)return[void 0];let r="function"==typeof t?t:e=>e[t],o=a.map(r);return o.some(e=>"number"==typeof e)?[(0,ad.Z)(o)]:[Array.from(new Set(o)),"ordinal"]})();return Object.assign({encode:{color:{type:"column",value:null!=c?c:[]}},scale:{color:(0,rv.Z)({},n,{domain:c,type:u})}},void 0===o&&{legend:{color:(0,rv.Z)({title:l},r)}})}),mg=a5(()=>({animate:{enterType:"fadeIn"}})),mm=a6(()=>({frame:!1,encode:{shape:"hollow"},style:{lineWidth:0}})),mh=a6(()=>({type:"cell"})),mb=a6(e=>{let{data:t}=e;return{data:{type:"inline",value:t,transform:[{type:"custom",callback:()=>{let{data:t,encode:n}=e,{x:r,y:a}=n,i=r?Array.from(new Set(t.map(e=>e[r]))):[],o=a?Array.from(new Set(t.map(e=>e[a]))):[];return(()=>{if(i.length&&o.length){let e=[];for(let t of i)for(let n of o)e.push({[r]:t,[a]:n});return e}return i.length?i.map(e=>({[r]:e})):o.length?o.map(e=>({[a]:e})):void 0})()}}]}}}),my=a6((e,t=mE,n=mS,r=mv,a={})=>{let{data:i,encode:o,children:s,scale:l,x:c=0,y:u=0,shareData:p=!1,key:d}=e,{value:f}=i,{x:g,y:m}=o,{color:h}=l,{domain:b}=h;return{children:(e,i,o)=>{let{x:l,y:h}=i,{paddingLeft:y,paddingTop:E,marginLeft:T,marginTop:S}=o,{domain:v}=l.getOptions(),{domain:A}=h.getOptions(),O=rY(e),_=e.map(t),k=e.map(({x:e,y:t})=>[l.invert(e),h.invert(t)]),I=k.map(([e,t])=>n=>{let{[g]:r,[m]:a}=n;return(void 0===g||r===e)&&(void 0===m||a===t)}),C=I.map(e=>f.filter(e)),N=p?(0,rQ.Z)(C,e=>e.length):void 0,w=k.map(([e,t])=>({columnField:g,columnIndex:v.indexOf(e),columnValue:e,columnValuesLength:v.length,rowField:m,rowIndex:A.indexOf(t),rowValue:t,rowValuesLength:A.length})),x=w.map(e=>Array.isArray(s)?s:[s(e)].flat(1));return O.flatMap(e=>{let[t,i,o,s]=_[e],l=w[e],p=C[e],h=x[e];return h.map(h=>{var v,A,{scale:O,key:_,facet:k=!0,axis:I={},legend:C={}}=h,w=mp(h,["scale","key","facet","axis","legend"]);let x=(null===(v=null==O?void 0:O.y)||void 0===v?void 0:v.guide)||I.y,R=(null===(A=null==O?void 0:O.x)||void 0===A?void 0:A.guide)||I.x,L=k?p:0===p.length?[]:f,D={x:mA(R,n)(l,L),y:mA(x,r)(l,L)};return Object.assign(Object.assign({key:`${_}-${e}`,data:L,margin:0,x:t+y+c+T,y:i+E+u+S,parentKey:d,width:o,height:s,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!!L.length,dataDomain:N,scale:(0,rv.Z)({x:{tickCount:g?5:void 0},y:{tickCount:m?5:void 0}},O,{color:{domain:b}}),axis:(0,rv.Z)({},I,D),legend:!1},w),a)})})}}});function mE(e){let{points:t}=e;return io(t)}function mT(e,t){return t.length?(0,rv.Z)({title:!1,tick:null,label:null},e):(0,rv.Z)({title:!1,tick:null,label:null,grid:null},e)}function mS(e){return(t,n)=>{let{rowIndex:r,rowValuesLength:a,columnIndex:i,columnValuesLength:o}=t;if(r!==a-1)return mT(e,n);let s=n.length?void 0:null;return(0,rv.Z)({title:i===o-1&&void 0,grid:s},e)}}function mv(e){return(t,n)=>{let{rowIndex:r,columnIndex:a}=t;if(0!==a)return mT(e,n);let i=n.length?void 0:null;return(0,rv.Z)({title:0===r&&void 0,grid:i},e)}}function mA(e,t){return"function"==typeof e?e:null===e||!1===e?()=>null:t(e)}let mO=()=>e=>{let t=mu.of(e).call(mh).call(mf).call(mg).call(md).call(mm).call(mb).call(my).value();return[t]};mO.props={};var m_=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let mk=a5(e=>({scale:{x:{guide:null,paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),mI=a6(e=>{let{data:t,children:n,x:r=0,y:a=0,key:i}=e;return{children:(e,o,s)=>{let{x:l,y:c}=o,{paddingLeft:u,paddingTop:p,marginLeft:d,marginTop:f}=s,{domain:g}=l.getOptions(),{domain:m}=c.getOptions(),h=rY(e),b=e.map(({points:e})=>io(e)),y=e.map(({x:e,y:t})=>[l.invert(e),c.invert(t)]),E=y.map(([e,t])=>({columnField:e,columnIndex:g.indexOf(e),columnValue:e,columnValuesLength:g.length,rowField:t,rowIndex:m.indexOf(t),rowValue:t,rowValuesLength:m.length})),T=E.map(e=>Array.isArray(n)?n:[n(e)].flat(1));return h.flatMap(e=>{let[n,o,s,l]=b[e],[c,g]=y[e],m=E[e],h=T[e];return h.map(h=>{var b,y;let{scale:E,key:T,encode:S,axis:v,interaction:A}=h,O=m_(h,["scale","key","encode","axis","interaction"]),_=null===(b=null==E?void 0:E.y)||void 0===b?void 0:b.guide,k=null===(y=null==E?void 0:E.x)||void 0===y?void 0:y.guide,I={x:("function"==typeof k?k:null===k?()=>null:(e,t)=>{let{rowIndex:n,rowValuesLength:r}=e;if(n!==r-1)return mT(k,t)})(m,t),y:("function"==typeof _?_:null===_?()=>null:(e,t)=>{let{columnIndex:n}=e;if(0!==n)return mT(_,t)})(m,t)};return Object.assign({data:t,parentKey:i,key:`${T}-${e}`,x:n+u+r+d,y:o+p+a+f,width:s,height:l,margin:0,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!0,scale:(0,rv.Z)({x:{facet:!1},y:{facet:!1}},E),axis:(0,rv.Z)({x:{tickCount:5},y:{tickCount:5}},v,I),legend:!1,encode:(0,rv.Z)({},S,{x:c,y:g}),interaction:(0,rv.Z)({},A,{legendFilter:!1})},O)})})}}}),mC=a6(e=>{let{encode:t}=e,n=m_(e,["encode"]),{position:r=[],x:a=r,y:i=[...r].reverse()}=t,o=m_(t,["position","x","y"]),s=[];for(let e of[a].flat(1))for(let t of[i].flat(1))s.push({$x:e,$y:t});return Object.assign(Object.assign({},n),{data:s,encode:Object.assign(Object.assign({},o),{x:"$x",y:"$y"}),scale:Object.assign(Object.assign({},1===[a].flat(1).length&&{x:{paddingInner:0}}),1===[i].flat(1).length&&{y:{paddingInner:0}})})});var mN=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let mw=a5(e=>({scale:{x:{guide:{type:"axisArc"},paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),mx=a5(e=>({coordinate:{type:"polar"}})),mR=e=>{let{encode:t}=e,n=mN(e,["encode"]),{position:r}=t;return Object.assign(Object.assign({},n),{encode:{x:r}})};function mL(e){return e=>null}function mD(e){let{points:t}=e,[n,r,a,i]=t,o=it(n,i),s=ie(n,i),l=ie(r,a),c=ii(s,l),u=1/Math.sin(c/2),p=o/(1+u),d=p*Math.sqrt(2),[f,g]=a,m=ia(s),h=m+c/2,b=p*u;return[f+b*Math.sin(h)-d/2,g-b*Math.cos(h)-d/2,d,d]}let mP=()=>e=>{let{children:t=[],duration:n=1e3,iterationCount:r=1,direction:a="normal",easing:i="ease-in-out-sine"}=e,o=t.length;if(!Array.isArray(t)||0===o)return[];let{key:s}=t[0],l=t.map(e=>Object.assign(Object.assign({},e),{key:s})).map(e=>(function(e,t,n){let r=[e];for(;r.length;){let e=r.pop();e.animate=(0,rv.Z)({enter:{duration:t},update:{duration:t,easing:n,type:"morphing",fill:"both"},exit:{type:"fadeOut",duration:t}},e.animate||{});let{children:a}=e;Array.isArray(a)&&r.push(...a)}return e})(e,n,i));return function*(){let e,t=0;for(;"infinite"===r||t{var t;return[e,null===(t=lX(r,e))||void 0===t?void 0:t[0]]}).filter(([,e])=>rL(e));return Array.from((0,rA.ZP)(t,e=>a.map(([,t])=>t[e]).join("-")).values())}function mF(e){return Array.isArray(e)?(t,n,r)=>(n,r)=>e.reduce((e,a)=>0!==e?e:(0,sb.Z)(t[n][a],t[r][a]),0):"function"==typeof e?(t,n,r)=>m$(n=>e(t[n])):"series"===e?mU:"value"===e?mH:"sum"===e?mG:"maxIndex"===e?mz:null}function mB(e,t){for(let n of e)n.sort(t)}function mj(e,t){return(null==t?void 0:t.domain)||Array.from(new Set(e))}function mU(e,t,n){return m$(e=>n[e])}function mH(e,t,n){return m$(e=>t[e])}function mG(e,t,n){let r=rY(e),a=Array.from((0,rA.ZP)(r,e=>n[+e]).entries()),i=new Map(a.map(([e,n])=>[e,n.reduce((e,n)=>e+ +t[n])]));return m$(e=>i.get(n[e]))}function mz(e,t,n){let r=rY(e),a=Array.from((0,rA.ZP)(r,e=>n[+e]).entries()),i=new Map(a.map(([e,n])=>[e,(0,iA.Z)(n,e=>t[e])]));return m$(e=>i.get(n[e]))}function m$(e){return(t,n)=>(0,sb.Z)(e(t),e(n))}mP.props={};let mW=(e={})=>{let{groupBy:t="x",orderBy:n=null,reverse:r=!1,y:a="y",y1:i="y1",series:o=!0}=e;return(e,s)=>{var l;let{data:c,encode:u,style:p={}}=s,[d,f]=lX(u,"y"),[g,m]=lX(u,"y1"),[h]=o?lQ(u,"series","color"):lX(u,"color"),b=mM(t,e,s),y=null!==(l=mF(n))&&void 0!==l?l:()=>null,E=y(c,d,h);E&&mB(b,E);let T=Array(e.length),S=Array(e.length),v=Array(e.length),A=[],O=[];for(let e of b){r&&e.reverse();let t=g?+g[e[0]]:0,n=[],a=[];for(let r of e){let e=v[r]=+d[r]-t;e<0?a.push(r):e>=0&&n.push(r)}let i=n.length>0?n:a,o=a.length>0?a:n,s=n.length-1,l=0;for(;s>0&&0===d[i[s]];)s--;for(;l0?u=T[e]=(S[e]=u)+t:T[e]=S[e]=u}}let _=new Set(A),k=new Set(O),I="y"===a?T:S,C="y"===i?T:S;return[e,(0,rv.Z)({},s,{encode:{y0:lV(d,f),y:lY(I,f),y1:lY(C,m)},style:Object.assign({first:(e,t)=>_.has(t),last:(e,t)=>k.has(t)},p)})]}};mW.props={};var mZ=n(52362),mY=n(87568),mV=n(76132),mq=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function mK(e){return t=>null===t?e:`${e} of ${t}`}function mX(){let e=mK("mean");return[(e,t)=>(0,fJ.Z)(e,e=>+t[e]),e]}function mQ(){let e=mK("median");return[(e,t)=>(0,mV.Z)(e,e=>+t[e]),e]}function mJ(){let e=mK("max");return[(e,t)=>(0,rQ.Z)(e,e=>+t[e]),e]}function m0(){let e=mK("min");return[(e,t)=>(0,sh.Z)(e,e=>+t[e]),e]}function m1(){let e=mK("count");return[(e,t)=>e.length,e]}function m2(){let e=mK("sum");return[(e,t)=>(0,rX.Z)(e,e=>+t[e]),e]}function m3(){let e=mK("first");return[(e,t)=>t[e[0]],e]}function m4(){let e=mK("last");return[(e,t)=>t[e[e.length-1]],e]}let m5=(e={})=>{let{groupBy:t}=e,n=mq(e,["groupBy"]);return(e,r)=>{let{data:a,encode:i}=r,o=t(e,r);if(!o)return[e,r];let s=(e,t)=>{if(e)return e;let{from:n}=t;if(!n)return e;let[,r]=lX(i,n);return r},l=Object.entries(n).map(([e,t])=>{let[n,r]=function(e){if("function"==typeof e)return[e,null];let t={mean:mX,max:mJ,count:m1,first:m3,last:m4,sum:m2,min:m0,median:mQ}[e];if(!t)throw Error(`Unknown reducer: ${e}.`);return t()}(t),[l,c]=lX(i,e),u=s(c,t),p=o.map(e=>n(e,null!=l?l:a));return[e,Object.assign(Object.assign({},function(e,t){let n=lY(e,t);return Object.assign(Object.assign({},n),{constant:!1})}(p,(null==r?void 0:r(u))||u)),{aggregate:!0})]}),c=Object.keys(i).map(e=>{let[t,n]=lX(i,e),r=o.map(e=>t[e[0]]);return[e,lY(r,n)]}),u=o.map(e=>a[e[0]]),p=rY(o);return[p,(0,rv.Z)({},r,{data:u,encode:Object.fromEntries([...c,...l])})]}};m5.props={};var m6=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let m9="thresholds",m8=(e={})=>{let{groupChannels:t=["color"],binChannels:n=["x","y"]}=e,r=m6(e,["groupChannels","binChannels"]),a={};return m5(Object.assign(Object.assign(Object.assign({},Object.fromEntries(Object.entries(r).filter(([e])=>!e.startsWith(m9)))),Object.fromEntries(n.flatMap(e=>{let t=([t])=>+a[e].get(t).split(",")[1];return t.from=e,[[e,([t])=>+a[e].get(t).split(",")[0]],[`${e}1`,t]]}))),{groupBy:(e,i)=>{let{encode:o}=i,s=n.map(e=>{let[t]=lX(o,e);return t}),l=rD(r,m9),c=e.filter(e=>s.every(t=>rL(t[e]))),u=[...t.map(e=>{let[t]=lX(o,e);return t}).filter(rL).map(e=>t=>e[t]),...n.map((e,t)=>{let n=s[t],r=l[e]||function(e){let[t,n]=(0,ad.Z)(e);return Math.min(200,(0,mZ.Z)(e,t,n))}(n),i=(0,mY.Z)().thresholds(r).value(e=>+n[e])(c),o=new Map(i.flatMap(e=>{let{x0:t,x1:n}=e,r=`${t},${n}`;return e.map(e=>[e,r])}));return a[e]=o,e=>o.get(e)})];return Array.from((0,rA.ZP)(c,e=>u.map(t=>t(e)).join("-")).values())}}))};m8.props={};let m7=(e={})=>{let{thresholds:t}=e;return m8(Object.assign(Object.assign({},e),{thresholdsX:t,groupChannels:["color"],binChannels:["x"]}))};m7.props={};var he=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ht=(e={})=>{let{groupBy:t="x",reverse:n=!1,orderBy:r,padding:a}=e;return he(e,["groupBy","reverse","orderBy","padding"]),(e,i)=>{let{data:o,encode:s,scale:l}=i,{series:c}=l,[u]=lX(s,"y"),[p]=lQ(s,"series","color"),d=mj(p,c),f=(0,rv.Z)({},i,{scale:{series:{domain:d,paddingInner:a}}}),g=mM(t,e,i),m=mF(r);if(!m)return[e,(0,rv.Z)(f,{encode:{series:lY(p)}})];let h=m(o,u,p);h&&mB(g,h);let b=Array(e.length);for(let e of g){n&&e.reverse();for(let t=0;t{let{padding:t=0,paddingX:n=t,paddingY:r=t,random:a=Math.random}=e;return(e,t)=>{let{encode:i,scale:o}=t,{x:s,y:l}=o,[c]=lX(i,"x"),[u]=lX(i,"y"),p=hn(c,s,n),d=hn(u,l,r),f=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(a(),...d)),g=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(a(),...p));return[e,(0,rv.Z)({scale:{x:{padding:.5},y:{padding:.5}}},t,{encode:{dy:lY(f),dx:lY(g)}})]}};hr.props={};let ha=(e={})=>{let{padding:t=0,random:n=Math.random}=e;return(e,r)=>{let{encode:a,scale:i}=r,{x:o}=i,[s]=lX(a,"x"),l=hn(s,o,t),c=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(n(),...l));return[e,(0,rv.Z)({scale:{x:{padding:.5}}},r,{encode:{dx:lY(c)}})]}};ha.props={};let hi=(e={})=>{let{padding:t=0,random:n=Math.random}=e;return(e,r)=>{let{encode:a,scale:i}=r,{y:o}=i,[s]=lX(a,"y"),l=hn(s,o,t),c=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(n(),...l));return[e,(0,rv.Z)({scale:{y:{padding:.5}}},r,{encode:{dy:lY(c)}})]}};hi.props={};var ho=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let hs=(e={})=>{let{groupBy:t="x"}=e;return(e,n)=>{let{encode:r}=n,{x:a}=r,i=ho(r,["x"]),o=Object.entries(i).filter(([e])=>e.startsWith("y")).map(([e])=>[e,lX(r,e)[0]]),s=o.map(([t])=>[t,Array(e.length)]),l=mM(t,e,n),c=Array(l.length);for(let e=0;eo.map(([,t])=>+t[e])),[r,a]=(0,ad.Z)(n);c[e]=(r+a)/2}let u=Math.max(...c);for(let e=0;e[e,lY(t,lX(r,e)[1])]))})]}};hs.props={};let hl=(e={})=>{let{groupBy:t="x",series:n=!0}=e;return(e,r)=>{let{encode:a}=r,[i]=lX(a,"y"),[o,s]=lX(a,"y1"),[l]=n?lQ(a,"series","color"):lX(a,"color"),c=mM(t,e,r),u=Array(e.length);for(let e of c){let t=e.map(e=>+i[e]);for(let n=0;nt!==n));u[r]=+i[r]>a?a:i[r]}}return[e,(0,rv.Z)({},r,{encode:{y1:lY(u,s)}})]}};hl.props={};let hc=e=>{let{groupBy:t=["x"],reducer:n=(e,t)=>t[e[0]],orderBy:r=null,reverse:a=!1,duration:i}=e;return(e,o)=>{let{encode:s}=o,l=Array.isArray(t)?t:[t],c=l.map(e=>[e,lX(s,e)[0]]);if(0===c.length)return[e,o];let u=[e];for(let[,e]of c){let t=[];for(let n of u){let r=Array.from((0,rA.ZP)(n,t=>e[t]).values());t.push(...r)}u=t}if(r){let[e]=lX(s,r);e&&u.sort((t,r)=>n(t,e)-n(r,e)),a&&u.reverse()}let p=(i||3e3)/u.length,[d]=i?[lK(e,p)]:lQ(s,"enterDuration",lK(e,p)),[f]=lQ(s,"enterDelay",lK(e,0)),g=Array(e.length);for(let e=0,t=0;e+d[e]);for(let e of n)g[e]=+f[e]+t;t+=r}return[e,(0,rv.Z)({},o,{encode:{enterDuration:lq(d),enterDelay:lq(g)}})]}};hc.props={};var hu=n(93209),hp=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let hd=(e={})=>{let{groupBy:t="x",basis:n="max"}=e;return(e,r)=>{let{encode:a,tooltip:i}=r,{x:o}=a,s=hp(a,["x"]),l=Object.entries(s).filter(([e])=>e.startsWith("y")).map(([e])=>[e,lX(a,e)[0]]),[,c]=l.find(([e])=>"y"===e),u=l.map(([t])=>[t,Array(e.length)]),p=mM(t,e,r),d="function"==typeof n?n:({min:(e,t)=>(0,sh.Z)(e,e=>t[+e]),max:(e,t)=>(0,rQ.Z)(e,e=>t[+e]),first:(e,t)=>t[e[0]],last:(e,t)=>t[e[e.length-1]],mean:(e,t)=>(0,fJ.Z)(e,e=>t[+e]),median:(e,t)=>(0,mV.Z)(e,e=>t[+e]),sum:(e,t)=>(0,rX.Z)(e,e=>t[+e]),deviation:(e,t)=>(0,hu.Z)(e,e=>t[+e])})[n]||rQ.Z;for(let e of p){let t=d(e,c);for(let n of e)for(let e=0;e[e,lY(t,lX(a,e)[1])]))},!f&&a.y0&&{tooltip:{items:[{channel:"y0"}]}}))]}};function hf(e,t){return[e[0]]}function hg(e,t){let n=e.length-1;return[e[n]]}function hm(e,t){let n=(0,iA.Z)(e,e=>t[e]);return[e[n]]}function hh(e,t){let n=(0,fQ.Z)(e,e=>t[e]);return[e[n]]}hd.props={};let hb=(e={})=>{let{groupBy:t="series",channel:n,selector:r}=e;return(e,a)=>{let{encode:i}=a,o=mM(t,e,a),[s]=lX(i,n),l="function"==typeof r?r:({first:hf,last:hg,max:hm,min:hh})[r]||hf;return[o.flatMap(e=>l(e,s)),a]}};hb.props={};var hy=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let hE=(e={})=>{let{selector:t}=e,n=hy(e,["selector"]);return hb(Object.assign({channel:"x",selector:t},n))};hE.props={};var hT=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let hS=(e={})=>{let{selector:t}=e,n=hT(e,["selector"]);return hb(Object.assign({channel:"y",selector:t},n))};hS.props={};var hv=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let hA=(e={})=>{let{channels:t=["x","y"]}=e,n=hv(e,["channels"]);return m5(Object.assign(Object.assign({},n),{groupBy:(e,n)=>mM(t,e,n)}))};hA.props={};let hO=(e={})=>hA(Object.assign(Object.assign({},e),{channels:["x","color","series"]}));hO.props={};let h_=(e={})=>hA(Object.assign(Object.assign({},e),{channels:["y","color","series"]}));h_.props={};let hk=(e={})=>hA(Object.assign(Object.assign({},e),{channels:["color"]}));hk.props={};var hI=n(28085),hC=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let hN=(e={})=>{let{reverse:t=!1,slice:n,channel:r,ordinal:a=!0}=e,i=hC(e,["reverse","slice","channel","ordinal"]);return(e,o)=>a?function(e,t,n){var r;let{reverse:a,slice:i,channel:o}=n,s=hC(n,["reverse","slice","channel"]),{encode:l,scale:c={}}=t,u=null===(r=c[o])||void 0===r?void 0:r.domain,[p]=lX(l,o),d=function(e,t,n){let{by:r=e,reducer:a="max"}=t,[i]=lX(n,r);if("function"==typeof a)return e=>a(e,i);if("max"===a)return e=>(0,rQ.Z)(e,e=>+i[e]);if("min"===a)return e=>(0,sh.Z)(e,e=>+i[e]);if("sum"===a)return e=>(0,rX.Z)(e,e=>+i[e]);if("median"===a)return e=>(0,mV.Z)(e,e=>+i[e]);if("mean"===a)return e=>(0,fJ.Z)(e,e=>+i[e]);if("first"===a)return e=>i[e[0]];if("last"===a)return e=>i[e[e.length-1]];throw Error(`Unknown reducer: ${a}`)}(o,s,l),f=function(e,t,n){if(!Array.isArray(n))return e;let r=new Set(n);return e.filter(e=>r.has(t[e]))}(e,p,u),g=(0,hI.Z)(f,d,e=>p[e]);a&&g.reverse();let m=i?g.slice(..."number"==typeof i?[0,i]:i):g;return[e,(0,rv.Z)(t,{scale:{[o]:{domain:m}}})]}(e,o,Object.assign({reverse:t,slice:n,channel:r},i)):function(e,t,n){let{reverse:r,channel:a}=n,{encode:i}=t,[o]=lX(i,a),s=(0,iF.Z)(e,e=>o[e]);return r&&s.reverse(),[s,t]}(e,o,Object.assign({reverse:t,slice:n,channel:r},i))};hN.props={};let hw=(e={})=>hN(Object.assign(Object.assign({},e),{channel:"x"}));hw.props={};let hx=(e={})=>hN(Object.assign(Object.assign({},e),{channel:"y"}));hx.props={};let hR=(e={})=>hN(Object.assign(Object.assign({},e),{channel:"color"}));hR.props={};let hL=(e={})=>{let{field:t,channel:n="y",reducer:r="sum"}=e;return(e,a)=>{let{data:i,encode:o}=a,[s]=lX(o,"x"),l=t?"string"==typeof t?i.map(e=>e[t]):i.map(t):lX(o,n)[0],c=function(e,t){if("function"==typeof e)return n=>e(n,t);if("sum"===e)return e=>(0,rX.Z)(e,e=>+t[e]);throw Error(`Unknown reducer: ${e}`)}(r,l),u=(0,rA.Q3)(e,c,e=>s[e]).map(e=>e[1]);return[e,(0,rv.Z)({},a,{scale:{x:{flex:u}}})]}};hL.props={};let hD=e=>(t,n)=>[t,(0,rv.Z)({},n,{modifier:function(e){let{padding:t=0,direction:n="col"}=e;return(e,r,a)=>{let i=e.length;if(0===i)return[];let{innerWidth:o,innerHeight:s}=a,l=Math.ceil(Math.sqrt(r/(s/o))),c=o/l,u=Math.ceil(r/l),p=u*c;for(;p>s;)l+=1,c=o/l,p=(u=Math.ceil(r/l))*c;let d=s-u*c,f=u<=1?0:d/(u-1),[g,m]=u<=1?[(o-i*c)/(i-1),(s-c)/2]:[0,0];return e.map((e,r)=>{let[a,i,o,s]=io(e),p="col"===n?r%l:Math.floor(r/u),h="col"===n?Math.floor(r/l):r%u,b=p*c,y=(u-h-1)*c+d,E=(c-t)/o,T=(c-t)/s;return`translate(${b-a+g*p+.5*t}, ${y-i-f*h-m+.5*t}) scale(${E}, ${T})`})}}(e),axis:!1})];hD.props={};var hP=n(80091);function hM(e,t,n,r){let a,i,o;let s=e.length;if(r>=s||0===r)return e;let l=n=>1*t[e[n]],c=t=>1*n[e[t]],u=[],p=(s-2)/(r-2),d=0;u.push(d);for(let e=0;ea&&(a=i,o=m);u.push(o),d=o}return u.push(s-1),u.map(t=>e[t])}let hF=(e={})=>{let{strategy:t="median",thresholds:n=2e3,groupBy:r=["series","color"]}=e,a=function(e){if("function"==typeof e)return e;if("lttb"===e)return hM;let t={first:e=>[e[0]],last:e=>[e[e.length-1]],min:(e,t,n)=>[e[(0,fQ.Z)(e,e=>n[e])]],max:(e,t,n)=>[e[(0,iA.Z)(e,e=>n[e])]],median:(e,t,n)=>[e[(0,hP.medianIndex)(e,e=>n[e])]]},n=t[e]||t.median;return(e,t,r,a)=>{let i=Math.max(1,Math.floor(e.length/a)),o=function(e,t){let n=e.length,r=[],a=0;for(;an(e,t,r))}}(t);return(e,t)=>{let{encode:i}=t,o=mM(r,e,t),[s]=lX(i,"x"),[l]=lX(i,"y");return[o.flatMap(e=>a(e,s,l,n)),t]}};hF.props={};let hB=(e={})=>(t,n)=>{let{encode:r,data:a}=n,i=Object.entries(e).map(([e,t])=>{let[n]=lX(r,e);if(!n)return null;let[a,i=!0]="object"==typeof t?[t.value,t.ordinal]:[t,!0];if("function"==typeof a)return e=>a(n[e]);if(i){let e=Array.isArray(a)?a:[a];return 0===e.length?null:t=>e.includes(n[t])}{let[e,t]=a;return r=>n[r]>=e&&n[r]<=t}}).filter(rL),o=t.filter(e=>i.every(t=>t(e))),s=o.map((e,t)=>t);if(0===i.length){let e=function(e){var t;let n;let{encode:r}=e,a=Object.assign(Object.assign({},e),{encode:Object.assign(Object.assign({},e.encode),{y:Object.assign(Object.assign({},e.encode.y),{value:[]})})}),i=null===(t=null==r?void 0:r.color)||void 0===t?void 0:t.field;if(!r||!i)return a;for(let[e,t]of Object.entries(r))("x"===e||"y"===e)&&t.field===i&&(n=Object.assign(Object.assign({},n),{[e]:Object.assign(Object.assign({},t),{value:[]})}));return n?Object.assign(Object.assign({},e),{encode:Object.assign(Object.assign({},e.encode),n)}):a}(n);return[t,e]}let l=Object.entries(r).map(([e,t])=>[e,Object.assign(Object.assign({},t),{value:s.map(e=>t.value[o[e]]).filter(e=>void 0!==e)})]);return[s,(0,rv.Z)({},n,{encode:Object.fromEntries(l),data:o.map(e=>a[e])})]};hB.props={};var hj=n(42132),hU=n(6586);let hH=e=>{let{value:t,format:n=t.split(".").pop(),delimiter:r=",",autoType:a=!0}=e;return()=>{var e,i,o,s;return e=void 0,i=void 0,o=void 0,s=function*(){let e=yield fetch(t);if("csv"===n){let t=yield e.text();return(0,hj.Z)(r).parse(t,a?hU.Z:rC)}if("json"===n)return yield e.json();throw Error(`Unknown format: ${n}.`)},new(o||(o=Promise))(function(t,n){function r(e){try{l(s.next(e))}catch(e){n(e)}}function a(e){try{l(s.throw(e))}catch(e){n(e)}}function l(e){var n;e.done?t(e.value):((n=e.value)instanceof o?n:new o(function(e){e(n)})).then(r,a)}l((s=s.apply(e,i||[])).next())})}};hH.props={};let hG=e=>{let{value:t}=e;return()=>t};hG.props={};let hz=e=>{let{fields:t=[]}=e,n=t.map(e=>{if(Array.isArray(e)){let[t,n=!0]=e;return[t,n]}return[e,!0]});return e=>[...e].sort((e,t)=>n.reduce((n,[r,a=!0])=>0!==n?n:a?e[r]t[r]?-1:+(e[r]!==t[r]),0))};hz.props={};let h$=e=>{let{callback:t}=e;return e=>Array.isArray(e)?[...e].sort(t):e};function hW(e){return null!=e&&!Number.isNaN(e)}h$.props={};let hZ=e=>{let{callback:t=hW}=e;return e=>e.filter(t)};hZ.props={};let hY=e=>{let{fields:t}=e;return e=>e.map(e=>(function(e,t=[]){return t.reduce((t,n)=>(n in e&&(t[n]=e[n]),t),{})})(e,t))};hY.props={};let hV=e=>t=>e&&0!==Object.keys(e).length?t.map(t=>Object.entries(t).reduce((t,[n,r])=>(t[e[n]||n]=r,t),{})):t;hV.props={};let hq=e=>{let{fields:t,key:n="key",value:r="value"}=e;return e=>t&&0!==Object.keys(t).length?e.flatMap(e=>t.map(t=>Object.assign(Object.assign({},e),{[n]:t,[r]:e[t]}))):e};hq.props={};let hK=e=>{let{start:t,end:n}=e;return e=>e.slice(t,n)};hK.props={};let hX=e=>{let{callback:t=rC}=e;return e=>t(e)};hX.props={};let hQ=e=>{let{callback:t=rC}=e;return e=>Array.isArray(e)?e.map(t):e};function hJ(e){return"string"==typeof e?t=>t[e]:e}hQ.props={};let h0=e=>{let{join:t,on:n,select:r=[],as:a=r,unknown:i=NaN}=e,[o,s]=n,l=hJ(s),c=hJ(o),u=(0,rA.jJ)(t,([e])=>e,e=>l(e));return e=>e.map(e=>{let t=u.get(c(e));return Object.assign(Object.assign({},e),r.reduce((e,n,r)=>(e[a[r]]=t?t[n]:i,e),{}))})};h0.props={};var h1=n(53843),h2=n.n(h1);let h3=e=>{let{field:t,groupBy:n,as:r=["y","size"],min:a,max:i,size:o=10,width:s}=e,[l,c]=r;return e=>{let r=Array.from((0,rA.ZP)(e,e=>n.map(t=>e[t]).join("-")).values());return r.map(e=>{let n=h2().create(e.map(e=>e[t]),{min:a,max:i,size:o,width:s}),r=n.map(e=>e.x),u=n.map(e=>e.y);return Object.assign(Object.assign({},e[0]),{[l]:r,[c]:u})})}};h3.props={};let h4=()=>e=>(console.log("G2 data section:",e),e);h4.props={};let h5=Math.PI/180;function h6(e){return e.text}function h9(){return"serif"}function h8(){return"normal"}function h7(e){return e.value}function be(){return 90*~~(2*Math.random())}function bt(){return 1}function bn(){}function br(e){let t=e[0]/e[1];return function(e){return[t*(e*=.1)*Math.cos(e),e*Math.sin(e)]}}function ba(e){let t=[],n=-1;for(;++nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let bc={fontSize:[20,60],font:"Impact",padding:2,rotate:function(){return(~~(6*Math.random())-3)*30}};function bu(e){return new Promise((t,n)=>{if(e instanceof HTMLImageElement){t(e);return}if("string"==typeof e){let r=new Image;r.crossOrigin="anonymous",r.src=e,r.onload=()=>t(r),r.onerror=()=>{console.error(`'image ${e} load failed !!!'`),n()};return}n()})}let bp=(e,t)=>n=>{var r,a,i,o;return r=void 0,a=void 0,i=void 0,o=function*(){let r=Object.assign({},bc,e,{canvas:t.createCanvas}),a=function(){let e=[256,256],t=h6,n=h9,r=h7,a=h8,i=be,o=bt,s=br,l=Math.random,c=bn,u=[],p=null,d=1/0,f=bi,g={};return g.start=function(){let[m,h]=e,b=function(e){e.width=e.height=1;let t=Math.sqrt(e.getContext("2d").getImageData(0,0,1,1).data.length>>2);e.width=2048/t,e.height=2048/t;let n=e.getContext("2d");return n.fillStyle=n.strokeStyle="red",n.textAlign="center",n.textBaseline="middle",{context:n,ratio:t}}(f()),y=g.board?g.board:ba((e[0]>>5)*e[1]),E=u.length,T=[],S=u.map(function(e,s,l){return e.text=t.call(this,e,s,l),e.font=n.call(this,e,s,l),e.style=h8.call(this,e,s,l),e.weight=a.call(this,e,s,l),e.rotate=i.call(this,e,s,l),e.size=~~r.call(this,e,s,l),e.padding=o.call(this,e,s,l),e}).sort(function(e,t){return t.size-e.size}),v=-1,A=g.board?[{x:0,y:0},{x:m,y:h}]:void 0;function O(){let t=Date.now();for(;Date.now()-t>1,t.y=h*(l()+.5)>>1,function(e,t,n,r){if(t.sprite)return;let a=e.context,i=e.ratio;a.clearRect(0,0,2048/i,2048/i);let o=0,s=0,l=0,c=n.length;for(--r;++r>5<<5,c=~~Math.max(Math.abs(i+o),Math.abs(i-o))}else e=e+31>>5<<5;if(c>l&&(l=c),o+e>=2048&&(o=0,s+=l,l=0),s+c>=2048)break;a.translate((o+(e>>1))/i,(s+(c>>1))/i),t.rotate&&a.rotate(t.rotate*h5),a.fillText(t.text,0,0),t.padding&&(a.lineWidth=2*t.padding,a.strokeText(t.text,0,0)),a.restore(),t.width=e,t.height=c,t.xoff=o,t.yoff=s,t.x1=e>>1,t.y1=c>>1,t.x0=-t.x1,t.y0=-t.y1,t.hasText=!0,o+=e}let u=a.getImageData(0,0,2048/i,2048/i).data,p=[];for(;--r>=0;){if(!(t=n[r]).hasText)continue;let e=t.width,a=e>>5,i=t.y1-t.y0;for(let e=0;e>5),r=u[(s+n)*2048+(o+t)<<2]?1<<31-t%32:0;p[e]|=r,l|=r}l?c=n:(t.y0++,i--,n--,s++)}t.y1=t.y0+c,t.sprite=p.slice(0,(t.y1-t.y0)*a)}}(b,t,S,v),t.hasText&&function(t,n,r){let a=n.x,i=n.y,o=Math.sqrt(e[0]*e[0]+e[1]*e[1]),c=s(e),u=.5>l()?1:-1,p,d=-u,f,g;for(;(p=c(d+=u))&&!(Math.min(Math.abs(f=~~p[0]),Math.abs(g=~~p[1]))>=o);)if(n.x=a+f,n.y=i+g,!(n.x+n.x0<0)&&!(n.y+n.y0<0)&&!(n.x+n.x1>e[0])&&!(n.y+n.y1>e[1])&&(!r||!function(e,t,n){n>>=5;let r=e.sprite,a=e.width>>5,i=e.x-(a<<4),o=127&i,s=32-o,l=e.y1-e.y0,c=(e.y+e.y0)*n+(i>>5),u;for(let e=0;e>>o:0))&t[c+n])return!0;c+=n}return!1}(n,t,e[0]))&&(!r||n.x+n.x1>r[0].x&&n.x+n.x0r[0].y&&n.y+n.y0>5,i=e[0]>>5,o=n.x-(a<<4),s=127&o,l=32-s,c=n.y1-n.y0,u,p=(n.y+n.y0)*i+(o>>5);for(let e=0;e>>s:0);p+=i}return delete n.sprite,!0}return!1}(y,t,A)&&(c.call(null,"word",{cloud:g,word:t}),T.push(t),A?g.hasImage||function(e,t){let n=e[0],r=e[1];t.x+t.x0r.x&&(r.x=t.x+t.x1),t.y+t.y1>r.y&&(r.y=t.y+t.y1)}(A,t):A=[{x:t.x+t.x0,y:t.y+t.y0},{x:t.x+t.x1,y:t.y+t.y1}],t.x-=e[0]>>1,t.y-=e[1]>>1)}g._tags=T,g._bounds=A,v>=E&&(g.stop(),c.call(null,"end",{cloud:g,words:T,bounds:A}))}return p&&clearInterval(p),p=setInterval(O,0),O(),g},g.stop=function(){return p&&(clearInterval(p),p=null),g},g.createMask=t=>{let n=document.createElement("canvas"),[r,a]=e;if(!r||!a)return;let i=r>>5,o=ba((r>>5)*a);n.width=r,n.height=a;let s=n.getContext("2d");s.drawImage(t,0,0,t.width,t.height,0,0,r,a);let l=s.getImageData(0,0,r,a).data;for(let e=0;e>5),a=e*r+t<<2,s=l[a]>=250&&l[a+1]>=250&&l[a+2]>=250,c=s?1<<31-t%32:0;o[n]|=c}g.board=o,g.hasImage=!0},g.timeInterval=function(e){d=null==e?1/0:e},g.words=function(e){u=e},g.size=function(t=[]){e=[+t[0],+t[1]]},g.text=function(e){t=bo(e)},g.font=function(e){n=bo(e)},g.fontWeight=function(e){a=bo(e)},g.rotate=function(e){i=bo(e)},g.canvas=function(e){f=bo(e)},g.spiral=function(e){s=bs[e]||e},g.fontSize=function(e){r=bo(e)},g.padding=function(e){o=bo(e)},g.random=function(e){l=bo(e)},g.on=function(e){c=bo(e)},g}();yield({set(e,t,n){if(void 0===r[e])return this;let i=t?t.call(null,r[e]):r[e];return n?n.call(null,i):"function"==typeof a[e]?a[e](i):a[e]=i,this},setAsync(e,t,n){var i,o,s,l;return i=this,o=void 0,s=void 0,l=function*(){if(void 0===r[e])return this;let i=t?yield t.call(null,r[e]):r[e];return n?n.call(null,i):"function"==typeof a[e]?a[e](i):a[e]=i,this},new(s||(s=Promise))(function(e,t){function n(e){try{a(l.next(e))}catch(e){t(e)}}function r(e){try{a(l.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof s?a:new s(function(e){e(a)})).then(n,r)}a((l=l.apply(i,o||[])).next())})}}).set("fontSize",e=>{let t=n.map(e=>e.value);return function(e,t){if("function"==typeof e)return e;if(Array.isArray(e)){let[n,r]=e;if(!t)return()=>(r+n)/2;let[a,i]=t;return i===a?()=>(r+n)/2:({value:e})=>(r-n)/(i-a)*(e-a)+n}return()=>e}(e,[(0,sh.Z)(t),(0,rQ.Z)(t)])}).set("font").set("fontStyle").set("fontWeight").set("padding").set("rotate").set("size").set("spiral").set("timeInterval").set("random").set("text").set("on").set("canvas").setAsync("imageMask",bu,a.createMask),a.words([...n]);let i=a.start(),[o,s]=r.size,{_bounds:l=[{x:0,y:0},{x:o,y:s}],_tags:c,hasImage:u}=i,p=c.map(e=>{var{x:t,y:n,font:r}=e;return Object.assign(Object.assign({},bl(e,["x","y","font"])),{x:t+o/2,y:n+s/2,fontFamily:r})}),[{x:d,y:f},{x:g,y:m}]=l,h={text:"",value:0,opacity:0,fontSize:0};return p.push(Object.assign(Object.assign({},h),{x:u?0:d,y:u?0:f}),Object.assign(Object.assign({},h),{x:u?o:g,y:u?s:m})),p},new(i||(i=Promise))(function(e,t){function n(e){try{l(o.next(e))}catch(e){t(e)}}function s(e){try{l(o.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof i?r:new i(function(e){e(r)})).then(n,s)}l((o=o.apply(r,a||[])).next())})};function bd(e){let{min:t,max:n}=e;return[[t[0],t[1]],[n[0],n[1]]]}function bf(e,t){let[n,r]=e,[a,i]=t;return n>=a[0]&&n<=i[0]&&r>=a[1]&&r<=i[1]}function bg(){let e=new Map;return[t=>e.get(t),(t,n)=>e.set(t,n)]}function bm(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}function bh(e,t,n){return .2126*bm(e)+.7152*bm(t)+.0722*bm(n)}function bb(e,t){let{r:n,g:r,b:a}=e,{r:i,g:o,b:s}=t,l=bh(n,r,a),c=bh(i,o,s);return(Math.max(l,c)+.05)/(Math.min(l,c)+.05)}bp.props={};let by=(e,t)=>{let[[n,r],[a,i]]=t,[[o,s],[l,c]]=e,u=0,p=0;return oa&&(u=a-l),si&&(p=i-c),[u,p]};var bE=n(30348),bT=n(70603),bS=n(60261),bv=n(33487),bA=n(84699),bO=n(58271),b_=n(72051),bk=n(26477),bI=n(75053),bC=n(40552),bN=n(11261),bw=n(40916),bx=n(93437),bR=n(32427),bL=n(23007),bD=n(38839),bP=n(50435),bM=n(30378),bF=n(17421),bB=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function bj(e){let{data:t}=e;if(Array.isArray(t))return Object.assign(Object.assign({},e),{data:{value:t}});let{type:n}=t;return"graticule10"===n?Object.assign(Object.assign({},e),{data:{value:[(0,bT.e)()]}}):"sphere"===n?Object.assign(Object.assign({},e),{sphere:!0,data:{value:[{type:"Sphere"}]}}):e}function bU(e){return"geoPath"===e.type}let bH=()=>e=>{let t;let{children:n,coordinate:r={}}=e;if(!Array.isArray(n))return[];let{type:a="equalEarth"}=r,i=bB(r,["type"]),o=function(e){if("function"==typeof e)return e;let t=`geo${r$(e)}`,n=J[t];if(!n)throw Error(`Unknown coordinate: ${e}`);return n}(a),s=n.map(bj);return[Object.assign(Object.assign({},e),{type:"view",scale:{x:{type:"identity"},y:{type:"identity"}},axis:!1,coordinate:{type:function(){return[["custom",(e,n,r,a)=>{let l=o();!function(e,t,n,r){let{outline:a=(()=>{let e=t.filter(bU),n=e.find(e=>e.sphere);return n?{type:"Sphere"}:{type:"FeatureCollection",features:e.filter(e=>!e.sphere).flatMap(e=>e.data.value).flatMap(e=>(function(e){if(!e||!e.type)return null;let t={Point:"geometry",MultiPoint:"geometry",LineString:"geometry",MultiLineString:"geometry",Polygon:"geometry",MultiPolygon:"geometry",GeometryCollection:"geometry",Feature:"feature",FeatureCollection:"featureCollection"}[e.type];return t?"geometry"===t?{type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:e}]}:"feature"===t?{type:"FeatureCollection",features:[e]}:"featureCollection"===t?e:void 0:null})(e).features)}})()}=r,{size:i="fitExtent"}=r;"fitExtent"===i?function(e,t,n){let{x:r,y:a,width:i,height:o}=n;e.fitExtent([[r,a],[i,o]],t)}(e,a,n):"fitWidth"===i&&function(e,t,n){let{width:r,height:a}=n,[[i,o],[s,l]]=(0,bE.Z)(e.fitWidth(r,t)).bounds(t),c=Math.ceil(l-o),u=Math.min(Math.ceil(s-i),c),p=e.scale()*(u-1)/u,[d,f]=e.translate();e.scale(p).translate([d,f+(a-c)/2]).precision(.2)}(e,a,n)}(l,s,{x:e,y:n,width:r,height:a},i),function(e,t){var n;for(let[r,a]of Object.entries(t))null===(n=e[r])||void 0===n||n.call(e,a)}(l,i),t=(0,bE.Z)(l);let c=new as.b({domain:[e,e+r]}),u=new as.b({domain:[n,n+a]}),p=e=>{let t=l(e);if(!t)return[null,null];let[n,r]=t;return[c.map(n),u.map(r)]},d=e=>{if(!e)return null;let[t,n]=e,r=[c.invert(t),u.invert(n)];return l.invert(r)};return{transform:e=>p(e),untransform:e=>d(e)}}]]}},children:s.flatMap(e=>bU(e)?function(e){let{style:n,tooltip:r={}}=e;return Object.assign(Object.assign({},e),{type:"path",tooltip:sS(r,{title:"id",items:[{channel:"color"}]}),style:Object.assign(Object.assign({},n),{d:e=>t(e)||[]})})}(e):e)})]};bH.props={};var bG=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let bz=()=>e=>{let{type:t,data:n,scale:r,encode:a,style:i,animate:o,key:s,state:l}=e,c=bG(e,["type","data","scale","encode","style","animate","key","state"]);return[Object.assign(Object.assign({type:"geoView"},c),{children:[{type:"geoPath",key:`${s}-0`,data:{value:n},scale:r,encode:a,style:i,animate:o,state:l}]})]};bz.props={};var b$=n(61940),bW=n(58571),bZ=n(69299),bY=n(77715),bV=n(26464),bq=n(32878),bK=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let bX={joint:!0},bQ={type:"link",axis:!1,legend:!1,encode:{x:[e=>e.source.x,e=>e.target.x],y:[e=>e.source.y,e=>e.target.y]},style:{stroke:"#999",strokeOpacity:.6}},bJ={type:"point",axis:!1,legend:!1,encode:{x:"x",y:"y",size:5,color:"group",shape:"point"},style:{stroke:"#fff"}},b0={text:""},b1=e=>{let{data:t,encode:n={},scale:r,style:a={},layout:i={},nodeLabels:o=[],linkLabels:s=[],animate:l={},tooltip:c={}}=e,{nodeKey:u=e=>e.id,linkKey:p=e=>e.id}=n,d=bK(n,["nodeKey","linkKey"]),f=Object.assign({nodeKey:u,linkKey:p},d),g=rD(f,"node"),m=rD(f,"link"),{links:h,nodes:b}=cb(t,f),{nodesData:y,linksData:E}=function(e,t,n){let{nodes:r,links:a}=e,{joint:i,nodeStrength:o,linkStrength:s}=t,{nodeKey:l=e=>e.id,linkKey:c=e=>e.id}=n,u=(0,b$.Z)(),p=(0,bW.Z)(a).id(cm(c));"function"==typeof o&&u.strength(o),"function"==typeof s&&p.strength(s);let d=(0,bZ.Z)(r).force("link",p).force("charge",u);i?d.force("center",(0,bY.Z)()):d.force("x",(0,bV.Z)()).force("y",(0,bq.Z)()),d.stop();let f=Math.ceil(Math.log(d.alphaMin())/Math.log(1-d.alphaDecay()));for(let e=0;e({name:"source",value:cm(p)(e.source)}),e=>({name:"target",value:cm(p)(e.target)})]}),S=sT(c,"node",{items:[e=>({name:"key",value:cm(u)(e)})]},!0);return[(0,rv.Z)({},bQ,{data:E,encode:m,labels:s,style:rD(a,"link"),tooltip:T,animate:sA(l,"link")}),(0,rv.Z)({},bJ,{data:y,encode:Object.assign({},g),scale:r,style:rD(a,"node"),tooltip:S,labels:[Object.assign(Object.assign({},b0),rD(a,"label")),...o],animate:sA(l,"link")})]};b1.props={};var b2=n(81594),b3=n(95608);let b4=e=>t=>n=>{let{field:r="value",nodeSize:a,separation:i,sortBy:o,as:s=["x","y"]}=t,[l,c]=s,u=(0,ly.ZP)(n,e=>e.children).sum(e=>e[r]).sort(o),p=e();p.size([1,1]),a&&p.nodeSize(a),i&&p.separation(i),p(u);let d=[];u.each(e=>{e[l]=e.x,e[c]=e.y,e.name=e.data.name,d.push(e)});let f=u.links();return f.forEach(e=>{e[l]=[e.source[l],e.target[l]],e[c]=[e.source[c],e.target[c]]}),{nodes:d,edges:f}},b5=e=>b4(b3.Z)(e);b5.props={};let b6=e=>b4(b2.Z)(e);b6.props={};let b9={sortBy:(e,t)=>t.value-e.value},b8={axis:!1,legend:!1,type:"point",encode:{x:"x",y:"y",size:2,shape:"point"}},b7={type:"link",encode:{x:"x",y:"y",shape:"smooth"}},ye={text:"",fontSize:10},yt=e=>{let{data:t,encode:n={},scale:r={},style:a={},layout:i={},nodeLabels:o=[],linkLabels:s=[],animate:l={},tooltip:c={}}=e,u=null==n?void 0:n.value,{nodes:p,edges:d}=b6(Object.assign(Object.assign(Object.assign({},b9),i),{field:u}))(t),f=sT(c,"node",{title:"name",items:["value"]},!0),g=sT(c,"link",{title:"",items:[e=>({name:"source",value:e.source.name}),e=>({name:"target",value:e.target.name})]});return[(0,rv.Z)({},b7,{data:d,encode:rD(n,"link"),scale:rD(r,"link"),labels:s,style:Object.assign({stroke:"#999"},rD(a,"link")),tooltip:g,animate:sA(l,"link")}),(0,rv.Z)({},b8,{data:p,scale:rD(r,"node"),encode:rD(n,"node"),labels:[Object.assign(Object.assign({},ye),rD(a,"label")),...o],style:Object.assign({},rD(a,"node")),tooltip:f,animate:sA(l,"node")})]};yt.props={};var yn=n(45571),yr=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ya=(e,t)=>({size:[e,t],padding:0,sort:(e,t)=>t.value-e.value}),yi=(e,t,n)=>({type:"point",axis:!1,legend:!1,scale:{x:{domain:[0,e]},y:{domain:[0,t]},size:{type:"identity"}},encode:{x:"x",y:"y",size:"r",shape:"point"},style:{fill:n.color?void 0:e=>0===e.height?"#ddd":"#fff",stroke:n.color?void 0:e=>0===e.height?"":"#000"}}),yo={text:"",position:"inside",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:e=>2*e.r},ys={title:e=>e.data.name,items:[{field:"value"}]},yl=(e,t,n)=>{let{value:r}=n,a=(0,rz.Z)(e)?(0,gZ.Z)().path(t.path)(e):(0,ly.ZP)(e);return r?a.sum(e=>cm(r)(e)).sort(t.sort):a.count(),(0,yn.Z)().size(t.size).padding(t.padding)(a),a.descendants()},yc=(e,t)=>{let{width:n,height:r}=t,{data:a,encode:i={},scale:o={},style:s={},layout:l={},labels:c=[],tooltip:u={}}=e,p=yr(e,["data","encode","scale","style","layout","labels","tooltip"]),d=yi(n,r,i),f=yl(a,(0,rv.Z)({},ya(n,r),l),(0,rv.Z)({},d.encode,i)),g=rD(s,"label");return(0,rv.Z)({},d,Object.assign(Object.assign({data:f,encode:i,scale:o,style:s,labels:[Object.assign(Object.assign({},yo),g),...c]},p),{tooltip:sS(u,ys),axis:!1}))};function yu(e){return e.target.depth}function yp(e,t){return e.sourceLinks.length?e.depth:t-1}function yd(e){return function(){return e}}function yf(e,t){return ym(e.source,t.source)||e.index-t.index}function yg(e,t){return ym(e.target,t.target)||e.index-t.index}function ym(e,t){return e.y0-t.y0}function yh(e){return e.value}function yb(e){return e.index}function yy(e){return e.nodes}function yE(e){return e.links}function yT(e,t){let n=e.get(t);if(!n)throw Error("missing: "+t);return n}function yS({nodes:e}){for(let t of e){let e=t.y0,n=e;for(let n of t.sourceLinks)n.y0=e+n.width/2,e+=n.width;for(let e of t.targetLinks)e.y1=n+e.width/2,n+=e.width}}yc.props={};let yv={nodeAlign:"justify",nodeWidth:.008,nodePadding:.03,nodes:e=>e.nodes,links:e=>e.links,nodeSort:void 0,linkSort:void 0,iterations:6},yA={left:function(e){return e.depth},right:function(e,t){return t-1-e.height},center:function(e){return e.targetLinks.length?e.depth:e.sourceLinks.length?(0,sh.Z)(e.sourceLinks,yu)-1:0},justify:yp},yO=e=>t=>{let{nodeId:n,nodeSort:r,nodeAlign:a,nodeWidth:i,nodePadding:o,nodeDepth:s,nodes:l,links:c,linkSort:u,iterations:p}=Object.assign({},yv,e),d=(function(){let e,t,n,r=0,a=0,i=1,o=1,s=24,l=8,c,u=yb,p=yp,d=yy,f=yE,g=6;function m(m){let b={nodes:d(m),links:f(m)};return function({nodes:e,links:t}){e.forEach((e,t)=>{e.index=t,e.sourceLinks=[],e.targetLinks=[]});let r=new Map(e.map(e=>[u(e),e]));if(t.forEach((e,t)=>{e.index=t;let{source:n,target:a}=e;"object"!=typeof n&&(n=e.source=yT(r,n)),"object"!=typeof a&&(a=e.target=yT(r,a)),n.sourceLinks.push(e),a.targetLinks.push(e)}),null!=n)for(let{sourceLinks:t,targetLinks:r}of e)t.sort(n),r.sort(n)}(b),function({nodes:e}){for(let t of e)t.value=void 0===t.fixedValue?Math.max((0,rX.Z)(t.sourceLinks,yh),(0,rX.Z)(t.targetLinks,yh)):t.fixedValue}(b),function({nodes:t}){let n=t.length,r=new Set(t),a=new Set,i=0;for(;r.size;){if(r.forEach(e=>{for(let{target:t}of(e.depth=i,e.sourceLinks))a.add(t)}),++i>n)throw Error("circular link");r=a,a=new Set}if(e){let n;let r=Math.max((0,rQ.Z)(t,e=>e.depth)+1,0);for(let a=0;a{for(let{source:t}of(e.height=a,e.targetLinks))r.add(t)}),++a>t)throw Error("circular link");n=r,r=new Set}}(b),function(e){let u=function({nodes:e}){let n=Math.max((0,rQ.Z)(e,e=>e.depth)+1,0),a=(i-r-s)/(n-1),o=Array(n).fill(0).map(()=>[]);for(let t of e){let e=Math.max(0,Math.min(n-1,Math.floor(p.call(null,t,n))));t.layer=e,t.x0=r+e*a,t.x1=t.x0+s,o[e]?o[e].push(t):o[e]=[t]}if(t)for(let e of o)e.sort(t);return o}(e);c=Math.min(l,(o-a)/((0,rQ.Z)(u,e=>e.length)-1)),function(e){let t=(0,sh.Z)(e,e=>(o-a-(e.length-1)*c)/(0,rX.Z)(e,yh));for(let r of e){let e=a;for(let n of r)for(let r of(n.y0=e,n.y1=e+n.value*t,e=n.y1+c,n.sourceLinks))r.width=r.value*t;e=(o-e+c)/(r.length+1);for(let t=0;t=0;--i){let a=e[i];for(let e of a){let t=0,r=0;for(let{target:n,value:a}of e.sourceLinks){let i=a*(n.layer-e.layer);t+=function(e,t){let n=t.y0-(t.targetLinks.length-1)*c/2;for(let{source:r,width:a}of t.targetLinks){if(r===e)break;n+=a+c}for(let{target:r,width:a}of e.sourceLinks){if(r===t)break;n-=a}return n}(e,n)*i,r+=i}if(!(r>0))continue;let a=(t/r-e.y0)*n;e.y0+=a,e.y1+=a,E(e)}void 0===t&&a.sort(ym),a.length&&h(a,r)}})(u,n,r),function(e,n,r){for(let a=1,i=e.length;a0))continue;let a=(t/r-e.y0)*n;e.y0+=a,e.y1+=a,E(e)}void 0===t&&i.sort(ym),i.length&&h(i,r)}}(u,n,r)}}(b),yS(b),b}function h(e,t){let n=e.length>>1,r=e[n];y(e,r.y0-c,n-1,t),b(e,r.y1+c,n+1,t),y(e,o,e.length-1,t),b(e,a,0,t)}function b(e,t,n,r){for(;n1e-6&&(a.y0+=i,a.y1+=i),t=a.y1+c}}function y(e,t,n,r){for(;n>=0;--n){let a=e[n],i=(a.y1-t)*r;i>1e-6&&(a.y0-=i,a.y1-=i),t=a.y0-c}}function E({sourceLinks:e,targetLinks:t}){if(void 0===n){for(let{source:{sourceLinks:e}}of t)e.sort(yg);for(let{target:{targetLinks:t}}of e)t.sort(yf)}}return m.update=function(e){return yS(e),e},m.nodeId=function(e){return arguments.length?(u="function"==typeof e?e:yd(e),m):u},m.nodeAlign=function(e){return arguments.length?(p="function"==typeof e?e:yd(e),m):p},m.nodeDepth=function(t){return arguments.length?(e=t,m):e},m.nodeSort=function(e){return arguments.length?(t=e,m):t},m.nodeWidth=function(e){return arguments.length?(s=+e,m):s},m.nodePadding=function(e){return arguments.length?(l=c=+e,m):l},m.nodes=function(e){return arguments.length?(d="function"==typeof e?e:yd(e),m):d},m.links=function(e){return arguments.length?(f="function"==typeof e?e:yd(e),m):f},m.linkSort=function(e){return arguments.length?(n=e,m):n},m.size=function(e){return arguments.length?(r=a=0,i=+e[0],o=+e[1],m):[i-r,o-a]},m.extent=function(e){return arguments.length?(r=+e[0][0],i=+e[1][0],a=+e[0][1],o=+e[1][1],m):[[r,a],[i,o]]},m.iterations=function(e){return arguments.length?(g=+e,m):g},m})().nodeSort(r).linkSort(u).links(c).nodes(l).nodeWidth(i).nodePadding(o).nodeDepth(s).nodeAlign(function(e){let t=typeof e;return"string"===t?yA[e]||yp:"function"===t?e:yp}(a)).iterations(p).extent([[0,0],[1,1]]);"function"==typeof n&&d.nodeId(n);let f=d(t),{nodes:g,links:m}=f,h=g.map(e=>{let{x0:t,x1:n,y0:r,y1:a}=e;return Object.assign(Object.assign({},e),{x:[t,n,n,t],y:[r,r,a,a]})}),b=m.map(e=>{let{source:t,target:n}=e,r=t.x1,a=n.x0,i=e.width/2;return Object.assign(Object.assign({},e),{x:[r,r,a,a],y:[e.y0+i,e.y0-i,e.y1+i,e.y1-i]})});return{nodes:h,links:b}};yO.props={};var 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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let yk={nodeId:e=>e.key,nodeWidth:.02,nodePadding:.02},yI={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{stroke:"#000"}},yC={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{fillOpacity:.5,stroke:void 0}},yN={textAlign:e=>e.x[0]<.5?"start":"end",position:e=>e.x[0]<.5?"right":"left",fontSize:10},yw=e=>{let{data:t,encode:n={},scale:r,style:a={},layout:i={},nodeLabels:o=[],linkLabels:s=[],animate:l={},tooltip:c={}}=e,{links:u,nodes:p}=cb(t,n),d=rD(n,"node"),f=rD(n,"link"),{key:g=e=>e.key,color:m=g}=d,{links:h,nodes:b}=yO(Object.assign(Object.assign(Object.assign({},yk),{nodeId:cm(g)}),i))({links:u,nodes:p}),y=rD(a,"label"),{text:E=g,spacing:T=5}=y,S=y_(y,["text","spacing"]),v=cm(g),A=sT(c,"node",{title:v,items:[{field:"value"}]},!0),O=sT(c,"link",{title:"",items:[e=>({name:"source",value:v(e.source)}),e=>({name:"target",value:v(e.target)})]});return[(0,rv.Z)({},yI,{data:b,encode:Object.assign(Object.assign({},d),{color:m}),scale:r,style:rD(a,"node"),labels:[Object.assign(Object.assign(Object.assign({},yN),{text:E,dx:e=>e.x[0]<.5?T:-T}),S),...o],tooltip:A,animate:sA(l,"node"),axis:!1}),(0,rv.Z)({},yC,{data:h,encode:f,labels:s,style:Object.assign({fill:f.color?void 0:"#aaa",lineWidth:0},rD(a,"link")),tooltip:O,animate:sA(l,"link")})]};function yx(e,t){return t.value-e.value}function yR(e,t){return t.frequency-e.frequency}function yL(e,t){return`${e.id}`.localeCompare(`${t.id}`)}function yD(e,t){return`${e.name}`.localeCompare(`${t.name}`)}yw.props={};let yP={y:0,thickness:.05,weight:!1,marginRatio:.1,id:e=>e.id,source:e=>e.source,target:e=>e.target,sourceWeight:e=>e.value||1,targetWeight:e=>e.value||1,sortBy:null},yM=e=>t=>(function(e){let{y:t,thickness:n,weight:r,marginRatio:a,id:i,source:o,target:s,sourceWeight:l,targetWeight:c,sortBy:u}=Object.assign(Object.assign({},yP),e);return function(e){let p=e.nodes.map(e=>Object.assign({},e)),d=e.edges.map(e=>Object.assign({},e));return function(e,t){t.forEach(e=>{e.source=o(e),e.target=s(e),e.sourceWeight=l(e),e.targetWeight=c(e)});let n=(0,rA.ZP)(t,e=>e.source),r=(0,rA.ZP)(t,e=>e.target);e.forEach(e=>{e.id=i(e);let t=n.has(e.id)?n.get(e.id):[],a=r.has(e.id)?r.get(e.id):[];e.frequency=t.length+a.length,e.value=(0,rX.Z)(t,e=>e.sourceWeight)+(0,rX.Z)(a,e=>e.targetWeight)})}(p,d),function(e,t){let n="function"==typeof u?u:ee[u];n&&e.sort(n)}(p,0),function(e,i){let o=e.length;if(!o)throw rx("Invalid nodes: it's empty!");if(!r){let n=1/o;return e.forEach((e,r)=>{e.x=(r+.5)*n,e.y=t})}let s=a/(2*o),l=e.reduce((e,t)=>e+=t.value,0);e.reduce((e,r)=>{r.weight=r.value/l,r.width=r.weight*(1-a),r.height=n;let i=s+e,o=i+r.width,c=t-n/2,u=c+n;return r.x=[i,o,o,i],r.y=[c,c,u,u],e+r.width+2*s},0)}(p,0),function(e,n){let a=new Map(e.map(e=>[e.id,e]));if(!r)return n.forEach(e=>{let t=o(e),n=s(e),r=a.get(t),i=a.get(n);r&&i&&(e.x=[r.x,i.x],e.y=[r.y,i.y])});n.forEach(e=>{e.x=[0,0,0,0],e.y=[t,t,t,t]});let i=(0,rA.ZP)(n,e=>e.source),l=(0,rA.ZP)(n,e=>e.target);e.forEach(e=>{let{edges:t,width:n,x:r,y:a,value:o,id:s}=e,c=i.get(s)||[],u=l.get(s)||[],p=0;c.map(e=>{let t=e.sourceWeight/o*n;e.x[0]=r[0]+p,e.x[1]=r[0]+p+t,p+=t}),u.forEach(e=>{let t=e.targetWeight/o*n;e.x[3]=r[0]+p,e.x[2]=r[0]+p+t,p+=t})})}(p,d),{nodes:p,edges:d}}})(e)(t);yM.props={};var yF=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let yB={y:0,thickness:.05,marginRatio:.1,id:e=>e.key,source:e=>e.source,target:e=>e.target,sourceWeight:e=>e.value||1,targetWeight:e=>e.value||1,sortBy:null},yj={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{opacity:1,fillOpacity:1,lineWidth:1}},yU={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{opacity:.5,lineWidth:1}},yH={position:"outside",fontSize:10},yG=(e,t)=>{let{data:n,encode:r={},scale:a,style:i={},layout:o={},nodeLabels:s=[],linkLabels:l=[],animate:c={},tooltip:u={}}=e,{nodes:p,links:d}=cb(n,r),f=rD(r,"node"),g=rD(r,"link"),{key:m=e=>e.key,color:h=m}=f,{linkEncodeColor:b=e=>e.source}=g,{nodeWidthRatio:y=yB.thickness,nodePaddingRatio:E=yB.marginRatio}=o,T=yF(o,["nodeWidthRatio","nodePaddingRatio"]),{nodes:S,edges:v}=yM(Object.assign(Object.assign(Object.assign(Object.assign({},yB),{id:cm(m),thickness:y,marginRatio:E}),T),{weight:!0}))({nodes:p,edges:d}),A=rD(i,"label"),{text:O=m}=A,_=yF(A,["text"]),k=sT(u,"node",{title:"",items:[e=>({name:e.key,value:e.value})]},!0),I=sT(u,"link",{title:"",items:[e=>({name:`${e.source} -> ${e.target}`,value:e.value})]}),{height:C,width:N}=t,w=Math.min(C,N);return[(0,rv.Z)({},yU,{data:v,encode:Object.assign(Object.assign({},g),{color:b}),labels:l,style:Object.assign({fill:b?void 0:"#aaa"},rD(i,"link")),tooltip:I,animate:sA(c,"link")}),(0,rv.Z)({},yj,{data:S,encode:Object.assign(Object.assign({},f),{color:h}),scale:a,style:rD(i,"node"),coordinate:{type:"polar",outerRadius:(w-20)/w,startAngle:-(2*Math.PI),endAngle:0},labels:[Object.assign(Object.assign(Object.assign({},yH),{text:O}),_),...s],tooltip:k,animate:sA(c,"node"),axis:!1})]};yG.props={};var yz=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let y$=(e,t)=>({tile:"treemapSquarify",ratio:.5*(1+Math.sqrt(5)),size:[e,t],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,sort:(e,t)=>t.value-e.value,layer:0}),yW=(e,t)=>({type:"rect",axis:!1,encode:{x:"x",y:"y",key:"id",color:e=>e.path[1]},scale:{x:{domain:[0,e],range:[0,1]},y:{domain:[0,t],range:[0,1]}},style:{stroke:"#fff"},state:{active:{opacity:.6},inactive:{opacity:1}}}),yZ={fontSize:10,text:e=>fr(e.path),position:"inside",fill:"#000",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:e=>e.x1-e.x0},yY={title:e=>{var t,n;return null===(n=null===(t=e.path)||void 0===t?void 0:t.join)||void 0===n?void 0:n.call(t,".")},items:[{field:"value"}]},yV={title:e=>fr(e.path),items:[{field:"value"}]},yq=(e,t)=>{let{width:n,height:r,options:a}=t,{data:i,encode:o={},scale:s,style:l={},layout:c={},labels:u=[],tooltip:p={}}=e,d=yz(e,["data","encode","scale","style","layout","labels","tooltip"]),f=(0,lm.Z)(a,["interaction","treemapDrillDown"]),g=(0,rv.Z)({},y$(n,r),c,{layer:f?e=>1===e.depth:c.layer}),[m,h]=gJ(i,g,o),b=rD(l,"label");return(0,rv.Z)({},yW(n,r),Object.assign(Object.assign({data:m,scale:s,style:l,labels:[Object.assign(Object.assign({},yZ),b),...u]},d),{encode:o,tooltip:sS(p,yY),axis:!1}),f?{interaction:Object.assign(Object.assign({},d.interaction),{treemapDrillDown:f?Object.assign(Object.assign({},f),{originData:h,layout:g}):void 0}),encode:Object.assign({color:e=>fr(e.path)},o),tooltip:sS(p,yV)}:{})};yq.props={};var yK=n(51758),yX=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function yQ(e,t){return(0,sh.Z)(e,e=>t[e])}function yJ(e,t){return(0,rQ.Z)(e,e=>t[e])}function y0(e,t){let n=2.5*y1(e,t)-1.5*y3(e,t);return(0,sh.Z)(e,e=>t[e]>=n?t[e]:NaN)}function y1(e,t){return(0,yK.Z)(e,.25,e=>t[e])}function y2(e,t){return(0,yK.Z)(e,.5,e=>t[e])}function y3(e,t){return(0,yK.Z)(e,.75,e=>t[e])}function y4(e,t){let n=2.5*y3(e,t)-1.5*y1(e,t);return(0,rQ.Z)(e,e=>t[e]<=n?t[e]:NaN)}function y5(){return(e,t)=>{let{encode:n}=t,{y:r,x:a}=n,{value:i}=r,{value:o}=a,s=Array.from((0,rA.ZP)(e,e=>o[+e]).values()),l=s.flatMap(e=>{let t=y0(e,i),n=y4(e,i);return e.filter(e=>i[e]n)});return[l,t]}}let y6=e=>{let{data:t,encode:n,style:r={},tooltip:a={},transform:i,animate:o}=e,s=yX(e,["data","encode","style","tooltip","transform","animate"]),{point:l=!0}=r,c=yX(r,["point"]),{y:u}=n,p={y:u,y1:u,y2:u,y3:u,y4:u},d={y1:y1,y2:y2,y3:y3},f=sT(a,"box",{items:[{channel:"y",name:"min"},{channel:"y1",name:"q1"},{channel:"y2",name:"q2"},{channel:"y3",name:"q3"},{channel:"y4",name:"max"}]},!0),g=sT(a,"point",{title:{channel:"x"},items:[{name:"outlier",channel:"y"}]});if(!l)return Object.assign({type:"box",data:t,transform:[Object.assign(Object.assign({type:"groupX",y:yQ},d),{y4:yJ})],encode:Object.assign(Object.assign({},n),p),style:c,tooltip:f},s);let m=rD(c,"box"),h=rD(c,"point");return[Object.assign({type:"box",data:t,transform:[Object.assign(Object.assign({type:"groupX",y:y0},d),{y4:y4})],encode:Object.assign(Object.assign({},n),p),style:m,tooltip:f,animate:sA(o,"box")},s),{type:"point",data:t,transform:[{type:y5}],encode:n,style:Object.assign({},h),tooltip:g,animate:sA(o,"point")}]};y6.props={};let y9=(e,t)=>Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))/2,y8=(e,t)=>{if(!t)return;let{coordinate:n}=t;if(!(null==n?void 0:n.getCenter))return;let r=n.getCenter();return(n,a,i)=>{let{document:o}=t.canvas,{color:s,index:l}=a,c=o.createElement("g",{}),u=y9(n[0],n[1]),p=2*y9(n[0],r),d=o.createElement("path",{style:Object.assign(Object.assign(Object.assign({d:[["M",...n[0]],["A",u,u,0,1,0,...n[1]],["A",p+2*u,p+2*u,0,0,0,...n[2]],["A",u,u,0,1,0===l?0:1,...n[3]],["A",p,p,0,0,1,...n[0]],["Z"]]},i),ap(e,["shape","last","first"])),{fill:s||i.color})});return c.appendChild(d),c}};var y7=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let Ee={coordinate:{type:"radial",innerRadius:.9,outerRadius:1,startAngle:-1.1*Math.PI,endAngle:.1*Math.PI},axis:{x:!1},legend:!1,tooltip:!1,encode:{x:"x",y:"y",color:"color"},scale:{color:{range:["#30BF78","#D0D0D0"]}}},Et={style:{shape:(e,t)=>{let{shape:n,radius:r}=e,a=y7(e,["shape","radius"]),i=rD(a,"pointer"),o=rD(a,"pin"),{shape:s}=i,l=y7(i,["shape"]),{shape:c}=o,u=y7(o,["shape"]),{coordinate:p,theme:d}=t;return(e,t)=>{let n=e.map(e=>p.invert(e)),[i,o,f]=function(e,t){let{transformations:n}=e.getOptions(),[,...r]=n.find(e=>e[0]===t);return r}(p,"polar"),g=p.clone(),{color:m}=t,h=r2({startAngle:i,endAngle:o,innerRadius:f,outerRadius:r});h.push(["cartesian"]),g.update({transformations:h});let b=n.map(e=>g.map(e)),[y,E]=ih(b),[T,S]=p.getCenter(),v=Object.assign(Object.assign({x1:y,y1:E,x2:T,y2:S,stroke:m},l),a),A=Object.assign(Object.assign({cx:T,cy:S,stroke:m},u),a),O=rU(new nX.ZA);return rj(s)||("function"==typeof s?O.append(()=>s(b,t,g,d)):O.append("line").call(il,v).node()),rj(c)||("function"==typeof c?O.append(()=>c(b,t,g,d)):O.append("circle").call(il,A).node()),O.node()}},lineWidth:4,pointerLineCap:"round",pinR:10,pinFill:"#fff",radius:.6}},En={type:"text",style:{x:"50%",y:"60%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"}},Er=e=>{var t;let{data:n={},scale:r={},style:a={},animate:i={},transform:o=[]}=e,s=y7(e,["data","scale","style","animate","transform"]),{targetData:l,totalData:c,target:u,total:p,scale:d}=function(e,t){let{name:n="score",target:r,total:a,percent:i,thresholds:o=[]}=function(e){if((0,aL.Z)(e)){let t=Math.max(0,Math.min(e,1));return{percent:t,target:t,total:1}}return e}(e),s=i||r,l=i?1:a,c=Object.assign({y:{domain:[0,l]}},t);return o.length?{targetData:[{x:n,y:s,color:"target"}],totalData:o.map((e,t)=>({x:n,y:t>=1?e-o[t-1]:e,color:t})),target:s,total:l,scale:c}:{targetData:[{x:n,y:s,color:"target"}],totalData:[{x:n,y:s,color:"target"},{x:n,y:l-s,color:"total"}],target:s,total:l,scale:c}}(n,r),f=rD(a,"text"),g=(t=["pointer","pin"],Object.fromEntries(Object.entries(a).filter(([e])=>t.find(t=>e.startsWith(t))))),m=rD(a,"arc"),h=m.shape;return[(0,rv.Z)({},Ee,Object.assign({type:"interval",transform:[{type:"stackY"}],data:c,scale:d,style:"round"===h?Object.assign(Object.assign({},m),{shape:y8}):m,animate:"object"==typeof i?rD(i,"arc"):i},s)),(0,rv.Z)({},Ee,Et,Object.assign({type:"point",data:l,scale:d,style:g,animate:"object"==typeof i?rD(i,"indicator"):i},s)),(0,rv.Z)({},En,{style:Object.assign({text:function(e,{target:t,total:n}){let{content:r}=e;return r?r(t,n):t.toString()}(f,{target:u,total:p})},f),animate:"object"==typeof i?rD(i,"text"):i})]};Er.props={};let Ea={pin:function(e,t,n){let r=4*n/3,a=Math.max(r,2*n),i=r/2,o=i+t-a/2,s=Math.asin(i/((a-i)*.85)),l=Math.cos(s)*i,c=e-l,u=o+Math.sin(s)*i,p=o+i/Math.sin(s);return` - M ${c} ${u} - A ${i} ${i} 0 1 1 ${c+2*l} ${u} - Q ${e} ${p} ${e} ${t+a/2} - Q ${e} ${p} ${c} ${u} - Z - `},rect:function(e,t,n){let r=.618*n;return` - M ${e-r} ${t-n} - L ${e+r} ${t-n} - L ${e+r} ${t+n} - L ${e-r} ${t+n} - Z - `},circle:function(e,t,n){return` - M ${e} ${t-n} - a ${n} ${n} 0 1 0 0 ${2*n} - a ${n} ${n} 0 1 0 0 ${-(2*n)} - Z - `},diamond:function(e,t,n){return` - M ${e} ${t-n} - L ${e+n} ${t} - L ${e} ${t+n} - L ${e-n} ${t} - Z - `},triangle:function(e,t,n){return` - M ${e} ${t-n} - L ${e+n} ${t+n} - L ${e-n} ${t+n} - Z - `}};var Ei=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 a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let Eo=(e="circle")=>Ea[e]||Ea.circle,Es=(e,t)=>{if(!t)return;let{coordinate:n}=t,{liquidOptions:r,styleOptions:a}=e,{liquidShape:i,percent:o}=r,{background:s,outline:l={},wave:c={}}=a,u=Ei(a,["background","outline","wave"]),{border:p=2,distance:d=0}=l,f=Ei(l,["border","distance"]),{length:g=192,count:m=3}=c;return(e,r,a)=>{let{document:l}=t.canvas,{color:c,fillOpacity:h}=a,b=Object.assign(Object.assign({fill:c},a),u),y=l.createElement("g",{}),[E,T]=n.getCenter(),S=n.getSize(),v=Math.min(...S)/2,A=(0,lx.Z)(i)?i:Eo(i),O=A(E,T,v,...S);if(Object.keys(s).length){let e=l.createElement("path",{style:Object.assign({d:O,fill:"#fff"},s)});y.appendChild(e)}if(o>0){let e=l.createElement("path",{style:{d:O}});y.appendChild(e),y.style.clipPath=e,function(e,t,n,r,a,i,o,s,l,c,u){let{fill:p,fillOpacity:d,opacity:f}=a;for(let a=0;a0;)c-=2*Math.PI;c=c/Math.PI/2*n;let u=i-e+c-2*e;l.push(["M",u,t]);let p=0;for(let e=0;et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let Ec={axis:{x:!1,y:!1},legend:!1,tooltip:!1,encode:{x:"type",y:"percent"},scale:{y:{domain:[0,1]}},style:{shape:Es},animate:{enter:{type:"fadeIn"}}},Eu={type:"text",style:{x:"50%",y:"50%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"},animate:{enter:{type:"fadeIn"}}},Ep=e=>{let{data:t={},style:n={},animate:r}=e,a=El(e,["data","style","animate"]),i=Math.max(0,(0,aL.Z)(t)?t:null==t?void 0:t.percent),o=[{percent:i,type:"liquid"}],s=Object.assign(Object.assign({},rD(n,"text")),rD(n,"content")),l=rD(n,"outline"),c=rD(n,"wave"),u=rD(n,"background");return[(0,rv.Z)({},Ec,Object.assign({type:"interval",data:o,style:{liquidOptions:{percent:i,liquidShape:null==n?void 0:n.shape},styleOptions:Object.assign(Object.assign({},n),{outline:l,wave:c,background:u})},animate:r},a)),(0,rv.Z)({},Eu,{style:Object.assign({text:`${r4(100*i)} %`},s),animate:r})]};Ep.props={};var Ed=n(69916);function Ef(e,t){let n=function(e){let t=[];for(let n=0;nt[n].radius+1e-10)return!1;return!0}(t,e)}),a=0,i=0,o,s=[];if(r.length>1){let t=function(e){let t={x:0,y:0};for(let n=0;n-1){let a=e[t.parentIndex[r]],i=Math.atan2(t.x-a.x,t.y-a.y),o=Math.atan2(n.x-a.x,n.y-a.y),s=o-i;s<0&&(s+=2*Math.PI);let u=o-s/2,p=Em(l,{x:a.x+a.radius*Math.sin(u),y:a.y+a.radius*Math.cos(u)});p>2*a.radius&&(p=2*a.radius),(null===c||c.width>p)&&(c={circle:a,width:p,p1:t,p2:n})}null!==c&&(s.push(c),a+=Eg(c.circle.radius,c.width),n=t)}}else{let t=e[0];for(o=1;oMath.abs(t.radius-e[o].radius)){n=!0;break}n?a=i=0:(a=t.radius*t.radius*Math.PI,s.push({circle:t,p1:{x:t.x,y:t.y+t.radius},p2:{x:t.x-1e-10,y:t.y+t.radius},width:2*t.radius}))}return i/=2,t&&(t.area=a+i,t.arcArea=a,t.polygonArea=i,t.arcs=s,t.innerPoints=r,t.intersectionPoints=n),a+i}function Eg(e,t){return e*e*Math.acos(1-t/e)-(e-t)*Math.sqrt(t*(2*e-t))}function Em(e,t){return Math.sqrt((e.x-t.x)*(e.x-t.x)+(e.y-t.y)*(e.y-t.y))}function Eh(e,t,n){if(n>=e+t)return 0;if(n<=Math.abs(e-t))return Math.PI*Math.min(e,t)*Math.min(e,t);let r=e-(n*n-t*t+e*e)/(2*n),a=t-(n*n-e*e+t*t)/(2*n);return Eg(e,r)+Eg(t,a)}function Eb(e,t){let n=Em(e,t),r=e.radius,a=t.radius;if(n>=r+a||n<=Math.abs(r-a))return[];let i=(r*r-a*a+n*n)/(2*n),o=Math.sqrt(r*r-i*i),s=e.x+i*(t.x-e.x)/n,l=e.y+i*(t.y-e.y)/n,c=-(t.y-e.y)*(o/n),u=-(t.x-e.x)*(o/n);return[{x:s+c,y:l-u},{x:s-c,y:l+u}]}function Ey(e,t,n){return Math.min(e,t)*Math.min(e,t)*Math.PI<=n+1e-10?Math.abs(e-t):(0,Ed.bisect)(function(r){return Eh(e,t,r)-n},0,e+t)}function EE(e,t){let n=function(e,t){let n;let r=t&&t.lossFunction?t.lossFunction:ET,a={},i={};for(let t=0;t=Math.min(a[o].size,a[s].size)&&(r=0),i[o].push({set:s,size:n.size,weight:r}),i[s].push({set:o,size:n.size,weight:r})}let o=[];for(n in i)if(i.hasOwnProperty(n)){let e=0;for(let t=0;t=8){let a=function(e,t){let n,r,a;t=t||{};let i=t.restarts||10,o=[],s={};for(n=0;n=Math.min(t[i].size,t[o].size)?u=1:e.size<=1e-10&&(u=-1),a[i][o]=a[o][i]=u}),{distances:r,constraints:a}}(e,o,s),c=l.distances,u=l.constraints,p=(0,Ed.norm2)(c.map(Ed.norm2))/c.length;c=c.map(function(e){return e.map(function(e){return e/p})});let d=function(e,t){return function(e,t,n,r){let a=0,i;for(i=0;i0&&g<=p||d<0&&g>=p||(a+=2*m*m,t[2*i]+=4*m*(o-c),t[2*i+1]+=4*m*(s-u),t[2*l]+=4*m*(c-o),t[2*l+1]+=4*m*(u-s))}}return a}(e,t,c,u)};for(n=0;n{let{sets:t="sets",size:n="size",as:r=["key","path"],padding:a=0}=e,[i,o]=r;return e=>{let r;let s=e.map(e=>Object.assign(Object.assign({},e),{sets:e[t],size:e[n],[i]:e.sets.join("&")}));s.sort((e,t)=>e.sets.length-t.sets.length);let l=function(e,t){let n;(t=t||{}).maxIterations=t.maxIterations||500;let r=t.initialLayout||EE,a=t.lossFunction||ET;e=function(e){let t,n,r,a;e=e.slice();let i=[],o={};for(t=0;te>t?1:-1),t=0;t{let n=e[t];return Object.assign(Object.assign({},e),{[o]:({width:e,height:t})=>{r=r||function(e,t,n,r){let a=[],i=[];for(let t in e)e.hasOwnProperty(t)&&(i.push(t),a.push(e[t]));t-=2*r,n-=2*r;let o=function(e){let t=function(t){let n=Math.max.apply(null,e.map(function(e){return e[t]+e.radius})),r=Math.min.apply(null,e.map(function(e){return e[t]-e.radius}));return{max:n,min:r}};return{xRange:t("x"),yRange:t("y")}}(a),s=o.xRange,l=o.yRange;if(s.max==s.min||l.max==l.min)return console.log("not scaling solution: zero size detected"),e;let c=t/(s.max-s.min),u=n/(l.max-l.min),p=Math.min(u,c),d=(t-(s.max-s.min)*p)/2,f=(n-(l.max-l.min)*p)/2,g={};for(let e=0;er[e]),o=function(e){let t={};Ef(e,t);let n=t.arcs;if(0===n.length)return"M 0 0";if(1==n.length){let e=n[0].circle;return function(e,t,n){let r=[],a=e-n;return r.push("M",a,t),r.push("A",n,n,0,1,0,a+2*n,t),r.push("A",n,n,0,1,0,a,t),r.join(" ")}(e.x,e.y,e.radius)}{let e=["\nM",n[0].p2.x,n[0].p2.y];for(let t=0;ta;e.push("\nA",a,a,0,i?1:0,1,r.p1.x,r.p1.y)}return e.join(" ")}}(i);return/[zZ]$/.test(o)||(o+=" Z"),o}})})}};ES.props={};var Ev=function(){return(Ev=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{this.forceFit()},300),this._renderer=r||new rE.Th,this._plugins=a||[],this._container=function(e){if(void 0===e){let e=document.createElement("div");return e[le]=!0,e}if("string"==typeof e){let t=document.getElementById(e);return t}return e}(t),this._emitter=new nK.Z,this._context={library:Object.assign(Object.assign({},i),rb),emitter:this._emitter,canvas:n,createCanvas:o},this._create()}render(){if(this._rendering)return this._addToTrailing();this._context.canvas||this._createCanvas(),this._context.canvas.getConfig().supportsCSSTransform=!0,this._bindAutoFit(),this._rendering=!0;let e=new Promise((e,t)=>(function(e,t={},n=()=>{},r=e=>{throw e}){var a;let{width:i=640,height:o=480,depth:s=0}=e,l=function(e){let t=(0,rv.Z)({},e),n=new Map([[t,null]]),r=new Map([[null,-1]]),a=[t];for(;a.length;){let e=a.shift();if(void 0===e.key){let t=n.get(e),a=r.get(e),i=null===t?"0":`${t.key}-${a}`;e.key=i}let{children:t=[]}=e;if(Array.isArray(t))for(let i=0;i(function e(t,n,r){var a;return sB(this,void 0,void 0,function*(){let{library:i}=r,[o]=oP("composition",i),[s]=oP("interaction",i),l=new Set(Object.keys(i).map(e=>{var t;return null===(t=/mark\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(rL)),c=new Set(Object.keys(i).map(e=>{var t;return null===(t=/component\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(rL)),u=e=>{let{type:t}=e;if("function"==typeof t){let{props:e={}}=t,{composite:n=!0}=e;if(n)return"mark"}return"string"!=typeof t?t:l.has(t)||c.has(t)?"mark":t},p=e=>"mark"===u(e),d=e=>"standardView"===u(e),f=e=>{let{type:t}=e;return"string"==typeof t&&!!c.has(t)},g=e=>{if(d(e))return[e];let t=u(e),n=o({type:t,static:f(e)});return n(e)},m=[],h=new Map,b=new Map,y=[t],E=[];for(;y.length;){let e=y.shift();if(d(e)){let t=b.get(e),[n,a]=t?s$(t,e,i):yield sH(e,r);h.set(n,e),m.push(n);let o=a.flatMap(g).map(e=>oB(e,i));if(y.push(...o),o.every(d)){let e=yield Promise.all(o.map(e=>sG(e,r)));!function(e){let t=e.flatMap(e=>Array.from(e.values())).flatMap(e=>e.channels.map(e=>e.scale));oV(t,"x"),oV(t,"y")}(e);for(let t=0;te.key).join(e=>e.append("g").attr("className",iQ).attr("id",e=>e.key).call(sU).each(function(e,t,n){sW(e,rU(n),v,r),T.set(e,n)}),e=>e.call(sU).each(function(e,t,n){sW(e,rU(n),v,r),S.set(e,n)}),e=>e.each(function(e,t,n){let r=n.nameInteraction.values();for(let e of r)e.destroy()}).remove());let A=(t,n,a)=>Array.from(t.entries()).map(([i,o])=>{let s=a||new Map,l=h.get(i),c=function(t,n,r){let{library:a}=r,i=function(e){let[,t]=oP("interaction",e);return e=>{let[n,r]=e;try{return[n,t(n)]}catch(e){return[n,r.type]}}}(a),o=sX(n),s=o.map(i).filter(e=>e[1]&&e[1].props&&e[1].props.reapplyWhenUpdate).map(e=>e[0]);return(n,a,i)=>sB(this,void 0,void 0,function*(){let[o,l]=yield sH(n,r);for(let e of(sW(o,t,[],r),s.filter(e=>e!==a)))!function(e,t,n,r,a){var i;let{library:o}=a,[s]=oP("interaction",o),l=t.node(),c=l.nameInteraction,u=sX(n).find(([t])=>t===e),p=c.get(e);if(!p||(null===(i=p.destroy)||void 0===i||i.call(p),!u[1]))return;let d=sz(r,e,u[1],s),f={options:n,view:r,container:t.node(),update:e=>Promise.resolve(e)},g=d(f,[],a.emitter);c.set(e,{destroy:g})}(e,t,n,o,r);for(let n of l)e(n,t,r);return i(),{options:n,view:o}})}(rU(o),l,r);return{view:i,container:o,options:l,setState:(e,t=e=>e)=>s.set(e,t),update:(e,r)=>sB(this,void 0,void 0,function*(){let a=rN(Array.from(s.values())),i=a(l);return yield c(i,e,()=>{(0,rz.Z)(r)&&n(t,r,s)})})}}),O=(e=S,t,n)=>{var a;let i=A(e,O,n);for(let e of i){let{options:n,container:o}=e,l=o.nameInteraction,c=sX(n);for(let n of(t&&(c=c.filter(e=>t.includes(e[0]))),c)){let[t,o]=n,c=l.get(t);if(c&&(null===(a=c.destroy)||void 0===a||a.call(c)),o){let n=sz(e.view,t,o,s),a=n(e,i,r.emitter);l.set(t,{destroy:a})}}}},_=A(T,O);for(let e of _){let{options:t}=e,n=new Map;for(let a of(e.container.nameInteraction=n,sX(t))){let[t,i]=a;if(i){let a=sz(e.view,t,i,s),o=a(e,_,r.emitter);n.set(t,{destroy:o})}}}O();let{width:k,height:I}=t,C=[];for(let t of E){let a=new Promise(a=>sB(this,void 0,void 0,function*(){for(let a of t){let t=Object.assign({width:k,height:I},a);yield e(t,n,r)}a()}));C.push(a)}r.views=m,null===(a=r.animations)||void 0===a||a.forEach(e=>null==e?void 0:e.cancel()),r.animations=v,r.emitter.emit(rG.AFTER_PAINT);let N=v.filter(rL).map(sq).map(e=>e.finished);return Promise.all([...N,...C])})})(Object.assign(Object.assign({},l),{width:i,height:o,depth:s}),g,t)).then(()=>{if(s){let[e,t]=c.document.documentElement.getPosition();c.document.documentElement.setPosition(e,t,-s/2)}c.requestAnimationFrame(()=>{u.emit(rG.AFTER_RENDER),null==n||n()})}).catch(e=>{null==r||r(e)}),"string"==typeof(a=c.getConfig().container)?document.getElementById(a):a})(this._computedOptions(),this._context,this._createResolve(e),this._createReject(t))),[t,n,r]=function(){let e,t;let n=new Promise((n,r)=>{t=n,e=r});return[n,t,e]}();return e.then(n).catch(r).then(()=>this._renderTrailing()),t}options(e){if(0==arguments.length)return function(e){let t=function(e){if(null!==e.type)return e;let t=e.children[e.children.length-1];for(let n of s7)t.attr(n,e.attr(n));return t}(e),n=[t],r=new Map;for(r.set(t,ln(t));n.length;){let e=n.pop(),t=r.get(e),{children:a=[]}=e;for(let e of a)if(e.type===lt)t.children=e.value;else{let a=ln(e),{children:i=[]}=t;i.push(a),n.push(e),r.set(e,a),t.children=i}}return r.get(t)}(this);let{type:t}=e;return t&&(this._previousDefinedType=t),function(e,t,n,r,a){let i=function(e,t,n,r,a){let{type:i}=e,{type:o=n||i}=t;if("function"!=typeof o&&new Set(Object.keys(a)).has(o)){for(let n of s7)void 0!==e.attr(n)&&void 0===t[n]&&(t[n]=e.attr(n));return t}if("function"==typeof o||new Set(Object.keys(r)).has(o)){let e={type:"view"},n=Object.assign({},t);for(let t of s7)void 0!==n[t]&&(e[t]=n[t],delete n[t]);return Object.assign(Object.assign({},e),{children:[n]})}return t}(e,t,n,r,a),o=[[null,e,i]];for(;o.length;){let[e,t,n]=o.shift();if(t){if(n){!function(e,t){let{type:n,children:r}=t,a=s8(t,["type","children"]);e.type===n||void 0===n?function e(t,n,r=5,a=0){if(!(a>=r)){for(let i of Object.keys(n)){let o=n[i];(0,rI.Z)(o)&&(0,rI.Z)(t[i])?e(t[i],o,r,a+1):t[i]=o}return t}}(e.value,a):"string"==typeof n&&(e.type=n,e.value=a)}(t,n);let{children:e}=n,{children:r}=t;if(Array.isArray(e)&&Array.isArray(r)){let n=Math.max(e.length,r.length);for(let a=0;a{this.emit(rG.AFTER_CHANGE_SIZE)}),n}changeSize(e,t){if(e===this._width&&t===this._height)return Promise.resolve(this);this.emit(rG.BEFORE_CHANGE_SIZE),this.attr("width",e),this.attr("height",t);let n=this.render();return n.then(()=>{this.emit(rG.AFTER_CHANGE_SIZE)}),n}_create(){let{library:e}=this._context,t=["mark.mark",...Object.keys(e).filter(e=>e.startsWith("mark.")||"component.axisX"===e||"component.axisY"===e||"component.legends"===e)];for(let e of(this._marks={},t)){let t=e.split(".").pop();class n extends lu{constructor(){super({},t)}}this._marks[t]=n,this[t]=function(e){let r=this.append(n);return"mark"===t&&(r.type=e),r}}let n=["composition.view",...Object.keys(e).filter(e=>e.startsWith("composition.")&&"composition.mark"!==e)];for(let e of(this._compositions=Object.fromEntries(n.map(e=>{let t=e.split(".").pop(),n=class extends lc{constructor(){super({},t)}};return n=lp([la(li(this._marks))],n),[t,n]})),Object.values(this._compositions)))la(li(this._compositions))(e);for(let e of n){let t=e.split(".").pop();this[t]=function(){let e=this._compositions[t];return this.type=null,this.append(e)}}}_reset(){let e=["theme","type","width","height","autoFit"];this.type="view",this.value=Object.fromEntries(Object.entries(this.value).filter(([t])=>t.startsWith("margin")||t.startsWith("padding")||t.startsWith("inset")||e.includes(t))),this.children=[]}_renderTrailing(){this._trailing&&(this._trailing=!1,this.render().then(()=>{let e=this._trailingResolve.bind(this);this._trailingResolve=null,e(this)}).catch(e=>{let t=this._trailingReject.bind(this);this._trailingReject=null,t(e)}))}_createResolve(e){return()=>{this._rendering=!1,e(this)}}_createReject(e){return t=>{this._rendering=!1,e(t)}}_computedOptions(){let e=this.options(),{key:t="G2_CHART_KEY"}=e,{width:n,height:r,depth:a}=lr(e,this._container);return this._width=n,this._height=r,this._key=t,Object.assign(Object.assign({key:this._key},e),{width:n,height:r,depth:a})}_createCanvas(){let{width:e,height:t}=lr(this.options(),this._container);this._plugins.push(new rT.S),this._plugins.forEach(e=>this._renderer.registerPlugin(e)),this._context.canvas=new nX.Xz({container:this._container,width:e,height:t,renderer:this._renderer})}_addToTrailing(){var e;null===(e=this._trailingResolve)||void 0===e||e.call(this,this),this._trailing=!0;let t=new Promise((e,t)=>{this._trailingResolve=e,this._trailingReject=t});return t}_bindAutoFit(){let e=this.options(),{autoFit:t}=e;if(this._hasBindAutoFit){t||this._unbindAutoFit();return}t&&(this._hasBindAutoFit=!0,window.addEventListener("resize",this._onResize))}_unbindAutoFit(){this._hasBindAutoFit&&(this._hasBindAutoFit=!1,window.removeEventListener("resize",this._onResize))}},s=Ev(Ev({},Object.assign(Object.assign(Object.assign(Object.assign({},{"composition.geoView":bH,"composition.geoPath":bz}),{"data.arc":yM,"data.cluster":b5,"mark.forceGraph":b1,"mark.tree":yt,"mark.pack":yc,"mark.sankey":yw,"mark.chord":yG,"mark.treemap":yq}),{"data.venn":ES,"mark.boxplot":y6,"mark.gauge":Er,"mark.wordCloud":pK,"mark.liquid":Ep}),{"data.fetch":hH,"data.inline":hG,"data.sortBy":hz,"data.sort":h$,"data.filter":hZ,"data.pick":hY,"data.rename":hV,"data.fold":hq,"data.slice":hK,"data.custom":hX,"data.map":hQ,"data.join":h0,"data.kde":h3,"data.log":h4,"data.wordCloud":bp,"transform.stackY":mW,"transform.binX":m7,"transform.bin":m8,"transform.dodgeX":ht,"transform.jitter":hr,"transform.jitterX":ha,"transform.jitterY":hi,"transform.symmetryY":hs,"transform.diffY":hl,"transform.stackEnter":hc,"transform.normalizeY":hd,"transform.select":hb,"transform.selectX":hE,"transform.selectY":hS,"transform.groupX":hO,"transform.groupY":h_,"transform.groupColor":hk,"transform.group":hA,"transform.sortX":hw,"transform.sortY":hx,"transform.sortColor":hR,"transform.flexX":hL,"transform.pack":hD,"transform.sample":hF,"transform.filter":hB,"coordinate.cartesian":lM,"coordinate.polar":r0,"coordinate.transpose":lF,"coordinate.theta":lj,"coordinate.parallel":lU,"coordinate.fisheye":lH,"coordinate.radial":r2,"coordinate.radar":lG,"encode.constant":lz,"encode.field":l$,"encode.transform":lW,"encode.column":lZ,"mark.interval":cT,"mark.rect":cv,"mark.line":c$,"mark.point":uu,"mark.text":uT,"mark.cell":uA,"mark.area":uM,"mark.link":uq,"mark.image":uJ,"mark.polygon":u5,"mark.box":pt,"mark.vector":pr,"mark.lineX":pl,"mark.lineY":pp,"mark.connector":ph,"mark.range":pT,"mark.rangeX":pA,"mark.rangeY":pk,"mark.path":pR,"mark.shape":pM,"mark.density":pU,"mark.heatmap":pY,"mark.wordCloud":pK,"palette.category10":pX,"palette.category20":pQ,"scale.linear":pJ,"scale.ordinal":p1,"scale.band":p3,"scale.identity":p5,"scale.point":p9,"scale.time":dx,"scale.log":dB,"scale.pow":dz,"scale.sqrt":dW,"scale.threshold":dZ,"scale.quantile":dY,"scale.quantize":dV,"scale.sequential":dJ,"scale.constant":d0,"theme.classic":d4,"theme.classicDark":d9,"theme.academy":d7,"theme.light":d3,"theme.dark":d6,"component.axisX":fe,"component.axisY":ft,"component.legendCategory":fi,"component.legendContinuous":aQ,"component.legends":fo,"component.title":fu,"component.sliderX":fg,"component.sliderY":fm,"component.scrollbarX":fE,"component.scrollbarY":fT,"animation.scaleInX":fS,"animation.scaleOutX":(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let[i]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=i.style,[u,p]=r9(n)?["left bottom","scale(1, 0.0001)"]:["left top","scale(0.0001, 1)"],d=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${p}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${p}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(d,Object.assign(Object.assign({},a),e));return f}},"animation.scaleInY":fv,"animation.scaleOutY":(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let[i]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=i.style,[u,p]=r9(n)?["left top","scale(0.0001, 1)"]:["left bottom","scale(1, 0.0001)"],d=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${p}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${p}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(d,Object.assign(Object.assign({},a),e));return f}},"animation.waveIn":fA,"animation.fadeIn":fO,"animation.fadeOut":f_,"animation.zoomIn":e=>(t,n,r)=>{let[a]=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=a.style,c="center center",u=[{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.01},{transform:`${i} scale(1)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l}],p=a.animate(u,Object.assign(Object.assign({},r),e));return p},"animation.zoomOut":e=>(t,n,r)=>{let[a]=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=a.style,c="center center",u=[{transform:`${i} scale(1)`.trimStart(),transformOrigin:c},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.99},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0}],p=a.animate(u,Object.assign(Object.assign({},r),e));return p},"animation.pathIn":fk,"animation.morphing":fF,"animation.growInX":fB,"animation.growInY":fj,"interaction.elementHighlight":fH,"interaction.elementHighlightByX":fG,"interaction.elementHighlightByColor":fz,"interaction.elementSelect":fW,"interaction.elementSelectByX":fZ,"interaction.elementSelectByColor":fY,"interaction.fisheye":function({wait:e=30,leading:t,trailing:n=!1}){return r=>{let{options:a,update:i,setState:o,container:s}=r,l=op(s),c=fV(e=>{let t=of(l,e);if(!t){o("fisheye"),i();return}o("fisheye",e=>{let n=(0,rv.Z)({},e,{interaction:{tooltip:{preserve:!0}}});for(let e of n.marks)e.animate=!1;let[r,a]=t,i=function(e){let{coordinate:t={}}=e,{transform:n=[]}=t,r=n.find(e=>"fisheye"===e.type);if(r)return r;let a={type:"fisheye"};return n.push(a),t.transform=n,e.coordinate=t,a}(n);return i.focusX=r,i.focusY=a,i.visual=!0,n}),i()},e,{leading:t,trailing:n});return l.addEventListener("pointerenter",c),l.addEventListener("pointermove",c),l.addEventListener("pointerleave",c),()=>{l.removeEventListener("pointerenter",c),l.removeEventListener("pointermove",c),l.removeEventListener("pointerleave",c)}}},"interaction.chartIndex":fX,"interaction.tooltip":gs,"interaction.legendFilter":function(){return(e,t,n)=>{let{container:r}=e,a=t.filter(t=>t!==e),i=a.length>0,o=e=>gm(e).scales.map(e=>e.name),s=[...gf(r),...gg(r)],l=s.flatMap(o),c=i?fV(gb,50,{trailing:!0}):fV(gh,50,{trailing:!0}),u=s.map(t=>{let{name:s,domain:u}=gm(t).scales[0],p=o(t),d={legend:t,channel:s,channels:p,allChannels:l};return t.className===gc?function(e,{legends:t,marker:n,label:r,datum:a,filter:i,emitter:o,channel:s,state:l={}}){let c=new Map,u=new Map,p=new Map,{unselected:d={markerStroke:"#aaa",markerFill:"#aaa",labelFill:"#aaa"}}=l,f={unselected:rD(d,"marker")},g={unselected:rD(d,"label")},{setState:m,removeState:h}=oy(f,void 0),{setState:b,removeState:y}=oy(g,void 0),E=Array.from(t(e)),T=E.map(a),S=()=>{for(let e of E){let t=a(e),i=n(e),o=r(e);T.includes(t)?(h(i,"unselected"),y(o,"unselected")):(m(i,"unselected"),b(o,"unselected"))}};for(let t of E){let n=()=>{o_(e,"pointer")},r=()=>{o_(e,e.cursor)},l=e=>gl(this,void 0,void 0,function*(){let n=a(t),r=T.indexOf(n);-1===r?T.push(n):T.splice(r,1),yield i(T),S();let{nativeEvent:l=!0}=e;l&&(T.length===E.length?o.emit("legend:reset",{nativeEvent:l}):o.emit("legend:filter",Object.assign(Object.assign({},e),{nativeEvent:l,data:{channel:s,values:T}})))});t.addEventListener("click",l),t.addEventListener("pointerenter",n),t.addEventListener("pointerout",r),c.set(t,l),u.set(t,n),p.set(t,r)}let v=e=>gl(this,void 0,void 0,function*(){let{nativeEvent:t}=e;if(t)return;let{data:n}=e,{channel:r,values:a}=n;r===s&&(T=a,yield i(T),S())}),A=e=>gl(this,void 0,void 0,function*(){let{nativeEvent:t}=e;t||(T=E.map(a),yield i(T),S())});return o.on("legend:filter",v),o.on("legend:reset",A),()=>{for(let e of E)e.removeEventListener("click",c.get(e)),e.removeEventListener("pointerenter",u.get(e)),e.removeEventListener("pointerout",p.get(e)),o.off("legend:filter",v),o.off("legend:reset",A)}}(r,{legends:gd,marker:gu,label:gp,datum:e=>{let{__data__:t}=e,{index:n}=t;return u[n]},filter:t=>{let n=Object.assign(Object.assign({},d),{value:t,ordinal:!0});i?c(a,n):c(e,n)},state:t.attributes.state,channel:s,emitter:n}):function(e,{legend:t,filter:n,emitter:r,channel:a}){let i=({detail:{value:e}})=>{n(e),r.emit({nativeEvent:!0,data:{channel:a,values:e}})};return t.addEventListener("valuechange",i),()=>{t.removeEventListener("valuechange",i)}}(0,{legend:t,filter:t=>{let n=Object.assign(Object.assign({},d),{value:t,ordinal:!1});i?c(a,n):c(e,n)},emitter:n,channel:s})});return()=>{u.forEach(e=>e())}}},"interaction.legendHighlight":function(){return(e,t,n)=>{let{container:r,view:a,options:i}=e,o=gf(r),s=ol(r),l=e=>gm(e).scales[0].name,c=e=>{let{scale:{[e]:t}}=a;return t},u=oT(i,["active","inactive"]),p=oS(s,ob(a)),d=[];for(let e of o){let t=t=>{let{data:n}=e.attributes,{__data__:r}=t,{index:a}=r;return n[a].label},r=l(e),a=gd(e),i=c(r),o=(0,rA.ZP)(s,e=>i.invert(e.__data__[r])),{state:f={}}=e.attributes,{inactive:g={}}=f,{setState:m,removeState:h}=oy(u,p),b={inactive:rD(g,"marker")},y={inactive:rD(g,"label")},{setState:E,removeState:T}=oy(b),{setState:S,removeState:v}=oy(y),A=e=>{for(let t of a){let n=gu(t),r=gp(t);t===e||null===e?(T(n,"inactive"),v(r,"inactive")):(E(n,"inactive"),S(r,"inactive"))}},O=(e,a)=>{let i=t(a),l=new Set(o.get(i));for(let e of s)l.has(e)?m(e,"active"):m(e,"inactive");A(a);let{nativeEvent:c=!0}=e;c&&n.emit("legend:highlight",Object.assign(Object.assign({},e),{nativeEvent:c,data:{channel:r,value:i}}))},_=new Map;for(let e of a){let t=t=>{O(t,e)};e.addEventListener("pointerover",t),_.set(e,t)}let k=e=>{for(let e of s)h(e,"inactive","active");A(null);let{nativeEvent:t=!0}=e;t&&n.emit("legend:unhighlight",{nativeEvent:t})},I=e=>{let{nativeEvent:n,data:i}=e;if(n)return;let{channel:o,value:s}=i;if(o!==r)return;let l=a.find(e=>t(e)===s);l&&O({nativeEvent:!1},l)},C=e=>{let{nativeEvent:t}=e;t||k({nativeEvent:!1})};e.addEventListener("pointerleave",k),n.on("legend:highlight",I),n.on("legend:unhighlight",C);let N=()=>{for(let[t,r]of(e.removeEventListener(k),n.off("legend:highlight",I),n.off("legend:unhighlight",C),_))t.removeEventListener(r)};d.push(N)}return()=>d.forEach(e=>e())}},"interaction.brushHighlight":gO,"interaction.brushXHighlight":function(e){return gO(Object.assign(Object.assign({},e),{brushRegion:g_,selectedHandles:["handle-e","handle-w"]}))},"interaction.brushYHighlight":function(e){return gO(Object.assign(Object.assign({},e),{brushRegion:gk,selectedHandles:["handle-n","handle-s"]}))},"interaction.brushAxisHighlight":function(e){return(t,n,r)=>{let{container:a,view:i,options:o}=t,s=op(a),{x:l,y:c}=s.getBBox(),{coordinate:u}=i;return function(e,t){var{axes:n,elements:r,points:a,horizontal:i,datum:o,offsetY:s,offsetX:l,reverse:c=!1,state:u={},emitter:p,coordinate:d}=t,f=gI(t,["axes","elements","points","horizontal","datum","offsetY","offsetX","reverse","state","emitter","coordinate"]);let g=r(e),m=n(e),h=oS(g,o),{setState:b,removeState:y}=oy(u,h),E=new Map,T=rD(f,"mask"),S=e=>Array.from(E.values()).every(([t,n,r,a])=>e.some(([e,i])=>e>=t&&e<=r&&i>=n&&i<=a)),v=m.map(e=>e.attributes.scale),A=e=>e.length>2?[e[0],e[e.length-1]]:e,O=new Map,_=()=>{O.clear();for(let e=0;e{let n=[];for(let e of g){let t=a(e);S(t)?(b(e,"active"),n.push(e)):b(e,"inactive")}O.set(e,C(n,e)),t&&p.emit("brushAxis:highlight",{nativeEvent:!0,data:{selection:(()=>{if(!N)return Array.from(O.values());let e=[];for(let[t,n]of O){let r=v[t],{name:a}=r.getOptions();"x"===a?e[0]=n:e[1]=n}return e})()}})},I=e=>{for(let e of g)y(e,"active","inactive");_(),e&&p.emit("brushAxis:remove",{nativeEvent:!0})},C=(e,t)=>{let n=v[t],{name:r}=n.getOptions(),a=e.map(e=>{let t=e.__data__;return n.invert(t[r])});return A(i6(n,a))},N=m.some(i)&&m.some(e=>!i(e)),w=[];for(let e=0;e{let{nativeEvent:t}=e;t||w.forEach(e=>e.remove(!1))},R=(e,t,n)=>{let[r,a]=e,o=L(r,t,n),s=L(a,t,n)+(t.getStep?t.getStep():0);return i(n)?[o,-1/0,s,1/0]:[-1/0,o,1/0,s]},L=(e,t,n)=>{let{height:r,width:a}=d.getOptions(),o=t.clone();return i(n)?o.update({range:[0,a]}):o.update({range:[r,0]}),o.map(e)},D=e=>{let{nativeEvent:t}=e;if(t)return;let{selection:n}=e.data;for(let e=0;e{w.forEach(e=>e.destroy()),p.off("brushAxis:remove",x),p.off("brushAxis:highlight",D)}}(a,Object.assign({elements:ol,axes:gN,offsetY:c,offsetX:l,points:e=>e.__data__.points,horizontal:e=>{let{startPos:[t,n],endPos:[r,a]}=e.attributes;return t!==r&&n===a},datum:ob(i),state:oT(o,["active",["inactive",{opacity:.5}]]),coordinate:u,emitter:r},e))}},"interaction.brushFilter":gP,"interaction.brushXFilter":function(e){return gP(Object.assign(Object.assign({hideX:!0},e),{brushRegion:g_}))},"interaction.brushYFilter":function(e){return gP(Object.assign(Object.assign({hideY:!0},e),{brushRegion:gk}))},"interaction.sliderFilter":gB,"interaction.scrollbarFilter":function(e={}){return(t,n,r)=>{let{view:a,container:i}=t,o=i.getElementsByClassName(gj);if(!o.length)return()=>{};let{scale:s}=a,{x:l,y:c}=s,u={x:[...l.getOptions().domain],y:[...c.getOptions().domain]};l.update({domain:l.getOptions().expectedDomain}),c.update({domain:c.getOptions().expectedDomain});let p=gB(Object.assign(Object.assign({},e),{initDomain:u,className:gj,prefix:"scrollbar",hasState:!0,setValue:(e,t)=>e.setValue(t[0]),getInitValues:e=>{let t=e.slider.attributes.values;if(0!==t[0])return t}}));return p(t,n,r)}},"interaction.poptip":gz,"interaction.treemapDrillDown":function(e={}){let{originData:t=[],layout:n}=e,r=g0(e,["originData","layout"]),a=(0,rv.Z)({},g1,r),i=rD(a,"breadCrumb"),o=rD(a,"active");return e=>{let{update:r,setState:a,container:s,options:l}=e,c=rU(s).select(`.${iJ}`).node(),u=l.marks[0],{state:p}=u,d=new nX.ZA;c.appendChild(d);let f=(e,l)=>{var u,p,g,m;return u=this,p=void 0,g=void 0,m=function*(){if(d.removeChildren(),l){let t="",n=i.y,r=0,a=[],s=c.getBBox().width,l=e.map((o,l)=>{t=`${t}${o}/`,a.push(o);let c=new nX.xv({name:t.replace(/\/$/,""),style:Object.assign(Object.assign({text:o,x:r,path:[...a],depth:l},i),{y:n})});d.appendChild(c),r+=c.getBBox().width;let u=new nX.xv({style:Object.assign(Object.assign({x:r,text:" / "},i),{y:n})});return d.appendChild(u),(r+=u.getBBox().width)>s&&(n=d.getBBox().height+i.y,r=0,c.attr({x:r,y:n}),r+=c.getBBox().width,u.attr({x:r,y:n}),r+=u.getBBox().width),l===aH(e)-1&&u.remove(),c});l.forEach((e,t)=>{if(t===aH(l)-1)return;let n=Object.assign({},e.attributes);e.attr("cursor","pointer"),e.addEventListener("mouseenter",()=>{e.attr(o)}),e.addEventListener("mouseleave",()=>{e.attr(n)}),e.addEventListener("click",()=>{f((0,lm.Z)(e,["style","path"]),(0,lm.Z)(e,["style","depth"]))})})}(function(e,t){let n=[...gf(e),...gg(e)];n.forEach(e=>{t(e,e=>e)})})(s,a),a("treemapDrillDown",r=>{let{marks:a}=r,i=e.join("/"),o=a.map(e=>{if("rect"!==e.type)return e;let r=t;if(l){let e=t.filter(e=>{let t=(0,lm.Z)(e,["id"]);return t&&(t.match(`${i}/`)||i.match(t))}).map(e=>({value:0===e.height?(0,lm.Z)(e,["value"]):void 0,name:(0,lm.Z)(e,["id"])})),{paddingLeft:a,paddingBottom:o,paddingRight:s}=n,c=Object.assign(Object.assign({},n),{paddingTop:(n.paddingTop||d.getBBox().height+10)/(l+1),paddingLeft:a/(l+1),paddingBottom:o/(l+1),paddingRight:s/(l+1),path:e=>e.name,layer:e=>e.depth===l+1});r=gJ(e,c,{value:"value"})[0]}else r=t.filter(e=>1===e.depth);let a=[];return r.forEach(({path:e})=>{a.push(fr(e))}),(0,rv.Z)({},e,{data:r,scale:{color:{domain:a}}})});return Object.assign(Object.assign({},r),{marks:o})}),yield r(void 0,["legendFilter"])},new(g||(g=Promise))(function(e,t){function n(e){try{a(m.next(e))}catch(e){t(e)}}function r(e){try{a(m.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof g?a:new g(function(e){e(a)})).then(n,r)}a((m=m.apply(u,p||[])).next())})},g=e=>{let n=e.target;if("rect"!==(0,lm.Z)(n,["markType"]))return;let r=(0,lm.Z)(n,["__data__","key"]),a=gW(t,e=>e.id===r);(0,lm.Z)(a,"height")&&f((0,lm.Z)(a,"path"),(0,lm.Z)(a,"depth"))};c.addEventListener("click",g);let m=lR(Object.assign(Object.assign({},p.active),p.inactive)),h=()=>{let e=oN(c);e.forEach(e=>{let n=(0,lm.Z)(e,["style","cursor"]),r=gW(t,t=>t.id===(0,lm.Z)(e,["__data__","key"]));if("pointer"!==n&&(null==r?void 0:r.height)){e.style.cursor="pointer";let t=lg(e.attributes,m);e.addEventListener("mouseenter",()=>{e.attr(p.active)}),e.addEventListener("mouseleave",()=>{e.attr((0,rv.Z)(t,p.inactive))})}})};return h(),c.addEventListener("mousemove",h),()=>{d.remove(),c.removeEventListener("click",g),c.removeEventListener("mousemove",h)}}},"interaction.elementPointMove":function(e={}){let{selection:t=[],precision:n=2}=e,r=g4(e,["selection","precision"]),a=Object.assign(Object.assign({},g5),r||{}),i=rD(a,"path"),o=rD(a,"label"),s=rD(a,"point");return(e,r,a)=>{let l;let{update:c,setState:u,container:p,view:d,options:{marks:f,coordinate:g}}=e,m=op(p),h=oN(m),b=t,{transform:y=[],type:E}=g,T=!!gW(y,({type:e})=>"transpose"===e),S="polar"===E,v="theta"===E,A=!!gW(h,({markType:e})=>"area"===e);A&&(h=h.filter(({markType:e})=>"area"===e));let O=new nX.ZA({style:{zIndex:2}});m.appendChild(O);let _=()=>{a.emit("element-point:select",{nativeEvent:!0,data:{selection:b}})},k=(e,t)=>{a.emit("element-point:moved",{nativeEvent:!0,data:{changeData:e,data:t}})},I=e=>{let t=e.target;b=[t.parentNode.childNodes.indexOf(t)],_(),N(t)},C=e=>{let{data:{selection:t},nativeEvent:n}=e;if(n)return;b=t;let r=(0,lm.Z)(h,[null==b?void 0:b[0]]);r&&N(r)},N=e=>{let t;let{attributes:r,markType:a,__data__:g}=e,{stroke:m}=r,{points:h,seriesTitle:y,color:E,title:I,seriesX:C,y1:w}=g;if(T&&"interval"!==a)return;let{scale:x,coordinate:R}=(null==l?void 0:l.view)||d,{color:L,y:D,x:P}=x,M=R.getCenter();O.removeChildren();let F=(e,t,n,r)=>g3(this,void 0,void 0,function*(){return u("elementPointMove",a=>{var i;let o=((null===(i=null==l?void 0:l.options)||void 0===i?void 0:i.marks)||f).map(a=>{if(!r.includes(a.type))return a;let{data:i,encode:o}=a,s=Object.keys(o),l=s.reduce((r,a)=>{let i=o[a];return"x"===a&&(r[i]=e),"y"===a&&(r[i]=t),"color"===a&&(r[i]=n),r},{}),c=g7(l,i,o);return k(l,c),(0,rv.Z)({},a,{data:c,animate:!1})});return Object.assign(Object.assign({},a),{marks:o})}),yield c("elementPointMove")});if(["line","area"].includes(a))h.forEach((r,a)=>{let c=P.invert(C[a]);if(!c)return;let u=new nX.Cd({name:g6,style:Object.assign({cx:r[0],cy:r[1],fill:m},s)}),d=mt(e,a);u.addEventListener("mousedown",f=>{let g=R.output([C[a],0]),m=null==y?void 0:y.length;p.attr("cursor","move"),b[1]!==a&&(b[1]=a,_()),mn(O.childNodes,b,s);let[T,v]=mr(O,u,i,o),k=e=>{let i=r[1]+e.clientY-t[1];if(A){if(S){let o=r[0]+e.clientX-t[0],[s,l]=mi(M,g,[o,i]),[,c]=R.output([1,D.output(0)]),[,p]=R.invert([s,c-(h[a+m][1]-l)]),f=(a+1)%m,b=(a-1+m)%m,E=oC([h[b],[s,l],y[f]&&h[f]]);v.attr("text",d(D.invert(p)).toFixed(n)),T.attr("d",E),u.attr("cx",s),u.attr("cy",l)}else{let[,e]=R.output([1,D.output(0)]),[,t]=R.invert([r[0],e-(h[a+m][1]-i)]),o=oC([h[a-1],[r[0],i],y[a+1]&&h[a+1]]);v.attr("text",d(D.invert(t)).toFixed(n)),T.attr("d",o),u.attr("cy",i)}}else{let[,e]=R.invert([r[0],i]),t=oC([h[a-1],[r[0],i],h[a+1]]);v.attr("text",D.invert(e).toFixed(n)),T.attr("d",t),u.attr("cy",i)}};t=[f.clientX,f.clientY],window.addEventListener("mousemove",k);let I=()=>g3(this,void 0,void 0,function*(){if(p.attr("cursor","default"),window.removeEventListener("mousemove",k),p.removeEventListener("mouseup",I),(0,g2.Z)(v.attr("text")))return;let t=Number(v.attr("text")),n=ma(L,E);l=yield F(c,t,n,["line","area"]),v.remove(),T.remove(),N(e)});p.addEventListener("mouseup",I)}),O.appendChild(u)}),mn(O.childNodes,b,s);else if("interval"===a){let r=[(h[0][0]+h[1][0])/2,h[0][1]];T?r=[h[0][0],(h[0][1]+h[1][1])/2]:v&&(r=h[0]);let c=me(e),u=new nX.Cd({name:g6,style:Object.assign(Object.assign({cx:r[0],cy:r[1],fill:m},s),{stroke:s.activeStroke})});u.addEventListener("mousedown",s=>{p.attr("cursor","move");let d=ma(L,E),[f,g]=mr(O,u,i,o),m=e=>{if(T){let a=r[0]+e.clientX-t[0],[i]=R.output([D.output(0),D.output(0)]),[,o]=R.invert([i+(a-h[2][0]),r[1]]),s=oC([[a,h[0][1]],[a,h[1][1]],h[2],h[3]],!0);g.attr("text",c(D.invert(o)).toFixed(n)),f.attr("d",s),u.attr("cx",a)}else if(v){let a=r[1]+e.clientY-t[1],i=r[0]+e.clientX-t[0],[o,s]=mi(M,[i,a],r),[l,p]=mi(M,[i,a],h[1]),d=R.invert([o,s])[1],m=w-d;if(m<0)return;let b=function(e,t,n=0){let r=[["M",...t[1]]],a=oI(e,t[1]),i=oI(e,t[0]);return 0===a?r.push(["L",...t[3]],["A",i,i,0,n,1,...t[0]],["Z"]):r.push(["A",a,a,0,n,0,...t[2]],["L",...t[3]],["A",i,i,0,n,1,...t[0]],["Z"]),r}(M,[[o,s],[l,p],h[2],h[3]],m>.5?1:0);g.attr("text",c(m,!0).toFixed(n)),f.attr("d",b),u.attr("cx",o),u.attr("cy",s)}else{let a=r[1]+e.clientY-t[1],[,i]=R.output([1,D.output(0)]),[,o]=R.invert([r[0],i-(h[2][1]-a)]),s=oC([[h[0][0],a],[h[1][0],a],h[2],h[3]],!0);g.attr("text",c(D.invert(o)).toFixed(n)),f.attr("d",s),u.attr("cy",a)}};t=[s.clientX,s.clientY],window.addEventListener("mousemove",m);let b=()=>g3(this,void 0,void 0,function*(){if(p.attr("cursor","default"),p.removeEventListener("mouseup",b),window.removeEventListener("mousemove",m),(0,g2.Z)(g.attr("text")))return;let t=Number(g.attr("text"));l=yield F(I,t,d,[a]),g.remove(),f.remove(),N(e)});p.addEventListener("mouseup",b)}),O.appendChild(u)}};h.forEach((e,t)=>{b[0]===t&&N(e),e.addEventListener("click",I),e.addEventListener("mouseenter",g9),e.addEventListener("mouseleave",g8)});let w=e=>{let t=null==e?void 0:e.target;t&&(t.name===g6||h.includes(t))||(b=[],_(),O.removeChildren())};return a.on("element-point:select",C),a.on("element-point:unselect",w),p.addEventListener("mousedown",w),()=>{O.remove(),a.off("element-point:select",C),a.off("element-point:unselect",w),p.removeEventListener("mousedown",w),h.forEach(e=>{e.removeEventListener("click",I),e.removeEventListener("mouseenter",g9),e.removeEventListener("mouseleave",g8)})}}},"composition.spaceLayer":ms,"composition.spaceFlex":mc,"composition.facetRect":mO,"composition.repeatMatrix":()=>e=>{let t=mu.of(e).call(mh).call(mf).call(mI).call(mC).call(mg).call(mm).call(mk).value();return[t]},"composition.facetCircle":()=>e=>{let t=mu.of(e).call(mh).call(mR).call(mf).call(mx).call(mb).call(my,mD,mL,mL,{frame:!1}).call(mg).call(mm).call(mw).value();return[t]},"composition.timingKeyframe":mP,"labelTransform.overlapHide":e=>{let{priority:t}=e;return e=>{let n=[];return t&&e.sort(t),e.forEach(e=>{oo(e);let t=e.getLocalBounds(),r=n.some(e=>(function(e,t){let[n,r]=e,[a,i]=t;return n[0]a[0]&&n[1]a[1]})(bd(t),bd(e.getLocalBounds())));r?oi(e):n.push(e)}),e}},"labelTransform.overlapDodgeY":e=>{let{maxIterations:t=10,maxError:n=.1,padding:r=1}=e;return e=>{let a=e.length;if(a<=1)return e;let[i,o]=bg(),[s,l]=bg(),[c,u]=bg(),[p,d]=bg();for(let t of e){let{min:e,max:n}=function(e){let t=e.cloneNode(!0),n=t.getElementById("connector");n&&t.removeChild(n);let{min:r,max:a}=t.getRenderBounds();return t.destroy(),{min:r,max:a}}(t),[r,a]=e,[i,s]=n;o(t,a),l(t,a),u(t,s-a),d(t,[r,i])}for(let i=0;i(0,sb.Z)(s(e),s(t)));let t=0;for(let n=0;ne&&t>n}(p(i),p(a));)o+=1;if(a){let e=s(i),n=c(i),o=s(a),u=o-(e+n);if(ue=>(e.forEach(e=>{oo(e);let t=e.attr("bounds"),n=e.getLocalBounds(),r=function(e,t){let[n,r]=e;return!(bf(n,t)&&bf(r,t))}(bd(n),t);r&&oi(e)}),e),"labelTransform.contrastReverse":e=>{let{threshold:t=4.5,palette:n=["#000","#fff"]}=e;return e=>(e.forEach(e=>{let r=e.attr("dependentElement").parsedStyle.fill,a=e.parsedStyle.fill,i=bb(a,r);ibb(e,"object"==typeof t?t:(0,nX.lu)(t)));return t[n]}(r,n))}),e)},"labelTransform.exceedAdjust":()=>(e,{canvas:t})=>{let{width:n,height:r}=t.getConfig();return e.forEach(e=>{oo(e);let{max:t,min:a}=e.getRenderBounds(),[i,o]=t,[s,l]=a,c=by([[s,l],[i,o]],[[0,0],[n,r]]);e.style.connector&&e.style.connectorPoints&&(e.style.connectorPoints[0][0]-=c[0],e.style.connectorPoints[0][1]-=c[1]),e.style.x+=c[0],e.style.y+=c[1]}),e}})),{"interaction.drillDown":function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{breadCrumb:t={},isFixedColor:n=!1}=e,r=(0,rv.Z)({},lP,t);return e=>{let{update:t,setState:a,container:i,view:o,options:s}=e,l=i.ownerDocument,c=(0,lL.Ys)(i).select(".".concat(lL.V$)).node(),u=s.marks.find(e=>{let{id:t}=e;return t===l_}),{state:p}=u,d=l.createElement("g");c.appendChild(d);let f=(e,i)=>{var s,u,p,g;return s=this,u=void 0,p=void 0,g=function*(){if(d.removeChildren(),e){let t=l.createElement("text",{style:Object.assign({x:0,text:r.rootText,depth:0},r.style)});d.appendChild(t);let n="",a=null==e?void 0:e.split(" / "),i=r.style.y,o=d.getBBox().width,s=c.getBBox().width,u=a.map((e,t)=>{let a=l.createElement("text",{style:Object.assign(Object.assign({x:o,text:" / "},r.style),{y:i})});d.appendChild(a),o+=a.getBBox().width,n="".concat(n).concat(e," / ");let c=l.createElement("text",{name:n.replace(/\s\/\s$/,""),style:Object.assign(Object.assign({text:e,x:o,depth:t+1},r.style),{y:i})});return d.appendChild(c),(o+=c.getBBox().width)>s&&(i=d.getBBox().height,o=0,a.attr({x:o,y:i}),o+=a.getBBox().width,c.attr({x:o,y:i}),o+=c.getBBox().width),c});[t,...u].forEach((e,t)=>{if(t===u.length)return;let n=Object.assign({},e.attributes);e.attr("cursor","pointer"),e.addEventListener("mouseenter",()=>{e.attr(r.active)}),e.addEventListener("mouseleave",()=>{e.attr(n)}),e.addEventListener("click",()=>{f(e.name,(0,lm.Z)(e,["style","depth"]))})})}a("drillDown",t=>{let{marks:r}=t,a=r.map(t=>{if(t.id!==l_&&"rect"!==t.type)return t;let{data:r}=t,a=Object.fromEntries(["color"].map(e=>[e,{domain:o.scale[e].getOptions().domain}])),s=r.filter(t=>{let r=t.path;if(n||(t[lC]=r.split(" / ")[i]),!e)return!0;let a=new RegExp("^".concat(e,".+"));return a.test(r)});return(0,rv.Z)({},t,n?{data:s,scale:a}:{data:s})});return Object.assign(Object.assign({},t),{marks:a})}),yield t()},new(p||(p=Promise))(function(e,t){function n(e){try{a(g.next(e))}catch(e){t(e)}}function r(e){try{a(g.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof p?a:new p(function(e){e(a)})).then(n,r)}a((g=g.apply(s,u||[])).next())})},g=e=>{let t=e.target;if((0,lm.Z)(t,["style",lk])!==l_||"rect"!==(0,lm.Z)(t,["markType"])||!(0,lm.Z)(t,["style",lv]))return;let n=(0,lm.Z)(t,["__data__","key"]),r=(0,lm.Z)(t,["style","depth"]);t.style.cursor="pointer",f(n,r)};c.addEventListener("click",g);let m=lR(Object.assign(Object.assign({},p.active),p.inactive)),h=()=>{let e=lD(c);e.forEach(e=>{let t=(0,lm.Z)(e,["style",lv]),n=(0,lm.Z)(e,["style","cursor"]);if("pointer"!==n&&t){e.style.cursor="pointer";let t=lg(e.attributes,m);e.addEventListener("mouseenter",()=>{e.attr(p.active)}),e.addEventListener("mouseleave",()=>{e.attr((0,rv.Z)(t,p.inactive))})}})};return c.addEventListener("mousemove",h),()=>{d.remove(),c.removeEventListener("click",g),c.removeEventListener("mousemove",h)}}},"mark.sunburst":lw}),class extends o{constructor(e){super(Object.assign(Object.assign({},e),{lib:s}))}}),EO=function(){return(EO=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},Ek=["renderer"],EI=["width","height","autoFit","theme","inset","insetLeft","insetRight","insetTop","insetBottom","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","margin","marginTop","marginRight","marginBottom","marginLeft","depth","title","clip","children","type","data","direction"],EC="__transform__",EN=function(e,t){return(0,eP.isBoolean)(t)?{type:e,available:t}:EO({type:e},t)},Ew={xField:"encode.x",yField:"encode.y",colorField:"encode.color",angleField:"encode.y",keyField:"encode.key",sizeField:"encode.size",shapeField:"encode.shape",seriesField:"encode.series",positionField:"encode.position",textField:"encode.text",valueField:"encode.value",binField:"encode.x",srcField:"encode.src",linkColorField:"encode.linkColor",fontSizeField:"encode.fontSize",radius:"coordinate.outerRadius",innerRadius:"coordinate.innerRadius",startAngle:"coordinate.startAngle",endAngle:"coordinate.endAngle",focusX:"coordinate.focusX",focusY:"coordinate.focusY",distortionX:"coordinate.distortionX",distortionY:"coordinate.distortionY",visual:"coordinate.visual",stack:{target:"transform",value:function(e){return EN("stackY",e)}},normalize:{target:"transform",value:function(e){return EN("normalizeY",e)}},percent:{target:"transform",value:function(e){return EN("normalizeY",e)}},group:{target:"transform",value:function(e){return EN("dodgeX",e)}},sort:{target:"transform",value:function(e){return EN("sortX",e)}},symmetry:{target:"transform",value:function(e){return EN("symmetryY",e)}},diff:{target:"transform",value:function(e){return EN("diffY",e)}},meta:{target:"scale",value:function(e){return e}},label:{target:"labels",value:function(e){return e}},shape:"style.shape",connectNulls:{target:"style",value:function(e){return(0,eP.isBoolean)(e)?{connect:e}:e}}},Ex=["xField","yField","seriesField","colorField","keyField","positionField","meta","tooltip","animate","stack","normalize","percent","group","sort","symmetry","diff"],ER=[{key:"annotations",extend_keys:[]},{key:"line",type:"line",extend_keys:Ex},{key:"point",type:"point",extend_keys:Ex},{key:"area",type:"area",extend_keys:Ex}],EL=[{key:"transform",callback:function(e,t,n){e[t]=e[t]||[];var r,a=n.available,i=E_(n,["available"]);if(void 0===a||a)e[t].push(EO(((r={})[EC]=!0,r),i));else{var o=e[t].indexOf(function(e){return e.type===n.type});-1!==o&&e[t].splice(o,1)}}},{key:"labels",callback:function(e,t,n){var r;if(!n||(0,eP.isArray)(n)){e[t]=n||[];return}n.text||(n.text=e.yField),e[t]=e[t]||[],e[t].push(EO(((r={})[EC]=!0,r),n))}}],ED=[{key:"conversionTag",shape:"ConversionTag"},{key:"axisText",shape:"BidirectionalBarAxisText"}],EP=(l=function(e,t){return(l=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),EM=function(){return(EM=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},EB=function(e){function t(t){void 0===t&&(t={});var n=t.style,r=EF(t,["style"]);return e.call(this,EM({style:EM({fill:"#eee"},n)},r))||this}return EP(t,e),t}(nX.mg),Ej=(c=function(e,t){return(c=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),EU=function(){return(EU=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},EG=function(e){function t(t){void 0===t&&(t={});var n=t.style,r=EH(t,["style"]);return e.call(this,EU({style:EU({text:"",fontSize:12,textBaseline:"middle",textAlign:"center",fill:"#000",fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",lineWidth:1},n)},r))||this}return Ej(t,e),t}(nX.xv),Ez=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a0){var r=t.x,a=t.y,i=t.height,o=t.width,s=t.data,d=t.key,f=(0,eP.get)(s,l),m=g/2;if(e){var b=r+o/2,E=a;p.push({points:[[b+m,E-u+y],[b+m,E-h-y],[b,E-y],[b-m,E-h-y],[b-m,E-u+y]],center:[b,E-u/2-y],width:u,value:[c,f],key:d})}else{var b=r,E=a+i/2;p.push({points:[[r-u+y,E-m],[r-h-y,E-m],[b-y,E],[r-h-y,E+m],[r-u+y,E+m]],center:[b-u/2-y,E],width:u,value:[c,f],key:d})}c=f}}),p},t.prototype.render=function(){this.setDirection(),this.drawConversionTag()},t.prototype.setDirection=function(){var e=this.chart.getCoordinate(),t=(0,eP.get)(e,"options.transformations"),n="horizontal";t.forEach(function(e){e.includes("transpose")&&(n="vertical")}),this.direction=n},t.prototype.drawConversionTag=function(){var e=this,t=this.getConversionTagLayout(),n=this.attributes,r=n.style,a=n.text,i=a.style,o=a.formatter;t.forEach(function(t){var n=t.points,a=t.center,s=t.value,l=t.key,c=s[0],u=s[1],p=a[0],d=a[1],f=new EB({style:Eq({points:n,fill:"#eee"},r),id:"polygon-".concat(l)}),g=new EG({style:Eq({x:p,y:d,text:(0,eP.isFunction)(o)?o(c,u):(u/c*100).toFixed(2)+"%"},i),id:"text-".concat(l)});e.appendChild(f),e.appendChild(g)})},t.prototype.update=function(){var e=this;this.getConversionTagLayout().forEach(function(t){var n=t.points,r=t.center,a=t.key,i=r[0],o=r[1],s=e.getElementById("polygon-".concat(a)),l=e.getElementById("text-".concat(a));s.setAttribute("points",n),l.setAttribute("x",i),l.setAttribute("y",o)})},t.tag="ConversionTag",t}(EY),EX=(d=function(e,t){return(d=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),EQ=function(){return(EQ=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},E0={ConversionTag:EK,BidirectionalBarAxisText:function(e){function t(n,r){return e.call(this,n,r,{type:t.tag})||this}return EX(t,e),t.prototype.render=function(){this.drawText()},t.prototype.getBidirectionalBarAxisTextLayout=function(){var e="vertical"===this.attributes.layout,t=this.getElementsLayout(),n=e?(0,eP.uniqBy)(t,"x"):(0,eP.uniqBy)(t,"y"),r=["title"],a=[],i=this.chart.getContext().views,o=(0,eP.get)(i,[0,"layout"]),s=o.width,l=o.height;return n.forEach(function(t){var n=t.x,i=t.y,o=t.height,c=t.width,u=t.data,p=t.key,d=(0,eP.get)(u,r);e?a.push({x:n+c/2,y:l,text:d,key:p}):a.push({x:s,y:i+o/2,text:d,key:p})}),(0,eP.uniqBy)(a,"text").length!==a.length&&(a=Object.values((0,eP.groupBy)(a,"text")).map(function(t){var n,r=t.reduce(function(t,n){return t+(e?n.x:n.y)},0);return EQ(EQ({},t[0]),((n={})[e?"x":"y"]=r/t.length,n))})),a},t.prototype.transformLabelStyle=function(e){var t={},n=/^label[A-Z]/;return Object.keys(e).forEach(function(r){n.test(r)&&(t[r.replace("label","").replace(/^[A-Z]/,function(e){return e.toLowerCase()})]=e[r])}),t},t.prototype.drawText=function(){var e=this,t=this.getBidirectionalBarAxisTextLayout(),n=this.attributes,r=n.layout,a=n.labelFormatter,i=EJ(n,["layout","labelFormatter"]);t.forEach(function(t){var n=t.x,o=t.y,s=t.text,l=t.key,c=new EG({style:EQ({x:n,y:o,text:(0,eP.isFunction)(a)?a(s):s,wordWrap:!0,wordWrapWidth:"horizontal"===r?64:120,maxLines:2,textOverflow:"ellipsis"},e.transformLabelStyle(i)),id:"text-".concat(l)});e.appendChild(c)})},t.prototype.update=function(){var e=this;this.getBidirectionalBarAxisTextLayout().forEach(function(t){var n=t.x,r=t.y,a=t.key,i=e.getElementById("text-".concat(a));i.setAttribute("x",n),i.setAttribute("y",r)})},t.tag="BidirectionalBarAxisText",t}(EY)},E1=function(){function e(e,t){this.container=new Map,this.chart=e,this.config=t,this.init()}return e.prototype.init=function(){var e=this;ED.forEach(function(t){var n,r=t.key,a=t.shape,i=e.config[r];if(i){var o=new E0[a](e.chart,i);e.chart.getContext().canvas.appendChild(o),e.container.set(r,o)}else null===(n=e.container.get(r))||void 0===n||n.clear()})},e.prototype.update=function(){var e=this;this.container.size&&ED.forEach(function(t){var n=t.key,r=e.container.get(n);null==r||r.update()})},e}(),E2=(f=function(e,t){return(f=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),E3=function(){return(E3=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&(0,eP.set)(t,"children",[{type:"interval"}]);var n=t.scale,r=t.markBackground,a=t.data,i=t.children,o=t.yField,s=(0,eP.get)(n,"y.domain",[]);if(r&&s.length&&(0,eP.isArray)(a)){var l="domainMax",c=a.map(function(e){var t;return Tl(Tl({originData:Tl({},e)},(0,eP.omit)(e,o)),((t={})[l]=s[s.length-1],t))});i.unshift(Tl({type:"interval",data:c,yField:l,tooltip:!1,style:{fill:"#eee"},label:!1},r))}return e},Ta,Tt)(e)}var Tu=(h=function(e,t){return(h=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});ry("shape.interval.bar25D",function(e,t){return function(n){var r=e.fill,a=void 0===r?"#2888FF":r,i=e.stroke,o=e.fillOpacity,s=void 0===o?1:o,l=e.strokeOpacity,c=void 0===l?.2:l,u=e.pitch,p=void 0===u?8:u,d=n[0],f=n[1],g=n[2],m=n[3],h=(f[1]-d[1])/2,b=t.document,y=b.createElement("g",{}),E=b.createElement("polygon",{style:{points:[d,[d[0]-p,d[1]+h],[g[0]-p,d[1]+h],m],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c,inset:30}}),T=b.createElement("polygon",{style:{points:[[d[0]-p,d[1]+h],f,g,[g[0]-p,d[1]+h]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c}}),S=b.createElement("polygon",{style:{points:[d,[d[0]-p,d[1]+h],f,[d[0]+p,d[1]+h]],fill:a,fillOpacity:s-.2}});return y.appendChild(E),y.appendChild(T),y.appendChild(S),y}});var Tp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="Bar",t}return Tu(t,e),t.getDefaultOptions=function(){return{type:"view",coordinate:{transform:[{type:"transpose"}]},children:[{type:"interval"}],scale:{y:{nice:!0}},axis:{y:{title:!1},x:{title:!1}},interaction:{tooltip:{shared:!0},elementHighlight:{background:!0}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Tc},t}(E5),Td=(b=function(e,t){return(b=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}b(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});ry("shape.interval.column25D",function(e,t){return function(n){var r=e.fill,a=void 0===r?"#2888FF":r,i=e.stroke,o=e.fillOpacity,s=void 0===o?1:o,l=e.strokeOpacity,c=void 0===l?.2:l,u=e.pitch,p=void 0===u?8:u,d=(n[1][0]-n[0][0])/2+n[0][0],f=t.document,g=f.createElement("g",{}),m=f.createElement("polygon",{style:{points:[[n[0][0],n[0][1]],[d,n[1][1]+p],[d,n[3][1]+p],[n[3][0],n[3][1]]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c,inset:30}}),h=f.createElement("polygon",{style:{points:[[d,n[1][1]+p],[n[1][0],n[1][1]],[n[2][0],n[2][1]],[d,n[2][1]+p]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c}}),b=f.createElement("polygon",{style:{points:[[n[0][0],n[0][1]],[d,n[1][1]-p],[n[1][0],n[1][1]],[d,n[1][1]+p]],fill:a,fillOpacity:s-.2}});return g.appendChild(h),g.appendChild(m),g.appendChild(b),g}});var Tf=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="column",t}return Td(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{y:{nice:!0}},interaction:{tooltip:{shared:!0},elementHighlight:{background:!0}},axis:{y:{title:!1},x:{title:!1}},children:[{type:"interval"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Tc},t}(E5);function Tg(e){return(0,eP.flow)(function(e){var t=e.options,n=t.children;return t.legend&&(void 0===n?[]:n).forEach(function(e){if(!(0,eP.get)(e,"colorField")){var t=(0,eP.get)(e,"yField");(0,eP.set)(e,"colorField",function(){return t})}}),e},function(e){var t=e.options,n=t.annotations,r=void 0===n?[]:n,a=t.children,i=t.scale,o=!1;return(0,eP.get)(i,"y.key")||(void 0===a?[]:a).forEach(function(e,t){if(!(0,eP.get)(e,"scale.y.key")){var n="child".concat(t,"Scale");(0,eP.set)(e,"scale.y.key",n);var a=e.annotations,i=void 0===a?[]:a;i.length>0&&((0,eP.set)(e,"scale.y.independent",!1),i.forEach(function(e){(0,eP.set)(e,"scale.y.key",n)})),!o&&r.length>0&&void 0===(0,eP.get)(e,"scale.y.independent")&&(o=!0,(0,eP.set)(e,"scale.y.independent",!1),r.forEach(function(e){(0,eP.set)(e,"scale.y.key",n)}))}}),e},Ta,Tt)(e)}var Tm=(y=function(e,t){return(y=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}y(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Th=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="DualAxes",t}return Tm(t,e),t.getDefaultOptions=function(){return{type:"view",axis:{y:{title:!1,tick:!1},x:{title:!1}},scale:{y:{independent:!0,nice:!0}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Tg},t}(E5);function Tb(e){return(0,eP.flow)(function(e){var t=e.options,n=t.xField;return t.colorField||(0,eP.set)(t,"colorField",n),e},function(e){var t=e.options,n=t.compareField,r=t.transform,a=t.isTransposed,i=t.coordinate;return r||(n?(0,eP.set)(t,"transform",[]):(0,eP.set)(t,"transform",[{type:"symmetryY"}])),!i&&(void 0===a||a)&&(0,eP.set)(t,"coordinate",{transform:[{type:"transpose"}]}),e},function(e){var t=e.options,n=t.compareField,r=t.seriesField,a=t.data,i=t.children,o=t.yField,s=t.isTransposed;if(n||r){var l=Object.values((0,eP.groupBy)(a,function(e){return e[n||r]}));i[0].data=l[0],i.push({type:"interval",data:l[1],yField:function(e){return-e[o]}}),delete t.compareField,delete t.data}return r&&((0,eP.set)(t,"type","spaceFlex"),(0,eP.set)(t,"ratio",[1,1]),(0,eP.set)(t,"direction",void 0===s||s?"row":"col"),delete t.seriesField),e},function(e){var t=e.options,n=t.tooltip,r=t.xField,a=t.yField;return n||(0,eP.set)(t,"tooltip",{title:!1,items:[function(e){return{name:e[r],value:e[a]}}]}),e},Ta,Tt)(e)}var Ty=(E=function(e,t){return(E=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}E(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),TE=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="column",t}return Ty(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{x:{padding:0}},animate:{enter:{type:"fadeIn"}},axis:!1,shapeField:"funnel",label:{position:"inside",transform:[{type:"contrastReverse"}]},children:[{type:"interval"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Tb},t}(E5);function TT(e){return(0,eP.flow)(Ta,Tt)(e)}var TS=(T=function(e,t){return(T=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}T(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Tv=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="line",t}return TS(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{y:{nice:!0}},interaction:{tooltip:{shared:!0}},axis:{y:{title:!1},x:{title:!1}},children:[{type:"line"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return TT},t}(E5);function TA(e){switch(typeof e){case"function":return e;case"string":return function(t){return(0,eP.get)(t,[e])};default:return function(){return e}}}var TO=function(){return(TO=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(t.x1=e[r],t.x2=t[r],t.y1=e[T6]),t},[]),o.shift(),a.push({type:"link",xField:["x1","x2"],yField:"y1",zIndex:-1,data:o,style:T8({stroke:"#697474"},i),label:!1,tooltip:!1}),e},Ta,Tt)(e)}var St=(x=function(e,t){return(x=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}x(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Sn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="waterfall",t}return St(t,e),t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{field:T9,valueFormatter:"~s",name:"value"},axis:{y:{title:null,labelFormatter:"~s"},x:{title:null}},children:[{type:"interval",interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Se},t}(E5);function Sr(e){return(0,eP.flow)(function(e){var t=e.options,n=t.data,r=t.binNumber,a=t.binWidth,i=t.children,o=t.channel,s=void 0===o?"count":o,l=(0,eP.get)(i,"[0].transform[0]",{});return(0,eP.isNumber)(a)?((0,eP.assign)(l,{thresholds:(0,eP.ceil)((0,eP.divide)(n.length,a)),y:s}),e):((0,eP.isNumber)(r)&&(0,eP.assign)(l,{thresholds:r,y:s}),e)},Ta,Tt)(e)}var Sa=(R=function(e,t){return(R=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}R(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Si=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="Histogram",t}return Sa(t,e),t.getDefaultOptions=function(){return{type:"view",autoFit:!0,axis:{y:{title:!1},x:{title:!1}},children:[{type:"rect",transform:[{type:"binX",y:"count"}],interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Sr},t}(E5);function So(e){return(0,eP.flow)(function(e){var t=e.options,n=t.tooltip,r=void 0===n?{}:n,a=t.colorField,i=t.sizeField;return r&&!r.field&&(r.field=a||i),e},function(e){var t=e.options,n=t.mark,r=t.children;return n&&(r[0].type=n),e},Ta,Tt)(e)}var Ss=(L=function(e,t){return(L=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}L(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Sl=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="heatmap",t}return Ss(t,e),t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{valueFormatter:"~s"},axis:{y:{title:null,grid:!0},x:{title:null,grid:!0}},children:[{type:"point",interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return So},t}(E5);function Sc(e){return(0,eP.flow)(function(e){var t=e.options.boxType;return e.options.children[0].type=void 0===t?"box":t,e},Ta,Tt)(e)}var Su=(D=function(e,t){return(D=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}D(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Sp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="box",t}return Su(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"box"}],axis:{y:{title:!1},x:{title:!1}},tooltip:{items:[{name:"min",channel:"y"},{name:"q1",channel:"y1"},{name:"q2",channel:"y2"},{name:"q3",channel:"y3"},{name:"max",channel:"y4"}]}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Sc},t}(E5);function Sd(e){return(0,eP.flow)(function(e){var t=e.options,n=t.data,r=[{type:"custom",callback:function(e){return{links:e}}}];if((0,eP.isArray)(n))n.length>0?(0,eP.set)(t,"data",{value:n,transform:r}):delete t.children;else if("fetch"===(0,eP.get)(n,"type")&&(0,eP.get)(n,"value")){var a=(0,eP.get)(n,"transform");(0,eP.isArray)(a)?(0,eP.set)(n,"transform",a.concat(r)):(0,eP.set)(n,"transform",r)}return e},Ta,Tt)(e)}var Sf=(P=function(e,t){return(P=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}P(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Sg=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="sankey",t}return Sf(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"sankey"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Sd},t}(E5);function Sm(e){t=e.options.layout,e.options.coordinate.transform="horizontal"!==(void 0===t?"horizontal":t)?void 0:[{type:"transpose"}];var t,n=e.options.layout,r=void 0===n?"horizontal":n;return e.options.children.forEach(function(e){var t;(null===(t=null==e?void 0:e.coordinate)||void 0===t?void 0:t.transform)&&(e.coordinate.transform="horizontal"!==r?void 0:[{type:"transpose"}])}),e}var Sh=function(){return(Sh=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},S5=(0,es.forwardRef)(function(e,t){var n,r,a,i,o,s,l,c,u,p=e.chartType,d=S4(e,["chartType"]),f=d.containerStyle,g=d.containerAttributes,m=void 0===g?{}:g,h=d.className,b=d.loading,y=d.loadingTemplate,E=d.errorTemplate,T=S4(d,["containerStyle","containerAttributes","className","loading","loadingTemplate","errorTemplate"]),S=(n=S2[void 0===p?"Base":p],r=(0,es.useRef)(),a=(0,es.useRef)(),i=(0,es.useRef)(null),o=T.onReady,s=T.onEvent,l=function(e,t){void 0===e&&(e="image/png");var n,r=null===(n=i.current)||void 0===n?void 0:n.getElementsByTagName("canvas")[0];return null==r?void 0:r.toDataURL(e,t)},c=function(e,t,n){void 0===e&&(e="download"),void 0===t&&(t="image/png");var r=e;-1===e.indexOf(".")&&(r="".concat(e,".").concat(t.split("/")[1]));var a=l(t,n),i=document.createElement("a");return i.href=a,i.download=r,document.body.appendChild(i),i.click(),document.body.removeChild(i),i=null,r},u=function(e,t){void 0===t&&(t=!1);var n=Object.keys(e),r=t;n.forEach(function(n){var a,i=e[n];("tooltip"===n&&(r=!0),(0,eP.isFunction)(i)&&(a="".concat(i),/react|\.jsx|children:\[\(|return\s+[A-Za-z0-9].createElement\((?!['"][g|circle|ellipse|image|rect|line|polyline|polygon|text|path|html|mesh]['"])([^\)])*,/i.test(a)))?e[n]=function(){for(var e=[],t=0;t0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function B(e,t){let n=[],r=-1,a=e.passKeys?new Map:N;for(;++r=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return ethis.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let a=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&V(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),V(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),V(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length)){if(er))return;let s=a.events.length,l=s;for(;l--;)if("exit"===a.events[l][0]&&"chunkFlow"===a.events[l][1].type){if(e){n=a.events[l][1].end;break}e=!0}for(h(o),i=s;it;){let t=i[n];a.containerState=t[1],t[0].exit.call(a,e)}i.length=t}function b(){t.write([null]),n=void 0,t=void 0,a.containerState._closeFlow=void 0}}},ee={tokenize:function(e,t,n){return(0,K.f)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var et=n(23402);class en{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return ethis.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let a=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&er(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),er(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),er(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length)){if(e=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}},partial:!0},eo={tokenize:function(e){let t=this,n=e.attempt(et.w,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,(0,K.f)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ea,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},es={resolveAll:ep()},el=eu("string"),ec=eu("text");function eu(e){return{tokenize:function(t){let n=this,r=this.parser.constructs[e],a=t.attempt(r,i,o);return i;function i(e){return l(e)?a(e):o(e)}function o(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),s}function s(e){return l(e)?(t.exit("data"),a(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;let t=r[e],a=-1;if(t)for(;++a=3&&(null===o||(0,X.Ch)(o))?(e.exit("thematicBreak"),t(o)):n(o)}(i)}}},em={name:"list",tokenize:function(e,t,n){let r=this,a=r.events[r.events.length-1],i=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,o=0;return function(t){let a=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===a?!r.containerState.marker||t===r.containerState.marker:(0,X.pY)(t)){if(r.containerState.type||(r.containerState.type=a,e.enter(a,{_container:!0})),"listUnordered"===a)return e.enter("listItemPrefix"),42===t||45===t?e.check(eg,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(a){return(0,X.pY)(a)&&++o<10?(e.consume(a),t):(!r.interrupt||o<2)&&(r.containerState.marker?a===r.containerState.marker:41===a||46===a)?(e.exit("listItemValue"),s(a)):n(a)}(t)}return n(t)};function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(et.w,r.interrupt?n:l,e.attempt(eh,u,c))}function l(e){return r.containerState.initialBlankLine=!0,i++,u(e)}function c(t){return(0,X.xz)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(et.w,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,K.f)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,X.xz)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(eb,t,a)(n))});function a(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,K.f)(e,e.attempt(em,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}},exit:function(e){e.exit(this.containerState.type)}},eh={tokenize:function(e,t,n){let r=this;return(0,K.f)(e,function(e){let a=r.events[r.events.length-1];return!(0,X.xz)(e)&&a&&"listItemPrefixWhitespace"===a[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},eb={tokenize:function(e,t,n){let r=this;return(0,K.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"listItemIndent"===a[1].type&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0},ey={name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),a}return n(t)};function a(n){return(0,X.xz)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,X.xz)(t)?(0,K.f)(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):a(t)};function a(r){return e.attempt(ey,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function eE(e,t,n,r,a,i,o,s,l){let c=l||Number.POSITIVE_INFINITY,u=0;return function(t){return 60===t?(e.enter(r),e.enter(a),e.enter(i),e.consume(t),e.exit(i),p):null===t||32===t||41===t||(0,X.Av)(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),g(t))};function p(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(a),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(s),p(t)):null===t||60===t||(0,X.Ch)(t)?n(t):(e.consume(t),92===t?f:d)}function f(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function g(a){return!u&&(null===a||41===a||(0,X.z3)(a))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(a)):u999||null===p||91===p||93===p&&!o||94===p&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(p):93===p?(e.exit(i),e.enter(a),e.consume(p),e.exit(a),e.exit(r),t):(0,X.Ch)(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(p))}function u(t){return null===t||91===t||93===t||(0,X.Ch)(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),o||(o=!(0,X.xz)(t)),92===t?p:u)}function p(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function eS(e,t,n,r,a,i){let o;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(a),e.consume(t),e.exit(a),o=40===t?41:t,s):n(t)};function s(n){return n===o?(e.enter(a),e.consume(n),e.exit(a),e.exit(r),t):(e.enter(i),l(n))}function l(t){return t===o?(e.exit(i),s(o)):null===t?n(t):(0,X.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,K.f)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===o||null===t||(0,X.Ch)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===o||92===t?(e.consume(t),c):c(t)}}function ev(e,t){let n;return function r(a){return(0,X.Ch)(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):(0,X.xz)(a)?(0,K.f)(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}var eA=n(11098);let eO={tokenize:function(e,t,n){return function(t){return(0,X.z3)(t)?ev(e,r)(t):n(t)};function r(t){return eS(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function a(t){return(0,X.xz)(t)?(0,K.f)(e,i,"whitespace")(t):i(t)}function i(e){return null===e||(0,X.Ch)(e)?t(e):n(e)}},partial:!0},e_={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),(0,K.f)(e,a,"linePrefix",5)(t)};function a(t){let a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?function t(n){return null===n?i(n):(0,X.Ch)(n)?e.attempt(ek,t,i)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,X.Ch)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function i(n){return e.exit("codeIndented"),t(n)}}},ek={tokenize:function(e,t,n){let r=this;return a;function a(t){return r.parser.lazy[r.now().line]?n(t):(0,X.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(0,K.f)(e,i,"linePrefix",5)(t)}function i(e){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):(0,X.Ch)(e)?a(e):n(e)}},partial:!0},eI={name:"setextUnderline",tokenize:function(e,t,n){let r;let a=this;return function(t){let o,s=a.events.length;for(;s--;)if("lineEnding"!==a.events[s][1].type&&"linePrefix"!==a.events[s][1].type&&"content"!==a.events[s][1].type){o="paragraph"===a.events[s][1].type;break}return!a.parser.lazy[a.now().line]&&(a.interrupt||o)?(e.enter("setextHeadingLine"),r=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,X.xz)(n)?(0,K.f)(e,i,"lineSuffix")(n):i(n))}(t)):n(t)};function i(r){return null===r||(0,X.Ch)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,a,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),a||"definition"!==e[i][1].type||(a=i);let o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",a?(e.splice(r,0,["enter",o,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[a][1].end)):e[n][1]=o,e.push(["exit",o,t]),e}},eC=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],eN=["pre","script","style","textarea"],ew={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(et.w,t,n)}},partial:!0},ex={tokenize:function(e,t,n){let r=this;return function(t){return(0,X.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):n(t)};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eR={tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a)};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eL={name:"codeFenced",tokenize:function(e,t,n){let r;let a=this,i={tokenize:function(e,t,n){let i=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(t){return e.enter("codeFencedFence"),(0,X.xz)(t)?(0,K.f)(e,l,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(a){return a===r?(i++,e.consume(a),t):i>=s?(e.exit("codeFencedFenceSequence"),(0,X.xz)(a)?(0,K.f)(e,c,"whitespace")(a):c(a)):n(a)}(t)):n(t)}function c(r){return null===r||(0,X.Ch)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},o=0,s=0;return function(t){return function(t){let i=a.events[a.events.length-1];return o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(a){return a===r?(s++,e.consume(a),t):s<3?n(a):(e.exit("codeFencedFenceSequence"),(0,X.xz)(a)?(0,K.f)(e,l,"whitespace")(a):l(a))}(t)}(t)};function l(i){return null===i||(0,X.Ch)(i)?(e.exit("codeFencedFence"),a.interrupt?t(i):e.check(eR,u,g)(i)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||(0,X.Ch)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(a)):(0,X.xz)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,K.f)(e,c,"whitespace")(a)):96===a&&a===r?n(a):(e.consume(a),t)}(i))}function c(t){return null===t||(0,X.Ch)(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||(0,X.Ch)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(a)):96===a&&a===r?n(a):(e.consume(a),t)}(t))}function u(t){return e.attempt(i,g,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d}function d(t){return o>0&&(0,X.xz)(t)?(0,K.f)(e,f,"linePrefix",o+1)(t):f(t)}function f(t){return null===t||(0,X.Ch)(t)?e.check(eR,u,g)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,X.Ch)(n)?(e.exit("codeFlowValue"),f(n)):(e.consume(n),t)}(t))}function g(n){return e.exit("codeFenced"),t(n)}},concrete:!0},eD=document.createElement("i");function eP(e){let t="&"+e+";";eD.innerHTML=t;let n=eD.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let eM={name:"characterReference",tokenize:function(e,t,n){let r,a;let i=this,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,a=X.H$,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,a=X.AF,c):(e.enter("characterReferenceValue"),r=7,a=X.pY,c(t))}function c(s){if(59===s&&o){let r=e.exit("characterReferenceValue");return a!==X.H$||eP(i.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return a(s)&&o++1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let p=Object.assign({},e[n][1].end),d=Object.assign({},e[u][1].start);eZ(p,-s),eZ(d,s),i={type:s>1?"strongSequence":"emphasisSequence",start:p,end:Object.assign({},e[n][1].end)},o={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:d},a={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},o.end)},e[n][1].end=Object.assign({},i.start),e[u][1].start=Object.assign({},o.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=(0,Z.V)(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=(0,Z.V)(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",a,t]]),l=(0,Z.V)(l,(0,ef.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=(0,Z.V)(l,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=(0,Z.V)(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,(0,Z.d)(e,n-1,u-n+3,l),u=n+l.length-c-2;break}}for(u=-1;++ui&&"whitespace"===e[a][1].type&&(a-=2),"atxHeadingSequence"===e[a][1].type&&(i===a-1||a-4>i&&"whitespace"===e[a-2][1].type)&&(a-=i+1===a?2:4),a>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},r={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},(0,Z.d)(e,i,a-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:eg,45:[eI,eg],60:{name:"htmlFlow",tokenize:function(e,t,n){let r,a,i,o,s;let l=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c};function c(o){return 33===o?(e.consume(o),u):47===o?(e.consume(o),a=!0,f):63===o?(e.consume(o),r=3,l.interrupt?t:R):(0,X.jv)(o)?(e.consume(o),i=String.fromCharCode(o),g):n(o)}function u(a){return 45===a?(e.consume(a),r=2,p):91===a?(e.consume(a),r=5,o=0,d):(0,X.jv)(a)?(e.consume(a),r=4,l.interrupt?t:R):n(a)}function p(r){return 45===r?(e.consume(r),l.interrupt?t:R):n(r)}function d(r){let a="CDATA[";return r===a.charCodeAt(o++)?(e.consume(r),o===a.length)?l.interrupt?t:O:d:n(r)}function f(t){return(0,X.jv)(t)?(e.consume(t),i=String.fromCharCode(t),g):n(t)}function g(o){if(null===o||47===o||62===o||(0,X.z3)(o)){let s=47===o,c=i.toLowerCase();return!s&&!a&&eN.includes(c)?(r=1,l.interrupt?t(o):O(o)):eC.includes(i.toLowerCase())?(r=6,s)?(e.consume(o),m):l.interrupt?t(o):O(o):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(o):a?function t(n){return(0,X.xz)(n)?(e.consume(n),t):v(n)}(o):h(o))}return 45===o||(0,X.H$)(o)?(e.consume(o),i+=String.fromCharCode(o),g):n(o)}function m(r){return 62===r?(e.consume(r),l.interrupt?t:O):n(r)}function h(t){return 47===t?(e.consume(t),v):58===t||95===t||(0,X.jv)(t)?(e.consume(t),b):(0,X.xz)(t)?(e.consume(t),h):v(t)}function b(t){return 45===t||46===t||58===t||95===t||(0,X.H$)(t)?(e.consume(t),b):y(t)}function y(t){return 61===t?(e.consume(t),E):(0,X.xz)(t)?(e.consume(t),y):h(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,T):(0,X.xz)(t)?(e.consume(t),E):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,X.z3)(n)?y(n):(e.consume(n),t)}(t)}function T(t){return t===s?(e.consume(t),s=null,S):null===t||(0,X.Ch)(t)?n(t):(e.consume(t),T)}function S(e){return 47===e||62===e||(0,X.xz)(e)?h(e):n(e)}function v(t){return 62===t?(e.consume(t),A):n(t)}function A(t){return null===t||(0,X.Ch)(t)?O(t):(0,X.xz)(t)?(e.consume(t),A):n(t)}function O(t){return 45===t&&2===r?(e.consume(t),C):60===t&&1===r?(e.consume(t),N):62===t&&4===r?(e.consume(t),L):63===t&&3===r?(e.consume(t),R):93===t&&5===r?(e.consume(t),x):(0,X.Ch)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(ew,D,_)(t)):null===t||(0,X.Ch)(t)?(e.exit("htmlFlowData"),_(t)):(e.consume(t),O)}function _(t){return e.check(ex,k,D)(t)}function k(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return null===t||(0,X.Ch)(t)?_(t):(e.enter("htmlFlowData"),O(t))}function C(t){return 45===t?(e.consume(t),R):O(t)}function N(t){return 47===t?(e.consume(t),i="",w):O(t)}function w(t){if(62===t){let n=i.toLowerCase();return eN.includes(n)?(e.consume(t),L):O(t)}return(0,X.jv)(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),w):O(t)}function x(t){return 93===t?(e.consume(t),R):O(t)}function R(t){return 62===t?(e.consume(t),L):45===t&&2===r?(e.consume(t),R):O(t)}function L(t){return null===t||(0,X.Ch)(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),L)}function D(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},61:eI,95:eg,96:eL,126:eL},eQ={38:eM,92:eF},eJ={[-5]:eB,[-4]:eB,[-3]:eB,33:ez,38:eM,42:eW,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a};function a(t){return(0,X.jv)(t)?(e.consume(t),i):64===t?n(t):s(t)}function i(t){return 43===t||45===t||46===t||(0,X.H$)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,o):(43===n||45===n||46===n||(0,X.H$)(n))&&r++<32?(e.consume(n),t):(r=0,s(n))}(t)):s(t)}function o(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,X.Av)(r)?n(r):(e.consume(r),o)}function s(t){return 64===t?(e.consume(t),l):(0,X.n9)(t)?(e.consume(t),s):n(t)}function l(a){return(0,X.H$)(a)?function a(i){return 46===i?(e.consume(i),r=0,l):62===i?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(i),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(i){if((45===i||(0,X.H$)(i))&&r++<63){let n=45===i?t:a;return e.consume(i),n}return n(i)}(i)}(a):n(a)}}},{name:"htmlText",tokenize:function(e,t,n){let r,a,i;let o=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),T):63===t?(e.consume(t),y):(0,X.jv)(t)?(e.consume(t),v):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),a=0,f):(0,X.jv)(t)?(e.consume(t),b):n(t)}function c(t){return 45===t?(e.consume(t),d):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),p):(0,X.Ch)(t)?(i=u,w(t)):(e.consume(t),u)}function p(t){return 45===t?(e.consume(t),d):u(t)}function d(e){return 62===e?N(e):45===e?p(e):u(e)}function f(t){let r="CDATA[";return t===r.charCodeAt(a++)?(e.consume(t),a===r.length?g:f):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),m):(0,X.Ch)(t)?(i=g,w(t)):(e.consume(t),g)}function m(t){return 93===t?(e.consume(t),h):g(t)}function h(t){return 62===t?N(t):93===t?(e.consume(t),h):g(t)}function b(t){return null===t||62===t?N(t):(0,X.Ch)(t)?(i=b,w(t)):(e.consume(t),b)}function y(t){return null===t?n(t):63===t?(e.consume(t),E):(0,X.Ch)(t)?(i=y,w(t)):(e.consume(t),y)}function E(e){return 62===e?N(e):y(e)}function T(t){return(0,X.jv)(t)?(e.consume(t),S):n(t)}function S(t){return 45===t||(0,X.H$)(t)?(e.consume(t),S):function t(n){return(0,X.Ch)(n)?(i=t,w(n)):(0,X.xz)(n)?(e.consume(n),t):N(n)}(t)}function v(t){return 45===t||(0,X.H$)(t)?(e.consume(t),v):47===t||62===t||(0,X.z3)(t)?A(t):n(t)}function A(t){return 47===t?(e.consume(t),N):58===t||95===t||(0,X.jv)(t)?(e.consume(t),O):(0,X.Ch)(t)?(i=A,w(t)):(0,X.xz)(t)?(e.consume(t),A):N(t)}function O(t){return 45===t||46===t||58===t||95===t||(0,X.H$)(t)?(e.consume(t),O):function t(n){return 61===n?(e.consume(n),_):(0,X.Ch)(n)?(i=t,w(n)):(0,X.xz)(n)?(e.consume(n),t):A(n)}(t)}function _(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,k):(0,X.Ch)(t)?(i=_,w(t)):(0,X.xz)(t)?(e.consume(t),_):(e.consume(t),I)}function k(t){return t===r?(e.consume(t),r=void 0,C):null===t?n(t):(0,X.Ch)(t)?(i=k,w(t)):(e.consume(t),k)}function I(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,X.z3)(t)?A(t):(e.consume(t),I)}function C(e){return 47===e||62===e||(0,X.z3)(e)?A(e):n(e)}function N(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function w(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),x}function x(t){return(0,X.xz)(t)?(0,K.f)(e,R,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):R(t)}function R(t){return e.enter("htmlTextData"),i(t)}}}],91:eY,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,X.Ch)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},eF],93:ej,95:eW,96:{name:"codeText",tokenize:function(e,t,n){let r,a,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),i++,t):(e.exit("codeTextSequence"),o(n))}(t)};function o(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),o):96===l?(a=e.enter("codeTextSequence"),r=0,function n(o){return 96===o?(e.consume(o),r++,n):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(a.type="codeTextData",s(o))}(l)):(0,X.Ch)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):(e.enter("codeTextData"),s(l))}function s(t){return null===t||32===t||96===t||(0,X.Ch)(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),s)}},resolve:function(e){let t,n,r=e.length-4,a=3;if(("lineEnding"===e[3][1].type||"space"===e[a][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=a;++t13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}(n.slice(t?2:1),t?16:10)}return eP(n)||e}function e6(e){return e&&"object"==typeof e?"position"in e||"type"in e?e8(e.position):"start"in e||"end"in e?e8(e):"line"in e||"column"in e?e9(e):"":""}function e9(e){return e7(e&&e.line)+":"+e7(e&&e.column)}function e8(e){return e9(e&&e.start)+"-"+e9(e&&e.end)}function e7(e){return e&&"number"==typeof e?e:1}let te={}.hasOwnProperty;function tt(e){return{line:e.line,column:e.column,offset:e.offset}}function tn(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+e6({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+e6({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+e6({start:t.start,end:t.end})+") is still open")}function tr(e){let t=this;t.parser=function(n){var a,i;let o,s,l,c;return"string"!=typeof(a={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(i=a,a=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(b),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(g),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(f),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:r(f,a),codeText:r(function(){return{type:"inlineCode",value:""}},a),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(m),hardBreakTrailing:r(m),htmlFlow:r(h,a),htmlFlowData:c,htmlText:r(h,a),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:r(b),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}},listOrdered:r(y,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(y),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:r(g),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:o(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let n=this.sliceSerialize(e).length;t.depth=n}},autolink:o(),autolinkEmail:function(e){u.call(this,e);let t=this.stack[this.stack.length-1];t.url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){u.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)},blockQuote:o(),characterEscapeValue:u,characterReferenceMarkerHexadecimal:d,characterReferenceMarkerNumeric:d,characterReferenceValue:function(e){let t;let n=this.sliceSerialize(e),r=this.data.characterReferenceType;if(r)t=function(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0;else{let e=eP(n);t=e}let a=this.stack[this.stack.length-1];a.value+=t},characterReference:function(e){let t=this.stack.pop();t.position.end=tt(e.end)},codeFenced:o(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e},codeFencedFenceMeta:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e},codeFlowValue:u,codeIndented:o(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:o(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),codeTextData:u,data:u,definition:o(),definitionDestinationString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,eA.d)(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},emphasis:o(),hardBreakEscape:o(p),hardBreakTrailing:o(p),htmlFlow:o(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlFlowData:u,htmlText:o(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlTextData:u,image:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){let t=e.children;n.children=t}else n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(e4,e5),n.identifier=(0,eA.d)(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=tt(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(c.call(this,e),u.call(this,e))},link:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,eA.d)(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},resourceTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},resource:function(){this.data.inReference=void 0},setextHeading:o(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){let t=this.stack[this.stack.length-1];t.depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:o(),thematicBreak:o()}};(function e(t,n){let r=-1;for(;++r0){let e=o.tokenStack[o.tokenStack.length-1],t=e[1]||tn;t.call(o,void 0,e[0])}for(r.position={start:tt(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:tt(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u-1){let e=n[0];"string"==typeof e?n[0]=e.slice(a):n.shift()}o>0&&n.push(e[i].slice(0,o))}return n}(o,e)}function d(){let{line:e,column:t,offset:n,_index:a,_bufferIndex:i}=r;return{line:e,column:t,offset:n,_index:a,_bufferIndex:i}}function f(e,t){t.restore()}function g(e,t){return function(n,a,i){let o,u,p,f;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null,a=[...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]];return g(a)(e)};function g(e){return(o=e,u=0,0===e.length)?i:m(e[u])}function m(e){return function(n){return(f=function(){let e=d(),t=c.previous,n=c.currentConstruct,a=c.events.length,i=Array.from(s);return{restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=a,s=i,h()},from:a}}(),p=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?y(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,b,y)(n)}}function b(t){return e(p,f),a}function y(e){return(f.restore(),++u55295&&i<57344){let t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(o=String.fromCharCode(i,t),a=1):o="�"}else o=String.fromCharCode(i);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+a+1,o=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function to(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function ts(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var tl=n(21623);function tc(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let a=e.all(t),i=a[0];i&&"text"===i.type?i.value="["+i.value:a.unshift({type:"text",value:"["});let o=a[a.length-1];return o&&"text"===o.type?o.value+=r:a.push({type:"text",value:r}),a}function tu(e){let t=e.spread;return null==t?e.children.length>1:t}function tp(e,t,n){let r=0,a=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(a-1);for(;9===t||32===t;)a--,t=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}let td={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n;let r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),i=ti(a.toLowerCase()),o=e.footnoteOrder.indexOf(a),s=e.footnoteCounts.get(a);void 0===s?(s=0,e.footnoteOrder.push(a),n=e.footnoteOrder.length):n=o+1,s+=1,e.footnoteCounts.set(a,s);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+i,id:r+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tc(e,t);let a={src:ti(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(a.title=r.title);let i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){let n={src:ti(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tc(e,t);let a={href:ti(r.url||"")};null!==r.title&&void 0!==r.title&&(a.title=r.title);let i={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){let n={href:ti(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),a=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=(0,A.Pk)(t.children[1]),o=(0,A.rb)(t.children[t.children.length-1]);i&&o&&(r.position={start:i,end:o}),a.push(r)}let i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,a=r?r.indexOf(t):1,i=0===a?"th":"td",o=n&&"table"===n.type?n.align:void 0,s=o?o.length:t.children.length,l=-1,c=[];for(;++l0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return i.push(tp(t.slice(a),a>0,!1)),i.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:tf,yaml:tf,definition:tf,footnoteDefinition:tf};function tf(){}let tg={}.hasOwnProperty,tm={};function th(e,t){e.position&&(t.position=(0,A.FK)(e))}function tb(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,a=e.data.hProperties;if("string"==typeof t){if("element"===n.type)n.tagName=t;else{let e="children"in n?n.children:[n];n={type:"element",tagName:t,properties:{},children:e}}}"element"===n.type&&a&&Object.assign(n.properties,(0,ta.ZP)(a)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function ty(e,t){let n=t.data||{},r="value"in t&&!(tg.call(n,"hProperties")||tg.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function tE(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r0&&n.push({type:"text",value:"\n"}),n}function tT(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function tS(e,t){let n=function(e,t){let n=t||tm,r=new Map,a=new Map,i=new Map,o={...td,...n.handlers},s={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r0&&p.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u);"string"==typeof e&&(e={type:"text",value:e}),p.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let f=i[i.length-1];if(f&&"element"===f.type&&"p"===f.tagName){let e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...p)}else i.push(...p);let g={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(i,!0)};e.patch(a,g),s.push(g)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...(0,ta.ZP)(o),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&((0,c.ok)("children"in i),i.children.push({type:"text",value:"\n"},a)),i}function tv(e,t){return e&&"run"in e?async function(n,r){let a=tS(n,{file:r,...t});await e.run(a,r)}:function(n,r){return tS(n,{file:r,...t||e})}}function tA(e){if(e)throw e}var tO=n(94470);function t_(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let tk={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');tI(e);let r=0,a=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1);return a<0?"":e.slice(r,a)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(a=i):(s=-1,a=o));return r===a?a=o:a<0&&(a=e.length),e.slice(r,a)},dirname:function(e){let t;if(tI(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){let t;tI(e);let n=e.length,r=-1,a=0,i=-1,o=0;for(;n--;){let s=e.codePointAt(n);if(47===s){if(t){a=n+1;break}continue}r<0&&(t=!0,r=n+1),46===s?i<0?i=n:1!==o&&(o=1):i>-1&&(o=-1)}return i<0||r<0||0===o||1===o&&i===r-1&&i===a+1?"":e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n2){if((r=a.lastIndexOf("/"))!==a.length-1){r<0?(a="",i=0):i=(a=a.slice(0,r)).length-1-a.lastIndexOf("/"),o=l,s=0;continue}}else if(a.length>0){a="",i=0,o=l,s=0;continue}}t&&(a=a.length>0?a+"/..":"..",i=2)}else a.length>0?a+="/"+e.slice(o+1,l):a=e.slice(o+1,l),i=l-o-1;o=l,s=0}else 46===n&&s>-1?s++:s=-1}return a}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function tI(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let tC={cwd:function(){return"/"}};function tN(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let tw=["history","path","basename","stem","extname","dirname"];class tx{constructor(e){let t,n;t=e?tN(e)?{path:e}:"string"==typeof e||e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e?{value:e}:e:{},this.cwd="cwd"in t?"":tC.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++rt.length;o&&t.push(r);try{i=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(i&&i.then&&"function"==typeof i.then?i.then(a,r):i instanceof Error?r(i):a(i))};function r(e,...a){n||(n=!0,t(e,...a))}function a(e){r(null,e)}})(s,a)(...o):r(null,...o)})(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new tF,t=-1;for(;++t0){let[r,...i]=t,o=n[a][1];t_(o)&&t_(r)&&(r=tO(!0,o,r)),n[a]=[e,r,...i]}}}}let tB=new tF().freeze();function tj(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function tU(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function tH(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function tG(e){if(!t_(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function tz(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function t$(e){return e&&"object"==typeof e&&"message"in e&&"messages"in e?e:new tx(e)}let tW=[],tZ={allowDangerousHtml:!0},tY=/^(https?|ircs?|mailto|xmpp)$/i,tV=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function tq(e){let t=e.allowedElements,n=e.allowElement,r=e.children||"",a=e.className,i=e.components,o=e.disallowedElements,s=e.rehypePlugins||tW,l=e.remarkPlugins||tW,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...tZ}:tZ,p=e.skipHtml,d=e.unwrapDisallowed,f=e.urlTransform||tK,g=tB().use(tr).use(l).use(tv,u).use(s),m=new tx;for(let n of("string"==typeof r?m.value=r:(0,c.t1)("Unexpected value `"+r+"` for `children` prop, expected `string`"),t&&o&&(0,c.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),tV))Object.hasOwn(e,n.from)&&(0,c.t1)("Unexpected `"+n.from+"` prop, "+(n.to?"use `"+n.to+"` instead":"remove it")+" (see for more info)");let h=g.parse(m),y=g.runSync(h,m);return a&&(y={type:"element",tagName:"div",properties:{className:a},children:"root"===y.type?y.children:[y]}),(0,tl.Vn)(y,function(e,r,a){if("raw"===e.type&&a&&"number"==typeof r)return p?a.children.splice(r,1):a.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in z)if(Object.hasOwn(z,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=z[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=f(String(n||""),t,e))}}if("element"===e.type){let i=t?!t.includes(e.tagName):!!o&&o.includes(e.tagName);if(!i&&n&&"number"==typeof r&&(i=!n(e,r,a)),i&&a&&"number"==typeof r)return d&&e.children?a.children.splice(r,1,...e.children):a.children.splice(r,1),r}}),function(e,t){var n,r,a;let i;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let o=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=t.jsxDEV,i=function(e,t,r,a){let i=Array.isArray(r.children),s=(0,A.Pk)(e);return n(t,r,a,i,{columnNumber:s?s.column-1:void 0,fileName:o,lineNumber:s?s.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");r=t.jsx,a=t.jsxs,i=function(e,t,n,i){let o=Array.isArray(n.children),s=o?a:r;return i?s(t,n,i):s(t,n)}}let s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:i,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:o,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?b.YP:b.dy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},l=P(s,e,void 0);return l&&"string"!=typeof l?l:s.create(e,s.Fragment,{children:l||void 0},void 0)}(y,{Fragment:$.Fragment,components:i,ignoreInvalidStyle:!0,jsx:$.jsx,jsxs:$.jsxs,passKeys:!0,passNode:!0})}function tK(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),a=e.indexOf("/");return t<0||a>-1&&t>a||n>-1&&t>n||r>-1&&t>r||tY.test(e.slice(0,t))?e:""}var tX=n(14660),tQ=n(25160),tJ=["children","components","rehypePlugins"],t0=function(e){var t=e.children,n=e.components,r=e.rehypePlugins,c=(0,s.Z)(e,tJ),u=(0,tQ.r)();return l.createElement(tq,(0,a.Z)({components:(0,o.Z)({code:u},n),rehypePlugins:[tX.Z].concat((0,i.Z)(r||[]))},c),t)}},84502:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r,a,i=n(45987),o=n(74902),s=n(4942),l=n(67294),c=n(87462);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(function(e){if(0===e.length||1===e.length)return e;var t,n=e.join(".");return d[n]||(d[n]=0===(t=e.length)||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0),d[n]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return p(p({},e),n[t])},t)}(s.className,Object.assign({},s.style,void 0===a?{}:a),r)})}else h=p(p({},s),{},{className:s.className.join(" ")});var S=b(n.children);return l.createElement(f,(0,c.Z)({key:o},h),S)}}({node:e,stylesheet:n,useInlineStyles:r,key:"code-segement".concat(t)})})}function v(e){return e&&void 0!==e.highlightAuto}var A=n(98695),O=(r=n.n(A)(),a={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},function(e){var t=e.language,n=e.children,s=e.style,c=void 0===s?a:s,u=e.customStyle,p=void 0===u?{}:u,d=e.codeTagProps,g=void 0===d?{className:t?"language-".concat(t):void 0,style:m(m({},c['code[class*="language-"]']),c['code[class*="language-'.concat(t,'"]')])}:d,A=e.useInlineStyles,O=void 0===A||A,_=e.showLineNumbers,k=void 0!==_&&_,I=e.showInlineLineNumbers,C=void 0===I||I,N=e.startingLineNumber,w=void 0===N?1:N,x=e.lineNumberContainerStyle,R=e.lineNumberStyle,L=void 0===R?{}:R,D=e.wrapLines,P=e.wrapLongLines,M=void 0!==P&&P,F=e.lineProps,B=void 0===F?{}:F,j=e.renderer,U=e.PreTag,H=void 0===U?"pre":U,G=e.CodeTag,z=void 0===G?"code":G,$=e.code,W=void 0===$?(Array.isArray(n)?n[0]:n)||"":$,Z=e.astGenerator,Y=(0,i.Z)(e,f);Z=Z||r;var V=k?l.createElement(b,{containerStyle:x,codeStyle:g.style||{},numberStyle:L,startingLineNumber:w,codeString:W}):null,q=c.hljs||c['pre[class*="language-"]']||{backgroundColor:"#fff"},K=v(Z)?"hljs":"prismjs",X=O?Object.assign({},Y,{style:Object.assign({},q,p)}):Object.assign({},Y,{className:Y.className?"".concat(K," ").concat(Y.className):K,style:Object.assign({},p)});if(M?g.style=m(m({},g.style),{},{whiteSpace:"pre-wrap"}):g.style=m(m({},g.style),{},{whiteSpace:"pre"}),!Z)return l.createElement(H,X,V,l.createElement(z,g,W));(void 0===D&&j||M)&&(D=!0),j=j||S;var Q=[{type:"text",value:W}],J=function(e){var t=e.astGenerator,n=e.language,r=e.code,a=e.defaultCodeValue;if(v(t)){var i=-1!==t.listLanguages().indexOf(n);return"text"===n?{value:a,language:"text"}:i?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:a}}catch(e){return{value:a}}}({astGenerator:Z,language:t,code:W,defaultCodeValue:Q});null===J.language&&(J.value=Q);var ee=J.value.length+w,et=function(e,t,n,r,a,i,s,l,c){var u,p=function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a2&&void 0!==arguments[2]?arguments[2]:[];return t||o.length>0?function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return T({children:e,lineNumber:t,lineNumberStyle:l,largestLineNumber:s,showInlineLineNumbers:a,lineProps:n,className:i,showLineNumbers:r,wrapLongLines:c})}(e,i,o):function(e,t){if(r&&t&&a){var n=E(l,t,s);e.unshift(y(t,n))}return e}(e,i)}for(;g code[class*="language-"]':{background:"#111b27",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#8da1b9"},prolog:{color:"#8da1b9"},doctype:{color:"#8da1b9"},cdata:{color:"#8da1b9"},punctuation:{color:"#e3eaf2"},"delimiter.important":{color:"#66cccc",fontWeight:"inherit"},"selector.parent":{color:"#66cccc"},tag:{color:"#66cccc"},"tag.punctuation":{color:"#66cccc"},"attr-name":{color:"#e6d37a"},boolean:{color:"#e6d37a"},"boolean.important":{color:"#e6d37a"},number:{color:"#e6d37a"},constant:{color:"#e6d37a"},"selector.attribute":{color:"#e6d37a"},"class-name":{color:"#6cb8e6"},key:{color:"#6cb8e6"},parameter:{color:"#6cb8e6"},property:{color:"#6cb8e6"},"property-access":{color:"#6cb8e6"},variable:{color:"#6cb8e6"},"attr-value":{color:"#91d076"},inserted:{color:"#91d076"},color:{color:"#91d076"},"selector.value":{color:"#91d076"},string:{color:"#91d076"},"string.url-link":{color:"#91d076"},builtin:{color:"#f4adf4"},"keyword-array":{color:"#f4adf4"},package:{color:"#f4adf4"},regex:{color:"#f4adf4"},function:{color:"#c699e3"},"selector.class":{color:"#c699e3"},"selector.id":{color:"#c699e3"},"atrule.rule":{color:"#e9ae7e"},combinator:{color:"#e9ae7e"},keyword:{color:"#e9ae7e"},operator:{color:"#e9ae7e"},"pseudo-class":{color:"#e9ae7e"},"pseudo-element":{color:"#e9ae7e"},selector:{color:"#e9ae7e"},unit:{color:"#e9ae7e"},deleted:{color:"#cd6660"},important:{color:"#cd6660",fontWeight:"bold"},"keyword-this":{color:"#6cb8e6",fontWeight:"bold"},this:{color:"#6cb8e6",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#f4adf4"},".language-markdown .token.code":{color:"#66cccc"},".language-markdown .token.hr.punctuation":{color:"#6cb8e6"},".language-markdown .token.url .token.content":{color:"#91d076"},".language-markdown .token.url-link":{color:"#e6d37a"},".language-markdown .token.list.punctuation":{color:"#f4adf4"},".language-markdown .token.table-header":{color:"#e3eaf2"},".language-json .token.operator":{color:"#e3eaf2"},".language-scss .token.variable":{color:"#66cccc"},"token.tab:not(:empty):before":{color:"#8da1b9"},"token.cr:before":{color:"#8da1b9"},"token.lf:before":{color:"#8da1b9"},"token.space:before":{color:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#111b27",background:"#8da1b9"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #3c526d5f 70%, #3c526d55)"},".line-highlight.line-highlight:before":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#8da1b918"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #0b121b",background:"#0b121b7a"},".line-numbers .line-numbers-rows > span:before":{color:"#8da1b9da"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#c699e3"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},".command-line .command-line-prompt":{borderRight:"1px solid #0b121b"},".command-line .command-line-prompt > span:before":{color:"#8da1b9da"}}},12187:function(e,t){"use strict";t.Z={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}}},89144:function(e,t){"use strict";t.Z={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}}},89435:function(e){"use strict";var t;e.exports=function(e){var n,r="&"+e+";";return(t=t||document.createElement("i")).innerHTML=r,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==r&&n}},57574:function(e,t,n){"use strict";var r=n(21922),a=n(93580),i=n(46195),o=n(79480),s=n(7961),l=n(89435);e.exports=function(e,t){var n,i,o={};for(i in t||(t={}),d)n=t[i],o[i]=null==n?d[i]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),function(e,t){var n,i,o,d,E,T,S,v,A,O,_,k,I,C,N,w,x,R,L,D,P,M=t.additional,F=t.nonTerminated,B=t.text,j=t.reference,U=t.warning,H=t.textContext,G=t.referenceContext,z=t.warningContext,$=t.position,W=t.indent||[],Z=e.length,Y=0,V=-1,q=$.column||1,K=$.line||1,X="",Q=[];for("string"==typeof M&&(M=M.charCodeAt(0)),R=J(),O=U?function(e,t){var n=J();n.column+=t,n.offset+=t,U.call(z,y[e],n,e)}:p,Y--,Z++;++Y=55296&&n<=57343||n>1114111?(O(7,D),v=u(65533)):v in a?(O(6,D),v=a[v]):(k="",((i=v)>=1&&i<=8||11===i||i>=13&&i<=31||i>=127&&i<=159||i>=64976&&i<=65007||(65535&i)==65535||(65535&i)==65534)&&O(6,D),v>65535&&(v-=65536,k+=u(v>>>10|55296),v=56320|1023&v),v=k+u(v))):w!==f&&O(4,D)),v?(ee(),R=J(),Y=P-1,q+=P-N+1,Q.push(v),L=J(),L.offset++,j&&j.call(G,v,{start:R,end:L},e.slice(N-1,P)),R=L):(X+=T=e.slice(N-1,P),q+=T.length,Y=P-1)}else 10===S&&(K++,V++,q=0),S==S?(X+=u(S),q++):ee();return Q.join("");function J(){return{line:K,column:q,offset:Y+($.offset||0)}}function ee(){X&&(Q.push(X),B&&B.call(H,X,{start:R,end:J()}),X="")}}(e,o)};var c={}.hasOwnProperty,u=String.fromCharCode,p=Function.prototype,d={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},f="named",g="hexadecimal",m="decimal",h={};h[g]=16,h[m]=10;var b={};b[f]=s,b[m]=i,b[g]=o;var y={};y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"},11215:function(e,t,n){"use strict";var r,a,i="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},o=(a=(r="Prism"in i)?i.Prism:void 0,function(){r?i.Prism=a:delete i.Prism,r=void 0,a=void 0});i.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(31742),l=n(57574),c=n(59216),u=n(2717),p=n(12049),d=n(29726),f=n(36155);o();var g={}.hasOwnProperty;function m(){}m.prototype=c;var h=new m;function b(e){if("function"!=typeof e||!e.displayName)throw Error("Expected `function` for `grammar`, got `"+e+"`");void 0===h.languages[e.displayName]&&e(h)}e.exports=h,h.highlight=function(e,t){var n,r=c.highlight;if("string"!=typeof e)throw Error("Expected `string` for `value`, got `"+e+"`");if("Object"===h.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw Error("Expected `string` for `name`, got `"+t+"`");if(g.call(h.languages,t))n=h.languages[t];else throw Error("Unknown language: `"+t+"` is not registered")}return r.call(this,e,n,t)},h.register=b,h.alias=function(e,t){var n,r,a,i,o=h.languages,s=e;for(n in t&&((s={})[e]=t),s)for(a=(r="string"==typeof(r=s[n])?[r]:r).length,i=-1;++i]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}e.exports=t,t.displayName="abap",t.aliases=[]},68313:function(e){"use strict";function t(e){var t;t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)",e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}e.exports=t,t.displayName="abnf",t.aliases=[]},21207:function(e){"use strict";function t(e){e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}e.exports=t,t.displayName="actionscript",t.aliases=[]},89693:function(e){"use strict";function t(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}e.exports=t,t.displayName="ada",t.aliases=[]},24001:function(e){"use strict";function t(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}e.exports=t,t.displayName="agda",t.aliases=[]},18018:function(e){"use strict";function t(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}e.exports=t,t.displayName="al",t.aliases=[]},36363:function(e){"use strict";function t(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}e.exports=t,t.displayName="antlr4",t.aliases=["g4"]},35281:function(e){"use strict";function t(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}e.exports=t,t.displayName="apacheconf",t.aliases=[]},10433:function(e,t,n){"use strict";var r=n(11114);function a(e){e.register(r),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return t.source});function r(e){return RegExp(e.replace(//g,function(){return n}),"i")}var a={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:r(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:a},{pattern:r(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:a},{pattern:r(/(?=\s*\w+\s*[;=,(){:])/.source),inside:a}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}e.exports=a,a.displayName="apex",a.aliases=[]},84039:function(e){"use strict";function t(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}e.exports=t,t.displayName="apl",t.aliases=[]},71336:function(e){"use strict";function t(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}e.exports=t,t.displayName="applescript",t.aliases=[]},4481:function(e){"use strict";function t(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}e.exports=t,t.displayName="aql",t.aliases=[]},2159:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}e.exports=a,a.displayName="arduino",a.aliases=["ino"]},60274:function(e){"use strict";function t(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}e.exports=t,t.displayName="arff",t.aliases=[]},18738:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function r(e){e=e.split(" ");for(var t={},r=0,a=e.length;r>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}e.exports=t,t.displayName="asmatmel",t.aliases=[]},78734:function(e,t,n){"use strict";var r=n(61958);function a(e){e.register(r),e.languages.aspnet=e.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}e.exports=a,a.displayName="aspnet",a.aliases=[]},6681:function(e){"use strict";function t(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}e.exports=t,t.displayName="autohotkey",t.aliases=[]},53358:function(e){"use strict";function t(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}e.exports=t,t.displayName="autoit",t.aliases=[]},81700:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return RegExp(e.replace(/<<(\d+)>>/g,function(e,n){return t[+n]}),n||"")}var n=/bool|clip|float|int|string|val/.source,r=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:t(/\b(?:<<0>>)\b/.source,[r],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}e.exports=t,t.displayName="avisynth",t.aliases=["avs"]},37219:function(e){"use strict";function t(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}e.exports=t,t.displayName="avroIdl",t.aliases=[]},6979:function(e){"use strict";function t(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,o=0;o?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}e.exports=t,t.displayName="basic",t.aliases=[]},94781:function(e){"use strict";function t(e){var t,n,r,a;t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},r=/"(?:[\\"]"|[^"])*"(?!")/,a=/(?:\b|-)\d+\b/,e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:r,parameter:n,variable:t,number:a,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:r,parameter:n,variable:t,number:a,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:r,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:a,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:r,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:a,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}e.exports=t,t.displayName="batch",t.aliases=[]},62260:function(e){"use strict";function t(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}e.exports=t,t.displayName="bbcode",t.aliases=["shortcode"]},36153:function(e){"use strict";function t(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}e.exports=t,t.displayName="bicep",t.aliases=[]},59258:function(e){"use strict";function t(e){e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}e.exports=t,t.displayName="birb",t.aliases=[]},62890:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}e.exports=a,a.displayName="bison",a.aliases=[]},15958:function(e){"use strict";function t(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}e.exports=t,t.displayName="bnf",t.aliases=["rbnf"]},61321:function(e){"use strict";function t(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}e.exports=t,t.displayName="brainfuck",t.aliases=[]},77856:function(e){"use strict";function t(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}e.exports=t,t.displayName="brightscript",t.aliases=[]},90741:function(e){"use strict";function t(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="bro",t.aliases=[]},83410:function(e){"use strict";function t(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}e.exports=t,t.displayName="bsl",t.aliases=[]},65806:function(e){"use strict";function t(e){e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}e.exports=t,t.displayName="c",t.aliases=[]},33039:function(e){"use strict";function t(e){e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}e.exports=t,t.displayName="cfscript",t.aliases=[]},85082:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}e.exports=a,a.displayName="chaiscript",a.aliases=[]},79415:function(e){"use strict";function t(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}e.exports=t,t.displayName="cil",t.aliases=[]},29726:function(e){"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},62849:function(e){"use strict";function t(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}e.exports=t,t.displayName="clojure",t.aliases=[]},55773:function(e){"use strict";function t(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}e.exports=t,t.displayName="cmake",t.aliases=[]},32762:function(e){"use strict";function t(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}e.exports=t,t.displayName="cobol",t.aliases=[]},43576:function(e){"use strict";function t(e){var t,n;t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"},e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}e.exports=t,t.displayName="coffeescript",t.aliases=["coffee"]},71794:function(e){"use strict";function t(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}e.exports=t,t.displayName="concurnas",t.aliases=["conc"]},1315:function(e){"use strict";function t(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return t})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(e)}e.exports=t,t.displayName="coq",t.aliases=[]},80096:function(e,t,n){"use strict";var r=n(65806);function a(e){var t,n;e.register(r),t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return t.source}),e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}e.exports=a,a.displayName="cpp",a.aliases=[]},99176:function(e,t,n){"use strict";var r=n(56939);function a(e){e.register(r),e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}e.exports=a,a.displayName="crystal",a.aliases=[]},61958:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}var a={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function i(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var o=i(a.typeDeclaration),s=RegExp(i(a.type+" "+a.typeDeclaration+" "+a.contextual+" "+a.other)),l=i(a.typeDeclaration+" "+a.contextual+" "+a.other),c=i(a.type+" "+a.typeDeclaration+" "+a.other),u=r(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),p=r(/\((?:[^()]|<>)*\)/.source,2),d=/@?\b[A-Za-z_]\w*\b/.source,f=t(/<<0>>(?:\s*<<1>>)?/.source,[d,u]),g=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[l,f]),m=/\[\s*(?:,\s*)*\]/.source,h=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[g,m]),b=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[u,p,m]),y=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[b]),E=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[y,g,m]),T={keyword:s,punctuation:/[<>()?,.:[\]]/},S=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,v=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[v]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[g]),lookbehind:!0,inside:T},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[d,E]),lookbehind:!0,inside:T},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[d]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[o,f]),lookbehind:!0,inside:T},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[g]),lookbehind:!0,inside:T},{pattern:n(/(\bwhere\s+)<<0>>/.source,[d]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[h]),lookbehind:!0,inside:T},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[E,c,d]),inside:T}],keyword:s,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[d]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[d]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[p]),lookbehind:!0,alias:"class-name",inside:T},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[E,g]),inside:T,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[E]),lookbehind:!0,inside:T,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[d,u]),inside:{function:n(/^<<0>>/.source,[d]),generic:{pattern:RegExp(u),alias:"class-name",inside:T}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[o,f,d,E,s.source,p,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[f,p]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:s,"class-name":{pattern:RegExp(E),greedy:!0,inside:T},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var O=v+"|"+S,_=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[O]),k=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[_]),2),I=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,C=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[g,k]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[I,C]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[I]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[k]),inside:e.languages.csharp},"class-name":{pattern:RegExp(g),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var N=/:[^}\r\n]+/.source,w=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[_]),2),x=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[w,N]),R=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[O]),2),L=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,N]);function D(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,N]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[x]),lookbehind:!0,greedy:!0,inside:D(x,w)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:D(L,R)}],char:{pattern:RegExp(S),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},90312:function(e,t,n){"use strict";var r=n(61958);function a(e){e.register(r),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function r(e,r){for(var a=0;a/g,function(){return"(?:"+e+")"});return e.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+n+")").replace(//g,"(?:"+t+")")}var a=r(/\((?:[^()'"@/]|||)*\)/.source,2),i=r(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),o=r(/\{(?:[^{}'"@/]|||)*\}/.source,2),s=r(/<(?:[^<>'"@/]|||)*>/.source,2),l=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,c=/(?!\d)[^\s>\/=$<%]+/.source+l+/\s*\/?>/.source,u=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source)+c+"|"+r(/<\1/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|")+/<\/?(?!\1\b)/.source+c+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(e)}e.exports=t,t.displayName="cssExtras",t.aliases=[]},12049:function(e){"use strict";function t(e){var t,n;t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(n=e.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}e.exports=t,t.displayName="css",t.aliases=[]},78090:function(e){"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},40315:function(e){"use strict";function t(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}e.exports=t,t.displayName="cypher",t.aliases=[]},7902:function(e){"use strict";function t(e){e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}e.exports=t,t.displayName="d",t.aliases=[]},28651:function(e){"use strict";function t(e){var t,n,r;t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],r={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}},e.languages.dart=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}e.exports=t,t.displayName="dart",t.aliases=[]},55579:function(e){"use strict";function t(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}e.exports=t,t.displayName="dataweave",t.aliases=[]},93685:function(e){"use strict";function t(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}e.exports=t,t.displayName="dax",t.aliases=[]},13934:function(e){"use strict";function t(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}e.exports=t,t.displayName="dhall",t.aliases=[]},93336:function(e){"use strict";function t(e){var t;e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]},Object.keys(t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"}).forEach(function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}e.exports=t,t.displayName="diff",t.aliases=[]},13294:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n;e.register(r),e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/},t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"],e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"django",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"django")}),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"jinja2",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"jinja2")})}e.exports=a,a.displayName="django",a.aliases=["jinja2"]},38223:function(e){"use strict";function t(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}e.exports=t,t.displayName="dnsZoneFile",t.aliases=[]},97266:function(e){"use strict";function t(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return t}),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,a=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return r}),i={pattern:RegExp(r),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return RegExp(e=e.replace(//g,function(){return a}).replace(//g,function(){return n}),t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(e)}e.exports=t,t.displayName="docker",t.aliases=["dockerfile"]},77125:function(e){"use strict";function t(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function r(e,n){return RegExp(e.replace(//g,function(){return t}),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:r(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:r(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:r(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:r(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}e.exports=t,t.displayName="dot",t.aliases=["gv"]},36500:function(e){"use strict";function t(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}e.exports=t,t.displayName="ebnf",t.aliases=[]},30296:function(e){"use strict";function t(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}e.exports=t,t.displayName="editorconfig",t.aliases=[]},50115:function(e){"use strict";function t(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}e.exports=t,t.displayName="eiffel",t.aliases=[]},20791:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")}),e.languages.eta=e.languages.ejs}e.exports=a,a.displayName="ejs",a.aliases=["eta"]},11974:function(e){"use strict";function t(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach(function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}})}e.exports=t,t.displayName="elixir",t.aliases=[]},8645:function(e){"use strict";function t(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}e.exports=t,t.displayName="elm",t.aliases=[]},84790:function(e,t,n){"use strict";var r=n(56939),a=n(93205);function i(e){e.register(r),e.register(a),e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")})}e.exports=i,i.displayName="erb",i.aliases=[]},4502:function(e){"use strict";function t(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}e.exports=t,t.displayName="erlang",t.aliases=[]},66055:function(e,t,n){"use strict";var r=n(59803),a=n(93205);function i(e){e.register(r),e.register(a),e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")})}e.exports=i,i.displayName="etlua",i.aliases=[]},34668:function(e){"use strict";function t(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}e.exports=t,t.displayName="excelFormula",t.aliases=[]},95126:function(e){"use strict";function t(e){var t,n,r,a,i,o;r={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/}},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:(n={number:/\\[^\s']|%\w/}).number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},a=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},i=function(e){return RegExp("(^|\\s)(?:"+e.map(a).join("|")+")(?=\\s|$)")},Object.keys(o={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]}).forEach(function(e){r[e].pattern=i(o[e])}),r.combinators.pattern=i(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"]),e.languages.factor=r}e.exports=t,t.displayName="factor",t.aliases=[]},90618:function(e){"use strict";function t(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}e.exports=t,t.displayName="firestoreSecurityRules",t.aliases=[]},37225:function(e){"use strict";function t(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}e.exports=t,t.displayName="flow",t.aliases=[]},16725:function(e){"use strict";function t(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}e.exports=t,t.displayName="fortran",t.aliases=[]},95559:function(e){"use strict";function t(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}e.exports=t,t.displayName="fsharp",t.aliases=[]},82114:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),function(e){for(var t=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var r={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return t})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return t})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};r.string[1].inside.interpolation.inside.rest=r,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}}},e.hooks.add("before-tokenize",function(n){var r=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return t}),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",r)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")})}(e)}e.exports=a,a.displayName="ftl",a.aliases=[]},6806:function(e){"use strict";function t(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}e.exports=t,t.displayName="gap",t.aliases=[]},12208:function(e){"use strict";function t(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}e.exports=t,t.displayName="gcode",t.aliases=[]},62728:function(e){"use strict";function t(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}e.exports=t,t.displayName="gdscript",t.aliases=[]},81549:function(e){"use strict";function t(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}e.exports=t,t.displayName="gedcom",t.aliases=[]},6024:function(e){"use strict";function t(e){var t;t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source,e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}e.exports=t,t.displayName="gherkin",t.aliases=[]},13600:function(e){"use strict";function t(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}e.exports=t,t.displayName="git",t.aliases=[]},3322:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}e.exports=a,a.displayName="glsl",a.aliases=[]},53877:function(e){"use strict";function t(e){e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}e.exports=t,t.displayName="gml",t.aliases=[]},60794:function(e){"use strict";function t(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}e.exports=t,t.displayName="gn",t.aliases=["gni"]},20222:function(e){"use strict";function t(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="goModule",t.aliases=[]},51519:function(e){"use strict";function t(e){e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}e.exports=t,t.displayName="go",t.aliases=[]},94055:function(e){"use strict";function t(e){e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:e.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},e.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n0)){var s=p(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&d(c,"variable-input")}}}}function u(e,r){r=r||0;for(var a=0;a]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.hooks.add("wrap",function(t){if("groovy"===t.language&&"string"===t.type){var n=t.content.value[0];if("'"!=n){var r=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===n&&(r=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content.value=t.content.value.replace(/</g,"<").replace(/&/g,"&"),t.content=e.highlight(t.content.value,{expression:{pattern:r,lookbehind:!0,inside:e.languages.groovy}}),t.classes.push("/"===n?"regex":"gstring")}}})}e.exports=t,t.displayName="groovy",t.aliases=[]},29536:function(e,t,n){"use strict";var r=n(56939);function a(e){e.register(r),function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},r=0,a=t.length;r@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")}),e.languages.hbs=e.languages.handlebars}e.exports=a,a.displayName="handlebars",a.aliases=["hbs"]},58090:function(e){"use strict";function t(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}e.exports=t,t.displayName="haskell",t.aliases=["hs"]},95121:function(e){"use strict";function t(e){e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}e.exports=t,t.displayName="haxe",t.aliases=[]},59904:function(e){"use strict";function t(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}e.exports=t,t.displayName="hcl",t.aliases=[]},9436:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}e.exports=a,a.displayName="hlsl",a.aliases=[]},60591:function(e){"use strict";function t(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}e.exports=t,t.displayName="hoon",t.aliases=[]},76942:function(e){"use strict";function t(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hpkp",t.aliases=[]},60561:function(e){"use strict";function t(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hsts",t.aliases=[]},49660:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ ]*(?![ ]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,r=e.languages,a={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},i={"application/json":!0,"application/xml":!0};for(var o in a)if(a[o]){n=n||{};var s=i[o]?function(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-]))"}(o):o;n[o.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+s+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:a[o]}}n&&e.languages.insertBefore("http","header",n)}(e)}e.exports=t,t.displayName="http",t.aliases=[]},30615:function(e){"use strict";function t(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}e.exports=t,t.displayName="ichigojam",t.aliases=[]},93865:function(e){"use strict";function t(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}e.exports=t,t.displayName="icon",t.aliases=[]},51078:function(e){"use strict";function t(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(//g,function(){return t(e,n-1)})}var n=/'[{}:=,](?:[^']|'')*'(?!')/,r={pattern:/''/,greedy:!0,alias:"operator"},a=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return n.source}),8),i={pattern:RegExp(a),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(a),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":i,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":i,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:r,string:{pattern:n,greedy:!0,inside:{escape:r}}},i.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}e.exports=t,t.displayName="icuMessageFormat",t.aliases=[]},91178:function(e,t,n){"use strict";var r=n(58090);function a(e){e.register(r),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}e.exports=a,a.displayName="idris",a.aliases=["idr"]},40011:function(e){"use strict";function t(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}e.exports=t,t.displayName="iecst",t.aliases=[]},12017:function(e){"use strict";function t(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}e.exports=t,t.displayName="ignore",t.aliases=["gitignore","hgignore","npmignore"]},65175:function(e){"use strict";function t(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}e.exports=t,t.displayName="inform7",t.aliases=[]},14970:function(e){"use strict";function t(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}e.exports=t,t.displayName="ini",t.aliases=[]},30764:function(e){"use strict";function t(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}e.exports=t,t.displayName="j",t.aliases=[]},15909:function(e){"use strict";function t(e){var t,n,r;t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}e.exports=t,t.displayName="java",t.aliases=[]},36553:function(e,t,n){"use strict";var r=n(15909),a=n(9858);function i(e){var t,n,i;e.register(r),e.register(a),t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,i=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return n}),e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+i+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}e.exports=i,i.displayName="javadoc",i.aliases=[]},9858:function(e){"use strict";function t(e){var t;Object.defineProperty(t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach(function(t){!function(t,n){var r="doc-comment",a=e.languages[t];if(a){var i=a[r];if(!i){var o={};o[r]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},i=(a=e.languages.insertBefore(t,"comment",o))[r]}if(i instanceof RegExp&&(i=a[r]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},11223:function(e){"use strict";function t(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}e.exports=t,t.displayName="javastacktrace",t.aliases=[]},57957:function(e){"use strict";function t(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}e.exports=t,t.displayName="jexl",t.aliases=[]},66604:function(e){"use strict";function t(e){e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}e.exports=t,t.displayName="jolie",t.aliases=[]},77935:function(e){"use strict";function t(e){var t,n,r,a;t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return t})),r={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},a=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:r},string:{pattern:n,lookbehind:!0,greedy:!0,inside:r},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}},r.interpolation.inside.content.inside=a}e.exports=t,t.displayName="jq",t.aliases=[]},46155:function(e){"use strict";function t(e){!function(e){function t(e,t){return RegExp(e.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r=d.length)return;var o=n[i];if("string"==typeof o||"string"==typeof o.content){var l=d[c],p="string"==typeof o?o:o.content,f=p.indexOf(l);if(-1!==f){++c;var g=p.substring(0,f),m=function(t){var n={};n["interpolation-punctuation"]=a;var i=e.tokenize(t,n);if(3===i.length){var o=[1,1];o.push.apply(o,s(i[1],e.languages.javascript,"javascript")),i.splice.apply(i,o)}return new e.Token("interpolation",i,r.alias,t)}(u[l]),h=p.substring(f+l.length),b=[];if(g&&b.push(g),b.push(m),h){var y=[h];t(y),b.push.apply(b,y)}"string"==typeof o?(n.splice.apply(n,[i,1].concat(b)),i+=b.length-1):o.content=b}}else{var E=o.content;Array.isArray(E)?t(E):t([E])}}}(p),new e.Token(o,p,"language-"+o,t)}(d,m,g)}}else t(u)}}}(t.tokens)})}(e)}e.exports=t,t.displayName="jsTemplates",t.aliases=[]},25319:function(e,t,n){"use strict";var r=n(9858),a=n(4979);function i(e){var t,n,i;e.register(r),e.register(a),t=e.languages.javascript,i="(@(?:arg|argument|param|property)\\s+(?:"+(n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(i+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(i+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}e.exports=i,i.displayName="jsdoc",i.aliases=[]},45950:function(e){"use strict";function t(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},50235:function(e,t,n){"use strict";var r=n(45950);function a(e){var t;e.register(r),t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/,e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}e.exports=a,a.displayName="json5",a.aliases=[]},80963:function(e,t,n){"use strict";var r=n(45950);function a(e){e.register(r),e.languages.jsonp=e.languages.extend("json",{punctuation:/[{}[\]();,.]/}),e.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}e.exports=a,a.displayName="jsonp",a.aliases=[]},79358:function(e){"use strict";function t(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}e.exports=t,t.displayName="jsstacktrace",t.aliases=[]},96412:function(e){"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function i(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return r}).replace(//g,function(){return a}),t)}a=i(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},s=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===o(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:o(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var l=o(a);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=o(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}a.content&&"string"!=typeof a.content&&s(a.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&s(e.tokens)})}(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},39259:function(e){"use strict";function t(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}e.exports=t,t.displayName="julia",t.aliases=[]},51466:function(e){"use strict";function t(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}e.exports=t,t.displayName="keepalived",t.aliases=[]},35760:function(e){"use strict";function t(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}e.exports=t,t.displayName="keyman",t.aliases=[]},19715:function(e){"use strict";function t(e){var t;e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"],t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}},e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}e.exports=t,t.displayName="kotlin",t.aliases=["kt","kts"]},27614:function(e){"use strict";function t(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(//g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}e.exports=t,t.displayName="kumir",t.aliases=["kum"]},82819:function(e){"use strict";function t(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}e.exports=t,t.displayName="kusto",t.aliases=[]},42876:function(e){"use strict";function t(e){var t,n;n={"equation-command":{pattern:t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,alias:"regex"}},e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}e.exports=t,t.displayName="latex",t.aliases=["tex","context"]},2980:function(e,t,n){"use strict";var r=n(93205),a=n(88262);function i(e){var t;e.register(r),e.register(a),e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}},t=e.languages.extend("markup",{}),e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",function(n){"latte"===n.language&&(e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")})}e.exports=i,i.displayName="latte",i.aliases=[]},41701:function(e){"use strict";function t(e){e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}e.exports=t,t.displayName="less",t.aliases=[]},42491:function(e,t,n){"use strict";var r=n(9997);function a(e){e.register(r),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,n=0;n<5;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var r=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return t}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};r["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=r,e.languages.ly=r}(e)}e.exports=a,a.displayName="lilypond",a.aliases=[]},34927:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var r=t[1];if("raw"===r&&!n)return n=!0,!0;if("endraw"===r)return n=!1,!0}return!n})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}e.exports=a,a.displayName="liquid",a.aliases=[]},3848:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var r=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,a="&"+r,i="(\\()",o="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,l={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+r+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+r),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+r),alias:"property"},splice:{pattern:RegExp(",@?"+r),alias:["symbol","variable"]},keyword:[{pattern:RegExp(i+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+o),lookbehind:!0},{pattern:RegExp(i+"(?:append|by|collect|concat|do|finally|for|in|return)"+o),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(i+"def(?:const|custom|group|var)\\s+"+r),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(r)}},defun:{pattern:RegExp(i+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+r+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+r),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(i+"lambda\\s+\\(\\s*(?:&?"+r+"(?:\\s+&?"+r+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(i+r),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},c={"lisp-marker":RegExp(a),varform:{pattern:RegExp(/\(/.source+r+/\s+(?=\S)/.source+s+/\)/.source),inside:l},argument:{pattern:RegExp(/(^|[\s(])/.source+r),lookbehind:!0,alias:"variable"},rest:l},u="\\S+(?:\\s+\\S+)*",p={pattern:RegExp(i+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+u),inside:c},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+u),inside:c},keys:{pattern:RegExp("&key\\s+"+u+"(?:\\s+&allow-other-keys)?"),inside:c},argument:{pattern:RegExp(r),alias:"variable"},punctuation:/[()]/}};l.lambda.inside.arguments=p,l.defun.inside.arguments=e.util.clone(p),l.defun.inside.arguments.inside.sublist=p,e.languages.lisp=l,e.languages.elisp=l,e.languages.emacs=l,e.languages["emacs-lisp"]=l}(e)}e.exports=t,t.displayName="lisp",t.aliases=[]},41469:function(e){"use strict";function t(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}e.exports=t,t.displayName="livescript",t.aliases=[]},73070:function(e){"use strict";function t(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}e.exports=t,t.displayName="llvm",t.aliases=[]},35049:function(e){"use strict";function t(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}e.exports=t,t.displayName="log",t.aliases=[]},8789:function(e){"use strict";function t(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}e.exports=t,t.displayName="lolcode",t.aliases=[]},59803:function(e){"use strict";function t(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}e.exports=t,t.displayName="lua",t.aliases=[]},86328:function(e){"use strict";function t(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}e.exports=t,t.displayName="magma",t.aliases=[]},33055:function(e){"use strict";function t(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}e.exports=t,t.displayName="makefile",t.aliases=[]},90542:function(e){"use strict";function t(e){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+i+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+i+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)}e.exports=t,t.displayName="markdown",t.aliases=["md"]},93205:function(e){"use strict";function t(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,i){if(n.language===r){var o=n.tokenStack=[];n.code=n.code.replace(a,function(e){if("function"==typeof i&&!i(e))return e;for(var a,s=o.length;-1!==n.code.indexOf(a=t(r,s));)++s;return o[s]=e,a}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,i=Object.keys(n.tokenStack);!function o(s){for(var l=0;l=i.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=i[a],p=n.tokenStack[u],d="string"==typeof c?c:c.content,f=t(r,u),g=d.indexOf(f);if(g>-1){++a;var m=d.substring(0,g),h=new e.Token(r,e.tokenize(p,n.grammar),"language-"+r,p),b=d.substring(g+f.length),y=[];m&&y.push.apply(y,o([m])),y.push(h),b&&y.push.apply(y,o([b])),"string"==typeof c?s.splice.apply(s,[l,1].concat(y)):c.content=y}}else c.content&&o(c.content)}return s}(n.tokens)}}}})}(e)}e.exports=t,t.displayName="markupTemplating",t.aliases=[]},2717:function(e){"use strict";function t(e){e.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^$/i;var a={"included-cdata":{pattern://i,inside:r}};a["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:a},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},27992:function(e){"use strict";function t(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}e.exports=t,t.displayName="matlab",t.aliases=[]},91115:function(e){"use strict";function t(e){var t;t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i,e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|")+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ ]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+t.source+")"+/[a-z_]/.source+"|")+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}e.exports=t,t.displayName="maxscript",t.aliases=[]},606:function(e){"use strict";function t(e){e.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},e.languages.mel.code.inside.rest=e.languages.mel}e.exports=t,t.displayName="mel",t.aliases=[]},68582:function(e){"use strict";function t(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}e.exports=t,t.displayName="mermaid",t.aliases=[]},23388:function(e){"use strict";function t(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}e.exports=t,t.displayName="mizar",t.aliases=[]},90596:function(e){"use strict";function t(e){var t,n;n="(?:"+["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"].map(function(e){return e.replace("$","\\$")}).join("|")+")\\b",e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:ObjectId|Code|BinData|DBRef|Timestamp|NumberLong|NumberDecimal|MaxKey|MinKey|RegExp|ISODate|UUID)\\b"),alias:"keyword"}})}e.exports=t,t.displayName="mongodb",t.aliases=[]},95721:function(e){"use strict";function t(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}e.exports=t,t.displayName="monkey",t.aliases=[]},64262:function(e){"use strict";function t(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}e.exports=t,t.displayName="moonscript",t.aliases=["moon"]},18190:function(e){"use strict";function t(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}e.exports=t,t.displayName="n1ql",t.aliases=[]},70896:function(e){"use strict";function t(e){e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}e.exports=t,t.displayName="n4js",t.aliases=["n4jsd"]},42242:function(e){"use strict";function t(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="nand2tetrisHdl",t.aliases=[]},37943:function(e){"use strict";function t(e){var t,n;n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t=/\{[^\r\n\[\]{}]*\}/,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]},e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",function(e){e.tokens.forEach(function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(e);!function(e){for(var t=[],n=0;n=&|$!]/}}e.exports=t,t.displayName="nasm",t.aliases=[]},83873:function(e){"use strict";function t(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}e.exports=t,t.displayName="neon",t.aliases=[]},75932:function(e){"use strict";function t(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}e.exports=t,t.displayName="nevod",t.aliases=[]},60221:function(e){"use strict";function t(e){var t;t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i,e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}}e.exports=t,t.displayName="nginx",t.aliases=[]},44188:function(e){"use strict";function t(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}e.exports=t,t.displayName="nim",t.aliases=[]},74426:function(e){"use strict";function t(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}e.exports=t,t.displayName="nix",t.aliases=[]},88447:function(e){"use strict";function t(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}e.exports=t,t.displayName="nsis",t.aliases=[]},16032:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.objectivec=e.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}e.exports=a,a.displayName="objectivec",a.aliases=["objc"]},33607:function(e){"use strict";function t(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}e.exports=t,t.displayName="ocaml",t.aliases=[]},22001:function(e,t,n){"use strict";var r=n(65806);function a(e){var t;e.register(r),e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}}),t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}},e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))}e.exports=a,a.displayName="opencl",a.aliases=[]},22950:function(e){"use strict";function t(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}e.exports=t,t.displayName="openqasm",t.aliases=["qasm"]},23254:function(e){"use strict";function t(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}e.exports=t,t.displayName="oz",t.aliases=[]},92694:function(e){"use strict";function t(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:RegExp("\\b(?:"+["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"].map(function(e){return e.split("").join(" *")}).join("|")+")\\b"),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}e.exports=t,t.displayName="parigp",t.aliases=[]},43273:function(e){"use strict";function t(e){var t;t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/}),t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}e.exports=t,t.displayName="parser",t.aliases=[]},60718:function(e){"use strict";function t(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}e.exports=t,t.displayName="pascal",t.aliases=["objectpascal"]},39303:function(e){"use strict";function t(e){var t,n,r,a;t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return t}),r=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return n}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return n}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return n})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},a=["comment","keyword","builtin","operator","punctuation"].reduce(function(e,t){return e[t]=r[t],e},{}),r["class-name"].forEach(function(e){e.inside=a})}e.exports=t,t.displayName="pascaligo",t.aliases=[]},77393:function(e){"use strict";function t(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}e.exports=t,t.displayName="pcaxis",t.aliases=["px"]},19023:function(e){"use strict";function t(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}e.exports=t,t.displayName="peoplecode",t.aliases=["pcode"]},74212:function(e){"use strict";function t(e){var t;t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source,e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="perl",t.aliases=[]},5137:function(e,t,n){"use strict";var r=n(88262);function a(e){e.register(r),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}e.exports=a,a.displayName="phpExtras",a.aliases=[]},88262:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n,a,i,o,s,l;e.register(r),t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],a=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/,e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:a,operator:i,punctuation:o},l=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:s={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php}}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:s}}],e.languages.insertBefore("php","variable",{string:l,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:l,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:a,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})}e.exports=a,a.displayName="php",a.aliases=[]},63632:function(e,t,n){"use strict";var r=n(88262),a=n(9858);function i(e){var t;e.register(r),e.register(a),t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source,e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}e.exports=i,i.displayName="phpdoc",i.aliases=[]},59149:function(e,t,n){"use strict";var r=n(11114);function a(e){e.register(r),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}e.exports=a,a.displayName="plsql",a.aliases=[]},50256:function(e){"use strict";function t(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}e.exports=t,t.displayName="powerquery",t.aliases=[]},61777:function(e){"use strict";function t(e){var t;(t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}e.exports=t,t.displayName="powershell",t.aliases=[]},3623:function(e){"use strict";function t(e){e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}e.exports=t,t.displayName="processing",t.aliases=[]},82707:function(e){"use strict";function t(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}e.exports=t,t.displayName="prolog",t.aliases=[]},59338:function(e){"use strict";function t(e){var t,n;n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t=["on","ignoring","group_right","group_left","by","without"],["offset"]),e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:RegExp("((?:"+t.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:RegExp("\\b(?:"+n.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}e.exports=t,t.displayName="promql",t.aliases=[]},56267:function(e){"use strict";function t(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}e.exports=t,t.displayName="properties",t.aliases=[]},98809:function(e){"use strict";function t(e){var t;t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/,e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}e.exports=t,t.displayName="protobuf",t.aliases=[]},37548:function(e){"use strict";function t(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}e.exports=t,t.displayName="psl",t.aliases=[]},82161:function(e){"use strict";function t(e){!function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],r={},a=0,i=n.length;a",function(){return o.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("pug","filter",r)}(e)}e.exports=t,t.displayName="pug",t.aliases=[]},80625:function(e){"use strict";function t(e){var t;e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/},t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}],e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}e.exports=t,t.displayName="puppet",t.aliases=[]},88393:function(e){"use strict";function t(e){var t;e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/},t=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source,["c",{lang:"c++",alias:"cpp"},"fortran"].forEach(function(n){var r=n;if("string"!=typeof n&&(r=n.alias,n=n.lang),e.languages[r]){var a={};a["inline-lang-"+r]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},a["inline-lang-"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore("pure","inline-lang",a)}}),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}e.exports=t,t.displayName="pure",t.aliases=[]},78404:function(e){"use strict";function t(e){e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}e.exports=t,t.displayName="purebasic",t.aliases=[]},92923:function(e,t,n){"use strict";var r=n(58090);function a(e){e.register(r),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}e.exports=a,a.displayName="purescript",a.aliases=["purs"]},52992:function(e){"use strict";function t(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}e.exports=t,t.displayName="python",t.aliases=["py"]},55762:function(e){"use strict";function t(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}e.exports=t,t.displayName="q",t.aliases=[]},4137:function(e){"use strict";function t(e){!function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,r=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return t}).replace(//g,function(){return n}),a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return r}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return r}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}e.exports=t,t.displayName="qml",t.aliases=[]},28260:function(e){"use strict";function t(e){e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}e.exports=t,t.displayName="qore",t.aliases=[]},71360:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),r||"")}var r={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"},a=RegExp("\\b(?:"+(r.type+" "+r.other).trim().replace(/ /g,"|")+")\\b"),i=/\b[A-Za-z_]\w*\b/.source,o=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[i]),s={keyword:a,punctuation:/[<>()?,.:[\]]/},l=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[l]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[o]),lookbehind:!0,inside:s},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[o]),lookbehind:!0,inside:s}],keyword:a,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var c=function(e,t){for(var n=0;n<2;n++)e=e.replace(/<>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[l]),0);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[c]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[c]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}e.exports=t,t.displayName="qsharp",t.aliases=["qs"]},29308:function(e){"use strict";function t(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}e.exports=t,t.displayName="r",t.aliases=[]},32168:function(e,t,n){"use strict";var r=n(9997);function a(e){e.register(r),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}e.exports=a,a.displayName="racket",a.aliases=["rkt"]},5755:function(e){"use strict";function t(e){e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}e.exports=t,t.displayName="reason",t.aliases=[]},54105:function(e){"use strict";function t(e){var t,n,r,a,i;t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=RegExp((r="(?:[^\\\\-]|"+(n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+r),i={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:a,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":i}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}e.exports=t,t.displayName="rego",t.aliases=[]},35108:function(e){"use strict";function t(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}e.exports=t,t.displayName="renpy",t.aliases=["rpy"]},46678:function(e){"use strict";function t(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}e.exports=t,t.displayName="rest",t.aliases=[]},47496:function(e){"use strict";function t(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}e.exports=t,t.displayName="rip",t.aliases=[]},30527:function(e){"use strict";function t(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}e.exports=t,t.displayName="roboconf",t.aliases=[]},5261:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function r(e,r){var a={};for(var i in a["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"},r)a[i]=r[i];return a.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},a.variable=n,a.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return e}),"im"),alias:"section",inside:a}}var a={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},i={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:r("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:r("Variables"),"test-cases":r("Test Cases",{"test-name":i,documentation:a,property:o}),keywords:r("Keywords",{"keyword-name":i,documentation:a,property:o}),tasks:r("Tasks",{"task-name":i,documentation:a,property:o}),comment:t},e.languages.robot=e.languages.robotframework}(e)}e.exports=t,t.displayName="robotframework",t.aliases=[]},56939:function(e){"use strict";function t(e){var t,n,r;e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}},delete e.languages.ruby.function,n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source,e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}e.exports=t,t.displayName="ruby",t.aliases=["rb"]},83648:function(e){"use strict";function t(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}e.exports=t,t.displayName="rust",t.aliases=[]},16009:function(e){"use strict";function t(e){var t,n,r,a,i,o,s,l,c,u,p,d,f,g,m,h,b,y;t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,r={pattern:RegExp(t+"[bx]"),alias:"number"},i={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],p={function:u={pattern:/%?\b\w+(?=\()/,alias:"keyword"},"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":a={pattern:/&[a-z_]\w*/i},arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c=/[$%@.(){}\[\];,\\]/,string:l={pattern:RegExp(t),greedy:!0}},d={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},f={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},g={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},m={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},h=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,b={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return h}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return h}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:u,"arg-value":p["arg-value"],operator:p.operator,argument:p.arg,number:n,"numeric-constant":r,punctuation:c,string:l}},y={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0},e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return t}),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":g,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:y,"submit-statement":m,"global-statements":g,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:y,"submit-statement":m,"global-statements":g,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:p}},"cas-actions":b,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:p},step:o,keyword:y,function:u,format:d,altformat:f,"global-statements":g,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,inside:p},"macro-keyword":i,"macro-variable":a,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":i,"macro-variable":a,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:c}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:n,"numeric-constant":r}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:p},"cas-actions":b,comment:s,function:u,format:d,altformat:f,"numeric-constant":r,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:l,step:o,keyword:y,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:c}}e.exports=t,t.displayName="sas",t.aliases=[]},41720:function(e){"use strict";function t(e){var t,n;e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule,t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}e.exports=t,t.displayName="sass",t.aliases=[]},6054:function(e,t,n){"use strict";var r=n(15909);function a(e){e.register(r),e.languages.scala=e.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function}e.exports=a,a.displayName="scala",a.aliases=[]},9997:function(e){"use strict";function t(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,function(t){return"(?:"+e[t].trim()+")"});return e[t]}({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}e.exports=t,t.displayName="scheme",t.aliases=[]},24296:function(e){"use strict";function t(e){e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e.exports=t,t.displayName="scss",t.aliases=[]},49246:function(e,t,n){"use strict";var r=n(6979);function a(e){var t;e.register(r),t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|"),e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}e.exports=a,a.displayName="shellSession",a.aliases=[]},18890:function(e){"use strict";function t(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}e.exports=t,t.displayName="smali",t.aliases=[]},11037:function(e){"use strict";function t(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}e.exports=t,t.displayName="smalltalk",t.aliases=[]},64020:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n;e.register(r),e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty,t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return t.source}),"g"),e.hooks.add("before-tokenize",function(t){var r=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,function(e){return"{/literal}"===e&&(r=!1),!r&&("{literal}"===e&&(r=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")})}e.exports=a,a.displayName="smarty",a.aliases=[]},49760:function(e){"use strict";function t(e){var t;t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i,e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return t.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}e.exports=t,t.displayName="sml",t.aliases=["smlnj"]},33351:function(e){"use strict";function t(e){e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}e.exports=t,t.displayName="solidity",t.aliases=["sol"]},13570:function(e){"use strict";function t(e){var t;t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}},e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}e.exports=t,t.displayName="solutionFile",t.aliases=[]},38181:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n;e.register(r),t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/,e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")})}e.exports=a,a.displayName="soy",a.aliases=[]},98774:function(e,t,n){"use strict";var r=n(24691);function a(e){e.register(r),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}e.exports=a,a.displayName="sparql",a.aliases=["rq"]},22855:function(e){"use strict";function t(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="splunkSpl",t.aliases=[]},29611:function(e){"use strict";function t(e){e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}e.exports=t,t.displayName="sqf",t.aliases=[]},11114:function(e){"use strict";function t(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}e.exports=t,t.displayName="sql",t.aliases=[]},67386:function(e){"use strict";function t(e){e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}e.exports=t,t.displayName="squirrel",t.aliases=[]},28067:function(e){"use strict";function t(e){var t;t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/,e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}e.exports=t,t.displayName="stan",t.aliases=[]},49168:function(e){"use strict";function t(e){var t,n,r;(r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},number:n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/}).interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}e.exports=t,t.displayName="stylus",t.aliases=[]},23651:function(e){"use strict";function t(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=e.languages.swift})}e.exports=t,t.displayName="swift",t.aliases=[]},21483:function(e){"use strict";function t(e){var t,n;t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source,e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|')+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}e.exports=t,t.displayName="systemd",t.aliases=[]},32268:function(e,t,n){"use strict";var r=n(2329),a=n(61958);function i(e){e.register(r),e.register(a),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}e.exports=i,i.displayName="t4Cs",i.aliases=[]},2329:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var r=e.languages[n],a="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",r,a),"class-feature":t("\\+",r,a),standard:t("",r,a)}}}}})}(e)}e.exports=t,t.displayName="t4Templating",t.aliases=[]},82996:function(e,t,n){"use strict";var r=n(2329),a=n(53813);function i(e){e.register(r),e.register(a),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}e.exports=i,i.displayName="t4Vb",i.aliases=[]},17290:function(e,t,n){"use strict";var r=n(65039);function a(e){e.register(r),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}e.exports=a,a.displayName="tap",a.aliases=[]},67989:function(e){"use strict";function t(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}e.exports=t,t.displayName="tcl",t.aliases=[]},31065:function(e){"use strict";function t(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function r(e,r){return RegExp(e.replace(//g,function(){return"(?:"+t+")"}).replace(//g,function(){return"(?:"+n+")"}),r||"")}var a={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},i=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:r(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:r(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:a},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:r(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:r(/(^[*#]+)+/.source),lookbehind:!0,inside:a},punctuation:/^[*#]+/}},table:{pattern:r(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:r(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:a},punctuation:/\||^\./}},inline:{pattern:r(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:r(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:r(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:r(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:r(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:r(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:r(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:r(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:r(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:a},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:r(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:r(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:r(/(^")+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:r(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:r(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:r(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),o=i.phrase.inside,s={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};i.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var l=o.inline.inside;l.bold.inside=s,l.italic.inside=s,l.inserted.inside=s,l.deleted.inside=s,l.span.inside=s;var c=o.table.inside;c.inline=s.inline,c.link=s.link,c.image=s.image,c.footnote=s.footnote,c.acronym=s.acronym,c.mark=s.mark}(e)}e.exports=t,t.displayName="textile",t.aliases=[]},85572:function(e){"use strict";function t(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,function(){return t})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}e.exports=t,t.displayName="toml",t.aliases=[]},27536:function(e){"use strict";function t(e){var t;e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/},t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source,e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}e.exports=t,t.displayName="tremor",t.aliases=[]},87041:function(e,t,n){"use strict";var r=n(96412),a=n(4979);function i(e){var t,n;e.register(r),e.register(a),t=e.util.clone(e.languages.typescript),e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],(n=e.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}e.exports=i,i.displayName="tsx",i.aliases=[]},61028:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")})}e.exports=a,a.displayName="tt2",a.aliases=[]},24691:function(e){"use strict";function t(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}e.exports=t,t.displayName="turtle",t.aliases=[]},19892:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",function(t){"twig"===t.language&&e.languages["markup-templating"].buildPlaceholders(t,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")})}e.exports=a,a.displayName="twig",a.aliases=[]},4979:function(e){"use strict";function t(e){var t;e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},23159:function(e){"use strict";function t(e){var t;t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/,e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}e.exports=t,t.displayName="typoscript",t.aliases=["tsconfig"]},34966:function(e){"use strict";function t(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}e.exports=t,t.displayName="unrealscript",t.aliases=["uc","uscript"]},44623:function(e){"use strict";function t(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}e.exports=t,t.displayName="uorazor",t.aliases=[]},38521:function(e){"use strict";function t(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source)+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}e.exports=t,t.displayName="uri",t.aliases=["url"]},7255:function(e){"use strict";function t(e){var t;t={pattern:/[\s\S]+/,inside:null},e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}e.exports=t,t.displayName="v",t.aliases=[]},28173:function(e){"use strict";function t(e){e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}e.exports=t,t.displayName="vala",t.aliases=[]},53813:function(e,t,n){"use strict";var r=n(46241);function a(e){e.register(r),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}e.exports=a,a.displayName="vbnet",a.aliases=[]},46891:function(e){"use strict";function t(e){var t;e.languages.velocity=e.languages.extend("markup",{}),(t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/}).variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}e.exports=t,t.displayName="velocity",t.aliases=[]},91824:function(e){"use strict";function t(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}e.exports=t,t.displayName="verilog",t.aliases=[]},9447:function(e){"use strict";function t(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="vhdl",t.aliases=[]},53062:function(e){"use strict";function t(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}e.exports=t,t.displayName="vim",t.aliases=[]},46215:function(e){"use strict";function t(e){e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}e.exports=t,t.displayName="visualBasic",t.aliases=[]},10784:function(e){"use strict";function t(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}e.exports=t,t.displayName="warpscript",t.aliases=[]},17684:function(e){"use strict";function t(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}e.exports=t,t.displayName="wasm",t.aliases=[]},64851:function(e){"use strict";function t(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,r={};for(var a in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:r}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==a&&(r[a]=e.languages["web-idl"][a]);e.languages.webidl=e.languages["web-idl"]}(e)}e.exports=t,t.displayName="webIdl",t.aliases=[]},18191:function(e){"use strict";function t(e){e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}e.exports=t,t.displayName="wiki",t.aliases=[]},75242:function(e){"use strict";function t(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}e.exports=t,t.displayName="wolfram",t.aliases=["mathematica","wl","nb"]},93639:function(e){"use strict";function t(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}e.exports=t,t.displayName="wren",t.aliases=[]},97202:function(e){"use strict";function t(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}e.exports=t,t.displayName="xeora",t.aliases=["xeoracube"]},13808:function(e){"use strict";function t(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",{pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}})}(e)}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},21301:function(e){"use strict";function t(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}e.exports=t,t.displayName="xojo",t.aliases=[]},20349:function(e){"use strict";function t(e){!function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(r){for(var a=[],i=0;i0&&a[a.length-1].tagName===t(o.content[0].content[1])&&a.pop():"/>"===o.content[o.content.length-1].content||a.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(a.length>0)||"punctuation"!==o.type||"{"!==o.content||r[i+1]&&"punctuation"===r[i+1].type&&"{"===r[i+1].content||r[i-1]&&"plain-text"===r[i-1].type&&"{"===r[i-1].content?a.length>0&&a[a.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?a[a.length-1].openedBraces--:"comment"!==o.type&&(s=!0):a[a.length-1].openedBraces++),(s||"string"==typeof o)&&a.length>0&&0===a[a.length-1].openedBraces){var l=t(o);i0&&("string"==typeof r[i-1]||"plain-text"===r[i-1].type)&&(l=t(r[i-1])+l,r.splice(i-1,1),i--),/^\s+$/.test(l)?r[i]=l:r[i]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&n(o.content)}};e.hooks.add("after-tokenize",function(e){"xquery"===e.language&&n(e.tokens)})}(e)}e.exports=t,t.displayName="xquery",t.aliases=[]},65039:function(e){"use strict";function t(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return"(?:"+a+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}e.exports=t,t.displayName="yaml",t.aliases=["yml"]},96319:function(e){"use strict";function t(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}e.exports=t,t.displayName="yang",t.aliases=[]},31501:function(e){"use strict";function t(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,r="\\b(?!"+n.source+")(?!\\d)\\w+\\b",a=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,i="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(a))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(r))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,t(i)).replace(//g,t(a))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(i)).replace(//g,t(a))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach(function(t){null===t.inside&&(t.inside=e.languages.zig)})}(e)}e.exports=t,t.displayName="zig",t.aliases=[]},59216:function(e,t,n){/** - * Prism: Lightweight, robust, elegant syntax highlighting - * - * @license MIT - * @author Lea Verou - * @namespace - * @public - */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));v+=S.value.length,S=S.next){var A,O=S.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(T,v,t,h))||A.index>=t.length)break;var k=A.index,I=A.index+A[0].length,C=v;for(C+=S.value.length;k>=C;)C+=(S=S.next).value.length;if(C-=S.value.length,v=C,S.value instanceof i)continue;for(var N=S;N!==n.tail&&(Cu.reach&&(u.reach=L);var D=S.prev;x&&(D=l(n,D,x),v+=x.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:p+","+f,reach:L};e(t,n,r,S.prev,v,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var p=document.readyState;"loading"===p||"interactive"===p&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l{let n=(t,n)=>(e.set(n,t),t),a=i=>{if(e.has(i))return e.get(i);let[o,s]=t[i];switch(o){case 0:case -1:return n(s,i);case 1:{let e=n([],i);for(let t of s)e.push(a(t));return e}case 2:{let e=n({},i);for(let[t,n]of s)e[a(t)]=a(n);return e}case 3:return n(new Date(s),i);case 4:{let{source:e,flags:t}=s;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of s)e.set(a(t),a(n));return e}case 6:{let e=n(new Set,i);for(let t of s)e.add(a(t));return e}case 7:{let{name:e,message:t}=s;return n(new r[e](t),i)}case 8:return n(BigInt(s),i);case"BigInt":return n(Object(BigInt(s)),i)}return n(new r[o](s),i)};return a},i=e=>a(new Map,e)(0),{toString:o}={},{keys:s}=Object,l=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=o.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},c=([e,t])=>0===e&&("function"===t||"symbol"===t),u=(e,t,n,r)=>{let a=(e,t)=>{let a=r.push(e)-1;return n.set(t,a),a},i=r=>{if(n.has(r))return n.get(r);let[o,u]=l(r);switch(o){case 0:{let t=r;switch(u){case"bigint":o=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+u);t=null;break;case"undefined":return a([-1],r)}return a([o,t],r)}case 1:{if(u)return a([u,[...r]],r);let e=[],t=a([o,e],r);for(let t of r)e.push(i(t));return t}case 2:{if(u)switch(u){case"BigInt":return a([u,r.toString()],r);case"Boolean":case"Number":case"String":return a([u,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());let n=[],p=a([o,n],r);for(let t of s(r))(e||!c(l(r[t])))&&n.push([i(t),i(r[t])]);return p}case 3:return a([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return a([o,{source:e,flags:t}],r)}case 5:{let t=[],n=a([o,t],r);for(let[n,a]of r)(e||!(c(l(n))||c(l(a))))&&t.push([i(n),i(a)]);return n}case 6:{let t=[],n=a([o,t],r);for(let n of r)(e||!c(l(n)))&&t.push(i(n));return n}}let{message:p}=r;return a([o,{name:u,message:p}],r)};return i},p=(e,{json:t,lossy:n}={})=>{let r=[];return u(!(t||n),!!t,new Map,r)(e),r};var d="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?i(p(e,t)):structuredClone(e):(e,t)=>i(p(e,t))},25668:function(e,t,n){"use strict";function r(e){let t=[],n=String(e||""),r=n.indexOf(","),a=0,i=!1;for(;!i;){-1===r&&(r=n.length,i=!0);let e=n.slice(a,r).trim();(e||!i)&&t.push(e),a=r+1,r=n.indexOf(",",a)}return t}function a(e,t){let n=t||{},r=""===e[e.length-1]?[...e,""]:e;return r.join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}n.d(t,{P:function(){return a},Q:function(){return r}})},24345:function(e,t,n){"use strict";function r(){}function a(){}n.d(t,{ok:function(){return r},t1:function(){return a}})},27962:function(e,t,n){"use strict";n.d(t,{B:function(){return a}});let r={};function a(e,t){let n=t||r,a="boolean"!=typeof n.includeImageAlt||n.includeImageAlt,o="boolean"!=typeof n.includeHtml||n.includeHtml;return i(e,a,o)}function i(e,t,n){if(e&&"object"==typeof e){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return o(e.children,t,n)}return Array.isArray(e)?o(e,t,n):""}function o(e,t,n){let r=[],a=-1;for(;++a-1&&e.test(String.fromCharCode(t))}}},21905:function(e,t,n){"use strict";function r(e,t,n,r){let a;let i=e.length,o=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)(a=Array.from(r)).unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);o0?(r(e,e.length,0,t),e):t}n.d(t,{V:function(){return a},d:function(){return r}})},62987:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});var r=n(15459);function a(e){return null===e||(0,r.z3)(e)||(0,r.B8)(e)?1:(0,r.Xh)(e)?2:void 0}},4663:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var r=n(21905);let a={}.hasOwnProperty;function i(e){let t={},n=-1;for(;++n"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),u=l({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function p(e,t){return t in e?e[t]:t}function d(e,t){return p(e,t.toLowerCase())}let f=l({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:d,properties:{xmlns:null,xmlnsXLink:null}});var g=n(47312);let m=l({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:g.booleanish,ariaAutoComplete:null,ariaBusy:g.booleanish,ariaChecked:g.booleanish,ariaColCount:g.number,ariaColIndex:g.number,ariaColSpan:g.number,ariaControls:g.spaceSeparated,ariaCurrent:null,ariaDescribedBy:g.spaceSeparated,ariaDetails:null,ariaDisabled:g.booleanish,ariaDropEffect:g.spaceSeparated,ariaErrorMessage:null,ariaExpanded:g.booleanish,ariaFlowTo:g.spaceSeparated,ariaGrabbed:g.booleanish,ariaHasPopup:null,ariaHidden:g.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:g.spaceSeparated,ariaLevel:g.number,ariaLive:null,ariaModal:g.booleanish,ariaMultiLine:g.booleanish,ariaMultiSelectable:g.booleanish,ariaOrientation:null,ariaOwns:g.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:g.number,ariaPressed:g.booleanish,ariaReadOnly:g.booleanish,ariaRelevant:null,ariaRequired:g.booleanish,ariaRoleDescription:g.spaceSeparated,ariaRowCount:g.number,ariaRowIndex:g.number,ariaRowSpan:g.number,ariaSelected:g.booleanish,ariaSetSize:g.number,ariaSort:null,ariaValueMax:g.number,ariaValueMin:g.number,ariaValueNow:g.number,ariaValueText:null,role:null}}),h=l({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:d,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:g.commaSeparated,acceptCharset:g.spaceSeparated,accessKey:g.spaceSeparated,action:null,allow:null,allowFullScreen:g.boolean,allowPaymentRequest:g.boolean,allowUserMedia:g.boolean,alt:null,as:null,async:g.boolean,autoCapitalize:null,autoComplete:g.spaceSeparated,autoFocus:g.boolean,autoPlay:g.boolean,blocking:g.spaceSeparated,capture:null,charSet:null,checked:g.boolean,cite:null,className:g.spaceSeparated,cols:g.number,colSpan:null,content:null,contentEditable:g.booleanish,controls:g.boolean,controlsList:g.spaceSeparated,coords:g.number|g.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:g.boolean,defer:g.boolean,dir:null,dirName:null,disabled:g.boolean,download:g.overloadedBoolean,draggable:g.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:g.boolean,formTarget:null,headers:g.spaceSeparated,height:g.number,hidden:g.boolean,high:g.number,href:null,hrefLang:null,htmlFor:g.spaceSeparated,httpEquiv:g.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:g.boolean,inputMode:null,integrity:null,is:null,isMap:g.boolean,itemId:null,itemProp:g.spaceSeparated,itemRef:g.spaceSeparated,itemScope:g.boolean,itemType:g.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:g.boolean,low:g.number,manifest:null,max:null,maxLength:g.number,media:null,method:null,min:null,minLength:g.number,multiple:g.boolean,muted:g.boolean,name:null,nonce:null,noModule:g.boolean,noValidate:g.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:g.boolean,optimum:g.number,pattern:null,ping:g.spaceSeparated,placeholder:null,playsInline:g.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:g.boolean,referrerPolicy:null,rel:g.spaceSeparated,required:g.boolean,reversed:g.boolean,rows:g.number,rowSpan:g.number,sandbox:g.spaceSeparated,scope:null,scoped:g.boolean,seamless:g.boolean,selected:g.boolean,shadowRootClonable:g.boolean,shadowRootDelegatesFocus:g.boolean,shadowRootMode:null,shape:null,size:g.number,sizes:null,slot:null,span:g.number,spellCheck:g.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:g.number,step:null,style:null,tabIndex:g.number,target:null,title:null,translate:null,type:null,typeMustMatch:g.boolean,useMap:null,value:g.booleanish,width:g.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:g.spaceSeparated,axis:null,background:null,bgColor:null,border:g.number,borderColor:null,bottomMargin:g.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:g.boolean,declare:g.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:g.number,leftMargin:g.number,link:null,longDesc:null,lowSrc:null,marginHeight:g.number,marginWidth:g.number,noResize:g.boolean,noHref:g.boolean,noShade:g.boolean,noWrap:g.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:g.number,rules:null,scheme:null,scrolling:g.booleanish,standby:null,summary:null,text:null,topMargin:g.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:g.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:g.boolean,disableRemotePlayback:g.boolean,prefix:null,property:null,results:g.number,security:null,unselectable:null}}),b=l({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:p,properties:{about:g.commaOrSpaceSeparated,accentHeight:g.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:g.number,amplitude:g.number,arabicForm:null,ascent:g.number,attributeName:null,attributeType:null,azimuth:g.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:g.number,by:null,calcMode:null,capHeight:g.number,className:g.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:g.number,diffuseConstant:g.number,direction:null,display:null,dur:null,divisor:g.number,dominantBaseline:null,download:g.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:g.number,enableBackground:null,end:null,event:null,exponent:g.number,externalResourcesRequired:null,fill:null,fillOpacity:g.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:g.commaSeparated,g2:g.commaSeparated,glyphName:g.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:g.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:g.number,horizOriginX:g.number,horizOriginY:g.number,id:null,ideographic:g.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:g.number,k:g.number,k1:g.number,k2:g.number,k3:g.number,k4:g.number,kernelMatrix:g.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:g.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:g.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:g.number,overlineThickness:g.number,paintOrder:null,panose1:null,path:null,pathLength:g.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:g.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:g.number,pointsAtY:g.number,pointsAtZ:g.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:g.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:g.commaOrSpaceSeparated,rev:g.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:g.commaOrSpaceSeparated,requiredFeatures:g.commaOrSpaceSeparated,requiredFonts:g.commaOrSpaceSeparated,requiredFormats:g.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:g.number,specularExponent:g.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:g.number,strikethroughThickness:g.number,string:null,stroke:null,strokeDashArray:g.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:g.number,strokeOpacity:g.number,strokeWidth:null,style:null,surfaceScale:g.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:g.commaOrSpaceSeparated,tabIndex:g.number,tableValues:null,target:null,targetX:g.number,targetY:g.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:g.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:g.number,underlineThickness:g.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:g.number,values:null,vAlphabetic:g.number,vMathematical:g.number,vectorEffect:null,vHanging:g.number,vIdeographic:g.number,version:null,vertAdvY:g.number,vertOriginX:g.number,vertOriginY:g.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:g.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),y=a([u,c,f,m,h],"html"),E=a([u,c,f,m,b],"svg")},26103:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(93859),a=n(75729),i=n(49255);let o=/^data[-\w.:]+$/i,s=/-[a-z]/g,l=/[A-Z]/g;function c(e,t){let n=(0,r.F)(t),c=t,d=i.k;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&o.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(s,p);c="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!s.test(e)){let n=e.replace(l,u);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}d=a.I}return new d(c,t)}function u(e){return"-"+e.toLowerCase()}function p(e){return e.charAt(1).toUpperCase()}},93859:function(e,t,n){"use strict";function r(e){return e.toLowerCase()}n.d(t,{F:function(){return r}})},75729:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var r=n(49255),a=n(47312);let i=Object.keys(a);class o extends r.k{constructor(e,t,n,r){var o,s;let l=-1;if(super(e,t),r&&(this.space=r),"number"==typeof n)for(;++l1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return W(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},W(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.svg?I.YP:I.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=m=m||(m={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,g.EOF;return this._err(m.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,g.EOF;let n=this.html.charCodeAt(t);return n===g.CARRIAGE_RETURN?g.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,g.EOF;let e=this.html.charCodeAt(this.pos);if(e===g.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,g.LINE_FEED;if(e===g.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===g.LINE_FEED||e===g.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(m.controlCharacterInInputStream):eo(e)&&this._err(m.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=h=h||(h={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=T=T||(T={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=S=S||(S={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[T.A,S.A],[T.ADDRESS,S.ADDRESS],[T.ANNOTATION_XML,S.ANNOTATION_XML],[T.APPLET,S.APPLET],[T.AREA,S.AREA],[T.ARTICLE,S.ARTICLE],[T.ASIDE,S.ASIDE],[T.B,S.B],[T.BASE,S.BASE],[T.BASEFONT,S.BASEFONT],[T.BGSOUND,S.BGSOUND],[T.BIG,S.BIG],[T.BLOCKQUOTE,S.BLOCKQUOTE],[T.BODY,S.BODY],[T.BR,S.BR],[T.BUTTON,S.BUTTON],[T.CAPTION,S.CAPTION],[T.CENTER,S.CENTER],[T.CODE,S.CODE],[T.COL,S.COL],[T.COLGROUP,S.COLGROUP],[T.DD,S.DD],[T.DESC,S.DESC],[T.DETAILS,S.DETAILS],[T.DIALOG,S.DIALOG],[T.DIR,S.DIR],[T.DIV,S.DIV],[T.DL,S.DL],[T.DT,S.DT],[T.EM,S.EM],[T.EMBED,S.EMBED],[T.FIELDSET,S.FIELDSET],[T.FIGCAPTION,S.FIGCAPTION],[T.FIGURE,S.FIGURE],[T.FONT,S.FONT],[T.FOOTER,S.FOOTER],[T.FOREIGN_OBJECT,S.FOREIGN_OBJECT],[T.FORM,S.FORM],[T.FRAME,S.FRAME],[T.FRAMESET,S.FRAMESET],[T.H1,S.H1],[T.H2,S.H2],[T.H3,S.H3],[T.H4,S.H4],[T.H5,S.H5],[T.H6,S.H6],[T.HEAD,S.HEAD],[T.HEADER,S.HEADER],[T.HGROUP,S.HGROUP],[T.HR,S.HR],[T.HTML,S.HTML],[T.I,S.I],[T.IMG,S.IMG],[T.IMAGE,S.IMAGE],[T.INPUT,S.INPUT],[T.IFRAME,S.IFRAME],[T.KEYGEN,S.KEYGEN],[T.LABEL,S.LABEL],[T.LI,S.LI],[T.LINK,S.LINK],[T.LISTING,S.LISTING],[T.MAIN,S.MAIN],[T.MALIGNMARK,S.MALIGNMARK],[T.MARQUEE,S.MARQUEE],[T.MATH,S.MATH],[T.MENU,S.MENU],[T.META,S.META],[T.MGLYPH,S.MGLYPH],[T.MI,S.MI],[T.MO,S.MO],[T.MN,S.MN],[T.MS,S.MS],[T.MTEXT,S.MTEXT],[T.NAV,S.NAV],[T.NOBR,S.NOBR],[T.NOFRAMES,S.NOFRAMES],[T.NOEMBED,S.NOEMBED],[T.NOSCRIPT,S.NOSCRIPT],[T.OBJECT,S.OBJECT],[T.OL,S.OL],[T.OPTGROUP,S.OPTGROUP],[T.OPTION,S.OPTION],[T.P,S.P],[T.PARAM,S.PARAM],[T.PLAINTEXT,S.PLAINTEXT],[T.PRE,S.PRE],[T.RB,S.RB],[T.RP,S.RP],[T.RT,S.RT],[T.RTC,S.RTC],[T.RUBY,S.RUBY],[T.S,S.S],[T.SCRIPT,S.SCRIPT],[T.SECTION,S.SECTION],[T.SELECT,S.SELECT],[T.SOURCE,S.SOURCE],[T.SMALL,S.SMALL],[T.SPAN,S.SPAN],[T.STRIKE,S.STRIKE],[T.STRONG,S.STRONG],[T.STYLE,S.STYLE],[T.SUB,S.SUB],[T.SUMMARY,S.SUMMARY],[T.SUP,S.SUP],[T.TABLE,S.TABLE],[T.TBODY,S.TBODY],[T.TEMPLATE,S.TEMPLATE],[T.TEXTAREA,S.TEXTAREA],[T.TFOOT,S.TFOOT],[T.TD,S.TD],[T.TH,S.TH],[T.THEAD,S.THEAD],[T.TITLE,S.TITLE],[T.TR,S.TR],[T.TRACK,S.TRACK],[T.TT,S.TT],[T.U,S.U],[T.UL,S.UL],[T.SVG,S.SVG],[T.VAR,S.VAR],[T.WBR,S.WBR],[T.XMP,S.XMP]]);function ep(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:S.UNKNOWN}let ed=S,ef={[b.HTML]:new Set([ed.ADDRESS,ed.APPLET,ed.AREA,ed.ARTICLE,ed.ASIDE,ed.BASE,ed.BASEFONT,ed.BGSOUND,ed.BLOCKQUOTE,ed.BODY,ed.BR,ed.BUTTON,ed.CAPTION,ed.CENTER,ed.COL,ed.COLGROUP,ed.DD,ed.DETAILS,ed.DIR,ed.DIV,ed.DL,ed.DT,ed.EMBED,ed.FIELDSET,ed.FIGCAPTION,ed.FIGURE,ed.FOOTER,ed.FORM,ed.FRAME,ed.FRAMESET,ed.H1,ed.H2,ed.H3,ed.H4,ed.H5,ed.H6,ed.HEAD,ed.HEADER,ed.HGROUP,ed.HR,ed.HTML,ed.IFRAME,ed.IMG,ed.INPUT,ed.LI,ed.LINK,ed.LISTING,ed.MAIN,ed.MARQUEE,ed.MENU,ed.META,ed.NAV,ed.NOEMBED,ed.NOFRAMES,ed.NOSCRIPT,ed.OBJECT,ed.OL,ed.P,ed.PARAM,ed.PLAINTEXT,ed.PRE,ed.SCRIPT,ed.SECTION,ed.SELECT,ed.SOURCE,ed.STYLE,ed.SUMMARY,ed.TABLE,ed.TBODY,ed.TD,ed.TEMPLATE,ed.TEXTAREA,ed.TFOOT,ed.TH,ed.THEAD,ed.TITLE,ed.TR,ed.TRACK,ed.UL,ed.WBR,ed.XMP]),[b.MATHML]:new Set([ed.MI,ed.MO,ed.MN,ed.MS,ed.MTEXT,ed.ANNOTATION_XML]),[b.SVG]:new Set([ed.TITLE,ed.FOREIGN_OBJECT,ed.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eg(e){return e===ed.H1||e===ed.H2||e===ed.H3||e===ed.H4||e===ed.H5||e===ed.H6}T.STYLE,T.SCRIPT,T.XMP,T.IFRAME,T.NOEMBED,T.NOFRAMES,T.PLAINTEXT;let em=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(p=v||(v={}))[p.DATA=0]="DATA",p[p.RCDATA=1]="RCDATA",p[p.RAWTEXT=2]="RAWTEXT",p[p.SCRIPT_DATA=3]="SCRIPT_DATA",p[p.PLAINTEXT=4]="PLAINTEXT",p[p.TAG_OPEN=5]="TAG_OPEN",p[p.END_TAG_OPEN=6]="END_TAG_OPEN",p[p.TAG_NAME=7]="TAG_NAME",p[p.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",p[p.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",p[p.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",p[p.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",p[p.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",p[p.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",p[p.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",p[p.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",p[p.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",p[p.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",p[p.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",p[p.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",p[p.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",p[p.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",p[p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",p[p.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",p[p.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",p[p.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",p[p.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",p[p.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",p[p.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",p[p.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",p[p.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",p[p.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",p[p.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",p[p.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",p[p.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",p[p.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",p[p.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",p[p.BOGUS_COMMENT=40]="BOGUS_COMMENT",p[p.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",p[p.COMMENT_START=42]="COMMENT_START",p[p.COMMENT_START_DASH=43]="COMMENT_START_DASH",p[p.COMMENT=44]="COMMENT",p[p.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",p[p.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",p[p.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",p[p.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",p[p.COMMENT_END_DASH=49]="COMMENT_END_DASH",p[p.COMMENT_END=50]="COMMENT_END",p[p.COMMENT_END_BANG=51]="COMMENT_END_BANG",p[p.DOCTYPE=52]="DOCTYPE",p[p.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",p[p.DOCTYPE_NAME=54]="DOCTYPE_NAME",p[p.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",p[p.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",p[p.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",p[p.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",p[p.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",p[p.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",p[p.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",p[p.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",p[p.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",p[p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",p[p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",p[p.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",p[p.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",p[p.CDATA_SECTION=68]="CDATA_SECTION",p[p.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",p[p.CDATA_SECTION_END=70]="CDATA_SECTION_END",p[p.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",p[p.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",p[p.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",p[p.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",p[p.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",p[p.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",p[p.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",p[p.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let eh={DATA:v.DATA,RCDATA:v.RCDATA,RAWTEXT:v.RAWTEXT,SCRIPT_DATA:v.SCRIPT_DATA,PLAINTEXT:v.PLAINTEXT,CDATA_SECTION:v.CDATA_SECTION};function eb(e){return e>=g.DIGIT_0&&e<=g.DIGIT_9}function ey(e){return e>=g.LATIN_CAPITAL_A&&e<=g.LATIN_CAPITAL_Z}function eE(e){return e>=g.LATIN_SMALL_A&&e<=g.LATIN_SMALL_Z||ey(e)}function eT(e){return eE(e)||eb(e)}function eS(e){return e>=g.LATIN_CAPITAL_A&&e<=g.LATIN_CAPITAL_F}function ev(e){return e>=g.LATIN_SMALL_A&&e<=g.LATIN_SMALL_F}function eA(e){return e===g.SPACE||e===g.LINE_FEED||e===g.TABULATION||e===g.FORM_FEED}function eO(e){return eA(e)||e===g.SOLIDUS||e===g.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=v.DATA,this.returnState=v.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(m.endTagWithAttributes),e.selfClosing&&this._err(m.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case h.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case h.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case h.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:h.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eA(e)?h.WHITESPACE_CHARACTER:e===g.NULL?h.NULL_CHARACTER:h.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(h.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==g.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===g.EQUALS_SIGN||eT(a))?(t=[g.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==g.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(m.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===v.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===v.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===v.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case v.DATA:this._stateData(e);break;case v.RCDATA:this._stateRcdata(e);break;case v.RAWTEXT:this._stateRawtext(e);break;case v.SCRIPT_DATA:this._stateScriptData(e);break;case v.PLAINTEXT:this._statePlaintext(e);break;case v.TAG_OPEN:this._stateTagOpen(e);break;case v.END_TAG_OPEN:this._stateEndTagOpen(e);break;case v.TAG_NAME:this._stateTagName(e);break;case v.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case v.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case v.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case v.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case v.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case v.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case v.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case v.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case v.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case v.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case v.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case v.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case v.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case v.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case v.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case v.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case v.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case v.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case v.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case v.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case v.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case v.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case v.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case v.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case v.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case v.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case v.BOGUS_COMMENT:this._stateBogusComment(e);break;case v.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case v.COMMENT_START:this._stateCommentStart(e);break;case v.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case v.COMMENT:this._stateComment(e);break;case v.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case v.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case v.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case v.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case v.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case v.COMMENT_END:this._stateCommentEnd(e);break;case v.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case v.DOCTYPE:this._stateDoctype(e);break;case v.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case v.DOCTYPE_NAME:this._stateDoctypeName(e);break;case v.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case v.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case v.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case v.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case v.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case v.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case v.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case v.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case v.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case v.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case v.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case v.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case v.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case v.CDATA_SECTION:this._stateCdataSection(e);break;case v.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case v.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case v.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case v.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case v.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case v.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case v.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case v.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case v.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case v.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case g.LESS_THAN_SIGN:this.state=v.TAG_OPEN;break;case g.AMPERSAND:this.returnState=v.DATA,this.state=v.CHARACTER_REFERENCE;break;case g.NULL:this._err(m.unexpectedNullCharacter),this._emitCodePoint(e);break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case g.AMPERSAND:this.returnState=v.RCDATA,this.state=v.CHARACTER_REFERENCE;break;case g.LESS_THAN_SIGN:this.state=v.RCDATA_LESS_THAN_SIGN;break;case g.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case g.LESS_THAN_SIGN:this.state=v.RAWTEXT_LESS_THAN_SIGN;break;case g.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case g.LESS_THAN_SIGN:this.state=v.SCRIPT_DATA_LESS_THAN_SIGN;break;case g.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case g.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=v.TAG_NAME,this._stateTagName(e);else switch(e){case g.EXCLAMATION_MARK:this.state=v.MARKUP_DECLARATION_OPEN;break;case g.SOLIDUS:this.state=v.END_TAG_OPEN;break;case g.QUESTION_MARK:this._err(m.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=v.BOGUS_COMMENT,this._stateBogusComment(e);break;case g.EOF:this._err(m.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(m.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=v.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=v.TAG_NAME,this._stateTagName(e);else switch(e){case g.GREATER_THAN_SIGN:this._err(m.missingEndTagName),this.state=v.DATA;break;case g.EOF:this._err(m.eofBeforeTagName),this._emitChars("");break;case g.NULL:this._err(m.unexpectedNullCharacter),this.state=v.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case g.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=v.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===g.SOLIDUS?this.state=v.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=v.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=v.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=v.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case g.NULL:this._err(m.unexpectedNullCharacter),this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case g.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===g.SOLIDUS?(this.state=v.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(m.characterReferenceOutsideUnicodeRange),this.charRefCode=g.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(m.surrogateCharacterReference),this.charRefCode=g.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(m.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===g.CARRIAGE_RETURN){this._err(m.controlCharacterReference);let e=em.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([S.DD,S.DT,S.LI,S.OPTGROUP,S.OPTION,S.P,S.RB,S.RP,S.RT,S.RTC]),eI=new Set([...ek,S.CAPTION,S.COLGROUP,S.TBODY,S.TD,S.TFOOT,S.TH,S.THEAD,S.TR]),eC=new Map([[S.APPLET,b.HTML],[S.CAPTION,b.HTML],[S.HTML,b.HTML],[S.MARQUEE,b.HTML],[S.OBJECT,b.HTML],[S.TABLE,b.HTML],[S.TD,b.HTML],[S.TEMPLATE,b.HTML],[S.TH,b.HTML],[S.ANNOTATION_XML,b.MATHML],[S.MI,b.MATHML],[S.MN,b.MATHML],[S.MO,b.MATHML],[S.MS,b.MATHML],[S.MTEXT,b.MATHML],[S.DESC,b.SVG],[S.FOREIGN_OBJECT,b.SVG],[S.TITLE,b.SVG]]),eN=[S.H1,S.H2,S.H3,S.H4,S.H5,S.H6],ew=[S.TR,S.TEMPLATE,S.HTML],ex=[S.TBODY,S.TFOOT,S.THEAD,S.TEMPLATE,S.HTML],eR=[S.TABLE,S.TEMPLATE,S.HTML],eL=[S.TD,S.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=S.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===S.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(ex,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(ew,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===S.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===S.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eC.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eg(t)&&n===b.HTML)break;if(eC.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===S.UL||n===S.OL)&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===S.BUTTON&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===S.TABLE||n===S.TEMPLATE||n===S.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===S.TBODY||t===S.THEAD||t===S.TFOOT)break;if(t===S.TABLE||t===S.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==S.OPTION&&n!==S.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;eI.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&eI.has(this.currentTagId);)this.pop()}}(d=A=A||(A={}))[d.Marker=0]="Marker",d[d.Element=1]="Element";let eP={type:A.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eH=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eG=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),ez=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],e$=[...ez,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eW(e,t){return t.some(t=>e.startsWith(t))}let eZ={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eY=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eV=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([S.B,S.BIG,S.BLOCKQUOTE,S.BODY,S.BR,S.CENTER,S.CODE,S.DD,S.DIV,S.DL,S.DT,S.EM,S.EMBED,S.H1,S.H2,S.H3,S.H4,S.H5,S.H6,S.HEAD,S.HR,S.I,S.IMG,S.LI,S.LISTING,S.MENU,S.META,S.NOBR,S.OL,S.P,S.PRE,S.RUBY,S.S,S.SMALL,S.SPAN,S.STRONG,S.STRIKE,S.SUB,S.SUP,S.TABLE,S.TT,S.U,S.UL,S.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=eh.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===T.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case S.TITLE:case S.TEXTAREA:this.tokenizer.state=eh.RCDATA;break;case S.STYLE:case S.XMP:case S.IFRAME:case S.NOEMBED:case S.NOFRAMES:case S.NOSCRIPT:this.tokenizer.state=eh.RAWTEXT;break;case S.SCRIPT:this.tokenizer.state=eh.SCRIPT_DATA;break;case S.PLAINTEXT:this.tokenizer.state=eh.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(T.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,S.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===h.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==S.SVG||this.treeAdapter.getTagName(t)!==T.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===S.MGLYPH||e.tagID===S.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case h.CHARACTER:this.onCharacter(e);break;case h.NULL_CHARACTER:this.onNullCharacter(e);break;case h.COMMENT:this.onComment(e);break;case h.DOCTYPE:this.onDoctype(e);break;case h.START_TAG:this._processStartTag(e);break;case h.END_TAG:this.onEndTag(e);break;case h.EOF:this.onEof(e);break;case h.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===S.ANNOTATION_XML){for(let e=0;ee.type===A.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(S.P),this.openElements.popUntilTagNamePopped(S.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case S.TR:this.insertionMode=O.IN_ROW;return;case S.TBODY:case S.THEAD:case S.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case S.CAPTION:this.insertionMode=O.IN_CAPTION;return;case S.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case S.TABLE:this.insertionMode=O.IN_TABLE;return;case S.BODY:this.insertionMode=O.IN_BODY;return;case S.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case S.SELECT:this._resetInsertionModeForSelect(e);return;case S.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case S.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case S.TD:case S.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case S.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===S.TEMPLATE)break;if(e===S.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case S.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case S.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:th(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:th(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e5(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e5(this,e);break;case O.IN_TABLE_TEXT:tv(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eG.has(n))return E.QUIRKS;let e=null===t?eH:eU;if(eW(n,e))return E.QUIRKS;if(eW(n,e=null===t?ez:e$))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,m.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,m.misplacedDoctype);break;case O.IN_TABLE_TEXT:tv(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,m.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===S.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ep(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e.tagID===S.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e8(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.BASEFONT:case S.BGSOUND:case S.HEAD:case S.LINK:case S.META:case S.NOFRAMES:case S.STYLE:te(e,t);break;case S.NOSCRIPT:e._err(t,m.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case S.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case S.BASE:case S.BASEFONT:case S.BGSOUND:case S.LINK:case S.META:case S.NOFRAMES:case S.SCRIPT:case S.STYLE:case S.TEMPLATE:case S.TITLE:e._err(t,m.abandonedHeadElementChild),e.openElements.push(e.headElement,S.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case S.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:td(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tv(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(S.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(S.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):td(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tC(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(S.TD)||e.openElements.hasInTableScope(S.TH))&&(e._closeTableCell(),tC(e,t)):td(e,t)}(this,e);break;case O.IN_SELECT:tw(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===S.CAPTION||n===S.TABLE||n===S.TBODY||n===S.TFOOT||n===S.THEAD||n===S.TR||n===S.TD||n===S.TH?(e.openElements.popUntilTagNamePopped(S.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tw(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case S.BASE:case S.BASEFONT:case S.BGSOUND:case S.LINK:case S.META:case S.NOFRAMES:case S.SCRIPT:case S.STYLE:case S.TEMPLATE:case S.TITLE:te(e,t);break;case S.CAPTION:case S.COLGROUP:case S.TBODY:case S.TFOOT:case S.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case S.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case S.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case S.TD:case S.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,td(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===S.HTML?td(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.FRAMESET:e._insertElement(t,b.HTML);break;case S.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case S.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===S.HTML?td(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===S.P||t.tagID===S.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===S.HTML||n===S.HEAD||n===S.BODY||n===S.BR)&&e8(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===S.HEAD||n===S.BODY||n===S.HTML||n===S.BR?e7(e,t):e._err(t,m.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case S.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case S.BODY:case S.BR:case S.HTML:tn(e,t);break;case S.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case S.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case S.BR:tr(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case S.BODY:case S.HTML:case S.BR:ta(e,t);break;case S.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:tg(this,e);break;case O.TEXT:e.tagID===S.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tv(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case S.CAPTION:case S.TABLE:e.openElements.hasInTableScope(S.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(S.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===S.TABLE&&ty(e,t));break;case S.BODY:case S.COL:case S.COLGROUP:case S.HTML:case S.TBODY:case S.TD:case S.TFOOT:case S.TH:case S.THEAD:case S.TR:break;default:tg(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case S.COLGROUP:e.openElements.currentTagId===S.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case S.TEMPLATE:tt(e,t);break;case S.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tI(this,e);break;case O.IN_ROW:tN(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case S.TD:case S.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case S.TABLE:case S.TBODY:case S.TFOOT:case S.THEAD:case S.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tN(e,t));break;case S.BODY:case S.CAPTION:case S.COL:case S.COLGROUP:case S.HTML:break;default:tg(e,t)}}(this,e);break;case O.IN_SELECT:tx(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===S.CAPTION||n===S.TABLE||n===S.TBODY||n===S.TFOOT||n===S.THEAD||n===S.TR||n===S.TD||n===S.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(S.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tx(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===S.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==S.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===S.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===S.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tm(this,e);break;case O.TEXT:this._err(e,m.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tv(this,e);break;case O.IN_TEMPLATE:tR(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===g.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:th(this,e);break;case O.IN_TABLE_TEXT:tT(this,e)}}}function e4(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ep(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===S.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e5(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,m.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(T.HEAD,S.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.BASE:case S.BASEFONT:case S.BGSOUND:case S.LINK:case S.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case S.TITLE:e._switchToTextParsing(t,eh.RCDATA);break;case S.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eh.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case S.NOFRAMES:case S.STYLE:e._switchToTextParsing(t,eh.RAWTEXT);break;case S.SCRIPT:e._switchToTextParsing(t,eh.SCRIPT_DATA);break;case S.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case S.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==S.TEMPLATE&&e._err(t,m.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(S.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,m.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===h.EOF?m.openElementsLeftAfterEof:m.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(T.BODY,S.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case h.CHARACTER:ts(e,t);break;case h.WHITESPACE_CHARACTER:to(e,t);break;case h.COMMENT:e5(e,t);break;case h.START_TAG:td(e,t);break;case h.END_TAG:tg(e,t);break;case h.EOF:tm(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,eh.RAWTEXT)}function tp(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function td(e,t){switch(t.tagID){case S.I:case S.S:case S.B:case S.U:case S.EM:case S.TT:case S.BIG:case S.CODE:case S.FONT:case S.SMALL:case S.STRIKE:case S.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case S.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(T.A);n&&(e4(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case S.H1:case S.H2:case S.H3:case S.H4:case S.H5:case S.H6:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),eg(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case S.P:case S.DL:case S.OL:case S.UL:case S.DIV:case S.DIR:case S.NAV:case S.MAIN:case S.MENU:case S.ASIDE:case S.CENTER:case S.FIGURE:case S.FOOTER:case S.HEADER:case S.HGROUP:case S.DIALOG:case S.DETAILS:case S.ADDRESS:case S.ARTICLE:case S.SECTION:case S.SUMMARY:case S.FIELDSET:case S.BLOCKQUOTE:case S.FIGCAPTION:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case S.LI:case S.DD:case S.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===S.LI&&r===S.LI||(n===S.DD||n===S.DT)&&(r===S.DD||r===S.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==S.ADDRESS&&r!==S.DIV&&r!==S.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case S.BR:case S.IMG:case S.WBR:case S.AREA:case S.EMBED:case S.KEYGEN:tl(e,t);break;case S.HR:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case S.RB:case S.RTC:e.openElements.hasInScope(S.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case S.RT:case S.RP:e.openElements.hasInScope(S.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(S.RTC),e._insertElement(t,b.HTML);break;case S.PRE:case S.LISTING:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case S.XMP:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eh.RAWTEXT);break;case S.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case S.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case S.BASE:case S.LINK:case S.META:case S.STYLE:case S.TITLE:case S.SCRIPT:case S.BGSOUND:case S.BASEFONT:case S.TEMPLATE:te(e,t);break;case S.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case S.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case S.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(S.NOBR)&&(e4(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case S.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case S.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case S.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case S.PARAM:case S.TRACK:case S.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case S.IMAGE:t.tagName=T.IMG,t.tagID=S.IMG,tl(e,t);break;case S.BUTTON:e.openElements.hasInScope(S.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(S.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case S.APPLET:case S.OBJECT:case S.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case S.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eh.RAWTEXT);break;case S.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case S.OPTION:case S.OPTGROUP:e.openElements.currentTagId===S.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case S.NOEMBED:tu(e,t);break;case S.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET)}(e,t);break;case S.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eh.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case S.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):tp(e,t);break;case S.PLAINTEXT:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=eh.PLAINTEXT;break;case S.COL:case S.TH:case S.TD:case S.TR:case S.HEAD:case S.FRAME:case S.TBODY:case S.TFOOT:case S.THEAD:case S.CAPTION:case S.COLGROUP:break;default:tp(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==S.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function tg(e,t){switch(t.tagID){case S.A:case S.B:case S.I:case S.S:case S.U:case S.EM:case S.TT:case S.BIG:case S.CODE:case S.FONT:case S.NOBR:case S.SMALL:case S.STRIKE:case S.STRONG:e4(e,t);break;case S.P:e.openElements.hasInButtonScope(S.P)||e._insertFakeElement(T.P,S.P),e._closePElement();break;case S.DL:case S.UL:case S.OL:case S.DIR:case S.DIV:case S.NAV:case S.PRE:case S.MAIN:case S.MENU:case S.ASIDE:case S.BUTTON:case S.CENTER:case S.FIGURE:case S.FOOTER:case S.HEADER:case S.HGROUP:case S.DIALOG:case S.ADDRESS:case S.ARTICLE:case S.DETAILS:case S.SECTION:case S.SUMMARY:case S.LISTING:case S.FIELDSET:case S.BLOCKQUOTE:case S.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case S.LI:e.openElements.hasInListItemScope(S.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(S.LI),e.openElements.popUntilTagNamePopped(S.LI));break;case S.DD:case S.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case S.H1:case S.H2:case S.H3:case S.H4:case S.H5:case S.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case S.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(T.BR,S.BR),e.openElements.pop(),e.framesetOk=!1;break;case S.BODY:!function(e,t){if(e.openElements.hasInScope(S.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case S.HTML:e.openElements.hasInScope(S.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case S.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(S.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(S.FORM):n&&e.openElements.remove(n))}(e);break;case S.APPLET:case S.OBJECT:case S.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case S.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tm(e,t){e.tmplInsertionModeStack.length>0?tR(e,t):e6(e,t)}function th(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case h.CHARACTER:tS(e,t);break;case h.WHITESPACE_CHARACTER:tT(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case S.TD:case S.TH:case S.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(T.TBODY,S.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case S.STYLE:case S.SCRIPT:case S.TEMPLATE:te(e,t);break;case S.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(T.COLGROUP,S.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case S.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case S.TABLE:e.openElements.hasInTableScope(S.TABLE)&&(e.openElements.popUntilTagNamePopped(S.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case S.TBODY:case S.TFOOT:case S.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case S.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case S.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case S.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case S.TABLE:e.openElements.hasInTableScope(S.TABLE)&&(e.openElements.popUntilTagNamePopped(S.TABLE),e._resetInsertionMode());break;case S.TEMPLATE:tt(e,t);break;case S.BODY:case S.CAPTION:case S.COL:case S.COLGROUP:case S.HTML:case S.TBODY:case S.TD:case S.TFOOT:case S.TH:case S.THEAD:case S.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tT(e,t){e.pendingCharacterTokens.push(t)}function tS(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tv(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===S.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===S.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===S.OPTGROUP&&e.openElements.pop();break;case S.OPTION:e.openElements.currentTagId===S.OPTION&&e.openElements.pop();break;case S.SELECT:e.openElements.hasInSelectScope(S.SELECT)&&(e.openElements.popUntilTagNamePopped(S.SELECT),e._resetInsertionMode());break;case S.TEMPLATE:tt(e,t)}}function tR(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(S.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===S.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===S.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),T.AREA,T.BASE,T.BASEFONT,T.BGSOUND,T.BR,T.COL,T.EMBED,T.FRAME,T.HR,T.IMG,T.INPUT,T.KEYGEN,T.LINK,T.META,T.PARAM,T.SOURCE,T.TRACK,T.WBR;var tF=n(3980),tB=n(21623);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tH(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:tz,element:t$,text:tW,comment:tY,doctype:tZ,raw:tV},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return z({file:n.file||void 0,location:!1,schema:"svg"===n.space?I.YP:I.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tG(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:h.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tZ(e,t){let n={type:h.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tY(e,t){let n=e.value,r={type:h.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tV(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tH({type:"root",children:e.children},t.options);n.children=r.children}tY({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eh.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tH(t,{...e,file:n});return r}}},55186:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eX}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function p(e){this.config.enter.autolinkProtocol.call(this,e)}function d(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function g(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function h(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&p.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?p.push(...i):i&&p.push(i),s=n+d[0].length,u=!0),!r.global)break;d=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var T=n(11098);function S(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function v(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,T.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function I(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,T.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function N(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),x)),o(),i}function x(e,t,n){return 0===t?e:(n?"":" ")+e}N.peek=function(){return"["};let R=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function V(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let p=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===p?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(p+"]"),l}function q(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function X(e,t,n,r){let a,i;let o=G(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(K(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function Q(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let p=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===p?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(p+"]"),l}function J(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function ee(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}Z.peek=function(){return"<"},Y.peek=function(){return"!"},V.peek=function(){return"!"},q.peek=function(){return"`"},X.peek=function(e,t,n){return K(e,n)?"<":"["},Q.peek=function(){return"["};let et=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function en(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}en.peek=function(e,t,n){return n.options.strong||"*"};let er={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max(function(e,t){let n=String(e),r=n.indexOf(t),a=r,i=0,o=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==r;)r===a?++i>o&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=G(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,$.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let p=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(p)&&(p="&#x"+p.charCodeAt(0).toString(16).toUpperCase()+";"+p.slice(1)),p=p?l+" "+p:l,n.options.closeAtx&&(p+=" "+l),u(),c(),p},html:Z,image:Y,imageReference:V,inlineCode:q,link:X,linkReference:Q,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):J(n),s=e.ordered?"."===o?")":".":function(e){let t=J(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),ee(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return et(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:en,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(ee(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ea(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function ei(e){this.exit(e),this.data.inTable=void 0}function eo(e){this.enter({type:"tableRow",children:[]},e)}function es(e){this.exit(e)}function el(e){this.enter({type:"tableCell",children:[]},e)}function ec(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,eu));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function eu(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ed(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eA[43]=ev,eA[45]=ev,eA[46]=ev,eA[95]=ev,eA[72]=[ev,eS],eA[104]=[ev,eS],eA[87]=[ev,eT],eA[119]=[ev,eT];var ew=n(23402),ex=n(42761);let eR={tokenize:function(e,t,n){let r=this;return(0,ex.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eL(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,T.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eD(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eP(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,T.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eM(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,T.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?p:u}function p(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,ex.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eF(e,t,n){return e.check(ew.w,t,e.attempt(eR,t,n))}function eB(e){e.exit("gfmFootnoteDefinition")}var ej=n(21905),eU=n(62987),eH=n(63233);class eG{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):(0,i.xz)(t)?(0,ex.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?p:u)}function p(t){return 92===t||124===t?(e.consume(t),u):u(t)}function d(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,ex.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),g):n(t)}function g(t){return(0,i.xz)(t)?(0,ex.f)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),h):45===t?(s+=1,h(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function h(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,ex.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),T(t)}function T(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),T):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,ex.f)(e,T,"whitespace")(n):(e.enter("data"),S(n))}function S(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),T(t)):(e.consume(t),92===t?v:S)}function v(t){return 92===t||124===t?(e.consume(t),S):S(t)}}function e$(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,p=0,d=new eG;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eZ(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eV={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eq},t,n)(r):n(r)}}};function eq(e,t,n){return(0,ex.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eK={};function eX(e){let t=e||eK,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,eg.W)([{text:eA},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eM,continuation:{tokenize:eF},exit:eB}},text:{91:{name:"gfmFootnoteCall",tokenize:eP},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eL,resolveTo:eD}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eU.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eU.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ps[p])&&(s[p]=e)}n.push(i)}i[c]=n,o[c]=a}let p=-1;if("object"==typeof n&&"length"in n)for(;++ps[p]&&(s[p]=i),f[p]=i),d[p]=o}i.splice(1,0,d),o.splice(1,0,f),c=-1;let g=[];for(;++c0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function o(e){let t=a(e),n=r(e);if(t&&n)return{start:t,end:n}}},88718:function(e,t,n){"use strict";n.d(t,{BK:function(){return i},S4:function(){return o}});var r=n(96093);let a=[],i=!1;function o(e,t,n,o){let s;"function"==typeof t&&"function"!=typeof n?(o=n,n=t):s=t;let l=(0,r.O)(s),c=o?-1:1;(function e(r,s,u){let p=r&&"object"==typeof r?r:{};if("string"==typeof p.type){let e="string"==typeof p.tagName?p.tagName:"string"==typeof p.name?p.name:void 0;Object.defineProperty(d,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return d;function d(){var p;let d,f,g,m=a;if((!t||l(r,s,u[u.length-1]||void 0))&&(m=Array.isArray(p=n(r,u))?p:"number"==typeof p?[!0,p]:null==p?a:[p])[0]===i)return m;if("children"in r&&r.children&&r.children&&"skip"!==m[0])for(f=(o?r.children.length:-1)+c,g=u.concat(r);f>-1&&f","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7562.0c3e34e7b58c3f9a.js b/dbgpt/app/static/web/_next/static/chunks/7562.7531fed5013322d2.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/7562.0c3e34e7b58c3f9a.js rename to dbgpt/app/static/web/_next/static/chunks/7562.7531fed5013322d2.js index ab4eec6b4..09d93b0c4 100644 --- a/dbgpt/app/static/web/_next/static/chunks/7562.0c3e34e7b58c3f9a.js +++ b/dbgpt/app/static/web/_next/static/chunks/7562.7531fed5013322d2.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7562],{37562:function(e,n,s){s.r(n),s.d(n,{conf:function(){return t},language:function(){return o}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var t={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"#",blockComment:["<#","#>"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*#region\\b"),end:RegExp("^\\s*#endregion\\b")}}},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".ps1",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["begin","break","catch","class","continue","data","define","do","dynamicparam","else","elseif","end","exit","filter","finally","for","foreach","from","function","if","in","param","process","return","switch","throw","trap","try","until","using","var","while","workflow","parallel","sequence","inlinescript","configuration"],helpKeywords:/SYNOPSIS|DESCRIPTION|PARAMETER|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|ROLE|FUNCTIONALITY|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP/,symbols:/[=>/,"comment","@pop"],[/(\.)(@helpKeywords)(?!\w)/,{token:"comment.keyword.$2"}],[/[\.#]/,"comment"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7637.9fcc51a2b3cd72d4.js b/dbgpt/app/static/web/_next/static/chunks/7637.909a103938bb7903.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/7637.9fcc51a2b3cd72d4.js rename to dbgpt/app/static/web/_next/static/chunks/7637.909a103938bb7903.js index 48c70f217..51a788c9d 100644 --- a/dbgpt/app/static/web/_next/static/chunks/7637.9fcc51a2b3cd72d4.js +++ b/dbgpt/app/static/web/_next/static/chunks/7637.909a103938bb7903.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7637],{57637:function(e,t,n){n.r(t),n.d(t,{conf:function(){return o},language:function(){return s}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var o={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},s={tokenPostfix:".tcl",specialFunctions:["set","unset","rename","variable","proc","coroutine","foreach","incr","append","lappend","linsert","lreplace"],mainFunctions:["if","then","elseif","else","case","switch","while","for","break","continue","return","package","namespace","catch","exit","eval","expr","uplevel","upvar"],builtinFunctions:["file","info","concat","join","lindex","list","llength","lrange","lsearch","lsort","split","array","parray","binary","format","regexp","regsub","scan","string","subst","dict","cd","clock","exec","glob","pid","pwd","close","eof","fblocked","fconfigure","fcopy","fileevent","flush","gets","open","puts","read","seek","socket","tell","interp","after","auto_execok","auto_load","auto_mkindex","auto_reset","bgerror","error","global","history","load","source","time","trace","unknown","unset","update","vwait","winfo","wm","bind","event","pack","place","grid","font","bell","clipboard","destroy","focus","grab","lower","option","raise","selection","send","tk","tkwait","tk_bisque","tk_focusNext","tk_focusPrev","tk_focusFollowsMouse","tk_popup","tk_setPalette"],symbols:/[=>{let o=n[t];void 0!==o&&(e[t]=o)})}return e}},78045:function(e,t,n){n.d(t,{ZP:function(){return M}});var o=n(67294),r=n(93967),a=n.n(r),i=n(21770),d=n(64217),l=n(53124),c=n(35792),s=n(98675);let u=o.createContext(null),p=u.Provider,f=o.createContext(null),h=f.Provider;var v=n(50132),g=n(42550),y=n(45353),b=n(17415),k=n(98866),m=n(65223),Z=n(25446),x=n(14747),E=n(83559),N=n(83262);let K=e=>{let{componentCls:t,antCls:n}=e,o=`${t}-group`;return{[o]:Object.assign(Object.assign({},(0,x.Wf)(e)),{display:"inline-block",fontSize:0,[`&${o}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},C=e=>{let{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:o,radioSize:r,motionDurationSlow:a,motionDurationMid:i,motionEaseInOutCirc:d,colorBgContainer:l,colorBorder:c,lineWidth:s,colorBgContainerDisabled:u,colorTextDisabled:p,paddingXS:f,dotColorDisabled:h,lineType:v,radioColor:g,radioBgColor:y,calc:b}=e,k=`${t}-inner`,m=b(r).sub(b(4).mul(2)),E=b(1).mul(r).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,x.Wf)(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,Z.bf)(s)} ${v} ${o}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},(0,x.Wf)(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, + &:hover ${k}`]:{borderColor:o},[`${t}-input:focus-visible + ${k}`]:Object.assign({},(0,x.oN)(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:E,height:E,marginBlockStart:b(1).mul(r).div(-2).equal({unit:!0}),marginInlineStart:b(1).mul(r).div(-2).equal({unit:!0}),backgroundColor:g,borderBlockStart:0,borderInlineStart:0,borderRadius:E,transform:"scale(0)",opacity:0,transition:`all ${a} ${d}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:E,height:E,backgroundColor:l,borderColor:c,borderStyle:"solid",borderWidth:s,borderRadius:"50%",transition:`all ${i}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[k]:{borderColor:o,backgroundColor:y,"&::after":{transform:`scale(${e.calc(e.dotSize).div(r).equal()})`,opacity:1,transition:`all ${a} ${d}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[k]:{backgroundColor:u,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:h}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:p,cursor:"not-allowed"},[`&${t}-checked`]:{[k]:{"&::after":{transform:`scale(${b(m).div(r).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:f,paddingInlineEnd:f}})}},S=e=>{let{buttonColor:t,controlHeight:n,componentCls:o,lineWidth:r,lineType:a,colorBorder:i,motionDurationSlow:d,motionDurationMid:l,buttonPaddingInline:c,fontSize:s,buttonBg:u,fontSizeLG:p,controlHeightLG:f,controlHeightSM:h,paddingXS:v,borderRadius:g,borderRadiusSM:y,borderRadiusLG:b,buttonCheckedBg:k,buttonSolidCheckedColor:m,colorTextDisabled:E,colorBgContainerDisabled:N,buttonCheckedBgDisabled:K,buttonCheckedColorDisabled:C,colorPrimary:S,colorPrimaryHover:w,colorPrimaryActive:D,buttonSolidCheckedBg:$,buttonSolidCheckedHoverBg:O,buttonSolidCheckedActiveBg:P,calc:I}=e;return{[`${o}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:s,lineHeight:(0,Z.bf)(I(n).sub(I(r).mul(2)).equal()),background:u,border:`${(0,Z.bf)(r)} ${a} ${i}`,borderBlockStartWidth:I(r).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:r,cursor:"pointer",transition:`color ${l},background ${l},box-shadow ${l}`,a:{color:t},[`> ${o}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:I(r).mul(-1).equal(),insetInlineStart:I(r).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:r,paddingInline:0,backgroundColor:i,transition:`background-color ${d}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,Z.bf)(r)} ${a} ${i}`,borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g},"&:first-child:last-child":{borderRadius:g},[`${o}-group-large &`]:{height:f,fontSize:p,lineHeight:(0,Z.bf)(I(f).sub(I(r).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${o}-group-small &`]:{height:h,paddingInline:I(v).sub(r).equal(),paddingBlock:0,lineHeight:(0,Z.bf)(I(h).sub(I(r).mul(2)).equal()),"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},"&:hover":{position:"relative",color:S},"&:has(:focus-visible)":Object.assign({},(0,x.oN)(e)),[`${o}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${o}-button-wrapper-disabled)`]:{zIndex:1,color:S,background:k,borderColor:S,"&::before":{backgroundColor:S},"&:first-child":{borderColor:S},"&:hover":{color:w,borderColor:w,"&::before":{backgroundColor:w}},"&:active":{color:D,borderColor:D,"&::before":{backgroundColor:D}}},[`${o}-group-solid &-checked:not(${o}-button-wrapper-disabled)`]:{color:m,background:$,borderColor:$,"&:hover":{color:m,background:O,borderColor:O},"&:active":{color:m,background:P,borderColor:P}},"&-disabled":{color:E,backgroundColor:N,borderColor:i,cursor:"not-allowed","&:first-child, &:hover":{color:E,backgroundColor:N,borderColor:i}},[`&-disabled${o}-button-wrapper-checked`]:{color:C,backgroundColor:K,borderColor:i,boxShadow:"none"}}}};var w=(0,E.I$)("Radio",e=>{let{controlOutline:t,controlOutlineWidth:n}=e,o=`0 0 0 ${(0,Z.bf)(n)} ${t}`,r=(0,N.IX)(e,{radioFocusShadow:o,radioButtonFocusShadow:o});return[K(r),C(r),S(r)]},e=>{let{wireframe:t,padding:n,marginXS:o,lineWidth:r,fontSizeLG:a,colorText:i,colorBgContainer:d,colorTextDisabled:l,controlItemBgActiveDisabled:c,colorTextLightSolid:s,colorPrimary:u,colorPrimaryHover:p,colorPrimaryActive:f,colorWhite:h}=e;return{radioSize:a,dotSize:t?a-8:a-(4+r)*2,dotColorDisabled:l,buttonSolidCheckedColor:s,buttonSolidCheckedBg:u,buttonSolidCheckedHoverBg:p,buttonSolidCheckedActiveBg:f,buttonBg:d,buttonCheckedBg:d,buttonColor:i,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:l,buttonPaddingInline:n-r,wrapperMarginInlineEnd:o,radioColor:t?u:h,radioBgColor:t?d:u}},{unitless:{radioSize:!0,dotSize:!0}}),D=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};let $=o.forwardRef((e,t)=>{var n,r;let i=o.useContext(u),d=o.useContext(f),{getPrefixCls:s,direction:p,radio:h}=o.useContext(l.E_),Z=o.useRef(null),x=(0,g.sQ)(t,Z),{isFormItemInput:E}=o.useContext(m.aM),{prefixCls:N,className:K,rootClassName:C,children:S,style:$,title:O}=e,P=D(e,["prefixCls","className","rootClassName","children","style","title"]),I=s("radio",N),L="button"===((null==i?void 0:i.optionType)||d),M=L?`${I}-button`:I,T=(0,c.Z)(I),[R,H,A]=w(I,T),B=Object.assign({},P),z=o.useContext(k.Z);i&&(B.name=i.name,B.onChange=t=>{var n,o;null===(n=e.onChange)||void 0===n||n.call(e,t),null===(o=null==i?void 0:i.onChange)||void 0===o||o.call(i,t)},B.checked=e.value===i.value,B.disabled=null!==(n=B.disabled)&&void 0!==n?n:i.disabled),B.disabled=null!==(r=B.disabled)&&void 0!==r?r:z;let j=a()(`${M}-wrapper`,{[`${M}-wrapper-checked`]:B.checked,[`${M}-wrapper-disabled`]:B.disabled,[`${M}-wrapper-rtl`]:"rtl"===p,[`${M}-wrapper-in-form-item`]:E},null==h?void 0:h.className,K,C,H,A,T);return R(o.createElement(y.Z,{component:"Radio",disabled:B.disabled},o.createElement("label",{className:j,style:Object.assign(Object.assign({},null==h?void 0:h.style),$),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:O},o.createElement(v.Z,Object.assign({},B,{className:a()(B.className,{[b.A]:!L}),type:"radio",prefixCls:M,ref:x})),void 0!==S?o.createElement("span",null,S):null)))}),O=o.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=o.useContext(l.E_),[u,f]=(0,i.Z)(e.defaultValue,{value:e.value}),{prefixCls:h,className:v,rootClassName:g,options:y,buttonStyle:b="outline",disabled:k,children:m,size:Z,style:x,id:E,onMouseEnter:N,onMouseLeave:K,onFocus:C,onBlur:S}=e,D=n("radio",h),O=`${D}-group`,P=(0,c.Z)(D),[I,L,M]=w(D,P),T=m;y&&y.length>0&&(T=y.map(e=>"string"==typeof e||"number"==typeof e?o.createElement($,{key:e.toString(),prefixCls:D,disabled:k,value:e,checked:u===e},e):o.createElement($,{key:`radio-group-value-options-${e.value}`,prefixCls:D,disabled:e.disabled||k,value:e.value,checked:u===e.value,title:e.title,style:e.style,id:e.id,required:e.required},e.label)));let R=(0,s.Z)(Z),H=a()(O,`${O}-${b}`,{[`${O}-${R}`]:R,[`${O}-rtl`]:"rtl"===r},v,g,L,M,P);return I(o.createElement("div",Object.assign({},(0,d.Z)(e,{aria:!0,data:!0}),{className:H,style:x,onMouseEnter:N,onMouseLeave:K,onFocus:C,onBlur:S,id:E,ref:t}),o.createElement(p,{value:{onChange:t=>{let n=t.target.value;"value"in e||f(n);let{onChange:o}=e;o&&n!==u&&o(t)},value:u,disabled:e.disabled,name:e.name,optionType:e.optionType}},T)))});var P=o.memo(O),I=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},L=o.forwardRef((e,t)=>{let{getPrefixCls:n}=o.useContext(l.E_),{prefixCls:r}=e,a=I(e,["prefixCls"]),i=n("radio",r);return o.createElement(h,{value:"button"},o.createElement($,Object.assign({prefixCls:i},a,{type:"radio",ref:t})))});$.Button=L,$.Group=P,$.__ANT_RADIO=!0;var M=$},32157:function(e,t,n){n.d(t,{TM:function(){return v},Yk:function(){return h}});var o=n(25446),r=n(63185),a=n(14747),i=n(33507),d=n(83262),l=n(83559);let c=new o.E4("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),s=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),u=(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:`${(0,o.bf)(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),p=(e,t)=>{let{treeCls:n,treeNodeCls:r,treeNodePadding:i,titleHeight:d,nodeSelectedBg:l,nodeHoverBg:p}=t,f=t.paddingXS;return{[n]:Object.assign(Object.assign({},(0,a.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,a.oN)(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:i,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:c,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[r]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${(0,o.bf)(i)} 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`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${n}-draggable-icon`]:{flexShrink:0,width:d,lineHeight:(0,o.bf)(d),textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:d}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},s(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:d,margin:0,lineHeight:(0,o.bf)(d),textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:d,height:d,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},"&_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:t.calc(d).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(d).div(2).equal()).mul(.8).equal(),height:t.calc(d).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:f,alignSelf:"flex-start",marginTop:t.marginXXS},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:d,margin:0,padding:`0 ${(0,o.bf)(t.calc(t.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:(0,o.bf)(d),background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:p},[`&${n}-node-selected`]:{backgroundColor:l},[`${n}-iconEle`]:{display:"inline-block",width:d,height:d,lineHeight:(0,o.bf)(d),textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:(0,o.bf)(d),userSelect:"none"},u(e,t)),[`${r}.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:t.calc(d).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${(0,o.bf)(t.calc(d).div(2).equal())} !important`}}}}})}},f=e=>{let{treeCls:t,treeNodeCls:n,treeNodePadding:o,directoryNodeSelectedBg:r,directoryNodeSelectedColor:a}=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:a,background:"transparent"}},"&-selected":{[` + &:hover::before, + &::before + `]:{background:r},[`${t}-switcher`]:{color:a},[`${t}-node-content-wrapper`]:{color:a,background:"transparent"}}}}}},h=(e,t)=>{let n=`.${e}`,o=`${n}-treenode`,r=t.calc(t.paddingXS).div(2).equal(),a=(0,d.IX)(t,{treeCls:n,treeNodeCls:o,treeNodePadding:r});return[p(e,a),f(a)]},v=e=>{let{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}};t.ZP=(0,l.I$)("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:(0,r.C2)(`${n}-checkbox`,e)},h(n,e),(0,i.Z)(e)]},e=>{let{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},v(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})})},61639:function(e,t,n){var o=n(67294),r=n(68265),a=n(26911),i=n(50888),d=n(28638),l=n(13982),c=n(93967),s=n.n(c),u=n(96159);t.Z=e=>{let t;let{prefixCls:n,switcherIcon:c,treeNodeProps:p,showLine:f,switcherLoadingIcon:h}=e,{isLeaf:v,expanded:g,loading:y}=p;if(y)return o.isValidElement(h)?h:o.createElement(i.Z,{className:`${n}-switcher-loading-icon`});if(f&&"object"==typeof f&&(t=f.showLeafIcon),v){if(!f)return null;if("boolean"!=typeof t&&t){let e="function"==typeof t?t(p):t,r=`${n}-switcher-line-custom-icon`;return o.isValidElement(e)?(0,u.Tm)(e,{className:s()(e.props.className||"",r)}):e}return t?o.createElement(a.Z,{className:`${n}-switcher-line-icon`}):o.createElement("span",{className:`${n}-switcher-leaf-line`})}let b=`${n}-switcher-icon`,k="function"==typeof c?c(p):c;return o.isValidElement(k)?(0,u.Tm)(k,{className:s()(k.props.className||"",b)}):void 0!==k?k:f?g?o.createElement(d.Z,{className:`${n}-switcher-line-icon`}):o.createElement(l.Z,{className:`${n}-switcher-line-icon`}):o.createElement(r.Z,{className:b})}},86128:function(e,t,n){n.d(t,{Z:function(){return K}});var o=n(87462),r=n(45987),a=n(1413),i=n(15671),d=n(43144),l=n(97326),c=n(60136),s=n(29388),u=n(4942),p=n(93967),f=n.n(p),h=n(64217),v=n(67294),g=n(27822),y=v.memo(function(e){for(var t=e.prefixCls,n=e.level,o=e.isStart,r=e.isEnd,a="".concat(t,"-indent-unit"),i=[],d=0;d0&&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}(w)),b.createElement("div",null,b.createElement("input",{style:I,disabled:!1===C||p,tabIndex:!1!==C?T:null,onKeyDown:R,onFocus:z,onBlur:j,value:"",onChange:L,"aria-label":"for screen reader"})),b.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},b.createElement("div",{className:"".concat(n,"-indent")},b.createElement("div",{ref:G,className:"".concat(n,"-indent-unit")}))),b.createElement(N.Z,(0,o.Z)({},V,{data:ey,itemKey:B,height:y,fullHeight:!1,virtual:K,itemHeight:k,prefixCls:"".concat(n,"-list"),ref:W,onVisibleChange:function(e,t){var n=new Set(e);t.filter(function(e){return!n.has(e)}).some(function(e){return B(e)===M})&&eg()}}),function(e){var t=e.pos,n=Object.assign({},((0,m.Z)(e.data),e.data)),r=e.title,a=e.key,i=e.isStart,d=e.isEnd,l=(0,S.km)(a,t);delete n.key,delete n.children;var c=(0,S.H8)(l,eb);return b.createElement($,(0,o.Z)({},n,c,{title:r,active:!!w&&a===w.key,pos:t,data:e.data,isStart:i,isEnd:d,motion:g,motionNodes:a===M?ec:null,motionType:ef,onMotionStart:F,onMotionEnd:eg,treeNodeRequiredProps:eb,onMouseMove:function(){_(null)}}))}))});z.displayName="NodeList";var j=n(10225),_=n(17341),F=n(35381),q=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(){var e;(0,d.Z)(this,n);for(var o=arguments.length,r=Array(o),l=0;l2&&void 0!==arguments[2]&&arguments[2],i=e.state,d=i.dragChildrenKeys,l=i.dropPosition,c=i.dropTargetKey,s=i.dropTargetPos;if(i.dropAllowed){var u=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var p=(0,a.Z)((0,a.Z)({},(0,S.H8)(c,e.getTreeNodeRequiredProps())),{},{active:(null===(o=e.getActiveItem())||void 0===o?void 0:o.key)===c,data:(0,F.Z)(e.state.keyEntities,c).node}),f=-1!==d.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,j.yx)(s),v={event:t,node:(0,S.F)(p),dragNode:e.dragNode?(0,S.F)(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(d),dropToGap:0!==l,dropPosition:l+Number(h[h.length-1])};r||null==u||u(v),e.dragNode=null}}}),(0,p.Z)((0,c.Z)(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}),(0,p.Z)((0,c.Z)(e),"triggerExpandActionExpand",function(t,n){var o=e.state,r=o.expandedKeys,i=o.flattenNodes,d=n.expanded,l=n.key;if(!n.isLeaf&&!t.shiftKey&&!t.metaKey&&!t.ctrlKey){var c=i.filter(function(e){return e.key===l})[0],s=(0,S.F)((0,a.Z)((0,a.Z)({},(0,S.H8)(l,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(d?(0,j._5)(r,l):(0,j.L0)(r,l)),e.onNodeExpand(t,s)}}),(0,p.Z)((0,c.Z)(e),"onNodeClick",function(t,n){var o=e.props,r=o.onClick;"click"===o.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)}),(0,p.Z)((0,c.Z)(e),"onNodeDoubleClick",function(t,n){var o=e.props,r=o.onDoubleClick;"doubleClick"===o.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)}),(0,p.Z)((0,c.Z)(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,j.L0)(o,u):[u]:(0,j._5)(o,u)).map(function(e){var t=(0,F.Z)(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})}),(0,p.Z)((0,c.Z)(e),"onNodeCheck",function(t,n,o){var r,a=e.state,d=a.keyEntities,l=a.checkedKeys,c=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,j.L0)(l,f):(0,j._5)(l,f);r={checked:v,halfChecked:(0,j._5)(c,f)},h.checkedNodes=v.map(function(e){return(0,F.Z)(d,e)}).filter(function(e){return e}).map(function(e){return e.node}),e.setUncontrolledState({checkedKeys:v})}else{var g=(0,_.S)([].concat((0,i.Z)(l),[f]),!0,d),y=g.checkedKeys,b=g.halfCheckedKeys;if(!o){var k=new Set(y);k.delete(f);var m=(0,_.S)(Array.from(k),{checked:!1,halfCheckedKeys:b},d);y=m.checkedKeys,b=m.halfCheckedKeys}r=y,h.checkedNodes=[],h.checkedNodesPositions=[],h.halfCheckedKeys=b,y.forEach(function(e){var t=(0,F.Z)(d,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:b})}null==p||p(r,h)}),(0,p.Z)((0,c.Z)(e),"onNodeLoad",function(t){var n,o=t.key,r=e.state.keyEntities,a=(0,F.Z)(r,o);if(null==a||null===(n=a.children)||void 0===n||!n.length){var i=new Promise(function(n,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(o)&&-1===l.indexOf(o)?(s(t).then(function(){var r=e.state.loadedKeys,a=(0,j.L0)(r,o);null==u||u(a,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:a}),e.setState(function(e){return{loadingKeys:(0,j._5)(e.loadingKeys,o)}}),n()}).catch(function(t){if(e.setState(function(e){return{loadingKeys:(0,j._5)(e.loadingKeys,o)}}),e.loadingRetryTimes[o]=(e.loadingRetryTimes[o]||0)+1,e.loadingRetryTimes[o]>=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,j.L0)(a,o)}),n()}r(t)}),{loadingKeys:(0,j.L0)(l,o)}):null})});return i.catch(function(){}),i}}),(0,p.Z)((0,c.Z)(e),"onNodeMouseEnter",function(t,n){var o=e.props.onMouseEnter;null==o||o({event:t,node:n})}),(0,p.Z)((0,c.Z)(e),"onNodeMouseLeave",function(t,n){var o=e.props.onMouseLeave;null==o||o({event:t,node:n})}),(0,p.Z)((0,c.Z)(e),"onNodeContextMenu",function(t,n){var o=e.props.onRightClick;o&&(t.preventDefault(),o({event:t,node:n}))}),(0,p.Z)((0,c.Z)(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,i=!0,d={};Object.keys(t).forEach(function(n){if(n in e.props){i=!1;return}r=!0,d[n]=t[n]}),r&&(!n||i)&&e.setState((0,a.Z)((0,a.Z)({},d),o))}}),(0,p.Z)((0,c.Z)(e),"scrollTo",function(t){e.listRef.current.scrollTo(t)}),e}return(0,l.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,t=e.activeKey,n=e.itemScrollOffset;void 0!==t&&t!==this.state.activeKey&&(this.setState({activeKey:t}),null!==t&&this.scrollTo({key:t,offset:void 0===n?0:n}))}},{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=this.state,n=t.focused,a=t.flattenNodes,i=t.keyEntities,d=t.draggingNodeKey,l=t.activeKey,c=t.dropLevelOffset,s=t.dropContainerKey,u=t.dropTargetKey,f=t.dropPosition,v=t.dragOverNodeKey,y=t.indent,m=this.props,Z=m.prefixCls,x=m.className,E=m.style,N=m.showLine,K=m.focusable,C=m.tabIndex,S=m.selectable,w=m.showIcon,D=m.icon,$=m.switcherIcon,O=m.draggable,P=m.checkable,I=m.checkStrictly,L=m.disabled,M=m.motion,T=m.loadData,R=m.filterTreeNode,H=m.height,A=m.itemHeight,B=m.virtual,j=m.titleRender,_=m.dropIndicatorRender,F=m.onContextMenu,q=m.onScroll,V=m.direction,W=m.rootClassName,G=m.rootStyle,U=(0,g.Z)(this.props,{aria:!0,data:!0});return O&&(e="object"===(0,r.Z)(O)?O:"function"==typeof O?{nodeDraggable:O}:{}),b.createElement(k.k.Provider,{value:{prefixCls:Z,selectable:S,showIcon:w,icon:D,switcherIcon:$,draggable:e,draggingNodeKey:d,checkable:P,checkStrictly:I,disabled:L,keyEntities:i,dropLevelOffset:c,dropContainerKey:s,dropTargetKey:u,dropPosition:f,dragOverNodeKey:v,indent:y,direction:V,dropIndicatorRender:_,loadData:T,filterTreeNode:R,titleRender:j,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}},b.createElement("div",{role:"tree",className:h()(Z,x,W,(0,p.Z)((0,p.Z)((0,p.Z)({},"".concat(Z,"-show-line"),N),"".concat(Z,"-focused"),n),"".concat(Z,"-active-focused"),null!==l)),style:G},b.createElement(z,(0,o.Z)({ref:this.listRef,prefixCls:Z,style:E,data:a,disabled:L,selectable:S,checkable:!!P,motion:M,dragging:null!==d,height:H,itemHeight:A,virtual:B,focusable:K,focused:n,tabIndex:void 0===C?0:C,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:F,onScroll:q},this.getTreeNodeRequiredProps(),U))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,o,r=t.prevProps,i={prevProps:e};function d(t){return!r&&t in e||r&&r[t]!==e[t]}var l=t.fieldNames;if(d("fieldNames")&&(l=(0,S.w$)(e.fieldNames),i.fieldNames=l),d("treeData")?n=e.treeData:d("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=(0,S.zn)(e.children)),n){i.treeData=n;var c=(0,S.I8)(n,{fieldNames:l});i.keyEntities=(0,a.Z)((0,p.Z)({},M,R),c.keyEntities)}var s=i.keyEntities||t.keyEntities;if(d("expandedKeys")||r&&d("autoExpandParent"))i.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?(0,j.r7)(e.expandedKeys,s):e.expandedKeys;else if(!r&&e.defaultExpandAll){var u=(0,a.Z)({},s);delete u[M],i.expandedKeys=Object.keys(u).map(function(e){return u[e].key})}else!r&&e.defaultExpandedKeys&&(i.expandedKeys=e.autoExpandParent||e.defaultExpandParent?(0,j.r7)(e.defaultExpandedKeys,s):e.defaultExpandedKeys);if(i.expandedKeys||delete i.expandedKeys,n||i.expandedKeys){var f=(0,S.oH)(n||t.treeData,i.expandedKeys||t.expandedKeys,l);i.flattenNodes=f}if(e.selectable&&(d("selectedKeys")?i.selectedKeys=(0,j.BT)(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(i.selectedKeys=(0,j.BT)(e.defaultSelectedKeys,e))),e.checkable&&(d("checkedKeys")?o=(0,j.E6)(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?o=(0,j.E6)(e.defaultCheckedKeys)||{}:n&&(o=(0,j.E6)(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),o)){var h=o,v=h.checkedKeys,g=void 0===v?[]:v,b=h.halfCheckedKeys,k=void 0===b?[]:b;if(!e.checkStrictly){var m=(0,_.S)(g,!0,s);g=m.checkedKeys,k=m.halfCheckedKeys}i.checkedKeys=g,i.halfCheckedKeys=k}return d("loadedKeys")&&(i.loadedKeys=e.loadedKeys),i}}]),n}(b.Component);(0,p.Z)(q,"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 b.createElement("div",{style:r})},allowDrop:function(){return!0},expandAction:!1}),(0,p.Z)(q,"TreeNode",C.Z);var V=q},10225:function(e,t,n){n.d(t,{BT:function(){return p},E6:function(){return f},L0:function(){return l},OM:function(){return u},_5:function(){return d},r7:function(){return h},wA:function(){return s},yx:function(){return c}});var o=n(74902),r=n(71002),a=n(80334);n(67294),n(86128);var i=n(35381);function d(e,t){if(!e)return[];var n=e.slice(),o=n.indexOf(t);return o>=0&&n.splice(o,1),n}function l(e,t){var n=(e||[]).slice();return -1===n.indexOf(t)&&n.push(t),n}function c(e){return e.split("-")}function s(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)})}((0,i.Z)(t,e).children),n}function u(e,t,n,o,r,a,d,l,s,u){var p,f,h=e.clientX,v=e.clientY,g=e.target.getBoundingClientRect(),y=g.top,b=g.height,k=(("rtl"===u?-1:1)*(((null==r?void 0:r.x)||0)-h)-12)/o,m=s.filter(function(e){var t;return null===(t=l[e])||void 0===t||null===(t=t.children)||void 0===t?void 0:t.length}),Z=(0,i.Z)(l,n.props.eventKey);if(v-1.5?a({dragNode:$,dropNode:O,dropPosition:1})?S=1:P=!1:a({dragNode:$,dropNode:O,dropPosition:0})?S=0:a({dragNode:$,dropNode:O,dropPosition:1})?S=1:P=!1:a({dragNode:$,dropNode:O,dropPosition:1})?S=1:P=!1,{dropPosition:S,dropLevelOffset:w,dropTargetKey:Z.key,dropTargetPos:Z.pos,dragOverNodeKey:C,dropContainerKey:0===S?null:(null===(f=Z.parent)||void 0===f?void 0:f.key)||null,dropAllowed:P}}function p(e,t){if(e)return t.multiple?e.slice():e.length?[e[0]]:e}function f(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 h(e,t){var n=new Set;return(e||[]).forEach(function(e){!function e(o){if(!n.has(o)){var r=(0,i.Z)(t,o);if(r){n.add(o);var a=r.parent;!r.node.disabled&&a&&e(a.key)}}}(e)}),(0,o.Z)(n)}n(1089)},17341:function(e,t,n){n.d(t,{S:function(){return d}});var o=n(80334),r=n(35381);function a(e,t){var n=new Set;return e.forEach(function(e){t.has(e)||n.add(e)}),n}function i(e){var t=e||{},n=t.disabled,o=t.disableCheckbox,r=t.checkable;return!!(n||o)||!1===r}function d(e,t,n,d){var l,c=[];l=d||i;var s=new Set(e.filter(function(e){var t=!!(0,r.Z)(n,e);return t||c.push(e),t})),u=new Map,p=0;return Object.keys(n).forEach(function(e){var t=n[e],o=t.level,r=u.get(o);r||(r=new Set,u.set(o,r)),r.add(t),p=Math.max(p,o)}),(0,o.ZP)(!c.length,"Tree missing follow keys: ".concat(c.slice(0,100).map(function(e){return"'".concat(e,"'")}).join(", "))),!0===t?function(e,t,n,o){for(var r=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,a=e.children,i=void 0===a?[]:a;r.has(t)&&!o(n)&&i.filter(function(e){return!o(e.node)}).forEach(function(e){r.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,a=!1;(t.children||[]).filter(function(e){return!o(e.node)}).forEach(function(e){var t=e.key,o=r.has(t);n&&!o&&(n=!1),!a&&(o||i.has(t))&&(a=!0)}),n&&r.add(t.key),a&&i.add(t.key),l.add(t.key)}});return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(a(i,r))}}(s,u,p,l):function(e,t,n,o,r){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,a=void 0===o?[]:o;i.has(t)||d.has(t)||r(n)||a.filter(function(e){return!r(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(!(r(e.node)||!e.parent||c.has(e.parent.key))){if(r(e.parent.node)){c.add(t.key);return}var n=!0,o=!1;(t.children||[]).filter(function(e){return!r(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(a(d,i))}}(s,t.halfCheckedKeys,u,p,l)}},35381:function(e,t,n){n.d(t,{Z:function(){return o}});function o(e,t){return e[t]}},1089:function(e,t,n){n.d(t,{F:function(){return k},H8:function(){return b},I8:function(){return y},km:function(){return f},oH:function(){return g},w$:function(){return h},zn:function(){return v}});var o=n(71002),r=n(74902),a=n(1413),i=n(45987),d=n(50344),l=n(98423),c=n(80334),s=n(35381),u=["children"];function p(e,t){return"".concat(e,"-").concat(t)}function f(e,t){return null!=e?e:t}function h(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 v(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,u),l=(0,a.Z)({key:n},d),s=e(r);return s.length&&(l.children=s),l}).filter(function(e){return e})}(e)}function g(e,t,n){var o=h(n),a=o._title,i=o.key,d=o.children,c=new Set(!0===t?[]:t),s=[];return!function e(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n.map(function(u,h){for(var v,g=p(o?o.pos:"0",h),y=f(u[i],g),b=0;b1&&void 0!==arguments[1]?arguments[1]:{},y=g.initWrapper,b=g.processEntity,k=g.onProcessFinished,m=g.externalGetKey,Z=g.childrenPropName,x=g.fieldNames,E=arguments.length>2?arguments[2]:void 0,N={},K={},C={posEntities:N,keyEntities:K};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=f(r,o);N[o]=d,K[l]=d,d.parent=N[a],d.parent&&(d.parent.children=d.parent.children||[],d.parent.children.push(d)),b&&b(d,C)},n={externalGetKey:m||E,childrenPropName:Z,fieldNames:x},d=(i=("object"===(0,o.Z)(n)?n:{externalGetKey:n})||{}).childrenPropName,l=i.externalGetKey,s=(c=h(i.fieldNames)).key,u=c.children,v=d||u,l?"string"==typeof l?a=function(e){return e[l]}:"function"==typeof l&&(a=function(e){return l(e)}):a=function(e,t){return f(e[s],t)},function n(o,i,d,l){var c=o?o[v]:e,s=o?p(d.pos,i):"0",u=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:u})}c&&c.forEach(function(e,t){n(e,t,{node:o,pos:s,level:d?d.level+1:-1},u)})}(null),k&&k(C),C}function b(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,u=t.keyEntities,p=(0,s.Z)(u,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(p?p.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/web/_next/static/chunks/7710.89b9633ebedbc5f2.js b/dbgpt/app/static/web/_next/static/chunks/7710.89b9633ebedbc5f2.js deleted file mode 100644 index 32c2d82f8..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/7710.89b9633ebedbc5f2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7710],{26729:function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!=typeof r)throw TypeError("The listener must be a function");var l=new i(r,o||e,a),s=n?n+t:t;return e._events[s]?e._events[s].fn?e._events[s]=[e._events[s],l]:e._events[s].push(l):(e._events[s]=l,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function l(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),l.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},l.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=Array(o);ie.length)&&(t=e.length);for(var n=0,r=Array(t);n1?r[r.length-2]:null,s=n.length>r.length?n[r.length]:null;return{line:i,col:o,beforeText:e.substr(0,t),afterText:e.substr(t),curLine:a,prevLine:l,nextLine:s}}for(var x={bold:["**","**"],italic:["*","*"],underline:["++","++"],strikethrough:["~~","~~"],quote:["\n> ","\n"],inlinecode:["`","`"],code:["\n```\n","\n```\n"]},_=1;_<=6;_++)x["h"+_]=["\n"+function(e,t){for(var n="",r=t;r--;)n+="#";return n}(0,_)+" ","\n"];function L(e,t){var n=t;if("\n"!==n.substr(0,1)&&(n="\n"+n),"unordered"===e)return n.length>1?n.replace(/\n/g,"\n* ").trim():"* ";var r=1;return n.length>1?n.replace(/\n/g,function(){return"\n"+r+++". "}).trim():"1. "}function K(e,t){return{text:e,newBlock:t,selection:{start:e.length,end:e.length}}}var U=function(e,t,n){if(void 0!==x[t])return{text:""+x[t][0]+e+x[t][1],selection:{start:x[t][0].length,end:x[t][0].length+e.length}};switch(t){case"tab":var r=1===n.tabMapValue?" ":" ".repeat(n.tabMapValue),i=r+e.replace(/\n/g,"\n"+r),o=e.includes("\n")?e.match(/\n/g).length:0;return{text:i,selection:{start:n.tabMapValue,end:n.tabMapValue*(o+1)+e.length}};case"unordered":return K(L("unordered",e),!0);case"order":return K(L("order",e),!0);case"hr":return K("---",!0);case"table":return{text:function(e){for(var t=e.row,n=void 0===t?2:t,r=e.col,i=void 0===r?2:r,o=["|"],a=["|"],l=["|"],s="",c=1;c<=i;c++)o.push(" Head |"),l.push(" --- |"),a.push(" Data |");for(var u=1;u<=n;u++)s+="\n"+a.join("");return o.join("")+"\n"+l.join("")+s}(n),newBlock:!0};case"image":return{text:"!["+(e||n.target)+"]("+(n.imageUrl||"")+")",selection:{start:2,end:e.length+2}};case"link":return{text:"["+e+"]("+(n.linkUrl||"")+")",selection:{start:1,end:e.length+1}}}return{text:e,selection:{start:0,end:e.length}}},V=function(e,t){return{placeholder:U("","image",{target:"Uploading_"+(0,u.Z)(),imageUrl:""}).text,uploaded:new Promise(function(n){var r=!0,i=function(t){r&&console.warn("Deprecated: onImageUpload should return a Promise, callback will be removed in future"),n(U("","image",{target:e.name,imageUrl:t}).text)},o=t(e,i);T(o)&&(r=!1,o.then(i))})}},H={theme:"default",view:{menu:!0,md:!0,html:!0},canView:{menu:!0,md:!0,html:!0,both:!0,fullScreen:!0,hideMenu:!0},htmlClass:"",markdownClass:"",syncScrollMode:["rightFollowLeft","leftFollowRight"],imageUrl:"",imageAccept:"",linkUrl:"",loggerMaxSize:100,loggerInterval:600,table:{maxRow:4,maxCol:6},allowPasteImage:!0,onImageUpload:void 0,onCustomImageUpload:void 0,shortcuts:!0,onChangeTrigger:"both"},I=function(e){function t(){return e.apply(this,arguments)||this}a(t,e);var n=t.prototype;return n.getHtml=function(){return"string"==typeof this.props.html?this.props.html:this.el.current?this.el.current.innerHTML:""},n.render=function(){return"string"==typeof this.props.html?c.createElement("div",{ref:this.el,dangerouslySetInnerHTML:{__html:this.props.html},className:this.props.className||"custom-html-style"}):c.createElement("div",{ref:this.el,className:this.props.className||"custom-html-style"},this.props.html)},t}(function(e){function t(t){var n;return(n=e.call(this,t)||this).el=c.createRef(),n}a(t,e);var n=t.prototype;return n.getElement=function(){return this.el.current},n.getHeight=function(){return this.el.current?this.el.current.offsetHeight:0},t}(c.Component));function A(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1?n-1:0),o=1;o0&&h.length>0&&(l="\n"+l,s&&(s.start++,s.end++));var d=c.afterText;n.start!==n.end&&(d=N(this.getMdValue(),n.end).afterText),""!==d.trim()&&"\n\n"!==d.substr(0,2)&&("\n"!==d.substr(0,1)&&(l+="\n"),l+="\n")}this.insertText(l,!0,s)},n.insertPlaceholder=function(e,t){var n=this;this.insertText(e,!0),t.then(function(t){var r=n.getMdValue().replace(e,t);n.setText(r)})},n.insertText=function(e,t,n){void 0===e&&(e=""),void 0===t&&(t=!1);var r=this.state.text,i=this.getSelection(),o=r.slice(0,i.start),a=r.slice(t?i.end:i.start,r.length);this.setText(o+e+a,void 0,n?{start:n.start+o.length,end:n.end+o.length}:{start:i.start,end:i.start})},n.setText=function(e,t,n){var r=this;void 0===e&&(e="");var i=this.config.onChangeTrigger,o=void 0===i?"both":i,a=e.replace(/↵/g,"\n");if(this.state.text!==e){this.setState({text:a}),this.props.onChange&&("both"===o||"beforeRender"===o)&&this.props.onChange({text:a,html:this.getHtmlValue()},t),this.emitter.emit(this.emitter.EVENT_CHANGE,e,t,void 0===t),n&&setTimeout(function(){return r.setSelection(n)}),this.hasContentChanged||(this.hasContentChanged=!0);var l=this.renderHTML(a);("both"===o||"afterRender"===o)&&l.then(function(){r.props.onChange&&r.props.onChange({text:r.state.text,html:r.getHtmlValue()},t)})}},n.getMdValue=function(){return this.state.text},n.getHtmlValue=function(){return"string"==typeof this.state.html?this.state.html:this.nodeMdPreview.current?this.nodeMdPreview.current.getHtml():""},n.onKeyboard=function(e){var t=this;if(Array.isArray(e)){e.forEach(function(e){return t.onKeyboard(e)});return}this.keyboardListeners.includes(e)||this.keyboardListeners.push(e)},n.offKeyboard=function(e){var t=this;if(Array.isArray(e)){e.forEach(function(e){return t.offKeyboard(e)});return}var n=this.keyboardListeners.indexOf(e);n>=0&&this.keyboardListeners.splice(n,1)},n.handleKeyDown=function(e){for(var t,n=A(this.keyboardListeners);!(t=n()).done;){var r=t.value;if(function(e,t){var n=t.withKey,r=t.keyCode,i=t.key,o=t.aliasCommand,a={ctrlKey:e.ctrlKey,metaKey:e.metaKey,altKey:e.altKey,shiftKey:e.shiftKey,keyCode:e.keyCode,key:e.key};if(o&&(a.ctrlKey=a.ctrlKey||a.metaKey),n&&n.length>0)for(var l,s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return M(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(e,t)}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n);!(l=s()).done;){var c=l.value;if(void 0!==a[c]&&!a[c])return!1}else if(a.metaKey||a.ctrlKey||a.shiftKey||a.altKey)return!1;return a.key?a.key===i:a.keyCode===r}(e,r)){e.preventDefault(),r.callback(e);return}}this.emitter.emit(this.emitter.EVENT_KEY_DOWN,e)},n.getEventType=function(e){switch(e){case"change":return this.emitter.EVENT_CHANGE;case"fullscreen":return this.emitter.EVENT_FULL_SCREEN;case"viewchange":return this.emitter.EVENT_VIEW_CHANGE;case"keydown":return this.emitter.EVENT_KEY_DOWN;case"editor_keydown":return this.emitter.EVENT_EDITOR_KEY_DOWN;case"blur":return this.emitter.EVENT_BLUR;case"focus":return this.emitter.EVENT_FOCUS;case"scroll":return this.emitter.EVENT_SCROLL}},n.on=function(e,t){var n=this.getEventType(e);n&&this.emitter.on(n,t)},n.off=function(e,t){var n=this.getEventType(e);n&&this.emitter.off(n,t)},n.setView=function(e){var t=this,n=r({},this.state.view,e);this.setState({view:n},function(){t.emitter.emit(t.emitter.EVENT_VIEW_CHANGE,n)})},n.getView=function(){return r({},this.state.view)},n.fullScreen=function(e){var t=this;this.state.fullScreen!==e&&this.setState({fullScreen:e},function(){t.emitter.emit(t.emitter.EVENT_FULL_SCREEN,e)})},n.registerPluginApi=function(e,t){this.pluginApis.set(e,t)},n.unregisterPluginApi=function(e){this.pluginApis.delete(e)},n.callPluginApi=function(e){var t=this.pluginApis.get(e);if(!t)throw Error("API "+e+" not found");for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i0&&e.onImageChanged(t.target.files[0])}}))},t}(E);ee.pluginName="image";var et=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleKeyboard={key:"k",keyCode:75,aliasCommand:!0,withKey:["ctrlKey"],callback:function(){return n.editor.insertMarkdown("link")}},n}a(t,e);var n=t.prototype;return n.componentDidMount=function(){this.editorConfig.shortcuts&&this.editor.onKeyboard(this.handleKeyboard)},n.componentWillUnmount=function(){this.editor.offKeyboard(this.handleKeyboard)},n.render=function(){var e=this;return c.createElement("span",{className:"button button-type-link",title:y.get("btnLink"),onClick:function(){return e.editor.insertMarkdown("link")}},c.createElement(h,{type:"link"}))},t}(E);et.pluginName="link";var en=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleKeyboard={key:"7",keyCode:55,withKey:["ctrlKey","shiftKey"],aliasCommand:!0,callback:function(){return n.editor.insertMarkdown("order")}},n}a(t,e);var n=t.prototype;return n.componentDidMount=function(){this.editorConfig.shortcuts&&this.editor.onKeyboard(this.handleKeyboard)},n.componentWillUnmount=function(){this.editor.offKeyboard(this.handleKeyboard)},n.render=function(){var e=this;return c.createElement("span",{className:"button button-type-ordered",title:y.get("btnOrdered"),onClick:function(){return e.editor.insertMarkdown("order")}},c.createElement(h,{type:"list-ordered"}))},t}(E);en.pluginName="list-ordered";var er=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleKeyboard={key:"8",keyCode:56,withKey:["ctrlKey","shiftKey"],aliasCommand:!0,callback:function(){return n.editor.insertMarkdown("unordered")}},n}a(t,e);var n=t.prototype;return n.componentDidMount=function(){this.editorConfig.shortcuts&&this.editor.onKeyboard(this.handleKeyboard)},n.componentWillUnmount=function(){this.editor.offKeyboard(this.handleKeyboard)},n.render=function(){var e=this;return c.createElement("span",{className:"button button-type-unordered",title:y.get("btnUnordered"),onClick:function(){return e.editor.insertMarkdown("unordered")}},c.createElement(h,{type:"list-unordered"}))},t}(E);er.pluginName="list-unordered";var ei=function(){function e(e){void 0===e&&(e={}),this.record=[],this.recycle=[],this.initValue="";var t=e.maxSize;this.maxSize=void 0===t?100:t}var t=e.prototype;return t.push=function(e){for(var t=this.record.push(e);this.record.length>this.maxSize;)this.record.shift();return t},t.get=function(){return this.record},t.getLast=function(){var e=this.record.length;return this.record[e-1]},t.undo=function(e){var t=this.record.pop();if(void 0===t)return this.initValue;if(t!==e)return this.recycle.push(t),t;var n=this.record.pop();return void 0===n?(this.recycle.push(t),this.initValue):(this.recycle.push(t),n)},t.redo=function(){var e=this.recycle.pop();if(void 0!==e)return this.push(e),e},t.cleanRedo=function(){this.recycle=[]},t.getUndoCount=function(){return this.undo.length},t.getRedoCount=function(){return this.recycle.length},e}(),eo=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleKeyboards=[],n.lastPop=null,n.handleChange=n.handleChange.bind(i(n)),n.handleRedo=n.handleRedo.bind(i(n)),n.handleUndo=n.handleUndo.bind(i(n)),n.handleKeyboards=[{key:"y",keyCode:89,withKey:["ctrlKey"],callback:n.handleRedo},{key:"z",keyCode:90,withKey:["metaKey","shiftKey"],callback:n.handleRedo},{key:"z",keyCode:90,aliasCommand:!0,withKey:["ctrlKey"],callback:n.handleUndo}],n.logger=new ei({maxSize:n.editorConfig.loggerMaxSize}),n.editor.registerPluginApi("undo",n.handleUndo),n.editor.registerPluginApi("redo",n.handleRedo),n}a(t,e);var n=t.prototype;return n.handleUndo=function(){var e=this.logger.undo(this.editor.getMdValue());void 0!==e&&(this.pause(),this.lastPop=e,this.editor.setText(e),this.forceUpdate())},n.handleRedo=function(){var e=this.logger.redo();void 0!==e&&(this.lastPop=e,this.editor.setText(e),this.forceUpdate())},n.handleChange=function(e,t,n){var r=this;if(this.logger.getLast()!==e&&(null===this.lastPop||this.lastPop!==e)){if(this.logger.cleanRedo(),n){this.logger.push(e),this.lastPop=null,this.forceUpdate();return}this.timerId&&(window.clearTimeout(this.timerId),this.timerId=0),this.timerId=window.setTimeout(function(){r.logger.getLast()!==e&&(r.logger.push(e),r.lastPop=null,r.forceUpdate()),window.clearTimeout(r.timerId),r.timerId=0},this.editorConfig.loggerInterval)}},n.componentDidMount=function(){var e=this;this.editor.on("change",this.handleChange),this.handleKeyboards.forEach(function(t){return e.editor.onKeyboard(t)}),this.logger.initValue=this.editor.getMdValue(),this.forceUpdate()},n.componentWillUnmount=function(){var e=this;this.timerId&&window.clearTimeout(this.timerId),this.editor.off("change",this.handleChange),this.editor.unregisterPluginApi("undo"),this.editor.unregisterPluginApi("redo"),this.handleKeyboards.forEach(function(t){return e.editor.offKeyboard(t)})},n.pause=function(){this.timerId&&(window.clearTimeout(this.timerId),this.timerId=void 0)},n.render=function(){var e=this.logger.getUndoCount()>1||this.logger.initValue!==this.editor.getMdValue(),t=this.logger.getRedoCount()>0;return c.createElement(c.Fragment,null,c.createElement("span",{className:"button button-type-undo "+(e?"":"disabled"),title:y.get("btnUndo"),onClick:this.handleUndo},c.createElement(h,{type:"undo"})),c.createElement("span",{className:"button button-type-redo "+(t?"":"disabled"),title:y.get("btnRedo"),onClick:this.handleRedo},c.createElement(h,{type:"redo"})))},t}(E);eo.pluginName="logger",(l=s||(s={}))[l.SHOW_ALL=0]="SHOW_ALL",l[l.SHOW_MD=1]="SHOW_MD",l[l.SHOW_HTML=2]="SHOW_HTML";var ea=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleClick=n.handleClick.bind(i(n)),n.handleChange=n.handleChange.bind(i(n)),n.state={view:n.editor.getView()},n}a(t,e);var n=t.prototype;return n.handleClick=function(){switch(this.next){case s.SHOW_ALL:this.editor.setView({html:!0,md:!0});break;case s.SHOW_HTML:this.editor.setView({html:!0,md:!1});break;case s.SHOW_MD:this.editor.setView({html:!1,md:!0})}},n.handleChange=function(e){this.setState({view:e})},n.componentDidMount=function(){this.editor.on("viewchange",this.handleChange)},n.componentWillUnmount=function(){this.editor.off("viewchange",this.handleChange)},n.getDisplayInfo=function(){switch(this.next){case s.SHOW_ALL:return{icon:"view-split",title:"All"};case s.SHOW_HTML:return{icon:"visibility",title:"Preview"};default:return{icon:"keyboard",title:"Editor"}}},n.render=function(){if(this.isDisplay){var e=this.getDisplayInfo();return c.createElement("span",{className:"button button-type-mode",title:y.get("btnMode"+e.title),onClick:this.handleClick},c.createElement(h,{type:e.icon}))}return null},w(t,[{key:"isDisplay",get:function(){var e=this.editorConfig.canView;return!!e&&[e.html,e.md,e.both].filter(function(e){return e}).length>=2}},{key:"next",get:function(){var e=this.editorConfig.canView,t=this.state.view,n=[s.SHOW_ALL,s.SHOW_MD,s.SHOW_HTML];e&&(e.both||n.splice(n.indexOf(s.SHOW_ALL),1),e.md||n.splice(n.indexOf(s.SHOW_MD),1),e.html||n.splice(n.indexOf(s.SHOW_HTML),1));var r=s.SHOW_MD;if(t.html&&(r=s.SHOW_HTML),t.html&&t.md&&(r=s.SHOW_ALL),0===n.length)return r;if(1===n.length)return n[0];var i=n.indexOf(r);return i1&&void 0!==arguments[1]?arguments[1]:0,n=(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase();if(!("string"==typeof n&&a.test(n)))throw TypeError("Stringified UUID is invalid");return n},u=function(e,t,n){var r=(e=e||{}).random||(e.rng||o)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return c(r)}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7778.703b9939a087bf99.js b/dbgpt/app/static/web/_next/static/chunks/7778.8a842696df823e0a.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/7778.703b9939a087bf99.js rename to dbgpt/app/static/web/_next/static/chunks/7778.8a842696df823e0a.js index 489c71636..32e200a34 100644 --- a/dbgpt/app/static/web/_next/static/chunks/7778.703b9939a087bf99.js +++ b/dbgpt/app/static/web/_next/static/chunks/7778.8a842696df823e0a.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7778],{27778:function(E,T,R){R.r(T),R.d(T,{conf:function(){return A},language:function(){return I}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var A={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},I={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ABORT","ABSOLUTE","ACTION","ADA","ADD","AFTER","ALL","ALLOCATE","ALTER","ALWAYS","ANALYZE","AND","ANY","ARE","AS","ASC","ASSERTION","AT","ATTACH","AUTHORIZATION","AUTOINCREMENT","AVG","BACKUP","BEFORE","BEGIN","BETWEEN","BIT","BIT_LENGTH","BOTH","BREAK","BROWSE","BULK","BY","CASCADE","CASCADED","CASE","CAST","CATALOG","CHAR","CHARACTER","CHARACTER_LENGTH","CHAR_LENGTH","CHECK","CHECKPOINT","CLOSE","CLUSTERED","COALESCE","COLLATE","COLLATION","COLUMN","COMMIT","COMPUTE","CONFLICT","CONNECT","CONNECTION","CONSTRAINT","CONSTRAINTS","CONTAINS","CONTAINSTABLE","CONTINUE","CONVERT","CORRESPONDING","COUNT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DATE","DAY","DBCC","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFERRABLE","DEFERRED","DELETE","DENY","DESC","DESCRIBE","DESCRIPTOR","DETACH","DIAGNOSTICS","DISCONNECT","DISK","DISTINCT","DISTRIBUTED","DO","DOMAIN","DOUBLE","DROP","DUMP","EACH","ELSE","END","END-EXEC","ERRLVL","ESCAPE","EXCEPT","EXCEPTION","EXCLUDE","EXCLUSIVE","EXEC","EXECUTE","EXISTS","EXIT","EXPLAIN","EXTERNAL","EXTRACT","FAIL","FALSE","FETCH","FILE","FILLFACTOR","FILTER","FIRST","FLOAT","FOLLOWING","FOR","FOREIGN","FORTRAN","FOUND","FREETEXT","FREETEXTTABLE","FROM","FULL","FUNCTION","GENERATED","GET","GLOB","GLOBAL","GO","GOTO","GRANT","GROUP","GROUPS","HAVING","HOLDLOCK","HOUR","IDENTITY","IDENTITYCOL","IDENTITY_INSERT","IF","IGNORE","IMMEDIATE","IN","INCLUDE","INDEX","INDEXED","INDICATOR","INITIALLY","INNER","INPUT","INSENSITIVE","INSERT","INSTEAD","INT","INTEGER","INTERSECT","INTERVAL","INTO","IS","ISNULL","ISOLATION","JOIN","KEY","KILL","LANGUAGE","LAST","LEADING","LEFT","LEVEL","LIKE","LIMIT","LINENO","LOAD","LOCAL","LOWER","MATCH","MATERIALIZED","MAX","MERGE","MIN","MINUTE","MODULE","MONTH","NAMES","NATIONAL","NATURAL","NCHAR","NEXT","NO","NOCHECK","NONCLUSTERED","NONE","NOT","NOTHING","NOTNULL","NULL","NULLIF","NULLS","NUMERIC","OCTET_LENGTH","OF","OFF","OFFSET","OFFSETS","ON","ONLY","OPEN","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","OPTION","OR","ORDER","OTHERS","OUTER","OUTPUT","OVER","OVERLAPS","PAD","PARTIAL","PARTITION","PASCAL","PERCENT","PIVOT","PLAN","POSITION","PRAGMA","PRECEDING","PRECISION","PREPARE","PRESERVE","PRIMARY","PRINT","PRIOR","PRIVILEGES","PROC","PROCEDURE","PUBLIC","QUERY","RAISE","RAISERROR","RANGE","READ","READTEXT","REAL","RECONFIGURE","RECURSIVE","REFERENCES","REGEXP","REINDEX","RELATIVE","RELEASE","RENAME","REPLACE","REPLICATION","RESTORE","RESTRICT","RETURN","RETURNING","REVERT","REVOKE","RIGHT","ROLLBACK","ROW","ROWCOUNT","ROWGUIDCOL","ROWS","RULE","SAVE","SAVEPOINT","SCHEMA","SCROLL","SECOND","SECTION","SECURITYAUDIT","SELECT","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","SESSION","SESSION_USER","SET","SETUSER","SHUTDOWN","SIZE","SMALLINT","SOME","SPACE","SQL","SQLCA","SQLCODE","SQLERROR","SQLSTATE","SQLWARNING","STATISTICS","SUBSTRING","SUM","SYSTEM_USER","TABLE","TABLESAMPLE","TEMP","TEMPORARY","TEXTSIZE","THEN","TIES","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TOP","TRAILING","TRAN","TRANSACTION","TRANSLATE","TRANSLATION","TRIGGER","TRIM","TRUE","TRUNCATE","TRY_CONVERT","TSEQUAL","UNBOUNDED","UNION","UNIQUE","UNKNOWN","UNPIVOT","UPDATE","UPDATETEXT","UPPER","USAGE","USE","USER","USING","VACUUM","VALUE","VALUES","VARCHAR","VARYING","VIEW","VIRTUAL","WAITFOR","WHEN","WHENEVER","WHERE","WHILE","WINDOW","WITH","WITHIN GROUP","WITHOUT","WORK","WRITE","WRITETEXT","YEAR","ZONE"],operators:["ALL","AND","ANY","BETWEEN","EXISTS","IN","LIKE","NOT","OR","SOME","EXCEPT","INTERSECT","UNION","APPLY","CROSS","FULL","INNER","JOIN","LEFT","OUTER","RIGHT","CONTAINS","FREETEXT","IS","NULL","PIVOT","UNPIVOT","MATCHED"],builtinFunctions:["AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","SUM","STDEV","STDEVP","VAR","VARP","CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","COLLATE","COLLATIONPROPERTY","TERTIARY_WEIGHTS","FEDERATION_FILTERING_VALUE","CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE","ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY","CURSOR_STATUS","DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY","CURRENT_TIMESTAMP","DATEADD","DATEDIFF","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","CHOOSE","COALESCE","IIF","NULLIF","ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASE_PRINCIPAL_ID","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY","DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME","ASCII","CHAR","CHARINDEX","CONCAT","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STUFF","SUBSTRING","UNICODE","UPPER","BINARY_CHECKSUM","CHECKSUM","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","ERROR_LINE","ERROR_NUMBER","ERROR_MESSAGE","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GETANSINULL","GET_FILESTREAM_TRANSACTION_CONTEXT","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","XACT_STATE","TEXTPTR","TEXTVALID","COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE","CHANGETABLE","CHANGE_TRACKING_CONTEXT","CHANGE_TRACKING_CURRENT_VERSION","CHANGE_TRACKING_IS_COLUMN_IN_MASK","CHANGE_TRACKING_MIN_VALID_VERSION","CONTAINSTABLE","FREETEXTTABLE","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","FILETABLEROOTPATH","GETFILENAMESPACEPATH","GETPATHLOCATOR","PATHNAME","GET_TRANSMISSION_STATUS"],builtinVariables:["@@DATEFIRST","@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION","@@CURSOR_ROWS","@@FETCH_STATUS","@@DATEFIRST","@@PROCID","@@ERROR","@@IDENTITY","@@ROWCOUNT","@@TRANCOUNT","@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACKET_ERRORS","@@PACK_RECEIVED","@@PACK_SENT","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE"],pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@keywords":"keyword","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7835.e82a1ccaa937e92d.js b/dbgpt/app/static/web/_next/static/chunks/7835.678c71345b78788c.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/7835.e82a1ccaa937e92d.js rename to dbgpt/app/static/web/_next/static/chunks/7835.678c71345b78788c.js index f9095638d..194ba5472 100644 --- a/dbgpt/app/static/web/_next/static/chunks/7835.e82a1ccaa937e92d.js +++ b/dbgpt/app/static/web/_next/static/chunks/7835.678c71345b78788c.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7835],{47835:function(e,t,p){p.r(t),p.d(t,{conf:function(){return n},language:function(){return i}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],folding:{markers:{start:RegExp("^\\s*(#|//)region\\b"),end:RegExp("^\\s*(#|//)endregion\\b")}}},i={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],phpInSimpleState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3"}],{include:"phpRoot"}],phpInEmbeddedState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"phpRoot"}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:"keyword.php"},"@phpCompileTimeConstants":{token:"constant.php"},"@default":"identifier.php"}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:"variable.predefined.php"},"@default":"variable.php"}}],[/[{}]/,"delimiter.bracket.php"],[/[\[\]]/,"delimiter.array.php"],[/[()]/,"delimiter.parenthesis.php"],[/[ \t\r\n]+/],[/(#|\/\/)$/,"comment.php"],[/(#|\/\/)/,"comment.php","@phpLineComment"],[/\/\*/,"comment.php","@phpComment"],[/"/,"string.php","@phpDoubleQuoteString"],[/'/,"string.php","@phpSingleQuoteString"],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,"delimiter.php"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.php"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.php"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.php"],[/0[0-7']*[0-7]/,"number.octal.php"],[/0[bB][0-1']*[0-1]/,"number.binary.php"],[/\d[\d']*/,"number.php"],[/\d/,"number.php"]],phpComment:[[/\*\//,"comment.php","@pop"],[/[^*]+/,"comment.php"],[/./,"comment.php"]],phpLineComment:[[/\?>/,{token:"@rematch",next:"@pop"}],[/.$/,"comment.php","@pop"],[/[^?]+$/,"comment.php","@pop"],[/[^?]+/,"comment.php"],[/./,"comment.php"]],phpDoubleQuoteString:[[/[^\\"]+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/"/,"string.php","@pop"]],phpSingleQuoteString:[[/[^\\']+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/'/,"string.php","@pop"]]},phpKeywords:["abstract","and","array","as","break","callable","case","catch","cfunction","class","clone","const","continue","declare","default","do","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","false","final","for","foreach","function","global","goto","if","implements","interface","instanceof","insteadof","namespace","new","null","object","old_function","or","private","protected","public","resource","static","switch","throw","trait","try","true","use","var","while","xor","die","echo","empty","exit","eval","include","include_once","isset","list","require","require_once","return","print","unset","yield","__construct"],phpCompileTimeConstants:["__CLASS__","__DIR__","__FILE__","__LINE__","__NAMESPACE__","__METHOD__","__FUNCTION__","__TRAIT__"],phpPreDefinedVariables:["$GLOBALS","$_SERVER","$_GET","$_POST","$_FILES","$_REQUEST","$_SESSION","$_ENV","$_COOKIE","$php_errormsg","$HTTP_RAW_POST_DATA","$http_response_header","$argc","$argv"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7855-b4b1ad532aea6294.js b/dbgpt/app/static/web/_next/static/chunks/7855-b4b1ad532aea6294.js new file mode 100644 index 000000000..cdd5d83c0 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/7855-b4b1ad532aea6294.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7855],{96991:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(87462),a=n(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zM464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16z"}}]},name:"appstore",theme:"filled"},r=n(13401),o=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,i.Z)({},e,{ref:t,icon:l}))})},89035:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(87462),a=n(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 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:"code",theme:"outlined"},r=n(13401),o=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,i.Z)({},e,{ref:t,icon:l}))})},50228:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(87462),a=n(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"},r=n(13401),o=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,i.Z)({},e,{ref:t,icon:l}))})},49591:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(87462),a=n(67294),l={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 32h360c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H184V184h656v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM653.3 599.4l52.2-52.2a8.01 8.01 0 00-4.7-13.6l-179.4-21c-5.1-.6-9.5 3.7-8.9 8.9l21 179.4c.8 6.6 8.9 9.4 13.6 4.7l52.4-52.4 256.2 256.2c3.1 3.1 8.2 3.1 11.3 0l42.4-42.4c3.1-3.1 3.1-8.2 0-11.3L653.3 599.4z"}}]},name:"select",theme:"outlined"},r=n(13401),o=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,i.Z)({},e,{ref:t,icon:l}))})},88484:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(87462),a=n(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},r=n(13401),o=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,i.Z)({},e,{ref:t,icon:l}))})},87547:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(87462),a=n(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},r=n(13401),o=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,i.Z)({},e,{ref:t,icon:l}))})},2487:function(e,t,n){n.d(t,{Z:function(){return Z}});var i=n(74902),a=n(67294),l=n(93967),r=n.n(l),o=n(38780),c=n(74443),s=n(53124),d=n(88258),m=n(98675),g=n(92820),f=n(25378),p=n(11300),$=n(74330);let u=a.createContext({});u.Consumer;var h=n(96159),v=n(21584),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 a=0,i=Object.getOwnPropertySymbols(e);at.indexOf(i[a])&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]]);return n};let y=a.forwardRef((e,t)=>{let n;let{prefixCls:i,children:l,actions:o,extra:c,styles:d,className:m,classNames:g,colStyle:f}=e,p=b(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:$,itemLayout:y}=(0,a.useContext)(u),{getPrefixCls:x,list:S}=(0,a.useContext)(s.E_),E=e=>{var t,n;return r()(null===(n=null===(t=null==S?void 0:S.item)||void 0===t?void 0:t.classNames)||void 0===n?void 0:n[e],null==g?void 0:g[e])},z=e=>{var t,n;return Object.assign(Object.assign({},null===(n=null===(t=null==S?void 0:S.item)||void 0===t?void 0:t.styles)||void 0===n?void 0:n[e]),null==d?void 0:d[e])},k=x("list",i),C=o&&o.length>0&&a.createElement("ul",{className:r()(`${k}-item-action`,E("actions")),key:"actions",style:z("actions")},o.map((e,t)=>a.createElement("li",{key:`${k}-item-action-${t}`},e,t!==o.length-1&&a.createElement("em",{className:`${k}-item-action-split`})))),w=$?"div":"li",O=a.createElement(w,Object.assign({},p,$?{}:{ref:t},{className:r()(`${k}-item`,{[`${k}-item-no-flex`]:!("vertical"===y?!!c:(n=!1,a.Children.forEach(l,e=>{"string"==typeof e&&(n=!0)}),!(n&&a.Children.count(l)>1)))},m)}),"vertical"===y&&c?[a.createElement("div",{className:`${k}-item-main`,key:"content"},l,C),a.createElement("div",{className:r()(`${k}-item-extra`,E("extra")),key:"extra",style:z("extra")},c)]:[l,C,(0,h.Tm)(c,{key:"extra"})]);return $?a.createElement(v.Z,{ref:t,flex:1,style:f},O):O});y.Meta=e=>{var{prefixCls:t,className:n,avatar:i,title:l,description:o}=e,c=b(e,["prefixCls","className","avatar","title","description"]);let{getPrefixCls:d}=(0,a.useContext)(s.E_),m=d("list",t),g=r()(`${m}-item-meta`,n),f=a.createElement("div",{className:`${m}-item-meta-content`},l&&a.createElement("h4",{className:`${m}-item-meta-title`},l),o&&a.createElement("div",{className:`${m}-item-meta-description`},o));return a.createElement("div",Object.assign({},c,{className:g}),i&&a.createElement("div",{className:`${m}-item-meta-avatar`},i),(l||o)&&f)};var x=n(25446),S=n(14747),E=n(83559),z=n(83262);let k=e=>{let{listBorderedCls:t,componentCls:n,paddingLG:i,margin:a,itemPaddingSM:l,itemPaddingLG:r,marginLG:o,borderRadiusLG:c}=e;return{[t]:{border:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:c,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:i},[`${n}-pagination`]:{margin:`${(0,x.bf)(a)} ${(0,x.bf)(o)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:l}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:r}}}},C=e=>{let{componentCls:t,screenSM:n,screenMD:i,marginLG:a,marginSM:l,margin:r}=e;return{[`@media screen and (max-width:${i}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:a}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:a}}}},[`@media screen and (max-width: ${n}px)`]:{[t]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:l}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${(0,x.bf)(r)}`}}}}}},w=e=>{let{componentCls:t,antCls:n,controlHeight:i,minHeight:a,paddingSM:l,marginLG:r,padding:o,itemPadding:c,colorPrimary:s,itemPaddingSM:d,itemPaddingLG:m,paddingXS:g,margin:f,colorText:p,colorTextDescription:$,motionDurationSlow:u,lineWidth:h,headerBg:v,footerBg:b,emptyTextPadding:y,metaMarginBottom:E,avatarMarginRight:z,titleMarginBottom:k,descriptionFontSize:C}=e;return{[t]:Object.assign(Object.assign({},(0,S.Wf)(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:v},[`${t}-footer`]:{background:b},[`${t}-header, ${t}-footer`]:{paddingBlock:l},[`${t}-pagination`]:{marginBlockStart:r,[`${n}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:a,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:c,color:p,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:z},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:p},[`${t}-item-meta-title`]:{margin:`0 0 ${(0,x.bf)(e.marginXXS)} 0`,color:p,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:p,transition:`all ${u}`,"&:hover":{color:s}}},[`${t}-item-meta-description`]:{color:$,fontSize:C,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${(0,x.bf)(g)}`,color:$,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:h,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${(0,x.bf)(o)} 0`,color:$,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:y,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:f,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:r},[`${t}-item-meta`]:{marginBlockEnd:E,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:k,color:p,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:o,marginInlineStart:"auto","> li":{padding:`0 ${(0,x.bf)(o)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:i},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:m},[`${t}-sm ${t}-item`]:{padding:d},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}};var O=(0,E.I$)("List",e=>{let t=(0,z.IX)(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[w(t),k(t),C(t)]},e=>({contentWidth:220,itemPadding:`${(0,x.bf)(e.paddingContentVertical)} 0`,itemPaddingSM:`${(0,x.bf)(e.paddingContentVerticalSM)} ${(0,x.bf)(e.paddingContentHorizontal)}`,itemPaddingLG:`${(0,x.bf)(e.paddingContentVerticalLG)} ${(0,x.bf)(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize})),H=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 a=0,i=Object.getOwnPropertySymbols(e);at.indexOf(i[a])&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]]);return n};function N(e){var{pagination:t=!1,prefixCls:n,bordered:l=!1,split:h=!0,className:v,rootClassName:b,style:y,children:x,itemLayout:S,loadMore:E,grid:z,dataSource:k=[],size:C,header:w,footer:N,loading:Z=!1,rowKey:M,renderItem:B,locale:j}=e,I=H(e,["pagination","prefixCls","bordered","split","className","rootClassName","style","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]);let V=t&&"object"==typeof t?t:{},[L,W]=a.useState(V.defaultCurrent||1),[P,T]=a.useState(V.defaultPageSize||10),{getPrefixCls:R,renderEmpty:A,direction:X,list:_}=a.useContext(s.E_),G=e=>(n,i)=>{var a;W(n),T(i),t&&(null===(a=null==t?void 0:t[e])||void 0===a||a.call(t,n,i))},F=G("onChange"),J=G("onShowSizeChange"),q=(e,t)=>{let n;return B?((n="function"==typeof M?M(e):M?e[M]:e.key)||(n=`list-item-${t}`),a.createElement(a.Fragment,{key:n},B(e,t))):null},D=R("list",n),[K,Y,Q]=O(D),U=Z;"boolean"==typeof U&&(U={spinning:U});let ee=!!(null==U?void 0:U.spinning),et=(0,m.Z)(C),en="";switch(et){case"large":en="lg";break;case"small":en="sm"}let ei=r()(D,{[`${D}-vertical`]:"vertical"===S,[`${D}-${en}`]:en,[`${D}-split`]:h,[`${D}-bordered`]:l,[`${D}-loading`]:ee,[`${D}-grid`]:!!z,[`${D}-something-after-last-item`]:!!(E||t||N),[`${D}-rtl`]:"rtl"===X},null==_?void 0:_.className,v,b,Y,Q),ea=(0,o.Z)({current:1,total:0},{total:k.length,current:L,pageSize:P},t||{}),el=Math.ceil(ea.total/ea.pageSize);ea.current>el&&(ea.current=el);let er=t&&a.createElement("div",{className:r()(`${D}-pagination`)},a.createElement(p.Z,Object.assign({align:"end"},ea,{onChange:F,onShowSizeChange:J}))),eo=(0,i.Z)(k);t&&k.length>(ea.current-1)*ea.pageSize&&(eo=(0,i.Z)(k).splice((ea.current-1)*ea.pageSize,ea.pageSize));let ec=Object.keys(z||{}).some(e=>["xs","sm","md","lg","xl","xxl"].includes(e)),es=(0,f.Z)(ec),ed=a.useMemo(()=>{for(let e=0;e{if(!z)return;let e=ed&&z[ed]?z[ed]:z.column;if(e)return{width:`${100/e}%`,maxWidth:`${100/e}%`}},[JSON.stringify(z),ed]),eg=ee&&a.createElement("div",{style:{minHeight:53}});if(eo.length>0){let e=eo.map((e,t)=>q(e,t));eg=z?a.createElement(g.Z,{gutter:z.gutter},a.Children.map(e,e=>a.createElement("div",{key:null==e?void 0:e.key,style:em},e))):a.createElement("ul",{className:`${D}-items`},e)}else x||ee||(eg=a.createElement("div",{className:`${D}-empty-text`},(null==j?void 0:j.emptyText)||(null==A?void 0:A("List"))||a.createElement(d.Z,{componentName:"List"})));let ef=ea.position||"bottom",ep=a.useMemo(()=>({grid:z,itemLayout:S}),[JSON.stringify(z),S]);return K(a.createElement(u.Provider,{value:ep},a.createElement("div",Object.assign({style:Object.assign(Object.assign({},null==_?void 0:_.style),y),className:ei},I),("top"===ef||"both"===ef)&&er,w&&a.createElement("div",{className:`${D}-header`},w),a.createElement($.Z,Object.assign({},U),eg,x),N&&a.createElement("div",{className:`${D}-footer`},N),E||("bottom"===ef||"both"===ef)&&er)))}N.Item=y;var Z=N}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8010.08f92d3b9355d0e3.js b/dbgpt/app/static/web/_next/static/chunks/8010.49bbd2a41ac9e3cf.js similarity index 80% rename from dbgpt/app/static/web/_next/static/chunks/8010.08f92d3b9355d0e3.js rename to dbgpt/app/static/web/_next/static/chunks/8010.49bbd2a41ac9e3cf.js index fafd18cd9..166693d7b 100644 --- a/dbgpt/app/static/web/_next/static/chunks/8010.08f92d3b9355d0e3.js +++ b/dbgpt/app/static/web/_next/static/chunks/8010.49bbd2a41ac9e3cf.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8010],{19357:function(t,e,n){"use strict";n.r(e),n.d(e,{SQLDocument:function(){return tz},SQLType:function(){return s},plugins:function(){return t$}}),(E=s||(s={}))[E.MySQL=0]="MySQL",E[E.Oracle=1]="Oracle",E[E.OBMySQL=2]="OBMySQL";var r,i,o,E,s,a,T,u,c,S,l=function(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i0&&this.indentTypes.pop()===_;);},t}(),D=function(){function t(){this.level=0}return t.prototype.beginIfPossible=function(t,e){0===this.level&&this.isInlineBlock(t,e)?this.level=1:this.level>0?this.level++:this.level=0},t.prototype.end=function(){this.level--},t.prototype.isActive=function(){return this.level>0},t.prototype.isInlineBlock=function(t,e){for(var n,r=0,i=0,o=e-1;o>=0;o--){var E=t[o];if(E&&(null===(n=E.value)||void 0===n?void 0:n.trim())){if(this.isRelineFunctionPrefix(E))return!1;break}}for(var o=e;o50)break;if(E.type===O.OPEN_PAREN)i++;else if(E.type===O.CLOSE_PAREN&&0==--i)return!0;if(this.isForbiddenToken(E))break}return!1},t.prototype.isForbiddenToken=function(t){var e=t.type,n=t.value;return e===O.RESERVED_TOPLEVEL||e===O.RESERVED_NEWLINE||e===O.LINE_COMMENT||e===O.BLOCK_COMMENT||";"===n},t.prototype.isRelineFunctionPrefix=function(t){return t.type===O.RELINE_FUNCTION},t}(),M=function(){function t(t){this.index=0,this.params=t}return t.prototype.get=function(t){var e=t.key,n=t.value;return this.params?e?this.params[e]:this.params[this.index++]:n},t}(),P=function(){function t(t,e){this.cfg={},this.previousReservedWord={},this.tokens=[],this.index=0,this.cfg=t||{},this.indentation=new d(this.cfg.indent),this.inlineBlock=new D,this.params=new M(this.cfg.params),this.tokenizer=e}return t.prototype.format=function(t){return this.tokens=this.tokenizer.tokenize(t),this.getFormattedQueryFromTokens().trim()},t.prototype.getFormattedQueryFromTokens=function(){var t=this,e="";return this.tokens.forEach(function(n,r){t.index=r,n.type===O.WHITESPACE||(n.type===O.LINE_COMMENT?e=t.formatLineComment(n,e):n.type===O.BLOCK_COMMENT?e=t.formatBlockComment(n,e):n.type===O.RESERVED_TOPLEVEL?(e=t.formatToplevelReservedWord(n,e),t.previousReservedWord=n):n.type===O.RESERVED_NEWLINE?(e=t.formatNewlineReservedWord(n,e),t.previousReservedWord=n):n.type===O.RESERVED?(e=t.formatWithSpaces(n,e),t.previousReservedWord=n):e=n.type===O.OPEN_PAREN?t.formatOpeningParentheses(n,e):n.type===O.CLOSE_PAREN?t.formatClosingParentheses(n,e):n.type===O.PLACEHOLDER?t.formatPlaceholder(n,e):","===n.value?t.formatComma(n,e):":"===n.value?t.formatWithSpaceAfter(n,e):"."===n.value?t.formatWithoutSpaces(n,e):";"===n.value?t.formatQuerySeparator(n,e):t.formatWithSpaces(n,e))}),e},t.prototype.formatLineComment=function(t,e){return this.addNewline(e+t.value)},t.prototype.formatBlockComment=function(t,e){return this.addNewline(this.addNewline(e)+this.indentComment(t.value))},t.prototype.indentComment=function(t){return t.replace(/\n/g,"\n"+this.indentation.getIndent())},t.prototype.formatToplevelReservedWord=function(t,e){return this.indentation.decreaseTopLevel(),e=this.addNewline(e),this.indentation.increaseToplevel(),e+=this.equalizeWhitespace(t.value),this.addNewline(e)},t.prototype.formatNewlineReservedWord=function(t,e){return this.addNewline(e)+this.equalizeWhitespace(t.value)+" "},t.prototype.equalizeWhitespace=function(t){return t.replace(/\s+/g," ")},t.prototype.formatOpeningParentheses=function(t,e){var n=[O.WHITESPACE,O.OPEN_PAREN,O.LINE_COMMENT];return p()(n,this.previousToken().type)||(e=N()(e)),e+=t.value,this.inlineBlock.beginIfPossible(this.tokens,this.index),this.inlineBlock.isActive()||(this.indentation.increaseBlockLevel(),e=this.addNewline(e)),e},t.prototype.formatClosingParentheses=function(t,e){return this.inlineBlock.isActive()?(this.inlineBlock.end(),this.formatWithSpaceAfter(t,e)):(this.indentation.decreaseBlockLevel(),this.formatWithSpaces(t,this.addNewline(e)))},t.prototype.formatPlaceholder=function(t,e){return e+this.params.get(t)+" "},t.prototype.formatComma=function(t,e){return(e=this.trimTrailingWhitespace(e)+t.value+" ",this.inlineBlock.isActive())?e:/^LIMIT$/i.test(this.previousReservedWord.value)?e:this.addNewline(e)},t.prototype.formatWithSpaceAfter=function(t,e){return this.trimTrailingWhitespace(e)+t.value+" "},t.prototype.formatWithoutSpaces=function(t,e){return this.trimTrailingWhitespace(e)+t.value},t.prototype.formatWithSpaces=function(t,e){return e+t.value+" "},t.prototype.formatQuerySeparator=function(t,e){return this.trimTrailingWhitespace(e)+t.value+"\n"},t.prototype.addNewline=function(t){return N()(t)+"\n"+this.indentation.getIndent()},t.prototype.trimTrailingWhitespace=function(t){return this.previousNonWhitespaceToken().type===O.LINE_COMMENT?N()(t)+"\n":N()(t)},t.prototype.previousNonWhitespaceToken=function(){for(var t=1;this.previousToken(t).type===O.WHITESPACE;)t++;return this.previousToken(t)},t.prototype.previousToken=function(t){return void 0===t&&(t=1),this.tokens[this.index-t]||{}},t}(),y=n(41609),g=n.n(y),U=n(3522),v=n.n(U),m=function(){function t(t){this.WHITESPACE_REGEX=/^(\s+)/,this.NUMBER_REGEX=/^((-\s*)?[0-9]+(\.[0-9]+)?|0x[0-9a-fA-F]+|0b[01]+)\b/,this.OPERATOR_REGEX=/^(!=|<>|==|=>|<=|>=|:=|!<|!>|\|\||::|->>|->|~~\*|~~|!~~\*|!~~|~\*|!~\*|!~|<<|>>|.)/,this.BLOCK_COMMENT_REGEX=/^(\/\*[^]*?(?:\*\/|$))/,this.LINE_COMMENT_REGEX=this.createLineCommentRegex(t.lineCommentTypes),this.RESERVED_TOPLEVEL_REGEX=this.createReservedWordRegex(t.reservedToplevelWords),this.RESERVED_NEWLINE_REGEX=this.createReservedWordRegex(t.reservedNewlineWords),this.RESERVED_PLAIN_REGEX=this.createReservedWordRegex(t.reservedWords),this.RELINE_FUNCTION_PREFIX=this.createRelineFunctionPrefix(t.relineFunctionPrefix),this.WORD_REGEX=this.createWordRegex(t.specialWordChars),this.STRING_REGEX=this.createStringRegex(t.stringTypes),this.OPEN_PAREN_REGEX=this.createParenRegex(t.openParens),this.CLOSE_PAREN_REGEX=this.createParenRegex(t.closeParens),this.INDEXED_PLACEHOLDER_REGEX=this.createPlaceholderRegex(t.indexedPlaceholderTypes,"[0-9]*"),this.IDENT_NAMED_PLACEHOLDER_REGEX=this.createPlaceholderRegex(t.namedPlaceholderTypes,"[a-zA-Z0-9._$]+"),this.STRING_NAMED_PLACEHOLDER_REGEX=this.createPlaceholderRegex(t.namedPlaceholderTypes,this.createStringPattern(t.stringTypes))}return t.prototype.createLineCommentRegex=function(t){return new RegExp("^((?:".concat(t.map(function(t){return v()(t)}).join("|"),").*?(?:\n|$|\r\n))"))},t.prototype.createReservedWordRegex=function(t){var e=t.join("|").replace(/ /g,"\\s+");return RegExp("^(".concat(e,")\\b"),"i")},t.prototype.createRelineFunctionPrefix=function(t){var e=null==t?void 0:t.join("|").replace(/ /g,"\\s+");return RegExp("^(".concat(e,")\\b"),"i")},t.prototype.createWordRegex=function(t){return void 0===t&&(t=[]),new RegExp("^([\\w".concat(t.join(""),"]+)"))},t.prototype.createStringRegex=function(t){return RegExp("^("+this.createStringPattern(t)+")")},t.prototype.createStringPattern=function(t){var e={"``":"((`[^`]*($|`))+)","[]":"((\\[[^\\]]*($|\\]))(\\][^\\]]*($|\\]))*)",'""':'(("[^"\\\\]*(?:\\\\.[^"\\\\]*)*("|$))+)',"''":"(('[^'\\\\]*(?:\\\\.[^'\\\\]*)*('|$))+)","N''":"((N'[^N'\\\\]*(?:\\\\.[^N'\\\\]*)*('|$))+)","'\\'":"(('[^''']*(?:[^''']*)*('|$))+)"};return t.map(function(t){return e[t]}).join("|")},t.prototype.createParenRegex=function(t){var e=this;return RegExp("^("+t.map(function(t){return e.escapeParen(t)}).join("|")+")","i")},t.prototype.escapeParen=function(t){return 1===t.length?v()(t):"\\b"+t+"\\b"},t.prototype.createPlaceholderRegex=function(t,e){if(g()(t))return!1;var n=t.map(v()).join("|");return new RegExp("^((?:".concat(n,")(?:").concat(e,"))"))},t.prototype.tokenize=function(t){for(var e,n=[];t.length;)e=this.getNextToken(t,e),t=t.substring(e.value.length),n.push(e);return n},t.prototype.getNextToken=function(t,e){return this.getWhitespaceToken(t)||this.getCommentToken(t)||this.getStringToken(t)||this.getOpenParenToken(t)||this.getCloseParenToken(t)||this.getPlaceholderToken(t)||this.getNumberToken(t)||this.getReservedWordToken(t,e)||this.getRelineFunctionPrefix(t)||this.getWordToken(t)||this.getOperatorToken(t)},t.prototype.getWhitespaceToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.WHITESPACE,regex:this.WHITESPACE_REGEX})},t.prototype.getCommentToken=function(t){return this.getLineCommentToken(t)||this.getBlockCommentToken(t)},t.prototype.getLineCommentToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.LINE_COMMENT,regex:this.LINE_COMMENT_REGEX})},t.prototype.getBlockCommentToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.BLOCK_COMMENT,regex:this.BLOCK_COMMENT_REGEX})},t.prototype.getStringToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.STRING,regex:this.STRING_REGEX})},t.prototype.getOpenParenToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.OPEN_PAREN,regex:this.OPEN_PAREN_REGEX})},t.prototype.getCloseParenToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.CLOSE_PAREN,regex:this.CLOSE_PAREN_REGEX})},t.prototype.getPlaceholderToken=function(t){return this.getIdentNamedPlaceholderToken(t)||this.getStringNamedPlaceholderToken(t)||this.getIndexedPlaceholderToken(t)},t.prototype.getIdentNamedPlaceholderToken=function(t){return this.getPlaceholderTokenWithKey({input:t,regex:this.IDENT_NAMED_PLACEHOLDER_REGEX,parseKey:function(t){return t.slice(1)}})},t.prototype.getStringNamedPlaceholderToken=function(t){var e=this;return this.getPlaceholderTokenWithKey({input:t,regex:this.STRING_NAMED_PLACEHOLDER_REGEX,parseKey:function(t){return e.getEscapedPlaceholderKey({key:t.slice(2,-1),quoteChar:t.slice(-1)})}})},t.prototype.getIndexedPlaceholderToken=function(t){return this.getPlaceholderTokenWithKey({input:t,regex:this.INDEXED_PLACEHOLDER_REGEX,parseKey:function(t){return t.slice(1)}})},t.prototype.getPlaceholderTokenWithKey=function(t){var e=t.input,n=t.regex,r=t.parseKey,i=this.getTokenOnFirstMatch({input:e,regex:n,type:O.PLACEHOLDER});return i&&(i.key=r(i.value)),i},t.prototype.getEscapedPlaceholderKey=function(t){var e=t.key,n=t.quoteChar;return e.replace(RegExp(v()("\\")+n,"g"),n)},t.prototype.getNumberToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.NUMBER,regex:this.NUMBER_REGEX})},t.prototype.getOperatorToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.OPERATOR,regex:this.OPERATOR_REGEX})},t.prototype.getReservedWordToken=function(t,e){if(!e||!e.value||"."!==e.value)return this.getToplevelReservedToken(t)||this.getNewlineReservedToken(t)||this.getPlainReservedToken(t)},t.prototype.getToplevelReservedToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.RESERVED_TOPLEVEL,regex:this.RESERVED_TOPLEVEL_REGEX})},t.prototype.getRelineFunctionPrefix=function(t){return this.getTokenOnFirstMatch({input:t,type:O.RELINE_FUNCTION,regex:this.RELINE_FUNCTION_PREFIX})},t.prototype.getNewlineReservedToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.RESERVED_NEWLINE,regex:this.RESERVED_NEWLINE_REGEX})},t.prototype.getPlainReservedToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.RESERVED,regex:this.RESERVED_PLAIN_REGEX})},t.prototype.getWordToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.WORD,regex:this.WORD_REGEX})},t.prototype.getTokenOnFirstMatch=function(t){var e=t.input,n=t.type,r=t.regex,i=e.match(r);if(i)return{type:n,value:i[1]}},t}(),x=["ABS","ACTIVATE","ALIAS","ALL","ALLOCATE","ALLOW","ALTER","ANY","ARE","ARRAY","AS","ASC","ASENSITIVE","ASSOCIATE","ASUTIME","ASYMMETRIC","AT","ATOMIC","ATTRIBUTES","AUDIT","AUTHORIZATION","AUX","AUXILIARY","AVG","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BLOB","BOOLEAN","BOTH","BUFFERPOOL","BY","CACHE","CALL","CALLED","CAPTURE","CARDINALITY","CASCADED","CASE","CAST","CCSID","CEIL","CEILING","CHAR","CHARACTER","CHARACTER_LENGTH","CHAR_LENGTH","CHECK","CLOB","CLONE","CLOSE","CLUSTER","COALESCE","COLLATE","COLLECT","COLLECTION","COLLID","COLUMN","COMMENT","COMMIT","CONCAT","CONDITION","CONNECT","CONNECTION","CONSTRAINT","CONTAINS","CONTINUE","CONVERT","CORR","CORRESPONDING","COUNT","COUNT_BIG","COVAR_POP","COVAR_SAMP","CREATE","CROSS","CUBE","CUME_DIST","CURRENT","CURRENT_DATE","CURRENT_DEFAULT_TRANSFORM_GROUP","CURRENT_LC_CTYPE","CURRENT_PATH","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_SERVER","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_TRANSFORM_GROUP_FOR_TYPE","CURRENT_USER","CURSOR","CYCLE","DATA","DATABASE","DATAPARTITIONNAME","DATAPARTITIONNUM","DATE","DAY","DAYS","DB2GENERAL","DB2GENRL","DB2SQL","DBINFO","DBPARTITIONNAME","DBPARTITIONNUM","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFINITION","DELETE","DENSERANK","DENSE_RANK","DEREF","DESCRIBE","DESCRIPTOR","DETERMINISTIC","DIAGNOSTICS","DISABLE","DISALLOW","DISCONNECT","DISTINCT","DO","DOCUMENT","DOUBLE","DROP","DSSIZE","DYNAMIC","EACH","EDITPROC","ELEMENT","ELSE","ELSEIF","ENABLE","ENCODING","ENCRYPTION","END","END-EXEC","ENDING","ERASE","ESCAPE","EVERY","EXCEPTION","EXCLUDING","EXCLUSIVE","EXEC","EXECUTE","EXISTS","EXIT","EXP","EXPLAIN","EXTENDED","EXTERNAL","EXTRACT","FALSE","FENCED","FETCH","FIELDPROC","FILE","FILTER","FINAL","FIRST","FLOAT","FLOOR","FOR","FOREIGN","FREE","FULL","FUNCTION","FUSION","GENERAL","GENERATED","GET","GLOBAL","GOTO","GRANT","GRAPHIC","GROUP","GROUPING","HANDLER","HASH","HASHED_VALUE","HINT","HOLD","HOUR","HOURS","IDENTITY","IF","IMMEDIATE","IN","INCLUDING","INCLUSIVE","INCREMENT","INDEX","INDICATOR","INDICATORS","INF","INFINITY","INHERIT","INNER","INOUT","INSENSITIVE","INSERT","INT","INTEGER","INTEGRITY","INTERSECTION","INTERVAL","INTO","IS","ISOBID","ISOLATION","ITERATE","JAR","JAVA","KEEP","KEY","LABEL","LANGUAGE","LARGE","LATERAL","LC_CTYPE","LEADING","LEAVE","LEFT","LIKE","LINKTYPE","LN","LOCAL","LOCALDATE","LOCALE","LOCALTIME","LOCALTIMESTAMP","LOCATOR","LOCATORS","LOCK","LOCKMAX","LOCKSIZE","LONG","LOOP","LOWER","MAINTAINED","MATCH","MATERIALIZED","MAX","MAXVALUE","MEMBER","MERGE","METHOD","MICROSECOND","MICROSECONDS","MIN","MINUTE","MINUTES","MINVALUE","MOD","MODE","MODIFIES","MODULE","MONTH","MONTHS","MULTISET","NAN","NATIONAL","NATURAL","NCHAR","NCLOB","NEW","NEW_TABLE","NEXTVAL","NO","NOCACHE","NOCYCLE","NODENAME","NODENUMBER","NOMAXVALUE","NOMINVALUE","NONE","NOORDER","NORMALIZE","NORMALIZED","NOT","NULL","NULLIF","NULLS","NUMERIC","NUMPARTS","OBID","OCTET_LENGTH","OF","OFFSET","OLD","OLD_TABLE","ON","ONLY","OPEN","OPTIMIZATION","OPTIMIZE","OPTION","ORDER","OUT","OUTER","OVER","OVERLAPS","OVERLAY","OVERRIDING","PACKAGE","PADDED","PAGESIZE","PARAMETER","PART","PARTITION","PARTITIONED","PARTITIONING","PARTITIONS","PASSWORD","PATH","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","PIECESIZE","PLAN","POSITION","POWER","PRECISION","PREPARE","PREVVAL","PRIMARY","PRIQTY","PRIVILEGES","PROCEDURE","PROGRAM","PSID","PUBLIC","QUERY","QUERYNO","RANGE","RANK","READ","READS","REAL","RECOVERY","RECURSIVE","REF","REFERENCES","REFERENCING","REFRESH","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","RELEASE","RENAME","REPEAT","RESET","RESIGNAL","RESTART","RESTRICT","RESULT","RESULT_SET_LOCATOR","RETURN","RETURNS","REVOKE","RIGHT","ROLE","ROLLBACK","ROLLUP","ROUND_CEILING","ROUND_DOWN","ROUND_FLOOR","ROUND_HALF_DOWN","ROUND_HALF_EVEN","ROUND_HALF_UP","ROUND_UP","ROUTINE","ROW","ROWNUMBER","ROWS","ROWSET","ROW_NUMBER","RRN","RUN","SAVEPOINT","SCHEMA","SCOPE","SCRATCHPAD","SCROLL","SEARCH","SECOND","SECONDS","SECQTY","SECURITY","SENSITIVE","SEQUENCE","SESSION","SESSION_USER","SIGNAL","SIMILAR","SIMPLE","SMALLINT","SNAN","SOME","SOURCE","SPECIFIC","SPECIFICTYPE","SQL","SQLEXCEPTION","SQLID","SQLSTATE","SQLWARNING","SQRT","STACKED","STANDARD","START","STARTING","STATEMENT","STATIC","STATMENT","STAY","STDDEV_POP","STDDEV_SAMP","STOGROUP","STORES","STYLE","SUBMULTISET","SUBSTRING","SUM","SUMMARY","SYMMETRIC","SYNONYM","SYSFUN","SYSIBM","SYSPROC","SYSTEM","SYSTEM_USER","TABLE","TABLESAMPLE","TABLESPACE","THEN","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TRAILING","TRANSACTION","TRANSLATE","TRANSLATION","TREAT","TRIGGER","TRIM","TRUE","TRUNCATE","TYPE","UESCAPE","UNDO","UNIQUE","UNKNOWN","UNNEST","UNTIL","UPPER","USAGE","USER","USING","VALIDPROC","VALUE","VARCHAR","VARIABLE","VARIANT","VARYING","VAR_POP","VAR_SAMP","VCAT","VERSION","VIEW","VOLATILE","VOLUMES","WHEN","WHENEVER","WHILE","WIDTH_BUCKET","WINDOW","WITH","WITHIN","WITHOUT","WLM","WRITE","XMLELEMENT","XMLEXISTS","XMLNAMESPACES","YEAR","YEARS"],F=["ADD","AFTER","ALTER COLUMN","ALTER TABLE","DELETE FROM","EXCEPT","FETCH FIRST","FROM","GROUP BY","GO","HAVING","INSERT INTO","INTERSECT","LIMIT","ORDER BY","SELECT","SET CURRENT SCHEMA","SET SCHEMA","SET","UNION ALL","UPDATE","VALUES","WHERE"],G=["AND","CROSS JOIN","INNER JOIN","JOIN","LEFT JOIN","LEFT OUTER JOIN","OR","OUTER JOIN","RIGHT JOIN","RIGHT OUTER JOIN"],B=function(){function t(t){this.cfg=t}return t.prototype.format=function(t){return a||(a=new m({reservedWords:x,reservedToplevelWords:F,reservedNewlineWords:G,stringTypes:['""',"''","``","[]"],openParens:["("],closeParens:[")"],indexedPlaceholderTypes:["?"],namedPlaceholderTypes:[":"],lineCommentTypes:["--"],specialWordChars:["#","@"]})),new P(this.cfg,a).format(t)},t}(),H=["ALL","ALTER","ANALYZE","AND","ANY","ARRAY","AS","ASC","BEGIN","BETWEEN","BINARY","BOOLEAN","BREAK","BUCKET","BUILD","BY","CALL","CASE","CAST","CLUSTER","COLLATE","COLLECTION","COMMIT","CONNECT","CONTINUE","CORRELATE","COVER","CREATE","DATABASE","DATASET","DATASTORE","DECLARE","DECREMENT","DELETE","DERIVED","DESC","DESCRIBE","DISTINCT","DO","DROP","EACH","ELEMENT","ELSE","END","EVERY","EXCEPT","EXCLUDE","EXECUTE","EXISTS","EXPLAIN","FALSE","FETCH","FIRST","FLATTEN","FOR","FORCE","FROM","FUNCTION","GRANT","GROUP","GSI","HAVING","IF","IGNORE","ILIKE","IN","INCLUDE","INCREMENT","INDEX","INFER","INLINE","INNER","INSERT","INTERSECT","INTO","IS","JOIN","KEY","KEYS","KEYSPACE","KNOWN","LAST","LEFT","LET","LETTING","LIKE","LIMIT","LSM","MAP","MAPPING","MATCHED","MATERIALIZED","MERGE","MINUS","MISSING","NAMESPACE","NEST","NOT","NULL","NUMBER","OBJECT","OFFSET","ON","OPTION","OR","ORDER","OUTER","OVER","PARSE","PARTITION","PASSWORD","PATH","POOL","PREPARE","PRIMARY","PRIVATE","PRIVILEGE","PROCEDURE","PUBLIC","RAW","REALM","REDUCE","RENAME","RETURN","RETURNING","REVOKE","RIGHT","ROLE","ROLLBACK","SATISFIES","SCHEMA","SELECT","SELF","SEMI","SET","SHOW","SOME","START","STATISTICS","STRING","SYSTEM","THEN","TO","TRANSACTION","TRIGGER","TRUE","TRUNCATE","UNDER","UNION","UNIQUE","UNKNOWN","UNNEST","UNSET","UPDATE","UPSERT","USE","USER","USING","VALIDATE","VALUE","VALUED","VALUES","VIA","VIEW","WHEN","WHERE","WHILE","WITH","WITHIN","WORK","XOR"],Y=["DELETE FROM","EXCEPT ALL","EXCEPT","EXPLAIN DELETE FROM","EXPLAIN UPDATE","EXPLAIN UPSERT","FROM","GROUP BY","HAVING","INFER","INSERT INTO","INTERSECT ALL","INTERSECT","LET","LIMIT","MERGE","NEST","ORDER BY","PREPARE","SELECT","SET CURRENT SCHEMA","SET SCHEMA","SET","UNION ALL","UNION","UNNEST","UPDATE","UPSERT","USE KEYS","VALUES","WHERE"],k=["AND","INNER JOIN","JOIN","LEFT JOIN","LEFT OUTER JOIN","OR","OUTER JOIN","RIGHT JOIN","RIGHT OUTER JOIN","XOR"],V=function(){function t(t){this.cfg=t}return t.prototype.format=function(t){return T||(T=new m({reservedWords:H,reservedToplevelWords:Y,reservedNewlineWords:k,stringTypes:['""',"''","``"],openParens:["(","[","{"],closeParens:[")","]","}"],namedPlaceholderTypes:["$"],lineCommentTypes:["#","--"]})),new P(this.cfg,T).format(t)},t}(),b=["ACCESSIBLE","AGENT","AGGREGATE","ALL","ALTER","ANY","ARRAY","AS","ASC","AT","ATTRIBUTE","AUTHID","AVG","BETWEEN","BFILE_BASE","BINARY_INTEGER","BINARY","BLOB_BASE","BLOCK","BODY","BOOLEAN","BOTH","BOUND","BULK","BY","BYTE","CALL","CALLING","CASCADE","CASE","CHAR_BASE","CHAR","CHARACTER","CHARSET","CHARSETFORM","CHARSETID","CHECK","CLOB_BASE","CLONE","CLOSE","CLUSTER","CLUSTERS","COALESCE","COLAUTH","COLLECT","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPILED","COMPRESS","CONNECT","CONSTANT","CONSTRUCTOR","CONTEXT","CONTINUE","CONVERT","COUNT","CRASH","CREATE","CREDENTIAL","CURRENT","CURRVAL","CURSOR","CUSTOMDATUM","DANGLING","DATA","DATE_BASE","DATE","DAY","DECIMAL","DEFAULT","DEFINE","DELETE","DESC","DETERMINISTIC","DIRECTORY","DISTINCT","DO","DOUBLE","DROP","DURATION","ELEMENT","ELSIF","EMPTY","ESCAPE","EXCEPTIONS","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXTENDS","EXTERNAL","EXTRACT","FALSE","FETCH","FINAL","FIRST","FIXED","FLOAT","FOR","FORALL","FORCE","FROM","FUNCTION","GENERAL","GOTO","GRANT","GROUP","HASH","HEAP","HIDDEN","HOUR","IDENTIFIED","IF","IMMEDIATE","IN","INCLUDING","INDEX","INDEXES","INDICATOR","INDICES","INFINITE","INSTANTIABLE","INT","INTEGER","INTERFACE","INTERVAL","INTO","INVALIDATE","IS","ISOLATION","JAVA","LANGUAGE","LARGE","LEADING","LENGTH","LEVEL","LIBRARY","LIKE","LIKE2","LIKE4","LIKEC","LIMITED","LOCAL","LOCK","LONG","MAP","MAX","MAXLEN","MEMBER","MERGE","MIN","MINUS","MINUTE","MLSLABEL","MOD","MODE","MONTH","MULTISET","NAME","NAN","NATIONAL","NATIVE","NATURAL","NATURALN","NCHAR","NEW","NEXTVAL","NOCOMPRESS","NOCOPY","NOT","NOWAIT","NULL","NULLIF","NUMBER_BASE","NUMBER","OBJECT","OCICOLL","OCIDATE","OCIDATETIME","OCIDURATION","OCIINTERVAL","OCILOBLOCATOR","OCINUMBER","OCIRAW","OCIREF","OCIREFCURSOR","OCIROWID","OCISTRING","OCITYPE","OF","OLD","ON","ONLY","OPAQUE","OPEN","OPERATOR","OPTION","ORACLE","ORADATA","ORDER","ORGANIZATION","ORLANY","ORLVARY","OTHERS","OUT","OVERLAPS","OVERRIDING","PACKAGE","PARALLEL_ENABLE","PARAMETER","PARAMETERS","PARENT","PARTITION","PASCAL","PCTFREE","PIPE","PIPELINED","PLS_INTEGER","PLUGGABLE","POSITIVE","POSITIVEN","PRAGMA","PRECISION","PRIOR","PRIVATE","PROCEDURE","PUBLIC","RAISE","RANGE","RAW","READ","REAL","RECORD","REF","REFERENCE","RELEASE","RELIES_ON","REM","REMAINDER","RENAME","RESOURCE","RESULT_CACHE","RESULT","RETURN","RETURNING","REVERSE","REVOKE","ROLLBACK","ROW","ROWID","ROWNUM","ROWTYPE","SAMPLE","SAVE","SAVEPOINT","SB1","SB2","SB4","SECOND","SEGMENT","SELF","SEPARATE","SEQUENCE","SERIALIZABLE","SHARE","SHORT","SIZE_T","SIZE","SMALLINT","SOME","SPACE","SPARSE","SQL","SQLCODE","SQLDATA","SQLERRM","SQLNAME","SQLSTATE","STANDARD","START","STATIC","STDDEV","STORED","STRING","STRUCT","STYLE","SUBMULTISET","SUBPARTITION","SUBSTITUTABLE","SUBTYPE","SUCCESSFUL","SUM","SYNONYM","SYSDATE","TABAUTH","TABLE","TDO","THE","THEN","TIME","TIMESTAMP","TIMEZONE_ABBR","TIMEZONE_HOUR","TIMEZONE_MINUTE","TIMEZONE_REGION","TO","TRAILING","TRANSACTION","TRANSACTIONAL","TRIGGER","TRUE","TRUSTED","TYPE","UB1","UB2","UB4","UID","UNDER","UNIQUE","UNPLUG","UNSIGNED","UNTRUSTED","USE","USER","USING","VALIDATE","VALIST","VALUE","VARCHAR","VARCHAR2","VARIABLE","VARIANCE","VARRAY","VARYING","VIEW","VIEWS","VOID","WHENEVER","WHILE","WITH","WORK","WRAPPED","WRITE","YEAR","ZONE"],W=["ADD","ALTER COLUMN","ALTER TABLE","BEGIN","CONNECT BY","DECLARE","DELETE FROM","DELETE","END","EXCEPT","EXCEPTION","FETCH FIRST","FROM","GROUP BY","HAVING","INSERT INTO","INSERT","INTERSECT","LIMIT","LOOP","MODIFY","ORDER BY","SELECT","SET CURRENT SCHEMA","SET SCHEMA","SET","START WITH","UNION ALL","UNION","UPDATE","VALUES","WHERE"],K=["AND","CROSS APPLY","CROSS JOIN","ELSE","END","INNER JOIN","JOIN","LEFT JOIN","LEFT OUTER JOIN","OR","OUTER APPLY","OUTER JOIN","RIGHT JOIN","RIGHT OUTER JOIN","WHEN","XOR","INCREMENT BY"],X=["OBJECT"],w=function(){function t(t){this.cfg=t}return t.prototype.format=function(t){var e;switch(this.cfg.language){case"ob-mysql":e={reservedWords:b,reservedToplevelWords:W,reservedNewlineWords:K,relineFunctionPrefix:X,stringTypes:['""',"''","``","[]"],openParens:["("],closeParens:[")"],indexedPlaceholderTypes:["?"],namedPlaceholderTypes:[":"],lineCommentTypes:["--"],specialWordChars:["$","#","@","\\u4e00-\\u9fff"]};break;case"ob-oracle":e={reservedWords:b,reservedToplevelWords:W,reservedNewlineWords:K,relineFunctionPrefix:X,stringTypes:['""',"'\\'"],openParens:["("],closeParens:[")"],indexedPlaceholderTypes:["?"],namedPlaceholderTypes:[":"],lineCommentTypes:["--"],specialWordChars:["$","#","@","\\u4e00-\\u9fff"]}}return u||(u=new m(e)),new P(this.cfg,u).format(t)},t}(),Q=["A","ACCESSIBLE","AGENT","AGGREGATE","ALL","ALTER","ANY","ARRAY","AS","ASC","AT","ATTRIBUTE","AUTHID","AVG","BETWEEN","BFILE_BASE","BINARY_INTEGER","BINARY","BLOB_BASE","BLOCK","BODY","BOOLEAN","BOTH","BOUND","BULK","BY","BYTE","C","CALL","CALLING","CASCADE","CASE","CHAR_BASE","CHAR","CHARACTER","CHARSET","CHARSETFORM","CHARSETID","CHECK","CLOB_BASE","CLONE","CLOSE","CLUSTER","CLUSTERS","COALESCE","COLAUTH","COLLECT","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPILED","COMPRESS","CONNECT","CONSTANT","CONSTRUCTOR","CONTEXT","CONTINUE","CONVERT","COUNT","CRASH","CREATE","CREDENTIAL","CURRENT","CURRVAL","CURSOR","CUSTOMDATUM","DANGLING","DATA","DATE_BASE","DATE","DAY","DECIMAL","DEFAULT","DEFINE","DELETE","DESC","DETERMINISTIC","DIRECTORY","DISTINCT","DO","DOUBLE","DROP","DURATION","ELEMENT","ELSIF","EMPTY","ESCAPE","EXCEPTIONS","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXTENDS","EXTERNAL","EXTRACT","FALSE","FETCH","FINAL","FIRST","FIXED","FLOAT","FOR","FORALL","FORCE","FROM","FUNCTION","GENERAL","GOTO","GRANT","GROUP","HASH","HEAP","HIDDEN","HOUR","IDENTIFIED","IF","IMMEDIATE","IN","INCLUDING","INDEX","INDEXES","INDICATOR","INDICES","INFINITE","INSTANTIABLE","INT","INTEGER","INTERFACE","INTERVAL","INTO","INVALIDATE","IS","ISOLATION","JAVA","LANGUAGE","LARGE","LEADING","LENGTH","LEVEL","LIBRARY","LIKE","LIKE2","LIKE4","LIKEC","LIMITED","LOCAL","LOCK","LONG","MAP","MAX","MAXLEN","MEMBER","MERGE","MIN","MINUS","MINUTE","MLSLABEL","MOD","MODE","MONTH","MULTISET","NAME","NAN","NATIONAL","NATIVE","NATURAL","NATURALN","NCHAR","NEW","NEXTVAL","NOCOMPRESS","NOCOPY","NOT","NOWAIT","NULL","NULLIF","NUMBER_BASE","NUMBER","OBJECT","OCICOLL","OCIDATE","OCIDATETIME","OCIDURATION","OCIINTERVAL","OCILOBLOCATOR","OCINUMBER","OCIRAW","OCIREF","OCIREFCURSOR","OCIROWID","OCISTRING","OCITYPE","OF","OLD","ON","ONLY","OPAQUE","OPEN","OPERATOR","OPTION","ORACLE","ORADATA","ORDER","ORGANIZATION","ORLANY","ORLVARY","OTHERS","OUT","OVERLAPS","OVERRIDING","PACKAGE","PARALLEL_ENABLE","PARAMETER","PARAMETERS","PARENT","PARTITION","PASCAL","PCTFREE","PIPE","PIPELINED","PLS_INTEGER","PLUGGABLE","POSITIVE","POSITIVEN","PRAGMA","PRECISION","PRIOR","PRIVATE","PROCEDURE","PUBLIC","RAISE","RANGE","RAW","READ","REAL","RECORD","REF","REFERENCE","RELEASE","RELIES_ON","REM","REMAINDER","RENAME","RESOURCE","RESULT_CACHE","RESULT","RETURN","RETURNING","REVERSE","REVOKE","ROLLBACK","ROW","ROWID","ROWNUM","ROWTYPE","SAMPLE","SAVE","SAVEPOINT","SB1","SB2","SB4","SECOND","SEGMENT","SELF","SEPARATE","SEQUENCE","SERIALIZABLE","SHARE","SHORT","SIZE_T","SIZE","SMALLINT","SOME","SPACE","SPARSE","SQL","SQLCODE","SQLDATA","SQLERRM","SQLNAME","SQLSTATE","STANDARD","START","STATIC","STDDEV","STORED","STRING","STRUCT","STYLE","SUBMULTISET","SUBPARTITION","SUBSTITUTABLE","SUBTYPE","SUCCESSFUL","SUM","SYNONYM","SYSDATE","TABAUTH","TABLE","TDO","THE","THEN","TIME","TIMESTAMP","TIMEZONE_ABBR","TIMEZONE_HOUR","TIMEZONE_MINUTE","TIMEZONE_REGION","TO","TRAILING","TRANSACTION","TRANSACTIONAL","TRIGGER","TRUE","TRUSTED","TYPE","UB1","UB2","UB4","UID","UNDER","UNIQUE","UNPLUG","UNSIGNED","UNTRUSTED","USE","USER","USING","VALIDATE","VALIST","VALUE","VARCHAR","VARCHAR2","VARIABLE","VARIANCE","VARRAY","VARYING","VIEW","VIEWS","VOID","WHENEVER","WHILE","WITH","WORK","WRAPPED","WRITE","YEAR","ZONE"],j=["ADD","ALTER COLUMN","ALTER TABLE","BEGIN","CONNECT BY","DECLARE","DELETE FROM","DELETE","END","EXCEPT","EXCEPTION","FETCH FIRST","FROM","GROUP BY","HAVING","INSERT INTO","INSERT","INTERSECT","LIMIT","LOOP","MODIFY","ORDER BY","SELECT","SET CURRENT SCHEMA","SET SCHEMA","SET","START WITH","UNION ALL","UNION","UPDATE","VALUES","WHERE"],Z=["AND","CROSS APPLY","CROSS JOIN","ELSE","END","INNER JOIN","JOIN","LEFT JOIN","LEFT OUTER JOIN","OR","OUTER APPLY","OUTER JOIN","RIGHT JOIN","RIGHT OUTER JOIN","WHEN","XOR"],J=function(){function t(t){this.cfg=t}return t.prototype.format=function(t){return c||(c=new m({reservedWords:Q,reservedToplevelWords:j,reservedNewlineWords:Z,stringTypes:['""',"N''","''","``"],openParens:["(","CASE"],closeParens:[")","END"],indexedPlaceholderTypes:["?"],namedPlaceholderTypes:[":"],lineCommentTypes:["--"],specialWordChars:["_","$","#",".","@"]})),new P(this.cfg,c).format(t)},t}(),q=["ACCESSIBLE","ACTION","AGAINST","AGGREGATE","ALGORITHM","ALL","ALTER","ANALYSE","ANALYZE","AS","ASC","AUTOCOMMIT","AUTO_INCREMENT","BACKUP","BEGIN","BETWEEN","BINLOG","BOTH","CASCADE","CASE","CHANGE","CHANGED","CHARACTER SET","CHARSET","CHECK","CHECKSUM","COLLATE","COLLATION","COLUMN","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPRESSED","CONCURRENT","CONSTRAINT","CONTAINS","CONVERT","CREATE","CROSS","CURRENT_TIMESTAMP","DATABASE","DATABASES","DAY","DAY_HOUR","DAY_MINUTE","DAY_SECOND","DEFAULT","DEFINER","DELAYED","DELETE","DESC","DESCRIBE","DETERMINISTIC","DISTINCT","DISTINCTROW","DIV","DO","DROP","DUMPFILE","DUPLICATE","DYNAMIC","ELSE","ENCLOSED","END","ENGINE","ENGINES","ENGINE_TYPE","ESCAPE","ESCAPED","EVENTS","EXEC","EXECUTE","EXISTS","EXPLAIN","EXTENDED","FAST","FETCH","FIELDS","FILE","FIRST","FIXED","FLUSH","FOR","FORCE","FOREIGN","FULL","FULLTEXT","FUNCTION","GLOBAL","GRANT","GRANTS","GROUP_CONCAT","HEAP","HIGH_PRIORITY","HOSTS","HOUR","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IFNULL","IGNORE","IN","INDEX","INDEXES","INFILE","INSERT","INSERT_ID","INSERT_METHOD","INTERVAL","INTO","INVOKER","IS","ISOLATION","KEY","KEYS","KILL","LAST_INSERT_ID","LEADING","LEVEL","LIKE","LINEAR","LINES","LOAD","LOCAL","LOCK","LOCKS","LOGS","LOW_PRIORITY","MARIA","MASTER","MASTER_CONNECT_RETRY","MASTER_HOST","MASTER_LOG_FILE","MATCH","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MERGE","MINUTE","MINUTE_SECOND","MIN_ROWS","MODE","MODIFY","MONTH","MRG_MYISAM","MYISAM","NAMES","NATURAL","NOT","NOW()","NULL","OFFSET","ON DELETE","ON UPDATE","ON","ONLY","OPEN","OPTIMIZE","OPTION","OPTIONALLY","OUTFILE","PACK_KEYS","PAGE","PARTIAL","PARTITION","PARTITIONS","PASSWORD","PRIMARY","PRIVILEGES","PROCEDURE","PROCESS","PROCESSLIST","PURGE","QUICK","RAID0","RAID_CHUNKS","RAID_CHUNKSIZE","RAID_TYPE","RANGE","READ","READ_ONLY","READ_WRITE","REFERENCES","REGEXP","RELOAD","RENAME","REPAIR","REPEATABLE","REPLACE","REPLICATION","RESET","RESTORE","RESTRICT","RETURN","RETURNS","REVOKE","RLIKE","ROLLBACK","ROW","ROWS","ROW_FORMAT","SECOND","SECURITY","SEPARATOR","SERIALIZABLE","SESSION","SHARE","SHOW","SHUTDOWN","SLAVE","SONAME","SOUNDS","SQL","SQL_AUTO_IS_NULL","SQL_BIG_RESULT","SQL_BIG_SELECTS","SQL_BIG_TABLES","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQL_LOG_BIN","SQL_LOG_OFF","SQL_LOG_UPDATE","SQL_LOW_PRIORITY_UPDATES","SQL_MAX_JOIN_SIZE","SQL_NO_CACHE","SQL_QUOTE_SHOW_CREATE","SQL_SAFE_UPDATES","SQL_SELECT_LIMIT","SQL_SLAVE_SKIP_COUNTER","SQL_SMALL_RESULT","SQL_WARNINGS","START","STARTING","STATUS","STOP","STORAGE","STRAIGHT_JOIN","STRING","STRIPED","SUPER","TABLE","TABLES","TEMPORARY","TERMINATED","THEN","TO","TRAILING","TRANSACTIONAL","TRUE","TRUNCATE","TYPE","TYPES","UNCOMMITTED","UNIQUE","UNLOCK","UNSIGNED","USAGE","USE","USING","VARIABLES","VIEW","WHEN","WITH","WORK","WRITE","YEAR_MONTH"],z=["ADD","AFTER","ALTER COLUMN","ALTER TABLE","DELETE FROM","EXCEPT","FETCH FIRST","FROM","GROUP BY","GO","HAVING","INSERT INTO","INSERT","INTERSECT","LIMIT","MODIFY","ORDER BY","SELECT","SET CURRENT SCHEMA","SET SCHEMA","SET","UNION ALL","UNION","UPDATE","VALUES","WHERE"],$=["AND","CROSS APPLY","CROSS JOIN","ELSE","INNER JOIN","JOIN","LEFT JOIN","LEFT OUTER JOIN","OR","OUTER APPLY","OUTER JOIN","RIGHT JOIN","RIGHT OUTER JOIN","WHEN","XOR"],tt=function(){function t(t){this.cfg=t}return t.prototype.format=function(t){return S||(S=new m({reservedWords:q,reservedToplevelWords:z,reservedNewlineWords:$,stringTypes:['""',"N''","''","``","[]"],openParens:["(","CASE"],closeParens:[")","END"],indexedPlaceholderTypes:["?"],namedPlaceholderTypes:["@",":"],lineCommentTypes:["#","--"]})),new P(this.cfg,S).format(t)},t}(),te={format:function(t,e){switch((e=e||{}).language){case"db2":return new B(e).format(t);case"n1ql":return new V(e).format(t);case"pl/sql":return new J(e).format(t);case"ob-mysql":case"ob-oracle":return new w(e).format(t);case"sql":case void 0:return new tt(e).format(t);default:throw Error("Unsupported SQL dialect: ".concat(e.language))}}};function tn(t,e){return void 0===e&&(e=!1),te.format(t,{language:e?"ob-mysql":"ob-oracle"})}var tr=n(95515),ti=n(4141),to=n(67228),tE=n(95827),ts=(r=function(t,e){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),ta=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.haveError=!1,e}return ts(e,t),e.prototype.syntaxError=function(t,e,n,r,i,o){this.haveError=!0},e}(tE.ErrorListener),tT=(i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),tu=function(t){function e(e,n){return t.call(this,e,n)||this}return tT(e,t),e.prototype.LA=function(e){var n=t.prototype.LA.call(this,e);switch(n){case 0:case to.Token.EOF:return n;default:return String.fromCharCode(n).toUpperCase().charCodeAt(0)}},e}(to.InputStream),tc=function(){function t(t){this.offset=-1,this.tokens=t}return t.prototype.getTokenIdx=function(){return this.offset},t.prototype.nextToken=function(){return this.isEnd()||this.offset++,this.getToken()},t.prototype.nextNoEmptyToken=function(t){for(var e,n=null;!this.isEnd();){var r=this.nextToken();if(r.text){if(null===n&&(n=this.offset),!t)return[r];var i=this.lookAhead();if((!(null===(e=i.text)||void 0===e?void 0:e.trim())&&i.text.includes("\n")?t.includes("\n"):t.includes(i.text))||!i||(null==i?void 0:i.type)===to.Token.EOF)return this.tokens.slice(n,this.offset+1)}}},t.prototype.lookAhead=function(t){return void 0===t&&(t=1),this.tokens[this.offset+t]},t.prototype.getToken=function(){return this.tokens[this.offset]},t.prototype.isEnd=function(){return this.tokens.length-1<=this.offset},t}(),tS=function(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i=0}).map(function(t){return{text:t.text,range:{begin:t.begin,end:t.end},startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn,tokens:[],isDelimiter:!0,delimiter:""}})},t}(),tA=n(96486),tR=function(){function t(t){this.current=t}return t.prototype.isPreMatch=function(){return this.current instanceof t&&this.current.next},t.prototype.link=function(e){return(0,tA.isArray)(e)?this.next=e:"string"==typeof e?this.next=[new t(e)]:this.next=[e],this},t.prototype.tryNext=function(e){if(this.isPreMatch()&&this.current instanceof t){var n,r=this.current.tryNext(e);if(r!==this.current){var i=tI(this);return i.current=r,i}return this}return(null===(n=this.next)||void 0===n?void 0:n.find(function(t){return t.match(e)}))||this},t.prototype.match=function(e){return this.current instanceof t?this.current.match(e):"string"==typeof this.current?this.current.toLowerCase()===e.toLowerCase():!!this.current.find(function(t){return t.toLowerCase()===e.toLowerCase()})},t}();function tp(t){return new tR(t)}function tI(t){var e=t.current,n=t.next;t.current instanceof tR&&(e=tI(t.current)),t.next&&(n=t.next.map(function(t){return tI(t)}));var r=new t.constructor(e);return n&&r.link(n),r}var tN=tp("begin"),tO=tp("declare"),th=tp("procedure").link([tp("as"),tp("is")]),tL=tp("function").link([tp("as"),tp("is")]),tC=tp("trigger").link([tp("before").link("on"),tp("for").link("on")]),tf=tp("package").link([tp("is"),tp("as")]),t_=tp("create").link([tf,tp("procedure"),tp("function"),tC,tp("type")]),td=function(){function t(){this.context=null,this.result=null}return t.prototype.reset=function(){this.context=null,this.result=null},t.prototype.pushAndGuess=function(t){if((0,tA.isBoolean)(this.result))return this.result;var e=t.text;if(this.context){var n=this.context.tryNext(e);if(!(null==n?void 0:n.next))return this.result=!0,!0;this.context=n}else if(this.initContext(e))return this.result=!0,!0;return!1},t.prototype.initContext=function(t){var e=[tN,tO,th,tL,tC,tf,t_].find(function(e){return e.match(t)});return this.context=e,!!e&&!(null==e?void 0:e.next)},t}(),tD=(o=function(t,e){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),tM=tp("begin").link("end");tp("begin").link(tp("end").link(";"));var tP=tp("declare").link(tM),ty=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return tD(e,t),e.prototype.match=function(t){if(["BEGIN","LANGUAGE"].includes(null==t?void 0:t.toUpperCase())){switch(t.toUpperCase()){case"BEGIN":this.current="BEGIN",this.next=[tp("end").link(";")];break;case"LANGUAGE":this.current="LANGUAGE",this.next=[tp(";")];break;default:return!1}return!0}return!1},e}(tR),tg=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return tD(e,t),e.prototype.match=function(t){return!!["BODY","IS","AS"].includes(null==t?void 0:t.toUpperCase())&&("BODY"===t.toUpperCase()?(this.current="BODY",this.next=[new tU("PkgOptionBegin")]):(this.current=t.toUpperCase(),this.next=[tp("end").link(";")]),!0)},e}(tR),tU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return tD(e,t),e.prototype.match=function(t){return!!["BEGIN","END"].includes(null==t?void 0:t.toUpperCase())&&("BEGIN"===t.toUpperCase()?(this.current="BEGIN",this.next=[tp("end").link(";")]):(this.current=t.toUpperCase(),this.next=[tp(";")]),!0)},e}(tR),tv=tp(tp("function").link(tp(["as","is"]))).link(new ty("AsOrIsContext")),tm=tp(tp("procedure").link(tp(["as","is"]))).link(new ty("AsOrIsContext")),tx=tp("package").link(new tg("PkgHeadOrBodyContext")),tF=tp(tp("type").link("body")).link(tp("end").link(";")),tG=tp("loop").link("end").link("loop"),tB=tp("if").link(tp("end").link("if")),tH=tp("case").link(tp("end").link("case")),tY=function(){function t(){this.stack=[]}return t.prototype.reset=function(){this.stack=[]},t.prototype.isEmpty=function(){return!this.stack.length||1===this.stack.length&&this.stack[0].isPreMatch()},t.prototype.getCurrentContext=function(){return this.stack[this.stack.length-1]},t.prototype.getPrevContext=function(){return this.stack[this.stack.length-2]},t.prototype.setCurrentContext=function(t,e){e?this.stack[this.stack.length-1]=t:this.stack.push(t)},t.prototype.push=function(t){var e,n=this.getCurrentContext(),r=this.getPrevContext();if(n){var i=n.tryNext(t);if(i!==n){i.next?this.setCurrentContext(i,!0):this.stack.pop();return}if(n.isPreMatch()&&r){var o=r.tryNext(t);if(o!==r){this.stack.pop(),this.setCurrentContext(o,!0);return}}}for(var E=0,s=[tM,tP,tv,tm,tx,tF,tG,tB,tH];E0;i--){var o=t[i];if(0===o.channel&&(r=o.text+r).length>=e.length)return r.endsWith(e)}return!1},t.prototype.convertTokens=function(t){return(null==t?void 0:t.map(function(t){return{text:t.text,type:t.type,start:t.start,stop:t.stop,channel:t.channel}}))||[]},t.prototype.split=function(){var t=[];this.getTokens(),this.tokens.fill();for(var e=this.tokens.tokens,n=new tl(e,this.delimiter),r=new tc(n.filterTokens),i=new td,o=new tY,E=[],s=!1,a=this.delimiter;!r.isEnd();){var T=r.nextToken();if(E.push(T),a=n.getContextDelimiter(T),o.push(T.text),s||(s=i.pushAndGuess(T)),s&&";"===a&&(a=o.isEmpty()?"/":"NOT_MATCH_ALL_DELIMITER"),this.isMatchDelimiter(E,a)){var u=E[E.length-1].stop-a.length,c=this.tokensToString(E);t.push({text:c.substring(0,c.length-a.length),range:{begin:E[0].start,end:u},startLineNumber:E[0].line,startColumn:E[0].column,endLineNumber:E[E.length-1].line,endColumn:E[E.length-1].column-a.length,delimiter:a,tokens:this.convertTokens(E),isPL:s}),i.reset(),o.reset(),E=[],s=!1}else if(n.isDelimiterToken(e[T.tokenIndex+1])){var u=E[E.length-1].stop,c=this.tokensToString(E);t.push({text:c,range:{begin:E[0].start,end:u},startLineNumber:E[0].line,startColumn:E[0].column,endLineNumber:E[E.length-1].line,endColumn:E[E.length-1].column,delimiter:"",tokens:this.convertTokens(E),isPL:s}),i.reset(),o.reset(),E=[],s=!1}}if(E.length){var u=E[E.length-1].stop,c=this.tokensToString(E);c.replace(/\s/g,"")&&t.push({text:c,range:{begin:E[0].start,end:u},startLineNumber:E[0].line,startColumn:E[0].column,endLineNumber:E[E.length-1].line,endColumn:E[E.length-1].column,delimiter:"",tokens:this.convertTokens(E),isPL:s})}var S=n.getDelimiterStatements();return t.concat(S).filter(Boolean).sort(function(t,e){return t.range.begin-e.range.begin})},t.prototype.tokensToString=function(t){return t.map(function(t){return t.type===to.Token.EOF?"":t.text}).join("")},t.prototype.getTokens=function(){var t=this.input;if(!this.tokens){var e=new tu(t),n=new this.CustomLexer(e),r=new ta;n.addErrorListener(r);var i=new to.CommonTokenStream(n);this.tokens=i,this.tokens.errorListener=r}},t}();(0,tr.initParser)(ti.Parser.prototype,new Set([]));var tb=function(){function t(){}return t.prototype.split=function(t,e){return new tV(t,e).split()},t.prototype.parse=function(t,e,n){return ti.parse(t,e,n)},t.prototype.getFormatText=function(t){return tn(t,!0)},t}(),tW=n(48522),tK=n(96404),tX=n(9360),tw=n.n(tX);(0,tK.initParser)(tW.Parser.prototype,new Set([1844,1843])),(0,tK.initParser)(tw().Parser.prototype,new Set([557,556]));var tQ=function(){function t(t){this.isPL=!1,this.isPL=t}return t.prototype.split=function(t,e){return new tV(t,e).split()},t.prototype.parse=function(t,e,n){return this.isPL?tw().parse(t,e,n):tW.parse(t,e,n)},t.prototype.getFormatText=function(t){return tn(t,!1)},t}(),tj=n(22634),tZ=n(85729);(0,tj.initParser)(tZ.Parser.prototype,new Set([1892,1890,1891]));var tJ=function(){function t(){}return t.prototype.split=function(t,e){return new tV(t,e).split()},t.prototype.parse=function(t,e,n){return tZ.parse(t,e,n)},t.prototype.getFormatText=function(t){return tn(t,!0)},t}(),tq={type:s.Oracle,delimiter:";"},tz=function(){function t(t){this.type=s.Oracle,this.delimiter=";",t=Object.assign({},tq,t),this.text=t.text||"",this.type=t.type,this.delimiter=t.delimiter||";";var e=this.getParserClass();this.parser=new e(!1),this.split()}return t.prototype.split=function(){var t=this,e=this.parser.split(this.text,this.delimiter);this.statements=null==e?void 0:e.map(function(e){var n=t.getParserClass();return new A({text:e.text,start:e.range.begin,stop:e.range.end,startLineNumber:e.startLineNumber,startColumn:e.startColumn,endLineNumber:e.endLineNumber,endColumn:e.endColumn,parser:new n(!!e.isPL),isPL:!!e.isPL,isDelimiterStmt:!!e.isDelimiter,delimiter:e.delimiter,tokens:e.tokens})})},t.prototype.getParserClass=function(){switch(this.type){case s.MySQL:return tb;case s.Oracle:return tQ;case s.OBMySQL:return tJ}},t.prototype.getFormatText=function(){return this.statements.map(function(t){return t.getFormatText()+(t.isDelimiter?"":t.delimiter)}).join("\n")},t}(),t$={format:function(t){if(!t)return null;var e=t.sql,n=t.type,r=t.delimiter;return new tz({text:e,type:n,delimiter:r}).getFormatText()}}},3253:function(t){t.exports={ADD:"ADD",ALL:"ALL",ALTER:"ALTER",ALWAYS:"ALWAYS",ANALYZE:"ANALYZE",AND:"AND",AS:"AS",ASC:"ASC",BEFORE:"BEFORE",BETWEEN:"BETWEEN",BOTH:"BOTH",BY:"BY",CALL:"CALL",CASCADE:"CASCADE",CASE:"CASE",CAST:"CAST",CHANGE:"CHANGE",CHARACTER:"CHARACTER",CHECK:"CHECK",COLLATE:"COLLATE",COLUMN:"COLUMN",CONDITION:"CONDITION",CONSTRAINT:"CONSTRAINT",CONTINUE:"CONTINUE",CONVERT:"CONVERT",CREATE:"CREATE",CROSS:"CROSS",CURRENT:"CURRENT",CURRENT_USER:"CURRENT_USER",CURSOR:"CURSOR",DATABASE:"DATABASE",DATABASES:"DATABASES",DECLARE:"DECLARE",DEFAULT:"DEFAULT",DELAYED:"DELAYED",DELETE:"DELETE",DESC:"DESC",DESCRIBE:"DESCRIBE",DETERMINISTIC:"DETERMINISTIC",DIAGNOSTICS:"DIAGNOSTICS",DISTINCT:"DISTINCT",DISTINCTROW:"DISTINCTROW",DROP:"DROP",EACH:"EACH",ELSE:"ELSE",ELSEIF:"ELSEIF",ENCLOSED:"ENCLOSED",ESCAPED:"ESCAPED",EXISTS:"EXISTS",EXIT:"EXIT",EXPLAIN:"EXPLAIN",FALSE:"FALSE",FETCH:"FETCH",FOR:"FOR",FORCE:"FORCE",FOREIGN:"FOREIGN",FROM:"FROM",FULLTEXT:"FULLTEXT",GENERATED:"GENERATED",GET:"GET",GRANT:"GRANT",GROUP:"GROUP",HAVING:"HAVING",HIGH_PRIORITY:"HIGH_PRIORITY",IF:"IF",IGNORE:"IGNORE",IN:"IN",INDEX:"INDEX",INFILE:"INFILE",INNER:"INNER",INOUT:"INOUT",INSERT:"INSERT",INTERVAL:"INTERVAL",INTO:"INTO",IS:"IS",ITERATE:"ITERATE",JOIN:"JOIN",KEY:"KEY",KEYS:"KEYS",KILL:"KILL",LEADING:"LEADING",LEAVE:"LEAVE",LEFT:"LEFT",LIKE:"LIKE",LIMIT:"LIMIT",LINEAR:"LINEAR",LINES:"LINES",LOAD:"LOAD",LOCK:"LOCK",LOOP:"LOOP",LOW_PRIORITY:"LOW_PRIORITY",MASTER_BIND:"MASTER_BIND",MASTER_SSL_VERIFY_SERVER_CERT:"MASTER_SSL_VERIFY_SERVER_CERT",MATCH:"MATCH",MAXVALUE:"MAXVALUE",MODIFIES:"MODIFIES",NATURAL:"NATURAL",NOT:"NOT",NO_WRITE_TO_BINLOG:"NO_WRITE_TO_BINLOG",NULL:"NULL_LITERAL",NUMBER:"NUMBER",ON:"ON",OPTIMIZE:"OPTIMIZE",OPTION:"OPTION",OPTIONALLY:"OPTIONALLY",OR:"OR",ORDER:"ORDER",OUT:"OUT",OUTER:"OUTER",OUTFILE:"OUTFILE",PARTITION:"PARTITION",PRIMARY:"PRIMARY",PROCEDURE:"PROCEDURE",PURGE:"PURGE",RANGE:"RANGE",READ:"READ",READS:"READS",REFERENCES:"REFERENCES",REGEXP:"REGEXP",RELEASE:"RELEASE",RENAME:"RENAME",REPEAT:"REPEAT",REPLACE:"REPLACE",REQUIRE:"REQUIRE",RESIGNAL:"RESIGNAL",RESTRICT:"RESTRICT",RETURN:"RETURN",REVOKE:"REVOKE",RIGHT:"RIGHT",RLIKE:"RLIKE",SCHEMA:"SCHEMA",SCHEMAS:"SCHEMAS",SELECT:"SELECT",SET:"SET",SEPARATOR:"SEPARATOR",SHOW:"SHOW",SIGNAL:"SIGNAL",SPATIAL:"SPATIAL",SQL:"SQL",SQLEXCEPTION:"SQLEXCEPTION",SQLSTATE:"SQLSTATE",SQLWARNING:"SQLWARNING",SQL_BIG_RESULT:"SQL_BIG_RESULT",SQL_CALC_FOUND_ROWS:"SQL_CALC_FOUND_ROWS",SQL_SMALL_RESULT:"SQL_SMALL_RESULT",SSL:"SSL",STACKED:"STACKED",STARTING:"STARTING",STRAIGHT_JOIN:"STRAIGHT_JOIN",TABLE:"TABLE",TERMINATED:"TERMINATED",THEN:"THEN",TO:"TO",TRAILING:"TRAILING",TRIGGER:"TRIGGER",TRUE:"TRUE",UNDO:"UNDO",UNION:"UNION",UNIQUE:"UNIQUE",UNLOCK:"UNLOCK",UNSIGNED:"UNSIGNED",UPDATE:"UPDATE",USAGE:"USAGE",USE:"USE",USING:"USING",VALUES:"VALUES",WHEN:"WHEN",WHERE:"WHERE",WHILE:"WHILE",WITH:"WITH",WRITE:"WRITE",XOR:"XOR",ZEROFILL:"ZEROFILL",TINYINT:"TINYINT",SMALLINT:"SMALLINT",MEDIUMINT:"MEDIUMINT",MIDDLEINT:"MIDDLEINT",INT:"INT",INT1:"INT1",INT2:"INT2",INT3:"INT3",INT4:"INT4",INT8:"INT8",INTEGER:"INTEGER",BIGINT:"BIGINT",REAL:"REAL",DOUBLE:"DOUBLE",PRECISION:"PRECISION",FLOAT:"FLOAT",FLOAT4:"FLOAT4",FLOAT8:"FLOAT8",DECIMAL:"DECIMAL",DEC:"DEC",NUMERIC:"NUMERIC",DATE:"DATE",TIME:"TIME",TIMESTAMP:"TIMESTAMP",DATETIME:"DATETIME",YEAR:"YEAR",CHAR:"CHAR",VARCHAR:"VARCHAR",NVARCHAR:"NVARCHAR",NATIONAL:"NATIONAL",BINARY:"BINARY",VARBINARY:"VARBINARY",TINYBLOB:"TINYBLOB",BLOB:"BLOB",MEDIUMBLOB:"MEDIUMBLOB",LONG:"LONG",LONGBLOB:"LONGBLOB",TINYTEXT:"TINYTEXT",TEXT:"TEXT",MEDIUMTEXT:"MEDIUMTEXT",LONGTEXT:"LONGTEXT",ENUM:"ENUM",VARYING:"VARYING",SERIAL:"SERIAL",YEAR_MONTH:"YEAR_MONTH",DAY_HOUR:"DAY_HOUR",DAY_MINUTE:"DAY_MINUTE",DAY_SECOND:"DAY_SECOND",HOUR_MINUTE:"HOUR_MINUTE",HOUR_SECOND:"HOUR_SECOND",MINUTE_SECOND:"MINUTE_SECOND",SECOND_MICROSECOND:"SECOND_MICROSECOND",MINUTE_MICROSECOND:"MINUTE_MICROSECOND",HOUR_MICROSECOND:"HOUR_MICROSECOND",DAY_MICROSECOND:"DAY_MICROSECOND",JSON_VALID:"JSON_VALID",JSON_SCHEMA_VALID:"JSON_SCHEMA_VALID",AVG:"AVG",BIT_AND:"BIT_AND",BIT_OR:"BIT_OR",BIT_XOR:"BIT_XOR",COUNT:"COUNT",GROUP_CONCAT:"GROUP_CONCAT",MAX:"MAX",MIN:"MIN",STD:"STD",STDDEV:"STDDEV",STDDEV_POP:"STDDEV_POP",STDDEV_SAMP:"STDDEV_SAMP",SUM:"SUM",VAR_POP:"VAR_POP",VAR_SAMP:"VAR_SAMP",VARIANCE:"VARIANCE",CURRENT_DATE:"CURRENT_DATE",CURRENT_TIME:"CURRENT_TIME",CURRENT_TIMESTAMP:"CURRENT_TIMESTAMP",LOCALTIME:"LOCALTIME",CURDATE:"CURDATE",CURTIME:"CURTIME",DATE_ADD:"DATE_ADD",DATE_SUB:"DATE_SUB",EXTRACT:"EXTRACT",LOCALTIMESTAMP:"LOCALTIMESTAMP",NOW:"NOW",POSITION:"POSITION",SUBSTR:"SUBSTR",SUBSTRING:"SUBSTRING",SYSDATE:"SYSDATE",TRIM:"TRIM",UTC_DATE:"UTC_DATE",UTC_TIME:"UTC_TIME",UTC_TIMESTAMP:"UTC_TIMESTAMP",ACCOUNT:"ACCOUNT",ACTION:"ACTION",AFTER:"AFTER",AGGREGATE:"AGGREGATE",ALGORITHM:"ALGORITHM",ANY:"ANY",AT:"AT",AUTHORS:"AUTHORS",AUTOCOMMIT:"AUTOCOMMIT",AUTOEXTEND_SIZE:"AUTOEXTEND_SIZE",AUTO_INCREMENT:"AUTO_INCREMENT",AVG_ROW_LENGTH:"AVG_ROW_LENGTH",BEGIN:"BEGIN",BINLOG:"BINLOG",BIT:"BIT",BLOCK:"BLOCK",BOOL:"BOOL",BOOLEAN:"BOOLEAN",BTREE:"BTREE",CACHE:"CACHE",CASCADED:"CASCADED",CHAIN:"CHAIN",CHANGED:"CHANGED",CHANNEL:"CHANNEL",CHECKSUM:"CHECKSUM",PAGE_CHECKSUM:"PAGE_CHECKSUM",CIPHER:"CIPHER",CLASS_ORIGIN:"CLASS_ORIGIN",CLIENT:"CLIENT",CLOSE:"CLOSE",COALESCE:"COALESCE",CODE:"CODE",COLUMNS:"COLUMNS",COLUMN_FORMAT:"COLUMN_FORMAT",COLUMN_NAME:"COLUMN_NAME",COMMENT:"COMMENT",COMMIT:"COMMIT",COMPACT:"COMPACT",COMPLETION:"COMPLETION",COMPRESSED:"COMPRESSED",COMPRESSION:"COMPRESSION",CONCURRENT:"CONCURRENT",CONNECTION:"CONNECTION",CONSISTENT:"CONSISTENT",CONSTRAINT_CATALOG:"CONSTRAINT_CATALOG",CONSTRAINT_SCHEMA:"CONSTRAINT_SCHEMA",CONSTRAINT_NAME:"CONSTRAINT_NAME",CONTAINS:"CONTAINS",CONTEXT:"CONTEXT",CONTRIBUTORS:"CONTRIBUTORS",COPY:"COPY",CPU:"CPU",CURSOR_NAME:"CURSOR_NAME",DATA:"DATA",DATAFILE:"DATAFILE",DEALLOCATE:"DEALLOCATE",DEFAULT_AUTH:"DEFAULT_AUTH",DEFINER:"DEFINER",DELAY_KEY_WRITE:"DELAY_KEY_WRITE",DES_KEY_FILE:"DES_KEY_FILE",DIRECTORY:"DIRECTORY",DISABLE:"DISABLE",DISCARD:"DISCARD",DISK:"DISK",DO:"DO",DUMPFILE:"DUMPFILE",DUPLICATE:"DUPLICATE",DYNAMIC:"DYNAMIC",ENABLE:"ENABLE",ENCRYPTION:"ENCRYPTION",END:"END",ENDS:"ENDS",ENGINE:"ENGINE",ENGINES:"ENGINES",ERROR:"ERROR",ERRORS:"ERRORS",ESCAPE:"ESCAPE",EVEN:"EVEN",EVENT:"EVENT",EVENTS:"EVENTS",EVERY:"EVERY",EXCHANGE:"EXCHANGE",EXCLUSIVE:"EXCLUSIVE",EXPIRE:"EXPIRE",EXPORT:"EXPORT",EXTENDED:"EXTENDED",EXTENT_SIZE:"EXTENT_SIZE",FAST:"FAST",FAULTS:"FAULTS",FIELDS:"FIELDS",FILE_BLOCK_SIZE:"FILE_BLOCK_SIZE",FILTER:"FILTER",FIRST:"FIRST",FIXED:"FIXED",FLUSH:"FLUSH",FOLLOWS:"FOLLOWS",FOUND:"FOUND",FULL:"FULL",FUNCTION:"FUNCTION",GENERAL:"GENERAL",GLOBAL:"GLOBAL",GRANTS:"GRANTS",GROUP_REPLICATION:"GROUP_REPLICATION",HANDLER:"HANDLER",HASH:"HASH",HELP:"HELP",HOST:"HOST",HOSTS:"HOSTS",IDENTIFIED:"IDENTIFIED",IGNORE_SERVER_IDS:"IGNORE_SERVER_IDS",IMPORT:"IMPORT",INDEXES:"INDEXES",INITIAL_SIZE:"INITIAL_SIZE",INPLACE:"INPLACE",INSERT_METHOD:"INSERT_METHOD",INSTALL:"INSTALL",INSTANCE:"INSTANCE",INVISIBLE:"INVISIBLE",INVOKER:"INVOKER",IO:"IO",IO_THREAD:"IO_THREAD",IPC:"IPC",ISOLATION:"ISOLATION",ISSUER:"ISSUER",JSON:"JSON",KEY_BLOCK_SIZE:"KEY_BLOCK_SIZE",LANGUAGE:"LANGUAGE",LAST:"LAST",LEAVES:"LEAVES",LESS:"LESS",LEVEL:"LEVEL",LIST:"LIST",LOCAL:"LOCAL",LOGFILE:"LOGFILE",LOGS:"LOGS",MASTER:"MASTER",MASTER_AUTO_POSITION:"MASTER_AUTO_POSITION",MASTER_CONNECT_RETRY:"MASTER_CONNECT_RETRY",MASTER_DELAY:"MASTER_DELAY",MASTER_HEARTBEAT_PERIOD:"MASTER_HEARTBEAT_PERIOD",MASTER_HOST:"MASTER_HOST",MASTER_LOG_FILE:"MASTER_LOG_FILE",MASTER_LOG_POS:"MASTER_LOG_POS",MASTER_PASSWORD:"MASTER_PASSWORD",MASTER_PORT:"MASTER_PORT",MASTER_RETRY_COUNT:"MASTER_RETRY_COUNT",MASTER_SSL:"MASTER_SSL",MASTER_SSL_CA:"MASTER_SSL_CA",MASTER_SSL_CAPATH:"MASTER_SSL_CAPATH",MASTER_SSL_CERT:"MASTER_SSL_CERT",MASTER_SSL_CIPHER:"MASTER_SSL_CIPHER",MASTER_SSL_CRL:"MASTER_SSL_CRL",MASTER_SSL_CRLPATH:"MASTER_SSL_CRLPATH",MASTER_SSL_KEY:"MASTER_SSL_KEY",MASTER_TLS_VERSION:"MASTER_TLS_VERSION",MASTER_USER:"MASTER_USER",MAX_CONNECTIONS_PER_HOUR:"MAX_CONNECTIONS_PER_HOUR",MAX_QUERIES_PER_HOUR:"MAX_QUERIES_PER_HOUR",MAX_ROWS:"MAX_ROWS",MAX_SIZE:"MAX_SIZE",MAX_UPDATES_PER_HOUR:"MAX_UPDATES_PER_HOUR",MAX_USER_CONNECTIONS:"MAX_USER_CONNECTIONS",MEDIUM:"MEDIUM",MEMBER:"MEMBER",MERGE:"MERGE",MESSAGE_TEXT:"MESSAGE_TEXT",MID:"MID",MIGRATE:"MIGRATE",MIN_ROWS:"MIN_ROWS",MODE:"MODE",MODIFY:"MODIFY",MUTEX:"MUTEX",MYSQL:"MYSQL",MYSQL_ERRNO:"MYSQL_ERRNO",NAME:"NAME",NAMES:"NAMES",NCHAR:"NCHAR",NEVER:"NEVER",NEXT:"NEXT",NO:"NO",NODEGROUP:"NODEGROUP",NONE:"NONE",OFFLINE:"OFFLINE",OFFSET:"OFFSET",OF:"OF",OJ:"OJ",OLD_PASSWORD:"OLD_PASSWORD",ONE:"ONE",ONLINE:"ONLINE",ONLY:"ONLY",OPEN:"OPEN",OPTIMIZER_COSTS:"OPTIMIZER_COSTS",OPTIONS:"OPTIONS",OWNER:"OWNER",PACK_KEYS:"PACK_KEYS",PAGE:"PAGE",PARSER:"PARSER",PARTIAL:"PARTIAL",PARTITIONING:"PARTITIONING",PARTITIONS:"PARTITIONS",PASSWORD:"PASSWORD",PHASE:"PHASE",PLUGIN:"PLUGIN",PLUGIN_DIR:"PLUGIN_DIR",PLUGINS:"PLUGINS",PORT:"PORT",PRECEDES:"PRECEDES",PREPARE:"PREPARE",PRESERVE:"PRESERVE",PREV:"PREV",PROCESSLIST:"PROCESSLIST",PROFILE:"PROFILE",PROFILES:"PROFILES",PROXY:"PROXY",QUERY:"QUERY",QUICK:"QUICK",REBUILD:"REBUILD",RECOVER:"RECOVER",REDO_BUFFER_SIZE:"REDO_BUFFER_SIZE",REDUNDANT:"REDUNDANT",RELAY:"RELAY",RELAY_LOG_FILE:"RELAY_LOG_FILE",RELAY_LOG_POS:"RELAY_LOG_POS",RELAYLOG:"RELAYLOG",REMOVE:"REMOVE",REORGANIZE:"REORGANIZE",REPAIR:"REPAIR",REPLICATE_DO_DB:"REPLICATE_DO_DB",REPLICATE_DO_TABLE:"REPLICATE_DO_TABLE",REPLICATE_IGNORE_DB:"REPLICATE_IGNORE_DB",REPLICATE_IGNORE_TABLE:"REPLICATE_IGNORE_TABLE",REPLICATE_REWRITE_DB:"REPLICATE_REWRITE_DB",REPLICATE_WILD_DO_TABLE:"REPLICATE_WILD_DO_TABLE",REPLICATE_WILD_IGNORE_TABLE:"REPLICATE_WILD_IGNORE_TABLE",REPLICATION:"REPLICATION",RESET:"RESET",RESUME:"RESUME",RETURNED_SQLSTATE:"RETURNED_SQLSTATE",RETURNS:"RETURNS",ROLE:"ROLE",ROLLBACK:"ROLLBACK",ROLLUP:"ROLLUP",ROTATE:"ROTATE",ROW:"ROW",ROWS:"ROWS",ROW_FORMAT:"ROW_FORMAT",SAVEPOINT:"SAVEPOINT",SCHEDULE:"SCHEDULE",SECURITY:"SECURITY",SERVER:"SERVER",SESSION:"SESSION",SHARE:"SHARE",SHARED:"SHARED",SIGNED:"SIGNED",SIMPLE:"SIMPLE",SLAVE:"SLAVE",SLOW:"SLOW",SNAPSHOT:"SNAPSHOT",SOCKET:"SOCKET",SOME:"SOME",SONAME:"SONAME",SOUNDS:"SOUNDS",SOURCE:"SOURCE",SQL_AFTER_GTIDS:"SQL_AFTER_GTIDS",SQL_AFTER_MTS_GAPS:"SQL_AFTER_MTS_GAPS",SQL_BEFORE_GTIDS:"SQL_BEFORE_GTIDS",SQL_BUFFER_RESULT:"SQL_BUFFER_RESULT",SQL_CACHE:"SQL_CACHE",SQL_NO_CACHE:"SQL_NO_CACHE",SQL_THREAD:"SQL_THREAD",START:"START",STARTS:"STARTS",STATS_AUTO_RECALC:"STATS_AUTO_RECALC",STATS_PERSISTENT:"STATS_PERSISTENT",STATS_SAMPLE_PAGES:"STATS_SAMPLE_PAGES",STATUS:"STATUS",STOP:"STOP",STORAGE:"STORAGE",STORED:"STORED",STRING:"STRING",SUBCLASS_ORIGIN:"SUBCLASS_ORIGIN",SUBJECT:"SUBJECT",SUBPARTITION:"SUBPARTITION",SUBPARTITIONS:"SUBPARTITIONS",SUSPEND:"SUSPEND",SWAPS:"SWAPS",SWITCHES:"SWITCHES",TABLE_NAME:"TABLE_NAME",TABLESPACE:"TABLESPACE",TEMPORARY:"TEMPORARY",TEMPTABLE:"TEMPTABLE",THAN:"THAN",TRADITIONAL:"TRADITIONAL",TRANSACTION:"TRANSACTION",TRANSACTIONAL:"TRANSACTIONAL",TRIGGERS:"TRIGGERS",TRUNCATE:"TRUNCATE",UNDEFINED:"UNDEFINED",UNDOFILE:"UNDOFILE",UNDO_BUFFER_SIZE:"UNDO_BUFFER_SIZE",UNINSTALL:"UNINSTALL",UNKNOWN:"UNKNOWN",UNTIL:"UNTIL",UPGRADE:"UPGRADE",USER:"USER",USE_FRM:"USE_FRM",USER_RESOURCES:"USER_RESOURCES",VALIDATION:"VALIDATION",VALUE:"VALUE",VARIABLES:"VARIABLES",VIEW:"VIEW",VIRTUAL:"VIRTUAL",VISIBLE:"VISIBLE",WAIT:"WAIT",WARNINGS:"WARNINGS",WITHOUT:"WITHOUT",WORK:"WORK",WRAPPER:"WRAPPER",X509:"X509",XA:"XA",XML:"XML",EUR:"EUR",USA:"USA",JIS:"JIS",ISO:"ISO",INTERNAL:"INTERNAL",QUARTER:"QUARTER",MONTH:"MONTH",DAY:"DAY",HOUR:"HOUR",MINUTE:"MINUTE",WEEK:"WEEK",SECOND:"SECOND",MICROSECOND:"MICROSECOND",TABLES:"TABLES",ROUTINE:"ROUTINE",EXECUTE:"EXECUTE",FILE:"FILE",PROCESS:"PROCESS",RELOAD:"RELOAD",SHUTDOWN:"SHUTDOWN",SUPER:"SUPER",PRIVILEGES:"PRIVILEGES",APPLICATION_PASSWORD_ADMIN:"APPLICATION_PASSWORD_ADMIN",AUDIT_ADMIN:"AUDIT_ADMIN",BACKUP_ADMIN:"BACKUP_ADMIN",BINLOG_ADMIN:"BINLOG_ADMIN",BINLOG_ENCRYPTION_ADMIN:"BINLOG_ENCRYPTION_ADMIN",CLONE_ADMIN:"CLONE_ADMIN",CONNECTION_ADMIN:"CONNECTION_ADMIN",ENCRYPTION_KEY_ADMIN:"ENCRYPTION_KEY_ADMIN",FIREWALL_ADMIN:"FIREWALL_ADMIN",FIREWALL_USER:"FIREWALL_USER",GROUP_REPLICATION_ADMIN:"GROUP_REPLICATION_ADMIN",INNODB_REDO_LOG_ARCHIVE:"INNODB_REDO_LOG_ARCHIVE",NDB_STORED_USER:"NDB_STORED_USER",PERSIST_RO_VARIABLES_ADMIN:"PERSIST_RO_VARIABLES_ADMIN",REPLICATION_APPLIER:"REPLICATION_APPLIER",REPLICATION_SLAVE_ADMIN:"REPLICATION_SLAVE_ADMIN",RESOURCE_GROUP_ADMIN:"RESOURCE_GROUP_ADMIN",RESOURCE_GROUP_USER:"RESOURCE_GROUP_USER",ROLE_ADMIN:"ROLE_ADMIN",SET_USER_ID:"SET_USER_ID",SHOW_ROUTINE:"SHOW_ROUTINE",SYSTEM_VARIABLES_ADMIN:"SYSTEM_VARIABLES_ADMIN",TABLE_ENCRYPTION_ADMIN:"TABLE_ENCRYPTION_ADMIN",VERSION_TOKEN_ADMIN:"VERSION_TOKEN_ADMIN",XA_RECOVER_ADMIN:"XA_RECOVER_ADMIN",ARMSCII8:"ARMSCII8",ASCII:"ASCII",BIG5:"BIG5",CP1250:"CP1250",CP1251:"CP1251",CP1256:"CP1256",CP1257:"CP1257",CP850:"CP850",CP852:"CP852",CP866:"CP866",CP932:"CP932",DEC8:"DEC8",EUCJPMS:"EUCJPMS",EUCKR:"EUCKR",GB2312:"GB2312",GBK:"GBK",GEOSTD8:"GEOSTD8",GREEK:"GREEK",HEBREW:"HEBREW",HP8:"HP8",KEYBCS2:"KEYBCS2",KOI8R:"KOI8R",KOI8U:"KOI8U",LATIN1:"LATIN1",LATIN2:"LATIN2",LATIN5:"LATIN5",LATIN7:"LATIN7",MACCE:"MACCE",MACROMAN:"MACROMAN",SJIS:"SJIS",SWE7:"SWE7",TIS620:"TIS620",UCS2:"UCS2",UJIS:"UJIS",UTF16:"UTF16",UTF16LE:"UTF16LE",UTF32:"UTF32",UTF8:"UTF8",UTF8MB3:"UTF8MB3",UTF8MB4:"UTF8MB4",ARCHIVE:"ARCHIVE",BLACKHOLE:"BLACKHOLE",CSV:"CSV",FEDERATED:"FEDERATED",INNODB:"INNODB",MEMORY:"MEMORY",MRG_MYISAM:"MRG_MYISAM",MYISAM:"MYISAM",NDB:"NDB",NDBCLUSTER:"NDBCLUSTER",PERFORMANCE_SCHEMA:"PERFORMANCE_SCHEMA",TOKUDB:"TOKUDB",REPEATABLE:"REPEATABLE",COMMITTED:"COMMITTED",UNCOMMITTED:"UNCOMMITTED",SERIALIZABLE:"SERIALIZABLE",GEOMETRYCOLLECTION:"GEOMETRYCOLLECTION",GEOMCOLLECTION:"GEOMCOLLECTION",GEOMETRY:"GEOMETRY",LINESTRING:"LINESTRING",MULTILINESTRING:"MULTILINESTRING",MULTIPOINT:"MULTIPOINT",MULTIPOLYGON:"MULTIPOLYGON",POINT:"POINT",POLYGON:"POLYGON",ABS:"ABS",ACOS:"ACOS",ADDDATE:"ADDDATE",ADDTIME:"ADDTIME",AES_DECRYPT:"AES_DECRYPT",AES_ENCRYPT:"AES_ENCRYPT",AREA:"AREA",ASBINARY:"ASBINARY",ASIN:"ASIN",ASTEXT:"ASTEXT",ASWKB:"ASWKB",ASWKT:"ASWKT",ASYMMETRIC_DECRYPT:"ASYMMETRIC_DECRYPT",ASYMMETRIC_DERIVE:"ASYMMETRIC_DERIVE",ASYMMETRIC_ENCRYPT:"ASYMMETRIC_ENCRYPT",ASYMMETRIC_SIGN:"ASYMMETRIC_SIGN",ASYMMETRIC_VERIFY:"ASYMMETRIC_VERIFY",ATAN:"ATAN",ATAN2:"ATAN2",BENCHMARK:"BENCHMARK",BIN:"BIN",BIT_COUNT:"BIT_COUNT",BIT_LENGTH:"BIT_LENGTH",BUFFER:"BUFFER",CATALOG_NAME:"CATALOG_NAME",CEIL:"CEIL",CEILING:"CEILING",CENTROID:"CENTROID",CHARACTER_LENGTH:"CHARACTER_LENGTH",CHARSET:"CHARSET",CHAR_LENGTH:"CHAR_LENGTH",COERCIBILITY:"COERCIBILITY",COLLATION:"COLLATION",COMPRESS:"COMPRESS",CONCAT:"CONCAT",CONCAT_WS:"CONCAT_WS",CONNECTION_ID:"CONNECTION_ID",CONV:"CONV",CONVERT_TZ:"CONVERT_TZ",COS:"COS",COT:"COT",CRC32:"CRC32",CREATE_ASYMMETRIC_PRIV_KEY:"CREATE_ASYMMETRIC_PRIV_KEY",CREATE_ASYMMETRIC_PUB_KEY:"CREATE_ASYMMETRIC_PUB_KEY",CREATE_DH_PARAMETERS:"CREATE_DH_PARAMETERS",CREATE_DIGEST:"CREATE_DIGEST",CROSSES:"CROSSES",DATEDIFF:"DATEDIFF",DATE_FORMAT:"DATE_FORMAT",DAYNAME:"DAYNAME",DAYOFMONTH:"DAYOFMONTH",DAYOFWEEK:"DAYOFWEEK",DAYOFYEAR:"DAYOFYEAR",DECODE:"DECODE",DEGREES:"DEGREES",DES_DECRYPT:"DES_DECRYPT",DES_ENCRYPT:"DES_ENCRYPT",DIMENSION:"DIMENSION",DISJOINT:"DISJOINT",ELT:"ELT",ENCODE:"ENCODE",ENCRYPT:"ENCRYPT",ENDPOINT:"ENDPOINT",ENVELOPE:"ENVELOPE",EQUALS:"EQUALS",EXP:"EXP",EXPORT_SET:"EXPORT_SET",EXTERIORRING:"EXTERIORRING",EXTRACTVALUE:"EXTRACTVALUE",FIELD:"FIELD",FIND_IN_SET:"FIND_IN_SET",FLOOR:"FLOOR",FORMAT:"FORMAT",FOUND_ROWS:"FOUND_ROWS",FROM_BASE64:"FROM_BASE64",FROM_DAYS:"FROM_DAYS",FROM_UNIXTIME:"FROM_UNIXTIME",GEOMCOLLFROMTEXT:"GEOMCOLLFROMTEXT",GEOMCOLLFROMWKB:"GEOMCOLLFROMWKB",GEOMETRYCOLLECTIONFROMTEXT:"GEOMETRYCOLLECTIONFROMTEXT",GEOMETRYCOLLECTIONFROMWKB:"GEOMETRYCOLLECTIONFROMWKB",GEOMETRYFROMTEXT:"GEOMETRYFROMTEXT",GEOMETRYFROMWKB:"GEOMETRYFROMWKB",GEOMETRYN:"GEOMETRYN",GEOMETRYTYPE:"GEOMETRYTYPE",GEOMFROMTEXT:"GEOMFROMTEXT",GEOMFROMWKB:"GEOMFROMWKB",GET_FORMAT:"GET_FORMAT",GET_LOCK:"GET_LOCK",GLENGTH:"GLENGTH",GREATEST:"GREATEST",GTID_SUBSET:"GTID_SUBSET",GTID_SUBTRACT:"GTID_SUBTRACT",HEX:"HEX",IFNULL:"IFNULL",INET6_ATON:"INET6_ATON",INET6_NTOA:"INET6_NTOA",INET_ATON:"INET_ATON",INET_NTOA:"INET_NTOA",INSTR:"INSTR",INTERIORRINGN:"INTERIORRINGN",INTERSECTS:"INTERSECTS",ISCLOSED:"ISCLOSED",ISEMPTY:"ISEMPTY",ISNULL:"ISNULL",ISSIMPLE:"ISSIMPLE",IS_FREE_LOCK:"IS_FREE_LOCK",IS_IPV4:"IS_IPV4",IS_IPV4_COMPAT:"IS_IPV4_COMPAT",IS_IPV4_MAPPED:"IS_IPV4_MAPPED",IS_IPV6:"IS_IPV6",IS_USED_LOCK:"IS_USED_LOCK",LAST_INSERT_ID:"LAST_INSERT_ID",LCASE:"LCASE",LEAST:"LEAST",LENGTH:"LENGTH",LINEFROMTEXT:"LINEFROMTEXT",LINEFROMWKB:"LINEFROMWKB",LINESTRINGFROMTEXT:"LINESTRINGFROMTEXT",LINESTRINGFROMWKB:"LINESTRINGFROMWKB",LN:"LN",LOAD_FILE:"LOAD_FILE",LOCATE:"LOCATE",LOG:"LOG",LOG10:"LOG10",LOG2:"LOG2",LOWER:"LOWER",LPAD:"LPAD",LTRIM:"LTRIM",MAKEDATE:"MAKEDATE",MAKETIME:"MAKETIME",MAKE_SET:"MAKE_SET",MASTER_POS_WAIT:"MASTER_POS_WAIT",MBRCONTAINS:"MBRCONTAINS",MBRDISJOINT:"MBRDISJOINT",MBREQUAL:"MBREQUAL",MBRINTERSECTS:"MBRINTERSECTS",MBROVERLAPS:"MBROVERLAPS",MBRTOUCHES:"MBRTOUCHES",MBRWITHIN:"MBRWITHIN",MD5:"MD5",MLINEFROMTEXT:"MLINEFROMTEXT",MLINEFROMWKB:"MLINEFROMWKB",MONTHNAME:"MONTHNAME",MPOINTFROMTEXT:"MPOINTFROMTEXT",MPOINTFROMWKB:"MPOINTFROMWKB",MPOLYFROMTEXT:"MPOLYFROMTEXT",MPOLYFROMWKB:"MPOLYFROMWKB",MULTILINESTRINGFROMTEXT:"MULTILINESTRINGFROMTEXT",MULTILINESTRINGFROMWKB:"MULTILINESTRINGFROMWKB",MULTIPOINTFROMTEXT:"MULTIPOINTFROMTEXT",MULTIPOINTFROMWKB:"MULTIPOINTFROMWKB",MULTIPOLYGONFROMTEXT:"MULTIPOLYGONFROMTEXT",MULTIPOLYGONFROMWKB:"MULTIPOLYGONFROMWKB",NAME_CONST:"NAME_CONST",NULLIF:"NULLIF",NUMGEOMETRIES:"NUMGEOMETRIES",NUMINTERIORRINGS:"NUMINTERIORRINGS",NUMPOINTS:"NUMPOINTS",OCT:"OCT",OCTET_LENGTH:"OCTET_LENGTH",ORD:"ORD",OVERLAPS:"OVERLAPS",PERIOD_ADD:"PERIOD_ADD",PERIOD_DIFF:"PERIOD_DIFF",PI:"PI",POINTFROMTEXT:"POINTFROMTEXT",POINTFROMWKB:"POINTFROMWKB",POINTN:"POINTN",POLYFROMTEXT:"POLYFROMTEXT",POLYFROMWKB:"POLYFROMWKB",POLYGONFROMTEXT:"POLYGONFROMTEXT",POLYGONFROMWKB:"POLYGONFROMWKB",POW:"POW",POWER:"POWER",QUOTE:"QUOTE",RADIANS:"RADIANS",RAND:"RAND",RANDOM_BYTES:"RANDOM_BYTES",RELEASE_LOCK:"RELEASE_LOCK",REVERSE:"REVERSE",ROUND:"ROUND",ROW_COUNT:"ROW_COUNT",RPAD:"RPAD",RTRIM:"RTRIM",SEC_TO_TIME:"SEC_TO_TIME",SESSION_USER:"SESSION_USER",SHA:"SHA",SHA1:"SHA1",SHA2:"SHA2",SCHEMA_NAME:"SCHEMA_NAME",SIGN:"SIGN",SIN:"SIN",SLEEP:"SLEEP",SOUNDEX:"SOUNDEX",SQL_THREAD_WAIT_AFTER_GTIDS:"SQL_THREAD_WAIT_AFTER_GTIDS",SQRT:"SQRT",SRID:"SRID",STARTPOINT:"STARTPOINT",STRCMP:"STRCMP",STR_TO_DATE:"STR_TO_DATE",ST_AREA:"ST_AREA",ST_ASBINARY:"ST_ASBINARY",ST_ASTEXT:"ST_ASTEXT",ST_ASWKB:"ST_ASWKB",ST_ASWKT:"ST_ASWKT",ST_BUFFER:"ST_BUFFER",ST_CENTROID:"ST_CENTROID",ST_CONTAINS:"ST_CONTAINS",ST_CROSSES:"ST_CROSSES",ST_DIFFERENCE:"ST_DIFFERENCE",ST_DIMENSION:"ST_DIMENSION",ST_DISJOINT:"ST_DISJOINT",ST_DISTANCE:"ST_DISTANCE",ST_ENDPOINT:"ST_ENDPOINT",ST_ENVELOPE:"ST_ENVELOPE",ST_EQUALS:"ST_EQUALS",ST_EXTERIORRING:"ST_EXTERIORRING",ST_GEOMCOLLFROMTEXT:"ST_GEOMCOLLFROMTEXT",ST_GEOMCOLLFROMTXT:"ST_GEOMCOLLFROMTXT",ST_GEOMCOLLFROMWKB:"ST_GEOMCOLLFROMWKB",ST_GEOMETRYCOLLECTIONFROMTEXT:"ST_GEOMETRYCOLLECTIONFROMTEXT",ST_GEOMETRYCOLLECTIONFROMWKB:"ST_GEOMETRYCOLLECTIONFROMWKB",ST_GEOMETRYFROMTEXT:"ST_GEOMETRYFROMTEXT",ST_GEOMETRYFROMWKB:"ST_GEOMETRYFROMWKB",ST_GEOMETRYN:"ST_GEOMETRYN",ST_GEOMETRYTYPE:"ST_GEOMETRYTYPE",ST_GEOMFROMTEXT:"ST_GEOMFROMTEXT",ST_GEOMFROMWKB:"ST_GEOMFROMWKB",ST_INTERIORRINGN:"ST_INTERIORRINGN",ST_INTERSECTION:"ST_INTERSECTION",ST_INTERSECTS:"ST_INTERSECTS",ST_ISCLOSED:"ST_ISCLOSED",ST_ISEMPTY:"ST_ISEMPTY",ST_ISSIMPLE:"ST_ISSIMPLE",ST_LINEFROMTEXT:"ST_LINEFROMTEXT",ST_LINEFROMWKB:"ST_LINEFROMWKB",ST_LINESTRINGFROMTEXT:"ST_LINESTRINGFROMTEXT",ST_LINESTRINGFROMWKB:"ST_LINESTRINGFROMWKB",ST_NUMGEOMETRIES:"ST_NUMGEOMETRIES",ST_NUMINTERIORRING:"ST_NUMINTERIORRING",ST_NUMINTERIORRINGS:"ST_NUMINTERIORRINGS",ST_NUMPOINTS:"ST_NUMPOINTS",ST_OVERLAPS:"ST_OVERLAPS",ST_POINTFROMTEXT:"ST_POINTFROMTEXT",ST_POINTFROMWKB:"ST_POINTFROMWKB",ST_POINTN:"ST_POINTN",ST_POLYFROMTEXT:"ST_POLYFROMTEXT",ST_POLYFROMWKB:"ST_POLYFROMWKB",ST_POLYGONFROMTEXT:"ST_POLYGONFROMTEXT",ST_POLYGONFROMWKB:"ST_POLYGONFROMWKB",ST_SRID:"ST_SRID",ST_STARTPOINT:"ST_STARTPOINT",ST_SYMDIFFERENCE:"ST_SYMDIFFERENCE",ST_TOUCHES:"ST_TOUCHES",ST_UNION:"ST_UNION",ST_WITHIN:"ST_WITHIN",ST_X:"ST_X",ST_Y:"ST_Y",SUBDATE:"SUBDATE",SUBSTRING_INDEX:"SUBSTRING_INDEX",SUBTIME:"SUBTIME",SYSTEM_USER:"SYSTEM_USER",TAN:"TAN",TIMEDIFF:"TIMEDIFF",TIMESTAMPADD:"TIMESTAMPADD",TIMESTAMPDIFF:"TIMESTAMPDIFF",TIME_FORMAT:"TIME_FORMAT",TIME_TO_SEC:"TIME_TO_SEC",TOUCHES:"TOUCHES",TO_BASE64:"TO_BASE64",TO_DAYS:"TO_DAYS",TO_SECONDS:"TO_SECONDS",UCASE:"UCASE",UNCOMPRESS:"UNCOMPRESS",UNCOMPRESSED_LENGTH:"UNCOMPRESSED_LENGTH",UNHEX:"UNHEX",UNIX_TIMESTAMP:"UNIX_TIMESTAMP",UPDATEXML:"UPDATEXML",UPPER:"UPPER",UUID:"UUID",UUID_SHORT:"UUID_SHORT",VALIDATE_PASSWORD_STRENGTH:"VALIDATE_PASSWORD_STRENGTH",VERSION:"VERSION",WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS:"WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS",WEEKDAY:"WEEKDAY",WEEKOFYEAR:"WEEKOFYEAR",WEIGHT_STRING:"WEIGHT_STRING",WITHIN:"WITHIN",YEARWEEK:"YEARWEEK",Y:"Y_FUNCTION",X:"X_FUNCTION"}},95515:function(t){var e=this&&this.__spreadArray||function(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i=0;A--){var R=T[i-A],p=u[i-A],I=o[p];if(t.terminals_[p]){S.push(n(I,!0,(c=this.yy.input).substring.apply(c,T[i-A].range),R,null,this.yy));continue}var N=a[i-A];N&&S.push(N)}if(0===E||(null==S?void 0:S.length)==0){this.$=null;return}var O=T.slice(i-E+1,i+1).filter(Boolean),h=O[0];h||console.log(l,E);var L=O[O.length-1],C={first_line:h.first_line,last_line:L.last_line,first_column:h.first_column,last_column:L.last_column,range:[h.range[0],L.range[1]]};this.$=n(l,!1,null,C,S,this.yy),this._$=C}}}},23698:function(t){t.exports={ACCESS:"ACCESS",ACCESSIBLE:"ACCESSIBLE",ACCOUNT:"ACCOUNT",ACTION:"ACTION",ACTIVATE:"ACTIVATE",ACTIVE:"ACTIVE",ADD:"ADD",ADDDATE:"ADDDATE",AFTER:"AFTER",AGAINST:"AGAINST",AGGREGATE:"AGGREGATE",ALGORITHM:"ALGORITHM",ALL:"ALL",ALTER:"ALTER",ALWAYS:"ALWAYS",ANALYSE:"ANALYSE",ANALYZE:"ANALYZE",AND:"AND",ANY:"ANY",APPROX_COUNT_DISTINCT:"APPROX_COUNT_DISTINCT",APPROX_COUNT_DISTINCT_SYNOPSIS:"APPROX_COUNT_DISTINCT_SYNOPSIS",APPROX_COUNT_DISTINCT_SYNOPSIS_MERGE:"APPROX_COUNT_DISTINCT_SYNOPSIS_MERGE",ARBITRATION:"ARBITRATION",ARCHIVELOG:"ARCHIVELOG",AS:"AS",ASC:"ASC",ASENSITIVE:"ASENSITIVE",ASCII:"ASCII",AT:"AT",AUTHORS:"AUTHORS",AUTO:"AUTO",AUTO_INCREMENT:"AUTO_INCREMENT",AUTO_INCREMENT_MODE:"AUTO_INCREMENT_MODE",AUTOEXTEND_SIZE:"AUTOEXTEND_SIZE",AVAILABILITY:"AVAILABILITY",AVG:"AVG",AVG_ROW_LENGTH:"AVG_ROW_LENGTH",BACKUP:"BACKUP",BACKUPSET:"BACKUPSET",BALANCE:"BALANCE",BASE:"BASE",BASELINE:"BASELINE",BASELINE_ID:"BASELINE_ID",BASIC:"BASIC",BEFORE:"BEFORE",BEGIN:"BEGI",BETWEEN:"BETWEEN",BIGINT:"BIGINT",BINARY:"BINARY",BINLOG:"BINLOG",BIT:"BIT",BIT_AND:"BIT_AND",BIT_OR:"BIT_OR",BIT_XOR:"BIT_XOR",BLOB:"BLOB",BLOCK:"BLOCK",BLOCK_SIZE:"BLOCK_SIZE",BOOL:"BOOL",BOOLEAN:"BOOLEAN",BOOTSTRAP:"BOOTSTRAP",BOTH:"BOTH",BREADTH:"BREADTH",BTREE:"BTREE",BY:"BY",BYTE:"BYTE",BUCKETS:"BUCKETS",BACKUP_COPIES:"BACKUP_COPIES",BADFILE:"BADFILE",CACHE:"CACHE",CALIBRATION:"CALIBRATION",CALIBRATION_INFO:"CALIBRATION_INFO",CALL:"CALL",CALC_PARTITION_ID:"CALC_PARTITION_ID",CANCEL:"CANCEL",CASCADED:"CASCADED",CASCADE:"CASCADE",CASE:"CASE",CAST:"CAST",CATALOG_NAME:"CATALOG_NAME",CHAIN:"CHAIN",CHANGE:"CHANGE",CHANGED:"CHANGED",CHAR:"CHARACTER",CHARACTER:"CHARACTER",CHARSET:"CHARSET",CHECK:"CHECK",CHECKSUM:"CHECKSUM",CHECKPOINT:"CHECKPOINT",CHUNK:"CHUNK",CIPHER:"CIPHER",CLASS_ORIGIN:"CLASS_ORIGIN",CLEAN:"CLEAN",CLEAR:"CLEAR",CLIENT:"CLIENT",CLOSE:"CLOSE",CLUSTER:"CLUSTER",CLUSTER_NAME:"CLUSTER_NAME",CLUSTER_ID:"CLUSTER_ID",COALESCE:"COALESCE",CODE:"CODE",COLLATE:"COLLATE",COLLATION:"COLLATION",COLUMN_FORMAT:"COLUMN_FORMAT",COLUMN_NAME:"COLUMN_NAME",COLUMN:"COLUMN",COLUMNS:"COLUMNS",COMMENT:"COMMENT",COMMIT:"COMMIT",COMMITTED:"COMMITTED",COMPACT:"COMPACT",COMPLETION:"COMPLETION",COMPRESSED:"COMPRESSED",COMPRESSION:"COMPRESSION",COMPUTE:"COMPUTE",CONCURRENT:"CONCURRENT",CONDENSED:"CONDENSED",CONDITION:"CONDITION",CONNECTION:"CONNECTION",CONSISTENT:"CONSISTENT",CONSTRAINT:"CONSTRAINT",CONSTRAINT_CATALOG:"CONSTRAINT_CATALOG",CONSTRAINT_NAME:"CONSTRAINT_NAME",CONSTRAINT_SCHEMA:"CONSTRAINT_SCHEMA",CONTAINS:"CONTAINS",CONTEXT:"CONTEXT",CONTRIBUTORS:"CONTRIBUTORS",CONTINUE:"CONTINUE",CONVERT:"CONVERT",COPY:"COPY",COUNT:"COUNT",CPU:"CPU",CREATE:"CREATE",CREATE_TIMESTAMP:"CREATE_TIMESTAMP",CROSS:"CROSS",CTXCAT:"CTXCAT",CUBE:"CUBE",CUME_DIST:"CUME_DIST",CURDATE:"CURDATE",CURRENT:"CURRENT",CURRENT_DATE:"CURRENT_DATE",CURRENT_TIME:"CURRENT_TIME",CURRENT_TIMESTAMP:"CURRENT_TIMESTAMP",CURRENT_USER:"CURRENT_USER",CURSOR:"CURSOR",CURSOR_NAME:"CURSOR_NAME",CURTIME:"CURTIME",CTX_ID:"CTX_ID",CYCLE:"CYCLE",DAG:"DAG",DATA:"DATA",DATABASE_ID:"DATABASE_ID",DATAFILE:"DATAFILE",DATA_TABLE_ID:"DATA_TABLE_ID",DATABASE:"DATABASE",DATABASES:"DATABASES",DATE:"DATE",DATE_ADD:"DATE_ADD",DATE_SUB:"DATE_SUB",DATETIME:"DATETIME",DAY:"DAY",DAY_HOUR:"DAY_HOUR",DAY_MICROSECOND:"DAY_MICROSECOND",DAY_MINUTE:"DAY_MINUTE",DAY_SECOND:"DAY_SECOND",DEALLOCATE:"DEALLOCATE",DEC:"NUMBER",DECIMAL:"DECIMAL",DECLARE:"DECLARE",DECRYPTION:"DECRYPTION",DEFAULT:"DEFAULT",DEFAULT_AUTH:"DEFAULT_AUTH",DEFINER:"DEFINER",DELAY:"DELAY",DELAYED:"DELAYED",DELAY_KEY_WRITE:"DELAY_KEY_WRITE",DELETE:"DELETE",DEPTH:"DEPTH",DES_KEY_FILE:"DES_KEY_FILE",DESTINATION:"DESTINATION",DESC:"DESC",DESCRIBE:"DESCRIBE",DESCRIPTION:"DESCRIPTION",DETERMINISTIC:"DETERMINISTIC",DENSE_RANK:"DENSE_RANK",DIAGNOSTICS:"DIAGNOSTICS",DISCONNECT:"DISCONNECT",DIRECTORY:"DIRECTORY",DISABLE:"DISABLE",DISCARD:"DISCARD",DISK:"DISK",DISKGROUP:"DISKGROUP",DISTINCT:"DISTINCT",DISTINCTROW:"DISTINCT",DIV:"DIV",DO:"DO",DOUBLE:"DOUBLE",DROP:"DROP",DUAL:"DUAL",DUMP:"DUMP",DUMPFILE:"DUMPFILE",DUPLICATE:"DUPLICATE",DYNAMIC:"DYNAMIC",DEFAULT_TABLEGROUP:"DEFAULT_TABLEGROUP",EACH:"EACH",EFFECTIVE:"EFFECTIVE",EMPTY:"EMPTY",ELSE:"ELSE",ELSEIF:"ELSEIF",ENABLE:"ENABLE",ENABLE_ARBITRATION_SERVICE:"ENABLE_ARBITRATION_SERVICE",ENABLE_EXTENDED_ROWID:"ENABLE_EXTENDED_ROWID",ENCLOSED:"ENCLOSED",ENCRYPTION:"ENCRYPTION",END:"END",ENDS:"ENDS",ENFORCED:"ENFORCED",ENGINE:"ENGINE_",ENGINES:"ENGINES",ENUM:"ENUM",ENTITY:"ENTITY",ERROR:"ERROR_P",ERROR_CODE:"ERROR_CODE",ERRORS:"ERRORS",ESCAPE:"ESCAPE",ESCAPED:"ESCAPED",ESTIMATE:"ESTIMATE",EVENT:"EVENT",EVENTS:"EVENTS",EVERY:"EVERY",EXCEPT:"EXCEPT",EXCHANGE:"EXCHANGE",EXECUTE:"EXECUTE",EXISTS:"EXISTS",EXIT:"EXIT",EXPANSION:"EXPANSION",EXPLAIN:"EXPLAIN",EXPIRE:"EXPIRE",EXPIRED:"EXPIRED",EXPIRE_INFO:"EXPIRE_INFO",EXPORT:"EXPORT",EXTENDED:"EXTENDED",EXTENDED_NOADDR:"EXTENDED_NOADDR",EXTENT_SIZE:"EXTENT_SIZE",EXTRACT:"EXTRACT",FAILOVER:"FAILOVER",FAST:"FAST",FAULTS:"FAULTS",FETCH:"FETCH",FIELDS:"FIELDS",FILE:"FILEX",FILE_ID:"FILE_ID",FINAL_COUNT:"FINAL_COUNT",FIRST:"FIRST",FIRST_VALUE:"FIRST_VALUE",FIXED:"FIXED",FLASHBACK:"FLASHBACK",FLOAT:"FLOAT",FLOAT4:"FLOAT",FLOAT8:"DOUBLE",FLUSH:"FLUSH",FOLLOWER:"FOLLOWER",FOR:"FOR",FORCE:"FORCE",FOREIGN:"FOREIGN",FORMAT:"FORMAT",FOUND:"FOUND",FRAGMENTATION:"FRAGMENTATION",FREEZE:"FREEZE",FREQUENCY:"FREQUENCY",FROM:"FROM",FROZEN:"FROZEN",FULL:"FULL",FULLTEXT:"FULLTEXT",FUNCTION:"FUNCTION",FOLLOWING:"FOLLOWING",GENERAL:"GENERAL",GENERATED:"GENERATED",GEOMETRY:"GEOMETRY",GEOMCOLLECTION:"GEOMCOLLECTION",GEOMETRYCOLLECTION:"GEOMETRYCOLLECTION",GET:"GET",GET_FORMAT:"GET_FORMAT",GLOBAL:"GLOBAL",GLOBAL_NAME:"GLOBAL_NAME",GRANT:"GRANT",GRANTS:"GRANTS",GROUP:"GROUP",GROUPING:"GROUPING",GROUP_CONCAT:"GROUP_CONCAT",GTS:"GTS",HANDLER:"HANDLER",HAVING:"HAVING",HASH:"HASH",HELP:"HELP",HIGH_PRIORITY:"HIGH_PRIORITY",HISTOGRAM:"HISTOGRAM",HOST:"HOST",HOSTS:"HOSTS",HOUR:"HOUR",HOUR_MICROSECOND:"HOUR_MICROSECOND",HOUR_MINUTE:"HOUR_MINUTE",HOUR_SECOND:"HOUR_SECOND",HIDDEN:"HIDDEN",HYBRID_HIST:"HYBRID_HIST",ID:"ID",IDC:"IDC",IDENTIFIED:"IDENTIFIED",IF:"IF",IGNORE:"IGNORE",IGNORE_SERVER_IDS:"IGNORE_SERVER_IDS",IMPORT:"IMPORT",IN:"IN",INCR:"INCR",INCREMENT:"INCREMENT",INCREMENTAL:"INCREMENTAL",INDEX:"INDEX",INDEXES:"INDEXES",INDEX_TABLE_ID:"INDEX_TABLE_ID",INFILE:"INFILE",INFO:"INFO",INITIAL_SIZE:"INITIAL_SIZE",INNER:"INNER",INNODB:"INNODB",INOUT:"INOUT",INSENSITIVE:"INSENSITIVE",INSERT_METHOD:"INSERT_METHOD",INSTALL:"INSTALL",INSTANCE:"INSTANCE",INT:"INTEGER",INT1:"TINYINT",INT2:"SMALLINT",INT3:"MEDIUMINT",INT4:"INTEGER",INT8:"BIGINT",INSERT:"INSERT",INTEGER:"INTEGER",INTO:"INTO",INTERSECT:"INTERSECT",INVISIBLE:"INVISIBLE",INVOKER:"INVOKER",IO:"IO",IOPS_WEIGHT:"IOPS_WEIGHT",IO_AFTER_GTIDS:"IO_AFTER_GTIDS",IO_BEFORE_GTIDS:"IO_BEFORE_GTIDS",IO_THREAD:"IO_THREAD",IPC:"IPC",IS:"IS",ISSUER:"ISSUER",ISNULL:"ISNULL",ISOLATE:"ISOLATE",ISOLATION:"ISOLATION",ITERATE:"ITERATE",JOB:"JOB",JOIN:"JOIN",JSON:"JSON",JSON_ARRAYAGG:"JSON_ARRAYAGG",JSON_OBJECTAGG:"JSON_OBJECTAGG",JSON_VALUE:"JSON_VALUE",KEY:"KEY",KEYS:"KEYS",KEY_BLOCK_SIZE:"KEY_BLOCK_SIZE",KEY_VERSION:"KEY_VERSION",KILL:"KILL",KVCACHE:"KVCACHE",ILOGCACHE:"ILOGCACHE",INDEXED:"INDEXED",LAG:"LAG",LANGUAGE:"LANGUAGE",LAST:"LAST",LAST_VALUE:"LAST_VALUE",LEAD:"LEAD",LEADER:"LEADER",LEADING:"LEADING",LEAVE:"LEAVE",LEAVES:"LEAVES",LEAK:"LEAK",LEAK_MOD:"LEAK_MOD",LEAK_RATE:"LEAK_RATE",LEFT:"LEFT",LESS:"LESS",LEVEL:"LEVEL",LIB:"LIB",LIKE:"LIKE",LIMIT:"LIMIT",LINEAR:"LINEAR",LINES:"LINES",LINESTRING:"LINESTRING",LIST:"BISON_LIST",LISTAGG:"LISTAGG",LOAD:"LOAD",LN:"LN",LOCAL:"LOCAL",LOCALITY:"LOCALITY",LOCALTIME:"LOCALTIME",LOCALTIMESTAMP:"LOCALTIMESTAMP",LOCATION:"LOCATION",LOCK:"LOCK_",LOCKED:"LOCKED",LOCKS:"LOCKS",LOGFILE:"LOGFILE",LOGONLY_REPLICA_NUM:"LOGONLY_REPLICA_NUM",LOG:"LOG",LOGS:"LOGS",LONG:"MEDIUMTEXT",LONGBLOB:"LONGBLOB",LONGTEXT:"LONGTEXT",LOOP:"LOOP",LOW_PRIORITY:"LOW_PRIORITY",LS:"LS",MAJOR:"MAJOR",MANUAL:"MANUAL",MASTER:"MASTER",MASTER_BIND:"MASTER_BIND",MASTER_AUTO_POSITION:"MASTER_AUTO_POSITION",MASTER_CONNECT_RETRY:"MASTER_CONNECT_RETRY",MASTER_DELAY:"MASTER_DELAY",MASTER_HEARTBEAT_PERIOD:"MASTER_HEARTBEAT_PERIOD",MASTER_HOST:"MASTER_HOST",MASTER_LOG_FILE:"MASTER_LOG_FILE",MASTER_LOG_POS:"MASTER_LOG_POS",MASTER_PASSWORD:"MASTER_PASSWORD",MASTER_PORT:"MASTER_PORT",MASTER_RETRY_COUNT:"MASTER_RETRY_COUNT",MASTER_SERVER_ID:"MASTER_SERVER_ID",MASTER_SSL:"MASTER_SSL",MASTER_SSL_CA:"MASTER_SSL_CA",MASTER_SSL_CAPATH:"MASTER_SSL_CAPATH",MASTER_SSL_CERT:"MASTER_SSL_CERT",MASTER_SSL_CIPHER:"MASTER_SSL_CIPHER",MASTER_SSL_CRL:"MASTER_SSL_CRL",MASTER_SSL_CRLPATH:"MASTER_SSL_CRLPATH",MASTER_SSL_KEY:"MASTER_SSL_KEY",MASTER_SSL_VERIFY_SERVER_CERT:"MASTER_SSL_VERIFY_SERVER_CERT",MASTER_USER:"MASTER_USER",MATCH:"MATCH",MAX:"MAX",MAXVALUE:"MAXVALUE",MAXIMIZE:"MAXIMIZE",MAX_CONNECTIONS_PER_HOUR:"MAX_CONNECTIONS_PER_HOUR",MAX_CPU:"MAX_CPU",LOG_DISK_SIZE:"LOG_DISK_SIZE",MAX_IOPS:"MAX_IOPS",MEMORY_SIZE:"MEMORY_SIZE",MAX_QUERIES_PER_HOUR:"MAX_QUERIES_PER_HOUR",MAX_ROWS:"MAX_ROWS",MAX_SIZE:"MAX_SIZE",MAX_UPDATES_PER_HOUR:"MAX_UPDATES_PER_HOUR",MAX_USED_PART_ID:"MAX_USED_PART_ID",MAX_USER_CONNECTIONS:"MAX_USER_CONNECTIONS",MEDIUM:"MEDIUM",MEMBER:"MEMBER",MEDIUMBLOB:"MEDIUMBLOB",MEDIUMINT:"MEDIUMINT",MEDIUMTEXT:"MEDIUMTEXT",MEMORY:"MEMORY",MEMSTORE_PERCENT:"MEMSTORE_PERCENT",MEMTABLE:"MEMTABLE",MERGE:"MERGE",MESSAGE_TEXT:"MESSAGE_TEXT",META:"META",MICROSECOND:"MICROSECOND",MIDDLEINT:"MEDIUMINT",MIGRATE:"MIGRATE",MIGRATION:"MIGRATION",MIN:"MIN",MINVALUE:"MINVALUE",MIN_CPU:"MIN_CPU",MIN_IOPS:"MIN_IOPS",MIN_ROWS:"MIN_ROWS",MINOR:"MINOR",MINUTE:"MINUTE",MINUTE_MICROSECOND:"MINUTE_MICROSECOND",MINUTE_SECOND:"MINUTE_SECOND",MINUS:"MINUS",MOD:"MOD",MODE:"MODE",MODIFY:"MODIFY",MODIFIES:"MODIFIES",MONTH:"MONTH",MOVE:"MOVE",MULTILINESTRING:"MULTILINESTRING",MULTIPOINT:"MULTIPOINT",MULTIPOLYGON:"MULTIPOLYGON",MUTEX:"MUTEX",MYSQL_ERRNO:"MYSQL_ERRNO",NAME:"NAME",NAMES:"NAMES",NAMESPACE:"NAMESPACE",NATIONAL:"NATIONAL",NATURAL:"NATURAL",NCHAR:"NCHAR",NDB:"NDB",NDBCLUSTER:"NDBCLUSTER",NEW:"NEW",NEXT:"NEXT",NO:"NO",NOT:"NOT",NO_WRITE_TO_BINLOG:"NO_WRITE_TO_BINLOG",NOARCHIVELOG:"NOARCHIVELOG",NOAUDIT:"NOAUDIT",NOCACHE:"NOCACHE",NOCYCLE:"NOCYCLE",NOMAXVALUE:"NOMAXVALUE",NOMINVALUE:"NOMINVALUE",NOORDER:"NOORDER",NO_PARALLEL:"NO_PARALLEL",NO_REWRITE:"NO_REWRITE",NO_WAIT:"NO_WAIT",NODEGROUP:"NODEGROUP",NONE:"NONE",NOPARALLEL:"NOPARALLEL",NORMAL:"NORMAL",NOW:"NOW",NOWAIT:"NOWAIT",NULLS:"NULLS",NUMERIC:"DECIMAL",NUMBER:"NUMBER",NVARCHAR:"NVARCHAR",OCCUR:"OCCUR",NTILE:"NTILE",NTH_VALUE:"NTH_VALUE",OBCONFIG_URL:"OBCONFIG_URL",OF:"OF",OFF:"OFF",OFFSET:"OFFSET",OLD:"OLD",OLD_KEY:"OLD_KEY",OJ:"OJ",OVER:"OVER",OLD_PASSWORD:"OLD_PASSWORD",ON:"ON",ONE:"ONE",ONE_SHOT:"ONE_SHOT",ONLY:"ONLY",OPEN:"OPEN",OPTIMIZE:"OPTIMIZE",OPTION:"OPTION",OPTIONALLY:"OPTIONALLY",OPTIONS:"OPTIONS",OR:"OR",ORDER:"ORDER",ORIG_DEFAULT:"ORIG_DEFAULT",OUT:"OUT",OUTER:"OUTER",OUTFILE:"OUTFILE",OUTLINE:"OUTLINE",OWNER:"OWNER",PACK_KEYS:"PACK_KEYS",PAGE:"PAGE",PARAMETERS:"PARAMETERS",PARALLEL:"PARALLEL",PARSER:"PARSER",PARTIAL:"PARTIAL",PARTITION:"PARTITION",PARTITION_ID:"PARTITION_ID",PARTITIONING:"PARTITIONING",PARTITIONS:"PARTITIONS",PASSWORD:"PASSWORD",PAUSE:"PAUSE",PERCENTAGE:"PERCENTAGE",PERCENT_RANK:"PERCENT_RANK",PERFORMANCE:"PERFORMANCE",PHASE:"PHASE",PHYSICAL:"PHYSICAL",PLAN:"PLAN",PLANREGRESS:"PLANREGRESS",PLUGIN:"PLUGIN",PLUGIN_DIR:"PLUGIN_DIR",PLUGINS:"PLUGINS",PLUS:"PLUS",POINT:"POINT",POLICY:"POLICY",POLYGON:"POLYGON",POOL:"POOL",PORT:"PORT",POSITION:"POSITION",PRECISION:"PRECISION",PREPARE:"PREPARE",PRESERVE:"PRESERVE",PREV:"PREV",PRIMARY:"PRIMARY",PRIMARY_ZONE:"PRIMARY_ZONE",PRIVILEGES:"PRIVILEGES",PROCEDURE:"PROCEDURE",PROCESS:"PROCESS",PROCESSLIST:"PROCESSLIST",PROFILE:"PROFILE",PROFILES:"PROFILES",PROGRESSIVE_MERGE_NUM:"PROGRESSIVE_MERGE_NUM",PROTECTION:"PROTECTION",PROXY:"PROXY",PUBLIC:"PUBLIC",PURGE:"PURGE",P_ENTITY:"P_ENTITY",P_CHUNK:"P_CHUNK",PRECEDING:"PRECEDING",PCTFREE:"PCTFREE",PS:"PS",QUARTER:"QUARTER",QUERY:"QUERY",QUICK:"QUICK",RANGE:"RANGE",RANK:"RANK",READ:"READ",READ_WRITE:"READ_WRITE",READ_CONSISTENCY:"READ_CONSISTENCY",READ_ONLY:"READ_ONLY",READS:"READS",REAL:"REAL",REBUILD:"REBUILD",RECOVER:"RECOVER",RECOVERY:"RECOVERY",RECOVERY_WINDOW:"RECOVERY_WINDOW",RECYCLE:"RECYCLE",RECYCLEBIN:"RECYCLEBIN",REDO_BUFFER_SIZE:"REDO_BUFFER_SIZE",REDO_TRANSPORT_OPTIONS:"REDO_TRANSPORT_OPTIONS",REDOFILE:"REDOFILE",REDUNDANCY:"REDUNDANCY",REDUNDANT:"REDUNDANT",REFERENCES:"REFERENCES",REFRESH:"REFRESH",REGEXP:"REGEXP",REGION:"REGION",REJECT:"REJECT",RELAY:"RELAY",RELAY_LOG_FILE:"RELAY_LOG_FILE",RELAY_LOG_POS:"RELAY_LOG_POS",RELAY_THREAD:"RELAY_THREAD",RELAYLOG:"RELAYLOG",RELEASE:"RELEASE",RELOAD:"RELOAD",REMOVE:"REMOVE",RENAME:"RENAME",REORGANIZE:"REORGANIZE",REPAIR:"REPAIR",REPEAT:"REPEAT",REPEATABLE:"REPEATABLE",REPLACE:"REPLACE",REPLICA:"REPLICA",REPLICA_NUM:"REPLICA_NUM",REPLICA_TYPE:"REPLICA_TYPE",DUPLICATE_SCOPE:"DUPLICATE_SCOPE",REPLICATION:"REPLICATION",REPORT:"REPORT",REQUIRE:"REQUIRE",RESET:"RESET",RESIGNAL:"RESIGNAL",RESOURCE:"RESOURCE",RESOURCE_POOL_LIST:"RESOURCE_POOL_LIST",RESPECT:"RESPECT",RESTART:"RESTART",RESTORE:"RESTORE",RESTRICT:"RESTRICT",RESUME:"RESUME",RETURNING:"RETURNING",RETURNED_SQLSTATE:"RETURNED_SQLSTATE",RETURN:"RETURN",RETURNS:"RETURNS",REVERSE:"REVERSE",REVOKE:"REVOKE",RIGHT:"RIGHT",RLIKE:"REGEXP",ROLLBACK:"ROLLBACK",ROLLING:"ROLLING",ROLLUP:"ROLLUP",ROOT:"ROOT",ROOTSERVICE:"ROOTSERVICE",ROOTSERVICE_LIST:"ROOTSERVICE_LIST",ROOTTABLE:"ROOTTABLE",ROTATE:"ROTATE",ROUTINE:"ROUTINE",ROW:"ROW",ROW_COUNT:"ROW_COUNT",ROW_FORMAT:"ROW_FORMAT",ROW_NUMBER:"ROW_NUMBER",ROWS:"ROWS",RTREE:"RTREE",RUN:"RUN",SAMPLE:"SAMPLE",SAVEPOINT:"SAVEPOINT",SCHEDULE:"SCHEDULE",SCHEMA_NAME:"SCHEMA_NAME",SCN:"SCN",SCOPE:"SCOPE",SECOND:"SECOND",SECOND_MICROSECOND:"SECOND_MICROSECOND",SECURITY:"SECURITY",SEED:"SEED",SENSITIVE:"SENSITIVE",SEQUENCE:"SEQUENCE",SEQUENCES:"SEQUENCES",SERIAL:"SERIAL",SERIALIZABLE:"SERIALIZABLE",SERVER:"SERVER",SERVER_IP:"SERVER_IP",SERVER_PORT:"SERVER_PORT",SERVER_TYPE:"SERVER_TYPE",SERVICE:"SERVICE",SET:"SET",SESSION:"SESSION",SESSION_USER:"SESSION_USER",STATEMENTS:"STATEMENTS",STATISTICS:"STATISTICS",BINDING:"BINDING",SCHEMA:"SCHEMA",SCHEMAS:"SCHEMAS",SELECT:"SELECT",SET_MASTER_CLUSTER:"SET_MASTER_CLUSTER",SET_SLAVE_CLUSTER:"SET_SLAVE_CLUSTER",SET_TP:"SET_TP",SEPARATOR:"SEPARATOR",SHARE:"SHARE",SHOW:"SHOW",SKEWONLY:"SKEWONLY",SHUTDOWN:"SHUTDOWN",SIGNED:"SIGNED",SIGNAL:"SIGNAL",SIMPLE:"SIMPLE",SLAVE:"SLAVE",SIZE:"SIZE",SLOG:"SLOG",SLOW:"SLOW",SLOT_IDX:"SLOT_IDX",SMALLINT:"SMALLINT",SNAPSHOT:"SNAPSHOT",SOCKET:"SOCKET",SOME:"SOME",SONAME:"SONAME",SOUNDS:"SOUNDS",SOURCE:"SOURCE",SPATIAL:"SPATIAL",SPECIFIC:"SPECIFIC",SPFILE:"SPFILE",SPLIT:"SPLIT",SQL:"SQL",SQLEXCEPTION:"SQLEXCEPTION",SQLSTATE:"SQLSTATE",SQLWARNING:"SQLWARNING",SQL_BIG_RESULT:"SQL_BIG_RESULT",SQL_CALC_FOUND_ROWS:"SQL_CALC_FOUND_ROWS",SQL_SMALL_RESULT:"SQL_SMALL_RESULT",SQL_AFTER_GTIDS:"SQL_AFTER_GTIDS",SQL_AFTER_MTS_GAPS:"SQL_AFTER_MTS_GAPS",SQL_BEFORE_GTIDS:"SQL_BEFORE_GTIDS",SQL_BUFFER_RESULT:"SQL_BUFFER_RESULT",SQL_CACHE:"SQL_CACHE",SQL_ID:"SQL_ID",SQL_NO_CACHE:"SQL_NO_CACHE",SQL_THREAD:"SQL_THREAD",SQL_TSI_DAY:"SQL_TSI_DAY",SQL_TSI_HOUR:"SQL_TSI_HOUR",SQL_TSI_MINUTE:"SQL_TSI_MINUTE",SQL_TSI_MONTH:"SQL_TSI_MONTH",SQL_TSI_QUARTER:"SQL_TSI_QUARTER",SQL_TSI_SECOND:"SQL_TSI_SECOND",SQL_TSI_WEEK:"SQL_TSI_WEEK",SQL_TSI_YEAR:"SQL_TSI_YEAR",SRID:"SRID",SSL:"SSL",STACKED:"STACKED",STANDBY:"STANDBY",START:"START",STARTS:"STARTS",STARTING:"STARTING",STRAIGHT_JOIN:"STRAIGHT_JOIN",STAT:"STAT",STATS_AUTO_RECALC:"STATS_AUTO_RECALC",STATS_PERSISTENT:"STATS_PERSISTENT",STATS_SAMPLE_PAGES:"STATS_SAMPLE_PAGES",STATUS:"STATUS",STD:"STD",STDDEV:"STDDEV",STDDEV_POP:"STDDEV_POP",STDDEV_SAMP:"STDDEV_SAMP",STOP:"STOP",STORAGE:"STORAGE",STORAGE_FORMAT_VERSION:"STORAGE_FORMAT_VERSION",STORED:"STORED",STORING:"STORING",STRING:"STRING",STRONG:"STRONG",SUBCLASS_ORIGIN:"SUBCLASS_ORIGIN",SUBDATE:"SUBDATE",SUBJECT:"SUBJECT",SUBPARTITION:"SUBPARTITION",SUBPARTITIONS:"SUBPARTITIONS",SUBSTR:"SUBSTR",SUBSTRING:"SUBSTRING",SUM:"SUM",SUPER:"SUPER",SUSPEND:"SUSPEND",SUCCESSFUL:"SUCCESSFUL",SYNCHRONIZATION:"SYNCHRONIZATION",SYSDATE:"SYSDATE",SYSTEM:"SYSTEM",SYSTEM_USER:"SYSTEM_USER",SWAPS:"SWAPS",SWITCH:"SWITCH",SWITCHES:"SWITCHES",SWITCHOVER:"SWITCHOVER",TABLE:"TABLE",TABLE_CHECKSUM:"TABLE_CHECKSUM",TABLE_MODE:"TABLE_MODE",TABLE_ID:"TABLE_ID",TABLE_NAME:"TABLE_NAME",TABLEGROUP:"TABLEGROUP",TABLEGROUPS:"TABLEGROUPS",TABLEGROUP_ID:"TABLEGROUP_ID",TABLES:"TABLES",TABLESPACE:"TABLESPACE",TABLET:"TABLET",TABLET_ID:"TABLET_ID",TABLET_MAX_SIZE:"TABLET_MAX_SIZE",TASK:"TASK",TEMPLATE:"TEMPLATE",TEMPORARY:"TEMPORARY",TEMPTABLE:"TEMPTABLE",TENANT:"TENANT",TENANT_ID:"TENANT_ID",TERMINATED:"TERMINATED",TEXT:"TEXT",THAN:"THAN",THEN:"THEN",TIME:"TIME",TIMESTAMP:"TIMESTAMP",TIMESTAMPADD:"TIMESTAMPADD",TIMESTAMPDIFF:"TIMESTAMPDIFF",TINYBLOB:"TINYBLOB",TINYINT:"TINYINT",TINYTEXT:"TINYTEXT",TABLET_SIZE:"TABLET_SIZE",TP_NAME:"TP_NAME",TP_NO:"TP_NO",TRACE:"TRACE",TRADITIONAL:"TRADITIONAL",TRAILING:"TRAILING",TRANSACTION:"TRANSACTION",TRIGGER:"TRIGGER",TRIGGERS:"TRIGGERS",TRIM:"TRIM",TRUNCATE:"TRUNCATE",TYPE:"TYPE",TYPES:"TYPES",TO:"TO",TOP_K_FRE_HIST:"TOP_K_FRE_HIST",UNCOMMITTED:"UNCOMMITTED",UNDEFINED:"UNDEFINED",UNDO:"UNDO",UNDO_BUFFER_SIZE:"UNDO_BUFFER_SIZE",UNDOFILE:"UNDOFILE",UNION:"UNION",UNIQUE:"UNIQUE",UNICODE:"UNICODE",UNINSTALL:"UNINSTALL",UNIT:"UNIT",UNIT_GROUP:"UNIT_GROUP",UNIT_NUM:"UNIT_NUM",UNKNOWN:"UNKNOWN",UNLOCK:"UNLOCK",UNLOCKED:"UNLOCKED",UNSIGNED:"UNSIGNED",UNTIL:"UNTIL",UNUSUAL:"UNUSUAL",UPDATE:"UPDATE",UPGRADE:"UPGRADE",USAGE:"USAGE",USE:"USE",USING:"USING",USE_BLOOM_FILTER:"USE_BLOOM_FILTER",USE_FRM:"USE_FRM",USER:"USER",USER_RESOURCES:"USER_RESOURCES",UTC_DATE:"UTC_DATE",UTC_TIME:"UTC_TIME",UTC_TIMESTAMP:"UTC_TIMESTAMP",UNBOUNDED:"UNBOUNDED",UNLIMITED:"UNLIMITED",VALID:"VALID",VALIDATE:"VALIDATE",VALUE:"VALUE",VARBINARY:"VARBINARY",VARCHAR:"VARCHAR",VARCHARACTER:"VARCHAR",VARIANCE:"VARIANCE",VARIABLES:"VARIABLES",VAR_POP:"VAR_POP",VAR_SAMP:"VAR_SAMP",VERBOSE:"VERBOSE",VERIFY:"VERIFY",MATERIALIZED:"MATERIALIZED",VALUES:"VALUES",VARYING:"VARYING",VIEW:"VIEW",VIRTUAL:"VIRTUAL",VIRTUAL_COLUMN_ID:"VIRTUAL_COLUMN_ID",VISIBLE:"VISIBLE",WAIT:"WAIT",WARNINGS:"WARNINGS",WEAK:"WEAK",WEEK:"WEEK",WEIGHT_STRING:"WEIGHT_STRING",WHERE:"WHERE",WHEN:"WHEN",WHENEVER:"WHENEVER",WHILE:"WHILE",WINDOW:"WINDOW",WITH:"WITH",WORK:"WORK",WRITE:"WRITE",WRAPPER:"WRAPPER",X509:"X509",XA:"XA",XML:"XML",XOR:"XOR",YEAR:"YEAR",YEAR_MONTH:"YEAR_MONTH",ZONE:"ZONE",ZONE_LIST:"ZONE_LIST",TIME_ZONE_INFO:"TIME_ZONE_INFO",ZONE_TYPE:"ZONE_TYPE",ZEROFILL:"ZEROFILL",AUDIT:"AUDIT",PL:"PL",REMOTE_OSS:"REMOTE_OSS",THROTTLE:"THROTTLE",PRIORITY:"PRIORITY",RT:"RT",NETWORK:"NETWORK",LOGICAL_READS:"LOGICAL_READS",QUEUE_TIME:"QUEUE_TIME",OBSOLETE:"OBSOLETE",BANDWIDTH:"BANDWIDTH",BACKUPPIECE:"BACKUPPIECE",BACKUP_BACKUP_DEST:"BACKUP_BACKUP_DEST",BACKED:"BACKED",PRETTY:"PRETTY",PRETTY_COLOR:"PRETTY_COLOR",PREVIEW:"PREVIEW",UP:"UP",TIMES:"TIMES",BACKUPROUND:"BACKUPROUND",RECURSIVE:"RECURSIVE",WASH:"WASH",QUERY_RESPONSE_TIME:"QUERY_RESPONSE_TIME"}},22634:function(t){var e=this&&this.__spreadArray||function(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i=0;A--){var R=T[i-A],p=u[i-A],I=o[p];if(t.terminals_[p]){S.push(n(I,!0,(c=this.yy.input).substring.apply(c,T[i-A].range),R,null,this.yy));continue}var N=a[i-A];N&&S.push(N)}if(0===E||(null==S?void 0:S.length)==0){this.$=null;return}var O=T.slice(i-E+1,i+1).filter(Boolean),h=O[0];h||console.log(l,E);var L=O[O.length-1],C={first_line:h.first_line,last_line:L.last_line,first_column:h.first_column,last_column:L.last_column,range:[h.range[0],L.range[1]]};this.$=n(l,!1,null,C,S,this.yy),this._$=C}}}},78073:function(t,e,n){var r=this&&this.__spreadArray||function(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i=0;A--){var R=T[i-A],p=u[i-A],I=o[p];if(t.terminals_[p]){S.push(n(I,!0,(c=this.yy.input).substring.apply(c,T[i-A].range),R,null,this.yy));continue}var N=a[i-A];N&&S.push(N)}if(0===E||(null==S?void 0:S.length)==0){this.$=null;return}var O=T.slice(i-E+1,i+1).filter(Boolean),h=O[0];h||console.log(l,E);var L=O[O.length-1],C={first_line:h.first_line,last_line:L.last_line,first_column:h.first_column,last_column:L.last_column,range:[h.range[0],L.range[1]]};this.$=n(l,!1,null,C,S,this.yy),this._$=C}}}},70895:function(t,e,n){var r=n(85319).Token,i=n(24412).Lexer,o=n(24088).Interval;function E(){return this}function s(t){return E.call(this),this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1,this}s.prototype=Object.create(E.prototype),s.prototype.constructor=s,s.prototype.mark=function(){return 0},s.prototype.release=function(t){},s.prototype.reset=function(){this.seek(0)},s.prototype.seek=function(t){this.lazyInit(),this.index=this.adjustSeekIndex(t)},s.prototype.get=function(t){return this.lazyInit(),this.tokens[t]},s.prototype.consume=function(){if(!(this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(e)>=e},s.prototype.fetch=function(t){if(this.fetchedEOF)return 0;for(var e=0;e=this.tokens.length&&(e=this.tokens.length-1);for(var o=t;o=this.tokens.length)?this.tokens[this.tokens.length-1]:this.tokens[e]},s.prototype.adjustSeekIndex=function(t){return t},s.prototype.lazyInit=function(){-1===this.index&&this.setup()},s.prototype.setup=function(){this.sync(0),this.index=this.adjustSeekIndex(0)},s.prototype.setTokenSource=function(t){this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1},s.prototype.nextTokenOnChannel=function(t,e){if(this.sync(t),t>=this.tokens.length)return -1;for(var n=this.tokens[t];n.channel!==this.channel;){if(n.type===r.EOF)return -1;t+=1,this.sync(t),n=this.tokens[t]}return t},s.prototype.previousTokenOnChannel=function(t,e){for(;t>=0&&this.tokens[t].channel!==e;)t-=1;return t},s.prototype.getHiddenTokensToRight=function(t,e){if(void 0===e&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw""+t+" not in 0.."+this.tokens.length-1;var n=this.nextTokenOnChannel(t+1,i.DEFAULT_TOKEN_CHANNEL),r=t+1,o=-1===n?this.tokens.length-1:n;return this.filterForChannel(r,o,e)},s.prototype.getHiddenTokensToLeft=function(t,e){if(void 0===e&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw""+t+" not in 0.."+this.tokens.length-1;var n=this.previousTokenOnChannel(t-1,i.DEFAULT_TOKEN_CHANNEL);if(n===t-1)return null;var r=t-1;return this.filterForChannel(n+1,r,e)},s.prototype.filterForChannel=function(t,e,n){for(var r=[],o=t;o=this.tokens.length&&(n=this.tokens.length-1);for(var i="",E=e;E=this._size)throw"cannot consume EOF";this._index+=1},i.prototype.LA=function(t){if(0===t)return 0;t<0&&(t+=1);var e=this._index+t-1;return e<0||e>=this._size?r.EOF:this.data[e]},i.prototype.LT=function(t){return this.LA(t)},i.prototype.mark=function(){return -1},i.prototype.release=function(t){},i.prototype.seek=function(t){if(t<=this._index){this._index=t;return}this._index=Math.min(t,this._size)},i.prototype.getText=function(t,e){if(e>=this._size&&(e=this._size-1),t>=this._size)return"";if(!this.decodeToUnicodeCodePoints)return this.strdata.slice(t,e+1);for(var n="",r=t;r<=e;r++)n+=String.fromCodePoint(this.data[r]);return n},i.prototype.toString=function(){return this.strdata},e.InputStream=i},24088:function(t,e,n){var r=n(85319).Token;function i(t,e){return this.start=t,this.stop=e,this}function o(){this.intervals=null,this.readOnly=!1}i.prototype.contains=function(t){return t>=this.start&&t=n.stop?(this.intervals.pop(t+1),this.reduce(t)):e.stop>=n.start&&(this.intervals[t]=new i(e.start,n.stop),this.intervals.pop(t+1))}},o.prototype.complement=function(t,e){var n=new o;n.addInterval(new i(t,e+1));for(var r=0;rr.start&&t.stop=r.stop?(this.intervals.splice(e,1),e-=1):t.start"):t.push("'"+String.fromCharCode(n.start)+"'"):t.push("'"+String.fromCharCode(n.start)+"'..'"+String.fromCharCode(n.stop-1)+"'")}return t.length>1?"{"+t.join(", ")+"}":t[0]},o.prototype.toIndexString=function(){for(var t=[],e=0;e"):t.push(n.start.toString()):t.push(n.start.toString()+".."+(n.stop-1).toString())}return t.length>1?"{"+t.join(", ")+"}":t[0]},o.prototype.toTokenString=function(t,e){for(var n=[],r=0;r1?"{"+n.join(", ")+"}":n[0]},o.prototype.elementName=function(t,e,n){return n===r.EOF?"":n===r.EPSILON?"":t[n]||e[n]},e.Interval=i,e.V=o},40670:function(t,e,n){var r=n(28561).Set,i=n(28561).BitSet,o=n(85319).Token,E=n(63864).m;n(24088).Interval;var s=n(24088).V,a=n(9215).RuleStopState,T=n(55099).RuleTransition,u=n(55099).NotSetTransition,c=n(55099).WildcardTransition,S=n(55099).AbstractPredicateTransition,l=n(98758),A=l.predictionContextFromRuleContext,R=l.PredictionContext,p=l.SingletonPredictionContext;function I(t){this.atn=t}I.HIT_PRED=o.INVALID_TYPE,I.prototype.getDecisionLookahead=function(t){if(null===t)return null;for(var e=t.transitions.length,n=[],o=0;o":"\n"===t?"\\n":" "===t?"\\t":"\r"===t?"\\r":t},a.prototype.getCharErrorDisplay=function(t){return"'"+this.getErrorDisplayForChar(t)+"'"},a.prototype.recover=function(t){this._input.LA(1)!==r.EOF&&(t instanceof s?this._interp.consume(this._input):this._input.consume())},e.Lexer=a},93709:function(t,e,n){var r=n(85319).Token,i=n(62438).ParseTreeListener,o=n(44489).c,E=n(41080).t,s=n(28833).ATNDeserializer,a=n(76477).W,T=n(62438).TerminalNode,u=n(62438).ErrorNode;function c(t){return i.call(this),this.parser=t,this}function S(t){return o.call(this),this._input=null,this._errHandler=new E,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(t),this}c.prototype=Object.create(i.prototype),c.prototype.constructor=c,c.prototype.enterEveryRule=function(t){console.log("enter "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},c.prototype.visitTerminal=function(t){console.log("consume "+t.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])},c.prototype.exitEveryRule=function(t){console.log("exit "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},S.prototype=Object.create(o.prototype),S.prototype.contructor=S,S.bypassAltsAtnCache={},S.prototype.reset=function(){null!==this._input&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),null!==this._interp&&this._interp.reset()},S.prototype.match=function(t){var e=this.getCurrentToken();return e.type===t?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===e.tokenIndex&&this._ctx.addErrorNode(e)),e},S.prototype.matchWildcard=function(){var t=this.getCurrentToken();return t.type>0?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===t.tokenIndex&&this._ctx.addErrorNode(t)),t},S.prototype.getParseListeners=function(){return this._parseListeners||[]},S.prototype.addParseListener=function(t){if(null===t)throw"listener";null===this._parseListeners&&(this._parseListeners=[]),this._parseListeners.push(t)},S.prototype.removeParseListener=function(t){if(null!==this._parseListeners){var e=this._parseListeners.indexOf(t);e>=0&&this._parseListeners.splice(e,1),0===this._parseListeners.length&&(this._parseListeners=null)}},S.prototype.removeParseListeners=function(){this._parseListeners=null},S.prototype.triggerEnterRuleEvent=function(){if(null!==this._parseListeners){var t=this._ctx;this._parseListeners.map(function(e){e.enterEveryRule(t),t.enterRule(e)})}},S.prototype.triggerExitRuleEvent=function(){if(null!==this._parseListeners){var t=this._ctx;this._parseListeners.slice(0).reverse().map(function(e){t.exitRule(e),e.exitEveryRule(t)})}},S.prototype.getTokenFactory=function(){return this._input.tokenSource._factory},S.prototype.setTokenFactory=function(t){this._input.tokenSource._factory=t},S.prototype.getATNWithBypassAlts=function(){var t=this.getSerializedATN();if(null===t)throw"The current parser does not support an ATN with bypass alternatives.";var e=this.bypassAltsAtnCache[t];if(null===e){var n=new a;n.generateRuleBypassTransitions=!0,e=new s(n).deserialize(t),this.bypassAltsAtnCache[t]=e}return e};var l=n(24412).Lexer;S.prototype.compileParseTreePattern=function(t,e,n){if(null===(n=n||null)&&null!==this.getTokenStream()){var r=this.getTokenStream().tokenSource;r instanceof l&&(n=r)}if(null===n)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(n,this).compile(t,e)},S.prototype.getInputStream=function(){return this.getTokenStream()},S.prototype.setInputStream=function(t){this.setTokenStream(t)},S.prototype.getTokenStream=function(){return this._input},S.prototype.setTokenStream=function(t){this._input=null,this.reset(),this._input=t},S.prototype.getCurrentToken=function(){return this._input.LT(1)},S.prototype.notifyErrorListeners=function(t,e,n){n=n||null,null===(e=e||null)&&(e=this.getCurrentToken()),this._syntaxErrors+=1;var r=e.line,i=e.column;this.getErrorListenerDispatch().syntaxError(this,e,r,i,t,n)},S.prototype.consume=function(){var t,e=this.getCurrentToken();e.type!==r.EOF&&this.getInputStream().consume();var n=null!==this._parseListeners&&this._parseListeners.length>0;return(this.buildParseTrees||n)&&((t=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(e):this._ctx.addTokenNode(e)).invokingState=this.state,n&&this._parseListeners.map(function(e){t instanceof u||void 0!==t.isErrorNode&&t.isErrorNode()?e.visitErrorNode(t):t instanceof T&&e.visitTerminal(t)})),e},S.prototype.addContextToParseTree=function(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)},S.prototype.enterRule=function(t,e,n){this.state=e,this._ctx=t,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),null!==this._parseListeners&&this.triggerEnterRuleEvent()},S.prototype.exitRule=function(){this._ctx.stop=this._input.LT(-1),null!==this._parseListeners&&this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx},S.prototype.enterOuterAlt=function(t,e){t.setAltNumber(e),this.buildParseTrees&&this._ctx!==t&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(t)),this._ctx=t},S.prototype.getPrecedence=function(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]},S.prototype.enterRecursionRule=function(t,e,n,r){this.state=e,this._precedenceStack.push(r),this._ctx=t,this._ctx.start=this._input.LT(1),null!==this._parseListeners&&this.triggerEnterRuleEvent()},S.prototype.pushNewRecursionContext=function(t,e,n){var r=this._ctx;r.parentCtx=t,r.invokingState=e,r.stop=this._input.LT(-1),this._ctx=t,this._ctx.start=r.start,this.buildParseTrees&&this._ctx.addChild(r),null!==this._parseListeners&&this.triggerEnterRuleEvent()},S.prototype.unrollRecursionContexts=function(t){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var e=this._ctx;if(null!==this._parseListeners)for(;this._ctx!==t;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=t;e.parentCtx=t,this.buildParseTrees&&null!==t&&t.addChild(e)},S.prototype.getInvokingContext=function(t){for(var e=this._ctx;null!==e;){if(e.ruleIndex===t)return e;e=e.parentCtx}return null},S.prototype.precpred=function(t,e){return e>=this._precedenceStack[this._precedenceStack.length-1]},S.prototype.inContext=function(t){return!1},S.prototype.isExpectedToken=function(t){var e=this._interp.atn,n=this._ctx,i=e.states[this.state],o=e.nextTokens(i);if(o.contains(t))return!0;if(!o.contains(r.EPSILON))return!1;for(;null!==n&&n.invokingState>=0&&o.contains(r.EPSILON);){var E=e.states[n.invokingState].transitions[0];if((o=e.nextTokens(E.followState)).contains(t))return!0;n=n.parentCtx}return!!o.contains(r.EPSILON)&&t===r.EOF},S.prototype.getExpectedTokens=function(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)},S.prototype.getExpectedTokensWithinCurrentRule=function(){var t=this._interp.atn,e=t.states[this.state];return t.nextTokens(e)},S.prototype.getRuleIndex=function(t){var e=this.getRuleIndexMap()[t];return null!==e?e:-1},S.prototype.getRuleInvocationStack=function(t){null===(t=t||null)&&(t=this._ctx);for(var e=[];null!==t;){var n=t.ruleIndex;n<0?e.push("n/a"):e.push(this.ruleNames[n]),t=t.parentCtx}return e},S.prototype.getDFAStrings=function(){return this._interp.decisionToDFA.toString()},S.prototype.dumpDFA=function(){for(var t=!1,e=0;e0&&(t&&console.log(),this.printer.println("Decision "+n.decision+":"),this.printer.print(n.toString(this.literalNames,this.symbolicNames)),t=!0)}},S.prototype.getSourceName=function(){return this._input.sourceName},S.prototype.setTrace=function(t){t?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new c(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)},e.Parser=S},65082:function(t,e,n){var r=n(38738).r,i=n(62438),o=i.INVALID_INTERVAL,E=i.TerminalNode,s=i.TerminalNodeImpl,a=i.ErrorNodeImpl,T=n(24088).Interval;function u(t,e){t=t||null,e=e||null,r.call(this,t,e),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}function c(t,e,n){return u.call(t,e),this.ruleIndex=n,this}u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.copyFrom=function(t){this.parentCtx=t.parentCtx,this.invokingState=t.invokingState,this.children=null,this.start=t.start,this.stop=t.stop,t.children&&(this.children=[],t.children.map(function(t){t instanceof a&&(this.children.push(t),t.parentCtx=this)},this))},u.prototype.enterRule=function(t){},u.prototype.exitRule=function(t){},u.prototype.addChild=function(t){return null===this.children&&(this.children=[]),this.children.push(t),t},u.prototype.removeLastChild=function(){null!==this.children&&this.children.pop()},u.prototype.addTokenNode=function(t){var e=new s(t);return this.addChild(e),e.parentCtx=this,e},u.prototype.addErrorNode=function(t){var e=new a(t);return this.addChild(e),e.parentCtx=this,e},u.prototype.getChild=function(t,e){if(e=e||null,null===this.children||t<0||t>=this.children.length)return null;if(null===e)return this.children[t];for(var n=0;n=this.children.length)return null;for(var n=0;n0&&(t+=", "),this.returnStates[e]===E.EMPTY_RETURN_STATE){t+="$";continue}t+=this.returnStates[e],null!==this.parents[e]?t=t+" "+this.parents[e]:t+="null"}return t+"]"},e.merge=function t(e,n,r,i){if(e===n)return e;if(e instanceof a&&n instanceof a)return function(e,n,r,i){if(null!==i){var o=i.get(e,n);if(null!==o||null!==(o=i.get(n,e)))return o}var s=function(t,e,n){if(n){if(t===E.EMPTY||e===E.EMPTY)return E.EMPTY}else{if(t===E.EMPTY&&e===E.EMPTY)return E.EMPTY;if(t===E.EMPTY){var r=[e.returnState,E.EMPTY_RETURN_STATE],i=[e.parentCtx,null];return new u(i,r)}if(e===E.EMPTY){var r=[t.returnState,E.EMPTY_RETURN_STATE],i=[t.parentCtx,null];return new u(i,r)}}return null}(e,n,r);if(null!==s)return null!==i&&i.set(e,n,s),s;if(e.returnState===n.returnState){var T=t(e.parentCtx,n.parentCtx,r,i);if(T===e.parentCtx)return e;if(T===n.parentCtx)return n;var c=a.create(T,e.returnState);return null!==i&&i.set(e,n,c),c}var S=null;if((e===n||null!==e.parentCtx&&e.parentCtx===n.parentCtx)&&(S=e.parentCtx),null!==S){var l=[e.returnState,n.returnState];e.returnState>n.returnState&&(l[0]=n.returnState,l[1]=e.returnState);var A=[S,S],R=new u(A,l);return null!==i&&i.set(e,n,R),R}var l=[e.returnState,n.returnState],A=[e.parentCtx,n.parentCtx];e.returnState>n.returnState&&(l[0]=n.returnState,l[1]=e.returnState,A=[n.parentCtx,e.parentCtx]);var p=new u(A,l);return null!==i&&i.set(e,n,p),p}(e,n,r,i);if(r){if(e instanceof T)return e;if(n instanceof T)return n}return e instanceof a&&(e=new u([e.getParent()],[e.returnState])),n instanceof a&&(n=new u([n.getParent()],[n.returnState])),function(e,n,r,i){if(null!==i){var s=i.get(e,n);if(null!==s||null!==(s=i.get(n,e)))return s}for(var T=0,c=0,S=0,l=[],A=[];T";var e=t.text;return null===e&&(e=t.type===r.EOF?"":"<"+t.type+">"),"'"+(e=e.replace("\n","\\n").replace("\r","\\r").replace(" ","\\t"))+"'"},E.prototype.getErrorListenerDispatch=function(){return new o(this._listeners)},E.prototype.sempred=function(t,e,n){return!0},E.prototype.precpred=function(t,e){return!0},Object.defineProperty(E.prototype,"state",{get:function(){return this._stateNumber},set:function(t){this._stateNumber=t}}),e.c=E},38738:function(t,e,n){var r=n(62438).RuleNode,i=n(62438).INVALID_INTERVAL,o=n(73600).INVALID_ALT_NUMBER;function E(t,e){return r.call(this),this.parentCtx=t||null,this.invokingState=e||-1,this}E.prototype=Object.create(r.prototype),E.prototype.constructor=E,E.prototype.depth=function(){for(var t=0,e=this;null!==e;)e=e.parentCtx,t+=1;return t},E.prototype.isEmpty=function(){return -1===this.invokingState},E.prototype.getSourceInterval=function(){return i},E.prototype.getRuleContext=function(){return this},E.prototype.getPayload=function(){return this},E.prototype.getText=function(){return 0===this.getChildCount()?"":this.children.map(function(t){return t.getText()}).join("")},E.prototype.getAltNumber=function(){return o},E.prototype.setAltNumber=function(t){},E.prototype.getChild=function(t){return null},E.prototype.getChildCount=function(){return 0},E.prototype.accept=function(t){return t.visitChildren(this)},e.r=E;var s=n(42181).Trees;E.prototype.toStringTree=function(t,e){return s.toStringTree(this,t,e)},E.prototype.toString=function(t,e){t=t||null,e=e||null;for(var n=this,r="[";null!==n&&n!==e;){if(null===t)n.isEmpty()||(r+=n.invokingState);else{var i=n.ruleIndex;r+=i>=0&&i"},set:function(t){this._text=t}}),r.prototype.toString=function(){var t=this.text;return t=null!==t?t.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+t+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"},e.Token=n,e.CommonToken=r},28561:function(t,e){function n(t){return"["+t.join(", ")+"]"}function r(t,e){return t.equals(e)}function i(t){return t.hashCode()}function o(t,e){return this.data={},this.hashFunction=t||i,this.equalsFunction=e||r,this}function E(){return this.data=[],this}function s(t,e){return this.data={},this.hashFunction=t||i,this.equalsFunction=e||r,this}function a(){return this.data={},this}function T(t){return this.defaultMapCtor=t||s,this.cacheMap=new this.defaultMapCtor,this}function u(){return this.count=0,this.hash=0,this}String.prototype.seed=String.prototype.seed||Math.round(4294967296*Math.random()),String.prototype.hashCode=function(){var t,e,n,r,i,o,E=this.toString();for(t=3&E.length,e=E.length-t,n=String.prototype.seed,o=0;o>>16)*3432918353&65535)<<16)&4294967295)<<15|i>>>17))*461845907+(((i>>>16)*461845907&65535)<<16)&4294967295,n=(65535&(r=(65535&(n=n<<13|n>>>19))*5+(((n>>>16)*5&65535)<<16)&4294967295))+27492+(((r>>>16)+58964&65535)<<16);switch(i=0,t){case 3:i^=(255&E.charCodeAt(o+2))<<16;case 2:i^=(255&E.charCodeAt(o+1))<<8;case 1:i^=255&E.charCodeAt(o),n^=i=(65535&(i=(i=(65535&i)*3432918353+(((i>>>16)*3432918353&65535)<<16)&4294967295)<<15|i>>>17))*461845907+(((i>>>16)*461845907&65535)<<16)&4294967295}return n^=E.length,n^=n>>>16,n=(65535&n)*2246822507+(((n>>>16)*2246822507&65535)<<16)&4294967295,n^=n>>>13,n=(65535&n)*3266489909+(((n>>>16)*3266489909&65535)<<16)&4294967295,(n^=n>>>16)>>>0},Object.defineProperty(o.prototype,"length",{get:function(){var t=0;for(var e in this.data)0===e.indexOf("hash_")&&(t+=this.data[e].length);return t}}),o.prototype.add=function(t){var e="hash_"+this.hashFunction(t);if(!(e in this.data))return this.data[e]=[t],t;for(var n=this.data[e],r=0;r>>17)*461845907,this.count=this.count+1;var r=this.hash^n;r=5*(r=r<<13|r>>>19)+3864292196,this.hash=r}}}},u.prototype.finish=function(){var t=this.hash^4*this.count;return t^=t>>>16,t*=2246822507,t^=t>>>13,t*=3266489909,t^=t>>>16},T.prototype.get=function(t,e){var n=this.cacheMap.get(t)||null;return null===n?null:n.get(e)||null},T.prototype.set=function(t,e,n){var r=this.cacheMap.get(t)||null;null===r&&(r=new this.defaultMapCtor,this.cacheMap.put(t,r)),r.put(e,n)},e.Hash=u,e.Set=o,e.Map=s,e.BitSet=E,e.AltDict=a,e.DoubleDict=T,e.hashStuff=function(){var t=new u;return t.update.apply(t,arguments),t.finish()},e.escapeWhitespace=function(t,e){return t=t.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),e&&(t=t.replace(/ /g,"\xb7")),t},e.arrayToString=n,e.titleCase=function(t){return t.replace(/\w\S*/g,function(t){return t.charAt(0).toUpperCase()+t.substr(1)})},e.equalArrays=function(t,e){if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t==e)return!0;if(t.length!=e.length)return!1;for(var n=0;n=this.states.length)throw"Invalid state number.";var n=this.states[t],r=this.nextTokens(n);if(!r.contains(E.EPSILON))return r;var o=new i;for(o.addSet(r),o.removeOne(E.EPSILON);null!==e&&e.invokingState>=0&&r.contains(E.EPSILON);){var s=this.states[e.invokingState].transitions[0];r=this.nextTokens(s.followState),o.addSet(r),o.removeOne(E.EPSILON),e=e.parentCtx}return r.contains(E.EPSILON)&&o.addOne(E.EOF),o},o.INVALID_ALT_NUMBER=0,e.ATN=o},63864:function(t,e,n){var r=n(9215).DecisionState,i=n(42105).dP,o=n(28561).Hash;function E(t,e){if(null===t){var n={state:null,alt:null,context:null,semanticContext:null};return e&&(n.reachesIntoOuterContext=0),n}var r={};return r.state=t.state||null,r.alt=void 0===t.alt?null:t.alt,r.context=t.context||null,r.semanticContext=t.semanticContext||null,e&&(r.reachesIntoOuterContext=t.reachesIntoOuterContext||0,r.precedenceFilterSuppressed=t.precedenceFilterSuppressed||!1),r}function s(t,e){return this.checkContext(t,e),t=E(t),e=E(e,!0),this.state=null!==t.state?t.state:e.state,this.alt=null!==t.alt?t.alt:e.alt,this.context=null!==t.context?t.context:e.context,this.semanticContext=null!==t.semanticContext?t.semanticContext:null!==e.semanticContext?e.semanticContext:i.NONE,this.reachesIntoOuterContext=e.reachesIntoOuterContext,this.precedenceFilterSuppressed=e.precedenceFilterSuppressed,this}function a(t,e){s.call(this,t,e);var n=t.lexerActionExecutor||null;return this.lexerActionExecutor=n||(null!==e?e.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=null!==e&&this.checkNonGreedyDecision(e,this.state),this}s.prototype.checkContext=function(t,e){(null===t.context||void 0===t.context)&&(null===e||null===e.context||void 0===e.context)&&(this.context=null)},s.prototype.hashCode=function(){var t=new o;return this.updateHashCode(t),t.finish()},s.prototype.updateHashCode=function(t){t.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)},s.prototype.equals=function(t){return this===t||t instanceof s&&this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&(null===this.context?null===t.context:this.context.equals(t.context))&&this.semanticContext.equals(t.semanticContext)&&this.precedenceFilterSuppressed===t.precedenceFilterSuppressed},s.prototype.hashCodeForConfigSet=function(){var t=new o;return t.update(this.state.stateNumber,this.alt,this.semanticContext),t.finish()},s.prototype.equalsForConfigSet=function(t){return this===t||t instanceof s&&this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&this.semanticContext.equals(t.semanticContext)},s.prototype.toString=function(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==i.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"},a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.updateHashCode=function(t){t.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)},a.prototype.equals=function(t){return this===t||t instanceof a&&this.passedThroughNonGreedyDecision==t.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(t.lexerActionExecutor):!t.lexerActionExecutor)&&s.prototype.equals.call(this,t)},a.prototype.hashCodeForConfigSet=a.prototype.hashCode,a.prototype.equalsForConfigSet=a.prototype.equals,a.prototype.checkNonGreedyDecision=function(t,e){return t.passedThroughNonGreedyDecision||e instanceof r&&e.nonGreedy},e.m=s,e.P=a},58254:function(t,e,n){var r=n(73600).ATN,i=n(28561),o=i.Hash,E=i.Set,s=n(42105).dP,a=n(98758).merge;function T(t){return t.hashCodeForConfigSet()}function u(t,e){return t===e||null!==t&&null!==e&&t.equalsForConfigSet(e)}function c(t){return this.configLookup=new E(T,u),this.fullCtx=void 0===t||t,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1,this}function S(){return c.call(this),this.configLookup=new E,this}c.prototype.add=function(t,e){if(void 0===e&&(e=null),this.readOnly)throw"This set is readonly";t.semanticContext!==s.NONE&&(this.hasSemanticContext=!0),t.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);var n=this.configLookup.add(t);if(n===t)return this.cachedHashCode=-1,this.configs.push(t),!0;var r=!this.fullCtx,i=a(n.context,t.context,r,e);return n.reachesIntoOuterContext=Math.max(n.reachesIntoOuterContext,t.reachesIntoOuterContext),t.precedenceFilterSuppressed&&(n.precedenceFilterSuppressed=!0),n.context=i,!0},c.prototype.getStates=function(){for(var t=new E,e=0;e=n},Z.prototype.deserialize=function(t){this.reset(t),this.checkVersion(),this.checkUUID();var e=this.readATN();this.readStates(e),this.readRules(e),this.readModes(e);var n=[];return this.readSets(e,n,this.readInt.bind(this)),this.isFeatureSupported(w,this.uuid)&&this.readSets(e,n,this.readInt32.bind(this)),this.readEdges(e,n),this.readDecisions(e),this.readLexerActions(e),this.markPrecedenceDecisions(e),this.verifyATN(e),this.deserializationOptions.generateRuleBypassTransitions&&e.grammarType===o.PARSER&&(this.generateRuleBypassTransitions(e),this.verifyATN(e)),e},Z.prototype.reset=function(t){var e=t.split("").map(function(t){var e=t.charCodeAt(0);return e>1?e-2:e+65534});e[0]=t.charCodeAt(0),this.data=e,this.pos=0},Z.prototype.checkVersion=function(){var t=this.readInt();if(3!==t)throw"Could not deserialize ATN with version "+t+" (expected 3)."},Z.prototype.checkUUID=function(){var t=this.readUUID();if(0>Q.indexOf(t))throw w;this.uuid=t},Z.prototype.readATN=function(){var t=this.readInt(),e=this.readInt();return new i(t,e)},Z.prototype.readStates=function(t){for(var e,n,r,i=[],o=[],E=this.readInt(),a=0;a0;)i.addTransition(S.transitions[l-1]),S.transitions=S.transitions.slice(-1);t.ruleToStartState[e].addTransition(new g(i)),o.addTransition(new g(s));var A=new a;t.addState(A),A.addTransition(new _(o,t.ruleToTokenType[e])),i.addTransition(new g(A))},Z.prototype.stateIsEndStateFor=function(t,e){if(t.ruleIndex!==e||!(t instanceof N))return null;var n=t.transitions[t.transitions.length-1].target;return n instanceof S&&n.epsilonOnlyTransitions&&n.transitions[0].target instanceof A?t:null},Z.prototype.markPrecedenceDecisions=function(t){for(var e=0;e=0):this.checkCondition(n.transitions.length<=1||n instanceof A)}}},Z.prototype.checkCondition=function(t,e){if(!t)throw null==e&&(e="IllegalState"),e},Z.prototype.readInt=function(){return this.data[this.pos++]},Z.prototype.readInt32=function(){return this.readInt()|this.readInt()<<16},Z.prototype.readLong=function(){return 4294967295&this.readInt32()|this.readInt32()<<32};var J=function(){for(var t=[],e=0;e<256;e++)t[e]=(e+256).toString(16).substr(1).toUpperCase();return t}();Z.prototype.readUUID=function(){for(var t=[],e=7;e>=0;e--){var n=this.readInt();t[2*e+1]=255&n,t[2*e]=n>>8&255}return J[t[0]]+J[t[1]]+J[t[2]]+J[t[3]]+"-"+J[t[4]]+J[t[5]]+"-"+J[t[6]]+J[t[7]]+"-"+J[t[8]]+J[t[9]]+"-"+J[t[10]]+J[t[11]]+J[t[12]]+J[t[13]]+J[t[14]]+J[t[15]]},Z.prototype.edgeFactory=function(t,e,n,i,o,E,s,a){var T=t.states[i];switch(e){case f.EPSILON:return new g(T);case f.RANGE:return 0!==s?new P(T,r.EOF,E):new P(T,o,E);case f.RULE:return new M(t.states[o],E,s,T);case f.PREDICATE:return new v(T,o,E,0!==s);case f.PRECEDENCE:return new m(T,o);case f.ATOM:return 0!==s?new _(T,r.EOF):new _(T,o);case f.ACTION:return new y(T,o,E,0!==s);case f.SET:return new d(T,a[o]);case f.NOT_SET:return new D(T,a[o]);case f.WILDCARD:return new U(T);default:throw"The specified transition type: "+e+" is not valid."}},Z.prototype.stateFactory=function(t,e){if(null===this.stateFactories){var n=[];n[s.INVALID_TYPE]=null,n[s.BASIC]=function(){return new a},n[s.RULE_START]=function(){return new l},n[s.BLOCK_START]=function(){return new L},n[s.PLUS_BLOCK_START]=function(){return new O},n[s.STAR_BLOCK_START]=function(){return new h},n[s.TOKEN_START]=function(){return new R},n[s.RULE_STOP]=function(){return new A},n[s.BLOCK_END]=function(){return new c},n[s.STAR_LOOP_BACK]=function(){return new I},n[s.STAR_LOOP_ENTRY]=function(){return new N},n[s.PLUS_LOOP_BACK]=function(){return new p},n[s.LOOP_END]=function(){return new S},this.stateFactories=n}if(t>this.stateFactories.length||null===this.stateFactories[t])throw"The specified state type "+t+" is not valid.";var r=this.stateFactories[t]();if(null!==r)return r.ruleIndex=e,r},Z.prototype.lexerActionFactory=function(t,e,n){if(null===this.actionFactories){var r=[];r[B.CHANNEL]=function(t,e){return new Y(t)},r[B.CUSTOM]=function(t,e){return new k(t,e)},r[B.MODE]=function(t,e){return new X(t)},r[B.MORE]=function(t,e){return V.INSTANCE},r[B.POP_MODE]=function(t,e){return K.INSTANCE},r[B.PUSH_MODE]=function(t,e){return new W(t)},r[B.SKIP]=function(t,e){return H.INSTANCE},r[B.TYPE]=function(t,e){return new b(t)},this.actionFactories=r}if(!(t>this.actionFactories.length)&&null!==this.actionFactories[t])return this.actionFactories[t](e,n);throw"The specified lexer action type "+t+" is not valid."},e.ATNDeserializer=Z},31332:function(t,e,n){var r=n(42603).B,i=n(58254).B,o=n(98758).getCachedPredictionContext,E=n(28561).Map;function s(t,e){return this.atn=t,this.sharedContextCache=e,this}s.ERROR=new r(2147483647,new i),s.prototype.getCachedContext=function(t){if(null===this.sharedContextCache)return t;var e=new E;return o(t,this.sharedContextCache,e)},e.f=s},9215:function(t,e){function n(){return this.atn=null,this.stateNumber=n.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null,this}function r(){return n.call(this),this.stateType=n.BASIC,this}function i(){return n.call(this),this.decision=-1,this.nonGreedy=!1,this}function o(){return i.call(this),this.endState=null,this}function E(){return o.call(this),this.stateType=n.BLOCK_START,this}function s(){return n.call(this),this.stateType=n.BLOCK_END,this.startState=null,this}function a(){return n.call(this),this.stateType=n.RULE_STOP,this}function T(){return n.call(this),this.stateType=n.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}function u(){return i.call(this),this.stateType=n.PLUS_LOOP_BACK,this}function c(){return o.call(this),this.stateType=n.PLUS_BLOCK_START,this.loopBackState=null,this}function S(){return o.call(this),this.stateType=n.STAR_BLOCK_START,this}function l(){return n.call(this),this.stateType=n.STAR_LOOP_BACK,this}function A(){return i.call(this),this.stateType=n.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}function R(){return n.call(this),this.stateType=n.LOOP_END,this.loopBackState=null,this}function p(){return i.call(this),this.stateType=n.TOKEN_START,this}n.INVALID_TYPE=0,n.BASIC=1,n.RULE_START=2,n.BLOCK_START=3,n.PLUS_BLOCK_START=4,n.STAR_BLOCK_START=5,n.TOKEN_START=6,n.RULE_STOP=7,n.BLOCK_END=8,n.STAR_LOOP_BACK=9,n.STAR_LOOP_ENTRY=10,n.PLUS_LOOP_BACK=11,n.LOOP_END=12,n.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],n.INVALID_STATE_NUMBER=-1,n.prototype.toString=function(){return this.stateNumber},n.prototype.equals=function(t){return t instanceof n&&this.stateNumber===t.stateNumber},n.prototype.isNonGreedyExitState=function(){return!1},n.prototype.addTransition=function(t,e){void 0===e&&(e=-1),0===this.transitions.length?this.epsilonOnlyTransitions=t.isEpsilon:this.epsilonOnlyTransitions!==t.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===e?this.transitions.push(t):this.transitions.splice(e,1,t)},r.prototype=Object.create(n.prototype),r.prototype.constructor=r,i.prototype=Object.create(n.prototype),i.prototype.constructor=i,o.prototype=Object.create(i.prototype),o.prototype.constructor=o,E.prototype=Object.create(o.prototype),E.prototype.constructor=E,s.prototype=Object.create(n.prototype),s.prototype.constructor=s,a.prototype=Object.create(n.prototype),a.prototype.constructor=a,T.prototype=Object.create(n.prototype),T.prototype.constructor=T,u.prototype=Object.create(i.prototype),u.prototype.constructor=u,c.prototype=Object.create(o.prototype),c.prototype.constructor=c,S.prototype=Object.create(o.prototype),S.prototype.constructor=S,l.prototype=Object.create(n.prototype),l.prototype.constructor=l,A.prototype=Object.create(i.prototype),A.prototype.constructor=A,R.prototype=Object.create(n.prototype),R.prototype.constructor=R,p.prototype=Object.create(i.prototype),p.prototype.constructor=p,e.ATNState=n,e.BasicState=r,e.DecisionState=i,e.BlockStartState=o,e.BlockEndState=s,e.LoopEndState=R,e.RuleStartState=T,e.RuleStopState=a,e.TokensStartState=p,e.PlusLoopbackState=u,e.StarLoopbackState=l,e.StarLoopEntryState=A,e.PlusBlockStartState=c,e.StarBlockStartState=S,e.BasicBlockStartState=E},51463:function(t,e){function n(){}n.LEXER=0,n.PARSER=1,e.n=n},45145:function(t,e,n){var r=n(85319).Token,i=n(24412).Lexer,o=n(73600).ATN,E=n(31332).f,s=n(42603).B;n(58254).B;var a=n(58254).s,T=n(98758).PredictionContext,u=n(98758).SingletonPredictionContext,c=n(9215).RuleStopState,S=n(63864).P,l=n(55099).Transition,A=n(35934).W,R=n(72874).LexerNoViableAltException;function p(t){t.index=-1,t.line=0,t.column=-1,t.dfaState=null}function I(){return p(this),this}function N(t,e,n,r){return E.call(this,e,r),this.decisionToDFA=n,this.recog=t,this.startIndex=-1,this.line=1,this.column=0,this.mode=i.DEFAULT_MODE,this.prevAccept=new I,this}I.prototype.reset=function(){p(this)},N.prototype=Object.create(E.prototype),N.prototype.constructor=N,N.debug=!1,N.dfa_debug=!1,N.MIN_DFA_EDGE=0,N.MAX_DFA_EDGE=127,N.match_calls=0,N.prototype.copyState=function(t){this.column=t.column,this.line=t.line,this.mode=t.mode,this.startIndex=t.startIndex},N.prototype.match=function(t,e){this.match_calls+=1,this.mode=e;var n=t.mark();try{this.startIndex=t.index,this.prevAccept.reset();var r=this.decisionToDFA[e];if(null===r.s0)return this.matchATN(t);return this.execATN(t,r.s0)}finally{t.release(n)}},N.prototype.reset=function(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=i.DEFAULT_MODE},N.prototype.matchATN=function(t){var e=this.atn.modeToStartState[this.mode];N.debug&&console.log("matchATN mode "+this.mode+" start: "+e);var n=this.mode,r=this.computeStartState(t,e),i=r.hasSemanticContext;r.hasSemanticContext=!1;var o=this.addDFAState(r);i||(this.decisionToDFA[this.mode].s0=o);var E=this.execATN(t,o);return N.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[n].toLexerString()),E},N.prototype.execATN=function(t,e){N.debug&&console.log("start state closure="+e.configs),e.isAcceptState&&this.captureSimState(this.prevAccept,t,e);for(var n=t.LA(1),i=e;;){N.debug&&console.log("execATN loop starting closure: "+i.configs);var o=this.getExistingTargetState(i,n);if(null===o&&(o=this.computeTargetState(t,i,n)),o===E.ERROR||(n!==r.EOF&&this.consume(t),o.isAcceptState&&(this.captureSimState(this.prevAccept,t,o),n===r.EOF)))break;n=t.LA(1),i=o}return this.failOrAccept(this.prevAccept,t,i.configs,n)},N.prototype.getExistingTargetState=function(t,e){if(null===t.edges||eN.MAX_DFA_EDGE)return null;var n=t.edges[e-N.MIN_DFA_EDGE];return void 0===n&&(n=null),N.debug&&null!==n&&console.log("reuse state "+t.stateNumber+" edge to "+n.stateNumber),n},N.prototype.computeTargetState=function(t,e,n){var r=new a;return(this.getReachableConfigSet(t,e.configs,r,n),0===r.items.length)?(r.hasSemanticContext||this.addDFAEdge(e,n,E.ERROR),E.ERROR):this.addDFAEdge(e,n,null,r)},N.prototype.failOrAccept=function(t,e,n,i){if(null!==this.prevAccept.dfaState){var o=t.dfaState.lexerActionExecutor;return this.accept(e,o,this.startIndex,t.index,t.line,t.column),t.dfaState.prediction}if(i===r.EOF&&e.index===this.startIndex)return r.EOF;throw new R(this.recog,e,this.startIndex,n)},N.prototype.getReachableConfigSet=function(t,e,n,i){for(var E=o.INVALID_ALT_NUMBER,s=0;sN.MAX_DFA_EDGE||(N.debug&&console.log("EDGE "+t+" -> "+n+" upon "+e),null===t.edges&&(t.edges=[]),t.edges[e-N.MIN_DFA_EDGE]=n),n},N.prototype.addDFAState=function(t){for(var e=new s(null,t),n=null,r=0;r0&&(o=this.getAltThatFinishedDecisionEntryRule(i))!==s.INVALID_ALT_NUMBER?o:s.INVALID_ALT_NUMBER},g.prototype.getAltThatFinishedDecisionEntryRule=function(t){for(var e=[],n=0;n0||r.state instanceof N&&r.context.hasEmptyPath())&&0>e.indexOf(r.alt)&&e.push(r.alt)}return 0===e.length?s.INVALID_ALT_NUMBER:Math.min.apply(null,e)},g.prototype.splitAccordingToSemanticValidity=function(t,e){for(var n=new u(t.fullCtx),r=new u(t.fullCtx),i=0;i50))throw"problem";if(t.state instanceof N){if(t.context.isEmpty()){if(i){e.add(t,this.mergeCache);return}this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex))}else{for(var s=0;s=0&&(S+=1)}this.closureCheckingStopState(c,e,n,u,i,S,E)}}},g.prototype.canDropLoopEntryEdgeInLeftRecursiveRule=function(t){var e=t.state;if(e.stateType!=a.STAR_LOOP_ENTRY||e.stateType!=a.STAR_LOOP_ENTRY||!e.isPrecedenceDecision||t.context.isEmpty()||t.context.hasEmptyPath())return!1;for(var n=t.context.length,r=0;r=0?this.parser.ruleNames[t]:""},g.prototype.getEpsilonTarget=function(t,e,n,r,i,o){switch(e.serializationType){case C.RULE:return this.ruleTransition(t,e);case C.PRECEDENCE:return this.precedenceTransition(t,e,n,r,i);case C.PREDICATE:return this.predTransition(t,e,n,r,i);case C.ACTION:return this.actionTransition(t,e);case C.EPSILON:return new T({state:e.target},t);case C.ATOM:case C.RANGE:case C.SET:if(o&&e.matches(c.EOF,0,1))return new T({state:e.target},t);return null;default:return null}},g.prototype.actionTransition=function(t,e){if(this.debug){var n=-1==e.actionIndex?65535:e.actionIndex;console.log("ACTION edge "+e.ruleIndex+":"+n)}return new T({state:e.target},t)},g.prototype.precedenceTransition=function(t,e,n,i,o){this.debug&&(console.log("PRED (collectPredicates="+n+") "+e.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+r.arrayToString(this.parser.getRuleInvocationStack())));var E=null;if(n&&i){if(o){var s=this._input.index;this._input.seek(this._startIndex);var a=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(s),a&&(E=new T({state:e.target},t))}else{var u=I.andContext(t.semanticContext,e.getPredicate());E=new T({state:e.target,semanticContext:u},t)}}else E=new T({state:e.target},t);return this.debug&&console.log("config from pred transition="+E),E},g.prototype.predTransition=function(t,e,n,i,o){this.debug&&(console.log("PRED (collectPredicates="+n+") "+e.ruleIndex+":"+e.predIndex+", ctx dependent="+e.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+r.arrayToString(this.parser.getRuleInvocationStack())));var E=null;if(n&&(e.isCtxDependent&&i||!e.isCtxDependent)){if(o){var s=this._input.index;this._input.seek(this._startIndex);var a=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(s),a&&(E=new T({state:e.target},t))}else{var u=I.andContext(t.semanticContext,e.getPredicate());E=new T({state:e.target,semanticContext:u},t)}}else E=new T({state:e.target},t);return this.debug&&console.log("config from pred transition="+E),E},g.prototype.ruleTransition=function(t,e){this.debug&&console.log("CALL rule "+this.getRuleName(e.target.ruleIndex)+", ctx="+t.context);var n=e.followState,r=P.create(t.context,n.stateNumber);return new T({state:e.target,context:r},t)},g.prototype.getConflictingAlts=function(t){var e=R.getConflictingAltSubsets(t);return R.getAlts(e)},g.prototype.getConflictingAltsOrUniqueAlt=function(t){var e=null;return t.uniqueAlt!==s.INVALID_ALT_NUMBER?(e=new o).add(t.uniqueAlt):e=t.conflictingAlts,e},g.prototype.getTokenName=function(t){if(t===c.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(t>=this.parser.literalNames.length)||!(t>=this.parser.symbolicNames.length))return(this.parser.literalNames[t]||this.parser.symbolicNames[t])+"<"+t+">";console.log(""+t+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+t},g.prototype.getLookaheadName=function(t){return this.getTokenName(t.LA(1))},g.prototype.dumpDeadEndConfigs=function(t){console.log("dead end configs: ");for(var e=t.getDeadEndConfigs(),n=0;n0){var o=r.state.transitions[0];o instanceof AtomTransition?i="Atom "+this.getTokenName(o.label):o instanceof f&&(i=(o instanceof _?"~":"")+"Set "+o.set)}console.error(r.toString(this.parser,!0)+":"+i)}},g.prototype.noViableAlt=function(t,e,n,r){return new M(this.parser,t,t.get(r),t.LT(1),n,e)},g.prototype.getUniqueAlt=function(t){for(var e=s.INVALID_ALT_NUMBER,n=0;n "+r+" upon "+this.getTokenName(n)),null===r)return null;if(r=this.addDFAState(t,r),null===e||n<-1||n>this.atn.maxTokenType)return r;if(null===e.edges&&(e.edges=[]),e.edges[n+1]=r,this.debug){var i=null===this.parser?null:this.parser.literalNames,o=null===this.parser?null:this.parser.symbolicNames;console.log("DFA=\n"+t.toString(i,o))}return r},g.prototype.addDFAState=function(t,e){if(e==A.ERROR)return e;var n=t.states.get(e);return null!==n?n:(e.stateNumber=t.states.length,e.configs.readOnly||(e.configs.optimizeConfigs(this),e.configs.setReadonly(!0)),t.states.add(e),this.debug&&console.log("adding new DFA state: "+e),e)},g.prototype.reportAttemptingFullContext=function(t,e,n,r,i){if(this.debug||this.retry_debug){var o=new h(r,i+1);console.log("reportAttemptingFullContext decision="+t.decision+":"+n+", input="+this.parser.getTokenStream().getText(o))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,t,r,i,e,n)},g.prototype.reportContextSensitivity=function(t,e,n,r,i){if(this.debug||this.retry_debug){var o=new h(r,i+1);console.log("reportContextSensitivity decision="+t.decision+":"+n+", input="+this.parser.getTokenStream().getText(o))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,t,r,i,e,n)},g.prototype.reportAmbiguity=function(t,e,n,r,i,o,E){if(this.debug||this.retry_debug){var s=new h(n,r+1);console.log("reportAmbiguity "+o+":"+E+", input="+this.parser.getTokenStream().getText(s))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,t,n,r,i,o,E)},e.ParserATNSimulator=g},28895:function(t,e,n){n(28561).Set;var r=n(28561).Map,i=n(28561).BitSet,o=n(28561).AltDict,E=n(73600).ATN,s=n(9215).RuleStopState,a=n(58254).B,T=n(63864).m,u=n(42105).dP;n(28561).Hash;var c=n(28561).hashStuff;function S(){return this}n(28561).equalArrays,S.SLL=0,S.LL=1,S.LL_EXACT_AMBIG_DETECTION=2,S.hasSLLConflictTerminatingPrediction=function(t,e){if(S.allConfigsInRuleStopStates(e))return!0;if(t===S.SLL&&e.hasSemanticContext){for(var n=new a,r=0;r1)return!0;return!1},S.allSubsetsEqual=function(t){for(var e=null,n=0;n0){var E=null;i.map(function(t){(null===E||t.precedence0){var E=i.sort(function(t,e){return t.compareTo(e)}),a=E[E.length-1];n.add(a)}return this.opnds=n.values(),this}o.prototype.hashCode=function(){var t=new i;return this.updateHashCode(t),t.finish()},o.prototype.evaluate=function(t,e){},o.prototype.evalPrecedence=function(t,e){return this},o.andContext=function(t,e){if(null===t||t===o.NONE)return e;if(null===e||e===o.NONE)return t;var n=new a(t,e);return 1===n.opnds.length?n.opnds[0]:n},o.orContext=function(t,e){if(null===t)return e;if(null===e)return t;if(t===o.NONE||e===o.NONE)return o.NONE;var n=new T(t,e);return 1===n.opnds.length?n.opnds[0]:n},E.prototype=Object.create(o.prototype),E.prototype.constructor=E,o.NONE=new E,E.prototype.evaluate=function(t,e){var n=this.isCtxDependent?e:null;return t.sempred(n,this.ruleIndex,this.predIndex)},E.prototype.updateHashCode=function(t){t.update(this.ruleIndex,this.predIndex,this.isCtxDependent)},E.prototype.equals=function(t){return this===t||t instanceof E&&this.ruleIndex===t.ruleIndex&&this.predIndex===t.predIndex&&this.isCtxDependent===t.isCtxDependent},E.prototype.toString=function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"},s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.evaluate=function(t,e){return t.precpred(e,this.precedence)},s.prototype.evalPrecedence=function(t,e){return t.precpred(e,this.precedence)?o.NONE:null},s.prototype.compareTo=function(t){return this.precedence-t.precedence},s.prototype.updateHashCode=function(t){t.update(31)},s.prototype.equals=function(t){return this===t||t instanceof s&&this.precedence===t.precedence},s.prototype.toString=function(){return"{"+this.precedence+">=prec}?"},s.filterPrecedencePredicates=function(t){var e=[];return t.values().map(function(t){t instanceof s&&e.push(t)}),e},a.prototype=Object.create(o.prototype),a.prototype.constructor=a,a.prototype.equals=function(t){return this===t||t instanceof a&&this.opnds===t.opnds},a.prototype.updateHashCode=function(t){t.update(this.opnds,"AND")},a.prototype.evaluate=function(t,e){for(var n=0;n3?t.slice(3):t},T.prototype=Object.create(o.prototype),T.prototype.constructor=T,T.prototype.constructor=function(t){return this===t||t instanceof T&&this.opnds===t.opnds},T.prototype.updateHashCode=function(t){t.update(this.opnds,"OR")},T.prototype.evaluate=function(t,e){for(var n=0;n3?t.slice(3):t},e.dP=o,e.u5=s,e.$G=E},55099:function(t,e,n){var r=n(85319).Token;n(24088).Interval;var i=n(24088).V,o=n(42105).$G,E=n(42105).u5;function s(t){if(null==t)throw"target cannot be null.";return this.target=t,this.isEpsilon=!1,this.label=null,this}function a(t,e){return s.call(this,t),this.label_=e,this.label=this.makeLabel(),this.serializationType=s.ATOM,this}function T(t,e,n,r){return s.call(this,t),this.ruleIndex=e,this.precedence=n,this.followState=r,this.serializationType=s.RULE,this.isEpsilon=!0,this}function u(t,e){return s.call(this,t),this.serializationType=s.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=e,this}function c(t,e,n){return s.call(this,t),this.serializationType=s.RANGE,this.start=e,this.stop=n,this.label=this.makeLabel(),this}function S(t){return s.call(this,t),this}function l(t,e,n,r){return S.call(this,t),this.serializationType=s.PREDICATE,this.ruleIndex=e,this.predIndex=n,this.isCtxDependent=r,this.isEpsilon=!0,this}function A(t,e,n,r){return s.call(this,t),this.serializationType=s.ACTION,this.ruleIndex=e,this.actionIndex=void 0===n?-1:n,this.isCtxDependent=void 0!==r&&r,this.isEpsilon=!0,this}function R(t,e){return s.call(this,t),this.serializationType=s.SET,null!=e?this.label=e:(this.label=new i,this.label.addOne(r.INVALID_TYPE)),this}function p(t,e){return R.call(this,t,e),this.serializationType=s.NOT_SET,this}function I(t){return s.call(this,t),this.serializationType=s.WILDCARD,this}function N(t,e){return S.call(this,t),this.serializationType=s.PRECEDENCE,this.precedence=e,this.isEpsilon=!0,this}s.EPSILON=1,s.RANGE=2,s.RULE=3,s.PREDICATE=4,s.ATOM=5,s.ACTION=6,s.SET=7,s.NOT_SET=8,s.WILDCARD=9,s.PRECEDENCE=10,s.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],s.serializationTypes={EpsilonTransition:s.EPSILON,RangeTransition:s.RANGE,RuleTransition:s.RULE,PredicateTransition:s.PREDICATE,AtomTransition:s.ATOM,ActionTransition:s.ACTION,SetTransition:s.SET,NotSetTransition:s.NOT_SET,WildcardTransition:s.WILDCARD,PrecedencePredicateTransition:s.PRECEDENCE},a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.makeLabel=function(){var t=new i;return t.addOne(this.label_),t},a.prototype.matches=function(t,e,n){return this.label_===t},a.prototype.toString=function(){return this.label_},T.prototype=Object.create(s.prototype),T.prototype.constructor=T,T.prototype.matches=function(t,e,n){return!1},u.prototype=Object.create(s.prototype),u.prototype.constructor=u,u.prototype.matches=function(t,e,n){return!1},u.prototype.toString=function(){return"epsilon"},c.prototype=Object.create(s.prototype),c.prototype.constructor=c,c.prototype.makeLabel=function(){var t=new i;return t.addRange(this.start,this.stop),t},c.prototype.matches=function(t,e,n){return t>=this.start&&t<=this.stop},c.prototype.toString=function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"},S.prototype=Object.create(s.prototype),S.prototype.constructor=S,l.prototype=Object.create(S.prototype),l.prototype.constructor=l,l.prototype.matches=function(t,e,n){return!1},l.prototype.getPredicate=function(){return new o(this.ruleIndex,this.predIndex,this.isCtxDependent)},l.prototype.toString=function(){return"pred_"+this.ruleIndex+":"+this.predIndex},A.prototype=Object.create(s.prototype),A.prototype.constructor=A,A.prototype.matches=function(t,e,n){return!1},A.prototype.toString=function(){return"action_"+this.ruleIndex+":"+this.actionIndex},R.prototype=Object.create(s.prototype),R.prototype.constructor=R,R.prototype.matches=function(t,e,n){return this.label.contains(t)},R.prototype.toString=function(){return this.label.toString()},p.prototype=Object.create(R.prototype),p.prototype.constructor=p,p.prototype.matches=function(t,e,n){return t>=e&&t<=n&&!R.prototype.matches.call(this,t,e,n)},p.prototype.toString=function(){return"~"+R.prototype.toString.call(this)},I.prototype=Object.create(s.prototype),I.prototype.constructor=I,I.prototype.matches=function(t,e,n){return t>=e&&t<=n},I.prototype.toString=function(){return"."},N.prototype=Object.create(S.prototype),N.prototype.constructor=N,N.prototype.matches=function(t,e,n){return!1},N.prototype.getPredicate=function(){return new E(this.precedence)},N.prototype.toString=function(){return this.precedence+" >= _p"},e.Transition=s,e.AtomTransition=a,e.SetTransition=R,e.NotSetTransition=p,e.RuleTransition=T,e.ActionTransition=A,e.EpsilonTransition=u,e.RangeTransition=c,e.WildcardTransition=I,e.PredicateTransition=l,e.PrecedencePredicateTransition=N,e.AbstractPredicateTransition=S},99548:function(t,e,n){e.ATN=n(73600).ATN,e.ATNDeserializer=n(28833).ATNDeserializer,e.LexerATNSimulator=n(45145).LexerATNSimulator,e.ParserATNSimulator=n(61807).ParserATNSimulator,e.PredictionMode=n(28895).PredictionMode},94878:function(t,e,n){var r=n(28561).Set,i=n(42603).B,o=n(9215).StarLoopEntryState,E=n(58254).B,s=n(86336).DFASerializer,a=n(86336).LexerDFASerializer;function T(t,e){if(void 0===e&&(e=0),this.atnStartState=t,this.decision=e,this._states=new r,this.s0=null,this.precedenceDfa=!1,t instanceof o&&t.isPrecedenceDecision){this.precedenceDfa=!0;var n=new i(null,new E);n.edges=[],n.isAcceptState=!1,n.requiresFullContext=!1,this.s0=n}return this}T.prototype.getPrecedenceStartState=function(t){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return t<0||t>=this.s0.edges.length?null:this.s0.edges[t]||null},T.prototype.setPrecedenceStartState=function(t,e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";t<0||(this.s0.edges[t]=e)},T.prototype.setPrecedenceDfa=function(t){if(this.precedenceDfa!==t){if(this._states=new DFAStatesSet,t){var e=new i(null,new E);e.edges=[],e.isAcceptState=!1,e.requiresFullContext=!1,this.s0=e}else this.s0=null;this.precedenceDfa=t}},Object.defineProperty(T.prototype,"states",{get:function(){return this._states}}),T.prototype.sortedStates=function(){return this._states.values().sort(function(t,e){return t.stateNumber-e.stateNumber})},T.prototype.toString=function(t,e){return(t=t||null,e=e||null,null===this.s0)?"":new s(this,t,e).toString()},T.prototype.toLexerString=function(){return null===this.s0?"":new a(this).toString()},e.DFA=T},86336:function(t,e){function n(t,e,n){return this.dfa=t,this.literalNames=e||[],this.symbolicNames=n||[],this}function r(t){return n.call(this,t,null),this}n.prototype.toString=function(){if(null===this.dfa.s0)return null;for(var t="",e=this.dfa.sortedStates(),n=0;n")).concat(this.getStateString(E))).concat("\n"))}}return 0===t.length?null:t},n.prototype.getEdgeLabel=function(t){return 0===t?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[t-1]||this.symbolicNames[t-1]:String.fromCharCode(t-1)},n.prototype.getStateString=function(t){var e=(t.isAcceptState?":":"")+"s"+t.stateNumber+(t.requiresFullContext?"^":"");return t.isAcceptState?null!==t.predicates?e+"=>"+t.predicates.toString():e+"=>"+t.prediction.toString():e},r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.prototype.getEdgeLabel=function(t){return"'"+String.fromCharCode(t)+"'"},e.DFASerializer=n,e.LexerDFASerializer=r},42603:function(t,e,n){var r=n(58254).B,i=n(28561),o=i.Hash,E=i.Set;function s(t,e){return this.alt=e,this.pred=t,this}function a(t,e){return null===t&&(t=-1),null===e&&(e=new r),this.stateNumber=t,this.configs=e,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}s.prototype.toString=function(){return"("+this.pred+", "+this.alt+")"},a.prototype.getAltSet=function(){var t=new E;if(null!==this.configs)for(var e=0;e=i.length)return""+n;var o=i[r]||null;return null===o||0===o.length?""+n:""+n+" ("+o+")"},E.prototype.getConflictingAlts=function(t,e){if(null!==t)return t;for(var n=new r,i=0;i=0&&t.consume(),this.lastErrorIndex=t._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(t.state);var n=this.getErrorRecoverySet(t);this.consumeUntil(t,n)},l.prototype.sync=function(t){if(!this.inErrorRecoveryMode(t)){var e=t._interp.atn.states[t.state],n=t.getTokenStream().LA(1),i=t.atn.nextTokens(e);if(!(i.contains(r.EPSILON)||i.contains(n)))switch(e.stateType){case T.BLOCK_START:case T.STAR_BLOCK_START:case T.PLUS_BLOCK_START:case T.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(t))return;throw new E(t);case T.PLUS_LOOP_BACK:case T.STAR_LOOP_BACK:this.reportUnwantedToken(t);var o=new c;o.addSet(t.getExpectedTokens());var s=o.addSet(this.getErrorRecoverySet(t));this.consumeUntil(t,s)}}},l.prototype.reportNoViableAlternative=function(t,e){var n,i=t.getTokenStream();n=null!==i?e.startToken.type===r.EOF?"":i.getText(new u(e.startToken.tokenIndex,e.offendingToken.tokenIndex)):"";var o="no viable alternative at input "+this.escapeWSAndQuote(n);t.notifyErrorListeners(o,e.offendingToken,e)},l.prototype.reportInputMismatch=function(t,e){var n="mismatched input "+this.getTokenErrorDisplay(e.offendingToken)+" expecting "+e.getExpectedTokens().toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(n,e.offendingToken,e)},l.prototype.reportFailedPredicate=function(t,e){var n="rule "+t.ruleNames[t._ctx.ruleIndex]+" "+e.message;t.notifyErrorListeners(n,e.offendingToken,e)},l.prototype.reportUnwantedToken=function(t){if(!this.inErrorRecoveryMode(t)){this.beginErrorCondition(t);var e=t.getCurrentToken(),n="extraneous input "+this.getTokenErrorDisplay(e)+" expecting "+this.getExpectedTokens(t).toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(n,e,null)}},l.prototype.reportMissingToken=function(t){if(!this.inErrorRecoveryMode(t)){this.beginErrorCondition(t);var e=t.getCurrentToken(),n="missing "+this.getExpectedTokens(t).toString(t.literalNames,t.symbolicNames)+" at "+this.getTokenErrorDisplay(e);t.notifyErrorListeners(n,e,null)}},l.prototype.recoverInline=function(t){var e=this.singleTokenDeletion(t);if(null!==e)return t.consume(),e;if(this.singleTokenInsertion(t))return this.getMissingSymbol(t);throw new E(t)},l.prototype.singleTokenInsertion=function(t){var e=t.getTokenStream().LA(1),n=t._interp.atn,r=n.states[t.state].transitions[0].target;return!!n.nextTokens(r,t._ctx).contains(e)&&(this.reportMissingToken(t),!0)},l.prototype.singleTokenDeletion=function(t){var e=t.getTokenStream().LA(2);if(!this.getExpectedTokens(t).contains(e))return null;this.reportUnwantedToken(t),t.consume();var n=t.getCurrentToken();return this.reportMatch(t),n},l.prototype.getMissingSymbol=function(t){var e,n=t.getCurrentToken(),i=this.getExpectedTokens(t).first();e=i===r.EOF?"":"";var o=n,E=t.getTokenStream().LT(-1);return o.type===r.EOF&&null!==E&&(o=E),t.getTokenFactory().create(o.source,i,e,r.DEFAULT_CHANNEL,-1,-1,o.line,o.column)},l.prototype.getExpectedTokens=function(t){return t.getExpectedTokens()},l.prototype.getTokenErrorDisplay=function(t){if(null===t)return"";var e=t.text;return null===e&&(e=t.type===r.EOF?"":"<"+t.type+">"),this.escapeWSAndQuote(e)},l.prototype.escapeWSAndQuote=function(t){return"'"+(t=(t=(t=t.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"},l.prototype.getErrorRecoverySet=function(t){for(var e=t._interp.atn,n=t._ctx,i=new c;null!==n&&n.invokingState>=0;){var o=e.states[n.invokingState].transitions[0],E=e.nextTokens(o.followState);i.addSet(E),n=n.parentCtx}return i.removeOne(r.EPSILON),i},l.prototype.consumeUntil=function(t,e){for(var n=t.getTokenStream().LA(1);n!==r.EOF&&!e.contains(n);)t.consume(),n=t.getTokenStream().LA(1)},A.prototype=Object.create(l.prototype),A.prototype.constructor=A,A.prototype.recover=function(t,e){for(var n=t._ctx;null!==n;)n.exception=e,n=n.parentCtx;throw new a(e)},A.prototype.recoverInline=function(t){this.recover(t,new E(t))},A.prototype.sync=function(t){},e.BailErrorStrategy=A,e.t=l},72874:function(t,e,n){var r=n(55099).PredicateTransition;function i(t){return Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,i):Error().stack,this.message=t.message,this.recognizer=t.recognizer,this.input=t.input,this.ctx=t.ctx,this.offendingToken=null,this.offendingState=-1,null!==this.recognizer&&(this.offendingState=this.recognizer.state),this}function o(t,e,n,r){return i.call(this,{message:"",recognizer:t,input:e,ctx:null}),this.startIndex=n,this.deadEndConfigs=r,this}function E(t,e,n,r,o,E){E=E||t._ctx,r=r||t.getCurrentToken(),n=n||t.getCurrentToken(),e=e||t.getInputStream(),i.call(this,{message:"",recognizer:t,input:e,ctx:E}),this.deadEndConfigs=o,this.startToken=n,this.offendingToken=r}function s(t){i.call(this,{message:"",recognizer:t,input:t.getInputStream(),ctx:t._ctx}),this.offendingToken=t.getCurrentToken()}function a(t,e,n){i.call(this,{message:this.formatMessage(e,n||null),recognizer:t,input:t.getInputStream(),ctx:t._ctx});var o=t._interp.atn.states[t.state].transitions[0];return o instanceof r?(this.ruleIndex=o.ruleIndex,this.predicateIndex=o.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=e,this.offendingToken=t.getCurrentToken(),this}function T(){return Error.call(this),Error.captureStackTrace(this,T),this}i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i.prototype.getExpectedTokens=function(){return null!==this.recognizer?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null},i.prototype.toString=function(){return this.message},o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.toString=function(){var t="";return this.startIndex>=0&&this.startIndex=r)){var o=n.charCodeAt(i);return o>=55296&&o<=56319&&r>i+1&&(e=n.charCodeAt(i+1))>=56320&&e<=57343?(o-55296)*1024+e-56320+65536:o}},t?t(String.prototype,"codePointAt",{value:e,configurable:!0,writable:!0}):String.prototype.codePointAt=e}},92085:function(){/*! https://mths.be/fromcodepoint v0.2.1 by @mathias */if(!String.fromCodePoint){var t,e,n,r;t=function(){try{var t={},e=Object.defineProperty,n=e(t,t,t)&&e}catch(t){}return n}(),e=String.fromCharCode,n=Math.floor,r=function(t){var r,i,o=[],E=-1,s=arguments.length;if(!s)return"";for(var a="";++E1114111||n(T)!=T)throw RangeError("Invalid code point: "+T);T<=65535?o.push(T):(T-=65536,r=(T>>10)+55296,i=T%1024+56320,o.push(r,i)),(E+1==s||o.length>16384)&&(a+=e.apply(null,o),o.length=0)}return a},t?t(String,"fromCodePoint",{value:r,configurable:!0,writable:!0}):String.fromCodePoint=r}},62438:function(t,e,n){var r=n(85319).Token,i=n(24088).Interval,o=new i(-1,-2);function E(){return this}function s(){return E.call(this),this}function a(){return s.call(this),this}function T(){return a.call(this),this}function u(){return a.call(this),this}function c(){return u.call(this),this}function S(){return this}function l(){return this}function A(t){return u.call(this),this.parentCtx=null,this.symbol=t,this}function R(t){return A.call(this,t),this}function p(){return this}n(28561),s.prototype=Object.create(E.prototype),s.prototype.constructor=s,a.prototype=Object.create(s.prototype),a.prototype.constructor=a,T.prototype=Object.create(a.prototype),T.prototype.constructor=T,u.prototype=Object.create(a.prototype),u.prototype.constructor=u,c.prototype=Object.create(u.prototype),c.prototype.constructor=c,S.prototype.visit=function(t){return Array.isArray(t)?t.map(function(t){return t.accept(this)},this):t.accept(this)},S.prototype.visitChildren=function(t){return t.children?this.visit(t.children):null},S.prototype.visitTerminal=function(t){},S.prototype.visitErrorNode=function(t){},l.prototype.visitTerminal=function(t){},l.prototype.visitErrorNode=function(t){},l.prototype.enterEveryRule=function(t){},l.prototype.exitEveryRule=function(t){},A.prototype=Object.create(u.prototype),A.prototype.constructor=A,A.prototype.getChild=function(t){return null},A.prototype.getSymbol=function(){return this.symbol},A.prototype.getParent=function(){return this.parentCtx},A.prototype.getPayload=function(){return this.symbol},A.prototype.getSourceInterval=function(){if(null===this.symbol)return o;var t=this.symbol.tokenIndex;return new i(t,t)},A.prototype.getChildCount=function(){return 0},A.prototype.accept=function(t){return t.visitTerminal(this)},A.prototype.getText=function(){return this.symbol.text},A.prototype.toString=function(){return this.symbol.type===r.EOF?"":this.symbol.text},R.prototype=Object.create(A.prototype),R.prototype.constructor=R,R.prototype.isErrorNode=function(){return!0},R.prototype.accept=function(t){return t.visitErrorNode(this)},p.prototype.walk=function(t,e){if(e instanceof c||void 0!==e.isErrorNode&&e.isErrorNode())t.visitErrorNode(e);else if(e instanceof u)t.visitTerminal(e);else{this.enterRule(t,e);for(var n=0;n0&&(i=u.toStringTree(t.getChild(0),e),E=E.concat(i));for(var s=1;s9007199254740991)return r;do n%2&&(r+=t),(n=e(n/2))&&(t+=t);while(n);return r}},14259:function(t){t.exports=function(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r=i?t:r(t,e,n)}},5512:function(t,e,n){var r=n(42118);t.exports=function(t,e){for(var n=t.length;n--&&r(e,t[n],0)>-1;);return n}},14429:function(t,e,n){var r=n(55639)["__core-js_shared__"];t.exports=r},10852:function(t,e,n){var r=n(28458),i=n(47801);t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},64160:function(t,e,n){var r=n(18552),i=n(57071),o=n(53818),E=n(58525),s=n(70577),a=n(44239),T=n(80346),u="[object Map]",c="[object Promise]",S="[object Set]",l="[object WeakMap]",A="[object DataView]",R=T(r),p=T(i),I=T(o),N=T(E),O=T(s),h=a;(r&&h(new r(new ArrayBuffer(1)))!=A||i&&h(new i)!=u||o&&h(o.resolve())!=c||E&&h(new E)!=S||s&&h(new s)!=l)&&(h=function(t){var e=a(t),n="[object Object]"==e?t.constructor:void 0,r=n?T(n):"";if(r)switch(r){case R:return A;case p:return u;case I:return c;case N:return S;case O:return l}return e}),t.exports=h},47801:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},62689:function(t){var e=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},65776:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t-1:!!u&&r(t,e,n)>-1}},35694:function(t,e,n){var r=n(9454),i=n(37005),o=Object.prototype,E=o.hasOwnProperty,s=o.propertyIsEnumerable,a=r(function(){return arguments}())?r:function(t){return i(t)&&E.call(t,"callee")&&!s.call(t,"callee")};t.exports=a},1469:function(t){var e=Array.isArray;t.exports=e},98612:function(t,e,n){var r=n(23560),i=n(41780);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},44144:function(t,e,n){t=n.nmd(t);var r=n(55639),i=n(87379),o=e&&!e.nodeType&&e,E=o&&t&&!t.nodeType&&t,s=E&&E.exports===o?r.Buffer:void 0,a=s?s.isBuffer:void 0;t.exports=a||i},41609:function(t,e,n){var r=n(280),i=n(64160),o=n(35694),E=n(1469),s=n(98612),a=n(44144),T=n(25726),u=n(36719),c=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(E(t)||"string"==typeof t||"function"==typeof t.splice||a(t)||u(t)||o(t)))return!t.length;var e=i(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(T(t))return!r(t).length;for(var n in t)if(c.call(t,n))return!1;return!0}},23560:function(t,e,n){var r=n(44239),i=n(13218);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},41780:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},47037:function(t,e,n){var r=n(44239),i=n(1469),o=n(37005);t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==r(t)}},36719:function(t,e,n){var r=n(38749),i=n(7518),o=n(31167),E=o&&o.isTypedArray,s=E?i(E):r;t.exports=s},3674:function(t,e,n){var r=n(14636),i=n(280),o=n(98612);t.exports=function(t){return o(t)?r(t):i(t)}},10928:function(t){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},66796:function(t,e,n){var r=n(99935),i=n(16612),o=n(40554),E=n(79833);t.exports=function(t,e,n){return e=(n?i(t,e,n):void 0===e)?1:o(e),r(E(t),e)}},87379:function(t){t.exports=function(){return!1}},18601:function(t,e,n){var r=n(14841),i=1/0;t.exports=function(t){return t?(t=r(t))===i||t===-i?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0}},40554:function(t,e,n){var r=n(18601);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},79833:function(t,e,n){var r=n(80531);t.exports=function(t){return null==t?"":r(t)}},10691:function(t,e,n){var r=n(80531),i=n(40180),o=n(5512),E=n(83140),s=n(79833),a=n(67990);t.exports=function(t,e,n){if((t=s(t))&&(n||void 0===e))return t.slice(0,a(t)+1);if(!t||!(e=r(e)))return t;var T=E(t),u=o(T,E(e))+1;return i(T,0,u).join("")}},52628:function(t,e,n){var r=n(47415),i=n(3674);t.exports=function(t){return null==t?[]:r(t,i(t))}}}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8010],{19357:function(t,e,n){"use strict";n.r(e),n.d(e,{SQLDocument:function(){return tz},SQLType:function(){return s},plugins:function(){return t$}}),(E=s||(s={}))[E.MySQL=0]="MySQL",E[E.Oracle=1]="Oracle",E[E.OBMySQL=2]="OBMySQL";var r,i,o,E,s,a,T,u,S,c,l=function(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i0&&this.indentTypes.pop()===_;);},t}(),D=function(){function t(){this.level=0}return t.prototype.beginIfPossible=function(t,e){0===this.level&&this.isInlineBlock(t,e)?this.level=1:this.level>0?this.level++:this.level=0},t.prototype.end=function(){this.level--},t.prototype.isActive=function(){return this.level>0},t.prototype.isInlineBlock=function(t,e){for(var n,r=0,i=0,o=e-1;o>=0;o--){var E=t[o];if(E&&(null===(n=E.value)||void 0===n?void 0:n.trim())){if(this.isRelineFunctionPrefix(E))return!1;break}}for(var o=e;o50)break;if(E.type===O.OPEN_PAREN)i++;else if(E.type===O.CLOSE_PAREN&&0==--i)return!0;if(this.isForbiddenToken(E))break}return!1},t.prototype.isForbiddenToken=function(t){var e=t.type,n=t.value;return e===O.RESERVED_TOPLEVEL||e===O.RESERVED_NEWLINE||e===O.LINE_COMMENT||e===O.BLOCK_COMMENT||";"===n},t.prototype.isRelineFunctionPrefix=function(t){return t.type===O.RELINE_FUNCTION},t}(),M=function(){function t(t){this.index=0,this.params=t}return t.prototype.get=function(t){var e=t.key,n=t.value;return this.params?e?this.params[e]:this.params[this.index++]:n},t}(),P=function(){function t(t,e){this.cfg={},this.previousReservedWord={},this.tokens=[],this.index=0,this.cfg=t||{},this.indentation=new d(this.cfg.indent),this.inlineBlock=new D,this.params=new M(this.cfg.params),this.tokenizer=e}return t.prototype.format=function(t){return this.tokens=this.tokenizer.tokenize(t),this.getFormattedQueryFromTokens().trim()},t.prototype.getFormattedQueryFromTokens=function(){var t=this,e="";return this.tokens.forEach(function(n,r){t.index=r,n.type===O.WHITESPACE||(n.type===O.LINE_COMMENT?e=t.formatLineComment(n,e):n.type===O.BLOCK_COMMENT?e=t.formatBlockComment(n,e):n.type===O.RESERVED_TOPLEVEL?(e=t.formatToplevelReservedWord(n,e),t.previousReservedWord=n):n.type===O.RESERVED_NEWLINE?(e=t.formatNewlineReservedWord(n,e),t.previousReservedWord=n):n.type===O.RESERVED?(e=t.formatWithSpaces(n,e),t.previousReservedWord=n):e=n.type===O.OPEN_PAREN?t.formatOpeningParentheses(n,e):n.type===O.CLOSE_PAREN?t.formatClosingParentheses(n,e):n.type===O.PLACEHOLDER?t.formatPlaceholder(n,e):","===n.value?t.formatComma(n,e):":"===n.value?t.formatWithSpaceAfter(n,e):"."===n.value?t.formatWithoutSpaces(n,e):";"===n.value?t.formatQuerySeparator(n,e):t.formatWithSpaces(n,e))}),e},t.prototype.formatLineComment=function(t,e){return this.addNewline(e+t.value)},t.prototype.formatBlockComment=function(t,e){return this.addNewline(this.addNewline(e)+this.indentComment(t.value))},t.prototype.indentComment=function(t){return t.replace(/\n/g,"\n"+this.indentation.getIndent())},t.prototype.formatToplevelReservedWord=function(t,e){return this.indentation.decreaseTopLevel(),e=this.addNewline(e),this.indentation.increaseToplevel(),e+=this.equalizeWhitespace(t.value),this.addNewline(e)},t.prototype.formatNewlineReservedWord=function(t,e){return this.addNewline(e)+this.equalizeWhitespace(t.value)+" "},t.prototype.equalizeWhitespace=function(t){return t.replace(/\s+/g," ")},t.prototype.formatOpeningParentheses=function(t,e){var n=[O.WHITESPACE,O.OPEN_PAREN,O.LINE_COMMENT];return I()(n,this.previousToken().type)||(e=p()(e)),e+=t.value,this.inlineBlock.beginIfPossible(this.tokens,this.index),this.inlineBlock.isActive()||(this.indentation.increaseBlockLevel(),e=this.addNewline(e)),e},t.prototype.formatClosingParentheses=function(t,e){return this.inlineBlock.isActive()?(this.inlineBlock.end(),this.formatWithSpaceAfter(t,e)):(this.indentation.decreaseBlockLevel(),this.formatWithSpaces(t,this.addNewline(e)))},t.prototype.formatPlaceholder=function(t,e){return e+this.params.get(t)+" "},t.prototype.formatComma=function(t,e){return(e=this.trimTrailingWhitespace(e)+t.value+" ",this.inlineBlock.isActive())?e:/^LIMIT$/i.test(this.previousReservedWord.value)?e:this.addNewline(e)},t.prototype.formatWithSpaceAfter=function(t,e){return this.trimTrailingWhitespace(e)+t.value+" "},t.prototype.formatWithoutSpaces=function(t,e){return this.trimTrailingWhitespace(e)+t.value},t.prototype.formatWithSpaces=function(t,e){return e+t.value+" "},t.prototype.formatQuerySeparator=function(t,e){return this.trimTrailingWhitespace(e)+t.value+"\n"},t.prototype.addNewline=function(t){return p()(t)+"\n"+this.indentation.getIndent()},t.prototype.trimTrailingWhitespace=function(t){return this.previousNonWhitespaceToken().type===O.LINE_COMMENT?p()(t)+"\n":p()(t)},t.prototype.previousNonWhitespaceToken=function(){for(var t=1;this.previousToken(t).type===O.WHITESPACE;)t++;return this.previousToken(t)},t.prototype.previousToken=function(t){return void 0===t&&(t=1),this.tokens[this.index-t]||{}},t}(),y=n(41609),g=n.n(y),U=n(3522),v=n.n(U),m=function(){function t(t){this.WHITESPACE_REGEX=/^(\s+)/,this.NUMBER_REGEX=/^((-\s*)?[0-9]+(\.[0-9]+)?|0x[0-9a-fA-F]+|0b[01]+)\b/,this.OPERATOR_REGEX=/^(!=|<>|==|=>|<=|>=|:=|!<|!>|\|\||::|->>|->|~~\*|~~|!~~\*|!~~|~\*|!~\*|!~|<<|>>|.)/,this.BLOCK_COMMENT_REGEX=/^(\/\*[^]*?(?:\*\/|$))/,this.LINE_COMMENT_REGEX=this.createLineCommentRegex(t.lineCommentTypes),this.RESERVED_TOPLEVEL_REGEX=this.createReservedWordRegex(t.reservedToplevelWords),this.RESERVED_NEWLINE_REGEX=this.createReservedWordRegex(t.reservedNewlineWords),this.RESERVED_PLAIN_REGEX=this.createReservedWordRegex(t.reservedWords),this.RELINE_FUNCTION_PREFIX=this.createRelineFunctionPrefix(t.relineFunctionPrefix),this.WORD_REGEX=this.createWordRegex(t.specialWordChars),this.STRING_REGEX=this.createStringRegex(t.stringTypes),this.OPEN_PAREN_REGEX=this.createParenRegex(t.openParens),this.CLOSE_PAREN_REGEX=this.createParenRegex(t.closeParens),this.INDEXED_PLACEHOLDER_REGEX=this.createPlaceholderRegex(t.indexedPlaceholderTypes,"[0-9]*"),this.IDENT_NAMED_PLACEHOLDER_REGEX=this.createPlaceholderRegex(t.namedPlaceholderTypes,"[a-zA-Z0-9._$]+"),this.STRING_NAMED_PLACEHOLDER_REGEX=this.createPlaceholderRegex(t.namedPlaceholderTypes,this.createStringPattern(t.stringTypes))}return t.prototype.createLineCommentRegex=function(t){return new RegExp("^((?:".concat(t.map(function(t){return v()(t)}).join("|"),").*?(?:\n|$|\r\n))"))},t.prototype.createReservedWordRegex=function(t){var e=t.join("|").replace(/ /g,"\\s+");return RegExp("^(".concat(e,")\\b"),"i")},t.prototype.createRelineFunctionPrefix=function(t){var e=null==t?void 0:t.join("|").replace(/ /g,"\\s+");return RegExp("^(".concat(e,")\\b"),"i")},t.prototype.createWordRegex=function(t){return void 0===t&&(t=[]),new RegExp("^([\\w".concat(t.join(""),"]+)"))},t.prototype.createStringRegex=function(t){return RegExp("^("+this.createStringPattern(t)+")")},t.prototype.createStringPattern=function(t){var e={"``":"((`[^`]*($|`))+)","[]":"((\\[[^\\]]*($|\\]))(\\][^\\]]*($|\\]))*)",'""':'(("[^"\\\\]*(?:\\\\.[^"\\\\]*)*("|$))+)',"''":"(('[^'\\\\]*(?:\\\\.[^'\\\\]*)*('|$))+)","N''":"((N'[^N'\\\\]*(?:\\\\.[^N'\\\\]*)*('|$))+)","'\\'":"(('[^''']*(?:[^''']*)*('|$))+)"};return t.map(function(t){return e[t]}).join("|")},t.prototype.createParenRegex=function(t){var e=this;return RegExp("^("+t.map(function(t){return e.escapeParen(t)}).join("|")+")","i")},t.prototype.escapeParen=function(t){return 1===t.length?v()(t):"\\b"+t+"\\b"},t.prototype.createPlaceholderRegex=function(t,e){if(g()(t))return!1;var n=t.map(v()).join("|");return new RegExp("^((?:".concat(n,")(?:").concat(e,"))"))},t.prototype.tokenize=function(t){for(var e,n=[];t.length;)e=this.getNextToken(t,e),t=t.substring(e.value.length),n.push(e);return n},t.prototype.getNextToken=function(t,e){return this.getWhitespaceToken(t)||this.getCommentToken(t)||this.getStringToken(t)||this.getOpenParenToken(t)||this.getCloseParenToken(t)||this.getPlaceholderToken(t)||this.getNumberToken(t)||this.getReservedWordToken(t,e)||this.getRelineFunctionPrefix(t)||this.getWordToken(t)||this.getOperatorToken(t)},t.prototype.getWhitespaceToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.WHITESPACE,regex:this.WHITESPACE_REGEX})},t.prototype.getCommentToken=function(t){return this.getLineCommentToken(t)||this.getBlockCommentToken(t)},t.prototype.getLineCommentToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.LINE_COMMENT,regex:this.LINE_COMMENT_REGEX})},t.prototype.getBlockCommentToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.BLOCK_COMMENT,regex:this.BLOCK_COMMENT_REGEX})},t.prototype.getStringToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.STRING,regex:this.STRING_REGEX})},t.prototype.getOpenParenToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.OPEN_PAREN,regex:this.OPEN_PAREN_REGEX})},t.prototype.getCloseParenToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.CLOSE_PAREN,regex:this.CLOSE_PAREN_REGEX})},t.prototype.getPlaceholderToken=function(t){return this.getIdentNamedPlaceholderToken(t)||this.getStringNamedPlaceholderToken(t)||this.getIndexedPlaceholderToken(t)},t.prototype.getIdentNamedPlaceholderToken=function(t){return this.getPlaceholderTokenWithKey({input:t,regex:this.IDENT_NAMED_PLACEHOLDER_REGEX,parseKey:function(t){return t.slice(1)}})},t.prototype.getStringNamedPlaceholderToken=function(t){var e=this;return this.getPlaceholderTokenWithKey({input:t,regex:this.STRING_NAMED_PLACEHOLDER_REGEX,parseKey:function(t){return e.getEscapedPlaceholderKey({key:t.slice(2,-1),quoteChar:t.slice(-1)})}})},t.prototype.getIndexedPlaceholderToken=function(t){return this.getPlaceholderTokenWithKey({input:t,regex:this.INDEXED_PLACEHOLDER_REGEX,parseKey:function(t){return t.slice(1)}})},t.prototype.getPlaceholderTokenWithKey=function(t){var e=t.input,n=t.regex,r=t.parseKey,i=this.getTokenOnFirstMatch({input:e,regex:n,type:O.PLACEHOLDER});return i&&(i.key=r(i.value)),i},t.prototype.getEscapedPlaceholderKey=function(t){var e=t.key,n=t.quoteChar;return e.replace(RegExp(v()("\\")+n,"g"),n)},t.prototype.getNumberToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.NUMBER,regex:this.NUMBER_REGEX})},t.prototype.getOperatorToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.OPERATOR,regex:this.OPERATOR_REGEX})},t.prototype.getReservedWordToken=function(t,e){if(!e||!e.value||"."!==e.value)return this.getToplevelReservedToken(t)||this.getNewlineReservedToken(t)||this.getPlainReservedToken(t)},t.prototype.getToplevelReservedToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.RESERVED_TOPLEVEL,regex:this.RESERVED_TOPLEVEL_REGEX})},t.prototype.getRelineFunctionPrefix=function(t){return this.getTokenOnFirstMatch({input:t,type:O.RELINE_FUNCTION,regex:this.RELINE_FUNCTION_PREFIX})},t.prototype.getNewlineReservedToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.RESERVED_NEWLINE,regex:this.RESERVED_NEWLINE_REGEX})},t.prototype.getPlainReservedToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.RESERVED,regex:this.RESERVED_PLAIN_REGEX})},t.prototype.getWordToken=function(t){return this.getTokenOnFirstMatch({input:t,type:O.WORD,regex:this.WORD_REGEX})},t.prototype.getTokenOnFirstMatch=function(t){var e=t.input,n=t.type,r=t.regex,i=e.match(r);if(i)return{type:n,value:i[1]}},t}(),x=["ABS","ACTIVATE","ALIAS","ALL","ALLOCATE","ALLOW","ALTER","ANY","ARE","ARRAY","AS","ASC","ASENSITIVE","ASSOCIATE","ASUTIME","ASYMMETRIC","AT","ATOMIC","ATTRIBUTES","AUDIT","AUTHORIZATION","AUX","AUXILIARY","AVG","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BLOB","BOOLEAN","BOTH","BUFFERPOOL","BY","CACHE","CALL","CALLED","CAPTURE","CARDINALITY","CASCADED","CASE","CAST","CCSID","CEIL","CEILING","CHAR","CHARACTER","CHARACTER_LENGTH","CHAR_LENGTH","CHECK","CLOB","CLONE","CLOSE","CLUSTER","COALESCE","COLLATE","COLLECT","COLLECTION","COLLID","COLUMN","COMMENT","COMMIT","CONCAT","CONDITION","CONNECT","CONNECTION","CONSTRAINT","CONTAINS","CONTINUE","CONVERT","CORR","CORRESPONDING","COUNT","COUNT_BIG","COVAR_POP","COVAR_SAMP","CREATE","CROSS","CUBE","CUME_DIST","CURRENT","CURRENT_DATE","CURRENT_DEFAULT_TRANSFORM_GROUP","CURRENT_LC_CTYPE","CURRENT_PATH","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_SERVER","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_TRANSFORM_GROUP_FOR_TYPE","CURRENT_USER","CURSOR","CYCLE","DATA","DATABASE","DATAPARTITIONNAME","DATAPARTITIONNUM","DATE","DAY","DAYS","DB2GENERAL","DB2GENRL","DB2SQL","DBINFO","DBPARTITIONNAME","DBPARTITIONNUM","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFINITION","DELETE","DENSERANK","DENSE_RANK","DEREF","DESCRIBE","DESCRIPTOR","DETERMINISTIC","DIAGNOSTICS","DISABLE","DISALLOW","DISCONNECT","DISTINCT","DO","DOCUMENT","DOUBLE","DROP","DSSIZE","DYNAMIC","EACH","EDITPROC","ELEMENT","ELSE","ELSEIF","ENABLE","ENCODING","ENCRYPTION","END","END-EXEC","ENDING","ERASE","ESCAPE","EVERY","EXCEPTION","EXCLUDING","EXCLUSIVE","EXEC","EXECUTE","EXISTS","EXIT","EXP","EXPLAIN","EXTENDED","EXTERNAL","EXTRACT","FALSE","FENCED","FETCH","FIELDPROC","FILE","FILTER","FINAL","FIRST","FLOAT","FLOOR","FOR","FOREIGN","FREE","FULL","FUNCTION","FUSION","GENERAL","GENERATED","GET","GLOBAL","GOTO","GRANT","GRAPHIC","GROUP","GROUPING","HANDLER","HASH","HASHED_VALUE","HINT","HOLD","HOUR","HOURS","IDENTITY","IF","IMMEDIATE","IN","INCLUDING","INCLUSIVE","INCREMENT","INDEX","INDICATOR","INDICATORS","INF","INFINITY","INHERIT","INNER","INOUT","INSENSITIVE","INSERT","INT","INTEGER","INTEGRITY","INTERSECTION","INTERVAL","INTO","IS","ISOBID","ISOLATION","ITERATE","JAR","JAVA","KEEP","KEY","LABEL","LANGUAGE","LARGE","LATERAL","LC_CTYPE","LEADING","LEAVE","LEFT","LIKE","LINKTYPE","LN","LOCAL","LOCALDATE","LOCALE","LOCALTIME","LOCALTIMESTAMP","LOCATOR","LOCATORS","LOCK","LOCKMAX","LOCKSIZE","LONG","LOOP","LOWER","MAINTAINED","MATCH","MATERIALIZED","MAX","MAXVALUE","MEMBER","MERGE","METHOD","MICROSECOND","MICROSECONDS","MIN","MINUTE","MINUTES","MINVALUE","MOD","MODE","MODIFIES","MODULE","MONTH","MONTHS","MULTISET","NAN","NATIONAL","NATURAL","NCHAR","NCLOB","NEW","NEW_TABLE","NEXTVAL","NO","NOCACHE","NOCYCLE","NODENAME","NODENUMBER","NOMAXVALUE","NOMINVALUE","NONE","NOORDER","NORMALIZE","NORMALIZED","NOT","NULL","NULLIF","NULLS","NUMERIC","NUMPARTS","OBID","OCTET_LENGTH","OF","OFFSET","OLD","OLD_TABLE","ON","ONLY","OPEN","OPTIMIZATION","OPTIMIZE","OPTION","ORDER","OUT","OUTER","OVER","OVERLAPS","OVERLAY","OVERRIDING","PACKAGE","PADDED","PAGESIZE","PARAMETER","PART","PARTITION","PARTITIONED","PARTITIONING","PARTITIONS","PASSWORD","PATH","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","PIECESIZE","PLAN","POSITION","POWER","PRECISION","PREPARE","PREVVAL","PRIMARY","PRIQTY","PRIVILEGES","PROCEDURE","PROGRAM","PSID","PUBLIC","QUERY","QUERYNO","RANGE","RANK","READ","READS","REAL","RECOVERY","RECURSIVE","REF","REFERENCES","REFERENCING","REFRESH","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","RELEASE","RENAME","REPEAT","RESET","RESIGNAL","RESTART","RESTRICT","RESULT","RESULT_SET_LOCATOR","RETURN","RETURNS","REVOKE","RIGHT","ROLE","ROLLBACK","ROLLUP","ROUND_CEILING","ROUND_DOWN","ROUND_FLOOR","ROUND_HALF_DOWN","ROUND_HALF_EVEN","ROUND_HALF_UP","ROUND_UP","ROUTINE","ROW","ROWNUMBER","ROWS","ROWSET","ROW_NUMBER","RRN","RUN","SAVEPOINT","SCHEMA","SCOPE","SCRATCHPAD","SCROLL","SEARCH","SECOND","SECONDS","SECQTY","SECURITY","SENSITIVE","SEQUENCE","SESSION","SESSION_USER","SIGNAL","SIMILAR","SIMPLE","SMALLINT","SNAN","SOME","SOURCE","SPECIFIC","SPECIFICTYPE","SQL","SQLEXCEPTION","SQLID","SQLSTATE","SQLWARNING","SQRT","STACKED","STANDARD","START","STARTING","STATEMENT","STATIC","STATMENT","STAY","STDDEV_POP","STDDEV_SAMP","STOGROUP","STORES","STYLE","SUBMULTISET","SUBSTRING","SUM","SUMMARY","SYMMETRIC","SYNONYM","SYSFUN","SYSIBM","SYSPROC","SYSTEM","SYSTEM_USER","TABLE","TABLESAMPLE","TABLESPACE","THEN","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TRAILING","TRANSACTION","TRANSLATE","TRANSLATION","TREAT","TRIGGER","TRIM","TRUE","TRUNCATE","TYPE","UESCAPE","UNDO","UNIQUE","UNKNOWN","UNNEST","UNTIL","UPPER","USAGE","USER","USING","VALIDPROC","VALUE","VARCHAR","VARIABLE","VARIANT","VARYING","VAR_POP","VAR_SAMP","VCAT","VERSION","VIEW","VOLATILE","VOLUMES","WHEN","WHENEVER","WHILE","WIDTH_BUCKET","WINDOW","WITH","WITHIN","WITHOUT","WLM","WRITE","XMLELEMENT","XMLEXISTS","XMLNAMESPACES","YEAR","YEARS"],F=["ADD","AFTER","ALTER COLUMN","ALTER TABLE","DELETE FROM","EXCEPT","FETCH FIRST","FROM","GROUP BY","GO","HAVING","INSERT INTO","INTERSECT","LIMIT","ORDER BY","SELECT","SET CURRENT SCHEMA","SET SCHEMA","SET","UNION ALL","UPDATE","VALUES","WHERE"],G=["AND","CROSS JOIN","INNER JOIN","JOIN","LEFT JOIN","LEFT OUTER JOIN","OR","OUTER JOIN","RIGHT JOIN","RIGHT OUTER JOIN"],B=function(){function t(t){this.cfg=t}return t.prototype.format=function(t){return a||(a=new m({reservedWords:x,reservedToplevelWords:F,reservedNewlineWords:G,stringTypes:['""',"''","``","[]"],openParens:["("],closeParens:[")"],indexedPlaceholderTypes:["?"],namedPlaceholderTypes:[":"],lineCommentTypes:["--"],specialWordChars:["#","@"]})),new P(this.cfg,a).format(t)},t}(),H=["ALL","ALTER","ANALYZE","AND","ANY","ARRAY","AS","ASC","BEGIN","BETWEEN","BINARY","BOOLEAN","BREAK","BUCKET","BUILD","BY","CALL","CASE","CAST","CLUSTER","COLLATE","COLLECTION","COMMIT","CONNECT","CONTINUE","CORRELATE","COVER","CREATE","DATABASE","DATASET","DATASTORE","DECLARE","DECREMENT","DELETE","DERIVED","DESC","DESCRIBE","DISTINCT","DO","DROP","EACH","ELEMENT","ELSE","END","EVERY","EXCEPT","EXCLUDE","EXECUTE","EXISTS","EXPLAIN","FALSE","FETCH","FIRST","FLATTEN","FOR","FORCE","FROM","FUNCTION","GRANT","GROUP","GSI","HAVING","IF","IGNORE","ILIKE","IN","INCLUDE","INCREMENT","INDEX","INFER","INLINE","INNER","INSERT","INTERSECT","INTO","IS","JOIN","KEY","KEYS","KEYSPACE","KNOWN","LAST","LEFT","LET","LETTING","LIKE","LIMIT","LSM","MAP","MAPPING","MATCHED","MATERIALIZED","MERGE","MINUS","MISSING","NAMESPACE","NEST","NOT","NULL","NUMBER","OBJECT","OFFSET","ON","OPTION","OR","ORDER","OUTER","OVER","PARSE","PARTITION","PASSWORD","PATH","POOL","PREPARE","PRIMARY","PRIVATE","PRIVILEGE","PROCEDURE","PUBLIC","RAW","REALM","REDUCE","RENAME","RETURN","RETURNING","REVOKE","RIGHT","ROLE","ROLLBACK","SATISFIES","SCHEMA","SELECT","SELF","SEMI","SET","SHOW","SOME","START","STATISTICS","STRING","SYSTEM","THEN","TO","TRANSACTION","TRIGGER","TRUE","TRUNCATE","UNDER","UNION","UNIQUE","UNKNOWN","UNNEST","UNSET","UPDATE","UPSERT","USE","USER","USING","VALIDATE","VALUE","VALUED","VALUES","VIA","VIEW","WHEN","WHERE","WHILE","WITH","WITHIN","WORK","XOR"],Y=["DELETE FROM","EXCEPT ALL","EXCEPT","EXPLAIN DELETE FROM","EXPLAIN UPDATE","EXPLAIN UPSERT","FROM","GROUP BY","HAVING","INFER","INSERT INTO","INTERSECT ALL","INTERSECT","LET","LIMIT","MERGE","NEST","ORDER BY","PREPARE","SELECT","SET CURRENT SCHEMA","SET SCHEMA","SET","UNION ALL","UNION","UNNEST","UPDATE","UPSERT","USE KEYS","VALUES","WHERE"],k=["AND","INNER JOIN","JOIN","LEFT JOIN","LEFT OUTER JOIN","OR","OUTER JOIN","RIGHT JOIN","RIGHT OUTER JOIN","XOR"],V=function(){function t(t){this.cfg=t}return t.prototype.format=function(t){return T||(T=new m({reservedWords:H,reservedToplevelWords:Y,reservedNewlineWords:k,stringTypes:['""',"''","``"],openParens:["(","[","{"],closeParens:[")","]","}"],namedPlaceholderTypes:["$"],lineCommentTypes:["#","--"]})),new P(this.cfg,T).format(t)},t}(),W=["ACCESSIBLE","AGENT","AGGREGATE","ALL","ALTER","ANY","ARRAY","AS","ASC","AT","ATTRIBUTE","AUTHID","AVG","BETWEEN","BFILE_BASE","BINARY_INTEGER","BINARY","BLOB_BASE","BLOCK","BODY","BOOLEAN","BOTH","BOUND","BULK","BY","BYTE","CALL","CALLING","CASCADE","CASE","CHAR_BASE","CHAR","CHARACTER","CHARSET","CHARSETFORM","CHARSETID","CHECK","CLOB_BASE","CLONE","CLOSE","CLUSTER","CLUSTERS","COALESCE","COLAUTH","COLLECT","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPILED","COMPRESS","CONNECT","CONSTANT","CONSTRUCTOR","CONTEXT","CONTINUE","CONVERT","COUNT","CRASH","CREATE","CREDENTIAL","CURRENT","CURRVAL","CURSOR","CUSTOMDATUM","DANGLING","DATA","DATE_BASE","DATE","DAY","DECIMAL","DEFAULT","DEFINE","DELETE","DESC","DETERMINISTIC","DIRECTORY","DISTINCT","DO","DOUBLE","DROP","DURATION","ELEMENT","ELSIF","EMPTY","ESCAPE","EXCEPTIONS","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXTENDS","EXTERNAL","EXTRACT","FALSE","FETCH","FINAL","FIRST","FIXED","FLOAT","FOR","FORALL","FORCE","FROM","FUNCTION","GENERAL","GOTO","GRANT","GROUP","HASH","HEAP","HIDDEN","HOUR","IDENTIFIED","IF","IMMEDIATE","IN","INCLUDING","INDEX","INDEXES","INDICATOR","INDICES","INFINITE","INSTANTIABLE","INT","INTEGER","INTERFACE","INTERVAL","INTO","INVALIDATE","IS","ISOLATION","JAVA","LANGUAGE","LARGE","LEADING","LENGTH","LEVEL","LIBRARY","LIKE","LIKE2","LIKE4","LIKEC","LIMITED","LOCAL","LOCK","LONG","MAP","MAX","MAXLEN","MEMBER","MERGE","MIN","MINUS","MINUTE","MLSLABEL","MOD","MODE","MONTH","MULTISET","NAME","NAN","NATIONAL","NATIVE","NATURAL","NATURALN","NCHAR","NEW","NEXTVAL","NOCOMPRESS","NOCOPY","NOT","NOWAIT","NULL","NULLIF","NUMBER_BASE","NUMBER","OBJECT","OCICOLL","OCIDATE","OCIDATETIME","OCIDURATION","OCIINTERVAL","OCILOBLOCATOR","OCINUMBER","OCIRAW","OCIREF","OCIREFCURSOR","OCIROWID","OCISTRING","OCITYPE","OF","OLD","ON","ONLY","OPAQUE","OPEN","OPERATOR","OPTION","ORACLE","ORADATA","ORDER","ORGANIZATION","ORLANY","ORLVARY","OTHERS","OUT","OVERLAPS","OVERRIDING","PACKAGE","PARALLEL_ENABLE","PARAMETER","PARAMETERS","PARENT","PARTITION","PASCAL","PCTFREE","PIPE","PIPELINED","PLS_INTEGER","PLUGGABLE","POSITIVE","POSITIVEN","PRAGMA","PRECISION","PRIOR","PRIVATE","PROCEDURE","PUBLIC","RAISE","RANGE","RAW","READ","REAL","RECORD","REF","REFERENCE","RELEASE","RELIES_ON","REM","REMAINDER","RENAME","RESOURCE","RESULT_CACHE","RESULT","RETURN","RETURNING","REVERSE","REVOKE","ROLLBACK","ROW","ROWID","ROWNUM","ROWTYPE","SAMPLE","SAVE","SAVEPOINT","SB1","SB2","SB4","SECOND","SEGMENT","SELF","SEPARATE","SEQUENCE","SERIALIZABLE","SHARE","SHORT","SIZE_T","SIZE","SMALLINT","SOME","SPACE","SPARSE","SQL","SQLCODE","SQLDATA","SQLERRM","SQLNAME","SQLSTATE","STANDARD","START","STATIC","STDDEV","STORED","STRING","STRUCT","STYLE","SUBMULTISET","SUBPARTITION","SUBSTITUTABLE","SUBTYPE","SUCCESSFUL","SUM","SYNONYM","SYSDATE","TABAUTH","TABLE","TDO","THE","THEN","TIME","TIMESTAMP","TIMEZONE_ABBR","TIMEZONE_HOUR","TIMEZONE_MINUTE","TIMEZONE_REGION","TO","TRAILING","TRANSACTION","TRANSACTIONAL","TRIGGER","TRUE","TRUSTED","TYPE","UB1","UB2","UB4","UID","UNDER","UNIQUE","UNPLUG","UNSIGNED","UNTRUSTED","USE","USER","USING","VALIDATE","VALIST","VALUE","VARCHAR","VARCHAR2","VARIABLE","VARIANCE","VARRAY","VARYING","VIEW","VIEWS","VOID","WHENEVER","WHILE","WITH","WORK","WRAPPED","WRITE","YEAR","ZONE"],b=["ADD","ALTER COLUMN","ALTER TABLE","BEGIN","CONNECT BY","DECLARE","DELETE FROM","DELETE","END","EXCEPT","EXCEPTION","FETCH FIRST","FROM","GROUP BY","HAVING","INSERT INTO","INSERT","INTERSECT","LIMIT","LOOP","MODIFY","ORDER BY","SELECT","SET CURRENT SCHEMA","SET SCHEMA","SET","START WITH","UNION ALL","UNION","UPDATE","VALUES","WHERE"],K=["AND","CROSS APPLY","CROSS JOIN","ELSE","END","INNER JOIN","JOIN","LEFT JOIN","LEFT OUTER JOIN","OR","OUTER APPLY","OUTER JOIN","RIGHT JOIN","RIGHT OUTER JOIN","WHEN","XOR","INCREMENT BY"],X=["OBJECT"],w=function(){function t(t){this.cfg=t}return t.prototype.format=function(t){var e;switch(this.cfg.language){case"ob-mysql":e={reservedWords:W,reservedToplevelWords:b,reservedNewlineWords:K,relineFunctionPrefix:X,stringTypes:['""',"''","``","[]"],openParens:["("],closeParens:[")"],indexedPlaceholderTypes:["?"],namedPlaceholderTypes:[":"],lineCommentTypes:["--"],specialWordChars:["$","#","@","\\u4e00-\\u9fff"]};break;case"ob-oracle":e={reservedWords:W,reservedToplevelWords:b,reservedNewlineWords:K,relineFunctionPrefix:X,stringTypes:['""',"'\\'"],openParens:["("],closeParens:[")"],indexedPlaceholderTypes:["?"],namedPlaceholderTypes:[":"],lineCommentTypes:["--"],specialWordChars:["$","#","@","\\u4e00-\\u9fff"]}}return u||(u=new m(e)),new P(this.cfg,u).format(t)},t}(),Q=["A","ACCESSIBLE","AGENT","AGGREGATE","ALL","ALTER","ANY","ARRAY","AS","ASC","AT","ATTRIBUTE","AUTHID","AVG","BETWEEN","BFILE_BASE","BINARY_INTEGER","BINARY","BLOB_BASE","BLOCK","BODY","BOOLEAN","BOTH","BOUND","BULK","BY","BYTE","C","CALL","CALLING","CASCADE","CASE","CHAR_BASE","CHAR","CHARACTER","CHARSET","CHARSETFORM","CHARSETID","CHECK","CLOB_BASE","CLONE","CLOSE","CLUSTER","CLUSTERS","COALESCE","COLAUTH","COLLECT","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPILED","COMPRESS","CONNECT","CONSTANT","CONSTRUCTOR","CONTEXT","CONTINUE","CONVERT","COUNT","CRASH","CREATE","CREDENTIAL","CURRENT","CURRVAL","CURSOR","CUSTOMDATUM","DANGLING","DATA","DATE_BASE","DATE","DAY","DECIMAL","DEFAULT","DEFINE","DELETE","DESC","DETERMINISTIC","DIRECTORY","DISTINCT","DO","DOUBLE","DROP","DURATION","ELEMENT","ELSIF","EMPTY","ESCAPE","EXCEPTIONS","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXTENDS","EXTERNAL","EXTRACT","FALSE","FETCH","FINAL","FIRST","FIXED","FLOAT","FOR","FORALL","FORCE","FROM","FUNCTION","GENERAL","GOTO","GRANT","GROUP","HASH","HEAP","HIDDEN","HOUR","IDENTIFIED","IF","IMMEDIATE","IN","INCLUDING","INDEX","INDEXES","INDICATOR","INDICES","INFINITE","INSTANTIABLE","INT","INTEGER","INTERFACE","INTERVAL","INTO","INVALIDATE","IS","ISOLATION","JAVA","LANGUAGE","LARGE","LEADING","LENGTH","LEVEL","LIBRARY","LIKE","LIKE2","LIKE4","LIKEC","LIMITED","LOCAL","LOCK","LONG","MAP","MAX","MAXLEN","MEMBER","MERGE","MIN","MINUS","MINUTE","MLSLABEL","MOD","MODE","MONTH","MULTISET","NAME","NAN","NATIONAL","NATIVE","NATURAL","NATURALN","NCHAR","NEW","NEXTVAL","NOCOMPRESS","NOCOPY","NOT","NOWAIT","NULL","NULLIF","NUMBER_BASE","NUMBER","OBJECT","OCICOLL","OCIDATE","OCIDATETIME","OCIDURATION","OCIINTERVAL","OCILOBLOCATOR","OCINUMBER","OCIRAW","OCIREF","OCIREFCURSOR","OCIROWID","OCISTRING","OCITYPE","OF","OLD","ON","ONLY","OPAQUE","OPEN","OPERATOR","OPTION","ORACLE","ORADATA","ORDER","ORGANIZATION","ORLANY","ORLVARY","OTHERS","OUT","OVERLAPS","OVERRIDING","PACKAGE","PARALLEL_ENABLE","PARAMETER","PARAMETERS","PARENT","PARTITION","PASCAL","PCTFREE","PIPE","PIPELINED","PLS_INTEGER","PLUGGABLE","POSITIVE","POSITIVEN","PRAGMA","PRECISION","PRIOR","PRIVATE","PROCEDURE","PUBLIC","RAISE","RANGE","RAW","READ","REAL","RECORD","REF","REFERENCE","RELEASE","RELIES_ON","REM","REMAINDER","RENAME","RESOURCE","RESULT_CACHE","RESULT","RETURN","RETURNING","REVERSE","REVOKE","ROLLBACK","ROW","ROWID","ROWNUM","ROWTYPE","SAMPLE","SAVE","SAVEPOINT","SB1","SB2","SB4","SECOND","SEGMENT","SELF","SEPARATE","SEQUENCE","SERIALIZABLE","SHARE","SHORT","SIZE_T","SIZE","SMALLINT","SOME","SPACE","SPARSE","SQL","SQLCODE","SQLDATA","SQLERRM","SQLNAME","SQLSTATE","STANDARD","START","STATIC","STDDEV","STORED","STRING","STRUCT","STYLE","SUBMULTISET","SUBPARTITION","SUBSTITUTABLE","SUBTYPE","SUCCESSFUL","SUM","SYNONYM","SYSDATE","TABAUTH","TABLE","TDO","THE","THEN","TIME","TIMESTAMP","TIMEZONE_ABBR","TIMEZONE_HOUR","TIMEZONE_MINUTE","TIMEZONE_REGION","TO","TRAILING","TRANSACTION","TRANSACTIONAL","TRIGGER","TRUE","TRUSTED","TYPE","UB1","UB2","UB4","UID","UNDER","UNIQUE","UNPLUG","UNSIGNED","UNTRUSTED","USE","USER","USING","VALIDATE","VALIST","VALUE","VARCHAR","VARCHAR2","VARIABLE","VARIANCE","VARRAY","VARYING","VIEW","VIEWS","VOID","WHENEVER","WHILE","WITH","WORK","WRAPPED","WRITE","YEAR","ZONE"],j=["ADD","ALTER COLUMN","ALTER TABLE","BEGIN","CONNECT BY","DECLARE","DELETE FROM","DELETE","END","EXCEPT","EXCEPTION","FETCH FIRST","FROM","GROUP BY","HAVING","INSERT INTO","INSERT","INTERSECT","LIMIT","LOOP","MODIFY","ORDER BY","SELECT","SET CURRENT SCHEMA","SET SCHEMA","SET","START WITH","UNION ALL","UNION","UPDATE","VALUES","WHERE"],Z=["AND","CROSS APPLY","CROSS JOIN","ELSE","END","INNER JOIN","JOIN","LEFT JOIN","LEFT OUTER JOIN","OR","OUTER APPLY","OUTER JOIN","RIGHT JOIN","RIGHT OUTER JOIN","WHEN","XOR"],J=function(){function t(t){this.cfg=t}return t.prototype.format=function(t){return S||(S=new m({reservedWords:Q,reservedToplevelWords:j,reservedNewlineWords:Z,stringTypes:['""',"N''","''","``"],openParens:["(","CASE"],closeParens:[")","END"],indexedPlaceholderTypes:["?"],namedPlaceholderTypes:[":"],lineCommentTypes:["--"],specialWordChars:["_","$","#",".","@"]})),new P(this.cfg,S).format(t)},t}(),q=["ACCESSIBLE","ACTION","AGAINST","AGGREGATE","ALGORITHM","ALL","ALTER","ANALYSE","ANALYZE","AS","ASC","AUTOCOMMIT","AUTO_INCREMENT","BACKUP","BEGIN","BETWEEN","BINLOG","BOTH","CASCADE","CASE","CHANGE","CHANGED","CHARACTER SET","CHARSET","CHECK","CHECKSUM","COLLATE","COLLATION","COLUMN","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPRESSED","CONCURRENT","CONSTRAINT","CONTAINS","CONVERT","CREATE","CROSS","CURRENT_TIMESTAMP","DATABASE","DATABASES","DAY","DAY_HOUR","DAY_MINUTE","DAY_SECOND","DEFAULT","DEFINER","DELAYED","DELETE","DESC","DESCRIBE","DETERMINISTIC","DISTINCT","DISTINCTROW","DIV","DO","DROP","DUMPFILE","DUPLICATE","DYNAMIC","ELSE","ENCLOSED","END","ENGINE","ENGINES","ENGINE_TYPE","ESCAPE","ESCAPED","EVENTS","EXEC","EXECUTE","EXISTS","EXPLAIN","EXTENDED","FAST","FETCH","FIELDS","FILE","FIRST","FIXED","FLUSH","FOR","FORCE","FOREIGN","FULL","FULLTEXT","FUNCTION","GLOBAL","GRANT","GRANTS","GROUP_CONCAT","HEAP","HIGH_PRIORITY","HOSTS","HOUR","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IFNULL","IGNORE","IN","INDEX","INDEXES","INFILE","INSERT","INSERT_ID","INSERT_METHOD","INTERVAL","INTO","INVOKER","IS","ISOLATION","KEY","KEYS","KILL","LAST_INSERT_ID","LEADING","LEVEL","LIKE","LINEAR","LINES","LOAD","LOCAL","LOCK","LOCKS","LOGS","LOW_PRIORITY","MARIA","MASTER","MASTER_CONNECT_RETRY","MASTER_HOST","MASTER_LOG_FILE","MATCH","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MERGE","MINUTE","MINUTE_SECOND","MIN_ROWS","MODE","MODIFY","MONTH","MRG_MYISAM","MYISAM","NAMES","NATURAL","NOT","NOW()","NULL","OFFSET","ON DELETE","ON UPDATE","ON","ONLY","OPEN","OPTIMIZE","OPTION","OPTIONALLY","OUTFILE","PACK_KEYS","PAGE","PARTIAL","PARTITION","PARTITIONS","PASSWORD","PRIMARY","PRIVILEGES","PROCEDURE","PROCESS","PROCESSLIST","PURGE","QUICK","RAID0","RAID_CHUNKS","RAID_CHUNKSIZE","RAID_TYPE","RANGE","READ","READ_ONLY","READ_WRITE","REFERENCES","REGEXP","RELOAD","RENAME","REPAIR","REPEATABLE","REPLACE","REPLICATION","RESET","RESTORE","RESTRICT","RETURN","RETURNS","REVOKE","RLIKE","ROLLBACK","ROW","ROWS","ROW_FORMAT","SECOND","SECURITY","SEPARATOR","SERIALIZABLE","SESSION","SHARE","SHOW","SHUTDOWN","SLAVE","SONAME","SOUNDS","SQL","SQL_AUTO_IS_NULL","SQL_BIG_RESULT","SQL_BIG_SELECTS","SQL_BIG_TABLES","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQL_LOG_BIN","SQL_LOG_OFF","SQL_LOG_UPDATE","SQL_LOW_PRIORITY_UPDATES","SQL_MAX_JOIN_SIZE","SQL_NO_CACHE","SQL_QUOTE_SHOW_CREATE","SQL_SAFE_UPDATES","SQL_SELECT_LIMIT","SQL_SLAVE_SKIP_COUNTER","SQL_SMALL_RESULT","SQL_WARNINGS","START","STARTING","STATUS","STOP","STORAGE","STRAIGHT_JOIN","STRING","STRIPED","SUPER","TABLE","TABLES","TEMPORARY","TERMINATED","THEN","TO","TRAILING","TRANSACTIONAL","TRUE","TRUNCATE","TYPE","TYPES","UNCOMMITTED","UNIQUE","UNLOCK","UNSIGNED","USAGE","USE","USING","VARIABLES","VIEW","WHEN","WITH","WORK","WRITE","YEAR_MONTH"],z=["ADD","AFTER","ALTER COLUMN","ALTER TABLE","DELETE FROM","EXCEPT","FETCH FIRST","FROM","GROUP BY","GO","HAVING","INSERT INTO","INSERT","INTERSECT","LIMIT","MODIFY","ORDER BY","SELECT","SET CURRENT SCHEMA","SET SCHEMA","SET","UNION ALL","UNION","UPDATE","VALUES","WHERE"],$=["AND","CROSS APPLY","CROSS JOIN","ELSE","INNER JOIN","JOIN","LEFT JOIN","LEFT OUTER JOIN","OR","OUTER APPLY","OUTER JOIN","RIGHT JOIN","RIGHT OUTER JOIN","WHEN","XOR"],tt=function(){function t(t){this.cfg=t}return t.prototype.format=function(t){return c||(c=new m({reservedWords:q,reservedToplevelWords:z,reservedNewlineWords:$,stringTypes:['""',"N''","''","``","[]"],openParens:["(","CASE"],closeParens:[")","END"],indexedPlaceholderTypes:["?"],namedPlaceholderTypes:["@",":"],lineCommentTypes:["#","--"]})),new P(this.cfg,c).format(t)},t}(),te={format:function(t,e){switch((e=e||{}).language){case"db2":return new B(e).format(t);case"n1ql":return new V(e).format(t);case"pl/sql":return new J(e).format(t);case"ob-mysql":case"ob-oracle":return new w(e).format(t);case"sql":case void 0:return new tt(e).format(t);default:throw Error("Unsupported SQL dialect: ".concat(e.language))}}};function tn(t,e){return void 0===e&&(e=!1),te.format(t,{language:e?"ob-mysql":"ob-oracle"})}var tr=n(95515),ti=n(4141),to=n(67228),tE=n(95827),ts=(r=function(t,e){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),ta=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.haveError=!1,e}return ts(e,t),e.prototype.syntaxError=function(t,e,n,r,i,o){this.haveError=!0},e}(tE.ErrorListener),tT=(i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),tu=function(t){function e(e,n){return t.call(this,e,n)||this}return tT(e,t),e.prototype.LA=function(e){var n=t.prototype.LA.call(this,e);switch(n){case 0:case to.Token.EOF:return n;default:return String.fromCharCode(n).toUpperCase().charCodeAt(0)}},e}(to.InputStream),tS=function(){function t(t){this.offset=-1,this.tokens=t}return t.prototype.getTokenIdx=function(){return this.offset},t.prototype.nextToken=function(){return this.isEnd()||this.offset++,this.getToken()},t.prototype.nextNoEmptyToken=function(t){for(var e,n=null;!this.isEnd();){var r=this.nextToken();if(r.text){if(null===n&&(n=this.offset),!t)return[r];var i=this.lookAhead();if((!(null===(e=i.text)||void 0===e?void 0:e.trim())&&i.text.includes("\n")?t.includes("\n"):t.includes(i.text))||!i||(null==i?void 0:i.type)===to.Token.EOF)return this.tokens.slice(n,this.offset+1)}}},t.prototype.lookAhead=function(t){return void 0===t&&(t=1),this.tokens[this.offset+t]},t.prototype.getToken=function(){return this.tokens[this.offset]},t.prototype.isEnd=function(){return this.tokens.length-1<=this.offset},t}(),tc=function(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i=0}).map(function(t){return{text:t.text,range:{begin:t.begin,end:t.end},startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn,tokens:[],isDelimiter:!0,delimiter:""}})},t}(),tR=n(96486),tA=function(){function t(t){this.current=t}return t.prototype.isPreMatch=function(){return this.current instanceof t&&this.current.next},t.prototype.link=function(e){return(0,tR.isArray)(e)?this.next=e:"string"==typeof e?this.next=[new t(e)]:this.next=[e],this},t.prototype.tryNext=function(e){if(this.isPreMatch()&&this.current instanceof t){var n,r=this.current.tryNext(e);if(r!==this.current){var i=tN(this);return i.current=r,i}return this}return(null===(n=this.next)||void 0===n?void 0:n.find(function(t){return t.match(e)}))||this},t.prototype.match=function(e){return this.current instanceof t?this.current.match(e):"string"==typeof this.current?this.current.toLowerCase()===e.toLowerCase():!!this.current.find(function(t){return t.toLowerCase()===e.toLowerCase()})},t}();function tI(t){return new tA(t)}function tN(t){var e=t.current,n=t.next;t.current instanceof tA&&(e=tN(t.current)),t.next&&(n=t.next.map(function(t){return tN(t)}));var r=new t.constructor(e);return n&&r.link(n),r}var tp=tI("begin"),tO=tI("declare"),th=tI("procedure").link([tI("as"),tI("is")]),tL=tI("function").link([tI("as"),tI("is")]),tC=tI("trigger").link([tI("before").link("on"),tI("for").link("on")]),tf=tI("package").link([tI("is"),tI("as")]),t_=tI("create").link([tf,tI("procedure"),tI("function"),tC,tI("type")]),td=function(){function t(){this.context=null,this.result=null}return t.prototype.reset=function(){this.context=null,this.result=null},t.prototype.pushAndGuess=function(t){if((0,tR.isBoolean)(this.result))return this.result;var e=t.text;if(this.context){var n=this.context.tryNext(e);if(!(null==n?void 0:n.next))return this.result=!0,!0;this.context=n}else if(this.initContext(e))return this.result=!0,!0;return!1},t.prototype.initContext=function(t){var e=[tp,tO,th,tL,tC,tf,t_].find(function(e){return e.match(t)});return this.context=e,!!e&&!(null==e?void 0:e.next)},t}(),tD=(o=function(t,e){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),tM=tI("begin").link("end");tI("begin").link(tI("end").link(";"));var tP=tI("declare").link(tM),ty=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return tD(e,t),e.prototype.match=function(t){if(["BEGIN","LANGUAGE"].includes(null==t?void 0:t.toUpperCase())){switch(t.toUpperCase()){case"BEGIN":this.current="BEGIN",this.next=[tI("end").link(";")];break;case"LANGUAGE":this.current="LANGUAGE",this.next=[tI(";")];break;default:return!1}return!0}return!1},e}(tA),tg=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return tD(e,t),e.prototype.match=function(t){return!!["BODY","IS","AS"].includes(null==t?void 0:t.toUpperCase())&&("BODY"===t.toUpperCase()?(this.current="BODY",this.next=[new tU("PkgOptionBegin")]):(this.current=t.toUpperCase(),this.next=[tI("end").link(";")]),!0)},e}(tA),tU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return tD(e,t),e.prototype.match=function(t){return!!["BEGIN","END"].includes(null==t?void 0:t.toUpperCase())&&("BEGIN"===t.toUpperCase()?(this.current="BEGIN",this.next=[tI("end").link(";")]):(this.current=t.toUpperCase(),this.next=[tI(";")]),!0)},e}(tA),tv=tI(tI("function").link(tI(["as","is"]))).link(new ty("AsOrIsContext")),tm=tI(tI("procedure").link(tI(["as","is"]))).link(new ty("AsOrIsContext")),tx=tI("package").link(new tg("PkgHeadOrBodyContext")),tF=tI(tI("type").link("body")).link(tI("end").link(";")),tG=tI("loop").link("end").link("loop"),tB=tI("if").link(tI("end").link("if")),tH=tI("case").link(tI("end").link("case")),tY=function(){function t(){this.stack=[]}return t.prototype.reset=function(){this.stack=[]},t.prototype.isEmpty=function(){return!this.stack.length||1===this.stack.length&&this.stack[0].isPreMatch()},t.prototype.getCurrentContext=function(){return this.stack[this.stack.length-1]},t.prototype.getPrevContext=function(){return this.stack[this.stack.length-2]},t.prototype.setCurrentContext=function(t,e){e?this.stack[this.stack.length-1]=t:this.stack.push(t)},t.prototype.push=function(t){var e,n=this.getCurrentContext(),r=this.getPrevContext();if(n){var i=n.tryNext(t);if(i!==n){i.next?this.setCurrentContext(i,!0):this.stack.pop();return}if(n.isPreMatch()&&r){var o=r.tryNext(t);if(o!==r){this.stack.pop(),this.setCurrentContext(o,!0);return}}}for(var E=0,s=[tM,tP,tv,tm,tx,tF,tG,tB,tH];E0;i--){var o=t[i];if(0===o.channel&&(r=o.text+r).length>=e.length)return r.endsWith(e)}return!1},t.prototype.convertTokens=function(t){return(null==t?void 0:t.map(function(t){return{text:t.text,type:t.type,start:t.start,stop:t.stop,channel:t.channel}}))||[]},t.prototype.split=function(){var t=[];this.getTokens(),this.tokens.fill();for(var e=this.tokens.tokens,n=new tl(e,this.delimiter),r=new tS(n.filterTokens),i=new td,o=new tY,E=[],s=!1,a=this.delimiter;!r.isEnd();){var T=r.nextToken();if(E.push(T),a=n.getContextDelimiter(T),o.push(T.text),s||(s=i.pushAndGuess(T)),s&&";"===a&&(a=o.isEmpty()?"/":"NOT_MATCH_ALL_DELIMITER"),this.isMatchDelimiter(E,a)){var u=E[E.length-1].stop-a.length,S=this.tokensToString(E);t.push({text:S.substring(0,S.length-a.length),range:{begin:E[0].start,end:u},startLineNumber:E[0].line,startColumn:E[0].column,endLineNumber:E[E.length-1].line,endColumn:E[E.length-1].column-a.length,delimiter:a,tokens:this.convertTokens(E),isPL:s}),i.reset(),o.reset(),E=[],s=!1}else if(n.isDelimiterToken(e[T.tokenIndex+1])){var u=E[E.length-1].stop,S=this.tokensToString(E);t.push({text:S,range:{begin:E[0].start,end:u},startLineNumber:E[0].line,startColumn:E[0].column,endLineNumber:E[E.length-1].line,endColumn:E[E.length-1].column,delimiter:"",tokens:this.convertTokens(E),isPL:s}),i.reset(),o.reset(),E=[],s=!1}}if(E.length){var u=E[E.length-1].stop,S=this.tokensToString(E);S.replace(/\s/g,"")&&t.push({text:S,range:{begin:E[0].start,end:u},startLineNumber:E[0].line,startColumn:E[0].column,endLineNumber:E[E.length-1].line,endColumn:E[E.length-1].column,delimiter:"",tokens:this.convertTokens(E),isPL:s})}var c=n.getDelimiterStatements();return t.concat(c).filter(Boolean).sort(function(t,e){return t.range.begin-e.range.begin})},t.prototype.tokensToString=function(t){return t.map(function(t){return t.type===to.Token.EOF?"":t.text}).join("")},t.prototype.getTokens=function(){var t=this.input;if(!this.tokens){var e=new tu(t),n=new this.CustomLexer(e),r=new ta;n.addErrorListener(r);var i=new to.CommonTokenStream(n);this.tokens=i,this.tokens.errorListener=r}},t}();(0,tr.initParser)(ti.Parser.prototype,new Set([]));var tW=function(){function t(){}return t.prototype.split=function(t,e){return new tV(t,e).split()},t.prototype.parse=function(t,e,n){return ti.parse(t,e,n)},t.prototype.getFormatText=function(t){return tn(t,!0)},t}(),tb=n(48522),tK=n(96404),tX=n(9360),tw=n.n(tX);(0,tK.initParser)(tb.Parser.prototype,new Set([1844,1843])),(0,tK.initParser)(tw().Parser.prototype,new Set([557,556]));var tQ=function(){function t(t){this.isPL=!1,this.isPL=t}return t.prototype.split=function(t,e){return new tV(t,e).split()},t.prototype.parse=function(t,e,n){return this.isPL?tw().parse(t,e,n):tb.parse(t,e,n)},t.prototype.getFormatText=function(t){return tn(t,!1)},t}(),tj=n(22634),tZ=n(85729);(0,tj.initParser)(tZ.Parser.prototype,new Set([1892,1890,1891]));var tJ=function(){function t(){}return t.prototype.split=function(t,e){return new tV(t,e).split()},t.prototype.parse=function(t,e,n){return tZ.parse(t,e,n)},t.prototype.getFormatText=function(t){return tn(t,!0)},t}(),tq={type:s.Oracle,delimiter:";"},tz=function(){function t(t){this.type=s.Oracle,this.delimiter=";",t=Object.assign({},tq,t),this.text=t.text||"",this.type=t.type,this.delimiter=t.delimiter||";";var e=this.getParserClass();this.parser=new e(!1),this.split()}return t.prototype.split=function(){var t=this,e=this.parser.split(this.text,this.delimiter);this.statements=null==e?void 0:e.map(function(e){var n=t.getParserClass();return new R({text:e.text,start:e.range.begin,stop:e.range.end,startLineNumber:e.startLineNumber,startColumn:e.startColumn,endLineNumber:e.endLineNumber,endColumn:e.endColumn,parser:new n(!!e.isPL),isPL:!!e.isPL,isDelimiterStmt:!!e.isDelimiter,delimiter:e.delimiter,tokens:e.tokens})})},t.prototype.getParserClass=function(){switch(this.type){case s.MySQL:return tW;case s.Oracle:return tQ;case s.OBMySQL:return tJ}},t.prototype.getFormatText=function(){return this.statements.map(function(t){return t.getFormatText()+(t.isDelimiter?"":t.delimiter)}).join("\n")},t}(),t$={format:function(t){if(!t)return null;var e=t.sql,n=t.type,r=t.delimiter;return new tz({text:e,type:n,delimiter:r}).getFormatText()}}},3253:function(t){t.exports={ADD:"ADD",ALL:"ALL",ALTER:"ALTER",ALWAYS:"ALWAYS",ANALYZE:"ANALYZE",AND:"AND",AS:"AS",ASC:"ASC",BEFORE:"BEFORE",BETWEEN:"BETWEEN",BOTH:"BOTH",BY:"BY",CALL:"CALL",CASCADE:"CASCADE",CASE:"CASE",CAST:"CAST",CHANGE:"CHANGE",CHARACTER:"CHARACTER",CHECK:"CHECK",COLLATE:"COLLATE",COLUMN:"COLUMN",CONDITION:"CONDITION",CONSTRAINT:"CONSTRAINT",CONTINUE:"CONTINUE",CONVERT:"CONVERT",CREATE:"CREATE",CROSS:"CROSS",CURRENT:"CURRENT",CURRENT_USER:"CURRENT_USER",CURSOR:"CURSOR",DATABASE:"DATABASE",DATABASES:"DATABASES",DECLARE:"DECLARE",DEFAULT:"DEFAULT",DELAYED:"DELAYED",DELETE:"DELETE",DESC:"DESC",DESCRIBE:"DESCRIBE",DETERMINISTIC:"DETERMINISTIC",DIAGNOSTICS:"DIAGNOSTICS",DISTINCT:"DISTINCT",DISTINCTROW:"DISTINCTROW",DROP:"DROP",EACH:"EACH",ELSE:"ELSE",ELSEIF:"ELSEIF",ENCLOSED:"ENCLOSED",ESCAPED:"ESCAPED",EXISTS:"EXISTS",EXIT:"EXIT",EXPLAIN:"EXPLAIN",FALSE:"FALSE",FETCH:"FETCH",FOR:"FOR",FORCE:"FORCE",FOREIGN:"FOREIGN",FROM:"FROM",FULLTEXT:"FULLTEXT",GENERATED:"GENERATED",GET:"GET",GRANT:"GRANT",GROUP:"GROUP",HAVING:"HAVING",HIGH_PRIORITY:"HIGH_PRIORITY",IF:"IF",IGNORE:"IGNORE",IN:"IN",INDEX:"INDEX",INFILE:"INFILE",INNER:"INNER",INOUT:"INOUT",INSERT:"INSERT",INTERVAL:"INTERVAL",INTO:"INTO",IS:"IS",ITERATE:"ITERATE",JOIN:"JOIN",KEY:"KEY",KEYS:"KEYS",KILL:"KILL",LEADING:"LEADING",LEAVE:"LEAVE",LEFT:"LEFT",LIKE:"LIKE",LIMIT:"LIMIT",LINEAR:"LINEAR",LINES:"LINES",LOAD:"LOAD",LOCK:"LOCK",LOOP:"LOOP",LOW_PRIORITY:"LOW_PRIORITY",MASTER_BIND:"MASTER_BIND",MASTER_SSL_VERIFY_SERVER_CERT:"MASTER_SSL_VERIFY_SERVER_CERT",MATCH:"MATCH",MAXVALUE:"MAXVALUE",MODIFIES:"MODIFIES",NATURAL:"NATURAL",NOT:"NOT",NO_WRITE_TO_BINLOG:"NO_WRITE_TO_BINLOG",NULL:"NULL_LITERAL",NUMBER:"NUMBER",ON:"ON",OPTIMIZE:"OPTIMIZE",OPTION:"OPTION",OPTIONALLY:"OPTIONALLY",OR:"OR",ORDER:"ORDER",OUT:"OUT",OUTER:"OUTER",OUTFILE:"OUTFILE",PARTITION:"PARTITION",PRIMARY:"PRIMARY",PROCEDURE:"PROCEDURE",PURGE:"PURGE",RANGE:"RANGE",READ:"READ",READS:"READS",REFERENCES:"REFERENCES",REGEXP:"REGEXP",RELEASE:"RELEASE",RENAME:"RENAME",REPEAT:"REPEAT",REPLACE:"REPLACE",REQUIRE:"REQUIRE",RESIGNAL:"RESIGNAL",RESTRICT:"RESTRICT",RETURN:"RETURN",REVOKE:"REVOKE",RIGHT:"RIGHT",RLIKE:"RLIKE",SCHEMA:"SCHEMA",SCHEMAS:"SCHEMAS",SELECT:"SELECT",SET:"SET",SEPARATOR:"SEPARATOR",SHOW:"SHOW",SIGNAL:"SIGNAL",SPATIAL:"SPATIAL",SQL:"SQL",SQLEXCEPTION:"SQLEXCEPTION",SQLSTATE:"SQLSTATE",SQLWARNING:"SQLWARNING",SQL_BIG_RESULT:"SQL_BIG_RESULT",SQL_CALC_FOUND_ROWS:"SQL_CALC_FOUND_ROWS",SQL_SMALL_RESULT:"SQL_SMALL_RESULT",SSL:"SSL",STACKED:"STACKED",STARTING:"STARTING",STRAIGHT_JOIN:"STRAIGHT_JOIN",TABLE:"TABLE",TERMINATED:"TERMINATED",THEN:"THEN",TO:"TO",TRAILING:"TRAILING",TRIGGER:"TRIGGER",TRUE:"TRUE",UNDO:"UNDO",UNION:"UNION",UNIQUE:"UNIQUE",UNLOCK:"UNLOCK",UNSIGNED:"UNSIGNED",UPDATE:"UPDATE",USAGE:"USAGE",USE:"USE",USING:"USING",VALUES:"VALUES",WHEN:"WHEN",WHERE:"WHERE",WHILE:"WHILE",WITH:"WITH",WRITE:"WRITE",XOR:"XOR",ZEROFILL:"ZEROFILL",TINYINT:"TINYINT",SMALLINT:"SMALLINT",MEDIUMINT:"MEDIUMINT",MIDDLEINT:"MIDDLEINT",INT:"INT",INT1:"INT1",INT2:"INT2",INT3:"INT3",INT4:"INT4",INT8:"INT8",INTEGER:"INTEGER",BIGINT:"BIGINT",REAL:"REAL",DOUBLE:"DOUBLE",PRECISION:"PRECISION",FLOAT:"FLOAT",FLOAT4:"FLOAT4",FLOAT8:"FLOAT8",DECIMAL:"DECIMAL",DEC:"DEC",NUMERIC:"NUMERIC",DATE:"DATE",TIME:"TIME",TIMESTAMP:"TIMESTAMP",DATETIME:"DATETIME",YEAR:"YEAR",CHAR:"CHAR",VARCHAR:"VARCHAR",NVARCHAR:"NVARCHAR",NATIONAL:"NATIONAL",BINARY:"BINARY",VARBINARY:"VARBINARY",TINYBLOB:"TINYBLOB",BLOB:"BLOB",MEDIUMBLOB:"MEDIUMBLOB",LONG:"LONG",LONGBLOB:"LONGBLOB",TINYTEXT:"TINYTEXT",TEXT:"TEXT",MEDIUMTEXT:"MEDIUMTEXT",LONGTEXT:"LONGTEXT",ENUM:"ENUM",VARYING:"VARYING",SERIAL:"SERIAL",YEAR_MONTH:"YEAR_MONTH",DAY_HOUR:"DAY_HOUR",DAY_MINUTE:"DAY_MINUTE",DAY_SECOND:"DAY_SECOND",HOUR_MINUTE:"HOUR_MINUTE",HOUR_SECOND:"HOUR_SECOND",MINUTE_SECOND:"MINUTE_SECOND",SECOND_MICROSECOND:"SECOND_MICROSECOND",MINUTE_MICROSECOND:"MINUTE_MICROSECOND",HOUR_MICROSECOND:"HOUR_MICROSECOND",DAY_MICROSECOND:"DAY_MICROSECOND",JSON_VALID:"JSON_VALID",JSON_SCHEMA_VALID:"JSON_SCHEMA_VALID",AVG:"AVG",BIT_AND:"BIT_AND",BIT_OR:"BIT_OR",BIT_XOR:"BIT_XOR",COUNT:"COUNT",GROUP_CONCAT:"GROUP_CONCAT",MAX:"MAX",MIN:"MIN",STD:"STD",STDDEV:"STDDEV",STDDEV_POP:"STDDEV_POP",STDDEV_SAMP:"STDDEV_SAMP",SUM:"SUM",VAR_POP:"VAR_POP",VAR_SAMP:"VAR_SAMP",VARIANCE:"VARIANCE",CURRENT_DATE:"CURRENT_DATE",CURRENT_TIME:"CURRENT_TIME",CURRENT_TIMESTAMP:"CURRENT_TIMESTAMP",LOCALTIME:"LOCALTIME",CURDATE:"CURDATE",CURTIME:"CURTIME",DATE_ADD:"DATE_ADD",DATE_SUB:"DATE_SUB",EXTRACT:"EXTRACT",LOCALTIMESTAMP:"LOCALTIMESTAMP",NOW:"NOW",POSITION:"POSITION",SUBSTR:"SUBSTR",SUBSTRING:"SUBSTRING",SYSDATE:"SYSDATE",TRIM:"TRIM",UTC_DATE:"UTC_DATE",UTC_TIME:"UTC_TIME",UTC_TIMESTAMP:"UTC_TIMESTAMP",ACCOUNT:"ACCOUNT",ACTION:"ACTION",AFTER:"AFTER",AGGREGATE:"AGGREGATE",ALGORITHM:"ALGORITHM",ANY:"ANY",AT:"AT",AUTHORS:"AUTHORS",AUTOCOMMIT:"AUTOCOMMIT",AUTOEXTEND_SIZE:"AUTOEXTEND_SIZE",AUTO_INCREMENT:"AUTO_INCREMENT",AVG_ROW_LENGTH:"AVG_ROW_LENGTH",BEGIN:"BEGIN",BINLOG:"BINLOG",BIT:"BIT",BLOCK:"BLOCK",BOOL:"BOOL",BOOLEAN:"BOOLEAN",BTREE:"BTREE",CACHE:"CACHE",CASCADED:"CASCADED",CHAIN:"CHAIN",CHANGED:"CHANGED",CHANNEL:"CHANNEL",CHECKSUM:"CHECKSUM",PAGE_CHECKSUM:"PAGE_CHECKSUM",CIPHER:"CIPHER",CLASS_ORIGIN:"CLASS_ORIGIN",CLIENT:"CLIENT",CLOSE:"CLOSE",COALESCE:"COALESCE",CODE:"CODE",COLUMNS:"COLUMNS",COLUMN_FORMAT:"COLUMN_FORMAT",COLUMN_NAME:"COLUMN_NAME",COMMENT:"COMMENT",COMMIT:"COMMIT",COMPACT:"COMPACT",COMPLETION:"COMPLETION",COMPRESSED:"COMPRESSED",COMPRESSION:"COMPRESSION",CONCURRENT:"CONCURRENT",CONNECTION:"CONNECTION",CONSISTENT:"CONSISTENT",CONSTRAINT_CATALOG:"CONSTRAINT_CATALOG",CONSTRAINT_SCHEMA:"CONSTRAINT_SCHEMA",CONSTRAINT_NAME:"CONSTRAINT_NAME",CONTAINS:"CONTAINS",CONTEXT:"CONTEXT",CONTRIBUTORS:"CONTRIBUTORS",COPY:"COPY",CPU:"CPU",CURSOR_NAME:"CURSOR_NAME",DATA:"DATA",DATAFILE:"DATAFILE",DEALLOCATE:"DEALLOCATE",DEFAULT_AUTH:"DEFAULT_AUTH",DEFINER:"DEFINER",DELAY_KEY_WRITE:"DELAY_KEY_WRITE",DES_KEY_FILE:"DES_KEY_FILE",DIRECTORY:"DIRECTORY",DISABLE:"DISABLE",DISCARD:"DISCARD",DISK:"DISK",DO:"DO",DUMPFILE:"DUMPFILE",DUPLICATE:"DUPLICATE",DYNAMIC:"DYNAMIC",ENABLE:"ENABLE",ENCRYPTION:"ENCRYPTION",END:"END",ENDS:"ENDS",ENGINE:"ENGINE",ENGINES:"ENGINES",ERROR:"ERROR",ERRORS:"ERRORS",ESCAPE:"ESCAPE",EVEN:"EVEN",EVENT:"EVENT",EVENTS:"EVENTS",EVERY:"EVERY",EXCHANGE:"EXCHANGE",EXCLUSIVE:"EXCLUSIVE",EXPIRE:"EXPIRE",EXPORT:"EXPORT",EXTENDED:"EXTENDED",EXTENT_SIZE:"EXTENT_SIZE",FAST:"FAST",FAULTS:"FAULTS",FIELDS:"FIELDS",FILE_BLOCK_SIZE:"FILE_BLOCK_SIZE",FILTER:"FILTER",FIRST:"FIRST",FIXED:"FIXED",FLUSH:"FLUSH",FOLLOWS:"FOLLOWS",FOUND:"FOUND",FULL:"FULL",FUNCTION:"FUNCTION",GENERAL:"GENERAL",GLOBAL:"GLOBAL",GRANTS:"GRANTS",GROUP_REPLICATION:"GROUP_REPLICATION",HANDLER:"HANDLER",HASH:"HASH",HELP:"HELP",HOST:"HOST",HOSTS:"HOSTS",IDENTIFIED:"IDENTIFIED",IGNORE_SERVER_IDS:"IGNORE_SERVER_IDS",IMPORT:"IMPORT",INDEXES:"INDEXES",INITIAL_SIZE:"INITIAL_SIZE",INPLACE:"INPLACE",INSERT_METHOD:"INSERT_METHOD",INSTALL:"INSTALL",INSTANCE:"INSTANCE",INVISIBLE:"INVISIBLE",INVOKER:"INVOKER",IO:"IO",IO_THREAD:"IO_THREAD",IPC:"IPC",ISOLATION:"ISOLATION",ISSUER:"ISSUER",JSON:"JSON",KEY_BLOCK_SIZE:"KEY_BLOCK_SIZE",LANGUAGE:"LANGUAGE",LAST:"LAST",LEAVES:"LEAVES",LESS:"LESS",LEVEL:"LEVEL",LIST:"LIST",LOCAL:"LOCAL",LOGFILE:"LOGFILE",LOGS:"LOGS",MASTER:"MASTER",MASTER_AUTO_POSITION:"MASTER_AUTO_POSITION",MASTER_CONNECT_RETRY:"MASTER_CONNECT_RETRY",MASTER_DELAY:"MASTER_DELAY",MASTER_HEARTBEAT_PERIOD:"MASTER_HEARTBEAT_PERIOD",MASTER_HOST:"MASTER_HOST",MASTER_LOG_FILE:"MASTER_LOG_FILE",MASTER_LOG_POS:"MASTER_LOG_POS",MASTER_PASSWORD:"MASTER_PASSWORD",MASTER_PORT:"MASTER_PORT",MASTER_RETRY_COUNT:"MASTER_RETRY_COUNT",MASTER_SSL:"MASTER_SSL",MASTER_SSL_CA:"MASTER_SSL_CA",MASTER_SSL_CAPATH:"MASTER_SSL_CAPATH",MASTER_SSL_CERT:"MASTER_SSL_CERT",MASTER_SSL_CIPHER:"MASTER_SSL_CIPHER",MASTER_SSL_CRL:"MASTER_SSL_CRL",MASTER_SSL_CRLPATH:"MASTER_SSL_CRLPATH",MASTER_SSL_KEY:"MASTER_SSL_KEY",MASTER_TLS_VERSION:"MASTER_TLS_VERSION",MASTER_USER:"MASTER_USER",MAX_CONNECTIONS_PER_HOUR:"MAX_CONNECTIONS_PER_HOUR",MAX_QUERIES_PER_HOUR:"MAX_QUERIES_PER_HOUR",MAX_ROWS:"MAX_ROWS",MAX_SIZE:"MAX_SIZE",MAX_UPDATES_PER_HOUR:"MAX_UPDATES_PER_HOUR",MAX_USER_CONNECTIONS:"MAX_USER_CONNECTIONS",MEDIUM:"MEDIUM",MEMBER:"MEMBER",MERGE:"MERGE",MESSAGE_TEXT:"MESSAGE_TEXT",MID:"MID",MIGRATE:"MIGRATE",MIN_ROWS:"MIN_ROWS",MODE:"MODE",MODIFY:"MODIFY",MUTEX:"MUTEX",MYSQL:"MYSQL",MYSQL_ERRNO:"MYSQL_ERRNO",NAME:"NAME",NAMES:"NAMES",NCHAR:"NCHAR",NEVER:"NEVER",NEXT:"NEXT",NO:"NO",NODEGROUP:"NODEGROUP",NONE:"NONE",OFFLINE:"OFFLINE",OFFSET:"OFFSET",OF:"OF",OJ:"OJ",OLD_PASSWORD:"OLD_PASSWORD",ONE:"ONE",ONLINE:"ONLINE",ONLY:"ONLY",OPEN:"OPEN",OPTIMIZER_COSTS:"OPTIMIZER_COSTS",OPTIONS:"OPTIONS",OWNER:"OWNER",PACK_KEYS:"PACK_KEYS",PAGE:"PAGE",PARSER:"PARSER",PARTIAL:"PARTIAL",PARTITIONING:"PARTITIONING",PARTITIONS:"PARTITIONS",PASSWORD:"PASSWORD",PHASE:"PHASE",PLUGIN:"PLUGIN",PLUGIN_DIR:"PLUGIN_DIR",PLUGINS:"PLUGINS",PORT:"PORT",PRECEDES:"PRECEDES",PREPARE:"PREPARE",PRESERVE:"PRESERVE",PREV:"PREV",PROCESSLIST:"PROCESSLIST",PROFILE:"PROFILE",PROFILES:"PROFILES",PROXY:"PROXY",QUERY:"QUERY",QUICK:"QUICK",REBUILD:"REBUILD",RECOVER:"RECOVER",REDO_BUFFER_SIZE:"REDO_BUFFER_SIZE",REDUNDANT:"REDUNDANT",RELAY:"RELAY",RELAY_LOG_FILE:"RELAY_LOG_FILE",RELAY_LOG_POS:"RELAY_LOG_POS",RELAYLOG:"RELAYLOG",REMOVE:"REMOVE",REORGANIZE:"REORGANIZE",REPAIR:"REPAIR",REPLICATE_DO_DB:"REPLICATE_DO_DB",REPLICATE_DO_TABLE:"REPLICATE_DO_TABLE",REPLICATE_IGNORE_DB:"REPLICATE_IGNORE_DB",REPLICATE_IGNORE_TABLE:"REPLICATE_IGNORE_TABLE",REPLICATE_REWRITE_DB:"REPLICATE_REWRITE_DB",REPLICATE_WILD_DO_TABLE:"REPLICATE_WILD_DO_TABLE",REPLICATE_WILD_IGNORE_TABLE:"REPLICATE_WILD_IGNORE_TABLE",REPLICATION:"REPLICATION",RESET:"RESET",RESUME:"RESUME",RETURNED_SQLSTATE:"RETURNED_SQLSTATE",RETURNS:"RETURNS",ROLE:"ROLE",ROLLBACK:"ROLLBACK",ROLLUP:"ROLLUP",ROTATE:"ROTATE",ROW:"ROW",ROWS:"ROWS",ROW_FORMAT:"ROW_FORMAT",SAVEPOINT:"SAVEPOINT",SCHEDULE:"SCHEDULE",SECURITY:"SECURITY",SERVER:"SERVER",SESSION:"SESSION",SHARE:"SHARE",SHARED:"SHARED",SIGNED:"SIGNED",SIMPLE:"SIMPLE",SLAVE:"SLAVE",SLOW:"SLOW",SNAPSHOT:"SNAPSHOT",SOCKET:"SOCKET",SOME:"SOME",SONAME:"SONAME",SOUNDS:"SOUNDS",SOURCE:"SOURCE",SQL_AFTER_GTIDS:"SQL_AFTER_GTIDS",SQL_AFTER_MTS_GAPS:"SQL_AFTER_MTS_GAPS",SQL_BEFORE_GTIDS:"SQL_BEFORE_GTIDS",SQL_BUFFER_RESULT:"SQL_BUFFER_RESULT",SQL_CACHE:"SQL_CACHE",SQL_NO_CACHE:"SQL_NO_CACHE",SQL_THREAD:"SQL_THREAD",START:"START",STARTS:"STARTS",STATS_AUTO_RECALC:"STATS_AUTO_RECALC",STATS_PERSISTENT:"STATS_PERSISTENT",STATS_SAMPLE_PAGES:"STATS_SAMPLE_PAGES",STATUS:"STATUS",STOP:"STOP",STORAGE:"STORAGE",STORED:"STORED",STRING:"STRING",SUBCLASS_ORIGIN:"SUBCLASS_ORIGIN",SUBJECT:"SUBJECT",SUBPARTITION:"SUBPARTITION",SUBPARTITIONS:"SUBPARTITIONS",SUSPEND:"SUSPEND",SWAPS:"SWAPS",SWITCHES:"SWITCHES",TABLE_NAME:"TABLE_NAME",TABLESPACE:"TABLESPACE",TEMPORARY:"TEMPORARY",TEMPTABLE:"TEMPTABLE",THAN:"THAN",TRADITIONAL:"TRADITIONAL",TRANSACTION:"TRANSACTION",TRANSACTIONAL:"TRANSACTIONAL",TRIGGERS:"TRIGGERS",TRUNCATE:"TRUNCATE",UNDEFINED:"UNDEFINED",UNDOFILE:"UNDOFILE",UNDO_BUFFER_SIZE:"UNDO_BUFFER_SIZE",UNINSTALL:"UNINSTALL",UNKNOWN:"UNKNOWN",UNTIL:"UNTIL",UPGRADE:"UPGRADE",USER:"USER",USE_FRM:"USE_FRM",USER_RESOURCES:"USER_RESOURCES",VALIDATION:"VALIDATION",VALUE:"VALUE",VARIABLES:"VARIABLES",VIEW:"VIEW",VIRTUAL:"VIRTUAL",VISIBLE:"VISIBLE",WAIT:"WAIT",WARNINGS:"WARNINGS",WITHOUT:"WITHOUT",WORK:"WORK",WRAPPER:"WRAPPER",X509:"X509",XA:"XA",XML:"XML",EUR:"EUR",USA:"USA",JIS:"JIS",ISO:"ISO",INTERNAL:"INTERNAL",QUARTER:"QUARTER",MONTH:"MONTH",DAY:"DAY",HOUR:"HOUR",MINUTE:"MINUTE",WEEK:"WEEK",SECOND:"SECOND",MICROSECOND:"MICROSECOND",TABLES:"TABLES",ROUTINE:"ROUTINE",EXECUTE:"EXECUTE",FILE:"FILE",PROCESS:"PROCESS",RELOAD:"RELOAD",SHUTDOWN:"SHUTDOWN",SUPER:"SUPER",PRIVILEGES:"PRIVILEGES",APPLICATION_PASSWORD_ADMIN:"APPLICATION_PASSWORD_ADMIN",AUDIT_ADMIN:"AUDIT_ADMIN",BACKUP_ADMIN:"BACKUP_ADMIN",BINLOG_ADMIN:"BINLOG_ADMIN",BINLOG_ENCRYPTION_ADMIN:"BINLOG_ENCRYPTION_ADMIN",CLONE_ADMIN:"CLONE_ADMIN",CONNECTION_ADMIN:"CONNECTION_ADMIN",ENCRYPTION_KEY_ADMIN:"ENCRYPTION_KEY_ADMIN",FIREWALL_ADMIN:"FIREWALL_ADMIN",FIREWALL_USER:"FIREWALL_USER",GROUP_REPLICATION_ADMIN:"GROUP_REPLICATION_ADMIN",INNODB_REDO_LOG_ARCHIVE:"INNODB_REDO_LOG_ARCHIVE",NDB_STORED_USER:"NDB_STORED_USER",PERSIST_RO_VARIABLES_ADMIN:"PERSIST_RO_VARIABLES_ADMIN",REPLICATION_APPLIER:"REPLICATION_APPLIER",REPLICATION_SLAVE_ADMIN:"REPLICATION_SLAVE_ADMIN",RESOURCE_GROUP_ADMIN:"RESOURCE_GROUP_ADMIN",RESOURCE_GROUP_USER:"RESOURCE_GROUP_USER",ROLE_ADMIN:"ROLE_ADMIN",SET_USER_ID:"SET_USER_ID",SHOW_ROUTINE:"SHOW_ROUTINE",SYSTEM_VARIABLES_ADMIN:"SYSTEM_VARIABLES_ADMIN",TABLE_ENCRYPTION_ADMIN:"TABLE_ENCRYPTION_ADMIN",VERSION_TOKEN_ADMIN:"VERSION_TOKEN_ADMIN",XA_RECOVER_ADMIN:"XA_RECOVER_ADMIN",ARMSCII8:"ARMSCII8",ASCII:"ASCII",BIG5:"BIG5",CP1250:"CP1250",CP1251:"CP1251",CP1256:"CP1256",CP1257:"CP1257",CP850:"CP850",CP852:"CP852",CP866:"CP866",CP932:"CP932",DEC8:"DEC8",EUCJPMS:"EUCJPMS",EUCKR:"EUCKR",GB2312:"GB2312",GBK:"GBK",GEOSTD8:"GEOSTD8",GREEK:"GREEK",HEBREW:"HEBREW",HP8:"HP8",KEYBCS2:"KEYBCS2",KOI8R:"KOI8R",KOI8U:"KOI8U",LATIN1:"LATIN1",LATIN2:"LATIN2",LATIN5:"LATIN5",LATIN7:"LATIN7",MACCE:"MACCE",MACROMAN:"MACROMAN",SJIS:"SJIS",SWE7:"SWE7",TIS620:"TIS620",UCS2:"UCS2",UJIS:"UJIS",UTF16:"UTF16",UTF16LE:"UTF16LE",UTF32:"UTF32",UTF8:"UTF8",UTF8MB3:"UTF8MB3",UTF8MB4:"UTF8MB4",ARCHIVE:"ARCHIVE",BLACKHOLE:"BLACKHOLE",CSV:"CSV",FEDERATED:"FEDERATED",INNODB:"INNODB",MEMORY:"MEMORY",MRG_MYISAM:"MRG_MYISAM",MYISAM:"MYISAM",NDB:"NDB",NDBCLUSTER:"NDBCLUSTER",PERFORMANCE_SCHEMA:"PERFORMANCE_SCHEMA",TOKUDB:"TOKUDB",REPEATABLE:"REPEATABLE",COMMITTED:"COMMITTED",UNCOMMITTED:"UNCOMMITTED",SERIALIZABLE:"SERIALIZABLE",GEOMETRYCOLLECTION:"GEOMETRYCOLLECTION",GEOMCOLLECTION:"GEOMCOLLECTION",GEOMETRY:"GEOMETRY",LINESTRING:"LINESTRING",MULTILINESTRING:"MULTILINESTRING",MULTIPOINT:"MULTIPOINT",MULTIPOLYGON:"MULTIPOLYGON",POINT:"POINT",POLYGON:"POLYGON",ABS:"ABS",ACOS:"ACOS",ADDDATE:"ADDDATE",ADDTIME:"ADDTIME",AES_DECRYPT:"AES_DECRYPT",AES_ENCRYPT:"AES_ENCRYPT",AREA:"AREA",ASBINARY:"ASBINARY",ASIN:"ASIN",ASTEXT:"ASTEXT",ASWKB:"ASWKB",ASWKT:"ASWKT",ASYMMETRIC_DECRYPT:"ASYMMETRIC_DECRYPT",ASYMMETRIC_DERIVE:"ASYMMETRIC_DERIVE",ASYMMETRIC_ENCRYPT:"ASYMMETRIC_ENCRYPT",ASYMMETRIC_SIGN:"ASYMMETRIC_SIGN",ASYMMETRIC_VERIFY:"ASYMMETRIC_VERIFY",ATAN:"ATAN",ATAN2:"ATAN2",BENCHMARK:"BENCHMARK",BIN:"BIN",BIT_COUNT:"BIT_COUNT",BIT_LENGTH:"BIT_LENGTH",BUFFER:"BUFFER",CATALOG_NAME:"CATALOG_NAME",CEIL:"CEIL",CEILING:"CEILING",CENTROID:"CENTROID",CHARACTER_LENGTH:"CHARACTER_LENGTH",CHARSET:"CHARSET",CHAR_LENGTH:"CHAR_LENGTH",COERCIBILITY:"COERCIBILITY",COLLATION:"COLLATION",COMPRESS:"COMPRESS",CONCAT:"CONCAT",CONCAT_WS:"CONCAT_WS",CONNECTION_ID:"CONNECTION_ID",CONV:"CONV",CONVERT_TZ:"CONVERT_TZ",COS:"COS",COT:"COT",CRC32:"CRC32",CREATE_ASYMMETRIC_PRIV_KEY:"CREATE_ASYMMETRIC_PRIV_KEY",CREATE_ASYMMETRIC_PUB_KEY:"CREATE_ASYMMETRIC_PUB_KEY",CREATE_DH_PARAMETERS:"CREATE_DH_PARAMETERS",CREATE_DIGEST:"CREATE_DIGEST",CROSSES:"CROSSES",DATEDIFF:"DATEDIFF",DATE_FORMAT:"DATE_FORMAT",DAYNAME:"DAYNAME",DAYOFMONTH:"DAYOFMONTH",DAYOFWEEK:"DAYOFWEEK",DAYOFYEAR:"DAYOFYEAR",DECODE:"DECODE",DEGREES:"DEGREES",DES_DECRYPT:"DES_DECRYPT",DES_ENCRYPT:"DES_ENCRYPT",DIMENSION:"DIMENSION",DISJOINT:"DISJOINT",ELT:"ELT",ENCODE:"ENCODE",ENCRYPT:"ENCRYPT",ENDPOINT:"ENDPOINT",ENVELOPE:"ENVELOPE",EQUALS:"EQUALS",EXP:"EXP",EXPORT_SET:"EXPORT_SET",EXTERIORRING:"EXTERIORRING",EXTRACTVALUE:"EXTRACTVALUE",FIELD:"FIELD",FIND_IN_SET:"FIND_IN_SET",FLOOR:"FLOOR",FORMAT:"FORMAT",FOUND_ROWS:"FOUND_ROWS",FROM_BASE64:"FROM_BASE64",FROM_DAYS:"FROM_DAYS",FROM_UNIXTIME:"FROM_UNIXTIME",GEOMCOLLFROMTEXT:"GEOMCOLLFROMTEXT",GEOMCOLLFROMWKB:"GEOMCOLLFROMWKB",GEOMETRYCOLLECTIONFROMTEXT:"GEOMETRYCOLLECTIONFROMTEXT",GEOMETRYCOLLECTIONFROMWKB:"GEOMETRYCOLLECTIONFROMWKB",GEOMETRYFROMTEXT:"GEOMETRYFROMTEXT",GEOMETRYFROMWKB:"GEOMETRYFROMWKB",GEOMETRYN:"GEOMETRYN",GEOMETRYTYPE:"GEOMETRYTYPE",GEOMFROMTEXT:"GEOMFROMTEXT",GEOMFROMWKB:"GEOMFROMWKB",GET_FORMAT:"GET_FORMAT",GET_LOCK:"GET_LOCK",GLENGTH:"GLENGTH",GREATEST:"GREATEST",GTID_SUBSET:"GTID_SUBSET",GTID_SUBTRACT:"GTID_SUBTRACT",HEX:"HEX",IFNULL:"IFNULL",INET6_ATON:"INET6_ATON",INET6_NTOA:"INET6_NTOA",INET_ATON:"INET_ATON",INET_NTOA:"INET_NTOA",INSTR:"INSTR",INTERIORRINGN:"INTERIORRINGN",INTERSECTS:"INTERSECTS",ISCLOSED:"ISCLOSED",ISEMPTY:"ISEMPTY",ISNULL:"ISNULL",ISSIMPLE:"ISSIMPLE",IS_FREE_LOCK:"IS_FREE_LOCK",IS_IPV4:"IS_IPV4",IS_IPV4_COMPAT:"IS_IPV4_COMPAT",IS_IPV4_MAPPED:"IS_IPV4_MAPPED",IS_IPV6:"IS_IPV6",IS_USED_LOCK:"IS_USED_LOCK",LAST_INSERT_ID:"LAST_INSERT_ID",LCASE:"LCASE",LEAST:"LEAST",LENGTH:"LENGTH",LINEFROMTEXT:"LINEFROMTEXT",LINEFROMWKB:"LINEFROMWKB",LINESTRINGFROMTEXT:"LINESTRINGFROMTEXT",LINESTRINGFROMWKB:"LINESTRINGFROMWKB",LN:"LN",LOAD_FILE:"LOAD_FILE",LOCATE:"LOCATE",LOG:"LOG",LOG10:"LOG10",LOG2:"LOG2",LOWER:"LOWER",LPAD:"LPAD",LTRIM:"LTRIM",MAKEDATE:"MAKEDATE",MAKETIME:"MAKETIME",MAKE_SET:"MAKE_SET",MASTER_POS_WAIT:"MASTER_POS_WAIT",MBRCONTAINS:"MBRCONTAINS",MBRDISJOINT:"MBRDISJOINT",MBREQUAL:"MBREQUAL",MBRINTERSECTS:"MBRINTERSECTS",MBROVERLAPS:"MBROVERLAPS",MBRTOUCHES:"MBRTOUCHES",MBRWITHIN:"MBRWITHIN",MD5:"MD5",MLINEFROMTEXT:"MLINEFROMTEXT",MLINEFROMWKB:"MLINEFROMWKB",MONTHNAME:"MONTHNAME",MPOINTFROMTEXT:"MPOINTFROMTEXT",MPOINTFROMWKB:"MPOINTFROMWKB",MPOLYFROMTEXT:"MPOLYFROMTEXT",MPOLYFROMWKB:"MPOLYFROMWKB",MULTILINESTRINGFROMTEXT:"MULTILINESTRINGFROMTEXT",MULTILINESTRINGFROMWKB:"MULTILINESTRINGFROMWKB",MULTIPOINTFROMTEXT:"MULTIPOINTFROMTEXT",MULTIPOINTFROMWKB:"MULTIPOINTFROMWKB",MULTIPOLYGONFROMTEXT:"MULTIPOLYGONFROMTEXT",MULTIPOLYGONFROMWKB:"MULTIPOLYGONFROMWKB",NAME_CONST:"NAME_CONST",NULLIF:"NULLIF",NUMGEOMETRIES:"NUMGEOMETRIES",NUMINTERIORRINGS:"NUMINTERIORRINGS",NUMPOINTS:"NUMPOINTS",OCT:"OCT",OCTET_LENGTH:"OCTET_LENGTH",ORD:"ORD",OVERLAPS:"OVERLAPS",PERIOD_ADD:"PERIOD_ADD",PERIOD_DIFF:"PERIOD_DIFF",PI:"PI",POINTFROMTEXT:"POINTFROMTEXT",POINTFROMWKB:"POINTFROMWKB",POINTN:"POINTN",POLYFROMTEXT:"POLYFROMTEXT",POLYFROMWKB:"POLYFROMWKB",POLYGONFROMTEXT:"POLYGONFROMTEXT",POLYGONFROMWKB:"POLYGONFROMWKB",POW:"POW",POWER:"POWER",QUOTE:"QUOTE",RADIANS:"RADIANS",RAND:"RAND",RANDOM_BYTES:"RANDOM_BYTES",RELEASE_LOCK:"RELEASE_LOCK",REVERSE:"REVERSE",ROUND:"ROUND",ROW_COUNT:"ROW_COUNT",RPAD:"RPAD",RTRIM:"RTRIM",SEC_TO_TIME:"SEC_TO_TIME",SESSION_USER:"SESSION_USER",SHA:"SHA",SHA1:"SHA1",SHA2:"SHA2",SCHEMA_NAME:"SCHEMA_NAME",SIGN:"SIGN",SIN:"SIN",SLEEP:"SLEEP",SOUNDEX:"SOUNDEX",SQL_THREAD_WAIT_AFTER_GTIDS:"SQL_THREAD_WAIT_AFTER_GTIDS",SQRT:"SQRT",SRID:"SRID",STARTPOINT:"STARTPOINT",STRCMP:"STRCMP",STR_TO_DATE:"STR_TO_DATE",ST_AREA:"ST_AREA",ST_ASBINARY:"ST_ASBINARY",ST_ASTEXT:"ST_ASTEXT",ST_ASWKB:"ST_ASWKB",ST_ASWKT:"ST_ASWKT",ST_BUFFER:"ST_BUFFER",ST_CENTROID:"ST_CENTROID",ST_CONTAINS:"ST_CONTAINS",ST_CROSSES:"ST_CROSSES",ST_DIFFERENCE:"ST_DIFFERENCE",ST_DIMENSION:"ST_DIMENSION",ST_DISJOINT:"ST_DISJOINT",ST_DISTANCE:"ST_DISTANCE",ST_ENDPOINT:"ST_ENDPOINT",ST_ENVELOPE:"ST_ENVELOPE",ST_EQUALS:"ST_EQUALS",ST_EXTERIORRING:"ST_EXTERIORRING",ST_GEOMCOLLFROMTEXT:"ST_GEOMCOLLFROMTEXT",ST_GEOMCOLLFROMTXT:"ST_GEOMCOLLFROMTXT",ST_GEOMCOLLFROMWKB:"ST_GEOMCOLLFROMWKB",ST_GEOMETRYCOLLECTIONFROMTEXT:"ST_GEOMETRYCOLLECTIONFROMTEXT",ST_GEOMETRYCOLLECTIONFROMWKB:"ST_GEOMETRYCOLLECTIONFROMWKB",ST_GEOMETRYFROMTEXT:"ST_GEOMETRYFROMTEXT",ST_GEOMETRYFROMWKB:"ST_GEOMETRYFROMWKB",ST_GEOMETRYN:"ST_GEOMETRYN",ST_GEOMETRYTYPE:"ST_GEOMETRYTYPE",ST_GEOMFROMTEXT:"ST_GEOMFROMTEXT",ST_GEOMFROMWKB:"ST_GEOMFROMWKB",ST_INTERIORRINGN:"ST_INTERIORRINGN",ST_INTERSECTION:"ST_INTERSECTION",ST_INTERSECTS:"ST_INTERSECTS",ST_ISCLOSED:"ST_ISCLOSED",ST_ISEMPTY:"ST_ISEMPTY",ST_ISSIMPLE:"ST_ISSIMPLE",ST_LINEFROMTEXT:"ST_LINEFROMTEXT",ST_LINEFROMWKB:"ST_LINEFROMWKB",ST_LINESTRINGFROMTEXT:"ST_LINESTRINGFROMTEXT",ST_LINESTRINGFROMWKB:"ST_LINESTRINGFROMWKB",ST_NUMGEOMETRIES:"ST_NUMGEOMETRIES",ST_NUMINTERIORRING:"ST_NUMINTERIORRING",ST_NUMINTERIORRINGS:"ST_NUMINTERIORRINGS",ST_NUMPOINTS:"ST_NUMPOINTS",ST_OVERLAPS:"ST_OVERLAPS",ST_POINTFROMTEXT:"ST_POINTFROMTEXT",ST_POINTFROMWKB:"ST_POINTFROMWKB",ST_POINTN:"ST_POINTN",ST_POLYFROMTEXT:"ST_POLYFROMTEXT",ST_POLYFROMWKB:"ST_POLYFROMWKB",ST_POLYGONFROMTEXT:"ST_POLYGONFROMTEXT",ST_POLYGONFROMWKB:"ST_POLYGONFROMWKB",ST_SRID:"ST_SRID",ST_STARTPOINT:"ST_STARTPOINT",ST_SYMDIFFERENCE:"ST_SYMDIFFERENCE",ST_TOUCHES:"ST_TOUCHES",ST_UNION:"ST_UNION",ST_WITHIN:"ST_WITHIN",ST_X:"ST_X",ST_Y:"ST_Y",SUBDATE:"SUBDATE",SUBSTRING_INDEX:"SUBSTRING_INDEX",SUBTIME:"SUBTIME",SYSTEM_USER:"SYSTEM_USER",TAN:"TAN",TIMEDIFF:"TIMEDIFF",TIMESTAMPADD:"TIMESTAMPADD",TIMESTAMPDIFF:"TIMESTAMPDIFF",TIME_FORMAT:"TIME_FORMAT",TIME_TO_SEC:"TIME_TO_SEC",TOUCHES:"TOUCHES",TO_BASE64:"TO_BASE64",TO_DAYS:"TO_DAYS",TO_SECONDS:"TO_SECONDS",UCASE:"UCASE",UNCOMPRESS:"UNCOMPRESS",UNCOMPRESSED_LENGTH:"UNCOMPRESSED_LENGTH",UNHEX:"UNHEX",UNIX_TIMESTAMP:"UNIX_TIMESTAMP",UPDATEXML:"UPDATEXML",UPPER:"UPPER",UUID:"UUID",UUID_SHORT:"UUID_SHORT",VALIDATE_PASSWORD_STRENGTH:"VALIDATE_PASSWORD_STRENGTH",VERSION:"VERSION",WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS:"WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS",WEEKDAY:"WEEKDAY",WEEKOFYEAR:"WEEKOFYEAR",WEIGHT_STRING:"WEIGHT_STRING",WITHIN:"WITHIN",YEARWEEK:"YEARWEEK",Y:"Y_FUNCTION",X:"X_FUNCTION"}},95515:function(t){var e=this&&this.__spreadArray||function(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i=0;R--){var A=T[i-R],I=u[i-R],N=o[I];if(t.terminals_[I]){c.push(n(N,!0,(S=this.yy.input).substring.apply(S,T[i-R].range),A,null,this.yy));continue}var p=a[i-R];p&&c.push(p)}if(0===E||(null==c?void 0:c.length)==0){this.$=null;return}var O=T.slice(i-E+1,i+1).filter(Boolean),h=O[0];h||console.log(l,E);var L=O[O.length-1],C={first_line:h.first_line,last_line:L.last_line,first_column:h.first_column,last_column:L.last_column,range:[h.range[0],L.range[1]]};this.$=n(l,!1,null,C,c,this.yy),this._$=C}}}},23698:function(t){t.exports={ACCESS:"ACCESS",ACCESSIBLE:"ACCESSIBLE",ACCOUNT:"ACCOUNT",ACTION:"ACTION",ACTIVATE:"ACTIVATE",ACTIVE:"ACTIVE",ADD:"ADD",ADDDATE:"ADDDATE",AFTER:"AFTER",AGAINST:"AGAINST",AGGREGATE:"AGGREGATE",ALGORITHM:"ALGORITHM",ALL:"ALL",ALTER:"ALTER",ALWAYS:"ALWAYS",ANALYSE:"ANALYSE",ANALYZE:"ANALYZE",AND:"AND",ANY:"ANY",APPROX_COUNT_DISTINCT:"APPROX_COUNT_DISTINCT",APPROX_COUNT_DISTINCT_SYNOPSIS:"APPROX_COUNT_DISTINCT_SYNOPSIS",APPROX_COUNT_DISTINCT_SYNOPSIS_MERGE:"APPROX_COUNT_DISTINCT_SYNOPSIS_MERGE",ARBITRATION:"ARBITRATION",ARCHIVELOG:"ARCHIVELOG",AS:"AS",ASC:"ASC",ASENSITIVE:"ASENSITIVE",ASCII:"ASCII",AT:"AT",AUTHORS:"AUTHORS",AUTO:"AUTO",AUTO_INCREMENT:"AUTO_INCREMENT",AUTO_INCREMENT_MODE:"AUTO_INCREMENT_MODE",AUTOEXTEND_SIZE:"AUTOEXTEND_SIZE",AVAILABILITY:"AVAILABILITY",AVG:"AVG",AVG_ROW_LENGTH:"AVG_ROW_LENGTH",BACKUP:"BACKUP",BACKUPSET:"BACKUPSET",BALANCE:"BALANCE",BASE:"BASE",BASELINE:"BASELINE",BASELINE_ID:"BASELINE_ID",BASIC:"BASIC",BEFORE:"BEFORE",BEGIN:"BEGI",BETWEEN:"BETWEEN",BIGINT:"BIGINT",BINARY:"BINARY",BINLOG:"BINLOG",BIT:"BIT",BIT_AND:"BIT_AND",BIT_OR:"BIT_OR",BIT_XOR:"BIT_XOR",BLOB:"BLOB",BLOCK:"BLOCK",BLOCK_SIZE:"BLOCK_SIZE",BOOL:"BOOL",BOOLEAN:"BOOLEAN",BOOTSTRAP:"BOOTSTRAP",BOTH:"BOTH",BREADTH:"BREADTH",BTREE:"BTREE",BY:"BY",BYTE:"BYTE",BUCKETS:"BUCKETS",BACKUP_COPIES:"BACKUP_COPIES",BADFILE:"BADFILE",CACHE:"CACHE",CALIBRATION:"CALIBRATION",CALIBRATION_INFO:"CALIBRATION_INFO",CALL:"CALL",CALC_PARTITION_ID:"CALC_PARTITION_ID",CANCEL:"CANCEL",CASCADED:"CASCADED",CASCADE:"CASCADE",CASE:"CASE",CAST:"CAST",CATALOG_NAME:"CATALOG_NAME",CHAIN:"CHAIN",CHANGE:"CHANGE",CHANGED:"CHANGED",CHAR:"CHARACTER",CHARACTER:"CHARACTER",CHARSET:"CHARSET",CHECK:"CHECK",CHECKSUM:"CHECKSUM",CHECKPOINT:"CHECKPOINT",CHUNK:"CHUNK",CIPHER:"CIPHER",CLASS_ORIGIN:"CLASS_ORIGIN",CLEAN:"CLEAN",CLEAR:"CLEAR",CLIENT:"CLIENT",CLOSE:"CLOSE",CLUSTER:"CLUSTER",CLUSTER_NAME:"CLUSTER_NAME",CLUSTER_ID:"CLUSTER_ID",COALESCE:"COALESCE",CODE:"CODE",COLLATE:"COLLATE",COLLATION:"COLLATION",COLUMN_FORMAT:"COLUMN_FORMAT",COLUMN_NAME:"COLUMN_NAME",COLUMN:"COLUMN",COLUMNS:"COLUMNS",COMMENT:"COMMENT",COMMIT:"COMMIT",COMMITTED:"COMMITTED",COMPACT:"COMPACT",COMPLETION:"COMPLETION",COMPRESSED:"COMPRESSED",COMPRESSION:"COMPRESSION",COMPUTE:"COMPUTE",CONCURRENT:"CONCURRENT",CONDENSED:"CONDENSED",CONDITION:"CONDITION",CONNECTION:"CONNECTION",CONSISTENT:"CONSISTENT",CONSTRAINT:"CONSTRAINT",CONSTRAINT_CATALOG:"CONSTRAINT_CATALOG",CONSTRAINT_NAME:"CONSTRAINT_NAME",CONSTRAINT_SCHEMA:"CONSTRAINT_SCHEMA",CONTAINS:"CONTAINS",CONTEXT:"CONTEXT",CONTRIBUTORS:"CONTRIBUTORS",CONTINUE:"CONTINUE",CONVERT:"CONVERT",COPY:"COPY",COUNT:"COUNT",CPU:"CPU",CREATE:"CREATE",CREATE_TIMESTAMP:"CREATE_TIMESTAMP",CROSS:"CROSS",CTXCAT:"CTXCAT",CUBE:"CUBE",CUME_DIST:"CUME_DIST",CURDATE:"CURDATE",CURRENT:"CURRENT",CURRENT_DATE:"CURRENT_DATE",CURRENT_TIME:"CURRENT_TIME",CURRENT_TIMESTAMP:"CURRENT_TIMESTAMP",CURRENT_USER:"CURRENT_USER",CURSOR:"CURSOR",CURSOR_NAME:"CURSOR_NAME",CURTIME:"CURTIME",CTX_ID:"CTX_ID",CYCLE:"CYCLE",DAG:"DAG",DATA:"DATA",DATABASE_ID:"DATABASE_ID",DATAFILE:"DATAFILE",DATA_TABLE_ID:"DATA_TABLE_ID",DATABASE:"DATABASE",DATABASES:"DATABASES",DATE:"DATE",DATE_ADD:"DATE_ADD",DATE_SUB:"DATE_SUB",DATETIME:"DATETIME",DAY:"DAY",DAY_HOUR:"DAY_HOUR",DAY_MICROSECOND:"DAY_MICROSECOND",DAY_MINUTE:"DAY_MINUTE",DAY_SECOND:"DAY_SECOND",DEALLOCATE:"DEALLOCATE",DEC:"NUMBER",DECIMAL:"DECIMAL",DECLARE:"DECLARE",DECRYPTION:"DECRYPTION",DEFAULT:"DEFAULT",DEFAULT_AUTH:"DEFAULT_AUTH",DEFINER:"DEFINER",DELAY:"DELAY",DELAYED:"DELAYED",DELAY_KEY_WRITE:"DELAY_KEY_WRITE",DELETE:"DELETE",DEPTH:"DEPTH",DES_KEY_FILE:"DES_KEY_FILE",DESTINATION:"DESTINATION",DESC:"DESC",DESCRIBE:"DESCRIBE",DESCRIPTION:"DESCRIPTION",DETERMINISTIC:"DETERMINISTIC",DENSE_RANK:"DENSE_RANK",DIAGNOSTICS:"DIAGNOSTICS",DISCONNECT:"DISCONNECT",DIRECTORY:"DIRECTORY",DISABLE:"DISABLE",DISCARD:"DISCARD",DISK:"DISK",DISKGROUP:"DISKGROUP",DISTINCT:"DISTINCT",DISTINCTROW:"DISTINCT",DIV:"DIV",DO:"DO",DOUBLE:"DOUBLE",DROP:"DROP",DUAL:"DUAL",DUMP:"DUMP",DUMPFILE:"DUMPFILE",DUPLICATE:"DUPLICATE",DYNAMIC:"DYNAMIC",DEFAULT_TABLEGROUP:"DEFAULT_TABLEGROUP",EACH:"EACH",EFFECTIVE:"EFFECTIVE",EMPTY:"EMPTY",ELSE:"ELSE",ELSEIF:"ELSEIF",ENABLE:"ENABLE",ENABLE_ARBITRATION_SERVICE:"ENABLE_ARBITRATION_SERVICE",ENABLE_EXTENDED_ROWID:"ENABLE_EXTENDED_ROWID",ENCLOSED:"ENCLOSED",ENCRYPTION:"ENCRYPTION",END:"END",ENDS:"ENDS",ENFORCED:"ENFORCED",ENGINE:"ENGINE_",ENGINES:"ENGINES",ENUM:"ENUM",ENTITY:"ENTITY",ERROR:"ERROR_P",ERROR_CODE:"ERROR_CODE",ERRORS:"ERRORS",ESCAPE:"ESCAPE",ESCAPED:"ESCAPED",ESTIMATE:"ESTIMATE",EVENT:"EVENT",EVENTS:"EVENTS",EVERY:"EVERY",EXCEPT:"EXCEPT",EXCHANGE:"EXCHANGE",EXECUTE:"EXECUTE",EXISTS:"EXISTS",EXIT:"EXIT",EXPANSION:"EXPANSION",EXPLAIN:"EXPLAIN",EXPIRE:"EXPIRE",EXPIRED:"EXPIRED",EXPIRE_INFO:"EXPIRE_INFO",EXPORT:"EXPORT",EXTENDED:"EXTENDED",EXTENDED_NOADDR:"EXTENDED_NOADDR",EXTENT_SIZE:"EXTENT_SIZE",EXTRACT:"EXTRACT",FAILOVER:"FAILOVER",FAST:"FAST",FAULTS:"FAULTS",FETCH:"FETCH",FIELDS:"FIELDS",FILE:"FILEX",FILE_ID:"FILE_ID",FINAL_COUNT:"FINAL_COUNT",FIRST:"FIRST",FIRST_VALUE:"FIRST_VALUE",FIXED:"FIXED",FLASHBACK:"FLASHBACK",FLOAT:"FLOAT",FLOAT4:"FLOAT",FLOAT8:"DOUBLE",FLUSH:"FLUSH",FOLLOWER:"FOLLOWER",FOR:"FOR",FORCE:"FORCE",FOREIGN:"FOREIGN",FORMAT:"FORMAT",FOUND:"FOUND",FRAGMENTATION:"FRAGMENTATION",FREEZE:"FREEZE",FREQUENCY:"FREQUENCY",FROM:"FROM",FROZEN:"FROZEN",FULL:"FULL",FULLTEXT:"FULLTEXT",FUNCTION:"FUNCTION",FOLLOWING:"FOLLOWING",GENERAL:"GENERAL",GENERATED:"GENERATED",GEOMETRY:"GEOMETRY",GEOMCOLLECTION:"GEOMCOLLECTION",GEOMETRYCOLLECTION:"GEOMETRYCOLLECTION",GET:"GET",GET_FORMAT:"GET_FORMAT",GLOBAL:"GLOBAL",GLOBAL_NAME:"GLOBAL_NAME",GRANT:"GRANT",GRANTS:"GRANTS",GROUP:"GROUP",GROUPING:"GROUPING",GROUP_CONCAT:"GROUP_CONCAT",GTS:"GTS",HANDLER:"HANDLER",HAVING:"HAVING",HASH:"HASH",HELP:"HELP",HIGH_PRIORITY:"HIGH_PRIORITY",HISTOGRAM:"HISTOGRAM",HOST:"HOST",HOSTS:"HOSTS",HOUR:"HOUR",HOUR_MICROSECOND:"HOUR_MICROSECOND",HOUR_MINUTE:"HOUR_MINUTE",HOUR_SECOND:"HOUR_SECOND",HIDDEN:"HIDDEN",HYBRID_HIST:"HYBRID_HIST",ID:"ID",IDC:"IDC",IDENTIFIED:"IDENTIFIED",IF:"IF",IGNORE:"IGNORE",IGNORE_SERVER_IDS:"IGNORE_SERVER_IDS",IMPORT:"IMPORT",IN:"IN",INCR:"INCR",INCREMENT:"INCREMENT",INCREMENTAL:"INCREMENTAL",INDEX:"INDEX",INDEXES:"INDEXES",INDEX_TABLE_ID:"INDEX_TABLE_ID",INFILE:"INFILE",INFO:"INFO",INITIAL_SIZE:"INITIAL_SIZE",INNER:"INNER",INNODB:"INNODB",INOUT:"INOUT",INSENSITIVE:"INSENSITIVE",INSERT_METHOD:"INSERT_METHOD",INSTALL:"INSTALL",INSTANCE:"INSTANCE",INT:"INTEGER",INT1:"TINYINT",INT2:"SMALLINT",INT3:"MEDIUMINT",INT4:"INTEGER",INT8:"BIGINT",INSERT:"INSERT",INTEGER:"INTEGER",INTO:"INTO",INTERSECT:"INTERSECT",INVISIBLE:"INVISIBLE",INVOKER:"INVOKER",IO:"IO",IOPS_WEIGHT:"IOPS_WEIGHT",IO_AFTER_GTIDS:"IO_AFTER_GTIDS",IO_BEFORE_GTIDS:"IO_BEFORE_GTIDS",IO_THREAD:"IO_THREAD",IPC:"IPC",IS:"IS",ISSUER:"ISSUER",ISNULL:"ISNULL",ISOLATE:"ISOLATE",ISOLATION:"ISOLATION",ITERATE:"ITERATE",JOB:"JOB",JOIN:"JOIN",JSON:"JSON",JSON_ARRAYAGG:"JSON_ARRAYAGG",JSON_OBJECTAGG:"JSON_OBJECTAGG",JSON_VALUE:"JSON_VALUE",KEY:"KEY",KEYS:"KEYS",KEY_BLOCK_SIZE:"KEY_BLOCK_SIZE",KEY_VERSION:"KEY_VERSION",KILL:"KILL",KVCACHE:"KVCACHE",ILOGCACHE:"ILOGCACHE",INDEXED:"INDEXED",LAG:"LAG",LANGUAGE:"LANGUAGE",LAST:"LAST",LAST_VALUE:"LAST_VALUE",LEAD:"LEAD",LEADER:"LEADER",LEADING:"LEADING",LEAVE:"LEAVE",LEAVES:"LEAVES",LEAK:"LEAK",LEAK_MOD:"LEAK_MOD",LEAK_RATE:"LEAK_RATE",LEFT:"LEFT",LESS:"LESS",LEVEL:"LEVEL",LIB:"LIB",LIKE:"LIKE",LIMIT:"LIMIT",LINEAR:"LINEAR",LINES:"LINES",LINESTRING:"LINESTRING",LIST:"BISON_LIST",LISTAGG:"LISTAGG",LOAD:"LOAD",LN:"LN",LOCAL:"LOCAL",LOCALITY:"LOCALITY",LOCALTIME:"LOCALTIME",LOCALTIMESTAMP:"LOCALTIMESTAMP",LOCATION:"LOCATION",LOCK:"LOCK_",LOCKED:"LOCKED",LOCKS:"LOCKS",LOGFILE:"LOGFILE",LOGONLY_REPLICA_NUM:"LOGONLY_REPLICA_NUM",LOG:"LOG",LOGS:"LOGS",LONG:"MEDIUMTEXT",LONGBLOB:"LONGBLOB",LONGTEXT:"LONGTEXT",LOOP:"LOOP",LOW_PRIORITY:"LOW_PRIORITY",LS:"LS",MAJOR:"MAJOR",MANUAL:"MANUAL",MASTER:"MASTER",MASTER_BIND:"MASTER_BIND",MASTER_AUTO_POSITION:"MASTER_AUTO_POSITION",MASTER_CONNECT_RETRY:"MASTER_CONNECT_RETRY",MASTER_DELAY:"MASTER_DELAY",MASTER_HEARTBEAT_PERIOD:"MASTER_HEARTBEAT_PERIOD",MASTER_HOST:"MASTER_HOST",MASTER_LOG_FILE:"MASTER_LOG_FILE",MASTER_LOG_POS:"MASTER_LOG_POS",MASTER_PASSWORD:"MASTER_PASSWORD",MASTER_PORT:"MASTER_PORT",MASTER_RETRY_COUNT:"MASTER_RETRY_COUNT",MASTER_SERVER_ID:"MASTER_SERVER_ID",MASTER_SSL:"MASTER_SSL",MASTER_SSL_CA:"MASTER_SSL_CA",MASTER_SSL_CAPATH:"MASTER_SSL_CAPATH",MASTER_SSL_CERT:"MASTER_SSL_CERT",MASTER_SSL_CIPHER:"MASTER_SSL_CIPHER",MASTER_SSL_CRL:"MASTER_SSL_CRL",MASTER_SSL_CRLPATH:"MASTER_SSL_CRLPATH",MASTER_SSL_KEY:"MASTER_SSL_KEY",MASTER_SSL_VERIFY_SERVER_CERT:"MASTER_SSL_VERIFY_SERVER_CERT",MASTER_USER:"MASTER_USER",MATCH:"MATCH",MAX:"MAX",MAXVALUE:"MAXVALUE",MAXIMIZE:"MAXIMIZE",MAX_CONNECTIONS_PER_HOUR:"MAX_CONNECTIONS_PER_HOUR",MAX_CPU:"MAX_CPU",LOG_DISK_SIZE:"LOG_DISK_SIZE",MAX_IOPS:"MAX_IOPS",MEMORY_SIZE:"MEMORY_SIZE",MAX_QUERIES_PER_HOUR:"MAX_QUERIES_PER_HOUR",MAX_ROWS:"MAX_ROWS",MAX_SIZE:"MAX_SIZE",MAX_UPDATES_PER_HOUR:"MAX_UPDATES_PER_HOUR",MAX_USED_PART_ID:"MAX_USED_PART_ID",MAX_USER_CONNECTIONS:"MAX_USER_CONNECTIONS",MEDIUM:"MEDIUM",MEMBER:"MEMBER",MEDIUMBLOB:"MEDIUMBLOB",MEDIUMINT:"MEDIUMINT",MEDIUMTEXT:"MEDIUMTEXT",MEMORY:"MEMORY",MEMSTORE_PERCENT:"MEMSTORE_PERCENT",MEMTABLE:"MEMTABLE",MERGE:"MERGE",MESSAGE_TEXT:"MESSAGE_TEXT",META:"META",MICROSECOND:"MICROSECOND",MIDDLEINT:"MEDIUMINT",MIGRATE:"MIGRATE",MIGRATION:"MIGRATION",MIN:"MIN",MINVALUE:"MINVALUE",MIN_CPU:"MIN_CPU",MIN_IOPS:"MIN_IOPS",MIN_ROWS:"MIN_ROWS",MINOR:"MINOR",MINUTE:"MINUTE",MINUTE_MICROSECOND:"MINUTE_MICROSECOND",MINUTE_SECOND:"MINUTE_SECOND",MINUS:"MINUS",MOD:"MOD",MODE:"MODE",MODIFY:"MODIFY",MODIFIES:"MODIFIES",MONTH:"MONTH",MOVE:"MOVE",MULTILINESTRING:"MULTILINESTRING",MULTIPOINT:"MULTIPOINT",MULTIPOLYGON:"MULTIPOLYGON",MUTEX:"MUTEX",MYSQL_ERRNO:"MYSQL_ERRNO",NAME:"NAME",NAMES:"NAMES",NAMESPACE:"NAMESPACE",NATIONAL:"NATIONAL",NATURAL:"NATURAL",NCHAR:"NCHAR",NDB:"NDB",NDBCLUSTER:"NDBCLUSTER",NEW:"NEW",NEXT:"NEXT",NO:"NO",NOT:"NOT",NO_WRITE_TO_BINLOG:"NO_WRITE_TO_BINLOG",NOARCHIVELOG:"NOARCHIVELOG",NOAUDIT:"NOAUDIT",NOCACHE:"NOCACHE",NOCYCLE:"NOCYCLE",NOMAXVALUE:"NOMAXVALUE",NOMINVALUE:"NOMINVALUE",NOORDER:"NOORDER",NO_PARALLEL:"NO_PARALLEL",NO_REWRITE:"NO_REWRITE",NO_WAIT:"NO_WAIT",NODEGROUP:"NODEGROUP",NONE:"NONE",NOPARALLEL:"NOPARALLEL",NORMAL:"NORMAL",NOW:"NOW",NOWAIT:"NOWAIT",NULLS:"NULLS",NUMERIC:"DECIMAL",NUMBER:"NUMBER",NVARCHAR:"NVARCHAR",OCCUR:"OCCUR",NTILE:"NTILE",NTH_VALUE:"NTH_VALUE",OBCONFIG_URL:"OBCONFIG_URL",OF:"OF",OFF:"OFF",OFFSET:"OFFSET",OLD:"OLD",OLD_KEY:"OLD_KEY",OJ:"OJ",OVER:"OVER",OLD_PASSWORD:"OLD_PASSWORD",ON:"ON",ONE:"ONE",ONE_SHOT:"ONE_SHOT",ONLY:"ONLY",OPEN:"OPEN",OPTIMIZE:"OPTIMIZE",OPTION:"OPTION",OPTIONALLY:"OPTIONALLY",OPTIONS:"OPTIONS",OR:"OR",ORDER:"ORDER",ORIG_DEFAULT:"ORIG_DEFAULT",OUT:"OUT",OUTER:"OUTER",OUTFILE:"OUTFILE",OUTLINE:"OUTLINE",OWNER:"OWNER",PACK_KEYS:"PACK_KEYS",PAGE:"PAGE",PARAMETERS:"PARAMETERS",PARALLEL:"PARALLEL",PARSER:"PARSER",PARTIAL:"PARTIAL",PARTITION:"PARTITION",PARTITION_ID:"PARTITION_ID",PARTITIONING:"PARTITIONING",PARTITIONS:"PARTITIONS",PASSWORD:"PASSWORD",PAUSE:"PAUSE",PERCENTAGE:"PERCENTAGE",PERCENT_RANK:"PERCENT_RANK",PERFORMANCE:"PERFORMANCE",PHASE:"PHASE",PHYSICAL:"PHYSICAL",PLAN:"PLAN",PLANREGRESS:"PLANREGRESS",PLUGIN:"PLUGIN",PLUGIN_DIR:"PLUGIN_DIR",PLUGINS:"PLUGINS",PLUS:"PLUS",POINT:"POINT",POLICY:"POLICY",POLYGON:"POLYGON",POOL:"POOL",PORT:"PORT",POSITION:"POSITION",PRECISION:"PRECISION",PREPARE:"PREPARE",PRESERVE:"PRESERVE",PREV:"PREV",PRIMARY:"PRIMARY",PRIMARY_ZONE:"PRIMARY_ZONE",PRIVILEGES:"PRIVILEGES",PROCEDURE:"PROCEDURE",PROCESS:"PROCESS",PROCESSLIST:"PROCESSLIST",PROFILE:"PROFILE",PROFILES:"PROFILES",PROGRESSIVE_MERGE_NUM:"PROGRESSIVE_MERGE_NUM",PROTECTION:"PROTECTION",PROXY:"PROXY",PUBLIC:"PUBLIC",PURGE:"PURGE",P_ENTITY:"P_ENTITY",P_CHUNK:"P_CHUNK",PRECEDING:"PRECEDING",PCTFREE:"PCTFREE",PS:"PS",QUARTER:"QUARTER",QUERY:"QUERY",QUICK:"QUICK",RANGE:"RANGE",RANK:"RANK",READ:"READ",READ_WRITE:"READ_WRITE",READ_CONSISTENCY:"READ_CONSISTENCY",READ_ONLY:"READ_ONLY",READS:"READS",REAL:"REAL",REBUILD:"REBUILD",RECOVER:"RECOVER",RECOVERY:"RECOVERY",RECOVERY_WINDOW:"RECOVERY_WINDOW",RECYCLE:"RECYCLE",RECYCLEBIN:"RECYCLEBIN",REDO_BUFFER_SIZE:"REDO_BUFFER_SIZE",REDO_TRANSPORT_OPTIONS:"REDO_TRANSPORT_OPTIONS",REDOFILE:"REDOFILE",REDUNDANCY:"REDUNDANCY",REDUNDANT:"REDUNDANT",REFERENCES:"REFERENCES",REFRESH:"REFRESH",REGEXP:"REGEXP",REGION:"REGION",REJECT:"REJECT",RELAY:"RELAY",RELAY_LOG_FILE:"RELAY_LOG_FILE",RELAY_LOG_POS:"RELAY_LOG_POS",RELAY_THREAD:"RELAY_THREAD",RELAYLOG:"RELAYLOG",RELEASE:"RELEASE",RELOAD:"RELOAD",REMOVE:"REMOVE",RENAME:"RENAME",REORGANIZE:"REORGANIZE",REPAIR:"REPAIR",REPEAT:"REPEAT",REPEATABLE:"REPEATABLE",REPLACE:"REPLACE",REPLICA:"REPLICA",REPLICA_NUM:"REPLICA_NUM",REPLICA_TYPE:"REPLICA_TYPE",DUPLICATE_SCOPE:"DUPLICATE_SCOPE",REPLICATION:"REPLICATION",REPORT:"REPORT",REQUIRE:"REQUIRE",RESET:"RESET",RESIGNAL:"RESIGNAL",RESOURCE:"RESOURCE",RESOURCE_POOL_LIST:"RESOURCE_POOL_LIST",RESPECT:"RESPECT",RESTART:"RESTART",RESTORE:"RESTORE",RESTRICT:"RESTRICT",RESUME:"RESUME",RETURNING:"RETURNING",RETURNED_SQLSTATE:"RETURNED_SQLSTATE",RETURN:"RETURN",RETURNS:"RETURNS",REVERSE:"REVERSE",REVOKE:"REVOKE",RIGHT:"RIGHT",RLIKE:"REGEXP",ROLLBACK:"ROLLBACK",ROLLING:"ROLLING",ROLLUP:"ROLLUP",ROOT:"ROOT",ROOTSERVICE:"ROOTSERVICE",ROOTSERVICE_LIST:"ROOTSERVICE_LIST",ROOTTABLE:"ROOTTABLE",ROTATE:"ROTATE",ROUTINE:"ROUTINE",ROW:"ROW",ROW_COUNT:"ROW_COUNT",ROW_FORMAT:"ROW_FORMAT",ROW_NUMBER:"ROW_NUMBER",ROWS:"ROWS",RTREE:"RTREE",RUN:"RUN",SAMPLE:"SAMPLE",SAVEPOINT:"SAVEPOINT",SCHEDULE:"SCHEDULE",SCHEMA_NAME:"SCHEMA_NAME",SCN:"SCN",SCOPE:"SCOPE",SECOND:"SECOND",SECOND_MICROSECOND:"SECOND_MICROSECOND",SECURITY:"SECURITY",SEED:"SEED",SENSITIVE:"SENSITIVE",SEQUENCE:"SEQUENCE",SEQUENCES:"SEQUENCES",SERIAL:"SERIAL",SERIALIZABLE:"SERIALIZABLE",SERVER:"SERVER",SERVER_IP:"SERVER_IP",SERVER_PORT:"SERVER_PORT",SERVER_TYPE:"SERVER_TYPE",SERVICE:"SERVICE",SET:"SET",SESSION:"SESSION",SESSION_USER:"SESSION_USER",STATEMENTS:"STATEMENTS",STATISTICS:"STATISTICS",BINDING:"BINDING",SCHEMA:"SCHEMA",SCHEMAS:"SCHEMAS",SELECT:"SELECT",SET_MASTER_CLUSTER:"SET_MASTER_CLUSTER",SET_SLAVE_CLUSTER:"SET_SLAVE_CLUSTER",SET_TP:"SET_TP",SEPARATOR:"SEPARATOR",SHARE:"SHARE",SHOW:"SHOW",SKEWONLY:"SKEWONLY",SHUTDOWN:"SHUTDOWN",SIGNED:"SIGNED",SIGNAL:"SIGNAL",SIMPLE:"SIMPLE",SLAVE:"SLAVE",SIZE:"SIZE",SLOG:"SLOG",SLOW:"SLOW",SLOT_IDX:"SLOT_IDX",SMALLINT:"SMALLINT",SNAPSHOT:"SNAPSHOT",SOCKET:"SOCKET",SOME:"SOME",SONAME:"SONAME",SOUNDS:"SOUNDS",SOURCE:"SOURCE",SPATIAL:"SPATIAL",SPECIFIC:"SPECIFIC",SPFILE:"SPFILE",SPLIT:"SPLIT",SQL:"SQL",SQLEXCEPTION:"SQLEXCEPTION",SQLSTATE:"SQLSTATE",SQLWARNING:"SQLWARNING",SQL_BIG_RESULT:"SQL_BIG_RESULT",SQL_CALC_FOUND_ROWS:"SQL_CALC_FOUND_ROWS",SQL_SMALL_RESULT:"SQL_SMALL_RESULT",SQL_AFTER_GTIDS:"SQL_AFTER_GTIDS",SQL_AFTER_MTS_GAPS:"SQL_AFTER_MTS_GAPS",SQL_BEFORE_GTIDS:"SQL_BEFORE_GTIDS",SQL_BUFFER_RESULT:"SQL_BUFFER_RESULT",SQL_CACHE:"SQL_CACHE",SQL_ID:"SQL_ID",SQL_NO_CACHE:"SQL_NO_CACHE",SQL_THREAD:"SQL_THREAD",SQL_TSI_DAY:"SQL_TSI_DAY",SQL_TSI_HOUR:"SQL_TSI_HOUR",SQL_TSI_MINUTE:"SQL_TSI_MINUTE",SQL_TSI_MONTH:"SQL_TSI_MONTH",SQL_TSI_QUARTER:"SQL_TSI_QUARTER",SQL_TSI_SECOND:"SQL_TSI_SECOND",SQL_TSI_WEEK:"SQL_TSI_WEEK",SQL_TSI_YEAR:"SQL_TSI_YEAR",SRID:"SRID",SSL:"SSL",STACKED:"STACKED",STANDBY:"STANDBY",START:"START",STARTS:"STARTS",STARTING:"STARTING",STRAIGHT_JOIN:"STRAIGHT_JOIN",STAT:"STAT",STATS_AUTO_RECALC:"STATS_AUTO_RECALC",STATS_PERSISTENT:"STATS_PERSISTENT",STATS_SAMPLE_PAGES:"STATS_SAMPLE_PAGES",STATUS:"STATUS",STD:"STD",STDDEV:"STDDEV",STDDEV_POP:"STDDEV_POP",STDDEV_SAMP:"STDDEV_SAMP",STOP:"STOP",STORAGE:"STORAGE",STORAGE_FORMAT_VERSION:"STORAGE_FORMAT_VERSION",STORED:"STORED",STORING:"STORING",STRING:"STRING",STRONG:"STRONG",SUBCLASS_ORIGIN:"SUBCLASS_ORIGIN",SUBDATE:"SUBDATE",SUBJECT:"SUBJECT",SUBPARTITION:"SUBPARTITION",SUBPARTITIONS:"SUBPARTITIONS",SUBSTR:"SUBSTR",SUBSTRING:"SUBSTRING",SUM:"SUM",SUPER:"SUPER",SUSPEND:"SUSPEND",SUCCESSFUL:"SUCCESSFUL",SYNCHRONIZATION:"SYNCHRONIZATION",SYSDATE:"SYSDATE",SYSTEM:"SYSTEM",SYSTEM_USER:"SYSTEM_USER",SWAPS:"SWAPS",SWITCH:"SWITCH",SWITCHES:"SWITCHES",SWITCHOVER:"SWITCHOVER",TABLE:"TABLE",TABLE_CHECKSUM:"TABLE_CHECKSUM",TABLE_MODE:"TABLE_MODE",TABLE_ID:"TABLE_ID",TABLE_NAME:"TABLE_NAME",TABLEGROUP:"TABLEGROUP",TABLEGROUPS:"TABLEGROUPS",TABLEGROUP_ID:"TABLEGROUP_ID",TABLES:"TABLES",TABLESPACE:"TABLESPACE",TABLET:"TABLET",TABLET_ID:"TABLET_ID",TABLET_MAX_SIZE:"TABLET_MAX_SIZE",TASK:"TASK",TEMPLATE:"TEMPLATE",TEMPORARY:"TEMPORARY",TEMPTABLE:"TEMPTABLE",TENANT:"TENANT",TENANT_ID:"TENANT_ID",TERMINATED:"TERMINATED",TEXT:"TEXT",THAN:"THAN",THEN:"THEN",TIME:"TIME",TIMESTAMP:"TIMESTAMP",TIMESTAMPADD:"TIMESTAMPADD",TIMESTAMPDIFF:"TIMESTAMPDIFF",TINYBLOB:"TINYBLOB",TINYINT:"TINYINT",TINYTEXT:"TINYTEXT",TABLET_SIZE:"TABLET_SIZE",TP_NAME:"TP_NAME",TP_NO:"TP_NO",TRACE:"TRACE",TRADITIONAL:"TRADITIONAL",TRAILING:"TRAILING",TRANSACTION:"TRANSACTION",TRIGGER:"TRIGGER",TRIGGERS:"TRIGGERS",TRIM:"TRIM",TRUNCATE:"TRUNCATE",TYPE:"TYPE",TYPES:"TYPES",TO:"TO",TOP_K_FRE_HIST:"TOP_K_FRE_HIST",UNCOMMITTED:"UNCOMMITTED",UNDEFINED:"UNDEFINED",UNDO:"UNDO",UNDO_BUFFER_SIZE:"UNDO_BUFFER_SIZE",UNDOFILE:"UNDOFILE",UNION:"UNION",UNIQUE:"UNIQUE",UNICODE:"UNICODE",UNINSTALL:"UNINSTALL",UNIT:"UNIT",UNIT_GROUP:"UNIT_GROUP",UNIT_NUM:"UNIT_NUM",UNKNOWN:"UNKNOWN",UNLOCK:"UNLOCK",UNLOCKED:"UNLOCKED",UNSIGNED:"UNSIGNED",UNTIL:"UNTIL",UNUSUAL:"UNUSUAL",UPDATE:"UPDATE",UPGRADE:"UPGRADE",USAGE:"USAGE",USE:"USE",USING:"USING",USE_BLOOM_FILTER:"USE_BLOOM_FILTER",USE_FRM:"USE_FRM",USER:"USER",USER_RESOURCES:"USER_RESOURCES",UTC_DATE:"UTC_DATE",UTC_TIME:"UTC_TIME",UTC_TIMESTAMP:"UTC_TIMESTAMP",UNBOUNDED:"UNBOUNDED",UNLIMITED:"UNLIMITED",VALID:"VALID",VALIDATE:"VALIDATE",VALUE:"VALUE",VARBINARY:"VARBINARY",VARCHAR:"VARCHAR",VARCHARACTER:"VARCHAR",VARIANCE:"VARIANCE",VARIABLES:"VARIABLES",VAR_POP:"VAR_POP",VAR_SAMP:"VAR_SAMP",VERBOSE:"VERBOSE",VERIFY:"VERIFY",MATERIALIZED:"MATERIALIZED",VALUES:"VALUES",VARYING:"VARYING",VIEW:"VIEW",VIRTUAL:"VIRTUAL",VIRTUAL_COLUMN_ID:"VIRTUAL_COLUMN_ID",VISIBLE:"VISIBLE",WAIT:"WAIT",WARNINGS:"WARNINGS",WEAK:"WEAK",WEEK:"WEEK",WEIGHT_STRING:"WEIGHT_STRING",WHERE:"WHERE",WHEN:"WHEN",WHENEVER:"WHENEVER",WHILE:"WHILE",WINDOW:"WINDOW",WITH:"WITH",WORK:"WORK",WRITE:"WRITE",WRAPPER:"WRAPPER",X509:"X509",XA:"XA",XML:"XML",XOR:"XOR",YEAR:"YEAR",YEAR_MONTH:"YEAR_MONTH",ZONE:"ZONE",ZONE_LIST:"ZONE_LIST",TIME_ZONE_INFO:"TIME_ZONE_INFO",ZONE_TYPE:"ZONE_TYPE",ZEROFILL:"ZEROFILL",AUDIT:"AUDIT",PL:"PL",REMOTE_OSS:"REMOTE_OSS",THROTTLE:"THROTTLE",PRIORITY:"PRIORITY",RT:"RT",NETWORK:"NETWORK",LOGICAL_READS:"LOGICAL_READS",QUEUE_TIME:"QUEUE_TIME",OBSOLETE:"OBSOLETE",BANDWIDTH:"BANDWIDTH",BACKUPPIECE:"BACKUPPIECE",BACKUP_BACKUP_DEST:"BACKUP_BACKUP_DEST",BACKED:"BACKED",PRETTY:"PRETTY",PRETTY_COLOR:"PRETTY_COLOR",PREVIEW:"PREVIEW",UP:"UP",TIMES:"TIMES",BACKUPROUND:"BACKUPROUND",RECURSIVE:"RECURSIVE",WASH:"WASH",QUERY_RESPONSE_TIME:"QUERY_RESPONSE_TIME"}},22634:function(t){var e=this&&this.__spreadArray||function(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i=0;R--){var A=T[i-R],I=u[i-R],N=o[I];if(t.terminals_[I]){c.push(n(N,!0,(S=this.yy.input).substring.apply(S,T[i-R].range),A,null,this.yy));continue}var p=a[i-R];p&&c.push(p)}if(0===E||(null==c?void 0:c.length)==0){this.$=null;return}var O=T.slice(i-E+1,i+1).filter(Boolean),h=O[0];h||console.log(l,E);var L=O[O.length-1],C={first_line:h.first_line,last_line:L.last_line,first_column:h.first_column,last_column:L.last_column,range:[h.range[0],L.range[1]]};this.$=n(l,!1,null,C,c,this.yy),this._$=C}}}},78073:function(t,e,n){var r=this&&this.__spreadArray||function(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i=0;R--){var A=T[i-R],I=u[i-R],N=o[I];if(t.terminals_[I]){c.push(n(N,!0,(S=this.yy.input).substring.apply(S,T[i-R].range),A,null,this.yy));continue}var p=a[i-R];p&&c.push(p)}if(0===E||(null==c?void 0:c.length)==0){this.$=null;return}var O=T.slice(i-E+1,i+1).filter(Boolean),h=O[0];h||console.log(l,E);var L=O[O.length-1],C={first_line:h.first_line,last_line:L.last_line,first_column:h.first_column,last_column:L.last_column,range:[h.range[0],L.range[1]]};this.$=n(l,!1,null,C,c,this.yy),this._$=C}}}},70895:function(t,e,n){var r=n(85319).Token,i=n(24412).Lexer,o=n(24088).Interval;function E(){return this}function s(t){return E.call(this),this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1,this}s.prototype=Object.create(E.prototype),s.prototype.constructor=s,s.prototype.mark=function(){return 0},s.prototype.release=function(t){},s.prototype.reset=function(){this.seek(0)},s.prototype.seek=function(t){this.lazyInit(),this.index=this.adjustSeekIndex(t)},s.prototype.get=function(t){return this.lazyInit(),this.tokens[t]},s.prototype.consume=function(){if(!(this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(e)>=e},s.prototype.fetch=function(t){if(this.fetchedEOF)return 0;for(var e=0;e=this.tokens.length&&(e=this.tokens.length-1);for(var o=t;o=this.tokens.length)?this.tokens[this.tokens.length-1]:this.tokens[e]},s.prototype.adjustSeekIndex=function(t){return t},s.prototype.lazyInit=function(){-1===this.index&&this.setup()},s.prototype.setup=function(){this.sync(0),this.index=this.adjustSeekIndex(0)},s.prototype.setTokenSource=function(t){this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1},s.prototype.nextTokenOnChannel=function(t,e){if(this.sync(t),t>=this.tokens.length)return -1;for(var n=this.tokens[t];n.channel!==this.channel;){if(n.type===r.EOF)return -1;t+=1,this.sync(t),n=this.tokens[t]}return t},s.prototype.previousTokenOnChannel=function(t,e){for(;t>=0&&this.tokens[t].channel!==e;)t-=1;return t},s.prototype.getHiddenTokensToRight=function(t,e){if(void 0===e&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw""+t+" not in 0.."+this.tokens.length-1;var n=this.nextTokenOnChannel(t+1,i.DEFAULT_TOKEN_CHANNEL),r=t+1,o=-1===n?this.tokens.length-1:n;return this.filterForChannel(r,o,e)},s.prototype.getHiddenTokensToLeft=function(t,e){if(void 0===e&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw""+t+" not in 0.."+this.tokens.length-1;var n=this.previousTokenOnChannel(t-1,i.DEFAULT_TOKEN_CHANNEL);if(n===t-1)return null;var r=t-1;return this.filterForChannel(n+1,r,e)},s.prototype.filterForChannel=function(t,e,n){for(var r=[],o=t;o=this.tokens.length&&(n=this.tokens.length-1);for(var i="",E=e;E=this._size)throw"cannot consume EOF";this._index+=1},i.prototype.LA=function(t){if(0===t)return 0;t<0&&(t+=1);var e=this._index+t-1;return e<0||e>=this._size?r.EOF:this.data[e]},i.prototype.LT=function(t){return this.LA(t)},i.prototype.mark=function(){return -1},i.prototype.release=function(t){},i.prototype.seek=function(t){if(t<=this._index){this._index=t;return}this._index=Math.min(t,this._size)},i.prototype.getText=function(t,e){if(e>=this._size&&(e=this._size-1),t>=this._size)return"";if(!this.decodeToUnicodeCodePoints)return this.strdata.slice(t,e+1);for(var n="",r=t;r<=e;r++)n+=String.fromCodePoint(this.data[r]);return n},i.prototype.toString=function(){return this.strdata},e.InputStream=i},24088:function(t,e,n){var r=n(85319).Token;function i(t,e){return this.start=t,this.stop=e,this}function o(){this.intervals=null,this.readOnly=!1}i.prototype.contains=function(t){return t>=this.start&&t=n.stop?(this.intervals.pop(t+1),this.reduce(t)):e.stop>=n.start&&(this.intervals[t]=new i(e.start,n.stop),this.intervals.pop(t+1))}},o.prototype.complement=function(t,e){var n=new o;n.addInterval(new i(t,e+1));for(var r=0;rr.start&&t.stop=r.stop?(this.intervals.splice(e,1),e-=1):t.start"):t.push("'"+String.fromCharCode(n.start)+"'"):t.push("'"+String.fromCharCode(n.start)+"'..'"+String.fromCharCode(n.stop-1)+"'")}return t.length>1?"{"+t.join(", ")+"}":t[0]},o.prototype.toIndexString=function(){for(var t=[],e=0;e"):t.push(n.start.toString()):t.push(n.start.toString()+".."+(n.stop-1).toString())}return t.length>1?"{"+t.join(", ")+"}":t[0]},o.prototype.toTokenString=function(t,e){for(var n=[],r=0;r1?"{"+n.join(", ")+"}":n[0]},o.prototype.elementName=function(t,e,n){return n===r.EOF?"":n===r.EPSILON?"":t[n]||e[n]},e.Interval=i,e.V=o},40670:function(t,e,n){var r=n(28561).Set,i=n(28561).BitSet,o=n(85319).Token,E=n(63864).m;n(24088).Interval;var s=n(24088).V,a=n(9215).RuleStopState,T=n(55099).RuleTransition,u=n(55099).NotSetTransition,S=n(55099).WildcardTransition,c=n(55099).AbstractPredicateTransition,l=n(98758),R=l.predictionContextFromRuleContext,A=l.PredictionContext,I=l.SingletonPredictionContext;function N(t){this.atn=t}N.HIT_PRED=o.INVALID_TYPE,N.prototype.getDecisionLookahead=function(t){if(null===t)return null;for(var e=t.transitions.length,n=[],o=0;o":"\n"===t?"\\n":" "===t?"\\t":"\r"===t?"\\r":t},a.prototype.getCharErrorDisplay=function(t){return"'"+this.getErrorDisplayForChar(t)+"'"},a.prototype.recover=function(t){this._input.LA(1)!==r.EOF&&(t instanceof s?this._interp.consume(this._input):this._input.consume())},e.Lexer=a},93709:function(t,e,n){var r=n(85319).Token,i=n(62438).ParseTreeListener,o=n(44489).c,E=n(41080).t,s=n(28833).ATNDeserializer,a=n(76477).W,T=n(62438).TerminalNode,u=n(62438).ErrorNode;function S(t){return i.call(this),this.parser=t,this}function c(t){return o.call(this),this._input=null,this._errHandler=new E,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(t),this}S.prototype=Object.create(i.prototype),S.prototype.constructor=S,S.prototype.enterEveryRule=function(t){console.log("enter "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},S.prototype.visitTerminal=function(t){console.log("consume "+t.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])},S.prototype.exitEveryRule=function(t){console.log("exit "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},c.prototype=Object.create(o.prototype),c.prototype.contructor=c,c.bypassAltsAtnCache={},c.prototype.reset=function(){null!==this._input&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),null!==this._interp&&this._interp.reset()},c.prototype.match=function(t){var e=this.getCurrentToken();return e.type===t?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===e.tokenIndex&&this._ctx.addErrorNode(e)),e},c.prototype.matchWildcard=function(){var t=this.getCurrentToken();return t.type>0?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===t.tokenIndex&&this._ctx.addErrorNode(t)),t},c.prototype.getParseListeners=function(){return this._parseListeners||[]},c.prototype.addParseListener=function(t){if(null===t)throw"listener";null===this._parseListeners&&(this._parseListeners=[]),this._parseListeners.push(t)},c.prototype.removeParseListener=function(t){if(null!==this._parseListeners){var e=this._parseListeners.indexOf(t);e>=0&&this._parseListeners.splice(e,1),0===this._parseListeners.length&&(this._parseListeners=null)}},c.prototype.removeParseListeners=function(){this._parseListeners=null},c.prototype.triggerEnterRuleEvent=function(){if(null!==this._parseListeners){var t=this._ctx;this._parseListeners.map(function(e){e.enterEveryRule(t),t.enterRule(e)})}},c.prototype.triggerExitRuleEvent=function(){if(null!==this._parseListeners){var t=this._ctx;this._parseListeners.slice(0).reverse().map(function(e){t.exitRule(e),e.exitEveryRule(t)})}},c.prototype.getTokenFactory=function(){return this._input.tokenSource._factory},c.prototype.setTokenFactory=function(t){this._input.tokenSource._factory=t},c.prototype.getATNWithBypassAlts=function(){var t=this.getSerializedATN();if(null===t)throw"The current parser does not support an ATN with bypass alternatives.";var e=this.bypassAltsAtnCache[t];if(null===e){var n=new a;n.generateRuleBypassTransitions=!0,e=new s(n).deserialize(t),this.bypassAltsAtnCache[t]=e}return e};var l=n(24412).Lexer;c.prototype.compileParseTreePattern=function(t,e,n){if(null===(n=n||null)&&null!==this.getTokenStream()){var r=this.getTokenStream().tokenSource;r instanceof l&&(n=r)}if(null===n)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(n,this).compile(t,e)},c.prototype.getInputStream=function(){return this.getTokenStream()},c.prototype.setInputStream=function(t){this.setTokenStream(t)},c.prototype.getTokenStream=function(){return this._input},c.prototype.setTokenStream=function(t){this._input=null,this.reset(),this._input=t},c.prototype.getCurrentToken=function(){return this._input.LT(1)},c.prototype.notifyErrorListeners=function(t,e,n){n=n||null,null===(e=e||null)&&(e=this.getCurrentToken()),this._syntaxErrors+=1;var r=e.line,i=e.column;this.getErrorListenerDispatch().syntaxError(this,e,r,i,t,n)},c.prototype.consume=function(){var t,e=this.getCurrentToken();e.type!==r.EOF&&this.getInputStream().consume();var n=null!==this._parseListeners&&this._parseListeners.length>0;return(this.buildParseTrees||n)&&((t=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(e):this._ctx.addTokenNode(e)).invokingState=this.state,n&&this._parseListeners.map(function(e){t instanceof u||void 0!==t.isErrorNode&&t.isErrorNode()?e.visitErrorNode(t):t instanceof T&&e.visitTerminal(t)})),e},c.prototype.addContextToParseTree=function(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)},c.prototype.enterRule=function(t,e,n){this.state=e,this._ctx=t,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),null!==this._parseListeners&&this.triggerEnterRuleEvent()},c.prototype.exitRule=function(){this._ctx.stop=this._input.LT(-1),null!==this._parseListeners&&this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx},c.prototype.enterOuterAlt=function(t,e){t.setAltNumber(e),this.buildParseTrees&&this._ctx!==t&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(t)),this._ctx=t},c.prototype.getPrecedence=function(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]},c.prototype.enterRecursionRule=function(t,e,n,r){this.state=e,this._precedenceStack.push(r),this._ctx=t,this._ctx.start=this._input.LT(1),null!==this._parseListeners&&this.triggerEnterRuleEvent()},c.prototype.pushNewRecursionContext=function(t,e,n){var r=this._ctx;r.parentCtx=t,r.invokingState=e,r.stop=this._input.LT(-1),this._ctx=t,this._ctx.start=r.start,this.buildParseTrees&&this._ctx.addChild(r),null!==this._parseListeners&&this.triggerEnterRuleEvent()},c.prototype.unrollRecursionContexts=function(t){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var e=this._ctx;if(null!==this._parseListeners)for(;this._ctx!==t;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=t;e.parentCtx=t,this.buildParseTrees&&null!==t&&t.addChild(e)},c.prototype.getInvokingContext=function(t){for(var e=this._ctx;null!==e;){if(e.ruleIndex===t)return e;e=e.parentCtx}return null},c.prototype.precpred=function(t,e){return e>=this._precedenceStack[this._precedenceStack.length-1]},c.prototype.inContext=function(t){return!1},c.prototype.isExpectedToken=function(t){var e=this._interp.atn,n=this._ctx,i=e.states[this.state],o=e.nextTokens(i);if(o.contains(t))return!0;if(!o.contains(r.EPSILON))return!1;for(;null!==n&&n.invokingState>=0&&o.contains(r.EPSILON);){var E=e.states[n.invokingState].transitions[0];if((o=e.nextTokens(E.followState)).contains(t))return!0;n=n.parentCtx}return!!o.contains(r.EPSILON)&&t===r.EOF},c.prototype.getExpectedTokens=function(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)},c.prototype.getExpectedTokensWithinCurrentRule=function(){var t=this._interp.atn,e=t.states[this.state];return t.nextTokens(e)},c.prototype.getRuleIndex=function(t){var e=this.getRuleIndexMap()[t];return null!==e?e:-1},c.prototype.getRuleInvocationStack=function(t){null===(t=t||null)&&(t=this._ctx);for(var e=[];null!==t;){var n=t.ruleIndex;n<0?e.push("n/a"):e.push(this.ruleNames[n]),t=t.parentCtx}return e},c.prototype.getDFAStrings=function(){return this._interp.decisionToDFA.toString()},c.prototype.dumpDFA=function(){for(var t=!1,e=0;e0&&(t&&console.log(),this.printer.println("Decision "+n.decision+":"),this.printer.print(n.toString(this.literalNames,this.symbolicNames)),t=!0)}},c.prototype.getSourceName=function(){return this._input.sourceName},c.prototype.setTrace=function(t){t?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new S(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)},e.Parser=c},65082:function(t,e,n){var r=n(38738).r,i=n(62438),o=i.INVALID_INTERVAL,E=i.TerminalNode,s=i.TerminalNodeImpl,a=i.ErrorNodeImpl,T=n(24088).Interval;function u(t,e){t=t||null,e=e||null,r.call(this,t,e),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}function S(t,e,n){return u.call(t,e),this.ruleIndex=n,this}u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.copyFrom=function(t){this.parentCtx=t.parentCtx,this.invokingState=t.invokingState,this.children=null,this.start=t.start,this.stop=t.stop,t.children&&(this.children=[],t.children.map(function(t){t instanceof a&&(this.children.push(t),t.parentCtx=this)},this))},u.prototype.enterRule=function(t){},u.prototype.exitRule=function(t){},u.prototype.addChild=function(t){return null===this.children&&(this.children=[]),this.children.push(t),t},u.prototype.removeLastChild=function(){null!==this.children&&this.children.pop()},u.prototype.addTokenNode=function(t){var e=new s(t);return this.addChild(e),e.parentCtx=this,e},u.prototype.addErrorNode=function(t){var e=new a(t);return this.addChild(e),e.parentCtx=this,e},u.prototype.getChild=function(t,e){if(e=e||null,null===this.children||t<0||t>=this.children.length)return null;if(null===e)return this.children[t];for(var n=0;n=this.children.length)return null;for(var n=0;n0&&(t+=", "),this.returnStates[e]===E.EMPTY_RETURN_STATE){t+="$";continue}t+=this.returnStates[e],null!==this.parents[e]?t=t+" "+this.parents[e]:t+="null"}return t+"]"},e.merge=function t(e,n,r,i){if(e===n)return e;if(e instanceof a&&n instanceof a)return function(e,n,r,i){if(null!==i){var o=i.get(e,n);if(null!==o||null!==(o=i.get(n,e)))return o}var s=function(t,e,n){if(n){if(t===E.EMPTY||e===E.EMPTY)return E.EMPTY}else{if(t===E.EMPTY&&e===E.EMPTY)return E.EMPTY;if(t===E.EMPTY){var r=[e.returnState,E.EMPTY_RETURN_STATE],i=[e.parentCtx,null];return new u(i,r)}if(e===E.EMPTY){var r=[t.returnState,E.EMPTY_RETURN_STATE],i=[t.parentCtx,null];return new u(i,r)}}return null}(e,n,r);if(null!==s)return null!==i&&i.set(e,n,s),s;if(e.returnState===n.returnState){var T=t(e.parentCtx,n.parentCtx,r,i);if(T===e.parentCtx)return e;if(T===n.parentCtx)return n;var S=a.create(T,e.returnState);return null!==i&&i.set(e,n,S),S}var c=null;if((e===n||null!==e.parentCtx&&e.parentCtx===n.parentCtx)&&(c=e.parentCtx),null!==c){var l=[e.returnState,n.returnState];e.returnState>n.returnState&&(l[0]=n.returnState,l[1]=e.returnState);var R=[c,c],A=new u(R,l);return null!==i&&i.set(e,n,A),A}var l=[e.returnState,n.returnState],R=[e.parentCtx,n.parentCtx];e.returnState>n.returnState&&(l[0]=n.returnState,l[1]=e.returnState,R=[n.parentCtx,e.parentCtx]);var I=new u(R,l);return null!==i&&i.set(e,n,I),I}(e,n,r,i);if(r){if(e instanceof T)return e;if(n instanceof T)return n}return e instanceof a&&(e=new u([e.getParent()],[e.returnState])),n instanceof a&&(n=new u([n.getParent()],[n.returnState])),function(e,n,r,i){if(null!==i){var s=i.get(e,n);if(null!==s||null!==(s=i.get(n,e)))return s}for(var T=0,S=0,c=0,l=[],R=[];T";var e=t.text;return null===e&&(e=t.type===r.EOF?"":"<"+t.type+">"),"'"+(e=e.replace("\n","\\n").replace("\r","\\r").replace(" ","\\t"))+"'"},E.prototype.getErrorListenerDispatch=function(){return new o(this._listeners)},E.prototype.sempred=function(t,e,n){return!0},E.prototype.precpred=function(t,e){return!0},Object.defineProperty(E.prototype,"state",{get:function(){return this._stateNumber},set:function(t){this._stateNumber=t}}),e.c=E},38738:function(t,e,n){var r=n(62438).RuleNode,i=n(62438).INVALID_INTERVAL,o=n(73600).INVALID_ALT_NUMBER;function E(t,e){return r.call(this),this.parentCtx=t||null,this.invokingState=e||-1,this}E.prototype=Object.create(r.prototype),E.prototype.constructor=E,E.prototype.depth=function(){for(var t=0,e=this;null!==e;)e=e.parentCtx,t+=1;return t},E.prototype.isEmpty=function(){return -1===this.invokingState},E.prototype.getSourceInterval=function(){return i},E.prototype.getRuleContext=function(){return this},E.prototype.getPayload=function(){return this},E.prototype.getText=function(){return 0===this.getChildCount()?"":this.children.map(function(t){return t.getText()}).join("")},E.prototype.getAltNumber=function(){return o},E.prototype.setAltNumber=function(t){},E.prototype.getChild=function(t){return null},E.prototype.getChildCount=function(){return 0},E.prototype.accept=function(t){return t.visitChildren(this)},e.r=E;var s=n(42181).Trees;E.prototype.toStringTree=function(t,e){return s.toStringTree(this,t,e)},E.prototype.toString=function(t,e){t=t||null,e=e||null;for(var n=this,r="[";null!==n&&n!==e;){if(null===t)n.isEmpty()||(r+=n.invokingState);else{var i=n.ruleIndex;r+=i>=0&&i"},set:function(t){this._text=t}}),r.prototype.toString=function(){var t=this.text;return t=null!==t?t.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+t+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"},e.Token=n,e.CommonToken=r},28561:function(t,e){function n(t){return"["+t.join(", ")+"]"}function r(t,e){return t.equals(e)}function i(t){return t.hashCode()}function o(t,e){return this.data={},this.hashFunction=t||i,this.equalsFunction=e||r,this}function E(){return this.data=[],this}function s(t,e){return this.data={},this.hashFunction=t||i,this.equalsFunction=e||r,this}function a(){return this.data={},this}function T(t){return this.defaultMapCtor=t||s,this.cacheMap=new this.defaultMapCtor,this}function u(){return this.count=0,this.hash=0,this}String.prototype.seed=String.prototype.seed||Math.round(4294967296*Math.random()),String.prototype.hashCode=function(){var t,e,n,r,i,o,E=this.toString();for(t=3&E.length,e=E.length-t,n=String.prototype.seed,o=0;o>>16)*3432918353&65535)<<16)&4294967295)<<15|i>>>17))*461845907+(((i>>>16)*461845907&65535)<<16)&4294967295,n=(65535&(r=(65535&(n=n<<13|n>>>19))*5+(((n>>>16)*5&65535)<<16)&4294967295))+27492+(((r>>>16)+58964&65535)<<16);switch(i=0,t){case 3:i^=(255&E.charCodeAt(o+2))<<16;case 2:i^=(255&E.charCodeAt(o+1))<<8;case 1:i^=255&E.charCodeAt(o),n^=i=(65535&(i=(i=(65535&i)*3432918353+(((i>>>16)*3432918353&65535)<<16)&4294967295)<<15|i>>>17))*461845907+(((i>>>16)*461845907&65535)<<16)&4294967295}return n^=E.length,n^=n>>>16,n=(65535&n)*2246822507+(((n>>>16)*2246822507&65535)<<16)&4294967295,n^=n>>>13,n=(65535&n)*3266489909+(((n>>>16)*3266489909&65535)<<16)&4294967295,(n^=n>>>16)>>>0},Object.defineProperty(o.prototype,"length",{get:function(){var t=0;for(var e in this.data)0===e.indexOf("hash_")&&(t+=this.data[e].length);return t}}),o.prototype.add=function(t){var e="hash_"+this.hashFunction(t);if(!(e in this.data))return this.data[e]=[t],t;for(var n=this.data[e],r=0;r>>17)*461845907,this.count=this.count+1;var r=this.hash^n;r=5*(r=r<<13|r>>>19)+3864292196,this.hash=r}}}},u.prototype.finish=function(){var t=this.hash^4*this.count;return t^=t>>>16,t*=2246822507,t^=t>>>13,t*=3266489909,t^=t>>>16},T.prototype.get=function(t,e){var n=this.cacheMap.get(t)||null;return null===n?null:n.get(e)||null},T.prototype.set=function(t,e,n){var r=this.cacheMap.get(t)||null;null===r&&(r=new this.defaultMapCtor,this.cacheMap.put(t,r)),r.put(e,n)},e.Hash=u,e.Set=o,e.Map=s,e.BitSet=E,e.AltDict=a,e.DoubleDict=T,e.hashStuff=function(){var t=new u;return t.update.apply(t,arguments),t.finish()},e.escapeWhitespace=function(t,e){return t=t.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),e&&(t=t.replace(/ /g,"\xb7")),t},e.arrayToString=n,e.titleCase=function(t){return t.replace(/\w\S*/g,function(t){return t.charAt(0).toUpperCase()+t.substr(1)})},e.equalArrays=function(t,e){if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t==e)return!0;if(t.length!=e.length)return!1;for(var n=0;n=this.states.length)throw"Invalid state number.";var n=this.states[t],r=this.nextTokens(n);if(!r.contains(E.EPSILON))return r;var o=new i;for(o.addSet(r),o.removeOne(E.EPSILON);null!==e&&e.invokingState>=0&&r.contains(E.EPSILON);){var s=this.states[e.invokingState].transitions[0];r=this.nextTokens(s.followState),o.addSet(r),o.removeOne(E.EPSILON),e=e.parentCtx}return r.contains(E.EPSILON)&&o.addOne(E.EOF),o},o.INVALID_ALT_NUMBER=0,e.ATN=o},63864:function(t,e,n){var r=n(9215).DecisionState,i=n(42105).dP,o=n(28561).Hash;function E(t,e){if(null===t){var n={state:null,alt:null,context:null,semanticContext:null};return e&&(n.reachesIntoOuterContext=0),n}var r={};return r.state=t.state||null,r.alt=void 0===t.alt?null:t.alt,r.context=t.context||null,r.semanticContext=t.semanticContext||null,e&&(r.reachesIntoOuterContext=t.reachesIntoOuterContext||0,r.precedenceFilterSuppressed=t.precedenceFilterSuppressed||!1),r}function s(t,e){return this.checkContext(t,e),t=E(t),e=E(e,!0),this.state=null!==t.state?t.state:e.state,this.alt=null!==t.alt?t.alt:e.alt,this.context=null!==t.context?t.context:e.context,this.semanticContext=null!==t.semanticContext?t.semanticContext:null!==e.semanticContext?e.semanticContext:i.NONE,this.reachesIntoOuterContext=e.reachesIntoOuterContext,this.precedenceFilterSuppressed=e.precedenceFilterSuppressed,this}function a(t,e){s.call(this,t,e);var n=t.lexerActionExecutor||null;return this.lexerActionExecutor=n||(null!==e?e.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=null!==e&&this.checkNonGreedyDecision(e,this.state),this}s.prototype.checkContext=function(t,e){(null===t.context||void 0===t.context)&&(null===e||null===e.context||void 0===e.context)&&(this.context=null)},s.prototype.hashCode=function(){var t=new o;return this.updateHashCode(t),t.finish()},s.prototype.updateHashCode=function(t){t.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)},s.prototype.equals=function(t){return this===t||t instanceof s&&this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&(null===this.context?null===t.context:this.context.equals(t.context))&&this.semanticContext.equals(t.semanticContext)&&this.precedenceFilterSuppressed===t.precedenceFilterSuppressed},s.prototype.hashCodeForConfigSet=function(){var t=new o;return t.update(this.state.stateNumber,this.alt,this.semanticContext),t.finish()},s.prototype.equalsForConfigSet=function(t){return this===t||t instanceof s&&this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&this.semanticContext.equals(t.semanticContext)},s.prototype.toString=function(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==i.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"},a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.updateHashCode=function(t){t.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)},a.prototype.equals=function(t){return this===t||t instanceof a&&this.passedThroughNonGreedyDecision==t.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(t.lexerActionExecutor):!t.lexerActionExecutor)&&s.prototype.equals.call(this,t)},a.prototype.hashCodeForConfigSet=a.prototype.hashCode,a.prototype.equalsForConfigSet=a.prototype.equals,a.prototype.checkNonGreedyDecision=function(t,e){return t.passedThroughNonGreedyDecision||e instanceof r&&e.nonGreedy},e.m=s,e.P=a},58254:function(t,e,n){var r=n(73600).ATN,i=n(28561),o=i.Hash,E=i.Set,s=n(42105).dP,a=n(98758).merge;function T(t){return t.hashCodeForConfigSet()}function u(t,e){return t===e||null!==t&&null!==e&&t.equalsForConfigSet(e)}function S(t){return this.configLookup=new E(T,u),this.fullCtx=void 0===t||t,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1,this}function c(){return S.call(this),this.configLookup=new E,this}S.prototype.add=function(t,e){if(void 0===e&&(e=null),this.readOnly)throw"This set is readonly";t.semanticContext!==s.NONE&&(this.hasSemanticContext=!0),t.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);var n=this.configLookup.add(t);if(n===t)return this.cachedHashCode=-1,this.configs.push(t),!0;var r=!this.fullCtx,i=a(n.context,t.context,r,e);return n.reachesIntoOuterContext=Math.max(n.reachesIntoOuterContext,t.reachesIntoOuterContext),t.precedenceFilterSuppressed&&(n.precedenceFilterSuppressed=!0),n.context=i,!0},S.prototype.getStates=function(){for(var t=new E,e=0;e=n},Z.prototype.deserialize=function(t){this.reset(t),this.checkVersion(),this.checkUUID();var e=this.readATN();this.readStates(e),this.readRules(e),this.readModes(e);var n=[];return this.readSets(e,n,this.readInt.bind(this)),this.isFeatureSupported(w,this.uuid)&&this.readSets(e,n,this.readInt32.bind(this)),this.readEdges(e,n),this.readDecisions(e),this.readLexerActions(e),this.markPrecedenceDecisions(e),this.verifyATN(e),this.deserializationOptions.generateRuleBypassTransitions&&e.grammarType===o.PARSER&&(this.generateRuleBypassTransitions(e),this.verifyATN(e)),e},Z.prototype.reset=function(t){var e=t.split("").map(function(t){var e=t.charCodeAt(0);return e>1?e-2:e+65534});e[0]=t.charCodeAt(0),this.data=e,this.pos=0},Z.prototype.checkVersion=function(){var t=this.readInt();if(3!==t)throw"Could not deserialize ATN with version "+t+" (expected 3)."},Z.prototype.checkUUID=function(){var t=this.readUUID();if(0>Q.indexOf(t))throw w;this.uuid=t},Z.prototype.readATN=function(){var t=this.readInt(),e=this.readInt();return new i(t,e)},Z.prototype.readStates=function(t){for(var e,n,r,i=[],o=[],E=this.readInt(),a=0;a0;)i.addTransition(c.transitions[l-1]),c.transitions=c.transitions.slice(-1);t.ruleToStartState[e].addTransition(new g(i)),o.addTransition(new g(s));var R=new a;t.addState(R),R.addTransition(new _(o,t.ruleToTokenType[e])),i.addTransition(new g(R))},Z.prototype.stateIsEndStateFor=function(t,e){if(t.ruleIndex!==e||!(t instanceof p))return null;var n=t.transitions[t.transitions.length-1].target;return n instanceof c&&n.epsilonOnlyTransitions&&n.transitions[0].target instanceof R?t:null},Z.prototype.markPrecedenceDecisions=function(t){for(var e=0;e=0):this.checkCondition(n.transitions.length<=1||n instanceof R)}}},Z.prototype.checkCondition=function(t,e){if(!t)throw null==e&&(e="IllegalState"),e},Z.prototype.readInt=function(){return this.data[this.pos++]},Z.prototype.readInt32=function(){return this.readInt()|this.readInt()<<16},Z.prototype.readLong=function(){return 4294967295&this.readInt32()|this.readInt32()<<32};var J=function(){for(var t=[],e=0;e<256;e++)t[e]=(e+256).toString(16).substr(1).toUpperCase();return t}();Z.prototype.readUUID=function(){for(var t=[],e=7;e>=0;e--){var n=this.readInt();t[2*e+1]=255&n,t[2*e]=n>>8&255}return J[t[0]]+J[t[1]]+J[t[2]]+J[t[3]]+"-"+J[t[4]]+J[t[5]]+"-"+J[t[6]]+J[t[7]]+"-"+J[t[8]]+J[t[9]]+"-"+J[t[10]]+J[t[11]]+J[t[12]]+J[t[13]]+J[t[14]]+J[t[15]]},Z.prototype.edgeFactory=function(t,e,n,i,o,E,s,a){var T=t.states[i];switch(e){case f.EPSILON:return new g(T);case f.RANGE:return 0!==s?new P(T,r.EOF,E):new P(T,o,E);case f.RULE:return new M(t.states[o],E,s,T);case f.PREDICATE:return new v(T,o,E,0!==s);case f.PRECEDENCE:return new m(T,o);case f.ATOM:return 0!==s?new _(T,r.EOF):new _(T,o);case f.ACTION:return new y(T,o,E,0!==s);case f.SET:return new d(T,a[o]);case f.NOT_SET:return new D(T,a[o]);case f.WILDCARD:return new U(T);default:throw"The specified transition type: "+e+" is not valid."}},Z.prototype.stateFactory=function(t,e){if(null===this.stateFactories){var n=[];n[s.INVALID_TYPE]=null,n[s.BASIC]=function(){return new a},n[s.RULE_START]=function(){return new l},n[s.BLOCK_START]=function(){return new L},n[s.PLUS_BLOCK_START]=function(){return new O},n[s.STAR_BLOCK_START]=function(){return new h},n[s.TOKEN_START]=function(){return new A},n[s.RULE_STOP]=function(){return new R},n[s.BLOCK_END]=function(){return new S},n[s.STAR_LOOP_BACK]=function(){return new N},n[s.STAR_LOOP_ENTRY]=function(){return new p},n[s.PLUS_LOOP_BACK]=function(){return new I},n[s.LOOP_END]=function(){return new c},this.stateFactories=n}if(t>this.stateFactories.length||null===this.stateFactories[t])throw"The specified state type "+t+" is not valid.";var r=this.stateFactories[t]();if(null!==r)return r.ruleIndex=e,r},Z.prototype.lexerActionFactory=function(t,e,n){if(null===this.actionFactories){var r=[];r[B.CHANNEL]=function(t,e){return new Y(t)},r[B.CUSTOM]=function(t,e){return new k(t,e)},r[B.MODE]=function(t,e){return new X(t)},r[B.MORE]=function(t,e){return V.INSTANCE},r[B.POP_MODE]=function(t,e){return K.INSTANCE},r[B.PUSH_MODE]=function(t,e){return new b(t)},r[B.SKIP]=function(t,e){return H.INSTANCE},r[B.TYPE]=function(t,e){return new W(t)},this.actionFactories=r}if(!(t>this.actionFactories.length)&&null!==this.actionFactories[t])return this.actionFactories[t](e,n);throw"The specified lexer action type "+t+" is not valid."},e.ATNDeserializer=Z},31332:function(t,e,n){var r=n(42603).B,i=n(58254).B,o=n(98758).getCachedPredictionContext,E=n(28561).Map;function s(t,e){return this.atn=t,this.sharedContextCache=e,this}s.ERROR=new r(2147483647,new i),s.prototype.getCachedContext=function(t){if(null===this.sharedContextCache)return t;var e=new E;return o(t,this.sharedContextCache,e)},e.f=s},9215:function(t,e){function n(){return this.atn=null,this.stateNumber=n.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null,this}function r(){return n.call(this),this.stateType=n.BASIC,this}function i(){return n.call(this),this.decision=-1,this.nonGreedy=!1,this}function o(){return i.call(this),this.endState=null,this}function E(){return o.call(this),this.stateType=n.BLOCK_START,this}function s(){return n.call(this),this.stateType=n.BLOCK_END,this.startState=null,this}function a(){return n.call(this),this.stateType=n.RULE_STOP,this}function T(){return n.call(this),this.stateType=n.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}function u(){return i.call(this),this.stateType=n.PLUS_LOOP_BACK,this}function S(){return o.call(this),this.stateType=n.PLUS_BLOCK_START,this.loopBackState=null,this}function c(){return o.call(this),this.stateType=n.STAR_BLOCK_START,this}function l(){return n.call(this),this.stateType=n.STAR_LOOP_BACK,this}function R(){return i.call(this),this.stateType=n.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}function A(){return n.call(this),this.stateType=n.LOOP_END,this.loopBackState=null,this}function I(){return i.call(this),this.stateType=n.TOKEN_START,this}n.INVALID_TYPE=0,n.BASIC=1,n.RULE_START=2,n.BLOCK_START=3,n.PLUS_BLOCK_START=4,n.STAR_BLOCK_START=5,n.TOKEN_START=6,n.RULE_STOP=7,n.BLOCK_END=8,n.STAR_LOOP_BACK=9,n.STAR_LOOP_ENTRY=10,n.PLUS_LOOP_BACK=11,n.LOOP_END=12,n.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],n.INVALID_STATE_NUMBER=-1,n.prototype.toString=function(){return this.stateNumber},n.prototype.equals=function(t){return t instanceof n&&this.stateNumber===t.stateNumber},n.prototype.isNonGreedyExitState=function(){return!1},n.prototype.addTransition=function(t,e){void 0===e&&(e=-1),0===this.transitions.length?this.epsilonOnlyTransitions=t.isEpsilon:this.epsilonOnlyTransitions!==t.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===e?this.transitions.push(t):this.transitions.splice(e,1,t)},r.prototype=Object.create(n.prototype),r.prototype.constructor=r,i.prototype=Object.create(n.prototype),i.prototype.constructor=i,o.prototype=Object.create(i.prototype),o.prototype.constructor=o,E.prototype=Object.create(o.prototype),E.prototype.constructor=E,s.prototype=Object.create(n.prototype),s.prototype.constructor=s,a.prototype=Object.create(n.prototype),a.prototype.constructor=a,T.prototype=Object.create(n.prototype),T.prototype.constructor=T,u.prototype=Object.create(i.prototype),u.prototype.constructor=u,S.prototype=Object.create(o.prototype),S.prototype.constructor=S,c.prototype=Object.create(o.prototype),c.prototype.constructor=c,l.prototype=Object.create(n.prototype),l.prototype.constructor=l,R.prototype=Object.create(i.prototype),R.prototype.constructor=R,A.prototype=Object.create(n.prototype),A.prototype.constructor=A,I.prototype=Object.create(i.prototype),I.prototype.constructor=I,e.ATNState=n,e.BasicState=r,e.DecisionState=i,e.BlockStartState=o,e.BlockEndState=s,e.LoopEndState=A,e.RuleStartState=T,e.RuleStopState=a,e.TokensStartState=I,e.PlusLoopbackState=u,e.StarLoopbackState=l,e.StarLoopEntryState=R,e.PlusBlockStartState=S,e.StarBlockStartState=c,e.BasicBlockStartState=E},51463:function(t,e){function n(){}n.LEXER=0,n.PARSER=1,e.n=n},45145:function(t,e,n){var r=n(85319).Token,i=n(24412).Lexer,o=n(73600).ATN,E=n(31332).f,s=n(42603).B;n(58254).B;var a=n(58254).s,T=n(98758).PredictionContext,u=n(98758).SingletonPredictionContext,S=n(9215).RuleStopState,c=n(63864).P,l=n(55099).Transition,R=n(35934).W,A=n(72874).LexerNoViableAltException;function I(t){t.index=-1,t.line=0,t.column=-1,t.dfaState=null}function N(){return I(this),this}function p(t,e,n,r){return E.call(this,e,r),this.decisionToDFA=n,this.recog=t,this.startIndex=-1,this.line=1,this.column=0,this.mode=i.DEFAULT_MODE,this.prevAccept=new N,this}N.prototype.reset=function(){I(this)},p.prototype=Object.create(E.prototype),p.prototype.constructor=p,p.debug=!1,p.dfa_debug=!1,p.MIN_DFA_EDGE=0,p.MAX_DFA_EDGE=127,p.match_calls=0,p.prototype.copyState=function(t){this.column=t.column,this.line=t.line,this.mode=t.mode,this.startIndex=t.startIndex},p.prototype.match=function(t,e){this.match_calls+=1,this.mode=e;var n=t.mark();try{this.startIndex=t.index,this.prevAccept.reset();var r=this.decisionToDFA[e];if(null===r.s0)return this.matchATN(t);return this.execATN(t,r.s0)}finally{t.release(n)}},p.prototype.reset=function(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=i.DEFAULT_MODE},p.prototype.matchATN=function(t){var e=this.atn.modeToStartState[this.mode];p.debug&&console.log("matchATN mode "+this.mode+" start: "+e);var n=this.mode,r=this.computeStartState(t,e),i=r.hasSemanticContext;r.hasSemanticContext=!1;var o=this.addDFAState(r);i||(this.decisionToDFA[this.mode].s0=o);var E=this.execATN(t,o);return p.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[n].toLexerString()),E},p.prototype.execATN=function(t,e){p.debug&&console.log("start state closure="+e.configs),e.isAcceptState&&this.captureSimState(this.prevAccept,t,e);for(var n=t.LA(1),i=e;;){p.debug&&console.log("execATN loop starting closure: "+i.configs);var o=this.getExistingTargetState(i,n);if(null===o&&(o=this.computeTargetState(t,i,n)),o===E.ERROR||(n!==r.EOF&&this.consume(t),o.isAcceptState&&(this.captureSimState(this.prevAccept,t,o),n===r.EOF)))break;n=t.LA(1),i=o}return this.failOrAccept(this.prevAccept,t,i.configs,n)},p.prototype.getExistingTargetState=function(t,e){if(null===t.edges||ep.MAX_DFA_EDGE)return null;var n=t.edges[e-p.MIN_DFA_EDGE];return void 0===n&&(n=null),p.debug&&null!==n&&console.log("reuse state "+t.stateNumber+" edge to "+n.stateNumber),n},p.prototype.computeTargetState=function(t,e,n){var r=new a;return(this.getReachableConfigSet(t,e.configs,r,n),0===r.items.length)?(r.hasSemanticContext||this.addDFAEdge(e,n,E.ERROR),E.ERROR):this.addDFAEdge(e,n,null,r)},p.prototype.failOrAccept=function(t,e,n,i){if(null!==this.prevAccept.dfaState){var o=t.dfaState.lexerActionExecutor;return this.accept(e,o,this.startIndex,t.index,t.line,t.column),t.dfaState.prediction}if(i===r.EOF&&e.index===this.startIndex)return r.EOF;throw new A(this.recog,e,this.startIndex,n)},p.prototype.getReachableConfigSet=function(t,e,n,i){for(var E=o.INVALID_ALT_NUMBER,s=0;sp.MAX_DFA_EDGE||(p.debug&&console.log("EDGE "+t+" -> "+n+" upon "+e),null===t.edges&&(t.edges=[]),t.edges[e-p.MIN_DFA_EDGE]=n),n},p.prototype.addDFAState=function(t){for(var e=new s(null,t),n=null,r=0;r0&&(o=this.getAltThatFinishedDecisionEntryRule(i))!==s.INVALID_ALT_NUMBER?o:s.INVALID_ALT_NUMBER},g.prototype.getAltThatFinishedDecisionEntryRule=function(t){for(var e=[],n=0;n0||r.state instanceof p&&r.context.hasEmptyPath())&&0>e.indexOf(r.alt)&&e.push(r.alt)}return 0===e.length?s.INVALID_ALT_NUMBER:Math.min.apply(null,e)},g.prototype.splitAccordingToSemanticValidity=function(t,e){for(var n=new u(t.fullCtx),r=new u(t.fullCtx),i=0;i50))throw"problem";if(t.state instanceof p){if(t.context.isEmpty()){if(i){e.add(t,this.mergeCache);return}this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex))}else{for(var s=0;s=0&&(c+=1)}this.closureCheckingStopState(S,e,n,u,i,c,E)}}},g.prototype.canDropLoopEntryEdgeInLeftRecursiveRule=function(t){var e=t.state;if(e.stateType!=a.STAR_LOOP_ENTRY||e.stateType!=a.STAR_LOOP_ENTRY||!e.isPrecedenceDecision||t.context.isEmpty()||t.context.hasEmptyPath())return!1;for(var n=t.context.length,r=0;r=0?this.parser.ruleNames[t]:""},g.prototype.getEpsilonTarget=function(t,e,n,r,i,o){switch(e.serializationType){case C.RULE:return this.ruleTransition(t,e);case C.PRECEDENCE:return this.precedenceTransition(t,e,n,r,i);case C.PREDICATE:return this.predTransition(t,e,n,r,i);case C.ACTION:return this.actionTransition(t,e);case C.EPSILON:return new T({state:e.target},t);case C.ATOM:case C.RANGE:case C.SET:if(o&&e.matches(S.EOF,0,1))return new T({state:e.target},t);return null;default:return null}},g.prototype.actionTransition=function(t,e){if(this.debug){var n=-1==e.actionIndex?65535:e.actionIndex;console.log("ACTION edge "+e.ruleIndex+":"+n)}return new T({state:e.target},t)},g.prototype.precedenceTransition=function(t,e,n,i,o){this.debug&&(console.log("PRED (collectPredicates="+n+") "+e.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+r.arrayToString(this.parser.getRuleInvocationStack())));var E=null;if(n&&i){if(o){var s=this._input.index;this._input.seek(this._startIndex);var a=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(s),a&&(E=new T({state:e.target},t))}else{var u=N.andContext(t.semanticContext,e.getPredicate());E=new T({state:e.target,semanticContext:u},t)}}else E=new T({state:e.target},t);return this.debug&&console.log("config from pred transition="+E),E},g.prototype.predTransition=function(t,e,n,i,o){this.debug&&(console.log("PRED (collectPredicates="+n+") "+e.ruleIndex+":"+e.predIndex+", ctx dependent="+e.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+r.arrayToString(this.parser.getRuleInvocationStack())));var E=null;if(n&&(e.isCtxDependent&&i||!e.isCtxDependent)){if(o){var s=this._input.index;this._input.seek(this._startIndex);var a=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(s),a&&(E=new T({state:e.target},t))}else{var u=N.andContext(t.semanticContext,e.getPredicate());E=new T({state:e.target,semanticContext:u},t)}}else E=new T({state:e.target},t);return this.debug&&console.log("config from pred transition="+E),E},g.prototype.ruleTransition=function(t,e){this.debug&&console.log("CALL rule "+this.getRuleName(e.target.ruleIndex)+", ctx="+t.context);var n=e.followState,r=P.create(t.context,n.stateNumber);return new T({state:e.target,context:r},t)},g.prototype.getConflictingAlts=function(t){var e=A.getConflictingAltSubsets(t);return A.getAlts(e)},g.prototype.getConflictingAltsOrUniqueAlt=function(t){var e=null;return t.uniqueAlt!==s.INVALID_ALT_NUMBER?(e=new o).add(t.uniqueAlt):e=t.conflictingAlts,e},g.prototype.getTokenName=function(t){if(t===S.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(t>=this.parser.literalNames.length)||!(t>=this.parser.symbolicNames.length))return(this.parser.literalNames[t]||this.parser.symbolicNames[t])+"<"+t+">";console.log(""+t+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+t},g.prototype.getLookaheadName=function(t){return this.getTokenName(t.LA(1))},g.prototype.dumpDeadEndConfigs=function(t){console.log("dead end configs: ");for(var e=t.getDeadEndConfigs(),n=0;n0){var o=r.state.transitions[0];o instanceof AtomTransition?i="Atom "+this.getTokenName(o.label):o instanceof f&&(i=(o instanceof _?"~":"")+"Set "+o.set)}console.error(r.toString(this.parser,!0)+":"+i)}},g.prototype.noViableAlt=function(t,e,n,r){return new M(this.parser,t,t.get(r),t.LT(1),n,e)},g.prototype.getUniqueAlt=function(t){for(var e=s.INVALID_ALT_NUMBER,n=0;n "+r+" upon "+this.getTokenName(n)),null===r)return null;if(r=this.addDFAState(t,r),null===e||n<-1||n>this.atn.maxTokenType)return r;if(null===e.edges&&(e.edges=[]),e.edges[n+1]=r,this.debug){var i=null===this.parser?null:this.parser.literalNames,o=null===this.parser?null:this.parser.symbolicNames;console.log("DFA=\n"+t.toString(i,o))}return r},g.prototype.addDFAState=function(t,e){if(e==R.ERROR)return e;var n=t.states.get(e);return null!==n?n:(e.stateNumber=t.states.length,e.configs.readOnly||(e.configs.optimizeConfigs(this),e.configs.setReadonly(!0)),t.states.add(e),this.debug&&console.log("adding new DFA state: "+e),e)},g.prototype.reportAttemptingFullContext=function(t,e,n,r,i){if(this.debug||this.retry_debug){var o=new h(r,i+1);console.log("reportAttemptingFullContext decision="+t.decision+":"+n+", input="+this.parser.getTokenStream().getText(o))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,t,r,i,e,n)},g.prototype.reportContextSensitivity=function(t,e,n,r,i){if(this.debug||this.retry_debug){var o=new h(r,i+1);console.log("reportContextSensitivity decision="+t.decision+":"+n+", input="+this.parser.getTokenStream().getText(o))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,t,r,i,e,n)},g.prototype.reportAmbiguity=function(t,e,n,r,i,o,E){if(this.debug||this.retry_debug){var s=new h(n,r+1);console.log("reportAmbiguity "+o+":"+E+", input="+this.parser.getTokenStream().getText(s))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,t,n,r,i,o,E)},e.ParserATNSimulator=g},28895:function(t,e,n){n(28561).Set;var r=n(28561).Map,i=n(28561).BitSet,o=n(28561).AltDict,E=n(73600).ATN,s=n(9215).RuleStopState,a=n(58254).B,T=n(63864).m,u=n(42105).dP;n(28561).Hash;var S=n(28561).hashStuff;function c(){return this}n(28561).equalArrays,c.SLL=0,c.LL=1,c.LL_EXACT_AMBIG_DETECTION=2,c.hasSLLConflictTerminatingPrediction=function(t,e){if(c.allConfigsInRuleStopStates(e))return!0;if(t===c.SLL&&e.hasSemanticContext){for(var n=new a,r=0;r1)return!0;return!1},c.allSubsetsEqual=function(t){for(var e=null,n=0;n0){var E=null;i.map(function(t){(null===E||t.precedence0){var E=i.sort(function(t,e){return t.compareTo(e)}),a=E[E.length-1];n.add(a)}return this.opnds=n.values(),this}o.prototype.hashCode=function(){var t=new i;return this.updateHashCode(t),t.finish()},o.prototype.evaluate=function(t,e){},o.prototype.evalPrecedence=function(t,e){return this},o.andContext=function(t,e){if(null===t||t===o.NONE)return e;if(null===e||e===o.NONE)return t;var n=new a(t,e);return 1===n.opnds.length?n.opnds[0]:n},o.orContext=function(t,e){if(null===t)return e;if(null===e)return t;if(t===o.NONE||e===o.NONE)return o.NONE;var n=new T(t,e);return 1===n.opnds.length?n.opnds[0]:n},E.prototype=Object.create(o.prototype),E.prototype.constructor=E,o.NONE=new E,E.prototype.evaluate=function(t,e){var n=this.isCtxDependent?e:null;return t.sempred(n,this.ruleIndex,this.predIndex)},E.prototype.updateHashCode=function(t){t.update(this.ruleIndex,this.predIndex,this.isCtxDependent)},E.prototype.equals=function(t){return this===t||t instanceof E&&this.ruleIndex===t.ruleIndex&&this.predIndex===t.predIndex&&this.isCtxDependent===t.isCtxDependent},E.prototype.toString=function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"},s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.evaluate=function(t,e){return t.precpred(e,this.precedence)},s.prototype.evalPrecedence=function(t,e){return t.precpred(e,this.precedence)?o.NONE:null},s.prototype.compareTo=function(t){return this.precedence-t.precedence},s.prototype.updateHashCode=function(t){t.update(31)},s.prototype.equals=function(t){return this===t||t instanceof s&&this.precedence===t.precedence},s.prototype.toString=function(){return"{"+this.precedence+">=prec}?"},s.filterPrecedencePredicates=function(t){var e=[];return t.values().map(function(t){t instanceof s&&e.push(t)}),e},a.prototype=Object.create(o.prototype),a.prototype.constructor=a,a.prototype.equals=function(t){return this===t||t instanceof a&&this.opnds===t.opnds},a.prototype.updateHashCode=function(t){t.update(this.opnds,"AND")},a.prototype.evaluate=function(t,e){for(var n=0;n3?t.slice(3):t},T.prototype=Object.create(o.prototype),T.prototype.constructor=T,T.prototype.constructor=function(t){return this===t||t instanceof T&&this.opnds===t.opnds},T.prototype.updateHashCode=function(t){t.update(this.opnds,"OR")},T.prototype.evaluate=function(t,e){for(var n=0;n3?t.slice(3):t},e.dP=o,e.u5=s,e.$G=E},55099:function(t,e,n){var r=n(85319).Token;n(24088).Interval;var i=n(24088).V,o=n(42105).$G,E=n(42105).u5;function s(t){if(null==t)throw"target cannot be null.";return this.target=t,this.isEpsilon=!1,this.label=null,this}function a(t,e){return s.call(this,t),this.label_=e,this.label=this.makeLabel(),this.serializationType=s.ATOM,this}function T(t,e,n,r){return s.call(this,t),this.ruleIndex=e,this.precedence=n,this.followState=r,this.serializationType=s.RULE,this.isEpsilon=!0,this}function u(t,e){return s.call(this,t),this.serializationType=s.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=e,this}function S(t,e,n){return s.call(this,t),this.serializationType=s.RANGE,this.start=e,this.stop=n,this.label=this.makeLabel(),this}function c(t){return s.call(this,t),this}function l(t,e,n,r){return c.call(this,t),this.serializationType=s.PREDICATE,this.ruleIndex=e,this.predIndex=n,this.isCtxDependent=r,this.isEpsilon=!0,this}function R(t,e,n,r){return s.call(this,t),this.serializationType=s.ACTION,this.ruleIndex=e,this.actionIndex=void 0===n?-1:n,this.isCtxDependent=void 0!==r&&r,this.isEpsilon=!0,this}function A(t,e){return s.call(this,t),this.serializationType=s.SET,null!=e?this.label=e:(this.label=new i,this.label.addOne(r.INVALID_TYPE)),this}function I(t,e){return A.call(this,t,e),this.serializationType=s.NOT_SET,this}function N(t){return s.call(this,t),this.serializationType=s.WILDCARD,this}function p(t,e){return c.call(this,t),this.serializationType=s.PRECEDENCE,this.precedence=e,this.isEpsilon=!0,this}s.EPSILON=1,s.RANGE=2,s.RULE=3,s.PREDICATE=4,s.ATOM=5,s.ACTION=6,s.SET=7,s.NOT_SET=8,s.WILDCARD=9,s.PRECEDENCE=10,s.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],s.serializationTypes={EpsilonTransition:s.EPSILON,RangeTransition:s.RANGE,RuleTransition:s.RULE,PredicateTransition:s.PREDICATE,AtomTransition:s.ATOM,ActionTransition:s.ACTION,SetTransition:s.SET,NotSetTransition:s.NOT_SET,WildcardTransition:s.WILDCARD,PrecedencePredicateTransition:s.PRECEDENCE},a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.makeLabel=function(){var t=new i;return t.addOne(this.label_),t},a.prototype.matches=function(t,e,n){return this.label_===t},a.prototype.toString=function(){return this.label_},T.prototype=Object.create(s.prototype),T.prototype.constructor=T,T.prototype.matches=function(t,e,n){return!1},u.prototype=Object.create(s.prototype),u.prototype.constructor=u,u.prototype.matches=function(t,e,n){return!1},u.prototype.toString=function(){return"epsilon"},S.prototype=Object.create(s.prototype),S.prototype.constructor=S,S.prototype.makeLabel=function(){var t=new i;return t.addRange(this.start,this.stop),t},S.prototype.matches=function(t,e,n){return t>=this.start&&t<=this.stop},S.prototype.toString=function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"},c.prototype=Object.create(s.prototype),c.prototype.constructor=c,l.prototype=Object.create(c.prototype),l.prototype.constructor=l,l.prototype.matches=function(t,e,n){return!1},l.prototype.getPredicate=function(){return new o(this.ruleIndex,this.predIndex,this.isCtxDependent)},l.prototype.toString=function(){return"pred_"+this.ruleIndex+":"+this.predIndex},R.prototype=Object.create(s.prototype),R.prototype.constructor=R,R.prototype.matches=function(t,e,n){return!1},R.prototype.toString=function(){return"action_"+this.ruleIndex+":"+this.actionIndex},A.prototype=Object.create(s.prototype),A.prototype.constructor=A,A.prototype.matches=function(t,e,n){return this.label.contains(t)},A.prototype.toString=function(){return this.label.toString()},I.prototype=Object.create(A.prototype),I.prototype.constructor=I,I.prototype.matches=function(t,e,n){return t>=e&&t<=n&&!A.prototype.matches.call(this,t,e,n)},I.prototype.toString=function(){return"~"+A.prototype.toString.call(this)},N.prototype=Object.create(s.prototype),N.prototype.constructor=N,N.prototype.matches=function(t,e,n){return t>=e&&t<=n},N.prototype.toString=function(){return"."},p.prototype=Object.create(c.prototype),p.prototype.constructor=p,p.prototype.matches=function(t,e,n){return!1},p.prototype.getPredicate=function(){return new E(this.precedence)},p.prototype.toString=function(){return this.precedence+" >= _p"},e.Transition=s,e.AtomTransition=a,e.SetTransition=A,e.NotSetTransition=I,e.RuleTransition=T,e.ActionTransition=R,e.EpsilonTransition=u,e.RangeTransition=S,e.WildcardTransition=N,e.PredicateTransition=l,e.PrecedencePredicateTransition=p,e.AbstractPredicateTransition=c},99548:function(t,e,n){e.ATN=n(73600).ATN,e.ATNDeserializer=n(28833).ATNDeserializer,e.LexerATNSimulator=n(45145).LexerATNSimulator,e.ParserATNSimulator=n(61807).ParserATNSimulator,e.PredictionMode=n(28895).PredictionMode},94878:function(t,e,n){var r=n(28561).Set,i=n(42603).B,o=n(9215).StarLoopEntryState,E=n(58254).B,s=n(86336).DFASerializer,a=n(86336).LexerDFASerializer;function T(t,e){if(void 0===e&&(e=0),this.atnStartState=t,this.decision=e,this._states=new r,this.s0=null,this.precedenceDfa=!1,t instanceof o&&t.isPrecedenceDecision){this.precedenceDfa=!0;var n=new i(null,new E);n.edges=[],n.isAcceptState=!1,n.requiresFullContext=!1,this.s0=n}return this}T.prototype.getPrecedenceStartState=function(t){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return t<0||t>=this.s0.edges.length?null:this.s0.edges[t]||null},T.prototype.setPrecedenceStartState=function(t,e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";t<0||(this.s0.edges[t]=e)},T.prototype.setPrecedenceDfa=function(t){if(this.precedenceDfa!==t){if(this._states=new DFAStatesSet,t){var e=new i(null,new E);e.edges=[],e.isAcceptState=!1,e.requiresFullContext=!1,this.s0=e}else this.s0=null;this.precedenceDfa=t}},Object.defineProperty(T.prototype,"states",{get:function(){return this._states}}),T.prototype.sortedStates=function(){return this._states.values().sort(function(t,e){return t.stateNumber-e.stateNumber})},T.prototype.toString=function(t,e){return(t=t||null,e=e||null,null===this.s0)?"":new s(this,t,e).toString()},T.prototype.toLexerString=function(){return null===this.s0?"":new a(this).toString()},e.DFA=T},86336:function(t,e){function n(t,e,n){return this.dfa=t,this.literalNames=e||[],this.symbolicNames=n||[],this}function r(t){return n.call(this,t,null),this}n.prototype.toString=function(){if(null===this.dfa.s0)return null;for(var t="",e=this.dfa.sortedStates(),n=0;n")).concat(this.getStateString(E))).concat("\n"))}}return 0===t.length?null:t},n.prototype.getEdgeLabel=function(t){return 0===t?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[t-1]||this.symbolicNames[t-1]:String.fromCharCode(t-1)},n.prototype.getStateString=function(t){var e=(t.isAcceptState?":":"")+"s"+t.stateNumber+(t.requiresFullContext?"^":"");return t.isAcceptState?null!==t.predicates?e+"=>"+t.predicates.toString():e+"=>"+t.prediction.toString():e},r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.prototype.getEdgeLabel=function(t){return"'"+String.fromCharCode(t)+"'"},e.DFASerializer=n,e.LexerDFASerializer=r},42603:function(t,e,n){var r=n(58254).B,i=n(28561),o=i.Hash,E=i.Set;function s(t,e){return this.alt=e,this.pred=t,this}function a(t,e){return null===t&&(t=-1),null===e&&(e=new r),this.stateNumber=t,this.configs=e,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}s.prototype.toString=function(){return"("+this.pred+", "+this.alt+")"},a.prototype.getAltSet=function(){var t=new E;if(null!==this.configs)for(var e=0;e=i.length)return""+n;var o=i[r]||null;return null===o||0===o.length?""+n:""+n+" ("+o+")"},E.prototype.getConflictingAlts=function(t,e){if(null!==t)return t;for(var n=new r,i=0;i=0&&t.consume(),this.lastErrorIndex=t._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(t.state);var n=this.getErrorRecoverySet(t);this.consumeUntil(t,n)},l.prototype.sync=function(t){if(!this.inErrorRecoveryMode(t)){var e=t._interp.atn.states[t.state],n=t.getTokenStream().LA(1),i=t.atn.nextTokens(e);if(!(i.contains(r.EPSILON)||i.contains(n)))switch(e.stateType){case T.BLOCK_START:case T.STAR_BLOCK_START:case T.PLUS_BLOCK_START:case T.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(t))return;throw new E(t);case T.PLUS_LOOP_BACK:case T.STAR_LOOP_BACK:this.reportUnwantedToken(t);var o=new S;o.addSet(t.getExpectedTokens());var s=o.addSet(this.getErrorRecoverySet(t));this.consumeUntil(t,s)}}},l.prototype.reportNoViableAlternative=function(t,e){var n,i=t.getTokenStream();n=null!==i?e.startToken.type===r.EOF?"":i.getText(new u(e.startToken.tokenIndex,e.offendingToken.tokenIndex)):"";var o="no viable alternative at input "+this.escapeWSAndQuote(n);t.notifyErrorListeners(o,e.offendingToken,e)},l.prototype.reportInputMismatch=function(t,e){var n="mismatched input "+this.getTokenErrorDisplay(e.offendingToken)+" expecting "+e.getExpectedTokens().toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(n,e.offendingToken,e)},l.prototype.reportFailedPredicate=function(t,e){var n="rule "+t.ruleNames[t._ctx.ruleIndex]+" "+e.message;t.notifyErrorListeners(n,e.offendingToken,e)},l.prototype.reportUnwantedToken=function(t){if(!this.inErrorRecoveryMode(t)){this.beginErrorCondition(t);var e=t.getCurrentToken(),n="extraneous input "+this.getTokenErrorDisplay(e)+" expecting "+this.getExpectedTokens(t).toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(n,e,null)}},l.prototype.reportMissingToken=function(t){if(!this.inErrorRecoveryMode(t)){this.beginErrorCondition(t);var e=t.getCurrentToken(),n="missing "+this.getExpectedTokens(t).toString(t.literalNames,t.symbolicNames)+" at "+this.getTokenErrorDisplay(e);t.notifyErrorListeners(n,e,null)}},l.prototype.recoverInline=function(t){var e=this.singleTokenDeletion(t);if(null!==e)return t.consume(),e;if(this.singleTokenInsertion(t))return this.getMissingSymbol(t);throw new E(t)},l.prototype.singleTokenInsertion=function(t){var e=t.getTokenStream().LA(1),n=t._interp.atn,r=n.states[t.state].transitions[0].target;return!!n.nextTokens(r,t._ctx).contains(e)&&(this.reportMissingToken(t),!0)},l.prototype.singleTokenDeletion=function(t){var e=t.getTokenStream().LA(2);if(!this.getExpectedTokens(t).contains(e))return null;this.reportUnwantedToken(t),t.consume();var n=t.getCurrentToken();return this.reportMatch(t),n},l.prototype.getMissingSymbol=function(t){var e,n=t.getCurrentToken(),i=this.getExpectedTokens(t).first();e=i===r.EOF?"":"";var o=n,E=t.getTokenStream().LT(-1);return o.type===r.EOF&&null!==E&&(o=E),t.getTokenFactory().create(o.source,i,e,r.DEFAULT_CHANNEL,-1,-1,o.line,o.column)},l.prototype.getExpectedTokens=function(t){return t.getExpectedTokens()},l.prototype.getTokenErrorDisplay=function(t){if(null===t)return"";var e=t.text;return null===e&&(e=t.type===r.EOF?"":"<"+t.type+">"),this.escapeWSAndQuote(e)},l.prototype.escapeWSAndQuote=function(t){return"'"+(t=(t=(t=t.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"},l.prototype.getErrorRecoverySet=function(t){for(var e=t._interp.atn,n=t._ctx,i=new S;null!==n&&n.invokingState>=0;){var o=e.states[n.invokingState].transitions[0],E=e.nextTokens(o.followState);i.addSet(E),n=n.parentCtx}return i.removeOne(r.EPSILON),i},l.prototype.consumeUntil=function(t,e){for(var n=t.getTokenStream().LA(1);n!==r.EOF&&!e.contains(n);)t.consume(),n=t.getTokenStream().LA(1)},R.prototype=Object.create(l.prototype),R.prototype.constructor=R,R.prototype.recover=function(t,e){for(var n=t._ctx;null!==n;)n.exception=e,n=n.parentCtx;throw new a(e)},R.prototype.recoverInline=function(t){this.recover(t,new E(t))},R.prototype.sync=function(t){},e.BailErrorStrategy=R,e.t=l},72874:function(t,e,n){var r=n(55099).PredicateTransition;function i(t){return Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,i):Error().stack,this.message=t.message,this.recognizer=t.recognizer,this.input=t.input,this.ctx=t.ctx,this.offendingToken=null,this.offendingState=-1,null!==this.recognizer&&(this.offendingState=this.recognizer.state),this}function o(t,e,n,r){return i.call(this,{message:"",recognizer:t,input:e,ctx:null}),this.startIndex=n,this.deadEndConfigs=r,this}function E(t,e,n,r,o,E){E=E||t._ctx,r=r||t.getCurrentToken(),n=n||t.getCurrentToken(),e=e||t.getInputStream(),i.call(this,{message:"",recognizer:t,input:e,ctx:E}),this.deadEndConfigs=o,this.startToken=n,this.offendingToken=r}function s(t){i.call(this,{message:"",recognizer:t,input:t.getInputStream(),ctx:t._ctx}),this.offendingToken=t.getCurrentToken()}function a(t,e,n){i.call(this,{message:this.formatMessage(e,n||null),recognizer:t,input:t.getInputStream(),ctx:t._ctx});var o=t._interp.atn.states[t.state].transitions[0];return o instanceof r?(this.ruleIndex=o.ruleIndex,this.predicateIndex=o.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=e,this.offendingToken=t.getCurrentToken(),this}function T(){return Error.call(this),Error.captureStackTrace(this,T),this}i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i.prototype.getExpectedTokens=function(){return null!==this.recognizer?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null},i.prototype.toString=function(){return this.message},o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.toString=function(){var t="";return this.startIndex>=0&&this.startIndex=r)){var o=n.charCodeAt(i);return o>=55296&&o<=56319&&r>i+1&&(e=n.charCodeAt(i+1))>=56320&&e<=57343?(o-55296)*1024+e-56320+65536:o}},t?t(String.prototype,"codePointAt",{value:e,configurable:!0,writable:!0}):String.prototype.codePointAt=e}},92085:function(){/*! https://mths.be/fromcodepoint v0.2.1 by @mathias */if(!String.fromCodePoint){var t,e,n,r;t=function(){try{var t={},e=Object.defineProperty,n=e(t,t,t)&&e}catch(t){}return n}(),e=String.fromCharCode,n=Math.floor,r=function(t){var r,i,o=[],E=-1,s=arguments.length;if(!s)return"";for(var a="";++E1114111||n(T)!=T)throw RangeError("Invalid code point: "+T);T<=65535?o.push(T):(T-=65536,r=(T>>10)+55296,i=T%1024+56320,o.push(r,i)),(E+1==s||o.length>16384)&&(a+=e.apply(null,o),o.length=0)}return a},t?t(String,"fromCodePoint",{value:r,configurable:!0,writable:!0}):String.fromCodePoint=r}},62438:function(t,e,n){var r=n(85319).Token,i=n(24088).Interval,o=new i(-1,-2);function E(){return this}function s(){return E.call(this),this}function a(){return s.call(this),this}function T(){return a.call(this),this}function u(){return a.call(this),this}function S(){return u.call(this),this}function c(){return this}function l(){return this}function R(t){return u.call(this),this.parentCtx=null,this.symbol=t,this}function A(t){return R.call(this,t),this}function I(){return this}n(28561),s.prototype=Object.create(E.prototype),s.prototype.constructor=s,a.prototype=Object.create(s.prototype),a.prototype.constructor=a,T.prototype=Object.create(a.prototype),T.prototype.constructor=T,u.prototype=Object.create(a.prototype),u.prototype.constructor=u,S.prototype=Object.create(u.prototype),S.prototype.constructor=S,c.prototype.visit=function(t){return Array.isArray(t)?t.map(function(t){return t.accept(this)},this):t.accept(this)},c.prototype.visitChildren=function(t){return t.children?this.visit(t.children):null},c.prototype.visitTerminal=function(t){},c.prototype.visitErrorNode=function(t){},l.prototype.visitTerminal=function(t){},l.prototype.visitErrorNode=function(t){},l.prototype.enterEveryRule=function(t){},l.prototype.exitEveryRule=function(t){},R.prototype=Object.create(u.prototype),R.prototype.constructor=R,R.prototype.getChild=function(t){return null},R.prototype.getSymbol=function(){return this.symbol},R.prototype.getParent=function(){return this.parentCtx},R.prototype.getPayload=function(){return this.symbol},R.prototype.getSourceInterval=function(){if(null===this.symbol)return o;var t=this.symbol.tokenIndex;return new i(t,t)},R.prototype.getChildCount=function(){return 0},R.prototype.accept=function(t){return t.visitTerminal(this)},R.prototype.getText=function(){return this.symbol.text},R.prototype.toString=function(){return this.symbol.type===r.EOF?"":this.symbol.text},A.prototype=Object.create(R.prototype),A.prototype.constructor=A,A.prototype.isErrorNode=function(){return!0},A.prototype.accept=function(t){return t.visitErrorNode(this)},I.prototype.walk=function(t,e){if(e instanceof S||void 0!==e.isErrorNode&&e.isErrorNode())t.visitErrorNode(e);else if(e instanceof u)t.visitTerminal(e);else{this.enterRule(t,e);for(var n=0;n0&&(i=u.toStringTree(t.getChild(0),e),E=E.concat(i));for(var s=1;s9007199254740991)return r;do n%2&&(r+=t),(n=e(n/2))&&(t+=t);while(n);return r}},14259:function(t){t.exports=function(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r=i?t:r(t,e,n)}},5512:function(t,e,n){var r=n(42118);t.exports=function(t,e){for(var n=t.length;n--&&r(e,t[n],0)>-1;);return n}},83140:function(t,e,n){var r=n(44286),i=n(62689),o=n(676);t.exports=function(t){return i(t)?o(t):r(t)}},676:function(t){var e="\ud800-\udfff",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\ud83c[\udffb-\udfff]",i="[^"+e+"]",o="(?:\ud83c[\udde6-\uddff]){2}",E="[\ud800-\udbff][\udc00-\udfff]",s="(?:"+n+"|"+r+")?",a="[\\ufe0e\\ufe0f]?",T="(?:\\u200d(?:"+[i,o,E].join("|")+")"+a+s+")*",u=RegExp(r+"(?="+r+")|(?:"+[i+n+"?",n,o,E,"["+e+"]"].join("|")+")"+(a+s+T),"g");t.exports=function(t){return t.match(u)||[]}},3522:function(t,e,n){var r=n(79833),i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source);t.exports=function(t){return(t=r(t))&&o.test(t)?t.replace(i,"\\$&"):t}},64721:function(t,e,n){var r=n(42118),i=n(98612),o=n(47037),E=n(40554),s=n(52628),a=Math.max;t.exports=function(t,e,n,T){t=i(t)?t:s(t),n=n&&!T?E(n):0;var u=t.length;return n<0&&(n=a(u+n,0)),o(t)?n<=u&&t.indexOf(e,n)>-1:!!u&&r(t,e,n)>-1}},66796:function(t,e,n){var r=n(99935),i=n(16612),o=n(40554),E=n(79833);t.exports=function(t,e,n){return e=(n?i(t,e,n):void 0===e)?1:o(e),r(E(t),e)}},10691:function(t,e,n){var r=n(80531),i=n(40180),o=n(5512),E=n(83140),s=n(79833),a=n(67990);t.exports=function(t,e,n){if((t=s(t))&&(n||void 0===e))return t.slice(0,a(t)+1);if(!t||!(e=r(e)))return t;var T=E(t),u=o(T,E(e))+1;return i(T,0,u).join("")}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8070.e5db442b4191abcb.js b/dbgpt/app/static/web/_next/static/chunks/8070.bdcb20f9c66f369c.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/8070.e5db442b4191abcb.js rename to dbgpt/app/static/web/_next/static/chunks/8070.bdcb20f9c66f369c.js index 2d8fa3de5..609edc5ff 100644 --- a/dbgpt/app/static/web/_next/static/chunks/8070.e5db442b4191abcb.js +++ b/dbgpt/app/static/web/_next/static/chunks/8070.bdcb20f9c66f369c.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8070],{8070:function(e,t,s){s.r(t),s.d(t,{conf:function(){return n},language:function(){return r}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var n={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},r={defaultToken:"",tokenPostfix:".perl",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["__DATA__","else","lock","__END__","elsif","lt","__FILE__","eq","__LINE__","exp","ne","sub","__PACKAGE__","for","no","and","foreach","or","unless","cmp","ge","package","until","continue","gt","while","CORE","if","xor","do","le","__DIE__","__WARN__"],builtinFunctions:["-A","END","length","setpgrp","-B","endgrent","link","setpriority","-b","endhostent","listen","setprotoent","-C","endnetent","local","setpwent","-c","endprotoent","localtime","setservent","-d","endpwent","log","setsockopt","-e","endservent","lstat","shift","-f","eof","map","shmctl","-g","eval","mkdir","shmget","-k","exec","msgctl","shmread","-l","exists","msgget","shmwrite","-M","exit","msgrcv","shutdown","-O","fcntl","msgsnd","sin","-o","fileno","my","sleep","-p","flock","next","socket","-r","fork","not","socketpair","-R","format","oct","sort","-S","formline","open","splice","-s","getc","opendir","split","-T","getgrent","ord","sprintf","-t","getgrgid","our","sqrt","-u","getgrnam","pack","srand","-w","gethostbyaddr","pipe","stat","-W","gethostbyname","pop","state","-X","gethostent","pos","study","-x","getlogin","print","substr","-z","getnetbyaddr","printf","symlink","abs","getnetbyname","prototype","syscall","accept","getnetent","push","sysopen","alarm","getpeername","quotemeta","sysread","atan2","getpgrp","rand","sysseek","AUTOLOAD","getppid","read","system","BEGIN","getpriority","readdir","syswrite","bind","getprotobyname","readline","tell","binmode","getprotobynumber","readlink","telldir","bless","getprotoent","readpipe","tie","break","getpwent","recv","tied","caller","getpwnam","redo","time","chdir","getpwuid","ref","times","CHECK","getservbyname","rename","truncate","chmod","getservbyport","require","uc","chomp","getservent","reset","ucfirst","chop","getsockname","return","umask","chown","getsockopt","reverse","undef","chr","glob","rewinddir","UNITCHECK","chroot","gmtime","rindex","unlink","close","goto","rmdir","unpack","closedir","grep","say","unshift","connect","hex","scalar","untie","cos","index","seek","use","crypt","INIT","seekdir","utime","dbmclose","int","select","values","dbmopen","ioctl","semctl","vec","defined","join","semget","wait","delete","keys","semop","waitpid","DESTROY","kill","send","wantarray","die","last","setgrent","warn","dump","lc","sethostent","write","each","lcfirst","setnetent"],builtinFileHandlers:["ARGV","STDERR","STDOUT","ARGVOUT","STDIN","ENV"],builtinVariables:["$!","$^RE_TRIE_MAXBUF","$LAST_REGEXP_CODE_RESULT",'$"',"$^S","$LIST_SEPARATOR","$#","$^T","$MATCH","$$","$^TAINT","$MULTILINE_MATCHING","$%","$^UNICODE","$NR","$&","$^UTF8LOCALE","$OFMT","$'","$^V","$OFS","$(","$^W","$ORS","$)","$^WARNING_BITS","$OS_ERROR","$*","$^WIDE_SYSTEM_CALLS","$OSNAME","$+","$^X","$OUTPUT_AUTO_FLUSH","$,","$_","$OUTPUT_FIELD_SEPARATOR","$-","$`","$OUTPUT_RECORD_SEPARATOR","$.","$a","$PERL_VERSION","$/","$ACCUMULATOR","$PERLDB","$0","$ARG","$PID","$:","$ARGV","$POSTMATCH","$;","$b","$PREMATCH","$<","$BASETIME","$PROCESS_ID","$=","$CHILD_ERROR","$PROGRAM_NAME","$>","$COMPILING","$REAL_GROUP_ID","$?","$DEBUGGING","$REAL_USER_ID","$@","$EFFECTIVE_GROUP_ID","$RS","$[","$EFFECTIVE_USER_ID","$SUBSCRIPT_SEPARATOR","$\\","$EGID","$SUBSEP","$]","$ERRNO","$SYSTEM_FD_MAX","$^","$EUID","$UID","$^A","$EVAL_ERROR","$WARNING","$^C","$EXCEPTIONS_BEING_CAUGHT","$|","$^CHILD_ERROR_NATIVE","$EXECUTABLE_NAME","$~","$^D","$EXTENDED_OS_ERROR","%!","$^E","$FORMAT_FORMFEED","%^H","$^ENCODING","$FORMAT_LINE_BREAK_CHARACTERS","%ENV","$^F","$FORMAT_LINES_LEFT","%INC","$^H","$FORMAT_LINES_PER_PAGE","%OVERLOAD","$^I","$FORMAT_NAME","%SIG","$^L","$FORMAT_PAGE_NUMBER","@+","$^M","$FORMAT_TOP_NAME","@-","$^N","$GID","@_","$^O","$INPLACE_EDIT","@ARGV","$^OPEN","$INPUT_LINE_NUMBER","@INC","$^P","$INPUT_RECORD_SEPARATOR","@LAST_MATCH_START","$^R","$LAST_MATCH_END","$^RE_DEBUG_FLAGS","$LAST_PAREN_MATCH"],symbols:/[:+\-\^*$&%@=<>!?|\/~\.]/,quoteLikeOps:["qr","m","s","q","qq","qx","qw","tr","y"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/[a-zA-Z\-_][\w\-_]*/,{cases:{"@keywords":"keyword","@builtinFunctions":"type.identifier","@builtinFileHandlers":"variable.predefined","@quoteLikeOps":{token:"@rematch",next:"quotedConstructs"},"@default":""}}],[/[\$@%][*@#?\+\-\$!\w\\\^><~:;\.]+/,{cases:{"@builtinVariables":"variable.predefined","@default":"variable"}}],{include:"@strings"},{include:"@dblStrings"},{include:"@perldoc"},{include:"@heredoc"},[/[{}\[\]()]/,"@brackets"],[/[\/](?:(?:\[(?:\\]|[^\]])+\])|(?:\\\/|[^\]\/]))*[\/]\w*\s*(?=[).,;]|$)/,"regexp"],[/@symbols/,"operators"],{include:"@numbers"},[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"],[/(^#!.*$)/,"metatag"],[/(^#.*$)/,"comment"]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"]],strings:[[/'/,"string","@stringBody"]],stringBody:[[/'/,"string","@popall"],[/\\'/,"string.escape"],[/./,"string"]],dblStrings:[[/"/,"string","@dblStringBody"]],dblStringBody:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],{include:"@variables"},[/./,"string"]],quotedConstructs:[[/(q|qw|tr|y)\s*\(/,{token:"string.delim",switchTo:"@qstring.(.)"}],[/(q|qw|tr|y)\s*\[/,{token:"string.delim",switchTo:"@qstring.[.]"}],[/(q|qw|tr|y)\s*\{/,{token:"string.delim",switchTo:"@qstring.{.}"}],[/(q|qw|tr|y)\s*"}],[/(q|qw|tr|y)#/,{token:"string.delim",switchTo:"@qstring.#.#"}],[/(q|qw|tr|y)\s*([^A-Za-z0-9#\s])/,{token:"string.delim",switchTo:"@qstring.$2.$2"}],[/(q|qw|tr|y)\s+(\w)/,{token:"string.delim",switchTo:"@qstring.$2.$2"}],[/(qr|m|s)\s*\(/,{token:"regexp.delim",switchTo:"@qregexp.(.)"}],[/(qr|m|s)\s*\[/,{token:"regexp.delim",switchTo:"@qregexp.[.]"}],[/(qr|m|s)\s*\{/,{token:"regexp.delim",switchTo:"@qregexp.{.}"}],[/(qr|m|s)\s*"}],[/(qr|m|s)#/,{token:"regexp.delim",switchTo:"@qregexp.#.#"}],[/(qr|m|s)\s*([^A-Za-z0-9_#\s])/,{token:"regexp.delim",switchTo:"@qregexp.$2.$2"}],[/(qr|m|s)\s+(\w)/,{token:"regexp.delim",switchTo:"@qregexp.$2.$2"}],[/(qq|qx)\s*\(/,{token:"string.delim",switchTo:"@qqstring.(.)"}],[/(qq|qx)\s*\[/,{token:"string.delim",switchTo:"@qqstring.[.]"}],[/(qq|qx)\s*\{/,{token:"string.delim",switchTo:"@qqstring.{.}"}],[/(qq|qx)\s*"}],[/(qq|qx)#/,{token:"string.delim",switchTo:"@qqstring.#.#"}],[/(qq|qx)\s*([^A-Za-z0-9#\s])/,{token:"string.delim",switchTo:"@qqstring.$2.$2"}],[/(qq|qx)\s+(\w)/,{token:"string.delim",switchTo:"@qqstring.$2.$2"}]],qstring:[[/\\./,"string.escape"],[/./,{cases:{"$#==$S3":{token:"string.delim",next:"@pop"},"$#==$S2":{token:"string.delim",next:"@push"},"@default":"string"}}]],qregexp:[{include:"@variables"},[/\\./,"regexp.escape"],[/./,{cases:{"$#==$S3":{token:"regexp.delim",next:"@regexpModifiers"},"$#==$S2":{token:"regexp.delim",next:"@push"},"@default":"regexp"}}]],regexpModifiers:[[/[msixpodualngcer]+/,{token:"regexp.modifier",next:"@popall"}]],qqstring:[{include:"@variables"},{include:"@qstring"}],heredoc:[[/<<\s*['"`]?([\w\-]+)['"`]?/,{token:"string.heredoc.delimiter",next:"@heredocBody.$1"}]],heredocBody:[[/^([\w\-]+)$/,{cases:{"$1==$S2":[{token:"string.heredoc.delimiter",next:"@popall"}],"@default":"string.heredoc"}}],[/./,"string.heredoc"]],perldoc:[[/^=\w/,"comment.doc","@perldocBody"]],perldocBody:[[/^=cut\b/,"type.identifier","@popall"],[/./,"comment.doc"]],variables:[[/\$\w+/,"variable"],[/@\w+/,"variable"],[/%\w+/,"variable"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8084.4530b10be36fe525.js b/dbgpt/app/static/web/_next/static/chunks/8084.9c5525713f6a5357.js similarity index 97% rename from dbgpt/app/static/web/_next/static/chunks/8084.4530b10be36fe525.js rename to dbgpt/app/static/web/_next/static/chunks/8084.9c5525713f6a5357.js index d2b261078..8974b19cb 100644 --- a/dbgpt/app/static/web/_next/static/chunks/8084.4530b10be36fe525.js +++ b/dbgpt/app/static/web/_next/static/chunks/8084.9c5525713f6a5357.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8084],{98084:function(e,o,n){n.r(o),n.d(o,{conf:function(){return t},language:function(){return s}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var t={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}]},s={defaultToken:"",tokenPostfix:".pascaligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["begin","block","case","const","else","end","fail","for","from","function","if","is","nil","of","remove","return","skip","then","type","var","while","with","option","None","transaction"],typeKeywords:["bool","int","list","map","nat","record","string","unit","address","map","mtz","xtz"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8134.c1b28eb32abad9b5.js b/dbgpt/app/static/web/_next/static/chunks/8134.c1b28eb32abad9b5.js deleted file mode 100644 index 9c5976432..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/8134.c1b28eb32abad9b5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8134,2500,7399,8538,2524,2293,7209],{39055:function(e,t){t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"}},91321:function(e,t,r){r.d(t,{Z:function(){return u}});var n=r(87462),a=r(45987),o=r(67294),l=r(16165),c=["type","children"],i=new Set;function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e[t];if("string"==typeof r&&r.length&&!i.has(r)){var n=document.createElement("script");n.setAttribute("src",r),n.setAttribute("data-namespace",r),e.length>t+1&&(n.onload=function(){s(e,t+1)},n.onerror=function(){s(e,t+1)}),i.add(r),document.body.appendChild(n)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,r=e.extraCommonProps,i=void 0===r?{}:r;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?s(t.reverse()):s([t]));var u=o.forwardRef(function(e,t){var r=e.type,s=e.children,u=(0,a.Z)(e,c),f=null;return e.type&&(f=o.createElement("use",{xlinkHref:"#".concat(r)})),s&&(f=s),o.createElement(l.Z,(0,n.Z)({},i,u,{ref:t}),f)});return u.displayName="Iconfont",u}},52645:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=r(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},58638:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=r(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},83266:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},l=r(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},79090:function(e,t,r){var n=r(87462),a=r(67294),o=r(15294),l=r(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o.Z}))});t.Z=c},30159:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),a=r(67294),o={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=r(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},87740:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=r(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},27496:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(87462),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=r(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},41441:function(e,t,r){var n=r(87462),a=r(67294),o=r(39055),l=r(13401),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:o.Z}))});t.Z=c},2093:function(e,t,r){var n=r(97582),a=r(67294),o=r(92770);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),r=!1;return!function(){(0,n.mG)(this,void 0,void 0,function(){return(0,n.Jh)(this,function(e){switch(e.label){case 0:if(!(0,o.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||r)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){r=!0}},t)}},86250:function(e,t,r){r.d(t,{Z:function(){return O}});var n=r(67294),a=r(93967),o=r.n(a),l=r(98423),c=r(98065),i=r(53124),s=r(83559),u=r(87893);let f=["wrap","nowrap","wrap-reverse"],d=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],p=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],g=(e,t)=>{let r=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${r}`]:r&&f.includes(r)}},h=(e,t)=>{let r={};return p.forEach(n=>{r[`${e}-align-${n}`]=t.align===n}),r[`${e}-align-stretch`]=!t.align&&!!t.vertical,r},v=(e,t)=>{let r={};return d.forEach(n=>{r[`${e}-justify-${n}`]=t.justify===n}),r},m=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},b=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},y=e=>{let{componentCls:t}=e,r={};return f.forEach(e=>{r[`${t}-wrap-${e}`]={flexWrap:e}}),r},C=e=>{let{componentCls:t}=e,r={};return p.forEach(e=>{r[`${t}-align-${e}`]={alignItems:e}}),r},w=e=>{let{componentCls:t}=e,r={};return d.forEach(e=>{r[`${t}-justify-${e}`]={justifyContent:e}}),r};var x=(0,s.I$)("Flex",e=>{let{paddingXS:t,padding:r,paddingLG:n}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:r,flexGapLG:n});return[m(a),b(a),y(a),C(a),w(a)]},()=>({}),{resetStyle:!1}),$=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let Z=n.forwardRef((e,t)=>{let{prefixCls:r,rootClassName:a,className:s,style:u,flex:f,gap:d,children:p,vertical:m=!1,component:b="div"}=e,y=$(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:C,direction:w,getPrefixCls:Z}=n.useContext(i.E_),O=Z("flex",r),[k,E,j]=x(O),S=null!=m?m:null==C?void 0:C.vertical,H=o()(s,a,null==C?void 0:C.className,O,E,j,o()(Object.assign(Object.assign(Object.assign({},g(O,e)),h(O,e)),v(O,e))),{[`${O}-rtl`]:"rtl"===w,[`${O}-gap-${d}`]:(0,c.n)(d),[`${O}-vertical`]:S}),z=Object.assign(Object.assign({},null==C?void 0:C.style),u);return f&&(z.flex=f),d&&!(0,c.n)(d)&&(z.gap=d),k(n.createElement(b,Object.assign({ref:t,className:H,style:z},(0,l.Z)(y,["justify","wrap","align"])),p))});var O=Z},66309:function(e,t,r){r.d(t,{Z:function(){return H}});var n=r(67294),a=r(93967),o=r.n(a),l=r(98423),c=r(98787),i=r(69760),s=r(96159),u=r(45353),f=r(53124),d=r(47648),p=r(10274),g=r(14747),h=r(87893),v=r(83559);let m=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:a,calc:o}=e,l=o(n).sub(r).equal(),c=o(t).sub(r).equal();return{[a]:Object.assign(Object.assign({},(0,g.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,d.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:c,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:t,fontSizeIcon:r,calc:n}=e,a=e.fontSizeSM,o=(0,h.IX)(e,{tagFontSize:a,tagLineHeight:(0,d.bf)(n(e.lineHeightSM).mul(a).equal()),tagIconSize:n(r).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return o},y=e=>({defaultBg:new p.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var C=(0,v.I$)("Tag",e=>{let t=b(e);return m(t)},y),w=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let x=n.forwardRef((e,t)=>{let{prefixCls:r,style:a,className:l,checked:c,onChange:i,onClick:s}=e,u=w(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:d,tag:p}=n.useContext(f.E_),g=d("tag",r),[h,v,m]=C(g),b=o()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:c},null==p?void 0:p.className,l,v,m);return h(n.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==p?void 0:p.style),className:b,onClick:e=>{null==i||i(!c),null==s||s(e)}})))});var $=r(98719);let Z=e=>(0,$.Z)(e,(t,r)=>{let{textColor:n,lightBorderColor:a,lightColor:o,darkColor:l}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:o,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var O=(0,v.bk)(["Tag","preset"],e=>{let t=b(e);return Z(t)},y);let k=(e,t,r)=>{let n=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(r);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var E=(0,v.bk)(["Tag","status"],e=>{let t=b(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},y),j=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let S=n.forwardRef((e,t)=>{let{prefixCls:r,className:a,rootClassName:d,style:p,children:g,icon:h,color:v,onClose:m,bordered:b=!0,visible:y}=e,w=j(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:x,direction:$,tag:Z}=n.useContext(f.E_),[k,S]=n.useState(!0),H=(0,l.Z)(w,["closeIcon","closable"]);n.useEffect(()=>{void 0!==y&&S(y)},[y]);let z=(0,c.o2)(v),_=(0,c.yT)(v),M=z||_,B=Object.assign(Object.assign({backgroundColor:v&&!M?v:void 0},null==Z?void 0:Z.style),p),I=x("tag",r),[N,P,R]=C(I),L=o()(I,null==Z?void 0:Z.className,{[`${I}-${v}`]:M,[`${I}-has-color`]:v&&!M,[`${I}-hidden`]:!k,[`${I}-rtl`]:"rtl"===$,[`${I}-borderless`]:!b},a,d,P,R),V=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,T]=(0,i.Z)((0,i.w)(e),(0,i.w)(Z),{closable:!1,closeIconRender:e=>{let t=n.createElement("span",{className:`${I}-close-icon`,onClick:V},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var r;null===(r=null==e?void 0:e.onClick)||void 0===r||r.call(e,t),V(t)},className:o()(null==e?void 0:e.className,`${I}-close-icon`)}))}}),G="function"==typeof w.onClick||g&&"a"===g.type,A=h||null,D=A?n.createElement(n.Fragment,null,A,g&&n.createElement("span",null,g)):g,q=n.createElement("span",Object.assign({},H,{ref:t,className:L,style:B}),D,T,z&&n.createElement(O,{key:"preset",prefixCls:I}),_&&n.createElement(E,{key:"status",prefixCls:I}));return N(G?n.createElement(u.Z,{component:"Tag"},q):q)});S.CheckableTag=x;var H=S},48218:function(e,t,r){var n=r(85893),a=r(82353),o=r(16165),l=r(67294);t.Z=e=>{let{width:t,height:r,scene:c}=e,i=(0,l.useCallback)(()=>{switch(c){case"chat_knowledge":return a.je;case"chat_with_db_execute":return a.zM;case"chat_excel":return a.DL;case"chat_with_db_qa":case"chat_dba":return a.RD;case"chat_dashboard":return a.In;case"chat_agent":return a.si;case"chat_normal":return a.O7;default:return}},[c]);return(0,n.jsx)(o.Z,{className:"w-".concat(t||7," h-").concat(r||7),component:i()})}},70065:function(e,t,r){var n=r(91321);let a=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=a}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8232-7d47277563776def.js b/dbgpt/app/static/web/_next/static/chunks/8232-7d47277563776def.js deleted file mode 100644 index 730400e69..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/8232-7d47277563776def.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8232],{36688:function(e,t){t.Z={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"}},8232:function(e,t,n){n.d(t,{default:function(){return e_}});var r=n(65223),l=n(96641),i=n(67294),o=n(93967),a=n.n(o),s=n(29372),c=n(33603),u=n(35792);function d(e){let[t,n]=i.useState(e);return i.useEffect(()=>{let t=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(t)}},[e]),t}var f=n(47648),m=n(14747),p=n(50438),g=n(33507),h=n(87893),b=n(83559),$=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 y=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'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 ${(0,f.bf)(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),v=(e,t)=>{let{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},x=e=>{let{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,m.Wf)(e)),y(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},v(e,e.controlHeightSM)),"&-large":Object.assign({},v(e,e.controlHeightLG))})}},w=e=>{let{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:l,antCls:i,labelRequiredMarkColor:o,labelColor:a,labelFontSize:s,labelHeight:c,labelColonMarginInlineStart:u,labelColonMarginInlineEnd:d,itemMarginBottom:f}=e;return{[t]:Object.assign(Object.assign({},(0,m.Wf)(e)),{marginBottom:f,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, - &-hidden${i}-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,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:c,color:a,fontSize:s,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:o,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:u,marginInlineEnd:d},[`&${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:p.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}}})}},O=(e,t)=>{let{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"}}}}},E=e=>{let{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:r,"&-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"}}}}},j=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),S=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:j(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},C=e=>{let{componentCls:t,formItemCls:n,antCls:r}=e;return{[`${t}-vertical`]:{[`${n}:not(${n}-horizontal)`]:{[`${n}-row`]:{flexDirection:"column"},[`${n}-label > label`]:{height:"auto"},[`${n}-control`]:{width:"100%"},[`${n}-label, - ${r}-col-24${n}-label, - ${r}-col-xl-24${n}-label`]:j(e)}},[`@media (max-width: ${(0,f.bf)(e.screenXSMax)})`]:[S(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:j(e)}}}],[`@media (max-width: ${(0,f.bf)(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:j(e)}}},[`@media (max-width: ${(0,f.bf)(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:j(e)}}},[`@media (max-width: ${(0,f.bf)(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:j(e)}}}}},M=e=>{let{formItemCls:t,antCls:n}=e;return{[`${t}-vertical`]:{[`${t}-row`]:{flexDirection:"column"},[`${t}-label > label`]:{height:"auto"},[`${t}-control`]:{width:"100%"}},[`${t}-vertical ${t}-label, - ${n}-col-24${t}-label, - ${n}-col-xl-24${t}-label`]:j(e),[`@media (max-width: ${(0,f.bf)(e.screenXSMax)})`]:[S(e),{[t]:{[`${n}-col-xs-24${t}-label`]:j(e)}}],[`@media (max-width: ${(0,f.bf)(e.screenSMMax)})`]:{[t]:{[`${n}-col-sm-24${t}-label`]:j(e)}},[`@media (max-width: ${(0,f.bf)(e.screenMDMax)})`]:{[t]:{[`${n}-col-md-24${t}-label`]:j(e)}},[`@media (max-width: ${(0,f.bf)(e.screenLGMax)})`]:{[t]:{[`${n}-col-lg-24${t}-label`]:j(e)}}}},I=(e,t)=>{let n=(0,h.IX)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t});return n};var k=(0,b.I$)("Form",(e,t)=>{let{rootPrefixCls:n}=t,r=I(e,n);return[x(r),w(r),$(r),O(r,r.componentCls),O(r,r.formItemCls),E(r),C(r),M(r),(0,g.Z)(r),p.kr]},e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),{order:-1e3});let F=[];function Z(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:o=F,warnings:f=F,className:m,fieldId:p,onVisibleChanged:g}=e,{prefixCls:h}=i.useContext(r.Rk),b=`${h}-item-explain`,$=(0,u.Z)(h),[y,v,x]=k(h,$),w=(0,i.useMemo)(()=>(0,c.Z)(h),[h]),O=d(o),E=d(f),j=i.useMemo(()=>null!=t?[Z(t,"help",n)]:[].concat((0,l.Z)(O.map((e,t)=>Z(e,"error","error",t))),(0,l.Z)(E.map((e,t)=>Z(e,"warning","warning",t)))),[t,n,O,E]),S={};return p&&(S.id=`${p}_help`),y(i.createElement(s.ZP,{motionDeadline:w.motionDeadline,motionName:`${h}-show-help`,visible:!!j.length,onVisibleChanged:g},e=>{let{className:t,style:n}=e;return i.createElement("div",Object.assign({},S,{className:a()(b,t,x,$,m,v),style:n,role:"alert"}),i.createElement(s.V4,Object.assign({keys:j},(0,c.Z)(h),{motionName:`${h}-show-help-item`,component:!1}),e=>{let{key:t,error:n,errorStatus:r,className:l,style:o}=e;return i.createElement("div",{key:t,className:a()(l,{[`${b}-${r}`]:r}),style:o},n)}))}))},P=n(88692),W=n(53124),R=n(98866),q=n(98675),_=n(97647),H=n(34203);let z=e=>"object"==typeof e&&null!=e&&1===e.nodeType,T=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,L=(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,D=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},V=(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(!z(e))throw TypeError("Invalid target");let f=document.scrollingElement||document.documentElement,m=[],p=e;for(;z(p)&&d(p);){if((p=D(p))===f){m.push(p);break}null!=p&&p===document.body&&L(p)&&!L(document.documentElement)||null!=p&&L(p,u)&&m.push(p)}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:$}=window,{height:y,width:v,top:x,right:w,bottom:O,left:E}=e.getBoundingClientRect(),{top:j,right:S,bottom:C,left:M}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),I="start"===a||"nearest"===a?x-j:"end"===a?O+C:x+y/2-j+C,k="center"===s?E+v/2-M+S:"end"===s?w+S:E-M,F=[];for(let e=0;e=0&&E>=0&&O<=h&&w<=g&&x>=l&&O<=c&&E>=u&&w<=i)break;let d=getComputedStyle(t),p=parseInt(d.borderLeftWidth,10),j=parseInt(d.borderTopWidth,10),S=parseInt(d.borderRightWidth,10),C=parseInt(d.borderBottomWidth,10),M=0,Z=0,N="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-S:0,P="offsetHeight"in t?t.offsetHeight-t.clientHeight-j-C:0,W="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,R="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(f===t)M="start"===a?I:"end"===a?I-h:"nearest"===a?A($,$+h,h,j,C,$+I,$+I+y,y):I-h/2,Z="start"===s?k:"center"===s?k-g/2:"end"===s?k-g:A(b,b+g,g,p,S,b+k,b+k+v,v),M=Math.max(0,M+$),Z=Math.max(0,Z+b);else{M="start"===a?I-l-j:"end"===a?I-c+C+P:"nearest"===a?A(l,c,n,j,C+P,I,I+y,y):I-(l+n/2)+P/2,Z="start"===s?k-u-p:"center"===s?k-(u+r/2)+N/2:"end"===s?k-i+S+N:A(u,i,r,p,S+N,k,k+v,v);let{scrollLeft:e,scrollTop:o}=t;M=0===R?0:Math.max(0,Math.min(o+M/R,t.scrollHeight-n/R+P)),Z=0===W?0:Math.max(0,Math.min(e+Z/W,t.scrollWidth-r/W+N)),I+=o-M,k+=e-Z}F.push({el:t,top:M,left:Z})}return F},B=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"},X=["parentNode"];function G(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function Y(e,t){if(!e.length)return;let n=e.join("_");if(t)return`${t}_${n}`;let r=X.includes(n);return r?`form_item_${n}`:n}function K(e,t,n,r,l,i){let o=r;return void 0!==i?o=i:n.validating?o="validating":e.length?o="error":t.length?o="warning":(n.touched||l&&n.validated)&&(o="success"),o}function J(e){let t=G(e);return t.join("_")}function Q(e){let[t]=(0,P.cI)(),n=i.useRef({}),r=i.useMemo(()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{let r=J(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=function(e,t){let n=t.getFieldInstance(e),r=(0,H.bn)(n);if(r)return r;let l=Y(G(e),t.__INTERNAL__.name);if(l)return document.getElementById(l)}(e,r);n&&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;let n=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(V(e,t));let r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:l,top:i,left:o}of V(e,B(t))){let e=i-n.top+n.bottom,t=o-n.left+n.right;l.scroll({top:e,left:t,behavior:r})}}(n,Object.assign({scrollMode:"if-needed",block:"nearest"},t))},getFieldInstance:e=>{let t=J(e);return n.current[t]}}),[e,t]);return[r]}var U=n(37920),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=i.forwardRef((e,t)=>{let n=i.useContext(R.Z),{getPrefixCls:l,direction:o,form:s}=i.useContext(W.E_),{prefixCls:c,className:d,rootClassName:f,size:m,disabled:p=n,form:g,colon:h,labelAlign:b,labelWrap:$,labelCol:y,wrapperCol:v,hideRequiredMark:x,layout:w="horizontal",scrollToFirstError:O,requiredMark:E,onFinishFailed:j,name:S,style:C,feedbackIcons:M,variant:I}=e,F=ee(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Z=(0,q.Z)(m),N=i.useContext(U.Z),H=(0,i.useMemo)(()=>void 0!==E?E:!x&&(!s||void 0===s.requiredMark||s.requiredMark),[x,E,s]),z=null!=h?h:null==s?void 0:s.colon,T=l("form",c),L=(0,u.Z)(T),[A,D,V]=k(T,L),B=a()(T,`${T}-${w}`,{[`${T}-hide-required-mark`]:!1===H,[`${T}-rtl`]:"rtl"===o,[`${T}-${Z}`]:Z},V,L,D,null==s?void 0:s.className,d,f),[X]=Q(g),{__INTERNAL__:G}=X;G.name=S;let Y=(0,i.useMemo)(()=>({name:S,labelAlign:b,labelCol:y,labelWrap:$,wrapperCol:v,vertical:"vertical"===w,colon:z,requiredMark:H,itemRef:G.itemRef,form:X,feedbackIcons:M}),[S,b,y,v,w,z,H,X,M]),K=i.useRef(null);i.useImperativeHandle(t,()=>{var e;return Object.assign(Object.assign({},X),{nativeElement:null===(e=K.current)||void 0===e?void 0:e.nativeElement})});let J=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=e),X.scrollToField(t,n)}};return A(i.createElement(r.pg.Provider,{value:I},i.createElement(R.n,{disabled:p},i.createElement(_.Z.Provider,{value:Z},i.createElement(r.RV,{validateMessages:N},i.createElement(r.q3.Provider,{value:Y},i.createElement(P.ZP,Object.assign({id:S},F,{name:S,onFinishFailed:e=>{if(null==j||j(e),e.errorFields.length){let t=e.errorFields[0].name;if(void 0!==O){J(O,t);return}s&&void 0!==s.scrollToFirstError&&J(s.scrollToFirstError,t)}},form:X,ref:K,style:Object.assign(Object.assign({},null==s?void 0:s.style),C),className:B}))))))))});var en=n(30470),er=n(42550),el=n(96159),ei=n(27288),eo=n(50344);let ea=()=>{let{status:e,errors:t=[],warnings:n=[]}=(0,i.useContext)(r.aM);return{status:e,errors:t,warnings:n}};ea.Context=r.aM;var es=n(75164),ec=n(5110),eu=n(8410),ed=n(98423),ef=n(92820),em=n(21584);let ep=e=>{let{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}};var eg=(0,b.bk)(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t,r=I(e,n);return[ep(r)]}),eh=e=>{let{prefixCls:t,status:n,wrapperCol:l,children:o,errors:s,warnings:c,_internalItemRender:u,extra:d,help:f,fieldId:m,marginBottom:p,onErrorVisibleChanged:g}=e,h=`${t}-item`,b=i.useContext(r.q3),$=l||b.wrapperCol||{},y=a()(`${h}-control`,$.className),v=i.useMemo(()=>Object.assign({},b),[b]);delete v.labelCol,delete v.wrapperCol;let x=i.createElement("div",{className:`${h}-control-input`},i.createElement("div",{className:`${h}-control-input-content`},o)),w=i.useMemo(()=>({prefixCls:t,status:n}),[t,n]),O=null!==p||s.length||c.length?i.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},i.createElement(r.Rk.Provider,{value:w},i.createElement(N,{fieldId:m,errors:s,warnings:c,help:f,helpStatus:n,className:`${h}-explain-connected`,onVisibleChanged:g})),!!p&&i.createElement("div",{style:{width:0,height:p}})):null,E={};m&&(E.id=`${m}_extra`);let j=d?i.createElement("div",Object.assign({},E,{className:`${h}-extra`}),d):null,S=u&&"pro_table_render"===u.mark&&u.render?u.render(e,{input:x,errorList:O,extra:j}):i.createElement(i.Fragment,null,x,O,j);return i.createElement(r.q3.Provider,{value:v},i.createElement(em.Z,Object.assign({},$,{className:y}),S),i.createElement(eg,{prefixCls:t}))},eb=n(83963),e$=n(36688),ey=n(30672),ev=i.forwardRef(function(e,t){return i.createElement(ey.Z,(0,eb.Z)({},e,{ref:t,icon:e$.Z}))}),ex=n(10110),ew=n(24457),eO=n(83062),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},ej=e=>{var t;let{prefixCls:n,label:l,htmlFor:o,labelCol:s,labelAlign:c,colon:u,required:d,requiredMark:f,tooltip:m,vertical:p}=e,[g]=(0,ex.Z)("Form"),{labelAlign:h,labelCol:b,labelWrap:$,colon:y}=i.useContext(r.q3);if(!l)return null;let v=s||b||{},x=`${n}-item-label`,w=a()(x,"left"===(c||h)&&`${x}-left`,v.className,{[`${x}-wrap`]:!!$}),O=l,E=!0===u||!1!==y&&!1!==u;E&&!p&&"string"==typeof l&&l.trim()&&(O=l.replace(/[:|:]\s*$/,""));let j=m?"object"!=typeof m||i.isValidElement(m)?{title:m}:m:null;if(j){let{icon:e=i.createElement(ev,null)}=j,t=eE(j,["icon"]),r=i.createElement(eO.Z,Object.assign({},t),i.cloneElement(e,{className:`${n}-item-tooltip`,title:"",onClick:e=>{e.preventDefault()},tabIndex:null}));O=i.createElement(i.Fragment,null,O,r)}let S="optional"===f,C="function"==typeof f;C?O=f(O,{required:!!d}):S&&!d&&(O=i.createElement(i.Fragment,null,O,i.createElement("span",{className:`${n}-item-optional`,title:""},(null==g?void 0:g.optional)||(null===(t=ew.Z.Form)||void 0===t?void 0:t.optional))));let M=a()({[`${n}-item-required`]:d,[`${n}-item-required-mark-optional`]:S||C,[`${n}-item-no-colon`]:!E});return i.createElement(em.Z,Object.assign({},v,{className:w}),i.createElement("label",{htmlFor:o,className:M,title:"string"==typeof l?l:""},O))},eS=n(19735),eC=n(17012),eM=n(29950),eI=n(19267);let ek={success:eS.Z,warning:eM.Z,error:eC.Z,validating:eI.Z};function eF(e){let{children:t,errors:n,warnings:l,hasFeedback:o,validateStatus:s,prefixCls:c,meta:u,noStyle:d}=e,f=`${c}-item`,{feedbackIcons:m}=i.useContext(r.q3),p=K(n,l,u,null,!!o,s),{isFormItemInput:g,status:h,hasFeedback:b,feedbackIcon:$}=i.useContext(r.aM),y=i.useMemo(()=>{var e;let t;if(o){let r=!0!==o&&o.icons||m,s=p&&(null===(e=null==r?void 0:r({status:p,errors:n,warnings:l}))||void 0===e?void 0:e[p]),c=p&&ek[p];t=!1!==s&&c?i.createElement("span",{className:a()(`${f}-feedback-icon`,`${f}-feedback-icon-${p}`)},s||i.createElement(c,null)):null}let r={status:p||"",errors:n,warnings:l,hasFeedback:!!o,feedbackIcon:t,isFormItemInput:!0};return d&&(r.status=(null!=p?p:h)||"",r.isFormItemInput=g,r.hasFeedback=!!(null!=o?o:b),r.feedbackIcon=void 0!==o?r.feedbackIcon:$),r},[p,o,d,g,h]);return i.createElement(r.aM.Provider,{value:y},t)}var eZ=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 eN(e){let{prefixCls:t,className:n,rootClassName:l,style:o,help:s,errors:c,warnings:u,validateStatus:f,meta:m,hasFeedback:p,hidden:g,children:h,fieldId:b,required:$,isRequired:y,onSubItemMetaChange:v,layout:x}=e,w=eZ(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),O=`${t}-item`,{requiredMark:E,vertical:j}=i.useContext(r.q3),S=i.useRef(null),C=d(c),M=d(u),I=null!=s,k=!!(I||c.length||u.length),F=!!S.current&&(0,ec.Z)(S.current),[Z,N]=i.useState(null);(0,eu.Z)(()=>{if(k&&S.current){let e=getComputedStyle(S.current);N(parseInt(e.marginBottom,10))}},[k,F]);let P=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?C:m.errors,n=e?M:m.warnings;return K(t,n,m,"",!!p,f)}(),W=a()(O,n,l,{[`${O}-with-help`]:I||C.length||M.length,[`${O}-has-feedback`]:P&&p,[`${O}-has-success`]:"success"===P,[`${O}-has-warning`]:"warning"===P,[`${O}-has-error`]:"error"===P,[`${O}-is-validating`]:"validating"===P,[`${O}-hidden`]:g,[`${O}-${x}`]:x});return i.createElement("div",{className:W,style:o,ref:S},i.createElement(ef.Z,Object.assign({className:`${O}-row`},(0,ed.Z)(w,["_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","validateDebounce"])),i.createElement(ej,Object.assign({htmlFor:b},e,{requiredMark:E,required:null!=$?$:y,prefixCls:t,vertical:j||"vertical"===x})),i.createElement(eh,Object.assign({},e,m,{errors:C,warnings:M,prefixCls:t,status:P,help:s,marginBottom:Z,onErrorVisibleChanged:e=>{e||N(null)}}),i.createElement(r.qI.Provider,{value:v},i.createElement(eF,{prefixCls:t,meta:m,errors:m.errors,warnings:m.warnings,hasFeedback:p,validateStatus:P},h)))),!!Z&&i.createElement("div",{className:`${O}-margin-offset`,style:{marginBottom:-Z}}))}let eP=i.memo(e=>{let{children:t}=e;return t},(e,t)=>(function(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>{let r=e[n],l=t[n];return r===l||"function"==typeof r||"function"==typeof l})})(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((e,n)=>e===t.childProps[n]));function eW(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}let eR=function(e){let{name:t,noStyle:n,className:o,dependencies:s,prefixCls:c,shouldUpdate:d,rules:f,children:m,required:p,label:g,messageVariables:h,trigger:b="onChange",validateTrigger:$,hidden:y,help:v,layout:x}=e,{getPrefixCls:w}=i.useContext(W.E_),{name:O}=i.useContext(r.q3),E=function(e){if("function"==typeof e)return e;let t=(0,eo.Z)(e);return t.length<=1?t[0]:t}(m),j="function"==typeof E,S=i.useContext(r.qI),{validateTrigger:C}=i.useContext(P.zb),M=void 0!==$?$:C,I=null!=t,F=w("form",c),Z=(0,u.Z)(F),[N,R,q]=k(F,Z);(0,ei.ln)("Form.Item");let _=i.useContext(P.ZM),H=i.useRef(),[z,T]=function(e){let[t,n]=i.useState(e),r=(0,i.useRef)(null),l=(0,i.useRef)([]),o=(0,i.useRef)(!1);return i.useEffect(()=>(o.current=!1,()=>{o.current=!0,es.Z.cancel(r.current),r.current=null}),[]),[t,function(e){o.current||(null===r.current&&(l.current=[],r.current=(0,es.Z)(()=>{r.current=null,n(e=>{let t=e;return l.current.forEach(e=>{t=e(t)}),t})})),l.current.push(e))}]}({}),[L,A]=(0,en.Z)(()=>eW()),D=(e,t)=>{T(n=>{let r=Object.assign({},n),i=[].concat((0,l.Z)(e.name.slice(0,-1)),(0,l.Z)(t)),o=i.join("__SPLIT__");return e.destroy?delete r[o]:r[o]=e,r})},[V,B]=i.useMemo(()=>{let e=(0,l.Z)(L.errors),t=(0,l.Z)(L.warnings);return Object.values(z).forEach(n=>{e.push.apply(e,(0,l.Z)(n.errors||[])),t.push.apply(t,(0,l.Z)(n.warnings||[]))}),[e,t]},[z,L.errors,L.warnings]),X=function(){let{itemRef:e}=i.useContext(r.q3),t=i.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,er.sQ)(e(n),l)),t.current.ref}}();function K(t,r,l){return n&&!y?i.createElement(eF,{prefixCls:F,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:L,errors:V,warnings:B,noStyle:!0},t):i.createElement(eN,Object.assign({key:"row"},e,{className:a()(o,q,Z,R),prefixCls:F,fieldId:r,isRequired:l,errors:V,warnings:B,meta:L,onSubItemMetaChange:D,layout:x}),t)}if(!I&&!j&&!s)return N(K(E));let J={};return"string"==typeof g?J.label=g:t&&(J.label=String(t)),h&&(J=Object.assign(Object.assign({},J),h)),N(i.createElement(P.gN,Object.assign({},e,{messageVariables:J,trigger:b,validateTrigger:M,onMetaChange:e=>{let t=null==_?void 0:_.getKey(e.name);if(A(e.destroy?eW():e,!0),n&&!1!==v&&S){let n=e.name;if(e.destroy)n=H.current||n;else if(void 0!==t){let[e,r]=t;n=[e].concat((0,l.Z)(r)),H.current=n}S(e,n)}}}),(n,r,o)=>{let a=G(t).length&&r?r.name:[],c=Y(a,O),u=void 0!==p?p:!!(null==f?void 0:f.some(e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){let t=e(o);return(null==t?void 0:t.required)&&!(null==t?void 0:t.warningOnly)}return!1})),m=Object.assign({},n),g=null;if(Array.isArray(E)&&I)g=E;else if(j&&(!(d||s)||I));else if(!s||j||I){if(i.isValidElement(E)){let t=Object.assign(Object.assign({},E.props),m);if(t.id||(t.id=c),v||V.length>0||B.length>0||e.extra){let n=[];(v||V.length>0)&&n.push(`${c}_help`),e.extra&&n.push(`${c}_extra`),t["aria-describedby"]=n.join(" ")}V.length>0&&(t["aria-invalid"]="true"),u&&(t["aria-required"]="true"),(0,er.Yr)(E)&&(t.ref=X(a,E));let n=new Set([].concat((0,l.Z)(G(b)),(0,l.Z)(G(M))));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};et.Item=eR,et.List=e=>{var{prefixCls:t,children:n}=e,l=eq(e,["prefixCls","children"]);let{getPrefixCls:o}=i.useContext(W.E_),a=o("form",t),s=i.useMemo(()=>({prefixCls:a,status:"error"}),[a]);return i.createElement(P.aV,Object.assign({},l),(e,t,l)=>i.createElement(r.Rk.Provider,{value:s},n(e.map(e=>Object.assign(Object.assign({},e),{fieldKey:e.key})),t,{errors:l.errors,warnings:l.warnings})))},et.ErrorList=N,et.useForm=Q,et.useFormInstance=function(){let{form:e}=(0,i.useContext)(r.q3);return e},et.useWatch=P.qo,et.Provider=r.RV,et.create=()=>{};var e_=et},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(67294),l=n(93967),i=n.n(l),o=n(53124),a=n(99134),s=n(6999),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 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 u(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let d=["xs","sm","md","lg","xl","xxl"],f=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:l}=r.useContext(o.E_),{gutter:f,wrap:m}=r.useContext(a.Z),{prefixCls:p,span:g,order:h,offset:b,push:$,pull:y,className:v,children:x,flex:w,style:O}=e,E=c(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),j=n("col",p),[S,C,M]=(0,s.cG)(j),I={},k={};d.forEach(t=>{let n={},r=e[t];"number"==typeof r?n.span=r:"object"==typeof r&&(n=r||{}),delete E[t],k=Object.assign(Object.assign({},k),{[`${j}-${t}-${n.span}`]:void 0!==n.span,[`${j}-${t}-order-${n.order}`]:n.order||0===n.order,[`${j}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${j}-${t}-push-${n.push}`]:n.push||0===n.push,[`${j}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${j}-rtl`]:"rtl"===l}),n.flex&&(k[`${j}-${t}-flex`]=!0,I[`--${j}-${t}-flex`]=u(n.flex))});let F=i()(j,{[`${j}-${g}`]:void 0!==g,[`${j}-order-${h}`]:h,[`${j}-offset-${b}`]:b,[`${j}-push-${$}`]:$,[`${j}-pull-${y}`]:y},v,k,C,M),Z={};if(f&&f[0]>0){let e=f[0]/2;Z.paddingLeft=e,Z.paddingRight=e}return w&&(Z.flex=u(w),!1!==m||Z.minWidth||(Z.minWidth=0)),S(r.createElement("div",Object.assign({},E,{style:Object.assign(Object.assign(Object.assign({},Z),O),I),className:F,ref:t}),x))});t.Z=f},92820:function(e,t,n){var r=n(67294),l=n(93967),i=n.n(l),o=n(74443),a=n(53124),s=n(99134),c=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};function d(e,t){let[n,l]=r.useState("string"==typeof e?e:""),i=()=>{if("string"==typeof e&&l(e),"object"==typeof e)for(let n=0;n{i()},[JSON.stringify(e),t]),n}let f=r.forwardRef((e,t)=>{let{prefixCls:n,justify:l,align:f,className:m,style:p,children:g,gutter:h=0,wrap:b}=e,$=u(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:y,direction:v}=r.useContext(a.E_),[x,w]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[O,E]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),j=d(f,O),S=d(l,O),C=r.useRef(h),M=(0,o.ZP)();r.useEffect(()=>{let e=M.subscribe(e=>{E(e);let t=C.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&w(e)});return()=>M.unsubscribe(e)},[]);let I=y("row",n),[k,F,Z]=(0,c.VM)(I),N=(()=>{let e=[void 0,void 0],t=Array.isArray(h)?h:[h,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let r=0;r0?-(N[0]/2):void 0;R&&(W.marginLeft=R,W.marginRight=R);let[q,_]=N;W.rowGap=_;let H=r.useMemo(()=>({gutter:[q,_],wrap:b}),[q,_,b]);return k(r.createElement(s.Z.Provider,{value:H},r.createElement("div",Object.assign({},$,{className:P,style:Object.assign(Object.assign({},W),p),ref:t}),g)))});t.Z=f},6999:function(e,t,n){n.d(t,{VM:function(){return u},cG:function(){return d}});var r=n(47648),l=n(83559),i=n(87893);let o=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},a=(e,t)=>{let{prefixCls:n,componentCls:r,gridColumns:l}=e,i={};for(let e=l;e>=0;e--)0===e?(i[`${r}${t}-${e}`]={display:"none"},i[`${r}-push-${e}`]={insetInlineStart:"auto"},i[`${r}-pull-${e}`]={insetInlineEnd:"auto"},i[`${r}${t}-push-${e}`]={insetInlineStart:"auto"},i[`${r}${t}-pull-${e}`]={insetInlineEnd:"auto"},i[`${r}${t}-offset-${e}`]={marginInlineStart:0},i[`${r}${t}-order-${e}`]={order:0}):(i[`${r}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/l*100}%`,maxWidth:`${e/l*100}%`}],i[`${r}${t}-push-${e}`]={insetInlineStart:`${e/l*100}%`},i[`${r}${t}-pull-${e}`]={insetInlineEnd:`${e/l*100}%`},i[`${r}${t}-offset-${e}`]={marginInlineStart:`${e/l*100}%`},i[`${r}${t}-order-${e}`]={order:e});return i[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},i},s=(e,t)=>a(e,t),c=(e,t,n)=>({[`@media (min-width: ${(0,r.bf)(t)})`]:Object.assign({},s(e,n))}),u=(0,l.I$)("Grid",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"}}}},()=>({})),d=(0,l.I$)("Grid",e=>{let t=(0,i.IX)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[o(t),s(t,""),s(t,"-xs"),Object.keys(n).map(e=>c(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8237-a1c0bcfc277205e0.js b/dbgpt/app/static/web/_next/static/chunks/8237-a1c0bcfc277205e0.js deleted file mode 100644 index cb2909a18..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/8237-a1c0bcfc277205e0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8237],{39055:function(e,t){t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"}},91321:function(e,t,c){c.d(t,{Z:function(){return u}});var n=c(87462),r=c(45987),a=c(67294),o=c(16165),f=["type","children"],l=new Set;function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,c=e[t];if("string"==typeof c&&c.length&&!l.has(c)){var n=document.createElement("script");n.setAttribute("src",c),n.setAttribute("data-namespace",c),e.length>t+1&&(n.onload=function(){i(e,t+1)},n.onerror=function(){i(e,t+1)}),l.add(c),document.body.appendChild(n)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,c=e.extraCommonProps,l=void 0===c?{}:c;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?i(t.reverse()):i([t]));var u=a.forwardRef(function(e,t){var c=e.type,i=e.children,u=(0,r.Z)(e,f),s=null;return e.type&&(s=a.createElement("use",{xlinkHref:"#".concat(c)})),i&&(s=i),a.createElement(o.Z,(0,n.Z)({},l,u,{ref:t}),s)});return u.displayName="Iconfont",u}},6321:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),a={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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},90389:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),a={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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},52645:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},13179:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z"}}]},name:"deployment-unit",theme:"outlined"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},47389:function(e,t,c){var n=c(87462),r=c(67294),a=c(27363),o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=f},58638:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},55287:function(e,t,c){var n=c(87462),r=c(67294),a=c(5717),o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=f},31545:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),a={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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},27595:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),a={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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},27329:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),a={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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},83266:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},68346:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),a={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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},64082:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),a={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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},79090:function(e,t,c){var n=c(87462),r=c(67294),a=c(15294),o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=f},3089:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},30159:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),a={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},51042:function(e,t,c){var n=c(87462),r=c(67294),a=c(42110),o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=f},87740:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},40110:function(e,t,c){var n=c(87462),r=c(67294),a=c(509),o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=f},27496:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},41441:function(e,t,c){var n=c(87462),r=c(67294),a=c(39055),o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=f},18754:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),a={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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},28058:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),a={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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},65886:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.9-8.1-195-3-195-3s87.4 55.6 52.4 154.7c-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6z"}}]},name:"yuque",theme:"filled"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8401.9d43e20101d60fe9.js b/dbgpt/app/static/web/_next/static/chunks/8401.9d43e20101d60fe9.js new file mode 100644 index 000000000..5c13055a5 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/8401.9d43e20101d60fe9.js @@ -0,0 +1,3 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8401],{78401:function(e,t,i){i.r(t),i.d(t,{Adapter:function(){return w},CodeActionAdaptor:function(){return M},DefinitionAdapter:function(){return F},DiagnosticsAdapter:function(){return k},FormatAdapter:function(){return N},FormatHelper:function(){return L},FormatOnTypeAdapter:function(){return K},InlayHintsAdapter:function(){return R},Kind:function(){return P},LibFiles:function(){return S},OccurrencesAdapter:function(){return D},OutlineAdapter:function(){return T},QuickInfoAdapter:function(){return A},ReferenceAdapter:function(){return I},RenameAdapter:function(){return E},SignatureHelpAdapter:function(){return C},SuggestAdapter:function(){return x},WorkerManager:function(){return h},flattenDiagnosticMessageText:function(){return _},getJavaScriptWorker:function(){return j},getTypeScriptWorker:function(){return V},setupJavaScript:function(){return W},setupTypeScript:function(){return H}});var r,s,n,a=i(72339),o=i(39585),l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,g=(e,t,i)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,p=(e,t,i,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of c(t))d.call(e,s)||s===i||l(e,s,{get:()=>t[s],enumerable:!(r=u(t,s))||r.enumerable});return e},m=(e,t,i)=>(g(e,"symbol"!=typeof t?t+"":t,i),i),f={};p(f,a,"default"),r&&p(r,a,"default");var h=class{constructor(e,t){this._modeId=e,this._defaults=t,this._worker=null,this._client=null,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker()),this._updateExtraLibsToken=0,this._extraLibsChangeListener=this._defaults.onDidExtraLibsChange(()=>this._updateExtraLibs())}_configChangeListener;_updateExtraLibsToken;_extraLibsChangeListener;_worker;_client;dispose(){this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}async _updateExtraLibs(){if(!this._worker)return;let e=++this._updateExtraLibsToken,t=await this._worker.getProxy();this._updateExtraLibsToken===e&&t.updateExtraLibs(this._defaults.getExtraLibs())}_getClient(){return this._client||(this._client=(async()=>(this._worker=f.editor.createWebWorker({moduleId:"vs/language/typescript/tsWorker",label:this._modeId,keepIdleModels:!0,createData:{compilerOptions:this._defaults.getCompilerOptions(),extraLibs:this._defaults.getExtraLibs(),customWorkerPath:this._defaults.workerOptions.customWorkerPath,inlayHintsOptions:this._defaults.inlayHintsOptions}}),this._defaults.getEagerModelSync())?await this._worker.withSyncedResources(f.editor.getModels().filter(e=>e.getLanguageId()===this._modeId).map(e=>e.uri)):await this._worker.getProxy())()),this._client}async getLanguageServiceWorker(...e){let t=await this._getClient();return this._worker&&await this._worker.withSyncedResources(e),t}},b={};function _(e,t,i=0){if("string"==typeof e)return e;if(void 0===e)return"";let r="";if(i){r+=t;for(let e=0;ee.text).join(""):""}b["lib.d.ts"]=!0,b["lib.dom.d.ts"]=!0,b["lib.dom.iterable.d.ts"]=!0,b["lib.es2015.collection.d.ts"]=!0,b["lib.es2015.core.d.ts"]=!0,b["lib.es2015.d.ts"]=!0,b["lib.es2015.generator.d.ts"]=!0,b["lib.es2015.iterable.d.ts"]=!0,b["lib.es2015.promise.d.ts"]=!0,b["lib.es2015.proxy.d.ts"]=!0,b["lib.es2015.reflect.d.ts"]=!0,b["lib.es2015.symbol.d.ts"]=!0,b["lib.es2015.symbol.wellknown.d.ts"]=!0,b["lib.es2016.array.include.d.ts"]=!0,b["lib.es2016.d.ts"]=!0,b["lib.es2016.full.d.ts"]=!0,b["lib.es2017.d.ts"]=!0,b["lib.es2017.full.d.ts"]=!0,b["lib.es2017.intl.d.ts"]=!0,b["lib.es2017.object.d.ts"]=!0,b["lib.es2017.sharedmemory.d.ts"]=!0,b["lib.es2017.string.d.ts"]=!0,b["lib.es2017.typedarrays.d.ts"]=!0,b["lib.es2018.asyncgenerator.d.ts"]=!0,b["lib.es2018.asynciterable.d.ts"]=!0,b["lib.es2018.d.ts"]=!0,b["lib.es2018.full.d.ts"]=!0,b["lib.es2018.intl.d.ts"]=!0,b["lib.es2018.promise.d.ts"]=!0,b["lib.es2018.regexp.d.ts"]=!0,b["lib.es2019.array.d.ts"]=!0,b["lib.es2019.d.ts"]=!0,b["lib.es2019.full.d.ts"]=!0,b["lib.es2019.object.d.ts"]=!0,b["lib.es2019.string.d.ts"]=!0,b["lib.es2019.symbol.d.ts"]=!0,b["lib.es2020.bigint.d.ts"]=!0,b["lib.es2020.d.ts"]=!0,b["lib.es2020.full.d.ts"]=!0,b["lib.es2020.intl.d.ts"]=!0,b["lib.es2020.promise.d.ts"]=!0,b["lib.es2020.sharedmemory.d.ts"]=!0,b["lib.es2020.string.d.ts"]=!0,b["lib.es2020.symbol.wellknown.d.ts"]=!0,b["lib.es2021.d.ts"]=!0,b["lib.es2021.full.d.ts"]=!0,b["lib.es2021.intl.d.ts"]=!0,b["lib.es2021.promise.d.ts"]=!0,b["lib.es2021.string.d.ts"]=!0,b["lib.es2021.weakref.d.ts"]=!0,b["lib.es5.d.ts"]=!0,b["lib.es6.d.ts"]=!0,b["lib.esnext.d.ts"]=!0,b["lib.esnext.full.d.ts"]=!0,b["lib.esnext.intl.d.ts"]=!0,b["lib.esnext.promise.d.ts"]=!0,b["lib.esnext.string.d.ts"]=!0,b["lib.esnext.weakref.d.ts"]=!0,b["lib.scripthost.d.ts"]=!0,b["lib.webworker.d.ts"]=!0,b["lib.webworker.importscripts.d.ts"]=!0,b["lib.webworker.iterable.d.ts"]=!0;var w=class{constructor(e){this._worker=e}_textSpanToRange(e,t){let i=e.getPositionAt(t.start),r=e.getPositionAt(t.start+t.length),{lineNumber:s,column:n}=i,{lineNumber:a,column:o}=r;return{startLineNumber:s,startColumn:n,endLineNumber:a,endColumn:o}}},S=class{constructor(e){this._worker=e,this._libFiles={},this._hasFetchedLibFiles=!1,this._fetchLibFilesPromise=null}_libFiles;_hasFetchedLibFiles;_fetchLibFilesPromise;isLibFile(e){return!!e&&0===e.path.indexOf("/lib.")&&!!b[e.path.slice(1)]}getOrCreateModel(e){let t=f.Uri.parse(e),i=f.editor.getModel(t);if(i)return i;if(this.isLibFile(t)&&this._hasFetchedLibFiles)return f.editor.createModel(this._libFiles[t.path.slice(1)],"typescript",t);let r=o.TG.getExtraLibs()[e];return r?f.editor.createModel(r.content,"typescript",t):null}_containsLibFile(e){for(let t of e)if(this.isLibFile(t))return!0;return!1}async fetchLibFilesIfNecessary(e){this._containsLibFile(e)&&await this._fetchLibFiles()}_fetchLibFiles(){return this._fetchLibFilesPromise||(this._fetchLibFilesPromise=this._worker().then(e=>e.getLibFiles()).then(e=>{this._hasFetchedLibFiles=!0,this._libFiles=e})),this._fetchLibFilesPromise}},k=class extends w{constructor(e,t,i,r){super(r),this._libFiles=e,this._defaults=t,this._selector=i;let s=e=>{let t;if(e.getLanguageId()!==i)return;let r=()=>{let{onlyVisible:t}=this._defaults.getDiagnosticsOptions();t?e.isAttachedToEditor()&&this._doValidate(e):this._doValidate(e)},s=e.onDidChangeContent(()=>{clearTimeout(t),t=window.setTimeout(r,500)}),n=e.onDidChangeAttached(()=>{let{onlyVisible:t}=this._defaults.getDiagnosticsOptions();t&&(e.isAttachedToEditor()?r():f.editor.setModelMarkers(e,this._selector,[]))});this._listener[e.uri.toString()]={dispose(){s.dispose(),n.dispose(),clearTimeout(t)}},r()},n=e=>{f.editor.setModelMarkers(e,this._selector,[]);let t=e.uri.toString();this._listener[t]&&(this._listener[t].dispose(),delete this._listener[t])};this._disposables.push(f.editor.onDidCreateModel(e=>s(e))),this._disposables.push(f.editor.onWillDisposeModel(n)),this._disposables.push(f.editor.onDidChangeModelLanguage(e=>{n(e.model),s(e.model)})),this._disposables.push({dispose(){for(let e of f.editor.getModels())n(e)}});let a=()=>{for(let e of f.editor.getModels())n(e),s(e)};this._disposables.push(this._defaults.onDidChange(a)),this._disposables.push(this._defaults.onDidExtraLibsChange(a)),f.editor.getModels().forEach(e=>s(e))}_disposables=[];_listener=Object.create(null);dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables=[]}async _doValidate(e){let t=await this._worker(e.uri);if(e.isDisposed())return;let i=[],{noSyntaxValidation:r,noSemanticValidation:s,noSuggestionDiagnostics:n}=this._defaults.getDiagnosticsOptions();r||i.push(t.getSyntacticDiagnostics(e.uri.toString())),s||i.push(t.getSemanticDiagnostics(e.uri.toString())),n||i.push(t.getSuggestionDiagnostics(e.uri.toString()));let a=await Promise.all(i);if(!a||e.isDisposed())return;let o=a.reduce((e,t)=>t.concat(e),[]).filter(e=>-1===(this._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore||[]).indexOf(e.code)),l=o.map(e=>e.relatedInformation||[]).reduce((e,t)=>t.concat(e),[]).map(e=>e.file?f.Uri.parse(e.file.fileName):null);await this._libFiles.fetchLibFilesIfNecessary(l),e.isDisposed()||f.editor.setModelMarkers(e,this._selector,o.map(t=>this._convertDiagnostics(e,t)))}_convertDiagnostics(e,t){let i=t.start||0,r=t.length||1,{lineNumber:s,column:n}=e.getPositionAt(i),{lineNumber:a,column:o}=e.getPositionAt(i+r),l=[];return t.reportsUnnecessary&&l.push(f.MarkerTag.Unnecessary),t.reportsDeprecated&&l.push(f.MarkerTag.Deprecated),{severity:this._tsDiagnosticCategoryToMarkerSeverity(t.category),startLineNumber:s,startColumn:n,endLineNumber:a,endColumn:o,message:_(t.messageText,"\n"),code:t.code.toString(),tags:l,relatedInformation:this._convertRelatedInformation(e,t.relatedInformation)}}_convertRelatedInformation(e,t){if(!t)return[];let i=[];return t.forEach(t=>{let r=e;if(t.file&&(r=this._libFiles.getOrCreateModel(t.file.fileName)),!r)return;let s=t.start||0,n=t.length||1,{lineNumber:a,column:o}=r.getPositionAt(s),{lineNumber:l,column:u}=r.getPositionAt(s+n);i.push({resource:r.uri,startLineNumber:a,startColumn:o,endLineNumber:l,endColumn:u,message:_(t.messageText,"\n")})}),i}_tsDiagnosticCategoryToMarkerSeverity(e){switch(e){case 1:return f.MarkerSeverity.Error;case 3:break;case 0:return f.MarkerSeverity.Warning;case 2:return f.MarkerSeverity.Hint}return f.MarkerSeverity.Info}},x=class extends w{get triggerCharacters(){return["."]}async provideCompletionItems(e,t,i,r){let s=e.getWordUntilPosition(t),n=new f.Range(t.lineNumber,s.startColumn,t.lineNumber,s.endColumn),a=e.uri,o=e.getOffsetAt(t),l=await this._worker(a);if(e.isDisposed())return;let u=await l.getCompletionsAtPosition(a.toString(),o);if(!u||e.isDisposed())return;let c=u.entries.map(i=>{let r=n;if(i.replacementSpan){let t=e.getPositionAt(i.replacementSpan.start),s=e.getPositionAt(i.replacementSpan.start+i.replacementSpan.length);r=new f.Range(t.lineNumber,t.column,s.lineNumber,s.column)}let s=[];return -1!==i.kindModifiers?.indexOf("deprecated")&&s.push(f.languages.CompletionItemTag.Deprecated),{uri:a,position:t,offset:o,range:r,label:i.name,insertText:i.name,sortText:i.sortText,kind:x.convertKind(i.kind),tags:s}});return{suggestions:c}}async resolveCompletionItem(e,t){let i=e.uri,r=e.position,s=e.offset,n=await this._worker(i),a=await n.getCompletionEntryDetails(i.toString(),s,e.label);return a?{uri:i,position:r,label:a.name,kind:x.convertKind(a.kind),detail:y(a.displayParts),documentation:{value:x.createDocumentationString(a)}}:e}static convertKind(e){switch(e){case P.primitiveType:case P.keyword:return f.languages.CompletionItemKind.Keyword;case P.variable:case P.localVariable:return f.languages.CompletionItemKind.Variable;case P.memberVariable:case P.memberGetAccessor:case P.memberSetAccessor:return f.languages.CompletionItemKind.Field;case P.function:case P.memberFunction:case P.constructSignature:case P.callSignature:case P.indexSignature:return f.languages.CompletionItemKind.Function;case P.enum:return f.languages.CompletionItemKind.Enum;case P.module:return f.languages.CompletionItemKind.Module;case P.class:return f.languages.CompletionItemKind.Class;case P.interface:return f.languages.CompletionItemKind.Interface;case P.warning:return f.languages.CompletionItemKind.File}return f.languages.CompletionItemKind.Property}static createDocumentationString(e){let t=y(e.documentation);if(e.tags)for(let i of e.tags)t+=` + +${v(i)}`;return t}};function v(e){let t=`*@${e.name}*`;if("param"===e.name&&e.text){let[i,...r]=e.text;t+=`\`${i.text}\``,r.length>0&&(t+=` \u2014 ${r.map(e=>e.text).join(" ")}`)}else Array.isArray(e.text)?t+=` \u2014 ${e.text.map(e=>e.text).join(" ")}`:e.text&&(t+=` \u2014 ${e.text}`);return t}var C=class extends w{signatureHelpTriggerCharacters=["(",","];static _toSignatureHelpTriggerReason(e){switch(e.triggerKind){case f.languages.SignatureHelpTriggerKind.TriggerCharacter:if(!e.triggerCharacter)return{kind:"invoked"};if(e.isRetrigger)return{kind:"retrigger",triggerCharacter:e.triggerCharacter};return{kind:"characterTyped",triggerCharacter:e.triggerCharacter};case f.languages.SignatureHelpTriggerKind.ContentChange:return e.isRetrigger?{kind:"retrigger"}:{kind:"invoked"};case f.languages.SignatureHelpTriggerKind.Invoke:default:return{kind:"invoked"}}}async provideSignatureHelp(e,t,i,r){let s=e.uri,n=e.getOffsetAt(t),a=await this._worker(s);if(e.isDisposed())return;let o=await a.getSignatureHelpItems(s.toString(),n,{triggerReason:C._toSignatureHelpTriggerReason(r)});if(!o||e.isDisposed())return;let l={activeSignature:o.selectedItemIndex,activeParameter:o.argumentIndex,signatures:[]};return o.items.forEach(e=>{let t={label:"",parameters:[]};t.documentation={value:y(e.documentation)},t.label+=y(e.prefixDisplayParts),e.parameters.forEach((i,r,s)=>{let n=y(i.displayParts),a={label:n,documentation:{value:y(i.documentation)}};t.label+=n,t.parameters.push(a),rv(e)).join(" \n\n"):"",u=y(a.displayParts);return{range:this._textSpanToRange(e,a.textSpan),contents:[{value:"```typescript\n"+u+"\n```\n"},{value:o+(l?"\n\n"+l:"")}]}}},D=class extends w{async provideDocumentHighlights(e,t,i){let r=e.uri,s=e.getOffsetAt(t),n=await this._worker(r);if(e.isDisposed())return;let a=await n.getOccurrencesAtPosition(r.toString(),s);if(!(!a||e.isDisposed()))return a.map(t=>({range:this._textSpanToRange(e,t.textSpan),kind:t.isWriteAccess?f.languages.DocumentHighlightKind.Write:f.languages.DocumentHighlightKind.Text}))}},F=class extends w{constructor(e,t){super(t),this._libFiles=e}async provideDefinition(e,t,i){let r=e.uri,s=e.getOffsetAt(t),n=await this._worker(r);if(e.isDisposed())return;let a=await n.getDefinitionAtPosition(r.toString(),s);if(!a||e.isDisposed()||(await this._libFiles.fetchLibFilesIfNecessary(a.map(e=>f.Uri.parse(e.fileName))),e.isDisposed()))return;let o=[];for(let e of a){let t=this._libFiles.getOrCreateModel(e.fileName);t&&o.push({uri:t.uri,range:this._textSpanToRange(t,e.textSpan)})}return o}},I=class extends w{constructor(e,t){super(t),this._libFiles=e}async provideReferences(e,t,i,r){let s=e.uri,n=e.getOffsetAt(t),a=await this._worker(s);if(e.isDisposed())return;let o=await a.getReferencesAtPosition(s.toString(),n);if(!o||e.isDisposed()||(await this._libFiles.fetchLibFilesIfNecessary(o.map(e=>f.Uri.parse(e.fileName))),e.isDisposed()))return;let l=[];for(let e of o){let t=this._libFiles.getOrCreateModel(e.fileName);t&&l.push({uri:t.uri,range:this._textSpanToRange(t,e.textSpan)})}return l}},T=class extends w{async provideDocumentSymbols(e,t){let i=e.uri,r=await this._worker(i);if(e.isDisposed())return;let s=await r.getNavigationBarItems(i.toString());if(!s||e.isDisposed())return;let n=(t,i,r)=>{let s={name:i.text,detail:"",kind:O[i.kind]||f.languages.SymbolKind.Variable,range:this._textSpanToRange(e,i.spans[0]),selectionRange:this._textSpanToRange(e,i.spans[0]),tags:[]};if(r&&(s.containerName=r),i.childItems&&i.childItems.length>0)for(let e of i.childItems)n(t,e,s.name);t.push(s)},a=[];return s.forEach(e=>n(a,e)),a}},P=class{};m(P,"unknown",""),m(P,"keyword","keyword"),m(P,"script","script"),m(P,"module","module"),m(P,"class","class"),m(P,"interface","interface"),m(P,"type","type"),m(P,"enum","enum"),m(P,"variable","var"),m(P,"localVariable","local var"),m(P,"function","function"),m(P,"localFunction","local function"),m(P,"memberFunction","method"),m(P,"memberGetAccessor","getter"),m(P,"memberSetAccessor","setter"),m(P,"memberVariable","property"),m(P,"constructorImplementation","constructor"),m(P,"callSignature","call"),m(P,"indexSignature","index"),m(P,"constructSignature","construct"),m(P,"parameter","parameter"),m(P,"typeParameter","type parameter"),m(P,"primitiveType","primitive type"),m(P,"label","label"),m(P,"alias","alias"),m(P,"const","const"),m(P,"let","let"),m(P,"warning","warning");var O=Object.create(null);O[P.module]=f.languages.SymbolKind.Module,O[P.class]=f.languages.SymbolKind.Class,O[P.enum]=f.languages.SymbolKind.Enum,O[P.interface]=f.languages.SymbolKind.Interface,O[P.memberFunction]=f.languages.SymbolKind.Method,O[P.memberVariable]=f.languages.SymbolKind.Property,O[P.memberGetAccessor]=f.languages.SymbolKind.Property,O[P.memberSetAccessor]=f.languages.SymbolKind.Property,O[P.variable]=f.languages.SymbolKind.Variable,O[P.const]=f.languages.SymbolKind.Variable,O[P.localVariable]=f.languages.SymbolKind.Variable,O[P.variable]=f.languages.SymbolKind.Variable,O[P.function]=f.languages.SymbolKind.Function,O[P.localFunction]=f.languages.SymbolKind.Function;var L=class extends w{static _convertOptions(e){return{ConvertTabsToSpaces:e.insertSpaces,TabSize:e.tabSize,IndentSize:e.tabSize,IndentStyle:2,NewLineCharacter:"\n",InsertSpaceAfterCommaDelimiter:!0,InsertSpaceAfterSemicolonInForStatements:!0,InsertSpaceBeforeAndAfterBinaryOperators:!0,InsertSpaceAfterKeywordsInControlFlowStatements:!0,InsertSpaceAfterFunctionKeywordForAnonymousFunctions:!0,InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,PlaceOpenBraceOnNewLineForControlBlocks:!1,PlaceOpenBraceOnNewLineForFunctions:!1}}_convertTextChanges(e,t){return{text:t.newText,range:this._textSpanToRange(e,t.span)}}},N=class extends L{async provideDocumentRangeFormattingEdits(e,t,i,r){let s=e.uri,n=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),a=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),o=await this._worker(s);if(e.isDisposed())return;let l=await o.getFormattingEditsForRange(s.toString(),n,a,L._convertOptions(i));if(!(!l||e.isDisposed()))return l.map(t=>this._convertTextChanges(e,t))}},K=class extends L{get autoFormatTriggerCharacters(){return[";","}","\n"]}async provideOnTypeFormattingEdits(e,t,i,r,s){let n=e.uri,a=e.getOffsetAt(t),o=await this._worker(n);if(e.isDisposed())return;let l=await o.getFormattingEditsAfterKeystroke(n.toString(),a,i,L._convertOptions(r));if(!(!l||e.isDisposed()))return l.map(t=>this._convertTextChanges(e,t))}},M=class extends L{async provideCodeActions(e,t,i,r){let s=e.uri,n=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),a=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),o=L._convertOptions(e.getOptions()),l=i.markers.filter(e=>e.code).map(e=>e.code).map(Number),u=await this._worker(s);if(e.isDisposed())return;let c=await u.getCodeFixesAtPosition(s.toString(),n,a,l,o);if(!c||e.isDisposed())return{actions:[],dispose:()=>{}};let d=c.filter(e=>0===e.changes.filter(e=>e.isNewFile).length).map(t=>this._tsCodeFixActionToMonacoCodeAction(e,i,t));return{actions:d,dispose:()=>{}}}_tsCodeFixActionToMonacoCodeAction(e,t,i){let r=[];for(let t of i.changes)for(let i of t.textChanges)r.push({resource:e.uri,versionId:void 0,textEdit:{range:this._textSpanToRange(e,i.span),text:i.newText}});let s={title:i.description,edit:{edits:r},diagnostics:t.markers,kind:"quickfix"};return s}},E=class extends w{constructor(e,t){super(t),this._libFiles=e}async provideRenameEdits(e,t,i,r){let s=e.uri,n=s.toString(),a=e.getOffsetAt(t),o=await this._worker(s);if(e.isDisposed())return;let l=await o.getRenameInfo(n,a,{allowRenameOfImportPath:!1});if(!1===l.canRename)return{edits:[],rejectReason:l.localizedErrorMessage};if(void 0!==l.fileToRename)throw Error("Renaming files is not supported.");let u=await o.findRenameLocations(n,a,!1,!1,!1);if(!u||e.isDisposed())return;let c=[];for(let e of u){let t=this._libFiles.getOrCreateModel(e.fileName);if(t)c.push({resource:t.uri,versionId:void 0,textEdit:{range:this._textSpanToRange(t,e.textSpan),text:i}});else throw Error(`Unknown file ${e.fileName}.`)}return{edits:c}}},R=class extends w{async provideInlayHints(e,t,i){let r=e.uri,s=r.toString(),n=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),a=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),o=await this._worker(r);if(e.isDisposed())return null;let l=await o.provideInlayHints(s,n,a),u=l.map(t=>({...t,label:t.text,position:e.getPositionAt(t.position),kind:this._convertHintKind(t.kind)}));return{hints:u,dispose:()=>{}}}_convertHintKind(e){return"Parameter"===e?f.languages.InlayHintKind.Parameter:f.languages.InlayHintKind.Type}};function H(e){n=B(e,"typescript")}function W(e){s=B(e,"javascript")}function j(){return new Promise((e,t)=>{if(!s)return t("JavaScript not registered!");e(s)})}function V(){return new Promise((e,t)=>{if(!n)return t("TypeScript not registered!");e(n)})}function B(e,t){let i=new h(t,e),r=(...e)=>i.getLanguageServiceWorker(...e),s=new S(r);return f.languages.registerCompletionItemProvider(t,new x(r)),f.languages.registerSignatureHelpProvider(t,new C(r)),f.languages.registerHoverProvider(t,new A(r)),f.languages.registerDocumentHighlightProvider(t,new D(r)),f.languages.registerDefinitionProvider(t,new F(s,r)),f.languages.registerReferenceProvider(t,new I(s,r)),f.languages.registerDocumentSymbolProvider(t,new T(r)),f.languages.registerDocumentRangeFormattingEditProvider(t,new N(r)),f.languages.registerOnTypeFormattingEditProvider(t,new K(r)),f.languages.registerCodeActionProvider(t,new M(r)),f.languages.registerRenameProvider(t,new E(s,r)),f.languages.registerInlayHintsProvider(t,new R(r)),new k(s,e,t,r),r}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8401.ba8833cc7b7ba0a1.js b/dbgpt/app/static/web/_next/static/chunks/8401.ba8833cc7b7ba0a1.js deleted file mode 100644 index 2edebbe74..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/8401.ba8833cc7b7ba0a1.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8401],{78401:function(e,t,i){i.r(t),i.d(t,{Adapter:function(){return _},CodeActionAdaptor:function(){return N},DefinitionAdapter:function(){return D},DiagnosticsAdapter:function(){return w},DocumentHighlightAdapter:function(){return C},FormatAdapter:function(){return O},FormatHelper:function(){return P},FormatOnTypeAdapter:function(){return L},InlayHintsAdapter:function(){return M},Kind:function(){return I},LibFiles:function(){return y},OutlineAdapter:function(){return F},QuickInfoAdapter:function(){return v},ReferenceAdapter:function(){return A},RenameAdapter:function(){return K},SignatureHelpAdapter:function(){return x},SuggestAdapter:function(){return S},WorkerManager:function(){return m},flattenDiagnosticMessageText:function(){return f},getJavaScriptWorker:function(){return H},getTypeScriptWorker:function(){return j},setupJavaScript:function(){return E},setupTypeScript:function(){return R}});var s,r,n,a=i(5036),o=i(39585),l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,g=(e,t,i,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of c(t))d.call(e,r)||r===i||l(e,r,{get:()=>t[r],enumerable:!(s=u(t,r))||s.enumerable});return e},p={};g(p,a,"default"),s&&g(s,a,"default");var m=class{constructor(e,t){this._modeId=e,this._defaults=t,this._worker=null,this._client=null,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker()),this._updateExtraLibsToken=0,this._extraLibsChangeListener=this._defaults.onDidExtraLibsChange(()=>this._updateExtraLibs())}dispose(){this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}async _updateExtraLibs(){if(!this._worker)return;let e=++this._updateExtraLibsToken,t=await this._worker.getProxy();this._updateExtraLibsToken===e&&t.updateExtraLibs(this._defaults.getExtraLibs())}_getClient(){return this._client||(this._client=(async()=>(this._worker=p.editor.createWebWorker({moduleId:"vs/language/typescript/tsWorker",label:this._modeId,keepIdleModels:!0,createData:{compilerOptions:this._defaults.getCompilerOptions(),extraLibs:this._defaults.getExtraLibs(),customWorkerPath:this._defaults.workerOptions.customWorkerPath,inlayHintsOptions:this._defaults.inlayHintsOptions}}),this._defaults.getEagerModelSync())?await this._worker.withSyncedResources(p.editor.getModels().filter(e=>e.getLanguageId()===this._modeId).map(e=>e.uri)):await this._worker.getProxy())()),this._client}async getLanguageServiceWorker(...e){let t=await this._getClient();return this._worker&&await this._worker.withSyncedResources(e),t}},h={};function f(e,t,i=0){if("string"==typeof e)return e;if(void 0===e)return"";let s="";if(i){s+=t;for(let e=0;ee.text).join(""):""}h["lib.d.ts"]=!0,h["lib.decorators.d.ts"]=!0,h["lib.decorators.legacy.d.ts"]=!0,h["lib.dom.asynciterable.d.ts"]=!0,h["lib.dom.d.ts"]=!0,h["lib.dom.iterable.d.ts"]=!0,h["lib.es2015.collection.d.ts"]=!0,h["lib.es2015.core.d.ts"]=!0,h["lib.es2015.d.ts"]=!0,h["lib.es2015.generator.d.ts"]=!0,h["lib.es2015.iterable.d.ts"]=!0,h["lib.es2015.promise.d.ts"]=!0,h["lib.es2015.proxy.d.ts"]=!0,h["lib.es2015.reflect.d.ts"]=!0,h["lib.es2015.symbol.d.ts"]=!0,h["lib.es2015.symbol.wellknown.d.ts"]=!0,h["lib.es2016.array.include.d.ts"]=!0,h["lib.es2016.d.ts"]=!0,h["lib.es2016.full.d.ts"]=!0,h["lib.es2016.intl.d.ts"]=!0,h["lib.es2017.d.ts"]=!0,h["lib.es2017.date.d.ts"]=!0,h["lib.es2017.full.d.ts"]=!0,h["lib.es2017.intl.d.ts"]=!0,h["lib.es2017.object.d.ts"]=!0,h["lib.es2017.sharedmemory.d.ts"]=!0,h["lib.es2017.string.d.ts"]=!0,h["lib.es2017.typedarrays.d.ts"]=!0,h["lib.es2018.asyncgenerator.d.ts"]=!0,h["lib.es2018.asynciterable.d.ts"]=!0,h["lib.es2018.d.ts"]=!0,h["lib.es2018.full.d.ts"]=!0,h["lib.es2018.intl.d.ts"]=!0,h["lib.es2018.promise.d.ts"]=!0,h["lib.es2018.regexp.d.ts"]=!0,h["lib.es2019.array.d.ts"]=!0,h["lib.es2019.d.ts"]=!0,h["lib.es2019.full.d.ts"]=!0,h["lib.es2019.intl.d.ts"]=!0,h["lib.es2019.object.d.ts"]=!0,h["lib.es2019.string.d.ts"]=!0,h["lib.es2019.symbol.d.ts"]=!0,h["lib.es2020.bigint.d.ts"]=!0,h["lib.es2020.d.ts"]=!0,h["lib.es2020.date.d.ts"]=!0,h["lib.es2020.full.d.ts"]=!0,h["lib.es2020.intl.d.ts"]=!0,h["lib.es2020.number.d.ts"]=!0,h["lib.es2020.promise.d.ts"]=!0,h["lib.es2020.sharedmemory.d.ts"]=!0,h["lib.es2020.string.d.ts"]=!0,h["lib.es2020.symbol.wellknown.d.ts"]=!0,h["lib.es2021.d.ts"]=!0,h["lib.es2021.full.d.ts"]=!0,h["lib.es2021.intl.d.ts"]=!0,h["lib.es2021.promise.d.ts"]=!0,h["lib.es2021.string.d.ts"]=!0,h["lib.es2021.weakref.d.ts"]=!0,h["lib.es2022.array.d.ts"]=!0,h["lib.es2022.d.ts"]=!0,h["lib.es2022.error.d.ts"]=!0,h["lib.es2022.full.d.ts"]=!0,h["lib.es2022.intl.d.ts"]=!0,h["lib.es2022.object.d.ts"]=!0,h["lib.es2022.regexp.d.ts"]=!0,h["lib.es2022.sharedmemory.d.ts"]=!0,h["lib.es2022.string.d.ts"]=!0,h["lib.es2023.array.d.ts"]=!0,h["lib.es2023.collection.d.ts"]=!0,h["lib.es2023.d.ts"]=!0,h["lib.es2023.full.d.ts"]=!0,h["lib.es5.d.ts"]=!0,h["lib.es6.d.ts"]=!0,h["lib.esnext.collection.d.ts"]=!0,h["lib.esnext.d.ts"]=!0,h["lib.esnext.decorators.d.ts"]=!0,h["lib.esnext.disposable.d.ts"]=!0,h["lib.esnext.full.d.ts"]=!0,h["lib.esnext.intl.d.ts"]=!0,h["lib.esnext.object.d.ts"]=!0,h["lib.esnext.promise.d.ts"]=!0,h["lib.scripthost.d.ts"]=!0,h["lib.webworker.asynciterable.d.ts"]=!0,h["lib.webworker.d.ts"]=!0,h["lib.webworker.importscripts.d.ts"]=!0,h["lib.webworker.iterable.d.ts"]=!0;var _=class{constructor(e){this._worker=e}_textSpanToRange(e,t){let i=e.getPositionAt(t.start),s=e.getPositionAt(t.start+t.length),{lineNumber:r,column:n}=i,{lineNumber:a,column:o}=s;return{startLineNumber:r,startColumn:n,endLineNumber:a,endColumn:o}}},y=class{constructor(e){this._worker=e,this._libFiles={},this._hasFetchedLibFiles=!1,this._fetchLibFilesPromise=null}isLibFile(e){return!!e&&0===e.path.indexOf("/lib.")&&!!h[e.path.slice(1)]}getOrCreateModel(e){let t=p.Uri.parse(e),i=p.editor.getModel(t);if(i)return i;if(this.isLibFile(t)&&this._hasFetchedLibFiles)return p.editor.createModel(this._libFiles[t.path.slice(1)],"typescript",t);let s=o.TG.getExtraLibs()[e];return s?p.editor.createModel(s.content,"typescript",t):null}_containsLibFile(e){for(let t of e)if(this.isLibFile(t))return!0;return!1}async fetchLibFilesIfNecessary(e){this._containsLibFile(e)&&await this._fetchLibFiles()}_fetchLibFiles(){return this._fetchLibFilesPromise||(this._fetchLibFilesPromise=this._worker().then(e=>e.getLibFiles()).then(e=>{this._hasFetchedLibFiles=!0,this._libFiles=e})),this._fetchLibFilesPromise}},w=class extends _{constructor(e,t,i,s){super(s),this._libFiles=e,this._defaults=t,this._selector=i,this._disposables=[],this._listener=Object.create(null);let r=e=>{let t;if(e.getLanguageId()!==i)return;let s=()=>{let{onlyVisible:t}=this._defaults.getDiagnosticsOptions();t?e.isAttachedToEditor()&&this._doValidate(e):this._doValidate(e)},r=e.onDidChangeContent(()=>{clearTimeout(t),t=window.setTimeout(s,500)}),n=e.onDidChangeAttached(()=>{let{onlyVisible:t}=this._defaults.getDiagnosticsOptions();t&&(e.isAttachedToEditor()?s():p.editor.setModelMarkers(e,this._selector,[]))});this._listener[e.uri.toString()]={dispose(){r.dispose(),n.dispose(),clearTimeout(t)}},s()},n=e=>{p.editor.setModelMarkers(e,this._selector,[]);let t=e.uri.toString();this._listener[t]&&(this._listener[t].dispose(),delete this._listener[t])};this._disposables.push(p.editor.onDidCreateModel(e=>r(e))),this._disposables.push(p.editor.onWillDisposeModel(n)),this._disposables.push(p.editor.onDidChangeModelLanguage(e=>{n(e.model),r(e.model)})),this._disposables.push({dispose(){for(let e of p.editor.getModels())n(e)}});let a=()=>{for(let e of p.editor.getModels())n(e),r(e)};this._disposables.push(this._defaults.onDidChange(a)),this._disposables.push(this._defaults.onDidExtraLibsChange(a)),p.editor.getModels().forEach(e=>r(e))}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables=[]}async _doValidate(e){let t=await this._worker(e.uri);if(e.isDisposed())return;let i=[],{noSyntaxValidation:s,noSemanticValidation:r,noSuggestionDiagnostics:n}=this._defaults.getDiagnosticsOptions();s||i.push(t.getSyntacticDiagnostics(e.uri.toString())),r||i.push(t.getSemanticDiagnostics(e.uri.toString())),n||i.push(t.getSuggestionDiagnostics(e.uri.toString()));let a=await Promise.all(i);if(!a||e.isDisposed())return;let o=a.reduce((e,t)=>t.concat(e),[]).filter(e=>-1===(this._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore||[]).indexOf(e.code)),l=o.map(e=>e.relatedInformation||[]).reduce((e,t)=>t.concat(e),[]).map(e=>e.file?p.Uri.parse(e.file.fileName):null);await this._libFiles.fetchLibFilesIfNecessary(l),e.isDisposed()||p.editor.setModelMarkers(e,this._selector,o.map(t=>this._convertDiagnostics(e,t)))}_convertDiagnostics(e,t){let i=t.start||0,s=t.length||1,{lineNumber:r,column:n}=e.getPositionAt(i),{lineNumber:a,column:o}=e.getPositionAt(i+s),l=[];return t.reportsUnnecessary&&l.push(p.MarkerTag.Unnecessary),t.reportsDeprecated&&l.push(p.MarkerTag.Deprecated),{severity:this._tsDiagnosticCategoryToMarkerSeverity(t.category),startLineNumber:r,startColumn:n,endLineNumber:a,endColumn:o,message:f(t.messageText,"\n"),code:t.code.toString(),tags:l,relatedInformation:this._convertRelatedInformation(e,t.relatedInformation)}}_convertRelatedInformation(e,t){if(!t)return[];let i=[];return t.forEach(t=>{let s=e;if(t.file&&(s=this._libFiles.getOrCreateModel(t.file.fileName)),!s)return;let r=t.start||0,n=t.length||1,{lineNumber:a,column:o}=s.getPositionAt(r),{lineNumber:l,column:u}=s.getPositionAt(r+n);i.push({resource:s.uri,startLineNumber:a,startColumn:o,endLineNumber:l,endColumn:u,message:f(t.messageText,"\n")})}),i}_tsDiagnosticCategoryToMarkerSeverity(e){switch(e){case 1:return p.MarkerSeverity.Error;case 3:break;case 0:return p.MarkerSeverity.Warning;case 2:return p.MarkerSeverity.Hint}return p.MarkerSeverity.Info}},S=class e extends _{get triggerCharacters(){return["."]}async provideCompletionItems(t,i,s,r){let n=t.getWordUntilPosition(i),a=new p.Range(i.lineNumber,n.startColumn,i.lineNumber,n.endColumn),o=t.uri,l=t.getOffsetAt(i),u=await this._worker(o);if(t.isDisposed())return;let c=await u.getCompletionsAtPosition(o.toString(),l);if(!c||t.isDisposed())return;let d=c.entries.map(s=>{let r=a;if(s.replacementSpan){let e=t.getPositionAt(s.replacementSpan.start),i=t.getPositionAt(s.replacementSpan.start+s.replacementSpan.length);r=new p.Range(e.lineNumber,e.column,i.lineNumber,i.column)}let n=[];return void 0!==s.kindModifiers&&-1!==s.kindModifiers.indexOf("deprecated")&&n.push(p.languages.CompletionItemTag.Deprecated),{uri:o,position:i,offset:l,range:r,label:s.name,insertText:s.name,sortText:s.sortText,kind:e.convertKind(s.kind),tags:n}});return{suggestions:d}}async resolveCompletionItem(t,i){let s=t.uri,r=t.position,n=t.offset,a=await this._worker(s),o=await a.getCompletionEntryDetails(s.toString(),n,t.label);return o?{uri:s,position:r,label:o.name,kind:e.convertKind(o.kind),detail:b(o.displayParts),documentation:{value:e.createDocumentationString(o)}}:t}static convertKind(e){switch(e){case I.primitiveType:case I.keyword:return p.languages.CompletionItemKind.Keyword;case I.variable:case I.localVariable:return p.languages.CompletionItemKind.Variable;case I.memberVariable:case I.memberGetAccessor:case I.memberSetAccessor:return p.languages.CompletionItemKind.Field;case I.function:case I.memberFunction:case I.constructSignature:case I.callSignature:case I.indexSignature:return p.languages.CompletionItemKind.Function;case I.enum:return p.languages.CompletionItemKind.Enum;case I.module:return p.languages.CompletionItemKind.Module;case I.class:return p.languages.CompletionItemKind.Class;case I.interface:return p.languages.CompletionItemKind.Interface;case I.warning:return p.languages.CompletionItemKind.File}return p.languages.CompletionItemKind.Property}static createDocumentationString(e){let t=b(e.documentation);if(e.tags)for(let i of e.tags)t+=` - -${k(i)}`;return t}};function k(e){let t=`*@${e.name}*`;if("param"===e.name&&e.text){let[i,...s]=e.text;t+=`\`${i.text}\``,s.length>0&&(t+=` \u2014 ${s.map(e=>e.text).join(" ")}`)}else Array.isArray(e.text)?t+=` \u2014 ${e.text.map(e=>e.text).join(" ")}`:e.text&&(t+=` \u2014 ${e.text}`);return t}var x=class e extends _{constructor(){super(...arguments),this.signatureHelpTriggerCharacters=["(",","]}static _toSignatureHelpTriggerReason(e){switch(e.triggerKind){case p.languages.SignatureHelpTriggerKind.TriggerCharacter:if(!e.triggerCharacter)return{kind:"invoked"};if(e.isRetrigger)return{kind:"retrigger",triggerCharacter:e.triggerCharacter};return{kind:"characterTyped",triggerCharacter:e.triggerCharacter};case p.languages.SignatureHelpTriggerKind.ContentChange:return e.isRetrigger?{kind:"retrigger"}:{kind:"invoked"};case p.languages.SignatureHelpTriggerKind.Invoke:default:return{kind:"invoked"}}}async provideSignatureHelp(t,i,s,r){let n=t.uri,a=t.getOffsetAt(i),o=await this._worker(n);if(t.isDisposed())return;let l=await o.getSignatureHelpItems(n.toString(),a,{triggerReason:e._toSignatureHelpTriggerReason(r)});if(!l||t.isDisposed())return;let u={activeSignature:l.selectedItemIndex,activeParameter:l.argumentIndex,signatures:[]};return l.items.forEach(e=>{let t={label:"",parameters:[]};t.documentation={value:b(e.documentation)},t.label+=b(e.prefixDisplayParts),e.parameters.forEach((i,s,r)=>{let n=b(i.displayParts),a={label:n,documentation:{value:b(i.documentation)}};t.label+=n,t.parameters.push(a),sk(e)).join(" \n\n"):"",u=b(a.displayParts);return{range:this._textSpanToRange(e,a.textSpan),contents:[{value:"```typescript\n"+u+"\n```\n"},{value:o+(l?"\n\n"+l:"")}]}}},C=class extends _{async provideDocumentHighlights(e,t,i){let s=e.uri,r=e.getOffsetAt(t),n=await this._worker(s);if(e.isDisposed())return;let a=await n.getDocumentHighlights(s.toString(),r,[s.toString()]);if(!(!a||e.isDisposed()))return a.flatMap(t=>t.highlightSpans.map(t=>({range:this._textSpanToRange(e,t.textSpan),kind:"writtenReference"===t.kind?p.languages.DocumentHighlightKind.Write:p.languages.DocumentHighlightKind.Text})))}},D=class extends _{constructor(e,t){super(t),this._libFiles=e}async provideDefinition(e,t,i){let s=e.uri,r=e.getOffsetAt(t),n=await this._worker(s);if(e.isDisposed())return;let a=await n.getDefinitionAtPosition(s.toString(),r);if(!a||e.isDisposed()||(await this._libFiles.fetchLibFilesIfNecessary(a.map(e=>p.Uri.parse(e.fileName))),e.isDisposed()))return;let o=[];for(let e of a){let t=this._libFiles.getOrCreateModel(e.fileName);t&&o.push({uri:t.uri,range:this._textSpanToRange(t,e.textSpan)})}return o}},A=class extends _{constructor(e,t){super(t),this._libFiles=e}async provideReferences(e,t,i,s){let r=e.uri,n=e.getOffsetAt(t),a=await this._worker(r);if(e.isDisposed())return;let o=await a.getReferencesAtPosition(r.toString(),n);if(!o||e.isDisposed()||(await this._libFiles.fetchLibFilesIfNecessary(o.map(e=>p.Uri.parse(e.fileName))),e.isDisposed()))return;let l=[];for(let e of o){let t=this._libFiles.getOrCreateModel(e.fileName);t&&l.push({uri:t.uri,range:this._textSpanToRange(t,e.textSpan)})}return l}},F=class extends _{async provideDocumentSymbols(e,t){let i=e.uri,s=await this._worker(i);if(e.isDisposed())return;let r=await s.getNavigationTree(i.toString());if(!r||e.isDisposed())return;let n=(t,i)=>{let s={name:t.text,detail:"",kind:T[t.kind]||p.languages.SymbolKind.Variable,range:this._textSpanToRange(e,t.spans[0]),selectionRange:this._textSpanToRange(e,t.spans[0]),tags:[],children:t.childItems?.map(e=>n(e,t.text)),containerName:i};return s},a=r.childItems?r.childItems.map(e=>n(e)):[];return a}},I=class{static{this.unknown=""}static{this.keyword="keyword"}static{this.script="script"}static{this.module="module"}static{this.class="class"}static{this.interface="interface"}static{this.type="type"}static{this.enum="enum"}static{this.variable="var"}static{this.localVariable="local var"}static{this.function="function"}static{this.localFunction="local function"}static{this.memberFunction="method"}static{this.memberGetAccessor="getter"}static{this.memberSetAccessor="setter"}static{this.memberVariable="property"}static{this.constructorImplementation="constructor"}static{this.callSignature="call"}static{this.indexSignature="index"}static{this.constructSignature="construct"}static{this.parameter="parameter"}static{this.typeParameter="type parameter"}static{this.primitiveType="primitive type"}static{this.label="label"}static{this.alias="alias"}static{this.const="const"}static{this.let="let"}static{this.warning="warning"}},T=Object.create(null);T[I.module]=p.languages.SymbolKind.Module,T[I.class]=p.languages.SymbolKind.Class,T[I.enum]=p.languages.SymbolKind.Enum,T[I.interface]=p.languages.SymbolKind.Interface,T[I.memberFunction]=p.languages.SymbolKind.Method,T[I.memberVariable]=p.languages.SymbolKind.Property,T[I.memberGetAccessor]=p.languages.SymbolKind.Property,T[I.memberSetAccessor]=p.languages.SymbolKind.Property,T[I.variable]=p.languages.SymbolKind.Variable,T[I.const]=p.languages.SymbolKind.Variable,T[I.localVariable]=p.languages.SymbolKind.Variable,T[I.variable]=p.languages.SymbolKind.Variable,T[I.function]=p.languages.SymbolKind.Function,T[I.localFunction]=p.languages.SymbolKind.Function;var P=class extends _{static _convertOptions(e){return{ConvertTabsToSpaces:e.insertSpaces,TabSize:e.tabSize,IndentSize:e.tabSize,IndentStyle:2,NewLineCharacter:"\n",InsertSpaceAfterCommaDelimiter:!0,InsertSpaceAfterSemicolonInForStatements:!0,InsertSpaceBeforeAndAfterBinaryOperators:!0,InsertSpaceAfterKeywordsInControlFlowStatements:!0,InsertSpaceAfterFunctionKeywordForAnonymousFunctions:!0,InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,PlaceOpenBraceOnNewLineForControlBlocks:!1,PlaceOpenBraceOnNewLineForFunctions:!1}}_convertTextChanges(e,t){return{text:t.newText,range:this._textSpanToRange(e,t.span)}}},O=class extends P{constructor(){super(...arguments),this.canFormatMultipleRanges=!1}async provideDocumentRangeFormattingEdits(e,t,i,s){let r=e.uri,n=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),a=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),o=await this._worker(r);if(e.isDisposed())return;let l=await o.getFormattingEditsForRange(r.toString(),n,a,P._convertOptions(i));if(!(!l||e.isDisposed()))return l.map(t=>this._convertTextChanges(e,t))}},L=class extends P{get autoFormatTriggerCharacters(){return[";","}","\n"]}async provideOnTypeFormattingEdits(e,t,i,s,r){let n=e.uri,a=e.getOffsetAt(t),o=await this._worker(n);if(e.isDisposed())return;let l=await o.getFormattingEditsAfterKeystroke(n.toString(),a,i,P._convertOptions(s));if(!(!l||e.isDisposed()))return l.map(t=>this._convertTextChanges(e,t))}},N=class extends P{async provideCodeActions(e,t,i,s){let r=e.uri,n=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),a=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),o=P._convertOptions(e.getOptions()),l=i.markers.filter(e=>e.code).map(e=>e.code).map(Number),u=await this._worker(r);if(e.isDisposed())return;let c=await u.getCodeFixesAtPosition(r.toString(),n,a,l,o);if(!c||e.isDisposed())return{actions:[],dispose:()=>{}};let d=c.filter(e=>0===e.changes.filter(e=>e.isNewFile).length).map(t=>this._tsCodeFixActionToMonacoCodeAction(e,i,t));return{actions:d,dispose:()=>{}}}_tsCodeFixActionToMonacoCodeAction(e,t,i){let s=[];for(let t of i.changes)for(let i of t.textChanges)s.push({resource:e.uri,versionId:void 0,textEdit:{range:this._textSpanToRange(e,i.span),text:i.newText}});let r={title:i.description,edit:{edits:s},diagnostics:t.markers,kind:"quickfix"};return r}},K=class extends _{constructor(e,t){super(t),this._libFiles=e}async provideRenameEdits(e,t,i,s){let r=e.uri,n=r.toString(),a=e.getOffsetAt(t),o=await this._worker(r);if(e.isDisposed())return;let l=await o.getRenameInfo(n,a,{allowRenameOfImportPath:!1});if(!1===l.canRename)return{edits:[],rejectReason:l.localizedErrorMessage};if(void 0!==l.fileToRename)throw Error("Renaming files is not supported.");let u=await o.findRenameLocations(n,a,!1,!1,!1);if(!u||e.isDisposed())return;let c=[];for(let e of u){let t=this._libFiles.getOrCreateModel(e.fileName);if(t)c.push({resource:t.uri,versionId:void 0,textEdit:{range:this._textSpanToRange(t,e.textSpan),text:i}});else throw Error(`Unknown file ${e.fileName}.`)}return{edits:c}}},M=class extends _{async provideInlayHints(e,t,i){let s=e.uri,r=s.toString(),n=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),a=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),o=await this._worker(s);if(e.isDisposed())return null;let l=await o.provideInlayHints(r,n,a),u=l.map(t=>({...t,label:t.text,position:e.getPositionAt(t.position),kind:this._convertHintKind(t.kind)}));return{hints:u,dispose:()=>{}}}_convertHintKind(e){return"Parameter"===e?p.languages.InlayHintKind.Parameter:p.languages.InlayHintKind.Type}};function R(e){n=W(e,"typescript")}function E(e){r=W(e,"javascript")}function H(){return new Promise((e,t)=>{if(!r)return t("JavaScript not registered!");e(r)})}function j(){return new Promise((e,t)=>{if(!n)return t("TypeScript not registered!");e(n)})}function W(e,t){let i=[],s=[],r=new m(t,e);i.push(r);let n=(...e)=>r.getLanguageServiceWorker(...e),a=new y(n);return!function(){let{modeConfiguration:i}=e;V(s),i.completionItems&&s.push(p.languages.registerCompletionItemProvider(t,new S(n))),i.signatureHelp&&s.push(p.languages.registerSignatureHelpProvider(t,new x(n))),i.hovers&&s.push(p.languages.registerHoverProvider(t,new v(n))),i.documentHighlights&&s.push(p.languages.registerDocumentHighlightProvider(t,new C(n))),i.definitions&&s.push(p.languages.registerDefinitionProvider(t,new D(a,n))),i.references&&s.push(p.languages.registerReferenceProvider(t,new A(a,n))),i.documentSymbols&&s.push(p.languages.registerDocumentSymbolProvider(t,new F(n))),i.rename&&s.push(p.languages.registerRenameProvider(t,new K(a,n))),i.documentRangeFormattingEdits&&s.push(p.languages.registerDocumentRangeFormattingEditProvider(t,new O(n))),i.onTypeFormattingEdits&&s.push(p.languages.registerOnTypeFormattingEditProvider(t,new L(n))),i.codeActions&&s.push(p.languages.registerCodeActionProvider(t,new N(n))),i.inlayHints&&s.push(p.languages.registerInlayHintsProvider(t,new M(n))),i.diagnostics&&s.push(new w(a,e,t,n))}(),i.push({dispose:()=>V(s)}),n}function V(e){for(;e.length;)e.pop().dispose()}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8424.18a28574a8b99d99.js b/dbgpt/app/static/web/_next/static/chunks/8424.18a28574a8b99d99.js deleted file mode 100644 index 463b2449c..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/8424.18a28574a8b99d99.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8424],{98424:function(t,e,i){i.r(e),i.d(e,{conf:function(){return r},language:function(){return m}});/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{#","#}"]},brackets:[["{#","#}"],["{%","%}"],["{{","}}"],["(",")"],["[","]"],[""],["<",">"]],autoClosingPairs:[{open:"{# ",close:" #}"},{open:"{% ",close:" %}"},{open:"{{ ",close:" }}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},m={defaultToken:"",tokenPostfix:"",ignoreCase:!0,keywords:["apply","autoescape","block","deprecated","do","embed","extends","flush","for","from","if","import","include","macro","sandbox","set","use","verbatim","with","endapply","endautoescape","endblock","endembed","endfor","endif","endmacro","endsandbox","endset","endwith","true","false"],tokenizer:{root:[[/\s+/],[/{#/,"comment.twig","@commentState"],[/{%[-~]?/,"delimiter.twig","@blockState"],[/{{[-~]?/,"delimiter.twig","@variableState"],[/)/,["delimiter.html","tag.html","","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/|>=|<=/,"operators.twig"],[/(starts with|ends with|matches)(\s+)/,["operators.twig",""]],[/(in)(\s+)/,["operators.twig",""]],[/(is)(\s+)/,["operators.twig",""]],[/\||~|:|\.{1,2}|\?{1,2}/,"operators.twig"],[/[^\W\d][\w]*/,{cases:{"@keywords":"keyword.twig","@default":"variable.twig"}}],[/\d+(\.\d+)?/,"number.twig"],[/\(|\)|\[|\]|{|}|,/,"delimiter.twig"],[/"([^#"\\]*(?:\\.[^#"\\]*)*)"|\'([^\'\\]*(?:\\.[^\'\\]*)*)\'/,"string.twig"],[/"/,"string.twig","@stringState"],[/=>/,"operators.twig"],[/=/,"operators.twig"]],doctype:[[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name.html","@scriptAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter.html","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name.html","@styleAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter.html","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8424.a94c192157e1764a.js b/dbgpt/app/static/web/_next/static/chunks/8424.a94c192157e1764a.js new file mode 100644 index 000000000..35cb1e638 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/8424.a94c192157e1764a.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8424],{98424:function(t,e,i){i.r(e),i.d(e,{conf:function(){return r},language:function(){return m}});/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{#","#}"]},brackets:[["{#","#}"],["{%","%}"],["{{","}}"],["(",")"],["[","]"],[""],["<",">"]],autoClosingPairs:[{open:"{# ",close:" #}"},{open:"{% ",close:" %}"},{open:"{{ ",close:" }}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},m={defaultToken:"",tokenPostfix:"",ignoreCase:!0,keywords:["apply","autoescape","block","deprecated","do","embed","extends","flush","for","from","if","import","include","macro","sandbox","set","use","verbatim","with","endapply","endautoescape","endblock","endembed","endfor","endif","endmacro","endsandbox","endset","endwith","true","false"],tokenizer:{root:[[/\s+/],[/{#/,"comment.twig","@commentState"],[/{%[-~]?/,"delimiter.twig","@blockState"],[/{{[-~]?/,"delimiter.twig","@variableState"],[/)/,["delimiter.html","tag.html","","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/|>=|<=/,"operators.twig"],[/(starts with|ends with|matches)(\s+)/,["operators.twig",""]],[/(in)(\s+)/,["operators.twig",""]],[/(is)(\s+)/,["operators.twig",""]],[/\||~|:|\.{1,2}|\?{1,2}/,"operators.twig"],[/[^\W\d][\w]*/,{cases:{"@keywords":"keyword.twig","@default":"variable.twig"}}],[/\d+(\.\d+)?/,"number.twig"],[/\(|\)|\[|\]|{|}|,/,"delimiter.twig"],[/"([^#"\\]*(?:\\.[^#"\\]*)*)"|\'([^\'\\]*(?:\\.[^\'\\]*)*)\'/,"string.twig"],[/"/,"string.twig","@stringState"],[/=>/,"operators.twig"],[/=/,"operators.twig"]],doctype:[[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name.html","@scriptAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter.html","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name.html","@styleAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter.html","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/848.aefe54f508d24fe7.js b/dbgpt/app/static/web/_next/static/chunks/848.004feb8dc755f2bc.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/848.aefe54f508d24fe7.js rename to dbgpt/app/static/web/_next/static/chunks/848.004feb8dc755f2bc.js index 2a05b7cc6..5a61fefc9 100644 --- a/dbgpt/app/static/web/_next/static/chunks/848.aefe54f508d24fe7.js +++ b/dbgpt/app/static/web/_next/static/chunks/848.004feb8dc755f2bc.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[848],{40848:function(e,t,n){n.r(t),n.d(t,{conf:function(){return i},language:function(){return s}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var i={comments:{lineComment:"*"},brackets:[["[","]"],["(",")"]]},s={defaultToken:"invalid",ignoreCase:!0,tokenPostfix:".abap",keywords:["abap-source","abbreviated","abstract","accept","accepting","according","activation","actual","add","add-corresponding","adjacent","after","alias","aliases","align","all","allocate","alpha","analysis","analyzer","and","append","appendage","appending","application","archive","area","arithmetic","as","ascending","aspect","assert","assign","assigned","assigning","association","asynchronous","at","attributes","authority","authority-check","avg","back","background","backup","backward","badi","base","before","begin","between","big","binary","bintohex","bit","black","blank","blanks","blob","block","blocks","blue","bound","boundaries","bounds","boxed","break-point","buffer","by","bypassing","byte","byte-order","call","calling","case","cast","casting","catch","center","centered","chain","chain-input","chain-request","change","changing","channels","character","char-to-hex","check","checkbox","ci_","circular","class","class-coding","class-data","class-events","class-methods","class-pool","cleanup","clear","client","clob","clock","close","coalesce","code","coding","col_background","col_group","col_heading","col_key","col_negative","col_normal","col_positive","col_total","collect","color","column","columns","comment","comments","commit","common","communication","comparing","component","components","compression","compute","concat","concat_with_space","concatenate","cond","condense","condition","connect","connection","constants","context","contexts","continue","control","controls","conv","conversion","convert","copies","copy","corresponding","country","cover","cpi","create","creating","critical","currency","currency_conversion","current","cursor","cursor-selection","customer","customer-function","dangerous","data","database","datainfo","dataset","date","dats_add_days","dats_add_months","dats_days_between","dats_is_valid","daylight","dd/mm/yy","dd/mm/yyyy","ddmmyy","deallocate","decimal_shift","decimals","declarations","deep","default","deferred","define","defining","definition","delete","deleting","demand","department","descending","describe","destination","detail","dialog","directory","disconnect","display","display-mode","distinct","divide","divide-corresponding","division","do","dummy","duplicate","duplicates","duration","during","dynamic","dynpro","edit","editor-call","else","elseif","empty","enabled","enabling","encoding","end","endat","endcase","endcatch","endchain","endclass","enddo","endenhancement","end-enhancement-section","endexec","endform","endfunction","endian","endif","ending","endinterface","end-lines","endloop","endmethod","endmodule","end-of-definition","end-of-editing","end-of-file","end-of-page","end-of-selection","endon","endprovide","endselect","end-test-injection","end-test-seam","endtry","endwhile","endwith","engineering","enhancement","enhancement-point","enhancements","enhancement-section","entries","entry","enum","environment","equiv","errormessage","errors","escaping","event","events","exact","except","exception","exceptions","exception-table","exclude","excluding","exec","execute","exists","exit","exit-command","expand","expanding","expiration","explicit","exponent","export","exporting","extend","extended","extension","extract","fail","fetch","field","field-groups","fields","field-symbol","field-symbols","file","filter","filters","filter-table","final","find","first","first-line","fixed-point","fkeq","fkge","flush","font","for","form","format","forward","found","frame","frames","free","friends","from","function","functionality","function-pool","further","gaps","generate","get","giving","gkeq","gkge","global","grant","green","group","groups","handle","handler","harmless","hashed","having","hdb","header","headers","heading","head-lines","help-id","help-request","hextobin","hide","high","hint","hold","hotspot","icon","id","identification","identifier","ids","if","ignore","ignoring","immediately","implementation","implementations","implemented","implicit","import","importing","in","inactive","incl","include","includes","including","increment","index","index-line","infotypes","inheriting","init","initial","initialization","inner","inout","input","insert","instance","instances","instr","intensified","interface","interface-pool","interfaces","internal","intervals","into","inverse","inverted-date","is","iso","job","join","keep","keeping","kernel","key","keys","keywords","kind","language","last","late","layout","leading","leave","left","left-justified","leftplus","leftspace","legacy","length","let","level","levels","like","line","lines","line-count","linefeed","line-selection","line-size","list","listbox","list-processing","little","llang","load","load-of-program","lob","local","locale","locator","logfile","logical","log-point","long","loop","low","lower","lpad","lpi","ltrim","mail","main","major-id","mapping","margin","mark","mask","match","matchcode","max","maximum","medium","members","memory","mesh","message","message-id","messages","messaging","method","methods","min","minimum","minor-id","mm/dd/yy","mm/dd/yyyy","mmddyy","mode","modif","modifier","modify","module","move","move-corresponding","multiply","multiply-corresponding","name","nametab","native","nested","nesting","new","new-line","new-page","new-section","next","no","no-display","no-extension","no-gap","no-gaps","no-grouping","no-heading","no-scrolling","no-sign","no-title","no-topofpage","no-zero","node","nodes","non-unicode","non-unique","not","null","number","object","objects","obligatory","occurrence","occurrences","occurs","of","off","offset","ole","on","only","open","option","optional","options","or","order","other","others","out","outer","output","output-length","overflow","overlay","pack","package","pad","padding","page","pages","parameter","parameters","parameter-table","part","partially","pattern","percentage","perform","performing","person","pf1","pf10","pf11","pf12","pf13","pf14","pf15","pf2","pf3","pf4","pf5","pf6","pf7","pf8","pf9","pf-status","pink","places","pool","pos_high","pos_low","position","pragmas","precompiled","preferred","preserving","primary","print","print-control","priority","private","procedure","process","program","property","protected","provide","public","push","pushbutton","put","queue-only","quickinfo","radiobutton","raise","raising","range","ranges","read","reader","read-only","receive","received","receiver","receiving","red","redefinition","reduce","reduced","ref","reference","refresh","regex","reject","remote","renaming","replace","replacement","replacing","report","request","requested","reserve","reset","resolution","respecting","responsible","result","results","resumable","resume","retry","return","returncode","returning","returns","right","right-justified","rightplus","rightspace","risk","rmc_communication_failure","rmc_invalid_status","rmc_system_failure","role","rollback","rows","rpad","rtrim","run","sap","sap-spool","saving","scale_preserving","scale_preserving_scientific","scan","scientific","scientific_with_leading_zero","scroll","scroll-boundary","scrolling","search","secondary","seconds","section","select","selection","selections","selection-screen","selection-set","selection-sets","selection-table","select-options","send","separate","separated","set","shared","shift","short","shortdump-id","sign_as_postfix","single","size","skip","skipping","smart","some","sort","sortable","sorted","source","specified","split","spool","spots","sql","sqlscript","stable","stamp","standard","starting","start-of-editing","start-of-selection","state","statement","statements","static","statics","statusinfo","step-loop","stop","structure","structures","style","subkey","submatches","submit","subroutine","subscreen","subtract","subtract-corresponding","suffix","sum","summary","summing","supplied","supply","suppress","switch","switchstates","symbol","syncpoints","syntax","syntax-check","syntax-trace","system-call","system-exceptions","system-exit","tab","tabbed","table","tables","tableview","tabstrip","target","task","tasks","test","testing","test-injection","test-seam","text","textpool","then","throw","time","times","timestamp","timezone","tims_is_valid","title","titlebar","title-lines","to","tokenization","tokens","top-lines","top-of-page","trace-file","trace-table","trailing","transaction","transfer","transformation","translate","transporting","trmac","truncate","truncation","try","tstmp_add_seconds","tstmp_current_utctimestamp","tstmp_is_valid","tstmp_seconds_between","type","type-pool","type-pools","types","uline","unassign","under","unicode","union","unique","unit_conversion","unix","unpack","until","unwind","up","update","upper","user","user-command","using","utf-8","valid","value","value-request","values","vary","varying","verification-message","version","via","view","visible","wait","warning","when","whenever","where","while","width","window","windows","with","with-heading","without","with-title","word","work","write","writer","xml","xsd","yellow","yes","yymmdd","zero","zone","abap_system_timezone","abap_user_timezone","access","action","adabas","adjust_numbers","allow_precision_loss","allowed","amdp","applicationuser","as_geo_json","as400","associations","balance","behavior","breakup","bulk","cds","cds_client","check_before_save","child","clients","corr","corr_spearman","cross","cycles","datn_add_days","datn_add_months","datn_days_between","dats_from_datn","dats_tims_to_tstmp","dats_to_datn","db2","db6","ddl","dense_rank","depth","deterministic","discarding","entities","entity","error","failed","finalize","first_value","fltp_to_dec","following","fractional","full","graph","grouping","hierarchy","hierarchy_ancestors","hierarchy_ancestors_aggregate","hierarchy_descendants","hierarchy_descendants_aggregate","hierarchy_siblings","incremental","indicators","lag","last_value","lead","leaves","like_regexpr","link","locale_sap","lock","locks","many","mapped","matched","measures","median","mssqlnt","multiple","nodetype","ntile","nulls","occurrences_regexpr","one","operations","oracle","orphans","over","parent","parents","partition","pcre","period","pfcg_mapping","preceding","privileged","product","projection","rank","redirected","replace_regexpr","reported","response","responses","root","row","row_number","sap_system_date","save","schema","session","sets","shortdump","siblings","spantree","start","stddev","string_agg","subtotal","sybase","tims_from_timn","tims_to_timn","to_blob","to_clob","total","trace-entry","tstmp_to_dats","tstmp_to_dst","tstmp_to_tims","tstmpl_from_utcl","tstmpl_to_utcl","unbounded","utcl_add_seconds","utcl_current","utcl_seconds_between","uuid","var","verbatim"],builtinFunctions:["abs","acos","asin","atan","bit-set","boolc","boolx","ceil","char_off","charlen","cmax","cmin","concat_lines_of","contains","contains_any_not_of","contains_any_of","cos","cosh","count","count_any_not_of","count_any_of","dbmaxlen","distance","escape","exp","find_any_not_of","find_any_of","find_end","floor","frac","from_mixed","ipow","line_exists","line_index","log","log10","matches","nmax","nmin","numofchar","repeat","rescale","reverse","round","segment","shift_left","shift_right","sign","sin","sinh","sqrt","strlen","substring","substring_after","substring_before","substring_from","substring_to","tan","tanh","to_lower","to_mixed","to_upper","trunc","utclong_add","utclong_current","utclong_diff","xsdbool","xstrlen"],typeKeywords:["b","c","d","decfloat16","decfloat34","f","i","int8","n","p","s","string","t","utclong","x","xstring","any","clike","csequence","decfloat","numeric","simple","xsequence","accp","char","clnt","cuky","curr","datn","dats","d16d","d16n","d16r","d34d","d34n","d34r","dec","df16_dec","df16_raw","df34_dec","df34_raw","fltp","geom_ewkb","int1","int2","int4","lang","lchr","lraw","numc","quan","raw","rawstring","sstring","timn","tims","unit","utcl","df16_scl","df34_scl","prec","varc","abap_bool","abap_false","abap_true","abap_undefined","me","screen","space","super","sy","syst","table_line","*sys*"],builtinMethods:["class_constructor","constructor"],derivedTypes:["%CID","%CID_REF","%CONTROL","%DATA","%ELEMENT","%FAIL","%KEY","%MSG","%PARAM","%PID","%PID_ASSOC","%PID_PARENT","%_HINTS"],cdsLanguage:["@AbapAnnotation","@AbapCatalog","@AccessControl","@API","@ClientDependent","@ClientHandling","@CompatibilityContract","@DataAging","@EndUserText","@Environment","@LanguageDependency","@MappingRole","@Metadata","@MetadataExtension","@ObjectModel","@Scope","@Semantics","$EXTENSION","$SELF"],selectors:["->","->*","=>","~","~*"],operators:[" +"," -","/","*","**","div","mod","=","#","@","+=","-=","*=","/=","**=","&&=","?=","&","&&","bit-and","bit-not","bit-or","bit-xor","m","o","z","<"," >","<=",">=","<>","><","=<","=>","bt","byte-ca","byte-cn","byte-co","byte-cs","byte-na","byte-ns","ca","cn","co","cp","cs","eq","ge","gt","le","lt","na","nb","ne","np","ns","*/","*:","--","/*","//"],symbols:/[=>))*/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@cdsLanguage":"annotation","@derivedTypes":"type","@builtinFunctions":"type","@builtinMethods":"type","@operators":"key","@default":"identifier"}}],[/<[\w]+>/,"identifier"],[/##[\w|_]+/,"comment"],{include:"@whitespace"},[/[:,.]/,"delimiter"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@selectors":"tag","@operators":"key","@default":""}}],[/'/,{token:"string",bracket:"@open",next:"@stringquote"}],[/`/,{token:"string",bracket:"@open",next:"@stringping"}],[/\|/,{token:"string",bracket:"@open",next:"@stringtemplate"}],[/\d+/,"number"]],stringtemplate:[[/[^\\\|]+/,"string"],[/\\\|/,"string"],[/\|/,{token:"string",bracket:"@close",next:"@pop"}]],stringping:[[/[^\\`]+/,"string"],[/`/,{token:"string",bracket:"@close",next:"@pop"}]],stringquote:[[/[^\\']+/,"string"],[/'/,{token:"string",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/^\*.*$/,"comment"],[/\".*$/,"comment"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8510-0c4cfd9580234665.js b/dbgpt/app/static/web/_next/static/chunks/8510-0c4cfd9580234665.js new file mode 100644 index 000000000..bb351c93e --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/8510-0c4cfd9580234665.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8510,3913],{2440:function(e,l,t){var n=t(25519);l.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},39718:function(e,l,t){var n=t(85893),a=t(19284),r=t(25675),i=t.n(r),s=t(67294);l.Z=(0,s.memo)(e=>{let{width:l,height:t,model:r}=e,o=(0,s.useMemo)(()=>{let e=null==r?void 0:r.replaceAll("-","_").split("_")[0],l=Object.keys(a.Me);for(let t=0;t{let{width:l,height:t,scene:s}=e,o=(0,i.useCallback)(()=>{switch(s){case"chat_knowledge":return a.je;case"chat_with_db_execute":return a.zM;case"chat_excel":return a.DL;case"chat_with_db_qa":case"chat_dba":return a.RD;case"chat_dashboard":return a.In;case"chat_agent":return a.si;case"chat_normal":return a.O7;default:return}},[s]);return(0,n.jsx)(r.Z,{className:"w-".concat(l||7," h-").concat(t||7),component:o()})}},70065:function(e,l,t){var n=t(91321);let a=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});l.Z=a},77451:function(e,l,t){t.r(l);var n=t(85893),a=t(76212),r=t(18102),i=t(11475),s=t(65654),o=t(34041),u=t(85576),d=t(99859),c=t(93967),m=t.n(c),v=t(67294),p=t(67421),x=t(25934),f=t(49264);let h=e=>{let{value:l,onChange:t,promptList:a}=e,[s,d]=(0,v.useState)(!1),[c,m]=(0,v.useState)(),{t:x}=(0,p.$G)();return(0,v.useEffect)(()=>{if(l){let e=null==a?void 0:a.filter(e=>e.prompt_code===l)[0];m(e)}},[a,l]),(0,n.jsxs)("div",{className:"w-2/5 flex items-center gap-2",children:[(0,n.jsx)(o.default,{className:"w-1/2",placeholder:x("please_select_prompt"),options:a,fieldNames:{label:"prompt_name",value:"prompt_code"},onChange:e=>{let l=null==a?void 0:a.filter(l=>l.prompt_code===e)[0];m(l),null==t||t(e)},value:l,allowClear:!0,showSearch:!0}),c&&(0,n.jsxs)("span",{className:"text-sm text-blue-500 cursor-pointer",onClick:()=>d(!0),children:[(0,n.jsx)(i.Z,{className:"mr-1"}),x("View_details")]}),(0,n.jsx)(u.default,{title:"Prompt ".concat(x("details")),open:s,footer:!1,width:"60%",onCancel:()=>d(!1),children:(0,n.jsx)(r.default,{children:null==c?void 0:c.content})})]})};l.default=e=>{var l,t;let{name:r,initValue:i,modelStrategyOptions:u,resourceTypeOptions:c,updateData:g,classNames:j,promptList:_}=e,{t:b}=(0,p.$G)(),[y]=d.default.useForm(),w=d.default.useWatch("prompt_template",y),N=d.default.useWatch("llm_strategy",y),k=d.default.useWatch("llm_strategy_value",y),Z=(0,v.useMemo)(()=>(null==i?void 0:i.find(e=>e.agent_name===r))||[],[i,r]),C=(0,v.useRef)([]),{run:S,loading:E,data:R}=(0,s.Z)(async()=>{var e;let[,l]=await (0,a.Vx)((0,a.m9)("priority"));return null!==(e=null==l?void 0:l.map(e=>({label:e,value:e})))&&void 0!==e?e:[]},{manual:!0});return(0,v.useEffect)(()=>{"priority"===N&&S()},[S,N]),(0,v.useEffect)(()=>{var e;let l=y.getFieldsValue();g({agent_name:r,...l,llm_strategy_value:null==l?void 0:null===(e=l.llm_strategy_value)||void 0===e?void 0:e.join(","),resources:C.current})},[y,E,r,w,N,k,g]),(0,n.jsx)("div",{className:m()(j),children:(0,n.jsxs)(d.default,{style:{width:"100%"},labelCol:{span:4},form:y,initialValues:{llm_strategy:"default",...Z,llm_strategy_value:null==Z?void 0:null===(l=Z.llm_strategy_value)||void 0===l?void 0:l.split(",")},children:[(0,n.jsx)(d.default.Item,{label:b("Prompt"),name:"prompt_template",children:(0,n.jsx)(h,{promptList:_})}),(0,n.jsx)(d.default.Item,{label:b("LLM_strategy"),required:!0,name:"llm_strategy",children:(0,n.jsx)(o.default,{className:"w-1/5",placeholder:b("please_select_LLM_strategy"),options:u,allowClear:!0})}),"priority"===N&&(0,n.jsx)(d.default.Item,{label:b("LLM_strategy_value"),required:!0,name:"llm_strategy_value",children:(0,n.jsx)(o.default,{mode:"multiple",className:"w-2/5",placeholder:b("please_select_LLM_strategy_value"),options:R,allowClear:!0})}),(0,n.jsx)(d.default.Item,{label:b("available_resources"),name:"resources",children:(0,n.jsx)(f.default,{resourceTypeOptions:c,initValue:null==Z?void 0:null===(t=Z.resources)||void 0===t?void 0:t.map(e=>({...e,uid:(0,x.Z)()})),updateData:e=>{C.current=null==e?void 0:e[1],g({agent_name:r,resources:C.current})},name:r})})]})})}},2856:function(e,l,t){t.r(l);var n=t(85893),a=t(76212),r=t(65654),i=t(99859),s=t(34041),o=t(72269),u=t(93967),d=t.n(u),c=t(67294),m=t(67421);l.default=e=>{let{uid:l,initValue:t,updateData:u,classNames:v,resourceTypeOptions:p,setCurIcon:x}=e,[f]=i.default.useForm(),h=i.default.useWatch("type",f),g=i.default.useWatch("is_dynamic",f),j=i.default.useWatch("value",f),{t:_}=(0,m.$G)(),b=(0,c.useMemo)(()=>(null==p?void 0:p.filter(e=>"all"!==e.value))||[],[p]),{run:y,data:w,loading:N}=(0,r.Z)(async e=>{var l;let[,n]=await (0,a.Vx)((0,a.RX)({type:e}));return f.setFieldsValue({value:(null==t?void 0:t.value)||(null==n?void 0:null===(l=n[0])||void 0===l?void 0:l.key)}),n||[]},{manual:!0});(0,c.useEffect)(()=>{h&&y(h)},[y,h]);let k=(0,c.useMemo)(()=>(null==w?void 0:w.map(e=>({...e,label:e.label,value:e.key+""})))||[],[w]);return(0,c.useEffect)(()=>{let e=f.getFieldsValue(),t=(null==e?void 0:e.is_dynamic)?"":null==e?void 0:e.value;u({uid:l,...e,value:t})},[l,g,f,u,j,h]),(0,n.jsx)("div",{className:d()("flex flex-1",v),children:(0,n.jsxs)(i.default,{style:{width:"100%"},form:f,labelCol:{span:4},initialValues:{...t},children:[(0,n.jsx)(i.default.Item,{label:_("resource_type"),name:"type",children:(0,n.jsx)(s.default,{className:"w-2/5",options:b,onChange:e=>{x({uid:l,icon:e})}})}),(0,n.jsx)(i.default.Item,{label:_("resource_dynamic"),name:"is_dynamic",children:(0,n.jsx)(o.Z,{style:{background:g?"#1677ff":"#ccc"}})}),!g&&(0,n.jsxs)(n.Fragment,{children:[" ","image_file"===h||"internet"===h||["text_file","excel_file"].includes(h)?null:(0,n.jsx)(i.default.Item,{label:_("resource_value"),name:"value",required:!0,children:(0,n.jsx)(s.default,{placeholder:_("please_select_param"),options:k,loading:N,className:"w-3/5",allowClear:!0})})]})]})})}},49264:function(e,l,t){t.r(l),t.d(l,{default:function(){return _}});var n=t(85893),a=t(32983),r=t(93967),i=t.n(r),s=e=>{let{className:l,imgUrl:t="/pictures/empty.png"}=e;return(0,n.jsx)("div",{className:i()("m-auto",{className:l}),children:(0,n.jsx)(a.Z,{image:t,imageStyle:{margin:"0 auto",width:"100%",height:"100%"}})})},o=t(48689),u=t(24969),d=t(34041),c=t(45030),m=t(86738),v=t(14726),p=t(96486),x=t(67294),f=t(67421),h=t(25934),g=t(83072),j=t(2856),_=e=>{var l;let{name:t,updateData:a,resourceTypeOptions:r,initValue:_}=e,{t:b}=(0,f.$G)(),y=(0,x.useRef)(_||[]),[w,N]=(0,x.useState)({uid:"",icon:""}),[k,Z]=(0,x.useState)((null==_?void 0:_.map(e=>({...e,icon:e.type,initVal:e})))||[]),[C,S]=(0,x.useState)([...k]),[E,R]=(0,x.useState)((null==k?void 0:null===(l=k[0])||void 0===l?void 0:l.uid)||""),[M,I]=(0,x.useState)(""),V=(e,l)=>{var n,r;null==e||e.stopPropagation();let i=null===(n=y.current)||void 0===n?void 0:n.findIndex(e=>e.uid===E),s=null==k?void 0:k.filter(e=>e.uid!==l.uid);y.current=y.current.filter(e=>e.uid!==l.uid)||[],a([t,y.current]),Z(s),i===(null==k?void 0:k.length)-1&&0!==i&&setTimeout(()=>{var e;R((null==s?void 0:null===(e=s[s.length-1])||void 0===e?void 0:e.uid)||"")},0),R((null==s?void 0:null===(r=s[i])||void 0===r?void 0:r.uid)||"")};return(0,x.useEffect)(()=>{S([...k])},[k]),(0,x.useEffect)(()=>{Z(k.map(e=>(null==w?void 0:w.uid)===e.uid?{...e,icon:w.icon}:e))},[w]),(0,n.jsxs)("div",{className:"flex flex-1 h-64 px-3 py-4 border border-[#d6d8da] rounded-md",children:[(0,n.jsxs)("div",{className:"flex flex-col w-40 h-full",children:[(0,n.jsx)(d.default,{options:r,className:"w-full h-8",variant:"borderless",defaultValue:"all",onChange:e=>{var l,t;if("all"===e)S(k),R((null==k?void 0:null===(l=k[0])||void 0===l?void 0:l.uid)||"");else{let l=null==k?void 0:k.filter(l=>(null==l?void 0:l.icon)===e);R((null==l?void 0:null===(t=l[0])||void 0===t?void 0:t.uid)||""),S(l)}}}),(0,n.jsx)("div",{className:"flex flex-1 flex-col gap-1 overflow-y-auto",children:null==C?void 0:C.map(e=>(0,n.jsxs)("div",{className:i()("flex h-8 items-center px-3 pl-[0.6rem] rounded-md hover:bg-[#f5faff] hover:dark:bg-[#606264] cursor-pointer relative",{"bg-[#f5faff] dark:bg-[#606264]":e.uid===E}),onClick:()=>{R(e.uid||"")},onMouseEnter:()=>{I(e.uid||"")},onMouseLeave:()=>{I("")},children:[g.resourceTypeIcon[e.icon||""],(0,n.jsx)(c.Z.Text,{className:i()("flex flex-1 items-center text-sm p-0 m-0 mx-2 line-clamp-1",{"text-[#0c75fc]":e.uid===E}),editable:{autoSize:{maxRows:1},onChange:l=>{Z(k.map(t=>t.uid===e.uid?{...t,name:l}:t)),y.current=y.current.map(t=>t.uid===e.uid?{...t,name:l}:t),a([t,y.current])}},ellipsis:{tooltip:!0},children:e.name}),(0,n.jsx)(m.Z,{title:b("want_delete"),onConfirm:l=>{V(l,e)},onCancel:e=>null==e?void 0:e.stopPropagation(),children:(0,n.jsx)(o.Z,{className:"text-sm cursor-pointer absolute right-2 ".concat(M===e.uid?"opacity-100":"opacity-0"),style:{top:"50%",transform:"translateY(-50%)"},onClick:e=>e.stopPropagation()})})]},e.uid))}),(0,n.jsx)(v.ZP,{className:"w-full h-8",type:"dashed",block:!0,icon:(0,n.jsx)(u.Z,{}),onClick:()=>{var e,l;let n=(0,h.Z)();y.current=(0,p.concat)(y.current,[{is_dynamic:!1,type:null===(e=null==r?void 0:r.filter(e=>"all"!==e.value))||void 0===e?void 0:e[0].value,value:"",uid:n,name:b("resource")+" ".concat(y.current.length+1)}].filter(Boolean)),a([t,y.current]),Z(e=>{var l,t,a;return[...e,{icon:(null===(l=null==r?void 0:r.filter(e=>"all"!==e.value))||void 0===l?void 0:null===(t=l[0])||void 0===t?void 0:t.value)||"",uid:n,initVal:{is_dynamic:!1,type:null===(a=null==r?void 0:r.filter(e=>"all"!==e.value))||void 0===a?void 0:a[0].value,value:"",uid:n,name:b("resource")+" ".concat(e.length+1)},name:b("resource")+" ".concat(e.length+1)}]}),R(n),N({uid:n,icon:null===(l=null==r?void 0:r.filter(e=>"all"!==e.value))||void 0===l?void 0:l[0].value})},children:b("add_resource")})]}),(0,n.jsx)("div",{className:"flex flex-1 ml-6 ",children:C&&(null==C?void 0:C.length)>0?(0,n.jsx)("div",{className:"flex flex-1",children:null==C?void 0:C.map(e=>(0,n.jsx)(j.default,{classNames:e.uid===E?"block":"hidden",resourceTypeOptions:r,initValue:e.initVal,setCurIcon:N,updateData:e=>{var l;y.current=null===(l=y.current)||void 0===l?void 0:l.map(l=>(null==l?void 0:l.uid)===(null==e?void 0:e.uid)?{...l,...e}:l),a([t,y.current])},uid:e.uid||""},e.uid))}):(0,n.jsx)(s,{className:"w-40 h-40"})})]})}},83072:function(e,l,t){t.r(l),t.d(l,{agentIcon:function(){return _},resourceTypeIcon:function(){return b}});var n=t(85893),a=t(70065),r=t(89035),i=t(48869),s=t(61086),o=t(57132),u=t(97879),d=t(32319),c=t(79383),m=t(13520),v=t(14079),p=t(10524),x=t(56466),f=t(26911),h=t(97175),g=t(16801),j=t(13179);t(67294);let _={CodeEngineer:(0,n.jsx)(r.Z,{}),Reporter:(0,n.jsx)(i.Z,{}),DataScientist:(0,n.jsx)(s.Z,{}),Summarizer:(0,n.jsx)(o.Z,{}),ToolExpert:(0,n.jsx)(a.Z,{type:"icon-plugin",style:{fontSize:17.25,marginTop:2}}),Indicator:(0,n.jsx)(u.Z,{}),Dbass:(0,n.jsx)(d.Z,{})},b={all:(0,n.jsx)(c.Z,{}),database:(0,n.jsx)(m.Z,{}),knowledge:(0,n.jsx)(v.Z,{}),internet:(0,n.jsx)(p.Z,{}),plugin:(0,n.jsx)(x.Z,{}),text_file:(0,n.jsx)(f.Z,{}),excel_file:(0,n.jsx)(h.Z,{}),image_file:(0,n.jsx)(g.Z,{}),awel_flow:(0,n.jsx)(j.Z,{})};l.default=()=>(0,n.jsx)(n.Fragment,{})},56397:function(e,l,t){t.r(l);var n=t(85893),a=t(48218),r=t(58638),i=t(31418),s=t(45030),o=t(20640),u=t.n(o),d=t(67294),c=t(73913);l.default=(0,d.memo)(()=>{var e;let{appInfo:l}=(0,d.useContext)(c.MobileChatContext),{message:t}=i.Z.useApp(),[o,m]=(0,d.useState)(0);if(!(null==l?void 0:l.app_code))return null;let v=async()=>{let e=u()("dingtalk://dingtalkclient/page/link?url=".concat(encodeURIComponent(location.href),"&pc_slide=true"));t[e?"success":"error"](e?"复制成功":"复制失败")};return o>6&&t.info(JSON.stringify(window.navigator.userAgent),2,()=>{m(0)}),(0,n.jsxs)("header",{className:"flex w-full items-center justify-between bg-[rgba(255,255,255,0.9)] border dark:bg-black dark:border-[rgba(255,255,255,0.6)] rounded-xl mx-auto px-4 py-2 mb-4 sticky top-4 z-50 mt-4 shadow-md",children:[(0,n.jsxs)("div",{className:"flex gap-2 items-center",onClick:()=>m(o+1),children:[(0,n.jsx)(a.Z,{scene:(null==l?void 0:null===(e=l.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent",width:8,height:8}),(0,n.jsxs)("div",{className:"flex flex-col ml-2",children:[(0,n.jsx)(s.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==l?void 0:l.app_name}),(0,n.jsx)(s.Z.Text,{className:"text-sm line-clamp-2",children:null==l?void 0:l.app_describe})]})]}),(0,n.jsx)("div",{onClick:v,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,n.jsx)(r.Z,{className:"text-lg"})})]})})},74638:function(e,l,t){t.r(l);var n=t(85893),a=t(76212),r=t(62418),i=t(25519),s=t(30159),o=t(87740),u=t(50888),d=t(52645),c=t(27496),m=t(1375),v=t(65654),p=t(66309),x=t(55241),f=t(74330),h=t(25278),g=t(14726),j=t(93967),_=t.n(j),b=t(39332),y=t(67294),w=t(73913),N=t(7001),k=t(73749),Z=t(97109),C=t(83454);let S=["magenta","orange","geekblue","purple","cyan","green"];l.default=()=>{var e,l;let t=(0,b.useSearchParams)(),j=null!==(l=null==t?void 0:t.get("ques"))&&void 0!==l?l:"",{history:E,model:R,scene:M,temperature:I,resource:V,conv_uid:O,appInfo:T,scrollViewRef:L,order:P,userInput:A,ctrl:D,canAbort:z,canNewChat:W,setHistory:q,setCanNewChat:F,setCarAbort:$,setUserInput:J}=(0,y.useContext)(w.MobileChatContext),[U,B]=(0,y.useState)(!1),[G,H]=(0,y.useState)(!1),K=async e=>{var l,t,n;J(""),D.current=new AbortController;let a={chat_mode:M,model_name:R,user_input:e||A,conv_uid:O,temperature:I,app_code:null==T?void 0:T.app_code,...V&&{select_param:JSON.stringify(V)}};if(E&&E.length>0){let e=null==E?void 0:E.filter(e=>"view"===e.role);P.current=e[e.length-1].order+1}let s=[{role:"human",context:e||A,model_name:R,order:P.current,time_stamp:0},{role:"view",context:"",model_name:R,order:P.current,time_stamp:0,thinking:!0}],o=s.length-1;q([...E,...s]),F(!1);try{await (0,m.L)("".concat(null!==(l=C.env.API_BASE_URL)&&void 0!==l?l:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[i.gp]:null!==(t=(0,r.n5)())&&void 0!==t?t:""},signal:D.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===m.a)return},onclose(){var e;null===(e=D.current)||void 0===e||e.abort(),F(!0),$(!1)},onerror(e){throw Error(e)},onmessage:e=>{let l=e.data;try{l=JSON.parse(l).vis}catch(e){l.replaceAll("\\n","\n")}"[DONE]"===l?(F(!0),$(!1)):(null==l?void 0:l.startsWith("[ERROR]"))?(s[o].context=null==l?void 0:l.replace("[ERROR]",""),s[o].thinking=!1,q([...E,...s]),F(!0),$(!1)):($(!0),s[o].context=l,s[o].thinking=!1,q([...E,...s]))}})}catch(e){null===(n=D.current)||void 0===n||n.abort(),s[o].context="Sorry, we meet some error, please try again later.",s[o].thinking=!1,q([...s]),F(!0),$(!1)}},X=async()=>{A.trim()&&W&&await K()};(0,y.useEffect)(()=>{var e,l;null===(e=L.current)||void 0===e||e.scrollTo({top:null===(l=L.current)||void 0===l?void 0:l.scrollHeight,behavior:"auto"})},[E,L]);let Y=(0,y.useMemo)(()=>{if(!T)return[];let{param_need:e=[]}=T;return null==e?void 0:e.map(e=>e.type)},[T]),Q=(0,y.useMemo)(()=>{var e;return 0===E.length&&T&&!!(null==T?void 0:null===(e=T.recommend_questions)||void 0===e?void 0:e.length)},[E,T]),{run:ee,loading:el}=(0,v.Z)(async()=>await (0,a.Vx)((0,a.zR)(O)),{manual:!0,onSuccess:()=>{q([])}});return(0,y.useEffect)(()=>{j&&R&&O&&T&&K(j)},[T,O,R,j]),(0,n.jsxs)("div",{className:"flex flex-col",children:[Q&&(0,n.jsx)("ul",{children:null==T?void 0:null===(e=T.recommend_questions)||void 0===e?void 0:e.map((e,l)=>(0,n.jsx)("li",{className:"mb-3",children:(0,n.jsx)(p.Z,{color:S[l],className:"p-2 rounded-xl",onClick:async()=>{K(e.question)},children:e.question})},e.id))}),(0,n.jsxs)("div",{className:"flex items-center justify-between gap-1",children:[(0,n.jsxs)("div",{className:"flex gap-2 mb-1 w-full overflow-x-auto",children:[(null==Y?void 0:Y.includes("model"))&&(0,n.jsx)(N.default,{}),(null==Y?void 0:Y.includes("resource"))&&(0,n.jsx)(k.default,{}),(null==Y?void 0:Y.includes("temperature"))&&(0,n.jsx)(Z.default,{})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between text-lg font-bold",children:[(0,n.jsx)(x.Z,{content:"暂停回复",trigger:["hover"],children:(0,n.jsx)(s.Z,{className:_()("p-2 cursor-pointer",{"text-[#0c75fc]":z,"text-gray-400":!z}),onClick:()=>{var e;z&&(null===(e=D.current)||void 0===e||e.abort(),setTimeout(()=>{$(!1),F(!0)},100))}})}),(0,n.jsx)(x.Z,{content:"再来一次",trigger:["hover"],children:(0,n.jsx)(o.Z,{className:_()("p-2 cursor-pointer",{"text-gray-400":!E.length||!W}),onClick:()=>{var e,l;if(!W||0===E.length)return;let t=null===(e=null===(l=E.filter(e=>"human"===e.role))||void 0===l?void 0:l.slice(-1))||void 0===e?void 0:e[0];K((null==t?void 0:t.context)||"")}})}),el?(0,n.jsx)(f.Z,{spinning:el,indicator:(0,n.jsx)(u.Z,{style:{fontSize:18},spin:!0}),className:"p-2"}):(0,n.jsx)(x.Z,{content:"清除历史",trigger:["hover"],children:(0,n.jsx)(d.Z,{className:_()("p-2 cursor-pointer",{"text-gray-400":!E.length||!W}),onClick:()=>{W&&ee()}})})]})]}),(0,n.jsxs)("div",{className:_()("flex py-2 px-3 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border",{"border-[#0c75fc] dark:border-[rgba(12,117,252,0.8)]":U}),children:[(0,n.jsx)(h.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:A,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(G){e.preventDefault();return}A.trim()&&(e.preventDefault(),X())}},onChange:e=>{J(e.target.value)},onFocus:()=>{B(!0)},onBlur:()=>B(!1),onCompositionStartCapture:()=>{H(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{H(!1)},0)}}),(0,n.jsx)(g.ZP,{type:"primary",className:_()("flex items-center justify-center rounded-lg bg-button-gradient border-0 ml-2",{"opacity-40 cursor-not-allowed":!A.trim()||!W}),onClick:X,children:W?(0,n.jsx)(c.Z,{}):(0,n.jsx)(f.Z,{indicator:(0,n.jsx)(u.Z,{className:"text-white"})})})]})]})}},7001:function(e,l,t){t.r(l);var n=t(85893),a=t(41468),r=t(39718),i=t(94668),s=t(85418),o=t(55241),u=t(67294),d=t(73913);l.default=()=>{let{modelList:e}=(0,u.useContext)(a.p),{model:l,setModel:t}=(0,u.useContext)(d.MobileChatContext),c=(0,u.useMemo)(()=>e.length>0?e.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{t(e)},children:[(0,n.jsx)(r.Z,{width:14,height:14,model:e}),(0,n.jsx)("span",{className:"text-xs",children:e})]}),key:e})):[],[e,t]);return(0,n.jsx)(s.Z,{menu:{items:c},placement:"top",trigger:["click"],children:(0,n.jsx)(o.Z,{content:l,children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(r.Z,{width:16,height:16,model:l}),(0,n.jsx)("span",{className:"text-xs font-medium line-clamp-1",style:{maxWidth:96},children:l}),(0,n.jsx)(i.Z,{rotate:90})]})})})}},46568:function(e,l,t){t.r(l);var n=t(85893),a=t(25675),r=t.n(a),i=t(67294);l.default=(0,i.memo)(e=>{let{width:l,height:t,src:a,label:i}=e;return(0,n.jsx)(r(),{width:l||14,height:t||14,src:a,alt:i||"db-icon",priority:!0})})},73749:function(e,l,t){t.r(l);var n=t(85893),a=t(76212),r=t(62418),i=t(50888),s=t(94668),o=t(83266),u=t(65654),d=t(74330),c=t(23799),m=t(85418),v=t(67294),p=t(73913),x=t(46568);l.default=()=>{let{appInfo:e,resourceList:l,scene:t,model:f,conv_uid:h,getChatHistoryRun:g,setResource:j,resource:_}=(0,v.useContext)(p.MobileChatContext),[b,y]=(0,v.useState)(null),w=(0,v.useMemo)(()=>{var l,t,n;return null===(l=null==e?void 0:null===(t=e.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type))||void 0===l?void 0:null===(n=l[0])||void 0===n?void 0:n.value},[e]),N=(0,v.useMemo)(()=>l&&l.length>0?l.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{y(e),j(e.space_id||e.param)},children:[(0,n.jsx)(x.default,{width:14,height:14,src:r.S$[e.type].icon,label:r.S$[e.type].label}),(0,n.jsx)("span",{className:"text-xs",children:e.param})]}),key:e.space_id||e.param})):[],[l,j]),{run:k,loading:Z}=(0,u.Z)(async e=>{let[,l]=await (0,a.Vx)((0,a.qn)({convUid:h,chatMode:t,data:e,model:f,config:{timeout:36e5}}));return j(l),l},{manual:!0,onSuccess:async()=>{await g()}}),C=async e=>{let l=new FormData;l.append("doc_file",null==e?void 0:e.file),await k(l)},S=(0,v.useMemo)(()=>Z?(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(d.Z,{size:"small",indicator:(0,n.jsx)(i.Z,{spin:!0})}),(0,n.jsx)("span",{className:"text-xs",children:"上传中"})]}):_?(0,n.jsxs)("div",{className:"flex gap-1",children:[(0,n.jsx)("span",{className:"text-xs",children:_.file_name}),(0,n.jsx)(s.Z,{rotate:90})]}):(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(o.Z,{className:"text-base"}),(0,n.jsx)("span",{className:"text-xs",children:"上传文件"})]}),[Z,_]);return(0,n.jsx)(n.Fragment,{children:(()=>{switch(w){case"excel_file":case"text_file":case"image_file":return(0,n.jsx)("div",{className:"flex items-center justify-center gap-1 border rounded-xl bg-white dark:bg-black px-2 flex-shrink-0",children:(0,n.jsx)(c.default,{name:"file",accept:".xlsx,.xls",maxCount:1,showUploadList:!1,beforeUpload:()=>!1,onChange:C,className:"flex h-full w-full items-center justify-center",children:S})});case"database":case"knowledge":case"plugin":case"awel_flow":var e,t,a,i,o;if(!(null==l?void 0:l.length))return null;return(0,n.jsx)(m.Z,{menu:{items:N},placement:"top",trigger:["click"],children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(x.default,{width:14,height:14,src:null===(e=r.S$[(null==b?void 0:b.type)||(null==l?void 0:null===(t=l[0])||void 0===t?void 0:t.type)])||void 0===e?void 0:e.icon,label:null===(a=r.S$[(null==b?void 0:b.type)||(null==l?void 0:null===(i=l[0])||void 0===i?void 0:i.type)])||void 0===a?void 0:a.label}),(0,n.jsx)("span",{className:"text-xs font-medium",children:(null==b?void 0:b.param)||(null==l?void 0:null===(o=l[0])||void 0===o?void 0:o.param)}),(0,n.jsx)(s.Z,{rotate:90})]})})}})()})}},97109:function(e,l,t){t.r(l);var n=t(85893),a=t(70065),r=t(85418),i=t(30568),s=t(67294),o=t(73913);l.default=()=>{let{temperature:e,setTemperature:l}=(0,s.useContext)(o.MobileChatContext),t=e=>{isNaN(e)||l(e)};return(0,n.jsx)(r.Z,{trigger:["click"],dropdownRender:()=>(0,n.jsx)("div",{className:"flex h-28 bg-white dark:bg-[rgba(255,255,255,0.5)] items-center justify-center rounded-xl py-3",children:(0,n.jsx)(i.Z,{defaultValue:.5,max:1,min:0,step:.1,vertical:!0,onChange:t,value:e})}),placement:"top",children:(0,n.jsxs)("div",{className:"flex items-center justify-between border rounded-xl bg-white dark:bg-black w-14 p-2 flex-shrink-0",children:[(0,n.jsx)(a.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,n.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},73913:function(e,l,t){t.r(l),t.d(l,{MobileChatContext:function(){return _}});var n=t(85893),a=t(41468),r=t(76212),i=t(2440),s=t(62418),o=t(25519),u=t(1375),d=t(65654),c=t(74330),m=t(5152),v=t.n(m),p=t(39332),x=t(67294),f=t(56397),h=t(74638),g=t(83454);let j=v()(()=>Promise.all([t.e(3662),t.e(7034),t.e(8674),t.e(930),t.e(3166),t.e(2837),t.e(2168),t.e(8163),t.e(7126),t.e(4041),t.e(2398),t.e(1300),t.e(4567),t.e(7665),t.e(9773),t.e(3457),t.e(4035),t.e(6624),t.e(4705),t.e(9202),t.e(5782),t.e(2783),t.e(8709),t.e(9256),t.e(9870)]).then(t.bind(t,36818)),{loadableGenerated:{webpack:()=>[36818]},ssr:!1}),_=(0,x.createContext)({model:"",temperature:.5,resource:null,setModel:()=>{},setTemperature:()=>{},setResource:()=>{},scene:"",history:[],setHistory:()=>{},scrollViewRef:{current:null},appInfo:{},conv_uid:"",resourceList:[],order:{current:1},handleChat:()=>Promise.resolve(),canAbort:!1,setCarAbort:()=>{},canNewChat:!1,setCanNewChat:()=>{},ctrl:{current:void 0},userInput:"",setUserInput:()=>{},getChatHistoryRun:()=>{}});l.default=()=>{var e,l;let t=(0,p.useSearchParams)(),m=null!==(e=null==t?void 0:t.get("chat_scene"))&&void 0!==e?e:"",v=null!==(l=null==t?void 0:t.get("app_code"))&&void 0!==l?l:"",{modelList:b}=(0,x.useContext)(a.p),[y,w]=(0,x.useState)([]),[N,k]=(0,x.useState)(""),[Z,C]=(0,x.useState)(.5),[S,E]=(0,x.useState)(null),R=(0,x.useRef)(null),[M,I]=(0,x.useState)(""),[V,O]=(0,x.useState)(!1),[T,L]=(0,x.useState)(!0),P=(0,x.useRef)(),A=(0,x.useRef)(1),D=(0,i.Z)(),z=(0,x.useMemo)(()=>"".concat(null==D?void 0:D.user_no,"_").concat(v),[v,D]),{run:W,loading:q}=(0,d.Z)(async()=>await (0,r.Vx)((0,r.$i)("".concat(null==D?void 0:D.user_no,"_").concat(v))),{manual:!0,onSuccess:e=>{let[,l]=e,t=null==l?void 0:l.filter(e=>"view"===e.role);t&&t.length>0&&(A.current=t[t.length-1].order+1),w(l||[])}}),{data:F,run:$,loading:J}=(0,d.Z)(async e=>{let[,l]=await (0,r.Vx)((0,r.BN)(e));return null!=l?l:{}},{manual:!0}),{run:U,data:B,loading:G}=(0,d.Z)(async()=>{var e,l;let[,t]=await (0,r.Vx)((0,r.vD)(m));return E((null==t?void 0:null===(e=t[0])||void 0===e?void 0:e.space_id)||(null==t?void 0:null===(l=t[0])||void 0===l?void 0:l.param)),null!=t?t:[]},{manual:!0}),{run:H,loading:K}=(0,d.Z)(async()=>{let[,e]=await (0,r.Vx)((0,r.iP)());return null!=e?e:[]},{manual:!0,onSuccess:e=>{var l;let t=null===(l=null==e?void 0:e.filter(e=>e.conv_uid===z))||void 0===l?void 0:l[0];(null==t?void 0:t.select_param)&&E(JSON.parse(null==t?void 0:t.select_param))}});(0,x.useEffect)(()=>{m&&v&&b.length&&$({chat_scene:m,app_code:v})},[v,m,$,b]),(0,x.useEffect)(()=>{v&&W()},[v]),(0,x.useEffect)(()=>{if(b.length>0){var e,l,t;let n=null===(e=null==F?void 0:null===(l=F.param_need)||void 0===l?void 0:l.filter(e=>"model"===e.type))||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.value;k(n||b[0])}},[b,F]),(0,x.useEffect)(()=>{var e,l,t;let n=null===(e=null==F?void 0:null===(l=F.param_need)||void 0===l?void 0:l.filter(e=>"temperature"===e.type))||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.value;C(n||.5)},[F]),(0,x.useEffect)(()=>{if(m&&(null==F?void 0:F.app_code)){var e,l,t,n,a,r;let i=null===(e=null==F?void 0:null===(l=F.param_need)||void 0===l?void 0:l.filter(e=>"resource"===e.type))||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.value,s=null===(n=null==F?void 0:null===(a=F.param_need)||void 0===a?void 0:a.filter(e=>"resource"===e.type))||void 0===n?void 0:null===(r=n[0])||void 0===r?void 0:r.bind_value;s&&E(s),["database","knowledge","plugin","awel_flow"].includes(i)&&!s&&U()}},[F,m,U]);let X=async e=>{var l,t,n;I(""),P.current=new AbortController;let a={chat_mode:m,model_name:N,user_input:e||M,conv_uid:z,temperature:Z,app_code:null==F?void 0:F.app_code,...S&&{select_param:S}};if(y&&y.length>0){let e=null==y?void 0:y.filter(e=>"view"===e.role);A.current=e[e.length-1].order+1}let r=[{role:"human",context:e||M,model_name:N,order:A.current,time_stamp:0},{role:"view",context:"",model_name:N,order:A.current,time_stamp:0,thinking:!0}],i=r.length-1;w([...y,...r]),L(!1);try{await (0,u.L)("".concat(null!==(l=g.env.API_BASE_URL)&&void 0!==l?l:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[o.gp]:null!==(t=(0,s.n5)())&&void 0!==t?t:""},signal:P.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===u.a)return},onclose(){var e;null===(e=P.current)||void 0===e||e.abort(),L(!0),O(!1)},onerror(e){throw Error(e)},onmessage:e=>{let l=e.data;try{l=JSON.parse(l).vis}catch(e){l.replaceAll("\\n","\n")}"[DONE]"===l?(L(!0),O(!1)):(null==l?void 0:l.startsWith("[ERROR]"))?(r[i].context=null==l?void 0:l.replace("[ERROR]",""),r[i].thinking=!1,w([...y,...r]),L(!0),O(!1)):(O(!0),r[i].context=l,r[i].thinking=!1,w([...y,...r]))}})}catch(e){null===(n=P.current)||void 0===n||n.abort(),r[i].context="Sorry, we meet some error, please try again later.",r[i].thinking=!1,w([...r]),L(!0),O(!1)}};return(0,x.useEffect)(()=>{m&&"chat_agent"!==m&&H()},[m,H]),(0,n.jsx)(_.Provider,{value:{model:N,resource:S,setModel:k,setTemperature:C,setResource:E,temperature:Z,appInfo:F,conv_uid:z,scene:m,history:y,scrollViewRef:R,setHistory:w,resourceList:B,order:A,handleChat:X,setCanNewChat:L,ctrl:P,canAbort:V,setCarAbort:O,canNewChat:T,userInput:M,setUserInput:I,getChatHistoryRun:W},children:(0,n.jsx)(c.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:q||J||G||K,children:(0,n.jsxs)("div",{className:"flex flex-col h-screen bg-gradient-light dark:bg-gradient-dark p-4 pt-0",children:[(0,n.jsxs)("div",{ref:R,className:"flex flex-col flex-1 overflow-y-auto mb-3",children:[(0,n.jsx)(f.default,{}),(0,n.jsx)(j,{})]}),(null==F?void 0:F.app_code)&&(0,n.jsx)(h.default,{})]})})})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8538-dbf75773f80258af.js b/dbgpt/app/static/web/_next/static/chunks/8538-dbf75773f80258af.js deleted file mode 100644 index 7f46ee883..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/8538-dbf75773f80258af.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8538,2500,7399,2524,2293,7209],{39055:function(e,r){r.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"}},91321:function(e,r,t){t.d(r,{Z:function(){return u}});var n=t(87462),o=t(45987),c=t(67294),l=t(16165),a=["type","children"],i=new Set;function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[r];if("string"==typeof t&&t.length&&!i.has(t)){var n=document.createElement("script");n.setAttribute("src",t),n.setAttribute("data-namespace",t),e.length>r+1&&(n.onload=function(){s(e,r+1)},n.onerror=function(){s(e,r+1)}),i.add(t),document.body.appendChild(n)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scriptUrl,t=e.extraCommonProps,i=void 0===t?{}:t;r&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(r)?s(r.reverse()):s([r]));var u=c.forwardRef(function(e,r){var t=e.type,s=e.children,u=(0,o.Z)(e,a),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(t)})),s&&(d=s),c.createElement(l.Z,(0,n.Z)({},i,u,{ref:r}),d)});return u.displayName="Iconfont",u}},52645:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},58638:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},83266:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},79090:function(e,r,t){var n=t(87462),o=t(67294),c=t(15294),l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c.Z}))});r.Z=a},30159:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},87740:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},27496:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(87462),o=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c}))})},41441:function(e,r,t){var n=t(87462),o=t(67294),c=t(39055),l=t(13401),a=o.forwardRef(function(e,r){return o.createElement(l.Z,(0,n.Z)({},e,{ref:r,icon:c.Z}))});r.Z=a},66309:function(e,r,t){t.d(r,{Z:function(){return z}});var n=t(67294),o=t(93967),c=t.n(o),l=t(98423),a=t(98787),i=t(69760),s=t(96159),u=t(45353),d=t(53124),f=t(47648),g=t(10274),h=t(14747),p=t(87893),v=t(83559);let m=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:n,componentCls:o,calc:c}=e,l=c(n).sub(t).equal(),a=c(r).sub(t).equal();return{[o]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:r,fontSizeIcon:t,calc:n}=e,o=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:o,tagLineHeight:(0,f.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(t).sub(n(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let r=b(e);return m(r)},C),k=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let w=n.forwardRef((e,r)=>{let{prefixCls:t,style:o,className:l,checked:a,onChange:i,onClick:s}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:g}=n.useContext(d.E_),h=f("tag",t),[p,v,m]=y(h),b=c()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:a},null==g?void 0:g.className,l,v,m);return p(n.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},o),null==g?void 0:g.style),className:b,onClick:e=>{null==i||i(!a),null==s||s(e)}})))});var Z=t(98719);let $=e=>(0,Z.Z)(e,(r,t)=>{let{textColor:n,lightBorderColor:o,lightColor:c,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:n,background:c,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var x=(0,v.bk)(["Tag","preset"],e=>{let r=b(e);return $(r)},C);let E=(e,r,t)=>{let n=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let r=b(e);return[E(r,"success","Success"),E(r,"processing","Info"),E(r,"error","Error"),E(r,"warning","Warning")]},C),O=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);or.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};let S=n.forwardRef((e,r)=>{let{prefixCls:t,className:o,rootClassName:f,style:g,children:h,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,k=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:Z,tag:$}=n.useContext(d.E_),[E,S]=n.useState(!0),z=(0,l.Z)(k,["closeIcon","closable"]);n.useEffect(()=>{void 0!==C&&S(C)},[C]);let B=(0,a.o2)(v),M=(0,a.yT)(v),j=B||M,V=Object.assign(Object.assign({backgroundColor:v&&!j?v:void 0},null==$?void 0:$.style),g),P=w("tag",t),[R,I,N]=y(P),T=c()(P,null==$?void 0:$.className,{[`${P}-${v}`]:j,[`${P}-has-color`]:v&&!j,[`${P}-hidden`]:!E,[`${P}-rtl`]:"rtl"===Z,[`${P}-borderless`]:!b},o,f,I,N),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)($),{closable:!1,closeIconRender:e=>{let r=n.createElement("span",{className:`${P}-close-icon`,onClick:L},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),L(r)},className:c()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),_="function"==typeof k.onClick||h&&"a"===h.type,q=p||null,F=q?n.createElement(n.Fragment,null,q,h&&n.createElement("span",null,h)):h,D=n.createElement("span",Object.assign({},z,{ref:r,className:T,style:V}),F,A,B&&n.createElement(x,{key:"preset",prefixCls:P}),M&&n.createElement(H,{key:"status",prefixCls:P}));return R(_?n.createElement(u.Z,{component:"Tag"},D):D)});S.CheckableTag=w;var z=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/854.754b4d27d9bd4cbc.js b/dbgpt/app/static/web/_next/static/chunks/854.27c83b9073ece7cd.js similarity index 97% rename from dbgpt/app/static/web/_next/static/chunks/854.754b4d27d9bd4cbc.js rename to dbgpt/app/static/web/_next/static/chunks/854.27c83b9073ece7cd.js index 8baa9f460..c1ba40b1f 100644 --- a/dbgpt/app/static/web/_next/static/chunks/854.754b4d27d9bd4cbc.js +++ b/dbgpt/app/static/web/_next/static/chunks/854.27c83b9073ece7cd.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[854],{60854:function(e,t,r){r.r(t),r.d(t,{conf:function(){return n},language:function(){return s}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},folding:{markers:{start:RegExp("^\\s*#region\\b"),end:RegExp("^\\s*#endregion\\b")}}},s={defaultToken:"",ignoreCase:!1,tokenPostfix:".mips",regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:[".data",".text","syscall","trap","add","addu","addi","addiu","and","andi","div","divu","mult","multu","nor","or","ori","sll","slv","sra","srav","srl","srlv","sub","subu","xor","xori","lhi","lho","lhi","llo","slt","slti","sltu","sltiu","beq","bgtz","blez","bne","j","jal","jalr","jr","lb","lbu","lh","lhu","lw","li","la","sb","sh","sw","mfhi","mflo","mthi","mtlo","move"],symbols:/[\.,\:]+/,escapes:/\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\$[a-zA-Z_]\w*/,"variable.predefined"],[/[.a-zA-Z_]\w*/,{cases:{this:"variable.predefined","@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/#.*$/,"comment"],["///",{token:"regexp",next:"@hereregexp"}],[/^(\s*)(@regEx)/,["","regexp"]],[/(\,)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\:)(\s*)(@regEx)/,["delimiter","","regexp"]],[/@symbols/,"delimiter"],[/\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/0[0-7]+(?!\d)/,"number.octal"],[/\d+/,"number"],[/[,.]/,"delimiter"],[/"""/,"string",'@herestring."""'],[/'''/,"string","@herestring.'''"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\#\\]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\./,"string.escape.invalid"],[/#{/,{cases:{'$S2=="':{token:"string",next:"root.interpolatedstring"},"@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/#/,"string"]],herestring:[[/("""|''')/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^#\\'"]+/,"string"],[/['"]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/#{/,{token:"string.quote",next:"root.interpolatedstring"}],[/#/,"string"]],comment:[[/[^#]+/,"comment"],[/#/,"comment"]],hereregexp:[[/[^\\\/#]+/,"regexp"],[/\\./,"regexp"],[/#.*$/,"comment"],["///[igm]*",{token:"regexp",next:"@pop"}],[/\//,"regexp"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8670.57eeb71cdd593c27.js b/dbgpt/app/static/web/_next/static/chunks/8670.cebb5a13db29f979.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/8670.57eeb71cdd593c27.js rename to dbgpt/app/static/web/_next/static/chunks/8670.cebb5a13db29f979.js index 87380a801..8c460cf1d 100644 --- a/dbgpt/app/static/web/_next/static/chunks/8670.57eeb71cdd593c27.js +++ b/dbgpt/app/static/web/_next/static/chunks/8670.cebb5a13db29f979.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8670],{88670:function(e,r,t){t.r(r),t.d(r,{conf:function(){return i},language:function(){return s}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".shell",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],builtins:["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"],startingWithDash:/\-+\w+/,identifiersWithDashes:/[a-zA-Z]\w+(?:@startingWithDash)+/,symbols:/[=>{let{charts:t,scopeOfCharts:l,ruleConfig:a}=e,n={};if(null==t||t.forEach(e=>{if(e.chartKnowledge.toSpec){let t=e.chartKnowledge.toSpec;e.chartKnowledge.toSpec=(e,l)=>({...t(e,l),dataProps:l})}else e.chartKnowledge.toSpec=(e,t)=>({dataProps:t});n[e.chartType]=e.chartKnowledge}),(null==l?void 0:l.exclude)&&l.exclude.forEach(e=>{Object.keys(n).includes(e)&&delete n[e]}),null==l?void 0:l.include){let e=l.include;Object.keys(n).forEach(t=>{e.includes(t)||delete n[t]})}let r={...l,custom:n},s={...a},i=new h.w({ckbCfg:r,ruleCfg:s});return i},g=e=>{var t;let{data:l,dataMetaMap:a,myChartAdvisor:n}=e,r=a?Object.keys(a).map(e=>({name:e,...a[e]})):null,s=new x.Z(l).info(),i=(0,p.size)(s)>2?null==s?void 0:s.filter(e=>"string"!==e.recommendation&&"date"!==e.recommendation||e.distinct&&e.distinct>1):s,c=null==n?void 0:n.adviseWithLog({data:l,dataProps:r,fields:null==i?void 0:i.map(e=>e.name)});return null!==(t=null==c?void 0:c.advices)&&void 0!==t?t:[]};var j=l(67294);function f(e,t){return t.every(t=>e.includes(t))}function y(e,t){let l=t.find(t=>t.name===e);return(null==l?void 0:l.recommendation)==="date"?t=>new Date(t[e]):e}function b(e){return e.find(e=>{var t;return e.levelOfMeasurements&&(t=e.levelOfMeasurements,["Time","Ordinal"].some(e=>t.includes(e)))})}function N(e){return e.find(e=>e.levelOfMeasurements&&f(e.levelOfMeasurements,["Nominal"]))}let _=e=>{let{data:t,xField:l}=e,a=(0,p.uniq)(t.map(e=>e[l]));return a.length<=1},k=(e,t,l)=>{let{field4Split:a,field4X:n}=l;if((null==a?void 0:a.name)&&(null==n?void 0:n.name)){let l=e[a.name],r=t.filter(e=>a.name&&e[a.name]===l);return _({data:r,xField:n.name})?5:void 0}return(null==n?void 0:n.name)&&_({data:t,xField:n.name})?5:void 0},Z=e=>{let{data:t,chartType:l,xField:a}=e,n=(0,p.cloneDeep)(t);try{if(l.includes("line")&&(null==a?void 0:a.name)&&"date"===a.recommendation)return n.sort((e,t)=>new Date(e[a.name]).getTime()-new Date(t[a.name]).getTime()),n;l.includes("line")&&(null==a?void 0:a.name)&&["float","integer"].includes(a.recommendation)&&n.sort((e,t)=>e[a.name]-t[a.name])}catch(e){console.error(e)}return n},w=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return e.map(e=>{let l={};return Object.keys(e).forEach(a=>{l[a]=e[a]===t?null:e[a]}),l})},C="multi_line_chart",S="multi_measure_line_chart",O=[{chartType:"multi_line_chart",chartKnowledge:{id:C,name:"multi_line_chart",alias:["multi_line_chart"],family:["LineCharts"],def:"multi_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{var l,a;let n=b(t),r=N(t),s=null!==(l=null!=n?n:r)&&void 0!==l?l:t[0],i=t.filter(e=>e.name!==(null==s?void 0:s.name)),c=null!==(a=i.filter(e=>e.levelOfMeasurements&&f(e.levelOfMeasurements,["Interval"])))&&void 0!==a?a:[i[0]],d=i.filter(e=>!c.find(t=>t.name===e.name)).find(e=>e.levelOfMeasurements&&f(e.levelOfMeasurements,["Nominal"]));if(!s||!c)return null;let o={type:"view",autoFit:!0,data:Z({data:e,chartType:C,xField:s}),children:[]};return c.forEach(l=>{let a={type:"line",encode:{x:y(s.name,t),y:l.name,size:t=>k(t,e,{field4Split:d,field4X:s})},legend:{size:!1}};d&&(a.encode.color=d.name),o.children.push(a)}),o}},chineseName:"折线图"},{chartType:"multi_measure_column_chart",chartKnowledge:{id:"multi_measure_column_chart",name:"multi_measure_column_chart",alias:["multi_measure_column_chart"],family:["ColumnCharts"],def:"multi_measure_column_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{try{let l=null==t?void 0:t.filter(e=>f(e.levelOfMeasurements,["Interval"])),a=N(t),n=b(t),r=null!=a?a:n;if(!r||!l)return null;let s={type:"view",data:e,children:[]};return null==l||l.forEach(e=>{let t={type:"interval",encode:{x:r.name,y:e.name,color:()=>e.name,series:()=>e.name}};s.children.push(t)}),s}catch(e){return console.log(e),null}}},chineseName:"折线图"},{chartType:"multi_measure_line_chart",chartKnowledge:{id:S,name:"multi_measure_line_chart",alias:["multi_measure_line_chart"],family:["LineCharts"],def:"multi_measure_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{try{var l,a;let n=null!==(a=null!==(l=N(t))&&void 0!==l?l:b(t))&&void 0!==a?a:t[0],r=null==t?void 0:t.filter(e=>e.name!==(null==n?void 0:n.name)&&f(e.levelOfMeasurements,["Interval"]));if(!n||!r)return null;let s={type:"view",data:Z({data:e,chartType:S,xField:n}),children:[]};return null==r||r.forEach(l=>{let a={type:"line",encode:{x:y(n.name,t),y:l.name,color:()=>l.name,series:()=>l.name,size:t=>k(t,e,{field4X:n})},legend:{size:!1}};s.children.push(a)}),s}catch(e){return console.log(e),null}}},chineseName:"折线图"}];var P=l(41468);let E=e=>{if(!e)return;let t=e.getContainer(),l=t.getElementsByTagName("canvas")[0];return l};var T=l(69753);let D=e=>"response_line_chart"===e?["multi_line_chart","multi_measure_line_chart"]:"response_bar_chart"===e?["multi_measure_column_chart"]:"response_pie_chart"===e?["pie_chart"]:"response_scatter_chart"===e?["scatter_plot"]:"response_area_chart"===e?["area_chart"]:"response_heatmap_chart"===e?["heatmap"]:[],{Option:M}=n.default,I=e=>{let{data:t,chartType:l,scopeOfCharts:h,ruleConfig:x}=e,f=w(t),{mode:y}=(0,j.useContext)(P.p),[b,N]=(0,j.useState)(),[_,k]=(0,j.useState)([]),[C,S]=(0,j.useState)(),D=(0,j.useRef)();(0,j.useEffect)(()=>{N(v({charts:O,scopeOfCharts:{exclude:["area_chart","stacked_area_chart","percent_stacked_area_chart"]},ruleConfig:x}))},[x,h]);let I=e=>{if(!b)return[];let t=function(e){let{advices:t}=e;return t}({advices:e}),a=(0,p.uniq)((0,p.compact)((0,p.concat)(l,e.map(e=>e.type)))),n=a.map(e=>{let l=t.find(t=>t.type===e);if(l)return l;let a=b.dataAnalyzer.execute({data:f});if("data"in a){var n;let t=b.specGenerator.execute({data:a.data,dataProps:a.dataProps,chartTypeRecommendations:[{chartType:e,score:1}]});if("advices"in t)return null===(n=t.advices)||void 0===n?void 0:n[0]}}).filter(e=>null==e?void 0:e.spec);return n};(0,j.useEffect)(()=>{if(f&&b){var e;let t=g({data:f,myChartAdvisor:b}),l=I(t);k(l),S(null===(e=l[0])||void 0===e?void 0:e.type)}},[JSON.stringify(f),b,l]);let R=(0,j.useMemo)(()=>{if((null==_?void 0:_.length)>0){var e,t,l,n;let r=null!=C?C:_[0].type,s=null!==(t=null===(e=null==_?void 0:_.find(e=>e.type===r))||void 0===e?void 0:e.spec)&&void 0!==t?t:void 0;if(s){if(s.data&&["line_chart","step_line_chart"].includes(r)){let e=null==b?void 0:b.dataAnalyzer.execute({data:f});e&&"dataProps"in e&&(s.data=Z({data:s.data,xField:null===(n=e.dataProps)||void 0===n?void 0:n.find(e=>"date"===e.recommendation),chartType:r}))}return"pie_chart"===r&&(null==s?void 0:null===(l=s.encode)||void 0===l?void 0:l.color)&&(s.tooltip={title:{field:s.encode.color}}),(0,a.jsx)(u.k,{options:{...s,autoFit:!0,theme:y,height:300},ref:D},r)}}},[_,y,C]);return C?(0,a.jsxs)("div",{children:[(0,a.jsxs)(r.Z,{justify:"space-between",className:"mb-2",children:[(0,a.jsx)(s.Z,{children:(0,a.jsxs)(i.Z,{children:[(0,a.jsx)("span",{children:m.Z.t("Advices")}),(0,a.jsx)(n.default,{className:"w-52",value:C,placeholder:"Chart Switcher",onChange:e=>S(e),size:"small",children:null==_?void 0:_.map(e=>{let t=m.Z.t(e.type);return(0,a.jsx)(M,{value:e.type,children:(0,a.jsx)(c.Z,{title:t,placement:"right",children:(0,a.jsx)("div",{children:t})})},e.type)})})]})}),(0,a.jsx)(s.Z,{children:(0,a.jsx)(c.Z,{title:m.Z.t("Download"),children:(0,a.jsx)(d.ZP,{onClick:()=>(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Chart",l=document.createElement("a"),a="".concat(t,".png");setTimeout(()=>{let t=function(e){let t=E(e);if(t){let e=t.toDataURL("image/png");return e}}(e);if(t){l.addEventListener("click",()=>{l.download=a,l.href=t});let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),l.dispatchEvent(e)}},16)})(D.current,m.Z.t(C)),icon:(0,a.jsx)(T.Z,{}),type:"text"})})})]}),(0,a.jsx)("div",{className:"flex",children:R})]}):(0,a.jsx)(o.Z,{image:o.Z.PRESENTED_IMAGE_SIMPLE,description:"暂无合适的可视化视图"})}},39156:function(e,t,l){l.d(t,{_z:function(){return p._},ZP:function(){return v},aG:function(){return p.a}});var a=l(85893),n=l(41118),r=l(30208),s=l(40911),i=l(41468),c=l(99802),d=l(67294);function o(e){let{chart:t}=e,{mode:l}=(0,d.useContext)(i.p);return(0,a.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,a.jsxs)("div",{className:"h-full",children:[(0,a.jsx)("div",{className:"mb-2",children:t.chart_name}),(0,a.jsx)("div",{className:"opacity-80 text-sm mb-2",children:t.chart_desc}),(0,a.jsx)("div",{className:"h-[300px]",children:(0,a.jsx)(c.k,{style:{height:"100%"},options:{autoFit:!0,theme:l,type:"interval",data:t.values,encode:{x:"name",y:"value",color:"type"},axis:{x:{labelAutoRotate:!1}}}})})]})})}function u(e){let{chart:t}=e,{mode:l}=(0,d.useContext)(i.p);return(0,a.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,a.jsxs)("div",{className:"h-full",children:[(0,a.jsx)("div",{className:"mb-2",children:t.chart_name}),(0,a.jsx)("div",{className:"opacity-80 text-sm mb-2",children:t.chart_desc}),(0,a.jsx)("div",{className:"h-[300px]",children:(0,a.jsx)(c.k,{style:{height:"100%"},options:{autoFit:!0,theme:l,type:"view",data:t.values,children:[{type:"line",encode:{x:"name",y:"value",color:"type",shape:"smooth"}},{type:"area",encode:{x:"name",y:"value",color:"type",shape:"smooth"},legend:!1,style:{fillOpacity:.15}}],axis:{x:{labelAutoRotate:!1}}}})})]})})}var m=l(61685),h=l(96486);function x(e){var t,l;let{chart:n}=e,r=(0,h.groupBy)(n.values,"type");return(0,a.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,a.jsxs)("div",{className:"h-full",children:[(0,a.jsx)("div",{className:"mb-2",children:n.chart_name}),(0,a.jsx)("div",{className:"opacity-80 text-sm mb-2",children:n.chart_desc}),(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsxs)(m.Z,{"aria-label":"basic table",stripe:"odd",hoverRow:!0,borderAxis:"bothBetween",children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:Object.keys(r).map(e=>(0,a.jsx)("th",{children:e},e))})}),(0,a.jsx)("tbody",{children:null===(t=Object.values(r))||void 0===t?void 0:null===(l=t[0])||void 0===l?void 0:l.map((e,t)=>{var l;return(0,a.jsx)("tr",{children:null===(l=Object.keys(r))||void 0===l?void 0:l.map(e=>{var l;return(0,a.jsx)("td",{children:(null==r?void 0:null===(l=r[e])||void 0===l?void 0:l[t].value)||""},e)})},t)})})]})})]})})}var p=l(21332),v=function(e){let{chartsData:t}=e;console.log(t,"xxx");let l=(0,d.useMemo)(()=>{if(t){let e=[],l=null==t?void 0:t.filter(e=>"IndicatorValue"===e.chart_type);l.length>0&&e.push({charts:l,type:"IndicatorValue"});let a=null==t?void 0:t.filter(e=>"IndicatorValue"!==e.chart_type),n=a.length,r=0;return[[0],[1],[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]][n].forEach(t=>{if(t>0){let l=a.slice(r,r+t);r+=t,e.push({charts:l})}}),e}},[t]);return(0,a.jsx)("div",{className:"flex flex-col gap-3",children:null==l?void 0:l.map((e,t)=>(0,a.jsx)("div",{className:"".concat((null==e?void 0:e.type)!=="IndicatorValue"?"flex gap-3":""),children:e.charts.map(e=>"IndicatorValue"===e.chart_type||"IndicatorValue"===e.type?(0,a.jsx)("div",{className:"flex flex-row gap-3",children:e.values.map(e=>(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)(n.Z,{sx:{background:"transparent"},children:(0,a.jsxs)(r.Z,{className:"justify-around",children:[(0,a.jsx)(s.ZP,{gutterBottom:!0,component:"div",children:e.name}),(0,a.jsx)(s.ZP,{children:e.value})]})})},e.name))},e.chart_uid):"LineChart"===e.chart_type||"LineChart"===e.type?(0,a.jsx)(u,{chart:e},e.chart_uid):"BarChart"===e.chart_type||"BarChart"===e.type?(0,a.jsx)(o,{chart:e},e.chart_uid):"Table"===e.chart_type||"TableChartData"===e.type?(0,a.jsx)(x,{chart:e},e.chart_uid):void 0)},"chart_row_".concat(t)))})}},30853:function(e,t,l){l.d(t,{Z:function(){return eN}});var a=l(85893),n=l(29158),r=l(98165),s=l(14079),i=l(25160),c=l(95988),d=l(72906),o=l(66309),u=l(42611),m=l(11941),h=l(39156),x=l(14660),p=l(55186),v=l(39718),g=l(35790),j=l(18102),f=l(91776),y=l(96074),b=l(85265),N=l(11163),_=l(67294);let k=e=>{let{references:t}=e,l=(0,N.useRouter)(),[r,s]=(0,_.useState)(!1),i=(0,_.useMemo)(()=>l.pathname.includes("/mobile"),[l]),c=(0,_.useMemo)(()=>{var e;return null==t?void 0:null===(e=t.knowledge)||void 0===e?void 0:e.map(e=>{var t;return{label:(0,a.jsx)("div",{style:{maxWidth:"120px"},children:(0,a.jsx)(f.Z.Text,{ellipsis:{tooltip:e.name},children:decodeURIComponent(e.name).split("_")[0]})}),key:e.name,children:(0,a.jsx)("div",{className:"h-full overflow-y-auto",children:null==e?void 0:null===(t=e.chunks)||void 0===t?void 0:t.map(e=>(0,a.jsx)(j.default,{children:e.content},e.id))})}})},[t]);return(0,a.jsxs)("div",{children:[(0,a.jsx)(y.Z,{className:"mb-1 mt-0",dashed:!0}),(0,a.jsxs)("div",{className:"flex text-sm gap-2 text-blue-400",onClick:()=>s(!0),children:[(0,a.jsx)(n.Z,{}),(0,a.jsx)("span",{className:"text-sm",children:"查看回复引用"})]}),(0,a.jsx)(b.Z,{open:r,title:"回复引用",placement:i?"bottom":"right",onClose:()=>s(!1),destroyOnClose:!0,className:"p-0",...!i&&{width:"30%"},children:(0,a.jsx)(m.Z,{items:c,size:"small"})})]})};var Z=e=>{let{references:t}=e;try{let e=JSON.parse(t);return(0,a.jsx)(k,{references:e})}catch(e){return null}},w=function(e){let{data:t}=e;return t&&t.length?(0,a.jsx)(a.Fragment,{children:t.map((e,t)=>(0,a.jsxs)("div",{className:"rounded",children:[(0,a.jsxs)("div",{className:"flex items-center mb-3 text-sm",children:[e.model?(0,a.jsx)(v.Z,{model:e.model}):(0,a.jsx)("div",{className:"rounded-full w-6 h-6 bg-gray-100"}),(0,a.jsxs)("div",{className:"ml-2 opacity-70",children:[e.sender,(0,a.jsx)(g.Z,{className:"mx-2 text-base"}),e.receiver]})]}),(0,a.jsx)("div",{className:"whitespace-normal text-sm mb-3",children:(0,a.jsx)(c.Z,{components:eN,remarkPlugins:[p.Z],rehypePlugins:[x.Z],children:e.markdown})}),e.resource&&"null"!==e.resource&&(0,a.jsx)(Z,{references:e.resource})]},t))}):null},C=l(14313),S=l(88284),O=l(30071),P=l(47221),E=function(e){let{data:t}=e;return t&&t.length?(0,a.jsx)(P.Z,{bordered:!0,className:"my-3",expandIcon:e=>{let{isActive:t}=e;return(0,a.jsx)(C.Z,{rotate:t?90:0})},items:t.map((e,t)=>({key:t,label:(0,a.jsxs)("div",{children:[(0,a.jsxs)("span",{children:[e.name," - ",e.agent]}),"complete"===e.status?(0,a.jsx)(S.Z,{className:"!text-green-500 ml-2"}):(0,a.jsx)(O.Z,{className:"!text-gray-500 ml-2"})]}),children:(0,a.jsx)(c.Z,{components:eN,rehypePlugins:[x.Z],remarkPlugins:[p.Z],children:e.markdown})}))}):null},T=l(14726),D=l(45360),M=l(85175),I=l(94969),R=l(12187),q=l(84502),z=l(20640),Q=l.n(z),J=l(41468);function L(e){let{code:t,light:l,dark:n,language:r,customStyle:s}=e,{mode:i}=(0,_.useContext)(J.p);return(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(T.ZP,{className:"absolute right-3 top-2 text-gray-300 hover:!text-gray-200 bg-gray-700",type:"text",icon:(0,a.jsx)(M.Z,{}),onClick:()=>{let e=Q()(t);D.ZP[e?"success":"error"](e?"复制成功":"复制失败")}}),(0,a.jsx)(q.Z,{customStyle:s,language:r,style:"dark"===i?null!=n?n:I.Z:null!=l?l:R.Z,children:t})]})}var A=l(21332),K=l(62418),F=function(e){var t;let{data:l,type:n,sql:r}=e,s=(null==l?void 0:l[0])?null===(t=Object.keys(null==l?void 0:l[0]))||void 0===t?void 0:t.map(e=>({title:e,dataIndex:e,key:e})):[],i={key:"chart",label:"Chart",children:(0,a.jsx)(A._,{data:l,chartType:(0,A.a)(n)})},c={key:"sql",label:"SQL",children:(0,a.jsx)(L,{language:"sql",code:(0,K._m)(null!=r?r:"","mysql")})},d={key:"data",label:"Data",children:(0,a.jsx)(u.Z,{dataSource:l,columns:s,scroll:{x:"auto"}})},o="response_table"===n?[d,c]:[i,c,d];return(0,a.jsx)(m.Z,{defaultActiveKey:"response_table"===n?"data":"chart",items:o,size:"small"})},B=function(e){let{data:t}=e;return t?(0,a.jsx)(F,{data:null==t?void 0:t.data,type:null==t?void 0:t.type,sql:null==t?void 0:t.sql}):null},G=l(93967),V=l.n(G),U=l(28508),W=l(67421),H=l(89144),X=function(e){let{data:t}=e,{t:l}=(0,W.$G)(),[n,r]=(0,_.useState)(0);return(0,a.jsxs)("div",{className:"bg-[#EAEAEB] rounded overflow-hidden border border-theme-primary dark:bg-theme-dark text-sm",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"flex",children:t.code.map((e,t)=>(0,a.jsxs)("div",{className:V()("px-4 py-2 text-[#121417] dark:text-white cursor-pointer",{"bg-white dark:bg-theme-dark-container":t===n}),onClick:()=>{r(t)},children:["CODE ",t+1,": ",e[0]]},t))}),t.code.length&&(0,a.jsx)(L,{language:t.code[n][0],code:t.code[n][1],customStyle:{maxHeight:300,margin:0},light:H.Z,dark:R.Z})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"flex",children:(0,a.jsxs)("div",{className:"bg-white dark:bg-theme-dark-container px-4 py-2 text-[#121417] dark:text-white",children:[l("Terminal")," ",t.exit_success?(0,a.jsx)(S.Z,{className:"text-green-600"}):(0,a.jsx)(U.Z,{className:"text-red-600"})]})}),(0,a.jsx)("div",{className:"p-4 max-h-72 overflow-y-auto whitespace-normal bg-white dark:dark:bg-theme-dark",children:(0,a.jsx)(c.Z,{components:eN,remarkPlugins:[p.Z],children:t.log})})]})]})},$=function(e){let{data:t}=e;return(0,a.jsxs)("div",{className:"rounded overflow-hidden",children:[(0,a.jsx)("div",{className:"p-3 text-white bg-red-500 whitespace-normal",children:t.display_type}),(0,a.jsxs)("div",{className:"p-3 bg-red-50",children:[(0,a.jsx)("div",{className:"mb-2 whitespace-normal",children:t.thought}),(0,a.jsx)(L,{code:(0,K._m)(t.sql),language:"sql"})]})]})};let Y=[[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]];var ee=function(e){let{data:t}=e,l=(0,_.useMemo)(()=>{if(t.chart_count>1){let e=Y[t.chart_count-2],l=0;return e.map(e=>{let a=t.data.slice(l,l+e);return l=e,a})}return[t.data]},[t.data,t.chart_count]);return(0,a.jsx)("div",{className:"flex flex-col gap-3",children:l.map((e,t)=>(0,a.jsx)("div",{className:"flex gap-3",children:e.map((e,t)=>(0,a.jsxs)("div",{className:"flex flex-1 flex-col justify-between p-4 rounded border border-gray-200 dark:border-gray-500 whitespace-normal",children:[(0,a.jsxs)("div",{children:[e.title&&(0,a.jsx)("div",{className:"mb-2 text-lg",children:e.title}),e.describe&&(0,a.jsx)("div",{className:"mb-4 text-sm text-gray-500",children:e.describe})]}),(0,a.jsx)(h._z,{data:e.data,chartType:(0,h.aG)(e.type)})]},"chart-".concat(t)))},"row-".concat(t)))})},et=l(79090);let el={todo:{bgClass:"bg-gray-500",icon:(0,a.jsx)(O.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,a.jsx)(et.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,a.jsx)(U.Z,{className:"ml-2"})},complete:{bgClass:"bg-green-500",icon:(0,a.jsx)(S.Z,{className:"ml-2"})}};var ea=function(e){var t,l;let{data:n}=e,{bgClass:r,icon:s}=null!==(t=el[n.status])&&void 0!==t?t:{};return(0,a.jsxs)("div",{className:"bg-theme-light dark:bg-theme-dark-container rounded overflow-hidden my-2 flex flex-col",children:[(0,a.jsxs)("div",{className:V()("flex px-4 md:px-6 py-2 items-center text-white text-sm",r),children:[n.name,s]}),n.result?(0,a.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm whitespace-normal",children:(0,a.jsx)(c.Z,{components:eN,rehypePlugins:[x.Z],remarkPlugins:[p.Z],children:null!==(l=n.result)&&void 0!==l?l:""})}):(0,a.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:n.err_msg})]})},en=l(48218),er=l(18429),es=l(8751),ei=l(74330),ec=e=>{let{data:t}=e,l=(0,_.useMemo)(()=>{switch(t.status){case"todo":return(0,a.jsx)(O.Z,{});case"failed":return(0,a.jsx)(er.Z,{className:"text-[rgb(255,77,79)]"});case"complete":return(0,a.jsx)(es.Z,{className:"text-[rgb(82,196,26)]"});case"running":return(0,a.jsx)(ei.Z,{indicator:(0,a.jsx)(et.Z,{style:{fontSize:24},spin:!0})});default:return null}},[t]);return t?(0,a.jsxs)("div",{className:"flex flex-col p-2 border pr-4 rounded-md min-w-fit w-2/5",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(en.Z,{scene:"chat_agent",width:8,height:8}),(0,a.jsxs)("div",{className:"flex flex-col flex-1 ml-2",children:[(0,a.jsx)("div",{className:"flex items-center text-sm dark:text-[rgba(255,255,255,0.85)] gap-2",children:null==t?void 0:t.app_name}),(0,a.jsx)(f.Z.Text,{className:"text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)] leading-6",ellipsis:{tooltip:!0},children:null==t?void 0:t.app_desc})]})]}),(0,a.jsx)("div",{className:"text-2xl ml-1",children:l})]}),"failed"===t.status&&t.msg&&(0,a.jsx)(f.Z.Text,{type:"danger",className:"pl-12 text-xs mt-2",children:t.msg})]}):null},ed=l(69256),eo=l(73913),eu=e=>{let{children:t,msg:l}=e,{handleChat:n}=(0,_.useContext)(ed.ChatContentContext),{handleChat:r}=(0,_.useContext)(eo.MobileChatContext);return(0,a.jsx)(T.ZP,{className:"ml-1 inline text-xs",onClick:()=>{null==r||r(l),null==n||n(l)},type:"dashed",size:"small",children:t||"点击分析当前异常"})},em=l(12576),eh=l(63086),ex=l(54143),ep=l(13109),ev=e=>{let{data:t}=e,{mode:l}=(0,_.useContext)(J.p),n=(0,_.useMemo)(()=>{switch(t.status){case"complete":return"success";case"failed":return"error";case"running":return"warning"}},[t]);if(!t)return null;let r="dark"===l?eh.R:ex.K;return(0,a.jsxs)("div",{className:"flex flex-1 flex-col",children:[(0,a.jsx)(ep.Z,{className:V()("mb-4",{"bg-[#fafafa] border-[transparent]":!n}),message:t.name,type:n,...n&&{showIcon:!0},..."warning"===n&&{icon:(0,a.jsx)(ei.Z,{indicator:(0,a.jsx)(et.Z,{spin:!0})})}}),t.result&&(0,a.jsx)(em.ZP,{style:{...r,width:"100%",padding:10},className:V()({"bg-[#fafafa]":"light"===l}),value:JSON.parse(t.result||"{}"),enableClipboard:!1,displayDataTypes:!1,objectSortKeys:!1}),t.err_msg&&(0,a.jsx)(c.Z,{components:eN,remarkPlugins:[p.Z],rehypePlugins:[x.Z],children:t.err_msg})]})};let eg=["custom-view","chart-view","references","summary"],ej={code:(0,i.r)({languageRenderers:{"agent-plans":e=>{let{node:t,className:l,children:n,style:r}=e,s=String(n),i=(null==l?void 0:l.replace("language-",""))||"javascript";try{let e=JSON.parse(s);return(0,a.jsx)(E,{data:e})}catch(e){return(0,a.jsx)(L,{language:i,code:s})}},"agent-messages":e=>{let{node:t,className:l,children:n,style:r}=e,s=String(n),i=(null==l?void 0:l.replace("language-",""))||"javascript";try{let e=JSON.parse(s);return(0,a.jsx)(w,{data:e})}catch(e){return(0,a.jsx)(L,{language:i,code:s})}},"vis-convert-error":e=>{let{node:t,className:l,children:n,style:r}=e,s=String(n),i=(null==l?void 0:l.replace("language-",""))||"javascript";try{let e=JSON.parse(s);return(0,a.jsx)($,{data:e})}catch(e){return(0,a.jsx)(L,{language:i,code:s})}},"vis-dashboard":e=>{let{node:t,className:l,children:n,style:r}=e,s=String(n),i=(null==l?void 0:l.replace("language-",""))||"javascript";try{let e=JSON.parse(s);return(0,a.jsx)(ee,{data:e})}catch(e){return(0,a.jsx)(L,{language:i,code:s})}},"vis-chart":e=>{let{node:t,className:l,children:n,style:r}=e,s=String(n),i=(null==l?void 0:l.replace("language-",""))||"javascript";try{let e=JSON.parse(s);return(0,a.jsx)(B,{data:e})}catch(e){return(0,a.jsx)(L,{language:i,code:s})}},"vis-plugin":e=>{let{node:t,className:l,children:n,style:r}=e,s=String(n),i=(null==l?void 0:l.replace("language-",""))||"javascript";try{let e=JSON.parse(s);return(0,a.jsx)(ea,{data:e})}catch(e){return(0,a.jsx)(L,{language:i,code:s})}},"vis-code":e=>{let{node:t,className:l,children:n,style:r,...s}=e,i=String(n),c=(null==l?void 0:l.replace("language-",""))||"javascript";try{let e=JSON.parse(i);return(0,a.jsx)(X,{data:e})}catch(e){return(0,a.jsx)(L,{language:c,code:i})}},"vis-app-link":e=>{let{node:t,className:l,children:n,style:r,...s}=e,i=String(n),c=(null==l?void 0:l.replace("language-",""))||"javascript";try{let e=JSON.parse(i);return(0,a.jsx)(ec,{data:e})}catch(e){return(0,a.jsx)(L,{language:c,code:i})}},"vis-api-response":e=>{let{node:t,className:l,children:n,style:r,...s}=e,i=String(n),c=(null==l?void 0:l.replace("language-",""))||"javascript";try{let e=JSON.parse(i);return(0,a.jsx)(ev,{data:e})}catch(e){return(0,a.jsx)(L,{language:c,code:i})}}},defaultRenderer(e){let{node:t,className:l,children:n,style:r,...s}=e,i=String(n),d=(null==l?void 0:l.replace("language-",""))||"",{context:o,matchValues:u}=function(e){let t=eg.reduce((t,l)=>{let a=RegExp("<".concat(l,"[^>]*/?>"),"gi");return e=e.replace(a,e=>(t.push(e),"")),t},[]);return{context:e,matchValues:t}}(i);return console.log(111,{node:t,className:l,children:n,style:r,...s},d),(0,a.jsxs)(a.Fragment,{children:[d?(0,a.jsx)(L,{code:o,language:d||"javascript"}):(0,a.jsx)("code",{...s,style:r,className:"p-1 mx-1 rounded bg-theme-light dark:bg-theme-dark text-sm",children:n}),(0,a.jsx)(c.Z,{components:eb,rehypePlugins:[x.Z],remarkPlugins:[p.Z],children:u.join("\n")})]})}})},ef={...ej,ul(e){let{children:t}=e;return(0,a.jsx)("ul",{className:"py-1",children:t})},ol(e){let{children:t}=e;return(0,a.jsx)("ol",{className:"py-1",children:t})},li(e){let{children:t,ordered:l}=e;return(0,a.jsx)("li",{className:"text-sm leading-7 ml-5 pl-2 text-gray-600 dark:text-gray-300 ".concat(l?"list-decimal":"list-disc"),children:t})},table(e){let{children:t}=e;return(0,a.jsx)("table",{className:"my-2 rounded-tl-md rounded-tr-md bg-white dark:bg-gray-800 text-sm rounded-lg overflow-hidden",children:t})},thead(e){let{children:t}=e;return(0,a.jsx)("thead",{className:"bg-[#fafafa] dark:bg-black font-semibold",children:t})},th(e){let{children:t}=e;return(0,a.jsx)("th",{className:"!text-left p-4",children:t})},td(e){let{children:t}=e;return(0,a.jsx)("td",{className:"p-4 border-t border-[#f0f0f0] dark:border-gray-700",children:t})},h1(e){let{children:t}=e;return(0,a.jsx)("h3",{className:"text-2xl font-bold my-4 border-b border-slate-300 pb-4",children:t})},h2(e){let{children:t}=e;return(0,a.jsx)("h3",{className:"text-xl font-bold my-3",children:t})},h3(e){let{children:t}=e;return(0,a.jsx)("h3",{className:"text-lg font-semibold my-2",children:t})},h4(e){let{children:t}=e;return(0,a.jsx)("h3",{className:"text-base font-semibold my-1",children:t})},a(e){let{children:t,href:l}=e;return(0,a.jsxs)("div",{className:"inline-block text-blue-600 dark:text-blue-400",children:[(0,a.jsx)(n.Z,{className:"mr-1"}),(0,a.jsx)("a",{href:l,target:"_blank",children:t})]})},img(e){let{src:t,alt:l}=e;return(0,a.jsx)("div",{children:(0,a.jsx)(d.Z,{className:"min-h-[1rem] max-w-full max-h-full border rounded",src:t,alt:l,placeholder:(0,a.jsx)(o.Z,{icon:(0,a.jsx)(r.Z,{spin:!0}),color:"processing",children:"Image Loading..."}),fallback:"/pictures/fallback.png"})})},blockquote(e){let{children:t}=e;return(0,a.jsx)("blockquote",{className:"py-4 px-6 border-l-4 border-blue-600 rounded bg-white my-2 text-gray-500 dark:bg-slate-800 dark:text-gray-200 dark:border-white shadow-sm",children:t})},button(e){let{children:t,className:l,...n}=e;if("chat-link"===l){let e=null==n?void 0:n["data-msg"];return(0,a.jsx)(eu,{msg:e,children:t})}return(0,a.jsx)("button",{className:l,...n,children:t})}},ey=e=>{let t={",":",","。":".","?":"?","!":"!",":":":",";":";","“":'"',"”":'"',"‘":"'","’":"'","(":"(",")":")","【":"[","】":"]","《":"<","》":">","—":"-","、":",","…":"..."},l=RegExp(Object.keys(t).join("|"),"g");return e.replace(l,e=>t[e])},eb={...ef,"chart-view":function(e){var t,l,n;let r,{content:s,children:i}=e;try{r=JSON.parse(s)}catch(e){console.log(e,s),r={type:"response_table",sql:"",data:[]}}console.log(111,r);let c=(null==r?void 0:null===(t=r.data)||void 0===t?void 0:t[0])?null===(l=Object.keys(null==r?void 0:null===(n=r.data)||void 0===n?void 0:n[0]))||void 0===l?void 0:l.map(e=>({title:e,dataIndex:e,key:e})):[],d={key:"chart",label:"Chart",children:(0,a.jsx)(h._z,{data:null==r?void 0:r.data,chartType:(0,h.aG)(null==r?void 0:r.type)})},o={key:"sql",label:"SQL",children:(0,a.jsx)(L,{code:(0,K._m)(ey(null==r?void 0:r.sql),"mysql"),language:"sql"})},x={key:"data",label:"Data",children:(0,a.jsx)(u.Z,{dataSource:null==r?void 0:r.data,columns:c,scroll:{x:!0},virtual:!0})},p=(null==r?void 0:r.type)==="response_table"?[x,o]:[d,o,x];return(0,a.jsxs)("div",{children:[(0,a.jsx)(m.Z,{defaultActiveKey:(null==r?void 0:r.type)==="response_table"?"data":"chart",items:p,size:"small"}),i]})},references:function(e){let{title:t,references:l,children:n}=e;if(n)try{let e=JSON.parse(n),t=e.references;return(0,a.jsx)(Z,{references:t})}catch(e){return null}},summary:function(e){let{children:t}=e;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("p",{className:"mb-2",children:[(0,a.jsx)(s.Z,{className:"mr-2"}),(0,a.jsx)("span",{className:"font-semibold",children:"Document Summary"})]}),(0,a.jsx)("div",{children:t})]})}};var eN=eb},18102:function(e,t,l){l.r(t);var a=l(85893),n=l(30853);l(67294);var r=l(95988),s=l(14660),i=l(55186);t.default=e=>{let{children:t}=e;return(0,a.jsx)(r.Z,{components:{...n.Z},rehypePlugins:[s.Z],remarkPlugins:[i.Z],children:t})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8709-643df7d452228e64.js b/dbgpt/app/static/web/_next/static/chunks/8709-643df7d452228e64.js new file mode 100644 index 000000000..d2c5b9770 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/8709-643df7d452228e64.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8709],{21332:function(e,t,a){a.d(t,{_:function(){return I},a:function(){return D}});var l=a(85893),r=a(41468),n=a(64371),s=a(23430),i=a(67190),c=a(34041),d=a(71230),o=a(15746),u=a(42075),m=a(83062),h=a(14726),x=a(32983),p=a(96486),v=a(67294);let g=e=>{if(!e)return;let t=e.getContainer(),a=t.getElementsByTagName("canvas")[0];return a};var f=a(64352),j=a(8625);let y=e=>{let{charts:t,scopeOfCharts:a,ruleConfig:l}=e,r={};if(null==t||t.forEach(e=>{if(e.chartKnowledge.toSpec){let t=e.chartKnowledge.toSpec;e.chartKnowledge.toSpec=(e,a)=>({...t(e,a),dataProps:a})}else e.chartKnowledge.toSpec=(e,t)=>({dataProps:t});r[e.chartType]=e.chartKnowledge}),(null==a?void 0:a.exclude)&&a.exclude.forEach(e=>{Object.keys(r).includes(e)&&delete r[e]}),null==a?void 0:a.include){let e=a.include;Object.keys(r).forEach(t=>{e.includes(t)||delete r[t]})}let n={...a,custom:r},s={...l},i=new f.w({ckbCfg:n,ruleCfg:s});return i},b=e=>{var t;let{data:a,dataMetaMap:l,myChartAdvisor:r}=e,n=l?Object.keys(l).map(e=>({name:e,...l[e]})):null,s=new j.Z(a).info(),i=(0,p.size)(s)>2?null==s?void 0:s.filter(e=>"string"!==e.recommendation&&"date"!==e.recommendation||e.distinct&&e.distinct>1):s,c=null==r?void 0:r.adviseWithLog({data:a,dataProps:n,fields:null==i?void 0:i.map(e=>e.name)});return null!==(t=null==c?void 0:c.advices)&&void 0!==t?t:[]};function N(e,t){return t.every(t=>e.includes(t))}function _(e,t){let a=t.find(t=>t.name===e);return(null==a?void 0:a.recommendation)==="date"?t=>new Date(t[e]):e}function k(e){return e.find(e=>{var t;return e.levelOfMeasurements&&(t=e.levelOfMeasurements,["Time","Ordinal"].some(e=>t.includes(e)))})}function Z(e){return e.find(e=>e.levelOfMeasurements&&N(e.levelOfMeasurements,["Nominal"]))}let w=e=>{let{data:t,xField:a}=e,l=(0,p.uniq)(t.map(e=>e[a]));return l.length<=1},C=(e,t,a)=>{let{field4Split:l,field4X:r}=a;if((null==l?void 0:l.name)&&(null==r?void 0:r.name)){let a=e[l.name],n=t.filter(e=>l.name&&e[l.name]===a);return w({data:n,xField:r.name})?5:void 0}return(null==r?void 0:r.name)&&w({data:t,xField:r.name})?5:void 0},S=e=>{let{data:t,chartType:a,xField:l}=e,r=(0,p.cloneDeep)(t);try{if(a.includes("line")&&(null==l?void 0:l.name)&&"date"===l.recommendation)return r.sort((e,t)=>new Date(e[l.name]).getTime()-new Date(t[l.name]).getTime()),r;a.includes("line")&&(null==l?void 0:l.name)&&["float","integer"].includes(l.recommendation)&&r.sort((e,t)=>e[l.name]-t[l.name])}catch(e){console.error(e)}return r},O=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return e.map(e=>{let a={};return Object.keys(e).forEach(l=>{a[l]=e[l]===t?null:e[l]}),a})},P="multi_line_chart",E="multi_measure_line_chart",T=[{chartType:"multi_line_chart",chartKnowledge:{id:P,name:"multi_line_chart",alias:["multi_line_chart"],family:["LineCharts"],def:"multi_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{var a,l;let r=k(t),n=Z(t),s=null!==(a=null!=r?r:n)&&void 0!==a?a:t[0],i=t.filter(e=>e.name!==(null==s?void 0:s.name)),c=null!==(l=i.filter(e=>e.levelOfMeasurements&&N(e.levelOfMeasurements,["Interval"])))&&void 0!==l?l:[i[0]],d=i.filter(e=>!c.find(t=>t.name===e.name)).find(e=>e.levelOfMeasurements&&N(e.levelOfMeasurements,["Nominal"]));if(!s||!c)return null;let o={type:"view",autoFit:!0,data:S({data:e,chartType:P,xField:s}),children:[]};return c.forEach(a=>{let l={type:"line",encode:{x:_(s.name,t),y:a.name,size:t=>C(t,e,{field4Split:d,field4X:s})},legend:{size:!1}};d&&(l.encode.color=d.name),o.children.push(l)}),o}},chineseName:"折线图"},{chartType:"multi_measure_column_chart",chartKnowledge:{id:"multi_measure_column_chart",name:"multi_measure_column_chart",alias:["multi_measure_column_chart"],family:["ColumnCharts"],def:"multi_measure_column_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{try{let a=null==t?void 0:t.filter(e=>N(e.levelOfMeasurements,["Interval"])),l=Z(t),r=k(t),n=null!=l?l:r;if(!n||!a)return null;let s={type:"view",data:e,children:[]};return null==a||a.forEach(e=>{let t={type:"interval",encode:{x:n.name,y:e.name,color:()=>e.name,series:()=>e.name}};s.children.push(t)}),s}catch(e){return console.log(e),null}}},chineseName:"折线图"},{chartType:"multi_measure_line_chart",chartKnowledge:{id:E,name:"multi_measure_line_chart",alias:["multi_measure_line_chart"],family:["LineCharts"],def:"multi_measure_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(e,t)=>{try{var a,l;let r=null!==(l=null!==(a=Z(t))&&void 0!==a?a:k(t))&&void 0!==l?l:t[0],n=null==t?void 0:t.filter(e=>e.name!==(null==r?void 0:r.name)&&N(e.levelOfMeasurements,["Interval"]));if(!r||!n)return null;let s={type:"view",data:S({data:e,chartType:E,xField:r}),children:[]};return null==n||n.forEach(a=>{let l={type:"line",encode:{x:_(r.name,t),y:a.name,color:()=>a.name,series:()=>a.name,size:t=>C(t,e,{field4X:r})},legend:{size:!1}};s.children.push(l)}),s}catch(e){return console.log(e),null}}},chineseName:"折线图"}],D=e=>"response_line_chart"===e?["multi_line_chart","multi_measure_line_chart"]:"response_bar_chart"===e?["multi_measure_column_chart"]:"response_pie_chart"===e?["pie_chart"]:"response_scatter_chart"===e?["scatter_plot"]:"response_area_chart"===e?["area_chart"]:"response_heatmap_chart"===e?["heatmap"]:[],{Option:M}=c.default,I=e=>{let{data:t,chartType:a,scopeOfCharts:f,ruleConfig:j}=e,N=O(t),{mode:_}=(0,v.useContext)(r.p),[k,Z]=(0,v.useState)(),[w,C]=(0,v.useState)([]),[P,E]=(0,v.useState)(),D=(0,v.useRef)();(0,v.useEffect)(()=>{Z(y({charts:T,scopeOfCharts:{exclude:["area_chart","stacked_area_chart","percent_stacked_area_chart"]},ruleConfig:j}))},[j,f]);let I=e=>{if(!k)return[];let t=function(e){let{advices:t}=e;return t}({advices:e}),l=(0,p.uniq)((0,p.compact)((0,p.concat)(a,e.map(e=>e.type)))),r=l.map(e=>{let a=t.find(t=>t.type===e);if(a)return a;let l=k.dataAnalyzer.execute({data:N});if("data"in l){var r;let t=k.specGenerator.execute({data:l.data,dataProps:l.dataProps,chartTypeRecommendations:[{chartType:e,score:1}]});if("advices"in t)return null===(r=t.advices)||void 0===r?void 0:r[0]}}).filter(e=>null==e?void 0:e.spec);return r};(0,v.useEffect)(()=>{if(N&&k){var e;let t=b({data:N,myChartAdvisor:k}),a=I(t);C(a),E(null===(e=a[0])||void 0===e?void 0:e.type)}},[JSON.stringify(N),k,a]);let R=(0,v.useMemo)(()=>{if((null==w?void 0:w.length)>0){var e,t,a,r;let n=null!=P?P:w[0].type,s=null!==(t=null===(e=null==w?void 0:w.find(e=>e.type===n))||void 0===e?void 0:e.spec)&&void 0!==t?t:void 0;if(s){if(s.data&&["line_chart","step_line_chart"].includes(n)){let e=null==k?void 0:k.dataAnalyzer.execute({data:N});e&&"dataProps"in e&&(s.data=S({data:s.data,xField:null===(r=e.dataProps)||void 0===r?void 0:r.find(e=>"date"===e.recommendation),chartType:n}))}return"pie_chart"===n&&(null==s?void 0:null===(a=s.encode)||void 0===a?void 0:a.color)&&(s.tooltip={title:{field:s.encode.color}}),(0,l.jsx)(i.k,{options:{...s,autoFit:!0,theme:_,height:300},ref:D},n)}}},[w,_,P]);return P?(0,l.jsxs)("div",{children:[(0,l.jsxs)(d.Z,{justify:"space-between",className:"mb-2",children:[(0,l.jsx)(o.Z,{children:(0,l.jsxs)(u.Z,{children:[(0,l.jsx)("span",{children:n.Z.t("Advices")}),(0,l.jsx)(c.default,{className:"w-52",value:P,placeholder:"Chart Switcher",onChange:e=>E(e),size:"small",children:null==w?void 0:w.map(e=>{let t=n.Z.t(e.type);return(0,l.jsx)(M,{value:e.type,children:(0,l.jsx)(m.Z,{title:t,placement:"right",children:(0,l.jsx)("div",{children:t})})},e.type)})})]})}),(0,l.jsx)(o.Z,{children:(0,l.jsx)(m.Z,{title:n.Z.t("Download"),children:(0,l.jsx)(h.ZP,{onClick:()=>(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Chart",a=document.createElement("a"),l="".concat(t,".png");setTimeout(()=>{let t=function(e){let t=g(e);if(t){let e=t.toDataURL("image/png");return e}}(e);if(t){a.addEventListener("click",()=>{a.download=l,a.href=t});let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),a.dispatchEvent(e)}},16)})(D.current,n.Z.t(P)),icon:(0,l.jsx)(s.Z,{}),type:"text"})})})]}),(0,l.jsx)("div",{className:"flex",children:R})]}):(0,l.jsx)(x.Z,{image:x.Z.PRESENTED_IMAGE_SIMPLE,description:"暂无合适的可视化视图"})}},39156:function(e,t,a){a.d(t,{_z:function(){return p._},ZP:function(){return v},aG:function(){return p.a}});var l=a(85893),r=a(41118),n=a(30208),s=a(40911),i=a(67294),c=a(41468),d=a(67190);function o(e){let{chart:t}=e,{mode:a}=(0,i.useContext)(c.p);return(0,l.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,l.jsxs)("div",{className:"h-full",children:[(0,l.jsx)("div",{className:"mb-2",children:t.chart_name}),(0,l.jsx)("div",{className:"opacity-80 text-sm mb-2",children:t.chart_desc}),(0,l.jsx)("div",{className:"h-[300px]",children:(0,l.jsx)(d.k,{style:{height:"100%"},options:{autoFit:!0,theme:a,type:"interval",data:t.values,encode:{x:"name",y:"value",color:"type"},axis:{x:{labelAutoRotate:!1}}}})})]})})}function u(e){let{chart:t}=e,{mode:a}=(0,i.useContext)(c.p);return(0,l.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,l.jsxs)("div",{className:"h-full",children:[(0,l.jsx)("div",{className:"mb-2",children:t.chart_name}),(0,l.jsx)("div",{className:"opacity-80 text-sm mb-2",children:t.chart_desc}),(0,l.jsx)("div",{className:"h-[300px]",children:(0,l.jsx)(d.k,{style:{height:"100%"},options:{autoFit:!0,theme:a,type:"view",data:t.values,children:[{type:"line",encode:{x:"name",y:"value",color:"type",shape:"smooth"}},{type:"area",encode:{x:"name",y:"value",color:"type",shape:"smooth"},legend:!1,style:{fillOpacity:.15}}],axis:{x:{labelAutoRotate:!1}}}})})]})})}var m=a(61685),h=a(96486);function x(e){var t,a;let{chart:r}=e,n=(0,h.groupBy)(r.values,"type");return(0,l.jsx)("div",{className:"flex-1 min-w-0 p-4 bg-white dark:bg-theme-dark-container rounded",children:(0,l.jsxs)("div",{className:"h-full",children:[(0,l.jsx)("div",{className:"mb-2",children:r.chart_name}),(0,l.jsx)("div",{className:"opacity-80 text-sm mb-2",children:r.chart_desc}),(0,l.jsx)("div",{className:"flex-1",children:(0,l.jsxs)(m.Z,{"aria-label":"basic table",stripe:"odd",hoverRow:!0,borderAxis:"bothBetween",children:[(0,l.jsx)("thead",{children:(0,l.jsx)("tr",{children:Object.keys(n).map(e=>(0,l.jsx)("th",{children:e},e))})}),(0,l.jsx)("tbody",{children:null===(t=Object.values(n))||void 0===t?void 0:null===(a=t[0])||void 0===a?void 0:a.map((e,t)=>{var a;return(0,l.jsx)("tr",{children:null===(a=Object.keys(n))||void 0===a?void 0:a.map(e=>{var a;return(0,l.jsx)("td",{children:(null==n?void 0:null===(a=n[e])||void 0===a?void 0:a[t].value)||""},e)})},t)})})]})})]})})}var p=a(21332),v=function(e){let{chartsData:t}=e,a=(0,i.useMemo)(()=>{if(t){let e=[],a=null==t?void 0:t.filter(e=>"IndicatorValue"===e.chart_type);a.length>0&&e.push({charts:a,type:"IndicatorValue"});let l=null==t?void 0:t.filter(e=>"IndicatorValue"!==e.chart_type),r=l.length,n=0;return[[0],[1],[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]][r].forEach(t=>{if(t>0){let a=l.slice(n,n+t);n+=t,e.push({charts:a})}}),e}},[t]);return(0,l.jsx)("div",{className:"flex flex-col gap-3",children:null==a?void 0:a.map((e,t)=>(0,l.jsx)("div",{className:"".concat((null==e?void 0:e.type)!=="IndicatorValue"?"flex gap-3":""),children:e.charts.map(e=>"IndicatorValue"===e.chart_type||"IndicatorValue"===e.type?(0,l.jsx)("div",{className:"flex flex-row gap-3",children:e.values.map(e=>(0,l.jsx)("div",{className:"flex-1",children:(0,l.jsx)(r.Z,{sx:{background:"transparent"},children:(0,l.jsxs)(n.Z,{className:"justify-around",children:[(0,l.jsx)(s.ZP,{gutterBottom:!0,component:"div",children:e.name}),(0,l.jsx)(s.ZP,{children:e.value})]})})},e.name))},e.chart_uid):"LineChart"===e.chart_type||"LineChart"===e.type?(0,l.jsx)(u,{chart:e},e.chart_uid):"BarChart"===e.chart_type||"BarChart"===e.type?(0,l.jsx)(o,{chart:e},e.chart_uid):"Table"===e.chart_type||"TableChartData"===e.type?(0,l.jsx)(x,{chart:e},e.chart_uid):void 0)},"chart_row_".concat(t)))})}},30853:function(e,t,a){a.d(t,{Z:function(){return ek}});var l=a(85893),r=a(39156),n=a(62418),s=a(29158),i=a(98165),c=a(14079),d=a(33890),o=a(87554),u=a(57020),m=a(66309),h=a(39773),x=a(92398),p=a(14660),v=a(55186),g=a(18102),f=a(45030),j=a(96074),y=a(85265),b=a(11163),N=a(67294);let _=e=>{let{references:t}=e,a=(0,b.useRouter)(),[r,n]=(0,N.useState)(!1),i=(0,N.useMemo)(()=>a.pathname.includes("/mobile"),[a]),c=(0,N.useMemo)(()=>{var e;return null==t?void 0:null===(e=t.knowledge)||void 0===e?void 0:e.map(e=>{var t;return{label:(0,l.jsx)("div",{style:{maxWidth:"120px"},children:(0,l.jsx)(f.Z.Text,{ellipsis:{tooltip:e.name},children:decodeURIComponent(e.name).split("_")[0]})}),key:e.name,children:(0,l.jsx)("div",{className:"h-full overflow-y-auto",children:null==e?void 0:null===(t=e.chunks)||void 0===t?void 0:t.map(e=>(0,l.jsx)(g.default,{children:e.content},e.id))})}})},[t]);return(0,l.jsxs)("div",{children:[(0,l.jsx)(j.Z,{className:"mb-1 mt-0",dashed:!0}),(0,l.jsxs)("div",{className:"flex text-sm gap-2 text-blue-400",onClick:()=>n(!0),children:[(0,l.jsx)(s.Z,{}),(0,l.jsx)("span",{className:"text-sm",children:"查看回复引用"})]}),(0,l.jsx)(y.Z,{open:r,title:"回复引用",placement:i?"bottom":"right",onClose:()=>n(!1),destroyOnClose:!0,className:"p-0",...!i&&{width:"30%"},children:(0,l.jsx)(x.Z,{items:c,size:"small"})})]})};var k=e=>{let{references:t}=e;try{let e=JSON.parse(t);return(0,l.jsx)(_,{references:e})}catch(e){return null}},Z=a(48218),w=a(24019),C=a(18429),S=a(8751),O=a(50888),P=a(74330),E=e=>{let{data:t}=e,a=(0,N.useMemo)(()=>{switch(t.status){case"todo":return(0,l.jsx)(w.Z,{});case"failed":return(0,l.jsx)(C.Z,{className:"text-[rgb(255,77,79)]"});case"complete":return(0,l.jsx)(S.Z,{className:"text-[rgb(82,196,26)]"});case"running":return(0,l.jsx)(P.Z,{indicator:(0,l.jsx)(O.Z,{style:{fontSize:24},spin:!0})});default:return null}},[t]);return t?(0,l.jsxs)("div",{className:"flex flex-col p-2 border pr-4 rounded-md min-w-fit w-2/5",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(Z.Z,{scene:"chat_agent",width:8,height:8}),(0,l.jsxs)("div",{className:"flex flex-col flex-1 ml-2",children:[(0,l.jsx)("div",{className:"flex items-center text-sm dark:text-[rgba(255,255,255,0.85)] gap-2",children:null==t?void 0:t.app_name}),(0,l.jsx)(f.Z.Text,{className:"text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)] leading-6",ellipsis:{tooltip:!0},children:null==t?void 0:t.app_desc})]})]}),(0,l.jsx)("div",{className:"text-2xl ml-1",children:a})]}),"failed"===t.status&&t.msg&&(0,l.jsx)(f.Z.Text,{type:"danger",className:"pl-12 text-xs mt-2",children:t.msg})]}):null},T=a(69256),D=a(73913),M=a(14726),I=e=>{let{children:t,msg:a}=e,{handleChat:r}=(0,N.useContext)(T.ChatContentContext),{handleChat:n}=(0,N.useContext)(D.MobileChatContext);return(0,l.jsx)(M.ZP,{className:"ml-1 inline text-xs",onClick:()=>{null==n||n(a),null==r||r(a)},type:"dashed",size:"small",children:t||"点击分析当前异常"})},R=a(41468),q=a(12576),z=a(63086),Q=a(54143),J=a(40056),L=a(93967),A=a.n(L),K=e=>{let{data:t}=e,{mode:a}=(0,N.useContext)(R.p),r=(0,N.useMemo)(()=>{switch(t.status){case"complete":return"success";case"failed":return"error";case"running":return"warning";default:return}},[t]);if(!t)return null;let n="dark"===a?z.R:Q.K;return(0,l.jsxs)("div",{className:"flex flex-1 flex-col",children:[(0,l.jsx)(J.Z,{className:A()("mb-4",{"bg-[#fafafa] border-[transparent]":!r}),message:t.name,type:r,...r&&{showIcon:!0},..."warning"===r&&{icon:(0,l.jsx)(P.Z,{indicator:(0,l.jsx)(O.Z,{spin:!0})})}}),t.result&&(0,l.jsx)(q.ZP,{style:{...n,width:"100%",padding:10},className:A()({"bg-[#fafafa]":"light"===a}),value:JSON.parse(t.result||"{}"),enableClipboard:!1,displayDataTypes:!1,objectSortKeys:!1}),t.err_msg&&(0,l.jsx)(o.Z,{components:ek,remarkPlugins:[v.Z],rehypePlugins:[p.Z],children:t.err_msg})]})},F=a(39718),B=a(32198),G=function(e){let{data:t}=e;return t&&t.length?(0,l.jsx)(l.Fragment,{children:t.map((e,t)=>(0,l.jsxs)("div",{className:"rounded",children:[(0,l.jsxs)("div",{className:"flex items-center mb-3 text-sm",children:[e.model?(0,l.jsx)(F.Z,{model:e.model}):(0,l.jsx)("div",{className:"rounded-full w-6 h-6 bg-gray-100"}),(0,l.jsxs)("div",{className:"ml-2 opacity-70",children:[e.sender,(0,l.jsx)(B.Z,{className:"mx-2 text-base"}),e.receiver]})]}),(0,l.jsx)("div",{className:"whitespace-normal text-sm mb-3",children:(0,l.jsx)(o.Z,{components:ek,remarkPlugins:[v.Z],rehypePlugins:[p.Z],children:e.markdown})}),e.resource&&"null"!==e.resource&&(0,l.jsx)(k,{references:e.resource})]},t))}):null},V=a(14313),U=a(63606),W=a(47221),H=function(e){let{data:t}=e;return t&&t.length?(0,l.jsx)(W.Z,{bordered:!0,className:"my-3",expandIcon:e=>{let{isActive:t}=e;return(0,l.jsx)(V.Z,{rotate:t?90:0})},items:t.map((e,t)=>({key:t,label:(0,l.jsxs)("div",{children:[(0,l.jsxs)("span",{children:[e.name," - ",e.agent]}),"complete"===e.status?(0,l.jsx)(U.Z,{className:"!text-green-500 ml-2"}):(0,l.jsx)(w.Z,{className:"!text-gray-500 ml-2"})]}),children:(0,l.jsx)(o.Z,{components:ek,rehypePlugins:[p.Z],remarkPlugins:[v.Z],children:e.markdown})}))}):null},X=a(57132),$=a(45360),Y=a(20640),ee=a.n(Y),et=a(84502),ea=a(94969),el=a(12187);function er(e){let{code:t,light:a,dark:r,language:n,customStyle:s}=e,{mode:i}=(0,N.useContext)(R.p);return(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)(M.ZP,{className:"absolute right-3 top-2 text-gray-300 hover:!text-gray-200 bg-gray-700",type:"text",icon:(0,l.jsx)(X.Z,{}),onClick:()=>{let e=ee()(t);$.ZP[e?"success":"error"](e?"复制成功":"复制失败")}}),(0,l.jsx)(et.Z,{customStyle:s,language:n,style:"dark"===i?null!=r?r:ea.Z:null!=a?a:el.Z,children:t})]})}var en=a(21332),es=function(e){var t;let{data:a,type:r,sql:s}=e,i=(null==a?void 0:a[0])?null===(t=Object.keys(null==a?void 0:a[0]))||void 0===t?void 0:t.map(e=>({title:e,dataIndex:e,key:e})):[],c={key:"chart",label:"Chart",children:(0,l.jsx)(en._,{data:a,chartType:(0,en.a)(r)})},d={key:"sql",label:"SQL",children:(0,l.jsx)(er,{language:"sql",code:(0,n._m)(null!=s?s:"","mysql")})},o={key:"data",label:"Data",children:(0,l.jsx)(h.Z,{dataSource:a,columns:i,scroll:{x:"auto"}})},u="response_table"===r?[o,d]:[c,d,o];return(0,l.jsx)(x.Z,{defaultActiveKey:"response_table"===r?"data":"chart",items:u,size:"small"})},ei=function(e){let{data:t}=e;return t?(0,l.jsx)(es,{data:null==t?void 0:t.data,type:null==t?void 0:t.type,sql:null==t?void 0:t.sql}):null},ec=a(47727),ed=a(15273),eo=a(67421),eu=a(89144),em=function(e){let{data:t}=e,{t:a}=(0,eo.$G)(),[r,n]=(0,N.useState)(0);return(0,l.jsxs)("div",{className:"bg-[#EAEAEB] rounded overflow-hidden border border-theme-primary dark:bg-theme-dark text-sm",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"flex",children:t.code.map((e,t)=>(0,l.jsxs)("div",{className:A()("px-4 py-2 text-[#121417] dark:text-white cursor-pointer",{"bg-white dark:bg-theme-dark-container":t===r}),onClick:()=>{n(t)},children:["CODE ",t+1,": ",e[0]]},t))}),t.code.length&&(0,l.jsx)(er,{language:t.code[r][0],code:t.code[r][1],customStyle:{maxHeight:300,margin:0},light:eu.Z,dark:el.Z})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"flex",children:(0,l.jsxs)("div",{className:"bg-white dark:bg-theme-dark-container px-4 py-2 text-[#121417] dark:text-white",children:[a("Terminal")," ",t.exit_success?(0,l.jsx)(ec.Z,{className:"text-green-600"}):(0,l.jsx)(ed.Z,{className:"text-red-600"})]})}),(0,l.jsx)("div",{className:"p-4 max-h-72 overflow-y-auto whitespace-normal bg-white dark:dark:bg-theme-dark",children:(0,l.jsx)(o.Z,{components:ek,remarkPlugins:[v.Z],children:t.log})})]})]})},eh=function(e){let{data:t}=e;return(0,l.jsxs)("div",{className:"rounded overflow-hidden",children:[(0,l.jsx)("div",{className:"p-3 text-white bg-red-500 whitespace-normal",children:t.display_type}),(0,l.jsxs)("div",{className:"p-3 bg-red-50",children:[(0,l.jsx)("div",{className:"mb-2 whitespace-normal",children:t.thought}),(0,l.jsx)(er,{code:(0,n._m)(t.sql),language:"sql"})]})]})};let ex=[[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]];var ep=function(e){let{data:t}=e,a=(0,N.useMemo)(()=>{if(t.chart_count>1){let e=ex[t.chart_count-2],a=0;return e.map(e=>{let l=t.data.slice(a,a+e);return a=e,l})}return[t.data]},[t.data,t.chart_count]);return(0,l.jsx)("div",{className:"flex flex-col gap-3",children:a.map((e,t)=>(0,l.jsx)("div",{className:"flex gap-3",children:e.map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-1 flex-col justify-between p-4 rounded border border-gray-200 dark:border-gray-500 whitespace-normal",children:[(0,l.jsxs)("div",{children:[e.title&&(0,l.jsx)("div",{className:"mb-2 text-lg",children:e.title}),e.describe&&(0,l.jsx)("div",{className:"mb-4 text-sm text-gray-500",children:e.describe})]}),(0,l.jsx)(r._z,{data:e.data,chartType:(0,r.aG)(e.type)})]},"chart-".concat(t)))},"row-".concat(t)))})},ev=a(97937);let eg={todo:{bgClass:"bg-gray-500",icon:(0,l.jsx)(w.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,l.jsx)(O.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,l.jsx)(ev.Z,{className:"ml-2"})},complete:{bgClass:"bg-green-500",icon:(0,l.jsx)(U.Z,{className:"ml-2"})}};var ef=function(e){var t,a;let{data:r}=e,{bgClass:n,icon:s}=null!==(t=eg[r.status])&&void 0!==t?t:{};return(0,l.jsxs)("div",{className:"bg-theme-light dark:bg-theme-dark-container rounded overflow-hidden my-2 flex flex-col",children:[(0,l.jsxs)("div",{className:A()("flex px-4 md:px-6 py-2 items-center text-white text-sm",n),children:[r.name,s]}),r.result?(0,l.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm whitespace-normal",children:(0,l.jsx)(o.Z,{components:ek,rehypePlugins:[p.Z],remarkPlugins:[v.Z],children:null!==(a=r.result)&&void 0!==a?a:""})}):(0,l.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:r.err_msg})]})};let ej=["custom-view","chart-view","references","summary"],ey={code:(0,d.r)({languageRenderers:{"agent-plans":e=>{let{className:t,children:a}=e,r=String(a),n=(null==t?void 0:t.replace("language-",""))||"javascript";try{let e=JSON.parse(r);return(0,l.jsx)(H,{data:e})}catch(e){return(0,l.jsx)(er,{language:n,code:r})}},"agent-messages":e=>{let{className:t,children:a}=e,r=String(a),n=(null==t?void 0:t.replace("language-",""))||"javascript";try{let e=JSON.parse(r);return(0,l.jsx)(G,{data:e})}catch(e){return(0,l.jsx)(er,{language:n,code:r})}},"vis-convert-error":e=>{let{className:t,children:a}=e,r=String(a),n=(null==t?void 0:t.replace("language-",""))||"javascript";try{let e=JSON.parse(r);return(0,l.jsx)(eh,{data:e})}catch(e){return(0,l.jsx)(er,{language:n,code:r})}},"vis-dashboard":e=>{let{className:t,children:a}=e,r=String(a),n=(null==t?void 0:t.replace("language-",""))||"javascript";try{let e=JSON.parse(r);return(0,l.jsx)(ep,{data:e})}catch(e){return(0,l.jsx)(er,{language:n,code:r})}},"vis-db-chart":e=>{let{className:t,children:a}=e,r=String(a),n=(null==t?void 0:t.replace("language-",""))||"javascript";try{let e=JSON.parse(r);return(0,l.jsx)(ei,{data:e})}catch(e){return(0,l.jsx)(er,{language:n,code:r})}},"vis-plugin":e=>{let{className:t,children:a}=e,r=String(a),n=(null==t?void 0:t.replace("language-",""))||"javascript";try{let e=JSON.parse(r);return(0,l.jsx)(ef,{data:e})}catch(e){return(0,l.jsx)(er,{language:n,code:r})}},"vis-code":e=>{let{className:t,children:a}=e,r=String(a),n=(null==t?void 0:t.replace("language-",""))||"javascript";try{let e=JSON.parse(r);return(0,l.jsx)(em,{data:e})}catch(e){return(0,l.jsx)(er,{language:n,code:r})}},"vis-app-link":e=>{let{className:t,children:a}=e,r=String(a),n=(null==t?void 0:t.replace("language-",""))||"javascript";try{let e=JSON.parse(r);return(0,l.jsx)(E,{data:e})}catch(e){return(0,l.jsx)(er,{language:n,code:r})}},"vis-api-response":e=>{let{className:t,children:a}=e,r=String(a),n=(null==t?void 0:t.replace("language-",""))||"javascript";try{let e=JSON.parse(r);return(0,l.jsx)(K,{data:e})}catch(e){return(0,l.jsx)(er,{language:n,code:r})}}},defaultRenderer(e){let{node:t,className:a,children:r,style:n,...s}=e,i=String(r),c=(null==a?void 0:a.replace("language-",""))||"",{context:d,matchValues:u}=function(e){let t=ej.reduce((t,a)=>{let l=RegExp("<".concat(a,"[^>]*/?>"),"gi");return e=e.replace(l,e=>(t.push(e),"")),t},[]);return{context:e,matchValues:t}}(i);return(0,l.jsxs)(l.Fragment,{children:[c?(0,l.jsx)(er,{code:d,language:c||"javascript"}):(0,l.jsx)("code",{...s,style:n,className:"p-1 mx-1 rounded bg-theme-light dark:bg-theme-dark text-sm",children:r}),(0,l.jsx)(o.Z,{components:e_,rehypePlugins:[p.Z],remarkPlugins:[v.Z],children:u.join("\n")})]})}})},eb={...ey,ul(e){let{children:t}=e;return(0,l.jsx)("ul",{className:"py-1",children:t})},ol(e){let{children:t}=e;return(0,l.jsx)("ol",{className:"py-1",children:t})},li(e){let{children:t,ordered:a}=e;return(0,l.jsx)("li",{className:"text-sm leading-7 ml-5 pl-2 text-gray-600 dark:text-gray-300 ".concat(a?"list-decimal":"list-disc"),children:t})},table(e){let{children:t}=e;return(0,l.jsx)("table",{className:"my-2 rounded-tl-md rounded-tr-md bg-white dark:bg-gray-800 text-sm rounded-lg overflow-hidden",children:t})},thead(e){let{children:t}=e;return(0,l.jsx)("thead",{className:"bg-[#fafafa] dark:bg-black font-semibold",children:t})},th(e){let{children:t}=e;return(0,l.jsx)("th",{className:"!text-left p-4",children:t})},td(e){let{children:t}=e;return(0,l.jsx)("td",{className:"p-4 border-t border-[#f0f0f0] dark:border-gray-700",children:t})},h1(e){let{children:t}=e;return(0,l.jsx)("h3",{className:"text-2xl font-bold my-4 border-b border-slate-300 pb-4",children:t})},h2(e){let{children:t}=e;return(0,l.jsx)("h3",{className:"text-xl font-bold my-3",children:t})},h3(e){let{children:t}=e;return(0,l.jsx)("h3",{className:"text-lg font-semibold my-2",children:t})},h4(e){let{children:t}=e;return(0,l.jsx)("h3",{className:"text-base font-semibold my-1",children:t})},a(e){let{children:t,href:a}=e;return(0,l.jsxs)("div",{className:"inline-block text-blue-600 dark:text-blue-400",children:[(0,l.jsx)(s.Z,{className:"mr-1"}),(0,l.jsx)("a",{href:a,target:"_blank",rel:"noreferrer",children:t})]})},img(e){let{src:t,alt:a}=e;return(0,l.jsx)("div",{children:(0,l.jsx)(u.Z,{className:"min-h-[1rem] max-w-full max-h-full border rounded",src:t,alt:a,placeholder:(0,l.jsx)(m.Z,{icon:(0,l.jsx)(i.Z,{spin:!0}),color:"processing",children:"Image Loading..."}),fallback:"/pictures/fallback.png"})})},blockquote(e){let{children:t}=e;return(0,l.jsx)("blockquote",{className:"py-4 px-6 border-l-4 border-blue-600 rounded bg-white my-2 text-gray-500 dark:bg-slate-800 dark:text-gray-200 dark:border-white shadow-sm",children:t})},button(e){let{children:t,className:a,...r}=e;if("chat-link"===a){let e=null==r?void 0:r["data-msg"];return(0,l.jsx)(I,{msg:e,children:t})}return(0,l.jsx)("button",{className:a,...r,children:t})}},eN=e=>{let t={",":",","。":".","?":"?","!":"!",":":":",";":";","“":'"',"”":'"',"‘":"'","’":"'","(":"(",")":")","【":"[","】":"]","《":"<","》":">","—":"-","、":",","…":"..."},a=RegExp(Object.keys(t).join("|"),"g");return e.replace(a,e=>t[e])},e_={...eb,"chart-view":function(e){var t,a,s;let i,{content:c,children:d}=e;try{i=JSON.parse(c)}catch(e){console.log(e,c),i={type:"response_table",sql:"",data:[]}}let o=(null==i?void 0:null===(t=i.data)||void 0===t?void 0:t[0])?null===(a=Object.keys(null==i?void 0:null===(s=i.data)||void 0===s?void 0:s[0]))||void 0===a?void 0:a.map(e=>({title:e,dataIndex:e,key:e})):[],u={key:"chart",label:"Chart",children:(0,l.jsx)(r._z,{data:null==i?void 0:i.data,chartType:(0,r.aG)(null==i?void 0:i.type)})},m={key:"sql",label:"SQL",children:(0,l.jsx)(er,{code:(0,n._m)(eN(null==i?void 0:i.sql),"mysql"),language:"sql"})},p={key:"data",label:"Data",children:(0,l.jsx)(h.Z,{dataSource:null==i?void 0:i.data,columns:o,scroll:{x:!0},virtual:!0})},v=(null==i?void 0:i.type)==="response_table"?[p,m]:[u,m,p];return(0,l.jsxs)("div",{children:[(0,l.jsx)(x.Z,{defaultActiveKey:(null==i?void 0:i.type)==="response_table"?"data":"chart",items:v,size:"small"}),d]})},references:function(e){let{children:t}=e;if(t)try{let e=JSON.parse(t),a=e.references;return(0,l.jsx)(k,{references:a})}catch(e){return null}},summary:function(e){let{children:t}=e;return(0,l.jsxs)("div",{children:[(0,l.jsxs)("p",{className:"mb-2",children:[(0,l.jsx)(c.Z,{className:"mr-2"}),(0,l.jsx)("span",{className:"font-semibold",children:"Document Summary"})]}),(0,l.jsx)("div",{children:t})]})}};var ek=e_},18102:function(e,t,a){a.r(t);var l=a(85893),r=a(30853),n=a(87554);a(67294);var s=a(14660),i=a(55186);t.default=e=>{let{children:t}=e;return(0,l.jsx)(n.Z,{components:{...r.Z},rehypePlugins:[s.Z],remarkPlugins:[i.Z],children:t})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8715.d2fbee3ad16d61eb.js b/dbgpt/app/static/web/_next/static/chunks/8715.3021f7f912d86097.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/8715.d2fbee3ad16d61eb.js rename to dbgpt/app/static/web/_next/static/chunks/8715.3021f7f912d86097.js index 8f34046d3..053ba12bb 100644 --- a/dbgpt/app/static/web/_next/static/chunks/8715.d2fbee3ad16d61eb.js +++ b/dbgpt/app/static/web/_next/static/chunks/8715.3021f7f912d86097.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8715],{8715:function(e,t,n){n.r(t),n.d(t,{conf:function(){return o},language:function(){return r}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var o={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*#pragma\\s+region\\b"),end:RegExp("^\\s*#pragma\\s+endregion\\b")}}},r={tokenPostfix:".rust",defaultToken:"invalid",keywords:["as","async","await","box","break","const","continue","crate","dyn","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","static","struct","super","trait","true","try","type","unsafe","use","where","while","catch","default","union","static","abstract","alignof","become","do","final","macro","offsetof","override","priv","proc","pure","sizeof","typeof","unsized","virtual","yield"],typeKeywords:["Self","m32","m64","m128","f80","f16","f128","int","uint","float","char","bool","u8","u16","u32","u64","f32","f64","i8","i16","i32","i64","str","Option","Either","c_float","c_double","c_void","FILE","fpos_t","DIR","dirent","c_char","c_schar","c_uchar","c_short","c_ushort","c_int","c_uint","c_long","c_ulong","size_t","ptrdiff_t","clock_t","time_t","c_longlong","c_ulonglong","intptr_t","uintptr_t","off_t","dev_t","ino_t","pid_t","mode_t","ssize_t"],constants:["true","false","Some","None","Left","Right","Ok","Err"],supportConstants:["EXIT_FAILURE","EXIT_SUCCESS","RAND_MAX","EOF","SEEK_SET","SEEK_CUR","SEEK_END","_IOFBF","_IONBF","_IOLBF","BUFSIZ","FOPEN_MAX","FILENAME_MAX","L_tmpnam","TMP_MAX","O_RDONLY","O_WRONLY","O_RDWR","O_APPEND","O_CREAT","O_EXCL","O_TRUNC","S_IFIFO","S_IFCHR","S_IFBLK","S_IFDIR","S_IFREG","S_IFMT","S_IEXEC","S_IWRITE","S_IREAD","S_IRWXU","S_IXUSR","S_IWUSR","S_IRUSR","F_OK","R_OK","W_OK","X_OK","STDIN_FILENO","STDOUT_FILENO","STDERR_FILENO"],supportMacros:["format!","print!","println!","panic!","format_args!","unreachable!","write!","writeln!"],operators:["!","!=","%","%=","&","&=","&&","*","*=","+","+=","-","-=","->",".","..","...","/","/=",":",";","<<","<<=","<","<=","=","==","=>",">",">=",">>",">>=","@","^","^=","|","|=","||","_","?","#"],escapes:/\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,delimiters:/[,]/,symbols:/[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,intSuffixes:/[iu](8|16|32|64|128|size)/,floatSuffixes:/f(32|64)/,tokenizer:{root:[[/r(#*)"/,{token:"string.quote",bracket:"@open",next:"@stringraw.$1"}],[/[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,{cases:{"@typeKeywords":"keyword.type","@keywords":"keyword","@supportConstants":"keyword","@supportMacros":"keyword","@constants":"keyword","@default":"identifier"}}],[/\$/,"identifier"],[/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/,"identifier"],[/'(\S|@escapes)'/,"string.byteliteral"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],{include:"@numbers"},{include:"@whitespace"},[/@delimiters/,{cases:{"@keywords":"keyword","@default":"delimiter"}}],[/[{}()\[\]<>]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],stringraw:[[/[^"#]+/,{token:"string"}],[/"(#*)/,{cases:{"$1==$S2":{token:"string.quote",bracket:"@close",next:"@pop"},"@default":{token:"string"}}}],[/["#]/,{token:"string"}]],numbers:[[/(0o[0-7_]+)(@intSuffixes)?/,{token:"number"}],[/(0b[0-1_]+)(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/,{token:"number"}],[/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/,{token:"number"}],[/(0x[\da-fA-F]+)_?(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(@intSuffixes?)?/,{token:"number"}]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8719.02c6cd23b4c7fbd0.js b/dbgpt/app/static/web/_next/static/chunks/8719.94582b395ce9745b.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/8719.02c6cd23b4c7fbd0.js rename to dbgpt/app/static/web/_next/static/chunks/8719.94582b395ce9745b.js index 4a9125eca..597ec52c8 100644 --- a/dbgpt/app/static/web/_next/static/chunks/8719.02c6cd23b4c7fbd0.js +++ b/dbgpt/app/static/web/_next/static/chunks/8719.94582b395ce9745b.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8719],{18719:function(e,t,n){n.r(t),n.d(t,{conf:function(){return s},language:function(){return o}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var s={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],folding:{markers:{start:RegExp("^\\s*#region\\b"),end:RegExp("^\\s*#endregion\\b")}}},o={defaultToken:"",tokenPostfix:".cs",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["extern","alias","using","bool","decimal","sbyte","byte","short","ushort","int","uint","long","ulong","char","float","double","object","dynamic","string","assembly","is","as","ref","out","this","base","new","typeof","void","checked","unchecked","default","delegate","var","const","if","else","switch","case","while","do","for","foreach","in","break","continue","goto","return","throw","try","catch","finally","lock","yield","from","let","where","join","on","equals","into","orderby","ascending","descending","select","group","by","namespace","partial","class","field","event","method","param","public","protected","internal","private","abstract","sealed","static","struct","readonly","volatile","virtual","override","params","get","set","add","remove","operator","true","false","implicit","explicit","interface","enum","null","async","await","fixed","sizeof","stackalloc","unsafe","nameof","when"],namespaceFollows:["namespace","using"],parenFollows:["if","for","while","switch","foreach","using","catch","when"],operators:["=","??","||","&&","|","^","&","==","!=","<=",">=","<<","+","-","*","/","%","!","~","++","--","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=",">>","=>"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01_]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",next:"@string"}],[/\$\@"/,{token:"string.quote",next:"@litinterpstring"}],[/\@"/,{token:"string.quote",next:"@litstring"}],[/\$"/,{token:"string.quote",next:"@interpolatedstring"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],qualified:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/\./,"delimiter"],["","","@pop"]],namespace:[{include:"@whitespace"},[/[A-Z]\w*/,"namespace"],[/[\.=]/,"delimiter"],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]],litinterpstring:[[/[^"{]+/,"string"],[/""/,"string.escape"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.litinterpstring"}],[/"/,{token:"string.quote",next:"@pop"}]],interpolatedstring:[[/[^\\"{]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.interpolatedstring"}],[/"/,{token:"string.quote",next:"@pop"}]],whitespace:[[/^[ \t\v\f]*#((r)|(load))(?=\s)/,"directive.csx"],[/^[ \t\v\f]*#\w.*$/,"namespace.cpp"],[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8733-1e1fc970bff78378.js b/dbgpt/app/static/web/_next/static/chunks/8733-1e1fc970bff78378.js new file mode 100644 index 000000000..848a09939 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/8733-1e1fc970bff78378.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8733],{91321:function(e,t,o){o.d(t,{Z:function(){return d}});var n=o(87462),i=o(45987),r=o(67294),l=o(16165),s=["type","children"],a=new Set;function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=e[t];if("string"==typeof o&&o.length&&!a.has(o)){var n=document.createElement("script");n.setAttribute("src",o),n.setAttribute("data-namespace",o),e.length>t+1&&(n.onload=function(){c(e,t+1)},n.onerror=function(){c(e,t+1)}),a.add(o),document.body.appendChild(n)}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,o=e.extraCommonProps,a=void 0===o?{}:o;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?c(t.reverse()):c([t]));var d=r.forwardRef(function(e,t){var o=e.type,c=e.children,d=(0,i.Z)(e,s),u=null;return e.type&&(u=r.createElement("use",{xlinkHref:"#".concat(o)})),c&&(u=c),r.createElement(l.Z,(0,n.Z)({},a,d,{ref:t}),u)});return d.displayName="Iconfont",d}},63606:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(87462),i=o(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},l=o(13401),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},6171:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(87462),i=o(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"},l=o(13401),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},24969:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(87462),i=o(67294),r={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"},l=o(13401),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},90598:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(87462),i=o(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},l=o(13401),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},75750:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(87462),i=o(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"},l=o(13401),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},8745:function(e,t,o){o.d(t,{i:function(){return s}});var n=o(67294),i=o(21770),r=o(28459),l=o(53124);function s(e){return t=>n.createElement(r.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},n.createElement(e,Object.assign({},t)))}t.Z=(e,t,o,r)=>s(s=>{let{prefixCls:a,style:c}=s,d=n.useRef(null),[u,h]=n.useState(0),[f,p]=n.useState(0),[m,g]=(0,i.Z)(!1,{value:s.open}),{getPrefixCls:v}=n.useContext(l.E_),_=v(t||"select",a);n.useEffect(()=>{if(g(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;h(t.offsetHeight+8),p(t.offsetWidth)}),t=setInterval(()=>{var n;let i=o?`.${o(_)}`:`.${_}-dropdown`,r=null===(n=d.current)||void 0===n?void 0:n.querySelector(i);r&&(clearInterval(t),e.observe(r))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let S=Object.assign(Object.assign({},s),{style:Object.assign(Object.assign({},c),{margin:0}),open:m,visible:m,getPopupContainer:()=>d.current});return r&&(S=r(S)),n.createElement("div",{ref:d,style:{paddingBottom:u,position:"relative",minWidth:f}},n.createElement(e,Object.assign({},S)))})},98065:function(e,t,o){function n(e){return["small","middle","large"].includes(e)}function i(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}o.d(t,{T:function(){return i},n:function(){return n}})},96074:function(e,t,o){o.d(t,{Z:function(){return p}});var n=o(67294),i=o(93967),r=o.n(i),l=o(53124),s=o(25446),a=o(14747),c=o(83559),d=o(83262);let u=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:o,colorSplit:n,lineWidth:i,textPaddingInline:r,orientationMargin:l,verticalMarginInline:c}=e;return{[t]:Object.assign(Object.assign({},(0,a.Wf)(e)),{borderBlockStart:`${(0,s.bf)(i)} solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:c,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,s.bf)(i)} solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,s.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,s.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,s.bf)(i)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${l} * 100%)`},"&::after":{width:`calc(100% - ${l} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${l} * 100%)`},"&::after":{width:`calc(${l} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:r},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${(0,s.bf)(i)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${(0,s.bf)(i)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:i,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:o}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:o}}})}};var h=(0,c.I$)("Divider",e=>{let t=(0,d.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[u(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),f=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(o[n[i]]=e[n[i]]);return o},p=e=>{let{getPrefixCls:t,direction:o,divider:i}=n.useContext(l.E_),{prefixCls:s,type:a="horizontal",orientation:c="center",orientationMargin:d,className:u,rootClassName:p,children:m,dashed:g,variant:v="solid",plain:_,style:S}=e,y=f(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),C=t("divider",s),[w,x,b]=h(C),R=!!m,z="left"===c&&null!=d,T="right"===c&&null!=d,I=r()(C,null==i?void 0:i.className,x,b,`${C}-${a}`,{[`${C}-with-text`]:R,[`${C}-with-text-${c}`]:R,[`${C}-dashed`]:!!g,[`${C}-${v}`]:"solid"!==v,[`${C}-plain`]:!!_,[`${C}-rtl`]:"rtl"===o,[`${C}-no-default-orientation-margin-left`]:z,[`${C}-no-default-orientation-margin-right`]:T},u,p),Z=n.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),O=Object.assign(Object.assign({},z&&{marginLeft:Z}),T&&{marginRight:Z});return w(n.createElement("div",Object.assign({className:I,style:Object.assign(Object.assign({},null==i?void 0:i.style),S)},y,{role:"separator"}),m&&"vertical"!==a&&n.createElement("span",{className:`${C}-inner-text`,style:O},m)))}},45360:function(e,t,o){var n=o(74902),i=o(67294),r=o(38135),l=o(66968),s=o(53124),a=o(28459),c=o(66277),d=o(16474),u=o(84926);let h=null,f=e=>e(),p=[],m={};function g(){let{getContainer:e,duration:t,rtl:o,maxCount:n,top:i}=m,r=(null==e?void 0:e())||document.body;return{getContainer:()=>r,duration:t,rtl:o,maxCount:n,top:i}}let v=i.forwardRef((e,t)=>{let{messageConfig:o,sync:n}=e,{getPrefixCls:r}=(0,i.useContext)(s.E_),a=m.prefixCls||r("message"),c=(0,i.useContext)(l.J),[u,h]=(0,d.K)(Object.assign(Object.assign(Object.assign({},o),{prefixCls:a}),c.message));return i.useImperativeHandle(t,()=>{let e=Object.assign({},u);return Object.keys(e).forEach(t=>{e[t]=function(){return n(),u[t].apply(u,arguments)}}),{instance:e,sync:n}}),h}),_=i.forwardRef((e,t)=>{let[o,n]=i.useState(g),r=()=>{n(g)};i.useEffect(r,[]);let l=(0,a.w6)(),s=l.getRootPrefixCls(),c=l.getIconPrefixCls(),d=l.getTheme(),u=i.createElement(v,{ref:t,sync:r,messageConfig:o});return i.createElement(a.ZP,{prefixCls:s,iconPrefixCls:c,theme:d},l.holderRender?l.holderRender(u):u)});function S(){if(!h){let e=document.createDocumentFragment(),t={fragment:e};h=t,f(()=>{(0,r.s)(i.createElement(_,{ref:e=>{let{instance:o,sync:n}=e||{};Promise.resolve().then(()=>{!t.instance&&o&&(t.instance=o,t.sync=n,S())})}}),e)});return}h.instance&&(p.forEach(e=>{let{type:t,skipped:o}=e;if(!o)switch(t){case"open":f(()=>{let t=h.instance.open(Object.assign(Object.assign({},m),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":f(()=>{null==h||h.instance.destroy(e.key)});break;default:f(()=>{var o;let i=(o=h.instance)[t].apply(o,(0,n.Z)(e.args));null==i||i.then(e.resolve),e.setCloseFn(i)})}}),p=[])}let y={open:function(e){let t=(0,u.J)(t=>{let o;let n={type:"open",config:e,resolve:t,setCloseFn:e=>{o=e}};return p.push(n),()=>{o?f(()=>{o()}):n.skipped=!0}});return S(),t},destroy:e=>{p.push({type:"destroy",key:e}),S()},config:function(e){m=Object.assign(Object.assign({},m),e),f(()=>{var e;null===(e=null==h?void 0:h.sync)||void 0===e||e.call(h)})},useMessage:d.Z,_InternalPanelDoNotUseOrYouWillBeFired:c.ZP};["success","info","warning","error","loading"].forEach(e=>{y[e]=function(){for(var t=arguments.length,o=Array(t),n=0;n{let n;let i={type:e,args:t,resolve:o,setCloseFn:e=>{n=e}};return p.push(i),()=>{n?f(()=>{n()}):i.skipped=!0}});return S(),o}(e,o)}}),t.ZP=y},42075:function(e,t,o){o.d(t,{Z:function(){return g}});var n=o(67294),i=o(93967),r=o.n(i),l=o(50344),s=o(98065),a=o(53124),c=o(4173);let d=n.createContext({latestIndex:0}),u=d.Provider;var h=e=>{let{className:t,index:o,children:i,split:r,style:l}=e,{latestIndex:s}=n.useContext(d);return null==i?null:n.createElement(n.Fragment,null,n.createElement("div",{className:t,style:l},i),ot.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(o[n[i]]=e[n[i]]);return o};let m=n.forwardRef((e,t)=>{var o,i,c;let{getPrefixCls:d,space:m,direction:g}=n.useContext(a.E_),{size:v=null!==(o=null==m?void 0:m.size)&&void 0!==o?o:"small",align:_,className:S,rootClassName:y,children:C,direction:w="horizontal",prefixCls:x,split:b,style:R,wrap:z=!1,classNames:T,styles:I}=e,Z=p(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[O,M]=Array.isArray(v)?v:[v,v],P=(0,s.n)(M),k=(0,s.n)(O),L=(0,s.T)(M),E=(0,s.T)(O),G=(0,l.Z)(C,{keepEmpty:!0}),A=void 0===_&&"horizontal"===w?"center":_,W=d("space",x),[D,H,j]=(0,f.Z)(W),F=r()(W,null==m?void 0:m.className,H,`${W}-${w}`,{[`${W}-rtl`]:"rtl"===g,[`${W}-align-${A}`]:A,[`${W}-gap-row-${M}`]:P,[`${W}-gap-col-${O}`]:k},S,y,j),N=r()(`${W}-item`,null!==(i=null==T?void 0:T.item)&&void 0!==i?i:null===(c=null==m?void 0:m.classNames)||void 0===c?void 0:c.item),U=0,B=G.map((e,t)=>{var o,i;null!=e&&(U=t);let r=(null==e?void 0:e.key)||`${N}-${t}`;return n.createElement(h,{className:N,key:r,index:t,split:b,style:null!==(o=null==I?void 0:I.item)&&void 0!==o?o:null===(i=null==m?void 0:m.styles)||void 0===i?void 0:i.item},e)}),$=n.useMemo(()=>({latestIndex:U}),[U]);if(0===G.length)return null;let V={};return z&&(V.flexWrap="wrap"),!k&&E&&(V.columnGap=O),!P&&L&&(V.rowGap=M),D(n.createElement("div",Object.assign({ref:t,className:F,style:Object.assign(Object.assign(Object.assign({},V),null==m?void 0:m.style),R)},Z),n.createElement(u,{value:$},B)))});m.Compact=c.ZP;var g=m},33507:function(e,t){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`}}})},33297:function(e,t,o){o.d(t,{Fm:function(){return p}});var n=o(25446),i=o(93590);let r=new n.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new n.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),s=new n.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),a=new n.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 n.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new n.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),u=new n.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),h=new n.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),f={"move-up":{inKeyframes:u,outKeyframes:h},"move-down":{inKeyframes:r,outKeyframes:l},"move-left":{inKeyframes:s,outKeyframes:a},"move-right":{inKeyframes:c,outKeyframes:d}},p=(e,t)=>{let{antCls:o}=e,n=`${o}-${t}`,{inKeyframes:r,outKeyframes:l}=f[t];return[(0,i.R)(n,r,l,e.motionDurationMid),{[` + ${n}-enter, + ${n}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},22575:function(e,t,o){o.d(t,{qj:function(){return et},rj:function(){return K},b2:function(){return eh}});var n,i,r,l,s,a,c,d,u,h,f,p,m,g,v,_,S=o(15671),y=o(43144),C=o(82963),w=o(61120),x=o(97326),b=o(60136),R=o(4942),z=o(67294);function T(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState((function(t){var o=this.constructor.getDerivedStateFromProps(e,t);return null!=o?o:null}).bind(this))}function Z(e,t){try{var o=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(o,n)}finally{this.props=o,this.state=n}}function O(e){var t=e.prototype;if(!t||!t.isReactComponent)throw Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var o=null,n=null,i=null;if("function"==typeof t.componentWillMount?o="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(o="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?n="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(n="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?i="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(i="UNSAFE_componentWillUpdate"),null!==o||null!==n||null!==i)throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+(e.displayName||e.name)+" uses "+("function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()")+" but also contains the following legacy lifecycles:"+(null!==o?"\n "+o:"")+(null!==n?"\n "+n:"")+(null!==i?"\n "+i:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks");if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=T,t.componentWillReceiveProps=I),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Z;var r=t.componentDidUpdate;t.componentDidUpdate=function(e,t,o){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:o;r.call(this,e,t,n)}}return e}T.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,Z.__suppressDeprecationWarning=!0;var M=o(87462),P=function(){for(var e,t,o=0,n="";o=0&&a===s&&c())}var L=o(45987),E=function(){function e(t){var o=t.cellCount,n=t.cellSizeGetter,i=t.estimatedCellSize;(0,S.Z)(this,e),(0,R.Z)(this,"_cellSizeAndPositionData",{}),(0,R.Z)(this,"_lastMeasuredIndex",-1),(0,R.Z)(this,"_lastBatchedIndex",-1),(0,R.Z)(this,"_cellCount",void 0),(0,R.Z)(this,"_cellSizeGetter",void 0),(0,R.Z)(this,"_estimatedCellSize",void 0),this._cellSizeGetter=n,this._cellCount=o,this._estimatedCellSize=i}return(0,y.Z)(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var t=e.cellCount,o=e.estimatedCellSize,n=e.cellSizeGetter;this._cellCount=t,this._estimatedCellSize=o,this._cellSizeGetter=n}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var t=this.getSizeAndPositionOfLastMeasuredCell(),o=t.offset+t.size,n=this._lastMeasuredIndex+1;n<=e;n++){var i=this._cellSizeGetter({index:n});if(void 0===i||isNaN(i))throw Error("Invalid size returned for cell ".concat(n," of value ").concat(i));null===i?(this._cellSizeAndPositionData[n]={offset:o,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[n]={offset:o,size:i},o+=i,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var t,o=e.align,n=e.containerSize,i=e.currentOffset,r=e.targetIndex;if(n<=0)return 0;var l=this.getSizeAndPositionOfCell(r),s=l.offset,a=s-n+l.size;switch(void 0===o?"auto":o){case"start":t=s;break;case"end":t=a;break;case"center":t=s-(n-l.size)/2;break;default:t=Math.max(a,Math.min(s,i))}return Math.max(0,Math.min(this.getTotalSize()-n,t))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,o=e.offset;if(0===this.getTotalSize())return{};var n=o+t,i=this._findNearestCell(o),r=this.getSizeAndPositionOfCell(i);o=r.offset+r.size;for(var l=i;oo&&(e=n-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function(e,t){for(var o=1;e=e?this._binarySearch(o,0,e):this._exponentialSearch(o,e)}}]),e}(),G=function(){function e(t){var o=t.maxScrollSize,n=void 0===o?"undefined"!=typeof window&&window.chrome?16777100:15e5:o,i=(0,L.Z)(t,["maxScrollSize"]);(0,S.Z)(this,e),(0,R.Z)(this,"_cellSizeAndPositionManager",void 0),(0,R.Z)(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new E(i),this._maxScrollSize=n}return(0,y.Z)(e,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();return Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:i})*(i-n))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,o=e.containerSize,n=e.currentOffset,i=e.targetIndex;n=this._safeOffsetToOffset({containerSize:o,offset:n});var r=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:void 0===t?"auto":t,containerSize:o,currentOffset:n,targetIndex:i});return this._offsetToSafeOffset({containerSize:o,offset:r})}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,o=e.offset;return o=this._safeOffsetToOffset({containerSize:t,offset:o}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:o})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var t=e.containerSize,o=e.offset,n=e.totalSize;return n<=t?0:o/(n-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();return n===i?o:Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:n})*(i-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();return n===i?o:Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:i})*(n-t))}}]),e}();function A(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t={};return function(o){var n=o.callback,i=o.indices,r=Object.keys(i),l=!e||r.every(function(e){var t=i[e];return Array.isArray(t)?t.length>0:t>=0}),s=r.length!==Object.keys(t).length||r.some(function(e){var o=t[e],n=i[e];return Array.isArray(n)?o.join(",")!==n.join(","):o!==n});t=i,l&&s&&n(i)}}function W(e){var t=e.cellSize,o=e.cellSizeAndPositionManager,n=e.previousCellsCount,i=e.previousCellSize,r=e.previousScrollToAlignment,l=e.previousScrollToIndex,s=e.previousSize,a=e.scrollOffset,c=e.scrollToAlignment,d=e.scrollToIndex,u=e.size,h=e.sizeJustIncreasedFromZero,f=e.updateScrollIndexCallback,p=o.getCellCount(),m=d>=0&&d0&&(uo.getTotalSize()-u&&f(p-1)}var D=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function H(e){if((!n&&0!==n||e)&&D){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),n=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return n}var j=(i="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||i.webkitRequestAnimationFrame||i.mozRequestAnimationFrame||i.oRequestAnimationFrame||i.msRequestAnimationFrame||function(e){return i.setTimeout(e,1e3/60)},F=i.cancelAnimationFrame||i.webkitCancelAnimationFrame||i.mozCancelAnimationFrame||i.oCancelAnimationFrame||i.msCancelAnimationFrame||function(e){i.clearTimeout(e)},N=function(e){return F(e.id)},U=function(e,t){Promise.resolve().then(function(){o=Date.now()});var o,n={id:j(function i(){Date.now()-o>=t?e.call():n.id=j(i)})};return n};function B(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function $(e){for(var t=1;t0&&(o._initialScrollTop=o._getCalculatedScrollTop(e,o.state)),e.scrollToColumn>0&&(o._initialScrollLeft=o._getCalculatedScrollLeft(e,o.state)),o}return(0,b.Z)(t,e),(0,y.Z)(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,o=void 0===t?this.props.scrollToAlignment:t,n=e.columnIndex,i=void 0===n?this.props.scrollToColumn:n,r=e.rowIndex,l=void 0===r?this.props.scrollToRow:r,s=$({},this.props,{scrollToAlignment:o,scrollToColumn:i,scrollToRow:l});return{scrollLeft:this._getCalculatedScrollLeft(s),scrollTop:this._getCalculatedScrollTop(s)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var t=e.scrollLeft,o=e.scrollTop,n=void 0===o?0:o;if(!(n<0)){this._debounceScrollEnded();var i=this.props,r=i.autoHeight,l=i.autoWidth,s=i.height,a=i.width,c=this.state.instanceProps,d=c.scrollbarSize,u=c.rowSizeAndPositionManager.getTotalSize(),h=c.columnSizeAndPositionManager.getTotalSize(),f=Math.min(Math.max(0,h-a+d),void 0===t?0:t),p=Math.min(Math.max(0,u-s+d),n);if(this.state.scrollLeft!==f||this.state.scrollTop!==p){var m={isScrolling:!0,scrollDirectionHorizontal:f!==this.state.scrollLeft?f>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:p!==this.state.scrollTop?p>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:V.OBSERVED};r||(m.scrollTop=p),l||(m.scrollLeft=f),m.needToResetStyleCache=!1,this.setState(m)}this._invokeOnScrollMemoizer({scrollLeft:f,scrollTop:p,totalColumnsWidth:h,totalRowsHeight:u})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,o=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,o):o}},{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,o=e.rowCount,n=this.state.instanceProps;n.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),n.rowSizeAndPositionManager.getSizeAndPositionOfCell(o-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,i=void 0===n?0:n,r=this.props,l=r.scrollToColumn,s=r.scrollToRow,a=this.state.instanceProps;a.columnSizeAndPositionManager.resetCell(o),a.rowSizeAndPositionManager.resetCell(i),this._recomputeScrollLeftFlag=l>=0&&(1===this.state.scrollDirectionHorizontal?o<=l:o>=l),this._recomputeScrollTopFlag=s>=0&&(1===this.state.scrollDirectionVertical?i<=s:i>=s),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,o=e.rowIndex,n=this.props.columnCount,i=this.props;n>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn($({},i,{scrollToColumn:t})),void 0!==o&&this._updateScrollTopForScrollToRow($({},i,{scrollToRow:o}))}},{key:"componentDidMount",value:function(){var e=this.props,o=e.getScrollbarSize,n=e.height,i=e.scrollLeft,r=e.scrollToColumn,l=e.scrollTop,s=e.scrollToRow,a=e.width,c=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),c.scrollbarSizeMeasured||this.setState(function(e){var t=$({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=o(),t.instanceProps.scrollbarSizeMeasured=!0,t}),"number"==typeof i&&i>=0||"number"==typeof l&&l>=0){var d=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:i,scrollTop:l});d&&(d.needToResetStyleCache=!1,this.setState(d))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var u=n>0&&a>0;r>=0&&u&&this._updateScrollLeftForScrollToColumn(),s>=0&&u&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:i||0,scrollTop:l||0,totalColumnsWidth:c.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:c.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var o=this,n=this.props,i=n.autoHeight,r=n.autoWidth,l=n.columnCount,s=n.height,a=n.rowCount,c=n.scrollToAlignment,d=n.scrollToColumn,u=n.scrollToRow,h=n.width,f=this.state,p=f.scrollLeft,m=f.scrollPositionChangeReason,g=f.scrollTop,v=f.instanceProps;this._handleInvalidatedGridSize();var _=l>0&&0===e.columnCount||a>0&&0===e.rowCount;m===V.REQUESTED&&(!r&&p>=0&&(p!==this._scrollingContainer.scrollLeft||_)&&(this._scrollingContainer.scrollLeft=p),!i&&g>=0&&(g!==this._scrollingContainer.scrollTop||_)&&(this._scrollingContainer.scrollTop=g));var S=(0===e.width||0===e.height)&&s>0&&h>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):W({cellSizeAndPositionManager:v.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:p,scrollToAlignment:c,scrollToIndex:d,size:h,sizeJustIncreasedFromZero:S,updateScrollIndexCallback:function(){return o._updateScrollLeftForScrollToColumn(o.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):W({cellSizeAndPositionManager:v.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:g,scrollToAlignment:c,scrollToIndex:u,size:s,sizeJustIncreasedFromZero:S,updateScrollIndexCallback:function(){return o._updateScrollTopForScrollToRow(o.props)}}),this._invokeOnGridRenderedHelper(),p!==t.scrollLeft||g!==t.scrollTop){var y=v.rowSizeAndPositionManager.getTotalSize(),C=v.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:p,scrollTop:g,totalColumnsWidth:C,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&N(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,o=e.autoHeight,n=e.autoWidth,i=e.className,r=e.containerProps,l=e.containerRole,s=e.containerStyle,a=e.height,c=e.id,d=e.noContentRenderer,u=e.role,h=e.style,f=e.tabIndex,p=e.width,m=this.state,g=m.instanceProps,v=m.needToResetStyleCache,_=this._isScrolling(),S={boxSizing:"border-box",direction:"ltr",height:o?"auto":a,position:"relative",width:n?"auto":p,WebkitOverflowScrolling:"touch",willChange:"transform"};v&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var y=g.columnSizeAndPositionManager.getTotalSize(),C=g.rowSizeAndPositionManager.getTotalSize(),w=C>a?g.scrollbarSize:0,x=y>p?g.scrollbarSize:0;(x!==this._horizontalScrollBarSize||w!==this._verticalScrollBarSize)&&(this._horizontalScrollBarSize=x,this._verticalScrollBarSize=w,this._scrollbarPresenceChanged=!0),S.overflowX=y+w<=p?"hidden":"auto",S.overflowY=C+x<=a?"hidden":"auto";var b=this._childrenToDisplay,R=0===b.length&&a>0&&p>0;return z.createElement("div",(0,M.Z)({ref:this._setScrollingContainerRef},r,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:P("ReactVirtualized__Grid",i),id:c,onScroll:this._onScroll,role:u,style:$({},S,{},h),tabIndex:f}),b.length>0&&z.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:$({width:t?"auto":y,height:C,maxWidth:y,maxHeight:C,overflow:"hidden",pointerEvents:_?"none":"",position:"relative"},s)},b),R&&d())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,o=e.cellRenderer,n=e.cellRangeRenderer,i=e.columnCount,r=e.deferredMeasurementCache,l=e.height,s=e.overscanColumnCount,a=e.overscanIndicesGetter,c=e.overscanRowCount,d=e.rowCount,u=e.width,h=e.isScrollingOptOut,f=t.scrollDirectionHorizontal,p=t.scrollDirectionVertical,m=t.instanceProps,g=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,v=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,_=this._isScrolling(e,t);if(this._childrenToDisplay=[],l>0&&u>0){var S=m.columnSizeAndPositionManager.getVisibleCellRange({containerSize:u,offset:v}),y=m.rowSizeAndPositionManager.getVisibleCellRange({containerSize:l,offset:g}),C=m.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:u,offset:v}),w=m.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:l,offset:g});this._renderedColumnStartIndex=S.start,this._renderedColumnStopIndex=S.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var x=a({direction:"horizontal",cellCount:i,overscanCellsCount:s,scrollDirection:f,startIndex:"number"==typeof S.start?S.start:0,stopIndex:"number"==typeof S.stop?S.stop:-1}),b=a({direction:"vertical",cellCount:d,overscanCellsCount:c,scrollDirection:p,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),R=x.overscanStartIndex,z=x.overscanStopIndex,T=b.overscanStartIndex,I=b.overscanStopIndex;if(r){if(!r.hasFixedHeight()){for(var Z=T;Z<=I;Z++)if(!r.has(Z,0)){R=0,z=i-1;break}}if(!r.hasFixedWidth()){for(var O=R;O<=z;O++)if(!r.has(0,O)){T=0,I=d-1;break}}}this._childrenToDisplay=n({cellCache:this._cellCache,cellRenderer:o,columnSizeAndPositionManager:m.columnSizeAndPositionManager,columnStartIndex:R,columnStopIndex:z,deferredMeasurementCache:r,horizontalOffsetAdjustment:C,isScrolling:_,isScrollingOptOut:h,parent:this,rowSizeAndPositionManager:m.rowSizeAndPositionManager,rowStartIndex:T,rowStopIndex:I,scrollLeft:v,scrollTop:g,styleCache:this._styleCache,verticalOffsetAdjustment:w,visibleColumnIndices:S,visibleRowIndices:y}),this._columnStartIndex=R,this._columnStopIndex=z,this._rowStartIndex=T,this._rowStopIndex=I}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&N(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,o=e.scrollLeft,n=e.scrollTop,i=e.totalColumnsWidth,r=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var o=e.scrollLeft,n=e.scrollTop,l=t.props,s=l.height;(0,l.onScroll)({clientHeight:s,clientWidth:l.width,scrollHeight:r,scrollLeft:o,scrollTop:n,scrollWidth:i})},indices:{scrollLeft:o,scrollTop:n}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?!!e.isScrolling:!!t.isScrolling}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var o=e.scrollLeft,n=e.scrollTop,i=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:n});i&&(i.needToResetStyleCache=!1,this.setState(i))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,o)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=t._getScrollLeftForScrollToColumnStateUpdate(e,o);n&&(n.needToResetStyleCache=!1,this.setState(n))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,o)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,t=this._cellCache,o=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var n=this._rowStartIndex;n<=this._rowStopIndex;n++)for(var i=this._columnStartIndex;i<=this._columnStopIndex;i++){var r="".concat(n,"-").concat(i);this._styleCache[r]=e[r],o&&(this._cellCache[r]=t[r])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=t._getScrollTopForScrollToRowStateUpdate(e,o);n&&(n.needToResetStyleCache=!1,this.setState(n))}}],[{key:"getDerivedStateFromProps",value:function(e,o){var n,i,r={};0===e.columnCount&&0!==o.scrollLeft||0===e.rowCount&&0!==o.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==o.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==o.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var l=o.instanceProps;return r.needToResetStyleCache=!1,(e.columnWidth!==l.prevColumnWidth||e.rowHeight!==l.prevRowHeight)&&(r.needToResetStyleCache=!0),l.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),l.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),(0===l.prevColumnCount||0===l.prevRowCount)&&(l.prevColumnCount=0,l.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===l.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),k({cellCount:l.prevColumnCount,cellSize:"number"==typeof l.prevColumnWidth?l.prevColumnWidth:null,computeMetadataCallback:function(){return l.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:l.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){n=t._getScrollLeftForScrollToColumnStateUpdate(e,o)}}),k({cellCount:l.prevRowCount,cellSize:"number"==typeof l.prevRowHeight?l.prevRowHeight:null,computeMetadataCallback:function(){return l.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:l.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,o)}}),l.prevColumnCount=e.columnCount,l.prevColumnWidth=e.columnWidth,l.prevIsScrolling=!0===e.isScrolling,l.prevRowCount=e.rowCount,l.prevRowHeight=e.rowHeight,l.prevScrollToColumn=e.scrollToColumn,l.prevScrollToRow=e.scrollToRow,l.scrollbarSize=e.getScrollbarSize(),void 0===l.scrollbarSize?(l.scrollbarSizeMeasured=!1,l.scrollbarSize=0):l.scrollbarSizeMeasured=!0,r.instanceProps=l,$({},r,{},n,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var t=e.prevState,o=e.scrollLeft,n=e.scrollTop,i={scrollPositionChangeReason:V.REQUESTED};return("number"==typeof o&&o>=0&&(i.scrollDirectionHorizontal=o>t.scrollLeft?1:-1,i.scrollLeft=o),"number"==typeof n&&n>=0&&(i.scrollDirectionVertical=n>t.scrollTop?1:-1,i.scrollTop=n),"number"==typeof o&&o>=0&&o!==t.scrollLeft||"number"==typeof n&&n>=0&&n!==t.scrollTop)?i:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var o=e.columnCount,n=e.height,i=e.scrollToAlignment,r=e.scrollToColumn,l=e.width,s=t.scrollLeft,a=t.instanceProps;if(o>0){var c=o-1,d=a.rowSizeAndPositionManager.getTotalSize(),u=a.scrollbarSizeMeasured&&d>n?a.scrollbarSize:0;return a.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:i,containerSize:l-u,currentOffset:s,targetIndex:r<0?c:Math.min(c,r)})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,o){var n=o.scrollLeft,i=t._getCalculatedScrollLeft(e,o);return"number"==typeof i&&i>=0&&n!==i?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:i,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var o=e.height,n=e.rowCount,i=e.scrollToAlignment,r=e.scrollToRow,l=e.width,s=t.scrollTop,a=t.instanceProps;if(n>0){var c=n-1,d=a.columnSizeAndPositionManager.getTotalSize(),u=a.scrollbarSizeMeasured&&d>l?a.scrollbarSize:0;return a.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:i,containerSize:o-u,currentOffset:s,targetIndex:r<0?c:Math.min(c,r)})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,o){var n=o.scrollTop,i=t._getCalculatedScrollTop(e,o);return"number"==typeof i&&i>=0&&n!==i?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:-1,scrollTop:i}):{}}}]),t}(z.PureComponent),(0,R.Z)(r,"propTypes",null),l);(0,R.Z)(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var t=e.cellCache,o=e.cellRenderer,n=e.columnSizeAndPositionManager,i=e.columnStartIndex,r=e.columnStopIndex,l=e.deferredMeasurementCache,s=e.horizontalOffsetAdjustment,a=e.isScrolling,c=e.isScrollingOptOut,d=e.parent,u=e.rowSizeAndPositionManager,h=e.rowStartIndex,f=e.rowStopIndex,p=e.styleCache,m=e.verticalOffsetAdjustment,g=e.visibleColumnIndices,v=e.visibleRowIndices,_=[],S=n.areOffsetsAdjusted()||u.areOffsetsAdjusted(),y=!a&&!S,C=h;C<=f;C++)for(var w=u.getSizeAndPositionOfCell(C),x=i;x<=r;x++){var b=n.getSizeAndPositionOfCell(x),R=x>=g.start&&x<=g.stop&&C>=v.start&&C<=v.stop,z="".concat(C,"-").concat(x),T=void 0;y&&p[z]?T=p[z]:l&&!l.has(C,x)?T={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(T={height:w.size,left:b.offset+s,position:"absolute",top:w.offset+m,width:b.size},p[z]=T);var I={columnIndex:x,isScrolling:a,isVisible:R,key:z,parent:d,rowIndex:C,style:T},Z=void 0;(c||a)&&!s&&!m?(t[z]||(t[z]=o(I)),Z=t[z]):Z=o(I),null!=Z&&!1!==Z&&_.push(Z)}return _},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:H,noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var t=e.cellCount,o=e.overscanCellsCount,n=e.scrollDirection,i=e.startIndex,r=e.stopIndex;return 1===n?{overscanStartIndex:Math.max(0,i),overscanStopIndex:Math.min(t-1,r+o)}:{overscanStartIndex:Math.max(0,i-o),overscanStopIndex:Math.min(t-1,r)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),O(q);var K=q;function X(e){var t=e.cellCount,o=e.overscanCellsCount,n=e.scrollDirection,i=e.startIndex,r=e.stopIndex;return(o=Math.max(1,o),1===n)?{overscanStartIndex:Math.max(0,i-1),overscanStopIndex:Math.min(t-1,r+o)}:{overscanStartIndex:Math.max(0,i-o),overscanStopIndex:Math.min(t-1,r+1)}}function Y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}var Q=(a=s=function(e){function t(){(0,S.Z)(this,t);for(var e,o,n=arguments.length,i=Array(n),r=0;re.target.className.indexOf("contract-trigger")&&0>e.target.className.indexOf("expand-trigger"))){var t=this;c(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=s(function(){(t.offsetWidth!=t.__resizeLast__.width||t.offsetHeight!=t.__resizeLast__.height)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach(function(o){o.call(t,e)}))})}},u=!1,h="",f="animationstart",p="Webkit Moz O ms".split(" "),m="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=n.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u){for(var v=0;v div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',n=t.head||t.getElementsByTagName("head")[0],i=t.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=o:i.appendChild(t.createTextNode(o)),n.appendChild(i)}};return{addResizeListener:function(e,t){if(i)e.attachEvent("onresize",t);else{if(!e.__resizeTriggers__){var o=e.ownerDocument,r=n.getComputedStyle(e);r&&"static"==r.position&&(e.style.position="relative"),C(o),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=o.createElement("div")).className="resize-triggers";var l='
    ';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return l}});e.__resizeTriggers__.innerHTML=s.createHTML("")}else e.__resizeTriggers__.innerHTML=l;e.appendChild(e.__resizeTriggers__),c(e),e.addEventListener("scroll",d,!0),f&&(e.__resizeTriggers__.__animationListener__=function(t){t.animationName==_&&c(e)},e.__resizeTriggers__.addEventListener(f,e.__resizeTriggers__.__animationListener__))}e.__resizeListeners__.push(t)}},removeResizeListener:function(e,t){if(i)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",d,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}(0,R.Z)(Q,"defaultProps",{disabled:!1,isControlled:!1,mode:"edges",scrollToColumn:0,scrollToRow:0}),O(Q);var et=(d=c=function(e){function t(){(0,S.Z)(this,t);for(var e,o,n=arguments.length,i=Array(n),r=0;r=0){var d=t.getScrollPositionForCell({align:i,cellIndex:r,height:n,scrollLeft:a,scrollTop:c,width:l});(d.scrollLeft!==a||d.scrollTop!==c)&&o._setScrollPosition(d)}}),(0,R.Z)((0,x.Z)(o),"_onScroll",function(e){if(e.target===o._scrollingContainer){o._enablePointerEventsAfterDelay();var t=o.props,n=t.cellLayoutManager,i=t.height,r=t.isScrollingChange,l=t.width,s=o._scrollbarSize,a=n.getTotalSize(),c=a.height,d=a.width,u=Math.max(0,Math.min(d-l+s,e.target.scrollLeft)),h=Math.max(0,Math.min(c-i+s,e.target.scrollTop));if(o.state.scrollLeft!==u||o.state.scrollTop!==h){var f=e.cancelable?er.OBSERVED:er.REQUESTED;o.state.isScrolling||r(!0),o.setState({isScrolling:!0,scrollLeft:u,scrollPositionChangeReason:f,scrollTop:h})}o._invokeOnScrollMemoizer({scrollLeft:u,scrollTop:h,totalWidth:d,totalHeight:c})}}),o._scrollbarSize=H(),void 0===o._scrollbarSize?(o._scrollbarSizeMeasured=!1,o._scrollbarSize=0):o._scrollbarSizeMeasured=!0,o}return(0,b.Z)(t,e),(0,y.Z)(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,t=e.cellLayoutManager,o=e.scrollLeft,n=e.scrollToCell,i=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=H(),this._scrollbarSizeMeasured=!0,this.setState({})),n>=0?this._updateScrollPositionForScrollToCell():(o>=0||i>=0)&&this._setScrollPosition({scrollLeft:o,scrollTop:i}),this._invokeOnSectionRenderedHelper();var r=t.getTotalSize(),l=r.height,s=r.width;this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:i||0,totalHeight:l,totalWidth:s})}},{key:"componentDidUpdate",value:function(e,t){var o=this.props,n=o.height,i=o.scrollToAlignment,r=o.scrollToCell,l=o.width,s=this.state,a=s.scrollLeft,c=s.scrollPositionChangeReason,d=s.scrollTop;c===er.REQUESTED&&(a>=0&&a!==t.scrollLeft&&a!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=a),d>=0&&d!==t.scrollTop&&d!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=d)),(n!==e.height||i!==e.scrollToAlignment||r!==e.scrollToCell||l!==e.width)&&this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoHeight,o=e.cellCount,n=e.cellLayoutManager,i=e.className,r=e.height,l=e.horizontalOverscanSize,s=e.id,a=e.noContentRenderer,c=e.style,d=e.verticalOverscanSize,u=e.width,h=this.state,f=h.isScrolling,p=h.scrollLeft,m=h.scrollTop;(this._lastRenderedCellCount!==o||this._lastRenderedCellLayoutManager!==n||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=o,this._lastRenderedCellLayoutManager=n,this._calculateSizeAndPositionDataOnNextUpdate=!1,n.calculateSizeAndPositionData());var g=n.getTotalSize(),v=g.height,_=g.width,S=Math.max(0,p-l),y=Math.max(0,m-d),C=Math.min(_,p+u+l),w=Math.min(v,m+r+d),x=r>0&&u>0?n.cellRenderers({height:w-y,isScrolling:f,width:C-S,x:S,y:y}):[],b={boxSizing:"border-box",direction:"ltr",height:t?"auto":r,position:"relative",WebkitOverflowScrolling:"touch",width:u,willChange:"transform"},T=v>r?this._scrollbarSize:0,I=_>u?this._scrollbarSize:0;return b.overflowX=_+T<=u?"hidden":"auto",b.overflowY=v+I<=r?"hidden":"auto",z.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:P("ReactVirtualized__Collection",i),id:s,onScroll:this._onScroll,role:"grid",style:function(e){for(var t=1;t0&&z.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:v,maxHeight:v,maxWidth:_,overflow:"hidden",pointerEvents:f?"none":"",width:_}},x),0===o&&a())}},{key:"_enablePointerEventsAfterDelay",value:function(){var e=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout(function(){(0,e.props.isScrollingChange)(!1),e._disablePointerEventsTimeoutId=null,e.setState({isScrolling:!1})},150)}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,o=e.scrollLeft,n=e.scrollTop,i=e.totalHeight,r=e.totalWidth;this._onScrollMemoizer({callback:function(e){var o=e.scrollLeft,n=e.scrollTop,l=t.props,s=l.height;(0,l.onScroll)({clientHeight:s,clientWidth:l.width,scrollHeight:i,scrollLeft:o,scrollTop:n,scrollWidth:r})},indices:{scrollLeft:o,scrollTop:n}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,o=e.scrollTop,n={scrollPositionChangeReason:er.REQUESTED};t>=0&&(n.scrollLeft=t),o>=0&&(n.scrollTop=o),(t>=0&&t!==this.state.scrollLeft||o>=0&&o!==this.state.scrollTop)&&this.setState(n)}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 0===e.cellCount&&(0!==t.scrollLeft||0!==t.scrollTop)?{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:er.REQUESTED}:e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop?e.scrollTop:t.scrollTop,scrollPositionChangeReason:er.REQUESTED}:null}}]),t}(z.PureComponent);(0,R.Z)(el,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0}),el.propTypes={},O(el);var es=function(){function e(t){var o=t.height,n=t.width,i=t.x,r=t.y;(0,S.Z)(this,e),this.height=o,this.width=n,this.x=i,this.y=r,this._indexMap={},this._indices=[]}return(0,y.Z)(e,[{key:"addCellIndex",value:function(e){var t=e.index;this._indexMap[t]||(this._indexMap[t]=!0,this._indices.push(t))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),e}(),ea=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;(0,S.Z)(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return(0,y.Z)(e,[{key:"getCellIndices",value:function(e){var t=e.height,o=e.width,n=e.x,i=e.y,r={};return this.getSections({height:t,width:o,x:n,y:i}).forEach(function(e){return e.getCellIndices().forEach(function(e){r[e]=e})}),Object.keys(r).map(function(e){return r[e]})}},{key:"getCellMetadata",value:function(e){var t=e.index;return this._cellMetadata[t]}},{key:"getSections",value:function(e){for(var t=e.height,o=e.width,n=e.x,i=e.y,r=Math.floor(n/this._sectionSize),l=Math.floor((n+o-1)/this._sectionSize),s=Math.floor(i/this._sectionSize),a=Math.floor((i+t-1)/this._sectionSize),c=[],d=r;d<=l;d++)for(var u=s;u<=a;u++){var h="".concat(d,".").concat(u);this._sections[h]||(this._sections[h]=new es({height:this._sectionSize,width:this._sectionSize,x:d*this._sectionSize,y:u*this._sectionSize})),c.push(this._sections[h])}return c}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var e=this;return Object.keys(this._sections).map(function(t){return e._sections[t].toString()})}},{key:"registerCell",value:function(e){var t=e.cellMetadatum,o=e.index;this._cellMetadata[o]=t,this.getSections(t).forEach(function(e){return e.addCellIndex({index:o})})}}]),e}();function ec(e){var t=e.align,o=e.cellOffset,n=e.cellSize,i=e.containerSize,r=e.currentOffset,l=o-i+n;switch(void 0===t?"auto":t){case"start":return o;case"end":return l;case"center":return o-(i-n)/2;default:return Math.max(l,Math.min(o,r))}}var ed=function(e){function t(e,o){var n;return(0,S.Z)(this,t),(n=(0,C.Z)(this,(0,w.Z)(t).call(this,e,o)))._cellMetadata=[],n._lastRenderedCellIndices=[],n._cellCache=[],n._isScrollingChange=n._isScrollingChange.bind((0,x.Z)(n)),n._setCollectionViewRef=n._setCollectionViewRef.bind((0,x.Z)(n)),n}return(0,b.Z)(t,e),(0,y.Z)(t,[{key:"forceUpdate",value:function(){void 0!==this._collectionView&&this._collectionView.forceUpdate()}},{key:"recomputeCellSizesAndPositions",value:function(){this._cellCache=[],this._collectionView.recomputeCellSizesAndPositions()}},{key:"render",value:function(){var e=(0,M.Z)({},this.props);return z.createElement(el,(0,M.Z)({cellLayoutManager:this,isScrollingChange:this._isScrollingChange,ref:this._setCollectionViewRef},e))}},{key:"calculateSizeAndPositionData",value:function(){var e=this.props,t=function(e){for(var t=e.cellCount,o=e.cellSizeAndPositionGetter,n=e.sectionSize,i=[],r=new ea(n),l=0,s=0,a=0;a=0&&oi||l1&&void 0!==arguments[1]?arguments[1]:0,o="function"==typeof e.recomputeGridSize?e.recomputeGridSize:e.recomputeRowHeights;o?o.call(e,t):e.forceUpdate()}(t._registeredChild,t._lastRenderedStartIndex)})})}},{key:"_onRowsRendered",value:function(e){var t=e.startIndex,o=e.stopIndex;this._lastRenderedStartIndex=t,this._lastRenderedStopIndex=o,this._doStuff(t,o)}},{key:"_doStuff",value:function(e,t){var o,n=this,i=this.props,r=i.isRowLoaded,l=i.minimumBatchSize,s=i.rowCount,a=i.threshold,c=function(e){for(var t=e.isRowLoaded,o=e.minimumBatchSize,n=e.rowCount,i=e.startIndex,r=e.stopIndex,l=[],s=null,a=null,c=i;c<=r;c++)t({index:c})?null!==a&&(l.push({startIndex:s,stopIndex:a}),s=a=null):(a=c,null===s&&(s=c));if(null!==a){for(var d=Math.min(Math.max(a,s+o-1),n-1),u=a+1;u<=d&&!t({index:u});u++)a=u;l.push({startIndex:s,stopIndex:a})}if(l.length)for(var h=l[0];h.stopIndex-h.startIndex+10;){var f=h.startIndex-1;if(t({index:f}))break;h.startIndex=f}return l}({isRowLoaded:r,minimumBatchSize:l,rowCount:s,startIndex:Math.max(0,e-a),stopIndex:Math.min(s-1,t+a)}),d=(o=[]).concat.apply(o,(0,eu.Z)(c.map(function(e){return[e.startIndex,e.stopIndex]})));this._loadMoreRowsMemoizer({callback:function(){n._loadUnloadedRanges(c)},indices:{squashedUnloadedRanges:d}})}},{key:"_registerChild",value:function(e){this._registeredChild=e}}]),t}(z.PureComponent);(0,R.Z)(eh,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),eh.propTypes={};var ef=(p=f=function(e){function t(){(0,S.Z)(this,t);for(var e,o,n=arguments.length,i=Array(n),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=e.rowIndex;this.Grid&&this.Grid.recomputeGridSize({rowIndex:void 0===o?0:o,columnIndex:void 0===t?0:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,o=e.noRowsRenderer,n=e.scrollToIndex,i=e.width,r=P("ReactVirtualized__List",t);return z.createElement(K,(0,M.Z)({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:r,columnWidth:i,columnCount:1,noContentRenderer:o,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:n}))}}]),t}(z.PureComponent),(0,R.Z)(f,"propTypes",null),p);(0,R.Z)(ef,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:X,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});var ep=o(97685),em={ge:function(e,t,o,n,i){return"function"==typeof o?function(e,t,o,n,i){for(var r=o+1;t<=o;){var l=t+o>>>1;i(e[l],n)>=0?(r=l,o=l-1):t=l+1}return r}(e,void 0===n?0:0|n,void 0===i?e.length-1:0|i,t,o):function(e,t,o,n){for(var i=o+1;t<=o;){var r=t+o>>>1;e[r]>=n?(i=r,o=r-1):t=r+1}return i}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)},gt:function(e,t,o,n,i){return"function"==typeof o?function(e,t,o,n,i){for(var r=o+1;t<=o;){var l=t+o>>>1;i(e[l],n)>0?(r=l,o=l-1):t=l+1}return r}(e,void 0===n?0:0|n,void 0===i?e.length-1:0|i,t,o):function(e,t,o,n){for(var i=o+1;t<=o;){var r=t+o>>>1;e[r]>n?(i=r,o=r-1):t=r+1}return i}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)},lt:function(e,t,o,n,i){return"function"==typeof o?function(e,t,o,n,i){for(var r=t-1;t<=o;){var l=t+o>>>1;0>i(e[l],n)?(r=l,t=l+1):o=l-1}return r}(e,void 0===n?0:0|n,void 0===i?e.length-1:0|i,t,o):function(e,t,o,n){for(var i=t-1;t<=o;){var r=t+o>>>1;e[r]>>1;0>=i(e[l],n)?(r=l,t=l+1):o=l-1}return r}(e,void 0===n?0:0|n,void 0===i?e.length-1:0|i,t,o):function(e,t,o,n){for(var i=t-1;t<=o;){var r=t+o>>>1;e[r]<=n?(i=r,t=r+1):o=r-1}return i}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)},eq:function(e,t,o,n,i){return"function"==typeof o?function(e,t,o,n,i){for(;t<=o;){var r=t+o>>>1,l=i(e[r],n);if(0===l)return r;l<=0?t=r+1:o=r-1}return -1}(e,void 0===n?0:0|n,void 0===i?e.length-1:0|i,t,o):function(e,t,o,n){for(;t<=o;){var i=t+o>>>1,r=e[i];if(r===n)return i;r<=n?t=i+1:o=i-1}return -1}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)}};function eg(e,t,o,n,i){this.mid=e,this.left=t,this.right=o,this.leftPoints=n,this.rightPoints=i,this.count=(t?t.count:0)+(o?o.count:0)+n.length}var ev=eg.prototype;function e_(e,t){e.mid=t.mid,e.left=t.left,e.right=t.right,e.leftPoints=t.leftPoints,e.rightPoints=t.rightPoints,e.count=t.count}function eS(e,t){var o=eI(t);e.mid=o.mid,e.left=o.left,e.right=o.right,e.leftPoints=o.leftPoints,e.rightPoints=o.rightPoints,e.count=o.count}function ey(e,t){var o=e.intervals([]);o.push(t),eS(e,o)}function eC(e,t){var o=e.intervals([]),n=o.indexOf(t);return n<0?0:(o.splice(n,1),eS(e,o),1)}function ew(e,t,o){for(var n=0;n=0&&e[n][1]>=t;--n){var i=o(e[n]);if(i)return i}}function eb(e,t){for(var o=0;o>1],i=[],r=[],l=[],o=0;o3*(t+1)?ey(this,e):this.left.insert(e):this.left=eI([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?ey(this,e):this.right.insert(e):this.right=eI([e]);else{var o=em.ge(this.leftPoints,e,ez),n=em.ge(this.rightPoints,e,eT);this.leftPoints.splice(o,0,e),this.rightPoints.splice(n,0,e)}},ev.remove=function(e){var t=this.count-this.leftPoints;if(e[1]3*(t-1))return eC(this,e);var o=this.left.remove(e);return 2===o?(this.left=null,this.count-=1,1):(1===o&&(this.count-=1),o)}if(e[0]>this.mid){if(!this.right)return 0;if(4*(this.left?this.left.count:0)>3*(t-1))return eC(this,e);var o=this.right.remove(e);return 2===o?(this.right=null,this.count-=1,1):(1===o&&(this.count-=1),o)}if(1===this.count)return this.leftPoints[0]===e?2:0;if(1===this.leftPoints.length&&this.leftPoints[0]===e){if(this.left&&this.right){for(var n=this,i=this.left;i.right;)n=i,i=i.right;if(n===this)i.right=this.right;else{var r=this.left,o=this.right;n.count-=i.count,n.right=i.left,i.left=r,i.right=o}e_(this,i),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?e_(this,this.left):e_(this,this.right);return 1}for(var r=em.ge(this.leftPoints,e,ez);rthis.mid))return eb(this.leftPoints,t);if(this.right){var o=this.right.queryPoint(e,t);if(o)return o}return ex(this.rightPoints,e,t)},ev.queryInterval=function(e,t,o){if(ethis.mid&&this.right){var n=this.right.queryInterval(e,t,o);if(n)return n}return tthis.mid?ex(this.rightPoints,e,o):eb(this.leftPoints,o)};var eO=eZ.prototype;eO.insert=function(e){this.root?this.root.insert(e):this.root=new eg(e[0],null,null,[e],[e])},eO.remove=function(e){if(this.root){var t=this.root.remove(e);return 2===t&&(this.root=null),0!==t}return!1},eO.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},eO.queryInterval=function(e,t,o){if(e<=t&&this.root)return this.root.queryInterval(e,t,o)},Object.defineProperty(eO,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(eO,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var eM=function(){function e(){var t;(0,S.Z)(this,e),(0,R.Z)(this,"_columnSizeMap",{}),(0,R.Z)(this,"_intervalTree",new eZ(t&&0!==t.length?eI(t):null)),(0,R.Z)(this,"_leftMap",{})}return(0,y.Z)(e,[{key:"estimateTotalHeight",value:function(e,t,o){var n=e-this.count;return this.tallestColumnSize+Math.ceil(n/t)*o}},{key:"range",value:function(e,t,o){var n=this;this._intervalTree.queryInterval(e,e+t,function(e){var t=(0,ep.Z)(e,3),i=t[0],r=(t[1],t[2]);return o(r,n._leftMap[r],i)})}},{key:"setPosition",value:function(e,t,o,n){this._intervalTree.insert([o,o+n,e]),this._leftMap[e]=t;var i=this._columnSizeMap,r=i[t];void 0===r?i[t]=o+n:i[t]=Math.max(r,o+n)}},{key:"count",get:function(){return this._intervalTree.count}},{key:"shortestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var o in e){var n=e[o];t=0===t?n:Math.min(t,n)}return t}},{key:"tallestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var o in e)t=Math.max(t,e[o]);return t}}]),e}();function eP(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}var ek=(g=m=function(e){function t(){(0,S.Z)(this,t);for(var e,o,n=arguments.length,i=Array(n),r=0;r0&&void 0!==arguments[0]?arguments[0]:{};(0,S.Z)(this,e),(0,R.Z)(this,"_cellMeasurerCache",void 0),(0,R.Z)(this,"_columnIndexOffset",void 0),(0,R.Z)(this,"_rowIndexOffset",void 0),(0,R.Z)(this,"columnWidth",function(e){var o=e.index;t._cellMeasurerCache.columnWidth({index:o+t._columnIndexOffset})}),(0,R.Z)(this,"rowHeight",function(e){var o=e.index;t._cellMeasurerCache.rowHeight({index:o+t._rowIndexOffset})});var n=o.cellMeasurerCache,i=o.columnIndexOffset,r=o.rowIndexOffset;this._cellMeasurerCache=n,this._columnIndexOffset=void 0===i?0:i,this._rowIndexOffset=void 0===r?0:r}return(0,y.Z)(e,[{key:"clear",value:function(e,t){this._cellMeasurerCache.clear(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getHeight(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getWidth(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.has(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"set",value:function(e,t,o,n){this._cellMeasurerCache.set(e+this._rowIndexOffset,t+this._columnIndexOffset,o,n)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),e}();function eG(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function eA(e){for(var t=1;t0?new eE({cellMeasurerCache:i,columnIndexOffset:0,rowIndexOffset:l}):i,n._deferredMeasurementCacheBottomRightGrid=r>0||l>0?new eE({cellMeasurerCache:i,columnIndexOffset:r,rowIndexOffset:l}):i,n._deferredMeasurementCacheTopRightGrid=r>0?new eE({cellMeasurerCache:i,columnIndexOffset:r,rowIndexOffset:0}):i),n}return(0,b.Z)(t,e),(0,y.Z)(t,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,i=void 0===n?0:n;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,o):o,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,i):i}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,i=void 0===n?0:n,r=this.props,l=r.fixedColumnCount,s=r.fixedRowCount,a=Math.max(0,o-l),c=Math.max(0,i-s);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:o,rowIndex:c}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:a,rowIndex:c}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:o,rowIndex:i}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:a,rowIndex:i}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.scrollLeft,o=e.scrollTop;if(t>0||o>0){var n={};t>0&&(n.scrollLeft=t),o>0&&(n.scrollTop=o),this.setState(n)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var e=this.props,t=e.onScroll,o=e.onSectionRendered,n=(e.onScrollbarPresenceChange,e.scrollLeft,e.scrollToColumn),i=(e.scrollTop,e.scrollToRow),r=(0,L.Z)(e,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),0===this.props.width||0===this.props.height)return null;var l=this.state,s=l.scrollLeft,a=l.scrollTop;return z.createElement("div",{style:this._containerOuterStyle},z.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(r),this._renderTopRightGrid(eA({},r,{onScroll:t,scrollLeft:s}))),z.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(eA({},r,{onScroll:t,scrollTop:a})),this._renderBottomRightGrid(eA({},r,{onScroll:t,onSectionRendered:o,scrollLeft:s,scrollToColumn:n,scrollToRow:i,scrollTop:a}))))}},{key:"_getBottomGridHeight",value:function(e){return e.height-this._getTopGridHeight(e)}},{key:"_getLeftGridWidth",value:function(e){var t=e.fixedColumnCount,o=e.columnWidth;if(null==this._leftGridWidth){if("function"==typeof o){for(var n=0,i=0;i=0?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}]),t}(z.PureComponent);function eD(e){var t=e.className,o=e.columns,n=e.style;return z.createElement("div",{className:t,role:"row",style:n},o)}(0,R.Z)(eW,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1}),eW.propTypes={},O(eW),function(e){function t(e,o){var n;return(0,S.Z)(this,t),(n=(0,C.Z)(this,(0,w.Z)(t).call(this,e,o))).state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},n._onScroll=n._onScroll.bind((0,x.Z)(n)),n}return(0,b.Z)(t,e),(0,y.Z)(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,o=t.clientHeight,n=t.clientWidth,i=t.scrollHeight,r=t.scrollLeft,l=t.scrollTop,s=t.scrollWidth;return e({clientHeight:o,clientWidth:n,onScroll:this._onScroll,scrollHeight:i,scrollLeft:r,scrollTop:l,scrollWidth:s})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,o=e.clientWidth,n=e.scrollHeight,i=e.scrollLeft,r=e.scrollTop,l=e.scrollWidth;this.setState({clientHeight:t,clientWidth:o,scrollHeight:n,scrollLeft:i,scrollTop:r,scrollWidth:l})}}]),t}(z.PureComponent).propTypes={},eD.propTypes=null;var eH={ASC:"ASC",DESC:"DESC"};function ej(e){var t=e.sortDirection,o=P("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===eH.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===eH.DESC});return z.createElement("svg",{className:o,width:18,height:18,viewBox:"0 0 24 24"},t===eH.ASC?z.createElement("path",{d:"M7 14l5-5 5 5z"}):z.createElement("path",{d:"M7 10l5 5 5-5z"}),z.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function eF(e){var t=e.dataKey,o=e.label,n=e.sortBy,i=e.sortDirection,r=[z.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"==typeof o?o:null},o)];return n===t&&r.push(z.createElement(ej,{key:"SortIndicator",sortDirection:i})),r}function eN(e){var t=e.className,o=e.columns,n=e.index,i=e.key,r=e.onRowClick,l=e.onRowDoubleClick,s=e.onRowMouseOut,a=e.onRowMouseOver,c=e.onRowRightClick,d=e.rowData,u=e.style,h={"aria-rowindex":n+1};return(r||l||s||a||c)&&(h["aria-label"]="row",h.tabIndex=0,r&&(h.onClick=function(e){return r({event:e,index:n,rowData:d})}),l&&(h.onDoubleClick=function(e){return l({event:e,index:n,rowData:d})}),s&&(h.onMouseOut=function(e){return s({event:e,index:n,rowData:d})}),a&&(h.onMouseOver=function(e){return a({event:e,index:n,rowData:d})}),c&&(h.onContextMenu=function(e){return c({event:e,index:n,rowData:d})})),z.createElement("div",(0,M.Z)({},h,{className:t,key:i,role:"row",style:u}),o)}ej.propTypes={},eF.propTypes=null,eN.propTypes=null;var eU=function(e){function t(){return(0,S.Z)(this,t),(0,C.Z)(this,(0,w.Z)(t).apply(this,arguments))}return(0,b.Z)(t,e),t}(z.Component);function eB(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function e$(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=e.rowIndex;this.Grid&&this.Grid.recomputeGridSize({rowIndex:void 0===o?0:o,columnIndex:void 0===t?0:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var e=(0,eo.findDOMNode)(this.Grid),t=e.clientWidth||0;return(e.offsetWidth||0)-t}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,t=this.props,o=t.children,n=t.className,i=t.disableHeader,r=t.gridClassName,l=t.gridStyle,s=t.headerHeight,a=t.headerRowRenderer,c=t.height,d=t.id,u=t.noRowsRenderer,h=t.rowClassName,f=t.rowStyle,p=t.scrollToIndex,m=t.style,g=t.width,v=this.state.scrollbarWidth,_=i?c:c-s,S="function"==typeof h?h({index:-1}):h,y="function"==typeof f?f({index:-1}):f;return this._cachedColumnStyles=[],z.Children.toArray(o).forEach(function(t,o){var n=e._getFlexStyleForColumn(t,t.props.style);e._cachedColumnStyles[o]=e$({overflow:"hidden"},n)}),z.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":z.Children.toArray(o).length,"aria-rowcount":this.props.rowCount,className:P("ReactVirtualized__Table",n),id:d,role:"grid",style:m},!i&&a({className:P("ReactVirtualized__Table__headerRow",S),columns:this._getHeaderColumns(),style:e$({height:s,overflow:"hidden",paddingRight:v,width:g},y)}),z.createElement(K,(0,M.Z)({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:P("ReactVirtualized__Table__Grid",r),cellRenderer:this._createRow,columnWidth:g,columnCount:1,height:_,id:void 0,noContentRenderer:u,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:v,scrollToRow:p,style:e$({},l,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,o=e.columnIndex,n=e.isScrolling,i=e.parent,r=e.rowData,l=e.rowIndex,s=this.props.onColumnClick,a=t.props,c=a.cellDataGetter,d=a.cellRenderer,u=a.className,h=a.columnData,f=a.dataKey,p=a.id,m=d({cellData:c({columnData:h,dataKey:f,rowData:r}),columnData:h,columnIndex:o,dataKey:f,isScrolling:n,parent:i,rowData:r,rowIndex:l}),g=this._cachedColumnStyles[o],v="string"==typeof m?m:null;return z.createElement("div",{"aria-colindex":o+1,"aria-describedby":p,className:P("ReactVirtualized__Table__rowColumn",u),key:"Row"+l+"-Col"+o,onClick:function(e){s&&s({columnData:h,dataKey:f,event:e})},role:"gridcell",style:g,title:v},m)}},{key:"_createHeader",value:function(e){var t,o,n,i,r,l=e.column,s=e.index,a=this.props,c=a.headerClassName,d=a.headerStyle,u=a.onHeaderClick,h=a.sort,f=a.sortBy,p=a.sortDirection,m=l.props,g=m.columnData,v=m.dataKey,_=m.defaultSortDirection,S=m.disableSort,y=m.headerRenderer,C=m.id,w=m.label,x=!S&&h,b=P("ReactVirtualized__Table__headerColumn",c,l.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:x}),R=this._getFlexStyleForColumn(l,e$({},d,{},l.props.headerStyle)),T=y({columnData:g,dataKey:v,disableSort:S,label:w,sortBy:f,sortDirection:p});if(x||u){var I=f!==v?_:p===eH.DESC?eH.ASC:eH.DESC,Z=function(e){x&&h({defaultSortDirection:_,event:e,sortBy:v,sortDirection:I}),u&&u({columnData:g,dataKey:v,event:e})};r=l.props["aria-label"]||w||v,i="none",n=0,t=Z,o=function(e){("Enter"===e.key||" "===e.key)&&Z(e)}}return f===v&&(i=p===eH.ASC?"ascending":"descending"),z.createElement("div",{"aria-label":r,"aria-sort":i,className:b,id:C,key:"Header-Col"+s,onClick:t,onKeyDown:o,role:"columnheader",style:R,tabIndex:n},T)}},{key:"_createRow",value:function(e){var t=this,o=e.rowIndex,n=e.isScrolling,i=e.key,r=e.parent,l=e.style,s=this.props,a=s.children,c=s.onRowClick,d=s.onRowDoubleClick,u=s.onRowRightClick,h=s.onRowMouseOver,f=s.onRowMouseOut,p=s.rowClassName,m=s.rowGetter,g=s.rowRenderer,v=s.rowStyle,_=this.state.scrollbarWidth,S="function"==typeof p?p({index:o}):p,y="function"==typeof v?v({index:o}):v,C=m({index:o}),w=z.Children.toArray(a).map(function(e,i){return t._createColumn({column:e,columnIndex:i,isScrolling:n,parent:r,rowData:C,rowIndex:o,scrollbarWidth:_})}),x=P("ReactVirtualized__Table__row",S),b=e$({},l,{height:this._getRowHeight(o),overflow:"hidden",paddingRight:_},y);return g({className:x,columns:w,index:o,isScrolling:n,key:i,onRowClick:c,onRowDoubleClick:d,onRowRightClick:u,onRowMouseOver:h,onRowMouseOut:f,rowData:C,style:b})}},{key:"_getFlexStyleForColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o="".concat(e.props.flexGrow," ").concat(e.props.flexShrink," ").concat(e.props.width,"px"),n=e$({},t,{flex:o,msFlex:o,WebkitFlex:o});return e.props.maxWidth&&(n.maxWidth=e.props.maxWidth),e.props.minWidth&&(n.minWidth=e.props.minWidth),n}},{key:"_getHeaderColumns",value:function(){var e=this,t=this.props,o=t.children;return(t.disableHeader?[]:z.Children.toArray(o)).map(function(t,o){return e._createHeader({column:t,index:o})})}},{key:"_getRowHeight",value:function(e){var t=this.props.rowHeight;return"function"==typeof t?t({index:e}):t}},{key:"_onScroll",value:function(e){var t=e.clientHeight,o=e.scrollHeight,n=e.scrollTop;(0,this.props.onScroll)({clientHeight:t,scrollHeight:o,scrollTop:n})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,o=e.rowOverscanStopIndex,n=e.rowStartIndex,i=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:o,startIndex:n,stopIndex:i})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),t}(z.PureComponent);(0,R.Z)(eV,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:X,overscanRowCount:10,rowRenderer:eN,headerRowRenderer:eD,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),eV.propTypes={};var eq=[],eK=null,eX=null;function eY(){eX&&(eX=null,document.body&&null!=eK&&(document.body.style.pointerEvents=eK),eK=null)}function eQ(){eY(),eq.forEach(function(e){return e.__resetIsScrolling()})}function eJ(e){var t;e.currentTarget===window&&null==eK&&document.body&&(eK=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),eX&&N(eX),t=0,eq.forEach(function(e){t=Math.max(t,e.props.scrollingResetTimeInterval)}),eX=U(eQ,t),eq.forEach(function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()})}function e0(e,t){eq.some(function(e){return e.props.scrollElement===t})||t.addEventListener("scroll",eJ),eq.push(e)}function e1(e,t){!(eq=eq.filter(function(t){return t!==e})).length&&(t.removeEventListener("scroll",eJ),eX&&(N(eX),eY()))}var e3=function(e){return e===window},e2=function(e){return e.getBoundingClientRect()};function e4(e,t){if(!e)return{height:t.serverHeight,width:t.serverWidth};if(!e3(e))return e2(e);var o=window,n=o.innerHeight,i=o.innerWidth;return{height:"number"==typeof n?n:0,width:"number"==typeof i?i:0}}function e6(e){return e3(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}function e9(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}var e5=function(){return"undefined"!=typeof window?window:void 0},e7=(_=v=function(e){function t(){(0,S.Z)(this,t);for(var e,o,n=arguments.length,i=Array(n),r=0;r0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,o=this.state,n=o.height,i=o.width,r=this._child||eo.findDOMNode(this);if(r instanceof Element&&e){var l=function(e,t){if(e3(t)&&document.documentElement){var o=document.documentElement,n=e2(e),i=e2(o);return{top:n.top-i.top,left:n.left-i.left}}var r=e6(t),l=e2(e),s=e2(t);return{top:l.top+r.top-s.top,left:l.left+r.left-s.left}}(r,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var s=e4(e,this.props);(n!==s.height||i!==s.width)&&(this.setState({height:s.height,width:s.width}),t({height:s.height,width:s.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(e0(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,t){var o=this.props.scrollElement,n=e.scrollElement;n!==o&&null!=n&&null!=o&&(this.updatePosition(o),e1(this,n),e0(this,o),this._unregisterResizeListener(n),this._registerResizeListener(o))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(e1(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,t=this.state,o=t.isScrolling,n=t.scrollTop,i=t.scrollLeft,r=t.height,l=t.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:r,isScrolling:o,scrollLeft:i,scrollTop:n,width:l})}}]),t}(z.PureComponent),(0,R.Z)(v,"propTypes",null),_);(0,R.Z)(e7,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:e5(),serverHeight:0,serverWidth:0})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8734.97b3415eea272c5b.js b/dbgpt/app/static/web/_next/static/chunks/8734.97b3415eea272c5b.js deleted file mode 100644 index ae46aab3c..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/8734.97b3415eea272c5b.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8734],{98734:function(e,n,t){t.r(n),t.d(n,{conf:function(){return c},language:function(){return g}});/*!----------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) - * Released under the MIT license - * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var o=e=>`\\b${e}\\b`,r=e=>`(?!${e})`,i=o("[_a-zA-Z][_a-zA-Z0-9]*"),s=o("[_a-zA-Z-0-9]+"),a=`[ \\t\\r\\n]`,c={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"/**",close:" */",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],indentationRules:{decreaseIndentPattern:RegExp("^((?!.*?/\\*).*\\*/)?\\s*[\\}\\]].*$"),increaseIndentPattern:RegExp("^((?!//).)*(\\{([^}\"'`/]*|(\\t|[ ])*//.*)|\\([^)\"'`/]*|\\[[^\\]\"'`/]*)$"),unIndentedLinePattern:RegExp("^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$|^(\\t|[ ])*[ ]\\*/\\s*$|^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$")}},g={defaultToken:"",tokenPostfix:".tsp",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],symbols:/[=:;<>]+/,keywords:["import","model","scalar","namespace","op","interface","union","using","is","extends","enum","alias","return","void","if","else","projection","dec","extern","fn"],namedLiterals:["true","false","null","unknown","never"],escapes:'\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|"|\\${)',tokenizer:{root:[{include:"@expression"},{include:"@whitespace"}],stringVerbatim:[{regex:'(|"|"")[^"]',action:{token:"string"}},{regex:`"""${r('"')}`,action:{token:"string",next:"@pop"}}],stringLiteral:[{regex:"\\${",action:{token:"delimiter.bracket",next:"@bracketCounting"}},{regex:'[^\\\\"$]+',action:{token:"string"}},{regex:"@escapes",action:{token:"string.escape"}},{regex:"\\\\.",action:{token:"string.escape.invalid"}},{regex:'"',action:{token:"string",next:"@pop"}}],bracketCounting:[{regex:"{",action:{token:"delimiter.bracket",next:"@bracketCounting"}},{regex:"}",action:{token:"delimiter.bracket",next:"@pop"}},{include:"@expression"}],comment:[{regex:"[^\\*]+",action:{token:"comment"}},{regex:"\\*\\/",action:{token:"comment",next:"@pop"}},{regex:"[\\/*]",action:{token:"comment"}}],whitespace:[{regex:a},{regex:"\\/\\*",action:{token:"comment",next:"@comment"}},{regex:"\\/\\/.*$",action:{token:"comment"}}],expression:[{regex:'"""',action:{token:"string",next:"@stringVerbatim"}},{regex:`"${r('""')}`,action:{token:"string",next:"@stringLiteral"}},{regex:"[0-9]+",action:{token:"number"}},{regex:i,action:{cases:{"@keywords":{token:"keyword"},"@namedLiterals":{token:"keyword"},"@default":{token:"identifier"}}}},{regex:`@${i}`,action:{token:"tag"}},{regex:`#${s}`,action:{token:"directive"}}]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8748.e59983001c4fe4ab.js b/dbgpt/app/static/web/_next/static/chunks/8748.0aeec16947dab5f7.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/8748.e59983001c4fe4ab.js rename to dbgpt/app/static/web/_next/static/chunks/8748.0aeec16947dab5f7.js index cc6d2be2d..5b36aa72b 100644 --- a/dbgpt/app/static/web/_next/static/chunks/8748.e59983001c4fe4ab.js +++ b/dbgpt/app/static/web/_next/static/chunks/8748.0aeec16947dab5f7.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8748],{48748:function(E,e,T){T.r(e),T.d(e,{setup:function(){return M}});var I=T(10558),A=T(81065),R=T(47578);let S=[{name:"CURDATE",params:[],desc:"返回当前日期,不含时间部分。"},{name:"CURRENT_DATE",params:[],desc:"返回当前日期,不含时间部分。"},{name:"CURRENT_TIME",params:[{name:"scale"}],desc:"返回当前时间,不含日期部分。"},{name:"CURRENT_TIMESTAMP",params:[{name:"scale"}],desc:"返回当前日期时间,考虑时区设置。"},{name:"CURTIME",params:[],desc:"返回当前时间,不含日期部分。"},{name:"DATE_ADD",params:[{name:"date"},{name:"INTERVAL"}],desc:"日期时间的算术计算。"},{name:"DATE_FORMAT",params:[{name:"date"},{name:"format"}],desc:"将日期时间以指定格式输出。"},{name:"DATE_SUB",params:[{name:"date"},{name:"INTERVAL"}],desc:"日期时间的算术计算。"},{name:"DATEDIFF",params:[{name:"date1"},{name:"date2"}],desc:"返回 date1 和 date2 之间的天数。"},{name:"EXTRACT",body:"EXTRACT(${1:unit} FROM ${2:date})",desc:"以整数类型返回 date 的指定部分值。"},{name:"FROM_DAYS",params:[{name:"N"}],desc:"返回指定天数 N 对应的 DATE 值。"},{name:"FROM_UNIXTIME",params:[{name:"unix_timestamp"},{name:"format"}],desc:"返回指定格式的日期时间字符串。"},{name:"MONTH",params:[{name:"date"}],desc:"返回 date 的月份信息。"},{name:"NOW",params:[{name:"scale"}],desc:"返回当前日期时间,考虑时区设置。"},{name:"PERIOD_DIFF",params:[{name:"p1"},{name:"p2"}],desc:"以月份位单位返回两个日期之间的间隔。"},{name:"STR_TO_DATE",params:[{name:"str"},{name:"format"}],desc:"使用 format 将 str 转换为 DATETIME 值、DATE 值、或 TIME 值。"},{name:"TIME",params:[{name:"datetime"}],desc:"以 TIME 类型返回 datetime 的时间信息。"},{name:"TIME_TO_USEC",params:[{name:"date"}],desc:"将 date 值转换为距离 1970-01-01 00:00:00.000000 的微秒数,考虑时区信息。"},{name:"TIMEDIFF",params:[{name:"date1"},{name:"date2"}],desc:"以 TIME 类型返回两个日期时间的时间间隔。"},{name:"TIMESTAMPDIFF",params:[{name:"unit"},{name:"date1"},{name:"date2"}],desc:"以 unit 为单位返回两个日期时间的间隔。"},{name:"TIMESTAMPADD",params:[{name:"unit"},{name:"interval_expr"},{name:"date"}],desc:"日期时间的算术计算。"},{name:"TO_DAYS",params:[{name:"date"}],desc:"返回指定 date 值对应的天数。"},{name:"USEC_TO_TIME",params:[{name:"usec"}],desc:"将 usec 值转换为 TIMESTAMP 类型值。"},{name:"UNIX_TIMESTAMP",params:[{name:"date"}],desc:"返回指定时间距离 '1970-01-01 00:00:00' 的秒数,考虑时区。"},{name:"UTC_TIMESTAMP",params:[],desc:"返回当前 UTC 时间。"},{name:"YEAR",params:[{name:"date"}],desc:"返回 date 值的年份信息。"},{name:"CONCAT",params:[{name:"str"}],desc:"把多个字符串连接成一个字符串。"},{name:"CONCAT_WS",params:[{name:"separator"},{name:"str"}],desc:"把多个字符串连接成一个字符串,相邻字符串间使用 separator 分隔。"},{name:"FORMAT",params:[{name:"x"},{name:"d"}],desc:"把数字 X 格式化为“#,###,###.##”格式,四舍五入到 D 位小数,并以字符串形式返回结果(如果整数部分超过三位,会用“,”作为千分位分隔符)。"},{name:"SUBSTR",params:[{name:"str"},{name:"pos"}],desc:"返回 str 的子字符串,起始位置为 pos,长度为 len。"},{name:"SUBSTRING",params:[{name:"str"},{name:"pos"}],desc:"返回 str 的子字符串,起始位置为 pos,长度为 len。"},{name:"TRIM",params:[{name:"x"}],desc:"删除字符串所有前缀和/或后缀,默认为 BOTH。"},{name:"LTRIM",params:[{name:"str"}],desc:"删除字符串左侧的空格。"},{name:"RTRIM",params:[{name:"str"}],desc:"删除字符串右侧的空格。"},{name:"ASCII",params:[{name:"str"}],desc:"返回字符串最左侧字符的 ASCII 码。"},{name:"ORD",params:[{name:"str"}],desc:"返回字符串最左侧字符的字符码。"},{name:"LENGTH",params:[{name:"str"}],desc:"返回 str 的字节长度。"},{name:"CHAR_LENGTH",params:[{name:"str"}],desc:"返回字符串包含的字符数。"},{name:"UPPER",params:[{name:"str"}],desc:"将字符串中的小写字母转化为大写字母。"},{name:"LOWER",params:[{name:"str"}],desc:"将字符串中的大写字母转化为小写字母。"},{name:"HEX",params:[{name:"str"}],desc:"将数字或字符串转化为十六进制字符串。"},{name:"UNHEX",params:[{name:"str"}],desc:"将十六进制字符串转化为正常字符串。"},{name:"MD5",params:[{name:"str"}],desc:"返回字符串的 MD5 值。"},{name:"INT2IP",params:[{name:"int_value"}],desc:"将整数内码转换成 IP 地址。"},{name:"IP2INT",params:[{name:"ip_addr"}],desc:"将 IP 地址转换成整数内码。"},{name:"LIKE",body:"LIKE ${1:str}",desc:"字符串通配符匹配。"},{name:"REGEXP",body:"REGEXP ${1:str}",desc:"正则匹配。"},{name:"REPEAT",params:[{name:"str"},{name:"count"}],desc:"返回 str 重复 count 次组成的字符串。"},{name:"SPACE",params:[{name:"N"}],desc:"返回包含 N 个空格的字符串。"},{name:"SUBSTRING_INDEX",params:[{name:"str"},{name:"delim"},{name:"count"}],desc:"在定界符 delim 以及 count 出现前,从字符串 str 返回字符串。"},{name:"LOCATE",params:[{name:"substr"},{name:"str"}],desc:"第一个语法返回字符串 str 中子字符串 substr 的第一个出现位置。"},{name:"POSITION",params:[{name:"substr"},{name:"str"}],desc:"第一个语法返回字符串 str 中子字符串 substr 的第一个出现位置。"},{name:"INSTR",params:[{name:"str"},{name:"substr"}],desc:"返回字符串 str 中子字符串的第一个出现位置。"},{name:"REPLACE",params:[{name:"str"},{name:"from_str"},{name:"to_str"}],desc:"返回字符串 str 以及所有被字符 to_str 替代的字符串 from_str。"},{name:"FIELD",params:[{name:"str"}],desc:"返回参数 str 在 str1, str2, str3,… 列表中的索引位置(从 1 开始的位置)。"},{name:"ELT",params:[{name:"N"},{name:"str"}],desc:"若 N=1,则返回值为 str1;若 N=2,则返回值为 str2;以此类推。"},{name:"INSERT",params:[{name:"str1"},{name:"pos"},{name:"len"},{name:"str2"}],desc:"返回字符串 str1,字符串中起始于 pos 位置,长度为 len 的子字符串将被 str2 取代。"},{name:"LPAD",params:[{name:"str"},{name:"len"},{name:"padstr"}],desc:"用指定字符串 padstr,在左侧填充字符串 str 到指定长度 len。"},{name:"RPAD",params:[{name:"str"},{name:"len"},{name:"padstr"}],desc:"用指定字符串 padstr,在右侧填充字符串 str 到指定长度 len。"},{name:"UUID",params:[],desc:"生成一个全局唯一 ID。"},{name:"BIN",params:[{name:"N"}],desc:"返回数字 N 的二进制形式。"},{name:"QUOTE",params:[{name:"str"}],desc:"引用一个字符串以产生一个结果可以作为 SQL 语句中正确地转义数据值。"},{name:"REGEXP_SUBSTR",params:[{name:"str"},{name:"pattern"}],desc:"在 str 中搜索匹配正则表达式 pattern 的子串,子串不存在返回 NULL。"},{name:"CAST",body:"CAST(${1:expr} AS ${2:type})",desc:"将某种数据类型的表达式显式转换为另一种数据类型。"},{name:"ROUND",params:[{name:"X"}],desc:"返回一个数值,四舍五入到指定的长度或精度。"},{name:"CEIL",params:[{name:"expr"}],desc:"返回大于或者等于指定表达式的最小整数。"},{name:"FLOOR",params:[{name:"expr"}],desc:"返回小于或者等于指定表达式的最大整数。"},{name:"ABS",params:[{name:"expr"}],desc:"绝对值函数,求表达式绝对值,函数返回值类型与数值表达式的数据类型相同。"},{name:"NEG",params:[{name:"expr"}],desc:"求补函数,对操作数执行求补运算:用零减去操作数,然后结果返回操作数。"},{name:"SIGN",params:[{name:"X"}],desc:"SIGN(X) 返回参数作为 -1、 0 或 1 的符号,该符号取决于 X 的值为负、零或正。"},{name:"CONV",params:[{name:"N"},{name:"from_base"},{name:"to_base"}],desc:"不同数基间转换数字。"},{name:"MOD",params:[{name:"N"},{name:"M"}],desc:"取余函数。"},{name:"POW",params:[{name:"X"},{name:"Y"}],desc:"返回 X 的 Y 次方。"},{name:"POWER",params:[{name:"X"},{name:"Y"}],desc:"返回 X 的 Y 次方。"},{name:"RAND",params:[{name:"value1"}],desc:"RAND([N]) 函数接受 0 个或者 1 个参数(N 被称为随机数种子),返回一个范围是 [0,1.0) 的随机浮点数。"},{name:"GREATEST",params:[{name:"value1"}],desc:"返回参数的最大值,和函数 LEAST() 相对。"},{name:"LEAST",params:[{name:"value1"}],desc:"返回参数的最小值,和函数 GREATEST() 相对。"},{name:"ISNULL",params:[{name:"expr"}],desc:"如果参数 expr 为 NULL,那么 ISNULL() 的返回值为 1,否则返回值为 0。"},{name:"IF",params:[{name:"expr1"},{name:"expr2"},{name:"expr3"}],desc:"如果 expr1 的值为 TRUE(即:expr1<>0 且 expr1<>NULL),返回结果为 expr2;否则返回结果为 expr3。"},{name:"IFNULL",params:[{name:"expr1"},{name:"expr2"}],desc:"假设 expr1 不为 NULL,则 IFNULL() 的返回值为 expr1;否则其返回值为 expr2。"},{name:"NULLIF",params:[{name:"expr1"},{name:"expr2"}],desc:"如果 expr1 = expr2 成立,那么返回值为 NULL,否则返回值为 expr1。"}].concat([{name:"AVG",params:[{name:"expr"}],desc:"返回数值列的平均值。"},{name:"COUNT",params:[{name:"expr"}],desc:"该函数返回 SELECT 语句检索到的行中非 NULL 值的数目。"},{name:"SUM",params:[{name:"expr"}],desc:"返回参数中指定列的和。"},{name:"GROUP_CONCAT",params:[{name:"expr"}],desc:"返回带有来自一个组的连接的非 NULL 值的字符串结果。"},{name:"MAX",params:[{name:"expr"}],desc:"返回参数中指定的列中的最大值。"},{name:"MIN",params:[{name:"expr"}],desc:"返回参数中指定列的最小值。"}]).concat([]).concat([{name:"FOUND_ROWS",params:[],desc:"一个 SELECT 语句可能包含一个 LIMIT 子句,用来限制数据库服务器端返回客户端的行数。在某些情况下,我们需要不再次运行该语句而得知在没有 LIMIT 时到底该语句返回了多少行。我们可以在 SELECT 语句中选择使用 SQL_CALC_FOUND_ROWS,然后调用 FOUND_ROWS() 函数,获取该语句在没有 LIMIT 时返回的行数。"},{name:"LAST_INSERT_ID",params:[],desc:"返回本 SESSION 最后一次插入的自增字段值,如最近一条 INSERT 插入多条记录,LAST_INSERT_ID() 返回第一条记录的自增字段值。"}]).concat([{name:"COALESCE",params:[{name:"expr"}],desc:"依次参考各参数表达式,遇到非 NULL 值即停止并返回该值。"},{name:"NVL",params:[{name:"str1"},{name:"replace_with"}],desc:"如果 str1 为 NULL,则替换成 replace_with。"},{name:"MATCH",body:"MATCH (${1:cols}) AGAINST (${2:expr})",desc:"全文查找函数"}]);var N=T(54375),O=T(54768);let a=new O.q(window.obMonaco.getWorkerUrl("obmysql")),L=N.Ud(a.getWorker());var n=T(36498),t=function(E,e,T,I){return new(T||(T=Promise))(function(A,R){function S(E){try{O(I.next(E))}catch(E){R(E)}}function N(E){try{O(I.throw(E))}catch(E){R(E)}}function O(E){var e;E.done?A(E.value):((e=E.value)instanceof T?e:new T(function(E){E(e)})).then(S,N)}O((I=I.apply(E,e||[])).next())})},s=class{constructor(E){this.triggerCharacters=["."],this.plugin=null,this.plugin=E}getModelOptions(E){var e;return null===(e=this.plugin)||void 0===e?void 0:e.modelOptionsMap.get(E)}provideCompletionItems(E,e,T,I){let{offset:A,value:R,delimiter:S,range:N,triggerCharacter:O}=(0,n.y)(E,e,T,this.plugin);return this.getCompleteWordFromOffset(A,R,S,N,E,O)}getColumnList(E,e,T){var I;return t(this,void 0,void 0,function*(){let A=this.getModelOptions(E.id),S=[],N=yield null===(I=null==A?void 0:A.getTableColumns)||void 0===I?void 0:I.call(A,e.tableName,e.schemaName);return N&&N.forEach(E=>{S.push((0,R.yD)(E.columnName,e.tableName,e.schemaName,T))}),S})}getSchemaList(E,e){var T;return t(this,void 0,void 0,function*(){let I=this.getModelOptions(E.id),A=[],S=yield null===(T=null==I?void 0:I.getSchemaList)||void 0===T?void 0:T.call(I);return S&&S.forEach(E=>{A.push((0,R.lW)(E,e))}),A})}getTableList(E,e,T){var I;return t(this,void 0,void 0,function*(){let A=this.getModelOptions(E.id),S=[],N=yield null===(I=null==A?void 0:A.getTableList)||void 0===I?void 0:I.call(A,e);return N&&N.forEach(E=>{S.push((0,R.Pf)(E,e,!1,T))}),S})}getSnippets(E,e){var T;return t(this,void 0,void 0,function*(){let I=this.getModelOptions(E.id),A=yield null===(T=null==I?void 0:I.getSnippets)||void 0===T?void 0:T.call(I);return(A||[]).map(E=>(0,R.k8)(E,e))})}getFunctions(E,e){var T;return t(this,void 0,void 0,function*(){let I=this.getModelOptions(E.id),A=yield null===(T=null==I?void 0:I.getFunctions)||void 0===T?void 0:T.call(I);return(A||[]).concat(S).map(E=>(0,R.Ht)(E,e))})}getCompleteWordFromOffset(E,e,T,I,A,S){var N;return t(this,void 0,void 0,function*(){let S=L.parser,O=yield S.getAutoCompletion(e,T,E);if(O){let E=this.getModelOptions(A.id),e=[],T=!0;for(let S of O)if("string"!=typeof S&&(T=!1),"string"==typeof S)e.push((0,R.Lx)(S,I));else if("allTables"===S.type)e=e.concat((yield this.getTableList(A,S.schema,I)));else if("tableColumns"===S.type)e=e.concat((yield this.getColumnList(A,S,I)));else if("withTable"===S.type)e.push((0,R.Pf)(S.tableName,"CTE",!1,I));else if("allSchemas"===S.type)e=e.concat((yield this.getSchemaList(A,I)));else if("objectAccess"===S.type){let T=S.objectName,R=yield null===(N=null==E?void 0:E.getSchemaList)||void 0===N?void 0:N.call(E),O=null==R?void 0:R.find(E=>E===T);if(O){e=e.concat((yield this.getTableList(A,S.objectName,I)));continue}let a=T.split("."),L=a.length>1?a[1]:a[0],n=a.length>1?a[0]:void 0,t=yield this.getColumnList(A,{tableName:L,schemaName:n},I);(null==t?void 0:t.length)&&(e=e.concat(t))}else"fromTable"===S.type?e.push((0,R.Pf)(S.tableName,S.schemaName,!0,I)):"allFunction"===S.type&&(e=e.concat((yield this.getFunctions(A,I))));return T&&(e=e.concat((yield this.getSnippets(A,I)))),{suggestions:e,incomplete:!1}}return{suggestions:[],incomplete:!1}})}};let C=["*","ACCESS","ACCOUNT","ACTION","ACTIVE","ADDDATE","AFTER","AGAINST","AGGREGATE","ALGORITHM","ALWAYS","ANALYSE","ANY","APPROX_COUNT_DISTINCT","APPROX_COUNT_DISTINCT_SYNOPSIS","APPROX_COUNT_DISTINCT_SYNOPSIS_MERGE","ARCHIVELOG","ARBITRATION","ASCII","AT","AUDIT","AUTHORS","AUTO","AUTOEXTEND_SIZE","AUTO_INCREMENT","AUTO_INCREMENT_MODE","AVG","AVG_ROW_LENGTH","BACKUP","BACKUPSET","BACKUP_COPIES","BADFILE","BASE","BASELINE","BASELINE_ID","BASIC","BALANCE","BANDWIDTH","BEGI","BINDING","BINLOG","BIT","BIT_AND","BIT_OR","BIT_XOR","BISON_LIST","BLOCK","BLOCK_SIZE","BLOCK_INDEX","BLOOM_FILTER","BOOL","BOOLEAN","BOOTSTRAP","BTREE","BYTE","BREADTH","BUCKETS","CACHE","CALIBRATION","CALIBRATION_INFO","KVCACHE","ILOGCACHE","CALC_PARTITION_ID","CANCEL","CASCADED","CAST","CATALOG_NAME","CHAIN","CHANGED","CHARSET","CHECKSUM","CHECKPOINT","CHUNK","CIPHER","CLASS_ORIGIN","CLEAN","CLEAR","CLIENT","CLOSE","CLOG","CLUSTER","CLUSTER_ID","CLUSTER_NAME","COALESCE","CODE","COLLATION","COLUMN_FORMAT","COLUMN_NAME","COLUMN_STAT","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPRESSED","COMPRESSION","COMPUTE","CONCURRENT","CONDENSED","CONNECTION","CONSISTENT","CONSISTENT_MODE","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTRIBUTORS","COPY","COUNT","CPU","CREATE_TIMESTAMP","CTXCAT","CTX_ID","CUBE","CUME_DIST","CURDATE","CURRENT","CURSOR_NAME","CURTIME","CYCLE","DAG","DATA","DATABASE_ID","DATAFILE","DATA_TABLE_ID","DATE","DATE_ADD","DATE_SUB","DATETIME","DAY","DEALLOCATE","DECRYPTION","DEFAULT_AUTH","DEFINER","DELAY","DELAY_KEY_WRITE","DENSE_RANK","DEPTH","DES_KEY_FILE","DESCRIPTION","DESTINATION","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISKGROUP","DISCONNECT","DO","DUMP","DUMPFILE","DUPLICATE","DUPLICATE_SCOPE","DYNAMIC","DEFAULT_TABLEGROUP","EFFECTIVE","EMPTY","ENABLE","ENABLE_ARBITRATION_SERVICE","ENABLE_EXTENDED_ROWID","ENCRYPTION","END","ENDS","ENFORCED","ENGINE_","ENGINES","ENUM","ENTITY","ERROR_CODE","ERROR_P","ERRORS","ESCAPE","ESTIMATE","EVENT","EVENTS","EVERY","EXCEPT","EXCHANGE","EXECUTE","EXPANSION","EXPIRE","EXPIRED","EXPIRE_INFO","EXPORT","EXTENDED","EXTENDED_NOADDR","EXTENT_SIZE","FAILOVER","EXTRACT","FAST","FAULTS","FLASHBACK","FIELDS","FILEX","FILE_ID","FINAL_COUNT","FIRST","FIRST_VALUE","FIXED","FLUSH","FOLLOWER","FOLLOWING","FORMAT","FROZEN","FOUND","FRAGMENTATION","FREEZE","FREQUENCY","FUNCTION","FULL","GENERAL","GEOMETRY","GEOMCOLLECTION","GEOMETRYCOLLECTION","GET_FORMAT","GLOBAL","GLOBAL_NAME","GRANTS","GROUPING","GROUP_CONCAT","GTS","HANDLER","HASH","HELP","HISTOGRAM","HOST","HOSTS","HOUR","HYBRID_HIST","ID","IDC","IDENTIFIED","IGNORE_SERVER_IDS","ILOG","IMPORT","INDEXES","INDEX_TABLE_ID","INCR","INFO","INITIAL_SIZE","INNODB","INSERT_METHOD","INSTALL","INSTANCE","INTERSECT","INVOKER","INCREMENT","INCREMENTAL","IO","IOPS_WEIGHT","IO_THREAD","IPC","ISNULL","ISOLATION","ISOLATE","ISSUER","JOB","JSON","JSON_VALUE","JSON_ARRAYAGG","JSON_OBJECTAGG","KEY_BLOCK_SIZE","KEY_VERSION","LAG","LANGUAGE","LAST","LAST_VALUE","LEAD","LEADER","LEAK","LEAK_MOD","LEAK_RATE","LEAVES","LESS","LEVEL","LINESTRING","LIST_","LISTAGG","LN","LOCAL","LOCALITY","LOCKED","LOCKS","LOG","LOGFILE","LOGONLY_REPLICA_NUM","LOGS","MAJOR","MANUAL","MASTER","MASTER_AUTO_POSITION","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_HEARTBEAT_PERIOD","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_RETRY_COUNT","MASTER_SERVER_ID","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_USER","MAX","MAX_CONNECTIONS_PER_HOUR","MAX_CPU","LOG_DISK_SIZE","MAX_IOPS","MEMORY_SIZE","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MEMBER","MEMORY","MEMTABLE","MERGE","MESSAGE_TEXT","MEMSTORE_PERCENT","META","MICROSECOND","MIGRATE","MIGRATION","MIN","MINVALUE","MIN_CPU","MIN_IOPS","MINOR","MIN_ROWS","MINUTE","MINUS","MODE","MODIFY","MONTH","MOVE","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","MUTEX","MYSQL_ERRNO","MAX_USED_PART_ID","NAME","NAMES","NATIONAL","NCHAR","NDB","NDBCLUSTER","NEW","NEXT","NO","NOARCHIVELOG","NOAUDIT","NOCACHE","NOCYCLE","NODEGROUP","NOMINVALUE","NOMAXVALUE","NONE","NOORDER","NOPARALLEL","NORMAL","NOW","NOWAIT","NO_WAIT","NTILE","NTH_VALUE","NUMBER","NULLS","NULLX","NVARCHAR","OCCUR","OF","OFF","OFFSET","OLD","OLD_PASSWORD","OLD_KEY","OJ","OVER","OBCONFIG_URL","ONE","ONE_SHOT","ONLY","OPEN","OPTIONS","ORIG_DEFAULT","REMOTE_OSS","OUTLINE","OWNER","PACK_KEYS","PAGE","PARALLEL","PARAMETERS","PARSER","PARTIAL","PASSWORD","PARTITION_ID","LS","PARTITIONING","PARTITIONS","PERCENT_RANK","PAUSE","PERCENTAGE","PHASE","PHYSICAL","PL","PLANREGRESS","PLUGIN","PLUGIN_DIR","PLUGINS","PLUS","POINT","POLICY","POLYGON","POOL","PORT","POSITION","PRECEDING","PREPARE","PRESERVE","PRETTY","PRETTY_COLOR","PREV","PRIMARY_ZONE","PRIVILEGES","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROGRESSIVE_MERGE_NUM","PROXY","PS","PUBLIC","PCTFREE","P_ENTITY","P_CHUNK","QUARTER","QUERY","QUERY_RESPONSE_TIME","QUEUE_TIME","QUICK","RANK","READ_ONLY","REBUILD","RECOVER","RECOVERY","RECOVERY_WINDOW","RECURSIVE","RECYCLE","RECYCLEBIN","ROTATE","ROW_NUMBER","REDO_BUFFER_SIZE","REDOFILE","REDUNDANCY","REDUNDANT","REFRESH","REGION","REJECT","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELOAD","REMOVE","REORGANIZE","REPAIR","REPEATABLE","REPLICA","REPLICA_NUM","REPLICA_TYPE","REPLICATION","REPORT","RESET","RESOURCE","RESOURCE_POOL_LIST","RESPECT","RESTART","RESTORE","RESUME","RETURNED_SQLSTATE","RETURNING","RETURNS","REVERSE","ROLLBACK","ROLLING","ROLLUP","ROOT","ROOTSERVICE","ROOTSERVICE_LIST","ROOTTABLE","ROUTINE","ROW","ROW_COUNT","ROW_FORMAT","ROWS","RTREE","RUN","SAMPLE","SAVEPOINT","SCHEDULE","SCHEMA_NAME","SCN","SCOPE","SECOND","SECURITY","SEED","SEQUENCE","SEQUENCES","SERIAL","SERIALIZABLE","SERVER","SERVER_IP","SERVER_PORT","SERVER_TYPE","SERVICE","SESSION","SESSION_USER","SET_MASTER_CLUSTER","SET_SLAVE_CLUSTER","SET_TP","SHARE","SHUTDOWN","SIGNED","SIZE","SIMPLE","SLAVE","SLOW","SNAPSHOT","SOCKET","SOME","SONAME","SOUNDS","SOURCE","SPFILE","SPLIT","SQL_AFTER_GTIDS","SQL_AFTER_MTS_GAPS","SQL_BEFORE_GTIDS","SQL_BUFFER_RESULT","SQL_CACHE","SQL_ID","SQL_NO_CACHE","SQL_THREAD","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SRID","STACKED","STANDBY","START","STARTS","STAT","STATISTICS","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STATEMENTS","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","STOP","STORAGE","STORAGE_FORMAT_VERSION","STORING","STRONG","STRING","SUBCLASS_ORIGIN","SUBDATE","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUBSTR","SUBSTRING","SUCCESSFUL","SUM","SUPER","SUSPEND","SWAPS","SWITCH","SWITCHES","SWITCHOVER","SYSTEM","SYSTEM_USER","SYSDATE","TABLE_CHECKSUM","TABLE_MODE","TABLEGROUPS","TABLE_ID","TABLE_NAME","TABLES","TABLESPACE","TABLET","TABLET_ID","TABLET_SIZE","TABLET_MAX_SIZE","TASK","TEMPLATE","TEMPORARY","TEMPTABLE","TENANT","TENANT_ID","SLOT_IDX","TEXT","THAN","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIME_ZONE_INFO","TP_NAME","TP_NO","TRACE","TRANSACTION","TRADITIONAL","TRIGGERS","TRIM","TRUNCATE","TYPE","TYPES","TABLEGROUP_ID","TOP_K_FRE_HIST","UNCOMMITTED","UNDEFINED","UNDO_BUFFER_SIZE","UNDOFILE","UNICODE","UNKNOWN","UNINSTALL","UNIT","UNIT_GROUP","UNIT_NUM","UNLOCKED","UNTIL","UNUSUAL","UPGRADE","USE_BLOOM_FILTER","USE_FRM","USER","USER_RESOURCES","UNBOUNDED","UNLIMITED","VALID","VALIDATE","VALUE","VARIANCE","VARIABLES","VAR_POP","VAR_SAMP","VERBOSE","VIRTUAL_COLUMN_ID","MATERIALIZED","VIEW","VERIFY","WAIT","WARNINGS","WASH","WEAK","WEEK","WEIGHT_STRING","WHENEVER","WINDOW","WORK","WRAPPER","X509","XA","XML","YEAR","ZONE","ZONE_LIST","ZONE_TYPE","LOCATION","PLAN","VISIBLE","INVISIBLE","ACTIVATE","SYNCHRONIZATION","THROTTLE","PRIORITY","RT","NETWORK","LOGICAL_READS","REDO_TRANSPORT_OPTIONS","MAXIMIZE","AVAILABILITY","PERFORMANCE","PROTECTION","OBSOLETE","HIDDEN","INDEXED","SKEWONLY","BACKUPPIECE","PREVIEW","BACKUP_BACKUP_DEST","BACKUPROUND","UP","TIMES","BACKED","NAMESPACE","LIB"].concat(["ACCESSIBLE","ADD","ALL","ALTER","ANALYZE","AND","AS","ASC","ASENSITIVE","BEFORE","BETWEEN","BIGINT","BINARY","BLOB","BOTH","BY","CALL","CASCADE","CASE","CHANGE","CHAR","CHARACTER","CHECK","COLLATE","COLUMN","CONDITION","CONSTRAINT","CONTINUE","CONVERT","CREATE","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DATABASES","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DECIMAL","DECLARE","DEFAULT","DELAYED","DELETE","DESC","DESCRIBE","DETERMINISTIC","DISTINCT","DISTINCT","DIV","DOUBLE","DROP","DUAL","EACH","ELSE","ELSEIF","ENCLOSED","ESCAPED","EXISTS","EXIT","EXPLAIN","FETCH","FLOAT","FLOAT","DOUBLE","FOR","FORCE","FOREIGN","FROM","FULLTEXT","GENERATED","GET","GRANT","GROUP","HAVING","HIGH_PRIORITY","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IF","IGNORE","IN","INDEX","INFILE","INNER","INOUT","INSENSITIVE","INTEGER","INTERVAL","TINYINT","SMALLINT","MEDIUMINT","BIGINT","INSERT","INTO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IS","ITERATE","JOIN","KEY","KEYS","KILL","LEADING","LEAVE","LEFT","LIKE","LIMIT","LINEAR","LINES","LOAD","LOCALTIME","LOCALTIMESTAMP","LOCK_","MEDIUMTEXT","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER_BIND","MASTER_SSL_VERIFY_SERVER_CERT","MATCH","MAXVALUE","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEDIUMINT","MIDDLEINT","NUMERIC","MINUTE_MICROSECOND","MINUTE_SECOND","MOD","MODIFIES","NATURAL","NOT","NO_WRITE_TO_BINLOG","NO_PARALLEL","NO_REWRITE","DECIMAL","ON","OPTIMIZE","OPTION","OPTIONALLY","OR","ORDER","OUT","OUTER","OUTFILE","PARTITION","PRECISION","PRIMARY","PROCEDURE","PURGE","RANGE","READ","READ_WRITE","READ_CONSISTENCY","READS","REAL","REFERENCES","REGEXP","RELEASE","RENAME","REPEAT","REPLACE","REQUIRE","RESIGNAL","RESTRICT","RETURN","REVOKE","RIGHT","RLIKE","REGEXP","SECOND_MICROSECOND","SENSITIVE","SET","SCHEMA","SCHEMAS","SELECT","SEPARATOR","SHOW","SIGNAL","SLOG","SMALLINT","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_BIG_RESULT","SQL_CALC_FOUND_ROWS","SQL_SMALL_RESULT","SSL","STARTING","STRAIGHT_JOIN","STORED","TABLE","TABLEGROUP","TERMINATED","THEN","TINYBLOB","TINYINT","TINYTEXT","TRAILING","TRIGGER","TO","UNDO","UNION","UNIQUE","UNLOCK","UNSIGNED","UPDATE","USAGE","USE","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VARBINARY","VARCHAR","VARCHAR","VALUES","VARYING","VIRTUAL","WHERE","WHEN","WHILE","WITH","WRITE","XOR","YEAR_MONTH","ZEROFILL"]),_={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],wordPattern:/[\w#$]+/i,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},m={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:Array.from(new Set(C.concat(["ALTER","BEGIN_KEY","BIGINT","BINARY","BINARY_INTEGER","BIT","BOOL","BOOLEAN","BY","CALL","CASE","CATALOG_NAME","CHARACTER","CHARSET","CLASS_ORIGIN","CLOSE","COLLATE","COLUMN_NAME","COMMENT","COMMIT","CONDITION","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_ORIGIN","CONSTRAINT_SCHEMA","CONTAINS","CONTINUE","COUNT","CREATE","CURRENT_USER","CURSOR","CURSOR_NAME","DATA","DATE","DATETIME","DATE_VALUE","DD","DECIMAL_VAL","DECLARE","DEFAULT","DEFINER","DETERMINISTIC","DO","DOUBLE","DROP","ELSE","ELSEIF","END_KEY","END_P","ENUM","EXISTS","EXIT","EXTEND","FETCH","FLOAT","FOR","FOUND","FROM","FUNCTION","HANDLER","HEX_STRING_VALUE","IDENT","IF","IN","INOUT","INTEGER","INTNUM","INTO","INVOKER","IS","ITERATE","LANGUAGE","LEAVE","LIMIT","LONG","LOOP","MEDIUMINT","MESSAGE_TEXT","MODIFIES","MYSQL_ERRNO","NEXT","NO","NOT","NULLX","NUMBER","OF","OPEN","OUT","PRECISION","PROCEDURE","READS","RECORD","REPEAT","RESIGNAL","RETURN","RETURNS","ROLLBACK","SCHEMA_NAME","SECURITY","SELECT","SET","SIGNAL","SIGNED","SMALLINT","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_KEYWORD","STRING","SUBCLASS_ORIGIN","SYSTEM_VARIABLE","TABLE","TABLE_NAME","TEXT","THEN","TIME","TIMESTAMP","TINYINT","TYPE","UNSIGNED","UNTIL","USER_VARIABLE","USING","VALUE","VARBINARY","VARCHAR","WHEN","WHILE","YEAR","ZEROFILL","INDEX","NUMERIC","PARSER_SYNTAX_ERROR","SQL_TOKEN"]))),operators:[":="],builtinVariables:[],builtinFunctions:S.map(E=>E.name),pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@backTick"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"string","@builtinFunctions":"type.identifier","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/#+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],backTick:[[/`/,{token:"identifier.quote",next:"@backTickIdentifiers"}]],backTickIdentifiers:[[/[^`]+/,"string.escape"],[/`/,{token:"identifier.quote",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}};var r=T(5601),D=T(95422);function M(E){I.Mj.register({id:A.$.OB_MySQL}),I.Mj.setMonarchTokensProvider(A.$.OB_MySQL,m),I.Mj.setLanguageConfiguration(A.$.OB_MySQL,_),I.Mj.registerCompletionItemProvider(A.$.OB_MySQL,new s(E)),I.Mj.registerDocumentFormattingEditProvider(A.$.OB_MySQL,new r.m(E,A.$.OB_MySQL)),I.Mj.registerDocumentRangeFormattingEditProvider(A.$.OB_MySQL,new r.X(E,A.$.OB_MySQL)),I.Mj.registerInlineCompletionsProvider(A.$.OB_MySQL,new D.Z(E))}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8748],{48748:function(E,e,T){T.r(e),T.d(e,{setup:function(){return M}});var I=T(96685),A=T(81065),R=T(47578);let S=[{name:"CURDATE",params:[],desc:"返回当前日期,不含时间部分。"},{name:"CURRENT_DATE",params:[],desc:"返回当前日期,不含时间部分。"},{name:"CURRENT_TIME",params:[{name:"scale"}],desc:"返回当前时间,不含日期部分。"},{name:"CURRENT_TIMESTAMP",params:[{name:"scale"}],desc:"返回当前日期时间,考虑时区设置。"},{name:"CURTIME",params:[],desc:"返回当前时间,不含日期部分。"},{name:"DATE_ADD",params:[{name:"date"},{name:"INTERVAL"}],desc:"日期时间的算术计算。"},{name:"DATE_FORMAT",params:[{name:"date"},{name:"format"}],desc:"将日期时间以指定格式输出。"},{name:"DATE_SUB",params:[{name:"date"},{name:"INTERVAL"}],desc:"日期时间的算术计算。"},{name:"DATEDIFF",params:[{name:"date1"},{name:"date2"}],desc:"返回 date1 和 date2 之间的天数。"},{name:"EXTRACT",body:"EXTRACT(${1:unit} FROM ${2:date})",desc:"以整数类型返回 date 的指定部分值。"},{name:"FROM_DAYS",params:[{name:"N"}],desc:"返回指定天数 N 对应的 DATE 值。"},{name:"FROM_UNIXTIME",params:[{name:"unix_timestamp"},{name:"format"}],desc:"返回指定格式的日期时间字符串。"},{name:"MONTH",params:[{name:"date"}],desc:"返回 date 的月份信息。"},{name:"NOW",params:[{name:"scale"}],desc:"返回当前日期时间,考虑时区设置。"},{name:"PERIOD_DIFF",params:[{name:"p1"},{name:"p2"}],desc:"以月份位单位返回两个日期之间的间隔。"},{name:"STR_TO_DATE",params:[{name:"str"},{name:"format"}],desc:"使用 format 将 str 转换为 DATETIME 值、DATE 值、或 TIME 值。"},{name:"TIME",params:[{name:"datetime"}],desc:"以 TIME 类型返回 datetime 的时间信息。"},{name:"TIME_TO_USEC",params:[{name:"date"}],desc:"将 date 值转换为距离 1970-01-01 00:00:00.000000 的微秒数,考虑时区信息。"},{name:"TIMEDIFF",params:[{name:"date1"},{name:"date2"}],desc:"以 TIME 类型返回两个日期时间的时间间隔。"},{name:"TIMESTAMPDIFF",params:[{name:"unit"},{name:"date1"},{name:"date2"}],desc:"以 unit 为单位返回两个日期时间的间隔。"},{name:"TIMESTAMPADD",params:[{name:"unit"},{name:"interval_expr"},{name:"date"}],desc:"日期时间的算术计算。"},{name:"TO_DAYS",params:[{name:"date"}],desc:"返回指定 date 值对应的天数。"},{name:"USEC_TO_TIME",params:[{name:"usec"}],desc:"将 usec 值转换为 TIMESTAMP 类型值。"},{name:"UNIX_TIMESTAMP",params:[{name:"date"}],desc:"返回指定时间距离 '1970-01-01 00:00:00' 的秒数,考虑时区。"},{name:"UTC_TIMESTAMP",params:[],desc:"返回当前 UTC 时间。"},{name:"YEAR",params:[{name:"date"}],desc:"返回 date 值的年份信息。"},{name:"CONCAT",params:[{name:"str"}],desc:"把多个字符串连接成一个字符串。"},{name:"CONCAT_WS",params:[{name:"separator"},{name:"str"}],desc:"把多个字符串连接成一个字符串,相邻字符串间使用 separator 分隔。"},{name:"FORMAT",params:[{name:"x"},{name:"d"}],desc:"把数字 X 格式化为“#,###,###.##”格式,四舍五入到 D 位小数,并以字符串形式返回结果(如果整数部分超过三位,会用“,”作为千分位分隔符)。"},{name:"SUBSTR",params:[{name:"str"},{name:"pos"}],desc:"返回 str 的子字符串,起始位置为 pos,长度为 len。"},{name:"SUBSTRING",params:[{name:"str"},{name:"pos"}],desc:"返回 str 的子字符串,起始位置为 pos,长度为 len。"},{name:"TRIM",params:[{name:"x"}],desc:"删除字符串所有前缀和/或后缀,默认为 BOTH。"},{name:"LTRIM",params:[{name:"str"}],desc:"删除字符串左侧的空格。"},{name:"RTRIM",params:[{name:"str"}],desc:"删除字符串右侧的空格。"},{name:"ASCII",params:[{name:"str"}],desc:"返回字符串最左侧字符的 ASCII 码。"},{name:"ORD",params:[{name:"str"}],desc:"返回字符串最左侧字符的字符码。"},{name:"LENGTH",params:[{name:"str"}],desc:"返回 str 的字节长度。"},{name:"CHAR_LENGTH",params:[{name:"str"}],desc:"返回字符串包含的字符数。"},{name:"UPPER",params:[{name:"str"}],desc:"将字符串中的小写字母转化为大写字母。"},{name:"LOWER",params:[{name:"str"}],desc:"将字符串中的大写字母转化为小写字母。"},{name:"HEX",params:[{name:"str"}],desc:"将数字或字符串转化为十六进制字符串。"},{name:"UNHEX",params:[{name:"str"}],desc:"将十六进制字符串转化为正常字符串。"},{name:"MD5",params:[{name:"str"}],desc:"返回字符串的 MD5 值。"},{name:"INT2IP",params:[{name:"int_value"}],desc:"将整数内码转换成 IP 地址。"},{name:"IP2INT",params:[{name:"ip_addr"}],desc:"将 IP 地址转换成整数内码。"},{name:"LIKE",body:"LIKE ${1:str}",desc:"字符串通配符匹配。"},{name:"REGEXP",body:"REGEXP ${1:str}",desc:"正则匹配。"},{name:"REPEAT",params:[{name:"str"},{name:"count"}],desc:"返回 str 重复 count 次组成的字符串。"},{name:"SPACE",params:[{name:"N"}],desc:"返回包含 N 个空格的字符串。"},{name:"SUBSTRING_INDEX",params:[{name:"str"},{name:"delim"},{name:"count"}],desc:"在定界符 delim 以及 count 出现前,从字符串 str 返回字符串。"},{name:"LOCATE",params:[{name:"substr"},{name:"str"}],desc:"第一个语法返回字符串 str 中子字符串 substr 的第一个出现位置。"},{name:"POSITION",params:[{name:"substr"},{name:"str"}],desc:"第一个语法返回字符串 str 中子字符串 substr 的第一个出现位置。"},{name:"INSTR",params:[{name:"str"},{name:"substr"}],desc:"返回字符串 str 中子字符串的第一个出现位置。"},{name:"REPLACE",params:[{name:"str"},{name:"from_str"},{name:"to_str"}],desc:"返回字符串 str 以及所有被字符 to_str 替代的字符串 from_str。"},{name:"FIELD",params:[{name:"str"}],desc:"返回参数 str 在 str1, str2, str3,… 列表中的索引位置(从 1 开始的位置)。"},{name:"ELT",params:[{name:"N"},{name:"str"}],desc:"若 N=1,则返回值为 str1;若 N=2,则返回值为 str2;以此类推。"},{name:"INSERT",params:[{name:"str1"},{name:"pos"},{name:"len"},{name:"str2"}],desc:"返回字符串 str1,字符串中起始于 pos 位置,长度为 len 的子字符串将被 str2 取代。"},{name:"LPAD",params:[{name:"str"},{name:"len"},{name:"padstr"}],desc:"用指定字符串 padstr,在左侧填充字符串 str 到指定长度 len。"},{name:"RPAD",params:[{name:"str"},{name:"len"},{name:"padstr"}],desc:"用指定字符串 padstr,在右侧填充字符串 str 到指定长度 len。"},{name:"UUID",params:[],desc:"生成一个全局唯一 ID。"},{name:"BIN",params:[{name:"N"}],desc:"返回数字 N 的二进制形式。"},{name:"QUOTE",params:[{name:"str"}],desc:"引用一个字符串以产生一个结果可以作为 SQL 语句中正确地转义数据值。"},{name:"REGEXP_SUBSTR",params:[{name:"str"},{name:"pattern"}],desc:"在 str 中搜索匹配正则表达式 pattern 的子串,子串不存在返回 NULL。"},{name:"CAST",body:"CAST(${1:expr} AS ${2:type})",desc:"将某种数据类型的表达式显式转换为另一种数据类型。"},{name:"ROUND",params:[{name:"X"}],desc:"返回一个数值,四舍五入到指定的长度或精度。"},{name:"CEIL",params:[{name:"expr"}],desc:"返回大于或者等于指定表达式的最小整数。"},{name:"FLOOR",params:[{name:"expr"}],desc:"返回小于或者等于指定表达式的最大整数。"},{name:"ABS",params:[{name:"expr"}],desc:"绝对值函数,求表达式绝对值,函数返回值类型与数值表达式的数据类型相同。"},{name:"NEG",params:[{name:"expr"}],desc:"求补函数,对操作数执行求补运算:用零减去操作数,然后结果返回操作数。"},{name:"SIGN",params:[{name:"X"}],desc:"SIGN(X) 返回参数作为 -1、 0 或 1 的符号,该符号取决于 X 的值为负、零或正。"},{name:"CONV",params:[{name:"N"},{name:"from_base"},{name:"to_base"}],desc:"不同数基间转换数字。"},{name:"MOD",params:[{name:"N"},{name:"M"}],desc:"取余函数。"},{name:"POW",params:[{name:"X"},{name:"Y"}],desc:"返回 X 的 Y 次方。"},{name:"POWER",params:[{name:"X"},{name:"Y"}],desc:"返回 X 的 Y 次方。"},{name:"RAND",params:[{name:"value1"}],desc:"RAND([N]) 函数接受 0 个或者 1 个参数(N 被称为随机数种子),返回一个范围是 [0,1.0) 的随机浮点数。"},{name:"GREATEST",params:[{name:"value1"}],desc:"返回参数的最大值,和函数 LEAST() 相对。"},{name:"LEAST",params:[{name:"value1"}],desc:"返回参数的最小值,和函数 GREATEST() 相对。"},{name:"ISNULL",params:[{name:"expr"}],desc:"如果参数 expr 为 NULL,那么 ISNULL() 的返回值为 1,否则返回值为 0。"},{name:"IF",params:[{name:"expr1"},{name:"expr2"},{name:"expr3"}],desc:"如果 expr1 的值为 TRUE(即:expr1<>0 且 expr1<>NULL),返回结果为 expr2;否则返回结果为 expr3。"},{name:"IFNULL",params:[{name:"expr1"},{name:"expr2"}],desc:"假设 expr1 不为 NULL,则 IFNULL() 的返回值为 expr1;否则其返回值为 expr2。"},{name:"NULLIF",params:[{name:"expr1"},{name:"expr2"}],desc:"如果 expr1 = expr2 成立,那么返回值为 NULL,否则返回值为 expr1。"}].concat([{name:"AVG",params:[{name:"expr"}],desc:"返回数值列的平均值。"},{name:"COUNT",params:[{name:"expr"}],desc:"该函数返回 SELECT 语句检索到的行中非 NULL 值的数目。"},{name:"SUM",params:[{name:"expr"}],desc:"返回参数中指定列的和。"},{name:"GROUP_CONCAT",params:[{name:"expr"}],desc:"返回带有来自一个组的连接的非 NULL 值的字符串结果。"},{name:"MAX",params:[{name:"expr"}],desc:"返回参数中指定的列中的最大值。"},{name:"MIN",params:[{name:"expr"}],desc:"返回参数中指定列的最小值。"}]).concat([]).concat([{name:"FOUND_ROWS",params:[],desc:"一个 SELECT 语句可能包含一个 LIMIT 子句,用来限制数据库服务器端返回客户端的行数。在某些情况下,我们需要不再次运行该语句而得知在没有 LIMIT 时到底该语句返回了多少行。我们可以在 SELECT 语句中选择使用 SQL_CALC_FOUND_ROWS,然后调用 FOUND_ROWS() 函数,获取该语句在没有 LIMIT 时返回的行数。"},{name:"LAST_INSERT_ID",params:[],desc:"返回本 SESSION 最后一次插入的自增字段值,如最近一条 INSERT 插入多条记录,LAST_INSERT_ID() 返回第一条记录的自增字段值。"}]).concat([{name:"COALESCE",params:[{name:"expr"}],desc:"依次参考各参数表达式,遇到非 NULL 值即停止并返回该值。"},{name:"NVL",params:[{name:"str1"},{name:"replace_with"}],desc:"如果 str1 为 NULL,则替换成 replace_with。"},{name:"MATCH",body:"MATCH (${1:cols}) AGAINST (${2:expr})",desc:"全文查找函数"}]);var N=T(54375),O=T(54768);let a=new O.q(window.obMonaco.getWorkerUrl("obmysql")),L=N.Ud(a.getWorker());var n=T(36498),t=function(E,e,T,I){return new(T||(T=Promise))(function(A,R){function S(E){try{O(I.next(E))}catch(E){R(E)}}function N(E){try{O(I.throw(E))}catch(E){R(E)}}function O(E){var e;E.done?A(E.value):((e=E.value)instanceof T?e:new T(function(E){E(e)})).then(S,N)}O((I=I.apply(E,e||[])).next())})},s=class{constructor(E){this.triggerCharacters=["."],this.plugin=null,this.plugin=E}getModelOptions(E){var e;return null===(e=this.plugin)||void 0===e?void 0:e.modelOptionsMap.get(E)}provideCompletionItems(E,e,T,I){let{offset:A,value:R,delimiter:S,range:N,triggerCharacter:O}=(0,n.y)(E,e,T,this.plugin);return this.getCompleteWordFromOffset(A,R,S,N,E,O)}getColumnList(E,e,T){var I;return t(this,void 0,void 0,function*(){let A=this.getModelOptions(E.id),S=[],N=yield null===(I=null==A?void 0:A.getTableColumns)||void 0===I?void 0:I.call(A,e.tableName,e.schemaName);return N&&N.forEach(E=>{S.push((0,R.yD)(E.columnName,e.tableName,e.schemaName,T))}),S})}getSchemaList(E,e){var T;return t(this,void 0,void 0,function*(){let I=this.getModelOptions(E.id),A=[],S=yield null===(T=null==I?void 0:I.getSchemaList)||void 0===T?void 0:T.call(I);return S&&S.forEach(E=>{A.push((0,R.lW)(E,e))}),A})}getTableList(E,e,T){var I;return t(this,void 0,void 0,function*(){let A=this.getModelOptions(E.id),S=[],N=yield null===(I=null==A?void 0:A.getTableList)||void 0===I?void 0:I.call(A,e);return N&&N.forEach(E=>{S.push((0,R.Pf)(E,e,!1,T))}),S})}getSnippets(E,e){var T;return t(this,void 0,void 0,function*(){let I=this.getModelOptions(E.id),A=yield null===(T=null==I?void 0:I.getSnippets)||void 0===T?void 0:T.call(I);return(A||[]).map(E=>(0,R.k8)(E,e))})}getFunctions(E,e){var T;return t(this,void 0,void 0,function*(){let I=this.getModelOptions(E.id),A=yield null===(T=null==I?void 0:I.getFunctions)||void 0===T?void 0:T.call(I);return(A||[]).concat(S).map(E=>(0,R.Ht)(E,e))})}getCompleteWordFromOffset(E,e,T,I,A,S){var N;return t(this,void 0,void 0,function*(){let S=L.parser,O=yield S.getAutoCompletion(e,T,E);if(O){let E=this.getModelOptions(A.id),e=[],T=!0;for(let S of O)if("string"!=typeof S&&(T=!1),"string"==typeof S)e.push((0,R.Lx)(S,I));else if("allTables"===S.type)e=e.concat((yield this.getTableList(A,S.schema,I)));else if("tableColumns"===S.type)e=e.concat((yield this.getColumnList(A,S,I)));else if("withTable"===S.type)e.push((0,R.Pf)(S.tableName,"CTE",!1,I));else if("allSchemas"===S.type)e=e.concat((yield this.getSchemaList(A,I)));else if("objectAccess"===S.type){let T=S.objectName,R=yield null===(N=null==E?void 0:E.getSchemaList)||void 0===N?void 0:N.call(E),O=null==R?void 0:R.find(E=>E===T);if(O){e=e.concat((yield this.getTableList(A,S.objectName,I)));continue}let a=T.split("."),L=a.length>1?a[1]:a[0],n=a.length>1?a[0]:void 0,t=yield this.getColumnList(A,{tableName:L,schemaName:n},I);(null==t?void 0:t.length)&&(e=e.concat(t))}else"fromTable"===S.type?e.push((0,R.Pf)(S.tableName,S.schemaName,!0,I)):"allFunction"===S.type&&(e=e.concat((yield this.getFunctions(A,I))));return T&&(e=e.concat((yield this.getSnippets(A,I)))),{suggestions:e,incomplete:!1}}return{suggestions:[],incomplete:!1}})}};let C=["*","ACCESS","ACCOUNT","ACTION","ACTIVE","ADDDATE","AFTER","AGAINST","AGGREGATE","ALGORITHM","ALWAYS","ANALYSE","ANY","APPROX_COUNT_DISTINCT","APPROX_COUNT_DISTINCT_SYNOPSIS","APPROX_COUNT_DISTINCT_SYNOPSIS_MERGE","ARCHIVELOG","ARBITRATION","ASCII","AT","AUDIT","AUTHORS","AUTO","AUTOEXTEND_SIZE","AUTO_INCREMENT","AUTO_INCREMENT_MODE","AVG","AVG_ROW_LENGTH","BACKUP","BACKUPSET","BACKUP_COPIES","BADFILE","BASE","BASELINE","BASELINE_ID","BASIC","BALANCE","BANDWIDTH","BEGI","BINDING","BINLOG","BIT","BIT_AND","BIT_OR","BIT_XOR","BISON_LIST","BLOCK","BLOCK_SIZE","BLOCK_INDEX","BLOOM_FILTER","BOOL","BOOLEAN","BOOTSTRAP","BTREE","BYTE","BREADTH","BUCKETS","CACHE","CALIBRATION","CALIBRATION_INFO","KVCACHE","ILOGCACHE","CALC_PARTITION_ID","CANCEL","CASCADED","CAST","CATALOG_NAME","CHAIN","CHANGED","CHARSET","CHECKSUM","CHECKPOINT","CHUNK","CIPHER","CLASS_ORIGIN","CLEAN","CLEAR","CLIENT","CLOSE","CLOG","CLUSTER","CLUSTER_ID","CLUSTER_NAME","COALESCE","CODE","COLLATION","COLUMN_FORMAT","COLUMN_NAME","COLUMN_STAT","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPRESSED","COMPRESSION","COMPUTE","CONCURRENT","CONDENSED","CONNECTION","CONSISTENT","CONSISTENT_MODE","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTRIBUTORS","COPY","COUNT","CPU","CREATE_TIMESTAMP","CTXCAT","CTX_ID","CUBE","CUME_DIST","CURDATE","CURRENT","CURSOR_NAME","CURTIME","CYCLE","DAG","DATA","DATABASE_ID","DATAFILE","DATA_TABLE_ID","DATE","DATE_ADD","DATE_SUB","DATETIME","DAY","DEALLOCATE","DECRYPTION","DEFAULT_AUTH","DEFINER","DELAY","DELAY_KEY_WRITE","DENSE_RANK","DEPTH","DES_KEY_FILE","DESCRIPTION","DESTINATION","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISKGROUP","DISCONNECT","DO","DUMP","DUMPFILE","DUPLICATE","DUPLICATE_SCOPE","DYNAMIC","DEFAULT_TABLEGROUP","EFFECTIVE","EMPTY","ENABLE","ENABLE_ARBITRATION_SERVICE","ENABLE_EXTENDED_ROWID","ENCRYPTION","END","ENDS","ENFORCED","ENGINE_","ENGINES","ENUM","ENTITY","ERROR_CODE","ERROR_P","ERRORS","ESCAPE","ESTIMATE","EVENT","EVENTS","EVERY","EXCEPT","EXCHANGE","EXECUTE","EXPANSION","EXPIRE","EXPIRED","EXPIRE_INFO","EXPORT","EXTENDED","EXTENDED_NOADDR","EXTENT_SIZE","FAILOVER","EXTRACT","FAST","FAULTS","FLASHBACK","FIELDS","FILEX","FILE_ID","FINAL_COUNT","FIRST","FIRST_VALUE","FIXED","FLUSH","FOLLOWER","FOLLOWING","FORMAT","FROZEN","FOUND","FRAGMENTATION","FREEZE","FREQUENCY","FUNCTION","FULL","GENERAL","GEOMETRY","GEOMCOLLECTION","GEOMETRYCOLLECTION","GET_FORMAT","GLOBAL","GLOBAL_NAME","GRANTS","GROUPING","GROUP_CONCAT","GTS","HANDLER","HASH","HELP","HISTOGRAM","HOST","HOSTS","HOUR","HYBRID_HIST","ID","IDC","IDENTIFIED","IGNORE_SERVER_IDS","ILOG","IMPORT","INDEXES","INDEX_TABLE_ID","INCR","INFO","INITIAL_SIZE","INNODB","INSERT_METHOD","INSTALL","INSTANCE","INTERSECT","INVOKER","INCREMENT","INCREMENTAL","IO","IOPS_WEIGHT","IO_THREAD","IPC","ISNULL","ISOLATION","ISOLATE","ISSUER","JOB","JSON","JSON_VALUE","JSON_ARRAYAGG","JSON_OBJECTAGG","KEY_BLOCK_SIZE","KEY_VERSION","LAG","LANGUAGE","LAST","LAST_VALUE","LEAD","LEADER","LEAK","LEAK_MOD","LEAK_RATE","LEAVES","LESS","LEVEL","LINESTRING","LIST_","LISTAGG","LN","LOCAL","LOCALITY","LOCKED","LOCKS","LOG","LOGFILE","LOGONLY_REPLICA_NUM","LOGS","MAJOR","MANUAL","MASTER","MASTER_AUTO_POSITION","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_HEARTBEAT_PERIOD","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_RETRY_COUNT","MASTER_SERVER_ID","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_USER","MAX","MAX_CONNECTIONS_PER_HOUR","MAX_CPU","LOG_DISK_SIZE","MAX_IOPS","MEMORY_SIZE","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MEMBER","MEMORY","MEMTABLE","MERGE","MESSAGE_TEXT","MEMSTORE_PERCENT","META","MICROSECOND","MIGRATE","MIGRATION","MIN","MINVALUE","MIN_CPU","MIN_IOPS","MINOR","MIN_ROWS","MINUTE","MINUS","MODE","MODIFY","MONTH","MOVE","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","MUTEX","MYSQL_ERRNO","MAX_USED_PART_ID","NAME","NAMES","NATIONAL","NCHAR","NDB","NDBCLUSTER","NEW","NEXT","NO","NOARCHIVELOG","NOAUDIT","NOCACHE","NOCYCLE","NODEGROUP","NOMINVALUE","NOMAXVALUE","NONE","NOORDER","NOPARALLEL","NORMAL","NOW","NOWAIT","NO_WAIT","NTILE","NTH_VALUE","NUMBER","NULLS","NULLX","NVARCHAR","OCCUR","OF","OFF","OFFSET","OLD","OLD_PASSWORD","OLD_KEY","OJ","OVER","OBCONFIG_URL","ONE","ONE_SHOT","ONLY","OPEN","OPTIONS","ORIG_DEFAULT","REMOTE_OSS","OUTLINE","OWNER","PACK_KEYS","PAGE","PARALLEL","PARAMETERS","PARSER","PARTIAL","PASSWORD","PARTITION_ID","LS","PARTITIONING","PARTITIONS","PERCENT_RANK","PAUSE","PERCENTAGE","PHASE","PHYSICAL","PL","PLANREGRESS","PLUGIN","PLUGIN_DIR","PLUGINS","PLUS","POINT","POLICY","POLYGON","POOL","PORT","POSITION","PRECEDING","PREPARE","PRESERVE","PRETTY","PRETTY_COLOR","PREV","PRIMARY_ZONE","PRIVILEGES","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROGRESSIVE_MERGE_NUM","PROXY","PS","PUBLIC","PCTFREE","P_ENTITY","P_CHUNK","QUARTER","QUERY","QUERY_RESPONSE_TIME","QUEUE_TIME","QUICK","RANK","READ_ONLY","REBUILD","RECOVER","RECOVERY","RECOVERY_WINDOW","RECURSIVE","RECYCLE","RECYCLEBIN","ROTATE","ROW_NUMBER","REDO_BUFFER_SIZE","REDOFILE","REDUNDANCY","REDUNDANT","REFRESH","REGION","REJECT","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELOAD","REMOVE","REORGANIZE","REPAIR","REPEATABLE","REPLICA","REPLICA_NUM","REPLICA_TYPE","REPLICATION","REPORT","RESET","RESOURCE","RESOURCE_POOL_LIST","RESPECT","RESTART","RESTORE","RESUME","RETURNED_SQLSTATE","RETURNING","RETURNS","REVERSE","ROLLBACK","ROLLING","ROLLUP","ROOT","ROOTSERVICE","ROOTSERVICE_LIST","ROOTTABLE","ROUTINE","ROW","ROW_COUNT","ROW_FORMAT","ROWS","RTREE","RUN","SAMPLE","SAVEPOINT","SCHEDULE","SCHEMA_NAME","SCN","SCOPE","SECOND","SECURITY","SEED","SEQUENCE","SEQUENCES","SERIAL","SERIALIZABLE","SERVER","SERVER_IP","SERVER_PORT","SERVER_TYPE","SERVICE","SESSION","SESSION_USER","SET_MASTER_CLUSTER","SET_SLAVE_CLUSTER","SET_TP","SHARE","SHUTDOWN","SIGNED","SIZE","SIMPLE","SLAVE","SLOW","SNAPSHOT","SOCKET","SOME","SONAME","SOUNDS","SOURCE","SPFILE","SPLIT","SQL_AFTER_GTIDS","SQL_AFTER_MTS_GAPS","SQL_BEFORE_GTIDS","SQL_BUFFER_RESULT","SQL_CACHE","SQL_ID","SQL_NO_CACHE","SQL_THREAD","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SRID","STACKED","STANDBY","START","STARTS","STAT","STATISTICS","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STATEMENTS","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","STOP","STORAGE","STORAGE_FORMAT_VERSION","STORING","STRONG","STRING","SUBCLASS_ORIGIN","SUBDATE","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUBSTR","SUBSTRING","SUCCESSFUL","SUM","SUPER","SUSPEND","SWAPS","SWITCH","SWITCHES","SWITCHOVER","SYSTEM","SYSTEM_USER","SYSDATE","TABLE_CHECKSUM","TABLE_MODE","TABLEGROUPS","TABLE_ID","TABLE_NAME","TABLES","TABLESPACE","TABLET","TABLET_ID","TABLET_SIZE","TABLET_MAX_SIZE","TASK","TEMPLATE","TEMPORARY","TEMPTABLE","TENANT","TENANT_ID","SLOT_IDX","TEXT","THAN","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIME_ZONE_INFO","TP_NAME","TP_NO","TRACE","TRANSACTION","TRADITIONAL","TRIGGERS","TRIM","TRUNCATE","TYPE","TYPES","TABLEGROUP_ID","TOP_K_FRE_HIST","UNCOMMITTED","UNDEFINED","UNDO_BUFFER_SIZE","UNDOFILE","UNICODE","UNKNOWN","UNINSTALL","UNIT","UNIT_GROUP","UNIT_NUM","UNLOCKED","UNTIL","UNUSUAL","UPGRADE","USE_BLOOM_FILTER","USE_FRM","USER","USER_RESOURCES","UNBOUNDED","UNLIMITED","VALID","VALIDATE","VALUE","VARIANCE","VARIABLES","VAR_POP","VAR_SAMP","VERBOSE","VIRTUAL_COLUMN_ID","MATERIALIZED","VIEW","VERIFY","WAIT","WARNINGS","WASH","WEAK","WEEK","WEIGHT_STRING","WHENEVER","WINDOW","WORK","WRAPPER","X509","XA","XML","YEAR","ZONE","ZONE_LIST","ZONE_TYPE","LOCATION","PLAN","VISIBLE","INVISIBLE","ACTIVATE","SYNCHRONIZATION","THROTTLE","PRIORITY","RT","NETWORK","LOGICAL_READS","REDO_TRANSPORT_OPTIONS","MAXIMIZE","AVAILABILITY","PERFORMANCE","PROTECTION","OBSOLETE","HIDDEN","INDEXED","SKEWONLY","BACKUPPIECE","PREVIEW","BACKUP_BACKUP_DEST","BACKUPROUND","UP","TIMES","BACKED","NAMESPACE","LIB"].concat(["ACCESSIBLE","ADD","ALL","ALTER","ANALYZE","AND","AS","ASC","ASENSITIVE","BEFORE","BETWEEN","BIGINT","BINARY","BLOB","BOTH","BY","CALL","CASCADE","CASE","CHANGE","CHAR","CHARACTER","CHECK","COLLATE","COLUMN","CONDITION","CONSTRAINT","CONTINUE","CONVERT","CREATE","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DATABASES","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DECIMAL","DECLARE","DEFAULT","DELAYED","DELETE","DESC","DESCRIBE","DETERMINISTIC","DISTINCT","DISTINCT","DIV","DOUBLE","DROP","DUAL","EACH","ELSE","ELSEIF","ENCLOSED","ESCAPED","EXISTS","EXIT","EXPLAIN","FETCH","FLOAT","FLOAT","DOUBLE","FOR","FORCE","FOREIGN","FROM","FULLTEXT","GENERATED","GET","GRANT","GROUP","HAVING","HIGH_PRIORITY","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IF","IGNORE","IN","INDEX","INFILE","INNER","INOUT","INSENSITIVE","INTEGER","INTERVAL","TINYINT","SMALLINT","MEDIUMINT","BIGINT","INSERT","INTO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IS","ITERATE","JOIN","KEY","KEYS","KILL","LEADING","LEAVE","LEFT","LIKE","LIMIT","LINEAR","LINES","LOAD","LOCALTIME","LOCALTIMESTAMP","LOCK_","MEDIUMTEXT","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER_BIND","MASTER_SSL_VERIFY_SERVER_CERT","MATCH","MAXVALUE","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEDIUMINT","MIDDLEINT","NUMERIC","MINUTE_MICROSECOND","MINUTE_SECOND","MOD","MODIFIES","NATURAL","NOT","NO_WRITE_TO_BINLOG","NO_PARALLEL","NO_REWRITE","DECIMAL","ON","OPTIMIZE","OPTION","OPTIONALLY","OR","ORDER","OUT","OUTER","OUTFILE","PARTITION","PRECISION","PRIMARY","PROCEDURE","PURGE","RANGE","READ","READ_WRITE","READ_CONSISTENCY","READS","REAL","REFERENCES","REGEXP","RELEASE","RENAME","REPEAT","REPLACE","REQUIRE","RESIGNAL","RESTRICT","RETURN","REVOKE","RIGHT","RLIKE","REGEXP","SECOND_MICROSECOND","SENSITIVE","SET","SCHEMA","SCHEMAS","SELECT","SEPARATOR","SHOW","SIGNAL","SLOG","SMALLINT","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_BIG_RESULT","SQL_CALC_FOUND_ROWS","SQL_SMALL_RESULT","SSL","STARTING","STRAIGHT_JOIN","STORED","TABLE","TABLEGROUP","TERMINATED","THEN","TINYBLOB","TINYINT","TINYTEXT","TRAILING","TRIGGER","TO","UNDO","UNION","UNIQUE","UNLOCK","UNSIGNED","UPDATE","USAGE","USE","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VARBINARY","VARCHAR","VARCHAR","VALUES","VARYING","VIRTUAL","WHERE","WHEN","WHILE","WITH","WRITE","XOR","YEAR_MONTH","ZEROFILL"]),_={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],wordPattern:/[\w#$]+/i,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},m={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:Array.from(new Set(C.concat(["ALTER","BEGIN_KEY","BIGINT","BINARY","BINARY_INTEGER","BIT","BOOL","BOOLEAN","BY","CALL","CASE","CATALOG_NAME","CHARACTER","CHARSET","CLASS_ORIGIN","CLOSE","COLLATE","COLUMN_NAME","COMMENT","COMMIT","CONDITION","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_ORIGIN","CONSTRAINT_SCHEMA","CONTAINS","CONTINUE","COUNT","CREATE","CURRENT_USER","CURSOR","CURSOR_NAME","DATA","DATE","DATETIME","DATE_VALUE","DD","DECIMAL_VAL","DECLARE","DEFAULT","DEFINER","DETERMINISTIC","DO","DOUBLE","DROP","ELSE","ELSEIF","END_KEY","END_P","ENUM","EXISTS","EXIT","EXTEND","FETCH","FLOAT","FOR","FOUND","FROM","FUNCTION","HANDLER","HEX_STRING_VALUE","IDENT","IF","IN","INOUT","INTEGER","INTNUM","INTO","INVOKER","IS","ITERATE","LANGUAGE","LEAVE","LIMIT","LONG","LOOP","MEDIUMINT","MESSAGE_TEXT","MODIFIES","MYSQL_ERRNO","NEXT","NO","NOT","NULLX","NUMBER","OF","OPEN","OUT","PRECISION","PROCEDURE","READS","RECORD","REPEAT","RESIGNAL","RETURN","RETURNS","ROLLBACK","SCHEMA_NAME","SECURITY","SELECT","SET","SIGNAL","SIGNED","SMALLINT","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_KEYWORD","STRING","SUBCLASS_ORIGIN","SYSTEM_VARIABLE","TABLE","TABLE_NAME","TEXT","THEN","TIME","TIMESTAMP","TINYINT","TYPE","UNSIGNED","UNTIL","USER_VARIABLE","USING","VALUE","VARBINARY","VARCHAR","WHEN","WHILE","YEAR","ZEROFILL","INDEX","NUMERIC","PARSER_SYNTAX_ERROR","SQL_TOKEN"]))),operators:[":="],builtinVariables:[],builtinFunctions:S.map(E=>E.name),pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@backTick"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"string","@builtinFunctions":"type.identifier","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/#+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],backTick:[[/`/,{token:"identifier.quote",next:"@backTickIdentifiers"}]],backTickIdentifiers:[[/[^`]+/,"string.escape"],[/`/,{token:"identifier.quote",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}};var r=T(5601),D=T(95422);function M(E){I.Mj.register({id:A.$.OB_MySQL}),I.Mj.setMonarchTokensProvider(A.$.OB_MySQL,m),I.Mj.setLanguageConfiguration(A.$.OB_MySQL,_),I.Mj.registerCompletionItemProvider(A.$.OB_MySQL,new s(E)),I.Mj.registerDocumentFormattingEditProvider(A.$.OB_MySQL,new r.m(E,A.$.OB_MySQL)),I.Mj.registerDocumentRangeFormattingEditProvider(A.$.OB_MySQL,new r.X(E,A.$.OB_MySQL)),I.Mj.registerInlineCompletionsProvider(A.$.OB_MySQL,new D.Z(E))}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8791-d36492edb39795c5.js b/dbgpt/app/static/web/_next/static/chunks/8791-d36492edb39795c5.js new file mode 100644 index 000000000..1d624c5e3 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/8791-d36492edb39795c5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8791],{89705:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(87462),o=t(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"},l=t(13401),u=o.forwardRef(function(e,n){return o.createElement(l.Z,(0,r.Z)({},e,{ref:n,icon:i}))})},29171:function(e,n,t){t.d(n,{Z:function(){return C}});var r=t(87462),o=t(4942),i=t(97685),l=t(45987),u=t(40228),a=t(93967),c=t.n(a),s=t(42550),f=t(67294),d=t(15105),p=t(75164),v=d.Z.ESC,m=d.Z.TAB,b=(0,f.forwardRef)(function(e,n){var t=e.overlay,r=e.arrow,o=e.prefixCls,i=(0,f.useMemo)(function(){return"function"==typeof t?t():t},[t]),l=(0,s.sQ)(n,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,s.Yr)(i)?l:void 0}))}),y={adjustX:1,adjustY:1},h=[0,0],g={topLeft:{points:["bl","tl"],overflow:y,offset:[0,-4],targetOffset:h},top:{points:["bc","tc"],overflow:y,offset:[0,-4],targetOffset:h},topRight:{points:["br","tr"],overflow:y,offset:[0,-4],targetOffset:h},bottomLeft:{points:["tl","bl"],overflow:y,offset:[0,4],targetOffset:h},bottom:{points:["tc","bc"],overflow:y,offset:[0,4],targetOffset:h},bottomRight:{points:["tr","br"],overflow:y,offset:[0,4],targetOffset:h}},Z=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"],C=f.forwardRef(function(e,n){var t,a,d,y,h,C,E,w,k,R,M,N,P,S,x=e.arrow,I=void 0!==x&&x,K=e.prefixCls,O=void 0===K?"rc-dropdown":K,A=e.transitionName,T=e.animation,L=e.align,D=e.placement,_=e.placements,V=e.getPopupContainer,z=e.showAction,F=e.hideAction,j=e.overlayClassName,B=e.overlayStyle,W=e.visible,H=e.trigger,Y=void 0===H?["hover"]:H,q=e.autoFocus,X=e.overlay,G=e.children,Q=e.onVisibleChange,U=(0,l.Z)(e,Z),J=f.useState(),$=(0,i.Z)(J,2),ee=$[0],en=$[1],et="visible"in e?W:ee,er=f.useRef(null),eo=f.useRef(null),ei=f.useRef(null);f.useImperativeHandle(n,function(){return er.current});var el=function(e){en(e),null==Q||Q(e)};a=(t={visible:et,triggerRef:ei,onVisibleChange:el,autoFocus:q,overlayRef:eo}).visible,d=t.triggerRef,y=t.onVisibleChange,h=t.autoFocus,C=t.overlayRef,E=f.useRef(!1),w=function(){if(a){var e,n;null===(e=d.current)||void 0===e||null===(n=e.focus)||void 0===n||n.call(e),null==y||y(!1)}},k=function(){var e;return null!==(e=C.current)&&void 0!==e&&!!e.focus&&(C.current.focus(),E.current=!0,!0)},R=function(e){switch(e.keyCode){case v:w();break;case m:var n=!1;E.current||(n=k()),n?e.preventDefault():w()}},f.useEffect(function(){return a?(window.addEventListener("keydown",R),h&&(0,p.Z)(k,3),function(){window.removeEventListener("keydown",R),E.current=!1}):function(){E.current=!1}},[a]);var eu=function(){return f.createElement(b,{ref:eo,overlay:X,prefixCls:O,arrow:I})},ea=f.cloneElement(G,{className:c()(null===(S=G.props)||void 0===S?void 0:S.className,et&&(void 0!==(M=e.openClassName)?M:"".concat(O,"-open"))),ref:(0,s.Yr)(G)?(0,s.sQ)(ei,G.ref):void 0}),ec=F;return ec||-1===Y.indexOf("contextMenu")||(ec=["click"]),f.createElement(u.Z,(0,r.Z)({builtinPlacements:void 0===_?g:_},U,{prefixCls:O,ref:er,popupClassName:c()(j,(0,o.Z)({},"".concat(O,"-show-arrow"),I)),popupStyle:B,action:Y,showAction:z,hideAction:ec,popupPlacement:void 0===D?"bottomLeft":D,popupAlign:L,popupTransitionName:A,popupAnimation:T,popupVisible:et,stretch:(N=e.minOverlayWidthMatchTrigger,P=e.alignPoint,"minOverlayWidthMatchTrigger"in e?N:!P)?"minWidth":"",popup:"function"==typeof X?eu:eu(),onPopupVisibleChange:el,onPopupClick:function(n){var t=e.onOverlayClick;en(!1),t&&t(n)},getPopupContainer:V}),ea)})},72512:function(e,n,t){t.d(n,{iz:function(){return eO},ck:function(){return ev},BW:function(){return eL},sN:function(){return ev},Wd:function(){return eI},ZP:function(){return ej},Xl:function(){return N}});var r=t(87462),o=t(4942),i=t(1413),l=t(74902),u=t(97685),a=t(45987),c=t(93967),s=t.n(c),f=t(39983),d=t(21770),p=t(91881),v=t(80334),m=t(67294),b=t(73935),y=m.createContext(null);function h(e,n){return void 0===e?null:"".concat(e,"-").concat(n)}function g(e){return h(m.useContext(y),e)}var Z=t(56982),C=["children","locked"],E=m.createContext(null);function w(e){var n=e.children,t=e.locked,r=(0,a.Z)(e,C),o=m.useContext(E),l=(0,Z.Z)(function(){var e;return e=(0,i.Z)({},o),Object.keys(r).forEach(function(n){var t=r[n];void 0!==t&&(e[n]=t)}),e},[o,r],function(e,n){return!t&&(e[0]!==n[0]||!(0,p.Z)(e[1],n[1],!0))});return m.createElement(E.Provider,{value:l},n)}var k=m.createContext(null);function R(){return m.useContext(k)}var M=m.createContext([]);function N(e){var n=m.useContext(M);return m.useMemo(function(){return void 0!==e?[].concat((0,l.Z)(n),[e]):n},[n,e])}var P=m.createContext(null),S=m.createContext({}),x=t(5110);function I(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,x.Z)(e)){var t=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(t)||e.isContentEditable||"a"===t&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),l=null;return o&&!Number.isNaN(i)?l=i:r&&null===l&&(l=0),r&&e.disabled&&(l=null),null!==l&&(l>=0||n&&l<0)}return!1}var K=t(15105),O=t(75164),A=K.Z.LEFT,T=K.Z.RIGHT,L=K.Z.UP,D=K.Z.DOWN,_=K.Z.ENTER,V=K.Z.ESC,z=K.Z.HOME,F=K.Z.END,j=[L,D,A,T];function B(e,n){return(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=(0,l.Z)(e.querySelectorAll("*")).filter(function(e){return I(e,n)});return I(e,n)&&t.unshift(e),t})(e,!0).filter(function(e){return n.has(e)})}function W(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=B(e,n),i=o.length,l=o.findIndex(function(e){return t===e});return r<0?-1===l?l=i-1:l-=1:r>0&&(l+=1),o[l=(l+i)%i]}var H=function(e,n){var t=new Set,r=new Map,o=new Map;return e.forEach(function(e){var i=document.querySelector("[data-menu-id='".concat(h(n,e),"']"));i&&(t.add(i),o.set(i,e),r.set(e,i))}),{elements:t,key2element:r,element2key:o}},Y="__RC_UTIL_PATH_SPLIT__",q=function(e){return e.join(Y)},X="rc-menu-more";function G(e){var n=m.useRef(e);n.current=e;var t=m.useCallback(function(){for(var e,t=arguments.length,r=Array(t),o=0;o1&&(k.motionAppear=!1);var R=k.onVisibleChanged;return(k.onVisibleChanged=function(e){return b.current||e||Z(!0),null==R?void 0:R(e)},g)?null:m.createElement(w,{mode:a,locked:!b.current},m.createElement(eM.ZP,(0,r.Z)({visible:C},k,{forceRender:f,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(e){var t=e.className,r=e.style;return m.createElement(eb,{id:n,className:t,style:r},l)}))}var eP=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],eS=["active"],ex=m.forwardRef(function(e,n){var t,l=e.style,c=e.className,d=e.title,p=e.eventKey,v=(e.warnKey,e.disabled),b=e.internalPopupClose,y=e.children,h=e.itemIcon,Z=e.expandIcon,C=e.popupClassName,k=e.popupOffset,R=e.popupStyle,M=e.onClick,x=e.onMouseEnter,I=e.onMouseLeave,K=e.onTitleClick,O=e.onTitleMouseEnter,A=e.onTitleMouseLeave,T=(0,a.Z)(e,eP),L=g(p),D=m.useContext(E),_=D.prefixCls,V=D.mode,z=D.openKeys,F=D.disabled,j=D.overflowDisabled,B=D.activeKey,W=D.selectedKeys,H=D.itemIcon,Y=D.expandIcon,q=D.onItemClick,X=D.onOpenChange,Q=D.onActive,U=m.useContext(S)._internalRenderSubMenuItem,J=m.useContext(P).isSubPathKey,$=N(),ee="".concat(_,"-submenu"),en=F||v,et=m.useRef(),er=m.useRef(),eu=null!=Z?Z:Y,ec=z.includes(p),es=!j&&ec,ef=J(W,p),ed=eo(p,en,O,A),ep=ed.active,ev=(0,a.Z)(ed,eS),em=m.useState(!1),ey=(0,u.Z)(em,2),eh=ey[0],eg=ey[1],eZ=function(e){en||eg(e)},eC=m.useMemo(function(){return ep||"inline"!==V&&(eh||J([B],p))},[V,ep,B,eh,p,J]),eE=ei($.length),ew=G(function(e){null==M||M(ea(e)),q(e)}),ek=L&&"".concat(L,"-popup"),eM=m.createElement("div",(0,r.Z)({role:"menuitem",style:eE,className:"".concat(ee,"-title"),tabIndex:en?null:-1,ref:et,title:"string"==typeof d?d:null,"data-menu-id":j&&L?null:L,"aria-expanded":es,"aria-haspopup":!0,"aria-controls":ek,"aria-disabled":en,onClick:function(e){en||(null==K||K({key:p,domEvent:e}),"inline"===V&&X(p,!ec))},onFocus:function(){Q(p)}},ev),d,m.createElement(el,{icon:"horizontal"!==V?eu:void 0,props:(0,i.Z)((0,i.Z)({},e),{},{isOpen:es,isSubMenu:!0})},m.createElement("i",{className:"".concat(ee,"-arrow")}))),ex=m.useRef(V);if("inline"!==V&&$.length>1?ex.current="vertical":ex.current=V,!j){var eI=ex.current;eM=m.createElement(eR,{mode:eI,prefixCls:ee,visible:!b&&es&&"inline"!==V,popupClassName:C,popupOffset:k,popupStyle:R,popup:m.createElement(w,{mode:"horizontal"===eI?"vertical":eI},m.createElement(eb,{id:ek,ref:er},y)),disabled:en,onVisibleChange:function(e){"inline"!==V&&X(p,e)}},eM)}var eK=m.createElement(f.Z.Item,(0,r.Z)({ref:n,role:"none"},T,{component:"li",style:l,className:s()(ee,"".concat(ee,"-").concat(V),c,(t={},(0,o.Z)(t,"".concat(ee,"-open"),es),(0,o.Z)(t,"".concat(ee,"-active"),eC),(0,o.Z)(t,"".concat(ee,"-selected"),ef),(0,o.Z)(t,"".concat(ee,"-disabled"),en),t)),onMouseEnter:function(e){eZ(!0),null==x||x({key:p,domEvent:e})},onMouseLeave:function(e){eZ(!1),null==I||I({key:p,domEvent:e})}}),eM,!j&&m.createElement(eN,{id:ek,open:es,keyPath:$},y));return U&&(eK=U(eK,e,{selected:ef,active:eC,open:es,disabled:en})),m.createElement(w,{onItemClick:ew,mode:"horizontal"===V?"vertical":V,itemIcon:null!=h?h:H,expandIcon:eu},eK)}),eI=m.forwardRef(function(e,n){var t,o=e.eventKey,i=e.children,l=N(o),u=eh(i,l),a=R();return m.useEffect(function(){if(a)return a.registerPath(o,l),function(){a.unregisterPath(o,l)}},[l]),t=a?u:m.createElement(ex,(0,r.Z)({ref:n},e),u),m.createElement(M.Provider,{value:l},t)}),eK=t(71002);function eO(e){var n=e.className,t=e.style,r=m.useContext(E).prefixCls;return R()?null:m.createElement("li",{role:"separator",className:s()("".concat(r,"-item-divider"),n),style:t})}var eA=["className","title","eventKey","children"],eT=m.forwardRef(function(e,n){var t=e.className,o=e.title,i=(e.eventKey,e.children),l=(0,a.Z)(e,eA),u=m.useContext(E).prefixCls,c="".concat(u,"-item-group");return m.createElement("li",(0,r.Z)({ref:n,role:"presentation"},l,{onClick:function(e){return e.stopPropagation()},className:s()(c,t)}),m.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:"string"==typeof o?o:void 0},o),m.createElement("ul",{role:"group",className:"".concat(c,"-list")},i))}),eL=m.forwardRef(function(e,n){var t=e.eventKey,o=eh(e.children,N(t));return R()?o:m.createElement(eT,(0,r.Z)({ref:n},(0,et.Z)(e,["warnKey"])),o)}),eD=["label","children","key","type"];function e_(e,n,t,o){var l=e,u=(0,i.Z)({divider:eO,item:ev,group:eL,submenu:eI},o);return n&&(l=function e(n,t){var o=t.item,i=t.group,l=t.submenu,u=t.divider;return(n||[]).map(function(n,c){if(n&&"object"===(0,eK.Z)(n)){var s=n.label,f=n.children,d=n.key,p=n.type,v=(0,a.Z)(n,eD),b=null!=d?d:"tmp-".concat(c);return f||"group"===p?"group"===p?m.createElement(i,(0,r.Z)({key:b},v,{title:s}),e(f,t)):m.createElement(l,(0,r.Z)({key:b},v,{title:s}),e(f,t)):"divider"===p?m.createElement(u,(0,r.Z)({key:b},v)):m.createElement(o,(0,r.Z)({key:b},v),s)}return null}).filter(function(e){return e})}(n,u)),eh(l,t)}var eV=["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","_internalComponents"],ez=[],eF=m.forwardRef(function(e,n){var t,c,v,h,g,Z,C,E,R,M,N,x,I,K,J,$,ee,en,et,er,eo,ei,el,eu,ec,es,ef,ed=e.prefixCls,ep=void 0===ed?"rc-menu":ed,em=e.rootClassName,eb=e.style,ey=e.className,eh=e.tabIndex,eg=e.items,eZ=e.children,eC=e.direction,eE=e.id,ew=e.mode,ek=void 0===ew?"vertical":ew,eR=e.inlineCollapsed,eM=e.disabled,eN=e.disabledOverflow,eP=e.subMenuOpenDelay,eS=e.subMenuCloseDelay,ex=e.forceSubMenuRender,eK=e.defaultOpenKeys,eO=e.openKeys,eA=e.activeKey,eT=e.defaultActiveFirst,eL=e.selectable,eD=void 0===eL||eL,eF=e.multiple,ej=void 0!==eF&&eF,eB=e.defaultSelectedKeys,eW=e.selectedKeys,eH=e.onSelect,eY=e.onDeselect,eq=e.inlineIndent,eX=e.motion,eG=e.defaultMotions,eQ=e.triggerSubMenuAction,eU=e.builtinPlacements,eJ=e.itemIcon,e$=e.expandIcon,e0=e.overflowedIndicator,e1=void 0===e0?"...":e0,e2=e.overflowedIndicatorPopupClassName,e4=e.getPopupContainer,e5=e.onClick,e6=e.onOpenChange,e9=e.onKeyDown,e7=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),e8=e._internalRenderSubMenuItem,e3=e._internalComponents,ne=(0,a.Z)(e,eV),nn=m.useMemo(function(){return[e_(eZ,eg,ez,e3),e_(eZ,eg,ez,{})]},[eZ,eg,e3]),nt=(0,u.Z)(nn,2),nr=nt[0],no=nt[1],ni=m.useState(!1),nl=(0,u.Z)(ni,2),nu=nl[0],na=nl[1],nc=m.useRef(),ns=(t=(0,d.Z)(eE,{value:eE}),v=(c=(0,u.Z)(t,2))[0],h=c[1],m.useEffect(function(){U+=1;var e="".concat(Q,"-").concat(U);h("rc-menu-uuid-".concat(e))},[]),v),nf="rtl"===eC,nd=(0,d.Z)(eK,{value:eO,postState:function(e){return e||ez}}),np=(0,u.Z)(nd,2),nv=np[0],nm=np[1],nb=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function t(){nm(e),null==e6||e6(e)}n?(0,b.flushSync)(t):t()},ny=m.useState(nv),nh=(0,u.Z)(ny,2),ng=nh[0],nZ=nh[1],nC=m.useRef(!1),nE=m.useMemo(function(){return("inline"===ek||"vertical"===ek)&&eR?["vertical",eR]:[ek,!1]},[ek,eR]),nw=(0,u.Z)(nE,2),nk=nw[0],nR=nw[1],nM="inline"===nk,nN=m.useState(nk),nP=(0,u.Z)(nN,2),nS=nP[0],nx=nP[1],nI=m.useState(nR),nK=(0,u.Z)(nI,2),nO=nK[0],nA=nK[1];m.useEffect(function(){nx(nk),nA(nR),nC.current&&(nM?nm(ng):nb(ez))},[nk,nR]);var nT=m.useState(0),nL=(0,u.Z)(nT,2),nD=nL[0],n_=nL[1],nV=nD>=nr.length-1||"horizontal"!==nS||eN;m.useEffect(function(){nM&&nZ(nv)},[nv]),m.useEffect(function(){return nC.current=!0,function(){nC.current=!1}},[]);var nz=(g=m.useState({}),Z=(0,u.Z)(g,2)[1],C=(0,m.useRef)(new Map),E=(0,m.useRef)(new Map),R=m.useState([]),N=(M=(0,u.Z)(R,2))[0],x=M[1],I=(0,m.useRef)(0),K=(0,m.useRef)(!1),J=function(){K.current||Z({})},$=(0,m.useCallback)(function(e,n){var t=q(n);E.current.set(t,e),C.current.set(e,t),I.current+=1;var r=I.current;Promise.resolve().then(function(){r===I.current&&J()})},[]),ee=(0,m.useCallback)(function(e,n){var t=q(n);E.current.delete(t),C.current.delete(e)},[]),en=(0,m.useCallback)(function(e){x(e)},[]),et=(0,m.useCallback)(function(e,n){var t=(C.current.get(e)||"").split(Y);return n&&N.includes(t[0])&&t.unshift(X),t},[N]),er=(0,m.useCallback)(function(e,n){return e.filter(function(e){return void 0!==e}).some(function(e){return et(e,!0).includes(n)})},[et]),eo=(0,m.useCallback)(function(e){var n="".concat(C.current.get(e)).concat(Y),t=new Set;return(0,l.Z)(E.current.keys()).forEach(function(e){e.startsWith(n)&&t.add(E.current.get(e))}),t},[]),m.useEffect(function(){return function(){K.current=!0}},[]),{registerPath:$,unregisterPath:ee,refreshOverflowKeys:en,isSubPathKey:er,getKeyPath:et,getKeys:function(){var e=(0,l.Z)(C.current.keys());return N.length&&e.push(X),e},getSubPathKeys:eo}),nF=nz.registerPath,nj=nz.unregisterPath,nB=nz.refreshOverflowKeys,nW=nz.isSubPathKey,nH=nz.getKeyPath,nY=nz.getKeys,nq=nz.getSubPathKeys,nX=m.useMemo(function(){return{registerPath:nF,unregisterPath:nj}},[nF,nj]),nG=m.useMemo(function(){return{isSubPathKey:nW}},[nW]);m.useEffect(function(){nB(nV?ez:nr.slice(nD+1).map(function(e){return e.key}))},[nD,nV]);var nQ=(0,d.Z)(eA||eT&&(null===(es=nr[0])||void 0===es?void 0:es.key),{value:eA}),nU=(0,u.Z)(nQ,2),nJ=nU[0],n$=nU[1],n0=G(function(e){n$(e)}),n1=G(function(){n$(void 0)});(0,m.useImperativeHandle)(n,function(){return{list:nc.current,focus:function(e){var n,t,r=H(nY(),ns),o=r.elements,i=r.key2element,l=r.element2key,u=B(nc.current,o),a=null!=nJ?nJ:u[0]?l.get(u[0]):null===(n=nr.find(function(e){return!e.props.disabled}))||void 0===n?void 0:n.key,c=i.get(a);a&&c&&(null==c||null===(t=c.focus)||void 0===t||t.call(c,e))}}});var n2=(0,d.Z)(eB||[],{value:eW,postState:function(e){return Array.isArray(e)?e:null==e?ez:[e]}}),n4=(0,u.Z)(n2,2),n5=n4[0],n6=n4[1],n9=function(e){if(eD){var n,t=e.key,r=n5.includes(t);n6(n=ej?r?n5.filter(function(e){return e!==t}):[].concat((0,l.Z)(n5),[t]):[t]);var o=(0,i.Z)((0,i.Z)({},e),{},{selectedKeys:n});r?null==eY||eY(o):null==eH||eH(o)}!ej&&nv.length&&"inline"!==nS&&nb(ez)},n7=G(function(e){null==e5||e5(ea(e)),n9(e)}),n8=G(function(e,n){var t=nv.filter(function(n){return n!==e});if(n)t.push(e);else if("inline"!==nS){var r=nq(e);t=t.filter(function(e){return!r.has(e)})}(0,p.Z)(nv,t,!0)||nb(t,!0)}),n3=(ei=function(e,n){var t=null!=n?n:!nv.includes(e);n8(e,t)},el=m.useRef(),(eu=m.useRef()).current=nJ,ec=function(){O.Z.cancel(el.current)},m.useEffect(function(){return function(){ec()}},[]),function(e){var n=e.which;if([].concat(j,[_,V,z,F]).includes(n)){var t=nY(),r=H(t,ns),i=r,l=i.elements,u=i.key2element,a=i.element2key,c=function(e,n){for(var t=e||document.activeElement;t;){if(n.has(t))return t;t=t.parentElement}return null}(u.get(nJ),l),s=a.get(c),f=function(e,n,t,r){var i,l,u,a,c="prev",s="next",f="children",d="parent";if("inline"===e&&r===_)return{inlineTrigger:!0};var p=(i={},(0,o.Z)(i,L,c),(0,o.Z)(i,D,s),i),v=(l={},(0,o.Z)(l,A,t?s:c),(0,o.Z)(l,T,t?c:s),(0,o.Z)(l,D,f),(0,o.Z)(l,_,f),l),m=(u={},(0,o.Z)(u,L,c),(0,o.Z)(u,D,s),(0,o.Z)(u,_,f),(0,o.Z)(u,V,d),(0,o.Z)(u,A,t?f:d),(0,o.Z)(u,T,t?d:f),u);switch(null===(a=({inline:p,horizontal:v,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m})["".concat(e).concat(n?"":"Sub")])||void 0===a?void 0:a[r]){case c:return{offset:-1,sibling:!0};case s:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case f:return{offset:1,sibling:!1};default:return null}}(nS,1===nH(s,!0).length,nf,n);if(!f&&n!==z&&n!==F)return;(j.includes(n)||[z,F].includes(n))&&e.preventDefault();var d=function(e){if(e){var n=e,t=e.querySelector("a");null!=t&&t.getAttribute("href")&&(n=t);var r=a.get(e);n$(r),ec(),el.current=(0,O.Z)(function(){eu.current===r&&n.focus()})}};if([z,F].includes(n)||f.sibling||!c){var p,v=B(p=c&&"inline"!==nS?function(e){for(var n=e;n;){if(n.getAttribute("data-menu-list"))return n;n=n.parentElement}return null}(c):nc.current,l);d(n===z?v[0]:n===F?v[v.length-1]:W(p,l,c,f.offset))}else if(f.inlineTrigger)ei(s);else if(f.offset>0)ei(s,!0),ec(),el.current=(0,O.Z)(function(){r=H(t,ns);var e=c.getAttribute("aria-controls");d(W(document.getElementById(e),r.elements))},5);else if(f.offset<0){var m=nH(s,!0),b=m[m.length-2],y=u.get(b);ei(b,!1),d(y)}}null==e9||e9(e)});m.useEffect(function(){na(!0)},[]);var te=m.useMemo(function(){return{_internalRenderMenuItem:e7,_internalRenderSubMenuItem:e8}},[e7,e8]),tn="horizontal"!==nS||eN?nr:nr.map(function(e,n){return m.createElement(w,{key:e.key,overflowDisabled:n>nD},e)}),tt=m.createElement(f.Z,(0,r.Z)({id:eE,ref:nc,prefixCls:"".concat(ep,"-overflow"),component:"ul",itemComponent:ev,className:s()(ep,"".concat(ep,"-root"),"".concat(ep,"-").concat(nS),ey,(ef={},(0,o.Z)(ef,"".concat(ep,"-inline-collapsed"),nO),(0,o.Z)(ef,"".concat(ep,"-rtl"),nf),ef),em),dir:eC,style:eb,role:"menu",tabIndex:void 0===eh?0:eh,data:tn,renderRawItem:function(e){return e},renderRawRest:function(e){var n=e.length,t=n?nr.slice(-n):null;return m.createElement(eI,{eventKey:X,title:e1,disabled:nV,internalPopupClose:0===n,popupClassName:e2},t)},maxCount:"horizontal"!==nS||eN?f.Z.INVALIDATE:f.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){n_(e)},onKeyDown:n3},ne));return m.createElement(S.Provider,{value:te},m.createElement(y.Provider,{value:ns},m.createElement(w,{prefixCls:ep,rootClassName:em,mode:nS,openKeys:nv,rtl:nf,disabled:eM,motion:nu?eX:null,defaultMotions:nu?eG:null,activeKey:nJ,onActive:n0,onInactive:n1,selectedKeys:n5,inlineIndent:void 0===eq?24:eq,subMenuOpenDelay:void 0===eP?.1:eP,subMenuCloseDelay:void 0===eS?.1:eS,forceSubMenuRender:ex,builtinPlacements:eU,triggerSubMenuAction:void 0===eQ?"hover":eQ,getPopupContainer:e4,itemIcon:eJ,expandIcon:e$,onItemClick:n7,onOpenChange:n8},m.createElement(P.Provider,{value:nG},tt),m.createElement("div",{style:{display:"none"},"aria-hidden":!0},m.createElement(k.Provider,{value:nX},no)))))});eF.Item=ev,eF.SubMenu=eI,eF.ItemGroup=eL,eF.Divider=eO;var ej=eF}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8906.6e973c9ef3886e00.js b/dbgpt/app/static/web/_next/static/chunks/8906.c078b47d8db04f8f.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/8906.6e973c9ef3886e00.js rename to dbgpt/app/static/web/_next/static/chunks/8906.c078b47d8db04f8f.js index db5dfc9de..fdcccb960 100644 --- a/dbgpt/app/static/web/_next/static/chunks/8906.6e973c9ef3886e00.js +++ b/dbgpt/app/static/web/_next/static/chunks/8906.c078b47d8db04f8f.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8906],{38906:function(e,t,s){s.r(t),s.d(t,{conf:function(){return o},language:function(){return r}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var o={comments:{blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"(*",close:"*)"},{open:"<*",close:"*>"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}]},r={defaultToken:"",tokenPostfix:".m3",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["AND","ANY","ARRAY","AS","BEGIN","BITS","BRANDED","BY","CASE","CONST","DIV","DO","ELSE","ELSIF","END","EVAL","EXCEPT","EXCEPTION","EXIT","EXPORTS","FINALLY","FOR","FROM","GENERIC","IF","IMPORT","IN","INTERFACE","LOCK","LOOP","METHODS","MOD","MODULE","NOT","OBJECT","OF","OR","OVERRIDES","PROCEDURE","RAISE","RAISES","READONLY","RECORD","REF","REPEAT","RETURN","REVEAL","SET","THEN","TO","TRY","TYPE","TYPECASE","UNSAFE","UNTIL","UNTRACED","VALUE","VAR","WHILE","WITH"],reservedConstNames:["ABS","ADR","ADRSIZE","BITSIZE","BYTESIZE","CEILING","DEC","DISPOSE","FALSE","FIRST","FLOAT","FLOOR","INC","ISTYPE","LAST","LOOPHOLE","MAX","MIN","NARROW","NEW","NIL","NUMBER","ORD","ROUND","SUBARRAY","TRUE","TRUNC","TYPECODE","VAL"],reservedTypeNames:["ADDRESS","ANY","BOOLEAN","CARDINAL","CHAR","EXTENDED","INTEGER","LONGCARD","LONGINT","LONGREAL","MUTEX","NULL","REAL","REFANY","ROOT","TEXT"],operators:["+","-","*","/","&","^","."],relations:["=","#","<","<=",">",">=","<:",":"],delimiters:["|","..","=>",",",";",":="],symbols:/[>=<#.,:;+\-*/&^]+/,escapes:/\\(?:[\\fnrt"']|[0-7]{3})/,tokenizer:{root:[[/_\w*/,"invalid"],[/[a-zA-Z][a-zA-Z0-9_]*/,{cases:{"@keywords":{token:"keyword.$0"},"@reservedConstNames":{token:"constant.reserved.$0"},"@reservedTypeNames":{token:"type.reserved.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[0-9]+\.[0-9]+(?:[DdEeXx][\+\-]?[0-9]+)?/,"number.float"],[/[0-9]+(?:\_[0-9a-fA-F]+)?L?/,"number"],[/@symbols/,{cases:{"@operators":"operators","@relations":"operators","@delimiters":"delimiter","@default":"invalid"}}],[/'[^\\']'/,"string.char"],[/(')(@escapes)(')/,["string.char","string.escape","string.char"]],[/'/,"invalid"],[/"([^"\\]|\\.)*$/,"invalid"],[/"/,"string.text","@text"]],text:[[/[^\\"]+/,"string.text"],[/@escapes/,"string.escape"],[/\\./,"invalid"],[/"/,"string.text","@pop"]],comment:[[/\(\*/,"comment","@push"],[/\*\)/,"comment","@pop"],[/./,"comment"]],pragma:[[/<\*/,"keyword.pragma","@push"],[/\*>/,"keyword.pragma","@pop"],[/./,"keyword.pragma"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/<\*/,"keyword.pragma","@pragma"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8914-e39d5b3463812745.js b/dbgpt/app/static/web/_next/static/chunks/8914-e39d5b3463812745.js new file mode 100644 index 000000000..03282508a --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/8914-e39d5b3463812745.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8914],{91321:function(t,e,c){c.d(e,{Z:function(){return h}});var n=c(87462),a=c(45987),r=c(67294),o=c(16165),l=["type","children"],i=new Set;function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,c=t[e];if("string"==typeof c&&c.length&&!i.has(c)){var n=document.createElement("script");n.setAttribute("src",c),n.setAttribute("data-namespace",c),t.length>e+1&&(n.onload=function(){f(t,e+1)},n.onerror=function(){f(t,e+1)}),i.add(c),document.body.appendChild(n)}}function h(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.scriptUrl,c=t.extraCommonProps,i=void 0===c?{}:c;e&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(e)?f(e.reverse()):f([e]));var h=r.forwardRef(function(t,e){var c=t.type,f=t.children,h=(0,a.Z)(t,l),u=null;return t.type&&(u=r.createElement("use",{xlinkHref:"#".concat(c)})),f&&(u=f),r.createElement(o.Z,(0,n.Z)({},i,h,{ref:e}),u)});return h.displayName="Iconfont",h}},6321:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(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"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},41156:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},90389:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(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"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},50067:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(67294),r={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"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},52645:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},9020:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(67294),r={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"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},13179:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z"}}]},name:"deployment-unit",theme:"outlined"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},58638:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},31545:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(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"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},27595:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(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"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},27329:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(67294),r={icon:function(t,e){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:e}},{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:t}},{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:t}}]}},name:"file-word",theme:"twotone"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},83266:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},9641:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 100c-61.8 0-112 50.2-112 112 0 47.7 29.9 88.5 72 104.6v27.6L512 601.4 312 344.2v-27.6c42.1-16.1 72-56.9 72-104.6 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 50.6 33.8 93.5 80 107.3v34.4c0 9.7 3.3 19.3 9.3 27L476 672.3v33.6c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-33.6l226.7-291.6c6-7.7 9.3-17.3 9.3-27v-34.4c46.2-13.8 80-56.7 80-107.3 0-61.8-50.2-112-112-112zM224 212a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm336 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm192-552a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"fork",theme:"outlined"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},68346:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(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"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},64082:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(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"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},38545:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(67294),r={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"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},3089:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},92962:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(67294),r={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"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},30159:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(67294),r={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},87740:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},27496:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},94668:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},18754:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(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"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},28058:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(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"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})},65886:function(t,e,c){c.d(e,{Z:function(){return l}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.9-8.1-195-3-195-3s87.4 55.6 52.4 154.7c-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6z"}}]},name:"yuque",theme:"filled"},o=c(13401),l=a.forwardRef(function(t,e){return a.createElement(o.Z,(0,n.Z)({},t,{ref:e,icon:r}))})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8946.38fcf295f5b45a3a.js b/dbgpt/app/static/web/_next/static/chunks/8946.9d57ff3c88006df3.js similarity index 96% rename from dbgpt/app/static/web/_next/static/chunks/8946.38fcf295f5b45a3a.js rename to dbgpt/app/static/web/_next/static/chunks/8946.9d57ff3c88006df3.js index e21002736..bf933b30c 100644 --- a/dbgpt/app/static/web/_next/static/chunks/8946.38fcf295f5b45a3a.js +++ b/dbgpt/app/static/web/_next/static/chunks/8946.9d57ff3c88006df3.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8946],{68946:function(t,r,e){e.r(r),e.d(r,{conf:function(){return s},language:function(){return n}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var s={brackets:[],autoClosingPairs:[],surroundingPairs:[]},n={keywords:[],typeKeywords:[],tokenPostfix:".csp",operators:[],symbols:/[=>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,i=Object.getOwnPropertySymbols(e);at.indexOf(i[a])&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]]);return n};let y=a.forwardRef((e,t)=>{let n;let{prefixCls:i,children:r,actions:o,extra:c,styles:d,className:m,classNames:f,colStyle:g}=e,p=b(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:u,itemLayout:y}=(0,a.useContext)($),{getPrefixCls:x,list:S}=(0,a.useContext)(s.E_),E=e=>{var t,n;return l()(null===(n=null===(t=null==S?void 0:S.item)||void 0===t?void 0:t.classNames)||void 0===n?void 0:n[e],null==f?void 0:f[e])},z=e=>{var t,n;return Object.assign(Object.assign({},null===(n=null===(t=null==S?void 0:S.item)||void 0===t?void 0:t.styles)||void 0===n?void 0:n[e]),null==d?void 0:d[e])},k=x("list",i),w=o&&o.length>0&&a.createElement("ul",{className:l()(`${k}-item-action`,E("actions")),key:"actions",style:z("actions")},o.map((e,t)=>a.createElement("li",{key:`${k}-item-action-${t}`},e,t!==o.length-1&&a.createElement("em",{className:`${k}-item-action-split`})))),C=u?"div":"li",Z=a.createElement(C,Object.assign({},p,u?{}:{ref:t},{className:l()(`${k}-item`,{[`${k}-item-no-flex`]:!("vertical"===y?!!c:(n=!1,a.Children.forEach(r,e=>{"string"==typeof e&&(n=!0)}),!(n&&a.Children.count(r)>1)))},m)}),"vertical"===y&&c?[a.createElement("div",{className:`${k}-item-main`,key:"content"},r,w),a.createElement("div",{className:l()(`${k}-item-extra`,E("extra")),key:"extra",style:z("extra")},c)]:[r,w,(0,h.Tm)(c,{key:"extra"})]);return u?a.createElement(v.Z,{ref:t,flex:1,style:g},Z):Z});y.Meta=e=>{var{prefixCls:t,className:n,avatar:i,title:r,description:o}=e,c=b(e,["prefixCls","className","avatar","title","description"]);let{getPrefixCls:d}=(0,a.useContext)(s.E_),m=d("list",t),f=l()(`${m}-item-meta`,n),g=a.createElement("div",{className:`${m}-item-meta-content`},r&&a.createElement("h4",{className:`${m}-item-meta-title`},r),o&&a.createElement("div",{className:`${m}-item-meta-description`},o));return a.createElement("div",Object.assign({},c,{className:f}),i&&a.createElement("div",{className:`${m}-item-meta-avatar`},i),(r||o)&&g)};var x=n(47648),S=n(14747),E=n(83559),z=n(87893);let k=e=>{let{listBorderedCls:t,componentCls:n,paddingLG:i,margin:a,itemPaddingSM:r,itemPaddingLG:l,marginLG:o,borderRadiusLG:c}=e;return{[t]:{border:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:c,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:i},[`${n}-pagination`]:{margin:`${(0,x.bf)(a)} ${(0,x.bf)(o)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:r}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:l}}}},w=e=>{let{componentCls:t,screenSM:n,screenMD:i,marginLG:a,marginSM:r,margin:l}=e;return{[`@media screen and (max-width:${i}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:a}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:a}}}},[`@media screen and (max-width: ${n}px)`]:{[t]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:r}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${(0,x.bf)(l)}`}}}}}},C=e=>{let{componentCls:t,antCls:n,controlHeight:i,minHeight:a,paddingSM:r,marginLG:l,padding:o,itemPadding:c,colorPrimary:s,itemPaddingSM:d,itemPaddingLG:m,paddingXS:f,margin:g,colorText:p,colorTextDescription:u,motionDurationSlow:$,lineWidth:h,headerBg:v,footerBg:b,emptyTextPadding:y,metaMarginBottom:E,avatarMarginRight:z,titleMarginBottom:k,descriptionFontSize:w}=e;return{[t]:Object.assign(Object.assign({},(0,S.Wf)(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:v},[`${t}-footer`]:{background:b},[`${t}-header, ${t}-footer`]:{paddingBlock:r},[`${t}-pagination`]:{marginBlockStart:l,[`${n}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:a,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:c,color:p,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:z},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:p},[`${t}-item-meta-title`]:{margin:`0 0 ${(0,x.bf)(e.marginXXS)} 0`,color:p,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:p,transition:`all ${$}`,"&:hover":{color:s}}},[`${t}-item-meta-description`]:{color:u,fontSize:w,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${(0,x.bf)(f)}`,color:u,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:h,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${(0,x.bf)(o)} 0`,color:u,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:y,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:g,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:l},[`${t}-item-meta`]:{marginBlockEnd:E,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:k,color:p,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:o,marginInlineStart:"auto","> li":{padding:`0 ${(0,x.bf)(o)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:i},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${(0,x.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:m},[`${t}-sm ${t}-item`]:{padding:d},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}};var Z=(0,E.I$)("List",e=>{let t=(0,z.IX)(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[C(t),k(t),w(t)]},e=>({contentWidth:220,itemPadding:`${(0,x.bf)(e.paddingContentVertical)} 0`,itemPaddingSM:`${(0,x.bf)(e.paddingContentVerticalSM)} ${(0,x.bf)(e.paddingContentHorizontal)}`,itemPaddingLG:`${(0,x.bf)(e.paddingContentVerticalLG)} ${(0,x.bf)(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize})),O=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 a=0,i=Object.getOwnPropertySymbols(e);at.indexOf(i[a])&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]]);return n};function H(e){var{pagination:t=!1,prefixCls:n,bordered:r=!1,split:h=!0,className:v,rootClassName:b,style:y,children:x,itemLayout:S,loadMore:E,grid:z,dataSource:k=[],size:w,header:C,footer:H,loading:N=!1,rowKey:M,renderItem:B,locale:j}=e,I=O(e,["pagination","prefixCls","bordered","split","className","rootClassName","style","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]);let V=t&&"object"==typeof t?t:{},[L,W]=a.useState(V.defaultCurrent||1),[P,R]=a.useState(V.defaultPageSize||10),{getPrefixCls:T,renderEmpty:A,direction:X,list:_}=a.useContext(s.E_),G=e=>(n,i)=>{var a;W(n),R(i),t&&(null===(a=null==t?void 0:t[e])||void 0===a||a.call(t,n,i))},F=G("onChange"),J=G("onShowSizeChange"),q=(e,t)=>{let n;return B?((n="function"==typeof M?M(e):M?e[M]:e.key)||(n=`list-item-${t}`),a.createElement(a.Fragment,{key:n},B(e,t))):null},D=T("list",n),[K,Y,Q]=Z(D),U=N;"boolean"==typeof U&&(U={spinning:U});let ee=!!(null==U?void 0:U.spinning),et=(0,m.Z)(w),en="";switch(et){case"large":en="lg";break;case"small":en="sm"}let ei=l()(D,{[`${D}-vertical`]:"vertical"===S,[`${D}-${en}`]:en,[`${D}-split`]:h,[`${D}-bordered`]:r,[`${D}-loading`]:ee,[`${D}-grid`]:!!z,[`${D}-something-after-last-item`]:!!(E||t||H),[`${D}-rtl`]:"rtl"===X},null==_?void 0:_.className,v,b,Y,Q),ea=(0,o.Z)({current:1,total:0},{total:k.length,current:L,pageSize:P},t||{}),er=Math.ceil(ea.total/ea.pageSize);ea.current>er&&(ea.current=er);let el=t&&a.createElement("div",{className:l()(`${D}-pagination`)},a.createElement(p.Z,Object.assign({align:"end"},ea,{onChange:F,onShowSizeChange:J}))),eo=(0,i.Z)(k);t&&k.length>(ea.current-1)*ea.pageSize&&(eo=(0,i.Z)(k).splice((ea.current-1)*ea.pageSize,ea.pageSize));let ec=Object.keys(z||{}).some(e=>["xs","sm","md","lg","xl","xxl"].includes(e)),es=(0,g.Z)(ec),ed=a.useMemo(()=>{for(let e=0;e{if(!z)return;let e=ed&&z[ed]?z[ed]:z.column;if(e)return{width:`${100/e}%`,maxWidth:`${100/e}%`}},[JSON.stringify(z),ed]),ef=ee&&a.createElement("div",{style:{minHeight:53}});if(eo.length>0){let e=eo.map((e,t)=>q(e,t));ef=z?a.createElement(f.Z,{gutter:z.gutter},a.Children.map(e,e=>a.createElement("div",{key:null==e?void 0:e.key,style:em},e))):a.createElement("ul",{className:`${D}-items`},e)}else x||ee||(ef=a.createElement("div",{className:`${D}-empty-text`},(null==j?void 0:j.emptyText)||(null==A?void 0:A("List"))||a.createElement(d.Z,{componentName:"List"})));let eg=ea.position||"bottom",ep=a.useMemo(()=>({grid:z,itemLayout:S}),[JSON.stringify(z),S]);return K(a.createElement($.Provider,{value:ep},a.createElement("div",Object.assign({style:Object.assign(Object.assign({},null==_?void 0:_.style),y),className:ei},I),("top"===eg||"both"===eg)&&el,C&&a.createElement("div",{className:`${D}-header`},C),a.createElement(u.Z,Object.assign({},U),ef,x),H&&a.createElement("div",{className:`${D}-footer`},H),E||("bottom"===eg||"both"===eg)&&el)))}H.Item=y;var N=H}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/911.4543906e8db7280b.js b/dbgpt/app/static/web/_next/static/chunks/911.a76f87e6d6593358.js similarity index 97% rename from dbgpt/app/static/web/_next/static/chunks/911.4543906e8db7280b.js rename to dbgpt/app/static/web/_next/static/chunks/911.a76f87e6d6593358.js index 872abaf54..2faeaebc9 100644 --- a/dbgpt/app/static/web/_next/static/chunks/911.4543906e8db7280b.js +++ b/dbgpt/app/static/web/_next/static/chunks/911.a76f87e6d6593358.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[911],{20911:function(e,n,t){t.r(n),t.d(n,{conf:function(){return o},language:function(){return s}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var o={comments:{lineComment:"--",blockComment:["--[[","]]"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},s={defaultToken:"",tokenPostfix:".lua",keywords:["and","break","do","else","elseif","end","false","for","function","goto","if","in","local","nil","not","or","repeat","return","then","true","until","while"],brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],operators:["+","-","*","/","%","^","#","==","~=","<=",">=","<",">","=",";",":",",",".","..","..."],symbols:/[=>{let t=!0===l.wrap?"wrap":l.wrap;return{[`${e}-wrap-${t}`]:t&&d.includes(t)}},p=(e,l)=>{let t={};return m.forEach(n=>{t[`${e}-align-${n}`]=l.align===n}),t[`${e}-align-stretch`]=!l.align&&!!l.vertical,t},h=(e,l)=>{let t={};return f.forEach(n=>{t[`${e}-justify-${n}`]=l.justify===n}),t},x=e=>{let{componentCls:l}=e;return{[l]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},g=e=>{let{componentCls:l}=e;return{[l]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},b=e=>{let{componentCls:l}=e,t={};return d.forEach(e=>{t[`${l}-wrap-${e}`]={flexWrap:e}}),t},y=e=>{let{componentCls:l}=e,t={};return m.forEach(e=>{t[`${l}-align-${e}`]={alignItems:e}}),t},j=e=>{let{componentCls:l}=e,t={};return f.forEach(e=>{t[`${l}-justify-${e}`]={justifyContent:e}}),t};var w=(0,c.I$)("Flex",e=>{let{paddingXS:l,padding:t,paddingLG:n}=e,r=(0,u.IX)(e,{flexGapSM:l,flexGap:t,flexGapLG:n});return[x(r),g(r),b(r),y(r),j(r)]},()=>({}),{resetStyle:!1}),_=function(e,l){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>l.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rl.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(t[n[r]]=e[n[r]]);return t};let C=n.forwardRef((e,l)=>{let{prefixCls:t,rootClassName:r,className:c,style:u,flex:d,gap:f,children:m,vertical:x=!1,component:g="div"}=e,b=_(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:y,direction:j,getPrefixCls:C}=n.useContext(s.E_),Z=C("flex",t),[k,N,S]=w(Z),E=null!=x?x:null==y?void 0:y.vertical,$=a()(c,r,null==y?void 0:y.className,Z,N,S,a()(Object.assign(Object.assign(Object.assign({},v(Z,e)),p(Z,e)),h(Z,e))),{[`${Z}-rtl`]:"rtl"===j,[`${Z}-gap-${f}`]:(0,i.n)(f),[`${Z}-vertical`]:E}),O=Object.assign(Object.assign({},null==y?void 0:y.style),u);return d&&(O.flex=d),f&&!(0,i.n)(f)&&(O.gap=f),k(n.createElement(g,Object.assign({ref:l,className:$,style:O},(0,o.Z)(b,["justify","wrap","align"])),m))});var Z=C},66309:function(e,l,t){t.d(l,{Z:function(){return $}});var n=t(67294),r=t(93967),a=t.n(r),o=t(98423),i=t(98787),s=t(69760),c=t(96159),u=t(45353),d=t(53124),f=t(47648),m=t(10274),v=t(14747),p=t(87893),h=t(83559);let x=e=>{let{paddingXXS:l,lineWidth:t,tagPaddingHorizontal:n,componentCls:r,calc:a}=e,o=a(n).sub(t).equal(),i=a(l).sub(t).equal();return{[r]:Object.assign(Object.assign({},(0,v.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${r}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${r}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${r}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${r}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},g=e=>{let{lineWidth:l,fontSizeIcon:t,calc:n}=e,r=e.fontSizeSM,a=(0,p.IX)(e,{tagFontSize:r,tagLineHeight:(0,f.bf)(n(e.lineHeightSM).mul(r).equal()),tagIconSize:n(t).sub(n(l).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},b=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,h.I$)("Tag",e=>{let l=g(e);return x(l)},b),j=function(e,l){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>l.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rl.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(t[n[r]]=e[n[r]]);return t};let w=n.forwardRef((e,l)=>{let{prefixCls:t,style:r,className:o,checked:i,onChange:s,onClick:c}=e,u=j(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:m}=n.useContext(d.E_),v=f("tag",t),[p,h,x]=y(v),g=a()(v,`${v}-checkable`,{[`${v}-checkable-checked`]:i},null==m?void 0:m.className,o,h,x);return p(n.createElement("span",Object.assign({},u,{ref:l,style:Object.assign(Object.assign({},r),null==m?void 0:m.style),className:g,onClick:e=>{null==s||s(!i),null==c||c(e)}})))});var _=t(98719);let C=e=>(0,_.Z)(e,(l,t)=>{let{textColor:n,lightBorderColor:r,lightColor:a,darkColor:o}=t;return{[`${e.componentCls}${e.componentCls}-${l}`]:{color:n,background:a,borderColor:r,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Z=(0,h.bk)(["Tag","preset"],e=>{let l=g(e);return C(l)},b);let k=(e,l,t)=>{let n=function(e){if("string"!=typeof e)return e;let l=e.charAt(0).toUpperCase()+e.slice(1);return l}(t);return{[`${e.componentCls}${e.componentCls}-${l}`]:{color:e[`color${t}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var N=(0,h.bk)(["Tag","status"],e=>{let l=g(e);return[k(l,"success","Success"),k(l,"processing","Info"),k(l,"error","Error"),k(l,"warning","Warning")]},b),S=function(e,l){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>l.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rl.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(t[n[r]]=e[n[r]]);return t};let E=n.forwardRef((e,l)=>{let{prefixCls:t,className:r,rootClassName:f,style:m,children:v,icon:p,color:h,onClose:x,bordered:g=!0,visible:b}=e,j=S(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:_,tag:C}=n.useContext(d.E_),[k,E]=n.useState(!0),$=(0,o.Z)(j,["closeIcon","closable"]);n.useEffect(()=>{void 0!==b&&E(b)},[b]);let O=(0,i.o2)(h),M=(0,i.yT)(h),R=O||M,z=Object.assign(Object.assign({backgroundColor:h&&!R?h:void 0},null==C?void 0:C.style),m),I=w("tag",t),[V,P,H]=y(I),L=a()(I,null==C?void 0:C.className,{[`${I}-${h}`]:R,[`${I}-has-color`]:h&&!R,[`${I}-hidden`]:!k,[`${I}-rtl`]:"rtl"===_,[`${I}-borderless`]:!g},r,f,P,H),T=e=>{e.stopPropagation(),null==x||x(e),e.defaultPrevented||E(!1)},[,B]=(0,s.Z)((0,s.w)(e),(0,s.w)(C),{closable:!1,closeIconRender:e=>{let l=n.createElement("span",{className:`${I}-close-icon`,onClick:T},e);return(0,c.wm)(e,l,e=>({onClick:l=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,l),T(l)},className:a()(null==e?void 0:e.className,`${I}-close-icon`)}))}}),A="function"==typeof j.onClick||v&&"a"===v.type,D=p||null,F=D?n.createElement(n.Fragment,null,D,v&&n.createElement("span",null,v)):v,W=n.createElement("span",Object.assign({},$,{ref:l,className:L,style:z}),F,B,O&&n.createElement(Z,{key:"preset",prefixCls:I}),M&&n.createElement(N,{key:"status",prefixCls:I}));return V(A?n.createElement(u.Z,{component:"Tag"},W):W)});E.CheckableTag=w;var $=E},2440:function(e,l,t){var n=t(25519);l.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},39718:function(e,l,t){var n=t(85893),r=t(19284),a=t(25675),o=t.n(a),i=t(67294);l.Z=(0,i.memo)(e=>{let{width:l,height:t,model:a}=e,s=(0,i.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],l=Object.keys(r.Me);for(let t=0;t{let{width:l,height:t,scene:i}=e,s=(0,o.useCallback)(()=>{switch(i){case"chat_knowledge":return r.je;case"chat_with_db_execute":return r.zM;case"chat_excel":return r.DL;case"chat_with_db_qa":case"chat_dba":return r.RD;case"chat_dashboard":return r.In;case"chat_agent":return r.si;case"chat_normal":return r.O7;default:return}},[i]);return(0,n.jsx)(a.Z,{className:"w-".concat(l||7," h-").concat(t||7),component:s()})}},70065:function(e,l,t){var n=t(91321);let r=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});l.Z=r},77451:function(e,l,t){t.r(l);var n=t(85893),r=t(18102),a=t(76212),o=t(11475),i=t(65654),s=t(34041),c=t(85576),u=t(8232),d=t(93967),f=t.n(d),m=t(67294),v=t(25934),p=t(49264),h=t(67421);let x=e=>{let{value:l,onChange:t,promptList:a}=e,[i,u]=(0,m.useState)(!1),[d,f]=(0,m.useState)(),{t:v}=(0,h.$G)();return(0,m.useEffect)(()=>{if(l){let e=null==a?void 0:a.filter(e=>e.prompt_code===l)[0];f(e)}},[a,l]),(0,n.jsxs)("div",{className:"w-2/5 flex items-center gap-2",children:[(0,n.jsx)(s.default,{className:"w-1/2",placeholder:v("please_select_prompt"),options:a,fieldNames:{label:"prompt_name",value:"prompt_code"},onChange:e=>{let l=null==a?void 0:a.filter(l=>l.prompt_code===e)[0];f(l),null==t||t(e)},value:l,allowClear:!0,showSearch:!0}),d&&(0,n.jsxs)("span",{className:"text-sm text-blue-500 cursor-pointer",onClick:()=>u(!0),children:[(0,n.jsx)(o.Z,{className:"mr-1"}),v("View_details")]}),(0,n.jsx)(c.default,{title:"Prompt ".concat(v("details")),open:i,footer:!1,width:"60%",onCancel:()=>u(!1),children:(0,n.jsx)(r.default,{children:null==d?void 0:d.content})})]})};l.default=e=>{var l,t;let{name:r,initValue:o,modelStrategyOptions:c,resourceTypeOptions:d,updateData:g,classNames:b,promptList:y}=e,{t:j}=(0,h.$G)(),[w]=u.default.useForm(),_=u.default.useWatch("prompt_template",w),C=u.default.useWatch("llm_strategy",w),Z=u.default.useWatch("llm_strategy_value",w),[k,N]=(0,m.useState)(),[S,E]=(0,m.useState)(!1),$=(0,m.useMemo)(()=>(null==o?void 0:o.find(e=>e.agent_name===r))||[],[o,r]),O=(0,m.useRef)([]),{run:M,loading:R,data:z}=(0,i.Z)(async()=>{var e;let[,l]=await (0,a.Vx)((0,a.m9)("priority"));return null!==(e=null==l?void 0:l.map(e=>({label:e,value:e})))&&void 0!==e?e:[]},{manual:!0});return(0,m.useEffect)(()=>{"priority"===C&&M()},[M,C]),(0,m.useEffect)(()=>{var e;let l=w.getFieldsValue();g({agent_name:r,...l,llm_strategy_value:null==l?void 0:null===(e=l.llm_strategy_value)||void 0===e?void 0:e.join(","),resources:O.current})},[w,R,r,_,C,Z,g]),(0,n.jsx)("div",{className:f()(b),children:(0,n.jsxs)(u.default,{style:{width:"100%"},labelCol:{span:4},form:w,initialValues:{llm_strategy:"default",...$,llm_strategy_value:null==$?void 0:null===(l=$.llm_strategy_value)||void 0===l?void 0:l.split(",")},children:[(0,n.jsx)(u.default.Item,{label:j("Prompt"),name:"prompt_template",children:(0,n.jsx)(x,{promptList:y})}),(0,n.jsx)(u.default.Item,{label:j("LLM_strategy"),required:!0,name:"llm_strategy",children:(0,n.jsx)(s.default,{className:"w-1/5",placeholder:j("please_select_LLM_strategy"),options:c,allowClear:!0})}),"priority"===C&&(0,n.jsx)(u.default.Item,{label:j("LLM_strategy_value"),required:!0,name:"llm_strategy_value",children:(0,n.jsx)(s.default,{mode:"multiple",className:"w-2/5",placeholder:j("please_select_LLM_strategy_value"),options:z,allowClear:!0})}),(0,n.jsx)(u.default.Item,{label:j("available_resources"),name:"resources",children:(0,n.jsx)(p.default,{resourceTypeOptions:d,initValue:null==$?void 0:null===(t=$.resources)||void 0===t?void 0:t.map(e=>({...e,uid:(0,v.Z)()})),updateData:e=>{O.current=null==e?void 0:e[1],g({agent_name:r,resources:O.current})},name:r})})]})})}},2856:function(e,l,t){t.r(l);var n=t(85893),r=t(76212),a=t(65654),o=t(8232),i=t(34041),s=t(72269),c=t(93967),u=t.n(c),d=t(67294),f=t(67421);l.default=e=>{let{uid:l,initValue:t,updateData:c,classNames:m,resourceTypeOptions:v,setCurIcon:p}=e,[h]=o.default.useForm(),x=o.default.useWatch("type",h),g=o.default.useWatch("is_dynamic",h),b=o.default.useWatch("value",h),{t:y}=(0,f.$G)(),j=(0,d.useMemo)(()=>(null==v?void 0:v.filter(e=>"all"!==e.value))||[],[v]),{run:w,data:_,loading:C}=(0,a.Z)(async e=>{var l;let[,n]=await (0,r.Vx)((0,r.RX)({type:e}));return h.setFieldsValue({value:(null==t?void 0:t.value)||(null==n?void 0:null===(l=n[0])||void 0===l?void 0:l.key)}),n||[]},{manual:!0});(0,d.useEffect)(()=>{x&&w(x)},[w,x]);let Z=(0,d.useMemo)(()=>(null==_?void 0:_.map(e=>({...e,label:e.label,value:e.key+""})))||[],[_]);return(0,d.useEffect)(()=>{let e=h.getFieldsValue(),t=(null==e?void 0:e.is_dynamic)?"":null==e?void 0:e.value;c({uid:l,...e,value:t})},[l,g,h,c,b,x]),(0,n.jsx)("div",{className:u()("flex flex-1",m),children:(0,n.jsxs)(o.default,{style:{width:"100%"},form:h,labelCol:{span:4},initialValues:{...t},children:[(0,n.jsx)(o.default.Item,{label:y("resource_type"),name:"type",children:(0,n.jsx)(i.default,{className:"w-2/5",options:j,onChange:e=>{p({uid:l,icon:e})}})}),(0,n.jsx)(o.default.Item,{label:y("resource_dynamic"),name:"is_dynamic",children:(0,n.jsx)(s.Z,{style:{background:g?"#1677ff":"#ccc"}})}),!g&&(0,n.jsxs)(n.Fragment,{children:[" ","image_file"===x||"internet"===x||["text_file","excel_file"].includes(x)?null:(0,n.jsx)(o.default.Item,{label:y("resource_value"),name:"value",required:!0,children:(0,n.jsx)(i.default,{placeholder:y("please_select_param"),options:Z,loading:C,className:"w-3/5",allowClear:!0})})]})]})})}},49264:function(e,l,t){t.r(l),t.d(l,{default:function(){return y}});var n=t(85893),r=t(32983),a=t(93967),o=t.n(a),i=e=>{let{className:l,imgUrl:t="/pictures/empty.png"}=e;return(0,n.jsx)("div",{className:o()("m-auto",{className:l}),children:(0,n.jsx)(r.Z,{image:t,imageStyle:{margin:"0 auto",width:"100%",height:"100%"}})})},s=t(82061),c=t(51042),u=t(34041),d=t(91776),f=t(86738),m=t(14726),v=t(96486),p=t(67294),h=t(25934),x=t(83072),g=t(2856),b=t(67421),y=e=>{var l;let{name:t,updateData:r,resourceTypeOptions:a,initValue:y}=e,{t:j}=(0,b.$G)(),w=(0,p.useRef)(y||[]),[_,C]=(0,p.useState)({uid:"",icon:""}),[Z,k]=(0,p.useState)((null==y?void 0:y.map((e,l)=>({...e,icon:e.type,initVal:e})))||[]),[N,S]=(0,p.useState)([...Z]),[E,$]=(0,p.useState)((null==Z?void 0:null===(l=Z[0])||void 0===l?void 0:l.uid)||""),[O,M]=(0,p.useState)(""),R=(e,l)=>{var n,a;null==e||e.stopPropagation();let o=null===(n=w.current)||void 0===n?void 0:n.findIndex(e=>e.uid===E),i=null==Z?void 0:Z.filter(e=>e.uid!==l.uid);w.current=w.current.filter(e=>e.uid!==l.uid)||[],r([t,w.current]),k(i),o===(null==Z?void 0:Z.length)-1&&0!==o&&setTimeout(()=>{var e;$((null==i?void 0:null===(e=i[i.length-1])||void 0===e?void 0:e.uid)||"")},0),$((null==i?void 0:null===(a=i[o])||void 0===a?void 0:a.uid)||"")};return(0,p.useEffect)(()=>{S([...Z])},[Z]),(0,p.useEffect)(()=>{k(Z.map(e=>(null==_?void 0:_.uid)===e.uid?{...e,icon:_.icon}:e))},[_]),(0,n.jsxs)("div",{className:"flex flex-1 h-64 px-3 py-4 border border-[#d6d8da] rounded-md",children:[(0,n.jsxs)("div",{className:"flex flex-col w-40 h-full",children:[(0,n.jsx)(u.default,{options:a,className:"w-full h-8",variant:"borderless",defaultValue:"all",onChange:e=>{var l,t;if("all"===e)S(Z),$((null==Z?void 0:null===(l=Z[0])||void 0===l?void 0:l.uid)||"");else{let l=null==Z?void 0:Z.filter(l=>(null==l?void 0:l.icon)===e);$((null==l?void 0:null===(t=l[0])||void 0===t?void 0:t.uid)||""),S(l)}}}),(0,n.jsx)("div",{className:"flex flex-1 flex-col gap-1 overflow-y-auto",children:null==N?void 0:N.map(e=>(0,n.jsxs)("div",{className:o()("flex h-8 items-center px-3 pl-[0.6rem] rounded-md hover:bg-[#f5faff] hover:dark:bg-[#606264] cursor-pointer relative",{"bg-[#f5faff] dark:bg-[#606264]":e.uid===E}),onClick:()=>{$(e.uid||"")},onMouseEnter:()=>{M(e.uid||"")},onMouseLeave:()=>{M("")},children:[x.resourceTypeIcon[e.icon||""],(0,n.jsx)(d.Z.Text,{className:o()("flex flex-1 items-center text-sm p-0 m-0 mx-2 line-clamp-1",{"text-[#0c75fc]":e.uid===E}),editable:{autoSize:{maxRows:1},onChange:l=>{k(Z.map(t=>t.uid===e.uid?{...t,name:l}:t)),w.current=w.current.map(t=>t.uid===e.uid?{...t,name:l}:t),r([t,w.current])}},ellipsis:{tooltip:!0},children:e.name}),(0,n.jsx)(f.Z,{title:j("want_delete"),onConfirm:l=>{R(l,e)},onCancel:e=>null==e?void 0:e.stopPropagation(),children:(0,n.jsx)(s.Z,{className:"text-sm cursor-pointer absolute right-2 ".concat(O===e.uid?"opacity-100":"opacity-0"),style:{top:"50%",transform:"translateY(-50%)"},onClick:e=>e.stopPropagation()})})]},e.uid))}),(0,n.jsx)(m.ZP,{className:"w-full h-8",type:"dashed",block:!0,icon:(0,n.jsx)(c.Z,{}),onClick:()=>{var e,l;let n=(0,h.Z)();w.current=(0,v.concat)(w.current,[{is_dynamic:!1,type:null===(e=null==a?void 0:a.filter(e=>"all"!==e.value))||void 0===e?void 0:e[0].value,value:"",uid:n,name:j("resource")+" ".concat(w.current.length+1)}].filter(Boolean)),r([t,w.current]),k(e=>{var l,t,r;return[...e,{icon:(null===(l=null==a?void 0:a.filter(e=>"all"!==e.value))||void 0===l?void 0:null===(t=l[0])||void 0===t?void 0:t.value)||"",uid:n,initVal:{is_dynamic:!1,type:null===(r=null==a?void 0:a.filter(e=>"all"!==e.value))||void 0===r?void 0:r[0].value,value:"",uid:n,name:j("resource")+" ".concat(e.length+1)},name:j("resource")+" ".concat(e.length+1)}]}),$(n),C({uid:n,icon:null===(l=null==a?void 0:a.filter(e=>"all"!==e.value))||void 0===l?void 0:l[0].value})},children:j("add_resource")})]}),(0,n.jsx)("div",{className:"flex flex-1 ml-6 ",children:N&&(null==N?void 0:N.length)>0?(0,n.jsx)("div",{className:"flex flex-1",children:null==N?void 0:N.map(e=>(0,n.jsx)(g.default,{classNames:e.uid===E?"block":"hidden",resourceTypeOptions:a,initValue:e.initVal,setCurIcon:C,updateData:e=>{var l;w.current=null===(l=w.current)||void 0===l?void 0:l.map(l=>(null==l?void 0:l.uid)===(null==e?void 0:e.uid)?{...l,...e}:l),r([t,w.current])},uid:e.uid||""},e.uid))}):(0,n.jsx)(i,{className:"w-40 h-40"})})]})}},83072:function(e,l,t){t.r(l),t.d(l,{agentIcon:function(){return y},resourceTypeIcon:function(){return j}});var n=t(85893),r=t(70065),a=t(89035),o=t(48869),i=t(61086),s=t(85175),c=t(97879),u=t(55725),d=t(79383),f=t(13520),m=t(14079),v=t(10524),p=t(56466),h=t(97245),x=t(97175),g=t(16801),b=t(13179);t(67294);let y={CodeEngineer:(0,n.jsx)(a.Z,{}),Reporter:(0,n.jsx)(o.Z,{}),DataScientist:(0,n.jsx)(i.Z,{}),Summarizer:(0,n.jsx)(s.Z,{}),ToolExpert:(0,n.jsx)(r.Z,{type:"icon-plugin",style:{fontSize:17.25,marginTop:2}}),Indicator:(0,n.jsx)(c.Z,{}),Dbass:(0,n.jsx)(u.Z,{})},j={all:(0,n.jsx)(d.Z,{}),database:(0,n.jsx)(f.Z,{}),knowledge:(0,n.jsx)(m.Z,{}),internet:(0,n.jsx)(v.Z,{}),plugin:(0,n.jsx)(p.Z,{}),text_file:(0,n.jsx)(h.Z,{}),excel_file:(0,n.jsx)(x.Z,{}),image_file:(0,n.jsx)(g.Z,{}),awel_flow:(0,n.jsx)(b.Z,{})};l.default=()=>(0,n.jsx)(n.Fragment,{})},56397:function(e,l,t){t.r(l);var n=t(85893),r=t(48218),a=t(58638),o=t(31418),i=t(91776),s=t(20640),c=t.n(s),u=t(67294),d=t(73913);l.default=(0,u.memo)(()=>{var e;let{appInfo:l}=(0,u.useContext)(d.MobileChatContext),{message:t}=o.Z.useApp(),[s,f]=(0,u.useState)(0);if(!(null==l?void 0:l.app_code))return null;let m=async()=>{let e=c()("dingtalk://dingtalkclient/page/link?url=".concat(encodeURIComponent(location.href),"&pc_slide=true"));t[e?"success":"error"](e?"复制成功":"复制失败")};return s>6&&t.info(JSON.stringify(window.navigator.userAgent),2,()=>{f(0)}),(0,n.jsxs)("header",{className:"flex w-full items-center justify-between bg-[rgba(255,255,255,0.9)] border dark:bg-black dark:border-[rgba(255,255,255,0.6)] rounded-xl mx-auto px-4 py-2 mb-4 sticky top-4 z-50 mt-4 shadow-md",children:[(0,n.jsxs)("div",{className:"flex gap-2 items-center",onClick:()=>f(s+1),children:[(0,n.jsx)(r.Z,{scene:(null==l?void 0:null===(e=l.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent",width:8,height:8}),(0,n.jsxs)("div",{className:"flex flex-col ml-2",children:[(0,n.jsx)(i.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==l?void 0:l.app_name}),(0,n.jsx)(i.Z.Text,{className:"text-sm line-clamp-2",children:null==l?void 0:l.app_describe})]})]}),(0,n.jsx)("div",{onClick:m,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,n.jsx)(a.Z,{className:"text-lg"})})]})})},74638:function(e,l,t){t.r(l);var n=t(85893),r=t(76212),a=t(62418),o=t(25519),i=t(30159),s=t(87740),c=t(79090),u=t(52645),d=t(27496),f=t(1375),m=t(65654),v=t(66309),p=t(55241),h=t(74330),x=t(55102),g=t(14726),b=t(93967),y=t.n(b),j=t(39332),w=t(67294),_=t(73913),C=t(7001),Z=t(73749),k=t(97109),N=t(83454);let S=["magenta","orange","geekblue","purple","cyan","green"];l.default=()=>{var e,l;let t=(0,j.useSearchParams)(),b=null!==(l=null==t?void 0:t.get("ques"))&&void 0!==l?l:"",{history:E,model:$,scene:O,temperature:M,resource:R,conv_uid:z,appInfo:I,scrollViewRef:V,order:P,userInput:H,ctrl:L,canAbort:T,canNewChat:B,setHistory:A,setCanNewChat:D,setCarAbort:F,setUserInput:W}=(0,w.useContext)(_.MobileChatContext),[q,G]=(0,w.useState)(!1),[J,U]=(0,w.useState)(!1),X=async e=>{var l,t,n;W(""),L.current=new AbortController;let r={chat_mode:O,model_name:$,user_input:e||H,conv_uid:z,temperature:M,app_code:null==I?void 0:I.app_code,...R&&{select_param:JSON.stringify(R)}};if(E&&E.length>0){let e=null==E?void 0:E.filter(e=>"view"===e.role);P.current=e[e.length-1].order+1}let i=[{role:"human",context:e||H,model_name:$,order:P.current,time_stamp:0},{role:"view",context:"",model_name:$,order:P.current,time_stamp:0,thinking:!0}],s=i.length-1;A([...E,...i]),D(!1);try{await (0,f.L)("".concat(null!==(l=N.env.API_BASE_URL)&&void 0!==l?l:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[o.gp]:null!==(t=(0,a.n5)())&&void 0!==t?t:""},signal:L.current.signal,body:JSON.stringify(r),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===f.a)return},onclose(){var e;null===(e=L.current)||void 0===e||e.abort(),D(!0),F(!1)},onerror(e){throw Error(e)},onmessage:e=>{let l=e.data;try{l=JSON.parse(l).vis}catch(e){l.replaceAll("\\n","\n")}"[DONE]"===l?(D(!0),F(!1)):(null==l?void 0:l.startsWith("[ERROR]"))?(i[s].context=null==l?void 0:l.replace("[ERROR]",""),i[s].thinking=!1,A([...E,...i]),D(!0),F(!1)):(F(!0),i[s].context=l,i[s].thinking=!1,A([...E,...i]))}})}catch(e){null===(n=L.current)||void 0===n||n.abort(),i[s].context="Sorry, we meet some error, please try again later.",i[s].thinking=!1,A([...i]),D(!0),F(!1)}},K=async()=>{H.trim()&&B&&await X()};(0,w.useEffect)(()=>{var e,l;null===(e=V.current)||void 0===e||e.scrollTo({top:null===(l=V.current)||void 0===l?void 0:l.scrollHeight,behavior:"auto"})},[E,V]);let Q=(0,w.useMemo)(()=>{if(!I)return[];let{param_need:e=[]}=I;return null==e?void 0:e.map(e=>e.type)},[I]),Y=(0,w.useMemo)(()=>{var e;return 0===E.length&&I&&!!(null==I?void 0:null===(e=I.recommend_questions)||void 0===e?void 0:e.length)},[E,I]),{run:ee,loading:el}=(0,m.Z)(async()=>await (0,r.Vx)((0,r.zR)(z)),{manual:!0,onSuccess:()=>{A([])}});return(0,w.useEffect)(()=>{b&&$&&z&&I&&X(b)},[I,z,$,b]),(0,n.jsxs)("div",{className:"flex flex-col",children:[Y&&(0,n.jsx)("ul",{children:null==I?void 0:null===(e=I.recommend_questions)||void 0===e?void 0:e.map((e,l)=>(0,n.jsx)("li",{className:"mb-3",children:(0,n.jsx)(v.Z,{color:S[l],className:"p-2 rounded-xl",onClick:async()=>{X(e.question)},children:e.question})},e.id))}),(0,n.jsxs)("div",{className:"flex items-center justify-between gap-1",children:[(0,n.jsxs)("div",{className:"flex gap-2 mb-1 w-full overflow-x-auto",children:[(null==Q?void 0:Q.includes("model"))&&(0,n.jsx)(C.default,{}),(null==Q?void 0:Q.includes("resource"))&&(0,n.jsx)(Z.default,{}),(null==Q?void 0:Q.includes("temperature"))&&(0,n.jsx)(k.default,{})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between text-lg font-bold",children:[(0,n.jsx)(p.Z,{content:"暂停回复",trigger:["hover"],children:(0,n.jsx)(i.Z,{className:y()("p-2 cursor-pointer",{"text-[#0c75fc]":T,"text-gray-400":!T}),onClick:()=>{var e;T&&(null===(e=L.current)||void 0===e||e.abort(),setTimeout(()=>{F(!1),D(!0)},100))}})}),(0,n.jsx)(p.Z,{content:"再来一次",trigger:["hover"],children:(0,n.jsx)(s.Z,{className:y()("p-2 cursor-pointer",{"text-gray-400":!E.length||!B}),onClick:()=>{var e,l;if(!B||0===E.length)return;let t=null===(e=null===(l=E.filter(e=>"human"===e.role))||void 0===l?void 0:l.slice(-1))||void 0===e?void 0:e[0];X((null==t?void 0:t.context)||"")}})}),el?(0,n.jsx)(h.Z,{spinning:el,indicator:(0,n.jsx)(c.Z,{style:{fontSize:18},spin:!0}),className:"p-2"}):(0,n.jsx)(p.Z,{content:"清除历史",trigger:["hover"],children:(0,n.jsx)(u.Z,{className:y()("p-2 cursor-pointer",{"text-gray-400":!E.length||!B}),onClick:()=>{B&&ee()}})})]})]}),(0,n.jsxs)("div",{className:y()("flex py-2 px-3 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border",{"border-[#0c75fc] dark:border-[rgba(12,117,252,0.8)]":q}),children:[(0,n.jsx)(x.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:H,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(J){e.preventDefault();return}H.trim()&&(e.preventDefault(),K())}},onChange:e=>{W(e.target.value)},onFocus:()=>{G(!0)},onBlur:()=>G(!1),onCompositionStartCapture:()=>{U(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{U(!1)},0)}}),(0,n.jsx)(g.ZP,{type:"primary",className:y()("flex items-center justify-center rounded-lg bg-button-gradient border-0 ml-2",{"opacity-40 cursor-not-allowed":!H.trim()||!B}),onClick:K,children:B?(0,n.jsx)(d.Z,{}):(0,n.jsx)(h.Z,{indicator:(0,n.jsx)(c.Z,{className:"text-white"})})})]})]})}},7001:function(e,l,t){t.r(l);var n=t(85893),r=t(39718),a=t(41468),o=t(41441),i=t(85418),s=t(55241),c=t(67294),u=t(73913);l.default=()=>{let{modelList:e}=(0,c.useContext)(a.p),{model:l,setModel:t}=(0,c.useContext)(u.MobileChatContext),d=(0,c.useMemo)(()=>e.length>0?e.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{t(e)},children:[(0,n.jsx)(r.Z,{width:14,height:14,model:e}),(0,n.jsx)("span",{className:"text-xs",children:e})]}),key:e})):[],[e,t]);return(0,n.jsx)(i.Z,{menu:{items:d},placement:"top",trigger:["click"],children:(0,n.jsx)(s.Z,{content:l,children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(r.Z,{width:16,height:16,model:l}),(0,n.jsx)("span",{className:"text-xs font-medium line-clamp-1",style:{maxWidth:96},children:l}),(0,n.jsx)(o.Z,{rotate:90})]})})})}},46568:function(e,l,t){t.r(l);var n=t(85893),r=t(25675),a=t.n(r),o=t(67294);l.default=(0,o.memo)(e=>{let{width:l,height:t,src:r,label:o}=e;return(0,n.jsx)(a(),{width:l||14,height:t||14,src:r,alt:o||"db-icon",priority:!0})})},73749:function(e,l,t){t.r(l);var n=t(85893),r=t(76212),a=t(62418),o=t(79090),i=t(41441),s=t(83266),c=t(65654),u=t(74330),d=t(2913),f=t(85418),m=t(67294),v=t(73913),p=t(46568);l.default=()=>{let{appInfo:e,resourceList:l,scene:t,model:h,conv_uid:x,getChatHistoryRun:g,setResource:b,resource:y}=(0,m.useContext)(v.MobileChatContext),[j,w]=(0,m.useState)(null),_=(0,m.useMemo)(()=>{var l,t,n;return null===(l=null==e?void 0:null===(t=e.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type))||void 0===l?void 0:null===(n=l[0])||void 0===n?void 0:n.value},[e]),C=(0,m.useMemo)(()=>l&&l.length>0?l.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{w(e),b(e.space_id||e.param)},children:[(0,n.jsx)(p.default,{width:14,height:14,src:a.S$[e.type].icon,label:a.S$[e.type].label}),(0,n.jsx)("span",{className:"text-xs",children:e.param})]}),key:e.space_id||e.param})):[],[l,b]),{run:Z,loading:k}=(0,c.Z)(async e=>{let[,l]=await (0,r.Vx)((0,r.qn)({convUid:x,chatMode:t,data:e,model:h,config:{timeout:36e5}}));return b(l),l},{manual:!0,onSuccess:async()=>{await g()}}),N=async e=>{let l=new FormData;l.append("doc_file",null==e?void 0:e.file),await Z(l)},S=(0,m.useMemo)(()=>k?(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(u.Z,{size:"small",indicator:(0,n.jsx)(o.Z,{spin:!0})}),(0,n.jsx)("span",{className:"text-xs",children:"上传中"})]}):y?(0,n.jsxs)("div",{className:"flex gap-1",children:[(0,n.jsx)("span",{className:"text-xs",children:y.file_name}),(0,n.jsx)(i.Z,{rotate:90})]}):(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(s.Z,{className:"text-base"}),(0,n.jsx)("span",{className:"text-xs",children:"上传文件"})]}),[k,y]);return(0,n.jsx)(n.Fragment,{children:(()=>{switch(_){case"excel_file":case"text_file":case"image_file":return(0,n.jsx)("div",{className:"flex items-center justify-center gap-1 border rounded-xl bg-white dark:bg-black px-2 flex-shrink-0",children:(0,n.jsx)(d.default,{name:"file",accept:".xlsx,.xls",maxCount:1,showUploadList:!1,beforeUpload:()=>!1,onChange:N,className:"flex h-full w-full items-center justify-center",children:S})});case"database":case"knowledge":case"plugin":case"awel_flow":var e,t,r,o,s;if(!(null==l?void 0:l.length))return null;return(0,n.jsx)(f.Z,{menu:{items:C},placement:"top",trigger:["click"],children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(p.default,{width:14,height:14,src:null===(e=a.S$[(null==j?void 0:j.type)||(null==l?void 0:null===(t=l[0])||void 0===t?void 0:t.type)])||void 0===e?void 0:e.icon,label:null===(r=a.S$[(null==j?void 0:j.type)||(null==l?void 0:null===(o=l[0])||void 0===o?void 0:o.type)])||void 0===r?void 0:r.label}),(0,n.jsx)("span",{className:"text-xs font-medium",children:(null==j?void 0:j.param)||(null==l?void 0:null===(s=l[0])||void 0===s?void 0:s.param)}),(0,n.jsx)(i.Z,{rotate:90})]})})}})()})}},97109:function(e,l,t){t.r(l);var n=t(85893),r=t(85418),a=t(30568),o=t(67294),i=t(73913),s=t(70065);l.default=()=>{let{temperature:e,setTemperature:l}=(0,o.useContext)(i.MobileChatContext),t=e=>{isNaN(e)||l(e)};return(0,n.jsx)(r.Z,{trigger:["click"],dropdownRender:()=>(0,n.jsx)("div",{className:"flex h-28 bg-white dark:bg-[rgba(255,255,255,0.5)] items-center justify-center rounded-xl py-3",children:(0,n.jsx)(a.Z,{defaultValue:.5,max:1,min:0,step:.1,vertical:!0,onChange:t,value:e})}),placement:"top",children:(0,n.jsxs)("div",{className:"flex items-center justify-between border rounded-xl bg-white dark:bg-black w-14 p-2 flex-shrink-0",children:[(0,n.jsx)(s.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,n.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},73913:function(e,l,t){t.r(l),t.d(l,{MobileChatContext:function(){return y}});var n=t(85893),r=t(41468),a=t(76212),o=t(2440),i=t(62418),s=t(25519),c=t(1375),u=t(65654),d=t(74330),f=t(5152),m=t.n(f),v=t(39332),p=t(67294),h=t(56397),x=t(74638),g=t(83454);let b=m()(()=>Promise.all([t.e(3662),t.e(7034),t.e(4041),t.e(1941),t.e(5872),t.e(4567),t.e(2783),t.e(1531),t.e(2611),t.e(3320),t.e(5265),t.e(7332),t.e(7530),t.e(9397),t.e(6212),t.e(8709),t.e(9256),t.e(9870)]).then(t.bind(t,36818)),{loadableGenerated:{webpack:()=>[36818]},ssr:!1}),y=(0,p.createContext)({model:"",temperature:.5,resource:null,setModel:()=>{},setTemperature:()=>{},setResource:()=>{},scene:"",history:[],setHistory:()=>{},scrollViewRef:{current:null},appInfo:{},conv_uid:"",resourceList:[],order:{current:1},handleChat:()=>Promise.resolve(),canAbort:!1,setCarAbort:()=>{},canNewChat:!1,setCanNewChat:()=>{},ctrl:{current:void 0},userInput:"",setUserInput:()=>{},getChatHistoryRun:()=>{}});l.default=()=>{var e,l;let t=(0,v.useSearchParams)(),f=null!==(e=null==t?void 0:t.get("chat_scene"))&&void 0!==e?e:"",m=null!==(l=null==t?void 0:t.get("app_code"))&&void 0!==l?l:"",{modelList:j}=(0,p.useContext)(r.p),[w,_]=(0,p.useState)([]),[C,Z]=(0,p.useState)(""),[k,N]=(0,p.useState)(.5),[S,E]=(0,p.useState)(null),$=(0,p.useRef)(null),[O,M]=(0,p.useState)(""),[R,z]=(0,p.useState)(!1),[I,V]=(0,p.useState)(!0),P=(0,p.useRef)(),H=(0,p.useRef)(1),L=(0,o.Z)(),T=(0,p.useMemo)(()=>"".concat(null==L?void 0:L.user_no,"_").concat(m),[m,L]),{run:B,loading:A}=(0,u.Z)(async()=>await (0,a.Vx)((0,a.$i)("".concat(null==L?void 0:L.user_no,"_").concat(m))),{manual:!0,onSuccess:e=>{let[,l]=e,t=null==l?void 0:l.filter(e=>"view"===e.role);t&&t.length>0&&(H.current=t[t.length-1].order+1),_(l||[])}}),{data:D,run:F,loading:W}=(0,u.Z)(async e=>{let[,l]=await (0,a.Vx)((0,a.BN)(e));return null!=l?l:{}},{manual:!0}),{run:q,data:G,loading:J}=(0,u.Z)(async()=>{var e,l;let[,t]=await (0,a.Vx)((0,a.vD)(f));return E((null==t?void 0:null===(e=t[0])||void 0===e?void 0:e.space_id)||(null==t?void 0:null===(l=t[0])||void 0===l?void 0:l.param)),null!=t?t:[]},{manual:!0}),{run:U,loading:X}=(0,u.Z)(async()=>{let[,e]=await (0,a.Vx)((0,a.iP)());return null!=e?e:[]},{manual:!0,onSuccess:e=>{var l;let t=null===(l=null==e?void 0:e.filter(e=>e.conv_uid===T))||void 0===l?void 0:l[0];(null==t?void 0:t.select_param)&&E(JSON.parse(null==t?void 0:t.select_param))}});(0,p.useEffect)(()=>{f&&m&&j.length&&F({chat_scene:f,app_code:m})},[m,f,F,j]),(0,p.useEffect)(()=>{m&&B()},[m]),(0,p.useEffect)(()=>{if(j.length>0){var e,l,t;let n=null===(e=null==D?void 0:null===(l=D.param_need)||void 0===l?void 0:l.filter(e=>"model"===e.type))||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.value;Z(n||j[0])}},[j,D]),(0,p.useEffect)(()=>{var e,l,t;let n=null===(e=null==D?void 0:null===(l=D.param_need)||void 0===l?void 0:l.filter(e=>"temperature"===e.type))||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.value;N(n||.5)},[D]),(0,p.useEffect)(()=>{if(f&&(null==D?void 0:D.app_code)){var e,l,t,n,r,a;let o=null===(e=null==D?void 0:null===(l=D.param_need)||void 0===l?void 0:l.filter(e=>"resource"===e.type))||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.value,i=null===(n=null==D?void 0:null===(r=D.param_need)||void 0===r?void 0:r.filter(e=>"resource"===e.type))||void 0===n?void 0:null===(a=n[0])||void 0===a?void 0:a.bind_value;i&&E(i),["database","knowledge","plugin","awel_flow"].includes(o)&&!i&&q()}},[D,f,q]);let K=async e=>{var l,t,n;M(""),P.current=new AbortController;let r={chat_mode:f,model_name:C,user_input:e||O,conv_uid:T,temperature:k,app_code:null==D?void 0:D.app_code,...S&&{select_param:S}};if(w&&w.length>0){let e=null==w?void 0:w.filter(e=>"view"===e.role);H.current=e[e.length-1].order+1}let a=[{role:"human",context:e||O,model_name:C,order:H.current,time_stamp:0},{role:"view",context:"",model_name:C,order:H.current,time_stamp:0,thinking:!0}],o=a.length-1;_([...w,...a]),V(!1);try{await (0,c.L)("".concat(null!==(l=g.env.API_BASE_URL)&&void 0!==l?l:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[s.gp]:null!==(t=(0,i.n5)())&&void 0!==t?t:""},signal:P.current.signal,body:JSON.stringify(r),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===c.a)return},onclose(){var e;null===(e=P.current)||void 0===e||e.abort(),V(!0),z(!1)},onerror(e){throw Error(e)},onmessage:e=>{let l=e.data;try{l=JSON.parse(l).vis}catch(e){l.replaceAll("\\n","\n")}"[DONE]"===l?(V(!0),z(!1)):(null==l?void 0:l.startsWith("[ERROR]"))?(a[o].context=null==l?void 0:l.replace("[ERROR]",""),a[o].thinking=!1,_([...w,...a]),V(!0),z(!1)):(z(!0),a[o].context=l,a[o].thinking=!1,_([...w,...a]))}})}catch(e){null===(n=P.current)||void 0===n||n.abort(),a[o].context="Sorry, we meet some error, please try again later.",a[o].thinking=!1,_([...a]),V(!0),z(!1)}};return(0,p.useEffect)(()=>{f&&"chat_agent"!==f&&U()},[f,U]),(0,n.jsx)(y.Provider,{value:{model:C,resource:S,setModel:Z,setTemperature:N,setResource:E,temperature:k,appInfo:D,conv_uid:T,scene:f,history:w,scrollViewRef:$,setHistory:_,resourceList:G,order:H,handleChat:K,setCanNewChat:V,ctrl:P,canAbort:R,setCarAbort:z,canNewChat:I,userInput:O,setUserInput:M,getChatHistoryRun:B},children:(0,n.jsx)(d.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:A||W||J||X,children:(0,n.jsxs)("div",{className:"flex flex-col h-screen bg-gradient-light dark:bg-gradient-dark p-4 pt-0",children:[(0,n.jsxs)("div",{ref:$,className:"flex flex-col flex-1 overflow-y-auto mb-3",children:[(0,n.jsx)(h.default,{}),(0,n.jsx)(b,{})]}),(null==D?void 0:D.app_code)&&(0,n.jsx)(x.default,{})]})})})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9202-a18f5e3aa6a290da.js b/dbgpt/app/static/web/_next/static/chunks/9202-a18f5e3aa6a290da.js new file mode 100644 index 000000000..6c9e2cd3e --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/9202-a18f5e3aa6a290da.js @@ -0,0 +1,3 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9202],{12576:function(e,r,t){t.d(r,{ZP:function(){return rk}});var a=t(87462),n=t(63366),l=t(67294),o=t(85893),s={},i=(0,l.createContext)(s),c=(e,r)=>(0,a.Z)({},e,r),d=()=>(0,l.useContext)(i),u=(0,l.createContext)(()=>{});function x(){return(0,l.useContext)(u)}u.displayName="JVR.DispatchShowTools";var p=e=>{var{initial:r,dispatch:t,children:a}=e;return(0,o.jsx)(i.Provider,{value:r,children:(0,o.jsx)(u.Provider,{value:t,children:a})})};p.displayName="JVR.ShowTools";var f={},v=(0,l.createContext)(f),y=(e,r)=>(0,a.Z)({},e,r),m=()=>(0,l.useContext)(v),h=(0,l.createContext)(()=>{});h.displayName="JVR.DispatchExpands";var b=e=>{var{initial:r,dispatch:t,children:a}=e;return(0,o.jsx)(v.Provider,{value:r,children:(0,o.jsx)(h.Provider,{value:t,children:a})})};b.displayName="JVR.Expands";var g={Str:{as:"span","data-type":"string",style:{color:"var(--w-rjv-type-string-color, #cb4b16)"},className:"w-rjv-type",children:"string"},Url:{as:"a",style:{color:"var(--w-rjv-type-url-color, #0969da)"},"data-type":"url",className:"w-rjv-type",children:"url"},Undefined:{style:{color:"var(--w-rjv-type-undefined-color, #586e75)"},as:"span","data-type":"undefined",className:"w-rjv-type",children:"undefined"},Null:{style:{color:"var(--w-rjv-type-null-color, #d33682)"},as:"span","data-type":"null",className:"w-rjv-type",children:"null"},Map:{style:{color:"var(--w-rjv-type-map-color, #268bd2)",marginRight:3},as:"span","data-type":"map",className:"w-rjv-type",children:"Map"},Nan:{style:{color:"var(--w-rjv-type-nan-color, #859900)"},as:"span","data-type":"nan",className:"w-rjv-type",children:"NaN"},Bigint:{style:{color:"var(--w-rjv-type-bigint-color, #268bd2)"},as:"span","data-type":"bigint",className:"w-rjv-type",children:"bigint"},Int:{style:{color:"var(--w-rjv-type-int-color, #268bd2)"},as:"span","data-type":"int",className:"w-rjv-type",children:"int"},Set:{style:{color:"var(--w-rjv-type-set-color, #268bd2)",marginRight:3},as:"span","data-type":"set",className:"w-rjv-type",children:"Set"},Float:{style:{color:"var(--w-rjv-type-float-color, #859900)"},as:"span","data-type":"float",className:"w-rjv-type",children:"float"},True:{style:{color:"var(--w-rjv-type-boolean-color, #2aa198)"},as:"span","data-type":"bool",className:"w-rjv-type",children:"bool"},False:{style:{color:"var(--w-rjv-type-boolean-color, #2aa198)"},as:"span","data-type":"bool",className:"w-rjv-type",children:"bool"},Date:{style:{color:"var(--w-rjv-type-date-color, #268bd2)"},as:"span","data-type":"date",className:"w-rjv-type",children:"date"}},w=(0,l.createContext)(g),j=(e,r)=>(0,a.Z)({},e,r),N=()=>(0,l.useContext)(w),E=(0,l.createContext)(()=>{});function Z(e){var{initial:r,dispatch:t,children:a}=e;return(0,o.jsx)(w.Provider,{value:r,children:(0,o.jsx)(E.Provider,{value:t,children:a})})}E.displayName="JVR.DispatchTypes",Z.displayName="JVR.Types";var R=["style"];function C(e){var{style:r}=e,t=(0,n.Z)(e,R),l=(0,a.Z)({cursor:"pointer",height:"1em",width:"1em",userSelect:"none",display:"inline-flex"},r);return(0,o.jsx)("svg",(0,a.Z)({viewBox:"0 0 24 24",fill:"var(--w-rjv-arrow-color, currentColor)",style:l},t,{children:(0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"})}))}C.displayName="JVR.TriangleArrow";var L={Arrow:{as:"span",className:"w-rjv-arrow",style:{transform:"rotate(0deg)",transition:"all 0.3s"},children:(0,o.jsx)(C,{})},Colon:{as:"span",style:{color:"var(--w-rjv-colon-color, var(--w-rjv-color))",marginLeft:0,marginRight:2},className:"w-rjv-colon",children:":"},Quote:{as:"span",style:{color:"var(--w-rjv-quotes-color, #236a7c)"},className:"w-rjv-quotes",children:'"'},ValueQuote:{as:"span",style:{color:"var(--w-rjv-quotes-string-color, #cb4b16)"},className:"w-rjv-quotes",children:'"'},BracketsLeft:{as:"span",style:{color:"var(--w-rjv-brackets-color, #236a7c)"},className:"w-rjv-brackets-start",children:"["},BracketsRight:{as:"span",style:{color:"var(--w-rjv-brackets-color, #236a7c)"},className:"w-rjv-brackets-end",children:"]"},BraceLeft:{as:"span",style:{color:"var(--w-rjv-curlybraces-color, #236a7c)"},className:"w-rjv-curlybraces-start",children:"{"},BraceRight:{as:"span",style:{color:"var(--w-rjv-curlybraces-color, #236a7c)"},className:"w-rjv-curlybraces-end",children:"}"}},k=(0,l.createContext)(L),q=(e,r)=>(0,a.Z)({},e,r),V=()=>(0,l.useContext)(k),A=(0,l.createContext)(()=>{});A.displayName="JVR.DispatchSymbols";var S=e=>{var{initial:r,dispatch:t,children:a}=e;return(0,o.jsx)(k.Provider,{value:r,children:(0,o.jsx)(A.Provider,{value:t,children:a})})};S.displayName="JVR.Symbols";var T={Copied:{className:"w-rjv-copied",style:{height:"1em",width:"1em",cursor:"pointer",verticalAlign:"middle",marginLeft:5}},CountInfo:{as:"span",className:"w-rjv-object-size",style:{color:"var(--w-rjv-info-color, #0000004d)",paddingLeft:8,fontStyle:"italic"}},CountInfoExtra:{as:"span",className:"w-rjv-object-extra",style:{paddingLeft:8}},Ellipsis:{as:"span",style:{cursor:"pointer",color:"var(--w-rjv-ellipsis-color, #cb4b16)",userSelect:"none"},className:"w-rjv-ellipsis",children:"..."},Row:{as:"div",className:"w-rjv-line"},KeyName:{as:"span",className:"w-rjv-object-key"}},J=(0,l.createContext)(T),B=(e,r)=>(0,a.Z)({},e,r),I=()=>(0,l.useContext)(J),D=(0,l.createContext)(()=>{});D.displayName="JVR.DispatchSection";var M=e=>{var{initial:r,dispatch:t,children:a}=e;return(0,o.jsx)(J.Provider,{value:r,children:(0,o.jsx)(D.Provider,{value:t,children:a})})};M.displayName="JVR.Section";var P={objectSortKeys:!1,indentWidth:15},O=(0,l.createContext)(P);O.displayName="JVR.Context";var U=(0,l.createContext)(()=>{});function H(e,r){return(0,a.Z)({},e,r)}U.displayName="JVR.DispatchContext";var $=()=>(0,l.useContext)(O),F=e=>{var{children:r,initialState:t,initialTypes:n}=e,[i,d]=(0,l.useReducer)(H,Object.assign({},P,t)),[u,x]=(0,l.useReducer)(c,s),[v,m]=(0,l.useReducer)(y,f),[h,w]=(0,l.useReducer)(j,g),[N,E]=(0,l.useReducer)(q,L),[R,C]=(0,l.useReducer)(B,T);return(0,l.useEffect)(()=>d((0,a.Z)({},t)),[t]),(0,o.jsx)(O.Provider,{value:i,children:(0,o.jsx)(U.Provider,{value:d,children:(0,o.jsx)(p,{initial:u,dispatch:x,children:(0,o.jsx)(b,{initial:v,dispatch:m,children:(0,o.jsx)(Z,{initial:(0,a.Z)({},h,n),dispatch:w,children:(0,o.jsx)(S,{initial:N,dispatch:E,children:(0,o.jsx)(M,{initial:R,dispatch:C,children:r})})})})})})})};F.displayName="JVR.Provider";var _=t(36459),G=["isNumber"],Q=["as","render"],K=["as","render"],W=["as","render"],z=["as","style","render"],X=["as","render"],Y=["as","render"],ee=["as","render"],er=["as","render"],et=e=>{var{Quote:r={}}=V(),{isNumber:t}=e,l=(0,n.Z)(e,G);if(t)return null;var{as:s,render:i}=r,c=(0,n.Z)(r,Q),d=s||"span",u=(0,a.Z)({},l,c);return i&&"function"==typeof i&&i(u)||(0,o.jsx)(d,(0,a.Z)({},u))};et.displayName="JVR.Quote";var ea=e=>{var{ValueQuote:r={}}=V(),t=(0,a.Z)({},((0,_.Z)(e),e)),{as:l,render:s}=r,i=(0,n.Z)(r,K),c=l||"span",d=(0,a.Z)({},t,i);return s&&"function"==typeof s&&s(d)||(0,o.jsx)(c,(0,a.Z)({},d))};ea.displayName="JVR.ValueQuote";var en=()=>{var{Colon:e={}}=V(),{as:r,render:t}=e,l=(0,n.Z)(e,W),s=r||"span";return t&&"function"==typeof t&&t(l)||(0,o.jsx)(s,(0,a.Z)({},l))};en.displayName="JVR.Colon";var el=e=>{var{Arrow:r={}}=V(),t=m(),{expandKey:l}=e,s=!!t[l],{as:i,style:c,render:d}=r,u=(0,n.Z)(r,z),x=i||"span";return d&&"function"==typeof d&&d((0,a.Z)({},u,{"data-expanded":s,style:(0,a.Z)({},c,e.style)}))||(0,o.jsx)(x,(0,a.Z)({},u,{style:(0,a.Z)({},c,e.style)}))};el.displayName="JVR.Arrow";var eo=e=>{var{isBrackets:r}=e,{BracketsLeft:t={},BraceLeft:l={}}=V();if(r){var{as:s,render:i}=t,c=(0,n.Z)(t,X),d=s||"span";return i&&"function"==typeof i&&i(c)||(0,o.jsx)(d,(0,a.Z)({},c))}var{as:u,render:x}=l,p=(0,n.Z)(l,Y),f=u||"span";return x&&"function"==typeof x&&x(p)||(0,o.jsx)(f,(0,a.Z)({},p))};eo.displayName="JVR.BracketsOpen";var es=e=>{var{isBrackets:r,isVisiable:t}=e;if(!t)return null;var{BracketsRight:l={},BraceRight:s={}}=V();if(r){var{as:i,render:c}=l,d=(0,n.Z)(l,ee),u=i||"span";return c&&"function"==typeof c&&c(d)||(0,o.jsx)(u,(0,a.Z)({},d))}var{as:x,render:p}=s,f=(0,n.Z)(s,er),v=x||"span";return p&&"function"==typeof p&&p(f)||(0,o.jsx)(v,(0,a.Z)({},f))};es.displayName="JVR.BracketsClose";var ei=e=>{var r,{value:t,expandKey:a,level:n}=e,l=m(),s=Array.isArray(t),{collapsed:i}=$(),c=t instanceof Set,d=null!=(r=l[a])?r:"boolean"==typeof i?i:"number"==typeof i&&n>i,u=Object.keys(t).length;return d||0===u?null:(0,o.jsx)("div",{style:{paddingLeft:4},children:(0,o.jsx)(es,{isBrackets:s||c,isVisiable:!0})})};ei.displayName="JVR.NestedClose";var ec=["as","render"],ed=["as","render"],eu=["as","render"],ex=["as","render"],ep=["as","render"],ef=["as","render"],ev=["as","render"],ey=["as","render"],em=["as","render"],eh=["as","render"],eb=["as","render"],eg=["as","render"],ew=["as","render"],ej=e=>{if(void 0===e)return"0n";if("string"==typeof e)try{e=BigInt(e)}catch(e){return"0n"}return e?e.toString()+"n":"0n"},eN=e=>{var{value:r,keyName:t}=e,{Set:l={},displayDataTypes:s}=N();if(!(r instanceof Set)||!s)return null;var{as:i,render:c}=l,d=(0,n.Z)(l,ec),u=c&&"function"==typeof c&&c(d,{type:"type",value:r,keyName:t});if(u)return u;var x=i||"span";return(0,o.jsx)(x,(0,a.Z)({},d))};eN.displayName="JVR.SetComp";var eE=e=>{var{value:r,keyName:t}=e,{Map:l={},displayDataTypes:s}=N();if(!(r instanceof Map)||!s)return null;var{as:i,render:c}=l,d=(0,n.Z)(l,ed),u=c&&"function"==typeof c&&c(d,{type:"type",value:r,keyName:t});if(u)return u;var x=i||"span";return(0,o.jsx)(x,(0,a.Z)({},d))};eE.displayName="JVR.MapComp";var eZ={opacity:.75,paddingRight:4},eR=e=>{var{children:r="",keyName:t}=e,{Str:s={},displayDataTypes:i}=N(),{shortenTextAfterLength:c=30}=$(),{as:d,render:u}=s,x=(0,n.Z)(s,eu),[p,f]=(0,l.useState)(c&&r.length>c);(0,l.useEffect)(()=>f(c&&r.length>c),[c]);var v=d||"span",y=(0,a.Z)({},eZ,s.style||{});c>0&&(x.style=(0,a.Z)({},x.style,{cursor:r.length<=c?"initial":"pointer"}),r.length>c&&(x.onClick=()=>{f(!p)}));var m=p?r.slice(0,c)+"...":r,h=u&&"function"==typeof u,b=h&&u((0,a.Z)({},x,{style:y}),{type:"type",value:r,keyName:t}),g=h&&u((0,a.Z)({},x,{children:m,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(b||(0,o.jsx)(v,(0,a.Z)({},x,{style:y}))),g||(0,o.jsxs)(l.Fragment,{children:[(0,o.jsx)(ea,{}),(0,o.jsx)(v,(0,a.Z)({},x,{className:"w-rjv-value",children:m})),(0,o.jsx)(ea,{})]})]})};eR.displayName="JVR.TypeString";var eC=e=>{var{children:r,keyName:t}=e,{True:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,ex),x=c||"span",p=(0,a.Z)({},eZ,s.style||{}),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=f&&d((0,a.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),y||(0,o.jsx)(x,(0,a.Z)({},u,{className:"w-rjv-value",children:null==r?void 0:r.toString()}))]})};eC.displayName="JVR.TypeTrue";var eL=e=>{var{children:r,keyName:t}=e,{False:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,ep),x=c||"span",p=(0,a.Z)({},eZ,s.style||{}),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=f&&d((0,a.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),y||(0,o.jsx)(x,(0,a.Z)({},u,{className:"w-rjv-value",children:null==r?void 0:r.toString()}))]})};eL.displayName="JVR.TypeFalse";var ek=e=>{var{children:r,keyName:t}=e,{Float:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,ef),x=c||"span",p=(0,a.Z)({},eZ,s.style||{}),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=f&&d((0,a.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),y||(0,o.jsx)(x,(0,a.Z)({},u,{className:"w-rjv-value",children:null==r?void 0:r.toString()}))]})};ek.displayName="JVR.TypeFloat";var eq=e=>{var{children:r,keyName:t}=e,{Int:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,ev),x=c||"span",p=(0,a.Z)({},eZ,s.style||{}),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=f&&d((0,a.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),y||(0,o.jsx)(x,(0,a.Z)({},u,{className:"w-rjv-value",children:null==r?void 0:r.toString()}))]})};eq.displayName="JVR.TypeInt";var eV=e=>{var{children:r,keyName:t}=e,{Bigint:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,ey),x=c||"span",p=(0,a.Z)({},eZ,s.style||{}),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=f&&d((0,a.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),y||(0,o.jsx)(x,(0,a.Z)({},u,{className:"w-rjv-value",children:ej(null==r?void 0:r.toString())}))]})};eV.displayName="JVR.TypeFloat";var eA=e=>{var{children:r,keyName:t}=e,{Url:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,em),x=c||"span",p=(0,a.Z)({},eZ,s.style),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=f&&d((0,a.Z)({},u,{children:null==r?void 0:r.href,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),y||(0,o.jsxs)("a",(0,a.Z)({href:null==r?void 0:r.href,target:"_blank"},u,{className:"w-rjv-value",children:[(0,o.jsx)(ea,{}),null==r?void 0:r.href,(0,o.jsx)(ea,{})]}))]})};eA.displayName="JVR.TypeUrl";var eS=e=>{var{children:r,keyName:t}=e,{Date:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,eh),x=c||"span",p=(0,a.Z)({},eZ,s.style||{}),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=r instanceof Date?r.toLocaleString():r,m=f&&d((0,a.Z)({},u,{children:y,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),m||(0,o.jsx)(x,(0,a.Z)({},u,{className:"w-rjv-value",children:y}))]})};eS.displayName="JVR.TypeDate";var eT=e=>{var{children:r,keyName:t}=e,{Undefined:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,eb),x=c||"span",p=(0,a.Z)({},eZ,s.style||{}),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=f&&d((0,a.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),y]})};eT.displayName="JVR.TypeUndefined";var eJ=e=>{var{children:r,keyName:t}=e,{Null:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,eg),x=c||"span",p=(0,a.Z)({},eZ,s.style||{}),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=f&&d((0,a.Z)({},u,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),y]})};eJ.displayName="JVR.TypeNull";var eB=e=>{var{children:r,keyName:t}=e,{Nan:s={},displayDataTypes:i}=N(),{as:c,render:d}=s,u=(0,n.Z)(s,ew),x=c||"span",p=(0,a.Z)({},eZ,s.style||{}),f=d&&"function"==typeof d,v=f&&d((0,a.Z)({},u,{style:p}),{type:"type",value:r,keyName:t}),y=f&&d((0,a.Z)({},u,{children:null==r?void 0:r.toString(),className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[i&&(v||(0,o.jsx)(x,(0,a.Z)({},u,{style:p}))),y]})};eB.displayName="JVR.TypeNan";var eI=e=>Number(e)===e&&e%1!=0||isNaN(e),eD=e=>{var{value:r,keyName:t}=e,n={keyName:t};return r instanceof URL?(0,o.jsx)(eA,(0,a.Z)({},n,{children:r})):"string"==typeof r?(0,o.jsx)(eR,(0,a.Z)({},n,{children:r})):!0===r?(0,o.jsx)(eC,(0,a.Z)({},n,{children:r})):!1===r?(0,o.jsx)(eL,(0,a.Z)({},n,{children:r})):null===r?(0,o.jsx)(eJ,(0,a.Z)({},n,{children:r})):void 0===r?(0,o.jsx)(eT,(0,a.Z)({},n,{children:r})):r instanceof Date?(0,o.jsx)(eS,(0,a.Z)({},n,{children:r})):"number"==typeof r&&isNaN(r)?(0,o.jsx)(eB,(0,a.Z)({},n,{children:r})):"number"==typeof r&&eI(r)?(0,o.jsx)(ek,(0,a.Z)({},n,{children:r})):"bigint"==typeof r?(0,o.jsx)(eV,(0,a.Z)({},n,{children:r})):"number"==typeof r?(0,o.jsx)(eq,(0,a.Z)({},n,{children:r})):null};function eM(e,r,t){var n=(0,l.useContext)(A),o=[e.className,r.className].filter(Boolean).join(" "),s=(0,a.Z)({},e,r,{className:o,style:(0,a.Z)({},e.style,r.style),children:r.children||e.children});(0,l.useEffect)(()=>n({[t]:s}),[r])}function eP(e,r,t){var n=(0,l.useContext)(E),o=[e.className,r.className].filter(Boolean).join(" "),s=(0,a.Z)({},e,r,{className:o,style:(0,a.Z)({},e.style,r.style),children:r.children||e.children});(0,l.useEffect)(()=>n({[t]:s}),[r])}function eO(e,r,t){var n=(0,l.useContext)(D),o=[e.className,r.className].filter(Boolean).join(" "),s=(0,a.Z)({},e,r,{className:o,style:(0,a.Z)({},e.style,r.style),children:r.children||e.children});(0,l.useEffect)(()=>n({[t]:s}),[r])}eD.displayName="JVR.Value";var eU=["as","render"],eH=e=>{var{KeyName:r={}}=I();return eO(r,e,"KeyName"),null};eH.displayName="JVR.KeyName";var e$=e=>{var{children:r,value:t,parentValue:l,keyName:s,keys:i}=e,c="number"==typeof r,{KeyName:d={}}=I(),{as:u,render:x}=d,p=(0,n.Z)(d,eU);p.style=(0,a.Z)({},p.style,{color:c?"var(--w-rjv-key-number, #268bd2)":"var(--w-rjv-key-string, #002b36)"});var f=u||"span";return x&&"function"==typeof x&&x((0,a.Z)({},p,{children:r}),{value:t,parentValue:l,keyName:s,keys:i||(s?[s]:[])})||(0,o.jsx)(f,(0,a.Z)({},p,{children:r}))};e$.displayName="JVR.KeyNameComp";var eF=["children","value","parentValue","keyName","keys"],e_=["as","render","children"],eG=e=>{var{Row:r={}}=I();return eO(r,e,"Row"),null};eG.displayName="JVR.Row";var eQ=e=>{var{children:r,value:t,parentValue:l,keyName:s,keys:i}=e,c=(0,n.Z)(e,eF),{Row:d={}}=I(),{as:u,render:x}=d,p=(0,n.Z)(d,e_),f=u||"div";return x&&"function"==typeof x&&x((0,a.Z)({},c,p,{children:r}),{value:t,keyName:s,parentValue:l,keys:i})||(0,o.jsx)(f,(0,a.Z)({},c,p,{children:r}))};eQ.displayName="JVR.RowComp";var eK=["keyName","value","parentValue","expandKey","keys"],eW=["as","render"],ez=e=>{var{keyName:r,value:t,parentValue:s,expandKey:i,keys:c}=e,u=(0,n.Z)(e,eK),{onCopied:x,enableClipboard:p}=$(),f=d()[i],[v,y]=(0,l.useState)(!1),{Copied:m={}}=I();if(!1===p||!f)return null;var h={style:{display:"inline-flex"},fill:v?"var(--w-rjv-copied-success-color, #28a745)":"var(--w-rjv-copied-color, currentColor)",onClick:e=>{e.stopPropagation();var r="";r="number"==typeof t&&t===1/0?"Infinity":"number"==typeof t&&isNaN(t)?"NaN":"bigint"==typeof t?ej(t):t instanceof Date?t.toLocaleString():JSON.stringify(t,(e,r)=>"bigint"==typeof r?ej(r):r,2),x&&x(r,t),y(!0),(navigator.clipboard||{writeText:e=>new Promise((r,t)=>{var a=document.createElement("textarea");a.style.position="absolute",a.style.opacity="0",a.style.left="-99999999px",a.value=e,document.body.appendChild(a),a.select(),document.execCommand("copy")?r():t(),a.remove()})}).writeText(r).then(()=>{var e=setTimeout(()=>{y(!1),clearTimeout(e)},3e3)}).catch(e=>{})}},{render:b}=m,g=(0,n.Z)(m,eW),w=(0,a.Z)({},g,u,h,{style:(0,a.Z)({},g.style,u.style,h.style)});return b&&"function"==typeof b&&b((0,a.Z)({},w,{"data-copied":v}),{value:t,keyName:r,keys:c,parentValue:s})||(v?(0,o.jsx)("svg",(0,a.Z)({viewBox:"0 0 32 36"},w,{children:(0,o.jsx)("path",{d:"M27.5,33 L2.5,33 L2.5,12.5 L27.5,12.5 L27.5,15.2249049 C29.1403264,13.8627542 29.9736597,13.1778155 30,13.1700887 C30,11.9705278 30,10.0804982 30,7.5 C30,6.1 28.9,5 27.5,5 L20,5 C20,2.2 17.8,0 15,0 C12.2,0 10,2.2 10,5 L2.5,5 C1.1,5 0,6.1 0,7.5 L0,33 C0,34.4 1.1,36 2.5,36 L27.5,36 C28.9,36 30,34.4 30,33 L30,26.1114493 L27.5,28.4926435 L27.5,33 Z M7.5,7.5 L10,7.5 C10,7.5 12.5,6.4 12.5,5 C12.5,3.6 13.6,2.5 15,2.5 C16.4,2.5 17.5,3.6 17.5,5 C17.5,6.4 18.8,7.5 20,7.5 L22.5,7.5 C22.5,7.5 25,8.6 25,10 L5,10 C5,8.5 6.1,7.5 7.5,7.5 Z M5,27.5 L10,27.5 L10,25 L5,25 L5,27.5 Z M28.5589286,16 L32,19.6 L21.0160714,30.5382252 L13.5303571,24.2571429 L17.1303571,20.6571429 L21.0160714,24.5428571 L28.5589286,16 Z M17.5,15 L5,15 L5,17.5 L17.5,17.5 L17.5,15 Z M10,20 L5,20 L5,22.5 L10,22.5 L10,20 Z"})})):(0,o.jsx)("svg",(0,a.Z)({viewBox:"0 0 32 36"},w,{children:(0,o.jsx)("path",{d:"M27.5,33 L2.5,33 L2.5,12.5 L27.5,12.5 L27.5,20 L30,20 L30,7.5 C30,6.1 28.9,5 27.5,5 L20,5 C20,2.2 17.8,0 15,0 C12.2,0 10,2.2 10,5 L2.5,5 C1.1,5 0,6.1 0,7.5 L0,33 C0,34.4 1.1,36 2.5,36 L27.5,36 C28.9,36 30,34.4 30,33 L30,29 L27.5,29 L27.5,33 Z M7.5,7.5 L10,7.5 C10,7.5 12.5,6.4 12.5,5 C12.5,3.6 13.6,2.5 15,2.5 C16.4,2.5 17.5,3.6 17.5,5 C17.5,6.4 18.8,7.5 20,7.5 L22.5,7.5 C22.5,7.5 25,8.6 25,10 L5,10 C5,8.5 6.1,7.5 7.5,7.5 Z M5,27.5 L10,27.5 L10,25 L5,25 L5,27.5 Z M22.5,21.5 L22.5,16.5 L12.5,24 L22.5,31.5 L22.5,26.5 L32,26.5 L32,21.5 L22.5,21.5 Z M17.5,15 L5,15 L5,17.5 L17.5,17.5 L17.5,15 Z M10,20 L5,20 L5,22.5 L10,22.5 L10,20 Z"})})))};ez.displayName="JVR.Copied";var eX=e=>{var r,{value:t,expandKey:a="",level:n,keys:l=[]}=e,s=m(),{objectSortKeys:i,indentWidth:c,collapsed:d}=$(),u=Array.isArray(t);if(null!=(r=s[a])?r:"boolean"==typeof d?d:"number"==typeof d&&n>d)return null;var x=u?Object.entries(t).map(e=>[Number(e[0]),e[1]]):Object.entries(t);return i&&(x=!0===i?x.sort((e,r)=>{var[t]=e,[a]=r;return"string"==typeof t&&"string"==typeof a?t.localeCompare(a):0}):x.sort((e,r)=>{var[t,a]=e,[n,l]=r;return"string"==typeof t&&"string"==typeof n?i(t,n,a,l):0})),(0,o.jsx)("div",{className:"w-rjv-wrap",style:{borderLeft:"var(--w-rjv-border-left-width, 1px) var(--w-rjv-line-style, solid) var(--w-rjv-line-color, #ebebeb)",paddingLeft:c,marginLeft:6},children:x.map((e,r)=>{var[a,s]=e;return(0,o.jsx)(e0,{parentValue:t,keyName:a,keys:[...l,a],value:s,level:n},r)})})};eX.displayName="JVR.KeyValues";var eY=e=>{var{keyName:r,parentValue:t,keys:a,value:n}=e,{highlightUpdates:s}=$(),i="number"==typeof r,c=(0,l.useRef)(null);return!function(e){var r,{value:t,highlightUpdates:a,highlightContainer:n}=e,o=(r=(0,l.useRef)(),(0,l.useEffect)(()=>{r.current=t}),r.current),s=(0,l.useMemo)(()=>!!a&&void 0!==o&&(typeof t!=typeof o||("number"==typeof t?!(isNaN(t)&&isNaN(o))&&t!==o:Array.isArray(t)!==Array.isArray(o)||"object"!=typeof t&&"function"!=typeof t&&(t!==o||void 0))),[a,t]);(0,l.useEffect)(()=>{n&&n.current&&s&&"animate"in n.current&&n.current.animate([{backgroundColor:"var(--w-rjv-update-color, #ebcb8b)"},{backgroundColor:""}],{duration:1e3,easing:"ease-in"})},[s,t,n])}({value:n,highlightUpdates:s,highlightContainer:c}),(0,o.jsxs)(l.Fragment,{children:[(0,o.jsxs)("span",{ref:c,children:[(0,o.jsx)(et,{isNumber:i,"data-placement":"left"}),(0,o.jsx)(e$,{keyName:r,value:n,keys:a,parentValue:t,children:r}),(0,o.jsx)(et,{isNumber:i,"data-placement":"right"})]}),(0,o.jsx)(en,{})]})};eY.displayName="JVR.KayName";var e0=e=>{var{keyName:r,value:t,parentValue:n,level:s=0,keys:i=[]}=e,c=x(),d=(0,l.useId)(),u=Array.isArray(t),p=t instanceof Set,f=t instanceof Map,v=t instanceof Date,y=t instanceof URL;if(t&&"object"==typeof t&&!u&&!p&&!f&&!v&&!y||u||p||f){var m=p?Array.from(t):f?Object.fromEntries(t):t;return(0,o.jsx)(rn,{keyName:r,value:m,parentValue:n,initialValue:t,keys:i,level:s+1})}return(0,o.jsxs)(eQ,(0,a.Z)({className:"w-rjv-line",value:t,keyName:r,keys:i,parentValue:n},{onMouseEnter:()=>c({[d]:!0}),onMouseLeave:()=>c({[d]:!1})},{children:[(0,o.jsx)(eY,{keyName:r,value:t,keys:i,parentValue:n}),(0,o.jsx)(eD,{keyName:r,value:t}),(0,o.jsx)(ez,{keyName:r,value:t,keys:i,parentValue:n,expandKey:d})]}))};e0.displayName="JVR.KeyValuesItem";var e5=["value","keyName"],e1=["as","render"],e3=e=>{var{CountInfoExtra:r={}}=I();return eO(r,e,"CountInfoExtra"),null};e3.displayName="JVR.CountInfoExtra";var e2=e=>{var{value:r={},keyName:t}=e,l=(0,n.Z)(e,e5),{CountInfoExtra:s={}}=I(),{as:i,render:c}=s,d=(0,n.Z)(s,e1);if(!c&&!d.children)return null;var u=i||"span",x=(0,a.Z)({},d,l);return c&&"function"==typeof c&&c(x,{value:r,keyName:t})||(0,o.jsx)(u,(0,a.Z)({},x))};e2.displayName="JVR.CountInfoExtraComps";var e8=["value","keyName"],e6=["as","render"],e4=e=>{var{CountInfo:r={}}=I();return eO(r,e,"CountInfo"),null};e4.displayName="JVR.CountInfo";var e7=e=>{var{value:r={},keyName:t}=e,l=(0,n.Z)(e,e8),{displayObjectSize:s}=$(),{CountInfo:i={}}=I();if(!s)return null;var{as:c,render:d}=i,u=(0,n.Z)(i,e6),x=c||"span";u.style=(0,a.Z)({},u.style,e.style);var p=Object.keys(r).length;u.children||(u.children=p+" item"+(1===p?"":"s"));var f=(0,a.Z)({},u,l);return d&&"function"==typeof d&&d((0,a.Z)({},f,{"data-length":p}),{value:r,keyName:t})||(0,o.jsx)(x,(0,a.Z)({},f))};e7.displayName="JVR.CountInfoComp";var e9=["as","render"],re=e=>{var{Ellipsis:r={}}=I();return eO(r,e,"Ellipsis"),null};re.displayName="JVR.Ellipsis";var rr=e=>{var{isExpanded:r,value:t,keyName:l}=e,{Ellipsis:s={}}=I(),{as:i,render:c}=s,d=(0,n.Z)(s,e9),u=i||"span";return c&&"function"==typeof c&&c((0,a.Z)({},d,{"data-expanded":r}),{value:t,keyName:l})||(r&&("object"!=typeof t||0!=Object.keys(t).length)?(0,o.jsx)(u,(0,a.Z)({},d)):null)};rr.displayName="JVR.EllipsisComp";var rt=e=>{var r,{keyName:t,expandKey:n,keys:s,initialValue:i,value:c,parentValue:d,level:u}=e,x=m(),p=(0,l.useContext)(h),{onExpand:f,collapsed:v}=$(),y=Array.isArray(c),b=c instanceof Set,g=null!=(r=x[n])?r:"boolean"==typeof v?v:"number"==typeof v&&u>v,w="object"==typeof c,j=0!==Object.keys(c).length&&(y||b||w),N={style:{display:"inline-flex",alignItems:"center"}};return j&&(N.onClick=()=>{var e={expand:!g,value:c,keyid:n,keyName:t};f&&f(e),p({[n]:e.expand})}),(0,o.jsxs)("span",(0,a.Z)({},N,{children:[j&&(0,o.jsx)(el,{style:{transform:"rotate("+(g?"-90":"0")+"deg)",transition:"all 0.3s"},expandKey:n}),(t||"number"==typeof t)&&(0,o.jsx)(eY,{keyName:t}),(0,o.jsx)(eN,{value:i,keyName:t}),(0,o.jsx)(eE,{value:i,keyName:t}),(0,o.jsx)(eo,{isBrackets:y||b}),(0,o.jsx)(rr,{keyName:t,value:c,isExpanded:g}),(0,o.jsx)(es,{isVisiable:g||!j,isBrackets:y||b}),(0,o.jsx)(e7,{value:c,keyName:t}),(0,o.jsx)(e2,{value:c,keyName:t}),(0,o.jsx)(ez,{keyName:t,value:c,expandKey:n,parentValue:d,keys:s})]}))};rt.displayName="JVR.NestedOpen";var ra=["className","children","parentValue","keyid","level","value","initialValue","keys","keyName"],rn=(0,l.forwardRef)((e,r)=>{var{className:t="",parentValue:s,level:i=1,value:c,initialValue:d,keys:u,keyName:p}=e,f=(0,n.Z)(e,ra),v=x(),y=(0,l.useId)(),m=[t,"w-rjv-inner"].filter(Boolean).join(" ");return(0,o.jsxs)("div",(0,a.Z)({className:m,ref:r},f,{onMouseEnter:()=>v({[y]:!0}),onMouseLeave:()=>v({[y]:!1})},{children:[(0,o.jsx)(rt,{expandKey:y,value:c,level:i,keys:u,parentValue:s,keyName:p,initialValue:d}),(0,o.jsx)(eX,{expandKey:y,value:c,level:i,keys:u,parentValue:s,keyName:p}),(0,o.jsx)(ei,{expandKey:y,value:c,level:i})]}))});rn.displayName="JVR.Container";var rl=e=>{var{BraceLeft:r={}}=V();return eM(r,e,"BraceLeft"),null};rl.displayName="JVR.BraceLeft";var ro=e=>{var{BraceRight:r={}}=V();return eM(r,e,"BraceRight"),null};ro.displayName="JVR.BraceRight";var rs=e=>{var{BracketsLeft:r={}}=V();return eM(r,e,"BracketsLeft"),null};rs.displayName="JVR.BracketsLeft";var ri=e=>{var{BracketsRight:r={}}=V();return eM(r,e,"BracketsRight"),null};ri.displayName="JVR.BracketsRight";var rc=e=>{var{Arrow:r={}}=V();return eM(r,e,"Arrow"),null};rc.displayName="JVR.Arrow";var rd=e=>{var{Colon:r={}}=V();return eM(r,e,"Colon"),null};rd.displayName="JVR.Colon";var ru=e=>{var{Quote:r={}}=V();return eM(r,e,"Quote"),null};ru.displayName="JVR.Quote";var rx=e=>{var{ValueQuote:r={}}=V();return eM(r,e,"ValueQuote"),null};rx.displayName="JVR.ValueQuote";var rp=e=>{var{Bigint:r={}}=N();return eP(r,e,"Bigint"),null};rp.displayName="JVR.Bigint";var rf=e=>{var{Date:r={}}=N();return eP(r,e,"Date"),null};rf.displayName="JVR.Date";var rv=e=>{var{False:r={}}=N();return eP(r,e,"False"),null};rv.displayName="JVR.False";var ry=e=>{var{Float:r={}}=N();return eP(r,e,"Float"),null};ry.displayName="JVR.Float";var rm=e=>{var{Int:r={}}=N();return eP(r,e,"Int"),null};rm.displayName="JVR.Int";var rh=e=>{var{Map:r={}}=N();return eP(r,e,"Map"),null};rh.displayName="JVR.Map";var rb=e=>{var{Nan:r={}}=N();return eP(r,e,"Nan"),null};rb.displayName="JVR.Nan";var rg=e=>{var{Null:r={}}=N();return eP(r,e,"Null"),null};rg.displayName="JVR.Null";var rw=e=>{var{Set:r={}}=N();return eP(r,e,"Set"),null};rw.displayName="JVR.Set";var rj=e=>{var{Str:r={}}=N();return eP(r,e,"Str"),null};rj.displayName="JVR.StringText";var rN=e=>{var{True:r={}}=N();return eP(r,e,"True"),null};rN.displayName="JVR.True";var rE=e=>{var{Undefined:r={}}=N();return eP(r,e,"Undefined"),null};rE.displayName="JVR.Undefined";var rZ=e=>{var{Url:r={}}=N();return eP(r,e,"Url"),null};rZ.displayName="JVR.Url";var rR=e=>{var{Copied:r={}}=I();return eO(r,e,"Copied"),null};rR.displayName="JVR.Copied";var rC=["className","style","value","children","collapsed","indentWidth","displayObjectSize","shortenTextAfterLength","highlightUpdates","enableClipboard","displayDataTypes","objectSortKeys","onExpand","onCopied"],rL=(0,l.forwardRef)((e,r)=>{var{className:t="",style:l,value:s,children:i,collapsed:c,indentWidth:d=15,displayObjectSize:u=!0,shortenTextAfterLength:x=30,highlightUpdates:p=!0,enableClipboard:f=!0,displayDataTypes:v=!0,objectSortKeys:y=!1,onExpand:m,onCopied:h}=e,b=(0,n.Z)(e,rC),g=(0,a.Z)({lineHeight:1.4,fontFamily:"var(--w-rjv-font-family, Menlo, monospace)",color:"var(--w-rjv-color, #002b36)",backgroundColor:"var(--w-rjv-background-color, #00000000)",fontSize:13},l),w=["w-json-view-container","w-rjv",t].filter(Boolean).join(" ");return(0,o.jsxs)(F,{initialState:{value:s,objectSortKeys:y,indentWidth:d,displayObjectSize:u,collapsed:c,enableClipboard:f,shortenTextAfterLength:x,highlightUpdates:p,onCopied:h,onExpand:m},initialTypes:{displayDataTypes:v},children:[(0,o.jsx)(rn,(0,a.Z)({value:s},b,{ref:r,className:w,style:g})),i]})});rL.Bigint=rp,rL.Date=rf,rL.False=rv,rL.Float=ry,rL.Int=rm,rL.Map=rh,rL.Nan=rb,rL.Null=rg,rL.Set=rw,rL.String=rj,rL.True=rN,rL.Undefined=rE,rL.Url=rZ,rL.ValueQuote=rx,rL.Arrow=rc,rL.Colon=rd,rL.Quote=ru,rL.Ellipsis=re,rL.BraceLeft=rl,rL.BraceRight=ro,rL.BracketsLeft=rs,rL.BracketsRight=ri,rL.Copied=rR,rL.CountInfo=e4,rL.CountInfoExtra=e3,rL.KeyName=eH,rL.Row=eG,rL.displayName="JVR.JsonView";var rk=rL},63086:function(e,r,t){t.d(r,{R:function(){return a}});var a={"--w-rjv-font-family":"monospace","--w-rjv-color":"#79c0ff","--w-rjv-key-string":"#79c0ff","--w-rjv-background-color":"#0d1117","--w-rjv-line-color":"#94949480","--w-rjv-arrow-color":"#ccc","--w-rjv-edit-color":"var(--w-rjv-color)","--w-rjv-info-color":"#7b7b7b","--w-rjv-update-color":"#ebcb8b","--w-rjv-copied-color":"#79c0ff","--w-rjv-copied-success-color":"#28a745","--w-rjv-curlybraces-color":"#8b949e","--w-rjv-colon-color":"#c9d1d9","--w-rjv-brackets-color":"#8b949e","--w-rjv-quotes-color":"var(--w-rjv-key-string)","--w-rjv-quotes-string-color":"var(--w-rjv-type-string-color)","--w-rjv-type-string-color":"#a5d6ff","--w-rjv-type-int-color":"#79c0ff","--w-rjv-type-float-color":"#79c0ff","--w-rjv-type-bigint-color":"#79c0ff","--w-rjv-type-boolean-color":"#ffab70","--w-rjv-type-date-color":"#79c0ff","--w-rjv-type-url-color":"#4facff","--w-rjv-type-null-color":"#ff7b72","--w-rjv-type-nan-color":"#859900","--w-rjv-type-undefined-color":"#79c0ff"}},54143:function(e,r,t){t.d(r,{K:function(){return a}});var a={"--w-rjv-font-family":"monospace","--w-rjv-color":"#6f42c1","--w-rjv-key-string":"#6f42c1","--w-rjv-background-color":"#ffffff","--w-rjv-line-color":"#ddd","--w-rjv-arrow-color":"#6e7781","--w-rjv-edit-color":"var(--w-rjv-color)","--w-rjv-info-color":"#0000004d","--w-rjv-update-color":"#ebcb8b","--w-rjv-copied-color":"#002b36","--w-rjv-copied-success-color":"#28a745","--w-rjv-curlybraces-color":"#6a737d","--w-rjv-colon-color":"#24292e","--w-rjv-brackets-color":"#6a737d","--w-rjv-quotes-color":"var(--w-rjv-key-string)","--w-rjv-quotes-string-color":"var(--w-rjv-type-string-color)","--w-rjv-type-string-color":"#032f62","--w-rjv-type-int-color":"#005cc5","--w-rjv-type-float-color":"#005cc5","--w-rjv-type-bigint-color":"#005cc5","--w-rjv-type-boolean-color":"#d73a49","--w-rjv-type-date-color":"#005cc5","--w-rjv-type-url-color":"#0969da","--w-rjv-type-null-color":"#d73a49","--w-rjv-type-nan-color":"#859900","--w-rjv-type-undefined-color":"#005cc5"}},40056:function(e,r,t){t.d(r,{Z:function(){return B}});var a=t(67294),n=t(89739),l=t(4340),o=t(97937),s=t(21640),i=t(78860),c=t(93967),d=t.n(c),u=t(29372),x=t(64217),p=t(42550),f=t(96159),v=t(53124),y=t(25446),m=t(14747),h=t(83559);let b=(e,r,t,a,n)=>({background:e,border:`${(0,y.bf)(a.lineWidth)} ${a.lineType} ${r}`,[`${n}-icon`]:{color:t}}),g=e=>{let{componentCls:r,motionDurationSlow:t,marginXS:a,marginSM:n,fontSize:l,fontSizeLG:o,lineHeight:s,borderRadiusLG:i,motionEaseInOutCirc:c,withDescriptionIconSize:d,colorText:u,colorTextHeading:x,withDescriptionPadding:p,defaultPadding:f}=e;return{[r]:Object.assign(Object.assign({},(0,m.Wf)(e)),{position:"relative",display:"flex",alignItems:"center",padding:f,wordWrap:"break-word",borderRadius:i,[`&${r}-rtl`]:{direction:"rtl"},[`${r}-content`]:{flex:1,minWidth:0},[`${r}-icon`]:{marginInlineEnd:a,lineHeight:0},"&-description":{display:"none",fontSize:l,lineHeight:s},"&-message":{color:x},[`&${r}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${t} ${c}, opacity ${t} ${c}, + padding-top ${t} ${c}, padding-bottom ${t} ${c}, + margin-bottom ${t} ${c}`},[`&${r}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${r}-with-description`]:{alignItems:"flex-start",padding:p,[`${r}-icon`]:{marginInlineEnd:n,fontSize:d,lineHeight:0},[`${r}-message`]:{display:"block",marginBottom:a,color:x,fontSize:o},[`${r}-description`]:{display:"block",color:u}},[`${r}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},w=e=>{let{componentCls:r,colorSuccess:t,colorSuccessBorder:a,colorSuccessBg:n,colorWarning:l,colorWarningBorder:o,colorWarningBg:s,colorError:i,colorErrorBorder:c,colorErrorBg:d,colorInfo:u,colorInfoBorder:x,colorInfoBg:p}=e;return{[r]:{"&-success":b(n,a,t,e,r),"&-info":b(p,x,u,e,r),"&-warning":b(s,o,l,e,r),"&-error":Object.assign(Object.assign({},b(d,c,i,e,r)),{[`${r}-description > pre`]:{margin:0,padding:0}})}}},j=e=>{let{componentCls:r,iconCls:t,motionDurationMid:a,marginXS:n,fontSizeIcon:l,colorIcon:o,colorIconHover:s}=e;return{[r]:{"&-action":{marginInlineStart:n},[`${r}-close-icon`]:{marginInlineStart:n,padding:0,overflow:"hidden",fontSize:l,lineHeight:(0,y.bf)(l),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${t}-close`]:{color:o,transition:`color ${a}`,"&:hover":{color:s}}},"&-close-text":{color:o,transition:`color ${a}`,"&:hover":{color:s}}}}};var N=(0,h.I$)("Alert",e=>[g(e),w(e),j(e)],e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`})),E=function(e,r){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>r.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,a=Object.getOwnPropertySymbols(e);nr.indexOf(a[n])&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(t[a[n]]=e[a[n]]);return t};let Z={success:n.Z,info:i.Z,error:l.Z,warning:s.Z},R=e=>{let{icon:r,prefixCls:t,type:n}=e,l=Z[n]||null;return r?(0,f.wm)(r,a.createElement("span",{className:`${t}-icon`},r),()=>({className:d()(`${t}-icon`,{[r.props.className]:r.props.className})})):a.createElement(l,{className:`${t}-icon`})},C=e=>{let{isClosable:r,prefixCls:t,closeIcon:n,handleClose:l,ariaProps:s}=e,i=!0===n||void 0===n?a.createElement(o.Z,null):n;return r?a.createElement("button",Object.assign({type:"button",onClick:l,className:`${t}-close-icon`,tabIndex:0},s),i):null},L=a.forwardRef((e,r)=>{let{description:t,prefixCls:n,message:l,banner:o,className:s,rootClassName:i,style:c,onMouseEnter:f,onMouseLeave:y,onClick:m,afterClose:h,showIcon:b,closable:g,closeText:w,closeIcon:j,action:Z,id:L}=e,k=E(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[q,V]=a.useState(!1),A=a.useRef(null);a.useImperativeHandle(r,()=>({nativeElement:A.current}));let{getPrefixCls:S,direction:T,alert:J}=a.useContext(v.E_),B=S("alert",n),[I,D,M]=N(B),P=r=>{var t;V(!0),null===(t=e.onClose)||void 0===t||t.call(e,r)},O=a.useMemo(()=>void 0!==e.type?e.type:o?"warning":"info",[e.type,o]),U=a.useMemo(()=>"object"==typeof g&&!!g.closeIcon||!!w||("boolean"==typeof g?g:!1!==j&&null!=j||!!(null==J?void 0:J.closable)),[w,j,g,null==J?void 0:J.closable]),H=!!o&&void 0===b||b,$=d()(B,`${B}-${O}`,{[`${B}-with-description`]:!!t,[`${B}-no-icon`]:!H,[`${B}-banner`]:!!o,[`${B}-rtl`]:"rtl"===T},null==J?void 0:J.className,s,i,M,D),F=(0,x.Z)(k,{aria:!0,data:!0}),_=a.useMemo(()=>{var e,r;return"object"==typeof g&&g.closeIcon?g.closeIcon:w||(void 0!==j?j:"object"==typeof(null==J?void 0:J.closable)&&(null===(e=null==J?void 0:J.closable)||void 0===e?void 0:e.closeIcon)?null===(r=null==J?void 0:J.closable)||void 0===r?void 0:r.closeIcon:null==J?void 0:J.closeIcon)},[j,g,w,null==J?void 0:J.closeIcon]),G=a.useMemo(()=>{let e=null!=g?g:null==J?void 0:J.closable;if("object"==typeof e){let{closeIcon:r}=e,t=E(e,["closeIcon"]);return t}return{}},[g,null==J?void 0:J.closable]);return I(a.createElement(u.ZP,{visible:!q,motionName:`${B}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:h},(r,n)=>{let{className:o,style:s}=r;return a.createElement("div",Object.assign({id:L,ref:(0,p.sQ)(A,n),"data-show":!q,className:d()($,o),style:Object.assign(Object.assign(Object.assign({},null==J?void 0:J.style),c),s),onMouseEnter:f,onMouseLeave:y,onClick:m,role:"alert"},F),H?a.createElement(R,{description:t,icon:e.icon,prefixCls:B,type:O}):null,a.createElement("div",{className:`${B}-content`},l?a.createElement("div",{className:`${B}-message`},l):null,t?a.createElement("div",{className:`${B}-description`},t):null),Z?a.createElement("div",{className:`${B}-action`},Z):null,a.createElement(C,{isClosable:U,prefixCls:B,closeIcon:_,handleClose:P,ariaProps:G}))}))});var k=t(15671),q=t(43144),V=t(61120),A=t(78814),S=t(82963),T=t(60136);let J=function(e){function r(){var e,t,a;return(0,k.Z)(this,r),t=r,a=arguments,t=(0,V.Z)(t),(e=(0,S.Z)(this,(0,A.Z)()?Reflect.construct(t,a||[],(0,V.Z)(this).constructor):t.apply(this,a))).state={error:void 0,info:{componentStack:""}},e}return(0,T.Z)(r,e),(0,q.Z)(r,[{key:"componentDidCatch",value:function(e,r){this.setState({error:e,info:r})}},{key:"render",value:function(){let{message:e,description:r,id:t,children:n}=this.props,{error:l,info:o}=this.state,s=(null==o?void 0:o.componentStack)||null,i=void 0===e?(l||"").toString():e;return l?a.createElement(L,{id:t,type:"error",message:i,description:a.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},void 0===r?s:r)}):n}}])}(a.Component);L.ErrorBoundary=J;var B=L},36459:function(e,r,t){t.d(r,{Z:function(){return a}});function a(e){if(null==e)throw TypeError("Cannot destructure "+e)}},60411:function(e,r,t){t.d(r,{ge:function(){return c},p1:function(){return w},Go:function(){return b},HP:function(){return x}});var a,n,l,o,s,i,c,d,u,x=new Uint16Array('ᵁ<\xd5ıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\x00\x00\x00\x00\x00\x00ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig耻\xc6䃆P耻&䀦cute耻\xc1䃁reve;䄂Āiyx}rc耻\xc2䃂;䐐r;쀀\ud835\udd04rave耻\xc0䃀pha;䎑acr;䄀d;橓Āgp\x9d\xa1on;䄄f;쀀\ud835\udd38plyFunction;恡ing耻\xc5䃅Ācs\xbe\xc3r;쀀\ud835\udc9cign;扔ilde耻\xc3䃃ml耻\xc4䃄Ѐaceforsu\xe5\xfb\xfeėĜĢħĪĀcr\xea\xf2kslash;或Ŷ\xf6\xf8;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀\ud835\udd05pf;쀀\ud835\udd39eve;䋘c\xf2ēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻\xa9䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻\xc7䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷\xf2ſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀\ud835\udc9epĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀\ud835\udd07Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\x00\x00\x00͔͂\x00Ѕf;쀀\ud835\udd3bƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegra\xecȹoɴ͹\x00\x00ͻ\xbb͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔e\xe5ˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\x00\x00ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\x00ц\x00ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\x00ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀\ud835\udc9frok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻\xd0䃐cute耻\xc9䃉ƀaiyӒӗӜron;䄚rc耻\xca䃊;䐭ot;䄖r;쀀\ud835\udd08rave耻\xc8䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\x00\x00ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀\ud835\udd3csilon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻\xcb䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀\ud835\udd09lledɓ֗\x00\x00֣mallSquare;旼erySmallSquare;斪Ͱֺ\x00ֿ\x00\x00ׄf;쀀\ud835\udd3dAll;戀riertrf;愱c\xf2׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀\ud835\udd0a;拙pf;쀀\ud835\udd3eeater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀\ud835\udca2;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\x00ڲf;愍izontalLine;攀Āctۃۅ\xf2کrok;䄦mpńېۘownHum\xf0įqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻\xcd䃍Āiyܓܘrc耻\xce䃎;䐘ot;䄰r;愑rave耻\xcc䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lie\xf3ϝǴ݉\x00ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀\ud835\udd40a;䎙cr;愐ilde;䄨ǫޚ\x00ޞcy;䐆l耻\xcf䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀\ud835\udd0dpf;쀀\ud835\udd41ǣ߇\x00ߌr;쀀\ud835\udca5rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀\ud835\udd0epf;쀀\ud835\udd42cr;쀀\ud835\udca6րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\x00ࣃbleBracket;柦nǔࣈ\x00࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ight\xe1Μs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀\ud835\udd0fĀ;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊight\xe1οight\xe1ϊf;쀀\ud835\udd43erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂ\xf2ࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀\ud835\udd10nusPlus;戓pf;쀀\ud835\udd44c\xf2੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘\xeb૙eryThi\xee૙tedĀGL૸ଆreaterGreate\xf2ٳessLes\xf3ੈLine;䀊r;쀀\ud835\udd11ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀\ud835\udca9ilde耻\xd1䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻\xd3䃓Āiy෎ීrc耻\xd4䃔;䐞blac;䅐r;쀀\ud835\udd12rave耻\xd2䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀\ud835\udd46enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀\ud835\udcaaash耻\xd8䃘iŬื฼de耻\xd5䃕es;樷ml耻\xd6䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀\ud835\udd13i;䎦;䎠usMinus;䂱Āipຢອncareplan\xe5ڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀\ud835\udcab;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀\ud835\udd14pf;愚cr;쀀\ud835\udcac؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻\xae䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r\xbbཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\x00စbleBracket;柧nǔည\x00နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀\ud835\udd16ortȀDLRUᄪᄴᄾᅉownArrow\xbbОeftArrow\xbb࢚ightArrow\xbb࿝pArrow;憑gma;䎣allCircle;战pf;쀀\ud835\udd4aɲᅭ\x00\x00ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀\ud835\udcaear;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Th\xe1ྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et\xbbሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻\xde䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀\ud835\udd17Āeiቻ኉Dzኀ\x00ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀\ud835\udd4bipleDot;惛Āctዖዛr;쀀\ud835\udcafrok;䅦ૡዷጎጚጦ\x00ጬጱ\x00\x00\x00\x00\x00ጸጽ፷ᎅ\x00᏿ᐄᐊᐐĀcrዻጁute耻\xda䃚rĀ;oጇገ憟cir;楉rǣጓ\x00጖y;䐎ve;䅬Āiyጞጣrc耻\xdb䃛;䐣blac;䅰r;쀀\ud835\udd18rave耻\xd9䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀\ud835\udd4cЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥own\xe1ϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀\ud835\udcb0ilde;䅨ml耻\xdc䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀\ud835\udd19pf;쀀\ud835\udd4dcr;쀀\ud835\udcb1dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀\ud835\udd1apf;쀀\ud835\udd4ecr;쀀\ud835\udcb2Ȁfiosᓋᓐᓒᓘr;쀀\ud835\udd1b;䎞pf;쀀\ud835\udd4fcr;쀀\ud835\udcb3ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻\xdd䃝Āiyᔉᔍrc;䅶;䐫r;쀀\ud835\udd1cpf;쀀\ud835\udd50cr;쀀\ud835\udcb4ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\x00ᕛoWidt\xe8૙a;䎖r;愨pf;愤cr;쀀\ud835\udcb5௡ᖃᖊᖐ\x00ᖰᖶᖿ\x00\x00\x00\x00ᗆᗛᗫᙟ᙭\x00ᚕ᚛ᚲᚹ\x00ᚾcute耻\xe1䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻\xe2䃢te肻\xb4̆;䐰lig耻\xe6䃦Ā;r\xb2ᖺ;쀀\ud835\udd1erave耻\xe0䃠ĀepᗊᗖĀfpᗏᗔsym;愵\xe8ᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\x00\x00ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e\xbbᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢\xbb\xb9arr;捼Āgpᙣᙧon;䄅f;쀀\ud835\udd52΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒ\xf1ᚃing耻\xe5䃥ƀctyᚡᚦᚨr;쀀\ud835\udcb6;䀪mpĀ;e዁ᚯ\xf1ʈilde耻\xe3䃣ml耻\xe4䃤Āciᛂᛈonin\xf4ɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e\xbbᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰s\xe9ᜌno\xf5ēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀\ud835\udd1fg΀costuvwឍឝឳេ៕៛៞ƀaiuបពរ\xf0ݠrc;旯p\xbb፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\x00\x00ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄e\xe5ᑄ\xe5ᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\x00ᠳƲᠯ\x00ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀\ud835\udd53Ā;tᏋᡣom\xbbᏌtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻\xa6䂦Ȁceioᥑᥖᥚᥠr;쀀\ud835\udcb7mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t\xbb᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\x00᧨ᨑᨕᨲ\x00ᨷᩐ\x00\x00᪴\x00\x00᫁\x00\x00ᬡᬮ᭍᭒\x00᯽\x00ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁\xeeړȀaeiu᧰᧻ᨁᨅǰ᧵\x00᧸s;橍on;䄍dil耻\xe7䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻\xb8ƭptyv;榲t脀\xa2;eᨭᨮ䂢r\xe4Ʋr;쀀\ud835\udd20ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark\xbbᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\x00\x00᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟\xbbཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it\xbb᪼ˬ᫇᫔᫺\x00ᬊonĀ;eᫍᫎ䀺Ā;q\xc7\xc6ɭ᫙\x00\x00᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁\xeeᅠeĀmx᫱᫶ent\xbb᫩e\xf3ɍǧ᫾\x00ᬇĀ;dኻᬂot;橭n\xf4Ɇƀfryᬐᬔᬗ;쀀\ud835\udd54o\xe4ɔ脀\xa9;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀\ud835\udcb8Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\x00\x00᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\x00\x00ᯒre\xe3᭳u\xe3᭵ee;拎edge;拏en耻\xa4䂤earrowĀlrᯮ᯳eft\xbbᮀight\xbbᮽe\xe4ᯝĀciᰁᰇonin\xf4Ƿnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍r\xf2΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸\xf2ᄳhĀ;vᱚᱛ怐\xbbऊūᱡᱧarow;椏a\xe3̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻\xb0䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀\ud835\udd21arĀlrᲳᲵ\xbbࣜ\xbbသʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀\xf7;o᳧ᳰntimes;拇n\xf8᳷cy;䑒cɯᴆ\x00\x00ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀\ud835\udd55ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedg\xe5\xfanƀadhᄮᵝᵧownarrow\xf3ᲃarpoonĀlrᵲᵶef\xf4Ჴigh\xf4ᲶŢᵿᶅkaro\xf7གɯᶊ\x00\x00ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀\ud835\udcb9;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃r\xf2Щa\xf2ྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴo\xf4ᲉĀcsḎḔute耻\xe9䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻\xea䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀\ud835\udd22ƀ;rsṐṑṗ檚ave耻\xe8䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et\xbbẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀\ud835\udd56ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on\xbbớ;䏵ȀcsuvỪỳἋἣĀioữḱrc\xbbḮɩỹ\x00\x00ỻ\xedՈantĀglἂἆtr\xbbṝess\xbbṺƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯o\xf4͒ĀahὉὋ;䎷耻\xf0䃰Āmrὓὗl耻\xeb䃫o;悬ƀcipὡὤὧl;䀡s\xf4ծĀeoὬὴctatio\xeeՙnential\xe5չৡᾒ\x00ᾞ\x00ᾡᾧ\x00\x00ῆῌ\x00ΐ\x00ῦῪ \x00 ⁚llingdotse\xf1Ṅy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\x00\x00᾽g;耀ffig;耀ffl;쀀\ud835\udd23lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\x00ῳf;쀀\ud835\udd57ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\x00⁐β•‥‧‪‬\x00‮耻\xbd䂽;慓耻\xbc䂼;慕;慙;慛Ƴ‴\x00‶;慔;慖ʴ‾⁁\x00\x00⁃耻\xbe䂾;慗;慜5;慘ƶ⁌\x00⁎;慚;慝8;慞l;恄wn;挢cr;쀀\ud835\udcbbࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lan\xf4٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀\ud835\udd24Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox\xbbℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀\ud835\udd58Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\x00↎pro\xf8₞r;楸qĀlqؿ↖les\xf3₈i\xed٫Āen↣↭rtneqq;쀀≩︀\xc5↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽r\xf2ΠȀilmr⇐⇔⇗⇛rs\xf0ᒄf\xbb․il\xf4کĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it\xbb∊lip;怦con;抹r;쀀\ud835\udd25sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀\ud835\udd59bar;怕ƀclt≯≴≸r;쀀\ud835\udcbdas\xe8⇴rok;䄧Ābp⊂⊇ull;恃hen\xbbᱛૡ⊣\x00⊪\x00⊸⋅⋎\x00⋕⋳\x00\x00⋸⌢⍧⍢⍿\x00⎆⎪⎴cute耻\xed䃭ƀ;iyݱ⊰⊵rc耻\xee䃮;䐸Ācx⊼⊿y;䐵cl耻\xa1䂡ĀfrΟ⋉;쀀\ud835\udd26rave耻\xec䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓in\xe5ގar\xf4ܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝do\xf4⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙er\xf3ᕣ\xe3⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀\ud835\udd5aa;䎹uest耻\xbf䂿Āci⎊⎏r;쀀\ud835\udcbenʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\x00⎼cy;䑖l耻\xef䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀\ud835\udd27ath;䈷pf;쀀\ud835\udd5bǣ⏬\x00⏱r;쀀\ud835\udcbfrcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀\ud835\udd28reen;䄸cy;䑅cy;䑜pf;쀀\ud835\udd5ccr;쀀\ud835\udcc0஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼r\xf2৆\xf2Εail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\x00⒪\x00⒱\x00\x00\x00\x00\x00⒵Ⓔ\x00ⓆⓈⓍ\x00⓹ute;䄺mptyv;榴ra\xeeࡌbda;䎻gƀ;dlࢎⓁⓃ;榑\xe5ࢎ;檅uo耻\xab䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝\xeb≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼\xecࢰ\xe2┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□a\xe9⓶arpoonĀdu▯▴own\xbbњp\xbb०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoon\xf3྘quigarro\xf7⇰hreetimes;拋ƀ;qs▋ও◺lan\xf4বʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋ppro\xf8Ⓠot;拖qĀgq♃♅\xf4উgt\xf2⒌\xf4ছi\xedলƀilr♕࣡♚sht;楼;쀀\ud835\udd29Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖r\xf2◁orne\xf2ᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che\xbb⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox\xbb⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽r\xebࣁgƀlmr⛿✍✔eftĀar০✇ight\xe1৲apsto;柼ight\xe1৽parrowĀlr✥✩ef\xf4⓭ight;憬ƀafl✶✹✽r;榅;쀀\ud835\udd5dus;樭imes;樴š❋❏st;戗\xe1ፎƀ;ef❗❘᠀旊nge\xbb❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇r\xf2ࢨorne\xf2ᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀\ud835\udcc1mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹re\xe5◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀\xc5⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻\xaf䂯Āet⡗⡙;時Ā;e⡞⡟朠se\xbb⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻ow\xeeҌef\xf4ए\xf0Ꮡker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle\xbbᘦr;쀀\ud835\udd2ao;愧ƀcdn⢯⢴⣉ro耻\xb5䂵Ȁ;acdᑤ⢽⣀⣄s\xf4ᚧir;櫰ot肻\xb7Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛\xf2−\xf0ઁĀdp⣩⣮els;抧f;쀀\ud835\udd5eĀct⣸⣽r;쀀\ud835\udcc2pos\xbbᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la\xbb˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉ro\xf8඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\x00⧣p肻\xa0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\x00⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸ui\xf6ୣĀei⩊⩎ar;椨\xed஘istĀ;s஠டr;쀀\ud835\udd2bȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lan\xf4௢i\xed௪Ā;rஶ⪁\xbbஷƀAap⪊⪍⪑r\xf2⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹r\xf2⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro\xf7⫁ightarro\xf7⪐ƀ;qs఻⪺⫪lan\xf4ౕĀ;sౕ⫴\xbbశi\xedౝĀ;rవ⫾iĀ;eచథi\xe4ඐĀpt⬌⬑f;쀀\ud835\udd5f膀\xac;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lle\xec୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳u\xe5ಥĀ;cಘ⭸Ā;eಒ⭽\xf1ಘȀAait⮈⮋⮝⮧r\xf2⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow\xbb⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉u\xe5൅;쀀\ud835\udcc3ortɭ⬅\x00\x00⯖ar\xe1⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭\xe5೸\xe5ഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗ\xf1സȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇ\xecௗlde耻\xf1䃱\xe7ృiangleĀlrⱒⱜeftĀ;eచⱚ\xf1దightĀ;eೋⱥ\xf1೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00ⴭ\x00ⴸⵈⵠⵥ⵲ⶄᬇ\x00\x00ⶍⶫ\x00ⷈⷎ\x00ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻\xf3䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻\xf4䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀\ud835\udd2cͯ⵹\x00\x00⵼\x00ⶂn;䋛ave耻\xf2䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨr\xf2᪀Āir⶝ⶠr;榾oss;榻n\xe5๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀\ud835\udd60ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨r\xf2᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f\xbbⷿ耻\xaa䂪耻\xba䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧\xf2⸁ash耻\xf8䃸l;折iŬⸯ⸴de耻\xf5䃵esĀ;aǛ⸺s;樶ml耻\xf6䃶bar;挽ૡ⹞\x00⹽\x00⺀⺝\x00⺢⺹\x00\x00⻋ຜ\x00⼓\x00\x00⼫⾼\x00⿈rȀ;astЃ⹧⹲຅脀\xb6;l⹭⹮䂶le\xecЃɩ⹸\x00\x00⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀\ud835\udd2dƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕ma\xf4੶ne;明ƀ;tv⺿⻀⻈䏀chfork\xbb´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎\xf6⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻\xb1ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀\ud835\udd61nd耻\xa3䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷u\xe5໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾ppro\xf8⽃urlye\xf1໙\xf1໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨i\xedໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺\xf0⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴\xef໻rel;抰Āci⿀⿅r;쀀\ud835\udcc5;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀\ud835\udd2epf;쀀\ud835\udd62rime;恗cr;쀀\ud835\udcc6ƀaeo⿸〉〓tĀei⿾々rnion\xf3ڰnt;樖stĀ;e【】䀿\xf1Ἑ\xf4༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがr\xf2Ⴓ\xf2ϝail;検ar\xf2ᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕i\xe3ᅮmptyv;榳gȀ;del࿑らるろ;榒;榥\xe5࿑uo耻\xbb䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞\xeb≝\xf0✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶al\xf3༞ƀabrョリヮr\xf2៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗\xec࿲\xe2ヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜn\xe5Ⴛar\xf4ྩt;断ƀilrㅩဣㅮsht;楽;쀀\ud835\udd2fĀaoㅷㆆrĀduㅽㅿ\xbbѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭa\xe9トarpoonĀduㆻㆿow\xeeㅾp\xbb႒eftĀah㇊㇐rrow\xf3࿪arpoon\xf3Ցightarrows;應quigarro\xf7ニhreetimes;拌g;䋚ingdotse\xf1ἲƀahm㈍㈐㈓r\xf2࿪a\xf2Ց;怏oustĀ;a㈞㈟掱che\xbb㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾r\xebဃƀafl㉇㉊㉎r;榆;쀀\ud835\udd63us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒ar\xf2㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀\ud835\udcc7Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠re\xe5ㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\x00㍺㎤\x00\x00㏬㏰\x00㐨㑈㑚㒭㒱㓊㓱\x00㘖\x00\x00㘳cute;䅛qu\xef➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\x00㋼;檸on;䅡u\xe5ᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓i\xedሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒\xeb∨Ā;oਸ਼਴t耻\xa7䂧i;䀻war;椩mĀin㍩\xf0nu\xf3\xf1t;朶rĀ;o㍶⁕쀀\ud835\udd30Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\x00\x00㎜i\xe4ᑤara\xec⹯耻\xad䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲ar\xf2ᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetm\xe9㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀\ud835\udd64aĀdr㑍ЂesĀ;u㑔㑕晠it\xbb㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍\xf1ᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝\xf1ᆮƀ;afᅻ㒦ְrť㒫ֱ\xbbᅼar\xf2ᅈȀcemt㒹㒾㓂㓅r;쀀\ud835\udcc8tm\xee\xf1i\xec㐕ar\xe6ᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psilo\xeeỠh\xe9⺯s\xbb⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦ppro\xf8㋺urlye\xf1ᇾ\xf1ᇳƀaes㖂㖈㌛ppro\xf8㌚q\xf1㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻\xb9䂹耻\xb2䂲耻\xb3䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨\xeb∮Ā;oਫ਩war;椪lig耻\xdf䃟௡㙑㙝㙠ዎ㙳㙹\x00㙾㛂\x00\x00\x00\x00\x00㛛㜃\x00㜉㝬\x00\x00\x00㞇ɲ㙖\x00\x00㙛get;挖;䏄r\xeb๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀\ud835\udd31Ȁeiko㚆㚝㚵㚼Dz㚋\x00㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮ppro\xf8዁im\xbbኬs\xf0ኞĀas㚺㚮\xf0዁rn耻\xfe䃾Ǭ̟㛆⋧es膀\xd7;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀\xe1⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀\ud835\udd65rk;櫚\xe1㍢rime;怴ƀaip㜏㜒㝤d\xe5ቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own\xbbᶻeftĀ;e⠀㜾\xf1म;扜ightĀ;e㊪㝋\xf1ၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀\ud835\udcc9;䑆cy;䑛rok;䅧Āio㞋㞎x\xf4᝷headĀlr㞗㞠eftarro\xf7ࡏightarrow\xbbཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶r\xf2ϭar;楣Ācr㟜㟢ute耻\xfa䃺\xf2ᅐrǣ㟪\x00㟭y;䑞ve;䅭Āiy㟵㟺rc耻\xfb䃻;䑃ƀabh㠃㠆㠋r\xf2Ꭽlac;䅱a\xf2ᏃĀir㠓㠘sht;楾;쀀\ud835\udd32rave耻\xf9䃹š㠧㠱rĀlr㠬㠮\xbbॗ\xbbႃlk;斀Āct㠹㡍ɯ㠿\x00\x00㡊rnĀ;e㡅㡆挜r\xbb㡆op;挏ri;旸Āal㡖㡚cr;䅫肻\xa8͉Āgp㡢㡦on;䅳f;쀀\ud835\udd66̀adhlsuᅋ㡸㡽፲㢑㢠own\xe1ᎳarpoonĀlr㢈㢌ef\xf4㠭igh\xf4㠯iƀ;hl㢙㢚㢜䏅\xbbᏺon\xbb㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\x00\x00㣁rnĀ;e㢼㢽挝r\xbb㢽op;挎ng;䅯ri;旹cr;쀀\ud835\udccaƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨\xbb᠓Āam㣯㣲r\xf2㢨l耻\xfc䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠r\xf2ϷarĀ;v㤦㤧櫨;櫩as\xe8ϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖app\xe1␕othin\xe7ẖƀhir㓫⻈㥙op\xf4⾵Ā;hᎷ㥢\xefㆍĀiu㥩㥭gm\xe1㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟et\xe1㚜iangleĀlr㦪㦯eft\xbbथight\xbbၑy;䐲ash\xbbံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨa\xf2ᑩr;쀀\ud835\udd33tr\xe9㦮suĀbp㧯㧱\xbbജ\xbb൙pf;쀀\ud835\udd67ro\xf0໻tr\xe9㦴Ācu㨆㨋r;쀀\ud835\udccbĀbp㨐㨘nĀEe㦀㨖\xbb㥾nĀEe㦒㨞\xbb㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀\ud835\udd34pf;쀀\ud835\udd68Ā;eᑹ㩦at\xe8ᑹcr;쀀\ud835\udcccૣណ㪇\x00㪋\x00㪐㪛\x00\x00㪝㪨㪫㪯\x00\x00㫃㫎\x00㫘ៜ៟tr\xe9៑r;쀀\ud835\udd35ĀAa㪔㪗r\xf2σr\xf2৶;䎾ĀAa㪡㪤r\xf2θr\xf2৫a\xf0✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀\ud835\udd69im\xe5ឲĀAa㫇㫊r\xf2ώr\xf2ਁĀcq㫒ីr;쀀\ud835\udccdĀpt៖㫜r\xe9។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻\xfd䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻\xa5䂥r;쀀\ud835\udd36cy;䑗pf;쀀\ud835\udd6acr;쀀\ud835\udcceĀcm㬦㬩y;䑎l耻\xff䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡tr\xe6ᕟa;䎶r;쀀\ud835\udd37cy;䐶grarr;懝pf;쀀\ud835\udd6bcr;쀀\ud835\udccfĀjn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),p=new Uint16Array("Ȁaglq \x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));let f=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),v=null!==(s=String.fromCodePoint)&&void 0!==s?s:function(e){let r="";return e>65535&&(e-=65536,r+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),r+=String.fromCharCode(e)};function y(e){return e>=i.ZERO&&e<=i.NINE}(a=i||(i={}))[a.NUM=35]="NUM",a[a.SEMI=59]="SEMI",a[a.EQUALS=61]="EQUALS",a[a.ZERO=48]="ZERO",a[a.NINE=57]="NINE",a[a.LOWER_A=97]="LOWER_A",a[a.LOWER_F=102]="LOWER_F",a[a.LOWER_X=120]="LOWER_X",a[a.LOWER_Z=122]="LOWER_Z",a[a.UPPER_A=65]="UPPER_A",a[a.UPPER_F=70]="UPPER_F",a[a.UPPER_Z=90]="UPPER_Z",(n=c||(c={}))[n.VALUE_LENGTH=49152]="VALUE_LENGTH",n[n.BRANCH_LENGTH=16256]="BRANCH_LENGTH",n[n.JUMP_TABLE=127]="JUMP_TABLE",(l=d||(d={}))[l.EntityStart=0]="EntityStart",l[l.NumericStart=1]="NumericStart",l[l.NumericDecimal=2]="NumericDecimal",l[l.NumericHex=3]="NumericHex",l[l.NamedEntity=4]="NamedEntity",(o=u||(u={}))[o.Legacy=0]="Legacy",o[o.Strict=1]="Strict",o[o.Attribute=2]="Attribute";class m{constructor(e,r,t){this.decodeTree=e,this.emitCodePoint=r,this.errors=t,this.state=d.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=u.Strict}startEntity(e){this.decodeMode=e,this.state=d.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,r){switch(this.state){case d.EntityStart:if(e.charCodeAt(r)===i.NUM)return this.state=d.NumericStart,this.consumed+=1,this.stateNumericStart(e,r+1);return this.state=d.NamedEntity,this.stateNamedEntity(e,r);case d.NumericStart:return this.stateNumericStart(e,r);case d.NumericDecimal:return this.stateNumericDecimal(e,r);case d.NumericHex:return this.stateNumericHex(e,r);case d.NamedEntity:return this.stateNamedEntity(e,r)}}stateNumericStart(e,r){return r>=e.length?-1:(32|e.charCodeAt(r))===i.LOWER_X?(this.state=d.NumericHex,this.consumed+=1,this.stateNumericHex(e,r+1)):(this.state=d.NumericDecimal,this.stateNumericDecimal(e,r))}addToNumericResult(e,r,t,a){if(r!==t){let n=t-r;this.result=this.result*Math.pow(a,n)+parseInt(e.substr(r,n),a),this.consumed+=n}}stateNumericHex(e,r){let t=r;for(;r=i.UPPER_A)||!(a<=i.UPPER_F))&&(!(a>=i.LOWER_A)||!(a<=i.LOWER_F)))return this.addToNumericResult(e,t,r,16),this.emitNumericEntity(n,3);r+=1}return this.addToNumericResult(e,t,r,16),-1}stateNumericDecimal(e,r){let t=r;for(;r=55296&&a<=57343||a>1114111?65533:null!==(n=f.get(a))&&void 0!==n?n:a,this.consumed),this.errors&&(e!==i.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,r){let{decodeTree:t}=this,a=t[this.treeIndex],n=(a&c.VALUE_LENGTH)>>14;for(;r=i.UPPER_A&&r<=i.UPPER_Z||r>=i.LOWER_A&&r<=i.LOWER_Z||y(r)}(l))?0:this.emitNotTerminatedNamedEntity();if(0!=(n=((a=t[this.treeIndex])&c.VALUE_LENGTH)>>14)){if(l===i.SEMI)return this.emitNamedEntityData(this.treeIndex,n,this.consumed+this.excess);this.decodeMode!==u.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:r,decodeTree:t}=this,a=(t[r]&c.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,a,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,r,t){let{decodeTree:a}=this;return this.emitCodePoint(1===r?a[e]&~c.VALUE_LENGTH:a[e+1],t),3===r&&this.emitCodePoint(a[e+2],t),t}end(){var e;switch(this.state){case d.NamedEntity:return 0!==this.result&&(this.decodeMode!==u.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case d.NumericDecimal:return this.emitNumericEntity(0,2);case d.NumericHex:return this.emitNumericEntity(0,3);case d.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case d.EntityStart:return 0}}}function h(e){let r="",t=new m(e,e=>r+=v(e));return function(e,a){let n=0,l=0;for(;(l=e.indexOf("&",l))>=0;){r+=e.slice(n,l),t.startEntity(a);let o=t.write(e,l+1);if(o<0){n=l+t.end();break}n=l+o,l=0===o?n+1:n}let o=r+e.slice(n);return r="",o}}function b(e,r,t,a){let n=(r&c.BRANCH_LENGTH)>>7,l=r&c.JUMP_TABLE;if(0===n)return 0!==l&&a===l?t:-1;if(l){let r=a-l;return r<0||r>=n?-1:e[t+r]-1}let o=t,s=o+n-1;for(;o<=s;){let r=o+s>>>1,t=e[r];if(ta))return e[r+n];s=r-1}}return -1}let g=h(x);function w(e,r=u.Legacy){return g(e,r)}h(p)},43470:function(e,r,t){let a=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function n(e,r){return function(t){let a;let n=0,l="";for(;a=e.exec(t);)n!==a.index&&(l+=t.substring(n,a.index)),l+=r.get(a[0].charCodeAt(0)),n=a.index+1;return l+t.substring(n)}}null!=String.prototype.codePointAt||((e,r)=>(64512&e.charCodeAt(r))==55296?(e.charCodeAt(r)-55296)*1024+e.charCodeAt(r+1)-56320+65536:e.charCodeAt(r)),n(/[&<>'"]/g,a),n(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),n(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9223-5d82187304ea63dc.js b/dbgpt/app/static/web/_next/static/chunks/9223-5d82187304ea63dc.js new file mode 100644 index 000000000..be8dec62f --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/9223-5d82187304ea63dc.js @@ -0,0 +1,6 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9223,3756],{41156:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},50067:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={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"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},63606:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},9020:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={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"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},9641:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 100c-61.8 0-112 50.2-112 112 0 47.7 29.9 88.5 72 104.6v27.6L512 601.4 312 344.2v-27.6c42.1-16.1 72-56.9 72-104.6 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 50.6 33.8 93.5 80 107.3v34.4c0 9.7 3.3 19.3 9.3 27L476 672.3v33.6c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-33.6l226.7-291.6c6-7.7 9.3-17.3 9.3-27v-34.4c46.2-13.8 80-56.7 80-107.3 0-61.8-50.2-112-112-112zM224 212a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm336 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm192-552a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"fork",theme:"outlined"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},6171:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={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"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},38545:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={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"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},92962:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={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"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},8745:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(67294),o=n(21770),a=n(28459),l=n(53124);function i(e){return t=>r.createElement(a.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,Object.assign({},t)))}t.Z=(e,t,n,a)=>i(i=>{let{prefixCls:c,style:s}=i,u=r.useRef(null),[d,f]=r.useState(0),[m,p]=r.useState(0),[g,v]=(0,o.Z)(!1,{value:i.open}),{getPrefixCls:h}=r.useContext(l.E_),b=h(t||"select",c);r.useEffect(()=>{if(v(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;f(t.offsetHeight+8),p(t.offsetWidth)}),t=setInterval(()=>{var r;let o=n?`.${n(b)}`:`.${b}-dropdown`,a=null===(r=u.current)||void 0===r?void 0:r.querySelector(o);a&&(clearInterval(t),e.observe(a))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let y=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},s),{margin:0}),open:g,visible:g,getPopupContainer:()=>u.current});return a&&(y=a(y)),r.createElement("div",{ref:u,style:{paddingBottom:d,position:"relative",minWidth:m}},r.createElement(e,Object.assign({},y)))})},98065:function(e,t,n){"use strict";function r(e){return["small","middle","large"].includes(e)}function o(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}n.d(t,{T:function(){return o},n:function(){return r}})},96074:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(67294),o=n(93967),a=n.n(o),l=n(53124),i=n(25446),c=n(14747),s=n(83559),u=n(83262);let d=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o,textPaddingInline:a,orientationMargin:l,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{borderBlockStart:`${(0,i.bf)(o)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,i.bf)(o)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,i.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,i.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,i.bf)(o)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${l} * 100%)`},"&::after":{width:`calc(100% - ${l} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${l} * 100%)`},"&::after":{width:`calc(${l} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:a},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${(0,i.bf)(o)} 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},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:`${(0,i.bf)(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{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 f=(0,s.I$)("Divider",e=>{let t=(0,u.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[d(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),m=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},p=e=>{let{getPrefixCls:t,direction:n,divider:o}=r.useContext(l.E_),{prefixCls:i,type:c="horizontal",orientation:s="center",orientationMargin:u,className:d,rootClassName:p,children:g,dashed:v,variant:h="solid",plain:b,style:y}=e,O=m(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),$=t("divider",i),[C,x,w]=f($),E=!!g,j="left"===s&&null!=u,k="right"===s&&null!=u,z=a()($,null==o?void 0:o.className,x,w,`${$}-${c}`,{[`${$}-with-text`]:E,[`${$}-with-text-${s}`]:E,[`${$}-dashed`]:!!v,[`${$}-${h}`]:"solid"!==h,[`${$}-plain`]:!!b,[`${$}-rtl`]:"rtl"===n,[`${$}-no-default-orientation-margin-left`]:j,[`${$}-no-default-orientation-margin-right`]:k},d,p),Z=r.useMemo(()=>"number"==typeof u?u:/^\d+$/.test(u)?Number(u):u,[u]),I=Object.assign(Object.assign({},j&&{marginLeft:Z}),k&&{marginRight:Z});return C(r.createElement("div",Object.assign({className:z,style:Object.assign(Object.assign({},null==o?void 0:o.style),y)},O,{role:"separator"}),g&&"vertical"!==c&&r.createElement("span",{className:`${$}-inner-text`,style:I},g)))}},45360:function(e,t,n){"use strict";var r=n(74902),o=n(67294),a=n(38135),l=n(66968),i=n(53124),c=n(28459),s=n(66277),u=n(16474),d=n(84926);let f=null,m=e=>e(),p=[],g={};function v(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=g,a=(null==e?void 0:e())||document.body;return{getContainer:()=>a,duration:t,rtl:n,maxCount:r,top:o}}let h=o.forwardRef((e,t)=>{let{messageConfig:n,sync:r}=e,{getPrefixCls:a}=(0,o.useContext)(i.E_),c=g.prefixCls||a("message"),s=(0,o.useContext)(l.J),[d,f]=(0,u.K)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:c}),s.message));return o.useImperativeHandle(t,()=>{let e=Object.assign({},d);return Object.keys(e).forEach(t=>{e[t]=function(){return r(),d[t].apply(d,arguments)}}),{instance:e,sync:r}}),f}),b=o.forwardRef((e,t)=>{let[n,r]=o.useState(v),a=()=>{r(v)};o.useEffect(a,[]);let l=(0,c.w6)(),i=l.getRootPrefixCls(),s=l.getIconPrefixCls(),u=l.getTheme(),d=o.createElement(h,{ref:t,sync:a,messageConfig:n});return o.createElement(c.ZP,{prefixCls:i,iconPrefixCls:s,theme:u},l.holderRender?l.holderRender(d):d)});function y(){if(!f){let e=document.createDocumentFragment(),t={fragment:e};f=t,m(()=>{(0,a.s)(o.createElement(b,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,y())})}}),e)});return}f.instance&&(p.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":m(()=>{let t=f.instance.open(Object.assign(Object.assign({},g),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":m(()=>{null==f||f.instance.destroy(e.key)});break;default:m(()=>{var n;let o=(n=f.instance)[t].apply(n,(0,r.Z)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),p=[])}let O={open:function(e){let t=(0,d.J)(t=>{let n;let r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return p.push(r),()=>{n?m(()=>{n()}):r.skipped=!0}});return y(),t},destroy:e=>{p.push({type:"destroy",key:e}),y()},config:function(e){g=Object.assign(Object.assign({},g),e),m(()=>{var e;null===(e=null==f?void 0:f.sync)||void 0===e||e.call(f)})},useMessage:u.Z,_InternalPanelDoNotUseOrYouWillBeFired:s.ZP};["success","info","warning","error","loading"].forEach(e=>{O[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 p.push(o),()=>{r?m(()=>{r()}):o.skipped=!0}});return y(),n}(e,n)}}),t.ZP=O},85576:function(e,t,n){"use strict";n.d(t,{default:function(){return $}});var r=n(56080),o=n(38657),a=n(56745),l=n(67294),i=n(93967),c=n.n(i),s=n(40974),u=n(8745),d=n(53124),f=n(35792),m=n(32409),p=n(4941),g=n(71194),v=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},h=(0,u.i)(e=>{let{prefixCls:t,className:n,closeIcon:r,closable:o,type:a,title:i,children:u,footer:h}=e,b=v(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:y}=l.useContext(d.E_),O=y(),$=t||y("modal"),C=(0,f.Z)(O),[x,w,E]=(0,g.ZP)($,C),j=`${$}-confirm`,k={};return k=a?{closable:null!=o&&o,title:"",footer:"",children:l.createElement(m.O,Object.assign({},e,{prefixCls:$,confirmPrefixCls:j,rootPrefixCls:O,content:u}))}:{closable:null==o||o,title:i,footer:null!==h&&l.createElement(p.$,Object.assign({},e)),children:u},x(l.createElement(s.s,Object.assign({prefixCls:$,className:c()(w,`${$}-pure-panel`,a&&j,a&&`${j}-${a}`,n,E,C)},b,{closeIcon:(0,p.b)($,r),closable:o},k)))}),b=n(94423);function y(e){return(0,r.ZP)((0,r.uW)(e))}let O=a.Z;O.useModal=b.Z,O.info=function(e){return(0,r.ZP)((0,r.cw)(e))},O.success=function(e){return(0,r.ZP)((0,r.vq)(e))},O.error=function(e){return(0,r.ZP)((0,r.AQ)(e))},O.warning=y,O.warn=y,O.confirm=function(e){return(0,r.ZP)((0,r.Au)(e))},O.destroyAll=function(){for(;o.Z.length;){let e=o.Z.pop();e&&e()}},O.config=r.ai,O._InternalPanelDoNotUseOrYouWillBeFired=h;var $=O},86738:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(67294),o=n(21640),a=n(93967),l=n.n(a),i=n(21770),c=n(98423),s=n(53124),u=n(55241),d=n(86743),f=n(81643),m=n(14726),p=n(33671),g=n(10110),v=n(24457),h=n(66330),b=n(83559);let y=e=>{let{componentCls:t,iconCls:n,antCls:r,zIndexPopup:o,colorText:a,colorWarning:l,marginXXS:i,marginXS:c,fontSize:s,fontWeightStrong:u,colorTextHeading:d}=e;return{[t]:{zIndex:o,[`&${r}-popover`]:{fontSize:s},[`${t}-message`]:{marginBottom:c,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:l,fontSize:s,lineHeight:1,marginInlineEnd:c},[`${t}-title`]:{fontWeight:u,color:d,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:i,color:a}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:c}}}}};var O=(0,b.I$)("Popconfirm",e=>y(e),e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1}),$=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=>{let{prefixCls:t,okButtonProps:n,cancelButtonProps:a,title:l,description:i,cancelText:c,okText:u,okType:h="primary",icon:b=r.createElement(o.Z,null),showCancel:y=!0,close:O,onConfirm:$,onCancel:C,onPopupClick:x}=e,{getPrefixCls:w}=r.useContext(s.E_),[E]=(0,g.Z)("Popconfirm",v.Z.Popconfirm),j=(0,f.Z)(l),k=(0,f.Z)(i);return r.createElement("div",{className:`${t}-inner-content`,onClick:x},r.createElement("div",{className:`${t}-message`},b&&r.createElement("span",{className:`${t}-message-icon`},b),r.createElement("div",{className:`${t}-message-text`},j&&r.createElement("div",{className:`${t}-title`},j),k&&r.createElement("div",{className:`${t}-description`},k))),r.createElement("div",{className:`${t}-buttons`},y&&r.createElement(m.ZP,Object.assign({onClick:C,size:"small"},a),c||(null==E?void 0:E.cancelText)),r.createElement(d.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,p.nx)(h)),n),actionFn:$,close:O,prefixCls:w("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},u||(null==E?void 0:E.okText))))};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 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 w=r.forwardRef((e,t)=>{var n,a;let{prefixCls:d,placement:f="top",trigger:m="click",okType:p="primary",icon:g=r.createElement(o.Z,null),children:v,overlayClassName:h,onOpenChange:b,onVisibleChange:y}=e,$=x(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:w}=r.useContext(s.E_),[E,j]=(0,i.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(a=e.defaultOpen)&&void 0!==a?a:e.defaultVisible}),k=(e,t)=>{j(e,!0),null==y||y(e),null==b||b(e,t)},z=w("popconfirm",d),Z=l()(z,h),[I]=O(z);return I(r.createElement(u.Z,Object.assign({},(0,c.Z)($,["title"]),{trigger:m,placement:f,onOpenChange:(t,n)=>{let{disabled:r=!1}=e;r||k(t,n)},open:E,ref:t,overlayClassName:Z,content:r.createElement(C,Object.assign({okType:p,icon:g},e,{prefixCls:z,close:e=>{k(!1,e)},onConfirm:t=>{var n;return null===(n=e.onConfirm)||void 0===n?void 0:n.call(void 0,t)},onCancel:t=>{var n;k(!1,t),null===(n=e.onCancel)||void 0===n||n.call(void 0,t)}})),"data-popover-inject":!0}),v))});w._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,placement:n,className:o,style:a}=e,i=$(e,["prefixCls","placement","className","style"]),{getPrefixCls:c}=r.useContext(s.E_),u=c("popconfirm",t),[d]=O(u);return d(r.createElement(h.ZP,{placement:n,className:l()(u,o),style:a,content:r.createElement(C,Object.assign({prefixCls:u},i))}))};var E=w},42075:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(67294),o=n(93967),a=n.n(o),l=n(50344),i=n(98065),c=n(53124),s=n(4173);let u=r.createContext({latestIndex:0}),d=u.Provider;var f=e=>{let{className:t,index:n,children:o,split:a,style:l}=e,{latestIndex:i}=r.useContext(u);return null==o?null:r.createElement(r.Fragment,null,r.createElement("div",{className:t,style:l},o),nt.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 g=r.forwardRef((e,t)=>{var n,o,s;let{getPrefixCls:u,space:g,direction:v}=r.useContext(c.E_),{size:h=null!==(n=null==g?void 0:g.size)&&void 0!==n?n:"small",align:b,className:y,rootClassName:O,children:$,direction:C="horizontal",prefixCls:x,split:w,style:E,wrap:j=!1,classNames:k,styles:z}=e,Z=p(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[I,S]=Array.isArray(h)?h:[h,h],P=(0,i.n)(S),N=(0,i.n)(I),M=(0,i.T)(S),H=(0,i.T)(I),B=(0,l.Z)($,{keepEmpty:!0}),R=void 0===b&&"horizontal"===C?"center":b,V=u("space",x),[T,W,A]=(0,m.Z)(V),F=a()(V,null==g?void 0:g.className,W,`${V}-${C}`,{[`${V}-rtl`]:"rtl"===v,[`${V}-align-${R}`]:R,[`${V}-gap-row-${S}`]:P,[`${V}-gap-col-${I}`]:N},y,O,A),_=a()(`${V}-item`,null!==(o=null==k?void 0:k.item)&&void 0!==o?o:null===(s=null==g?void 0:g.classNames)||void 0===s?void 0:s.item),L=0,D=B.map((e,t)=>{var n,o;null!=e&&(L=t);let a=(null==e?void 0:e.key)||`${_}-${t}`;return r.createElement(f,{className:_,key:a,index:t,split:w,style:null!==(n=null==z?void 0:z.item)&&void 0!==n?n:null===(o=null==g?void 0:g.styles)||void 0===o?void 0:o.item},e)}),U=r.useMemo(()=>({latestIndex:L}),[L]);if(0===B.length)return null;let K={};return j&&(K.flexWrap="wrap"),!N&&H&&(K.columnGap=I),!P&&M&&(K.rowGap=S),T(r.createElement("div",Object.assign({ref:t,className:F,style:Object.assign(Object.assign(Object.assign({},K),null==g?void 0:g.style),E)},Z),r.createElement(d,{value:U},D)))});g.Compact=s.ZP;var v=g},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`}}})},33297:function(e,t,n){"use strict";n.d(t,{Fm:function(){return p}});var r=n(25446),o=n(93590);let a=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}}),l=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}}),i=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}}),c=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}}),s=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}}),d=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}}),f=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}}),m={"move-up":{inKeyframes:d,outKeyframes:f},"move-down":{inKeyframes:a,outKeyframes:l},"move-left":{inKeyframes:i,outKeyframes:c},"move-right":{inKeyframes:s,outKeyframes:u}},p=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:l}=m[t];return[(0,o.R)(r,a,l,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),o=n(93967),a=n.n(o),l=n(98423),i=n(98787),c=n(69760),s=n(96159),u=n(45353),d=n(53124),f=n(25446),m=n(10274),p=n(14747),g=n(83262),v=n(83559);let h=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o,calc:a}=e,l=a(r).sub(n).equal(),i=a(t).sub(n).equal();return{[o]:Object.assign(Object.assign({},(0,p.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,o=e.fontSizeSM,a=(0,g.IX)(e,{tagFontSize:o,tagLineHeight:(0,f.bf)(r(e.lineHeightSM).mul(o).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},y=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var O=(0,v.I$)("Tag",e=>{let t=b(e);return h(t)},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 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=r.forwardRef((e,t)=>{let{prefixCls:n,style:o,className:l,checked:i,onChange:c,onClick:s}=e,u=$(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:m}=r.useContext(d.E_),p=f("tag",n),[g,v,h]=O(p),b=a()(p,`${p}-checkable`,{[`${p}-checkable-checked`]:i},null==m?void 0:m.className,l,v,h);return g(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},o),null==m?void 0:m.style),className:b,onClick:e=>{null==c||c(!i),null==s||s(e)}})))});var x=n(98719);let w=e=>(0,x.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:a,darkColor:l}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var E=(0,v.bk)(["Tag","preset"],e=>{let t=b(e);return w(t)},y);let j=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var k=(0,v.bk)(["Tag","status"],e=>{let t=b(e);return[j(t,"success","Success"),j(t,"processing","Info"),j(t,"error","Error"),j(t,"warning","Warning")]},y),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 Z=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:f,style:m,children:p,icon:g,color:v,onClose:h,bordered:b=!0,visible:y}=e,$=z(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:C,direction:x,tag:w}=r.useContext(d.E_),[j,Z]=r.useState(!0),I=(0,l.Z)($,["closeIcon","closable"]);r.useEffect(()=>{void 0!==y&&Z(y)},[y]);let S=(0,i.o2)(v),P=(0,i.yT)(v),N=S||P,M=Object.assign(Object.assign({backgroundColor:v&&!N?v:void 0},null==w?void 0:w.style),m),H=C("tag",n),[B,R,V]=O(H),T=a()(H,null==w?void 0:w.className,{[`${H}-${v}`]:N,[`${H}-has-color`]:v&&!N,[`${H}-hidden`]:!j,[`${H}-rtl`]:"rtl"===x,[`${H}-borderless`]:!b},o,f,R,V),W=e=>{e.stopPropagation(),null==h||h(e),e.defaultPrevented||Z(!1)},[,A]=(0,c.Z)((0,c.w)(e),(0,c.w)(w),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${H}-close-icon`,onClick:W},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),W(t)},className:a()(null==e?void 0:e.className,`${H}-close-icon`)}))}}),F="function"==typeof $.onClick||p&&"a"===p.type,_=g||null,L=_?r.createElement(r.Fragment,null,_,p&&r.createElement("span",null,p)):p,D=r.createElement("span",Object.assign({},I,{ref:t,className:T,style:M}),L,A,S&&r.createElement(E,{key:"preset",prefixCls:H}),P&&r.createElement(k,{key:"status",prefixCls:H}));return B(F?r.createElement(u.Z,{component:"Tag"},D):D)});Z.CheckableTag=C;var I=Z},97334:function(e){!function(){"use strict";var t={815:function(e){e.exports=function(e,n,r,o){n=n||"&",r=r||"=";var a={};if("string"!=typeof e||0===e.length)return a;var l=/\+/g;e=e.split(n);var i=1e3;o&&"number"==typeof o.maxKeys&&(i=o.maxKeys);var c=e.length;i>0&&c>i&&(c=i);for(var s=0;s=0?(u=p.substr(0,g),d=p.substr(g+1)):(u=p,d=""),f=decodeURIComponent(u),m=decodeURIComponent(d),Object.prototype.hasOwnProperty.call(a,f))?t(a[f])?a[f].push(m):a[f]=[a[f],m]:a[f]=m}return a};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,a,l,i){return(a=a||"&",l=l||"=",null===e&&(e=void 0),"object"==typeof e)?r(o(e),function(o){var i=encodeURIComponent(t(o))+l;return n(e[o])?r(e[o],function(e){return i+encodeURIComponent(t(e))}).join(a):i+encodeURIComponent(t(e[o]))}).join(a):i?encodeURIComponent(t(i))+l+encodeURIComponent(t(e)):""};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r{let{queryAgentURL:t="/api/v1/chat/completions",app_code:a}=e,[u,m]=(0,c.useState)({}),{scene:p}=(0,c.useContext)(l.p),h=(0,c.useCallback)(async e=>{let{data:l,chatId:c,onMessage:u,onClose:h,onDone:x,onError:f,ctrl:v}=e;if(v&&m(v),!(null==l?void 0:l.user_input)&&!(null==l?void 0:l.doc_id)){o.ZP.warning(s.Z.t("no_context_tip"));return}let g={...l,conv_uid:c,app_code:a};try{var _,b;await (0,i.L)("".concat(null!==(_=d.env.API_BASE_URL)&&void 0!==_?_:"").concat(t),{method:"POST",headers:{"Content-Type":"application/json",[r.gp]:null!==(b=(0,n.n5)())&&void 0!==b?b:""},body:JSON.stringify(g),signal:v?v.signal:null,openWhenHidden:!0,async onopen(e){e.ok&&e.headers.get("content-type")===i.a||"application/json"!==e.headers.get("content-type")||e.json().then(e=>{null==u||u(e),null==x||x(),v&&v.abort()})},onclose(){v&&v.abort(),null==h||h()},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t="chat_agent"===p?JSON.parse(t).vis:JSON.parse(t)}catch(e){t.replaceAll("\\n","\n")}"string"==typeof t?"[DONE]"===t?null==x||x():(null==t?void 0:t.startsWith("[ERROR]"))?null==f||f(null==t?void 0:t.replace("[ERROR]","")):null==u||u(t):(null==u||u(t),null==x||x())}})}catch(e){v&&v.abort(),null==f||f("Sorry, We meet some error, please try agin later.",e)}},[t,a,p]);return{chat:h,ctrl:u}}},91467:function(e,t,a){"use strict";a.d(t,{TH:function(){return x},ZS:function(){return f}});var l=a(85893),s=a(89705),n=a(83062),r=a(96074),i=a(45030),o=a(85418),c=a(93967),d=a.n(c),u=a(36609),m=a(25675),p=a.n(m);a(67294);var h=a(48218);a(11873);let x=e=>{let{onClick:t,Icon:a="/pictures/card_chat.png",text:s=(0,u.t)("start_chat")}=e;return"string"==typeof a&&(a=(0,l.jsx)(p(),{src:a,alt:a,width:17,height:15})),(0,l.jsxs)("div",{className:"flex items-center gap-1 text-default",onClick:e=>{e.stopPropagation(),t&&t()},children:[a,(0,l.jsx)("span",{children:s})]})},f=e=>{let{menu:t}=e;return(0,l.jsx)(o.Z,{menu:t,getPopupContainer:e=>e.parentNode,placement:"bottomRight",autoAdjustOverflow:!1,children:(0,l.jsx)(s.Z,{className:"p-2 hover:bg-white hover:dark:bg-black rounded-md"})})};t.ZP=e=>{let{RightTop:t,Tags:a,LeftBottom:s,RightBottom:o,onClick:c,rightTopHover:u=!0,logo:m,name:x,description:f,className:v,scene:g,code:_}=e;return"string"==typeof f&&(f=(0,l.jsx)("p",{className:"line-clamp-2 relative bottom-4 text-ellipsis min-h-[42px] text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)]",children:f})),(0,l.jsx)("div",{className:d()("hover-underline-gradient flex justify-center mt-6 relative group w-1/3 px-2 mb-6",v),children:(0,l.jsxs)("div",{onClick:c,className:"backdrop-filter backdrop-blur-lg cursor-pointer bg-white bg-opacity-70 border-2 border-white rounded-lg shadow p-4 relative w-full h-full dark:border-[#6f7f95] dark:bg-[#6f7f95] dark:bg-opacity-60",children:[(0,l.jsxs)("div",{className:"flex items-end relative bottom-8 justify-between w-full",children:[(0,l.jsxs)("div",{className:"flex items-end gap-4 w-11/12 flex-1",children:[(0,l.jsx)("div",{className:"bg-white rounded-lg shadow-sm w-14 h-14 flex items-center p-3",children:g?(0,l.jsx)(h.Z,{scene:g,width:14,height:14}):m&&(0,l.jsx)(p(),{src:m,width:44,height:44,alt:x,className:"w-8 min-w-8 rounded-full max-w-none"})}),(0,l.jsx)("div",{className:"flex-1",children:x.length>6?(0,l.jsx)(n.Z,{title:x,children:(0,l.jsx)("span",{className:"line-clamp-1 text-ellipsis font-semibold text-base",style:{maxWidth:"60%"},children:x})}):(0,l.jsx)("span",{className:"line-clamp-1 text-ellipsis font-semibold text-base",style:{maxWidth:"60%"},children:x})})]}),(0,l.jsx)("span",{className:d()("shrink-0",{hidden:u,"group-hover:block":u}),onClick:e=>{e.stopPropagation()},children:t})]}),f,(0,l.jsx)("div",{className:"relative bottom-2",children:a}),(0,l.jsxs)("div",{className:"flex justify-between items-center",children:[(0,l.jsx)("div",{children:s}),(0,l.jsx)("div",{children:o})]}),_&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.Z,{className:"my-3"}),(0,l.jsx)(i.Z.Text,{copyable:!0,className:"absolute bottom-1 right-4 text-xs text-gray-500",children:_})]})]})})}},69256:function(e,t,a){"use strict";a.r(t),a.d(t,{ChatContentContext:function(){return eC},default:function(){return eP}});var l=a(85893),s=a(41468),n=a(76212),r=a(43446),i=a(50888),o=a(90598),c=a(75750),d=a(58638),u=a(45360),m=a(66309),p=a(45030),h=a(74330),x=a(20640),f=a.n(x),v=a(67294),g=a(67421),_=a(65654),b=a(48218);let j=["magenta","orange","geekblue","purple","cyan","green"];var y=e=>{var t,a,s,r,x,y;let{isScrollToTop:w}=e,{appInfo:N,refreshAppInfo:k,handleChat:Z,scrollRef:S,temperatureValue:C,resourceValue:P,currentDialogue:R}=(0,v.useContext)(eC),{t:M}=(0,g.$G)(),O=(0,v.useMemo)(()=>{var e;return(null==N?void 0:null===(e=N.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent"},[N]),V=(0,v.useMemo)(()=>(null==N?void 0:N.is_collected)==="true",[N]),{run:L,loading:T}=(0,_.Z)(async()=>{let[e]=await (0,n.Vx)(V?(0,n.gD)({app_code:N.app_code}):(0,n.mo)({app_code:N.app_code}));if(!e)return await k()},{manual:!0}),z=(0,v.useMemo)(()=>{var e;return(null===(e=N.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[N.param_need]);if(!Object.keys(N).length)return null;let E=async()=>{let e=f()(location.href);u.ZP[e?"success":"error"](e?M("copy_success"):M("copy_failed"))};return(0,l.jsx)("div",{className:"h-20 mt-6 ".concat((null==N?void 0:N.recommend_questions)&&(null==N?void 0:null===(t=N.recommend_questions)||void 0===t?void 0:t.length)>0?"mb-6":""," sticky top-0 bg-transparent z-30 transition-all duration-400 ease-in-out"),children:w?(0,l.jsxs)("header",{className:"flex items-center justify-between w-full h-14 bg-[#ffffffb7] dark:bg-[rgba(41,63,89,0.4)] px-8 transition-all duration-500 ease-in-out",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-lg mr-2 bg-white",children:(0,l.jsx)(b.Z,{scene:O})}),(0,l.jsxs)("div",{className:"flex items-center text-base text-[#1c2533] dark:text-[rgba(255,255,255,0.85)] font-semibold gap-2",children:[(0,l.jsx)("span",{children:null==N?void 0:N.app_name}),(0,l.jsxs)("div",{className:"flex gap-1",children:[(null==N?void 0:N.team_mode)&&(0,l.jsx)(m.Z,{color:"green",children:null==N?void 0:N.team_mode}),(null==N?void 0:null===(a=N.team_context)||void 0===a?void 0:a.chat_scene)&&(0,l.jsx)(m.Z,{color:"cyan",children:null==N?void 0:null===(s=N.team_context)||void 0===s?void 0:s.chat_scene})]})]})]}),(0,l.jsxs)("div",{className:"flex gap-8",onClick:async()=>{await L()},children:[T?(0,l.jsx)(h.Z,{spinning:T,indicator:(0,l.jsx)(i.Z,{style:{fontSize:24},spin:!0})}):(0,l.jsx)(l.Fragment,{children:V?(0,l.jsx)(o.Z,{style:{fontSize:18},className:"text-yellow-400 cursor-pointer"}):(0,l.jsx)(c.Z,{style:{fontSize:18,cursor:"pointer"}})}),(0,l.jsx)(d.Z,{className:"text-lg",onClick:e=>{e.stopPropagation(),E()}})]})]}):(0,l.jsxs)("header",{className:"flex items-center justify-between w-5/6 h-full px-6 bg-[#ffffff99] border dark:bg-[rgba(255,255,255,0.1)] dark:border-[rgba(255,255,255,0.1)] rounded-2xl mx-auto transition-all duration-400 ease-in-out relative",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"flex w-12 h-12 justify-center items-center rounded-xl mr-4 bg-white",children:(0,l.jsx)(b.Z,{scene:O,width:16,height:16})}),(0,l.jsxs)("div",{className:"flex flex-col flex-1",children:[(0,l.jsxs)("div",{className:"flex items-center text-base text-[#1c2533] dark:text-[rgba(255,255,255,0.85)] font-semibold gap-2",children:[(0,l.jsx)("span",{children:null==N?void 0:N.app_name}),(0,l.jsxs)("div",{className:"flex gap-1",children:[(null==N?void 0:N.team_mode)&&(0,l.jsx)(m.Z,{color:"green",children:null==N?void 0:N.team_mode}),(null==N?void 0:null===(r=N.team_context)||void 0===r?void 0:r.chat_scene)&&(0,l.jsx)(m.Z,{color:"cyan",children:null==N?void 0:null===(x=N.team_context)||void 0===x?void 0:x.chat_scene})]})]}),(0,l.jsx)(p.Z.Text,{className:"text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)] leading-6",ellipsis:{tooltip:!0},children:null==N?void 0:N.app_describe})]})]}),(0,l.jsxs)("div",{className:"flex items-center gap-4",children:[(0,l.jsx)("div",{onClick:async()=>{await L()},className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:T?(0,l.jsx)(h.Z,{spinning:T,indicator:(0,l.jsx)(i.Z,{style:{fontSize:24},spin:!0})}):(0,l.jsx)(l.Fragment,{children:V?(0,l.jsx)(o.Z,{style:{fontSize:18},className:"text-yellow-400 cursor-pointer"}):(0,l.jsx)(c.Z,{style:{fontSize:18,cursor:"pointer"}})})}),(0,l.jsx)("div",{onClick:E,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,l.jsx)(d.Z,{className:"text-lg"})})]}),!!(null==N?void 0:null===(y=N.recommend_questions)||void 0===y?void 0:y.length)&&(0,l.jsxs)("div",{className:"absolute bottom-[-40px] left-0",children:[(0,l.jsx)("span",{className:"text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)] leading-6",children:"或许你想问:"}),N.recommend_questions.map((e,t)=>(0,l.jsx)(m.Z,{color:j[t],className:"text-xs p-1 px-2 cursor-pointer",onClick:async()=>{Z((null==e?void 0:e.question)||"",{app_code:N.app_code,...z.includes("temperature")&&{temperature:C},...z.includes("resource")&&{select_param:"string"==typeof P?P:JSON.stringify(P)||R.select_param}}),setTimeout(()=>{var e,t;null===(e=S.current)||void 0===e||e.scrollTo({top:null===(t=S.current)||void 0===t?void 0:t.scrollHeight,behavior:"smooth"})},0)},children:e.question},e.id))]})]})})},w=a(5152),N=a.n(w);let k=N()(()=>Promise.all([a.e(3662),a.e(7034),a.e(8674),a.e(930),a.e(3166),a.e(2837),a.e(2168),a.e(8163),a.e(7126),a.e(2398),a.e(1300),a.e(4567),a.e(7665),a.e(9773),a.e(4035),a.e(6624),a.e(4705),a.e(9202),a.e(3764),a.e(5e3),a.e(6216),a.e(8709),a.e(3913),a.e(4434),a.e(9958)]).then(a.bind(a,88331)),{loadableGenerated:{webpack:()=>[88331]},ssr:!1});var Z=(0,v.forwardRef)((e,t)=>{let{}=e,a=(0,v.useRef)(null),[s,n]=(0,v.useState)(!1);return(0,v.useImperativeHandle)(t,()=>a.current),(0,v.useEffect)(()=>(a.current&&a.current.addEventListener("scroll",()=>{var e;let t=(null===(e=a.current)||void 0===e?void 0:e.scrollTop)||0;t>=74?n(!0):n(!1)}),()=>{a.current&&a.current.removeEventListener("scroll",()=>{})}),[]),(0,l.jsx)("div",{className:"flex flex-1 overflow-hidden",children:(0,l.jsxs)("div",{ref:a,className:"h-full w-full mx-auto overflow-y-auto",children:[(0,l.jsx)(y,{isScrollToTop:s}),(0,l.jsx)(k,{})]})})}),S=a(89546),C=a(91467),P=a(7134),R=a(32983),M=a(25675),O=a.n(M),V=a(11163),L=a(70065),T=e=>{let{apps:t,refresh:a,loading:r,type:i}=e,d=async e=>{let[t]=await (0,n.Vx)("true"===e.is_collected?(0,n.gD)({app_code:e.app_code}):(0,n.mo)({app_code:e.app_code}));t||a()},{setAgent:u,model:m,setCurrentDialogInfo:p}=(0,v.useContext)(s.p),x=(0,V.useRouter)(),f=async e=>{if("native_app"===e.team_mode){let{chat_scene:t=""}=e.team_context,[,a]=await (0,n.Vx)((0,n.sW)({chat_mode:t}));a&&(null==p||p({chat_scene:a.chat_mode,app_code:e.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:a.chat_mode,app_code:e.app_code})),x.push("/chat?scene=".concat(t,"&id=").concat(a.conv_uid).concat(m?"&model=".concat(m):"")))}else{let[,t]=await (0,n.Vx)((0,n.sW)({chat_mode:"chat_agent"}));t&&(null==p||p({chat_scene:t.chat_mode,app_code:e.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:t.chat_mode,app_code:e.app_code})),null==u||u(e.app_code),x.push("/chat/?scene=chat_agent&id=".concat(t.conv_uid).concat(m?"&model=".concat(m):"")))}};return r?(0,l.jsx)(h.Z,{size:"large",className:"flex items-center justify-center h-full",spinning:r}):(0,l.jsx)("div",{className:"flex flex-wrap mt-4 w-full overflow-y-auto ",children:(null==t?void 0:t.length)>0?t.map(e=>{var t;return(0,l.jsx)(C.ZP,{name:e.app_name,description:e.app_describe,onClick:()=>f(e),RightTop:"true"===e.is_collected?(0,l.jsx)(o.Z,{onClick:t=>{t.stopPropagation(),d(e)},style:{height:"21px",cursor:"pointer",color:"#f9c533"}}):(0,l.jsx)(c.Z,{onClick:t=>{t.stopPropagation(),d(e)},style:{height:"21px",cursor:"pointer"}}),LeftBottom:(0,l.jsxs)("div",{className:"flex gap-8 items-center text-gray-500 text-sm",children:[e.owner_name&&(0,l.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,l.jsx)(P.C,{src:null==e?void 0:e.owner_avatar_url,className:"bg-gradient-to-tr from-[#31afff] to-[#1677ff] cursor-pointer",children:e.owner_name}),(0,l.jsx)("span",{children:e.owner_name})]}),"used"!==i&&(0,l.jsxs)("div",{className:"flex items-start gap-1",children:[(0,l.jsx)(L.Z,{type:"icon-hot",className:"text-lg"}),(0,l.jsx)("span",{className:"text-[#878c93]",children:e.hot_value})]})]}),scene:(null==e?void 0:null===(t=e.team_context)||void 0===t?void 0:t.chat_scene)||"chat_agent"},e.app_code)}):(0,l.jsx)(R.Z,{image:(0,l.jsx)(O(),{src:"/pictures/empty.png",alt:"empty",width:142,height:133,className:"w-[142px] h-[133px]"}),className:"flex justify-center items-center w-full h-full min-h-[200px]"})})},z=a(62418),E=a(25278),A=a(14726),D=a(93967),J=a.n(D),W=function(){let{setCurrentDialogInfo:e}=(0,v.useContext)(s.p),{t}=(0,g.$G)(),a=(0,V.useRouter)(),[r,i]=(0,v.useState)(""),[o,c]=(0,v.useState)(!1),[d,u]=(0,v.useState)(!1),m=async()=>{let[,t]=await (0,n.Vx)((0,n.sW)({chat_mode:"chat_normal"}));t&&(null==e||e({chat_scene:t.chat_mode,app_code:t.chat_mode}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:t.chat_mode,app_code:t.chat_mode})),localStorage.setItem(z.rU,JSON.stringify({id:t.conv_uid,message:r})),a.push("/chat/?scene=chat_normal&id=".concat(t.conv_uid))),i("")};return(0,l.jsxs)("div",{className:"flex flex-1 h-12 p-2 pl-4 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border-t border-b border-l border-r ".concat(o?"border-[#0c75fc]":""),children:[(0,l.jsx)(E.default.TextArea,{placeholder:t("input_tips"),className:"w-full resize-none border-0 p-0 focus:shadow-none",value:r,autoSize:{minRows:1},onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&!d&&(e.preventDefault(),r.trim()&&m())},onChange:e=>{i(e.target.value)},onFocus:()=>{c(!0)},onBlur:()=>c(!1),onCompositionStart:()=>u(!0),onCompositionEnd:()=>u(!1)}),(0,l.jsx)(A.ZP,{type:"primary",className:J()("flex items-center justify-center w-14 h-8 rounded-lg text-sm bg-button-gradient border-0",{"opacity-40 cursor-not-allowed":!r.trim()}),onClick:()=>{r.trim()&&m()},children:t("sent")})]})},G=a(28459),I=a(92783),$=a(36609),q=function(){let{setCurrentDialogInfo:e,model:t}=(0,v.useContext)(s.p),a=(0,V.useRouter)(),[r,i]=(0,v.useState)({app_list:[],total_count:0}),[o,c]=(0,v.useState)("recommend"),d=e=>(0,n.Vx)((0,n.yk)({...e,page_no:"1",page_size:"6"})),u=e=>(0,n.Vx)((0,n.mW)({page_no:"1",page_size:"6",...e})),{run:m,loading:p,refresh:h}=(0,_.Z)(async e=>{switch(o){case"recommend":return await u({});case"used":return await d({is_recent_used:"true",need_owner_info:"true",...e&&{app_name:e}});default:return[]}},{manual:!0,onSuccess:e=>{let[t,a]=e;if("recommend"===o)return i({app_list:a,total_count:(null==a?void 0:a.length)||0});i(a||{})},debounceWait:500});(0,v.useEffect)(()=>{m()},[o,m]);let x=[{value:"recommend",label:(0,$.t)("recommend_apps")},{value:"used",label:(0,$.t)("used_apps")}],{data:f}=(0,_.Z)(async()=>{let[,e]=await (0,n.Vx)((0,S.A)({is_hot_question:"true"}));return null!=e?e:[]});return(0,l.jsx)(G.ZP,{theme:{components:{Button:{defaultBorderColor:"white"},Segmented:{itemSelectedBg:"#2867f5",itemSelectedColor:"white"}}},children:(0,l.jsxs)("div",{className:"px-28 py-10 h-full flex flex-col justify-between",children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex justify-between",children:[(0,l.jsx)(I.Z,{className:"backdrop-filter h-10 backdrop-blur-lg bg-white bg-opacity-30 border border-white rounded-lg shadow p-1 dark:border-[#6f7f95] dark:bg-[#6f7f95] dark:bg-opacity-60",options:x,value:o,onChange:e=>{c(e)}}),(0,l.jsxs)("span",{className:"flex items-center text-gray-500 gap-1 dark:text-slate-300",children:[(0,l.jsx)("span",{children:(0,$.t)("app_in_mind")}),(0,l.jsxs)("span",{className:"flex items-center cursor-pointer",onClick:()=>{a.push("/")},children:[(0,l.jsx)(O(),{src:"/pictures/explore_active.png",alt:"construct_image",width:24,height:24},"image_explore"),(0,l.jsx)("span",{className:"text-default",children:(0,$.t)("explore")})]}),(0,l.jsx)("span",{children:(0,$.t)("Discover_more")})]})]}),(0,l.jsx)(T,{apps:(null==r?void 0:r.app_list)||[],loading:p,refresh:h,type:o}),f&&f.length>0&&(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:"font-medium text-xl my-4",children:(0,$.t)("help")}),(0,l.jsx)("div",{className:"flex justify-start gap-4",children:f.map(s=>(0,l.jsxs)("span",{className:"flex gap-4 items-center backdrop-filter backdrop-blur-lg cursor-pointer bg-white bg-opacity-70 border-0 rounded-lg shadow p-2 relative dark:bg-[#6f7f95] dark:bg-opacity-60",onClick:async()=>{let[,l]=await (0,n.Vx)((0,n.sW)({chat_mode:"chat_knowledge",model:t}));l&&(null==e||e({chat_scene:l.chat_mode,app_code:s.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:l.chat_mode,app_code:s.app_code})),localStorage.setItem(z.rU,JSON.stringify({id:l.conv_uid,message:s.question})),a.push("/chat/?scene=".concat(l.chat_mode,"&id=").concat(null==l?void 0:l.conv_uid)))},children:[(0,l.jsx)("span",{children:s.question}),(0,l.jsx)(O(),{src:"/icons/send.png",alt:"construct_image",width:20,height:20},"image_explore")]},s.id))})]})]}),(0,l.jsx)("div",{children:(0,l.jsx)(W,{})})]})})},F=a(39332),B=a(30159),H=a(87740),U=a(52645),K=a(83062),X=a(42952),Y=a(34041),Q=a(39718),ee=(0,v.memo)(()=>{let{modelList:e}=(0,v.useContext)(s.p),{appInfo:t,modelValue:a,setModelValue:n}=(0,v.useContext)(eC),{t:r}=(0,g.$G)(),i=(0,v.useMemo)(()=>{var e;return(null===(e=t.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[t.param_need]);return i.includes("model")?(0,l.jsx)(Y.default,{value:a,placeholder:r("choose_model"),className:"h-8 rounded-3xl",onChange:e=>{n(e)},popupMatchSelectWidth:300,children:e.map(e=>(0,l.jsx)(Y.default.Option,{children:(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(Q.Z,{model:e}),(0,l.jsx)("span",{className:"ml-2",children:e})]})},e))}):(0,l.jsx)(K.Z,{title:r("model_tip"),children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)]",children:(0,l.jsx)(X.Z,{className:"text-xl cursor-not-allowed opacity-30"})})})}),et=a(98978),ea=a(90725),el=a(83266),es=a(2093),en=a(23799),er=(0,v.memo)(e=>{var t,a,s,r,i;let{fileList:o,setFileList:c,setLoading:d,fileName:u}=e,{setResourceValue:m,appInfo:p,refreshHistory:h,refreshDialogList:x,modelValue:f,resourceValue:b}=(0,v.useContext)(eC),j=(0,F.useSearchParams)(),y=null!==(t=null==j?void 0:j.get("scene"))&&void 0!==t?t:"",w=null!==(a=null==j?void 0:j.get("id"))&&void 0!==a?a:"",{t:N}=(0,g.$G)(),[k,Z]=(0,v.useState)([]),S=(0,v.useMemo)(()=>{var e;return(null===(e=p.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[p.param_need]),C=(0,v.useMemo)(()=>{var e,t;return S.includes("resource")&&(null===(e=null===(t=p.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type)[0])||void 0===e?void 0:e.value)==="database"},[p.param_need,S]),P=(0,v.useMemo)(()=>{var e,t;return S.includes("resource")&&(null===(e=null===(t=p.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type)[0])||void 0===e?void 0:e.value)==="knowledge"},[p.param_need,S]),R=(0,v.useMemo)(()=>{var e;return null===(e=p.param_need)||void 0===e?void 0:e.find(e=>"resource"===e.type)},[p.param_need]),{run:M,loading:O}=(0,_.Z)(async()=>await (0,n.Vx)((0,n.vD)(y)),{manual:!0,onSuccess:e=>{let[,t]=e;Z(null!=t?t:[])}});(0,es.Z)(async()=>{(C||P)&&!(null==R?void 0:R.bind_value)&&await M()},[C,P,R]);let V=(0,v.useMemo)(()=>{var e;return null===(e=k.map)||void 0===e?void 0:e.call(k,e=>({label:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(et.Z,{width:24,height:24,src:z.S$[e.type].icon,label:z.S$[e.type].label,className:"w-[1.5em] h-[1.5em] mr-1 inline-block mt-[-4px]"}),e.param]}),value:e.param}))},[k]),L=(0,v.useCallback)(async()=>{let e=new FormData;e.append("doc_file",null==o?void 0:o[0]),d(!0);let[t,a]=await (0,n.Vx)((0,n.qn)({convUid:w,chatMode:y,data:e,model:f,config:{timeout:36e5}})).finally(()=>{d(!1)});a&&(m(a),await h(),await x())},[w,o,f,x,h,y,d,m]);if(!S.includes("resource"))return(0,l.jsx)(K.Z,{title:N("extend_tip"),children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)]",children:(0,l.jsx)(ea.Z,{className:"text-lg cursor-not-allowed opacity-30"})})});switch(null==R?void 0:R.value){case"excel_file":case"text_file":case"image_file":return(0,l.jsx)(en.default,{name:"file",accept:".csv,.xlsx,.xls",fileList:o,showUploadList:!1,beforeUpload:(e,t)=>{null==c||c(t)},customRequest:L,disabled:!!u||!!(null===(s=o[0])||void 0===s?void 0:s.name),children:(0,l.jsx)(K.Z,{title:N("file_tip"),arrow:!1,placement:"bottom",children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)]",children:(0,l.jsx)(el.Z,{className:J()("text-xl",{"cursor-pointer":!(u||(null===(r=o[0])||void 0===r?void 0:r.name))})})})})});case"database":case"knowledge":case"plugin":case"awel_flow":return b||m(null==V?void 0:null===(i=V[0])||void 0===i?void 0:i.value),(0,l.jsx)(Y.default,{value:b,className:"w-52 h-8 rounded-3xl",onChange:e=>{m(e)},disabled:!!(null==R?void 0:R.bind_value),loading:O,options:V})}}),ei=a(11186),eo=a(55241),ec=a(30568),ed=a(13457),eu=(0,v.memo)(e=>{let{temperatureValue:t,setTemperatureValue:a}=e,{appInfo:s}=(0,v.useContext)(eC),{t:n}=(0,g.$G)(),r=(0,v.useMemo)(()=>{var e;return(null===(e=s.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[s.param_need]);if(!r.includes("temperature"))return(0,l.jsx)(K.Z,{title:n("temperature_tip"),children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] cursor-pointer",children:(0,l.jsx)(ei.Z,{className:"text-xl cursor-not-allowed opacity-30"})})});let i=e=>{isNaN(e)||a(e)};return(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(eo.Z,{arrow:!1,trigger:["click"],placement:"topLeft",content:()=>(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(ec.Z,{className:"w-20",min:0,max:1,step:.1,onChange:i,value:"number"==typeof t?t:0}),(0,l.jsx)(ed.Z,{size:"small",className:"w-14",min:0,max:1,step:.1,onChange:i,value:t})]}),children:(0,l.jsx)(K.Z,{title:n("temperature"),placement:"bottom",arrow:!1,children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] cursor-pointer",children:(0,l.jsx)(ei.Z,{})})})}),(0,l.jsx)("span",{className:"text-sm ml-2",children:t})]})}),em=e=>{var t,a;let{ctrl:s}=e,{t:r}=(0,g.$G)(),{history:o,scrollRef:c,canAbort:d,replyLoading:u,currentDialogue:m,appInfo:p,temperatureValue:x,resourceValue:f,setTemperatureValue:_,refreshHistory:b,setCanAbort:j,setReplyLoading:y,handleChat:w}=(0,v.useContext)(eC),[N,k]=(0,v.useState)([]),[Z,S]=(0,v.useState)(!1),[C,P]=(0,v.useState)(!1),R=(0,v.useMemo)(()=>{var e;return(null===(e=p.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[p.param_need]),M=(0,v.useMemo)(()=>[{tip:r("stop_replying"),icon:(0,l.jsx)(B.Z,{className:J()({"text-[#0c75fc]":d})}),can_use:d,key:"abort",onClick:()=>{d&&(s.abort(),setTimeout(()=>{j(!1),y(!1)},100))}},{tip:r("answer_again"),icon:(0,l.jsx)(H.Z,{}),can_use:!u&&o.length>0,key:"redo",onClick:async()=>{var e,t;let a=null===(e=null===(t=o.filter(e=>"human"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];w((null==a?void 0:a.context)||"",{app_code:p.app_code,...R.includes("temperature")&&{temperature:x},...R.includes("resource")&&{select_param:"string"==typeof f?f:JSON.stringify(f)||m.select_param}}),setTimeout(()=>{var e,t;null===(e=c.current)||void 0===e||e.scrollTo({top:null===(t=c.current)||void 0===t?void 0:t.scrollHeight,behavior:"smooth"})},0)}},{tip:r("erase_memory"),icon:C?(0,l.jsx)(h.Z,{spinning:C,indicator:(0,l.jsx)(i.Z,{style:{fontSize:20}})}):(0,l.jsx)(U.Z,{}),can_use:o.length>0,key:"clear",onClick:async()=>{C||(P(!0),await (0,n.Vx)((0,n.zR)(m.conv_uid)).finally(async()=>{await b(),P(!1)}))}}],[r,d,u,o,C,s,j,y,w,p.app_code,R,x,f,m.select_param,m.conv_uid,c,b]),V=(0,v.useMemo)(()=>{try{return JSON.parse(m.select_param).file_name}catch(e){return""}},[m.select_param]);return(0,l.jsxs)("div",{className:"flex flex-col mb-2",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between h-full w-full",children:[(0,l.jsxs)("div",{className:"flex gap-3 text-lg",children:[(0,l.jsx)(ee,{}),(0,l.jsx)(er,{fileList:N,setFileList:k,setLoading:S,fileName:V}),(0,l.jsx)(eu,{temperatureValue:x,setTemperatureValue:_})]}),(0,l.jsx)("div",{className:"flex gap-1",children:(0,l.jsx)(l.Fragment,{children:M.map(e=>(0,l.jsx)(K.Z,{title:e.tip,arrow:!1,placement:"bottom",children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] text-lg ".concat(e.can_use?"cursor-pointer":"opacity-30 cursor-not-allowed"),onClick:()=>{var t;null===(t=e.onClick)||void 0===t||t.call(e)},children:e.icon})},e.key))})})]}),(V||(null===(t=N[0])||void 0===t?void 0:t.name))&&(0,l.jsx)("div",{className:"group/item flex mt-2",children:(0,l.jsxs)("div",{className:"flex items-center justify-between w-64 border border-[#e3e4e6] dark:border-[rgba(255,255,255,0.6)] rounded-lg p-2",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(O(),{src:"/icons/chat/excel.png",width:20,height:20,alt:"file-icon",className:"mr-2"}),(0,l.jsx)("span",{className:"text-sm text-[#1c2533] dark:text-white line-clamp-1",children:V||(null===(a=N[0])||void 0===a?void 0:a.name)})]}),(0,l.jsx)(h.Z,{spinning:Z,indicator:(0,l.jsx)(i.Z,{style:{fontSize:24},spin:!0})})]})})]})},ep=e=>{var t;let{ctrl:a}=e,{t:s}=(0,g.$G)(),{scrollRef:n,replyLoading:r,handleChat:o,appInfo:c,currentDialogue:d,temperatureValue:u,resourceValue:m,refreshDialogList:p}=(0,v.useContext)(eC),x=(0,F.useSearchParams)(),f=null!==(t=null==x?void 0:x.get("select_param"))&&void 0!==t?t:"",[_,b]=(0,v.useState)(""),[j,y]=(0,v.useState)(!1),[w,N]=(0,v.useState)(!1),k=(0,v.useRef)(0),Z=(0,v.useMemo)(()=>{var e;return(null===(e=c.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[c.param_need]),S=async()=>{k.current++,setTimeout(()=>{var e,t;null===(e=n.current)||void 0===e||e.scrollTo({top:null===(t=n.current)||void 0===t?void 0:t.scrollHeight,behavior:"smooth"}),b("")},0),await o(_,{app_code:c.app_code||"",...Z.includes("temperature")&&{temperature:u},select_param:f,...Z.includes("resource")&&{select_param:"string"==typeof m?m:JSON.stringify(m)||d.select_param}}),1===k.current&&await p()};return(0,l.jsx)("div",{className:"flex flex-col w-5/6 mx-auto pt-4 pb-6 bg-transparent",children:(0,l.jsxs)("div",{className:"flex flex-1 flex-col bg-white dark:bg-[rgba(255,255,255,0.16)] px-5 py-4 pt-2 rounded-xl relative border-t border-b border-l border-r dark:border-[rgba(255,255,255,0.6)] ".concat(j?"border-[#0c75fc]":""),id:"input-panel",children:[(0,l.jsx)(em,{ctrl:a}),(0,l.jsx)(E.default.TextArea,{placeholder:s("input_tips"),className:"w-full h-20 resize-none border-0 p-0 focus:shadow-none dark:bg-transparent",value:_,onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&!w&&(e.preventDefault(),_.trim()&&!r&&S())},onChange:e=>{b(e.target.value)},onFocus:()=>{y(!0)},onBlur:()=>y(!1),onCompositionStart:()=>N(!0),onCompositionEnd:()=>N(!1)}),(0,l.jsx)(A.ZP,{type:"primary",className:J()("flex items-center justify-center w-14 h-8 rounded-lg text-sm absolute right-4 bottom-3 bg-button-gradient border-0",{"cursor-not-allowed":!_.trim()}),onClick:()=>{!r&&_.trim()&&S()},children:r?(0,l.jsx)(h.Z,{spinning:r,indicator:(0,l.jsx)(i.Z,{className:"text-white"})}):s("sent")})]})})},eh=a(20046),ex=a(48689),ef=a(14313),ev=a(94155),eg=a(21612),e_=a(85576),eb=a(86250);let{Sider:ej}=eg.default,ey={display:"flex",alignItems:"center",justifyContent:"center",width:16,height:48,position:"absolute",top:"50%",transform:"translateY(-50%)",border:"1px solid #d6d8da",borderRadius:8,right:-8},ew=e=>{var t,a;let{item:r,refresh:i,historyLoading:o}=e,{t:c}=(0,g.$G)(),d=(0,F.useRouter)(),m=(0,F.useSearchParams)(),h=null!==(t=null==m?void 0:m.get("id"))&&void 0!==t?t:"",x=null!==(a=null==m?void 0:m.get("scene"))&&void 0!==a?a:"",{setCurrentDialogInfo:_}=(0,v.useContext)(s.p),b=(0,v.useMemo)(()=>r.default?r.default&&!h&&!x:r.conv_uid===h&&r.chat_mode===x,[h,x,r]),j=()=>{e_.default.confirm({title:c("delete_chat"),content:c("delete_chat_confirm"),centered:!0,onOk:async()=>{let[e]=await (0,n.Vx)((0,n.MX)(r.conv_uid));e||(await (null==i?void 0:i()),r.conv_uid===h&&d.push("/chat"))}})};return(0,l.jsxs)(eb.Z,{align:"center",className:"group/item w-full h-12 p-3 rounded-lg hover:bg-white dark:hover:bg-theme-dark cursor-pointer mb-2 relative ".concat(b?"bg-white dark:bg-theme-dark bg-opacity-100":""),onClick:()=>{o||(r.default||null==_||_({chat_scene:r.chat_mode,app_code:r.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:r.chat_mode,app_code:r.app_code})),d.push(r.default?"/chat":"?scene=".concat(r.chat_mode,"&id=").concat(r.conv_uid)))},children:[(0,l.jsx)(K.Z,{title:r.chat_mode,children:(0,l.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-lg mr-3 bg-white",children:r.icon})}),(0,l.jsx)("div",{className:"flex flex-1 line-clamp-1",children:(0,l.jsx)(p.Z.Text,{ellipsis:{tooltip:!0},children:r.label})}),!r.default&&(0,l.jsxs)("div",{className:"flex gap-1 ml-1",children:[(0,l.jsx)("div",{className:"group-hover/item:opacity-100 cursor-pointer opacity-0",onClick:e=>{e.stopPropagation()},children:(0,l.jsx)(eh.Z,{style:{fontSize:16},onClick:()=>{let e=f()("".concat(location.origin,"/chat?scene=").concat(r.chat_mode,"&id=").concat(r.conv_uid));u.ZP[e?"success":"error"](e?c("copy_success"):c("copy_failed"))}})}),(0,l.jsx)("div",{className:"group-hover/item:opacity-100 cursor-pointer opacity-0",onClick:e=>{e.stopPropagation(),j()},children:(0,l.jsx)(ex.Z,{style:{fontSize:16}})})]}),(0,l.jsx)("div",{className:" w-1 rounded-sm bg-[#0c75fc] absolute top-1/2 left-0 -translate-y-1/2 transition-all duration-500 ease-in-out ".concat(b?"h-5":"w-0 h-0")})]})};var eN=e=>{var t;let{dialogueList:a=[],refresh:n,historyLoading:r,listLoading:i,order:o}=e,c=(0,F.useSearchParams)(),d=null!==(t=null==c?void 0:c.get("scene"))&&void 0!==t?t:"",{t:u}=(0,g.$G)(),{mode:m}=(0,v.useContext)(s.p),[p,x]=(0,v.useState)("chat_dashboard"===d),f=(0,v.useMemo)(()=>p?{...ey,right:-16,borderRadius:"0px 8px 8px 0",borderLeft:"1px solid #d5e5f6"}:{...ey,borderLeft:"1px solid #d6d8da"},[p]),_=(0,v.useMemo)(()=>{let e=a[1]||[];return(null==e?void 0:e.length)>0?e.map(e=>({...e,label:e.user_input||e.select_param,key:e.conv_uid,icon:(0,l.jsx)(b.Z,{scene:e.chat_mode}),default:!1})):[]},[a]);return(0,l.jsx)(ej,{className:"bg-[#ffffff80] border-r border-[#d5e5f6] dark:bg-[#ffffff29] dark:border-[#ffffff66]",theme:m,width:280,collapsible:!0,collapsed:p,collapsedWidth:0,trigger:p?(0,l.jsx)(ef.Z,{className:"text-base"}):(0,l.jsx)(ev.Z,{className:"text-base"}),zeroWidthTriggerStyle:f,onCollapse:e=>x(e),children:(0,l.jsxs)("div",{className:"flex flex-col h-full w-full bg-transparent px-4 pt-6 ",children:[(0,l.jsx)("div",{className:"w-full text-base font-semibold text-[#1c2533] dark:text-[rgba(255,255,255,0.85)] mb-4 line-clamp-1",children:u("dialog_list")}),(0,l.jsxs)(eb.Z,{flex:1,vertical:!0,className:"overflow-y-auto",children:[(0,l.jsx)(ew,{item:{label:u("assistant"),key:"default",icon:(0,l.jsx)(O(),{src:"/LOGO_SMALL.png",alt:"default",width:24,height:24,className:"flex-1"}),default:!0},order:o}),(0,l.jsx)(h.Z,{spinning:i,className:"mt-2",children:!!(null==_?void 0:_.length)&&_.map(e=>(0,l.jsx)(ew,{item:e,refresh:n,historyLoading:r,order:o},null==e?void 0:e.key))})]})]})})};let ek=N()(()=>Promise.all([a.e(3662),a.e(7034),a.e(8674),a.e(930),a.e(3166),a.e(2837),a.e(2168),a.e(8163),a.e(7126),a.e(1300),a.e(4567),a.e(7665),a.e(9773),a.e(4035),a.e(6624),a.e(3764),a.e(5e3),a.e(4434),a.e(4451)]).then(a.bind(a,96307)),{loadableGenerated:{webpack:()=>[96307]},ssr:!1}),eZ=N()(()=>Promise.all([a.e(3662),a.e(7034),a.e(8674),a.e(930),a.e(3166),a.e(2837),a.e(2168),a.e(8163),a.e(7126),a.e(2398),a.e(9859),a.e(1300),a.e(4567),a.e(7665),a.e(9773),a.e(4035),a.e(6624),a.e(4705),a.e(9202),a.e(3764),a.e(5e3),a.e(7855),a.e(184),a.e(8709),a.e(3913),a.e(4434),a.e(4769)]).then(a.bind(a,36517)),{loadableGenerated:{webpack:()=>[36517]},ssr:!1}),{Content:eS}=eg.default,eC=(0,v.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,resourceValue:{},modelValue:"",setModelValue:()=>{},setResourceValue:()=>{},setTemperatureValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve()});var eP=()=>{var e,t,a,i;let{model:o,currentDialogInfo:c}=(0,v.useContext)(s.p),{isContract:d,setIsContract:u,setIsMenuExpand:m}=(0,v.useContext)(s.p),{chat:p,ctrl:x}=(0,r.Z)({app_code:c.app_code||""}),f=(0,F.useSearchParams)(),g=null!==(e=null==f?void 0:f.get("id"))&&void 0!==e?e:"",b=null!==(t=null==f?void 0:f.get("scene"))&&void 0!==t?t:"",j=null!==(a=null==f?void 0:f.get("knowledge_id"))&&void 0!==a?a:"",y=null!==(i=null==f?void 0:f.get("db_name"))&&void 0!==i?i:"",w=(0,v.useRef)(null),N=(0,v.useRef)(1),[k,S]=(0,v.useState)([]),[C]=(0,v.useState)(),[P,R]=(0,v.useState)(!1),[M,O]=(0,v.useState)(!1),[V,L]=(0,v.useState)(""),[T,E]=(0,v.useState)({}),[A,D]=(0,v.useState)(),[J,W]=(0,v.useState)(),[G,I]=(0,v.useState)("");(0,v.useEffect)(()=>{var e,t,a,l,s,n;D((null===(e=null==T?void 0:null===(t=T.param_need)||void 0===t?void 0:t.filter(e=>"temperature"===e.type)[0])||void 0===e?void 0:e.value)||.5),I((null===(a=null==T?void 0:null===(l=T.param_need)||void 0===l?void 0:l.filter(e=>"model"===e.type)[0])||void 0===a?void 0:a.value)||o),W(j||y||(null===(s=null==T?void 0:null===(n=T.param_need)||void 0===n?void 0:n.filter(e=>"resource"===e.type)[0])||void 0===s?void 0:s.bind_value))},[T,y,j,o]),(0,v.useEffect)(()=>{m("chat_dashboard"!==b),g&&b&&u(!1)},[g,b]);let $=(0,v.useMemo)(()=>!g&&!b,[g,b]),{data:B=[],refresh:H,loading:U}=(0,_.Z)(async()=>await (0,n.Vx)((0,n.iP)())),{run:K,refresh:X}=(0,_.Z)(async()=>await (0,n.Vx)((0,n.BN)({...c})),{manual:!0,onSuccess:e=>{let[,t]=e;E(t||{})}}),Y=(0,v.useMemo)(()=>{let[,e]=B;return(null==e?void 0:e.find(e=>e.conv_uid===g))||{}},[g,B]);(0,v.useEffect)(()=>{let e=(0,z.a_)();c.chat_scene!==b||$||e&&e.message||K()},[g,c,$,K,b]);let{run:Q,loading:ee,refresh:et}=(0,_.Z)(async()=>await (0,n.Vx)((0,n.$i)(g)),{manual:!0,onSuccess:e=>{let[,t]=e,a=null==t?void 0:t.filter(e=>"view"===e.role);a&&a.length>0&&(N.current=a[a.length-1].order+1),S(t||[])}}),ea=(0,v.useCallback)((e,t)=>new Promise(a=>{let l=(0,z.a_)(),s=new AbortController;if(R(!0),k&&k.length>0){var n,r;let e=null==k?void 0:k.filter(e=>"view"===e.role),t=null==k?void 0:k.filter(e=>"human"===e.role);N.current=((null===(n=e[e.length-1])||void 0===n?void 0:n.order)||(null===(r=t[t.length-1])||void 0===r?void 0:r.order))+1}let i=[...l&&l.id===g?[]:k,{role:"human",context:e,model_name:(null==t?void 0:t.model_name)||G,order:N.current,time_stamp:0},{role:"view",context:"",model_name:(null==t?void 0:t.model_name)||G,order:N.current,time_stamp:0,thinking:!0}],o=i.length-1;S([...i]),p({data:{chat_mode:b,model_name:G,user_input:e,...t},ctrl:s,chatId:g,onMessage:e=>{O(!0),(null==t?void 0:t.incremental)?(i[o].context+=e,i[o].thinking=!1):(i[o].context=e,i[o].thinking=!1),S([...i])},onDone:()=>{R(!1),O(!1),a()},onClose:()=>{R(!1),O(!1),a()},onError:e=>{R(!1),O(!1),i[o].context=e,i[o].thinking=!1,S([...i]),a()}})}),[g,k,G,p,b]);return(0,es.Z)(async()=>{if($)return;let e=(0,z.a_)();e&&e.id===g||await Q()},[g,b,Q]),(0,v.useEffect)(()=>{$&&(N.current=1,S([]))},[$]),(0,l.jsx)(eC.Provider,{value:{history:k,replyLoading:P,scrollRef:w,canAbort:M,chartsData:C||[],agent:V,currentDialogue:Y,appInfo:T,temperatureValue:A,resourceValue:J,modelValue:G,setModelValue:I,setResourceValue:W,setTemperatureValue:D,setAppInfo:E,setAgent:L,setCanAbort:O,setReplyLoading:R,handleChat:ea,refreshDialogList:H,refreshHistory:et,refreshAppInfo:X,setHistory:S},children:(0,l.jsx)(eb.Z,{flex:1,children:(0,l.jsxs)(eg.default,{className:"bg-gradient-light bg-cover bg-center dark:bg-gradient-dark",children:[(0,l.jsx)(eN,{refresh:H,dialogueList:B,listLoading:U,historyLoading:ee,order:N}),(0,l.jsx)(eg.default,{className:"bg-transparent",children:"chat_dashboard"===b?d?(0,l.jsx)(ek,{}):(0,l.jsx)(eZ,{}):$?(0,l.jsx)(eS,{children:(0,l.jsx)(q,{})}):(0,l.jsx)(h.Z,{spinning:ee,className:"w-full h-full m-auto",children:(0,l.jsxs)(eS,{className:"flex flex-col h-screen",children:[(0,l.jsx)(Z,{ref:w}),(0,l.jsx)(ep,{ctrl:x})]})})})]})})})}},11873:function(){}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9256-c28ad822e1703c70.js b/dbgpt/app/static/web/_next/static/chunks/9256-c28ad822e1703c70.js deleted file mode 100644 index 3e27ecf70..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/9256-c28ad822e1703c70.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9256],{23430:function(e,t,a){"use strict";var l=a(85893),s=a(25675),n=a.n(s);t.Z=function(e){let{src:t,label:a,width:s,height:r,className:i}=e;return(0,l.jsx)(n(),{className:"w-11 h-11 rounded-full mr-4 border border-gray-200 object-contain bg-white ".concat(i),width:s||44,height:r||44,src:t,alt:a||"db-icon"})}},43446:function(e,t,a){"use strict";var l=a(64371),s=a(62418),n=a(25519),r=a(1375),i=a(45360),o=a(67294),c=a(41468),d=a(83454);t.Z=e=>{let{queryAgentURL:t="/api/v1/chat/completions",app_code:a}=e,[u,m]=(0,o.useState)({}),{scene:p}=(0,o.useContext)(c.p),h=(0,o.useCallback)(async e=>{let{data:o,chatId:c,onMessage:u,onClose:h,onDone:x,onError:f,ctrl:v}=e;if(v&&m(v),!(null==o?void 0:o.user_input)&&!(null==o?void 0:o.doc_id)){i.ZP.warning(l.Z.t("no_context_tip"));return}let g={...o,conv_uid:c,app_code:a};try{var _,b;await (0,r.L)("".concat(null!==(_=d.env.API_BASE_URL)&&void 0!==_?_:"").concat(t),{method:"POST",headers:{"Content-Type":"application/json",[n.gp]:null!==(b=(0,s.n5)())&&void 0!==b?b:""},body:JSON.stringify(g),signal:v?v.signal:null,openWhenHidden:!0,async onopen(e){e.ok&&e.headers.get("content-type")===r.a||"application/json"!==e.headers.get("content-type")||e.json().then(e=>{null==u||u(e),null==x||x(),v&&v.abort()})},onclose(){v&&v.abort(),null==h||h()},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t="chat_agent"===p?JSON.parse(t).vis:JSON.parse(t)}catch(e){t.replaceAll("\\n","\n")}"string"==typeof t?"[DONE]"===t?null==x||x():(null==t?void 0:t.startsWith("[ERROR]"))?null==f||f(null==t?void 0:t.replace("[ERROR]","")):null==u||u(t):(null==u||u(t),null==x||x())}})}catch(e){v&&v.abort(),null==f||f("Sorry, We meet some error, please try agin later.",e)}},[t,a,p]);return{chat:h,ctrl:u}}},91467:function(e,t,a){"use strict";a.d(t,{TH:function(){return x},ZS:function(){return f}});var l=a(85893),s=a(3471),n=a(83062),r=a(96074),i=a(91776),o=a(85418),c=a(93967),d=a.n(c),u=a(36609),m=a(25675),p=a.n(m);a(67294);var h=a(48218);a(11873);let x=e=>{let{onClick:t,Icon:a="/pictures/card_chat.png",text:s=(0,u.t)("start_chat")}=e;return"string"==typeof a&&(a=(0,l.jsx)(p(),{src:a,alt:a,width:17,height:15})),(0,l.jsxs)("div",{className:"flex items-center gap-1 text-default",onClick:e=>{e.stopPropagation(),t&&t()},children:[a,(0,l.jsx)("span",{children:s})]})},f=e=>{let{menu:t}=e;return(0,l.jsx)(o.Z,{menu:t,getPopupContainer:e=>e.parentNode,placement:"bottomRight",autoAdjustOverflow:!1,children:(0,l.jsx)(s.Z,{className:"p-2 hover:bg-white hover:dark:bg-black rounded-md"})})};t.ZP=e=>{let{RightTop:t,Tags:a,LeftBottom:s,RightBottom:o,onClick:c,rightTopHover:u=!0,logo:m,name:x,description:f,className:v,scene:g,code:_}=e;return"string"==typeof f&&(f=(0,l.jsx)("p",{className:"line-clamp-2 relative bottom-4 text-ellipsis min-h-[42px] text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)]",children:f})),(0,l.jsx)("div",{className:d()("hover-underline-gradient flex justify-center mt-6 relative group w-1/3 px-2 mb-6",v),children:(0,l.jsxs)("div",{onClick:c,className:"backdrop-filter backdrop-blur-lg cursor-pointer bg-white bg-opacity-70 border-2 border-white rounded-lg shadow p-4 relative w-full h-full dark:border-[#6f7f95] dark:bg-[#6f7f95] dark:bg-opacity-60",children:[(0,l.jsxs)("div",{className:"flex items-end relative bottom-8 justify-between w-full",children:[(0,l.jsxs)("div",{className:"flex items-end gap-4 w-11/12 flex-1",children:[(0,l.jsx)("div",{className:"bg-white rounded-lg shadow-sm w-14 h-14 flex items-center p-3",children:g?(0,l.jsx)(h.Z,{scene:g,width:14,height:14}):m&&(0,l.jsx)(p(),{src:m,width:44,height:44,alt:x,className:"w-8 min-w-8 rounded-full max-w-none"})}),(0,l.jsx)("div",{className:"flex-1",children:x.length>6?(0,l.jsx)(n.Z,{title:x,children:(0,l.jsx)("span",{className:"line-clamp-1 text-ellipsis font-semibold text-base",style:{maxWidth:"60%"},children:x})}):(0,l.jsx)("span",{className:"line-clamp-1 text-ellipsis font-semibold text-base",style:{maxWidth:"60%"},children:x})})]}),(0,l.jsx)("span",{className:d()("shrink-0",{hidden:u,"group-hover:block":u}),onClick:e=>{e.stopPropagation()},children:t})]}),f,(0,l.jsx)("div",{className:"relative bottom-2",children:a}),(0,l.jsxs)("div",{className:"flex justify-between items-center",children:[(0,l.jsx)("div",{children:s}),(0,l.jsx)("div",{children:o})]}),_&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.Z,{className:"my-3"}),(0,l.jsx)(i.Z.Text,{copyable:!0,className:"absolute bottom-1 right-4 text-xs text-gray-500",children:_})]})]})})}},69256:function(e,t,a){"use strict";a.r(t),a.d(t,{ChatContentContext:function(){return eC},default:function(){return eP}});var l=a(85893),s=a(76212),n=a(79090),r=a(90598),i=a(75750),o=a(58638),c=a(45360),d=a(66309),u=a(91776),m=a(74330),p=a(20640),h=a.n(p),x=a(67294),f=a(67421),v=a(65654),g=a(48218);let _=["magenta","orange","geekblue","purple","cyan","green"];var b=e=>{var t,a,p,b,j,y;let{isScrollToTop:w}=e,{appInfo:N,refreshAppInfo:k,handleChat:Z,scrollRef:S,temperatureValue:C,resourceValue:P,currentDialogue:R}=(0,x.useContext)(eC),{t:M}=(0,f.$G)(),O=(0,x.useMemo)(()=>{var e;return(null==N?void 0:null===(e=N.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent"},[N]),V=(0,x.useMemo)(()=>(null==N?void 0:N.is_collected)==="true",[N]),{run:L,loading:T}=(0,v.Z)(async()=>{let[e]=await (0,s.Vx)(V?(0,s.gD)({app_code:N.app_code}):(0,s.mo)({app_code:N.app_code}));if(!e)return await k()},{manual:!0}),z=(0,x.useMemo)(()=>{var e;return(null===(e=N.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[N.param_need]);if(!Object.keys(N).length)return null;let E=async()=>{let e=h()(location.href);c.ZP[e?"success":"error"](e?M("copy_success"):M("copy_failed"))};return(0,l.jsx)("div",{className:"h-20 mt-6 ".concat((null==N?void 0:N.recommend_questions)&&(null==N?void 0:null===(t=N.recommend_questions)||void 0===t?void 0:t.length)>0?"mb-6":""," sticky top-0 bg-transparent z-30 transition-all duration-400 ease-in-out"),children:w?(0,l.jsxs)("header",{className:"flex items-center justify-between w-full h-14 bg-[#ffffffb7] dark:bg-[rgba(41,63,89,0.4)] px-8 transition-all duration-500 ease-in-out",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-lg mr-2 bg-white",children:(0,l.jsx)(g.Z,{scene:O})}),(0,l.jsxs)("div",{className:"flex items-center text-base text-[#1c2533] dark:text-[rgba(255,255,255,0.85)] font-semibold gap-2",children:[(0,l.jsx)("span",{children:null==N?void 0:N.app_name}),(0,l.jsxs)("div",{className:"flex gap-1",children:[(null==N?void 0:N.team_mode)&&(0,l.jsx)(d.Z,{color:"green",children:null==N?void 0:N.team_mode}),(null==N?void 0:null===(a=N.team_context)||void 0===a?void 0:a.chat_scene)&&(0,l.jsx)(d.Z,{color:"cyan",children:null==N?void 0:null===(p=N.team_context)||void 0===p?void 0:p.chat_scene})]})]})]}),(0,l.jsxs)("div",{className:"flex gap-8",onClick:async()=>{await L()},children:[T?(0,l.jsx)(m.Z,{spinning:T,indicator:(0,l.jsx)(n.Z,{style:{fontSize:24},spin:!0})}):(0,l.jsx)(l.Fragment,{children:V?(0,l.jsx)(r.Z,{style:{fontSize:18},className:"text-yellow-400 cursor-pointer"}):(0,l.jsx)(i.Z,{style:{fontSize:18,cursor:"pointer"}})}),(0,l.jsx)(o.Z,{className:"text-lg",onClick:e=>{e.stopPropagation(),E()}})]})]}):(0,l.jsxs)("header",{className:"flex items-center justify-between w-5/6 h-full px-6 bg-[#ffffff99] border dark:bg-[rgba(255,255,255,0.1)] dark:border-[rgba(255,255,255,0.1)] rounded-2xl mx-auto transition-all duration-400 ease-in-out relative",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"flex w-12 h-12 justify-center items-center rounded-xl mr-4 bg-white",children:(0,l.jsx)(g.Z,{scene:O,width:16,height:16})}),(0,l.jsxs)("div",{className:"flex flex-col flex-1",children:[(0,l.jsxs)("div",{className:"flex items-center text-base text-[#1c2533] dark:text-[rgba(255,255,255,0.85)] font-semibold gap-2",children:[(0,l.jsx)("span",{children:null==N?void 0:N.app_name}),(0,l.jsxs)("div",{className:"flex gap-1",children:[(null==N?void 0:N.team_mode)&&(0,l.jsx)(d.Z,{color:"green",children:null==N?void 0:N.team_mode}),(null==N?void 0:null===(b=N.team_context)||void 0===b?void 0:b.chat_scene)&&(0,l.jsx)(d.Z,{color:"cyan",children:null==N?void 0:null===(j=N.team_context)||void 0===j?void 0:j.chat_scene})]})]}),(0,l.jsx)(u.Z.Text,{className:"text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)] leading-6",ellipsis:{tooltip:!0},children:null==N?void 0:N.app_describe})]})]}),(0,l.jsxs)("div",{className:"flex items-center gap-4",children:[(0,l.jsx)("div",{onClick:async()=>{await L()},className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:T?(0,l.jsx)(m.Z,{spinning:T,indicator:(0,l.jsx)(n.Z,{style:{fontSize:24},spin:!0})}):(0,l.jsx)(l.Fragment,{children:V?(0,l.jsx)(r.Z,{style:{fontSize:18},className:"text-yellow-400 cursor-pointer"}):(0,l.jsx)(i.Z,{style:{fontSize:18,cursor:"pointer"}})})}),(0,l.jsx)("div",{onClick:E,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,l.jsx)(o.Z,{className:"text-lg"})})]}),!!(null==N?void 0:null===(y=N.recommend_questions)||void 0===y?void 0:y.length)&&(0,l.jsxs)("div",{className:"absolute bottom-[-40px] left-0",children:[(0,l.jsx)("span",{className:"text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)] leading-6",children:"或许你想问:"}),N.recommend_questions.map((e,t)=>(0,l.jsx)(d.Z,{color:_[t],className:"text-xs p-1 px-2 cursor-pointer",onClick:async()=>{Z((null==e?void 0:e.question)||"",{app_code:N.app_code,...z.includes("temperature")&&{temperature:C},...z.includes("resource")&&{select_param:"string"==typeof P?P:JSON.stringify(P)||R.select_param}}),setTimeout(()=>{var e,t;null===(e=S.current)||void 0===e||e.scrollTo({top:null===(t=S.current)||void 0===t?void 0:t.scrollHeight,behavior:"smooth"})},0)},children:e.question},e.id))]})]})})},j=a(5152),y=a.n(j);let w=y()(()=>Promise.all([a.e(3662),a.e(7034),a.e(1599),a.e(1941),a.e(5872),a.e(4567),a.e(1531),a.e(2611),a.e(5265),a.e(7332),a.e(7530),a.e(9397),a.e(3764),a.e(422),a.e(2299),a.e(8709),a.e(3913),a.e(4434),a.e(9958)]).then(a.bind(a,88331)),{loadableGenerated:{webpack:()=>[88331]},ssr:!1});var N=(0,x.forwardRef)((e,t)=>{let{}=e,a=(0,x.useRef)(null),[s,n]=(0,x.useState)(!1);return(0,x.useImperativeHandle)(t,()=>a.current),(0,x.useEffect)(()=>(a.current&&a.current.addEventListener("scroll",()=>{var e;let t=(null===(e=a.current)||void 0===e?void 0:e.scrollTop)||0;t>=74?n(!0):n(!1)}),()=>{a.current&&a.current.removeEventListener("scroll",()=>{})}),[]),(0,l.jsx)("div",{className:"flex flex-1 overflow-hidden",children:(0,l.jsxs)("div",{ref:a,className:"h-full w-full mx-auto overflow-y-auto",children:[(0,l.jsx)(b,{isScrollToTop:s}),(0,l.jsx)(w,{})]})})}),k=a(7134),Z=a(32983),S=a(11163),C=a(91467),P=a(41468),R=a(25675),M=a.n(R),O=a(70065),V=e=>{let{apps:t,refresh:a,loading:n,type:o}=e,c=async e=>{let[t]=await (0,s.Vx)("true"===e.is_collected?(0,s.gD)({app_code:e.app_code}):(0,s.mo)({app_code:e.app_code}));t||a()},{setAgent:d,model:u,setCurrentDialogInfo:p}=(0,x.useContext)(P.p),h=(0,S.useRouter)(),f=async e=>{if("native_app"===e.team_mode){let{chat_scene:t=""}=e.team_context,[,a]=await (0,s.Vx)((0,s.sW)({chat_mode:t}));a&&(null==p||p({chat_scene:a.chat_mode,app_code:e.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:a.chat_mode,app_code:e.app_code})),h.push("/chat?scene=".concat(t,"&id=").concat(a.conv_uid).concat(u?"&model=".concat(u):"")))}else{let[,t]=await (0,s.Vx)((0,s.sW)({chat_mode:"chat_agent"}));t&&(null==p||p({chat_scene:t.chat_mode,app_code:e.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:t.chat_mode,app_code:e.app_code})),null==d||d(e.app_code),h.push("/chat/?scene=chat_agent&id=".concat(t.conv_uid).concat(u?"&model=".concat(u):"")))}};return n?(0,l.jsx)(m.Z,{size:"large",className:"flex items-center justify-center h-full",spinning:n}):(0,l.jsx)("div",{className:"flex flex-wrap mt-4 w-full overflow-y-auto ",children:(null==t?void 0:t.length)>0?t.map(e=>{var t;return(0,l.jsx)(C.ZP,{name:e.app_name,description:e.app_describe,onClick:()=>f(e),RightTop:"true"===e.is_collected?(0,l.jsx)(r.Z,{onClick:t=>{t.stopPropagation(),c(e)},style:{height:"21px",cursor:"pointer",color:"#f9c533"}}):(0,l.jsx)(i.Z,{onClick:t=>{t.stopPropagation(),c(e)},style:{height:"21px",cursor:"pointer"}}),LeftBottom:(0,l.jsxs)("div",{className:"flex gap-8 items-center text-gray-500 text-sm",children:[e.owner_name&&(0,l.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,l.jsx)(k.C,{src:null==e?void 0:e.owner_avatar_url,className:"bg-gradient-to-tr from-[#31afff] to-[#1677ff] cursor-pointer",children:e.owner_name}),(0,l.jsx)("span",{children:e.owner_name})]}),"used"!==o&&(0,l.jsxs)("div",{className:"flex items-start gap-1",children:[(0,l.jsx)(O.Z,{type:"icon-hot",className:"text-lg"}),(0,l.jsx)("span",{className:"text-[#878c93]",children:e.hot_value})]})]}),scene:(null==e?void 0:null===(t=e.team_context)||void 0===t?void 0:t.chat_scene)||"chat_agent"},e.app_code)}):(0,l.jsx)(Z.Z,{image:(0,l.jsx)(M(),{src:"/pictures/empty.png",alt:"empty",width:142,height:133,className:"w-[142px] h-[133px]"}),className:"flex justify-center items-center w-full h-full min-h-[200px]"})})},L=a(62418),T=a(55102),z=a(14726),E=a(93967),A=a.n(E),D=function(){let{setCurrentDialogInfo:e}=(0,x.useContext)(P.p),{t}=(0,f.$G)(),a=(0,S.useRouter)(),[n,r]=(0,x.useState)(""),[i,o]=(0,x.useState)(!1),[c,d]=(0,x.useState)(!1),u=async()=>{let[,t]=await (0,s.Vx)((0,s.sW)({chat_mode:"chat_normal"}));t&&(null==e||e({chat_scene:t.chat_mode,app_code:t.chat_mode}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:t.chat_mode,app_code:t.chat_mode})),localStorage.setItem(L.rU,JSON.stringify({id:t.conv_uid,message:n})),a.push("/chat/?scene=chat_normal&id=".concat(t.conv_uid))),r("")};return(0,l.jsxs)("div",{className:"flex flex-1 h-12 p-2 pl-4 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border-t border-b border-l border-r ".concat(i?"border-[#0c75fc]":""),children:[(0,l.jsx)(T.default.TextArea,{placeholder:t("input_tips"),className:"w-full resize-none border-0 p-0 focus:shadow-none",value:n,autoSize:{minRows:1},onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&!c&&(e.preventDefault(),n.trim()&&u())},onChange:e=>{r(e.target.value)},onFocus:()=>{o(!0)},onBlur:()=>o(!1),onCompositionStart:()=>d(!0),onCompositionEnd:()=>d(!1)}),(0,l.jsx)(z.ZP,{type:"primary",className:A()("flex items-center justify-center w-14 h-8 rounded-lg text-sm bg-button-gradient border-0",{"opacity-40 cursor-not-allowed":!n.trim()}),onClick:()=>{n.trim()&&u()},children:t("sent")})]})},J=a(89546),W=a(28459),G=a(92783),I=a(36609),$=function(){let{setCurrentDialogInfo:e,model:t}=(0,x.useContext)(P.p),a=(0,S.useRouter)(),[n,r]=(0,x.useState)({app_list:[],total_count:0}),[i,o]=(0,x.useState)("recommend"),c=e=>(0,s.Vx)((0,s.yk)({...e,page_no:"1",page_size:"6"})),d=e=>(0,s.Vx)((0,s.mW)({page_no:"1",page_size:"6",...e})),{run:u,loading:m,refresh:p}=(0,v.Z)(async e=>{switch(i){case"recommend":return await d({});case"used":return await c({is_recent_used:"true",need_owner_info:"true",...e&&{app_name:e}});default:return[]}},{manual:!0,onSuccess:e=>{let[t,a]=e;if("recommend"===i)return r({app_list:a,total_count:(null==a?void 0:a.length)||0});r(a||{})},debounceWait:500});(0,x.useEffect)(()=>{u()},[i,u]);let h=[{value:"recommend",label:(0,I.t)("recommend_apps")},{value:"used",label:(0,I.t)("used_apps")}],{data:f}=(0,v.Z)(async()=>{let[,e]=await (0,s.Vx)((0,J.A)({is_hot_question:"true"}));return null!=e?e:[]});return(0,l.jsx)(W.ZP,{theme:{components:{Button:{defaultBorderColor:"white"},Segmented:{itemSelectedBg:"#2867f5",itemSelectedColor:"white"}}},children:(0,l.jsxs)("div",{className:"px-28 py-10 h-full flex flex-col justify-between",children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex justify-between",children:[(0,l.jsx)(G.Z,{className:"backdrop-filter h-10 backdrop-blur-lg bg-white bg-opacity-30 border border-white rounded-lg shadow p-1 dark:border-[#6f7f95] dark:bg-[#6f7f95] dark:bg-opacity-60",options:h,value:i,onChange:e=>{o(e)}}),(0,l.jsxs)("span",{className:"flex items-center text-gray-500 gap-1 dark:text-slate-300",children:[(0,l.jsx)("span",{children:(0,I.t)("app_in_mind")}),(0,l.jsxs)("span",{className:"flex items-center cursor-pointer",onClick:()=>{a.push("/")},children:[(0,l.jsx)(M(),{src:"/pictures/explore_active.png",alt:"construct_image",width:24,height:24},"image_explore"),(0,l.jsx)("span",{className:"text-default",children:(0,I.t)("explore")})]}),(0,l.jsx)("span",{children:(0,I.t)("Discover_more")})]})]}),(0,l.jsx)(V,{apps:(null==n?void 0:n.app_list)||[],loading:m,refresh:p,type:i}),f&&f.length>0&&(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:"font-medium text-xl my-4",children:(0,I.t)("help")}),(0,l.jsx)("div",{className:"flex justify-start gap-4",children:f.map(n=>(0,l.jsxs)("span",{className:"flex gap-4 items-center backdrop-filter backdrop-blur-lg cursor-pointer bg-white bg-opacity-70 border-0 rounded-lg shadow p-2 relative dark:bg-[#6f7f95] dark:bg-opacity-60",onClick:async()=>{let[,l]=await (0,s.Vx)((0,s.sW)({chat_mode:"chat_knowledge",model:t}));l&&(null==e||e({chat_scene:l.chat_mode,app_code:n.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:l.chat_mode,app_code:n.app_code})),localStorage.setItem(L.rU,JSON.stringify({id:l.conv_uid,message:n.question})),a.push("/chat/?scene=".concat(l.chat_mode,"&id=").concat(null==l?void 0:l.conv_uid)))},children:[(0,l.jsx)("span",{children:n.question}),(0,l.jsx)(M(),{src:"/icons/send.png",alt:"construct_image",width:20,height:20},"image_explore")]},n.id))})]})]}),(0,l.jsx)("div",{children:(0,l.jsx)(D,{})})]})})},q=a(39332),F=a(30159),B=a(87740),H=a(52645),U=a(83062),K=a(42952),X=a(34041),Y=a(39718),Q=(0,x.memo)(()=>{let{modelList:e}=(0,x.useContext)(P.p),{appInfo:t,modelValue:a,setModelValue:s}=(0,x.useContext)(eC),{t:n}=(0,f.$G)(),r=(0,x.useMemo)(()=>{var e;return(null===(e=t.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[t.param_need]);return r.includes("model")?(0,l.jsx)(X.default,{value:a,placeholder:n("choose_model"),className:"h-8 rounded-3xl",onChange:e=>{s(e)},popupMatchSelectWidth:300,children:e.map(e=>(0,l.jsx)(X.default.Option,{children:(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(Y.Z,{model:e}),(0,l.jsx)("span",{className:"ml-2",children:e})]})},e))}):(0,l.jsx)(U.Z,{title:n("model_tip"),children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)]",children:(0,l.jsx)(K.Z,{className:"text-xl cursor-not-allowed opacity-30"})})})}),ee=a(23430),et=a(90725),ea=a(83266),el=a(2093),es=a(2913),en=(0,x.memo)(e=>{var t,a,n,r,i;let{fileList:o,setFileList:c,setLoading:d,fileName:u}=e,{setResourceValue:m,appInfo:p,refreshHistory:h,refreshDialogList:g,modelValue:_,resourceValue:b}=(0,x.useContext)(eC),j=(0,q.useSearchParams)(),y=null!==(t=null==j?void 0:j.get("scene"))&&void 0!==t?t:"",w=null!==(a=null==j?void 0:j.get("id"))&&void 0!==a?a:"",{t:N}=(0,f.$G)(),[k,Z]=(0,x.useState)([]),S=(0,x.useMemo)(()=>{var e;return(null===(e=p.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[p.param_need]),C=(0,x.useMemo)(()=>{var e,t;return S.includes("resource")&&(null===(e=null===(t=p.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type)[0])||void 0===e?void 0:e.value)==="database"},[p.param_need,S]),P=(0,x.useMemo)(()=>{var e,t;return S.includes("resource")&&(null===(e=null===(t=p.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type)[0])||void 0===e?void 0:e.value)==="knowledge"},[p.param_need,S]),R=(0,x.useMemo)(()=>{var e;return null===(e=p.param_need)||void 0===e?void 0:e.find(e=>"resource"===e.type)},[p.param_need]),{run:M,loading:O}=(0,v.Z)(async()=>await (0,s.Vx)((0,s.vD)(y)),{manual:!0,onSuccess:e=>{let[,t]=e;Z(null!=t?t:[])}});(0,el.Z)(async()=>{(C||P)&&!(null==R?void 0:R.bind_value)&&await M()},[C,P,R]);let V=(0,x.useMemo)(()=>{var e;return null===(e=k.map)||void 0===e?void 0:e.call(k,e=>({label:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(ee.Z,{width:24,height:24,src:L.S$[e.type].icon,label:L.S$[e.type].label,className:"w-[1.5em] h-[1.5em] mr-1 inline-block mt-[-4px]"}),e.param]}),value:e.param}))},[k]),T=(0,x.useCallback)(async()=>{let e=new FormData;e.append("doc_file",null==o?void 0:o[0]),d(!0);let[t,a]=await (0,s.Vx)((0,s.qn)({convUid:w,chatMode:y,data:e,model:_,config:{timeout:36e5}})).finally(()=>{d(!1)});a&&(m(a),await h(),await g())},[w,o,_,g,h,y,d,m]);if(!S.includes("resource"))return(0,l.jsx)(U.Z,{title:N("extend_tip"),children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)]",children:(0,l.jsx)(et.Z,{className:"text-lg cursor-not-allowed opacity-30"})})});switch(null==R?void 0:R.value){case"excel_file":case"text_file":case"image_file":return(0,l.jsx)(es.default,{name:"file",accept:".csv,.xlsx,.xls",fileList:o,showUploadList:!1,beforeUpload:(e,t)=>{null==c||c(t)},customRequest:T,disabled:!!u||!!(null===(n=o[0])||void 0===n?void 0:n.name),children:(0,l.jsx)(U.Z,{title:N("file_tip"),arrow:!1,placement:"bottom",children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)]",children:(0,l.jsx)(ea.Z,{className:A()("text-xl",{"cursor-pointer":!(u||(null===(r=o[0])||void 0===r?void 0:r.name))})})})})});case"database":case"knowledge":case"plugin":case"awel_flow":return b||m(null==V?void 0:null===(i=V[0])||void 0===i?void 0:i.value),(0,l.jsx)(X.default,{value:b,className:"w-52 h-8 rounded-3xl",onChange:e=>{m(e)},disabled:!!(null==R?void 0:R.bind_value),loading:O,options:V})}}),er=a(11186),ei=a(55241),eo=a(30568),ec=a(73320),ed=(0,x.memo)(e=>{let{temperatureValue:t,setTemperatureValue:a}=e,{appInfo:s}=(0,x.useContext)(eC),{t:n}=(0,f.$G)(),r=(0,x.useMemo)(()=>{var e;return(null===(e=s.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[s.param_need]);if(!r.includes("temperature"))return(0,l.jsx)(U.Z,{title:n("temperature_tip"),children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] cursor-pointer",children:(0,l.jsx)(er.Z,{className:"text-xl cursor-not-allowed opacity-30"})})});let i=e=>{isNaN(e)||a(e)};return(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(ei.Z,{arrow:!1,trigger:["click"],placement:"topLeft",content:()=>(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(eo.Z,{className:"w-20",min:0,max:1,step:.1,onChange:i,value:"number"==typeof t?t:0}),(0,l.jsx)(ec.Z,{size:"small",className:"w-14",min:0,max:1,step:.1,onChange:i,value:t})]}),children:(0,l.jsx)(U.Z,{title:n("temperature"),placement:"bottom",arrow:!1,children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] cursor-pointer",children:(0,l.jsx)(er.Z,{})})})}),(0,l.jsx)("span",{className:"text-sm ml-2",children:t})]})}),eu=e=>{var t,a;let{ctrl:r}=e,{t:i}=(0,f.$G)(),{history:o,scrollRef:c,canAbort:d,replyLoading:u,currentDialogue:p,appInfo:h,temperatureValue:v,resourceValue:g,setTemperatureValue:_,refreshHistory:b,setCanAbort:j,setReplyLoading:y,handleChat:w}=(0,x.useContext)(eC),[N,k]=(0,x.useState)([]),[Z,S]=(0,x.useState)(!1),[C,P]=(0,x.useState)(!1),R=(0,x.useMemo)(()=>{var e;return(null===(e=h.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[h.param_need]),O=(0,x.useMemo)(()=>[{tip:i("stop_replying"),icon:(0,l.jsx)(F.Z,{className:A()({"text-[#0c75fc]":d})}),can_use:d,key:"abort",onClick:()=>{d&&(r.abort(),setTimeout(()=>{j(!1),y(!1)},100))}},{tip:i("answer_again"),icon:(0,l.jsx)(B.Z,{}),can_use:!u&&o.length>0,key:"redo",onClick:async()=>{var e,t;let a=null===(e=null===(t=o.filter(e=>"human"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];w((null==a?void 0:a.context)||"",{app_code:h.app_code,...R.includes("temperature")&&{temperature:v},...R.includes("resource")&&{select_param:"string"==typeof g?g:JSON.stringify(g)||p.select_param}}),setTimeout(()=>{var e,t;null===(e=c.current)||void 0===e||e.scrollTo({top:null===(t=c.current)||void 0===t?void 0:t.scrollHeight,behavior:"smooth"})},0)}},{tip:i("erase_memory"),icon:C?(0,l.jsx)(m.Z,{spinning:C,indicator:(0,l.jsx)(n.Z,{style:{fontSize:20}})}):(0,l.jsx)(H.Z,{}),can_use:o.length>0,key:"clear",onClick:async()=>{C||(P(!0),await (0,s.Vx)((0,s.zR)(p.conv_uid)).finally(async()=>{await b(),P(!1)}))}}],[i,d,u,o,C,r,j,y,w,h.app_code,R,v,g,p.select_param,p.conv_uid,c,b]),V=(0,x.useMemo)(()=>{try{return JSON.parse(p.select_param).file_name}catch(e){return""}},[p.select_param]);return(0,l.jsxs)("div",{className:"flex flex-col mb-2",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between h-full w-full",children:[(0,l.jsxs)("div",{className:"flex gap-3 text-lg",children:[(0,l.jsx)(Q,{}),(0,l.jsx)(en,{fileList:N,setFileList:k,setLoading:S,fileName:V}),(0,l.jsx)(ed,{temperatureValue:v,setTemperatureValue:_})]}),(0,l.jsx)("div",{className:"flex gap-1",children:(0,l.jsx)(l.Fragment,{children:O.map(e=>(0,l.jsx)(U.Z,{title:e.tip,arrow:!1,placement:"bottom",children:(0,l.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] text-lg ".concat(e.can_use?"cursor-pointer":"opacity-30 cursor-not-allowed"),onClick:()=>{var t;null===(t=e.onClick)||void 0===t||t.call(e)},children:e.icon})},e.key))})})]}),(V||(null===(t=N[0])||void 0===t?void 0:t.name))&&(0,l.jsx)("div",{className:"group/item flex mt-2",children:(0,l.jsxs)("div",{className:"flex items-center justify-between w-64 border border-[#e3e4e6] dark:border-[rgba(255,255,255,0.6)] rounded-lg p-2",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(M(),{src:"/icons/chat/excel.png",width:20,height:20,alt:"file-icon",className:"mr-2"}),(0,l.jsx)("span",{className:"text-sm text-[#1c2533] dark:text-white line-clamp-1",children:V||(null===(a=N[0])||void 0===a?void 0:a.name)})]}),(0,l.jsx)(m.Z,{spinning:Z,indicator:(0,l.jsx)(n.Z,{style:{fontSize:24},spin:!0})})]})})]})},em=e=>{var t;let{ctrl:a}=e,{t:s}=(0,f.$G)(),{scrollRef:r,replyLoading:i,handleChat:o,appInfo:c,currentDialogue:d,temperatureValue:u,resourceValue:p,refreshDialogList:h}=(0,x.useContext)(eC),v=(0,q.useSearchParams)();null==v||v.get("scene");let g=null!==(t=null==v?void 0:v.get("select_param"))&&void 0!==t?t:"",[_,b]=(0,x.useState)(""),[j,y]=(0,x.useState)(!1),[w,N]=(0,x.useState)(!1),k=(0,x.useRef)(0),Z=(0,x.useMemo)(()=>{var e;return(null===(e=c.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[c.param_need]),S=async()=>{k.current++,setTimeout(()=>{var e,t;null===(e=r.current)||void 0===e||e.scrollTo({top:null===(t=r.current)||void 0===t?void 0:t.scrollHeight,behavior:"smooth"}),b("")},0),await o(_,{app_code:c.app_code||"",...Z.includes("temperature")&&{temperature:u},select_param:g,...Z.includes("resource")&&{select_param:"string"==typeof p?p:JSON.stringify(p)||d.select_param}}),1===k.current&&await h()};return(0,l.jsx)("div",{className:"flex flex-col w-5/6 mx-auto pt-4 pb-6 bg-transparent",children:(0,l.jsxs)("div",{className:"flex flex-1 flex-col bg-white dark:bg-[rgba(255,255,255,0.16)] px-5 py-4 pt-2 rounded-xl relative border-t border-b border-l border-r dark:border-[rgba(255,255,255,0.6)] ".concat(j?"border-[#0c75fc]":""),id:"input-panel",children:[(0,l.jsx)(eu,{ctrl:a}),(0,l.jsx)(T.default.TextArea,{placeholder:s("input_tips"),className:"w-full h-20 resize-none border-0 p-0 focus:shadow-none dark:bg-transparent",value:_,onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&!w&&(e.preventDefault(),_.trim()&&!i&&S())},onChange:e=>{b(e.target.value)},onFocus:()=>{y(!0)},onBlur:()=>y(!1),onCompositionStart:()=>N(!0),onCompositionEnd:()=>N(!1)}),(0,l.jsx)(z.ZP,{type:"primary",className:A()("flex items-center justify-center w-14 h-8 rounded-lg text-sm absolute right-4 bottom-3 bg-button-gradient border-0",{"cursor-not-allowed":!_.trim()}),onClick:()=>{!i&&_.trim()&&S()},children:i?(0,l.jsx)(m.Z,{spinning:i,indicator:(0,l.jsx)(n.Z,{className:"text-white"})}):s("sent")})]})})},ep=a(20046),eh=a(82061),ex=a(14313),ef=a(94155),ev=a(21612),eg=a(85576),e_=a(86250);let{Sider:eb}=ev.default,ej={display:"flex",alignItems:"center",justifyContent:"center",width:16,height:48,position:"absolute",top:"50%",transform:"translateY(-50%)",border:"1px solid #d6d8da",borderRadius:8,right:-8},ey=e=>{var t,a;let{item:n,refresh:r,historyLoading:i,order:o}=e,{t:d}=(0,f.$G)(),m=(0,q.useRouter)(),p=(0,q.useSearchParams)(),v=null!==(t=null==p?void 0:p.get("id"))&&void 0!==t?t:"",g=null!==(a=null==p?void 0:p.get("scene"))&&void 0!==a?a:"",{setCurrentDialogInfo:_}=(0,x.useContext)(P.p),b=(0,x.useMemo)(()=>n.default?n.default&&!v&&!g:n.conv_uid===v&&n.chat_mode===g,[v,g,n]),j=()=>{eg.default.confirm({title:d("delete_chat"),content:d("delete_chat_confirm"),centered:!0,onOk:async()=>{let[e]=await (0,s.Vx)((0,s.MX)(n.conv_uid));e||(await (null==r?void 0:r()),n.conv_uid===v&&m.push("/chat"))}})};return(0,l.jsxs)(e_.Z,{align:"center",className:"group/item w-full h-12 p-3 rounded-lg hover:bg-white dark:hover:bg-theme-dark cursor-pointer mb-2 relative ".concat(b?"bg-white dark:bg-theme-dark bg-opacity-100":""),onClick:()=>{i||(n.default||null==_||_({chat_scene:n.chat_mode,app_code:n.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:n.chat_mode,app_code:n.app_code})),m.push(n.default?"/chat":"?scene=".concat(n.chat_mode,"&id=").concat(n.conv_uid)))},children:[(0,l.jsx)(U.Z,{title:n.chat_mode,children:(0,l.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-lg mr-3 bg-white",children:n.icon})}),(0,l.jsx)("div",{className:"flex flex-1 line-clamp-1",children:(0,l.jsx)(u.Z.Text,{ellipsis:{tooltip:!0},children:n.label})}),!n.default&&(0,l.jsxs)("div",{className:"flex gap-1 ml-1",children:[(0,l.jsx)("div",{className:"group-hover/item:opacity-100 cursor-pointer opacity-0",onClick:e=>{e.stopPropagation()},children:(0,l.jsx)(ep.Z,{style:{fontSize:16},onClick:()=>{let e=h()("".concat(location.origin,"/chat?scene=").concat(n.chat_mode,"&id=").concat(n.conv_uid));c.ZP[e?"success":"error"](e?d("copy_success"):d("copy_failed"))}})}),(0,l.jsx)("div",{className:"group-hover/item:opacity-100 cursor-pointer opacity-0",onClick:e=>{e.stopPropagation(),j()},children:(0,l.jsx)(eh.Z,{style:{fontSize:16}})})]}),(0,l.jsx)("div",{className:" w-1 rounded-sm bg-[#0c75fc] absolute top-1/2 left-0 -translate-y-1/2 transition-all duration-500 ease-in-out ".concat(b?"h-5":"w-0 h-0")})]})};var ew=e=>{var t;let{dialogueList:a=[],refresh:s,historyLoading:n,listLoading:r,order:i}=e,o=(0,q.useSearchParams)(),c=null!==(t=null==o?void 0:o.get("scene"))&&void 0!==t?t:"",{t:d}=(0,f.$G)(),{mode:u}=(0,x.useContext)(P.p),[p,h]=(0,x.useState)("chat_dashboard"===c),v=(0,x.useMemo)(()=>p?{...ej,right:-16,borderRadius:"0px 8px 8px 0",borderLeft:"1px solid #d5e5f6"}:{...ej,borderLeft:"1px solid #d6d8da"},[p]),_=(0,x.useMemo)(()=>{let e=a[1]||[];return(null==e?void 0:e.length)>0?e.map(e=>({...e,label:e.user_input||e.select_param,key:e.conv_uid,icon:(0,l.jsx)(g.Z,{scene:e.chat_mode}),default:!1})):[]},[a]);return(0,l.jsx)(eb,{className:"bg-[#ffffff80] border-r border-[#d5e5f6] dark:bg-[#ffffff29] dark:border-[#ffffff66]",theme:u,width:280,collapsible:!0,collapsed:p,collapsedWidth:0,trigger:p?(0,l.jsx)(ex.Z,{className:"text-base"}):(0,l.jsx)(ef.Z,{className:"text-base"}),zeroWidthTriggerStyle:v,onCollapse:e=>h(e),children:(0,l.jsxs)("div",{className:"flex flex-col h-full w-full bg-transparent px-4 pt-6 ",children:[(0,l.jsx)("div",{className:"w-full text-base font-semibold text-[#1c2533] dark:text-[rgba(255,255,255,0.85)] mb-4 line-clamp-1",children:d("dialog_list")}),(0,l.jsxs)(e_.Z,{flex:1,vertical:!0,className:"overflow-y-auto",children:[(0,l.jsx)(ey,{item:{label:d("assistant"),key:"default",icon:(0,l.jsx)(M(),{src:"/LOGO_SMALL.png",alt:"default",width:24,height:24,className:"flex-1"}),default:!0},order:i}),(0,l.jsx)(m.Z,{spinning:r,className:"mt-2",children:!!(null==_?void 0:_.length)&&_.map(e=>(0,l.jsx)(ey,{item:e,refresh:s,historyLoading:n,order:i},null==e?void 0:e.key))})]})]})})},eN=a(43446);let ek=y()(()=>Promise.all([a.e(3662),a.e(7034),a.e(1599),a.e(5872),a.e(4567),a.e(1531),a.e(2611),a.e(7332),a.e(3764),a.e(422),a.e(4434),a.e(4451)]).then(a.bind(a,96307)),{loadableGenerated:{webpack:()=>[96307]},ssr:!1}),eZ=y()(()=>Promise.all([a.e(3662),a.e(7034),a.e(1599),a.e(8232),a.e(1941),a.e(5872),a.e(4567),a.e(1531),a.e(2611),a.e(5265),a.e(7332),a.e(7530),a.e(9397),a.e(3764),a.e(422),a.e(905),a.e(3266),a.e(8709),a.e(3913),a.e(4434),a.e(4769)]).then(a.bind(a,36517)),{loadableGenerated:{webpack:()=>[36517]},ssr:!1}),{Content:eS}=ev.default,eC=(0,x.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,resourceValue:{},modelValue:"",setModelValue:()=>{},setResourceValue:()=>{},setTemperatureValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve()});var eP=()=>{var e,t,a,n;let{model:r,currentDialogInfo:i}=(0,x.useContext)(P.p),{isContract:o,setIsContract:c,setIsMenuExpand:d}=(0,x.useContext)(P.p),{chat:u,ctrl:p}=(0,eN.Z)({app_code:i.app_code||""}),h=(0,q.useSearchParams)(),f=null!==(e=null==h?void 0:h.get("id"))&&void 0!==e?e:"",g=null!==(t=null==h?void 0:h.get("scene"))&&void 0!==t?t:"",_=null!==(a=null==h?void 0:h.get("knowledge_id"))&&void 0!==a?a:"",b=null!==(n=null==h?void 0:h.get("db_name"))&&void 0!==n?n:"",j=(0,x.useRef)(null),y=(0,x.useRef)(1),[w,k]=(0,x.useState)([]),[Z,S]=(0,x.useState)(),[C,R]=(0,x.useState)(!1),[M,O]=(0,x.useState)(!1),[V,T]=(0,x.useState)(""),[z,E]=(0,x.useState)({}),[A,D]=(0,x.useState)(),[J,W]=(0,x.useState)(),[G,I]=(0,x.useState)("");(0,x.useEffect)(()=>{var e,t,a,l,s,n;D((null===(e=null==z?void 0:null===(t=z.param_need)||void 0===t?void 0:t.filter(e=>"temperature"===e.type)[0])||void 0===e?void 0:e.value)||.5),I((null===(a=null==z?void 0:null===(l=z.param_need)||void 0===l?void 0:l.filter(e=>"model"===e.type)[0])||void 0===a?void 0:a.value)||r),W(_||b||(null===(s=null==z?void 0:null===(n=z.param_need)||void 0===n?void 0:n.filter(e=>"resource"===e.type)[0])||void 0===s?void 0:s.bind_value))},[z,b,_,r]),(0,x.useEffect)(()=>{d("chat_dashboard"!==g),f&&g&&c(!1)},[f,g]);let F=(0,x.useMemo)(()=>!f&&!g,[f,g]),{data:B=[],refresh:H,loading:U}=(0,v.Z)(async()=>await (0,s.Vx)((0,s.iP)())),{run:K,refresh:X}=(0,v.Z)(async()=>await (0,s.Vx)((0,s.BN)({...i})),{manual:!0,onSuccess:e=>{let[,t]=e;E(t||{})}}),Y=(0,x.useMemo)(()=>{let[,e]=B;return(null==e?void 0:e.find(e=>e.conv_uid===f))||{}},[f,B]);(0,x.useEffect)(()=>{let e=(0,L.a_)();i.chat_scene!==g||F||e&&e.message||K()},[f,i,F,K,g]);let{run:Q,loading:ee,refresh:et}=(0,v.Z)(async()=>await (0,s.Vx)((0,s.$i)(f)),{manual:!0,onSuccess:e=>{let[,t]=e,a=null==t?void 0:t.filter(e=>"view"===e.role);a&&a.length>0&&(y.current=a[a.length-1].order+1),k(t||[])}}),ea=(0,x.useCallback)((e,t)=>new Promise(a=>{let l=(0,L.a_)(),s=new AbortController;if(R(!0),w&&w.length>0){var n,r;let e=null==w?void 0:w.filter(e=>"view"===e.role),t=null==w?void 0:w.filter(e=>"human"===e.role);y.current=((null===(n=e[e.length-1])||void 0===n?void 0:n.order)||(null===(r=t[t.length-1])||void 0===r?void 0:r.order))+1}let i=[...l&&l.id===f?[]:w,{role:"human",context:e,model_name:(null==t?void 0:t.model_name)||G,order:y.current,time_stamp:0},{role:"view",context:"",model_name:(null==t?void 0:t.model_name)||G,order:y.current,time_stamp:0,thinking:!0}],o=i.length-1;k([...i]),u({data:{chat_mode:g,model_name:G,user_input:e,...t},ctrl:s,chatId:f,onMessage:e=>{O(!0),(null==t?void 0:t.incremental)?(i[o].context+=e,i[o].thinking=!1):(i[o].context=e,i[o].thinking=!1),k([...i])},onDone:()=>{R(!1),O(!1),a()},onClose:()=>{R(!1),O(!1),a()},onError:e=>{R(!1),O(!1),i[o].context=e,i[o].thinking=!1,k([...i]),a()}})}),[f,w,G,u,g]);return(0,el.Z)(async()=>{if(F)return;let e=(0,L.a_)();e&&e.id===f||await Q()},[f,g,Q]),(0,x.useEffect)(()=>{F&&(y.current=1,k([]))},[F]),(0,l.jsx)(eC.Provider,{value:{history:w,replyLoading:C,scrollRef:j,canAbort:M,chartsData:Z||[],agent:V,currentDialogue:Y,appInfo:z,temperatureValue:A,resourceValue:J,modelValue:G,setModelValue:I,setResourceValue:W,setTemperatureValue:D,setAppInfo:E,setAgent:T,setCanAbort:O,setReplyLoading:R,handleChat:ea,refreshDialogList:H,refreshHistory:et,refreshAppInfo:X,setHistory:k},children:(0,l.jsx)(e_.Z,{flex:1,children:(0,l.jsxs)(ev.default,{className:"bg-gradient-light bg-cover bg-center dark:bg-gradient-dark",children:[(0,l.jsx)(ew,{refresh:H,dialogueList:B,listLoading:U,historyLoading:ee,order:y}),(0,l.jsx)(ev.default,{className:"bg-transparent",children:"chat_dashboard"===g?o?(0,l.jsx)(ek,{}):(0,l.jsx)(eZ,{}):F?(0,l.jsx)(eS,{children:(0,l.jsx)($,{})}):(0,l.jsx)(m.Z,{spinning:ee,className:"w-full h-full m-auto",children:(0,l.jsxs)(eS,{className:"flex flex-col h-screen",children:[(0,l.jsx)(N,{ref:j}),(0,l.jsx)(em,{ctrl:p})]})})})]})})})}},11873:function(){}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9277-155b475ba8c175d1.js b/dbgpt/app/static/web/_next/static/chunks/9277-155b475ba8c175d1.js new file mode 100644 index 000000000..a365b068a --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/9277-155b475ba8c175d1.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9277,4502],{41156:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},50067:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},63606:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},52645:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},9020:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},23430:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},9641:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 100c-61.8 0-112 50.2-112 112 0 47.7 29.9 88.5 72 104.6v27.6L512 601.4 312 344.2v-27.6c42.1-16.1 72-56.9 72-104.6 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 50.6 33.8 93.5 80 107.3v34.4c0 9.7 3.3 19.3 9.3 27L476 672.3v33.6c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-33.6l226.7-291.6c6-7.7 9.3-17.3 9.3-27v-34.4c46.2-13.8 80-56.7 80-107.3 0-61.8-50.2-112-112-112zM224 212a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm336 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm192-552a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"fork",theme:"outlined"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},6171:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},38545:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},92962:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},98165:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},8745:function(e,t,n){n.d(t,{i:function(){return l}});var r=n(67294),o=n(21770),a=n(28459),i=n(53124);function l(e){return t=>r.createElement(a.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,Object.assign({},t)))}t.Z=(e,t,n,a)=>l(l=>{let{prefixCls:c,style:s}=l,d=r.useRef(null),[u,f]=r.useState(0),[m,g]=r.useState(0),[h,v]=(0,o.Z)(!1,{value:l.open}),{getPrefixCls:p}=r.useContext(i.E_),b=p(t||"select",c);r.useEffect(()=>{if(v(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;f(t.offsetHeight+8),g(t.offsetWidth)}),t=setInterval(()=>{var r;let o=n?`.${n(b)}`:`.${b}-dropdown`,a=null===(r=d.current)||void 0===r?void 0:r.querySelector(o);a&&(clearInterval(t),e.observe(a))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let y=Object.assign(Object.assign({},l),{style:Object.assign(Object.assign({},s),{margin:0}),open:h,visible:h,getPopupContainer:()=>d.current});return a&&(y=a(y)),r.createElement("div",{ref:d,style:{paddingBottom:u,position:"relative",minWidth:m}},r.createElement(e,Object.assign({},y)))})},98065:function(e,t,n){function r(e){return["small","middle","large"].includes(e)}function o(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}n.d(t,{T:function(){return o},n:function(){return r}})},96074:function(e,t,n){n.d(t,{Z:function(){return g}});var r=n(67294),o=n(93967),a=n.n(o),i=n(53124),l=n(25446),c=n(14747),s=n(83559),d=n(83262);let u=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o,textPaddingInline:a,orientationMargin:i,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{borderBlockStart:`${(0,l.bf)(o)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,l.bf)(o)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,l.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,l.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,l.bf)(o)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${i} * 100%)`},"&::after":{width:`calc(100% - ${i} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${i} * 100%)`},"&::after":{width:`calc(${i} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:a},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${(0,l.bf)(o)} 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},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:`${(0,l.bf)(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{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 f=(0,s.I$)("Divider",e=>{let t=(0,d.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[u(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),m=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},g=e=>{let{getPrefixCls:t,direction:n,divider:o}=r.useContext(i.E_),{prefixCls:l,type:c="horizontal",orientation:s="center",orientationMargin:d,className:u,rootClassName:g,children:h,dashed:v,variant:p="solid",plain:b,style:y}=e,$=m(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),O=t("divider",l),[w,C,x]=f(O),E=!!h,z="left"===s&&null!=d,k="right"===s&&null!=d,S=a()(O,null==o?void 0:o.className,C,x,`${O}-${c}`,{[`${O}-with-text`]:E,[`${O}-with-text-${s}`]:E,[`${O}-dashed`]:!!v,[`${O}-${p}`]:"solid"!==p,[`${O}-plain`]:!!b,[`${O}-rtl`]:"rtl"===n,[`${O}-no-default-orientation-margin-left`]:z,[`${O}-no-default-orientation-margin-right`]:k},u,g),Z=r.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),H=Object.assign(Object.assign({},z&&{marginLeft:Z}),k&&{marginRight:Z});return w(r.createElement("div",Object.assign({className:S,style:Object.assign(Object.assign({},null==o?void 0:o.style),y)},$,{role:"separator"}),h&&"vertical"!==c&&r.createElement("span",{className:`${O}-inner-text`,style:H},h)))}},45360:function(e,t,n){var r=n(74902),o=n(67294),a=n(38135),i=n(66968),l=n(53124),c=n(28459),s=n(66277),d=n(16474),u=n(84926);let f=null,m=e=>e(),g=[],h={};function v(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=h,a=(null==e?void 0:e())||document.body;return{getContainer:()=>a,duration:t,rtl:n,maxCount:r,top:o}}let p=o.forwardRef((e,t)=>{let{messageConfig:n,sync:r}=e,{getPrefixCls:a}=(0,o.useContext)(l.E_),c=h.prefixCls||a("message"),s=(0,o.useContext)(i.J),[u,f]=(0,d.K)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:c}),s.message));return o.useImperativeHandle(t,()=>{let e=Object.assign({},u);return Object.keys(e).forEach(t=>{e[t]=function(){return r(),u[t].apply(u,arguments)}}),{instance:e,sync:r}}),f}),b=o.forwardRef((e,t)=>{let[n,r]=o.useState(v),a=()=>{r(v)};o.useEffect(a,[]);let i=(0,c.w6)(),l=i.getRootPrefixCls(),s=i.getIconPrefixCls(),d=i.getTheme(),u=o.createElement(p,{ref:t,sync:a,messageConfig:n});return o.createElement(c.ZP,{prefixCls:l,iconPrefixCls:s,theme:d},i.holderRender?i.holderRender(u):u)});function y(){if(!f){let e=document.createDocumentFragment(),t={fragment:e};f=t,m(()=>{(0,a.s)(o.createElement(b,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,y())})}}),e)});return}f.instance&&(g.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":m(()=>{let t=f.instance.open(Object.assign(Object.assign({},h),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":m(()=>{null==f||f.instance.destroy(e.key)});break;default:m(()=>{var n;let o=(n=f.instance)[t].apply(n,(0,r.Z)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),g=[])}let $={open:function(e){let t=(0,u.J)(t=>{let n;let r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return g.push(r),()=>{n?m(()=>{n()}):r.skipped=!0}});return y(),t},destroy:e=>{g.push({type:"destroy",key:e}),y()},config:function(e){h=Object.assign(Object.assign({},h),e),m(()=>{var e;null===(e=null==f?void 0:f.sync)||void 0===e||e.call(f)})},useMessage:d.Z,_InternalPanelDoNotUseOrYouWillBeFired:s.ZP};["success","info","warning","error","loading"].forEach(e=>{$[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 g.push(o),()=>{r?m(()=>{r()}):o.skipped=!0}});return y(),n}(e,n)}}),t.ZP=$},42075:function(e,t,n){n.d(t,{Z:function(){return v}});var r=n(67294),o=n(93967),a=n.n(o),i=n(50344),l=n(98065),c=n(53124),s=n(4173);let d=r.createContext({latestIndex:0}),u=d.Provider;var f=e=>{let{className:t,index:n,children:o,split:a,style:i}=e,{latestIndex:l}=r.useContext(d);return null==o?null:r.createElement(r.Fragment,null,r.createElement("div",{className:t,style:i},o),nt.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=r.forwardRef((e,t)=>{var n,o,s;let{getPrefixCls:d,space:h,direction:v}=r.useContext(c.E_),{size:p=null!==(n=null==h?void 0:h.size)&&void 0!==n?n:"small",align:b,className:y,rootClassName:$,children:O,direction:w="horizontal",prefixCls:C,split:x,style:E,wrap:z=!1,classNames:k,styles:S}=e,Z=g(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[H,j]=Array.isArray(p)?p:[p,p],M=(0,l.n)(j),I=(0,l.n)(H),B=(0,l.T)(j),V=(0,l.T)(H),P=(0,i.Z)(O,{keepEmpty:!0}),N=void 0===b&&"horizontal"===w?"center":b,R=d("space",C),[T,W,L]=(0,m.Z)(R),F=a()(R,null==h?void 0:h.className,W,`${R}-${w}`,{[`${R}-rtl`]:"rtl"===v,[`${R}-align-${N}`]:N,[`${R}-gap-row-${j}`]:M,[`${R}-gap-col-${H}`]:I},y,$,L),D=a()(`${R}-item`,null!==(o=null==k?void 0:k.item)&&void 0!==o?o:null===(s=null==h?void 0:h.classNames)||void 0===s?void 0:s.item),A=0,_=P.map((e,t)=>{var n,o;null!=e&&(A=t);let a=(null==e?void 0:e.key)||`${D}-${t}`;return r.createElement(f,{className:D,key:a,index:t,split:x,style:null!==(n=null==S?void 0:S.item)&&void 0!==n?n:null===(o=null==h?void 0:h.styles)||void 0===o?void 0:o.item},e)}),K=r.useMemo(()=>({latestIndex:A}),[A]);if(0===P.length)return null;let G={};return z&&(G.flexWrap="wrap"),!I&&V&&(G.columnGap=H),!M&&B&&(G.rowGap=j),T(r.createElement("div",Object.assign({ref:t,className:F,style:Object.assign(Object.assign(Object.assign({},G),null==h?void 0:h.style),E)},Z),r.createElement(u,{value:K},_)))});h.Compact=s.ZP;var v=h},33507:function(e,t){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`}}})},33297:function(e,t,n){n.d(t,{Fm:function(){return g}});var r=n(25446),o=n(93590);let a=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}}),i=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}}),c=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}}),s=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}}),d=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}}),u=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}}),f=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}}),m={"move-up":{inKeyframes:u,outKeyframes:f},"move-down":{inKeyframes:a,outKeyframes:i},"move-left":{inKeyframes:l,outKeyframes:c},"move-right":{inKeyframes:s,outKeyframes:d}},g=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=m[t];return[(0,o.R)(r,a,i,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},66309:function(e,t,n){n.d(t,{Z:function(){return H}});var r=n(67294),o=n(93967),a=n.n(o),i=n(98423),l=n(98787),c=n(69760),s=n(96159),d=n(45353),u=n(53124),f=n(25446),m=n(10274),g=n(14747),h=n(83262),v=n(83559);let p=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o,calc:a}=e,i=a(r).sub(n).equal(),l=a(t).sub(n).equal();return{[o]:Object.assign(Object.assign({},(0,g.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:i}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,o=e.fontSizeSM,a=(0,h.IX)(e,{tagFontSize:o,tagLineHeight:(0,f.bf)(r(e.lineHeightSM).mul(o).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},y=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var $=(0,v.I$)("Tag",e=>{let t=b(e);return p(t)},y),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 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 w=r.forwardRef((e,t)=>{let{prefixCls:n,style:o,className:i,checked:l,onChange:c,onClick:s}=e,d=O(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:m}=r.useContext(u.E_),g=f("tag",n),[h,v,p]=$(g),b=a()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:l},null==m?void 0:m.className,i,v,p);return h(r.createElement("span",Object.assign({},d,{ref:t,style:Object.assign(Object.assign({},o),null==m?void 0:m.style),className:b,onClick:e=>{null==c||c(!l),null==s||s(e)}})))});var C=n(98719);let x=e=>(0,C.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:a,darkColor:i}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var E=(0,v.bk)(["Tag","preset"],e=>{let t=b(e);return x(t)},y);let z=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var k=(0,v.bk)(["Tag","status"],e=>{let t=b(e);return[z(t,"success","Success"),z(t,"processing","Info"),z(t,"error","Error"),z(t,"warning","Warning")]},y),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 Z=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:f,style:m,children:g,icon:h,color:v,onClose:p,bordered:b=!0,visible:y}=e,O=S(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:C,tag:x}=r.useContext(u.E_),[z,Z]=r.useState(!0),H=(0,i.Z)(O,["closeIcon","closable"]);r.useEffect(()=>{void 0!==y&&Z(y)},[y]);let j=(0,l.o2)(v),M=(0,l.yT)(v),I=j||M,B=Object.assign(Object.assign({backgroundColor:v&&!I?v:void 0},null==x?void 0:x.style),m),V=w("tag",n),[P,N,R]=$(V),T=a()(V,null==x?void 0:x.className,{[`${V}-${v}`]:I,[`${V}-has-color`]:v&&!I,[`${V}-hidden`]:!z,[`${V}-rtl`]:"rtl"===C,[`${V}-borderless`]:!b},o,f,N,R),W=e=>{e.stopPropagation(),null==p||p(e),e.defaultPrevented||Z(!1)},[,L]=(0,c.Z)((0,c.w)(e),(0,c.w)(x),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${V}-close-icon`,onClick:W},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),W(t)},className:a()(null==e?void 0:e.className,`${V}-close-icon`)}))}}),F="function"==typeof O.onClick||g&&"a"===g.type,D=h||null,A=D?r.createElement(r.Fragment,null,D,g&&r.createElement("span",null,g)):g,_=r.createElement("span",Object.assign({},H,{ref:t,className:T,style:B}),A,L,j&&r.createElement(E,{key:"preset",prefixCls:V}),M&&r.createElement(k,{key:"status",prefixCls:V}));return P(F?r.createElement(d.Z,{component:"Tag"},_):_)});Z.CheckableTag=w;var H=Z}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9343.824aa854249ff218.js b/dbgpt/app/static/web/_next/static/chunks/9343.b26f65cc33122b4a.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/9343.824aa854249ff218.js rename to dbgpt/app/static/web/_next/static/chunks/9343.b26f65cc33122b4a.js index 6d073d89d..72d86f873 100644 --- a/dbgpt/app/static/web/_next/static/chunks/9343.824aa854249ff218.js +++ b/dbgpt/app/static/web/_next/static/chunks/9343.b26f65cc33122b4a.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9343],{39343:function(e,n,t){t.r(n),t.d(n,{conf:function(){return o},language:function(){return r}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var o={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:"(",close:")"},{open:'"',close:'"'},{open:"`",close:"`"}],folding:{markers:{start:/^\s*\s*#?region\b/,end:/^\s*\s*#?endregion\b/}}},r={defaultToken:"invalid",tokenPostfix:".dart",keywords:["abstract","dynamic","implements","show","as","else","import","static","assert","enum","in","super","async","export","interface","switch","await","extends","is","sync","break","external","library","this","case","factory","mixin","throw","catch","false","new","true","class","final","null","try","const","finally","on","typedef","continue","for","operator","var","covariant","Function","part","void","default","get","rethrow","while","deferred","hide","return","with","do","if","set","yield"],typeKeywords:["int","double","String","bool"],operators:["+","-","*","/","~/","%","++","--","==","!=",">","<",">=","<=","=","-=","/=","%=",">>=","^=","+=","*=","~/=","<<=","&=","!=","||","&&","&","|","^","~","<<",">>","!",">>>","??","?",":","|="],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/\/.*$/,"comment.doc"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"\$]+/,"string"],[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"],[/\$\w+/,"identifier"]],string_single:[[/[^\\'\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"],[/\$\w+/,"identifier"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9397-fe28251b41db0e09.js b/dbgpt/app/static/web/_next/static/chunks/9397-fe28251b41db0e09.js deleted file mode 100644 index 3d3829852..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/9397-fe28251b41db0e09.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9397],{12576:function(e,r,t){t.d(r,{ZP:function(){return rk}});var a=t(87462),n=t(63366),l=t(67294),o=t(85893),i={},s=(0,l.createContext)(i),c=(e,r)=>(0,a.Z)({},e,r),u=()=>(0,l.useContext)(s),d=(0,l.createContext)(()=>{});function x(){return(0,l.useContext)(d)}d.displayName="JVR.DispatchShowTools";var p=e=>{var{initial:r,dispatch:t,children:a}=e;return(0,o.jsx)(s.Provider,{value:r,children:(0,o.jsx)(d.Provider,{value:t,children:a})})};p.displayName="JVR.ShowTools";var f={},y=(0,l.createContext)(f),v=(e,r)=>(0,a.Z)({},e,r),m=()=>(0,l.useContext)(y),b=(0,l.createContext)(()=>{});b.displayName="JVR.DispatchExpands";var h=e=>{var{initial:r,dispatch:t,children:a}=e;return(0,o.jsx)(y.Provider,{value:r,children:(0,o.jsx)(b.Provider,{value:t,children:a})})};h.displayName="JVR.Expands";var g={Str:{as:"span","data-type":"string",style:{color:"var(--w-rjv-type-string-color, #cb4b16)"},className:"w-rjv-type",children:"string"},Url:{as:"a",style:{color:"var(--w-rjv-type-url-color, #0969da)"},"data-type":"url",className:"w-rjv-type",children:"url"},Undefined:{style:{color:"var(--w-rjv-type-undefined-color, #586e75)"},as:"span","data-type":"undefined",className:"w-rjv-type",children:"undefined"},Null:{style:{color:"var(--w-rjv-type-null-color, #d33682)"},as:"span","data-type":"null",className:"w-rjv-type",children:"null"},Map:{style:{color:"var(--w-rjv-type-map-color, #268bd2)",marginRight:3},as:"span","data-type":"map",className:"w-rjv-type",children:"Map"},Nan:{style:{color:"var(--w-rjv-type-nan-color, #859900)"},as:"span","data-type":"nan",className:"w-rjv-type",children:"NaN"},Bigint:{style:{color:"var(--w-rjv-type-bigint-color, #268bd2)"},as:"span","data-type":"bigint",className:"w-rjv-type",children:"bigint"},Int:{style:{color:"var(--w-rjv-type-int-color, #268bd2)"},as:"span","data-type":"int",className:"w-rjv-type",children:"int"},Set:{style:{color:"var(--w-rjv-type-set-color, #268bd2)",marginRight:3},as:"span","data-type":"set",className:"w-rjv-type",children:"Set"},Float:{style:{color:"var(--w-rjv-type-float-color, #859900)"},as:"span","data-type":"float",className:"w-rjv-type",children:"float"},True:{style:{color:"var(--w-rjv-type-boolean-color, #2aa198)"},as:"span","data-type":"bool",className:"w-rjv-type",children:"bool"},False:{style:{color:"var(--w-rjv-type-boolean-color, #2aa198)"},as:"span","data-type":"bool",className:"w-rjv-type",children:"bool"},Date:{style:{color:"var(--w-rjv-type-date-color, #268bd2)"},as:"span","data-type":"date",className:"w-rjv-type",children:"date"}},j=(0,l.createContext)(g),w=(e,r)=>(0,a.Z)({},e,r),N=()=>(0,l.useContext)(j),E=(0,l.createContext)(()=>{});function Z(e){var{initial:r,dispatch:t,children:a}=e;return(0,o.jsx)(j.Provider,{value:r,children:(0,o.jsx)(E.Provider,{value:t,children:a})})}E.displayName="JVR.DispatchTypes",Z.displayName="JVR.Types";var R=["style"];function C(e){var{style:r}=e,t=(0,n.Z)(e,R),l=(0,a.Z)({cursor:"pointer",height:"1em",width:"1em",userSelect:"none",display:"inline-flex"},r);return(0,o.jsx)("svg",(0,a.Z)({viewBox:"0 0 24 24",fill:"var(--w-rjv-arrow-color, currentColor)",style:l},t,{children:(0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"})}))}C.displayName="JVR.TriangleArrow";var L={Arrow:{as:"span",className:"w-rjv-arrow",style:{transform:"rotate(0deg)",transition:"all 0.3s"},children:(0,o.jsx)(C,{})},Colon:{as:"span",style:{color:"var(--w-rjv-colon-color, var(--w-rjv-color))",marginLeft:0,marginRight:2},className:"w-rjv-colon",children:":"},Quote:{as:"span",style:{color:"var(--w-rjv-quotes-color, #236a7c)"},className:"w-rjv-quotes",children:'"'},ValueQuote:{as:"span",style:{color:"var(--w-rjv-quotes-string-color, #cb4b16)"},className:"w-rjv-quotes",children:'"'},BracketsLeft:{as:"span",style:{color:"var(--w-rjv-brackets-color, #236a7c)"},className:"w-rjv-brackets-start",children:"["},BracketsRight:{as:"span",style:{color:"var(--w-rjv-brackets-color, #236a7c)"},className:"w-rjv-brackets-end",children:"]"},BraceLeft:{as:"span",style:{color:"var(--w-rjv-curlybraces-color, #236a7c)"},className:"w-rjv-curlybraces-start",children:"{"},BraceRight:{as:"span",style:{color:"var(--w-rjv-curlybraces-color, #236a7c)"},className:"w-rjv-curlybraces-end",children:"}"}},k=(0,l.createContext)(L),q=(e,r)=>(0,a.Z)({},e,r),V=()=>(0,l.useContext)(k),A=(0,l.createContext)(()=>{});A.displayName="JVR.DispatchSymbols";var S=e=>{var{initial:r,dispatch:t,children:a}=e;return(0,o.jsx)(k.Provider,{value:r,children:(0,o.jsx)(A.Provider,{value:t,children:a})})};S.displayName="JVR.Symbols";var T={Copied:{className:"w-rjv-copied",style:{height:"1em",width:"1em",cursor:"pointer",verticalAlign:"middle",marginLeft:5}},CountInfo:{as:"span",className:"w-rjv-object-size",style:{color:"var(--w-rjv-info-color, #0000004d)",paddingLeft:8,fontStyle:"italic"}},CountInfoExtra:{as:"span",className:"w-rjv-object-extra",style:{paddingLeft:8}},Ellipsis:{as:"span",style:{cursor:"pointer",color:"var(--w-rjv-ellipsis-color, #cb4b16)",userSelect:"none"},className:"w-rjv-ellipsis",children:"..."},Row:{as:"div",className:"w-rjv-line"},KeyName:{as:"span",className:"w-rjv-object-key"}},B=(0,l.createContext)(T),J=(e,r)=>(0,a.Z)({},e,r),I=()=>(0,l.useContext)(B),D=(0,l.createContext)(()=>{});D.displayName="JVR.DispatchSection";var P=e=>{var{initial:r,dispatch:t,children:a}=e;return(0,o.jsx)(B.Provider,{value:r,children:(0,o.jsx)(D.Provider,{value:t,children:a})})};P.displayName="JVR.Section";var O={objectSortKeys:!1,indentWidth:15},M=(0,l.createContext)(O);M.displayName="JVR.Context";var U=(0,l.createContext)(()=>{});function H(e,r){return(0,a.Z)({},e,r)}U.displayName="JVR.DispatchContext";var _=()=>(0,l.useContext)(M),$=e=>{var{children:r,initialState:t,initialTypes:n}=e,[s,u]=(0,l.useReducer)(H,Object.assign({},O,t)),[d,x]=(0,l.useReducer)(c,i),[y,m]=(0,l.useReducer)(v,f),[b,j]=(0,l.useReducer)(w,g),[N,E]=(0,l.useReducer)(q,L),[R,C]=(0,l.useReducer)(J,T);return(0,l.useEffect)(()=>u((0,a.Z)({},t)),[t]),(0,o.jsx)(M.Provider,{value:s,children:(0,o.jsx)(U.Provider,{value:u,children:(0,o.jsx)(p,{initial:d,dispatch:x,children:(0,o.jsx)(h,{initial:y,dispatch:m,children:(0,o.jsx)(Z,{initial:(0,a.Z)({},b,n),dispatch:j,children:(0,o.jsx)(S,{initial:N,dispatch:E,children:(0,o.jsx)(P,{initial:R,dispatch:C,children:r})})})})})})})};$.displayName="JVR.Provider";var F=t(36459),G=["isNumber"],Q=["as","render"],K=["as","render"],W=["as","render"],z=["as","style","render"],X=["as","render"],Y=["as","render"],ee=["as","render"],er=["as","render"],et=e=>{var{Quote:r={}}=V(),{isNumber:t}=e,l=(0,n.Z)(e,G);if(t)return null;var{as:i,render:s}=r,c=(0,n.Z)(r,Q),u=i||"span",d=(0,a.Z)({},l,c);return s&&"function"==typeof s&&s(d)||(0,o.jsx)(u,(0,a.Z)({},d))};et.displayName="JVR.Quote";var ea=e=>{var{ValueQuote:r={}}=V(),t=(0,a.Z)({},((0,F.Z)(e),e)),{as:l,render:i}=r,s=(0,n.Z)(r,K),c=l||"span",u=(0,a.Z)({},t,s);return i&&"function"==typeof i&&i(u)||(0,o.jsx)(c,(0,a.Z)({},u))};ea.displayName="JVR.ValueQuote";var en=()=>{var{Colon:e={}}=V(),{as:r,render:t}=e,l=(0,n.Z)(e,W),i=r||"span";return t&&"function"==typeof t&&t(l)||(0,o.jsx)(i,(0,a.Z)({},l))};en.displayName="JVR.Colon";var el=e=>{var{Arrow:r={}}=V(),t=m(),{expandKey:l}=e,i=!!t[l],{as:s,style:c,render:u}=r,d=(0,n.Z)(r,z),x=s||"span";return u&&"function"==typeof u&&u((0,a.Z)({},d,{"data-expanded":i,style:(0,a.Z)({},c,e.style)}))||(0,o.jsx)(x,(0,a.Z)({},d,{style:(0,a.Z)({},c,e.style)}))};el.displayName="JVR.Arrow";var eo=e=>{var{isBrackets:r}=e,{BracketsLeft:t={},BraceLeft:l={}}=V();if(r){var{as:i,render:s}=t,c=(0,n.Z)(t,X),u=i||"span";return s&&"function"==typeof s&&s(c)||(0,o.jsx)(u,(0,a.Z)({},c))}var{as:d,render:x}=l,p=(0,n.Z)(l,Y),f=d||"span";return x&&"function"==typeof x&&x(p)||(0,o.jsx)(f,(0,a.Z)({},p))};eo.displayName="JVR.BracketsOpen";var ei=e=>{var{isBrackets:r,isVisiable:t}=e;if(!t)return null;var{BracketsRight:l={},BraceRight:i={}}=V();if(r){var{as:s,render:c}=l,u=(0,n.Z)(l,ee),d=s||"span";return c&&"function"==typeof c&&c(u)||(0,o.jsx)(d,(0,a.Z)({},u))}var{as:x,render:p}=i,f=(0,n.Z)(i,er),y=x||"span";return p&&"function"==typeof p&&p(f)||(0,o.jsx)(y,(0,a.Z)({},f))};ei.displayName="JVR.BracketsClose";var es=e=>{var r,{value:t,expandKey:a,level:n}=e,l=m(),i=Array.isArray(t),{collapsed:s}=_(),c=t instanceof Set,u=null!=(r=l[a])?r:"boolean"==typeof s?s:"number"==typeof s&&n>s,d=Object.keys(t).length;return u||0===d?null:(0,o.jsx)("div",{style:{paddingLeft:4},children:(0,o.jsx)(ei,{isBrackets:i||c,isVisiable:!0})})};es.displayName="JVR.NestedClose";var ec=["as","render"],eu=["as","render"],ed=["as","render"],ex=["as","render"],ep=["as","render"],ef=["as","render"],ey=["as","render"],ev=["as","render"],em=["as","render"],eb=["as","render"],eh=["as","render"],eg=["as","render"],ej=["as","render"],ew=e=>{if(void 0===e)return"0n";if("string"==typeof e)try{e=BigInt(e)}catch(e){return"0n"}return e?e.toString()+"n":"0n"},eN=e=>{var{value:r,keyName:t}=e,{Set:l={},displayDataTypes:i}=N();if(!(r instanceof Set)||!i)return null;var{as:s,render:c}=l,u=(0,n.Z)(l,ec),d=c&&"function"==typeof c&&c(u,{type:"type",value:r,keyName:t});if(d)return d;var x=s||"span";return(0,o.jsx)(x,(0,a.Z)({},u))};eN.displayName="JVR.SetComp";var eE=e=>{var{value:r,keyName:t}=e,{Map:l={},displayDataTypes:i}=N();if(!(r instanceof Map)||!i)return null;var{as:s,render:c}=l,u=(0,n.Z)(l,eu),d=c&&"function"==typeof c&&c(u,{type:"type",value:r,keyName:t});if(d)return d;var x=s||"span";return(0,o.jsx)(x,(0,a.Z)({},u))};eE.displayName="JVR.MapComp";var eZ={opacity:.75,paddingRight:4},eR=e=>{var{children:r="",keyName:t}=e,{Str:i={},displayDataTypes:s}=N(),{shortenTextAfterLength:c=30}=_(),{as:u,render:d}=i,x=(0,n.Z)(i,ed),[p,f]=(0,l.useState)(c&&r.length>c);(0,l.useEffect)(()=>f(c&&r.length>c),[c]);var y=u||"span",v=(0,a.Z)({},eZ,i.style||{});c>0&&(x.style=(0,a.Z)({},x.style,{cursor:r.length<=c?"initial":"pointer"}),r.length>c&&(x.onClick=()=>{f(!p)}));var m=p?r.slice(0,c)+"...":r,b=d&&"function"==typeof d,h=b&&d((0,a.Z)({},x,{style:v}),{type:"type",value:r,keyName:t}),g=b&&d((0,a.Z)({},x,{children:m,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[s&&(h||(0,o.jsx)(y,(0,a.Z)({},x,{style:v}))),g||(0,o.jsxs)(l.Fragment,{children:[(0,o.jsx)(ea,{}),(0,o.jsx)(y,(0,a.Z)({},x,{className:"w-rjv-value",children:m})),(0,o.jsx)(ea,{})]})]})};eR.displayName="JVR.TypeString";var eC=e=>{var{children:r,keyName:t}=e,{True:i={},displayDataTypes:s}=N(),{as:c,render:u}=i,d=(0,n.Z)(i,ex),x=c||"span",p=(0,a.Z)({},eZ,i.style||{}),f=u&&"function"==typeof u,y=f&&u((0,a.Z)({},d,{style:p}),{type:"type",value:r,keyName:t}),v=f&&u((0,a.Z)({},d,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[s&&(y||(0,o.jsx)(x,(0,a.Z)({},d,{style:p}))),v||(0,o.jsx)(x,(0,a.Z)({},d,{className:"w-rjv-value",children:null==r?void 0:r.toString()}))]})};eC.displayName="JVR.TypeTrue";var eL=e=>{var{children:r,keyName:t}=e,{False:i={},displayDataTypes:s}=N(),{as:c,render:u}=i,d=(0,n.Z)(i,ep),x=c||"span",p=(0,a.Z)({},eZ,i.style||{}),f=u&&"function"==typeof u,y=f&&u((0,a.Z)({},d,{style:p}),{type:"type",value:r,keyName:t}),v=f&&u((0,a.Z)({},d,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[s&&(y||(0,o.jsx)(x,(0,a.Z)({},d,{style:p}))),v||(0,o.jsx)(x,(0,a.Z)({},d,{className:"w-rjv-value",children:null==r?void 0:r.toString()}))]})};eL.displayName="JVR.TypeFalse";var ek=e=>{var{children:r,keyName:t}=e,{Float:i={},displayDataTypes:s}=N(),{as:c,render:u}=i,d=(0,n.Z)(i,ef),x=c||"span",p=(0,a.Z)({},eZ,i.style||{}),f=u&&"function"==typeof u,y=f&&u((0,a.Z)({},d,{style:p}),{type:"type",value:r,keyName:t}),v=f&&u((0,a.Z)({},d,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[s&&(y||(0,o.jsx)(x,(0,a.Z)({},d,{style:p}))),v||(0,o.jsx)(x,(0,a.Z)({},d,{className:"w-rjv-value",children:null==r?void 0:r.toString()}))]})};ek.displayName="JVR.TypeFloat";var eq=e=>{var{children:r,keyName:t}=e,{Int:i={},displayDataTypes:s}=N(),{as:c,render:u}=i,d=(0,n.Z)(i,ey),x=c||"span",p=(0,a.Z)({},eZ,i.style||{}),f=u&&"function"==typeof u,y=f&&u((0,a.Z)({},d,{style:p}),{type:"type",value:r,keyName:t}),v=f&&u((0,a.Z)({},d,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[s&&(y||(0,o.jsx)(x,(0,a.Z)({},d,{style:p}))),v||(0,o.jsx)(x,(0,a.Z)({},d,{className:"w-rjv-value",children:null==r?void 0:r.toString()}))]})};eq.displayName="JVR.TypeInt";var eV=e=>{var{children:r,keyName:t}=e,{Bigint:i={},displayDataTypes:s}=N(),{as:c,render:u}=i,d=(0,n.Z)(i,ev),x=c||"span",p=(0,a.Z)({},eZ,i.style||{}),f=u&&"function"==typeof u,y=f&&u((0,a.Z)({},d,{style:p}),{type:"type",value:r,keyName:t}),v=f&&u((0,a.Z)({},d,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[s&&(y||(0,o.jsx)(x,(0,a.Z)({},d,{style:p}))),v||(0,o.jsx)(x,(0,a.Z)({},d,{className:"w-rjv-value",children:ew(null==r?void 0:r.toString())}))]})};eV.displayName="JVR.TypeFloat";var eA=e=>{var{children:r,keyName:t}=e,{Url:i={},displayDataTypes:s}=N(),{as:c,render:u}=i,d=(0,n.Z)(i,em),x=c||"span",p=(0,a.Z)({},eZ,i.style),f=u&&"function"==typeof u,y=f&&u((0,a.Z)({},d,{style:p}),{type:"type",value:r,keyName:t}),v=f&&u((0,a.Z)({},d,{children:null==r?void 0:r.href,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[s&&(y||(0,o.jsx)(x,(0,a.Z)({},d,{style:p}))),v||(0,o.jsxs)("a",(0,a.Z)({href:null==r?void 0:r.href,target:"_blank"},d,{className:"w-rjv-value",children:[(0,o.jsx)(ea,{}),null==r?void 0:r.href,(0,o.jsx)(ea,{})]}))]})};eA.displayName="JVR.TypeUrl";var eS=e=>{var{children:r,keyName:t}=e,{Date:i={},displayDataTypes:s}=N(),{as:c,render:u}=i,d=(0,n.Z)(i,eb),x=c||"span",p=(0,a.Z)({},eZ,i.style||{}),f=u&&"function"==typeof u,y=f&&u((0,a.Z)({},d,{style:p}),{type:"type",value:r,keyName:t}),v=r instanceof Date?r.toLocaleString():r,m=f&&u((0,a.Z)({},d,{children:v,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[s&&(y||(0,o.jsx)(x,(0,a.Z)({},d,{style:p}))),m||(0,o.jsx)(x,(0,a.Z)({},d,{className:"w-rjv-value",children:v}))]})};eS.displayName="JVR.TypeDate";var eT=e=>{var{children:r,keyName:t}=e,{Undefined:i={},displayDataTypes:s}=N(),{as:c,render:u}=i,d=(0,n.Z)(i,eh),x=c||"span",p=(0,a.Z)({},eZ,i.style||{}),f=u&&"function"==typeof u,y=f&&u((0,a.Z)({},d,{style:p}),{type:"type",value:r,keyName:t}),v=f&&u((0,a.Z)({},d,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[s&&(y||(0,o.jsx)(x,(0,a.Z)({},d,{style:p}))),v]})};eT.displayName="JVR.TypeUndefined";var eB=e=>{var{children:r,keyName:t}=e,{Null:i={},displayDataTypes:s}=N(),{as:c,render:u}=i,d=(0,n.Z)(i,eg),x=c||"span",p=(0,a.Z)({},eZ,i.style||{}),f=u&&"function"==typeof u,y=f&&u((0,a.Z)({},d,{style:p}),{type:"type",value:r,keyName:t}),v=f&&u((0,a.Z)({},d,{children:r,className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[s&&(y||(0,o.jsx)(x,(0,a.Z)({},d,{style:p}))),v]})};eB.displayName="JVR.TypeNull";var eJ=e=>{var{children:r,keyName:t}=e,{Nan:i={},displayDataTypes:s}=N(),{as:c,render:u}=i,d=(0,n.Z)(i,ej),x=c||"span",p=(0,a.Z)({},eZ,i.style||{}),f=u&&"function"==typeof u,y=f&&u((0,a.Z)({},d,{style:p}),{type:"type",value:r,keyName:t}),v=f&&u((0,a.Z)({},d,{children:null==r?void 0:r.toString(),className:"w-rjv-value"}),{type:"value",value:r,keyName:t});return(0,o.jsxs)(l.Fragment,{children:[s&&(y||(0,o.jsx)(x,(0,a.Z)({},d,{style:p}))),v]})};eJ.displayName="JVR.TypeNan";var eI=e=>Number(e)===e&&e%1!=0||isNaN(e),eD=e=>{var{value:r,keyName:t}=e,n={keyName:t};return r instanceof URL?(0,o.jsx)(eA,(0,a.Z)({},n,{children:r})):"string"==typeof r?(0,o.jsx)(eR,(0,a.Z)({},n,{children:r})):!0===r?(0,o.jsx)(eC,(0,a.Z)({},n,{children:r})):!1===r?(0,o.jsx)(eL,(0,a.Z)({},n,{children:r})):null===r?(0,o.jsx)(eB,(0,a.Z)({},n,{children:r})):void 0===r?(0,o.jsx)(eT,(0,a.Z)({},n,{children:r})):r instanceof Date?(0,o.jsx)(eS,(0,a.Z)({},n,{children:r})):"number"==typeof r&&isNaN(r)?(0,o.jsx)(eJ,(0,a.Z)({},n,{children:r})):"number"==typeof r&&eI(r)?(0,o.jsx)(ek,(0,a.Z)({},n,{children:r})):"bigint"==typeof r?(0,o.jsx)(eV,(0,a.Z)({},n,{children:r})):"number"==typeof r?(0,o.jsx)(eq,(0,a.Z)({},n,{children:r})):null};function eP(e,r,t){var n=(0,l.useContext)(A),o=[e.className,r.className].filter(Boolean).join(" "),i=(0,a.Z)({},e,r,{className:o,style:(0,a.Z)({},e.style,r.style),children:r.children||e.children});(0,l.useEffect)(()=>n({[t]:i}),[r])}function eO(e,r,t){var n=(0,l.useContext)(E),o=[e.className,r.className].filter(Boolean).join(" "),i=(0,a.Z)({},e,r,{className:o,style:(0,a.Z)({},e.style,r.style),children:r.children||e.children});(0,l.useEffect)(()=>n({[t]:i}),[r])}function eM(e,r,t){var n=(0,l.useContext)(D),o=[e.className,r.className].filter(Boolean).join(" "),i=(0,a.Z)({},e,r,{className:o,style:(0,a.Z)({},e.style,r.style),children:r.children||e.children});(0,l.useEffect)(()=>n({[t]:i}),[r])}eD.displayName="JVR.Value";var eU=["as","render"],eH=e=>{var{KeyName:r={}}=I();return eM(r,e,"KeyName"),null};eH.displayName="JVR.KeyName";var e_=e=>{var{children:r,value:t,parentValue:l,keyName:i,keys:s}=e,c="number"==typeof r,{KeyName:u={}}=I(),{as:d,render:x}=u,p=(0,n.Z)(u,eU);p.style=(0,a.Z)({},p.style,{color:c?"var(--w-rjv-key-number, #268bd2)":"var(--w-rjv-key-string, #002b36)"});var f=d||"span";return x&&"function"==typeof x&&x((0,a.Z)({},p,{children:r}),{value:t,parentValue:l,keyName:i,keys:s||(i?[i]:[])})||(0,o.jsx)(f,(0,a.Z)({},p,{children:r}))};e_.displayName="JVR.KeyNameComp";var e$=["children","value","parentValue","keyName","keys"],eF=["as","render","children"],eG=e=>{var{Row:r={}}=I();return eM(r,e,"Row"),null};eG.displayName="JVR.Row";var eQ=e=>{var{children:r,value:t,parentValue:l,keyName:i,keys:s}=e,c=(0,n.Z)(e,e$),{Row:u={}}=I(),{as:d,render:x}=u,p=(0,n.Z)(u,eF),f=d||"div";return x&&"function"==typeof x&&x((0,a.Z)({},c,p,{children:r}),{value:t,keyName:i,parentValue:l,keys:s})||(0,o.jsx)(f,(0,a.Z)({},c,p,{children:r}))};eQ.displayName="JVR.RowComp";var eK=["keyName","value","parentValue","expandKey","keys"],eW=["as","render"],ez=e=>{var{keyName:r,value:t,parentValue:i,expandKey:s,keys:c}=e,d=(0,n.Z)(e,eK),{onCopied:x,enableClipboard:p}=_(),f=u()[s],[y,v]=(0,l.useState)(!1),{Copied:m={}}=I();if(!1===p||!f)return null;var b={style:{display:"inline-flex"},fill:y?"var(--w-rjv-copied-success-color, #28a745)":"var(--w-rjv-copied-color, currentColor)",onClick:e=>{e.stopPropagation();var r="";r="number"==typeof t&&t===1/0?"Infinity":"number"==typeof t&&isNaN(t)?"NaN":"bigint"==typeof t?ew(t):t instanceof Date?t.toLocaleString():JSON.stringify(t,(e,r)=>"bigint"==typeof r?ew(r):r,2),x&&x(r,t),v(!0),(navigator.clipboard||{writeText:e=>new Promise((r,t)=>{var a=document.createElement("textarea");a.style.position="absolute",a.style.opacity="0",a.style.left="-99999999px",a.value=e,document.body.appendChild(a),a.select(),document.execCommand("copy")?r():t(),a.remove()})}).writeText(r).then(()=>{var e=setTimeout(()=>{v(!1),clearTimeout(e)},3e3)}).catch(e=>{})}},{render:h}=m,g=(0,n.Z)(m,eW),j=(0,a.Z)({},g,d,b,{style:(0,a.Z)({},g.style,d.style,b.style)});return h&&"function"==typeof h&&h((0,a.Z)({},j,{"data-copied":y}),{value:t,keyName:r,keys:c,parentValue:i})||(y?(0,o.jsx)("svg",(0,a.Z)({viewBox:"0 0 32 36"},j,{children:(0,o.jsx)("path",{d:"M27.5,33 L2.5,33 L2.5,12.5 L27.5,12.5 L27.5,15.2249049 C29.1403264,13.8627542 29.9736597,13.1778155 30,13.1700887 C30,11.9705278 30,10.0804982 30,7.5 C30,6.1 28.9,5 27.5,5 L20,5 C20,2.2 17.8,0 15,0 C12.2,0 10,2.2 10,5 L2.5,5 C1.1,5 0,6.1 0,7.5 L0,33 C0,34.4 1.1,36 2.5,36 L27.5,36 C28.9,36 30,34.4 30,33 L30,26.1114493 L27.5,28.4926435 L27.5,33 Z M7.5,7.5 L10,7.5 C10,7.5 12.5,6.4 12.5,5 C12.5,3.6 13.6,2.5 15,2.5 C16.4,2.5 17.5,3.6 17.5,5 C17.5,6.4 18.8,7.5 20,7.5 L22.5,7.5 C22.5,7.5 25,8.6 25,10 L5,10 C5,8.5 6.1,7.5 7.5,7.5 Z M5,27.5 L10,27.5 L10,25 L5,25 L5,27.5 Z M28.5589286,16 L32,19.6 L21.0160714,30.5382252 L13.5303571,24.2571429 L17.1303571,20.6571429 L21.0160714,24.5428571 L28.5589286,16 Z M17.5,15 L5,15 L5,17.5 L17.5,17.5 L17.5,15 Z M10,20 L5,20 L5,22.5 L10,22.5 L10,20 Z"})})):(0,o.jsx)("svg",(0,a.Z)({viewBox:"0 0 32 36"},j,{children:(0,o.jsx)("path",{d:"M27.5,33 L2.5,33 L2.5,12.5 L27.5,12.5 L27.5,20 L30,20 L30,7.5 C30,6.1 28.9,5 27.5,5 L20,5 C20,2.2 17.8,0 15,0 C12.2,0 10,2.2 10,5 L2.5,5 C1.1,5 0,6.1 0,7.5 L0,33 C0,34.4 1.1,36 2.5,36 L27.5,36 C28.9,36 30,34.4 30,33 L30,29 L27.5,29 L27.5,33 Z M7.5,7.5 L10,7.5 C10,7.5 12.5,6.4 12.5,5 C12.5,3.6 13.6,2.5 15,2.5 C16.4,2.5 17.5,3.6 17.5,5 C17.5,6.4 18.8,7.5 20,7.5 L22.5,7.5 C22.5,7.5 25,8.6 25,10 L5,10 C5,8.5 6.1,7.5 7.5,7.5 Z M5,27.5 L10,27.5 L10,25 L5,25 L5,27.5 Z M22.5,21.5 L22.5,16.5 L12.5,24 L22.5,31.5 L22.5,26.5 L32,26.5 L32,21.5 L22.5,21.5 Z M17.5,15 L5,15 L5,17.5 L17.5,17.5 L17.5,15 Z M10,20 L5,20 L5,22.5 L10,22.5 L10,20 Z"})})))};ez.displayName="JVR.Copied";var eX=e=>{var r,{value:t,expandKey:a="",level:n,keys:l=[]}=e,i=m(),{objectSortKeys:s,indentWidth:c,collapsed:u}=_(),d=Array.isArray(t);if(null!=(r=i[a])?r:"boolean"==typeof u?u:"number"==typeof u&&n>u)return null;var x=d?Object.entries(t).map(e=>[Number(e[0]),e[1]]):Object.entries(t);return s&&(x=!0===s?x.sort((e,r)=>{var[t]=e,[a]=r;return"string"==typeof t&&"string"==typeof a?t.localeCompare(a):0}):x.sort((e,r)=>{var[t,a]=e,[n,l]=r;return"string"==typeof t&&"string"==typeof n?s(t,n,a,l):0})),(0,o.jsx)("div",{className:"w-rjv-wrap",style:{borderLeft:"var(--w-rjv-border-left-width, 1px) var(--w-rjv-line-style, solid) var(--w-rjv-line-color, #ebebeb)",paddingLeft:c,marginLeft:6},children:x.map((e,r)=>{var[a,i]=e;return(0,o.jsx)(e0,{parentValue:t,keyName:a,keys:[...l,a],value:i,level:n},r)})})};eX.displayName="JVR.KeyValues";var eY=e=>{var{keyName:r,parentValue:t,keys:a,value:n}=e,{highlightUpdates:i}=_(),s="number"==typeof r,c=(0,l.useRef)(null);return!function(e){var r,{value:t,highlightUpdates:a,highlightContainer:n}=e,o=(r=(0,l.useRef)(),(0,l.useEffect)(()=>{r.current=t}),r.current),i=(0,l.useMemo)(()=>!!a&&void 0!==o&&(typeof t!=typeof o||("number"==typeof t?!(isNaN(t)&&isNaN(o))&&t!==o:Array.isArray(t)!==Array.isArray(o)||"object"!=typeof t&&"function"!=typeof t&&(t!==o||void 0))),[a,t]);(0,l.useEffect)(()=>{n&&n.current&&i&&"animate"in n.current&&n.current.animate([{backgroundColor:"var(--w-rjv-update-color, #ebcb8b)"},{backgroundColor:""}],{duration:1e3,easing:"ease-in"})},[i,t,n])}({value:n,highlightUpdates:i,highlightContainer:c}),(0,o.jsxs)(l.Fragment,{children:[(0,o.jsxs)("span",{ref:c,children:[(0,o.jsx)(et,{isNumber:s,"data-placement":"left"}),(0,o.jsx)(e_,{keyName:r,value:n,keys:a,parentValue:t,children:r}),(0,o.jsx)(et,{isNumber:s,"data-placement":"right"})]}),(0,o.jsx)(en,{})]})};eY.displayName="JVR.KayName";var e0=e=>{var{keyName:r,value:t,parentValue:n,level:i=0,keys:s=[]}=e,c=x(),u=(0,l.useId)(),d=Array.isArray(t),p=t instanceof Set,f=t instanceof Map,y=t instanceof Date,v=t instanceof URL;if(t&&"object"==typeof t&&!d&&!p&&!f&&!y&&!v||d||p||f){var m=p?Array.from(t):f?Object.fromEntries(t):t;return(0,o.jsx)(rn,{keyName:r,value:m,parentValue:n,initialValue:t,keys:s,level:i+1})}return(0,o.jsxs)(eQ,(0,a.Z)({className:"w-rjv-line",value:t,keyName:r,keys:s,parentValue:n},{onMouseEnter:()=>c({[u]:!0}),onMouseLeave:()=>c({[u]:!1})},{children:[(0,o.jsx)(eY,{keyName:r,value:t,keys:s,parentValue:n}),(0,o.jsx)(eD,{keyName:r,value:t}),(0,o.jsx)(ez,{keyName:r,value:t,keys:s,parentValue:n,expandKey:u})]}))};e0.displayName="JVR.KeyValuesItem";var e5=["value","keyName"],e1=["as","render"],e3=e=>{var{CountInfoExtra:r={}}=I();return eM(r,e,"CountInfoExtra"),null};e3.displayName="JVR.CountInfoExtra";var e2=e=>{var{value:r={},keyName:t}=e,l=(0,n.Z)(e,e5),{CountInfoExtra:i={}}=I(),{as:s,render:c}=i,u=(0,n.Z)(i,e1);if(!c&&!u.children)return null;var d=s||"span",x=(0,a.Z)({},u,l);return c&&"function"==typeof c&&c(x,{value:r,keyName:t})||(0,o.jsx)(d,(0,a.Z)({},x))};e2.displayName="JVR.CountInfoExtraComps";var e8=["value","keyName"],e6=["as","render"],e7=e=>{var{CountInfo:r={}}=I();return eM(r,e,"CountInfo"),null};e7.displayName="JVR.CountInfo";var e4=e=>{var{value:r={},keyName:t}=e,l=(0,n.Z)(e,e8),{displayObjectSize:i}=_(),{CountInfo:s={}}=I();if(!i)return null;var{as:c,render:u}=s,d=(0,n.Z)(s,e6),x=c||"span";d.style=(0,a.Z)({},d.style,e.style);var p=Object.keys(r).length;d.children||(d.children=p+" item"+(1===p?"":"s"));var f=(0,a.Z)({},d,l);return u&&"function"==typeof u&&u((0,a.Z)({},f,{"data-length":p}),{value:r,keyName:t})||(0,o.jsx)(x,(0,a.Z)({},f))};e4.displayName="JVR.CountInfoComp";var e9=["as","render"],re=e=>{var{Ellipsis:r={}}=I();return eM(r,e,"Ellipsis"),null};re.displayName="JVR.Ellipsis";var rr=e=>{var{isExpanded:r,value:t,keyName:l}=e,{Ellipsis:i={}}=I(),{as:s,render:c}=i,u=(0,n.Z)(i,e9),d=s||"span";return c&&"function"==typeof c&&c((0,a.Z)({},u,{"data-expanded":r}),{value:t,keyName:l})||(r&&("object"!=typeof t||0!=Object.keys(t).length)?(0,o.jsx)(d,(0,a.Z)({},u)):null)};rr.displayName="JVR.EllipsisComp";var rt=e=>{var r,{keyName:t,expandKey:n,keys:i,initialValue:s,value:c,parentValue:u,level:d}=e,x=m(),p=(0,l.useContext)(b),{onExpand:f,collapsed:y}=_(),v=Array.isArray(c),h=c instanceof Set,g=null!=(r=x[n])?r:"boolean"==typeof y?y:"number"==typeof y&&d>y,j="object"==typeof c,w=0!==Object.keys(c).length&&(v||h||j),N={style:{display:"inline-flex",alignItems:"center"}};return w&&(N.onClick=()=>{var e={expand:!g,value:c,keyid:n,keyName:t};f&&f(e),p({[n]:e.expand})}),(0,o.jsxs)("span",(0,a.Z)({},N,{children:[w&&(0,o.jsx)(el,{style:{transform:"rotate("+(g?"-90":"0")+"deg)",transition:"all 0.3s"},expandKey:n}),(t||"number"==typeof t)&&(0,o.jsx)(eY,{keyName:t}),(0,o.jsx)(eN,{value:s,keyName:t}),(0,o.jsx)(eE,{value:s,keyName:t}),(0,o.jsx)(eo,{isBrackets:v||h}),(0,o.jsx)(rr,{keyName:t,value:c,isExpanded:g}),(0,o.jsx)(ei,{isVisiable:g||!w,isBrackets:v||h}),(0,o.jsx)(e4,{value:c,keyName:t}),(0,o.jsx)(e2,{value:c,keyName:t}),(0,o.jsx)(ez,{keyName:t,value:c,expandKey:n,parentValue:u,keys:i})]}))};rt.displayName="JVR.NestedOpen";var ra=["className","children","parentValue","keyid","level","value","initialValue","keys","keyName"],rn=(0,l.forwardRef)((e,r)=>{var{className:t="",parentValue:i,level:s=1,value:c,initialValue:u,keys:d,keyName:p}=e,f=(0,n.Z)(e,ra),y=x(),v=(0,l.useId)(),m=[t,"w-rjv-inner"].filter(Boolean).join(" ");return(0,o.jsxs)("div",(0,a.Z)({className:m,ref:r},f,{onMouseEnter:()=>y({[v]:!0}),onMouseLeave:()=>y({[v]:!1})},{children:[(0,o.jsx)(rt,{expandKey:v,value:c,level:s,keys:d,parentValue:i,keyName:p,initialValue:u}),(0,o.jsx)(eX,{expandKey:v,value:c,level:s,keys:d,parentValue:i,keyName:p}),(0,o.jsx)(es,{expandKey:v,value:c,level:s})]}))});rn.displayName="JVR.Container";var rl=e=>{var{BraceLeft:r={}}=V();return eP(r,e,"BraceLeft"),null};rl.displayName="JVR.BraceLeft";var ro=e=>{var{BraceRight:r={}}=V();return eP(r,e,"BraceRight"),null};ro.displayName="JVR.BraceRight";var ri=e=>{var{BracketsLeft:r={}}=V();return eP(r,e,"BracketsLeft"),null};ri.displayName="JVR.BracketsLeft";var rs=e=>{var{BracketsRight:r={}}=V();return eP(r,e,"BracketsRight"),null};rs.displayName="JVR.BracketsRight";var rc=e=>{var{Arrow:r={}}=V();return eP(r,e,"Arrow"),null};rc.displayName="JVR.Arrow";var ru=e=>{var{Colon:r={}}=V();return eP(r,e,"Colon"),null};ru.displayName="JVR.Colon";var rd=e=>{var{Quote:r={}}=V();return eP(r,e,"Quote"),null};rd.displayName="JVR.Quote";var rx=e=>{var{ValueQuote:r={}}=V();return eP(r,e,"ValueQuote"),null};rx.displayName="JVR.ValueQuote";var rp=e=>{var{Bigint:r={}}=N();return eO(r,e,"Bigint"),null};rp.displayName="JVR.Bigint";var rf=e=>{var{Date:r={}}=N();return eO(r,e,"Date"),null};rf.displayName="JVR.Date";var ry=e=>{var{False:r={}}=N();return eO(r,e,"False"),null};ry.displayName="JVR.False";var rv=e=>{var{Float:r={}}=N();return eO(r,e,"Float"),null};rv.displayName="JVR.Float";var rm=e=>{var{Int:r={}}=N();return eO(r,e,"Int"),null};rm.displayName="JVR.Int";var rb=e=>{var{Map:r={}}=N();return eO(r,e,"Map"),null};rb.displayName="JVR.Map";var rh=e=>{var{Nan:r={}}=N();return eO(r,e,"Nan"),null};rh.displayName="JVR.Nan";var rg=e=>{var{Null:r={}}=N();return eO(r,e,"Null"),null};rg.displayName="JVR.Null";var rj=e=>{var{Set:r={}}=N();return eO(r,e,"Set"),null};rj.displayName="JVR.Set";var rw=e=>{var{Str:r={}}=N();return eO(r,e,"Str"),null};rw.displayName="JVR.StringText";var rN=e=>{var{True:r={}}=N();return eO(r,e,"True"),null};rN.displayName="JVR.True";var rE=e=>{var{Undefined:r={}}=N();return eO(r,e,"Undefined"),null};rE.displayName="JVR.Undefined";var rZ=e=>{var{Url:r={}}=N();return eO(r,e,"Url"),null};rZ.displayName="JVR.Url";var rR=e=>{var{Copied:r={}}=I();return eM(r,e,"Copied"),null};rR.displayName="JVR.Copied";var rC=["className","style","value","children","collapsed","indentWidth","displayObjectSize","shortenTextAfterLength","highlightUpdates","enableClipboard","displayDataTypes","objectSortKeys","onExpand","onCopied"],rL=(0,l.forwardRef)((e,r)=>{var{className:t="",style:l,value:i,children:s,collapsed:c,indentWidth:u=15,displayObjectSize:d=!0,shortenTextAfterLength:x=30,highlightUpdates:p=!0,enableClipboard:f=!0,displayDataTypes:y=!0,objectSortKeys:v=!1,onExpand:m,onCopied:b}=e,h=(0,n.Z)(e,rC),g=(0,a.Z)({lineHeight:1.4,fontFamily:"var(--w-rjv-font-family, Menlo, monospace)",color:"var(--w-rjv-color, #002b36)",backgroundColor:"var(--w-rjv-background-color, #00000000)",fontSize:13},l),j=["w-json-view-container","w-rjv",t].filter(Boolean).join(" ");return(0,o.jsxs)($,{initialState:{value:i,objectSortKeys:v,indentWidth:u,displayObjectSize:d,collapsed:c,enableClipboard:f,shortenTextAfterLength:x,highlightUpdates:p,onCopied:b,onExpand:m},initialTypes:{displayDataTypes:y},children:[(0,o.jsx)(rn,(0,a.Z)({value:i},h,{ref:r,className:j,style:g})),s]})});rL.Bigint=rp,rL.Date=rf,rL.False=ry,rL.Float=rv,rL.Int=rm,rL.Map=rb,rL.Nan=rh,rL.Null=rg,rL.Set=rj,rL.String=rw,rL.True=rN,rL.Undefined=rE,rL.Url=rZ,rL.ValueQuote=rx,rL.Arrow=rc,rL.Colon=ru,rL.Quote=rd,rL.Ellipsis=re,rL.BraceLeft=rl,rL.BraceRight=ro,rL.BracketsLeft=ri,rL.BracketsRight=rs,rL.Copied=rR,rL.CountInfo=e7,rL.CountInfoExtra=e3,rL.KeyName=eH,rL.Row=eG,rL.displayName="JVR.JsonView";var rk=rL},63086:function(e,r,t){t.d(r,{R:function(){return a}});var a={"--w-rjv-font-family":"monospace","--w-rjv-color":"#79c0ff","--w-rjv-key-string":"#79c0ff","--w-rjv-background-color":"#0d1117","--w-rjv-line-color":"#94949480","--w-rjv-arrow-color":"#ccc","--w-rjv-edit-color":"var(--w-rjv-color)","--w-rjv-info-color":"#7b7b7b","--w-rjv-update-color":"#ebcb8b","--w-rjv-copied-color":"#79c0ff","--w-rjv-copied-success-color":"#28a745","--w-rjv-curlybraces-color":"#8b949e","--w-rjv-colon-color":"#c9d1d9","--w-rjv-brackets-color":"#8b949e","--w-rjv-quotes-color":"var(--w-rjv-key-string)","--w-rjv-quotes-string-color":"var(--w-rjv-type-string-color)","--w-rjv-type-string-color":"#a5d6ff","--w-rjv-type-int-color":"#79c0ff","--w-rjv-type-float-color":"#79c0ff","--w-rjv-type-bigint-color":"#79c0ff","--w-rjv-type-boolean-color":"#ffab70","--w-rjv-type-date-color":"#79c0ff","--w-rjv-type-url-color":"#4facff","--w-rjv-type-null-color":"#ff7b72","--w-rjv-type-nan-color":"#859900","--w-rjv-type-undefined-color":"#79c0ff"}},54143:function(e,r,t){t.d(r,{K:function(){return a}});var a={"--w-rjv-font-family":"monospace","--w-rjv-color":"#6f42c1","--w-rjv-key-string":"#6f42c1","--w-rjv-background-color":"#ffffff","--w-rjv-line-color":"#ddd","--w-rjv-arrow-color":"#6e7781","--w-rjv-edit-color":"var(--w-rjv-color)","--w-rjv-info-color":"#0000004d","--w-rjv-update-color":"#ebcb8b","--w-rjv-copied-color":"#002b36","--w-rjv-copied-success-color":"#28a745","--w-rjv-curlybraces-color":"#6a737d","--w-rjv-colon-color":"#24292e","--w-rjv-brackets-color":"#6a737d","--w-rjv-quotes-color":"var(--w-rjv-key-string)","--w-rjv-quotes-string-color":"var(--w-rjv-type-string-color)","--w-rjv-type-string-color":"#032f62","--w-rjv-type-int-color":"#005cc5","--w-rjv-type-float-color":"#005cc5","--w-rjv-type-bigint-color":"#005cc5","--w-rjv-type-boolean-color":"#d73a49","--w-rjv-type-date-color":"#005cc5","--w-rjv-type-url-color":"#0969da","--w-rjv-type-null-color":"#d73a49","--w-rjv-type-nan-color":"#859900","--w-rjv-type-undefined-color":"#005cc5"}},13109:function(e,r,t){t.d(r,{Z:function(){return J}});var a=t(67294),n=t(19735),l=t(17012),o=t(62208),i=t(29950),s=t(97735),c=t(93967),u=t.n(c),d=t(29372),x=t(64217),p=t(42550),f=t(96159),y=t(53124),v=t(47648),m=t(14747),b=t(83559);let h=(e,r,t,a,n)=>({background:e,border:`${(0,v.bf)(a.lineWidth)} ${a.lineType} ${r}`,[`${n}-icon`]:{color:t}}),g=e=>{let{componentCls:r,motionDurationSlow:t,marginXS:a,marginSM:n,fontSize:l,fontSizeLG:o,lineHeight:i,borderRadiusLG:s,motionEaseInOutCirc:c,withDescriptionIconSize:u,colorText:d,colorTextHeading:x,withDescriptionPadding:p,defaultPadding:f}=e;return{[r]:Object.assign(Object.assign({},(0,m.Wf)(e)),{position:"relative",display:"flex",alignItems:"center",padding:f,wordWrap:"break-word",borderRadius:s,[`&${r}-rtl`]:{direction:"rtl"},[`${r}-content`]:{flex:1,minWidth:0},[`${r}-icon`]:{marginInlineEnd:a,lineHeight:0},"&-description":{display:"none",fontSize:l,lineHeight:i},"&-message":{color:x},[`&${r}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${t} ${c}, opacity ${t} ${c}, - padding-top ${t} ${c}, padding-bottom ${t} ${c}, - margin-bottom ${t} ${c}`},[`&${r}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${r}-with-description`]:{alignItems:"flex-start",padding:p,[`${r}-icon`]:{marginInlineEnd:n,fontSize:u,lineHeight:0},[`${r}-message`]:{display:"block",marginBottom:a,color:x,fontSize:o},[`${r}-description`]:{display:"block",color:d}},[`${r}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},j=e=>{let{componentCls:r,colorSuccess:t,colorSuccessBorder:a,colorSuccessBg:n,colorWarning:l,colorWarningBorder:o,colorWarningBg:i,colorError:s,colorErrorBorder:c,colorErrorBg:u,colorInfo:d,colorInfoBorder:x,colorInfoBg:p}=e;return{[r]:{"&-success":h(n,a,t,e,r),"&-info":h(p,x,d,e,r),"&-warning":h(i,o,l,e,r),"&-error":Object.assign(Object.assign({},h(u,c,s,e,r)),{[`${r}-description > pre`]:{margin:0,padding:0}})}}},w=e=>{let{componentCls:r,iconCls:t,motionDurationMid:a,marginXS:n,fontSizeIcon:l,colorIcon:o,colorIconHover:i}=e;return{[r]:{"&-action":{marginInlineStart:n},[`${r}-close-icon`]:{marginInlineStart:n,padding:0,overflow:"hidden",fontSize:l,lineHeight:(0,v.bf)(l),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${t}-close`]:{color:o,transition:`color ${a}`,"&:hover":{color:i}}},"&-close-text":{color:o,transition:`color ${a}`,"&:hover":{color:i}}}}};var N=(0,b.I$)("Alert",e=>[g(e),j(e),w(e)],e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`})),E=function(e,r){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>r.indexOf(a)&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,a=Object.getOwnPropertySymbols(e);nr.indexOf(a[n])&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(t[a[n]]=e[a[n]]);return t};let Z={success:n.Z,info:s.Z,error:l.Z,warning:i.Z},R=e=>{let{icon:r,prefixCls:t,type:n}=e,l=Z[n]||null;return r?(0,f.wm)(r,a.createElement("span",{className:`${t}-icon`},r),()=>({className:u()(`${t}-icon`,{[r.props.className]:r.props.className})})):a.createElement(l,{className:`${t}-icon`})},C=e=>{let{isClosable:r,prefixCls:t,closeIcon:n,handleClose:l,ariaProps:i}=e,s=!0===n||void 0===n?a.createElement(o.Z,null):n;return r?a.createElement("button",Object.assign({type:"button",onClick:l,className:`${t}-close-icon`,tabIndex:0},i),s):null},L=a.forwardRef((e,r)=>{let{description:t,prefixCls:n,message:l,banner:o,className:i,rootClassName:s,style:c,onMouseEnter:f,onMouseLeave:v,onClick:m,afterClose:b,showIcon:h,closable:g,closeText:j,closeIcon:w,action:Z,id:L}=e,k=E(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[q,V]=a.useState(!1),A=a.useRef(null);a.useImperativeHandle(r,()=>({nativeElement:A.current}));let{getPrefixCls:S,direction:T,alert:B}=a.useContext(y.E_),J=S("alert",n),[I,D,P]=N(J),O=r=>{var t;V(!0),null===(t=e.onClose)||void 0===t||t.call(e,r)},M=a.useMemo(()=>void 0!==e.type?e.type:o?"warning":"info",[e.type,o]),U=a.useMemo(()=>"object"==typeof g&&!!g.closeIcon||!!j||("boolean"==typeof g?g:!1!==w&&null!=w||!!(null==B?void 0:B.closable)),[j,w,g,null==B?void 0:B.closable]),H=!!o&&void 0===h||h,_=u()(J,`${J}-${M}`,{[`${J}-with-description`]:!!t,[`${J}-no-icon`]:!H,[`${J}-banner`]:!!o,[`${J}-rtl`]:"rtl"===T},null==B?void 0:B.className,i,s,P,D),$=(0,x.Z)(k,{aria:!0,data:!0}),F=a.useMemo(()=>{var e,r;return"object"==typeof g&&g.closeIcon?g.closeIcon:j||(void 0!==w?w:"object"==typeof(null==B?void 0:B.closable)&&(null===(e=null==B?void 0:B.closable)||void 0===e?void 0:e.closeIcon)?null===(r=null==B?void 0:B.closable)||void 0===r?void 0:r.closeIcon:null==B?void 0:B.closeIcon)},[w,g,j,null==B?void 0:B.closeIcon]),G=a.useMemo(()=>{let e=null!=g?g:null==B?void 0:B.closable;if("object"==typeof e){let{closeIcon:r}=e,t=E(e,["closeIcon"]);return t}return{}},[g,null==B?void 0:B.closable]);return I(a.createElement(d.ZP,{visible:!q,motionName:`${J}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:b},(r,n)=>{let{className:o,style:i}=r;return a.createElement("div",Object.assign({id:L,ref:(0,p.sQ)(A,n),"data-show":!q,className:u()(_,o),style:Object.assign(Object.assign(Object.assign({},null==B?void 0:B.style),c),i),onMouseEnter:f,onMouseLeave:v,onClick:m,role:"alert"},$),H?a.createElement(R,{description:t,icon:e.icon,prefixCls:J,type:M}):null,a.createElement("div",{className:`${J}-content`},l?a.createElement("div",{className:`${J}-message`},l):null,t?a.createElement("div",{className:`${J}-description`},t):null),Z?a.createElement("div",{className:`${J}-action`},Z):null,a.createElement(C,{isClosable:U,prefixCls:J,closeIcon:F,handleClose:O,ariaProps:G}))}))});var k=t(43655);function q(e,r){for(var t=0;t䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀\ud835\udd0a;拙pf;쀀\ud835\udd3eeater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀\ud835\udca2;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\x00ڲf;愍izontalLine;攀Āctۃۅ\xf2کrok;䄦mpńېۘownHum\xf0įqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻\xcd䃍Āiyܓܘrc耻\xce䃎;䐘ot;䄰r;愑rave耻\xcc䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lie\xf3ϝǴ݉\x00ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀\ud835\udd40a;䎙cr;愐ilde;䄨ǫޚ\x00ޞcy;䐆l耻\xcf䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀\ud835\udd0dpf;쀀\ud835\udd41ǣ߇\x00ߌr;쀀\ud835\udca5rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀\ud835\udd0epf;쀀\ud835\udd42cr;쀀\ud835\udca6րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\x00ࣃbleBracket;柦nǔࣈ\x00࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ight\xe1Μs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀\ud835\udd0fĀ;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊight\xe1οight\xe1ϊf;쀀\ud835\udd43erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂ\xf2ࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀\ud835\udd10nusPlus;戓pf;쀀\ud835\udd44c\xf2੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘\xeb૙eryThi\xee૙tedĀGL૸ଆreaterGreate\xf2ٳessLes\xf3ੈLine;䀊r;쀀\ud835\udd11ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀\ud835\udca9ilde耻\xd1䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻\xd3䃓Āiy෎ීrc耻\xd4䃔;䐞blac;䅐r;쀀\ud835\udd12rave耻\xd2䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀\ud835\udd46enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀\ud835\udcaaash耻\xd8䃘iŬื฼de耻\xd5䃕es;樷ml耻\xd6䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀\ud835\udd13i;䎦;䎠usMinus;䂱Āipຢອncareplan\xe5ڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀\ud835\udcab;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀\ud835\udd14pf;愚cr;쀀\ud835\udcac؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻\xae䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r\xbbཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\x00စbleBracket;柧nǔည\x00နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀\ud835\udd16ortȀDLRUᄪᄴᄾᅉownArrow\xbbОeftArrow\xbb࢚ightArrow\xbb࿝pArrow;憑gma;䎣allCircle;战pf;쀀\ud835\udd4aɲᅭ\x00\x00ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀\ud835\udcaear;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Th\xe1ྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et\xbbሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻\xde䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀\ud835\udd17Āeiቻ኉Dzኀ\x00ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀\ud835\udd4bipleDot;惛Āctዖዛr;쀀\ud835\udcafrok;䅦ૡዷጎጚጦ\x00ጬጱ\x00\x00\x00\x00\x00ጸጽ፷ᎅ\x00᏿ᐄᐊᐐĀcrዻጁute耻\xda䃚rĀ;oጇገ憟cir;楉rǣጓ\x00጖y;䐎ve;䅬Āiyጞጣrc耻\xdb䃛;䐣blac;䅰r;쀀\ud835\udd18rave耻\xd9䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀\ud835\udd4cЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥own\xe1ϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀\ud835\udcb0ilde;䅨ml耻\xdc䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀\ud835\udd19pf;쀀\ud835\udd4dcr;쀀\ud835\udcb1dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀\ud835\udd1apf;쀀\ud835\udd4ecr;쀀\ud835\udcb2Ȁfiosᓋᓐᓒᓘr;쀀\ud835\udd1b;䎞pf;쀀\ud835\udd4fcr;쀀\ud835\udcb3ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻\xdd䃝Āiyᔉᔍrc;䅶;䐫r;쀀\ud835\udd1cpf;쀀\ud835\udd50cr;쀀\ud835\udcb4ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\x00ᕛoWidt\xe8૙a;䎖r;愨pf;愤cr;쀀\ud835\udcb5௡ᖃᖊᖐ\x00ᖰᖶᖿ\x00\x00\x00\x00ᗆᗛᗫᙟ᙭\x00ᚕ᚛ᚲᚹ\x00ᚾcute耻\xe1䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻\xe2䃢te肻\xb4̆;䐰lig耻\xe6䃦Ā;r\xb2ᖺ;쀀\ud835\udd1erave耻\xe0䃠ĀepᗊᗖĀfpᗏᗔsym;愵\xe8ᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\x00\x00ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e\xbbᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢\xbb\xb9arr;捼Āgpᙣᙧon;䄅f;쀀\ud835\udd52΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒ\xf1ᚃing耻\xe5䃥ƀctyᚡᚦᚨr;쀀\ud835\udcb6;䀪mpĀ;e዁ᚯ\xf1ʈilde耻\xe3䃣ml耻\xe4䃤Āciᛂᛈonin\xf4ɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e\xbbᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰s\xe9ᜌno\xf5ēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀\ud835\udd1fg΀costuvwឍឝឳេ៕៛៞ƀaiuបពរ\xf0ݠrc;旯p\xbb፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\x00\x00ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄e\xe5ᑄ\xe5ᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\x00ᠳƲᠯ\x00ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀\ud835\udd53Ā;tᏋᡣom\xbbᏌtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻\xa6䂦Ȁceioᥑᥖᥚᥠr;쀀\ud835\udcb7mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t\xbb᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\x00᧨ᨑᨕᨲ\x00ᨷᩐ\x00\x00᪴\x00\x00᫁\x00\x00ᬡᬮ᭍᭒\x00᯽\x00ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁\xeeړȀaeiu᧰᧻ᨁᨅǰ᧵\x00᧸s;橍on;䄍dil耻\xe7䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻\xb8ƭptyv;榲t脀\xa2;eᨭᨮ䂢r\xe4Ʋr;쀀\ud835\udd20ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark\xbbᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\x00\x00᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟\xbbཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it\xbb᪼ˬ᫇᫔᫺\x00ᬊonĀ;eᫍᫎ䀺Ā;q\xc7\xc6ɭ᫙\x00\x00᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁\xeeᅠeĀmx᫱᫶ent\xbb᫩e\xf3ɍǧ᫾\x00ᬇĀ;dኻᬂot;橭n\xf4Ɇƀfryᬐᬔᬗ;쀀\ud835\udd54o\xe4ɔ脀\xa9;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀\ud835\udcb8Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\x00\x00᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\x00\x00ᯒre\xe3᭳u\xe3᭵ee;拎edge;拏en耻\xa4䂤earrowĀlrᯮ᯳eft\xbbᮀight\xbbᮽe\xe4ᯝĀciᰁᰇonin\xf4Ƿnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍r\xf2΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸\xf2ᄳhĀ;vᱚᱛ怐\xbbऊūᱡᱧarow;椏a\xe3̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻\xb0䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀\ud835\udd21arĀlrᲳᲵ\xbbࣜ\xbbသʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀\xf7;o᳧ᳰntimes;拇n\xf8᳷cy;䑒cɯᴆ\x00\x00ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀\ud835\udd55ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedg\xe5\xfanƀadhᄮᵝᵧownarrow\xf3ᲃarpoonĀlrᵲᵶef\xf4Ჴigh\xf4ᲶŢᵿᶅkaro\xf7གɯᶊ\x00\x00ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀\ud835\udcb9;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃r\xf2Щa\xf2ྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴo\xf4ᲉĀcsḎḔute耻\xe9䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻\xea䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀\ud835\udd22ƀ;rsṐṑṗ檚ave耻\xe8䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et\xbbẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀\ud835\udd56ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on\xbbớ;䏵ȀcsuvỪỳἋἣĀioữḱrc\xbbḮɩỹ\x00\x00ỻ\xedՈantĀglἂἆtr\xbbṝess\xbbṺƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯o\xf4͒ĀahὉὋ;䎷耻\xf0䃰Āmrὓὗl耻\xeb䃫o;悬ƀcipὡὤὧl;䀡s\xf4ծĀeoὬὴctatio\xeeՙnential\xe5չৡᾒ\x00ᾞ\x00ᾡᾧ\x00\x00ῆῌ\x00ΐ\x00ῦῪ \x00 ⁚llingdotse\xf1Ṅy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\x00\x00᾽g;耀ffig;耀ffl;쀀\ud835\udd23lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\x00ῳf;쀀\ud835\udd57ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\x00⁐β•‥‧‪‬\x00‮耻\xbd䂽;慓耻\xbc䂼;慕;慙;慛Ƴ‴\x00‶;慔;慖ʴ‾⁁\x00\x00⁃耻\xbe䂾;慗;慜5;慘ƶ⁌\x00⁎;慚;慝8;慞l;恄wn;挢cr;쀀\ud835\udcbbࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lan\xf4٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀\ud835\udd24Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox\xbbℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀\ud835\udd58Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\x00↎pro\xf8₞r;楸qĀlqؿ↖les\xf3₈i\xed٫Āen↣↭rtneqq;쀀≩︀\xc5↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽r\xf2ΠȀilmr⇐⇔⇗⇛rs\xf0ᒄf\xbb․il\xf4کĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it\xbb∊lip;怦con;抹r;쀀\ud835\udd25sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀\ud835\udd59bar;怕ƀclt≯≴≸r;쀀\ud835\udcbdas\xe8⇴rok;䄧Ābp⊂⊇ull;恃hen\xbbᱛૡ⊣\x00⊪\x00⊸⋅⋎\x00⋕⋳\x00\x00⋸⌢⍧⍢⍿\x00⎆⎪⎴cute耻\xed䃭ƀ;iyݱ⊰⊵rc耻\xee䃮;䐸Ācx⊼⊿y;䐵cl耻\xa1䂡ĀfrΟ⋉;쀀\ud835\udd26rave耻\xec䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓in\xe5ގar\xf4ܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝do\xf4⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙er\xf3ᕣ\xe3⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀\ud835\udd5aa;䎹uest耻\xbf䂿Āci⎊⎏r;쀀\ud835\udcbenʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\x00⎼cy;䑖l耻\xef䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀\ud835\udd27ath;䈷pf;쀀\ud835\udd5bǣ⏬\x00⏱r;쀀\ud835\udcbfrcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀\ud835\udd28reen;䄸cy;䑅cy;䑜pf;쀀\ud835\udd5ccr;쀀\ud835\udcc0஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼r\xf2৆\xf2Εail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\x00⒪\x00⒱\x00\x00\x00\x00\x00⒵Ⓔ\x00ⓆⓈⓍ\x00⓹ute;䄺mptyv;榴ra\xeeࡌbda;䎻gƀ;dlࢎⓁⓃ;榑\xe5ࢎ;檅uo耻\xab䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝\xeb≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼\xecࢰ\xe2┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□a\xe9⓶arpoonĀdu▯▴own\xbbњp\xbb०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoon\xf3྘quigarro\xf7⇰hreetimes;拋ƀ;qs▋ও◺lan\xf4বʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋ppro\xf8Ⓠot;拖qĀgq♃♅\xf4উgt\xf2⒌\xf4ছi\xedলƀilr♕࣡♚sht;楼;쀀\ud835\udd29Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖r\xf2◁orne\xf2ᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che\xbb⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox\xbb⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽r\xebࣁgƀlmr⛿✍✔eftĀar০✇ight\xe1৲apsto;柼ight\xe1৽parrowĀlr✥✩ef\xf4⓭ight;憬ƀafl✶✹✽r;榅;쀀\ud835\udd5dus;樭imes;樴š❋❏st;戗\xe1ፎƀ;ef❗❘᠀旊nge\xbb❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇r\xf2ࢨorne\xf2ᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀\ud835\udcc1mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹re\xe5◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀\xc5⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻\xaf䂯Āet⡗⡙;時Ā;e⡞⡟朠se\xbb⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻ow\xeeҌef\xf4ए\xf0Ꮡker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle\xbbᘦr;쀀\ud835\udd2ao;愧ƀcdn⢯⢴⣉ro耻\xb5䂵Ȁ;acdᑤ⢽⣀⣄s\xf4ᚧir;櫰ot肻\xb7Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛\xf2−\xf0ઁĀdp⣩⣮els;抧f;쀀\ud835\udd5eĀct⣸⣽r;쀀\ud835\udcc2pos\xbbᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la\xbb˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉ro\xf8඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\x00⧣p肻\xa0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\x00⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸ui\xf6ୣĀei⩊⩎ar;椨\xed஘istĀ;s஠டr;쀀\ud835\udd2bȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lan\xf4௢i\xed௪Ā;rஶ⪁\xbbஷƀAap⪊⪍⪑r\xf2⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹r\xf2⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro\xf7⫁ightarro\xf7⪐ƀ;qs఻⪺⫪lan\xf4ౕĀ;sౕ⫴\xbbశi\xedౝĀ;rవ⫾iĀ;eచథi\xe4ඐĀpt⬌⬑f;쀀\ud835\udd5f膀\xac;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lle\xec୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳u\xe5ಥĀ;cಘ⭸Ā;eಒ⭽\xf1ಘȀAait⮈⮋⮝⮧r\xf2⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow\xbb⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉u\xe5൅;쀀\ud835\udcc3ortɭ⬅\x00\x00⯖ar\xe1⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭\xe5೸\xe5ഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗ\xf1സȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇ\xecௗlde耻\xf1䃱\xe7ృiangleĀlrⱒⱜeftĀ;eచⱚ\xf1దightĀ;eೋⱥ\xf1೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00ⴭ\x00ⴸⵈⵠⵥ⵲ⶄᬇ\x00\x00ⶍⶫ\x00ⷈⷎ\x00ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻\xf3䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻\xf4䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀\ud835\udd2cͯ⵹\x00\x00⵼\x00ⶂn;䋛ave耻\xf2䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨr\xf2᪀Āir⶝ⶠr;榾oss;榻n\xe5๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀\ud835\udd60ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨r\xf2᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f\xbbⷿ耻\xaa䂪耻\xba䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧\xf2⸁ash耻\xf8䃸l;折iŬⸯ⸴de耻\xf5䃵esĀ;aǛ⸺s;樶ml耻\xf6䃶bar;挽ૡ⹞\x00⹽\x00⺀⺝\x00⺢⺹\x00\x00⻋ຜ\x00⼓\x00\x00⼫⾼\x00⿈rȀ;astЃ⹧⹲຅脀\xb6;l⹭⹮䂶le\xecЃɩ⹸\x00\x00⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀\ud835\udd2dƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕ma\xf4੶ne;明ƀ;tv⺿⻀⻈䏀chfork\xbb´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎\xf6⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻\xb1ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀\ud835\udd61nd耻\xa3䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷u\xe5໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾ppro\xf8⽃urlye\xf1໙\xf1໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨i\xedໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺\xf0⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴\xef໻rel;抰Āci⿀⿅r;쀀\ud835\udcc5;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀\ud835\udd2epf;쀀\ud835\udd62rime;恗cr;쀀\ud835\udcc6ƀaeo⿸〉〓tĀei⿾々rnion\xf3ڰnt;樖stĀ;e【】䀿\xf1Ἑ\xf4༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがr\xf2Ⴓ\xf2ϝail;検ar\xf2ᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕i\xe3ᅮmptyv;榳gȀ;del࿑らるろ;榒;榥\xe5࿑uo耻\xbb䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞\xeb≝\xf0✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶al\xf3༞ƀabrョリヮr\xf2៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗\xec࿲\xe2ヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜn\xe5Ⴛar\xf4ྩt;断ƀilrㅩဣㅮsht;楽;쀀\ud835\udd2fĀaoㅷㆆrĀduㅽㅿ\xbbѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭa\xe9トarpoonĀduㆻㆿow\xeeㅾp\xbb႒eftĀah㇊㇐rrow\xf3࿪arpoon\xf3Ցightarrows;應quigarro\xf7ニhreetimes;拌g;䋚ingdotse\xf1ἲƀahm㈍㈐㈓r\xf2࿪a\xf2Ց;怏oustĀ;a㈞㈟掱che\xbb㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾r\xebဃƀafl㉇㉊㉎r;榆;쀀\ud835\udd63us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒ar\xf2㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀\ud835\udcc7Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠re\xe5ㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\x00㍺㎤\x00\x00㏬㏰\x00㐨㑈㑚㒭㒱㓊㓱\x00㘖\x00\x00㘳cute;䅛qu\xef➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\x00㋼;檸on;䅡u\xe5ᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓i\xedሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒\xeb∨Ā;oਸ਼਴t耻\xa7䂧i;䀻war;椩mĀin㍩\xf0nu\xf3\xf1t;朶rĀ;o㍶⁕쀀\ud835\udd30Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\x00\x00㎜i\xe4ᑤara\xec⹯耻\xad䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲ar\xf2ᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetm\xe9㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀\ud835\udd64aĀdr㑍ЂesĀ;u㑔㑕晠it\xbb㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍\xf1ᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝\xf1ᆮƀ;afᅻ㒦ְrť㒫ֱ\xbbᅼar\xf2ᅈȀcemt㒹㒾㓂㓅r;쀀\ud835\udcc8tm\xee\xf1i\xec㐕ar\xe6ᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psilo\xeeỠh\xe9⺯s\xbb⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦ppro\xf8㋺urlye\xf1ᇾ\xf1ᇳƀaes㖂㖈㌛ppro\xf8㌚q\xf1㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻\xb9䂹耻\xb2䂲耻\xb3䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨\xeb∮Ā;oਫ਩war;椪lig耻\xdf䃟௡㙑㙝㙠ዎ㙳㙹\x00㙾㛂\x00\x00\x00\x00\x00㛛㜃\x00㜉㝬\x00\x00\x00㞇ɲ㙖\x00\x00㙛get;挖;䏄r\xeb๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀\ud835\udd31Ȁeiko㚆㚝㚵㚼Dz㚋\x00㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮ppro\xf8዁im\xbbኬs\xf0ኞĀas㚺㚮\xf0዁rn耻\xfe䃾Ǭ̟㛆⋧es膀\xd7;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀\xe1⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀\ud835\udd65rk;櫚\xe1㍢rime;怴ƀaip㜏㜒㝤d\xe5ቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own\xbbᶻeftĀ;e⠀㜾\xf1म;扜ightĀ;e㊪㝋\xf1ၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀\ud835\udcc9;䑆cy;䑛rok;䅧Āio㞋㞎x\xf4᝷headĀlr㞗㞠eftarro\xf7ࡏightarrow\xbbཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶r\xf2ϭar;楣Ācr㟜㟢ute耻\xfa䃺\xf2ᅐrǣ㟪\x00㟭y;䑞ve;䅭Āiy㟵㟺rc耻\xfb䃻;䑃ƀabh㠃㠆㠋r\xf2Ꭽlac;䅱a\xf2ᏃĀir㠓㠘sht;楾;쀀\ud835\udd32rave耻\xf9䃹š㠧㠱rĀlr㠬㠮\xbbॗ\xbbႃlk;斀Āct㠹㡍ɯ㠿\x00\x00㡊rnĀ;e㡅㡆挜r\xbb㡆op;挏ri;旸Āal㡖㡚cr;䅫肻\xa8͉Āgp㡢㡦on;䅳f;쀀\ud835\udd66̀adhlsuᅋ㡸㡽፲㢑㢠own\xe1ᎳarpoonĀlr㢈㢌ef\xf4㠭igh\xf4㠯iƀ;hl㢙㢚㢜䏅\xbbᏺon\xbb㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\x00\x00㣁rnĀ;e㢼㢽挝r\xbb㢽op;挎ng;䅯ri;旹cr;쀀\ud835\udccaƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨\xbb᠓Āam㣯㣲r\xf2㢨l耻\xfc䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠r\xf2ϷarĀ;v㤦㤧櫨;櫩as\xe8ϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖app\xe1␕othin\xe7ẖƀhir㓫⻈㥙op\xf4⾵Ā;hᎷ㥢\xefㆍĀiu㥩㥭gm\xe1㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟et\xe1㚜iangleĀlr㦪㦯eft\xbbथight\xbbၑy;䐲ash\xbbံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨa\xf2ᑩr;쀀\ud835\udd33tr\xe9㦮suĀbp㧯㧱\xbbജ\xbb൙pf;쀀\ud835\udd67ro\xf0໻tr\xe9㦴Ācu㨆㨋r;쀀\ud835\udccbĀbp㨐㨘nĀEe㦀㨖\xbb㥾nĀEe㦒㨞\xbb㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀\ud835\udd34pf;쀀\ud835\udd68Ā;eᑹ㩦at\xe8ᑹcr;쀀\ud835\udcccૣណ㪇\x00㪋\x00㪐㪛\x00\x00㪝㪨㪫㪯\x00\x00㫃㫎\x00㫘ៜ៟tr\xe9៑r;쀀\ud835\udd35ĀAa㪔㪗r\xf2σr\xf2৶;䎾ĀAa㪡㪤r\xf2θr\xf2৫a\xf0✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀\ud835\udd69im\xe5ឲĀAa㫇㫊r\xf2ώr\xf2ਁĀcq㫒ីr;쀀\ud835\udccdĀpt៖㫜r\xe9។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻\xfd䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻\xa5䂥r;쀀\ud835\udd36cy;䑗pf;쀀\ud835\udd6acr;쀀\ud835\udcceĀcm㬦㬩y;䑎l耻\xff䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡tr\xe6ᕟa;䎶r;쀀\ud835\udd37cy;䐶grarr;懝pf;쀀\ud835\udd6bcr;쀀\ud835\udccfĀjn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),p=new Uint16Array("Ȁaglq \x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));let f=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),y=null!==(i=String.fromCodePoint)&&void 0!==i?i:function(e){let r="";return e>65535&&(e-=65536,r+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),r+=String.fromCharCode(e)};function v(e){return e>=s.ZERO&&e<=s.NINE}(a=s||(s={}))[a.NUM=35]="NUM",a[a.SEMI=59]="SEMI",a[a.EQUALS=61]="EQUALS",a[a.ZERO=48]="ZERO",a[a.NINE=57]="NINE",a[a.LOWER_A=97]="LOWER_A",a[a.LOWER_F=102]="LOWER_F",a[a.LOWER_X=120]="LOWER_X",a[a.LOWER_Z=122]="LOWER_Z",a[a.UPPER_A=65]="UPPER_A",a[a.UPPER_F=70]="UPPER_F",a[a.UPPER_Z=90]="UPPER_Z",(n=c||(c={}))[n.VALUE_LENGTH=49152]="VALUE_LENGTH",n[n.BRANCH_LENGTH=16256]="BRANCH_LENGTH",n[n.JUMP_TABLE=127]="JUMP_TABLE",(l=u||(u={}))[l.EntityStart=0]="EntityStart",l[l.NumericStart=1]="NumericStart",l[l.NumericDecimal=2]="NumericDecimal",l[l.NumericHex=3]="NumericHex",l[l.NamedEntity=4]="NamedEntity",(o=d||(d={}))[o.Legacy=0]="Legacy",o[o.Strict=1]="Strict",o[o.Attribute=2]="Attribute";class m{constructor(e,r,t){this.decodeTree=e,this.emitCodePoint=r,this.errors=t,this.state=u.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=d.Strict}startEntity(e){this.decodeMode=e,this.state=u.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,r){switch(this.state){case u.EntityStart:if(e.charCodeAt(r)===s.NUM)return this.state=u.NumericStart,this.consumed+=1,this.stateNumericStart(e,r+1);return this.state=u.NamedEntity,this.stateNamedEntity(e,r);case u.NumericStart:return this.stateNumericStart(e,r);case u.NumericDecimal:return this.stateNumericDecimal(e,r);case u.NumericHex:return this.stateNumericHex(e,r);case u.NamedEntity:return this.stateNamedEntity(e,r)}}stateNumericStart(e,r){return r>=e.length?-1:(32|e.charCodeAt(r))===s.LOWER_X?(this.state=u.NumericHex,this.consumed+=1,this.stateNumericHex(e,r+1)):(this.state=u.NumericDecimal,this.stateNumericDecimal(e,r))}addToNumericResult(e,r,t,a){if(r!==t){let n=t-r;this.result=this.result*Math.pow(a,n)+parseInt(e.substr(r,n),a),this.consumed+=n}}stateNumericHex(e,r){let t=r;for(;r=s.UPPER_A)||!(a<=s.UPPER_F))&&(!(a>=s.LOWER_A)||!(a<=s.LOWER_F)))return this.addToNumericResult(e,t,r,16),this.emitNumericEntity(n,3);r+=1}return this.addToNumericResult(e,t,r,16),-1}stateNumericDecimal(e,r){let t=r;for(;r=55296&&a<=57343||a>1114111?65533:null!==(n=f.get(a))&&void 0!==n?n:a,this.consumed),this.errors&&(e!==s.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,r){let{decodeTree:t}=this,a=t[this.treeIndex],n=(a&c.VALUE_LENGTH)>>14;for(;r=s.UPPER_A&&r<=s.UPPER_Z||r>=s.LOWER_A&&r<=s.LOWER_Z||v(r)}(l))?0:this.emitNotTerminatedNamedEntity();if(0!=(n=((a=t[this.treeIndex])&c.VALUE_LENGTH)>>14)){if(l===s.SEMI)return this.emitNamedEntityData(this.treeIndex,n,this.consumed+this.excess);this.decodeMode!==d.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:r,decodeTree:t}=this,a=(t[r]&c.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,a,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,r,t){let{decodeTree:a}=this;return this.emitCodePoint(1===r?a[e]&~c.VALUE_LENGTH:a[e+1],t),3===r&&this.emitCodePoint(a[e+2],t),t}end(){var e;switch(this.state){case u.NamedEntity:return 0!==this.result&&(this.decodeMode!==d.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case u.NumericDecimal:return this.emitNumericEntity(0,2);case u.NumericHex:return this.emitNumericEntity(0,3);case u.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case u.EntityStart:return 0}}}function b(e){let r="",t=new m(e,e=>r+=y(e));return function(e,a){let n=0,l=0;for(;(l=e.indexOf("&",l))>=0;){r+=e.slice(n,l),t.startEntity(a);let o=t.write(e,l+1);if(o<0){n=l+t.end();break}n=l+o,l=0===o?n+1:n}let o=r+e.slice(n);return r="",o}}function h(e,r,t,a){let n=(r&c.BRANCH_LENGTH)>>7,l=r&c.JUMP_TABLE;if(0===n)return 0!==l&&a===l?t:-1;if(l){let r=a-l;return r<0||r>=n?-1:e[t+r]-1}let o=t,i=o+n-1;for(;o<=i;){let r=o+i>>>1,t=e[r];if(ta))return e[r+n];i=r-1}}return -1}let g=b(x);function j(e,r=d.Legacy){return g(e,r)}b(p)},43470:function(e,r,t){let a=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function n(e,r){return function(t){let a;let n=0,l="";for(;a=e.exec(t);)n!==a.index&&(l+=t.substring(n,a.index)),l+=r.get(a[0].charCodeAt(0)),n=a.index+1;return l+t.substring(n)}}null!=String.prototype.codePointAt||((e,r)=>(64512&e.charCodeAt(r))==55296?(e.charCodeAt(r)-55296)*1024+e.charCodeAt(r+1)-56320+65536:e.charCodeAt(r)),n(/[&<>'"]/g,a),n(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),n(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9398.71ad646635822279.js b/dbgpt/app/static/web/_next/static/chunks/9398.a0e4b237e8b5b3fe.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/9398.71ad646635822279.js rename to dbgpt/app/static/web/_next/static/chunks/9398.a0e4b237e8b5b3fe.js index a44e701d5..df7e840bf 100644 --- a/dbgpt/app/static/web/_next/static/chunks/9398.71ad646635822279.js +++ b/dbgpt/app/static/web/_next/static/chunks/9398.a0e4b237e8b5b3fe.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9398],{79398:function(E,T,A){A.r(T),A.d(T,{conf:function(){return N},language:function(){return R}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var N={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]}]},R={defaultToken:"",tokenPostfix:".msdax",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["VAR","RETURN","NOT","EVALUATE","DATATABLE","ORDER","BY","START","AT","DEFINE","MEASURE","ASC","DESC","IN","BOOLEAN","DOUBLE","INTEGER","DATETIME","CURRENCY","STRING"],functions:["CLOSINGBALANCEMONTH","CLOSINGBALANCEQUARTER","CLOSINGBALANCEYEAR","DATEADD","DATESBETWEEN","DATESINPERIOD","DATESMTD","DATESQTD","DATESYTD","ENDOFMONTH","ENDOFQUARTER","ENDOFYEAR","FIRSTDATE","FIRSTNONBLANK","LASTDATE","LASTNONBLANK","NEXTDAY","NEXTMONTH","NEXTQUARTER","NEXTYEAR","OPENINGBALANCEMONTH","OPENINGBALANCEQUARTER","OPENINGBALANCEYEAR","PARALLELPERIOD","PREVIOUSDAY","PREVIOUSMONTH","PREVIOUSQUARTER","PREVIOUSYEAR","SAMEPERIODLASTYEAR","STARTOFMONTH","STARTOFQUARTER","STARTOFYEAR","TOTALMTD","TOTALQTD","TOTALYTD","ADDCOLUMNS","ADDMISSINGITEMS","ALL","ALLEXCEPT","ALLNOBLANKROW","ALLSELECTED","CALCULATE","CALCULATETABLE","CALENDAR","CALENDARAUTO","CROSSFILTER","CROSSJOIN","CURRENTGROUP","DATATABLE","DETAILROWS","DISTINCT","EARLIER","EARLIEST","EXCEPT","FILTER","FILTERS","GENERATE","GENERATEALL","GROUPBY","IGNORE","INTERSECT","ISONORAFTER","KEEPFILTERS","LOOKUPVALUE","NATURALINNERJOIN","NATURALLEFTOUTERJOIN","RELATED","RELATEDTABLE","ROLLUP","ROLLUPADDISSUBTOTAL","ROLLUPGROUP","ROLLUPISSUBTOTAL","ROW","SAMPLE","SELECTCOLUMNS","SUBSTITUTEWITHINDEX","SUMMARIZE","SUMMARIZECOLUMNS","TOPN","TREATAS","UNION","USERELATIONSHIP","VALUES","SUM","SUMX","PATH","PATHCONTAINS","PATHITEM","PATHITEMREVERSE","PATHLENGTH","AVERAGE","AVERAGEA","AVERAGEX","COUNT","COUNTA","COUNTAX","COUNTBLANK","COUNTROWS","COUNTX","DISTINCTCOUNT","DIVIDE","GEOMEAN","GEOMEANX","MAX","MAXA","MAXX","MEDIAN","MEDIANX","MIN","MINA","MINX","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILEX.EXC","PERCENTILEX.INC","PRODUCT","PRODUCTX","RANK.EQ","RANKX","STDEV.P","STDEV.S","STDEVX.P","STDEVX.S","VAR.P","VAR.S","VARX.P","VARX.S","XIRR","XNPV","DATE","DATEDIFF","DATEVALUE","DAY","EDATE","EOMONTH","HOUR","MINUTE","MONTH","NOW","SECOND","TIME","TIMEVALUE","TODAY","WEEKDAY","WEEKNUM","YEAR","YEARFRAC","CONTAINS","CONTAINSROW","CUSTOMDATA","ERROR","HASONEFILTER","HASONEVALUE","ISBLANK","ISCROSSFILTERED","ISEMPTY","ISERROR","ISEVEN","ISFILTERED","ISLOGICAL","ISNONTEXT","ISNUMBER","ISODD","ISSUBTOTAL","ISTEXT","USERNAME","USERPRINCIPALNAME","AND","FALSE","IF","IFERROR","NOT","OR","SWITCH","TRUE","ABS","ACOS","ACOSH","ACOT","ACOTH","ASIN","ASINH","ATAN","ATANH","BETA.DIST","BETA.INV","CEILING","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","COMBIN","COMBINA","CONFIDENCE.NORM","CONFIDENCE.T","COS","COSH","COT","COTH","CURRENCY","DEGREES","EVEN","EXP","EXPON.DIST","FACT","FLOOR","GCD","INT","ISO.CEILING","LCM","LN","LOG","LOG10","MOD","MROUND","ODD","PERMUT","PI","POISSON.DIST","POWER","QUOTIENT","RADIANS","RAND","RANDBETWEEN","ROUND","ROUNDDOWN","ROUNDUP","SIGN","SIN","SINH","SQRT","SQRTPI","TAN","TANH","TRUNC","BLANK","CONCATENATE","CONCATENATEX","EXACT","FIND","FIXED","FORMAT","LEFT","LEN","LOWER","MID","REPLACE","REPT","RIGHT","SEARCH","SUBSTITUTE","TRIM","UNICHAR","UNICODE","UPPER","VALUE"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},[/[;,.]/,"delimiter"],[/[({})]/,"@brackets"],[/[a-z_][a-zA-Z0-9_]*/,{cases:{"@keywords":"keyword","@functions":"keyword","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/\/\/+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N"/,{token:"string",next:"@string"}],[/"/,{token:"string",next:"@string"}]],string:[[/[^"]+/,"string"],[/""/,"string"],[/"/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/'/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^']+/,"identifier"],[/''/,"identifier"],[/'/,{token:"identifier.quote",next:"@pop"}]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9491-9d8b35345ca8af6d.js b/dbgpt/app/static/web/_next/static/chunks/9491-9d8b35345ca8af6d.js deleted file mode 100644 index 9a0ae77eb..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/9491-9d8b35345ca8af6d.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9491],{32857:function(e,t){t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"}},26554:function(e,t){t.Z={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"}},42110:function(e,t){t.Z={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"}},91321:function(e,t,o){o.d(t,{Z:function(){return d}});var n=o(87462),r=o(45987),i=o(67294),l=o(16165),s=["type","children"],a=new Set;function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=e[t];if("string"==typeof o&&o.length&&!a.has(o)){var n=document.createElement("script");n.setAttribute("src",o),n.setAttribute("data-namespace",o),e.length>t+1&&(n.onload=function(){c(e,t+1)},n.onerror=function(){c(e,t+1)}),a.add(o),document.body.appendChild(n)}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,o=e.extraCommonProps,a=void 0===o?{}:o;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?c(t.reverse()):c([t]));var d=i.forwardRef(function(e,t){var o=e.type,c=e.children,d=(0,r.Z)(e,s),u=null;return e.type&&(u=i.createElement("use",{xlinkHref:"#".concat(o)})),c&&(u=c),i.createElement(l.Z,(0,n.Z)({},a,d,{ref:t}),u)});return d.displayName="Iconfont",d}},3471:function(e,t,o){var n=o(87462),r=o(67294),i=o(29245),l=o(13401),s=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},51042:function(e,t,o){var n=o(87462),r=o(67294),i=o(42110),l=o(13401),s=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},40110:function(e,t,o){var n=o(87462),r=o(67294),i=o(509),l=o(13401),s=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},90598:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(87462),r=o(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},l=o(13401),s=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},75750:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(87462),r=o(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"},l=o(13401),s=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},98065:function(e,t,o){function n(e){return["small","middle","large"].includes(e)}function r(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}o.d(t,{T:function(){return r},n:function(){return n}})},96074:function(e,t,o){o.d(t,{Z:function(){return p}});var n=o(67294),r=o(93967),i=o.n(r),l=o(53124),s=o(47648),a=o(14747),c=o(83559),d=o(87893);let u=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:o,colorSplit:n,lineWidth:r,textPaddingInline:i,orientationMargin:l,verticalMarginInline:c}=e;return{[t]:Object.assign(Object.assign({},(0,a.Wf)(e)),{borderBlockStart:`${(0,s.bf)(r)} solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:c,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,s.bf)(r)} solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,s.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,s.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,s.bf)(r)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${l} * 100%)`},"&::after":{width:`calc(100% - ${l} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${l} * 100%)`},"&::after":{width:`calc(${l} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${(0,s.bf)(r)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:r,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${(0,s.bf)(r)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:r,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:o}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:o}}})}};var h=(0,c.I$)("Divider",e=>{let t=(0,d.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[u(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),f=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o},p=e=>{let{getPrefixCls:t,direction:o,divider:r}=n.useContext(l.E_),{prefixCls:s,type:a="horizontal",orientation:c="center",orientationMargin:d,className:u,rootClassName:p,children:m,dashed:g,variant:v="solid",plain:_,style:S}=e,y=f(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),w=t("divider",s),[C,x,b]=h(w),R=!!m,T="left"===c&&null!=d,z="right"===c&&null!=d,I=i()(w,null==r?void 0:r.className,x,b,`${w}-${a}`,{[`${w}-with-text`]:R,[`${w}-with-text-${c}`]:R,[`${w}-dashed`]:!!g,[`${w}-${v}`]:"solid"!==v,[`${w}-plain`]:!!_,[`${w}-rtl`]:"rtl"===o,[`${w}-no-default-orientation-margin-left`]:T,[`${w}-no-default-orientation-margin-right`]:z},u,p),O=n.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),M=Object.assign(Object.assign({},T&&{marginLeft:O}),z&&{marginRight:O});return C(n.createElement("div",Object.assign({className:I,style:Object.assign(Object.assign({},null==r?void 0:r.style),S)},y,{role:"separator"}),m&&"vertical"!==a&&n.createElement("span",{className:`${w}-inner-text`,style:M},m)))}},42075:function(e,t,o){o.d(t,{Z:function(){return g}});var n=o(67294),r=o(93967),i=o.n(r),l=o(50344),s=o(98065),a=o(53124),c=o(4173);let d=n.createContext({latestIndex:0}),u=d.Provider;var h=e=>{let{className:t,index:o,children:r,split:i,style:l}=e,{latestIndex:s}=n.useContext(d);return null==r?null:n.createElement(n.Fragment,null,n.createElement("div",{className:t,style:l},r),ot.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]]);return o};let m=n.forwardRef((e,t)=>{var o,r,c;let{getPrefixCls:d,space:m,direction:g}=n.useContext(a.E_),{size:v=null!==(o=null==m?void 0:m.size)&&void 0!==o?o:"small",align:_,className:S,rootClassName:y,children:w,direction:C="horizontal",prefixCls:x,split:b,style:R,wrap:T=!1,classNames:z,styles:I}=e,O=p(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[M,P]=Array.isArray(v)?v:[v,v],k=(0,s.n)(P),L=(0,s.n)(M),E=(0,s.T)(P),G=(0,s.T)(M),A=(0,l.Z)(w,{keepEmpty:!0}),D=void 0===_&&"horizontal"===C?"center":_,W=d("space",x),[H,j,F]=(0,f.Z)(W),N=i()(W,null==m?void 0:m.className,j,`${W}-${C}`,{[`${W}-rtl`]:"rtl"===g,[`${W}-align-${D}`]:D,[`${W}-gap-row-${P}`]:k,[`${W}-gap-col-${M}`]:L},S,y,F),U=i()(`${W}-item`,null!==(r=null==z?void 0:z.item)&&void 0!==r?r:null===(c=null==m?void 0:m.classNames)||void 0===c?void 0:c.item),B=0,$=A.map((e,t)=>{var o,r;null!=e&&(B=t);let i=(null==e?void 0:e.key)||`${U}-${t}`;return n.createElement(h,{className:U,key:i,index:t,split:b,style:null!==(o=null==I?void 0:I.item)&&void 0!==o?o:null===(r=null==m?void 0:m.styles)||void 0===r?void 0:r.item},e)}),V=n.useMemo(()=>({latestIndex:B}),[B]);if(0===A.length)return null;let Z={};return T&&(Z.flexWrap="wrap"),!L&&G&&(Z.columnGap=M),!k&&E&&(Z.rowGap=P),H(n.createElement("div",Object.assign({ref:t,className:N,style:Object.assign(Object.assign(Object.assign({},Z),null==m?void 0:m.style),R)},O),n.createElement(u,{value:V},$)))});m.Compact=c.ZP;var g=m},33507:function(e,t){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`}}})},33297:function(e,t,o){o.d(t,{Fm:function(){return p}});var n=o(47648),r=o(93590);let i=new n.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new n.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),s=new n.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),a=new n.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 n.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new n.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),u=new n.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),h=new n.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),f={"move-up":{inKeyframes:u,outKeyframes:h},"move-down":{inKeyframes:i,outKeyframes:l},"move-left":{inKeyframes:s,outKeyframes:a},"move-right":{inKeyframes:c,outKeyframes:d}},p=(e,t)=>{let{antCls:o}=e,n=`${o}-${t}`,{inKeyframes:i,outKeyframes:l}=f[t];return[(0,r.R)(n,i,l,e.motionDurationMid),{[` - ${n}-enter, - ${n}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},64894:function(e,t,o){var n=o(83963),r=o(67294),i=o(32857),l=o(30672),s=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},54686:function(e,t,o){function n(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=r(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}function l(e,t){for(var o=0;o=0&&a===s&&c())}function W(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;o[n]=e[n]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var t=this.getSizeAndPositionOfLastMeasuredCell(),o=t.offset+t.size,n=this._lastMeasuredIndex+1;n<=e;n++){var r=this._cellSizeGetter({index:n});if(void 0===r||isNaN(r))throw Error("Invalid size returned for cell ".concat(n," of value ").concat(r));null===r?(this._cellSizeAndPositionData[n]={offset:o,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[n]={offset:o,size:r},o+=r,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var t,o=e.align,n=e.containerSize,r=e.currentOffset,i=e.targetIndex;if(n<=0)return 0;var l=this.getSizeAndPositionOfCell(i),s=l.offset,a=s-n+l.size;switch(void 0===o?"auto":o){case"start":t=s;break;case"end":t=a;break;case"center":t=s-(n-l.size)/2;break;default:t=Math.max(a,Math.min(s,r))}return Math.max(0,Math.min(this.getTotalSize()-n,t))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,o=e.offset;if(0===this.getTotalSize())return{};var n=o+t,r=this._findNearestCell(o),i=this.getSizeAndPositionOfCell(r);o=i.offset+i.size;for(var l=r;oo&&(e=n-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function(e,t){for(var o=1;e=e?this._binarySearch(o,0,e):this._exponentialSearch(o,e)}}]),e}(),j=function(){function e(t){var o=t.maxScrollSize,r=void 0===o?"undefined"!=typeof window&&window.chrome?16777100:15e5:o,i=W(t,["maxScrollSize"]);n(this,e),f(this,"_cellSizeAndPositionManager",void 0),f(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new H(i),this._maxScrollSize=r}return s(e,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),r=this.getTotalSize();return Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:r})*(r-n))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,o=e.containerSize,n=e.currentOffset,r=e.targetIndex;n=this._safeOffsetToOffset({containerSize:o,offset:n});var i=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:void 0===t?"auto":t,containerSize:o,currentOffset:n,targetIndex:r});return this._offsetToSafeOffset({containerSize:o,offset:i})}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,o=e.offset;return o=this._safeOffsetToOffset({containerSize:t,offset:o}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:o})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var t=e.containerSize,o=e.offset,n=e.totalSize;return n<=t?0:o/(n-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),r=this.getTotalSize();return n===r?o:Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:n})*(r-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),r=this.getTotalSize();return n===r?o:Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:r})*(n-t))}}]),e}();function F(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t={};return function(o){var n=o.callback,r=o.indices,i=Object.keys(r),l=!e||i.every(function(e){var t=r[e];return Array.isArray(t)?t.length>0:t>=0}),s=i.length!==Object.keys(t).length||i.some(function(e){var o=t[e],n=r[e];return Array.isArray(n)?o.join(",")!==n.join(","):o!==n});t=r,l&&s&&n(r)}}function N(e){var t=e.cellSize,o=e.cellSizeAndPositionManager,n=e.previousCellsCount,r=e.previousCellSize,i=e.previousScrollToAlignment,l=e.previousScrollToIndex,s=e.previousSize,a=e.scrollOffset,c=e.scrollToAlignment,d=e.scrollToIndex,u=e.size,h=e.sizeJustIncreasedFromZero,f=e.updateScrollIndexCallback,p=o.getCellCount(),m=d>=0&&d0&&(uo.getTotalSize()-u&&f(p-1)}var U=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function B(e){if((!p&&0!==p||e)&&U){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),p=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return p}var $=(m="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||m.webkitRequestAnimationFrame||m.mozRequestAnimationFrame||m.oRequestAnimationFrame||m.msRequestAnimationFrame||function(e){return m.setTimeout(e,1e3/60)},V=m.cancelAnimationFrame||m.webkitCancelAnimationFrame||m.mozCancelAnimationFrame||m.oCancelAnimationFrame||m.msCancelAnimationFrame||function(e){m.clearTimeout(e)},Z=function(e){return V(e.id)},q=function(e,t){Promise.resolve().then(function(){o=Date.now()});var o,n={id:$(function r(){Date.now()-o>=t?e.call():n.id=$(r)})};return n};function K(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function X(e){for(var t=1;t0&&(o._initialScrollTop=o._getCalculatedScrollTop(e,o.state)),e.scrollToColumn>0&&(o._initialScrollLeft=o._getCalculatedScrollLeft(e,o.state)),o}return h(t,e),s(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,o=void 0===t?this.props.scrollToAlignment:t,n=e.columnIndex,r=void 0===n?this.props.scrollToColumn:n,i=e.rowIndex,l=void 0===i?this.props.scrollToRow:i,s=X({},this.props,{scrollToAlignment:o,scrollToColumn:r,scrollToRow:l});return{scrollLeft:this._getCalculatedScrollLeft(s),scrollTop:this._getCalculatedScrollTop(s)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var t=e.scrollLeft,o=e.scrollTop,n=void 0===o?0:o;if(!(n<0)){this._debounceScrollEnded();var r=this.props,i=r.autoHeight,l=r.autoWidth,s=r.height,a=r.width,c=this.state.instanceProps,d=c.scrollbarSize,u=c.rowSizeAndPositionManager.getTotalSize(),h=c.columnSizeAndPositionManager.getTotalSize(),f=Math.min(Math.max(0,h-a+d),void 0===t?0:t),p=Math.min(Math.max(0,u-s+d),n);if(this.state.scrollLeft!==f||this.state.scrollTop!==p){var m={isScrolling:!0,scrollDirectionHorizontal:f!==this.state.scrollLeft?f>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:p!==this.state.scrollTop?p>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:Y.OBSERVED};i||(m.scrollTop=p),l||(m.scrollLeft=f),m.needToResetStyleCache=!1,this.setState(m)}this._invokeOnScrollMemoizer({scrollLeft:f,scrollTop:p,totalColumnsWidth:h,totalRowsHeight:u})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,o=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,o):o}},{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,o=e.rowCount,n=this.state.instanceProps;n.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),n.rowSizeAndPositionManager.getSizeAndPositionOfCell(o-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,r=void 0===n?0:n,i=this.props,l=i.scrollToColumn,s=i.scrollToRow,a=this.state.instanceProps;a.columnSizeAndPositionManager.resetCell(o),a.rowSizeAndPositionManager.resetCell(r),this._recomputeScrollLeftFlag=l>=0&&(1===this.state.scrollDirectionHorizontal?o<=l:o>=l),this._recomputeScrollTopFlag=s>=0&&(1===this.state.scrollDirectionVertical?r<=s:r>=s),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,o=e.rowIndex,n=this.props.columnCount,r=this.props;n>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(X({},r,{scrollToColumn:t})),void 0!==o&&this._updateScrollTopForScrollToRow(X({},r,{scrollToRow:o}))}},{key:"componentDidMount",value:function(){var e=this.props,o=e.getScrollbarSize,n=e.height,r=e.scrollLeft,i=e.scrollToColumn,l=e.scrollTop,s=e.scrollToRow,a=e.width,c=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),c.scrollbarSizeMeasured||this.setState(function(e){var t=X({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=o(),t.instanceProps.scrollbarSizeMeasured=!0,t}),"number"==typeof r&&r>=0||"number"==typeof l&&l>=0){var d=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:r,scrollTop:l});d&&(d.needToResetStyleCache=!1,this.setState(d))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var u=n>0&&a>0;i>=0&&u&&this._updateScrollLeftForScrollToColumn(),s>=0&&u&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:r||0,scrollTop:l||0,totalColumnsWidth:c.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:c.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var o=this,n=this.props,r=n.autoHeight,i=n.autoWidth,l=n.columnCount,s=n.height,a=n.rowCount,c=n.scrollToAlignment,d=n.scrollToColumn,u=n.scrollToRow,h=n.width,f=this.state,p=f.scrollLeft,m=f.scrollPositionChangeReason,g=f.scrollTop,v=f.instanceProps;this._handleInvalidatedGridSize();var _=l>0&&0===e.columnCount||a>0&&0===e.rowCount;m===Y.REQUESTED&&(!i&&p>=0&&(p!==this._scrollingContainer.scrollLeft||_)&&(this._scrollingContainer.scrollLeft=p),!r&&g>=0&&(g!==this._scrollingContainer.scrollTop||_)&&(this._scrollingContainer.scrollTop=g));var S=(0===e.width||0===e.height)&&s>0&&h>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):N({cellSizeAndPositionManager:v.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:p,scrollToAlignment:c,scrollToIndex:d,size:h,sizeJustIncreasedFromZero:S,updateScrollIndexCallback:function(){return o._updateScrollLeftForScrollToColumn(o.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):N({cellSizeAndPositionManager:v.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:g,scrollToAlignment:c,scrollToIndex:u,size:s,sizeJustIncreasedFromZero:S,updateScrollIndexCallback:function(){return o._updateScrollTopForScrollToRow(o.props)}}),this._invokeOnGridRenderedHelper(),p!==t.scrollLeft||g!==t.scrollTop){var y=v.rowSizeAndPositionManager.getTotalSize(),w=v.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:p,scrollTop:g,totalColumnsWidth:w,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&Z(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,o=e.autoHeight,n=e.autoWidth,r=e.className,i=e.containerProps,l=e.containerRole,s=e.containerStyle,a=e.height,c=e.id,d=e.noContentRenderer,u=e.role,h=e.style,f=e.tabIndex,p=e.width,m=this.state,g=m.instanceProps,v=m.needToResetStyleCache,_=this._isScrolling(),S={boxSizing:"border-box",direction:"ltr",height:o?"auto":a,position:"relative",width:n?"auto":p,WebkitOverflowScrolling:"touch",willChange:"transform"};v&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var y=g.columnSizeAndPositionManager.getTotalSize(),w=g.rowSizeAndPositionManager.getTotalSize(),C=w>a?g.scrollbarSize:0,x=y>p?g.scrollbarSize:0;(x!==this._horizontalScrollBarSize||C!==this._verticalScrollBarSize)&&(this._horizontalScrollBarSize=x,this._verticalScrollBarSize=C,this._scrollbarPresenceChanged=!0),S.overflowX=y+C<=p?"hidden":"auto",S.overflowY=w+x<=a?"hidden":"auto";var b=this._childrenToDisplay,R=0===b.length&&a>0&&p>0;return M.createElement("div",G({ref:this._setScrollingContainerRef},i,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:A("ReactVirtualized__Grid",r),id:c,onScroll:this._onScroll,role:u,style:X({},S,{},h),tabIndex:f}),b.length>0&&M.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:X({width:t?"auto":y,height:w,maxWidth:y,maxHeight:w,overflow:"hidden",pointerEvents:_?"none":"",position:"relative"},s)},b),R&&d())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,o=e.cellRenderer,n=e.cellRangeRenderer,r=e.columnCount,i=e.deferredMeasurementCache,l=e.height,s=e.overscanColumnCount,a=e.overscanIndicesGetter,c=e.overscanRowCount,d=e.rowCount,u=e.width,h=e.isScrollingOptOut,f=t.scrollDirectionHorizontal,p=t.scrollDirectionVertical,m=t.instanceProps,g=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,v=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,_=this._isScrolling(e,t);if(this._childrenToDisplay=[],l>0&&u>0){var S=m.columnSizeAndPositionManager.getVisibleCellRange({containerSize:u,offset:v}),y=m.rowSizeAndPositionManager.getVisibleCellRange({containerSize:l,offset:g}),w=m.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:u,offset:v}),C=m.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:l,offset:g});this._renderedColumnStartIndex=S.start,this._renderedColumnStopIndex=S.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var x=a({direction:"horizontal",cellCount:r,overscanCellsCount:s,scrollDirection:f,startIndex:"number"==typeof S.start?S.start:0,stopIndex:"number"==typeof S.stop?S.stop:-1}),b=a({direction:"vertical",cellCount:d,overscanCellsCount:c,scrollDirection:p,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),R=x.overscanStartIndex,T=x.overscanStopIndex,z=b.overscanStartIndex,I=b.overscanStopIndex;if(i){if(!i.hasFixedHeight()){for(var O=z;O<=I;O++)if(!i.has(O,0)){R=0,T=r-1;break}}if(!i.hasFixedWidth()){for(var M=R;M<=T;M++)if(!i.has(0,M)){z=0,I=d-1;break}}}this._childrenToDisplay=n({cellCache:this._cellCache,cellRenderer:o,columnSizeAndPositionManager:m.columnSizeAndPositionManager,columnStartIndex:R,columnStopIndex:T,deferredMeasurementCache:i,horizontalOffsetAdjustment:w,isScrolling:_,isScrollingOptOut:h,parent:this,rowSizeAndPositionManager:m.rowSizeAndPositionManager,rowStartIndex:z,rowStopIndex:I,scrollLeft:v,scrollTop:g,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:S,visibleRowIndices:y}),this._columnStartIndex=R,this._columnStopIndex=T,this._rowStartIndex=z,this._rowStopIndex=I}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&Z(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=q(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,o=e.scrollLeft,n=e.scrollTop,r=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var o=e.scrollLeft,n=e.scrollTop,l=t.props,s=l.height;(0,l.onScroll)({clientHeight:s,clientWidth:l.width,scrollHeight:i,scrollLeft:o,scrollTop:n,scrollWidth:r})},indices:{scrollLeft:o,scrollTop:n}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?!!e.isScrolling:!!t.isScrolling}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var o=e.scrollLeft,n=e.scrollTop,r=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:n});r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,o)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=t._getScrollLeftForScrollToColumnStateUpdate(e,o);n&&(n.needToResetStyleCache=!1,this.setState(n))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,o)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,t=this._cellCache,o=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var n=this._rowStartIndex;n<=this._rowStopIndex;n++)for(var r=this._columnStartIndex;r<=this._columnStopIndex;r++){var i="".concat(n,"-").concat(r);this._styleCache[i]=e[i],o&&(this._cellCache[i]=t[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=t._getScrollTopForScrollToRowStateUpdate(e,o);n&&(n.needToResetStyleCache=!1,this.setState(n))}}],[{key:"getDerivedStateFromProps",value:function(e,o){var n,r,i={};0===e.columnCount&&0!==o.scrollLeft||0===e.rowCount&&0!==o.scrollTop?(i.scrollLeft=0,i.scrollTop=0):(e.scrollLeft!==o.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==o.scrollTop&&e.scrollToRow<0)&&Object.assign(i,t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var l=o.instanceProps;return i.needToResetStyleCache=!1,(e.columnWidth!==l.prevColumnWidth||e.rowHeight!==l.prevRowHeight)&&(i.needToResetStyleCache=!0),l.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),l.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),(0===l.prevColumnCount||0===l.prevRowCount)&&(l.prevColumnCount=0,l.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===l.prevIsScrolling&&Object.assign(i,{isScrolling:!1}),D({cellCount:l.prevColumnCount,cellSize:"number"==typeof l.prevColumnWidth?l.prevColumnWidth:null,computeMetadataCallback:function(){return l.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:l.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){n=t._getScrollLeftForScrollToColumnStateUpdate(e,o)}}),D({cellCount:l.prevRowCount,cellSize:"number"==typeof l.prevRowHeight?l.prevRowHeight:null,computeMetadataCallback:function(){return l.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:l.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){r=t._getScrollTopForScrollToRowStateUpdate(e,o)}}),l.prevColumnCount=e.columnCount,l.prevColumnWidth=e.columnWidth,l.prevIsScrolling=!0===e.isScrolling,l.prevRowCount=e.rowCount,l.prevRowHeight=e.rowHeight,l.prevScrollToColumn=e.scrollToColumn,l.prevScrollToRow=e.scrollToRow,l.scrollbarSize=e.getScrollbarSize(),void 0===l.scrollbarSize?(l.scrollbarSizeMeasured=!1,l.scrollbarSize=0):l.scrollbarSizeMeasured=!0,i.instanceProps=l,X({},i,{},n,{},r)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var t=e.prevState,o=e.scrollLeft,n=e.scrollTop,r={scrollPositionChangeReason:Y.REQUESTED};return("number"==typeof o&&o>=0&&(r.scrollDirectionHorizontal=o>t.scrollLeft?1:-1,r.scrollLeft=o),"number"==typeof n&&n>=0&&(r.scrollDirectionVertical=n>t.scrollTop?1:-1,r.scrollTop=n),"number"==typeof o&&o>=0&&o!==t.scrollLeft||"number"==typeof n&&n>=0&&n!==t.scrollTop)?r:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var o=e.columnCount,n=e.height,r=e.scrollToAlignment,i=e.scrollToColumn,l=e.width,s=t.scrollLeft,a=t.instanceProps;if(o>0){var c=o-1,d=a.rowSizeAndPositionManager.getTotalSize(),u=a.scrollbarSizeMeasured&&d>n?a.scrollbarSize:0;return a.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:r,containerSize:l-u,currentOffset:s,targetIndex:i<0?c:Math.min(c,i)})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,o){var n=o.scrollLeft,r=t._getCalculatedScrollLeft(e,o);return"number"==typeof r&&r>=0&&n!==r?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:r,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var o=e.height,n=e.rowCount,r=e.scrollToAlignment,i=e.scrollToRow,l=e.width,s=t.scrollTop,a=t.instanceProps;if(n>0){var c=n-1,d=a.columnSizeAndPositionManager.getTotalSize(),u=a.scrollbarSizeMeasured&&d>l?a.scrollbarSize:0;return a.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:r,containerSize:o-u,currentOffset:s,targetIndex:i<0?c:Math.min(c,i)})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,o){var n=o.scrollTop,r=t._getCalculatedScrollTop(e,o);return"number"==typeof r&&r>=0&&n!==r?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:-1,scrollTop:r}):{}}}]),t}(M.PureComponent),f(g,"propTypes",null),v);f(Q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var t=e.cellCache,o=e.cellRenderer,n=e.columnSizeAndPositionManager,r=e.columnStartIndex,i=e.columnStopIndex,l=e.deferredMeasurementCache,s=e.horizontalOffsetAdjustment,a=e.isScrolling,c=e.isScrollingOptOut,d=e.parent,u=e.rowSizeAndPositionManager,h=e.rowStartIndex,f=e.rowStopIndex,p=e.styleCache,m=e.verticalOffsetAdjustment,g=e.visibleColumnIndices,v=e.visibleRowIndices,_=[],S=n.areOffsetsAdjusted()||u.areOffsetsAdjusted(),y=!a&&!S,w=h;w<=f;w++)for(var C=u.getSizeAndPositionOfCell(w),x=r;x<=i;x++){var b=n.getSizeAndPositionOfCell(x),R=x>=g.start&&x<=g.stop&&w>=v.start&&w<=v.stop,T="".concat(w,"-").concat(x),z=void 0;y&&p[T]?z=p[T]:l&&!l.has(w,x)?z={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(z={height:C.size,left:b.offset+s,position:"absolute",top:C.offset+m,width:b.size},p[T]=z);var I={columnIndex:x,isScrolling:a,isVisible:R,key:T,parent:d,rowIndex:w,style:z},O=void 0;(c||a)&&!s&&!m?(t[T]||(t[T]=o(I)),O=t[T]):O=o(I),null!=O&&!1!==O&&_.push(O)}return _},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:B,noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var t=e.cellCount,o=e.overscanCellsCount,n=e.scrollDirection,r=e.startIndex,i=e.stopIndex;return 1===n?{overscanStartIndex:Math.max(0,r),overscanStopIndex:Math.min(t-1,i+o)}:{overscanStartIndex:Math.max(0,r-o),overscanStopIndex:Math.min(t-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),E(Q);var J=Q;function ee(e){var t=e.cellCount,o=e.overscanCellsCount,n=e.scrollDirection,r=e.startIndex,i=e.stopIndex;return(o=Math.max(1,o),1===n)?{overscanStartIndex:Math.max(0,r-1),overscanStopIndex:Math.min(t-1,i+o)}:{overscanStartIndex:Math.max(0,r-o),overscanStopIndex:Math.min(t-1,i+1)}}function et(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}var eo=(S=_=function(e){function t(){n(this,t);for(var e,o,r=arguments.length,i=Array(r),l=0;le.target.className.indexOf("contract-trigger")&&0>e.target.className.indexOf("expand-trigger"))){var t=this;c(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=s(function(){(t.offsetWidth!=t.__resizeLast__.width||t.offsetHeight!=t.__resizeLast__.height)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach(function(o){o.call(t,e)}))})}},u=!1,h="",f="animationstart",p="Webkit Moz O ms".split(" "),m="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=n.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u){for(var v=0;v div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',n=t.head||t.getElementsByTagName("head")[0],r=t.createElement("style");r.id="detectElementResize",r.type="text/css",null!=e&&r.setAttribute("nonce",e),r.styleSheet?r.styleSheet.cssText=o:r.appendChild(t.createTextNode(o)),n.appendChild(r)}};return{addResizeListener:function(e,t){if(r)e.attachEvent("onresize",t);else{if(!e.__resizeTriggers__){var o=e.ownerDocument,i=n.getComputedStyle(e);i&&"static"==i.position&&(e.style.position="relative"),w(o),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=o.createElement("div")).className="resize-triggers";var l='
    ';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return l}});e.__resizeTriggers__.innerHTML=s.createHTML("")}else e.__resizeTriggers__.innerHTML=l;e.appendChild(e.__resizeTriggers__),c(e),e.addEventListener("scroll",d,!0),f&&(e.__resizeTriggers__.__animationListener__=function(t){t.animationName==_&&c(e)},e.__resizeTriggers__.addEventListener(f,e.__resizeTriggers__.__animationListener__))}e.__resizeListeners__.push(t)}},removeResizeListener:function(e,t){if(r)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",d,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function er(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}f(eo,"defaultProps",{disabled:!1,isControlled:!1,mode:"edges",scrollToColumn:0,scrollToRow:0}),E(eo);var ei=(w=y=function(e){function t(){n(this,t);for(var e,o,r=arguments.length,i=Array(r),l=0;l=0){var d=t.getScrollPositionForCell({align:r,cellIndex:i,height:n,scrollLeft:a,scrollTop:c,width:l});(d.scrollLeft!==a||d.scrollTop!==c)&&o._setScrollPosition(d)}}),f(a(o),"_onScroll",function(e){if(e.target===o._scrollingContainer){o._enablePointerEventsAfterDelay();var t=o.props,n=t.cellLayoutManager,r=t.height,i=t.isScrollingChange,l=t.width,s=o._scrollbarSize,a=n.getTotalSize(),c=a.height,d=a.width,u=Math.max(0,Math.min(d-l+s,e.target.scrollLeft)),h=Math.max(0,Math.min(c-r+s,e.target.scrollTop));if(o.state.scrollLeft!==u||o.state.scrollTop!==h){var f=e.cancelable?ec.OBSERVED:ec.REQUESTED;o.state.isScrolling||i(!0),o.setState({isScrolling:!0,scrollLeft:u,scrollPositionChangeReason:f,scrollTop:h})}o._invokeOnScrollMemoizer({scrollLeft:u,scrollTop:h,totalWidth:d,totalHeight:c})}}),o._scrollbarSize=B(),void 0===o._scrollbarSize?(o._scrollbarSizeMeasured=!1,o._scrollbarSize=0):o._scrollbarSizeMeasured=!0,o}return h(t,e),s(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,t=e.cellLayoutManager,o=e.scrollLeft,n=e.scrollToCell,r=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=B(),this._scrollbarSizeMeasured=!0,this.setState({})),n>=0?this._updateScrollPositionForScrollToCell():(o>=0||r>=0)&&this._setScrollPosition({scrollLeft:o,scrollTop:r}),this._invokeOnSectionRenderedHelper();var i=t.getTotalSize(),l=i.height,s=i.width;this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:r||0,totalHeight:l,totalWidth:s})}},{key:"componentDidUpdate",value:function(e,t){var o=this.props,n=o.height,r=o.scrollToAlignment,i=o.scrollToCell,l=o.width,s=this.state,a=s.scrollLeft,c=s.scrollPositionChangeReason,d=s.scrollTop;c===ec.REQUESTED&&(a>=0&&a!==t.scrollLeft&&a!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=a),d>=0&&d!==t.scrollTop&&d!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=d)),(n!==e.height||r!==e.scrollToAlignment||i!==e.scrollToCell||l!==e.width)&&this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoHeight,o=e.cellCount,n=e.cellLayoutManager,r=e.className,i=e.height,l=e.horizontalOverscanSize,s=e.id,a=e.noContentRenderer,c=e.style,d=e.verticalOverscanSize,u=e.width,h=this.state,p=h.isScrolling,m=h.scrollLeft,g=h.scrollTop;(this._lastRenderedCellCount!==o||this._lastRenderedCellLayoutManager!==n||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=o,this._lastRenderedCellLayoutManager=n,this._calculateSizeAndPositionDataOnNextUpdate=!1,n.calculateSizeAndPositionData());var v=n.getTotalSize(),_=v.height,S=v.width,y=Math.max(0,m-l),w=Math.max(0,g-d),C=Math.min(S,m+u+l),x=Math.min(_,g+i+d),b=i>0&&u>0?n.cellRenderers({height:x-w,isScrolling:p,width:C-y,x:y,y:w}):[],R={boxSizing:"border-box",direction:"ltr",height:t?"auto":i,position:"relative",WebkitOverflowScrolling:"touch",width:u,willChange:"transform"},T=_>i?this._scrollbarSize:0,z=S>u?this._scrollbarSize:0;return R.overflowX=S+T<=u?"hidden":"auto",R.overflowY=_+z<=i?"hidden":"auto",M.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:A("ReactVirtualized__Collection",r),id:s,onScroll:this._onScroll,role:"grid",style:function(e){for(var t=1;t0&&M.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:_,maxHeight:_,maxWidth:S,overflow:"hidden",pointerEvents:p?"none":"",width:S}},b),0===o&&a())}},{key:"_enablePointerEventsAfterDelay",value:function(){var e=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout(function(){(0,e.props.isScrollingChange)(!1),e._disablePointerEventsTimeoutId=null,e.setState({isScrolling:!1})},150)}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,o=e.scrollLeft,n=e.scrollTop,r=e.totalHeight,i=e.totalWidth;this._onScrollMemoizer({callback:function(e){var o=e.scrollLeft,n=e.scrollTop,l=t.props,s=l.height;(0,l.onScroll)({clientHeight:s,clientWidth:l.width,scrollHeight:r,scrollLeft:o,scrollTop:n,scrollWidth:i})},indices:{scrollLeft:o,scrollTop:n}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,o=e.scrollTop,n={scrollPositionChangeReason:ec.REQUESTED};t>=0&&(n.scrollLeft=t),o>=0&&(n.scrollTop=o),(t>=0&&t!==this.state.scrollLeft||o>=0&&o!==this.state.scrollTop)&&this.setState(n)}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 0===e.cellCount&&(0!==t.scrollLeft||0!==t.scrollTop)?{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:ec.REQUESTED}:e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop?e.scrollTop:t.scrollTop,scrollPositionChangeReason:ec.REQUESTED}:null}}]),t}(M.PureComponent);f(ed,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0}),ed.propTypes={},E(ed);var eu=function(){function e(t){var o=t.height,r=t.width,i=t.x,l=t.y;n(this,e),this.height=o,this.width=r,this.x=i,this.y=l,this._indexMap={},this._indices=[]}return s(e,[{key:"addCellIndex",value:function(e){var t=e.index;this._indexMap[t]||(this._indexMap[t]=!0,this._indices.push(t))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),e}(),eh=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;n(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return s(e,[{key:"getCellIndices",value:function(e){var t=e.height,o=e.width,n=e.x,r=e.y,i={};return this.getSections({height:t,width:o,x:n,y:r}).forEach(function(e){return e.getCellIndices().forEach(function(e){i[e]=e})}),Object.keys(i).map(function(e){return i[e]})}},{key:"getCellMetadata",value:function(e){var t=e.index;return this._cellMetadata[t]}},{key:"getSections",value:function(e){for(var t=e.height,o=e.width,n=e.x,r=e.y,i=Math.floor(n/this._sectionSize),l=Math.floor((n+o-1)/this._sectionSize),s=Math.floor(r/this._sectionSize),a=Math.floor((r+t-1)/this._sectionSize),c=[],d=i;d<=l;d++)for(var u=s;u<=a;u++){var h="".concat(d,".").concat(u);this._sections[h]||(this._sections[h]=new eu({height:this._sectionSize,width:this._sectionSize,x:d*this._sectionSize,y:u*this._sectionSize})),c.push(this._sections[h])}return c}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var e=this;return Object.keys(this._sections).map(function(t){return e._sections[t].toString()})}},{key:"registerCell",value:function(e){var t=e.cellMetadatum,o=e.index;this._cellMetadata[o]=t,this.getSections(t).forEach(function(e){return e.addCellIndex({index:o})})}}]),e}();function ef(e){var t=e.align,o=e.cellOffset,n=e.cellSize,r=e.containerSize,i=e.currentOffset,l=o-r+n;switch(void 0===t?"auto":t){case"start":return o;case"end":return l;case"center":return o-(r-n)/2;default:return Math.max(l,Math.min(o,i))}}var ep=function(e){function t(e,o){var r;return n(this,t),(r=c(this,d(t).call(this,e,o)))._cellMetadata=[],r._lastRenderedCellIndices=[],r._cellCache=[],r._isScrollingChange=r._isScrollingChange.bind(a(r)),r._setCollectionViewRef=r._setCollectionViewRef.bind(a(r)),r}return h(t,e),s(t,[{key:"forceUpdate",value:function(){void 0!==this._collectionView&&this._collectionView.forceUpdate()}},{key:"recomputeCellSizesAndPositions",value:function(){this._cellCache=[],this._collectionView.recomputeCellSizesAndPositions()}},{key:"render",value:function(){var e=G({},this.props);return M.createElement(ed,G({cellLayoutManager:this,isScrollingChange:this._isScrollingChange,ref:this._setCollectionViewRef},e))}},{key:"calculateSizeAndPositionData",value:function(){var e=this.props,t=function(e){for(var t=e.cellCount,o=e.cellSizeAndPositionGetter,n=e.sectionSize,r=[],i=new eh(n),l=0,s=0,a=0;a=0&&oe.length)&&(t=e.length);for(var o=0,n=Array(t);or||l1&&void 0!==arguments[1]?arguments[1]:0,o="function"==typeof e.recomputeGridSize?e.recomputeGridSize:e.recomputeRowHeights;o?o.call(e,t):e.forceUpdate()}(t._registeredChild,t._lastRenderedStartIndex)})})}},{key:"_onRowsRendered",value:function(e){var t=e.startIndex,o=e.stopIndex;this._lastRenderedStartIndex=t,this._lastRenderedStopIndex=o,this._doStuff(t,o)}},{key:"_doStuff",value:function(e,t){var o,n,r=this,i=this.props,l=i.isRowLoaded,s=i.minimumBatchSize,a=i.rowCount,c=i.threshold,d=function(e){for(var t=e.isRowLoaded,o=e.minimumBatchSize,n=e.rowCount,r=e.startIndex,i=e.stopIndex,l=[],s=null,a=null,c=r;c<=i;c++)t({index:c})?null!==a&&(l.push({startIndex:s,stopIndex:a}),s=a=null):(a=c,null===s&&(s=c));if(null!==a){for(var d=Math.min(Math.max(a,s+o-1),n-1),u=a+1;u<=d&&!t({index:u});u++)a=u;l.push({startIndex:s,stopIndex:a})}if(l.length)for(var h=l[0];h.stopIndex-h.startIndex+10;){var f=h.startIndex-1;if(t({index:f}))break;h.startIndex=f}return l}({isRowLoaded:l,minimumBatchSize:s,rowCount:a,startIndex:Math.max(0,e-c),stopIndex:Math.min(a-1,t+c)}),u=(n=[]).concat.apply(n,function(e){if(Array.isArray(e))return em(e)}(o=d.map(function(e){return[e.startIndex,e.stopIndex]}))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||eg(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());this._loadMoreRowsMemoizer({callback:function(){r._loadUnloadedRanges(d)},indices:{squashedUnloadedRanges:u}})}},{key:"_registerChild",value:function(e){this._registeredChild=e}}]),t}(M.PureComponent);f(ev,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),ev.propTypes={};var e_=(R=b=function(e){function t(){n(this,t);for(var e,o,r=arguments.length,i=Array(r),l=0;l0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=e.rowIndex;this.Grid&&this.Grid.recomputeGridSize({rowIndex:void 0===o?0:o,columnIndex:void 0===t?0:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,o=e.noRowsRenderer,n=e.scrollToIndex,r=e.width,i=A("ReactVirtualized__List",t);return M.createElement(J,G({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:i,columnWidth:r,columnCount:1,noContentRenderer:o,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:n}))}}]),t}(M.PureComponent),f(b,"propTypes",null),R);f(e_,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:ee,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});var eS={ge:function(e,t,o,n,r){return"function"==typeof o?function(e,t,o,n,r){for(var i=o+1;t<=o;){var l=t+o>>>1;r(e[l],n)>=0?(i=l,o=l-1):t=l+1}return i}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t,o):function(e,t,o,n){for(var r=o+1;t<=o;){var i=t+o>>>1;e[i]>=n?(r=i,o=i-1):t=i+1}return r}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)},gt:function(e,t,o,n,r){return"function"==typeof o?function(e,t,o,n,r){for(var i=o+1;t<=o;){var l=t+o>>>1;r(e[l],n)>0?(i=l,o=l-1):t=l+1}return i}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t,o):function(e,t,o,n){for(var r=o+1;t<=o;){var i=t+o>>>1;e[i]>n?(r=i,o=i-1):t=i+1}return r}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)},lt:function(e,t,o,n,r){return"function"==typeof o?function(e,t,o,n,r){for(var i=t-1;t<=o;){var l=t+o>>>1;0>r(e[l],n)?(i=l,t=l+1):o=l-1}return i}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t,o):function(e,t,o,n){for(var r=t-1;t<=o;){var i=t+o>>>1;e[i]>>1;0>=r(e[l],n)?(i=l,t=l+1):o=l-1}return i}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t,o):function(e,t,o,n){for(var r=t-1;t<=o;){var i=t+o>>>1;e[i]<=n?(r=i,t=i+1):o=i-1}return r}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)},eq:function(e,t,o,n,r){return"function"==typeof o?function(e,t,o,n,r){for(;t<=o;){var i=t+o>>>1,l=r(e[i],n);if(0===l)return i;l<=0?t=i+1:o=i-1}return -1}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t,o):function(e,t,o,n){for(;t<=o;){var r=t+o>>>1,i=e[r];if(i===n)return r;i<=n?t=r+1:o=r-1}return -1}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)}};function ey(e,t,o,n,r){this.mid=e,this.left=t,this.right=o,this.leftPoints=n,this.rightPoints=r,this.count=(t?t.count:0)+(o?o.count:0)+n.length}var ew=ey.prototype;function eC(e,t){e.mid=t.mid,e.left=t.left,e.right=t.right,e.leftPoints=t.leftPoints,e.rightPoints=t.rightPoints,e.count=t.count}function ex(e,t){var o=ek(t);e.mid=o.mid,e.left=o.left,e.right=o.right,e.leftPoints=o.leftPoints,e.rightPoints=o.rightPoints,e.count=o.count}function eb(e,t){var o=e.intervals([]);o.push(t),ex(e,o)}function eR(e,t){var o=e.intervals([]),n=o.indexOf(t);return n<0?0:(o.splice(n,1),ex(e,o),1)}function eT(e,t,o){for(var n=0;n=0&&e[n][1]>=t;--n){var r=o(e[n]);if(r)return r}}function eI(e,t){for(var o=0;o>1],r=[],i=[],l=[],o=0;o3*(t+1)?eb(this,e):this.left.insert(e):this.left=ek([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?eb(this,e):this.right.insert(e):this.right=ek([e]);else{var o=eS.ge(this.leftPoints,e,eM),n=eS.ge(this.rightPoints,e,eP);this.leftPoints.splice(o,0,e),this.rightPoints.splice(n,0,e)}},ew.remove=function(e){var t=this.count-this.leftPoints;if(e[1]3*(t-1))return eR(this,e);var o=this.left.remove(e);return 2===o?(this.left=null,this.count-=1,1):(1===o&&(this.count-=1),o)}if(e[0]>this.mid){if(!this.right)return 0;if(4*(this.left?this.left.count:0)>3*(t-1))return eR(this,e);var o=this.right.remove(e);return 2===o?(this.right=null,this.count-=1,1):(1===o&&(this.count-=1),o)}if(1===this.count)return this.leftPoints[0]===e?2:0;if(1===this.leftPoints.length&&this.leftPoints[0]===e){if(this.left&&this.right){for(var n=this,r=this.left;r.right;)n=r,r=r.right;if(n===this)r.right=this.right;else{var i=this.left,o=this.right;n.count-=r.count,n.right=r.left,r.left=i,r.right=o}eC(this,r),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?eC(this,this.left):eC(this,this.right);return 1}for(var i=eS.ge(this.leftPoints,e,eM);ithis.mid))return eI(this.leftPoints,t);if(this.right){var o=this.right.queryPoint(e,t);if(o)return o}return ez(this.rightPoints,e,t)},ew.queryInterval=function(e,t,o){if(ethis.mid&&this.right){var n=this.right.queryInterval(e,t,o);if(n)return n}return tthis.mid?ez(this.rightPoints,e,o):eI(this.leftPoints,o)};var eE=eL.prototype;eE.insert=function(e){this.root?this.root.insert(e):this.root=new ey(e[0],null,null,[e],[e])},eE.remove=function(e){if(this.root){var t=this.root.remove(e);return 2===t&&(this.root=null),0!==t}return!1},eE.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},eE.queryInterval=function(e,t,o){if(e<=t&&this.root)return this.root.queryInterval(e,t,o)},Object.defineProperty(eE,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(eE,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var eG=function(){function e(){var t;n(this,e),f(this,"_columnSizeMap",{}),f(this,"_intervalTree",new eL(t&&0!==t.length?ek(t):null)),f(this,"_leftMap",{})}return s(e,[{key:"estimateTotalHeight",value:function(e,t,o){var n=e-this.count;return this.tallestColumnSize+Math.ceil(n/t)*o}},{key:"range",value:function(e,t,o){var n=this;this._intervalTree.queryInterval(e,e+t,function(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,i,l,s=[],a=!0,c=!1;try{if(i=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;a=!1}else for(;!(a=(n=i.call(o)).done)&&(s.push(n.value),s.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{if(!a&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(c)throw r}}return s}}(e,3)||eg(e,3)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],i=(t[1],t[2]);return o(i,n._leftMap[i],r)})}},{key:"setPosition",value:function(e,t,o,n){this._intervalTree.insert([o,o+n,e]),this._leftMap[e]=t;var r=this._columnSizeMap,i=r[t];void 0===i?r[t]=o+n:r[t]=Math.max(i,o+n)}},{key:"count",get:function(){return this._intervalTree.count}},{key:"shortestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var o in e){var n=e[o];t=0===t?n:Math.min(t,n)}return t}},{key:"tallestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var o in e)t=Math.max(t,e[o]);return t}}]),e}();function eA(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}var eD=(z=T=function(e){function t(){n(this,t);for(var e,o,r=arguments.length,i=Array(r),l=0;l0&&void 0!==arguments[0]?arguments[0]:{};n(this,e),f(this,"_cellMeasurerCache",void 0),f(this,"_columnIndexOffset",void 0),f(this,"_rowIndexOffset",void 0),f(this,"columnWidth",function(e){var o=e.index;t._cellMeasurerCache.columnWidth({index:o+t._columnIndexOffset})}),f(this,"rowHeight",function(e){var o=e.index;t._cellMeasurerCache.rowHeight({index:o+t._rowIndexOffset})});var r=o.cellMeasurerCache,i=o.columnIndexOffset,l=o.rowIndexOffset;this._cellMeasurerCache=r,this._columnIndexOffset=void 0===i?0:i,this._rowIndexOffset=void 0===l?0:l}return s(e,[{key:"clear",value:function(e,t){this._cellMeasurerCache.clear(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getHeight(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getWidth(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.has(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"set",value:function(e,t,o,n){this._cellMeasurerCache.set(e+this._rowIndexOffset,t+this._columnIndexOffset,o,n)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),e}();function ej(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function eF(e){for(var t=1;t0?new eH({cellMeasurerCache:i,columnIndexOffset:0,rowIndexOffset:s}):i,r._deferredMeasurementCacheBottomRightGrid=l>0||s>0?new eH({cellMeasurerCache:i,columnIndexOffset:l,rowIndexOffset:s}):i,r._deferredMeasurementCacheTopRightGrid=l>0?new eH({cellMeasurerCache:i,columnIndexOffset:l,rowIndexOffset:0}):i),r}return h(t,e),s(t,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,r=void 0===n?0:n;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,o):o,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,r):r}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,n=e.rowIndex,r=void 0===n?0:n,i=this.props,l=i.fixedColumnCount,s=i.fixedRowCount,a=Math.max(0,o-l),c=Math.max(0,r-s);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:o,rowIndex:c}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:a,rowIndex:c}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:o,rowIndex:r}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:a,rowIndex:r}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.scrollLeft,o=e.scrollTop;if(t>0||o>0){var n={};t>0&&(n.scrollLeft=t),o>0&&(n.scrollTop=o),this.setState(n)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var e=this.props,t=e.onScroll,o=e.onSectionRendered,n=(e.onScrollbarPresenceChange,e.scrollLeft,e.scrollToColumn),r=(e.scrollTop,e.scrollToRow),i=W(e,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),0===this.props.width||0===this.props.height)return null;var l=this.state,s=l.scrollLeft,a=l.scrollTop;return M.createElement("div",{style:this._containerOuterStyle},M.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(i),this._renderTopRightGrid(eF({},i,{onScroll:t,scrollLeft:s}))),M.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(eF({},i,{onScroll:t,scrollTop:a})),this._renderBottomRightGrid(eF({},i,{onScroll:t,onSectionRendered:o,scrollLeft:s,scrollToColumn:n,scrollToRow:r,scrollTop:a}))))}},{key:"_getBottomGridHeight",value:function(e){return e.height-this._getTopGridHeight(e)}},{key:"_getLeftGridWidth",value:function(e){var t=e.fixedColumnCount,o=e.columnWidth;if(null==this._leftGridWidth){if("function"==typeof o){for(var n=0,r=0;r=0?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}]),t}(M.PureComponent);function eU(e){var t=e.className,o=e.columns,n=e.style;return M.createElement("div",{className:t,role:"row",style:n},o)}f(eN,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1}),eN.propTypes={},E(eN),function(e){function t(e,o){var r;return n(this,t),(r=c(this,d(t).call(this,e,o))).state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},r._onScroll=r._onScroll.bind(a(r)),r}return h(t,e),s(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,o=t.clientHeight,n=t.clientWidth,r=t.scrollHeight,i=t.scrollLeft,l=t.scrollTop,s=t.scrollWidth;return e({clientHeight:o,clientWidth:n,onScroll:this._onScroll,scrollHeight:r,scrollLeft:i,scrollTop:l,scrollWidth:s})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,o=e.clientWidth,n=e.scrollHeight,r=e.scrollLeft,i=e.scrollTop,l=e.scrollWidth;this.setState({clientHeight:t,clientWidth:o,scrollHeight:n,scrollLeft:r,scrollTop:i,scrollWidth:l})}}]),t}(M.PureComponent).propTypes={},eU.propTypes=null;var eB={ASC:"ASC",DESC:"DESC"};function e$(e){var t=e.sortDirection,o=A("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===eB.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===eB.DESC});return M.createElement("svg",{className:o,width:18,height:18,viewBox:"0 0 24 24"},t===eB.ASC?M.createElement("path",{d:"M7 14l5-5 5 5z"}):M.createElement("path",{d:"M7 10l5 5 5-5z"}),M.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function eV(e){var t=e.dataKey,o=e.label,n=e.sortBy,r=e.sortDirection,i=[M.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"==typeof o?o:null},o)];return n===t&&i.push(M.createElement(e$,{key:"SortIndicator",sortDirection:r})),i}function eZ(e){var t=e.className,o=e.columns,n=e.index,r=e.key,i=e.onRowClick,l=e.onRowDoubleClick,s=e.onRowMouseOut,a=e.onRowMouseOver,c=e.onRowRightClick,d=e.rowData,u=e.style,h={"aria-rowindex":n+1};return(i||l||s||a||c)&&(h["aria-label"]="row",h.tabIndex=0,i&&(h.onClick=function(e){return i({event:e,index:n,rowData:d})}),l&&(h.onDoubleClick=function(e){return l({event:e,index:n,rowData:d})}),s&&(h.onMouseOut=function(e){return s({event:e,index:n,rowData:d})}),a&&(h.onMouseOver=function(e){return a({event:e,index:n,rowData:d})}),c&&(h.onContextMenu=function(e){return c({event:e,index:n,rowData:d})})),M.createElement("div",G({},h,{className:t,key:r,role:"row",style:u}),o)}e$.propTypes={},eV.propTypes=null,eZ.propTypes=null;var eq=function(e){function t(){return n(this,t),c(this,d(t).apply(this,arguments))}return h(t,e),t}(M.Component);function eK(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function eX(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=e.rowIndex;this.Grid&&this.Grid.recomputeGridSize({rowIndex:void 0===o?0:o,columnIndex:void 0===t?0:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var e=(0,el.findDOMNode)(this.Grid),t=e.clientWidth||0;return(e.offsetWidth||0)-t}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,t=this.props,o=t.children,n=t.className,r=t.disableHeader,i=t.gridClassName,l=t.gridStyle,s=t.headerHeight,a=t.headerRowRenderer,c=t.height,d=t.id,u=t.noRowsRenderer,h=t.rowClassName,f=t.rowStyle,p=t.scrollToIndex,m=t.style,g=t.width,v=this.state.scrollbarWidth,_=r?c:c-s,S="function"==typeof h?h({index:-1}):h,y="function"==typeof f?f({index:-1}):f;return this._cachedColumnStyles=[],M.Children.toArray(o).forEach(function(t,o){var n=e._getFlexStyleForColumn(t,t.props.style);e._cachedColumnStyles[o]=eX({overflow:"hidden"},n)}),M.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":M.Children.toArray(o).length,"aria-rowcount":this.props.rowCount,className:A("ReactVirtualized__Table",n),id:d,role:"grid",style:m},!r&&a({className:A("ReactVirtualized__Table__headerRow",S),columns:this._getHeaderColumns(),style:eX({height:s,overflow:"hidden",paddingRight:v,width:g},y)}),M.createElement(J,G({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:A("ReactVirtualized__Table__Grid",i),cellRenderer:this._createRow,columnWidth:g,columnCount:1,height:_,id:void 0,noContentRenderer:u,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:v,scrollToRow:p,style:eX({},l,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,o=e.columnIndex,n=e.isScrolling,r=e.parent,i=e.rowData,l=e.rowIndex,s=this.props.onColumnClick,a=t.props,c=a.cellDataGetter,d=a.cellRenderer,u=a.className,h=a.columnData,f=a.dataKey,p=a.id,m=d({cellData:c({columnData:h,dataKey:f,rowData:i}),columnData:h,columnIndex:o,dataKey:f,isScrolling:n,parent:r,rowData:i,rowIndex:l}),g=this._cachedColumnStyles[o],v="string"==typeof m?m:null;return M.createElement("div",{"aria-colindex":o+1,"aria-describedby":p,className:A("ReactVirtualized__Table__rowColumn",u),key:"Row"+l+"-Col"+o,onClick:function(e){s&&s({columnData:h,dataKey:f,event:e})},role:"gridcell",style:g,title:v},m)}},{key:"_createHeader",value:function(e){var t,o,n,r,i,l=e.column,s=e.index,a=this.props,c=a.headerClassName,d=a.headerStyle,u=a.onHeaderClick,h=a.sort,f=a.sortBy,p=a.sortDirection,m=l.props,g=m.columnData,v=m.dataKey,_=m.defaultSortDirection,S=m.disableSort,y=m.headerRenderer,w=m.id,C=m.label,x=!S&&h,b=A("ReactVirtualized__Table__headerColumn",c,l.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:x}),R=this._getFlexStyleForColumn(l,eX({},d,{},l.props.headerStyle)),T=y({columnData:g,dataKey:v,disableSort:S,label:C,sortBy:f,sortDirection:p});if(x||u){var z=f!==v?_:p===eB.DESC?eB.ASC:eB.DESC,I=function(e){x&&h({defaultSortDirection:_,event:e,sortBy:v,sortDirection:z}),u&&u({columnData:g,dataKey:v,event:e})};i=l.props["aria-label"]||C||v,r="none",n=0,t=I,o=function(e){("Enter"===e.key||" "===e.key)&&I(e)}}return f===v&&(r=p===eB.ASC?"ascending":"descending"),M.createElement("div",{"aria-label":i,"aria-sort":r,className:b,id:w,key:"Header-Col"+s,onClick:t,onKeyDown:o,role:"columnheader",style:R,tabIndex:n},T)}},{key:"_createRow",value:function(e){var t=this,o=e.rowIndex,n=e.isScrolling,r=e.key,i=e.parent,l=e.style,s=this.props,a=s.children,c=s.onRowClick,d=s.onRowDoubleClick,u=s.onRowRightClick,h=s.onRowMouseOver,f=s.onRowMouseOut,p=s.rowClassName,m=s.rowGetter,g=s.rowRenderer,v=s.rowStyle,_=this.state.scrollbarWidth,S="function"==typeof p?p({index:o}):p,y="function"==typeof v?v({index:o}):v,w=m({index:o}),C=M.Children.toArray(a).map(function(e,r){return t._createColumn({column:e,columnIndex:r,isScrolling:n,parent:i,rowData:w,rowIndex:o,scrollbarWidth:_})}),x=A("ReactVirtualized__Table__row",S),b=eX({},l,{height:this._getRowHeight(o),overflow:"hidden",paddingRight:_},y);return g({className:x,columns:C,index:o,isScrolling:n,key:r,onRowClick:c,onRowDoubleClick:d,onRowRightClick:u,onRowMouseOver:h,onRowMouseOut:f,rowData:w,style:b})}},{key:"_getFlexStyleForColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o="".concat(e.props.flexGrow," ").concat(e.props.flexShrink," ").concat(e.props.width,"px"),n=eX({},t,{flex:o,msFlex:o,WebkitFlex:o});return e.props.maxWidth&&(n.maxWidth=e.props.maxWidth),e.props.minWidth&&(n.minWidth=e.props.minWidth),n}},{key:"_getHeaderColumns",value:function(){var e=this,t=this.props,o=t.children;return(t.disableHeader?[]:M.Children.toArray(o)).map(function(t,o){return e._createHeader({column:t,index:o})})}},{key:"_getRowHeight",value:function(e){var t=this.props.rowHeight;return"function"==typeof t?t({index:e}):t}},{key:"_onScroll",value:function(e){var t=e.clientHeight,o=e.scrollHeight,n=e.scrollTop;(0,this.props.onScroll)({clientHeight:t,scrollHeight:o,scrollTop:n})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,o=e.rowOverscanStopIndex,n=e.rowStartIndex,r=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:o,startIndex:n,stopIndex:r})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),t}(M.PureComponent);f(eY,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:ee,overscanRowCount:10,rowRenderer:eZ,headerRowRenderer:eU,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),eY.propTypes={};var eQ=[],eJ=null,e0=null;function e1(){e0&&(e0=null,document.body&&null!=eJ&&(document.body.style.pointerEvents=eJ),eJ=null)}function e3(){e1(),eQ.forEach(function(e){return e.__resetIsScrolling()})}function e2(e){var t;e.currentTarget===window&&null==eJ&&document.body&&(eJ=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),e0&&Z(e0),t=0,eQ.forEach(function(e){t=Math.max(t,e.props.scrollingResetTimeInterval)}),e0=q(e3,t),eQ.forEach(function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()})}function e4(e,t){eQ.some(function(e){return e.props.scrollElement===t})||t.addEventListener("scroll",e2),eQ.push(e)}function e6(e,t){!(eQ=eQ.filter(function(t){return t!==e})).length&&(t.removeEventListener("scroll",e2),e0&&(Z(e0),e1()))}var e9=function(e){return e===window},e5=function(e){return e.getBoundingClientRect()};function e8(e,t){if(!e)return{height:t.serverHeight,width:t.serverWidth};if(!e9(e))return e5(e);var o=window,n=o.innerHeight,r=o.innerWidth;return{height:"number"==typeof n?n:0,width:"number"==typeof r?r:0}}function e7(e){return e9(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}function te(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}var tt=function(){return"undefined"!=typeof window?window:void 0},to=(O=I=function(e){function t(){n(this,t);for(var e,o,r=arguments.length,i=Array(r),l=0;l0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,o=this.state,n=o.height,r=o.width,i=this._child||el.findDOMNode(this);if(i instanceof Element&&e){var l=function(e,t){if(e9(t)&&document.documentElement){var o=document.documentElement,n=e5(e),r=e5(o);return{top:n.top-r.top,left:n.left-r.left}}var i=e7(t),l=e5(e),s=e5(t);return{top:l.top+i.top-s.top,left:l.left+i.left-s.left}}(i,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var s=e8(e,this.props);(n!==s.height||r!==s.width)&&(this.setState({height:s.height,width:s.width}),t({height:s.height,width:s.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=en(),this.updatePosition(e),e&&(e4(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,t){var o=this.props.scrollElement,n=e.scrollElement;n!==o&&null!=n&&null!=o&&(this.updatePosition(o),e6(this,n),e4(this,o),this._unregisterResizeListener(n),this._registerResizeListener(o))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(e6(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,t=this.state,o=t.isScrolling,n=t.scrollTop,r=t.scrollLeft,i=t.height,l=t.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:o,scrollLeft:r,scrollTop:n,width:l})}}]),t}(M.PureComponent),f(I,"propTypes",null),O);f(to,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:tt(),serverHeight:0,serverWidth:0})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/950-88c84d615a45ac96.js b/dbgpt/app/static/web/_next/static/chunks/950-88c84d615a45ac96.js new file mode 100644 index 000000000..32c6e3c7a --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/950-88c84d615a45ac96.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[950,6047,1437,5005,1390,5654],{91321:function(e,r,t){t.d(r,{Z:function(){return u}});var o=t(87462),n=t(45987),c=t(67294),l=t(16165),a=["type","children"],i=new Set;function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[r];if("string"==typeof t&&t.length&&!i.has(t)){var o=document.createElement("script");o.setAttribute("src",t),o.setAttribute("data-namespace",t),e.length>r+1&&(o.onload=function(){s(e,r+1)},o.onerror=function(){s(e,r+1)}),i.add(t),document.body.appendChild(o)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scriptUrl,t=e.extraCommonProps,i=void 0===t?{}:t;r&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(r)?s(r.reverse()):s([r]));var u=c.forwardRef(function(e,r){var t=e.type,s=e.children,u=(0,n.Z)(e,a),d=null;return e.type&&(d=c.createElement("use",{xlinkHref:"#".concat(t)})),s&&(d=s),c.createElement(l.Z,(0,o.Z)({},i,u,{ref:r}),d)});return u.displayName="Iconfont",u}},52645:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},58638:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},83266:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},30159:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},87740:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},27496:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},94668:function(e,r,t){t.d(r,{Z:function(){return a}});var o=t(87462),n=t(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=t(13401),a=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,o.Z)({},e,{ref:r,icon:c}))})},66309:function(e,r,t){t.d(r,{Z:function(){return z}});var o=t(67294),n=t(93967),c=t.n(n),l=t(98423),a=t(98787),i=t(69760),s=t(96159),u=t(45353),d=t(53124),f=t(25446),g=t(10274),h=t(14747),p=t(83262),v=t(83559);let m=e=>{let{paddingXXS:r,lineWidth:t,tagPaddingHorizontal:o,componentCls:n,calc:c}=e,l=c(o).sub(t).equal(),a=c(r).sub(t).equal();return{[n]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${n}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${n}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${n}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${n}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${n}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:r,fontSizeIcon:t,calc:o}=e,n=e.fontSizeSM,c=(0,p.IX)(e,{tagFontSize:n,tagLineHeight:(0,f.bf)(o(e.lineHeightSM).mul(n).equal()),tagIconSize:o(t).sub(o(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return c},C=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,v.I$)("Tag",e=>{let r=b(e);return m(r)},C),k=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let w=o.forwardRef((e,r)=>{let{prefixCls:t,style:n,className:l,checked:a,onChange:i,onClick:s}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:g}=o.useContext(d.E_),h=f("tag",t),[p,v,m]=y(h),b=c()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:a},null==g?void 0:g.className,l,v,m);return p(o.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},n),null==g?void 0:g.style),className:b,onClick:e=>{null==i||i(!a),null==s||s(e)}})))});var $=t(98719);let x=e=>(0,$.Z)(e,(r,t)=>{let{textColor:o,lightBorderColor:n,lightColor:c,darkColor:l}=t;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:o,background:c,borderColor:n,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Z=(0,v.bk)(["Tag","preset"],e=>{let r=b(e);return x(r)},C);let E=(e,r,t)=>{let o=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(t);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${t}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var H=(0,v.bk)(["Tag","status"],e=>{let r=b(e);return[E(r,"success","Success"),E(r,"processing","Info"),E(r,"error","Error"),E(r,"warning","Warning")]},C),O=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};let S=o.forwardRef((e,r)=>{let{prefixCls:t,className:n,rootClassName:f,style:g,children:h,icon:p,color:v,onClose:m,bordered:b=!0,visible:C}=e,k=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:$,tag:x}=o.useContext(d.E_),[E,S]=o.useState(!0),z=(0,l.Z)(k,["closeIcon","closable"]);o.useEffect(()=>{void 0!==C&&S(C)},[C]);let B=(0,a.o2)(v),M=(0,a.yT)(v),j=B||M,V=Object.assign(Object.assign({backgroundColor:v&&!j?v:void 0},null==x?void 0:x.style),g),P=w("tag",t),[I,N,R]=y(P),T=c()(P,null==x?void 0:x.className,{[`${P}-${v}`]:j,[`${P}-has-color`]:v&&!j,[`${P}-hidden`]:!E,[`${P}-rtl`]:"rtl"===$,[`${P}-borderless`]:!b},n,f,N,R),L=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||S(!1)},[,A]=(0,i.Z)((0,i.w)(e),(0,i.w)(x),{closable:!1,closeIconRender:e=>{let r=o.createElement("span",{className:`${P}-close-icon`,onClick:L},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,r),L(r)},className:c()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),_="function"==typeof k.onClick||h&&"a"===h.type,q=p||null,F=q?o.createElement(o.Fragment,null,q,h&&o.createElement("span",null,h)):h,D=o.createElement("span",Object.assign({},z,{ref:r,className:T,style:V}),F,A,B&&o.createElement(Z,{key:"preset",prefixCls:P}),M&&o.createElement(H,{key:"status",prefixCls:P}));return I(_?o.createElement(u.Z,{component:"Tag"},D):D)});S.CheckableTag=w;var z=S}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9537.45432a306d2ab20f.js b/dbgpt/app/static/web/_next/static/chunks/9537.1c73a2b7e71c395b.js similarity index 97% rename from dbgpt/app/static/web/_next/static/chunks/9537.45432a306d2ab20f.js rename to dbgpt/app/static/web/_next/static/chunks/9537.1c73a2b7e71c395b.js index b954d8cbf..e6a518b27 100644 --- a/dbgpt/app/static/web/_next/static/chunks/9537.45432a306d2ab20f.js +++ b/dbgpt/app/static/web/_next/static/chunks/9537.1c73a2b7e71c395b.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9537],{79537:function(e,n,o){o.r(n),o.d(n,{conf:function(){return t},language:function(){return s}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var t={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},s={defaultToken:"",tokenPostfix:".objective-c",keywords:["#import","#include","#define","#else","#endif","#if","#ifdef","#ifndef","#ident","#undef","@class","@defs","@dynamic","@encode","@end","@implementation","@interface","@package","@private","@protected","@property","@protocol","@public","@selector","@synthesize","__declspec","assign","auto","BOOL","break","bycopy","byref","case","char","Class","const","copy","continue","default","do","double","else","enum","extern","FALSE","false","float","for","goto","if","in","int","id","inout","IMP","long","nil","nonatomic","NULL","oneway","out","private","public","protected","readwrite","readonly","register","return","SEL","self","short","signed","sizeof","static","struct","super","switch","typedef","TRUE","true","union","unsigned","volatile","void","while"],decpart:/\d(_?\d)*/,decimal:/0|@decpart/,tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()<>]/,"@brackets"],[/[a-zA-Z@#]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[<>=\\+\\-\\*\\/\\^\\|\\~,]|and\\b|or\\b|not\\b]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[[/0[xX][0-9a-fA-F]*(_?[0-9a-fA-F])*/,"number.hex"],[/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)[fF]*/,{cases:{"(\\d)*":"number",$0:"number.float"}}]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/960de000.bca6dcff626838a0.js b/dbgpt/app/static/web/_next/static/chunks/960de000.bca6dcff626838a0.js deleted file mode 100644 index a69bc5150..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/960de000.bca6dcff626838a0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1599],{64141:function(e,t,o){o.d(t,{$J:function(){return O},$r:function(){return s},Av:function(){return A},BH:function(){return j},Bb:function(){return g},Bc:function(){return R},Bo:function(){return H},LJ:function(){return m},L_:function(){return D},NY:function(){return W},O7:function(){return S},Zc:function(){return N},d2:function(){return r},gk:function(){return F},hL:function(){return B},n0:function(){return M},qt:function(){return P},rk:function(){return w},y0:function(){return p}});var i,n,r,s,a=o(9488),l=o(36248),d=o(1432),u=o(22075),c=o(270),h=o(63580);let p=8;class g{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class m{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class f{constructor(e,t,o,i){this.id=e,this.name=t,this.defaultValue=o,this.schema=i}applyUpdate(e,t){return C(e,t)}compute(e,t,o){return o}}class w{constructor(e,t){this.newValue=e,this.didChange=t}}function C(e,t){if("object"!=typeof e||"object"!=typeof t||!e||!t)return new w(t,e!==t);if(Array.isArray(e)||Array.isArray(t)){let o=Array.isArray(e)&&Array.isArray(t)&&a.fS(e,t);return new w(t,!o)}let o=!1;for(let i in t)if(t.hasOwnProperty(i)){let n=C(e[i],t[i]);n.didChange&&(e[i]=n.newValue,o=!0)}return new w(e,o)}class b{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return C(e,t)}validate(e){return this.defaultValue}}class y{constructor(e,t,o,i){this.id=e,this.name=t,this.defaultValue=o,this.schema=i}applyUpdate(e,t){return C(e,t)}validate(e){return void 0===e?this.defaultValue:e}compute(e,t,o){return o}}function S(e,t){return void 0===e?t:"false"!==e&&!!e}class v extends y{constructor(e,t,o,i){void 0!==i&&(i.type="boolean",i.default=o),super(e,t,o,i)}validate(e){return S(e,this.defaultValue)}}function N(e,t,o,i){if(void 0===e)return t;let n=parseInt(e,10);return isNaN(n)?t:(n=Math.max(o,n),0|(n=Math.min(i,n)))}class k extends y{static clampedInt(e,t,o,i){return N(e,t,o,i)}constructor(e,t,o,i,n,r){void 0!==r&&(r.type="integer",r.default=o,r.minimum=i,r.maximum=n),super(e,t,o,r),this.minimum=i,this.maximum=n}validate(e){return k.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function D(e,t,o,i){if(void 0===e)return t;let n=I.float(e,t);return I.clamp(n,o,i)}class I extends y{static clamp(e,t,o){return eo?o:e}static float(e,t){if("number"==typeof e)return e;if(void 0===e)return t;let o=parseFloat(e);return isNaN(o)?t:o}constructor(e,t,o,i,n){void 0!==n&&(n.type="number",n.default=o),super(e,t,o,n),this.validationFn=i}validate(e){return this.validationFn(I.float(e,this.defaultValue))}}class L extends y{static string(e,t){return"string"!=typeof e?t:e}constructor(e,t,o,i){void 0!==i&&(i.type="string",i.default=o),super(e,t,o,i)}validate(e){return L.string(e,this.defaultValue)}}function W(e,t,o,i){return"string"!=typeof e?t:i&&e in i?i[e]:-1===o.indexOf(e)?t:e}class V extends y{constructor(e,t,o,i,n){void 0!==n&&(n.type="string",n.enum=i,n.default=o),super(e,t,o,n),this._allowedValues=i}validate(e){return W(e,this.defaultValue,this._allowedValues)}}class x extends f{constructor(e,t,o,i,n,r,s){void 0!==s&&(s.type="string",s.enum=n,s.default=i),super(e,t,o,s),this._allowedValues=n,this._convert=r}validate(e){return"string"!=typeof e||-1===this._allowedValues.indexOf(e)?this.defaultValue:this._convert(e)}}(i=r||(r={}))[i.Line=1]="Line",i[i.Block=2]="Block",i[i.Underline=3]="Underline",i[i.LineThin=4]="LineThin",i[i.BlockOutline=5]="BlockOutline",i[i.UnderlineThin=6]="UnderlineThin";class M extends f{constructor(){super(51,"fontLigatures",M.OFF,{anyOf:[{type:"boolean",description:h.NC("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:h.NC("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:h.NC("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return void 0===e?this.defaultValue:"string"==typeof e?"false"===e||0===e.length?M.OFF:"true"===e?M.ON:e:e?M.ON:M.OFF}}M.OFF='"liga" off, "calt" off',M.ON='"liga" on, "calt" on';class H extends f{constructor(){super(54,"fontVariations",H.OFF,{anyOf:[{type:"boolean",description:h.NC("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:h.NC("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:h.NC("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(e){return void 0===e?this.defaultValue:"string"==typeof e?"false"===e?H.OFF:"true"===e?H.TRANSLATE:e:e?H.TRANSLATE:H.OFF}compute(e,t,o){return e.fontInfo.fontVariationSettings}}H.OFF="normal",H.TRANSLATE="translate";class z extends f{constructor(){super(53,"fontWeight",B.fontWeight,{anyOf:[{type:"number",minimum:z.MINIMUM_VALUE,maximum:z.MAXIMUM_VALUE,errorMessage:h.NC("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:z.SUGGESTION_VALUES}],default:B.fontWeight,description:h.NC("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return"normal"===e||"bold"===e?e:String(k.clampedInt(e,B.fontWeight,z.MINIMUM_VALUE,z.MAXIMUM_VALUE))}}z.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],z.MINIMUM_VALUE=1,z.MAXIMUM_VALUE=1e3;class F extends b{constructor(){super(145)}compute(e,t,o){return F.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){let t=e.height/e.lineHeight,o=Math.floor(e.paddingTop/e.lineHeight),i=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(i=Math.max(i,t-1));let n=(o+e.viewLineCount+i)/(e.pixelRatio*e.height),r=Math.floor(e.viewLineCount/n);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:o,extraLinesBeyondLastLine:i,desiredRatio:n,minimapLineCount:r}}static _computeMinimapLayout(e,t){let o=e.outerWidth,i=e.outerHeight,n=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(n*i),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:i};let r=t.stableMinimapLayoutInput,s=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.paddingTop===r.paddingTop&&e.paddingBottom===r.paddingBottom&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,a=e.lineHeight,l=e.typicalHalfwidthCharacterWidth,d=e.scrollBeyondLastLine,u=e.minimap.renderCharacters,c=n>=2?Math.round(2*e.minimap.scale):e.minimap.scale,h=e.minimap.maxColumn,g=e.minimap.size,m=e.minimap.side,f=e.verticalScrollbarWidth,w=e.viewLineCount,C=e.remainingWidth,b=e.isViewportWrapping,y=u?2:3,S=Math.floor(n*i),v=S/n,N=!1,k=!1,D=y*c,I=c/n,L=1;if("fill"===g||"fit"===g){let{typicalViewportLineCount:o,extraLinesBeforeFirstLine:r,extraLinesBeyondLastLine:l,desiredRatio:u,minimapLineCount:h}=F.computeContainedMinimapLineCount({viewLineCount:w,scrollBeyondLastLine:d,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:i,lineHeight:a,pixelRatio:n});if(w/h>1)N=!0,k=!0,D=1,I=(c=1)/n;else{let i=!1,d=c+1;if("fit"===g){let e=Math.ceil((r+w+l)*D);b&&s&&C<=t.stableFitRemainingWidth?(i=!0,d=t.stableFitMaxMinimapScale):i=e>S}if("fill"===g||i){N=!0;let i=c;D=Math.min(a*n,Math.max(1,Math.floor(1/u))),b&&s&&C<=t.stableFitRemainingWidth&&(d=t.stableFitMaxMinimapScale),(c=Math.min(d,Math.max(1,Math.floor(D/y))))>i&&(L=Math.min(2,c/i)),I=c/n/L,S=Math.ceil(Math.max(o,r+w+l)*D),b?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=C,t.stableFitMaxMinimapScale=c):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}let W=Math.floor(h*I),V=Math.min(W,Math.max(0,Math.floor((C-f-2)*I/(l+I)))+p),x=Math.floor(n*V),M=x/n;return{renderMinimap:u?1:2,minimapLeft:"left"===m?0:o-V-f,minimapWidth:V,minimapHeightIsEditorHeight:N,minimapIsSampling:k,minimapScale:c,minimapLineHeight:D,minimapCanvasInnerWidth:x=Math.floor(x*L),minimapCanvasInnerHeight:S,minimapCanvasOuterWidth:M,minimapCanvasOuterHeight:v}}static computeLayout(e,t){let o=0|t.outerWidth,i=0|t.outerHeight,n=0|t.lineHeight,r=0|t.lineNumbersDigitCount,s=t.typicalHalfwidthCharacterWidth,a=t.maxDigitWidth,l=t.pixelRatio,d=t.viewLineCount,u=e.get(137),c="inherit"===u?e.get(136):u,h="inherit"===c?e.get(132):c,p=e.get(135),g=t.isDominatedByLongLines,f=e.get(57),w=0!==e.get(68).renderType,C=e.get(69),b=e.get(105),y=e.get(84),S=e.get(73),v=e.get(103),N=v.verticalScrollbarSize,k=v.verticalHasArrows,D=v.arrowSize,I=v.horizontalScrollbarSize,L=e.get(43),W="never"!==e.get(110),V=e.get(66);L&&W&&(V+=16);let x=0;w&&(x=Math.round(Math.max(r,C)*a));let M=0;f&&(M=n*t.glyphMarginDecorationLaneCount);let H=0,z=0+M,O=z+x,T=O+V,A=o-M-x-V,P=!1,E=!1,B=-1;"inherit"===c&&g?(P=!0,E=!0):"on"===h||"bounded"===h?E=!0:"wordWrapColumn"===h&&(B=p);let R=F._computeMinimapLayout({outerWidth:o,outerHeight:i,lineHeight:n,typicalHalfwidthCharacterWidth:s,pixelRatio:l,scrollBeyondLastLine:b,paddingTop:y.top,paddingBottom:y.bottom,minimap:S,verticalScrollbarWidth:N,viewLineCount:d,remainingWidth:A,isViewportWrapping:E},t.memory||new m);0!==R.renderMinimap&&0===R.minimapLeft&&(H+=R.minimapWidth,z+=R.minimapWidth,O+=R.minimapWidth,T+=R.minimapWidth);let U=A-R.minimapWidth,j=Math.max(1,Math.floor((U-N-2)/s)),q=k?D:0;return E&&(B=Math.max(1,j),"bounded"===h&&(B=Math.min(B,p))),{width:o,height:i,glyphMarginLeft:H,glyphMarginWidth:M,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:z,lineNumbersWidth:x,decorationsLeft:O,decorationsWidth:V,contentLeft:T,contentWidth:U,minimap:R,viewportColumn:j,isWordWrapMinified:P,isViewportWrapping:E,wrappingColumn:B,verticalScrollbarWidth:N,horizontalScrollbarHeight:I,overviewRuler:{top:q,width:N,height:i-2*q,right:0}}}}function O(e){let t=e.get(98);return"editable"===t?e.get(91):"on"!==t}function T(e,t){if("string"!=typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}(n=s||(s={})).Off="off",n.OnCode="onCode",n.On="on";let A="inUntrustedWorkspace",P={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};function E(e,t,o){let i=o.indexOf(e);return -1===i?t:o[i]}let B={fontFamily:d.dz?"Menlo, Monaco, 'Courier New', monospace":d.IJ?"'Droid Sans Mono', 'monospace', monospace":"Consolas, 'Courier New', monospace",fontWeight:"normal",fontSize:d.dz?12:14,lineHeight:0,letterSpacing:0},R=[];function U(e){return R[e.id]=e,e}let j={acceptSuggestionOnCommitCharacter:U(new v(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:h.NC("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:U(new V(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",h.NC("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:h.NC("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:U(new class extends f{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[h.NC("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),h.NC("accessibilitySupport.on","Optimize for usage with a Screen Reader."),h.NC("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:h.NC("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,o){return 0===o?e.accessibilitySupport:o}}),accessibilityPageSize:U(new k(3,"accessibilityPageSize",10,1,1073741824,{description:h.NC("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."),tags:["accessibility"]})),ariaLabel:U(new L(4,"ariaLabel",h.NC("editorViewAccessibleLabel","Editor content"))),ariaRequired:U(new v(5,"ariaRequired",!1,void 0)),screenReaderAnnounceInlineSuggestion:U(new v(8,"screenReaderAnnounceInlineSuggestion",!0,{description:h.NC("screenReaderAnnounceInlineSuggestion","Control whether inline suggestions are announced by a screen reader."),tags:["accessibility"]})),autoClosingBrackets:U(new V(6,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",h.NC("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),h.NC("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:h.NC("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingComments:U(new V(7,"autoClosingComments","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",h.NC("editor.autoClosingComments.languageDefined","Use language configurations to determine when to autoclose comments."),h.NC("editor.autoClosingComments.beforeWhitespace","Autoclose comments only when the cursor is to the left of whitespace."),""],description:h.NC("autoClosingComments","Controls whether the editor should automatically close comments after the user adds an opening comment.")})),autoClosingDelete:U(new V(9,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",h.NC("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:h.NC("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:U(new V(10,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",h.NC("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:h.NC("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:U(new V(11,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",h.NC("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),h.NC("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:h.NC("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:U(new x(12,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],function(e){switch(e){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}},{enumDescriptions:[h.NC("editor.autoIndent.none","The editor will not insert indentation automatically."),h.NC("editor.autoIndent.keep","The editor will keep the current line's indentation."),h.NC("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),h.NC("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),h.NC("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:h.NC("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:U(new v(13,"automaticLayout",!1)),autoSurround:U(new V(14,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[h.NC("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),h.NC("editor.autoSurround.quotes","Surround with quotes but not brackets."),h.NC("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:h.NC("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:U(new class extends f{constructor(){let e={enabled:u.D.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:u.D.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(15,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:h.NC("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:e.independentColorPoolPerBracketType,description:h.NC("bracketPairColorization.independentColorPoolPerBracketType","Controls whether each bracket type has its own independent color pool.")}})}validate(e){return e&&"object"==typeof e?{enabled:S(e.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:S(e.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}:this.defaultValue}}),bracketPairGuides:U(new class extends f{constructor(){let e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(16,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[h.NC("editor.guides.bracketPairs.true","Enables bracket pair guides."),h.NC("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),h.NC("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:h.NC("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[h.NC("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),h.NC("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),h.NC("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:h.NC("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:h.NC("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:h.NC("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[h.NC("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),h.NC("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),h.NC("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:h.NC("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){return e&&"object"==typeof e?{bracketPairs:E(e.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:E(e.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:S(e.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:S(e.indentation,this.defaultValue.indentation),highlightActiveIndentation:E(e.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}:this.defaultValue}}),stickyTabStops:U(new v(116,"stickyTabStops",!1,{description:h.NC("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:U(new v(17,"codeLens",!0,{description:h.NC("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:U(new L(18,"codeLensFontFamily","",{description:h.NC("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:U(new k(19,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:h.NC("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")})),colorDecorators:U(new v(20,"colorDecorators",!0,{description:h.NC("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),colorDecoratorActivatedOn:U(new V(148,"colorDecoratorsActivatedOn","clickAndHover",["clickAndHover","hover","click"],{enumDescriptions:[h.NC("editor.colorDecoratorActivatedOn.clickAndHover","Make the color picker appear both on click and hover of the color decorator"),h.NC("editor.colorDecoratorActivatedOn.hover","Make the color picker appear on hover of the color decorator"),h.NC("editor.colorDecoratorActivatedOn.click","Make the color picker appear on click of the color decorator")],description:h.NC("colorDecoratorActivatedOn","Controls the condition to make a color picker appear from a color decorator")})),colorDecoratorsLimit:U(new k(21,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:h.NC("colorDecoratorsLimit","Controls the max number of color decorators that can be rendered in an editor at once.")})),columnSelection:U(new v(22,"columnSelection",!1,{description:h.NC("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:U(new class extends f{constructor(){let e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:h.NC("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:h.NC("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){return e&&"object"==typeof e?{insertSpace:S(e.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:S(e.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}:this.defaultValue}}),contextmenu:U(new v(24,"contextmenu",!0)),copyWithSyntaxHighlighting:U(new v(25,"copyWithSyntaxHighlighting",!0,{description:h.NC("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:U(new x(26,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],function(e){switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}},{description:h.NC("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:U(new V(27,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[h.NC("cursorSmoothCaretAnimation.off","Smooth caret animation is disabled."),h.NC("cursorSmoothCaretAnimation.explicit","Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),h.NC("cursorSmoothCaretAnimation.on","Smooth caret animation is always enabled.")],description:h.NC("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:U(new x(28,"cursorStyle",r.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],function(e){switch(e){case"line":return r.Line;case"block":return r.Block;case"underline":return r.Underline;case"line-thin":return r.LineThin;case"block-outline":return r.BlockOutline;case"underline-thin":return r.UnderlineThin}},{description:h.NC("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:U(new k(29,"cursorSurroundingLines",0,0,1073741824,{description:h.NC("cursorSurroundingLines","Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:U(new V(30,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[h.NC("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),h.NC("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],markdownDescription:h.NC("cursorSurroundingLinesStyle","Controls when `#editor.cursorSurroundingLines#` should be enforced.")})),cursorWidth:U(new k(31,"cursorWidth",0,0,1073741824,{markdownDescription:h.NC("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:U(new v(32,"disableLayerHinting",!1)),disableMonospaceOptimizations:U(new v(33,"disableMonospaceOptimizations",!1)),domReadOnly:U(new v(34,"domReadOnly",!1)),dragAndDrop:U(new v(35,"dragAndDrop",!0,{description:h.NC("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:U(new class extends v{constructor(){super(37,"emptySelectionClipboard",!0,{description:h.NC("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,o){return o&&e.emptySelectionClipboard}}),dropIntoEditor:U(new class extends f{constructor(){let e={enabled:!0,showDropSelector:"afterDrop"};super(36,"dropIntoEditor",e,{"editor.dropIntoEditor.enabled":{type:"boolean",default:e.enabled,markdownDescription:h.NC("dropIntoEditor.enabled","Controls whether you can drag and drop a file into a text editor by holding down the `Shift` key (instead of opening the file in an editor).")},"editor.dropIntoEditor.showDropSelector":{type:"string",markdownDescription:h.NC("dropIntoEditor.showDropSelector","Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."),enum:["afterDrop","never"],enumDescriptions:[h.NC("dropIntoEditor.showDropSelector.afterDrop","Show the drop selector widget after a file is dropped into the editor."),h.NC("dropIntoEditor.showDropSelector.never","Never show the drop selector widget. Instead the default drop provider is always used.")],default:"afterDrop"}})}validate(e){return e&&"object"==typeof e?{enabled:S(e.enabled,this.defaultValue.enabled),showDropSelector:W(e.showDropSelector,this.defaultValue.showDropSelector,["afterDrop","never"])}:this.defaultValue}}),stickyScroll:U(new class extends f{constructor(){let e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(115,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:h.NC("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor."),tags:["experimental"]},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:20,description:h.NC("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:h.NC("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:e.scrollWithEditor,description:h.NC("editor.stickyScroll.scrollWithEditor","Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")}})}validate(e){return e&&"object"==typeof e?{enabled:S(e.enabled,this.defaultValue.enabled),maxLineCount:k.clampedInt(e.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:W(e.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:S(e.scrollWithEditor,this.defaultValue.scrollWithEditor)}:this.defaultValue}}),experimentalWhitespaceRendering:U(new V(38,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[h.NC("experimentalWhitespaceRendering.svg","Use a new rendering method with svgs."),h.NC("experimentalWhitespaceRendering.font","Use a new rendering method with font characters."),h.NC("experimentalWhitespaceRendering.off","Use the stable rendering method.")],description:h.NC("experimentalWhitespaceRendering","Controls whether whitespace is rendered with a new, experimental method.")})),extraEditorClassName:U(new L(39,"extraEditorClassName","")),fastScrollSensitivity:U(new I(40,"fastScrollSensitivity",5,e=>e<=0?5:e,{markdownDescription:h.NC("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:U(new class extends f{constructor(){let e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:h.NC("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[h.NC("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),h.NC("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),h.NC("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:h.NC("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[h.NC("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),h.NC("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),h.NC("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:h.NC("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:h.NC("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:d.dz},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:h.NC("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:h.NC("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){return e&&"object"==typeof e?{cursorMoveOnType:S(e.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:"boolean"==typeof e.seedSearchStringFromSelection?e.seedSearchStringFromSelection?"always":"never":W(e.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:"boolean"==typeof e.autoFindInSelection?e.autoFindInSelection?"always":"never":W(e.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:S(e.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:S(e.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:S(e.loop,this.defaultValue.loop)}:this.defaultValue}}),fixedOverflowWidgets:U(new v(42,"fixedOverflowWidgets",!1)),folding:U(new v(43,"folding",!0,{description:h.NC("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:U(new V(44,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[h.NC("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),h.NC("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:h.NC("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:U(new v(45,"foldingHighlight",!0,{description:h.NC("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:U(new v(46,"foldingImportsByDefault",!1,{description:h.NC("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:U(new k(47,"foldingMaximumRegions",5e3,10,65e3,{description:h.NC("foldingMaximumRegions","The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.")})),unfoldOnClickAfterEndOfLine:U(new v(48,"unfoldOnClickAfterEndOfLine",!1,{description:h.NC("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:U(new L(49,"fontFamily",B.fontFamily,{description:h.NC("fontFamily","Controls the font family.")})),fontInfo:U(new class extends b{constructor(){super(50)}compute(e,t,o){return e.fontInfo}}),fontLigatures2:U(new M),fontSize:U(new class extends y{constructor(){super(52,"fontSize",B.fontSize,{type:"number",minimum:6,maximum:100,default:B.fontSize,description:h.NC("fontSize","Controls the font size in pixels.")})}validate(e){let t=I.float(e,this.defaultValue);return 0===t?B.fontSize:I.clamp(t,6,100)}compute(e,t,o){return e.fontInfo.fontSize}}),fontWeight:U(new z),fontVariations:U(new H),formatOnPaste:U(new v(55,"formatOnPaste",!1,{description:h.NC("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:U(new v(56,"formatOnType",!1,{description:h.NC("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:U(new v(57,"glyphMargin",!0,{description:h.NC("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:U(new class extends f{constructor(){let e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[h.NC("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),h.NC("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),h.NC("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},o=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(58,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:h.NC("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":{description:h.NC("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:h.NC("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleDeclarations":{description:h.NC("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleImplementations":{description:h.NC("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleReferences":{description:h.NC("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist."),...t},"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:o,description:h.NC("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:o,description:h.NC("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:o,description:h.NC("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:o,description:h.NC("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:o,description:h.NC("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,o,i,n,r;return e&&"object"==typeof e?{multiple:W(e.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:null!==(t=e.multipleDefinitions)&&void 0!==t?t:W(e.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:null!==(o=e.multipleTypeDefinitions)&&void 0!==o?o:W(e.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:null!==(i=e.multipleDeclarations)&&void 0!==i?i:W(e.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:null!==(n=e.multipleImplementations)&&void 0!==n?n:W(e.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:null!==(r=e.multipleReferences)&&void 0!==r?r:W(e.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:L.string(e.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:L.string(e.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:L.string(e.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:L.string(e.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:L.string(e.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}:this.defaultValue}}),hideCursorInOverviewRuler:U(new v(59,"hideCursorInOverviewRuler",!1,{description:h.NC("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:U(new class extends f{constructor(){let e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:h.NC("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:h.NC("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:h.NC("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.hidingDelay":{type:"integer",minimum:0,default:e.hidingDelay,description:h.NC("hover.hidingDelay","Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled.")},"editor.hover.above":{type:"boolean",default:e.above,description:h.NC("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){return e&&"object"==typeof e?{enabled:S(e.enabled,this.defaultValue.enabled),delay:k.clampedInt(e.delay,this.defaultValue.delay,0,1e4),sticky:S(e.sticky,this.defaultValue.sticky),hidingDelay:k.clampedInt(e.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:S(e.above,this.defaultValue.above)}:this.defaultValue}}),inDiffEditor:U(new v(61,"inDiffEditor",!1)),letterSpacing:U(new I(64,"letterSpacing",B.letterSpacing,e=>I.clamp(e,-5,20),{description:h.NC("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:U(new class extends f{constructor(){let e={enabled:s.On};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[s.Off,s.OnCode,s.On],default:e.enabled,enumDescriptions:[h.NC("editor.lightbulb.enabled.off","Disable the code action menu."),h.NC("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),h.NC("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:h.NC("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return e&&"object"==typeof e?{enabled:W(e.enabled,this.defaultValue.enabled,[s.Off,s.OnCode,s.On])}:this.defaultValue}}),lineDecorationsWidth:U(new class extends f{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){if(!("string"==typeof e&&/^\d+(\.\d+)?ch$/.test(e)))return k.clampedInt(e,this.defaultValue,0,1e3);{let t=parseFloat(e.substring(0,e.length-2));return-t}}compute(e,t,o){return o<0?k.clampedInt(-o*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):o}}),lineHeight:U(new class extends I{constructor(){super(67,"lineHeight",B.lineHeight,e=>I.clamp(e,0,150),{markdownDescription:h.NC("lineHeight","Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values.")})}compute(e,t,o){return e.fontInfo.lineHeight}}),lineNumbers:U(new class extends f{constructor(){super(68,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[h.NC("lineNumbers.off","Line numbers are not rendered."),h.NC("lineNumbers.on","Line numbers are rendered as absolute number."),h.NC("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),h.NC("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:h.NC("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,o=this.defaultValue.renderFn;return void 0!==e&&("function"==typeof e?(t=4,o=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:o}}}),lineNumbersMinChars:U(new k(69,"lineNumbersMinChars",5,1,300)),linkedEditing:U(new v(70,"linkedEditing",!1,{description:h.NC("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.")})),links:U(new v(71,"links",!0,{description:h.NC("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:U(new V(72,"matchBrackets","always",["always","near","never"],{description:h.NC("matchBrackets","Highlight matching brackets.")})),minimap:U(new class extends f{constructor(){let e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1,showRegionSectionHeaders:!0,showMarkSectionHeaders:!0,sectionHeaderFontSize:9,sectionHeaderLetterSpacing:1};super(73,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:h.NC("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:h.NC("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[h.NC("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),h.NC("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),h.NC("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:h.NC("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:h.NC("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:h.NC("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:h.NC("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:h.NC("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:h.NC("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")},"editor.minimap.showRegionSectionHeaders":{type:"boolean",default:e.showRegionSectionHeaders,description:h.NC("minimap.showRegionSectionHeaders","Controls whether named regions are shown as section headers in the minimap.")},"editor.minimap.showMarkSectionHeaders":{type:"boolean",default:e.showMarkSectionHeaders,description:h.NC("minimap.showMarkSectionHeaders","Controls whether MARK: comments are shown as section headers in the minimap.")},"editor.minimap.sectionHeaderFontSize":{type:"number",default:e.sectionHeaderFontSize,description:h.NC("minimap.sectionHeaderFontSize","Controls the font size of section headers in the minimap.")},"editor.minimap.sectionHeaderLetterSpacing":{type:"number",default:e.sectionHeaderLetterSpacing,description:h.NC("minimap.sectionHeaderLetterSpacing","Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes.")}})}validate(e){var t,o;return e&&"object"==typeof e?{enabled:S(e.enabled,this.defaultValue.enabled),autohide:S(e.autohide,this.defaultValue.autohide),size:W(e.size,this.defaultValue.size,["proportional","fill","fit"]),side:W(e.side,this.defaultValue.side,["right","left"]),showSlider:W(e.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:S(e.renderCharacters,this.defaultValue.renderCharacters),scale:k.clampedInt(e.scale,1,1,3),maxColumn:k.clampedInt(e.maxColumn,this.defaultValue.maxColumn,1,1e4),showRegionSectionHeaders:S(e.showRegionSectionHeaders,this.defaultValue.showRegionSectionHeaders),showMarkSectionHeaders:S(e.showMarkSectionHeaders,this.defaultValue.showMarkSectionHeaders),sectionHeaderFontSize:I.clamp(null!==(t=e.sectionHeaderFontSize)&&void 0!==t?t:this.defaultValue.sectionHeaderFontSize,4,32),sectionHeaderLetterSpacing:I.clamp(null!==(o=e.sectionHeaderLetterSpacing)&&void 0!==o?o:this.defaultValue.sectionHeaderLetterSpacing,0,5)}:this.defaultValue}}),mouseStyle:U(new V(74,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:U(new I(75,"mouseWheelScrollSensitivity",1,e=>0===e?1:e,{markdownDescription:h.NC("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:U(new v(76,"mouseWheelZoom",!1,{markdownDescription:d.dz?h.NC("mouseWheelZoom.mac","Zoom the font of the editor when using mouse wheel and holding `Cmd`."):h.NC("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:U(new v(77,"multiCursorMergeOverlapping",!0,{description:h.NC("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:U(new x(78,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],function(e){return"ctrlCmd"===e?d.dz?"metaKey":"ctrlKey":"altKey"},{markdownEnumDescriptions:[h.NC("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),h.NC("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:h.NC({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:U(new V(79,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[h.NC("multiCursorPaste.spread","Each cursor pastes a single line of the text."),h.NC("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:h.NC("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),multiCursorLimit:U(new k(80,"multiCursorLimit",1e4,1,1e5,{markdownDescription:h.NC("multiCursorLimit","Controls the max number of cursors that can be in an active editor at once.")})),occurrencesHighlight:U(new V(81,"occurrencesHighlight","singleFile",["off","singleFile","multiFile"],{markdownEnumDescriptions:[h.NC("occurrencesHighlight.off","Does not highlight occurrences."),h.NC("occurrencesHighlight.singleFile","Highlights occurrences only in the current file."),h.NC("occurrencesHighlight.multiFile","Experimental: Highlights occurrences across all valid open files.")],markdownDescription:h.NC("occurrencesHighlight","Controls whether occurrences should be highlighted across open files.")})),overviewRulerBorder:U(new v(82,"overviewRulerBorder",!0,{description:h.NC("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:U(new k(83,"overviewRulerLanes",3,0,3)),padding:U(new class extends f{constructor(){super(84,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:h.NC("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:h.NC("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){return e&&"object"==typeof e?{top:k.clampedInt(e.top,0,0,1e3),bottom:k.clampedInt(e.bottom,0,0,1e3)}:this.defaultValue}}),pasteAs:U(new class extends f{constructor(){let e={enabled:!0,showPasteSelector:"afterPaste"};super(85,"pasteAs",e,{"editor.pasteAs.enabled":{type:"boolean",default:e.enabled,markdownDescription:h.NC("pasteAs.enabled","Controls whether you can paste content in different ways.")},"editor.pasteAs.showPasteSelector":{type:"string",markdownDescription:h.NC("pasteAs.showPasteSelector","Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."),enum:["afterPaste","never"],enumDescriptions:[h.NC("pasteAs.showPasteSelector.afterPaste","Show the paste selector widget after content is pasted into the editor."),h.NC("pasteAs.showPasteSelector.never","Never show the paste selector widget. Instead the default pasting behavior is always used.")],default:"afterPaste"}})}validate(e){return e&&"object"==typeof e?{enabled:S(e.enabled,this.defaultValue.enabled),showPasteSelector:W(e.showPasteSelector,this.defaultValue.showPasteSelector,["afterPaste","never"])}:this.defaultValue}}),parameterHints:U(new class extends f{constructor(){let e={enabled:!0,cycle:!0};super(86,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:h.NC("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:h.NC("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){return e&&"object"==typeof e?{enabled:S(e.enabled,this.defaultValue.enabled),cycle:S(e.cycle,this.defaultValue.cycle)}:this.defaultValue}}),peekWidgetDefaultFocus:U(new V(87,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[h.NC("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),h.NC("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:h.NC("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:U(new v(88,"definitionLinkOpensInPeek",!1,{description:h.NC("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:U(new class extends f{constructor(){let e={other:"on",comments:"off",strings:"off"},t=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[h.NC("on","Quick suggestions show inside the suggest widget"),h.NC("inline","Quick suggestions show as ghost text"),h.NC("off","Quick suggestions are disabled")]}];super(89,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:h.NC("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:t,default:e.comments,description:h.NC("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:t,default:e.other,description:h.NC("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:h.NC("quickSuggestions","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the '{0}'-setting which controls if suggestions are triggered by special characters.","#editor.suggestOnTriggerCharacters#")}),this.defaultValue=e}validate(e){if("boolean"==typeof e){let t=e?"on":"off";return{comments:t,strings:t,other:t}}if(!e||"object"!=typeof e)return this.defaultValue;let{other:t,comments:o,strings:i}=e,n=["on","inline","off"];return{other:"boolean"==typeof t?t?"on":"off":W(t,this.defaultValue.other,n),comments:"boolean"==typeof o?o?"on":"off":W(o,this.defaultValue.comments,n),strings:"boolean"==typeof i?i?"on":"off":W(i,this.defaultValue.strings,n)}}}),quickSuggestionsDelay:U(new k(90,"quickSuggestionsDelay",10,0,1073741824,{description:h.NC("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:U(new v(91,"readOnly",!1)),readOnlyMessage:U(new class extends f{constructor(){super(92,"readOnlyMessage",void 0)}validate(e){return e&&"object"==typeof e?e:this.defaultValue}}),renameOnType:U(new v(93,"renameOnType",!1,{description:h.NC("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:h.NC("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:U(new v(94,"renderControlCharacters",!0,{description:h.NC("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:U(new V(95,"renderFinalNewline",d.IJ?"dimmed":"on",["off","on","dimmed"],{description:h.NC("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:U(new V(96,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",h.NC("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:h.NC("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:U(new v(97,"renderLineHighlightOnlyWhenFocus",!1,{description:h.NC("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:U(new V(98,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:U(new V(99,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",h.NC("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),h.NC("renderWhitespace.selection","Render whitespace characters only on selected text."),h.NC("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:h.NC("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:U(new k(100,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:U(new v(101,"roundedSelection",!0,{description:h.NC("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:U(new class extends f{constructor(){let e=[],t={type:"number",description:h.NC("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(102,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:h.NC("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:h.NC("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){let t=[];for(let o of e)"number"==typeof o?t.push({column:k.clampedInt(o,0,0,1e4),color:null}):o&&"object"==typeof o&&t.push({column:k.clampedInt(o.column,0,0,1e4),color:o.color});return t.sort((e,t)=>e.column-t.column),t}return this.defaultValue}}),scrollbar:U(new class extends f{constructor(){let e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1,ignoreHorizontalScrollbarInContentHeight:!1};super(103,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[h.NC("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),h.NC("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),h.NC("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:h.NC("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[h.NC("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),h.NC("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),h.NC("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:h.NC("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:h.NC("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:h.NC("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:h.NC("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")},"editor.scrollbar.ignoreHorizontalScrollbarInContentHeight":{type:"boolean",default:e.ignoreHorizontalScrollbarInContentHeight,description:h.NC("scrollbar.ignoreHorizontalScrollbarInContentHeight","When set, the horizontal scrollbar will not increase the size of the editor's content.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;let t=k.clampedInt(e.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),o=k.clampedInt(e.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:k.clampedInt(e.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:T(e.vertical,this.defaultValue.vertical),horizontal:T(e.horizontal,this.defaultValue.horizontal),useShadows:S(e.useShadows,this.defaultValue.useShadows),verticalHasArrows:S(e.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:S(e.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:S(e.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:S(e.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:t,horizontalSliderSize:k.clampedInt(e.horizontalSliderSize,t,0,1e3),verticalScrollbarSize:o,verticalSliderSize:k.clampedInt(e.verticalSliderSize,o,0,1e3),scrollByPage:S(e.scrollByPage,this.defaultValue.scrollByPage),ignoreHorizontalScrollbarInContentHeight:S(e.ignoreHorizontalScrollbarInContentHeight,this.defaultValue.ignoreHorizontalScrollbarInContentHeight)}}}),scrollBeyondLastColumn:U(new k(104,"scrollBeyondLastColumn",4,0,1073741824,{description:h.NC("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:U(new v(105,"scrollBeyondLastLine",!0,{description:h.NC("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:U(new v(106,"scrollPredominantAxis",!0,{description:h.NC("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:U(new v(107,"selectionClipboard",!0,{description:h.NC("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:d.IJ})),selectionHighlight:U(new v(108,"selectionHighlight",!0,{description:h.NC("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:U(new v(109,"selectOnLineNumbers",!0)),showFoldingControls:U(new V(110,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[h.NC("showFoldingControls.always","Always show the folding controls."),h.NC("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),h.NC("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:h.NC("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:U(new v(111,"showUnused",!0,{description:h.NC("showUnused","Controls fading out of unused code.")})),showDeprecated:U(new v(140,"showDeprecated",!0,{description:h.NC("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:U(new class extends f{constructor(){let e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(141,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:h.NC("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[h.NC("editor.inlayHints.on","Inlay hints are enabled"),h.NC("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",d.dz?"Ctrl+Option":"Ctrl+Alt"),h.NC("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",d.dz?"Ctrl+Option":"Ctrl+Alt"),h.NC("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:h.NC("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:h.NC("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:h.NC("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){return e&&"object"==typeof e?("boolean"==typeof e.enabled&&(e.enabled=e.enabled?"on":"off"),{enabled:W(e.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:k.clampedInt(e.fontSize,this.defaultValue.fontSize,0,100),fontFamily:L.string(e.fontFamily,this.defaultValue.fontFamily),padding:S(e.padding,this.defaultValue.padding)}):this.defaultValue}}),snippetSuggestions:U(new V(112,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[h.NC("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),h.NC("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),h.NC("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),h.NC("snippetSuggestions.none","Do not show snippet suggestions.")],description:h.NC("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:U(new class extends f{constructor(){super(113,"smartSelect",{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:h.NC("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"},"editor.smartSelect.selectSubwords":{description:h.NC("selectSubwords","Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."),default:!0,type:"boolean"}})}validate(e){return e&&"object"==typeof e?{selectLeadingAndTrailingWhitespace:S(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:S(e.selectSubwords,this.defaultValue.selectSubwords)}:this.defaultValue}}),smoothScrolling:U(new v(114,"smoothScrolling",!1,{description:h.NC("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:U(new k(117,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:U(new class extends f{constructor(){let e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!1,localityBonus:!1,shareSuggestSelections:!1,selectionMode:"always",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(118,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[h.NC("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),h.NC("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:h.NC("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:h.NC("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:h.NC("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:h.NC("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.selectionMode":{type:"string",enum:["always","never","whenTriggerCharacter","whenQuickSuggestion"],enumDescriptions:[h.NC("suggest.insertMode.always","Always select a suggestion when automatically triggering IntelliSense."),h.NC("suggest.insertMode.never","Never select a suggestion when automatically triggering IntelliSense."),h.NC("suggest.insertMode.whenTriggerCharacter","Select a suggestion only when triggering IntelliSense from a trigger character."),h.NC("suggest.insertMode.whenQuickSuggestion","Select a suggestion only when triggering IntelliSense as you type.")],default:e.selectionMode,markdownDescription:h.NC("suggest.selectionMode","Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions (`#editor.quickSuggestions#` and `#editor.suggestOnTriggerCharacters#`) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:h.NC("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:h.NC("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:h.NC("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:h.NC("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:h.NC("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget.")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:h.NC("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:h.NC("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.matchOnWordStartOnly","When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:h.NC("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){return e&&"object"==typeof e?{insertMode:W(e.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:S(e.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:S(e.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:S(e.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:S(e.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:W(e.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:S(e.showIcons,this.defaultValue.showIcons),showStatusBar:S(e.showStatusBar,this.defaultValue.showStatusBar),preview:S(e.preview,this.defaultValue.preview),previewMode:W(e.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:S(e.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:S(e.showMethods,this.defaultValue.showMethods),showFunctions:S(e.showFunctions,this.defaultValue.showFunctions),showConstructors:S(e.showConstructors,this.defaultValue.showConstructors),showDeprecated:S(e.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:S(e.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:S(e.showFields,this.defaultValue.showFields),showVariables:S(e.showVariables,this.defaultValue.showVariables),showClasses:S(e.showClasses,this.defaultValue.showClasses),showStructs:S(e.showStructs,this.defaultValue.showStructs),showInterfaces:S(e.showInterfaces,this.defaultValue.showInterfaces),showModules:S(e.showModules,this.defaultValue.showModules),showProperties:S(e.showProperties,this.defaultValue.showProperties),showEvents:S(e.showEvents,this.defaultValue.showEvents),showOperators:S(e.showOperators,this.defaultValue.showOperators),showUnits:S(e.showUnits,this.defaultValue.showUnits),showValues:S(e.showValues,this.defaultValue.showValues),showConstants:S(e.showConstants,this.defaultValue.showConstants),showEnums:S(e.showEnums,this.defaultValue.showEnums),showEnumMembers:S(e.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:S(e.showKeywords,this.defaultValue.showKeywords),showWords:S(e.showWords,this.defaultValue.showWords),showColors:S(e.showColors,this.defaultValue.showColors),showFiles:S(e.showFiles,this.defaultValue.showFiles),showReferences:S(e.showReferences,this.defaultValue.showReferences),showFolders:S(e.showFolders,this.defaultValue.showFolders),showTypeParameters:S(e.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:S(e.showSnippets,this.defaultValue.showSnippets),showUsers:S(e.showUsers,this.defaultValue.showUsers),showIssues:S(e.showIssues,this.defaultValue.showIssues)}:this.defaultValue}}),inlineSuggest:U(new class extends f{constructor(){let e={enabled:!0,mode:"subwordSmart",showToolbar:"onHover",suppressSuggestions:!1,keepOnBlur:!1,fontFamily:"default"};super(62,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:h.NC("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")},"editor.inlineSuggest.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[h.NC("inlineSuggest.showToolbar.always","Show the inline suggestion toolbar whenever an inline suggestion is shown."),h.NC("inlineSuggest.showToolbar.onHover","Show the inline suggestion toolbar when hovering over an inline suggestion."),h.NC("inlineSuggest.showToolbar.never","Never show the inline suggestion toolbar.")],description:h.NC("inlineSuggest.showToolbar","Controls when to show the inline suggestion toolbar.")},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:e.suppressSuggestions,description:h.NC("inlineSuggest.suppressSuggestions","Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.")},"editor.inlineSuggest.fontFamily":{type:"string",default:e.fontFamily,description:h.NC("inlineSuggest.fontFamily","Controls the font family of the inline suggestions.")}})}validate(e){return e&&"object"==typeof e?{enabled:S(e.enabled,this.defaultValue.enabled),mode:W(e.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:W(e.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),suppressSuggestions:S(e.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:S(e.keepOnBlur,this.defaultValue.keepOnBlur),fontFamily:L.string(e.fontFamily,this.defaultValue.fontFamily)}:this.defaultValue}}),inlineEdit:U(new class extends f{constructor(){let e={enabled:!1,showToolbar:"onHover",fontFamily:"default",keepOnBlur:!1,backgroundColoring:!1};super(63,"experimentalInlineEdit",e,{"editor.experimentalInlineEdit.enabled":{type:"boolean",default:e.enabled,description:h.NC("inlineEdit.enabled","Controls whether to show inline edits in the editor.")},"editor.experimentalInlineEdit.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[h.NC("inlineEdit.showToolbar.always","Show the inline edit toolbar whenever an inline suggestion is shown."),h.NC("inlineEdit.showToolbar.onHover","Show the inline edit toolbar when hovering over an inline suggestion."),h.NC("inlineEdit.showToolbar.never","Never show the inline edit toolbar.")],description:h.NC("inlineEdit.showToolbar","Controls when to show the inline edit toolbar.")},"editor.experimentalInlineEdit.fontFamily":{type:"string",default:e.fontFamily,description:h.NC("inlineEdit.fontFamily","Controls the font family of the inline edit.")},"editor.experimentalInlineEdit.backgroundColoring":{type:"boolean",default:e.backgroundColoring,description:h.NC("inlineEdit.backgroundColoring","Controls whether to color the background of inline edits.")}})}validate(e){return e&&"object"==typeof e?{enabled:S(e.enabled,this.defaultValue.enabled),showToolbar:W(e.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),fontFamily:L.string(e.fontFamily,this.defaultValue.fontFamily),keepOnBlur:S(e.keepOnBlur,this.defaultValue.keepOnBlur),backgroundColoring:S(e.backgroundColoring,this.defaultValue.backgroundColoring)}:this.defaultValue}}),inlineCompletionsAccessibilityVerbose:U(new v(149,"inlineCompletionsAccessibilityVerbose",!1,{description:h.NC("inlineCompletionsAccessibilityVerbose","Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.")})),suggestFontSize:U(new k(119,"suggestFontSize",0,0,1e3,{markdownDescription:h.NC("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:U(new k(120,"suggestLineHeight",0,0,1e3,{markdownDescription:h.NC("suggestLineHeight","Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:U(new v(121,"suggestOnTriggerCharacters",!0,{description:h.NC("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:U(new V(122,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[h.NC("suggestSelection.first","Always select the first suggestion."),h.NC("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),h.NC("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:h.NC("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:U(new V(123,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[h.NC("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),h.NC("tabCompletion.off","Disable tab completions."),h.NC("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:h.NC("tabCompletion","Enables tab completions.")})),tabIndex:U(new k(124,"tabIndex",0,-1,1073741824)),unicodeHighlight:U(new class extends f{constructor(){let e={nonBasicASCII:A,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:A,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(125,"unicodeHighlight",e,{[P.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,A],default:e.nonBasicASCII,description:h.NC("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[P.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:h.NC("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[P.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:h.NC("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[P.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,A],default:e.includeComments,description:h.NC("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to Unicode highlighting.")},[P.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,A],default:e.includeStrings,description:h.NC("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to Unicode highlighting.")},[P.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:h.NC("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[P.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:h.NC("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,t){let o=!1;t.allowedCharacters&&e&&!l.fS(e.allowedCharacters,t.allowedCharacters)&&(e={...e,allowedCharacters:t.allowedCharacters},o=!0),t.allowedLocales&&e&&!l.fS(e.allowedLocales,t.allowedLocales)&&(e={...e,allowedLocales:t.allowedLocales},o=!0);let i=super.applyUpdate(e,t);return o?new w(i.newValue,!0):i}validate(e){return e&&"object"==typeof e?{nonBasicASCII:E(e.nonBasicASCII,A,[!0,!1,A]),invisibleCharacters:S(e.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:S(e.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:E(e.includeComments,A,[!0,!1,A]),includeStrings:E(e.includeStrings,A,[!0,!1,A]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}:this.defaultValue}validateBooleanMap(e,t){if("object"!=typeof e||!e)return t;let o={};for(let[t,i]of Object.entries(e))!0===i&&(o[t]=!0);return o}}),unusualLineTerminators:U(new V(126,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[h.NC("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),h.NC("unusualLineTerminators.off","Unusual line terminators are ignored."),h.NC("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:h.NC("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:U(new v(127,"useShadowDOM",!0)),useTabStops:U(new v(128,"useTabStops",!0,{description:h.NC("useTabStops","Spaces and tabs are inserted and deleted in alignment with tab stops.")})),wordBreak:U(new V(129,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[h.NC("wordBreak.normal","Use the default line break rule."),h.NC("wordBreak.keepAll","Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.")],description:h.NC("wordBreak","Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")})),wordSegmenterLocales:U(new class extends f{constructor(){super(130,"wordSegmenterLocales",[],{anyOf:[{description:h.NC("wordSegmenterLocales","Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),type:"string"},{description:h.NC("wordSegmenterLocales","Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),type:"array",items:{type:"string"}}]})}validate(e){if("string"==typeof e&&(e=[e]),Array.isArray(e)){let t=[];for(let o of e)if("string"==typeof o)try{Intl.Segmenter.supportedLocalesOf(o).length>0&&t.push(o)}catch(e){}return t}return this.defaultValue}}),wordSeparators:U(new L(131,"wordSeparators",c.vu,{description:h.NC("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:U(new V(132,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[h.NC("wordWrap.off","Lines will never wrap."),h.NC("wordWrap.on","Lines will wrap at the viewport width."),h.NC({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),h.NC({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:h.NC({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:U(new L(133,"wordWrapBreakAfterCharacters"," })]?|/&.,;\xa2\xb0′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:U(new L(134,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「\xa3\xa5$£¥++")),wordWrapColumn:U(new k(135,"wordWrapColumn",80,1,1073741824,{markdownDescription:h.NC({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:U(new V(136,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:U(new V(137,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:U(new class extends b{constructor(){super(142)}compute(e,t,o){let i=["monaco-editor"];return t.get(39)&&i.push(t.get(39)),e.extraEditorClassName&&i.push(e.extraEditorClassName),"default"===t.get(74)?i.push("mouse-default"):"copy"===t.get(74)&&i.push("mouse-copy"),t.get(111)&&i.push("showUnused"),t.get(140)&&i.push("showDeprecated"),i.join(" ")}}),defaultColorDecorators:U(new v(147,"defaultColorDecorators",!1,{markdownDescription:h.NC("defaultColorDecorators","Controls whether inline color decorations should be shown using the default document color provider")})),pixelRatio:U(new class extends b{constructor(){super(143)}compute(e,t,o){return e.pixelRatio}}),tabFocusMode:U(new v(144,"tabFocusMode",!1,{markdownDescription:h.NC("tabFocusMode","Controls whether the editor receives tabs or defers them to the workbench for navigation.")})),layoutInfo:U(new F),wrappingInfo:U(new class extends b{constructor(){super(146)}compute(e,t,o){let i=t.get(145);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:i.isWordWrapMinified,isViewportWrapping:i.isViewportWrapping,wrappingColumn:i.wrappingColumn}}}),wrappingIndent:U(new class extends f{constructor(){super(138,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[h.NC("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),h.NC("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),h.NC("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),h.NC("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:h.NC("wrappingIndent","Controls the indentation of wrapped lines."),default:"same"}})}validate(e){switch(e){case"none":return 0;case"same":break;case"indent":return 2;case"deepIndent":return 3}return 1}compute(e,t,o){let i=t.get(2);return 2===i?0:o}}),wrappingStrategy:U(new class extends f{constructor(){super(139,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[h.NC("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),h.NC("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:h.NC("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return W(e,"simple",["simple","advanced"])}compute(e,t,o){let i=t.get(2);return 2===i?"advanced":o}})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9684.d52d767d2dbcdf1b.js b/dbgpt/app/static/web/_next/static/chunks/9684.e87674104e78b256.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/9684.d52d767d2dbcdf1b.js rename to dbgpt/app/static/web/_next/static/chunks/9684.e87674104e78b256.js index 2c376cf3e..d8407c0c9 100644 --- a/dbgpt/app/static/web/_next/static/chunks/9684.d52d767d2dbcdf1b.js +++ b/dbgpt/app/static/web/_next/static/chunks/9684.e87674104e78b256.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9684],{69684:function(e,t,n){n.r(t),n.d(t,{conf:function(){return r},language:function(){return s}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var r={comments:{lineComment:"#",blockComment:["=begin","=end"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],indentationRules:{increaseIndentPattern:RegExp("^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\sdo\\b)|([^#]*=\\s*(case|if|unless)))\\b([^#\\{;]|(\"|'|/).*\\4)*(#.*)?$"),decreaseIndentPattern:RegExp("^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when)\\b)")}},s={tokenPostfix:".ruby",keywords:["__LINE__","__ENCODING__","__FILE__","BEGIN","END","alias","and","begin","break","case","class","def","defined?","do","else","elsif","end","ensure","for","false","if","in","module","next","nil","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield"],keywordops:["::","..","...","?",":","=>"],builtins:["require","public","private","include","extend","attr_reader","protected","private_class_method","protected_class_method","new"],declarations:["module","class","def","case","do","begin","for","if","while","until","unless"],linedecls:["def","case","do","begin","for","if","while","until","unless"],operators:["^","&","|","<=>","==","===","!~","=~",">",">=","<","<=","<<",">>","+","-","*","/","%","**","~","+@","-@","[]","[]=","`","+=","-=","*=","**=","/=","^=","%=","<<=",">>=","&=","&&=","||=","|="],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],symbols:/[=>"}],[/%([qws])(@delim)/,{token:"string.$1.delim",switchTo:"@qstring.$1.$2.$2"}],[/%r\(/,{token:"regexp.delim",switchTo:"@pregexp.(.)"}],[/%r\[/,{token:"regexp.delim",switchTo:"@pregexp.[.]"}],[/%r\{/,{token:"regexp.delim",switchTo:"@pregexp.{.}"}],[/%r"}],[/%r(@delim)/,{token:"regexp.delim",switchTo:"@pregexp.$1.$1"}],[/%(x|W|Q?)\(/,{token:"string.$1.delim",switchTo:"@qqstring.$1.(.)"}],[/%(x|W|Q?)\[/,{token:"string.$1.delim",switchTo:"@qqstring.$1.[.]"}],[/%(x|W|Q?)\{/,{token:"string.$1.delim",switchTo:"@qqstring.$1.{.}"}],[/%(x|W|Q?)"}],[/%(x|W|Q?)(@delim)/,{token:"string.$1.delim",switchTo:"@qqstring.$1.$2.$2"}],[/%([rqwsxW]|Q?)./,{token:"invalid",next:"@pop"}],[/./,{token:"invalid",next:"@pop"}]],qstring:[[/\\$/,"string.$S2.escape"],[/\\./,"string.$S2.escape"],[/./,{cases:{"$#==$S4":{token:"string.$S2.delim",next:"@pop"},"$#==$S3":{token:"string.$S2.delim",next:"@push"},"@default":"string.$S2"}}]],qqstring:[[/#/,"string.$S2.escape","@interpolated"],{include:"@qstring"}],whitespace:[[/[ \t\r\n]+/,""],[/^\s*=begin\b/,"comment","@comment"],[/#.*$/,"comment"]],comment:[[/[^=]+/,"comment"],[/^\s*=begin\b/,"comment.invalid"],[/^\s*=end\b.*/,"comment","@pop"],[/[=]/,"comment"]]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/971df74e-5c8a2b2e1932b68d.js b/dbgpt/app/static/web/_next/static/chunks/971df74e-5c8a2b2e1932b68d.js deleted file mode 100644 index 3d76af601..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/971df74e-5c8a2b2e1932b68d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8241],{36851:function(e,t,n){n.d(t,{AC:function(){return A},HH:function(){return eK},Ly:function(){return p},OQ:function(){return ef},Rr:function(){return nz},Z_:function(){return eC},_K:function(){return ty},ll:function(){return nT},oR:function(){return k},s_:function(){return R},tV:function(){return nk},u5:function(){return ee},x$:function(){return nB}});var o,r,l,a,i,s,d,c,u,g,h,p,m=n(67294),f=n(83840),y=n(52464),x=n(76248),b=n(7782),S=n(23838),E=n(46939),v=n(62487);n(73935);let w=(0,m.createContext)(null),M=w.Provider,C={error001:()=>"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:e=>`Node type "${e}" not found. Using fallback type "default".`,error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:e=>`The old edge with id=${e} does not exist.`,error009:e=>`Marker type "${e}" doesn't exist.`,error008:(e,t)=>`Couldn't create edge for ${e?"target":"source"} handle id: "${e?t.targetHandle:t.sourceHandle}", edge id: ${t.id}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:e=>`Edge type "${e}" not found. Using fallback type "default".`,error012:e=>`Node with id "${e}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`},N=C.error001();function k(e,t){let n=(0,m.useContext)(w);if(null===n)throw Error(N);return(0,y.s)(n,e,t)}let A=()=>{let e=(0,m.useContext)(w);if(null===e)throw Error(N);return(0,m.useMemo)(()=>({getState:e.getState,setState:e.setState,subscribe:e.subscribe,destroy:e.destroy}),[e])},I=e=>e.userSelectionActive?"none":"all";function R({position:e,children:t,className:n,style:o,...r}){let l=k(I),a=`${e}`.split("-");return m.createElement("div",{className:(0,f.Z)(["react-flow__panel",n,...a]),style:{...o,pointerEvents:l},...r},t)}function P({proOptions:e,position:t="bottom-right"}){return e?.hideAttribution?null:m.createElement(R,{position:t,className:"react-flow__attribution","data-message":"Please only hide this attribution when you are subscribed to React Flow Pro: https://reactflow.dev/pro"},m.createElement("a",{href:"https://reactflow.dev",target:"_blank",rel:"noopener noreferrer","aria-label":"React Flow attribution"},"React Flow"))}var _=(0,m.memo)(({x:e,y:t,label:n,labelStyle:o={},labelShowBg:r=!0,labelBgStyle:l={},labelBgPadding:a=[2,4],labelBgBorderRadius:i=2,children:s,className:d,...c})=>{let u=(0,m.useRef)(null),[g,h]=(0,m.useState)({x:0,y:0,width:0,height:0}),p=(0,f.Z)(["react-flow__edge-textwrapper",d]);return((0,m.useEffect)(()=>{if(u.current){let e=u.current.getBBox();h({x:e.x,y:e.y,width:e.width,height:e.height})}},[n]),void 0!==n&&n)?m.createElement("g",{transform:`translate(${e-g.width/2} ${t-g.height/2})`,className:p,visibility:g.width?"visible":"hidden",...c},r&&m.createElement("rect",{width:g.width+2*a[0],x:-a[0],y:-a[1],height:g.height+2*a[1],className:"react-flow__edge-textbg",style:l,rx:i,ry:i}),m.createElement("text",{className:"react-flow__edge-text",y:g.height/2,dy:"0.3em",ref:u,style:o},n),s):null});let $=e=>({width:e.offsetWidth,height:e.offsetHeight}),O=(e,t=0,n=1)=>Math.min(Math.max(e,t),n),B=(e={x:0,y:0},t)=>({x:O(e.x,t[0][0],t[1][0]),y:O(e.y,t[0][1],t[1][1])}),D=(e,t,n)=>en?-O(Math.abs(e-n),1,50)/50:0,z=(e,t)=>{let n=20*D(e.x,35,t.width-35),o=20*D(e.y,35,t.height-35);return[n,o]},T=e=>e.getRootNode?.()||window?.document,L=(e,t)=>({x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),x2:Math.max(e.x2,t.x2),y2:Math.max(e.y2,t.y2)}),H=({x:e,y:t,width:n,height:o})=>({x:e,y:t,x2:e+n,y2:t+o}),F=({x:e,y:t,x2:n,y2:o})=>({x:e,y:t,width:n-e,height:o-t}),Z=e=>({...e.positionAbsolute||{x:0,y:0},width:e.width||0,height:e.height||0}),X=(e,t)=>{let n=Math.max(0,Math.min(e.x+e.width,t.x+t.width)-Math.max(e.x,t.x)),o=Math.max(0,Math.min(e.y+e.height,t.y+t.height)-Math.max(e.y,t.y));return Math.ceil(n*o)},V=e=>K(e.width)&&K(e.height)&&K(e.x)&&K(e.y),K=e=>!isNaN(e)&&isFinite(e),Y=Symbol.for("internals"),W=["Enter"," ","Escape"],j=(e,t)=>{},U=e=>"nativeEvent"in e;function q(e){let t=U(e)?e.nativeEvent:e,n=t.composedPath?.()?.[0]||e.target,o=["INPUT","SELECT","TEXTAREA"].includes(n?.nodeName)||n?.hasAttribute("contenteditable");return o||!!n?.closest(".nokey")}let G=e=>"clientX"in e,Q=(e,t)=>{let n=G(e),o=n?e.clientX:e.touches?.[0].clientX,r=n?e.clientY:e.touches?.[0].clientY;return{x:o-(t?.left??0),y:r-(t?.top??0)}},J=()=>"undefined"!=typeof navigator&&navigator?.userAgent?.indexOf("Mac")>=0,ee=({id:e,path:t,labelX:n,labelY:o,label:r,labelStyle:l,labelShowBg:a,labelBgStyle:i,labelBgPadding:s,labelBgBorderRadius:d,style:c,markerEnd:u,markerStart:g,interactionWidth:h=20})=>m.createElement(m.Fragment,null,m.createElement("path",{id:e,style:c,d:t,fill:"none",className:"react-flow__edge-path",markerEnd:u,markerStart:g}),h&&m.createElement("path",{d:t,fill:"none",strokeOpacity:0,strokeWidth:h,className:"react-flow__edge-interaction"}),r&&K(n)&&K(o)?m.createElement(_,{x:n,y:o,label:r,labelStyle:l,labelShowBg:a,labelBgStyle:i,labelBgPadding:s,labelBgBorderRadius:d}):null);function et(e,t,n){return void 0===n?n:o=>{let r=t().edges.find(t=>t.id===e);r&&n(o,{...r})}}function en({sourceX:e,sourceY:t,targetX:n,targetY:o}){let r=Math.abs(n-e)/2,l=Math.abs(o-t)/2;return[n{let[x,b,S]=el({sourceX:e,sourceY:t,sourcePosition:r,targetX:n,targetY:o,targetPosition:l});return m.createElement(ee,{path:x,labelX:b,labelY:S,label:a,labelStyle:i,labelShowBg:s,labelBgStyle:d,labelBgPadding:c,labelBgBorderRadius:u,style:g,markerEnd:h,markerStart:f,interactionWidth:y})});ea.displayName="SimpleBezierEdge";let ei={[p.Left]:{x:-1,y:0},[p.Right]:{x:1,y:0},[p.Top]:{x:0,y:-1},[p.Bottom]:{x:0,y:1}},es=({source:e,sourcePosition:t=p.Bottom,target:n})=>t===p.Left||t===p.Right?e.xMath.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2));function ec({sourceX:e,sourceY:t,sourcePosition:n=p.Bottom,targetX:o,targetY:r,targetPosition:l=p.Top,borderRadius:a=5,centerX:i,centerY:s,offset:d=20}){let[c,u,g,h,m]=function({source:e,sourcePosition:t=p.Bottom,target:n,targetPosition:o=p.Top,center:r,offset:l}){let a,i;let s=ei[t],d=ei[o],c={x:e.x+s.x*l,y:e.y+s.y*l},u={x:n.x+d.x*l,y:n.y+d.y*l},g=es({source:c,sourcePosition:t,target:u}),h=0!==g.x?"x":"y",m=g[h],f=[],y={x:0,y:0},x={x:0,y:0},[b,S,E,v]=en({sourceX:e.x,sourceY:e.y,targetX:n.x,targetY:n.y});if(s[h]*d[h]==-1){a=r.x??b,i=r.y??S;let e=[{x:a,y:c.y},{x:a,y:u.y}],t=[{x:c.x,y:i},{x:u.x,y:i}];f=s[h]===m?"x"===h?e:t:"x"===h?t:e}else{let r=[{x:c.x,y:u.y}],g=[{x:u.x,y:c.y}];if(f="x"===h?s.x===m?g:r:s.y===m?r:g,t===o){let t=Math.abs(e[h]-n[h]);if(t<=l){let o=Math.min(l-1,l-t);s[h]===m?y[h]=(c[h]>e[h]?-1:1)*o:x[h]=(u[h]>n[h]?-1:1)*o}}if(t!==o){let e="x"===h?"y":"x",t=s[h]===d[e],n=c[e]>u[e],o=c[e]=E?(a=(p.x+b.x)/2,i=f[0].y):(a=f[0].x,i=(p.y+b.y)/2)}let w=[e,{x:c.x+y.x,y:c.y+y.y},...f,{x:u.x+x.x,y:u.y+x.y},n];return[w,a,i,E,v]}({source:{x:e,y:t},sourcePosition:n,target:{x:o,y:r},targetPosition:l,center:{x:i,y:s},offset:d}),f=c.reduce((e,t,n)=>e+(n>0&&n{let[b,S,E]=ec({sourceX:e,sourceY:t,sourcePosition:u,targetX:n,targetY:o,targetPosition:g,borderRadius:y?.borderRadius,offset:y?.offset});return m.createElement(ee,{path:b,labelX:S,labelY:E,label:r,labelStyle:l,labelShowBg:a,labelBgStyle:i,labelBgPadding:s,labelBgBorderRadius:d,style:c,markerEnd:h,markerStart:f,interactionWidth:x})});eu.displayName="SmoothStepEdge";let eg=(0,m.memo)(e=>m.createElement(eu,{...e,pathOptions:(0,m.useMemo)(()=>({borderRadius:0,offset:e.pathOptions?.offset}),[e.pathOptions?.offset])}));eg.displayName="StepEdge";let eh=(0,m.memo)(({sourceX:e,sourceY:t,targetX:n,targetY:o,label:r,labelStyle:l,labelShowBg:a,labelBgStyle:i,labelBgPadding:s,labelBgBorderRadius:d,style:c,markerEnd:u,markerStart:g,interactionWidth:h})=>{let[p,f,y]=function({sourceX:e,sourceY:t,targetX:n,targetY:o}){let[r,l,a,i]=en({sourceX:e,sourceY:t,targetX:n,targetY:o});return[`M ${e},${t}L ${n},${o}`,r,l,a,i]}({sourceX:e,sourceY:t,targetX:n,targetY:o});return m.createElement(ee,{path:p,labelX:f,labelY:y,label:r,labelStyle:l,labelShowBg:a,labelBgStyle:i,labelBgPadding:s,labelBgBorderRadius:d,style:c,markerEnd:u,markerStart:g,interactionWidth:h})});function ep(e,t){return e>=0?.5*e:25*t*Math.sqrt(-e)}function em({pos:e,x1:t,y1:n,x2:o,y2:r,c:l}){switch(e){case p.Left:return[t-ep(t-o,l),n];case p.Right:return[t+ep(o-t,l),n];case p.Top:return[t,n-ep(n-r,l)];case p.Bottom:return[t,n+ep(r-n,l)]}}function ef({sourceX:e,sourceY:t,sourcePosition:n=p.Bottom,targetX:o,targetY:r,targetPosition:l=p.Top,curvature:a=.25}){let[i,s]=em({pos:n,x1:e,y1:t,x2:o,y2:r,c:a}),[d,c]=em({pos:l,x1:o,y1:r,x2:e,y2:t,c:a}),[u,g,h,m]=eo({sourceX:e,sourceY:t,targetX:o,targetY:r,sourceControlX:i,sourceControlY:s,targetControlX:d,targetControlY:c});return[`M${e},${t} C${i},${s} ${d},${c} ${o},${r}`,u,g,h,m]}eh.displayName="StraightEdge";let ey=(0,m.memo)(({sourceX:e,sourceY:t,targetX:n,targetY:o,sourcePosition:r=p.Bottom,targetPosition:l=p.Top,label:a,labelStyle:i,labelShowBg:s,labelBgStyle:d,labelBgPadding:c,labelBgBorderRadius:u,style:g,markerEnd:h,markerStart:f,pathOptions:y,interactionWidth:x})=>{let[b,S,E]=ef({sourceX:e,sourceY:t,sourcePosition:r,targetX:n,targetY:o,targetPosition:l,curvature:y?.curvature});return m.createElement(ee,{path:b,labelX:S,labelY:E,label:a,labelStyle:i,labelShowBg:s,labelBgStyle:d,labelBgPadding:c,labelBgBorderRadius:u,style:g,markerEnd:h,markerStart:f,interactionWidth:x})});ey.displayName="BezierEdge";let ex=(0,m.createContext)(null),eb=ex.Provider;ex.Consumer;let eS=()=>{let e=(0,m.useContext)(ex);return e},eE=e=>"id"in e&&"source"in e&&"target"in e,ev=({source:e,sourceHandle:t,target:n,targetHandle:o})=>`reactflow__edge-${e}${t||""}-${n}${o||""}`,ew=(e,t)=>{if(void 0===e)return"";if("string"==typeof e)return e;let n=t?`${t}__`:"";return`${n}${Object.keys(e).sort().map(t=>`${t}=${e[t]}`).join("&")}`},eM=(e,t)=>t.some(t=>t.source===e.source&&t.target===e.target&&(t.sourceHandle===e.sourceHandle||!t.sourceHandle&&!e.sourceHandle)&&(t.targetHandle===e.targetHandle||!t.targetHandle&&!e.targetHandle)),eC=(e,t)=>{let n;return e.source&&e.target?eM(n=eE(e)?{...e}:{...e,id:ev(e)},t)?t:t.concat(n):(j("006",C.error006()),t)},eN=({x:e,y:t},[n,o,r],l,[a,i])=>{let s={x:(e-n)/r,y:(t-o)/r};return l?{x:a*Math.round(s.x/a),y:i*Math.round(s.y/i)}:s},ek=({x:e,y:t},[n,o,r])=>({x:e*r+n,y:t*r+o}),eA=(e,t=[0,0])=>{if(!e)return{x:0,y:0,positionAbsolute:{x:0,y:0}};let n=(e.width??0)*t[0],o=(e.height??0)*t[1],r={x:e.position.x-n,y:e.position.y-o};return{...r,positionAbsolute:e.positionAbsolute?{x:e.positionAbsolute.x-n,y:e.positionAbsolute.y-o}:r}},eI=(e,t=[0,0])=>{if(0===e.length)return{x:0,y:0,width:0,height:0};let n=e.reduce((e,n)=>{let{x:o,y:r}=eA(n,t).positionAbsolute;return L(e,H({x:o,y:r,width:n.width||0,height:n.height||0}))},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return F(n)},eR=(e,t,[n,o,r]=[0,0,1],l=!1,a=!1,i=[0,0])=>{let s={x:(t.x-n)/r,y:(t.y-o)/r,width:t.width/r,height:t.height/r},d=[];return e.forEach(e=>{let{width:t,height:n,selectable:o=!0,hidden:r=!1}=e;if(a&&!o||r)return!1;let{positionAbsolute:c}=eA(e,i),u={x:c.x,y:c.y,width:t||0,height:n||0},g=X(s,u);(void 0===t||void 0===n||null===t||null===n||l&&g>0||g>=(t||0)*(n||0)||e.dragging)&&d.push(e)}),d},eP=(e,t)=>{let n=e.map(e=>e.id);return t.filter(e=>n.includes(e.source)||n.includes(e.target))},e_=(e,t,n,o,r,l=.1)=>{let a=t/(e.width*(1+l)),i=n/(e.height*(1+l)),s=O(Math.min(a,i),o,r),d=e.x+e.width/2,c=e.y+e.height/2;return{x:t/2-d*s,y:n/2-c*s,zoom:s}},e$=(e,t=0)=>e.transition().duration(t);function eO(e,t,n,o){return(t[n]||[]).reduce((t,r)=>(`${e.id}-${r.id}-${n}`!==o&&t.push({id:r.id||null,type:n,nodeId:e.id,x:(e.positionAbsolute?.x??0)+r.x+r.width/2,y:(e.positionAbsolute?.y??0)+r.y+r.height/2}),t),[])}let eB={source:null,target:null,sourceHandle:null,targetHandle:null},eD=()=>({handleDomNode:null,isValid:!1,connection:eB,endHandle:null});function ez(e,t,n,o,r,l,a){let i="target"===r,s=a.querySelector(`.react-flow__handle[data-id="${e?.nodeId}-${e?.id}-${e?.type}"]`),c={...eD(),handleDomNode:s};if(s){let e=eT(void 0,s),r=s.getAttribute("data-nodeid"),a=s.getAttribute("data-handleid"),u=s.classList.contains("connectable"),g=s.classList.contains("connectableend"),h={source:i?r:n,sourceHandle:i?a:o,target:i?n:r,targetHandle:i?o:a};c.connection=h;let p=u&&g&&(t===d.Strict?i&&"source"===e||!i&&"target"===e:r!==n||a!==o);p&&(c.endHandle={nodeId:r,handleId:a,type:e},c.isValid=l(h))}return c}function eT(e,t){return e||(t?.classList.contains("target")?"target":t?.classList.contains("source")?"source":null)}function eL(e){e?.classList.remove("valid","connecting","react-flow__handle-valid","react-flow__handle-connecting")}function eH({event:e,handleId:t,nodeId:n,onConnect:o,isTarget:r,getState:l,setState:a,isValidConnection:i,edgeUpdaterType:s,onReconnectEnd:d}){let c,u;let g=T(e.target),{connectionMode:h,domNode:p,autoPanOnConnect:m,connectionRadius:f,onConnectStart:y,panBy:x,getNodes:b,cancelConnection:S}=l(),E=0,{x:v,y:w}=Q(e),M=g?.elementFromPoint(v,w),C=eT(s,M),N=p?.getBoundingClientRect();if(!N||!C)return;let k=Q(e,N),A=!1,I=null,R=!1,P=null,_=function({nodes:e,nodeId:t,handleId:n,handleType:o}){return e.reduce((e,r)=>{if(r[Y]){let{handleBounds:l}=r[Y],a=[],i=[];l&&(a=eO(r,l,"source",`${t}-${n}-${o}`),i=eO(r,l,"target",`${t}-${n}-${o}`)),e.push(...a,...i)}return e},[])}({nodes:b(),nodeId:n,handleId:t,handleType:C}),$=()=>{if(!m)return;let[e,t]=z(k,N);x({x:e,y:t}),E=requestAnimationFrame($)};function O(e){var o,s;let d;let{transform:p}=l();k=Q(e,N);let{handle:m,validHandleResult:y}=function(e,t,n,o,r,l){let{x:a,y:i}=Q(e),s=t.elementsFromPoint(a,i),d=s.find(e=>e.classList.contains("react-flow__handle"));if(d){let e=d.getAttribute("data-nodeid");if(e){let t=eT(void 0,d),o=d.getAttribute("data-handleid"),a=l({nodeId:e,id:o,type:t});if(a){let l=r.find(n=>n.nodeId===e&&n.type===t&&n.id===o);return{handle:{id:o,type:t,nodeId:e,x:l?.x||n.x,y:l?.y||n.y},validHandleResult:a}}}}let c=[],u=1/0;if(r.forEach(e=>{let t=Math.sqrt((e.x-n.x)**2+(e.y-n.y)**2);if(t<=o){let n=l(e);t<=u&&(te.isValid),h=c.some(({handle:e})=>"target"===e.type);return c.find(({handle:e,validHandleResult:t})=>h?"target"===e.type:!g||t.isValid)||c[0]}(e,g,eN(k,p,!1,[1,1]),f,_,e=>ez(e,h,n,t,r?"target":"source",i,g));if(c=m,A||($(),A=!0),P=y.handleDomNode,I=y.connection,R=y.isValid,a({connectionPosition:c&&R?ek({x:c.x,y:c.y},p):k,connectionStatus:(o=!!c,d=null,(s=R)?d="valid":o&&!s&&(d="invalid"),d),connectionEndHandle:y.endHandle}),!c&&!R&&!P)return eL(u);I.source!==I.target&&P&&(eL(u),u=P,P.classList.add("connecting","react-flow__handle-connecting"),P.classList.toggle("valid",R),P.classList.toggle("react-flow__handle-valid",R))}function B(e){(c||P)&&I&&R&&o?.(I),l().onConnectEnd?.(e),s&&d?.(e),eL(u),S(),cancelAnimationFrame(E),A=!1,R=!1,I=null,P=null,g.removeEventListener("mousemove",O),g.removeEventListener("mouseup",B),g.removeEventListener("touchmove",O),g.removeEventListener("touchend",B)}a({connectionPosition:k,connectionStatus:null,connectionNodeId:n,connectionHandleId:t,connectionHandleType:C,connectionStartHandle:{nodeId:n,handleId:t,type:C},connectionEndHandle:null}),y?.(e,{nodeId:n,handleId:t,handleType:C}),g.addEventListener("mousemove",O),g.addEventListener("mouseup",B),g.addEventListener("touchmove",O),g.addEventListener("touchend",B)}let eF=()=>!0,eZ=e=>({connectionStartHandle:e.connectionStartHandle,connectOnClick:e.connectOnClick,noPanClassName:e.noPanClassName}),eX=(e,t,n)=>o=>{let{connectionStartHandle:r,connectionEndHandle:l,connectionClickStartHandle:a}=o;return{connecting:r?.nodeId===e&&r?.handleId===t&&r?.type===n||l?.nodeId===e&&l?.handleId===t&&l?.type===n,clickConnecting:a?.nodeId===e&&a?.handleId===t&&a?.type===n}},eV=(0,m.forwardRef)(({type:e="source",position:t=p.Top,isValidConnection:n,isConnectable:o=!0,isConnectableStart:r=!0,isConnectableEnd:l=!0,id:a,onConnect:i,children:s,className:d,onMouseDown:c,onTouchStart:u,...g},h)=>{let y=a||null,b="target"===e,S=A(),E=eS(),{connectOnClick:v,noPanClassName:w}=k(eZ,x.X),{connecting:M,clickConnecting:N}=k(eX(E,y,e),x.X);E||S.getState().onError?.("010",C.error010());let I=e=>{let{defaultEdgeOptions:t,onConnect:n,hasDefaultEdges:o}=S.getState(),r={...t,...e};if(o){let{edges:e,setEdges:t}=S.getState();t(eC(r,e))}n?.(r),i?.(r)},R=e=>{if(!E)return;let t=G(e);r&&(t&&0===e.button||!t)&&eH({event:e,handleId:y,nodeId:E,onConnect:I,isTarget:b,getState:S.getState,setState:S.setState,isValidConnection:n||S.getState().isValidConnection||eF}),t?c?.(e):u?.(e)};return m.createElement("div",{"data-handleid":y,"data-nodeid":E,"data-handlepos":t,"data-id":`${E}-${y}-${e}`,className:(0,f.Z)(["react-flow__handle",`react-flow__handle-${t}`,"nodrag",w,d,{source:!b,target:b,connectable:o,connectablestart:r,connectableend:l,connecting:N,connectionindicator:o&&(r&&!M||l&&M)}]),onMouseDown:R,onTouchStart:R,onClick:v?t=>{let{onClickConnectStart:o,onClickConnectEnd:l,connectionClickStartHandle:a,connectionMode:i,isValidConnection:s}=S.getState();if(!E||!a&&!r)return;if(!a){o?.(t,{nodeId:E,handleId:y,handleType:e}),S.setState({connectionClickStartHandle:{nodeId:E,type:e,handleId:y}});return}let d=T(t.target),c=n||s||eF,{connection:u,isValid:g}=ez({nodeId:E,id:y,type:e},i,a.nodeId,a.handleId||null,a.type,c,d);g&&I(u),l?.(t),S.setState({connectionClickStartHandle:null})}:void 0,ref:h,...g},s)});eV.displayName="Handle";var eK=(0,m.memo)(eV);let eY=({data:e,isConnectable:t,targetPosition:n=p.Top,sourcePosition:o=p.Bottom})=>m.createElement(m.Fragment,null,m.createElement(eK,{type:"target",position:n,isConnectable:t}),e?.label,m.createElement(eK,{type:"source",position:o,isConnectable:t}));eY.displayName="DefaultNode";var eW=(0,m.memo)(eY);let ej=({data:e,isConnectable:t,sourcePosition:n=p.Bottom})=>m.createElement(m.Fragment,null,e?.label,m.createElement(eK,{type:"source",position:n,isConnectable:t}));ej.displayName="InputNode";var eU=(0,m.memo)(ej);let eq=({data:e,isConnectable:t,targetPosition:n=p.Top})=>m.createElement(m.Fragment,null,m.createElement(eK,{type:"target",position:n,isConnectable:t}),e?.label);eq.displayName="OutputNode";var eG=(0,m.memo)(eq);let eQ=()=>null;eQ.displayName="GroupNode";let eJ=e=>({selectedNodes:e.getNodes().filter(e=>e.selected),selectedEdges:e.edges.filter(e=>e.selected).map(e=>({...e}))}),e0=e=>e.id;function e1(e,t){return(0,x.X)(e.selectedNodes.map(e0),t.selectedNodes.map(e0))&&(0,x.X)(e.selectedEdges.map(e0),t.selectedEdges.map(e0))}let e2=(0,m.memo)(({onSelectionChange:e})=>{let t=A(),{selectedNodes:n,selectedEdges:o}=k(eJ,e1);return(0,m.useEffect)(()=>{let r={nodes:n,edges:o};e?.(r),t.getState().onSelectionChange.forEach(e=>e(r))},[n,o,e]),null});e2.displayName="SelectionListener";let e5=e=>!!e.onSelectionChange;function e3({onSelectionChange:e}){let t=k(e5);return e||t?m.createElement(e2,{onSelectionChange:e}):null}let e4=e=>({setNodes:e.setNodes,setEdges:e.setEdges,setDefaultNodesAndEdges:e.setDefaultNodesAndEdges,setMinZoom:e.setMinZoom,setMaxZoom:e.setMaxZoom,setTranslateExtent:e.setTranslateExtent,setNodeExtent:e.setNodeExtent,reset:e.reset});function e7(e,t){(0,m.useEffect)(()=>{void 0!==e&&t(e)},[e])}function e8(e,t,n){(0,m.useEffect)(()=>{void 0!==t&&n({[e]:t})},[t])}let e6=({nodes:e,edges:t,defaultNodes:n,defaultEdges:o,onConnect:r,onConnectStart:l,onConnectEnd:a,onClickConnectStart:i,onClickConnectEnd:s,nodesDraggable:d,nodesConnectable:c,nodesFocusable:u,edgesFocusable:g,edgesUpdatable:h,elevateNodesOnSelect:p,minZoom:f,maxZoom:y,nodeExtent:b,onNodesChange:S,onEdgesChange:E,elementsSelectable:v,connectionMode:w,snapGrid:M,snapToGrid:C,translateExtent:N,connectOnClick:I,defaultEdgeOptions:R,fitView:P,fitViewOptions:_,onNodesDelete:$,onEdgesDelete:O,onNodeDrag:B,onNodeDragStart:D,onNodeDragStop:z,onSelectionDrag:T,onSelectionDragStart:L,onSelectionDragStop:H,noPanClassName:F,nodeOrigin:Z,rfId:X,autoPanOnConnect:V,autoPanOnNodeDrag:K,onError:Y,connectionRadius:W,isValidConnection:j,nodeDragThreshold:U})=>{let{setNodes:q,setEdges:G,setDefaultNodesAndEdges:Q,setMinZoom:J,setMaxZoom:ee,setTranslateExtent:et,setNodeExtent:en,reset:eo}=k(e4,x.X),er=A();return(0,m.useEffect)(()=>{let e=o?.map(e=>({...e,...R}));return Q(n,e),()=>{eo()}},[]),e8("defaultEdgeOptions",R,er.setState),e8("connectionMode",w,er.setState),e8("onConnect",r,er.setState),e8("onConnectStart",l,er.setState),e8("onConnectEnd",a,er.setState),e8("onClickConnectStart",i,er.setState),e8("onClickConnectEnd",s,er.setState),e8("nodesDraggable",d,er.setState),e8("nodesConnectable",c,er.setState),e8("nodesFocusable",u,er.setState),e8("edgesFocusable",g,er.setState),e8("edgesUpdatable",h,er.setState),e8("elementsSelectable",v,er.setState),e8("elevateNodesOnSelect",p,er.setState),e8("snapToGrid",C,er.setState),e8("snapGrid",M,er.setState),e8("onNodesChange",S,er.setState),e8("onEdgesChange",E,er.setState),e8("connectOnClick",I,er.setState),e8("fitViewOnInit",P,er.setState),e8("fitViewOnInitOptions",_,er.setState),e8("onNodesDelete",$,er.setState),e8("onEdgesDelete",O,er.setState),e8("onNodeDrag",B,er.setState),e8("onNodeDragStart",D,er.setState),e8("onNodeDragStop",z,er.setState),e8("onSelectionDrag",T,er.setState),e8("onSelectionDragStart",L,er.setState),e8("onSelectionDragStop",H,er.setState),e8("noPanClassName",F,er.setState),e8("nodeOrigin",Z,er.setState),e8("rfId",X,er.setState),e8("autoPanOnConnect",V,er.setState),e8("autoPanOnNodeDrag",K,er.setState),e8("onError",Y,er.setState),e8("connectionRadius",W,er.setState),e8("isValidConnection",j,er.setState),e8("nodeDragThreshold",U,er.setState),e7(e,q),e7(t,G),e7(f,J),e7(y,ee),e7(N,et),e7(b,en),null},e9={display:"none"},te={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},tt="react-flow__node-desc",tn="react-flow__edge-desc",to=e=>e.ariaLiveMessage;function tr({rfId:e}){let t=k(to);return m.createElement("div",{id:`react-flow__aria-live-${e}`,"aria-live":"assertive","aria-atomic":"true",style:te},t)}function tl({rfId:e,disableKeyboardA11y:t}){return m.createElement(m.Fragment,null,m.createElement("div",{id:`${tt}-${e}`,style:e9},"Press enter or space to select a node.",!t&&"You can then use the arrow keys to move the node around."," Press delete to remove it and escape to cancel."," "),m.createElement("div",{id:`${tn}-${e}`,style:e9},"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel."),!t&&m.createElement(tr,{rfId:e}))}var ta=(e=null,t={actInsideInputWithModifier:!0})=>{let[n,o]=(0,m.useState)(!1),r=(0,m.useRef)(!1),l=(0,m.useRef)(new Set([])),[a,i]=(0,m.useMemo)(()=>{if(null!==e){let t=Array.isArray(e)?e:[e],n=t.filter(e=>"string"==typeof e).map(e=>e.split("+")),o=n.reduce((e,t)=>e.concat(...t),[]);return[n,o]}return[[],[]]},[e]);return(0,m.useEffect)(()=>{let n=t?.target||("undefined"!=typeof document?document:null);if(null!==e){let e=e=>{r.current=e.ctrlKey||e.metaKey||e.shiftKey;let n=(!r.current||r.current&&!t.actInsideInputWithModifier)&&q(e);if(n)return!1;let s=ts(e.code,i);l.current.add(e[s]),ti(a,l.current,!1)&&(e.preventDefault(),o(!0))},s=e=>{let n=(!r.current||r.current&&!t.actInsideInputWithModifier)&&q(e);if(n)return!1;let s=ts(e.code,i);ti(a,l.current,!0)?(o(!1),l.current.clear()):l.current.delete(e[s]),"Meta"===e.key&&l.current.clear(),r.current=!1},d=()=>{l.current.clear(),o(!1)};return n?.addEventListener("keydown",e),n?.addEventListener("keyup",s),window.addEventListener("blur",d),()=>{n?.removeEventListener("keydown",e),n?.removeEventListener("keyup",s),window.removeEventListener("blur",d)}}},[e,o]),n};function ti(e,t,n){return e.filter(e=>n||e.length===t.size).some(e=>e.every(e=>t.has(e)))}function ts(e,t){return t.includes(e)?"code":"key"}function td(e,t,n){e.forEach(o=>{let r=o.parentNode||o.parentId;if(r&&!e.has(r))throw Error(`Parent node ${r} not found`);if(r||n?.[o.id]){let{x:r,y:l,z:a}=function e(t,n,o,r){let l=t.parentNode||t.parentId;if(!l)return o;let a=n.get(l),i=eA(a,r);return e(a,n,{x:(o.x??0)+i.x,y:(o.y??0)+i.y,z:(a[Y]?.z??0)>(o.z??0)?a[Y]?.z??0:o.z??0},r)}(o,e,{...o.position,z:o[Y]?.z??0},t);o.positionAbsolute={x:r,y:l},o[Y].z=a,n?.[o.id]&&(o[Y].isParent=!0)}})}function tc(e,t,n,o){let r=new Map,l={},a=o?1e3:0;return e.forEach(e=>{let n=(K(e.zIndex)?e.zIndex:0)+(e.selected?a:0),o=t.get(e.id),i={...e,positionAbsolute:{x:e.position.x,y:e.position.y}},s=e.parentNode||e.parentId;s&&(l[s]=!0);let d=o?.type&&o?.type!==e.type;Object.defineProperty(i,Y,{enumerable:!1,value:{handleBounds:d?void 0:o?.[Y]?.handleBounds,z:n}}),r.set(e.id,i)}),td(r,n,l),r}function tu(e,t={}){let{getNodes:n,width:o,height:r,minZoom:l,maxZoom:a,d3Zoom:i,d3Selection:s,fitViewOnInitDone:d,fitViewOnInit:c,nodeOrigin:u}=e(),g=t.initial&&!d&&c,h=i&&s;if(h&&(g||!t.initial)){let e=n().filter(e=>{let n=t.includeHiddenNodes?e.width&&e.height:!e.hidden;return t.nodes?.length?n&&t.nodes.some(t=>t.id===e.id):n}),d=e.every(e=>e.width&&e.height);if(e.length>0&&d){let n=eI(e,u),{x:d,y:c,zoom:g}=e_(n,o,r,t.minZoom??l,t.maxZoom??a,t.padding??.1),h=b.CR.translate(d,c).scale(g);return"number"==typeof t.duration&&t.duration>0?i.transform(e$(s,t.duration),h):i.transform(s,h),!0}}return!1}function tg({changedNodes:e,changedEdges:t,get:n,set:o}){let{nodeInternals:r,edges:l,onNodesChange:a,onEdgesChange:i,hasDefaultNodes:s,hasDefaultEdges:d}=n();e?.length&&(s&&o({nodeInternals:(e.forEach(e=>{let t=r.get(e.id);t&&r.set(t.id,{...t,[Y]:t[Y],selected:e.selected})}),new Map(r))}),a?.(e)),t?.length&&(d&&o({edges:l.map(e=>{let n=t.find(t=>t.id===e.id);return n&&(e.selected=n.selected),e})}),i?.(t))}let th=()=>{},tp={zoomIn:th,zoomOut:th,zoomTo:th,getZoom:()=>1,setViewport:th,getViewport:()=>({x:0,y:0,zoom:1}),fitView:()=>!1,setCenter:th,fitBounds:th,project:e=>e,screenToFlowPosition:e=>e,flowToScreenPosition:e=>e,viewportInitialized:!1},tm=e=>({d3Zoom:e.d3Zoom,d3Selection:e.d3Selection}),tf=()=>{let e=A(),{d3Zoom:t,d3Selection:n}=k(tm,x.X),o=(0,m.useMemo)(()=>n&&t?{zoomIn:e=>t.scaleBy(e$(n,e?.duration),1.2),zoomOut:e=>t.scaleBy(e$(n,e?.duration),1/1.2),zoomTo:(e,o)=>t.scaleTo(e$(n,o?.duration),e),getZoom:()=>e.getState().transform[2],setViewport:(o,r)=>{let[l,a,i]=e.getState().transform,s=b.CR.translate(o.x??l,o.y??a).scale(o.zoom??i);t.transform(e$(n,r?.duration),s)},getViewport:()=>{let[t,n,o]=e.getState().transform;return{x:t,y:n,zoom:o}},fitView:t=>tu(e.getState,t),setCenter:(o,r,l)=>{let{width:a,height:i,maxZoom:s}=e.getState(),d=void 0!==l?.zoom?l.zoom:s,c=a/2-o*d,u=i/2-r*d,g=b.CR.translate(c,u).scale(d);t.transform(e$(n,l?.duration),g)},fitBounds:(o,r)=>{let{width:l,height:a,minZoom:i,maxZoom:s}=e.getState(),{x:d,y:c,zoom:u}=e_(o,l,a,i,s,r?.padding??.1),g=b.CR.translate(d,c).scale(u);t.transform(e$(n,r?.duration),g)},project:t=>{let{transform:n,snapToGrid:o,snapGrid:r}=e.getState();return console.warn("[DEPRECATED] `project` is deprecated. Instead use `screenToFlowPosition`. There is no need to subtract the react flow bounds anymore! https://reactflow.dev/api-reference/types/react-flow-instance#screen-to-flow-position"),eN(t,n,o,r)},screenToFlowPosition:t=>{let{transform:n,snapToGrid:o,snapGrid:r,domNode:l}=e.getState();if(!l)return t;let{x:a,y:i}=l.getBoundingClientRect(),s={x:t.x-a,y:t.y-i};return eN(s,n,o,r)},flowToScreenPosition:t=>{let{transform:n,domNode:o}=e.getState();if(!o)return t;let{x:r,y:l}=o.getBoundingClientRect(),a=ek(t,n);return{x:a.x+r,y:a.y+l}},viewportInitialized:!0}:tp,[t,n]);return o};function ty(){let e=tf(),t=A(),n=(0,m.useCallback)(()=>t.getState().getNodes().map(e=>({...e})),[]),o=(0,m.useCallback)(e=>t.getState().nodeInternals.get(e),[]),r=(0,m.useCallback)(()=>{let{edges:e=[]}=t.getState();return e.map(e=>({...e}))},[]),l=(0,m.useCallback)(e=>{let{edges:n=[]}=t.getState();return n.find(t=>t.id===e)},[]),a=(0,m.useCallback)(e=>{let{getNodes:n,setNodes:o,hasDefaultNodes:r,onNodesChange:l}=t.getState(),a=n(),i="function"==typeof e?e(a):e;if(r)o(i);else if(l){let e=0===i.length?a.map(e=>({type:"remove",id:e.id})):i.map(e=>({item:e,type:"reset"}));l(e)}},[]),i=(0,m.useCallback)(e=>{let{edges:n=[],setEdges:o,hasDefaultEdges:r,onEdgesChange:l}=t.getState(),a="function"==typeof e?e(n):e;if(r)o(a);else if(l){let e=0===a.length?n.map(e=>({type:"remove",id:e.id})):a.map(e=>({item:e,type:"reset"}));l(e)}},[]),s=(0,m.useCallback)(e=>{let n=Array.isArray(e)?e:[e],{getNodes:o,setNodes:r,hasDefaultNodes:l,onNodesChange:a}=t.getState();if(l){let e=o(),t=[...e,...n];r(t)}else if(a){let e=n.map(e=>({item:e,type:"add"}));a(e)}},[]),d=(0,m.useCallback)(e=>{let n=Array.isArray(e)?e:[e],{edges:o=[],setEdges:r,hasDefaultEdges:l,onEdgesChange:a}=t.getState();if(l)r([...o,...n]);else if(a){let e=n.map(e=>({item:e,type:"add"}));a(e)}},[]),c=(0,m.useCallback)(()=>{let{getNodes:e,edges:n=[],transform:o}=t.getState(),[r,l,a]=o;return{nodes:e().map(e=>({...e})),edges:n.map(e=>({...e})),viewport:{x:r,y:l,zoom:a}}},[]),u=(0,m.useCallback)(({nodes:e,edges:n})=>{let{nodeInternals:o,getNodes:r,edges:l,hasDefaultNodes:a,hasDefaultEdges:i,onNodesDelete:s,onEdgesDelete:d,onNodesChange:c,onEdgesChange:u}=t.getState(),g=(e||[]).map(e=>e.id),h=(n||[]).map(e=>e.id),p=r().reduce((e,t)=>{let n=t.parentNode||t.parentId,o=!g.includes(t.id)&&n&&e.find(e=>e.id===n),r="boolean"!=typeof t.deletable||t.deletable;return r&&(g.includes(t.id)||o)&&e.push(t),e},[]),m=l.filter(e=>"boolean"!=typeof e.deletable||e.deletable),f=m.filter(e=>h.includes(e.id));if(p||f){let e=eP(p,m),n=[...f,...e],r=n.reduce((e,t)=>(e.includes(t.id)||e.push(t.id),e),[]);if((i||a)&&(i&&t.setState({edges:l.filter(e=>!r.includes(e.id))}),a&&(p.forEach(e=>{o.delete(e.id)}),t.setState({nodeInternals:new Map(o)}))),r.length>0&&(d?.(n),u&&u(r.map(e=>({id:e,type:"remove"})))),p.length>0&&(s?.(p),c)){let e=p.map(e=>({id:e.id,type:"remove"}));c(e)}}},[]),g=(0,m.useCallback)(e=>{let n=V(e),o=n?null:t.getState().nodeInternals.get(e.id);if(!n&&!o)return[null,null,n];let r=n?e:Z(o);return[r,o,n]},[]),h=(0,m.useCallback)((e,n=!0,o)=>{let[r,l,a]=g(e);return r?(o||t.getState().getNodes()).filter(e=>{if(!a&&(e.id===l.id||!e.positionAbsolute))return!1;let t=Z(e),o=X(t,r);return n&&o>0||o>=r.width*r.height}):[]},[]),p=(0,m.useCallback)((e,t,n=!0)=>{let[o]=g(e);if(!o)return!1;let r=X(o,t);return n&&r>0||r>=o.width*o.height},[]);return(0,m.useMemo)(()=>({...e,getNodes:n,getNode:o,getEdges:r,getEdge:l,setNodes:a,setEdges:i,addNodes:s,addEdges:d,toObject:c,deleteElements:u,getIntersectingNodes:h,isNodeIntersecting:p}),[e,n,o,r,l,a,i,s,d,c,u,h,p])}let tx={actInsideInputWithModifier:!1};var tb=({deleteKeyCode:e,multiSelectionKeyCode:t})=>{let n=A(),{deleteElements:o}=ty(),r=ta(e,tx),l=ta(t);(0,m.useEffect)(()=>{if(r){let{edges:e,getNodes:t}=n.getState(),r=t().filter(e=>e.selected),l=e.filter(e=>e.selected);o({nodes:r,edges:l}),n.setState({nodesSelectionActive:!1})}},[r]),(0,m.useEffect)(()=>{n.setState({multiSelectionActive:l})},[l])};let tS={position:"absolute",width:"100%",height:"100%",top:0,left:0},tE=(e,t)=>e.x!==t.x||e.y!==t.y||e.zoom!==t.k,tv=e=>({x:e.x,y:e.y,zoom:e.k}),tw=(e,t)=>e.target.closest(`.${t}`),tM=(e,t)=>2===t&&Array.isArray(e)&&e.includes(2),tC=e=>{let t=e.ctrlKey&&J()?10:1;return-e.deltaY*(1===e.deltaMode?.05:e.deltaMode?1:.002)*t},tN=e=>({d3Zoom:e.d3Zoom,d3Selection:e.d3Selection,d3ZoomHandler:e.d3ZoomHandler,userSelectionActive:e.userSelectionActive}),tk=({onMove:e,onMoveStart:t,onMoveEnd:n,onPaneContextMenu:o,zoomOnScroll:r=!0,zoomOnPinch:l=!0,panOnScroll:a=!1,panOnScrollSpeed:i=.5,panOnScrollMode:s=c.Free,zoomOnDoubleClick:d=!0,elementsSelectable:u,panOnDrag:g=!0,defaultViewport:h,translateExtent:p,minZoom:f,maxZoom:y,zoomActivationKeyCode:v,preventScrolling:w=!0,children:M,noWheelClassName:N,noPanClassName:I})=>{let R=(0,m.useRef)(),P=A(),_=(0,m.useRef)(!1),B=(0,m.useRef)(!1),D=(0,m.useRef)(null),z=(0,m.useRef)({x:0,y:0,zoom:0}),{d3Zoom:T,d3Selection:L,d3ZoomHandler:H,userSelectionActive:F}=k(tN,x.X),Z=ta(v),X=(0,m.useRef)(0),V=(0,m.useRef)(!1),K=(0,m.useRef)();return!function(e){let t=A();(0,m.useEffect)(()=>{let n;let o=()=>{if(!e.current)return;let n=$(e.current);(0===n.height||0===n.width)&&t.getState().onError?.("004",C.error004()),t.setState({width:n.width||500,height:n.height||500})};return o(),window.addEventListener("resize",o),e.current&&(n=new ResizeObserver(()=>o())).observe(e.current),()=>{window.removeEventListener("resize",o),n&&e.current&&n.unobserve(e.current)}},[])}(D),(0,m.useEffect)(()=>{if(D.current){let e=D.current.getBoundingClientRect(),t=(0,b.sP)().scaleExtent([f,y]).translateExtent(p),n=(0,S.Z)(D.current).call(t),o=b.CR.translate(h.x,h.y).scale(O(h.zoom,f,y)),r=[[0,0],[e.width,e.height]],l=t.constrain()(o,r,p);t.transform(n,l),t.wheelDelta(tC),P.setState({d3Zoom:t,d3Selection:n,d3ZoomHandler:n.on("wheel.zoom"),transform:[l.x,l.y,l.k],domNode:D.current.closest(".react-flow")})}},[]),(0,m.useEffect)(()=>{L&&T&&(!a||Z||F?void 0!==H&&L.on("wheel.zoom",function(e,t){let n=!w&&"wheel"===e.type&&!e.ctrlKey;if(n||tw(e,N))return null;e.preventDefault(),H.call(this,e,t)},{passive:!1}):L.on("wheel.zoom",o=>{if(tw(o,N))return!1;o.preventDefault(),o.stopImmediatePropagation();let r=L.property("__zoom").k||1;if(o.ctrlKey&&l){let e=(0,E.Z)(o),t=tC(o),n=r*Math.pow(2,t);T.scaleTo(L,n,e,o);return}let a=1===o.deltaMode?20:1,d=s===c.Vertical?0:o.deltaX*a,u=s===c.Horizontal?0:o.deltaY*a;!J()&&o.shiftKey&&s!==c.Vertical&&(d=o.deltaY*a,u=0),T.translateBy(L,-(d/r)*i,-(u/r)*i,{internal:!0});let g=tv(L.property("__zoom")),{onViewportChangeStart:h,onViewportChange:p,onViewportChangeEnd:m}=P.getState();clearTimeout(K.current),V.current||(V.current=!0,t?.(o,g),h?.(g)),V.current&&(e?.(o,g),p?.(g),K.current=setTimeout(()=>{n?.(o,g),m?.(g),V.current=!1},150))},{passive:!1}))},[F,a,s,L,T,H,Z,l,w,N,t,e,n]),(0,m.useEffect)(()=>{T&&T.on("start",e=>{if(!e.sourceEvent||e.sourceEvent.internal)return null;X.current=e.sourceEvent?.button;let{onViewportChangeStart:n}=P.getState(),o=tv(e.transform);_.current=!0,z.current=o,e.sourceEvent?.type==="mousedown"&&P.setState({paneDragging:!0}),n?.(o),t?.(e.sourceEvent,o)})},[T,t]),(0,m.useEffect)(()=>{T&&(F&&!_.current?T.on("zoom",null):F||T.on("zoom",t=>{let{onViewportChange:n}=P.getState();if(P.setState({transform:[t.transform.x,t.transform.y,t.transform.k]}),B.current=!!(o&&tM(g,X.current??0)),(e||n)&&!t.sourceEvent?.internal){let o=tv(t.transform);n?.(o),e?.(t.sourceEvent,o)}}))},[F,T,e,g,o]),(0,m.useEffect)(()=>{T&&T.on("end",e=>{if(!e.sourceEvent||e.sourceEvent.internal)return null;let{onViewportChangeEnd:t}=P.getState();if(_.current=!1,P.setState({paneDragging:!1}),o&&tM(g,X.current??0)&&!B.current&&o(e.sourceEvent),B.current=!1,(n||t)&&tE(z.current,e.transform)){let o=tv(e.transform);z.current=o,clearTimeout(R.current),R.current=setTimeout(()=>{t?.(o),n?.(e.sourceEvent,o)},a?150:0)}})},[T,a,g,n,o]),(0,m.useEffect)(()=>{T&&T.filter(e=>{let t=Z||r,n=l&&e.ctrlKey;if((!0===g||Array.isArray(g)&&g.includes(1))&&1===e.button&&"mousedown"===e.type&&(tw(e,"react-flow__node")||tw(e,"react-flow__edge")))return!0;if(!g&&!t&&!a&&!d&&!l||F||!d&&"dblclick"===e.type||tw(e,N)&&"wheel"===e.type||tw(e,I)&&("wheel"!==e.type||a&&"wheel"===e.type&&!Z)||!l&&e.ctrlKey&&"wheel"===e.type||!t&&!a&&!n&&"wheel"===e.type||!g&&("mousedown"===e.type||"touchstart"===e.type)||Array.isArray(g)&&!g.includes(e.button)&&"mousedown"===e.type)return!1;let o=Array.isArray(g)&&g.includes(e.button)||!e.button||e.button<=1;return(!e.ctrlKey||"wheel"===e.type)&&o})},[F,T,r,l,a,d,g,u,Z]),m.createElement("div",{className:"react-flow__renderer",ref:D,style:tS},M)},tA=e=>({userSelectionActive:e.userSelectionActive,userSelectionRect:e.userSelectionRect});function tI(){let{userSelectionActive:e,userSelectionRect:t}=k(tA,x.X);return e&&t?m.createElement("div",{className:"react-flow__selection react-flow__container",style:{width:t.width,height:t.height,transform:`translate(${t.x}px, ${t.y}px)`}}):null}function tR(e,t){let n=t.parentNode||t.parentId,o=e.find(e=>e.id===n);if(o){let e=t.position.x+t.width-o.width,n=t.position.y+t.height-o.height;if(e>0||n>0||t.position.x<0||t.position.y<0){if(o.style={...o.style},o.style.width=o.style.width??o.width,o.style.height=o.style.height??o.height,e>0&&(o.style.width+=e),n>0&&(o.style.height+=n),t.position.x<0){let e=Math.abs(t.position.x);o.position.x=o.position.x-e,o.style.width+=e,t.position.x=0}if(t.position.y<0){let e=Math.abs(t.position.y);o.position.y=o.position.y-e,o.style.height+=e,t.position.y=0}o.width=o.style.width,o.height=o.style.height}}}function tP(e,t){if(e.some(e=>"reset"===e.type))return e.filter(e=>"reset"===e.type).map(e=>e.item);let n=e.filter(e=>"add"===e.type).map(e=>e.item);return t.reduce((t,n)=>{let o=e.filter(e=>e.id===n.id);if(0===o.length)return t.push(n),t;let r={...n};for(let e of o)if(e)switch(e.type){case"select":r.selected=e.selected;break;case"position":void 0!==e.position&&(r.position=e.position),void 0!==e.positionAbsolute&&(r.positionAbsolute=e.positionAbsolute),void 0!==e.dragging&&(r.dragging=e.dragging),r.expandParent&&tR(t,r);break;case"dimensions":void 0!==e.dimensions&&(r.width=e.dimensions.width,r.height=e.dimensions.height),void 0!==e.updateStyle&&(r.style={...r.style||{},...e.dimensions}),"boolean"==typeof e.resizing&&(r.resizing=e.resizing),r.expandParent&&tR(t,r);break;case"remove":return t}return t.push(r),t},n)}function t_(e,t){return tP(e,t)}let t$=(e,t)=>({id:e,type:"select",selected:t});function tO(e,t){return e.reduce((e,n)=>{let o=t.includes(n.id);return!n.selected&&o?(n.selected=!0,e.push(t$(n.id,!0))):n.selected&&!o&&(n.selected=!1,e.push(t$(n.id,!1))),e},[])}let tB=(e,t)=>n=>{n.target===t.current&&e?.(n)},tD=e=>({userSelectionActive:e.userSelectionActive,elementsSelectable:e.elementsSelectable,dragging:e.paneDragging}),tz=(0,m.memo)(({isSelecting:e,selectionMode:t=u.Full,panOnDrag:n,onSelectionStart:o,onSelectionEnd:r,onPaneClick:l,onPaneContextMenu:a,onPaneScroll:i,onPaneMouseEnter:s,onPaneMouseMove:d,onPaneMouseLeave:c,children:g})=>{let h=(0,m.useRef)(null),p=A(),y=(0,m.useRef)(0),b=(0,m.useRef)(0),S=(0,m.useRef)(),{userSelectionActive:E,elementsSelectable:v,dragging:w}=k(tD,x.X),M=()=>{p.setState({userSelectionActive:!1,userSelectionRect:null}),y.current=0,b.current=0},C=e=>{l?.(e),p.getState().resetSelectedElements(),p.setState({nodesSelectionActive:!1})},N=i?e=>i(e):void 0,I=v&&(e||E);return m.createElement("div",{className:(0,f.Z)(["react-flow__pane",{dragging:w,selection:e}]),onClick:I?void 0:tB(C,h),onContextMenu:tB(e=>{if(Array.isArray(n)&&n?.includes(2)){e.preventDefault();return}a?.(e)},h),onWheel:tB(N,h),onMouseEnter:I?void 0:s,onMouseDown:I?t=>{let{resetSelectedElements:n,domNode:r}=p.getState();if(S.current=r?.getBoundingClientRect(),!v||!e||0!==t.button||t.target!==h.current||!S.current)return;let{x:l,y:a}=Q(t,S.current);n(),p.setState({userSelectionRect:{width:0,height:0,startX:l,startY:a,x:l,y:a}}),o?.(t)}:void 0,onMouseMove:I?n=>{let{userSelectionRect:o,nodeInternals:r,edges:l,transform:a,onNodesChange:i,onEdgesChange:s,nodeOrigin:d,getNodes:c}=p.getState();if(!e||!S.current||!o)return;p.setState({userSelectionActive:!0,nodesSelectionActive:!1});let g=Q(n,S.current),h=o.startX??0,m=o.startY??0,f={...o,x:g.xe.id),w=E.map(e=>e.id);if(y.current!==w.length){y.current=w.length;let e=tO(x,w);e.length&&i?.(e)}if(b.current!==v.length){b.current=v.length;let e=tO(l,v);e.length&&s?.(e)}p.setState({userSelectionRect:f})}:d,onMouseUp:I?e=>{if(0!==e.button)return;let{userSelectionRect:t}=p.getState();!E&&t&&e.target===h.current&&C?.(e),p.setState({nodesSelectionActive:y.current>0}),M(),r?.(e)}:void 0,onMouseLeave:I?e=>{E&&(p.setState({nodesSelectionActive:y.current>0}),r?.(e)),M()}:c,ref:h,style:tS},g,m.createElement(tI,null))});function tT(e,t,n){let o=e;do{if(o?.matches(t))return!0;if(o===n.current)break;o=o.parentElement}while(o);return!1}function tL(e,t,n,o,r=[0,0],l){var a;let i=(a=e.extent||o)&&"parent"!==a?[a[0],[a[1][0]-(e.width||0),a[1][1]-(e.height||0)]]:a,s=i,d=e.parentNode||e.parentId;if("parent"!==e.extent||e.expandParent){if(e.extent&&d&&"parent"!==e.extent){let t=n.get(d),{x:o,y:l}=eA(t,r).positionAbsolute;s=[[e.extent[0][0]+o,e.extent[0][1]+l],[e.extent[1][0]+o,e.extent[1][1]+l]]}}else if(d&&e.width&&e.height){let t=n.get(d),{x:o,y:l}=eA(t,r).positionAbsolute;s=t&&K(o)&&K(l)&&K(t.width)&&K(t.height)?[[o+e.width*r[0],l+e.height*r[1]],[o+t.width-e.width+e.width*r[0],l+t.height-e.height+e.height*r[1]]]:s}else l?.("005",C.error005()),s=i;let c={x:0,y:0};if(d){let e=n.get(d);c=eA(e,r).positionAbsolute}let u=s&&"parent"!==s?B(t,s):t;return{position:{x:u.x-c.x,y:u.y-c.y},positionAbsolute:u}}function tH({nodeId:e,dragItems:t,nodeInternals:n}){let o=t.map(e=>{let t=n.get(e.id);return{...t,position:e.position,positionAbsolute:e.positionAbsolute}});return[e?o.find(t=>t.id===e):o[0],o]}tz.displayName="Pane";let tF=(e,t,n,o)=>{let r=t.querySelectorAll(e);if(!r||!r.length)return null;let l=Array.from(r),a=t.getBoundingClientRect(),i={x:a.width*o[0],y:a.height*o[1]};return l.map(e=>{let t=e.getBoundingClientRect();return{id:e.getAttribute("data-handleid"),position:e.getAttribute("data-handlepos"),x:(t.left-a.left-i.x)/n,y:(t.top-a.top-i.y)/n,...$(e)}})};function tZ(e,t,n){return void 0===n?n:o=>{let r=t().nodeInternals.get(e);r&&n(o,{...r})}}function tX({id:e,store:t,unselect:n=!1,nodeRef:o}){let{addSelectedNodes:r,unselectNodesAndEdges:l,multiSelectionActive:a,nodeInternals:i,onError:s}=t.getState(),d=i.get(e);if(!d){s?.("012",C.error012(e));return}t.setState({nodesSelectionActive:!1}),d.selected?(n||d.selected&&a)&&(l({nodes:[d],edges:[]}),requestAnimationFrame(()=>o?.current?.blur())):r([e])}function tV(e){return(t,n,o)=>e?.(t,o)}function tK({nodeRef:e,disabled:t=!1,noDragClassName:n,handleSelector:o,nodeId:r,isSelectable:l,selectNodesOnDrag:a}){let i=A(),[s,d]=(0,m.useState)(!1),c=(0,m.useRef)([]),u=(0,m.useRef)({x:null,y:null}),g=(0,m.useRef)(0),h=(0,m.useRef)(null),p=(0,m.useRef)({x:0,y:0}),f=(0,m.useRef)(null),y=(0,m.useRef)(!1),x=(0,m.useRef)(!1),b=(0,m.useRef)(!1),E=function(){let e=A(),t=(0,m.useCallback)(({sourceEvent:t})=>{let{transform:n,snapGrid:o,snapToGrid:r}=e.getState(),l=t.touches?t.touches[0].clientX:t.clientX,a=t.touches?t.touches[0].clientY:t.clientY,i={x:(l-n[0])/n[2],y:(a-n[1])/n[2]};return{xSnapped:r?o[0]*Math.round(i.x/o[0]):i.x,ySnapped:r?o[1]*Math.round(i.y/o[1]):i.y,...i}},[]);return t}();return(0,m.useEffect)(()=>{if(e?.current){let s=(0,S.Z)(e.current),m=({x:e,y:t})=>{let{nodeInternals:n,onNodeDrag:o,onSelectionDrag:l,updateNodePositions:a,nodeExtent:s,snapGrid:g,snapToGrid:h,nodeOrigin:p,onError:m}=i.getState();u.current={x:e,y:t};let y=!1,x={x:0,y:0,x2:0,y2:0};if(c.current.length>1&&s){let e=eI(c.current,p);x=H(e)}if(c.current=c.current.map(o=>{let r={x:e-o.distance.x,y:t-o.distance.y};h&&(r.x=g[0]*Math.round(r.x/g[0]),r.y=g[1]*Math.round(r.y/g[1]));let l=[[s[0][0],s[0][1]],[s[1][0],s[1][1]]];c.current.length>1&&s&&!o.extent&&(l[0][0]=o.positionAbsolute.x-x.x+s[0][0],l[1][0]=o.positionAbsolute.x+(o.width??0)-x.x2+s[1][0],l[0][1]=o.positionAbsolute.y-x.y+s[0][1],l[1][1]=o.positionAbsolute.y+(o.height??0)-x.y2+s[1][1]);let a=tL(o,r,n,l,p,m);return y=y||o.position.x!==a.position.x||o.position.y!==a.position.y,o.position=a.position,o.positionAbsolute=a.positionAbsolute,o}),!y)return;a(c.current,!0,!0),d(!0);let b=r?o:tV(l);if(b&&f.current){let[e,t]=tH({nodeId:r,dragItems:c.current,nodeInternals:n});b(f.current,e,t)}},w=()=>{if(!h.current)return;let[e,t]=z(p.current,h.current);if(0!==e||0!==t){let{transform:n,panBy:o}=i.getState();u.current.x=(u.current.x??0)-e/n[2],u.current.y=(u.current.y??0)-t/n[2],o({x:e,y:t})&&m(u.current)}g.current=requestAnimationFrame(w)},M=t=>{let{nodeInternals:n,multiSelectionActive:o,nodesDraggable:s,unselectNodesAndEdges:d,onNodeDragStart:g,onSelectionDragStart:h}=i.getState();x.current=!0;let p=r?g:tV(h);a&&l||o||!r||n.get(r)?.selected||d(),r&&l&&a&&tX({id:r,store:i,nodeRef:e});let m=E(t);if(u.current=m,c.current=Array.from(n.values()).filter(e=>(e.selected||e.id===r)&&(!e.parentNode||e.parentId||!function e(t,n){let o=t.parentNode||t.parentId;if(!o)return!1;let r=n.get(o);return!!r&&(!!r.selected||e(r,n))}(e,n))&&(e.draggable||s&&void 0===e.draggable)).map(e=>({id:e.id,position:e.position||{x:0,y:0},positionAbsolute:e.positionAbsolute||{x:0,y:0},distance:{x:m.x-(e.positionAbsolute?.x??0),y:m.y-(e.positionAbsolute?.y??0)},delta:{x:0,y:0},extent:e.extent,parentNode:e.parentNode||e.parentId,parentId:e.parentNode||e.parentId,width:e.width,height:e.height,expandParent:e.expandParent})),p&&c.current){let[e,o]=tH({nodeId:r,dragItems:c.current,nodeInternals:n});p(t.sourceEvent,e,o)}};if(t)s.on(".drag",null);else{let t=(0,v.Z)().on("start",e=>{let{domNode:t,nodeDragThreshold:n}=i.getState();0===n&&M(e),b.current=!1;let o=E(e);u.current=o,h.current=t?.getBoundingClientRect()||null,p.current=Q(e.sourceEvent,h.current)}).on("drag",e=>{let t=E(e),{autoPanOnNodeDrag:n,nodeDragThreshold:o}=i.getState();if("touchmove"===e.sourceEvent.type&&e.sourceEvent.touches.length>1&&(b.current=!0),!b.current){if(!y.current&&x.current&&n&&(y.current=!0,w()),!x.current){let n=t.xSnapped-(u?.current?.x??0),r=t.ySnapped-(u?.current?.y??0);Math.sqrt(n*n+r*r)>o&&M(e)}(u.current.x!==t.xSnapped||u.current.y!==t.ySnapped)&&c.current&&x.current&&(f.current=e.sourceEvent,p.current=Q(e.sourceEvent,h.current),m(t))}}).on("end",e=>{if(x.current&&!b.current&&(d(!1),y.current=!1,x.current=!1,cancelAnimationFrame(g.current),c.current)){let{updateNodePositions:t,nodeInternals:n,onNodeDragStop:o,onSelectionDragStop:l}=i.getState(),a=r?o:tV(l);if(t(c.current,!1,!1),a){let[t,o]=tH({nodeId:r,dragItems:c.current,nodeInternals:n});a(e.sourceEvent,t,o)}}}).filter(t=>{let r=t.target,l=!t.button&&(!n||!tT(r,`.${n}`,e))&&(!o||tT(r,o,e));return l});return s.call(t),()=>{s.on(".drag",null)}}}},[e,t,n,o,l,i,r,a,E]),s}function tY(){let e=A(),t=(0,m.useCallback)(t=>{let{nodeInternals:n,nodeExtent:o,updateNodePositions:r,getNodes:l,snapToGrid:a,snapGrid:i,onError:s,nodesDraggable:d}=e.getState(),c=l().filter(e=>e.selected&&(e.draggable||d&&void 0===e.draggable)),u=a?i[0]:5,g=a?i[1]:5,h=t.isShiftPressed?4:1,p=t.x*u*h,m=t.y*g*h,f=c.map(e=>{if(e.positionAbsolute){let t={x:e.positionAbsolute.x+p,y:e.positionAbsolute.y+m};a&&(t.x=i[0]*Math.round(t.x/i[0]),t.y=i[1]*Math.round(t.y/i[1]));let{positionAbsolute:r,position:l}=tL(e,t,n,o,void 0,s);e.position=l,e.positionAbsolute=r}return e});r(f,!0,!1)},[]);return t}let tW={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}};var tj=e=>{let t=({id:t,type:n,data:o,xPos:r,yPos:l,xPosOrigin:a,yPosOrigin:i,selected:s,onClick:d,onMouseEnter:c,onMouseMove:u,onMouseLeave:g,onContextMenu:h,onDoubleClick:p,style:y,className:x,isDraggable:b,isSelectable:S,isConnectable:E,isFocusable:v,selectNodesOnDrag:w,sourcePosition:M,targetPosition:C,hidden:N,resizeObserver:k,dragHandle:I,zIndex:R,isParent:P,noDragClassName:_,noPanClassName:$,initialized:O,disableKeyboardA11y:B,ariaLabel:D,rfId:z,hasHandleBounds:T})=>{let L=A(),H=(0,m.useRef)(null),F=(0,m.useRef)(null),Z=(0,m.useRef)(M),X=(0,m.useRef)(C),V=(0,m.useRef)(n),K=S||b||d||c||u||g,Y=tY(),j=tZ(t,L.getState,c),U=tZ(t,L.getState,u),G=tZ(t,L.getState,g),Q=tZ(t,L.getState,h),J=tZ(t,L.getState,p);(0,m.useEffect)(()=>()=>{F.current&&(k?.unobserve(F.current),F.current=null)},[]),(0,m.useEffect)(()=>{if(H.current&&!N){let e=H.current;O&&T&&F.current===e||(F.current&&k?.unobserve(F.current),k?.observe(e),F.current=e)}},[N,O,T]),(0,m.useEffect)(()=>{let e=V.current!==n,o=Z.current!==M,r=X.current!==C;H.current&&(e||o||r)&&(e&&(V.current=n),o&&(Z.current=M),r&&(X.current=C),L.getState().updateNodeDimensions([{id:t,nodeElement:H.current,forceUpdate:!0}]))},[t,n,M,C]);let ee=tK({nodeRef:H,disabled:N||!b,noDragClassName:_,handleSelector:I,nodeId:t,isSelectable:S,selectNodesOnDrag:w});return N?null:m.createElement("div",{className:(0,f.Z)(["react-flow__node",`react-flow__node-${n}`,{[$]:b},x,{selected:s,selectable:S,parent:P,dragging:ee}]),ref:H,style:{zIndex:R,transform:`translate(${a}px,${i}px)`,pointerEvents:K?"all":"none",visibility:O?"visible":"hidden",...y},"data-id":t,"data-testid":`rf__node-${t}`,onMouseEnter:j,onMouseMove:U,onMouseLeave:G,onContextMenu:Q,onClick:e=>{let{nodeDragThreshold:n}=L.getState();if(S&&(!w||!b||n>0)&&tX({id:t,store:L,nodeRef:H}),d){let n=L.getState().nodeInternals.get(t);n&&d(e,{...n})}},onDoubleClick:J,onKeyDown:v?e=>{if(!q(e)&&!B){if(W.includes(e.key)&&S){let n="Escape"===e.key;tX({id:t,store:L,unselect:n,nodeRef:H})}else b&&s&&Object.prototype.hasOwnProperty.call(tW,e.key)&&(L.setState({ariaLiveMessage:`Moved selected node ${e.key.replace("Arrow","").toLowerCase()}. New position, x: ${~~r}, y: ${~~l}`}),Y({x:tW[e.key].x,y:tW[e.key].y,isShiftPressed:e.shiftKey}))}}:void 0,tabIndex:v?0:void 0,role:v?"button":void 0,"aria-describedby":B?void 0:`${tt}-${z}`,"aria-label":D},m.createElement(eb,{value:t},m.createElement(e,{id:t,data:o,type:n,xPos:r,yPos:l,selected:s,isConnectable:E,sourcePosition:M,targetPosition:C,dragging:ee,dragHandle:I,zIndex:R})))};return t.displayName="NodeWrapper",(0,m.memo)(t)};let tU=e=>{let t=e.getNodes().filter(e=>e.selected);return{...eI(t,e.nodeOrigin),transformString:`translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`,userSelectionActive:e.userSelectionActive}};var tq=(0,m.memo)(function({onSelectionContextMenu:e,noPanClassName:t,disableKeyboardA11y:n}){let o=A(),{width:r,height:l,x:a,y:i,transformString:s,userSelectionActive:d}=k(tU,x.X),c=tY(),u=(0,m.useRef)(null);if((0,m.useEffect)(()=>{n||u.current?.focus({preventScroll:!0})},[n]),tK({nodeRef:u}),d||!r||!l)return null;let g=e?t=>{let n=o.getState().getNodes().filter(e=>e.selected);e(t,n)}:void 0;return m.createElement("div",{className:(0,f.Z)(["react-flow__nodesselection","react-flow__container",t]),style:{transform:s}},m.createElement("div",{ref:u,className:"react-flow__nodesselection-rect",onContextMenu:g,tabIndex:n?void 0:-1,onKeyDown:n?void 0:e=>{Object.prototype.hasOwnProperty.call(tW,e.key)&&c({x:tW[e.key].x,y:tW[e.key].y,isShiftPressed:e.shiftKey})},style:{width:r,height:l,top:i,left:a}}))});let tG=e=>e.nodesSelectionActive,tQ=({children:e,onPaneClick:t,onPaneMouseEnter:n,onPaneMouseMove:o,onPaneMouseLeave:r,onPaneContextMenu:l,onPaneScroll:a,deleteKeyCode:i,onMove:s,onMoveStart:d,onMoveEnd:c,selectionKeyCode:u,selectionOnDrag:g,selectionMode:h,onSelectionStart:p,onSelectionEnd:f,multiSelectionKeyCode:y,panActivationKeyCode:x,zoomActivationKeyCode:b,elementsSelectable:S,zoomOnScroll:E,zoomOnPinch:v,panOnScroll:w,panOnScrollSpeed:M,panOnScrollMode:C,zoomOnDoubleClick:N,panOnDrag:A,defaultViewport:I,translateExtent:R,minZoom:P,maxZoom:_,preventScrolling:$,onSelectionContextMenu:O,noWheelClassName:B,noPanClassName:D,disableKeyboardA11y:z})=>{let T=k(tG),L=ta(u),H=ta(x),F=H||A;return tb({deleteKeyCode:i,multiSelectionKeyCode:y}),m.createElement(tk,{onMove:s,onMoveStart:d,onMoveEnd:c,onPaneContextMenu:l,elementsSelectable:S,zoomOnScroll:E,zoomOnPinch:v,panOnScroll:H||w,panOnScrollSpeed:M,panOnScrollMode:C,zoomOnDoubleClick:N,panOnDrag:!L&&F,defaultViewport:I,translateExtent:R,minZoom:P,maxZoom:_,zoomActivationKeyCode:b,preventScrolling:$,noWheelClassName:B,noPanClassName:D},m.createElement(tz,{onSelectionStart:p,onSelectionEnd:f,onPaneClick:t,onPaneMouseEnter:n,onPaneMouseMove:o,onPaneMouseLeave:r,onPaneContextMenu:l,onPaneScroll:a,panOnDrag:F,isSelecting:!!(L||g&&!0!==F),selectionMode:h},e,T&&m.createElement(tq,{onSelectionContextMenu:O,noPanClassName:D,disableKeyboardA11y:z})))};tQ.displayName="FlowRenderer";var tJ=(0,m.memo)(tQ);function t0(e){let t={input:tj(e.input||eU),default:tj(e.default||eW),output:tj(e.output||eG),group:tj(e.group||eQ)},n=Object.keys(e).filter(e=>!["input","default","output","group"].includes(e)).reduce((t,n)=>(t[n]=tj(e[n]||eW),t),{});return{...t,...n}}let t1=({x:e,y:t,width:n,height:o,origin:r})=>!n||!o||r[0]<0||r[1]<0||r[0]>1||r[1]>1?{x:e,y:t}:{x:e-n*r[0],y:t-o*r[1]},t2=e=>({nodesDraggable:e.nodesDraggable,nodesConnectable:e.nodesConnectable,nodesFocusable:e.nodesFocusable,elementsSelectable:e.elementsSelectable,updateNodeDimensions:e.updateNodeDimensions,onError:e.onError}),t5=e=>{let{nodesDraggable:t,nodesConnectable:n,nodesFocusable:o,elementsSelectable:r,updateNodeDimensions:l,onError:a}=k(t2,x.X),i=function(e){let t=k((0,m.useCallback)(t=>e?eR(t.nodeInternals,{x:0,y:0,width:t.width,height:t.height},t.transform,!0):t.getNodes(),[e]));return t}(e.onlyRenderVisibleElements),s=(0,m.useRef)(),d=(0,m.useMemo)(()=>{if("undefined"==typeof ResizeObserver)return null;let e=new ResizeObserver(e=>{let t=e.map(e=>({id:e.target.getAttribute("data-id"),nodeElement:e.target,forceUpdate:!0}));l(t)});return s.current=e,e},[]);return(0,m.useEffect)(()=>()=>{s?.current?.disconnect()},[]),m.createElement("div",{className:"react-flow__nodes",style:tS},i.map(l=>{let i=l.type||"default";e.nodeTypes[i]||(a?.("003",C.error003(i)),i="default");let s=e.nodeTypes[i]||e.nodeTypes.default,c=!!(l.draggable||t&&void 0===l.draggable),u=!!(l.selectable||r&&void 0===l.selectable),g=!!(l.connectable||n&&void 0===l.connectable),h=!!(l.focusable||o&&void 0===l.focusable),f=e.nodeExtent?B(l.positionAbsolute,e.nodeExtent):l.positionAbsolute,y=f?.x??0,x=f?.y??0,b=t1({x:y,y:x,width:l.width??0,height:l.height??0,origin:e.nodeOrigin});return m.createElement(s,{key:l.id,id:l.id,className:l.className,style:l.style,type:i,data:l.data,sourcePosition:l.sourcePosition||p.Bottom,targetPosition:l.targetPosition||p.Top,hidden:l.hidden,xPos:y,yPos:x,xPosOrigin:b.x,yPosOrigin:b.y,selectNodesOnDrag:e.selectNodesOnDrag,onClick:e.onNodeClick,onMouseEnter:e.onNodeMouseEnter,onMouseMove:e.onNodeMouseMove,onMouseLeave:e.onNodeMouseLeave,onContextMenu:e.onNodeContextMenu,onDoubleClick:e.onNodeDoubleClick,selected:!!l.selected,isDraggable:c,isSelectable:u,isConnectable:g,isFocusable:h,resizeObserver:d,dragHandle:l.dragHandle,zIndex:l[Y]?.z??0,isParent:!!l[Y]?.isParent,noDragClassName:e.noDragClassName,noPanClassName:e.noPanClassName,initialized:!!l.width&&!!l.height,rfId:e.rfId,disableKeyboardA11y:e.disableKeyboardA11y,ariaLabel:l.ariaLabel,hasHandleBounds:!!l[Y]?.handleBounds})}))};t5.displayName="NodeRenderer";var t3=(0,m.memo)(t5);let t4=(e,t,n)=>n===p.Left?e-t:n===p.Right?e+t:e,t7=(e,t,n)=>n===p.Top?e-t:n===p.Bottom?e+t:e,t8="react-flow__edgeupdater",t6=({position:e,centerX:t,centerY:n,radius:o=10,onMouseDown:r,onMouseEnter:l,onMouseOut:a,type:i})=>m.createElement("circle",{onMouseDown:r,onMouseEnter:l,onMouseOut:a,className:(0,f.Z)([t8,`${t8}-${i}`]),cx:t4(t,o,e),cy:t7(n,o,e),r:o,stroke:"transparent",fill:"transparent"}),t9=()=>!0;var ne=e=>{let t=({id:t,className:n,type:o,data:r,onClick:l,onEdgeDoubleClick:a,selected:i,animated:s,label:d,labelStyle:c,labelShowBg:u,labelBgStyle:g,labelBgPadding:h,labelBgBorderRadius:p,style:y,source:x,target:b,sourceX:S,sourceY:E,targetX:v,targetY:w,sourcePosition:M,targetPosition:C,elementsSelectable:N,hidden:k,sourceHandleId:I,targetHandleId:R,onContextMenu:P,onMouseEnter:_,onMouseMove:$,onMouseLeave:O,reconnectRadius:B,onReconnect:D,onReconnectStart:z,onReconnectEnd:T,markerEnd:L,markerStart:H,rfId:F,ariaLabel:Z,isFocusable:X,isReconnectable:V,pathOptions:K,interactionWidth:Y,disableKeyboardA11y:j})=>{let U=(0,m.useRef)(null),[q,G]=(0,m.useState)(!1),[Q,J]=(0,m.useState)(!1),ee=A(),en=(0,m.useMemo)(()=>`url('#${ew(H,F)}')`,[H,F]),eo=(0,m.useMemo)(()=>`url('#${ew(L,F)}')`,[L,F]);if(k)return null;let er=et(t,ee.getState,a),el=et(t,ee.getState,P),ea=et(t,ee.getState,_),ei=et(t,ee.getState,$),es=et(t,ee.getState,O),ed=(e,n)=>{if(0!==e.button)return;let{edges:o,isValidConnection:r}=ee.getState(),l=n?b:x,a=(n?R:I)||null,i=n?"target":"source",s=r||t9,d=o.find(e=>e.id===t);J(!0),z?.(e,d,i),eH({event:e,handleId:a,nodeId:l,onConnect:e=>D?.(d,e),isTarget:n,getState:ee.getState,setState:ee.setState,isValidConnection:s,edgeUpdaterType:i,onReconnectEnd:e=>{J(!1),T?.(e,d,i)}})},ec=()=>G(!0),eu=()=>G(!1);return m.createElement("g",{className:(0,f.Z)(["react-flow__edge",`react-flow__edge-${o}`,n,{selected:i,animated:s,inactive:!N&&!l,updating:q}]),onClick:e=>{let{edges:n,addSelectedEdges:o,unselectNodesAndEdges:r,multiSelectionActive:a}=ee.getState(),i=n.find(e=>e.id===t);i&&(N&&(ee.setState({nodesSelectionActive:!1}),i.selected&&a?(r({nodes:[],edges:[i]}),U.current?.blur()):o([t])),l&&l(e,i))},onDoubleClick:er,onContextMenu:el,onMouseEnter:ea,onMouseMove:ei,onMouseLeave:es,onKeyDown:X?e=>{if(!j&&W.includes(e.key)&&N){let{unselectNodesAndEdges:n,addSelectedEdges:o,edges:r}=ee.getState(),l="Escape"===e.key;l?(U.current?.blur(),n({edges:[r.find(e=>e.id===t)]})):o([t])}}:void 0,tabIndex:X?0:void 0,role:X?"button":"img","data-testid":`rf__edge-${t}`,"aria-label":null===Z?void 0:Z||`Edge from ${x} to ${b}`,"aria-describedby":X?`${tn}-${F}`:void 0,ref:U},!Q&&m.createElement(e,{id:t,source:x,target:b,selected:i,animated:s,label:d,labelStyle:c,labelShowBg:u,labelBgStyle:g,labelBgPadding:h,labelBgBorderRadius:p,data:r,style:y,sourceX:S,sourceY:E,targetX:v,targetY:w,sourcePosition:M,targetPosition:C,sourceHandleId:I,targetHandleId:R,markerStart:en,markerEnd:eo,pathOptions:K,interactionWidth:Y}),V&&m.createElement(m.Fragment,null,("source"===V||!0===V)&&m.createElement(t6,{position:M,centerX:S,centerY:E,radius:B,onMouseDown:e=>ed(e,!0),onMouseEnter:ec,onMouseOut:eu,type:"source"}),("target"===V||!0===V)&&m.createElement(t6,{position:C,centerX:v,centerY:w,radius:B,onMouseDown:e=>ed(e,!1),onMouseEnter:ec,onMouseOut:eu,type:"target"})))};return t.displayName="EdgeWrapper",(0,m.memo)(t)};function nt(e){let t={default:ne(e.default||ey),straight:ne(e.bezier||eh),step:ne(e.step||eg),smoothstep:ne(e.step||eu),simplebezier:ne(e.simplebezier||ea)},n=Object.keys(e).filter(e=>!["default","bezier"].includes(e)).reduce((t,n)=>(t[n]=ne(e[n]||ey),t),{});return{...t,...n}}function nn(e,t,n=null){let o=(n?.x||0)+t.x,r=(n?.y||0)+t.y,l=n?.width||t.width,a=n?.height||t.height;switch(e){case p.Top:return{x:o+l/2,y:r};case p.Right:return{x:o+l,y:r+a/2};case p.Bottom:return{x:o+l/2,y:r+a};case p.Left:return{x:o,y:r+a/2}}}function no(e,t){return e?1!==e.length&&t?t&&e.find(e=>e.id===t)||null:e[0]:null}let nr=(e,t,n,o,r,l)=>{let a=nn(n,e,t),i=nn(l,o,r);return{sourceX:a.x,sourceY:a.y,targetX:i.x,targetY:i.y}};function nl(e){let t=e?.[Y]?.handleBounds||null,n=t&&e?.width&&e?.height&&void 0!==e?.positionAbsolute?.x&&void 0!==e?.positionAbsolute?.y;return[{x:e?.positionAbsolute?.x||0,y:e?.positionAbsolute?.y||0,width:e?.width||0,height:e?.height||0},t,!!n]}let na=[{level:0,isMaxLevel:!0,edges:[]}],ni={[h.Arrow]:({color:e="none",strokeWidth:t=1})=>m.createElement("polyline",{style:{stroke:e,strokeWidth:t},strokeLinecap:"round",strokeLinejoin:"round",fill:"none",points:"-5,-4 0,0 -5,4"}),[h.ArrowClosed]:({color:e="none",strokeWidth:t=1})=>m.createElement("polyline",{style:{stroke:e,fill:e,strokeWidth:t},strokeLinecap:"round",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4 -5,-4"})},ns=({id:e,type:t,color:n,width:o=12.5,height:r=12.5,markerUnits:l="strokeWidth",strokeWidth:a,orient:i="auto-start-reverse"})=>{let s=function(e){let t=A(),n=(0,m.useMemo)(()=>{let n=Object.prototype.hasOwnProperty.call(ni,e);return n?ni[e]:(t.getState().onError?.("009",C.error009(e)),null)},[e]);return n}(t);return s?m.createElement("marker",{className:"react-flow__arrowhead",id:e,markerWidth:`${o}`,markerHeight:`${r}`,viewBox:"-10 -10 20 20",markerUnits:l,orient:i,refX:"0",refY:"0"},m.createElement(s,{color:n,strokeWidth:a})):null},nd=({defaultColor:e,rfId:t})=>n=>{let o=[];return n.edges.reduce((n,r)=>([r.markerStart,r.markerEnd].forEach(r=>{if(r&&"object"==typeof r){let l=ew(r,t);o.includes(l)||(n.push({id:l,color:r.color||e,...r}),o.push(l))}}),n),[]).sort((e,t)=>e.id.localeCompare(t.id))},nc=({defaultColor:e,rfId:t})=>{let n=k((0,m.useCallback)(nd({defaultColor:e,rfId:t}),[e,t]),(e,t)=>!(e.length!==t.length||e.some((e,n)=>e.id!==t[n].id)));return m.createElement("defs",null,n.map(e=>m.createElement(ns,{id:e.id,key:e.id,type:e.type,color:e.color,width:e.width,height:e.height,markerUnits:e.markerUnits,strokeWidth:e.strokeWidth,orient:e.orient})))};nc.displayName="MarkerDefinitions";var nu=(0,m.memo)(nc);let ng=e=>({nodesConnectable:e.nodesConnectable,edgesFocusable:e.edgesFocusable,edgesUpdatable:e.edgesUpdatable,elementsSelectable:e.elementsSelectable,width:e.width,height:e.height,connectionMode:e.connectionMode,nodeInternals:e.nodeInternals,onError:e.onError}),nh=({defaultMarkerColor:e,onlyRenderVisibleElements:t,elevateEdgesOnSelect:n,rfId:o,edgeTypes:r,noPanClassName:l,onEdgeContextMenu:a,onEdgeMouseEnter:i,onEdgeMouseMove:s,onEdgeMouseLeave:c,onEdgeClick:u,onEdgeDoubleClick:g,onReconnect:h,onReconnectStart:y,onReconnectEnd:b,reconnectRadius:S,children:E,disableKeyboardA11y:v})=>{let{edgesFocusable:w,edgesUpdatable:M,elementsSelectable:N,width:A,height:I,connectionMode:R,nodeInternals:P,onError:_}=k(ng,x.X),$=function(e,t,n){let o=k((0,m.useCallback)(n=>e?n.edges.filter(e=>{let o=t.get(e.source),r=t.get(e.target);return o?.width&&o?.height&&r?.width&&r?.height&&function({sourcePos:e,targetPos:t,sourceWidth:n,sourceHeight:o,targetWidth:r,targetHeight:l,width:a,height:i,transform:s}){let d={x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),x2:Math.max(e.x+n,t.x+r),y2:Math.max(e.y+o,t.y+l)};d.x===d.x2&&(d.x2+=1),d.y===d.y2&&(d.y2+=1);let c=H({x:(0-s[0])/s[2],y:(0-s[1])/s[2],width:a/s[2],height:i/s[2]}),u=Math.max(0,Math.min(c.x2,d.x2)-Math.max(c.x,d.x)),g=Math.max(0,Math.min(c.y2,d.y2)-Math.max(c.y,d.y));return Math.ceil(u*g)>0}({sourcePos:o.positionAbsolute||{x:0,y:0},targetPos:r.positionAbsolute||{x:0,y:0},sourceWidth:o.width,sourceHeight:o.height,targetWidth:r.width,targetHeight:r.height,width:n.width,height:n.height,transform:n.transform})}):n.edges,[e,t]));return function(e,t,n=!1){let o=-1,r=e.reduce((e,r)=>{let l=K(r.zIndex),a=l?r.zIndex:0;if(n){let e=t.get(r.target),n=t.get(r.source),o=r.selected||e?.selected||n?.selected,i=Math.max(n?.[Y]?.z||0,e?.[Y]?.z||0,1e3);a=(l?r.zIndex:0)+(o?i:0)}return e[a]?e[a].push(r):e[a]=[r],o=a>o?a:o,e},{}),l=Object.entries(r).map(([e,t])=>{let n=+e;return{edges:t,level:n,isMaxLevel:n===o}});return 0===l.length?na:l}(o,t,n)}(t,P,n);return A?m.createElement(m.Fragment,null,$.map(({level:t,edges:n,isMaxLevel:x})=>m.createElement("svg",{key:t,style:{zIndex:t},width:A,height:I,className:"react-flow__edges react-flow__container"},x&&m.createElement(nu,{defaultColor:e,rfId:o}),m.createElement("g",null,n.map(e=>{let[t,n,x]=nl(P.get(e.source)),[E,k,A]=nl(P.get(e.target));if(!x||!A)return null;let I=e.type||"default";r[I]||(_?.("011",C.error011(I)),I="default");let $=r[I]||r.default,O=R===d.Strict?k.target:(k.target??[]).concat(k.source??[]),B=no(n.source,e.sourceHandle),D=no(O,e.targetHandle),z=B?.position||p.Bottom,T=D?.position||p.Top,L=!!(e.focusable||w&&void 0===e.focusable),H=e.reconnectable||e.updatable;if(!B||!D)return _?.("008",C.error008(B,e)),null;let{sourceX:F,sourceY:Z,targetX:X,targetY:V}=nr(t,B,z,E,D,T);return m.createElement($,{key:e.id,id:e.id,className:(0,f.Z)([e.className,l]),type:I,data:e.data,selected:!!e.selected,animated:!!e.animated,hidden:!!e.hidden,label:e.label,labelStyle:e.labelStyle,labelShowBg:e.labelShowBg,labelBgStyle:e.labelBgStyle,labelBgPadding:e.labelBgPadding,labelBgBorderRadius:e.labelBgBorderRadius,style:e.style,source:e.source,target:e.target,sourceHandleId:e.sourceHandle,targetHandleId:e.targetHandle,markerEnd:e.markerEnd,markerStart:e.markerStart,sourceX:F,sourceY:Z,targetX:X,targetY:V,sourcePosition:z,targetPosition:T,elementsSelectable:N,onContextMenu:a,onMouseEnter:i,onMouseMove:s,onMouseLeave:c,onClick:u,onEdgeDoubleClick:g,onReconnect:h,onReconnectStart:y,onReconnectEnd:b,reconnectRadius:S,rfId:o,ariaLabel:e.ariaLabel,isFocusable:L,isReconnectable:void 0!==h&&(H||M&&void 0===H),pathOptions:"pathOptions"in e?e.pathOptions:void 0,interactionWidth:e.interactionWidth,disableKeyboardA11y:v})})))),E):null};nh.displayName="EdgeRenderer";var np=(0,m.memo)(nh);let nm=e=>`translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`;function nf({children:e}){let t=k(nm);return m.createElement("div",{className:"react-flow__viewport react-flow__container",style:{transform:t}},e)}let ny={[p.Left]:p.Right,[p.Right]:p.Left,[p.Top]:p.Bottom,[p.Bottom]:p.Top},nx=({nodeId:e,handleType:t,style:n,type:o=g.Bezier,CustomComponent:r,connectionStatus:l})=>{let{fromNode:a,handleId:i,toX:s,toY:c,connectionMode:u}=k((0,m.useCallback)(t=>({fromNode:t.nodeInternals.get(e),handleId:t.connectionHandleId,toX:(t.connectionPosition.x-t.transform[0])/t.transform[2],toY:(t.connectionPosition.y-t.transform[1])/t.transform[2],connectionMode:t.connectionMode}),[e]),x.X),h=a?.[Y]?.handleBounds,p=h?.[t];if(u===d.Loose&&(p=p||h?.["source"===t?"target":"source"]),!a||!p)return null;let f=i?p.find(e=>e.id===i):p[0],y=f?f.x+f.width/2:(a.width??0)/2,b=f?f.y+f.height/2:a.height??0,S=(a.positionAbsolute?.x??0)+y,E=(a.positionAbsolute?.y??0)+b,v=f?.position,w=v?ny[v]:null;if(!v||!w)return null;if(r)return m.createElement(r,{connectionLineType:o,connectionLineStyle:n,fromNode:a,fromHandle:f,fromX:S,fromY:E,toX:s,toY:c,fromPosition:v,toPosition:w,connectionStatus:l});let M="",C={sourceX:S,sourceY:E,sourcePosition:v,targetX:s,targetY:c,targetPosition:w};return o===g.Bezier?[M]=ef(C):o===g.Step?[M]=ec({...C,borderRadius:0}):o===g.SmoothStep?[M]=ec(C):o===g.SimpleBezier?[M]=el(C):M=`M${S},${E} ${s},${c}`,m.createElement("path",{d:M,fill:"none",className:"react-flow__connection-path",style:n})};nx.displayName="ConnectionLine";let nb=e=>({nodeId:e.connectionNodeId,handleType:e.connectionHandleType,nodesConnectable:e.nodesConnectable,connectionStatus:e.connectionStatus,width:e.width,height:e.height});function nS({containerStyle:e,style:t,type:n,component:o}){let{nodeId:r,handleType:l,nodesConnectable:a,width:i,height:s,connectionStatus:d}=k(nb,x.X);return r&&l&&i&&a?m.createElement("svg",{style:e,width:i,height:s,className:"react-flow__edges react-flow__connectionline react-flow__container"},m.createElement("g",{className:(0,f.Z)(["react-flow__connection",d])},m.createElement(nx,{nodeId:r,handleType:l,style:t,type:n,CustomComponent:o,connectionStatus:d}))):null}function nE(e,t){(0,m.useRef)(null),A();let n=(0,m.useMemo)(()=>t(e),[e]);return n}let nv=({nodeTypes:e,edgeTypes:t,onMove:n,onMoveStart:o,onMoveEnd:r,onInit:l,onNodeClick:a,onEdgeClick:i,onNodeDoubleClick:s,onEdgeDoubleClick:d,onNodeMouseEnter:c,onNodeMouseMove:u,onNodeMouseLeave:g,onNodeContextMenu:h,onSelectionContextMenu:p,onSelectionStart:f,onSelectionEnd:y,connectionLineType:x,connectionLineStyle:b,connectionLineComponent:S,connectionLineContainerStyle:E,selectionKeyCode:v,selectionOnDrag:w,selectionMode:M,multiSelectionKeyCode:C,panActivationKeyCode:N,zoomActivationKeyCode:k,deleteKeyCode:A,onlyRenderVisibleElements:I,elementsSelectable:R,selectNodesOnDrag:P,defaultViewport:_,translateExtent:$,minZoom:O,maxZoom:B,preventScrolling:D,defaultMarkerColor:z,zoomOnScroll:T,zoomOnPinch:L,panOnScroll:H,panOnScrollSpeed:F,panOnScrollMode:Z,zoomOnDoubleClick:X,panOnDrag:V,onPaneClick:K,onPaneMouseEnter:Y,onPaneMouseMove:W,onPaneMouseLeave:j,onPaneScroll:U,onPaneContextMenu:q,onEdgeContextMenu:G,onEdgeMouseEnter:Q,onEdgeMouseMove:J,onEdgeMouseLeave:ee,onReconnect:et,onReconnectStart:en,onReconnectEnd:eo,reconnectRadius:er,noDragClassName:el,noWheelClassName:ea,noPanClassName:ei,elevateEdgesOnSelect:es,disableKeyboardA11y:ed,nodeOrigin:ec,nodeExtent:eu,rfId:eg})=>{let eh=nE(e,t0),ep=nE(t,nt);return!function(e){let t=ty(),n=(0,m.useRef)(!1);(0,m.useEffect)(()=>{!n.current&&t.viewportInitialized&&e&&(setTimeout(()=>e(t),1),n.current=!0)},[e,t.viewportInitialized])}(l),m.createElement(tJ,{onPaneClick:K,onPaneMouseEnter:Y,onPaneMouseMove:W,onPaneMouseLeave:j,onPaneContextMenu:q,onPaneScroll:U,deleteKeyCode:A,selectionKeyCode:v,selectionOnDrag:w,selectionMode:M,onSelectionStart:f,onSelectionEnd:y,multiSelectionKeyCode:C,panActivationKeyCode:N,zoomActivationKeyCode:k,elementsSelectable:R,onMove:n,onMoveStart:o,onMoveEnd:r,zoomOnScroll:T,zoomOnPinch:L,zoomOnDoubleClick:X,panOnScroll:H,panOnScrollSpeed:F,panOnScrollMode:Z,panOnDrag:V,defaultViewport:_,translateExtent:$,minZoom:O,maxZoom:B,onSelectionContextMenu:p,preventScrolling:D,noDragClassName:el,noWheelClassName:ea,noPanClassName:ei,disableKeyboardA11y:ed},m.createElement(nf,null,m.createElement(np,{edgeTypes:ep,onEdgeClick:i,onEdgeDoubleClick:d,onlyRenderVisibleElements:I,onEdgeContextMenu:G,onEdgeMouseEnter:Q,onEdgeMouseMove:J,onEdgeMouseLeave:ee,onReconnect:et,onReconnectStart:en,onReconnectEnd:eo,reconnectRadius:er,defaultMarkerColor:z,noPanClassName:ei,elevateEdgesOnSelect:!!es,disableKeyboardA11y:ed,rfId:eg},m.createElement(nS,{style:b,type:x,component:S,containerStyle:E})),m.createElement("div",{className:"react-flow__edgelabel-renderer"}),m.createElement(t3,{nodeTypes:eh,onNodeClick:a,onNodeDoubleClick:s,onNodeMouseEnter:c,onNodeMouseMove:u,onNodeMouseLeave:g,onNodeContextMenu:h,selectNodesOnDrag:P,onlyRenderVisibleElements:I,noPanClassName:ei,noDragClassName:el,disableKeyboardA11y:ed,nodeOrigin:ec,nodeExtent:eu,rfId:eg})))};nv.displayName="GraphView";var nw=(0,m.memo)(nv);let nM=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],nC={rfId:"1",width:0,height:0,transform:[0,0,1],nodeInternals:new Map,edges:[],onNodesChange:null,onEdgesChange:null,hasDefaultNodes:!1,hasDefaultEdges:!1,d3Zoom:null,d3Selection:null,d3ZoomHandler:void 0,minZoom:.5,maxZoom:2,translateExtent:nM,nodeExtent:nM,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionNodeId:null,connectionHandleId:null,connectionHandleType:"source",connectionPosition:{x:0,y:0},connectionStatus:null,connectionMode:d.Strict,domNode:null,paneDragging:!1,noPanClassName:"nopan",nodeOrigin:[0,0],nodeDragThreshold:0,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesUpdatable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,fitViewOnInit:!1,fitViewOnInitDone:!1,fitViewOnInitOptions:void 0,onSelectionChange:[],multiSelectionActive:!1,connectionStartHandle:null,connectionEndHandle:null,connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,connectionRadius:20,onError:j,isValidConnection:void 0},nN=()=>(0,y.F)((e,t)=>({...nC,setNodes:n=>{let{nodeInternals:o,nodeOrigin:r,elevateNodesOnSelect:l}=t();e({nodeInternals:tc(n,o,r,l)})},getNodes:()=>Array.from(t().nodeInternals.values()),setEdges:n=>{let{defaultEdgeOptions:o={}}=t();e({edges:n.map(e=>({...o,...e}))})},setDefaultNodesAndEdges:(n,o)=>{let r=void 0!==n,l=void 0!==o,a=r?tc(n,new Map,t().nodeOrigin,t().elevateNodesOnSelect):new Map,i=l?o:[];e({nodeInternals:a,edges:i,hasDefaultNodes:r,hasDefaultEdges:l})},updateNodeDimensions:n=>{let{onNodesChange:o,nodeInternals:r,fitViewOnInit:l,fitViewOnInitDone:a,fitViewOnInitOptions:i,domNode:s,nodeOrigin:d}=t(),c=s?.querySelector(".react-flow__viewport");if(!c)return;let u=window.getComputedStyle(c),{m22:g}=new window.DOMMatrixReadOnly(u.transform),h=n.reduce((e,t)=>{let n=r.get(t.id);if(n?.hidden)r.set(n.id,{...n,[Y]:{...n[Y],handleBounds:void 0}});else if(n){let o=$(t.nodeElement),l=!!(o.width&&o.height&&(n.width!==o.width||n.height!==o.height||t.forceUpdate));l&&(r.set(n.id,{...n,[Y]:{...n[Y],handleBounds:{source:tF(".source",t.nodeElement,g,d),target:tF(".target",t.nodeElement,g,d)}},...o}),e.push({id:n.id,type:"dimensions",dimensions:o}))}return e},[]);td(r,d);let p=a||l&&!a&&tu(t,{initial:!0,...i});e({nodeInternals:new Map(r),fitViewOnInitDone:p}),h?.length>0&&o?.(h)},updateNodePositions:(e,n=!0,o=!1)=>{let{triggerNodeChanges:r}=t(),l=e.map(e=>{let t={id:e.id,type:"position",dragging:o};return n&&(t.positionAbsolute=e.positionAbsolute,t.position=e.position),t});r(l)},triggerNodeChanges:n=>{let{onNodesChange:o,nodeInternals:r,hasDefaultNodes:l,nodeOrigin:a,getNodes:i,elevateNodesOnSelect:s}=t();if(n?.length){if(l){let t=t_(n,i()),o=tc(t,r,a,s);e({nodeInternals:o})}o?.(n)}},addSelectedNodes:n=>{let o;let{multiSelectionActive:r,edges:l,getNodes:a}=t(),i=null;r?o=n.map(e=>t$(e,!0)):(o=tO(a(),n),i=tO(l,[])),tg({changedNodes:o,changedEdges:i,get:t,set:e})},addSelectedEdges:n=>{let o;let{multiSelectionActive:r,edges:l,getNodes:a}=t(),i=null;r?o=n.map(e=>t$(e,!0)):(o=tO(l,n),i=tO(a(),[])),tg({changedNodes:i,changedEdges:o,get:t,set:e})},unselectNodesAndEdges:({nodes:n,edges:o}={})=>{let{edges:r,getNodes:l}=t(),a=n||l(),i=a.map(e=>(e.selected=!1,t$(e.id,!1))),s=(o||r).map(e=>t$(e.id,!1));tg({changedNodes:i,changedEdges:s,get:t,set:e})},setMinZoom:n=>{let{d3Zoom:o,maxZoom:r}=t();o?.scaleExtent([n,r]),e({minZoom:n})},setMaxZoom:n=>{let{d3Zoom:o,minZoom:r}=t();o?.scaleExtent([r,n]),e({maxZoom:n})},setTranslateExtent:n=>{t().d3Zoom?.translateExtent(n),e({translateExtent:n})},resetSelectedElements:()=>{let{edges:n,getNodes:o}=t(),r=o(),l=r.filter(e=>e.selected).map(e=>t$(e.id,!1)),a=n.filter(e=>e.selected).map(e=>t$(e.id,!1));tg({changedNodes:l,changedEdges:a,get:t,set:e})},setNodeExtent:n=>{let{nodeInternals:o}=t();o.forEach(e=>{e.positionAbsolute=B(e.position,n)}),e({nodeExtent:n,nodeInternals:new Map(o)})},panBy:e=>{let{transform:n,width:o,height:r,d3Zoom:l,d3Selection:a,translateExtent:i}=t();if(!l||!a||!e.x&&!e.y)return!1;let s=b.CR.translate(n[0]+e.x,n[1]+e.y).scale(n[2]),d=l?.constrain()(s,[[0,0],[o,r]],i);l.transform(a,d);let c=n[0]!==d.x||n[1]!==d.y||n[2]!==d.k;return c},cancelConnection:()=>e({connectionNodeId:nC.connectionNodeId,connectionHandleId:nC.connectionHandleId,connectionHandleType:nC.connectionHandleType,connectionStatus:nC.connectionStatus,connectionStartHandle:nC.connectionStartHandle,connectionEndHandle:nC.connectionEndHandle}),reset:()=>e({...nC})}),Object.is),nk=({children:e})=>{let t=(0,m.useRef)(null);return t.current||(t.current=nN()),m.createElement(M,{value:t.current},e)};nk.displayName="ReactFlowProvider";let nA=({children:e})=>{let t=(0,m.useContext)(w);return t?m.createElement(m.Fragment,null,e):m.createElement(nk,null,e)};nA.displayName="ReactFlowWrapper";let nI={input:eU,default:eW,output:eG,group:eQ},nR={default:ey,straight:eh,step:eg,smoothstep:eu,simplebezier:ea},nP=[0,0],n_=[15,15],n$={x:0,y:0,zoom:1},nO={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0},nB=(0,m.forwardRef)(({nodes:e,edges:t,defaultNodes:n,defaultEdges:o,className:r,nodeTypes:l=nI,edgeTypes:a=nR,onNodeClick:i,onEdgeClick:s,onInit:h,onMove:p,onMoveStart:y,onMoveEnd:x,onConnect:b,onConnectStart:S,onConnectEnd:E,onClickConnectStart:v,onClickConnectEnd:w,onNodeMouseEnter:M,onNodeMouseMove:C,onNodeMouseLeave:N,onNodeContextMenu:k,onNodeDoubleClick:A,onNodeDragStart:I,onNodeDrag:R,onNodeDragStop:_,onNodesDelete:$,onEdgesDelete:O,onSelectionChange:B,onSelectionDragStart:D,onSelectionDrag:z,onSelectionDragStop:T,onSelectionContextMenu:L,onSelectionStart:H,onSelectionEnd:F,connectionMode:Z=d.Strict,connectionLineType:X=g.Bezier,connectionLineStyle:V,connectionLineComponent:K,connectionLineContainerStyle:Y,deleteKeyCode:W="Backspace",selectionKeyCode:j="Shift",selectionOnDrag:U=!1,selectionMode:q=u.Full,panActivationKeyCode:G="Space",multiSelectionKeyCode:Q=J()?"Meta":"Control",zoomActivationKeyCode:ee=J()?"Meta":"Control",snapToGrid:et=!1,snapGrid:en=n_,onlyRenderVisibleElements:eo=!1,selectNodesOnDrag:er=!0,nodesDraggable:el,nodesConnectable:ea,nodesFocusable:ei,nodeOrigin:es=nP,edgesFocusable:ed,edgesUpdatable:ec,elementsSelectable:eu,defaultViewport:eg=n$,minZoom:eh=.5,maxZoom:ep=2,translateExtent:em=nM,preventScrolling:ef=!0,nodeExtent:ey,defaultMarkerColor:ex="#b1b1b7",zoomOnScroll:eb=!0,zoomOnPinch:eS=!0,panOnScroll:eE=!1,panOnScrollSpeed:ev=.5,panOnScrollMode:ew=c.Free,zoomOnDoubleClick:eM=!0,panOnDrag:eC=!0,onPaneClick:eN,onPaneMouseEnter:ek,onPaneMouseMove:eA,onPaneMouseLeave:eI,onPaneScroll:eR,onPaneContextMenu:eP,children:e_,onEdgeContextMenu:e$,onEdgeDoubleClick:eO,onEdgeMouseEnter:eB,onEdgeMouseMove:eD,onEdgeMouseLeave:ez,onEdgeUpdate:eT,onEdgeUpdateStart:eL,onEdgeUpdateEnd:eH,onReconnect:eF,onReconnectStart:eZ,onReconnectEnd:eX,reconnectRadius:eV=10,edgeUpdaterRadius:eK=10,onNodesChange:eY,onEdgesChange:eW,noDragClassName:ej="nodrag",noWheelClassName:eU="nowheel",noPanClassName:eq="nopan",fitView:eG=!1,fitViewOptions:eQ,connectOnClick:eJ=!0,attributionPosition:e0,proOptions:e1,defaultEdgeOptions:e2,elevateNodesOnSelect:e5=!0,elevateEdgesOnSelect:e4=!1,disableKeyboardA11y:e7=!1,autoPanOnConnect:e8=!0,autoPanOnNodeDrag:e9=!0,connectionRadius:te=20,isValidConnection:tt,onError:tn,style:to,id:tr,nodeDragThreshold:ta,...ti},ts)=>{let td=tr||"1";return m.createElement("div",{...ti,style:{...to,...nO},ref:ts,className:(0,f.Z)(["react-flow",r]),"data-testid":"rf__wrapper",id:tr},m.createElement(nA,null,m.createElement(nw,{onInit:h,onMove:p,onMoveStart:y,onMoveEnd:x,onNodeClick:i,onEdgeClick:s,onNodeMouseEnter:M,onNodeMouseMove:C,onNodeMouseLeave:N,onNodeContextMenu:k,onNodeDoubleClick:A,nodeTypes:l,edgeTypes:a,connectionLineType:X,connectionLineStyle:V,connectionLineComponent:K,connectionLineContainerStyle:Y,selectionKeyCode:j,selectionOnDrag:U,selectionMode:q,deleteKeyCode:W,multiSelectionKeyCode:Q,panActivationKeyCode:G,zoomActivationKeyCode:ee,onlyRenderVisibleElements:eo,selectNodesOnDrag:er,defaultViewport:eg,translateExtent:em,minZoom:eh,maxZoom:ep,preventScrolling:ef,zoomOnScroll:eb,zoomOnPinch:eS,zoomOnDoubleClick:eM,panOnScroll:eE,panOnScrollSpeed:ev,panOnScrollMode:ew,panOnDrag:eC,onPaneClick:eN,onPaneMouseEnter:ek,onPaneMouseMove:eA,onPaneMouseLeave:eI,onPaneScroll:eR,onPaneContextMenu:eP,onSelectionContextMenu:L,onSelectionStart:H,onSelectionEnd:F,onEdgeContextMenu:e$,onEdgeDoubleClick:eO,onEdgeMouseEnter:eB,onEdgeMouseMove:eD,onEdgeMouseLeave:ez,onReconnect:eF??eT,onReconnectStart:eZ??eL,onReconnectEnd:eX??eH,reconnectRadius:eV??eK,defaultMarkerColor:ex,noDragClassName:ej,noWheelClassName:eU,noPanClassName:eq,elevateEdgesOnSelect:e4,rfId:td,disableKeyboardA11y:e7,nodeOrigin:es,nodeExtent:ey}),m.createElement(e6,{nodes:e,edges:t,defaultNodes:n,defaultEdges:o,onConnect:b,onConnectStart:S,onConnectEnd:E,onClickConnectStart:v,onClickConnectEnd:w,nodesDraggable:el,nodesConnectable:ea,nodesFocusable:ei,edgesFocusable:ed,edgesUpdatable:ec,elementsSelectable:eu,elevateNodesOnSelect:e5,minZoom:eh,maxZoom:ep,nodeExtent:ey,onNodesChange:eY,onEdgesChange:eW,snapToGrid:et,snapGrid:en,connectionMode:Z,translateExtent:em,connectOnClick:eJ,defaultEdgeOptions:e2,fitView:eG,fitViewOptions:eQ,onNodesDelete:$,onEdgesDelete:O,onNodeDragStart:I,onNodeDrag:R,onNodeDragStop:_,onSelectionDrag:z,onSelectionDragStart:D,onSelectionDragStop:T,noPanClassName:eq,nodeOrigin:es,rfId:td,autoPanOnConnect:e8,autoPanOnNodeDrag:e9,onError:tn,connectionRadius:te,isValidConnection:tt,nodeDragThreshold:ta}),m.createElement(e3,{onSelectionChange:B}),e_,m.createElement(P,{proOptions:e1,position:e0}),m.createElement(tl,{rfId:td,disableKeyboardA11y:e7})))});function nD(e){return t=>{let[n,o]=(0,m.useState)(t),r=(0,m.useCallback)(t=>o(n=>e(t,n)),[]);return[n,o,r]}}nB.displayName="ReactFlow";let nz=nD(t_),nT=nD(function(e,t){return tP(e,t)})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/971df74e-f3c263af350cb1b6.js b/dbgpt/app/static/web/_next/static/chunks/971df74e-f3c263af350cb1b6.js new file mode 100644 index 000000000..753938d3f --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/971df74e-f3c263af350cb1b6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8241],{36851:function(e,t,n){n.d(t,{AC:function(){return A},HH:function(){return eK},Ly:function(){return p},OQ:function(){return ef},Rr:function(){return nz},Z_:function(){return eC},_K:function(){return ty},ll:function(){return nT},oR:function(){return k},s_:function(){return R},tV:function(){return nk},u5:function(){return ee},x$:function(){return nB}});var o,r,l,a,i,s,d,c,u,g,h,p,m=n(67294),f=n(83840),y=n(52464),x=n(76248),b=n(62430),S=n(23838),E=n(46939),v=n(62487);n(73935);let w=(0,m.createContext)(null),M=w.Provider,C={error001:()=>"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:e=>`Node type "${e}" not found. Using fallback type "default".`,error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:e=>`The old edge with id=${e} does not exist.`,error009:e=>`Marker type "${e}" doesn't exist.`,error008:(e,t)=>`Couldn't create edge for ${e?"target":"source"} handle id: "${e?t.targetHandle:t.sourceHandle}", edge id: ${t.id}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:e=>`Edge type "${e}" not found. Using fallback type "default".`,error012:e=>`Node with id "${e}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`},N=C.error001();function k(e,t){let n=(0,m.useContext)(w);if(null===n)throw Error(N);return(0,y.s)(n,e,t)}let A=()=>{let e=(0,m.useContext)(w);if(null===e)throw Error(N);return(0,m.useMemo)(()=>({getState:e.getState,setState:e.setState,subscribe:e.subscribe,destroy:e.destroy}),[e])},I=e=>e.userSelectionActive?"none":"all";function R({position:e,children:t,className:n,style:o,...r}){let l=k(I),a=`${e}`.split("-");return m.createElement("div",{className:(0,f.Z)(["react-flow__panel",n,...a]),style:{...o,pointerEvents:l},...r},t)}function P({proOptions:e,position:t="bottom-right"}){return e?.hideAttribution?null:m.createElement(R,{position:t,className:"react-flow__attribution","data-message":"Please only hide this attribution when you are subscribed to React Flow Pro: https://reactflow.dev/pro"},m.createElement("a",{href:"https://reactflow.dev",target:"_blank",rel:"noopener noreferrer","aria-label":"React Flow attribution"},"React Flow"))}var _=(0,m.memo)(({x:e,y:t,label:n,labelStyle:o={},labelShowBg:r=!0,labelBgStyle:l={},labelBgPadding:a=[2,4],labelBgBorderRadius:i=2,children:s,className:d,...c})=>{let u=(0,m.useRef)(null),[g,h]=(0,m.useState)({x:0,y:0,width:0,height:0}),p=(0,f.Z)(["react-flow__edge-textwrapper",d]);return((0,m.useEffect)(()=>{if(u.current){let e=u.current.getBBox();h({x:e.x,y:e.y,width:e.width,height:e.height})}},[n]),void 0!==n&&n)?m.createElement("g",{transform:`translate(${e-g.width/2} ${t-g.height/2})`,className:p,visibility:g.width?"visible":"hidden",...c},r&&m.createElement("rect",{width:g.width+2*a[0],x:-a[0],y:-a[1],height:g.height+2*a[1],className:"react-flow__edge-textbg",style:l,rx:i,ry:i}),m.createElement("text",{className:"react-flow__edge-text",y:g.height/2,dy:"0.3em",ref:u,style:o},n),s):null});let $=e=>({width:e.offsetWidth,height:e.offsetHeight}),O=(e,t=0,n=1)=>Math.min(Math.max(e,t),n),B=(e={x:0,y:0},t)=>({x:O(e.x,t[0][0],t[1][0]),y:O(e.y,t[0][1],t[1][1])}),D=(e,t,n)=>en?-O(Math.abs(e-n),1,50)/50:0,z=(e,t)=>{let n=20*D(e.x,35,t.width-35),o=20*D(e.y,35,t.height-35);return[n,o]},T=e=>e.getRootNode?.()||window?.document,L=(e,t)=>({x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),x2:Math.max(e.x2,t.x2),y2:Math.max(e.y2,t.y2)}),H=({x:e,y:t,width:n,height:o})=>({x:e,y:t,x2:e+n,y2:t+o}),F=({x:e,y:t,x2:n,y2:o})=>({x:e,y:t,width:n-e,height:o-t}),Z=e=>({...e.positionAbsolute||{x:0,y:0},width:e.width||0,height:e.height||0}),X=(e,t)=>{let n=Math.max(0,Math.min(e.x+e.width,t.x+t.width)-Math.max(e.x,t.x)),o=Math.max(0,Math.min(e.y+e.height,t.y+t.height)-Math.max(e.y,t.y));return Math.ceil(n*o)},V=e=>K(e.width)&&K(e.height)&&K(e.x)&&K(e.y),K=e=>!isNaN(e)&&isFinite(e),Y=Symbol.for("internals"),W=["Enter"," ","Escape"],j=(e,t)=>{},U=e=>"nativeEvent"in e;function q(e){let t=U(e)?e.nativeEvent:e,n=t.composedPath?.()?.[0]||e.target,o=["INPUT","SELECT","TEXTAREA"].includes(n?.nodeName)||n?.hasAttribute("contenteditable");return o||!!n?.closest(".nokey")}let G=e=>"clientX"in e,Q=(e,t)=>{let n=G(e),o=n?e.clientX:e.touches?.[0].clientX,r=n?e.clientY:e.touches?.[0].clientY;return{x:o-(t?.left??0),y:r-(t?.top??0)}},J=()=>"undefined"!=typeof navigator&&navigator?.userAgent?.indexOf("Mac")>=0,ee=({id:e,path:t,labelX:n,labelY:o,label:r,labelStyle:l,labelShowBg:a,labelBgStyle:i,labelBgPadding:s,labelBgBorderRadius:d,style:c,markerEnd:u,markerStart:g,interactionWidth:h=20})=>m.createElement(m.Fragment,null,m.createElement("path",{id:e,style:c,d:t,fill:"none",className:"react-flow__edge-path",markerEnd:u,markerStart:g}),h&&m.createElement("path",{d:t,fill:"none",strokeOpacity:0,strokeWidth:h,className:"react-flow__edge-interaction"}),r&&K(n)&&K(o)?m.createElement(_,{x:n,y:o,label:r,labelStyle:l,labelShowBg:a,labelBgStyle:i,labelBgPadding:s,labelBgBorderRadius:d}):null);function et(e,t,n){return void 0===n?n:o=>{let r=t().edges.find(t=>t.id===e);r&&n(o,{...r})}}function en({sourceX:e,sourceY:t,targetX:n,targetY:o}){let r=Math.abs(n-e)/2,l=Math.abs(o-t)/2;return[n{let[x,b,S]=el({sourceX:e,sourceY:t,sourcePosition:r,targetX:n,targetY:o,targetPosition:l});return m.createElement(ee,{path:x,labelX:b,labelY:S,label:a,labelStyle:i,labelShowBg:s,labelBgStyle:d,labelBgPadding:c,labelBgBorderRadius:u,style:g,markerEnd:h,markerStart:f,interactionWidth:y})});ea.displayName="SimpleBezierEdge";let ei={[p.Left]:{x:-1,y:0},[p.Right]:{x:1,y:0},[p.Top]:{x:0,y:-1},[p.Bottom]:{x:0,y:1}},es=({source:e,sourcePosition:t=p.Bottom,target:n})=>t===p.Left||t===p.Right?e.xMath.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2));function ec({sourceX:e,sourceY:t,sourcePosition:n=p.Bottom,targetX:o,targetY:r,targetPosition:l=p.Top,borderRadius:a=5,centerX:i,centerY:s,offset:d=20}){let[c,u,g,h,m]=function({source:e,sourcePosition:t=p.Bottom,target:n,targetPosition:o=p.Top,center:r,offset:l}){let a,i;let s=ei[t],d=ei[o],c={x:e.x+s.x*l,y:e.y+s.y*l},u={x:n.x+d.x*l,y:n.y+d.y*l},g=es({source:c,sourcePosition:t,target:u}),h=0!==g.x?"x":"y",m=g[h],f=[],y={x:0,y:0},x={x:0,y:0},[b,S,E,v]=en({sourceX:e.x,sourceY:e.y,targetX:n.x,targetY:n.y});if(s[h]*d[h]==-1){a=r.x??b,i=r.y??S;let e=[{x:a,y:c.y},{x:a,y:u.y}],t=[{x:c.x,y:i},{x:u.x,y:i}];f=s[h]===m?"x"===h?e:t:"x"===h?t:e}else{let r=[{x:c.x,y:u.y}],g=[{x:u.x,y:c.y}];if(f="x"===h?s.x===m?g:r:s.y===m?r:g,t===o){let t=Math.abs(e[h]-n[h]);if(t<=l){let o=Math.min(l-1,l-t);s[h]===m?y[h]=(c[h]>e[h]?-1:1)*o:x[h]=(u[h]>n[h]?-1:1)*o}}if(t!==o){let e="x"===h?"y":"x",t=s[h]===d[e],n=c[e]>u[e],o=c[e]=E?(a=(p.x+b.x)/2,i=f[0].y):(a=f[0].x,i=(p.y+b.y)/2)}let w=[e,{x:c.x+y.x,y:c.y+y.y},...f,{x:u.x+x.x,y:u.y+x.y},n];return[w,a,i,E,v]}({source:{x:e,y:t},sourcePosition:n,target:{x:o,y:r},targetPosition:l,center:{x:i,y:s},offset:d}),f=c.reduce((e,t,n)=>e+(n>0&&n{let[b,S,E]=ec({sourceX:e,sourceY:t,sourcePosition:u,targetX:n,targetY:o,targetPosition:g,borderRadius:y?.borderRadius,offset:y?.offset});return m.createElement(ee,{path:b,labelX:S,labelY:E,label:r,labelStyle:l,labelShowBg:a,labelBgStyle:i,labelBgPadding:s,labelBgBorderRadius:d,style:c,markerEnd:h,markerStart:f,interactionWidth:x})});eu.displayName="SmoothStepEdge";let eg=(0,m.memo)(e=>m.createElement(eu,{...e,pathOptions:(0,m.useMemo)(()=>({borderRadius:0,offset:e.pathOptions?.offset}),[e.pathOptions?.offset])}));eg.displayName="StepEdge";let eh=(0,m.memo)(({sourceX:e,sourceY:t,targetX:n,targetY:o,label:r,labelStyle:l,labelShowBg:a,labelBgStyle:i,labelBgPadding:s,labelBgBorderRadius:d,style:c,markerEnd:u,markerStart:g,interactionWidth:h})=>{let[p,f,y]=function({sourceX:e,sourceY:t,targetX:n,targetY:o}){let[r,l,a,i]=en({sourceX:e,sourceY:t,targetX:n,targetY:o});return[`M ${e},${t}L ${n},${o}`,r,l,a,i]}({sourceX:e,sourceY:t,targetX:n,targetY:o});return m.createElement(ee,{path:p,labelX:f,labelY:y,label:r,labelStyle:l,labelShowBg:a,labelBgStyle:i,labelBgPadding:s,labelBgBorderRadius:d,style:c,markerEnd:u,markerStart:g,interactionWidth:h})});function ep(e,t){return e>=0?.5*e:25*t*Math.sqrt(-e)}function em({pos:e,x1:t,y1:n,x2:o,y2:r,c:l}){switch(e){case p.Left:return[t-ep(t-o,l),n];case p.Right:return[t+ep(o-t,l),n];case p.Top:return[t,n-ep(n-r,l)];case p.Bottom:return[t,n+ep(r-n,l)]}}function ef({sourceX:e,sourceY:t,sourcePosition:n=p.Bottom,targetX:o,targetY:r,targetPosition:l=p.Top,curvature:a=.25}){let[i,s]=em({pos:n,x1:e,y1:t,x2:o,y2:r,c:a}),[d,c]=em({pos:l,x1:o,y1:r,x2:e,y2:t,c:a}),[u,g,h,m]=eo({sourceX:e,sourceY:t,targetX:o,targetY:r,sourceControlX:i,sourceControlY:s,targetControlX:d,targetControlY:c});return[`M${e},${t} C${i},${s} ${d},${c} ${o},${r}`,u,g,h,m]}eh.displayName="StraightEdge";let ey=(0,m.memo)(({sourceX:e,sourceY:t,targetX:n,targetY:o,sourcePosition:r=p.Bottom,targetPosition:l=p.Top,label:a,labelStyle:i,labelShowBg:s,labelBgStyle:d,labelBgPadding:c,labelBgBorderRadius:u,style:g,markerEnd:h,markerStart:f,pathOptions:y,interactionWidth:x})=>{let[b,S,E]=ef({sourceX:e,sourceY:t,sourcePosition:r,targetX:n,targetY:o,targetPosition:l,curvature:y?.curvature});return m.createElement(ee,{path:b,labelX:S,labelY:E,label:a,labelStyle:i,labelShowBg:s,labelBgStyle:d,labelBgPadding:c,labelBgBorderRadius:u,style:g,markerEnd:h,markerStart:f,interactionWidth:x})});ey.displayName="BezierEdge";let ex=(0,m.createContext)(null),eb=ex.Provider;ex.Consumer;let eS=()=>{let e=(0,m.useContext)(ex);return e},eE=e=>"id"in e&&"source"in e&&"target"in e,ev=({source:e,sourceHandle:t,target:n,targetHandle:o})=>`reactflow__edge-${e}${t||""}-${n}${o||""}`,ew=(e,t)=>{if(void 0===e)return"";if("string"==typeof e)return e;let n=t?`${t}__`:"";return`${n}${Object.keys(e).sort().map(t=>`${t}=${e[t]}`).join("&")}`},eM=(e,t)=>t.some(t=>t.source===e.source&&t.target===e.target&&(t.sourceHandle===e.sourceHandle||!t.sourceHandle&&!e.sourceHandle)&&(t.targetHandle===e.targetHandle||!t.targetHandle&&!e.targetHandle)),eC=(e,t)=>{let n;return e.source&&e.target?eM(n=eE(e)?{...e}:{...e,id:ev(e)},t)?t:t.concat(n):(j("006",C.error006()),t)},eN=({x:e,y:t},[n,o,r],l,[a,i])=>{let s={x:(e-n)/r,y:(t-o)/r};return l?{x:a*Math.round(s.x/a),y:i*Math.round(s.y/i)}:s},ek=({x:e,y:t},[n,o,r])=>({x:e*r+n,y:t*r+o}),eA=(e,t=[0,0])=>{if(!e)return{x:0,y:0,positionAbsolute:{x:0,y:0}};let n=(e.width??0)*t[0],o=(e.height??0)*t[1],r={x:e.position.x-n,y:e.position.y-o};return{...r,positionAbsolute:e.positionAbsolute?{x:e.positionAbsolute.x-n,y:e.positionAbsolute.y-o}:r}},eI=(e,t=[0,0])=>{if(0===e.length)return{x:0,y:0,width:0,height:0};let n=e.reduce((e,n)=>{let{x:o,y:r}=eA(n,t).positionAbsolute;return L(e,H({x:o,y:r,width:n.width||0,height:n.height||0}))},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return F(n)},eR=(e,t,[n,o,r]=[0,0,1],l=!1,a=!1,i=[0,0])=>{let s={x:(t.x-n)/r,y:(t.y-o)/r,width:t.width/r,height:t.height/r},d=[];return e.forEach(e=>{let{width:t,height:n,selectable:o=!0,hidden:r=!1}=e;if(a&&!o||r)return!1;let{positionAbsolute:c}=eA(e,i),u={x:c.x,y:c.y,width:t||0,height:n||0},g=X(s,u);(void 0===t||void 0===n||null===t||null===n||l&&g>0||g>=(t||0)*(n||0)||e.dragging)&&d.push(e)}),d},eP=(e,t)=>{let n=e.map(e=>e.id);return t.filter(e=>n.includes(e.source)||n.includes(e.target))},e_=(e,t,n,o,r,l=.1)=>{let a=t/(e.width*(1+l)),i=n/(e.height*(1+l)),s=O(Math.min(a,i),o,r),d=e.x+e.width/2,c=e.y+e.height/2;return{x:t/2-d*s,y:n/2-c*s,zoom:s}},e$=(e,t=0)=>e.transition().duration(t);function eO(e,t,n,o){return(t[n]||[]).reduce((t,r)=>(`${e.id}-${r.id}-${n}`!==o&&t.push({id:r.id||null,type:n,nodeId:e.id,x:(e.positionAbsolute?.x??0)+r.x+r.width/2,y:(e.positionAbsolute?.y??0)+r.y+r.height/2}),t),[])}let eB={source:null,target:null,sourceHandle:null,targetHandle:null},eD=()=>({handleDomNode:null,isValid:!1,connection:eB,endHandle:null});function ez(e,t,n,o,r,l,a){let i="target"===r,s=a.querySelector(`.react-flow__handle[data-id="${e?.nodeId}-${e?.id}-${e?.type}"]`),c={...eD(),handleDomNode:s};if(s){let e=eT(void 0,s),r=s.getAttribute("data-nodeid"),a=s.getAttribute("data-handleid"),u=s.classList.contains("connectable"),g=s.classList.contains("connectableend"),h={source:i?r:n,sourceHandle:i?a:o,target:i?n:r,targetHandle:i?o:a};c.connection=h;let p=u&&g&&(t===d.Strict?i&&"source"===e||!i&&"target"===e:r!==n||a!==o);p&&(c.endHandle={nodeId:r,handleId:a,type:e},c.isValid=l(h))}return c}function eT(e,t){return e||(t?.classList.contains("target")?"target":t?.classList.contains("source")?"source":null)}function eL(e){e?.classList.remove("valid","connecting","react-flow__handle-valid","react-flow__handle-connecting")}function eH({event:e,handleId:t,nodeId:n,onConnect:o,isTarget:r,getState:l,setState:a,isValidConnection:i,edgeUpdaterType:s,onReconnectEnd:d}){let c,u;let g=T(e.target),{connectionMode:h,domNode:p,autoPanOnConnect:m,connectionRadius:f,onConnectStart:y,panBy:x,getNodes:b,cancelConnection:S}=l(),E=0,{x:v,y:w}=Q(e),M=g?.elementFromPoint(v,w),C=eT(s,M),N=p?.getBoundingClientRect();if(!N||!C)return;let k=Q(e,N),A=!1,I=null,R=!1,P=null,_=function({nodes:e,nodeId:t,handleId:n,handleType:o}){return e.reduce((e,r)=>{if(r[Y]){let{handleBounds:l}=r[Y],a=[],i=[];l&&(a=eO(r,l,"source",`${t}-${n}-${o}`),i=eO(r,l,"target",`${t}-${n}-${o}`)),e.push(...a,...i)}return e},[])}({nodes:b(),nodeId:n,handleId:t,handleType:C}),$=()=>{if(!m)return;let[e,t]=z(k,N);x({x:e,y:t}),E=requestAnimationFrame($)};function O(e){var o,s;let d;let{transform:p}=l();k=Q(e,N);let{handle:m,validHandleResult:y}=function(e,t,n,o,r,l){let{x:a,y:i}=Q(e),s=t.elementsFromPoint(a,i),d=s.find(e=>e.classList.contains("react-flow__handle"));if(d){let e=d.getAttribute("data-nodeid");if(e){let t=eT(void 0,d),o=d.getAttribute("data-handleid"),a=l({nodeId:e,id:o,type:t});if(a){let l=r.find(n=>n.nodeId===e&&n.type===t&&n.id===o);return{handle:{id:o,type:t,nodeId:e,x:l?.x||n.x,y:l?.y||n.y},validHandleResult:a}}}}let c=[],u=1/0;if(r.forEach(e=>{let t=Math.sqrt((e.x-n.x)**2+(e.y-n.y)**2);if(t<=o){let n=l(e);t<=u&&(te.isValid),h=c.some(({handle:e})=>"target"===e.type);return c.find(({handle:e,validHandleResult:t})=>h?"target"===e.type:!g||t.isValid)||c[0]}(e,g,eN(k,p,!1,[1,1]),f,_,e=>ez(e,h,n,t,r?"target":"source",i,g));if(c=m,A||($(),A=!0),P=y.handleDomNode,I=y.connection,R=y.isValid,a({connectionPosition:c&&R?ek({x:c.x,y:c.y},p):k,connectionStatus:(o=!!c,d=null,(s=R)?d="valid":o&&!s&&(d="invalid"),d),connectionEndHandle:y.endHandle}),!c&&!R&&!P)return eL(u);I.source!==I.target&&P&&(eL(u),u=P,P.classList.add("connecting","react-flow__handle-connecting"),P.classList.toggle("valid",R),P.classList.toggle("react-flow__handle-valid",R))}function B(e){(c||P)&&I&&R&&o?.(I),l().onConnectEnd?.(e),s&&d?.(e),eL(u),S(),cancelAnimationFrame(E),A=!1,R=!1,I=null,P=null,g.removeEventListener("mousemove",O),g.removeEventListener("mouseup",B),g.removeEventListener("touchmove",O),g.removeEventListener("touchend",B)}a({connectionPosition:k,connectionStatus:null,connectionNodeId:n,connectionHandleId:t,connectionHandleType:C,connectionStartHandle:{nodeId:n,handleId:t,type:C},connectionEndHandle:null}),y?.(e,{nodeId:n,handleId:t,handleType:C}),g.addEventListener("mousemove",O),g.addEventListener("mouseup",B),g.addEventListener("touchmove",O),g.addEventListener("touchend",B)}let eF=()=>!0,eZ=e=>({connectionStartHandle:e.connectionStartHandle,connectOnClick:e.connectOnClick,noPanClassName:e.noPanClassName}),eX=(e,t,n)=>o=>{let{connectionStartHandle:r,connectionEndHandle:l,connectionClickStartHandle:a}=o;return{connecting:r?.nodeId===e&&r?.handleId===t&&r?.type===n||l?.nodeId===e&&l?.handleId===t&&l?.type===n,clickConnecting:a?.nodeId===e&&a?.handleId===t&&a?.type===n}},eV=(0,m.forwardRef)(({type:e="source",position:t=p.Top,isValidConnection:n,isConnectable:o=!0,isConnectableStart:r=!0,isConnectableEnd:l=!0,id:a,onConnect:i,children:s,className:d,onMouseDown:c,onTouchStart:u,...g},h)=>{let y=a||null,b="target"===e,S=A(),E=eS(),{connectOnClick:v,noPanClassName:w}=k(eZ,x.X),{connecting:M,clickConnecting:N}=k(eX(E,y,e),x.X);E||S.getState().onError?.("010",C.error010());let I=e=>{let{defaultEdgeOptions:t,onConnect:n,hasDefaultEdges:o}=S.getState(),r={...t,...e};if(o){let{edges:e,setEdges:t}=S.getState();t(eC(r,e))}n?.(r),i?.(r)},R=e=>{if(!E)return;let t=G(e);r&&(t&&0===e.button||!t)&&eH({event:e,handleId:y,nodeId:E,onConnect:I,isTarget:b,getState:S.getState,setState:S.setState,isValidConnection:n||S.getState().isValidConnection||eF}),t?c?.(e):u?.(e)};return m.createElement("div",{"data-handleid":y,"data-nodeid":E,"data-handlepos":t,"data-id":`${E}-${y}-${e}`,className:(0,f.Z)(["react-flow__handle",`react-flow__handle-${t}`,"nodrag",w,d,{source:!b,target:b,connectable:o,connectablestart:r,connectableend:l,connecting:N,connectionindicator:o&&(r&&!M||l&&M)}]),onMouseDown:R,onTouchStart:R,onClick:v?t=>{let{onClickConnectStart:o,onClickConnectEnd:l,connectionClickStartHandle:a,connectionMode:i,isValidConnection:s}=S.getState();if(!E||!a&&!r)return;if(!a){o?.(t,{nodeId:E,handleId:y,handleType:e}),S.setState({connectionClickStartHandle:{nodeId:E,type:e,handleId:y}});return}let d=T(t.target),c=n||s||eF,{connection:u,isValid:g}=ez({nodeId:E,id:y,type:e},i,a.nodeId,a.handleId||null,a.type,c,d);g&&I(u),l?.(t),S.setState({connectionClickStartHandle:null})}:void 0,ref:h,...g},s)});eV.displayName="Handle";var eK=(0,m.memo)(eV);let eY=({data:e,isConnectable:t,targetPosition:n=p.Top,sourcePosition:o=p.Bottom})=>m.createElement(m.Fragment,null,m.createElement(eK,{type:"target",position:n,isConnectable:t}),e?.label,m.createElement(eK,{type:"source",position:o,isConnectable:t}));eY.displayName="DefaultNode";var eW=(0,m.memo)(eY);let ej=({data:e,isConnectable:t,sourcePosition:n=p.Bottom})=>m.createElement(m.Fragment,null,e?.label,m.createElement(eK,{type:"source",position:n,isConnectable:t}));ej.displayName="InputNode";var eU=(0,m.memo)(ej);let eq=({data:e,isConnectable:t,targetPosition:n=p.Top})=>m.createElement(m.Fragment,null,m.createElement(eK,{type:"target",position:n,isConnectable:t}),e?.label);eq.displayName="OutputNode";var eG=(0,m.memo)(eq);let eQ=()=>null;eQ.displayName="GroupNode";let eJ=e=>({selectedNodes:e.getNodes().filter(e=>e.selected),selectedEdges:e.edges.filter(e=>e.selected).map(e=>({...e}))}),e0=e=>e.id;function e1(e,t){return(0,x.X)(e.selectedNodes.map(e0),t.selectedNodes.map(e0))&&(0,x.X)(e.selectedEdges.map(e0),t.selectedEdges.map(e0))}let e2=(0,m.memo)(({onSelectionChange:e})=>{let t=A(),{selectedNodes:n,selectedEdges:o}=k(eJ,e1);return(0,m.useEffect)(()=>{let r={nodes:n,edges:o};e?.(r),t.getState().onSelectionChange.forEach(e=>e(r))},[n,o,e]),null});e2.displayName="SelectionListener";let e5=e=>!!e.onSelectionChange;function e3({onSelectionChange:e}){let t=k(e5);return e||t?m.createElement(e2,{onSelectionChange:e}):null}let e4=e=>({setNodes:e.setNodes,setEdges:e.setEdges,setDefaultNodesAndEdges:e.setDefaultNodesAndEdges,setMinZoom:e.setMinZoom,setMaxZoom:e.setMaxZoom,setTranslateExtent:e.setTranslateExtent,setNodeExtent:e.setNodeExtent,reset:e.reset});function e8(e,t){(0,m.useEffect)(()=>{void 0!==e&&t(e)},[e])}function e6(e,t,n){(0,m.useEffect)(()=>{void 0!==t&&n({[e]:t})},[t])}let e7=({nodes:e,edges:t,defaultNodes:n,defaultEdges:o,onConnect:r,onConnectStart:l,onConnectEnd:a,onClickConnectStart:i,onClickConnectEnd:s,nodesDraggable:d,nodesConnectable:c,nodesFocusable:u,edgesFocusable:g,edgesUpdatable:h,elevateNodesOnSelect:p,minZoom:f,maxZoom:y,nodeExtent:b,onNodesChange:S,onEdgesChange:E,elementsSelectable:v,connectionMode:w,snapGrid:M,snapToGrid:C,translateExtent:N,connectOnClick:I,defaultEdgeOptions:R,fitView:P,fitViewOptions:_,onNodesDelete:$,onEdgesDelete:O,onNodeDrag:B,onNodeDragStart:D,onNodeDragStop:z,onSelectionDrag:T,onSelectionDragStart:L,onSelectionDragStop:H,noPanClassName:F,nodeOrigin:Z,rfId:X,autoPanOnConnect:V,autoPanOnNodeDrag:K,onError:Y,connectionRadius:W,isValidConnection:j,nodeDragThreshold:U})=>{let{setNodes:q,setEdges:G,setDefaultNodesAndEdges:Q,setMinZoom:J,setMaxZoom:ee,setTranslateExtent:et,setNodeExtent:en,reset:eo}=k(e4,x.X),er=A();return(0,m.useEffect)(()=>{let e=o?.map(e=>({...e,...R}));return Q(n,e),()=>{eo()}},[]),e6("defaultEdgeOptions",R,er.setState),e6("connectionMode",w,er.setState),e6("onConnect",r,er.setState),e6("onConnectStart",l,er.setState),e6("onConnectEnd",a,er.setState),e6("onClickConnectStart",i,er.setState),e6("onClickConnectEnd",s,er.setState),e6("nodesDraggable",d,er.setState),e6("nodesConnectable",c,er.setState),e6("nodesFocusable",u,er.setState),e6("edgesFocusable",g,er.setState),e6("edgesUpdatable",h,er.setState),e6("elementsSelectable",v,er.setState),e6("elevateNodesOnSelect",p,er.setState),e6("snapToGrid",C,er.setState),e6("snapGrid",M,er.setState),e6("onNodesChange",S,er.setState),e6("onEdgesChange",E,er.setState),e6("connectOnClick",I,er.setState),e6("fitViewOnInit",P,er.setState),e6("fitViewOnInitOptions",_,er.setState),e6("onNodesDelete",$,er.setState),e6("onEdgesDelete",O,er.setState),e6("onNodeDrag",B,er.setState),e6("onNodeDragStart",D,er.setState),e6("onNodeDragStop",z,er.setState),e6("onSelectionDrag",T,er.setState),e6("onSelectionDragStart",L,er.setState),e6("onSelectionDragStop",H,er.setState),e6("noPanClassName",F,er.setState),e6("nodeOrigin",Z,er.setState),e6("rfId",X,er.setState),e6("autoPanOnConnect",V,er.setState),e6("autoPanOnNodeDrag",K,er.setState),e6("onError",Y,er.setState),e6("connectionRadius",W,er.setState),e6("isValidConnection",j,er.setState),e6("nodeDragThreshold",U,er.setState),e8(e,q),e8(t,G),e8(f,J),e8(y,ee),e8(N,et),e8(b,en),null},e9={display:"none"},te={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},tt="react-flow__node-desc",tn="react-flow__edge-desc",to=e=>e.ariaLiveMessage;function tr({rfId:e}){let t=k(to);return m.createElement("div",{id:`react-flow__aria-live-${e}`,"aria-live":"assertive","aria-atomic":"true",style:te},t)}function tl({rfId:e,disableKeyboardA11y:t}){return m.createElement(m.Fragment,null,m.createElement("div",{id:`${tt}-${e}`,style:e9},"Press enter or space to select a node.",!t&&"You can then use the arrow keys to move the node around."," Press delete to remove it and escape to cancel."," "),m.createElement("div",{id:`${tn}-${e}`,style:e9},"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel."),!t&&m.createElement(tr,{rfId:e}))}var ta=(e=null,t={actInsideInputWithModifier:!0})=>{let[n,o]=(0,m.useState)(!1),r=(0,m.useRef)(!1),l=(0,m.useRef)(new Set([])),[a,i]=(0,m.useMemo)(()=>{if(null!==e){let t=Array.isArray(e)?e:[e],n=t.filter(e=>"string"==typeof e).map(e=>e.split("+")),o=n.reduce((e,t)=>e.concat(...t),[]);return[n,o]}return[[],[]]},[e]);return(0,m.useEffect)(()=>{let n=t?.target||("undefined"!=typeof document?document:null);if(null!==e){let e=e=>{r.current=e.ctrlKey||e.metaKey||e.shiftKey;let n=(!r.current||r.current&&!t.actInsideInputWithModifier)&&q(e);if(n)return!1;let s=ts(e.code,i);l.current.add(e[s]),ti(a,l.current,!1)&&(e.preventDefault(),o(!0))},s=e=>{let n=(!r.current||r.current&&!t.actInsideInputWithModifier)&&q(e);if(n)return!1;let s=ts(e.code,i);ti(a,l.current,!0)?(o(!1),l.current.clear()):l.current.delete(e[s]),"Meta"===e.key&&l.current.clear(),r.current=!1},d=()=>{l.current.clear(),o(!1)};return n?.addEventListener("keydown",e),n?.addEventListener("keyup",s),window.addEventListener("blur",d),()=>{n?.removeEventListener("keydown",e),n?.removeEventListener("keyup",s),window.removeEventListener("blur",d)}}},[e,o]),n};function ti(e,t,n){return e.filter(e=>n||e.length===t.size).some(e=>e.every(e=>t.has(e)))}function ts(e,t){return t.includes(e)?"code":"key"}function td(e,t,n){e.forEach(o=>{let r=o.parentNode||o.parentId;if(r&&!e.has(r))throw Error(`Parent node ${r} not found`);if(r||n?.[o.id]){let{x:r,y:l,z:a}=function e(t,n,o,r){let l=t.parentNode||t.parentId;if(!l)return o;let a=n.get(l),i=eA(a,r);return e(a,n,{x:(o.x??0)+i.x,y:(o.y??0)+i.y,z:(a[Y]?.z??0)>(o.z??0)?a[Y]?.z??0:o.z??0},r)}(o,e,{...o.position,z:o[Y]?.z??0},t);o.positionAbsolute={x:r,y:l},o[Y].z=a,n?.[o.id]&&(o[Y].isParent=!0)}})}function tc(e,t,n,o){let r=new Map,l={},a=o?1e3:0;return e.forEach(e=>{let n=(K(e.zIndex)?e.zIndex:0)+(e.selected?a:0),o=t.get(e.id),i={...e,positionAbsolute:{x:e.position.x,y:e.position.y}},s=e.parentNode||e.parentId;s&&(l[s]=!0);let d=o?.type&&o?.type!==e.type;Object.defineProperty(i,Y,{enumerable:!1,value:{handleBounds:d?void 0:o?.[Y]?.handleBounds,z:n}}),r.set(e.id,i)}),td(r,n,l),r}function tu(e,t={}){let{getNodes:n,width:o,height:r,minZoom:l,maxZoom:a,d3Zoom:i,d3Selection:s,fitViewOnInitDone:d,fitViewOnInit:c,nodeOrigin:u}=e(),g=t.initial&&!d&&c,h=i&&s;if(h&&(g||!t.initial)){let e=n().filter(e=>{let n=t.includeHiddenNodes?e.width&&e.height:!e.hidden;return t.nodes?.length?n&&t.nodes.some(t=>t.id===e.id):n}),d=e.every(e=>e.width&&e.height);if(e.length>0&&d){let n=eI(e,u),{x:d,y:c,zoom:g}=e_(n,o,r,t.minZoom??l,t.maxZoom??a,t.padding??.1),h=b.CR.translate(d,c).scale(g);return"number"==typeof t.duration&&t.duration>0?i.transform(e$(s,t.duration),h):i.transform(s,h),!0}}return!1}function tg({changedNodes:e,changedEdges:t,get:n,set:o}){let{nodeInternals:r,edges:l,onNodesChange:a,onEdgesChange:i,hasDefaultNodes:s,hasDefaultEdges:d}=n();e?.length&&(s&&o({nodeInternals:(e.forEach(e=>{let t=r.get(e.id);t&&r.set(t.id,{...t,[Y]:t[Y],selected:e.selected})}),new Map(r))}),a?.(e)),t?.length&&(d&&o({edges:l.map(e=>{let n=t.find(t=>t.id===e.id);return n&&(e.selected=n.selected),e})}),i?.(t))}let th=()=>{},tp={zoomIn:th,zoomOut:th,zoomTo:th,getZoom:()=>1,setViewport:th,getViewport:()=>({x:0,y:0,zoom:1}),fitView:()=>!1,setCenter:th,fitBounds:th,project:e=>e,screenToFlowPosition:e=>e,flowToScreenPosition:e=>e,viewportInitialized:!1},tm=e=>({d3Zoom:e.d3Zoom,d3Selection:e.d3Selection}),tf=()=>{let e=A(),{d3Zoom:t,d3Selection:n}=k(tm,x.X),o=(0,m.useMemo)(()=>n&&t?{zoomIn:e=>t.scaleBy(e$(n,e?.duration),1.2),zoomOut:e=>t.scaleBy(e$(n,e?.duration),1/1.2),zoomTo:(e,o)=>t.scaleTo(e$(n,o?.duration),e),getZoom:()=>e.getState().transform[2],setViewport:(o,r)=>{let[l,a,i]=e.getState().transform,s=b.CR.translate(o.x??l,o.y??a).scale(o.zoom??i);t.transform(e$(n,r?.duration),s)},getViewport:()=>{let[t,n,o]=e.getState().transform;return{x:t,y:n,zoom:o}},fitView:t=>tu(e.getState,t),setCenter:(o,r,l)=>{let{width:a,height:i,maxZoom:s}=e.getState(),d=void 0!==l?.zoom?l.zoom:s,c=a/2-o*d,u=i/2-r*d,g=b.CR.translate(c,u).scale(d);t.transform(e$(n,l?.duration),g)},fitBounds:(o,r)=>{let{width:l,height:a,minZoom:i,maxZoom:s}=e.getState(),{x:d,y:c,zoom:u}=e_(o,l,a,i,s,r?.padding??.1),g=b.CR.translate(d,c).scale(u);t.transform(e$(n,r?.duration),g)},project:t=>{let{transform:n,snapToGrid:o,snapGrid:r}=e.getState();return console.warn("[DEPRECATED] `project` is deprecated. Instead use `screenToFlowPosition`. There is no need to subtract the react flow bounds anymore! https://reactflow.dev/api-reference/types/react-flow-instance#screen-to-flow-position"),eN(t,n,o,r)},screenToFlowPosition:t=>{let{transform:n,snapToGrid:o,snapGrid:r,domNode:l}=e.getState();if(!l)return t;let{x:a,y:i}=l.getBoundingClientRect(),s={x:t.x-a,y:t.y-i};return eN(s,n,o,r)},flowToScreenPosition:t=>{let{transform:n,domNode:o}=e.getState();if(!o)return t;let{x:r,y:l}=o.getBoundingClientRect(),a=ek(t,n);return{x:a.x+r,y:a.y+l}},viewportInitialized:!0}:tp,[t,n]);return o};function ty(){let e=tf(),t=A(),n=(0,m.useCallback)(()=>t.getState().getNodes().map(e=>({...e})),[]),o=(0,m.useCallback)(e=>t.getState().nodeInternals.get(e),[]),r=(0,m.useCallback)(()=>{let{edges:e=[]}=t.getState();return e.map(e=>({...e}))},[]),l=(0,m.useCallback)(e=>{let{edges:n=[]}=t.getState();return n.find(t=>t.id===e)},[]),a=(0,m.useCallback)(e=>{let{getNodes:n,setNodes:o,hasDefaultNodes:r,onNodesChange:l}=t.getState(),a=n(),i="function"==typeof e?e(a):e;if(r)o(i);else if(l){let e=0===i.length?a.map(e=>({type:"remove",id:e.id})):i.map(e=>({item:e,type:"reset"}));l(e)}},[]),i=(0,m.useCallback)(e=>{let{edges:n=[],setEdges:o,hasDefaultEdges:r,onEdgesChange:l}=t.getState(),a="function"==typeof e?e(n):e;if(r)o(a);else if(l){let e=0===a.length?n.map(e=>({type:"remove",id:e.id})):a.map(e=>({item:e,type:"reset"}));l(e)}},[]),s=(0,m.useCallback)(e=>{let n=Array.isArray(e)?e:[e],{getNodes:o,setNodes:r,hasDefaultNodes:l,onNodesChange:a}=t.getState();if(l){let e=o(),t=[...e,...n];r(t)}else if(a){let e=n.map(e=>({item:e,type:"add"}));a(e)}},[]),d=(0,m.useCallback)(e=>{let n=Array.isArray(e)?e:[e],{edges:o=[],setEdges:r,hasDefaultEdges:l,onEdgesChange:a}=t.getState();if(l)r([...o,...n]);else if(a){let e=n.map(e=>({item:e,type:"add"}));a(e)}},[]),c=(0,m.useCallback)(()=>{let{getNodes:e,edges:n=[],transform:o}=t.getState(),[r,l,a]=o;return{nodes:e().map(e=>({...e})),edges:n.map(e=>({...e})),viewport:{x:r,y:l,zoom:a}}},[]),u=(0,m.useCallback)(({nodes:e,edges:n})=>{let{nodeInternals:o,getNodes:r,edges:l,hasDefaultNodes:a,hasDefaultEdges:i,onNodesDelete:s,onEdgesDelete:d,onNodesChange:c,onEdgesChange:u}=t.getState(),g=(e||[]).map(e=>e.id),h=(n||[]).map(e=>e.id),p=r().reduce((e,t)=>{let n=t.parentNode||t.parentId,o=!g.includes(t.id)&&n&&e.find(e=>e.id===n),r="boolean"!=typeof t.deletable||t.deletable;return r&&(g.includes(t.id)||o)&&e.push(t),e},[]),m=l.filter(e=>"boolean"!=typeof e.deletable||e.deletable),f=m.filter(e=>h.includes(e.id));if(p||f){let e=eP(p,m),n=[...f,...e],r=n.reduce((e,t)=>(e.includes(t.id)||e.push(t.id),e),[]);if((i||a)&&(i&&t.setState({edges:l.filter(e=>!r.includes(e.id))}),a&&(p.forEach(e=>{o.delete(e.id)}),t.setState({nodeInternals:new Map(o)}))),r.length>0&&(d?.(n),u&&u(r.map(e=>({id:e,type:"remove"})))),p.length>0&&(s?.(p),c)){let e=p.map(e=>({id:e.id,type:"remove"}));c(e)}}},[]),g=(0,m.useCallback)(e=>{let n=V(e),o=n?null:t.getState().nodeInternals.get(e.id);if(!n&&!o)return[null,null,n];let r=n?e:Z(o);return[r,o,n]},[]),h=(0,m.useCallback)((e,n=!0,o)=>{let[r,l,a]=g(e);return r?(o||t.getState().getNodes()).filter(e=>{if(!a&&(e.id===l.id||!e.positionAbsolute))return!1;let t=Z(e),o=X(t,r);return n&&o>0||o>=r.width*r.height}):[]},[]),p=(0,m.useCallback)((e,t,n=!0)=>{let[o]=g(e);if(!o)return!1;let r=X(o,t);return n&&r>0||r>=o.width*o.height},[]);return(0,m.useMemo)(()=>({...e,getNodes:n,getNode:o,getEdges:r,getEdge:l,setNodes:a,setEdges:i,addNodes:s,addEdges:d,toObject:c,deleteElements:u,getIntersectingNodes:h,isNodeIntersecting:p}),[e,n,o,r,l,a,i,s,d,c,u,h,p])}let tx={actInsideInputWithModifier:!1};var tb=({deleteKeyCode:e,multiSelectionKeyCode:t})=>{let n=A(),{deleteElements:o}=ty(),r=ta(e,tx),l=ta(t);(0,m.useEffect)(()=>{if(r){let{edges:e,getNodes:t}=n.getState(),r=t().filter(e=>e.selected),l=e.filter(e=>e.selected);o({nodes:r,edges:l}),n.setState({nodesSelectionActive:!1})}},[r]),(0,m.useEffect)(()=>{n.setState({multiSelectionActive:l})},[l])};let tS={position:"absolute",width:"100%",height:"100%",top:0,left:0},tE=(e,t)=>e.x!==t.x||e.y!==t.y||e.zoom!==t.k,tv=e=>({x:e.x,y:e.y,zoom:e.k}),tw=(e,t)=>e.target.closest(`.${t}`),tM=(e,t)=>2===t&&Array.isArray(e)&&e.includes(2),tC=e=>{let t=e.ctrlKey&&J()?10:1;return-e.deltaY*(1===e.deltaMode?.05:e.deltaMode?1:.002)*t},tN=e=>({d3Zoom:e.d3Zoom,d3Selection:e.d3Selection,d3ZoomHandler:e.d3ZoomHandler,userSelectionActive:e.userSelectionActive}),tk=({onMove:e,onMoveStart:t,onMoveEnd:n,onPaneContextMenu:o,zoomOnScroll:r=!0,zoomOnPinch:l=!0,panOnScroll:a=!1,panOnScrollSpeed:i=.5,panOnScrollMode:s=c.Free,zoomOnDoubleClick:d=!0,elementsSelectable:u,panOnDrag:g=!0,defaultViewport:h,translateExtent:p,minZoom:f,maxZoom:y,zoomActivationKeyCode:v,preventScrolling:w=!0,children:M,noWheelClassName:N,noPanClassName:I})=>{let R=(0,m.useRef)(),P=A(),_=(0,m.useRef)(!1),B=(0,m.useRef)(!1),D=(0,m.useRef)(null),z=(0,m.useRef)({x:0,y:0,zoom:0}),{d3Zoom:T,d3Selection:L,d3ZoomHandler:H,userSelectionActive:F}=k(tN,x.X),Z=ta(v),X=(0,m.useRef)(0),V=(0,m.useRef)(!1),K=(0,m.useRef)();return!function(e){let t=A();(0,m.useEffect)(()=>{let n;let o=()=>{if(!e.current)return;let n=$(e.current);(0===n.height||0===n.width)&&t.getState().onError?.("004",C.error004()),t.setState({width:n.width||500,height:n.height||500})};return o(),window.addEventListener("resize",o),e.current&&(n=new ResizeObserver(()=>o())).observe(e.current),()=>{window.removeEventListener("resize",o),n&&e.current&&n.unobserve(e.current)}},[])}(D),(0,m.useEffect)(()=>{if(D.current){let e=D.current.getBoundingClientRect(),t=(0,b.sP)().scaleExtent([f,y]).translateExtent(p),n=(0,S.Z)(D.current).call(t),o=b.CR.translate(h.x,h.y).scale(O(h.zoom,f,y)),r=[[0,0],[e.width,e.height]],l=t.constrain()(o,r,p);t.transform(n,l),t.wheelDelta(tC),P.setState({d3Zoom:t,d3Selection:n,d3ZoomHandler:n.on("wheel.zoom"),transform:[l.x,l.y,l.k],domNode:D.current.closest(".react-flow")})}},[]),(0,m.useEffect)(()=>{L&&T&&(!a||Z||F?void 0!==H&&L.on("wheel.zoom",function(e,t){let n=!w&&"wheel"===e.type&&!e.ctrlKey;if(n||tw(e,N))return null;e.preventDefault(),H.call(this,e,t)},{passive:!1}):L.on("wheel.zoom",o=>{if(tw(o,N))return!1;o.preventDefault(),o.stopImmediatePropagation();let r=L.property("__zoom").k||1;if(o.ctrlKey&&l){let e=(0,E.Z)(o),t=tC(o),n=r*Math.pow(2,t);T.scaleTo(L,n,e,o);return}let a=1===o.deltaMode?20:1,d=s===c.Vertical?0:o.deltaX*a,u=s===c.Horizontal?0:o.deltaY*a;!J()&&o.shiftKey&&s!==c.Vertical&&(d=o.deltaY*a,u=0),T.translateBy(L,-(d/r)*i,-(u/r)*i,{internal:!0});let g=tv(L.property("__zoom")),{onViewportChangeStart:h,onViewportChange:p,onViewportChangeEnd:m}=P.getState();clearTimeout(K.current),V.current||(V.current=!0,t?.(o,g),h?.(g)),V.current&&(e?.(o,g),p?.(g),K.current=setTimeout(()=>{n?.(o,g),m?.(g),V.current=!1},150))},{passive:!1}))},[F,a,s,L,T,H,Z,l,w,N,t,e,n]),(0,m.useEffect)(()=>{T&&T.on("start",e=>{if(!e.sourceEvent||e.sourceEvent.internal)return null;X.current=e.sourceEvent?.button;let{onViewportChangeStart:n}=P.getState(),o=tv(e.transform);_.current=!0,z.current=o,e.sourceEvent?.type==="mousedown"&&P.setState({paneDragging:!0}),n?.(o),t?.(e.sourceEvent,o)})},[T,t]),(0,m.useEffect)(()=>{T&&(F&&!_.current?T.on("zoom",null):F||T.on("zoom",t=>{let{onViewportChange:n}=P.getState();if(P.setState({transform:[t.transform.x,t.transform.y,t.transform.k]}),B.current=!!(o&&tM(g,X.current??0)),(e||n)&&!t.sourceEvent?.internal){let o=tv(t.transform);n?.(o),e?.(t.sourceEvent,o)}}))},[F,T,e,g,o]),(0,m.useEffect)(()=>{T&&T.on("end",e=>{if(!e.sourceEvent||e.sourceEvent.internal)return null;let{onViewportChangeEnd:t}=P.getState();if(_.current=!1,P.setState({paneDragging:!1}),o&&tM(g,X.current??0)&&!B.current&&o(e.sourceEvent),B.current=!1,(n||t)&&tE(z.current,e.transform)){let o=tv(e.transform);z.current=o,clearTimeout(R.current),R.current=setTimeout(()=>{t?.(o),n?.(e.sourceEvent,o)},a?150:0)}})},[T,a,g,n,o]),(0,m.useEffect)(()=>{T&&T.filter(e=>{let t=Z||r,n=l&&e.ctrlKey;if((!0===g||Array.isArray(g)&&g.includes(1))&&1===e.button&&"mousedown"===e.type&&(tw(e,"react-flow__node")||tw(e,"react-flow__edge")))return!0;if(!g&&!t&&!a&&!d&&!l||F||!d&&"dblclick"===e.type||tw(e,N)&&"wheel"===e.type||tw(e,I)&&("wheel"!==e.type||a&&"wheel"===e.type&&!Z)||!l&&e.ctrlKey&&"wheel"===e.type||!t&&!a&&!n&&"wheel"===e.type||!g&&("mousedown"===e.type||"touchstart"===e.type)||Array.isArray(g)&&!g.includes(e.button)&&"mousedown"===e.type)return!1;let o=Array.isArray(g)&&g.includes(e.button)||!e.button||e.button<=1;return(!e.ctrlKey||"wheel"===e.type)&&o})},[F,T,r,l,a,d,g,u,Z]),m.createElement("div",{className:"react-flow__renderer",ref:D,style:tS},M)},tA=e=>({userSelectionActive:e.userSelectionActive,userSelectionRect:e.userSelectionRect});function tI(){let{userSelectionActive:e,userSelectionRect:t}=k(tA,x.X);return e&&t?m.createElement("div",{className:"react-flow__selection react-flow__container",style:{width:t.width,height:t.height,transform:`translate(${t.x}px, ${t.y}px)`}}):null}function tR(e,t){let n=t.parentNode||t.parentId,o=e.find(e=>e.id===n);if(o){let e=t.position.x+t.width-o.width,n=t.position.y+t.height-o.height;if(e>0||n>0||t.position.x<0||t.position.y<0){if(o.style={...o.style},o.style.width=o.style.width??o.width,o.style.height=o.style.height??o.height,e>0&&(o.style.width+=e),n>0&&(o.style.height+=n),t.position.x<0){let e=Math.abs(t.position.x);o.position.x=o.position.x-e,o.style.width+=e,t.position.x=0}if(t.position.y<0){let e=Math.abs(t.position.y);o.position.y=o.position.y-e,o.style.height+=e,t.position.y=0}o.width=o.style.width,o.height=o.style.height}}}function tP(e,t){if(e.some(e=>"reset"===e.type))return e.filter(e=>"reset"===e.type).map(e=>e.item);let n=e.filter(e=>"add"===e.type).map(e=>e.item);return t.reduce((t,n)=>{let o=e.filter(e=>e.id===n.id);if(0===o.length)return t.push(n),t;let r={...n};for(let e of o)if(e)switch(e.type){case"select":r.selected=e.selected;break;case"position":void 0!==e.position&&(r.position=e.position),void 0!==e.positionAbsolute&&(r.positionAbsolute=e.positionAbsolute),void 0!==e.dragging&&(r.dragging=e.dragging),r.expandParent&&tR(t,r);break;case"dimensions":void 0!==e.dimensions&&(r.width=e.dimensions.width,r.height=e.dimensions.height),void 0!==e.updateStyle&&(r.style={...r.style||{},...e.dimensions}),"boolean"==typeof e.resizing&&(r.resizing=e.resizing),r.expandParent&&tR(t,r);break;case"remove":return t}return t.push(r),t},n)}function t_(e,t){return tP(e,t)}let t$=(e,t)=>({id:e,type:"select",selected:t});function tO(e,t){return e.reduce((e,n)=>{let o=t.includes(n.id);return!n.selected&&o?(n.selected=!0,e.push(t$(n.id,!0))):n.selected&&!o&&(n.selected=!1,e.push(t$(n.id,!1))),e},[])}let tB=(e,t)=>n=>{n.target===t.current&&e?.(n)},tD=e=>({userSelectionActive:e.userSelectionActive,elementsSelectable:e.elementsSelectable,dragging:e.paneDragging}),tz=(0,m.memo)(({isSelecting:e,selectionMode:t=u.Full,panOnDrag:n,onSelectionStart:o,onSelectionEnd:r,onPaneClick:l,onPaneContextMenu:a,onPaneScroll:i,onPaneMouseEnter:s,onPaneMouseMove:d,onPaneMouseLeave:c,children:g})=>{let h=(0,m.useRef)(null),p=A(),y=(0,m.useRef)(0),b=(0,m.useRef)(0),S=(0,m.useRef)(),{userSelectionActive:E,elementsSelectable:v,dragging:w}=k(tD,x.X),M=()=>{p.setState({userSelectionActive:!1,userSelectionRect:null}),y.current=0,b.current=0},C=e=>{l?.(e),p.getState().resetSelectedElements(),p.setState({nodesSelectionActive:!1})},N=i?e=>i(e):void 0,I=v&&(e||E);return m.createElement("div",{className:(0,f.Z)(["react-flow__pane",{dragging:w,selection:e}]),onClick:I?void 0:tB(C,h),onContextMenu:tB(e=>{if(Array.isArray(n)&&n?.includes(2)){e.preventDefault();return}a?.(e)},h),onWheel:tB(N,h),onMouseEnter:I?void 0:s,onMouseDown:I?t=>{let{resetSelectedElements:n,domNode:r}=p.getState();if(S.current=r?.getBoundingClientRect(),!v||!e||0!==t.button||t.target!==h.current||!S.current)return;let{x:l,y:a}=Q(t,S.current);n(),p.setState({userSelectionRect:{width:0,height:0,startX:l,startY:a,x:l,y:a}}),o?.(t)}:void 0,onMouseMove:I?n=>{let{userSelectionRect:o,nodeInternals:r,edges:l,transform:a,onNodesChange:i,onEdgesChange:s,nodeOrigin:d,getNodes:c}=p.getState();if(!e||!S.current||!o)return;p.setState({userSelectionActive:!0,nodesSelectionActive:!1});let g=Q(n,S.current),h=o.startX??0,m=o.startY??0,f={...o,x:g.xe.id),w=E.map(e=>e.id);if(y.current!==w.length){y.current=w.length;let e=tO(x,w);e.length&&i?.(e)}if(b.current!==v.length){b.current=v.length;let e=tO(l,v);e.length&&s?.(e)}p.setState({userSelectionRect:f})}:d,onMouseUp:I?e=>{if(0!==e.button)return;let{userSelectionRect:t}=p.getState();!E&&t&&e.target===h.current&&C?.(e),p.setState({nodesSelectionActive:y.current>0}),M(),r?.(e)}:void 0,onMouseLeave:I?e=>{E&&(p.setState({nodesSelectionActive:y.current>0}),r?.(e)),M()}:c,ref:h,style:tS},g,m.createElement(tI,null))});function tT(e,t,n){let o=e;do{if(o?.matches(t))return!0;if(o===n.current)break;o=o.parentElement}while(o);return!1}function tL(e,t,n,o,r=[0,0],l){var a;let i=(a=e.extent||o)&&"parent"!==a?[a[0],[a[1][0]-(e.width||0),a[1][1]-(e.height||0)]]:a,s=i,d=e.parentNode||e.parentId;if("parent"!==e.extent||e.expandParent){if(e.extent&&d&&"parent"!==e.extent){let t=n.get(d),{x:o,y:l}=eA(t,r).positionAbsolute;s=[[e.extent[0][0]+o,e.extent[0][1]+l],[e.extent[1][0]+o,e.extent[1][1]+l]]}}else if(d&&e.width&&e.height){let t=n.get(d),{x:o,y:l}=eA(t,r).positionAbsolute;s=t&&K(o)&&K(l)&&K(t.width)&&K(t.height)?[[o+e.width*r[0],l+e.height*r[1]],[o+t.width-e.width+e.width*r[0],l+t.height-e.height+e.height*r[1]]]:s}else l?.("005",C.error005()),s=i;let c={x:0,y:0};if(d){let e=n.get(d);c=eA(e,r).positionAbsolute}let u=s&&"parent"!==s?B(t,s):t;return{position:{x:u.x-c.x,y:u.y-c.y},positionAbsolute:u}}function tH({nodeId:e,dragItems:t,nodeInternals:n}){let o=t.map(e=>{let t=n.get(e.id);return{...t,position:e.position,positionAbsolute:e.positionAbsolute}});return[e?o.find(t=>t.id===e):o[0],o]}tz.displayName="Pane";let tF=(e,t,n,o)=>{let r=t.querySelectorAll(e);if(!r||!r.length)return null;let l=Array.from(r),a=t.getBoundingClientRect(),i={x:a.width*o[0],y:a.height*o[1]};return l.map(e=>{let t=e.getBoundingClientRect();return{id:e.getAttribute("data-handleid"),position:e.getAttribute("data-handlepos"),x:(t.left-a.left-i.x)/n,y:(t.top-a.top-i.y)/n,...$(e)}})};function tZ(e,t,n){return void 0===n?n:o=>{let r=t().nodeInternals.get(e);r&&n(o,{...r})}}function tX({id:e,store:t,unselect:n=!1,nodeRef:o}){let{addSelectedNodes:r,unselectNodesAndEdges:l,multiSelectionActive:a,nodeInternals:i,onError:s}=t.getState(),d=i.get(e);if(!d){s?.("012",C.error012(e));return}t.setState({nodesSelectionActive:!1}),d.selected?(n||d.selected&&a)&&(l({nodes:[d],edges:[]}),requestAnimationFrame(()=>o?.current?.blur())):r([e])}function tV(e){return(t,n,o)=>e?.(t,o)}function tK({nodeRef:e,disabled:t=!1,noDragClassName:n,handleSelector:o,nodeId:r,isSelectable:l,selectNodesOnDrag:a}){let i=A(),[s,d]=(0,m.useState)(!1),c=(0,m.useRef)([]),u=(0,m.useRef)({x:null,y:null}),g=(0,m.useRef)(0),h=(0,m.useRef)(null),p=(0,m.useRef)({x:0,y:0}),f=(0,m.useRef)(null),y=(0,m.useRef)(!1),x=(0,m.useRef)(!1),b=(0,m.useRef)(!1),E=function(){let e=A(),t=(0,m.useCallback)(({sourceEvent:t})=>{let{transform:n,snapGrid:o,snapToGrid:r}=e.getState(),l=t.touches?t.touches[0].clientX:t.clientX,a=t.touches?t.touches[0].clientY:t.clientY,i={x:(l-n[0])/n[2],y:(a-n[1])/n[2]};return{xSnapped:r?o[0]*Math.round(i.x/o[0]):i.x,ySnapped:r?o[1]*Math.round(i.y/o[1]):i.y,...i}},[]);return t}();return(0,m.useEffect)(()=>{if(e?.current){let s=(0,S.Z)(e.current),m=({x:e,y:t})=>{let{nodeInternals:n,onNodeDrag:o,onSelectionDrag:l,updateNodePositions:a,nodeExtent:s,snapGrid:g,snapToGrid:h,nodeOrigin:p,onError:m}=i.getState();u.current={x:e,y:t};let y=!1,x={x:0,y:0,x2:0,y2:0};if(c.current.length>1&&s){let e=eI(c.current,p);x=H(e)}if(c.current=c.current.map(o=>{let r={x:e-o.distance.x,y:t-o.distance.y};h&&(r.x=g[0]*Math.round(r.x/g[0]),r.y=g[1]*Math.round(r.y/g[1]));let l=[[s[0][0],s[0][1]],[s[1][0],s[1][1]]];c.current.length>1&&s&&!o.extent&&(l[0][0]=o.positionAbsolute.x-x.x+s[0][0],l[1][0]=o.positionAbsolute.x+(o.width??0)-x.x2+s[1][0],l[0][1]=o.positionAbsolute.y-x.y+s[0][1],l[1][1]=o.positionAbsolute.y+(o.height??0)-x.y2+s[1][1]);let a=tL(o,r,n,l,p,m);return y=y||o.position.x!==a.position.x||o.position.y!==a.position.y,o.position=a.position,o.positionAbsolute=a.positionAbsolute,o}),!y)return;a(c.current,!0,!0),d(!0);let b=r?o:tV(l);if(b&&f.current){let[e,t]=tH({nodeId:r,dragItems:c.current,nodeInternals:n});b(f.current,e,t)}},w=()=>{if(!h.current)return;let[e,t]=z(p.current,h.current);if(0!==e||0!==t){let{transform:n,panBy:o}=i.getState();u.current.x=(u.current.x??0)-e/n[2],u.current.y=(u.current.y??0)-t/n[2],o({x:e,y:t})&&m(u.current)}g.current=requestAnimationFrame(w)},M=t=>{let{nodeInternals:n,multiSelectionActive:o,nodesDraggable:s,unselectNodesAndEdges:d,onNodeDragStart:g,onSelectionDragStart:h}=i.getState();x.current=!0;let p=r?g:tV(h);a&&l||o||!r||n.get(r)?.selected||d(),r&&l&&a&&tX({id:r,store:i,nodeRef:e});let m=E(t);if(u.current=m,c.current=Array.from(n.values()).filter(e=>(e.selected||e.id===r)&&(!e.parentNode||e.parentId||!function e(t,n){let o=t.parentNode||t.parentId;if(!o)return!1;let r=n.get(o);return!!r&&(!!r.selected||e(r,n))}(e,n))&&(e.draggable||s&&void 0===e.draggable)).map(e=>({id:e.id,position:e.position||{x:0,y:0},positionAbsolute:e.positionAbsolute||{x:0,y:0},distance:{x:m.x-(e.positionAbsolute?.x??0),y:m.y-(e.positionAbsolute?.y??0)},delta:{x:0,y:0},extent:e.extent,parentNode:e.parentNode||e.parentId,parentId:e.parentNode||e.parentId,width:e.width,height:e.height,expandParent:e.expandParent})),p&&c.current){let[e,o]=tH({nodeId:r,dragItems:c.current,nodeInternals:n});p(t.sourceEvent,e,o)}};if(t)s.on(".drag",null);else{let t=(0,v.Z)().on("start",e=>{let{domNode:t,nodeDragThreshold:n}=i.getState();0===n&&M(e),b.current=!1;let o=E(e);u.current=o,h.current=t?.getBoundingClientRect()||null,p.current=Q(e.sourceEvent,h.current)}).on("drag",e=>{let t=E(e),{autoPanOnNodeDrag:n,nodeDragThreshold:o}=i.getState();if("touchmove"===e.sourceEvent.type&&e.sourceEvent.touches.length>1&&(b.current=!0),!b.current){if(!y.current&&x.current&&n&&(y.current=!0,w()),!x.current){let n=t.xSnapped-(u?.current?.x??0),r=t.ySnapped-(u?.current?.y??0);Math.sqrt(n*n+r*r)>o&&M(e)}(u.current.x!==t.xSnapped||u.current.y!==t.ySnapped)&&c.current&&x.current&&(f.current=e.sourceEvent,p.current=Q(e.sourceEvent,h.current),m(t))}}).on("end",e=>{if(x.current&&!b.current&&(d(!1),y.current=!1,x.current=!1,cancelAnimationFrame(g.current),c.current)){let{updateNodePositions:t,nodeInternals:n,onNodeDragStop:o,onSelectionDragStop:l}=i.getState(),a=r?o:tV(l);if(t(c.current,!1,!1),a){let[t,o]=tH({nodeId:r,dragItems:c.current,nodeInternals:n});a(e.sourceEvent,t,o)}}}).filter(t=>{let r=t.target,l=!t.button&&(!n||!tT(r,`.${n}`,e))&&(!o||tT(r,o,e));return l});return s.call(t),()=>{s.on(".drag",null)}}}},[e,t,n,o,l,i,r,a,E]),s}function tY(){let e=A(),t=(0,m.useCallback)(t=>{let{nodeInternals:n,nodeExtent:o,updateNodePositions:r,getNodes:l,snapToGrid:a,snapGrid:i,onError:s,nodesDraggable:d}=e.getState(),c=l().filter(e=>e.selected&&(e.draggable||d&&void 0===e.draggable)),u=a?i[0]:5,g=a?i[1]:5,h=t.isShiftPressed?4:1,p=t.x*u*h,m=t.y*g*h,f=c.map(e=>{if(e.positionAbsolute){let t={x:e.positionAbsolute.x+p,y:e.positionAbsolute.y+m};a&&(t.x=i[0]*Math.round(t.x/i[0]),t.y=i[1]*Math.round(t.y/i[1]));let{positionAbsolute:r,position:l}=tL(e,t,n,o,void 0,s);e.position=l,e.positionAbsolute=r}return e});r(f,!0,!1)},[]);return t}let tW={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}};var tj=e=>{let t=({id:t,type:n,data:o,xPos:r,yPos:l,xPosOrigin:a,yPosOrigin:i,selected:s,onClick:d,onMouseEnter:c,onMouseMove:u,onMouseLeave:g,onContextMenu:h,onDoubleClick:p,style:y,className:x,isDraggable:b,isSelectable:S,isConnectable:E,isFocusable:v,selectNodesOnDrag:w,sourcePosition:M,targetPosition:C,hidden:N,resizeObserver:k,dragHandle:I,zIndex:R,isParent:P,noDragClassName:_,noPanClassName:$,initialized:O,disableKeyboardA11y:B,ariaLabel:D,rfId:z,hasHandleBounds:T})=>{let L=A(),H=(0,m.useRef)(null),F=(0,m.useRef)(null),Z=(0,m.useRef)(M),X=(0,m.useRef)(C),V=(0,m.useRef)(n),K=S||b||d||c||u||g,Y=tY(),j=tZ(t,L.getState,c),U=tZ(t,L.getState,u),G=tZ(t,L.getState,g),Q=tZ(t,L.getState,h),J=tZ(t,L.getState,p);(0,m.useEffect)(()=>()=>{F.current&&(k?.unobserve(F.current),F.current=null)},[]),(0,m.useEffect)(()=>{if(H.current&&!N){let e=H.current;O&&T&&F.current===e||(F.current&&k?.unobserve(F.current),k?.observe(e),F.current=e)}},[N,O,T]),(0,m.useEffect)(()=>{let e=V.current!==n,o=Z.current!==M,r=X.current!==C;H.current&&(e||o||r)&&(e&&(V.current=n),o&&(Z.current=M),r&&(X.current=C),L.getState().updateNodeDimensions([{id:t,nodeElement:H.current,forceUpdate:!0}]))},[t,n,M,C]);let ee=tK({nodeRef:H,disabled:N||!b,noDragClassName:_,handleSelector:I,nodeId:t,isSelectable:S,selectNodesOnDrag:w});return N?null:m.createElement("div",{className:(0,f.Z)(["react-flow__node",`react-flow__node-${n}`,{[$]:b},x,{selected:s,selectable:S,parent:P,dragging:ee}]),ref:H,style:{zIndex:R,transform:`translate(${a}px,${i}px)`,pointerEvents:K?"all":"none",visibility:O?"visible":"hidden",...y},"data-id":t,"data-testid":`rf__node-${t}`,onMouseEnter:j,onMouseMove:U,onMouseLeave:G,onContextMenu:Q,onClick:e=>{let{nodeDragThreshold:n}=L.getState();if(S&&(!w||!b||n>0)&&tX({id:t,store:L,nodeRef:H}),d){let n=L.getState().nodeInternals.get(t);n&&d(e,{...n})}},onDoubleClick:J,onKeyDown:v?e=>{if(!q(e)&&!B){if(W.includes(e.key)&&S){let n="Escape"===e.key;tX({id:t,store:L,unselect:n,nodeRef:H})}else b&&s&&Object.prototype.hasOwnProperty.call(tW,e.key)&&(L.setState({ariaLiveMessage:`Moved selected node ${e.key.replace("Arrow","").toLowerCase()}. New position, x: ${~~r}, y: ${~~l}`}),Y({x:tW[e.key].x,y:tW[e.key].y,isShiftPressed:e.shiftKey}))}}:void 0,tabIndex:v?0:void 0,role:v?"button":void 0,"aria-describedby":B?void 0:`${tt}-${z}`,"aria-label":D},m.createElement(eb,{value:t},m.createElement(e,{id:t,data:o,type:n,xPos:r,yPos:l,selected:s,isConnectable:E,sourcePosition:M,targetPosition:C,dragging:ee,dragHandle:I,zIndex:R})))};return t.displayName="NodeWrapper",(0,m.memo)(t)};let tU=e=>{let t=e.getNodes().filter(e=>e.selected);return{...eI(t,e.nodeOrigin),transformString:`translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`,userSelectionActive:e.userSelectionActive}};var tq=(0,m.memo)(function({onSelectionContextMenu:e,noPanClassName:t,disableKeyboardA11y:n}){let o=A(),{width:r,height:l,x:a,y:i,transformString:s,userSelectionActive:d}=k(tU,x.X),c=tY(),u=(0,m.useRef)(null);if((0,m.useEffect)(()=>{n||u.current?.focus({preventScroll:!0})},[n]),tK({nodeRef:u}),d||!r||!l)return null;let g=e?t=>{let n=o.getState().getNodes().filter(e=>e.selected);e(t,n)}:void 0;return m.createElement("div",{className:(0,f.Z)(["react-flow__nodesselection","react-flow__container",t]),style:{transform:s}},m.createElement("div",{ref:u,className:"react-flow__nodesselection-rect",onContextMenu:g,tabIndex:n?void 0:-1,onKeyDown:n?void 0:e=>{Object.prototype.hasOwnProperty.call(tW,e.key)&&c({x:tW[e.key].x,y:tW[e.key].y,isShiftPressed:e.shiftKey})},style:{width:r,height:l,top:i,left:a}}))});let tG=e=>e.nodesSelectionActive,tQ=({children:e,onPaneClick:t,onPaneMouseEnter:n,onPaneMouseMove:o,onPaneMouseLeave:r,onPaneContextMenu:l,onPaneScroll:a,deleteKeyCode:i,onMove:s,onMoveStart:d,onMoveEnd:c,selectionKeyCode:u,selectionOnDrag:g,selectionMode:h,onSelectionStart:p,onSelectionEnd:f,multiSelectionKeyCode:y,panActivationKeyCode:x,zoomActivationKeyCode:b,elementsSelectable:S,zoomOnScroll:E,zoomOnPinch:v,panOnScroll:w,panOnScrollSpeed:M,panOnScrollMode:C,zoomOnDoubleClick:N,panOnDrag:A,defaultViewport:I,translateExtent:R,minZoom:P,maxZoom:_,preventScrolling:$,onSelectionContextMenu:O,noWheelClassName:B,noPanClassName:D,disableKeyboardA11y:z})=>{let T=k(tG),L=ta(u),H=ta(x),F=H||A;return tb({deleteKeyCode:i,multiSelectionKeyCode:y}),m.createElement(tk,{onMove:s,onMoveStart:d,onMoveEnd:c,onPaneContextMenu:l,elementsSelectable:S,zoomOnScroll:E,zoomOnPinch:v,panOnScroll:H||w,panOnScrollSpeed:M,panOnScrollMode:C,zoomOnDoubleClick:N,panOnDrag:!L&&F,defaultViewport:I,translateExtent:R,minZoom:P,maxZoom:_,zoomActivationKeyCode:b,preventScrolling:$,noWheelClassName:B,noPanClassName:D},m.createElement(tz,{onSelectionStart:p,onSelectionEnd:f,onPaneClick:t,onPaneMouseEnter:n,onPaneMouseMove:o,onPaneMouseLeave:r,onPaneContextMenu:l,onPaneScroll:a,panOnDrag:F,isSelecting:!!(L||g&&!0!==F),selectionMode:h},e,T&&m.createElement(tq,{onSelectionContextMenu:O,noPanClassName:D,disableKeyboardA11y:z})))};tQ.displayName="FlowRenderer";var tJ=(0,m.memo)(tQ);function t0(e){let t={input:tj(e.input||eU),default:tj(e.default||eW),output:tj(e.output||eG),group:tj(e.group||eQ)},n=Object.keys(e).filter(e=>!["input","default","output","group"].includes(e)).reduce((t,n)=>(t[n]=tj(e[n]||eW),t),{});return{...t,...n}}let t1=({x:e,y:t,width:n,height:o,origin:r})=>!n||!o||r[0]<0||r[1]<0||r[0]>1||r[1]>1?{x:e,y:t}:{x:e-n*r[0],y:t-o*r[1]},t2=e=>({nodesDraggable:e.nodesDraggable,nodesConnectable:e.nodesConnectable,nodesFocusable:e.nodesFocusable,elementsSelectable:e.elementsSelectable,updateNodeDimensions:e.updateNodeDimensions,onError:e.onError}),t5=e=>{let{nodesDraggable:t,nodesConnectable:n,nodesFocusable:o,elementsSelectable:r,updateNodeDimensions:l,onError:a}=k(t2,x.X),i=function(e){let t=k((0,m.useCallback)(t=>e?eR(t.nodeInternals,{x:0,y:0,width:t.width,height:t.height},t.transform,!0):t.getNodes(),[e]));return t}(e.onlyRenderVisibleElements),s=(0,m.useRef)(),d=(0,m.useMemo)(()=>{if("undefined"==typeof ResizeObserver)return null;let e=new ResizeObserver(e=>{let t=e.map(e=>({id:e.target.getAttribute("data-id"),nodeElement:e.target,forceUpdate:!0}));l(t)});return s.current=e,e},[]);return(0,m.useEffect)(()=>()=>{s?.current?.disconnect()},[]),m.createElement("div",{className:"react-flow__nodes",style:tS},i.map(l=>{let i=l.type||"default";e.nodeTypes[i]||(a?.("003",C.error003(i)),i="default");let s=e.nodeTypes[i]||e.nodeTypes.default,c=!!(l.draggable||t&&void 0===l.draggable),u=!!(l.selectable||r&&void 0===l.selectable),g=!!(l.connectable||n&&void 0===l.connectable),h=!!(l.focusable||o&&void 0===l.focusable),f=e.nodeExtent?B(l.positionAbsolute,e.nodeExtent):l.positionAbsolute,y=f?.x??0,x=f?.y??0,b=t1({x:y,y:x,width:l.width??0,height:l.height??0,origin:e.nodeOrigin});return m.createElement(s,{key:l.id,id:l.id,className:l.className,style:l.style,type:i,data:l.data,sourcePosition:l.sourcePosition||p.Bottom,targetPosition:l.targetPosition||p.Top,hidden:l.hidden,xPos:y,yPos:x,xPosOrigin:b.x,yPosOrigin:b.y,selectNodesOnDrag:e.selectNodesOnDrag,onClick:e.onNodeClick,onMouseEnter:e.onNodeMouseEnter,onMouseMove:e.onNodeMouseMove,onMouseLeave:e.onNodeMouseLeave,onContextMenu:e.onNodeContextMenu,onDoubleClick:e.onNodeDoubleClick,selected:!!l.selected,isDraggable:c,isSelectable:u,isConnectable:g,isFocusable:h,resizeObserver:d,dragHandle:l.dragHandle,zIndex:l[Y]?.z??0,isParent:!!l[Y]?.isParent,noDragClassName:e.noDragClassName,noPanClassName:e.noPanClassName,initialized:!!l.width&&!!l.height,rfId:e.rfId,disableKeyboardA11y:e.disableKeyboardA11y,ariaLabel:l.ariaLabel,hasHandleBounds:!!l[Y]?.handleBounds})}))};t5.displayName="NodeRenderer";var t3=(0,m.memo)(t5);let t4=(e,t,n)=>n===p.Left?e-t:n===p.Right?e+t:e,t8=(e,t,n)=>n===p.Top?e-t:n===p.Bottom?e+t:e,t6="react-flow__edgeupdater",t7=({position:e,centerX:t,centerY:n,radius:o=10,onMouseDown:r,onMouseEnter:l,onMouseOut:a,type:i})=>m.createElement("circle",{onMouseDown:r,onMouseEnter:l,onMouseOut:a,className:(0,f.Z)([t6,`${t6}-${i}`]),cx:t4(t,o,e),cy:t8(n,o,e),r:o,stroke:"transparent",fill:"transparent"}),t9=()=>!0;var ne=e=>{let t=({id:t,className:n,type:o,data:r,onClick:l,onEdgeDoubleClick:a,selected:i,animated:s,label:d,labelStyle:c,labelShowBg:u,labelBgStyle:g,labelBgPadding:h,labelBgBorderRadius:p,style:y,source:x,target:b,sourceX:S,sourceY:E,targetX:v,targetY:w,sourcePosition:M,targetPosition:C,elementsSelectable:N,hidden:k,sourceHandleId:I,targetHandleId:R,onContextMenu:P,onMouseEnter:_,onMouseMove:$,onMouseLeave:O,reconnectRadius:B,onReconnect:D,onReconnectStart:z,onReconnectEnd:T,markerEnd:L,markerStart:H,rfId:F,ariaLabel:Z,isFocusable:X,isReconnectable:V,pathOptions:K,interactionWidth:Y,disableKeyboardA11y:j})=>{let U=(0,m.useRef)(null),[q,G]=(0,m.useState)(!1),[Q,J]=(0,m.useState)(!1),ee=A(),en=(0,m.useMemo)(()=>`url('#${ew(H,F)}')`,[H,F]),eo=(0,m.useMemo)(()=>`url('#${ew(L,F)}')`,[L,F]);if(k)return null;let er=et(t,ee.getState,a),el=et(t,ee.getState,P),ea=et(t,ee.getState,_),ei=et(t,ee.getState,$),es=et(t,ee.getState,O),ed=(e,n)=>{if(0!==e.button)return;let{edges:o,isValidConnection:r}=ee.getState(),l=n?b:x,a=(n?R:I)||null,i=n?"target":"source",s=r||t9,d=o.find(e=>e.id===t);J(!0),z?.(e,d,i),eH({event:e,handleId:a,nodeId:l,onConnect:e=>D?.(d,e),isTarget:n,getState:ee.getState,setState:ee.setState,isValidConnection:s,edgeUpdaterType:i,onReconnectEnd:e=>{J(!1),T?.(e,d,i)}})},ec=()=>G(!0),eu=()=>G(!1);return m.createElement("g",{className:(0,f.Z)(["react-flow__edge",`react-flow__edge-${o}`,n,{selected:i,animated:s,inactive:!N&&!l,updating:q}]),onClick:e=>{let{edges:n,addSelectedEdges:o,unselectNodesAndEdges:r,multiSelectionActive:a}=ee.getState(),i=n.find(e=>e.id===t);i&&(N&&(ee.setState({nodesSelectionActive:!1}),i.selected&&a?(r({nodes:[],edges:[i]}),U.current?.blur()):o([t])),l&&l(e,i))},onDoubleClick:er,onContextMenu:el,onMouseEnter:ea,onMouseMove:ei,onMouseLeave:es,onKeyDown:X?e=>{if(!j&&W.includes(e.key)&&N){let{unselectNodesAndEdges:n,addSelectedEdges:o,edges:r}=ee.getState(),l="Escape"===e.key;l?(U.current?.blur(),n({edges:[r.find(e=>e.id===t)]})):o([t])}}:void 0,tabIndex:X?0:void 0,role:X?"button":"img","data-testid":`rf__edge-${t}`,"aria-label":null===Z?void 0:Z||`Edge from ${x} to ${b}`,"aria-describedby":X?`${tn}-${F}`:void 0,ref:U},!Q&&m.createElement(e,{id:t,source:x,target:b,selected:i,animated:s,label:d,labelStyle:c,labelShowBg:u,labelBgStyle:g,labelBgPadding:h,labelBgBorderRadius:p,data:r,style:y,sourceX:S,sourceY:E,targetX:v,targetY:w,sourcePosition:M,targetPosition:C,sourceHandleId:I,targetHandleId:R,markerStart:en,markerEnd:eo,pathOptions:K,interactionWidth:Y}),V&&m.createElement(m.Fragment,null,("source"===V||!0===V)&&m.createElement(t7,{position:M,centerX:S,centerY:E,radius:B,onMouseDown:e=>ed(e,!0),onMouseEnter:ec,onMouseOut:eu,type:"source"}),("target"===V||!0===V)&&m.createElement(t7,{position:C,centerX:v,centerY:w,radius:B,onMouseDown:e=>ed(e,!1),onMouseEnter:ec,onMouseOut:eu,type:"target"})))};return t.displayName="EdgeWrapper",(0,m.memo)(t)};function nt(e){let t={default:ne(e.default||ey),straight:ne(e.bezier||eh),step:ne(e.step||eg),smoothstep:ne(e.step||eu),simplebezier:ne(e.simplebezier||ea)},n=Object.keys(e).filter(e=>!["default","bezier"].includes(e)).reduce((t,n)=>(t[n]=ne(e[n]||ey),t),{});return{...t,...n}}function nn(e,t,n=null){let o=(n?.x||0)+t.x,r=(n?.y||0)+t.y,l=n?.width||t.width,a=n?.height||t.height;switch(e){case p.Top:return{x:o+l/2,y:r};case p.Right:return{x:o+l,y:r+a/2};case p.Bottom:return{x:o+l/2,y:r+a};case p.Left:return{x:o,y:r+a/2}}}function no(e,t){return e?1!==e.length&&t?t&&e.find(e=>e.id===t)||null:e[0]:null}let nr=(e,t,n,o,r,l)=>{let a=nn(n,e,t),i=nn(l,o,r);return{sourceX:a.x,sourceY:a.y,targetX:i.x,targetY:i.y}};function nl(e){let t=e?.[Y]?.handleBounds||null,n=t&&e?.width&&e?.height&&void 0!==e?.positionAbsolute?.x&&void 0!==e?.positionAbsolute?.y;return[{x:e?.positionAbsolute?.x||0,y:e?.positionAbsolute?.y||0,width:e?.width||0,height:e?.height||0},t,!!n]}let na=[{level:0,isMaxLevel:!0,edges:[]}],ni={[h.Arrow]:({color:e="none",strokeWidth:t=1})=>m.createElement("polyline",{style:{stroke:e,strokeWidth:t},strokeLinecap:"round",strokeLinejoin:"round",fill:"none",points:"-5,-4 0,0 -5,4"}),[h.ArrowClosed]:({color:e="none",strokeWidth:t=1})=>m.createElement("polyline",{style:{stroke:e,fill:e,strokeWidth:t},strokeLinecap:"round",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4 -5,-4"})},ns=({id:e,type:t,color:n,width:o=12.5,height:r=12.5,markerUnits:l="strokeWidth",strokeWidth:a,orient:i="auto-start-reverse"})=>{let s=function(e){let t=A(),n=(0,m.useMemo)(()=>{let n=Object.prototype.hasOwnProperty.call(ni,e);return n?ni[e]:(t.getState().onError?.("009",C.error009(e)),null)},[e]);return n}(t);return s?m.createElement("marker",{className:"react-flow__arrowhead",id:e,markerWidth:`${o}`,markerHeight:`${r}`,viewBox:"-10 -10 20 20",markerUnits:l,orient:i,refX:"0",refY:"0"},m.createElement(s,{color:n,strokeWidth:a})):null},nd=({defaultColor:e,rfId:t})=>n=>{let o=[];return n.edges.reduce((n,r)=>([r.markerStart,r.markerEnd].forEach(r=>{if(r&&"object"==typeof r){let l=ew(r,t);o.includes(l)||(n.push({id:l,color:r.color||e,...r}),o.push(l))}}),n),[]).sort((e,t)=>e.id.localeCompare(t.id))},nc=({defaultColor:e,rfId:t})=>{let n=k((0,m.useCallback)(nd({defaultColor:e,rfId:t}),[e,t]),(e,t)=>!(e.length!==t.length||e.some((e,n)=>e.id!==t[n].id)));return m.createElement("defs",null,n.map(e=>m.createElement(ns,{id:e.id,key:e.id,type:e.type,color:e.color,width:e.width,height:e.height,markerUnits:e.markerUnits,strokeWidth:e.strokeWidth,orient:e.orient})))};nc.displayName="MarkerDefinitions";var nu=(0,m.memo)(nc);let ng=e=>({nodesConnectable:e.nodesConnectable,edgesFocusable:e.edgesFocusable,edgesUpdatable:e.edgesUpdatable,elementsSelectable:e.elementsSelectable,width:e.width,height:e.height,connectionMode:e.connectionMode,nodeInternals:e.nodeInternals,onError:e.onError}),nh=({defaultMarkerColor:e,onlyRenderVisibleElements:t,elevateEdgesOnSelect:n,rfId:o,edgeTypes:r,noPanClassName:l,onEdgeContextMenu:a,onEdgeMouseEnter:i,onEdgeMouseMove:s,onEdgeMouseLeave:c,onEdgeClick:u,onEdgeDoubleClick:g,onReconnect:h,onReconnectStart:y,onReconnectEnd:b,reconnectRadius:S,children:E,disableKeyboardA11y:v})=>{let{edgesFocusable:w,edgesUpdatable:M,elementsSelectable:N,width:A,height:I,connectionMode:R,nodeInternals:P,onError:_}=k(ng,x.X),$=function(e,t,n){let o=k((0,m.useCallback)(n=>e?n.edges.filter(e=>{let o=t.get(e.source),r=t.get(e.target);return o?.width&&o?.height&&r?.width&&r?.height&&function({sourcePos:e,targetPos:t,sourceWidth:n,sourceHeight:o,targetWidth:r,targetHeight:l,width:a,height:i,transform:s}){let d={x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),x2:Math.max(e.x+n,t.x+r),y2:Math.max(e.y+o,t.y+l)};d.x===d.x2&&(d.x2+=1),d.y===d.y2&&(d.y2+=1);let c=H({x:(0-s[0])/s[2],y:(0-s[1])/s[2],width:a/s[2],height:i/s[2]}),u=Math.max(0,Math.min(c.x2,d.x2)-Math.max(c.x,d.x)),g=Math.max(0,Math.min(c.y2,d.y2)-Math.max(c.y,d.y));return Math.ceil(u*g)>0}({sourcePos:o.positionAbsolute||{x:0,y:0},targetPos:r.positionAbsolute||{x:0,y:0},sourceWidth:o.width,sourceHeight:o.height,targetWidth:r.width,targetHeight:r.height,width:n.width,height:n.height,transform:n.transform})}):n.edges,[e,t]));return function(e,t,n=!1){let o=-1,r=e.reduce((e,r)=>{let l=K(r.zIndex),a=l?r.zIndex:0;if(n){let e=t.get(r.target),n=t.get(r.source),o=r.selected||e?.selected||n?.selected,i=Math.max(n?.[Y]?.z||0,e?.[Y]?.z||0,1e3);a=(l?r.zIndex:0)+(o?i:0)}return e[a]?e[a].push(r):e[a]=[r],o=a>o?a:o,e},{}),l=Object.entries(r).map(([e,t])=>{let n=+e;return{edges:t,level:n,isMaxLevel:n===o}});return 0===l.length?na:l}(o,t,n)}(t,P,n);return A?m.createElement(m.Fragment,null,$.map(({level:t,edges:n,isMaxLevel:x})=>m.createElement("svg",{key:t,style:{zIndex:t},width:A,height:I,className:"react-flow__edges react-flow__container"},x&&m.createElement(nu,{defaultColor:e,rfId:o}),m.createElement("g",null,n.map(e=>{let[t,n,x]=nl(P.get(e.source)),[E,k,A]=nl(P.get(e.target));if(!x||!A)return null;let I=e.type||"default";r[I]||(_?.("011",C.error011(I)),I="default");let $=r[I]||r.default,O=R===d.Strict?k.target:(k.target??[]).concat(k.source??[]),B=no(n.source,e.sourceHandle),D=no(O,e.targetHandle),z=B?.position||p.Bottom,T=D?.position||p.Top,L=!!(e.focusable||w&&void 0===e.focusable),H=e.reconnectable||e.updatable;if(!B||!D)return _?.("008",C.error008(B,e)),null;let{sourceX:F,sourceY:Z,targetX:X,targetY:V}=nr(t,B,z,E,D,T);return m.createElement($,{key:e.id,id:e.id,className:(0,f.Z)([e.className,l]),type:I,data:e.data,selected:!!e.selected,animated:!!e.animated,hidden:!!e.hidden,label:e.label,labelStyle:e.labelStyle,labelShowBg:e.labelShowBg,labelBgStyle:e.labelBgStyle,labelBgPadding:e.labelBgPadding,labelBgBorderRadius:e.labelBgBorderRadius,style:e.style,source:e.source,target:e.target,sourceHandleId:e.sourceHandle,targetHandleId:e.targetHandle,markerEnd:e.markerEnd,markerStart:e.markerStart,sourceX:F,sourceY:Z,targetX:X,targetY:V,sourcePosition:z,targetPosition:T,elementsSelectable:N,onContextMenu:a,onMouseEnter:i,onMouseMove:s,onMouseLeave:c,onClick:u,onEdgeDoubleClick:g,onReconnect:h,onReconnectStart:y,onReconnectEnd:b,reconnectRadius:S,rfId:o,ariaLabel:e.ariaLabel,isFocusable:L,isReconnectable:void 0!==h&&(H||M&&void 0===H),pathOptions:"pathOptions"in e?e.pathOptions:void 0,interactionWidth:e.interactionWidth,disableKeyboardA11y:v})})))),E):null};nh.displayName="EdgeRenderer";var np=(0,m.memo)(nh);let nm=e=>`translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`;function nf({children:e}){let t=k(nm);return m.createElement("div",{className:"react-flow__viewport react-flow__container",style:{transform:t}},e)}let ny={[p.Left]:p.Right,[p.Right]:p.Left,[p.Top]:p.Bottom,[p.Bottom]:p.Top},nx=({nodeId:e,handleType:t,style:n,type:o=g.Bezier,CustomComponent:r,connectionStatus:l})=>{let{fromNode:a,handleId:i,toX:s,toY:c,connectionMode:u}=k((0,m.useCallback)(t=>({fromNode:t.nodeInternals.get(e),handleId:t.connectionHandleId,toX:(t.connectionPosition.x-t.transform[0])/t.transform[2],toY:(t.connectionPosition.y-t.transform[1])/t.transform[2],connectionMode:t.connectionMode}),[e]),x.X),h=a?.[Y]?.handleBounds,p=h?.[t];if(u===d.Loose&&(p=p||h?.["source"===t?"target":"source"]),!a||!p)return null;let f=i?p.find(e=>e.id===i):p[0],y=f?f.x+f.width/2:(a.width??0)/2,b=f?f.y+f.height/2:a.height??0,S=(a.positionAbsolute?.x??0)+y,E=(a.positionAbsolute?.y??0)+b,v=f?.position,w=v?ny[v]:null;if(!v||!w)return null;if(r)return m.createElement(r,{connectionLineType:o,connectionLineStyle:n,fromNode:a,fromHandle:f,fromX:S,fromY:E,toX:s,toY:c,fromPosition:v,toPosition:w,connectionStatus:l});let M="",C={sourceX:S,sourceY:E,sourcePosition:v,targetX:s,targetY:c,targetPosition:w};return o===g.Bezier?[M]=ef(C):o===g.Step?[M]=ec({...C,borderRadius:0}):o===g.SmoothStep?[M]=ec(C):o===g.SimpleBezier?[M]=el(C):M=`M${S},${E} ${s},${c}`,m.createElement("path",{d:M,fill:"none",className:"react-flow__connection-path",style:n})};nx.displayName="ConnectionLine";let nb=e=>({nodeId:e.connectionNodeId,handleType:e.connectionHandleType,nodesConnectable:e.nodesConnectable,connectionStatus:e.connectionStatus,width:e.width,height:e.height});function nS({containerStyle:e,style:t,type:n,component:o}){let{nodeId:r,handleType:l,nodesConnectable:a,width:i,height:s,connectionStatus:d}=k(nb,x.X);return r&&l&&i&&a?m.createElement("svg",{style:e,width:i,height:s,className:"react-flow__edges react-flow__connectionline react-flow__container"},m.createElement("g",{className:(0,f.Z)(["react-flow__connection",d])},m.createElement(nx,{nodeId:r,handleType:l,style:t,type:n,CustomComponent:o,connectionStatus:d}))):null}function nE(e,t){(0,m.useRef)(null),A();let n=(0,m.useMemo)(()=>t(e),[e]);return n}let nv=({nodeTypes:e,edgeTypes:t,onMove:n,onMoveStart:o,onMoveEnd:r,onInit:l,onNodeClick:a,onEdgeClick:i,onNodeDoubleClick:s,onEdgeDoubleClick:d,onNodeMouseEnter:c,onNodeMouseMove:u,onNodeMouseLeave:g,onNodeContextMenu:h,onSelectionContextMenu:p,onSelectionStart:f,onSelectionEnd:y,connectionLineType:x,connectionLineStyle:b,connectionLineComponent:S,connectionLineContainerStyle:E,selectionKeyCode:v,selectionOnDrag:w,selectionMode:M,multiSelectionKeyCode:C,panActivationKeyCode:N,zoomActivationKeyCode:k,deleteKeyCode:A,onlyRenderVisibleElements:I,elementsSelectable:R,selectNodesOnDrag:P,defaultViewport:_,translateExtent:$,minZoom:O,maxZoom:B,preventScrolling:D,defaultMarkerColor:z,zoomOnScroll:T,zoomOnPinch:L,panOnScroll:H,panOnScrollSpeed:F,panOnScrollMode:Z,zoomOnDoubleClick:X,panOnDrag:V,onPaneClick:K,onPaneMouseEnter:Y,onPaneMouseMove:W,onPaneMouseLeave:j,onPaneScroll:U,onPaneContextMenu:q,onEdgeContextMenu:G,onEdgeMouseEnter:Q,onEdgeMouseMove:J,onEdgeMouseLeave:ee,onReconnect:et,onReconnectStart:en,onReconnectEnd:eo,reconnectRadius:er,noDragClassName:el,noWheelClassName:ea,noPanClassName:ei,elevateEdgesOnSelect:es,disableKeyboardA11y:ed,nodeOrigin:ec,nodeExtent:eu,rfId:eg})=>{let eh=nE(e,t0),ep=nE(t,nt);return!function(e){let t=ty(),n=(0,m.useRef)(!1);(0,m.useEffect)(()=>{!n.current&&t.viewportInitialized&&e&&(setTimeout(()=>e(t),1),n.current=!0)},[e,t.viewportInitialized])}(l),m.createElement(tJ,{onPaneClick:K,onPaneMouseEnter:Y,onPaneMouseMove:W,onPaneMouseLeave:j,onPaneContextMenu:q,onPaneScroll:U,deleteKeyCode:A,selectionKeyCode:v,selectionOnDrag:w,selectionMode:M,onSelectionStart:f,onSelectionEnd:y,multiSelectionKeyCode:C,panActivationKeyCode:N,zoomActivationKeyCode:k,elementsSelectable:R,onMove:n,onMoveStart:o,onMoveEnd:r,zoomOnScroll:T,zoomOnPinch:L,zoomOnDoubleClick:X,panOnScroll:H,panOnScrollSpeed:F,panOnScrollMode:Z,panOnDrag:V,defaultViewport:_,translateExtent:$,minZoom:O,maxZoom:B,onSelectionContextMenu:p,preventScrolling:D,noDragClassName:el,noWheelClassName:ea,noPanClassName:ei,disableKeyboardA11y:ed},m.createElement(nf,null,m.createElement(np,{edgeTypes:ep,onEdgeClick:i,onEdgeDoubleClick:d,onlyRenderVisibleElements:I,onEdgeContextMenu:G,onEdgeMouseEnter:Q,onEdgeMouseMove:J,onEdgeMouseLeave:ee,onReconnect:et,onReconnectStart:en,onReconnectEnd:eo,reconnectRadius:er,defaultMarkerColor:z,noPanClassName:ei,elevateEdgesOnSelect:!!es,disableKeyboardA11y:ed,rfId:eg},m.createElement(nS,{style:b,type:x,component:S,containerStyle:E})),m.createElement("div",{className:"react-flow__edgelabel-renderer"}),m.createElement(t3,{nodeTypes:eh,onNodeClick:a,onNodeDoubleClick:s,onNodeMouseEnter:c,onNodeMouseMove:u,onNodeMouseLeave:g,onNodeContextMenu:h,selectNodesOnDrag:P,onlyRenderVisibleElements:I,noPanClassName:ei,noDragClassName:el,disableKeyboardA11y:ed,nodeOrigin:ec,nodeExtent:eu,rfId:eg})))};nv.displayName="GraphView";var nw=(0,m.memo)(nv);let nM=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],nC={rfId:"1",width:0,height:0,transform:[0,0,1],nodeInternals:new Map,edges:[],onNodesChange:null,onEdgesChange:null,hasDefaultNodes:!1,hasDefaultEdges:!1,d3Zoom:null,d3Selection:null,d3ZoomHandler:void 0,minZoom:.5,maxZoom:2,translateExtent:nM,nodeExtent:nM,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionNodeId:null,connectionHandleId:null,connectionHandleType:"source",connectionPosition:{x:0,y:0},connectionStatus:null,connectionMode:d.Strict,domNode:null,paneDragging:!1,noPanClassName:"nopan",nodeOrigin:[0,0],nodeDragThreshold:0,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesUpdatable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,fitViewOnInit:!1,fitViewOnInitDone:!1,fitViewOnInitOptions:void 0,onSelectionChange:[],multiSelectionActive:!1,connectionStartHandle:null,connectionEndHandle:null,connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,connectionRadius:20,onError:j,isValidConnection:void 0},nN=()=>(0,y.F)((e,t)=>({...nC,setNodes:n=>{let{nodeInternals:o,nodeOrigin:r,elevateNodesOnSelect:l}=t();e({nodeInternals:tc(n,o,r,l)})},getNodes:()=>Array.from(t().nodeInternals.values()),setEdges:n=>{let{defaultEdgeOptions:o={}}=t();e({edges:n.map(e=>({...o,...e}))})},setDefaultNodesAndEdges:(n,o)=>{let r=void 0!==n,l=void 0!==o,a=r?tc(n,new Map,t().nodeOrigin,t().elevateNodesOnSelect):new Map,i=l?o:[];e({nodeInternals:a,edges:i,hasDefaultNodes:r,hasDefaultEdges:l})},updateNodeDimensions:n=>{let{onNodesChange:o,nodeInternals:r,fitViewOnInit:l,fitViewOnInitDone:a,fitViewOnInitOptions:i,domNode:s,nodeOrigin:d}=t(),c=s?.querySelector(".react-flow__viewport");if(!c)return;let u=window.getComputedStyle(c),{m22:g}=new window.DOMMatrixReadOnly(u.transform),h=n.reduce((e,t)=>{let n=r.get(t.id);if(n?.hidden)r.set(n.id,{...n,[Y]:{...n[Y],handleBounds:void 0}});else if(n){let o=$(t.nodeElement),l=!!(o.width&&o.height&&(n.width!==o.width||n.height!==o.height||t.forceUpdate));l&&(r.set(n.id,{...n,[Y]:{...n[Y],handleBounds:{source:tF(".source",t.nodeElement,g,d),target:tF(".target",t.nodeElement,g,d)}},...o}),e.push({id:n.id,type:"dimensions",dimensions:o}))}return e},[]);td(r,d);let p=a||l&&!a&&tu(t,{initial:!0,...i});e({nodeInternals:new Map(r),fitViewOnInitDone:p}),h?.length>0&&o?.(h)},updateNodePositions:(e,n=!0,o=!1)=>{let{triggerNodeChanges:r}=t(),l=e.map(e=>{let t={id:e.id,type:"position",dragging:o};return n&&(t.positionAbsolute=e.positionAbsolute,t.position=e.position),t});r(l)},triggerNodeChanges:n=>{let{onNodesChange:o,nodeInternals:r,hasDefaultNodes:l,nodeOrigin:a,getNodes:i,elevateNodesOnSelect:s}=t();if(n?.length){if(l){let t=t_(n,i()),o=tc(t,r,a,s);e({nodeInternals:o})}o?.(n)}},addSelectedNodes:n=>{let o;let{multiSelectionActive:r,edges:l,getNodes:a}=t(),i=null;r?o=n.map(e=>t$(e,!0)):(o=tO(a(),n),i=tO(l,[])),tg({changedNodes:o,changedEdges:i,get:t,set:e})},addSelectedEdges:n=>{let o;let{multiSelectionActive:r,edges:l,getNodes:a}=t(),i=null;r?o=n.map(e=>t$(e,!0)):(o=tO(l,n),i=tO(a(),[])),tg({changedNodes:i,changedEdges:o,get:t,set:e})},unselectNodesAndEdges:({nodes:n,edges:o}={})=>{let{edges:r,getNodes:l}=t(),a=n||l(),i=a.map(e=>(e.selected=!1,t$(e.id,!1))),s=(o||r).map(e=>t$(e.id,!1));tg({changedNodes:i,changedEdges:s,get:t,set:e})},setMinZoom:n=>{let{d3Zoom:o,maxZoom:r}=t();o?.scaleExtent([n,r]),e({minZoom:n})},setMaxZoom:n=>{let{d3Zoom:o,minZoom:r}=t();o?.scaleExtent([r,n]),e({maxZoom:n})},setTranslateExtent:n=>{t().d3Zoom?.translateExtent(n),e({translateExtent:n})},resetSelectedElements:()=>{let{edges:n,getNodes:o}=t(),r=o(),l=r.filter(e=>e.selected).map(e=>t$(e.id,!1)),a=n.filter(e=>e.selected).map(e=>t$(e.id,!1));tg({changedNodes:l,changedEdges:a,get:t,set:e})},setNodeExtent:n=>{let{nodeInternals:o}=t();o.forEach(e=>{e.positionAbsolute=B(e.position,n)}),e({nodeExtent:n,nodeInternals:new Map(o)})},panBy:e=>{let{transform:n,width:o,height:r,d3Zoom:l,d3Selection:a,translateExtent:i}=t();if(!l||!a||!e.x&&!e.y)return!1;let s=b.CR.translate(n[0]+e.x,n[1]+e.y).scale(n[2]),d=l?.constrain()(s,[[0,0],[o,r]],i);l.transform(a,d);let c=n[0]!==d.x||n[1]!==d.y||n[2]!==d.k;return c},cancelConnection:()=>e({connectionNodeId:nC.connectionNodeId,connectionHandleId:nC.connectionHandleId,connectionHandleType:nC.connectionHandleType,connectionStatus:nC.connectionStatus,connectionStartHandle:nC.connectionStartHandle,connectionEndHandle:nC.connectionEndHandle}),reset:()=>e({...nC})}),Object.is),nk=({children:e})=>{let t=(0,m.useRef)(null);return t.current||(t.current=nN()),m.createElement(M,{value:t.current},e)};nk.displayName="ReactFlowProvider";let nA=({children:e})=>{let t=(0,m.useContext)(w);return t?m.createElement(m.Fragment,null,e):m.createElement(nk,null,e)};nA.displayName="ReactFlowWrapper";let nI={input:eU,default:eW,output:eG,group:eQ},nR={default:ey,straight:eh,step:eg,smoothstep:eu,simplebezier:ea},nP=[0,0],n_=[15,15],n$={x:0,y:0,zoom:1},nO={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0},nB=(0,m.forwardRef)(({nodes:e,edges:t,defaultNodes:n,defaultEdges:o,className:r,nodeTypes:l=nI,edgeTypes:a=nR,onNodeClick:i,onEdgeClick:s,onInit:h,onMove:p,onMoveStart:y,onMoveEnd:x,onConnect:b,onConnectStart:S,onConnectEnd:E,onClickConnectStart:v,onClickConnectEnd:w,onNodeMouseEnter:M,onNodeMouseMove:C,onNodeMouseLeave:N,onNodeContextMenu:k,onNodeDoubleClick:A,onNodeDragStart:I,onNodeDrag:R,onNodeDragStop:_,onNodesDelete:$,onEdgesDelete:O,onSelectionChange:B,onSelectionDragStart:D,onSelectionDrag:z,onSelectionDragStop:T,onSelectionContextMenu:L,onSelectionStart:H,onSelectionEnd:F,connectionMode:Z=d.Strict,connectionLineType:X=g.Bezier,connectionLineStyle:V,connectionLineComponent:K,connectionLineContainerStyle:Y,deleteKeyCode:W="Backspace",selectionKeyCode:j="Shift",selectionOnDrag:U=!1,selectionMode:q=u.Full,panActivationKeyCode:G="Space",multiSelectionKeyCode:Q=J()?"Meta":"Control",zoomActivationKeyCode:ee=J()?"Meta":"Control",snapToGrid:et=!1,snapGrid:en=n_,onlyRenderVisibleElements:eo=!1,selectNodesOnDrag:er=!0,nodesDraggable:el,nodesConnectable:ea,nodesFocusable:ei,nodeOrigin:es=nP,edgesFocusable:ed,edgesUpdatable:ec,elementsSelectable:eu,defaultViewport:eg=n$,minZoom:eh=.5,maxZoom:ep=2,translateExtent:em=nM,preventScrolling:ef=!0,nodeExtent:ey,defaultMarkerColor:ex="#b1b1b7",zoomOnScroll:eb=!0,zoomOnPinch:eS=!0,panOnScroll:eE=!1,panOnScrollSpeed:ev=.5,panOnScrollMode:ew=c.Free,zoomOnDoubleClick:eM=!0,panOnDrag:eC=!0,onPaneClick:eN,onPaneMouseEnter:ek,onPaneMouseMove:eA,onPaneMouseLeave:eI,onPaneScroll:eR,onPaneContextMenu:eP,children:e_,onEdgeContextMenu:e$,onEdgeDoubleClick:eO,onEdgeMouseEnter:eB,onEdgeMouseMove:eD,onEdgeMouseLeave:ez,onEdgeUpdate:eT,onEdgeUpdateStart:eL,onEdgeUpdateEnd:eH,onReconnect:eF,onReconnectStart:eZ,onReconnectEnd:eX,reconnectRadius:eV=10,edgeUpdaterRadius:eK=10,onNodesChange:eY,onEdgesChange:eW,noDragClassName:ej="nodrag",noWheelClassName:eU="nowheel",noPanClassName:eq="nopan",fitView:eG=!1,fitViewOptions:eQ,connectOnClick:eJ=!0,attributionPosition:e0,proOptions:e1,defaultEdgeOptions:e2,elevateNodesOnSelect:e5=!0,elevateEdgesOnSelect:e4=!1,disableKeyboardA11y:e8=!1,autoPanOnConnect:e6=!0,autoPanOnNodeDrag:e9=!0,connectionRadius:te=20,isValidConnection:tt,onError:tn,style:to,id:tr,nodeDragThreshold:ta,...ti},ts)=>{let td=tr||"1";return m.createElement("div",{...ti,style:{...to,...nO},ref:ts,className:(0,f.Z)(["react-flow",r]),"data-testid":"rf__wrapper",id:tr},m.createElement(nA,null,m.createElement(nw,{onInit:h,onMove:p,onMoveStart:y,onMoveEnd:x,onNodeClick:i,onEdgeClick:s,onNodeMouseEnter:M,onNodeMouseMove:C,onNodeMouseLeave:N,onNodeContextMenu:k,onNodeDoubleClick:A,nodeTypes:l,edgeTypes:a,connectionLineType:X,connectionLineStyle:V,connectionLineComponent:K,connectionLineContainerStyle:Y,selectionKeyCode:j,selectionOnDrag:U,selectionMode:q,deleteKeyCode:W,multiSelectionKeyCode:Q,panActivationKeyCode:G,zoomActivationKeyCode:ee,onlyRenderVisibleElements:eo,selectNodesOnDrag:er,defaultViewport:eg,translateExtent:em,minZoom:eh,maxZoom:ep,preventScrolling:ef,zoomOnScroll:eb,zoomOnPinch:eS,zoomOnDoubleClick:eM,panOnScroll:eE,panOnScrollSpeed:ev,panOnScrollMode:ew,panOnDrag:eC,onPaneClick:eN,onPaneMouseEnter:ek,onPaneMouseMove:eA,onPaneMouseLeave:eI,onPaneScroll:eR,onPaneContextMenu:eP,onSelectionContextMenu:L,onSelectionStart:H,onSelectionEnd:F,onEdgeContextMenu:e$,onEdgeDoubleClick:eO,onEdgeMouseEnter:eB,onEdgeMouseMove:eD,onEdgeMouseLeave:ez,onReconnect:eF??eT,onReconnectStart:eZ??eL,onReconnectEnd:eX??eH,reconnectRadius:eV??eK,defaultMarkerColor:ex,noDragClassName:ej,noWheelClassName:eU,noPanClassName:eq,elevateEdgesOnSelect:e4,rfId:td,disableKeyboardA11y:e8,nodeOrigin:es,nodeExtent:ey}),m.createElement(e7,{nodes:e,edges:t,defaultNodes:n,defaultEdges:o,onConnect:b,onConnectStart:S,onConnectEnd:E,onClickConnectStart:v,onClickConnectEnd:w,nodesDraggable:el,nodesConnectable:ea,nodesFocusable:ei,edgesFocusable:ed,edgesUpdatable:ec,elementsSelectable:eu,elevateNodesOnSelect:e5,minZoom:eh,maxZoom:ep,nodeExtent:ey,onNodesChange:eY,onEdgesChange:eW,snapToGrid:et,snapGrid:en,connectionMode:Z,translateExtent:em,connectOnClick:eJ,defaultEdgeOptions:e2,fitView:eG,fitViewOptions:eQ,onNodesDelete:$,onEdgesDelete:O,onNodeDragStart:I,onNodeDrag:R,onNodeDragStop:_,onSelectionDrag:z,onSelectionDragStart:D,onSelectionDragStop:T,noPanClassName:eq,nodeOrigin:es,rfId:td,autoPanOnConnect:e6,autoPanOnNodeDrag:e9,onError:tn,connectionRadius:te,isValidConnection:tt,nodeDragThreshold:ta}),m.createElement(e3,{onSelectionChange:B}),e_,m.createElement(P,{proOptions:e1,position:e0}),m.createElement(tl,{rfId:td,disableKeyboardA11y:e8})))});function nD(e){return t=>{let[n,o]=(0,m.useState)(t),r=(0,m.useCallback)(t=>o(n=>e(t,n)),[]);return[n,o,r]}}nB.displayName="ReactFlow";let nz=nD(t_),nT=nD(function(e,t){return tP(e,t)})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2611-243c0c2c920951e0.js b/dbgpt/app/static/web/_next/static/chunks/9773-5ed5ab08ebf03a41.js similarity index 55% rename from dbgpt/app/static/web/_next/static/chunks/2611-243c0c2c920951e0.js rename to dbgpt/app/static/web/_next/static/chunks/9773-5ed5ab08ebf03a41.js index fdab55993..51af10e28 100644 --- a/dbgpt/app/static/web/_next/static/chunks/2611-243c0c2c920951e0.js +++ b/dbgpt/app/static/web/_next/static/chunks/9773-5ed5ab08ebf03a41.js @@ -1,8 +1,8 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2611],{42611:function(e,t,n){n.d(t,{Z:function(){return ng}});var r=n(67294),l={},o="rc-table-internal-hook",a=n(97685),i=n(66680),c=n(8410),d=n(91881),s=n(73935);function u(e){var t=r.createContext(void 0);return{Context:t,Provider:function(e){var n=e.value,l=e.children,o=r.useRef(n);o.current=n;var i=r.useState(function(){return{getValue:function(){return o.current},listeners:new Set}}),d=(0,a.Z)(i,1)[0];return(0,c.Z)(function(){(0,s.unstable_batchedUpdates)(function(){d.listeners.forEach(function(e){e(n)})})},[n]),r.createElement(t.Provider,{value:d},l)},defaultValue:e}}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}),l=r.useContext(null==e?void 0:e.Context),o=l||{},s=o.listeners,u=o.getValue,f=r.useRef();f.current=n(l?u():null==e?void 0:e.defaultValue);var p=r.useState({}),m=(0,a.Z)(p,2)[1];return(0,c.Z)(function(){if(l)return s.add(e),function(){s.delete(e)};function e(e){var t=n(e);(0,d.Z)(f.current,t,!0)||m({})}},[l]),f.current}var p=n(87462),m=n(42550);function h(){var e=r.createContext(null);function t(){return r.useContext(e)}return{makeImmutable:function(n,l){var o=(0,m.Yr)(n),a=function(a,i){var c=o?{ref:i}:{},d=r.useRef(0),s=r.useRef(a);return null!==t()?r.createElement(n,(0,p.Z)({},a,c)):((!l||l(s.current,a))&&(d.current+=1),s.current=a,r.createElement(e.Provider,{value:d.current},r.createElement(n,(0,p.Z)({},a,c))))};return o?r.forwardRef(a):a},responseImmutable:function(e,n){var l=(0,m.Yr)(e),o=function(n,o){var a=l?{ref:o}:{};return t(),r.createElement(e,(0,p.Z)({},n,a))};return l?r.memo(r.forwardRef(o),n):r.memo(o,n)},useImmutableMark:t}}var b=h();b.makeImmutable,b.responseImmutable,b.useImmutableMark;var g=h(),v=g.makeImmutable,x=g.responseImmutable,y=g.useImmutableMark,w=u(),C=n(71002),E=n(1413),$=n(4942),S=n(93967),Z=n.n(S),k=n(56982),N=n(88306);n(80334);var I=r.createContext({renderWithProps:!1});function R(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=n(56790),j=function(e){var t,n=e.ellipsis,l=e.rowType,o=e.children,a=!0===n?{showTitle:!0}:n;return a&&(a.showTitle||"header"===l)&&("string"==typeof o||"number"==typeof o?t=o.toString():r.isValidElement(o)&&"string"==typeof o.props.children&&(t=o.props.children)),t},P=r.memo(function(e){var t,n,l,o,i,c,s,u,m,h,b=e.component,g=e.children,v=e.ellipsis,x=e.scope,S=e.prefixCls,R=e.className,P=e.align,T=e.record,M=e.render,B=e.dataIndex,H=e.renderIndex,z=e.shouldCellUpdate,K=e.index,L=e.rowType,A=e.colSpan,_=e.rowSpan,F=e.fixLeft,W=e.fixRight,D=e.firstFixLeft,q=e.lastFixLeft,X=e.firstFixRight,V=e.lastFixRight,U=e.appendNode,Y=e.additionalProps,G=void 0===Y?{}:Y,J=e.isSticky,Q="".concat(S,"-cell"),ee=f(w,["supportSticky","allColumnsFixedLeft","rowHoverable"]),et=ee.supportSticky,en=ee.allColumnsFixedLeft,er=ee.rowHoverable,el=(t=r.useContext(I),n=y(),(0,k.Z)(function(){if(null!=g)return[g];var e=null==B||""===B?[]:Array.isArray(B)?B:[B],n=(0,N.Z)(T,e),l=n,o=void 0;if(M){var a=M(n,T,H);!a||"object"!==(0,C.Z)(a)||Array.isArray(a)||r.isValidElement(a)?l=a:(l=a.children,o=a.props,t.renderWithProps=!0)}return[l,o]},[n,T,g,B,M,H],function(e,n){if(z){var r=(0,a.Z)(e,2)[1];return z((0,a.Z)(n,2)[1],r)}return!!t.renderWithProps||!(0,d.Z)(e,n,!0)})),eo=(0,a.Z)(el,2),ea=eo[0],ei=eo[1],ec={},ed="number"==typeof F&&et,es="number"==typeof W&&et;ed&&(ec.position="sticky",ec.left=F),es&&(ec.position="sticky",ec.right=W);var eu=null!==(l=null!==(o=null!==(i=null==ei?void 0:ei.colSpan)&&void 0!==i?i:G.colSpan)&&void 0!==o?o:A)&&void 0!==l?l:1,ef=null!==(c=null!==(s=null!==(u=null==ei?void 0:ei.rowSpan)&&void 0!==u?u:G.rowSpan)&&void 0!==s?s:_)&&void 0!==c?c:1,ep=f(w,function(e){var t,n;return[(t=ef||1,n=e.hoverStartRow,K<=e.hoverEndRow&&K+t-1>=n),e.onHover]}),em=(0,a.Z)(ep,2),eh=em[0],eb=em[1],eg=(0,O.zX)(function(e){var t;T&&eb(K,K+ef-1),null==G||null===(t=G.onMouseEnter)||void 0===t||t.call(G,e)}),ev=(0,O.zX)(function(e){var t;T&&eb(-1,-1),null==G||null===(t=G.onMouseLeave)||void 0===t||t.call(G,e)});if(0===eu||0===ef)return null;var ex=null!==(m=G.title)&&void 0!==m?m:j({rowType:L,ellipsis:v,children:ea}),ey=Z()(Q,R,(h={},(0,$.Z)(h,"".concat(Q,"-fix-left"),ed&&et),(0,$.Z)(h,"".concat(Q,"-fix-left-first"),D&&et),(0,$.Z)(h,"".concat(Q,"-fix-left-last"),q&&et),(0,$.Z)(h,"".concat(Q,"-fix-left-all"),q&&en&&et),(0,$.Z)(h,"".concat(Q,"-fix-right"),es&&et),(0,$.Z)(h,"".concat(Q,"-fix-right-first"),X&&et),(0,$.Z)(h,"".concat(Q,"-fix-right-last"),V&&et),(0,$.Z)(h,"".concat(Q,"-ellipsis"),v),(0,$.Z)(h,"".concat(Q,"-with-append"),U),(0,$.Z)(h,"".concat(Q,"-fix-sticky"),(ed||es)&&J&&et),(0,$.Z)(h,"".concat(Q,"-row-hover"),!ei&&eh),h),G.className,null==ei?void 0:ei.className),ew={};P&&(ew.textAlign=P);var eC=(0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)({},ec),G.style),ew),null==ei?void 0:ei.style),eE=ea;return"object"!==(0,C.Z)(eE)||Array.isArray(eE)||r.isValidElement(eE)||(eE=null),v&&(q||X)&&(eE=r.createElement("span",{className:"".concat(Q,"-content")},eE)),r.createElement(b,(0,p.Z)({},ei,G,{className:ey,style:eC,title:ex,scope:x,onMouseEnter:er?eg:void 0,onMouseLeave:er?ev:void 0,colSpan:1!==eu?eu:null,rowSpan:1!==ef?ef:null}),U,eE)});function T(e,t,n,r,l){var o,a,i=n[e]||{},c=n[t]||{};"left"===i.fixed?o=r.left["rtl"===l?t:e]:"right"===c.fixed&&(a=r.right["rtl"===l?e:t]);var d=!1,s=!1,u=!1,f=!1,p=n[t+1],m=n[e-1],h=p&&!p.fixed||m&&!m.fixed||n.every(function(e){return"left"===e.fixed});return"rtl"===l?void 0!==o?f=!(m&&"left"===m.fixed)&&h:void 0!==a&&(u=!(p&&"right"===p.fixed)&&h):void 0!==o?d=!(p&&"left"===p.fixed)&&h:void 0!==a&&(s=!(m&&"right"===m.fixed)&&h),{fixLeft:o,fixRight:a,lastFixLeft:d,firstFixRight:s,lastFixRight:u,firstFixLeft:f,isSticky:r.isSticky}}var M=r.createContext({}),B=n(45987),H=["children"];function z(e){return e.children}z.Row=function(e){var t=e.children,n=(0,B.Z)(e,H);return r.createElement("tr",n,t)},z.Cell=function(e){var t=e.className,n=e.index,l=e.children,o=e.colSpan,a=void 0===o?1:o,i=e.rowSpan,c=e.align,d=f(w,["prefixCls","direction"]),s=d.prefixCls,u=d.direction,m=r.useContext(M),h=m.scrollColumnIndex,b=m.stickyOffsets,g=m.flattenColumns,v=n+a-1+1===h?a+1:a,x=T(n,n+v-1,g,b,u);return r.createElement(P,(0,p.Z)({className:t,index:n,component:"td",prefixCls:s,record:null,dataIndex:null,align:c,colSpan:v,rowSpan:i,render:function(){return l}},x))};var K=x(function(e){var t=e.children,n=e.stickyOffsets,l=e.flattenColumns,o=f(w,"prefixCls"),a=l.length-1,i=l[a],c=r.useMemo(function(){return{stickyOffsets:n,flattenColumns:l,scrollColumnIndex:null!=i&&i.scrollbar?a:null}},[i,l,a,n]);return r.createElement(M.Provider,{value:c},r.createElement("tfoot",{className:"".concat(o,"-summary")},t))}),L=n(9220),A=n(5110),_=n(79370),F=n(74204),W=n(64217);function D(e,t,n,l){return r.useMemo(function(){if(null!=n&&n.size){for(var r=[],o=0;o<(null==e?void 0:e.length);o+=1)!function e(t,n,r,l,o,a,i){t.push({record:n,indent:r,index:i});var c=a(n),d=null==o?void 0:o.has(c);if(n&&Array.isArray(n[l])&&d)for(var s=0;s1?n-1:0),l=1;l=1?S:""),style:(0,E.Z)((0,E.Z)({},l),null==y?void 0:y.style)}),g.map(function(e,t){var n=e.render,l=e.dataIndex,c=e.className,d=V(h,e,t,s,a),u=d.key,g=d.fixedInfo,v=d.appendCellNode,x=d.additionalCellProps;return r.createElement(P,(0,p.Z)({className:c,ellipsis:e.ellipsis,align:e.align,scope:e.rowScope,component:e.rowScope?m:f,prefixCls:b,key:u,record:o,index:a,renderIndex:i,dataIndex:l,render:n,shouldCellUpdate:e.shouldCellUpdate},g,{appendNode:v,additionalProps:x}))}));if(C&&($.current||w)){var N=x(o,a,s+1,w);t=r.createElement(X,{expanded:w,className:Z()("".concat(b,"-expanded-row"),"".concat(b,"-expanded-row-level-").concat(s+1),S),prefixCls:b,component:u,cellComponent:f,colSpan:g.length,isEmpty:!1},N)}return r.createElement(r.Fragment,null,k,t)});function Y(e){var t=e.columnKey,n=e.onColumnResize,l=r.useRef();return r.useEffect(function(){l.current&&n(t,l.current.offsetWidth)},[]),r.createElement(L.Z,{data:t},r.createElement("td",{ref:l,style:{padding:0,border:0,height:0}},r.createElement("div",{style:{height:0,overflow:"hidden"}},"\xa0")))}function G(e){var t=e.prefixCls,n=e.columnsKey,l=e.onColumnResize;return r.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},r.createElement(L.Z.Collection,{onBatchResize:function(e){e.forEach(function(e){l(e.data,e.size.offsetWidth)})}},n.map(function(e){return r.createElement(Y,{key:e,columnKey:e,onColumnResize:l})})))}var J=x(function(e){var t,n=e.data,l=e.measureColumnWidth,o=f(w,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),a=o.prefixCls,i=o.getComponent,c=o.onColumnResize,d=o.flattenColumns,s=o.getRowKey,u=o.expandedKeys,p=o.childrenColumnName,m=o.emptyNode,h=D(n,p,u,s),b=r.useRef({renderWithProps:!1}),g=i(["body","wrapper"],"tbody"),v=i(["body","row"],"tr"),x=i(["body","cell"],"td"),y=i(["body","cell"],"th");t=n.length?h.map(function(e,t){var n=e.record,l=e.indent,o=e.index,a=s(n,t);return r.createElement(U,{key:a,rowKey:a,record:n,index:t,renderIndex:o,rowComponent:v,cellComponent:x,scopeCellComponent:y,getRowKey:s,indent:l})}):r.createElement(X,{expanded:!0,className:"".concat(a,"-placeholder"),prefixCls:a,component:v,cellComponent:x,colSpan:d.length,isEmpty:!0},m);var C=R(d);return r.createElement(I.Provider,{value:b.current},r.createElement(g,{className:"".concat(a,"-tbody")},l&&r.createElement(G,{prefixCls:a,columnsKey:C,onColumnResize:c}),t))}),Q=["expandable"],ee="RC_TABLE_INTERNAL_COL_DEFINE",et=["columnType"],en=function(e){for(var t=e.colWidths,n=e.columns,l=e.columCount,o=[],a=l||n.length,i=!1,c=a-1;c>=0;c-=1){var d=t[c],s=n&&n[c],u=s&&s[ee];if(d||u||i){var f=u||{},m=(f.columnType,(0,B.Z)(f,et));o.unshift(r.createElement("col",(0,p.Z)({key:c,style:{width:d}},m))),i=!0}}return r.createElement("colgroup",null,o)},er=n(74902),el=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"],eo=r.forwardRef(function(e,t){var n=e.className,l=e.noData,o=e.columns,a=e.flattenColumns,i=e.colWidths,c=e.columCount,d=e.stickyOffsets,s=e.direction,u=e.fixHeader,p=e.stickyTopOffset,h=e.stickyBottomOffset,b=e.stickyClassName,g=e.onScroll,v=e.maxContentScroll,x=e.children,y=(0,B.Z)(e,el),C=f(w,["prefixCls","scrollbarSize","isSticky","getComponent"]),S=C.prefixCls,k=C.scrollbarSize,N=C.isSticky,I=(0,C.getComponent)(["header","table"],"table"),R=N&&!u?0:k,O=r.useRef(null),j=r.useCallback(function(e){(0,m.mH)(t,e),(0,m.mH)(O,e)},[]);r.useEffect(function(){var e;function t(e){var t=e.currentTarget,n=e.deltaX;n&&(g({currentTarget:t,scrollLeft:t.scrollLeft+n}),e.preventDefault())}return null===(e=O.current)||void 0===e||e.addEventListener("wheel",t,{passive:!1}),function(){var e;null===(e=O.current)||void 0===e||e.removeEventListener("wheel",t)}},[]);var P=r.useMemo(function(){return a.every(function(e){return e.width})},[a]),T=a[a.length-1],M={fixed:T?T.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(S,"-cell-scrollbar")}}},H=(0,r.useMemo)(function(){return R?[].concat((0,er.Z)(o),[M]):o},[R,o]),z=(0,r.useMemo)(function(){return R?[].concat((0,er.Z)(a),[M]):a},[R,a]),K=(0,r.useMemo)(function(){var e=d.right,t=d.left;return(0,E.Z)((0,E.Z)({},d),{},{left:"rtl"===s?[].concat((0,er.Z)(t.map(function(e){return e+R})),[0]):t,right:"rtl"===s?e:[].concat((0,er.Z)(e.map(function(e){return e+R})),[0]),isSticky:N})},[R,d,N]),L=(0,r.useMemo)(function(){for(var e=[],t=0;t1?"colgroup":"col":null,ellipsis:a.ellipsis,align:a.align,component:i,prefixCls:u,key:h[t]},c,{additionalProps:n,rowType:"header"}))}))},ec=x(function(e){var t=e.stickyOffsets,n=e.columns,l=e.flattenColumns,o=e.onHeaderRow,a=f(w,["prefixCls","getComponent"]),i=a.prefixCls,c=a.getComponent,d=r.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;l1&&void 0!==arguments[1]?arguments[1]:"";return"number"==typeof t?t:t.endsWith("%")?e*parseFloat(t)/100:null}var eu=["children"],ef=["fixed"];function ep(e){return(0,ed.Z)(e).filter(function(e){return r.isValidElement(e)}).map(function(e){var t=e.key,n=e.props,r=n.children,l=(0,B.Z)(n,eu),o=(0,E.Z)({key:t},l);return r&&(o.children=ep(r)),o})}function em(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key";return e.filter(function(e){return e&&"object"===(0,C.Z)(e)}).reduce(function(e,n,r){var l=n.fixed,o=!0===l?"left":l,a="".concat(t,"-").concat(r),i=n.children;return i&&i.length>0?[].concat((0,er.Z)(e),(0,er.Z)(em(i,a).map(function(e){return(0,E.Z)({fixed:o},e)}))):[].concat((0,er.Z)(e),[(0,E.Z)((0,E.Z)({key:a},n),{},{fixed:o})])},[])}var eh=function(e,t){var n=e.prefixCls,o=e.columns,i=e.children,c=e.expandable,d=e.expandedKeys,s=e.columnTitle,u=e.getRowKey,f=e.onTriggerExpand,p=e.expandIcon,m=e.rowExpandable,h=e.expandIconColumnIndex,b=e.direction,g=e.expandRowByClick,v=e.columnWidth,x=e.fixed,y=e.scrollWidth,w=e.clientWidth,S=r.useMemo(function(){return function e(t){return t.filter(function(e){return e&&"object"===(0,C.Z)(e)&&!e.hidden}).map(function(t){var n=t.children;return n&&n.length>0?(0,E.Z)((0,E.Z)({},t),{},{children:e(n)}):t})}((o||ep(i)||[]).slice())},[o,i]),Z=r.useMemo(function(){if(c){var e,t,o=S.slice();if(!o.includes(l)){var a=h||0;a>=0&&o.splice(a,0,l)}var i=o.indexOf(l);o=o.filter(function(e,t){return e!==l||t===i});var b=S[i];t=("left"===x||x)&&!h?"left":("right"===x||x)&&h===S.length?"right":b?b.fixed:null;var y=(e={},(0,$.Z)(e,ee,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,$.Z)(e,"title",s),(0,$.Z)(e,"fixed",t),(0,$.Z)(e,"className","".concat(n,"-row-expand-icon-cell")),(0,$.Z)(e,"width",v),(0,$.Z)(e,"render",function(e,t,l){var o=u(t,l),a=p({prefixCls:n,expanded:d.has(o),expandable:!m||m(t),record:t,onExpand:f});return g?r.createElement("span",{onClick:function(e){return e.stopPropagation()}},a):a}),e);return o.map(function(e){return e===l?y:e})}return S.filter(function(e){return e!==l})},[c,S,u,d,p,b]),k=r.useMemo(function(){var e=Z;return t&&(e=t(e)),e.length||(e=[{render:function(){return null}}]),e},[t,Z,b]),N=r.useMemo(function(){return"rtl"===b?em(k).map(function(e){var t=e.fixed,n=(0,B.Z)(e,ef),r=t;return"left"===t?r="right":"right"===t&&(r="left"),(0,E.Z)({fixed:r},n)}):em(k)},[k,b,y]),I=r.useMemo(function(){for(var e=-1,t=N.length-1;t>=0;t-=1){var n=N[t].fixed;if("left"===n||!0===n){e=t;break}}if(e>=0)for(var r=0;r<=e;r+=1){var l=N[r].fixed;if("left"!==l&&!0!==l)return!0}var o=N.findIndex(function(e){return"right"===e.fixed});if(o>=0){for(var a=o;a0){var e=0,t=0;N.forEach(function(n){var r=es(y,n.width);r?e+=r:t+=1});var n=Math.max(y,w),r=Math.max(n-e,t),l=t,o=r/t,a=0,i=N.map(function(e){var t=(0,E.Z)({},e),n=es(y,t.width);if(n)t.width=n;else{var i=Math.floor(o);t.width=1===l?r:i,r-=i,l-=1}return a+=t.width,t});if(a=p&&(r=p-m),i({scrollLeft:r/p*(u+2)}),y.current.x=e.pageX},j=function(){I.current=(0,eC.Z)(function(){if(o.current){var e=(0,ew.os)(o.current).top,t=e+o.current.offsetHeight,n=d===window?document.documentElement.scrollTop+window.innerHeight:(0,ew.os)(d).top+d.clientHeight;t-(0,F.Z)()<=n||e>=n-c?x(function(e){return(0,E.Z)((0,E.Z)({},e),{},{isHiddenScrollBar:!0})}):x(function(e){return(0,E.Z)((0,E.Z)({},e),{},{isHiddenScrollBar:!1})})}})},P=function(e){x(function(t){return(0,E.Z)((0,E.Z)({},t),{},{scrollLeft:e/u*p||0})})};return(r.useImperativeHandle(t,function(){return{setScrollLeft:P,checkScrollBarVisible:j}}),r.useEffect(function(){var e=(0,ey.Z)(document.body,"mouseup",R,!1),t=(0,ey.Z)(document.body,"mousemove",O,!1);return j(),function(){e.remove(),t.remove()}},[m,k]),r.useEffect(function(){var e=(0,ey.Z)(d,"scroll",j,!1),t=(0,ey.Z)(window,"resize",j,!1);return function(){e.remove(),t.remove()}},[d]),r.useEffect(function(){v.isHiddenScrollBar||x(function(e){var t=o.current;return t?(0,E.Z)((0,E.Z)({},e),{},{scrollLeft:t.scrollLeft/t.scrollWidth*t.clientWidth}):e})},[v.isHiddenScrollBar]),u<=p||!m||v.isHiddenScrollBar)?null:r.createElement("div",{style:{height:(0,F.Z)(),width:p,bottom:c},className:"".concat(s,"-sticky-scroll")},r.createElement("div",{onMouseDown:function(e){e.persist(),y.current.delta=e.pageX-v.scrollLeft,y.current.x=0,N(!0),e.preventDefault()},ref:h,className:Z()("".concat(s,"-sticky-scroll-bar"),(0,$.Z)({},"".concat(s,"-sticky-scroll-bar-active"),k)),style:{width:"".concat(m,"px"),transform:"translate3d(".concat(v.scrollLeft,"px, 0, 0)")}}))}),e$="rc-table",eS=[],eZ={};function ek(){return"No Data"}var eN=r.forwardRef(function(e,t){var n,l=(0,E.Z)({rowKey:"key",prefixCls:e$,emptyText:ek},e),c=l.prefixCls,s=l.className,u=l.rowClassName,f=l.style,m=l.data,h=l.rowKey,b=l.scroll,g=l.tableLayout,v=l.direction,x=l.title,y=l.footer,S=l.summary,I=l.caption,O=l.id,j=l.showHeader,P=l.components,M=l.emptyText,H=l.onRow,D=l.onHeaderRow,q=l.onScroll,X=l.internalHooks,V=l.transformColumns,U=l.internalRefs,Y=l.tailor,G=l.getContainerWidth,ee=l.sticky,et=l.rowHoverable,el=void 0===et||et,eo=m||eS,ei=!!eo.length,ed=X===o,es=r.useCallback(function(e,t){return(0,N.Z)(P,e)||t},[P]),eu=r.useMemo(function(){return"function"==typeof h?h:function(e){return e&&e[h]}},[h]),ef=es(["body"]),ep=(tX=r.useState(-1),tU=(tV=(0,a.Z)(tX,2))[0],tY=tV[1],tG=r.useState(-1),tQ=(tJ=(0,a.Z)(tG,2))[0],t0=tJ[1],[tU,tQ,r.useCallback(function(e,t){tY(e),t0(t)},[])]),em=(0,a.Z)(ep,3),ey=em[0],ew=em[1],eC=em[2],eN=(t2=l.expandable,t8=(0,B.Z)(l,Q),!1===(t1="expandable"in l?(0,E.Z)((0,E.Z)({},t8),t2):t8).showExpandColumn&&(t1.expandIconColumnIndex=-1),t4=t1.expandIcon,t3=t1.expandedRowKeys,t7=t1.defaultExpandedRowKeys,t5=t1.defaultExpandAllRows,t9=t1.expandedRowRender,t6=t1.onExpand,ne=t1.onExpandedRowsChange,nt=t1.childrenColumnName||"children",nn=r.useMemo(function(){return t9?"row":!!(l.expandable&&l.internalHooks===o&&l.expandable.__PARENT_RENDER_ICON__||eo.some(function(e){return e&&"object"===(0,C.Z)(e)&&e[nt]}))&&"nest"},[!!t9,eo]),nr=r.useState(function(){if(t7)return t7;if(t5){var e;return e=[],function t(n){(n||[]).forEach(function(n,r){e.push(eu(n,r)),t(n[nt])})}(eo),e}return[]}),no=(nl=(0,a.Z)(nr,2))[0],na=nl[1],ni=r.useMemo(function(){return new Set(t3||no||[])},[t3,no]),nc=r.useCallback(function(e){var t,n=eu(e,eo.indexOf(e)),r=ni.has(n);r?(ni.delete(n),t=(0,er.Z)(ni)):t=[].concat((0,er.Z)(ni),[n]),na(t),t6&&t6(!r,e),ne&&ne(t)},[eu,ni,eo,t6,ne]),[t1,nn,ni,t4||eb,nt,nc]),eI=(0,a.Z)(eN,6),eR=eI[0],eO=eI[1],ej=eI[2],eP=eI[3],eT=eI[4],eM=eI[5],eB=null==b?void 0:b.x,eH=r.useState(0),ez=(0,a.Z)(eH,2),eK=ez[0],eL=ez[1],eA=eh((0,E.Z)((0,E.Z)((0,E.Z)({},l),eR),{},{expandable:!!eR.expandedRowRender,columnTitle:eR.columnTitle,expandedKeys:ej,getRowKey:eu,onTriggerExpand:eM,expandIcon:eP,expandIconColumnIndex:eR.expandIconColumnIndex,direction:v,scrollWidth:ed&&Y&&"number"==typeof eB?eB:null,clientWidth:eK}),ed?V:null),e_=(0,a.Z)(eA,4),eF=e_[0],eW=e_[1],eD=e_[2],eq=e_[3],eX=null!=eD?eD:eB,eV=r.useMemo(function(){return{columns:eF,flattenColumns:eW}},[eF,eW]),eU=r.useRef(),eY=r.useRef(),eG=r.useRef(),eJ=r.useRef();r.useImperativeHandle(t,function(){return{nativeElement:eU.current,scrollTo:function(e){var t;if(eG.current instanceof HTMLElement){var n=e.index,r=e.top,l=e.key;if(r)null===(o=eG.current)||void 0===o||o.scrollTo({top:r});else{var o,a,i=null!=l?l:eu(eo[n]);null===(a=eG.current.querySelector('[data-row-key="'.concat(i,'"]')))||void 0===a||a.scrollIntoView()}}else null!==(t=eG.current)&&void 0!==t&&t.scrollTo&&eG.current.scrollTo(e)}}});var eQ=r.useRef(),e0=r.useState(!1),e1=(0,a.Z)(e0,2),e2=e1[0],e8=e1[1],e4=r.useState(!1),e3=(0,a.Z)(e4,2),e7=e3[0],e5=e3[1],e9=eg(new Map),e6=(0,a.Z)(e9,2),te=e6[0],tt=e6[1],tn=R(eW).map(function(e){return te.get(e)}),tr=r.useMemo(function(){return tn},[tn.join("_")]),tl=(0,r.useMemo)(function(){var e=eW.length,t=function(e,t,n){for(var r=[],l=0,o=e;o!==t;o+=n)r.push(l),eW[o].fixed&&(l+=tr[o]||0);return r},n=t(0,e,1),r=t(e-1,-1,-1).reverse();return"rtl"===v?{left:r,right:n}:{left:n,right:r}},[tr,eW,v]),to=b&&null!=b.y,ta=b&&null!=eX||!!eR.fixed,ti=ta&&eW.some(function(e){return e.fixed}),tc=r.useRef(),td=(nu=void 0===(ns=(nd="object"===(0,C.Z)(ee)?ee:{}).offsetHeader)?0:ns,np=void 0===(nf=nd.offsetSummary)?0:nf,nh=void 0===(nm=nd.offsetScroll)?0:nm,ng=(void 0===(nb=nd.getContainer)?function(){return ev}:nb)()||ev,r.useMemo(function(){var e=!!ee;return{isSticky:e,stickyClassName:e?"".concat(c,"-sticky-holder"):"",offsetHeader:nu,offsetSummary:np,offsetScroll:nh,container:ng}},[nh,nu,np,c,ng])),ts=td.isSticky,tu=td.offsetHeader,tf=td.offsetSummary,tp=td.offsetScroll,tm=td.stickyClassName,th=td.container,tb=r.useMemo(function(){return null==S?void 0:S(eo)},[S,eo]),tg=(to||ts)&&r.isValidElement(tb)&&tb.type===z&&tb.props.fixed;to&&(ny={overflowY:"scroll",maxHeight:b.y}),ta&&(nx={overflowX:"auto"},to||(ny={overflowY:"hidden"}),nw={width:!0===eX?"auto":eX,minWidth:"100%"});var tv=r.useCallback(function(e,t){(0,A.Z)(eU.current)&&tt(function(n){if(n.get(e)!==t){var r=new Map(n);return r.set(e,t),r}return n})},[]),tx=function(e){var t=(0,r.useRef)(null),n=(0,r.useRef)();function l(){window.clearTimeout(n.current)}return(0,r.useEffect)(function(){return l},[]),[function(e){t.current=e,l(),n.current=window.setTimeout(function(){t.current=null,n.current=void 0},100)},function(){return t.current}]}(0),ty=(0,a.Z)(tx,2),tw=ty[0],tC=ty[1];function tE(e,t){t&&("function"==typeof t?t(e):t.scrollLeft!==e&&(t.scrollLeft=e,t.scrollLeft!==e&&setTimeout(function(){t.scrollLeft=e},0)))}var t$=(0,i.Z)(function(e){var t,n=e.currentTarget,r=e.scrollLeft,l="rtl"===v,o="number"==typeof r?r:n.scrollLeft,a=n||eZ;tC()&&tC()!==a||(tw(a),tE(o,eY.current),tE(o,eG.current),tE(o,eQ.current),tE(o,null===(t=tc.current)||void 0===t?void 0:t.setScrollLeft));var i=n||eY.current;if(i){var c=i.scrollWidth,d=i.clientWidth;if(c===d){e8(!1),e5(!1);return}l?(e8(-o0)):(e8(o>0),e5(o1?y-M:0,H=(0,E.Z)((0,E.Z)((0,E.Z)({},I),u),{},{flex:"0 0 ".concat(M,"px"),width:"".concat(M,"px"),marginRight:B,pointerEvents:"auto"}),z=r.useMemo(function(){return h?T<=1:0===O||0===T||T>1},[T,O,h]);z?H.visibility="hidden":h&&(H.height=null==b?void 0:b(T));var K={};return(0===T||0===O)&&(K.rowSpan=1,K.colSpan=1),r.createElement(P,(0,p.Z)({className:Z()(x,m),ellipsis:l.ellipsis,align:l.align,scope:l.rowScope,component:c,prefixCls:n.prefixCls,key:$,record:s,index:i,renderIndex:d,dataIndex:v,render:z?function(){return null}:g,shouldCellUpdate:l.shouldCellUpdate},S,{appendNode:k,additionalProps:(0,E.Z)((0,E.Z)({},N),{},{style:H},K)}))},eT=["data","index","className","rowKey","style","extra","getHeight"],eM=x(r.forwardRef(function(e,t){var n,l=e.data,o=e.index,a=e.className,i=e.rowKey,c=e.style,d=e.extra,s=e.getHeight,u=(0,B.Z)(e,eT),m=l.record,h=l.indent,b=l.index,g=f(w,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),v=g.scrollX,x=g.flattenColumns,y=g.prefixCls,C=g.fixColumn,S=g.componentWidth,k=f(eO,["getComponent"]).getComponent,N=q(m,i,o,h),I=k(["body","row"],"div"),R=k(["body","cell"],"div"),O=N.rowSupportExpand,j=N.expanded,T=N.rowProps,M=N.expandedRowRender,H=N.expandedRowClassName;if(O&&j){var z=M(m,o,h+1,j),K=null==H?void 0:H(m,o,h),L={};C&&(L={style:(0,$.Z)({},"--virtual-width","".concat(S,"px"))});var A="".concat(y,"-expanded-row-cell");n=r.createElement(I,{className:Z()("".concat(y,"-expanded-row"),"".concat(y,"-expanded-row-level-").concat(h+1),K)},r.createElement(P,{component:R,prefixCls:y,className:Z()(A,(0,$.Z)({},"".concat(A,"-fixed"),C)),additionalProps:L},z))}var _=(0,E.Z)((0,E.Z)({},c),{},{width:v});d&&(_.position="absolute",_.pointerEvents="none");var F=r.createElement(I,(0,p.Z)({},T,u,{"data-row-key":i,ref:O?null:t,className:Z()(a,"".concat(y,"-row"),null==T?void 0:T.className,(0,$.Z)({},"".concat(y,"-row-extra"),d)),style:(0,E.Z)((0,E.Z)({},_),null==T?void 0:T.style)}),x.map(function(e,t){return r.createElement(eP,{key:t,component:R,rowInfo:N,column:e,colIndex:t,indent:h,index:o,renderIndex:b,record:m,inverse:d,getHeight:s})}));return O?r.createElement("div",{ref:t},F,n):F})),eB=x(r.forwardRef(function(e,t){var n,l=e.data,o=e.onScroll,i=f(w,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),c=i.flattenColumns,d=i.onColumnResize,s=i.getRowKey,u=i.expandedKeys,p=i.prefixCls,m=i.childrenColumnName,h=i.emptyNode,b=i.scrollX,g=f(eO),v=g.sticky,x=g.scrollY,y=g.listItemHeight,E=g.getComponent,$=g.onScroll,S=r.useRef(),k=D(l,m,u,s),N=r.useMemo(function(){var e=0;return c.map(function(t){var n=t.width,r=t.key;return e+=n,[r,n,e]})},[c]),I=r.useMemo(function(){return N.map(function(e){return e[2]})},[N]);r.useEffect(function(){N.forEach(function(e){var t=(0,a.Z)(e,2);d(t[0],t[1])})},[N]),r.useImperativeHandle(t,function(){var e={scrollTo:function(e){var t;null===(t=S.current)||void 0===t||t.scrollTo(e)}};return Object.defineProperty(e,"scrollLeft",{get:function(){var e;return(null===(e=S.current)||void 0===e?void 0:e.getScrollInfo().x)||0},set:function(e){var t;null===(t=S.current)||void 0===t||t.scrollTo({left:e})}}),e});var R=function(e,t){var n=null===(l=k[t])||void 0===l?void 0:l.record,r=e.onCell;if(r){var l,o,a=r(n,t);return null!==(o=null==a?void 0:a.rowSpan)&&void 0!==o?o:1}return 1},O=r.useMemo(function(){return{columnsOffset:I}},[I]),j="".concat(p,"-tbody"),T=E(["body","wrapper"]),M=E(["body","row"],"div"),B=E(["body","cell"],"div");if(k.length){var H={};v&&(H.position="sticky",H.bottom=0,"object"===(0,C.Z)(v)&&v.offsetScroll&&(H.bottom=v.offsetScroll)),n=r.createElement(eR.Z,{fullHeight:!1,ref:S,prefixCls:"".concat(j,"-virtual"),styles:{horizontalScrollBar:H},className:j,height:x,itemHeight:y||24,data:k,itemKey:function(e){return s(e.record)},component:T,scrollWidth:b,onVirtualScroll:function(e){o({scrollLeft:e.x})},onScroll:$,extraRender:function(e){var t=e.start,n=e.end,l=e.getSize,o=e.offsetY;if(n<0)return null;for(var a=c.filter(function(e){return 0===R(e,t)}),i=t,d=function(e){if(!(a=a.filter(function(t){return 0===R(t,e)})).length)return i=e,1},u=t;u>=0&&!d(u);u-=1);for(var f=c.filter(function(e){return 1!==R(e,n)}),p=n,m=function(e){if(!(f=f.filter(function(t){return 1!==R(t,e)})).length)return p=Math.max(e-1,n),1},h=n;h1})&&b.push(e)},v=i;v<=p;v+=1)if(g(v))continue;return b.map(function(e){var t=k[e],n=s(t.record,e),a=l(n);return r.createElement(eM,{key:e,data:t,rowKey:n,index:e,style:{top:-o+a.top},extra:!0,getHeight:function(t){var r=e+t-1,o=l(n,s(k[r].record,r));return o.bottom-o.top}})})}},function(e,t,n){var l=s(e.record,t);return r.createElement(eM,{data:e,rowKey:l,index:t,style:n.style})})}else n=r.createElement(M,{className:Z()("".concat(p,"-placeholder"))},r.createElement(P,{component:B,prefixCls:p},h));return r.createElement(ej.Provider,{value:O},n)})),eH=function(e,t){var n=t.ref,l=t.onScroll;return r.createElement(eB,{ref:n,data:e,onScroll:l})},ez=r.forwardRef(function(e,t){var n=e.columns,l=e.scroll,a=e.sticky,i=e.prefixCls,c=void 0===i?e$:i,d=e.className,s=e.listItemHeight,u=e.components,f=e.onScroll,m=l||{},h=m.x,b=m.y;"number"!=typeof h&&(h=1),"number"!=typeof b&&(b=500);var g=(0,O.zX)(function(e,t){return(0,N.Z)(u,e)||t}),v=(0,O.zX)(f),x=r.useMemo(function(){return{sticky:a,scrollY:b,listItemHeight:s,getComponent:g,onScroll:v}},[a,b,s,g,v]);return r.createElement(eO.Provider,{value:x},r.createElement(eI,(0,p.Z)({},e,{className:Z()(d,"".concat(c,"-virtual")),scroll:(0,E.Z)((0,E.Z)({},l),{},{x:h}),components:(0,E.Z)((0,E.Z)({},u),{},{body:eH}),columns:n,internalHooks:o,tailor:!0,ref:t})))});v(ez,void 0);var eK=n(96641),eL=n(13622),eA=n(10225),e_=n(17341),eF=n(1089),eW=n(21770),eD=n(27288),eq=n(84567),eX=n(85418),eV=n(78045);let eU={},eY="SELECT_ALL",eG="SELECT_INVERT",eJ="SELECT_NONE",eQ=[],e0=(e,t)=>{let n=[];return(t||[]).forEach(t=>{n.push(t),t&&"object"==typeof t&&e in t&&(n=[].concat((0,eK.Z)(n),(0,eK.Z)(e0(e,t[e]))))}),n};var e1=(e,t)=>{let{preserveSelectedRowKeys:n,selectedRowKeys:l,defaultSelectedRowKeys:o,getCheckboxProps:a,onChange:i,onSelect:c,onSelectAll:d,onSelectInvert:s,onSelectNone:u,onSelectMultiple:f,columnWidth:p,type:m,selections:h,fixed:b,renderCell:g,hideSelectAll:v,checkStrictly:x=!0}=t||{},{prefixCls:y,data:w,pageData:C,getRecordByKey:E,getRowKey:$,expandType:S,childrenColumnName:k,locale:N,getPopupContainer:I}=e,R=(0,eD.ln)("Table"),[O,j]=function(e){let[t,n]=(0,r.useState)(null),l=(0,r.useCallback)((r,l,o)=>{let a=null!=t?t:r,i=Math.min(a||0,r),c=Math.max(a||0,r),d=l.slice(i,c+1).map(t=>e(t)),s=d.some(e=>!o.has(e)),u=[];return d.forEach(e=>{s?(o.has(e)||u.push(e),o.add(e)):(o.delete(e),u.push(e))}),n(s?c:null),u},[t]);return[l,e=>{n(e)}]}(e=>e),[P,T]=(0,eW.Z)(l||o||eQ,{value:l}),M=r.useRef(new Map),B=(0,r.useCallback)(e=>{if(n){let t=new Map;e.forEach(e=>{let n=E(e);!n&&M.current.has(e)&&(n=M.current.get(e)),t.set(e,n)}),M.current=t}},[E,n]);r.useEffect(()=>{B(P)},[P]);let{keyEntities:H}=(0,r.useMemo)(()=>{if(x)return{keyEntities:null};let e=w;if(n){let t=new Set(w.map((e,t)=>$(e,t))),n=Array.from(M.current).reduce((e,n)=>{let[r,l]=n;return t.has(r)?e:e.concat(l)},[]);e=[].concat((0,eK.Z)(e),(0,eK.Z)(n))}return(0,eF.I8)(e,{externalGetKey:$,childrenPropName:k})},[w,$,x,k,n]),z=(0,r.useMemo)(()=>e0(k,C),[k,C]),K=(0,r.useMemo)(()=>{let e=new Map;return z.forEach((t,n)=>{let r=$(t,n),l=(a?a(t):null)||{};e.set(r,l)}),e},[z,$,a]),L=(0,r.useCallback)(e=>{var t;return!!(null===(t=K.get($(e)))||void 0===t?void 0:t.disabled)},[K,$]),[A,_]=(0,r.useMemo)(()=>{if(x)return[P||[],[]];let{checkedKeys:e,halfCheckedKeys:t}=(0,e_.S)(P,!0,H,L);return[e||[],t]},[P,x,H,L]),F=(0,r.useMemo)(()=>{let e="radio"===m?A.slice(0,1):A;return new Set(e)},[A,m]),W=(0,r.useMemo)(()=>"radio"===m?new Set:new Set(_),[_,m]);r.useEffect(()=>{t||T(eQ)},[!!t]);let D=(0,r.useCallback)((e,t)=>{let r,l;B(e),n?(r=e,l=e.map(e=>M.current.get(e))):(r=[],l=[],e.forEach(e=>{let t=E(e);void 0!==t&&(r.push(e),l.push(t))})),T(r),null==i||i(r,l,{type:t})},[T,E,i,n]),q=(0,r.useCallback)((e,t,n,r)=>{if(c){let l=n.map(e=>E(e));c(E(e),t,l,r)}D(n,"single")},[c,E,D]),X=(0,r.useMemo)(()=>{if(!h||v)return null;let e=!0===h?[eY,eG,eJ]:h;return e.map(e=>e===eY?{key:"all",text:N.selectionAll,onSelect(){D(w.map((e,t)=>$(e,t)).filter(e=>{let t=K.get(e);return!(null==t?void 0:t.disabled)||F.has(e)}),"all")}}:e===eG?{key:"invert",text:N.selectInvert,onSelect(){let e=new Set(F);C.forEach((t,n)=>{let r=$(t,n),l=K.get(r);(null==l?void 0:l.disabled)||(e.has(r)?e.delete(r):e.add(r))});let t=Array.from(e);s&&(R.deprecated(!1,"onSelectInvert","onChange"),s(t)),D(t,"invert")}}:e===eJ?{key:"none",text:N.selectNone,onSelect(){null==u||u(),D(Array.from(F).filter(e=>{let t=K.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 l,o,a;if(!t)return e.filter(e=>e!==eU);let i=(0,eK.Z)(e),c=new Set(F),s=z.map($).filter(e=>!K.get(e).disabled),u=s.every(e=>c.has(e)),w=s.some(e=>c.has(e));if("radio"!==m){let e;if(X){let t={getPopupContainer:I,items:X.map((e,t)=>{let{key:n,text:r,onSelect:l}=e;return{key:null!=n?n:t,onClick:()=>{null==l||l(s)},label:r}})};e=r.createElement("div",{className:`${y}-selection-extra`},r.createElement(eX.Z,{menu:t,getPopupContainer:I},r.createElement("span",null,r.createElement(eL.Z,null))))}let t=z.map((e,t)=>{let n=$(e,t),r=K.get(n)||{};return Object.assign({checked:c.has(n)},r)}).filter(e=>{let{disabled:t}=e;return t}),n=!!t.length&&t.length===z.length,a=n&&t.every(e=>{let{checked:t}=e;return t}),i=n&&t.some(e=>{let{checked:t}=e;return t});o=r.createElement(eq.Z,{checked:n?a:!!z.length&&u,indeterminate:n?!a&&i:!u&&w,onChange:()=>{let e=[];u?s.forEach(t=>{c.delete(t),e.push(t)}):s.forEach(t=>{c.has(t)||(c.add(t),e.push(t))});let t=Array.from(c);null==d||d(!u,t.map(e=>E(e)),e.map(e=>E(e))),D(t,"all"),j(null)},disabled:0===z.length||n,"aria-label":e?"Custom selection":"Select all",skipGroup:!0}),l=!v&&r.createElement("div",{className:`${y}-selection`},o,e)}if(a="radio"===m?(e,t,n)=>{let l=$(t,n),o=c.has(l);return{node:r.createElement(eV.ZP,Object.assign({},K.get(l),{checked:o,onClick:e=>e.stopPropagation(),onChange:e=>{c.has(l)||q(l,!0,[l],e.nativeEvent)}})),checked:o}}:(e,t,n)=>{var l;let o;let a=$(t,n),i=c.has(a),d=W.has(a),u=K.get(a);return o="nest"===S?d:null!==(l=null==u?void 0:u.indeterminate)&&void 0!==l?l:d,{node:r.createElement(eq.Z,Object.assign({},u,{indeterminate:o,checked:i,skipGroup:!0,onClick:e=>e.stopPropagation(),onChange:e=>{let{nativeEvent:t}=e,{shiftKey:n}=t,r=s.findIndex(e=>e===a),l=A.some(e=>s.includes(e));if(n&&x&&l){let e=O(r,s,c),t=Array.from(c);null==f||f(!i,t.map(e=>E(e)),e.map(e=>E(e))),D(t,"multiple")}else if(x){let e=i?(0,eA._5)(A,a):(0,eA.L0)(A,a);q(a,!i,e,t)}else{let e=(0,e_.S)([].concat((0,eK.Z)(A),[a]),!0,H,L),{checkedKeys:n,halfCheckedKeys:r}=e,l=n;if(i){let e=new Set(n);e.delete(a),l=(0,e_.S)(Array.from(e),{checked:!1,halfCheckedKeys:r},H,L).checkedKeys}q(a,!i,l,t)}i?j(null):j(r)}})),checked:i}},!i.includes(eU)){if(0===i.findIndex(e=>{var t;return(null===(t=e[ee])||void 0===t?void 0:t.columnType)==="EXPAND_COLUMN"})){let[e,...t]=i;i=[e,eU].concat((0,eK.Z)(t))}else i=[eU].concat((0,eK.Z)(i))}let C=i.indexOf(eU);i=i.filter((e,t)=>e!==eU||t===C);let k=i[C-1],N=i[C+1],R=b;void 0===R&&((null==N?void 0:N.fixed)!==void 0?R=N.fixed:(null==k?void 0:k.fixed)!==void 0&&(R=k.fixed)),R&&k&&(null===(n=k[ee])||void 0===n?void 0:n.columnType)==="EXPAND_COLUMN"&&void 0===k.fixed&&(k.fixed=R);let P=Z()(`${y}-selection-col`,{[`${y}-selection-col-with-dropdown`]:h&&"checkbox"===m}),T={fixed:R,width:p,className:`${y}-selection-column`,title:(null==t?void 0:t.columnTitle)?"function"==typeof t.columnTitle?t.columnTitle(o):t.columnTitle:l,render:(e,t,n)=>{let{node:r,checked:l}=a(e,t,n);return g?g(l,t,n,r):r},onCell:t.onCell,[ee]:{className:P}};return i.map(e=>e===eU?T:e)},[$,z,t,A,F,W,p,X,S,K,f,q,L]);return[V,F]},e2=n(98423),e8=n(58375),e4=n(53124),e3=n(88258),e7=n(35792),e5=n(98675),e9=n(25378),e6=n(24457),te=n(55872),tt=n(74330),tn=n(25976);let tr=(e,t)=>"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 tl(e,t){return t?`${t}-${e}`:`${e}`}let to=(e,t)=>"function"==typeof e?e(t):e,ta=(e,t)=>{let n=to(e,t);return"[object Object]"===Object.prototype.toString.call(n)?"":n};var ti=n(83963),tc=n(98851),td=n(30672),ts=r.forwardRef(function(e,t){return r.createElement(td.Z,(0,ti.Z)({},e,{ref:t,icon:tc.Z}))}),tu=n(57838),tf=n(14726),tp=n(32983),tm=n(50136),th=n(76529),tb=n(41952),tg=n(25783),tv=n(55102),tx=e=>{let{value:t,filterSearch:n,tablePrefixCls:l,locale:o,onChange:a}=e;return n?r.createElement("div",{className:`${l}-filter-dropdown-search`},r.createElement(tv.default,{prefix:r.createElement(tg.Z,null),placeholder:o.filterSearchPlaceholder,onChange:a,value:t,htmlSize:1,className:`${l}-filter-dropdown-search-input`})):null},ty=n(15105);let tw=e=>{let{keyCode:t}=e;t===ty.Z.ENTER&&e.stopPropagation()},tC=r.forwardRef((e,t)=>r.createElement("div",{className:e.className,onClick:e=>e.stopPropagation(),onKeyDown:tw,ref:t},e.children));function tE(e){let t=[];return(e||[]).forEach(e=>{let{value:n,children:r}=e;t.push(n),r&&(t=[].concat((0,eK.Z)(t),(0,eK.Z)(tE(r))))}),t}function t$(e,t){return("string"==typeof t||"number"==typeof t)&&(null==t?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()))}var tS=e=>{var t,n;let l,o;let{tablePrefixCls:a,prefixCls:i,column:c,dropdownPrefixCls:s,columnKey:u,filterOnClose:f,filterMultiple:p,filterMode:m="menu",filterSearch:h=!1,filterState:b,triggerFilter:g,locale:v,children:x,getPopupContainer:y,rootClassName:w}=e,{filterDropdownOpen:C,onFilterDropdownOpenChange:E,filterResetToDefaultFilteredValue:$,defaultFilteredValue:S,filterDropdownVisible:k,onFilterDropdownVisibleChange:N}=c,[I,R]=r.useState(!1),O=!!(b&&((null===(t=b.filteredKeys)||void 0===t?void 0:t.length)||b.forceFiltered)),j=e=>{R(e),null==E||E(e),null==N||N(e)},P=null!==(n=null!=C?C:k)&&void 0!==n?n:I,T=null==b?void 0:b.filteredKeys,[M,B]=function(e){let t=r.useRef(e),n=(0,tu.Z)();return[()=>t.current,e=>{t.current=e,n()}]}(T||[]),H=e=>{let{selectedKeys:t}=e;B(t)},z=(e,t)=>{let{node:n,checked:r}=t;p?H({selectedKeys:e}):H({selectedKeys:r&&n.key?[n.key]:[]})};r.useEffect(()=>{I&&H({selectedKeys:T||[]})},[T]);let[K,L]=r.useState([]),A=e=>{L(e)},[_,F]=r.useState(""),W=e=>{let{value:t}=e.target;F(t)};r.useEffect(()=>{I||F("")},[I]);let D=e=>{let t=(null==e?void 0:e.length)?e:null;if(null===t&&(!b||!b.filteredKeys)||(0,d.Z)(t,null==b?void 0:b.filteredKeys,!0))return null;g({column:c,key:u,filteredKeys:t})},q=()=>{j(!1),D(M())},X=function(){let{confirm:e,closeDropdown:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1};e&&D([]),t&&j(!1),F(""),$?B((S||[]).map(e=>String(e))):B([])},V=Z()({[`${s}-menu-without-submenu`]:!(c.filters||[]).some(e=>{let{children:t}=e;return t})}),U=e=>{if(e.target.checked){let e=tE(null==c?void 0:c.filters).map(e=>String(e));B(e)}else B([])},Y=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:String(t)};return e.children&&(r.children=Y({filters:e.children})),r})},G=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=>G(e)))||[]})},{direction:J,renderEmpty:Q}=r.useContext(e4.E_);if("function"==typeof c.filterDropdown)l=c.filterDropdown({prefixCls:`${s}-custom`,setSelectedKeys:e=>H({selectedKeys:e}),selectedKeys:M(),confirm:function(){let{closeDropdown:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0};e&&j(!1),D(M())},clearFilters:X,filters:c.filters,visible:P,close:()=>{j(!1)}});else if(c.filterDropdown)l=c.filterDropdown;else{let e=M()||[];l=r.createElement(r.Fragment,null,(()=>{var t;let n=null!==(t=null==Q?void 0:Q("Table.filter"))&&void 0!==t?t:r.createElement(tp.Z,{image:tp.Z.PRESENTED_IMAGE_SIMPLE,description:v.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}});if(0===(c.filters||[]).length)return n;if("tree"===m)return r.createElement(r.Fragment,null,r.createElement(tx,{filterSearch:h,value:_,onChange:W,tablePrefixCls:a,locale:v}),r.createElement("div",{className:`${a}-filter-dropdown-tree`},p?r.createElement(eq.Z,{checked:e.length===tE(c.filters).length,indeterminate:e.length>0&&e.length"function"==typeof h?h(_,G(e)):t$(_,e.title):void 0})));let l=function e(t){let{filters:n,prefixCls:l,filteredKeys:o,filterMultiple:a,searchValue:i,filterSearch:c}=t;return n.map((t,n)=>{let d=String(t.value);if(t.children)return{key:d||n,label:t.text,popupClassName:`${l}-dropdown-submenu`,children:e({filters:t.children,prefixCls:l,filteredKeys:o,filterMultiple:a,searchValue:i,filterSearch:c})};let s=a?eq.Z:eV.ZP,u={key:void 0!==t.value?d:n,label:r.createElement(r.Fragment,null,r.createElement(s,{checked:o.includes(d)}),r.createElement("span",null,t.text))};return i.trim()?"function"==typeof c?c(i,t)?u:null:t$(i,t.text)?u:null:u})}({filters:c.filters||[],filterSearch:h,prefixCls:i,filteredKeys:M(),filterMultiple:p,searchValue:_}),o=l.every(e=>null===e);return r.createElement(r.Fragment,null,r.createElement(tx,{filterSearch:h,value:_,onChange:W,tablePrefixCls:a,locale:v}),o?n:r.createElement(tm.Z,{selectable:!0,multiple:p,prefixCls:`${s}-menu`,className:V,onSelect:H,onDeselect:H,selectedKeys:e,getPopupContainer:y,openKeys:K,onOpenChange:A,items:l}))})(),r.createElement("div",{className:`${i}-dropdown-btns`},r.createElement(tf.ZP,{type:"link",size:"small",disabled:$?(0,d.Z)((S||[]).map(e=>String(e)),e,!0):0===e.length,onClick:()=>X()},v.filterReset),r.createElement(tf.ZP,{type:"primary",size:"small",onClick:q},v.filterConfirm)))}return c.filterDropdown&&(l=r.createElement(th.J,{selectable:void 0},l)),o="function"==typeof c.filterIcon?c.filterIcon(O):c.filterIcon?c.filterIcon:r.createElement(ts,null),r.createElement("div",{className:`${i}-column`},r.createElement("span",{className:`${a}-column-title`},x),r.createElement(eX.Z,{dropdownRender:()=>r.createElement(tC,{className:`${i}-dropdown`},l),trigger:["click"],open:P,onOpenChange:(e,t)=>{"trigger"===t.source&&(e&&void 0!==T&&B(T||[]),j(e),e||c.filterDropdown||!f||q())},getPopupContainer:y,placement:"rtl"===J?"bottomLeft":"bottomRight",rootClassName:w},r.createElement("span",{role:"button",tabIndex:-1,className:Z()(`${i}-trigger`,{active:O}),onClick:e=>{e.stopPropagation()}},o)))};let tZ=(e,t,n)=>{let r=[];return(e||[]).forEach((e,l)=>{var o;let a=tl(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:tr(e,a),filteredKeys:t,forceFiltered:e.filtered})}else r.push({column:e,key:tr(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered})}"children"in e&&(r=[].concat((0,eK.Z)(r),(0,eK.Z)(tZ(e.children,t,a))))}),r},tk=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=tE(o);t[n]=e.filter(e=>r.includes(String(e)))}else t[n]=null}),t},tN=(e,t,n)=>{let r=t.reduce((e,r)=>{let{column:{onFilter:l,filters:o},filteredKeys:a}=r;return l&&a&&a.length?e.map(e=>Object.assign({},e)).filter(e=>a.some(r=>{let a=tE(o),i=a.findIndex(e=>String(e)===String(r)),c=-1!==i?a[i]:r;return e[n]&&(e[n]=tN(e[n],t,n)),l(c,e)})):e},e);return r},tI=e=>e.flatMap(e=>"children"in e?[e].concat((0,eK.Z)(tI(e.children||[]))):[e]);var tR=e=>{let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:l,onFilterChange:o,getPopupContainer:a,locale:i,rootClassName:c}=e;(0,eD.ln)("Table");let d=r.useMemo(()=>tI(l||[]),[l]),[s,u]=r.useState(()=>tZ(d,!0)),f=r.useMemo(()=>{let e=tZ(d,!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=(d||[]).map((e,t)=>tr(e,tl(t)));return s.filter(t=>{let{key:n}=t;return e.includes(n)}).map(t=>{let n=d[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},[d,s]),p=r.useMemo(()=>tk(f),[f]),m=e=>{let t=f.filter(t=>{let{key:n}=t;return n!==e.key});t.push(e),u(t),o(tk(t),t)};return[e=>(function e(t,n,l,o,a,i,c,d,s){return l.map((l,u)=>{let f=tl(u,d),{filterOnClose:p=!0,filterMultiple:m=!0,filterMode:h,filterSearch:b}=l,g=l;if(g.filters||g.filterDropdown){let e=tr(g,f),d=o.find(t=>{let{key:n}=t;return e===n});g=Object.assign(Object.assign({},g),{title:o=>r.createElement(tS,{tablePrefixCls:t,prefixCls:`${t}-filter`,dropdownPrefixCls:n,column:g,columnKey:e,filterState:d,filterOnClose:p,filterMultiple:m,filterMode:h,filterSearch:b,triggerFilter:i,locale:a,getPopupContainer:c,rootClassName:s},to(l.title,o))})}return"children"in g&&(g=Object.assign(Object.assign({},g),{children:e(t,n,g.children,o,a,i,c,f,s)})),g})})(t,n,e,f,i,m,a,void 0,c),f,p]},tO=(e,t,n)=>{let l=r.useRef({});return[function(r){var o;if(!l.current||l.current.data!==e||l.current.childrenColumnName!==t||l.current.getRowKey!==n){let r=new Map;!function e(l){l.forEach((l,o)=>{let a=n(l,o);r.set(a,l),l&&"object"==typeof l&&t in l&&e(l[t]||[])})}(e),l.current={data:e,childrenColumnName:t,kvMap:r,getRowKey:n}}return null===(o=l.current.kvMap)||void 0===o?void 0:o.get(r)}]},tj=n(38780),tP=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},tT=function(e,t,n){let l=n&&"object"==typeof n?n:{},{total:o=0}=l,a=tP(l,["total"]),[i,c]=(0,r.useState)(()=>({current:"defaultCurrent"in a?a.defaultCurrent:1,pageSize:"defaultPageSize"in a?a.defaultPageSize:10})),d=(0,tj.Z)(i,a,{total:o>0?o:e}),s=Math.ceil((o||e)/d.pageSize);d.current>s&&(d.current=s||1);let u=(e,t)=>{c({current:null!=e?e:1,pageSize:t||d.pageSize})};return!1===n?[{},()=>{}]:[Object.assign(Object.assign({},d),{onChange:(e,r)=>{var l;n&&(null===(l=n.onChange)||void 0===l||l.call(n,e,r)),u(e,r),t(e,r||(null==d?void 0:d.pageSize))}}),u]},tM=n(57727),tB=r.forwardRef(function(e,t){return r.createElement(td.Z,(0,ti.Z)({},e,{ref:t,icon:tM.Z}))}),tH=n(54200),tz=r.forwardRef(function(e,t){return r.createElement(td.Z,(0,ti.Z)({},e,{ref:t,icon:tH.Z}))}),tK=n(83062);let tL="ascend",tA="descend",t_=e=>"object"==typeof e.sorter&&"number"==typeof e.sorter.multiple&&e.sorter.multiple,tF=e=>"function"==typeof e?e:!!e&&"object"==typeof e&&!!e.compare&&e.compare,tW=(e,t)=>t?e[e.indexOf(t)+1]:e[0],tD=(e,t,n)=>{let r=[],l=(e,t)=>{r.push({column:e,key:tr(e,t),multiplePriority:t_(e),sortOrder:e.sortOrder})};return(e||[]).forEach((e,o)=>{let a=tl(o,n);e.children?("sortOrder"in e&&l(e,a),r=[].concat((0,eK.Z)(r),(0,eK.Z)(tD(e.children,t,a)))):e.sorter&&("sortOrder"in e?l(e,a):t&&e.defaultSortOrder&&r.push({column:e,key:tr(e,a),multiplePriority:t_(e),sortOrder:e.defaultSortOrder}))}),r},tq=(e,t,n,l,o,a,i,c)=>{let d=(t||[]).map((t,d)=>{let s=tl(d,c),u=t;if(u.sorter){let c;let d=u.sortDirections||o,f=void 0===u.showSorterTooltip?i:u.showSorterTooltip,p=tr(u,s),m=n.find(e=>{let{key:t}=e;return t===p}),h=m?m.sortOrder:null,b=tW(d,h);if(t.sortIcon)c=t.sortIcon({sortOrder:h});else{let t=d.includes(tL)&&r.createElement(tz,{className:Z()(`${e}-column-sorter-up`,{active:h===tL})}),n=d.includes(tA)&&r.createElement(tB,{className:Z()(`${e}-column-sorter-down`,{active:h===tA})});c=r.createElement("span",{className:Z()(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(t&&n)})},r.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},t,n))}let{cancelSort:g,triggerAsc:v,triggerDesc:x}=a||{},y=g;b===tA?y=x:b===tL&&(y=v);let w="object"==typeof f?Object.assign({title:y},f):{title:y};u=Object.assign(Object.assign({},u),{className:Z()(u.className,{[`${e}-column-sort`]:h}),title:n=>{let l=`${e}-column-sorters`,o=r.createElement("span",{className:`${e}-column-title`},to(t.title,n)),a=r.createElement("div",{className:l},o,c);return f?"boolean"!=typeof f&&(null==f?void 0:f.target)==="sorter-icon"?r.createElement("div",{className:`${l} ${e}-column-sorters-tooltip-target-sorter`},o,r.createElement(tK.Z,Object.assign({},w),c)):r.createElement(tK.Z,Object.assign({},w),a):a},onHeaderCell:n=>{var r;let o=(null===(r=t.onHeaderCell)||void 0===r?void 0:r.call(t,n))||{},a=o.onClick,i=o.onKeyDown;o.onClick=e=>{l({column:t,key:p,sortOrder:b,multiplePriority:t_(t)}),null==a||a(e)},o.onKeyDown=e=>{e.keyCode===ty.Z.ENTER&&(l({column:t,key:p,sortOrder:b,multiplePriority:t_(t)}),null==i||i(e))};let c=ta(t.title,{}),d=null==c?void 0:c.toString();return h?o["aria-sort"]="ascend"===h?"ascending":"descending":o["aria-label"]=d||"",o.className=Z()(o.className,`${e}-column-has-sorters`),o.tabIndex=0,t.ellipsis&&(o.title=(null!=c?c:"").toString()),o}})}return"children"in u&&(u=Object.assign(Object.assign({},u),{children:tq(e,u.children,n,l,o,a,i,s)})),u});return d},tX=e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},tV=e=>{let t=e.filter(e=>{let{sortOrder:t}=e;return t}).map(tX);if(0===t.length&&e.length){let t=e.length-1;return Object.assign(Object.assign({},tX(e[t])),{column:void 0})}return t.length<=1?t[0]||{}:t},tU=(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 tF(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]:tU(r,t,n)}):e}):l};var tY=e=>{let{prefixCls:t,mergedColumns:n,sortDirections:l,tableLocale:o,showSorterTooltip:a,onSorterChange:i}=e,[c,d]=r.useState(tD(n,!0)),s=(e,t)=>{let n=[];return e.forEach((e,r)=>{let l=tl(r,t);if(n.push(tr(e,l)),Array.isArray(e.children)){let t=s(e.children,l);n.push.apply(n,(0,eK.Z)(t))}}),n},u=r.useMemo(()=>{let e=!0,t=tD(n,!1);if(!t.length){let e=s(n);return c.filter(t=>{let{key:n}=t;return e.includes(n)})}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,c]),f=r.useMemo(()=>{var e,t;let n=u.map(e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n}});return{sortColumns:n,sortColumn:null===(e=n[0])||void 0===e?void 0:e.column,sortOrder:null===(t=n[0])||void 0===t?void 0:t.order}},[u]),p=e=>{let t;d(t=!1!==e.multiplePriority&&u.length&&!1!==u[0].multiplePriority?[].concat((0,eK.Z)(u.filter(t=>{let{key:n}=t;return n!==e.key})),[e]):[e]),i(tV(t),t)};return[e=>tq(t,e,u,p,l,o,a),u,f,()=>tV(u)]};let tG=(e,t)=>{let n=e.map(e=>{let n=Object.assign({},e);return n.title=to(e.title,t),"children"in n&&(n.children=tG(n.children,t)),n});return n};var tJ=e=>{let t=r.useCallback(t=>tG(t,e),[e]);return[t]};let tQ=v(eN,(e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),t0=v(ez,(e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r});var t1=n(47648),t2=n(10274),t8=n(14747),t4=n(83559),t3=n(87893),t7=e=>{let{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:l,tableHeaderBg:o,tablePaddingVertical:a,tablePaddingHorizontal:i,calc:c}=e,d=`${(0,t1.bf)(n)} ${r} ${l}`,s=(e,r,l)=>({[`&${t}-${e}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{[` +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9773],{39773:function(e,t,n){n.d(t,{Z:function(){return nu}});var r=n(67294),l={},o="rc-table-internal-hook",a=n(97685),i=n(66680),c=n(8410),d=n(91881),s=n(73935);function u(e){var t=r.createContext(void 0);return{Context:t,Provider:function(e){var n=e.value,l=e.children,o=r.useRef(n);o.current=n;var i=r.useState(function(){return{getValue:function(){return o.current},listeners:new Set}}),d=(0,a.Z)(i,1)[0];return(0,c.Z)(function(){(0,s.unstable_batchedUpdates)(function(){d.listeners.forEach(function(e){e(n)})})},[n]),r.createElement(t.Provider,{value:d},l)},defaultValue:e}}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}),l=r.useContext(null==e?void 0:e.Context),o=l||{},s=o.listeners,u=o.getValue,f=r.useRef();f.current=n(l?u():null==e?void 0:e.defaultValue);var p=r.useState({}),m=(0,a.Z)(p,2)[1];return(0,c.Z)(function(){if(l)return s.add(e),function(){s.delete(e)};function e(e){var t=n(e);(0,d.Z)(f.current,t,!0)||m({})}},[l]),f.current}var p=n(87462),m=n(42550);function h(){var e=r.createContext(null);function t(){return r.useContext(e)}return{makeImmutable:function(n,l){var o=(0,m.Yr)(n),a=function(a,i){var c=o?{ref:i}:{},d=r.useRef(0),s=r.useRef(a);return null!==t()?r.createElement(n,(0,p.Z)({},a,c)):((!l||l(s.current,a))&&(d.current+=1),s.current=a,r.createElement(e.Provider,{value:d.current},r.createElement(n,(0,p.Z)({},a,c))))};return o?r.forwardRef(a):a},responseImmutable:function(e,n){var l=(0,m.Yr)(e),o=function(n,o){var a=l?{ref:o}:{};return t(),r.createElement(e,(0,p.Z)({},n,a))};return l?r.memo(r.forwardRef(o),n):r.memo(o,n)},useImmutableMark:t}}var b=h();b.makeImmutable,b.responseImmutable,b.useImmutableMark;var g=h(),v=g.makeImmutable,x=g.responseImmutable,y=g.useImmutableMark,w=u(),C=n(71002),$=n(1413),E=n(4942),S=n(93967),k=n.n(S),Z=n(56982),N=n(88306);n(80334);var I=r.createContext({renderWithProps:!1});function R(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=n(56790),j=function(e){var t,n=e.ellipsis,l=e.rowType,o=e.children,a=!0===n?{showTitle:!0}:n;return a&&(a.showTitle||"header"===l)&&("string"==typeof o||"number"==typeof o?t=o.toString():r.isValidElement(o)&&"string"==typeof o.props.children&&(t=o.props.children)),t},P=r.memo(function(e){var t,n,l,o,i,c,s,u,m,h,b=e.component,g=e.children,v=e.ellipsis,x=e.scope,S=e.prefixCls,R=e.className,P=e.align,T=e.record,M=e.render,B=e.dataIndex,H=e.renderIndex,z=e.shouldCellUpdate,K=e.index,L=e.rowType,A=e.colSpan,_=e.rowSpan,F=e.fixLeft,W=e.fixRight,D=e.firstFixLeft,q=e.lastFixLeft,X=e.firstFixRight,V=e.lastFixRight,U=e.appendNode,Y=e.additionalProps,G=void 0===Y?{}:Y,J=e.isSticky,Q="".concat(S,"-cell"),ee=f(w,["supportSticky","allColumnsFixedLeft","rowHoverable"]),et=ee.supportSticky,en=ee.allColumnsFixedLeft,er=ee.rowHoverable,el=(t=r.useContext(I),n=y(),(0,Z.Z)(function(){if(null!=g)return[g];var e=null==B||""===B?[]:Array.isArray(B)?B:[B],n=(0,N.Z)(T,e),l=n,o=void 0;if(M){var a=M(n,T,H);!a||"object"!==(0,C.Z)(a)||Array.isArray(a)||r.isValidElement(a)?l=a:(l=a.children,o=a.props,t.renderWithProps=!0)}return[l,o]},[n,T,g,B,M,H],function(e,n){if(z){var r=(0,a.Z)(e,2)[1];return z((0,a.Z)(n,2)[1],r)}return!!t.renderWithProps||!(0,d.Z)(e,n,!0)})),eo=(0,a.Z)(el,2),ea=eo[0],ei=eo[1],ec={},ed="number"==typeof F&&et,es="number"==typeof W&&et;ed&&(ec.position="sticky",ec.left=F),es&&(ec.position="sticky",ec.right=W);var eu=null!==(l=null!==(o=null!==(i=null==ei?void 0:ei.colSpan)&&void 0!==i?i:G.colSpan)&&void 0!==o?o:A)&&void 0!==l?l:1,ef=null!==(c=null!==(s=null!==(u=null==ei?void 0:ei.rowSpan)&&void 0!==u?u:G.rowSpan)&&void 0!==s?s:_)&&void 0!==c?c:1,ep=f(w,function(e){var t,n;return[(t=ef||1,n=e.hoverStartRow,K<=e.hoverEndRow&&K+t-1>=n),e.onHover]}),em=(0,a.Z)(ep,2),eh=em[0],eb=em[1],eg=(0,O.zX)(function(e){var t;T&&eb(K,K+ef-1),null==G||null===(t=G.onMouseEnter)||void 0===t||t.call(G,e)}),ev=(0,O.zX)(function(e){var t;T&&eb(-1,-1),null==G||null===(t=G.onMouseLeave)||void 0===t||t.call(G,e)});if(0===eu||0===ef)return null;var ex=null!==(m=G.title)&&void 0!==m?m:j({rowType:L,ellipsis:v,children:ea}),ey=k()(Q,R,(h={},(0,E.Z)(h,"".concat(Q,"-fix-left"),ed&&et),(0,E.Z)(h,"".concat(Q,"-fix-left-first"),D&&et),(0,E.Z)(h,"".concat(Q,"-fix-left-last"),q&&et),(0,E.Z)(h,"".concat(Q,"-fix-left-all"),q&&en&&et),(0,E.Z)(h,"".concat(Q,"-fix-right"),es&&et),(0,E.Z)(h,"".concat(Q,"-fix-right-first"),X&&et),(0,E.Z)(h,"".concat(Q,"-fix-right-last"),V&&et),(0,E.Z)(h,"".concat(Q,"-ellipsis"),v),(0,E.Z)(h,"".concat(Q,"-with-append"),U),(0,E.Z)(h,"".concat(Q,"-fix-sticky"),(ed||es)&&J&&et),(0,E.Z)(h,"".concat(Q,"-row-hover"),!ei&&eh),h),G.className,null==ei?void 0:ei.className),ew={};P&&(ew.textAlign=P);var eC=(0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)({},ec),G.style),ew),null==ei?void 0:ei.style),e$=ea;return"object"!==(0,C.Z)(e$)||Array.isArray(e$)||r.isValidElement(e$)||(e$=null),v&&(q||X)&&(e$=r.createElement("span",{className:"".concat(Q,"-content")},e$)),r.createElement(b,(0,p.Z)({},ei,G,{className:ey,style:eC,title:ex,scope:x,onMouseEnter:er?eg:void 0,onMouseLeave:er?ev:void 0,colSpan:1!==eu?eu:null,rowSpan:1!==ef?ef:null}),U,e$)});function T(e,t,n,r,l){var o,a,i=n[e]||{},c=n[t]||{};"left"===i.fixed?o=r.left["rtl"===l?t:e]:"right"===c.fixed&&(a=r.right["rtl"===l?e:t]);var d=!1,s=!1,u=!1,f=!1,p=n[t+1],m=n[e-1],h=p&&!p.fixed||m&&!m.fixed||n.every(function(e){return"left"===e.fixed});return"rtl"===l?void 0!==o?f=!(m&&"left"===m.fixed)&&h:void 0!==a&&(u=!(p&&"right"===p.fixed)&&h):void 0!==o?d=!(p&&"left"===p.fixed)&&h:void 0!==a&&(s=!(m&&"right"===m.fixed)&&h),{fixLeft:o,fixRight:a,lastFixLeft:d,firstFixRight:s,lastFixRight:u,firstFixLeft:f,isSticky:r.isSticky}}var M=r.createContext({}),B=n(45987),H=["children"];function z(e){return e.children}z.Row=function(e){var t=e.children,n=(0,B.Z)(e,H);return r.createElement("tr",n,t)},z.Cell=function(e){var t=e.className,n=e.index,l=e.children,o=e.colSpan,a=void 0===o?1:o,i=e.rowSpan,c=e.align,d=f(w,["prefixCls","direction"]),s=d.prefixCls,u=d.direction,m=r.useContext(M),h=m.scrollColumnIndex,b=m.stickyOffsets,g=m.flattenColumns,v=n+a-1+1===h?a+1:a,x=T(n,n+v-1,g,b,u);return r.createElement(P,(0,p.Z)({className:t,index:n,component:"td",prefixCls:s,record:null,dataIndex:null,align:c,colSpan:v,rowSpan:i,render:function(){return l}},x))};var K=x(function(e){var t=e.children,n=e.stickyOffsets,l=e.flattenColumns,o=f(w,"prefixCls"),a=l.length-1,i=l[a],c=r.useMemo(function(){return{stickyOffsets:n,flattenColumns:l,scrollColumnIndex:null!=i&&i.scrollbar?a:null}},[i,l,a,n]);return r.createElement(M.Provider,{value:c},r.createElement("tfoot",{className:"".concat(o,"-summary")},t))}),L=n(9220),A=n(5110),_=n(79370),F=n(74204),W=n(64217);function D(e,t,n,l){return r.useMemo(function(){if(null!=n&&n.size){for(var r=[],o=0;o<(null==e?void 0:e.length);o+=1)!function e(t,n,r,l,o,a,i){t.push({record:n,indent:r,index:i});var c=a(n),d=null==o?void 0:o.has(c);if(n&&Array.isArray(n[l])&&d)for(var s=0;s1?n-1:0),l=1;l=1?S:""),style:(0,$.Z)((0,$.Z)({},l),null==y?void 0:y.style)}),g.map(function(e,t){var n=e.render,l=e.dataIndex,c=e.className,d=V(h,e,t,s,a),u=d.key,g=d.fixedInfo,v=d.appendCellNode,x=d.additionalCellProps;return r.createElement(P,(0,p.Z)({className:c,ellipsis:e.ellipsis,align:e.align,scope:e.rowScope,component:e.rowScope?m:f,prefixCls:b,key:u,record:o,index:a,renderIndex:i,dataIndex:l,render:n,shouldCellUpdate:e.shouldCellUpdate},g,{appendNode:v,additionalProps:x}))}));if(C&&(E.current||w)){var N=x(o,a,s+1,w);t=r.createElement(X,{expanded:w,className:k()("".concat(b,"-expanded-row"),"".concat(b,"-expanded-row-level-").concat(s+1),S),prefixCls:b,component:u,cellComponent:f,colSpan:g.length,isEmpty:!1},N)}return r.createElement(r.Fragment,null,Z,t)});function Y(e){var t=e.columnKey,n=e.onColumnResize,l=r.useRef();return r.useEffect(function(){l.current&&n(t,l.current.offsetWidth)},[]),r.createElement(L.Z,{data:t},r.createElement("td",{ref:l,style:{padding:0,border:0,height:0}},r.createElement("div",{style:{height:0,overflow:"hidden"}},"\xa0")))}function G(e){var t=e.prefixCls,n=e.columnsKey,l=e.onColumnResize;return r.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},r.createElement(L.Z.Collection,{onBatchResize:function(e){e.forEach(function(e){l(e.data,e.size.offsetWidth)})}},n.map(function(e){return r.createElement(Y,{key:e,columnKey:e,onColumnResize:l})})))}var J=x(function(e){var t,n=e.data,l=e.measureColumnWidth,o=f(w,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),a=o.prefixCls,i=o.getComponent,c=o.onColumnResize,d=o.flattenColumns,s=o.getRowKey,u=o.expandedKeys,p=o.childrenColumnName,m=o.emptyNode,h=D(n,p,u,s),b=r.useRef({renderWithProps:!1}),g=i(["body","wrapper"],"tbody"),v=i(["body","row"],"tr"),x=i(["body","cell"],"td"),y=i(["body","cell"],"th");t=n.length?h.map(function(e,t){var n=e.record,l=e.indent,o=e.index,a=s(n,t);return r.createElement(U,{key:a,rowKey:a,record:n,index:t,renderIndex:o,rowComponent:v,cellComponent:x,scopeCellComponent:y,getRowKey:s,indent:l})}):r.createElement(X,{expanded:!0,className:"".concat(a,"-placeholder"),prefixCls:a,component:v,cellComponent:x,colSpan:d.length,isEmpty:!0},m);var C=R(d);return r.createElement(I.Provider,{value:b.current},r.createElement(g,{className:"".concat(a,"-tbody")},l&&r.createElement(G,{prefixCls:a,columnsKey:C,onColumnResize:c}),t))}),Q=["expandable"],ee="RC_TABLE_INTERNAL_COL_DEFINE",et=["columnType"],en=function(e){for(var t=e.colWidths,n=e.columns,l=e.columCount,o=[],a=l||n.length,i=!1,c=a-1;c>=0;c-=1){var d=t[c],s=n&&n[c],u=s&&s[ee];if(d||u||i){var f=u||{},m=(f.columnType,(0,B.Z)(f,et));o.unshift(r.createElement("col",(0,p.Z)({key:c,style:{width:d}},m))),i=!0}}return r.createElement("colgroup",null,o)},er=n(74902),el=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"],eo=r.forwardRef(function(e,t){var n=e.className,l=e.noData,o=e.columns,a=e.flattenColumns,i=e.colWidths,c=e.columCount,d=e.stickyOffsets,s=e.direction,u=e.fixHeader,p=e.stickyTopOffset,h=e.stickyBottomOffset,b=e.stickyClassName,g=e.onScroll,v=e.maxContentScroll,x=e.children,y=(0,B.Z)(e,el),C=f(w,["prefixCls","scrollbarSize","isSticky","getComponent"]),S=C.prefixCls,Z=C.scrollbarSize,N=C.isSticky,I=(0,C.getComponent)(["header","table"],"table"),R=N&&!u?0:Z,O=r.useRef(null),j=r.useCallback(function(e){(0,m.mH)(t,e),(0,m.mH)(O,e)},[]);r.useEffect(function(){var e;function t(e){var t=e.currentTarget,n=e.deltaX;n&&(g({currentTarget:t,scrollLeft:t.scrollLeft+n}),e.preventDefault())}return null===(e=O.current)||void 0===e||e.addEventListener("wheel",t,{passive:!1}),function(){var e;null===(e=O.current)||void 0===e||e.removeEventListener("wheel",t)}},[]);var P=r.useMemo(function(){return a.every(function(e){return e.width})},[a]),T=a[a.length-1],M={fixed:T?T.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(S,"-cell-scrollbar")}}},H=(0,r.useMemo)(function(){return R?[].concat((0,er.Z)(o),[M]):o},[R,o]),z=(0,r.useMemo)(function(){return R?[].concat((0,er.Z)(a),[M]):a},[R,a]),K=(0,r.useMemo)(function(){var e=d.right,t=d.left;return(0,$.Z)((0,$.Z)({},d),{},{left:"rtl"===s?[].concat((0,er.Z)(t.map(function(e){return e+R})),[0]):t,right:"rtl"===s?e:[].concat((0,er.Z)(e.map(function(e){return e+R})),[0]),isSticky:N})},[R,d,N]),L=(0,r.useMemo)(function(){for(var e=[],t=0;t1?"colgroup":"col":null,ellipsis:a.ellipsis,align:a.align,component:i,prefixCls:u,key:h[t]},c,{additionalProps:n,rowType:"header"}))}))},ec=x(function(e){var t=e.stickyOffsets,n=e.columns,l=e.flattenColumns,o=e.onHeaderRow,a=f(w,["prefixCls","getComponent"]),i=a.prefixCls,c=a.getComponent,d=r.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;l1&&void 0!==arguments[1]?arguments[1]:"";return"number"==typeof t?t:t.endsWith("%")?e*parseFloat(t)/100:null}var eu=["children"],ef=["fixed"];function ep(e){return(0,ed.Z)(e).filter(function(e){return r.isValidElement(e)}).map(function(e){var t=e.key,n=e.props,r=n.children,l=(0,B.Z)(n,eu),o=(0,$.Z)({key:t},l);return r&&(o.children=ep(r)),o})}function em(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key";return e.filter(function(e){return e&&"object"===(0,C.Z)(e)}).reduce(function(e,n,r){var l=n.fixed,o=!0===l?"left":l,a="".concat(t,"-").concat(r),i=n.children;return i&&i.length>0?[].concat((0,er.Z)(e),(0,er.Z)(em(i,a).map(function(e){return(0,$.Z)({fixed:o},e)}))):[].concat((0,er.Z)(e),[(0,$.Z)((0,$.Z)({key:a},n),{},{fixed:o})])},[])}var eh=function(e,t){var n=e.prefixCls,o=e.columns,i=e.children,c=e.expandable,d=e.expandedKeys,s=e.columnTitle,u=e.getRowKey,f=e.onTriggerExpand,p=e.expandIcon,m=e.rowExpandable,h=e.expandIconColumnIndex,b=e.direction,g=e.expandRowByClick,v=e.columnWidth,x=e.fixed,y=e.scrollWidth,w=e.clientWidth,S=r.useMemo(function(){return function e(t){return t.filter(function(e){return e&&"object"===(0,C.Z)(e)&&!e.hidden}).map(function(t){var n=t.children;return n&&n.length>0?(0,$.Z)((0,$.Z)({},t),{},{children:e(n)}):t})}((o||ep(i)||[]).slice())},[o,i]),k=r.useMemo(function(){if(c){var e,t,o=S.slice();if(!o.includes(l)){var a=h||0;a>=0&&o.splice(a,0,l)}var i=o.indexOf(l);o=o.filter(function(e,t){return e!==l||t===i});var b=S[i];t=("left"===x||x)&&!h?"left":("right"===x||x)&&h===S.length?"right":b?b.fixed:null;var y=(e={},(0,E.Z)(e,ee,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,E.Z)(e,"title",s),(0,E.Z)(e,"fixed",t),(0,E.Z)(e,"className","".concat(n,"-row-expand-icon-cell")),(0,E.Z)(e,"width",v),(0,E.Z)(e,"render",function(e,t,l){var o=u(t,l),a=p({prefixCls:n,expanded:d.has(o),expandable:!m||m(t),record:t,onExpand:f});return g?r.createElement("span",{onClick:function(e){return e.stopPropagation()}},a):a}),e);return o.map(function(e){return e===l?y:e})}return S.filter(function(e){return e!==l})},[c,S,u,d,p,b]),Z=r.useMemo(function(){var e=k;return t&&(e=t(e)),e.length||(e=[{render:function(){return null}}]),e},[t,k,b]),N=r.useMemo(function(){return"rtl"===b?em(Z).map(function(e){var t=e.fixed,n=(0,B.Z)(e,ef),r=t;return"left"===t?r="right":"right"===t&&(r="left"),(0,$.Z)({fixed:r},n)}):em(Z)},[Z,b,y]),I=r.useMemo(function(){for(var e=-1,t=N.length-1;t>=0;t-=1){var n=N[t].fixed;if("left"===n||!0===n){e=t;break}}if(e>=0)for(var r=0;r<=e;r+=1){var l=N[r].fixed;if("left"!==l&&!0!==l)return!0}var o=N.findIndex(function(e){return"right"===e.fixed});if(o>=0){for(var a=o;a0){var e=0,t=0;N.forEach(function(n){var r=es(y,n.width);r?e+=r:t+=1});var n=Math.max(y,w),r=Math.max(n-e,t),l=t,o=r/t,a=0,i=N.map(function(e){var t=(0,$.Z)({},e),n=es(y,t.width);if(n)t.width=n;else{var i=Math.floor(o);t.width=1===l?r:i,r-=i,l-=1}return a+=t.width,t});if(a=p&&(r=p-m),i({scrollLeft:r/p*(u+2)}),y.current.x=e.pageX},j=function(){I.current=(0,eC.Z)(function(){if(o.current){var e=(0,ew.os)(o.current).top,t=e+o.current.offsetHeight,n=d===window?document.documentElement.scrollTop+window.innerHeight:(0,ew.os)(d).top+d.clientHeight;t-(0,F.Z)()<=n||e>=n-c?x(function(e){return(0,$.Z)((0,$.Z)({},e),{},{isHiddenScrollBar:!0})}):x(function(e){return(0,$.Z)((0,$.Z)({},e),{},{isHiddenScrollBar:!1})})}})},P=function(e){x(function(t){return(0,$.Z)((0,$.Z)({},t),{},{scrollLeft:e/u*p||0})})};return(r.useImperativeHandle(t,function(){return{setScrollLeft:P,checkScrollBarVisible:j}}),r.useEffect(function(){var e=(0,ey.Z)(document.body,"mouseup",R,!1),t=(0,ey.Z)(document.body,"mousemove",O,!1);return j(),function(){e.remove(),t.remove()}},[m,Z]),r.useEffect(function(){var e=(0,ey.Z)(d,"scroll",j,!1),t=(0,ey.Z)(window,"resize",j,!1);return function(){e.remove(),t.remove()}},[d]),r.useEffect(function(){v.isHiddenScrollBar||x(function(e){var t=o.current;return t?(0,$.Z)((0,$.Z)({},e),{},{scrollLeft:t.scrollLeft/t.scrollWidth*t.clientWidth}):e})},[v.isHiddenScrollBar]),u<=p||!m||v.isHiddenScrollBar)?null:r.createElement("div",{style:{height:(0,F.Z)(),width:p,bottom:c},className:"".concat(s,"-sticky-scroll")},r.createElement("div",{onMouseDown:function(e){e.persist(),y.current.delta=e.pageX-v.scrollLeft,y.current.x=0,N(!0),e.preventDefault()},ref:h,className:k()("".concat(s,"-sticky-scroll-bar"),(0,E.Z)({},"".concat(s,"-sticky-scroll-bar-active"),Z)),style:{width:"".concat(m,"px"),transform:"translate3d(".concat(v.scrollLeft,"px, 0, 0)")}}))}),eE="rc-table",eS=[],ek={};function eZ(){return"No Data"}var eN=r.forwardRef(function(e,t){var n,l=(0,$.Z)({rowKey:"key",prefixCls:eE,emptyText:eZ},e),c=l.prefixCls,s=l.className,u=l.rowClassName,f=l.style,m=l.data,h=l.rowKey,b=l.scroll,g=l.tableLayout,v=l.direction,x=l.title,y=l.footer,S=l.summary,I=l.caption,O=l.id,j=l.showHeader,P=l.components,M=l.emptyText,H=l.onRow,D=l.onHeaderRow,q=l.onScroll,X=l.internalHooks,V=l.transformColumns,U=l.internalRefs,Y=l.tailor,G=l.getContainerWidth,ee=l.sticky,et=l.rowHoverable,el=void 0===et||et,eo=m||eS,ei=!!eo.length,ed=X===o,es=r.useCallback(function(e,t){return(0,N.Z)(P,e)||t},[P]),eu=r.useMemo(function(){return"function"==typeof h?h:function(e){return e&&e[h]}},[h]),ef=es(["body"]),ep=(tX=r.useState(-1),tU=(tV=(0,a.Z)(tX,2))[0],tY=tV[1],tG=r.useState(-1),tQ=(tJ=(0,a.Z)(tG,2))[0],t0=tJ[1],[tU,tQ,r.useCallback(function(e,t){tY(e),t0(t)},[])]),em=(0,a.Z)(ep,3),ey=em[0],ew=em[1],eC=em[2],eN=(t2=l.expandable,t8=(0,B.Z)(l,Q),!1===(t1="expandable"in l?(0,$.Z)((0,$.Z)({},t8),t2):t8).showExpandColumn&&(t1.expandIconColumnIndex=-1),t3=t1.expandIcon,t4=t1.expandedRowKeys,t7=t1.defaultExpandedRowKeys,t9=t1.defaultExpandAllRows,t5=t1.expandedRowRender,t6=t1.onExpand,ne=t1.onExpandedRowsChange,nt=t1.childrenColumnName||"children",nn=r.useMemo(function(){return t5?"row":!!(l.expandable&&l.internalHooks===o&&l.expandable.__PARENT_RENDER_ICON__||eo.some(function(e){return e&&"object"===(0,C.Z)(e)&&e[nt]}))&&"nest"},[!!t5,eo]),nr=r.useState(function(){if(t7)return t7;if(t9){var e;return e=[],function t(n){(n||[]).forEach(function(n,r){e.push(eu(n,r)),t(n[nt])})}(eo),e}return[]}),no=(nl=(0,a.Z)(nr,2))[0],na=nl[1],ni=r.useMemo(function(){return new Set(t4||no||[])},[t4,no]),nc=r.useCallback(function(e){var t,n=eu(e,eo.indexOf(e)),r=ni.has(n);r?(ni.delete(n),t=(0,er.Z)(ni)):t=[].concat((0,er.Z)(ni),[n]),na(t),t6&&t6(!r,e),ne&&ne(t)},[eu,ni,eo,t6,ne]),[t1,nn,ni,t3||eb,nt,nc]),eI=(0,a.Z)(eN,6),eR=eI[0],eO=eI[1],ej=eI[2],eP=eI[3],eT=eI[4],eM=eI[5],eB=null==b?void 0:b.x,eH=r.useState(0),ez=(0,a.Z)(eH,2),eK=ez[0],eL=ez[1],eA=eh((0,$.Z)((0,$.Z)((0,$.Z)({},l),eR),{},{expandable:!!eR.expandedRowRender,columnTitle:eR.columnTitle,expandedKeys:ej,getRowKey:eu,onTriggerExpand:eM,expandIcon:eP,expandIconColumnIndex:eR.expandIconColumnIndex,direction:v,scrollWidth:ed&&Y&&"number"==typeof eB?eB:null,clientWidth:eK}),ed?V:null),e_=(0,a.Z)(eA,4),eF=e_[0],eW=e_[1],eD=e_[2],eq=e_[3],eX=null!=eD?eD:eB,eV=r.useMemo(function(){return{columns:eF,flattenColumns:eW}},[eF,eW]),eU=r.useRef(),eY=r.useRef(),eG=r.useRef(),eJ=r.useRef();r.useImperativeHandle(t,function(){return{nativeElement:eU.current,scrollTo:function(e){var t;if(eG.current instanceof HTMLElement){var n=e.index,r=e.top,l=e.key;if(r)null===(o=eG.current)||void 0===o||o.scrollTo({top:r});else{var o,a,i=null!=l?l:eu(eo[n]);null===(a=eG.current.querySelector('[data-row-key="'.concat(i,'"]')))||void 0===a||a.scrollIntoView()}}else null!==(t=eG.current)&&void 0!==t&&t.scrollTo&&eG.current.scrollTo(e)}}});var eQ=r.useRef(),e0=r.useState(!1),e1=(0,a.Z)(e0,2),e2=e1[0],e8=e1[1],e3=r.useState(!1),e4=(0,a.Z)(e3,2),e7=e4[0],e9=e4[1],e5=eg(new Map),e6=(0,a.Z)(e5,2),te=e6[0],tt=e6[1],tn=R(eW).map(function(e){return te.get(e)}),tr=r.useMemo(function(){return tn},[tn.join("_")]),tl=(0,r.useMemo)(function(){var e=eW.length,t=function(e,t,n){for(var r=[],l=0,o=e;o!==t;o+=n)r.push(l),eW[o].fixed&&(l+=tr[o]||0);return r},n=t(0,e,1),r=t(e-1,-1,-1).reverse();return"rtl"===v?{left:r,right:n}:{left:n,right:r}},[tr,eW,v]),to=b&&null!=b.y,ta=b&&null!=eX||!!eR.fixed,ti=ta&&eW.some(function(e){return e.fixed}),tc=r.useRef(),td=(nu=void 0===(ns=(nd="object"===(0,C.Z)(ee)?ee:{}).offsetHeader)?0:ns,np=void 0===(nf=nd.offsetSummary)?0:nf,nh=void 0===(nm=nd.offsetScroll)?0:nm,ng=(void 0===(nb=nd.getContainer)?function(){return ev}:nb)()||ev,r.useMemo(function(){var e=!!ee;return{isSticky:e,stickyClassName:e?"".concat(c,"-sticky-holder"):"",offsetHeader:nu,offsetSummary:np,offsetScroll:nh,container:ng}},[nh,nu,np,c,ng])),ts=td.isSticky,tu=td.offsetHeader,tf=td.offsetSummary,tp=td.offsetScroll,tm=td.stickyClassName,th=td.container,tb=r.useMemo(function(){return null==S?void 0:S(eo)},[S,eo]),tg=(to||ts)&&r.isValidElement(tb)&&tb.type===z&&tb.props.fixed;to&&(ny={overflowY:"scroll",maxHeight:b.y}),ta&&(nx={overflowX:"auto"},to||(ny={overflowY:"hidden"}),nw={width:!0===eX?"auto":eX,minWidth:"100%"});var tv=r.useCallback(function(e,t){(0,A.Z)(eU.current)&&tt(function(n){if(n.get(e)!==t){var r=new Map(n);return r.set(e,t),r}return n})},[]),tx=function(e){var t=(0,r.useRef)(null),n=(0,r.useRef)();function l(){window.clearTimeout(n.current)}return(0,r.useEffect)(function(){return l},[]),[function(e){t.current=e,l(),n.current=window.setTimeout(function(){t.current=null,n.current=void 0},100)},function(){return t.current}]}(0),ty=(0,a.Z)(tx,2),tw=ty[0],tC=ty[1];function t$(e,t){t&&("function"==typeof t?t(e):t.scrollLeft!==e&&(t.scrollLeft=e,t.scrollLeft!==e&&setTimeout(function(){t.scrollLeft=e},0)))}var tE=(0,i.Z)(function(e){var t,n=e.currentTarget,r=e.scrollLeft,l="rtl"===v,o="number"==typeof r?r:n.scrollLeft,a=n||ek;tC()&&tC()!==a||(tw(a),t$(o,eY.current),t$(o,eG.current),t$(o,eQ.current),t$(o,null===(t=tc.current)||void 0===t?void 0:t.setScrollLeft));var i=n||eY.current;if(i){var c=i.scrollWidth,d=i.clientWidth;if(c===d){e8(!1),e9(!1);return}l?(e8(-o0)):(e8(o>0),e9(o1?y-M:0,H=(0,$.Z)((0,$.Z)((0,$.Z)({},I),u),{},{flex:"0 0 ".concat(M,"px"),width:"".concat(M,"px"),marginRight:B,pointerEvents:"auto"}),z=r.useMemo(function(){return h?T<=1:0===O||0===T||T>1},[T,O,h]);z?H.visibility="hidden":h&&(H.height=null==b?void 0:b(T));var K={};return(0===T||0===O)&&(K.rowSpan=1,K.colSpan=1),r.createElement(P,(0,p.Z)({className:k()(x,m),ellipsis:l.ellipsis,align:l.align,scope:l.rowScope,component:c,prefixCls:n.prefixCls,key:E,record:s,index:i,renderIndex:d,dataIndex:v,render:z?function(){return null}:g,shouldCellUpdate:l.shouldCellUpdate},S,{appendNode:Z,additionalProps:(0,$.Z)((0,$.Z)({},N),{},{style:H},K)}))},eT=["data","index","className","rowKey","style","extra","getHeight"],eM=x(r.forwardRef(function(e,t){var n,l=e.data,o=e.index,a=e.className,i=e.rowKey,c=e.style,d=e.extra,s=e.getHeight,u=(0,B.Z)(e,eT),m=l.record,h=l.indent,b=l.index,g=f(w,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),v=g.scrollX,x=g.flattenColumns,y=g.prefixCls,C=g.fixColumn,S=g.componentWidth,Z=f(eO,["getComponent"]).getComponent,N=q(m,i,o,h),I=Z(["body","row"],"div"),R=Z(["body","cell"],"div"),O=N.rowSupportExpand,j=N.expanded,T=N.rowProps,M=N.expandedRowRender,H=N.expandedRowClassName;if(O&&j){var z=M(m,o,h+1,j),K=null==H?void 0:H(m,o,h),L={};C&&(L={style:(0,E.Z)({},"--virtual-width","".concat(S,"px"))});var A="".concat(y,"-expanded-row-cell");n=r.createElement(I,{className:k()("".concat(y,"-expanded-row"),"".concat(y,"-expanded-row-level-").concat(h+1),K)},r.createElement(P,{component:R,prefixCls:y,className:k()(A,(0,E.Z)({},"".concat(A,"-fixed"),C)),additionalProps:L},z))}var _=(0,$.Z)((0,$.Z)({},c),{},{width:v});d&&(_.position="absolute",_.pointerEvents="none");var F=r.createElement(I,(0,p.Z)({},T,u,{"data-row-key":i,ref:O?null:t,className:k()(a,"".concat(y,"-row"),null==T?void 0:T.className,(0,E.Z)({},"".concat(y,"-row-extra"),d)),style:(0,$.Z)((0,$.Z)({},_),null==T?void 0:T.style)}),x.map(function(e,t){return r.createElement(eP,{key:t,component:R,rowInfo:N,column:e,colIndex:t,indent:h,index:o,renderIndex:b,record:m,inverse:d,getHeight:s})}));return O?r.createElement("div",{ref:t},F,n):F})),eB=x(r.forwardRef(function(e,t){var n,l=e.data,o=e.onScroll,i=f(w,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),c=i.flattenColumns,d=i.onColumnResize,s=i.getRowKey,u=i.expandedKeys,p=i.prefixCls,m=i.childrenColumnName,h=i.emptyNode,b=i.scrollX,g=f(eO),v=g.sticky,x=g.scrollY,y=g.listItemHeight,$=g.getComponent,E=g.onScroll,S=r.useRef(),Z=D(l,m,u,s),N=r.useMemo(function(){var e=0;return c.map(function(t){var n=t.width,r=t.key;return e+=n,[r,n,e]})},[c]),I=r.useMemo(function(){return N.map(function(e){return e[2]})},[N]);r.useEffect(function(){N.forEach(function(e){var t=(0,a.Z)(e,2);d(t[0],t[1])})},[N]),r.useImperativeHandle(t,function(){var e={scrollTo:function(e){var t;null===(t=S.current)||void 0===t||t.scrollTo(e)}};return Object.defineProperty(e,"scrollLeft",{get:function(){var e;return(null===(e=S.current)||void 0===e?void 0:e.getScrollInfo().x)||0},set:function(e){var t;null===(t=S.current)||void 0===t||t.scrollTo({left:e})}}),e});var R=function(e,t){var n=null===(l=Z[t])||void 0===l?void 0:l.record,r=e.onCell;if(r){var l,o,a=r(n,t);return null!==(o=null==a?void 0:a.rowSpan)&&void 0!==o?o:1}return 1},O=r.useMemo(function(){return{columnsOffset:I}},[I]),j="".concat(p,"-tbody"),T=$(["body","wrapper"]),M=$(["body","row"],"div"),B=$(["body","cell"],"div");if(Z.length){var H={};v&&(H.position="sticky",H.bottom=0,"object"===(0,C.Z)(v)&&v.offsetScroll&&(H.bottom=v.offsetScroll)),n=r.createElement(eR.Z,{fullHeight:!1,ref:S,prefixCls:"".concat(j,"-virtual"),styles:{horizontalScrollBar:H},className:j,height:x,itemHeight:y||24,data:Z,itemKey:function(e){return s(e.record)},component:T,scrollWidth:b,onVirtualScroll:function(e){o({scrollLeft:e.x})},onScroll:E,extraRender:function(e){var t=e.start,n=e.end,l=e.getSize,o=e.offsetY;if(n<0)return null;for(var a=c.filter(function(e){return 0===R(e,t)}),i=t,d=function(e){if(!(a=a.filter(function(t){return 0===R(t,e)})).length)return i=e,1},u=t;u>=0&&!d(u);u-=1);for(var f=c.filter(function(e){return 1!==R(e,n)}),p=n,m=function(e){if(!(f=f.filter(function(t){return 1!==R(t,e)})).length)return p=Math.max(e-1,n),1},h=n;h1})&&b.push(e)},v=i;v<=p;v+=1)if(g(v))continue;return b.map(function(e){var t=Z[e],n=s(t.record,e),a=l(n);return r.createElement(eM,{key:e,data:t,rowKey:n,index:e,style:{top:-o+a.top},extra:!0,getHeight:function(t){var r=e+t-1,o=l(n,s(Z[r].record,r));return o.bottom-o.top}})})}},function(e,t,n){var l=s(e.record,t);return r.createElement(eM,{data:e,rowKey:l,index:t,style:n.style})})}else n=r.createElement(M,{className:k()("".concat(p,"-placeholder"))},r.createElement(P,{component:B,prefixCls:p},h));return r.createElement(ej.Provider,{value:O},n)})),eH=function(e,t){var n=t.ref,l=t.onScroll;return r.createElement(eB,{ref:n,data:e,onScroll:l})},ez=r.forwardRef(function(e,t){var n=e.columns,l=e.scroll,a=e.sticky,i=e.prefixCls,c=void 0===i?eE:i,d=e.className,s=e.listItemHeight,u=e.components,f=e.onScroll,m=l||{},h=m.x,b=m.y;"number"!=typeof h&&(h=1),"number"!=typeof b&&(b=500);var g=(0,O.zX)(function(e,t){return(0,N.Z)(u,e)||t}),v=(0,O.zX)(f),x=r.useMemo(function(){return{sticky:a,scrollY:b,listItemHeight:s,getComponent:g,onScroll:v}},[a,b,s,g,v]);return r.createElement(eO.Provider,{value:x},r.createElement(eI,(0,p.Z)({},e,{className:k()(d,"".concat(c,"-virtual")),scroll:(0,$.Z)((0,$.Z)({},l),{},{x:h}),components:(0,$.Z)((0,$.Z)({},u),{},{body:eH}),columns:n,internalHooks:o,tailor:!0,ref:t})))});v(ez,void 0);var eK=n(80882),eL=n(10225),eA=n(17341),e_=n(1089),eF=n(21770),eW=n(27288),eD=n(84567),eq=n(85418),eX=n(78045);let eV={},eU="SELECT_ALL",eY="SELECT_INVERT",eG="SELECT_NONE",eJ=[],eQ=(e,t)=>{let n=[];return(t||[]).forEach(t=>{n.push(t),t&&"object"==typeof t&&e in t&&(n=[].concat((0,er.Z)(n),(0,er.Z)(eQ(e,t[e]))))}),n};var e0=(e,t)=>{let{preserveSelectedRowKeys:n,selectedRowKeys:l,defaultSelectedRowKeys:o,getCheckboxProps:a,onChange:i,onSelect:c,onSelectAll:d,onSelectInvert:s,onSelectNone:u,onSelectMultiple:f,columnWidth:p,type:m,selections:h,fixed:b,renderCell:g,hideSelectAll:v,checkStrictly:x=!0}=t||{},{prefixCls:y,data:w,pageData:C,getRecordByKey:$,getRowKey:E,expandType:S,childrenColumnName:Z,locale:N,getPopupContainer:I}=e,R=(0,eW.ln)("Table"),[O,j]=function(e){let[t,n]=(0,r.useState)(null),l=(0,r.useCallback)((r,l,o)=>{let a=null!=t?t:r,i=Math.min(a||0,r),c=Math.max(a||0,r),d=l.slice(i,c+1).map(t=>e(t)),s=d.some(e=>!o.has(e)),u=[];return d.forEach(e=>{s?(o.has(e)||u.push(e),o.add(e)):(o.delete(e),u.push(e))}),n(s?c:null),u},[t]);return[l,e=>{n(e)}]}(e=>e),[P,T]=(0,eF.Z)(l||o||eJ,{value:l}),M=r.useRef(new Map),B=(0,r.useCallback)(e=>{if(n){let t=new Map;e.forEach(e=>{let n=$(e);!n&&M.current.has(e)&&(n=M.current.get(e)),t.set(e,n)}),M.current=t}},[$,n]);r.useEffect(()=>{B(P)},[P]);let{keyEntities:H}=(0,r.useMemo)(()=>{if(x)return{keyEntities:null};let e=w;if(n){let t=new Set(w.map((e,t)=>E(e,t))),n=Array.from(M.current).reduce((e,n)=>{let[r,l]=n;return t.has(r)?e:e.concat(l)},[]);e=[].concat((0,er.Z)(e),(0,er.Z)(n))}return(0,e_.I8)(e,{externalGetKey:E,childrenPropName:Z})},[w,E,x,Z,n]),z=(0,r.useMemo)(()=>eQ(Z,C),[Z,C]),K=(0,r.useMemo)(()=>{let e=new Map;return z.forEach((t,n)=>{let r=E(t,n),l=(a?a(t):null)||{};e.set(r,l)}),e},[z,E,a]),L=(0,r.useCallback)(e=>{var t;return!!(null===(t=K.get(E(e)))||void 0===t?void 0:t.disabled)},[K,E]),[A,_]=(0,r.useMemo)(()=>{if(x)return[P||[],[]];let{checkedKeys:e,halfCheckedKeys:t}=(0,eA.S)(P,!0,H,L);return[e||[],t]},[P,x,H,L]),F=(0,r.useMemo)(()=>{let e="radio"===m?A.slice(0,1):A;return new Set(e)},[A,m]),W=(0,r.useMemo)(()=>"radio"===m?new Set:new Set(_),[_,m]);r.useEffect(()=>{t||T(eJ)},[!!t]);let D=(0,r.useCallback)((e,t)=>{let r,l;B(e),n?(r=e,l=e.map(e=>M.current.get(e))):(r=[],l=[],e.forEach(e=>{let t=$(e);void 0!==t&&(r.push(e),l.push(t))})),T(r),null==i||i(r,l,{type:t})},[T,$,i,n]),q=(0,r.useCallback)((e,t,n,r)=>{if(c){let l=n.map(e=>$(e));c($(e),t,l,r)}D(n,"single")},[c,$,D]),X=(0,r.useMemo)(()=>{if(!h||v)return null;let e=!0===h?[eU,eY,eG]:h;return e.map(e=>e===eU?{key:"all",text:N.selectionAll,onSelect(){D(w.map((e,t)=>E(e,t)).filter(e=>{let t=K.get(e);return!(null==t?void 0:t.disabled)||F.has(e)}),"all")}}:e===eY?{key:"invert",text:N.selectInvert,onSelect(){let e=new Set(F);C.forEach((t,n)=>{let r=E(t,n),l=K.get(r);(null==l?void 0:l.disabled)||(e.has(r)?e.delete(r):e.add(r))});let t=Array.from(e);s&&(R.deprecated(!1,"onSelectInvert","onChange"),s(t)),D(t,"invert")}}:e===eG?{key:"none",text:N.selectNone,onSelect(){null==u||u(),D(Array.from(F).filter(e=>{let t=K.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 l,o,a;if(!t)return e.filter(e=>e!==eV);let i=(0,er.Z)(e),c=new Set(F),s=z.map(E).filter(e=>!K.get(e).disabled),u=s.every(e=>c.has(e)),w=s.some(e=>c.has(e));if("radio"!==m){let e;if(X){let t={getPopupContainer:I,items:X.map((e,t)=>{let{key:n,text:r,onSelect:l}=e;return{key:null!=n?n:t,onClick:()=>{null==l||l(s)},label:r}})};e=r.createElement("div",{className:`${y}-selection-extra`},r.createElement(eq.Z,{menu:t,getPopupContainer:I},r.createElement("span",null,r.createElement(eK.Z,null))))}let t=z.map((e,t)=>{let n=E(e,t),r=K.get(n)||{};return Object.assign({checked:c.has(n)},r)}).filter(e=>{let{disabled:t}=e;return t}),n=!!t.length&&t.length===z.length,a=n&&t.every(e=>{let{checked:t}=e;return t}),i=n&&t.some(e=>{let{checked:t}=e;return t});o=r.createElement(eD.Z,{checked:n?a:!!z.length&&u,indeterminate:n?!a&&i:!u&&w,onChange:()=>{let e=[];u?s.forEach(t=>{c.delete(t),e.push(t)}):s.forEach(t=>{c.has(t)||(c.add(t),e.push(t))});let t=Array.from(c);null==d||d(!u,t.map(e=>$(e)),e.map(e=>$(e))),D(t,"all"),j(null)},disabled:0===z.length||n,"aria-label":e?"Custom selection":"Select all",skipGroup:!0}),l=!v&&r.createElement("div",{className:`${y}-selection`},o,e)}if(a="radio"===m?(e,t,n)=>{let l=E(t,n),o=c.has(l);return{node:r.createElement(eX.ZP,Object.assign({},K.get(l),{checked:o,onClick:e=>e.stopPropagation(),onChange:e=>{c.has(l)||q(l,!0,[l],e.nativeEvent)}})),checked:o}}:(e,t,n)=>{var l;let o;let a=E(t,n),i=c.has(a),d=W.has(a),u=K.get(a);return o="nest"===S?d:null!==(l=null==u?void 0:u.indeterminate)&&void 0!==l?l:d,{node:r.createElement(eD.Z,Object.assign({},u,{indeterminate:o,checked:i,skipGroup:!0,onClick:e=>e.stopPropagation(),onChange:e=>{let{nativeEvent:t}=e,{shiftKey:n}=t,r=s.findIndex(e=>e===a),l=A.some(e=>s.includes(e));if(n&&x&&l){let e=O(r,s,c),t=Array.from(c);null==f||f(!i,t.map(e=>$(e)),e.map(e=>$(e))),D(t,"multiple")}else if(x){let e=i?(0,eL._5)(A,a):(0,eL.L0)(A,a);q(a,!i,e,t)}else{let e=(0,eA.S)([].concat((0,er.Z)(A),[a]),!0,H,L),{checkedKeys:n,halfCheckedKeys:r}=e,l=n;if(i){let e=new Set(n);e.delete(a),l=(0,eA.S)(Array.from(e),{checked:!1,halfCheckedKeys:r},H,L).checkedKeys}q(a,!i,l,t)}i?j(null):j(r)}})),checked:i}},!i.includes(eV)){if(0===i.findIndex(e=>{var t;return(null===(t=e[ee])||void 0===t?void 0:t.columnType)==="EXPAND_COLUMN"})){let[e,...t]=i;i=[e,eV].concat((0,er.Z)(t))}else i=[eV].concat((0,er.Z)(i))}let C=i.indexOf(eV);i=i.filter((e,t)=>e!==eV||t===C);let Z=i[C-1],N=i[C+1],R=b;void 0===R&&((null==N?void 0:N.fixed)!==void 0?R=N.fixed:(null==Z?void 0:Z.fixed)!==void 0&&(R=Z.fixed)),R&&Z&&(null===(n=Z[ee])||void 0===n?void 0:n.columnType)==="EXPAND_COLUMN"&&void 0===Z.fixed&&(Z.fixed=R);let P=k()(`${y}-selection-col`,{[`${y}-selection-col-with-dropdown`]:h&&"checkbox"===m}),T={fixed:R,width:p,className:`${y}-selection-column`,title:(null==t?void 0:t.columnTitle)?"function"==typeof t.columnTitle?t.columnTitle(o):t.columnTitle:l,render:(e,t,n)=>{let{node:r,checked:l}=a(e,t,n);return g?g(l,t,n,r):r},onCell:t.onCell,[ee]:{className:P}};return i.map(e=>e===eV?T:e)},[E,z,t,A,F,W,p,X,S,K,f,q,L]);return[V,F]},e1=n(98423),e2=n(58375),e8=n(53124),e3=n(88258),e4=n(35792),e7=n(98675),e9=n(25378),e5=n(24457),e6=n(11300),te=n(74330),tt=n(25976);let tn=(e,t)=>"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 tr(e,t){return t?`${t}-${e}`:`${e}`}let tl=(e,t)=>"function"==typeof e?e(t):e,to=(e,t)=>{let n=tl(e,t);return"[object Object]"===Object.prototype.toString.call(n)?"":n};var ta=n(99982),ti=n(57838),tc=n(14726),td=n(32983),ts=n(50136),tu=n(76529),tf=n(20863),tp=n(68795),tm=n(25278),th=e=>{let{value:t,filterSearch:n,tablePrefixCls:l,locale:o,onChange:a}=e;return n?r.createElement("div",{className:`${l}-filter-dropdown-search`},r.createElement(tm.default,{prefix:r.createElement(tp.Z,null),placeholder:o.filterSearchPlaceholder,onChange:a,value:t,htmlSize:1,className:`${l}-filter-dropdown-search-input`})):null},tb=n(15105);let tg=e=>{let{keyCode:t}=e;t===tb.Z.ENTER&&e.stopPropagation()},tv=r.forwardRef((e,t)=>r.createElement("div",{className:e.className,onClick:e=>e.stopPropagation(),onKeyDown:tg,ref:t},e.children));function tx(e){let t=[];return(e||[]).forEach(e=>{let{value:n,children:r}=e;t.push(n),r&&(t=[].concat((0,er.Z)(t),(0,er.Z)(tx(r))))}),t}function ty(e,t){return("string"==typeof t||"number"==typeof t)&&(null==t?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()))}var tw=e=>{var t,n;let l,o;let{tablePrefixCls:a,prefixCls:i,column:c,dropdownPrefixCls:s,columnKey:u,filterOnClose:f,filterMultiple:p,filterMode:m="menu",filterSearch:h=!1,filterState:b,triggerFilter:g,locale:v,children:x,getPopupContainer:y,rootClassName:w}=e,{filterDropdownOpen:C,onFilterDropdownOpenChange:$,filterResetToDefaultFilteredValue:E,defaultFilteredValue:S,filterDropdownVisible:Z,onFilterDropdownVisibleChange:N}=c,[I,R]=r.useState(!1),O=!!(b&&((null===(t=b.filteredKeys)||void 0===t?void 0:t.length)||b.forceFiltered)),j=e=>{R(e),null==$||$(e),null==N||N(e)},P=null!==(n=null!=C?C:Z)&&void 0!==n?n:I,T=null==b?void 0:b.filteredKeys,[M,B]=function(e){let t=r.useRef(e),n=(0,ti.Z)();return[()=>t.current,e=>{t.current=e,n()}]}(T||[]),H=e=>{let{selectedKeys:t}=e;B(t)},z=(e,t)=>{let{node:n,checked:r}=t;p?H({selectedKeys:e}):H({selectedKeys:r&&n.key?[n.key]:[]})};r.useEffect(()=>{I&&H({selectedKeys:T||[]})},[T]);let[K,L]=r.useState([]),A=e=>{L(e)},[_,F]=r.useState(""),W=e=>{let{value:t}=e.target;F(t)};r.useEffect(()=>{I||F("")},[I]);let D=e=>{let t=(null==e?void 0:e.length)?e:null;if(null===t&&(!b||!b.filteredKeys)||(0,d.Z)(t,null==b?void 0:b.filteredKeys,!0))return null;g({column:c,key:u,filteredKeys:t})},q=()=>{j(!1),D(M())},X=function(){let{confirm:e,closeDropdown:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1};e&&D([]),t&&j(!1),F(""),E?B((S||[]).map(e=>String(e))):B([])},V=k()({[`${s}-menu-without-submenu`]:!(c.filters||[]).some(e=>{let{children:t}=e;return t})}),U=e=>{if(e.target.checked){let e=tx(null==c?void 0:c.filters).map(e=>String(e));B(e)}else B([])},Y=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:String(t)};return e.children&&(r.children=Y({filters:e.children})),r})},G=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=>G(e)))||[]})},{direction:J,renderEmpty:Q}=r.useContext(e8.E_);if("function"==typeof c.filterDropdown)l=c.filterDropdown({prefixCls:`${s}-custom`,setSelectedKeys:e=>H({selectedKeys:e}),selectedKeys:M(),confirm:function(){let{closeDropdown:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0};e&&j(!1),D(M())},clearFilters:X,filters:c.filters,visible:P,close:()=>{j(!1)}});else if(c.filterDropdown)l=c.filterDropdown;else{let e=M()||[];l=r.createElement(r.Fragment,null,(()=>{var t;let n=null!==(t=null==Q?void 0:Q("Table.filter"))&&void 0!==t?t:r.createElement(td.Z,{image:td.Z.PRESENTED_IMAGE_SIMPLE,description:v.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}});if(0===(c.filters||[]).length)return n;if("tree"===m)return r.createElement(r.Fragment,null,r.createElement(th,{filterSearch:h,value:_,onChange:W,tablePrefixCls:a,locale:v}),r.createElement("div",{className:`${a}-filter-dropdown-tree`},p?r.createElement(eD.Z,{checked:e.length===tx(c.filters).length,indeterminate:e.length>0&&e.length"function"==typeof h?h(_,G(e)):ty(_,e.title):void 0})));let l=function e(t){let{filters:n,prefixCls:l,filteredKeys:o,filterMultiple:a,searchValue:i,filterSearch:c}=t;return n.map((t,n)=>{let d=String(t.value);if(t.children)return{key:d||n,label:t.text,popupClassName:`${l}-dropdown-submenu`,children:e({filters:t.children,prefixCls:l,filteredKeys:o,filterMultiple:a,searchValue:i,filterSearch:c})};let s=a?eD.Z:eX.ZP,u={key:void 0!==t.value?d:n,label:r.createElement(r.Fragment,null,r.createElement(s,{checked:o.includes(d)}),r.createElement("span",null,t.text))};return i.trim()?"function"==typeof c?c(i,t)?u:null:ty(i,t.text)?u:null:u})}({filters:c.filters||[],filterSearch:h,prefixCls:i,filteredKeys:M(),filterMultiple:p,searchValue:_}),o=l.every(e=>null===e);return r.createElement(r.Fragment,null,r.createElement(th,{filterSearch:h,value:_,onChange:W,tablePrefixCls:a,locale:v}),o?n:r.createElement(ts.Z,{selectable:!0,multiple:p,prefixCls:`${s}-menu`,className:V,onSelect:H,onDeselect:H,selectedKeys:e,getPopupContainer:y,openKeys:K,onOpenChange:A,items:l}))})(),r.createElement("div",{className:`${i}-dropdown-btns`},r.createElement(tc.ZP,{type:"link",size:"small",disabled:E?(0,d.Z)((S||[]).map(e=>String(e)),e,!0):0===e.length,onClick:()=>X()},v.filterReset),r.createElement(tc.ZP,{type:"primary",size:"small",onClick:q},v.filterConfirm)))}return c.filterDropdown&&(l=r.createElement(tu.J,{selectable:void 0},l)),o="function"==typeof c.filterIcon?c.filterIcon(O):c.filterIcon?c.filterIcon:r.createElement(ta.Z,null),r.createElement("div",{className:`${i}-column`},r.createElement("span",{className:`${a}-column-title`},x),r.createElement(eq.Z,{dropdownRender:()=>r.createElement(tv,{className:`${i}-dropdown`},l),trigger:["click"],open:P,onOpenChange:(e,t)=>{"trigger"===t.source&&(e&&void 0!==T&&B(T||[]),j(e),e||c.filterDropdown||!f||q())},getPopupContainer:y,placement:"rtl"===J?"bottomLeft":"bottomRight",rootClassName:w},r.createElement("span",{role:"button",tabIndex:-1,className:k()(`${i}-trigger`,{active:O}),onClick:e=>{e.stopPropagation()}},o)))};let tC=(e,t,n)=>{let r=[];return(e||[]).forEach((e,l)=>{var o;let a=tr(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:tn(e,a),filteredKeys:t,forceFiltered:e.filtered})}else r.push({column:e,key:tn(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered})}"children"in e&&(r=[].concat((0,er.Z)(r),(0,er.Z)(tC(e.children,t,a))))}),r},t$=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=tx(o);t[n]=e.filter(e=>r.includes(String(e)))}else t[n]=null}),t},tE=(e,t,n)=>{let r=t.reduce((e,r)=>{let{column:{onFilter:l,filters:o},filteredKeys:a}=r;return l&&a&&a.length?e.map(e=>Object.assign({},e)).filter(e=>a.some(r=>{let a=tx(o),i=a.findIndex(e=>String(e)===String(r)),c=-1!==i?a[i]:r;return e[n]&&(e[n]=tE(e[n],t,n)),l(c,e)})):e},e);return r},tS=e=>e.flatMap(e=>"children"in e?[e].concat((0,er.Z)(tS(e.children||[]))):[e]);var tk=e=>{let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:l,onFilterChange:o,getPopupContainer:a,locale:i,rootClassName:c}=e;(0,eW.ln)("Table");let d=r.useMemo(()=>tS(l||[]),[l]),[s,u]=r.useState(()=>tC(d,!0)),f=r.useMemo(()=>{let e=tC(d,!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=(d||[]).map((e,t)=>tn(e,tr(t)));return s.filter(t=>{let{key:n}=t;return e.includes(n)}).map(t=>{let n=d[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},[d,s]),p=r.useMemo(()=>t$(f),[f]),m=e=>{let t=f.filter(t=>{let{key:n}=t;return n!==e.key});t.push(e),u(t),o(t$(t),t)};return[e=>(function e(t,n,l,o,a,i,c,d,s){return l.map((l,u)=>{let f=tr(u,d),{filterOnClose:p=!0,filterMultiple:m=!0,filterMode:h,filterSearch:b}=l,g=l;if(g.filters||g.filterDropdown){let e=tn(g,f),d=o.find(t=>{let{key:n}=t;return e===n});g=Object.assign(Object.assign({},g),{title:o=>r.createElement(tw,{tablePrefixCls:t,prefixCls:`${t}-filter`,dropdownPrefixCls:n,column:g,columnKey:e,filterState:d,filterOnClose:p,filterMultiple:m,filterMode:h,filterSearch:b,triggerFilter:i,locale:a,getPopupContainer:c,rootClassName:s},tl(l.title,o))})}return"children"in g&&(g=Object.assign(Object.assign({},g),{children:e(t,n,g.children,o,a,i,c,f,s)})),g})})(t,n,e,f,i,m,a,void 0,c),f,p]},tZ=(e,t,n)=>{let l=r.useRef({});return[function(r){var o;if(!l.current||l.current.data!==e||l.current.childrenColumnName!==t||l.current.getRowKey!==n){let r=new Map;!function e(l){l.forEach((l,o)=>{let a=n(l,o);r.set(a,l),l&&"object"==typeof l&&t in l&&e(l[t]||[])})}(e),l.current={data:e,childrenColumnName:t,kvMap:r,getRowKey:n}}return null===(o=l.current.kvMap)||void 0===o?void 0:o.get(r)}]},tN=n(38780),tI=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},tR=function(e,t,n){let l=n&&"object"==typeof n?n:{},{total:o=0}=l,a=tI(l,["total"]),[i,c]=(0,r.useState)(()=>({current:"defaultCurrent"in a?a.defaultCurrent:1,pageSize:"defaultPageSize"in a?a.defaultPageSize:10})),d=(0,tN.Z)(i,a,{total:o>0?o:e}),s=Math.ceil((o||e)/d.pageSize);d.current>s&&(d.current=s||1);let u=(e,t)=>{c({current:null!=e?e:1,pageSize:t||d.pageSize})};return!1===n?[{},()=>{}]:[Object.assign(Object.assign({},d),{onChange:(e,r)=>{var l;n&&(null===(l=n.onChange)||void 0===l||l.call(n,e,r)),u(e,r),t(e,r||(null==d?void 0:d.pageSize))}}),u]},tO=n(39398),tj=n(10010),tP=n(83062);let tT="ascend",tM="descend",tB=e=>"object"==typeof e.sorter&&"number"==typeof e.sorter.multiple&&e.sorter.multiple,tH=e=>"function"==typeof e?e:!!e&&"object"==typeof e&&!!e.compare&&e.compare,tz=(e,t)=>t?e[e.indexOf(t)+1]:e[0],tK=(e,t,n)=>{let r=[],l=(e,t)=>{r.push({column:e,key:tn(e,t),multiplePriority:tB(e),sortOrder:e.sortOrder})};return(e||[]).forEach((e,o)=>{let a=tr(o,n);e.children?("sortOrder"in e&&l(e,a),r=[].concat((0,er.Z)(r),(0,er.Z)(tK(e.children,t,a)))):e.sorter&&("sortOrder"in e?l(e,a):t&&e.defaultSortOrder&&r.push({column:e,key:tn(e,a),multiplePriority:tB(e),sortOrder:e.defaultSortOrder}))}),r},tL=(e,t,n,l,o,a,i,c)=>{let d=(t||[]).map((t,d)=>{let s=tr(d,c),u=t;if(u.sorter){let c;let d=u.sortDirections||o,f=void 0===u.showSorterTooltip?i:u.showSorterTooltip,p=tn(u,s),m=n.find(e=>{let{key:t}=e;return t===p}),h=m?m.sortOrder:null,b=tz(d,h);if(t.sortIcon)c=t.sortIcon({sortOrder:h});else{let t=d.includes(tT)&&r.createElement(tj.Z,{className:k()(`${e}-column-sorter-up`,{active:h===tT})}),n=d.includes(tM)&&r.createElement(tO.Z,{className:k()(`${e}-column-sorter-down`,{active:h===tM})});c=r.createElement("span",{className:k()(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(t&&n)})},r.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},t,n))}let{cancelSort:g,triggerAsc:v,triggerDesc:x}=a||{},y=g;b===tM?y=x:b===tT&&(y=v);let w="object"==typeof f?Object.assign({title:y},f):{title:y};u=Object.assign(Object.assign({},u),{className:k()(u.className,{[`${e}-column-sort`]:h}),title:n=>{let l=`${e}-column-sorters`,o=r.createElement("span",{className:`${e}-column-title`},tl(t.title,n)),a=r.createElement("div",{className:l},o,c);return f?"boolean"!=typeof f&&(null==f?void 0:f.target)==="sorter-icon"?r.createElement("div",{className:`${l} ${e}-column-sorters-tooltip-target-sorter`},o,r.createElement(tP.Z,Object.assign({},w),c)):r.createElement(tP.Z,Object.assign({},w),a):a},onHeaderCell:n=>{var r;let o=(null===(r=t.onHeaderCell)||void 0===r?void 0:r.call(t,n))||{},a=o.onClick,i=o.onKeyDown;o.onClick=e=>{l({column:t,key:p,sortOrder:b,multiplePriority:tB(t)}),null==a||a(e)},o.onKeyDown=e=>{e.keyCode===tb.Z.ENTER&&(l({column:t,key:p,sortOrder:b,multiplePriority:tB(t)}),null==i||i(e))};let c=to(t.title,{}),d=null==c?void 0:c.toString();return h?o["aria-sort"]="ascend"===h?"ascending":"descending":o["aria-label"]=d||"",o.className=k()(o.className,`${e}-column-has-sorters`),o.tabIndex=0,t.ellipsis&&(o.title=(null!=c?c:"").toString()),o}})}return"children"in u&&(u=Object.assign(Object.assign({},u),{children:tL(e,u.children,n,l,o,a,i,s)})),u});return d},tA=e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},t_=e=>{let t=e.filter(e=>{let{sortOrder:t}=e;return t}).map(tA);if(0===t.length&&e.length){let t=e.length-1;return Object.assign(Object.assign({},tA(e[t])),{column:void 0})}return t.length<=1?t[0]||{}:t},tF=(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 tH(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]:tF(r,t,n)}):e}):l};var tW=e=>{let{prefixCls:t,mergedColumns:n,sortDirections:l,tableLocale:o,showSorterTooltip:a,onSorterChange:i}=e,[c,d]=r.useState(tK(n,!0)),s=(e,t)=>{let n=[];return e.forEach((e,r)=>{let l=tr(r,t);if(n.push(tn(e,l)),Array.isArray(e.children)){let t=s(e.children,l);n.push.apply(n,(0,er.Z)(t))}}),n},u=r.useMemo(()=>{let e=!0,t=tK(n,!1);if(!t.length){let e=s(n);return c.filter(t=>{let{key:n}=t;return e.includes(n)})}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,c]),f=r.useMemo(()=>{var e,t;let n=u.map(e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n}});return{sortColumns:n,sortColumn:null===(e=n[0])||void 0===e?void 0:e.column,sortOrder:null===(t=n[0])||void 0===t?void 0:t.order}},[u]),p=e=>{let t;d(t=!1!==e.multiplePriority&&u.length&&!1!==u[0].multiplePriority?[].concat((0,er.Z)(u.filter(t=>{let{key:n}=t;return n!==e.key})),[e]):[e]),i(t_(t),t)};return[e=>tL(t,e,u,p,l,o,a),u,f,()=>t_(u)]};let tD=(e,t)=>{let n=e.map(e=>{let n=Object.assign({},e);return n.title=tl(e.title,t),"children"in n&&(n.children=tD(n.children,t)),n});return n};var tq=e=>{let t=r.useCallback(t=>tD(t,e),[e]);return[t]};let tX=v(eN,(e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),tV=v(ez,(e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r});var tU=n(25446),tY=n(10274),tG=n(14747),tJ=n(83559),tQ=n(83262),t0=e=>{let{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:l,tableHeaderBg:o,tablePaddingVertical:a,tablePaddingHorizontal:i,calc:c}=e,d=`${(0,tU.bf)(n)} ${r} ${l}`,s=(e,r,l)=>({[`&${t}-${e}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{[` > table > tbody > tr > th, > table > tbody > tr > td - `]:{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,t1.bf)(c(r).mul(-1).equal())} - ${(0,t1.bf)(c(c(l).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:d,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:d,borderTop:d,[` + `]:{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,tU.bf)(c(r).mul(-1).equal())} + ${(0,tU.bf)(c(c(l).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:d,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:d,borderTop:d,[` > ${t}-content, > ${t}-header, > ${t}-body, @@ -21,16 +21,16 @@ `]:{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:d}},[` > tbody > tr > th, > tbody > tr > td - `]:{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,t1.bf)(c(a).mul(-1).equal())} ${(0,t1.bf)(c(c(i).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:d,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` + `]:{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,tU.bf)(c(a).mul(-1).equal())} ${(0,tU.bf)(c(c(i).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:d,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` > tr${t}-expanded-row, > tr${t}-placeholder - `]:{"> th, > td":{borderInlineEnd:0}}}}}},s("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),s("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:d,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,t1.bf)(n)} 0 ${(0,t1.bf)(n)} ${o}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:d}}}},t5=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},t8.vS),{wordBreak:"keep-all",[` + `]:{"> th, > td":{borderInlineEnd:0}}}}}},s("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),s("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:d,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,tU.bf)(n)} 0 ${(0,tU.bf)(n)} ${o}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:d}}}},t1=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},tG.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"}})}}},t9=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,[` + `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},t2=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}}}}},t6=n(49867),ne=e=>{let{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:l,paddingXS:o,lineType:a,tableBorderColor:i,tableExpandIconBg:c,tableExpandColumnWidth:d,borderRadius:s,tablePaddingVertical:u,tablePaddingHorizontal:f,tableExpandedRowBg:p,paddingXXS:m,expandIconMarginTop:h,expandIconSize:b,expandIconHalfInner:g,expandIconScale:v,calc:x}=e,y=`${(0,t1.bf)(l)} ${a} ${i}`,w=x(m).sub(l).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:d},[`${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({},(0,t6.N)(e)),{position:"relative",float:"left",boxSizing:"border-box",width:b,height:b,padding:0,color:"inherit",lineHeight:(0,t1.bf)(b),background:c,border:y,borderRadius:s,transform:`scale(${v})`,transition:`all ${r}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:g,insetInlineEnd:w,insetInlineStart:w,height:l},"&::after":{top:w,bottom:w,insetInlineStart:g,width:l,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:h,marginInlineEnd:o},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:p}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${(0,t1.bf)(x(u).mul(-1).equal())} ${(0,t1.bf)(x(f).mul(-1).equal())}`,padding:`${(0,t1.bf)(u)} ${(0,t1.bf)(f)}`}}}},nt=e=>{let{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:l,tableFilterDropdownSearchWidth:o,paddingXXS:a,paddingXS:i,colorText:c,lineWidth:d,lineType:s,tableBorderColor:u,headerIconColor:f,fontSizeSM:p,tablePaddingHorizontal:m,borderRadius:h,motionDurationSlow:b,colorTextDescription:g,colorPrimary:v,tableHeaderFilterActiveBg:x,colorTextDisabled:y,tableFilterDropdownBg:w,tableFilterDropdownHeight:C,controlItemBgHover:E,controlItemBgActive:$,boxShadowSecondary:S,filterDropdownMenuBg:Z,calc:k}=e,N=`${n}-dropdown`,I=`${t}-filter-dropdown`,R=`${n}-tree`,O=`${(0,t1.bf)(d)} ${s} ${u}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:k(a).mul(-1).equal(),marginInline:`${(0,t1.bf)(a)} ${(0,t1.bf)(k(m).div(2).mul(-1).equal())}`,padding:`0 ${(0,t1.bf)(a)}`,color:f,fontSize:p,borderRadius:h,cursor:"pointer",transition:`all ${b}`,"&:hover":{color:g,background:x},"&.active":{color:v}}}},{[`${n}-dropdown`]:{[I]:Object.assign(Object.assign({},(0,t8.Wf)(e)),{minWidth:l,backgroundColor:w,borderRadius:h,boxShadow:S,overflow:"hidden",[`${N}-menu`]:{maxHeight:C,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Z,"&:empty::after":{display:"block",padding:`${(0,t1.bf)(i)} 0`,color:y,fontSize:p,textAlign:"center",content:'"Not Found"'}},[`${I}-tree`]:{paddingBlock:`${(0,t1.bf)(i)} 0`,paddingInline:i,[R]:{padding:0},[`${R}-treenode ${R}-node-content-wrapper:hover`]:{backgroundColor:E},[`${R}-treenode-checkbox-checked ${R}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:$}}},[`${I}-search`]:{padding:i,borderBottom:O,"&-input":{input:{minWidth:o},[r]:{color:y}}},[`${I}-checkall`]:{width:"100%",marginBottom:a,marginInlineStart:a},[`${I}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,t1.bf)(k(i).sub(d).equal())} ${(0,t1.bf)(i)}`,overflow:"hidden",borderTop:O}})}},{[`${n}-dropdown ${I}, ${I}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:i,color:c},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},nn=e=>{let{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:l,zIndexTableFixed:o,tableBg:a,zIndexTableSticky:i,calc:c}=e;return{[`${t}-wrapper`]:{[` + `]:{background:e.colorBgContainer}}}}},t8=n(49867),t3=e=>{let{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:l,paddingXS:o,lineType:a,tableBorderColor:i,tableExpandIconBg:c,tableExpandColumnWidth:d,borderRadius:s,tablePaddingVertical:u,tablePaddingHorizontal:f,tableExpandedRowBg:p,paddingXXS:m,expandIconMarginTop:h,expandIconSize:b,expandIconHalfInner:g,expandIconScale:v,calc:x}=e,y=`${(0,tU.bf)(l)} ${a} ${i}`,w=x(m).sub(l).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:d},[`${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({},(0,t8.N)(e)),{position:"relative",float:"left",boxSizing:"border-box",width:b,height:b,padding:0,color:"inherit",lineHeight:(0,tU.bf)(b),background:c,border:y,borderRadius:s,transform:`scale(${v})`,transition:`all ${r}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:g,insetInlineEnd:w,insetInlineStart:w,height:l},"&::after":{top:w,bottom:w,insetInlineStart:g,width:l,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:h,marginInlineEnd:o},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:p}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${(0,tU.bf)(x(u).mul(-1).equal())} ${(0,tU.bf)(x(f).mul(-1).equal())}`,padding:`${(0,tU.bf)(u)} ${(0,tU.bf)(f)}`}}}},t4=e=>{let{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:l,tableFilterDropdownSearchWidth:o,paddingXXS:a,paddingXS:i,colorText:c,lineWidth:d,lineType:s,tableBorderColor:u,headerIconColor:f,fontSizeSM:p,tablePaddingHorizontal:m,borderRadius:h,motionDurationSlow:b,colorTextDescription:g,colorPrimary:v,tableHeaderFilterActiveBg:x,colorTextDisabled:y,tableFilterDropdownBg:w,tableFilterDropdownHeight:C,controlItemBgHover:$,controlItemBgActive:E,boxShadowSecondary:S,filterDropdownMenuBg:k,calc:Z}=e,N=`${n}-dropdown`,I=`${t}-filter-dropdown`,R=`${n}-tree`,O=`${(0,tU.bf)(d)} ${s} ${u}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Z(a).mul(-1).equal(),marginInline:`${(0,tU.bf)(a)} ${(0,tU.bf)(Z(m).div(2).mul(-1).equal())}`,padding:`0 ${(0,tU.bf)(a)}`,color:f,fontSize:p,borderRadius:h,cursor:"pointer",transition:`all ${b}`,"&:hover":{color:g,background:x},"&.active":{color:v}}}},{[`${n}-dropdown`]:{[I]:Object.assign(Object.assign({},(0,tG.Wf)(e)),{minWidth:l,backgroundColor:w,borderRadius:h,boxShadow:S,overflow:"hidden",[`${N}-menu`]:{maxHeight:C,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:k,"&:empty::after":{display:"block",padding:`${(0,tU.bf)(i)} 0`,color:y,fontSize:p,textAlign:"center",content:'"Not Found"'}},[`${I}-tree`]:{paddingBlock:`${(0,tU.bf)(i)} 0`,paddingInline:i,[R]:{padding:0},[`${R}-treenode ${R}-node-content-wrapper:hover`]:{backgroundColor:$},[`${R}-treenode-checkbox-checked ${R}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:E}}},[`${I}-search`]:{padding:i,borderBottom:O,"&-input":{input:{minWidth:o},[r]:{color:y}}},[`${I}-checkall`]:{width:"100%",marginBottom:a,marginInlineStart:a},[`${I}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,tU.bf)(Z(i).sub(d).equal())} ${(0,tU.bf)(i)}`,overflow:"hidden",borderTop:O}})}},{[`${n}-dropdown ${I}, ${I}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:i,color:c},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},t7=e=>{let{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:l,zIndexTableFixed:o,tableBg:a,zIndexTableSticky:i,calc:c}=e;return{[`${t}-wrapper`]:{[` ${t}-cell-fix-left, ${t}-cell-fix-right `]:{position:"sticky !important",zIndex:o,background:a},[` @@ -50,11 +50,11 @@ ${t}-cell-fix-left-last::after, ${t}-cell-fix-right-first::after, ${t}-cell-fix-right-last::after - `]:{boxShadow:"none"}}}}},nr=e=>{let{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${(0,t1.bf)(r)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},nl=e=>{let{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${(0,t1.bf)(n)} ${(0,t1.bf)(n)} 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 ${(0,t1.bf)(n)} ${(0,t1.bf)(n)}`}}}}},no=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"}}}}},na=e=>{let{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:l,padding:o,paddingXS:a,headerIconColor:i,headerIconHoverColor:c,tableSelectionColumnWidth:d,tableSelectedRowBg:s,tableSelectedRowHoverBg:u,tableRowHoverBg:f,tablePaddingHorizontal:p,calc:m}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:d,[`&${t}-selection-col-with-dropdown`]:{width:m(d).add(l).add(m(o).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:m(d).add(m(a).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:m(d).add(l).add(m(o).div(4)).add(m(a).mul(2)).equal()}},[` + `]:{boxShadow:"none"}}}}},t9=e=>{let{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${(0,tU.bf)(r)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},t5=e=>{let{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${(0,tU.bf)(n)} ${(0,tU.bf)(n)} 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 ${(0,tU.bf)(n)} ${(0,tU.bf)(n)}`}}}}},t6=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"}}}}},ne=e=>{let{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:l,padding:o,paddingXS:a,headerIconColor:i,headerIconHoverColor:c,tableSelectionColumnWidth:d,tableSelectedRowBg:s,tableSelectedRowHoverBg:u,tableRowHoverBg:f,tablePaddingHorizontal:p,calc:m}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:d,[`&${t}-selection-col-with-dropdown`]:{width:m(d).add(l).add(m(o).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:m(d).add(m(a).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:m(d).add(l).add(m(o).div(4)).add(m(a).mul(2)).equal()}},[` table tr th${t}-selection-column, table tr td${t}-selection-column, ${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:m(e.zIndexTableFixed).add(1).equal({unit:!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:(0,t1.bf)(m(p).div(4).equal()),[r]:{color:i,fontSize:l,verticalAlign:"baseline","&:hover":{color:c}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:s,"&-row-hover":{background:u}}},[`> ${t}-cell-row-hover`]:{background:f}}}}}},ni=e=>{let{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,l=(e,l,o,a)=>({[`${t}${t}-${e}`]:{fontSize:a,[` + `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:m(e.zIndexTableFixed).add(1).equal({unit:!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:(0,tU.bf)(m(p).div(4).equal()),[r]:{color:i,fontSize:l,verticalAlign:"baseline","&:hover":{color:c}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:s,"&-row-hover":{background:u}}},[`> ${t}-cell-row-hover`]:{background:f}}}}}},nt=e=>{let{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,l=(e,l,o,a)=>({[`${t}${t}-${e}`]:{fontSize:a,[` ${t}-title, ${t}-footer, ${t}-cell, @@ -63,21 +63,21 @@ ${t}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{padding:`${(0,t1.bf)(l)} ${(0,t1.bf)(o)}`},[`${t}-filter-trigger`]:{marginInlineEnd:(0,t1.bf)(r(o).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${(0,t1.bf)(r(l).mul(-1).equal())} ${(0,t1.bf)(r(o).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:(0,t1.bf)(r(l).mul(-1).equal()),marginInline:`${(0,t1.bf)(r(n).sub(o).equal())} ${(0,t1.bf)(r(o).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:(0,t1.bf)(r(o).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},l("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),l("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},nc=e=>{let{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:l,headerIconHoverColor: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},[` + `]:{padding:`${(0,tU.bf)(l)} ${(0,tU.bf)(o)}`},[`${t}-filter-trigger`]:{marginInlineEnd:(0,tU.bf)(r(o).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${(0,tU.bf)(r(l).mul(-1).equal())} ${(0,tU.bf)(r(o).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:(0,tU.bf)(r(l).mul(-1).equal()),marginInline:`${(0,tU.bf)(r(n).sub(o).equal())} ${(0,tU.bf)(r(o).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:(0,tU.bf)(r(o).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},l("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),l("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},nn=e=>{let{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:l,headerIconHoverColor: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-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${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}}}},nd=e=>{let{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:l,tableScrollThumbSize:o,tableScrollBg:a,zIndexTableSticky:i,stickyScrollBarBorderRadius:c,lineWidth:d,lineType:s,tableBorderColor:u}=e,f=`${(0,t1.bf)(d)} ${s} ${u}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:i,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,t1.bf)(o)} !important`,zIndex:i,display:"flex",alignItems:"center",background:a,borderTop:f,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:o,backgroundColor:r,borderRadius:c,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:l}}}}}}},ns=e=>{let{componentCls:t,lineWidth:n,tableBorderColor:r,calc:l}=e,o=`${(0,t1.bf)(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:o}}},[`div${t}-summary`]:{boxShadow:`0 ${(0,t1.bf)(l(n).mul(-1).equal())} 0 ${r}`}}}},nu=e=>{let{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:l,tableBorderColor:o,calc:a}=e,i=`${(0,t1.bf)(r)} ${l} ${o}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-row:not(tr)`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${t}-cell`]:{borderBottom:i,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${c}${c}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,t1.bf)(r)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:i,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:i,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:a(r).mul(-1).equal(),borderInlineStart:i}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:i,borderBottom:i}}}}}};let nf=e=>{let{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:l,tableExpandColumnWidth:o,lineWidth:a,lineType:i,tableBorderColor:c,tableFontSize:d,tableBg:s,tableRadius:u,tableHeaderTextColor:f,motionDurationMid:p,tableHeaderBg:m,tableHeaderCellSplitColor:h,tableFooterTextColor:b,tableFooterBg:g,calc:v}=e,x=`${(0,t1.bf)(a)} ${i} ${c}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,t8.dF)()),{[t]:Object.assign(Object.assign({},(0,t8.Wf)(e)),{fontSize:d,background:s,borderRadius:`${(0,t1.bf)(u)} ${(0,t1.bf)(u)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,t1.bf)(u)} ${(0,t1.bf)(u)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` + `]:{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-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${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}}}},nr=e=>{let{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:l,tableScrollThumbSize:o,tableScrollBg:a,zIndexTableSticky:i,stickyScrollBarBorderRadius:c,lineWidth:d,lineType:s,tableBorderColor:u}=e,f=`${(0,tU.bf)(d)} ${s} ${u}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:i,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,tU.bf)(o)} !important`,zIndex:i,display:"flex",alignItems:"center",background:a,borderTop:f,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:o,backgroundColor:r,borderRadius:c,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:l}}}}}}},nl=e=>{let{componentCls:t,lineWidth:n,tableBorderColor:r,calc:l}=e,o=`${(0,tU.bf)(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:o}}},[`div${t}-summary`]:{boxShadow:`0 ${(0,tU.bf)(l(n).mul(-1).equal())} 0 ${r}`}}}},no=e=>{let{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:l,tableBorderColor:o,calc:a}=e,i=`${(0,tU.bf)(r)} ${l} ${o}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-row:not(tr)`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${t}-cell`]:{borderBottom:i,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${c}${c}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,tU.bf)(r)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:i,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:i,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:a(r).mul(-1).equal(),borderInlineStart:i}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:i,borderBottom:i}}}}}};let na=e=>{let{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:l,tableExpandColumnWidth:o,lineWidth:a,lineType:i,tableBorderColor:c,tableFontSize:d,tableBg:s,tableRadius:u,tableHeaderTextColor:f,motionDurationMid:p,tableHeaderBg:m,tableHeaderCellSplitColor:h,tableFooterTextColor:b,tableFooterBg:g,calc:v}=e,x=`${(0,tU.bf)(a)} ${i} ${c}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,tG.dF)()),{[t]:Object.assign(Object.assign({},(0,tG.Wf)(e)),{fontSize:d,background:s,borderRadius:`${(0,tU.bf)(u)} ${(0,tU.bf)(u)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,tU.bf)(u)} ${(0,tU.bf)(u)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${t}-cell, ${t}-thead > tr > th, ${t}-tbody > tr > th, ${t}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{position:"relative",padding:`${(0,t1.bf)(r)} ${(0,t1.bf)(l)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${(0,t1.bf)(r)} ${(0,t1.bf)(l)}`},[`${t}-thead`]:{[` + `]:{position:"relative",padding:`${(0,tU.bf)(r)} ${(0,tU.bf)(l)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${(0,tU.bf)(r)} ${(0,tU.bf)(l)}`},[`${t}-thead`]:{[` > tr > th, > tr > td `]:{position:"relative",color:f,fontWeight:n,textAlign:"start",background:m,borderBottom:x,transition:`background ${p} 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:h,transform:"translateY(-50%)",transition:`background-color ${p}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${p}, border-color ${p}`,borderBottom:x,[` > ${t}-wrapper:only-child, > ${t}-expanded-row-fixed > ${t}-wrapper:only-child - `]:{[t]:{marginBlock:(0,t1.bf)(v(r).mul(-1).equal()),marginInline:`${(0,t1.bf)(v(o).sub(l).equal())} - ${(0,t1.bf)(v(l).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:m,borderBottom:x,transition:`background ${p} ease`}}},[`${t}-footer`]:{padding:`${(0,t1.bf)(r)} ${(0,t1.bf)(l)}`,color:b,background:g}})}};var np=(0,t4.I$)("Table",e=>{let{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:l,headerBg:o,headerColor:a,headerSortActiveBg:i,headerSortHoverBg:c,bodySortBg:d,rowHoverBg:s,rowSelectedBg:u,rowSelectedHoverBg:f,rowExpandedBg:p,cellPaddingBlock:m,cellPaddingInline:h,cellPaddingBlockMD:b,cellPaddingInlineMD:g,cellPaddingBlockSM:v,cellPaddingInlineSM:x,borderColor:y,footerBg:w,footerColor:C,headerBorderRadius:E,cellFontSize:$,cellFontSizeMD:S,cellFontSizeSM:Z,headerSplitColor:k,fixedHeaderSortActiveBg:N,headerFilterHoverBg:I,filterDropdownBg:R,expandIconBg:O,selectionColumnWidth:j,stickyScrollBarBg:P,calc:T}=e,M=(0,t3.IX)(e,{tableFontSize:$,tableBg:r,tableRadius:E,tablePaddingVertical:m,tablePaddingHorizontal:h,tablePaddingVerticalMiddle:b,tablePaddingHorizontalMiddle:g,tablePaddingVerticalSmall:v,tablePaddingHorizontalSmall:x,tableBorderColor:y,tableHeaderTextColor:a,tableHeaderBg:o,tableFooterTextColor:C,tableFooterBg:w,tableHeaderCellSplitColor:k,tableHeaderSortBg:i,tableHeaderSortHoverBg:c,tableBodySortBg:d,tableFixedHeaderSortActiveBg:N,tableHeaderFilterActiveBg:I,tableFilterDropdownBg:R,tableRowHoverBg:s,tableSelectedRowBg:u,tableSelectedRowHoverBg:f,zIndexTableFixed:2,zIndexTableSticky:T(2).add(1).equal({unit:!1}),tableFontSizeMiddle:S,tableFontSizeSmall:Z,tableSelectionColumnWidth:j,tableExpandIconBg:O,tableExpandColumnWidth:T(l).add(T(e.padding).mul(2)).equal(),tableExpandedRowBg:p,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:P,tableScrollThumbBgHover:t,tableScrollBg:n});return[nf(M),nr(M),ns(M),nc(M),nt(M),t7(M),nl(M),ne(M),ns(M),t9(M),na(M),nn(M),nd(M),t5(M),ni(M),no(M),nu(M)]},e=>{let{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:l,colorFillContent:o,controlItemBgActive:a,controlItemBgActiveHover:i,padding:c,paddingSM:d,paddingXS:s,colorBorderSecondary:u,borderRadiusLG:f,controlHeight:p,colorTextPlaceholder:m,fontSize:h,fontSizeSM:b,lineHeight:g,lineWidth:v,colorIcon:x,colorIconHover:y,opacityLoading:w,controlInteractiveSize:C}=e,E=new t2.C(l).onBackground(n).toHexShortString(),$=new t2.C(o).onBackground(n).toHexShortString(),S=new t2.C(t).onBackground(n).toHexShortString(),Z=new t2.C(x),k=new t2.C(y),N=C/2-v,I=2*N+3*v;return{headerBg:S,headerColor:r,headerSortActiveBg:E,headerSortHoverBg:$,bodySortBg:S,rowHoverBg:S,rowSelectedBg:a,rowSelectedHoverBg:i,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:d,cellPaddingInlineMD:s,cellPaddingBlockSM:s,cellPaddingInlineSM:s,borderColor:u,headerBorderRadius:f,footerBg:S,footerColor:r,cellFontSize:h,cellFontSizeMD:h,cellFontSizeSM:h,headerSplitColor:u,fixedHeaderSortActiveBg:E,headerFilterHoverBg:o,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:p,stickyScrollBarBg:m,stickyScrollBarBorderRadius:100,expandIconMarginTop:(h*g-3*v)/2-Math.ceil((1.4*b-3*v)/2),headerIconColor:Z.clone().setAlpha(Z.getAlpha()*w).toRgbString(),headerIconHoverColor:k.clone().setAlpha(k.getAlpha()*w).toRgbString(),expandIconHalfInner:N,expandIconSize:I,expandIconScale:C/I}},{unitless:{expandIconScale:!0}});let nm=[];var nh=r.forwardRef((e,t)=>{var n,l,a;let i,c,d;let{prefixCls:s,className:u,rootClassName:f,style:p,size:m,bordered:h,dropdownPrefixCls:b,dataSource:g,pagination:v,rowSelection:x,rowKey:y="key",rowClassName:w,columns:C,children:E,childrenColumnName:$,onChange:S,getPopupContainer:k,loading:N,expandIcon:I,expandable:R,expandedRowRender:O,expandIconColumnIndex:j,indentSize:P,scroll:T,sortDirections:M,locale:B,showSorterTooltip:H={target:"full-header"},virtual:z}=e;(0,eD.ln)("Table");let K=r.useMemo(()=>C||ep(E),[C,E]),L=r.useMemo(()=>K.some(e=>e.responsive),[K]),A=(0,e9.Z)(L),_=r.useMemo(()=>{let e=new Set(Object.keys(A).filter(e=>A[e]));return K.filter(t=>!t.responsive||t.responsive.some(t=>e.has(t)))},[K,A]),F=(0,e2.Z)(e,["className","style","columns"]),{locale:W=e6.Z,direction:D,table:q,renderEmpty:X,getPrefixCls:V,getPopupContainer:U}=r.useContext(e4.E_),Y=(0,e5.Z)(m),G=Object.assign(Object.assign({},W.Table),B),J=g||nm,Q=V("table",s),ee=V("dropdown",b),[,et]=(0,tn.ZP)(),en=(0,e7.Z)(Q),[er,el,eo]=np(Q,en),ea=Object.assign(Object.assign({childrenColumnName:$,expandIconColumnIndex:j},R),{expandIcon:null!==(n=null==R?void 0:R.expandIcon)&&void 0!==n?n:null===(l=null==q?void 0:q.expandable)||void 0===l?void 0:l.expandIcon}),{childrenColumnName:ei="children"}=ea,ec=r.useMemo(()=>J.some(e=>null==e?void 0:e[ei])?"nest":O||(null==R?void 0:R.expandedRowRender)?"row":null,[J]),ed={body:r.useRef()},es=r.useRef(null),eu=r.useRef(null);a=()=>Object.assign(Object.assign({},eu.current),{nativeElement:es.current}),(0,r.useImperativeHandle)(t,()=>{let e=a(),{nativeElement:t}=e;return"undefined"!=typeof Proxy?new Proxy(t,{get:(t,n)=>e[n]?e[n]:Reflect.get(t,n)}):(t._antProxy=t._antProxy||{},Object.keys(e).forEach(n=>{if(!(n in t._antProxy)){let r=t[n];t._antProxy[n]=r,t[n]=e[n]}}),t)});let ef=r.useMemo(()=>"function"==typeof y?y:e=>null==e?void 0:e[y],[y]),[em]=tO(J,ei,ef),eh={},eb=function(e,t){var n,r,l,o;let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=Object.assign(Object.assign({},eh),e);a&&(null===(n=eh.resetPagination)||void 0===n||n.call(eh),(null===(r=i.pagination)||void 0===r?void 0:r.current)&&(i.pagination.current=1),v&&(null===(l=v.onChange)||void 0===l||l.call(v,1,null===(o=i.pagination)||void 0===o?void 0:o.pageSize))),T&&!1!==T.scrollToFirstRowOnChange&&ed.body.current&&(0,e8.Z)(0,{getContainer:()=>ed.body.current}),null==S||S(i.pagination,i.filters,i.sorter,{currentDataSource:tN(tU(J,i.sorterStates,ei),i.filterStates,ei),action:t})},[eg,ev,ex,ey]=tY({prefixCls:Q,mergedColumns:_,onSorterChange:(e,t)=>{eb({sorter:e,sorterStates:t},"sort",!1)},sortDirections:M||["ascend","descend"],tableLocale:G,showSorterTooltip:H}),ew=r.useMemo(()=>tU(J,ev,ei),[J,ev]);eh.sorter=ey(),eh.sorterStates=ev;let[eC,eE,e$]=tR({prefixCls:Q,locale:G,dropdownPrefixCls:ee,mergedColumns:_,onFilterChange:(e,t)=>{eb({filters:e,filterStates:t},"filter",!0)},getPopupContainer:k||U,rootClassName:Z()(f,en)}),eS=tN(ew,eE,ei);eh.filters=e$,eh.filterStates=eE;let eZ=r.useMemo(()=>{let e={};return Object.keys(e$).forEach(t=>{null!==e$[t]&&(e[t]=e$[t])}),Object.assign(Object.assign({},ex),{filters:e})},[ex,e$]),[ek]=tJ(eZ),[eN,eI]=tT(eS.length,(e,t)=>{eb({pagination:Object.assign(Object.assign({},eh.pagination),{current:e,pageSize:t})},"paginate")},v);eh.pagination=!1===v?{}: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}(eN,v),eh.resetPagination=eI;let eR=r.useMemo(()=>{if(!1===v||!eN.pageSize)return eS;let{current:e=1,total:t,pageSize:n=10}=eN;return eS.lengthn?eS.slice((e-1)*n,e*n):eS:eS.slice((e-1)*n,e*n)},[!!v,eS,null==eN?void 0:eN.current,null==eN?void 0:eN.pageSize,null==eN?void 0:eN.total]),[eO,ej]=e1({prefixCls:Q,data:eS,pageData:eR,getRowKey:ef,getRecordByKey:em,expandType:ec,childrenColumnName:ei,locale:G,getPopupContainer:k||U},x);ea.__PARENT_RENDER_ICON__=ea.expandIcon,ea.expandIcon=ea.expandIcon||I||(e=>{let{prefixCls:t,onExpand:n,record:l,expanded:o,expandable:a}=e,i=`${t}-row-expand-icon`;return r.createElement("button",{type:"button",onClick:e=>{n(l,e),e.stopPropagation()},className:Z()(i,{[`${i}-spaced`]:!a,[`${i}-expanded`]:a&&o,[`${i}-collapsed`]:a&&!o}),"aria-label":o?G.collapse:G.expand,"aria-expanded":o})}),"nest"===ec&&void 0===ea.expandIconColumnIndex?ea.expandIconColumnIndex=x?1:0:ea.expandIconColumnIndex>0&&x&&(ea.expandIconColumnIndex-=1),"number"!=typeof ea.indentSize&&(ea.indentSize="number"==typeof P?P:15);let eP=r.useCallback(e=>ek(eO(eC(eg(e)))),[eg,eC,eO]);if(!1!==v&&(null==eN?void 0:eN.total)){let e;e=eN.size?eN.size:"small"===Y||"middle"===Y?"small":void 0;let t=t=>r.createElement(te.Z,Object.assign({},eN,{className:Z()(`${Q}-pagination ${Q}-pagination-${t}`,eN.className),size:e})),n="rtl"===D?"left":"right",{position:l}=eN;if(null!==l&&Array.isArray(l)){let e=l.find(e=>e.includes("top")),r=l.find(e=>e.includes("bottom")),o=l.every(e=>"none"==`${e}`);e||r||o||(c=t(n)),e&&(i=t(e.toLowerCase().replace("top",""))),r&&(c=t(r.toLowerCase().replace("bottom","")))}else c=t(n)}"boolean"==typeof N?d={spinning:N}:"object"==typeof N&&(d=Object.assign({spinning:!0},N));let eT=Z()(eo,en,`${Q}-wrapper`,null==q?void 0:q.className,{[`${Q}-wrapper-rtl`]:"rtl"===D},u,f,el),eM=Object.assign(Object.assign({},null==q?void 0:q.style),p),eB=void 0!==(null==B?void 0:B.emptyText)?B.emptyText:(null==X?void 0:X("Table"))||r.createElement(e3.Z,{componentName:"Table"}),eH={},ez=r.useMemo(()=>{let{fontSize:e,lineHeight:t,padding:n,paddingXS:r,paddingSM:l}=et,o=Math.floor(e*t);switch(Y){case"large":return 2*n+o;case"small":return 2*r+o;default:return 2*l+o}},[et,Y]);return z&&(eH.listItemHeight=ez),er(r.createElement("div",{ref:es,className:eT,style:eM},r.createElement(tt.Z,Object.assign({spinning:!1},d),i,r.createElement(z?t0:tQ,Object.assign({},eH,F,{ref:eu,columns:_,direction:D,expandable:ea,prefixCls:Q,className:Z()({[`${Q}-middle`]:"middle"===Y,[`${Q}-small`]:"small"===Y,[`${Q}-bordered`]:h,[`${Q}-empty`]:0===J.length},eo,en,el),data:eR,rowKey:ef,rowClassName:(e,t,n)=>{let r;return r="function"==typeof w?Z()(w(e,t,n)):Z()(w),Z()({[`${Q}-row-selected`]:ej.has(ef(e,t))},r)},emptyText:eB,internalHooks:o,internalRefs:ed,transformColumns:eP,getContainerWidth:(e,t)=>{let n=e.querySelector(`.${Q}-container`),r=t;if(n){let e=getComputedStyle(n),l=parseInt(e.borderLeftWidth,10),o=parseInt(e.borderRightWidth,10);r=t-l-o}return r}})),c)))});let nb=r.forwardRef((e,t)=>{let n=r.useRef(0);return n.current+=1,r.createElement(nh,Object.assign({},e,{ref:t,_renderTimes:n.current}))});nb.SELECTION_COLUMN=eU,nb.EXPAND_COLUMN=l,nb.SELECTION_ALL=eY,nb.SELECTION_INVERT=eG,nb.SELECTION_NONE=eJ,nb.Column=e=>null,nb.ColumnGroup=e=>null,nb.Summary=z;var ng=nb},41952:function(e,t,n){n.d(t,{Z:function(){return j}});var r=n(99814),l=n(96641),o=n(67294),a=n(41018),i=n(83963),c=n(48898),d=n(30672),s=o.forwardRef(function(e,t){return o.createElement(d.Z,(0,i.Z)({},e,{ref:t,icon:c.Z}))}),u=n(85118),f=o.forwardRef(function(e,t){return o.createElement(d.Z,(0,i.Z)({},e,{ref:t,icon:u.Z}))}),p=n(93967),m=n.n(p),h=n(10225),b=n(1089),g=n(53124),v=n(48792),x=o.forwardRef(function(e,t){return o.createElement(d.Z,(0,i.Z)({},e,{ref:t,icon:v.Z}))}),y=n(33603),w=n(25976),C=n(32157),E=function(e){let{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:l,direction:a="ltr"}=e,i="ltr"===a?"left":"right",c={[i]:-n*l+4,["ltr"===a?"right":"left"]:0};switch(t){case -1:c.top=-3;break;case 1:c.bottom=-3;break;default:c.bottom=-3,c[i]=l+4}return o.createElement("div",{style:c,className:`${r}-drop-indicator`})},$=n(59657);let S=o.forwardRef((e,t)=>{var n;let{getPrefixCls:l,direction:a,virtual:i,tree:c}=o.useContext(g.E_),{prefixCls:d,className:s,showIcon:u=!1,showLine:f,switcherIcon:p,switcherLoadingIcon:h,blockNode:b=!1,children:v,checkable:S=!1,selectable:Z=!0,draggable:k,motion:N,style:I}=e,R=l("tree",d),O=l(),j=null!=N?N:Object.assign(Object.assign({},(0,y.Z)(O)),{motionAppear:!1}),P=Object.assign(Object.assign({},e),{checkable:S,selectable:Z,showIcon:u,motion:j,blockNode:b,showLine:!!f,dropIndicatorRender:E}),[T,M,B]=(0,C.ZP)(R),[,H]=(0,w.ZP)(),z=H.paddingXS/2+((null===(n=H.Tree)||void 0===n?void 0:n.titleHeight)||H.controlHeightSM),K=o.useMemo(()=>{if(!k)return!1;let e={};switch(typeof k){case"function":e.nodeDraggable=k;break;case"object":e=Object.assign({},k)}return!1!==e.icon&&(e.icon=e.icon||o.createElement(x,null)),e},[k]);return T(o.createElement(r.Z,Object.assign({itemHeight:z,ref:t,virtual:i},P,{style:Object.assign(Object.assign({},null==c?void 0:c.style),I),prefixCls:R,className:m()({[`${R}-icon-hide`]:!u,[`${R}-block-node`]:b,[`${R}-unselectable`]:!Z,[`${R}-rtl`]:"rtl"===a},null==c?void 0:c.className,s,M,B),direction:a,checkable:S?o.createElement("span",{className:`${R}-checkbox-inner`}):S,selectable:Z,switcherIcon:e=>o.createElement($.Z,{prefixCls:R,switcherIcon:p,switcherLoadingIcon:h,treeNodeProps:e,showLine:f}),draggable:K}),v))});function Z(e,t,n){let{key:r,children:l}=n;e.forEach(function(e){let o=e[r],a=e[l];!1!==t(o,e)&&Z(a||[],t,n)})}function k(e,t,n){let r=(0,l.Z)(t),o=[];return Z(e,(e,t)=>{let n=r.indexOf(e);return -1!==n&&(o.push(t),r.splice(n,1)),!!r.length},(0,b.w$)(n)),o}var N=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 I(e){let{isLeaf:t,expanded:n}=e;return t?o.createElement(a.Z,null):n?o.createElement(s,null):o.createElement(f,null)}function R(e){let{treeData:t,children:n}=e;return t||(0,b.zn)(n)}let O=o.forwardRef((e,t)=>{var{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:a}=e,i=N(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);let c=o.useRef(),d=o.useRef(),s=()=>{let{keyEntities:e}=(0,b.I8)(R(i));return n?Object.keys(e):r?(0,h.r7)(i.expandedKeys||a||[],e):i.expandedKeys||a||[]},[u,f]=o.useState(i.selectedKeys||i.defaultSelectedKeys||[]),[p,v]=o.useState(()=>s());o.useEffect(()=>{"selectedKeys"in i&&f(i.selectedKeys)},[i.selectedKeys]),o.useEffect(()=>{"expandedKeys"in i&&v(i.expandedKeys)},[i.expandedKeys]);let{getPrefixCls:x,direction:y}=o.useContext(g.E_),{prefixCls:w,className:C,showIcon:E=!0,expandAction:$="click"}=i,O=N(i,["prefixCls","className","showIcon","expandAction"]),j=x("tree",w),P=m()(`${j}-directory`,{[`${j}-directory-rtl`]:"rtl"===y},C);return o.createElement(S,Object.assign({icon:I,ref:t,blockNode:!0},O,{showIcon:E,expandAction:$,prefixCls:j,className:P,expandedKeys:p,selectedKeys:u,onSelect:(e,t)=>{var n;let r;let{multiple:o,fieldNames:a}=i,{node:s,nativeEvent:u}=t,{key:m=""}=s,h=R(i),g=Object.assign(Object.assign({},t),{selected:!0}),v=(null==u?void 0:u.ctrlKey)||(null==u?void 0:u.metaKey),x=null==u?void 0:u.shiftKey;o&&v?(r=e,c.current=m,d.current=r,g.selectedNodes=k(h,r,a)):o&&x?(r=Array.from(new Set([].concat((0,l.Z)(d.current||[]),(0,l.Z)(function(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:l,fieldNames:o}=e,a=[],i=0;return r&&r===l?[r]:r&&l?(Z(t,e=>{if(2===i)return!1;if(e===r||e===l){if(a.push(e),0===i)i=1;else if(1===i)return i=2,!1}else 1===i&&a.push(e);return n.includes(e)},(0,b.w$)(o)),a):[]}({treeData:h,expandedKeys:p,startKey:m,endKey:c.current,fieldNames:a}))))),g.selectedNodes=k(h,r,a)):(r=[m],c.current=m,d.current=r,g.selectedNodes=k(h,r,a)),null===(n=i.onSelect)||void 0===n||n.call(i,r,g),"selectedKeys"in i||f(r)},onExpand:(e,t)=>{var n;return"expandedKeys"in i||v(e),null===(n=i.onExpand)||void 0===n?void 0:n.call(i,e,t)}}))});S.DirectoryTree=O,S.TreeNode=r.O;var j=S},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 + `]:{[t]:{marginBlock:(0,tU.bf)(v(r).mul(-1).equal()),marginInline:`${(0,tU.bf)(v(o).sub(l).equal())} + ${(0,tU.bf)(v(l).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:m,borderBottom:x,transition:`background ${p} ease`}}},[`${t}-footer`]:{padding:`${(0,tU.bf)(r)} ${(0,tU.bf)(l)}`,color:b,background:g}})}};var ni=(0,tJ.I$)("Table",e=>{let{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:l,headerBg:o,headerColor:a,headerSortActiveBg:i,headerSortHoverBg:c,bodySortBg:d,rowHoverBg:s,rowSelectedBg:u,rowSelectedHoverBg:f,rowExpandedBg:p,cellPaddingBlock:m,cellPaddingInline:h,cellPaddingBlockMD:b,cellPaddingInlineMD:g,cellPaddingBlockSM:v,cellPaddingInlineSM:x,borderColor:y,footerBg:w,footerColor:C,headerBorderRadius:$,cellFontSize:E,cellFontSizeMD:S,cellFontSizeSM:k,headerSplitColor:Z,fixedHeaderSortActiveBg:N,headerFilterHoverBg:I,filterDropdownBg:R,expandIconBg:O,selectionColumnWidth:j,stickyScrollBarBg:P,calc:T}=e,M=(0,tQ.IX)(e,{tableFontSize:E,tableBg:r,tableRadius:$,tablePaddingVertical:m,tablePaddingHorizontal:h,tablePaddingVerticalMiddle:b,tablePaddingHorizontalMiddle:g,tablePaddingVerticalSmall:v,tablePaddingHorizontalSmall:x,tableBorderColor:y,tableHeaderTextColor:a,tableHeaderBg:o,tableFooterTextColor:C,tableFooterBg:w,tableHeaderCellSplitColor:Z,tableHeaderSortBg:i,tableHeaderSortHoverBg:c,tableBodySortBg:d,tableFixedHeaderSortActiveBg:N,tableHeaderFilterActiveBg:I,tableFilterDropdownBg:R,tableRowHoverBg:s,tableSelectedRowBg:u,tableSelectedRowHoverBg:f,zIndexTableFixed:2,zIndexTableSticky:T(2).add(1).equal({unit:!1}),tableFontSizeMiddle:S,tableFontSizeSmall:k,tableSelectionColumnWidth:j,tableExpandIconBg:O,tableExpandColumnWidth:T(l).add(T(e.padding).mul(2)).equal(),tableExpandedRowBg:p,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:P,tableScrollThumbBgHover:t,tableScrollBg:n});return[na(M),t9(M),nl(M),nn(M),t4(M),t0(M),t5(M),t3(M),nl(M),t2(M),ne(M),t7(M),nr(M),t1(M),nt(M),t6(M),no(M)]},e=>{let{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:l,colorFillContent:o,controlItemBgActive:a,controlItemBgActiveHover:i,padding:c,paddingSM:d,paddingXS:s,colorBorderSecondary:u,borderRadiusLG:f,controlHeight:p,colorTextPlaceholder:m,fontSize:h,fontSizeSM:b,lineHeight:g,lineWidth:v,colorIcon:x,colorIconHover:y,opacityLoading:w,controlInteractiveSize:C}=e,$=new tY.C(l).onBackground(n).toHexShortString(),E=new tY.C(o).onBackground(n).toHexShortString(),S=new tY.C(t).onBackground(n).toHexShortString(),k=new tY.C(x),Z=new tY.C(y),N=C/2-v,I=2*N+3*v;return{headerBg:S,headerColor:r,headerSortActiveBg:$,headerSortHoverBg:E,bodySortBg:S,rowHoverBg:S,rowSelectedBg:a,rowSelectedHoverBg:i,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:d,cellPaddingInlineMD:s,cellPaddingBlockSM:s,cellPaddingInlineSM:s,borderColor:u,headerBorderRadius:f,footerBg:S,footerColor:r,cellFontSize:h,cellFontSizeMD:h,cellFontSizeSM:h,headerSplitColor:u,fixedHeaderSortActiveBg:$,headerFilterHoverBg:o,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:p,stickyScrollBarBg:m,stickyScrollBarBorderRadius:100,expandIconMarginTop:(h*g-3*v)/2-Math.ceil((1.4*b-3*v)/2),headerIconColor:k.clone().setAlpha(k.getAlpha()*w).toRgbString(),headerIconHoverColor:Z.clone().setAlpha(Z.getAlpha()*w).toRgbString(),expandIconHalfInner:N,expandIconSize:I,expandIconScale:C/I}},{unitless:{expandIconScale:!0}});let nc=[];var nd=r.forwardRef((e,t)=>{var n,l,a;let i,c,d;let{prefixCls:s,className:u,rootClassName:f,style:p,size:m,bordered:h,dropdownPrefixCls:b,dataSource:g,pagination:v,rowSelection:x,rowKey:y="key",rowClassName:w,columns:C,children:$,childrenColumnName:E,onChange:S,getPopupContainer:Z,loading:N,expandIcon:I,expandable:R,expandedRowRender:O,expandIconColumnIndex:j,indentSize:P,scroll:T,sortDirections:M,locale:B,showSorterTooltip:H={target:"full-header"},virtual:z}=e;(0,eW.ln)("Table");let K=r.useMemo(()=>C||ep($),[C,$]),L=r.useMemo(()=>K.some(e=>e.responsive),[K]),A=(0,e9.Z)(L),_=r.useMemo(()=>{let e=new Set(Object.keys(A).filter(e=>A[e]));return K.filter(t=>!t.responsive||t.responsive.some(t=>e.has(t)))},[K,A]),F=(0,e1.Z)(e,["className","style","columns"]),{locale:W=e5.Z,direction:D,table:q,renderEmpty:X,getPrefixCls:V,getPopupContainer:U}=r.useContext(e8.E_),Y=(0,e7.Z)(m),G=Object.assign(Object.assign({},W.Table),B),J=g||nc,Q=V("table",s),ee=V("dropdown",b),[,et]=(0,tt.ZP)(),en=(0,e4.Z)(Q),[er,el,eo]=ni(Q,en),ea=Object.assign(Object.assign({childrenColumnName:E,expandIconColumnIndex:j},R),{expandIcon:null!==(n=null==R?void 0:R.expandIcon)&&void 0!==n?n:null===(l=null==q?void 0:q.expandable)||void 0===l?void 0:l.expandIcon}),{childrenColumnName:ei="children"}=ea,ec=r.useMemo(()=>J.some(e=>null==e?void 0:e[ei])?"nest":O||(null==R?void 0:R.expandedRowRender)?"row":null,[J]),ed={body:r.useRef()},es=r.useRef(null),eu=r.useRef(null);a=()=>Object.assign(Object.assign({},eu.current),{nativeElement:es.current}),(0,r.useImperativeHandle)(t,()=>{let e=a(),{nativeElement:t}=e;return"undefined"!=typeof Proxy?new Proxy(t,{get:(t,n)=>e[n]?e[n]:Reflect.get(t,n)}):(t._antProxy=t._antProxy||{},Object.keys(e).forEach(n=>{if(!(n in t._antProxy)){let r=t[n];t._antProxy[n]=r,t[n]=e[n]}}),t)});let ef=r.useMemo(()=>"function"==typeof y?y:e=>null==e?void 0:e[y],[y]),[em]=tZ(J,ei,ef),eh={},eb=function(e,t){var n,r,l,o;let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=Object.assign(Object.assign({},eh),e);a&&(null===(n=eh.resetPagination)||void 0===n||n.call(eh),(null===(r=i.pagination)||void 0===r?void 0:r.current)&&(i.pagination.current=1),v&&(null===(l=v.onChange)||void 0===l||l.call(v,1,null===(o=i.pagination)||void 0===o?void 0:o.pageSize))),T&&!1!==T.scrollToFirstRowOnChange&&ed.body.current&&(0,e2.Z)(0,{getContainer:()=>ed.body.current}),null==S||S(i.pagination,i.filters,i.sorter,{currentDataSource:tE(tF(J,i.sorterStates,ei),i.filterStates,ei),action:t})},[eg,ev,ex,ey]=tW({prefixCls:Q,mergedColumns:_,onSorterChange:(e,t)=>{eb({sorter:e,sorterStates:t},"sort",!1)},sortDirections:M||["ascend","descend"],tableLocale:G,showSorterTooltip:H}),ew=r.useMemo(()=>tF(J,ev,ei),[J,ev]);eh.sorter=ey(),eh.sorterStates=ev;let[eC,e$,eE]=tk({prefixCls:Q,locale:G,dropdownPrefixCls:ee,mergedColumns:_,onFilterChange:(e,t)=>{eb({filters:e,filterStates:t},"filter",!0)},getPopupContainer:Z||U,rootClassName:k()(f,en)}),eS=tE(ew,e$,ei);eh.filters=eE,eh.filterStates=e$;let ek=r.useMemo(()=>{let e={};return Object.keys(eE).forEach(t=>{null!==eE[t]&&(e[t]=eE[t])}),Object.assign(Object.assign({},ex),{filters:e})},[ex,eE]),[eZ]=tq(ek),[eN,eI]=tR(eS.length,(e,t)=>{eb({pagination:Object.assign(Object.assign({},eh.pagination),{current:e,pageSize:t})},"paginate")},v);eh.pagination=!1===v?{}: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}(eN,v),eh.resetPagination=eI;let eR=r.useMemo(()=>{if(!1===v||!eN.pageSize)return eS;let{current:e=1,total:t,pageSize:n=10}=eN;return eS.lengthn?eS.slice((e-1)*n,e*n):eS:eS.slice((e-1)*n,e*n)},[!!v,eS,null==eN?void 0:eN.current,null==eN?void 0:eN.pageSize,null==eN?void 0:eN.total]),[eO,ej]=e0({prefixCls:Q,data:eS,pageData:eR,getRowKey:ef,getRecordByKey:em,expandType:ec,childrenColumnName:ei,locale:G,getPopupContainer:Z||U},x);ea.__PARENT_RENDER_ICON__=ea.expandIcon,ea.expandIcon=ea.expandIcon||I||(e=>{let{prefixCls:t,onExpand:n,record:l,expanded:o,expandable:a}=e,i=`${t}-row-expand-icon`;return r.createElement("button",{type:"button",onClick:e=>{n(l,e),e.stopPropagation()},className:k()(i,{[`${i}-spaced`]:!a,[`${i}-expanded`]:a&&o,[`${i}-collapsed`]:a&&!o}),"aria-label":o?G.collapse:G.expand,"aria-expanded":o})}),"nest"===ec&&void 0===ea.expandIconColumnIndex?ea.expandIconColumnIndex=x?1:0:ea.expandIconColumnIndex>0&&x&&(ea.expandIconColumnIndex-=1),"number"!=typeof ea.indentSize&&(ea.indentSize="number"==typeof P?P:15);let eP=r.useCallback(e=>eZ(eO(eC(eg(e)))),[eg,eC,eO]);if(!1!==v&&(null==eN?void 0:eN.total)){let e;e=eN.size?eN.size:"small"===Y||"middle"===Y?"small":void 0;let t=t=>r.createElement(e6.Z,Object.assign({},eN,{className:k()(`${Q}-pagination ${Q}-pagination-${t}`,eN.className),size:e})),n="rtl"===D?"left":"right",{position:l}=eN;if(null!==l&&Array.isArray(l)){let e=l.find(e=>e.includes("top")),r=l.find(e=>e.includes("bottom")),o=l.every(e=>"none"==`${e}`);e||r||o||(c=t(n)),e&&(i=t(e.toLowerCase().replace("top",""))),r&&(c=t(r.toLowerCase().replace("bottom","")))}else c=t(n)}"boolean"==typeof N?d={spinning:N}:"object"==typeof N&&(d=Object.assign({spinning:!0},N));let eT=k()(eo,en,`${Q}-wrapper`,null==q?void 0:q.className,{[`${Q}-wrapper-rtl`]:"rtl"===D},u,f,el),eM=Object.assign(Object.assign({},null==q?void 0:q.style),p),eB=void 0!==(null==B?void 0:B.emptyText)?B.emptyText:(null==X?void 0:X("Table"))||r.createElement(e3.Z,{componentName:"Table"}),eH={},ez=r.useMemo(()=>{let{fontSize:e,lineHeight:t,padding:n,paddingXS:r,paddingSM:l}=et,o=Math.floor(e*t);switch(Y){case"large":return 2*n+o;case"small":return 2*r+o;default:return 2*l+o}},[et,Y]);return z&&(eH.listItemHeight=ez),er(r.createElement("div",{ref:es,className:eT,style:eM},r.createElement(te.Z,Object.assign({spinning:!1},d),i,r.createElement(z?tV:tX,Object.assign({},eH,F,{ref:eu,columns:_,direction:D,expandable:ea,prefixCls:Q,className:k()({[`${Q}-middle`]:"middle"===Y,[`${Q}-small`]:"small"===Y,[`${Q}-bordered`]:h,[`${Q}-empty`]:0===J.length},eo,en,el),data:eR,rowKey:ef,rowClassName:(e,t,n)=>{let r;return r="function"==typeof w?k()(w(e,t,n)):k()(w),k()({[`${Q}-row-selected`]:ej.has(ef(e,t))},r)},emptyText:eB,internalHooks:o,internalRefs:ed,transformColumns:eP,getContainerWidth:(e,t)=>{let n=e.querySelector(`.${Q}-container`),r=t;if(n){let e=getComputedStyle(n),l=parseInt(e.borderLeftWidth,10),o=parseInt(e.borderRightWidth,10);r=t-l-o}return r}})),c)))});let ns=r.forwardRef((e,t)=>{let n=r.useRef(0);return n.current+=1,r.createElement(nd,Object.assign({},e,{ref:t,_renderTimes:n.current}))});ns.SELECTION_COLUMN=eV,ns.EXPAND_COLUMN=l,ns.SELECTION_ALL=eU,ns.SELECTION_INVERT=eY,ns.SELECTION_NONE=eG,ns.Column=e=>null,ns.ColumnGroup=e=>null,ns.Summary=z;var nu=ns},20863:function(e,t,n){n.d(t,{Z:function(){return Z}});var r=n(99814),l=n(74902),o=n(67294),a=n(26911),i=n(95591),c=n(32319),d=n(93967),s=n.n(d),u=n(10225),f=n(1089),p=n(53124),m=n(29751),h=n(33603),b=n(25976),g=n(32157),v=function(e){let{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:l,direction:a="ltr"}=e,i="ltr"===a?"left":"right",c={[i]:-n*l+4,["ltr"===a?"right":"left"]:0};switch(t){case -1:c.top=-3;break;case 1:c.bottom=-3;break;default:c.bottom=-3,c[i]=l+4}return o.createElement("div",{style:c,className:`${r}-drop-indicator`})},x=n(61639);let y=o.forwardRef((e,t)=>{var n;let{getPrefixCls:l,direction:a,virtual:i,tree:c}=o.useContext(p.E_),{prefixCls:d,className:u,showIcon:f=!1,showLine:y,switcherIcon:w,switcherLoadingIcon:C,blockNode:$=!1,children:E,checkable:S=!1,selectable:k=!0,draggable:Z,motion:N,style:I}=e,R=l("tree",d),O=l(),j=null!=N?N:Object.assign(Object.assign({},(0,h.Z)(O)),{motionAppear:!1}),P=Object.assign(Object.assign({},e),{checkable:S,selectable:k,showIcon:f,motion:j,blockNode:$,showLine:!!y,dropIndicatorRender:v}),[T,M,B]=(0,g.ZP)(R),[,H]=(0,b.ZP)(),z=H.paddingXS/2+((null===(n=H.Tree)||void 0===n?void 0:n.titleHeight)||H.controlHeightSM),K=o.useMemo(()=>{if(!Z)return!1;let e={};switch(typeof Z){case"function":e.nodeDraggable=Z;break;case"object":e=Object.assign({},Z)}return!1!==e.icon&&(e.icon=e.icon||o.createElement(m.Z,null)),e},[Z]);return T(o.createElement(r.Z,Object.assign({itemHeight:z,ref:t,virtual:i},P,{style:Object.assign(Object.assign({},null==c?void 0:c.style),I),prefixCls:R,className:s()({[`${R}-icon-hide`]:!f,[`${R}-block-node`]:$,[`${R}-unselectable`]:!k,[`${R}-rtl`]:"rtl"===a},null==c?void 0:c.className,u,M,B),direction:a,checkable:S?o.createElement("span",{className:`${R}-checkbox-inner`}):S,selectable:k,switcherIcon:e=>o.createElement(x.Z,{prefixCls:R,switcherIcon:w,switcherLoadingIcon:C,treeNodeProps:e,showLine:y}),draggable:K}),E))});function w(e,t,n){let{key:r,children:l}=n;e.forEach(function(e){let o=e[r],a=e[l];!1!==t(o,e)&&w(a||[],t,n)})}function C(e,t,n){let r=(0,l.Z)(t),o=[];return w(e,(e,t)=>{let n=r.indexOf(e);return -1!==n&&(o.push(t),r.splice(n,1)),!!r.length},(0,f.w$)(n)),o}var $=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 E(e){let{isLeaf:t,expanded:n}=e;return t?o.createElement(a.Z,null):n?o.createElement(i.Z,null):o.createElement(c.Z,null)}function S(e){let{treeData:t,children:n}=e;return t||(0,f.zn)(n)}let k=o.forwardRef((e,t)=>{var{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:a}=e,i=$(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);let c=o.useRef(),d=o.useRef(),m=()=>{let{keyEntities:e}=(0,f.I8)(S(i));return n?Object.keys(e):r?(0,u.r7)(i.expandedKeys||a||[],e):i.expandedKeys||a||[]},[h,b]=o.useState(i.selectedKeys||i.defaultSelectedKeys||[]),[g,v]=o.useState(()=>m());o.useEffect(()=>{"selectedKeys"in i&&b(i.selectedKeys)},[i.selectedKeys]),o.useEffect(()=>{"expandedKeys"in i&&v(i.expandedKeys)},[i.expandedKeys]);let{getPrefixCls:x,direction:k}=o.useContext(p.E_),{prefixCls:Z,className:N,showIcon:I=!0,expandAction:R="click"}=i,O=$(i,["prefixCls","className","showIcon","expandAction"]),j=x("tree",Z),P=s()(`${j}-directory`,{[`${j}-directory-rtl`]:"rtl"===k},N);return o.createElement(y,Object.assign({icon:E,ref:t,blockNode:!0},O,{showIcon:I,expandAction:R,prefixCls:j,className:P,expandedKeys:g,selectedKeys:h,onSelect:(e,t)=>{var n;let r;let{multiple:o,fieldNames:a}=i,{node:s,nativeEvent:u}=t,{key:p=""}=s,m=S(i),h=Object.assign(Object.assign({},t),{selected:!0}),v=(null==u?void 0:u.ctrlKey)||(null==u?void 0:u.metaKey),x=null==u?void 0:u.shiftKey;o&&v?(r=e,c.current=p,d.current=r,h.selectedNodes=C(m,r,a)):o&&x?(r=Array.from(new Set([].concat((0,l.Z)(d.current||[]),(0,l.Z)(function(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:l,fieldNames:o}=e,a=[],i=0;return r&&r===l?[r]:r&&l?(w(t,e=>{if(2===i)return!1;if(e===r||e===l){if(a.push(e),0===i)i=1;else if(1===i)return i=2,!1}else 1===i&&a.push(e);return n.includes(e)},(0,f.w$)(o)),a):[]}({treeData:m,expandedKeys:g,startKey:p,endKey:c.current,fieldNames:a}))))),h.selectedNodes=C(m,r,a)):(r=[p],c.current=p,d.current=r,h.selectedNodes=C(m,r,a)),null===(n=i.onSelect)||void 0===n||n.call(i,r,h),"selectedKeys"in i||b(r)},onExpand:(e,t)=>{var n;return"expandedKeys"in i||v(e),null===(n=i.onExpand)||void 0===n?void 0:n.call(i,e,t)}}))});y.DirectoryTree=k,y.TreeNode=r.O;var Z=y},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/web/_next/static/chunks/9859-0f9a257d2a611e9c.js b/dbgpt/app/static/web/_next/static/chunks/9859-0f9a257d2a611e9c.js new file mode 100644 index 000000000..7e7160a38 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/9859-0f9a257d2a611e9c.js @@ -0,0 +1,11 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9859],{25035:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(87462),l=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 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"},o=n(13401),a=l.forwardRef(function(e,t){return l.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},99859:function(e,t,n){n.d(t,{default:function(){return eW}});var r=n(65223),l=n(74902),i=n(67294),o=n(93967),a=n.n(o),s=n(29372),c=n(33603),u=n(35792);function d(e){let[t,n]=i.useState(e);return i.useEffect(()=>{let t=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(t)}},[e]),t}var f=n(25446),m=n(14747),p=n(50438),g=n(33507),h=n(83262),b=n(83559),$=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 y=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'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 ${(0,f.bf)(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),v=(e,t)=>{let{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},x=e=>{let{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,m.Wf)(e)),y(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},v(e,e.controlHeightSM)),"&-large":Object.assign({},v(e,e.controlHeightLG))})}},w=e=>{let{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:l,antCls:i,labelRequiredMarkColor:o,labelColor:a,labelFontSize:s,labelHeight:c,labelColonMarginInlineStart:u,labelColonMarginInlineEnd:d,itemMarginBottom:f}=e;return{[t]:Object.assign(Object.assign({},(0,m.Wf)(e)),{marginBottom:f,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden${i}-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,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:c,color:a,fontSize:s,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:o,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:u,marginInlineEnd:d},[`&${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:p.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}}})}},O=(e,t)=>{let{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"}}}}},E=e=>{let{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:r,"&-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"}}}}},j=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),S=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:j(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},C=e=>{let{componentCls:t,formItemCls:n,antCls:r}=e;return{[`${t}-vertical`]:{[`${n}:not(${n}-horizontal)`]:{[`${n}-row`]:{flexDirection:"column"},[`${n}-label > label`]:{height:"auto"},[`${n}-control`]:{width:"100%"},[`${n}-label, + ${r}-col-24${n}-label, + ${r}-col-xl-24${n}-label`]:j(e)}},[`@media (max-width: ${(0,f.bf)(e.screenXSMax)})`]:[S(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:j(e)}}}],[`@media (max-width: ${(0,f.bf)(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:j(e)}}},[`@media (max-width: ${(0,f.bf)(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:j(e)}}},[`@media (max-width: ${(0,f.bf)(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:j(e)}}}}},M=e=>{let{formItemCls:t,antCls:n}=e;return{[`${t}-vertical`]:{[`${t}-row`]:{flexDirection:"column"},[`${t}-label > label`]:{height:"auto"},[`${t}-control`]:{width:"100%"}},[`${t}-vertical ${t}-label, + ${n}-col-24${t}-label, + ${n}-col-xl-24${t}-label`]:j(e),[`@media (max-width: ${(0,f.bf)(e.screenXSMax)})`]:[S(e),{[t]:{[`${n}-col-xs-24${t}-label`]:j(e)}}],[`@media (max-width: ${(0,f.bf)(e.screenSMMax)})`]:{[t]:{[`${n}-col-sm-24${t}-label`]:j(e)}},[`@media (max-width: ${(0,f.bf)(e.screenMDMax)})`]:{[t]:{[`${n}-col-md-24${t}-label`]:j(e)}},[`@media (max-width: ${(0,f.bf)(e.screenLGMax)})`]:{[t]:{[`${n}-col-lg-24${t}-label`]:j(e)}}}},I=(e,t)=>{let n=(0,h.IX)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t});return n};var k=(0,b.I$)("Form",(e,t)=>{let{rootPrefixCls:n}=t,r=I(e,n);return[x(r),w(r),$(r),O(r,r.componentCls),O(r,r.formItemCls),E(r),C(r),M(r),(0,g.Z)(r),p.kr]},e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),{order:-1e3});let F=[];function Z(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:o=F,warnings:f=F,className:m,fieldId:p,onVisibleChanged:g}=e,{prefixCls:h}=i.useContext(r.Rk),b=`${h}-item-explain`,$=(0,u.Z)(h),[y,v,x]=k(h,$),w=(0,i.useMemo)(()=>(0,c.Z)(h),[h]),O=d(o),E=d(f),j=i.useMemo(()=>null!=t?[Z(t,"help",n)]:[].concat((0,l.Z)(O.map((e,t)=>Z(e,"error","error",t))),(0,l.Z)(E.map((e,t)=>Z(e,"warning","warning",t)))),[t,n,O,E]),S={};return p&&(S.id=`${p}_help`),y(i.createElement(s.ZP,{motionDeadline:w.motionDeadline,motionName:`${h}-show-help`,visible:!!j.length,onVisibleChanged:g},e=>{let{className:t,style:n}=e;return i.createElement("div",Object.assign({},S,{className:a()(b,t,x,$,m,v),style:n,role:"alert"}),i.createElement(s.V4,Object.assign({keys:j},(0,c.Z)(h),{motionName:`${h}-show-help-item`,component:!1}),e=>{let{key:t,error:n,errorStatus:r,className:l,style:o}=e;return i.createElement("div",{key:t,className:a()(l,{[`${b}-${r}`]:r}),style:o},n)}))}))},P=n(88692),W=n(53124),R=n(98866),q=n(98675),_=n(97647),H=n(34203);let z=e=>"object"==typeof e&&null!=e&&1===e.nodeType,T=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,L=(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,D=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},V=(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(!z(e))throw TypeError("Invalid target");let f=document.scrollingElement||document.documentElement,m=[],p=e;for(;z(p)&&d(p);){if((p=D(p))===f){m.push(p);break}null!=p&&p===document.body&&L(p)&&!L(document.documentElement)||null!=p&&L(p,u)&&m.push(p)}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:$}=window,{height:y,width:v,top:x,right:w,bottom:O,left:E}=e.getBoundingClientRect(),{top:j,right:S,bottom:C,left:M}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),I="start"===a||"nearest"===a?x-j:"end"===a?O+C:x+y/2-j+C,k="center"===s?E+v/2-M+S:"end"===s?w+S:E-M,F=[];for(let e=0;e=0&&E>=0&&O<=h&&w<=g&&x>=l&&O<=c&&E>=u&&w<=i)break;let d=getComputedStyle(t),p=parseInt(d.borderLeftWidth,10),j=parseInt(d.borderTopWidth,10),S=parseInt(d.borderRightWidth,10),C=parseInt(d.borderBottomWidth,10),M=0,Z=0,N="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-S:0,P="offsetHeight"in t?t.offsetHeight-t.clientHeight-j-C:0,W="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,R="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(f===t)M="start"===a?I:"end"===a?I-h:"nearest"===a?A($,$+h,h,j,C,$+I,$+I+y,y):I-h/2,Z="start"===s?k:"center"===s?k-g/2:"end"===s?k-g:A(b,b+g,g,p,S,b+k,b+k+v,v),M=Math.max(0,M+$),Z=Math.max(0,Z+b);else{M="start"===a?I-l-j:"end"===a?I-c+C+P:"nearest"===a?A(l,c,n,j,C+P,I,I+y,y):I-(l+n/2)+P/2,Z="start"===s?k-u-p:"center"===s?k-(u+r/2)+N/2:"end"===s?k-i+S+N:A(u,i,r,p,S+N,k,k+v,v);let{scrollLeft:e,scrollTop:o}=t;M=0===R?0:Math.max(0,Math.min(o+M/R,t.scrollHeight-n/R+P)),Z=0===W?0:Math.max(0,Math.min(e+Z/W,t.scrollWidth-r/W+N)),I+=o-M,k+=e-Z}F.push({el:t,top:M,left:Z})}return F},B=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"},X=["parentNode"];function G(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function Y(e,t){if(!e.length)return;let n=e.join("_");if(t)return`${t}_${n}`;let r=X.includes(n);return r?`form_item_${n}`:n}function K(e,t,n,r,l,i){let o=r;return void 0!==i?o=i:n.validating?o="validating":e.length?o="error":t.length?o="warning":(n.touched||l&&n.validated)&&(o="success"),o}function J(e){let t=G(e);return t.join("_")}function Q(e){let[t]=(0,P.cI)(),n=i.useRef({}),r=i.useMemo(()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{let r=J(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=function(e,t){let n=t.getFieldInstance(e),r=(0,H.bn)(n);if(r)return r;let l=Y(G(e),t.__INTERNAL__.name);if(l)return document.getElementById(l)}(e,r);n&&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;let n=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(V(e,t));let r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:l,top:i,left:o}of V(e,B(t))){let e=i-n.top+n.bottom,t=o-n.left+n.right;l.scroll({top:e,left:t,behavior:r})}}(n,Object.assign({scrollMode:"if-needed",block:"nearest"},t))},getFieldInstance:e=>{let t=J(e);return n.current[t]}}),[e,t]);return[r]}var U=n(37920),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=i.forwardRef((e,t)=>{let n=i.useContext(R.Z),{getPrefixCls:l,direction:o,form:s}=i.useContext(W.E_),{prefixCls:c,className:d,rootClassName:f,size:m,disabled:p=n,form:g,colon:h,labelAlign:b,labelWrap:$,labelCol:y,wrapperCol:v,hideRequiredMark:x,layout:w="horizontal",scrollToFirstError:O,requiredMark:E,onFinishFailed:j,name:S,style:C,feedbackIcons:M,variant:I}=e,F=ee(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Z=(0,q.Z)(m),N=i.useContext(U.Z),H=(0,i.useMemo)(()=>void 0!==E?E:!x&&(!s||void 0===s.requiredMark||s.requiredMark),[x,E,s]),z=null!=h?h:null==s?void 0:s.colon,T=l("form",c),L=(0,u.Z)(T),[A,D,V]=k(T,L),B=a()(T,`${T}-${w}`,{[`${T}-hide-required-mark`]:!1===H,[`${T}-rtl`]:"rtl"===o,[`${T}-${Z}`]:Z},V,L,D,null==s?void 0:s.className,d,f),[X]=Q(g),{__INTERNAL__:G}=X;G.name=S;let Y=(0,i.useMemo)(()=>({name:S,labelAlign:b,labelCol:y,labelWrap:$,wrapperCol:v,vertical:"vertical"===w,colon:z,requiredMark:H,itemRef:G.itemRef,form:X,feedbackIcons:M}),[S,b,y,v,w,z,H,X,M]),K=i.useRef(null);i.useImperativeHandle(t,()=>{var e;return Object.assign(Object.assign({},X),{nativeElement:null===(e=K.current)||void 0===e?void 0:e.nativeElement})});let J=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=e),X.scrollToField(t,n)}};return A(i.createElement(r.pg.Provider,{value:I},i.createElement(R.n,{disabled:p},i.createElement(_.Z.Provider,{value:Z},i.createElement(r.RV,{validateMessages:N},i.createElement(r.q3.Provider,{value:Y},i.createElement(P.ZP,Object.assign({id:S},F,{name:S,onFinishFailed:e=>{if(null==j||j(e),e.errorFields.length){let t=e.errorFields[0].name;if(void 0!==O){J(O,t);return}s&&void 0!==s.scrollToFirstError&&J(s.scrollToFirstError,t)}},form:X,ref:K,style:Object.assign(Object.assign({},null==s?void 0:s.style),C),className:B}))))))))});var en=n(30470),er=n(42550),el=n(96159),ei=n(27288),eo=n(50344);let ea=()=>{let{status:e,errors:t=[],warnings:n=[]}=(0,i.useContext)(r.aM);return{status:e,errors:t,warnings:n}};ea.Context=r.aM;var es=n(75164),ec=n(5110),eu=n(8410),ed=n(98423),ef=n(92820),em=n(21584);let ep=e=>{let{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}};var eg=(0,b.bk)(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t,r=I(e,n);return[ep(r)]}),eh=e=>{let{prefixCls:t,status:n,wrapperCol:l,children:o,errors:s,warnings:c,_internalItemRender:u,extra:d,help:f,fieldId:m,marginBottom:p,onErrorVisibleChanged:g}=e,h=`${t}-item`,b=i.useContext(r.q3),$=l||b.wrapperCol||{},y=a()(`${h}-control`,$.className),v=i.useMemo(()=>Object.assign({},b),[b]);delete v.labelCol,delete v.wrapperCol;let x=i.createElement("div",{className:`${h}-control-input`},i.createElement("div",{className:`${h}-control-input-content`},o)),w=i.useMemo(()=>({prefixCls:t,status:n}),[t,n]),O=null!==p||s.length||c.length?i.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},i.createElement(r.Rk.Provider,{value:w},i.createElement(N,{fieldId:m,errors:s,warnings:c,help:f,helpStatus:n,className:`${h}-explain-connected`,onVisibleChanged:g})),!!p&&i.createElement("div",{style:{width:0,height:p}})):null,E={};m&&(E.id=`${m}_extra`);let j=d?i.createElement("div",Object.assign({},E,{className:`${h}-extra`}),d):null,S=u&&"pro_table_render"===u.mark&&u.render?u.render(e,{input:x,errorList:O,extra:j}):i.createElement(i.Fragment,null,x,O,j);return i.createElement(r.q3.Provider,{value:v},i.createElement(em.Z,Object.assign({},$,{className:y}),S),i.createElement(eg,{prefixCls:t}))},eb=n(25035),e$=n(10110),ey=n(24457),ev=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:l,htmlFor:o,labelCol:s,labelAlign:c,colon:u,required:d,requiredMark:f,tooltip:m,vertical:p}=e,[g]=(0,e$.Z)("Form"),{labelAlign:h,labelCol:b,labelWrap:$,colon:y}=i.useContext(r.q3);if(!l)return null;let v=s||b||{},x=`${n}-item-label`,w=a()(x,"left"===(c||h)&&`${x}-left`,v.className,{[`${x}-wrap`]:!!$}),O=l,E=!0===u||!1!==y&&!1!==u;E&&!p&&"string"==typeof l&&l.trim()&&(O=l.replace(/[:|:]\s*$/,""));let j=m?"object"!=typeof m||i.isValidElement(m)?{title:m}:m:null;if(j){let{icon:e=i.createElement(eb.Z,null)}=j,t=ex(j,["icon"]),r=i.createElement(ev.Z,Object.assign({},t),i.cloneElement(e,{className:`${n}-item-tooltip`,title:"",onClick:e=>{e.preventDefault()},tabIndex:null}));O=i.createElement(i.Fragment,null,O,r)}let S="optional"===f,C="function"==typeof f;C?O=f(O,{required:!!d}):S&&!d&&(O=i.createElement(i.Fragment,null,O,i.createElement("span",{className:`${n}-item-optional`,title:""},(null==g?void 0:g.optional)||(null===(t=ey.Z.Form)||void 0===t?void 0:t.optional))));let M=a()({[`${n}-item-required`]:d,[`${n}-item-required-mark-optional`]:S||C,[`${n}-item-no-colon`]:!E});return i.createElement(em.Z,Object.assign({},v,{className:w}),i.createElement("label",{htmlFor:o,className:M,title:"string"==typeof l?l:""},O))},eO=n(89739),eE=n(4340),ej=n(21640),eS=n(50888);let eC={success:eO.Z,warning:ej.Z,error:eE.Z,validating:eS.Z};function eM(e){let{children:t,errors:n,warnings:l,hasFeedback:o,validateStatus:s,prefixCls:c,meta:u,noStyle:d}=e,f=`${c}-item`,{feedbackIcons:m}=i.useContext(r.q3),p=K(n,l,u,null,!!o,s),{isFormItemInput:g,status:h,hasFeedback:b,feedbackIcon:$}=i.useContext(r.aM),y=i.useMemo(()=>{var e;let t;if(o){let r=!0!==o&&o.icons||m,s=p&&(null===(e=null==r?void 0:r({status:p,errors:n,warnings:l}))||void 0===e?void 0:e[p]),c=p&&eC[p];t=!1!==s&&c?i.createElement("span",{className:a()(`${f}-feedback-icon`,`${f}-feedback-icon-${p}`)},s||i.createElement(c,null)):null}let r={status:p||"",errors:n,warnings:l,hasFeedback:!!o,feedbackIcon:t,isFormItemInput:!0};return d&&(r.status=(null!=p?p:h)||"",r.isFormItemInput=g,r.hasFeedback=!!(null!=o?o:b),r.feedbackIcon=void 0!==o?r.feedbackIcon:$),r},[p,o,d,g,h]);return i.createElement(r.aM.Provider,{value:y},t)}var eI=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 ek(e){let{prefixCls:t,className:n,rootClassName:l,style:o,help:s,errors:c,warnings:u,validateStatus:f,meta:m,hasFeedback:p,hidden:g,children:h,fieldId:b,required:$,isRequired:y,onSubItemMetaChange:v,layout:x}=e,w=eI(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),O=`${t}-item`,{requiredMark:E,vertical:j}=i.useContext(r.q3),S=i.useRef(null),C=d(c),M=d(u),I=null!=s,k=!!(I||c.length||u.length),F=!!S.current&&(0,ec.Z)(S.current),[Z,N]=i.useState(null);(0,eu.Z)(()=>{if(k&&S.current){let e=getComputedStyle(S.current);N(parseInt(e.marginBottom,10))}},[k,F]);let P=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?C:m.errors,n=e?M:m.warnings;return K(t,n,m,"",!!p,f)}(),W=a()(O,n,l,{[`${O}-with-help`]:I||C.length||M.length,[`${O}-has-feedback`]:P&&p,[`${O}-has-success`]:"success"===P,[`${O}-has-warning`]:"warning"===P,[`${O}-has-error`]:"error"===P,[`${O}-is-validating`]:"validating"===P,[`${O}-hidden`]:g,[`${O}-${x}`]:x});return i.createElement("div",{className:W,style:o,ref:S},i.createElement(ef.Z,Object.assign({className:`${O}-row`},(0,ed.Z)(w,["_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","validateDebounce"])),i.createElement(ew,Object.assign({htmlFor:b},e,{requiredMark:E,required:null!=$?$:y,prefixCls:t,vertical:j||"vertical"===x})),i.createElement(eh,Object.assign({},e,m,{errors:C,warnings:M,prefixCls:t,status:P,help:s,marginBottom:Z,onErrorVisibleChanged:e=>{e||N(null)}}),i.createElement(r.qI.Provider,{value:v},i.createElement(eM,{prefixCls:t,meta:m,errors:m.errors,warnings:m.warnings,hasFeedback:p,validateStatus:P},h)))),!!Z&&i.createElement("div",{className:`${O}-margin-offset`,style:{marginBottom:-Z}}))}let eF=i.memo(e=>{let{children:t}=e;return t},(e,t)=>(function(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>{let r=e[n],l=t[n];return r===l||"function"==typeof r||"function"==typeof l})})(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((e,n)=>e===t.childProps[n]));function eZ(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}let eN=function(e){let{name:t,noStyle:n,className:o,dependencies:s,prefixCls:c,shouldUpdate:d,rules:f,children:m,required:p,label:g,messageVariables:h,trigger:b="onChange",validateTrigger:$,hidden:y,help:v,layout:x}=e,{getPrefixCls:w}=i.useContext(W.E_),{name:O}=i.useContext(r.q3),E=function(e){if("function"==typeof e)return e;let t=(0,eo.Z)(e);return t.length<=1?t[0]:t}(m),j="function"==typeof E,S=i.useContext(r.qI),{validateTrigger:C}=i.useContext(P.zb),M=void 0!==$?$:C,I=null!=t,F=w("form",c),Z=(0,u.Z)(F),[N,R,q]=k(F,Z);(0,ei.ln)("Form.Item");let _=i.useContext(P.ZM),H=i.useRef(),[z,T]=function(e){let[t,n]=i.useState(e),r=(0,i.useRef)(null),l=(0,i.useRef)([]),o=(0,i.useRef)(!1);return i.useEffect(()=>(o.current=!1,()=>{o.current=!0,es.Z.cancel(r.current),r.current=null}),[]),[t,function(e){o.current||(null===r.current&&(l.current=[],r.current=(0,es.Z)(()=>{r.current=null,n(e=>{let t=e;return l.current.forEach(e=>{t=e(t)}),t})})),l.current.push(e))}]}({}),[L,A]=(0,en.Z)(()=>eZ()),D=(e,t)=>{T(n=>{let r=Object.assign({},n),i=[].concat((0,l.Z)(e.name.slice(0,-1)),(0,l.Z)(t)),o=i.join("__SPLIT__");return e.destroy?delete r[o]:r[o]=e,r})},[V,B]=i.useMemo(()=>{let e=(0,l.Z)(L.errors),t=(0,l.Z)(L.warnings);return Object.values(z).forEach(n=>{e.push.apply(e,(0,l.Z)(n.errors||[])),t.push.apply(t,(0,l.Z)(n.warnings||[]))}),[e,t]},[z,L.errors,L.warnings]),X=function(){let{itemRef:e}=i.useContext(r.q3),t=i.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,er.sQ)(e(n),l)),t.current.ref}}();function K(t,r,l){return n&&!y?i.createElement(eM,{prefixCls:F,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:L,errors:V,warnings:B,noStyle:!0},t):i.createElement(ek,Object.assign({key:"row"},e,{className:a()(o,q,Z,R),prefixCls:F,fieldId:r,isRequired:l,errors:V,warnings:B,meta:L,onSubItemMetaChange:D,layout:x}),t)}if(!I&&!j&&!s)return N(K(E));let J={};return"string"==typeof g?J.label=g:t&&(J.label=String(t)),h&&(J=Object.assign(Object.assign({},J),h)),N(i.createElement(P.gN,Object.assign({},e,{messageVariables:J,trigger:b,validateTrigger:M,onMetaChange:e=>{let t=null==_?void 0:_.getKey(e.name);if(A(e.destroy?eZ():e,!0),n&&!1!==v&&S){let n=e.name;if(e.destroy)n=H.current||n;else if(void 0!==t){let[e,r]=t;n=[e].concat((0,l.Z)(r)),H.current=n}S(e,n)}}}),(n,r,o)=>{let a=G(t).length&&r?r.name:[],c=Y(a,O),u=void 0!==p?p:!!(null==f?void 0:f.some(e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){let t=e(o);return(null==t?void 0:t.required)&&!(null==t?void 0:t.warningOnly)}return!1})),m=Object.assign({},n),g=null;if(Array.isArray(E)&&I)g=E;else if(j&&(!(d||s)||I));else if(!s||j||I){if(i.isValidElement(E)){let t=Object.assign(Object.assign({},E.props),m);if(t.id||(t.id=c),v||V.length>0||B.length>0||e.extra){let n=[];(v||V.length>0)&&n.push(`${c}_help`),e.extra&&n.push(`${c}_extra`),t["aria-describedby"]=n.join(" ")}V.length>0&&(t["aria-invalid"]="true"),u&&(t["aria-required"]="true"),(0,er.Yr)(E)&&(t.ref=X(a,E));let n=new Set([].concat((0,l.Z)(G(b)),(0,l.Z)(G(M))));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};et.Item=eN,et.List=e=>{var{prefixCls:t,children:n}=e,l=eP(e,["prefixCls","children"]);let{getPrefixCls:o}=i.useContext(W.E_),a=o("form",t),s=i.useMemo(()=>({prefixCls:a,status:"error"}),[a]);return i.createElement(P.aV,Object.assign({},l),(e,t,l)=>i.createElement(r.Rk.Provider,{value:s},n(e.map(e=>Object.assign(Object.assign({},e),{fieldKey:e.key})),t,{errors:l.errors,warnings:l.warnings})))},et.ErrorList=N,et.useForm=Q,et.useFormInstance=function(){let{form:e}=(0,i.useContext)(r.q3);return e},et.useWatch=P.qo,et.Provider=r.RV,et.create=()=>{};var eW=et},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(67294),l=n(93967),i=n.n(l),o=n(53124),a=n(99134),s=n(6999),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 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 u(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let d=["xs","sm","md","lg","xl","xxl"],f=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:l}=r.useContext(o.E_),{gutter:f,wrap:m}=r.useContext(a.Z),{prefixCls:p,span:g,order:h,offset:b,push:$,pull:y,className:v,children:x,flex:w,style:O}=e,E=c(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),j=n("col",p),[S,C,M]=(0,s.cG)(j),I={},k={};d.forEach(t=>{let n={},r=e[t];"number"==typeof r?n.span=r:"object"==typeof r&&(n=r||{}),delete E[t],k=Object.assign(Object.assign({},k),{[`${j}-${t}-${n.span}`]:void 0!==n.span,[`${j}-${t}-order-${n.order}`]:n.order||0===n.order,[`${j}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${j}-${t}-push-${n.push}`]:n.push||0===n.push,[`${j}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${j}-rtl`]:"rtl"===l}),n.flex&&(k[`${j}-${t}-flex`]=!0,I[`--${j}-${t}-flex`]=u(n.flex))});let F=i()(j,{[`${j}-${g}`]:void 0!==g,[`${j}-order-${h}`]:h,[`${j}-offset-${b}`]:b,[`${j}-push-${$}`]:$,[`${j}-pull-${y}`]:y},v,k,C,M),Z={};if(f&&f[0]>0){let e=f[0]/2;Z.paddingLeft=e,Z.paddingRight=e}return w&&(Z.flex=u(w),!1!==m||Z.minWidth||(Z.minWidth=0)),S(r.createElement("div",Object.assign({},E,{style:Object.assign(Object.assign(Object.assign({},Z),O),I),className:F,ref:t}),x))});t.Z=f},92820:function(e,t,n){var r=n(67294),l=n(93967),i=n.n(l),o=n(74443),a=n(53124),s=n(99134),c=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};function d(e,t){let[n,l]=r.useState("string"==typeof e?e:""),i=()=>{if("string"==typeof e&&l(e),"object"==typeof e)for(let n=0;n{i()},[JSON.stringify(e),t]),n}let f=r.forwardRef((e,t)=>{let{prefixCls:n,justify:l,align:f,className:m,style:p,children:g,gutter:h=0,wrap:b}=e,$=u(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:y,direction:v}=r.useContext(a.E_),[x,w]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[O,E]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),j=d(f,O),S=d(l,O),C=r.useRef(h),M=(0,o.ZP)();r.useEffect(()=>{let e=M.subscribe(e=>{E(e);let t=C.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&w(e)});return()=>M.unsubscribe(e)},[]);let I=y("row",n),[k,F,Z]=(0,c.VM)(I),N=(()=>{let e=[void 0,void 0],t=Array.isArray(h)?h:[h,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let r=0;r0?-(N[0]/2):void 0;R&&(W.marginLeft=R,W.marginRight=R);let[q,_]=N;W.rowGap=_;let H=r.useMemo(()=>({gutter:[q,_],wrap:b}),[q,_,b]);return k(r.createElement(s.Z.Provider,{value:H},r.createElement("div",Object.assign({},$,{className:P,style:Object.assign(Object.assign({},W),p),ref:t}),g)))});t.Z=f},6999:function(e,t,n){n.d(t,{VM:function(){return u},cG:function(){return d}});var r=n(25446),l=n(83559),i=n(83262);let o=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},a=(e,t)=>{let{prefixCls:n,componentCls:r,gridColumns:l}=e,i={};for(let e=l;e>=0;e--)0===e?(i[`${r}${t}-${e}`]={display:"none"},i[`${r}-push-${e}`]={insetInlineStart:"auto"},i[`${r}-pull-${e}`]={insetInlineEnd:"auto"},i[`${r}${t}-push-${e}`]={insetInlineStart:"auto"},i[`${r}${t}-pull-${e}`]={insetInlineEnd:"auto"},i[`${r}${t}-offset-${e}`]={marginInlineStart:0},i[`${r}${t}-order-${e}`]={order:0}):(i[`${r}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/l*100}%`,maxWidth:`${e/l*100}%`}],i[`${r}${t}-push-${e}`]={insetInlineStart:`${e/l*100}%`},i[`${r}${t}-pull-${e}`]={insetInlineEnd:`${e/l*100}%`},i[`${r}${t}-offset-${e}`]={marginInlineStart:`${e/l*100}%`},i[`${r}${t}-order-${e}`]={order:e});return i[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},i},s=(e,t)=>a(e,t),c=(e,t,n)=>({[`@media (min-width: ${(0,r.bf)(t)})`]:Object.assign({},s(e,n))}),u=(0,l.I$)("Grid",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"}}}},()=>({})),d=(0,l.I$)("Grid",e=>{let t=(0,i.IX)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[o(t),s(t,""),s(t,"-xs"),Object.keys(n).map(e=>c(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9870.f3f36cd80a4dfb5e.js b/dbgpt/app/static/web/_next/static/chunks/9870.840bc6d1669099fc.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/9870.f3f36cd80a4dfb5e.js rename to dbgpt/app/static/web/_next/static/chunks/9870.840bc6d1669099fc.js index 091dba843..a590216f0 100644 --- a/dbgpt/app/static/web/_next/static/chunks/9870.f3f36cd80a4dfb5e.js +++ b/dbgpt/app/static/web/_next/static/chunks/9870.840bc6d1669099fc.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9870],{15381:function(e,t,n){n.d(t,{Z:function(){return i}});var l=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},s=n(13401),i=r.forwardRef(function(e,t){return r.createElement(s.Z,(0,l.Z)({},e,{ref:t,icon:a}))})},65429:function(e,t,n){n.d(t,{Z:function(){return i}});var l=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},s=n(13401),i=r.forwardRef(function(e,t){return r.createElement(s.Z,(0,l.Z)({},e,{ref:t,icon:a}))})},2093:function(e,t,n){var l=n(97582),r=n(67294),a=n(92770);t.Z=function(e,t){(0,r.useEffect)(function(){var t=e(),n=!1;return!function(){(0,l.mG)(this,void 0,void 0,function(){return(0,l.Jh)(this,function(e){switch(e.label){case 0:if(!(0,a.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},86250:function(e,t,n){n.d(t,{Z:function(){return O}});var l=n(67294),r=n(93967),a=n.n(r),s=n(98423),i=n(98065),c=n(53124),o=n(83559),u=n(87893);let f=["wrap","nowrap","wrap-reverse"],d=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],p=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],x=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&f.includes(n)}},m=(e,t)=>{let n={};return p.forEach(l=>{n[`${e}-align-${l}`]=t.align===l}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},g=(e,t)=>{let n={};return d.forEach(l=>{n[`${e}-justify-${l}`]=t.justify===l}),n},y=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},h=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},$=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},b=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var j=(0,o.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:l}=e,r=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:l});return[y(r),h(r),v(r),$(r),b(r)]},()=>({}),{resetStyle:!1}),w=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let C=l.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:r,className:o,style:u,flex:f,gap:d,children:p,vertical:y=!1,component:h="div"}=e,v=w(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:$,direction:b,getPrefixCls:C}=l.useContext(c.E_),O=C("flex",n),[N,k,Z]=j(O),_=null!=y?y:null==$?void 0:$.vertical,S=a()(o,r,null==$?void 0:$.className,O,k,Z,a()(Object.assign(Object.assign(Object.assign({},x(O,e)),m(O,e)),g(O,e))),{[`${O}-rtl`]:"rtl"===b,[`${O}-gap-${d}`]:(0,i.n)(d),[`${O}-vertical`]:_}),E=Object.assign(Object.assign({},null==$?void 0:$.style),u);return f&&(E.flex=f),d&&!(0,i.n)(d)&&(E.gap=d),N(l.createElement(h,Object.assign({ref:t,className:S,style:E},(0,s.Z)(v,["justify","wrap","align"])),p))});var O=C},99134:function(e,t,n){var l=n(67294);let r=(0,l.createContext)({});t.Z=r},21584:function(e,t,n){var l=n(67294),r=n(93967),a=n.n(r),s=n(53124),i=n(99134),c=n(6999),o=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};function u(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let f=["xs","sm","md","lg","xl","xxl"],d=l.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=l.useContext(s.E_),{gutter:d,wrap:p}=l.useContext(i.Z),{prefixCls:x,span:m,order:g,offset:y,push:h,pull:v,className:$,children:b,flex:j,style:w}=e,C=o(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),O=n("col",x),[N,k,Z]=(0,c.cG)(O),_={},S={};f.forEach(t=>{let n={},l=e[t];"number"==typeof l?n.span=l:"object"==typeof l&&(n=l||{}),delete C[t],S=Object.assign(Object.assign({},S),{[`${O}-${t}-${n.span}`]:void 0!==n.span,[`${O}-${t}-order-${n.order}`]:n.order||0===n.order,[`${O}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${O}-${t}-push-${n.push}`]:n.push||0===n.push,[`${O}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${O}-rtl`]:"rtl"===r}),n.flex&&(S[`${O}-${t}-flex`]=!0,_[`--${O}-${t}-flex`]=u(n.flex))});let E=a()(O,{[`${O}-${m}`]:void 0!==m,[`${O}-order-${g}`]:g,[`${O}-offset-${y}`]:y,[`${O}-push-${h}`]:h,[`${O}-pull-${v}`]:v},$,S,k,Z),I={};if(d&&d[0]>0){let e=d[0]/2;I.paddingLeft=e,I.paddingRight=e}return j&&(I.flex=u(j),!1!==p||I.minWidth||(I.minWidth=0)),N(l.createElement("div",Object.assign({},C,{style:Object.assign(Object.assign(Object.assign({},I),w),_),className:E,ref:t}),b))});t.Z=d},92820:function(e,t,n){var l=n(67294),r=n(93967),a=n.n(r),s=n(74443),i=n(53124),c=n(99134),o=n(6999),u=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};function f(e,t){let[n,r]=l.useState("string"==typeof e?e:""),a=()=>{if("string"==typeof e&&r(e),"object"==typeof e)for(let n=0;n{a()},[JSON.stringify(e),t]),n}let d=l.forwardRef((e,t)=>{let{prefixCls:n,justify:r,align:d,className:p,style:x,children:m,gutter:g=0,wrap:y}=e,h=u(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:v,direction:$}=l.useContext(i.E_),[b,j]=l.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[w,C]=l.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),O=f(d,w),N=f(r,w),k=l.useRef(g),Z=(0,s.ZP)();l.useEffect(()=>{let e=Z.subscribe(e=>{C(e);let t=k.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&j(e)});return()=>Z.unsubscribe(e)},[]);let _=v("row",n),[S,E,I]=(0,o.VM)(_),M=(()=>{let e=[void 0,void 0],t=Array.isArray(g)?g:[g,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let l=0;l0?-(M[0]/2):void 0;A&&(P.marginLeft=A,P.marginRight=A);let[R,V]=M;P.rowGap=V;let z=l.useMemo(()=>({gutter:[R,V],wrap:y}),[R,V,y]);return S(l.createElement(c.Z.Provider,{value:z},l.createElement("div",Object.assign({},h,{className:G,style:Object.assign(Object.assign({},P),x),ref:t}),m)))});t.Z=d},6999:function(e,t,n){n.d(t,{VM:function(){return u},cG:function(){return f}});var l=n(47648),r=n(83559),a=n(87893);let s=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},i=(e,t)=>{let{prefixCls:n,componentCls:l,gridColumns:r}=e,a={};for(let e=r;e>=0;e--)0===e?(a[`${l}${t}-${e}`]={display:"none"},a[`${l}-push-${e}`]={insetInlineStart:"auto"},a[`${l}-pull-${e}`]={insetInlineEnd:"auto"},a[`${l}${t}-push-${e}`]={insetInlineStart:"auto"},a[`${l}${t}-pull-${e}`]={insetInlineEnd:"auto"},a[`${l}${t}-offset-${e}`]={marginInlineStart:0},a[`${l}${t}-order-${e}`]={order:0}):(a[`${l}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/r*100}%`,maxWidth:`${e/r*100}%`}],a[`${l}${t}-push-${e}`]={insetInlineStart:`${e/r*100}%`},a[`${l}${t}-pull-${e}`]={insetInlineEnd:`${e/r*100}%`},a[`${l}${t}-offset-${e}`]={marginInlineStart:`${e/r*100}%`},a[`${l}${t}-order-${e}`]={order:e});return a[`${l}${t}-flex`]={flex:`var(--${n}${t}-flex)`},a},c=(e,t)=>i(e,t),o=(e,t,n)=>({[`@media (min-width: ${(0,l.bf)(t)})`]:Object.assign({},c(e,n))}),u=(0,r.I$)("Grid",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"}}}},()=>({})),f=(0,r.I$)("Grid",e=>{let t=(0,a.IX)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[s(t),c(t,""),c(t,"-xs"),Object.keys(n).map(e=>o(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},7332:function(e,t,n){n.r(t);var l=n(85893),r=n(39718),a=n(18102),s=n(96074),i=n(93967),c=n.n(i),o=n(67294),u=n(73913),f=n(32966);t.default=(0,o.memo)(e=>{let{message:t,index:n}=e,{scene:i}=(0,o.useContext)(u.MobileChatContext),{context:d,model_name:p,role:x,thinking:m}=t,g=(0,o.useMemo)(()=>"view"===x,[x]),y=(0,o.useRef)(null),{value:h}=(0,o.useMemo)(()=>{if("string"!=typeof d)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=d.split(" relations:"),n=t?t.split(","):[],l=[],r=0,a=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let n=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),a=JSON.parse(n),s="".concat(r,"");return l.push({...a,result:v(null!==(t=a.result)&&void 0!==t?t:"")}),r++,s}catch(t){return console.log(t.message,t),e}});return{relations:n,cachePluginContext:l,value:a}},[d]),v=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"").replace(/]+)>/gi,"");return(0,l.jsxs)("div",{className:c()("flex w-full",{"justify-end":!g}),ref:y,children:[!g&&(0,l.jsx)("div",{className:"flex bg-[#0C75FC] text-white p-3 rounded-xl rounded-br-none",children:d}),g&&(0,l.jsxs)("div",{className:"flex max-w-full flex-col flex-wrap bg-white dark:bg-[rgba(255,255,255,0.16)] p-3 rounded-xl rounded-bl-none",children:["string"==typeof d&&"chat_agent"===i&&(0,l.jsx)(a.default,{children:null==h?void 0:h.replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"")}),"string"==typeof d&&"chat_agent"!==i&&(0,l.jsx)(a.default,{children:v(h)}),m&&!d&&(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:"思考中"}),(0,l.jsxs)("div",{className:"flex",children:[(0,l.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,l.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,l.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]}),!m&&(0,l.jsx)(s.Z,{className:"my-2"}),(0,l.jsxs)("div",{className:c()("opacity-0 h-0 w-0",{"opacity-100 flex items-center justify-between gap-6 w-auto h-auto":!m}),children:[(0,l.jsx)(f.default,{content:t,index:n,chatDialogRef:y}),"chat_agent"!==i&&(0,l.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,l.jsx)(r.Z,{width:14,height:14,model:p}),(0,l.jsx)("span",{className:"text-xs text-gray-500",children:p})]})]})]})]})})},36818:function(e,t,n){n.r(t);var l=n(85893),r=n(67294),a=n(73913),s=n(7332);t.default=(0,r.memo)(()=>{let{history:e}=(0,r.useContext)(a.MobileChatContext),t=(0,r.useMemo)(()=>e.filter(e=>["view","human"].includes(e.role)),[e]);return(0,l.jsx)("div",{className:"flex flex-col gap-4",children:!!t.length&&t.map((e,t)=>(0,l.jsx)(s.default,{message:e,index:t},e.context+t))})})},5583:function(e,t,n){n.r(t);var l=n(85893),r=n(85265),a=n(66309),s=n(55102),i=n(14726),c=n(67294);t.default=e=>{let{open:t,setFeedbackOpen:n,list:o,feedback:u,loading:f}=e,[d,p]=(0,c.useState)([]),[x,m]=(0,c.useState)("");return(0,l.jsx)(r.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>n(!1),destroyOnClose:!0,height:"auto",children:(0,l.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,l.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==o?void 0:o.map(e=>{let t=d.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,l.jsx)(a.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{p(t=>{let n=t.findIndex(t=>t.reason_type===e.reason_type);return n>-1?[...t.slice(0,n),...t.slice(n+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,l.jsx)(s.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:x,onChange:e=>m(e.target.value.trim())}),(0,l.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,l.jsx)(i.ZP,{className:"w-16 h-8",onClick:()=>{n(!1)},children:"取消"}),(0,l.jsx)(i.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=d.map(e=>e.reason_type);await (null==u?void 0:u({feedback_type:"unlike",reason_types:e,remark:x}))},loading:f,children:"确认"})]})]})})}},32966:function(e,t,n){n.r(t);var l=n(85893),r=n(76212),a=n(65429),s=n(15381),i=n(85175),c=n(65654),o=n(31418),u=n(96074),f=n(14726),d=n(93967),p=n.n(d),x=n(20640),m=n.n(x),g=n(67294),y=n(73913),h=n(5583);t.default=e=>{var t;let{content:n,index:d,chatDialogRef:x}=e,{conv_uid:v,history:$,scene:b}=(0,g.useContext)(y.MobileChatContext),{message:j}=o.Z.useApp(),[w,C]=(0,g.useState)(!1),[O,N]=(0,g.useState)(null==n?void 0:null===(t=n.feedback)||void 0===t?void 0:t.feedback_type),[k,Z]=(0,g.useState)([]),_=async e=>{var t;let n=null==e?void 0:e.replace(/\trelations:.*/g,""),l=m()((null===(t=x.current)||void 0===t?void 0:t.textContent)||n);l?n?j.success("复制成功"):j.warning("内容复制为空"):j.error("复制失败")},{run:S,loading:E}=(0,c.Z)(async e=>await (0,r.Vx)((0,r.zx)({conv_uid:v,message_id:n.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;N(null==t?void 0:t.feedback_type),j.success("反馈成功"),C(!1)}}),{run:I}=(0,c.Z)(async()=>await (0,r.Vx)((0,r.Ir)({conv_uid:v,message_id:(null==n?void 0:n.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(N("none"),j.success("操作成功"))}}),{run:M}=(0,c.Z)(async()=>await (0,r.Vx)((0,r.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;Z(t||[]),t&&C(!0)}}),{run:G,loading:P}=(0,c.Z)(async()=>await (0,r.Vx)((0,r.Ty)({conv_id:v,round_index:0})),{manual:!0,onSuccess:()=>{j.success("操作成功")}});return(0,l.jsxs)("div",{className:"flex items-center text-sm",children:[(0,l.jsxs)("div",{className:"flex gap-3",children:[(0,l.jsx)(a.Z,{className:p()("cursor-pointer",{"text-[#0C75FC]":"like"===O}),onClick:async()=>{if("like"===O){await I();return}await S({feedback_type:"like"})}}),(0,l.jsx)(s.Z,{className:p()("cursor-pointer",{"text-[#0C75FC]":"unlike"===O}),onClick:async()=>{if("unlike"===O){await I();return}await M()}}),(0,l.jsx)(h.default,{open:w,setFeedbackOpen:C,list:k,feedback:S,loading:E})]}),(0,l.jsx)(u.Z,{type:"vertical"}),(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)(i.Z,{className:"cursor-pointer",onClick:()=>_(n.context)}),$.length-1===d&&"chat_agent"===b&&(0,l.jsx)(f.ZP,{loading:P,size:"small",onClick:async()=>{await G()},className:"text-xs",children:"终止话题"})]})]})}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9870],{15381:function(e,t,n){n.d(t,{Z:function(){return i}});var l=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},s=n(13401),i=r.forwardRef(function(e,t){return r.createElement(s.Z,(0,l.Z)({},e,{ref:t,icon:a}))})},65429:function(e,t,n){n.d(t,{Z:function(){return i}});var l=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},s=n(13401),i=r.forwardRef(function(e,t){return r.createElement(s.Z,(0,l.Z)({},e,{ref:t,icon:a}))})},2093:function(e,t,n){var l=n(97582),r=n(67294),a=n(92770);t.Z=function(e,t){(0,r.useEffect)(function(){var t=e(),n=!1;return!function(){(0,l.mG)(this,void 0,void 0,function(){return(0,l.Jh)(this,function(e){switch(e.label){case 0:if(!(0,a.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},86250:function(e,t,n){n.d(t,{Z:function(){return O}});var l=n(67294),r=n(93967),a=n.n(r),s=n(98423),i=n(98065),c=n(53124),o=n(83559),u=n(83262);let f=["wrap","nowrap","wrap-reverse"],d=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],p=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],x=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&f.includes(n)}},m=(e,t)=>{let n={};return p.forEach(l=>{n[`${e}-align-${l}`]=t.align===l}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},g=(e,t)=>{let n={};return d.forEach(l=>{n[`${e}-justify-${l}`]=t.justify===l}),n},y=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},h=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},$=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},b=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var j=(0,o.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:l}=e,r=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:l});return[y(r),h(r),v(r),$(r),b(r)]},()=>({}),{resetStyle:!1}),w=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let C=l.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:r,className:o,style:u,flex:f,gap:d,children:p,vertical:y=!1,component:h="div"}=e,v=w(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:$,direction:b,getPrefixCls:C}=l.useContext(c.E_),O=C("flex",n),[N,k,Z]=j(O),_=null!=y?y:null==$?void 0:$.vertical,S=a()(o,r,null==$?void 0:$.className,O,k,Z,a()(Object.assign(Object.assign(Object.assign({},x(O,e)),m(O,e)),g(O,e))),{[`${O}-rtl`]:"rtl"===b,[`${O}-gap-${d}`]:(0,i.n)(d),[`${O}-vertical`]:_}),E=Object.assign(Object.assign({},null==$?void 0:$.style),u);return f&&(E.flex=f),d&&!(0,i.n)(d)&&(E.gap=d),N(l.createElement(h,Object.assign({ref:t,className:S,style:E},(0,s.Z)(v,["justify","wrap","align"])),p))});var O=C},99134:function(e,t,n){var l=n(67294);let r=(0,l.createContext)({});t.Z=r},21584:function(e,t,n){var l=n(67294),r=n(93967),a=n.n(r),s=n(53124),i=n(99134),c=n(6999),o=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};function u(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let f=["xs","sm","md","lg","xl","xxl"],d=l.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=l.useContext(s.E_),{gutter:d,wrap:p}=l.useContext(i.Z),{prefixCls:x,span:m,order:g,offset:y,push:h,pull:v,className:$,children:b,flex:j,style:w}=e,C=o(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),O=n("col",x),[N,k,Z]=(0,c.cG)(O),_={},S={};f.forEach(t=>{let n={},l=e[t];"number"==typeof l?n.span=l:"object"==typeof l&&(n=l||{}),delete C[t],S=Object.assign(Object.assign({},S),{[`${O}-${t}-${n.span}`]:void 0!==n.span,[`${O}-${t}-order-${n.order}`]:n.order||0===n.order,[`${O}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${O}-${t}-push-${n.push}`]:n.push||0===n.push,[`${O}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${O}-rtl`]:"rtl"===r}),n.flex&&(S[`${O}-${t}-flex`]=!0,_[`--${O}-${t}-flex`]=u(n.flex))});let E=a()(O,{[`${O}-${m}`]:void 0!==m,[`${O}-order-${g}`]:g,[`${O}-offset-${y}`]:y,[`${O}-push-${h}`]:h,[`${O}-pull-${v}`]:v},$,S,k,Z),I={};if(d&&d[0]>0){let e=d[0]/2;I.paddingLeft=e,I.paddingRight=e}return j&&(I.flex=u(j),!1!==p||I.minWidth||(I.minWidth=0)),N(l.createElement("div",Object.assign({},C,{style:Object.assign(Object.assign(Object.assign({},I),w),_),className:E,ref:t}),b))});t.Z=d},92820:function(e,t,n){var l=n(67294),r=n(93967),a=n.n(r),s=n(74443),i=n(53124),c=n(99134),o=n(6999),u=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};function f(e,t){let[n,r]=l.useState("string"==typeof e?e:""),a=()=>{if("string"==typeof e&&r(e),"object"==typeof e)for(let n=0;n{a()},[JSON.stringify(e),t]),n}let d=l.forwardRef((e,t)=>{let{prefixCls:n,justify:r,align:d,className:p,style:x,children:m,gutter:g=0,wrap:y}=e,h=u(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:v,direction:$}=l.useContext(i.E_),[b,j]=l.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[w,C]=l.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),O=f(d,w),N=f(r,w),k=l.useRef(g),Z=(0,s.ZP)();l.useEffect(()=>{let e=Z.subscribe(e=>{C(e);let t=k.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&j(e)});return()=>Z.unsubscribe(e)},[]);let _=v("row",n),[S,E,I]=(0,o.VM)(_),M=(()=>{let e=[void 0,void 0],t=Array.isArray(g)?g:[g,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let l=0;l0?-(M[0]/2):void 0;A&&(P.marginLeft=A,P.marginRight=A);let[R,V]=M;P.rowGap=V;let z=l.useMemo(()=>({gutter:[R,V],wrap:y}),[R,V,y]);return S(l.createElement(c.Z.Provider,{value:z},l.createElement("div",Object.assign({},h,{className:G,style:Object.assign(Object.assign({},P),x),ref:t}),m)))});t.Z=d},6999:function(e,t,n){n.d(t,{VM:function(){return u},cG:function(){return f}});var l=n(25446),r=n(83559),a=n(83262);let s=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},i=(e,t)=>{let{prefixCls:n,componentCls:l,gridColumns:r}=e,a={};for(let e=r;e>=0;e--)0===e?(a[`${l}${t}-${e}`]={display:"none"},a[`${l}-push-${e}`]={insetInlineStart:"auto"},a[`${l}-pull-${e}`]={insetInlineEnd:"auto"},a[`${l}${t}-push-${e}`]={insetInlineStart:"auto"},a[`${l}${t}-pull-${e}`]={insetInlineEnd:"auto"},a[`${l}${t}-offset-${e}`]={marginInlineStart:0},a[`${l}${t}-order-${e}`]={order:0}):(a[`${l}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/r*100}%`,maxWidth:`${e/r*100}%`}],a[`${l}${t}-push-${e}`]={insetInlineStart:`${e/r*100}%`},a[`${l}${t}-pull-${e}`]={insetInlineEnd:`${e/r*100}%`},a[`${l}${t}-offset-${e}`]={marginInlineStart:`${e/r*100}%`},a[`${l}${t}-order-${e}`]={order:e});return a[`${l}${t}-flex`]={flex:`var(--${n}${t}-flex)`},a},c=(e,t)=>i(e,t),o=(e,t,n)=>({[`@media (min-width: ${(0,l.bf)(t)})`]:Object.assign({},c(e,n))}),u=(0,r.I$)("Grid",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"}}}},()=>({})),f=(0,r.I$)("Grid",e=>{let t=(0,a.IX)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[s(t),c(t,""),c(t,"-xs"),Object.keys(n).map(e=>o(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},7332:function(e,t,n){n.r(t);var l=n(85893),r=n(39718),a=n(18102),s=n(96074),i=n(93967),c=n.n(i),o=n(67294),u=n(73913),f=n(32966);t.default=(0,o.memo)(e=>{let{message:t,index:n}=e,{scene:i}=(0,o.useContext)(u.MobileChatContext),{context:d,model_name:p,role:x,thinking:m}=t,g=(0,o.useMemo)(()=>"view"===x,[x]),y=(0,o.useRef)(null),{value:h}=(0,o.useMemo)(()=>{if("string"!=typeof d)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=d.split(" relations:"),n=t?t.split(","):[],l=[],r=0,a=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let n=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),a=JSON.parse(n),s="".concat(r,"");return l.push({...a,result:v(null!==(t=a.result)&&void 0!==t?t:"")}),r++,s}catch(t){return console.log(t.message,t),e}});return{relations:n,cachePluginContext:l,value:a}},[d]),v=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"");return(0,l.jsxs)("div",{className:c()("flex w-full",{"justify-end":!g}),ref:y,children:[!g&&(0,l.jsx)("div",{className:"flex bg-[#0C75FC] text-white p-3 rounded-xl rounded-br-none",children:d}),g&&(0,l.jsxs)("div",{className:"flex max-w-full flex-col flex-wrap bg-white dark:bg-[rgba(255,255,255,0.16)] p-3 rounded-xl rounded-bl-none",children:["string"==typeof d&&"chat_agent"===i&&(0,l.jsx)(a.default,{children:null==h?void 0:h.replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"")}),"string"==typeof d&&"chat_agent"!==i&&(0,l.jsx)(a.default,{children:v(h)}),m&&!d&&(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:"思考中"}),(0,l.jsxs)("div",{className:"flex",children:[(0,l.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,l.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,l.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]}),!m&&(0,l.jsx)(s.Z,{className:"my-2"}),(0,l.jsxs)("div",{className:c()("opacity-0 h-0 w-0",{"opacity-100 flex items-center justify-between gap-6 w-auto h-auto":!m}),children:[(0,l.jsx)(f.default,{content:t,index:n,chatDialogRef:y}),"chat_agent"!==i&&(0,l.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,l.jsx)(r.Z,{width:14,height:14,model:p}),(0,l.jsx)("span",{className:"text-xs text-gray-500",children:p})]})]})]})]})})},36818:function(e,t,n){n.r(t);var l=n(85893),r=n(67294),a=n(73913),s=n(7332);t.default=(0,r.memo)(()=>{let{history:e}=(0,r.useContext)(a.MobileChatContext),t=(0,r.useMemo)(()=>e.filter(e=>["view","human"].includes(e.role)),[e]);return(0,l.jsx)("div",{className:"flex flex-col gap-4",children:!!t.length&&t.map((e,t)=>(0,l.jsx)(s.default,{message:e,index:t},e.context+t))})})},5583:function(e,t,n){n.r(t);var l=n(85893),r=n(85265),a=n(66309),s=n(25278),i=n(14726),c=n(67294);t.default=e=>{let{open:t,setFeedbackOpen:n,list:o,feedback:u,loading:f}=e,[d,p]=(0,c.useState)([]),[x,m]=(0,c.useState)("");return(0,l.jsx)(r.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>n(!1),destroyOnClose:!0,height:"auto",children:(0,l.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,l.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==o?void 0:o.map(e=>{let t=d.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,l.jsx)(a.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{p(t=>{let n=t.findIndex(t=>t.reason_type===e.reason_type);return n>-1?[...t.slice(0,n),...t.slice(n+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,l.jsx)(s.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:x,onChange:e=>m(e.target.value.trim())}),(0,l.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,l.jsx)(i.ZP,{className:"w-16 h-8",onClick:()=>{n(!1)},children:"取消"}),(0,l.jsx)(i.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=d.map(e=>e.reason_type);await (null==u?void 0:u({feedback_type:"unlike",reason_types:e,remark:x}))},loading:f,children:"确认"})]})]})})}},32966:function(e,t,n){n.r(t);var l=n(85893),r=n(76212),a=n(65429),s=n(15381),i=n(57132),c=n(65654),o=n(31418),u=n(96074),f=n(14726),d=n(93967),p=n.n(d),x=n(20640),m=n.n(x),g=n(67294),y=n(73913),h=n(5583);t.default=e=>{var t;let{content:n,index:d,chatDialogRef:x}=e,{conv_uid:v,history:$,scene:b}=(0,g.useContext)(y.MobileChatContext),{message:j}=o.Z.useApp(),[w,C]=(0,g.useState)(!1),[O,N]=(0,g.useState)(null==n?void 0:null===(t=n.feedback)||void 0===t?void 0:t.feedback_type),[k,Z]=(0,g.useState)([]),_=async e=>{var t;let n=null==e?void 0:e.replace(/\trelations:.*/g,""),l=m()((null===(t=x.current)||void 0===t?void 0:t.textContent)||n);l?n?j.success("复制成功"):j.warning("内容复制为空"):j.error("复制失败")},{run:S,loading:E}=(0,c.Z)(async e=>await (0,r.Vx)((0,r.zx)({conv_uid:v,message_id:n.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;N(null==t?void 0:t.feedback_type),j.success("反馈成功"),C(!1)}}),{run:I}=(0,c.Z)(async()=>await (0,r.Vx)((0,r.Ir)({conv_uid:v,message_id:(null==n?void 0:n.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(N("none"),j.success("操作成功"))}}),{run:M}=(0,c.Z)(async()=>await (0,r.Vx)((0,r.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;Z(t||[]),t&&C(!0)}}),{run:G,loading:P}=(0,c.Z)(async()=>await (0,r.Vx)((0,r.Ty)({conv_id:v,round_index:0})),{manual:!0,onSuccess:()=>{j.success("操作成功")}});return(0,l.jsxs)("div",{className:"flex items-center text-sm",children:[(0,l.jsxs)("div",{className:"flex gap-3",children:[(0,l.jsx)(a.Z,{className:p()("cursor-pointer",{"text-[#0C75FC]":"like"===O}),onClick:async()=>{if("like"===O){await I();return}await S({feedback_type:"like"})}}),(0,l.jsx)(s.Z,{className:p()("cursor-pointer",{"text-[#0C75FC]":"unlike"===O}),onClick:async()=>{if("unlike"===O){await I();return}await M()}}),(0,l.jsx)(h.default,{open:w,setFeedbackOpen:C,list:k,feedback:S,loading:E})]}),(0,l.jsx)(u.Z,{type:"vertical"}),(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)(i.Z,{className:"cursor-pointer",onClick:()=>_(n.context)}),$.length-1===d&&"chat_agent"===b&&(0,l.jsx)(f.ZP,{loading:P,size:"small",onClick:async()=>{await G()},className:"text-xs",children:"终止话题"})]})]})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9907.a12f26925445b996.js b/dbgpt/app/static/web/_next/static/chunks/9907.fa83373a058c3993.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/9907.a12f26925445b996.js rename to dbgpt/app/static/web/_next/static/chunks/9907.fa83373a058c3993.js index 9213aaac7..e40b14cc1 100644 --- a/dbgpt/app/static/web/_next/static/chunks/9907.a12f26925445b996.js +++ b/dbgpt/app/static/web/_next/static/chunks/9907.fa83373a058c3993.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9907],{39907:function(e,n,t){t.r(n),t.d(n,{conf:function(){return o},language:function(){return r}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var o={comments:{lineComment:"'",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"],["addhandler","end addhandler"],["class","end class"],["enum","end enum"],["event","end event"],["function","end function"],["get","end get"],["if","end if"],["interface","end interface"],["module","end module"],["namespace","end namespace"],["operator","end operator"],["property","end property"],["raiseevent","end raiseevent"],["removehandler","end removehandler"],["select","end select"],["set","end set"],["structure","end structure"],["sub","end sub"],["synclock","end synclock"],["try","end try"],["while","end while"],["with","end with"],["using","end using"],["do","loop"],["for","next"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"<",close:">",notIn:["string","comment"]}],folding:{markers:{start:RegExp("^\\s*#Region\\b"),end:RegExp("^\\s*#End Region\\b")}}},r={defaultToken:"",tokenPostfix:".vb",ignoreCase:!0,brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.angle",open:"<",close:">"},{token:"keyword.tag-addhandler",open:"addhandler",close:"end addhandler"},{token:"keyword.tag-class",open:"class",close:"end class"},{token:"keyword.tag-enum",open:"enum",close:"end enum"},{token:"keyword.tag-event",open:"event",close:"end event"},{token:"keyword.tag-function",open:"function",close:"end function"},{token:"keyword.tag-get",open:"get",close:"end get"},{token:"keyword.tag-if",open:"if",close:"end if"},{token:"keyword.tag-interface",open:"interface",close:"end interface"},{token:"keyword.tag-module",open:"module",close:"end module"},{token:"keyword.tag-namespace",open:"namespace",close:"end namespace"},{token:"keyword.tag-operator",open:"operator",close:"end operator"},{token:"keyword.tag-property",open:"property",close:"end property"},{token:"keyword.tag-raiseevent",open:"raiseevent",close:"end raiseevent"},{token:"keyword.tag-removehandler",open:"removehandler",close:"end removehandler"},{token:"keyword.tag-select",open:"select",close:"end select"},{token:"keyword.tag-set",open:"set",close:"end set"},{token:"keyword.tag-structure",open:"structure",close:"end structure"},{token:"keyword.tag-sub",open:"sub",close:"end sub"},{token:"keyword.tag-synclock",open:"synclock",close:"end synclock"},{token:"keyword.tag-try",open:"try",close:"end try"},{token:"keyword.tag-while",open:"while",close:"end while"},{token:"keyword.tag-with",open:"with",close:"end with"},{token:"keyword.tag-using",open:"using",close:"end using"},{token:"keyword.tag-do",open:"do",close:"loop"},{token:"keyword.tag-for",open:"for",close:"next"}],keywords:["AddHandler","AddressOf","Alias","And","AndAlso","As","Async","Boolean","ByRef","Byte","ByVal","Call","Case","Catch","CBool","CByte","CChar","CDate","CDbl","CDec","Char","CInt","Class","CLng","CObj","Const","Continue","CSByte","CShort","CSng","CStr","CType","CUInt","CULng","CUShort","Date","Decimal","Declare","Default","Delegate","Dim","DirectCast","Do","Double","Each","Else","ElseIf","End","EndIf","Enum","Erase","Error","Event","Exit","False","Finally","For","Friend","Function","Get","GetType","GetXMLNamespace","Global","GoSub","GoTo","Handles","If","Implements","Imports","In","Inherits","Integer","Interface","Is","IsNot","Let","Lib","Like","Long","Loop","Me","Mod","Module","MustInherit","MustOverride","MyBase","MyClass","NameOf","Namespace","Narrowing","New","Next","Not","Nothing","NotInheritable","NotOverridable","Object","Of","On","Operator","Option","Optional","Or","OrElse","Out","Overloads","Overridable","Overrides","ParamArray","Partial","Private","Property","Protected","Public","RaiseEvent","ReadOnly","ReDim","RemoveHandler","Resume","Return","SByte","Select","Set","Shadows","Shared","Short","Single","Static","Step","Stop","String","Structure","Sub","SyncLock","Then","Throw","To","True","Try","TryCast","TypeOf","UInteger","ULong","UShort","Using","Variant","Wend","When","While","Widening","With","WithEvents","WriteOnly","Xor"],tagwords:["If","Sub","Select","Try","Class","Enum","Function","Get","Interface","Module","Namespace","Operator","Set","Structure","Using","While","With","Do","Loop","For","Next","Property","Continue","AddHandler","RemoveHandler","Event","RaiseEvent","SyncLock"],symbols:/[=>{var e;return JSON.parse(null!==(e=localStorage.getItem(s.C9))&&void 0!==e?e:"")}},88331:function(e,l,t){t.r(l),t.d(l,{default:function(){return Y}});var s=t(85893),a=t(41468),n=t(76212),r=t(74434),i=t(30853),c=t(25519),o=t(24019),d=t(50888),u=t(97937),m=t(63606),x=t(89035),p=t(87554),v=t(93967),f=t.n(v),g=t(25675),h=t.n(g),j=t(39332),y=t(67294),w=t(67421),b=t(14660),N=t(55186),k=t(65429),_=t(15381),Z=t(57132),C=t(65654),S=t(66309),P=t(25278),O=t(14726),J=t(45360),$=t(55241),I=t(96074),M=t(20640),A=t.n(M);let E=e=>{let{list:l,loading:t,feedback:a,setFeedbackOpen:n}=e,{t:r}=(0,w.$G)(),[i,c]=(0,y.useState)([]),[o,d]=(0,y.useState)("");return(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("div",{className:"flex flex-1 flex-wrap w-72",children:null==l?void 0:l.map(e=>{let l=i.findIndex(l=>l.reason_type===e.reason_type)>-1;return(0,s.jsx)(S.Z,{className:"text-xs text-[#525964] mb-2 p-1 px-2 rounded-md cursor-pointer ".concat(l?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{c(l=>{let t=l.findIndex(l=>l.reason_type===e.reason_type);return t>-1?[...l.slice(0,t),...l.slice(t+1)]:[...l,e]})},children:e.reason},e.reason_type)})}),(0,s.jsx)(P.default.TextArea,{placeholder:r("feedback_tip"),className:"w-64 h-20 resize-none mb-2",value:o,onChange:e=>d(e.target.value.trim())}),(0,s.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,s.jsx)(O.ZP,{className:"w-16 h-8",onClick:()=>{n(!1)},children:"取消"}),(0,s.jsx)(O.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=i.map(e=>e.reason_type);await (null==a?void 0:a({feedback_type:"unlike",reason_types:e,remark:o}))},loading:t,children:"确认"})]})]})};var F=e=>{var l,t;let{content:a}=e,{t:r}=(0,w.$G)(),i=(0,j.useSearchParams)(),c=null!==(t=null==i?void 0:i.get("id"))&&void 0!==t?t:"",[o,d]=J.ZP.useMessage(),[u,m]=(0,y.useState)(!1),[x,p]=(0,y.useState)(null==a?void 0:null===(l=a.feedback)||void 0===l?void 0:l.feedback_type),[v,g]=(0,y.useState)(),h=async e=>{let l=null==e?void 0:e.replace(/\trelations:.*/g,""),t=A()(l);t?l?o.open({type:"success",content:r("copy_success")}):o.open({type:"warning",content:r("copy_nothing")}):o.open({type:"error",content:r("copy_failed")})},{run:b,loading:N}=(0,C.Z)(async e=>await (0,n.Vx)((0,n.zx)({conv_uid:c,message_id:a.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,l]=e;p(null==l?void 0:l.feedback_type),J.ZP.success("反馈成功"),m(!1)}}),{run:S}=(0,C.Z)(async()=>await (0,n.Vx)((0,n.Jr)()),{manual:!0,onSuccess:e=>{let[,l]=e;g(l||[]),l&&m(!0)}}),{run:P}=(0,C.Z)(async()=>await (0,n.Vx)((0,n.Ir)({conv_uid:c,message_id:(null==a?void 0:a.order)+""})),{manual:!0,onSuccess:e=>{let[,l]=e;l&&(p("none"),J.ZP.success("操作成功"))}});return(0,s.jsxs)(s.Fragment,{children:[d,(0,s.jsxs)("div",{className:"flex flex-1 items-center text-sm px-4",children:[(0,s.jsxs)("div",{className:"flex gap-3",children:[(0,s.jsx)(k.Z,{className:f()("cursor-pointer",{"text-[#0C75FC]":"like"===x}),onClick:async()=>{if("like"===x){await P();return}await b({feedback_type:"like"})}}),(0,s.jsx)($.Z,{placement:"bottom",autoAdjustOverflow:!0,destroyTooltipOnHide:!0,content:(0,s.jsx)(E,{setFeedbackOpen:m,feedback:b,list:v||[],loading:N}),trigger:"click",open:u,children:(0,s.jsx)(_.Z,{className:f()("cursor-pointer",{"text-[#0C75FC]":"unlike"===x}),onClick:async()=>{if("unlike"===x){await P();return}await S()}})})]}),(0,s.jsx)(I.Z,{type:"vertical"}),(0,s.jsx)(Z.Z,{className:"cursor-pointer",onClick:()=>h(a.context)})]})]})},T=t(50228),V=t(48218),G=t(39718),z=(0,y.memo)(e=>{var l;let{model:t}=e,a=(0,j.useSearchParams)(),n=null!==(l=null==a?void 0:a.get("scene"))&&void 0!==l?l:"";return"chat_agent"===n?(0,s.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-white dark:bg-[rgba(255,255,255,0.16)]",children:(0,s.jsx)(V.Z,{scene:n})}):t?(0,s.jsx)(G.Z,{width:32,height:32,model:t}):(0,s.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-white dark:bg-[rgba(255,255,255,0.16)]",children:(0,s.jsx)(T.Z,{})})});let B=()=>{var e;let l=JSON.parse(null!==(e=localStorage.getItem(c.C9))&&void 0!==e?e:"");return l.avatar_url?(0,s.jsx)(h(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:32,height:32,src:null==l?void 0:l.avatar_url,alt:null==l?void 0:l.nick_name}):(0,s.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-gradient-to-tr from-[#31afff] to-[#1677ff] text-xs text-white",children:null==l?void 0:l.nick_name})},D={todo:{bgClass:"bg-gray-500",icon:(0,s.jsx)(o.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,s.jsx)(d.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,s.jsx)(u.Z,{className:"ml-2"})},completed:{bgClass:"bg-green-500",icon:(0,s.jsx)(m.Z,{className:"ml-2"})}},H=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"
    ").replace(/]+)>/gi,""),L=e=>null==e?void 0:e.replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"");var R=(0,y.memo)(e=>{var l;let{content:t,onLinkClick:a}=e,{t:n}=(0,w.$G)(),r=(0,j.useSearchParams)(),c=null!==(l=null==r?void 0:r.get("scene"))&&void 0!==l?l:"",{context:o,model_name:d,role:u,thinking:m}=t,v=(0,y.useMemo)(()=>"view"===u,[u]),{value:g,cachePluginContext:h}=(0,y.useMemo)(()=>{if("string"!=typeof o)return{relations:[],value:"",cachePluginContext:[]};let[e,l]=o.split(" relations:"),t=l?l.split(","):[],s=[],a=0,n=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var l;let t=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),n=JSON.parse(t),r="".concat(a,"");return s.push({...n,result:H(null!==(l=n.result)&&void 0!==l?l:"")}),a++,r}catch(l){return console.log(l.message,l),e}});return{relations:t,cachePluginContext:s,value:n}},[o]),k=(0,y.useMemo)(()=>({"custom-view"(e){var l;let{children:t}=e,a=+t.toString();if(!h[a])return t;let{name:n,status:r,err_msg:c,result:o}=h[a],{bgClass:d,icon:u}=null!==(l=D[r])&&void 0!==l?l:{};return(0,s.jsxs)("div",{className:"bg-white dark:bg-[#212121] rounded-lg overflow-hidden my-2 flex flex-col lg:max-w-[80%]",children:[(0,s.jsxs)("div",{className:f()("flex px-4 md:px-6 py-2 items-center text-white text-sm",d),children:[n,u]}),o?(0,s.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:(0,s.jsx)(p.Z,{components:i.Z,rehypePlugins:[b.Z],remarkPlugins:[N.Z],children:null!=o?o:""})}):(0,s.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:c})]})}}),[h]);return(0,s.jsxs)("div",{className:"flex flex-1 gap-3 mt-6",children:[(0,s.jsx)("div",{className:"flex flex-shrink-0 items-start",children:v?(0,s.jsx)(z,{model:d}):(0,s.jsx)(B,{})}),(0,s.jsxs)("div",{className:"flex ".concat("chat_agent"!==c||m?"":"flex-1"," overflow-hidden"),children:[!v&&(0,s.jsx)("div",{className:"flex flex-1 items-center text-sm text-[#1c2533] dark:text-white",children:"string"==typeof o&&o}),v&&(0,s.jsxs)("div",{className:"flex flex-1 flex-col w-full",children:[(0,s.jsxs)("div",{className:"bg-white dark:bg-[rgba(255,255,255,0.16)] p-4 rounded-2xl rounded-tl-none mb-2",children:["object"==typeof o&&(0,s.jsxs)("div",{children:["[".concat(o.template_name,"]: "),(0,s.jsxs)("span",{className:"text-theme-primary cursor-pointer",onClick:a,children:[(0,s.jsx)(x.Z,{className:"mr-1"}),o.template_introduce||"More Details"]})]}),"string"==typeof o&&"chat_agent"===c&&(0,s.jsx)(p.Z,{components:{...i.Z},rehypePlugins:[b.Z],remarkPlugins:[N.Z],children:L(g)}),"string"==typeof o&&"chat_agent"!==c&&(0,s.jsx)("div",{children:(0,s.jsx)(p.Z,{components:{...i.Z,...k},rehypePlugins:[b.Z],remarkPlugins:[N.Z],children:H(g)})}),m&&!o&&(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:n("thinking")}),(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,s.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,s.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]})]}),(0,s.jsx)(F,{content:t})]})]})]})}),U=t(69256),q=t(62418),K=t(2093),Q=t(85576),W=t(96486),X=t(25934),Y=()=>{var e,l;let t=(0,y.useRef)(null),i=(0,j.useSearchParams)(),c=null!==(l=null==i?void 0:i.get("id"))&&void 0!==l?l:"",{currentDialogInfo:o,model:d}=(0,y.useContext)(a.p),{history:u,handleChat:m,refreshDialogList:x,setAppInfo:p,setModelValue:v,setTemperatureValue:f,setResourceValue:g}=(0,y.useContext)(U.ChatContentContext),[h,w]=(0,y.useState)(!1),[b,N]=(0,y.useState)(""),k=(0,y.useMemo)(()=>{let e=(0,W.cloneDeep)(u);return e.filter(e=>["view","human"].includes(e.role)).map(e=>({...e,key:(0,X.Z)()}))},[u]);return(0,K.Z)(async()=>{let e=(0,q.a_)();if(e&&e.id===c){let[,c]=await (0,n.Vx)((0,n.BN)({...o}));if(c){var l,t,s,a,r,i,u;let n=(null==c?void 0:null===(l=c.param_need)||void 0===l?void 0:l.map(e=>e.type))||[],o=(null===(t=null==c?void 0:null===(s=c.param_need)||void 0===s?void 0:s.filter(e=>"model"===e.type)[0])||void 0===t?void 0:t.value)||d,h=(null===(a=null==c?void 0:null===(r=c.param_need)||void 0===r?void 0:r.filter(e=>"temperature"===e.type)[0])||void 0===a?void 0:a.value)||.5,j=null===(i=null==c?void 0:null===(u=c.param_need)||void 0===u?void 0:u.filter(e=>"resource"===e.type)[0])||void 0===i?void 0:i.bind_value;p(c||{}),f(h||.5),v(o),g(j),await m(e.message,{app_code:null==c?void 0:c.app_code,model_name:o,...(null==n?void 0:n.includes("temperature"))&&{temperature:h},...n.includes("resource")&&{select_param:"string"==typeof j?j:JSON.stringify(j)}}),await x(),localStorage.removeItem(q.rU)}}},[c,o]),(0,y.useEffect)(()=>{setTimeout(()=>{var e,l;null===(e=t.current)||void 0===e||e.scrollTo(0,null===(l=t.current)||void 0===l?void 0:l.scrollHeight)},50)},[u,null===(e=u[u.length-1])||void 0===e?void 0:e.context]),(0,s.jsxs)("div",{className:"flex flex-col w-5/6 mx-auto",ref:t,children:[!!k.length&&k.map((e,l)=>(0,s.jsx)(R,{content:e,onLinkClick:()=>{w(!0),N(JSON.stringify(null==e?void 0:e.context,null,2))}},l)),(0,s.jsx)(Q.default,{title:"JSON Editor",open:h,width:"60%",cancelButtonProps:{hidden:!0},onOk:()=>{w(!1)},onCancel:()=>{w(!1)},children:(0,s.jsx)(r.Z,{className:"w-full h-[500px]",language:"json",value:b})})]})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9958.c0fec60f64355702.js b/dbgpt/app/static/web/_next/static/chunks/9958.c0fec60f64355702.js deleted file mode 100644 index f0a1c8ec3..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/9958.c0fec60f64355702.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9958],{2440:function(e,l,t){var s=t(25519);l.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(s.C9))&&void 0!==e?e:"")}},88331:function(e,l,t){t.r(l),t.d(l,{default:function(){return Y}});var s=t(85893),a=t(30853),n=t(25519),r=t(30071),i=t(79090),c=t(28508),o=t(88284),d=t(89035),u=t(93967),m=t.n(u),x=t(25675),p=t.n(x),v=t(39332),f=t(67294),g=t(67421),h=t(95988),j=t(14660),y=t(55186),w=t(76212),b=t(65429),k=t(15381),N=t(85175),_=t(65654),Z=t(66309),C=t(55102),S=t(14726),P=t(45360),O=t(55241),J=t(96074),$=t(20640),I=t.n($);let M=e=>{let{list:l,loading:t,feedback:a,setFeedbackOpen:n}=e,{t:r}=(0,g.$G)(),[i,c]=(0,f.useState)([]),[o,d]=(0,f.useState)("");return(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("div",{className:"flex flex-1 flex-wrap w-72",children:null==l?void 0:l.map(e=>{let l=i.findIndex(l=>l.reason_type===e.reason_type)>-1;return(0,s.jsx)(Z.Z,{className:"text-xs text-[#525964] mb-2 p-1 px-2 rounded-md cursor-pointer ".concat(l?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{c(l=>{let t=l.findIndex(l=>l.reason_type===e.reason_type);return t>-1?[...l.slice(0,t),...l.slice(t+1)]:[...l,e]})},children:e.reason},e.reason_type)})}),(0,s.jsx)(C.default.TextArea,{placeholder:r("feedback_tip"),className:"w-64 h-20 resize-none mb-2",value:o,onChange:e=>d(e.target.value.trim())}),(0,s.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,s.jsx)(S.ZP,{className:"w-16 h-8",onClick:()=>{n(!1)},children:"取消"}),(0,s.jsx)(S.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=i.map(e=>e.reason_type);await (null==a?void 0:a({feedback_type:"unlike",reason_types:e,remark:o}))},loading:t,children:"确认"})]})]})};var A=e=>{var l,t;let{content:a}=e,{t:n}=(0,g.$G)(),r=(0,v.useSearchParams)(),i=null!==(t=null==r?void 0:r.get("id"))&&void 0!==t?t:"",[c,o]=P.ZP.useMessage(),[d,u]=(0,f.useState)(!1),[x,p]=(0,f.useState)(null==a?void 0:null===(l=a.feedback)||void 0===l?void 0:l.feedback_type),[h,j]=(0,f.useState)(),y=async e=>{let l=null==e?void 0:e.replace(/\trelations:.*/g,""),t=I()(l);t?l?c.open({type:"success",content:n("copy_success")}):c.open({type:"warning",content:n("copy_nothing")}):c.open({type:"error",content:n("copy_failed")})},{run:Z,loading:C}=(0,_.Z)(async e=>await (0,w.Vx)((0,w.zx)({conv_uid:i,message_id:a.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,l]=e;p(null==l?void 0:l.feedback_type),P.ZP.success("反馈成功"),u(!1)}}),{run:S}=(0,_.Z)(async()=>await (0,w.Vx)((0,w.Jr)()),{manual:!0,onSuccess:e=>{let[,l]=e;j(l||[]),l&&u(!0)}}),{run:$}=(0,_.Z)(async()=>await (0,w.Vx)((0,w.Ir)({conv_uid:i,message_id:(null==a?void 0:a.order)+""})),{manual:!0,onSuccess:e=>{let[,l]=e;l&&(p("none"),P.ZP.success("操作成功"))}});return(0,s.jsxs)(s.Fragment,{children:[o,(0,s.jsxs)("div",{className:"flex flex-1 items-center text-sm px-4",children:[(0,s.jsxs)("div",{className:"flex gap-3",children:[(0,s.jsx)(b.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"like"===x}),onClick:async()=>{if("like"===x){await $();return}await Z({feedback_type:"like"})}}),(0,s.jsx)(O.Z,{placement:"bottom",autoAdjustOverflow:!0,destroyTooltipOnHide:!0,content:(0,s.jsx)(M,{setFeedbackOpen:u,feedback:Z,list:h||[],loading:C}),trigger:"click",open:d,children:(0,s.jsx)(k.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"unlike"===x}),onClick:async()=>{if("unlike"===x){await $();return}await S()}})})]}),(0,s.jsx)(J.Z,{type:"vertical"}),(0,s.jsx)(N.Z,{className:"cursor-pointer",onClick:()=>y(a.context)})]})]})},E=t(50228),F=t(48218),T=t(39718),V=(0,f.memo)(e=>{var l;let{model:t}=e,a=(0,v.useSearchParams)(),n=null!==(l=null==a?void 0:a.get("scene"))&&void 0!==l?l:"";return"chat_agent"===n?(0,s.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-white dark:bg-[rgba(255,255,255,0.16)]",children:(0,s.jsx)(F.Z,{scene:n})}):t?(0,s.jsx)(T.Z,{width:32,height:32,model:t}):(0,s.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-white dark:bg-[rgba(255,255,255,0.16)]",children:(0,s.jsx)(E.Z,{})})});let G=()=>{var e;let l=JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"");return l.avatar_url?(0,s.jsx)(p(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:32,height:32,src:null==l?void 0:l.avatar_url,alt:null==l?void 0:l.nick_name}):(0,s.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-gradient-to-tr from-[#31afff] to-[#1677ff] text-xs text-white",children:null==l?void 0:l.nick_name})},z={todo:{bgClass:"bg-gray-500",icon:(0,s.jsx)(r.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,s.jsx)(i.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,s.jsx)(c.Z,{className:"ml-2"})},completed:{bgClass:"bg-green-500",icon:(0,s.jsx)(o.Z,{className:"ml-2"})}},B=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"
    ").replace(/]+)>/gi,""),D=e=>null==e?void 0:e.replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"");var H=(0,f.memo)(e=>{var l;let{content:t,onLinkClick:n}=e,{t:r}=(0,g.$G)(),i=(0,v.useSearchParams)(),c=null!==(l=null==i?void 0:i.get("scene"))&&void 0!==l?l:"",{context:o,model_name:u,role:x,thinking:p}=t,w=(0,f.useMemo)(()=>"view"===x,[x]),{relations:b,value:k,cachePluginContext:N}=(0,f.useMemo)(()=>{if("string"!=typeof o)return{relations:[],value:"",cachePluginContext:[]};let[e,l]=o.split(" relations:"),t=l?l.split(","):[],s=[],a=0,n=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var l;let t=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),n=JSON.parse(t),r="".concat(a,"");return s.push({...n,result:B(null!==(l=n.result)&&void 0!==l?l:"")}),a++,r}catch(l){return console.log(l.message,l),e}});return{relations:t,cachePluginContext:s,value:n}},[o]),_=(0,f.useMemo)(()=>({"custom-view"(e){var l;let{children:t}=e,n=+t.toString();if(!N[n])return t;let{name:r,status:i,err_msg:c,result:o}=N[n],{bgClass:d,icon:u}=null!==(l=z[i])&&void 0!==l?l:{};return(0,s.jsxs)("div",{className:"bg-white dark:bg-[#212121] rounded-lg overflow-hidden my-2 flex flex-col lg:max-w-[80%]",children:[(0,s.jsxs)("div",{className:m()("flex px-4 md:px-6 py-2 items-center text-white text-sm",d),children:[r,u]}),o?(0,s.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:(0,s.jsx)(h.Z,{components:a.Z,rehypePlugins:[j.Z],remarkPlugins:[y.Z],children:null!=o?o:""})}):(0,s.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:c})]})}}),[N]);return(0,s.jsxs)("div",{className:"flex flex-1 gap-3 mt-6",children:[(0,s.jsx)("div",{className:"flex flex-shrink-0 items-start",children:w?(0,s.jsx)(V,{model:u}):(0,s.jsx)(G,{})}),(0,s.jsxs)("div",{className:"flex ".concat("chat_agent"!==c||p?"":"flex-1"," overflow-hidden"),children:[!w&&(0,s.jsx)("div",{className:"flex flex-1 items-center text-sm text-[#1c2533] dark:text-white",children:"string"==typeof o&&o}),w&&(0,s.jsxs)("div",{className:"flex flex-1 flex-col w-full",children:[(0,s.jsxs)("div",{className:"bg-white dark:bg-[rgba(255,255,255,0.16)] p-4 rounded-2xl rounded-tl-none mb-2",children:["object"==typeof o&&(0,s.jsxs)("div",{children:["[".concat(o.template_name,"]: "),(0,s.jsxs)("span",{className:"text-theme-primary cursor-pointer",onClick:n,children:[(0,s.jsx)(d.Z,{className:"mr-1"}),o.template_introduce||"More Details"]})]}),"string"==typeof o&&"chat_agent"===c&&(0,s.jsx)(h.Z,{components:{...a.Z},rehypePlugins:[j.Z],remarkPlugins:[y.Z],children:D(k)}),"string"==typeof o&&"chat_agent"!==c&&(0,s.jsx)("div",{children:(0,s.jsx)(h.Z,{components:{...a.Z,..._},rehypePlugins:[j.Z],remarkPlugins:[y.Z],children:B(k)})}),p&&!o&&(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:r("thinking")}),(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,s.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,s.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]})]}),(0,s.jsx)(A,{content:t})]})]})]})}),L=t(41468),R=t(74434),U=t(69256),q=t(62418),K=t(2093),Q=t(85576),W=t(96486),X=t(25934),Y=()=>{var e;let l=(0,f.useRef)(null),t=(0,v.useSearchParams)(),a=null!==(e=null==t?void 0:t.get("id"))&&void 0!==e?e:"",{currentDialogInfo:n,model:r}=(0,f.useContext)(L.p),{history:i,handleChat:c,refreshDialogList:o,setAppInfo:d,setModelValue:u,setTemperatureValue:m,setResourceValue:x}=(0,f.useContext)(U.ChatContentContext),[p,g]=(0,f.useState)(!1),[h,j]=(0,f.useState)(""),y=(0,f.useMemo)(()=>(0,W.cloneDeep)(i).filter(e=>["view","human"].includes(e.role)).map(e=>({...e,key:(0,X.Z)()})),[i]);return(0,K.Z)(async()=>{let e=(0,q.a_)();if(e&&e.id===a){let[,a]=await (0,w.Vx)((0,w.BN)({...n}));if(a){var l,t,s,i,p,v,f;let n=(null==a?void 0:null===(l=a.param_need)||void 0===l?void 0:l.map(e=>e.type))||[],g=(null===(t=null==a?void 0:null===(s=a.param_need)||void 0===s?void 0:s.filter(e=>"model"===e.type)[0])||void 0===t?void 0:t.value)||r,h=(null===(i=null==a?void 0:null===(p=a.param_need)||void 0===p?void 0:p.filter(e=>"temperature"===e.type)[0])||void 0===i?void 0:i.value)||.5,j=null===(v=null==a?void 0:null===(f=a.param_need)||void 0===f?void 0:f.filter(e=>"resource"===e.type)[0])||void 0===v?void 0:v.bind_value;d(a||{}),m(h||.5),u(g),x(j),await c(e.message,{app_code:null==a?void 0:a.app_code,model_name:g,...(null==n?void 0:n.includes("temperature"))&&{temperature:h},...n.includes("resource")&&{select_param:"string"==typeof j?j:JSON.stringify(j)}}),await o(),localStorage.removeItem(q.rU)}}},[a,n]),(0,f.useEffect)(()=>{setTimeout(()=>{var e,t;null===(e=l.current)||void 0===e||e.scrollTo(0,null===(t=l.current)||void 0===t?void 0:t.scrollHeight)},50)},[i]),(0,s.jsxs)("div",{className:"flex flex-col w-5/6 mx-auto",ref:l,children:[!!y.length&&y.map(e=>(0,s.jsx)(H,{content:e,onLinkClick:()=>{g(!0),j(JSON.stringify(null==e?void 0:e.context,null,2))}},e.key)),(0,s.jsx)(Q.default,{title:"JSON Editor",open:p,width:"60%",cancelButtonProps:{hidden:!0},onOk:()=>{g(!1)},onCancel:()=>{g(!1)},children:(0,s.jsx)(R.Z,{className:"w-full h-[500px]",language:"json",value:h})})]})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/996.d57bfafecd1e2a50.js b/dbgpt/app/static/web/_next/static/chunks/996.665863c66f20c9e0.js similarity index 75% rename from dbgpt/app/static/web/_next/static/chunks/996.d57bfafecd1e2a50.js rename to dbgpt/app/static/web/_next/static/chunks/996.665863c66f20c9e0.js index 986afc21c..5b17ebf66 100644 --- a/dbgpt/app/static/web/_next/static/chunks/996.d57bfafecd1e2a50.js +++ b/dbgpt/app/static/web/_next/static/chunks/996.665863c66f20c9e0.js @@ -1,6 +1,6 @@ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[996],{20996:function(e,_,t){t.r(_),t.d(_,{conf:function(){return s},language:function(){return r}});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87) + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var s={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},r={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ALL","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","ASYMMETRIC","AUTHORIZATION","BINARY","BOTH","CASE","CAST","CHECK","COLLATE","COLLATION","COLUMN","CONCURRENTLY","CONSTRAINT","CREATE","CROSS","CURRENT_CATALOG","CURRENT_DATE","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","DEFAULT","DEFERRABLE","DESC","DISTINCT","DO","ELSE","END","EXCEPT","FALSE","FETCH","FOR","FOREIGN","FREEZE","FROM","FULL","GRANT","GROUP","HAVING","ILIKE","IN","INITIALLY","INNER","INTERSECT","INTO","IS","ISNULL","JOIN","LATERAL","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","NATURAL","NOT","NOTNULL","NULL","OFFSET","ON","ONLY","OR","ORDER","OUTER","OVERLAPS","PLACING","PRIMARY","REFERENCES","RETURNING","RIGHT","SELECT","SESSION_USER","SIMILAR","SOME","SYMMETRIC","TABLE","TABLESAMPLE","THEN","TO","TRAILING","TRUE","UNION","UNIQUE","USER","USING","VARIADIC","VERBOSE","WHEN","WHERE","WINDOW","WITH"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["abbrev","abs","acldefault","aclexplode","acos","acosd","acosh","age","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","ascii","asin","asind","asinh","atan","atan2","atan2d","atand","atanh","avg","bit","bit_and","bit_count","bit_length","bit_or","bit_xor","bool_and","bool_or","bound_box","box","brin_desummarize_range","brin_summarize_new_values","brin_summarize_range","broadcast","btrim","cardinality","cbrt","ceil","ceiling","center","char_length","character_length","chr","circle","clock_timestamp","coalesce","col_description","concat","concat_ws","convert","convert_from","convert_to","corr","cos","cosd","cosh","cot","cotd","count","covar_pop","covar_samp","cume_dist","current_catalog","current_database","current_date","current_query","current_role","current_schema","current_schemas","current_setting","current_time","current_timestamp","current_user","currval","cursor_to_xml","cursor_to_xmlschema","date_bin","date_part","date_trunc","database_to_xml","database_to_xml_and_xmlschema","database_to_xmlschema","decode","degrees","dense_rank","diagonal","diameter","div","encode","enum_first","enum_last","enum_range","every","exp","extract","factorial","family","first_value","floor","format","format_type","gcd","gen_random_uuid","generate_series","generate_subscripts","get_bit","get_byte","get_current_ts_config","gin_clean_pending_list","greatest","grouping","has_any_column_privilege","has_column_privilege","has_database_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_schema_privilege","has_sequence_privilege","has_server_privilege","has_table_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","initcap","isclosed","isempty","isfinite","isopen","json_agg","json_array_elements","json_array_elements_text","json_array_length","json_build_array","json_build_object","json_each","json_each_text","json_extract_path","json_extract_path_text","json_object","json_object_agg","json_object_keys","json_populate_record","json_populate_recordset","json_strip_nulls","json_to_record","json_to_recordset","json_to_tsvector","json_typeof","jsonb_agg","jsonb_array_elements","jsonb_array_elements_text","jsonb_array_length","jsonb_build_array","jsonb_build_object","jsonb_each","jsonb_each_text","jsonb_extract_path","jsonb_extract_path_text","jsonb_insert","jsonb_object","jsonb_object_agg","jsonb_object_keys","jsonb_path_exists","jsonb_path_match","jsonb_path_query","jsonb_path_query_array","jsonb_path_exists_tz","jsonb_path_query_first","jsonb_path_query_array_tz","jsonb_path_query_first_tz","jsonb_path_query_tz","jsonb_path_match_tz","jsonb_populate_record","jsonb_populate_recordset","jsonb_pretty","jsonb_set","jsonb_set_lax","jsonb_strip_nulls","jsonb_to_record","jsonb_to_recordset","jsonb_to_tsvector","jsonb_typeof","justify_days","justify_hours","justify_interval","lag","last_value","lastval","lcm","lead","least","left","length","line","ln","localtime","localtimestamp","log","log10","lower","lower_inc","lower_inf","lpad","lseg","ltrim","macaddr8_set7bit","make_date","make_interval","make_time","make_timestamp","make_timestamptz","makeaclitem","masklen","max","md5","min","min_scale","mod","mode","multirange","netmask","network","nextval","normalize","now","npoints","nth_value","ntile","nullif","num_nonnulls","num_nulls","numnode","obj_description","octet_length","overlay","parse_ident","path","pclose","percent_rank","percentile_cont","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backend_pid","pg_backup_start_time","pg_blocking_pids","pg_cancel_backend","pg_client_encoding","pg_collation_actual_version","pg_collation_is_visible","pg_column_compression","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_copy_logical_replication_slot","pg_copy_physical_replication_slot","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_logfile","pg_current_snapshot","pg_current_wal_flush_lsn","pg_current_wal_insert_lsn","pg_current_wal_lsn","pg_current_xact_id","pg_current_xact_id_if_assigned","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_event_trigger_ddl_commands","pg_event_trigger_dropped_objects","pg_event_trigger_table_rewrite_oid","pg_event_trigger_table_rewrite_reason","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_catalog_foreign_keys","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_statisticsobjdef","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_get_wal_replay_pause_state","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_import_system_collations","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_wal_replay_paused","pg_is_xlog_replay_paused","pg_jit_available","pg_last_committed_xact","pg_last_wal_receive_lsn","pg_last_wal_replay_lsn","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_log_backend_memory_contexts","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_archive_statusdir","pg_ls_dir","pg_ls_logdir","pg_ls_tmpdir","pg_ls_waldir","pg_mcv_list_items","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_partition_ancestors","pg_partition_root","pg_partition_tree","pg_postmaster_start_time","pg_promote","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_advance","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_replication_slot_advance","pg_rotate_logfile","pg_safe_snapshot_blocking_pids","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_snapshot_xip","pg_snapshot_xmax","pg_snapshot_xmin","pg_start_backup","pg_stat_file","pg_statistics_obj_is_visible","pg_stop_backup","pg_switch_wal","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_terminate_backend","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_visible_in_snapshot","pg_wal_lsn_diff","pg_wal_replay_pause","pg_wal_replay_resume","pg_walfile_name","pg_walfile_name_offset","pg_xact_commit_timestamp","pg_xact_commit_timestamp_origin","pg_xact_status","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","pi","plainto_tsquery","point","polygon","popen","position","power","pqserverversion","query_to_xml","query_to_xml_and_xmlschema","query_to_xmlschema","querytree","quote_ident","quote_literal","quote_nullable","radians","radius","random","range_agg","range_intersect_agg","range_merge","rank","regexp_count","regexp_instr","regexp_like","regexp_match","regexp_matches","regexp_replace","regexp_split_to_array","regexp_split_to_table","regexp_substr","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","repeat","replace","reverse","right","round","row_number","row_security_active","row_to_json","rpad","rtrim","scale","schema_to_xml","schema_to_xml_and_xmlschema","schema_to_xmlschema","session_user","set_bit","set_byte","set_config","set_masklen","setseed","setval","setweight","sha224","sha256","sha384","sha512","shobj_description","sign","sin","sind","sinh","slope","split_part","sprintf","sqrt","starts_with","statement_timestamp","stddev","stddev_pop","stddev_samp","string_agg","string_to_array","string_to_table","strip","strpos","substr","substring","sum","suppress_redundant_updates_trigger","table_to_xml","table_to_xml_and_xmlschema","table_to_xmlschema","tan","tand","tanh","text","timeofday","timezone","to_ascii","to_char","to_date","to_hex","to_json","to_number","to_regclass","to_regcollation","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_timestamp","to_tsquery","to_tsvector","transaction_timestamp","translate","trim","trim_array","trim_scale","trunc","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_if_assigned","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_status","txid_visible_in_snapshot","unistr","unnest","upper","upper_inc","upper_inf","user","var_pop","var_samp","variance","version","websearch_to_tsquery","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@keywords":"keyword","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}}}]); \ No newline at end of file + *-----------------------------------------------------------------------------*/var s={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},r={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ALL","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","ASYMMETRIC","AUTHORIZATION","BINARY","BOTH","CASE","CAST","CHECK","COLLATE","COLLATION","COLUMN","CONCURRENTLY","CONSTRAINT","CREATE","CROSS","CURRENT_CATALOG","CURRENT_DATE","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","DEFAULT","DEFERRABLE","DESC","DISTINCT","DO","ELSE","END","EXCEPT","FALSE","FETCH","FOR","FOREIGN","FREEZE","FROM","FULL","GRANT","GROUP","HAVING","ILIKE","IN","INITIALLY","INNER","INTERSECT","INTO","IS","ISNULL","JOIN","LATERAL","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","NATURAL","NOT","NOTNULL","NULL","OFFSET","ON","ONLY","OR","ORDER","OUTER","OVERLAPS","PLACING","PRIMARY","REFERENCES","RETURNING","RIGHT","SELECT","SESSION_USER","SIMILAR","SOME","SYMMETRIC","TABLE","TABLESAMPLE","THEN","TO","TRAILING","TRUE","UNION","UNIQUE","USER","USING","VARIADIC","VERBOSE","WHEN","WHERE","WINDOW","WITH"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["abbrev","abs","acldefault","aclexplode","acos","acosd","acosh","age","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","ascii","asin","asind","asinh","atan","atan2","atan2d","atand","atanh","avg","bit","bit_and","bit_count","bit_length","bit_or","bit_xor","bool_and","bool_or","bound_box","box","brin_desummarize_range","brin_summarize_new_values","brin_summarize_range","broadcast","btrim","cardinality","cbrt","ceil","ceiling","center","char_length","character_length","chr","circle","clock_timestamp","coalesce","col_description","concat","concat_ws","convert","convert_from","convert_to","corr","cos","cosd","cosh","cot","cotd","count","covar_pop","covar_samp","cume_dist","current_catalog","current_database","current_date","current_query","current_role","current_schema","current_schemas","current_setting","current_time","current_timestamp","current_user","currval","cursor_to_xml","cursor_to_xmlschema","date_bin","date_part","date_trunc","database_to_xml","database_to_xml_and_xmlschema","database_to_xmlschema","decode","degrees","dense_rank","diagonal","diameter","div","encode","enum_first","enum_last","enum_range","every","exp","extract","factorial","family","first_value","floor","format","format_type","gcd","gen_random_uuid","generate_series","generate_subscripts","get_bit","get_byte","get_current_ts_config","gin_clean_pending_list","greatest","grouping","has_any_column_privilege","has_column_privilege","has_database_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_schema_privilege","has_sequence_privilege","has_server_privilege","has_table_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","initcap","isclosed","isempty","isfinite","isopen","json_agg","json_array_elements","json_array_elements_text","json_array_length","json_build_array","json_build_object","json_each","json_each_text","json_extract_path","json_extract_path_text","json_object","json_object_agg","json_object_keys","json_populate_record","json_populate_recordset","json_strip_nulls","json_to_record","json_to_recordset","json_to_tsvector","json_typeof","jsonb_agg","jsonb_array_elements","jsonb_array_elements_text","jsonb_array_length","jsonb_build_array","jsonb_build_object","jsonb_each","jsonb_each_text","jsonb_extract_path","jsonb_extract_path_text","jsonb_insert","jsonb_object","jsonb_object_agg","jsonb_object_keys","jsonb_path_exists","jsonb_path_match","jsonb_path_query","jsonb_path_query_array","jsonb_path_exists_tz","jsonb_path_query_first","jsonb_path_query_array_tz","jsonb_path_query_first_tz","jsonb_path_query_tz","jsonb_path_match_tz","jsonb_populate_record","jsonb_populate_recordset","jsonb_pretty","jsonb_set","jsonb_set_lax","jsonb_strip_nulls","jsonb_to_record","jsonb_to_recordset","jsonb_to_tsvector","jsonb_typeof","justify_days","justify_hours","justify_interval","lag","last_value","lastval","lcm","lead","least","left","length","line","ln","localtime","localtimestamp","log","log10","lower","lower_inc","lower_inf","lpad","lseg","ltrim","macaddr8_set7bit","make_date","make_interval","make_time","make_timestamp","make_timestamptz","makeaclitem","masklen","max","md5","min","min_scale","mod","mode","multirange","netmask","network","nextval","normalize","now","npoints","nth_value","ntile","nullif","num_nonnulls","num_nulls","numnode","obj_description","octet_length","overlay","parse_ident","path","pclose","percent_rank","percentile_cont","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backend_pid","pg_backup_start_time","pg_blocking_pids","pg_cancel_backend","pg_client_encoding","pg_collation_actual_version","pg_collation_is_visible","pg_column_compression","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_copy_logical_replication_slot","pg_copy_physical_replication_slot","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_logfile","pg_current_snapshot","pg_current_wal_flush_lsn","pg_current_wal_insert_lsn","pg_current_wal_lsn","pg_current_xact_id","pg_current_xact_id_if_assigned","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_event_trigger_ddl_commands","pg_event_trigger_dropped_objects","pg_event_trigger_table_rewrite_oid","pg_event_trigger_table_rewrite_reason","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_catalog_foreign_keys","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_statisticsobjdef","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_get_wal_replay_pause_state","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_import_system_collations","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_wal_replay_paused","pg_is_xlog_replay_paused","pg_jit_available","pg_last_committed_xact","pg_last_wal_receive_lsn","pg_last_wal_replay_lsn","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_log_backend_memory_contexts","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_archive_statusdir","pg_ls_dir","pg_ls_logdir","pg_ls_tmpdir","pg_ls_waldir","pg_mcv_list_items","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_partition_ancestors","pg_partition_root","pg_partition_tree","pg_postmaster_start_time","pg_promote","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_advance","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_replication_slot_advance","pg_rotate_logfile","pg_safe_snapshot_blocking_pids","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_snapshot_xip","pg_snapshot_xmax","pg_snapshot_xmin","pg_start_backup","pg_stat_file","pg_statistics_obj_is_visible","pg_stop_backup","pg_switch_wal","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_terminate_backend","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_visible_in_snapshot","pg_wal_lsn_diff","pg_wal_replay_pause","pg_wal_replay_resume","pg_walfile_name","pg_walfile_name_offset","pg_xact_commit_timestamp","pg_xact_commit_timestamp_origin","pg_xact_status","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","pi","plainto_tsquery","point","polygon","popen","position","power","pqserverversion","query_to_xml","query_to_xml_and_xmlschema","query_to_xmlschema","querytree","quote_ident","quote_literal","quote_nullable","radians","radius","random","range_agg","range_intersect_agg","range_merge","rank","regexp_match","regexp_matches","regexp_replace","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","repeat","replace","reverse","right","round","row_number","row_security_active","row_to_json","rpad","rtrim","scale","schema_to_xml","schema_to_xml_and_xmlschema","schema_to_xmlschema","session_user","set_bit","set_byte","set_config","set_masklen","setseed","setval","setweight","sha224","sha256","sha384","sha512","shobj_description","sign","sin","sind","sinh","slope","split_part","sprintf","sqrt","starts_with","statement_timestamp","stddev","stddev_pop","stddev_samp","string_agg","string_to_array","string_to_table","strip","strpos","substr","substring","sum","suppress_redundant_updates_trigger","table_to_xml","table_to_xml_and_xmlschema","table_to_xmlschema","tan","tand","tanh","text","timeofday","timezone","to_ascii","to_char","to_date","to_hex","to_json","to_number","to_regclass","to_regcollation","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_timestamp","to_tsquery","to_tsvector","transaction_timestamp","translate","trim","trim_array","trim_scale","trunc","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_if_assigned","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_status","txid_visible_in_snapshot","unistr","unnest","upper","upper_inc","upper_inf","user","var_pop","var_samp","variance","version","websearch_to_tsquery","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@keywords":"keyword","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9dceabb2-9fb9f6f095369a33.js b/dbgpt/app/static/web/_next/static/chunks/9dceabb2-9fb9f6f095369a33.js new file mode 100644 index 000000000..f8360c50a --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/9dceabb2-9fb9f6f095369a33.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7126],{20477:function(t,e,n){n.d(e,{$p:function(){return nz},F6:function(){return tC},I8:function(){return tw},Rr:function(){return z},jU:function(){return nZ}});var r,i,o,a,s,l,u,c,h,p,d,f,v,y,g,m,E,x,b,T,P,S,N,C,w,k,M,R,A,O,I,L,D,G,B,F,_,U,V,Z,Y,z,X,j,W=n(97582),H=n(90230),q=n(77160),K=n(85975),J=n(35600),$=n(98333),Q=n(32945),tt=n(31437),te=n(25897),tn=n(95147),tr=n(76714),ti=n(81957),to=n(69877),ta=n(71523),ts=n(13882),tl=n(80450),tu=n(8614),tc=n(4848),th=n(75839),tp=n(99872),td=n(92455),tf=n(65850),tv=n(28659),ty=n(83555),tg=n(71154),tm=n(5199),tE=n(90134),tx=n(4637),tb=n(84329),tT=n(16372),tP=n(11702),tS=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self,{exports:{}});tS.exports=function(){function t(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function e(t,e){return te?1:0}var n=function(t){void 0===t&&(t=9),this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function r(t,e){i(t,0,t.children.length,e,t)}function i(t,e,n,r,i){i||(i=p(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var a=e;a=t.minX&&e.maxY>=t.minY}function p(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function d(n,r,i,o,a){for(var s=[r,i];s.length;)if(i=s.pop(),r=s.pop(),!(i-r<=o)){var l=r+Math.ceil((i-r)/o/2)*o;(function e(n,r,i,o,a){for(;o>i;){if(o-i>600){var s=o-i+1,l=r-i+1,u=Math.log(s),c=.5*Math.exp(2*u/3),h=.5*Math.sqrt(u*c*(s-c)/s)*(l-s/2<0?-1:1),p=Math.max(i,Math.floor(r-l*c/s+h)),d=Math.min(o,Math.floor(r+(s-l)*c/s+h));e(n,r,p,d,a)}var f=n[r],v=i,y=o;for(t(n,i,r),a(n[o],f)>0&&t(n,i,o);va(n[v],f);)v++;for(;a(n[y],f)>0;)y--}0===a(n[i],f)?t(n,i,y):t(n,++y,o),y<=r&&(i=y+1),r<=y&&(o=y-1)}})(n,l,r||0,i||n.length-1,a||e),s.push(r,l,l,i)}}return n.prototype.all=function(){return this._all(this.data,[])},n.prototype.search=function(t){var e=this.data,n=[];if(!h(t,e))return n;for(var r=this.toBBox,i=[];e;){for(var o=0;o=0;)if(i[e].children.length>this._maxEntries)this._split(i,e),e--;else break;this._adjustParentBBoxes(r,i,e)},n.prototype._split=function(t,e){var n=t[e],i=n.children.length,o=this._minEntries;this._chooseSplitAxis(n,o,i);var a=this._chooseSplitIndex(n,o,i),s=p(n.children.splice(a,n.children.length-a));s.height=n.height,s.leaf=n.leaf,r(n,this.toBBox),r(s,this.toBBox),e?t[e-1].children.push(s):this._splitRoot(n,s)},n.prototype._splitRoot=function(t,e){this.data=p([t,e]),this.data.height=t.height+1,this.data.leaf=!1,r(this.data,this.toBBox)},n.prototype._chooseSplitIndex=function(t,e,n){for(var r,o=1/0,a=1/0,s=e;s<=n-e;s++){var u=i(t,0,s,this.toBBox),c=i(t,s,n,this.toBBox),h=function(t,e){var n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY);return Math.max(0,Math.min(t.maxX,e.maxX)-n)*Math.max(0,Math.min(t.maxY,e.maxY)-r)}(u,c),p=l(u)+l(c);h=e;d--){var f=t.children[d];o(l,t.leaf?a(f):f),c+=u(l)}return c},n.prototype._adjustParentBBoxes=function(t,e,n){for(var r=n;r>=0;r--)o(e[r],t)},n.prototype._condense=function(t){for(var e=t.length-1,n=void 0;e>=0;e--)0===t[e].children.length?e>0?(n=t[e-1].children).splice(n.indexOf(t[e]),1):this.clear():r(t[e],this.toBBox)},n}();var tN=tS.exports;(r=k||(k={})).GROUP="g",r.CIRCLE="circle",r.ELLIPSE="ellipse",r.IMAGE="image",r.RECT="rect",r.LINE="line",r.POLYLINE="polyline",r.POLYGON="polygon",r.TEXT="text",r.PATH="path",r.HTML="html",r.MESH="mesh",(i=M||(M={}))[i.ZERO=0]="ZERO",i[i.NEGATIVE_ONE=1]="NEGATIVE_ONE";var tC=function(){function t(){this.plugins=[]}return t.prototype.addRenderingPlugin=function(t){this.plugins.push(t),this.context.renderingPlugins.push(t)},t.prototype.removeAllRenderingPlugins=function(){var t=this;this.plugins.forEach(function(e){var n=t.context.renderingPlugins.indexOf(e);n>=0&&t.context.renderingPlugins.splice(n,1)})},t}(),tw=function(){function t(t){this.clipSpaceNearZ=M.NEGATIVE_ONE,this.plugins=[],this.config=(0,W.pi)({enableDirtyCheck:!0,enableCulling:!1,enableAutoRendering:!0,enableDirtyRectangleRendering:!0,enableDirtyRectangleRenderingDebug:!1,enableSizeAttenuation:!0},t)}return t.prototype.registerPlugin=function(t){-1===this.plugins.findIndex(function(e){return e===t})&&this.plugins.push(t)},t.prototype.unregisterPlugin=function(t){var e=this.plugins.findIndex(function(e){return e===t});e>-1&&this.plugins.splice(e,1)},t.prototype.getPlugins=function(){return this.plugins},t.prototype.getPlugin=function(t){return this.plugins.find(function(e){return e.name===t})},t.prototype.getConfig=function(){return this.config},t.prototype.setConfig=function(t){Object.assign(this.config,t)},t}();function tk(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function tM(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function tR(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function tA(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function tO(t){return void 0===t?0:t>360||t<-360?t%360:t}function tI(t,e,n){return(void 0===e&&(e=0),void 0===n&&(n=0),Array.isArray(t)&&3===t.length)?q.d9(t):(0,te.Z)(t)?q.al(t,e,n):q.al(t[0],t[1]||e,t[2]||n)}function tL(t){return t*(Math.PI/180)}function tD(t){return t*(180/Math.PI)}function tG(t,e){var n,r,i,o,a,s,l,u,c,h,p,d,f,v,y,g,m;return 16===e.length?(i=.5*Math.PI,a=(o=(0,W.CR)(K.getScaling(q.Ue(),e),3))[0],s=o[1],l=o[2],(u=Math.asin(-e[2]/a))-i?(n=Math.atan2(e[6]/s,e[10]/l),r=Math.atan2(e[1]/a,e[0]/a)):(r=0,n=-Math.atan2(e[4]/s,e[5]/s)):(r=0,n=Math.atan2(e[4]/s,e[5]/s)),t[0]=n,t[1]=u,t[2]=r,t):(c=e[0],h=e[1],p=e[2],d=e[3],g=c*c+(f=h*h)+(v=p*p)+(y=d*d),(m=c*d-h*p)>.499995*g?(t[0]=Math.PI/2,t[1]=2*Math.atan2(h,c),t[2]=0):m<-.499995*g?(t[0]=-Math.PI/2,t[1]=2*Math.atan2(h,c),t[2]=0):(t[0]=Math.asin(2*(c*p-d*h)),t[1]=Math.atan2(2*(c*d+h*p),1-2*(v+y)),t[2]=Math.atan2(2*(c*h+p*d),1-2*(f+v))),t)}function tB(t){var e=t[0],n=t[1],r=t[3],i=t[4],o=Math.sqrt(e*e+n*n),a=Math.sqrt(r*r+i*i);e*i-n*r<0&&(eh&&(h=N),Cd&&(d=w),kv&&(v=M),n[0]=(c+h)*.5,n[1]=(p+d)*.5,n[2]=(f+v)*.5,a[0]=(h-c)*.5,a[1]=(d-p)*.5,a[2]=(v-f)*.5,this.min[0]=c,this.min[1]=p,this.min[2]=f,this.max[0]=h,this.max[1]=d,this.max[2]=v}},t.prototype.setFromTransformedAABB=function(t,e){var n=this.center,r=this.halfExtents,i=t.center,o=t.halfExtents,a=e[0],s=e[4],l=e[8],u=e[1],c=e[5],h=e[9],p=e[2],d=e[6],f=e[10],v=Math.abs(a),y=Math.abs(s),g=Math.abs(l),m=Math.abs(u),E=Math.abs(c),x=Math.abs(h),b=Math.abs(p),T=Math.abs(d),P=Math.abs(f);n[0]=e[12]+a*i[0]+s*i[1]+l*i[2],n[1]=e[13]+u*i[0]+c*i[1]+h*i[2],n[2]=e[14]+p*i[0]+d*i[1]+f*i[2],r[0]=v*o[0]+y*o[1]+g*o[2],r[1]=m*o[0]+E*o[1]+x*o[2],r[2]=b*o[0]+T*o[1]+P*o[2],tM(this.min,n,r),tR(this.max,n,r)},t.prototype.intersects=function(t){var e=this.getMax(),n=this.getMin(),r=t.getMax(),i=t.getMin();return n[0]<=r[0]&&e[0]>=i[0]&&n[1]<=r[1]&&e[1]>=i[1]&&n[2]<=r[2]&&e[2]>=i[2]},t.prototype.intersection=function(e){if(!this.intersects(e))return null;var n,r,i,o,a,s,l=new t,u=(n=[0,0,0],r=this.getMin(),i=e.getMin(),n[0]=Math.max(r[0],i[0]),n[1]=Math.max(r[1],i[1]),n[2]=Math.max(r[2],i[2]),n),c=(o=[0,0,0],a=this.getMax(),s=e.getMax(),o[0]=Math.min(a[0],s[0]),o[1]=Math.min(a[1],s[1]),o[2]=Math.min(a[2],s[2]),o);return l.setMinMax(u,c),l},t.prototype.getNegativeFarPoint=function(t){if(273===t.pnVertexFlag)return tk([0,0,0],this.min);if(272===t.pnVertexFlag)return[this.min[0],this.min[1],this.max[2]];if(257===t.pnVertexFlag)return[this.min[0],this.max[1],this.min[2]];if(256===t.pnVertexFlag)return[this.min[0],this.max[1],this.max[2]];if(17===t.pnVertexFlag)return[this.max[0],this.min[1],this.min[2]];if(16===t.pnVertexFlag)return[this.max[0],this.min[1],this.max[2]];if(1===t.pnVertexFlag)return[this.max[0],this.max[1],this.min[2]];else return[this.max[0],this.max[1],this.max[2]]},t.prototype.getPositiveFarPoint=function(t){if(273===t.pnVertexFlag)return tk([0,0,0],this.max);if(272===t.pnVertexFlag)return[this.max[0],this.max[1],this.min[2]];if(257===t.pnVertexFlag)return[this.max[0],this.min[1],this.max[2]];if(256===t.pnVertexFlag)return[this.max[0],this.min[1],this.min[2]];if(17===t.pnVertexFlag)return[this.min[0],this.max[1],this.max[2]];if(16===t.pnVertexFlag)return[this.min[0],this.max[1],this.min[2]];if(1===t.pnVertexFlag)return[this.min[0],this.min[1],this.max[2]];else return[this.min[0],this.min[1],this.min[2]]},t}(),tX=function(){function t(t,e){this.distance=t||0,this.normal=e||q.al(0,1,0),this.updatePNVertexFlag()}return t.prototype.updatePNVertexFlag=function(){this.pnVertexFlag=(Number(this.normal[0]>=0)<<8)+(Number(this.normal[1]>=0)<<4)+Number(this.normal[2]>=0)},t.prototype.distanceToPoint=function(t){return q.AK(t,this.normal)-this.distance},t.prototype.normalize=function(){var t=1/q.Zh(this.normal);q.bA(this.normal,this.normal,t),this.distance*=t},t.prototype.intersectsLine=function(t,e,n){var r=this.distanceToPoint(t),i=r/(r-this.distanceToPoint(e)),o=i>=0&&i<=1;return o&&n&&q.t7(n,t,e,i),o},t}();(o=R||(R={}))[o.OUTSIDE=4294967295]="OUTSIDE",o[o.INSIDE=0]="INSIDE",o[o.INDETERMINATE=2147483647]="INDETERMINATE";var tj=function(){function t(t){if(this.planes=[],t)this.planes=t;else for(var e=0;e<6;e++)this.planes.push(new tX)}return t.prototype.extractFromVPMatrix=function(t){var e=(0,W.CR)(t,16),n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],h=e[9],p=e[10],d=e[11],f=e[12],v=e[13],y=e[14],g=e[15];q.t8(this.planes[0].normal,o-n,u-a,d-c),this.planes[0].distance=g-f,q.t8(this.planes[1].normal,o+n,u+a,d+c),this.planes[1].distance=g+f,q.t8(this.planes[2].normal,o+r,u+s,d+h),this.planes[2].distance=g+v,q.t8(this.planes[3].normal,o-r,u-s,d-h),this.planes[3].distance=g-v,q.t8(this.planes[4].normal,o-i,u-l,d-p),this.planes[4].distance=g-y,q.t8(this.planes[5].normal,o+i,u+l,d+p),this.planes[5].distance=g+y,this.planes.forEach(function(t){t.normalize(),t.updatePNVertexFlag()})},t}(),tW=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.x=0,this.y=0,this.x=t,this.y=e}return t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.copyFrom=function(t){this.x=t.x,this.y=t.y},t}(),tH=function(){function t(t,e,n,r){this.x=t,this.y=e,this.width=n,this.height=r,this.left=t,this.right=t+n,this.top=e,this.bottom=e+r}return t.prototype.toJSON=function(){},t}(),tq="Method not implemented.",tK="Use document.documentElement instead.";(a=A||(A={}))[a.ORBITING=0]="ORBITING",a[a.EXPLORING=1]="EXPLORING",a[a.TRACKING=2]="TRACKING",(s=O||(O={}))[s.DEFAULT=0]="DEFAULT",s[s.ROTATIONAL=1]="ROTATIONAL",s[s.TRANSLATIONAL=2]="TRANSLATIONAL",s[s.CINEMATIC=3]="CINEMATIC",(l=I||(I={}))[l.ORTHOGRAPHIC=0]="ORTHOGRAPHIC",l[l.PERSPECTIVE=1]="PERSPECTIVE";var tJ={UPDATED:"updated"},t$=function(){function t(){this.clipSpaceNearZ=M.NEGATIVE_ONE,this.eventEmitter=new H.Z,this.matrix=K.create(),this.right=q.al(1,0,0),this.up=q.al(0,1,0),this.forward=q.al(0,0,1),this.position=q.al(0,0,1),this.focalPoint=q.al(0,0,0),this.distanceVector=q.al(0,0,-1),this.distance=1,this.azimuth=0,this.elevation=0,this.roll=0,this.relAzimuth=0,this.relElevation=0,this.relRoll=0,this.dollyingStep=0,this.maxDistance=1/0,this.minDistance=-1/0,this.zoom=1,this.rotateWorld=!1,this.fov=30,this.near=.1,this.far=1e3,this.aspect=1,this.projectionMatrix=K.create(),this.projectionMatrixInverse=K.create(),this.jitteredProjectionMatrix=void 0,this.enableUpdate=!0,this.type=A.EXPLORING,this.trackingMode=O.DEFAULT,this.projectionMode=I.PERSPECTIVE,this.frustum=new tj,this.orthoMatrix=K.create()}return t.prototype.isOrtho=function(){return this.projectionMode===I.ORTHOGRAPHIC},t.prototype.getProjectionMode=function(){return this.projectionMode},t.prototype.getPerspective=function(){return this.jitteredProjectionMatrix||this.projectionMatrix},t.prototype.getPerspectiveInverse=function(){return this.projectionMatrixInverse},t.prototype.getFrustum=function(){return this.frustum},t.prototype.getPosition=function(){return this.position},t.prototype.getFocalPoint=function(){return this.focalPoint},t.prototype.getDollyingStep=function(){return this.dollyingStep},t.prototype.getNear=function(){return this.near},t.prototype.getFar=function(){return this.far},t.prototype.getZoom=function(){return this.zoom},t.prototype.getOrthoMatrix=function(){return this.orthoMatrix},t.prototype.getView=function(){return this.view},t.prototype.setEnableUpdate=function(t){this.enableUpdate=t},t.prototype.setType=function(t,e){return this.type=t,this.type===A.EXPLORING?this.setWorldRotation(!0):this.setWorldRotation(!1),this._getAngles(),this.type===A.TRACKING&&void 0!==e&&this.setTrackingMode(e),this},t.prototype.setProjectionMode=function(t){return this.projectionMode=t,this},t.prototype.setTrackingMode=function(t){if(this.type!==A.TRACKING)throw Error("Impossible to set a tracking mode if the camera is not of tracking type");return this.trackingMode=t,this},t.prototype.setWorldRotation=function(t){return this.rotateWorld=t,this._getAngles(),this},t.prototype.getViewTransform=function(){return K.invert(K.create(),this.matrix)},t.prototype.getWorldTransform=function(){return this.matrix},t.prototype.jitterProjectionMatrix=function(t,e){var n=K.fromTranslation(K.create(),[t,e,0]);this.jitteredProjectionMatrix=K.multiply(K.create(),n,this.projectionMatrix)},t.prototype.clearJitterProjectionMatrix=function(){this.jitteredProjectionMatrix=void 0},t.prototype.setMatrix=function(t){return this.matrix=t,this._update(),this},t.prototype.setProjectionMatrix=function(t){this.projectionMatrix=t},t.prototype.setFov=function(t){return this.setPerspective(this.near,this.far,t,this.aspect),this},t.prototype.setAspect=function(t){return this.setPerspective(this.near,this.far,this.fov,t),this},t.prototype.setNear=function(t){return this.projectionMode===I.PERSPECTIVE?this.setPerspective(t,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,t,this.far),this},t.prototype.setFar=function(t){return this.projectionMode===I.PERSPECTIVE?this.setPerspective(this.near,t,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,t),this},t.prototype.setViewOffset=function(t,e,n,r,i,o){return this.aspect=t/e,void 0===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=o,this.projectionMode===I.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this},t.prototype.clearViewOffset=function(){return void 0!==this.view&&(this.view.enabled=!1),this.projectionMode===I.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this},t.prototype.setZoom=function(t){return this.zoom=t,this.projectionMode===I.ORTHOGRAPHIC?this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far):this.projectionMode===I.PERSPECTIVE&&this.setPerspective(this.near,this.far,this.fov,this.aspect),this},t.prototype.setZoomByViewportPoint=function(t,e){var n=this.canvas.viewport2Canvas({x:e[0],y:e[1]}),r=n.x,i=n.y,o=this.roll;this.rotate(0,0,-o),this.setPosition(r,i),this.setFocalPoint(r,i),this.setZoom(t),this.rotate(0,0,o);var a=this.canvas.viewport2Canvas({x:e[0],y:e[1]}),s=a.x,l=a.y,u=q.al(s-r,l-i,0),c=q.AK(u,this.right)/q.kE(this.right),h=q.AK(u,this.up)/q.kE(this.up);return this.pan(-c,-h),this},t.prototype.setPerspective=function(t,e,n,r){this.projectionMode=I.PERSPECTIVE,this.fov=n,this.near=t,this.far=e,this.aspect=r;var i,o,a,s,l,u,c,h,p,d=this.near*Math.tan(tL(.5*this.fov))/this.zoom,f=2*d,v=this.aspect*f,y=-.5*v;if(null===(p=this.view)||void 0===p?void 0:p.enabled){var g=this.view.fullWidth,m=this.view.fullHeight;y+=this.view.offsetX*v/g,d-=this.view.offsetY*f/m,v*=this.view.width/g,f*=this.view.height/m}return i=this.projectionMatrix,o=y,a=y+v,s=d,l=d-f,u=this.far,this.clipSpaceNearZ===M.ZERO?(c=-u/(u-t),h=-u*t/(u-t)):(c=-(u+t)/(u-t),h=-2*u*t/(u-t)),i[0]=2*t/(a-o),i[1]=0,i[2]=0,i[3]=0,i[4]=0,i[5]=2*t/(s-l),i[6]=0,i[7]=0,i[8]=(a+o)/(a-o),i[9]=(s+l)/(s-l),i[10]=c,i[11]=-1,i[12]=0,i[13]=0,i[14]=h,i[15]=0,K.scale(this.projectionMatrix,this.projectionMatrix,q.al(1,-1,1)),K.invert(this.projectionMatrixInverse,this.projectionMatrix),this.triggerUpdate(),this},t.prototype.setOrthographic=function(t,e,n,r,i,o){this.projectionMode=I.ORTHOGRAPHIC,this.rright=e,this.left=t,this.top=n,this.bottom=r,this.near=i,this.far=o;var a,s=(this.rright-this.left)/(2*this.zoom),l=(this.top-this.bottom)/(2*this.zoom),u=(this.rright+this.left)/2,c=(this.top+this.bottom)/2,h=u-s,p=u+s,d=c+l,f=c-l;if(null===(a=this.view)||void 0===a?void 0:a.enabled){var v=(this.rright-this.left)/this.view.fullWidth/this.zoom,y=(this.top-this.bottom)/this.view.fullHeight/this.zoom;h+=v*this.view.offsetX,p=h+v*this.view.width,d-=y*this.view.offsetY,f=d-y*this.view.height}return this.clipSpaceNearZ===M.NEGATIVE_ONE?K.ortho(this.projectionMatrix,h,p,f,d,i,o):K.orthoZO(this.projectionMatrix,h,p,f,d,i,o),K.scale(this.projectionMatrix,this.projectionMatrix,q.al(1,-1,1)),K.invert(this.projectionMatrixInverse,this.projectionMatrix),this._getOrthoMatrix(),this.triggerUpdate(),this},t.prototype.setPosition=function(t,e,n){void 0===e&&(e=this.position[1]),void 0===n&&(n=this.position[2]);var r=tI(t,e,n);return this._setPosition(r),this.setFocalPoint(this.focalPoint),this.triggerUpdate(),this},t.prototype.setFocalPoint=function(t,e,n){void 0===e&&(e=this.focalPoint[1]),void 0===n&&(n=this.focalPoint[2]);var r=q.al(0,1,0);if(this.focalPoint=tI(t,e,n),this.trackingMode===O.CINEMATIC){var i=q.$X(q.Ue(),this.focalPoint,this.position);t=i[0],e=i[1],n=i[2];var o=tD(Math.asin(e/q.kE(i))),a=90+tD(Math.atan2(n,t)),s=K.create();K.rotateY(s,s,tL(a)),K.rotateX(s,s,tL(o)),r=q.fF(q.Ue(),[0,1,0],s)}return K.invert(this.matrix,K.lookAt(K.create(),this.position,this.focalPoint,r)),this._getAxes(),this._getDistance(),this._getAngles(),this.triggerUpdate(),this},t.prototype.getDistance=function(){return this.distance},t.prototype.getDistanceVector=function(){return this.distanceVector},t.prototype.setDistance=function(t){if(this.distance===t||t<0)return this;this.distance=t,this.distance<2e-4&&(this.distance=2e-4),this.dollyingStep=this.distance/100;var e=q.Ue();t=this.distance;var n=this.forward,r=this.focalPoint;return e[0]=t*n[0]+r[0],e[1]=t*n[1]+r[1],e[2]=t*n[2]+r[2],this._setPosition(e),this.triggerUpdate(),this},t.prototype.setMaxDistance=function(t){return this.maxDistance=t,this},t.prototype.setMinDistance=function(t){return this.minDistance=t,this},t.prototype.setAzimuth=function(t){return this.azimuth=tO(t),this.computeMatrix(),this._getAxes(),this.type===A.ORBITING||this.type===A.EXPLORING?this._getPosition():this.type===A.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getAzimuth=function(){return this.azimuth},t.prototype.setElevation=function(t){return this.elevation=tO(t),this.computeMatrix(),this._getAxes(),this.type===A.ORBITING||this.type===A.EXPLORING?this._getPosition():this.type===A.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getElevation=function(){return this.elevation},t.prototype.setRoll=function(t){return this.roll=tO(t),this.computeMatrix(),this._getAxes(),this.type===A.ORBITING||this.type===A.EXPLORING?this._getPosition():this.type===A.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getRoll=function(){return this.roll},t.prototype._update=function(){this._getAxes(),this._getPosition(),this._getDistance(),this._getAngles(),this._getOrthoMatrix(),this.triggerUpdate()},t.prototype.computeMatrix=function(){var t=Q.yY(Q.Ue(),[0,0,1],tL(this.roll));K.identity(this.matrix);var e=Q.yY(Q.Ue(),[1,0,0],tL((this.rotateWorld&&this.type!==A.TRACKING||this.type===A.TRACKING?1:-1)*this.elevation)),n=Q.yY(Q.Ue(),[0,1,0],tL((this.rotateWorld&&this.type!==A.TRACKING||this.type===A.TRACKING?1:-1)*this.azimuth)),r=Q.Jp(Q.Ue(),n,e);r=Q.Jp(Q.Ue(),r,t);var i=K.fromQuat(K.create(),r);this.type===A.ORBITING||this.type===A.EXPLORING?(K.translate(this.matrix,this.matrix,this.focalPoint),K.multiply(this.matrix,this.matrix,i),K.translate(this.matrix,this.matrix,[0,0,this.distance])):this.type===A.TRACKING&&(K.translate(this.matrix,this.matrix,this.position),K.multiply(this.matrix,this.matrix,i))},t.prototype._setPosition=function(t,e,n){this.position=tI(t,e,n);var r=this.matrix;r[12]=this.position[0],r[13]=this.position[1],r[14]=this.position[2],r[15]=1,this._getOrthoMatrix()},t.prototype._getAxes=function(){q.JG(this.right,tI($.fF($.Ue(),[1,0,0,0],this.matrix))),q.JG(this.up,tI($.fF($.Ue(),[0,1,0,0],this.matrix))),q.JG(this.forward,tI($.fF($.Ue(),[0,0,1,0],this.matrix))),q.Fv(this.right,this.right),q.Fv(this.up,this.up),q.Fv(this.forward,this.forward)},t.prototype._getAngles=function(){var t=this.distanceVector[0],e=this.distanceVector[1],n=this.distanceVector[2],r=q.kE(this.distanceVector);if(0===r){this.elevation=0,this.azimuth=0;return}this.type===A.TRACKING?(this.elevation=tD(Math.asin(e/r)),this.azimuth=tD(Math.atan2(-t,-n))):this.rotateWorld?(this.elevation=tD(Math.asin(e/r)),this.azimuth=tD(Math.atan2(-t,-n))):(this.elevation=-tD(Math.asin(e/r)),this.azimuth=-tD(Math.atan2(-t,-n)))},t.prototype._getPosition=function(){q.JG(this.position,tI($.fF($.Ue(),[0,0,0,1],this.matrix))),this._getDistance()},t.prototype._getFocalPoint=function(){q.kK(this.distanceVector,[0,0,-this.distance],J.xO(J.Ue(),this.matrix)),q.IH(this.focalPoint,this.position,this.distanceVector),this._getDistance()},t.prototype._getDistance=function(){this.distanceVector=q.$X(q.Ue(),this.focalPoint,this.position),this.distance=q.kE(this.distanceVector),this.dollyingStep=this.distance/100},t.prototype._getOrthoMatrix=function(){if(this.projectionMode===I.ORTHOGRAPHIC){var t=this.position,e=Q.yY(Q.Ue(),[0,0,1],-this.roll*Math.PI/180);K.fromRotationTranslationScaleOrigin(this.orthoMatrix,e,q.al((this.rright-this.left)/2-t[0],(this.top-this.bottom)/2-t[1],0),q.al(this.zoom,this.zoom,1),t)}},t.prototype.triggerUpdate=function(){if(this.enableUpdate){var t=this.getViewTransform(),e=K.multiply(K.create(),this.getPerspective(),t);this.getFrustum().extractFromVPMatrix(e),this.eventEmitter.emit(tJ.UPDATED)}},t.prototype.rotate=function(t,e,n){throw Error(tq)},t.prototype.pan=function(t,e){throw Error(tq)},t.prototype.dolly=function(t){throw Error(tq)},t.prototype.createLandmark=function(t,e){throw Error(tq)},t.prototype.gotoLandmark=function(t,e){throw Error(tq)},t.prototype.cancelLandmarkAnimation=function(){throw Error(tq)},t}();function tQ(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var n=function(){for(var r=[],i=0;i=L.kEms&&t=_.kUnitType&&this.getType()<=_.kClampType},t}(),t9=function(t){function e(e){var n=t.call(this)||this;return n.colorSpace=e,n}return(0,W.ZT)(e,t),e.prototype.getType=function(){return _.kColorType},e.prototype.to=function(t){return this},e}(t4);(v=U||(U={}))[v.Constant=0]="Constant",v[v.LinearGradient=1]="LinearGradient",v[v.RadialGradient=2]="RadialGradient";var t8=function(t){function e(e,n){var r=t.call(this)||this;return r.type=e,r.value=n,r}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.type,this.value)},e.prototype.buildCSSText=function(t,e,n){return n},e.prototype.getType=function(){return _.kColorType},e}(t4),t6=function(t){function e(e){var n=t.call(this)||this;return n.value=e,n}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.value)},e.prototype.getType=function(){return _.kKeywordType},e.prototype.buildCSSText=function(t,e,n){return n+this.value},e}(t4),t7=tQ(function(t){return void 0===t&&(t=""),t.replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})}),et=function(t){return t.split("").map(function(t,e){return t.toUpperCase()===t?"".concat(0!==e?"-":"").concat(t.toLowerCase()):t}).join("")};function ee(t){return"function"==typeof t}var en={d:{alias:"path"},strokeDasharray:{alias:"lineDash"},strokeWidth:{alias:"lineWidth"},textAnchor:{alias:"textAlign"},src:{alias:"img"}},er=tQ(function(t){var e=t7(t),n=en[e];return(null==n?void 0:n.alias)||e}),ei=function(t,e){void 0===e&&(e="");var n="";return Number.isFinite(t)?(function(t){if(!t)throw Error()}(Number.isNaN(t)),n="NaN"):n=t>0?"infinity":"-infinity",n+e},eo=function(t){return t2(t1(t))},ea=function(t){function e(e,n){void 0===n&&(n=L.kNumber);var r,i,o=t.call(this)||this;return i="string"==typeof n?(r=n)?"number"===r?L.kNumber:"percent"===r||"%"===r?L.kPercentage:t0.find(function(t){return t.name===r}).unit_type:L.kUnknown:n,o.unit=i,o.value=e,o}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.value,this.unit)},e.prototype.equals=function(t){return this.value===t.value&&this.unit===t.unit},e.prototype.getType=function(){return _.kUnitType},e.prototype.convertTo=function(t){if(this.unit===t)return new e(this.value,this.unit);var n=eo(this.unit);if(n!==eo(t)||n===L.kUnknown)return null;var r=t3(this.unit)/t3(t);return new e(this.value*r,t)},e.prototype.buildCSSText=function(t,e,n){var r;switch(this.unit){case L.kUnknown:break;case L.kInteger:r=Number(this.value).toFixed(0);break;case L.kNumber:case L.kPercentage:case L.kEms:case L.kRems:case L.kPixels:case L.kDegrees:case L.kRadians:case L.kGradians:case L.kMilliseconds:case L.kSeconds:case L.kTurns:var i=this.value,o=t5(this.unit);if(i<-999999||i>999999){var a=t5(this.unit);r=!Number.isFinite(i)||Number.isNaN(i)?ei(i,a):i+(a||"")}else r="".concat(i).concat(o)}return n+r},e}(t4),es=new ea(0,"px");new ea(1,"px");var el=new ea(0,"deg"),eu=function(t){function e(e,n,r,i,o){void 0===i&&(i=1),void 0===o&&(o=!1);var a=t.call(this,"rgb")||this;return a.r=e,a.g=n,a.b=r,a.alpha=i,a.isNone=o,a}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.r,this.g,this.b,this.alpha)},e.prototype.buildCSSText=function(t,e,n){return n+"rgba(".concat(this.r,",").concat(this.g,",").concat(this.b,",").concat(this.alpha,")")},e}(t9),ec=new t6("unset"),eh={"":ec,unset:ec,initial:new t6("initial"),inherit:new t6("inherit")},ep=function(t){return eh[t]||(eh[t]=new t6(t)),eh[t]},ed=new eu(0,0,0,0,!0),ef=new eu(0,0,0,0),ev=tQ(function(t,e,n,r){return new eu(t,e,n,r)},function(t,e,n,r){return"rgba(".concat(t,",").concat(e,",").concat(n,",").concat(r,")")}),ey=function(t,e){return void 0===e&&(e=L.kNumber),new ea(t,e)};new ea(50,"%"),(y=V||(V={}))[y.Standard=0]="Standard",(g=Z||(Z={}))[g.ADDED=0]="ADDED",g[g.REMOVED=1]="REMOVED",g[g.Z_INDEX_CHANGED=2]="Z_INDEX_CHANGED";var eg={absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new tH(0,0,0,0)};(m=Y||(Y={})).COORDINATE="",m.COLOR="",m.PAINT="",m.NUMBER="",m.ANGLE="",m.OPACITY_VALUE="",m.SHADOW_BLUR="",m.LENGTH="",m.PERCENTAGE="",m.LENGTH_PERCENTAGE=" | ",m.LENGTH_PERCENTAGE_12="[ | ]{1,2}",m.LENGTH_PERCENTAGE_14="[ | ]{1,4}",m.LIST_OF_POINTS="",m.PATH="",m.FILTER="",m.Z_INDEX="",m.OFFSET_DISTANCE="",m.DEFINED_PATH="",m.MARKER="",m.TRANSFORM="",m.TRANSFORM_ORIGIN="",m.TEXT="",m.TEXT_TRANSFORM="";var em=function(){var t={linearGradient:/^(linear\-gradient)/i,repeatingLinearGradient:/^(repeating\-linear\-gradient)/i,radialGradient:/^(radial\-gradient)/i,repeatingRadialGradient:/^(repeating\-radial\-gradient)/i,conicGradient:/^(conic\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},e="";function n(t){throw Error(e+": "+t)}function r(){return i("linear-gradient",t.linearGradient,a)||i("repeating-linear-gradient",t.repeatingLinearGradient,a)||i("radial-gradient",t.radialGradient,s)||i("repeating-radial-gradient",t.repeatingRadialGradient,s)||i("conic-gradient",t.conicGradient,s)}function i(e,r,i){return o(r,function(r){var o=i();return o&&!m(t.comma)&&n("Missing comma before color stops"),{type:e,orientation:o,colorStops:p(d)}})}function o(e,r){var i=m(e);if(i){m(t.startCall)||n("Missing (");var o=r(i);return m(t.endCall)||n("Missing )"),o}}function a(){return g("directional",t.sideOrCorner,1)||g("angular",t.angleValue,1)}function s(){var n,r,i=l();return i&&((n=[]).push(i),r=e,m(t.comma)&&((i=l())?n.push(i):e=r)),n}function l(){var t,e,n=((t=g("shape",/^(circle)/i,0))&&(t.style=y()||u()),t||((e=g("shape",/^(ellipse)/i,0))&&(e.style=v()||u()),e));if(n)n.at=c();else{var r=u();if(r){n=r;var i=c();i&&(n.at=i)}else{var o=h();o&&(n={type:"default-radial",at:o})}}return n}function u(){return g("extent-keyword",t.extentKeywords,1)}function c(){if(g("position",/^at/,0)){var t=h();return t||n("Missing positioning value"),t}}function h(){var t={x:v(),y:v()};if(t.x||t.y)return{type:"position",value:t}}function p(e){var r=e(),i=[];if(r)for(i.push(r);m(t.comma);)(r=e())?i.push(r):n("One extra comma");return i}function d(){var e=g("hex",t.hexColor,1)||o(t.rgbaColor,function(){return{type:"rgba",value:p(f)}})||o(t.rgbColor,function(){return{type:"rgb",value:p(f)}})||g("literal",t.literalColor,0);return e||n("Expected color definition"),e.length=v(),e}function f(){return m(t.number)[1]}function v(){return g("%",t.percentageValue,1)||g("position-keyword",t.positionKeywords,1)||y()}function y(){return g("px",t.pixelValue,1)||g("em",t.emValue,1)}function g(t,e,n){var r=m(e);if(r)return{type:t,value:r[n]}}function m(t){var n=/^[\n\r\t\s]+/.exec(e);n&&E(n[0].length);var r=t.exec(e);return r&&E(r[0].length),r}function E(t){e=e.substring(t)}return function(t){var i;return e=t,i=p(r),e.length>0&&n("Invalid input not EOF"),i}}(),eE=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,ex=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,eb=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,eT=/[\d.]+:(#[^\s]+|[^\)]+\))/gi,eP={left:180,top:-90,bottom:90,right:0,"left top":225,"top left":225,"left bottom":135,"bottom left":135,"right top":-45,"top right":-45,"right bottom":45,"bottom right":45},eS=tQ(function(t){return ey("angular"===t.type?Number(t.value):eP[t.value]||0,"deg")}),eN=tQ(function(t){var e=50,n=50,r="%",i="%";if((null==t?void 0:t.type)==="position"){var o=t.value,a=o.x,s=o.y;(null==a?void 0:a.type)==="position-keyword"&&("left"===a.value?e=0:"center"===a.value?e=50:"right"===a.value?e=100:"top"===a.value?n=0:"bottom"===a.value&&(n=100)),(null==s?void 0:s.type)==="position-keyword"&&("left"===s.value?e=0:"center"===s.value?n=50:"right"===s.value?e=100:"top"===s.value?n=0:"bottom"===s.value&&(n=100)),((null==a?void 0:a.type)==="px"||(null==a?void 0:a.type)==="%"||(null==a?void 0:a.type)==="em")&&(r=null==a?void 0:a.type,e=Number(a.value)),((null==s?void 0:s.type)==="px"||(null==s?void 0:s.type)==="%"||(null==s?void 0:s.type)==="em")&&(i=null==s?void 0:s.type,n=Number(s.value))}return{cx:ey(e,r),cy:ey(n,i)}}),eC=tQ(function(t){if(t.indexOf("linear")>-1||t.indexOf("radial")>-1){var e;return em(t).map(function(t){var e=t.type,n=t.orientation,r=t.colorStops;!function(t){var e,n,r,i=t.length;t[i-1].length=null!==(e=t[i-1].length)&&void 0!==e?e:{type:"%",value:"100"},i>1&&(t[0].length=null!==(n=t[0].length)&&void 0!==n?n:{type:"%",value:"0"});for(var o=0,a=Number(t[0].length.value),s=1;s=0)return ey(Number(e),"px");if("deg".search(t)>=0)return ey(Number(e),"deg")}var n=[];e=e.replace(t,function(t){return n.push(t),"U"+t});var r="U("+t.source+")";return n.map(function(t){return ey(Number(e.replace(RegExp("U"+t,"g"),"").replace(RegExp(r,"g"),"*0")),t)})[0]}var eA=function(t){return eR(/px/g,t)},eO=tQ(eA);tQ(function(t){return eR(RegExp("%","g"),t)});var eI=function(t){return(0,te.Z)(t)||isFinite(Number(t))?ey(Number(t)||0,"px"):eR(RegExp("px|%|em|rem","g"),t)},eL=tQ(eI),eD=function(t){return eR(RegExp("deg|rad|grad|turn","g"),t)},eG=tQ(eD);function eB(t){var e=0;return t.unit===L.kDegrees?e=t.value:t.unit===L.kRadians?e=tD(Number(t.value)):t.unit===L.kTurns&&(e=360*Number(t.value)),e}function eF(t,e){var n;return(Array.isArray(t)?n=t.map(function(t){return Number(t)}):(0,tr.Z)(t)?n=t.split(" ").map(function(t){return Number(t)}):(0,te.Z)(t)&&(n=[t]),2===e)?1===n.length?[n[0],n[0]]:[n[0],n[1]]:1===n.length?[n[0],n[0],n[0],n[0]]:2===n.length?[n[0],n[1],n[0],n[1]]:3===n.length?[n[0],n[1],n[2],n[1]]:[n[0],n[1],n[2],n[3]]}function e_(t){return(0,tr.Z)(t)?t.split(" ").map(function(t){return eL(t)}):t.map(function(t){return eL(t.toString())})}function eU(t,e,n,r){if(void 0===r&&(r=!1),t.unit===L.kPixels)return Number(t.value);if(t.unit===L.kPercentage&&n){var i=n.nodeName===k.GROUP?n.getLocalBounds():n.getGeometryBounds();return(r?i.min[e]:0)+t.value/100*i.halfExtents[e]*2}return 0}var eV=["blur","brightness","drop-shadow","contrast","grayscale","sepia","saturate","hue-rotate","invert"];function eZ(t){if(void 0===t&&(t=""),"none"===(t=t.toLowerCase().trim()))return[];for(var e,n=/\s*([\w-]+)\(([^)]*)\)/g,r=[],i=0;(e=n.exec(t))&&e.index===i;)if(i=e.index+e[0].length,eV.indexOf(e[1])>-1&&r.push({name:e[1],params:e[2].split(" ").map(function(t){return eR(/deg|rad|grad|turn|px|%/g,t)||ek(t)})}),n.lastIndex===t.length)return r;return[]}function eY(t){return t.toString()}var ez=function(t){return"number"==typeof t?ey(t):/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t)?ey(Number(t)):ey(0)},eX=tQ(ez);function ej(t,e){return[t,e,eY]}function eW(t,e){return function(n,r){return[n,r,function(n){return eY((0,ti.Z)(n,t,e))}]}}function eH(t,e){if(t.length===e.length)return[t,e,function(t){return t}]}function eq(t){return 0===t.parsedStyle.d.totalLength&&(t.parsedStyle.d.totalLength=(0,to.D)(t.parsedStyle.d.absolutePath)),t.parsedStyle.d.totalLength}function eK(t,e){return t[0]===e[0]&&t[1]===e[1]}function eJ(t,e){var n=t.prePoint,r=t.currentPoint,i=t.nextPoint,o=Math.pow(r[0]-n[0],2)+Math.pow(r[1]-n[1],2),a=Math.pow(r[0]-i[0],2)+Math.pow(r[1]-i[1],2),s=Math.acos((o+a-(Math.pow(n[0]-i[0],2)+Math.pow(n[1]-i[1],2)))/(2*Math.sqrt(o)*Math.sqrt(a)));if(!s||0===Math.sin(s)||(0,tl.Z)(s,0))return{xExtra:0,yExtra:0};var l=Math.abs(Math.atan2(i[1]-r[1],i[0]-r[0])),u=Math.abs(Math.atan2(i[0]-r[0],i[1]-r[1]));return{xExtra:Math.cos(s/2-(l=l>Math.PI/2?Math.PI-l:l))*(e/2*(1/Math.sin(s/2)))-e/2||0,yExtra:Math.cos((u=u>Math.PI/2?Math.PI-u:u)-s/2)*(e/2*(1/Math.sin(s/2)))-e/2||0}}function e$(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}tQ(function(t){return(0,tr.Z)(t)?t.split(" ").map(eX):t.map(eX)});var eQ=function(t,e){var n=t.x*e.x+t.y*e.y,r=Math.sqrt((Math.pow(t.x,2)+Math.pow(t.y,2))*(Math.pow(e.x,2)+Math.pow(e.y,2)));return(t.x*e.y-t.y*e.x<0?-1:1)*Math.acos(n/r)},e0=function(t,e,n,r,i,o,a,s){e=Math.abs(e),n=Math.abs(n);var l=tL(r=(0,tu.Z)(r,360));if(t.x===a.x&&t.y===a.y)return{x:t.x,y:t.y,ellipticalArcAngle:0};if(0===e||0===n)return{x:0,y:0,ellipticalArcAngle:0};var u=(t.x-a.x)/2,c=(t.y-a.y)/2,h={x:Math.cos(l)*u+Math.sin(l)*c,y:-Math.sin(l)*u+Math.cos(l)*c},p=Math.pow(h.x,2)/Math.pow(e,2)+Math.pow(h.y,2)/Math.pow(n,2);p>1&&(e=Math.sqrt(p)*e,n=Math.sqrt(p)*n);var d=(Math.pow(e,2)*Math.pow(n,2)-Math.pow(e,2)*Math.pow(h.y,2)-Math.pow(n,2)*Math.pow(h.x,2))/(Math.pow(e,2)*Math.pow(h.y,2)+Math.pow(n,2)*Math.pow(h.x,2)),f=(i!==o?1:-1)*Math.sqrt(d=d<0?0:d),v={x:f*(e*h.y/n),y:f*(-(n*h.x)/e)},y={x:Math.cos(l)*v.x-Math.sin(l)*v.y+(t.x+a.x)/2,y:Math.sin(l)*v.x+Math.cos(l)*v.y+(t.y+a.y)/2},g={x:(h.x-v.x)/e,y:(h.y-v.y)/n},m=eQ({x:1,y:0},g),E=eQ(g,{x:(-h.x-v.x)/e,y:(-h.y-v.y)/n});!o&&E>0?E-=2*Math.PI:o&&E<0&&(E+=2*Math.PI);var x=m+(E%=2*Math.PI)*s,b=e*Math.cos(x),T=n*Math.sin(x);return{x:Math.cos(l)*b-Math.sin(l)*T+y.x,y:Math.sin(l)*b+Math.cos(l)*T+y.y,ellipticalArcStartAngle:m,ellipticalArcEndAngle:m+E,ellipticalArcAngle:x,ellipticalArcCenter:y,resultantRx:e,resultantRy:n}};function e1(t,e,n){void 0===n&&(n=!0);var r=t.arcParams,i=r.rx,o=void 0===i?0:i,a=r.ry,s=void 0===a?0:a,l=r.xRotation,u=r.arcFlag,c=r.sweepFlag,h=e0({x:t.prePoint[0],y:t.prePoint[1]},o,s,l,!!u,!!c,{x:t.currentPoint[0],y:t.currentPoint[1]},e),p=e0({x:t.prePoint[0],y:t.prePoint[1]},o,s,l,!!u,!!c,{x:t.currentPoint[0],y:t.currentPoint[1]},n?e+.005:e-.005),d=p.x-h.x,f=p.y-h.y,v=Math.sqrt(d*d+f*f);return{x:-d/v,y:-f/v}}function e2(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function e3(t,e){return e2(t)*e2(e)?(t[0]*e[0]+t[1]*e[1])/(e2(t)*e2(e)):1}function e5(t,e){return(t[0]*e[1]0&&n.push(r),{polygons:e,polylines:n}}(e),i=r.polygons,o=r.polylines,a=function(t){for(var e=[],n=null,r=null,i=null,o=0,a=t.length,s=0;s1&&(n*=Math.sqrt(d),r*=Math.sqrt(d));var f=n*n*(p*p)+r*r*(h*h),v=f?Math.sqrt((n*n*(r*r)-f)/f):1;o===a&&(v*=-1),isNaN(v)&&(v=0);var y=r?v*n*p/r:0,g=n?-(v*r)*h/n:0,m=(s+u)/2+Math.cos(i)*y-Math.sin(i)*g,E=(l+c)/2+Math.sin(i)*y+Math.cos(i)*g,x=[(h-y)/n,(p-g)/r],b=[(-1*h-y)/n,(-1*p-g)/r],T=e5([1,0],x),P=e5(x,b);return -1>=e3(x,b)&&(P=Math.PI),e3(x,b)>=1&&(P=0),0===a&&P>0&&(P-=2*Math.PI),1===a&&P<0&&(P+=2*Math.PI),{cx:m,cy:E,rx:eK(t,[u,c])?0:n,ry:eK(t,[u,c])?0:r,startAngle:T,endAngle:T+P,xRotation:i,arcFlag:o,sweepFlag:a}}(n,l);c.arcParams=h}if("Z"===u)n=i,r=t[o+1];else{var p=l.length;n=[l[p-2],l[p-1]]}r&&"Z"===r[0]&&(r=t[o],e[o]&&(e[o].prePoint=n)),c.currentPoint=n,e[o]&&eK(n,e[o].currentPoint)&&(e[o].prePoint=c.prePoint);var d=r?[r[r.length-2],r[r.length-1]]:null;c.nextPoint=d;var f=c.prePoint;if(["L","H","V"].includes(u))c.startTangent=[f[0]-n[0],f[1]-n[1]],c.endTangent=[n[0]-f[0],n[1]-f[1]];else if("Q"===u){var v=[l[1],l[2]];c.startTangent=[f[0]-v[0],f[1]-v[1]],c.endTangent=[n[0]-v[0],n[1]-v[1]]}else if("T"===u){var y=e[s-1],v=e$(y.currentPoint,f);"Q"===y.command?(c.command="Q",c.startTangent=[f[0]-v[0],f[1]-v[1]],c.endTangent=[n[0]-v[0],n[1]-v[1]]):(c.command="TL",c.startTangent=[f[0]-n[0],f[1]-n[1]],c.endTangent=[n[0]-f[0],n[1]-f[1]])}else if("C"===u){var g=[l[1],l[2]],m=[l[3],l[4]];c.startTangent=[f[0]-g[0],f[1]-g[1]],c.endTangent=[n[0]-m[0],n[1]-m[1]],0===c.startTangent[0]&&0===c.startTangent[1]&&(c.startTangent=[g[0]-m[0],g[1]-m[1]]),0===c.endTangent[0]&&0===c.endTangent[1]&&(c.endTangent=[m[0]-g[0],m[1]-g[1]])}else if("S"===u){var y=e[s-1],g=e$(y.currentPoint,f),m=[l[1],l[2]];"C"===y.command?(c.command="C",c.startTangent=[f[0]-g[0],f[1]-g[1]],c.endTangent=[n[0]-m[0],n[1]-m[1]]):(c.command="SQ",c.startTangent=[f[0]-m[0],f[1]-m[1]],c.endTangent=[n[0]-m[0],n[1]-m[1]])}else if("A"===u){var E=e1(c,0),x=E.x,b=E.y,T=e1(c,1,!1),P=T.x,S=T.y;c.startTangent=[x,b],c.endTangent=[P,S]}e.push(c)}return e}(e),s=function(t,e){for(var n=[],r=[],i=[],o=0;oMath.abs(K.determinant(t_))))){var a=tF[3],s=tF[7],l=tF[11],u=tF[12],c=tF[13],h=tF[14],p=tF[15];if(0!==a||0!==s||0!==l){if(tU[0]=a,tU[1]=s,tU[2]=l,tU[3]=p,!K.invert(t_,t_))return;K.transpose(t_,t_),$.fF(i,tU,t_)}else i[0]=i[1]=i[2]=0,i[3]=1;if(e[0]=u,e[1]=c,e[2]=h,tV[0][0]=tF[0],tV[0][1]=tF[1],tV[0][2]=tF[2],tV[1][0]=tF[4],tV[1][1]=tF[5],tV[1][2]=tF[6],tV[2][0]=tF[8],tV[2][1]=tF[9],tV[2][2]=tF[10],n[0]=q.kE(tV[0]),q.Fv(tV[0],tV[0]),r[0]=q.AK(tV[0],tV[1]),tY(tV[1],tV[1],tV[0],1,-r[0]),n[1]=q.kE(tV[1]),q.Fv(tV[1],tV[1]),r[0]/=n[1],r[1]=q.AK(tV[0],tV[2]),tY(tV[2],tV[2],tV[0],1,-r[1]),r[2]=q.AK(tV[1],tV[2]),tY(tV[2],tV[2],tV[1],1,-r[2]),n[2]=q.kE(tV[2]),q.Fv(tV[2],tV[2]),r[1]/=n[2],r[2]/=n[2],q.kC(tZ,tV[1],tV[2]),0>q.AK(tV[0],tZ))for(var d=0;d<3;d++)n[d]*=-1,tV[d][0]*=-1,tV[d][1]*=-1,tV[d][2]*=-1;o[0]=.5*Math.sqrt(Math.max(1+tV[0][0]-tV[1][1]-tV[2][2],0)),o[1]=.5*Math.sqrt(Math.max(1-tV[0][0]+tV[1][1]-tV[2][2],0)),o[2]=.5*Math.sqrt(Math.max(1-tV[0][0]-tV[1][1]+tV[2][2],0)),o[3]=.5*Math.sqrt(Math.max(1+tV[0][0]+tV[1][1]+tV[2][2],0)),tV[2][1]>tV[1][2]&&(o[0]=-o[0]),tV[0][2]>tV[2][0]&&(o[1]=-o[1]),tV[1][0]>tV[0][1]&&(o[2]=-o[2])}}(0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(na).reduce(ns),e,n,r,i,o),[[e,n,r,o,i]]}var nu=function(){function t(t,e){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=e[r][o]*t[o][i];return n}return function(e,n,r,i,o){for(var a,s=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],l=0;l<4;l++)s[l][3]=o[l];for(var l=0;l<3;l++)for(var u=0;u<3;u++)s[3][l]+=e[u]*s[u][l];var c=i[0],h=i[1],p=i[2],d=i[3],f=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];f[0][0]=1-2*(h*h+p*p),f[0][1]=2*(c*h-p*d),f[0][2]=2*(c*p+h*d),f[1][0]=2*(c*h+p*d),f[1][1]=1-2*(c*c+p*p),f[1][2]=2*(h*p-c*d),f[2][0]=2*(c*p-h*d),f[2][1]=2*(h*p+c*d),f[2][2]=1-2*(c*c+h*h),s=t(s,f);var v=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];r[2]&&(v[2][1]=r[2],s=t(s,v)),r[1]&&(v[2][1]=0,v[2][0]=r[0],s=t(s,v)),r[0]&&(v[2][0]=0,v[1][0]=r[0],s=t(s,v));for(var l=0;l<3;l++)for(var u=0;u<3;u++)s[l][u]*=n[l];return 0==(a=s)[0][2]&&0==a[0][3]&&0==a[1][2]&&0==a[1][3]&&0==a[2][0]&&0==a[2][1]&&1==a[2][2]&&0==a[2][3]&&0==a[3][2]&&1==a[3][3]?[s[0][0],s[0][1],s[1][0],s[1][1],s[3][0],s[3][1]]:s[0].concat(s[1],s[2],s[3])}}();function nc(t){return t.toFixed(6).replace(".000000","")}function nh(t,e){var n,r;return(t.decompositionPair!==e&&(t.decompositionPair=e,n=nl(t)),e.decompositionPair!==t&&(e.decompositionPair=t,r=nl(e)),null===n[0]||null===r[0])?[[!1],[!0],function(n){return n?e[0].d:t[0].d}]:(n[0].push(0),r[0].push(1),[n,r,function(t){var e=function(t,e,n){var r=function(t,e){for(var n=0,r=0;r"].calculator(null,null,{value:e.textTransform},t,null),(0,tg.Z)(e.clipPath)||this.runtime.CSSPropertySyntaxFactory[""].calculator("clipPath",p,e.clipPath,t,this.runtime),e.offsetPath&&this.runtime.CSSPropertySyntaxFactory[""].calculator("offsetPath",d,e.offsetPath,t,this.runtime),e.transform&&(t.parsedStyle.transform=ni(e.transform)),e.transformOrigin&&(t.parsedStyle.transformOrigin=nv(e.transformOrigin)),e.markerStart&&(t.parsedStyle.markerStart=this.runtime.CSSPropertySyntaxFactory[""].calculator(null,e.markerStart,e.markerStart,null,null)),e.markerEnd&&(t.parsedStyle.markerEnd=this.runtime.CSSPropertySyntaxFactory[""].calculator(null,e.markerEnd,e.markerEnd,null,null)),e.markerMid&&(t.parsedStyle.markerMid=this.runtime.CSSPropertySyntaxFactory[""].calculator("",e.markerMid,e.markerMid,null,null)),(0,tn.Z)(e.zIndex)||this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),(0,tn.Z)(e.offsetDistance)||this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),e.transform&&this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),e.transformOrigin&&this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),f&&(t.geometry.dirty=!0,t.renderable.boundsDirty=!0,t.renderable.renderBoundsDirty=!0,n.forceUpdateGeometry||this.runtime.sceneGraphService.dirtifyToRoot(t))}},t.prototype.parseProperty=function(t,e,n,r){var i=nx[t],o=e;if((""===e||(0,tn.Z)(e))&&(e="unset"),"unset"===e||"initial"===e||"inherit"===e)o=ep(e);else if(i){var a=i.k,s=i.syntax,l=s&&this.getPropertySyntax(s);a&&a.indexOf(e)>-1?o=ep(e):l&&(!r&&l.parserUnmemoize?o=l.parserUnmemoize(e,n):l.parser&&(o=l.parser(e,n)))}return o},t.prototype.computeProperty=function(t,e,n,r){var i=nx[t],o="g-root"===n.id,a=e;if(i){var s=i.syntax,l=i.inh,u=i.d;if(e instanceof t6){var c=e.value;if("unset"===c&&(c=l&&!o?"inherit":"initial"),"initial"===c)(0,tn.Z)(u)||(e=this.parseProperty(t,ee(u)?u(n.nodeName):u,n,r));else if("inherit"===c){var h=this.tryToResolveProperty(n,t,{inherited:!0});return(0,tn.Z)(h)?void this.addUnresolveProperty(n,t):h}}var p=s&&this.getPropertySyntax(s);if(p&&p.calculator){var d=n.parsedStyle[t];a=p.calculator(t,d,e,n,this.runtime)}else a=e instanceof t6?e.value:e}return a},t.prototype.postProcessProperty=function(t,e,n){var r=nx[t];if(r&&r.syntax){var i=r.syntax&&this.getPropertySyntax(r.syntax);i&&i.postProcessor&&i.postProcessor(e,n)}},t.prototype.addUnresolveProperty=function(t,e){var n=nb.get(t);n||(nb.set(t,[]),n=nb.get(t)),-1===n.indexOf(e)&&n.push(e)},t.prototype.tryToResolveProperty=function(t,e,n){if(void 0===n&&(n={}),n.inherited&&t.parentElement&&nT(t.parentElement,e)){var r=t.parentElement.parsedStyle[e];if("unset"!==r&&"initial"!==r&&"inherit"!==r)return r}},t.prototype.recalc=function(t){var e=nb.get(t);if(e&&e.length){var n={};e.forEach(function(e){n[e]=t.attributes[e]}),this.processProperties(t,n),nb.delete(t)}},t.prototype.updateGeometry=function(t){var e=t.nodeName,n=this.runtime.geometryUpdaterFactory[e];if(n){var r=t.geometry;r.contentBounds||(r.contentBounds=new tz),r.renderBounds||(r.renderBounds=new tz);var i=t.parsedStyle,o=n.update(i,t),a=o.cx,s=o.cy,l=o.cz,u=o.hwidth,c=void 0===u?0:u,h=o.hheight,p=void 0===h?0:h,d=o.hdepth,f=[Math.abs(c),Math.abs(p),void 0===d?0:d],v=i.stroke,y=i.lineWidth,g=i.increasedLineWidthForHitTesting,m=i.shadowType,E=void 0===m?"outer":m,x=i.shadowColor,b=i.filter,T=i.transformOrigin,P=[void 0===a?0:a,void 0===s?0:s,void 0===l?0:l];r.contentBounds.update(P,f);var S=e===k.POLYLINE||e===k.POLYGON||e===k.PATH?Math.SQRT2:.5;if(v&&!v.isNone){var N=(((void 0===y?1:y)||0)+((void 0===g?0:g)||0))*S;f[0]+=N,f[1]+=N}if(r.renderBounds.update(P,f),x&&E&&"inner"!==E){var C=r.renderBounds,w=C.min,M=C.max,R=i.shadowBlur,A=i.shadowOffsetX,O=i.shadowOffsetY,I=R||0,L=A||0,D=O||0,G=w[0]-I+L,B=M[0]+I+L,F=w[1]-I+D,_=M[1]+I+D;w[0]=Math.min(w[0],G),M[0]=Math.max(M[0],B),w[1]=Math.min(w[1],F),M[1]=Math.max(M[1],_),r.renderBounds.setMinMax(w,M)}(void 0===b?[]:b).forEach(function(t){var e=t.name,n=t.params;if("blur"===e){var i=n[0].value;r.renderBounds.update(r.renderBounds.center,tR(r.renderBounds.halfExtents,r.renderBounds.halfExtents,[i,i,0]))}else if("drop-shadow"===e){var o=n[0].value,a=n[1].value,s=n[2].value,l=r.renderBounds,u=l.min,c=l.max,h=u[0]-s+o,p=c[0]+s+o,d=u[1]-s+a,f=c[1]+s+a;u[0]=Math.min(u[0],h),c[0]=Math.max(c[0],p),u[1]=Math.min(u[1],d),c[1]=Math.max(c[1],f),r.renderBounds.setMinMax(u,c)}}),t.geometry.dirty=!1;var U=p<0,V=(c<0?-1:1)*(T?eU(T[0],0,t,!0):0),Z=(U?-1:1)*(T?eU(T[1],1,t,!0):0);(V||Z)&&t.setOrigin(V,Z)}},t.prototype.updateSizeAttenuation=function(t,e){t.style.isSizeAttenuation?(t.style.rawLineWidth||(t.style.rawLineWidth=t.style.lineWidth),t.style.lineWidth=(t.style.rawLineWidth||1)/e,t.nodeName===k.CIRCLE&&(t.style.rawR||(t.style.rawR=t.style.r),t.style.r=(t.style.rawR||1)/e)):(t.style.rawLineWidth&&(t.style.lineWidth=t.style.rawLineWidth,delete t.style.rawLineWidth),t.nodeName===k.CIRCLE&&t.style.rawR&&(t.style.r=t.style.rawR,delete t.style.rawR))},t.prototype.isPropertyInheritable=function(t){var e=nx[t];return!!e&&e.inh},t}(),nS=function(){function t(){this.parser=eG,this.parserUnmemoize=eD,this.parserWithCSSDisabled=null,this.mixer=ej}return t.prototype.calculator=function(t,e,n,r){return eB(n)},t}(),nN=function(){function t(){}return t.prototype.calculator=function(t,e,n,r,i){return n instanceof t6&&(n=null),i.sceneGraphService.updateDisplayObjectDependency(t,e,n,r),"clipPath"===t&&r.forEach(function(t){0===t.childNodes.length&&i.sceneGraphService.dirtifyToRoot(t)}),n},t}(),nC=function(){function t(){this.parser=ek,this.parserWithCSSDisabled=ek,this.mixer=eM}return t.prototype.calculator=function(t,e,n,r){return n instanceof t6?"none"===n.value?ed:ef:n},t}(),nw=function(){function t(){this.parser=eZ}return t.prototype.calculator=function(t,e,n){return n instanceof t6?[]:n},t}();function nk(t){var e=t.parsedStyle.fontSize;return(0,tn.Z)(e)?null:e}var nM=function(){function t(){this.parser=eL,this.parserUnmemoize=eI,this.parserWithCSSDisabled=null,this.mixer=ej}return t.prototype.calculator=function(t,e,n,r,i){if((0,te.Z)(n))return n;if(!ea.isRelativeUnit(n.unit))return n.value;var o,a=i.styleValueRegistry;if(n.unit===L.kPercentage)return 0;if(n.unit===L.kEms){if(r.parentNode){var s=nk(r.parentNode);if(s)return s*n.value;a.addUnresolveProperty(r,t)}else a.addUnresolveProperty(r,t);return 0}if(n.unit===L.kRems){if(null===(o=null==r?void 0:r.ownerDocument)||void 0===o?void 0:o.documentElement){var s=nk(r.ownerDocument.documentElement);if(s)return s*n.value;a.addUnresolveProperty(r,t)}else a.addUnresolveProperty(r,t);return 0}},t}(),nR=function(){function t(){this.mixer=eH}return t.prototype.parser=function(t){var e=e_((0,te.Z)(t)?[t]:t);return 1===e.length?[e[0],e[0]]:[e[0],e[1]]},t.prototype.calculator=function(t,e,n){return n.map(function(t){return t.value})},t}(),nA=function(){function t(){this.mixer=eH}return t.prototype.parser=function(t){var e=e_((0,te.Z)(t)?[t]:t);return 1===e.length?[e[0],e[0],e[0],e[0]]:2===e.length?[e[0],e[1],e[0],e[1]]:3===e.length?[e[0],e[1],e[2],e[1]]:[e[0],e[1],e[2],e[3]]},t.prototype.calculator=function(t,e,n){return n.map(function(t){return t.value})},t}(),nO=function(){function t(){}return t.prototype.calculator=function(t,e,n,r){n instanceof t6&&(n=null);var i=null==n?void 0:n.cloneNode(!0);return i&&(i.style.isMarker=!0),i},t}(),nI=function(){function t(){this.mixer=ej,this.parser=eX,this.parserUnmemoize=ez,this.parserWithCSSDisabled=null}return t.prototype.calculator=function(t,e,n){return n.value},t}(),nL=function(){function t(){this.parser=eX,this.parserUnmemoize=ez,this.parserWithCSSDisabled=null,this.mixer=eW(0,1)}return t.prototype.calculator=function(t,e,n){return n.value},t.prototype.postProcessor=function(t){var e=t.parsedStyle,n=e.offsetPath,r=e.offsetDistance;if(n){var i=n.nodeName;if(i===k.LINE||i===k.PATH||i===k.POLYLINE){var o=n.getPoint(r);o&&t.setLocalPosition(o.x,o.y)}}},t}(),nD=function(){function t(){this.parser=eX,this.parserUnmemoize=ez,this.parserWithCSSDisabled=null,this.mixer=eW(0,1)}return t.prototype.calculator=function(t,e,n){return n.value},t}(),nG=function(){function t(){this.parser=e8,this.parserWithCSSDisabled=e8,this.mixer=e6}return t.prototype.calculator=function(t,e,n){return n instanceof t6&&"unset"===n.value?{absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new tH(0,0,0,0)}:n},t}(),nB=function(t){function e(){var e=t.apply(this,(0,W.ev)([],(0,W.CR)(arguments),!1))||this;return e.mixer=eW(0,1/0),e}return(0,W.ZT)(e,t),e}(nM),nF=function(){function t(){}return t.prototype.calculator=function(t,e,n,r){return n instanceof t6?"unset"===n.value?"":n.value:"".concat(n)},t.prototype.postProcessor=function(t){t.nodeValue="".concat(t.parsedStyle.text)||""},t}(),n_=function(){function t(){}return t.prototype.calculator=function(t,e,n,r){var i=r.getAttribute("text");if(i){var o=i;"capitalize"===n.value?o=i.charAt(0).toUpperCase()+i.slice(1):"lowercase"===n.value?o=i.toLowerCase():"uppercase"===n.value&&(o=i.toUpperCase()),r.parsedStyle.text=o}return n.value},t}(),nU={},nV=0,nZ="undefined"!=typeof window&&void 0!==window.document;function nY(t,e){var n=Number(t.parsedStyle.zIndex||0),r=Number(e.parsedStyle.zIndex||0);if(n===r){var i=t.parentNode;if(i){var o=i.childNodes||[];return o.indexOf(t)-o.indexOf(e)}}return n-r}function nz(t,e,n){nZ&&t.style&&(t.style.width=e+"px",t.style.height=n+"px")}function nX(t,e){if(nZ)return document.defaultView.getComputedStyle(t,null).getPropertyValue(e)}var nj={touchstart:"pointerdown",touchend:"pointerup",touchendoutside:"pointerupoutside",touchmove:"pointermove",touchcancel:"pointercancel"},nW="object"==typeof performance&&performance.now?performance:Date,nH=1,nq="object"==typeof self&&self.self==self?self:"object"==typeof n.g&&n.g.global==n.g?n.g:{},nK=Date.now(),nJ={},n$=Date.now(),nQ=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function");var e=Date.now(),n=e-n$,r=nH++;return nJ[r]=t,Object.keys(nJ).length>1||setTimeout(function(){n$=e;var t=nJ;nJ={},Object.keys(t).forEach(function(e){return t[e](nq.performance&&"function"==typeof nq.performance.now?nq.performance.now():Date.now()-nK)})},n>16?0:16-n),r},n0=function(t){return"string"!=typeof t?nQ:""===t?nq.requestAnimationFrame:nq[t+"RequestAnimationFrame"]},n1=function(t,e){for(var n=0;void 0!==t[n];){if(e(t[n]))return t[n];n+=1}}(["","webkit","moz","ms","o"],function(t){return!!n0(t)}),n2=n0(n1),n3="string"!=typeof n1?function(t){delete nJ[t]}:""===n1?nq.cancelAnimationFrame:nq[n1+"CancelAnimationFrame"]||nq[n1+"CancelRequestAnimationFrame"];nq.requestAnimationFrame=n2,nq.cancelAnimationFrame=n3;var n5=function(){function t(){this.callbacks=[]}return t.prototype.getCallbacksNum=function(){return this.callbacks.length},t.prototype.tapPromise=function(t,e){this.callbacks.push(e)},t.prototype.promise=function(){for(var t=[],e=0;e-1){var l=(0,W.CR)(t.split(":"),2),u=l[0];t=l[1],s=u,a=!0}if(t=r?"".concat(t,"capture"):t,e=ee(e)?e:e.handleEvent,a){var c=e;e=function(){for(var t,e=[],n=0;n0},e.prototype.isDefaultNamespace=function(t){throw Error(tq)},e.prototype.lookupNamespaceURI=function(t){throw Error(tq)},e.prototype.lookupPrefix=function(t){throw Error(tq)},e.prototype.normalize=function(){throw Error(tq)},e.prototype.isEqualNode=function(t){return this===t},e.prototype.isSameNode=function(t){return this.isEqualNode(t)},Object.defineProperty(e.prototype,"parent",{get:function(){return this.parentNode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentElement",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.childNodes.length>0?this.childNodes[0]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.childNodes.length>0?this.childNodes[this.childNodes.length-1]:null},enumerable:!1,configurable:!0}),e.prototype.compareDocumentPosition=function(t){if(t===this)return 0;for(var n,r=t,i=this,o=[r],a=[i];null!==(n=r.parentNode)&&void 0!==n?n:i.parentNode;)r=r.parentNode?(o.push(r.parentNode),r.parentNode):r,i=i.parentNode?(a.push(i.parentNode),i.parentNode):i;if(r!==i)return e.DOCUMENT_POSITION_DISCONNECTED|e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|e.DOCUMENT_POSITION_PRECEDING;var s=o.length>a.length?o:a,l=s===o?a:o;if(s[s.length-l.length]===l[0])return s===o?e.DOCUMENT_POSITION_CONTAINED_BY|e.DOCUMENT_POSITION_FOLLOWING:e.DOCUMENT_POSITION_CONTAINS|e.DOCUMENT_POSITION_PRECEDING;for(var u=s.length-l.length,c=l.length-1;c>=0;c--){var h=l[c],p=s[u+c];if(p!==h){var d=h.parentNode.childNodes;if(d.indexOf(h)0&&e;)e=e.parentNode,t--;return e},e.prototype.forEach=function(t,e){void 0===e&&(e=!1),t(this)||(e?this.childNodes.slice():this.childNodes).forEach(function(e){e.forEach(t)})},e.DOCUMENT_POSITION_DISCONNECTED=1,e.DOCUMENT_POSITION_PRECEDING=2,e.DOCUMENT_POSITION_FOLLOWING=4,e.DOCUMENT_POSITION_CONTAINS=8,e.DOCUMENT_POSITION_CONTAINED_BY=16,e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32,e}(rE),rb=function(){function t(t,e){var n=this;this.globalRuntime=t,this.context=e,this.emitter=new H.Z,this.nativeHTMLMap=new WeakMap,this.cursor="default",this.mappingTable={},this.mappingState={trackingData:{}},this.eventPool=new Map,this.tmpMatrix=K.create(),this.tmpVec3=q.Ue(),this.onPointerDown=function(t){var e=n.createPointerEvent(t);if(n.dispatchEvent(e,"pointerdown"),"touch"===e.pointerType)n.dispatchEvent(e,"touchstart");else if("mouse"===e.pointerType||"pen"===e.pointerType){var r=2===e.button;n.dispatchEvent(e,r?"rightdown":"mousedown")}n.trackingData(t.pointerId).pressTargetsByButton[t.button]=e.composedPath(),n.freeEvent(e)},this.onPointerUp=function(t){var e,r=nW.now(),i=n.createPointerEvent(t,void 0,void 0,n.context.config.alwaysTriggerPointerEventOnCanvas?n.rootTarget:void 0);if(n.dispatchEvent(i,"pointerup"),"touch"===i.pointerType)n.dispatchEvent(i,"touchend");else if("mouse"===i.pointerType||"pen"===i.pointerType){var o=2===i.button;n.dispatchEvent(i,o?"rightup":"mouseup")}var a=n.trackingData(t.pointerId),s=n.findMountedTarget(a.pressTargetsByButton[t.button]),l=s;if(s&&!i.composedPath().includes(s)){for(var u=s;u&&!i.composedPath().includes(u);){if(i.currentTarget=u,n.notifyTarget(i,"pointerupoutside"),"touch"===i.pointerType)n.notifyTarget(i,"touchendoutside");else if("mouse"===i.pointerType||"pen"===i.pointerType){var o=2===i.button;n.notifyTarget(i,o?"rightupoutside":"mouseupoutside")}rx.isNode(u)&&(u=u.parentNode)}delete a.pressTargetsByButton[t.button],l=u}if(l){var c=n.clonePointerEvent(i,"click");c.target=l,c.path=[],a.clicksByButton[t.button]||(a.clicksByButton[t.button]={clickCount:0,target:c.target,timeStamp:r});var h=a.clicksByButton[t.button];h.target===c.target&&r-h.timeStamp<200?++h.clickCount:h.clickCount=1,h.target=c.target,h.timeStamp=r,c.detail=h.clickCount,(null===(e=i.detail)||void 0===e?void 0:e.preventClick)||(n.context.config.useNativeClickEvent||"mouse"!==c.pointerType&&"touch"!==c.pointerType||n.dispatchEvent(c,"click"),n.dispatchEvent(c,"pointertap")),n.freeEvent(c)}n.freeEvent(i)},this.onPointerMove=function(t){var e=n.createPointerEvent(t,void 0,void 0,n.context.config.alwaysTriggerPointerEventOnCanvas?n.rootTarget:void 0),r="mouse"===e.pointerType||"pen"===e.pointerType,i=n.trackingData(t.pointerId),o=n.findMountedTarget(i.overTargets);if(i.overTargets&&o!==e.target){var a="mousemove"===t.type?"mouseout":"pointerout",s=n.createPointerEvent(t,a,o||void 0);if(n.dispatchEvent(s,"pointerout"),r&&n.dispatchEvent(s,"mouseout"),!e.composedPath().includes(o)){var l=n.createPointerEvent(t,"pointerleave",o||void 0);for(l.eventPhase=l.AT_TARGET;l.target&&!e.composedPath().includes(l.target);)l.currentTarget=l.target,n.notifyTarget(l),r&&n.notifyTarget(l,"mouseleave"),rx.isNode(l.target)&&(l.target=l.target.parentNode);n.freeEvent(l)}n.freeEvent(s)}if(o!==e.target){var u="mousemove"===t.type?"mouseover":"pointerover",c=n.clonePointerEvent(e,u);n.dispatchEvent(c,"pointerover"),r&&n.dispatchEvent(c,"mouseover");for(var h=o&&rx.isNode(o)&&o.parentNode;h&&h!==(rx.isNode(n.rootTarget)&&n.rootTarget.parentNode)&&h!==e.target;)h=h.parentNode;if(!h||h===(rx.isNode(n.rootTarget)&&n.rootTarget.parentNode)){var p=n.clonePointerEvent(e,"pointerenter");for(p.eventPhase=p.AT_TARGET;p.target&&p.target!==o&&p.target!==(rx.isNode(n.rootTarget)&&n.rootTarget.parentNode);)p.currentTarget=p.target,n.notifyTarget(p),r&&n.notifyTarget(p,"mouseenter"),rx.isNode(p.target)&&(p.target=p.target.parentNode);n.freeEvent(p)}n.freeEvent(c)}n.dispatchEvent(e,"pointermove"),"touch"===e.pointerType&&n.dispatchEvent(e,"touchmove"),r&&(n.dispatchEvent(e,"mousemove"),n.cursor=n.getCursor(e.target)),i.overTargets=e.composedPath(),n.freeEvent(e)},this.onPointerOut=function(t){var e=n.trackingData(t.pointerId);if(e.overTargets){var r="mouse"===t.pointerType||"pen"===t.pointerType,i=n.findMountedTarget(e.overTargets),o=n.createPointerEvent(t,"pointerout",i||void 0);n.dispatchEvent(o),r&&n.dispatchEvent(o,"mouseout");var a=n.createPointerEvent(t,"pointerleave",i||void 0);for(a.eventPhase=a.AT_TARGET;a.target&&a.target!==(rx.isNode(n.rootTarget)&&n.rootTarget.parentNode);)a.currentTarget=a.target,n.notifyTarget(a),r&&n.notifyTarget(a,"mouseleave"),rx.isNode(a.target)&&(a.target=a.target.parentNode);e.overTargets=null,n.freeEvent(o),n.freeEvent(a)}n.cursor=null},this.onPointerOver=function(t){var e=n.trackingData(t.pointerId),r=n.createPointerEvent(t),i="mouse"===r.pointerType||"pen"===r.pointerType;n.dispatchEvent(r,"pointerover"),i&&n.dispatchEvent(r,"mouseover"),"mouse"===r.pointerType&&(n.cursor=n.getCursor(r.target));var o=n.clonePointerEvent(r,"pointerenter");for(o.eventPhase=o.AT_TARGET;o.target&&o.target!==(rx.isNode(n.rootTarget)&&n.rootTarget.parentNode);)o.currentTarget=o.target,n.notifyTarget(o),i&&n.notifyTarget(o,"mouseenter"),rx.isNode(o.target)&&(o.target=o.target.parentNode);e.overTargets=r.composedPath(),n.freeEvent(r),n.freeEvent(o)},this.onPointerUpOutside=function(t){var e=n.trackingData(t.pointerId),r=n.findMountedTarget(e.pressTargetsByButton[t.button]),i=n.createPointerEvent(t);if(r){for(var o=r;o;)i.currentTarget=o,n.notifyTarget(i,"pointerupoutside"),"touch"===i.pointerType||("mouse"===i.pointerType||"pen"===i.pointerType)&&n.notifyTarget(i,2===i.button?"rightupoutside":"mouseupoutside"),rx.isNode(o)&&(o=o.parentNode);delete e.pressTargetsByButton[t.button]}n.freeEvent(i)},this.onWheel=function(t){var e=n.createWheelEvent(t);n.dispatchEvent(e),n.freeEvent(e)},this.onClick=function(t){if(n.context.config.useNativeClickEvent){var e=n.createPointerEvent(t);n.dispatchEvent(e),n.freeEvent(e)}},this.onPointerCancel=function(t){var e=n.createPointerEvent(t,void 0,void 0,n.context.config.alwaysTriggerPointerEventOnCanvas?n.rootTarget:void 0);n.dispatchEvent(e),n.freeEvent(e)}}return t.prototype.init=function(){this.rootTarget=this.context.renderingContext.root.parentNode,this.addEventMapping("pointerdown",this.onPointerDown),this.addEventMapping("pointerup",this.onPointerUp),this.addEventMapping("pointermove",this.onPointerMove),this.addEventMapping("pointerout",this.onPointerOut),this.addEventMapping("pointerleave",this.onPointerOut),this.addEventMapping("pointercancel",this.onPointerCancel),this.addEventMapping("pointerover",this.onPointerOver),this.addEventMapping("pointerupoutside",this.onPointerUpOutside),this.addEventMapping("wheel",this.onWheel),this.addEventMapping("click",this.onClick)},t.prototype.destroy=function(){this.emitter.removeAllListeners(),this.mappingTable={},this.mappingState={},this.eventPool.clear()},t.prototype.getScale=function(){var t=this.context.contextService.getBoundingClientRect(),e=1,n=1,r=this.context.contextService.getDomElement();if(r&&t){var i=r.offsetWidth,o=r.offsetHeight;i&&o&&(e=t.width/i,n=t.height/o)}return{scaleX:e,scaleY:n,bbox:t}},t.prototype.client2Viewport=function(t){var e=this.getScale(),n=e.scaleX,r=e.scaleY,i=e.bbox;return new tW((t.x-((null==i?void 0:i.left)||0))/n,(t.y-((null==i?void 0:i.top)||0))/r)},t.prototype.viewport2Client=function(t){var e=this.getScale(),n=e.scaleX,r=e.scaleY,i=e.bbox;return new tW((t.x+((null==i?void 0:i.left)||0))*n,(t.y+((null==i?void 0:i.top)||0))*r)},t.prototype.viewport2Canvas=function(t){var e=t.x,n=t.y,r=this.rootTarget.defaultView.getCamera(),i=this.context.config,o=i.width,a=i.height,s=r.getPerspectiveInverse(),l=r.getWorldTransform(),u=K.multiply(this.tmpMatrix,l,s),c=q.t8(this.tmpVec3,e/o*2-1,(1-n/a)*2-1,0);return q.fF(c,c,u),new tW(c[0],c[1])},t.prototype.canvas2Viewport=function(t){var e=this.rootTarget.defaultView.getCamera(),n=e.getPerspective(),r=e.getViewTransform(),i=K.multiply(this.tmpMatrix,n,r),o=q.t8(this.tmpVec3,t.x,t.y,0);q.fF(this.tmpVec3,this.tmpVec3,i);var a=this.context.config,s=a.width,l=a.height;return new tW((o[0]+1)/2*s,(1-(o[1]+1)/2)*l)},t.prototype.setPickHandler=function(t){this.pickHandler=t},t.prototype.addEventMapping=function(t,e){this.mappingTable[t]||(this.mappingTable[t]=[]),this.mappingTable[t].push({fn:e,priority:0}),this.mappingTable[t].sort(function(t,e){return t.priority-e.priority})},t.prototype.mapEvent=function(t){if(this.rootTarget){var e=this.mappingTable[t.type];if(e)for(var n=0,r=e.length;n=1;r--)if(t.currentTarget=n[r],this.notifyTarget(t,e),t.propagationStopped||t.propagationImmediatelyStopped)return;if(t.eventPhase=t.AT_TARGET,t.currentTarget=t.target,this.notifyTarget(t,e),!t.propagationStopped&&!t.propagationImmediatelyStopped){var i=n.indexOf(t.currentTarget);t.eventPhase=t.BUBBLING_PHASE;for(var r=i+1;ri||n>o?null:!a&&this.pickHandler(t)||this.rootTarget||null},t.prototype.isNativeEventFromCanvas=function(t,e){var n=null==e?void 0:e.target;if((null==n?void 0:n.shadowRoot)&&(n=e.composedPath()[0]),n){if(n===t)return!0;if(t&&t.contains)return t.contains(n)}return null!=e&&!!e.composedPath&&e.composedPath().indexOf(t)>-1},t.prototype.getExistedHTML=function(t){var e,n;if(t.nativeEvent.composedPath)try{for(var r=(0,W.XA)(t.nativeEvent.composedPath()),i=r.next();!i.done;i=r.next()){var o=i.value,a=this.nativeHTMLMap.get(o);if(a)return a}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype.pickTarget=function(t){return this.hitTest({clientX:t.clientX,clientY:t.clientY,viewportX:t.viewportX,viewportY:t.viewportY,x:t.canvasX,y:t.canvasY})},t.prototype.createPointerEvent=function(t,e,n,r){var i=this.allocateEvent(ry);this.copyPointerData(t,i),this.copyMouseData(t,i),this.copyData(t,i),i.nativeEvent=t.nativeEvent,i.originalEvent=t;var o=this.getExistedHTML(i),a=this.context.contextService.getDomElement();return i.target=null!=n?n:o||this.isNativeEventFromCanvas(a,i.nativeEvent)&&this.pickTarget(i)||r,"string"==typeof e&&(i.type=e),i},t.prototype.createWheelEvent=function(t){var e=this.allocateEvent(rg);this.copyWheelData(t,e),this.copyMouseData(t,e),this.copyData(t,e),e.nativeEvent=t.nativeEvent,e.originalEvent=t;var n=this.getExistedHTML(e),r=this.context.contextService.getDomElement();return e.target=n||this.isNativeEventFromCanvas(r,e.nativeEvent)&&this.pickTarget(e),e},t.prototype.trackingData=function(t){return this.mappingState.trackingData[t]||(this.mappingState.trackingData[t]={pressTargetsByButton:{},clicksByButton:{},overTarget:null}),this.mappingState.trackingData[t]},t.prototype.cloneWheelEvent=function(t){var e=this.allocateEvent(rg);return e.nativeEvent=t.nativeEvent,e.originalEvent=t.originalEvent,this.copyWheelData(t,e),this.copyMouseData(t,e),this.copyData(t,e),e.target=t.target,e.path=t.composedPath().slice(),e.type=t.type,e},t.prototype.clonePointerEvent=function(t,e){var n=this.allocateEvent(ry);return n.nativeEvent=t.nativeEvent,n.originalEvent=t.originalEvent,this.copyPointerData(t,n),this.copyMouseData(t,n),this.copyData(t,n),n.target=t.target,n.path=t.composedPath().slice(),n.type=null!=e?e:n.type,n},t.prototype.copyPointerData=function(t,e){e.pointerId=t.pointerId,e.width=t.width,e.height=t.height,e.isPrimary=t.isPrimary,e.pointerType=t.pointerType,e.pressure=t.pressure,e.tangentialPressure=t.tangentialPressure,e.tiltX=t.tiltX,e.tiltY=t.tiltY,e.twist=t.twist},t.prototype.copyMouseData=function(t,e){e.altKey=t.altKey,e.button=t.button,e.buttons=t.buttons,e.ctrlKey=t.ctrlKey,e.metaKey=t.metaKey,e.shiftKey=t.shiftKey,e.client.copyFrom(t.client),e.movement.copyFrom(t.movement),e.canvas.copyFrom(t.canvas),e.screen.copyFrom(t.screen),e.global.copyFrom(t.global),e.offset.copyFrom(t.offset)},t.prototype.copyWheelData=function(t,e){e.deltaMode=t.deltaMode,e.deltaX=t.deltaX,e.deltaY=t.deltaY,e.deltaZ=t.deltaZ},t.prototype.copyData=function(t,e){e.isTrusted=t.isTrusted,e.timeStamp=nW.now(),e.type=t.type,e.detail=t.detail,e.view=t.view,e.page.copyFrom(t.page),e.viewport.copyFrom(t.viewport)},t.prototype.allocateEvent=function(t){this.eventPool.has(t)||this.eventPool.set(t,[]);var e=this.eventPool.get(t).pop()||new t(this);return e.eventPhase=e.NONE,e.currentTarget=null,e.path=[],e.target=null,e},t.prototype.freeEvent=function(t){if(t.manager!==this)throw Error("It is illegal to free an event not managed by this EventBoundary!");var e=t.constructor;this.eventPool.has(e)||this.eventPool.set(e,[]),this.eventPool.get(e).push(t)},t.prototype.notifyTarget=function(t,e){e=null!=e?e:t.type;var n=t.eventPhase===t.CAPTURING_PHASE||t.eventPhase===t.AT_TARGET?"".concat(e,"capture"):e;this.notifyListeners(t,n),t.eventPhase===t.AT_TARGET&&this.notifyListeners(t,e)},t.prototype.notifyListeners=function(t,e){var n=t.currentTarget.emitter,r=n._events[e];if(r){if("fn"in r)r.once&&n.removeListener(e,r.fn,void 0,!0),r.fn.call(t.currentTarget||r.context,t);else for(var i=0;i=0;n--){var r=t[n];if(r===this.rootTarget||rx.isNode(r)&&r.parentNode===e)e=t[n];else break}return e},t.prototype.getCursor=function(t){for(var e=t;e;){var n=!!e.getAttribute&&e.getAttribute("cursor");if(n)return n;e=rx.isNode(e)&&e.parentNode}},t}(),rT=function(){function t(){}return t.prototype.getOrCreateCanvas=function(t,e){if(this.canvas)return this.canvas;if(t||rD.offscreenCanvas)this.canvas=t||rD.offscreenCanvas,this.context=this.canvas.getContext("2d",(0,W.pi)({willReadFrequently:!0},e));else try{this.canvas=new window.OffscreenCanvas(0,0),this.context=this.canvas.getContext("2d",(0,W.pi)({willReadFrequently:!0},e)),this.context&&this.context.measureText||(this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"))}catch(t){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d",(0,W.pi)({willReadFrequently:!0},e))}return this.canvas.width=10,this.canvas.height=10,this.canvas},t.prototype.getOrCreateContext=function(t,e){return this.context||this.getOrCreateCanvas(t,e),this.context},t}();(E=z||(z={}))[E.CAMERA_CHANGED=0]="CAMERA_CHANGED",E[E.DISPLAY_OBJECT_CHANGED=1]="DISPLAY_OBJECT_CHANGED",E[E.NONE=2]="NONE";var rP=function(){function t(t,e){this.globalRuntime=t,this.context=e,this.inited=!1,this.stats={total:0,rendered:0},this.zIndexCounter=0,this.hooks={init:new n9,initAsync:new n5,dirtycheck:new n8,cull:new n8,beginFrame:new n9,beforeRender:new n9,render:new n9,afterRender:new n9,endFrame:new n9,destroy:new n9,pick:new n4,pickSync:new n8,pointerDown:new n9,pointerUp:new n9,pointerMove:new n9,pointerOut:new n9,pointerOver:new n9,pointerWheel:new n9,pointerCancel:new n9,click:new n9}}return t.prototype.init=function(t){var e=this,n=(0,W.pi)((0,W.pi)({},this.globalRuntime),this.context);this.context.renderingPlugins.forEach(function(t){t.apply(n,e.globalRuntime)}),this.hooks.init.call(),0===this.hooks.initAsync.getCallbacksNum()?(this.inited=!0,t()):this.hooks.initAsync.promise().then(function(){e.inited=!0,t()})},t.prototype.getStats=function(){return this.stats},t.prototype.disableDirtyRectangleRendering=function(){return!this.context.config.renderer.getConfig().enableDirtyRectangleRendering||this.context.renderingContext.renderReasons.has(z.CAMERA_CHANGED)},t.prototype.render=function(t,e,n){var r=this;this.stats.total=0,this.stats.rendered=0,this.zIndexCounter=0;var i=this.context.renderingContext;if(this.globalRuntime.sceneGraphService.syncHierarchy(i.root),this.globalRuntime.sceneGraphService.triggerPendingEvents(),i.renderReasons.size&&this.inited){i.dirtyRectangleRenderingDisabled=this.disableDirtyRectangleRendering();var o=1===i.renderReasons.size&&i.renderReasons.has(z.CAMERA_CHANGED),a=!t.disableRenderHooks||!(t.disableRenderHooks&&o);a&&this.renderDisplayObject(i.root,t,i),this.hooks.beginFrame.call(e),a&&i.renderListCurrentFrame.forEach(function(t){r.hooks.beforeRender.call(t),r.hooks.render.call(t),r.hooks.afterRender.call(t)}),this.hooks.endFrame.call(e),i.renderListCurrentFrame=[],i.renderReasons.clear(),n()}},t.prototype.renderDisplayObject=function(t,e,n){var r=this,i=e.renderer.getConfig(),o=i.enableDirtyCheck,a=i.enableCulling;this.globalRuntime.enableCSSParsing&&this.globalRuntime.styleValueRegistry.recalc(t);var s=t.renderable,l=o?s.dirty||n.dirtyRectangleRenderingDisabled?t:null:t;if(l){var u=a?this.hooks.cull.call(l,this.context.camera):l;u&&(this.stats.rendered++,n.renderListCurrentFrame.push(u))}t.renderable.dirty=!1,t.sortable.renderOrder=this.zIndexCounter++,this.stats.total++;var c=t.sortable;c.dirty&&(this.sort(t,c),c.dirty=!1,c.dirtyChildren=[],c.dirtyReason=void 0),(c.sorted||t.childNodes).forEach(function(t){r.renderDisplayObject(t,e,n)})},t.prototype.sort=function(t,e){e.sorted&&e.dirtyReason!==Z.Z_INDEX_CHANGED?e.dirtyChildren.forEach(function(n){if(-1===t.childNodes.indexOf(n)){var r=e.sorted.indexOf(n);r>=0&&e.sorted.splice(r,1)}else if(0===e.sorted.length)e.sorted.push(n);else{var i=function(t,e){for(var n=0,r=t.length;n>>1;0>nY(t[i],e)?n=i+1:r=i}return n}(e.sorted,n);e.sorted.splice(i,0,n)}}):e.sorted=t.childNodes.slice().sort(nY)},t.prototype.destroy=function(){this.inited=!1,this.hooks.destroy.call(),this.globalRuntime.sceneGraphService.clearPendingEvents()},t.prototype.dirtify=function(){this.context.renderingContext.renderReasons.add(z.DISPLAY_OBJECT_CHANGED)},t}(),rS=/\[\s*(.*)=(.*)\s*\]/,rN=function(){function t(){}return t.prototype.selectOne=function(t,e){var n=this;if(t.startsWith("."))return e.find(function(e){return((null==e?void 0:e.classList)||[]).indexOf(n.getIdOrClassname(t))>-1});if(t.startsWith("#"))return e.find(function(e){return e.id===n.getIdOrClassname(t)});if(!t.startsWith("["))return e.find(function(n){return e!==n&&n.nodeName===t});var r=this.getAttribute(t),i=r.name,o=r.value;return i?e.find(function(t){return e!==t&&("name"===i?t.name===o:n.attributeToString(t,i)===o)}):null},t.prototype.selectAll=function(t,e){var n=this;if(t.startsWith("."))return e.findAll(function(r){return e!==r&&((null==r?void 0:r.classList)||[]).indexOf(n.getIdOrClassname(t))>-1});if(t.startsWith("#"))return e.findAll(function(r){return e!==r&&r.id===n.getIdOrClassname(t)});if(!t.startsWith("["))return e.findAll(function(n){return e!==n&&n.nodeName===t});var r=this.getAttribute(t),i=r.name,o=r.value;return i?e.findAll(function(t){return e!==t&&("name"===i?t.name===o:n.attributeToString(t,i)===o)}):[]},t.prototype.is=function(t,e){if(t.startsWith("."))return e.className===this.getIdOrClassname(t);if(t.startsWith("#"))return e.id===this.getIdOrClassname(t);if(!t.startsWith("["))return e.nodeName===t;var n=this.getAttribute(t),r=n.name,i=n.value;return"name"===r?e.name===i:this.attributeToString(e,r)===i},t.prototype.getIdOrClassname=function(t){return t.substring(1)},t.prototype.getAttribute=function(t){var e=t.match(rS),n="",r="";return e&&e.length>2&&(n=e[1].replace(/"/g,""),r=e[2].replace(/"/g,"")),{name:n,value:r}},t.prototype.attributeToString=function(t,e){if(!t.getAttribute)return"";var n=t.getAttribute(e);return(0,tn.Z)(n)?"":n.toString?n.toString():""},t}(),rC=function(t){function e(e,n,r,i,o,a,s,l){var u=t.call(this,null)||this;return u.relatedNode=n,u.prevValue=r,u.newValue=i,u.attrName=o,u.attrChange=a,u.prevParsedValue=s,u.newParsedValue=l,u.type=e,u}return(0,W.ZT)(e,t),e.ADDITION=2,e.MODIFICATION=1,e.REMOVAL=3,e}(rf);function rw(t){var e=t.renderable;e&&(e.renderBoundsDirty=!0,e.boundsDirty=!0)}(x=X||(X={})).REPARENT="reparent",x.DESTROY="destroy",x.ATTR_MODIFIED="DOMAttrModified",x.INSERTED="DOMNodeInserted",x.REMOVED="removed",x.MOUNTED="DOMNodeInsertedIntoDocument",x.UNMOUNTED="DOMNodeRemovedFromDocument",x.BOUNDS_CHANGED="bounds-changed",x.CULLED="culled";var rk=new rC(X.REPARENT,null,"","","",0,"",""),rM=function(){function t(t){var e,n,r,i,o,a,s,l,u,c,h,p,d=this;this.runtime=t,this.pendingEvents=[],this.boundsChangedEvent=new rm(X.BOUNDS_CHANGED),this.rotate=(e=Q.Ue(),function(t,n,r,i,o){void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=!0),"number"==typeof n&&(n=q.al(n,r,i));var a=t.transformable;if(null!==t.parentNode&&t.parentNode.transformable){var s=Q.Ue();Q.Su(s,n[0],n[1],n[2]);var l=d.getRotation(t),u=d.getRotation(t.parentNode);Q.JG(e,u),Q.U_(e,e),Q.Jp(s,e,s),Q.Jp(a.localRotation,s,l),Q.Fv(a.localRotation,a.localRotation),o&&d.dirtifyLocal(t,a)}else d.rotateLocal(t,n)}),this.rotateLocal=(n=Q.Ue(),function(t,e,r,i,o){void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=!0),"number"==typeof e&&(e=q.al(e,r,i));var a=t.transformable;Q.Su(n,e[0],e[1],e[2]),Q.dC(a.localRotation,a.localRotation,n),o&&d.dirtifyLocal(t,a)}),this.setEulerAngles=(r=Q.Ue(),function(t,e,n,i,o){void 0===n&&(n=0),void 0===i&&(i=0),void 0===o&&(o=!0),"number"==typeof e&&(e=q.al(e,n,i));var a=t.transformable;if(null!==t.parentNode&&t.parentNode.transformable){Q.Su(a.localRotation,e[0],e[1],e[2]);var s=d.getRotation(t.parentNode);Q.JG(r,Q.U_(Q.Ue(),s)),Q.dC(a.localRotation,a.localRotation,r),o&&d.dirtifyLocal(t,a)}else d.setLocalEulerAngles(t,e)}),this.translateLocal=function(t,e,n,r,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=!0),"number"==typeof e&&(e=q.al(e,n,r));var o=t.transformable;!q.fS(e,q.Ue())&&(q.VC(e,e,o.localRotation),q.IH(o.localPosition,o.localPosition,e),i&&d.dirtifyLocal(t,o))},this.setPosition=(i=K.create(),o=q.Ue(),function(t,e,n){void 0===n&&(n=!0);var r=t.transformable;if(o[0]=e[0],o[1]=e[1],o[2]=e[2]||0,!q.fS(d.getPosition(t),o)){if(q.JG(r.position,o),null!==t.parentNode&&t.parentNode.transformable){var a=t.parentNode.transformable;K.copy(i,a.worldTransform),K.invert(i,i),q.fF(r.localPosition,o,i)}else q.JG(r.localPosition,o);n&&d.dirtifyLocal(t,r)}}),this.setLocalPosition=(a=q.Ue(),function(t,e,n){void 0===n&&(n=!0);var r=t.transformable;a[0]=e[0],a[1]=e[1],a[2]=e[2]||0,!q.fS(r.localPosition,a)&&(q.JG(r.localPosition,a),n&&d.dirtifyLocal(t,r))}),this.translate=(s=q.Ue(),l=q.Ue(),u=q.Ue(),function(t,e,n,r,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=!0),"number"==typeof e&&(e=q.t8(l,e,n,r)),q.fS(e,s)||(q.IH(u,d.getPosition(t),e),d.setPosition(t,u,i))}),this.setRotation=function(){var t=Q.Ue();return function(e,n,r,i,o,a){void 0===a&&(a=!0);var s=e.transformable;if("number"==typeof n&&(n=Q.al(n,r,i,o)),null!==e.parentNode&&e.parentNode.transformable){var l=d.getRotation(e.parentNode);Q.JG(t,l),Q.U_(t,t),Q.Jp(s.localRotation,t,n),Q.Fv(s.localRotation,s.localRotation),a&&d.dirtifyLocal(e,s)}else d.setLocalRotation(e,n)}},this.displayObjectDependencyMap=new WeakMap,this.calcLocalTransform=(c=K.create(),h=q.Ue(),p=Q.al(0,0,0,1),function(t){if(0!==t.localSkew[0]||0!==t.localSkew[1]){if(K.fromRotationTranslationScaleOrigin(t.localTransform,t.localRotation,t.localPosition,q.al(1,1,1),t.origin),0!==t.localSkew[0]||0!==t.localSkew[1]){var e=K.identity(c);e[4]=Math.tan(t.localSkew[0]),e[1]=Math.tan(t.localSkew[1]),K.multiply(t.localTransform,t.localTransform,e)}var n=K.fromRotationTranslationScaleOrigin(c,p,h,t.localScale,t.origin);K.multiply(t.localTransform,t.localTransform,n)}else K.fromRotationTranslationScaleOrigin(t.localTransform,t.localRotation,t.localPosition,t.localScale,t.origin)})}return t.prototype.matches=function(t,e){return this.runtime.sceneGraphSelector.is(t,e)},t.prototype.querySelector=function(t,e){return this.runtime.sceneGraphSelector.selectOne(t,e)},t.prototype.querySelectorAll=function(t,e){return this.runtime.sceneGraphSelector.selectAll(t,e)},t.prototype.attach=function(t,e,n){var r,i=!1;t.parentNode&&(i=t.parentNode!==e,this.detach(t)),t.parentNode=e,(0,tn.Z)(n)?t.parentNode.childNodes.push(t):t.parentNode.childNodes.splice(n,0,t);var o=e.sortable;((null===(r=null==o?void 0:o.sorted)||void 0===r?void 0:r.length)||t.parsedStyle.zIndex)&&(-1===o.dirtyChildren.indexOf(t)&&o.dirtyChildren.push(t),o.dirty=!0,o.dirtyReason=Z.ADDED);var a=t.transformable;a&&this.dirtifyWorld(t,a),a.frozen&&this.unfreezeParentToRoot(t),i&&t.dispatchEvent(rk)},t.prototype.detach=function(t){var e,n;if(t.parentNode){var r=t.transformable,i=t.parentNode.sortable;((null===(e=null==i?void 0:i.sorted)||void 0===e?void 0:e.length)||(null===(n=t.style)||void 0===n?void 0:n.zIndex))&&(-1===i.dirtyChildren.indexOf(t)&&i.dirtyChildren.push(t),i.dirty=!0,i.dirtyReason=Z.REMOVED);var o=t.parentNode.childNodes.indexOf(t);o>-1&&t.parentNode.childNodes.splice(o,1),r&&this.dirtifyWorld(t,r),t.parentNode=null}},t.prototype.getOrigin=function(t){return t.getGeometryBounds(),t.transformable.origin},t.prototype.setOrigin=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=0),"number"==typeof e&&(e=[e,n,r]);var i=t.transformable;if(e[0]!==i.origin[0]||e[1]!==i.origin[1]||e[2]!==i.origin[2]){var o=i.origin;o[0]=e[0],o[1]=e[1],o[2]=e[2]||0,this.dirtifyLocal(t,i)}},t.prototype.setLocalEulerAngles=function(t,e,n,r,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=!0),"number"==typeof e&&(e=q.al(e,n,r));var o=t.transformable;Q.Su(o.localRotation,e[0],e[1],e[2]),i&&this.dirtifyLocal(t,o)},t.prototype.scaleLocal=function(t,e,n){void 0===n&&(n=!0);var r=t.transformable;q.Jp(r.localScale,r.localScale,q.al(e[0],e[1],e[2]||1)),n&&this.dirtifyLocal(t,r)},t.prototype.setLocalScale=function(t,e,n){void 0===n&&(n=!0);var r=t.transformable,i=q.al(e[0],e[1],e[2]||r.localScale[2]);!q.fS(i,r.localScale)&&(q.JG(r.localScale,i),n&&this.dirtifyLocal(t,r))},t.prototype.setLocalRotation=function(t,e,n,r,i,o){void 0===o&&(o=!0),"number"==typeof e&&(e=Q.al(e,n,r,i));var a=t.transformable;Q.JG(a.localRotation,e),o&&this.dirtifyLocal(t,a)},t.prototype.setLocalSkew=function(t,e,n){"number"==typeof e&&(e=tt.al(e,n));var r=t.transformable;tt.JG(r.localSkew,e),this.dirtifyLocal(t,r)},t.prototype.dirtifyLocal=function(t,e){e.localDirtyFlag||(e.localDirtyFlag=!0,e.dirtyFlag||this.dirtifyWorld(t,e))},t.prototype.dirtifyWorld=function(t,e){e.dirtyFlag||this.unfreezeParentToRoot(t),this.dirtifyWorldInternal(t,e),this.dirtifyToRoot(t,!0)},t.prototype.triggerPendingEvents=function(){var t=this,e=new Set,n=function(n,r){n.isConnected&&!e.has(n.entity)&&(t.boundsChangedEvent.detail=r,t.boundsChangedEvent.target=n,n.isMutationObserved?n.dispatchEvent(t.boundsChangedEvent):n.ownerDocument.defaultView.dispatchEvent(t.boundsChangedEvent,!0),e.add(n.entity))};this.pendingEvents.forEach(function(t){var e=(0,W.CR)(t,2),r=e[0],i=e[1];i.affectChildren?r.forEach(function(t){n(t,i)}):n(r,i)}),this.clearPendingEvents(),e.clear()},t.prototype.clearPendingEvents=function(){this.pendingEvents=[]},t.prototype.dirtifyToRoot=function(t,e){void 0===e&&(e=!1);var n=t;for(n.renderable&&(n.renderable.dirty=!0);n;)rw(n),n=n.parentNode;e&&t.forEach(function(t){rw(t)}),this.informDependentDisplayObjects(t),this.pendingEvents.push([t,{affectChildren:e}])},t.prototype.updateDisplayObjectDependency=function(t,e,n,r){if(e&&e!==n){var i=this.displayObjectDependencyMap.get(e);if(i&&i[t]){var o=i[t].indexOf(r);i[t].splice(o,1)}}if(n){var a=this.displayObjectDependencyMap.get(n);a||(this.displayObjectDependencyMap.set(n,{}),a=this.displayObjectDependencyMap.get(n)),a[t]||(a[t]=[]),a[t].push(r)}},t.prototype.informDependentDisplayObjects=function(t){var e=this,n=this.displayObjectDependencyMap.get(t);n&&Object.keys(n).forEach(function(t){n[t].forEach(function(n){e.dirtifyToRoot(n,!0),n.dispatchEvent(new rC(X.ATTR_MODIFIED,n,e,e,t,rC.MODIFICATION,e,e)),n.isCustomElement&&n.isConnected&&n.attributeChangedCallback&&n.attributeChangedCallback(t,e,e)})})},t.prototype.getPosition=function(t){var e=t.transformable;return K.getTranslation(e.position,this.getWorldTransform(t,e))},t.prototype.getRotation=function(t){var e=t.transformable;return K.getRotation(e.rotation,this.getWorldTransform(t,e))},t.prototype.getScale=function(t){var e=t.transformable;return K.getScaling(e.scaling,this.getWorldTransform(t,e))},t.prototype.getWorldTransform=function(t,e){return void 0===e&&(e=t.transformable),(e.localDirtyFlag||e.dirtyFlag)&&(t.parentNode&&t.parentNode.transformable&&this.getWorldTransform(t.parentNode),this.sync(t,e)),e.worldTransform},t.prototype.getLocalPosition=function(t){return t.transformable.localPosition},t.prototype.getLocalRotation=function(t){return t.transformable.localRotation},t.prototype.getLocalScale=function(t){return t.transformable.localScale},t.prototype.getLocalSkew=function(t){return t.transformable.localSkew},t.prototype.getLocalTransform=function(t){var e=t.transformable;return e.localDirtyFlag&&(this.calcLocalTransform(e),e.localDirtyFlag=!1),e.localTransform},t.prototype.setLocalTransform=function(t,e){var n=K.getTranslation(q.Ue(),e),r=K.getRotation(Q.Ue(),e),i=K.getScaling(q.Ue(),e);this.setLocalScale(t,i,!1),this.setLocalPosition(t,n,!1),this.setLocalRotation(t,r,void 0,void 0,void 0,!1),this.dirtifyLocal(t,t.transformable)},t.prototype.resetLocalTransform=function(t){this.setLocalScale(t,[1,1,1]),this.setLocalPosition(t,[0,0,0]),this.setLocalEulerAngles(t,[0,0,0]),this.setLocalSkew(t,[0,0])},t.prototype.getTransformedGeometryBounds=function(t,e,n){void 0===e&&(e=!1);var r=this.getGeometryBounds(t,e);if(tz.isEmpty(r))return null;var i=n||new tz;return i.setFromTransformedAABB(r,this.getWorldTransform(t)),i},t.prototype.getGeometryBounds=function(t,e){void 0===e&&(e=!1);var n=t.geometry;return n.dirty&&rD.styleValueRegistry.updateGeometry(t),(e?n.renderBounds:n.contentBounds||null)||new tz},t.prototype.getBounds=function(t,e){var n=this;void 0===e&&(e=!1);var r=t.renderable;if(!r.boundsDirty&&!e&&r.bounds)return r.bounds;if(!r.renderBoundsDirty&&e&&r.renderBounds)return r.renderBounds;var i=e?r.renderBounds:r.bounds,o=this.getTransformedGeometryBounds(t,e,i);if(t.childNodes.forEach(function(t){var r=n.getBounds(t,e);r&&(o?o.add(r):(o=i||new tz).update(r.center,r.halfExtents))}),o||(o=new tz),e){var a=function(t){var e,n=t;do{if(null===(e=n.parsedStyle)||void 0===e?void 0:e.clipPath)return n;n=n.parentElement}while(null!==n);return null}(t);if(a){var s=a.parsedStyle.clipPath.getBounds(e);o?s&&(o=s.intersection(o)):o.update(s.center,s.halfExtents)}}return e?(r.renderBounds=o,r.renderBoundsDirty=!1):(r.bounds=o,r.boundsDirty=!1),o},t.prototype.getLocalBounds=function(t){if(t.parentNode){var e=K.create();t.parentNode.transformable&&(e=K.invert(K.create(),this.getWorldTransform(t.parentNode)));var n=this.getBounds(t);if(!tz.isEmpty(n)){var r=new tz;return r.setFromTransformedAABB(n,e),r}}return this.getBounds(t)},t.prototype.getBoundingClientRect=function(t){var e,n,r,i=this.getGeometryBounds(t);tz.isEmpty(i)||(r=new tz).setFromTransformedAABB(i,this.getWorldTransform(t));var o=null===(n=null===(e=t.ownerDocument)||void 0===e?void 0:e.defaultView)||void 0===n?void 0:n.getContextService().getBoundingClientRect();if(r){var a=(0,W.CR)(r.getMin(),2),s=a[0],l=a[1],u=(0,W.CR)(r.getMax(),2),c=u[0],h=u[1];return new tH(s+((null==o?void 0:o.left)||0),l+((null==o?void 0:o.top)||0),c-s,h-l)}return new tH((null==o?void 0:o.left)||0,(null==o?void 0:o.top)||0,0,0)},t.prototype.dirtifyWorldInternal=function(t,e){var n=this;if(!e.dirtyFlag){e.dirtyFlag=!0,e.frozen=!1,t.childNodes.forEach(function(t){var e=t.transformable;e.dirtyFlag||n.dirtifyWorldInternal(t,e)});var r=t.renderable;r&&(r.renderBoundsDirty=!0,r.boundsDirty=!0,r.dirty=!0)}},t.prototype.syncHierarchy=function(t){var e=t.transformable;if(!e.frozen){e.frozen=!0,(e.localDirtyFlag||e.dirtyFlag)&&this.sync(t,e);for(var n=t.childNodes,r=0;rs;--p){for(var v=0;v=0;h--){var p=c[h].trim();!n7.test(p)&&0>n6.indexOf(p)&&(p='"'.concat(p,'"')),c[h]=p}return"".concat(void 0===i?"normal":i," ").concat(a," ").concat(l," ").concat(u," ").concat(c.join(","))}(e),E=this.measureFont(m,n);0===E.fontSize&&(E.fontSize=i,E.ascent=i);var x=this.runtime.offscreenCanvasCreator.getOrCreateContext(n);x.font=m,e.isOverflowing=!1;var b=(void 0!==o&&o?this.wordWrap(t,e,n):t).split(/(?:\r\n|\r|\n)/),T=Array(b.length),P=0;if(v){v.getTotalLength();for(var S=0;S=l){e.isOverflowing=!0;break}v=0,d[f]="";continue}if(v>0&&v+S>h){if(f+1>=l){if(e.isOverflowing=!0,m>0&&m<=h){for(var N=d[f].length,C=0,w=N,k=0;kh){w=k;break}C+=M}d[f]=(d[f]||"").slice(0,w)+p}break}if(v=0,d[++f]="",this.isBreakingSpace(b))continue;this.canBreakInLastChar(b)||(d=this.trimToBreakable(d),v=this.sumTextWidthByCache(d[f]||"",y)),this.shouldBreakByKinsokuShorui(b,P)&&(d=this.trimByKinsokuShorui(d),v+=g(T||""))}v+=S,d[f]=(d[f]||"")+b}return d.join("\n")},t.prototype.isBreakingSpace=function(t){return"string"==typeof t&&rR.BreakingSpaces.indexOf(t.charCodeAt(0))>=0},t.prototype.isNewline=function(t){return"string"==typeof t&&rR.Newlines.indexOf(t.charCodeAt(0))>=0},t.prototype.trimToBreakable=function(t){var e=(0,W.ev)([],(0,W.CR)(t),!1),n=e[e.length-2],r=this.findBreakableIndex(n);if(-1===r||!n)return e;var i=n.slice(r,r+1),o=this.isBreakingSpace(i),a=r+1,s=r+(o?0:1);return e[e.length-1]+=n.slice(a,n.length),e[e.length-2]=n.slice(0,s),e},t.prototype.canBreakInLastChar=function(t){return!(t&&rA.test(t))},t.prototype.sumTextWidthByCache=function(t,e){return t.split("").reduce(function(t,n){if(!e[n])throw Error("cannot count the word without cache");return t+e[n]},0)},t.prototype.findBreakableIndex=function(t){for(var e=t.length-1;e>=0;e--)if(!rA.test(t[e]))return e;return -1},t.prototype.getFromCache=function(t,e,n,r){var i=n[t];if("number"!=typeof i){var o=t.length*e;i=r.measureText(t).width+o,n[t]=i}return i},t}(),rD={},rG=(T=new rh,P=new rc,(b={})[k.CIRCLE]=new ra,b[k.ELLIPSE]=new rs,b[k.RECT]=T,b[k.IMAGE]=T,b[k.GROUP]=new rd,b[k.LINE]=new rl,b[k.TEXT]=new rp(rD),b[k.POLYLINE]=P,b[k.POLYGON]=P,b[k.PATH]=new ru,b[k.HTML]=null,b[k.MESH]=null,b),rB=(N=new nC,C=new nM,(S={})[Y.PERCENTAGE]=null,S[Y.NUMBER]=new nI,S[Y.ANGLE]=new nS,S[Y.DEFINED_PATH]=new nN,S[Y.PAINT]=N,S[Y.COLOR]=N,S[Y.FILTER]=new nw,S[Y.LENGTH]=C,S[Y.LENGTH_PERCENTAGE]=C,S[Y.LENGTH_PERCENTAGE_12]=new nR,S[Y.LENGTH_PERCENTAGE_14]=new nA,S[Y.COORDINATE]=new nM,S[Y.OFFSET_DISTANCE]=new nL,S[Y.OPACITY_VALUE]=new nD,S[Y.PATH]=new nG,S[Y.LIST_OF_POINTS]=new function(){this.parser=e7,this.mixer=nt},S[Y.SHADOW_BLUR]=new nB,S[Y.TEXT]=new nF,S[Y.TEXT_TRANSFORM]=new n_,S[Y.TRANSFORM]=new rr,S[Y.TRANSFORM_ORIGIN]=new ri,S[Y.Z_INDEX]=new ro,S[Y.MARKER]=new nO,S);rD.CameraContribution=t$,rD.AnimationTimeline=null,rD.EasingFunction=null,rD.offscreenCanvasCreator=new rT,rD.sceneGraphSelector=new rN,rD.sceneGraphService=new rM(rD),rD.textService=new rL(rD),rD.geometryUpdaterFactory=rG,rD.CSSPropertySyntaxFactory=rB,rD.styleValueRegistry=new nP(rD),rD.layoutRegistry=null,rD.globalThis="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{},rD.enableCSSParsing=!1,rD.enableDataset=!1,rD.enableStyleSyntax=!0,rD.enableAttributeDashCased=!1,rD.enableSizeAttenuation=!1;var rF=0,r_=new rC(X.INSERTED,null,"","","",0,"",""),rU=new rC(X.REMOVED,null,"","","",0,"",""),rV=new rm(X.DESTROY),rZ=function(t){function e(){var e=t.call(this)||this;return e.entity=rF++,e.renderable={bounds:void 0,boundsDirty:!0,renderBounds:void 0,renderBoundsDirty:!0,dirtyRenderBounds:void 0,dirty:!1},e.cullable={strategy:V.Standard,visibilityPlaneMask:-1,visible:!0,enable:!0},e.transformable={dirtyFlag:!1,localDirtyFlag:!1,frozen:!1,localPosition:[0,0,0],localRotation:[0,0,0,1],localScale:[1,1,1],localTransform:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],localSkew:[0,0],position:[0,0,0],rotation:[0,0,0,1],scaling:[1,1,1],worldTransform:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],origin:[0,0,0]},e.sortable={dirty:!1,sorted:void 0,renderOrder:0,dirtyChildren:[],dirtyReason:void 0},e.geometry={contentBounds:void 0,renderBounds:void 0,dirty:!0},e.rBushNode={aabb:void 0},e.namespaceURI="g",e.scrollLeft=0,e.scrollTop=0,e.clientTop=0,e.clientLeft=0,e.destroyed=!1,e.style={},e.computedStyle=rD.enableCSSParsing?{opacity:ec,fillOpacity:ec,strokeOpacity:ec,fill:ec,stroke:ec,transform:ec,transformOrigin:ec,visibility:ec,pointerEvents:ec,lineWidth:ec,lineCap:ec,lineJoin:ec,increasedLineWidthForHitTesting:ec,fontSize:ec,fontFamily:ec,fontStyle:ec,fontWeight:ec,fontVariant:ec,textAlign:ec,textBaseline:ec,textTransform:ec,zIndex:ec,filter:ec,shadowType:ec}:null,e.parsedStyle={},e.attributes={},e}return(0,W.ZT)(e,t),Object.defineProperty(e.prototype,"className",{get:function(){return this.getAttribute("class")||""},set:function(t){this.setAttribute("class",t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classList",{get:function(){return this.className.split(" ").filter(function(t){return""!==t})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.nodeName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childElementCount",{get:function(){return this.childNodes.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstElementChild",{get:function(){return this.firstChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastElementChild",{get:function(){return this.lastChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentElement",{get:function(){return this.parentNode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){if(this.parentNode){var t=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[t+1]||null}return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){if(this.parentNode){var t=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[t-1]||null}return null},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(t){throw Error(tq)},e.prototype.appendChild=function(t,e){var n;if(t.destroyed)throw Error("Cannot append a destroyed element.");return rD.sceneGraphService.attach(t,this,e),(null===(n=this.ownerDocument)||void 0===n?void 0:n.defaultView)&&this.ownerDocument.defaultView.mountChildren(t),this.isMutationObserved&&(r_.relatedNode=this,t.dispatchEvent(r_)),t},e.prototype.insertBefore=function(t,e){if(e){t.parentElement&&t.parentElement.removeChild(t);var n=this.childNodes.indexOf(e);-1===n?this.appendChild(t):this.appendChild(t,n)}else this.appendChild(t);return t},e.prototype.replaceChild=function(t,e){var n=this.childNodes.indexOf(e);return this.removeChild(e),this.appendChild(t,n),e},e.prototype.removeChild=function(t){var e;return rU.relatedNode=this,t.dispatchEvent(rU),(null===(e=t.ownerDocument)||void 0===e?void 0:e.defaultView)&&t.ownerDocument.defaultView.unmountChildren(t),rD.sceneGraphService.detach(t),t},e.prototype.removeChildren=function(){for(var t=this.childNodes.length-1;t>=0;t--){var e=this.childNodes[t];this.removeChild(e)}},e.prototype.destroyChildren=function(){for(var t=this.childNodes.length-1;t>=0;t--){var e=this.childNodes[t];e.childNodes.length&&e.destroyChildren(),e.destroy()}},e.prototype.matches=function(t){return rD.sceneGraphService.matches(t,this)},e.prototype.getElementById=function(t){return rD.sceneGraphService.querySelector("#".concat(t),this)},e.prototype.getElementsByName=function(t){return rD.sceneGraphService.querySelectorAll('[name="'.concat(t,'"]'),this)},e.prototype.getElementsByClassName=function(t){return rD.sceneGraphService.querySelectorAll(".".concat(t),this)},e.prototype.getElementsByTagName=function(t){return rD.sceneGraphService.querySelectorAll(t,this)},e.prototype.querySelector=function(t){return rD.sceneGraphService.querySelector(t,this)},e.prototype.querySelectorAll=function(t){return rD.sceneGraphService.querySelectorAll(t,this)},e.prototype.closest=function(t){var e=this;do{if(rD.sceneGraphService.matches(t,e))return e;e=e.parentElement}while(null!==e);return null},e.prototype.find=function(t){var e=this,n=null;return this.forEach(function(r){return!!(r!==e&&t(r))&&(n=r,!0)}),n},e.prototype.findAll=function(t){var e=this,n=[];return this.forEach(function(r){r!==e&&t(r)&&n.push(r)}),n},e.prototype.after=function(){for(var t=this,e=[],n=0;n1){var n=t[0].currentPoint,r=t[1].currentPoint,i=t[1].startTangent;e=[],i?(e.push([n[0]-i[0],n[1]-i[1]]),e.push([n[0],n[1]])):(e.push([r[0],r[1]]),e.push([n[0],n[1]]))}return e},e.prototype.getEndTangent=function(){var t=this.parsedStyle.d.segments,e=t.length,n=[];if(e>1){var r=t[e-2].currentPoint,i=t[e-1].currentPoint,o=t[e-1].endTangent;n=[],o?(n.push([i[0]-o[0],i[1]-o[1]]),n.push([i[0],i[1]])):(n.push([r[0],r[1]]),n.push([i[0],i[1]]))}return n},e}(rK),r5=function(t){function e(e){void 0===e&&(e={});var n=this,r=e.style,i=(0,W._T)(e,["style"]);(n=t.call(this,(0,W.pi)({type:k.POLYGON,style:rD.enableCSSParsing?(0,W.pi)({points:"",miterLimit:"",isClosed:!0},r):(0,W.pi)({},r),initialParsedStyle:rD.enableCSSParsing?null:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!0}},i))||this).markerStartAngle=0,n.markerEndAngle=0,n.markerMidList=[];var o=n.parsedStyle,a=o.markerStart,s=o.markerEnd,l=o.markerMid;return a&&rY(a)&&(n.markerStartAngle=a.getLocalEulerAngles(),n.appendChild(a)),l&&rY(l)&&n.placeMarkerMid(l),s&&rY(s)&&(n.markerEndAngle=s.getLocalEulerAngles(),n.appendChild(s)),n.transformMarker(!0),n.transformMarker(!1),n}return(0,W.ZT)(e,t),e.prototype.attributeChangedCallback=function(t,e,n,r,i){"points"===t?(this.transformMarker(!0),this.transformMarker(!1),this.placeMarkerMid(this.parsedStyle.markerMid)):"markerStartOffset"===t||"markerEndOffset"===t?(this.transformMarker(!0),this.transformMarker(!1)):"markerStart"===t?(r&&rY(r)&&(this.markerStartAngle=0,r.remove()),i&&rY(i)&&(this.markerStartAngle=i.getLocalEulerAngles(),this.appendChild(i),this.transformMarker(!0))):"markerEnd"===t?(r&&rY(r)&&(this.markerEndAngle=0,r.remove()),i&&rY(i)&&(this.markerEndAngle=i.getLocalEulerAngles(),this.appendChild(i),this.transformMarker(!1))):"markerMid"===t&&this.placeMarkerMid(i)},e.prototype.transformMarker=function(t){var e,n,r,i,o,a,s=this.parsedStyle,l=s.markerStart,u=s.markerEnd,c=s.markerStartOffset,h=s.markerEndOffset,p=(s.points||{}).points,d=t?l:u;if(d&&rY(d)&&p){var f=0;if(r=p[0][0],i=p[0][1],t)e=p[1][0]-p[0][0],n=p[1][1]-p[0][1],o=c||0,a=this.markerStartAngle;else{var v=p.length;this.parsedStyle.isClosed?(e=p[v-1][0]-p[0][0],n=p[v-1][1]-p[0][1]):(r=p[v-1][0],i=p[v-1][1],e=p[v-2][0]-p[v-1][0],n=p[v-2][1]-p[v-1][1]),o=h||0,a=this.markerEndAngle}f=Math.atan2(n,e),d.setLocalEulerAngles(180*f/Math.PI+a),d.setLocalPosition(r+Math.cos(f)*o,i+Math.sin(f)*o)}},e.prototype.placeMarkerMid=function(t){var e=(this.parsedStyle.points||{}).points;if(this.markerMidList.forEach(function(t){t.remove()}),this.markerMidList=[],t&&rY(t)&&e)for(var n=1;n<(this.parsedStyle.isClosed?e.length:e.length-1);n++){var r=e[n][0],i=e[n][1],o=1===n?t:t.cloneNode(!0);this.markerMidList.push(o),this.appendChild(o),o.setLocalPosition(r,i)}},e}(rK),r4=function(t){function e(e){void 0===e&&(e={});var n=e.style,r=(0,W._T)(e,["style"]);return t.call(this,(0,W.pi)({type:k.POLYLINE,style:rD.enableCSSParsing?(0,W.pi)({points:"",miterLimit:"",isClosed:!1},n):(0,W.pi)({},n),initialParsedStyle:rD.enableCSSParsing?null:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!1}},r))||this}return(0,W.ZT)(e,t),e.prototype.getTotalLength=function(){return 0===this.parsedStyle.points.totalLength&&(this.parsedStyle.points.totalLength=(0,tP.hE)(this.parsedStyle.points.points)),this.parsedStyle.points.totalLength},e.prototype.getPointAtLength=function(t,e){return void 0===e&&(e=!1),this.getPoint(t/this.getTotalLength(),e)},e.prototype.getPoint=function(t,e){void 0===e&&(e=!1);var n=this.parsedStyle.points.points;if(0===this.parsedStyle.points.segments.length){var r,i=[],o=0,a=this.getTotalLength();n.forEach(function(t,e){n[e+1]&&((r=[0,0])[0]=o/a,o+=(0,tP.Xk)(t[0],t[1],n[e+1][0],n[e+1][1]),r[1]=o/a,i.push(r))}),this.parsedStyle.points.segments=i}var s=0,l=0;this.parsedStyle.points.segments.forEach(function(e,n){t>=e[0]&&t<=e[1]&&(s=(t-e[0])/(e[1]-e[0]),l=n)});var u=(0,tP.U4)(n[l][0],n[l][1],n[l+1][0],n[l+1][1],s),c=u.x,h=u.y,p=q.fF(q.Ue(),q.al(c,h,0),e?this.getWorldTransform():this.getLocalTransform());return new tW(p[0],p[1])},e.prototype.getStartTangent=function(){var t=this.parsedStyle.points.points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.parsedStyle.points.points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(r5),r9=function(t){function e(e){return void 0===e&&(e={}),t.call(this,(0,W.pi)({type:k.RECT},e))||this}return(0,W.ZT)(e,t),e}(rK),r8=function(t){function e(e){void 0===e&&(e={});var n=e.style,r=(0,W._T)(e,["style"]);return t.call(this,(0,W.pi)({type:k.TEXT,style:rD.enableCSSParsing?(0,W.pi)({x:"",y:"",text:"",fontSize:"",fontFamily:"",fontStyle:"",fontWeight:"",fontVariant:"",textAlign:"",textBaseline:"",textTransform:"",fill:"black",letterSpacing:"",lineHeight:"",miterLimit:"",wordWrap:!1,wordWrapWidth:0,leading:0,dx:"",dy:""},n):(0,W.pi)({fill:"black"},n)},r))||this}return(0,W.ZT)(e,t),e.prototype.getComputedTextLength=function(){var t;return this.getGeometryBounds(),(null===(t=this.parsedStyle.metrics)||void 0===t?void 0:t.maxLineWidth)||0},e.prototype.getLineBoundingRects=function(){var t;return this.getGeometryBounds(),(null===(t=this.parsedStyle.metrics)||void 0===t?void 0:t.lineMetrics)||[]},e.prototype.isOverflowing=function(){return this.getGeometryBounds(),!!this.parsedStyle.isOverflowing},e}(rK),r6=function(){function t(){this.registry={},this.define(k.CIRCLE,rJ),this.define(k.ELLIPSE,r$),this.define(k.RECT,r9),this.define(k.IMAGE,r1),this.define(k.LINE,r2),this.define(k.GROUP,rQ),this.define(k.PATH,r3),this.define(k.POLYGON,r5),this.define(k.POLYLINE,r4),this.define(k.TEXT,r8),this.define(k.HTML,r0)}return t.prototype.define=function(t,e){this.registry[t]=e},t.prototype.get=function(t){return this.registry[t]},t}(),r7=function(t){function e(){var e=t.call(this)||this;e.defaultView=null,e.ownerDocument=null,e.nodeName="document";try{e.timeline=new rD.AnimationTimeline(e)}catch(t){}var n={};return nm.forEach(function(t){var e=t.n,r=t.inh,i=t.d;r&&i&&(n[e]=ee(i)?i(k.GROUP):i)}),e.documentElement=new rQ({id:"g-root",style:n}),e.documentElement.ownerDocument=e,e.documentElement.parentNode=e,e.childNodes=[e.documentElement],e}return(0,W.ZT)(e,t),Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childElementCount",{get:function(){return this.childNodes.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstElementChild",{get:function(){return this.firstChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastElementChild",{get:function(){return this.lastChild},enumerable:!1,configurable:!0}),e.prototype.createElement=function(t,e){if("svg"===t)return this.documentElement;var n=this.defaultView.customElements.get(t);n||(console.warn("Unsupported tagName: ",t),n="tspan"===t?r8:rQ);var r=new n(e);return r.ownerDocument=this,r},e.prototype.createElementNS=function(t,e,n){return this.createElement(e,n)},e.prototype.cloneNode=function(t){throw Error(tq)},e.prototype.destroy=function(){try{this.documentElement.destroyChildren(),this.timeline.destroy()}catch(t){}},e.prototype.elementsFromBBox=function(t,e,n,r){var i=this.defaultView.context.rBushRoot.search({minX:t,minY:e,maxX:n,maxY:r}),o=[];return i.forEach(function(t){var e=t.displayObject,n=e.parsedStyle.pointerEvents,r=["auto","visiblepainted","visiblefill","visiblestroke","visible"].includes(void 0===n?"auto":n);(!r||r&&e.isVisible())&&!e.isCulled()&&e.isInteractive()&&o.push(e)}),o.sort(function(t,e){return e.sortable.renderOrder-t.sortable.renderOrder}),o},e.prototype.elementFromPointSync=function(t,e){var n=this.defaultView.canvas2Viewport({x:t,y:e}),r=n.x,i=n.y,o=this.defaultView.getConfig(),a=o.width,s=o.height;if(r<0||i<0||r>a||i>s)return null;var l=this.defaultView.viewport2Client({x:r,y:i}),u=l.x,c=l.y,h=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!0,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]}).picked;return h&&h[0]||this.documentElement},e.prototype.elementFromPoint=function(t,e){return(0,W.mG)(this,void 0,void 0,function(){var n,r,i,o,a,s,l,u,c,h;return(0,W.Jh)(this,function(p){switch(p.label){case 0:if(r=(n=this.defaultView.canvas2Viewport({x:t,y:e})).x,i=n.y,a=(o=this.defaultView.getConfig()).width,s=o.height,r<0||i<0||r>a||i>s)return[2,null];return u=(l=this.defaultView.viewport2Client({x:r,y:i})).x,c=l.y,[4,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!0,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]})];case 1:return[2,(h=p.sent().picked)&&h[0]||this.documentElement]}})})},e.prototype.elementsFromPointSync=function(t,e){var n=this.defaultView.canvas2Viewport({x:t,y:e}),r=n.x,i=n.y,o=this.defaultView.getConfig(),a=o.width,s=o.height;if(r<0||i<0||r>a||i>s)return[];var l=this.defaultView.viewport2Client({x:r,y:i}),u=l.x,c=l.y,h=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!1,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]}).picked;return h[h.length-1]!==this.documentElement&&h.push(this.documentElement),h},e.prototype.elementsFromPoint=function(t,e){return(0,W.mG)(this,void 0,void 0,function(){var n,r,i,o,a,s,l,u,c,h;return(0,W.Jh)(this,function(p){switch(p.label){case 0:if(r=(n=this.defaultView.canvas2Viewport({x:t,y:e})).x,i=n.y,a=(o=this.defaultView.getConfig()).width,s=o.height,r<0||i<0||r>a||i>s)return[2,[]];return u=(l=this.defaultView.viewport2Client({x:r,y:i})).x,c=l.y,[4,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!1,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]})];case 1:return(h=p.sent().picked)[h.length-1]!==this.documentElement&&h.push(this.documentElement),[2,h]}})})},e.prototype.appendChild=function(t,e){throw Error(tK)},e.prototype.insertBefore=function(t,e){throw Error(tK)},e.prototype.removeChild=function(t,e){throw Error(tK)},e.prototype.replaceChild=function(t,e,n){throw Error(tK)},e.prototype.append=function(){throw Error(tK)},e.prototype.prepend=function(){throw Error(tK)},e.prototype.getElementById=function(t){return this.documentElement.getElementById(t)},e.prototype.getElementsByName=function(t){return this.documentElement.getElementsByName(t)},e.prototype.getElementsByTagName=function(t){return this.documentElement.getElementsByTagName(t)},e.prototype.getElementsByClassName=function(t){return this.documentElement.getElementsByClassName(t)},e.prototype.querySelector=function(t){return this.documentElement.querySelector(t)},e.prototype.querySelectorAll=function(t){return this.documentElement.querySelectorAll(t)},e.prototype.find=function(t){return this.documentElement.find(t)},e.prototype.findAll=function(t){return this.documentElement.findAll(t)},e}(rx),it=function(){function t(t){this.strategies=t}return t.prototype.apply=function(e){var n=e.camera,r=e.renderingService,i=e.renderingContext,o=this.strategies;r.hooks.cull.tap(t.tag,function(t){if(t){var e=t.cullable;return(0===o.length?e.visible=i.unculledEntities.indexOf(t.entity)>-1:e.visible=o.every(function(e){return e.isVisible(n,t)}),!t.isCulled()&&t.isVisible())?t:(t.dispatchEvent(new rm(X.CULLED)),null)}return t}),r.hooks.afterRender.tap(t.tag,function(t){t.cullable.visibilityPlaneMask=-1})},t.tag="Culling",t}(),ie=function(){function t(){var t=this;this.autoPreventDefault=!1,this.rootPointerEvent=new ry(null),this.rootWheelEvent=new rg(null),this.onPointerMove=function(e){var n,r,i,o,a=null===(o=null===(i=t.context.renderingContext.root)||void 0===i?void 0:i.ownerDocument)||void 0===o?void 0:o.defaultView;if(!a.supportsTouchEvents||"touch"!==e.pointerType){var s=t.normalizeToPointerEvent(e,a);try{for(var l=(0,W.XA)(s),u=l.next();!u.done;u=l.next()){var c=u.value,h=t.bootstrapEvent(t.rootPointerEvent,c,a,e);t.context.eventService.mapEvent(h)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}t.setCursor(t.context.eventService.cursor)}},this.onClick=function(e){var n,r,i,o,a=null===(o=null===(i=t.context.renderingContext.root)||void 0===i?void 0:i.ownerDocument)||void 0===o?void 0:o.defaultView,s=t.normalizeToPointerEvent(e,a);try{for(var l=(0,W.XA)(s),u=l.next();!u.done;u=l.next()){var c=u.value,h=t.bootstrapEvent(t.rootPointerEvent,c,a,e);t.context.eventService.mapEvent(h)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}t.setCursor(t.context.eventService.cursor)}}return t.prototype.apply=function(e){var n=this;this.context=e;var r=e.renderingService,i=this.context.renderingContext.root.ownerDocument.defaultView;this.context.eventService.setPickHandler(function(t){return n.context.renderingService.hooks.pickSync.call({position:t,picked:[],topmost:!0}).picked[0]||null}),r.hooks.pointerWheel.tap(t.tag,function(t){var e=n.normalizeWheelEvent(t);n.context.eventService.mapEvent(e)}),r.hooks.pointerDown.tap(t.tag,function(t){if(!i.supportsTouchEvents||"touch"!==t.pointerType){var e,r,o=n.normalizeToPointerEvent(t,i);n.autoPreventDefault&&o[0].isNormalized&&(t.cancelable||!("cancelable"in t))&&t.preventDefault();try{for(var a=(0,W.XA)(o),s=a.next();!s.done;s=a.next()){var l=s.value,u=n.bootstrapEvent(n.rootPointerEvent,l,i,t);n.context.eventService.mapEvent(u)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}n.setCursor(n.context.eventService.cursor)}}),r.hooks.pointerUp.tap(t.tag,function(t){if(!i.supportsTouchEvents||"touch"!==t.pointerType){var e,r,o=n.context.contextService.getDomElement(),a=n.context.eventService.isNativeEventFromCanvas(o,t)?"":"outside",s=n.normalizeToPointerEvent(t,i);try{for(var l=(0,W.XA)(s),u=l.next();!u.done;u=l.next()){var c=u.value,h=n.bootstrapEvent(n.rootPointerEvent,c,i,t);h.type+=a,n.context.eventService.mapEvent(h)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}n.setCursor(n.context.eventService.cursor)}}),r.hooks.pointerMove.tap(t.tag,this.onPointerMove),r.hooks.pointerOver.tap(t.tag,this.onPointerMove),r.hooks.pointerOut.tap(t.tag,this.onPointerMove),r.hooks.click.tap(t.tag,this.onClick),r.hooks.pointerCancel.tap(t.tag,function(t){var e,r,o=n.normalizeToPointerEvent(t,i);try{for(var a=(0,W.XA)(o),s=a.next();!s.done;s=a.next()){var l=s.value,u=n.bootstrapEvent(n.rootPointerEvent,l,i,t);n.context.eventService.mapEvent(u)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}n.setCursor(n.context.eventService.cursor)})},t.prototype.bootstrapEvent=function(t,e,n,r){t.view=n,t.originalEvent=null,t.nativeEvent=r,t.pointerId=e.pointerId,t.width=e.width,t.height=e.height,t.isPrimary=e.isPrimary,t.pointerType=e.pointerType,t.pressure=e.pressure,t.tangentialPressure=e.tangentialPressure,t.tiltX=e.tiltX,t.tiltY=e.tiltY,t.twist=e.twist,this.transferMouseData(t,e);var i=this.context.eventService.client2Viewport({x:e.clientX,y:e.clientY}),o=i.x,a=i.y;t.viewport.x=o,t.viewport.y=a;var s=this.context.eventService.viewport2Canvas(t.viewport),l=s.x,u=s.y;return t.canvas.x=l,t.canvas.y=u,t.global.copyFrom(t.canvas),t.offset.copyFrom(t.canvas),t.isTrusted=r.isTrusted,"pointerleave"===t.type&&(t.type="pointerout"),t.type.startsWith("mouse")&&(t.type=t.type.replace("mouse","pointer")),t.type.startsWith("touch")&&(t.type=nj[t.type]||t.type),t},t.prototype.normalizeWheelEvent=function(t){var e=this.rootWheelEvent;this.transferMouseData(e,t),e.deltaMode=t.deltaMode,e.deltaX=t.deltaX,e.deltaY=t.deltaY,e.deltaZ=t.deltaZ;var n=this.context.eventService.client2Viewport({x:t.clientX,y:t.clientY}),r=n.x,i=n.y;e.viewport.x=r,e.viewport.y=i;var o=this.context.eventService.viewport2Canvas(e.viewport),a=o.x,s=o.y;return e.canvas.x=a,e.canvas.y=s,e.global.copyFrom(e.canvas),e.offset.copyFrom(e.canvas),e.nativeEvent=t,e.type=t.type,e},t.prototype.transferMouseData=function(t,e){t.isTrusted=e.isTrusted,t.srcElement=e.srcElement,t.timeStamp=nW.now(),t.type=e.type,t.altKey=e.altKey,t.metaKey=e.metaKey,t.shiftKey=e.shiftKey,t.ctrlKey=e.ctrlKey,t.button=e.button,t.buttons=e.buttons,t.client.x=e.clientX,t.client.y=e.clientY,t.movement.x=e.movementX,t.movement.y=e.movementY,t.page.x=e.pageX,t.page.y=e.pageY,t.screen.x=e.screenX,t.screen.y=e.screenY,t.relatedTarget=null},t.prototype.setCursor=function(t){this.context.contextService.applyCursorStyle(t||this.context.config.cursor||"default")},t.prototype.normalizeToPointerEvent=function(t,e){var n=[];if(e.isTouchEvent(t))for(var r=0;r-1,a=0,s=r.length;a=1?Math.ceil(k):1,C=l||("auto"===(n=nX(a,"width"))?a.offsetWidth:parseFloat(n))||a.width/k,w=u||("auto"===(r=nX(a,"height"))?a.offsetHeight:parseFloat(r))||a.height/k),s&&(rD.offscreenCanvas=s),i.devicePixelRatio=k,i.requestAnimationFrame=null!=v?v:n2.bind(rD.globalThis),i.cancelAnimationFrame=null!=y?y:n3.bind(rD.globalThis),i.supportsTouchEvents=null!=E?E:"ontouchstart"in rD.globalThis,i.supportsPointerEvents=null!=m?m:!!rD.globalThis.PointerEvent,i.isTouchEvent=null!=S?S:function(t){return i.supportsTouchEvents&&t instanceof rD.globalThis.TouchEvent},i.isMouseEvent=null!=N?N:function(t){return!rD.globalThis.MouseEvent||t instanceof rD.globalThis.MouseEvent&&(!i.supportsPointerEvents||!(t instanceof rD.globalThis.PointerEvent))},i.initRenderingContext({container:o,canvas:a,width:C,height:w,renderer:h,offscreenCanvas:s,devicePixelRatio:k,cursor:d||"default",background:p||"transparent",createImage:g,document:f,supportsCSSTransform:x,useNativeClickEvent:T,alwaysTriggerPointerEventOnCanvas:P}),i.initDefaultCamera(C,w,h.clipSpaceNearZ),i.initRenderer(h,!0),i}(0,W.ZT)(e,t),e.prototype.initRenderingContext=function(t){this.context.config=t,this.context.renderingContext={root:this.document.documentElement,renderListCurrentFrame:[],unculledEntities:[],renderReasons:new Set,force:!1,dirty:!1}},e.prototype.initDefaultCamera=function(t,e,n){var r=this,i=new rD.CameraContribution;i.clipSpaceNearZ=n,i.setType(A.EXPLORING,O.DEFAULT).setPosition(t/2,e/2,500).setFocalPoint(t/2,e/2,0).setOrthographic(-(t/2),t/2,e/2,-(e/2),.1,1e3),i.canvas=this,i.eventEmitter.on(tJ.UPDATED,function(){r.context.renderingContext.renderReasons.add(z.CAMERA_CHANGED),rD.enableSizeAttenuation&&r.getConfig().renderer.getConfig().enableSizeAttenuation&&r.updateSizeAttenuation()}),this.context.camera=i},e.prototype.updateSizeAttenuation=function(){var t=this.getCamera().getZoom();this.document.documentElement.forEach(function(e){rD.styleValueRegistry.updateSizeAttenuation(e,t)})},e.prototype.getConfig=function(){return this.context.config},e.prototype.getRoot=function(){return this.document.documentElement},e.prototype.getCamera=function(){return this.context.camera},e.prototype.getContextService=function(){return this.context.contextService},e.prototype.getEventService=function(){return this.context.eventService},e.prototype.getRenderingService=function(){return this.context.renderingService},e.prototype.getRenderingContext=function(){return this.context.renderingContext},e.prototype.getStats=function(){return this.getRenderingService().getStats()},Object.defineProperty(e.prototype,"ready",{get:function(){var t=this;return!this.readyPromise&&(this.readyPromise=new Promise(function(e){t.resolveReadyPromise=function(){e(t)}}),this.inited&&this.resolveReadyPromise()),this.readyPromise},enumerable:!1,configurable:!0}),e.prototype.destroy=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!1),e||this.dispatchEvent(new rm(j.BEFORE_DESTROY)),this.frameId&&(this.getConfig().cancelAnimationFrame||cancelAnimationFrame)(this.frameId);var n=this.getRoot();this.unmountChildren(n),t&&(this.document.destroy(),this.getEventService().destroy()),this.getRenderingService().destroy(),this.getContextService().destroy(),t&&this.context.rBushRoot&&(this.context.rBushRoot.clear(),this.context.rBushRoot=null,this.context.renderingContext.root=null),e||this.dispatchEvent(new rm(j.AFTER_DESTROY))},e.prototype.changeSize=function(t,e){this.resize(t,e)},e.prototype.resize=function(t,e){var n=this.context.config;n.width=t,n.height=e,this.getContextService().resize(t,e);var r=this.context.camera,i=r.getProjectionMode();r.setPosition(t/2,e/2,500).setFocalPoint(t/2,e/2,0),i===I.ORTHOGRAPHIC?r.setOrthographic(-(t/2),t/2,e/2,-(e/2),r.getNear(),r.getFar()):r.setAspect(t/e),this.dispatchEvent(new rm(j.RESIZE,{width:t,height:e}))},e.prototype.appendChild=function(t,e){return this.document.documentElement.appendChild(t,e)},e.prototype.insertBefore=function(t,e){return this.document.documentElement.insertBefore(t,e)},e.prototype.removeChild=function(t){return this.document.documentElement.removeChild(t)},e.prototype.removeChildren=function(){this.document.documentElement.removeChildren()},e.prototype.destroyChildren=function(){this.document.documentElement.destroyChildren()},e.prototype.render=function(t){var e=this;this.dispatchEvent(il),this.getRenderingService().render(this.getConfig(),t,function(){e.dispatchEvent(iu)}),this.dispatchEvent(ic)},e.prototype.run=function(){var t=this,e=function(n,r){t.render(r),t.frameId=t.requestAnimationFrame(e)};e()},e.prototype.initRenderer=function(t,e){var n=this;if(void 0===e&&(e=!1),!t)throw Error("Renderer is required.");this.inited=!1,this.readyPromise=void 0,this.context.rBushRoot=new tN,this.context.renderingPlugins=[],this.context.renderingPlugins.push(new ie,new io,new it([new ii])),this.loadRendererContainerModule(t),this.context.contextService=new this.context.ContextService((0,W.pi)((0,W.pi)({},rD),this.context)),this.context.renderingService=new rP(rD,this.context),this.context.eventService=new rb(rD,this.context),this.context.eventService.init(),this.context.contextService.init?(this.context.contextService.init(),this.initRenderingService(t,e,!0)):this.context.contextService.initAsync().then(function(){n.initRenderingService(t,e)})},e.prototype.initRenderingService=function(t,e,n){var r=this;void 0===e&&(e=!1),void 0===n&&(n=!1),this.context.renderingService.init(function(){r.inited=!0,e?(n?r.requestAnimationFrame(function(){r.dispatchEvent(new rm(j.READY))}):r.dispatchEvent(new rm(j.READY)),r.readyPromise&&r.resolveReadyPromise()):r.dispatchEvent(new rm(j.RENDERER_CHANGED)),e||r.getRoot().forEach(function(t){var e=t.renderable;e&&(e.renderBoundsDirty=!0,e.boundsDirty=!0,e.dirty=!0)}),r.mountChildren(r.getRoot()),t.getConfig().enableAutoRendering&&r.run()})},e.prototype.loadRendererContainerModule=function(t){var e=this;t.getPlugins().forEach(function(t){t.context=e.context,t.init(rD)})},e.prototype.setRenderer=function(t){var e=this.getConfig();if(e.renderer!==t){var n=e.renderer;e.renderer=t,this.destroy(!1,!0),(0,W.ev)([],(0,W.CR)(null==n?void 0:n.getPlugins()),!1).reverse().forEach(function(t){t.destroy(rD)}),this.initRenderer(t)}},e.prototype.setCursor=function(t){this.getConfig().cursor=t,this.getContextService().applyCursorStyle(t)},e.prototype.unmountChildren=function(t){var e=this;t.childNodes.forEach(function(t){e.unmountChildren(t)}),this.inited&&(t.isMutationObserved?t.dispatchEvent(is):(is.target=t,this.dispatchEvent(is,!0)),t!==this.document.documentElement&&(t.ownerDocument=null),t.isConnected=!1),t.isCustomElement&&t.disconnectedCallback&&t.disconnectedCallback()},e.prototype.mountChildren=function(t){var e=this;this.inited?t.isConnected||(t.ownerDocument=this.document,t.isConnected=!0,t.isMutationObserved?t.dispatchEvent(ia):(ia.target=t,this.dispatchEvent(ia,!0))):console.warn("[g]: You are trying to call `canvas.appendChild` before canvas' initialization finished. You can either await `canvas.ready` or listen to `CanvasEvent.READY` manually.","appended child: ",t.nodeName),t.childNodes.forEach(function(t){e.mountChildren(t)}),t.isCustomElement&&t.connectedCallback&&t.connectedCallback()},e.prototype.client2Viewport=function(t){return this.getEventService().client2Viewport(t)},e.prototype.viewport2Client=function(t){return this.getEventService().viewport2Client(t)},e.prototype.viewport2Canvas=function(t){return this.getEventService().viewport2Canvas(t)},e.prototype.canvas2Viewport=function(t){return this.getEventService().canvas2Viewport(t)},e.prototype.getPointByClient=function(t,e){return this.client2Viewport({x:t,y:e})},e.prototype.getClientByPoint=function(t,e){return this.viewport2Client({x:t,y:e})}}(rE)}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/d9132460-20986b7356ae6e5c.js b/dbgpt/app/static/web/_next/static/chunks/d9132460-20986b7356ae6e5c.js new file mode 100644 index 000000000..22b23ad9b --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/d9132460-20986b7356ae6e5c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[930],{82002:function(t,e,n){n.d(e,{$6:function(){return j},Dk:function(){return X},F6:function(){return tC},R:function(){return eC},Rr:function(){return z},bn:function(){return k},qA:function(){return ew}});var r,i,o,a,s,l,u,c,h,p,d,f,v,y,g,m,E,x,b,T,P,S,N,C,w,k,M,R,A,O,I,L,D,G,B,F,_,U,V,Z,Y,z,X,j,W=n(97582),H=n(23943),q=n(77160),K=n(85975),J=n(35600),$=n(98333),Q=n(32945),tt=n(31437),te=n(25897),tn=n(95147),tr=n(76714),ti=n(81957),to=n(69877),ta=n(71523),ts=n(13882),tl=n(80450),tu=n(8614),tc=n(4848),th=n(75839),tp=n(99872),td=n(92455),tf=n(65850),tv=n(28659),ty=n(83555),tg=n(71154),tm=n(5199),tE=n(90134),tx=n(4637),tb=n(84329),tT=n(16372),tP=n(11702),tS=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self,{exports:{}});tS.exports=function(){function t(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function e(t,e){return te?1:0}var n=function(t){void 0===t&&(t=9),this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function r(t,e){i(t,0,t.children.length,e,t)}function i(t,e,n,r,i){i||(i=p(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var a=e;a=t.minX&&e.maxY>=t.minY}function p(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function d(n,r,i,o,a){for(var s=[r,i];s.length;)if(i=s.pop(),r=s.pop(),!(i-r<=o)){var l=r+Math.ceil((i-r)/o/2)*o;(function e(n,r,i,o,a){for(;o>i;){if(o-i>600){var s=o-i+1,l=r-i+1,u=Math.log(s),c=.5*Math.exp(2*u/3),h=.5*Math.sqrt(u*c*(s-c)/s)*(l-s/2<0?-1:1),p=Math.max(i,Math.floor(r-l*c/s+h)),d=Math.min(o,Math.floor(r+(s-l)*c/s+h));e(n,r,p,d,a)}var f=n[r],v=i,y=o;for(t(n,i,r),a(n[o],f)>0&&t(n,i,o);va(n[v],f);)v++;for(;a(n[y],f)>0;)y--}0===a(n[i],f)?t(n,i,y):t(n,++y,o),y<=r&&(i=y+1),r<=y&&(o=y-1)}})(n,l,r||0,i||n.length-1,a||e),s.push(r,l,l,i)}}return n.prototype.all=function(){return this._all(this.data,[])},n.prototype.search=function(t){var e=this.data,n=[];if(!h(t,e))return n;for(var r=this.toBBox,i=[];e;){for(var o=0;o=0;)if(i[e].children.length>this._maxEntries)this._split(i,e),e--;else break;this._adjustParentBBoxes(r,i,e)},n.prototype._split=function(t,e){var n=t[e],i=n.children.length,o=this._minEntries;this._chooseSplitAxis(n,o,i);var a=this._chooseSplitIndex(n,o,i),s=p(n.children.splice(a,n.children.length-a));s.height=n.height,s.leaf=n.leaf,r(n,this.toBBox),r(s,this.toBBox),e?t[e-1].children.push(s):this._splitRoot(n,s)},n.prototype._splitRoot=function(t,e){this.data=p([t,e]),this.data.height=t.height+1,this.data.leaf=!1,r(this.data,this.toBBox)},n.prototype._chooseSplitIndex=function(t,e,n){for(var r,o=1/0,a=1/0,s=e;s<=n-e;s++){var u=i(t,0,s,this.toBBox),c=i(t,s,n,this.toBBox),h=function(t,e){var n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY);return Math.max(0,Math.min(t.maxX,e.maxX)-n)*Math.max(0,Math.min(t.maxY,e.maxY)-r)}(u,c),p=l(u)+l(c);h=e;d--){var f=t.children[d];o(l,t.leaf?a(f):f),c+=u(l)}return c},n.prototype._adjustParentBBoxes=function(t,e,n){for(var r=n;r>=0;r--)o(e[r],t)},n.prototype._condense=function(t){for(var e=t.length-1,n=void 0;e>=0;e--)0===t[e].children.length?e>0?(n=t[e-1].children).splice(n.indexOf(t[e]),1):this.clear():r(t[e],this.toBBox)},n}();var tN=tS.exports;(r=k||(k={})).GROUP="g",r.CIRCLE="circle",r.ELLIPSE="ellipse",r.IMAGE="image",r.RECT="rect",r.LINE="line",r.POLYLINE="polyline",r.POLYGON="polygon",r.TEXT="text",r.PATH="path",r.HTML="html",r.MESH="mesh",(i=M||(M={}))[i.ZERO=0]="ZERO",i[i.NEGATIVE_ONE=1]="NEGATIVE_ONE";var tC=function(){function t(){this.plugins=[]}return t.prototype.addRenderingPlugin=function(t){this.plugins.push(t),this.context.renderingPlugins.push(t)},t.prototype.removeAllRenderingPlugins=function(){var t=this;this.plugins.forEach(function(e){var n=t.context.renderingPlugins.indexOf(e);n>=0&&t.context.renderingPlugins.splice(n,1)})},t}();function tw(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function tk(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function tM(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function tR(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function tA(t){return void 0===t?0:t>360||t<-360?t%360:t}function tO(t,e,n){return(void 0===e&&(e=0),void 0===n&&(n=0),Array.isArray(t)&&3===t.length)?q.d9(t):(0,te.Z)(t)?q.al(t,e,n):q.al(t[0],t[1]||e,t[2]||n)}function tI(t){return t*(Math.PI/180)}function tL(t){return t*(180/Math.PI)}function tD(t,e){var n,r,i,o,a,s,l,u,c,h,p,d,f,v,y,g,m;return 16===e.length?(i=.5*Math.PI,a=(o=(0,W.CR)(K.getScaling(q.Ue(),e),3))[0],s=o[1],l=o[2],(u=Math.asin(-e[2]/a))-i?(n=Math.atan2(e[6]/s,e[10]/l),r=Math.atan2(e[1]/a,e[0]/a)):(r=0,n=-Math.atan2(e[4]/s,e[5]/s)):(r=0,n=Math.atan2(e[4]/s,e[5]/s)),t[0]=n,t[1]=u,t[2]=r,t):(c=e[0],h=e[1],p=e[2],d=e[3],g=c*c+(f=h*h)+(v=p*p)+(y=d*d),(m=c*d-h*p)>.499995*g?(t[0]=Math.PI/2,t[1]=2*Math.atan2(h,c),t[2]=0):m<-.499995*g?(t[0]=-Math.PI/2,t[1]=2*Math.atan2(h,c),t[2]=0):(t[0]=Math.asin(2*(c*p-d*h)),t[1]=Math.atan2(2*(c*d+h*p),1-2*(v+y)),t[2]=Math.atan2(2*(c*h+p*d),1-2*(f+v))),t)}function tG(t){var e=t[0],n=t[1],r=t[3],i=t[4],o=Math.sqrt(e*e+n*n),a=Math.sqrt(r*r+i*i);e*i-n*r<0&&(e-1&&this.plugins.splice(e,1)},t.prototype.getPlugins=function(){return this.plugins},t.prototype.getPlugin=function(t){return this.plugins.find(function(e){return e.name===t})},t.prototype.getConfig=function(){return this.config},t.prototype.setConfig=function(t){Object.assign(this.config,t)}}();var tB=K.create(),tF=K.create(),t_=$.Ue(),tU=[q.Ue(),q.Ue(),q.Ue()],tV=q.Ue();function tZ(t,e,n,r,i){t[0]=e[0]*r+n[0]*i,t[1]=e[1]*r+n[1]*i,t[2]=e[2]*r+n[2]*i}var tY=function(){function t(){this.center=[0,0,0],this.halfExtents=[0,0,0],this.min=[0,0,0],this.max=[0,0,0]}return t.isEmpty=function(t){return!t||0===t.halfExtents[0]&&0===t.halfExtents[1]&&0===t.halfExtents[2]},t.prototype.update=function(t,e){tw(this.center,t),tw(this.halfExtents,e),tk(this.min,this.center,this.halfExtents),tM(this.max,this.center,this.halfExtents)},t.prototype.setMinMax=function(t,e){tM(this.center,e,t),tR(this.center,this.center,.5),tk(this.halfExtents,e,t),tR(this.halfExtents,this.halfExtents,.5),tw(this.min,t),tw(this.max,e)},t.prototype.getMin=function(){return this.min},t.prototype.getMax=function(){return this.max},t.prototype.add=function(e){if(!t.isEmpty(e)){if(t.isEmpty(this)){this.setMinMax(e.getMin(),e.getMax());return}var n=this.center,r=n[0],i=n[1],o=n[2],a=this.halfExtents,s=a[0],l=a[1],u=a[2],c=r-s,h=r+s,p=i-l,d=i+l,f=o-u,v=o+u,y=e.center,g=y[0],m=y[1],E=y[2],x=e.halfExtents,b=x[0],T=x[1],P=x[2],S=g-b,N=g+b,C=m-T,w=m+T,k=E-P,M=E+P;Sh&&(h=N),Cd&&(d=w),kv&&(v=M),n[0]=(c+h)*.5,n[1]=(p+d)*.5,n[2]=(f+v)*.5,a[0]=(h-c)*.5,a[1]=(d-p)*.5,a[2]=(v-f)*.5,this.min[0]=c,this.min[1]=p,this.min[2]=f,this.max[0]=h,this.max[1]=d,this.max[2]=v}},t.prototype.setFromTransformedAABB=function(t,e){var n=this.center,r=this.halfExtents,i=t.center,o=t.halfExtents,a=e[0],s=e[4],l=e[8],u=e[1],c=e[5],h=e[9],p=e[2],d=e[6],f=e[10],v=Math.abs(a),y=Math.abs(s),g=Math.abs(l),m=Math.abs(u),E=Math.abs(c),x=Math.abs(h),b=Math.abs(p),T=Math.abs(d),P=Math.abs(f);n[0]=e[12]+a*i[0]+s*i[1]+l*i[2],n[1]=e[13]+u*i[0]+c*i[1]+h*i[2],n[2]=e[14]+p*i[0]+d*i[1]+f*i[2],r[0]=v*o[0]+y*o[1]+g*o[2],r[1]=m*o[0]+E*o[1]+x*o[2],r[2]=b*o[0]+T*o[1]+P*o[2],tk(this.min,n,r),tM(this.max,n,r)},t.prototype.intersects=function(t){var e=this.getMax(),n=this.getMin(),r=t.getMax(),i=t.getMin();return n[0]<=r[0]&&e[0]>=i[0]&&n[1]<=r[1]&&e[1]>=i[1]&&n[2]<=r[2]&&e[2]>=i[2]},t.prototype.intersection=function(e){if(!this.intersects(e))return null;var n,r,i,o,a,s,l=new t,u=(n=[0,0,0],r=this.getMin(),i=e.getMin(),n[0]=Math.max(r[0],i[0]),n[1]=Math.max(r[1],i[1]),n[2]=Math.max(r[2],i[2]),n),c=(o=[0,0,0],a=this.getMax(),s=e.getMax(),o[0]=Math.min(a[0],s[0]),o[1]=Math.min(a[1],s[1]),o[2]=Math.min(a[2],s[2]),o);return l.setMinMax(u,c),l},t.prototype.getNegativeFarPoint=function(t){if(273===t.pnVertexFlag)return tw([0,0,0],this.min);if(272===t.pnVertexFlag)return[this.min[0],this.min[1],this.max[2]];if(257===t.pnVertexFlag)return[this.min[0],this.max[1],this.min[2]];if(256===t.pnVertexFlag)return[this.min[0],this.max[1],this.max[2]];if(17===t.pnVertexFlag)return[this.max[0],this.min[1],this.min[2]];if(16===t.pnVertexFlag)return[this.max[0],this.min[1],this.max[2]];if(1===t.pnVertexFlag)return[this.max[0],this.max[1],this.min[2]];else return[this.max[0],this.max[1],this.max[2]]},t.prototype.getPositiveFarPoint=function(t){if(273===t.pnVertexFlag)return tw([0,0,0],this.max);if(272===t.pnVertexFlag)return[this.max[0],this.max[1],this.min[2]];if(257===t.pnVertexFlag)return[this.max[0],this.min[1],this.max[2]];if(256===t.pnVertexFlag)return[this.max[0],this.min[1],this.min[2]];if(17===t.pnVertexFlag)return[this.min[0],this.max[1],this.max[2]];if(16===t.pnVertexFlag)return[this.min[0],this.max[1],this.min[2]];if(1===t.pnVertexFlag)return[this.min[0],this.min[1],this.max[2]];else return[this.min[0],this.min[1],this.min[2]]},t}(),tz=function(){function t(t,e){this.distance=t||0,this.normal=e||q.al(0,1,0),this.updatePNVertexFlag()}return t.prototype.updatePNVertexFlag=function(){this.pnVertexFlag=(Number(this.normal[0]>=0)<<8)+(Number(this.normal[1]>=0)<<4)+Number(this.normal[2]>=0)},t.prototype.distanceToPoint=function(t){return q.AK(t,this.normal)-this.distance},t.prototype.normalize=function(){var t=1/q.Zh(this.normal);q.bA(this.normal,this.normal,t),this.distance*=t},t.prototype.intersectsLine=function(t,e,n){var r=this.distanceToPoint(t),i=r/(r-this.distanceToPoint(e)),o=i>=0&&i<=1;return o&&n&&q.t7(n,t,e,i),o},t}();(o=R||(R={}))[o.OUTSIDE=4294967295]="OUTSIDE",o[o.INSIDE=0]="INSIDE",o[o.INDETERMINATE=2147483647]="INDETERMINATE";var tX=function(){function t(t){if(this.planes=[],t)this.planes=t;else for(var e=0;e<6;e++)this.planes.push(new tz)}return t.prototype.extractFromVPMatrix=function(t){var e=(0,W.CR)(t,16),n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],h=e[9],p=e[10],d=e[11],f=e[12],v=e[13],y=e[14],g=e[15];q.t8(this.planes[0].normal,o-n,u-a,d-c),this.planes[0].distance=g-f,q.t8(this.planes[1].normal,o+n,u+a,d+c),this.planes[1].distance=g+f,q.t8(this.planes[2].normal,o+r,u+s,d+h),this.planes[2].distance=g+v,q.t8(this.planes[3].normal,o-r,u-s,d-h),this.planes[3].distance=g-v,q.t8(this.planes[4].normal,o-i,u-l,d-p),this.planes[4].distance=g-y,q.t8(this.planes[5].normal,o+i,u+l,d+p),this.planes[5].distance=g+y,this.planes.forEach(function(t){t.normalize(),t.updatePNVertexFlag()})},t}(),tj=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.x=0,this.y=0,this.x=t,this.y=e}return t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.copyFrom=function(t){this.x=t.x,this.y=t.y},t}(),tW=function(){function t(t,e,n,r){this.x=t,this.y=e,this.width=n,this.height=r,this.left=t,this.right=t+n,this.top=e,this.bottom=e+r}return t.prototype.toJSON=function(){},t}(),tH="Method not implemented.",tq="Use document.documentElement instead.";(a=A||(A={}))[a.ORBITING=0]="ORBITING",a[a.EXPLORING=1]="EXPLORING",a[a.TRACKING=2]="TRACKING",(s=O||(O={}))[s.DEFAULT=0]="DEFAULT",s[s.ROTATIONAL=1]="ROTATIONAL",s[s.TRANSLATIONAL=2]="TRANSLATIONAL",s[s.CINEMATIC=3]="CINEMATIC",(l=I||(I={}))[l.ORTHOGRAPHIC=0]="ORTHOGRAPHIC",l[l.PERSPECTIVE=1]="PERSPECTIVE";var tK={UPDATED:"updated"},tJ=function(){function t(){this.clipSpaceNearZ=M.NEGATIVE_ONE,this.eventEmitter=new H.Z,this.matrix=K.create(),this.right=q.al(1,0,0),this.up=q.al(0,1,0),this.forward=q.al(0,0,1),this.position=q.al(0,0,1),this.focalPoint=q.al(0,0,0),this.distanceVector=q.al(0,0,-1),this.distance=1,this.azimuth=0,this.elevation=0,this.roll=0,this.relAzimuth=0,this.relElevation=0,this.relRoll=0,this.dollyingStep=0,this.maxDistance=1/0,this.minDistance=-1/0,this.zoom=1,this.rotateWorld=!1,this.fov=30,this.near=.1,this.far=1e3,this.aspect=1,this.projectionMatrix=K.create(),this.projectionMatrixInverse=K.create(),this.jitteredProjectionMatrix=void 0,this.enableUpdate=!0,this.type=A.EXPLORING,this.trackingMode=O.DEFAULT,this.projectionMode=I.PERSPECTIVE,this.frustum=new tX,this.orthoMatrix=K.create()}return t.prototype.isOrtho=function(){return this.projectionMode===I.ORTHOGRAPHIC},t.prototype.getProjectionMode=function(){return this.projectionMode},t.prototype.getPerspective=function(){return this.jitteredProjectionMatrix||this.projectionMatrix},t.prototype.getPerspectiveInverse=function(){return this.projectionMatrixInverse},t.prototype.getFrustum=function(){return this.frustum},t.prototype.getPosition=function(){return this.position},t.prototype.getFocalPoint=function(){return this.focalPoint},t.prototype.getDollyingStep=function(){return this.dollyingStep},t.prototype.getNear=function(){return this.near},t.prototype.getFar=function(){return this.far},t.prototype.getZoom=function(){return this.zoom},t.prototype.getOrthoMatrix=function(){return this.orthoMatrix},t.prototype.getView=function(){return this.view},t.prototype.setEnableUpdate=function(t){this.enableUpdate=t},t.prototype.setType=function(t,e){return this.type=t,this.type===A.EXPLORING?this.setWorldRotation(!0):this.setWorldRotation(!1),this._getAngles(),this.type===A.TRACKING&&void 0!==e&&this.setTrackingMode(e),this},t.prototype.setProjectionMode=function(t){return this.projectionMode=t,this},t.prototype.setTrackingMode=function(t){if(this.type!==A.TRACKING)throw Error("Impossible to set a tracking mode if the camera is not of tracking type");return this.trackingMode=t,this},t.prototype.setWorldRotation=function(t){return this.rotateWorld=t,this._getAngles(),this},t.prototype.getViewTransform=function(){return K.invert(K.create(),this.matrix)},t.prototype.getWorldTransform=function(){return this.matrix},t.prototype.jitterProjectionMatrix=function(t,e){var n=K.fromTranslation(K.create(),[t,e,0]);this.jitteredProjectionMatrix=K.multiply(K.create(),n,this.projectionMatrix)},t.prototype.clearJitterProjectionMatrix=function(){this.jitteredProjectionMatrix=void 0},t.prototype.setMatrix=function(t){return this.matrix=t,this._update(),this},t.prototype.setProjectionMatrix=function(t){this.projectionMatrix=t},t.prototype.setFov=function(t){return this.setPerspective(this.near,this.far,t,this.aspect),this},t.prototype.setAspect=function(t){return this.setPerspective(this.near,this.far,this.fov,t),this},t.prototype.setNear=function(t){return this.projectionMode===I.PERSPECTIVE?this.setPerspective(t,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,t,this.far),this},t.prototype.setFar=function(t){return this.projectionMode===I.PERSPECTIVE?this.setPerspective(this.near,t,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,t),this},t.prototype.setViewOffset=function(t,e,n,r,i,o){return this.aspect=t/e,void 0===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=o,this.projectionMode===I.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this},t.prototype.clearViewOffset=function(){return void 0!==this.view&&(this.view.enabled=!1),this.projectionMode===I.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this},t.prototype.setZoom=function(t){return this.zoom=t,this.projectionMode===I.ORTHOGRAPHIC?this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far):this.projectionMode===I.PERSPECTIVE&&this.setPerspective(this.near,this.far,this.fov,this.aspect),this},t.prototype.setZoomByViewportPoint=function(t,e){var n=this.canvas.viewport2Canvas({x:e[0],y:e[1]}),r=n.x,i=n.y,o=this.roll;this.rotate(0,0,-o),this.setPosition(r,i),this.setFocalPoint(r,i),this.setZoom(t),this.rotate(0,0,o);var a=this.canvas.viewport2Canvas({x:e[0],y:e[1]}),s=a.x,l=a.y,u=q.al(s-r,l-i,0),c=q.AK(u,this.right)/q.kE(this.right),h=q.AK(u,this.up)/q.kE(this.up);return this.pan(-c,-h),this},t.prototype.setPerspective=function(t,e,n,r){this.projectionMode=I.PERSPECTIVE,this.fov=n,this.near=t,this.far=e,this.aspect=r;var i,o,a,s,l,u,c,h,p,d=this.near*Math.tan(tI(.5*this.fov))/this.zoom,f=2*d,v=this.aspect*f,y=-.5*v;if(null===(p=this.view)||void 0===p?void 0:p.enabled){var g=this.view.fullWidth,m=this.view.fullHeight;y+=this.view.offsetX*v/g,d-=this.view.offsetY*f/m,v*=this.view.width/g,f*=this.view.height/m}return i=this.projectionMatrix,o=y,a=y+v,s=d,l=d-f,u=this.far,this.clipSpaceNearZ===M.ZERO?(c=-u/(u-t),h=-u*t/(u-t)):(c=-(u+t)/(u-t),h=-2*u*t/(u-t)),i[0]=2*t/(a-o),i[1]=0,i[2]=0,i[3]=0,i[4]=0,i[5]=2*t/(s-l),i[6]=0,i[7]=0,i[8]=(a+o)/(a-o),i[9]=(s+l)/(s-l),i[10]=c,i[11]=-1,i[12]=0,i[13]=0,i[14]=h,i[15]=0,K.scale(this.projectionMatrix,this.projectionMatrix,q.al(1,-1,1)),K.invert(this.projectionMatrixInverse,this.projectionMatrix),this.triggerUpdate(),this},t.prototype.setOrthographic=function(t,e,n,r,i,o){this.projectionMode=I.ORTHOGRAPHIC,this.rright=e,this.left=t,this.top=n,this.bottom=r,this.near=i,this.far=o;var a,s=(this.rright-this.left)/(2*this.zoom),l=(this.top-this.bottom)/(2*this.zoom),u=(this.rright+this.left)/2,c=(this.top+this.bottom)/2,h=u-s,p=u+s,d=c+l,f=c-l;if(null===(a=this.view)||void 0===a?void 0:a.enabled){var v=(this.rright-this.left)/this.view.fullWidth/this.zoom,y=(this.top-this.bottom)/this.view.fullHeight/this.zoom;h+=v*this.view.offsetX,p=h+v*this.view.width,d-=y*this.view.offsetY,f=d-y*this.view.height}return this.clipSpaceNearZ===M.NEGATIVE_ONE?K.ortho(this.projectionMatrix,h,p,f,d,i,o):K.orthoZO(this.projectionMatrix,h,p,f,d,i,o),K.scale(this.projectionMatrix,this.projectionMatrix,q.al(1,-1,1)),K.invert(this.projectionMatrixInverse,this.projectionMatrix),this._getOrthoMatrix(),this.triggerUpdate(),this},t.prototype.setPosition=function(t,e,n){void 0===e&&(e=this.position[1]),void 0===n&&(n=this.position[2]);var r=tO(t,e,n);return this._setPosition(r),this.setFocalPoint(this.focalPoint),this.triggerUpdate(),this},t.prototype.setFocalPoint=function(t,e,n){void 0===e&&(e=this.focalPoint[1]),void 0===n&&(n=this.focalPoint[2]);var r=q.al(0,1,0);if(this.focalPoint=tO(t,e,n),this.trackingMode===O.CINEMATIC){var i=q.$X(q.Ue(),this.focalPoint,this.position);t=i[0],e=i[1],n=i[2];var o=tL(Math.asin(e/q.kE(i))),a=90+tL(Math.atan2(n,t)),s=K.create();K.rotateY(s,s,tI(a)),K.rotateX(s,s,tI(o)),r=q.fF(q.Ue(),[0,1,0],s)}return K.invert(this.matrix,K.lookAt(K.create(),this.position,this.focalPoint,r)),this._getAxes(),this._getDistance(),this._getAngles(),this.triggerUpdate(),this},t.prototype.getDistance=function(){return this.distance},t.prototype.getDistanceVector=function(){return this.distanceVector},t.prototype.setDistance=function(t){if(this.distance===t||t<0)return this;this.distance=t,this.distance<2e-4&&(this.distance=2e-4),this.dollyingStep=this.distance/100;var e=q.Ue();t=this.distance;var n=this.forward,r=this.focalPoint;return e[0]=t*n[0]+r[0],e[1]=t*n[1]+r[1],e[2]=t*n[2]+r[2],this._setPosition(e),this.triggerUpdate(),this},t.prototype.setMaxDistance=function(t){return this.maxDistance=t,this},t.prototype.setMinDistance=function(t){return this.minDistance=t,this},t.prototype.setAzimuth=function(t){return this.azimuth=tA(t),this.computeMatrix(),this._getAxes(),this.type===A.ORBITING||this.type===A.EXPLORING?this._getPosition():this.type===A.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getAzimuth=function(){return this.azimuth},t.prototype.setElevation=function(t){return this.elevation=tA(t),this.computeMatrix(),this._getAxes(),this.type===A.ORBITING||this.type===A.EXPLORING?this._getPosition():this.type===A.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getElevation=function(){return this.elevation},t.prototype.setRoll=function(t){return this.roll=tA(t),this.computeMatrix(),this._getAxes(),this.type===A.ORBITING||this.type===A.EXPLORING?this._getPosition():this.type===A.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getRoll=function(){return this.roll},t.prototype._update=function(){this._getAxes(),this._getPosition(),this._getDistance(),this._getAngles(),this._getOrthoMatrix(),this.triggerUpdate()},t.prototype.computeMatrix=function(){var t=Q.yY(Q.Ue(),[0,0,1],tI(this.roll));K.identity(this.matrix);var e=Q.yY(Q.Ue(),[1,0,0],tI((this.rotateWorld&&this.type!==A.TRACKING||this.type===A.TRACKING?1:-1)*this.elevation)),n=Q.yY(Q.Ue(),[0,1,0],tI((this.rotateWorld&&this.type!==A.TRACKING||this.type===A.TRACKING?1:-1)*this.azimuth)),r=Q.Jp(Q.Ue(),n,e);r=Q.Jp(Q.Ue(),r,t);var i=K.fromQuat(K.create(),r);this.type===A.ORBITING||this.type===A.EXPLORING?(K.translate(this.matrix,this.matrix,this.focalPoint),K.multiply(this.matrix,this.matrix,i),K.translate(this.matrix,this.matrix,[0,0,this.distance])):this.type===A.TRACKING&&(K.translate(this.matrix,this.matrix,this.position),K.multiply(this.matrix,this.matrix,i))},t.prototype._setPosition=function(t,e,n){this.position=tO(t,e,n);var r=this.matrix;r[12]=this.position[0],r[13]=this.position[1],r[14]=this.position[2],r[15]=1,this._getOrthoMatrix()},t.prototype._getAxes=function(){q.JG(this.right,tO($.fF($.Ue(),[1,0,0,0],this.matrix))),q.JG(this.up,tO($.fF($.Ue(),[0,1,0,0],this.matrix))),q.JG(this.forward,tO($.fF($.Ue(),[0,0,1,0],this.matrix))),q.Fv(this.right,this.right),q.Fv(this.up,this.up),q.Fv(this.forward,this.forward)},t.prototype._getAngles=function(){var t=this.distanceVector[0],e=this.distanceVector[1],n=this.distanceVector[2],r=q.kE(this.distanceVector);if(0===r){this.elevation=0,this.azimuth=0;return}this.type===A.TRACKING?(this.elevation=tL(Math.asin(e/r)),this.azimuth=tL(Math.atan2(-t,-n))):this.rotateWorld?(this.elevation=tL(Math.asin(e/r)),this.azimuth=tL(Math.atan2(-t,-n))):(this.elevation=-tL(Math.asin(e/r)),this.azimuth=-tL(Math.atan2(-t,-n)))},t.prototype._getPosition=function(){q.JG(this.position,tO($.fF($.Ue(),[0,0,0,1],this.matrix))),this._getDistance()},t.prototype._getFocalPoint=function(){q.kK(this.distanceVector,[0,0,-this.distance],J.xO(J.Ue(),this.matrix)),q.IH(this.focalPoint,this.position,this.distanceVector),this._getDistance()},t.prototype._getDistance=function(){this.distanceVector=q.$X(q.Ue(),this.focalPoint,this.position),this.distance=q.kE(this.distanceVector),this.dollyingStep=this.distance/100},t.prototype._getOrthoMatrix=function(){if(this.projectionMode===I.ORTHOGRAPHIC){var t=this.position,e=Q.yY(Q.Ue(),[0,0,1],-this.roll*Math.PI/180);K.fromRotationTranslationScaleOrigin(this.orthoMatrix,e,q.al((this.rright-this.left)/2-t[0],(this.top-this.bottom)/2-t[1],0),q.al(this.zoom,this.zoom,1),t)}},t.prototype.triggerUpdate=function(){if(this.enableUpdate){var t=this.getViewTransform(),e=K.multiply(K.create(),this.getPerspective(),t);this.getFrustum().extractFromVPMatrix(e),this.eventEmitter.emit(tK.UPDATED)}},t.prototype.rotate=function(t,e,n){throw Error(tH)},t.prototype.pan=function(t,e){throw Error(tH)},t.prototype.dolly=function(t){throw Error(tH)},t.prototype.createLandmark=function(t,e){throw Error(tH)},t.prototype.gotoLandmark=function(t,e){throw Error(tH)},t.prototype.cancelLandmarkAnimation=function(){throw Error(tH)},t}();function t$(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var n=function(){for(var r=[],i=0;i=L.kEms&&t=_.kUnitType&&this.getType()<=_.kClampType},t}(),t4=function(t){function e(e){var n=t.call(this)||this;return n.colorSpace=e,n}return(0,W.ZT)(e,t),e.prototype.getType=function(){return _.kColorType},e.prototype.to=function(t){return this},e}(t5);(v=U||(U={}))[v.Constant=0]="Constant",v[v.LinearGradient=1]="LinearGradient",v[v.RadialGradient=2]="RadialGradient";var t9=function(t){function e(e,n){var r=t.call(this)||this;return r.type=e,r.value=n,r}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.type,this.value)},e.prototype.buildCSSText=function(t,e,n){return n},e.prototype.getType=function(){return _.kColorType},e}(t5),t8=function(t){function e(e){var n=t.call(this)||this;return n.value=e,n}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.value)},e.prototype.getType=function(){return _.kKeywordType},e.prototype.buildCSSText=function(t,e,n){return n+this.value},e}(t5),t6=t$(function(t){return void 0===t&&(t=""),t.replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})}),t7=function(t){return t.split("").map(function(t,e){return t.toUpperCase()===t?"".concat(0!==e?"-":"").concat(t.toLowerCase()):t}).join("")};function et(t){return"function"==typeof t}var ee={d:{alias:"path"},strokeDasharray:{alias:"lineDash"},strokeWidth:{alias:"lineWidth"},textAnchor:{alias:"textAlign"},src:{alias:"img"}},en=t$(function(t){var e=t6(t),n=ee[e];return(null==n?void 0:n.alias)||e}),er=function(t,e){void 0===e&&(e="");var n="";return Number.isFinite(t)?(function(t){if(!t)throw Error()}(Number.isNaN(t)),n="NaN"):n=t>0?"infinity":"-infinity",n+e},ei=function(t){return t1(t0(t))},eo=function(t){function e(e,n){void 0===n&&(n=L.kNumber);var r,i,o=t.call(this)||this;return i="string"==typeof n?(r=n)?"number"===r?L.kNumber:"percent"===r||"%"===r?L.kPercentage:tQ.find(function(t){return t.name===r}).unit_type:L.kUnknown:n,o.unit=i,o.value=e,o}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.value,this.unit)},e.prototype.equals=function(t){return this.value===t.value&&this.unit===t.unit},e.prototype.getType=function(){return _.kUnitType},e.prototype.convertTo=function(t){if(this.unit===t)return new e(this.value,this.unit);var n=ei(this.unit);if(n!==ei(t)||n===L.kUnknown)return null;var r=t2(this.unit)/t2(t);return new e(this.value*r,t)},e.prototype.buildCSSText=function(t,e,n){var r;switch(this.unit){case L.kUnknown:break;case L.kInteger:r=Number(this.value).toFixed(0);break;case L.kNumber:case L.kPercentage:case L.kEms:case L.kRems:case L.kPixels:case L.kDegrees:case L.kRadians:case L.kGradians:case L.kMilliseconds:case L.kSeconds:case L.kTurns:var i=this.value,o=t3(this.unit);if(i<-999999||i>999999){var a=t3(this.unit);r=!Number.isFinite(i)||Number.isNaN(i)?er(i,a):i+(a||"")}else r="".concat(i).concat(o)}return n+r},e}(t5),ea=new eo(0,"px");new eo(1,"px");var es=new eo(0,"deg"),el=function(t){function e(e,n,r,i,o){void 0===i&&(i=1),void 0===o&&(o=!1);var a=t.call(this,"rgb")||this;return a.r=e,a.g=n,a.b=r,a.alpha=i,a.isNone=o,a}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.r,this.g,this.b,this.alpha)},e.prototype.buildCSSText=function(t,e,n){return n+"rgba(".concat(this.r,",").concat(this.g,",").concat(this.b,",").concat(this.alpha,")")},e}(t4),eu=new t8("unset"),ec={"":eu,unset:eu,initial:new t8("initial"),inherit:new t8("inherit")},eh=function(t){return ec[t]||(ec[t]=new t8(t)),ec[t]},ep=new el(0,0,0,0,!0),ed=new el(0,0,0,0),ef=t$(function(t,e,n,r){return new el(t,e,n,r)},function(t,e,n,r){return"rgba(".concat(t,",").concat(e,",").concat(n,",").concat(r,")")}),ev=function(t,e){return void 0===e&&(e=L.kNumber),new eo(t,e)};new eo(50,"%"),(y=V||(V={}))[y.Standard=0]="Standard",(g=Z||(Z={}))[g.ADDED=0]="ADDED",g[g.REMOVED=1]="REMOVED",g[g.Z_INDEX_CHANGED=2]="Z_INDEX_CHANGED";var ey={absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new tW(0,0,0,0)};(m=Y||(Y={})).COORDINATE="",m.COLOR="",m.PAINT="",m.NUMBER="",m.ANGLE="",m.OPACITY_VALUE="",m.SHADOW_BLUR="",m.LENGTH="",m.PERCENTAGE="",m.LENGTH_PERCENTAGE=" | ",m.LENGTH_PERCENTAGE_12="[ | ]{1,2}",m.LENGTH_PERCENTAGE_14="[ | ]{1,4}",m.LIST_OF_POINTS="",m.PATH="",m.FILTER="",m.Z_INDEX="",m.OFFSET_DISTANCE="",m.DEFINED_PATH="",m.MARKER="",m.TRANSFORM="",m.TRANSFORM_ORIGIN="",m.TEXT="",m.TEXT_TRANSFORM="";var eg=function(){var t={linearGradient:/^(linear\-gradient)/i,repeatingLinearGradient:/^(repeating\-linear\-gradient)/i,radialGradient:/^(radial\-gradient)/i,repeatingRadialGradient:/^(repeating\-radial\-gradient)/i,conicGradient:/^(conic\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},e="";function n(t){throw Error(e+": "+t)}function r(){return i("linear-gradient",t.linearGradient,a)||i("repeating-linear-gradient",t.repeatingLinearGradient,a)||i("radial-gradient",t.radialGradient,s)||i("repeating-radial-gradient",t.repeatingRadialGradient,s)||i("conic-gradient",t.conicGradient,s)}function i(e,r,i){return o(r,function(r){var o=i();return o&&!m(t.comma)&&n("Missing comma before color stops"),{type:e,orientation:o,colorStops:p(d)}})}function o(e,r){var i=m(e);if(i){m(t.startCall)||n("Missing (");var o=r(i);return m(t.endCall)||n("Missing )"),o}}function a(){return g("directional",t.sideOrCorner,1)||g("angular",t.angleValue,1)}function s(){var n,r,i=l();return i&&((n=[]).push(i),r=e,m(t.comma)&&((i=l())?n.push(i):e=r)),n}function l(){var t,e,n=((t=g("shape",/^(circle)/i,0))&&(t.style=y()||u()),t||((e=g("shape",/^(ellipse)/i,0))&&(e.style=v()||u()),e));if(n)n.at=c();else{var r=u();if(r){n=r;var i=c();i&&(n.at=i)}else{var o=h();o&&(n={type:"default-radial",at:o})}}return n}function u(){return g("extent-keyword",t.extentKeywords,1)}function c(){if(g("position",/^at/,0)){var t=h();return t||n("Missing positioning value"),t}}function h(){var t={x:v(),y:v()};if(t.x||t.y)return{type:"position",value:t}}function p(e){var r=e(),i=[];if(r)for(i.push(r);m(t.comma);)(r=e())?i.push(r):n("One extra comma");return i}function d(){var e=g("hex",t.hexColor,1)||o(t.rgbaColor,function(){return{type:"rgba",value:p(f)}})||o(t.rgbColor,function(){return{type:"rgb",value:p(f)}})||g("literal",t.literalColor,0);return e||n("Expected color definition"),e.length=v(),e}function f(){return m(t.number)[1]}function v(){return g("%",t.percentageValue,1)||g("position-keyword",t.positionKeywords,1)||y()}function y(){return g("px",t.pixelValue,1)||g("em",t.emValue,1)}function g(t,e,n){var r=m(e);if(r)return{type:t,value:r[n]}}function m(t){var n=/^[\n\r\t\s]+/.exec(e);n&&E(n[0].length);var r=t.exec(e);return r&&E(r[0].length),r}function E(t){e=e.substring(t)}return function(t){var i;return e=t,i=p(r),e.length>0&&n("Invalid input not EOF"),i}}(),em=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,eE=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,ex=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,eb=/[\d.]+:(#[^\s]+|[^\)]+\))/gi,eT={left:180,top:-90,bottom:90,right:0,"left top":225,"top left":225,"left bottom":135,"bottom left":135,"right top":-45,"top right":-45,"right bottom":45,"bottom right":45},eP=t$(function(t){return ev("angular"===t.type?Number(t.value):eT[t.value]||0,"deg")}),eS=t$(function(t){var e=50,n=50,r="%",i="%";if((null==t?void 0:t.type)==="position"){var o=t.value,a=o.x,s=o.y;(null==a?void 0:a.type)==="position-keyword"&&("left"===a.value?e=0:"center"===a.value?e=50:"right"===a.value?e=100:"top"===a.value?n=0:"bottom"===a.value&&(n=100)),(null==s?void 0:s.type)==="position-keyword"&&("left"===s.value?e=0:"center"===s.value?n=50:"right"===s.value?e=100:"top"===s.value?n=0:"bottom"===s.value&&(n=100)),((null==a?void 0:a.type)==="px"||(null==a?void 0:a.type)==="%"||(null==a?void 0:a.type)==="em")&&(r=null==a?void 0:a.type,e=Number(a.value)),((null==s?void 0:s.type)==="px"||(null==s?void 0:s.type)==="%"||(null==s?void 0:s.type)==="em")&&(i=null==s?void 0:s.type,n=Number(s.value))}return{cx:ev(e,r),cy:ev(n,i)}}),eN=t$(function(t){if(t.indexOf("linear")>-1||t.indexOf("radial")>-1){var e;return eg(t).map(function(t){var e=t.type,n=t.orientation,r=t.colorStops;!function(t){var e,n,r,i=t.length;t[i-1].length=null!==(e=t[i-1].length)&&void 0!==e?e:{type:"%",value:"100"},i>1&&(t[0].length=null!==(n=t[0].length)&&void 0!==n?n:{type:"%",value:"0"});for(var o=0,a=Number(t[0].length.value),s=1;s=0)return ev(Number(e),"px");if("deg".search(t)>=0)return ev(Number(e),"deg")}var n=[];e=e.replace(t,function(t){return n.push(t),"U"+t});var r="U("+t.source+")";return n.map(function(t){return ev(Number(e.replace(RegExp("U"+t,"g"),"").replace(RegExp(r,"g"),"*0")),t)})[0]}var eA=function(t){return eR(/px/g,t)},eO=t$(eA);t$(function(t){return eR(RegExp("%","g"),t)});var eI=function(t){return(0,te.Z)(t)||isFinite(Number(t))?ev(Number(t)||0,"px"):eR(RegExp("px|%|em|rem","g"),t)},eL=t$(eI),eD=function(t){return eR(RegExp("deg|rad|grad|turn","g"),t)},eG=t$(eD);function eB(t){var e=0;return t.unit===L.kDegrees?e=t.value:t.unit===L.kRadians?e=tL(Number(t.value)):t.unit===L.kTurns&&(e=360*Number(t.value)),e}function eF(t,e){var n;return(Array.isArray(t)?n=t.map(function(t){return Number(t)}):(0,tr.Z)(t)?n=t.split(" ").map(function(t){return Number(t)}):(0,te.Z)(t)&&(n=[t]),2===e)?1===n.length?[n[0],n[0]]:[n[0],n[1]]:1===n.length?[n[0],n[0],n[0],n[0]]:2===n.length?[n[0],n[1],n[0],n[1]]:3===n.length?[n[0],n[1],n[2],n[1]]:[n[0],n[1],n[2],n[3]]}function e_(t){return(0,tr.Z)(t)?t.split(" ").map(function(t){return eL(t)}):t.map(function(t){return eL(t.toString())})}function eU(t,e,n,r){if(void 0===r&&(r=!1),t.unit===L.kPixels)return Number(t.value);if(t.unit===L.kPercentage&&n){var i=n.nodeName===k.GROUP?n.getLocalBounds():n.getGeometryBounds();return(r?i.min[e]:0)+t.value/100*i.halfExtents[e]*2}return 0}var eV=["blur","brightness","drop-shadow","contrast","grayscale","sepia","saturate","hue-rotate","invert"];function eZ(t){if(void 0===t&&(t=""),"none"===(t=t.toLowerCase().trim()))return[];for(var e,n=/\s*([\w-]+)\(([^)]*)\)/g,r=[],i=0;(e=n.exec(t))&&e.index===i;)if(i=e.index+e[0].length,eV.indexOf(e[1])>-1&&r.push({name:e[1],params:e[2].split(" ").map(function(t){return eR(/deg|rad|grad|turn|px|%/g,t)||ek(t)})}),n.lastIndex===t.length)return r;return[]}function eY(t){return t.toString()}var ez=function(t){return"number"==typeof t?ev(t):/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t)?ev(Number(t)):ev(0)},eX=t$(ez);function ej(t,e){return[t,e,eY]}function eW(t,e){return function(n,r){return[n,r,function(n){return eY((0,ti.Z)(n,t,e))}]}}function eH(t,e){if(t.length===e.length)return[t,e,function(t){return t}]}function eq(t){return 0===t.parsedStyle.d.totalLength&&(t.parsedStyle.d.totalLength=(0,to.D)(t.parsedStyle.d.absolutePath)),t.parsedStyle.d.totalLength}function eK(t,e){return t[0]===e[0]&&t[1]===e[1]}function eJ(t,e){var n=t.prePoint,r=t.currentPoint,i=t.nextPoint,o=Math.pow(r[0]-n[0],2)+Math.pow(r[1]-n[1],2),a=Math.pow(r[0]-i[0],2)+Math.pow(r[1]-i[1],2),s=Math.acos((o+a-(Math.pow(n[0]-i[0],2)+Math.pow(n[1]-i[1],2)))/(2*Math.sqrt(o)*Math.sqrt(a)));if(!s||0===Math.sin(s)||(0,tl.Z)(s,0))return{xExtra:0,yExtra:0};var l=Math.abs(Math.atan2(i[1]-r[1],i[0]-r[0])),u=Math.abs(Math.atan2(i[0]-r[0],i[1]-r[1]));return{xExtra:Math.cos(s/2-(l=l>Math.PI/2?Math.PI-l:l))*(e/2*(1/Math.sin(s/2)))-e/2||0,yExtra:Math.cos((u=u>Math.PI/2?Math.PI-u:u)-s/2)*(e/2*(1/Math.sin(s/2)))-e/2||0}}function e$(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}t$(function(t){return(0,tr.Z)(t)?t.split(" ").map(eX):t.map(eX)});var eQ=function(t,e){var n=t.x*e.x+t.y*e.y,r=Math.sqrt((Math.pow(t.x,2)+Math.pow(t.y,2))*(Math.pow(e.x,2)+Math.pow(e.y,2)));return(t.x*e.y-t.y*e.x<0?-1:1)*Math.acos(n/r)},e0=function(t,e,n,r,i,o,a,s){e=Math.abs(e),n=Math.abs(n);var l=tI(r=(0,tu.Z)(r,360));if(t.x===a.x&&t.y===a.y)return{x:t.x,y:t.y,ellipticalArcAngle:0};if(0===e||0===n)return{x:0,y:0,ellipticalArcAngle:0};var u=(t.x-a.x)/2,c=(t.y-a.y)/2,h={x:Math.cos(l)*u+Math.sin(l)*c,y:-Math.sin(l)*u+Math.cos(l)*c},p=Math.pow(h.x,2)/Math.pow(e,2)+Math.pow(h.y,2)/Math.pow(n,2);p>1&&(e=Math.sqrt(p)*e,n=Math.sqrt(p)*n);var d=(Math.pow(e,2)*Math.pow(n,2)-Math.pow(e,2)*Math.pow(h.y,2)-Math.pow(n,2)*Math.pow(h.x,2))/(Math.pow(e,2)*Math.pow(h.y,2)+Math.pow(n,2)*Math.pow(h.x,2)),f=(i!==o?1:-1)*Math.sqrt(d=d<0?0:d),v={x:f*(e*h.y/n),y:f*(-(n*h.x)/e)},y={x:Math.cos(l)*v.x-Math.sin(l)*v.y+(t.x+a.x)/2,y:Math.sin(l)*v.x+Math.cos(l)*v.y+(t.y+a.y)/2},g={x:(h.x-v.x)/e,y:(h.y-v.y)/n},m=eQ({x:1,y:0},g),E=eQ(g,{x:(-h.x-v.x)/e,y:(-h.y-v.y)/n});!o&&E>0?E-=2*Math.PI:o&&E<0&&(E+=2*Math.PI);var x=m+(E%=2*Math.PI)*s,b=e*Math.cos(x),T=n*Math.sin(x);return{x:Math.cos(l)*b-Math.sin(l)*T+y.x,y:Math.sin(l)*b+Math.cos(l)*T+y.y,ellipticalArcStartAngle:m,ellipticalArcEndAngle:m+E,ellipticalArcAngle:x,ellipticalArcCenter:y,resultantRx:e,resultantRy:n}};function e1(t,e,n){void 0===n&&(n=!0);var r=t.arcParams,i=r.rx,o=void 0===i?0:i,a=r.ry,s=void 0===a?0:a,l=r.xRotation,u=r.arcFlag,c=r.sweepFlag,h=e0({x:t.prePoint[0],y:t.prePoint[1]},o,s,l,!!u,!!c,{x:t.currentPoint[0],y:t.currentPoint[1]},e),p=e0({x:t.prePoint[0],y:t.prePoint[1]},o,s,l,!!u,!!c,{x:t.currentPoint[0],y:t.currentPoint[1]},n?e+.005:e-.005),d=p.x-h.x,f=p.y-h.y,v=Math.sqrt(d*d+f*f);return{x:-d/v,y:-f/v}}function e2(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function e3(t,e){return e2(t)*e2(e)?(t[0]*e[0]+t[1]*e[1])/(e2(t)*e2(e)):1}function e5(t,e){return(t[0]*e[1]0&&n.push(r),{polygons:e,polylines:n}}(e),i=r.polygons,o=r.polylines,a=function(t){for(var e=[],n=null,r=null,i=null,o=0,a=t.length,s=0;s1&&(n*=Math.sqrt(d),r*=Math.sqrt(d));var f=n*n*(p*p)+r*r*(h*h),v=f?Math.sqrt((n*n*(r*r)-f)/f):1;o===a&&(v*=-1),isNaN(v)&&(v=0);var y=r?v*n*p/r:0,g=n?-(v*r)*h/n:0,m=(s+u)/2+Math.cos(i)*y-Math.sin(i)*g,E=(l+c)/2+Math.sin(i)*y+Math.cos(i)*g,x=[(h-y)/n,(p-g)/r],b=[(-1*h-y)/n,(-1*p-g)/r],T=e5([1,0],x),P=e5(x,b);return -1>=e3(x,b)&&(P=Math.PI),e3(x,b)>=1&&(P=0),0===a&&P>0&&(P-=2*Math.PI),1===a&&P<0&&(P+=2*Math.PI),{cx:m,cy:E,rx:eK(t,[u,c])?0:n,ry:eK(t,[u,c])?0:r,startAngle:T,endAngle:T+P,xRotation:i,arcFlag:o,sweepFlag:a}}(n,l);c.arcParams=h}if("Z"===u)n=i,r=t[o+1];else{var p=l.length;n=[l[p-2],l[p-1]]}r&&"Z"===r[0]&&(r=t[o],e[o]&&(e[o].prePoint=n)),c.currentPoint=n,e[o]&&eK(n,e[o].currentPoint)&&(e[o].prePoint=c.prePoint);var d=r?[r[r.length-2],r[r.length-1]]:null;c.nextPoint=d;var f=c.prePoint;if(["L","H","V"].includes(u))c.startTangent=[f[0]-n[0],f[1]-n[1]],c.endTangent=[n[0]-f[0],n[1]-f[1]];else if("Q"===u){var v=[l[1],l[2]];c.startTangent=[f[0]-v[0],f[1]-v[1]],c.endTangent=[n[0]-v[0],n[1]-v[1]]}else if("T"===u){var y=e[s-1],v=e$(y.currentPoint,f);"Q"===y.command?(c.command="Q",c.startTangent=[f[0]-v[0],f[1]-v[1]],c.endTangent=[n[0]-v[0],n[1]-v[1]]):(c.command="TL",c.startTangent=[f[0]-n[0],f[1]-n[1]],c.endTangent=[n[0]-f[0],n[1]-f[1]])}else if("C"===u){var g=[l[1],l[2]],m=[l[3],l[4]];c.startTangent=[f[0]-g[0],f[1]-g[1]],c.endTangent=[n[0]-m[0],n[1]-m[1]],0===c.startTangent[0]&&0===c.startTangent[1]&&(c.startTangent=[g[0]-m[0],g[1]-m[1]]),0===c.endTangent[0]&&0===c.endTangent[1]&&(c.endTangent=[m[0]-g[0],m[1]-g[1]])}else if("S"===u){var y=e[s-1],g=e$(y.currentPoint,f),m=[l[1],l[2]];"C"===y.command?(c.command="C",c.startTangent=[f[0]-g[0],f[1]-g[1]],c.endTangent=[n[0]-m[0],n[1]-m[1]]):(c.command="SQ",c.startTangent=[f[0]-m[0],f[1]-m[1]],c.endTangent=[n[0]-m[0],n[1]-m[1]])}else if("A"===u){var E=e1(c,0),x=E.x,b=E.y,T=e1(c,1,!1),P=T.x,S=T.y;c.startTangent=[x,b],c.endTangent=[P,S]}e.push(c)}return e}(e),s=function(t,e){for(var n=[],r=[],i=[],o=0;oMath.abs(K.determinant(tF))))){var a=tB[3],s=tB[7],l=tB[11],u=tB[12],c=tB[13],h=tB[14],p=tB[15];if(0!==a||0!==s||0!==l){if(t_[0]=a,t_[1]=s,t_[2]=l,t_[3]=p,!K.invert(tF,tF))return;K.transpose(tF,tF),$.fF(i,t_,tF)}else i[0]=i[1]=i[2]=0,i[3]=1;if(e[0]=u,e[1]=c,e[2]=h,tU[0][0]=tB[0],tU[0][1]=tB[1],tU[0][2]=tB[2],tU[1][0]=tB[4],tU[1][1]=tB[5],tU[1][2]=tB[6],tU[2][0]=tB[8],tU[2][1]=tB[9],tU[2][2]=tB[10],n[0]=q.kE(tU[0]),q.Fv(tU[0],tU[0]),r[0]=q.AK(tU[0],tU[1]),tZ(tU[1],tU[1],tU[0],1,-r[0]),n[1]=q.kE(tU[1]),q.Fv(tU[1],tU[1]),r[0]/=n[1],r[1]=q.AK(tU[0],tU[2]),tZ(tU[2],tU[2],tU[0],1,-r[1]),r[2]=q.AK(tU[1],tU[2]),tZ(tU[2],tU[2],tU[1],1,-r[2]),n[2]=q.kE(tU[2]),q.Fv(tU[2],tU[2]),r[1]/=n[2],r[2]/=n[2],q.kC(tV,tU[1],tU[2]),0>q.AK(tU[0],tV))for(var d=0;d<3;d++)n[d]*=-1,tU[d][0]*=-1,tU[d][1]*=-1,tU[d][2]*=-1;o[0]=.5*Math.sqrt(Math.max(1+tU[0][0]-tU[1][1]-tU[2][2],0)),o[1]=.5*Math.sqrt(Math.max(1-tU[0][0]+tU[1][1]-tU[2][2],0)),o[2]=.5*Math.sqrt(Math.max(1-tU[0][0]-tU[1][1]+tU[2][2],0)),o[3]=.5*Math.sqrt(Math.max(1+tU[0][0]+tU[1][1]+tU[2][2],0)),tU[2][1]>tU[1][2]&&(o[0]=-o[0]),tU[0][2]>tU[2][0]&&(o[1]=-o[1]),tU[1][0]>tU[0][1]&&(o[2]=-o[2])}}(0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(na).reduce(ns),e,n,r,i,o),[[e,n,r,o,i]]}var nu=function(){function t(t,e){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=e[r][o]*t[o][i];return n}return function(e,n,r,i,o){for(var a,s=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],l=0;l<4;l++)s[l][3]=o[l];for(var l=0;l<3;l++)for(var u=0;u<3;u++)s[3][l]+=e[u]*s[u][l];var c=i[0],h=i[1],p=i[2],d=i[3],f=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];f[0][0]=1-2*(h*h+p*p),f[0][1]=2*(c*h-p*d),f[0][2]=2*(c*p+h*d),f[1][0]=2*(c*h+p*d),f[1][1]=1-2*(c*c+p*p),f[1][2]=2*(h*p-c*d),f[2][0]=2*(c*p-h*d),f[2][1]=2*(h*p+c*d),f[2][2]=1-2*(c*c+h*h),s=t(s,f);var v=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];r[2]&&(v[2][1]=r[2],s=t(s,v)),r[1]&&(v[2][1]=0,v[2][0]=r[0],s=t(s,v)),r[0]&&(v[2][0]=0,v[1][0]=r[0],s=t(s,v));for(var l=0;l<3;l++)for(var u=0;u<3;u++)s[l][u]*=n[l];return 0==(a=s)[0][2]&&0==a[0][3]&&0==a[1][2]&&0==a[1][3]&&0==a[2][0]&&0==a[2][1]&&1==a[2][2]&&0==a[2][3]&&0==a[3][2]&&1==a[3][3]?[s[0][0],s[0][1],s[1][0],s[1][1],s[3][0],s[3][1]]:s[0].concat(s[1],s[2],s[3])}}();function nc(t){return t.toFixed(6).replace(".000000","")}function nh(t,e){var n,r;return(t.decompositionPair!==e&&(t.decompositionPair=e,n=nl(t)),e.decompositionPair!==t&&(e.decompositionPair=t,r=nl(e)),null===n[0]||null===r[0])?[[!1],[!0],function(n){return n?e[0].d:t[0].d}]:(n[0].push(0),r[0].push(1),[n,r,function(t){var e=function(t,e,n){var r=function(t,e){for(var n=0,r=0;r"].calculator(null,null,{value:e.textTransform},t,null),(0,tg.Z)(e.clipPath)||this.runtime.CSSPropertySyntaxFactory[""].calculator("clipPath",p,e.clipPath,t,this.runtime),e.offsetPath&&this.runtime.CSSPropertySyntaxFactory[""].calculator("offsetPath",d,e.offsetPath,t,this.runtime),e.transform&&(t.parsedStyle.transform=ni(e.transform)),e.transformOrigin&&(t.parsedStyle.transformOrigin=nv(e.transformOrigin)),e.markerStart&&(t.parsedStyle.markerStart=this.runtime.CSSPropertySyntaxFactory[""].calculator(null,e.markerStart,e.markerStart,null,null)),e.markerEnd&&(t.parsedStyle.markerEnd=this.runtime.CSSPropertySyntaxFactory[""].calculator(null,e.markerEnd,e.markerEnd,null,null)),e.markerMid&&(t.parsedStyle.markerMid=this.runtime.CSSPropertySyntaxFactory[""].calculator("",e.markerMid,e.markerMid,null,null)),(0,tn.Z)(e.zIndex)||this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),(0,tn.Z)(e.offsetDistance)||this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),e.transform&&this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),e.transformOrigin&&this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),f&&(t.geometry.dirty=!0,t.renderable.boundsDirty=!0,t.renderable.renderBoundsDirty=!0,n.forceUpdateGeometry||this.runtime.sceneGraphService.dirtifyToRoot(t))}},t.prototype.parseProperty=function(t,e,n,r){var i=nx[t],o=e;if((""===e||(0,tn.Z)(e))&&(e="unset"),"unset"===e||"initial"===e||"inherit"===e)o=eh(e);else if(i){var a=i.k,s=i.syntax,l=s&&this.getPropertySyntax(s);a&&a.indexOf(e)>-1?o=eh(e):l&&(!r&&l.parserUnmemoize?o=l.parserUnmemoize(e,n):l.parser&&(o=l.parser(e,n)))}return o},t.prototype.computeProperty=function(t,e,n,r){var i=nx[t],o="g-root"===n.id,a=e;if(i){var s=i.syntax,l=i.inh,u=i.d;if(e instanceof t8){var c=e.value;if("unset"===c&&(c=l&&!o?"inherit":"initial"),"initial"===c)(0,tn.Z)(u)||(e=this.parseProperty(t,et(u)?u(n.nodeName):u,n,r));else if("inherit"===c){var h=this.tryToResolveProperty(n,t,{inherited:!0});return(0,tn.Z)(h)?void this.addUnresolveProperty(n,t):h}}var p=s&&this.getPropertySyntax(s);if(p&&p.calculator){var d=n.parsedStyle[t];a=p.calculator(t,d,e,n,this.runtime)}else a=e instanceof t8?e.value:e}return a},t.prototype.postProcessProperty=function(t,e,n){var r=nx[t];if(r&&r.syntax){var i=r.syntax&&this.getPropertySyntax(r.syntax);i&&i.postProcessor&&i.postProcessor(e,n)}},t.prototype.addUnresolveProperty=function(t,e){var n=nb.get(t);n||(nb.set(t,[]),n=nb.get(t)),-1===n.indexOf(e)&&n.push(e)},t.prototype.tryToResolveProperty=function(t,e,n){if(void 0===n&&(n={}),n.inherited&&t.parentElement&&nT(t.parentElement,e)){var r=t.parentElement.parsedStyle[e];if("unset"!==r&&"initial"!==r&&"inherit"!==r)return r}},t.prototype.recalc=function(t){var e=nb.get(t);if(e&&e.length){var n={};e.forEach(function(e){n[e]=t.attributes[e]}),this.processProperties(t,n),nb.delete(t)}},t.prototype.updateGeometry=function(t){var e=t.nodeName,n=this.runtime.geometryUpdaterFactory[e];if(n){var r=t.geometry;r.contentBounds||(r.contentBounds=new tY),r.renderBounds||(r.renderBounds=new tY);var i=t.parsedStyle,o=n.update(i,t),a=o.cx,s=o.cy,l=o.cz,u=o.hwidth,c=void 0===u?0:u,h=o.hheight,p=void 0===h?0:h,d=o.hdepth,f=[Math.abs(c),Math.abs(p),void 0===d?0:d],v=i.stroke,y=i.lineWidth,g=i.increasedLineWidthForHitTesting,m=i.shadowType,E=void 0===m?"outer":m,x=i.shadowColor,b=i.filter,T=i.transformOrigin,P=[void 0===a?0:a,void 0===s?0:s,void 0===l?0:l];r.contentBounds.update(P,f);var S=e===k.POLYLINE||e===k.POLYGON||e===k.PATH?Math.SQRT2:.5;if(v&&!v.isNone){var N=(((void 0===y?1:y)||0)+((void 0===g?0:g)||0))*S;f[0]+=N,f[1]+=N}if(r.renderBounds.update(P,f),x&&E&&"inner"!==E){var C=r.renderBounds,w=C.min,M=C.max,R=i.shadowBlur,A=i.shadowOffsetX,O=i.shadowOffsetY,I=R||0,L=A||0,D=O||0,G=w[0]-I+L,B=M[0]+I+L,F=w[1]-I+D,_=M[1]+I+D;w[0]=Math.min(w[0],G),M[0]=Math.max(M[0],B),w[1]=Math.min(w[1],F),M[1]=Math.max(M[1],_),r.renderBounds.setMinMax(w,M)}(void 0===b?[]:b).forEach(function(t){var e=t.name,n=t.params;if("blur"===e){var i=n[0].value;r.renderBounds.update(r.renderBounds.center,tM(r.renderBounds.halfExtents,r.renderBounds.halfExtents,[i,i,0]))}else if("drop-shadow"===e){var o=n[0].value,a=n[1].value,s=n[2].value,l=r.renderBounds,u=l.min,c=l.max,h=u[0]-s+o,p=c[0]+s+o,d=u[1]-s+a,f=c[1]+s+a;u[0]=Math.min(u[0],h),c[0]=Math.max(c[0],p),u[1]=Math.min(u[1],d),c[1]=Math.max(c[1],f),r.renderBounds.setMinMax(u,c)}}),t.geometry.dirty=!1;var U=p<0,V=(c<0?-1:1)*(T?eU(T[0],0,t,!0):0),Z=(U?-1:1)*(T?eU(T[1],1,t,!0):0);(V||Z)&&t.setOrigin(V,Z)}},t.prototype.updateSizeAttenuation=function(t,e){t.style.isSizeAttenuation?(t.style.rawLineWidth||(t.style.rawLineWidth=t.style.lineWidth),t.style.lineWidth=(t.style.rawLineWidth||1)/e,t.nodeName===k.CIRCLE&&(t.style.rawR||(t.style.rawR=t.style.r),t.style.r=(t.style.rawR||1)/e)):(t.style.rawLineWidth&&(t.style.lineWidth=t.style.rawLineWidth,delete t.style.rawLineWidth),t.nodeName===k.CIRCLE&&t.style.rawR&&(t.style.r=t.style.rawR,delete t.style.rawR))},t.prototype.isPropertyInheritable=function(t){var e=nx[t];return!!e&&e.inh},t}(),nS=function(){function t(){this.parser=eG,this.parserUnmemoize=eD,this.parserWithCSSDisabled=null,this.mixer=ej}return t.prototype.calculator=function(t,e,n,r){return eB(n)},t}(),nN=function(){function t(){}return t.prototype.calculator=function(t,e,n,r,i){return n instanceof t8&&(n=null),i.sceneGraphService.updateDisplayObjectDependency(t,e,n,r),"clipPath"===t&&r.forEach(function(t){0===t.childNodes.length&&i.sceneGraphService.dirtifyToRoot(t)}),n},t}(),nC=function(){function t(){this.parser=ek,this.parserWithCSSDisabled=ek,this.mixer=eM}return t.prototype.calculator=function(t,e,n,r){return n instanceof t8?"none"===n.value?ep:ed:n},t}(),nw=function(){function t(){this.parser=eZ}return t.prototype.calculator=function(t,e,n){return n instanceof t8?[]:n},t}();function nk(t){var e=t.parsedStyle.fontSize;return(0,tn.Z)(e)?null:e}var nM=function(){function t(){this.parser=eL,this.parserUnmemoize=eI,this.parserWithCSSDisabled=null,this.mixer=ej}return t.prototype.calculator=function(t,e,n,r,i){if((0,te.Z)(n))return n;if(!eo.isRelativeUnit(n.unit))return n.value;var o,a=i.styleValueRegistry;if(n.unit===L.kPercentage)return 0;if(n.unit===L.kEms){if(r.parentNode){var s=nk(r.parentNode);if(s)return s*n.value;a.addUnresolveProperty(r,t)}else a.addUnresolveProperty(r,t);return 0}if(n.unit===L.kRems){if(null===(o=null==r?void 0:r.ownerDocument)||void 0===o?void 0:o.documentElement){var s=nk(r.ownerDocument.documentElement);if(s)return s*n.value;a.addUnresolveProperty(r,t)}else a.addUnresolveProperty(r,t);return 0}},t}(),nR=function(){function t(){this.mixer=eH}return t.prototype.parser=function(t){var e=e_((0,te.Z)(t)?[t]:t);return 1===e.length?[e[0],e[0]]:[e[0],e[1]]},t.prototype.calculator=function(t,e,n){return n.map(function(t){return t.value})},t}(),nA=function(){function t(){this.mixer=eH}return t.prototype.parser=function(t){var e=e_((0,te.Z)(t)?[t]:t);return 1===e.length?[e[0],e[0],e[0],e[0]]:2===e.length?[e[0],e[1],e[0],e[1]]:3===e.length?[e[0],e[1],e[2],e[1]]:[e[0],e[1],e[2],e[3]]},t.prototype.calculator=function(t,e,n){return n.map(function(t){return t.value})},t}(),nO=function(){function t(){}return t.prototype.calculator=function(t,e,n,r){n instanceof t8&&(n=null);var i=null==n?void 0:n.cloneNode(!0);return i&&(i.style.isMarker=!0),i},t}(),nI=function(){function t(){this.mixer=ej,this.parser=eX,this.parserUnmemoize=ez,this.parserWithCSSDisabled=null}return t.prototype.calculator=function(t,e,n){return n.value},t}(),nL=function(){function t(){this.parser=eX,this.parserUnmemoize=ez,this.parserWithCSSDisabled=null,this.mixer=eW(0,1)}return t.prototype.calculator=function(t,e,n){return n.value},t.prototype.postProcessor=function(t){var e=t.parsedStyle,n=e.offsetPath,r=e.offsetDistance;if(n){var i=n.nodeName;if(i===k.LINE||i===k.PATH||i===k.POLYLINE){var o=n.getPoint(r);o&&t.setLocalPosition(o.x,o.y)}}},t}(),nD=function(){function t(){this.parser=eX,this.parserUnmemoize=ez,this.parserWithCSSDisabled=null,this.mixer=eW(0,1)}return t.prototype.calculator=function(t,e,n){return n.value},t}(),nG=function(){function t(){this.parser=e8,this.parserWithCSSDisabled=e8,this.mixer=e6}return t.prototype.calculator=function(t,e,n){return n instanceof t8&&"unset"===n.value?{absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new tW(0,0,0,0)}:n},t}(),nB=function(t){function e(){var e=t.apply(this,(0,W.ev)([],(0,W.CR)(arguments),!1))||this;return e.mixer=eW(0,1/0),e}return(0,W.ZT)(e,t),e}(nM),nF=function(){function t(){}return t.prototype.calculator=function(t,e,n,r){return n instanceof t8?"unset"===n.value?"":n.value:"".concat(n)},t.prototype.postProcessor=function(t){t.nodeValue="".concat(t.parsedStyle.text)||""},t}(),n_=function(){function t(){}return t.prototype.calculator=function(t,e,n,r){var i=r.getAttribute("text");if(i){var o=i;"capitalize"===n.value?o=i.charAt(0).toUpperCase()+i.slice(1):"lowercase"===n.value?o=i.toLowerCase():"uppercase"===n.value&&(o=i.toUpperCase()),r.parsedStyle.text=o}return n.value},t}(),nU={},nV=0,nZ="undefined"!=typeof window&&void 0!==window.document;function nY(t,e){var n=Number(t.parsedStyle.zIndex||0),r=Number(e.parsedStyle.zIndex||0);if(n===r){var i=t.parentNode;if(i){var o=i.childNodes||[];return o.indexOf(t)-o.indexOf(e)}}return n-r}function nz(t,e){if(nZ)return document.defaultView.getComputedStyle(t,null).getPropertyValue(e)}var nX={touchstart:"pointerdown",touchend:"pointerup",touchendoutside:"pointerupoutside",touchmove:"pointermove",touchcancel:"pointercancel"},nj="object"==typeof performance&&performance.now?performance:Date,nW=1,nH="object"==typeof self&&self.self==self?self:"object"==typeof n.g&&n.g.global==n.g?n.g:{},nq=Date.now(),nK={},nJ=Date.now(),n$=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function");var e=Date.now(),n=e-nJ,r=nW++;return nK[r]=t,Object.keys(nK).length>1||setTimeout(function(){nJ=e;var t=nK;nK={},Object.keys(t).forEach(function(e){return t[e](nH.performance&&"function"==typeof nH.performance.now?nH.performance.now():Date.now()-nq)})},n>16?0:16-n),r},nQ=function(t){return"string"!=typeof t?n$:""===t?nH.requestAnimationFrame:nH[t+"RequestAnimationFrame"]},n0=function(t,e){for(var n=0;void 0!==t[n];){if(e(t[n]))return t[n];n+=1}}(["","webkit","moz","ms","o"],function(t){return!!nQ(t)}),n1=nQ(n0),n2="string"!=typeof n0?function(t){delete nK[t]}:""===n0?nH.cancelAnimationFrame:nH[n0+"CancelAnimationFrame"]||nH[n0+"CancelRequestAnimationFrame"];nH.requestAnimationFrame=n1,nH.cancelAnimationFrame=n2;var n3=function(){function t(){this.callbacks=[]}return t.prototype.getCallbacksNum=function(){return this.callbacks.length},t.prototype.tapPromise=function(t,e){this.callbacks.push(e)},t.prototype.promise=function(){for(var t=[],e=0;e-1){var l=(0,W.CR)(t.split(":"),2),u=l[0];t=l[1],s=u,a=!0}if(t=r?"".concat(t,"capture"):t,e=et(e)?e:e.handleEvent,a){var c=e;e=function(){for(var t,e=[],n=0;n0},e.prototype.isDefaultNamespace=function(t){throw Error(tH)},e.prototype.lookupNamespaceURI=function(t){throw Error(tH)},e.prototype.lookupPrefix=function(t){throw Error(tH)},e.prototype.normalize=function(){throw Error(tH)},e.prototype.isEqualNode=function(t){return this===t},e.prototype.isSameNode=function(t){return this.isEqualNode(t)},Object.defineProperty(e.prototype,"parent",{get:function(){return this.parentNode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentElement",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.childNodes.length>0?this.childNodes[0]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.childNodes.length>0?this.childNodes[this.childNodes.length-1]:null},enumerable:!1,configurable:!0}),e.prototype.compareDocumentPosition=function(t){if(t===this)return 0;for(var n,r=t,i=this,o=[r],a=[i];null!==(n=r.parentNode)&&void 0!==n?n:i.parentNode;)r=r.parentNode?(o.push(r.parentNode),r.parentNode):r,i=i.parentNode?(a.push(i.parentNode),i.parentNode):i;if(r!==i)return e.DOCUMENT_POSITION_DISCONNECTED|e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|e.DOCUMENT_POSITION_PRECEDING;var s=o.length>a.length?o:a,l=s===o?a:o;if(s[s.length-l.length]===l[0])return s===o?e.DOCUMENT_POSITION_CONTAINED_BY|e.DOCUMENT_POSITION_FOLLOWING:e.DOCUMENT_POSITION_CONTAINS|e.DOCUMENT_POSITION_PRECEDING;for(var u=s.length-l.length,c=l.length-1;c>=0;c--){var h=l[c],p=s[u+c];if(p!==h){var d=h.parentNode.childNodes;if(d.indexOf(h)0&&e;)e=e.parentNode,t--;return e},e.prototype.forEach=function(t,e){void 0===e&&(e=!1),t(this)||(e?this.childNodes.slice():this.childNodes).forEach(function(e){e.forEach(t)})},e.DOCUMENT_POSITION_DISCONNECTED=1,e.DOCUMENT_POSITION_PRECEDING=2,e.DOCUMENT_POSITION_FOLLOWING=4,e.DOCUMENT_POSITION_CONTAINS=8,e.DOCUMENT_POSITION_CONTAINED_BY=16,e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32,e}(rm),rx=function(){function t(t,e){var n=this;this.globalRuntime=t,this.context=e,this.emitter=new H.Z,this.nativeHTMLMap=new WeakMap,this.cursor="default",this.mappingTable={},this.mappingState={trackingData:{}},this.eventPool=new Map,this.tmpMatrix=K.create(),this.tmpVec3=q.Ue(),this.onPointerDown=function(t){var e=n.createPointerEvent(t);if(n.dispatchEvent(e,"pointerdown"),"touch"===e.pointerType)n.dispatchEvent(e,"touchstart");else if("mouse"===e.pointerType||"pen"===e.pointerType){var r=2===e.button;n.dispatchEvent(e,r?"rightdown":"mousedown")}n.trackingData(t.pointerId).pressTargetsByButton[t.button]=e.composedPath(),n.freeEvent(e)},this.onPointerUp=function(t){var e,r=nj.now(),i=n.createPointerEvent(t,void 0,void 0,n.context.config.alwaysTriggerPointerEventOnCanvas?n.rootTarget:void 0);if(n.dispatchEvent(i,"pointerup"),"touch"===i.pointerType)n.dispatchEvent(i,"touchend");else if("mouse"===i.pointerType||"pen"===i.pointerType){var o=2===i.button;n.dispatchEvent(i,o?"rightup":"mouseup")}var a=n.trackingData(t.pointerId),s=n.findMountedTarget(a.pressTargetsByButton[t.button]),l=s;if(s&&!i.composedPath().includes(s)){for(var u=s;u&&!i.composedPath().includes(u);){if(i.currentTarget=u,n.notifyTarget(i,"pointerupoutside"),"touch"===i.pointerType)n.notifyTarget(i,"touchendoutside");else if("mouse"===i.pointerType||"pen"===i.pointerType){var o=2===i.button;n.notifyTarget(i,o?"rightupoutside":"mouseupoutside")}rE.isNode(u)&&(u=u.parentNode)}delete a.pressTargetsByButton[t.button],l=u}if(l){var c=n.clonePointerEvent(i,"click");c.target=l,c.path=[],a.clicksByButton[t.button]||(a.clicksByButton[t.button]={clickCount:0,target:c.target,timeStamp:r});var h=a.clicksByButton[t.button];h.target===c.target&&r-h.timeStamp<200?++h.clickCount:h.clickCount=1,h.target=c.target,h.timeStamp=r,c.detail=h.clickCount,(null===(e=i.detail)||void 0===e?void 0:e.preventClick)||(n.context.config.useNativeClickEvent||"mouse"!==c.pointerType&&"touch"!==c.pointerType||n.dispatchEvent(c,"click"),n.dispatchEvent(c,"pointertap")),n.freeEvent(c)}n.freeEvent(i)},this.onPointerMove=function(t){var e=n.createPointerEvent(t,void 0,void 0,n.context.config.alwaysTriggerPointerEventOnCanvas?n.rootTarget:void 0),r="mouse"===e.pointerType||"pen"===e.pointerType,i=n.trackingData(t.pointerId),o=n.findMountedTarget(i.overTargets);if(i.overTargets&&o!==e.target){var a="mousemove"===t.type?"mouseout":"pointerout",s=n.createPointerEvent(t,a,o||void 0);if(n.dispatchEvent(s,"pointerout"),r&&n.dispatchEvent(s,"mouseout"),!e.composedPath().includes(o)){var l=n.createPointerEvent(t,"pointerleave",o||void 0);for(l.eventPhase=l.AT_TARGET;l.target&&!e.composedPath().includes(l.target);)l.currentTarget=l.target,n.notifyTarget(l),r&&n.notifyTarget(l,"mouseleave"),rE.isNode(l.target)&&(l.target=l.target.parentNode);n.freeEvent(l)}n.freeEvent(s)}if(o!==e.target){var u="mousemove"===t.type?"mouseover":"pointerover",c=n.clonePointerEvent(e,u);n.dispatchEvent(c,"pointerover"),r&&n.dispatchEvent(c,"mouseover");for(var h=o&&rE.isNode(o)&&o.parentNode;h&&h!==(rE.isNode(n.rootTarget)&&n.rootTarget.parentNode)&&h!==e.target;)h=h.parentNode;if(!h||h===(rE.isNode(n.rootTarget)&&n.rootTarget.parentNode)){var p=n.clonePointerEvent(e,"pointerenter");for(p.eventPhase=p.AT_TARGET;p.target&&p.target!==o&&p.target!==(rE.isNode(n.rootTarget)&&n.rootTarget.parentNode);)p.currentTarget=p.target,n.notifyTarget(p),r&&n.notifyTarget(p,"mouseenter"),rE.isNode(p.target)&&(p.target=p.target.parentNode);n.freeEvent(p)}n.freeEvent(c)}n.dispatchEvent(e,"pointermove"),"touch"===e.pointerType&&n.dispatchEvent(e,"touchmove"),r&&(n.dispatchEvent(e,"mousemove"),n.cursor=n.getCursor(e.target)),i.overTargets=e.composedPath(),n.freeEvent(e)},this.onPointerOut=function(t){var e=n.trackingData(t.pointerId);if(e.overTargets){var r="mouse"===t.pointerType||"pen"===t.pointerType,i=n.findMountedTarget(e.overTargets),o=n.createPointerEvent(t,"pointerout",i||void 0);n.dispatchEvent(o),r&&n.dispatchEvent(o,"mouseout");var a=n.createPointerEvent(t,"pointerleave",i||void 0);for(a.eventPhase=a.AT_TARGET;a.target&&a.target!==(rE.isNode(n.rootTarget)&&n.rootTarget.parentNode);)a.currentTarget=a.target,n.notifyTarget(a),r&&n.notifyTarget(a,"mouseleave"),rE.isNode(a.target)&&(a.target=a.target.parentNode);e.overTargets=null,n.freeEvent(o),n.freeEvent(a)}n.cursor=null},this.onPointerOver=function(t){var e=n.trackingData(t.pointerId),r=n.createPointerEvent(t),i="mouse"===r.pointerType||"pen"===r.pointerType;n.dispatchEvent(r,"pointerover"),i&&n.dispatchEvent(r,"mouseover"),"mouse"===r.pointerType&&(n.cursor=n.getCursor(r.target));var o=n.clonePointerEvent(r,"pointerenter");for(o.eventPhase=o.AT_TARGET;o.target&&o.target!==(rE.isNode(n.rootTarget)&&n.rootTarget.parentNode);)o.currentTarget=o.target,n.notifyTarget(o),i&&n.notifyTarget(o,"mouseenter"),rE.isNode(o.target)&&(o.target=o.target.parentNode);e.overTargets=r.composedPath(),n.freeEvent(r),n.freeEvent(o)},this.onPointerUpOutside=function(t){var e=n.trackingData(t.pointerId),r=n.findMountedTarget(e.pressTargetsByButton[t.button]),i=n.createPointerEvent(t);if(r){for(var o=r;o;)i.currentTarget=o,n.notifyTarget(i,"pointerupoutside"),"touch"===i.pointerType||("mouse"===i.pointerType||"pen"===i.pointerType)&&n.notifyTarget(i,2===i.button?"rightupoutside":"mouseupoutside"),rE.isNode(o)&&(o=o.parentNode);delete e.pressTargetsByButton[t.button]}n.freeEvent(i)},this.onWheel=function(t){var e=n.createWheelEvent(t);n.dispatchEvent(e),n.freeEvent(e)},this.onClick=function(t){if(n.context.config.useNativeClickEvent){var e=n.createPointerEvent(t);n.dispatchEvent(e),n.freeEvent(e)}},this.onPointerCancel=function(t){var e=n.createPointerEvent(t,void 0,void 0,n.context.config.alwaysTriggerPointerEventOnCanvas?n.rootTarget:void 0);n.dispatchEvent(e),n.freeEvent(e)}}return t.prototype.init=function(){this.rootTarget=this.context.renderingContext.root.parentNode,this.addEventMapping("pointerdown",this.onPointerDown),this.addEventMapping("pointerup",this.onPointerUp),this.addEventMapping("pointermove",this.onPointerMove),this.addEventMapping("pointerout",this.onPointerOut),this.addEventMapping("pointerleave",this.onPointerOut),this.addEventMapping("pointercancel",this.onPointerCancel),this.addEventMapping("pointerover",this.onPointerOver),this.addEventMapping("pointerupoutside",this.onPointerUpOutside),this.addEventMapping("wheel",this.onWheel),this.addEventMapping("click",this.onClick)},t.prototype.destroy=function(){this.emitter.removeAllListeners(),this.mappingTable={},this.mappingState={},this.eventPool.clear()},t.prototype.getScale=function(){var t=this.context.contextService.getBoundingClientRect(),e=1,n=1,r=this.context.contextService.getDomElement();if(r&&t){var i=r.offsetWidth,o=r.offsetHeight;i&&o&&(e=t.width/i,n=t.height/o)}return{scaleX:e,scaleY:n,bbox:t}},t.prototype.client2Viewport=function(t){var e=this.getScale(),n=e.scaleX,r=e.scaleY,i=e.bbox;return new tj((t.x-((null==i?void 0:i.left)||0))/n,(t.y-((null==i?void 0:i.top)||0))/r)},t.prototype.viewport2Client=function(t){var e=this.getScale(),n=e.scaleX,r=e.scaleY,i=e.bbox;return new tj((t.x+((null==i?void 0:i.left)||0))*n,(t.y+((null==i?void 0:i.top)||0))*r)},t.prototype.viewport2Canvas=function(t){var e=t.x,n=t.y,r=this.rootTarget.defaultView.getCamera(),i=this.context.config,o=i.width,a=i.height,s=r.getPerspectiveInverse(),l=r.getWorldTransform(),u=K.multiply(this.tmpMatrix,l,s),c=q.t8(this.tmpVec3,e/o*2-1,(1-n/a)*2-1,0);return q.fF(c,c,u),new tj(c[0],c[1])},t.prototype.canvas2Viewport=function(t){var e=this.rootTarget.defaultView.getCamera(),n=e.getPerspective(),r=e.getViewTransform(),i=K.multiply(this.tmpMatrix,n,r),o=q.t8(this.tmpVec3,t.x,t.y,0);q.fF(this.tmpVec3,this.tmpVec3,i);var a=this.context.config,s=a.width,l=a.height;return new tj((o[0]+1)/2*s,(1-(o[1]+1)/2)*l)},t.prototype.setPickHandler=function(t){this.pickHandler=t},t.prototype.addEventMapping=function(t,e){this.mappingTable[t]||(this.mappingTable[t]=[]),this.mappingTable[t].push({fn:e,priority:0}),this.mappingTable[t].sort(function(t,e){return t.priority-e.priority})},t.prototype.mapEvent=function(t){if(this.rootTarget){var e=this.mappingTable[t.type];if(e)for(var n=0,r=e.length;n=1;r--)if(t.currentTarget=n[r],this.notifyTarget(t,e),t.propagationStopped||t.propagationImmediatelyStopped)return;if(t.eventPhase=t.AT_TARGET,t.currentTarget=t.target,this.notifyTarget(t,e),!t.propagationStopped&&!t.propagationImmediatelyStopped){var i=n.indexOf(t.currentTarget);t.eventPhase=t.BUBBLING_PHASE;for(var r=i+1;ri||n>o?null:!a&&this.pickHandler(t)||this.rootTarget||null},t.prototype.isNativeEventFromCanvas=function(t,e){var n=null==e?void 0:e.target;if((null==n?void 0:n.shadowRoot)&&(n=e.composedPath()[0]),n){if(n===t)return!0;if(t&&t.contains)return t.contains(n)}return null!=e&&!!e.composedPath&&e.composedPath().indexOf(t)>-1},t.prototype.getExistedHTML=function(t){var e,n;if(t.nativeEvent.composedPath)try{for(var r=(0,W.XA)(t.nativeEvent.composedPath()),i=r.next();!i.done;i=r.next()){var o=i.value,a=this.nativeHTMLMap.get(o);if(a)return a}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype.pickTarget=function(t){return this.hitTest({clientX:t.clientX,clientY:t.clientY,viewportX:t.viewportX,viewportY:t.viewportY,x:t.canvasX,y:t.canvasY})},t.prototype.createPointerEvent=function(t,e,n,r){var i=this.allocateEvent(rv);this.copyPointerData(t,i),this.copyMouseData(t,i),this.copyData(t,i),i.nativeEvent=t.nativeEvent,i.originalEvent=t;var o=this.getExistedHTML(i),a=this.context.contextService.getDomElement();return i.target=null!=n?n:o||this.isNativeEventFromCanvas(a,i.nativeEvent)&&this.pickTarget(i)||r,"string"==typeof e&&(i.type=e),i},t.prototype.createWheelEvent=function(t){var e=this.allocateEvent(ry);this.copyWheelData(t,e),this.copyMouseData(t,e),this.copyData(t,e),e.nativeEvent=t.nativeEvent,e.originalEvent=t;var n=this.getExistedHTML(e),r=this.context.contextService.getDomElement();return e.target=n||this.isNativeEventFromCanvas(r,e.nativeEvent)&&this.pickTarget(e),e},t.prototype.trackingData=function(t){return this.mappingState.trackingData[t]||(this.mappingState.trackingData[t]={pressTargetsByButton:{},clicksByButton:{},overTarget:null}),this.mappingState.trackingData[t]},t.prototype.cloneWheelEvent=function(t){var e=this.allocateEvent(ry);return e.nativeEvent=t.nativeEvent,e.originalEvent=t.originalEvent,this.copyWheelData(t,e),this.copyMouseData(t,e),this.copyData(t,e),e.target=t.target,e.path=t.composedPath().slice(),e.type=t.type,e},t.prototype.clonePointerEvent=function(t,e){var n=this.allocateEvent(rv);return n.nativeEvent=t.nativeEvent,n.originalEvent=t.originalEvent,this.copyPointerData(t,n),this.copyMouseData(t,n),this.copyData(t,n),n.target=t.target,n.path=t.composedPath().slice(),n.type=null!=e?e:n.type,n},t.prototype.copyPointerData=function(t,e){e.pointerId=t.pointerId,e.width=t.width,e.height=t.height,e.isPrimary=t.isPrimary,e.pointerType=t.pointerType,e.pressure=t.pressure,e.tangentialPressure=t.tangentialPressure,e.tiltX=t.tiltX,e.tiltY=t.tiltY,e.twist=t.twist},t.prototype.copyMouseData=function(t,e){e.altKey=t.altKey,e.button=t.button,e.buttons=t.buttons,e.ctrlKey=t.ctrlKey,e.metaKey=t.metaKey,e.shiftKey=t.shiftKey,e.client.copyFrom(t.client),e.movement.copyFrom(t.movement),e.canvas.copyFrom(t.canvas),e.screen.copyFrom(t.screen),e.global.copyFrom(t.global),e.offset.copyFrom(t.offset)},t.prototype.copyWheelData=function(t,e){e.deltaMode=t.deltaMode,e.deltaX=t.deltaX,e.deltaY=t.deltaY,e.deltaZ=t.deltaZ},t.prototype.copyData=function(t,e){e.isTrusted=t.isTrusted,e.timeStamp=nj.now(),e.type=t.type,e.detail=t.detail,e.view=t.view,e.page.copyFrom(t.page),e.viewport.copyFrom(t.viewport)},t.prototype.allocateEvent=function(t){this.eventPool.has(t)||this.eventPool.set(t,[]);var e=this.eventPool.get(t).pop()||new t(this);return e.eventPhase=e.NONE,e.currentTarget=null,e.path=[],e.target=null,e},t.prototype.freeEvent=function(t){if(t.manager!==this)throw Error("It is illegal to free an event not managed by this EventBoundary!");var e=t.constructor;this.eventPool.has(e)||this.eventPool.set(e,[]),this.eventPool.get(e).push(t)},t.prototype.notifyTarget=function(t,e){e=null!=e?e:t.type;var n=t.eventPhase===t.CAPTURING_PHASE||t.eventPhase===t.AT_TARGET?"".concat(e,"capture"):e;this.notifyListeners(t,n),t.eventPhase===t.AT_TARGET&&this.notifyListeners(t,e)},t.prototype.notifyListeners=function(t,e){var n=t.currentTarget.emitter,r=n._events[e];if(r){if("fn"in r)r.once&&n.removeListener(e,r.fn,void 0,!0),r.fn.call(t.currentTarget||r.context,t);else for(var i=0;i=0;n--){var r=t[n];if(r===this.rootTarget||rE.isNode(r)&&r.parentNode===e)e=t[n];else break}return e},t.prototype.getCursor=function(t){for(var e=t;e;){var n=!!e.getAttribute&&e.getAttribute("cursor");if(n)return n;e=rE.isNode(e)&&e.parentNode}},t}(),rb=function(){function t(){}return t.prototype.getOrCreateCanvas=function(t,e){if(this.canvas)return this.canvas;if(t||rL.offscreenCanvas)this.canvas=t||rL.offscreenCanvas,this.context=this.canvas.getContext("2d",(0,W.pi)({willReadFrequently:!0},e));else try{this.canvas=new window.OffscreenCanvas(0,0),this.context=this.canvas.getContext("2d",(0,W.pi)({willReadFrequently:!0},e)),this.context&&this.context.measureText||(this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"))}catch(t){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d",(0,W.pi)({willReadFrequently:!0},e))}return this.canvas.width=10,this.canvas.height=10,this.canvas},t.prototype.getOrCreateContext=function(t,e){return this.context||this.getOrCreateCanvas(t,e),this.context},t}();(E=z||(z={}))[E.CAMERA_CHANGED=0]="CAMERA_CHANGED",E[E.DISPLAY_OBJECT_CHANGED=1]="DISPLAY_OBJECT_CHANGED",E[E.NONE=2]="NONE";var rT=function(){function t(t,e){this.globalRuntime=t,this.context=e,this.inited=!1,this.stats={total:0,rendered:0},this.zIndexCounter=0,this.hooks={init:new n4,initAsync:new n3,dirtycheck:new n9,cull:new n9,beginFrame:new n4,beforeRender:new n4,render:new n4,afterRender:new n4,endFrame:new n4,destroy:new n4,pick:new n5,pickSync:new n9,pointerDown:new n4,pointerUp:new n4,pointerMove:new n4,pointerOut:new n4,pointerOver:new n4,pointerWheel:new n4,pointerCancel:new n4,click:new n4}}return t.prototype.init=function(t){var e=this,n=(0,W.pi)((0,W.pi)({},this.globalRuntime),this.context);this.context.renderingPlugins.forEach(function(t){t.apply(n,e.globalRuntime)}),this.hooks.init.call(),0===this.hooks.initAsync.getCallbacksNum()?(this.inited=!0,t()):this.hooks.initAsync.promise().then(function(){e.inited=!0,t()})},t.prototype.getStats=function(){return this.stats},t.prototype.disableDirtyRectangleRendering=function(){return!this.context.config.renderer.getConfig().enableDirtyRectangleRendering||this.context.renderingContext.renderReasons.has(z.CAMERA_CHANGED)},t.prototype.render=function(t,e,n){var r=this;this.stats.total=0,this.stats.rendered=0,this.zIndexCounter=0;var i=this.context.renderingContext;if(this.globalRuntime.sceneGraphService.syncHierarchy(i.root),this.globalRuntime.sceneGraphService.triggerPendingEvents(),i.renderReasons.size&&this.inited){i.dirtyRectangleRenderingDisabled=this.disableDirtyRectangleRendering();var o=1===i.renderReasons.size&&i.renderReasons.has(z.CAMERA_CHANGED),a=!t.disableRenderHooks||!(t.disableRenderHooks&&o);a&&this.renderDisplayObject(i.root,t,i),this.hooks.beginFrame.call(e),a&&i.renderListCurrentFrame.forEach(function(t){r.hooks.beforeRender.call(t),r.hooks.render.call(t),r.hooks.afterRender.call(t)}),this.hooks.endFrame.call(e),i.renderListCurrentFrame=[],i.renderReasons.clear(),n()}},t.prototype.renderDisplayObject=function(t,e,n){var r=this,i=e.renderer.getConfig(),o=i.enableDirtyCheck,a=i.enableCulling;this.globalRuntime.enableCSSParsing&&this.globalRuntime.styleValueRegistry.recalc(t);var s=t.renderable,l=o?s.dirty||n.dirtyRectangleRenderingDisabled?t:null:t;if(l){var u=a?this.hooks.cull.call(l,this.context.camera):l;u&&(this.stats.rendered++,n.renderListCurrentFrame.push(u))}t.renderable.dirty=!1,t.sortable.renderOrder=this.zIndexCounter++,this.stats.total++;var c=t.sortable;c.dirty&&(this.sort(t,c),c.dirty=!1,c.dirtyChildren=[],c.dirtyReason=void 0),(c.sorted||t.childNodes).forEach(function(t){r.renderDisplayObject(t,e,n)})},t.prototype.sort=function(t,e){e.sorted&&e.dirtyReason!==Z.Z_INDEX_CHANGED?e.dirtyChildren.forEach(function(n){if(-1===t.childNodes.indexOf(n)){var r=e.sorted.indexOf(n);r>=0&&e.sorted.splice(r,1)}else if(0===e.sorted.length)e.sorted.push(n);else{var i=function(t,e){for(var n=0,r=t.length;n>>1;0>nY(t[i],e)?n=i+1:r=i}return n}(e.sorted,n);e.sorted.splice(i,0,n)}}):e.sorted=t.childNodes.slice().sort(nY)},t.prototype.destroy=function(){this.inited=!1,this.hooks.destroy.call(),this.globalRuntime.sceneGraphService.clearPendingEvents()},t.prototype.dirtify=function(){this.context.renderingContext.renderReasons.add(z.DISPLAY_OBJECT_CHANGED)},t}(),rP=/\[\s*(.*)=(.*)\s*\]/,rS=function(){function t(){}return t.prototype.selectOne=function(t,e){var n=this;if(t.startsWith("."))return e.find(function(e){return((null==e?void 0:e.classList)||[]).indexOf(n.getIdOrClassname(t))>-1});if(t.startsWith("#"))return e.find(function(e){return e.id===n.getIdOrClassname(t)});if(!t.startsWith("["))return e.find(function(n){return e!==n&&n.nodeName===t});var r=this.getAttribute(t),i=r.name,o=r.value;return i?e.find(function(t){return e!==t&&("name"===i?t.name===o:n.attributeToString(t,i)===o)}):null},t.prototype.selectAll=function(t,e){var n=this;if(t.startsWith("."))return e.findAll(function(r){return e!==r&&((null==r?void 0:r.classList)||[]).indexOf(n.getIdOrClassname(t))>-1});if(t.startsWith("#"))return e.findAll(function(r){return e!==r&&r.id===n.getIdOrClassname(t)});if(!t.startsWith("["))return e.findAll(function(n){return e!==n&&n.nodeName===t});var r=this.getAttribute(t),i=r.name,o=r.value;return i?e.findAll(function(t){return e!==t&&("name"===i?t.name===o:n.attributeToString(t,i)===o)}):[]},t.prototype.is=function(t,e){if(t.startsWith("."))return e.className===this.getIdOrClassname(t);if(t.startsWith("#"))return e.id===this.getIdOrClassname(t);if(!t.startsWith("["))return e.nodeName===t;var n=this.getAttribute(t),r=n.name,i=n.value;return"name"===r?e.name===i:this.attributeToString(e,r)===i},t.prototype.getIdOrClassname=function(t){return t.substring(1)},t.prototype.getAttribute=function(t){var e=t.match(rP),n="",r="";return e&&e.length>2&&(n=e[1].replace(/"/g,""),r=e[2].replace(/"/g,"")),{name:n,value:r}},t.prototype.attributeToString=function(t,e){if(!t.getAttribute)return"";var n=t.getAttribute(e);return(0,tn.Z)(n)?"":n.toString?n.toString():""},t}(),rN=function(t){function e(e,n,r,i,o,a,s,l){var u=t.call(this,null)||this;return u.relatedNode=n,u.prevValue=r,u.newValue=i,u.attrName=o,u.attrChange=a,u.prevParsedValue=s,u.newParsedValue=l,u.type=e,u}return(0,W.ZT)(e,t),e.ADDITION=2,e.MODIFICATION=1,e.REMOVAL=3,e}(rd);function rC(t){var e=t.renderable;e&&(e.renderBoundsDirty=!0,e.boundsDirty=!0)}(x=X||(X={})).REPARENT="reparent",x.DESTROY="destroy",x.ATTR_MODIFIED="DOMAttrModified",x.INSERTED="DOMNodeInserted",x.REMOVED="removed",x.MOUNTED="DOMNodeInsertedIntoDocument",x.UNMOUNTED="DOMNodeRemovedFromDocument",x.BOUNDS_CHANGED="bounds-changed",x.CULLED="culled";var rw=new rN(X.REPARENT,null,"","","",0,"",""),rk=function(){function t(t){var e,n,r,i,o,a,s,l,u,c,h,p,d=this;this.runtime=t,this.pendingEvents=[],this.boundsChangedEvent=new rg(X.BOUNDS_CHANGED),this.rotate=(e=Q.Ue(),function(t,n,r,i,o){void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=!0),"number"==typeof n&&(n=q.al(n,r,i));var a=t.transformable;if(null!==t.parentNode&&t.parentNode.transformable){var s=Q.Ue();Q.Su(s,n[0],n[1],n[2]);var l=d.getRotation(t),u=d.getRotation(t.parentNode);Q.JG(e,u),Q.U_(e,e),Q.Jp(s,e,s),Q.Jp(a.localRotation,s,l),Q.Fv(a.localRotation,a.localRotation),o&&d.dirtifyLocal(t,a)}else d.rotateLocal(t,n)}),this.rotateLocal=(n=Q.Ue(),function(t,e,r,i,o){void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=!0),"number"==typeof e&&(e=q.al(e,r,i));var a=t.transformable;Q.Su(n,e[0],e[1],e[2]),Q.dC(a.localRotation,a.localRotation,n),o&&d.dirtifyLocal(t,a)}),this.setEulerAngles=(r=Q.Ue(),function(t,e,n,i,o){void 0===n&&(n=0),void 0===i&&(i=0),void 0===o&&(o=!0),"number"==typeof e&&(e=q.al(e,n,i));var a=t.transformable;if(null!==t.parentNode&&t.parentNode.transformable){Q.Su(a.localRotation,e[0],e[1],e[2]);var s=d.getRotation(t.parentNode);Q.JG(r,Q.U_(Q.Ue(),s)),Q.dC(a.localRotation,a.localRotation,r),o&&d.dirtifyLocal(t,a)}else d.setLocalEulerAngles(t,e)}),this.translateLocal=function(t,e,n,r,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=!0),"number"==typeof e&&(e=q.al(e,n,r));var o=t.transformable;!q.fS(e,q.Ue())&&(q.VC(e,e,o.localRotation),q.IH(o.localPosition,o.localPosition,e),i&&d.dirtifyLocal(t,o))},this.setPosition=(i=K.create(),o=q.Ue(),function(t,e,n){void 0===n&&(n=!0);var r=t.transformable;if(o[0]=e[0],o[1]=e[1],o[2]=e[2]||0,!q.fS(d.getPosition(t),o)){if(q.JG(r.position,o),null!==t.parentNode&&t.parentNode.transformable){var a=t.parentNode.transformable;K.copy(i,a.worldTransform),K.invert(i,i),q.fF(r.localPosition,o,i)}else q.JG(r.localPosition,o);n&&d.dirtifyLocal(t,r)}}),this.setLocalPosition=(a=q.Ue(),function(t,e,n){void 0===n&&(n=!0);var r=t.transformable;a[0]=e[0],a[1]=e[1],a[2]=e[2]||0,!q.fS(r.localPosition,a)&&(q.JG(r.localPosition,a),n&&d.dirtifyLocal(t,r))}),this.translate=(s=q.Ue(),l=q.Ue(),u=q.Ue(),function(t,e,n,r,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=!0),"number"==typeof e&&(e=q.t8(l,e,n,r)),q.fS(e,s)||(q.IH(u,d.getPosition(t),e),d.setPosition(t,u,i))}),this.setRotation=function(){var t=Q.Ue();return function(e,n,r,i,o,a){void 0===a&&(a=!0);var s=e.transformable;if("number"==typeof n&&(n=Q.al(n,r,i,o)),null!==e.parentNode&&e.parentNode.transformable){var l=d.getRotation(e.parentNode);Q.JG(t,l),Q.U_(t,t),Q.Jp(s.localRotation,t,n),Q.Fv(s.localRotation,s.localRotation),a&&d.dirtifyLocal(e,s)}else d.setLocalRotation(e,n)}},this.displayObjectDependencyMap=new WeakMap,this.calcLocalTransform=(c=K.create(),h=q.Ue(),p=Q.al(0,0,0,1),function(t){if(0!==t.localSkew[0]||0!==t.localSkew[1]){if(K.fromRotationTranslationScaleOrigin(t.localTransform,t.localRotation,t.localPosition,q.al(1,1,1),t.origin),0!==t.localSkew[0]||0!==t.localSkew[1]){var e=K.identity(c);e[4]=Math.tan(t.localSkew[0]),e[1]=Math.tan(t.localSkew[1]),K.multiply(t.localTransform,t.localTransform,e)}var n=K.fromRotationTranslationScaleOrigin(c,p,h,t.localScale,t.origin);K.multiply(t.localTransform,t.localTransform,n)}else K.fromRotationTranslationScaleOrigin(t.localTransform,t.localRotation,t.localPosition,t.localScale,t.origin)})}return t.prototype.matches=function(t,e){return this.runtime.sceneGraphSelector.is(t,e)},t.prototype.querySelector=function(t,e){return this.runtime.sceneGraphSelector.selectOne(t,e)},t.prototype.querySelectorAll=function(t,e){return this.runtime.sceneGraphSelector.selectAll(t,e)},t.prototype.attach=function(t,e,n){var r,i=!1;t.parentNode&&(i=t.parentNode!==e,this.detach(t)),t.parentNode=e,(0,tn.Z)(n)?t.parentNode.childNodes.push(t):t.parentNode.childNodes.splice(n,0,t);var o=e.sortable;((null===(r=null==o?void 0:o.sorted)||void 0===r?void 0:r.length)||t.parsedStyle.zIndex)&&(-1===o.dirtyChildren.indexOf(t)&&o.dirtyChildren.push(t),o.dirty=!0,o.dirtyReason=Z.ADDED);var a=t.transformable;a&&this.dirtifyWorld(t,a),a.frozen&&this.unfreezeParentToRoot(t),i&&t.dispatchEvent(rw)},t.prototype.detach=function(t){var e,n;if(t.parentNode){var r=t.transformable,i=t.parentNode.sortable;((null===(e=null==i?void 0:i.sorted)||void 0===e?void 0:e.length)||(null===(n=t.style)||void 0===n?void 0:n.zIndex))&&(-1===i.dirtyChildren.indexOf(t)&&i.dirtyChildren.push(t),i.dirty=!0,i.dirtyReason=Z.REMOVED);var o=t.parentNode.childNodes.indexOf(t);o>-1&&t.parentNode.childNodes.splice(o,1),r&&this.dirtifyWorld(t,r),t.parentNode=null}},t.prototype.getOrigin=function(t){return t.getGeometryBounds(),t.transformable.origin},t.prototype.setOrigin=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=0),"number"==typeof e&&(e=[e,n,r]);var i=t.transformable;if(e[0]!==i.origin[0]||e[1]!==i.origin[1]||e[2]!==i.origin[2]){var o=i.origin;o[0]=e[0],o[1]=e[1],o[2]=e[2]||0,this.dirtifyLocal(t,i)}},t.prototype.setLocalEulerAngles=function(t,e,n,r,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=!0),"number"==typeof e&&(e=q.al(e,n,r));var o=t.transformable;Q.Su(o.localRotation,e[0],e[1],e[2]),i&&this.dirtifyLocal(t,o)},t.prototype.scaleLocal=function(t,e,n){void 0===n&&(n=!0);var r=t.transformable;q.Jp(r.localScale,r.localScale,q.al(e[0],e[1],e[2]||1)),n&&this.dirtifyLocal(t,r)},t.prototype.setLocalScale=function(t,e,n){void 0===n&&(n=!0);var r=t.transformable,i=q.al(e[0],e[1],e[2]||r.localScale[2]);!q.fS(i,r.localScale)&&(q.JG(r.localScale,i),n&&this.dirtifyLocal(t,r))},t.prototype.setLocalRotation=function(t,e,n,r,i,o){void 0===o&&(o=!0),"number"==typeof e&&(e=Q.al(e,n,r,i));var a=t.transformable;Q.JG(a.localRotation,e),o&&this.dirtifyLocal(t,a)},t.prototype.setLocalSkew=function(t,e,n){"number"==typeof e&&(e=tt.al(e,n));var r=t.transformable;tt.JG(r.localSkew,e),this.dirtifyLocal(t,r)},t.prototype.dirtifyLocal=function(t,e){e.localDirtyFlag||(e.localDirtyFlag=!0,e.dirtyFlag||this.dirtifyWorld(t,e))},t.prototype.dirtifyWorld=function(t,e){e.dirtyFlag||this.unfreezeParentToRoot(t),this.dirtifyWorldInternal(t,e),this.dirtifyToRoot(t,!0)},t.prototype.triggerPendingEvents=function(){var t=this,e=new Set,n=function(n,r){n.isConnected&&!e.has(n.entity)&&(t.boundsChangedEvent.detail=r,t.boundsChangedEvent.target=n,n.isMutationObserved?n.dispatchEvent(t.boundsChangedEvent):n.ownerDocument.defaultView.dispatchEvent(t.boundsChangedEvent,!0),e.add(n.entity))};this.pendingEvents.forEach(function(t){var e=(0,W.CR)(t,2),r=e[0],i=e[1];i.affectChildren?r.forEach(function(t){n(t,i)}):n(r,i)}),this.clearPendingEvents(),e.clear()},t.prototype.clearPendingEvents=function(){this.pendingEvents=[]},t.prototype.dirtifyToRoot=function(t,e){void 0===e&&(e=!1);var n=t;for(n.renderable&&(n.renderable.dirty=!0);n;)rC(n),n=n.parentNode;e&&t.forEach(function(t){rC(t)}),this.informDependentDisplayObjects(t),this.pendingEvents.push([t,{affectChildren:e}])},t.prototype.updateDisplayObjectDependency=function(t,e,n,r){if(e&&e!==n){var i=this.displayObjectDependencyMap.get(e);if(i&&i[t]){var o=i[t].indexOf(r);i[t].splice(o,1)}}if(n){var a=this.displayObjectDependencyMap.get(n);a||(this.displayObjectDependencyMap.set(n,{}),a=this.displayObjectDependencyMap.get(n)),a[t]||(a[t]=[]),a[t].push(r)}},t.prototype.informDependentDisplayObjects=function(t){var e=this,n=this.displayObjectDependencyMap.get(t);n&&Object.keys(n).forEach(function(t){n[t].forEach(function(n){e.dirtifyToRoot(n,!0),n.dispatchEvent(new rN(X.ATTR_MODIFIED,n,e,e,t,rN.MODIFICATION,e,e)),n.isCustomElement&&n.isConnected&&n.attributeChangedCallback&&n.attributeChangedCallback(t,e,e)})})},t.prototype.getPosition=function(t){var e=t.transformable;return K.getTranslation(e.position,this.getWorldTransform(t,e))},t.prototype.getRotation=function(t){var e=t.transformable;return K.getRotation(e.rotation,this.getWorldTransform(t,e))},t.prototype.getScale=function(t){var e=t.transformable;return K.getScaling(e.scaling,this.getWorldTransform(t,e))},t.prototype.getWorldTransform=function(t,e){return void 0===e&&(e=t.transformable),(e.localDirtyFlag||e.dirtyFlag)&&(t.parentNode&&t.parentNode.transformable&&this.getWorldTransform(t.parentNode),this.sync(t,e)),e.worldTransform},t.prototype.getLocalPosition=function(t){return t.transformable.localPosition},t.prototype.getLocalRotation=function(t){return t.transformable.localRotation},t.prototype.getLocalScale=function(t){return t.transformable.localScale},t.prototype.getLocalSkew=function(t){return t.transformable.localSkew},t.prototype.getLocalTransform=function(t){var e=t.transformable;return e.localDirtyFlag&&(this.calcLocalTransform(e),e.localDirtyFlag=!1),e.localTransform},t.prototype.setLocalTransform=function(t,e){var n=K.getTranslation(q.Ue(),e),r=K.getRotation(Q.Ue(),e),i=K.getScaling(q.Ue(),e);this.setLocalScale(t,i,!1),this.setLocalPosition(t,n,!1),this.setLocalRotation(t,r,void 0,void 0,void 0,!1),this.dirtifyLocal(t,t.transformable)},t.prototype.resetLocalTransform=function(t){this.setLocalScale(t,[1,1,1]),this.setLocalPosition(t,[0,0,0]),this.setLocalEulerAngles(t,[0,0,0]),this.setLocalSkew(t,[0,0])},t.prototype.getTransformedGeometryBounds=function(t,e,n){void 0===e&&(e=!1);var r=this.getGeometryBounds(t,e);if(tY.isEmpty(r))return null;var i=n||new tY;return i.setFromTransformedAABB(r,this.getWorldTransform(t)),i},t.prototype.getGeometryBounds=function(t,e){void 0===e&&(e=!1);var n=t.geometry;return n.dirty&&rL.styleValueRegistry.updateGeometry(t),(e?n.renderBounds:n.contentBounds||null)||new tY},t.prototype.getBounds=function(t,e){var n=this;void 0===e&&(e=!1);var r=t.renderable;if(!r.boundsDirty&&!e&&r.bounds)return r.bounds;if(!r.renderBoundsDirty&&e&&r.renderBounds)return r.renderBounds;var i=e?r.renderBounds:r.bounds,o=this.getTransformedGeometryBounds(t,e,i);if(t.childNodes.forEach(function(t){var r=n.getBounds(t,e);r&&(o?o.add(r):(o=i||new tY).update(r.center,r.halfExtents))}),o||(o=new tY),e){var a=function(t){var e,n=t;do{if(null===(e=n.parsedStyle)||void 0===e?void 0:e.clipPath)return n;n=n.parentElement}while(null!==n);return null}(t);if(a){var s=a.parsedStyle.clipPath.getBounds(e);o?s&&(o=s.intersection(o)):o.update(s.center,s.halfExtents)}}return e?(r.renderBounds=o,r.renderBoundsDirty=!1):(r.bounds=o,r.boundsDirty=!1),o},t.prototype.getLocalBounds=function(t){if(t.parentNode){var e=K.create();t.parentNode.transformable&&(e=K.invert(K.create(),this.getWorldTransform(t.parentNode)));var n=this.getBounds(t);if(!tY.isEmpty(n)){var r=new tY;return r.setFromTransformedAABB(n,e),r}}return this.getBounds(t)},t.prototype.getBoundingClientRect=function(t){var e,n,r,i=this.getGeometryBounds(t);tY.isEmpty(i)||(r=new tY).setFromTransformedAABB(i,this.getWorldTransform(t));var o=null===(n=null===(e=t.ownerDocument)||void 0===e?void 0:e.defaultView)||void 0===n?void 0:n.getContextService().getBoundingClientRect();if(r){var a=(0,W.CR)(r.getMin(),2),s=a[0],l=a[1],u=(0,W.CR)(r.getMax(),2),c=u[0],h=u[1];return new tW(s+((null==o?void 0:o.left)||0),l+((null==o?void 0:o.top)||0),c-s,h-l)}return new tW((null==o?void 0:o.left)||0,(null==o?void 0:o.top)||0,0,0)},t.prototype.dirtifyWorldInternal=function(t,e){var n=this;if(!e.dirtyFlag){e.dirtyFlag=!0,e.frozen=!1,t.childNodes.forEach(function(t){var e=t.transformable;e.dirtyFlag||n.dirtifyWorldInternal(t,e)});var r=t.renderable;r&&(r.renderBoundsDirty=!0,r.boundsDirty=!0,r.dirty=!0)}},t.prototype.syncHierarchy=function(t){var e=t.transformable;if(!e.frozen){e.frozen=!0,(e.localDirtyFlag||e.dirtyFlag)&&this.sync(t,e);for(var n=t.childNodes,r=0;rs;--p){for(var v=0;v=0;h--){var p=c[h].trim();!n6.test(p)&&0>n8.indexOf(p)&&(p='"'.concat(p,'"')),c[h]=p}return"".concat(void 0===i?"normal":i," ").concat(a," ").concat(l," ").concat(u," ").concat(c.join(","))}(e),E=this.measureFont(m,n);0===E.fontSize&&(E.fontSize=i,E.ascent=i);var x=this.runtime.offscreenCanvasCreator.getOrCreateContext(n);x.font=m,e.isOverflowing=!1;var b=(void 0!==o&&o?this.wordWrap(t,e,n):t).split(/(?:\r\n|\r|\n)/),T=Array(b.length),P=0;if(v){v.getTotalLength();for(var S=0;S=l){e.isOverflowing=!0;break}v=0,d[f]="";continue}if(v>0&&v+S>h){if(f+1>=l){if(e.isOverflowing=!0,m>0&&m<=h){for(var N=d[f].length,C=0,w=N,k=0;kh){w=k;break}C+=M}d[f]=(d[f]||"").slice(0,w)+p}break}if(v=0,d[++f]="",this.isBreakingSpace(b))continue;this.canBreakInLastChar(b)||(d=this.trimToBreakable(d),v=this.sumTextWidthByCache(d[f]||"",y)),this.shouldBreakByKinsokuShorui(b,P)&&(d=this.trimByKinsokuShorui(d),v+=g(T||""))}v+=S,d[f]=(d[f]||"")+b}return d.join("\n")},t.prototype.isBreakingSpace=function(t){return"string"==typeof t&&rM.BreakingSpaces.indexOf(t.charCodeAt(0))>=0},t.prototype.isNewline=function(t){return"string"==typeof t&&rM.Newlines.indexOf(t.charCodeAt(0))>=0},t.prototype.trimToBreakable=function(t){var e=(0,W.ev)([],(0,W.CR)(t),!1),n=e[e.length-2],r=this.findBreakableIndex(n);if(-1===r||!n)return e;var i=n.slice(r,r+1),o=this.isBreakingSpace(i),a=r+1,s=r+(o?0:1);return e[e.length-1]+=n.slice(a,n.length),e[e.length-2]=n.slice(0,s),e},t.prototype.canBreakInLastChar=function(t){return!(t&&rR.test(t))},t.prototype.sumTextWidthByCache=function(t,e){return t.split("").reduce(function(t,n){if(!e[n])throw Error("cannot count the word without cache");return t+e[n]},0)},t.prototype.findBreakableIndex=function(t){for(var e=t.length-1;e>=0;e--)if(!rR.test(t[e]))return e;return -1},t.prototype.getFromCache=function(t,e,n,r){var i=n[t];if("number"!=typeof i){var o=t.length*e;i=r.measureText(t).width+o,n[t]=i}return i},t}(),rL={},rD=(T=new rc,P=new ru,(b={})[k.CIRCLE]=new ro,b[k.ELLIPSE]=new ra,b[k.RECT]=T,b[k.IMAGE]=T,b[k.GROUP]=new rp,b[k.LINE]=new rs,b[k.TEXT]=new rh(rL),b[k.POLYLINE]=P,b[k.POLYGON]=P,b[k.PATH]=new rl,b[k.HTML]=null,b[k.MESH]=null,b),rG=(N=new nC,C=new nM,(S={})[Y.PERCENTAGE]=null,S[Y.NUMBER]=new nI,S[Y.ANGLE]=new nS,S[Y.DEFINED_PATH]=new nN,S[Y.PAINT]=N,S[Y.COLOR]=N,S[Y.FILTER]=new nw,S[Y.LENGTH]=C,S[Y.LENGTH_PERCENTAGE]=C,S[Y.LENGTH_PERCENTAGE_12]=new nR,S[Y.LENGTH_PERCENTAGE_14]=new nA,S[Y.COORDINATE]=new nM,S[Y.OFFSET_DISTANCE]=new nL,S[Y.OPACITY_VALUE]=new nD,S[Y.PATH]=new nG,S[Y.LIST_OF_POINTS]=new function(){this.parser=e7,this.mixer=nt},S[Y.SHADOW_BLUR]=new nB,S[Y.TEXT]=new nF,S[Y.TEXT_TRANSFORM]=new n_,S[Y.TRANSFORM]=new rn,S[Y.TRANSFORM_ORIGIN]=new rr,S[Y.Z_INDEX]=new ri,S[Y.MARKER]=new nO,S);rL.CameraContribution=tJ,rL.AnimationTimeline=null,rL.EasingFunction=null,rL.offscreenCanvasCreator=new rb,rL.sceneGraphSelector=new rS,rL.sceneGraphService=new rk(rL),rL.textService=new rI(rL),rL.geometryUpdaterFactory=rD,rL.CSSPropertySyntaxFactory=rG,rL.styleValueRegistry=new nP(rL),rL.layoutRegistry=null,rL.globalThis="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{},rL.enableCSSParsing=!1,rL.enableDataset=!1,rL.enableStyleSyntax=!0,rL.enableAttributeDashCased=!1,rL.enableSizeAttenuation=!1;var rB=0,rF=new rN(X.INSERTED,null,"","","",0,"",""),r_=new rN(X.REMOVED,null,"","","",0,"",""),rU=new rg(X.DESTROY),rV=function(t){function e(){var e=t.call(this)||this;return e.entity=rB++,e.renderable={bounds:void 0,boundsDirty:!0,renderBounds:void 0,renderBoundsDirty:!0,dirtyRenderBounds:void 0,dirty:!1},e.cullable={strategy:V.Standard,visibilityPlaneMask:-1,visible:!0,enable:!0},e.transformable={dirtyFlag:!1,localDirtyFlag:!1,frozen:!1,localPosition:[0,0,0],localRotation:[0,0,0,1],localScale:[1,1,1],localTransform:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],localSkew:[0,0],position:[0,0,0],rotation:[0,0,0,1],scaling:[1,1,1],worldTransform:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],origin:[0,0,0]},e.sortable={dirty:!1,sorted:void 0,renderOrder:0,dirtyChildren:[],dirtyReason:void 0},e.geometry={contentBounds:void 0,renderBounds:void 0,dirty:!0},e.rBushNode={aabb:void 0},e.namespaceURI="g",e.scrollLeft=0,e.scrollTop=0,e.clientTop=0,e.clientLeft=0,e.destroyed=!1,e.style={},e.computedStyle=rL.enableCSSParsing?{opacity:eu,fillOpacity:eu,strokeOpacity:eu,fill:eu,stroke:eu,transform:eu,transformOrigin:eu,visibility:eu,pointerEvents:eu,lineWidth:eu,lineCap:eu,lineJoin:eu,increasedLineWidthForHitTesting:eu,fontSize:eu,fontFamily:eu,fontStyle:eu,fontWeight:eu,fontVariant:eu,textAlign:eu,textBaseline:eu,textTransform:eu,zIndex:eu,filter:eu,shadowType:eu}:null,e.parsedStyle={},e.attributes={},e}return(0,W.ZT)(e,t),Object.defineProperty(e.prototype,"className",{get:function(){return this.getAttribute("class")||""},set:function(t){this.setAttribute("class",t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classList",{get:function(){return this.className.split(" ").filter(function(t){return""!==t})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.nodeName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childElementCount",{get:function(){return this.childNodes.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstElementChild",{get:function(){return this.firstChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastElementChild",{get:function(){return this.lastChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentElement",{get:function(){return this.parentNode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){if(this.parentNode){var t=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[t+1]||null}return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){if(this.parentNode){var t=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[t-1]||null}return null},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(t){throw Error(tH)},e.prototype.appendChild=function(t,e){var n;if(t.destroyed)throw Error("Cannot append a destroyed element.");return rL.sceneGraphService.attach(t,this,e),(null===(n=this.ownerDocument)||void 0===n?void 0:n.defaultView)&&this.ownerDocument.defaultView.mountChildren(t),this.isMutationObserved&&(rF.relatedNode=this,t.dispatchEvent(rF)),t},e.prototype.insertBefore=function(t,e){if(e){t.parentElement&&t.parentElement.removeChild(t);var n=this.childNodes.indexOf(e);-1===n?this.appendChild(t):this.appendChild(t,n)}else this.appendChild(t);return t},e.prototype.replaceChild=function(t,e){var n=this.childNodes.indexOf(e);return this.removeChild(e),this.appendChild(t,n),e},e.prototype.removeChild=function(t){var e;return r_.relatedNode=this,t.dispatchEvent(r_),(null===(e=t.ownerDocument)||void 0===e?void 0:e.defaultView)&&t.ownerDocument.defaultView.unmountChildren(t),rL.sceneGraphService.detach(t),t},e.prototype.removeChildren=function(){for(var t=this.childNodes.length-1;t>=0;t--){var e=this.childNodes[t];this.removeChild(e)}},e.prototype.destroyChildren=function(){for(var t=this.childNodes.length-1;t>=0;t--){var e=this.childNodes[t];e.childNodes.length&&e.destroyChildren(),e.destroy()}},e.prototype.matches=function(t){return rL.sceneGraphService.matches(t,this)},e.prototype.getElementById=function(t){return rL.sceneGraphService.querySelector("#".concat(t),this)},e.prototype.getElementsByName=function(t){return rL.sceneGraphService.querySelectorAll('[name="'.concat(t,'"]'),this)},e.prototype.getElementsByClassName=function(t){return rL.sceneGraphService.querySelectorAll(".".concat(t),this)},e.prototype.getElementsByTagName=function(t){return rL.sceneGraphService.querySelectorAll(t,this)},e.prototype.querySelector=function(t){return rL.sceneGraphService.querySelector(t,this)},e.prototype.querySelectorAll=function(t){return rL.sceneGraphService.querySelectorAll(t,this)},e.prototype.closest=function(t){var e=this;do{if(rL.sceneGraphService.matches(t,e))return e;e=e.parentElement}while(null!==e);return null},e.prototype.find=function(t){var e=this,n=null;return this.forEach(function(r){return!!(r!==e&&t(r))&&(n=r,!0)}),n},e.prototype.findAll=function(t){var e=this,n=[];return this.forEach(function(r){r!==e&&t(r)&&n.push(r)}),n},e.prototype.after=function(){for(var t=this,e=[],n=0;n1){var n=t[0].currentPoint,r=t[1].currentPoint,i=t[1].startTangent;e=[],i?(e.push([n[0]-i[0],n[1]-i[1]]),e.push([n[0],n[1]])):(e.push([r[0],r[1]]),e.push([n[0],n[1]]))}return e},e.prototype.getEndTangent=function(){var t=this.parsedStyle.d.segments,e=t.length,n=[];if(e>1){var r=t[e-2].currentPoint,i=t[e-1].currentPoint,o=t[e-1].endTangent;n=[],o?(n.push([i[0]-o[0],i[1]-o[1]]),n.push([i[0],i[1]])):(n.push([r[0],r[1]]),n.push([i[0],i[1]]))}return n},e}(rq),r3=function(t){function e(e){void 0===e&&(e={});var n=this,r=e.style,i=(0,W._T)(e,["style"]);(n=t.call(this,(0,W.pi)({type:k.POLYGON,style:rL.enableCSSParsing?(0,W.pi)({points:"",miterLimit:"",isClosed:!0},r):(0,W.pi)({},r),initialParsedStyle:rL.enableCSSParsing?null:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!0}},i))||this).markerStartAngle=0,n.markerEndAngle=0,n.markerMidList=[];var o=n.parsedStyle,a=o.markerStart,s=o.markerEnd,l=o.markerMid;return a&&rZ(a)&&(n.markerStartAngle=a.getLocalEulerAngles(),n.appendChild(a)),l&&rZ(l)&&n.placeMarkerMid(l),s&&rZ(s)&&(n.markerEndAngle=s.getLocalEulerAngles(),n.appendChild(s)),n.transformMarker(!0),n.transformMarker(!1),n}return(0,W.ZT)(e,t),e.prototype.attributeChangedCallback=function(t,e,n,r,i){"points"===t?(this.transformMarker(!0),this.transformMarker(!1),this.placeMarkerMid(this.parsedStyle.markerMid)):"markerStartOffset"===t||"markerEndOffset"===t?(this.transformMarker(!0),this.transformMarker(!1)):"markerStart"===t?(r&&rZ(r)&&(this.markerStartAngle=0,r.remove()),i&&rZ(i)&&(this.markerStartAngle=i.getLocalEulerAngles(),this.appendChild(i),this.transformMarker(!0))):"markerEnd"===t?(r&&rZ(r)&&(this.markerEndAngle=0,r.remove()),i&&rZ(i)&&(this.markerEndAngle=i.getLocalEulerAngles(),this.appendChild(i),this.transformMarker(!1))):"markerMid"===t&&this.placeMarkerMid(i)},e.prototype.transformMarker=function(t){var e,n,r,i,o,a,s=this.parsedStyle,l=s.markerStart,u=s.markerEnd,c=s.markerStartOffset,h=s.markerEndOffset,p=(s.points||{}).points,d=t?l:u;if(d&&rZ(d)&&p){var f=0;if(r=p[0][0],i=p[0][1],t)e=p[1][0]-p[0][0],n=p[1][1]-p[0][1],o=c||0,a=this.markerStartAngle;else{var v=p.length;this.parsedStyle.isClosed?(e=p[v-1][0]-p[0][0],n=p[v-1][1]-p[0][1]):(r=p[v-1][0],i=p[v-1][1],e=p[v-2][0]-p[v-1][0],n=p[v-2][1]-p[v-1][1]),o=h||0,a=this.markerEndAngle}f=Math.atan2(n,e),d.setLocalEulerAngles(180*f/Math.PI+a),d.setLocalPosition(r+Math.cos(f)*o,i+Math.sin(f)*o)}},e.prototype.placeMarkerMid=function(t){var e=(this.parsedStyle.points||{}).points;if(this.markerMidList.forEach(function(t){t.remove()}),this.markerMidList=[],t&&rZ(t)&&e)for(var n=1;n<(this.parsedStyle.isClosed?e.length:e.length-1);n++){var r=e[n][0],i=e[n][1],o=1===n?t:t.cloneNode(!0);this.markerMidList.push(o),this.appendChild(o),o.setLocalPosition(r,i)}},e}(rq),r5=function(t){function e(e){void 0===e&&(e={});var n=e.style,r=(0,W._T)(e,["style"]);return t.call(this,(0,W.pi)({type:k.POLYLINE,style:rL.enableCSSParsing?(0,W.pi)({points:"",miterLimit:"",isClosed:!1},n):(0,W.pi)({},n),initialParsedStyle:rL.enableCSSParsing?null:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!1}},r))||this}return(0,W.ZT)(e,t),e.prototype.getTotalLength=function(){return 0===this.parsedStyle.points.totalLength&&(this.parsedStyle.points.totalLength=(0,tP.hE)(this.parsedStyle.points.points)),this.parsedStyle.points.totalLength},e.prototype.getPointAtLength=function(t,e){return void 0===e&&(e=!1),this.getPoint(t/this.getTotalLength(),e)},e.prototype.getPoint=function(t,e){void 0===e&&(e=!1);var n=this.parsedStyle.points.points;if(0===this.parsedStyle.points.segments.length){var r,i=[],o=0,a=this.getTotalLength();n.forEach(function(t,e){n[e+1]&&((r=[0,0])[0]=o/a,o+=(0,tP.Xk)(t[0],t[1],n[e+1][0],n[e+1][1]),r[1]=o/a,i.push(r))}),this.parsedStyle.points.segments=i}var s=0,l=0;this.parsedStyle.points.segments.forEach(function(e,n){t>=e[0]&&t<=e[1]&&(s=(t-e[0])/(e[1]-e[0]),l=n)});var u=(0,tP.U4)(n[l][0],n[l][1],n[l+1][0],n[l+1][1],s),c=u.x,h=u.y,p=q.fF(q.Ue(),q.al(c,h,0),e?this.getWorldTransform():this.getLocalTransform());return new tj(p[0],p[1])},e.prototype.getStartTangent=function(){var t=this.parsedStyle.points.points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.parsedStyle.points.points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(r3),r4=function(t){function e(e){return void 0===e&&(e={}),t.call(this,(0,W.pi)({type:k.RECT},e))||this}return(0,W.ZT)(e,t),e}(rq),r9=function(t){function e(e){void 0===e&&(e={});var n=e.style,r=(0,W._T)(e,["style"]);return t.call(this,(0,W.pi)({type:k.TEXT,style:rL.enableCSSParsing?(0,W.pi)({x:"",y:"",text:"",fontSize:"",fontFamily:"",fontStyle:"",fontWeight:"",fontVariant:"",textAlign:"",textBaseline:"",textTransform:"",fill:"black",letterSpacing:"",lineHeight:"",miterLimit:"",wordWrap:!1,wordWrapWidth:0,leading:0,dx:"",dy:""},n):(0,W.pi)({fill:"black"},n)},r))||this}return(0,W.ZT)(e,t),e.prototype.getComputedTextLength=function(){var t;return this.getGeometryBounds(),(null===(t=this.parsedStyle.metrics)||void 0===t?void 0:t.maxLineWidth)||0},e.prototype.getLineBoundingRects=function(){var t;return this.getGeometryBounds(),(null===(t=this.parsedStyle.metrics)||void 0===t?void 0:t.lineMetrics)||[]},e.prototype.isOverflowing=function(){return this.getGeometryBounds(),!!this.parsedStyle.isOverflowing},e}(rq),r8=function(){function t(){this.registry={},this.define(k.CIRCLE,rK),this.define(k.ELLIPSE,rJ),this.define(k.RECT,r4),this.define(k.IMAGE,r0),this.define(k.LINE,r1),this.define(k.GROUP,r$),this.define(k.PATH,r2),this.define(k.POLYGON,r3),this.define(k.POLYLINE,r5),this.define(k.TEXT,r9),this.define(k.HTML,rQ)}return t.prototype.define=function(t,e){this.registry[t]=e},t.prototype.get=function(t){return this.registry[t]},t}(),r6=function(t){function e(){var e=t.call(this)||this;e.defaultView=null,e.ownerDocument=null,e.nodeName="document";try{e.timeline=new rL.AnimationTimeline(e)}catch(t){}var n={};return nm.forEach(function(t){var e=t.n,r=t.inh,i=t.d;r&&i&&(n[e]=et(i)?i(k.GROUP):i)}),e.documentElement=new r$({id:"g-root",style:n}),e.documentElement.ownerDocument=e,e.documentElement.parentNode=e,e.childNodes=[e.documentElement],e}return(0,W.ZT)(e,t),Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childElementCount",{get:function(){return this.childNodes.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstElementChild",{get:function(){return this.firstChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastElementChild",{get:function(){return this.lastChild},enumerable:!1,configurable:!0}),e.prototype.createElement=function(t,e){if("svg"===t)return this.documentElement;var n=this.defaultView.customElements.get(t);n||(console.warn("Unsupported tagName: ",t),n="tspan"===t?r9:r$);var r=new n(e);return r.ownerDocument=this,r},e.prototype.createElementNS=function(t,e,n){return this.createElement(e,n)},e.prototype.cloneNode=function(t){throw Error(tH)},e.prototype.destroy=function(){try{this.documentElement.destroyChildren(),this.timeline.destroy()}catch(t){}},e.prototype.elementsFromBBox=function(t,e,n,r){var i=this.defaultView.context.rBushRoot.search({minX:t,minY:e,maxX:n,maxY:r}),o=[];return i.forEach(function(t){var e=t.displayObject,n=e.parsedStyle.pointerEvents,r=["auto","visiblepainted","visiblefill","visiblestroke","visible"].includes(void 0===n?"auto":n);(!r||r&&e.isVisible())&&!e.isCulled()&&e.isInteractive()&&o.push(e)}),o.sort(function(t,e){return e.sortable.renderOrder-t.sortable.renderOrder}),o},e.prototype.elementFromPointSync=function(t,e){var n=this.defaultView.canvas2Viewport({x:t,y:e}),r=n.x,i=n.y,o=this.defaultView.getConfig(),a=o.width,s=o.height;if(r<0||i<0||r>a||i>s)return null;var l=this.defaultView.viewport2Client({x:r,y:i}),u=l.x,c=l.y,h=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!0,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]}).picked;return h&&h[0]||this.documentElement},e.prototype.elementFromPoint=function(t,e){return(0,W.mG)(this,void 0,void 0,function(){var n,r,i,o,a,s,l,u,c,h;return(0,W.Jh)(this,function(p){switch(p.label){case 0:if(r=(n=this.defaultView.canvas2Viewport({x:t,y:e})).x,i=n.y,a=(o=this.defaultView.getConfig()).width,s=o.height,r<0||i<0||r>a||i>s)return[2,null];return u=(l=this.defaultView.viewport2Client({x:r,y:i})).x,c=l.y,[4,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!0,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]})];case 1:return[2,(h=p.sent().picked)&&h[0]||this.documentElement]}})})},e.prototype.elementsFromPointSync=function(t,e){var n=this.defaultView.canvas2Viewport({x:t,y:e}),r=n.x,i=n.y,o=this.defaultView.getConfig(),a=o.width,s=o.height;if(r<0||i<0||r>a||i>s)return[];var l=this.defaultView.viewport2Client({x:r,y:i}),u=l.x,c=l.y,h=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!1,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]}).picked;return h[h.length-1]!==this.documentElement&&h.push(this.documentElement),h},e.prototype.elementsFromPoint=function(t,e){return(0,W.mG)(this,void 0,void 0,function(){var n,r,i,o,a,s,l,u,c,h;return(0,W.Jh)(this,function(p){switch(p.label){case 0:if(r=(n=this.defaultView.canvas2Viewport({x:t,y:e})).x,i=n.y,a=(o=this.defaultView.getConfig()).width,s=o.height,r<0||i<0||r>a||i>s)return[2,[]];return u=(l=this.defaultView.viewport2Client({x:r,y:i})).x,c=l.y,[4,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!1,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]})];case 1:return(h=p.sent().picked)[h.length-1]!==this.documentElement&&h.push(this.documentElement),[2,h]}})})},e.prototype.appendChild=function(t,e){throw Error(tq)},e.prototype.insertBefore=function(t,e){throw Error(tq)},e.prototype.removeChild=function(t,e){throw Error(tq)},e.prototype.replaceChild=function(t,e,n){throw Error(tq)},e.prototype.append=function(){throw Error(tq)},e.prototype.prepend=function(){throw Error(tq)},e.prototype.getElementById=function(t){return this.documentElement.getElementById(t)},e.prototype.getElementsByName=function(t){return this.documentElement.getElementsByName(t)},e.prototype.getElementsByTagName=function(t){return this.documentElement.getElementsByTagName(t)},e.prototype.getElementsByClassName=function(t){return this.documentElement.getElementsByClassName(t)},e.prototype.querySelector=function(t){return this.documentElement.querySelector(t)},e.prototype.querySelectorAll=function(t){return this.documentElement.querySelectorAll(t)},e.prototype.find=function(t){return this.documentElement.find(t)},e.prototype.findAll=function(t){return this.documentElement.findAll(t)},e}(rE),r7=function(){function t(t){this.strategies=t}return t.prototype.apply=function(e){var n=e.camera,r=e.renderingService,i=e.renderingContext,o=this.strategies;r.hooks.cull.tap(t.tag,function(t){if(t){var e=t.cullable;return(0===o.length?e.visible=i.unculledEntities.indexOf(t.entity)>-1:e.visible=o.every(function(e){return e.isVisible(n,t)}),!t.isCulled()&&t.isVisible())?t:(t.dispatchEvent(new rg(X.CULLED)),null)}return t}),r.hooks.afterRender.tap(t.tag,function(t){t.cullable.visibilityPlaneMask=-1})},t.tag="Culling",t}(),it=function(){function t(){var t=this;this.autoPreventDefault=!1,this.rootPointerEvent=new rv(null),this.rootWheelEvent=new ry(null),this.onPointerMove=function(e){var n,r,i,o,a=null===(o=null===(i=t.context.renderingContext.root)||void 0===i?void 0:i.ownerDocument)||void 0===o?void 0:o.defaultView;if(!a.supportsTouchEvents||"touch"!==e.pointerType){var s=t.normalizeToPointerEvent(e,a);try{for(var l=(0,W.XA)(s),u=l.next();!u.done;u=l.next()){var c=u.value,h=t.bootstrapEvent(t.rootPointerEvent,c,a,e);t.context.eventService.mapEvent(h)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}t.setCursor(t.context.eventService.cursor)}},this.onClick=function(e){var n,r,i,o,a=null===(o=null===(i=t.context.renderingContext.root)||void 0===i?void 0:i.ownerDocument)||void 0===o?void 0:o.defaultView,s=t.normalizeToPointerEvent(e,a);try{for(var l=(0,W.XA)(s),u=l.next();!u.done;u=l.next()){var c=u.value,h=t.bootstrapEvent(t.rootPointerEvent,c,a,e);t.context.eventService.mapEvent(h)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}t.setCursor(t.context.eventService.cursor)}}return t.prototype.apply=function(e){var n=this;this.context=e;var r=e.renderingService,i=this.context.renderingContext.root.ownerDocument.defaultView;this.context.eventService.setPickHandler(function(t){return n.context.renderingService.hooks.pickSync.call({position:t,picked:[],topmost:!0}).picked[0]||null}),r.hooks.pointerWheel.tap(t.tag,function(t){var e=n.normalizeWheelEvent(t);n.context.eventService.mapEvent(e)}),r.hooks.pointerDown.tap(t.tag,function(t){if(!i.supportsTouchEvents||"touch"!==t.pointerType){var e,r,o=n.normalizeToPointerEvent(t,i);n.autoPreventDefault&&o[0].isNormalized&&(t.cancelable||!("cancelable"in t))&&t.preventDefault();try{for(var a=(0,W.XA)(o),s=a.next();!s.done;s=a.next()){var l=s.value,u=n.bootstrapEvent(n.rootPointerEvent,l,i,t);n.context.eventService.mapEvent(u)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}n.setCursor(n.context.eventService.cursor)}}),r.hooks.pointerUp.tap(t.tag,function(t){if(!i.supportsTouchEvents||"touch"!==t.pointerType){var e,r,o=n.context.contextService.getDomElement(),a=n.context.eventService.isNativeEventFromCanvas(o,t)?"":"outside",s=n.normalizeToPointerEvent(t,i);try{for(var l=(0,W.XA)(s),u=l.next();!u.done;u=l.next()){var c=u.value,h=n.bootstrapEvent(n.rootPointerEvent,c,i,t);h.type+=a,n.context.eventService.mapEvent(h)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}n.setCursor(n.context.eventService.cursor)}}),r.hooks.pointerMove.tap(t.tag,this.onPointerMove),r.hooks.pointerOver.tap(t.tag,this.onPointerMove),r.hooks.pointerOut.tap(t.tag,this.onPointerMove),r.hooks.click.tap(t.tag,this.onClick),r.hooks.pointerCancel.tap(t.tag,function(t){var e,r,o=n.normalizeToPointerEvent(t,i);try{for(var a=(0,W.XA)(o),s=a.next();!s.done;s=a.next()){var l=s.value,u=n.bootstrapEvent(n.rootPointerEvent,l,i,t);n.context.eventService.mapEvent(u)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}n.setCursor(n.context.eventService.cursor)})},t.prototype.bootstrapEvent=function(t,e,n,r){t.view=n,t.originalEvent=null,t.nativeEvent=r,t.pointerId=e.pointerId,t.width=e.width,t.height=e.height,t.isPrimary=e.isPrimary,t.pointerType=e.pointerType,t.pressure=e.pressure,t.tangentialPressure=e.tangentialPressure,t.tiltX=e.tiltX,t.tiltY=e.tiltY,t.twist=e.twist,this.transferMouseData(t,e);var i=this.context.eventService.client2Viewport({x:e.clientX,y:e.clientY}),o=i.x,a=i.y;t.viewport.x=o,t.viewport.y=a;var s=this.context.eventService.viewport2Canvas(t.viewport),l=s.x,u=s.y;return t.canvas.x=l,t.canvas.y=u,t.global.copyFrom(t.canvas),t.offset.copyFrom(t.canvas),t.isTrusted=r.isTrusted,"pointerleave"===t.type&&(t.type="pointerout"),t.type.startsWith("mouse")&&(t.type=t.type.replace("mouse","pointer")),t.type.startsWith("touch")&&(t.type=nX[t.type]||t.type),t},t.prototype.normalizeWheelEvent=function(t){var e=this.rootWheelEvent;this.transferMouseData(e,t),e.deltaMode=t.deltaMode,e.deltaX=t.deltaX,e.deltaY=t.deltaY,e.deltaZ=t.deltaZ;var n=this.context.eventService.client2Viewport({x:t.clientX,y:t.clientY}),r=n.x,i=n.y;e.viewport.x=r,e.viewport.y=i;var o=this.context.eventService.viewport2Canvas(e.viewport),a=o.x,s=o.y;return e.canvas.x=a,e.canvas.y=s,e.global.copyFrom(e.canvas),e.offset.copyFrom(e.canvas),e.nativeEvent=t,e.type=t.type,e},t.prototype.transferMouseData=function(t,e){t.isTrusted=e.isTrusted,t.srcElement=e.srcElement,t.timeStamp=nj.now(),t.type=e.type,t.altKey=e.altKey,t.metaKey=e.metaKey,t.shiftKey=e.shiftKey,t.ctrlKey=e.ctrlKey,t.button=e.button,t.buttons=e.buttons,t.client.x=e.clientX,t.client.y=e.clientY,t.movement.x=e.movementX,t.movement.y=e.movementY,t.page.x=e.pageX,t.page.y=e.pageY,t.screen.x=e.screenX,t.screen.y=e.screenY,t.relatedTarget=null},t.prototype.setCursor=function(t){this.context.contextService.applyCursorStyle(t||this.context.config.cursor||"default")},t.prototype.normalizeToPointerEvent=function(t,e){var n=[];if(e.isTouchEvent(t))for(var r=0;r-1,a=0,s=r.length;a=1?Math.ceil(k):1,C=l||("auto"===(n=nz(a,"width"))?a.offsetWidth:parseFloat(n))||a.width/k,w=u||("auto"===(r=nz(a,"height"))?a.offsetHeight:parseFloat(r))||a.height/k),s&&(rL.offscreenCanvas=s),i.devicePixelRatio=k,i.requestAnimationFrame=null!=v?v:n1.bind(rL.globalThis),i.cancelAnimationFrame=null!=y?y:n2.bind(rL.globalThis),i.supportsTouchEvents=null!=E?E:"ontouchstart"in rL.globalThis,i.supportsPointerEvents=null!=m?m:!!rL.globalThis.PointerEvent,i.isTouchEvent=null!=S?S:function(t){return i.supportsTouchEvents&&t instanceof rL.globalThis.TouchEvent},i.isMouseEvent=null!=N?N:function(t){return!rL.globalThis.MouseEvent||t instanceof rL.globalThis.MouseEvent&&(!i.supportsPointerEvents||!(t instanceof rL.globalThis.PointerEvent))},i.initRenderingContext({container:o,canvas:a,width:C,height:w,renderer:h,offscreenCanvas:s,devicePixelRatio:k,cursor:d||"default",background:p||"transparent",createImage:g,document:f,supportsCSSTransform:x,useNativeClickEvent:T,alwaysTriggerPointerEventOnCanvas:P}),i.initDefaultCamera(C,w,h.clipSpaceNearZ),i.initRenderer(h,!0),i}(0,W.ZT)(e,t),e.prototype.initRenderingContext=function(t){this.context.config=t,this.context.renderingContext={root:this.document.documentElement,renderListCurrentFrame:[],unculledEntities:[],renderReasons:new Set,force:!1,dirty:!1}},e.prototype.initDefaultCamera=function(t,e,n){var r=this,i=new rL.CameraContribution;i.clipSpaceNearZ=n,i.setType(A.EXPLORING,O.DEFAULT).setPosition(t/2,e/2,500).setFocalPoint(t/2,e/2,0).setOrthographic(-(t/2),t/2,e/2,-(e/2),.1,1e3),i.canvas=this,i.eventEmitter.on(tK.UPDATED,function(){r.context.renderingContext.renderReasons.add(z.CAMERA_CHANGED),rL.enableSizeAttenuation&&r.getConfig().renderer.getConfig().enableSizeAttenuation&&r.updateSizeAttenuation()}),this.context.camera=i},e.prototype.updateSizeAttenuation=function(){var t=this.getCamera().getZoom();this.document.documentElement.forEach(function(e){rL.styleValueRegistry.updateSizeAttenuation(e,t)})},e.prototype.getConfig=function(){return this.context.config},e.prototype.getRoot=function(){return this.document.documentElement},e.prototype.getCamera=function(){return this.context.camera},e.prototype.getContextService=function(){return this.context.contextService},e.prototype.getEventService=function(){return this.context.eventService},e.prototype.getRenderingService=function(){return this.context.renderingService},e.prototype.getRenderingContext=function(){return this.context.renderingContext},e.prototype.getStats=function(){return this.getRenderingService().getStats()},Object.defineProperty(e.prototype,"ready",{get:function(){var t=this;return!this.readyPromise&&(this.readyPromise=new Promise(function(e){t.resolveReadyPromise=function(){e(t)}}),this.inited&&this.resolveReadyPromise()),this.readyPromise},enumerable:!1,configurable:!0}),e.prototype.destroy=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!1),e||this.dispatchEvent(new rg(j.BEFORE_DESTROY)),this.frameId&&(this.getConfig().cancelAnimationFrame||cancelAnimationFrame)(this.frameId);var n=this.getRoot();this.unmountChildren(n),t&&(this.document.destroy(),this.getEventService().destroy()),this.getRenderingService().destroy(),this.getContextService().destroy(),t&&this.context.rBushRoot&&(this.context.rBushRoot.clear(),this.context.rBushRoot=null,this.context.renderingContext.root=null),e||this.dispatchEvent(new rg(j.AFTER_DESTROY))},e.prototype.changeSize=function(t,e){this.resize(t,e)},e.prototype.resize=function(t,e){var n=this.context.config;n.width=t,n.height=e,this.getContextService().resize(t,e);var r=this.context.camera,i=r.getProjectionMode();r.setPosition(t/2,e/2,500).setFocalPoint(t/2,e/2,0),i===I.ORTHOGRAPHIC?r.setOrthographic(-(t/2),t/2,e/2,-(e/2),r.getNear(),r.getFar()):r.setAspect(t/e),this.dispatchEvent(new rg(j.RESIZE,{width:t,height:e}))},e.prototype.appendChild=function(t,e){return this.document.documentElement.appendChild(t,e)},e.prototype.insertBefore=function(t,e){return this.document.documentElement.insertBefore(t,e)},e.prototype.removeChild=function(t){return this.document.documentElement.removeChild(t)},e.prototype.removeChildren=function(){this.document.documentElement.removeChildren()},e.prototype.destroyChildren=function(){this.document.documentElement.destroyChildren()},e.prototype.render=function(t){var e=this;this.dispatchEvent(is),this.getRenderingService().render(this.getConfig(),t,function(){e.dispatchEvent(il)}),this.dispatchEvent(iu)},e.prototype.run=function(){var t=this,e=function(n,r){t.render(r),t.frameId=t.requestAnimationFrame(e)};e()},e.prototype.initRenderer=function(t,e){var n=this;if(void 0===e&&(e=!1),!t)throw Error("Renderer is required.");this.inited=!1,this.readyPromise=void 0,this.context.rBushRoot=new tN,this.context.renderingPlugins=[],this.context.renderingPlugins.push(new it,new ii,new r7([new ir])),this.loadRendererContainerModule(t),this.context.contextService=new this.context.ContextService((0,W.pi)((0,W.pi)({},rL),this.context)),this.context.renderingService=new rT(rL,this.context),this.context.eventService=new rx(rL,this.context),this.context.eventService.init(),this.context.contextService.init?(this.context.contextService.init(),this.initRenderingService(t,e,!0)):this.context.contextService.initAsync().then(function(){n.initRenderingService(t,e)})},e.prototype.initRenderingService=function(t,e,n){var r=this;void 0===e&&(e=!1),void 0===n&&(n=!1),this.context.renderingService.init(function(){r.inited=!0,e?(n?r.requestAnimationFrame(function(){r.dispatchEvent(new rg(j.READY))}):r.dispatchEvent(new rg(j.READY)),r.readyPromise&&r.resolveReadyPromise()):r.dispatchEvent(new rg(j.RENDERER_CHANGED)),e||r.getRoot().forEach(function(t){var e=t.renderable;e&&(e.renderBoundsDirty=!0,e.boundsDirty=!0,e.dirty=!0)}),r.mountChildren(r.getRoot()),t.getConfig().enableAutoRendering&&r.run()})},e.prototype.loadRendererContainerModule=function(t){var e=this;t.getPlugins().forEach(function(t){t.context=e.context,t.init(rL)})},e.prototype.setRenderer=function(t){var e=this.getConfig();if(e.renderer!==t){var n=e.renderer;e.renderer=t,this.destroy(!1,!0),(0,W.ev)([],(0,W.CR)(null==n?void 0:n.getPlugins()),!1).reverse().forEach(function(t){t.destroy(rL)}),this.initRenderer(t)}},e.prototype.setCursor=function(t){this.getConfig().cursor=t,this.getContextService().applyCursorStyle(t)},e.prototype.unmountChildren=function(t){var e=this;t.childNodes.forEach(function(t){e.unmountChildren(t)}),this.inited&&(t.isMutationObserved?t.dispatchEvent(ia):(ia.target=t,this.dispatchEvent(ia,!0)),t!==this.document.documentElement&&(t.ownerDocument=null),t.isConnected=!1),t.isCustomElement&&t.disconnectedCallback&&t.disconnectedCallback()},e.prototype.mountChildren=function(t){var e=this;this.inited?t.isConnected||(t.ownerDocument=this.document,t.isConnected=!0,t.isMutationObserved?t.dispatchEvent(io):(io.target=t,this.dispatchEvent(io,!0))):console.warn("[g]: You are trying to call `canvas.appendChild` before canvas' initialization finished. You can either await `canvas.ready` or listen to `CanvasEvent.READY` manually.","appended child: ",t.nodeName),t.childNodes.forEach(function(t){e.mountChildren(t)}),t.isCustomElement&&t.connectedCallback&&t.connectedCallback()},e.prototype.client2Viewport=function(t){return this.getEventService().client2Viewport(t)},e.prototype.viewport2Client=function(t){return this.getEventService().viewport2Client(t)},e.prototype.viewport2Canvas=function(t){return this.getEventService().viewport2Canvas(t)},e.prototype.canvas2Viewport=function(t){return this.getEventService().canvas2Viewport(t)},e.prototype.getPointByClient=function(t,e){return this.client2Viewport({x:t,y:e})},e.prototype.getClientByPoint=function(t,e){return this.viewport2Client({x:t,y:e})}}(rm)}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/f9a75a99-95eebf4be8f76543.js b/dbgpt/app/static/web/_next/static/chunks/f9a75a99-95eebf4be8f76543.js new file mode 100644 index 000000000..2a48a92f5 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/f9a75a99-95eebf4be8f76543.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8674],{15755:function(t,e,n){n.d(e,{Cm:function(){return L},Dk:function(){return X},F6:function(){return tw},G$:function(){return na},G0:function(){return ri},GL:function(){return U},Rx:function(){return eE},bn:function(){return M},jU:function(){return nz},o6:function(){return ex},s$:function(){return r$}});var r,i,o,a,s,l,u,c,h,p,d,f,v,y,g,m,E,x,b,T,P,S,N,C,w,M,k,R,A,O,I,L,D,G,B,F,_,U,V,Z,Y,z,X,j,W=n(97582),H=n(63968),q=n(77160),K=n(85975),J=n(35600),$=n(98333),Q=n(32945),tt=n(31437),te=n(25897),tn=n(44078),tr=n(95147),ti=n(76714),to=n(81957),ta=n(69877),ts=n(71523),tl=n(13882),tu=n(80450),tc=n(8614),th=n(4848),tp=n(75839),td=n(99872),tf=n(92455),tv=n(65850),ty=n(28659),tg=n(83555),tm=n(71154),tE=n(5199),tx=n(90134),tb=n(4637),tT=n(84329),tP=n(16372),tS=n(11702),tN=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self,{exports:{}});tN.exports=function(){function t(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function e(t,e){return te?1:0}var n=function(t){void 0===t&&(t=9),this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function r(t,e){i(t,0,t.children.length,e,t)}function i(t,e,n,r,i){i||(i=p(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var a=e;a=t.minX&&e.maxY>=t.minY}function p(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function d(n,r,i,o,a){for(var s=[r,i];s.length;)if(i=s.pop(),r=s.pop(),!(i-r<=o)){var l=r+Math.ceil((i-r)/o/2)*o;(function e(n,r,i,o,a){for(;o>i;){if(o-i>600){var s=o-i+1,l=r-i+1,u=Math.log(s),c=.5*Math.exp(2*u/3),h=.5*Math.sqrt(u*c*(s-c)/s)*(l-s/2<0?-1:1),p=Math.max(i,Math.floor(r-l*c/s+h)),d=Math.min(o,Math.floor(r+(s-l)*c/s+h));e(n,r,p,d,a)}var f=n[r],v=i,y=o;for(t(n,i,r),a(n[o],f)>0&&t(n,i,o);va(n[v],f);)v++;for(;a(n[y],f)>0;)y--}0===a(n[i],f)?t(n,i,y):t(n,++y,o),y<=r&&(i=y+1),r<=y&&(o=y-1)}})(n,l,r||0,i||n.length-1,a||e),s.push(r,l,l,i)}}return n.prototype.all=function(){return this._all(this.data,[])},n.prototype.search=function(t){var e=this.data,n=[];if(!h(t,e))return n;for(var r=this.toBBox,i=[];e;){for(var o=0;o=0;)if(i[e].children.length>this._maxEntries)this._split(i,e),e--;else break;this._adjustParentBBoxes(r,i,e)},n.prototype._split=function(t,e){var n=t[e],i=n.children.length,o=this._minEntries;this._chooseSplitAxis(n,o,i);var a=this._chooseSplitIndex(n,o,i),s=p(n.children.splice(a,n.children.length-a));s.height=n.height,s.leaf=n.leaf,r(n,this.toBBox),r(s,this.toBBox),e?t[e-1].children.push(s):this._splitRoot(n,s)},n.prototype._splitRoot=function(t,e){this.data=p([t,e]),this.data.height=t.height+1,this.data.leaf=!1,r(this.data,this.toBBox)},n.prototype._chooseSplitIndex=function(t,e,n){for(var r,o=1/0,a=1/0,s=e;s<=n-e;s++){var u=i(t,0,s,this.toBBox),c=i(t,s,n,this.toBBox),h=function(t,e){var n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY);return Math.max(0,Math.min(t.maxX,e.maxX)-n)*Math.max(0,Math.min(t.maxY,e.maxY)-r)}(u,c),p=l(u)+l(c);h=e;d--){var f=t.children[d];o(l,t.leaf?a(f):f),c+=u(l)}return c},n.prototype._adjustParentBBoxes=function(t,e,n){for(var r=n;r>=0;r--)o(e[r],t)},n.prototype._condense=function(t){for(var e=t.length-1,n=void 0;e>=0;e--)0===t[e].children.length?e>0?(n=t[e-1].children).splice(n.indexOf(t[e]),1):this.clear():r(t[e],this.toBBox)},n}();var tC=tN.exports;(r=M||(M={})).GROUP="g",r.CIRCLE="circle",r.ELLIPSE="ellipse",r.IMAGE="image",r.RECT="rect",r.LINE="line",r.POLYLINE="polyline",r.POLYGON="polygon",r.TEXT="text",r.PATH="path",r.HTML="html",r.MESH="mesh",(i=k||(k={}))[i.ZERO=0]="ZERO",i[i.NEGATIVE_ONE=1]="NEGATIVE_ONE";var tw=function(){function t(){this.plugins=[]}return t.prototype.addRenderingPlugin=function(t){this.plugins.push(t),this.context.renderingPlugins.push(t)},t.prototype.removeAllRenderingPlugins=function(){var t=this;this.plugins.forEach(function(e){var n=t.context.renderingPlugins.indexOf(e);n>=0&&t.context.renderingPlugins.splice(n,1)})},t}();function tM(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function tk(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function tR(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function tA(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function tO(t){return void 0===t?0:t>360||t<-360?t%360:t}function tI(t,e,n){return(void 0===e&&(e=0),void 0===n&&(n=0),Array.isArray(t)&&3===t.length)?q.d9(t):(0,te.Z)(t)?q.al(t,e,n):q.al(t[0],t[1]||e,t[2]||n)}function tL(t){return t*(Math.PI/180)}function tD(t){return t*(180/Math.PI)}function tG(t,e){var n,r,i,o,a,s,l,u,c,h,p,d,f,v,y,g,m;return 16===e.length?(i=.5*Math.PI,a=(o=(0,W.CR)(K.getScaling(q.Ue(),e),3))[0],s=o[1],l=o[2],(u=Math.asin(-e[2]/a))-i?(n=Math.atan2(e[6]/s,e[10]/l),r=Math.atan2(e[1]/a,e[0]/a)):(r=0,n=-Math.atan2(e[4]/s,e[5]/s)):(r=0,n=Math.atan2(e[4]/s,e[5]/s)),t[0]=n,t[1]=u,t[2]=r,t):(c=e[0],h=e[1],p=e[2],d=e[3],g=c*c+(f=h*h)+(v=p*p)+(y=d*d),(m=c*d-h*p)>.499995*g?(t[0]=Math.PI/2,t[1]=2*Math.atan2(h,c),t[2]=0):m<-.499995*g?(t[0]=-Math.PI/2,t[1]=2*Math.atan2(h,c),t[2]=0):(t[0]=Math.asin(2*(c*p-d*h)),t[1]=Math.atan2(2*(c*d+h*p),1-2*(v+y)),t[2]=Math.atan2(2*(c*h+p*d),1-2*(f+v))),t)}function tB(t){var e=t[0],n=t[1],r=t[3],i=t[4],o=Math.sqrt(e*e+n*n),a=Math.sqrt(r*r+i*i);e*i-n*r<0&&(e-1&&this.plugins.splice(e,1)},t.prototype.getPlugins=function(){return this.plugins},t.prototype.getPlugin=function(t){return this.plugins.find(function(e){return e.name===t})},t.prototype.getConfig=function(){return this.config},t.prototype.setConfig=function(t){Object.assign(this.config,t)}}();var tF=K.create(),t_=K.create(),tU=$.Ue(),tV=[q.Ue(),q.Ue(),q.Ue()],tZ=q.Ue();function tY(t,e,n,r,i){t[0]=e[0]*r+n[0]*i,t[1]=e[1]*r+n[1]*i,t[2]=e[2]*r+n[2]*i}var tz=function(){function t(){this.center=[0,0,0],this.halfExtents=[0,0,0],this.min=[0,0,0],this.max=[0,0,0]}return t.isEmpty=function(t){return!t||0===t.halfExtents[0]&&0===t.halfExtents[1]&&0===t.halfExtents[2]},t.prototype.update=function(t,e){tM(this.center,t),tM(this.halfExtents,e),tk(this.min,this.center,this.halfExtents),tR(this.max,this.center,this.halfExtents)},t.prototype.setMinMax=function(t,e){tR(this.center,e,t),tA(this.center,this.center,.5),tk(this.halfExtents,e,t),tA(this.halfExtents,this.halfExtents,.5),tM(this.min,t),tM(this.max,e)},t.prototype.getMin=function(){return this.min},t.prototype.getMax=function(){return this.max},t.prototype.add=function(e){if(!t.isEmpty(e)){if(t.isEmpty(this)){this.setMinMax(e.getMin(),e.getMax());return}var n=this.center,r=n[0],i=n[1],o=n[2],a=this.halfExtents,s=a[0],l=a[1],u=a[2],c=r-s,h=r+s,p=i-l,d=i+l,f=o-u,v=o+u,y=e.center,g=y[0],m=y[1],E=y[2],x=e.halfExtents,b=x[0],T=x[1],P=x[2],S=g-b,N=g+b,C=m-T,w=m+T,M=E-P,k=E+P;Sh&&(h=N),Cd&&(d=w),Mv&&(v=k),n[0]=(c+h)*.5,n[1]=(p+d)*.5,n[2]=(f+v)*.5,a[0]=(h-c)*.5,a[1]=(d-p)*.5,a[2]=(v-f)*.5,this.min[0]=c,this.min[1]=p,this.min[2]=f,this.max[0]=h,this.max[1]=d,this.max[2]=v}},t.prototype.setFromTransformedAABB=function(t,e){var n=this.center,r=this.halfExtents,i=t.center,o=t.halfExtents,a=e[0],s=e[4],l=e[8],u=e[1],c=e[5],h=e[9],p=e[2],d=e[6],f=e[10],v=Math.abs(a),y=Math.abs(s),g=Math.abs(l),m=Math.abs(u),E=Math.abs(c),x=Math.abs(h),b=Math.abs(p),T=Math.abs(d),P=Math.abs(f);n[0]=e[12]+a*i[0]+s*i[1]+l*i[2],n[1]=e[13]+u*i[0]+c*i[1]+h*i[2],n[2]=e[14]+p*i[0]+d*i[1]+f*i[2],r[0]=v*o[0]+y*o[1]+g*o[2],r[1]=m*o[0]+E*o[1]+x*o[2],r[2]=b*o[0]+T*o[1]+P*o[2],tk(this.min,n,r),tR(this.max,n,r)},t.prototype.intersects=function(t){var e=this.getMax(),n=this.getMin(),r=t.getMax(),i=t.getMin();return n[0]<=r[0]&&e[0]>=i[0]&&n[1]<=r[1]&&e[1]>=i[1]&&n[2]<=r[2]&&e[2]>=i[2]},t.prototype.intersection=function(e){if(!this.intersects(e))return null;var n,r,i,o,a,s,l=new t,u=(n=[0,0,0],r=this.getMin(),i=e.getMin(),n[0]=Math.max(r[0],i[0]),n[1]=Math.max(r[1],i[1]),n[2]=Math.max(r[2],i[2]),n),c=(o=[0,0,0],a=this.getMax(),s=e.getMax(),o[0]=Math.min(a[0],s[0]),o[1]=Math.min(a[1],s[1]),o[2]=Math.min(a[2],s[2]),o);return l.setMinMax(u,c),l},t.prototype.getNegativeFarPoint=function(t){if(273===t.pnVertexFlag)return tM([0,0,0],this.min);if(272===t.pnVertexFlag)return[this.min[0],this.min[1],this.max[2]];if(257===t.pnVertexFlag)return[this.min[0],this.max[1],this.min[2]];if(256===t.pnVertexFlag)return[this.min[0],this.max[1],this.max[2]];if(17===t.pnVertexFlag)return[this.max[0],this.min[1],this.min[2]];if(16===t.pnVertexFlag)return[this.max[0],this.min[1],this.max[2]];if(1===t.pnVertexFlag)return[this.max[0],this.max[1],this.min[2]];else return[this.max[0],this.max[1],this.max[2]]},t.prototype.getPositiveFarPoint=function(t){if(273===t.pnVertexFlag)return tM([0,0,0],this.max);if(272===t.pnVertexFlag)return[this.max[0],this.max[1],this.min[2]];if(257===t.pnVertexFlag)return[this.max[0],this.min[1],this.max[2]];if(256===t.pnVertexFlag)return[this.max[0],this.min[1],this.min[2]];if(17===t.pnVertexFlag)return[this.min[0],this.max[1],this.max[2]];if(16===t.pnVertexFlag)return[this.min[0],this.max[1],this.min[2]];if(1===t.pnVertexFlag)return[this.min[0],this.min[1],this.max[2]];else return[this.min[0],this.min[1],this.min[2]]},t}(),tX=function(){function t(t,e){this.distance=t||0,this.normal=e||q.al(0,1,0),this.updatePNVertexFlag()}return t.prototype.updatePNVertexFlag=function(){this.pnVertexFlag=(Number(this.normal[0]>=0)<<8)+(Number(this.normal[1]>=0)<<4)+Number(this.normal[2]>=0)},t.prototype.distanceToPoint=function(t){return q.AK(t,this.normal)-this.distance},t.prototype.normalize=function(){var t=1/q.Zh(this.normal);q.bA(this.normal,this.normal,t),this.distance*=t},t.prototype.intersectsLine=function(t,e,n){var r=this.distanceToPoint(t),i=r/(r-this.distanceToPoint(e)),o=i>=0&&i<=1;return o&&n&&q.t7(n,t,e,i),o},t}();(o=R||(R={}))[o.OUTSIDE=4294967295]="OUTSIDE",o[o.INSIDE=0]="INSIDE",o[o.INDETERMINATE=2147483647]="INDETERMINATE";var tj=function(){function t(t){if(this.planes=[],t)this.planes=t;else for(var e=0;e<6;e++)this.planes.push(new tX)}return t.prototype.extractFromVPMatrix=function(t){var e=(0,W.CR)(t,16),n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],h=e[9],p=e[10],d=e[11],f=e[12],v=e[13],y=e[14],g=e[15];q.t8(this.planes[0].normal,o-n,u-a,d-c),this.planes[0].distance=g-f,q.t8(this.planes[1].normal,o+n,u+a,d+c),this.planes[1].distance=g+f,q.t8(this.planes[2].normal,o+r,u+s,d+h),this.planes[2].distance=g+v,q.t8(this.planes[3].normal,o-r,u-s,d-h),this.planes[3].distance=g-v,q.t8(this.planes[4].normal,o-i,u-l,d-p),this.planes[4].distance=g-y,q.t8(this.planes[5].normal,o+i,u+l,d+p),this.planes[5].distance=g+y,this.planes.forEach(function(t){t.normalize(),t.updatePNVertexFlag()})},t}(),tW=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.x=0,this.y=0,this.x=t,this.y=e}return t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.copyFrom=function(t){this.x=t.x,this.y=t.y},t}(),tH=function(){function t(t,e,n,r){this.x=t,this.y=e,this.width=n,this.height=r,this.left=t,this.right=t+n,this.top=e,this.bottom=e+r}return t.prototype.toJSON=function(){},t}(),tq="Method not implemented.",tK="Use document.documentElement instead.";(a=A||(A={}))[a.ORBITING=0]="ORBITING",a[a.EXPLORING=1]="EXPLORING",a[a.TRACKING=2]="TRACKING",(s=O||(O={}))[s.DEFAULT=0]="DEFAULT",s[s.ROTATIONAL=1]="ROTATIONAL",s[s.TRANSLATIONAL=2]="TRANSLATIONAL",s[s.CINEMATIC=3]="CINEMATIC",(l=I||(I={}))[l.ORTHOGRAPHIC=0]="ORTHOGRAPHIC",l[l.PERSPECTIVE=1]="PERSPECTIVE";var tJ={UPDATED:"updated"},t$=function(){function t(){this.clipSpaceNearZ=k.NEGATIVE_ONE,this.eventEmitter=new H.Z,this.matrix=K.create(),this.right=q.al(1,0,0),this.up=q.al(0,1,0),this.forward=q.al(0,0,1),this.position=q.al(0,0,1),this.focalPoint=q.al(0,0,0),this.distanceVector=q.al(0,0,-1),this.distance=1,this.azimuth=0,this.elevation=0,this.roll=0,this.relAzimuth=0,this.relElevation=0,this.relRoll=0,this.dollyingStep=0,this.maxDistance=1/0,this.minDistance=-1/0,this.zoom=1,this.rotateWorld=!1,this.fov=30,this.near=.1,this.far=1e3,this.aspect=1,this.projectionMatrix=K.create(),this.projectionMatrixInverse=K.create(),this.jitteredProjectionMatrix=void 0,this.enableUpdate=!0,this.type=A.EXPLORING,this.trackingMode=O.DEFAULT,this.projectionMode=I.PERSPECTIVE,this.frustum=new tj,this.orthoMatrix=K.create()}return t.prototype.isOrtho=function(){return this.projectionMode===I.ORTHOGRAPHIC},t.prototype.getProjectionMode=function(){return this.projectionMode},t.prototype.getPerspective=function(){return this.jitteredProjectionMatrix||this.projectionMatrix},t.prototype.getPerspectiveInverse=function(){return this.projectionMatrixInverse},t.prototype.getFrustum=function(){return this.frustum},t.prototype.getPosition=function(){return this.position},t.prototype.getFocalPoint=function(){return this.focalPoint},t.prototype.getDollyingStep=function(){return this.dollyingStep},t.prototype.getNear=function(){return this.near},t.prototype.getFar=function(){return this.far},t.prototype.getZoom=function(){return this.zoom},t.prototype.getOrthoMatrix=function(){return this.orthoMatrix},t.prototype.getView=function(){return this.view},t.prototype.setEnableUpdate=function(t){this.enableUpdate=t},t.prototype.setType=function(t,e){return this.type=t,this.type===A.EXPLORING?this.setWorldRotation(!0):this.setWorldRotation(!1),this._getAngles(),this.type===A.TRACKING&&void 0!==e&&this.setTrackingMode(e),this},t.prototype.setProjectionMode=function(t){return this.projectionMode=t,this},t.prototype.setTrackingMode=function(t){if(this.type!==A.TRACKING)throw Error("Impossible to set a tracking mode if the camera is not of tracking type");return this.trackingMode=t,this},t.prototype.setWorldRotation=function(t){return this.rotateWorld=t,this._getAngles(),this},t.prototype.getViewTransform=function(){return K.invert(K.create(),this.matrix)},t.prototype.getWorldTransform=function(){return this.matrix},t.prototype.jitterProjectionMatrix=function(t,e){var n=K.fromTranslation(K.create(),[t,e,0]);this.jitteredProjectionMatrix=K.multiply(K.create(),n,this.projectionMatrix)},t.prototype.clearJitterProjectionMatrix=function(){this.jitteredProjectionMatrix=void 0},t.prototype.setMatrix=function(t){return this.matrix=t,this._update(),this},t.prototype.setProjectionMatrix=function(t){this.projectionMatrix=t},t.prototype.setFov=function(t){return this.setPerspective(this.near,this.far,t,this.aspect),this},t.prototype.setAspect=function(t){return this.setPerspective(this.near,this.far,this.fov,t),this},t.prototype.setNear=function(t){return this.projectionMode===I.PERSPECTIVE?this.setPerspective(t,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,t,this.far),this},t.prototype.setFar=function(t){return this.projectionMode===I.PERSPECTIVE?this.setPerspective(this.near,t,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,t),this},t.prototype.setViewOffset=function(t,e,n,r,i,o){return this.aspect=t/e,void 0===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=o,this.projectionMode===I.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this},t.prototype.clearViewOffset=function(){return void 0!==this.view&&(this.view.enabled=!1),this.projectionMode===I.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this},t.prototype.setZoom=function(t){return this.zoom=t,this.projectionMode===I.ORTHOGRAPHIC?this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far):this.projectionMode===I.PERSPECTIVE&&this.setPerspective(this.near,this.far,this.fov,this.aspect),this},t.prototype.setZoomByViewportPoint=function(t,e){var n=this.canvas.viewport2Canvas({x:e[0],y:e[1]}),r=n.x,i=n.y,o=this.roll;this.rotate(0,0,-o),this.setPosition(r,i),this.setFocalPoint(r,i),this.setZoom(t),this.rotate(0,0,o);var a=this.canvas.viewport2Canvas({x:e[0],y:e[1]}),s=a.x,l=a.y,u=q.al(s-r,l-i,0),c=q.AK(u,this.right)/q.kE(this.right),h=q.AK(u,this.up)/q.kE(this.up);return this.pan(-c,-h),this},t.prototype.setPerspective=function(t,e,n,r){this.projectionMode=I.PERSPECTIVE,this.fov=n,this.near=t,this.far=e,this.aspect=r;var i,o,a,s,l,u,c,h,p,d=this.near*Math.tan(tL(.5*this.fov))/this.zoom,f=2*d,v=this.aspect*f,y=-.5*v;if(null===(p=this.view)||void 0===p?void 0:p.enabled){var g=this.view.fullWidth,m=this.view.fullHeight;y+=this.view.offsetX*v/g,d-=this.view.offsetY*f/m,v*=this.view.width/g,f*=this.view.height/m}return i=this.projectionMatrix,o=y,a=y+v,s=d,l=d-f,u=this.far,this.clipSpaceNearZ===k.ZERO?(c=-u/(u-t),h=-u*t/(u-t)):(c=-(u+t)/(u-t),h=-2*u*t/(u-t)),i[0]=2*t/(a-o),i[1]=0,i[2]=0,i[3]=0,i[4]=0,i[5]=2*t/(s-l),i[6]=0,i[7]=0,i[8]=(a+o)/(a-o),i[9]=(s+l)/(s-l),i[10]=c,i[11]=-1,i[12]=0,i[13]=0,i[14]=h,i[15]=0,K.scale(this.projectionMatrix,this.projectionMatrix,q.al(1,-1,1)),K.invert(this.projectionMatrixInverse,this.projectionMatrix),this.triggerUpdate(),this},t.prototype.setOrthographic=function(t,e,n,r,i,o){this.projectionMode=I.ORTHOGRAPHIC,this.rright=e,this.left=t,this.top=n,this.bottom=r,this.near=i,this.far=o;var a,s=(this.rright-this.left)/(2*this.zoom),l=(this.top-this.bottom)/(2*this.zoom),u=(this.rright+this.left)/2,c=(this.top+this.bottom)/2,h=u-s,p=u+s,d=c+l,f=c-l;if(null===(a=this.view)||void 0===a?void 0:a.enabled){var v=(this.rright-this.left)/this.view.fullWidth/this.zoom,y=(this.top-this.bottom)/this.view.fullHeight/this.zoom;h+=v*this.view.offsetX,p=h+v*this.view.width,d-=y*this.view.offsetY,f=d-y*this.view.height}return this.clipSpaceNearZ===k.NEGATIVE_ONE?K.ortho(this.projectionMatrix,h,p,f,d,i,o):K.orthoZO(this.projectionMatrix,h,p,f,d,i,o),K.scale(this.projectionMatrix,this.projectionMatrix,q.al(1,-1,1)),K.invert(this.projectionMatrixInverse,this.projectionMatrix),this._getOrthoMatrix(),this.triggerUpdate(),this},t.prototype.setPosition=function(t,e,n){void 0===e&&(e=this.position[1]),void 0===n&&(n=this.position[2]);var r=tI(t,e,n);return this._setPosition(r),this.setFocalPoint(this.focalPoint),this.triggerUpdate(),this},t.prototype.setFocalPoint=function(t,e,n){void 0===e&&(e=this.focalPoint[1]),void 0===n&&(n=this.focalPoint[2]);var r=q.al(0,1,0);if(this.focalPoint=tI(t,e,n),this.trackingMode===O.CINEMATIC){var i=q.$X(q.Ue(),this.focalPoint,this.position);t=i[0],e=i[1],n=i[2];var o=tD(Math.asin(e/q.kE(i))),a=90+tD(Math.atan2(n,t)),s=K.create();K.rotateY(s,s,tL(a)),K.rotateX(s,s,tL(o)),r=q.fF(q.Ue(),[0,1,0],s)}return K.invert(this.matrix,K.lookAt(K.create(),this.position,this.focalPoint,r)),this._getAxes(),this._getDistance(),this._getAngles(),this.triggerUpdate(),this},t.prototype.getDistance=function(){return this.distance},t.prototype.getDistanceVector=function(){return this.distanceVector},t.prototype.setDistance=function(t){if(this.distance===t||t<0)return this;this.distance=t,this.distance<2e-4&&(this.distance=2e-4),this.dollyingStep=this.distance/100;var e=q.Ue();t=this.distance;var n=this.forward,r=this.focalPoint;return e[0]=t*n[0]+r[0],e[1]=t*n[1]+r[1],e[2]=t*n[2]+r[2],this._setPosition(e),this.triggerUpdate(),this},t.prototype.setMaxDistance=function(t){return this.maxDistance=t,this},t.prototype.setMinDistance=function(t){return this.minDistance=t,this},t.prototype.setAzimuth=function(t){return this.azimuth=tO(t),this.computeMatrix(),this._getAxes(),this.type===A.ORBITING||this.type===A.EXPLORING?this._getPosition():this.type===A.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getAzimuth=function(){return this.azimuth},t.prototype.setElevation=function(t){return this.elevation=tO(t),this.computeMatrix(),this._getAxes(),this.type===A.ORBITING||this.type===A.EXPLORING?this._getPosition():this.type===A.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getElevation=function(){return this.elevation},t.prototype.setRoll=function(t){return this.roll=tO(t),this.computeMatrix(),this._getAxes(),this.type===A.ORBITING||this.type===A.EXPLORING?this._getPosition():this.type===A.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this},t.prototype.getRoll=function(){return this.roll},t.prototype._update=function(){this._getAxes(),this._getPosition(),this._getDistance(),this._getAngles(),this._getOrthoMatrix(),this.triggerUpdate()},t.prototype.computeMatrix=function(){var t=Q.yY(Q.Ue(),[0,0,1],tL(this.roll));K.identity(this.matrix);var e=Q.yY(Q.Ue(),[1,0,0],tL((this.rotateWorld&&this.type!==A.TRACKING||this.type===A.TRACKING?1:-1)*this.elevation)),n=Q.yY(Q.Ue(),[0,1,0],tL((this.rotateWorld&&this.type!==A.TRACKING||this.type===A.TRACKING?1:-1)*this.azimuth)),r=Q.Jp(Q.Ue(),n,e);r=Q.Jp(Q.Ue(),r,t);var i=K.fromQuat(K.create(),r);this.type===A.ORBITING||this.type===A.EXPLORING?(K.translate(this.matrix,this.matrix,this.focalPoint),K.multiply(this.matrix,this.matrix,i),K.translate(this.matrix,this.matrix,[0,0,this.distance])):this.type===A.TRACKING&&(K.translate(this.matrix,this.matrix,this.position),K.multiply(this.matrix,this.matrix,i))},t.prototype._setPosition=function(t,e,n){this.position=tI(t,e,n);var r=this.matrix;r[12]=this.position[0],r[13]=this.position[1],r[14]=this.position[2],r[15]=1,this._getOrthoMatrix()},t.prototype._getAxes=function(){q.JG(this.right,tI($.fF($.Ue(),[1,0,0,0],this.matrix))),q.JG(this.up,tI($.fF($.Ue(),[0,1,0,0],this.matrix))),q.JG(this.forward,tI($.fF($.Ue(),[0,0,1,0],this.matrix))),q.Fv(this.right,this.right),q.Fv(this.up,this.up),q.Fv(this.forward,this.forward)},t.prototype._getAngles=function(){var t=this.distanceVector[0],e=this.distanceVector[1],n=this.distanceVector[2],r=q.kE(this.distanceVector);if(0===r){this.elevation=0,this.azimuth=0;return}this.type===A.TRACKING?(this.elevation=tD(Math.asin(e/r)),this.azimuth=tD(Math.atan2(-t,-n))):this.rotateWorld?(this.elevation=tD(Math.asin(e/r)),this.azimuth=tD(Math.atan2(-t,-n))):(this.elevation=-tD(Math.asin(e/r)),this.azimuth=-tD(Math.atan2(-t,-n)))},t.prototype._getPosition=function(){q.JG(this.position,tI($.fF($.Ue(),[0,0,0,1],this.matrix))),this._getDistance()},t.prototype._getFocalPoint=function(){q.kK(this.distanceVector,[0,0,-this.distance],J.xO(J.Ue(),this.matrix)),q.IH(this.focalPoint,this.position,this.distanceVector),this._getDistance()},t.prototype._getDistance=function(){this.distanceVector=q.$X(q.Ue(),this.focalPoint,this.position),this.distance=q.kE(this.distanceVector),this.dollyingStep=this.distance/100},t.prototype._getOrthoMatrix=function(){if(this.projectionMode===I.ORTHOGRAPHIC){var t=this.position,e=Q.yY(Q.Ue(),[0,0,1],-this.roll*Math.PI/180);K.fromRotationTranslationScaleOrigin(this.orthoMatrix,e,q.al((this.rright-this.left)/2-t[0],(this.top-this.bottom)/2-t[1],0),q.al(this.zoom,this.zoom,1),t)}},t.prototype.triggerUpdate=function(){if(this.enableUpdate){var t=this.getViewTransform(),e=K.multiply(K.create(),this.getPerspective(),t);this.getFrustum().extractFromVPMatrix(e),this.eventEmitter.emit(tJ.UPDATED)}},t.prototype.rotate=function(t,e,n){throw Error(tq)},t.prototype.pan=function(t,e){throw Error(tq)},t.prototype.dolly=function(t){throw Error(tq)},t.prototype.createLandmark=function(t,e){throw Error(tq)},t.prototype.gotoLandmark=function(t,e){throw Error(tq)},t.prototype.cancelLandmarkAnimation=function(){throw Error(tq)},t}();function tQ(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var n=function(){for(var r=[],i=0;i=L.kEms&&t=_.kUnitType&&this.getType()<=_.kClampType},t}(),t9=function(t){function e(e){var n=t.call(this)||this;return n.colorSpace=e,n}return(0,W.ZT)(e,t),e.prototype.getType=function(){return _.kColorType},e.prototype.to=function(t){return this},e}(t4);(v=U||(U={}))[v.Constant=0]="Constant",v[v.LinearGradient=1]="LinearGradient",v[v.RadialGradient=2]="RadialGradient";var t8=function(t){function e(e,n){var r=t.call(this)||this;return r.type=e,r.value=n,r}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.type,this.value)},e.prototype.buildCSSText=function(t,e,n){return n},e.prototype.getType=function(){return _.kColorType},e}(t4),t6=function(t){function e(e){var n=t.call(this)||this;return n.value=e,n}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.value)},e.prototype.getType=function(){return _.kKeywordType},e.prototype.buildCSSText=function(t,e,n){return n+this.value},e}(t4),t7=tQ(function(t){return void 0===t&&(t=""),t.replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})}),et=function(t){return t.split("").map(function(t,e){return t.toUpperCase()===t?"".concat(0!==e?"-":"").concat(t.toLowerCase()):t}).join("")};function ee(t){return"function"==typeof t}var en={d:{alias:"path"},strokeDasharray:{alias:"lineDash"},strokeWidth:{alias:"lineWidth"},textAnchor:{alias:"textAlign"},src:{alias:"img"}},er=tQ(function(t){var e=t7(t),n=en[e];return(null==n?void 0:n.alias)||e}),ei=function(t,e){void 0===e&&(e="");var n="";return Number.isFinite(t)?(function(t){if(!t)throw Error()}(Number.isNaN(t)),n="NaN"):n=t>0?"infinity":"-infinity",n+e},eo=function(t){return t2(t1(t))},ea=function(t){function e(e,n){void 0===n&&(n=L.kNumber);var r,i,o=t.call(this)||this;return i="string"==typeof n?(r=n)?"number"===r?L.kNumber:"percent"===r||"%"===r?L.kPercentage:t0.find(function(t){return t.name===r}).unit_type:L.kUnknown:n,o.unit=i,o.value=e,o}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.value,this.unit)},e.prototype.equals=function(t){return this.value===t.value&&this.unit===t.unit},e.prototype.getType=function(){return _.kUnitType},e.prototype.convertTo=function(t){if(this.unit===t)return new e(this.value,this.unit);var n=eo(this.unit);if(n!==eo(t)||n===L.kUnknown)return null;var r=t3(this.unit)/t3(t);return new e(this.value*r,t)},e.prototype.buildCSSText=function(t,e,n){var r;switch(this.unit){case L.kUnknown:break;case L.kInteger:r=Number(this.value).toFixed(0);break;case L.kNumber:case L.kPercentage:case L.kEms:case L.kRems:case L.kPixels:case L.kDegrees:case L.kRadians:case L.kGradians:case L.kMilliseconds:case L.kSeconds:case L.kTurns:var i=this.value,o=t5(this.unit);if(i<-999999||i>999999){var a=t5(this.unit);r=!Number.isFinite(i)||Number.isNaN(i)?ei(i,a):i+(a||"")}else r="".concat(i).concat(o)}return n+r},e}(t4),es=new ea(0,"px");new ea(1,"px");var el=new ea(0,"deg"),eu=function(t){function e(e,n,r,i,o){void 0===i&&(i=1),void 0===o&&(o=!1);var a=t.call(this,"rgb")||this;return a.r=e,a.g=n,a.b=r,a.alpha=i,a.isNone=o,a}return(0,W.ZT)(e,t),e.prototype.clone=function(){return new e(this.r,this.g,this.b,this.alpha)},e.prototype.buildCSSText=function(t,e,n){return n+"rgba(".concat(this.r,",").concat(this.g,",").concat(this.b,",").concat(this.alpha,")")},e}(t9),ec=new t6("unset"),eh={"":ec,unset:ec,initial:new t6("initial"),inherit:new t6("inherit")},ep=function(t){return eh[t]||(eh[t]=new t6(t)),eh[t]},ed=new eu(0,0,0,0,!0),ef=new eu(0,0,0,0),ev=tQ(function(t,e,n,r){return new eu(t,e,n,r)},function(t,e,n,r){return"rgba(".concat(t,",").concat(e,",").concat(n,",").concat(r,")")}),ey=function(t,e){return void 0===e&&(e=L.kNumber),new ea(t,e)};new ea(50,"%"),(y=V||(V={}))[y.Standard=0]="Standard",(g=Z||(Z={}))[g.ADDED=0]="ADDED",g[g.REMOVED=1]="REMOVED",g[g.Z_INDEX_CHANGED=2]="Z_INDEX_CHANGED";var eg={absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new tH(0,0,0,0)};(m=Y||(Y={})).COORDINATE="",m.COLOR="",m.PAINT="",m.NUMBER="",m.ANGLE="",m.OPACITY_VALUE="",m.SHADOW_BLUR="",m.LENGTH="",m.PERCENTAGE="",m.LENGTH_PERCENTAGE=" | ",m.LENGTH_PERCENTAGE_12="[ | ]{1,2}",m.LENGTH_PERCENTAGE_14="[ | ]{1,4}",m.LIST_OF_POINTS="",m.PATH="",m.FILTER="",m.Z_INDEX="",m.OFFSET_DISTANCE="",m.DEFINED_PATH="",m.MARKER="",m.TRANSFORM="",m.TRANSFORM_ORIGIN="",m.TEXT="",m.TEXT_TRANSFORM="";var em=function(){var t={linearGradient:/^(linear\-gradient)/i,repeatingLinearGradient:/^(repeating\-linear\-gradient)/i,radialGradient:/^(radial\-gradient)/i,repeatingRadialGradient:/^(repeating\-radial\-gradient)/i,conicGradient:/^(conic\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},e="";function n(t){throw Error(e+": "+t)}function r(){return i("linear-gradient",t.linearGradient,a)||i("repeating-linear-gradient",t.repeatingLinearGradient,a)||i("radial-gradient",t.radialGradient,s)||i("repeating-radial-gradient",t.repeatingRadialGradient,s)||i("conic-gradient",t.conicGradient,s)}function i(e,r,i){return o(r,function(r){var o=i();return o&&!m(t.comma)&&n("Missing comma before color stops"),{type:e,orientation:o,colorStops:p(d)}})}function o(e,r){var i=m(e);if(i){m(t.startCall)||n("Missing (");var o=r(i);return m(t.endCall)||n("Missing )"),o}}function a(){return g("directional",t.sideOrCorner,1)||g("angular",t.angleValue,1)}function s(){var n,r,i=l();return i&&((n=[]).push(i),r=e,m(t.comma)&&((i=l())?n.push(i):e=r)),n}function l(){var t,e,n=((t=g("shape",/^(circle)/i,0))&&(t.style=y()||u()),t||((e=g("shape",/^(ellipse)/i,0))&&(e.style=v()||u()),e));if(n)n.at=c();else{var r=u();if(r){n=r;var i=c();i&&(n.at=i)}else{var o=h();o&&(n={type:"default-radial",at:o})}}return n}function u(){return g("extent-keyword",t.extentKeywords,1)}function c(){if(g("position",/^at/,0)){var t=h();return t||n("Missing positioning value"),t}}function h(){var t={x:v(),y:v()};if(t.x||t.y)return{type:"position",value:t}}function p(e){var r=e(),i=[];if(r)for(i.push(r);m(t.comma);)(r=e())?i.push(r):n("One extra comma");return i}function d(){var e=g("hex",t.hexColor,1)||o(t.rgbaColor,function(){return{type:"rgba",value:p(f)}})||o(t.rgbColor,function(){return{type:"rgb",value:p(f)}})||g("literal",t.literalColor,0);return e||n("Expected color definition"),e.length=v(),e}function f(){return m(t.number)[1]}function v(){return g("%",t.percentageValue,1)||g("position-keyword",t.positionKeywords,1)||y()}function y(){return g("px",t.pixelValue,1)||g("em",t.emValue,1)}function g(t,e,n){var r=m(e);if(r)return{type:t,value:r[n]}}function m(t){var n=/^[\n\r\t\s]+/.exec(e);n&&E(n[0].length);var r=t.exec(e);return r&&E(r[0].length),r}function E(t){e=e.substring(t)}return function(t){var i;return e=t,i=p(r),e.length>0&&n("Invalid input not EOF"),i}}();function eE(t,e,n,r){var i=tL(r.value),o=0+e/2,a=0+n/2,s=Math.abs(e*Math.cos(i))+Math.abs(n*Math.sin(i));return{x1:t[0]+o-Math.cos(i)*s/2,y1:t[1]+a-Math.sin(i)*s/2,x2:t[0]+o+Math.cos(i)*s/2,y2:t[1]+a+Math.sin(i)*s/2}}function ex(t,e,n,r,i,o){var a=r.value,s=i.value;r.unit===L.kPercentage&&(a=r.value/100*e),i.unit===L.kPercentage&&(s=i.value/100*n);var l=Math.max((0,tn.y)([0,0],[a,s]),(0,tn.y)([0,n],[a,s]),(0,tn.y)([e,n],[a,s]),(0,tn.y)([e,0],[a,s]));return o&&(o instanceof ea?l=o.value:o instanceof t6&&("closest-side"===o.value?l=Math.min(a,e-a,s,n-s):"farthest-side"===o.value?l=Math.max(a,e-a,s,n-s):"closest-corner"===o.value&&(l=Math.min((0,tn.y)([0,0],[a,s]),(0,tn.y)([0,n],[a,s]),(0,tn.y)([e,n],[a,s]),(0,tn.y)([e,0],[a,s]))))),{x:a+t[0],y:s+t[1],r:l}}var eb=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,eT=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,eP=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,eS=/[\d.]+:(#[^\s]+|[^\)]+\))/gi,eN={left:180,top:-90,bottom:90,right:0,"left top":225,"top left":225,"left bottom":135,"bottom left":135,"right top":-45,"top right":-45,"right bottom":45,"bottom right":45},eC=tQ(function(t){return ey("angular"===t.type?Number(t.value):eN[t.value]||0,"deg")}),ew=tQ(function(t){var e=50,n=50,r="%",i="%";if((null==t?void 0:t.type)==="position"){var o=t.value,a=o.x,s=o.y;(null==a?void 0:a.type)==="position-keyword"&&("left"===a.value?e=0:"center"===a.value?e=50:"right"===a.value?e=100:"top"===a.value?n=0:"bottom"===a.value&&(n=100)),(null==s?void 0:s.type)==="position-keyword"&&("left"===s.value?e=0:"center"===s.value?n=50:"right"===s.value?e=100:"top"===s.value?n=0:"bottom"===s.value&&(n=100)),((null==a?void 0:a.type)==="px"||(null==a?void 0:a.type)==="%"||(null==a?void 0:a.type)==="em")&&(r=null==a?void 0:a.type,e=Number(a.value)),((null==s?void 0:s.type)==="px"||(null==s?void 0:s.type)==="%"||(null==s?void 0:s.type)==="em")&&(i=null==s?void 0:s.type,n=Number(s.value))}return{cx:ey(e,r),cy:ey(n,i)}}),eM=tQ(function(t){if(t.indexOf("linear")>-1||t.indexOf("radial")>-1){var e;return em(t).map(function(t){var e=t.type,n=t.orientation,r=t.colorStops;!function(t){var e,n,r,i=t.length;t[i-1].length=null!==(e=t[i-1].length)&&void 0!==e?e:{type:"%",value:"100"},i>1&&(t[0].length=null!==(n=t[0].length)&&void 0!==n?n:{type:"%",value:"0"});for(var o=0,a=Number(t[0].length.value),s=1;s=0)return ey(Number(e),"px");if("deg".search(t)>=0)return ey(Number(e),"deg")}var n=[];e=e.replace(t,function(t){return n.push(t),"U"+t});var r="U("+t.source+")";return n.map(function(t){return ey(Number(e.replace(RegExp("U"+t,"g"),"").replace(RegExp(r,"g"),"*0")),t)})[0]}var eI=function(t){return eO(/px/g,t)},eL=tQ(eI);tQ(function(t){return eO(RegExp("%","g"),t)});var eD=function(t){return(0,te.Z)(t)||isFinite(Number(t))?ey(Number(t)||0,"px"):eO(RegExp("px|%|em|rem","g"),t)},eG=tQ(eD),eB=function(t){return eO(RegExp("deg|rad|grad|turn","g"),t)},eF=tQ(eB);function e_(t){var e=0;return t.unit===L.kDegrees?e=t.value:t.unit===L.kRadians?e=tD(Number(t.value)):t.unit===L.kTurns&&(e=360*Number(t.value)),e}function eU(t,e){var n;return(Array.isArray(t)?n=t.map(function(t){return Number(t)}):(0,ti.Z)(t)?n=t.split(" ").map(function(t){return Number(t)}):(0,te.Z)(t)&&(n=[t]),2===e)?1===n.length?[n[0],n[0]]:[n[0],n[1]]:1===n.length?[n[0],n[0],n[0],n[0]]:2===n.length?[n[0],n[1],n[0],n[1]]:3===n.length?[n[0],n[1],n[2],n[1]]:[n[0],n[1],n[2],n[3]]}function eV(t){return(0,ti.Z)(t)?t.split(" ").map(function(t){return eG(t)}):t.map(function(t){return eG(t.toString())})}function eZ(t,e,n,r){if(void 0===r&&(r=!1),t.unit===L.kPixels)return Number(t.value);if(t.unit===L.kPercentage&&n){var i=n.nodeName===M.GROUP?n.getLocalBounds():n.getGeometryBounds();return(r?i.min[e]:0)+t.value/100*i.halfExtents[e]*2}return 0}var eY=["blur","brightness","drop-shadow","contrast","grayscale","sepia","saturate","hue-rotate","invert"];function ez(t){if(void 0===t&&(t=""),"none"===(t=t.toLowerCase().trim()))return[];for(var e,n=/\s*([\w-]+)\(([^)]*)\)/g,r=[],i=0;(e=n.exec(t))&&e.index===i;)if(i=e.index+e[0].length,eY.indexOf(e[1])>-1&&r.push({name:e[1],params:e[2].split(" ").map(function(t){return eO(/deg|rad|grad|turn|px|%/g,t)||eR(t)})}),n.lastIndex===t.length)return r;return[]}function eX(t){return t.toString()}var ej=function(t){return"number"==typeof t?ey(t):/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t)?ey(Number(t)):ey(0)},eW=tQ(ej);function eH(t,e){return[t,e,eX]}function eq(t,e){return function(n,r){return[n,r,function(n){return eX((0,to.Z)(n,t,e))}]}}function eK(t,e){if(t.length===e.length)return[t,e,function(t){return t}]}function eJ(t){return 0===t.parsedStyle.d.totalLength&&(t.parsedStyle.d.totalLength=(0,ta.D)(t.parsedStyle.d.absolutePath)),t.parsedStyle.d.totalLength}function e$(t,e){return t[0]===e[0]&&t[1]===e[1]}function eQ(t,e){var n=t.prePoint,r=t.currentPoint,i=t.nextPoint,o=Math.pow(r[0]-n[0],2)+Math.pow(r[1]-n[1],2),a=Math.pow(r[0]-i[0],2)+Math.pow(r[1]-i[1],2),s=Math.acos((o+a-(Math.pow(n[0]-i[0],2)+Math.pow(n[1]-i[1],2)))/(2*Math.sqrt(o)*Math.sqrt(a)));if(!s||0===Math.sin(s)||(0,tu.Z)(s,0))return{xExtra:0,yExtra:0};var l=Math.abs(Math.atan2(i[1]-r[1],i[0]-r[0])),u=Math.abs(Math.atan2(i[0]-r[0],i[1]-r[1]));return{xExtra:Math.cos(s/2-(l=l>Math.PI/2?Math.PI-l:l))*(e/2*(1/Math.sin(s/2)))-e/2||0,yExtra:Math.cos((u=u>Math.PI/2?Math.PI-u:u)-s/2)*(e/2*(1/Math.sin(s/2)))-e/2||0}}function e0(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}tQ(function(t){return(0,ti.Z)(t)?t.split(" ").map(eW):t.map(eW)});var e1=function(t,e){var n=t.x*e.x+t.y*e.y,r=Math.sqrt((Math.pow(t.x,2)+Math.pow(t.y,2))*(Math.pow(e.x,2)+Math.pow(e.y,2)));return(t.x*e.y-t.y*e.x<0?-1:1)*Math.acos(n/r)},e2=function(t,e,n,r,i,o,a,s){e=Math.abs(e),n=Math.abs(n);var l=tL(r=(0,tc.Z)(r,360));if(t.x===a.x&&t.y===a.y)return{x:t.x,y:t.y,ellipticalArcAngle:0};if(0===e||0===n)return{x:0,y:0,ellipticalArcAngle:0};var u=(t.x-a.x)/2,c=(t.y-a.y)/2,h={x:Math.cos(l)*u+Math.sin(l)*c,y:-Math.sin(l)*u+Math.cos(l)*c},p=Math.pow(h.x,2)/Math.pow(e,2)+Math.pow(h.y,2)/Math.pow(n,2);p>1&&(e=Math.sqrt(p)*e,n=Math.sqrt(p)*n);var d=(Math.pow(e,2)*Math.pow(n,2)-Math.pow(e,2)*Math.pow(h.y,2)-Math.pow(n,2)*Math.pow(h.x,2))/(Math.pow(e,2)*Math.pow(h.y,2)+Math.pow(n,2)*Math.pow(h.x,2)),f=(i!==o?1:-1)*Math.sqrt(d=d<0?0:d),v={x:f*(e*h.y/n),y:f*(-(n*h.x)/e)},y={x:Math.cos(l)*v.x-Math.sin(l)*v.y+(t.x+a.x)/2,y:Math.sin(l)*v.x+Math.cos(l)*v.y+(t.y+a.y)/2},g={x:(h.x-v.x)/e,y:(h.y-v.y)/n},m=e1({x:1,y:0},g),E=e1(g,{x:(-h.x-v.x)/e,y:(-h.y-v.y)/n});!o&&E>0?E-=2*Math.PI:o&&E<0&&(E+=2*Math.PI);var x=m+(E%=2*Math.PI)*s,b=e*Math.cos(x),T=n*Math.sin(x);return{x:Math.cos(l)*b-Math.sin(l)*T+y.x,y:Math.sin(l)*b+Math.cos(l)*T+y.y,ellipticalArcStartAngle:m,ellipticalArcEndAngle:m+E,ellipticalArcAngle:x,ellipticalArcCenter:y,resultantRx:e,resultantRy:n}};function e3(t,e,n){void 0===n&&(n=!0);var r=t.arcParams,i=r.rx,o=void 0===i?0:i,a=r.ry,s=void 0===a?0:a,l=r.xRotation,u=r.arcFlag,c=r.sweepFlag,h=e2({x:t.prePoint[0],y:t.prePoint[1]},o,s,l,!!u,!!c,{x:t.currentPoint[0],y:t.currentPoint[1]},e),p=e2({x:t.prePoint[0],y:t.prePoint[1]},o,s,l,!!u,!!c,{x:t.currentPoint[0],y:t.currentPoint[1]},n?e+.005:e-.005),d=p.x-h.x,f=p.y-h.y,v=Math.sqrt(d*d+f*f);return{x:-d/v,y:-f/v}}function e5(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function e4(t,e){return e5(t)*e5(e)?(t[0]*e[0]+t[1]*e[1])/(e5(t)*e5(e)):1}function e9(t,e){return(t[0]*e[1]0&&n.push(r),{polygons:e,polylines:n}}(e),i=r.polygons,o=r.polylines,a=function(t){for(var e=[],n=null,r=null,i=null,o=0,a=t.length,s=0;s1&&(n*=Math.sqrt(d),r*=Math.sqrt(d));var f=n*n*(p*p)+r*r*(h*h),v=f?Math.sqrt((n*n*(r*r)-f)/f):1;o===a&&(v*=-1),isNaN(v)&&(v=0);var y=r?v*n*p/r:0,g=n?-(v*r)*h/n:0,m=(s+u)/2+Math.cos(i)*y-Math.sin(i)*g,E=(l+c)/2+Math.sin(i)*y+Math.cos(i)*g,x=[(h-y)/n,(p-g)/r],b=[(-1*h-y)/n,(-1*p-g)/r],T=e9([1,0],x),P=e9(x,b);return -1>=e4(x,b)&&(P=Math.PI),e4(x,b)>=1&&(P=0),0===a&&P>0&&(P-=2*Math.PI),1===a&&P<0&&(P+=2*Math.PI),{cx:m,cy:E,rx:e$(t,[u,c])?0:n,ry:e$(t,[u,c])?0:r,startAngle:T,endAngle:T+P,xRotation:i,arcFlag:o,sweepFlag:a}}(n,l);c.arcParams=h}if("Z"===u)n=i,r=t[o+1];else{var p=l.length;n=[l[p-2],l[p-1]]}r&&"Z"===r[0]&&(r=t[o],e[o]&&(e[o].prePoint=n)),c.currentPoint=n,e[o]&&e$(n,e[o].currentPoint)&&(e[o].prePoint=c.prePoint);var d=r?[r[r.length-2],r[r.length-1]]:null;c.nextPoint=d;var f=c.prePoint;if(["L","H","V"].includes(u))c.startTangent=[f[0]-n[0],f[1]-n[1]],c.endTangent=[n[0]-f[0],n[1]-f[1]];else if("Q"===u){var v=[l[1],l[2]];c.startTangent=[f[0]-v[0],f[1]-v[1]],c.endTangent=[n[0]-v[0],n[1]-v[1]]}else if("T"===u){var y=e[s-1],v=e0(y.currentPoint,f);"Q"===y.command?(c.command="Q",c.startTangent=[f[0]-v[0],f[1]-v[1]],c.endTangent=[n[0]-v[0],n[1]-v[1]]):(c.command="TL",c.startTangent=[f[0]-n[0],f[1]-n[1]],c.endTangent=[n[0]-f[0],n[1]-f[1]])}else if("C"===u){var g=[l[1],l[2]],m=[l[3],l[4]];c.startTangent=[f[0]-g[0],f[1]-g[1]],c.endTangent=[n[0]-m[0],n[1]-m[1]],0===c.startTangent[0]&&0===c.startTangent[1]&&(c.startTangent=[g[0]-m[0],g[1]-m[1]]),0===c.endTangent[0]&&0===c.endTangent[1]&&(c.endTangent=[m[0]-g[0],m[1]-g[1]])}else if("S"===u){var y=e[s-1],g=e0(y.currentPoint,f),m=[l[1],l[2]];"C"===y.command?(c.command="C",c.startTangent=[f[0]-g[0],f[1]-g[1]],c.endTangent=[n[0]-m[0],n[1]-m[1]]):(c.command="SQ",c.startTangent=[f[0]-m[0],f[1]-m[1]],c.endTangent=[n[0]-m[0],n[1]-m[1]])}else if("A"===u){var E=e3(c,0),x=E.x,b=E.y,T=e3(c,1,!1),P=T.x,S=T.y;c.startTangent=[x,b],c.endTangent=[P,S]}e.push(c)}return e}(e),s=function(t,e){for(var n=[],r=[],i=[],o=0;oMath.abs(K.determinant(t_))))){var a=tF[3],s=tF[7],l=tF[11],u=tF[12],c=tF[13],h=tF[14],p=tF[15];if(0!==a||0!==s||0!==l){if(tU[0]=a,tU[1]=s,tU[2]=l,tU[3]=p,!K.invert(t_,t_))return;K.transpose(t_,t_),$.fF(i,tU,t_)}else i[0]=i[1]=i[2]=0,i[3]=1;if(e[0]=u,e[1]=c,e[2]=h,tV[0][0]=tF[0],tV[0][1]=tF[1],tV[0][2]=tF[2],tV[1][0]=tF[4],tV[1][1]=tF[5],tV[1][2]=tF[6],tV[2][0]=tF[8],tV[2][1]=tF[9],tV[2][2]=tF[10],n[0]=q.kE(tV[0]),q.Fv(tV[0],tV[0]),r[0]=q.AK(tV[0],tV[1]),tY(tV[1],tV[1],tV[0],1,-r[0]),n[1]=q.kE(tV[1]),q.Fv(tV[1],tV[1]),r[0]/=n[1],r[1]=q.AK(tV[0],tV[2]),tY(tV[2],tV[2],tV[0],1,-r[1]),r[2]=q.AK(tV[1],tV[2]),tY(tV[2],tV[2],tV[1],1,-r[2]),n[2]=q.kE(tV[2]),q.Fv(tV[2],tV[2]),r[1]/=n[2],r[2]/=n[2],q.kC(tZ,tV[1],tV[2]),0>q.AK(tV[0],tZ))for(var d=0;d<3;d++)n[d]*=-1,tV[d][0]*=-1,tV[d][1]*=-1,tV[d][2]*=-1;o[0]=.5*Math.sqrt(Math.max(1+tV[0][0]-tV[1][1]-tV[2][2],0)),o[1]=.5*Math.sqrt(Math.max(1-tV[0][0]+tV[1][1]-tV[2][2],0)),o[2]=.5*Math.sqrt(Math.max(1-tV[0][0]-tV[1][1]+tV[2][2],0)),o[3]=.5*Math.sqrt(Math.max(1+tV[0][0]+tV[1][1]+tV[2][2],0)),tV[2][1]>tV[1][2]&&(o[0]=-o[0]),tV[0][2]>tV[2][0]&&(o[1]=-o[1]),tV[1][0]>tV[0][1]&&(o[2]=-o[2])}}(0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(nl).reduce(nu),e,n,r,i,o),[[e,n,r,o,i]]}var nh=function(){function t(t,e){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=e[r][o]*t[o][i];return n}return function(e,n,r,i,o){for(var a,s=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],l=0;l<4;l++)s[l][3]=o[l];for(var l=0;l<3;l++)for(var u=0;u<3;u++)s[3][l]+=e[u]*s[u][l];var c=i[0],h=i[1],p=i[2],d=i[3],f=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];f[0][0]=1-2*(h*h+p*p),f[0][1]=2*(c*h-p*d),f[0][2]=2*(c*p+h*d),f[1][0]=2*(c*h+p*d),f[1][1]=1-2*(c*c+p*p),f[1][2]=2*(h*p-c*d),f[2][0]=2*(c*p-h*d),f[2][1]=2*(h*p+c*d),f[2][2]=1-2*(c*c+h*h),s=t(s,f);var v=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];r[2]&&(v[2][1]=r[2],s=t(s,v)),r[1]&&(v[2][1]=0,v[2][0]=r[0],s=t(s,v)),r[0]&&(v[2][0]=0,v[1][0]=r[0],s=t(s,v));for(var l=0;l<3;l++)for(var u=0;u<3;u++)s[l][u]*=n[l];return 0==(a=s)[0][2]&&0==a[0][3]&&0==a[1][2]&&0==a[1][3]&&0==a[2][0]&&0==a[2][1]&&1==a[2][2]&&0==a[2][3]&&0==a[3][2]&&1==a[3][3]?[s[0][0],s[0][1],s[1][0],s[1][1],s[3][0],s[3][1]]:s[0].concat(s[1],s[2],s[3])}}();function np(t){return t.toFixed(6).replace(".000000","")}function nd(t,e){var n,r;return(t.decompositionPair!==e&&(t.decompositionPair=e,n=nc(t)),e.decompositionPair!==t&&(e.decompositionPair=t,r=nc(e)),null===n[0]||null===r[0])?[[!1],[!0],function(n){return n?e[0].d:t[0].d}]:(n[0].push(0),r[0].push(1),[n,r,function(t){var e=function(t,e,n){var r=function(t,e){for(var n=0,r=0;r"].calculator(null,null,{value:e.textTransform},t,null),(0,tm.Z)(e.clipPath)||this.runtime.CSSPropertySyntaxFactory[""].calculator("clipPath",p,e.clipPath,t,this.runtime),e.offsetPath&&this.runtime.CSSPropertySyntaxFactory[""].calculator("offsetPath",d,e.offsetPath,t,this.runtime),e.transform&&(t.parsedStyle.transform=na(e.transform)),e.transformOrigin&&(t.parsedStyle.transformOrigin=ng(e.transformOrigin)),e.markerStart&&(t.parsedStyle.markerStart=this.runtime.CSSPropertySyntaxFactory[""].calculator(null,e.markerStart,e.markerStart,null,null)),e.markerEnd&&(t.parsedStyle.markerEnd=this.runtime.CSSPropertySyntaxFactory[""].calculator(null,e.markerEnd,e.markerEnd,null,null)),e.markerMid&&(t.parsedStyle.markerMid=this.runtime.CSSPropertySyntaxFactory[""].calculator("",e.markerMid,e.markerMid,null,null)),(0,tr.Z)(e.zIndex)||this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),(0,tr.Z)(e.offsetDistance)||this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),e.transform&&this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),e.transformOrigin&&this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,h),f&&(t.geometry.dirty=!0,t.renderable.boundsDirty=!0,t.renderable.renderBoundsDirty=!0,n.forceUpdateGeometry||this.runtime.sceneGraphService.dirtifyToRoot(t))}},t.prototype.parseProperty=function(t,e,n,r){var i=nT[t],o=e;if((""===e||(0,tr.Z)(e))&&(e="unset"),"unset"===e||"initial"===e||"inherit"===e)o=ep(e);else if(i){var a=i.k,s=i.syntax,l=s&&this.getPropertySyntax(s);a&&a.indexOf(e)>-1?o=ep(e):l&&(!r&&l.parserUnmemoize?o=l.parserUnmemoize(e,n):l.parser&&(o=l.parser(e,n)))}return o},t.prototype.computeProperty=function(t,e,n,r){var i=nT[t],o="g-root"===n.id,a=e;if(i){var s=i.syntax,l=i.inh,u=i.d;if(e instanceof t6){var c=e.value;if("unset"===c&&(c=l&&!o?"inherit":"initial"),"initial"===c)(0,tr.Z)(u)||(e=this.parseProperty(t,ee(u)?u(n.nodeName):u,n,r));else if("inherit"===c){var h=this.tryToResolveProperty(n,t,{inherited:!0});return(0,tr.Z)(h)?void this.addUnresolveProperty(n,t):h}}var p=s&&this.getPropertySyntax(s);if(p&&p.calculator){var d=n.parsedStyle[t];a=p.calculator(t,d,e,n,this.runtime)}else a=e instanceof t6?e.value:e}return a},t.prototype.postProcessProperty=function(t,e,n){var r=nT[t];if(r&&r.syntax){var i=r.syntax&&this.getPropertySyntax(r.syntax);i&&i.postProcessor&&i.postProcessor(e,n)}},t.prototype.addUnresolveProperty=function(t,e){var n=nP.get(t);n||(nP.set(t,[]),n=nP.get(t)),-1===n.indexOf(e)&&n.push(e)},t.prototype.tryToResolveProperty=function(t,e,n){if(void 0===n&&(n={}),n.inherited&&t.parentElement&&nS(t.parentElement,e)){var r=t.parentElement.parsedStyle[e];if("unset"!==r&&"initial"!==r&&"inherit"!==r)return r}},t.prototype.recalc=function(t){var e=nP.get(t);if(e&&e.length){var n={};e.forEach(function(e){n[e]=t.attributes[e]}),this.processProperties(t,n),nP.delete(t)}},t.prototype.updateGeometry=function(t){var e=t.nodeName,n=this.runtime.geometryUpdaterFactory[e];if(n){var r=t.geometry;r.contentBounds||(r.contentBounds=new tz),r.renderBounds||(r.renderBounds=new tz);var i=t.parsedStyle,o=n.update(i,t),a=o.cx,s=o.cy,l=o.cz,u=o.hwidth,c=void 0===u?0:u,h=o.hheight,p=void 0===h?0:h,d=o.hdepth,f=[Math.abs(c),Math.abs(p),void 0===d?0:d],v=i.stroke,y=i.lineWidth,g=i.increasedLineWidthForHitTesting,m=i.shadowType,E=void 0===m?"outer":m,x=i.shadowColor,b=i.filter,T=i.transformOrigin,P=[void 0===a?0:a,void 0===s?0:s,void 0===l?0:l];r.contentBounds.update(P,f);var S=e===M.POLYLINE||e===M.POLYGON||e===M.PATH?Math.SQRT2:.5;if(v&&!v.isNone){var N=(((void 0===y?1:y)||0)+((void 0===g?0:g)||0))*S;f[0]+=N,f[1]+=N}if(r.renderBounds.update(P,f),x&&E&&"inner"!==E){var C=r.renderBounds,w=C.min,k=C.max,R=i.shadowBlur,A=i.shadowOffsetX,O=i.shadowOffsetY,I=R||0,L=A||0,D=O||0,G=w[0]-I+L,B=k[0]+I+L,F=w[1]-I+D,_=k[1]+I+D;w[0]=Math.min(w[0],G),k[0]=Math.max(k[0],B),w[1]=Math.min(w[1],F),k[1]=Math.max(k[1],_),r.renderBounds.setMinMax(w,k)}(void 0===b?[]:b).forEach(function(t){var e=t.name,n=t.params;if("blur"===e){var i=n[0].value;r.renderBounds.update(r.renderBounds.center,tR(r.renderBounds.halfExtents,r.renderBounds.halfExtents,[i,i,0]))}else if("drop-shadow"===e){var o=n[0].value,a=n[1].value,s=n[2].value,l=r.renderBounds,u=l.min,c=l.max,h=u[0]-s+o,p=c[0]+s+o,d=u[1]-s+a,f=c[1]+s+a;u[0]=Math.min(u[0],h),c[0]=Math.max(c[0],p),u[1]=Math.min(u[1],d),c[1]=Math.max(c[1],f),r.renderBounds.setMinMax(u,c)}}),t.geometry.dirty=!1;var U=p<0,V=(c<0?-1:1)*(T?eZ(T[0],0,t,!0):0),Z=(U?-1:1)*(T?eZ(T[1],1,t,!0):0);(V||Z)&&t.setOrigin(V,Z)}},t.prototype.updateSizeAttenuation=function(t,e){t.style.isSizeAttenuation?(t.style.rawLineWidth||(t.style.rawLineWidth=t.style.lineWidth),t.style.lineWidth=(t.style.rawLineWidth||1)/e,t.nodeName===M.CIRCLE&&(t.style.rawR||(t.style.rawR=t.style.r),t.style.r=(t.style.rawR||1)/e)):(t.style.rawLineWidth&&(t.style.lineWidth=t.style.rawLineWidth,delete t.style.rawLineWidth),t.nodeName===M.CIRCLE&&t.style.rawR&&(t.style.r=t.style.rawR,delete t.style.rawR))},t.prototype.isPropertyInheritable=function(t){var e=nT[t];return!!e&&e.inh},t}(),nC=function(){function t(){this.parser=eF,this.parserUnmemoize=eB,this.parserWithCSSDisabled=null,this.mixer=eH}return t.prototype.calculator=function(t,e,n,r){return e_(n)},t}(),nw=function(){function t(){}return t.prototype.calculator=function(t,e,n,r,i){return n instanceof t6&&(n=null),i.sceneGraphService.updateDisplayObjectDependency(t,e,n,r),"clipPath"===t&&r.forEach(function(t){0===t.childNodes.length&&i.sceneGraphService.dirtifyToRoot(t)}),n},t}(),nM=function(){function t(){this.parser=eR,this.parserWithCSSDisabled=eR,this.mixer=eA}return t.prototype.calculator=function(t,e,n,r){return n instanceof t6?"none"===n.value?ed:ef:n},t}(),nk=function(){function t(){this.parser=ez}return t.prototype.calculator=function(t,e,n){return n instanceof t6?[]:n},t}();function nR(t){var e=t.parsedStyle.fontSize;return(0,tr.Z)(e)?null:e}var nA=function(){function t(){this.parser=eG,this.parserUnmemoize=eD,this.parserWithCSSDisabled=null,this.mixer=eH}return t.prototype.calculator=function(t,e,n,r,i){if((0,te.Z)(n))return n;if(!ea.isRelativeUnit(n.unit))return n.value;var o,a=i.styleValueRegistry;if(n.unit===L.kPercentage)return 0;if(n.unit===L.kEms){if(r.parentNode){var s=nR(r.parentNode);if(s)return s*n.value;a.addUnresolveProperty(r,t)}else a.addUnresolveProperty(r,t);return 0}if(n.unit===L.kRems){if(null===(o=null==r?void 0:r.ownerDocument)||void 0===o?void 0:o.documentElement){var s=nR(r.ownerDocument.documentElement);if(s)return s*n.value;a.addUnresolveProperty(r,t)}else a.addUnresolveProperty(r,t);return 0}},t}(),nO=function(){function t(){this.mixer=eK}return t.prototype.parser=function(t){var e=eV((0,te.Z)(t)?[t]:t);return 1===e.length?[e[0],e[0]]:[e[0],e[1]]},t.prototype.calculator=function(t,e,n){return n.map(function(t){return t.value})},t}(),nI=function(){function t(){this.mixer=eK}return t.prototype.parser=function(t){var e=eV((0,te.Z)(t)?[t]:t);return 1===e.length?[e[0],e[0],e[0],e[0]]:2===e.length?[e[0],e[1],e[0],e[1]]:3===e.length?[e[0],e[1],e[2],e[1]]:[e[0],e[1],e[2],e[3]]},t.prototype.calculator=function(t,e,n){return n.map(function(t){return t.value})},t}(),nL=function(){function t(){}return t.prototype.calculator=function(t,e,n,r){n instanceof t6&&(n=null);var i=null==n?void 0:n.cloneNode(!0);return i&&(i.style.isMarker=!0),i},t}(),nD=function(){function t(){this.mixer=eH,this.parser=eW,this.parserUnmemoize=ej,this.parserWithCSSDisabled=null}return t.prototype.calculator=function(t,e,n){return n.value},t}(),nG=function(){function t(){this.parser=eW,this.parserUnmemoize=ej,this.parserWithCSSDisabled=null,this.mixer=eq(0,1)}return t.prototype.calculator=function(t,e,n){return n.value},t.prototype.postProcessor=function(t){var e=t.parsedStyle,n=e.offsetPath,r=e.offsetDistance;if(n){var i=n.nodeName;if(i===M.LINE||i===M.PATH||i===M.POLYLINE){var o=n.getPoint(r);o&&t.setLocalPosition(o.x,o.y)}}},t}(),nB=function(){function t(){this.parser=eW,this.parserUnmemoize=ej,this.parserWithCSSDisabled=null,this.mixer=eq(0,1)}return t.prototype.calculator=function(t,e,n){return n.value},t}(),nF=function(){function t(){this.parser=e7,this.parserWithCSSDisabled=e7,this.mixer=nt}return t.prototype.calculator=function(t,e,n){return n instanceof t6&&"unset"===n.value?{absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new tH(0,0,0,0)}:n},t}(),n_=function(t){function e(){var e=t.apply(this,(0,W.ev)([],(0,W.CR)(arguments),!1))||this;return e.mixer=eq(0,1/0),e}return(0,W.ZT)(e,t),e}(nA),nU=function(){function t(){}return t.prototype.calculator=function(t,e,n,r){return n instanceof t6?"unset"===n.value?"":n.value:"".concat(n)},t.prototype.postProcessor=function(t){t.nodeValue="".concat(t.parsedStyle.text)||""},t}(),nV=function(){function t(){}return t.prototype.calculator=function(t,e,n,r){var i=r.getAttribute("text");if(i){var o=i;"capitalize"===n.value?o=i.charAt(0).toUpperCase()+i.slice(1):"lowercase"===n.value?o=i.toLowerCase():"uppercase"===n.value&&(o=i.toUpperCase()),r.parsedStyle.text=o}return n.value},t}(),nZ={},nY=0,nz="undefined"!=typeof window&&void 0!==window.document;function nX(t,e){var n=Number(t.parsedStyle.zIndex||0),r=Number(e.parsedStyle.zIndex||0);if(n===r){var i=t.parentNode;if(i){var o=i.childNodes||[];return o.indexOf(t)-o.indexOf(e)}}return n-r}function nj(t,e){if(nz)return document.defaultView.getComputedStyle(t,null).getPropertyValue(e)}var nW={touchstart:"pointerdown",touchend:"pointerup",touchendoutside:"pointerupoutside",touchmove:"pointermove",touchcancel:"pointercancel"},nH="object"==typeof performance&&performance.now?performance:Date,nq=1,nK="object"==typeof self&&self.self==self?self:"object"==typeof n.g&&n.g.global==n.g?n.g:{},nJ=Date.now(),n$={},nQ=Date.now(),n0=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function");var e=Date.now(),n=e-nQ,r=nq++;return n$[r]=t,Object.keys(n$).length>1||setTimeout(function(){nQ=e;var t=n$;n$={},Object.keys(t).forEach(function(e){return t[e](nK.performance&&"function"==typeof nK.performance.now?nK.performance.now():Date.now()-nJ)})},n>16?0:16-n),r},n1=function(t){return"string"!=typeof t?n0:""===t?nK.requestAnimationFrame:nK[t+"RequestAnimationFrame"]},n2=function(t,e){for(var n=0;void 0!==t[n];){if(e(t[n]))return t[n];n+=1}}(["","webkit","moz","ms","o"],function(t){return!!n1(t)}),n3=n1(n2),n5="string"!=typeof n2?function(t){delete n$[t]}:""===n2?nK.cancelAnimationFrame:nK[n2+"CancelAnimationFrame"]||nK[n2+"CancelRequestAnimationFrame"];nK.requestAnimationFrame=n3,nK.cancelAnimationFrame=n5;var n4=function(){function t(){this.callbacks=[]}return t.prototype.getCallbacksNum=function(){return this.callbacks.length},t.prototype.tapPromise=function(t,e){this.callbacks.push(e)},t.prototype.promise=function(){for(var t=[],e=0;e-1){var l=(0,W.CR)(t.split(":"),2),u=l[0];t=l[1],s=u,a=!0}if(t=r?"".concat(t,"capture"):t,e=ee(e)?e:e.handleEvent,a){var c=e;e=function(){for(var t,e=[],n=0;n0},e.prototype.isDefaultNamespace=function(t){throw Error(tq)},e.prototype.lookupNamespaceURI=function(t){throw Error(tq)},e.prototype.lookupPrefix=function(t){throw Error(tq)},e.prototype.normalize=function(){throw Error(tq)},e.prototype.isEqualNode=function(t){return this===t},e.prototype.isSameNode=function(t){return this.isEqualNode(t)},Object.defineProperty(e.prototype,"parent",{get:function(){return this.parentNode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentElement",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.childNodes.length>0?this.childNodes[0]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.childNodes.length>0?this.childNodes[this.childNodes.length-1]:null},enumerable:!1,configurable:!0}),e.prototype.compareDocumentPosition=function(t){if(t===this)return 0;for(var n,r=t,i=this,o=[r],a=[i];null!==(n=r.parentNode)&&void 0!==n?n:i.parentNode;)r=r.parentNode?(o.push(r.parentNode),r.parentNode):r,i=i.parentNode?(a.push(i.parentNode),i.parentNode):i;if(r!==i)return e.DOCUMENT_POSITION_DISCONNECTED|e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|e.DOCUMENT_POSITION_PRECEDING;var s=o.length>a.length?o:a,l=s===o?a:o;if(s[s.length-l.length]===l[0])return s===o?e.DOCUMENT_POSITION_CONTAINED_BY|e.DOCUMENT_POSITION_FOLLOWING:e.DOCUMENT_POSITION_CONTAINS|e.DOCUMENT_POSITION_PRECEDING;for(var u=s.length-l.length,c=l.length-1;c>=0;c--){var h=l[c],p=s[u+c];if(p!==h){var d=h.parentNode.childNodes;if(d.indexOf(h)0&&e;)e=e.parentNode,t--;return e},e.prototype.forEach=function(t,e){void 0===e&&(e=!1),t(this)||(e?this.childNodes.slice():this.childNodes).forEach(function(e){e.forEach(t)})},e.DOCUMENT_POSITION_DISCONNECTED=1,e.DOCUMENT_POSITION_PRECEDING=2,e.DOCUMENT_POSITION_FOLLOWING=4,e.DOCUMENT_POSITION_CONTAINS=8,e.DOCUMENT_POSITION_CONTAINED_BY=16,e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32,e}(rb),rP=function(){function t(t,e){var n=this;this.globalRuntime=t,this.context=e,this.emitter=new H.Z,this.nativeHTMLMap=new WeakMap,this.cursor="default",this.mappingTable={},this.mappingState={trackingData:{}},this.eventPool=new Map,this.tmpMatrix=K.create(),this.tmpVec3=q.Ue(),this.onPointerDown=function(t){var e=n.createPointerEvent(t);if(n.dispatchEvent(e,"pointerdown"),"touch"===e.pointerType)n.dispatchEvent(e,"touchstart");else if("mouse"===e.pointerType||"pen"===e.pointerType){var r=2===e.button;n.dispatchEvent(e,r?"rightdown":"mousedown")}n.trackingData(t.pointerId).pressTargetsByButton[t.button]=e.composedPath(),n.freeEvent(e)},this.onPointerUp=function(t){var e,r=nH.now(),i=n.createPointerEvent(t,void 0,void 0,n.context.config.alwaysTriggerPointerEventOnCanvas?n.rootTarget:void 0);if(n.dispatchEvent(i,"pointerup"),"touch"===i.pointerType)n.dispatchEvent(i,"touchend");else if("mouse"===i.pointerType||"pen"===i.pointerType){var o=2===i.button;n.dispatchEvent(i,o?"rightup":"mouseup")}var a=n.trackingData(t.pointerId),s=n.findMountedTarget(a.pressTargetsByButton[t.button]),l=s;if(s&&!i.composedPath().includes(s)){for(var u=s;u&&!i.composedPath().includes(u);){if(i.currentTarget=u,n.notifyTarget(i,"pointerupoutside"),"touch"===i.pointerType)n.notifyTarget(i,"touchendoutside");else if("mouse"===i.pointerType||"pen"===i.pointerType){var o=2===i.button;n.notifyTarget(i,o?"rightupoutside":"mouseupoutside")}rT.isNode(u)&&(u=u.parentNode)}delete a.pressTargetsByButton[t.button],l=u}if(l){var c=n.clonePointerEvent(i,"click");c.target=l,c.path=[],a.clicksByButton[t.button]||(a.clicksByButton[t.button]={clickCount:0,target:c.target,timeStamp:r});var h=a.clicksByButton[t.button];h.target===c.target&&r-h.timeStamp<200?++h.clickCount:h.clickCount=1,h.target=c.target,h.timeStamp=r,c.detail=h.clickCount,(null===(e=i.detail)||void 0===e?void 0:e.preventClick)||(n.context.config.useNativeClickEvent||"mouse"!==c.pointerType&&"touch"!==c.pointerType||n.dispatchEvent(c,"click"),n.dispatchEvent(c,"pointertap")),n.freeEvent(c)}n.freeEvent(i)},this.onPointerMove=function(t){var e=n.createPointerEvent(t,void 0,void 0,n.context.config.alwaysTriggerPointerEventOnCanvas?n.rootTarget:void 0),r="mouse"===e.pointerType||"pen"===e.pointerType,i=n.trackingData(t.pointerId),o=n.findMountedTarget(i.overTargets);if(i.overTargets&&o!==e.target){var a="mousemove"===t.type?"mouseout":"pointerout",s=n.createPointerEvent(t,a,o||void 0);if(n.dispatchEvent(s,"pointerout"),r&&n.dispatchEvent(s,"mouseout"),!e.composedPath().includes(o)){var l=n.createPointerEvent(t,"pointerleave",o||void 0);for(l.eventPhase=l.AT_TARGET;l.target&&!e.composedPath().includes(l.target);)l.currentTarget=l.target,n.notifyTarget(l),r&&n.notifyTarget(l,"mouseleave"),rT.isNode(l.target)&&(l.target=l.target.parentNode);n.freeEvent(l)}n.freeEvent(s)}if(o!==e.target){var u="mousemove"===t.type?"mouseover":"pointerover",c=n.clonePointerEvent(e,u);n.dispatchEvent(c,"pointerover"),r&&n.dispatchEvent(c,"mouseover");for(var h=o&&rT.isNode(o)&&o.parentNode;h&&h!==(rT.isNode(n.rootTarget)&&n.rootTarget.parentNode)&&h!==e.target;)h=h.parentNode;if(!h||h===(rT.isNode(n.rootTarget)&&n.rootTarget.parentNode)){var p=n.clonePointerEvent(e,"pointerenter");for(p.eventPhase=p.AT_TARGET;p.target&&p.target!==o&&p.target!==(rT.isNode(n.rootTarget)&&n.rootTarget.parentNode);)p.currentTarget=p.target,n.notifyTarget(p),r&&n.notifyTarget(p,"mouseenter"),rT.isNode(p.target)&&(p.target=p.target.parentNode);n.freeEvent(p)}n.freeEvent(c)}n.dispatchEvent(e,"pointermove"),"touch"===e.pointerType&&n.dispatchEvent(e,"touchmove"),r&&(n.dispatchEvent(e,"mousemove"),n.cursor=n.getCursor(e.target)),i.overTargets=e.composedPath(),n.freeEvent(e)},this.onPointerOut=function(t){var e=n.trackingData(t.pointerId);if(e.overTargets){var r="mouse"===t.pointerType||"pen"===t.pointerType,i=n.findMountedTarget(e.overTargets),o=n.createPointerEvent(t,"pointerout",i||void 0);n.dispatchEvent(o),r&&n.dispatchEvent(o,"mouseout");var a=n.createPointerEvent(t,"pointerleave",i||void 0);for(a.eventPhase=a.AT_TARGET;a.target&&a.target!==(rT.isNode(n.rootTarget)&&n.rootTarget.parentNode);)a.currentTarget=a.target,n.notifyTarget(a),r&&n.notifyTarget(a,"mouseleave"),rT.isNode(a.target)&&(a.target=a.target.parentNode);e.overTargets=null,n.freeEvent(o),n.freeEvent(a)}n.cursor=null},this.onPointerOver=function(t){var e=n.trackingData(t.pointerId),r=n.createPointerEvent(t),i="mouse"===r.pointerType||"pen"===r.pointerType;n.dispatchEvent(r,"pointerover"),i&&n.dispatchEvent(r,"mouseover"),"mouse"===r.pointerType&&(n.cursor=n.getCursor(r.target));var o=n.clonePointerEvent(r,"pointerenter");for(o.eventPhase=o.AT_TARGET;o.target&&o.target!==(rT.isNode(n.rootTarget)&&n.rootTarget.parentNode);)o.currentTarget=o.target,n.notifyTarget(o),i&&n.notifyTarget(o,"mouseenter"),rT.isNode(o.target)&&(o.target=o.target.parentNode);e.overTargets=r.composedPath(),n.freeEvent(r),n.freeEvent(o)},this.onPointerUpOutside=function(t){var e=n.trackingData(t.pointerId),r=n.findMountedTarget(e.pressTargetsByButton[t.button]),i=n.createPointerEvent(t);if(r){for(var o=r;o;)i.currentTarget=o,n.notifyTarget(i,"pointerupoutside"),"touch"===i.pointerType||("mouse"===i.pointerType||"pen"===i.pointerType)&&n.notifyTarget(i,2===i.button?"rightupoutside":"mouseupoutside"),rT.isNode(o)&&(o=o.parentNode);delete e.pressTargetsByButton[t.button]}n.freeEvent(i)},this.onWheel=function(t){var e=n.createWheelEvent(t);n.dispatchEvent(e),n.freeEvent(e)},this.onClick=function(t){if(n.context.config.useNativeClickEvent){var e=n.createPointerEvent(t);n.dispatchEvent(e),n.freeEvent(e)}},this.onPointerCancel=function(t){var e=n.createPointerEvent(t,void 0,void 0,n.context.config.alwaysTriggerPointerEventOnCanvas?n.rootTarget:void 0);n.dispatchEvent(e),n.freeEvent(e)}}return t.prototype.init=function(){this.rootTarget=this.context.renderingContext.root.parentNode,this.addEventMapping("pointerdown",this.onPointerDown),this.addEventMapping("pointerup",this.onPointerUp),this.addEventMapping("pointermove",this.onPointerMove),this.addEventMapping("pointerout",this.onPointerOut),this.addEventMapping("pointerleave",this.onPointerOut),this.addEventMapping("pointercancel",this.onPointerCancel),this.addEventMapping("pointerover",this.onPointerOver),this.addEventMapping("pointerupoutside",this.onPointerUpOutside),this.addEventMapping("wheel",this.onWheel),this.addEventMapping("click",this.onClick)},t.prototype.destroy=function(){this.emitter.removeAllListeners(),this.mappingTable={},this.mappingState={},this.eventPool.clear()},t.prototype.getScale=function(){var t=this.context.contextService.getBoundingClientRect(),e=1,n=1,r=this.context.contextService.getDomElement();if(r&&t){var i=r.offsetWidth,o=r.offsetHeight;i&&o&&(e=t.width/i,n=t.height/o)}return{scaleX:e,scaleY:n,bbox:t}},t.prototype.client2Viewport=function(t){var e=this.getScale(),n=e.scaleX,r=e.scaleY,i=e.bbox;return new tW((t.x-((null==i?void 0:i.left)||0))/n,(t.y-((null==i?void 0:i.top)||0))/r)},t.prototype.viewport2Client=function(t){var e=this.getScale(),n=e.scaleX,r=e.scaleY,i=e.bbox;return new tW((t.x+((null==i?void 0:i.left)||0))*n,(t.y+((null==i?void 0:i.top)||0))*r)},t.prototype.viewport2Canvas=function(t){var e=t.x,n=t.y,r=this.rootTarget.defaultView.getCamera(),i=this.context.config,o=i.width,a=i.height,s=r.getPerspectiveInverse(),l=r.getWorldTransform(),u=K.multiply(this.tmpMatrix,l,s),c=q.t8(this.tmpVec3,e/o*2-1,(1-n/a)*2-1,0);return q.fF(c,c,u),new tW(c[0],c[1])},t.prototype.canvas2Viewport=function(t){var e=this.rootTarget.defaultView.getCamera(),n=e.getPerspective(),r=e.getViewTransform(),i=K.multiply(this.tmpMatrix,n,r),o=q.t8(this.tmpVec3,t.x,t.y,0);q.fF(this.tmpVec3,this.tmpVec3,i);var a=this.context.config,s=a.width,l=a.height;return new tW((o[0]+1)/2*s,(1-(o[1]+1)/2)*l)},t.prototype.setPickHandler=function(t){this.pickHandler=t},t.prototype.addEventMapping=function(t,e){this.mappingTable[t]||(this.mappingTable[t]=[]),this.mappingTable[t].push({fn:e,priority:0}),this.mappingTable[t].sort(function(t,e){return t.priority-e.priority})},t.prototype.mapEvent=function(t){if(this.rootTarget){var e=this.mappingTable[t.type];if(e)for(var n=0,r=e.length;n=1;r--)if(t.currentTarget=n[r],this.notifyTarget(t,e),t.propagationStopped||t.propagationImmediatelyStopped)return;if(t.eventPhase=t.AT_TARGET,t.currentTarget=t.target,this.notifyTarget(t,e),!t.propagationStopped&&!t.propagationImmediatelyStopped){var i=n.indexOf(t.currentTarget);t.eventPhase=t.BUBBLING_PHASE;for(var r=i+1;ri||n>o?null:!a&&this.pickHandler(t)||this.rootTarget||null},t.prototype.isNativeEventFromCanvas=function(t,e){var n=null==e?void 0:e.target;if((null==n?void 0:n.shadowRoot)&&(n=e.composedPath()[0]),n){if(n===t)return!0;if(t&&t.contains)return t.contains(n)}return null!=e&&!!e.composedPath&&e.composedPath().indexOf(t)>-1},t.prototype.getExistedHTML=function(t){var e,n;if(t.nativeEvent.composedPath)try{for(var r=(0,W.XA)(t.nativeEvent.composedPath()),i=r.next();!i.done;i=r.next()){var o=i.value,a=this.nativeHTMLMap.get(o);if(a)return a}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype.pickTarget=function(t){return this.hitTest({clientX:t.clientX,clientY:t.clientY,viewportX:t.viewportX,viewportY:t.viewportY,x:t.canvasX,y:t.canvasY})},t.prototype.createPointerEvent=function(t,e,n,r){var i=this.allocateEvent(rm);this.copyPointerData(t,i),this.copyMouseData(t,i),this.copyData(t,i),i.nativeEvent=t.nativeEvent,i.originalEvent=t;var o=this.getExistedHTML(i),a=this.context.contextService.getDomElement();return i.target=null!=n?n:o||this.isNativeEventFromCanvas(a,i.nativeEvent)&&this.pickTarget(i)||r,"string"==typeof e&&(i.type=e),i},t.prototype.createWheelEvent=function(t){var e=this.allocateEvent(rE);this.copyWheelData(t,e),this.copyMouseData(t,e),this.copyData(t,e),e.nativeEvent=t.nativeEvent,e.originalEvent=t;var n=this.getExistedHTML(e),r=this.context.contextService.getDomElement();return e.target=n||this.isNativeEventFromCanvas(r,e.nativeEvent)&&this.pickTarget(e),e},t.prototype.trackingData=function(t){return this.mappingState.trackingData[t]||(this.mappingState.trackingData[t]={pressTargetsByButton:{},clicksByButton:{},overTarget:null}),this.mappingState.trackingData[t]},t.prototype.cloneWheelEvent=function(t){var e=this.allocateEvent(rE);return e.nativeEvent=t.nativeEvent,e.originalEvent=t.originalEvent,this.copyWheelData(t,e),this.copyMouseData(t,e),this.copyData(t,e),e.target=t.target,e.path=t.composedPath().slice(),e.type=t.type,e},t.prototype.clonePointerEvent=function(t,e){var n=this.allocateEvent(rm);return n.nativeEvent=t.nativeEvent,n.originalEvent=t.originalEvent,this.copyPointerData(t,n),this.copyMouseData(t,n),this.copyData(t,n),n.target=t.target,n.path=t.composedPath().slice(),n.type=null!=e?e:n.type,n},t.prototype.copyPointerData=function(t,e){e.pointerId=t.pointerId,e.width=t.width,e.height=t.height,e.isPrimary=t.isPrimary,e.pointerType=t.pointerType,e.pressure=t.pressure,e.tangentialPressure=t.tangentialPressure,e.tiltX=t.tiltX,e.tiltY=t.tiltY,e.twist=t.twist},t.prototype.copyMouseData=function(t,e){e.altKey=t.altKey,e.button=t.button,e.buttons=t.buttons,e.ctrlKey=t.ctrlKey,e.metaKey=t.metaKey,e.shiftKey=t.shiftKey,e.client.copyFrom(t.client),e.movement.copyFrom(t.movement),e.canvas.copyFrom(t.canvas),e.screen.copyFrom(t.screen),e.global.copyFrom(t.global),e.offset.copyFrom(t.offset)},t.prototype.copyWheelData=function(t,e){e.deltaMode=t.deltaMode,e.deltaX=t.deltaX,e.deltaY=t.deltaY,e.deltaZ=t.deltaZ},t.prototype.copyData=function(t,e){e.isTrusted=t.isTrusted,e.timeStamp=nH.now(),e.type=t.type,e.detail=t.detail,e.view=t.view,e.page.copyFrom(t.page),e.viewport.copyFrom(t.viewport)},t.prototype.allocateEvent=function(t){this.eventPool.has(t)||this.eventPool.set(t,[]);var e=this.eventPool.get(t).pop()||new t(this);return e.eventPhase=e.NONE,e.currentTarget=null,e.path=[],e.target=null,e},t.prototype.freeEvent=function(t){if(t.manager!==this)throw Error("It is illegal to free an event not managed by this EventBoundary!");var e=t.constructor;this.eventPool.has(e)||this.eventPool.set(e,[]),this.eventPool.get(e).push(t)},t.prototype.notifyTarget=function(t,e){e=null!=e?e:t.type;var n=t.eventPhase===t.CAPTURING_PHASE||t.eventPhase===t.AT_TARGET?"".concat(e,"capture"):e;this.notifyListeners(t,n),t.eventPhase===t.AT_TARGET&&this.notifyListeners(t,e)},t.prototype.notifyListeners=function(t,e){var n=t.currentTarget.emitter,r=n._events[e];if(r){if("fn"in r)r.once&&n.removeListener(e,r.fn,void 0,!0),r.fn.call(t.currentTarget||r.context,t);else for(var i=0;i=0;n--){var r=t[n];if(r===this.rootTarget||rT.isNode(r)&&r.parentNode===e)e=t[n];else break}return e},t.prototype.getCursor=function(t){for(var e=t;e;){var n=!!e.getAttribute&&e.getAttribute("cursor");if(n)return n;e=rT.isNode(e)&&e.parentNode}},t}(),rS=function(){function t(){}return t.prototype.getOrCreateCanvas=function(t,e){if(this.canvas)return this.canvas;if(t||rB.offscreenCanvas)this.canvas=t||rB.offscreenCanvas,this.context=this.canvas.getContext("2d",(0,W.pi)({willReadFrequently:!0},e));else try{this.canvas=new window.OffscreenCanvas(0,0),this.context=this.canvas.getContext("2d",(0,W.pi)({willReadFrequently:!0},e)),this.context&&this.context.measureText||(this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"))}catch(t){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d",(0,W.pi)({willReadFrequently:!0},e))}return this.canvas.width=10,this.canvas.height=10,this.canvas},t.prototype.getOrCreateContext=function(t,e){return this.context||this.getOrCreateCanvas(t,e),this.context},t}();(E=z||(z={}))[E.CAMERA_CHANGED=0]="CAMERA_CHANGED",E[E.DISPLAY_OBJECT_CHANGED=1]="DISPLAY_OBJECT_CHANGED",E[E.NONE=2]="NONE";var rN=function(){function t(t,e){this.globalRuntime=t,this.context=e,this.inited=!1,this.stats={total:0,rendered:0},this.zIndexCounter=0,this.hooks={init:new n8,initAsync:new n4,dirtycheck:new n6,cull:new n6,beginFrame:new n8,beforeRender:new n8,render:new n8,afterRender:new n8,endFrame:new n8,destroy:new n8,pick:new n9,pickSync:new n6,pointerDown:new n8,pointerUp:new n8,pointerMove:new n8,pointerOut:new n8,pointerOver:new n8,pointerWheel:new n8,pointerCancel:new n8,click:new n8}}return t.prototype.init=function(t){var e=this,n=(0,W.pi)((0,W.pi)({},this.globalRuntime),this.context);this.context.renderingPlugins.forEach(function(t){t.apply(n,e.globalRuntime)}),this.hooks.init.call(),0===this.hooks.initAsync.getCallbacksNum()?(this.inited=!0,t()):this.hooks.initAsync.promise().then(function(){e.inited=!0,t()})},t.prototype.getStats=function(){return this.stats},t.prototype.disableDirtyRectangleRendering=function(){return!this.context.config.renderer.getConfig().enableDirtyRectangleRendering||this.context.renderingContext.renderReasons.has(z.CAMERA_CHANGED)},t.prototype.render=function(t,e,n){var r=this;this.stats.total=0,this.stats.rendered=0,this.zIndexCounter=0;var i=this.context.renderingContext;if(this.globalRuntime.sceneGraphService.syncHierarchy(i.root),this.globalRuntime.sceneGraphService.triggerPendingEvents(),i.renderReasons.size&&this.inited){i.dirtyRectangleRenderingDisabled=this.disableDirtyRectangleRendering();var o=1===i.renderReasons.size&&i.renderReasons.has(z.CAMERA_CHANGED),a=!t.disableRenderHooks||!(t.disableRenderHooks&&o);a&&this.renderDisplayObject(i.root,t,i),this.hooks.beginFrame.call(e),a&&i.renderListCurrentFrame.forEach(function(t){r.hooks.beforeRender.call(t),r.hooks.render.call(t),r.hooks.afterRender.call(t)}),this.hooks.endFrame.call(e),i.renderListCurrentFrame=[],i.renderReasons.clear(),n()}},t.prototype.renderDisplayObject=function(t,e,n){var r=this,i=e.renderer.getConfig(),o=i.enableDirtyCheck,a=i.enableCulling;this.globalRuntime.enableCSSParsing&&this.globalRuntime.styleValueRegistry.recalc(t);var s=t.renderable,l=o?s.dirty||n.dirtyRectangleRenderingDisabled?t:null:t;if(l){var u=a?this.hooks.cull.call(l,this.context.camera):l;u&&(this.stats.rendered++,n.renderListCurrentFrame.push(u))}t.renderable.dirty=!1,t.sortable.renderOrder=this.zIndexCounter++,this.stats.total++;var c=t.sortable;c.dirty&&(this.sort(t,c),c.dirty=!1,c.dirtyChildren=[],c.dirtyReason=void 0),(c.sorted||t.childNodes).forEach(function(t){r.renderDisplayObject(t,e,n)})},t.prototype.sort=function(t,e){e.sorted&&e.dirtyReason!==Z.Z_INDEX_CHANGED?e.dirtyChildren.forEach(function(n){if(-1===t.childNodes.indexOf(n)){var r=e.sorted.indexOf(n);r>=0&&e.sorted.splice(r,1)}else if(0===e.sorted.length)e.sorted.push(n);else{var i=function(t,e){for(var n=0,r=t.length;n>>1;0>nX(t[i],e)?n=i+1:r=i}return n}(e.sorted,n);e.sorted.splice(i,0,n)}}):e.sorted=t.childNodes.slice().sort(nX)},t.prototype.destroy=function(){this.inited=!1,this.hooks.destroy.call(),this.globalRuntime.sceneGraphService.clearPendingEvents()},t.prototype.dirtify=function(){this.context.renderingContext.renderReasons.add(z.DISPLAY_OBJECT_CHANGED)},t}(),rC=/\[\s*(.*)=(.*)\s*\]/,rw=function(){function t(){}return t.prototype.selectOne=function(t,e){var n=this;if(t.startsWith("."))return e.find(function(e){return((null==e?void 0:e.classList)||[]).indexOf(n.getIdOrClassname(t))>-1});if(t.startsWith("#"))return e.find(function(e){return e.id===n.getIdOrClassname(t)});if(!t.startsWith("["))return e.find(function(n){return e!==n&&n.nodeName===t});var r=this.getAttribute(t),i=r.name,o=r.value;return i?e.find(function(t){return e!==t&&("name"===i?t.name===o:n.attributeToString(t,i)===o)}):null},t.prototype.selectAll=function(t,e){var n=this;if(t.startsWith("."))return e.findAll(function(r){return e!==r&&((null==r?void 0:r.classList)||[]).indexOf(n.getIdOrClassname(t))>-1});if(t.startsWith("#"))return e.findAll(function(r){return e!==r&&r.id===n.getIdOrClassname(t)});if(!t.startsWith("["))return e.findAll(function(n){return e!==n&&n.nodeName===t});var r=this.getAttribute(t),i=r.name,o=r.value;return i?e.findAll(function(t){return e!==t&&("name"===i?t.name===o:n.attributeToString(t,i)===o)}):[]},t.prototype.is=function(t,e){if(t.startsWith("."))return e.className===this.getIdOrClassname(t);if(t.startsWith("#"))return e.id===this.getIdOrClassname(t);if(!t.startsWith("["))return e.nodeName===t;var n=this.getAttribute(t),r=n.name,i=n.value;return"name"===r?e.name===i:this.attributeToString(e,r)===i},t.prototype.getIdOrClassname=function(t){return t.substring(1)},t.prototype.getAttribute=function(t){var e=t.match(rC),n="",r="";return e&&e.length>2&&(n=e[1].replace(/"/g,""),r=e[2].replace(/"/g,"")),{name:n,value:r}},t.prototype.attributeToString=function(t,e){if(!t.getAttribute)return"";var n=t.getAttribute(e);return(0,tr.Z)(n)?"":n.toString?n.toString():""},t}(),rM=function(t){function e(e,n,r,i,o,a,s,l){var u=t.call(this,null)||this;return u.relatedNode=n,u.prevValue=r,u.newValue=i,u.attrName=o,u.attrChange=a,u.prevParsedValue=s,u.newParsedValue=l,u.type=e,u}return(0,W.ZT)(e,t),e.ADDITION=2,e.MODIFICATION=1,e.REMOVAL=3,e}(ry);function rk(t){var e=t.renderable;e&&(e.renderBoundsDirty=!0,e.boundsDirty=!0)}(x=X||(X={})).REPARENT="reparent",x.DESTROY="destroy",x.ATTR_MODIFIED="DOMAttrModified",x.INSERTED="DOMNodeInserted",x.REMOVED="removed",x.MOUNTED="DOMNodeInsertedIntoDocument",x.UNMOUNTED="DOMNodeRemovedFromDocument",x.BOUNDS_CHANGED="bounds-changed",x.CULLED="culled";var rR=new rM(X.REPARENT,null,"","","",0,"",""),rA=function(){function t(t){var e,n,r,i,o,a,s,l,u,c,h,p,d=this;this.runtime=t,this.pendingEvents=[],this.boundsChangedEvent=new rx(X.BOUNDS_CHANGED),this.rotate=(e=Q.Ue(),function(t,n,r,i,o){void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=!0),"number"==typeof n&&(n=q.al(n,r,i));var a=t.transformable;if(null!==t.parentNode&&t.parentNode.transformable){var s=Q.Ue();Q.Su(s,n[0],n[1],n[2]);var l=d.getRotation(t),u=d.getRotation(t.parentNode);Q.JG(e,u),Q.U_(e,e),Q.Jp(s,e,s),Q.Jp(a.localRotation,s,l),Q.Fv(a.localRotation,a.localRotation),o&&d.dirtifyLocal(t,a)}else d.rotateLocal(t,n)}),this.rotateLocal=(n=Q.Ue(),function(t,e,r,i,o){void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=!0),"number"==typeof e&&(e=q.al(e,r,i));var a=t.transformable;Q.Su(n,e[0],e[1],e[2]),Q.dC(a.localRotation,a.localRotation,n),o&&d.dirtifyLocal(t,a)}),this.setEulerAngles=(r=Q.Ue(),function(t,e,n,i,o){void 0===n&&(n=0),void 0===i&&(i=0),void 0===o&&(o=!0),"number"==typeof e&&(e=q.al(e,n,i));var a=t.transformable;if(null!==t.parentNode&&t.parentNode.transformable){Q.Su(a.localRotation,e[0],e[1],e[2]);var s=d.getRotation(t.parentNode);Q.JG(r,Q.U_(Q.Ue(),s)),Q.dC(a.localRotation,a.localRotation,r),o&&d.dirtifyLocal(t,a)}else d.setLocalEulerAngles(t,e)}),this.translateLocal=function(t,e,n,r,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=!0),"number"==typeof e&&(e=q.al(e,n,r));var o=t.transformable;!q.fS(e,q.Ue())&&(q.VC(e,e,o.localRotation),q.IH(o.localPosition,o.localPosition,e),i&&d.dirtifyLocal(t,o))},this.setPosition=(i=K.create(),o=q.Ue(),function(t,e,n){void 0===n&&(n=!0);var r=t.transformable;if(o[0]=e[0],o[1]=e[1],o[2]=e[2]||0,!q.fS(d.getPosition(t),o)){if(q.JG(r.position,o),null!==t.parentNode&&t.parentNode.transformable){var a=t.parentNode.transformable;K.copy(i,a.worldTransform),K.invert(i,i),q.fF(r.localPosition,o,i)}else q.JG(r.localPosition,o);n&&d.dirtifyLocal(t,r)}}),this.setLocalPosition=(a=q.Ue(),function(t,e,n){void 0===n&&(n=!0);var r=t.transformable;a[0]=e[0],a[1]=e[1],a[2]=e[2]||0,!q.fS(r.localPosition,a)&&(q.JG(r.localPosition,a),n&&d.dirtifyLocal(t,r))}),this.translate=(s=q.Ue(),l=q.Ue(),u=q.Ue(),function(t,e,n,r,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=!0),"number"==typeof e&&(e=q.t8(l,e,n,r)),q.fS(e,s)||(q.IH(u,d.getPosition(t),e),d.setPosition(t,u,i))}),this.setRotation=function(){var t=Q.Ue();return function(e,n,r,i,o,a){void 0===a&&(a=!0);var s=e.transformable;if("number"==typeof n&&(n=Q.al(n,r,i,o)),null!==e.parentNode&&e.parentNode.transformable){var l=d.getRotation(e.parentNode);Q.JG(t,l),Q.U_(t,t),Q.Jp(s.localRotation,t,n),Q.Fv(s.localRotation,s.localRotation),a&&d.dirtifyLocal(e,s)}else d.setLocalRotation(e,n)}},this.displayObjectDependencyMap=new WeakMap,this.calcLocalTransform=(c=K.create(),h=q.Ue(),p=Q.al(0,0,0,1),function(t){if(0!==t.localSkew[0]||0!==t.localSkew[1]){if(K.fromRotationTranslationScaleOrigin(t.localTransform,t.localRotation,t.localPosition,q.al(1,1,1),t.origin),0!==t.localSkew[0]||0!==t.localSkew[1]){var e=K.identity(c);e[4]=Math.tan(t.localSkew[0]),e[1]=Math.tan(t.localSkew[1]),K.multiply(t.localTransform,t.localTransform,e)}var n=K.fromRotationTranslationScaleOrigin(c,p,h,t.localScale,t.origin);K.multiply(t.localTransform,t.localTransform,n)}else K.fromRotationTranslationScaleOrigin(t.localTransform,t.localRotation,t.localPosition,t.localScale,t.origin)})}return t.prototype.matches=function(t,e){return this.runtime.sceneGraphSelector.is(t,e)},t.prototype.querySelector=function(t,e){return this.runtime.sceneGraphSelector.selectOne(t,e)},t.prototype.querySelectorAll=function(t,e){return this.runtime.sceneGraphSelector.selectAll(t,e)},t.prototype.attach=function(t,e,n){var r,i=!1;t.parentNode&&(i=t.parentNode!==e,this.detach(t)),t.parentNode=e,(0,tr.Z)(n)?t.parentNode.childNodes.push(t):t.parentNode.childNodes.splice(n,0,t);var o=e.sortable;((null===(r=null==o?void 0:o.sorted)||void 0===r?void 0:r.length)||t.parsedStyle.zIndex)&&(-1===o.dirtyChildren.indexOf(t)&&o.dirtyChildren.push(t),o.dirty=!0,o.dirtyReason=Z.ADDED);var a=t.transformable;a&&this.dirtifyWorld(t,a),a.frozen&&this.unfreezeParentToRoot(t),i&&t.dispatchEvent(rR)},t.prototype.detach=function(t){var e,n;if(t.parentNode){var r=t.transformable,i=t.parentNode.sortable;((null===(e=null==i?void 0:i.sorted)||void 0===e?void 0:e.length)||(null===(n=t.style)||void 0===n?void 0:n.zIndex))&&(-1===i.dirtyChildren.indexOf(t)&&i.dirtyChildren.push(t),i.dirty=!0,i.dirtyReason=Z.REMOVED);var o=t.parentNode.childNodes.indexOf(t);o>-1&&t.parentNode.childNodes.splice(o,1),r&&this.dirtifyWorld(t,r),t.parentNode=null}},t.prototype.getOrigin=function(t){return t.getGeometryBounds(),t.transformable.origin},t.prototype.setOrigin=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=0),"number"==typeof e&&(e=[e,n,r]);var i=t.transformable;if(e[0]!==i.origin[0]||e[1]!==i.origin[1]||e[2]!==i.origin[2]){var o=i.origin;o[0]=e[0],o[1]=e[1],o[2]=e[2]||0,this.dirtifyLocal(t,i)}},t.prototype.setLocalEulerAngles=function(t,e,n,r,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=!0),"number"==typeof e&&(e=q.al(e,n,r));var o=t.transformable;Q.Su(o.localRotation,e[0],e[1],e[2]),i&&this.dirtifyLocal(t,o)},t.prototype.scaleLocal=function(t,e,n){void 0===n&&(n=!0);var r=t.transformable;q.Jp(r.localScale,r.localScale,q.al(e[0],e[1],e[2]||1)),n&&this.dirtifyLocal(t,r)},t.prototype.setLocalScale=function(t,e,n){void 0===n&&(n=!0);var r=t.transformable,i=q.al(e[0],e[1],e[2]||r.localScale[2]);!q.fS(i,r.localScale)&&(q.JG(r.localScale,i),n&&this.dirtifyLocal(t,r))},t.prototype.setLocalRotation=function(t,e,n,r,i,o){void 0===o&&(o=!0),"number"==typeof e&&(e=Q.al(e,n,r,i));var a=t.transformable;Q.JG(a.localRotation,e),o&&this.dirtifyLocal(t,a)},t.prototype.setLocalSkew=function(t,e,n){"number"==typeof e&&(e=tt.al(e,n));var r=t.transformable;tt.JG(r.localSkew,e),this.dirtifyLocal(t,r)},t.prototype.dirtifyLocal=function(t,e){e.localDirtyFlag||(e.localDirtyFlag=!0,e.dirtyFlag||this.dirtifyWorld(t,e))},t.prototype.dirtifyWorld=function(t,e){e.dirtyFlag||this.unfreezeParentToRoot(t),this.dirtifyWorldInternal(t,e),this.dirtifyToRoot(t,!0)},t.prototype.triggerPendingEvents=function(){var t=this,e=new Set,n=function(n,r){n.isConnected&&!e.has(n.entity)&&(t.boundsChangedEvent.detail=r,t.boundsChangedEvent.target=n,n.isMutationObserved?n.dispatchEvent(t.boundsChangedEvent):n.ownerDocument.defaultView.dispatchEvent(t.boundsChangedEvent,!0),e.add(n.entity))};this.pendingEvents.forEach(function(t){var e=(0,W.CR)(t,2),r=e[0],i=e[1];i.affectChildren?r.forEach(function(t){n(t,i)}):n(r,i)}),this.clearPendingEvents(),e.clear()},t.prototype.clearPendingEvents=function(){this.pendingEvents=[]},t.prototype.dirtifyToRoot=function(t,e){void 0===e&&(e=!1);var n=t;for(n.renderable&&(n.renderable.dirty=!0);n;)rk(n),n=n.parentNode;e&&t.forEach(function(t){rk(t)}),this.informDependentDisplayObjects(t),this.pendingEvents.push([t,{affectChildren:e}])},t.prototype.updateDisplayObjectDependency=function(t,e,n,r){if(e&&e!==n){var i=this.displayObjectDependencyMap.get(e);if(i&&i[t]){var o=i[t].indexOf(r);i[t].splice(o,1)}}if(n){var a=this.displayObjectDependencyMap.get(n);a||(this.displayObjectDependencyMap.set(n,{}),a=this.displayObjectDependencyMap.get(n)),a[t]||(a[t]=[]),a[t].push(r)}},t.prototype.informDependentDisplayObjects=function(t){var e=this,n=this.displayObjectDependencyMap.get(t);n&&Object.keys(n).forEach(function(t){n[t].forEach(function(n){e.dirtifyToRoot(n,!0),n.dispatchEvent(new rM(X.ATTR_MODIFIED,n,e,e,t,rM.MODIFICATION,e,e)),n.isCustomElement&&n.isConnected&&n.attributeChangedCallback&&n.attributeChangedCallback(t,e,e)})})},t.prototype.getPosition=function(t){var e=t.transformable;return K.getTranslation(e.position,this.getWorldTransform(t,e))},t.prototype.getRotation=function(t){var e=t.transformable;return K.getRotation(e.rotation,this.getWorldTransform(t,e))},t.prototype.getScale=function(t){var e=t.transformable;return K.getScaling(e.scaling,this.getWorldTransform(t,e))},t.prototype.getWorldTransform=function(t,e){return void 0===e&&(e=t.transformable),(e.localDirtyFlag||e.dirtyFlag)&&(t.parentNode&&t.parentNode.transformable&&this.getWorldTransform(t.parentNode),this.sync(t,e)),e.worldTransform},t.prototype.getLocalPosition=function(t){return t.transformable.localPosition},t.prototype.getLocalRotation=function(t){return t.transformable.localRotation},t.prototype.getLocalScale=function(t){return t.transformable.localScale},t.prototype.getLocalSkew=function(t){return t.transformable.localSkew},t.prototype.getLocalTransform=function(t){var e=t.transformable;return e.localDirtyFlag&&(this.calcLocalTransform(e),e.localDirtyFlag=!1),e.localTransform},t.prototype.setLocalTransform=function(t,e){var n=K.getTranslation(q.Ue(),e),r=K.getRotation(Q.Ue(),e),i=K.getScaling(q.Ue(),e);this.setLocalScale(t,i,!1),this.setLocalPosition(t,n,!1),this.setLocalRotation(t,r,void 0,void 0,void 0,!1),this.dirtifyLocal(t,t.transformable)},t.prototype.resetLocalTransform=function(t){this.setLocalScale(t,[1,1,1]),this.setLocalPosition(t,[0,0,0]),this.setLocalEulerAngles(t,[0,0,0]),this.setLocalSkew(t,[0,0])},t.prototype.getTransformedGeometryBounds=function(t,e,n){void 0===e&&(e=!1);var r=this.getGeometryBounds(t,e);if(tz.isEmpty(r))return null;var i=n||new tz;return i.setFromTransformedAABB(r,this.getWorldTransform(t)),i},t.prototype.getGeometryBounds=function(t,e){void 0===e&&(e=!1);var n=t.geometry;return n.dirty&&rB.styleValueRegistry.updateGeometry(t),(e?n.renderBounds:n.contentBounds||null)||new tz},t.prototype.getBounds=function(t,e){var n=this;void 0===e&&(e=!1);var r=t.renderable;if(!r.boundsDirty&&!e&&r.bounds)return r.bounds;if(!r.renderBoundsDirty&&e&&r.renderBounds)return r.renderBounds;var i=e?r.renderBounds:r.bounds,o=this.getTransformedGeometryBounds(t,e,i);if(t.childNodes.forEach(function(t){var r=n.getBounds(t,e);r&&(o?o.add(r):(o=i||new tz).update(r.center,r.halfExtents))}),o||(o=new tz),e){var a=function(t){var e,n=t;do{if(null===(e=n.parsedStyle)||void 0===e?void 0:e.clipPath)return n;n=n.parentElement}while(null!==n);return null}(t);if(a){var s=a.parsedStyle.clipPath.getBounds(e);o?s&&(o=s.intersection(o)):o.update(s.center,s.halfExtents)}}return e?(r.renderBounds=o,r.renderBoundsDirty=!1):(r.bounds=o,r.boundsDirty=!1),o},t.prototype.getLocalBounds=function(t){if(t.parentNode){var e=K.create();t.parentNode.transformable&&(e=K.invert(K.create(),this.getWorldTransform(t.parentNode)));var n=this.getBounds(t);if(!tz.isEmpty(n)){var r=new tz;return r.setFromTransformedAABB(n,e),r}}return this.getBounds(t)},t.prototype.getBoundingClientRect=function(t){var e,n,r,i=this.getGeometryBounds(t);tz.isEmpty(i)||(r=new tz).setFromTransformedAABB(i,this.getWorldTransform(t));var o=null===(n=null===(e=t.ownerDocument)||void 0===e?void 0:e.defaultView)||void 0===n?void 0:n.getContextService().getBoundingClientRect();if(r){var a=(0,W.CR)(r.getMin(),2),s=a[0],l=a[1],u=(0,W.CR)(r.getMax(),2),c=u[0],h=u[1];return new tH(s+((null==o?void 0:o.left)||0),l+((null==o?void 0:o.top)||0),c-s,h-l)}return new tH((null==o?void 0:o.left)||0,(null==o?void 0:o.top)||0,0,0)},t.prototype.dirtifyWorldInternal=function(t,e){var n=this;if(!e.dirtyFlag){e.dirtyFlag=!0,e.frozen=!1,t.childNodes.forEach(function(t){var e=t.transformable;e.dirtyFlag||n.dirtifyWorldInternal(t,e)});var r=t.renderable;r&&(r.renderBoundsDirty=!0,r.boundsDirty=!0,r.dirty=!0)}},t.prototype.syncHierarchy=function(t){var e=t.transformable;if(!e.frozen){e.frozen=!0,(e.localDirtyFlag||e.dirtyFlag)&&this.sync(t,e);for(var n=t.childNodes,r=0;rs;--p){for(var v=0;v=0;h--){var p=c[h].trim();!rt.test(p)&&0>n7.indexOf(p)&&(p='"'.concat(p,'"')),c[h]=p}return"".concat(void 0===i?"normal":i," ").concat(a," ").concat(l," ").concat(u," ").concat(c.join(","))}(e),E=this.measureFont(m,n);0===E.fontSize&&(E.fontSize=i,E.ascent=i);var x=this.runtime.offscreenCanvasCreator.getOrCreateContext(n);x.font=m,e.isOverflowing=!1;var b=(void 0!==o&&o?this.wordWrap(t,e,n):t).split(/(?:\r\n|\r|\n)/),T=Array(b.length),P=0;if(v){v.getTotalLength();for(var S=0;S=l){e.isOverflowing=!0;break}v=0,d[f]="";continue}if(v>0&&v+S>h){if(f+1>=l){if(e.isOverflowing=!0,m>0&&m<=h){for(var N=d[f].length,C=0,w=N,M=0;Mh){w=M;break}C+=k}d[f]=(d[f]||"").slice(0,w)+p}break}if(v=0,d[++f]="",this.isBreakingSpace(b))continue;this.canBreakInLastChar(b)||(d=this.trimToBreakable(d),v=this.sumTextWidthByCache(d[f]||"",y)),this.shouldBreakByKinsokuShorui(b,P)&&(d=this.trimByKinsokuShorui(d),v+=g(T||""))}v+=S,d[f]=(d[f]||"")+b}return d.join("\n")},t.prototype.isBreakingSpace=function(t){return"string"==typeof t&&rO.BreakingSpaces.indexOf(t.charCodeAt(0))>=0},t.prototype.isNewline=function(t){return"string"==typeof t&&rO.Newlines.indexOf(t.charCodeAt(0))>=0},t.prototype.trimToBreakable=function(t){var e=(0,W.ev)([],(0,W.CR)(t),!1),n=e[e.length-2],r=this.findBreakableIndex(n);if(-1===r||!n)return e;var i=n.slice(r,r+1),o=this.isBreakingSpace(i),a=r+1,s=r+(o?0:1);return e[e.length-1]+=n.slice(a,n.length),e[e.length-2]=n.slice(0,s),e},t.prototype.canBreakInLastChar=function(t){return!(t&&rI.test(t))},t.prototype.sumTextWidthByCache=function(t,e){return t.split("").reduce(function(t,n){if(!e[n])throw Error("cannot count the word without cache");return t+e[n]},0)},t.prototype.findBreakableIndex=function(t){for(var e=t.length-1;e>=0;e--)if(!rI.test(t[e]))return e;return -1},t.prototype.getFromCache=function(t,e,n,r){var i=n[t];if("number"!=typeof i){var o=t.length*e;i=r.measureText(t).width+o,n[t]=i}return i},t}(),rB={},rF=(T=new rd,P=new rp,(b={})[M.CIRCLE]=new rl,b[M.ELLIPSE]=new ru,b[M.RECT]=T,b[M.IMAGE]=T,b[M.GROUP]=new rv,b[M.LINE]=new rc,b[M.TEXT]=new rf(rB),b[M.POLYLINE]=P,b[M.POLYGON]=P,b[M.PATH]=new rh,b[M.HTML]=null,b[M.MESH]=null,b),r_=(N=new nM,C=new nA,(S={})[Y.PERCENTAGE]=null,S[Y.NUMBER]=new nD,S[Y.ANGLE]=new nC,S[Y.DEFINED_PATH]=new nw,S[Y.PAINT]=N,S[Y.COLOR]=N,S[Y.FILTER]=new nk,S[Y.LENGTH]=C,S[Y.LENGTH_PERCENTAGE]=C,S[Y.LENGTH_PERCENTAGE_12]=new nO,S[Y.LENGTH_PERCENTAGE_14]=new nI,S[Y.COORDINATE]=new nA,S[Y.OFFSET_DISTANCE]=new nG,S[Y.OPACITY_VALUE]=new nB,S[Y.PATH]=new nF,S[Y.LIST_OF_POINTS]=new function(){this.parser=ne,this.mixer=nn},S[Y.SHADOW_BLUR]=new n_,S[Y.TEXT]=new nU,S[Y.TEXT_TRANSFORM]=new nV,S[Y.TRANSFORM]=new ro,S[Y.TRANSFORM_ORIGIN]=new ra,S[Y.Z_INDEX]=new rs,S[Y.MARKER]=new nL,S);rB.CameraContribution=t$,rB.AnimationTimeline=null,rB.EasingFunction=null,rB.offscreenCanvasCreator=new rS,rB.sceneGraphSelector=new rw,rB.sceneGraphService=new rA(rB),rB.textService=new rG(rB),rB.geometryUpdaterFactory=rF,rB.CSSPropertySyntaxFactory=r_,rB.styleValueRegistry=new nN(rB),rB.layoutRegistry=null,rB.globalThis="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{},rB.enableCSSParsing=!1,rB.enableDataset=!1,rB.enableStyleSyntax=!0,rB.enableAttributeDashCased=!1,rB.enableSizeAttenuation=!1;var rU=0,rV=new rM(X.INSERTED,null,"","","",0,"",""),rZ=new rM(X.REMOVED,null,"","","",0,"",""),rY=new rx(X.DESTROY),rz=function(t){function e(){var e=t.call(this)||this;return e.entity=rU++,e.renderable={bounds:void 0,boundsDirty:!0,renderBounds:void 0,renderBoundsDirty:!0,dirtyRenderBounds:void 0,dirty:!1},e.cullable={strategy:V.Standard,visibilityPlaneMask:-1,visible:!0,enable:!0},e.transformable={dirtyFlag:!1,localDirtyFlag:!1,frozen:!1,localPosition:[0,0,0],localRotation:[0,0,0,1],localScale:[1,1,1],localTransform:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],localSkew:[0,0],position:[0,0,0],rotation:[0,0,0,1],scaling:[1,1,1],worldTransform:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],origin:[0,0,0]},e.sortable={dirty:!1,sorted:void 0,renderOrder:0,dirtyChildren:[],dirtyReason:void 0},e.geometry={contentBounds:void 0,renderBounds:void 0,dirty:!0},e.rBushNode={aabb:void 0},e.namespaceURI="g",e.scrollLeft=0,e.scrollTop=0,e.clientTop=0,e.clientLeft=0,e.destroyed=!1,e.style={},e.computedStyle=rB.enableCSSParsing?{opacity:ec,fillOpacity:ec,strokeOpacity:ec,fill:ec,stroke:ec,transform:ec,transformOrigin:ec,visibility:ec,pointerEvents:ec,lineWidth:ec,lineCap:ec,lineJoin:ec,increasedLineWidthForHitTesting:ec,fontSize:ec,fontFamily:ec,fontStyle:ec,fontWeight:ec,fontVariant:ec,textAlign:ec,textBaseline:ec,textTransform:ec,zIndex:ec,filter:ec,shadowType:ec}:null,e.parsedStyle={},e.attributes={},e}return(0,W.ZT)(e,t),Object.defineProperty(e.prototype,"className",{get:function(){return this.getAttribute("class")||""},set:function(t){this.setAttribute("class",t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classList",{get:function(){return this.className.split(" ").filter(function(t){return""!==t})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.nodeName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childElementCount",{get:function(){return this.childNodes.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstElementChild",{get:function(){return this.firstChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastElementChild",{get:function(){return this.lastChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentElement",{get:function(){return this.parentNode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){if(this.parentNode){var t=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[t+1]||null}return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){if(this.parentNode){var t=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[t-1]||null}return null},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(t){throw Error(tq)},e.prototype.appendChild=function(t,e){var n;if(t.destroyed)throw Error("Cannot append a destroyed element.");return rB.sceneGraphService.attach(t,this,e),(null===(n=this.ownerDocument)||void 0===n?void 0:n.defaultView)&&this.ownerDocument.defaultView.mountChildren(t),this.isMutationObserved&&(rV.relatedNode=this,t.dispatchEvent(rV)),t},e.prototype.insertBefore=function(t,e){if(e){t.parentElement&&t.parentElement.removeChild(t);var n=this.childNodes.indexOf(e);-1===n?this.appendChild(t):this.appendChild(t,n)}else this.appendChild(t);return t},e.prototype.replaceChild=function(t,e){var n=this.childNodes.indexOf(e);return this.removeChild(e),this.appendChild(t,n),e},e.prototype.removeChild=function(t){var e;return rZ.relatedNode=this,t.dispatchEvent(rZ),(null===(e=t.ownerDocument)||void 0===e?void 0:e.defaultView)&&t.ownerDocument.defaultView.unmountChildren(t),rB.sceneGraphService.detach(t),t},e.prototype.removeChildren=function(){for(var t=this.childNodes.length-1;t>=0;t--){var e=this.childNodes[t];this.removeChild(e)}},e.prototype.destroyChildren=function(){for(var t=this.childNodes.length-1;t>=0;t--){var e=this.childNodes[t];e.childNodes.length&&e.destroyChildren(),e.destroy()}},e.prototype.matches=function(t){return rB.sceneGraphService.matches(t,this)},e.prototype.getElementById=function(t){return rB.sceneGraphService.querySelector("#".concat(t),this)},e.prototype.getElementsByName=function(t){return rB.sceneGraphService.querySelectorAll('[name="'.concat(t,'"]'),this)},e.prototype.getElementsByClassName=function(t){return rB.sceneGraphService.querySelectorAll(".".concat(t),this)},e.prototype.getElementsByTagName=function(t){return rB.sceneGraphService.querySelectorAll(t,this)},e.prototype.querySelector=function(t){return rB.sceneGraphService.querySelector(t,this)},e.prototype.querySelectorAll=function(t){return rB.sceneGraphService.querySelectorAll(t,this)},e.prototype.closest=function(t){var e=this;do{if(rB.sceneGraphService.matches(t,e))return e;e=e.parentElement}while(null!==e);return null},e.prototype.find=function(t){var e=this,n=null;return this.forEach(function(r){return!!(r!==e&&t(r))&&(n=r,!0)}),n},e.prototype.findAll=function(t){var e=this,n=[];return this.forEach(function(r){r!==e&&t(r)&&n.push(r)}),n},e.prototype.after=function(){for(var t=this,e=[],n=0;n1){var n=t[0].currentPoint,r=t[1].currentPoint,i=t[1].startTangent;e=[],i?(e.push([n[0]-i[0],n[1]-i[1]]),e.push([n[0],n[1]])):(e.push([r[0],r[1]]),e.push([n[0],n[1]]))}return e},e.prototype.getEndTangent=function(){var t=this.parsedStyle.d.segments,e=t.length,n=[];if(e>1){var r=t[e-2].currentPoint,i=t[e-1].currentPoint,o=t[e-1].endTangent;n=[],o?(n.push([i[0]-o[0],i[1]-o[1]]),n.push([i[0],i[1]])):(n.push([r[0],r[1]]),n.push([i[0],i[1]]))}return n},e}(r$),r9=function(t){function e(e){void 0===e&&(e={});var n=this,r=e.style,i=(0,W._T)(e,["style"]);(n=t.call(this,(0,W.pi)({type:M.POLYGON,style:rB.enableCSSParsing?(0,W.pi)({points:"",miterLimit:"",isClosed:!0},r):(0,W.pi)({},r),initialParsedStyle:rB.enableCSSParsing?null:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!0}},i))||this).markerStartAngle=0,n.markerEndAngle=0,n.markerMidList=[];var o=n.parsedStyle,a=o.markerStart,s=o.markerEnd,l=o.markerMid;return a&&rX(a)&&(n.markerStartAngle=a.getLocalEulerAngles(),n.appendChild(a)),l&&rX(l)&&n.placeMarkerMid(l),s&&rX(s)&&(n.markerEndAngle=s.getLocalEulerAngles(),n.appendChild(s)),n.transformMarker(!0),n.transformMarker(!1),n}return(0,W.ZT)(e,t),e.prototype.attributeChangedCallback=function(t,e,n,r,i){"points"===t?(this.transformMarker(!0),this.transformMarker(!1),this.placeMarkerMid(this.parsedStyle.markerMid)):"markerStartOffset"===t||"markerEndOffset"===t?(this.transformMarker(!0),this.transformMarker(!1)):"markerStart"===t?(r&&rX(r)&&(this.markerStartAngle=0,r.remove()),i&&rX(i)&&(this.markerStartAngle=i.getLocalEulerAngles(),this.appendChild(i),this.transformMarker(!0))):"markerEnd"===t?(r&&rX(r)&&(this.markerEndAngle=0,r.remove()),i&&rX(i)&&(this.markerEndAngle=i.getLocalEulerAngles(),this.appendChild(i),this.transformMarker(!1))):"markerMid"===t&&this.placeMarkerMid(i)},e.prototype.transformMarker=function(t){var e,n,r,i,o,a,s=this.parsedStyle,l=s.markerStart,u=s.markerEnd,c=s.markerStartOffset,h=s.markerEndOffset,p=(s.points||{}).points,d=t?l:u;if(d&&rX(d)&&p){var f=0;if(r=p[0][0],i=p[0][1],t)e=p[1][0]-p[0][0],n=p[1][1]-p[0][1],o=c||0,a=this.markerStartAngle;else{var v=p.length;this.parsedStyle.isClosed?(e=p[v-1][0]-p[0][0],n=p[v-1][1]-p[0][1]):(r=p[v-1][0],i=p[v-1][1],e=p[v-2][0]-p[v-1][0],n=p[v-2][1]-p[v-1][1]),o=h||0,a=this.markerEndAngle}f=Math.atan2(n,e),d.setLocalEulerAngles(180*f/Math.PI+a),d.setLocalPosition(r+Math.cos(f)*o,i+Math.sin(f)*o)}},e.prototype.placeMarkerMid=function(t){var e=(this.parsedStyle.points||{}).points;if(this.markerMidList.forEach(function(t){t.remove()}),this.markerMidList=[],t&&rX(t)&&e)for(var n=1;n<(this.parsedStyle.isClosed?e.length:e.length-1);n++){var r=e[n][0],i=e[n][1],o=1===n?t:t.cloneNode(!0);this.markerMidList.push(o),this.appendChild(o),o.setLocalPosition(r,i)}},e}(r$),r8=function(t){function e(e){void 0===e&&(e={});var n=e.style,r=(0,W._T)(e,["style"]);return t.call(this,(0,W.pi)({type:M.POLYLINE,style:rB.enableCSSParsing?(0,W.pi)({points:"",miterLimit:"",isClosed:!1},n):(0,W.pi)({},n),initialParsedStyle:rB.enableCSSParsing?null:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!1}},r))||this}return(0,W.ZT)(e,t),e.prototype.getTotalLength=function(){return 0===this.parsedStyle.points.totalLength&&(this.parsedStyle.points.totalLength=(0,tS.hE)(this.parsedStyle.points.points)),this.parsedStyle.points.totalLength},e.prototype.getPointAtLength=function(t,e){return void 0===e&&(e=!1),this.getPoint(t/this.getTotalLength(),e)},e.prototype.getPoint=function(t,e){void 0===e&&(e=!1);var n=this.parsedStyle.points.points;if(0===this.parsedStyle.points.segments.length){var r,i=[],o=0,a=this.getTotalLength();n.forEach(function(t,e){n[e+1]&&((r=[0,0])[0]=o/a,o+=(0,tS.Xk)(t[0],t[1],n[e+1][0],n[e+1][1]),r[1]=o/a,i.push(r))}),this.parsedStyle.points.segments=i}var s=0,l=0;this.parsedStyle.points.segments.forEach(function(e,n){t>=e[0]&&t<=e[1]&&(s=(t-e[0])/(e[1]-e[0]),l=n)});var u=(0,tS.U4)(n[l][0],n[l][1],n[l+1][0],n[l+1][1],s),c=u.x,h=u.y,p=q.fF(q.Ue(),q.al(c,h,0),e?this.getWorldTransform():this.getLocalTransform());return new tW(p[0],p[1])},e.prototype.getStartTangent=function(){var t=this.parsedStyle.points.points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.parsedStyle.points.points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(r9),r6=function(t){function e(e){return void 0===e&&(e={}),t.call(this,(0,W.pi)({type:M.RECT},e))||this}return(0,W.ZT)(e,t),e}(r$),r7=function(t){function e(e){void 0===e&&(e={});var n=e.style,r=(0,W._T)(e,["style"]);return t.call(this,(0,W.pi)({type:M.TEXT,style:rB.enableCSSParsing?(0,W.pi)({x:"",y:"",text:"",fontSize:"",fontFamily:"",fontStyle:"",fontWeight:"",fontVariant:"",textAlign:"",textBaseline:"",textTransform:"",fill:"black",letterSpacing:"",lineHeight:"",miterLimit:"",wordWrap:!1,wordWrapWidth:0,leading:0,dx:"",dy:""},n):(0,W.pi)({fill:"black"},n)},r))||this}return(0,W.ZT)(e,t),e.prototype.getComputedTextLength=function(){var t;return this.getGeometryBounds(),(null===(t=this.parsedStyle.metrics)||void 0===t?void 0:t.maxLineWidth)||0},e.prototype.getLineBoundingRects=function(){var t;return this.getGeometryBounds(),(null===(t=this.parsedStyle.metrics)||void 0===t?void 0:t.lineMetrics)||[]},e.prototype.isOverflowing=function(){return this.getGeometryBounds(),!!this.parsedStyle.isOverflowing},e}(r$),it=function(){function t(){this.registry={},this.define(M.CIRCLE,rQ),this.define(M.ELLIPSE,r0),this.define(M.RECT,r6),this.define(M.IMAGE,r3),this.define(M.LINE,r5),this.define(M.GROUP,r1),this.define(M.PATH,r4),this.define(M.POLYGON,r9),this.define(M.POLYLINE,r8),this.define(M.TEXT,r7),this.define(M.HTML,r2)}return t.prototype.define=function(t,e){this.registry[t]=e},t.prototype.get=function(t){return this.registry[t]},t}(),ie=function(t){function e(){var e=t.call(this)||this;e.defaultView=null,e.ownerDocument=null,e.nodeName="document";try{e.timeline=new rB.AnimationTimeline(e)}catch(t){}var n={};return nx.forEach(function(t){var e=t.n,r=t.inh,i=t.d;r&&i&&(n[e]=ee(i)?i(M.GROUP):i)}),e.documentElement=new r1({id:"g-root",style:n}),e.documentElement.ownerDocument=e,e.documentElement.parentNode=e,e.childNodes=[e.documentElement],e}return(0,W.ZT)(e,t),Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childElementCount",{get:function(){return this.childNodes.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstElementChild",{get:function(){return this.firstChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastElementChild",{get:function(){return this.lastChild},enumerable:!1,configurable:!0}),e.prototype.createElement=function(t,e){if("svg"===t)return this.documentElement;var n=this.defaultView.customElements.get(t);n||(console.warn("Unsupported tagName: ",t),n="tspan"===t?r7:r1);var r=new n(e);return r.ownerDocument=this,r},e.prototype.createElementNS=function(t,e,n){return this.createElement(e,n)},e.prototype.cloneNode=function(t){throw Error(tq)},e.prototype.destroy=function(){try{this.documentElement.destroyChildren(),this.timeline.destroy()}catch(t){}},e.prototype.elementsFromBBox=function(t,e,n,r){var i=this.defaultView.context.rBushRoot.search({minX:t,minY:e,maxX:n,maxY:r}),o=[];return i.forEach(function(t){var e=t.displayObject,n=e.parsedStyle.pointerEvents,r=["auto","visiblepainted","visiblefill","visiblestroke","visible"].includes(void 0===n?"auto":n);(!r||r&&e.isVisible())&&!e.isCulled()&&e.isInteractive()&&o.push(e)}),o.sort(function(t,e){return e.sortable.renderOrder-t.sortable.renderOrder}),o},e.prototype.elementFromPointSync=function(t,e){var n=this.defaultView.canvas2Viewport({x:t,y:e}),r=n.x,i=n.y,o=this.defaultView.getConfig(),a=o.width,s=o.height;if(r<0||i<0||r>a||i>s)return null;var l=this.defaultView.viewport2Client({x:r,y:i}),u=l.x,c=l.y,h=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!0,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]}).picked;return h&&h[0]||this.documentElement},e.prototype.elementFromPoint=function(t,e){return(0,W.mG)(this,void 0,void 0,function(){var n,r,i,o,a,s,l,u,c,h;return(0,W.Jh)(this,function(p){switch(p.label){case 0:if(r=(n=this.defaultView.canvas2Viewport({x:t,y:e})).x,i=n.y,a=(o=this.defaultView.getConfig()).width,s=o.height,r<0||i<0||r>a||i>s)return[2,null];return u=(l=this.defaultView.viewport2Client({x:r,y:i})).x,c=l.y,[4,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!0,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]})];case 1:return[2,(h=p.sent().picked)&&h[0]||this.documentElement]}})})},e.prototype.elementsFromPointSync=function(t,e){var n=this.defaultView.canvas2Viewport({x:t,y:e}),r=n.x,i=n.y,o=this.defaultView.getConfig(),a=o.width,s=o.height;if(r<0||i<0||r>a||i>s)return[];var l=this.defaultView.viewport2Client({x:r,y:i}),u=l.x,c=l.y,h=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!1,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]}).picked;return h[h.length-1]!==this.documentElement&&h.push(this.documentElement),h},e.prototype.elementsFromPoint=function(t,e){return(0,W.mG)(this,void 0,void 0,function(){var n,r,i,o,a,s,l,u,c,h;return(0,W.Jh)(this,function(p){switch(p.label){case 0:if(r=(n=this.defaultView.canvas2Viewport({x:t,y:e})).x,i=n.y,a=(o=this.defaultView.getConfig()).width,s=o.height,r<0||i<0||r>a||i>s)return[2,[]];return u=(l=this.defaultView.viewport2Client({x:r,y:i})).x,c=l.y,[4,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!1,position:{x:t,y:e,viewportX:r,viewportY:i,clientX:u,clientY:c},picked:[]})];case 1:return(h=p.sent().picked)[h.length-1]!==this.documentElement&&h.push(this.documentElement),[2,h]}})})},e.prototype.appendChild=function(t,e){throw Error(tK)},e.prototype.insertBefore=function(t,e){throw Error(tK)},e.prototype.removeChild=function(t,e){throw Error(tK)},e.prototype.replaceChild=function(t,e,n){throw Error(tK)},e.prototype.append=function(){throw Error(tK)},e.prototype.prepend=function(){throw Error(tK)},e.prototype.getElementById=function(t){return this.documentElement.getElementById(t)},e.prototype.getElementsByName=function(t){return this.documentElement.getElementsByName(t)},e.prototype.getElementsByTagName=function(t){return this.documentElement.getElementsByTagName(t)},e.prototype.getElementsByClassName=function(t){return this.documentElement.getElementsByClassName(t)},e.prototype.querySelector=function(t){return this.documentElement.querySelector(t)},e.prototype.querySelectorAll=function(t){return this.documentElement.querySelectorAll(t)},e.prototype.find=function(t){return this.documentElement.find(t)},e.prototype.findAll=function(t){return this.documentElement.findAll(t)},e}(rT),ir=function(){function t(t){this.strategies=t}return t.prototype.apply=function(e){var n=e.camera,r=e.renderingService,i=e.renderingContext,o=this.strategies;r.hooks.cull.tap(t.tag,function(t){if(t){var e=t.cullable;return(0===o.length?e.visible=i.unculledEntities.indexOf(t.entity)>-1:e.visible=o.every(function(e){return e.isVisible(n,t)}),!t.isCulled()&&t.isVisible())?t:(t.dispatchEvent(new rx(X.CULLED)),null)}return t}),r.hooks.afterRender.tap(t.tag,function(t){t.cullable.visibilityPlaneMask=-1})},t.tag="Culling",t}(),ii=function(){function t(){var t=this;this.autoPreventDefault=!1,this.rootPointerEvent=new rm(null),this.rootWheelEvent=new rE(null),this.onPointerMove=function(e){var n,r,i,o,a=null===(o=null===(i=t.context.renderingContext.root)||void 0===i?void 0:i.ownerDocument)||void 0===o?void 0:o.defaultView;if(!a.supportsTouchEvents||"touch"!==e.pointerType){var s=t.normalizeToPointerEvent(e,a);try{for(var l=(0,W.XA)(s),u=l.next();!u.done;u=l.next()){var c=u.value,h=t.bootstrapEvent(t.rootPointerEvent,c,a,e);t.context.eventService.mapEvent(h)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}t.setCursor(t.context.eventService.cursor)}},this.onClick=function(e){var n,r,i,o,a=null===(o=null===(i=t.context.renderingContext.root)||void 0===i?void 0:i.ownerDocument)||void 0===o?void 0:o.defaultView,s=t.normalizeToPointerEvent(e,a);try{for(var l=(0,W.XA)(s),u=l.next();!u.done;u=l.next()){var c=u.value,h=t.bootstrapEvent(t.rootPointerEvent,c,a,e);t.context.eventService.mapEvent(h)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}t.setCursor(t.context.eventService.cursor)}}return t.prototype.apply=function(e){var n=this;this.context=e;var r=e.renderingService,i=this.context.renderingContext.root.ownerDocument.defaultView;this.context.eventService.setPickHandler(function(t){return n.context.renderingService.hooks.pickSync.call({position:t,picked:[],topmost:!0}).picked[0]||null}),r.hooks.pointerWheel.tap(t.tag,function(t){var e=n.normalizeWheelEvent(t);n.context.eventService.mapEvent(e)}),r.hooks.pointerDown.tap(t.tag,function(t){if(!i.supportsTouchEvents||"touch"!==t.pointerType){var e,r,o=n.normalizeToPointerEvent(t,i);n.autoPreventDefault&&o[0].isNormalized&&(t.cancelable||!("cancelable"in t))&&t.preventDefault();try{for(var a=(0,W.XA)(o),s=a.next();!s.done;s=a.next()){var l=s.value,u=n.bootstrapEvent(n.rootPointerEvent,l,i,t);n.context.eventService.mapEvent(u)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}n.setCursor(n.context.eventService.cursor)}}),r.hooks.pointerUp.tap(t.tag,function(t){if(!i.supportsTouchEvents||"touch"!==t.pointerType){var e,r,o=n.context.contextService.getDomElement(),a=n.context.eventService.isNativeEventFromCanvas(o,t)?"":"outside",s=n.normalizeToPointerEvent(t,i);try{for(var l=(0,W.XA)(s),u=l.next();!u.done;u=l.next()){var c=u.value,h=n.bootstrapEvent(n.rootPointerEvent,c,i,t);h.type+=a,n.context.eventService.mapEvent(h)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}n.setCursor(n.context.eventService.cursor)}}),r.hooks.pointerMove.tap(t.tag,this.onPointerMove),r.hooks.pointerOver.tap(t.tag,this.onPointerMove),r.hooks.pointerOut.tap(t.tag,this.onPointerMove),r.hooks.click.tap(t.tag,this.onClick),r.hooks.pointerCancel.tap(t.tag,function(t){var e,r,o=n.normalizeToPointerEvent(t,i);try{for(var a=(0,W.XA)(o),s=a.next();!s.done;s=a.next()){var l=s.value,u=n.bootstrapEvent(n.rootPointerEvent,l,i,t);n.context.eventService.mapEvent(u)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}n.setCursor(n.context.eventService.cursor)})},t.prototype.bootstrapEvent=function(t,e,n,r){t.view=n,t.originalEvent=null,t.nativeEvent=r,t.pointerId=e.pointerId,t.width=e.width,t.height=e.height,t.isPrimary=e.isPrimary,t.pointerType=e.pointerType,t.pressure=e.pressure,t.tangentialPressure=e.tangentialPressure,t.tiltX=e.tiltX,t.tiltY=e.tiltY,t.twist=e.twist,this.transferMouseData(t,e);var i=this.context.eventService.client2Viewport({x:e.clientX,y:e.clientY}),o=i.x,a=i.y;t.viewport.x=o,t.viewport.y=a;var s=this.context.eventService.viewport2Canvas(t.viewport),l=s.x,u=s.y;return t.canvas.x=l,t.canvas.y=u,t.global.copyFrom(t.canvas),t.offset.copyFrom(t.canvas),t.isTrusted=r.isTrusted,"pointerleave"===t.type&&(t.type="pointerout"),t.type.startsWith("mouse")&&(t.type=t.type.replace("mouse","pointer")),t.type.startsWith("touch")&&(t.type=nW[t.type]||t.type),t},t.prototype.normalizeWheelEvent=function(t){var e=this.rootWheelEvent;this.transferMouseData(e,t),e.deltaMode=t.deltaMode,e.deltaX=t.deltaX,e.deltaY=t.deltaY,e.deltaZ=t.deltaZ;var n=this.context.eventService.client2Viewport({x:t.clientX,y:t.clientY}),r=n.x,i=n.y;e.viewport.x=r,e.viewport.y=i;var o=this.context.eventService.viewport2Canvas(e.viewport),a=o.x,s=o.y;return e.canvas.x=a,e.canvas.y=s,e.global.copyFrom(e.canvas),e.offset.copyFrom(e.canvas),e.nativeEvent=t,e.type=t.type,e},t.prototype.transferMouseData=function(t,e){t.isTrusted=e.isTrusted,t.srcElement=e.srcElement,t.timeStamp=nH.now(),t.type=e.type,t.altKey=e.altKey,t.metaKey=e.metaKey,t.shiftKey=e.shiftKey,t.ctrlKey=e.ctrlKey,t.button=e.button,t.buttons=e.buttons,t.client.x=e.clientX,t.client.y=e.clientY,t.movement.x=e.movementX,t.movement.y=e.movementY,t.page.x=e.pageX,t.page.y=e.pageY,t.screen.x=e.screenX,t.screen.y=e.screenY,t.relatedTarget=null},t.prototype.setCursor=function(t){this.context.contextService.applyCursorStyle(t||this.context.config.cursor||"default")},t.prototype.normalizeToPointerEvent=function(t,e){var n=[];if(e.isTouchEvent(t))for(var r=0;r-1,a=0,s=r.length;a=1?Math.ceil(M):1,C=l||("auto"===(n=nj(a,"width"))?a.offsetWidth:parseFloat(n))||a.width/M,w=u||("auto"===(r=nj(a,"height"))?a.offsetHeight:parseFloat(r))||a.height/M),s&&(rB.offscreenCanvas=s),i.devicePixelRatio=M,i.requestAnimationFrame=null!=v?v:n3.bind(rB.globalThis),i.cancelAnimationFrame=null!=y?y:n5.bind(rB.globalThis),i.supportsTouchEvents=null!=E?E:"ontouchstart"in rB.globalThis,i.supportsPointerEvents=null!=m?m:!!rB.globalThis.PointerEvent,i.isTouchEvent=null!=S?S:function(t){return i.supportsTouchEvents&&t instanceof rB.globalThis.TouchEvent},i.isMouseEvent=null!=N?N:function(t){return!rB.globalThis.MouseEvent||t instanceof rB.globalThis.MouseEvent&&(!i.supportsPointerEvents||!(t instanceof rB.globalThis.PointerEvent))},i.initRenderingContext({container:o,canvas:a,width:C,height:w,renderer:h,offscreenCanvas:s,devicePixelRatio:M,cursor:d||"default",background:p||"transparent",createImage:g,document:f,supportsCSSTransform:x,useNativeClickEvent:T,alwaysTriggerPointerEventOnCanvas:P}),i.initDefaultCamera(C,w,h.clipSpaceNearZ),i.initRenderer(h,!0),i}(0,W.ZT)(e,t),e.prototype.initRenderingContext=function(t){this.context.config=t,this.context.renderingContext={root:this.document.documentElement,renderListCurrentFrame:[],unculledEntities:[],renderReasons:new Set,force:!1,dirty:!1}},e.prototype.initDefaultCamera=function(t,e,n){var r=this,i=new rB.CameraContribution;i.clipSpaceNearZ=n,i.setType(A.EXPLORING,O.DEFAULT).setPosition(t/2,e/2,500).setFocalPoint(t/2,e/2,0).setOrthographic(-(t/2),t/2,e/2,-(e/2),.1,1e3),i.canvas=this,i.eventEmitter.on(tJ.UPDATED,function(){r.context.renderingContext.renderReasons.add(z.CAMERA_CHANGED),rB.enableSizeAttenuation&&r.getConfig().renderer.getConfig().enableSizeAttenuation&&r.updateSizeAttenuation()}),this.context.camera=i},e.prototype.updateSizeAttenuation=function(){var t=this.getCamera().getZoom();this.document.documentElement.forEach(function(e){rB.styleValueRegistry.updateSizeAttenuation(e,t)})},e.prototype.getConfig=function(){return this.context.config},e.prototype.getRoot=function(){return this.document.documentElement},e.prototype.getCamera=function(){return this.context.camera},e.prototype.getContextService=function(){return this.context.contextService},e.prototype.getEventService=function(){return this.context.eventService},e.prototype.getRenderingService=function(){return this.context.renderingService},e.prototype.getRenderingContext=function(){return this.context.renderingContext},e.prototype.getStats=function(){return this.getRenderingService().getStats()},Object.defineProperty(e.prototype,"ready",{get:function(){var t=this;return!this.readyPromise&&(this.readyPromise=new Promise(function(e){t.resolveReadyPromise=function(){e(t)}}),this.inited&&this.resolveReadyPromise()),this.readyPromise},enumerable:!1,configurable:!0}),e.prototype.destroy=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!1),e||this.dispatchEvent(new rx(j.BEFORE_DESTROY)),this.frameId&&(this.getConfig().cancelAnimationFrame||cancelAnimationFrame)(this.frameId);var n=this.getRoot();this.unmountChildren(n),t&&(this.document.destroy(),this.getEventService().destroy()),this.getRenderingService().destroy(),this.getContextService().destroy(),t&&this.context.rBushRoot&&(this.context.rBushRoot.clear(),this.context.rBushRoot=null,this.context.renderingContext.root=null),e||this.dispatchEvent(new rx(j.AFTER_DESTROY))},e.prototype.changeSize=function(t,e){this.resize(t,e)},e.prototype.resize=function(t,e){var n=this.context.config;n.width=t,n.height=e,this.getContextService().resize(t,e);var r=this.context.camera,i=r.getProjectionMode();r.setPosition(t/2,e/2,500).setFocalPoint(t/2,e/2,0),i===I.ORTHOGRAPHIC?r.setOrthographic(-(t/2),t/2,e/2,-(e/2),r.getNear(),r.getFar()):r.setAspect(t/e),this.dispatchEvent(new rx(j.RESIZE,{width:t,height:e}))},e.prototype.appendChild=function(t,e){return this.document.documentElement.appendChild(t,e)},e.prototype.insertBefore=function(t,e){return this.document.documentElement.insertBefore(t,e)},e.prototype.removeChild=function(t){return this.document.documentElement.removeChild(t)},e.prototype.removeChildren=function(){this.document.documentElement.removeChildren()},e.prototype.destroyChildren=function(){this.document.documentElement.destroyChildren()},e.prototype.render=function(t){var e=this;this.dispatchEvent(ic),this.getRenderingService().render(this.getConfig(),t,function(){e.dispatchEvent(ih)}),this.dispatchEvent(ip)},e.prototype.run=function(){var t=this,e=function(n,r){t.render(r),t.frameId=t.requestAnimationFrame(e)};e()},e.prototype.initRenderer=function(t,e){var n=this;if(void 0===e&&(e=!1),!t)throw Error("Renderer is required.");this.inited=!1,this.readyPromise=void 0,this.context.rBushRoot=new tC,this.context.renderingPlugins=[],this.context.renderingPlugins.push(new ii,new is,new ir([new ia])),this.loadRendererContainerModule(t),this.context.contextService=new this.context.ContextService((0,W.pi)((0,W.pi)({},rB),this.context)),this.context.renderingService=new rN(rB,this.context),this.context.eventService=new rP(rB,this.context),this.context.eventService.init(),this.context.contextService.init?(this.context.contextService.init(),this.initRenderingService(t,e,!0)):this.context.contextService.initAsync().then(function(){n.initRenderingService(t,e)})},e.prototype.initRenderingService=function(t,e,n){var r=this;void 0===e&&(e=!1),void 0===n&&(n=!1),this.context.renderingService.init(function(){r.inited=!0,e?(n?r.requestAnimationFrame(function(){r.dispatchEvent(new rx(j.READY))}):r.dispatchEvent(new rx(j.READY)),r.readyPromise&&r.resolveReadyPromise()):r.dispatchEvent(new rx(j.RENDERER_CHANGED)),e||r.getRoot().forEach(function(t){var e=t.renderable;e&&(e.renderBoundsDirty=!0,e.boundsDirty=!0,e.dirty=!0)}),r.mountChildren(r.getRoot()),t.getConfig().enableAutoRendering&&r.run()})},e.prototype.loadRendererContainerModule=function(t){var e=this;t.getPlugins().forEach(function(t){t.context=e.context,t.init(rB)})},e.prototype.setRenderer=function(t){var e=this.getConfig();if(e.renderer!==t){var n=e.renderer;e.renderer=t,this.destroy(!1,!0),(0,W.ev)([],(0,W.CR)(null==n?void 0:n.getPlugins()),!1).reverse().forEach(function(t){t.destroy(rB)}),this.initRenderer(t)}},e.prototype.setCursor=function(t){this.getConfig().cursor=t,this.getContextService().applyCursorStyle(t)},e.prototype.unmountChildren=function(t){var e=this;t.childNodes.forEach(function(t){e.unmountChildren(t)}),this.inited&&(t.isMutationObserved?t.dispatchEvent(iu):(iu.target=t,this.dispatchEvent(iu,!0)),t!==this.document.documentElement&&(t.ownerDocument=null),t.isConnected=!1),t.isCustomElement&&t.disconnectedCallback&&t.disconnectedCallback()},e.prototype.mountChildren=function(t){var e=this;this.inited?t.isConnected||(t.ownerDocument=this.document,t.isConnected=!0,t.isMutationObserved?t.dispatchEvent(il):(il.target=t,this.dispatchEvent(il,!0))):console.warn("[g]: You are trying to call `canvas.appendChild` before canvas' initialization finished. You can either await `canvas.ready` or listen to `CanvasEvent.READY` manually.","appended child: ",t.nodeName),t.childNodes.forEach(function(t){e.mountChildren(t)}),t.isCustomElement&&t.connectedCallback&&t.connectedCallback()},e.prototype.client2Viewport=function(t){return this.getEventService().client2Viewport(t)},e.prototype.viewport2Client=function(t){return this.getEventService().viewport2Client(t)},e.prototype.viewport2Canvas=function(t){return this.getEventService().viewport2Canvas(t)},e.prototype.canvas2Viewport=function(t){return this.getEventService().canvas2Viewport(t)},e.prototype.getPointByClient=function(t,e){return this.client2Viewport({x:t,y:e})},e.prototype.getClientByPoint=function(t,e){return this.viewport2Client({x:t,y:e})}}(rb)}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/framework-bf941633d42c5f92.js b/dbgpt/app/static/web/_next/static/chunks/framework-8b06d32cbb857e0e.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/framework-bf941633d42c5f92.js rename to dbgpt/app/static/web/_next/static/chunks/framework-8b06d32cbb857e0e.js diff --git a/dbgpt/app/static/web/_next/static/chunks/main-28c79a921c889131.js b/dbgpt/app/static/web/_next/static/chunks/main-6c4c7f5b8c9b1320.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/main-28c79a921c889131.js rename to dbgpt/app/static/web/_next/static/chunks/main-6c4c7f5b8c9b1320.js diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/_app-690c49bd776698cb.js b/dbgpt/app/static/web/_next/static/chunks/pages/_app-690c49bd776698cb.js deleted file mode 100644 index 1117e74b4..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/pages/_app-690c49bd776698cb.js +++ /dev/null @@ -1,92 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{16397:function(e,t,n){"use strict";n.d(t,{iN:function(){return R},R_:function(){return u}});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 s(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.vq)(t,n,o,!1))}function l(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 E(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function u(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.uA)(e),u=5;u>0;u-=1){var T=a(r),d=s((0,o.uA)({h:l(T,u,!0),s:c(T,u,!0),v:E(T,u,!0)}));n.push(d)}n.push(s(r));for(var f=1;f<=4;f+=1){var R=a(r),A=s((0,o.uA)({h:l(R,f),s:c(R,f),v:E(R,f)}));n.push(A)}return"dark"===t.theme?i.map(function(e){var r,i,a,l=e.index,c=e.opacity;return s((r=(0,o.uA)(t.backgroundColor||"#141414"),i=(0,o.uA)(n[l]),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 T={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"},d={},f={};Object.keys(T).forEach(function(e){d[e]=u(T[e]),d[e].primary=d[e][5],f[e]=u(T[e],{theme:"dark",backgroundColor:"#141414"}),f[e].primary=f[e][5]}),d.red,d.volcano,d.gold,d.orange,d.yellow,d.lime,d.green,d.cyan;var R=d.blue;d.geekblue,d.purple,d.magenta,d.grey,d.grey},87893:function(e,t,n){"use strict";n.d(t,{rb:function(){return eB},IX:function(){return eD}});var r,o=n(71002),i=n(97685),a=n(4942),s=n(1413),l=n(67294),c=n.t(l,2),E=n(44958);n(56982),n(91881);var u=n(15671),T=n(43144);function d(e){return e.join("%")}var f=function(){function e(t){(0,u.Z)(this,e),(0,a.Z)(this,"instanceId",void 0),(0,a.Z)(this,"cache",new Map),this.instanceId=t}return(0,T.Z)(e,[{key:"get",value:function(e){return this.opGet(d(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(d(e),t)}},{key:"opUpdate",value:function(e,t){var n=t(this.cache.get(e));null===n?this.cache.delete(e):this.cache.set(e,n)}}]),e}(),R="data-token-hash",A="data-css-hash",S="__cssinjs_instance__",O=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(A,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(t){t[S]=t[S]||e,t[S]===e&&document.head.insertBefore(t,n)});var r={};Array.from(document.querySelectorAll("style[".concat(A,"]"))).forEach(function(t){var n,o=t.getAttribute(A);r[o]?t[S]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[o]=!0})}return new f(e)}(),defaultCache:!0}),p=n(98924),h=function(){function e(){(0,u.Z)(this,e),(0,a.Z)(this,"cache",void 0),(0,a.Z)(this,"keys",void 0),(0,a.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,T.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;o=null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.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,i.Z)(e,2)[1];return r.internalGet(t)[1]3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(o)return e;var i=(0,s.Z)((0,s.Z)({},r),{},(0,a.Z)((0,a.Z)({},R,t),A,n)),l=Object.keys(i).map(function(e){var t=i[e];return t?"".concat(e,'="').concat(t,'"'):null}).filter(function(e){return e}).join(" ");return"")}var _=n(74902),C=n(8410),g=(0,s.Z)({},c).useInsertionEffect,L=g?function(e,t,n){return g(function(){return e(),t()},n)}:function(e,t,n){l.useMemo(e,n),(0,C.Z)(function(){return t(!0)},n)},v=void 0!==(0,s.Z)({},c).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 y(e,t,n,r,o){var a=l.useContext(O).cache,s=d([e].concat((0,_.Z)(t))),c=v([s]),E=function(e){a.opUpdate(s,function(t){var r=(0,i.Z)(t||[void 0,void 0],2),o=r[0],a=[void 0===o?0:o,r[1]||n()];return e?e(a):a})};l.useMemo(function(){E()},[s]);var u=a.opGet(s)[1];return L(function(){null==o||o(u)},function(e){return E(function(t){var n=(0,i.Z)(t,2),r=n[0],a=n[1];return e&&0===r&&(null==o||o(u)),[r+1,a]}),function(){a.opUpdate(s,function(t){var n=(0,i.Z)(t||[],2),o=n[0],l=void 0===o?0:o,E=n[1];return 0==l-1?(c(function(){(e||!a.opGet(s))&&(null==r||r(E,!1))}),null):[l-1,E]})}},[s]),u}var P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},b=function(e,t,n){var r,o={},a={};return Object.entries(e).forEach(function(e){var t=(0,i.Z)(e,2),r=t[0],s=t[1];if(null!=n&&null!==(l=n.preserve)&&void 0!==l&&l[r])a[r]=s;else if(("string"==typeof s||"number"==typeof s)&&!(null!=n&&null!==(c=n.ignore)&&void 0!==c&&c[r])){var l,c,E,u=P(r,null==n?void 0:n.prefix);o[u]="number"!=typeof s||null!=n&&null!==(E=n.unitless)&&void 0!==E&&E[r]?String(s):"".concat(s,"px"),a[r]="var(".concat(u,")")}}),[a,(r={scope:null==n?void 0:n.scope},Object.keys(o).length?".".concat(t).concat(null!=r&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(o).map(function(e){var t=(0,i.Z)(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")}).join(""),"}"):"")]},M=n(87462),D=n(62506),U=n(40351),x="comm",w="rule",G="decl",F=Math.abs,H=String.fromCharCode;function B(e,t,n){return e.replace(t,n)}function Y(e,t){return 0|e.charCodeAt(t)}function k(e,t,n){return e.slice(t,n)}function V(e){return e.length}function $(e,t){return t.push(e),e}function W(e,t){for(var n="",r=0;r0?d[O]+" "+p:B(p,/&\f/g,d[O])).trim())&&(l[S++]=h);return Q(e,t,n,0===o?w:s,l,c,E,u)}function ei(e,t,n,r,o){return Q(e,t,n,G,k(e,0,r),k(e,r+1,-1),r,o)}var ea="data-ant-cssinjs-cache-path",es="_FILE_STYLE__",el=!0,ec="_multi_value_";function eE(e){var t,n,r;return W((r=function e(t,n,r,o,i,a,s,l,c){for(var E,u,T,d=0,f=0,R=s,A=0,S=0,O=0,p=1,h=1,N=1,I=0,m="",_=i,C=a,g=o,L=m;h;)switch(O=I,I=ee()){case 40:if(108!=O&&58==Y(L,R-1)){-1!=(u=L+=B(er(I),"&","&\f"),T=F(d?l[d-1]:0),u.indexOf("&\f",T))&&(N=-1);break}case 34:case 39:case 91:L+=er(I);break;case 9:case 10:case 13:case 32:L+=function(e){for(;q=et();)if(q<33)ee();else break;return en(e)>2||en(q)>3?"":" "}(O);break;case 92:L+=function(e,t){for(var n;--t&&ee()&&!(q<48)&&!(q>102)&&(!(q>57)||!(q<65))&&(!(q>70)||!(q<97)););return n=z+(t<6&&32==et()&&32==ee()),k(J,e,n)}(z-1,7);continue;case 47:switch(et()){case 42:case 47:$(Q(E=function(e,t){for(;ee();)if(e+q===57)break;else if(e+q===84&&47===et())break;return"/*"+k(J,t,z-1)+"*"+H(47===e?e:ee())}(ee(),z),n,r,x,H(q),k(E,2,-2),0,c),c);break;default:L+="/"}break;case 123*p:l[d++]=V(L)*N;case 125*p:case 59:case 0:switch(I){case 0:case 125:h=0;case 59+f:-1==N&&(L=B(L,/\f/g,"")),S>0&&V(L)-R&&$(S>32?ei(L+";",o,r,R-1,c):ei(B(L," ","")+";",o,r,R-2,c),c);break;case 59:L+=";";default:if($(g=eo(L,n,r,d,f,i,l,m,_=[],C=[],R,a),a),123===I){if(0===f)e(L,n,g,g,_,a,R,l,C);else switch(99===A&&110===Y(L,3)?100:A){case 100:case 108:case 109:case 115:e(t,g,g,o&&$(eo(t,g,g,0,0,i,l,m,i,_=[],R,C),C),i,C,R,l,o?_:C);break;default:e(L,g,g,g,[""],C,0,l,C)}}}d=f=S=0,p=N=1,m=L="",R=s;break;case 58:R=1+V(L),S=O;default:if(p<1){if(123==I)--p;else if(125==I&&0==p++&&125==(q=z>0?Y(J,--z):0,X--,10===q&&(X=1,j--),q))continue}switch(L+=H(I),I*p){case 38:N=f>0?1:(L+="\f",-1);break;case 44:l[d++]=(V(L)-1)*N,N=1;break;case 64:45===et()&&(L+=er(ee())),A=et(),f=R=V(m=L+=function(e){for(;!en(et());)ee();return k(J,e,z)}(z)),I++;break;case 45:45===O&&2==V(L)&&(p=0)}}return a}("",null,null,null,[""],(n=t=e,j=X=1,K=V(J=n),z=0,t=[]),0,[0],t),J="",r),Z).replace(/\{%%%\:[^;];}/g,";")}var eu=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,c=r.parentSelectors,E=n.hashId,u=n.layer,T=(n.path,n.hashPriority),d=n.transformers,f=void 0===d?[]:d;n.linters;var R="",A={};function S(t){var r=t.getName(E);if(!A[r]){var o=e(t.style,n,{root:!1,parentSelectors:c}),a=(0,i.Z)(o,1)[0];A[r]="@keyframes ".concat(t.getName(E)).concat(a)}}return(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)R+="".concat(r,"\n");else if(r._keyframe)S(r);else{var u=f.reduce(function(e,t){var n;return(null==t||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,o.Z)(r)||!r||"animationName"===t&&r._keyframe||"object"===(0,o.Z)(r)&&r&&("_skip_check_"in r||ec in r)){function d(e,t){var n=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),r=t;U.Z[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(S(t),r=t.getName(E)),R+="".concat(n,":").concat(r,";")}var f,O=null!==(f=null==r?void 0:r.value)&&void 0!==f?f:r;"object"===(0,o.Z)(r)&&null!=r&&r[ec]&&Array.isArray(O)?O.forEach(function(e){d(t,e)}):d(t,O)}else{var p=!1,h=t.trim(),N=!1;(a||l)&&E?h.startsWith("@")?p=!0:h=function(e,t,n){if(!t)return e;var r=".".concat(t),o="low"===n?":where(".concat(r,")"):r;return e.split(",").map(function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",i=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(i).concat(o).concat(r.slice(i.length))].concat((0,_.Z)(n.slice(1))).join(" ")}).join(",")}(t,E,T):a&&!E&&("&"===h||""===h)&&(h="",N=!0);var I=e(r,n,{root:N,injectHash:p,parentSelectors:[].concat((0,_.Z)(c),[h])}),m=(0,i.Z)(I,2),C=m[0],g=m[1];A=(0,s.Z)((0,s.Z)({},A),g),R+="".concat(h).concat(C)}})}}),a?u&&(R="@layer ".concat(u.name," {").concat(R,"}"),u.dependencies&&(A["@layer ".concat(u.name)]=u.dependencies.map(function(e){return"@layer ".concat(e,", ").concat(u.name,";")}).join("\n"))):R="{".concat(R,"}"),[R,A]};function eT(e,t){return(0,D.Z)("".concat(e.join("%")).concat(t))}function ed(){return null}var ef="style";function eR(e,t){var n=e.token,o=e.path,c=e.hashId,u=e.layer,T=e.nonce,d=e.clientOnly,f=e.order,h=void 0===f?0:f,I=l.useContext(O),m=I.autoClear,C=(I.mock,I.defaultCache),g=I.hashPriority,L=I.container,v=I.ssrInline,P=I.transformers,b=I.linters,D=I.cache,U=I.layer,x=n._tokenKey,w=[x];U&&w.push("layer"),w.push.apply(w,(0,_.Z)(o));var G=y(ef,w,function(){var e=w.join("|");if(!function(){if(!r&&(r={},(0,p.Z)())){var e,t=document.createElement("div");t.className=ea,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,i.Z)(t,2),o=n[0],a=n[1];r[o]=a});var o=document.querySelector("style[".concat(ea,"]"));o&&(el=!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,p.Z)()){if(el)n=es;else{var o=document.querySelector("style[".concat(A,'="').concat(r[e],'"]'));o?n=o.innerHTML:delete r[e]}}return[n,t]}(e),a=(0,i.Z)(n,2),s=a[0],l=a[1];if(s)return[s,x,l,{},d,h]}var E=eu(t(),{hashId:c,hashPriority:g,layer:U?u:void 0,path:o.join("-"),transformers:P,linters:b}),T=(0,i.Z)(E,2),f=T[0],R=T[1],S=eE(f),O=eT(w,S);return[S,x,O,R,d,h]},function(e,t){var n=(0,i.Z)(e,3)[2];(t||m)&&N&&(0,E.jL)(n,{mark:A})},function(e){var t=(0,i.Z)(e,4),n=t[0],r=(t[1],t[2]),o=t[3];if(N&&n!==es){var a={mark:A,prepend:!U&&"queue",attachTo:L,priority:h},l="function"==typeof T?T():T;l&&(a.csp={nonce:l});var c=[],u=[];Object.keys(o).forEach(function(e){e.startsWith("@layer")?c.push(e):u.push(e)}),c.forEach(function(e){(0,E.hq)(eE(o[e]),"_layer-".concat(e),(0,s.Z)((0,s.Z)({},a),{},{prepend:!0}))});var d=(0,E.hq)(n,r,a);d[S]=D.instanceId,d.setAttribute(R,x),u.forEach(function(e){(0,E.hq)(eE(o[e]),"_effect-".concat(e),a)})}}),F=(0,i.Z)(G,3),H=F[0],B=F[1],Y=F[2];return function(e){var t;return t=v&&!N&&C?l.createElement("style",(0,M.Z)({},(0,a.Z)((0,a.Z)({},R,B),A,Y),{dangerouslySetInnerHTML:{__html:H}})):l.createElement(ed,null),l.createElement(l.Fragment,null,t,e)}}var eA="cssVar",eS=function(e,t){var n=e.key,r=e.prefix,o=e.unitless,a=e.ignore,s=e.token,c=e.scope,u=void 0===c?"":c,T=(0,l.useContext)(O),d=T.cache.instanceId,f=T.container,p=s._tokenKey,h=[].concat((0,_.Z)(e.path),[n,u,p]);return y(eA,h,function(){var e=b(t(),n,{prefix:r,unitless:o,ignore:a,scope:u}),s=(0,i.Z)(e,2),l=s[0],c=s[1],E=eT(h,c);return[l,c,E,n]},function(e){var t=(0,i.Z)(e,3)[2];N&&(0,E.jL)(t,{mark:A})},function(e){var t=(0,i.Z)(e,3),r=t[1],o=t[2];if(r){var a=(0,E.hq)(r,o,{mark:A,prepend:"queue",attachTo:f,priority:-999});a[S]=d,a.setAttribute(R,n)}})};function eO(e){return e.notSplit=!0,e}(0,a.Z)((0,a.Z)((0,a.Z)({},ef,function(e,t,n){var r=(0,i.Z)(e,6),o=r[0],a=r[1],s=r[2],l=r[3],c=r[4],E=r[5],u=(n||{}).plain;if(c)return null;var T=o,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(E)};return T=m(o,a,s,d,u),l&&Object.keys(l).forEach(function(e){if(!t[e]){t[e]=!0;var n=m(eE(l[e]),a,"_effect-".concat(e),d,u);e.startsWith("@layer")?T=n+T:T+=n}}),[E,s,T]}),"token",function(e,t,n){var r=(0,i.Z)(e,5),o=r[2],a=r[3],s=r[4],l=(n||{}).plain;if(!a)return null;var c=o._tokenKey,E=m(a,s,c,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l);return[-999,c,E]}),eA,function(e,t,n){var r=(0,i.Z)(e,4),o=r[1],a=r[2],s=r[3],l=(n||{}).plain;if(!o)return null;var c=m(o,s,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l);return[-999,a,c]}),eO(["borderTop","borderBottom"]),eO(["borderTop"]),eO(["borderBottom"]),eO(["borderLeft","borderRight"]),eO(["borderLeft"]),eO(["borderRight"]);var ep=n(97326),eh=n(60136),eN=n(18486),eI=(0,T.Z)(function e(){(0,u.Z)(this,e)}),em="CALC_UNIT",e_=RegExp(em,"g");function eC(e){return"number"==typeof e?"".concat(e).concat(em):e}var eg=function(e){(0,eh.Z)(n,e);var t=(0,eN.Z)(n);function n(e,r){(0,u.Z)(this,n),i=t.call(this),(0,a.Z)((0,ep.Z)(i),"result",""),(0,a.Z)((0,ep.Z)(i),"unitlessCssVar",void 0),(0,a.Z)((0,ep.Z)(i),"lowPriority",void 0);var i,s=(0,o.Z)(e);return i.unitlessCssVar=r,e instanceof n?i.result="(".concat(e.result,")"):"number"===s?i.result=eC(e):"string"===s&&(i.result=e),i}return(0,T.Z)(n,[{key:"add",value:function(e){return e instanceof n?this.result="".concat(this.result," + ").concat(e.getResult()):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," + ").concat(eC(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof n?this.result="".concat(this.result," - ").concat(e.getResult()):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," - ").concat(eC(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," * ").concat(e.getResult(!0)):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," / ").concat(e.getResult(!0)):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,n=(e||{}).unit,r=!0;return("boolean"==typeof n?r=n:Array.from(this.unitlessCssVar).some(function(e){return t.result.includes(e)})&&(r=!1),this.result=this.result.replace(e_,r?"px":""),void 0!==this.lowPriority)?"calc(".concat(this.result,")"):this.result}}]),n}(eI),eL=function(e){(0,eh.Z)(n,e);var t=(0,eN.Z)(n);function n(e){var r;return(0,u.Z)(this,n),r=t.call(this),(0,a.Z)((0,ep.Z)(r),"result",0),e instanceof n?r.result=e.result:"number"==typeof e&&(r.result=e),r}return(0,T.Z)(n,[{key:"add",value:function(e){return e instanceof n?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof n?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof n?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof n?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),n}(eI),ev=function(e,t){var n="css"===e?eg:eL;return function(e){return new n(e,t)}},ey=function(e,t){return"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function eP(e,t,n,r){var o=(0,s.Z)({},t[e]);null!=r&&r.deprecatedTokens&&r.deprecatedTokens.forEach(function(e){var t,n=(0,i.Z)(e,2),r=n[0],a=n[1];(null!=o&&o[r]||null!=o&&o[a])&&(null!==(t=o[a])&&void 0!==t||(o[a]=null==o?void 0:o[r]))});var a=(0,s.Z)((0,s.Z)({},n),o);return Object.keys(a).forEach(function(e){a[e]===t[e]&&delete a[e]}),a}n(56790);var eb="undefined"!=typeof CSSINJS_STATISTIC,eM=!0;function eD(){for(var e=arguments.length,t=Array(e),n=0;n1e4){var t=Date.now();this.lastAccessBeat.forEach(function(n,r){t-n>6e5&&(e.map.delete(r),e.lastAccessBeat.delete(r))}),this.accessBeat=0}}}]),e}()),eH=function(){return{}};function eB(e){var t=e.useCSP,n=void 0===t?eH:t,r=e.useToken,c=e.usePrefix,E=e.getResetStyles,u=e.getCommonStyle,T=e.getCompUnitless;function d(e,t,a){var T=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},d=Array.isArray(e)?e:[e,e],f=(0,i.Z)(d,1)[0],R=d.join("-");return function(e){var i,d,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,S=r(),O=S.theme,p=S.realToken,h=S.hashId,N=S.token,m=S.cssVar,_=c(),C=_.rootPrefixCls,g=_.iconPrefixCls,L=n(),v=m?"css":"js",y=(i=function(){var e=new Set;return m&&Object.keys(T.unitless||{}).forEach(function(t){e.add(P(t,m.prefix)),e.add(P(t,ey(f,m.prefix)))}),ev(v,e)},d=[v,f,null==m?void 0:m.prefix],l.useMemo(function(){var e=eF.get(d);if(e)return e;var t=i();return eF.set(d,t),t},d)),b="js"===v?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:e,n=m(e,t),r=(0,i.Z)(n,2)[1],o=_(t),a=(0,i.Z)(o,2);return[a[0],r,a[1]]}},genSubStyleComponent:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=d(e,t,n,(0,s.Z)({resetStyle:!1,order:-998},r));return function(e){var t=e.prefixCls,n=e.rootCls,r=void 0===n?t:n;return o(t,r),null}},genComponentStyleHook:d}}},72961:function(e,t){"use strict";t.Z={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"}},1085:function(e,t){"use strict";t.Z={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"}},89503:function(e,t){"use strict";t.Z={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"}},24753:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"}},83707:function(e,t){"use strict";t.Z={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"}},70593:function(e,t){"use strict";t.Z={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 42h216v494zM504 618H320c-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-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"}},12489:function(e,t){"use strict";t.Z={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"}},15294:function(e,t){"use strict";t.Z={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"}},44039:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z"}}]},name:"vertical-align-top",theme:"outlined"}},13401:function(e,t,n){"use strict";var r=n(87462),o=n(97685),i=n(4942),a=n(45987),s=n(67294),l=n(93967),c=n.n(l),E=n(16397),u=n(63017),T=n(58784),d=n(59068),f=n(41755),R=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];(0,d.U)(E.iN.primary);var A=s.forwardRef(function(e,t){var n=e.className,l=e.icon,E=e.spin,d=e.rotate,A=e.tabIndex,S=e.onClick,O=e.twoToneColor,p=(0,a.Z)(e,R),h=s.useContext(u.Z),N=h.prefixCls,I=void 0===N?"anticon":N,m=h.rootClassName,_=c()(m,I,(0,i.Z)((0,i.Z)({},"".concat(I,"-").concat(l.name),!!l.name),"".concat(I,"-spin"),!!E||"loading"===l.name),n),C=A;void 0===C&&S&&(C=-1);var g=(0,f.H9)(O),L=(0,o.Z)(g,2),v=L[0],y=L[1];return s.createElement("span",(0,r.Z)({role:"img","aria-label":l.name},p,{ref:t,tabIndex:C,onClick:S,className:_}),s.createElement(T.Z,{icon:l,primaryColor:v,secondaryColor:y,style:d?{msTransform:"rotate(".concat(d,"deg)"),transform:"rotate(".concat(d,"deg)")}:void 0}))});A.displayName="AntdIcon",A.getTwoToneColor=d.m,A.setTwoToneColor=d.U,t.Z=A},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),s=n(67294),l=n(93967),c=n.n(l),E=n(42550),u=n(63017),T=n(41755),d=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],f=s.forwardRef(function(e,t){var n=e.className,l=e.component,f=e.viewBox,R=e.spin,A=e.rotate,S=e.tabIndex,O=e.onClick,p=e.children,h=(0,a.Z)(e,d),N=s.useRef(),I=(0,E.x1)(N,t);(0,T.Kp)(!!(l||p),"Should have `component` prop or `children`."),(0,T.C3)(N);var m=s.useContext(u.Z),_=m.prefixCls,C=void 0===_?"anticon":_,g=m.rootClassName,L=c()(g,C,n),v=c()((0,i.Z)({},"".concat(C,"-spin"),!!R)),y=(0,o.Z)((0,o.Z)({},T.vD),{},{className:v,style:A?{msTransform:"rotate(".concat(A,"deg)"),transform:"rotate(".concat(A,"deg)")}:void 0,viewBox:f});f||delete y.viewBox;var P=S;return void 0===P&&O&&(P=-1),s.createElement("span",(0,r.Z)({role:"img"},h,{ref:I,tabIndex:P,onClick:O,className:L}),l?s.createElement(l,y,p):p?((0,T.Kp)(!!f||1===s.Children.count(p)&&s.isValidElement(p)&&"use"===s.Children.only(p).type,"Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),s.createElement("svg",(0,r.Z)({},y,{viewBox:f}),p)):null)});f.displayName="AntdIcon",t.Z=f},58784:function(e,t,n){"use strict";var r=n(45987),o=n(1413),i=n(67294),a=n(41755),s=["icon","className","onClick","style","primaryColor","secondaryColor"],l={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},c=function(e){var t=e.icon,n=e.className,c=e.onClick,E=e.style,u=e.primaryColor,T=e.secondaryColor,d=(0,r.Z)(e,s),f=i.useRef(),R=l;if(u&&(R={primaryColor:u,secondaryColor:T||(0,a.pw)(u)}),(0,a.C3)(f),(0,a.Kp)((0,a.r)(t),"icon should be icon definiton, but got ".concat(t)),!(0,a.r)(t))return null;var A=t;return A&&"function"==typeof A.icon&&(A=(0,o.Z)((0,o.Z)({},A),{},{icon:A.icon(R.primaryColor,R.secondaryColor)})),(0,a.R_)(A.icon,"svg-".concat(A.name),(0,o.Z)((0,o.Z)({className:n,onClick:c,style:E,"data-icon":A.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},d),{},{ref:f}))};c.displayName="IconReact",c.getTwoToneColors=function(){return(0,o.Z)({},l)},c.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;l.primaryColor=t,l.secondaryColor=n||(0,a.pw)(t),l.calculated=!!n},t.Z=c},59068:function(e,t,n){"use strict";n.d(t,{U:function(){return a},m:function(){return s}});var r=n(97685),o=n(58784),i=n(41755);function a(e){var t=(0,i.H9)(e),n=(0,r.Z)(t,2),a=n[0],s=n[1];return o.Z.setTwoToneColors({primaryColor:a,secondaryColor:s})}function s(){var e=o.Z.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}},41156:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"},a=n(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},50067:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),i={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"},a=n(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},9020:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),i={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"},a=n(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},9641:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 100c-61.8 0-112 50.2-112 112 0 47.7 29.9 88.5 72 104.6v27.6L512 601.4 312 344.2v-27.6c42.1-16.1 72-56.9 72-104.6 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 50.6 33.8 93.5 80 107.3v34.4c0 9.7 3.3 19.3 9.3 27L476 672.3v33.6c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-33.6l226.7-291.6c6-7.7 9.3-17.3 9.3-27v-34.4c46.2-13.8 80-56.7 80-107.3 0-61.8-50.2-112-112-112zM224 212a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm336 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm192-552a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"fork",theme:"outlined"},a=n(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},10524:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),i={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"},a=n(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},84477:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),i={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=n(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},19944:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),i={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"},a=n(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},38545:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),i={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"},a=n(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},92962:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),i={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"},a=n(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},14079:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 161H699.2c-49.1 0-97.1 14.1-138.4 40.7L512 233l-48.8-31.3A255.2 255.2 0 00324.8 161H96c-17.7 0-32 14.3-32 32v568c0 17.7 14.3 32 32 32h228.8c49.1 0 97.1 14.1 138.4 40.7l44.4 28.6c1.3.8 2.8 1.3 4.3 1.3s3-.4 4.3-1.3l44.4-28.6C602 807.1 650.1 793 699.2 793H928c17.7 0 32-14.3 32-32V193c0-17.7-14.3-32-32-32zM324.8 721H136V233h188.8c35.4 0 69.8 10.1 99.5 29.2l48.8 31.3 6.9 4.5v462c-47.6-25.6-100.8-39-155.2-39zm563.2 0H699.2c-54.4 0-107.6 13.4-155.2 39V298l6.9-4.5 48.8-31.3c29.7-19.1 64.1-29.2 99.5-29.2H888v488zM396.9 361H211.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5zm223.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c0-4.1-3.2-7.5-7.1-7.5H627.1c-3.9 0-7.1 3.4-7.1 7.5zM396.9 501H211.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5zm416 0H627.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5z"}}]},name:"read",theme:"outlined"},a=n(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},93045:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},a=n(13401),s=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 S},H9:function(){return R},Kp:function(){return u},R_:function(){return function e(t,n,o){return o?c.createElement(t.tag,(0,r.Z)((0,r.Z)({key:n},d(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},d(t.attrs)),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))}))}},pw:function(){return f},r:function(){return T},vD:function(){return A}});var r=n(1413),o=n(71002),i=n(16397),a=n(44958),s=n(27571),l=n(80334),c=n(67294),E=n(63017);function u(e,t){(0,l.ZP)(e,"[@ant-design/icons] ".concat(t))}function T(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 d(){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 f(e){return(0,i.R_)(e)[0]}function R(e){return e?Array.isArray(e)?e:[e]:[]}var A={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},S=function(e){var t=(0,c.useContext)(E.Z),n=t.csp,r=t.prefixCls,o="\n.anticon {\n display: inline-flex;\n align-items: center;\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,s.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 T},VD:function(){return d},WE:function(){return c},Yt:function(){return f},lC:function(){return i},py:function(){return l},rW:function(){return o},s:function(){return u},ve:function(){return s},vq:function(){return E}});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,s=0,l=(o+i)/2;if(o===i)s=0,a=0;else{var c=o-i;switch(s=l>.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 s(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,s=n,o=n;else{var o,i,s,l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;o=a(c,l,e+1/3),i=a(c,l,e),s=a(c,l,e-1/3)}return{r:255*o,g:255*i,b:255*s}}function l(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,s=o-i;if(o===i)a=0;else{switch(o){case e:a=(t-n)/s+(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,s=null,l=null,c=!1,T=!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=E.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=E.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=E.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=E.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=E.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=E.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=E.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=E.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=E.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=E.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&&(u(e.r)&&u(e.g)&&u(e.b)?(t=(0,r.rW)(e.r,e.g,e.b),c=!0,T="%"===String(e.r).substr(-1)?"prgb":"rgb"):u(e.h)&&u(e.s)&&u(e.v)?(a=(0,i.JX)(e.s),s=(0,i.JX)(e.v),t=(0,r.WE)(e.h,a,s),c=!0,T="hsv"):u(e.h)&&u(e.s)&&u(e.l)&&(a=(0,i.JX)(e.s),l=(0,i.JX)(e.l),t=(0,r.ve)(e.h,a,l),c=!0,T="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.Yq)(n),{ok:c,format:e.format||T,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 s="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),l="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),c="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),E={CSS_UNIT:new RegExp(s),rgb:RegExp("rgb"+l),rgba:RegExp("rgba"+c),hsl:RegExp("hsl"+l),hsla:RegExp("hsla"+c),hsv:RegExp("hsv"+l),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 u(e){return!!E.CSS_UNIT.exec(String(e))}},10274:function(e,t,n){"use strict";n.d(t,{C:function(){return s}});var r=n(86500),o=n(48701),i=n(1350),a=n(90279),s=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=[],s=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+s)%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 s(e){return 1===e.length?"0"+e:String(e)}n.d(t,{FZ:function(){return s},JX:function(){return a},V2:function(){return o},Yq:function(){return i},sh:function(){return r}})},62506:function(e,t){"use strict";t.Z=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)}},40351:function(e,t){"use strict";t.Z={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}},2788:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r=n(97685),o=n(67294),i=n(73935),a=n(98924);n(80334);var s=n(42550),l=o.createContext(null),c=n(74902),E=n(8410),u=[],T=n(44958),d=n(74204),f="rc-util-locker-".concat(Date.now()),R=0,A=!1,S=function(e){return!1!==e&&((0,a.Z)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},O=o.forwardRef(function(e,t){var n,O,p,h,N=e.open,I=e.autoLock,m=e.getContainer,_=(e.debug,e.autoDestroy),C=void 0===_||_,g=e.children,L=o.useState(N),v=(0,r.Z)(L,2),y=v[0],P=v[1],b=y||N;o.useEffect(function(){(C||N)&&P(N)},[N,C]);var M=o.useState(function(){return S(m)}),D=(0,r.Z)(M,2),U=D[0],x=D[1];o.useEffect(function(){var e=S(m);x(null!=e?e:null)});var w=function(e,t){var n=o.useState(function(){return(0,a.Z)()?document.createElement("div"):null}),i=(0,r.Z)(n,1)[0],s=o.useRef(!1),T=o.useContext(l),d=o.useState(u),f=(0,r.Z)(d,2),R=f[0],A=f[1],S=T||(s.current?void 0:function(e){A(function(t){return[e].concat((0,c.Z)(t))})});function O(){i.parentElement||document.body.appendChild(i),s.current=!0}function p(){var e;null===(e=i.parentElement)||void 0===e||e.removeChild(i),s.current=!1}return(0,E.Z)(function(){return e?T?T(O):O():p(),p},[e]),(0,E.Z)(function(){R.length&&(R.forEach(function(e){return e()}),A(u))},[R]),[i,S]}(b&&!U,0),G=(0,r.Z)(w,2),F=G[0],H=G[1],B=null!=U?U:F;n=!!(I&&N&&(0,a.Z)()&&(B===F||B===document.body)),O=o.useState(function(){return R+=1,"".concat(f,"_").concat(R)}),p=(0,r.Z)(O,1)[0],(0,E.Z)(function(){if(n){var e=(0,d.o)(document.body).width,t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,T.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),p)}else(0,T.jL)(p);return function(){(0,T.jL)(p)}},[n,p]);var Y=null;g&&(0,s.Yr)(g)&&t&&(Y=g.ref);var k=(0,s.x1)(Y,t);if(!b||!(0,a.Z)()||void 0===U)return null;var V=!1===B||("boolean"==typeof h&&(A=h),A),$=g;return t&&($=o.cloneElement(g,{ref:k})),o.createElement(l.Provider,{value:H},V?$:(0,i.createPortal)($,B))})},40228:function(e,t,n){"use strict";n.d(t,{Z:function(){return Y}});var r=n(1413),o=n(97685),i=n(45987),a=n(2788),s=n(93967),l=n.n(s),c=n(9220),E=n(34203),u=n(27571),T=n(66680),d=n(7028),f=n(8410),R=n(31131),A=n(67294),S=n(87462),O=n(29372),p=n(42550);function h(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,i=r||{},a=i.className,s=i.content,c=o.x,E=o.y,u=A.useRef();if(!n||!n.points)return null;var T={position:"absolute"};if(!1!==n.autoArrow){var d=n.points[0],f=n.points[1],R=d[0],S=d[1],O=f[0],p=f[1];R!==O&&["t","b"].includes(R)?"t"===R?T.top=0:T.bottom=0:T.top=void 0===E?0:E,S!==p&&["l","r"].includes(S)?"l"===S?T.left=0:T.right=0:T.left=void 0===c?0:c}return A.createElement("div",{ref:u,className:l()("".concat(t,"-arrow"),a),style:T},s)}function N(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,i=e.motion;return o?A.createElement(O.ZP,(0,S.Z)({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(e){var n=e.className;return A.createElement("div",{style:{zIndex:r},className:l()("".concat(t,"-mask"),n)})}):null}var I=A.memo(function(e){return e.children},function(e,t){return t.cache}),m=A.forwardRef(function(e,t){var n=e.popup,i=e.className,a=e.prefixCls,s=e.style,E=e.target,u=e.onVisibleChanged,T=e.open,d=e.keepDom,R=e.fresh,m=e.onClick,_=e.mask,C=e.arrow,g=e.arrowPos,L=e.align,v=e.motion,y=e.maskMotion,P=e.forceRender,b=e.getPopupContainer,M=e.autoDestroy,D=e.portal,U=e.zIndex,x=e.onMouseEnter,w=e.onMouseLeave,G=e.onPointerEnter,F=e.ready,H=e.offsetX,B=e.offsetY,Y=e.offsetR,k=e.offsetB,V=e.onAlign,$=e.onPrepare,W=e.stretch,Z=e.targetWidth,j=e.targetHeight,X="function"==typeof n?n():n,K=(null==b?void 0:b.length)>0,z=A.useState(!b||!K),q=(0,o.Z)(z,2),J=q[0],Q=q[1];if((0,f.Z)(function(){!J&&K&&E&&Q(!0)},[J,K,E]),!J)return null;var ee="auto",et={left:"-1000vw",top:"-1000vh",right:ee,bottom:ee};if(F||!T){var en,er=L.points,eo=L.dynamicInset||(null===(en=L._experimental)||void 0===en?void 0:en.dynamicInset),ei=eo&&"r"===er[0][1],ea=eo&&"b"===er[0][0];ei?(et.right=Y,et.left=ee):(et.left=H,et.right=ee),ea?(et.bottom=k,et.top=ee):(et.top=B,et.bottom=ee)}var es={};return W&&(W.includes("height")&&j?es.height=j:W.includes("minHeight")&&j&&(es.minHeight=j),W.includes("width")&&Z?es.width=Z:W.includes("minWidth")&&Z&&(es.minWidth=Z)),T||(es.pointerEvents="none"),A.createElement(D,{open:P||T||d,getContainer:b&&function(){return b(E)},autoDestroy:M},A.createElement(N,{prefixCls:a,open:T,zIndex:U,mask:_,motion:y}),A.createElement(c.Z,{onResize:V,disabled:!T},function(e){return A.createElement(O.ZP,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:P,leavedClassName:"".concat(a,"-hidden")},v,{onAppearPrepare:$,onEnterPrepare:$,visible:T,onVisibleChanged:function(e){var t;null==v||null===(t=v.onVisibleChanged)||void 0===t||t.call(v,e),u(e)}}),function(n,o){var c=n.className,E=n.style,u=l()(a,c,i);return A.createElement("div",{ref:(0,p.sQ)(e,t,o),className:u,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(g.x||0,"px"),"--arrow-y":"".concat(g.y||0,"px")},et),es),E),{},{boxSizing:"border-box",zIndex:U},s),onMouseEnter:x,onMouseLeave:w,onPointerEnter:G,onClick:m},C&&A.createElement(h,{prefixCls:a,arrow:C,arrowPos:g,align:L}),A.createElement(I,{cache:!T&&!R},X))})}))}),_=A.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=(0,p.Yr)(n),i=A.useCallback(function(e){(0,p.mH)(t,r?r(e):e)},[r]),a=(0,p.x1)(i,n.ref);return o?A.cloneElement(n,{ref:a}):n}),C=A.createContext(null);function g(e){return e?Array.isArray(e)?e:[e]:[]}var L=n(5110);function v(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function y(e){return e.ownerDocument.defaultView}function P(e){for(var t=[],n=null==e?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var o=y(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 b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function M(e){return b(parseFloat(e),0)}function D(e,t){var n=(0,r.Z)({},e);return(t||[]).forEach(function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=y(e).getComputedStyle(e),r=t.overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,s=t.borderLeftWidth,l=t.borderRightWidth,c=e.getBoundingClientRect(),E=e.offsetHeight,u=e.clientHeight,T=e.offsetWidth,d=e.clientWidth,f=M(i),R=M(a),A=M(s),S=M(l),O=b(Math.round(c.width/T*1e3)/1e3),p=b(Math.round(c.height/E*1e3)/1e3),h=f*p,N=A*O,I=0,m=0;if("clip"===r){var _=M(o);I=_*O,m=_*p}var C=c.x+N-I,g=c.y+h-m,L=C+c.width+2*I-N-S*O-(T-d-A-S)*O,v=g+c.height+2*m-h-R*p-(E-u-f-R)*p;n.left=Math.max(n.left,C),n.top=Math.max(n.top,g),n.right=Math.min(n.right,L),n.bottom=Math.min(n.bottom,v)}}),n}function U(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 x(e,t){var n=(0,o.Z)(t||[],2),r=n[0],i=n[1];return[U(e.width,r),U(e.height,i)]}function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function G(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 F(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 H=n(74902);n(80334);var B=["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","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"],Y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Z;return A.forwardRef(function(t,n){var a,s,S,O,p,h,N,I,M,U,Y,k,V,$,W,Z,j=t.prefixCls,X=void 0===j?"rc-trigger-popup":j,K=t.children,z=t.action,q=t.showAction,J=t.hideAction,Q=t.popupVisible,ee=t.defaultPopupVisible,et=t.onPopupVisibleChange,en=t.afterPopupVisibleChange,er=t.mouseEnterDelay,eo=t.mouseLeaveDelay,ei=void 0===eo?.1:eo,ea=t.focusDelay,es=t.blurDelay,el=t.mask,ec=t.maskClosable,eE=t.getPopupContainer,eu=t.forceRender,eT=t.autoDestroy,ed=t.destroyPopupOnHide,ef=t.popup,eR=t.popupClassName,eA=t.popupStyle,eS=t.popupPlacement,eO=t.builtinPlacements,ep=void 0===eO?{}:eO,eh=t.popupAlign,eN=t.zIndex,eI=t.stretch,em=t.getPopupClassNameFromAlign,e_=t.fresh,eC=t.alignPoint,eg=t.onPopupClick,eL=t.onPopupAlign,ev=t.arrow,ey=t.popupMotion,eP=t.maskMotion,eb=t.popupTransitionName,eM=t.popupAnimation,eD=t.maskTransitionName,eU=t.maskAnimation,ex=t.className,ew=t.getTriggerDOMNode,eG=(0,i.Z)(t,B),eF=A.useState(!1),eH=(0,o.Z)(eF,2),eB=eH[0],eY=eH[1];(0,f.Z)(function(){eY((0,R.Z)())},[]);var ek=A.useRef({}),eV=A.useContext(C),e$=A.useMemo(function(){return{registerSubPopup:function(e,t){ek.current[e]=t,null==eV||eV.registerSubPopup(e,t)}}},[eV]),eW=(0,d.Z)(),eZ=A.useState(null),ej=(0,o.Z)(eZ,2),eX=ej[0],eK=ej[1],ez=A.useRef(null),eq=(0,T.Z)(function(e){ez.current=e,(0,E.Sh)(e)&&eX!==e&&eK(e),null==eV||eV.registerSubPopup(eW,e)}),eJ=A.useState(null),eQ=(0,o.Z)(eJ,2),e0=eQ[0],e1=eQ[1],e2=A.useRef(null),e4=(0,T.Z)(function(e){(0,E.Sh)(e)&&e0!==e&&(e1(e),e2.current=e)}),e6=A.Children.only(K),e3=(null==e6?void 0:e6.props)||{},e8={},e5=(0,T.Z)(function(e){var t,n;return(null==e0?void 0:e0.contains(e))||(null===(t=(0,u.A)(e0))||void 0===t?void 0:t.host)===e||e===e0||(null==eX?void 0:eX.contains(e))||(null===(n=(0,u.A)(eX))||void 0===n?void 0:n.host)===e||e===eX||Object.values(ek.current).some(function(t){return(null==t?void 0:t.contains(e))||e===t})}),e7=v(X,ey,eM,eb),e9=v(X,eP,eU,eD),te=A.useState(ee||!1),tt=(0,o.Z)(te,2),tn=tt[0],tr=tt[1],to=null!=Q?Q:tn,ti=(0,T.Z)(function(e){void 0===Q&&tr(e)});(0,f.Z)(function(){tr(Q||!1)},[Q]);var ta=A.useRef(to);ta.current=to;var ts=A.useRef([]);ts.current=[];var tl=(0,T.Z)(function(e){var t;ti(e),(null!==(t=ts.current[ts.current.length-1])&&void 0!==t?t:to)!==e&&(ts.current.push(e),null==et||et(e))}),tc=A.useRef(),tE=function(){clearTimeout(tc.current)},tu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;tE(),0===t?tl(e):tc.current=setTimeout(function(){tl(e)},1e3*t)};A.useEffect(function(){return tE},[]);var tT=A.useState(!1),td=(0,o.Z)(tT,2),tf=td[0],tR=td[1];(0,f.Z)(function(e){(!e||to)&&tR(!0)},[to]);var tA=A.useState(null),tS=(0,o.Z)(tA,2),tO=tS[0],tp=tS[1],th=A.useState([0,0]),tN=(0,o.Z)(th,2),tI=tN[0],tm=tN[1],t_=function(e){tm([e.clientX,e.clientY])},tC=(a=eC?tI:e0,s=A.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ep[eS]||{}}),O=(S=(0,o.Z)(s,2))[0],p=S[1],h=A.useRef(0),N=A.useMemo(function(){return eX?P(eX):[]},[eX]),I=A.useRef({}),to||(I.current={}),M=(0,T.Z)(function(){if(eX&&a&&to){var e,t,n,i,s,l,c,u=eX.ownerDocument,T=y(eX).getComputedStyle(eX),d=T.width,f=T.height,R=T.position,A=eX.style.left,S=eX.style.top,O=eX.style.right,h=eX.style.bottom,m=eX.style.overflow,_=(0,r.Z)((0,r.Z)({},ep[eS]),eh),C=u.createElement("div");if(null===(e=eX.parentElement)||void 0===e||e.appendChild(C),C.style.left="".concat(eX.offsetLeft,"px"),C.style.top="".concat(eX.offsetTop,"px"),C.style.position=R,C.style.height="".concat(eX.offsetHeight,"px"),C.style.width="".concat(eX.offsetWidth,"px"),eX.style.left="0",eX.style.top="0",eX.style.right="auto",eX.style.bottom="auto",eX.style.overflow="hidden",Array.isArray(a))n={x:a[0],y:a[1],width:0,height:0};else{var g=a.getBoundingClientRect();n={x:g.x,y:g.y,width:g.width,height:g.height}}var v=eX.getBoundingClientRect(),P=u.documentElement,M=P.clientWidth,U=P.clientHeight,H=P.scrollWidth,B=P.scrollHeight,Y=P.scrollTop,k=P.scrollLeft,V=v.height,$=v.width,W=n.height,Z=n.width,j=_.htmlRegion,X="visible",K="visibleFirst";"scroll"!==j&&j!==K&&(j=X);var z=j===K,q=D({left:-k,top:-Y,right:H-k,bottom:B-Y},N),J=D({left:0,top:0,right:M,bottom:U},N),Q=j===X?J:q,ee=z?J:Q;eX.style.left="auto",eX.style.top="auto",eX.style.right="0",eX.style.bottom="0";var et=eX.getBoundingClientRect();eX.style.left=A,eX.style.top=S,eX.style.right=O,eX.style.bottom=h,eX.style.overflow=m,null===(t=eX.parentElement)||void 0===t||t.removeChild(C);var en=b(Math.round($/parseFloat(d)*1e3)/1e3),er=b(Math.round(V/parseFloat(f)*1e3)/1e3);if(!(0===en||0===er||(0,E.Sh)(a)&&!(0,L.Z)(a))){var eo=_.offset,ei=_.targetOffset,ea=x(v,eo),es=(0,o.Z)(ea,2),el=es[0],ec=es[1],eE=x(n,ei),eu=(0,o.Z)(eE,2),eT=eu[0],ed=eu[1];n.x-=eT,n.y-=ed;var ef=_.points||[],eR=(0,o.Z)(ef,2),eA=eR[0],eO=w(eR[1]),eN=w(eA),eI=G(n,eO),em=G(v,eN),e_=(0,r.Z)({},_),eC=eI.x-em.x+el,eg=eI.y-em.y+ec,ev=tt(eC,eg),ey=tt(eC,eg,J),eP=G(n,["t","l"]),eb=G(v,["t","l"]),eM=G(n,["b","r"]),eD=G(v,["b","r"]),eU=_.overflow||{},ex=eU.adjustX,ew=eU.adjustY,eG=eU.shiftX,eF=eU.shiftY,eH=function(e){return"boolean"==typeof e?e:e>=0};tn();var eB=eH(ew),eY=eN[0]===eO[0];if(eB&&"t"===eN[0]&&(s>ee.bottom||I.current.bt)){var ek=eg;eY?ek-=V-W:ek=eP.y-eD.y-ec;var eV=tt(eC,ek),e$=tt(eC,ek,J);eV>ev||eV===ev&&(!z||e$>=ey)?(I.current.bt=!0,eg=ek,ec=-ec,e_.points=[F(eN,0),F(eO,0)]):I.current.bt=!1}if(eB&&"b"===eN[0]&&(iev||eZ===ev&&(!z||ej>=ey)?(I.current.tb=!0,eg=eW,ec=-ec,e_.points=[F(eN,0),F(eO,0)]):I.current.tb=!1}var eK=eH(ex),ez=eN[1]===eO[1];if(eK&&"l"===eN[1]&&(c>ee.right||I.current.rl)){var eq=eC;ez?eq-=$-Z:eq=eP.x-eD.x-el;var eJ=tt(eq,eg),eQ=tt(eq,eg,J);eJ>ev||eJ===ev&&(!z||eQ>=ey)?(I.current.rl=!0,eC=eq,el=-el,e_.points=[F(eN,1),F(eO,1)]):I.current.rl=!1}if(eK&&"r"===eN[1]&&(lev||e1===ev&&(!z||e2>=ey)?(I.current.lr=!0,eC=e0,el=-el,e_.points=[F(eN,1),F(eO,1)]):I.current.lr=!1}tn();var e4=!0===eG?0:eG;"number"==typeof e4&&(lJ.right&&(eC-=c-J.right-el,n.x>J.right-e4&&(eC+=n.x-J.right+e4)));var e6=!0===eF?0:eF;"number"==typeof e6&&(iJ.bottom&&(eg-=s-J.bottom-ec,n.y>J.bottom-e6&&(eg+=n.y-J.bottom+e6)));var e3=v.x+eC,e8=v.y+eg,e5=n.x,e7=n.y;null==eL||eL(eX,e_);var e9=et.right-v.x-(eC+v.width),te=et.bottom-v.y-(eg+v.height);1===en&&(eC=Math.round(eC),e9=Math.round(e9)),1===er&&(eg=Math.round(eg),te=Math.round(te)),p({ready:!0,offsetX:eC/en,offsetY:eg/er,offsetR:e9/en,offsetB:te/er,arrowX:((Math.max(e3,e5)+Math.min(e3+$,e5+Z))/2-e3)/en,arrowY:((Math.max(e8,e7)+Math.min(e8+V,e7+W))/2-e8)/er,scaleX:en,scaleY:er,align:e_})}function tt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Q,r=v.x+e,o=v.y+t,i=Math.max(r,n.left),a=Math.max(o,n.top);return Math.max(0,(Math.min(r+$,n.right)-i)*(Math.min(o+V,n.bottom)-a))}function tn(){s=(i=v.y+eg)+V,c=(l=v.x+eC)+$}}}),U=function(){p(function(e){return(0,r.Z)((0,r.Z)({},e),{},{ready:!1})})},(0,f.Z)(U,[eS]),(0,f.Z)(function(){to||U()},[to]),[O.ready,O.offsetX,O.offsetY,O.offsetR,O.offsetB,O.arrowX,O.arrowY,O.scaleX,O.scaleY,O.align,function(){h.current+=1;var e=h.current;Promise.resolve().then(function(){h.current===e&&M()})}]),tg=(0,o.Z)(tC,11),tL=tg[0],tv=tg[1],ty=tg[2],tP=tg[3],tb=tg[4],tM=tg[5],tD=tg[6],tU=tg[7],tx=tg[8],tw=tg[9],tG=tg[10],tF=(Y=void 0===z?"hover":z,A.useMemo(function(){var e=g(null!=q?q:Y),t=g(null!=J?J:Y),n=new Set(e),r=new Set(t);return eB&&(n.has("hover")&&(n.delete("hover"),n.add("click")),r.has("hover")&&(r.delete("hover"),r.add("click"))),[n,r]},[eB,Y,q,J])),tH=(0,o.Z)(tF,2),tB=tH[0],tY=tH[1],tk=tB.has("click"),tV=tY.has("click")||tY.has("contextMenu"),t$=(0,T.Z)(function(){tf||tG()});k=function(){ta.current&&eC&&tV&&tu(!1)},(0,f.Z)(function(){if(to&&e0&&eX){var e=P(e0),t=P(eX),n=y(eX),r=new Set([n].concat((0,H.Z)(e),(0,H.Z)(t)));function o(){t$(),k()}return r.forEach(function(e){e.addEventListener("scroll",o,{passive:!0})}),n.addEventListener("resize",o,{passive:!0}),t$(),function(){r.forEach(function(e){e.removeEventListener("scroll",o),n.removeEventListener("resize",o)})}}},[to,e0,eX]),(0,f.Z)(function(){t$()},[tI,eS]),(0,f.Z)(function(){to&&!(null!=ep&&ep[eS])&&t$()},[JSON.stringify(eh)]);var tW=A.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===(s=e[l])||void 0===s?void 0:s.points,o,r))return"".concat(t,"-placement-").concat(l)}return""}(ep,X,tw,eC);return l()(e,null==em?void 0:em(tw))},[tw,em,ep,X,eC]);A.useImperativeHandle(n,function(){return{nativeElement:e2.current,popupElement:ez.current,forceAlign:t$}});var tZ=A.useState(0),tj=(0,o.Z)(tZ,2),tX=tj[0],tK=tj[1],tz=A.useState(0),tq=(0,o.Z)(tz,2),tJ=tq[0],tQ=tq[1],t0=function(){if(eI&&e0){var e=e0.getBoundingClientRect();tK(e.width),tQ(e.height)}};function t1(e,t,n,r){e8[e]=function(o){var i;null==r||r(o),tu(t,n);for(var a=arguments.length,s=Array(a>1?a-1:0),l=1;l1?n-1:0),o=1;o1?n-1:0),o=1;o-1&&(i=setTimeout(function(){E.delete(e)},t)),E.set(e,(0,o.pi)((0,o.pi)({},n),{timer:i}))},T=new Map,d=function(e,t){T.set(e,t),t.then(function(t){return T.delete(e),t}).catch(function(){T.delete(e)})},f={},R=function(e,t){f[e]&&f[e].forEach(function(e){return e(t)})},A=function(e,t){return f[e]||(f[e]=[]),f[e].push(t),function(){var n=f[e].indexOf(t);f[e].splice(n,1)}},S=function(e,t){var n=t.cacheKey,r=t.cacheTime,a=void 0===r?3e5:r,s=t.staleTime,f=void 0===s?0:s,S=t.setCache,O=t.getCache,p=(0,i.useRef)(),h=(0,i.useRef)(),N=function(e,t){S?S(t):u(e,a,t),R(e,t.data)},I=function(e,t){return(void 0===t&&(t=[]),O)?O(t):E.get(e)};return(l(function(){if(n){var t=I(n);t&&Object.hasOwnProperty.call(t,"data")&&(e.state.data=t.data,e.state.params=t.params,(-1===f||new Date().getTime()-t.time<=f)&&(e.state.loading=!1)),p.current=A(n,function(t){e.setState({data:t})})}},[]),(0,c.Z)(function(){var e;null===(e=p.current)||void 0===e||e.call(p)}),n)?{onBefore:function(e){var t=I(n,e);return t&&Object.hasOwnProperty.call(t,"data")?-1===f||new Date().getTime()-t.time<=f?{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=T.get(n);return r&&r!==h.current||(r=e.apply(void 0,(0,o.ev)([],(0,o.CR)(t),!1)),h.current=r,d(n,r)),{servicePromise:r}},onSuccess:function(t,r){var o;n&&(null===(o=p.current)||void 0===o||o.call(p),N(n,{data:t,params:r,time:new Date().getTime()}),p.current=A(n,function(t){e.setState({data:t})}))},onMutate:function(t){var r;n&&(null===(r=p.current)||void 0===r||r.call(p),N(n,{data:t,params:e.state.params,time:new Date().getTime()}),p.current=A(n,function(t){e.setState({data:t})}))}}:{}},O=n(23279),p=n.n(O),h=function(e,t){var n=t.debounceWait,r=t.debounceLeading,a=t.debounceTrailing,s=t.debounceMaxWait,l=(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!==s&&(e.maxWait=s),e},[r,a,s]);return((0,i.useEffect)(function(){if(n){var t=e.runAsync.bind(e);return l.current=p()(function(e){e()},n,c),e.runAsync=function(){for(var e=[],n=0;n-1&&g.splice(e,1)})}return function(){l()}},[n,a]),(0,c.Z)(function(){l()}),{}},y=function(e,t){var n=t.retryInterval,r=t.retryCount,o=(0,i.useRef)(),a=(0,i.useRef)(0),s=(0,i.useRef)(!1);return r?{onBefore:function(){s.current||(a.current=0),s.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(){s.current=!0,e.refresh()},t)}else a.current=0},onCancel:function(){a.current=0,o.current&&clearTimeout(o.current)}}:{}},P=n(23493),b=n.n(P),M=function(e,t){var n=t.throttleWait,r=t.throttleLeading,a=t.throttleTrailing,s=(0,i.useRef)(),l={};return(void 0!==r&&(l.leading=r),void 0!==a&&(l.trailing=a),(0,i.useEffect)(function(){if(n){var t=e.runAsync.bind(e);return s.current=b()(function(e){e()},n,l),e.runAsync=function(){for(var e=[],n=0;n{let{type:t,children:n,prefixCls:l,buttonProps:c,close:E,autoFocus:u,emitEvent:T,isSilent:d,quitOnNullishReturnValue:f,actionFn:R}=e,A=r.useRef(!1),S=r.useRef(null),[O,p]=(0,o.Z)(!1),h=function(){null==E||E.apply(void 0,arguments)};r.useEffect(()=>{let e=null;return u&&(e=setTimeout(()=>{var e;null===(e=S.current)||void 0===e||e.focus()})),()=>{e&&clearTimeout(e)}},[]);let N=e=>{s(e)&&(p(!0),e.then(function(){p(!1,!0),h.apply(void 0,arguments),A.current=!1},e=>{if(p(!1,!0),A.current=!1,null==d||!d())return Promise.reject(e)}))};return r.createElement(i.ZP,Object.assign({},(0,a.nx)(t),{onClick:e=>{let t;if(!A.current){if(A.current=!0,!R){h();return}if(T){if(t=R(e),f&&!s(t)){A.current=!1,h(e);return}}else if(R.length)t=R(E),A.current=!1;else if(!s(t=R())){h();return}N(t)}},loading:O,prefixCls:l},c,{ref:S}),n)}},89942:function(e,t,n){"use strict";var r=n(67294),o=n(65223),i=n(4173);t.Z=e=>{let{space:t,form:n,children:a}=e;if(null==a)return null;let s=a;return n&&(s=r.createElement(o.Ux,{override:!0,status:!0},s)),t&&(s=r.createElement(i.BR,null,s)),s}},8745:function(e,t,n){"use strict";n.d(t,{i:function(){return s}});var r=n(67294),o=n(21770),i=n(28459),a=n(53124);function s(e){return t=>r.createElement(i.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,Object.assign({},t)))}t.Z=(e,t,n,i)=>s(s=>{let{prefixCls:l,style:c}=s,E=r.useRef(null),[u,T]=r.useState(0),[d,f]=r.useState(0),[R,A]=(0,o.Z)(!1,{value:s.open}),{getPrefixCls:S}=r.useContext(a.E_),O=S(t||"select",l);r.useEffect(()=>{if(A(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;T(t.offsetHeight+8),f(t.offsetWidth)}),t=setInterval(()=>{var r;let o=n?`.${n(O)}`:`.${O}-dropdown`,i=null===(r=E.current)||void 0===r?void 0:r.querySelector(o);i&&(clearInterval(t),e.observe(i))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let p=Object.assign(Object.assign({},s),{style:Object.assign(Object.assign({},c),{margin:0}),open:R,visible:R,getPopupContainer:()=>E.current});return i&&(p=i(p)),r.createElement("div",{ref:E,style:{paddingBottom:u,position:"relative",minWidth:d}},r.createElement(e,Object.assign({},p)))})},98787:function(e,t,n){"use strict";n.d(t,{o2:function(){return s},yT:function(){return l}});var r=n(96641),o=n(8796);let i=o.i.map(e=>`${e}-inverse`),a=["success","processing","error","default","warning"];function s(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 l(e){return a.includes(e)}},81643:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=e=>e?"function"==typeof e?e():e:null},66367:function(e,t,n){"use strict";function r(e){return null!=e&&e===e.window}n.d(t,{F:function(){return r}}),t.Z=e=>{var t,n;if("undefined"==typeof window)return 0;let o=0;return r(e)?o=e.pageYOffset:e instanceof Document?o=e.documentElement.scrollTop:e instanceof HTMLElement?o=e.scrollTop:e&&(o=e.scrollTop),e&&!r(e)&&"number"!=typeof o&&(o=null===(n=(null!==(t=e.ownerDocument)&&void 0!==t?t:e).documentElement)||void 0===n?void 0:n.scrollTop),o}},69760:function(e,t,n){"use strict";n.d(t,{Z:function(){return E},w:function(){return a}});var r=n(67294),o=n(62208),i=n(64217);function a(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function s(e){let{closable:t,closeIcon:n}=e||{};return r.useMemo(()=>{if(!t&&(!1===t||!1===n||null===n))return!1;if(void 0===t&&void 0===n)return null;let e={closeIcon:"boolean"!=typeof n&&null!==n?n:void 0};return t&&"object"==typeof t&&(e=Object.assign(Object.assign({},e),t)),e},[t,n])}function l(){let e={};for(var t=arguments.length,n=Array(t),r=0;r{t&&Object.keys(t).forEach(n=>{void 0!==t[n]&&(e[n]=t[n])})}),e}let c={};function E(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,a=s(e),E=s(t),u=r.useMemo(()=>Object.assign({closeIcon:r.createElement(o.Z,null)},n),[n]),T=r.useMemo(()=>!1!==a&&(a?l(u,E,a):!1!==E&&(E?l(u,E):!!u.closable&&u)),[a,E,u]);return r.useMemo(()=>{if(!1===T)return[!1,null];let{closeIconRender:e}=u,{closeIcon:t}=T,n=t;if(null!=n){e&&(n=e(t));let o=(0,i.Z)(T,!0);Object.keys(o).length&&(n=r.isValidElement(n)?r.cloneElement(n,o):r.createElement("span",Object.assign({},o),n))}return[!0,n]},[T,u])}},57838:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(){let[,e]=r.useReducer(e=>e+1,0);return e}},87263:function(e,t,n){"use strict";n.d(t,{Cn:function(){return c},u6:function(){return a}});var r=n(67294),o=n(25976),i=n(43945);let a=1e3,s={Modal:100,Drawer:100,Popover:100,Popconfirm:100,Tooltip:100,Tour:100},l={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function c(e,t){let n;let[,a]=(0,o.ZP)(),c=r.useContext(i.Z);if(void 0!==t)n=[t,t];else{let r=null!=c?c:0;e in s?r+=(c?0:a.zIndexPopupBase)+s[e]:r+=l[e],n=[void 0===c?t:r,r]}return n}},33603:function(e,t,n){"use strict";n.d(t,{m:function(){return l}});var r=n(53124);let o=()=>({height:0,opacity:0}),i=e=>{let{scrollHeight:t}=e;return{height:t,opacity:1}},a=e=>({height:e?e.offsetHeight:0}),s=(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]:r.Rf;return{motionName:`${e}-motion-collapse`,onAppearStart:o,onEnterStart:o,onAppearActive:i,onEnterActive:i,onLeaveStart:a,onLeaveActive:o,onAppearEnd:s,onEnterEnd:s,onLeaveEnd:s,motionDeadline:500}}},80636:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(97414);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 s(e){let{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:s,offset:l,borderRadius:c,visibleFirst:E}=e,u=t/2,T={};return Object.keys(o).forEach(e=>{let d=s&&i[e]||o[e],f=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(T[e]=f,a.has(e)&&(f.autoArrow=!1),e){case"top":case"topLeft":case"topRight":f.offset[1]=-u-l;break;case"bottom":case"bottomLeft":case"bottomRight":f.offset[1]=u+l;break;case"left":case"leftTop":case"leftBottom":f.offset[0]=-u-l;break;case"right":case"rightTop":case"rightBottom":f.offset[0]=u+l}let R=(0,r.wZ)({contentRadius:c,limitVerticalRadius:!0});if(s)switch(e){case"topLeft":case"bottomLeft":f.offset[0]=-R.arrowOffsetHorizontal-u;break;case"topRight":case"bottomRight":f.offset[0]=R.arrowOffsetHorizontal+u;break;case"leftTop":case"rightTop":f.offset[1]=-(2*R.arrowOffsetHorizontal)+u;break;case"leftBottom":case"rightBottom":f.offset[1]=2*R.arrowOffsetHorizontal-u}f.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.arrowOffsetHorizontal+n,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=2*t.arrowOffsetVertical+n,i.shiftX=!0,i.adjustX=!0}let a=Object.assign(Object.assign({},i),o);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(e,R,t,n),E&&(f.htmlRegion="visibleFirst")}),T}},96159:function(e,t,n){"use strict";n.d(t,{M2:function(){return o},Tm:function(){return a},wm:function(){return i}});var r=n(67294);function o(e){return e&&r.isValidElement(e)&&e.type===r.Fragment}let i=(e,t,n)=>r.isValidElement(e)?r.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t;function a(e,t){return i(e,e,t)}},74443:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l},c4:function(){return i}});var r=n(67294),o=n(25976);let i=["xxl","xl","lg","md","sm","xs"],a=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),s=e=>{let t=[].concat(i).reverse();return t.forEach((n,r)=>{let o=n.toUpperCase(),i=`screen${o}Min`,a=`screen${o}`;if(!(e[i]<=e[a]))throw Error(`${i}<=${a} fails : !(${e[i]}<=${e[a]})`);if(r{let e=new Map,n=-1,r={};return{matchHandlers:{},dispatch:t=>(r=t,e.forEach(e=>e(r)),e.size>=1),subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(r),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},unregister(){Object.keys(t).forEach(e=>{let n=t[e],r=this.matchHandlers[n];null==r||r.mql.removeListener(null==r?void 0:r.listener)}),e.clear()},register(){Object.keys(t).forEach(e=>{let n=t[e],o=t=>{let{matches:n}=t;this.dispatch(Object.assign(Object.assign({},r),{[e]:n}))},i=window.matchMedia(n);i.addListener(o),this.matchHandlers[n]={mql:i,listener:o},o(i)})},responsiveMap:t}},[e])}},58375:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(75164),o=n(66367);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{getContainer:n=()=>window,callback:i,duration:a=450}=t,s=n(),l=(0,o.Z)(s),c=Date.now(),E=()=>{let t=Date.now(),n=t-c,u=function(e,t,n,r){let o=n-t;return(e/=r/2)<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}(n>a?a:n,l,e,a);(0,o.F)(s)?s.scrollTo(window.pageXOffset,u):s instanceof Document||"HTMLDocument"===s.constructor.name?s.documentElement.scrollTop=u:s.scrollTop=u,n{let e=()=>{};return e.deprecated=o,e}},45353:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),o=n(93967),i=n.n(o),a=n(5110),s=n(42550),l=n(53124),c=n(96159),E=n(83559);let u=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 ${e.motionDurationSlow} ${e.motionEaseInOut},opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}}}};var T=(0,E.A1)("Wave",e=>[u(e)]),d=n(56790),f=n(75164),R=n(25976),A=n(17415),S=n(29372),O=n(38135);function p(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}function h(e){return Number.isNaN(e)?0:e}let N=e=>{let{className:t,target:n,component:o}=e,a=r.useRef(null),[l,c]=r.useState(null),[E,u]=r.useState([]),[T,d]=r.useState(0),[R,N]=r.useState(0),[I,m]=r.useState(0),[_,C]=r.useState(0),[g,L]=r.useState(!1),v={left:T,top:R,width:I,height:_,borderRadius:E.map(e=>`${e}px`).join(" ")};function y(){let e=getComputedStyle(n);c(function(e){let{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return p(t)?t:p(n)?n:p(r)?r:null}(n));let t="static"===e.position,{borderLeftWidth:r,borderTopWidth:o}=e;d(t?n.offsetLeft:h(-parseFloat(r))),N(t?n.offsetTop:h(-parseFloat(o))),m(n.offsetWidth),C(n.offsetHeight);let{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:s,borderBottomRightRadius:l}=e;u([i,a,l,s].map(e=>h(parseFloat(e))))}if(l&&(v["--wave-color"]=l),r.useEffect(()=>{if(n){let e;let t=(0,f.Z)(()=>{y(),L(!0)});return"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(y)).observe(n),()=>{f.Z.cancel(t),null==e||e.disconnect()}}},[]),!g)return null;let P=("Checkbox"===o||"Radio"===o)&&(null==n?void 0:n.classList.contains(A.A));return r.createElement(S.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=a.current)||void 0===n?void 0:n.parentElement;(0,O.v)(e).then(()=>{null==e||e.remove()})}return!1}},(e,n)=>{let{className:o}=e;return r.createElement("div",{ref:(0,s.sQ)(a,n),className:i()(t,o,{"wave-quick":P}),style:v})})};var I=(e,t)=>{var n;let{component:o}=t;if("Checkbox"===o&&!(null===(n=e.querySelector("input"))||void 0===n?void 0:n.checked))return;let i=document.createElement("div");i.style.position="absolute",i.style.left="0px",i.style.top="0px",null==e||e.insertBefore(i,null==e?void 0:e.firstChild),(0,O.s)(r.createElement(N,Object.assign({},t,{target:e})),i)},m=(e,t,n)=>{let{wave:o}=r.useContext(l.E_),[,i,a]=(0,R.ZP)(),s=(0,d.zX)(r=>{let s=e.current;if((null==o?void 0:o.disabled)||!s)return;let l=s.querySelector(`.${A.A}`)||s,{showEffect:c}=o||{};(c||I)(l,{className:t,token:i,component:n,event:r,hashId:a})}),c=r.useRef();return e=>{f.Z.cancel(c.current),c.current=(0,f.Z)(()=>{s(e)})}},_=e=>{let{children:t,disabled:n,component:o}=e,{getPrefixCls:E}=(0,r.useContext)(l.E_),u=(0,r.useRef)(null),d=E("wave"),[,f]=T(d),R=m(u,i()(d,f),o);if(r.useEffect(()=>{let e=u.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")||R(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}},[n]),!r.isValidElement(t))return null!=t?t:null;let A=(0,s.Yr)(t)?(0,s.sQ)(t.ref,u):u;return(0,c.Tm)(t,{ref:A})}},17415:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(53124);let o=`${r.Rf}-wave-target`},43945:function(e,t,n){"use strict";var r=n(67294);let o=r.createContext(void 0);t.Z=o},66968:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(67294);let o=r.createContext({}),i=r.createContext({message:{},notification:{},modal:{}});t.Z=i},31418:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(67294),o=n(93967),i=n.n(o),a=n(27288),s=n(53124),l=n(16474),c=n(94423),E=n(48311),u=n(66968),T=(0,n(83559).I$)("App",e=>{let{componentCls:t,colorText:n,fontSize:r,lineHeight:o,fontFamily:i}=e;return{[t]:{color:n,fontSize:r,lineHeight:o,fontFamily:i}}},()=>({}));let d=e=>{let{prefixCls:t,children:n,className:o,rootClassName:d,message:f,notification:R,style:A,component:S="div"}=e,{getPrefixCls:O}=(0,r.useContext)(s.E_),p=O("app",t),[h,N,I]=T(p),m=i()(N,p,o,d,I),_=(0,r.useContext)(u.J),C=r.useMemo(()=>({message:Object.assign(Object.assign({},_.message),f),notification:Object.assign(Object.assign({},_.notification),R)}),[f,R,_.message,_.notification]),[g,L]=(0,l.Z)(C.message),[v,y]=(0,E.Z)(C.notification),[P,b]=(0,c.Z)(),M=r.useMemo(()=>({message:g,notification:v,modal:P}),[g,v,P]);(0,a.ln)("App")(!(I&&!1===S),"usage","When using cssVar, ensure `component` is assigned a valid React component string.");let D=!1===S?r.Fragment:S;return h(r.createElement(u.Z.Provider,{value:M},r.createElement(u.J.Provider,{value:C},r.createElement(D,Object.assign({},!1===S?void 0:{className:m,style:A}),b,L,y,n))))};d.useApp=()=>r.useContext(u.Z);var f=d},7134:function(e,t,n){"use strict";n.d(t,{C:function(){return L}});var r=n(67294),o=n(93967),i=n.n(o),a=n(9220),s=n(42550),l=n(74443),c=n(53124),E=n(35792),u=n(98675),T=n(25378);let d=r.createContext({});var f=n(47648),R=n(14747),A=n(83559),S=n(87893);let O=e=>{let{antCls:t,componentCls:n,iconCls:r,avatarBg:o,avatarColor:i,containerSize:a,containerSizeLG:s,containerSizeSM:l,textFontSize:c,textFontSizeLG:E,textFontSizeSM:u,borderRadius:T,borderRadiusLG:d,borderRadiusSM:A,lineWidth:S,lineType:O}=e,p=(e,t,o)=>({width:e,height:e,borderRadius:"50%",[`&${n}-square`]:{borderRadius:o},[`&${n}-icon`]:{fontSize:t,[`> ${r}`]:{margin:0}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,R.Wf)(e)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:i,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:o,border:`${(0,f.bf)(S)} ${O} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),p(a,c,T)),{"&-lg":Object.assign({},p(s,E,d)),"&-sm":Object.assign({},p(l,u,A)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},p=e=>{let{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:o}=e;return{[`${t}-group`]:{display:"inline-flex",[t]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:o}}}};var h=(0,A.I$)("Avatar",e=>{let{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=(0,S.IX)(e,{avatarBg:n,avatarColor:t});return[O(r),p(r)]},e=>{let{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:o,fontSizeLG:i,fontSizeXL:a,fontSizeHeading3:s,marginXS:l,marginXXS:c,colorBorderBg:E}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:Math.round((i+a)/2),textFontSizeLG:s,textFontSizeSM:o,groupSpace:c,groupOverlapping:-l,groupBorderColor:E}}),N=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=r.forwardRef((e,t)=>{let n;let[o,f]=r.useState(1),[R,A]=r.useState(!1),[S,O]=r.useState(!0),p=r.useRef(null),I=r.useRef(null),m=(0,s.sQ)(t,p),{getPrefixCls:_,avatar:C}=r.useContext(c.E_),g=r.useContext(d),L=()=>{if(!I.current||!p.current)return;let t=I.current.offsetWidth,n=p.current.offsetWidth;if(0!==t&&0!==n){let{gap:r=4}=e;2*r{A(!0)},[]),r.useEffect(()=>{O(!0),f(1)},[e.src]),r.useEffect(L,[e.gap]);let{prefixCls:v,shape:y,size:P,src:b,srcSet:M,icon:D,className:U,rootClassName:x,alt:w,draggable:G,children:F,crossOrigin:H}=e,B=N(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),Y=(0,u.Z)(e=>{var t,n;return null!==(n=null!==(t=null!=P?P:null==g?void 0:g.size)&&void 0!==t?t:e)&&void 0!==n?n:"default"}),k=Object.keys("object"==typeof Y&&Y||{}).some(e=>["xs","sm","md","lg","xl","xxl"].includes(e)),V=(0,T.Z)(k),$=r.useMemo(()=>{if("object"!=typeof Y)return{};let e=l.c4.find(e=>V[e]),t=Y[e];return t?{width:t,height:t,fontSize:t&&(D||F)?t/2:18}:{}},[V,Y]),W=_("avatar",v),Z=(0,E.Z)(W),[j,X,K]=h(W,Z),z=i()({[`${W}-lg`]:"large"===Y,[`${W}-sm`]:"small"===Y}),q=r.isValidElement(b),J=y||(null==g?void 0:g.shape)||"circle",Q=i()(W,z,null==C?void 0:C.className,`${W}-${J}`,{[`${W}-image`]:q||b&&S,[`${W}-icon`]:!!D},K,Z,U,x,X),ee="number"==typeof Y?{width:Y,height:Y,fontSize:D?Y/2:18}:{};if("string"==typeof b&&S)n=r.createElement("img",{src:b,draggable:G,srcSet:M,onError:()=>{let{onError:t}=e,n=null==t?void 0:t();!1!==n&&O(!1)},alt:w,crossOrigin:H});else if(q)n=b;else if(D)n=D;else if(R||1!==o){let e=`scale(${o})`;n=r.createElement(a.Z,{onResize:L},r.createElement("span",{className:`${W}-string`,ref:I,style:Object.assign({},{msTransform:e,WebkitTransform:e,transform:e})},F))}else n=r.createElement("span",{className:`${W}-string`,style:{opacity:0},ref:I},F);return delete B.onError,delete B.gap,j(r.createElement("span",Object.assign({},B,{style:Object.assign(Object.assign(Object.assign(Object.assign({},ee),$),null==C?void 0:C.style),B.style),className:Q,ref:m}),n))});var m=n(50344),_=n(96159),C=n(55241);let g=e=>{let{size:t,shape:n}=r.useContext(d),o=r.useMemo(()=>({size:e.size||t,shape:e.shape||n}),[e.size,e.shape,t,n]);return r.createElement(d.Provider,{value:o},e.children)};I.Group=e=>{var t,n,o;let{getPrefixCls:a,direction:s}=r.useContext(c.E_),{prefixCls:l,className:u,rootClassName:T,style:d,maxCount:f,maxStyle:R,size:A,shape:S,maxPopoverPlacement:O,maxPopoverTrigger:p,children:N,max:L}=e,v=a("avatar",l),y=`${v}-group`,P=(0,E.Z)(v),[b,M,D]=h(v,P),U=i()(y,{[`${y}-rtl`]:"rtl"===s},D,P,u,T,M),x=(0,m.Z)(N).map((e,t)=>(0,_.Tm)(e,{key:`avatar-key-${t}`})),w=(null==L?void 0:L.count)||f,G=x.length;if(w&&w{let{componentCls:t,iconCls:n,antCls:r,badgeShadowSize:o,motionDurationSlow:i,textFontSize:a,textFontSizeSM:s,statusSize:l,dotSize:c,textFontWeight:d,indicatorHeight:f,indicatorHeightSM:N,marginXS:I,calc:m}=e,_=`${r}-scroll-number`,C=(0,T.Z)(e,(e,n)=>{let{darkColor:r}=n;return{[`&${t} ${t}-color-${e}`]:{background:r,[`&:not(${t}-count)`]:{color:r},"a:hover &":{background:r}}}});return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,u.Wf)(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{display:"inline-flex",justifyContent:"center",zIndex:e.indicatorZIndex,minWidth:f,height:f,color:e.badgeTextColor,fontWeight:d,fontSize:a,lineHeight:(0,E.bf)(f),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:m(f).div(2).equal(),boxShadow:`0 0 0 ${(0,E.bf)(o)} ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:N,height:N,fontSize:s,lineHeight:(0,E.bf)(N),borderRadius:m(N).div(2).equal()},[`${t}-multiple-words`]:{padding:`0 ${(0,E.bf)(e.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.indicatorZIndex,width:c,minWidth:c,height:c,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${(0,E.bf)(o)} ${e.badgeShadowColor}`},[`${t}-dot${_}`]:{transition:`background ${i}`},[`${t}-count, ${t}-dot, ${_}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:h,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:l,height:l,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorInfo,backgroundColor:e.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:o,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:R,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:I,color:e.colorText,fontSize:e.fontSize}}}),C),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:A,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:S,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:O,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:p,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${_}-custom-component, ${t}-count`]:{transform:"none"},[`${_}-custom-component, ${_}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[_]:{overflow:"hidden",[`${_}-only`]:{position:"relative",display:"inline-block",height:f,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${_}-only-unit`]:{height:f,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${_}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${_}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},I=e=>{let{fontHeight:t,lineWidth:n,marginXS:r,colorBorderBg:o}=e,i=e.colorBgContainer,a=e.colorError,s=e.colorErrorHover,l=(0,d.IX)(e,{badgeFontHeight:t,badgeShadowSize:n,badgeTextColor:i,badgeColor:a,badgeColorHover:s,badgeShadowColor:o,badgeProcessingDuration:"1.2s",badgeRibbonOffset:r,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return l},m=e=>{let{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:o}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*n)-2*o,indicatorHeightSM:t,dotSize:r/2,textFontSize:r,textFontSizeSM:r,textFontWeight:"normal",statusSize:r/2}};var _=(0,f.I$)("Badge",e=>{let t=I(e);return N(t)},m);let C=e=>{let{antCls:t,badgeFontHeight:n,marginXS:r,badgeRibbonOffset:o,calc:i}=e,a=`${t}-ribbon`,s=`${t}-ribbon-wrapper`,l=(0,T.Z)(e,(e,t)=>{let{darkColor:n}=t;return{[`&${a}-color-${e}`]:{background:n,color:n}}});return{[s]:{position:"relative"},[a]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,u.Wf)(e)),{position:"absolute",top:r,padding:`0 ${(0,E.bf)(e.paddingXS)}`,color:e.colorPrimary,lineHeight:(0,E.bf)(n),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${a}-text`]:{color:e.colorTextLightSolid},[`${a}-corner`]:{position:"absolute",top:"100%",width:o,height:o,color:"currentcolor",border:`${(0,E.bf)(i(o).div(2).equal())} solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),l),{[`&${a}-placement-end`]:{insetInlineEnd:i(o).mul(-1).equal(),borderEndEndRadius:0,[`${a}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${a}-placement-start`]:{insetInlineStart:i(o).mul(-1).equal(),borderEndStartRadius:0,[`${a}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var g=(0,f.I$)(["Badge","Ribbon"],e=>{let t=I(e);return C(t)},m);let L=e=>{let t;let{prefixCls:n,value:o,current:a,offset:s=0}=e;return s&&(t={position:"absolute",top:`${s}00%`,left:0}),r.createElement("span",{style:t,className:i()(`${n}-only-unit`,{current:a})},o)};var v=e=>{let t,n;let{prefixCls:o,count:i,value:a}=e,s=Number(a),l=Math.abs(i),[c,E]=r.useState(s),[u,T]=r.useState(l),d=()=>{E(s),T(l)};if(r.useEffect(()=>{let e=setTimeout(d,1e3);return()=>clearTimeout(e)},[s]),c===s||Number.isNaN(s)||Number.isNaN(c))t=[r.createElement(L,Object.assign({},e,{key:s,current:!0}))],n={transition:"none"};else{t=[];let o=s+10,i=[];for(let e=s;e<=o;e+=1)i.push(e);let a=i.findIndex(e=>e%10===c);t=i.map((t,n)=>r.createElement(L,Object.assign({},e,{key:t,value:t%10,offset:n-a,current:n===a})));let E=ut.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 P=r.forwardRef((e,t)=>{let{prefixCls:n,count:o,className:a,motionClassName:s,style:E,title:u,show:T,component:d="sup",children:f}=e,R=y(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:A}=r.useContext(c.E_),S=A("scroll-number",n),O=Object.assign(Object.assign({},R),{"data-show":T,style:E,className:i()(S,a,s),title:u}),p=o;if(o&&Number(o)%1==0){let e=String(o).split("");p=r.createElement("bdi",null,e.map((t,n)=>r.createElement(v,{prefixCls:S,count:Number(o),value:t,key:e.length-n})))}return((null==E?void 0:E.borderColor)&&(O.style=Object.assign(Object.assign({},E),{boxShadow:`0 0 0 1px ${E.borderColor} inset`})),f)?(0,l.Tm)(f,e=>({className:i()(`${S}-custom-component`,null==e?void 0:e.className,s)})):r.createElement(d,Object.assign({},O,{ref:t}),p)});var 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 M=r.forwardRef((e,t)=>{var n,o,E,u,T;let{prefixCls:d,scrollNumberPrefixCls:f,children:R,status:A,text:S,color:O,count:p=null,overflowCount:h=99,dot:N=!1,size:I="default",title:m,offset:C,style:g,className:L,rootClassName:v,classNames:y,styles:M,showZero:D=!1}=e,U=b(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:x,direction:w,badge:G}=r.useContext(c.E_),F=x("badge",d),[H,B,Y]=_(F),k=p>h?`${h}+`:p,V="0"===k||0===k,$=null===p||V&&!D,W=(null!=A||null!=O)&&$,Z=N&&!V,j=Z?"":k,X=(0,r.useMemo)(()=>{let e=null==j||""===j;return(e||V&&!D)&&!Z},[j,V,D,Z]),K=(0,r.useRef)(p);X||(K.current=p);let z=K.current,q=(0,r.useRef)(j);X||(q.current=j);let J=q.current,Q=(0,r.useRef)(Z);X||(Q.current=Z);let ee=(0,r.useMemo)(()=>{if(!C)return Object.assign(Object.assign({},null==G?void 0:G.style),g);let e={marginTop:C[1]};return"rtl"===w?e.left=parseInt(C[0],10):e.right=-parseInt(C[0],10),Object.assign(Object.assign(Object.assign({},e),null==G?void 0:G.style),g)},[w,C,g,null==G?void 0:G.style]),et=null!=m?m:"string"==typeof z||"number"==typeof z?z:void 0,en=X||!S?null:r.createElement("span",{className:`${F}-status-text`},S),er=z&&"object"==typeof z?(0,l.Tm)(z,e=>({style:Object.assign(Object.assign({},ee),e.style)})):void 0,eo=(0,s.o2)(O,!1),ei=i()(null==y?void 0:y.indicator,null===(n=null==G?void 0:G.classNames)||void 0===n?void 0:n.indicator,{[`${F}-status-dot`]:W,[`${F}-status-${A}`]:!!A,[`${F}-color-${O}`]:eo}),ea={};O&&!eo&&(ea.color=O,ea.background=O);let es=i()(F,{[`${F}-status`]:W,[`${F}-not-a-wrapper`]:!R,[`${F}-rtl`]:"rtl"===w},L,v,null==G?void 0:G.className,null===(o=null==G?void 0:G.classNames)||void 0===o?void 0:o.root,null==y?void 0:y.root,B,Y);if(!R&&W){let e=ee.color;return H(r.createElement("span",Object.assign({},U,{className:es,style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.root),null===(E=null==G?void 0:G.styles)||void 0===E?void 0:E.root),ee)}),r.createElement("span",{className:ei,style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.indicator),null===(u=null==G?void 0:G.styles)||void 0===u?void 0:u.indicator),ea)}),S&&r.createElement("span",{style:{color:e},className:`${F}-status-text`},S)))}return H(r.createElement("span",Object.assign({ref:t},U,{className:es,style:Object.assign(Object.assign({},null===(T=null==G?void 0:G.styles)||void 0===T?void 0:T.root),null==M?void 0:M.root)}),R,r.createElement(a.ZP,{visible:!X,motionName:`${F}-zoom`,motionAppear:!1,motionDeadline:1e3},e=>{var t,n;let{className:o}=e,a=x("scroll-number",f),s=Q.current,l=i()(null==y?void 0:y.indicator,null===(t=null==G?void 0:G.classNames)||void 0===t?void 0:t.indicator,{[`${F}-dot`]:s,[`${F}-count`]:!s,[`${F}-count-sm`]:"small"===I,[`${F}-multiple-words`]:!s&&J&&J.toString().length>1,[`${F}-status-${A}`]:!!A,[`${F}-color-${O}`]:eo}),c=Object.assign(Object.assign(Object.assign({},null==M?void 0:M.indicator),null===(n=null==G?void 0:G.styles)||void 0===n?void 0:n.indicator),ee);return O&&!eo&&((c=c||{}).background=O),r.createElement(P,{prefixCls:a,show:!X,motionClassName:o,className:l,count:J,title:et,style:c,key:"scrollNumber"},er)}),en))});M.Ribbon=e=>{let{className:t,prefixCls:n,style:o,color:a,children:l,text:E,placement:u="end",rootClassName:T}=e,{getPrefixCls:d,direction:f}=r.useContext(c.E_),R=d("ribbon",n),A=`${R}-wrapper`,[S,O,p]=g(R,A),h=(0,s.o2)(a,!1),N=i()(R,`${R}-placement-${u}`,{[`${R}-rtl`]:"rtl"===f,[`${R}-color-${a}`]:h},t),I={},m={};return a&&!h&&(I.background=a,m.color=a),S(r.createElement("div",{className:i()(A,T,O,p)},l,r.createElement("div",{className:i()(N,O),style:Object.assign(Object.assign({},I),o)},r.createElement("span",{className:`${R}-text`},E),r.createElement("div",{className:`${R}-corner`,style:m}))))};var D=M},33671:function(e,t,n){"use strict";n.d(t,{Te:function(){return c},aG:function(){return a},hU:function(){return E},nx:function(){return s}});var r=n(67294),o=n(96159);let i=/^[\u4e00-\u9fa5]{2}$/,a=i.test.bind(i);function s(e){return"danger"===e?{danger:!0}:{type:e}}function l(e){return"string"==typeof e}function c(e){return"text"===e||"link"===e}function E(e,t){let n=!1,i=[];return r.Children.forEach(e,e=>{let t=typeof e,r="string"===t||"number"===t;if(n&&r){let t=i.length-1,n=i[t];i[t]=`${n}${e}`}else i.push(e);n=r}),r.Children.map(i,e=>(function(e,t){if(null==e)return;let n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&l(e.type)&&a(e.props.children)?(0,o.Tm)(e,{children:e.props.children.split("").join(n)}):l(e)?a(e)?r.createElement("span",null,e.split("").join(n)):r.createElement("span",null,e):(0,o.M2)(e)?r.createElement("span",null,e):e})(e,t))}},14726:function(e,t,n){"use strict";n.d(t,{ZP:function(){return ei}});var r=n(67294),o=n(93967),i=n.n(o),a=n(98423),s=n(42550),l=n(45353),c=n(53124),E=n(98866),u=n(98675),T=n(4173),d=n(25976),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 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 R=r.createContext(void 0);var A=n(33671);let S=(0,r.forwardRef)((e,t)=>{let{className:n,style:o,children:a,prefixCls:s}=e,l=i()(`${s}-icon`,n);return r.createElement("span",{ref:t,className:l,style:o},a)});var O=n(19267),p=n(29372);let h=(0,r.forwardRef)((e,t)=>{let{prefixCls:n,className:o,style:a,iconClassName:s}=e,l=i()(`${n}-loading-icon`,o);return r.createElement(S,{prefixCls:n,className:l,style:a,ref:t},r.createElement(O.Z,{className:s}))}),N=()=>({width:0,opacity:0,transform:"scale(0)"}),I=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"});var m=e=>{let{prefixCls:t,loading:n,existIcon:o,className:i,style:a}=e,s=!!n;return o?r.createElement(h,{prefixCls:t,className:i,style:a}):r.createElement(p.ZP,{visible:s,motionName:`${t}-loading-icon-motion`,motionLeave:s,removeOnLeave:!0,onAppearStart:N,onAppearActive:I,onEnterStart:N,onEnterActive:I,onLeaveStart:I,onLeaveActive:N},(e,n)=>{let{className:o,style:s}=e;return r.createElement(h,{prefixCls:t,className:i,style:Object.assign(Object.assign({},a),s),ref:n,iconClassName:o})})},_=n(47648),C=n(14747),g=n(87893),L=n(83559);let v=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}});var y=e=>{let{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor: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:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},v(`${t}-primary`,o),v(`${t}-danger`,i)]}},P=n(51734);let b=e=>{let{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e,o=(0,g.IX)(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n});return o},M=e=>{var t,n,r,o,i,a;let s=null!==(t=e.contentFontSize)&&void 0!==t?t:e.fontSize,l=null!==(n=e.contentFontSizeSM)&&void 0!==n?n:e.fontSize,c=null!==(r=e.contentFontSizeLG)&&void 0!==r?r:e.fontSizeLG,E=null!==(o=e.contentLineHeight)&&void 0!==o?o:(0,P.D)(s),u=null!==(i=e.contentLineHeightSM)&&void 0!==i?i:(0,P.D)(l),T=null!==(a=e.contentLineHeightLG)&&void 0!==a?a:(0,P.D)(c);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:s,contentFontSizeSM:l,contentFontSizeLG:c,contentLineHeight:E,contentLineHeightSM:u,contentLineHeightLG:T,paddingBlock:Math.max((e.controlHeight-s*E)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*u)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*T)/2-e.lineWidth,0)}},D=e=>{let{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${(0,_.bf)(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:1},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,C.Qy)(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},"&-icon-end":{flexDirection:"row-reverse"}}}},U=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),x=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),w=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),G=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),F=(e,t,n,r,o,i,a,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},U(e,Object.assign({background:t},a),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),H=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},G(e))}),B=e=>Object.assign({},H(e)),Y=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),k=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},B(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),U(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),F(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},U(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),F(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),H(e))}),V=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},B(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),U(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),F(e.componentCls,e.ghostBg,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({background:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},U(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),F(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),H(e))}),$=e=>Object.assign(Object.assign({},k(e)),{borderStyle:"dashed"}),W=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},U(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Y(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},U(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),Y(e))}),Z=e=>Object.assign(Object.assign(Object.assign({},U(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),Y(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Y(e)),U(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}))}),j=e=>{let{componentCls:t}=e;return{[`${t}-default`]:k(e),[`${t}-primary`]:V(e),[`${t}-dashed`]:$(e),[`${t}-link`]:W(e),[`${t}-text`]:Z(e),[`${t}-ghost`]:F(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},X=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{componentCls:n,controlHeight:r,fontSize:o,lineHeight:i,borderRadius:a,buttonPaddingHorizontal:s,iconCls:l,buttonPaddingVertical:c}=e,E=`${n}-icon-only`;return[{[t]:{fontSize:o,lineHeight:i,height:r,padding:`${(0,_.bf)(c)} ${(0,_.bf)(s)}`,borderRadius:a,[`&${E}`]:{width:r,paddingInline:0,[`&${n}-compact-item`]:{flex:"none"},[`&${n}-round`]:{width:"auto"},[l]:{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}`]:x(e)},{[`${n}${n}-round${t}`]:w(e)}]},K=e=>{let t=(0,g.IX)(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return X(t,e.componentCls)},z=e=>{let t=(0,g.IX)(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return X(t,`${e.componentCls}-sm`)},q=e=>{let t=(0,g.IX)(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return X(t,`${e.componentCls}-lg`)},J=e=>{let{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}};var Q=(0,L.I$)("Button",e=>{let t=b(e);return[D(t),K(t),z(t),q(t),J(t),j(t),y(t)]},M,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}}),ee=n(80110);let et=e=>{let{componentCls:t,calc:n}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${(0,_.bf)(e.lineWidth)} * 2)`,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:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${(0,_.bf)(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}};var en=(0,L.bk)(["Button","compact"],e=>{let t=b(e);return[(0,ee.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.calc(e.lineWidth).mul(-1).equal()},"&-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),et(t)]},M),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};let eo=r.forwardRef((e,t)=>{var n,o,d;let{loading:f=!1,prefixCls:O,type:p,danger:h=!1,shape:N="default",size:I,styles:_,disabled:C,className:g,rootClassName:L,children:v,icon:y,iconPosition:P="start",ghost:b=!1,block:M=!1,htmlType:D="button",classNames:U,style:x={},autoInsertSpace:w}=e,G=er(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace"]),F=p||"default",{getPrefixCls:H,direction:B,button:Y}=(0,r.useContext)(c.E_),k=null===(n=null!=w?w:null==Y?void 0:Y.autoInsertSpace)||void 0===n||n,V=H("btn",O),[$,W,Z]=Q(V),j=(0,r.useContext)(E.Z),X=null!=C?C:j,K=(0,r.useContext)(R),z=(0,r.useMemo)(()=>(function(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return{loading:(t=Number.isNaN(t)||"number"!=typeof t?0:t)<=0,delay:t}}return{loading:!!e,delay:0}})(f),[f]),[q,J]=(0,r.useState)(z.loading),[ee,et]=(0,r.useState)(!1),eo=(0,r.createRef)(),ei=(0,s.sQ)(t,eo),ea=1===r.Children.count(v)&&!y&&!(0,A.Te)(F);(0,r.useEffect)(()=>{let e=null;return z.delay>0?e=setTimeout(()=>{e=null,J(!0)},z.delay):J(z.loading),function(){e&&(clearTimeout(e),e=null)}},[z]),(0,r.useEffect)(()=>{if(!ei||!ei.current||!k)return;let e=ei.current.textContent;ea&&(0,A.aG)(e)?ee||et(!0):ee&&et(!1)},[ei]);let es=t=>{let{onClick:n}=e;if(q||X){t.preventDefault();return}null==n||n(t)},{compactSize:el,compactItemClassnames:ec}=(0,T.ri)(V,B),eE=(0,u.Z)(e=>{var t,n;return null!==(n=null!==(t=null!=I?I:el)&&void 0!==t?t:K)&&void 0!==n?n:e}),eu=eE&&({large:"lg",small:"sm",middle:void 0})[eE]||"",eT=q?"loading":y,ed=(0,a.Z)(G,["navigate"]),ef=i()(V,W,Z,{[`${V}-${N}`]:"default"!==N&&N,[`${V}-${F}`]:F,[`${V}-${eu}`]:eu,[`${V}-icon-only`]:!v&&0!==v&&!!eT,[`${V}-background-ghost`]:b&&!(0,A.Te)(F),[`${V}-loading`]:q,[`${V}-two-chinese-chars`]:ee&&k&&!q,[`${V}-block`]:M,[`${V}-dangerous`]:h,[`${V}-rtl`]:"rtl"===B,[`${V}-icon-end`]:"end"===P},ec,g,L,null==Y?void 0:Y.className),eR=Object.assign(Object.assign({},null==Y?void 0:Y.style),x),eA=i()(null==U?void 0:U.icon,null===(o=null==Y?void 0:Y.classNames)||void 0===o?void 0:o.icon),eS=Object.assign(Object.assign({},(null==_?void 0:_.icon)||{}),(null===(d=null==Y?void 0:Y.styles)||void 0===d?void 0:d.icon)||{}),eO=y&&!q?r.createElement(S,{prefixCls:V,className:eA,style:eS},y):r.createElement(m,{existIcon:!!y,prefixCls:V,loading:q}),ep=v||0===v?(0,A.hU)(v,ea&&k):null;if(void 0!==ed.href)return $(r.createElement("a",Object.assign({},ed,{className:i()(ef,{[`${V}-disabled`]:X}),href:X?void 0:ed.href,style:eR,onClick:es,ref:ei,tabIndex:X?-1:0}),eO,ep));let eh=r.createElement("button",Object.assign({},G,{type:D,className:ef,style:eR,onClick:es,disabled:X,ref:ei}),eO,ep,!!ec&&r.createElement(en,{key:"compact",prefixCls:V}));return(0,A.Te)(F)||(eh=r.createElement(l.Z,{component:"Button",disabled:q},eh)),$(eh)});eo.Group=e=>{let{getPrefixCls:t,direction:n}=r.useContext(c.E_),{prefixCls:o,size:a,className:s}=e,l=f(e,["prefixCls","size","className"]),E=t("btn-group",o),[,,u]=(0,d.ZP)(),T="";switch(a){case"large":T="lg";break;case"small":T="sm"}let A=i()(E,{[`${E}-${T}`]:T,[`${E}-rtl`]:"rtl"===n},s,u);return r.createElement(R.Provider,{value:a},r.createElement("div",Object.assign({},l,{className:A})))},eo.__ANT_BUTTON=!0;var ei=eo},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 s},Rf:function(){return o},oR:function(){return i},tr:function(){return a}});var r=n(67294);let o="ant",i="anticon",a=["outlined","borderless","filled"],s=r.createContext({getPrefixCls:(e,t)=>t||(e?`${o}-${e}`:o),iconPrefixCls:i}),{Consumer:l}=s},35792:function(e,t,n){"use strict";var r=n(25976);t.Z=e=>{let[,,,,t]=(0,r.ZP)();return t?`${e}-css-var`:""}},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}},28459:function(e,t,n){"use strict";let r,o,i,a;n.d(t,{ZP:function(){return W},w6:function(){return k}});var s=n(67294),l=n.t(s,2),c=n(47648),E=n(54775),u=n(56982),T=n(8880),d=n(27288),f=n(37920),R=n(83008),A=n(76745),S=e=>{let{locale:t={},children:n,_ANT_MARK__:r}=e;s.useEffect(()=>{let e=(0,R.f)(null==t?void 0:t.Modal);return e},[t]);let o=s.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return s.createElement(A.Z.Provider,{value:o},n)},O=n(24457),p=n(33083),h=n(2790),N=n(53124),I=n(65409),m=n(10274),_=n(98924),C=n(44958);let g=`-ant-${Date.now()}-${Math.random()}`;var L=n(98866),v=n(97647),y=n(91881);let P=Object.assign({},l),{useId:b}=P;var M=void 0===b?()=>"":b,D=n(29372),U=n(25976);function x(e){let{children:t}=e,[,n]=(0,U.ZP)(),{motion:r}=n,o=s.useRef(!1);return(o.current=o.current||!1===r,o.current)?s.createElement(D.zt,{motion:r},t):t}var w=()=>null,G=n(53269),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 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=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"];function B(){return r||N.Rf}function Y(){return o||N.oR}let k=()=>({getPrefixCls:(e,t)=>t||(e?`${B()}-${e}`:B()),getIconPrefixCls:Y,getRootPrefixCls:()=>r||B(),getTheme:()=>i,holderRender:a}),V=e=>{let{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:i,form:a,locale:l,componentSize:R,direction:A,space:I,virtual:m,dropdownMatchSelectWidth:_,popupMatchSelectWidth:C,popupOverflow:g,legacyLocale:P,parentContext:b,iconPrefixCls:D,theme:U,componentDisabled:B,segmented:Y,statistic:k,spin:V,calendar:$,carousel:W,cascader:Z,collapse:j,typography:X,checkbox:K,descriptions:z,divider:q,drawer:J,skeleton:Q,steps:ee,image:et,layout:en,list:er,mentions:eo,modal:ei,progress:ea,result:es,slider:el,breadcrumb:ec,menu:eE,pagination:eu,input:eT,textArea:ed,empty:ef,badge:eR,radio:eA,rate:eS,switch:eO,transfer:ep,avatar:eh,message:eN,tag:eI,table:em,card:e_,tabs:eC,timeline:eg,timePicker:eL,upload:ev,notification:ey,tree:eP,colorPicker:eb,datePicker:eM,rangePicker:eD,flex:eU,wave:ex,dropdown:ew,warning:eG,tour:eF,floatButtonGroup:eH,variant:eB,inputNumber:eY,treeSelect:ek}=e,eV=s.useCallback((t,n)=>{let{prefixCls:r}=e;if(n)return n;let o=r||b.getPrefixCls("");return t?`${o}-${t}`:o},[b.getPrefixCls,e.prefixCls]),e$=D||b.iconPrefixCls||N.oR,eW=n||b.csp;(0,G.Z)(e$,eW);let eZ=function(e,t,n){var r;(0,d.ln)("ConfigProvider");let o=e||{},i=!1!==o.inherit&&t?t:Object.assign(Object.assign({},p.u_),{hashed:null!==(r=null==t?void 0:t.hashed)&&void 0!==r?r:p.u_.hashed,cssVar:null==t?void 0:t.cssVar}),a=M();return(0,u.Z)(()=>{var r,s;if(!e)return t;let l=Object.assign({},i.components);Object.keys(e.components||{}).forEach(t=>{l[t]=Object.assign(Object.assign({},l[t]),e.components[t])});let c=`css-var-${a.replace(/:/g,"")}`,E=(null!==(r=o.cssVar)&&void 0!==r?r:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:null==n?void 0:n.prefixCls},"object"==typeof i.cssVar?i.cssVar:{}),"object"==typeof o.cssVar?o.cssVar:{}),{key:"object"==typeof o.cssVar&&(null===(s=o.cssVar)||void 0===s?void 0:s.key)||c});return Object.assign(Object.assign(Object.assign({},i),o),{token:Object.assign(Object.assign({},i.token),o.token),components:l,cssVar:E})},[o,i],(e,t)=>e.some((e,n)=>{let r=t[n];return!(0,y.Z)(e,r,!0)}))}(U,b.theme,{prefixCls:eV("")}),ej={csp:eW,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:l||P,direction:A,space:I,virtual:m,popupMatchSelectWidth:null!=C?C:_,popupOverflow:g,getPrefixCls:eV,iconPrefixCls:e$,theme:eZ,segmented:Y,statistic:k,spin:V,calendar:$,carousel:W,cascader:Z,collapse:j,typography:X,checkbox:K,descriptions:z,divider:q,drawer:J,skeleton:Q,steps:ee,image:et,input:eT,textArea:ed,layout:en,list:er,mentions:eo,modal:ei,progress:ea,result:es,slider:el,breadcrumb:ec,menu:eE,pagination:eu,empty:ef,badge:eR,radio:eA,rate:eS,switch:eO,transfer:ep,avatar:eh,message:eN,tag:eI,table:em,card:e_,tabs:eC,timeline:eg,timePicker:eL,upload:ev,notification:ey,tree:eP,colorPicker:eb,datePicker:eM,rangePicker:eD,flex:eU,wave:ex,dropdown:ew,warning:eG,tour:eF,floatButtonGroup:eH,variant:eB,inputNumber:eY,treeSelect:ek},eX=Object.assign({},b);Object.keys(ej).forEach(e=>{void 0!==ej[e]&&(eX[e]=ej[e])}),H.forEach(t=>{let n=e[t];n&&(eX[t]=n)}),void 0!==r&&(eX.button=Object.assign({autoInsertSpace:r},eX.button));let eK=(0,u.Z)(()=>eX,eX,(e,t)=>{let n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some(n=>e[n]!==t[n])}),ez=s.useMemo(()=>({prefixCls:e$,csp:eW}),[e$,eW]),eq=s.createElement(s.Fragment,null,s.createElement(w,{dropdownMatchSelectWidth:_}),t),eJ=s.useMemo(()=>{var e,t,n,r;return(0,T.T)((null===(e=O.Z.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=eK.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=eK.form)||void 0===r?void 0:r.validateMessages)||{},(null==a?void 0:a.validateMessages)||{})},[eK,null==a?void 0:a.validateMessages]);Object.keys(eJ).length>0&&(eq=s.createElement(f.Z.Provider,{value:eJ},eq)),l&&(eq=s.createElement(S,{locale:l,_ANT_MARK__:"internalMark"},eq)),(e$||eW)&&(eq=s.createElement(E.Z.Provider,{value:ez},eq)),R&&(eq=s.createElement(v.q,{size:R},eq)),eq=s.createElement(x,null,eq);let eQ=s.useMemo(()=>{let e=eZ||{},{algorithm:t,token:n,components:r,cssVar:o}=e,i=F(e,["algorithm","token","components","cssVar"]),a=t&&(!Array.isArray(t)||t.length>0)?(0,c.jG)(t):p.uH,s={};Object.entries(r||{}).forEach(e=>{let[t,n]=e,r=Object.assign({},n);"algorithm"in r&&(!0===r.algorithm?r.theme=a:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=(0,c.jG)(r.algorithm)),delete r.algorithm),s[t]=r});let l=Object.assign(Object.assign({},h.Z),n);return Object.assign(Object.assign({},i),{theme:a,token:l,components:s,override:Object.assign({override:l},s),cssVar:o})},[eZ]);return U&&(eq=s.createElement(p.Mj.Provider,{value:eQ},eq)),eK.warning&&(eq=s.createElement(d.G8.Provider,{value:eK.warning},eq)),void 0!==B&&(eq=s.createElement(L.n,{disabled:B},eq)),s.createElement(N.E_.Provider,{value:eK},eq)},$=e=>{let t=s.useContext(N.E_),n=s.useContext(A.Z);return s.createElement(V,Object.assign({parentContext:t,legacyLocale:n},e))};$.ConfigContext=N.E_,$.SizeContext=v.Z,$.config=e=>{let{prefixCls:t,iconPrefixCls:n,theme:s,holderRender:l}=e;void 0!==t&&(r=t),void 0!==n&&(o=n),"holderRender"in e&&(a=l),s&&(Object.keys(s).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 m.C(e),i=(0,I.R_)(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 m.C(t.primaryColor),i=(0,I.R_)(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 m.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,_.Z)()&&(0,C.hq)(n,`${g}-dynamic-theme`)}(B(),s):i=s)},$.useConfig=function(){let e=(0,s.useContext)(L.Z),t=(0,s.useContext)(v.Z);return{componentDisabled:e,componentSize:t}},Object.defineProperty($,"SizeContext",{get:()=>v.Z});var W=$},71191:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(63333),o=(0,r.Z)((0,r.Z)({},{yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),{},{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",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",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"}),i=n(42115);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),timePickerLocale:Object.assign({},i.Z)};var s=a},37364:function(e,t,n){"use strict";n.d(t,{Z:function(){return K}});var r=n(67294),o=n(83963),i=n(44039),a=n(30672),s=r.forwardRef(function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:i.Z}))}),l=n(93967),c=n.n(l),E=n(29372),u=n(42550),T=n(66367),d=n(58375),f=n(96641),R=n(75164),A=function(e){let t;let n=n=>()=>{t=null,e.apply(void 0,(0,f.Z)(n))},r=function(){if(null==t){for(var e=arguments.length,r=Array(e),o=0;o{R.Z.cancel(t),t=null},r},S=n(53124);let O=r.createContext(void 0),{Provider:p}=O;var h=n(98423),N=n(40411),I=n(35792),m=n(83062),_=n(70593),C=r.forwardRef(function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:_.Z}))}),g=(0,r.memo)(e=>{let{icon:t,description:n,prefixCls:o,className:i}=e,a=r.createElement("div",{className:`${o}-icon`},r.createElement(C,null));return r.createElement("div",{onClick:e.onClick,onFocus:e.onFocus,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,className:c()(i,`${o}-content`)},t||n?r.createElement(r.Fragment,null,t&&r.createElement("div",{className:`${o}-icon`},t),n&&r.createElement("div",{className:`${o}-description`},n)):a)}),L=n(47648),v=n(14747),y=n(16932),P=n(93590),b=n(83559),M=n(87893),D=e=>0===e?0:e-Math.sqrt(Math.pow(e,2)/2);let U=e=>{let{componentCls:t,floatButtonSize:n,motionDurationSlow:r,motionEaseInOutCirc:o}=e,i=`${t}-group`,a=new L.E4("antFloatButtonMoveDownIn",{"0%":{transform:`translate3d(0, ${(0,L.bf)(n)}, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new L.E4("antFloatButtonMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${(0,L.bf)(n)}, 0)`,transformOrigin:"0 0",opacity:0}});return[{[`${i}-wrap`]:Object.assign({},(0,P.R)(`${i}-wrap`,a,s,r,!0))},{[`${i}-wrap`]:{[` - &${i}-wrap-enter, - &${i}-wrap-appear - `]:{opacity:0,animationTimingFunction:o},[`&${i}-wrap-leave`]:{animationTimingFunction:o}}}]},x=e=>{let{antCls:t,componentCls:n,floatButtonSize:r,margin:o,borderRadiusLG:i,borderRadiusSM:a,badgeOffset:s,floatButtonBodyPadding:l,calc:c}=e,E=`${n}-group`;return{[E]:Object.assign(Object.assign({},(0,v.Wf)(e)),{zIndex:e.zIndexPopupBase,display:"block",border:"none",position:"fixed",width:r,height:"auto",boxShadow:"none",minHeight:r,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,borderRadius:i,[`${E}-wrap`]:{zIndex:-1,display:"block",position:"relative",marginBottom:o},[`&${E}-rtl`]:{direction:"rtl"},[n]:{position:"static"}}),[`${E}-circle`]:{[`${n}-circle:not(:last-child)`]:{marginBottom:e.margin,[`${n}-body`]:{width:r,height:r,borderRadius:"50%"}}},[`${E}-square`]:{[`${n}-square`]:{padding:0,borderRadius:0,[`&${E}-trigger`]:{borderRadius:i},"&:first-child":{borderStartStartRadius:i,borderStartEndRadius:i},"&:last-child":{borderEndStartRadius:i,borderEndEndRadius:i},"&:not(:last-child)":{borderBottom:`${(0,L.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-badge`]:{[`${t}-badge-count`]:{top:c(c(l).add(s)).mul(-1).equal(),insetInlineEnd:c(c(l).add(s)).mul(-1).equal()}}},[`${E}-wrap`]:{display:"block",borderRadius:i,boxShadow:e.boxShadowSecondary,[`${n}-square`]:{boxShadow:"none",marginTop:0,borderRadius:0,padding:l,"&:first-child":{borderStartStartRadius:i,borderStartEndRadius:i},"&:last-child":{borderEndStartRadius:i,borderEndEndRadius:i},"&:not(:last-child)":{borderBottom:`${(0,L.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${n}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize}}}},[`${E}-circle-shadow`]:{boxShadow:"none"},[`${E}-square-shadow`]:{boxShadow:e.boxShadowSecondary,[`${n}-square`]:{boxShadow:"none",padding:l,[`${n}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize,borderRadius:a}}}}},w=e=>{let{antCls:t,componentCls:n,floatButtonBodyPadding:r,floatButtonIconSize:o,floatButtonSize:i,borderRadiusLG:a,badgeOffset:s,dotOffsetInSquare:l,dotOffsetInCircle:c,calc:E}=e;return{[n]:Object.assign(Object.assign({},(0,v.Wf)(e)),{border:"none",position:"fixed",cursor:"pointer",zIndex:e.zIndexPopupBase,display:"block",width:i,height:i,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,boxShadow:e.boxShadowSecondary,"&-pure":{position:"relative",inset:"auto"},"&:empty":{display:"none"},[`${t}-badge`]:{width:"100%",height:"100%",[`${t}-badge-count`]:{transform:"translate(0, 0)",transformOrigin:"center",top:E(s).mul(-1).equal(),insetInlineEnd:E(s).mul(-1).equal()}},[`${n}-body`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",transition:`all ${e.motionDurationMid}`,[`${n}-content`]:{overflow:"hidden",textAlign:"center",minHeight:i,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:`${(0,L.bf)(E(r).div(2).equal())} ${(0,L.bf)(r)}`,[`${n}-icon`]:{textAlign:"center",margin:"auto",width:o,fontSize:o,lineHeight:1}}}}),[`${n}-rtl`]:{direction:"rtl"},[`${n}-circle`]:{height:i,borderRadius:"50%",[`${t}-badge`]:{[`${t}-badge-dot`]:{top:c,insetInlineEnd:c}},[`${n}-body`]:{borderRadius:"50%"}},[`${n}-square`]:{height:"auto",minHeight:i,borderRadius:a,[`${t}-badge`]:{[`${t}-badge-dot`]:{top:l,insetInlineEnd:l}},[`${n}-body`]:{height:"auto",borderRadius:a}},[`${n}-default`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,[`${n}-body`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorFillContent},[`${n}-content`]:{[`${n}-icon`]:{color:e.colorText},[`${n}-description`]:{display:"flex",alignItems:"center",lineHeight:(0,L.bf)(e.fontSizeLG),color:e.colorText,fontSize:e.fontSizeSM}}}},[`${n}-primary`]:{backgroundColor:e.colorPrimary,[`${n}-body`]:{backgroundColor:e.colorPrimary,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorPrimaryHover},[`${n}-content`]:{[`${n}-icon`]:{color:e.colorTextLightSolid},[`${n}-description`]:{display:"flex",alignItems:"center",lineHeight:(0,L.bf)(e.fontSizeLG),color:e.colorTextLightSolid,fontSize:e.fontSizeSM}}}}}};var G=(0,b.I$)("FloatButton",e=>{let{colorTextLightSolid:t,colorBgElevated:n,controlHeightLG:r,marginXXL:o,marginLG:i,fontSize:a,fontSizeIcon:s,controlItemBgHover:l,paddingXXS:c,calc:E}=e,u=(0,M.IX)(e,{floatButtonBackgroundColor:n,floatButtonColor:t,floatButtonHoverBackgroundColor:l,floatButtonFontSize:a,floatButtonIconSize:E(s).mul(1.5).equal(),floatButtonSize:r,floatButtonInsetBlockEnd:o,floatButtonInsetInlineEnd:i,floatButtonBodySize:E(r).sub(E(c).mul(2)).equal(),floatButtonBodyPadding:c,badgeOffset:E(c).mul(1.5).equal()});return[x(u),w(u),(0,y.J$)(e),U(u)]},e=>({dotOffsetInCircle:D(e.controlHeightLG/2),dotOffsetInSquare:D(e.borderRadiusLG)})),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 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="float-btn",B=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:i,type:a="default",shape:s="circle",icon:l,description:E,tooltip:u,badge:T={}}=e,d=F(e,["prefixCls","className","rootClassName","type","shape","icon","description","tooltip","badge"]),{getPrefixCls:f,direction:R}=(0,r.useContext)(S.E_),A=(0,r.useContext)(O),p=f(H,n),_=(0,I.Z)(p),[C,L,v]=G(p,_),y=c()(L,v,_,p,o,i,`${p}-${a}`,`${p}-${A||s}`,{[`${p}-rtl`]:"rtl"===R}),P=(0,r.useMemo)(()=>(0,h.Z)(T,["title","children","status","text"]),[T]),b=(0,r.useMemo)(()=>({prefixCls:p,description:E,icon:l,type:a}),[p,E,l,a]),M=r.createElement("div",{className:`${p}-body`},r.createElement(g,Object.assign({},b)));return"badge"in e&&(M=r.createElement(N.Z,Object.assign({},P),M)),"tooltip"in e&&(M=r.createElement(m.Z,{title:u,placement:"rtl"===R?"right":"left"},M)),C(e.href?r.createElement("a",Object.assign({ref:t},d,{className:y}),M):r.createElement("button",Object.assign({ref:t},d,{className:y,type:"button"}),M))});var 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 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 k=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,type:i="default",shape:a="circle",visibilityHeight:l=400,icon:f=r.createElement(s,null),target:R,onClick:p,duration:h=450}=e,N=Y(e,["prefixCls","className","type","shape","visibilityHeight","icon","target","onClick","duration"]),[I,m]=(0,r.useState)(0===l),_=r.useRef(null);r.useImperativeHandle(t,()=>({nativeElement:_.current}));let C=()=>{var e;return(null===(e=_.current)||void 0===e?void 0:e.ownerDocument)||window},g=A(e=>{let t=(0,T.Z)(e.target);m(t>=l)});(0,r.useEffect)(()=>{let e=R||C,t=e();return g({target:t}),null==t||t.addEventListener("scroll",g),()=>{g.cancel(),null==t||t.removeEventListener("scroll",g)}},[R]);let L=e=>{(0,d.Z)(0,{getContainer:R||C,duration:h}),null==p||p(e)},{getPrefixCls:v}=(0,r.useContext)(S.E_),y=v(H,n),P=v(),b=(0,r.useContext)(O),M=Object.assign({prefixCls:y,icon:f,type:i,shape:b||a},N);return r.createElement(E.ZP,{visible:I,motionName:`${P}-fade`},(e,t)=>{let{className:n}=e;return r.createElement(B,Object.assign({ref:(0,u.sQ)(_,t)},M,{onClick:L,className:c()(o,n)}))})});var V=n(62208),$=n(21770),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},Z=(0,r.memo)(e=>{var t;let{prefixCls:n,className:o,style:i,shape:a="circle",type:s="default",icon:l=r.createElement(C,null),closeIcon:u,description:T,trigger:d,children:f,onOpenChange:R,open:A}=e,O=W(e,["prefixCls","className","style","shape","type","icon","closeIcon","description","trigger","children","onOpenChange","open"]),{direction:h,getPrefixCls:N,floatButtonGroup:m}=(0,r.useContext)(S.E_),_=null!==(t=null!=u?u:null==m?void 0:m.closeIcon)&&void 0!==t?t:r.createElement(V.Z,null),g=N(H,n),L=(0,I.Z)(g),[v,y,P]=G(g,L),b=`${g}-group`,M=c()(b,y,P,L,o,{[`${b}-rtl`]:"rtl"===h,[`${b}-${a}`]:a,[`${b}-${a}-shadow`]:!d}),D=c()(y,`${b}-wrap`),[U,x]=(0,$.Z)(!1,{value:A}),w=r.useRef(null),F=r.useRef(null),Y=r.useMemo(()=>"hover"===d?{onMouseEnter(){x(!0),null==R||R(!0)},onMouseLeave(){x(!1),null==R||R(!1)}}:{},[d]),k=()=>{x(e=>(null==R||R(!e),!e))},Z=(0,r.useCallback)(e=>{var t,n;if(null===(t=w.current)||void 0===t?void 0:t.contains(e.target)){(null===(n=F.current)||void 0===n?void 0:n.contains(e.target))&&k();return}x(!1),null==R||R(!1)},[d]);return(0,r.useEffect)(()=>{if("click"===d)return document.addEventListener("click",Z),()=>{document.removeEventListener("click",Z)}},[d]),v(r.createElement(p,{value:a},r.createElement("div",Object.assign({ref:w,className:M,style:i},Y),d&&["click","hover"].includes(d)?r.createElement(r.Fragment,null,r.createElement(E.ZP,{visible:U,motionName:`${b}-wrap`},e=>{let{className:t}=e;return r.createElement("div",{className:c()(t,D)},f)}),r.createElement(B,Object.assign({ref:F,type:s,icon:U?_:l,description:T,"aria-label":e["aria-label"],className:`${b}-trigger`},O))):f)))}),j=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 X=e=>{var{backTop:t}=e,n=j(e,["backTop"]);return t?r.createElement(k,Object.assign({},n,{visibilityHeight:0})):r.createElement(B,Object.assign({},n))};B.BackTop=k,B.Group=Z,B._InternalPanelDoNotUseOrYouWillBeFired=e=>{var{className:t,items:n}=e,o=j(e,["className","items"]);let{prefixCls:i}=o,{getPrefixCls:a}=r.useContext(S.E_),s=a(H,i),l=`${s}-pure`;return n?r.createElement(Z,Object.assign({className:c()(t,l)},o),n.map((e,t)=>r.createElement(X,Object.assign({key:t},e)))):r.createElement(X,Object.assign({className:c()(t,l)},o))};var K=B},65223:function(e,t,n){"use strict";n.d(t,{RV:function(){return l},Rk:function(){return c},Ux:function(){return u},aM:function(){return E},pg:function(){return T},q3:function(){return a},qI:function(){return s}});var r=n(67294),o=n(88692),i=n(98423);let a=r.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),s=r.createContext(null),l=e=>{let t=(0,i.Z)(e,["prefixCls"]);return r.createElement(o.RV,Object.assign({},t))},c=r.createContext({prefixCls:""}),E=r.createContext({}),u=e=>{let{children:t,status:n,override:o}=e,i=(0,r.useContext)(E),a=(0,r.useMemo)(()=>{let e=Object.assign({},i);return o&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[n,o,i]);return r.createElement(E.Provider,{value:a},t)},T=(0,r.createContext)(void 0)},37920:function(e,t,n){"use strict";var r=n(67294);t.Z=(0,r.createContext)(void 0)},25378:function(e,t,n){"use strict";var r=n(67294),o=n(8410),i=n(57838),a=n(74443);t.Z=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,r.useRef)({}),n=(0,i.Z)(),s=(0,a.ZP)();return(0,o.Z)(()=>{let r=s.subscribe(r=>{t.current=r,e&&n()});return()=>s.unsubscribe(r)},[]),t.current}},76745:function(e,t,n){"use strict";var r=n(67294);let o=(0,r.createContext)(void 0);t.Z=o},24457:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(62906),o=n(71191),i=o.Z,a=n(42115);let s="${label} is not a valid ${type}",l={locale:"en",Pagination:r.Z,DatePicker:o.Z,TimePicker:a.Z,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",deselectAll:"Deselect 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",collapse:"Collapse"},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",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};var c=l},10110:function(e,t,n){"use strict";var r=n(67294),o=n(76745),i=n(24457);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]),s=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,s]}},66277:function(e,t,n){"use strict";n.d(t,{CW:function(){return S}});var r=n(67294),o=n(19735),i=n(17012),a=n(29950),s=n(97735),l=n(19267),c=n(93967),E=n.n(c),u=n(42999),T=n(53124),d=n(35792),f=n(34792),R=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={info:r.createElement(s.Z,null),success:r.createElement(o.Z,null),error:r.createElement(i.Z,null),warning:r.createElement(a.Z,null),loading:r.createElement(l.Z,null)},S=e=>{let{prefixCls:t,type:n,icon:o,children:i}=e;return r.createElement("div",{className:E()(`${t}-custom-content`,`${t}-${n}`)},o||A[n],r.createElement("span",null,i))};t.ZP=e=>{let{prefixCls:t,className:n,type:o,icon:i,content:a}=e,s=R(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:l}=r.useContext(T.E_),c=t||l("message"),A=(0,d.Z)(c),[O,p,h]=(0,f.Z)(c,A);return O(r.createElement(u.qX,Object.assign({},s,{prefixCls:c,className:E()(n,p,`${c}-notice-pure-panel`,h,A),eventKey:"pure",duration:null,content:r.createElement(S,{prefixCls:c,type:o,icon:i},a)})))}},45360:function(e,t,n){"use strict";var r=n(96641),o=n(67294),i=n(38135),a=n(66968),s=n(53124),l=n(28459),c=n(66277),E=n(16474),u=n(84926);let T=null,d=e=>e(),f=[],R={};function A(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=R,i=(null==e?void 0:e())||document.body;return{getContainer:()=>i,duration:t,rtl:n,maxCount:r,top:o}}let S=o.forwardRef((e,t)=>{let{messageConfig:n,sync:r}=e,{getPrefixCls:i}=(0,o.useContext)(s.E_),l=R.prefixCls||i("message"),c=(0,o.useContext)(a.J),[u,T]=(0,E.K)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:l}),c.message));return o.useImperativeHandle(t,()=>{let e=Object.assign({},u);return Object.keys(e).forEach(t=>{e[t]=function(){return r(),u[t].apply(u,arguments)}}),{instance:e,sync:r}}),T}),O=o.forwardRef((e,t)=>{let[n,r]=o.useState(A),i=()=>{r(A)};o.useEffect(i,[]);let a=(0,l.w6)(),s=a.getRootPrefixCls(),c=a.getIconPrefixCls(),E=a.getTheme(),u=o.createElement(S,{ref:t,sync:i,messageConfig:n});return o.createElement(l.ZP,{prefixCls:s,iconPrefixCls:c,theme:E},a.holderRender?a.holderRender(u):u)});function p(){if(!T){let e=document.createDocumentFragment(),t={fragment:e};T=t,d(()=>{(0,i.s)(o.createElement(O,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,p())})}}),e)});return}T.instance&&(f.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":d(()=>{let t=T.instance.open(Object.assign(Object.assign({},R),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":d(()=>{null==T||T.instance.destroy(e.key)});break;default:d(()=>{var n;let o=(n=T.instance)[t].apply(n,(0,r.Z)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),f=[])}let h={open:function(e){let t=(0,u.J)(t=>{let n;let r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return f.push(r),()=>{n?d(()=>{n()}):r.skipped=!0}});return p(),t},destroy:e=>{f.push({type:"destroy",key:e}),p()},config:function(e){R=Object.assign(Object.assign({},R),e),d(()=>{var e;null===(e=null==T?void 0:T.sync)||void 0===e||e.call(T)})},useMessage:E.Z,_InternalPanelDoNotUseOrYouWillBeFired:c.ZP};["success","info","warning","error","loading"].forEach(e=>{h[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?d(()=>{r()}):o.skipped=!0}});return p(),n}(e,n)}}),t.ZP=h},34792:function(e,t,n){"use strict";var r=n(47648),o=n(87263),i=n(14747),a=n(83559),s=n(87893);let l=e=>{let{componentCls:t,iconCls:n,boxShadow:o,colorText:a,colorSuccess:s,colorError:l,colorWarning:c,colorInfo:E,fontSizeLG:u,motionEaseInOutCirc:T,motionDurationSlow:d,marginXS:f,paddingXS:R,borderRadiusLG:A,zIndexPopup:S,contentPadding:O,contentBg:p}=e,h=`${t}-notice`,N=new r.E4("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:R,transform:"translateY(0)",opacity:1}}),I=new r.E4("MessageMoveOut",{"0%":{maxHeight:e.height,padding:R,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),m={padding:R,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:f,fontSize:u},[`${h}-content`]:{display:"inline-block",padding:O,background:p,borderRadius:A,boxShadow:o,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:s},[`${t}-error > ${n}`]:{color:l},[`${t}-warning > ${n}`]:{color:c},[`${t}-info > ${n}, - ${t}-loading > ${n}`]:{color:E}};return[{[t]:Object.assign(Object.assign({},(0,i.Wf)(e)),{color:a,position:"fixed",top:f,width:"100%",pointerEvents:"none",zIndex:S,[`${t}-move-up`]:{animationFillMode:"forwards"},[` - ${t}-move-up-appear, - ${t}-move-up-enter - `]:{animationName:N,animationDuration:d,animationPlayState:"paused",animationTimingFunction:T},[` - ${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:I,animationDuration:d,animationPlayState:"paused",animationTimingFunction:T},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${h}-wrapper`]:Object.assign({},m)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},m),{padding:0,textAlign:"start"})}]};t.Z=(0,a.I$)("Message",e=>{let t=(0,s.IX)(e,{height:150});return[l(t)]},e=>({zIndexPopup:e.zIndexPopupBase+o.u6+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}))},16474:function(e,t,n){"use strict";n.d(t,{K:function(){return p},Z:function(){return h}});var r=n(67294),o=n(62208),i=n(93967),a=n.n(i),s=n(42999),l=n(27288),c=n(53124),E=n(35792),u=n(66277),T=n(34792),d=n(84926),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 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 R=e=>{let{children:t,prefixCls:n}=e,o=(0,E.Z)(n),[i,l,c]=(0,T.Z)(n,o);return i(r.createElement(s.JB,{classNames:{list:a()(l,c,o)}},t))},A=(e,t)=>{let{prefixCls:n,key:o}=t;return r.createElement(R,{prefixCls:n,key:o},e)},S=r.forwardRef((e,t)=>{let{top:n,prefixCls:i,getContainer:l,maxCount:E,duration:u=3,rtl:T,transitionName:f,onAllRemoved:R}=e,{getPrefixCls:S,getPopupContainer:O,message:p,direction:h}=r.useContext(c.E_),N=i||S("message"),I=r.createElement("span",{className:`${N}-close-x`},r.createElement(o.Z,{className:`${N}-close-icon`})),[m,_]=(0,s.lm)({prefixCls:N,style:()=>({left:"50%",transform:"translateX(-50%)",top:null!=n?n:8}),className:()=>a()({[`${N}-rtl`]:null!=T?T:"rtl"===h}),motion:()=>(0,d.g)(N,f),closable:!1,closeIcon:I,duration:u,getContainer:()=>(null==l?void 0:l())||(null==O?void 0:O())||document.body,maxCount:E,onAllRemoved:R,renderNotifications:A});return r.useImperativeHandle(t,()=>Object.assign(Object.assign({},m),{prefixCls:N,message:p})),_}),O=0;function p(e){let t=r.useRef(null);(0,l.ln)("Message");let n=r.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:o,prefixCls:i,message:s}=t.current,l=`${i}-notice`,{content:c,icon:E,type:T,key:R,className:A,style:S,onClose:p}=n,h=f(n,["content","icon","type","key","className","style","onClose"]),N=R;return null==N&&(O+=1,N=`antd-message-${O}`),(0,d.J)(t=>(o(Object.assign(Object.assign({},h),{key:N,content:r.createElement(u.CW,{prefixCls:i,type:T,icon:E},c),placement:"top",className:a()(T&&`${l}-${T}`,A,null==s?void 0:s.className),style:Object.assign(Object.assign({},null==s?void 0:s.style),S),onClose:()=>{null==p||p(),t()}})),()=>{e(N)}))},o={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=>{o[e]=(t,r,o)=>{let i,a,s;i=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof r?s=r:(a=r,s=o);let l=Object.assign(Object.assign({onClose:s,duration:a},i),{type:e});return n(l)}}),o},[]);return[n,r.createElement(S,Object.assign({key:"message-holder"},e,{ref:t}))]}function h(e){return p(e)}},84926:function(e,t,n){"use strict";function r(e,t){return{motionName:null!=t?t:`${e}-move-up`}}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}n.d(t,{J:function(){return o},g:function(){return r}})},32409:function(e,t,n){"use strict";n.d(t,{O:function(){return v},Z:function(){return P}});var r=n(96641),o=n(67294),i=n(19735),a=n(17012),s=n(29950),l=n(97735),c=n(93967),E=n.n(c),u=n(87263),T=n(33603),d=n(28459),f=n(10110),R=n(25976),A=n(86743),S=n(23745),O=()=>{let{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:i,rootPrefixCls:a,close:s,onCancel:l,onConfirm:c}=(0,o.useContext)(S.t);return i?o.createElement(A.Z,{isSilent:r,actionFn:l,close:function(){null==s||s.apply(void 0,arguments),null==c||c(!1)},autoFocus:"cancel"===e,buttonProps:t,prefixCls:`${a}-btn`},n):null},p=()=>{let{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:i,okTextLocale:a,okType:s,onConfirm:l,onOk:c}=(0,o.useContext)(S.t);return o.createElement(A.Z,{isSilent:n,type:s||"primary",actionFn:c,close:function(){null==t||t.apply(void 0,arguments),null==l||l(!0)},autoFocus:"ok"===e,buttonProps:r,prefixCls:`${i}-btn`},a)},h=n(56745),N=n(47648),I=n(71194),m=n(14747),_=n(83559);let C=e=>{let{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:o,fontSize:i,lineHeight:a,modalTitleHeight:s,fontHeight:l,confirmBodyPadding:c}=e,E=`${t}-confirm`;return{[E]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${E}-body-wrapper`]:Object.assign({},(0,m.dF)()),[`&${t} ${t}-body`]:{padding:c},[`${E}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:o,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(l).sub(o).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(s).sub(o).equal()).div(2).equal()}},[`${E}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS},[`${e.iconCls} + ${E}-paragraph`]:{maxWidth:`calc(100% - ${(0,N.bf)(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${E}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${E}-content`]:{color:e.colorText,fontSize:i,lineHeight:a},[`${E}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${E}-error ${E}-body > ${e.iconCls}`]:{color:e.colorError},[`${E}-warning ${E}-body > ${e.iconCls}, - ${E}-confirm ${E}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${E}-info ${E}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${E}-success ${E}-body > ${e.iconCls}`]:{color:e.colorSuccess}}};var g=(0,_.bk)(["Modal","confirm"],e=>{let t=(0,I.B4)(e);return[C(t)]},I.eh,{order:-1e3}),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 v(e){let{prefixCls:t,icon:n,okText:c,cancelText:u,confirmPrefixCls:T,type:d,okCancel:R,footer:A,locale:h}=e,N=L(e,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]),I=n;if(!n&&null!==n)switch(d){case"info":I=o.createElement(l.Z,null);break;case"success":I=o.createElement(i.Z,null);break;case"error":I=o.createElement(a.Z,null);break;default:I=o.createElement(s.Z,null)}let m=null!=R?R:"confirm"===d,_=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),[C]=(0,f.Z)("Modal"),v=h||C,y=c||(m?null==v?void 0:v.okText:null==v?void 0:v.justOkText),P=u||(null==v?void 0:v.cancelText),b=Object.assign({autoFocusButton:_,cancelTextLocale:P,okTextLocale:y,mergedOkCancel:m},N),M=o.useMemo(()=>b,(0,r.Z)(Object.values(b))),D=o.createElement(o.Fragment,null,o.createElement(O,null),o.createElement(p,null)),U=void 0!==e.title&&null!==e.title,x=`${T}-body`;return o.createElement("div",{className:`${T}-body-wrapper`},o.createElement("div",{className:E()(x,{[`${x}-has-title`]:U})},I,o.createElement("div",{className:`${T}-paragraph`},U&&o.createElement("span",{className:`${T}-title`},e.title),o.createElement("div",{className:`${T}-content`},e.content))),void 0===A||"function"==typeof A?o.createElement(S.n,{value:M},o.createElement("div",{className:`${T}-btns`},"function"==typeof A?A(D,{OkBtn:p,CancelBtn:O}):D)):A,o.createElement(g,{prefixCls:t}))}let y=e=>{let{close:t,zIndex:n,afterClose:r,open:i,keyboard:a,centered:s,getContainer:l,maskStyle:c,direction:d,prefixCls:f,wrapClassName:A,rootPrefixCls:S,bodyStyle:O,closable:p=!1,closeIcon:N,modalRender:I,focusTriggerAfterClose:m,onConfirm:_,styles:C}=e,g=`${f}-confirm`,L=e.width||416,y=e.style||{},P=void 0===e.mask||e.mask,b=void 0!==e.maskClosable&&e.maskClosable,M=E()(g,`${g}-${e.type}`,{[`${g}-rtl`]:"rtl"===d},e.className),[,D]=(0,R.ZP)(),U=o.useMemo(()=>void 0!==n?n:D.zIndexPopupBase+u.u6,[n,D]);return o.createElement(h.Z,{prefixCls:f,className:M,wrapClassName:E()({[`${g}-centered`]:!!e.centered},A),onCancel:()=>{null==t||t({triggerCancel:!0}),null==_||_(!1)},open:i,title:"",footer:null,transitionName:(0,T.m)(S||"","zoom",e.transitionName),maskTransitionName:(0,T.m)(S||"","fade",e.maskTransitionName),mask:P,maskClosable:b,style:y,styles:Object.assign({body:O,mask:c},C),width:L,zIndex:U,afterClose:r,keyboard:a,centered:s,getContainer:l,closable:p,closeIcon:N,modalRender:I,focusTriggerAfterClose:m},o.createElement(v,Object.assign({},e,{confirmPrefixCls:g})))};var P=e=>{let{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:i}=e;return o.createElement(d.ZP,{prefixCls:t,iconPrefixCls:n,direction:r,theme:i},o.createElement(y,Object.assign({},e)))}},56745:function(e,t,n){"use strict";let r;n.d(t,{Z:function(){return I}});var o=n(67294),i=n(62208),a=n(93967),s=n.n(a),l=n(40974),c=n(89942),E=n(69760),u=n(87263),T=n(33603),d=n(98924),f=n(43945),R=n(53124),A=n(35792),S=n(87564),O=n(16569),p=n(4941),h=n(71194),N=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,d.Z)()&&window.document.documentElement&&document.documentElement.addEventListener("click",e=>{r={x:e.pageX,y:e.pageY},setTimeout(()=>{r=null},100)},!0);var I=e=>{var t;let{getPopupContainer:n,getPrefixCls:a,direction:d,modal:I}=o.useContext(R.E_),m=t=>{let{onCancel:n}=e;null==n||n(t)},{prefixCls:_,className:C,rootClassName:g,open:L,wrapClassName:v,centered:y,getContainer:P,focusTriggerAfterClose:b=!0,style:M,visible:D,width:U=520,footer:x,classNames:w,styles:G,children:F,loading:H}=e,B=N(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading"]),Y=a("modal",_),k=a(),V=(0,A.Z)(Y),[$,W,Z]=(0,h.ZP)(Y,V),j=s()(v,{[`${Y}-centered`]:!!y,[`${Y}-wrap-rtl`]:"rtl"===d}),X=null===x||H?null:o.createElement(p.$,Object.assign({},e,{onOk:t=>{let{onOk:n}=e;null==n||n(t)},onCancel:m})),[K,z]=(0,E.Z)((0,E.w)(e),(0,E.w)(I),{closable:!0,closeIcon:o.createElement(i.Z,{className:`${Y}-close-icon`}),closeIconRender:e=>(0,p.b)(Y,e)}),q=(0,O.H)(`.${Y}-content`),[J,Q]=(0,u.Cn)("Modal",B.zIndex);return $(o.createElement(c.Z,{form:!0,space:!0},o.createElement(f.Z.Provider,{value:Q},o.createElement(l.Z,Object.assign({width:U},B,{zIndex:J,getContainer:void 0===P?n:P,prefixCls:Y,rootClassName:s()(W,g,Z,V),footer:X,visible:null!=L?L:D,mousePosition:null!==(t=B.mousePosition)&&void 0!==t?t:r,onClose:m,closable:K,closeIcon:z,focusTriggerAfterClose:b,transitionName:(0,T.m)(k,"zoom",e.transitionName),maskTransitionName:(0,T.m)(k,"fade",e.maskTransitionName),className:s()(W,C,null==I?void 0:I.className),style:Object.assign(Object.assign({},null==I?void 0:I.style),M),classNames:Object.assign(Object.assign(Object.assign({},null==I?void 0:I.classNames),w),{wrapper:s()(j,null==w?void 0:w.wrapper)}),styles:Object.assign(Object.assign({},null==I?void 0:I.styles),G),panelRef:q}),H?o.createElement(S.Z,{active:!0,title:!1,paragraph:{rows:4},className:`${Y}-body-skeleton`}):F))))}},56080:function(e,t,n){"use strict";n.d(t,{AQ:function(){return S},Au:function(){return O},ZP:function(){return d},ai:function(){return p},cw:function(){return R},uW:function(){return f},vq:function(){return A}});var r=n(96641),o=n(67294),i=n(38135),a=n(53124),s=n(28459),l=n(32409),c=n(38657),E=n(83008);let u="",T=e=>{var t,n;let{prefixCls:r,getContainer:i,direction:s}=e,c=(0,E.A)(),T=(0,o.useContext)(a.E_),d=u||T.getPrefixCls(),f=r||`${d}-modal`,R=i;return!1===R&&(R=void 0),o.createElement(l.Z,Object.assign({},e,{rootPrefixCls:d,prefixCls:f,iconPrefixCls:T.iconPrefixCls,theme:T.theme,direction:null!=s?s:T.direction,locale:null!==(n=null===(t=T.locale)||void 0===t?void 0:t.Modal)&&void 0!==n?n:c,getContainer:R}))};function d(e){let t;let n=(0,s.w6)(),a=document.createDocumentFragment(),l=Object.assign(Object.assign({},e),{close:f,open:!0});function E(){for(var t,n=arguments.length,o=Array(n),s=0;snull==e?void 0:e.triggerCancel);l&&(null===(t=e.onCancel)||void 0===t||t.call.apply(t,[e,()=>{}].concat((0,r.Z)(o.slice(1)))));for(let e=0;e{let t=n.getPrefixCls(void 0,u),r=n.getIconPrefixCls(),l=n.getTheme(),c=o.createElement(T,Object.assign({},e));(0,i.s)(o.createElement(s.ZP,{prefixCls:t,iconPrefixCls:r,theme:l},n.holderRender?n.holderRender(c):c),a)})}function f(){for(var t=arguments.length,n=Array(t),r=0;r{"function"==typeof e.afterClose&&e.afterClose(),E.apply(this,n)}})).visible&&delete l.visible,d(l)}return d(l),c.Z.push(f),{destroy:f,update:function(e){d(l="function"==typeof e?e(l):Object.assign(Object.assign({},l),e))}}}function f(e){return Object.assign(Object.assign({},e),{type:"warning"})}function R(e){return Object.assign(Object.assign({},e),{type:"info"})}function A(e){return Object.assign(Object.assign({},e),{type:"success"})}function S(e){return Object.assign(Object.assign({},e),{type:"error"})}function O(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function p(e){let{rootPrefixCls:t}=e;u=t}},23745:function(e,t,n){"use strict";n.d(t,{n:function(){return i},t:function(){return o}});var r=n(67294);let o=r.createContext({}),{Provider:i}=o},38657:function(e,t){"use strict";t.Z=[]},85576:function(e,t,n){"use strict";n.d(t,{default:function(){return N}});var r=n(56080),o=n(38657),i=n(56745),a=n(67294),s=n(93967),l=n.n(s),c=n(40974),E=n(8745),u=n(53124),T=n(35792),d=n(32409),f=n(4941),R=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},S=(0,E.i)(e=>{let{prefixCls:t,className:n,closeIcon:r,closable:o,type:i,title:s,children:E,footer:S}=e,O=A(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:p}=a.useContext(u.E_),h=p(),N=t||p("modal"),I=(0,T.Z)(h),[m,_,C]=(0,R.ZP)(N,I),g=`${N}-confirm`,L={};return L=i?{closable:null!=o&&o,title:"",footer:"",children:a.createElement(d.O,Object.assign({},e,{prefixCls:N,confirmPrefixCls:g,rootPrefixCls:h,content:E}))}:{closable:null==o||o,title:s,footer:null!==S&&a.createElement(f.$,Object.assign({},e)),children:E},m(a.createElement(c.s,Object.assign({prefixCls:N,className:l()(_,`${N}-pure-panel`,i&&g,i&&`${g}-${i}`,n,C,I)},O,{closeIcon:(0,f.b)(N,r),closable:o},L)))}),O=n(94423);function p(e){return(0,r.ZP)((0,r.uW)(e))}let h=i.Z;h.useModal=O.Z,h.info=function(e){return(0,r.ZP)((0,r.cw)(e))},h.success=function(e){return(0,r.ZP)((0,r.vq)(e))},h.error=function(e){return(0,r.ZP)((0,r.AQ)(e))},h.warning=p,h.warn=p,h.confirm=function(e){return(0,r.ZP)((0,r.Au)(e))},h.destroyAll=function(){for(;o.Z.length;){let e=o.Z.pop();e&&e()}},h.config=r.ai,h._InternalPanelDoNotUseOrYouWillBeFired=S;var N=h},83008:function(e,t,n){"use strict";n.d(t,{A:function(){return l},f:function(){return s}});var r=n(24457);let o=Object.assign({},r.Z.Modal),i=[],a=()=>i.reduce((e,t)=>Object.assign(Object.assign({},e),t),r.Z.Modal);function s(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 l(){return o}},4941:function(e,t,n){"use strict";n.d(t,{$:function(){return R},b:function(){return f}});var r=n(96641),o=n(67294),i=n(62208),a=n(98866),s=n(10110),l=n(14726),c=n(23745),E=()=>{let{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=(0,o.useContext)(c.t);return o.createElement(l.ZP,Object.assign({onClick:n},e),t)},u=n(33671),T=()=>{let{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:i}=(0,o.useContext)(c.t);return o.createElement(l.ZP,Object.assign({},(0,u.nx)(n),{loading:e,onClick:i},t),r)},d=n(83008);function f(e,t){return o.createElement("span",{className:`${e}-close-x`},t||o.createElement(i.Z,{className:`${e}-close-icon`}))}let R=e=>{let t;let{okText:n,okType:i="primary",cancelText:l,confirmLoading:u,onOk:f,onCancel:R,okButtonProps:A,cancelButtonProps:S,footer:O}=e,[p]=(0,s.Z)("Modal",(0,d.A)()),h=n||(null==p?void 0:p.okText),N=l||(null==p?void 0:p.cancelText),I={confirmLoading:u,okButtonProps:A,cancelButtonProps:S,okTextLocale:h,cancelTextLocale:N,okType:i,onOk:f,onCancel:R},m=o.useMemo(()=>I,(0,r.Z)(Object.values(I)));return"function"==typeof O||void 0===O?(t=o.createElement(o.Fragment,null,o.createElement(E,null),o.createElement(T,null)),"function"==typeof O&&(t=O(t,{OkBtn:T,CancelBtn:E})),t=o.createElement(c.n,{value:m},t)):t=O,o.createElement(a.n,{disabled:!1},t)}},71194:function(e,t,n){"use strict";n.d(t,{B4:function(){return d},QA:function(){return E},eh:function(){return f}});var r=n(47648),o=n(14747),i=n(16932),a=n(50438),s=n(87893),l=n(83559);function c(e){return{position:e,inset:0}}let E=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({},c("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},c("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:(0,i.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}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${(0,r.bf)(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},(0,o.Wf)(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${(0,r.bf)(e.calc(e.margin).mul(2).equal())})`,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.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),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:(0,r.bf)(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},(0,o.Qy)(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${(0,r.bf)(e.borderRadiusLG)} ${(0,r.bf)(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${(0,r.bf)(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{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"}}}]},T=e=>{let{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},d=e=>{let t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5,o=(0,s.IX)(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()});return o},f=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${(0,r.bf)(e.paddingMD)} ${(0,r.bf)(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${(0,r.bf)(e.padding)} ${(0,r.bf)(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${(0,r.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${(0,r.bf)(e.paddingXS)} ${(0,r.bf)(e.padding)}`:0,footerBorderTop:e.wireframe?`${(0,r.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${(0,r.bf)(e.borderRadiusLG)} ${(0,r.bf)(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${(0,r.bf)(2*e.padding)} ${(0,r.bf)(2*e.padding)} ${(0,r.bf)(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM});t.ZP=(0,l.I$)("Modal",e=>{let t=d(e);return[u(t),T(t),E(t),(0,a._y)(t,"zoom")]},f,{unitless:{titleLineHeight:!0}})},94423:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(96641),o=n(67294),i=n(56080),a=n(38657),s=n(53124),l=n(24457),c=n(10110),E=n(32409),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},T=o.forwardRef((e,t)=>{var n,{afterClose:i,config:a}=e,T=u(e,["afterClose","config"]);let[d,f]=o.useState(!0),[R,A]=o.useState(a),{direction:S,getPrefixCls:O}=o.useContext(s.E_),p=O("modal"),h=O(),N=function(){f(!1);for(var e,t=arguments.length,n=Array(t),o=0;onull==e?void 0:e.triggerCancel);i&&(null===(e=R.onCancel)||void 0===e||e.call.apply(e,[R,()=>{}].concat((0,r.Z)(n.slice(1)))))};o.useImperativeHandle(t,()=>({destroy:N,update:e=>{A(t=>Object.assign(Object.assign({},t),e))}}));let I=null!==(n=R.okCancel)&&void 0!==n?n:"confirm"===R.type,[m]=(0,c.Z)("Modal",l.Z.Modal);return o.createElement(E.Z,Object.assign({prefixCls:p,rootPrefixCls:h},R,{close:N,open:d,afterClose:()=>{var e;i(),null===(e=R.afterClose)||void 0===e||e.call(R)},okText:R.okText||(I?null==m?void 0:m.okText:null==m?void 0:m.justOkText),direction:R.direction||S,cancelText:R.cancelText||(null==m?void 0:m.cancelText)},T))});let d=0,f=o.memo(o.forwardRef((e,t)=>{let[n,i]=function(){let[e,t]=o.useState([]),n=o.useCallback(e=>(t(t=>[].concat((0,r.Z)(t),[e])),()=>{t(t=>t.filter(t=>t!==e))}),[]);return[e,n]}();return o.useImperativeHandle(t,()=>({patchElement:i}),[]),o.createElement(o.Fragment,null,n)}));var R=function(){let e=o.useRef(null),[t,n]=o.useState([]);o.useEffect(()=>{if(t.length){let e=(0,r.Z)(t);e.forEach(e=>{e()}),n([])}},[t]);let s=o.useCallback(t=>function(i){var s;let l,c;d+=1;let E=o.createRef(),u=new Promise(e=>{l=e}),f=!1,R=o.createElement(T,{key:`modal-${d}`,config:t(i),ref:E,afterClose:()=>{null==c||c()},isSilent:()=>f,onConfirm:e=>{l(e)}});return(c=null===(s=e.current)||void 0===s?void 0:s.patchElement(R))&&a.Z.push(c),{destroy:()=>{function e(){var e;null===(e=E.current)||void 0===e||e.destroy()}E.current?e():n(t=>[].concat((0,r.Z)(t),[e]))},update:e=>{function t(){var t;null===(t=E.current)||void 0===t||t.update(e)}E.current?t():n(e=>[].concat((0,r.Z)(e),[t]))},then:e=>(f=!0,u.then(e))}},[]),l=o.useMemo(()=>({info:s(i.cw),success:s(i.vq),error:s(i.AQ),warning:s(i.uW),confirm:s(i.Au)}),[]);return[l,o.createElement(f,{key:"modal-holder",ref:e})]}},66494:function(e,t,n){"use strict";n.d(t,{CW:function(){return N},ZP:function(){return I},z5:function(){return p}});var r=n(67294),o=n(19735),i=n(17012),a=n(62208),s=n(29950),l=n(97735),c=n(19267),E=n(93967),u=n.n(E),T=n(42999),d=n(53124),f=n(35792),R=n(59135),A=n(47648),S=(0,n(83559).bk)(["Notification","PurePanel"],e=>{let t=`${e.componentCls}-notice`,n=(0,R.Rp)(e);return{[`${t}-pure-panel`]:Object.assign(Object.assign({},(0,R.$e)(n)),{width:n.width,maxWidth:`calc(100vw - ${(0,A.bf)(e.calc(n.notificationMarginEdge).mul(2).equal())})`,margin:0})}},R.eh),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 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 p(e,t){return null===t||!1===t?null:t||r.createElement(a.Z,{className:`${e}-close-icon`})}l.Z,o.Z,i.Z,s.Z,c.Z;let h={success:o.Z,info:l.Z,error:i.Z,warning:s.Z},N=e=>{let{prefixCls:t,icon:n,type:o,message:i,description:a,btn:s,role:l="alert"}=e,c=null;return n?c=r.createElement("span",{className:`${t}-icon`},n):o&&(c=r.createElement(h[o]||null,{className:u()(`${t}-icon`,`${t}-icon-${o}`)})),r.createElement("div",{className:u()({[`${t}-with-icon`]:c}),role:l},c,r.createElement("div",{className:`${t}-message`},i),r.createElement("div",{className:`${t}-description`},a),s&&r.createElement("div",{className:`${t}-btn`},s))};var I=e=>{let{prefixCls:t,className:n,icon:o,type:i,message:a,description:s,btn:l,closable:c=!0,closeIcon:E,className:A}=e,h=O(e,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon","className"]),{getPrefixCls:I}=r.useContext(d.E_),m=t||I("notification"),_=`${m}-notice`,C=(0,f.Z)(m),[g,L,v]=(0,R.ZP)(m,C);return g(r.createElement("div",{className:u()(`${_}-pure-panel`,L,n,v,C)},r.createElement(S,{prefixCls:m}),r.createElement(T.qX,Object.assign({},h,{prefixCls:m,eventKey:"pure",duration:null,closable:c,className:u()({notificationClassName:A}),closeIcon:p(m,E),content:r.createElement(N,{prefixCls:_,icon:o,type:i,message:a,description:s,btn:l})}))))}},26855:function(e,t,n){"use strict";var r=n(67294),o=n(38135),i=n(66968),a=n(53124),s=n(28459),l=n(66494),c=n(48311);let E=null,u=e=>e(),T=[],d={};function f(){let{getContainer:e,rtl:t,maxCount:n,top:r,bottom:o,showProgress:i,pauseOnHover:a}=d,s=(null==e?void 0:e())||document.body;return{getContainer:()=>s,rtl:t,maxCount:n,top:r,bottom:o,showProgress:i,pauseOnHover:a}}let R=r.forwardRef((e,t)=>{let{notificationConfig:n,sync:o}=e,{getPrefixCls:s}=(0,r.useContext)(a.E_),l=d.prefixCls||s("notification"),E=(0,r.useContext)(i.J),[u,T]=(0,c.k)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:l}),E.notification));return r.useEffect(o,[]),r.useImperativeHandle(t,()=>{let e=Object.assign({},u);return Object.keys(e).forEach(t=>{e[t]=function(){return o(),u[t].apply(u,arguments)}}),{instance:e,sync:o}}),T}),A=r.forwardRef((e,t)=>{let[n,o]=r.useState(f),i=()=>{o(f)};r.useEffect(i,[]);let a=(0,s.w6)(),l=a.getRootPrefixCls(),c=a.getIconPrefixCls(),E=a.getTheme(),u=r.createElement(R,{ref:t,sync:i,notificationConfig:n});return r.createElement(s.ZP,{prefixCls:l,iconPrefixCls:c,theme:E},a.holderRender?a.holderRender(u):u)});function S(){if(!E){let e=document.createDocumentFragment(),t={fragment:e};E=t,u(()=>{(0,o.s)(r.createElement(A,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,S())})}}),e)});return}E.instance&&(T.forEach(e=>{switch(e.type){case"open":u(()=>{E.instance.open(Object.assign(Object.assign({},d),e.config))});break;case"destroy":u(()=>{null==E||E.instance.destroy(e.key)})}}),T=[])}function O(e){(0,s.w6)(),T.push({type:"open",config:e}),S()}let p={open:O,destroy:e=>{T.push({type:"destroy",key:e}),S()},config:function(e){d=Object.assign(Object.assign({},d),e),u(()=>{var e;null===(e=null==E?void 0:E.sync)||void 0===e||e.call(E)})},useNotification:c.Z,_InternalPanelDoNotUseOrYouWillBeFired:l.ZP};["success","info","warning","error"].forEach(e=>{p[e]=t=>O(Object.assign(Object.assign({},t),{type:e}))}),t.ZP=p},59135:function(e,t,n){"use strict";n.d(t,{ZP:function(){return p},$e:function(){return R},eh:function(){return S},Rp:function(){return O}});var r=n(47648),o=n(87263),i=n(14747),a=n(87893),s=n(83559),l=e=>{let{componentCls:t,notificationMarginEdge:n,animationMaxHeight:o}=e,i=`${t}-notice`,a=new r.E4("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),s=new r.E4("antNotificationTopFadeIn",{"0%":{top:-o,opacity:0},"100%":{top:0,opacity:1}}),l=new r.E4("antNotificationBottomFadeIn",{"0%":{bottom:e.calc(o).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),c=new r.E4("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[t]:{[`&${t}-top, &${t}-bottom`]:{marginInline:0,[i]:{marginInline:"auto auto"}},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:s}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:l}},[`&${t}-topRight, &${t}-bottomRight`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[i]:{marginInlineEnd:"auto",marginInlineStart:0},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:c}}}}};let c=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],E={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},u=(e,t)=>{let{componentCls:n}=e;return{[`${n}-${t}`]:{[`&${n}-stack > ${n}-notice-wrapper`]:{[t.startsWith("top")?"top":"bottom"]:0,[E[t]]:{value:0,_skip_check_:!0}}}}},T=e=>{let t={};for(let n=1;n ${e.componentCls}-notice`]:{opacity:0,transition:`opacity ${e.motionDurationMid}`}};return Object.assign({[`&:not(:nth-last-child(-n+${e.notificationStackLayer}))`]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},t)},d=e=>{let t={};for(let n=1;n{let{componentCls:t}=e;return Object.assign({[`${t}-stack`]:{[`& > ${t}-notice-wrapper`]:Object.assign({transition:`all ${e.motionDurationSlow}, backdrop-filter 0s`,position:"absolute"},T(e))},[`${t}-stack:not(${t}-stack-expanded)`]:{[`& > ${t}-notice-wrapper`]:Object.assign({},d(e))},[`${t}-stack${t}-stack-expanded`]:{[`& > ${t}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",[`& > ${e.componentCls}-notice`]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:e.margin,width:"100%",insetInline:0,bottom:e.calc(e.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},c.map(t=>u(e,t)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{}))};let R=e=>{let{iconCls:t,componentCls:n,boxShadow:o,fontSizeLG:a,notificationMarginBottom:s,borderRadiusLG:l,colorSuccess:c,colorInfo:E,colorWarning:u,colorError:T,colorTextHeading:d,notificationBg:f,notificationPadding:R,notificationMarginEdge:A,notificationProgressBg:S,notificationProgressHeight:O,fontSize:p,lineHeight:h,width:N,notificationIconSize:I,colorText:m}=e,_=`${n}-notice`;return{position:"relative",marginBottom:s,marginInlineStart:"auto",background:f,borderRadius:l,boxShadow:o,[_]:{padding:R,width:N,maxWidth:`calc(100vw - ${(0,r.bf)(e.calc(A).mul(2).equal())})`,overflow:"hidden",lineHeight:h,wordWrap:"break-word"},[`${_}-message`]:{marginBottom:e.marginXS,color:d,fontSize:a,lineHeight:e.lineHeightLG},[`${_}-description`]:{fontSize:p,color:m},[`${_}-closable ${_}-message`]:{paddingInlineEnd:e.paddingLG},[`${_}-with-icon ${_}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.calc(e.marginSM).add(I).equal(),fontSize:a},[`${_}-with-icon ${_}-description`]:{marginInlineStart:e.calc(e.marginSM).add(I).equal(),fontSize:p},[`${_}-icon`]:{position:"absolute",fontSize:I,lineHeight:1,[`&-success${t}`]:{color:c},[`&-info${t}`]:{color:E},[`&-warning${t}`]:{color:u},[`&-error${t}`]:{color:T}},[`${_}-close`]:Object.assign({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.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},(0,i.Qy)(e)),[`${_}-progress`]:{position:"absolute",display:"block",appearance:"none",WebkitAppearance:"none",inlineSize:`calc(100% - ${(0,r.bf)(l)} * 2)`,left:{_skip_check_:!0,value:l},right:{_skip_check_:!0,value:l},bottom:0,blockSize:O,border:0,"&, &::-webkit-progress-bar":{borderRadius:l,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:S},"&::-webkit-progress-value":{borderRadius:l,background:S}},[`${_}-btn`]:{float:"right",marginTop:e.marginSM}}},A=e=>{let{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:o,motionDurationMid:a,motionEaseInOut:s}=e,l=`${t}-notice`,c=new r.E4("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[t]:Object.assign(Object.assign({},(0,i.Wf)(e)),{position:"fixed",zIndex:e.zIndexPopup,marginRight:{value:o,_skip_check_:!0},[`${t}-hook-holder`]:{position:"relative"},[`${t}-fade-appear-prepare`]:{opacity:"0 !important"},[`${t}-fade-enter, ${t}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:s,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${t}-fade-leave`]:{animationTimingFunction:s,animationFillMode:"both",animationDuration:a,animationPlayState:"paused"},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationPlayState:"running"},[`${t}-fade-leave${t}-fade-leave-active`]:{animationName:c,animationPlayState:"running"},"&-rtl":{direction:"rtl",[`${l}-btn`]:{float:"left"}}})},{[t]:{[`${l}-wrapper`]:Object.assign({},R(e))}}]},S=e=>({zIndexPopup:e.zIndexPopupBase+o.u6+50,width:384}),O=e=>{let t=e.paddingMD,n=e.paddingLG,o=(0,a.IX)(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:`${(0,r.bf)(e.paddingMD)} ${(0,r.bf)(e.paddingContentHorizontalLG)}`,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2,notificationProgressBg:`linear-gradient(90deg, ${e.colorPrimaryBorderHover}, ${e.colorPrimary})`});return o};var p=(0,s.I$)("Notification",e=>{let t=O(e);return[A(t),l(t),f(t)]},S)},48311:function(e,t,n){"use strict";n.d(t,{Z:function(){return O},k:function(){return S}});var r=n(67294),o=n(93967),i=n.n(o),a=n(42999),s=n(27288),l=n(53124),c=n(35792),E=n(25976),u=n(66494),T=n(59135),d=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=e=>{let{children:t,prefixCls:n}=e,o=(0,c.Z)(n),[s,l,E]=(0,T.ZP)(n,o);return s(r.createElement(a.JB,{classNames:{list:i()(l,E,o)}},t))},R=(e,t)=>{let{prefixCls:n,key:o}=t;return r.createElement(f,{prefixCls:n,key:o},e)},A=r.forwardRef((e,t)=>{let{top:n,bottom:o,prefixCls:s,getContainer:c,maxCount:T,rtl:d,onAllRemoved:f,stack:A,duration:S,pauseOnHover:O=!0,showProgress:p}=e,{getPrefixCls:h,getPopupContainer:N,notification:I,direction:m}=(0,r.useContext)(l.E_),[,_]=(0,E.ZP)(),C=s||h("notification"),[g,L]=(0,a.lm)({prefixCls:C,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!=o?o:24),className:()=>i()({[`${C}-rtl`]:null!=d?d:"rtl"===m}),motion:()=>({motionName:`${C}-fade`}),closable:!0,closeIcon:(0,u.z5)(C),duration:null!=S?S:4.5,getContainer:()=>(null==c?void 0:c())||(null==N?void 0:N())||document.body,maxCount:T,pauseOnHover:O,showProgress:p,onAllRemoved:f,renderNotifications:R,stack:!1!==A&&{threshold:"object"==typeof A?null==A?void 0:A.threshold:void 0,offset:8,gap:_.margin}});return r.useImperativeHandle(t,()=>Object.assign(Object.assign({},g),{prefixCls:C,notification:I})),L});function S(e){let t=r.useRef(null);(0,s.ln)("Notification");let n=r.useMemo(()=>{let n=n=>{var o;if(!t.current)return;let{open:a,prefixCls:s,notification:l}=t.current,c=`${s}-notice`,{message:E,description:T,icon:f,type:R,btn:A,className:S,style:O,role:p="alert",closeIcon:h,closable:N}=n,I=d(n,["message","description","icon","type","btn","className","style","role","closeIcon","closable"]),m=(0,u.z5)(c,void 0!==h?h:null==l?void 0:l.closeIcon);return a(Object.assign(Object.assign({placement:null!==(o=null==e?void 0:e.placement)&&void 0!==o?o:"topRight"},I),{content:r.createElement(u.CW,{prefixCls:c,icon:f,type:R,message:E,description:T,btn:A,role:p}),className:i()(R&&`${c}-${R}`,S,null==l?void 0:l.className),style:Object.assign(Object.assign({},null==l?void 0:l.style),O),closeIcon:m,closable:null!=N?N:!!m}))},o={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=>{o[e]=t=>n(Object.assign(Object.assign({},t),{type:e}))}),o},[]);return[n,r.createElement(A,Object.assign({key:"notification-holder"},e,{ref:t}))]}function O(e){return S(e)}},66330:function(e,t,n){"use strict";n.d(t,{aV:function(){return u}});var r=n(67294),o=n(93967),i=n.n(o),a=n(92419),s=n(81643),l=n(53124),c=n(20136),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 u=e=>{let{title:t,content:n,prefixCls:o}=e;return t||n?r.createElement(r.Fragment,null,t&&r.createElement("div",{className:`${o}-title`},t),n&&r.createElement("div",{className:`${o}-inner-content`},n)):null},T=e=>{let{hashId:t,prefixCls:n,className:o,style:l,placement:c="top",title:E,content:T,children:d}=e,f=(0,s.Z)(E),R=(0,s.Z)(T),A=i()(t,n,`${n}-pure`,`${n}-placement-${c}`,o);return r.createElement("div",{className:A,style:l},r.createElement("div",{className:`${n}-arrow`}),r.createElement(a.G,Object.assign({},e,{className:t,prefixCls:n}),d||r.createElement(u,{prefixCls:n,title:f,content:R})))};t.ZP=e=>{let{prefixCls:t,className:n}=e,o=E(e,["prefixCls","className"]),{getPrefixCls:a}=r.useContext(l.E_),s=a("popover",t),[u,d,f]=(0,c.Z)(s);return u(r.createElement(T,Object.assign({},o,{prefixCls:s,hashId:d,className:i()(n,f)})))}},55241:function(e,t,n){"use strict";var r=n(67294),o=n(93967),i=n.n(o),a=n(21770),s=n(15105),l=n(81643),c=n(33603),E=n(96159),u=n(53124),T=n(83062),d=n(66330),f=n(20136),R=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=r.forwardRef((e,t)=>{var n,o;let{prefixCls:A,title:S,content:O,overlayClassName:p,placement:h="top",trigger:N="hover",children:I,mouseEnterDelay:m=.1,mouseLeaveDelay:_=.1,onOpenChange:C,overlayStyle:g={}}=e,L=R(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle"]),{getPrefixCls:v}=r.useContext(u.E_),y=v("popover",A),[P,b,M]=(0,f.Z)(y),D=v(),U=i()(p,b,M),[x,w]=(0,a.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),G=(e,t)=>{w(e,!0),null==C||C(e,t)},F=e=>{e.keyCode===s.Z.ESC&&G(!1,e)},H=(0,l.Z)(S),B=(0,l.Z)(O);return P(r.createElement(T.Z,Object.assign({placement:h,trigger:N,mouseEnterDelay:m,mouseLeaveDelay:_,overlayStyle:g},L,{prefixCls:y,overlayClassName:U,ref:t,open:x,onOpenChange:e=>{G(e)},overlay:H||B?r.createElement(d.aV,{prefixCls:y,title:H,content:B}):null,transitionName:(0,c.m)(D,"zoom-big",L.transitionName),"data-popover-inject":!0}),(0,E.Tm)(I,{onKeyDown:e=>{var t,n;r.isValidElement(I)&&(null===(n=null==I?void 0:(t=I.props).onKeyDown)||void 0===n||n.call(t,e)),F(e)}})))});A._InternalPanelDoNotUseOrYouWillBeFired=d.ZP,t.Z=A},20136:function(e,t,n){"use strict";var r=n(14747),o=n(50438),i=n(97414),a=n(79511),s=n(8796),l=n(83559),c=n(87893);let E=e=>{let{componentCls:t,popoverColor:n,titleMinWidth:o,fontWeightStrong:a,innerPadding:s,boxShadowSecondary:l,colorTextHeading:c,borderRadiusLG:E,zIndexPopup:u,titleMarginBottom:T,colorBgElevated:d,popoverBg:f,titleBorderBottom:R,innerContentPadding:A,titlePadding:S}=e;return[{[t]:Object.assign(Object.assign({},(0,r.Wf)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:"var(--valid-offset-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":d,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:f,backgroundClip:"padding-box",borderRadius:E,boxShadow:l,padding:s},[`${t}-title`]:{minWidth:o,marginBottom:T,color:c,fontWeight:a,borderBottom:R,padding:S},[`${t}-inner-content`]:{color:n,padding:A}})},(0,i.ZP)(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},u=e=>{let{componentCls:t}=e;return{[t]:s.i.map(n=>{let r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}};t.Z=(0,l.I$)("Popover",e=>{let{colorBgElevated:t,colorText:n}=e,r=(0,c.IX)(e,{popoverBg:t,popoverColor:n});return[E(r),u(r),(0,o._y)(r,"zoom-big")]},e=>{let{lineWidth:t,controlHeight:n,fontHeight:r,padding:o,wireframe:s,zIndexPopupBase:l,borderRadiusLG:c,marginXS:E,lineType:u,colorSplit:T,paddingSM:d}=e,f=n-r;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:l+30},(0,a.w)(e)),(0,i.wZ)({contentRadius:c,limitVerticalRadius:!0})),{innerPadding:s?0:12,titleMarginBottom:s?0:E,titlePadding:s?`${f/2}px ${o}px ${f/2-t}px`:0,titleBorderBottom:s?`${t}px ${u} ${T}`:"none",innerContentPadding:s?`${d}px ${o}px`:0})},{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},87564:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(67294),o=n(93967),i=n.n(o),a=n(53124),s=n(98423),l=e=>{let{prefixCls:t,className:n,style:o,size:a,shape:s}=e,l=i()({[`${t}-lg`]:"large"===a,[`${t}-sm`]:"small"===a}),c=i()({[`${t}-circle`]:"circle"===s,[`${t}-square`]:"square"===s,[`${t}-round`]:"round"===s}),E=r.useMemo(()=>"number"==typeof a?{width:a,height:a,lineHeight:`${a}px`}:{},[a]);return r.createElement("span",{className:i()(t,l,c,n),style:Object.assign(Object.assign({},E),o)})},c=n(47648),E=n(83559),u=n(87893);let T=new c.E4("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),d=e=>({height:e,lineHeight:(0,c.bf)(e)}),f=e=>Object.assign({width:e},d(e)),R=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:T,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),A=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},d(e)),S=e=>{let{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},f(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},f(o)),[`${t}${t}-sm`]:Object.assign({},f(i))}},O=e=>{let{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:s}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},A(t,s)),[`${r}-lg`]:Object.assign({},A(o,s)),[`${r}-sm`]:Object.assign({},A(i,s))}},p=e=>Object.assign({width:e},d(e)),h=e=>{let{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o,calc:i}=e;return{[t]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:o},p(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},p(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},N=(e,t,n)=>{let{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},I=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},d(e)),m=e=>{let{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:s}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal()},I(r,s))},N(e,r,n)),{[`${n}-lg`]:Object.assign({},I(o,s))}),N(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},I(i,s))}),N(e,i,`${n}-sm`))},_=e=>{let{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:s,controlHeight:l,controlHeightLG:c,controlHeightSM:E,gradientFromColor:u,padding:T,marginSM:d,borderRadius:A,titleHeight:p,blockRadius:N,paragraphLiHeight:I,controlHeightXS:_,paragraphMarginTop:C}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:T,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:u},f(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},f(c)),[`${n}-sm`]:Object.assign({},f(E))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:p,background:u,borderRadius:N,[`+ ${o}`]:{marginBlockStart:E}},[o]:{padding:0,"> li":{width:"100%",height:I,listStyle:"none",background:u,borderRadius:N,"+ li":{marginBlockStart:_}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:A}}},[`${t}-with-avatar ${t}-content`]:{[r]:{marginBlockStart:d,[`+ ${o}`]:{marginBlockStart:C}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},m(e)),S(e)),O(e)),h(e)),[`${t}${t}-block`]:{width:"100%",[i]:{width:"100%"},[a]:{width:"100%"}},[`${t}${t}-active`]:{[` - ${r}, - ${o} > li, - ${n}, - ${i}, - ${a}, - ${s} - `]:Object.assign({},R(e))}}};var C=(0,E.I$)("Skeleton",e=>{let{componentCls:t,calc:n}=e,r=(0,u.IX)(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[_(r)]},e=>{let{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),g=n(83963),L=n(24753),v=n(30672),y=r.forwardRef(function(e,t){return r.createElement(v.Z,(0,g.Z)({},e,{ref:t,icon:L.Z}))}),P=n(96641);let b=(e,t)=>{let{width:n,rows:r=2}=t;return Array.isArray(n)?n[e]:r-1===e?n:void 0};var M=e=>{let{prefixCls:t,className:n,style:o,rows:a}=e,s=(0,P.Z)(Array(a)).map((t,n)=>r.createElement("li",{key:n,style:{width:b(n,e)}}));return r.createElement("ul",{className:i()(t,n),style:o},s)},D=e=>{let{prefixCls:t,className:n,width:o,style:a}=e;return r.createElement("h3",{className:i()(t,n),style:Object.assign({width:o},a)})};function U(e){return e&&"object"==typeof e?e:{}}let x=e=>{let{prefixCls:t,loading:n,className:o,rootClassName:s,style:c,children:E,avatar:u=!1,title:T=!0,paragraph:d=!0,active:f,round:R}=e,{getPrefixCls:A,direction:S,skeleton:O}=r.useContext(a.E_),p=A("skeleton",t),[h,N,I]=C(p);if(n||!("loading"in e)){let e,t;let n=!!u,a=!!T,E=!!d;if(n){let t=Object.assign(Object.assign({prefixCls:`${p}-avatar`},a&&!E?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),U(u));e=r.createElement("div",{className:`${p}-header`},r.createElement(l,Object.assign({},t)))}if(a||E){let e,o;if(a){let t=Object.assign(Object.assign({prefixCls:`${p}-title`},!n&&E?{width:"38%"}:n&&E?{width:"50%"}:{}),U(T));e=r.createElement(D,Object.assign({},t))}if(E){let e=Object.assign(Object.assign({prefixCls:`${p}-paragraph`},function(e,t){let n={};return e&&t||(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}(n,a)),U(d));o=r.createElement(M,Object.assign({},e))}t=r.createElement("div",{className:`${p}-content`},e,o)}let A=i()(p,{[`${p}-with-avatar`]:n,[`${p}-active`]:f,[`${p}-rtl`]:"rtl"===S,[`${p}-round`]:R},null==O?void 0:O.className,o,s,N,I);return h(r.createElement("div",{className:A,style:Object.assign(Object.assign({},null==O?void 0:O.style),c)},e,t))}return null!=E?E:null};x.Button=e=>{let{prefixCls:t,className:n,rootClassName:o,active:c,block:E=!1,size:u="default"}=e,{getPrefixCls:T}=r.useContext(a.E_),d=T("skeleton",t),[f,R,A]=C(d),S=(0,s.Z)(e,["prefixCls"]),O=i()(d,`${d}-element`,{[`${d}-active`]:c,[`${d}-block`]:E},n,o,R,A);return f(r.createElement("div",{className:O},r.createElement(l,Object.assign({prefixCls:`${d}-button`,size:u},S))))},x.Avatar=e=>{let{prefixCls:t,className:n,rootClassName:o,active:c,shape:E="circle",size:u="default"}=e,{getPrefixCls:T}=r.useContext(a.E_),d=T("skeleton",t),[f,R,A]=C(d),S=(0,s.Z)(e,["prefixCls","className"]),O=i()(d,`${d}-element`,{[`${d}-active`]:c},n,o,R,A);return f(r.createElement("div",{className:O},r.createElement(l,Object.assign({prefixCls:`${d}-avatar`,shape:E,size:u},S))))},x.Input=e=>{let{prefixCls:t,className:n,rootClassName:o,active:c,block:E,size:u="default"}=e,{getPrefixCls:T}=r.useContext(a.E_),d=T("skeleton",t),[f,R,A]=C(d),S=(0,s.Z)(e,["prefixCls"]),O=i()(d,`${d}-element`,{[`${d}-active`]:c,[`${d}-block`]:E},n,o,R,A);return f(r.createElement("div",{className:O},r.createElement(l,Object.assign({prefixCls:`${d}-input`,size:u},S))))},x.Image=e=>{let{prefixCls:t,className:n,rootClassName:o,style:s,active:l}=e,{getPrefixCls:c}=r.useContext(a.E_),E=c("skeleton",t),[u,T,d]=C(E),f=i()(E,`${E}-element`,{[`${E}-active`]:l},n,o,T,d);return u(r.createElement("div",{className:f},r.createElement("div",{className:i()(`${E}-image`,n),style:s},r.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${E}-image-svg`},r.createElement("title",null,"Image placeholder"),r.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:`${E}-image-path`})))))},x.Node=e=>{let{prefixCls:t,className:n,rootClassName:o,style:s,active:l,children:c}=e,{getPrefixCls:E}=r.useContext(a.E_),u=E("skeleton",t),[T,d,f]=C(u),R=i()(u,`${u}-element`,{[`${u}-active`]:l},d,n,o,f),A=null!=c?c:r.createElement(y,null);return T(r.createElement("div",{className:R},r.createElement("div",{className:i()(`${u}-image`,n),style:s},A)))};var w=x},4173:function(e,t,n){"use strict";n.d(t,{BR:function(){return d},ri:function(){return T}});var r=n(67294),o=n(93967),i=n.n(o),a=n(50344),s=n(53124),l=n(98675),c=n(51916),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 u=r.createContext(null),T=(e,t)=>{let n=r.useContext(u),o=r.useMemo(()=>{if(!n)return"";let{compactDirection:r,isFirstItem:o,isLastItem:a}=n,s="vertical"===r?"-vertical-":"-";return i()(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:o,[`${e}-compact${s}last-item`]:a,[`${e}-compact${s}item-rtl`]:"rtl"===t})},[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:o}},d=e=>{let{children:t}=e;return r.createElement(u.Provider,{value:null},t)},f=e=>{var{children:t}=e,n=E(e,["children"]);return r.createElement(u.Provider,{value:n},t)};t.ZP=e=>{let{getPrefixCls:t,direction:n}=r.useContext(s.E_),{size:o,direction:T,block:d,prefixCls:R,className:A,rootClassName:S,children:O}=e,p=E(e,["size","direction","block","prefixCls","className","rootClassName","children"]),h=(0,l.Z)(e=>null!=o?o:e),N=t("space-compact",R),[I,m]=(0,c.Z)(N),_=i()(N,m,{[`${N}-rtl`]:"rtl"===n,[`${N}-block`]:d,[`${N}-vertical`]:"vertical"===T},A,S),C=r.useContext(u),g=(0,a.Z)(O),L=r.useMemo(()=>g.map((e,t)=>{let n=(null==e?void 0:e.key)||`${N}-item-${t}`;return r.createElement(f,{key:n,compactSize:h,compactDirection:T,isFirstItem:0===t&&(!C||(null==C?void 0:C.isFirstItem)),isLastItem:t===g.length-1&&(!C||(null==C?void 0:C.isLastItem))},e)}),[o,g,C]);return 0===g.length?null:I(r.createElement("div",Object.assign({className:_},p),L))}},51916:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(83559),o=n(87893),i=e=>{let{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}};let a=e=>{let{componentCls:t,antCls:n}=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"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},s=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}};var l=(0,r.I$)("Space",e=>{let t=(0,o.IX)(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[a(t),s(t),i(t)]},()=>({}),{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?"> *":"",s=["hover",o?"focus":null,"active"].filter(Boolean).map(e=>`&:${e} ${a}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[s]:{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 a},Wf:function(){return i},dF:function(){return s},du:function(){return c},oN:function(){return E},vS:function(){return o}});var r=n(47648);let o={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},a=()=>({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"}}),s=()=>({"&::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"}}}),c=(e,t,n,r)=>{let o=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:o,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},s={};return!1!==r&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},s),a),{[o]:a})}},E=e=>({outline:`${(0,r.bf)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),u=e=>({"&:focus-visible":Object.assign({},E(e))})},16932:function(e,t,n){"use strict";n.d(t,{J$:function(){return s}});var r=n(47648),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}}),s=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{antCls:n}=e,r=`${n}-fade`,s=t?"&":"";return[(0,o.R)(r,i,a,e.motionDurationMid,t),{[` - ${s}${r}-enter, - ${s}${r}-appear - `]:{opacity:0,animationTimingFunction:"linear"},[`${s}${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],s=a?"&":"";return{[` - ${s}${e}-enter, - ${s}${e}-appear - `]:Object.assign(Object.assign({},r(i)),{animationPlayState:"paused"}),[`${s}${e}-leave`]:Object.assign(Object.assign({},o(i)),{animationPlayState:"paused"}),[` - ${s}${e}-enter${e}-enter-active, - ${s}${e}-appear${e}-appear-active - `]:{animationName:t,animationPlayState:"running"},[`${s}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}}},50438:function(e,t,n){"use strict";n.d(t,{_y:function(){return O},kr:function(){return i}});var r=n(47648),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}}),s=new r.E4("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),l=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%"}}),E=new r.E4("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),u=new r.E4("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),T=new r.E4("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),d=new r.E4("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),f=new r.E4("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),R=new r.E4("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),A=new r.E4("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),S={zoom:{inKeyframes:i,outKeyframes:a},"zoom-big":{inKeyframes:s,outKeyframes:l},"zoom-big-fast":{inKeyframes:s,outKeyframes:l},"zoom-left":{inKeyframes:u,outKeyframes:T},"zoom-right":{inKeyframes:d,outKeyframes:f},"zoom-up":{inKeyframes:c,outKeyframes:E},"zoom-down":{inKeyframes:R,outKeyframes:A}},O=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=S[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}}]}},97414:function(e,t,n){"use strict";n.d(t,{ZP:function(){return s},qN:function(){return i},wZ:function(){return a}});var r=n(47648),o=n(79511);let i=8;function a(e){let{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?i:r}}function s(e,t,n){var i,a,s,l,c,E,u,T;let{componentCls:d,boxShadowPopoverArrow:f,arrowOffsetVertical:R,arrowOffsetHorizontal:A}=e,{arrowDistance:S=0,arrowPlacement:O={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[d]:Object.assign(Object.assign(Object.assign(Object.assign({[`${d}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,o.W)(e,t,f)),{"&:before":{background:t}})]},(i=!!O.top,a={[`&-placement-top > ${d}-arrow,&-placement-topLeft > ${d}-arrow,&-placement-topRight > ${d}-arrow`]:{bottom:S,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${d}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":A,[`> ${d}-arrow`]:{left:{_skip_check_:!0,value:A}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,r.bf)(A)})`,[`> ${d}-arrow`]:{right:{_skip_check_:!0,value:A}}}},i?a:{})),(s=!!O.bottom,l={[`&-placement-bottom > ${d}-arrow,&-placement-bottomLeft > ${d}-arrow,&-placement-bottomRight > ${d}-arrow`]:{top:S,transform:"translateY(-100%)"},[`&-placement-bottom > ${d}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":A,[`> ${d}-arrow`]:{left:{_skip_check_:!0,value:A}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,r.bf)(A)})`,[`> ${d}-arrow`]:{right:{_skip_check_:!0,value:A}}}},s?l:{})),(c=!!O.left,E={[`&-placement-left > ${d}-arrow,&-placement-leftTop > ${d}-arrow,&-placement-leftBottom > ${d}-arrow`]:{right:{_skip_check_:!0,value:S},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:R},[`&-placement-leftBottom > ${d}-arrow`]:{bottom:R}},c?E:{})),(u=!!O.right,T={[`&-placement-right > ${d}-arrow,&-placement-rightTop > ${d}-arrow,&-placement-rightBottom > ${d}-arrow`]:{left:{_skip_check_:!0,value:S},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:R},[`&-placement-rightBottom > ${d}-arrow`]:{bottom:R}},u?T:{}))}}},79511:function(e,t,n){"use strict";n.d(t,{W:function(){return i},w:function(){return o}});var r=n(47648);function o(e){let{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,o=t/2,i=1*r/Math.sqrt(2),a=o-r*(1-1/Math.sqrt(2)),s=o-n*(1/Math.sqrt(2)),l=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),c=r*(Math.sqrt(2)-1),E=`polygon(${c}px 100%, 50% ${c}px, ${2*o-c}px 100%, ${c}px 100%)`,u=`path('M 0 ${o} A ${r} ${r} 0 0 0 ${i} ${a} L ${s} ${l} A ${n} ${n} 0 0 1 ${2*o-s} ${l} L ${2*o-i} ${a} A ${r} ${r} 0 0 0 ${2*o-0} ${o} Z')`;return{arrowShadowWidth:o*Math.sqrt(2)+r*(Math.sqrt(2)-2),arrowPath:u,arrowPolygon:E}}let i=(e,t,n)=>{let{sizePopupArrow:o,arrowPolygon:i,arrowPath:a,arrowShadowWidth:s,borderRadiusXS:l,calc:c}=e;return{pointerEvents:"none",width:o,height:o,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:o,height:c(o).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:s,height:s,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,r.bf)(l)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}}},33083:function(e,t,n){"use strict";n.d(t,{Mj:function(){return c},uH:function(){return s},u_:function(){return l}});var r=n(67294),o=n(47648),i=n(67164),a=n(2790);let s=(0,o.jG)(i.Z),l={token:a.Z,override:{override:a.Z},hashed:!0},c=r.createContext(l)},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 f}});var r=n(65409),o=n(2790),i=n(57),a=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,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}},s=n(372),l=n(69594),c=n(10274);let E=(e,t)=>new c.C(e).setAlpha(t).toRgbString(),u=(e,t)=>{let n=new c.C(e);return n.darken(t).toHexString()},T=e=>{let t=(0,r.R_)(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:E(r,.88),colorTextSecondary:E(r,.65),colorTextTertiary:E(r,.45),colorTextQuaternary:E(r,.25),colorFill:E(r,.15),colorFillSecondary:E(r,.06),colorFillTertiary:E(r,.04),colorFillQuaternary:E(r,.02),colorBgLayout:u(n,4),colorBgContainer:u(n,0),colorBgElevated:u(n,0),colorBgSpotlight:E(r,.85),colorBgBlur:"transparent",colorBorder:u(n,15),colorBorderSecondary:u(n,6)}};function f(e){r.ez.pink=r.ez.magenta,r.Ti.pink=r.Ti.magenta;let t=Object.keys(o.M).map(t=>{let n=e[t]===r.ez[t]?r.Ti[t]:(0,r.R_)(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,i.Z)(e,{generateColorPalettes:T,generateNeutralColorPalettes:d})),(0,l.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,s.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},a(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:s,colorInfo:l,colorPrimary:c,colorBgBase:E,colorTextBase:u}=e,T=n(c),d=n(i),f=n(a),R=n(s),A=n(l),S=o(E,u),O=e.colorLink||e.colorInfo,p=n(O);return Object.assign(Object.assign({},S),{colorPrimaryBg:T[1],colorPrimaryBgHover:T[2],colorPrimaryBorder:T[3],colorPrimaryBorderHover:T[4],colorPrimaryHover:T[5],colorPrimary:T[6],colorPrimaryActive:T[7],colorPrimaryTextHover:T[8],colorPrimaryText:T[9],colorPrimaryTextActive:T[10],colorSuccessBg:d[1],colorSuccessBgHover:d[2],colorSuccessBorder:d[3],colorSuccessBorderHover:d[4],colorSuccessHover:d[4],colorSuccess:d[6],colorSuccessActive:d[7],colorSuccessTextHover:d[8],colorSuccessText:d[9],colorSuccessTextActive:d[10],colorErrorBg:R[1],colorErrorBgHover:R[2],colorErrorBgActive:R[3],colorErrorBorder:R[3],colorErrorBorderHover:R[4],colorErrorHover:R[5],colorError:R[6],colorErrorActive:R[7],colorErrorTextHover:R[8],colorErrorText:R[9],colorErrorTextActive:R[10],colorWarningBg:f[1],colorWarningBgHover:f[2],colorWarningBorder:f[3],colorWarningBorderHover:f[4],colorWarningHover:f[4],colorWarning:f[6],colorWarningActive:f[7],colorWarningTextHover:f[8],colorWarningText:f[9],colorWarningTextActive:f[10],colorInfoBg:A[1],colorInfoBgHover:A[2],colorInfoBorder:A[3],colorInfoBorderHover:A[4],colorInfoHover:A[4],colorInfo:A[6],colorInfoActive:A[7],colorInfoTextHover:A[8],colorInfoText:A[9],colorInfoTextActive:A[10],colorLinkHover:p[4],colorLink:p[6],colorLinkActive:p[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}}},69594:function(e,t,n){"use strict";var r=n(51734);t.Z=e=>{let t=(0,r.Z)(e),n=t.map(e=>e.size),o=t.map(e=>e.lineHeight),i=n[1],a=n[0],s=n[2],l=o[1],c=o[0],E=o[2];return{fontSizeSM:a,fontSize:i,fontSizeLG:s,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:l,lineHeightLG:E,lineHeightSM:c,fontHeight:Math.round(l*i),fontHeightLG:Math.round(E*s),fontHeightSM:Math.round(c*a),lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}}},51734:function(e,t,n){"use strict";function r(e){return(e+8)/e}function o(e){let t=Array(10).fill(null).map((t,n)=>{let r=e*Math.pow(Math.E,(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:r(e)}))}n.d(t,{D:function(){return r},Z:function(){return o}})},25976:function(e,t,n){"use strict";n.d(t,{ZP:function(){return d},NJ:function(){return c}});var r=n(67294),o=n(47648),i=n(33083),a=n(2790),s=n(1393),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};let c={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},E={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},u={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},T=(e,t,n)=>{let r=n.getDerivativeToken(e),{override:o}=t,i=l(t,["override"]),a=Object.assign(Object.assign({},r),{override:o});return a=(0,s.Z)(a),i&&Object.entries(i).forEach(e=>{let[t,n]=e,{theme:r}=n,o=l(n,["theme"]),i=o;r&&(i=T(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i}),a};function d(){let{token:e,hashed:t,theme:n,override:l,cssVar:d}=r.useContext(i.Mj),f=`5.20.2-${t||""}`,R=n||i.uH,[A,S,O]=(0,o.fp)(R,[a.Z,e],{salt:f,override:l,getComputedToken:T,formatToken:s.Z,cssVar:d&&{prefix:d.prefix,key:d.key,unitless:c,ignore:E,preserve:u}});return[R,O,t?S:"",A,d]}},1393:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});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:s}=new r.C(e).toRgb();if(s<1)return e;let{r:l,g:c,b:E}=new r.C(t).toRgb();for(let e=.01;e<=1;e+=.01){let t=Math.round((n-l*(1-e))/e),s=Math.round((o-c*(1-e))/e),u=Math.round((a-E*(1-e))/e);if(i(t)&&i(s)&&i(u))return new r.C({r:t,g:s,b:u,a:Math.round(100*e)/100}).toRgbString()}return new r.C({r:n,g:o,b:a,a:1}).toRgbString()},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};function l(e){let{override:t}=e,n=s(e,["override"]),i=Object.assign({},t);Object.keys(o.Z).forEach(e=>{delete i[e]});let l=Object.assign(Object.assign({},n),i);!1===l.motion&&(l.motionDurationFast="0s",l.motionDurationMid="0s",l.motionDurationSlow="0s");let c=Object.assign(Object.assign(Object.assign({},l),{colorFillContent:l.colorFillSecondary,colorFillContentHover:l.colorFill,colorFillAlter:l.colorFillQuaternary,colorBgContainerDisabled:l.colorFillTertiary,colorBorderBg:l.colorBgContainer,colorSplit:a(l.colorBorderSecondary,l.colorBgContainer),colorTextPlaceholder:l.colorTextQuaternary,colorTextDisabled:l.colorTextQuaternary,colorTextHeading:l.colorText,colorTextLabel:l.colorTextSecondary,colorTextDescription:l.colorTextTertiary,colorTextLightSolid:l.colorWhite,colorHighlight:l.colorError,colorBgTextHover:l.colorFillSecondary,colorBgTextActive:l.colorFill,colorIcon:l.colorTextTertiary,colorIconHover:l.colorText,colorErrorOutline:a(l.colorErrorBg,l.colorBgContainer),colorWarningOutline:a(l.colorWarningBg,l.colorBgContainer),fontSizeIcon:l.fontSizeSM,lineWidthFocus:4*l.lineWidth,lineWidth:l.lineWidth,controlOutlineWidth:2*l.lineWidth,controlInteractiveSize:l.controlHeight/2,controlItemBgHover:l.colorFillTertiary,controlItemBgActive:l.colorPrimaryBg,controlItemBgActiveHover:l.colorPrimaryBgHover,controlItemBgActiveDisabled:l.colorFill,controlTmpOutline:l.colorFillQuaternary,controlOutline:a(l.colorPrimaryBg,l.colorBgContainer),lineType:l.lineType,borderRadius:l.borderRadius,borderRadiusXS:l.borderRadiusXS,borderRadiusSM:l.borderRadiusSM,borderRadiusLG:l.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:l.sizeXXS,paddingXS:l.sizeXS,paddingSM:l.sizeSM,padding:l.size,paddingMD:l.sizeMD,paddingLG:l.sizeLG,paddingXL:l.sizeXL,paddingContentHorizontalLG:l.sizeLG,paddingContentVerticalLG:l.sizeMS,paddingContentHorizontal:l.sizeMS,paddingContentVertical:l.sizeSM,paddingContentHorizontalSM:l.size,paddingContentVerticalSM:l.sizeXS,marginXXS:l.sizeXXS,marginXS:l.sizeXS,marginSM:l.sizeSM,margin:l.size,marginMD:l.sizeMD,marginLG:l.sizeLG,marginXL:l.sizeXL,marginXXL:l.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}},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`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:s}))},{})}},83559:function(e,t,n){"use strict";n.d(t,{A1:function(){return E},I$:function(){return c},bk:function(){return u}});var r=n(67294),o=n(87893),i=n(53124),a=n(14747),s=n(25976),l=n(53269);let{genStyleHooks:c,genComponentStyleHook:E,genSubStyleComponent:u}=(0,o.rb)({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:t}=(0,r.useContext)(i.E_),n=e();return{rootPrefixCls:n,iconPrefixCls:t}},useToken:()=>{let[e,t,n,r,o]=(0,s.ZP)();return{theme:e,realToken:t,hashId:n,token:r,cssVar:o}},useCSP:()=>{let{csp:e,iconPrefixCls:t}=(0,r.useContext)(i.E_);return(0,l.Z)(t,e),null!=e?e:{}},getResetStyles:e=>[{"&":(0,a.Lx)(e)}],getCommonStyle:a.du,getCompUnitless:()=>s.NJ})},53269:function(e,t,n){"use strict";var r=n(47648),o=n(14747),i=n(25976);t.Z=(e,t)=>{let[n,a]=(0,i.ZP)();return(0,r.xy)({theme:n,token:a,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce,layer:{name:"antd"}},()=>[{[`.${e}`]:Object.assign(Object.assign({},(0,o.Ro)()),{[`.${e} .${e}-icon`]:{display:"block"}})}])}},42115:function(e,t){"use strict";t.Z={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},83062:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(67294),o=n(93967),i=n.n(o),a=n(92419),s=n(21770),l=n(89942),c=n(87263),E=n(33603),u=n(80636),T=n(96159),d=n(27288),f=n(43945),R=n(53124),A=n(25976),S=n(47648),O=n(14747),p=n(50438),h=n(97414),N=n(79511),I=n(98719),m=n(87893),_=n(83559);let C=e=>{let{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:o,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:s,boxShadowSecondary:l,paddingSM:c,paddingXS:E}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,O.Wf)(e)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:n,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:"var(--valid-offset-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${t}-inner`]:{minWidth:"1em",minHeight:s,padding:`${(0,S.bf)(e.calc(c).div(2).equal())} ${(0,S.bf)(E)}`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:i,boxShadow:l,boxSizing:"border-box"},"&-placement-left,&-placement-leftTop,&-placement-leftBottom,&-placement-right,&-placement-rightTop,&-placement-rightBottom":{[`${t}-inner`]:{borderRadius:e.min(i,h.qN)}},[`${t}-content`]:{position:"relative"}}),(0,I.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,h.ZP)(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},g=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},(0,h.wZ)({contentRadius:e.borderRadius,limitVerticalRadius:!0})),(0,N.w)((0,m.IX)(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)})));var L=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=(0,_.I$)("Tooltip",e=>{let{borderRadius:t,colorTextLightSolid:n,colorBgSpotlight:r}=e,o=(0,m.IX)(e,{tooltipMaxWidth:250,tooltipColor:n,tooltipBorderRadius:t,tooltipBg:r});return[C(o),(0,p._y)(e,"zoom-big-fast")]},g,{resetStyle:!1,injectStyle:t});return n(e)},v=n(98787);function y(e,t){let n=(0,v.o2)(t),r=i()({[`${e}-${t}`]:t&&n}),o={},a={};return t&&!n&&(o.background=t,a["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:a}}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 b=r.forwardRef((e,t)=>{var n,o;let{prefixCls:S,openClassName:O,getTooltipContainer:p,overlayClassName:h,color:N,overlayInnerStyle:I,children:m,afterOpenChange:_,afterVisibleChange:C,destroyTooltipOnHide:g,arrow:v=!0,title:b,overlay:M,builtinPlacements:D,arrowPointAtCenter:U=!1,autoAdjustOverflow:x=!0}=e,w=!!v,[,G]=(0,A.ZP)(),{getPopupContainer:F,getPrefixCls:H,direction:B}=r.useContext(R.E_),Y=(0,d.ln)("Tooltip"),k=r.useRef(null),V=()=>{var e;null===(e=k.current)||void 0===e||e.forceAlign()};r.useImperativeHandle(t,()=>{var e;return{forceAlign:V,forcePopupAlign:()=>{Y.deprecated(!1,"forcePopupAlign","forceAlign"),V()},nativeElement:null===(e=k.current)||void 0===e?void 0:e.nativeElement}});let[$,W]=(0,s.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),Z=!b&&!M&&0!==b,j=r.useMemo(()=>{var e,t;let n=U;return"object"==typeof v&&(n=null!==(t=null!==(e=v.pointAtCenter)&&void 0!==e?e:v.arrowPointAtCenter)&&void 0!==t?t:U),D||(0,u.Z)({arrowPointAtCenter:n,autoAdjustOverflow:x,arrowWidth:w?G.sizePopupArrow:0,borderRadius:G.borderRadius,offset:G.marginXXS,visibleFirst:!0})},[U,v,D,G]),X=r.useMemo(()=>0===b?b:M||b||"",[M,b]),K=r.createElement(l.Z,{space:!0},"function"==typeof X?X():X),{getPopupContainer:z,placement:q="top",mouseEnterDelay:J=.1,mouseLeaveDelay:Q=.1,overlayStyle:ee,rootClassName:et}=e,en=P(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),er=H("tooltip",S),eo=H(),ei=e["data-popover-inject"],ea=$;"open"in e||"visible"in e||!Z||(ea=!1);let es=r.isValidElement(m)&&!(0,T.M2)(m)?m:r.createElement("span",null,m),el=es.props,ec=el.className&&"string"!=typeof el.className?el.className:i()(el.className,O||`${er}-open`),[eE,eu,eT]=L(er,!ei),ed=y(er,N),ef=ed.arrowStyle,eR=Object.assign(Object.assign({},I),ed.overlayStyle),eA=i()(h,{[`${er}-rtl`]:"rtl"===B},ed.className,et,eu,eT),[eS,eO]=(0,c.Cn)("Tooltip",en.zIndex),ep=r.createElement(a.Z,Object.assign({},en,{zIndex:eS,showArrow:w,placement:q,mouseEnterDelay:J,mouseLeaveDelay:Q,prefixCls:er,overlayClassName:eA,overlayStyle:Object.assign(Object.assign({},ef),ee),getTooltipContainer:z||p||F,ref:k,builtinPlacements:j,overlay:K,visible:ea,onVisibleChange:t=>{var n,r;W(!Z&&t),Z||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},afterVisibleChange:null!=_?_:C,overlayInnerStyle:eR,arrowContent:r.createElement("span",{className:`${er}-arrow-content`}),motion:{motionName:(0,E.m)(eo,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!g}),ea?(0,T.Tm)(es,{className:ec}):es);return eE(r.createElement(f.Z.Provider,{value:eO},ep))});b._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,className:n,placement:o="top",title:s,color:l,overlayInnerStyle:c}=e,{getPrefixCls:E}=r.useContext(R.E_),u=E("tooltip",t),[T,d,f]=L(u),A=y(u,l),S=A.arrowStyle,O=Object.assign(Object.assign({},c),A.overlayStyle),p=i()(d,f,u,`${u}-pure`,`${u}-placement-${o}`,n,A.className);return T(r.createElement("div",{className:p,style:S},r.createElement("div",{className:`${u}-arrow`}),r.createElement(a.G,Object.assign({},e,{className:d,prefixCls:u,overlayInnerStyle:O}),s)))};var M=b},16569:function(e,t,n){"use strict";n.d(t,{H:function(){return s}});var r=n(67294),o=n(56790);function i(){}let a=r.createContext({add:i,remove:i});function s(e){let t=r.useContext(a),n=r.useRef(),i=(0,o.zX)(r=>{if(r){let o=e?r.querySelector(e):r;t.add(o),n.current=o}else t.remove(n.current)});return i}},1028:function(e,t,n){"use strict";var r=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(25633));t.default=o.default},80037:function(e,t,n){"use strict";var r=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(5584));t.default=o.default},25633:function(e,t,n){"use strict";var r=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(61434)),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(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(53457)),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(85269).default;t.Z=void 0;var o=r(n(62273)),i=r(n(1028)),a=r(n(25633)),s=r(n(52040));let l="${label} is not a valid ${type}",c={locale:"en",Pagination:o.default,DatePicker:a.default,TimePicker:s.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",deselectAll:"Deselect 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",collapse:"Collapse"},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:l,method:l,array:l,object:l,number:l,date:l,boolean:l,integer:l,float:l,regexp:l,email:l,url:l,hex:l},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",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};t.Z=c},82925:function(e,t,n){"use strict";var r=n(85269).default;t.Z=void 0;var o=r(n(74219)),i=r(n(80037)),a=r(n(5584)),s=r(n(15704));let l="${label}不是一个有效的${type}",c={locale:"zh-cn",Pagination:o.default,DatePicker:a.default,TimePicker:s.default,Calendar:i.default,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",emptyText:"暂无数据",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:"全选所有",deselectAll:"取消全选",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开",collapse:"收起"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:l,method:l,array:l,object:l,number:l,date:l,boolean:l,integer:l,float:l,regexp:l,email:l,url:l,hex:l},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:"点击刷新",scanned:"已扫描"},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:"渐变色"}};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:["开始时间","结束时间"]}},65409:function(e,t,n){"use strict";n.d(t,{iN:function(){return N},R_:function(){return u},EV:function(){return A},Ti:function(){return g},ez:function(){return T}});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 s(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.vq)(t,n,o,!1))}function l(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 E(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function u(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.uA)(e),u=5;u>0;u-=1){var T=a(r),d=s((0,o.uA)({h:l(T,u,!0),s:c(T,u,!0),v:E(T,u,!0)}));n.push(d)}n.push(s(r));for(var f=1;f<=4;f+=1){var R=a(r),A=s((0,o.uA)({h:l(R,f),s:c(R,f),v:E(R,f)}));n.push(A)}return"dark"===t.theme?i.map(function(e){var r,i,a,l=e.index,c=e.opacity;return s((r=(0,o.uA)(t.backgroundColor||"#141414"),i=(0,o.uA)(n[l]),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 T={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"},d=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];d.primary=d[5];var f=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];f.primary=f[5];var R=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];R.primary=R[5];var A=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];A.primary=A[5];var S=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];S.primary=S[5];var O=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];O.primary=O[5];var p=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];p.primary=p[5];var h=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];h.primary=h[5];var N=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];N.primary=N[5];var I=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];I.primary=I[5];var m=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];m.primary=m[5];var _=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];_.primary=_[5];var C=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];C.primary=C[5];var g={red:d,volcano:f,orange:R,gold:A,yellow:S,lime:O,green:p,cyan:h,blue:N,geekblue:I,purple:m,magenta:_,grey:C},L=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];L.primary=L[5];var v=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];v.primary=v[5];var y=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];y.primary=y[5];var P=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];P.primary=P[5];var b=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];b.primary=b[5];var M=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];M.primary=M[5];var D=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];D.primary=D[5];var U=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];U.primary=U[5];var x=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];x.primary=x[5];var w=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];w.primary=w[5];var G=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];G.primary=G[5];var F=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];F.primary=F[5];var H=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];H.primary=H[5]},47648:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach(function(e){if(o){var t;o=null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.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=l(e,2)[1];return r.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),y+=1}return p(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce(function(t,n){return n(e,t)},void 0)}}]),e}(),b=new L;function M(e){var t=Array.isArray(e)?e:[e];return b.has(t)||b.set(t,new P(t)),b.get(t)}var D=new WeakMap,U={},x=new WeakMap;function w(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=x.get(e)||"";return n||(Object.keys(e).forEach(function(o){var i=e[o];n+=o,i instanceof P?n+=i.id:i&&"object"===r(i)?n+=w(i,t):n+=i}),t&&(n=(0,d.Z)(n)),x.set(e,n)),n}function G(e,t){return(0,d.Z)("".concat(t,"_").concat(w(e,!0)))}"random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var F=(0,g.Z)();function H(e){return"number"==typeof e?"".concat(e,"px"):e}function B(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(o)return e;var a=u(u({},r),{},i(i({},I,t),m,n)),s=Object.keys(a).map(function(e){var t=a[e];return t?"".concat(e,'="').concat(t,'"'):null}).filter(function(e){return e}).join(" ");return"")}var Y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},k=function(e,t,n){var r,o={},i={};return Object.entries(e).forEach(function(e){var t=l(e,2),r=t[0],a=t[1];if(null!=n&&null!==(s=n.preserve)&&void 0!==s&&s[r])i[r]=a;else if(("string"==typeof a||"number"==typeof a)&&!(null!=n&&null!==(c=n.ignore)&&void 0!==c&&c[r])){var s,c,E,u=Y(r,null==n?void 0:n.prefix);o[u]="number"!=typeof a||null!=n&&null!==(E=n.unitless)&&void 0!==E&&E[r]?String(a):"".concat(a,"px"),i[r]="var(".concat(u,")")}}),[i,(r={scope:null==n?void 0:n.scope},Object.keys(o).length?".".concat(t).concat(null!=r&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(o).map(function(e){var t=l(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")}).join(""),"}"):"")]},V=n(8410),$=u({},A).useInsertionEffect,W=$?function(e,t,n){return $(function(){return e(),t()},n)}:function(e,t,n){R.useMemo(e,n),(0,V.Z)(function(){return t(!0)},n)},Z=void 0!==u({},A).useInsertionEffect?function(e){var t=[],n=!1;return R.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 j(e,t,n,r,o){var i=R.useContext(C).cache,a=h([e].concat(c(t))),s=Z([a]),E=function(e){i.opUpdate(a,function(t){var r=l(t||[void 0,void 0],2),o=r[0],i=[void 0===o?0:o,r[1]||n()];return e?e(i):i})};R.useMemo(function(){E()},[a]);var u=i.opGet(a)[1];return W(function(){null==o||o(u)},function(e){return E(function(t){var n=l(t,2),r=n[0],i=n[1];return e&&0===r&&(null==o||o(u)),[r+1,i]}),function(){i.opUpdate(a,function(t){var n=l(t||[],2),o=n[0],c=void 0===o?0:o,E=n[1];return 0==c-1?(s(function(){(e||!i.opGet(a))&&(null==r||r(E,!1))}),null):[c-1,E]})}},[a]),u}var X={},K=new Map,z=function(e,t,n,r){var o=u(u({},n.getDerivativeToken(e)),t);return r&&(o=r(o)),o},q="token";function J(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,R.useContext)(C),o=r.cache.instanceId,i=r.container,a=n.salt,s=void 0===a?"":a,E=n.override,T=void 0===E?X:E,A=n.formatToken,S=n.getComputedToken,O=n.cssVar,p=function(e,t){for(var n=D,r=0;r=(K.get(e)||0)}),n.length-r.length>0&&r.forEach(function(e){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(I,'="').concat(e,'"]')).forEach(function(e){if(e[_]===o){var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)}}),K.delete(e)})},function(e){var t=l(e,4),n=t[0],r=t[3];if(O&&r){var a=(0,f.hq)(r,(0,d.Z)("css-variables-".concat(n._themeKey)),{mark:m,prepend:"queue",attachTo:i,priority:-999});a[_]=o,a.setAttribute(I,n._themeKey)}})}function Q(){return(Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?d[O]+" "+p:ea(p,/&\f/g,d[O])).trim())&&(l[S++]=h);return ep(e,t,n,0===o?en:s,l,c,E,u)}function eC(e,t,n,r,o){return ep(e,t,n,er,el(e,0,r),el(e,r+1,-1),r,o)}var eg="data-ant-cssinjs-cache-path",eL="_FILE_STYLE__",ev=!0,ey="_multi_value_";function eP(e){var t,n,r;return eu((r=function e(t,n,r,o,i,a,s,l,c){for(var E,u,T,d=0,f=0,R=s,A=0,S=0,O=0,p=1,h=1,N=1,I=0,m="",_=i,C=a,g=o,L=m;h;)switch(O=I,I=eh()){case 40:if(108!=O&&58==es(L,R-1)){-1!=(u=L+=ea(em(I),"&","&\f"),T=eo(d?l[d-1]:0),u.indexOf("&\f",T))&&(N=-1);break}case 34:case 39:case 91:L+=em(I);break;case 9:case 10:case 13:case 32:L+=function(e){for(;eS=eN();)if(eS<33)eh();else break;return eI(e)>2||eI(eS)>3?"":" "}(O);break;case 92:L+=function(e,t){for(var n;--t&&eh()&&!(eS<48)&&!(eS>102)&&(!(eS>57)||!(eS<65))&&(!(eS>70)||!(eS<97)););return n=eA+(t<6&&32==eN()&&32==eh()),el(eO,e,n)}(eA-1,7);continue;case 47:switch(eN()){case 42:case 47:eE(ep(E=function(e,t){for(;eh();)if(e+eS===57)break;else if(e+eS===84&&47===eN())break;return"/*"+el(eO,t,eA-1)+"*"+ei(47===e?e:eh())}(eh(),eA),n,r,et,ei(eS),el(E,2,-2),0,c),c);break;default:L+="/"}break;case 123*p:l[d++]=ec(L)*N;case 125*p:case 59:case 0:switch(I){case 0:case 125:h=0;case 59+f:-1==N&&(L=ea(L,/\f/g,"")),S>0&&ec(L)-R&&eE(S>32?eC(L+";",o,r,R-1,c):eC(ea(L," ","")+";",o,r,R-2,c),c);break;case 59:L+=";";default:if(eE(g=e_(L,n,r,d,f,i,l,m,_=[],C=[],R,a),a),123===I){if(0===f)e(L,n,g,g,_,a,R,l,C);else switch(99===A&&110===es(L,3)?100:A){case 100:case 108:case 109:case 115:e(t,g,g,o&&eE(e_(t,g,g,0,0,i,l,m,i,_=[],R,C),C),i,C,R,l,o?_:C);break;default:e(L,g,g,g,[""],C,0,l,C)}}}d=f=S=0,p=N=1,m=L="",R=s;break;case 58:R=1+ec(L),S=O;default:if(p<1){if(123==I)--p;else if(125==I&&0==p++&&125==(eS=eA>0?es(eO,--eA):0,ef--,10===eS&&(ef=1,ed--),eS))continue}switch(L+=ei(I),I*p){case 38:N=f>0?1:(L+="\f",-1);break;case 44:l[d++]=(ec(L)-1)*N,N=1;break;case 64:45===eN()&&(L+=em(eh())),A=eN(),f=R=ec(m=L+=function(e){for(;!eI(eN());)eh();return el(eO,e,eA)}(eA)),I++;break;case 45:45===O&&2==ec(L)&&(p=0)}}return a}("",null,null,null,[""],(n=t=e,ed=ef=1,eR=ec(eO=n),eA=0,t=[]),0,[0],t),eO="",r),eT).replace(/\{%%%\:[^;];}/g,";")}var eb=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},i=o.root,a=o.injectHash,s=o.parentSelectors,E=n.hashId,T=n.layer,d=(n.path,n.hashPriority),f=n.transformers,R=void 0===f?[]:f;n.linters;var A="",S={};function O(t){var r=t.getName(E);if(!S[r]){var o=e(t.style,n,{root:!1,parentSelectors:s}),i=l(o,1)[0];S[r]="@keyframes ".concat(t.getName(E)).concat(i)}}return(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 o="string"!=typeof t||i?t:{};if("string"==typeof o)A+="".concat(o,"\n");else if(o._keyframe)O(o);else{var T=R.reduce(function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e},o);Object.keys(T).forEach(function(t){var o=T[t];if("object"!==r(o)||!o||"animationName"===t&&o._keyframe||"object"===r(o)&&o&&("_skip_check_"in o||ey in o)){function f(e,t){var n=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),r=t;ee.Z[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(O(t),r=t.getName(E)),A+="".concat(n,":").concat(r,";")}var R,p=null!==(R=null==o?void 0:o.value)&&void 0!==R?R:o;"object"===r(o)&&null!=o&&o[ey]&&Array.isArray(p)?p.forEach(function(e){f(t,e)}):f(t,p)}else{var h=!1,N=t.trim(),I=!1;(i||a)&&E?N.startsWith("@")?h=!0:N=function(e,t,n){if(!t)return e;var r=".".concat(t),o="low"===n?":where(".concat(r,")"):r;return e.split(",").map(function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",i=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(i).concat(o).concat(r.slice(i.length))].concat(c(n.slice(1))).join(" ")}).join(",")}(t,E,d):i&&!E&&("&"===N||""===N)&&(N="",I=!0);var m=e(o,n,{root:I,injectHash:h,parentSelectors:[].concat(c(s),[N])}),_=l(m,2),C=_[0],g=_[1];S=u(u({},S),g),A+="".concat(N).concat(C)}})}}),i?T&&(A="@layer ".concat(T.name," {").concat(A,"}"),T.dependencies&&(S["@layer ".concat(T.name)]=T.dependencies.map(function(e){return"@layer ".concat(e,", ").concat(T.name,";")}).join("\n"))):A="{".concat(A,"}"),[A,S]};function eM(){return null}var eD="style";function eU(e,t){var n=e.token,r=e.path,o=e.hashId,a=e.layer,s=e.nonce,E=e.clientOnly,A=e.order,S=void 0===A?0:A,O=R.useContext(C),p=O.autoClear,h=(O.mock,O.defaultCache),N=O.hashPriority,L=O.container,v=O.ssrInline,y=O.transformers,P=O.linters,b=O.cache,M=O.layer,D=n._tokenKey,U=[D];M&&U.push("layer"),U.push.apply(U,c(r));var x=j(eD,U,function(){var e=U.join("|");if(!function(){if(!T&&(T={},(0,g.Z)())){var e,t=document.createElement("div");t.className=eg,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=l(e.split(":"),2),n=t[0],r=t[1];T[n]=r});var r=document.querySelector("style[".concat(eg,"]"));r&&(ev=!1,null===(e=r.parentNode)||void 0===e||e.removeChild(r)),document.body.removeChild(t)}}(),T[e]){var n=l(function(e){var t=T[e],n=null;if(t&&(0,g.Z)()){if(ev)n=eL;else{var r=document.querySelector("style[".concat(m,'="').concat(T[e],'"]'));r?n=r.innerHTML:delete T[e]}}return[n,t]}(e),2),i=n[0],s=n[1];if(i)return[i,D,s,{},E,S]}var c=eb(t(),{hashId:o,hashPriority:N,layer:M?a:void 0,path:r.join("-"),transformers:y,linters:P}),u=l(c,2),f=u[0],R=u[1],A=eP(f),O=(0,d.Z)("".concat(U.join("%")).concat(A));return[A,D,O,R,E,S]},function(e,t){var n=l(e,3)[2];(t||p)&&F&&(0,f.jL)(n,{mark:m})},function(e){var t=l(e,4),n=t[0],r=(t[1],t[2]),o=t[3];if(F&&n!==eL){var i={mark:m,prepend:!M&&"queue",attachTo:L,priority:S},a="function"==typeof s?s():s;a&&(i.csp={nonce:a});var c=[],E=[];Object.keys(o).forEach(function(e){e.startsWith("@layer")?c.push(e):E.push(e)}),c.forEach(function(e){(0,f.hq)(eP(o[e]),"_layer-".concat(e),u(u({},i),{},{prepend:!0}))});var T=(0,f.hq)(n,r,i);T[_]=b.instanceId,T.setAttribute(I,D),E.forEach(function(e){(0,f.hq)(eP(o[e]),"_effect-".concat(e),i)})}}),w=l(x,3),G=w[0],H=w[1],B=w[2];return function(e){var t;return t=v&&!F&&h?R.createElement("style",Q({},i(i({},I,H),m,B),{dangerouslySetInnerHTML:{__html:G}})):R.createElement(eM,null),R.createElement(R.Fragment,null,t,e)}}i(i(i({},eD,function(e,t,n){var r=l(e,6),o=r[0],i=r[1],a=r[2],s=r[3],c=r[4],E=r[5],u=(n||{}).plain;if(c)return null;var T=o,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(E)};return T=B(o,i,a,d,u),s&&Object.keys(s).forEach(function(e){if(!t[e]){t[e]=!0;var n=B(eP(s[e]),i,"_effect-".concat(e),d,u);e.startsWith("@layer")?T=n+T:T+=n}}),[E,a,T]}),q,function(e,t,n){var r=l(e,5),o=r[2],i=r[3],a=r[4],s=(n||{}).plain;if(!i)return null;var c=o._tokenKey,E=B(i,a,c,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},s);return[-999,c,E]}),"cssVar",function(e,t,n){var r=l(e,4),o=r[1],i=r[2],a=r[3],s=(n||{}).plain;if(!o)return null;var c=B(o,a,i,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},s);return[-999,i,c]});var ex=function(){function e(t,n){S(this,e),i(this,"name",void 0),i(this,"style",void 0),i(this,"_keyframe",!0),this.name=t,this.style=n}return p(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 ew(e){return e.notSplit=!0,e}ew(["borderTop","borderBottom"]),ew(["borderTop"]),ew(["borderBottom"]),ew(["borderLeft","borderRight"]),ew(["borderLeft"]),ew(["borderRight"])},30672:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(83963),o=n(94394);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||(0,o.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var a=n(43655);function s(e,t,n){return(t=(0,a.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=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 O(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 p(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function h(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,d.uA)(e),o=5;o>0;o-=1){var i=R(r),a=A((0,d.uA)({h:S(i,o,!0),s:O(i,o,!0),v:p(i,o,!0)}));n.push(a)}n.push(A(r));for(var s=1;s<=4;s+=1){var l=R(r),c=A((0,d.uA)({h:S(l,s),s:O(l,s),v:p(l,s)}));n.push(c)}return"dark"===t.theme?f.map(function(e){var r,o,i,a=e.index,s=e.opacity;return A((r=(0,d.uA)(t.backgroundColor||"#141414"),o=(0,d.uA)(n[a]),i=100*s/100,{r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b}))}):n}var N={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"},I={},m={};Object.keys(N).forEach(function(e){I[e]=h(N[e]),I[e].primary=I[e][5],m[e]=h(N[e],{theme:"dark",backgroundColor:"#141414"}),m[e].primary=m[e][5]}),I.red,I.volcano,I.gold,I.orange,I.yellow,I.lime,I.green,I.cyan;var _=I.blue;I.geekblue,I.purple,I.magenta,I.grey,I.grey;var C=n(54775);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function L(e){for(var t=1;t0&&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 U(e){return e?Array.isArray(e)?e:[e]:[]}var x=function(e){var t=(0,c.useContext)(C.Z),n=t.csp,r=t.prefixCls,o="\n.anticon {\n display: inline-flex;\n align-items: center;\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,P.A)(t);(0,y.hq)(o,"@ant-design-icons",{prepend:!0,csp:n,attachTo:r})},[])},w=["icon","className","onClick","style","primaryColor","secondaryColor"],G={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},F=function(e){var t,n,r=e.icon,o=e.className,i=e.onClick,a=e.style,s=e.primaryColor,E=e.secondaryColor,u=l(e,w),T=c.useRef(),d=G;if(s&&(d={primaryColor:s,secondaryColor:E||h(s)[0]}),x(T),t=M(r),n="icon should be icon definiton, but got ".concat(r),(0,b.ZP)(t,"[@ant-design/icons] ".concat(n)),!M(r))return null;var f=r;return f&&"function"==typeof f.icon&&(f=L(L({},f),{},{icon:f.icon(d.primaryColor,d.secondaryColor)})),function e(t,n,r){return r?c.createElement(t.tag,L(L({key:n},D(t.attrs)),r),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))})):c.createElement(t.tag,L({key:n},D(t.attrs)),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))}))}(f.icon,"svg-".concat(f.name),L(L({className:o,onClick:i,style:a,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},u),{},{ref:T}))};function H(e){var t=i(U(e),2),n=t[0],r=t[1];return F.setTwoToneColors({primaryColor:n,secondaryColor:r})}F.displayName="IconReact",F.getTwoToneColors=function(){return L({},G)},F.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;G.primaryColor=t,G.secondaryColor=n||h(t)[0],G.calculated=!!n};var B=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];H(_.primary);var Y=c.forwardRef(function(e,t){var n=e.className,o=e.icon,a=e.spin,E=e.rotate,T=e.tabIndex,d=e.onClick,f=e.twoToneColor,R=l(e,B),A=c.useContext(C.Z),S=A.prefixCls,O=void 0===S?"anticon":S,p=A.rootClassName,h=u()(p,O,s(s({},"".concat(O,"-").concat(o.name),!!o.name),"".concat(O,"-spin"),!!a||"loading"===o.name),n),N=T;void 0===N&&d&&(N=-1);var I=i(U(f),2),m=I[0],_=I[1];return c.createElement("span",(0,r.Z)({role:"img","aria-label":o.name},R,{ref:t,tabIndex:N,onClick:d,className:h}),c.createElement(F,{icon:o,primaryColor:m,secondaryColor:_,style:E?{msTransform:"rotate(".concat(E,"deg)"),transform:"rotate(".concat(E,"deg)")}:void 0}))});Y.displayName="AntdIcon",Y.getTwoToneColor=function(){var e=F.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},Y.setTwoToneColor=H;var k=Y},54775:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},19735:function(e,t,n){"use strict";var r=n(83963),o=n(67294),i=n(72961),a=n(30672),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},17012:function(e,t,n){"use strict";var r=n(83963),o=n(67294),i=n(1085),a=n(30672),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},62208:function(e,t,n){"use strict";var r=n(83963),o=n(67294),i=n(89503),a=n(30672),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},29950:function(e,t,n){"use strict";var r=n(83963),o=n(67294),i=n(83707),a=n(30672),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},97735:function(e,t,n){"use strict";var r=n(83963),o=n(67294),i=n(12489),a=n(30672),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},19267:function(e,t,n){"use strict";var r=n(83963),o=n(67294),i=n(15294),a=n(30672),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},61401:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commonLocale=void 0,t.commonLocale={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}},61434:function(e,t,n){"use strict";var r=n(70508).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(21968)),i=n(61401),a=(0,o.default)((0,o.default)({},i.commonLocale),{},{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",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",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"});t.default=a},53457:function(e,t,n){"use strict";var r=n(70508).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(21968)),i=n(61401),a=(0,o.default)((0,o.default)({},i.commonLocale),{},{locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪",yearFormat:"YYYY年",cellDateFormat:"D",monthBeforeYear:!1});t.default=a},79742:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,i=l(e),a=i[0],s=i[1],c=new o((a+s)*3/4-s),E=0,u=s>0?a-4:a;for(n=0;n>16&255,c[E++]=t>>8&255,c[E++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[E++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[E++]=t>>8&255,c[E++]=255&t),c},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=0,s=r-o;a>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return i.join("")}(e,a,a+16383>s?s: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,s=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},48764:function(e,t,n){"use strict";/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */let r=n(79742),o=n(80645),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"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(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 E(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);let n=0|f(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 function(e){if(G(e,Uint8Array)){let t=new Uint8Array(e);return T(t.buffer,t.byteOffset,t.byteLength)}return u(e)}(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(G(e,ArrayBuffer)||e&&G(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(G(e,SharedArrayBuffer)||e&&G(e.buffer,SharedArrayBuffer)))return T(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return s.from(r,t,n);let o=function(e){var t;if(s.isBuffer(e)){let t=0|d(e.length),n=a(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?a(0):u(e):"Buffer"===e.type&&Array.isArray(e.data)?u(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function E(e){return c(e),a(e<0?0:0|d(e))}function u(e){let t=e.length<0?0:0|d(e.length),n=a(t);for(let r=0;r=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function f(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||G(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);let n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return x(e).length;default:if(o)return r?-1:U(e).length;t=(""+t).toLowerCase(),o=!0}}function R(e,t,n){let o=!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){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let o="";for(let r=t;r2147483647?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=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:O(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):O(e,[t],n,r,o);throw TypeError("val must be string, number or Buffer")}function O(e,t,n,r,o){let i,a=1,s=e.length,l=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,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){let r=-1;for(i=n;is&&(n=s-l),i=n;i>=0;i--){let n=!0;for(let r=0;r239?4:t>223?3:t>191?2:1;if(o+a<=n){let n,r,s,l;switch(a){case 1:t<128&&(i=t);break;case 2:(192&(n=e[o+1]))==128&&(l=(31&t)<<6|63&n)>127&&(i=l);break;case 3:n=e[o+1],r=e[o+2],(192&n)==128&&(192&r)==128&&(l=(15&t)<<12|(63&n)<<6|63&r)>2047&&(l<55296||l>57343)&&(i=l);break;case 4:n=e[o+1],r=e[o+2],s=e[o+3],(192&n)==128&&(192&r)==128&&(192&s)==128&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s)>65535&&l<1114112&&(i=l)}}null===i?(i=65533,a=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),o+=a}return function(e){let t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);let n="",r=0;for(;rn)throw RangeError("Trying to access beyond buffer length")}function N(e,t,n,r,o,i){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw RangeError("Index out of range")}function I(e,t,n,r,o){P(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function m(e,t,n,r,o){P(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n+7]=i,i>>=8,e[n+6]=i,i>>=8,e[n+5]=i,i>>=8,e[n+4]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function _(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||_(e,t,n,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,n,r,23,4),n+4}function g(e,t,n,r,i){return t=+t,n>>>=0,i||_(e,t,n,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,n,r,52,8),n+8}t.lW=s,t.h2=50,s.TYPED_ARRAY_SUPPORT=function(){try{let 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}}(),s.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(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.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)},s.allocUnsafe=function(e){return E(e)},s.allocUnsafeSlow=function(e){return E(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(G(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),G(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let o=0,i=Math.min(n,r);or.length?(s.isBuffer(t)||(t=s.from(t)),t.copy(r,o)):Uint8Array.prototype.set.call(r,t,o);else if(s.isBuffer(t))t.copy(r,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=t.length}return r},s.byteLength=f,s.prototype._isBuffer=!0,s.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tn&&(e+=" ... "),""},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(e,t,n,r,o){if(G(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.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;let i=o-r,a=n-t,l=Math.min(i,a),c=this.slice(r,o),E=e.slice(t,n);for(let e=0;e>>=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");let T=this.length-t;if((void 0===n||n>T)&&(n=T),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let d=!1;for(;;)switch(r){case"hex":return function(e,t,n,r){let o;n=Number(n)||0;let i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;let a=t.length;for(r>a/2&&(r=a/2),o=0;o>8,o.push(n%256),o.push(r);return o}(e,this.length-E),this,E,u);default:if(d)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),d=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){let 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||h(e,t,this.length);let r=this[e],o=1,i=0;for(;++i>>=0,t>>>=0,n||h(e,t,this.length);let r=this[e+--t],o=1;for(;t>0&&(o*=256);)r+=this[e+--t]*o;return r},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||h(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||h(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||h(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||h(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||h(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readBigUInt64LE=H(function(e){b(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&M(e,this.length-8);let r=t+256*this[++e]+65536*this[++e]+16777216*this[++e],o=this[++e]+256*this[++e]+65536*this[++e]+16777216*n;return BigInt(r)+(BigInt(o)<>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&M(e,this.length-8);let r=16777216*t+65536*this[++e]+256*this[++e]+this[++e],o=16777216*this[++e]+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||h(e,t,this.length);let r=this[e],o=1,i=0;for(;++i=(o*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||h(e,t,this.length);let r=t,o=1,i=this[e+--r];for(;r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},s.prototype.readInt8=function(e,t){return(e>>>=0,t||h(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||h(e,2,this.length);let n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||h(e,2,this.length);let n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||h(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||h(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readBigInt64LE=H(function(e){b(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&M(e,this.length-8);let r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&M(e,this.length-8);let r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<>>=0,t||h(e,4,this.length),o.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||h(e,4,this.length),o.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||h(e,8,this.length),o.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||h(e,8,this.length),o.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;N(this,e,t,n,r,0)}let o=1,i=0;for(this[t]=255&e;++i>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;N(this,e,t,n,r,0)}let o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||N(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},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||N(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},s.prototype.writeBigUInt64LE=H(function(e,t=0){return I(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=H(function(e,t=0){return m(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);N(this,e,t,n,r-1,-r)}let o=0,i=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);N(this,e,t,n,r-1,-r)}let o=n-1,i=1,a=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/i>>0)-a&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||N(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},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||N(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},s.prototype.writeBigInt64LE=H(function(e,t=0){return I(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=H(function(e,t=0){return m(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeFloatLE=function(e,t,n){return C(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return C(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return g(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return g(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(!s.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,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function P(e,t,n,r,o,i){if(e>n||e3?0===t||t===BigInt(0)?`>= 0${o} and < 2${o} ** ${(i+1)*8}${o}`:`>= -(2${o} ** ${(i+1)*8-1}${o}) and < 2 ** ${(i+1)*8-1}${o}`:`>= ${t}${o} and <= ${n}${o}`,new L.ERR_OUT_OF_RANGE("value",r,e)}b(o,"offset"),(void 0===r[o]||void 0===r[o+i])&&M(o,r.length-(i+1))}function b(e,t){if("number"!=typeof e)throw new L.ERR_INVALID_ARG_TYPE(t,"number",e)}function M(e,t,n){if(Math.floor(e)!==e)throw b(e,n),new L.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new L.ERR_BUFFER_OUT_OF_BOUNDS;throw new L.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}v("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),v("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),v("ERR_OUT_OF_RANGE",function(e,t,n){let r=`The value of "${e}" is out of range.`,o=n;return Number.isInteger(n)&&Math.abs(n)>4294967296?o=y(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=y(o)),o+="n"),r+=` It must be ${t}. Received ${o}`},RangeError);let D=/[^+/0-9A-Za-z-_]/g;function U(e,t){let n;t=t||1/0;let r=e.length,o=null,i=[];for(let a=0;a55295&&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 x(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(D,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function w(e,t,n,r){let o;for(o=0;o=t.length)&&!(o>=e.length);++o)t[o+n]=e[o];return o}function G(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let F=function(){let e="0123456789abcdef",t=Array(256);for(let n=0;n<16;++n){let r=16*n;for(let o=0;o<16;++o)t[r+o]=e[n]+e[o]}return t}();function H(e){return"undefined"==typeof BigInt?B:e}function B(){throw Error("BigInt not supported")}},20640:function(e,t,n){"use strict";var r=n(11742),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,a,s,l,c,E,u,T=!1;t||(t={}),a=t.debug||!1;try{if(l=r(),c=document.createRange(),E=document.getSelection(),(u=document.createElement("span")).textContent=e,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",function(n){if(n.stopPropagation(),t.format){if(n.preventDefault(),void 0===n.clipboardData){a&&console.warn("unable to use e.clipboardData"),a&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var r=o[t.format]||o.default;window.clipboardData.setData(r,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e)}t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(u),c.selectNodeContents(u),E.addRange(c),!document.execCommand("copy"))throw Error("copy command was unsuccessful");T=!0}catch(r){a&&console.error("unable to copy using execCommand: ",r),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),T=!0}catch(r){a&&console.error("unable to copy using clipboardData: ",r),a&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",i=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",s=n.replace(/#{\s*key\s*}/g,i),window.prompt(s,e)}}finally{E&&("function"==typeof E.removeRange?E.removeRange(c):E.removeAllRanges()),u&&document.body.removeChild(u),l()}return T}},80645:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<>1,E=-7,u=n?o-1:0,T=n?-1:1,d=e[t+u];for(u+=T,i=d&(1<<-E)-1,d>>=-E,E+=s;E>0;i=256*i+e[t+u],u+=T,E-=8);for(a=i&(1<<-E)-1,i>>=-E,E+=r;E>0;a=256*a+e[t+u],u+=T,E-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:(d?-1:1)*(1/0);a+=Math.pow(2,r),i-=c}return(d?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,l,c=8*i-o-1,E=(1<>1,T=23===o?5960464477539062e-23:0,d=r?0:i-1,f=r?1:-1,R=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=E):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+u>=1?t+=T/l:t+=T*Math.pow(2,1-u),t*l>=2&&(a++,l/=2),a+u>=E?(s=0,a=E):a+u>=1?(s=(t*l-1)*Math.pow(2,o),a+=u):(s=t*Math.pow(2,u-1)*Math.pow(2,o),a=0));o>=8;e[n+d]=255&s,d+=f,s/=256,o-=8);for(a=a<0;e[n+d]=255&a,d+=f,a/=256,c-=8);e[n+d-f]|=128*R}},62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},44239:function(e,t,n){var r=n(62705),o=n(89607),i=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},27561:function(e,t,n){var r=n(67990),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},31957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},89607:function(e,t,n){var r=n(62705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},55639:function(e,t,n){var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},23279:function(e,t,n){var r=n(13218),o=n(7771),i=n(14841),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,E,u,T,d,f=0,R=!1,A=!1,S=!0;if("function"!=typeof e)throw TypeError("Expected a function");function O(t){var n=l,r=c;return l=c=void 0,f=t,u=e.apply(r,n)}function p(e){var n=e-d,r=e-f;return void 0===d||n>=t||n<0||A&&r>=E}function h(){var e,n,r,i=o();if(p(i))return N(i);T=setTimeout(h,(e=i-d,n=i-f,r=t-e,A?s(r,E-n):r))}function N(e){return(T=void 0,S&&l)?O(e):(l=c=void 0,u)}function I(){var e,n=o(),r=p(n);if(l=arguments,c=this,d=n,r){if(void 0===T)return f=e=d,T=setTimeout(h,t),R?O(e):u;if(A)return clearTimeout(T),T=setTimeout(h,t),O(d)}return void 0===T&&(T=setTimeout(h,t)),u}return t=i(t)||0,r(n)&&(R=!!n.leading,E=(A="maxWait"in n)?a(i(n.maxWait)||0,t):E,S="trailing"in n?!!n.trailing:S),I.cancel=function(){void 0!==T&&clearTimeout(T),f=0,l=d=c=T=void 0},I.flush=function(){return void 0===T?u:N(o())},I}},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,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,E=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=l.test(e);return n||c.test(e)?E(e.slice(2),n?2:8):s.test(e)?a:+e}},83839:function(e,t,n){!function(e){e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return(12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t)?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(30381))},30381:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";function t(){return B.apply(null,arguments)}function n(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function i(e){var t;if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(t in e)if(o(e,t))return!1;return!0}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){var n,r=[],o=e.length;for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}t.suppressDeprecationWarnings=!1,t.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)o(e,t)&&n.push(t);return n};var P=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,b=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,M={},D={};function U(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(D[e]=o),t&&(D[t[0]]=function(){return y(o.apply(this,arguments),t[1],t[2])}),n&&(D[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function x(e,t){return e.isValid()?(M[t=w(t,e.localeData())]=M[t]||function(e){var t,n,r,o=e.match(P);for(n=0,r=o.length;n=0&&b.test(e);)e=e.replace(b,r),b.lastIndex=0,n-=1;return e}var G={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function F(e){return"string"==typeof e?G[e]||G[e.toLowerCase()]:void 0}function H(e){var t,n,r={};for(n in e)o(e,n)&&(t=F(n))&&(r[t]=e[n]);return r}var B,Y,k,V,$={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},W=/\d/,Z=/\d\d/,j=/\d{3}/,X=/\d{4}/,K=/[+-]?\d{6}/,z=/\d\d?/,q=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,Q=/\d{1,3}/,ee=/\d{1,4}/,et=/[+-]?\d{1,6}/,en=/\d+/,er=/[+-]?\d+/,eo=/Z|[+-]\d\d:?\d\d/gi,ei=/Z|[+-]\d\d(?::?\d\d)?/gi,ea=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,es=/^[1-9]\d?/,el=/^([1-9]\d|\d)/;function ec(e,t,n){V[e]=g(t)?t:function(e,r){return e&&n?n:t}}function eE(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function eu(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function eT(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=eu(t)),n}V={};var ed={};function ef(e,t){var n,r,o=t;for("string"==typeof e&&(e=[e]),s(t)&&(o=function(e,n){n[t]=eT(e)}),r=e.length,n=0;n68?1900:2e3)};var eO=ep("FullYear",!0);function ep(e,n){return function(r){return null!=r?(eN(this,e,r),t.updateOffset(this,n),this):eh(this,e)}}function eh(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function eN(e,t,n){var r,o,i,a;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,o=e._isUTC,t){case"Milliseconds":return void(o?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(o?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(o?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(o?r.setUTCHours(n):r.setHours(n));case"Date":return void(o?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}i=e.month(),a=29!==(a=e.date())||1!==i||eA(n)?a:28,o?r.setUTCFullYear(n,i,a):r.setFullYear(n,i,a)}}function eI(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%12+12)%12;return e+=(t-n)/12,1===n?eA(e)?29:28:31-n%7%2}ek=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?isFinite((s=new Date(e+400,t,n,r,o,i,a)).getFullYear())&&s.setFullYear(e):s=new Date(e,t,n,r,o,i,a),s}function eP(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,isFinite((t=new Date(Date.UTC.apply(null,n))).getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function eb(e,t,n){var r=7+t-n;return-((7+eP(e,0,r).getUTCDay()-t)%7)+r-1}function eM(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+eb(e,r,o);return s<=0?a=eS(i=e-1)+s:s>eS(e)?(i=e+1,a=s-eS(e)):(i=e,a=s),{year:i,dayOfYear:a}}function eD(e,t,n){var r,o,i=eb(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+eU(o=e.year()-1,t,n):a>eU(e.year(),t,n)?(r=a-eU(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function eU(e,t,n){var r=eb(e,t,n),o=eb(e+1,t,n);return(eS(e)-r+o)/7}function ex(e,t){return e.slice(t,7).concat(e.slice(0,t))}U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),ec("w",z,es),ec("ww",z,Z),ec("W",z,es),ec("WW",z,Z),eR(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=eT(e)}),U("d",0,"do","day"),U("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),U("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),U("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),ec("d",z),ec("e",z),ec("E",z),ec("dd",function(e,t){return t.weekdaysMinRegex(e)}),ec("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ec("dddd",function(e,t){return t.weekdaysRegex(e)}),eR(["dd","ddd","dddd"],function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:T(n).invalidWeekday=e}),eR(["d","e","E"],function(e,t,n,r){t[r]=eT(e)});var ew="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function eG(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(r=0,this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[];r<7;++r)i=u([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=ek.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ek.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=ek.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=ek.call(this._weekdaysParse,a))||-1!==(o=ek.call(this._shortWeekdaysParse,a))?o:-1!==(o=ek.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ek.call(this._shortWeekdaysParse,a))||-1!==(o=ek.call(this._weekdaysParse,a))?o:-1!==(o=ek.call(this._minWeekdaysParse,a))?o:null:-1!==(o=ek.call(this._minWeekdaysParse,a))||-1!==(o=ek.call(this._weekdaysParse,a))?o:-1!==(o=ek.call(this._shortWeekdaysParse,a))?o:null}function eF(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=u([2e3,1]).day(t),r=eE(this.weekdaysMin(n,"")),o=eE(this.weekdaysShort(n,"")),i=eE(this.weekdays(n,"")),a.push(r),s.push(o),l.push(i),c.push(r),c.push(o),c.push(i);a.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=RegExp("^("+a.join("|")+")","i")}function eH(){return this.hours()%12||12}function eB(e,t){U(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function eY(e,t){return t._meridiemParse}U("H",["HH",2],0,"hour"),U("h",["hh",2],0,eH),U("k",["kk",2],0,function(){return this.hours()||24}),U("hmm",0,0,function(){return""+eH.apply(this)+y(this.minutes(),2)}),U("hmmss",0,0,function(){return""+eH.apply(this)+y(this.minutes(),2)+y(this.seconds(),2)}),U("Hmm",0,0,function(){return""+this.hours()+y(this.minutes(),2)}),U("Hmmss",0,0,function(){return""+this.hours()+y(this.minutes(),2)+y(this.seconds(),2)}),eB("a",!0),eB("A",!1),ec("a",eY),ec("A",eY),ec("H",z,el),ec("h",z,es),ec("k",z,es),ec("HH",z,Z),ec("hh",z,Z),ec("kk",z,Z),ec("hmm",q),ec("hmmss",J),ec("Hmm",q),ec("Hmmss",J),ef(["H","HH"],3),ef(["k","kk"],function(e,t,n){var r=eT(e);t[3]=24===r?0:r}),ef(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ef(["h","hh"],function(e,t,n){t[3]=eT(e),T(n).bigHour=!0}),ef("hmm",function(e,t,n){var r=e.length-2;t[3]=eT(e.substr(0,r)),t[4]=eT(e.substr(r)),T(n).bigHour=!0}),ef("hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=eT(e.substr(0,r)),t[4]=eT(e.substr(r,2)),t[5]=eT(e.substr(o)),T(n).bigHour=!0}),ef("Hmm",function(e,t,n){var r=e.length-2;t[3]=eT(e.substr(0,r)),t[4]=eT(e.substr(r))}),ef("Hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=eT(e.substr(0,r)),t[4]=eT(e.substr(r,2)),t[5]=eT(e.substr(o))});var ek,eV,e$=ep("Hours",!0),eW={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:em,week:{dow:0,doy:6},weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysShort:ew,meridiemParse:/[ap]\.?m?\.?/i},eZ={},ej={};function eX(e){return e?e.toLowerCase().replace("_","-"):e}function eK(t){var n=null;if(void 0===eZ[t]&&e&&e.exports&&t&&t.match("^[^/\\\\]*$"))try{n=eV._abbr,function(){var e=Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),ez(n)}catch(e){eZ[t]=null}return eZ[t]}function ez(e,t){var n;return e&&((n=a(t)?eJ(e):eq(e,t))?eV=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),eV._abbr}function eq(e,t){if(null===t)return delete eZ[e],null;var n,r=eW;if(t.abbr=e,null!=eZ[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=eZ[e]._config;else if(null!=t.parentLocale){if(null!=eZ[t.parentLocale])r=eZ[t.parentLocale]._config;else{if(null==(n=eK(t.parentLocale)))return ej[t.parentLocale]||(ej[t.parentLocale]=[]),ej[t.parentLocale].push({name:e,config:t}),null;r=n._config}}return eZ[e]=new v(L(r,t)),ej[e]&&ej[e].forEach(function(e){eq(e.name,e.config)}),ez(e),eZ[e]}function eJ(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return eV;if(!n(e)){if(t=eK(e))return t;e=[e]}return function(e){for(var t,n,r,o,i=0;i0;){if(r=eK(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n=t-1)break;t--}i++}return eV}(e)}function eQ(e){var t,n=e._a;return n&&-2===T(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>eI(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,T(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),T(e)._overflowWeeks&&-1===t&&(t=7),T(e)._overflowWeekday&&-1===t&&(t=8),T(e).overflow=t),e}var e0=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e1=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e2=/Z|[+-]\d\d(?::?\d\d)?/,e4=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],e6=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],e3=/^\/?Date\((-?\d+)/i,e8=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,e5={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function e7(e){var t,n,r,o,i,a,s=e._i,l=e0.exec(s)||e1.exec(s),c=e4.length,E=e6.length;if(l){for(t=0,T(e).iso=!0,n=c;t7)&&(c=!0)):(a=e._locale._week.dow,s=e._locale._week.doy,E=eD(ti(),a,s),r=te(n.gg,e._a[0],E.year),o=te(n.w,E.week),null!=n.d?((i=n.d)<0||i>6)&&(c=!0):null!=n.e?(i=n.e+a,(n.e<0||n.e>6)&&(c=!0)):i=a),o<1||o>eU(r,a,s)?T(e)._overflowWeeks=!0:null!=c?T(e)._overflowWeekday=!0:(l=eM(r,o,i,a,s),e._a[0]=l.year,e._dayOfYear=l.dayOfYear)),null!=e._dayOfYear&&(S=te(e._a[0],R[0]),(e._dayOfYear>eS(S)||0===e._dayOfYear)&&(T(e)._overflowDayOfYear=!0),f=eP(S,0,e._dayOfYear),e._a[1]=f.getUTCMonth(),e._a[2]=f.getUTCDate()),d=0;d<3&&null==e._a[d];++d)e._a[d]=O[d]=R[d];for(;d<7;d++)e._a[d]=O[d]=null==e._a[d]?2===d?1:0:e._a[d];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?eP:ey).apply(null,O),A=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==A&&(T(e).weekdayMismatch=!0)}}function tn(e){if(e._f===t.ISO_8601){e7(e);return}if(e._f===t.RFC_2822){e9(e);return}e._a=[],T(e).empty=!0;var n,r,i,a,s,l,c,E,u,d,f,R=""+e._i,A=R.length,S=0;for(s=0,f=(c=w(e._f,e._locale).match(P)||[]).length;s0&&T(e).unusedInput.push(u),R=R.slice(R.indexOf(l)+l.length),S+=l.length),D[E])?(l?T(e).empty=!1:T(e).unusedTokens.push(E),null!=l&&o(ed,E)&&ed[E](l,e._a,e,E)):e._strict&&!l&&T(e).unusedTokens.push(E);T(e).charsLeftOver=A-S,R.length>0&&T(e).unusedInput.push(R),e._a[3]<=12&&!0===T(e).bigHour&&e._a[3]>0&&(T(e).bigHour=void 0),T(e).parsedDateParts=e._a.slice(0),T(e).meridiem=e._meridiem,e._a[3]=(n=e._locale,r=e._a[3],null==(i=e._meridiem)?r:null!=n.meridiemHour?n.meridiemHour(r,i):(null!=n.isPM&&((a=n.isPM(i))&&r<12&&(r+=12),a||12!==r||(r=0)),r)),null!==(d=T(e).era)&&(e._a[0]=e._locale.erasConvertYear(d,e._a[0])),tt(e),eQ(e)}function tr(e){var o,i=e._i,u=e._f;return(e._locale=e._locale||eJ(e._l),null===i||void 0===u&&""===i)?f({nullInput:!0}):("string"==typeof i&&(e._i=i=e._locale.preparse(i)),N(i))?new h(eQ(i)):(l(i)?e._d=i:n(u)?function(e){var t,n,r,o,i,a,s=!1,l=e._f.length;if(0===l){T(e).invalidFormat=!0,e._d=new Date(NaN);return}for(o=0;othis?this:e:f()});function tl(e,t){var r,o;if(1===t.length&&n(t[0])&&(t=t[0]),!t.length)return ti();for(o=1,r=t[0];o=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function tU(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function tx(e,t){return t.erasAbbrRegex(e)}function tw(){var e,t,n,r,o,i=[],a=[],s=[],l=[],c=this.eras();for(e=0,t=c.length;e(i=eU(e,r,o))&&(t=i),tH.call(this,e,t,n,r,o))}function tH(e,t,n,r,o){var i=eM(e,t,n,r,o),a=eP(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}U("N",0,0,"eraAbbr"),U("NN",0,0,"eraAbbr"),U("NNN",0,0,"eraAbbr"),U("NNNN",0,0,"eraName"),U("NNNNN",0,0,"eraNarrow"),U("y",["y",1],"yo","eraYear"),U("y",["yy",2],0,"eraYear"),U("y",["yyy",3],0,"eraYear"),U("y",["yyyy",4],0,"eraYear"),ec("N",tx),ec("NN",tx),ec("NNN",tx),ec("NNNN",function(e,t){return t.erasNameRegex(e)}),ec("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ef(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?T(n).era=o:T(n).invalidEra=e}),ec("y",en),ec("yy",en),ec("yyy",en),ec("yyyy",en),ec("yo",function(e,t){return t._eraYearOrdinalRegex||en}),ef(["y","yy","yyy","yyyy"],0),ef(["yo"],function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,o):t[0]=parseInt(e,10)}),U(0,["gg",2],0,function(){return this.weekYear()%100}),U(0,["GG",2],0,function(){return this.isoWeekYear()%100}),tG("gggg","weekYear"),tG("ggggg","weekYear"),tG("GGGG","isoWeekYear"),tG("GGGGG","isoWeekYear"),ec("G",er),ec("g",er),ec("GG",z,Z),ec("gg",z,Z),ec("GGGG",ee,X),ec("gggg",ee,X),ec("GGGGG",et,K),ec("ggggg",et,K),eR(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=eT(e)}),eR(["gg","GG"],function(e,n,r,o){n[o]=t.parseTwoDigitYear(e)}),U("Q",0,"Qo","quarter"),ec("Q",W),ef("Q",function(e,t){t[1]=(eT(e)-1)*3}),U("D",["DD",2],"Do","date"),ec("D",z,es),ec("DD",z,Z),ec("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ef(["D","DD"],2),ef("Do",function(e,t){t[2]=eT(e.match(z)[0])});var tB=ep("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),ec("DDD",Q),ec("DDDD",j),ef(["DDD","DDDD"],function(e,t,n){n._dayOfYear=eT(e)}),U("m",["mm",2],0,"minute"),ec("m",z,el),ec("mm",z,Z),ef(["m","mm"],4);var tY=ep("Minutes",!1);U("s",["ss",2],0,"second"),ec("s",z,el),ec("ss",z,Z),ef(["s","ss"],5);var tk=ep("Seconds",!1);for(U("S",0,0,function(){return~~(this.millisecond()/100)}),U(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,function(){return 10*this.millisecond()}),U(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),U(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),U(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),U(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),U(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),ec("S",Q,W),ec("SS",Q,Z),ec("SSS",Q,j),R="SSSS";R.length<=9;R+="S")ec(R,en);function tV(e,t){t[6]=eT(("0."+e)*1e3)}for(R="S";R.length<=9;R+="S")ef(R,tV);A=ep("Milliseconds",!1),U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var t$=h.prototype;function tW(e){return e}t$.add=tg,t$.calendar=function(e,a){if(1==arguments.length){if(arguments[0]){var c,E,u;(c=arguments[0],N(c)||l(c)||tv(c)||s(c)||(E=n(c),u=!1,E&&(u=0===c.filter(function(e){return!s(e)&&tv(c)}).length),E&&u)||function(e){var t,n,a=r(e)&&!i(e),s=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=l.length;for(t=0;tn.valueOf():n.valueOf()n.year()||n.year()>9999?x(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):g(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+6e4*this.utcOffset()).toISOString().replace("Z",x(n,"Z")):x(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},t$.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",o="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+r+'("]',t=0<=this.year()&&9999>=this.year()?"YYYY":"YYYYYY",n=o+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(t$[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),t$.toJSON=function(){return this.isValid()?this.toISOString():null},t$.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},t$.unix=function(){return Math.floor(this.valueOf()/1e3)},t$.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},t$.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},t$.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;eMath.abs(e)&&!r&&(e*=60);return!this._isUTC&&n&&(o=tS(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i===e||(!n||this._changeInProgress?tC(this,tN(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this},t$.utc=function(e){return this.utcOffset(0,e)},t$.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(tS(this),"m")),this},t$.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=tR(eo,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},t$.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?ti(e).utcOffset():0,(this.utcOffset()-e)%60==0)},t$.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},t$.isLocal=function(){return!!this.isValid()&&!this._isUTC},t$.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},t$.isUtc=tO,t$.isUTC=tO,t$.zoneAbbr=function(){return this._isUTC?"UTC":""},t$.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},t$.dates=m("dates accessor is deprecated. Use date instead.",tB),t$.months=m("months accessor is deprecated. Use month instead",eL),t$.years=m("years accessor is deprecated. Use year instead",eO),t$.zone=m("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),t$.isDSTShifted=m("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return p(t,this),(t=tr(t))._a?(e=t._isUTC?u(t._a):ti(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r0):this._isDSTShifted=!1,this._isDSTShifted});var tZ=v.prototype;function tj(e,t,n,r){var o=eJ(),i=u().set(r,t);return o[n](i,e)}function tX(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return tj(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=tj(e,r,n,"month");return o}function tK(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var o,i=eJ(),a=e?i._week.dow:0,l=[];if(null!=n)return tj(t,(n+a)%7,r,"day");for(o=0;o<7;o++)l[o]=tj(t,(o+a)%7,r,"day");return l}tZ.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return g(r)?r.call(t,n):r},tZ.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(P).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},tZ.invalidDate=function(){return this._invalidDate},tZ.ordinal=function(e){return this._ordinal.replace("%d",e)},tZ.preparse=tW,tZ.postformat=tW,tZ.relativeTime=function(e,t,n,r){var o=this._relativeTime[n];return g(o)?o(e,t,n,r):o.replace(/%d/i,e)},tZ.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return g(n)?n(t):n.replace(/%s/i,t)},tZ.set=function(e){var t,n;for(n in e)o(e,n)&&(g(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},tZ.eras=function(e,n){var r,o,i,a=this._eras||eJ("en")._eras;for(r=0,o=a.length;r=0)return l[r]},tZ.erasConvertYear=function(e,n){var r=e.since<=e.until?1:-1;return void 0===n?t(e.since).year():t(e.since).year()+(n-e.offset)*r},tZ.erasAbbrRegex=function(e){return o(this,"_erasAbbrRegex")||tw.call(this),e?this._erasAbbrRegex:this._erasRegex},tZ.erasNameRegex=function(e){return o(this,"_erasNameRegex")||tw.call(this),e?this._erasNameRegex:this._erasRegex},tZ.erasNarrowRegex=function(e){return o(this,"_erasNarrowRegex")||tw.call(this),e?this._erasNarrowRegex:this._erasRegex},tZ.months=function(e,t){return e?n(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||e_).test(t)?"format":"standalone"][e.month()]:n(this._months)?this._months:this._months.standalone},tZ.monthsShort=function(e,t){return e?n(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[e_.test(t)?"format":"standalone"][e.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},tZ.monthsParse=function(e,t,n){var r,o,i;if(this._monthsParseExact)return eC.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++)if(o=u([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e)||n&&"MMM"===t&&this._shortMonthsParse[r].test(e)||!n&&this._monthsParse[r].test(e))return r},tZ.monthsRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||ev.call(this),e)?this._monthsStrictRegex:this._monthsRegex:(o(this,"_monthsRegex")||(this._monthsRegex=ea),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},tZ.monthsShortRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||ev.call(this),e)?this._monthsShortStrictRegex:this._monthsShortRegex:(o(this,"_monthsShortRegex")||(this._monthsShortRegex=ea),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},tZ.week=function(e){return eD(e,this._week.dow,this._week.doy).week},tZ.firstDayOfYear=function(){return this._week.doy},tZ.firstDayOfWeek=function(){return this._week.dow},tZ.weekdays=function(e,t){var r=n(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?ex(r,this._week.dow):e?r[e.day()]:r},tZ.weekdaysMin=function(e){return!0===e?ex(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},tZ.weekdaysShort=function(e){return!0===e?ex(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},tZ.weekdaysParse=function(e,t,n){var r,o,i;if(this._weekdaysParseExact)return eG.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=u([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e)||n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},tZ.weekdaysRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||eF.call(this),e)?this._weekdaysStrictRegex:this._weekdaysRegex:(o(this,"_weekdaysRegex")||(this._weekdaysRegex=ea),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},tZ.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||eF.call(this),e)?this._weekdaysShortStrictRegex:this._weekdaysShortRegex:(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ea),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},tZ.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||eF.call(this),e)?this._weekdaysMinStrictRegex:this._weekdaysMinRegex:(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ea),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},tZ.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},tZ.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ez("en",{eras:[{since:"0001-01-01",until:Infinity,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===eT(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),t.lang=m("moment.lang is deprecated. Use moment.locale instead.",ez),t.langData=m("moment.langData is deprecated. Use moment.localeData instead.",eJ);var tz=Math.abs;function tq(e,t,n,r){var o=tN(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function tJ(e){return e<0?Math.floor(e):Math.ceil(e)}function tQ(e){return 4800*e/146097}function t0(e){return 146097*e/4800}function t1(e){return function(){return this.as(e)}}var t2=t1("ms"),t4=t1("s"),t6=t1("m"),t3=t1("h"),t8=t1("d"),t5=t1("w"),t7=t1("M"),t9=t1("Q"),ne=t1("y");function nt(e){return function(){return this.isValid()?this._data[e]:NaN}}var nn=nt("milliseconds"),nr=nt("seconds"),no=nt("minutes"),ni=nt("hours"),na=nt("days"),ns=nt("months"),nl=nt("years"),nc=Math.round,nE={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function nu(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}var nT=Math.abs;function nd(e){return(e>0)-(e<0)||+e}function nf(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,s,l=nT(this._milliseconds)/1e3,c=nT(this._days),E=nT(this._months),u=this.asSeconds();return u?(e=eu(l/60),t=eu(e/60),l%=60,e%=60,n=eu(E/12),E%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",o=u<0?"-":"",i=nd(this._months)!==nd(u)?"-":"",a=nd(this._days)!==nd(u)?"-":"",s=nd(this._milliseconds)!==nd(u)?"-":"",o+"P"+(n?i+n+"Y":"")+(E?i+E+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var nR=tE.prototype;return nR.isValid=function(){return this._isValid},nR.abs=function(){var e=this._data;return this._milliseconds=tz(this._milliseconds),this._days=tz(this._days),this._months=tz(this._months),e.milliseconds=tz(e.milliseconds),e.seconds=tz(e.seconds),e.minutes=tz(e.minutes),e.hours=tz(e.hours),e.months=tz(e.months),e.years=tz(e.years),this},nR.add=function(e,t){return tq(this,e,t,1)},nR.subtract=function(e,t){return tq(this,e,t,-1)},nR.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=F(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+tQ(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(t0(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw Error("Unknown unit "+e)}},nR.asMilliseconds=t2,nR.asSeconds=t4,nR.asMinutes=t6,nR.asHours=t3,nR.asDays=t8,nR.asWeeks=t5,nR.asMonths=t7,nR.asQuarters=t9,nR.asYears=ne,nR.valueOf=t2,nR._bubble=function(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,l=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*tJ(t0(s)+a),a=0,s=0),l.milliseconds=i%1e3,e=eu(i/1e3),l.seconds=e%60,t=eu(e/60),l.minutes=t%60,n=eu(t/60),l.hours=n%24,a+=eu(n/24),s+=o=eu(tQ(a)),a-=tJ(t0(o)),r=eu(s/12),s%=12,l.days=a,l.months=s,l.years=r,this},nR.clone=function(){return tN(this)},nR.get=function(e){return e=F(e),this.isValid()?this[e+"s"]():NaN},nR.milliseconds=nn,nR.seconds=nr,nR.minutes=no,nR.hours=ni,nR.days=na,nR.weeks=function(){return eu(this.days()/7)},nR.months=ns,nR.years=nl,nR.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o,i,a,s,l,c,E,u,T,d,f,R=!1,A=nE;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(R=e),"object"==typeof t&&(A=Object.assign({},nE,t),null!=t.s&&null==t.ss&&(A.ss=t.s-1)),d=this.localeData(),n=!R,r=A,i=nc((o=tN(this).abs()).as("s")),a=nc(o.as("m")),s=nc(o.as("h")),l=nc(o.as("d")),c=nc(o.as("M")),E=nc(o.as("w")),u=nc(o.as("y")),T=i<=r.ss&&["s",i]||i0,T[4]=d,f=nu.apply(null,T),R&&(f=d.pastFuture(+this,f)),d.postformat(f)},nR.toISOString=nf,nR.toString=nf,nR.toJSON=nf,nR.locale=tP,nR.localeData=tM,nR.toIsoString=m("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",nf),nR.lang=tb,U("X",0,0,"unix"),U("x",0,0,"valueOf"),ec("x",er),ec("X",/[+-]?\d+(\.\d{1,3})?/),ef("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ef("x",function(e,t,n){n._d=new Date(eT(e))}),//! moment.js -t.version="2.30.1",B=ti,t.fn=t$,t.min=function(){var e=[].slice.call(arguments,0);return tl("isBefore",e)},t.max=function(){var e=[].slice.call(arguments,0);return tl("isAfter",e)},t.now=function(){return Date.now?Date.now():+new Date},t.utc=u,t.unix=function(e){return ti(1e3*e)},t.months=function(e,t){return tX(e,t,"months")},t.isDate=l,t.locale=ez,t.invalid=f,t.duration=tN,t.isMoment=N,t.weekdays=function(e,t,n){return tK(e,t,n,"weekdays")},t.parseZone=function(){return ti.apply(null,arguments).parseZone()},t.localeData=eJ,t.isDuration=tu,t.monthsShort=function(e,t){return tX(e,t,"monthsShort")},t.weekdaysMin=function(e,t,n){return tK(e,t,n,"weekdaysMin")},t.defineLocale=eq,t.updateLocale=function(e,t){if(null!=t){var n,r,o=eW;null!=eZ[e]&&null!=eZ[e].parentLocale?eZ[e].set(L(eZ[e]._config,t)):(null!=(r=eK(e))&&(o=r._config),t=L(o,t),null==r&&(t.abbr=e),(n=new v(t)).parentLocale=eZ[e],eZ[e]=n),ez(e)}else null!=eZ[e]&&(null!=eZ[e].parentLocale?(eZ[e]=eZ[e].parentLocale,e===ez()&&ez(e)):null!=eZ[e]&&delete eZ[e]);return eZ[e]},t.locales=function(){return k(eZ)},t.weekdaysShort=function(e,t,n){return tK(e,t,n,"weekdaysShort")},t.normalizeUnits=F,t.relativeTimeRounding=function(e){return void 0===e?nc:"function"==typeof e&&(nc=e,!0)},t.relativeTimeThreshold=function(e,t){return void 0!==nE[e]&&(void 0===t?nE[e]:(nE[e]=t,"s"===e&&(nE.ss=t-1),!0))},t.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},t.prototype=t$,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t}()},69654:function(e){var t;t=function(){function e(t,n,r){return this.id=++e.highestId,this.name=t,this.symbols=n,this.postprocess=r,this}function t(e,t,n,r){this.rule=e,this.dot=t,this.reference=n,this.data=[],this.wantedBy=r,this.isComplete=this.dot===e.symbols.length}function n(e,t){this.grammar=e,this.index=t,this.states=[],this.wants={},this.scannable=[],this.completed={}}function r(e,t){this.rules=e,this.start=t||this.rules[0].name;var n=this.byName={};this.rules.forEach(function(e){n.hasOwnProperty(e.name)||(n[e.name]=[]),n[e.name].push(e)})}function o(){this.reset("")}function i(e,t,i){if(e instanceof r)var a=e,i=t;else var a=r.fromCompiled(e,t);for(var s in this.grammar=a,this.options={keepHistory:!1,lexer:a.lexer||new o},i||{})this.options[s]=i[s];this.lexer=this.options.lexer,this.lexerState=void 0;var l=new n(a,0);this.table=[l],l.wants[a.start]=[],l.predict(a.start),l.process(),this.current=0}function a(e){var t=typeof e;if("string"===t)return e;if("object"===t){if(e.literal)return JSON.stringify(e.literal);if(e instanceof RegExp)return e.toString();if(e.type)return"%"+e.type;if(e.test)return"<"+String(e.test)+">";else throw Error("Unknown symbol type: "+e)}}return e.highestId=0,e.prototype.toString=function(e){var t=void 0===e?this.symbols.map(a).join(" "):this.symbols.slice(0,e).map(a).join(" ")+" ● "+this.symbols.slice(e).map(a).join(" ");return this.name+" → "+t},t.prototype.toString=function(){return"{"+this.rule.toString(this.dot)+"}, from: "+(this.reference||0)},t.prototype.nextState=function(e){var n=new t(this.rule,this.dot+1,this.reference,this.wantedBy);return n.left=this,n.right=e,n.isComplete&&(n.data=n.build(),n.right=void 0),n},t.prototype.build=function(){var e=[],t=this;do e.push(t.right.data),t=t.left;while(t.left);return e.reverse(),e},t.prototype.finish=function(){this.rule.postprocess&&(this.data=this.rule.postprocess(this.data,this.reference,i.fail))},n.prototype.process=function(e){for(var t=this.states,n=this.wants,r=this.completed,o=0;o0&&t.push(" ^ "+r+" more lines identical to this"),r=0,t.push(" "+a)),n=a}},i.prototype.getSymbolDisplay=function(e){return function(e){var t=typeof e;if("string"===t)return e;if("object"===t){if(e.literal)return JSON.stringify(e.literal);if(e instanceof RegExp)return"character matching "+e;if(e.type)return e.type+" token";if(e.test)return"token matching "+String(e.test);else throw Error("Unknown symbol type: "+e)}}(e)},i.prototype.buildFirstStateStack=function(e,t){if(-1!==t.indexOf(e))return null;if(0===e.wantedBy.length)return[e];var n=e.wantedBy[0],r=[e].concat(t),o=this.buildFirstStateStack(n,r);return null===o?null:[e].concat(o)},i.prototype.save=function(){var e=this.table[this.current];return e.lexerState=this.lexerState,e},i.prototype.restore=function(e){var t=e.index;this.current=t,this.table[t]=e,this.table.splice(t+1),this.lexerState=e.lexerState,this.results=this.finish()},i.prototype.rewind=function(e){if(!this.options.keepHistory)throw Error("set option `keepHistory` to enable rewinding");this.restore(this.table[e])},i.prototype.finish=function(){var e=[],t=this.grammar.start;return this.table[this.table.length-1].states.forEach(function(n){n.rule.name===t&&n.dot===n.rule.symbols.length&&0===n.reference&&n.data!==i.fail&&e.push(n)}),e.map(function(e){return e.data})},{Parser:i,Grammar:r,Rule:e}},e.exports?e.exports=t():this.nearley=t()},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(26466)}])},41468:function(e,t,n){"use strict";n.d(t,{R:function(){return u},p:function(){return E}});var r=n(85893),o=n(76212),i=n(62418),a=n(25519),s=n(65654),l=n(39332),c=n(67294);let E=(0,c.createContext)({mode:"light",scene:"",chatId:"",model:"",modelList:[],dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{},currentDialogInfo:{chat_scene:"",app_code:""},setCurrentDialogInfo:()=>{},adminList:[],refreshDialogList:()=>{}}),u=e=>{var t,n,u;let{children:T}=e,d=(0,l.useSearchParams)(),f=null!==(t=null==d?void 0:d.get("id"))&&void 0!==t?t:"",R=null!==(n=null==d?void 0:d.get("scene"))&&void 0!==n?n:"",A=null!==(u=null==d?void 0:d.get("db_param"))&&void 0!==u?u:"",[S,O]=(0,c.useState)(!1),[p,h]=(0,c.useState)(""),[N,I]=(0,c.useState)("chat_dashboard"!==R),[m,_]=(0,c.useState)(A),[C,g]=(0,c.useState)(""),[L,v]=(0,c.useState)([]),[y,P]=(0,c.useState)(),[b,M]=(0,c.useState)("light"),[D,U]=(0,c.useState)([]),[x,w]=(0,c.useState)({chat_scene:"",app_code:""}),{data:G=[]}=(0,s.Z)(async()=>{let[,e]=await (0,o.Vx)((0,o.Vw)());return null!=e?e:[]}),{run:F}=(0,s.Z)(async()=>{let[,e]=await (0,o.Vx)((0,o.WA)({role:"admin"}));return null!=e?e:[]},{onSuccess:e=>{U(e)},manual:!0});return(0,c.useEffect)(()=>{(0,i.n5)()&&F()},[F,(0,i.n5)()]),(0,c.useEffect)(()=>{M(function(){let e=localStorage.getItem(a.he);return e||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")}());try{let e=JSON.parse(localStorage.getItem("cur_dialog_info")||"");w(e)}catch(e){w({chat_scene:"",app_code:""})}},[]),(0,c.useEffect)(()=>{h(G[0])},[G,null==G?void 0:G.length]),(0,r.jsx)(E.Provider,{value:{isContract:S,isMenuExpand:N,scene:R,chatId:f,model:p,modelList:G,dbParam:m||A,agent:C,setAgent:g,mode:b,setMode:M,setModel:h,setIsContract:O,setIsMenuExpand:I,setDbParam:_,history:L,setHistory:v,docId:y,setDocId:P,currentDialogInfo:x,setCurrentDialogInfo:w,adminList:D},children:T})}},64371:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(36609),o=n(67421);r.ZP.use(o.Db).init({resources:{en:{translation:{chat_online:"chat Online",dialog_list:"Dialog List",delete_chat:"Delete Chat",delete_chat_confirm:"Are you sure you want to delete this chat?",input_tips:"Ask me anything, Shift + Enter newline",sent:"Sent",answer_again:"Answer again",feedback_tip:"Describe specific questions or better answers",thinking:"Thinking",stop_replying:"Stop replying",erase_memory:"Erase Memory",copy_nothing:"Content copied is empty",copy_success:"Copy success",copy_failed:"Copy failed",file_tip:"File cannot be changed after upload",assistant:"Platform Assistant",model_tip:"Model selection is not supported for the current application",temperature_tip:"The current application does not support temperature configuration",extend_tip:"Extended configuration is not supported for the current application",Upload_Data_Successfully:"file uploaded successfully",Upload_Data_Failed:"file upload failed",Upload_Data:"Upload Data",Code_Editor:"Code Editor",Open_Code_Editor:"Open Code Editor",Export_Flow_Success:"Export flow success",Import_Flow_Success:"Import flow success",Import:"Import",Export:"Export",Import_Flow:"Import Flow",Export_Flow:"Export Flow",Select_File:"Select File",Save_After_Import:"Save after import",Export_File_Type:"File_Type",Export_File_Format:"File_Format",Yes:"Yes",No:"No",Knowledge_Space:"Knowledge",space:"space",Vector:"Vector",Owner:"Owner",Count:"Count",File_type_Invalid:"The file type is invalid",Knowledge_Space_Config:"Space Config",Choose_a_Datasource_type:"Datasource type",Segmentation:"Segmentation",No_parameter:"No segementation parameter required.",Knowledge_Space_Name:"Knowledge Space Name",Please_input_the_name:"Please input the name",Please_input_the_owner:"Please input the owner",Please_select_file:"Please select one file",Description:"Description",Storage:"Storage",Domain:"Domain",Please_input_the_description:"Please input the description",Please_select_the_storage:"Please select the storage",Please_select_the_domain_type:"Please select the domain type",Next:"Next",the_name_can_only_contain:'the name can only contain numbers, letters, Chinese characters, "-" and "_"',Text:"Text","Fill your raw text":"Fill your raw text",URL:"URL",Fetch_the_content_of_a_URL:"Fetch the content of a URL",Document:"Document",Upload_a_document:"Upload a document, document type can be PDF, CSV, Text, PowerPoint, Word, Markdown, Zip",Name:"Name",Text_Source:"Text Source(Optional)",Please_input_the_text_source:"Please input the text source",Sync:"Sync",Back:"Back",Finish:"Finish",Web_Page_URL:"Web Page URL",Please_input_the_Web_Page_URL:"Please input the Web Page URL",Select_or_Drop_file:"Select or Drop file",Documents:"Documents",Chat:"Chat",Add_Datasource:"Add Datasource",View_Graph:"View Graph",Arguments:"Arguments",Type:"Type",Size:"Size",Last_Sync:"Last Sync",Status:"Status",Result:"Result",Details:"Details",Delete:"Delete",Operation:"Operation",Submit:"Submit",Chunks:"Chunks",Content:"Content",Meta_Data:"Meta Data",Please_select_a_file:"Please select a file",Please_input_the_text:"Please input the text",Embedding:"Embedding",topk:"topk",the_top_k_vectors:"the top k vectors based on similarity score",recall_score:"recall_score",Set_a_threshold_score:"Set a threshold score for the retrieval of similar vectors",recall_type:"recall_type",model:"model",A_model_used:"A model used to create vector representations of text or other data",Automatic:"Automatic",Process:"Process",Automatic_desc:"Automatically set segmentation and preprocessing rules.",chunk_size:"chunk_size",The_size_of_the_data_chunks:"The size of the data chunks used in processing",chunk_overlap:"chunk_overlap",The_amount_of_overlap:"The amount of overlap between adjacent data chunks",Prompt:"Prompt",scene:"scene",A_contextual_parameter:"A contextual parameter used to define the setting or environment in which the prompt is being used",template:"template",structure_or_format:"A pre-defined structure or format for the prompt, which can help ensure that the AI system generates responses that are consistent with the desired style or tone.",max_token:"max_token",max_iteration:"max_iteration",concurrency_limit:"concurrency_limit",The_maximum_number_of_tokens:"The maximum number of tokens or words allowed in a prompt",Theme:"Theme",Port:"Port",Username:"Username",Password:"Password",Remark:"Remark",Edit:"Edit",Database:"Database",Data_Source:"Data Center",Close_Sidebar:"Fold",Show_Sidebar:"UnFold",language:"Language",choose_model:"Please choose a model",data_center_desc:"DB-GPT also offers a user-friendly data center management interface for efficient data maintenance.",create_database:"Create Database",create_knowledge:"Create Knowledge",path:"Path",model_manage:"Models",stop_model_success:"Stop model success",create_model:"Create Model",model_select_tips:"Please select a model",language_select_tips:"Please select a language",submit:"Submit",close:"Close",start_model_success:"Start model success",download_model_tip:"Please download model first.",Plugins:"Plugins",try_again:"Try again",no_data:"No data",Open_Sidebar:"Unfold",verify:"Verify",cancel:"Cancel",Edit_Success:"Edit Success",Add:"Add",Add_Success:"Add Success",Error_Message:"Something Error",Please_Input:"Please Input",Prompt_Info_Scene:"Scene",Prompt_Info_Sub_Scene:"Sub Scene",Prompt_Info_Name:"Name",Prompt_Info_Content:"Content",Public:"Public",Private:"Private",Lowest:"Lowest",Missed:"Missed",Lost:"Lost",Incorrect:"Incorrect",Verbose:"Verbose",Best:"Best",Rating:"Rating",Q_A_Category:"Q&A Category",Q_A_Rating:"Q&A Rating",feed_back_desc:"0: No results\n1: Results exist, but they are irrelevant, the question is not understood\n2: Results exist, the question is understood, but it indicates that the question cannot be answered\n3: Results exist, the question is understood, and an answer is given, but the answer is incorrect\n4: Results exist, the question is understood, the answer is correct, but it is verbose and lacks a summary\n5: Results exist, the question is understood, the answer is correct, the reasoning is correct, and a summary is provided, concise and to the point\n",input_count:"Total input",input_unit:"characters",Click_Select:"Click&Select",Quick_Start:"Quick Start",Select_Plugins:"Select Plugins",Search:"Search",Update_From_Github:"Upload From Github",Reset:"Reset",Upload:"Upload",Market_Plugins:"Market Plugin",My_Plugins:"My Plugins",Del_Knowledge_Tips:"Do you want delete the Space",Del_Document_Tips:"Do you want delete the Document",Tips:"Tips",Limit_Upload_File_Count_Tips:"Only one file can be uploaded at a time",To_Plugin_Market:"Go to the Plugin Market",Summary:"Summary",stacked_column_chart:"Stacked Column",column_chart:"Column",percent_stacked_column_chart:"Percent Stacked Column",grouped_column_chart:"Grouped Column",time_column:"Time Column",pie_chart:"Pie",line_chart:"Line",area_chart:"Area",stacked_area_chart:"Stacked Area",scatter_plot:"Scatter",bubble_chart:"Bubble",stacked_bar_chart:"Stacked Bar",bar_chart:"Bar",percent_stacked_bar_chart:"Percent Stacked Bar",grouped_bar_chart:"Grouped Bar",water_fall_chart:"Waterfall",table:"Table",multi_line_chart:"Multi Line",multi_measure_column_chart:"Multi Measure Column",multi_measure_line_chart:"Multi Measure Line",Advices:"Advices",Retry:"Retry",Load_more:"load more",new_chat:"New Chat",choice_agent_tip:"Please choose an agent",no_context_tip:"Please enter your question",Terminal:"Terminal",used_apps:"Used Apps",app_in_mind:"Don't have an app in mind? to",explore:"Explore",Discover_more:"Discove more",sdk_insert:"SDK Insert",my_apps:"My Apps",awel_flow:"AWEL Flow",save:"Save",add_node:"Add Node",no_node:"No Node",connect_warning:"Nodes cannot be connected",flow_modal_title:"Save Flow",flow_name:"Flow Name",flow_description:"Flow Description",flow_name_required:"Please enter the flow name",flow_description_required:"Please enter the flow description",save_flow_success:"Save flow success",delete_flow_confirm:"Are you sure you want to delete this flow?",related_nodes:"Related Nodes",add_resource:"Add Resource",team_modal:"Work Modal",App:"App",resource_name:"Resource Name",resource_type:"Resource Type",resource_value:"Value",resource_dynamic:"Dynamic",Please_input_the_work_modal:"Please select the work modal",available_resources:" Available Resources",edit_new_applications:"Edit new applications",collect:"Collect",collected:"Collected",create:"Create",Agents:"Agents",edit_application:"edit application",add_application:"add application",app_name:"App Name",input_app_name:"Please enter the application name",LLM_strategy:"LLM Strategy",LLM_strategy_value:"LLM Strategy Value",please_select_LLM_strategy:"Please select LLM strategy",please_select_LLM_strategy_value:"Please select LLM strategy value",resource:"Resource",operators:"Operators",Chinese:"Chinese",English:"English",docs:"Docs",apps:"All Apps",please_enter_the_keywords:"Please enter the keywords",input_tip:"Please select the model and enter the description to start quickly",create_app:"Create App",copy_url:"Click the Copy Share link",double_click_open:"Double click on Nail nail to open",construct:" Construct App",chat_online:"Chat",recommend_apps:"Recommend",all_apps:"All",latest_apps:"Latest",my_collected_apps:"Collected",collect_success:"Collect success",cancel_success:"Cancel success",published:"Published",unpublished:"Unpublished",start_chat:"Chat",native_app:"Native app",temperature:"Temperature",create_flow:"Create flow",update:"Update",native_type:"App type",refreshSuccess:"Refresh Success",Download:"Download",app_type_select:"Please select app type",please_select_param:"Please select parameters",please_select_model:"Please select model",please_input_temperature:"Please input the temperature value",select_workflow:"Select workflow",please_select_workflow:"Please select workflow",recommended_questions:"Recommended questions",question:"Question",please_input_recommended_questions:"Please input recommendation question",is_effective:"Whether to enable",add_question:"Add question",update_success:"Update successful",update_failed:"Update failed",please_select_prompt:"Please select a prompt",details:"Details",choose:"Choose",please_choose:"Please choose",want_delete:"Are you sure delete it?",success:"Success",input_parameter:"Input parameter",output_structure:"Output structure",User_input:"User input",LLM_test:"LLM test",Output_verification:"Output verification",select_scene:"Please select a scene",select_type:"Please select a type",Please_complete_the_input_parameters:"Please complete the input parameters",Please_fill_in_the_user_input:"Please fill in the user input",help:"I can help you:",Refresh_status:"Refresh status",Recall_test:"Recall test",synchronization:"One-key synchronization",Synchronization_initiated:"Synchronization has been initiated, please wait",Edit_document:"Edit document",Document_name:"Document name",Correlation_problem:"Correlation problem",Add_problem:"Add problem",New_knowledge_base:"New knowledge base",yuque:"yuque document",Get_yuque_document:"Get the contents of the Sparrow document",document_url:"Document address",input_document_url:"Please enter the document address",Get_token:"Please obtain the team knowledge base token first",Reference_link:"Reference link",document_token:"Document token",input_document_token:"Please enter document token",input_question:"Please enter a question",detail:"Detail",Manual_entry:"Manual entry",Data_content:"Data content",Main_content:"Main content",Auxiliary_data:"Auxiliary data",enter_question_first:"Please enter the question first",unpublish:"Unpublish",publish:"Publish",Update_successfully:"Update successfully",Create_successfully:"Create successfully",Update_failure:"Update failure",Create_failure:"Create failure",View_details:"View details",All:"All",Please_input_prompt_name:"Please input prompt name",Copy_Btn:"Copy",Delete_Btn:"Delete",dbgpts_community:"DBGPTS Community",community_dbgpts:"Community DBGPTS",my_dbgpts:"My DBGPTS",Refresh_dbgpts:"Refresh from the community Git repository",workflow:"Workflow",resources:"Resources",app:"App"}},zh:{translation:{dialog_list:"对话列表",delete_chat:"删除会话",delete_chat_confirm:"您确认要删除会话吗?",input_tips:"可以问我任何问题,shift + Enter 换行",sent:"发送",answer_again:"重新回答",feedback_tip:"描述一下具体问题或更优的答案",thinking:"正在思考中",stop_replying:"停止回复",erase_memory:"清除记忆",copy_success:"复制成功",copy_failed:"复制失败",copy_nothing:"内容复制为空",file_tip:"文件上传后无法更改",chat_online:"在线对话",assistant:"平台小助手",model_tip:"当前应用暂不支持模型选择",temperature_tip:"当前应用暂不支持温度配置",extend_tip:"当前应用暂不支持拓展配置",Upload_Data_Successfully:"文件上传成功",Upload_Data_Failed:"文件上传失败",Upload_Data:"上传数据",Code_Editor:"代码编辑器",Open_Code_Editor:"打开代码编辑器",Export_Flow_Success:"导出工作流成功",Import_Flow_Success:"导入工作流成功",Import:"导入",Export:"导出",Import_Flow:"导入工作流",Export_Flow:"导出工作流",Select_File:"选择文件",Save_After_Import:"导入后保存",Export_File_Type:"文件类型",Export_File_Format:"文件格式",Yes:"是",No:"否",Knowledge_Space:"知识库",space:"知识库",Vector:"向量",Owner:"创建人",Count:"文档数",File_type_Invalid:"文件类型错误",Knowledge_Space_Config:"知识库配置",Choose_a_Datasource_type:"知识库类型",Segmentation:"分片",No_parameter:"不需要配置分片参数",Knowledge_Space_Name:"知识库名称",Please_input_the_name:"请输入名称",Please_input_the_owner:"请输入创建人",Please_select_file:"请至少选择一个文件",Description:"描述",Storage:"存储类型",Domain:"领域类型",Please_input_the_description:"请输入描述",Please_select_the_storage:"请选择存储类型",Please_select_the_domain_type:"请选择领域类型",Next:"下一步",the_name_can_only_contain:"名称只能包含数字、字母、中文字符、-或_",Text:"文本","Fill your raw text":"填写您的原始文本",URL:"网址",Fetch_the_content_of_a_URL:"获取 URL 的内容",Document:"文档",Upload_a_document:"上传文档,文档类型可以是PDF、CSV、Text、PowerPoint、Word、Markdown、Zip",Name:"名称",Text_Source:"文本来源(可选)",Please_input_the_text_source:"请输入文本来源",Sync:"同步",Back:"上一步",Finish:"完成",Web_Page_URL:"网页网址",Please_input_the_Web_Page_URL:"请输入网页网址",Select_or_Drop_file:"选择或拖拽文件",Documents:"文档",Chat:"对话",Add_Datasource:"添加数据源",View_Graph:"查看图谱",Arguments:"参数",Type:"类型",Size:"切片",Last_Sync:"上次同步时间",Status:"状态",Result:"结果",Details:"明细",Delete:"删除",Operation:"操作",Submit:"提交",close:"关闭",Chunks:"切片",Content:"内容",Meta_Data:"元数据",Please_select_a_file:"请上传一个文件",Please_input_the_text:"请输入文本",Embedding:"嵌入",topk:"TopK",the_top_k_vectors:"基于相似度得分的前 k 个向量",recall_score:"召回分数",Set_a_threshold_score:"设置相似向量检索的阈值分数",recall_type:"召回类型",model:"模型",A_model_used:"用于创建文本或其他数据的矢量表示的模型",Automatic:"自动切片",Process:"切片处理",Automatic_desc:"自动设置分割和预处理规则。",chunk_size:"块大小",The_size_of_the_data_chunks:"处理中使用的数据块的大小",chunk_overlap:"块重叠",The_amount_of_overlap:"相邻数据块之间的重叠量",scene:"场景",A_contextual_parameter:"用于定义使用提示的设置或环境的上下文参数",template:"模板",structure_or_format:"预定义的提示结构或格式,有助于确保人工智能系统生成与所需风格或语气一致的响应。",max_token:"最大令牌",max_iteration:"最大迭代",concurrency_limit:"并发限制",The_maximum_number_of_tokens:"提示中允许的最大标记或单词数",Theme:"主题",Port:"端口",Username:"用户名",Password:"密码",Remark:"备注",Edit:"编辑",Database:"数据源",Data_Source:"数据中心",Close_Sidebar:"收起",Show_Sidebar:"展开",language:"语言",choose_model:"请选择一个模型",data_center_desc:"DB-GPT支持数据库交互和基于文档的对话,它还提供了一个用户友好的数据中心管理界面。",create_database:"创建数据库",create_knowledge:"创建知识库",create_flow:"创建工作流",path:"路径",model_manage:"模型管理",stop_model_success:"模型停止成功",create_model:"创建模型",model_select_tips:"请选择一个模型",submit:"提交",start_model_success:"启动模型成功",download_model_tip:"请先下载模型!",Plugins:"插件列表",try_again:"刷新重试",no_data:"暂无数据",Prompt:"提示词",Open_Sidebar:"展开",verify:"确认",cancel:"取消",Edit_Success:"编辑成功",Add:"新增",Add_Success:"新增成功",Error_Message:"出错了",Please_Input:"请输入",Prompt_Info_Scene:"场景",Prompt_Info_Sub_Scene:"次级场景",Prompt_Info_Name:"名称",Prompt_Info_Content:"内容",Public:"公共",Private:"私有",Lowest:"渣渣",Missed:"没理解",Lost:"答不了",Incorrect:"答错了",Verbose:"较啰嗦",Best:"真棒",Rating:"评分",Q_A_Category:"问答类别",Q_A_Rating:"问答评分",feed_back_desc:"0: 无结果\n1: 有结果,但是在文不对题,没有理解问题\n2: 有结果,理解了问题,但是提示回答不了这个问题\n3: 有结果,理解了问题,并做出回答,但是回答的结果错误\n4: 有结果,理解了问题,回答结果正确,但是比较啰嗦,缺乏总结\n5: 有结果,理解了问题,回答结果正确,推理正确,并给出了总结,言简意赅\n",input_count:"共计输入",input_unit:"字",Click_Select:"点击选择",Quick_Start:"快速开始",Select_Plugins:"选择插件",Search:"搜索",Reset:"重置",Update_From_Github:"更新Github插件",Upload:"上传",Market_Plugins:"插件市场",My_Plugins:"我的插件",Del_Knowledge_Tips:"你确定删除该知识库吗",Del_Document_Tips:"你确定删除该文档吗",Tips:"提示",Limit_Upload_File_Count_Tips:"一次只能上传一个文件",To_Plugin_Market:"前往插件市场",Summary:"总结",stacked_column_chart:"堆叠柱状图",column_chart:"柱状图",percent_stacked_column_chart:"百分比堆叠柱状图",grouped_column_chart:"簇形柱状图",time_column:"簇形柱状图",pie_chart:"饼图",line_chart:"折线图",area_chart:"面积图",stacked_area_chart:"堆叠面积图",scatter_plot:"散点图",bubble_chart:"气泡图",stacked_bar_chart:"堆叠条形图",bar_chart:"条形图",percent_stacked_bar_chart:"百分比堆叠条形图",grouped_bar_chart:"簇形条形图",water_fall_chart:"瀑布图",table:"表格",multi_line_chart:"多折线图",multi_measure_column_chart:"多指标柱形图",multi_measure_line_chart:"多指标折线图",Advices:"自动推荐",Retry:"重试",Load_more:"加载更多",new_chat:"创建会话",choice_agent_tip:"请选择代理",no_context_tip:"请输入你的问题",Terminal:"终端",used_apps:"最近使用",app_in_mind:"没有心仪的应用?去",explore:"探索广场",Discover_more:"发现更多",sdk_insert:"SDK接入",my_apps:"我的应用",awel_flow:"AWEL 工作流",save:"保存",add_node:"添加节点",no_node:"没有可编排节点",connect_warning:"节点无法连接",flow_modal_title:"保存工作流",flow_name:"工作流名称",flow_description:"工作流描述",flow_name_required:"请输入工作流名称",flow_description_required:"请输入工作流描述",save_flow_success:"保存工作流成功",delete_flow_confirm:"确定删除该工作流吗?",related_nodes:"关联节点",language_select_tips:"请选择语言",add_resource:"添加资源",team_modal:"工作模式",App:"应用程序",resource:"资源",resource_name:"资源名",resource_type:"资源类型",resource_value:"参数",resource_dynamic:"动态",Please_input_the_work_modal:"请选择工作模式",available_resources:"可用资源",edit_new_applications:"编辑新的应用",collect:"收藏",collected:"已收藏",create:"创建",Agents:"智能体",edit_application:"编辑应用",add_application:"添加应用",app_name:"应用名称",input_app_name:"请输入应用名称",LLM_strategy:"模型策略",please_select_LLM_strategy:"请选择模型策略",LLM_strategy_value:"模型策略参数",please_select_LLM_strategy_value:"请选择模型策略参数",operators:"算子",Chinese:"中文",English:"英文",docs:"文档",apps:"全部",please_enter_the_keywords:"请输入关键词",input_tip:"请选择模型,输入描述快速开始",create_app:"创建应用",copy_url:"单击复制分享链接",double_click_open:"双击钉钉打开",construct:"应用管理",chat_online:"在线对话",recommend_apps:"热门推荐",all_apps:"全部应用",latest_apps:"最新应用",my_collected_apps:"我的收藏",collect_success:"收藏成功",cancel_success:"取消成功",published:"已发布",unpublished:"未发布",start_chat:"开始对话",native_app:"原生应用",native_type:"应用类型",temperature:"温度",update:"更新",refreshSuccess:"刷新成功",Download:"下载",app_type_select:"请选择应用类型",please_select_param:"请选择参数",please_select_model:"请选择模型",please_input_temperature:"请输入temperature值",select_workflow:"选择工作流",please_select_workflow:"请选择工作流",recommended_questions:"推荐问题",question:"问题",please_input_recommended_questions:"请输入推荐问题",is_effective:"是否生效",add_question:"添加问题",update_success:"更新成功",update_failed:"更新失败",please_select_prompt:"请选择一个提示词",details:"详情",choose:"选择",please_choose:"请先选择",want_delete:"你确定要删除吗?",success:"成功",input_parameter:"输入参数",output_structure:"输出结构",User_input:"用户输入",LLM_test:"LLM测试",Output_verification:"输出验证",select_scene:"请选择场景",select_type:"请选择类型",Please_complete_the_input_parameters:"请填写完整的输入参数",Please_fill_in_the_user_input:"请填写用户输入内容",help:"我可以帮您:",Refresh_status:"刷新状态",Recall_test:"召回测试",synchronization:"一键同步",Synchronization_initiated:"同步已发起,请稍后",Edit_document:"编辑文档",Document_name:"文档名",Correlation_problem:"关联问题",Add_problem:"添加问题",New_knowledge_base:"新增知识库",yuque:"语雀文档",Get_yuque_document:"获取语雀文档的内容",document_url:"文档地址",input_document_url:"请输入文档地址",Get_token:"请先获取团队知识库token,token获取",Reference_link:"参考链接",document_token:"文档token",input_document_token:"请输入文档token",input_question:"请输入问题",detail:"详情",Manual_entry:"手动录入",Data_content:"数据内容",Main_content:"主要内容",Auxiliary_data:"辅助数据",enter_question_first:"请先输入问题",unpublish:"取消发布",publish:"发布应用",Update_successfully:"更新成功",Create_successfully:"创建成功",Update_failure:"更新失败",Create_failure:"创建失败",View_details:"查看详情",All:"全部",Please_input_prompt_name:"请输入prompt名称",Copy_Btn:"复制",Delete_Btn:"删除",dbgpts_community:"DBGPTS社区",community_dbgpts:"社区DBGPTS",my_dbgpts:"我的DBGPTS",Refresh_dbgpts:"从社区Git仓库刷新",workflow:"工作流",resources:"资源",app:"应用"}}},lng:"en",interpolation:{escapeValue:!1}});var i=r.ZP},89546:function(e,t,n){"use strict";n.d(t,{A:function(){return o},Ir:function(){return s},Jr:function(){return i},Ty:function(){return l},zx:function(){return a}});var r=n(76212);let o=e=>(0,r.HT)("/api/v1/question/list",e),i=()=>(0,r.HT)("/api/v1/conv/feedback/reasons"),a=e=>(0,r.a4)("/api/v1/conv/feedback/add",e),s=e=>(0,r.a4)("/api/v1/conv/feedback/cancel",e),l=e=>(0,r.a4)("/api/v1/chat/topic/terminate?conv_id=".concat(e.conv_id,"&round_index=").concat(e.round_index),e)},76212:function(e,t,n){"use strict";n.d(t,{yY:function(){return tN},HT:function(){return tO},a4:function(){return tp},uO:function(){return th},L5:function(){return eH},H_:function(){return V},zd:function(){return eA},Jm:function(){return ey},Hy:function(){return e3},be:function(){return $},TT:function(){return ez},Vx:function(){return _},Ir:function(){return eG.Ir},fU:function(){return e1},zR:function(){return G},mo:function(){return e_},kg:function(){return td},Nl:function(){return ex},$E:function(){return ti},MX:function(){return F},n3:function(){return z},Wd:function(){return tl},XK:function(){return q},Jq:function(){return eh},$j:function(){return e5},Ug:function(){return ta},XI:function(){return ts},k7:function(){return eq},zx:function(){return eG.zx},j8:function(){return ek},GQ:function(){return ej},BN:function(){return eP},yk:function(){return eY},Vd:function(){return eV},m9:function(){return eZ},Tu:function(){return H},Eb:function(){return ef},Lu:function(){return ed},$i:function(){return x},gV:function(){return K},iZ:function(){return W},a$:function(){return tt},Bw:function(){return g},t$:function(){return L},H4:function(){return eT},iP:function(){return M},_Q:function(){return k},Wm:function(){return tc},Jr:function(){return eG.Jr},_d:function(){return eO},As:function(){return eN},Wf:function(){return eS},Kt:function(){return tE},fZ:function(){return J},tM:function(){return eW},xA:function(){return e7},RX:function(){return e$},Q5:function(){return eg},mB:function(){return ew},Vm:function(){return Y},B3:function(){return tT},bf:function(){return eb},xv:function(){return et},lz:function(){return eF},Vw:function(){return D},_Y:function(){return em},Gn:function(){return e9},U2:function(){return eD},sW:function(){return C},DM:function(){return eo},v6:function(){return el},N6:function(){return ea},bC:function(){return en},YU:function(){return eE},VC:function(){return eR},qn:function(){return w},vD:function(){return U},b_:function(){return P},J5:function(){return v},mR:function(){return y},KS:function(){return b},zE:function(){return ei},Al:function(){return ec},YP:function(){return es},uf:function(){return er},l_:function(){return eu},GU:function(){return e6},pm:function(){return e4},b1:function(){return eL},WA:function(){return e2},UO:function(){return eQ},Y2:function(){return e0},Pg:function(){return eJ},mW:function(){return eM},ks:function(){return eI},iH:function(){return B},ey:function(){return eK},YK:function(){return tu},vA:function(){return ee},kU:function(){return Q},Ty:function(){return eG.Ty},KL:function(){return j},Hx:function(){return Z},gD:function(){return eC},Fq:function(){return ev},KT:function(){return eB},p$:function(){return eX},w_:function(){return tf},ao:function(){return ep},Yp:function(){return eU},Fu:function(){return e8},Xx:function(){return tn},h:function(){return tr},L$:function(){return to},iG:function(){return X}});var r,o=n(62418),i=n(25519),a=n(87066);let{Axios:s,AxiosError:l,CanceledError:c,isCancel:E,CancelToken:u,VERSION:T,all:d,Cancel:f,isAxiosError:R,spread:A,toFormData:S,AxiosHeaders:O,HttpStatusCode:p,formToJSON:h,getAdapter:N,mergeConfig:I}=a.default;var m=n(26855);let _=(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;m.ZP.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=>{let t=e.message;if(e instanceof l)try{let{err_msg:n}=JSON.parse(e.request.response);n&&(t=n)}catch(e){}return m.ZP.error({message:"Request error",description:t}),[e,null,null,null]}),C=e=>tp("/api/v1/chat/dialogue/new?chat_mode=".concat(e.chat_mode,"&model_name=").concat(e.model),e),g=()=>tO("/api/v1/chat/db/list"),L=()=>tO("/api/v1/chat/db/support/type"),v=e=>tp("/api/v1/chat/db/delete?db_name=".concat(e)),y=e=>tp("/api/v1/chat/db/edit",e),P=e=>tp("/api/v1/chat/db/add",e),b=e=>tp("/api/v1/chat/db/test/connect",e),M=()=>tO("/api/v1/chat/dialogue/list"),D=()=>tO("/api/v1/model/types"),U=e=>tp("/api/v1/chat/mode/params/list?chat_mode=".concat(e)),x=e=>tO("/api/v1/chat/dialogue/messages/history?con_uid=".concat(e)),w=e=>{let{convUid:t,chatMode:n,data:r,config:o,model:i,userName:a,sysCode:s}=e;return tp("/api/v1/resource/file/upload?conv_uid=".concat(t,"&chat_mode=").concat(n,"&model_name=").concat(i,"&user_name=").concat(a,"&sys_code=").concat(s),r,{headers:{"Content-Type":"multipart/form-data"},...o})},G=e=>tp("/api/v1/chat/dialogue/clear?con_uid=".concat(e)),F=e=>tp("/api/v1/chat/dialogue/delete?con_uid=".concat(e)),H=e=>tp("/knowledge/".concat(e,"/arguments"),{}),B=(e,t)=>tp("/knowledge/".concat(e,"/argument/save"),t),Y=e=>tp("/knowledge/space/list",e),k=(e,t)=>tp("/knowledge/".concat(e,"/document/list"),t),V=(e,t)=>tp("/knowledge/".concat(e,"/document/add"),t),$=e=>tp("/knowledge/space/add",e),W=()=>tO("/knowledge/document/chunkstrategies"),Z=(e,t)=>tp("/knowledge/".concat(e,"/document/sync"),t),j=(e,t)=>tp("/knowledge/".concat(e,"/document/sync_batch"),t),X=(e,t)=>tp("/knowledge/".concat(e,"/document/upload"),t),K=(e,t)=>tp("/knowledge/".concat(e,"/chunk/list"),t),z=(e,t)=>tp("/knowledge/".concat(e,"/document/delete"),t),q=e=>tp("/knowledge/space/delete",e),J=()=>tO("/api/v1/worker/model/list"),Q=e=>tp("/api/v1/worker/model/stop",e),ee=e=>tp("/api/v1/worker/model/start",e),et=()=>tO("/api/v1/worker/model/params"),en=e=>tp("/api/v1/agent/query",e),er=e=>tp("/api/v1/serve/dbgpts/hub/query_page?page=".concat(null==e?void 0:e.page_index,"&page_size=").concat(null==e?void 0:e.page_size),e),eo=e=>tp("/api/v1/agent/hub/update",null!=e?e:{channel:"",url:"",branch:"",authorization:""}),ei=e=>tp("/api/v1/serve/dbgpts/hub/source/refresh",null!=e?e:{channel:"",url:"",branch:"",authorization:""}),ea=e=>tp("/api/v1/agent/my",void 0,{params:{user:e}}),es=e=>tp("/api/v1/serve/dbgpts/my/query_page?page=".concat(null==e?void 0:e.page_index,"&page_size=").concat(null==e?void 0:e.page_size),e),el=(e,t)=>tp("/api/v1/agent/install",void 0,{params:{plugin_name:e,user:t},timeout:6e4}),ec=(e,t)=>tp("/api/v1/serve/dbgpts/hub/install",e,{params:{user:t},timeout:6e4}),eE=(e,t)=>tp("/api/v1/agent/uninstall",void 0,{params:{plugin_name:e,user:t},timeout:6e4}),eu=(e,t)=>tp("/api/v1/serve/dbgpts/my/uninstall",void 0,{params:{...e,user:t},timeout:6e4}),eT=()=>tO("/api/v1/dbgpts/list"),ed=()=>tO("/api/v1/feedback/select",void 0),ef=(e,t)=>tO("/api/v1/feedback/find?conv_uid=".concat(e,"&conv_index=").concat(t),void 0),eR=e=>{let{data:t,config:n}=e;return tp("/api/v1/feedback/commit",t,{headers:{"Content-Type":"application/json"},...n})},eA=e=>tp("/api/v2/serve/awel/flows",e),eS=e=>{let{page:t,page_size:n}=e;return tO("/api/v2/serve/awel/flows?page=".concat(t||1,"&page_size=").concat(n||12))},eO=e=>tO("/api/v2/serve/awel/flows/".concat(e)),ep=(e,t)=>th("/api/v2/serve/awel/flows/".concat(e),t),eh=e=>tN("/api/v2/serve/awel/flows/".concat(e)),eN=()=>tO("/api/v2/serve/awel/nodes"),eI=e=>tp("/api/v2/serve/awel/nodes/refresh",e),em=e=>tp("/api/v2/serve/awel/flow/import",e),e_=e=>tp("/api/v1/app/collect",e),eC=e=>tp("/api/v1/app/uncollect",e),eg=()=>tO("/api/v1/resource-type/list"),eL=e=>tp("/api/v1/app/publish",{app_code:e}),ev=e=>tp("/api/v1/app/unpublish",{app_code:e}),ey=e=>tp("/api/v1/chat/db/add",e),eP=e=>tO("/api/v1/app/info",e),eb=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return tO("/api/v1/permission/db/list?db_name=".concat(e))},eM=e=>tp("/api/v1/app/hot/list",e),eD=e=>tp("/api/controller/models",e),eU=e=>tp("/knowledge/users/update",e),ex=e=>tp("/api/v1/app/remove",e),ew=()=>tO("/knowledge/space/config");var eG=n(89546);let eF=()=>tO("/api/v1/team-mode/list"),eH=e=>tp("/api/v1/app/create",e),eB=e=>tp("/api/v1/app/edit",e),eY=e=>tp("/api/v1/app/list?page=".concat(e.page||1,"&page_size=").concat(e.page_size||12),e),ek=()=>tO("/api/v1/agents/list",{}),eV=()=>tO("/api/v1/llm-strategy/list"),e$=e=>tO("/api/v1/app/resources/list?type=".concat(e.type)),eW=()=>tO("/api/v1/native_scenes"),eZ=e=>tO("/api/v1/llm-strategy/value/list?type=".concat(e)),ej=e=>tO("/api/v1/app/".concat(e,"/admins")),eX=e=>tp("/api/v1/app/admins/update",e),eK=(e,t)=>tp("/knowledge/".concat(e,"/document/list"),t),ez=e=>tp("/knowledge/".concat(e.space_name,"/document/yuque/add"),e),eq=(e,t)=>tp("/knowledge/".concat(e,"/document/edit"),t),eJ=e=>tO("/knowledge/".concat(e,"/recommend_questions")),eQ=e=>tO("/knowledge/".concat(e,"/recall_retrievers")),e0=(e,t)=>tp("/knowledge/".concat(t,"/recall_test"),e),e1=e=>tp("/knowledge/questions/chunk/edit",e),e2=e=>[],e4=e=>tO("/prompt/type/targets?prompt_type=".concat(e)),e6=e=>tp("/prompt/template/load?prompt_type=".concat(e.prompt_type,"&target=").concat(e.target),e),e3=e=>tp("/prompt/add",e),e8=e=>tp("/prompt/update",e),e5=e=>tp("/prompt/delete",e),e7=e=>tp("/prompt/query_page?page=".concat(e.page,"&page_size=").concat(e.page_size),e),e9=e=>tp("/prompt/response/verify",e),te=(0,o.n5)(),tt=e=>tO("/api/v1/evaluate/datasets",e,{headers:{"user-id":te}}),tn=e=>tp("/api/v1/evaluate/dataset/upload",e,{headers:{"user-id":te,"Content-Type":"multipart/form-data"}}),tr=e=>tp("/api/v1/evaluate/dataset/upload/content",e,{headers:{"user-id":te}}),to=e=>tp("/api/v1/evaluate/dataset/upload/file",e,{headers:{"user-id":te,"Content-Type":"multipart/form-data"}}),ti=e=>tN("/api/v1/evaluate/dataset",e,{headers:{"user-id":te}}),ta=e=>tO("/api/v1/evaluate/dataset/download",e,{headers:{"user-id":te,"Content-Type":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},responseType:"blob"}),ts=e=>tO("/api/v1/evaluate/evaluation/result/download",e,{headers:{"user-id":te,"Content-Type":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},responseType:"blob"}),tl=e=>tN("/api/v1/evaluate/evaluation",e,{headers:{"user-id":te}}),tc=e=>tO("/api/v1/evaluate/evaluations",e,{headers:{"user-id":te}}),tE=e=>tO("/api/v1/evaluate/metrics",e,{headers:{"user-id":te}}),tu=e=>tO("/api/v1/evaluate/evaluation/detail/show",e,{headers:{"user-id":te}}),tT=()=>tO("/api/v1/evaluate/storage/types",void 0,{headers:{"user-id":te}}),td=e=>tp("/api/v1/evaluate/start",e,{headers:{"user-id":te}}),tf=e=>tp("/api/v1/evaluate/dataset/members/update",e,{headers:{"user-id":te}});var tR=n(83454);let tA=a.default.create({baseURL:null!==(r=tR.env.API_BASE_URL)&&void 0!==r?r:""}),tS=["/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"];tA.interceptors.request.use(e=>{let t=tS.some(t=>e.url&&e.url.indexOf(t)>=0);return e.timeout||(e.timeout=t?6e4:1e5),e.headers.set(i.gp,(0,o.n5)()),e});let tO=(e,t,n)=>tA.get(e,{params:t,...n}),tp=(e,t,n)=>tA.post(e,t,n),th=(e,t,n)=>tA.put(e,t,n),tN=(e,t,n)=>tA.delete(e,{params: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 E},RD:function(){return a},In:function(){return o},zM:function(){return i},je:function(){return s},DL:function(){return l},si:function(){return c},FD:function(){return u},qw:function(){return p},s2:function(){return R},FE:function(){return h.Z},Rp:function(){return A},IN:function(){return T},tu:function(){return S},ig:function(){return d},ol:function(){return f},bn:function(){return O}});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"})]})},s=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"})]})},l=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"})})},E=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"})]})},u=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"})})},T=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"})})},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:"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"})})},f=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 R(){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 A(){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 S(){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 O(){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 p(){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 h=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 d},useSearchParams:function(){return f},usePathname:function(){return R},ServerInsertedHTMLContext:function(){return l.ServerInsertedHTMLContext},useServerInsertedHTML:function(){return l.useServerInsertedHTML},useRouter:function(){return A},useParams:function(){return S},useSelectedLayoutSegments:function(){return O},useSelectedLayoutSegment:function(){return p},redirect:function(){return c.redirect},notFound:function(){return E.notFound}});let r=n(67294),o=n(27473),i=n(35802),a=n(32665),s=n(43512),l=n(98751),c=n(96885),E=n(86323),u=Symbol("internal for urlsearchparams readonly");function T(){return Error("ReadonlyURLSearchParams cannot be modified")}class d{[Symbol.iterator](){return this[u][Symbol.iterator]()}append(){throw T()}delete(){throw T()}set(){throw T()}sort(){throw T()}constructor(e){this[u]=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 f(){(0,a.clientHookInServerComponentError)("useSearchParams");let e=(0,r.useContext)(i.SearchParamsContext),t=(0,r.useMemo)(()=>e?new d(e):null,[e]);return t}function R(){return(0,a.clientHookInServerComponentError)("usePathname"),(0,r.useContext)(i.PathnameContext)}function A(){(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 S(){(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 O(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 l=i[0],c=(0,s.getSegmentValue)(l);return!c||c.startsWith("__PAGE__")?o:(o.push(c),e(i,n,!1,o))}(t,e)}function p(e){void 0===e&&(e="children"),(0,a.clientHookInServerComponentError)("useSelectedLayoutSegment");let t=O(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 s},redirect:function(){return l},isRedirectError:function(){return c},getURLFromRedirectError:function(){return E},getRedirectTypeFromError:function(){return u}});let i=n(68214),a="NEXT_REDIRECT";function s(e,t){let n=Error(a);n.digest=a+";"+t+";"+e;let r=i.requestAsyncStorage.getStore();return r&&(n.mutableCookies=r.mutableCookies),n}function l(e,t){throw void 0===t&&(t="replace"),s(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 E(e){return c(e)?e.digest.split(";",3)[2]:null}function u(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 s},ACTION_PREFETCH:function(){return l},ACTION_FAST_REFRESH:function(){return c},ACTION_SERVER_ACTION:function(){return E}});let o="refresh",i="navigate",a="restore",s="server-patch",l="prefetch",c="fast-refresh",E="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 O}});let r=n(38754),o=n(61757),i=o._(n(67294)),a=r._(n(68965)),s=n(38083),l=n(2478),c=n(76226);n(59941);let E=r._(n(31720)),u={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 T(e){return void 0!==e.default}function d(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 f(e,t,n,r,o,i,a){if(!e||e["data-loaded-src"]===t)return;e["data-loaded-src"]=t;let s="decode"in e?e.decode():Promise.resolve();s.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 R(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 A=(0,i.forwardRef)((e,t)=>{let{imgAttributes:n,heightInt:r,widthInt:o,qualityInt:a,className:s,imgStyle:l,blurStyle:c,isLazy:E,fetchPriority:u,fill:T,placeholder:d,loading:A,srcString:S,config:O,unoptimized:p,loader:h,onLoadRef:N,onLoadingCompleteRef:I,setBlurComplete:m,setShowAltText:_,onLoad:C,onError:g,...L}=e;return A=E?"lazy":A,i.default.createElement("img",{...L,...R(u),loading:A,width:o,height:r,decoding:"async","data-nimg":T?"fill":"1",className:s,style:{...l,...c},...n,ref:(0,i.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(g&&(e.src=e.src),e.complete&&f(e,S,d,N,I,m,p))},[S,d,N,I,m,g,p,t]),onLoad:e=>{let t=e.currentTarget;f(t,S,d,N,I,m,p)},onError:e=>{_(!0),"blur"===d&&m(!0),g&&g(e)}})}),S=(0,i.forwardRef)((e,t)=>{var n;let r,o,{src:f,sizes:S,unoptimized:O=!1,priority:p=!1,loading:h,className:N,quality:I,width:m,height:_,fill:C,style:g,onLoad:L,onLoadingComplete:v,placeholder:y="empty",blurDataURL:P,fetchPriority:b,layout:M,objectFit:D,objectPosition:U,lazyBoundary:x,lazyRoot:w,...G}=e,F=(0,i.useContext)(c.ImageConfigContext),H=(0,i.useMemo)(()=>{let e=u||F||l.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}},[F]),B=G.loader||E.default;delete G.loader;let Y="__next_img_default"in B;if(Y){if("custom"===H.loader)throw Error('Image with src "'+f+'" 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(M){"fill"===M&&(C=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[M];e&&(g={...g,...e});let t={responsive:"100vw",fill:"100vw"}[M];t&&!S&&(S=t)}let k="",V=d(m),$=d(_);if("object"==typeof(n=f)&&(T(n)||void 0!==n.src)){let e=T(f)?f.default:f;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,P=P||e.blurDataURL,k=e.src,!C){if(V||$){if(V&&!$){let t=V/e.width;$=Math.round(e.height*t)}else if(!V&&$){let t=$/e.height;V=Math.round(e.width*t)}}else V=e.width,$=e.height}}let W=!p&&("lazy"===h||void 0===h);(!(f="string"==typeof f?f:k)||f.startsWith("data:")||f.startsWith("blob:"))&&(O=!0,W=!1),H.unoptimized&&(O=!0),Y&&f.endsWith(".svg")&&!H.dangerouslyAllowSVG&&(O=!0),p&&(b="high");let[Z,j]=(0,i.useState)(!1),[X,K]=(0,i.useState)(!1),z=d(I),q=Object.assign(C?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:D,objectPosition:U}:{},X?{}:{color:"transparent"},g),J="blur"===y&&P&&!Z?{backgroundSize:q.objectFit||"cover",backgroundPosition:q.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:'url("data:image/svg+xml;charset=utf-8,'+(0,s.getImageBlurSvg)({widthInt:V,heightInt:$,blurWidth:r,blurHeight:o,blurDataURL:P,objectFit:q.objectFit})+'")'}:{},Q=function(e){let{config:t,src:n,unoptimized:r,width:o,quality:i,sizes:a,loader:s}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,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),E=l.length-1;return{sizes:a||"w"!==c?a:"100vw",srcSet:l.map((e,r)=>s({config:t,src:n,quality:i,width:e})+" "+("w"===c?e:r+1)+c).join(", "),src:s({config:t,src:n,quality:i,width:l[E]})}}({config:H,src:f,unoptimized:O,width:V,quality:z,sizes:S,loader:B}),ee=f,et=(0,i.useRef)(L);(0,i.useEffect)(()=>{et.current=L},[L]);let en=(0,i.useRef)(v);(0,i.useEffect)(()=>{en.current=v},[v]);let er={isLazy:W,imgAttributes:Q,heightInt:$,widthInt:V,qualityInt:z,className:N,imgStyle:q,blurStyle:J,loading:h,config:H,fetchPriority:b,fill:C,unoptimized:O,placeholder:y,loader:B,srcString:ee,onLoadRef:et,onLoadingCompleteRef:en,setBlurComplete:j,setShowAltText:K,...G};return i.default.createElement(i.default.Fragment,null,i.default.createElement(A,{...er,ref:t}),p?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:G.crossOrigin,referrerPolicy:G.referrerPolicy,...R(b)})):null)}),O=S;("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 h}});let r=n(38754),o=r._(n(67294)),i=n(65722),a=n(65723),s=n(28904),l=n(95514),c=n(27521),E=n(44293),u=n(27473),T=n(81307),d=n(75476),f=n(66318),R=n(29382),A=new Set;function S(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(A.has(i))return;A.add(i)}let s=i?e.prefetch(t,o):e.prefetch(t,n,r);Promise.resolve(s).catch(e=>{})}function O(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}let p=o.default.forwardRef(function(e,t){let n,r;let{href:s,as:A,children:p,prefetch:h=null,passHref:N,replace:I,shallow:m,scroll:_,locale:C,onClick:g,onMouseEnter:L,onTouchStart:v,legacyBehavior:y=!1,...P}=e;n=p,y&&("string"==typeof n||"number"==typeof n)&&(n=o.default.createElement("a",null,n));let b=!1!==h,M=null===h?R.PrefetchKind.AUTO:R.PrefetchKind.FULL,D=o.default.useContext(E.RouterContext),U=o.default.useContext(u.AppRouterContext),x=null!=D?D:U,w=!D,{href:G,as:F}=o.default.useMemo(()=>{if(!D){let e=O(s);return{href:e,as:A?O(A):e}}let[e,t]=(0,i.resolveHref)(D,s,!0);return{href:e,as:A?(0,i.resolveHref)(D,A):t||e}},[D,s,A]),H=o.default.useRef(G),B=o.default.useRef(F);y&&(r=o.default.Children.only(n));let Y=y?r&&"object"==typeof r&&r.ref:t,[k,V,$]=(0,T.useIntersection)({rootMargin:"200px"}),W=o.default.useCallback(e=>{(B.current!==F||H.current!==G)&&($(),B.current=F,H.current=G),k(e),Y&&("function"==typeof Y?Y(e):"object"==typeof Y&&(Y.current=e))},[F,Y,G,$,k]);o.default.useEffect(()=>{x&&V&&b&&S(x,G,F,{locale:C},{kind:M},w)},[F,G,V,C,b,null==D?void 0:D.locale,x,w,M]);let Z={ref:W,onClick(e){y||"function"!=typeof g||g(e),y&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),x&&!e.defaultPrevented&&function(e,t,n,r,i,s,l,c,E,u){let{nodeName:T}=e.currentTarget,d="A"===T.toUpperCase();if(d&&(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)||!E&&!(0,a.isLocalURL)(n)))return;e.preventDefault();let f=()=>{"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:s,locale:c,scroll:l}):t[i?"replace":"push"](r||n,{forceOptimisticNavigation:!u})};E?o.default.startTransition(f):f()}(e,x,G,F,I,m,_,C,w,b)},onMouseEnter(e){y||"function"!=typeof L||L(e),y&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),x&&(b||!w)&&S(x,G,F,{locale:C,priority:!0,bypassPrefetchedCheck:!0},{kind:M},w)},onTouchStart(e){y||"function"!=typeof v||v(e),y&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),x&&(b||!w)&&S(x,G,F,{locale:C,priority:!0,bypassPrefetchedCheck:!0},{kind:M},w)}};if((0,l.isAbsoluteUrl)(F))Z.href=F;else if(!y||N||"a"===r.type&&!("href"in r.props)){let e=void 0!==C?C:null==D?void 0:D.locale,t=(null==D?void 0:D.isLocaleDomain)&&(0,d.getDomainLocale)(F,e,null==D?void 0:D.locales,null==D?void 0:D.domainLocales);Z.href=t||(0,f.addBasePath)((0,c.addLocale)(F,e,null==D?void 0:D.defaultLocale))}return y?o.default.cloneElement(r,Z):o.default.createElement("a",{...P,...Z},n)}),h=p;("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 l}});let r=n(67294),o=n(82997),i="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,c=l||!i,[E,u]=(0,r.useState)(!1),T=(0,r.useRef)(null),d=(0,r.useCallback)(e=>{T.current=e},[]);(0,r.useEffect)(()=>{if(i){if(c||E)return;let e=T.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=s.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},s.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=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&u(e),{root:null==t?void 0:t.current,rootMargin:n});return r}}else if(!E){let e=(0,o.requestIdleCallback)(()=>u(!0));return()=>(0,o.cancelIdleCallback)(e)}},[c,n,t,E,T.current]);let f=(0,r.useCallback)(()=>{u(!1)},[]);return[d,E,f]}("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,s=r||t,l=o||n,c=i.startsWith("data:image/jpeg")?"%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%":"";return s&&l?"%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 "+s+" "+l+"'%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)}},26466:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ef}});var r=n(85893),o=n(41468),i=n(25519),a=n(7134),s=n(67294),l=n(67421),c=n(93967),E=n.n(c);n(83454);var u=function(e){let{onlyAvatar:t=!1}=e,{t:n}=(0,l.$G)(),[o,c]=(0,s.useState)();return(0,s.useEffect)(()=>{try{var e;let t=JSON.parse(null!==(e=localStorage.getItem(i.C9))&&void 0!==e?e:"");c(t)}catch(e){return}},[]),(0,r.jsx)("div",{className:"flex flex-1 items-center justify-center",children:(0,r.jsx)("div",{className:E()("flex items-center group w-full",{"justify-center":t,"justify-between":!t}),children:(0,r.jsxs)("span",{className:"flex gap-2 items-center",children:[(0,r.jsx)(a.C,{src:null==o?void 0:o.avatar_url,className:"bg-gradient-to-tr from-[#31afff] to-[#1677ff] cursor-pointer",children:null==o?void 0:o.nick_name}),(0,r.jsx)("span",{className:E()("text-sm",{hidden:t}),children:null==o?void 0:o.nick_name})]})})})},T=n(76212),d=n(82353),f=n(41156),R=n(9641),A=n(16165),S=n(9020),O=n(92962),p=n(50067),h=n(38545),N=n(10524),I=n(84477),m=n(19944),_=n(85576),C=n(45360),g=n(83062),L=n(55241),v=n(20640),y=n.n(v),P=n(30381),b=n.n(P);n(83839);var M=n(25675),D=n.n(M),U=n(41664),x=n.n(U),w=n(11163),G=function(){let{chatId:e,scene:t,isMenuExpand:n,refreshDialogList:a,setIsMenuExpand:c,setAgent:v,mode:P,setMode:M,adminList:U}=(0,s.useContext)(o.p),{pathname:G,replace:F}=(0,w.useRouter)(),{t:H,i18n:B}=(0,l.$G)(),[Y,k]=(0,s.useState)("/logo_zh_latest.png"),V=(0,s.useMemo)(()=>{let{user_id:e}=JSON.parse(localStorage.getItem(i.C9)||"{}");return U.some(t=>t.user_id===e)},[U]),$=(0,s.useMemo)(()=>{let e=[{key:"app",name:H("App"),path:"/app",icon:(0,r.jsx)(f.Z,{})},{key:"flow",name:H("awel_flow"),icon:(0,r.jsx)(R.Z,{}),path:"/flow"},{key:"models",name:H("model_manage"),path:"/models",icon:(0,r.jsx)(A.Z,{component:d.IN})},{key:"database",name:H("Database"),icon:(0,r.jsx)(S.Z,{}),path:"/database"},{key:"knowledge",name:H("Knowledge_Space"),icon:(0,r.jsx)(O.Z,{}),path:"/knowledge"},{key:"agent",name:H("Plugins"),path:"/agent",icon:(0,r.jsx)(p.Z,{})},{key:"prompt",name:H("Prompt"),icon:(0,r.jsx)(h.Z,{}),path:"/prompt"}];return e},[H]),W=(0,s.useCallback)(()=>{c(!n)},[n,c]),Z=(0,s.useCallback)(()=>{let e="light"===P?"dark":"light";M(e),localStorage.setItem(i.he,e)},[P,M]),j=(0,s.useCallback)(()=>{let e="en"===B.language?"zh":"en";B.changeLanguage(e),"zh"===e&&b().locale("zh-cn"),"en"===e&&b().locale("en"),localStorage.setItem(i.Yl,e)},[B]),X=(0,s.useMemo)(()=>{let e=[{key:"theme",name:H("Theme"),icon:"dark"===P?(0,r.jsx)(A.Z,{component:d.FD}):(0,r.jsx)(A.Z,{component:d.ol}),items:[{key:"light",label:(0,r.jsxs)("div",{className:"py-1 flex justify-between gap-8 ",children:[(0,r.jsxs)("span",{className:"flex gap-2 items-center",children:[(0,r.jsx)(D(),{src:"/pictures/theme_light.png",alt:"english",width:38,height:32}),(0,r.jsx)("span",{children:"Light"})]}),(0,r.jsx)("span",{className:E()({block:"light"===P,hidden:"light"!==P}),children:"✓"})]})},{key:"dark",label:(0,r.jsxs)("div",{className:"py-1 flex justify-between gap-8 ",children:[(0,r.jsxs)("span",{className:"flex gap-2 items-center",children:[(0,r.jsx)(D(),{src:"/pictures/theme_dark.png",alt:"english",width:38,height:32}),(0,r.jsx)("span",{children:"Dark"})]}),(0,r.jsx)("span",{className:E()({block:"dark"===P,hidden:"dark"!==P}),children:"✓"})]})}],onClick:Z,onSelect:e=>{let{key:t}=e;P!==t&&(M(t),localStorage.setItem(i.he,t))},defaultSelectedKeys:[P],placement:"topLeft"},{key:"language",name:H("language"),icon:(0,r.jsx)(N.Z,{}),items:[{key:"en",label:(0,r.jsxs)("div",{className:"py-1 flex justify-between gap-8 ",children:[(0,r.jsxs)("span",{className:"flex gap-2",children:[(0,r.jsx)(D(),{src:"/icons/english.png",alt:"english",width:21,height:21}),(0,r.jsx)("span",{children:"English"})]}),(0,r.jsx)("span",{className:E()({block:"en"===B.language,hidden:"en"!==B.language}),children:"✓"})]})},{key:"zh",label:(0,r.jsxs)("div",{className:"py-1 flex justify-between gap-8 ",children:[(0,r.jsxs)("span",{className:"flex gap-2",children:[(0,r.jsx)(D(),{src:"/icons/zh.png",alt:"english",width:21,height:21}),(0,r.jsx)("span",{children:"简体中文"})]}),(0,r.jsx)("span",{className:E()({block:"zh"===B.language,hidden:"zh"!==B.language}),children:"✓"})]})}],onSelect:e=>{let{key:t}=e;B.language!==t&&(B.changeLanguage(t),"zh"===t&&b().locale("zh-cn"),"en"===t&&b().locale("en"),localStorage.setItem(i.Yl,t))},onClick:j,defaultSelectedKeys:[B.language]},{key:"fold",name:H(n?"Close_Sidebar":"Show_Sidebar"),icon:n?(0,r.jsx)(I.Z,{}):(0,r.jsx)(m.Z,{}),onClick:W,noDropdownItem:!0}];return e},[H,P,Z,B,j,n,W,M]),K=(0,s.useMemo)(()=>{let e=[{key:"chat",name:H("chat_online"),icon:(0,r.jsx)(D(),{src:"/chat"===G?"/pictures/chat_active.png":"/pictures/chat.png",alt:"chat_image",width:40,height:40},"image_chat"),path:"/chat",isActive:G.startsWith("/chat")},{key:"explore",name:H("explore"),isActive:"/"===G,icon:(0,r.jsx)(D(),{src:"/"===G?"/pictures/explore_active.png":"/pictures/explore.png",alt:"construct_image",width:40,height:40},"image_explore"),path:"/"},{key:"construct",name:H("construct"),isActive:G.startsWith("/construct"),icon:(0,r.jsx)(D(),{src:G.startsWith("/construct")?"/pictures/app_active.png":"/pictures/app.png",alt:"construct_image",width:40,height:40},"image_construct"),path:"/construct/app"}];return V&&e.push({key:"evaluation",name:"场景评测",icon:(0,r.jsx)(D(),{src:G.startsWith("/evaluation")?"/pictures/app_active.png":"/pictures/app.png",alt:"construct_image",width:40,height:40},"image_construct"),path:"/evaluation",isActive:"/evaluation"===G}),e},[H,G,V]);return((0,s.useMemo)(()=>$.map(e=>({key:e.key,label:(0,r.jsxs)(x(),{href:e.path,className:"text-base",children:[e.icon,(0,r.jsx)("span",{className:"ml-2 text-sm",children:e.name})]})})),[$]),(0,s.useMemo)(()=>X.filter(e=>!e.noDropdownItem).map(e=>({key:e.key,label:(0,r.jsxs)("div",{className:"text-base",onClick:e.onClick,children:[e.icon,(0,r.jsx)("span",{className:"ml-2 text-sm",children:e.name})]})})),[X]),(0,s.useMemo)(()=>K.map(e=>({key:e.key,label:(0,r.jsxs)(x(),{href:e.path,className:"text-base",children:[e.icon,(0,r.jsx)("span",{className:"ml-2 text-sm",children:e.name})]})})),[K]),(0,s.useCallback)(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,T.Vx)((0,T.MX)(n.conv_uid));if(i){o();return}C.ZP.success("success"),a(),n.chat_mode===t&&n.conv_uid===e&&F("/"),r()}catch(e){o()}})})},[e,a,F,t]),(0,s.useCallback)(e=>{let t=y()("".concat(location.origin,"/chat?scene=").concat(e.chat_mode,"&id=").concat(e.conv_uid));C.ZP[t?"success":"error"](t?"Copy success":"Copy failed")},[]),(0,s.useEffect)(()=>{let e=B.language;"zh"===e&&b().locale("zh-cn"),"en"===e&&b().locale("en")},[]),(0,s.useEffect)(()=>{k("dark"===P?"/logo_s_latest.png":"/logo_zh_latest.png")},[P]),n)?(0,r.jsxs)("div",{className:"flex flex-col justify-between h-screen px-4 pt-4 bg-bar dark:bg-[#232734] animate-fade animate-duration-300",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(x(),{href:"/",className:"flex items-center justify-center p-2 pb-4",children:(0,r.jsx)(D(),{src:n?Y:"/LOGO_SMALL.png",alt:"DB-GPT",width:180,height:40})}),(0,r.jsx)("div",{className:"flex flex-col gap-4",children:K.map(e=>(0,r.jsxs)(x(),{href:e.path,className:E()("flex items-center w-full h-12 px-4 cursor-pointer hover:bg-[#F1F5F9] dark:hover:bg-theme-dark hover:rounded-xl",{"bg-white rounded-xl dark:bg-black":e.isActive}),children:[(0,r.jsx)("div",{className:"mr-3",children:e.icon}),(0,r.jsx)("span",{className:"text-sm",children:H(e.name)})]},e.key))})]}),(0,r.jsxs)("div",{className:"pt-4",children:[(0,r.jsx)("span",{className:E()("flex items-center w-full h-12 px-4 bg-[#F1F5F9] dark:bg-theme-dark rounded-xl"),children:(0,r.jsx)("div",{className:"mr-3 w-full",children:(0,r.jsx)(u,{})})}),(0,r.jsx)("div",{className:"flex items-center justify-around py-4 mt-2 border-t border-dashed border-gray-200 dark:border-gray-700",children:X.map(e=>(0,r.jsx)("div",{children:(0,r.jsx)(L.Z,{content:e.name,children:(0,r.jsx)("div",{className:"flex-1 flex items-center justify-center cursor-pointer text-xl",onClick:e.onClick,children:e.icon})})},e.key))})]})]}):(0,r.jsxs)("div",{className:"flex flex-col justify-between pt-4 h-screen bg-bar dark:bg-[#232734] animate-fade animate-duration-300",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(x(),{href:"/",className:"flex justify-center items-center pb-4",children:(0,r.jsx)(D(),{src:n?Y:"/LOGO_SMALL.png",alt:"DB-GPT",width:40,height:40})}),(0,r.jsx)("div",{className:"flex flex-col gap-4 items-center",children:K.map(e=>(0,r.jsx)(x(),{className:"h-12 flex items-center",href:e.path,children:null==e?void 0:e.icon},e.key))})]}),(0,r.jsxs)("div",{className:"py-4",children:[(0,r.jsx)(u,{onlyAvatar:!0}),X.filter(e=>e.noDropdownItem).map(e=>(0,r.jsx)(g.Z,{title:e.name,placement:"right",children:(0,r.jsx)("div",{className:"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(""),onClick:e.onClick,children:e.icon})},e.key))]})]})},F=n(47648),H=n(67164),B=n(2790),Y=n(1393),k=n(25976),V=n(33083),$=n(372),W=n(69594),Z=n(65409),j=n(57),X=n(10274);let K=(e,t)=>new X.C(e).setAlpha(t).toRgbString(),z=(e,t)=>{let n=new X.C(e);return n.lighten(t).toHexString()},q=e=>{let t=(0,Z.R_)(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]}},J=(e,t)=>{let n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:K(r,.85),colorTextSecondary:K(r,.65),colorTextTertiary:K(r,.45),colorTextQuaternary:K(r,.25),colorFill:K(r,.18),colorFillSecondary:K(r,.12),colorFillTertiary:K(r,.08),colorFillQuaternary:K(r,.04),colorBgElevated:z(n,12),colorBgContainer:z(n,8),colorBgLayout:z(n,0),colorBgSpotlight:z(n,26),colorBgBlur:K(r,.04),colorBorder:z(n,26),colorBorderSecondary:z(n,19)}};var Q={defaultConfig:V.u_,defaultSeed:V.u_.token,useToken:function(){let[e,t,n]=(0,k.ZP)();return{theme:e,token:t,hashId:n}},defaultAlgorithm:H.Z,darkAlgorithm:(e,t)=>{let n=Object.keys(B.M).map(t=>{let n=(0,Z.R_)(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,H.Z)(e);return Object.assign(Object.assign(Object.assign({},r),n),(0,j.Z)(e,{generateColorPalettes:q,generateNeutralColorPalettes:J}))},compactAlgorithm:(e,t)=>{let n=null!=t?t:(0,H.Z)(e),r=n.fontSizeSM,o=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,W.Z)(r)),{controlHeight:o}),(0,$.Z)(Object.assign(Object.assign({},n),{controlHeight:o})))},getDesignToken:e=>{let t=(null==e?void 0:e.algorithm)?(0,F.jG)(e.algorithm):(0,F.jG)(H.Z),n=Object.assign(Object.assign({},B.Z),null==e?void 0:e.token);return(0,F.t2)(n,{override:null==e?void 0:e.token},t,Y.Z)}},ee=n(28459),et=n(31418),en=n(18253),er=n(82925),eo=n(93045),ei=n(14079),ea=n(37364),es=()=>(0,r.jsx)(ea.Z.Group,{trigger:"hover",icon:(0,r.jsx)(eo.Z,{}),children:(0,r.jsx)(ea.Z,{icon:(0,r.jsx)(ei.Z,{}),href:"http://docs.dbgpt.cn",target:"_blank",tooltip:"Doucuments"})});n(64371),n(90833),n(80864);var el=n(9008),ec=n.n(el),eE=n(83454);let eu=(e,t)=>({...Q.darkAlgorithm(e,t),colorBgBase:"#232734",colorBorder:"#828282",colorBgContainer:"#232734"});function eT(e){let{children:t}=e,{mode:n}=(0,s.useContext)(o.p),{i18n:a}=(0,l.$G)();return(0,s.useEffect)(()=>{if(n){var e,t,r,o,i,a;null===(e=document.body)||void 0===e||null===(t=e.classList)||void 0===t||t.add(n),"light"===n?null===(r=document.body)||void 0===r||null===(o=r.classList)||void 0===o||o.remove("dark"):null===(i=document.body)||void 0===i||null===(a=i.classList)||void 0===a||a.remove("light")}},[n]),(0,s.useEffect)(()=>{var e;null===(e=a.changeLanguage)||void 0===e||e.call(a,window.localStorage.getItem(i.Yl)||"zh")},[a]),(0,r.jsx)("div",{children:t})}function ed(e){let{children:t}=e,{isMenuExpand:n,mode:a}=(0,s.useContext)(o.p),{i18n:c}=(0,l.$G)(),[u,T]=(0,s.useState)(!1),d=(0,w.useRouter)(),f=async()=>{T(!1),eE.env.GET_USER_URL,eE.env.LOGIN_URL;var e={user_channel:"dbgpt",user_no:"001",nick_name:"dbgpt"};e&&(localStorage.setItem(i.C9,JSON.stringify(e)),localStorage.setItem(i.Sc,Date.now().toString()),T(!0))};return((0,s.useEffect)(()=>{f()},[]),u)?(0,r.jsx)(ee.ZP,{locale:"en"===c.language?en.Z:er.Z,theme:{token:{colorPrimary:"#0C75FC",borderRadius:4},algorithm:"dark"===a?eu:void 0},children:(0,r.jsx)(et.Z,{children:d.pathname.includes("mobile")?(0,r.jsx)(r.Fragment,{children:t}):(0,r.jsxs)("div",{className:"flex w-screen h-screen overflow-hidden",children:[(0,r.jsx)(ec(),{children:(0,r.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width, maximum-scale=1"})}),"/construct/app/extra"!==d.pathname&&(0,r.jsx)("div",{className:E()("transition-[width]",n?"w-60":"w-20","hidden","md:block"),children:(0,r.jsx)(G,{})}),(0,r.jsx)("div",{className:"flex flex-col flex-1 relative overflow-hidden",children:t}),(0,r.jsx)(es,{})]})})}):null}var ef=function(e){let{Component:t,pageProps:n}=e;return(0,r.jsx)(o.R,{children:(0,r.jsx)(eT,{children:(0,r.jsx)(ed,{children:(0,r.jsx)(t,{...n})})})})}},19284:function(e,t,n){"use strict";n.d(t,{Hf:function(){return r},Me:function(){return o},S$:function(){return i}});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"},yi_proxyllm:{label:"yi_proxyllm",icon:"/models/yi.svg"},"yi-34b-chat":{label:"yi-34b-chat",icon:"/models/yi.svg"},"yi-34b-chat-8bits":{label:"yi-34b-chat-8bits",icon:"/models/yi.svg"},"yi-34b-chat-4bits":{label:"yi-34b-chat-4bits",icon:"/models/yi.svg"},"yi-6b-chat":{label:"yi-6b-chat",icon:"/models/yi.svg"},bailing_proxyllm:{label:"bailing_proxyllm",icon:"/models/bailing.svg"},antglm_proxyllm:{label:"antglm_proxyllm",icon:"/models/huggingface.svg"},chatglm_proxyllm:{label:"chatglm_proxyllm",icon:"/models/chatglm.png"},qwen7b_proxyllm:{label:"qwen7b_proxyllm",icon:"/models/tongyi.apng"},qwen72b_proxyllm:{label:"qwen72b_proxyllm",icon:"/models/qwen2.png"},qwen110b_proxyllm:{label:"qwen110b_proxyllm",icon:"/models/qwen2.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"},bailing_65b_v21_0520_proxyllm:{label:"bailing_65b_v21_0520_proxyllm",icon:"/models/bailing.svg"}},o={proxyllm:"/models/chatgpt.png",qwen:"/models/qwen2.png",bailing:"/models/bailing.svg",antglm:"/models/huggingface.svg",chatgpt:"/models/chatgpt.png",vicuna:"/models/vicuna.jpeg",flan:"/models/google.png",code:"/models/vicuna.jpeg",chatglm:"/models/chatglm.png",guanaco:"/models/huggingface.svg",gorilla:"/models/gorilla.png",gptj:"/models/huggingface.svg",bard:"/models/bard.gif",claude:"/models/claude.png",wenxin:"/models/huggingface.svg",tongyi:"/models/qwen2.png",zhipu:"/models/zhipu.png",llama:"/models/llama.jpg",baichuan:"/models/baichuan.png",wizardlm:"/models/wizardlm.png",internlm:"/models/internlm.png",solar:"/models/solar_logo.png"},i={mysql:{label:"MySQL",icon:"/icons/mysql.png",desc:"Fast, reliable, scalable open-source relational database management system."},oceanbase:{label:"OceanBase",icon:"/icons/oceanbase.png",desc:"An Ultra-Fast & Cost-Effective Distributed SQL Database."},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."},omc:{label:"Omc",icon:"/icons/odc.png",desc:"Omc meta data."},postgresql:{label:"PostgreSQL",icon:"/icons/postgresql.png",desc:"Powerful open-source relational database with extensibility and SQL standards."},vertica:{label:"Vertica",icon:"/icons/vertica.png",desc:"Vertica is a strongly consistent, ACID-compliant, SQL data warehouse, built for the scale and complexity of today’s data-driven world."},spark:{label:"Spark",icon:"/icons/spark.png",desc:"Unified engine for large-scale data analytics."},hive:{label:"Hive",icon:"/icons/hive.png",desc:"A distributed fault-tolerant data warehouse system."},space:{label:"Space",icon:"/icons/knowledge.png",desc:"knowledge analytics."},tugraph:{label:"TuGraph",icon:"/icons/tugraph.png",desc:"TuGraph is a high-performance graph database jointly developed by Ant Group and Tsinghua University."}}},25519:function(e,t,n){"use strict";var r,o;n.d(t,{gp:function(){return E},rU:function(){return s},Yl:function(){return a},he:function(){return i},C9:function(){return l},Sc:function(){return c}});let i="__db_gpt_theme_key",a="__db_gpt_lng_key",s="__db_gpt_im_key",l="__db_gpt_uinfo_key",c="__db_gpt_uinfo_vt_key";(o=r||(r={}))[o.NO_PERMISSION=-1]="NO_PERMISSION",o[o.SERVICE_ERROR=-2]="SERVICE_ERROR",o[o.INVALID=-3]="INVALID",o[o.IS_EXITS=-4]="IS_EXITS",o[o.MISSING_PARAMETER=-5]="MISSING_PARAMETER";let E="user-id"},62418:function(e,t,n){"use strict";let r,o,i;n.d(t,{zN:function(){return rr},rU:function(){return rn},S$:function(){return rt.S$},_m:function(){return ro},a_:function(){return n9},n5:function(){return re}});var a,s,l,c={};n.r(c),n.d(c,{bigquery:function(){return F},db2:function(){return X},hive:function(){return er},mariadb:function(){return eT},mysql:function(){return eN},n1ql:function(){return eP},plsql:function(){return eH},postgresql:function(){return eX},redshift:function(){return e4},singlestoredb:function(){return tj},snowflake:function(){return t2},spark:function(){return tn},sql:function(){return th},sqlite:function(){return tu},transactsql:function(){return tF},trino:function(){return ty}}),(a=r||(r={})).QUOTED_IDENTIFIER="QUOTED_IDENTIFIER",a.IDENTIFIER="IDENTIFIER",a.STRING="STRING",a.VARIABLE="VARIABLE",a.RESERVED_KEYWORD="RESERVED_KEYWORD",a.RESERVED_FUNCTION_NAME="RESERVED_FUNCTION_NAME",a.RESERVED_PHRASE="RESERVED_PHRASE",a.RESERVED_SET_OPERATION="RESERVED_SET_OPERATION",a.RESERVED_CLAUSE="RESERVED_CLAUSE",a.RESERVED_SELECT="RESERVED_SELECT",a.RESERVED_JOIN="RESERVED_JOIN",a.ARRAY_IDENTIFIER="ARRAY_IDENTIFIER",a.ARRAY_KEYWORD="ARRAY_KEYWORD",a.CASE="CASE",a.END="END",a.WHEN="WHEN",a.ELSE="ELSE",a.THEN="THEN",a.LIMIT="LIMIT",a.BETWEEN="BETWEEN",a.AND="AND",a.OR="OR",a.XOR="XOR",a.OPERATOR="OPERATOR",a.COMMA="COMMA",a.ASTERISK="ASTERISK",a.DOT="DOT",a.OPEN_PAREN="OPEN_PAREN",a.CLOSE_PAREN="CLOSE_PAREN",a.LINE_COMMENT="LINE_COMMENT",a.BLOCK_COMMENT="BLOCK_COMMENT",a.NUMBER="NUMBER",a.NAMED_PARAMETER="NAMED_PARAMETER",a.QUOTED_PARAMETER="QUOTED_PARAMETER",a.NUMBERED_PARAMETER="NUMBERED_PARAMETER",a.POSITIONAL_PARAMETER="POSITIONAL_PARAMETER",a.CUSTOM_PARAMETER="CUSTOM_PARAMETER",a.DELIMITER="DELIMITER",a.EOF="EOF";let E=e=>({type:r.EOF,raw:"\xabEOF\xbb",text:"\xabEOF\xbb",start:e}),u=E(1/0),T=e=>t=>t.type===e.type&&t.text===e.text,d={ARRAY:T({text:"ARRAY",type:r.RESERVED_KEYWORD}),BY:T({text:"BY",type:r.RESERVED_KEYWORD}),SET:T({text:"SET",type:r.RESERVED_CLAUSE}),STRUCT:T({text:"STRUCT",type:r.RESERVED_KEYWORD}),WINDOW:T({text:"WINDOW",type:r.RESERVED_CLAUSE})},f=e=>e===r.RESERVED_KEYWORD||e===r.RESERVED_FUNCTION_NAME||e===r.RESERVED_PHRASE||e===r.RESERVED_CLAUSE||e===r.RESERVED_SELECT||e===r.RESERVED_SET_OPERATION||e===r.RESERVED_JOIN||e===r.ARRAY_KEYWORD||e===r.CASE||e===r.END||e===r.WHEN||e===r.ELSE||e===r.THEN||e===r.LIMIT||e===r.BETWEEN||e===r.AND||e===r.OR||e===r.XOR,R=e=>e===r.AND||e===r.OR||e===r.XOR,A=e=>e.flatMap(S),S=e=>I(N(e)).map(e=>e.trim()),O=/[^[\]{}]+/y,p=/\{.*?\}/y,h=/\[.*?\]/y,N=e=>{let t=0,n=[];for(;te.trim());n.push(["",...e]),t+=o[0].length}p.lastIndex=t;let i=p.exec(e);if(i){let e=i[0].slice(1,-1).split("|").map(e=>e.trim());n.push(e),t+=i[0].length}if(!r&&!o&&!i)throw Error(`Unbalanced parenthesis in: ${e}`)}return n},I=([e,...t])=>void 0===e?[""]:I(t).flatMap(t=>e.map(e=>e.trim()+" "+t.trim())),m=e=>[...new Set(e)],_=e=>e[e.length-1],C=e=>e.sort((e,t)=>t.length-e.length||e.localeCompare(t)),g=e=>e.reduce((e,t)=>Math.max(e,t.length),0),L=e=>e.replace(/\s+/gu," "),v=e=>m(Object.values(e).flat()),y=e=>/\n/.test(e),P=v({keywords:["ALL","AND","ANY","ARRAY","AS","ASC","ASSERT_ROWS_MODIFIED","AT","BETWEEN","BY","CASE","CAST","COLLATE","CONTAINS","CREATE","CROSS","CUBE","CURRENT","DEFAULT","DEFINE","DESC","DISTINCT","ELSE","END","ENUM","ESCAPE","EXCEPT","EXCLUDE","EXISTS","EXTRACT","FALSE","FETCH","FOLLOWING","FOR","FROM","FULL","GROUP","GROUPING","GROUPS","HASH","HAVING","IF","IGNORE","IN","INNER","INTERSECT","INTERVAL","INTO","IS","JOIN","LATERAL","LEFT","LIKE","LIMIT","LOOKUP","MERGE","NATURAL","NEW","NO","NOT","NULL","NULLS","OF","ON","OR","ORDER","OUTER","OVER","PARTITION","PRECEDING","PROTO","RANGE","RECURSIVE","RESPECT","RIGHT","ROLLUP","ROWS","SELECT","SET","SOME","STRUCT","TABLE","TABLESAMPLE","THEN","TO","TREAT","TRUE","UNBOUNDED","UNION","UNNEST","USING","WHEN","WHERE","WINDOW","WITH","WITHIN"],datatypes:["ARRAY","BOOL","BYTES","DATE","DATETIME","GEOGRAPHY","INTERVAL","INT64","INT","SMALLINT","INTEGER","BIGINT","TINYINT","BYTEINT","NUMERIC","DECIMAL","BIGNUMERIC","BIGDECIMAL","FLOAT64","STRING","STRUCT","TIME","TIMEZONE"],stringFormat:["HEX","BASEX","BASE64M","ASCII","UTF-8","UTF8"],misc:["SAFE"],ddl:["LIKE","COPY","CLONE","IN","OUT","INOUT","RETURNS","LANGUAGE","CASCADE","RESTRICT","DETERMINISTIC"]}),b=v({aead:["KEYS.NEW_KEYSET","KEYS.ADD_KEY_FROM_RAW_BYTES","AEAD.DECRYPT_BYTES","AEAD.DECRYPT_STRING","AEAD.ENCRYPT","KEYS.KEYSET_CHAIN","KEYS.KEYSET_FROM_JSON","KEYS.KEYSET_TO_JSON","KEYS.ROTATE_KEYSET","KEYS.KEYSET_LENGTH"],aggregateAnalytic:["ANY_VALUE","ARRAY_AGG","AVG","CORR","COUNT","COUNTIF","COVAR_POP","COVAR_SAMP","MAX","MIN","ST_CLUSTERDBSCAN","STDDEV_POP","STDDEV_SAMP","STRING_AGG","SUM","VAR_POP","VAR_SAMP"],aggregate:["ANY_VALUE","ARRAY_AGG","ARRAY_CONCAT_AGG","AVG","BIT_AND","BIT_OR","BIT_XOR","COUNT","COUNTIF","LOGICAL_AND","LOGICAL_OR","MAX","MIN","STRING_AGG","SUM"],approximateAggregate:["APPROX_COUNT_DISTINCT","APPROX_QUANTILES","APPROX_TOP_COUNT","APPROX_TOP_SUM"],array:["ARRAY_CONCAT","ARRAY_LENGTH","ARRAY_TO_STRING","GENERATE_ARRAY","GENERATE_DATE_ARRAY","GENERATE_TIMESTAMP_ARRAY","ARRAY_REVERSE","OFFSET","SAFE_OFFSET","ORDINAL","SAFE_ORDINAL"],bitwise:["BIT_COUNT"],conversion:["PARSE_BIGNUMERIC","PARSE_NUMERIC","SAFE_CAST"],date:["CURRENT_DATE","EXTRACT","DATE","DATE_ADD","DATE_SUB","DATE_DIFF","DATE_TRUNC","DATE_FROM_UNIX_DATE","FORMAT_DATE","LAST_DAY","PARSE_DATE","UNIX_DATE"],datetime:["CURRENT_DATETIME","DATETIME","EXTRACT","DATETIME_ADD","DATETIME_SUB","DATETIME_DIFF","DATETIME_TRUNC","FORMAT_DATETIME","LAST_DAY","PARSE_DATETIME"],debugging:["ERROR"],federatedQuery:["EXTERNAL_QUERY"],geography:["S2_CELLIDFROMPOINT","S2_COVERINGCELLIDS","ST_ANGLE","ST_AREA","ST_ASBINARY","ST_ASGEOJSON","ST_ASTEXT","ST_AZIMUTH","ST_BOUNDARY","ST_BOUNDINGBOX","ST_BUFFER","ST_BUFFERWITHTOLERANCE","ST_CENTROID","ST_CENTROID_AGG","ST_CLOSESTPOINT","ST_CLUSTERDBSCAN","ST_CONTAINS","ST_CONVEXHULL","ST_COVEREDBY","ST_COVERS","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_DUMP","ST_DWITHIN","ST_ENDPOINT","ST_EQUALS","ST_EXTENT","ST_EXTERIORRING","ST_GEOGFROM","ST_GEOGFROMGEOJSON","ST_GEOGFROMTEXT","ST_GEOGFROMWKB","ST_GEOGPOINT","ST_GEOGPOINTFROMGEOHASH","ST_GEOHASH","ST_GEOMETRYTYPE","ST_INTERIORRINGS","ST_INTERSECTION","ST_INTERSECTS","ST_INTERSECTSBOX","ST_ISCOLLECTION","ST_ISEMPTY","ST_LENGTH","ST_MAKELINE","ST_MAKEPOLYGON","ST_MAKEPOLYGONORIENTED","ST_MAXDISTANCE","ST_NPOINTS","ST_NUMGEOMETRIES","ST_NUMPOINTS","ST_PERIMETER","ST_POINTN","ST_SIMPLIFY","ST_SNAPTOGRID","ST_STARTPOINT","ST_TOUCHES","ST_UNION","ST_UNION_AGG","ST_WITHIN","ST_X","ST_Y"],hash:["FARM_FINGERPRINT","MD5","SHA1","SHA256","SHA512"],hll:["HLL_COUNT.INIT","HLL_COUNT.MERGE","HLL_COUNT.MERGE_PARTIAL","HLL_COUNT.EXTRACT"],interval:["MAKE_INTERVAL","EXTRACT","JUSTIFY_DAYS","JUSTIFY_HOURS","JUSTIFY_INTERVAL"],json:["JSON_EXTRACT","JSON_QUERY","JSON_EXTRACT_SCALAR","JSON_VALUE","JSON_EXTRACT_ARRAY","JSON_QUERY_ARRAY","JSON_EXTRACT_STRING_ARRAY","JSON_VALUE_ARRAY","TO_JSON_STRING"],math:["ABS","SIGN","IS_INF","IS_NAN","IEEE_DIVIDE","RAND","SQRT","POW","POWER","EXP","LN","LOG","LOG10","GREATEST","LEAST","DIV","SAFE_DIVIDE","SAFE_MULTIPLY","SAFE_NEGATE","SAFE_ADD","SAFE_SUBTRACT","MOD","ROUND","TRUNC","CEIL","CEILING","FLOOR","COS","COSH","ACOS","ACOSH","SIN","SINH","ASIN","ASINH","TAN","TANH","ATAN","ATANH","ATAN2","RANGE_BUCKET"],navigation:["FIRST_VALUE","LAST_VALUE","NTH_VALUE","LEAD","LAG","PERCENTILE_CONT","PERCENTILE_DISC"],net:["NET.IP_FROM_STRING","NET.SAFE_IP_FROM_STRING","NET.IP_TO_STRING","NET.IP_NET_MASK","NET.IP_TRUNC","NET.IPV4_FROM_INT64","NET.IPV4_TO_INT64","NET.HOST","NET.PUBLIC_SUFFIX","NET.REG_DOMAIN"],numbering:["RANK","DENSE_RANK","PERCENT_RANK","CUME_DIST","NTILE","ROW_NUMBER"],security:["SESSION_USER"],statisticalAggregate:["CORR","COVAR_POP","COVAR_SAMP","STDDEV_POP","STDDEV_SAMP","STDDEV","VAR_POP","VAR_SAMP","VARIANCE"],string:["ASCII","BYTE_LENGTH","CHAR_LENGTH","CHARACTER_LENGTH","CHR","CODE_POINTS_TO_BYTES","CODE_POINTS_TO_STRING","CONCAT","CONTAINS_SUBSTR","ENDS_WITH","FORMAT","FROM_BASE32","FROM_BASE64","FROM_HEX","INITCAP","INSTR","LEFT","LENGTH","LPAD","LOWER","LTRIM","NORMALIZE","NORMALIZE_AND_CASEFOLD","OCTET_LENGTH","REGEXP_CONTAINS","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","REPLACE","REPEAT","REVERSE","RIGHT","RPAD","RTRIM","SAFE_CONVERT_BYTES_TO_STRING","SOUNDEX","SPLIT","STARTS_WITH","STRPOS","SUBSTR","SUBSTRING","TO_BASE32","TO_BASE64","TO_CODE_POINTS","TO_HEX","TRANSLATE","TRIM","UNICODE","UPPER"],time:["CURRENT_TIME","TIME","EXTRACT","TIME_ADD","TIME_SUB","TIME_DIFF","TIME_TRUNC","FORMAT_TIME","PARSE_TIME"],timestamp:["CURRENT_TIMESTAMP","EXTRACT","STRING","TIMESTAMP","TIMESTAMP_ADD","TIMESTAMP_SUB","TIMESTAMP_DIFF","TIMESTAMP_TRUNC","FORMAT_TIMESTAMP","PARSE_TIMESTAMP","TIMESTAMP_SECONDS","TIMESTAMP_MILLIS","TIMESTAMP_MICROS","UNIX_SECONDS","UNIX_MILLIS","UNIX_MICROS"],uuid:["GENERATE_UUID"],conditional:["COALESCE","IF","IFNULL","NULLIF"],legacyAggregate:["AVG","BIT_AND","BIT_OR","BIT_XOR","CORR","COUNT","COVAR_POP","COVAR_SAMP","EXACT_COUNT_DISTINCT","FIRST","GROUP_CONCAT","GROUP_CONCAT_UNQUOTED","LAST","MAX","MIN","NEST","NTH","QUANTILES","STDDEV","STDDEV_POP","STDDEV_SAMP","SUM","TOP","UNIQUE","VARIANCE","VAR_POP","VAR_SAMP"],legacyBitwise:["BIT_COUNT"],legacyCasting:["BOOLEAN","BYTES","CAST","FLOAT","HEX_STRING","INTEGER","STRING"],legacyComparison:["COALESCE","GREATEST","IFNULL","IS_INF","IS_NAN","IS_EXPLICITLY_DEFINED","LEAST","NVL"],legacyDatetime:["CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATE","DATE_ADD","DATEDIFF","DAY","DAYOFWEEK","DAYOFYEAR","FORMAT_UTC_USEC","HOUR","MINUTE","MONTH","MSEC_TO_TIMESTAMP","NOW","PARSE_UTC_USEC","QUARTER","SEC_TO_TIMESTAMP","SECOND","STRFTIME_UTC_USEC","TIME","TIMESTAMP","TIMESTAMP_TO_MSEC","TIMESTAMP_TO_SEC","TIMESTAMP_TO_USEC","USEC_TO_TIMESTAMP","UTC_USEC_TO_DAY","UTC_USEC_TO_HOUR","UTC_USEC_TO_MONTH","UTC_USEC_TO_WEEK","UTC_USEC_TO_YEAR","WEEK","YEAR"],legacyIp:["FORMAT_IP","PARSE_IP","FORMAT_PACKED_IP","PARSE_PACKED_IP"],legacyJson:["JSON_EXTRACT","JSON_EXTRACT_SCALAR"],legacyMath:["ABS","ACOS","ACOSH","ASIN","ASINH","ATAN","ATANH","ATAN2","CEIL","COS","COSH","DEGREES","EXP","FLOOR","LN","LOG","LOG2","LOG10","PI","POW","RADIANS","RAND","ROUND","SIN","SINH","SQRT","TAN","TANH"],legacyRegex:["REGEXP_MATCH","REGEXP_EXTRACT","REGEXP_REPLACE"],legacyString:["CONCAT","INSTR","LEFT","LENGTH","LOWER","LPAD","LTRIM","REPLACE","RIGHT","RPAD","RTRIM","SPLIT","SUBSTR","UPPER"],legacyTableWildcard:["TABLE_DATE_RANGE","TABLE_DATE_RANGE_STRICT","TABLE_QUERY"],legacyUrl:["HOST","DOMAIN","TLD"],legacyWindow:["AVG","COUNT","MAX","MIN","STDDEV","SUM","CUME_DIST","DENSE_RANK","FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","RANK","RATIO_TO_REPORT","ROW_NUMBER"],legacyMisc:["CURRENT_USER","EVERY","FROM_BASE64","HASH","FARM_FINGERPRINT","IF","POSITION","SHA1","SOME","TO_BASE64"],other:["BQ.JOBS.CANCEL","BQ.REFRESH_MATERIALIZED_VIEW"],ddl:["OPTIONS"],pivot:["PIVOT","UNPIVOT"],dataTypes:["BYTES","NUMERIC","DECIMAL","BIGNUMERIC","BIGDECIMAL","STRING"]}),M=A(["SELECT [ALL | DISTINCT] [AS STRUCT | AS VALUE]"]),D=A(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","QUALIFY","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","OMIT RECORD IF","INSERT [INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [BY SOURCE | BY TARGET] [THEN]","UPDATE SET","CREATE [OR REPLACE] [MATERIALIZED] VIEW [IF NOT EXISTS]","CREATE [OR REPLACE] [TEMP|TEMPORARY|SNAPSHOT|EXTERNAL] TABLE [IF NOT EXISTS]","CLUSTER BY","FOR SYSTEM_TIME AS OF","WITH CONNECTION","WITH PARTITION COLUMNS","REMOTE WITH CONNECTION"]),U=A(["UPDATE","DELETE [FROM]","DROP [SNAPSHOT | EXTERNAL] TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS]","ADD COLUMN [IF NOT EXISTS]","DROP COLUMN [IF EXISTS]","RENAME TO","ALTER COLUMN [IF EXISTS]","SET DEFAULT COLLATE","SET OPTIONS","DROP NOT NULL","SET DATA TYPE","ALTER SCHEMA [IF EXISTS]","ALTER [MATERIALIZED] VIEW [IF EXISTS]","ALTER BI_CAPACITY","TRUNCATE TABLE","CREATE SCHEMA [IF NOT EXISTS]","DEFAULT COLLATE","CREATE [OR REPLACE] [TEMP|TEMPORARY|TABLE] FUNCTION [IF NOT EXISTS]","CREATE [OR REPLACE] PROCEDURE [IF NOT EXISTS]","CREATE [OR REPLACE] ROW ACCESS POLICY [IF NOT EXISTS]","GRANT TO","FILTER USING","CREATE CAPACITY","AS JSON","CREATE RESERVATION","CREATE ASSIGNMENT","CREATE SEARCH INDEX [IF NOT EXISTS]","DROP SCHEMA [IF EXISTS]","DROP [MATERIALIZED] VIEW [IF EXISTS]","DROP [TABLE] FUNCTION [IF EXISTS]","DROP PROCEDURE [IF EXISTS]","DROP ROW ACCESS POLICY","DROP ALL ROW ACCESS POLICIES","DROP CAPACITY [IF EXISTS]","DROP RESERVATION [IF EXISTS]","DROP ASSIGNMENT [IF EXISTS]","DROP SEARCH INDEX [IF EXISTS]","DROP [IF EXISTS]","GRANT","REVOKE","DECLARE","EXECUTE IMMEDIATE","LOOP","END LOOP","REPEAT","END REPEAT","WHILE","END WHILE","BREAK","LEAVE","CONTINUE","ITERATE","FOR","END FOR","BEGIN","BEGIN TRANSACTION","COMMIT TRANSACTION","ROLLBACK TRANSACTION","RAISE","RETURN","CALL","ASSERT","EXPORT DATA"]),x=A(["UNION {ALL | DISTINCT}","EXCEPT DISTINCT","INTERSECT DISTINCT"]),w=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN"]),G=A(["TABLESAMPLE SYSTEM","ANY TYPE","ALL COLUMNS","NOT DETERMINISTIC","{ROWS | RANGE} BETWEEN","IS [NOT] DISTINCT FROM"]),F={tokenizerOptions:{reservedSelect:M,reservedClauses:[...D,...U],reservedSetOperations:x,reservedJoins:w,reservedPhrases:G,reservedKeywords:P,reservedFunctionNames:b,extraParens:["[]"],stringTypes:[{quote:'""".."""',prefixes:["R","B","RB","BR"]},{quote:"'''..'''",prefixes:["R","B","RB","BR"]},'""-bs',"''-bs",{quote:'""-raw',prefixes:["R","B","RB","BR"],requirePrefix:!0},{quote:"''-raw",prefixes:["R","B","RB","BR"],requirePrefix:!0}],identTypes:["``"],identChars:{dashes:!0},paramTypes:{positional:!0,named:["@"],quoted:["@"]},variableTypes:[{regex:String.raw`@@\w+`}],lineCommentTypes:["--","#"],operators:["&","|","^","~",">>","<<","||","=>"],postProcess:function(e){var t;let n;return t=function(e){let t=[];for(let o=0;o"===t.text?n--:">>"===t.text&&(n-=2),0===n)return r}return e.length-1}(e,o+1),a=e.slice(o,n+1);t.push({type:r.IDENTIFIER,raw:a.map(H("raw")).join(""),text:a.map(H("text")).join(""),start:i.start}),o=n}else t.push(i)}return t}(e),n=u,t.map(e=>"OFFSET"===e.text&&"["===n.text?(n=e,{...e,type:r.RESERVED_FUNCTION_NAME}):(n=e,e))}},formatOptions:{onelineClauses:U}},H=e=>t=>t.type===r.IDENTIFIER||t.type===r.COMMA?t[e]+" ":t[e],B=v({aggregate:["ARRAY_AGG","AVG","CORR","CORRELATION","COUNT","COUNT_BIG","COVAR_POP","COVARIANCE","COVAR","COVAR_SAMP","COVARIANCE_SAMP","CUME_DIST","GROUPING","LISTAGG","MAX","MEDIAN","MIN","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_ICPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","STDDEV_POP","STDDEV","STDDEV_SAMP","SUM","VAR_POP","VARIANCE","VAR","VAR_SAMP","VARIANCE_SAMP","XMLAGG"],scalar:["ABS","ABSVAL","ACOS","ADD_DAYS","ADD_MONTHS","ARRAY_DELETE","ARRAY_FIRST","ARRAY_LAST","ARRAY_NEXT","ARRAY_PRIOR","ARRAY_TRIM","ASCII","ASCII_CHR","ASCII_STR","ASCIISTR","ASIN","ATAN","ATANH","ATAN2","BIGINT","BINARY","BITAND","BITANDNOT","BITOR","BITXOR","BITNOT","BLOB","BTRIM","CARDINALITY","CCSID_ENCODING","CEILING","CEIL","CHAR","CHAR9","CHARACTER_LENGTH","CHAR_LENGTH","CHR","CLOB","COALESCE","COLLATION_KEY","COMPARE_DECFLOAT","CONCAT","CONTAINS","COS","COSH","DATE","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFWEEK_ISO","DAYOFYEAR","DAYS","DAYS_BETWEEN","DBCLOB","DECFLOAT","DECFLOAT_FORMAT","DECFLOAT_SORTKEY","DECIMAL","DEC","DECODE","DECRYPT_BINARY","DECRYPT_BIT","DECRYPT_CHAR","DECRYPT_DB","DECRYPT_DATAKEY_BIGINT","DECRYPT_DATAKEY_BIT","DECRYPT_DATAKEY_CLOB","DECRYPT_DATAKEY_DBCLOB","DECRYPT_DATAKEY_DECIMAL","DECRYPT_DATAKEY_INTEGER","DECRYPT_DATAKEY_VARCHAR","DECRYPT_DATAKEY_VARGRAPHIC","DEGREES","DIFFERENCE","DIGITS","DOUBLE_PRECISION","DOUBLE","DSN_XMLVALIDATE","EBCDIC_CHR","EBCDIC_STR","ENCRYPT_DATAKEY","ENCRYPT_TDES","EXP","EXTRACT","FLOAT","FLOOR","GENERATE_UNIQUE","GENERATE_UNIQUE_BINARY","GETHINT","GETVARIABLE","GRAPHIC","GREATEST","HASH","HASH_CRC32","HASH_MD5","HASH_SHA1","HASH_SHA256","HEX","HOUR","IDENTITY_VAL_LOCAL","IFNULL","INSERT","INSTR","INTEGER","INT","JULIAN_DAY","LAST_DAY","LCASE","LEAST","LEFT","LENGTH","LN","LOCATE","LOCATE_IN_STRING","LOG10","LOWER","LPAD","LTRIM","MAX","MAX_CARDINALITY","MICROSECOND","MIDNIGHT_SECONDS","MIN","MINUTE","MOD","MONTH","MONTHS_BETWEEN","MQREAD","MQREADCLOB","MQRECEIVE","MQRECEIVECLOB","MQSEND","MULTIPLY_ALT","NEXT_DAY","NEXT_MONTH","NORMALIZE_DECFLOAT","NORMALIZE_STRING","NULLIF","NVL","OVERLAY","PACK","POSITION","POSSTR","POWER","POW","QUANTIZE","QUARTER","RADIANS","RAISE_ERROR","RANDOM","RAND","REAL","REGEXP_COUNT","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_SUBSTR","REPEAT","REPLACE","RID","RIGHT","ROUND","ROUND_TIMESTAMP","ROWID","RPAD","RTRIM","SCORE","SECOND","SIGN","SIN","SINH","SMALLINT","SOUNDEX","SOAPHTTPC","SOAPHTTPV","SOAPHTTPNC","SOAPHTTPNV","SPACE","SQRT","STRIP","STRLEFT","STRPOS","STRRIGHT","SUBSTR","SUBSTRING","TAN","TANH","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIMESTAMP_FORMAT","TIMESTAMP_ISO","TIMESTAMP_TZ","TO_CHAR","TO_CLOB","TO_DATE","TO_NUMBER","TOTALORDER","TO_TIMESTAMP","TRANSLATE","TRIM","TRIM_ARRAY","TRUNCATE","TRUNC","TRUNC_TIMESTAMP","UCASE","UNICODE","UNICODE_STR","UNISTR","UPPER","VALUE","VARBINARY","VARCHAR","VARCHAR9","VARCHAR_BIT_FORMAT","VARCHAR_FORMAT","VARGRAPHIC","VERIFY_GROUP_FOR_USER","VERIFY_ROLE_FOR_USER","VERIFY_TRUSTED_CONTEXT_ROLE_FOR_USER","WEEK","WEEK_ISO","WRAP","XMLATTRIBUTES","XMLCOMMENT","XMLCONCAT","XMLDOCUMENT","XMLELEMENT","XMLFOREST","XMLMODIFY","XMLNAMESPACES","XMLPARSE","XMLPI","XMLQUERY","XMLSERIALIZE","XMLTEXT","XMLXSROBJECTID","XSLTRANSFORM","YEAR"],table:["ADMIN_TASK_LIST","ADMIN_TASK_OUTPUT","ADMIN_TASK_STATUS","BLOCKING_THREADS","MQREADALL","MQREADALLCLOB","MQRECEIVEALL","MQRECEIVEALLCLOB","XMLTABLE"],row:["UNPACK"],olap:["CUME_DIST","PERCENT_RANK","RANK","DENSE_RANK","NTILE","LAG","LEAD","ROW_NUMBER","FIRST_VALUE","LAST_VALUE","NTH_VALUE","RATIO_TO_REPORT"],cast:["CAST"]}),Y=v({standard:["ALL","ALLOCATE","ALLOW","ALTERAND","ANY","AS","ARRAY","ARRAY_EXISTS","ASENSITIVE","ASSOCIATE","ASUTIME","AT","AUDIT","AUX","AUXILIARY","BEFORE","BEGIN","BETWEEN","BUFFERPOOL","BY","CAPTURE","CASCADED","CAST","CCSID","CHARACTER","CHECK","CLONE","CLUSTER","COLLECTION","COLLID","COLUMN","CONDITION","CONNECTION","CONSTRAINT","CONTENT","CONTINUE","CREATE","CUBE","CURRENT","CURRENT_DATE","CURRENT_LC_CTYPE","CURRENT_PATH","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRVAL","CURSOR","DATA","DATABASE","DBINFO","DECLARE","DEFAULT","DESCRIPTOR","DETERMINISTIC","DISABLE","DISALLOW","DISTINCT","DO","DOCUMENT","DSSIZE","DYNAMIC","EDITPROC","ELSE","ELSEIF","ENCODING","ENCRYPTION","ENDING","END-EXEC","ERASE","ESCAPE","EXCEPTION","EXISTS","EXIT","EXTERNAL","FENCED","FIELDPROC","FINAL","FIRST","FOR","FREE","FULL","FUNCTION","GENERATED","GET","GLOBAL","GOTO","GROUP","HANDLER","HOLD","HOURS","IF","IMMEDIATE","IN","INCLUSIVE","INDEX","INHERIT","INNER","INOUT","INSENSITIVE","INTO","IS","ISOBID","ITERATE","JAR","KEEP","KEY","LANGUAGE","LAST","LC_CTYPE","LEAVE","LIKE","LOCAL","LOCALE","LOCATOR","LOCATORS","LOCK","LOCKMAX","LOCKSIZE","LONG","LOOP","MAINTAINED","MATERIALIZED","MICROSECONDS","MINUTEMINUTES","MODIFIES","MONTHS","NEXT","NEXTVAL","NO","NONE","NOT","NULL","NULLS","NUMPARTS","OBID","OF","OLD","ON","OPTIMIZATION","OPTIMIZE","ORDER","ORGANIZATION","OUT","OUTER","PACKAGE","PARAMETER","PART","PADDED","PARTITION","PARTITIONED","PARTITIONING","PATH","PIECESIZE","PERIOD","PLAN","PRECISION","PREVVAL","PRIOR","PRIQTY","PRIVILEGES","PROCEDURE","PROGRAM","PSID","PUBLIC","QUERY","QUERYNO","READS","REFERENCES","RESIGNAL","RESTRICT","RESULT","RESULT_SET_LOCATOR","RETURN","RETURNS","ROLE","ROLLUP","ROUND_CEILING","ROUND_DOWN","ROUND_FLOOR","ROUND_HALF_DOWN","ROUND_HALF_EVEN","ROUND_HALF_UP","ROUND_UP","ROW","ROWSET","SCHEMA","SCRATCHPAD","SECONDS","SECQTY","SECURITY","SEQUENCE","SENSITIVE","SESSION_USER","SIMPLE","SOME","SOURCE","SPECIFIC","STANDARD","STATIC","STATEMENT","STAY","STOGROUP","STORES","STYLE","SUMMARY","SYNONYM","SYSDATE","SYSTEM","SYSTIMESTAMP","TABLE","TABLESPACE","THEN","TO","TRIGGER","TYPE","UNDO","UNIQUE","UNTIL","USER","USING","VALIDPROC","VARIABLE","VARIANT","VCAT","VERSIONING","VIEW","VOLATILE","VOLUMES","WHILE","WLM","XMLEXISTS","XMLCAST","YEARS","ZONE"]}),k=A(["SELECT [ALL | DISTINCT]"]),V=A(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY [INPUT SEQUENCE]","FETCH FIRST","INSERT INTO","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED [THEN]","UPDATE SET","INSERT","CREATE [OR REPLACE] VIEW","CREATE [GLOBAL TEMPORARY] TABLE"]),$=A(["UPDATE","WHERE CURRENT OF","WITH {RR | RS | CS | UR}","DELETE FROM","DROP TABLE [HIERARCHY]","ALTER TABLE","ADD [COLUMN]","DROP [COLUMN]","RENAME [COLUMN]","ALTER [COLUMN]","SET DATA TYPE","SET NOT NULL","DROP {IDENTITY | EXPRESSION | DEFAULT | NOT NULL}","TRUNCATE [TABLE]","SET [CURRENT] SCHEMA","AFTER","GO","ALLOCATE CURSOR","ALTER DATABASE","ALTER FUNCTION","ALTER INDEX","ALTER MASK","ALTER PERMISSION","ALTER PROCEDURE","ALTER SEQUENCE","ALTER STOGROUP","ALTER TABLESPACE","ALTER TRIGGER","ALTER TRUSTED CONTEXT","ALTER VIEW","ASSOCIATE LOCATORS","BEGIN DECLARE SECTION","CALL","CLOSE","COMMENT","COMMIT","CONNECT","CREATE ALIAS","CREATE AUXILIARY TABLE","CREATE DATABASE","CREATE FUNCTION","CREATE GLOBAL TEMPORARY TABLE","CREATE INDEX","CREATE LOB TABLESPACE","CREATE MASK","CREATE PERMISSION","CREATE PROCEDURE","CREATE ROLE","CREATE SEQUENCE","CREATE STOGROUP","CREATE SYNONYM","CREATE TABLESPACE","CREATE TRIGGER","CREATE TRUSTED CONTEXT","CREATE TYPE","CREATE VARIABLE","DECLARE CURSOR","DECLARE GLOBAL TEMPORARY TABLE","DECLARE STATEMENT","DECLARE TABLE","DECLARE VARIABLE","DESCRIBE CURSOR","DESCRIBE INPUT","DESCRIBE OUTPUT","DESCRIBE PROCEDURE","DESCRIBE TABLE","DROP","END DECLARE SECTION","EXCHANGE","EXECUTE","EXECUTE IMMEDIATE","EXPLAIN","FETCH","FREE LOCATOR","GET DIAGNOSTICS","GRANT","HOLD LOCATOR","INCLUDE","LABEL","LOCK TABLE","OPEN","PREPARE","REFRESH","RELEASE","RELEASE SAVEPOINT","RENAME","REVOKE","ROLLBACK","SAVEPOINT","SELECT INTO","SET CONNECTION","SET CURRENT ACCELERATOR","SET CURRENT APPLICATION COMPATIBILITY","SET CURRENT APPLICATION ENCODING SCHEME","SET CURRENT DEBUG MODE","SET CURRENT DECFLOAT ROUNDING MODE","SET CURRENT DEGREE","SET CURRENT EXPLAIN MODE","SET CURRENT GET_ACCEL_ARCHIVE","SET CURRENT LOCALE LC_CTYPE","SET CURRENT MAINTAINED TABLE TYPES FOR OPTIMIZATION","SET CURRENT OPTIMIZATION HINT","SET CURRENT PACKAGE PATH","SET CURRENT PACKAGESET","SET CURRENT PRECISION","SET CURRENT QUERY ACCELERATION","SET CURRENT QUERY ACCELERATION WAITFORDATA","SET CURRENT REFRESH AGE","SET CURRENT ROUTINE VERSION","SET CURRENT RULES","SET CURRENT SQLID","SET CURRENT TEMPORAL BUSINESS_TIME","SET CURRENT TEMPORAL SYSTEM_TIME","SET ENCRYPTION PASSWORD","SET PATH","SET SESSION TIME ZONE","SIGNAL","VALUES INTO","WHENEVER"]),W=A(["UNION [ALL]","EXCEPT [ALL]","INTERSECT [ALL]"]),Z=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN"]),j=A(["ON DELETE","ON UPDATE","SET NULL","{ROWS | RANGE} BETWEEN"]),X={tokenizerOptions:{reservedSelect:k,reservedClauses:[...V,...$],reservedSetOperations:W,reservedJoins:Z,reservedPhrases:j,reservedKeywords:Y,reservedFunctionNames:B,stringTypes:[{quote:"''-qq",prefixes:["G","N","U&"]},{quote:"''-raw",prefixes:["X","BX","GX","UX"],requirePrefix:!0}],identTypes:['""-qq'],identChars:{first:"@#$"},paramTypes:{positional:!0,named:[":"]},paramChars:{first:"@#$",rest:"@#$"},operators:["**","\xac=","\xac>","\xac<","!>","!<","||"]},formatOptions:{onelineClauses:$}},K=v({math:["ABS","ACOS","ASIN","ATAN","BIN","BROUND","CBRT","CEIL","CEILING","CONV","COS","DEGREES","EXP","FACTORIAL","FLOOR","GREATEST","HEX","LEAST","LN","LOG","LOG10","LOG2","NEGATIVE","PI","PMOD","POSITIVE","POW","POWER","RADIANS","RAND","ROUND","SHIFTLEFT","SHIFTRIGHT","SHIFTRIGHTUNSIGNED","SIGN","SIN","SQRT","TAN","UNHEX","WIDTH_BUCKET"],array:["ARRAY_CONTAINS","MAP_KEYS","MAP_VALUES","SIZE","SORT_ARRAY"],conversion:["BINARY","CAST"],date:["ADD_MONTHS","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFYEAR","EXTRACT","FROM_UNIXTIME","FROM_UTC_TIMESTAMP","HOUR","LAST_DAY","MINUTE","MONTH","MONTHS_BETWEEN","NEXT_DAY","QUARTER","SECOND","TIMESTAMP","TO_DATE","TO_UTC_TIMESTAMP","TRUNC","UNIX_TIMESTAMP","WEEKOFYEAR","YEAR"],conditional:["ASSERT_TRUE","COALESCE","IF","ISNOTNULL","ISNULL","NULLIF","NVL"],string:["ASCII","BASE64","CHARACTER_LENGTH","CHR","CONCAT","CONCAT_WS","CONTEXT_NGRAMS","DECODE","ELT","ENCODE","FIELD","FIND_IN_SET","FORMAT_NUMBER","GET_JSON_OBJECT","IN_FILE","INITCAP","INSTR","LCASE","LENGTH","LEVENSHTEIN","LOCATE","LOWER","LPAD","LTRIM","NGRAMS","OCTET_LENGTH","PARSE_URL","PRINTF","QUOTE","REGEXP_EXTRACT","REGEXP_REPLACE","REPEAT","REVERSE","RPAD","RTRIM","SENTENCES","SOUNDEX","SPACE","SPLIT","STR_TO_MAP","SUBSTR","SUBSTRING","TRANSLATE","TRIM","UCASE","UNBASE64","UPPER"],masking:["MASK","MASK_FIRST_N","MASK_HASH","MASK_LAST_N","MASK_SHOW_FIRST_N","MASK_SHOW_LAST_N"],misc:["AES_DECRYPT","AES_ENCRYPT","CRC32","CURRENT_DATABASE","CURRENT_USER","HASH","JAVA_METHOD","LOGGED_IN_USER","MD5","REFLECT","SHA","SHA1","SHA2","SURROGATE_KEY","VERSION"],aggregate:["AVG","COLLECT_LIST","COLLECT_SET","CORR","COUNT","COVAR_POP","COVAR_SAMP","HISTOGRAM_NUMERIC","MAX","MIN","NTILE","PERCENTILE","PERCENTILE_APPROX","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","STDDEV_POP","STDDEV_SAMP","SUM","VAR_POP","VAR_SAMP","VARIANCE"],table:["EXPLODE","INLINE","JSON_TUPLE","PARSE_URL_TUPLE","POSEXPLODE","STACK"],window:["LEAD","LAG","FIRST_VALUE","LAST_VALUE","RANK","ROW_NUMBER","DENSE_RANK","CUME_DIST","PERCENT_RANK","NTILE"],dataTypes:["DECIMAL","NUMERIC","VARCHAR","CHAR"]}),z=v({nonReserved:["ADD","ADMIN","AFTER","ANALYZE","ARCHIVE","ASC","BEFORE","BUCKET","BUCKETS","CASCADE","CHANGE","CLUSTER","CLUSTERED","CLUSTERSTATUS","COLLECTION","COLUMNS","COMMENT","COMPACT","COMPACTIONS","COMPUTE","CONCATENATE","CONTINUE","DATA","DATABASES","DATETIME","DAY","DBPROPERTIES","DEFERRED","DEFINED","DELIMITED","DEPENDENCY","DESC","DIRECTORIES","DIRECTORY","DISABLE","DISTRIBUTE","ELEM_TYPE","ENABLE","ESCAPED","EXCLUSIVE","EXPLAIN","EXPORT","FIELDS","FILE","FILEFORMAT","FIRST","FORMAT","FORMATTED","FUNCTIONS","HOLD_DDLTIME","HOUR","IDXPROPERTIES","IGNORE","INDEX","INDEXES","INPATH","INPUTDRIVER","INPUTFORMAT","ITEMS","JAR","KEYS","KEY_TYPE","LIMIT","LINES","LOAD","LOCATION","LOCK","LOCKS","LOGICAL","LONG","MAPJOIN","MATERIALIZED","METADATA","MINUS","MINUTE","MONTH","MSCK","NOSCAN","NO_DROP","OFFLINE","OPTION","OUTPUTDRIVER","OUTPUTFORMAT","OVERWRITE","OWNER","PARTITIONED","PARTITIONS","PLUS","PRETTY","PRINCIPALS","PROTECTION","PURGE","READ","READONLY","REBUILD","RECORDREADER","RECORDWRITER","RELOAD","RENAME","REPAIR","REPLACE","REPLICATION","RESTRICT","REWRITE","ROLE","ROLES","SCHEMA","SCHEMAS","SECOND","SEMI","SERDE","SERDEPROPERTIES","SERVER","SETS","SHARED","SHOW","SHOW_DATABASE","SKEWED","SORT","SORTED","SSL","STATISTICS","STORED","STREAMTABLE","STRING","STRUCT","TABLES","TBLPROPERTIES","TEMPORARY","TERMINATED","TINYINT","TOUCH","TRANSACTIONS","UNARCHIVE","UNDO","UNIONTYPE","UNLOCK","UNSET","UNSIGNED","URI","USE","UTC","UTCTIMESTAMP","VALUE_TYPE","VIEW","WHILE","YEAR","AUTOCOMMIT","ISOLATION","LEVEL","OFFSET","SNAPSHOT","TRANSACTION","WORK","WRITE","ABORT","KEY","LAST","NORELY","NOVALIDATE","NULLS","RELY","VALIDATE","DETAIL","DOW","EXPRESSION","OPERATOR","QUARTER","SUMMARY","VECTORIZATION","WEEK","YEARS","MONTHS","WEEKS","DAYS","HOURS","MINUTES","SECONDS","TIMESTAMPTZ","ZONE"],reserved:["ALL","ALTER","AND","ARRAY","AS","AUTHORIZATION","BETWEEN","BIGINT","BINARY","BOOLEAN","BOTH","BY","CASE","CAST","CHAR","COLUMN","CONF","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIMESTAMP","CURSOR","DATABASE","DATE","DECIMAL","DELETE","DESCRIBE","DISTINCT","DOUBLE","DROP","ELSE","END","EXCHANGE","EXISTS","EXTENDED","EXTERNAL","FALSE","FETCH","FLOAT","FOLLOWING","FOR","FROM","FULL","FUNCTION","GRANT","GROUP","GROUPING","HAVING","IF","IMPORT","IN","INNER","INSERT","INT","INTERSECT","INTERVAL","INTO","IS","JOIN","LATERAL","LEFT","LESS","LIKE","LOCAL","MACRO","MAP","MORE","NONE","NOT","NULL","OF","ON","OR","ORDER","OUT","OUTER","OVER","PARTIALSCAN","PARTITION","PERCENT","PRECEDING","PRESERVE","PROCEDURE","RANGE","READS","REDUCE","REVOKE","RIGHT","ROLLUP","ROW","ROWS","SELECT","SET","SMALLINT","TABLE","TABLESAMPLE","THEN","TIMESTAMP","TO","TRANSFORM","TRIGGER","TRUE","TRUNCATE","UNBOUNDED","UNION","UNIQUEJOIN","UPDATE","USER","USING","UTC_TMESTAMP","VALUES","VARCHAR","WHEN","WHERE","WINDOW","WITH","COMMIT","ONLY","REGEXP","RLIKE","ROLLBACK","START","CACHE","CONSTRAINT","FOREIGN","PRIMARY","REFERENCES","DAYOFWEEK","EXTRACT","FLOOR","INTEGER","PRECISION","VIEWS","TIME","NUMERIC","SYNC"],fileTypes:["TEXTFILE","SEQUENCEFILE","ORC","CSV","TSV","PARQUET","AVRO","RCFILE","JSONFILE","INPUTFORMAT","OUTPUTFORMAT"]}),q=A(["SELECT [ALL | DISTINCT]"]),J=A(["WITH","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","SORT BY","CLUSTER BY","DISTRIBUTE BY","LIMIT","INSERT INTO [TABLE]","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED [THEN]","UPDATE SET","INSERT [VALUES]","INSERT OVERWRITE [LOCAL] DIRECTORY","LOAD DATA [LOCAL] INPATH","[OVERWRITE] INTO TABLE","CREATE [MATERIALIZED] VIEW [IF NOT EXISTS]","CREATE [TEMPORARY] [EXTERNAL] TABLE [IF NOT EXISTS]"]),Q=A(["UPDATE","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE","RENAME TO","TRUNCATE [TABLE]","ALTER","CREATE","USE","DESCRIBE","DROP","FETCH","SHOW","STORED AS","STORED BY","ROW FORMAT"]),ee=A(["UNION [ALL | DISTINCT]"]),et=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","LEFT SEMI JOIN"]),en=A(["{ROWS | RANGE} BETWEEN"]),er={tokenizerOptions:{reservedSelect:q,reservedClauses:[...J,...Q],reservedSetOperations:ee,reservedJoins:et,reservedPhrases:en,reservedKeywords:z,reservedFunctionNames:K,extraParens:["[]"],stringTypes:['""-bs',"''-bs"],identTypes:["``"],variableTypes:[{quote:"{}",prefixes:["$"],requirePrefix:!0}],operators:["%","~","^","|","&","<=>","==","!","||"]},formatOptions:{onelineClauses:Q}},eo=v({all:["ACCESSIBLE","ACCOUNT","ACTION","ADD","ADMIN","AFTER","AGAINST","AGGREGATE","ALL","ALGORITHM","ALTER","ALWAYS","ANALYZE","AND","ANY","AS","ASC","ASCII","ASENSITIVE","AT","ATOMIC","AUTHORS","AUTO_INCREMENT","AUTOEXTEND_SIZE","AUTO","AVG","AVG_ROW_LENGTH","BACKUP","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BINLOG","BIT","BLOB","BLOCK","BODY","BOOL","BOOLEAN","BOTH","BTREE","BY","BYTE","CACHE","CALL","CASCADE","CASCADED","CASE","CATALOG_NAME","CHAIN","CHANGE","CHANGED","CHAR","CHARACTER","CHARSET","CHECK","CHECKPOINT","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLOB","CLOSE","COALESCE","CODE","COLLATE","COLLATION","COLUMN","COLUMN_NAME","COLUMNS","COLUMN_ADD","COLUMN_CHECK","COLUMN_CREATE","COLUMN_DELETE","COLUMN_GET","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPRESSED","CONCURRENT","CONDITION","CONNECTION","CONSISTENT","CONSTRAINT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTINUE","CONTRIBUTORS","CONVERT","CPU","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_POS","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CURSOR_NAME","CYCLE","DATA","DATABASE","DATABASES","DATAFILE","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFINER","DELAYED","DELAY_KEY_WRITE","DELETE","DELETE_DOMAIN_ID","DESC","DESCRIBE","DES_KEY_FILE","DETERMINISTIC","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISTINCT","DISTINCTROW","DIV","DO","DOUBLE","DO_DOMAIN_IDS","DROP","DUAL","DUMPFILE","DUPLICATE","DYNAMIC","EACH","ELSE","ELSEIF","ELSIF","EMPTY","ENABLE","ENCLOSED","END","ENDS","ENGINE","ENGINES","ENUM","ERROR","ERRORS","ESCAPE","ESCAPED","EVENT","EVENTS","EVERY","EXAMINED","EXCEPT","EXCHANGE","EXCLUDE","EXECUTE","EXCEPTION","EXISTS","EXIT","EXPANSION","EXPIRE","EXPORT","EXPLAIN","EXTENDED","EXTENT_SIZE","FALSE","FAST","FAULTS","FEDERATED","FETCH","FIELDS","FILE","FIRST","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWING","FOLLOWS","FOR","FORCE","FOREIGN","FORMAT","FOUND","FROM","FULL","FULLTEXT","FUNCTION","GENERAL","GENERATED","GET_FORMAT","GET","GLOBAL","GOTO","GRANT","GRANTS","GROUP","HANDLER","HARD","HASH","HAVING","HELP","HIGH_PRIORITY","HISTORY","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IGNORE","IGNORED","IGNORE_DOMAIN_IDS","IGNORE_SERVER_IDS","IMMEDIATE","IMPORT","INTERSECT","IN","INCREMENT","INDEX","INDEXES","INFILE","INITIAL_SIZE","INNER","INOUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTALL","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERVAL","INVISIBLE","INTO","IO","IO_THREAD","IPC","IS","ISOLATION","ISOPEN","ISSUER","ITERATE","INVOKER","JOIN","JSON","JSON_TABLE","KEY","KEYS","KEY_BLOCK_SIZE","KILL","LANGUAGE","LAST","LAST_VALUE","LASTVAL","LEADING","LEAVE","LEAVES","LEFT","LESS","LEVEL","LIKE","LIMIT","LINEAR","LINES","LIST","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCK","LOCKED","LOCKS","LOGFILE","LOGS","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_GTID_POS","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_SERVER_ID","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_USER","MASTER_USE_GTID","MASTER_HEARTBEAT_PERIOD","MATCH","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_STATEMENT_TIME","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MAXVALUE","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIDDLEINT","MIGRATE","MINUS","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MINVALUE","MIN_ROWS","MOD","MODE","MODIFIES","MODIFY","MONITOR","MONTH","MUTEX","MYSQL","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NESTED","NEVER","NEW","NEXT","NEXTVAL","NO","NOMAXVALUE","NOMINVALUE","NOCACHE","NOCYCLE","NO_WAIT","NOWAIT","NODEGROUP","NONE","NOT","NOTFOUND","NO_WRITE_TO_BINLOG","NULL","NUMBER","NUMERIC","NVARCHAR","OF","OFFSET","OLD_PASSWORD","ON","ONE","ONLINE","ONLY","OPEN","OPTIMIZE","OPTIONS","OPTION","OPTIONALLY","OR","ORDER","ORDINALITY","OTHERS","OUT","OUTER","OUTFILE","OVER","OVERLAPS","OWNER","PACKAGE","PACK_KEYS","PAGE","PAGE_CHECKSUM","PARSER","PARSE_VCOL_EXPR","PATH","PERIOD","PARTIAL","PARTITION","PARTITIONING","PARTITIONS","PASSWORD","PERSISTENT","PHASE","PLUGIN","PLUGINS","PORT","PORTION","PRECEDES","PRECEDING","PRECISION","PREPARE","PRESERVE","PREV","PREVIOUS","PRIMARY","PRIVILEGES","PROCEDURE","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROXY","PURGE","QUARTER","QUERY","QUICK","RAISE","RANGE","RAW","READ","READ_ONLY","READ_WRITE","READS","REAL","REBUILD","RECOVER","RECURSIVE","REDO_BUFFER_SIZE","REDOFILE","REDUNDANT","REFERENCES","REGEXP","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","RENAME","REORGANIZE","REPAIR","REPEATABLE","REPLACE","REPLAY","REPLICA","REPLICAS","REPLICA_POS","REPLICATION","REPEAT","REQUIRE","RESET","RESIGNAL","RESTART","RESTORE","RESTRICT","RESUME","RETURNED_SQLSTATE","RETURN","RETURNING","RETURNS","REUSE","REVERSE","REVOKE","RIGHT","RLIKE","ROLE","ROLLBACK","ROLLUP","ROUTINE","ROW","ROWCOUNT","ROWNUM","ROWS","ROWTYPE","ROW_COUNT","ROW_FORMAT","RTREE","SAVEPOINT","SCHEDULE","SCHEMA","SCHEMA_NAME","SCHEMAS","SECOND","SECOND_MICROSECOND","SECURITY","SELECT","SENSITIVE","SEPARATOR","SEQUENCE","SERIAL","SERIALIZABLE","SESSION","SERVER","SET","SETVAL","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMPLE","SKIP","SLAVE","SLAVES","SLAVE_POS","SLOW","SNAPSHOT","SMALLINT","SOCKET","SOFT","SOME","SONAME","SOUNDS","SOURCE","STAGE","STORED","SPATIAL","SPECIFIC","REF_SYSTEM_ID","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQL_NO_CACHE","SQL_SMALL_RESULT","SQL_THREAD","SQL_TSI_SECOND","SQL_TSI_MINUTE","SQL_TSI_HOUR","SQL_TSI_DAY","SQL_TSI_WEEK","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_YEAR","SSL","START","STARTING","STARTS","STATEMENT","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STRAIGHT_JOIN","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","SYSDATE","SYSTEM","SYSTEM_TIME","TABLE","TABLE_NAME","TABLES","TABLESPACE","TABLE_CHECKSUM","TEMPORARY","TEMPTABLE","TERMINATED","TEXT","THAN","THEN","TIES","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TINYBLOB","TINYINT","TINYTEXT","TO","TRAILING","TRANSACTION","TRANSACTIONAL","THREADS","TRIGGER","TRIGGERS","TRUE","TRUNCATE","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDO_BUFFER_SIZE","UNDOFILE","UNDO","UNICODE","UNION","UNIQUE","UNKNOWN","UNLOCK","UNINSTALL","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USER_RESOURCES","USE_FRM","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARCHAR2","VARIABLES","VARYING","VIA","VIEW","VIRTUAL","VISIBLE","VERSIONING","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WHEN","WHERE","WHILE","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","X509","XOR","XA","XML","YEAR","YEAR_MONTH","ZEROFILL"]}),ei=v({all:["ADDDATE","ADD_MONTHS","BIT_AND","BIT_OR","BIT_XOR","CAST","COUNT","CUME_DIST","CURDATE","CURTIME","DATE_ADD","DATE_SUB","DATE_FORMAT","DECODE","DENSE_RANK","EXTRACT","FIRST_VALUE","GROUP_CONCAT","JSON_ARRAYAGG","JSON_OBJECTAGG","LAG","LEAD","MAX","MEDIAN","MID","MIN","NOW","NTH_VALUE","NTILE","POSITION","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","RANK","ROW_NUMBER","SESSION_USER","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","SUBDATE","SUBSTR","SUBSTRING","SUM","SYSTEM_USER","TRIM","TRIM_ORACLE","VARIANCE","VAR_POP","VAR_SAMP","ABS","ACOS","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ASIN","ATAN","ATAN2","BENCHMARK","BIN","BINLOG_GTID_POS","BIT_COUNT","BIT_LENGTH","CEIL","CEILING","CHARACTER_LENGTH","CHAR_LENGTH","CHR","COERCIBILITY","COLUMN_CHECK","COLUMN_EXISTS","COLUMN_LIST","COLUMN_JSON","COMPRESS","CONCAT","CONCAT_OPERATOR_ORACLE","CONCAT_WS","CONNECTION_ID","CONV","CONVERT_TZ","COS","COT","CRC32","DATEDIFF","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DEGREES","DECODE_HISTOGRAM","DECODE_ORACLE","DES_DECRYPT","DES_ENCRYPT","ELT","ENCODE","ENCRYPT","EXP","EXPORT_SET","EXTRACTVALUE","FIELD","FIND_IN_SET","FLOOR","FORMAT","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GET_LOCK","GREATEST","HEX","IFNULL","INSTR","ISNULL","IS_FREE_LOCK","IS_USED_LOCK","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_COMPACT","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_DETAILED","JSON_EXISTS","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_LOOSE","JSON_MERGE","JSON_MERGE_PATCH","JSON_MERGE_PRESERVE","JSON_QUERY","JSON_QUOTE","JSON_OBJECT","JSON_REMOVE","JSON_REPLACE","JSON_SET","JSON_SEARCH","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","JSON_VALUE","LAST_DAY","LAST_INSERT_ID","LCASE","LEAST","LENGTH","LENGTHB","LN","LOAD_FILE","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LPAD_ORACLE","LTRIM","LTRIM_ORACLE","MAKEDATE","MAKETIME","MAKE_SET","MASTER_GTID_WAIT","MASTER_POS_WAIT","MD5","MONTHNAME","NAME_CONST","NVL","NVL2","OCT","OCTET_LENGTH","ORD","PERIOD_ADD","PERIOD_DIFF","PI","POW","POWER","QUOTE","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","RADIANS","RAND","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPLACE_ORACLE","REVERSE","ROUND","RPAD","RPAD_ORACLE","RTRIM","RTRIM_ORACLE","SEC_TO_TIME","SHA","SHA1","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SPACE","SQRT","STRCMP","STR_TO_DATE","SUBSTR_ORACLE","SUBSTRING_INDEX","SUBTIME","SYS_GUID","TAN","TIMEDIFF","TIME_FORMAT","TIME_TO_SEC","TO_BASE64","TO_CHAR","TO_DAYS","TO_SECONDS","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UPDATEXML","UPPER","UUID","UUID_SHORT","VERSION","WEEKDAY","WEEKOFYEAR","WSREP_LAST_WRITTEN_GTID","WSREP_LAST_SEEN_GTID","WSREP_SYNC_WAIT_UPTO_GTID","YEARWEEK","COALESCE","NULLIF","TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","DECIMAL","DEC","NUMERIC","FIXED","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","BIT","BINARY","BLOB","CHAR","NATIONAL CHAR","CHAR BYTE","ENUM","VARBINARY","VARCHAR","NATIONAL VARCHAR","TIME","DATETIME","TIMESTAMP","YEAR"]}),ea=A(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),es=A(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE] [INTO]","REPLACE [LOW_PRIORITY | DELAYED] [INTO]","VALUES","SET","CREATE [OR REPLACE] [SQL SECURITY DEFINER | SQL SECURITY INVOKER] VIEW [IF NOT EXISTS]","CREATE [OR REPLACE] [TEMPORARY] TABLE [IF NOT EXISTS]","RETURNING"]),el=A(["UPDATE [LOW_PRIORITY] [IGNORE]","DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM","DROP [TEMPORARY] TABLE [IF EXISTS]","ALTER [ONLINE] [IGNORE] TABLE [IF EXISTS]","ADD [COLUMN] [IF NOT EXISTS]","{CHANGE | MODIFY} [COLUMN] [IF EXISTS]","DROP [COLUMN] [IF EXISTS]","RENAME [TO]","RENAME COLUMN","ALTER [COLUMN]","{SET | DROP} DEFAULT","SET {VISIBLE | INVISIBLE}","TRUNCATE [TABLE]","ALTER DATABASE","ALTER DATABASE COMMENT","ALTER EVENT","ALTER FUNCTION","ALTER PROCEDURE","ALTER SCHEMA","ALTER SCHEMA COMMENT","ALTER SEQUENCE","ALTER SERVER","ALTER USER","ALTER VIEW","ANALYZE","ANALYZE TABLE","BACKUP LOCK","BACKUP STAGE","BACKUP UNLOCK","BEGIN","BINLOG","CACHE INDEX","CALL","CHANGE MASTER TO","CHECK TABLE","CHECK VIEW","CHECKSUM TABLE","COMMIT","CREATE AGGREGATE FUNCTION","CREATE DATABASE","CREATE EVENT","CREATE FUNCTION","CREATE INDEX","CREATE PROCEDURE","CREATE ROLE","CREATE SEQUENCE","CREATE SERVER","CREATE SPATIAL INDEX","CREATE TRIGGER","CREATE UNIQUE INDEX","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DROP DATABASE","DROP EVENT","DROP FUNCTION","DROP INDEX","DROP PREPARE","DROP PROCEDURE","DROP ROLE","DROP SEQUENCE","DROP SERVER","DROP TRIGGER","DROP USER","DROP VIEW","EXECUTE","EXPLAIN","FLUSH","GET DIAGNOSTICS","GET DIAGNOSTICS CONDITION","GRANT","HANDLER","HELP","INSTALL PLUGIN","INSTALL SONAME","KILL","LOAD DATA INFILE","LOAD INDEX INTO CACHE","LOAD XML INFILE","LOCK TABLE","OPTIMIZE TABLE","PREPARE","PURGE BINARY LOGS","PURGE MASTER LOGS","RELEASE SAVEPOINT","RENAME TABLE","RENAME USER","REPAIR TABLE","REPAIR VIEW","RESET MASTER","RESET QUERY CACHE","RESET REPLICA","RESET SLAVE","RESIGNAL","REVOKE","ROLLBACK","SAVEPOINT","SET CHARACTER SET","SET DEFAULT ROLE","SET GLOBAL TRANSACTION","SET NAMES","SET PASSWORD","SET ROLE","SET STATEMENT","SET TRANSACTION","SHOW","SHOW ALL REPLICAS STATUS","SHOW ALL SLAVES STATUS","SHOW AUTHORS","SHOW BINARY LOGS","SHOW BINLOG EVENTS","SHOW BINLOG STATUS","SHOW CHARACTER SET","SHOW CLIENT_STATISTICS","SHOW COLLATION","SHOW COLUMNS","SHOW CONTRIBUTORS","SHOW CREATE DATABASE","SHOW CREATE EVENT","SHOW CREATE FUNCTION","SHOW CREATE PACKAGE","SHOW CREATE PACKAGE BODY","SHOW CREATE PROCEDURE","SHOW CREATE SEQUENCE","SHOW CREATE TABLE","SHOW CREATE TRIGGER","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINE INNODB STATUS","SHOW ENGINES","SHOW ERRORS","SHOW EVENTS","SHOW EXPLAIN","SHOW FUNCTION CODE","SHOW FUNCTION STATUS","SHOW GRANTS","SHOW INDEX","SHOW INDEXES","SHOW INDEX_STATISTICS","SHOW KEYS","SHOW LOCALES","SHOW MASTER LOGS","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PACKAGE BODY CODE","SHOW PACKAGE BODY STATUS","SHOW PACKAGE STATUS","SHOW PLUGINS","SHOW PLUGINS SONAME","SHOW PRIVILEGES","SHOW PROCEDURE CODE","SHOW PROCEDURE STATUS","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW QUERY_RESPONSE_TIME","SHOW RELAYLOG EVENTS","SHOW REPLICA","SHOW REPLICA HOSTS","SHOW REPLICA STATUS","SHOW SCHEMAS","SHOW SLAVE","SHOW SLAVE HOSTS","SHOW SLAVE STATUS","SHOW STATUS","SHOW STORAGE ENGINES","SHOW TABLE STATUS","SHOW TABLES","SHOW TRIGGERS","SHOW USER_STATISTICS","SHOW VARIABLES","SHOW WARNINGS","SHOW WSREP_MEMBERSHIP","SHOW WSREP_STATUS","SHUTDOWN","SIGNAL","START ALL REPLICAS","START ALL SLAVES","START REPLICA","START SLAVE","START TRANSACTION","STOP ALL REPLICAS","STOP ALL SLAVES","STOP REPLICA","STOP SLAVE","UNINSTALL PLUGIN","UNINSTALL SONAME","UNLOCK TABLE","USE","XA BEGIN","XA COMMIT","XA END","XA PREPARE","XA RECOVER","XA ROLLBACK","XA START"]),ec=A(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]","MINUS [ALL | DISTINCT]"]),eE=A(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),eu=A(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),eT={tokenizerOptions:{reservedSelect:ea,reservedClauses:[...es,...el],reservedSetOperations:ec,reservedJoins:eE,reservedPhrases:eu,supportsXor:!0,reservedKeywords:eo,reservedFunctionNames:ei,stringTypes:['""-qq-bs',"''-qq-bs",{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:["``"],identChars:{first:"$",rest:"$",allowFirstCharNumber:!0},variableTypes:[{regex:"@@?[A-Za-z0-9_.$]+"},{quote:'""-qq-bs',prefixes:["@"],requirePrefix:!0},{quote:"''-qq-bs",prefixes:["@"],requirePrefix:!0},{quote:"``",prefixes:["@"],requirePrefix:!0}],paramTypes:{positional:!0},lineCommentTypes:["--","#"],operators:["%",":=","&","|","^","~","<<",">>","<=>","&&","||","!"],postProcess:function(e){return e.map((t,n)=>{let o=e[n+1]||u;return d.SET(t)&&"("===o.text?{...t,type:r.RESERVED_FUNCTION_NAME}:t})}},formatOptions:{onelineClauses:el}},ed=v({all:["ACCESSIBLE","ACCOUNT","ACTION","ACTIVE","ADD","ADMIN","AFTER","AGAINST","AGGREGATE","ALGORITHM","ALL","ALTER","ALWAYS","ANALYZE","AND","ANY","ARRAY","AS","ASC","ASCII","ASENSITIVE","AT","ATTRIBUTE","AUTHENTICATION","AUTOEXTEND_SIZE","AUTO_INCREMENT","AVG","AVG_ROW_LENGTH","BACKUP","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BINLOG","BIT","BLOB","BLOCK","BOOL","BOOLEAN","BOTH","BTREE","BUCKETS","BY","BYTE","CACHE","CALL","CASCADE","CASCADED","CASE","CATALOG_NAME","CHAIN","CHALLENGE_RESPONSE","CHANGE","CHANGED","CHANNEL","CHAR","CHARACTER","CHARSET","CHECK","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLONE","CLOSE","COALESCE","CODE","COLLATE","COLLATION","COLUMN","COLUMNS","COLUMN_FORMAT","COLUMN_NAME","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPONENT","COMPRESSED","COMPRESSION","CONCURRENT","CONDITION","CONNECTION","CONSISTENT","CONSTRAINT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTINUE","CONVERT","CPU","CREATE","CROSS","CUBE","CUME_DIST","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CURSOR_NAME","DATA","DATABASE","DATABASES","DATAFILE","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULT_AUTH","DEFINER","DEFINITION","DELAYED","DELAY_KEY_WRITE","DELETE","DENSE_RANK","DESC","DESCRIBE","DESCRIPTION","DETERMINISTIC","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISTINCT","DISTINCTROW","DIV","DO","DOUBLE","DROP","DUAL","DUMPFILE","DUPLICATE","DYNAMIC","EACH","ELSE","ELSEIF","EMPTY","ENABLE","ENCLOSED","ENCRYPTION","END","ENDS","ENFORCED","ENGINE","ENGINES","ENGINE_ATTRIBUTE","ENUM","ERROR","ERRORS","ESCAPE","ESCAPED","EVENT","EVENTS","EVERY","EXCEPT","EXCHANGE","EXCLUDE","EXECUTE","EXISTS","EXIT","EXPANSION","EXPIRE","EXPLAIN","EXPORT","EXTENDED","EXTENT_SIZE","FACTOR","FAILED_LOGIN_ATTEMPTS","FALSE","FAST","FAULTS","FETCH","FIELDS","FILE","FILE_BLOCK_SIZE","FILTER","FINISH","FIRST","FIRST_VALUE","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWING","FOLLOWS","FOR","FORCE","FOREIGN","FORMAT","FOUND","FROM","FULL","FULLTEXT","FUNCTION","GENERAL","GENERATED","GEOMCOLLECTION","GEOMETRY","GEOMETRYCOLLECTION","GET","GET_FORMAT","GET_MASTER_PUBLIC_KEY","GET_SOURCE_PUBLIC_KEY","GLOBAL","GRANT","GRANTS","GROUP","GROUPING","GROUPS","GROUP_REPLICATION","GTID_ONLY","HANDLER","HASH","HAVING","HELP","HIGH_PRIORITY","HISTOGRAM","HISTORY","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IGNORE","IGNORE_SERVER_IDS","IMPORT","IN","INACTIVE","INDEX","INDEXES","INFILE","INITIAL","INITIAL_SIZE","INITIATE","INNER","INOUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTALL","INSTANCE","IN","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERSECT","INTERVAL","INTO","INVISIBLE","INVOKER","IO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IO_THREAD","IPC","IS","ISOLATION","ISSUER","ITERATE","JOIN","JSON","JSON_TABLE","JSON_VALUE","KEY","KEYRING","KEYS","KEY_BLOCK_SIZE","KILL","LAG","LANGUAGE","LAST","LAST_VALUE","LATERAL","LEAD","LEADING","LEAVE","LEAVES","LEFT","LESS","LEVEL","LIKE","LIMIT","LINEAR","LINES","LINESTRING","LIST","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCK","LOCKED","LOCKS","LOGFILE","LOGS","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER","MASTER_AUTO_POSITION","MASTER_BIND","MASTER_COMPRESSION_ALGORITHMS","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_HEARTBEAT_PERIOD","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_PUBLIC_KEY_PATH","MASTER_RETRY_COUNT","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_TLS_CIPHERSUITES","MASTER_TLS_VERSION","MASTER_USER","MASTER_ZSTD_COMPRESSION_LEVEL","MATCH","MAXVALUE","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMBER","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIDDLEINT","MIGRATE","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MIN_ROWS","MOD","MODE","MODIFIES","MODIFY","MONTH","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","MUTEX","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NDB","NDBCLUSTER","NESTED","NETWORK_NAMESPACE","NEVER","NEW","NEXT","NO","NODEGROUP","NONE","NOT","NOWAIT","NO_WAIT","NO_WRITE_TO_BINLOG","NTH_VALUE","NTILE","NULL","NULLS","NUMBER","NUMERIC","NVARCHAR","OF","OFF","OFFSET","OJ","OLD","ON","ONE","ONLY","OPEN","OPTIMIZE","OPTIMIZER_COSTS","OPTION","OPTIONAL","OPTIONALLY","OPTIONS","OR","ORDER","ORDINALITY","ORGANIZATION","OTHERS","OUT","OUTER","OUTFILE","OVER","OWNER","PACK_KEYS","PAGE","PARSER","PARTIAL","PARTITION","PARTITIONING","PARTITIONS","PASSWORD","PASSWORD_LOCK_TIME","PATH","PERCENT_RANK","PERSIST","PERSIST_ONLY","PHASE","PLUGIN","PLUGINS","PLUGIN_DIR","POINT","POLYGON","PORT","PRECEDES","PRECEDING","PRECISION","PREPARE","PRESERVE","PREV","PRIMARY","PRIVILEGES","PRIVILEGE_CHECKS_USER","PROCEDURE","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROXY","PURGE","QUARTER","QUERY","QUICK","RANDOM","RANGE","RANK","READ","READS","READ_ONLY","READ_WRITE","REAL","REBUILD","RECOVER","RECURSIVE","REDO_BUFFER_SIZE","REDUNDANT","REFERENCE","REFERENCES","REGEXP","REGISTRATION","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","RENAME","REORGANIZE","REPAIR","REPEAT","REPEATABLE","REPLACE","REPLICA","REPLICAS","REPLICATE_DO_DB","REPLICATE_DO_TABLE","REPLICATE_IGNORE_DB","REPLICATE_IGNORE_TABLE","REPLICATE_REWRITE_DB","REPLICATE_WILD_DO_TABLE","REPLICATE_WILD_IGNORE_TABLE","REPLICATION","REQUIRE","REQUIRE_ROW_FORMAT","RESET","RESIGNAL","RESOURCE","RESPECT","RESTART","RESTORE","RESTRICT","RESUME","RETAIN","RETURN","RETURNED_SQLSTATE","RETURNING","RETURNS","REUSE","REVERSE","REVOKE","RIGHT","RLIKE","ROLE","ROLLBACK","ROLLUP","ROTATE","ROUTINE","ROW","ROWS","ROW_COUNT","ROW_FORMAT","ROW_NUMBER","RTREE","SAVEPOINT","SCHEDULE","SCHEMA","SCHEMAS","SCHEMA_NAME","SECOND","SECONDARY","SECONDARY_ENGINE","SECONDARY_ENGINE_ATTRIBUTE","SECONDARY_LOAD","SECONDARY_UNLOAD","SECOND_MICROSECOND","SECURITY","SELECT","SENSITIVE","SEPARATOR","SERIAL","SERIALIZABLE","SERVER","SESSION","SET","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMPLE","SKIP","SLAVE","SLOW","SMALLINT","SNAPSHOT","SOCKET","SOME","SONAME","SOUNDS","SOURCE","SOURCE_AUTO_POSITION","SOURCE_BIND","SOURCE_COMPRESSION_ALGORITHMS","SOURCE_CONNECT_RETRY","SOURCE_DELAY","SOURCE_HEARTBEAT_PERIOD","SOURCE_HOST","SOURCE_LOG_FILE","SOURCE_LOG_POS","SOURCE_PASSWORD","SOURCE_PORT","SOURCE_PUBLIC_KEY_PATH","SOURCE_RETRY_COUNT","SOURCE_SSL","SOURCE_SSL_CA","SOURCE_SSL_CAPATH","SOURCE_SSL_CERT","SOURCE_SSL_CIPHER","SOURCE_SSL_CRL","SOURCE_SSL_CRLPATH","SOURCE_SSL_KEY","SOURCE_SSL_VERIFY_SERVER_CERT","SOURCE_TLS_CIPHERSUITES","SOURCE_TLS_VERSION","SOURCE_USER","SOURCE_ZSTD_COMPRESSION_LEVEL","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_AFTER_GTIDS","SQL_AFTER_MTS_GAPS","SQL_BEFORE_GTIDS","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CALC_FOUND_ROWS","SQL_NO_CACHE","SQL_SMALL_RESULT","SQL_THREAD","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SRID","SSL","STACKED","START","STARTING","STARTS","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STORED","STRAIGHT_JOIN","STREAM","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","SYSTEM","TABLE","TABLES","TABLESPACE","TABLE_CHECKSUM","TABLE_NAME","TEMPORARY","TEMPTABLE","TERMINATED","TEXT","THAN","THEN","THREAD_PRIORITY","TIES","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TINYBLOB","TINYINT","TINYTEXT","TLS","TO","TRAILING","TRANSACTION","TRIGGER","TRIGGERS","TRUE","TRUNCATE","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDO","UNDOFILE","UNDO_BUFFER_SIZE","UNICODE","UNINSTALL","UNION","UNIQUE","UNKNOWN","UNLOCK","UNREGISTER","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USER_RESOURCES","USE_FRM","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARIABLES","VARYING","VCPU","VIEW","VIRTUAL","VISIBLE","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WHEN","WHERE","WHILE","WINDOW","WITH","WITHOUT","WORK","WRAPPER","WRITE","X509","XA","XID","XML","XOR","YEAR","YEAR_MONTH","ZEROFILL","ZONE"]}),ef=v({all:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","ASCII","ASIN","ATAN","ATAN2","AVG","BENCHMARK","BIN","BIN_TO_UUID","BINARY","BIT_AND","BIT_COUNT","BIT_LENGTH","BIT_OR","BIT_XOR","CAN_ACCESS_COLUMN","CAN_ACCESS_DATABASE","CAN_ACCESS_TABLE","CAN_ACCESS_USER","CAN_ACCESS_VIEW","CAST","CEIL","CEILING","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COMPRESS","CONCAT","CONCAT_WS","CONNECTION_ID","CONV","CONVERT","CONVERT_TZ","COS","COT","COUNT","CRC32","CUME_DIST","CURDATE","CURRENT_DATE","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DEFAULT","DEGREES","DENSE_RANK","DIV","ELT","EXP","EXPORT_SET","EXTRACT","EXTRACTVALUE","FIELD","FIND_IN_SET","FIRST_VALUE","FLOOR","FORMAT","FORMAT_BYTES","FORMAT_PICO_TIME","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GEOMCOLLECTION","GEOMETRYCOLLECTION","GET_DD_COLUMN_PRIVILEGES","GET_DD_CREATE_OPTIONS","GET_DD_INDEX_SUB_PART_LENGTH","GET_FORMAT","GET_LOCK","GREATEST","GROUP_CONCAT","GROUPING","GTID_SUBSET","GTID_SUBTRACT","HEX","HOUR","ICU_VERSION","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INSERT","INSTR","INTERNAL_AUTO_INCREMENT","INTERNAL_AVG_ROW_LENGTH","INTERNAL_CHECK_TIME","INTERNAL_CHECKSUM","INTERNAL_DATA_FREE","INTERNAL_DATA_LENGTH","INTERNAL_DD_CHAR_LENGTH","INTERNAL_GET_COMMENT_OR_ERROR","INTERNAL_GET_ENABLED_ROLE_JSON","INTERNAL_GET_HOSTNAME","INTERNAL_GET_USERNAME","INTERNAL_GET_VIEW_WARNING_OR_ERROR","INTERNAL_INDEX_COLUMN_CARDINALITY","INTERNAL_INDEX_LENGTH","INTERNAL_IS_ENABLED_ROLE","INTERNAL_IS_MANDATORY_ROLE","INTERNAL_KEYS_DISABLED","INTERNAL_MAX_DATA_LENGTH","INTERNAL_TABLE_ROWS","INTERNAL_UPDATE_TIME","INTERVAL","IS","IS_FREE_LOCK","IS_IPV4","IS_IPV4_COMPAT","IS_IPV4_MAPPED","IS_IPV6","IS NOT","IS NOT NULL","IS NULL","IS_USED_LOCK","IS_UUID","ISNULL","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_ARRAYAGG","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_MERGE","JSON_MERGE_PATCH","JSON_MERGE_PRESERVE","JSON_OBJECT","JSON_OBJECTAGG","JSON_OVERLAPS","JSON_PRETTY","JSON_QUOTE","JSON_REMOVE","JSON_REPLACE","JSON_SCHEMA_VALID","JSON_SCHEMA_VALIDATION_REPORT","JSON_SEARCH","JSON_SET","JSON_STORAGE_FREE","JSON_STORAGE_SIZE","JSON_TABLE","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","JSON_VALUE","LAG","LAST_DAY","LAST_INSERT_ID","LAST_VALUE","LCASE","LEAD","LEAST","LEFT","LENGTH","LIKE","LINESTRING","LN","LOAD_FILE","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","MAKE_SET","MAKEDATE","MAKETIME","MASTER_POS_WAIT","MATCH","MAX","MBRCONTAINS","MBRCOVEREDBY","MBRCOVERS","MBRDISJOINT","MBREQUALS","MBRINTERSECTS","MBROVERLAPS","MBRTOUCHES","MBRWITHIN","MD5","MEMBER OF","MICROSECOND","MID","MIN","MINUTE","MOD","MONTH","MONTHNAME","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","NAME_CONST","NOT","NOT IN","NOT LIKE","NOT REGEXP","NOW","NTH_VALUE","NTILE","NULLIF","OCT","OCTET_LENGTH","ORD","PERCENT_RANK","PERIOD_ADD","PERIOD_DIFF","PI","POINT","POLYGON","POSITION","POW","POWER","PS_CURRENT_THREAD_ID","PS_THREAD_ID","QUARTER","QUOTE","RADIANS","RAND","RANDOM_BYTES","RANK","REGEXP","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_SUBSTR","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPEAT","REPLACE","REVERSE","RIGHT","RLIKE","ROLES_GRAPHML","ROUND","ROW_COUNT","ROW_NUMBER","RPAD","RTRIM","SCHEMA","SEC_TO_TIME","SECOND","SESSION_USER","SHA1","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SOUNDS LIKE","SOURCE_POS_WAIT","SPACE","SQRT","ST_AREA","ST_ASBINARY","ST_ASGEOJSON","ST_ASTEXT","ST_BUFFER","ST_BUFFER_STRATEGY","ST_CENTROID","ST_COLLECT","ST_CONTAINS","ST_CONVEXHULL","ST_CROSSES","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_DISTANCE_SPHERE","ST_ENDPOINT","ST_ENVELOPE","ST_EQUALS","ST_EXTERIORRING","ST_FRECHETDISTANCE","ST_GEOHASH","ST_GEOMCOLLFROMTEXT","ST_GEOMCOLLFROMWKB","ST_GEOMETRYN","ST_GEOMETRYTYPE","ST_GEOMFROMGEOJSON","ST_GEOMFROMTEXT","ST_GEOMFROMWKB","ST_HAUSDORFFDISTANCE","ST_INTERIORRINGN","ST_INTERSECTION","ST_INTERSECTS","ST_ISCLOSED","ST_ISEMPTY","ST_ISSIMPLE","ST_ISVALID","ST_LATFROMGEOHASH","ST_LATITUDE","ST_LENGTH","ST_LINEFROMTEXT","ST_LINEFROMWKB","ST_LINEINTERPOLATEPOINT","ST_LINEINTERPOLATEPOINTS","ST_LONGFROMGEOHASH","ST_LONGITUDE","ST_MAKEENVELOPE","ST_MLINEFROMTEXT","ST_MLINEFROMWKB","ST_MPOINTFROMTEXT","ST_MPOINTFROMWKB","ST_MPOLYFROMTEXT","ST_MPOLYFROMWKB","ST_NUMGEOMETRIES","ST_NUMINTERIORRING","ST_NUMPOINTS","ST_OVERLAPS","ST_POINTATDISTANCE","ST_POINTFROMGEOHASH","ST_POINTFROMTEXT","ST_POINTFROMWKB","ST_POINTN","ST_POLYFROMTEXT","ST_POLYFROMWKB","ST_SIMPLIFY","ST_SRID","ST_STARTPOINT","ST_SWAPXY","ST_SYMDIFFERENCE","ST_TOUCHES","ST_TRANSFORM","ST_UNION","ST_VALIDATE","ST_WITHIN","ST_X","ST_Y","STATEMENT_DIGEST","STATEMENT_DIGEST_TEXT","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","STRCMP","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUBTIME","SUM","SYSDATE","SYSTEM_USER","TAN","TIME","TIME_FORMAT","TIME_TO_SEC","TIMEDIFF","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TO_BASE64","TO_DAYS","TO_SECONDS","TRIM","TRUNCATE","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UPDATEXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","UUID_SHORT","UUID_TO_BIN","VALIDATE_PASSWORD_STRENGTH","VALUES","VAR_POP","VAR_SAMP","VARIANCE","VERSION","WAIT_FOR_EXECUTED_GTID_SET","WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS","WEEK","WEEKDAY","WEEKOFYEAR","WEIGHT_STRING","YEAR","YEARWEEK","BIT","TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","DECIMAL","DEC","NUMERIC","FIXED","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","DATETIME","TIMESTAMP","TIME","YEAR","CHAR","NATIONAL CHAR","VARCHAR","NATIONAL VARCHAR","BINARY","VARBINARY","BLOB","TEXT","ENUM"]}),eR=A(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),eA=A(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE] [INTO]","REPLACE [LOW_PRIORITY | DELAYED] [INTO]","VALUES","SET","CREATE [OR REPLACE] [SQL SECURITY DEFINER | SQL SECURITY INVOKER] VIEW [IF NOT EXISTS]","CREATE [TEMPORARY] TABLE [IF NOT EXISTS]"]),eS=A(["UPDATE [LOW_PRIORITY] [IGNORE]","DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM","DROP [TEMPORARY] TABLE [IF EXISTS]","ALTER TABLE","ADD [COLUMN]","{CHANGE | MODIFY} [COLUMN]","DROP [COLUMN]","RENAME [TO | AS]","RENAME COLUMN","ALTER [COLUMN]","{SET | DROP} DEFAULT","TRUNCATE [TABLE]","ALTER DATABASE","ALTER EVENT","ALTER FUNCTION","ALTER INSTANCE","ALTER LOGFILE GROUP","ALTER PROCEDURE","ALTER RESOURCE GROUP","ALTER SERVER","ALTER TABLESPACE","ALTER USER","ALTER VIEW","ANALYZE TABLE","BINLOG","CACHE INDEX","CALL","CHANGE MASTER TO","CHANGE REPLICATION FILTER","CHANGE REPLICATION SOURCE TO","CHECK TABLE","CHECKSUM TABLE","CLONE","COMMIT","CREATE DATABASE","CREATE EVENT","CREATE FUNCTION","CREATE FUNCTION","CREATE INDEX","CREATE LOGFILE GROUP","CREATE PROCEDURE","CREATE RESOURCE GROUP","CREATE ROLE","CREATE SERVER","CREATE SPATIAL REFERENCE SYSTEM","CREATE TABLESPACE","CREATE TRIGGER","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DROP DATABASE","DROP EVENT","DROP FUNCTION","DROP FUNCTION","DROP INDEX","DROP LOGFILE GROUP","DROP PROCEDURE","DROP RESOURCE GROUP","DROP ROLE","DROP SERVER","DROP SPATIAL REFERENCE SYSTEM","DROP TABLESPACE","DROP TRIGGER","DROP USER","DROP VIEW","EXECUTE","EXPLAIN","FLUSH","GRANT","HANDLER","HELP","IMPORT TABLE","INSTALL COMPONENT","INSTALL PLUGIN","KILL","LOAD DATA","LOAD INDEX INTO CACHE","LOAD XML","LOCK INSTANCE FOR BACKUP","LOCK TABLES","MASTER_POS_WAIT","OPTIMIZE TABLE","PREPARE","PURGE BINARY LOGS","RELEASE SAVEPOINT","RENAME TABLE","RENAME USER","REPAIR TABLE","RESET","RESET MASTER","RESET PERSIST","RESET REPLICA","RESET SLAVE","RESTART","REVOKE","ROLLBACK","ROLLBACK TO SAVEPOINT","SAVEPOINT","SET CHARACTER SET","SET DEFAULT ROLE","SET NAMES","SET PASSWORD","SET RESOURCE GROUP","SET ROLE","SET TRANSACTION","SHOW","SHOW BINARY LOGS","SHOW BINLOG EVENTS","SHOW CHARACTER SET","SHOW COLLATION","SHOW COLUMNS","SHOW CREATE DATABASE","SHOW CREATE EVENT","SHOW CREATE FUNCTION","SHOW CREATE PROCEDURE","SHOW CREATE TABLE","SHOW CREATE TRIGGER","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINES","SHOW ERRORS","SHOW EVENTS","SHOW FUNCTION CODE","SHOW FUNCTION STATUS","SHOW GRANTS","SHOW INDEX","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PLUGINS","SHOW PRIVILEGES","SHOW PROCEDURE CODE","SHOW PROCEDURE STATUS","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW RELAYLOG EVENTS","SHOW REPLICA STATUS","SHOW REPLICAS","SHOW SLAVE","SHOW SLAVE HOSTS","SHOW STATUS","SHOW TABLE STATUS","SHOW TABLES","SHOW TRIGGERS","SHOW VARIABLES","SHOW WARNINGS","SHUTDOWN","SOURCE_POS_WAIT","START GROUP_REPLICATION","START REPLICA","START SLAVE","START TRANSACTION","STOP GROUP_REPLICATION","STOP REPLICA","STOP SLAVE","TABLE","UNINSTALL COMPONENT","UNINSTALL PLUGIN","UNLOCK INSTANCE","UNLOCK TABLES","USE","XA","ITERATE","LEAVE","LOOP","REPEAT","RETURN","WHILE"]),eO=A(["UNION [ALL | DISTINCT]"]),ep=A(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),eh=A(["ON {UPDATE | DELETE} [SET NULL]","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),eN={tokenizerOptions:{reservedSelect:eR,reservedClauses:[...eA,...eS],reservedSetOperations:eO,reservedJoins:ep,reservedPhrases:eh,supportsXor:!0,reservedKeywords:ed,reservedFunctionNames:ef,stringTypes:['""-qq-bs',{quote:"''-qq-bs",prefixes:["N"]},{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:["``"],identChars:{first:"$",rest:"$",allowFirstCharNumber:!0},variableTypes:[{regex:"@@?[A-Za-z0-9_.$]+"},{quote:'""-qq-bs',prefixes:["@"],requirePrefix:!0},{quote:"''-qq-bs",prefixes:["@"],requirePrefix:!0},{quote:"``",prefixes:["@"],requirePrefix:!0}],paramTypes:{positional:!0},lineCommentTypes:["--","#"],operators:["%",":=","&","|","^","~","<<",">>","<=>","->","->>","&&","||","!"],postProcess:function(e){return e.map((t,n)=>{let o=e[n+1]||u;return d.SET(t)&&"("===o.text?{...t,type:r.RESERVED_FUNCTION_NAME}:t})}},formatOptions:{onelineClauses:eS}},eI=v({all:["ABORT","ABS","ACOS","ADVISOR","ARRAY_AGG","ARRAY_AGG","ARRAY_APPEND","ARRAY_AVG","ARRAY_BINARY_SEARCH","ARRAY_CONCAT","ARRAY_CONTAINS","ARRAY_COUNT","ARRAY_DISTINCT","ARRAY_EXCEPT","ARRAY_FLATTEN","ARRAY_IFNULL","ARRAY_INSERT","ARRAY_INTERSECT","ARRAY_LENGTH","ARRAY_MAX","ARRAY_MIN","ARRAY_MOVE","ARRAY_POSITION","ARRAY_PREPEND","ARRAY_PUT","ARRAY_RANGE","ARRAY_REMOVE","ARRAY_REPEAT","ARRAY_REPLACE","ARRAY_REVERSE","ARRAY_SORT","ARRAY_STAR","ARRAY_SUM","ARRAY_SYMDIFF","ARRAY_SYMDIFF1","ARRAY_SYMDIFFN","ARRAY_UNION","ASIN","ATAN","ATAN2","AVG","BASE64","BASE64_DECODE","BASE64_ENCODE","BITAND ","BITCLEAR ","BITNOT ","BITOR ","BITSET ","BITSHIFT ","BITTEST ","BITXOR ","CEIL","CLOCK_LOCAL","CLOCK_MILLIS","CLOCK_STR","CLOCK_TZ","CLOCK_UTC","COALESCE","CONCAT","CONCAT2","CONTAINS","CONTAINS_TOKEN","CONTAINS_TOKEN_LIKE","CONTAINS_TOKEN_REGEXP","COS","COUNT","COUNT","COUNTN","CUME_DIST","CURL","DATE_ADD_MILLIS","DATE_ADD_STR","DATE_DIFF_MILLIS","DATE_DIFF_STR","DATE_FORMAT_STR","DATE_PART_MILLIS","DATE_PART_STR","DATE_RANGE_MILLIS","DATE_RANGE_STR","DATE_TRUNC_MILLIS","DATE_TRUNC_STR","DECODE","DECODE_JSON","DEGREES","DENSE_RANK","DURATION_TO_STR","ENCODED_SIZE","ENCODE_JSON","EXP","FIRST_VALUE","FLOOR","GREATEST","HAS_TOKEN","IFINF","IFMISSING","IFMISSINGORNULL","IFNAN","IFNANORINF","IFNULL","INITCAP","ISARRAY","ISATOM","ISBITSET","ISBOOLEAN","ISNUMBER","ISOBJECT","ISSTRING","LAG","LAST_VALUE","LEAD","LEAST","LENGTH","LN","LOG","LOWER","LTRIM","MAX","MEAN","MEDIAN","META","MILLIS","MILLIS_TO_LOCAL","MILLIS_TO_STR","MILLIS_TO_TZ","MILLIS_TO_UTC","MILLIS_TO_ZONE_NAME","MIN","MISSINGIF","NANIF","NEGINFIF","NOW_LOCAL","NOW_MILLIS","NOW_STR","NOW_TZ","NOW_UTC","NTH_VALUE","NTILE","NULLIF","NVL","NVL2","OBJECT_ADD","OBJECT_CONCAT","OBJECT_INNER_PAIRS","OBJECT_INNER_VALUES","OBJECT_LENGTH","OBJECT_NAMES","OBJECT_PAIRS","OBJECT_PUT","OBJECT_REMOVE","OBJECT_RENAME","OBJECT_REPLACE","OBJECT_UNWRAP","OBJECT_VALUES","PAIRS","PERCENT_RANK","PI","POLY_LENGTH","POSINFIF","POSITION","POWER","RADIANS","RANDOM","RANK","RATIO_TO_REPORT","REGEXP_CONTAINS","REGEXP_LIKE","REGEXP_MATCHES","REGEXP_POSITION","REGEXP_REPLACE","REGEXP_SPLIT","REGEX_CONTAINS","REGEX_LIKE","REGEX_MATCHES","REGEX_POSITION","REGEX_REPLACE","REGEX_SPLIT","REPEAT","REPLACE","REVERSE","ROUND","ROW_NUMBER","RTRIM","SEARCH","SEARCH_META","SEARCH_SCORE","SIGN","SIN","SPLIT","SQRT","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DURATION","STR_TO_MILLIS","STR_TO_TZ","STR_TO_UTC","STR_TO_ZONE_NAME","SUBSTR","SUFFIXES","SUM","TAN","TITLE","TOARRAY","TOATOM","TOBOOLEAN","TOKENS","TOKENS","TONUMBER","TOOBJECT","TOSTRING","TRIM","TRUNC","UPPER","UUID","VARIANCE","VARIANCE_POP","VARIANCE_SAMP","VAR_POP","VAR_SAMP","WEEKDAY_MILLIS","WEEKDAY_STR","CAST"]}),em=v({all:["ADVISE","ALL","ALTER","ANALYZE","AND","ANY","ARRAY","AS","ASC","AT","BEGIN","BETWEEN","BINARY","BOOLEAN","BREAK","BUCKET","BUILD","BY","CALL","CASE","CAST","CLUSTER","COLLATE","COLLECTION","COMMIT","COMMITTED","CONNECT","CONTINUE","CORRELATED","COVER","CREATE","CURRENT","DATABASE","DATASET","DATASTORE","DECLARE","DECREMENT","DELETE","DERIVED","DESC","DESCRIBE","DISTINCT","DO","DROP","EACH","ELEMENT","ELSE","END","EVERY","EXCEPT","EXCLUDE","EXECUTE","EXISTS","EXPLAIN","FALSE","FETCH","FILTER","FIRST","FLATTEN","FLUSH","FOLLOWING","FOR","FORCE","FROM","FTS","FUNCTION","GOLANG","GRANT","GROUP","GROUPS","GSI","HASH","HAVING","IF","ISOLATION","IGNORE","ILIKE","IN","INCLUDE","INCREMENT","INDEX","INFER","INLINE","INNER","INSERT","INTERSECT","INTO","IS","JAVASCRIPT","JOIN","KEY","KEYS","KEYSPACE","KNOWN","LANGUAGE","LAST","LEFT","LET","LETTING","LEVEL","LIKE","LIMIT","LSM","MAP","MAPPING","MATCHED","MATERIALIZED","MERGE","MINUS","MISSING","NAMESPACE","NEST","NL","NO","NOT","NTH_VALUE","NULL","NULLS","NUMBER","OBJECT","OFFSET","ON","OPTION","OPTIONS","OR","ORDER","OTHERS","OUTER","OVER","PARSE","PARTITION","PASSWORD","PATH","POOL","PRECEDING","PREPARE","PRIMARY","PRIVATE","PRIVILEGE","PROBE","PROCEDURE","PUBLIC","RANGE","RAW","REALM","REDUCE","RENAME","RESPECT","RETURN","RETURNING","REVOKE","RIGHT","ROLE","ROLLBACK","ROW","ROWS","SATISFIES","SAVEPOINT","SCHEMA","SCOPE","SELECT","SELF","SEMI","SET","SHOW","SOME","START","STATISTICS","STRING","SYSTEM","THEN","TIES","TO","TRAN","TRANSACTION","TRIGGER","TRUE","TRUNCATE","UNBOUNDED","UNDER","UNION","UNIQUE","UNKNOWN","UNNEST","UNSET","UPDATE","UPSERT","USE","USER","USING","VALIDATE","VALUE","VALUED","VALUES","VIA","VIEW","WHEN","WHERE","WHILE","WINDOW","WITH","WITHIN","WORK","XOR"]}),e_=A(["SELECT [ALL | DISTINCT]"]),eC=A(["WITH","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT INTO","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED THEN","UPDATE SET","INSERT","NEST","UNNEST","RETURNING"]),eg=A(["UPDATE","DELETE FROM","SET SCHEMA","ADVISE","ALTER INDEX","BEGIN TRANSACTION","BUILD INDEX","COMMIT TRANSACTION","CREATE COLLECTION","CREATE FUNCTION","CREATE INDEX","CREATE PRIMARY INDEX","CREATE SCOPE","DROP COLLECTION","DROP FUNCTION","DROP INDEX","DROP PRIMARY INDEX","DROP SCOPE","EXECUTE","EXECUTE FUNCTION","EXPLAIN","GRANT","INFER","PREPARE","REVOKE","ROLLBACK TRANSACTION","SAVEPOINT","SET TRANSACTION","UPDATE STATISTICS","UPSERT","LET","SET CURRENT SCHEMA","SHOW","USE [PRIMARY] KEYS"]),eL=A(["UNION [ALL]","EXCEPT [ALL]","INTERSECT [ALL]"]),ev=A(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","INNER JOIN"]),ey=A(["{ROWS | RANGE | GROUPS} BETWEEN"]),eP={tokenizerOptions:{reservedSelect:e_,reservedClauses:[...eC,...eg],reservedSetOperations:eL,reservedJoins:ev,reservedPhrases:ey,supportsXor:!0,reservedKeywords:em,reservedFunctionNames:eI,stringTypes:['""-bs',"''-bs"],identTypes:["``"],extraParens:["[]","{}"],paramTypes:{positional:!0,numbered:["$"],named:["$"]},lineCommentTypes:["#","--"],operators:["%","==",":","||"]},formatOptions:{onelineClauses:eg}},eb=v({all:["ADD","AGENT","AGGREGATE","ALL","ALTER","AND","ANY","ARRAY","ARROW","AS","ASC","AT","ATTRIBUTE","AUTHID","AVG","BEGIN","BETWEEN","BFILE_BASE","BINARY","BLOB_BASE","BLOCK","BODY","BOTH","BOUND","BULK","BY","BYTE","CALL","CALLING","CASCADE","CASE","CHAR","CHAR_BASE","CHARACTER","CHARSET","CHARSETFORM","CHARSETID","CHECK","CLOB_BASE","CLOSE","CLUSTER","CLUSTERS","COLAUTH","COLLECT","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPILED","COMPRESS","CONNECT","CONSTANT","CONSTRUCTOR","CONTEXT","CONVERT","COUNT","CRASH","CREATE","CURRENT","CURSOR","CUSTOMDATUM","DANGLING","DATA","DATE","DATE_BASE","DAY","DECIMAL","DECLARE","DEFAULT","DEFINE","DELETE","DESC","DETERMINISTIC","DISTINCT","DOUBLE","DROP","DURATION","ELEMENT","ELSE","ELSIF","EMPTY","END","ESCAPE","EXCEPT","EXCEPTION","EXCEPTIONS","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXTERNAL","FETCH","FINAL","FIXED","FLOAT","FOR","FORALL","FORCE","FORM","FROM","FUNCTION","GENERAL","GOTO","GRANT","GROUP","HASH","HAVING","HEAP","HIDDEN","HOUR","IDENTIFIED","IF","IMMEDIATE","IN","INCLUDING","INDEX","INDEXES","INDICATOR","INDICES","INFINITE","INSERT","INSTANTIABLE","INT","INTERFACE","INTERSECT","INTERVAL","INTO","INVALIDATE","IS","ISOLATION","JAVA","LANGUAGE","LARGE","LEADING","LENGTH","LEVEL","LIBRARY","LIKE","LIKE2","LIKE4","LIKEC","LIMIT","LIMITED","LOCAL","LOCK","LONG","LOOP","MAP","MAX","MAXLEN","MEMBER","MERGE","MIN","MINUS","MINUTE","MOD","MODE","MODIFY","MONTH","MULTISET","NAME","NAN","NATIONAL","NATIVE","NCHAR","NEW","NOCOMPRESS","NOCOPY","NOT","NOWAIT","NULL","NUMBER_BASE","OBJECT","OCICOLL","OCIDATE","OCIDATETIME","OCIDURATION","OCIINTERVAL","OCILOBLOCATOR","OCINUMBER","OCIRAW","OCIREF","OCIREFCURSOR","OCIROWID","OCISTRING","OCITYPE","OF","ON","ONLY","OPAQUE","OPEN","OPERATOR","OPTION","OR","ORACLE","ORADATA","ORDER","OVERLAPS","ORGANIZATION","ORLANY","ORLVARY","OTHERS","OUT","OVERRIDING","PACKAGE","PARALLEL_ENABLE","PARAMETER","PARAMETERS","PARTITION","PASCAL","PIPE","PIPELINED","PRAGMA","PRECISION","PRIOR","PRIVATE","PROCEDURE","PUBLIC","RAISE","RANGE","RAW","READ","RECORD","REF","REFERENCE","REM","REMAINDER","RENAME","RESOURCE","RESULT","RETURN","RETURNING","REVERSE","REVOKE","ROLLBACK","ROW","SAMPLE","SAVE","SAVEPOINT","SB1","SB2","SB4","SECOND","SEGMENT","SELECT","SELF","SEPARATE","SEQUENCE","SERIALIZABLE","SET","SHARE","SHORT","SIZE","SIZE_T","SOME","SPARSE","SQL","SQLCODE","SQLDATA","SQLNAME","SQLSTATE","STANDARD","START","STATIC","STDDEV","STORED","STRING","STRUCT","STYLE","SUBMULTISET","SUBPARTITION","SUBSTITUTABLE","SUBTYPE","SUM","SYNONYM","TABAUTH","TABLE","TDO","THE","THEN","TIME","TIMESTAMP","TIMEZONE_ABBR","TIMEZONE_HOUR","TIMEZONE_MINUTE","TIMEZONE_REGION","TO","TRAILING","TRANSAC","TRANSACTIONAL","TRUSTED","TYPE","UB1","UB2","UB4","UNDER","UNION","UNIQUE","UNSIGNED","UNTRUSTED","UPDATE","USE","USING","VALIST","VALUE","VALUES","VARIABLE","VARIANCE","VARRAY","VARYING","VIEW","VIEWS","VOID","WHEN","WHERE","WHILE","WITH","WORK","WRAPPED","WRITE","YEAR","ZONE"]}),eM=v({numeric:["ABS","ACOS","ASIN","ATAN","ATAN2","BITAND","CEIL","COS","COSH","EXP","FLOOR","LN","LOG","MOD","NANVL","POWER","REMAINDER","ROUND","SIGN","SIN","SINH","SQRT","TAN","TANH","TRUNC","WIDTH_BUCKET"],character:["CHR","CONCAT","INITCAP","LOWER","LPAD","LTRIM","NLS_INITCAP","NLS_LOWER","NLSSORT","NLS_UPPER","REGEXP_REPLACE","REGEXP_SUBSTR","REPLACE","RPAD","RTRIM","SOUNDEX","SUBSTR","TRANSLATE","TREAT","TRIM","UPPER","NLS_CHARSET_DECL_LEN","NLS_CHARSET_ID","NLS_CHARSET_NAME","ASCII","INSTR","LENGTH","REGEXP_INSTR"],datetime:["ADD_MONTHS","CURRENT_DATE","CURRENT_TIMESTAMP","DBTIMEZONE","EXTRACT","FROM_TZ","LAST_DAY","LOCALTIMESTAMP","MONTHS_BETWEEN","NEW_TIME","NEXT_DAY","NUMTODSINTERVAL","NUMTOYMINTERVAL","ROUND","SESSIONTIMEZONE","SYS_EXTRACT_UTC","SYSDATE","SYSTIMESTAMP","TO_CHAR","TO_TIMESTAMP","TO_TIMESTAMP_TZ","TO_DSINTERVAL","TO_YMINTERVAL","TRUNC","TZ_OFFSET"],comparison:["GREATEST","LEAST"],conversion:["ASCIISTR","BIN_TO_NUM","CAST","CHARTOROWID","COMPOSE","CONVERT","DECOMPOSE","HEXTORAW","NUMTODSINTERVAL","NUMTOYMINTERVAL","RAWTOHEX","RAWTONHEX","ROWIDTOCHAR","ROWIDTONCHAR","SCN_TO_TIMESTAMP","TIMESTAMP_TO_SCN","TO_BINARY_DOUBLE","TO_BINARY_FLOAT","TO_CHAR","TO_CLOB","TO_DATE","TO_DSINTERVAL","TO_LOB","TO_MULTI_BYTE","TO_NCHAR","TO_NCLOB","TO_NUMBER","TO_DSINTERVAL","TO_SINGLE_BYTE","TO_TIMESTAMP","TO_TIMESTAMP_TZ","TO_YMINTERVAL","TO_YMINTERVAL","TRANSLATE","UNISTR"],largeObject:["BFILENAME","EMPTY_BLOB,","EMPTY_CLOB"],collection:["CARDINALITY","COLLECT","POWERMULTISET","POWERMULTISET_BY_CARDINALITY","SET"],hierarchical:["SYS_CONNECT_BY_PATH"],dataMining:["CLUSTER_ID","CLUSTER_PROBABILITY","CLUSTER_SET","FEATURE_ID","FEATURE_SET","FEATURE_VALUE","PREDICTION","PREDICTION_COST","PREDICTION_DETAILS","PREDICTION_PROBABILITY","PREDICTION_SET"],xml:["APPENDCHILDXML","DELETEXML","DEPTH","EXTRACT","EXISTSNODE","EXTRACTVALUE","INSERTCHILDXML","INSERTXMLBEFORE","PATH","SYS_DBURIGEN","SYS_XMLAGG","SYS_XMLGEN","UPDATEXML","XMLAGG","XMLCDATA","XMLCOLATTVAL","XMLCOMMENT","XMLCONCAT","XMLFOREST","XMLPARSE","XMLPI","XMLQUERY","XMLROOT","XMLSEQUENCE","XMLSERIALIZE","XMLTABLE","XMLTRANSFORM"],encoding:["DECODE","DUMP","ORA_HASH","VSIZE"],nullRelated:["COALESCE","LNNVL","NULLIF","NVL","NVL2"],env:["SYS_CONTEXT","SYS_GUID","SYS_TYPEID","UID","USER","USERENV"],aggregate:["AVG","COLLECT","CORR","CORR_S","CORR_K","COUNT","COVAR_POP","COVAR_SAMP","CUME_DIST","DENSE_RANK","FIRST","GROUP_ID","GROUPING","GROUPING_ID","LAST","MAX","MEDIAN","MIN","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","RANK","REGR_SLOPE","REGR_INTERCEPT","REGR_COUNT","REGR_R2","REGR_AVGX","REGR_AVGY","REGR_SXX","REGR_SYY","REGR_SXY","STATS_BINOMIAL_TEST","STATS_CROSSTAB","STATS_F_TEST","STATS_KS_TEST","STATS_MODE","STATS_MW_TEST","STATS_ONE_WAY_ANOVA","STATS_T_TEST_ONE","STATS_T_TEST_PAIRED","STATS_T_TEST_INDEP","STATS_T_TEST_INDEPU","STATS_WSR_TEST","STDDEV","STDDEV_POP","STDDEV_SAMP","SUM","VAR_POP","VAR_SAMP","VARIANCE"],window:["FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTILE","RATIO_TO_REPORT","ROW_NUMBER"],objectReference:["DEREF","MAKE_REF","REF","REFTOHEX","VALUE"],model:["CV","ITERATION_NUMBER","PRESENTNNV","PRESENTV","PREVIOUS"],dataTypes:["VARCHAR2","NVARCHAR2","NUMBER","FLOAT","TIMESTAMP","INTERVAL YEAR","INTERVAL DAY","RAW","UROWID","NCHAR","CHARACTER","CHAR","CHARACTER VARYING","CHAR VARYING","NATIONAL CHARACTER","NATIONAL CHAR","NATIONAL CHARACTER VARYING","NATIONAL CHAR VARYING","NCHAR VARYING","NUMERIC","DECIMAL","FLOAT","VARCHAR"]}),eD=A(["SELECT [ALL | DISTINCT | UNIQUE]"]),eU=A(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER [SIBLINGS] BY","OFFSET","FETCH {FIRST | NEXT}","FOR UPDATE [OF]","INSERT [INTO | ALL INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [THEN]","UPDATE SET","CREATE [OR REPLACE] [NO FORCE | FORCE] [EDITIONING | EDITIONABLE | EDITIONABLE EDITIONING | NONEDITIONABLE] VIEW","CREATE MATERIALIZED VIEW","CREATE [GLOBAL TEMPORARY | PRIVATE TEMPORARY | SHARDED | DUPLICATED | IMMUTABLE BLOCKCHAIN | BLOCKCHAIN | IMMUTABLE] TABLE","RETURNING"]),ex=A(["UPDATE [ONLY]","DELETE FROM [ONLY]","DROP TABLE","ALTER TABLE","ADD","DROP {COLUMN | UNUSED COLUMNS | COLUMNS CONTINUE}","MODIFY","RENAME TO","RENAME COLUMN","TRUNCATE TABLE","SET SCHEMA","BEGIN","CONNECT BY","DECLARE","EXCEPT","EXCEPTION","LOOP","START WITH"]),ew=A(["UNION [ALL]","EXCEPT","INTERSECT"]),eG=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN","{CROSS | OUTER} APPLY"]),eF=A(["ON {UPDATE | DELETE} [SET NULL]","ON COMMIT","{ROWS | RANGE} BETWEEN"]),eH={tokenizerOptions:{reservedSelect:eD,reservedClauses:[...eU,...ex],reservedSetOperations:ew,reservedJoins:eG,reservedPhrases:eF,supportsXor:!0,reservedKeywords:eb,reservedFunctionNames:eM,stringTypes:[{quote:"''-qq",prefixes:["N"]},{quote:"q''",prefixes:["N"]}],identTypes:['""-qq'],identChars:{rest:"$#"},variableTypes:[{regex:"&{1,2}[A-Za-z][A-Za-z0-9_$#]*"}],paramTypes:{numbered:[":"],named:[":"]},paramChars:{},operators:["**",":=","%","~=","^=",">>","<<","=>","@","||"],postProcess:function(e){let t=u;return e.map(e=>d.SET(e)&&d.BY(t)?{...e,type:r.RESERVED_KEYWORD}:(f(e.type)&&(t=e),e))}},formatOptions:{alwaysDenseOperators:["@"],onelineClauses:ex}},eB=v({math:["ABS","ACOS","ACOSD","ACOSH","ASIN","ASIND","ASINH","ATAN","ATAN2","ATAN2D","ATAND","ATANH","CBRT","CEIL","CEILING","COS","COSD","COSH","COT","COTD","DEGREES","DIV","EXP","FACTORIAL","FLOOR","GCD","LCM","LN","LOG","LOG10","MIN_SCALE","MOD","PI","POWER","RADIANS","RANDOM","ROUND","SCALE","SETSEED","SIGN","SIN","SIND","SINH","SQRT","TAN","TAND","TANH","TRIM_SCALE","TRUNC","WIDTH_BUCKET"],string:["ABS","ASCII","BIT_LENGTH","BTRIM","CHARACTER_LENGTH","CHAR_LENGTH","CHR","CONCAT","CONCAT_WS","FORMAT","INITCAP","LEFT","LENGTH","LOWER","LPAD","LTRIM","MD5","NORMALIZE","OCTET_LENGTH","OVERLAY","PARSE_IDENT","PG_CLIENT_ENCODING","POSITION","QUOTE_IDENT","QUOTE_LITERAL","QUOTE_NULLABLE","REGEXP_MATCH","REGEXP_MATCHES","REGEXP_REPLACE","REGEXP_SPLIT_TO_ARRAY","REGEXP_SPLIT_TO_TABLE","REPEAT","REPLACE","REVERSE","RIGHT","RPAD","RTRIM","SPLIT_PART","SPRINTF","STARTS_WITH","STRING_AGG","STRING_TO_ARRAY","STRING_TO_TABLE","STRPOS","SUBSTR","SUBSTRING","TO_ASCII","TO_HEX","TRANSLATE","TRIM","UNISTR","UPPER"],binary:["BIT_COUNT","BIT_LENGTH","BTRIM","CONVERT","CONVERT_FROM","CONVERT_TO","DECODE","ENCODE","GET_BIT","GET_BYTE","LENGTH","LTRIM","MD5","OCTET_LENGTH","OVERLAY","POSITION","RTRIM","SET_BIT","SET_BYTE","SHA224","SHA256","SHA384","SHA512","STRING_AGG","SUBSTR","SUBSTRING","TRIM"],bitstring:["BIT_COUNT","BIT_LENGTH","GET_BIT","LENGTH","OCTET_LENGTH","OVERLAY","POSITION","SET_BIT","SUBSTRING"],pattern:["REGEXP_MATCH","REGEXP_MATCHES","REGEXP_REPLACE","REGEXP_SPLIT_TO_ARRAY","REGEXP_SPLIT_TO_TABLE"],datatype:["TO_CHAR","TO_DATE","TO_NUMBER","TO_TIMESTAMP"],datetime:["CLOCK_TIMESTAMP","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATE_BIN","DATE_PART","DATE_TRUNC","EXTRACT","ISFINITE","JUSTIFY_DAYS","JUSTIFY_HOURS","JUSTIFY_INTERVAL","LOCALTIME","LOCALTIMESTAMP","MAKE_DATE","MAKE_INTERVAL","MAKE_TIME","MAKE_TIMESTAMP","MAKE_TIMESTAMPTZ","NOW","PG_SLEEP","PG_SLEEP_FOR","PG_SLEEP_UNTIL","STATEMENT_TIMESTAMP","TIMEOFDAY","TO_TIMESTAMP","TRANSACTION_TIMESTAMP"],enum:["ENUM_FIRST","ENUM_LAST","ENUM_RANGE"],geometry:["AREA","BOUND_BOX","BOX","CENTER","CIRCLE","DIAGONAL","DIAMETER","HEIGHT","ISCLOSED","ISOPEN","LENGTH","LINE","LSEG","NPOINTS","PATH","PCLOSE","POINT","POLYGON","POPEN","RADIUS","SLOPE","WIDTH"],network:["ABBREV","BROADCAST","FAMILY","HOST","HOSTMASK","INET_MERGE","INET_SAME_FAMILY","MACADDR8_SET7BIT","MASKLEN","NETMASK","NETWORK","SET_MASKLEN","TEXT","TRUNC"],textsearch:["ARRAY_TO_TSVECTOR","GET_CURRENT_TS_CONFIG","JSONB_TO_TSVECTOR","JSON_TO_TSVECTOR","LENGTH","NUMNODE","PHRASETO_TSQUERY","PLAINTO_TSQUERY","QUERYTREE","SETWEIGHT","STRIP","TO_TSQUERY","TO_TSVECTOR","TSQUERY_PHRASE","TSVECTOR_TO_ARRAY","TS_DEBUG","TS_DELETE","TS_FILTER","TS_HEADLINE","TS_LEXIZE","TS_PARSE","TS_RANK","TS_RANK_CD","TS_REWRITE","TS_STAT","TS_TOKEN_TYPE","WEBSEARCH_TO_TSQUERY"],uuid:["UUID"],xml:["CURSOR_TO_XML","CURSOR_TO_XMLSCHEMA","DATABASE_TO_XML","DATABASE_TO_XMLSCHEMA","DATABASE_TO_XML_AND_XMLSCHEMA","NEXTVAL","QUERY_TO_XML","QUERY_TO_XMLSCHEMA","QUERY_TO_XML_AND_XMLSCHEMA","SCHEMA_TO_XML","SCHEMA_TO_XMLSCHEMA","SCHEMA_TO_XML_AND_XMLSCHEMA","STRING","TABLE_TO_XML","TABLE_TO_XMLSCHEMA","TABLE_TO_XML_AND_XMLSCHEMA","XMLAGG","XMLCOMMENT","XMLCONCAT","XMLELEMENT","XMLEXISTS","XMLFOREST","XMLPARSE","XMLPI","XMLROOT","XMLSERIALIZE","XMLTABLE","XML_IS_WELL_FORMED","XML_IS_WELL_FORMED_CONTENT","XML_IS_WELL_FORMED_DOCUMENT","XPATH","XPATH_EXISTS"],json:["ARRAY_TO_JSON","JSONB_AGG","JSONB_ARRAY_ELEMENTS","JSONB_ARRAY_ELEMENTS_TEXT","JSONB_ARRAY_LENGTH","JSONB_BUILD_ARRAY","JSONB_BUILD_OBJECT","JSONB_EACH","JSONB_EACH_TEXT","JSONB_EXTRACT_PATH","JSONB_EXTRACT_PATH_TEXT","JSONB_INSERT","JSONB_OBJECT","JSONB_OBJECT_AGG","JSONB_OBJECT_KEYS","JSONB_PATH_EXISTS","JSONB_PATH_EXISTS_TZ","JSONB_PATH_MATCH","JSONB_PATH_MATCH_TZ","JSONB_PATH_QUERY","JSONB_PATH_QUERY_ARRAY","JSONB_PATH_QUERY_ARRAY_TZ","JSONB_PATH_QUERY_FIRST","JSONB_PATH_QUERY_FIRST_TZ","JSONB_PATH_QUERY_TZ","JSONB_POPULATE_RECORD","JSONB_POPULATE_RECORDSET","JSONB_PRETTY","JSONB_SET","JSONB_SET_LAX","JSONB_STRIP_NULLS","JSONB_TO_RECORD","JSONB_TO_RECORDSET","JSONB_TYPEOF","JSON_AGG","JSON_ARRAY_ELEMENTS","JSON_ARRAY_ELEMENTS_TEXT","JSON_ARRAY_LENGTH","JSON_BUILD_ARRAY","JSON_BUILD_OBJECT","JSON_EACH","JSON_EACH_TEXT","JSON_EXTRACT_PATH","JSON_EXTRACT_PATH_TEXT","JSON_OBJECT","JSON_OBJECT_AGG","JSON_OBJECT_KEYS","JSON_POPULATE_RECORD","JSON_POPULATE_RECORDSET","JSON_STRIP_NULLS","JSON_TO_RECORD","JSON_TO_RECORDSET","JSON_TYPEOF","ROW_TO_JSON","TO_JSON","TO_JSONB","TO_TIMESTAMP"],sequence:["CURRVAL","LASTVAL","NEXTVAL","SETVAL"],conditional:["COALESCE","GREATEST","LEAST","NULLIF"],array:["ARRAY_AGG","ARRAY_APPEND","ARRAY_CAT","ARRAY_DIMS","ARRAY_FILL","ARRAY_LENGTH","ARRAY_LOWER","ARRAY_NDIMS","ARRAY_POSITION","ARRAY_POSITIONS","ARRAY_PREPEND","ARRAY_REMOVE","ARRAY_REPLACE","ARRAY_TO_STRING","ARRAY_UPPER","CARDINALITY","STRING_TO_ARRAY","TRIM_ARRAY","UNNEST"],range:["ISEMPTY","LOWER","LOWER_INC","LOWER_INF","MULTIRANGE","RANGE_MERGE","UPPER","UPPER_INC","UPPER_INF"],aggregate:["ARRAY_AGG","AVG","BIT_AND","BIT_OR","BIT_XOR","BOOL_AND","BOOL_OR","COALESCE","CORR","COUNT","COVAR_POP","COVAR_SAMP","CUME_DIST","DENSE_RANK","EVERY","GROUPING","JSONB_AGG","JSONB_OBJECT_AGG","JSON_AGG","JSON_OBJECT_AGG","MAX","MIN","MODE","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","RANGE_AGG","RANGE_INTERSECT_AGG","RANK","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","STDDEV","STDDEV_POP","STDDEV_SAMP","STRING_AGG","SUM","TO_JSON","TO_JSONB","VARIANCE","VAR_POP","VAR_SAMP","XMLAGG"],window:["CUME_DIST","DENSE_RANK","FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","RANK","ROW_NUMBER"],set:["GENERATE_SERIES","GENERATE_SUBSCRIPTS"],sysInfo:["ACLDEFAULT","ACLEXPLODE","COL_DESCRIPTION","CURRENT_CATALOG","CURRENT_DATABASE","CURRENT_QUERY","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_USER","FORMAT_TYPE","HAS_ANY_COLUMN_PRIVILEGE","HAS_COLUMN_PRIVILEGE","HAS_DATABASE_PRIVILEGE","HAS_FOREIGN_DATA_WRAPPER_PRIVILEGE","HAS_FUNCTION_PRIVILEGE","HAS_LANGUAGE_PRIVILEGE","HAS_SCHEMA_PRIVILEGE","HAS_SEQUENCE_PRIVILEGE","HAS_SERVER_PRIVILEGE","HAS_TABLESPACE_PRIVILEGE","HAS_TABLE_PRIVILEGE","HAS_TYPE_PRIVILEGE","INET_CLIENT_ADDR","INET_CLIENT_PORT","INET_SERVER_ADDR","INET_SERVER_PORT","MAKEACLITEM","OBJ_DESCRIPTION","PG_BACKEND_PID","PG_BLOCKING_PIDS","PG_COLLATION_IS_VISIBLE","PG_CONF_LOAD_TIME","PG_CONTROL_CHECKPOINT","PG_CONTROL_INIT","PG_CONTROL_SYSTEM","PG_CONVERSION_IS_VISIBLE","PG_CURRENT_LOGFILE","PG_CURRENT_SNAPSHOT","PG_CURRENT_XACT_ID","PG_CURRENT_XACT_ID_IF_ASSIGNED","PG_DESCRIBE_OBJECT","PG_FUNCTION_IS_VISIBLE","PG_GET_CATALOG_FOREIGN_KEYS","PG_GET_CONSTRAINTDEF","PG_GET_EXPR","PG_GET_FUNCTIONDEF","PG_GET_FUNCTION_ARGUMENTS","PG_GET_FUNCTION_IDENTITY_ARGUMENTS","PG_GET_FUNCTION_RESULT","PG_GET_INDEXDEF","PG_GET_KEYWORDS","PG_GET_OBJECT_ADDRESS","PG_GET_OWNED_SEQUENCE","PG_GET_RULEDEF","PG_GET_SERIAL_SEQUENCE","PG_GET_STATISTICSOBJDEF","PG_GET_TRIGGERDEF","PG_GET_USERBYID","PG_GET_VIEWDEF","PG_HAS_ROLE","PG_IDENTIFY_OBJECT","PG_IDENTIFY_OBJECT_AS_ADDRESS","PG_INDEXAM_HAS_PROPERTY","PG_INDEX_COLUMN_HAS_PROPERTY","PG_INDEX_HAS_PROPERTY","PG_IS_OTHER_TEMP_SCHEMA","PG_JIT_AVAILABLE","PG_LAST_COMMITTED_XACT","PG_LISTENING_CHANNELS","PG_MY_TEMP_SCHEMA","PG_NOTIFICATION_QUEUE_USAGE","PG_OPCLASS_IS_VISIBLE","PG_OPERATOR_IS_VISIBLE","PG_OPFAMILY_IS_VISIBLE","PG_OPTIONS_TO_TABLE","PG_POSTMASTER_START_TIME","PG_SAFE_SNAPSHOT_BLOCKING_PIDS","PG_SNAPSHOT_XIP","PG_SNAPSHOT_XMAX","PG_SNAPSHOT_XMIN","PG_STATISTICS_OBJ_IS_VISIBLE","PG_TABLESPACE_DATABASES","PG_TABLESPACE_LOCATION","PG_TABLE_IS_VISIBLE","PG_TRIGGER_DEPTH","PG_TS_CONFIG_IS_VISIBLE","PG_TS_DICT_IS_VISIBLE","PG_TS_PARSER_IS_VISIBLE","PG_TS_TEMPLATE_IS_VISIBLE","PG_TYPEOF","PG_TYPE_IS_VISIBLE","PG_VISIBLE_IN_SNAPSHOT","PG_XACT_COMMIT_TIMESTAMP","PG_XACT_COMMIT_TIMESTAMP_ORIGIN","PG_XACT_STATUS","PQSERVERVERSION","ROW_SECURITY_ACTIVE","SESSION_USER","SHOBJ_DESCRIPTION","TO_REGCLASS","TO_REGCOLLATION","TO_REGNAMESPACE","TO_REGOPER","TO_REGOPERATOR","TO_REGPROC","TO_REGPROCEDURE","TO_REGROLE","TO_REGTYPE","TXID_CURRENT","TXID_CURRENT_IF_ASSIGNED","TXID_CURRENT_SNAPSHOT","TXID_SNAPSHOT_XIP","TXID_SNAPSHOT_XMAX","TXID_SNAPSHOT_XMIN","TXID_STATUS","TXID_VISIBLE_IN_SNAPSHOT","USER","VERSION"],sysAdmin:["BRIN_DESUMMARIZE_RANGE","BRIN_SUMMARIZE_NEW_VALUES","BRIN_SUMMARIZE_RANGE","CONVERT_FROM","CURRENT_SETTING","GIN_CLEAN_PENDING_LIST","PG_ADVISORY_LOCK","PG_ADVISORY_LOCK_SHARED","PG_ADVISORY_UNLOCK","PG_ADVISORY_UNLOCK_ALL","PG_ADVISORY_UNLOCK_SHARED","PG_ADVISORY_XACT_LOCK","PG_ADVISORY_XACT_LOCK_SHARED","PG_BACKUP_START_TIME","PG_CANCEL_BACKEND","PG_COLLATION_ACTUAL_VERSION","PG_COLUMN_COMPRESSION","PG_COLUMN_SIZE","PG_COPY_LOGICAL_REPLICATION_SLOT","PG_COPY_PHYSICAL_REPLICATION_SLOT","PG_CREATE_LOGICAL_REPLICATION_SLOT","PG_CREATE_PHYSICAL_REPLICATION_SLOT","PG_CREATE_RESTORE_POINT","PG_CURRENT_WAL_FLUSH_LSN","PG_CURRENT_WAL_INSERT_LSN","PG_CURRENT_WAL_LSN","PG_DATABASE_SIZE","PG_DROP_REPLICATION_SLOT","PG_EXPORT_SNAPSHOT","PG_FILENODE_RELATION","PG_GET_WAL_REPLAY_PAUSE_STATE","PG_IMPORT_SYSTEM_COLLATIONS","PG_INDEXES_SIZE","PG_IS_IN_BACKUP","PG_IS_IN_RECOVERY","PG_IS_WAL_REPLAY_PAUSED","PG_LAST_WAL_RECEIVE_LSN","PG_LAST_WAL_REPLAY_LSN","PG_LAST_XACT_REPLAY_TIMESTAMP","PG_LOGICAL_EMIT_MESSAGE","PG_LOGICAL_SLOT_GET_BINARY_CHANGES","PG_LOGICAL_SLOT_GET_CHANGES","PG_LOGICAL_SLOT_PEEK_BINARY_CHANGES","PG_LOGICAL_SLOT_PEEK_CHANGES","PG_LOG_BACKEND_MEMORY_CONTEXTS","PG_LS_ARCHIVE_STATUSDIR","PG_LS_DIR","PG_LS_LOGDIR","PG_LS_TMPDIR","PG_LS_WALDIR","PG_PARTITION_ANCESTORS","PG_PARTITION_ROOT","PG_PARTITION_TREE","PG_PROMOTE","PG_READ_BINARY_FILE","PG_READ_FILE","PG_RELATION_FILENODE","PG_RELATION_FILEPATH","PG_RELATION_SIZE","PG_RELOAD_CONF","PG_REPLICATION_ORIGIN_ADVANCE","PG_REPLICATION_ORIGIN_CREATE","PG_REPLICATION_ORIGIN_DROP","PG_REPLICATION_ORIGIN_OID","PG_REPLICATION_ORIGIN_PROGRESS","PG_REPLICATION_ORIGIN_SESSION_IS_SETUP","PG_REPLICATION_ORIGIN_SESSION_PROGRESS","PG_REPLICATION_ORIGIN_SESSION_RESET","PG_REPLICATION_ORIGIN_SESSION_SETUP","PG_REPLICATION_ORIGIN_XACT_RESET","PG_REPLICATION_ORIGIN_XACT_SETUP","PG_REPLICATION_SLOT_ADVANCE","PG_ROTATE_LOGFILE","PG_SIZE_BYTES","PG_SIZE_PRETTY","PG_START_BACKUP","PG_STAT_FILE","PG_STOP_BACKUP","PG_SWITCH_WAL","PG_TABLESPACE_SIZE","PG_TABLE_SIZE","PG_TERMINATE_BACKEND","PG_TOTAL_RELATION_SIZE","PG_TRY_ADVISORY_LOCK","PG_TRY_ADVISORY_LOCK_SHARED","PG_TRY_ADVISORY_XACT_LOCK","PG_TRY_ADVISORY_XACT_LOCK_SHARED","PG_WALFILE_NAME","PG_WALFILE_NAME_OFFSET","PG_WAL_LSN_DIFF","PG_WAL_REPLAY_PAUSE","PG_WAL_REPLAY_RESUME","SET_CONFIG"],trigger:["SUPPRESS_REDUNDANT_UPDATES_TRIGGER","TSVECTOR_UPDATE_TRIGGER","TSVECTOR_UPDATE_TRIGGER_COLUMN"],eventTrigger:["PG_EVENT_TRIGGER_DDL_COMMANDS","PG_EVENT_TRIGGER_DROPPED_OBJECTS","PG_EVENT_TRIGGER_TABLE_REWRITE_OID","PG_EVENT_TRIGGER_TABLE_REWRITE_REASON","PG_GET_OBJECT_ADDRESS"],stats:["PG_MCV_LIST_ITEMS"],cast:["CAST"],dataTypes:["BIT","BIT VARYING","CHARACTER","CHARACTER VARYING","VARCHAR","CHAR","DECIMAL","NUMERIC","TIME","TIMESTAMP","ENUM"]}),eY=v({all:["ABORT","ABSOLUTE","ACCESS","ACTION","ADD","ADMIN","AFTER","AGGREGATE","ALL","ALSO","ALTER","ALWAYS","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","ASENSITIVE","ASSERTION","ASSIGNMENT","ASYMMETRIC","AT","ATOMIC","ATTACH","ATTRIBUTE","AUTHORIZATION","BACKWARD","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BIT","BOOLEAN","BOTH","BREADTH","BY","CACHE","CALL","CALLED","CASCADE","CASCADED","CASE","CAST","CATALOG","CHAIN","CHAR","CHARACTER","CHARACTERISTICS","CHECK","CHECKPOINT","CLASS","CLOSE","CLUSTER","COALESCE","COLLATE","COLLATION","COLUMN","COLUMNS","COMMENT","COMMENTS","COMMIT","COMMITTED","COMPRESSION","CONCURRENTLY","CONFIGURATION","CONFLICT","CONNECTION","CONSTRAINT","CONSTRAINTS","CONTENT","CONTINUE","CONVERSION","COPY","COST","CREATE","CROSS","CSV","CUBE","CURRENT","CURRENT_CATALOG","CURRENT_DATE","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CYCLE","DATA","DATABASE","DAY","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFERRABLE","DEFERRED","DEFINER","DELETE","DELIMITER","DELIMITERS","DEPENDS","DEPTH","DESC","DETACH","DICTIONARY","DISABLE","DISCARD","DISTINCT","DO","DOCUMENT","DOMAIN","DOUBLE","DROP","EACH","ELSE","ENABLE","ENCODING","ENCRYPTED","END","ENUM","ESCAPE","EVENT","EXCEPT","EXCLUDE","EXCLUDING","EXCLUSIVE","EXECUTE","EXISTS","EXPLAIN","EXPRESSION","EXTENSION","EXTERNAL","EXTRACT","FALSE","FAMILY","FETCH","FILTER","FINALIZE","FIRST","FLOAT","FOLLOWING","FOR","FORCE","FOREIGN","FORWARD","FREEZE","FROM","FULL","FUNCTION","FUNCTIONS","GENERATED","GLOBAL","GRANT","GRANTED","GREATEST","GROUP","GROUPING","GROUPS","HANDLER","HAVING","HEADER","HOLD","HOUR","IDENTITY","IF","ILIKE","IMMEDIATE","IMMUTABLE","IMPLICIT","IMPORT","IN","INCLUDE","INCLUDING","INCREMENT","INDEX","INDEXES","INHERIT","INHERITS","INITIALLY","INLINE","INNER","INOUT","INPUT","INSENSITIVE","INSERT","INSTEAD","INT","INTEGER","INTERSECT","INTERVAL","INTO","INVOKER","IS","ISNULL","ISOLATION","JOIN","KEY","LABEL","LANGUAGE","LARGE","LAST","LATERAL","LEADING","LEAKPROOF","LEAST","LEFT","LEVEL","LIKE","LIMIT","LISTEN","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCK","LOCKED","LOGGED","MAPPING","MATCH","MATERIALIZED","MAXVALUE","METHOD","MINUTE","MINVALUE","MODE","MONTH","MOVE","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NEW","NEXT","NFC","NFD","NFKC","NFKD","NO","NONE","NORMALIZE","NORMALIZED","NOT","NOTHING","NOTIFY","NOTNULL","NOWAIT","NULL","NULLIF","NULLS","NUMERIC","OBJECT","OF","OFF","OFFSET","OIDS","OLD","ON","ONLY","OPERATOR","OPTION","OPTIONS","OR","ORDER","ORDINALITY","OTHERS","OUT","OUTER","OVER","OVERLAPS","OVERLAY","OVERRIDING","OWNED","OWNER","PARALLEL","PARSER","PARTIAL","PARTITION","PASSING","PASSWORD","PLACING","PLANS","POLICY","POSITION","PRECEDING","PRECISION","PREPARE","PREPARED","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURAL","PROCEDURE","PROCEDURES","PROGRAM","PUBLICATION","QUOTE","RANGE","READ","REAL","REASSIGN","RECHECK","RECURSIVE","REF","REFERENCES","REFERENCING","REFRESH","REINDEX","RELATIVE","RELEASE","RENAME","REPEATABLE","REPLACE","REPLICA","RESET","RESTART","RESTRICT","RETURN","RETURNING","RETURNS","REVOKE","RIGHT","ROLE","ROLLBACK","ROLLUP","ROUTINE","ROUTINES","ROW","ROWS","RULE","SAVEPOINT","SCHEMA","SCHEMAS","SCROLL","SEARCH","SECOND","SECURITY","SELECT","SEQUENCE","SEQUENCES","SERIALIZABLE","SERVER","SESSION","SESSION_USER","SET","SETOF","SETS","SHARE","SHOW","SIMILAR","SIMPLE","SKIP","SMALLINT","SNAPSHOT","SOME","SQL","STABLE","STANDALONE","START","STATEMENT","STATISTICS","STDIN","STDOUT","STORAGE","STORED","STRICT","STRIP","SUBSCRIPTION","SUBSTRING","SUPPORT","SYMMETRIC","SYSID","SYSTEM","TABLE","TABLES","TABLESAMPLE","TABLESPACE","TEMP","TEMPLATE","TEMPORARY","TEXT","THEN","TIES","TIME","TIMESTAMP","TO","TRAILING","TRANSACTION","TRANSFORM","TREAT","TRIGGER","TRIM","TRUE","TRUNCATE","TRUSTED","TYPE","TYPES","UESCAPE","UNBOUNDED","UNCOMMITTED","UNENCRYPTED","UNION","UNIQUE","UNKNOWN","UNLISTEN","UNLOGGED","UNTIL","UPDATE","USER","USING","VACUUM","VALID","VALIDATE","VALIDATOR","VALUE","VALUES","VARCHAR","VARIADIC","VARYING","VERBOSE","VERSION","VIEW","VIEWS","VOLATILE","WHEN","WHERE","WHITESPACE","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","XML","XMLATTRIBUTES","XMLCONCAT","XMLELEMENT","XMLEXISTS","XMLFOREST","XMLNAMESPACES","XMLPARSE","XMLPI","XMLROOT","XMLSERIALIZE","XMLTABLE","YEAR","YES","ZONE"]}),ek=A(["SELECT [ALL | DISTINCT]"]),eV=A(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","FOR {UPDATE | NO KEY UPDATE | SHARE | KEY SHARE} [OF]","INSERT INTO","VALUES","SET","CREATE [OR REPLACE] [TEMP | TEMPORARY] [RECURSIVE] VIEW","CREATE MATERIALIZED VIEW [IF NOT EXISTS]","CREATE [GLOBAL | LOCAL] [TEMPORARY | TEMP | UNLOGGED] TABLE [IF NOT EXISTS]","RETURNING"]),e$=A(["UPDATE [ONLY]","WHERE CURRENT OF","ON CONFLICT","DELETE FROM [ONLY]","DROP TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS] [ONLY]","ALTER TABLE ALL IN TABLESPACE","RENAME [COLUMN]","RENAME TO","ADD [COLUMN] [IF NOT EXISTS]","DROP [COLUMN] [IF EXISTS]","ALTER [COLUMN]","[SET DATA] TYPE","{SET | DROP} DEFAULT","{SET | DROP} NOT NULL","TRUNCATE [TABLE] [ONLY]","SET SCHEMA","AFTER","ABORT","ALTER AGGREGATE","ALTER COLLATION","ALTER CONVERSION","ALTER DATABASE","ALTER DEFAULT PRIVILEGES","ALTER DOMAIN","ALTER EVENT TRIGGER","ALTER EXTENSION","ALTER FOREIGN DATA WRAPPER","ALTER FOREIGN TABLE","ALTER FUNCTION","ALTER GROUP","ALTER INDEX","ALTER LANGUAGE","ALTER LARGE OBJECT","ALTER MATERIALIZED VIEW","ALTER OPERATOR","ALTER OPERATOR CLASS","ALTER OPERATOR FAMILY","ALTER POLICY","ALTER PROCEDURE","ALTER PUBLICATION","ALTER ROLE","ALTER ROUTINE","ALTER RULE","ALTER SCHEMA","ALTER SEQUENCE","ALTER SERVER","ALTER STATISTICS","ALTER SUBSCRIPTION","ALTER SYSTEM","ALTER TABLESPACE","ALTER TEXT SEARCH CONFIGURATION","ALTER TEXT SEARCH DICTIONARY","ALTER TEXT SEARCH PARSER","ALTER TEXT SEARCH TEMPLATE","ALTER TRIGGER","ALTER TYPE","ALTER USER","ALTER USER MAPPING","ALTER VIEW","ANALYZE","BEGIN","CALL","CHECKPOINT","CLOSE","CLUSTER","COMMENT","COMMIT","COMMIT PREPARED","COPY","CREATE ACCESS METHOD","CREATE AGGREGATE","CREATE CAST","CREATE COLLATION","CREATE CONVERSION","CREATE DATABASE","CREATE DOMAIN","CREATE EVENT TRIGGER","CREATE EXTENSION","CREATE FOREIGN DATA WRAPPER","CREATE FOREIGN TABLE","CREATE FUNCTION","CREATE GROUP","CREATE INDEX","CREATE LANGUAGE","CREATE OPERATOR","CREATE OPERATOR CLASS","CREATE OPERATOR FAMILY","CREATE POLICY","CREATE PROCEDURE","CREATE PUBLICATION","CREATE ROLE","CREATE RULE","CREATE SCHEMA","CREATE SEQUENCE","CREATE SERVER","CREATE STATISTICS","CREATE SUBSCRIPTION","CREATE TABLESPACE","CREATE TEXT SEARCH CONFIGURATION","CREATE TEXT SEARCH DICTIONARY","CREATE TEXT SEARCH PARSER","CREATE TEXT SEARCH TEMPLATE","CREATE TRANSFORM","CREATE TRIGGER","CREATE TYPE","CREATE USER","CREATE USER MAPPING","DEALLOCATE","DECLARE","DISCARD","DROP ACCESS METHOD","DROP AGGREGATE","DROP CAST","DROP COLLATION","DROP CONVERSION","DROP DATABASE","DROP DOMAIN","DROP EVENT TRIGGER","DROP EXTENSION","DROP FOREIGN DATA WRAPPER","DROP FOREIGN TABLE","DROP FUNCTION","DROP GROUP","DROP INDEX","DROP LANGUAGE","DROP MATERIALIZED VIEW","DROP OPERATOR","DROP OPERATOR CLASS","DROP OPERATOR FAMILY","DROP OWNED","DROP POLICY","DROP PROCEDURE","DROP PUBLICATION","DROP ROLE","DROP ROUTINE","DROP RULE","DROP SCHEMA","DROP SEQUENCE","DROP SERVER","DROP STATISTICS","DROP SUBSCRIPTION","DROP TABLESPACE","DROP TEXT SEARCH CONFIGURATION","DROP TEXT SEARCH DICTIONARY","DROP TEXT SEARCH PARSER","DROP TEXT SEARCH TEMPLATE","DROP TRANSFORM","DROP TRIGGER","DROP TYPE","DROP USER","DROP USER MAPPING","DROP VIEW","EXECUTE","EXPLAIN","FETCH","GRANT","IMPORT FOREIGN SCHEMA","LISTEN","LOAD","LOCK","MOVE","NOTIFY","PREPARE","PREPARE TRANSACTION","REASSIGN OWNED","REFRESH MATERIALIZED VIEW","REINDEX","RELEASE SAVEPOINT","RESET","REVOKE","ROLLBACK","ROLLBACK PREPARED","ROLLBACK TO SAVEPOINT","SAVEPOINT","SECURITY LABEL","SELECT INTO","SET CONSTRAINTS","SET ROLE","SET SESSION AUTHORIZATION","SET TRANSACTION","SHOW","START TRANSACTION","UNLISTEN","VACUUM"]),eW=A(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),eZ=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),ej=A(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE | GROUPS} BETWEEN","{TIMESTAMP | TIME} {WITH | WITHOUT} TIME ZONE","IS [NOT] DISTINCT FROM"]),eX={tokenizerOptions:{reservedSelect:ek,reservedClauses:[...eV,...e$],reservedSetOperations:eW,reservedJoins:eZ,reservedPhrases:ej,reservedKeywords:eY,reservedFunctionNames:eB,nestedBlockComments:!0,extraParens:["[]"],stringTypes:["$$",{quote:"''-qq",prefixes:["U&"]},{quote:"''-bs",prefixes:["E"],requirePrefix:!0},{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:[{quote:'""-qq',prefixes:["U&"]}],identChars:{rest:"$"},paramTypes:{numbered:["$"]},operators:["%","^","|/","||/","@",":=","&","|","#","~","<<",">>","~>~","~<~","~>=~","~<=~","@-@","@@","##","<->","&&","&<","&>","<<|","&<|","|>>","|&>","<^","^>","?#","?-","?|","?-|","?||","@>","<@","~=","?","@?","?&","->","->>","#>","#>>","#-","=>",">>=","<<=","~~","~~*","!~~","!~~*","~","~*","!~","!~*","-|-","||","@@@","!!","<%","%>","<<%","%>>","<<->","<->>","<<<->","<->>>","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:e$}},eK=v({aggregate:["ANY_VALUE","APPROXIMATE PERCENTILE_DISC","AVG","COUNT","LISTAGG","MAX","MEDIAN","MIN","PERCENTILE_CONT","STDDEV_SAMP","STDDEV_POP","SUM","VAR_SAMP","VAR_POP"],array:["array","array_concat","array_flatten","get_array_length","split_to_array","subarray"],bitwise:["BIT_AND","BIT_OR","BOOL_AND","BOOL_OR"],conditional:["COALESCE","DECODE","GREATEST","LEAST","NVL","NVL2","NULLIF"],dateTime:["ADD_MONTHS","AT TIME ZONE","CONVERT_TIMEZONE","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATE_CMP","DATE_CMP_TIMESTAMP","DATE_CMP_TIMESTAMPTZ","DATE_PART_YEAR","DATEADD","DATEDIFF","DATE_PART","DATE_TRUNC","EXTRACT","GETDATE","INTERVAL_CMP","LAST_DAY","MONTHS_BETWEEN","NEXT_DAY","SYSDATE","TIMEOFDAY","TIMESTAMP_CMP","TIMESTAMP_CMP_DATE","TIMESTAMP_CMP_TIMESTAMPTZ","TIMESTAMPTZ_CMP","TIMESTAMPTZ_CMP_DATE","TIMESTAMPTZ_CMP_TIMESTAMP","TIMEZONE","TO_TIMESTAMP","TRUNC"],spatial:["AddBBox","DropBBox","GeometryType","ST_AddPoint","ST_Angle","ST_Area","ST_AsBinary","ST_AsEWKB","ST_AsEWKT","ST_AsGeoJSON","ST_AsText","ST_Azimuth","ST_Boundary","ST_Collect","ST_Contains","ST_ContainsProperly","ST_ConvexHull","ST_CoveredBy","ST_Covers","ST_Crosses","ST_Dimension","ST_Disjoint","ST_Distance","ST_DistanceSphere","ST_DWithin","ST_EndPoint","ST_Envelope","ST_Equals","ST_ExteriorRing","ST_Force2D","ST_Force3D","ST_Force3DM","ST_Force3DZ","ST_Force4D","ST_GeometryN","ST_GeometryType","ST_GeomFromEWKB","ST_GeomFromEWKT","ST_GeomFromText","ST_GeomFromWKB","ST_InteriorRingN","ST_Intersects","ST_IsPolygonCCW","ST_IsPolygonCW","ST_IsClosed","ST_IsCollection","ST_IsEmpty","ST_IsSimple","ST_IsValid","ST_Length","ST_LengthSphere","ST_Length2D","ST_LineFromMultiPoint","ST_LineInterpolatePoint","ST_M","ST_MakeEnvelope","ST_MakeLine","ST_MakePoint","ST_MakePolygon","ST_MemSize","ST_MMax","ST_MMin","ST_Multi","ST_NDims","ST_NPoints","ST_NRings","ST_NumGeometries","ST_NumInteriorRings","ST_NumPoints","ST_Perimeter","ST_Perimeter2D","ST_Point","ST_PointN","ST_Points","ST_Polygon","ST_RemovePoint","ST_Reverse","ST_SetPoint","ST_SetSRID","ST_Simplify","ST_SRID","ST_StartPoint","ST_Touches","ST_Within","ST_X","ST_XMax","ST_XMin","ST_Y","ST_YMax","ST_YMin","ST_Z","ST_ZMax","ST_ZMin","SupportsBBox"],hash:["CHECKSUM","FUNC_SHA1","FNV_HASH","MD5","SHA","SHA1","SHA2"],hyperLogLog:["HLL","HLL_CREATE_SKETCH","HLL_CARDINALITY","HLL_COMBINE"],json:["IS_VALID_JSON","IS_VALID_JSON_ARRAY","JSON_ARRAY_LENGTH","JSON_EXTRACT_ARRAY_ELEMENT_TEXT","JSON_EXTRACT_PATH_TEXT","JSON_PARSE","JSON_SERIALIZE"],math:["ABS","ACOS","ASIN","ATAN","ATAN2","CBRT","CEILING","CEIL","COS","COT","DEGREES","DEXP","DLOG1","DLOG10","EXP","FLOOR","LN","LOG","MOD","PI","POWER","RADIANS","RANDOM","ROUND","SIN","SIGN","SQRT","TAN","TO_HEX","TRUNC"],machineLearning:["EXPLAIN_MODEL"],string:["ASCII","BPCHARCMP","BTRIM","BTTEXT_PATTERN_CMP","CHAR_LENGTH","CHARACTER_LENGTH","CHARINDEX","CHR","COLLATE","CONCAT","CRC32","DIFFERENCE","INITCAP","LEFT","RIGHT","LEN","LENGTH","LOWER","LPAD","RPAD","LTRIM","OCTETINDEX","OCTET_LENGTH","POSITION","QUOTE_IDENT","QUOTE_LITERAL","REGEXP_COUNT","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","REPEAT","REPLACE","REPLICATE","REVERSE","RTRIM","SOUNDEX","SPLIT_PART","STRPOS","STRTOL","SUBSTRING","TEXTLEN","TRANSLATE","TRIM","UPPER"],superType:["decimal_precision","decimal_scale","is_array","is_bigint","is_boolean","is_char","is_decimal","is_float","is_integer","is_object","is_scalar","is_smallint","is_varchar","json_typeof"],window:["AVG","COUNT","CUME_DIST","DENSE_RANK","FIRST_VALUE","LAST_VALUE","LAG","LEAD","LISTAGG","MAX","MEDIAN","MIN","NTH_VALUE","NTILE","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","RANK","RATIO_TO_REPORT","ROW_NUMBER","STDDEV_SAMP","STDDEV_POP","SUM","VAR_SAMP","VAR_POP"],dataType:["CAST","CONVERT","TO_CHAR","TO_DATE","TO_NUMBER","TEXT_TO_INT_ALT","TEXT_TO_NUMERIC_ALT"],sysAdmin:["CHANGE_QUERY_PRIORITY","CHANGE_SESSION_PRIORITY","CHANGE_USER_PRIORITY","CURRENT_SETTING","PG_CANCEL_BACKEND","PG_TERMINATE_BACKEND","REBOOT_CLUSTER","SET_CONFIG"],sysInfo:["CURRENT_AWS_ACCOUNT","CURRENT_DATABASE","CURRENT_NAMESPACE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_USER","CURRENT_USER_ID","HAS_ASSUMEROLE_PRIVILEGE","HAS_DATABASE_PRIVILEGE","HAS_SCHEMA_PRIVILEGE","HAS_TABLE_PRIVILEGE","PG_BACKEND_PID","PG_GET_COLS","PG_GET_GRANTEE_BY_IAM_ROLE","PG_GET_IAM_ROLE_BY_USER","PG_GET_LATE_BINDING_VIEW_COLS","PG_LAST_COPY_COUNT","PG_LAST_COPY_ID","PG_LAST_UNLOAD_ID","PG_LAST_QUERY_ID","PG_LAST_UNLOAD_COUNT","SESSION_USER","SLICE_NUM","USER","VERSION"],dataTypes:["DECIMAL","NUMERIC","CHAR","CHARACTER","VARCHAR","CHARACTER VARYING","NCHAR","NVARCHAR","VARBYTE"]}),ez=v({standard:["AES128","AES256","ALL","ALLOWOVERWRITE","ANY","ARRAY","AS","ASC","AUTHORIZATION","BACKUP","BETWEEN","BINARY","BOTH","CHECK","COLUMN","CONSTRAINT","CREATE","CROSS","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DESC","DISABLE","DISTINCT","DO","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GROUP","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTO","IS","ISNULL","LANGUAGE","LEADING","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","MINUS","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RECOVER","REFERENCES","REJECTLOG","RESORT","RESPECT","RESTORE","SIMILAR","SNAPSHOT","SOME","SYSTEM","TABLE","TAG","TDES","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","UNIQUE","USING","VERBOSE","WALLET","WITHOUT"],dataConversionParams:["ACCEPTANYDATE","ACCEPTINVCHARS","BLANKSASNULL","DATEFORMAT","EMPTYASNULL","ENCODING","ESCAPE","EXPLICIT_IDS","FILLRECORD","IGNOREBLANKLINES","IGNOREHEADER","REMOVEQUOTES","ROUNDEC","TIMEFORMAT","TRIMBLANKS","TRUNCATECOLUMNS"],dataLoadParams:["COMPROWS","COMPUPDATE","MAXERROR","NOLOAD","STATUPDATE"],dataFormatParams:["FORMAT","CSV","DELIMITER","FIXEDWIDTH","SHAPEFILE","AVRO","JSON","PARQUET","ORC"],copyAuthParams:["ACCESS_KEY_ID","CREDENTIALS","ENCRYPTED","IAM_ROLE","MASTER_SYMMETRIC_KEY","SECRET_ACCESS_KEY","SESSION_TOKEN"],copyCompressionParams:["BZIP2","GZIP","LZOP","ZSTD"],copyMiscParams:["MANIFEST","READRATIO","REGION","SSH"],compressionEncodings:["RAW","AZ64","BYTEDICT","DELTA","DELTA32K","LZO","MOSTLY8","MOSTLY16","MOSTLY32","RUNLENGTH","TEXT255","TEXT32K"],misc:["CATALOG_ROLE","SECRET_ARN","EXTERNAL","AUTO","EVEN","KEY","PREDICATE","COMPRESSION"],dataTypes:["BPCHAR","TEXT"]}),eq=A(["SELECT [ALL | DISTINCT]"]),eJ=A(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT INTO","VALUES","SET","CREATE [OR REPLACE | MATERIALIZED] VIEW","CREATE [TEMPORARY | TEMP | LOCAL TEMPORARY | LOCAL TEMP] TABLE [IF NOT EXISTS]"]),eQ=A(["UPDATE","DELETE [FROM]","DROP TABLE [IF EXISTS]","ALTER TABLE","ALTER TABLE APPEND","ADD [COLUMN]","DROP [COLUMN]","RENAME TO","RENAME COLUMN","ALTER COLUMN","TYPE","ENCODE","TRUNCATE [TABLE]","ABORT","ALTER DATABASE","ALTER DATASHARE","ALTER DEFAULT PRIVILEGES","ALTER GROUP","ALTER MATERIALIZED VIEW","ALTER PROCEDURE","ALTER SCHEMA","ALTER USER","ANALYSE","ANALYZE","ANALYSE COMPRESSION","ANALYZE COMPRESSION","BEGIN","CALL","CANCEL","CLOSE","COMMENT","COMMIT","COPY","CREATE DATABASE","CREATE DATASHARE","CREATE EXTERNAL FUNCTION","CREATE EXTERNAL SCHEMA","CREATE EXTERNAL TABLE","CREATE FUNCTION","CREATE GROUP","CREATE LIBRARY","CREATE MODEL","CREATE PROCEDURE","CREATE SCHEMA","CREATE USER","DEALLOCATE","DECLARE","DESC DATASHARE","DROP DATABASE","DROP DATASHARE","DROP FUNCTION","DROP GROUP","DROP LIBRARY","DROP MODEL","DROP MATERIALIZED VIEW","DROP PROCEDURE","DROP SCHEMA","DROP USER","DROP VIEW","DROP","EXECUTE","EXPLAIN","FETCH","GRANT","LOCK","PREPARE","REFRESH MATERIALIZED VIEW","RESET","REVOKE","ROLLBACK","SELECT INTO","SET SESSION AUTHORIZATION","SET SESSION CHARACTERISTICS","SHOW","SHOW EXTERNAL TABLE","SHOW MODEL","SHOW DATASHARES","SHOW PROCEDURE","SHOW TABLE","SHOW VIEW","START TRANSACTION","UNLOAD","VACUUM"]),e0=A(["UNION [ALL]","EXCEPT","INTERSECT","MINUS"]),e1=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),e2=A(["NULL AS","DATA CATALOG","HIVE METASTORE","{ROWS | RANGE} BETWEEN"]),e4={tokenizerOptions:{reservedSelect:eq,reservedClauses:[...eJ,...eQ],reservedSetOperations:e0,reservedJoins:e1,reservedPhrases:e2,reservedKeywords:ez,reservedFunctionNames:eK,stringTypes:["''-qq"],identTypes:['""-qq'],identChars:{first:"#"},paramTypes:{numbered:["$"]},operators:["^","%","@","|/","||/","&","|","~","<<",">>","||","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:eQ}},e6=v({all:["ADD","AFTER","ALL","ALTER","ANALYZE","AND","ANTI","ANY","ARCHIVE","ARRAY","AS","ASC","AT","AUTHORIZATION","BETWEEN","BOTH","BUCKET","BUCKETS","BY","CACHE","CASCADE","CAST","CHANGE","CHECK","CLEAR","CLUSTER","CLUSTERED","CODEGEN","COLLATE","COLLECTION","COLUMN","COLUMNS","COMMENT","COMMIT","COMPACT","COMPACTIONS","COMPUTE","CONCATENATE","CONSTRAINT","COST","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","DATA","DATABASE","DATABASES","DAY","DBPROPERTIES","DEFINED","DELETE","DELIMITED","DESC","DESCRIBE","DFS","DIRECTORIES","DIRECTORY","DISTINCT","DISTRIBUTE","DIV","DROP","ESCAPE","ESCAPED","EXCEPT","EXCHANGE","EXISTS","EXPORT","EXTENDED","EXTERNAL","EXTRACT","FALSE","FETCH","FIELDS","FILTER","FILEFORMAT","FIRST","FIRST_VALUE","FOLLOWING","FOR","FOREIGN","FORMAT","FORMATTED","FULL","FUNCTION","FUNCTIONS","GLOBAL","GRANT","GROUP","GROUPING","HOUR","IF","IGNORE","IMPORT","IN","INDEX","INDEXES","INNER","INPATH","INPUTFORMAT","INTERSECT","INTERVAL","INTO","IS","ITEMS","KEYS","LAST","LAST_VALUE","LATERAL","LAZY","LEADING","LEFT","LIKE","LINES","LIST","LOCAL","LOCATION","LOCK","LOCKS","LOGICAL","MACRO","MAP","MATCHED","MERGE","MINUTE","MONTH","MSCK","NAMESPACE","NAMESPACES","NATURAL","NO","NOT","NULL","NULLS","OF","ONLY","OPTION","OPTIONS","OR","ORDER","OUT","OUTER","OUTPUTFORMAT","OVER","OVERLAPS","OVERLAY","OVERWRITE","OWNER","PARTITION","PARTITIONED","PARTITIONS","PERCENT","PLACING","POSITION","PRECEDING","PRIMARY","PRINCIPALS","PROPERTIES","PURGE","QUERY","RANGE","RECORDREADER","RECORDWRITER","RECOVER","REDUCE","REFERENCES","RENAME","REPAIR","REPLACE","RESPECT","RESTRICT","REVOKE","RIGHT","RLIKE","ROLE","ROLES","ROLLBACK","ROLLUP","ROW","ROWS","SCHEMA","SECOND","SELECT","SEMI","SEPARATED","SERDE","SERDEPROPERTIES","SESSION_USER","SETS","SHOW","SKEWED","SOME","SORT","SORTED","START","STATISTICS","STORED","STRATIFY","STRUCT","SUBSTR","SUBSTRING","TABLE","TABLES","TBLPROPERTIES","TEMPORARY","TERMINATED","THEN","TO","TOUCH","TRAILING","TRANSACTION","TRANSACTIONS","TRIM","TRUE","TRUNCATE","UNARCHIVE","UNBOUNDED","UNCACHE","UNIQUE","UNKNOWN","UNLOCK","UNSET","USE","USER","USING","VIEW","WINDOW","YEAR","ANALYSE","ARRAY_ZIP","COALESCE","CONTAINS","CONVERT","DAYS","DAY_HOUR","DAY_MINUTE","DAY_SECOND","DECODE","DEFAULT","DISTINCTROW","ENCODE","EXPLODE","EXPLODE_OUTER","FIXED","GREATEST","GROUP_CONCAT","HOURS","HOUR_MINUTE","HOUR_SECOND","IFNULL","LEAST","LEVEL","MINUTE_SECOND","NULLIF","OFFSET","ON","OPTIMIZE","REGEXP","SEPARATOR","SIZE","STRING","TYPE","TYPES","UNSIGNED","VARIABLES","YEAR_MONTH"]}),e3=v({aggregate:["APPROX_COUNT_DISTINCT","APPROX_PERCENTILE","AVG","BIT_AND","BIT_OR","BIT_XOR","BOOL_AND","BOOL_OR","COLLECT_LIST","COLLECT_SET","CORR","COUNT","COUNT","COUNT","COUNT_IF","COUNT_MIN_SKETCH","COVAR_POP","COVAR_SAMP","EVERY","FIRST","FIRST_VALUE","GROUPING","GROUPING_ID","KURTOSIS","LAST","LAST_VALUE","MAX","MAX_BY","MEAN","MIN","MIN_BY","PERCENTILE","PERCENTILE","PERCENTILE_APPROX","SKEWNESS","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","SUM","VAR_POP","VAR_SAMP","VARIANCE"],window:["CUME_DIST","DENSE_RANK","LAG","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","RANK","ROW_NUMBER"],array:["ARRAY","ARRAY_CONTAINS","ARRAY_DISTINCT","ARRAY_EXCEPT","ARRAY_INTERSECT","ARRAY_JOIN","ARRAY_MAX","ARRAY_MIN","ARRAY_POSITION","ARRAY_REMOVE","ARRAY_REPEAT","ARRAY_UNION","ARRAYS_OVERLAP","ARRAYS_ZIP","FLATTEN","SEQUENCE","SHUFFLE","SLICE","SORT_ARRAY"],map:["ELEMENT_AT","ELEMENT_AT","MAP","MAP_CONCAT","MAP_ENTRIES","MAP_FROM_ARRAYS","MAP_FROM_ENTRIES","MAP_KEYS","MAP_VALUES","STR_TO_MAP"],datetime:["ADD_MONTHS","CURRENT_DATE","CURRENT_DATE","CURRENT_TIMESTAMP","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","DATE_ADD","DATE_FORMAT","DATE_FROM_UNIX_DATE","DATE_PART","DATE_SUB","DATE_TRUNC","DATEDIFF","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","EXTRACT","FROM_UNIXTIME","FROM_UTC_TIMESTAMP","HOUR","LAST_DAY","MAKE_DATE","MAKE_DT_INTERVAL","MAKE_INTERVAL","MAKE_TIMESTAMP","MAKE_YM_INTERVAL","MINUTE","MONTH","MONTHS_BETWEEN","NEXT_DAY","NOW","QUARTER","SECOND","SESSION_WINDOW","TIMESTAMP_MICROS","TIMESTAMP_MILLIS","TIMESTAMP_SECONDS","TO_DATE","TO_TIMESTAMP","TO_UNIX_TIMESTAMP","TO_UTC_TIMESTAMP","TRUNC","UNIX_DATE","UNIX_MICROS","UNIX_MILLIS","UNIX_SECONDS","UNIX_TIMESTAMP","WEEKDAY","WEEKOFYEAR","WINDOW","YEAR"],json:["FROM_JSON","GET_JSON_OBJECT","JSON_ARRAY_LENGTH","JSON_OBJECT_KEYS","JSON_TUPLE","SCHEMA_OF_JSON","TO_JSON"],misc:["ABS","ACOS","ACOSH","AGGREGATE","ARRAY_SORT","ASCII","ASIN","ASINH","ASSERT_TRUE","ATAN","ATAN2","ATANH","BASE64","BIGINT","BIN","BINARY","BIT_COUNT","BIT_GET","BIT_LENGTH","BOOLEAN","BROUND","BTRIM","CARDINALITY","CBRT","CEIL","CEILING","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHR","CONCAT","CONCAT_WS","CONV","COS","COSH","COT","CRC32","CURRENT_CATALOG","CURRENT_DATABASE","CURRENT_USER","DATE","DECIMAL","DEGREES","DOUBLE","ELT","EXP","EXPM1","FACTORIAL","FIND_IN_SET","FLOAT","FLOOR","FORALL","FORMAT_NUMBER","FORMAT_STRING","FROM_CSV","GETBIT","HASH","HEX","HYPOT","INITCAP","INLINE","INLINE_OUTER","INPUT_FILE_BLOCK_LENGTH","INPUT_FILE_BLOCK_START","INPUT_FILE_NAME","INSTR","INT","ISNAN","ISNOTNULL","ISNULL","JAVA_METHOD","LCASE","LEFT","LENGTH","LEVENSHTEIN","LN","LOCATE","LOG","LOG10","LOG1P","LOG2","LOWER","LPAD","LTRIM","MAP_FILTER","MAP_ZIP_WITH","MD5","MOD","MONOTONICALLY_INCREASING_ID","NAMED_STRUCT","NANVL","NEGATIVE","NVL","NVL2","OCTET_LENGTH","OVERLAY","PARSE_URL","PI","PMOD","POSEXPLODE","POSEXPLODE_OUTER","POSITION","POSITIVE","POW","POWER","PRINTF","RADIANS","RAISE_ERROR","RAND","RANDN","RANDOM","REFLECT","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_LIKE","REGEXP_REPLACE","REPEAT","REPLACE","REVERSE","RIGHT","RINT","ROUND","RPAD","RTRIM","SCHEMA_OF_CSV","SENTENCES","SHA","SHA1","SHA2","SHIFTLEFT","SHIFTRIGHT","SHIFTRIGHTUNSIGNED","SIGN","SIGNUM","SIN","SINH","SMALLINT","SOUNDEX","SPACE","SPARK_PARTITION_ID","SPLIT","SQRT","STACK","SUBSTR","SUBSTRING","SUBSTRING_INDEX","TAN","TANH","TIMESTAMP","TINYINT","TO_CSV","TRANSFORM_KEYS","TRANSFORM_VALUES","TRANSLATE","TRIM","TRY_ADD","TRY_DIVIDE","TYPEOF","UCASE","UNBASE64","UNHEX","UPPER","UUID","VERSION","WIDTH_BUCKET","XPATH","XPATH_BOOLEAN","XPATH_DOUBLE","XPATH_FLOAT","XPATH_INT","XPATH_LONG","XPATH_NUMBER","XPATH_SHORT","XPATH_STRING","XXHASH64","ZIP_WITH"],cast:["CAST"],caseAbbrev:["COALESCE","NULLIF"],dataTypes:["DECIMAL","DEC","NUMERIC","VARCHAR"]}),e8=A(["SELECT [ALL | DISTINCT]"]),e5=A(["WITH","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","SORT BY","CLUSTER BY","DISTRIBUTE BY","LIMIT","INSERT [INTO | OVERWRITE] [TABLE]","VALUES","INSERT OVERWRITE [LOCAL] DIRECTORY","LOAD DATA [LOCAL] INPATH","[OVERWRITE] INTO TABLE","CREATE [OR REPLACE] [GLOBAL TEMPORARY | TEMPORARY] VIEW [IF NOT EXISTS]","CREATE [EXTERNAL] TABLE [IF NOT EXISTS]"]),e7=A(["DROP TABLE [IF EXISTS]","ALTER TABLE","ADD COLUMNS","DROP {COLUMN | COLUMNS}","RENAME TO","RENAME COLUMN","ALTER COLUMN","TRUNCATE TABLE","LATERAL VIEW","ALTER DATABASE","ALTER VIEW","CREATE DATABASE","CREATE FUNCTION","DROP DATABASE","DROP FUNCTION","DROP VIEW","REPAIR TABLE","USE DATABASE","TABLESAMPLE","PIVOT","TRANSFORM","EXPLAIN","ADD FILE","ADD JAR","ANALYZE TABLE","CACHE TABLE","CLEAR CACHE","DESCRIBE DATABASE","DESCRIBE FUNCTION","DESCRIBE QUERY","DESCRIBE TABLE","LIST FILE","LIST JAR","REFRESH","REFRESH TABLE","REFRESH FUNCTION","RESET","SHOW COLUMNS","SHOW CREATE TABLE","SHOW DATABASES","SHOW FUNCTIONS","SHOW PARTITIONS","SHOW TABLE EXTENDED","SHOW TABLES","SHOW TBLPROPERTIES","SHOW VIEWS","UNCACHE TABLE"]),e9=A(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),te=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN","[LEFT] {ANTI | SEMI} JOIN","NATURAL [LEFT] {ANTI | SEMI} JOIN"]),tt=A(["ON DELETE","ON UPDATE","CURRENT ROW","{ROWS | RANGE} BETWEEN"]),tn={tokenizerOptions:{reservedSelect:e8,reservedClauses:[...e5,...e7],reservedSetOperations:e9,reservedJoins:te,reservedPhrases:tt,supportsXor:!0,reservedKeywords:e6,reservedFunctionNames:e3,extraParens:["[]"],stringTypes:["''-bs",'""-bs',{quote:"''-raw",prefixes:["R","X"],requirePrefix:!0},{quote:'""-raw',prefixes:["R","X"],requirePrefix:!0}],identTypes:["``"],variableTypes:[{quote:"{}",prefixes:["$"],requirePrefix:!0}],operators:["%","~","^","|","&","<=>","==","!","||","->"],postProcess:function(e){return e.map((t,n)=>{let o=e[n-1]||u,i=e[n+1]||u;return d.WINDOW(t)&&i.type===r.OPEN_PAREN?{...t,type:r.RESERVED_FUNCTION_NAME}:"ITEMS"!==t.text||t.type!==r.RESERVED_KEYWORD||"COLLECTION"===o.text&&"TERMINATED"===i.text?t:{...t,type:r.IDENTIFIER,text:t.raw}})}},formatOptions:{onelineClauses:e7}},tr=v({scalar:["ABS","CHANGES","CHAR","COALESCE","FORMAT","GLOB","HEX","IFNULL","IIF","INSTR","LAST_INSERT_ROWID","LENGTH","LIKE","LIKELIHOOD","LIKELY","LOAD_EXTENSION","LOWER","LTRIM","NULLIF","PRINTF","QUOTE","RANDOM","RANDOMBLOB","REPLACE","ROUND","RTRIM","SIGN","SOUNDEX","SQLITE_COMPILEOPTION_GET","SQLITE_COMPILEOPTION_USED","SQLITE_OFFSET","SQLITE_SOURCE_ID","SQLITE_VERSION","SUBSTR","SUBSTRING","TOTAL_CHANGES","TRIM","TYPEOF","UNICODE","UNLIKELY","UPPER","ZEROBLOB"],aggregate:["AVG","COUNT","GROUP_CONCAT","MAX","MIN","SUM","TOTAL"],datetime:["DATE","TIME","DATETIME","JULIANDAY","UNIXEPOCH","STRFTIME"],window:["row_number","rank","dense_rank","percent_rank","cume_dist","ntile","lag","lead","first_value","last_value","nth_value"],math:["ACOS","ACOSH","ASIN","ASINH","ATAN","ATAN2","ATANH","CEIL","CEILING","COS","COSH","DEGREES","EXP","FLOOR","LN","LOG","LOG","LOG10","LOG2","MOD","PI","POW","POWER","RADIANS","SIN","SINH","SQRT","TAN","TANH","TRUNC"],json:["JSON","JSON_ARRAY","JSON_ARRAY_LENGTH","JSON_ARRAY_LENGTH","JSON_EXTRACT","JSON_INSERT","JSON_OBJECT","JSON_PATCH","JSON_REMOVE","JSON_REPLACE","JSON_SET","JSON_TYPE","JSON_TYPE","JSON_VALID","JSON_QUOTE","JSON_GROUP_ARRAY","JSON_GROUP_OBJECT","JSON_EACH","JSON_TREE"],cast:["CAST"],dataTypes:["CHARACTER","VARCHAR","VARYING CHARACTER","NCHAR","NATIVE CHARACTER","NVARCHAR","NUMERIC","DECIMAL"]}),to=v({all:["ABORT","ACTION","ADD","AFTER","ALL","ALTER","AND","ANY","ARE","ARRAY","ALWAYS","ANALYZE","AS","ASC","ATTACH","AUTOINCREMENT","BEFORE","BEGIN","BETWEEN","BY","CASCADE","CASE","CAST","CHECK","COLLATE","COLUMN","COMMIT","CONFLICT","CONSTRAINT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATABASE","DEFAULT","DEFERRABLE","DEFERRED","DELETE","DESC","DETACH","DISTINCT","DO","DROP","EACH","ELSE","END","ESCAPE","EXCEPT","EXCLUDE","EXCLUSIVE","EXISTS","EXPLAIN","FAIL","FILTER","FIRST","FOLLOWING","FOR","FOREIGN","FROM","FULL","GENERATED","GLOB","GROUP","GROUPS","HAVING","IF","IGNORE","IMMEDIATE","IN","INDEX","INDEXED","INITIALLY","INNER","INSERT","INSTEAD","INTERSECT","INTO","IS","ISNULL","JOIN","KEY","LAST","LEFT","LIKE","LIMIT","MATCH","MATERIALIZED","NATURAL","NO","NOT","NOTHING","NOTNULL","NULL","NULLS","OF","OFFSET","ON","ONLY","OPEN","OR","ORDER","OTHERS","OUTER","OVER","PARTITION","PLAN","PRAGMA","PRECEDING","PRIMARY","QUERY","RAISE","RANGE","RECURSIVE","REFERENCES","REGEXP","REINDEX","RELEASE","RENAME","REPLACE","RESTRICT","RETURNING","RIGHT","ROLLBACK","ROW","ROWS","SAVEPOINT","SELECT","SET","TABLE","TEMP","TEMPORARY","THEN","TIES","TO","TRANSACTION","TRIGGER","UNBOUNDED","UNION","UNIQUE","UPDATE","USING","VACUUM","VALUES","VIEW","VIRTUAL","WHEN","WHERE","WINDOW","WITH","WITHOUT"]}),ti=A(["SELECT [ALL | DISTINCT]"]),ta=A(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [OR ABORT | OR FAIL | OR IGNORE | OR REPLACE | OR ROLLBACK] INTO","REPLACE INTO","VALUES","SET","CREATE [TEMPORARY | TEMP] VIEW [IF NOT EXISTS]","CREATE [TEMPORARY | TEMP] TABLE [IF NOT EXISTS]"]),ts=A(["UPDATE [OR ABORT | OR FAIL | OR IGNORE | OR REPLACE | OR ROLLBACK]","ON CONFLICT","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE","ADD [COLUMN]","DROP [COLUMN]","RENAME [COLUMN]","RENAME TO","SET SCHEMA"]),tl=A(["UNION [ALL]","EXCEPT","INTERSECT"]),tc=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tE=A(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE | GROUPS} BETWEEN"]),tu={tokenizerOptions:{reservedSelect:ti,reservedClauses:[...ta,...ts],reservedSetOperations:tl,reservedJoins:tc,reservedPhrases:tE,reservedKeywords:to,reservedFunctionNames:tr,stringTypes:["''-qq",{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq',"``","[]"],paramTypes:{positional:!0,numbered:["?"],named:[":","@","$"]},operators:["%","~","&","|","<<",">>","==","->","->>","||"]},formatOptions:{onelineClauses:ts}},tT=v({set:["GROUPING"],window:["RANK","DENSE_RANK","PERCENT_RANK","CUME_DIST","ROW_NUMBER"],numeric:["POSITION","OCCURRENCES_REGEX","POSITION_REGEX","EXTRACT","CHAR_LENGTH","CHARACTER_LENGTH","OCTET_LENGTH","CARDINALITY","ABS","MOD","LN","EXP","POWER","SQRT","FLOOR","CEIL","CEILING","WIDTH_BUCKET"],string:["SUBSTRING","SUBSTRING_REGEX","UPPER","LOWER","CONVERT","TRANSLATE","TRANSLATE_REGEX","TRIM","OVERLAY","NORMALIZE","SPECIFICTYPE"],datetime:["CURRENT_DATE","CURRENT_TIME","LOCALTIME","CURRENT_TIMESTAMP","LOCALTIMESTAMP"],aggregate:["COUNT","AVG","MAX","MIN","SUM","STDDEV_POP","STDDEV_SAMP","VAR_SAMP","VAR_POP","COLLECT","FUSION","INTERSECTION","COVAR_POP","COVAR_SAMP","CORR","REGR_SLOPE","REGR_INTERCEPT","REGR_COUNT","REGR_R2","REGR_AVGX","REGR_AVGY","REGR_SXX","REGR_SYY","REGR_SXY","PERCENTILE_CONT","PERCENTILE_DISC"],cast:["CAST"],caseAbbrev:["COALESCE","NULLIF"],nonStandard:["ROUND","SIN","COS","TAN","ASIN","ACOS","ATAN"],dataTypes:["CHARACTER","CHAR","CHARACTER VARYING","CHAR VARYING","VARCHAR","CHARACTER LARGE OBJECT","CHAR LARGE OBJECT","CLOB","NATIONAL CHARACTER","NATIONAL CHAR","NCHAR","NATIONAL CHARACTER VARYING","NATIONAL CHAR VARYING","NCHAR VARYING","NATIONAL CHARACTER LARGE OBJECT","NCHAR LARGE OBJECT","NCLOB","BINARY","BINARY VARYING","VARBINARY","BINARY LARGE OBJECT","BLOB","NUMERIC","DECIMAL","DEC","TIME","TIMESTAMP"]}),td=v({all:["ALL","ALLOCATE","ALTER","ANY","ARE","ARRAY","AS","ASENSITIVE","ASYMMETRIC","AT","ATOMIC","AUTHORIZATION","BEGIN","BETWEEN","BIGINT","BINARY","BLOB","BOOLEAN","BOTH","BY","CALL","CALLED","CASCADED","CAST","CHAR","CHARACTER","CHECK","CLOB","CLOSE","COALESCE","COLLATE","COLUMN","COMMIT","CONDITION","CONNECT","CONSTRAINT","CORRESPONDING","CREATE","CROSS","CUBE","CURRENT","CURRENT_CATALOG","CURRENT_DEFAULT_TRANSFORM_GROUP","CURRENT_PATH","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_TRANSFORM_GROUP_FOR_TYPE","CURRENT_USER","CURSOR","CYCLE","DATE","DAY","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DELETE","DEREF","DESCRIBE","DETERMINISTIC","DISCONNECT","DISTINCT","DOUBLE","DROP","DYNAMIC","EACH","ELEMENT","END-EXEC","ESCAPE","EVERY","EXCEPT","EXEC","EXECUTE","EXISTS","EXTERNAL","FALSE","FETCH","FILTER","FLOAT","FOR","FOREIGN","FREE","FROM","FULL","FUNCTION","GET","GLOBAL","GRANT","GROUP","HAVING","HOLD","HOUR","IDENTITY","IN","INDICATOR","INNER","INOUT","INSENSITIVE","INSERT","INT","INTEGER","INTERSECT","INTERVAL","INTO","IS","LANGUAGE","LARGE","LATERAL","LEADING","LEFT","LIKE","LIKE_REGEX","LOCAL","MATCH","MEMBER","MERGE","METHOD","MINUTE","MODIFIES","MODULE","MONTH","MULTISET","NATIONAL","NATURAL","NCHAR","NCLOB","NEW","NO","NONE","NOT","NULL","NULLIF","NUMERIC","OF","OLD","ON","ONLY","OPEN","ORDER","OUT","OUTER","OVER","OVERLAPS","PARAMETER","PARTITION","PRECISION","PREPARE","PRIMARY","PROCEDURE","RANGE","READS","REAL","RECURSIVE","REF","REFERENCES","REFERENCING","RELEASE","RESULT","RETURN","RETURNS","REVOKE","RIGHT","ROLLBACK","ROLLUP","ROW","ROWS","SAVEPOINT","SCOPE","SCROLL","SEARCH","SECOND","SELECT","SENSITIVE","SESSION_USER","SET","SIMILAR","SMALLINT","SOME","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","START","STATIC","SUBMULTISET","SYMMETRIC","SYSTEM","SYSTEM_USER","TABLE","TABLESAMPLE","THEN","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TRAILING","TRANSLATION","TREAT","TRIGGER","TRUE","UESCAPE","UNION","UNIQUE","UNKNOWN","UNNEST","UPDATE","USER","USING","VALUE","VALUES","VARBINARY","VARCHAR","VARYING","WHENEVER","WINDOW","WITHIN","WITHOUT","YEAR"]}),tf=A(["SELECT [ALL | DISTINCT]"]),tR=A(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT INTO","VALUES","SET","CREATE [RECURSIVE] VIEW","CREATE [GLOBAL TEMPORARY | LOCAL TEMPORARY] TABLE"]),tA=A(["UPDATE","WHERE CURRENT OF","DELETE FROM","DROP TABLE","ALTER TABLE","ADD COLUMN","DROP [COLUMN]","RENAME COLUMN","RENAME TO","ALTER [COLUMN]","{SET | DROP} DEFAULT","ADD SCOPE","DROP SCOPE {CASCADE | RESTRICT}","RESTART WITH","TRUNCATE TABLE","SET SCHEMA"]),tS=A(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),tO=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tp=A(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE} BETWEEN"]),th={tokenizerOptions:{reservedSelect:tf,reservedClauses:[...tR,...tA],reservedSetOperations:tS,reservedJoins:tO,reservedPhrases:tp,reservedKeywords:td,reservedFunctionNames:tT,stringTypes:[{quote:"''-qq-bs",prefixes:["N","U&"]},{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq',"``"],paramTypes:{positional:!0},operators:["||"]},formatOptions:{onelineClauses:tA}},tN=v({all:["ABS","ACOS","ALL_MATCH","ANY_MATCH","APPROX_DISTINCT","APPROX_MOST_FREQUENT","APPROX_PERCENTILE","APPROX_SET","ARBITRARY","ARRAYS_OVERLAP","ARRAY_AGG","ARRAY_DISTINCT","ARRAY_EXCEPT","ARRAY_INTERSECT","ARRAY_JOIN","ARRAY_MAX","ARRAY_MIN","ARRAY_POSITION","ARRAY_REMOVE","ARRAY_SORT","ARRAY_UNION","ASIN","ATAN","ATAN2","AT_TIMEZONE","AVG","BAR","BETA_CDF","BING_TILE","BING_TILES_AROUND","BING_TILE_AT","BING_TILE_COORDINATES","BING_TILE_POLYGON","BING_TILE_QUADKEY","BING_TILE_ZOOM_LEVEL","BITWISE_AND","BITWISE_AND_AGG","BITWISE_LEFT_SHIFT","BITWISE_NOT","BITWISE_OR","BITWISE_OR_AGG","BITWISE_RIGHT_SHIFT","BITWISE_RIGHT_SHIFT_ARITHMETIC","BITWISE_XOR","BIT_COUNT","BOOL_AND","BOOL_OR","CARDINALITY","CAST","CBRT","CEIL","CEILING","CHAR2HEXINT","CHECKSUM","CHR","CLASSIFY","COALESCE","CODEPOINT","COLOR","COMBINATIONS","CONCAT","CONCAT_WS","CONTAINS","CONTAINS_SEQUENCE","CONVEX_HULL_AGG","CORR","COS","COSH","COSINE_SIMILARITY","COUNT","COUNT_IF","COVAR_POP","COVAR_SAMP","CRC32","CUME_DIST","CURRENT_CATALOG","CURRENT_DATE","CURRENT_GROUPS","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_USER","DATE","DATE_ADD","DATE_DIFF","DATE_FORMAT","DATE_PARSE","DATE_TRUNC","DAY","DAY_OF_MONTH","DAY_OF_WEEK","DAY_OF_YEAR","DEGREES","DENSE_RANK","DOW","DOY","E","ELEMENT_AT","EMPTY_APPROX_SET","EVALUATE_CLASSIFIER_PREDICTIONS","EVERY","EXP","EXTRACT","FEATURES","FILTER","FIRST_VALUE","FLATTEN","FLOOR","FORMAT","FORMAT_DATETIME","FORMAT_NUMBER","FROM_BASE","FROM_BASE32","FROM_BASE64","FROM_BASE64URL","FROM_BIG_ENDIAN_32","FROM_BIG_ENDIAN_64","FROM_ENCODED_POLYLINE","FROM_GEOJSON_GEOMETRY","FROM_HEX","FROM_IEEE754_32","FROM_IEEE754_64","FROM_ISO8601_DATE","FROM_ISO8601_TIMESTAMP","FROM_ISO8601_TIMESTAMP_NANOS","FROM_UNIXTIME","FROM_UNIXTIME_NANOS","FROM_UTF8","GEOMETRIC_MEAN","GEOMETRY_FROM_HADOOP_SHAPE","GEOMETRY_INVALID_REASON","GEOMETRY_NEAREST_POINTS","GEOMETRY_TO_BING_TILES","GEOMETRY_UNION","GEOMETRY_UNION_AGG","GREATEST","GREAT_CIRCLE_DISTANCE","HAMMING_DISTANCE","HASH_COUNTS","HISTOGRAM","HMAC_MD5","HMAC_SHA1","HMAC_SHA256","HMAC_SHA512","HOUR","HUMAN_READABLE_SECONDS","IF","INDEX","INFINITY","INTERSECTION_CARDINALITY","INVERSE_BETA_CDF","INVERSE_NORMAL_CDF","IS_FINITE","IS_INFINITE","IS_JSON_SCALAR","IS_NAN","JACCARD_INDEX","JSON_ARRAY_CONTAINS","JSON_ARRAY_GET","JSON_ARRAY_LENGTH","JSON_EXISTS","JSON_EXTRACT","JSON_EXTRACT_SCALAR","JSON_FORMAT","JSON_PARSE","JSON_QUERY","JSON_SIZE","JSON_VALUE","KURTOSIS","LAG","LAST_DAY_OF_MONTH","LAST_VALUE","LEAD","LEARN_CLASSIFIER","LEARN_LIBSVM_CLASSIFIER","LEARN_LIBSVM_REGRESSOR","LEARN_REGRESSOR","LEAST","LENGTH","LEVENSHTEIN_DISTANCE","LINE_INTERPOLATE_POINT","LINE_INTERPOLATE_POINTS","LINE_LOCATE_POINT","LISTAGG","LN","LOCALTIME","LOCALTIMESTAMP","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","LUHN_CHECK","MAKE_SET_DIGEST","MAP","MAP_AGG","MAP_CONCAT","MAP_ENTRIES","MAP_FILTER","MAP_FROM_ENTRIES","MAP_KEYS","MAP_UNION","MAP_VALUES","MAP_ZIP_WITH","MAX","MAX_BY","MD5","MERGE","MERGE_SET_DIGEST","MILLISECOND","MIN","MINUTE","MIN_BY","MOD","MONTH","MULTIMAP_AGG","MULTIMAP_FROM_ENTRIES","MURMUR3","NAN","NGRAMS","NONE_MATCH","NORMALIZE","NORMAL_CDF","NOW","NTH_VALUE","NTILE","NULLIF","NUMERIC_HISTOGRAM","OBJECTID","OBJECTID_TIMESTAMP","PARSE_DATA_SIZE","PARSE_DATETIME","PARSE_DURATION","PERCENT_RANK","PI","POSITION","POW","POWER","QDIGEST_AGG","QUARTER","RADIANS","RAND","RANDOM","RANK","REDUCE","REDUCE_AGG","REGEXP_COUNT","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_LIKE","REGEXP_POSITION","REGEXP_REPLACE","REGEXP_SPLIT","REGRESS","REGR_INTERCEPT","REGR_SLOPE","RENDER","REPEAT","REPLACE","REVERSE","RGB","ROUND","ROW_NUMBER","RPAD","RTRIM","SECOND","SEQUENCE","SHA1","SHA256","SHA512","SHUFFLE","SIGN","SIMPLIFY_GEOMETRY","SIN","SKEWNESS","SLICE","SOUNDEX","SPATIAL_PARTITIONING","SPATIAL_PARTITIONS","SPLIT","SPLIT_PART","SPLIT_TO_MAP","SPLIT_TO_MULTIMAP","SPOOKY_HASH_V2_32","SPOOKY_HASH_V2_64","SQRT","STARTS_WITH","STDDEV","STDDEV_POP","STDDEV_SAMP","STRPOS","ST_AREA","ST_ASBINARY","ST_ASTEXT","ST_BOUNDARY","ST_BUFFER","ST_CENTROID","ST_CONTAINS","ST_CONVEXHULL","ST_COORDDIM","ST_CROSSES","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_ENDPOINT","ST_ENVELOPE","ST_ENVELOPEASPTS","ST_EQUALS","ST_EXTERIORRING","ST_GEOMETRIES","ST_GEOMETRYFROMTEXT","ST_GEOMETRYN","ST_GEOMETRYTYPE","ST_GEOMFROMBINARY","ST_INTERIORRINGN","ST_INTERIORRINGS","ST_INTERSECTION","ST_INTERSECTS","ST_ISCLOSED","ST_ISEMPTY","ST_ISRING","ST_ISSIMPLE","ST_ISVALID","ST_LENGTH","ST_LINEFROMTEXT","ST_LINESTRING","ST_MULTIPOINT","ST_NUMGEOMETRIES","ST_NUMINTERIORRING","ST_NUMPOINTS","ST_OVERLAPS","ST_POINT","ST_POINTN","ST_POINTS","ST_POLYGON","ST_RELATE","ST_STARTPOINT","ST_SYMDIFFERENCE","ST_TOUCHES","ST_UNION","ST_WITHIN","ST_X","ST_XMAX","ST_XMIN","ST_Y","ST_YMAX","ST_YMIN","SUBSTR","SUBSTRING","SUM","TAN","TANH","TDIGEST_AGG","TIMESTAMP_OBJECTID","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO_BASE","TO_BASE32","TO_BASE64","TO_BASE64URL","TO_BIG_ENDIAN_32","TO_BIG_ENDIAN_64","TO_CHAR","TO_DATE","TO_ENCODED_POLYLINE","TO_GEOJSON_GEOMETRY","TO_GEOMETRY","TO_HEX","TO_IEEE754_32","TO_IEEE754_64","TO_ISO8601","TO_MILLISECONDS","TO_SPHERICAL_GEOGRAPHY","TO_TIMESTAMP","TO_UNIXTIME","TO_UTF8","TRANSFORM","TRANSFORM_KEYS","TRANSFORM_VALUES","TRANSLATE","TRIM","TRIM_ARRAY","TRUNCATE","TRY","TRY_CAST","TYPEOF","UPPER","URL_DECODE","URL_ENCODE","URL_EXTRACT_FRAGMENT","URL_EXTRACT_HOST","URL_EXTRACT_PARAMETER","URL_EXTRACT_PATH","URL_EXTRACT_PORT","URL_EXTRACT_PROTOCOL","URL_EXTRACT_QUERY","UUID","VALUES_AT_QUANTILES","VALUE_AT_QUANTILE","VARIANCE","VAR_POP","VAR_SAMP","VERSION","WEEK","WEEK_OF_YEAR","WIDTH_BUCKET","WILSON_INTERVAL_LOWER","WILSON_INTERVAL_UPPER","WITH_TIMEZONE","WORD_STEM","XXHASH64","YEAR","YEAR_OF_WEEK","YOW","ZIP","ZIP_WITH"],rowPattern:["CLASSIFIER","FIRST","LAST","MATCH_NUMBER","NEXT","PERMUTE","PREV"]}),tI=v({all:["ABSENT","ADD","ADMIN","AFTER","ALL","ALTER","ANALYZE","AND","ANY","ARRAY","AS","ASC","AT","AUTHORIZATION","BERNOULLI","BETWEEN","BOTH","BY","CALL","CASCADE","CASE","CATALOGS","COLUMN","COLUMNS","COMMENT","COMMIT","COMMITTED","CONDITIONAL","CONSTRAINT","COPARTITION","CREATE","CROSS","CUBE","CURRENT","CURRENT_PATH","CURRENT_ROLE","DATA","DEALLOCATE","DEFAULT","DEFINE","DEFINER","DELETE","DENY","DESC","DESCRIBE","DESCRIPTOR","DISTINCT","DISTRIBUTED","DOUBLE","DROP","ELSE","EMPTY","ENCODING","END","ERROR","ESCAPE","EXCEPT","EXCLUDING","EXECUTE","EXISTS","EXPLAIN","FALSE","FETCH","FINAL","FIRST","FOLLOWING","FOR","FROM","FULL","FUNCTIONS","GRANT","GRANTED","GRANTS","GRAPHVIZ","GROUP","GROUPING","GROUPS","HAVING","IGNORE","IN","INCLUDING","INITIAL","INNER","INPUT","INSERT","INTERSECT","INTERVAL","INTO","INVOKER","IO","IS","ISOLATION","JOIN","JSON","JSON_ARRAY","JSON_OBJECT","KEEP","KEY","KEYS","LAST","LATERAL","LEADING","LEFT","LEVEL","LIKE","LIMIT","LOCAL","LOGICAL","MATCH","MATCHED","MATCHES","MATCH_RECOGNIZE","MATERIALIZED","MEASURES","NATURAL","NEXT","NFC","NFD","NFKC","NFKD","NO","NONE","NOT","NULL","NULLS","OBJECT","OF","OFFSET","OMIT","ON","ONE","ONLY","OPTION","OR","ORDER","ORDINALITY","OUTER","OUTPUT","OVER","OVERFLOW","PARTITION","PARTITIONS","PASSING","PAST","PATH","PATTERN","PER","PERMUTE","PRECEDING","PRECISION","PREPARE","PRIVILEGES","PROPERTIES","PRUNE","QUOTES","RANGE","READ","RECURSIVE","REFRESH","RENAME","REPEATABLE","RESET","RESPECT","RESTRICT","RETURNING","REVOKE","RIGHT","ROLE","ROLES","ROLLBACK","ROLLUP","ROW","ROWS","RUNNING","SCALAR","SCHEMA","SCHEMAS","SECURITY","SEEK","SELECT","SERIALIZABLE","SESSION","SET","SETS","SHOW","SKIP","SOME","START","STATS","STRING","SUBSET","SYSTEM","TABLE","TABLES","TABLESAMPLE","TEXT","THEN","TIES","TIME","TIMESTAMP","TO","TRAILING","TRANSACTION","TRUE","TYPE","UESCAPE","UNBOUNDED","UNCOMMITTED","UNCONDITIONAL","UNION","UNIQUE","UNKNOWN","UNMATCHED","UNNEST","UPDATE","USE","USER","USING","UTF16","UTF32","UTF8","VALIDATE","VALUE","VALUES","VERBOSE","VIEW","WHEN","WHERE","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","ZONE"],types:["BIGINT","INT","INTEGER","SMALLINT","TINYINT","BOOLEAN","DATE","DECIMAL","REAL","DOUBLE","HYPERLOGLOG","QDIGEST","TDIGEST","P4HYPERLOGLOG","INTERVAL","TIMESTAMP","TIME","VARBINARY","VARCHAR","CHAR","ROW","ARRAY","MAP","JSON","JSON2016","IPADDRESS","GEOMETRY","UUID","SETDIGEST","JONIREGEXP","RE2JREGEXP","LIKEPATTERN","COLOR","CODEPOINTS","FUNCTION","JSONPATH"]}),tm=A(["SELECT [ALL | DISTINCT]"]),t_=A(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT INTO","VALUES","SET","CREATE [OR REPLACE] [MATERIALIZED] VIEW","CREATE TABLE [IF NOT EXISTS]","MATCH_RECOGNIZE","MEASURES","ONE ROW PER MATCH","ALL ROWS PER MATCH","AFTER MATCH","PATTERN","SUBSET","DEFINE"]),tC=A(["UPDATE","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS]","ADD COLUMN [IF NOT EXISTS]","DROP COLUMN [IF EXISTS]","RENAME COLUMN [IF EXISTS]","RENAME TO","SET AUTHORIZATION [USER | ROLE]","SET PROPERTIES","EXECUTE","TRUNCATE TABLE","ALTER SCHEMA","ALTER MATERIALIZED VIEW","ALTER VIEW","CREATE SCHEMA","CREATE ROLE","DROP SCHEMA","DROP MATERIALIZED VIEW","DROP VIEW","DROP ROLE","EXPLAIN","ANALYZE","EXPLAIN ANALYZE","EXPLAIN ANALYZE VERBOSE","USE","COMMENT ON TABLE","COMMENT ON COLUMN","DESCRIBE INPUT","DESCRIBE OUTPUT","REFRESH MATERIALIZED VIEW","RESET SESSION","SET SESSION","SET PATH","SET TIME ZONE","SHOW GRANTS","SHOW CREATE TABLE","SHOW CREATE SCHEMA","SHOW CREATE VIEW","SHOW CREATE MATERIALIZED VIEW","SHOW TABLES","SHOW SCHEMAS","SHOW CATALOGS","SHOW COLUMNS","SHOW STATS FOR","SHOW ROLES","SHOW CURRENT ROLES","SHOW ROLE GRANTS","SHOW FUNCTIONS","SHOW SESSION"]),tg=A(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),tL=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tv=A(["{ROWS | RANGE | GROUPS} BETWEEN","IS [NOT] DISTINCT FROM"]),ty={tokenizerOptions:{reservedSelect:tm,reservedClauses:[...t_,...tC],reservedSetOperations:tg,reservedJoins:tL,reservedPhrases:tv,reservedKeywords:tI,reservedFunctionNames:tN,extraParens:["[]","{}"],stringTypes:[{quote:"''-qq",prefixes:["U&"]},{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq'],paramTypes:{positional:!0},operators:["%","->","=>",":","||","|","^","$"]},formatOptions:{onelineClauses:tC}},tP=v({aggregate:["APPROX_COUNT_DISTINCT","AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","STDEV","STDEVP","SUM","VAR","VARP"],analytic:["CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","Collation - COLLATIONPROPERTY","Collation - TERTIARY_WEIGHTS"],configuration:["@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION"],conversion:["CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE"],cryptographic:["ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY"],cursor:["@@CURSOR_ROWS","@@FETCH_STATUS","CURSOR_STATUS"],dataType:["DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY"],datetime:["@@DATEFIRST","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_TIMEZONE_ID","DATEADD","DATEDIFF","DATEDIFF_BIG","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","JSON","ISJSON","JSON_VALUE","JSON_QUERY","JSON_MODIFY"],mathematical:["ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","CHOOSE","GREATEST","IIF","LEAST"],metadata:["@@PROCID","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FILEPROPERTYEX","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","NEXT VALUE FOR","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY"],ranking:["DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME"],security:["CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","DATABASE_PRINCIPAL_ID","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME"],string:["ASCII","CHAR","CHARINDEX","CONCAT","CONCAT_WS","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STRING_AGG","STRING_ESCAPE","STUFF","SUBSTRING","TRANSLATE","TRIM","UNICODE","UPPER"],system:["$PARTITION","@@ERROR","@@IDENTITY","@@PACK_RECEIVED","@@ROWCOUNT","@@TRANCOUNT","BINARY_CHECKSUM","CHECKSUM","COMPRESS","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","CURRENT_TRANSACTION_ID","DECOMPRESS","ERROR_LINE","ERROR_MESSAGE","ERROR_NUMBER","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GET_FILESTREAM_TRANSACTION_CONTEXT","GETANSINULL","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","SESSION_CONTEXT","XACT_STATE"],statistical:["@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACK_SENT","@@PACKET_ERRORS","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE","TEXTPTR","TEXTVALID"],trigger:["COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE"],caseAbbrev:["COALESCE","NULLIF"],dataTypes:["DECIMAL","NUMERIC","FLOAT","REAL","DATETIME2","DATETIMEOFFSET","TIME","CHAR","VARCHAR","NCHAR","NVARCHAR","BINARY","VARBINARY"]}),tb=v({standard:["ADD","ALL","ALTER","AND","ANY","AS","ASC","AUTHORIZATION","BACKUP","BEGIN","BETWEEN","BREAK","BROWSE","BULK","BY","CASCADE","CHECK","CHECKPOINT","CLOSE","CLUSTERED","COALESCE","COLLATE","COLUMN","COMMIT","COMPUTE","CONSTRAINT","CONTAINS","CONTAINSTABLE","CONTINUE","CONVERT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DBCC","DEALLOCATE","DECLARE","DEFAULT","DELETE","DENY","DESC","DISK","DISTINCT","DISTRIBUTED","DOUBLE","DROP","DUMP","ERRLVL","ESCAPE","EXEC","EXECUTE","EXISTS","EXIT","EXTERNAL","FETCH","FILE","FILLFACTOR","FOR","FOREIGN","FREETEXT","FREETEXTTABLE","FROM","FULL","FUNCTION","GOTO","GRANT","GROUP","HAVING","HOLDLOCK","IDENTITY","IDENTITYCOL","IDENTITY_INSERT","IF","IN","INDEX","INNER","INSERT","INTERSECT","INTO","IS","JOIN","KEY","KILL","LEFT","LIKE","LINENO","LOAD","MERGE","NATIONAL","NOCHECK","NONCLUSTERED","NOT","NULL","NULLIF","OF","OFF","OFFSETS","ON","OPEN","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","OPTION","OR","ORDER","OUTER","OVER","PERCENT","PIVOT","PLAN","PRECISION","PRIMARY","PRINT","PROC","PROCEDURE","PUBLIC","RAISERROR","READ","READTEXT","RECONFIGURE","REFERENCES","REPLICATION","RESTORE","RESTRICT","RETURN","REVERT","REVOKE","RIGHT","ROLLBACK","ROWCOUNT","ROWGUIDCOL","RULE","SAVE","SCHEMA","SECURITYAUDIT","SELECT","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","SESSION_USER","SET","SETUSER","SHUTDOWN","SOME","STATISTICS","SYSTEM_USER","TABLE","TABLESAMPLE","TEXTSIZE","THEN","TO","TOP","TRAN","TRANSACTION","TRIGGER","TRUNCATE","TRY_CONVERT","TSEQUAL","UNION","UNIQUE","UNPIVOT","UPDATE","UPDATETEXT","USE","USER","VALUES","VARYING","VIEW","WAITFOR","WHERE","WHILE","WITH","WITHIN GROUP","WRITETEXT"],odbc:["ABSOLUTE","ACTION","ADA","ADD","ALL","ALLOCATE","ALTER","AND","ANY","ARE","AS","ASC","ASSERTION","AT","AUTHORIZATION","AVG","BEGIN","BETWEEN","BIT","BIT_LENGTH","BOTH","BY","CASCADE","CASCADED","CAST","CATALOG","CHAR","CHARACTER","CHARACTER_LENGTH","CHAR_LENGTH","CHECK","CLOSE","COALESCE","COLLATE","COLLATION","COLUMN","COMMIT","CONNECT","CONNECTION","CONSTRAINT","CONSTRAINTS","CONTINUE","CONVERT","CORRESPONDING","COUNT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATE","DAY","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFERRABLE","DEFERRED","DELETE","DESC","DESCRIBE","DESCRIPTOR","DIAGNOSTICS","DISCONNECT","DISTINCT","DOMAIN","DOUBLE","DROP","END-EXEC","ESCAPE","EXCEPTION","EXEC","EXECUTE","EXISTS","EXTERNAL","EXTRACT","FALSE","FETCH","FIRST","FLOAT","FOR","FOREIGN","FORTRAN","FOUND","FROM","FULL","GET","GLOBAL","GO","GOTO","GRANT","GROUP","HAVING","HOUR","IDENTITY","IMMEDIATE","IN","INCLUDE","INDEX","INDICATOR","INITIALLY","INNER","INPUT","INSENSITIVE","INSERT","INT","INTEGER","INTERSECT","INTERVAL","INTO","IS","ISOLATION","JOIN","KEY","LANGUAGE","LAST","LEADING","LEFT","LEVEL","LIKE","LOCAL","LOWER","MATCH","MAX","MIN","MINUTE","MODULE","MONTH","NAMES","NATIONAL","NATURAL","NCHAR","NEXT","NO","NONE","NOT","NULL","NULLIF","NUMERIC","OCTET_LENGTH","OF","ONLY","OPEN","OPTION","OR","ORDER","OUTER","OUTPUT","OVERLAPS","PAD","PARTIAL","PASCAL","POSITION","PRECISION","PREPARE","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURE","PUBLIC","READ","REAL","REFERENCES","RELATIVE","RESTRICT","REVOKE","RIGHT","ROLLBACK","ROWS","SCHEMA","SCROLL","SECOND","SECTION","SELECT","SESSION","SESSION_USER","SET","SIZE","SMALLINT","SOME","SPACE","SQL","SQLCA","SQLCODE","SQLERROR","SQLSTATE","SQLWARNING","SUBSTRING","SUM","SYSTEM_USER","TABLE","TEMPORARY","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TRAILING","TRANSACTION","TRANSLATE","TRANSLATION","TRIM","TRUE","UNION","UNIQUE","UNKNOWN","UPDATE","UPPER","USAGE","USER","VALUE","VALUES","VARCHAR","VARYING","VIEW","WHENEVER","WHERE","WITH","WORK","WRITE","YEAR","ZONE"]}),tM=A(["SELECT [ALL | DISTINCT]"]),tD=A(["WITH","INTO","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","OFFSET","FETCH {FIRST | NEXT}","INSERT [INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [BY TARGET | BY SOURCE] [THEN]","UPDATE SET","CREATE [OR ALTER] [MATERIALIZED] VIEW","CREATE TABLE","CREATE [OR ALTER] {PROC | PROCEDURE}"]),tU=A(["UPDATE","WHERE CURRENT OF","DELETE [FROM]","DROP TABLE [IF EXISTS]","ALTER TABLE","ADD","DROP COLUMN [IF EXISTS]","ALTER COLUMN","TRUNCATE TABLE","ADD SENSITIVITY CLASSIFICATION","ADD SIGNATURE","AGGREGATE","ANSI_DEFAULTS","ANSI_NULLS","ANSI_NULL_DFLT_OFF","ANSI_NULL_DFLT_ON","ANSI_PADDING","ANSI_WARNINGS","APPLICATION ROLE","ARITHABORT","ARITHIGNORE","ASSEMBLY","ASYMMETRIC KEY","AUTHORIZATION","AVAILABILITY GROUP","BACKUP","BACKUP CERTIFICATE","BACKUP MASTER KEY","BACKUP SERVICE MASTER KEY","BEGIN CONVERSATION TIMER","BEGIN DIALOG CONVERSATION","BROKER PRIORITY","BULK INSERT","CERTIFICATE","CLOSE MASTER KEY","CLOSE SYMMETRIC KEY","COLLATE","COLUMN ENCRYPTION KEY","COLUMN MASTER KEY","COLUMNSTORE INDEX","CONCAT_NULL_YIELDS_NULL","CONTEXT_INFO","CONTRACT","CREDENTIAL","CRYPTOGRAPHIC PROVIDER","CURSOR_CLOSE_ON_COMMIT","DATABASE","DATABASE AUDIT SPECIFICATION","DATABASE ENCRYPTION KEY","DATABASE HADR","DATABASE SCOPED CONFIGURATION","DATABASE SCOPED CREDENTIAL","DATABASE SET","DATEFIRST","DATEFORMAT","DEADLOCK_PRIORITY","DENY","DENY XML","DISABLE TRIGGER","ENABLE TRIGGER","END CONVERSATION","ENDPOINT","EVENT NOTIFICATION","EVENT SESSION","EXECUTE AS","EXTERNAL DATA SOURCE","EXTERNAL FILE FORMAT","EXTERNAL LANGUAGE","EXTERNAL LIBRARY","EXTERNAL RESOURCE POOL","EXTERNAL TABLE","FIPS_FLAGGER","FMTONLY","FORCEPLAN","FULLTEXT CATALOG","FULLTEXT INDEX","FULLTEXT STOPLIST","FUNCTION","GET CONVERSATION GROUP","GET_TRANSMISSION_STATUS","GRANT","GRANT XML","IDENTITY_INSERT","IMPLICIT_TRANSACTIONS","INDEX","LANGUAGE","LOCK_TIMEOUT","LOGIN","MASTER KEY","MESSAGE TYPE","MOVE CONVERSATION","NOCOUNT","NOEXEC","NUMERIC_ROUNDABORT","OFFSETS","OPEN MASTER KEY","OPEN SYMMETRIC KEY","PARSEONLY","PARTITION FUNCTION","PARTITION SCHEME","PROCEDURE","QUERY_GOVERNOR_COST_LIMIT","QUEUE","QUOTED_IDENTIFIER","RECEIVE","REMOTE SERVICE BINDING","REMOTE_PROC_TRANSACTIONS","RESOURCE GOVERNOR","RESOURCE POOL","RESTORE","RESTORE FILELISTONLY","RESTORE HEADERONLY","RESTORE LABELONLY","RESTORE MASTER KEY","RESTORE REWINDONLY","RESTORE SERVICE MASTER KEY","RESTORE VERIFYONLY","REVERT","REVOKE","REVOKE XML","ROLE","ROUTE","ROWCOUNT","RULE","SCHEMA","SEARCH PROPERTY LIST","SECURITY POLICY","SELECTIVE XML INDEX","SEND","SENSITIVITY CLASSIFICATION","SEQUENCE","SERVER AUDIT","SERVER AUDIT SPECIFICATION","SERVER CONFIGURATION","SERVER ROLE","SERVICE","SERVICE MASTER KEY","SETUSER","SHOWPLAN_ALL","SHOWPLAN_TEXT","SHOWPLAN_XML","SIGNATURE","SPATIAL INDEX","STATISTICS","STATISTICS IO","STATISTICS PROFILE","STATISTICS TIME","STATISTICS XML","SYMMETRIC KEY","SYNONYM","TABLE","TABLE IDENTITY","TEXTSIZE","TRANSACTION ISOLATION LEVEL","TRIGGER","TYPE","UPDATE STATISTICS","USER","WORKLOAD GROUP","XACT_ABORT","XML INDEX","XML SCHEMA COLLECTION"]),tx=A(["UNION [ALL]","EXCEPT","INTERSECT"]),tw=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","{CROSS | OUTER} APPLY"]),tG=A(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE} BETWEEN"]),tF={tokenizerOptions:{reservedSelect:tM,reservedClauses:[...tD,...tU],reservedSetOperations:tx,reservedJoins:tw,reservedPhrases:tG,reservedKeywords:tb,reservedFunctionNames:tP,nestedBlockComments:!0,stringTypes:[{quote:"''-qq",prefixes:["N"]}],identTypes:['""-qq',"[]"],identChars:{first:"#@",rest:"#@$"},paramTypes:{named:["@"],quoted:["@"]},operators:["%","&","|","^","~","!<","!>","+=","-=","*=","/=","%=","|=","&=","^=","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:tU}},tH=v({all:["ABORT","ABSOLUTE","ACCESS","ACCESSIBLE","ACCOUNT","ACTION","ACTIVE","ADD","ADMIN","AFTER","AGAINST","AGGREGATE","AGGREGATES","AGGREGATOR","AGGREGATOR_ID","AGGREGATOR_PLAN_HASH","AGGREGATORS","ALGORITHM","ALL","ALSO","ALTER","ALWAYS","ANALYZE","AND","ANY","ARGHISTORY","ARRANGE","ARRANGEMENT","ARRAY","AS","ASC","ASCII","ASENSITIVE","ASM","ASSERTION","ASSIGNMENT","AST","ASYMMETRIC","ASYNC","AT","ATTACH","ATTRIBUTE","AUTHORIZATION","AUTO","AUTO_INCREMENT","AUTO_REPROVISION","AUTOSTATS","AUTOSTATS_CARDINALITY_MODE","AUTOSTATS_ENABLED","AUTOSTATS_HISTOGRAM_MODE","AUTOSTATS_SAMPLING","AVAILABILITY","AVG","AVG_ROW_LENGTH","AVRO","AZURE","BACKGROUND","_BACKGROUND_THREADS_FOR_CLEANUP","BACKUP","BACKUP_HISTORY","BACKUP_ID","BACKWARD","BATCH","BATCHES","BATCH_INTERVAL","_BATCH_SIZE_LIMIT","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","_BINARY","BIT","BLOB","BOOL","BOOLEAN","BOOTSTRAP","BOTH","_BT","BTREE","BUCKET_COUNT","BUCKETS","BY","BYTE","BYTE_LENGTH","CACHE","CALL","CALL_FOR_PIPELINE","CALLED","CAPTURE","CASCADE","CASCADED","CASE","CATALOG","CHAIN","CHANGE","CHAR","CHARACTER","CHARACTERISTICS","CHARSET","CHECK","CHECKPOINT","_CHECK_CAN_CONNECT","_CHECK_CONSISTENCY","CHECKSUM","_CHECKSUM","CLASS","CLEAR","CLIENT","CLIENT_FOUND_ROWS","CLOSE","CLUSTER","CLUSTERED","CNF","COALESCE","COLLATE","COLLATION","COLUMN","COLUMNAR","COLUMNS","COLUMNSTORE","COLUMNSTORE_SEGMENT_ROWS","COMMENT","COMMENTS","COMMIT","COMMITTED","_COMMIT_LOG_TAIL","COMPACT","COMPILE","COMPRESSED","COMPRESSION","CONCURRENT","CONCURRENTLY","CONDITION","CONFIGURATION","CONNECTION","CONNECTIONS","CONFIG","CONSTRAINT","CONTAINS","CONTENT","CONTINUE","_CONTINUE_REPLAY","CONVERSION","CONVERT","COPY","_CORE","COST","CREATE","CREDENTIALS","CROSS","CUBE","CSV","CUME_DIST","CURRENT","CURRENT_CATALOG","CURRENT_DATE","CURRENT_SCHEMA","CURRENT_SECURITY_GROUPS","CURRENT_SECURITY_ROLES","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CYCLE","DATA","DATABASE","DATABASES","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFERRABLE","DEFERRED","DEFINED","DEFINER","DELAYED","DELAY_KEY_WRITE","DELETE","DELIMITER","DELIMITERS","DENSE_RANK","DESC","DESCRIBE","DETACH","DETERMINISTIC","DICTIONARY","DIFFERENTIAL","DIRECTORY","DISABLE","DISCARD","_DISCONNECT","DISK","DISTINCT","DISTINCTROW","DISTRIBUTED_JOINS","DIV","DO","DOCUMENT","DOMAIN","DOUBLE","DROP","_DROP_PROFILE","DUAL","DUMP","DUPLICATE","DURABILITY","DYNAMIC","EARLIEST","EACH","ECHO","ELECTION","ELSE","ELSEIF","ENABLE","ENCLOSED","ENCODING","ENCRYPTED","END","ENGINE","ENGINES","ENUM","ERRORS","ESCAPE","ESCAPED","ESTIMATE","EVENT","EVENTS","EXCEPT","EXCLUDE","EXCLUDING","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXPLAIN","EXTENDED","EXTENSION","EXTERNAL","EXTERNAL_HOST","EXTERNAL_PORT","EXTRACTOR","EXTRACTORS","EXTRA_JOIN","_FAILOVER","FAILED_LOGIN_ATTEMPTS","FAILURE","FALSE","FAMILY","FAULT","FETCH","FIELDS","FILE","FILES","FILL","FIX_ALTER","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWING","FOR","FORCE","FORCE_COMPILED_MODE","FORCE_INTERPRETER_MODE","FOREGROUND","FOREIGN","FORMAT","FORWARD","FREEZE","FROM","FS","_FSYNC","FULL","FULLTEXT","FUNCTION","FUNCTIONS","GC","GCS","GET_FORMAT","_GC","_GCX","GENERATE","GEOGRAPHY","GEOGRAPHYPOINT","GEOMETRY","GEOMETRYPOINT","GLOBAL","_GLOBAL_VERSION_TIMESTAMP","GRANT","GRANTED","GRANTS","GROUP","GROUPING","GROUPS","GZIP","HANDLE","HANDLER","HARD_CPU_LIMIT_PERCENTAGE","HASH","HAS_TEMP_TABLES","HAVING","HDFS","HEADER","HEARTBEAT_NO_LOGGING","HIGH_PRIORITY","HISTOGRAM","HOLD","HOLDING","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IDENTITY","IF","IGNORE","ILIKE","IMMEDIATE","IMMUTABLE","IMPLICIT","IMPORT","IN","INCLUDING","INCREMENT","INCREMENTAL","INDEX","INDEXES","INFILE","INHERIT","INHERITS","_INIT_PROFILE","INIT","INITIALIZE","INITIALLY","INJECT","INLINE","INNER","INOUT","INPUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTANCE","INSTEAD","IN","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","_INTERNAL_DYNAMIC_TYPECAST","INTERPRETER_MODE","INTERSECT","INTERVAL","INTO","INVOKER","ISOLATION","ITERATE","JOIN","JSON","KAFKA","KEY","KEY_BLOCK_SIZE","KEYS","KILL","KILLALL","LABEL","LAG","LANGUAGE","LARGE","LAST","LAST_VALUE","LATERAL","LATEST","LC_COLLATE","LC_CTYPE","LEAD","LEADING","LEAF","LEAKPROOF","LEAVE","LEAVES","LEFT","LEVEL","LICENSE","LIKE","LIMIT","LINES","LISTEN","LLVM","LOADDATA_WHERE","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCK","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","_LS","LZ4","MANAGEMENT","_MANAGEMENT_THREAD","MAPPING","MASTER","MATCH","MATERIALIZED","MAXVALUE","MAX_CONCURRENCY","MAX_ERRORS","MAX_PARTITIONS_PER_BATCH","MAX_QUEUE_DEPTH","MAX_RETRIES_PER_BATCH_PARTITION","MAX_ROWS","MBC","MPL","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMBER","MEMORY","MEMORY_PERCENTAGE","_MEMSQL_TABLE_ID_LOOKUP","MEMSQL","MEMSQL_DESERIALIZE","MEMSQL_IMITATING_KAFKA","MEMSQL_SERIALIZE","MERGE","METADATA","MICROSECOND","MIDDLEINT","MIN_ROWS","MINUS","MINUTE_MICROSECOND","MINUTE_SECOND","MINVALUE","MOD","MODE","MODEL","MODIFIES","MODIFY","MONTH","MOVE","MPL","NAMES","NAMED","NAMESPACE","NATIONAL","NATURAL","NCHAR","NEXT","NO","NODE","NONE","NO_QUERY_REWRITE","NOPARAM","NOT","NOTHING","NOTIFY","NOWAIT","NO_WRITE_TO_BINLOG","NO_QUERY_REWRITE","NORELY","NTH_VALUE","NTILE","NULL","NULLCOLS","NULLS","NUMERIC","NVARCHAR","OBJECT","OF","OFF","OFFLINE","OFFSET","OFFSETS","OIDS","ON","ONLINE","ONLY","OPEN","OPERATOR","OPTIMIZATION","OPTIMIZE","OPTIMIZER","OPTIMIZER_STATE","OPTION","OPTIONS","OPTIONALLY","OR","ORDER","ORDERED_SERIALIZE","ORPHAN","OUT","OUT_OF_ORDER","OUTER","OUTFILE","OVER","OVERLAPS","OVERLAY","OWNED","OWNER","PACK_KEYS","PAIRED","PARSER","PARQUET","PARTIAL","PARTITION","PARTITION_ID","PARTITIONING","PARTITIONS","PASSING","PASSWORD","PASSWORD_LOCK_TIME","PAUSE","_PAUSE_REPLAY","PERIODIC","PERSISTED","PIPELINE","PIPELINES","PLACING","PLAN","PLANS","PLANCACHE","PLUGINS","POOL","POOLS","PORT","PRECEDING","PRECISION","PREPARE","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURAL","PROCEDURE","PROCEDURES","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROGRAM","PROMOTE","PROXY","PURGE","QUARTER","QUERIES","QUERY","QUERY_TIMEOUT","QUEUE","RANGE","RANK","READ","_READ","READS","REAL","REASSIGN","REBALANCE","RECHECK","RECORD","RECURSIVE","REDUNDANCY","REDUNDANT","REF","REFERENCE","REFERENCES","REFRESH","REGEXP","REINDEX","RELATIVE","RELEASE","RELOAD","RELY","REMOTE","REMOVE","RENAME","REPAIR","_REPAIR_TABLE","REPEAT","REPEATABLE","_REPL","_REPROVISIONING","REPLACE","REPLICA","REPLICATE","REPLICATING","REPLICATION","REQUIRE","RESOURCE","RESOURCE_POOL","RESET","RESTART","RESTORE","RESTRICT","RESULT","_RESURRECT","RETRY","RETURN","RETURNING","RETURNS","REVERSE","RG_POOL","REVOKE","RIGHT","RIGHT_ANTI_JOIN","RIGHT_SEMI_JOIN","RIGHT_STRAIGHT_JOIN","RLIKE","ROLES","ROLLBACK","ROLLUP","ROUTINE","ROW","ROW_COUNT","ROW_FORMAT","ROW_NUMBER","ROWS","ROWSTORE","RULE","_RPC","RUNNING","S3","SAFE","SAVE","SAVEPOINT","SCALAR","SCHEMA","SCHEMAS","SCHEMA_BINDING","SCROLL","SEARCH","SECOND","SECOND_MICROSECOND","SECURITY","SELECT","SEMI_JOIN","_SEND_THREADS","SENSITIVE","SEPARATOR","SEQUENCE","SEQUENCES","SERIAL","SERIALIZABLE","SERIES","SERVICE_USER","SERVER","SESSION","SESSION_USER","SET","SETOF","SECURITY_LISTS_INTERSECT","SHA","SHARD","SHARDED","SHARDED_ID","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMILAR","SIMPLE","SITE","SKIP","SKIPPED_BATCHES","__SLEEP","SMALLINT","SNAPSHOT","_SNAPSHOT","_SNAPSHOTS","SOFT_CPU_LIMIT_PERCENTAGE","SOME","SONAME","SPARSE","SPATIAL","SPATIAL_CHECK_INDEX","SPECIFIC","SQL","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQLEXCEPTION","SQL_MODE","SQL_NO_CACHE","SQL_NO_LOGGING","SQL_SMALL_RESULT","SQLSTATE","SQLWARNING","STDIN","STDOUT","STOP","STORAGE","STRAIGHT_JOIN","STRICT","STRING","STRIP","SUCCESS","SUPER","SYMMETRIC","SYNC_SNAPSHOT","SYNC","_SYNC","_SYNC2","_SYNC_PARTITIONS","_SYNC_SNAPSHOT","SYNCHRONIZE","SYSID","SYSTEM","TABLE","TABLE_CHECKSUM","TABLES","TABLESPACE","TAGS","TARGET_SIZE","TASK","TEMP","TEMPLATE","TEMPORARY","TEMPTABLE","_TERM_BUMP","TERMINATE","TERMINATED","TEXT","THEN","TIME","TIMEOUT","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIMEZONE","TINYBLOB","TINYINT","TINYTEXT","TO","TRACELOGS","TRADITIONAL","TRAILING","TRANSFORM","TRANSACTION","_TRANSACTIONS_EXPERIMENTAL","TREAT","TRIGGER","TRIGGERS","TRUE","TRUNC","TRUNCATE","TRUSTED","TWO_PHASE","_TWOPCID","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDO","UNENCRYPTED","UNENFORCED","UNHOLD","UNICODE","UNION","UNIQUE","_UNITTEST","UNKNOWN","UNLISTEN","_UNLOAD","UNLOCK","UNLOGGED","UNPIVOT","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USERS","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","_UTF8","VACUUM","VALID","VALIDATE","VALIDATOR","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARIABLES","VARIADIC","VARYING","VERBOSE","VIEW","VOID","VOLATILE","VOTING","WAIT","_WAKE","WARNINGS","WEEK","WHEN","WHERE","WHILE","WHITESPACE","WINDOW","WITH","WITHOUT","WITHIN","_WM_HEARTBEAT","WORK","WORKLOAD","WRAPPER","WRITE","XACT_ID","XOR","YEAR","YEAR_MONTH","YES","ZEROFILL","ZONE"]}),tB=v({all:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","APPROX_COUNT_DISTINCT","APPROX_COUNT_DISTINCT_ACCUMULATE","APPROX_COUNT_DISTINCT_COMBINE","APPROX_COUNT_DISTINCT_ESTIMATE","APPROX_GEOGRAPHY_INTERSECTS","APPROX_PERCENTILE","ASCII","ASIN","ATAN","ATAN2","AVG","BIN","BINARY","BIT_AND","BIT_COUNT","BIT_OR","BIT_XOR","CAST","CEIL","CEILING","CHAR","CHARACTER_LENGTH","CHAR_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COLLECT","CONCAT","CONCAT_WS","CONNECTION_ID","CONV","CONVERT","CONVERT_TZ","COS","COT","COUNT","CUME_DIST","CURDATE","CURRENT_DATE","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATEDIFF","DATE_FORMAT","DATE_SUB","DATE_TRUNC","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DECODE","DEFAULT","DEGREES","DENSE_RANK","DIV","DOT_PRODUCT","ELT","EUCLIDEAN_DISTANCE","EXP","EXTRACT","FIELD","FIRST","FIRST_VALUE","FLOOR","FORMAT","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GEOGRAPHY_AREA","GEOGRAPHY_CONTAINS","GEOGRAPHY_DISTANCE","GEOGRAPHY_INTERSECTS","GEOGRAPHY_LATITUDE","GEOGRAPHY_LENGTH","GEOGRAPHY_LONGITUDE","GEOGRAPHY_POINT","GEOGRAPHY_WITHIN_DISTANCE","GEOMETRY_AREA","GEOMETRY_CONTAINS","GEOMETRY_DISTANCE","GEOMETRY_FILTER","GEOMETRY_INTERSECTS","GEOMETRY_LENGTH","GEOMETRY_POINT","GEOMETRY_WITHIN_DISTANCE","GEOMETRY_X","GEOMETRY_Y","GREATEST","GROUPING","GROUP_CONCAT","HEX","HIGHLIGHT","HOUR","ICU_VERSION","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INITCAP","INSERT","INSTR","INTERVAL","IS","IS NULL","JSON_AGG","JSON_ARRAY_CONTAINS_DOUBLE","JSON_ARRAY_CONTAINS_JSON","JSON_ARRAY_CONTAINS_STRING","JSON_ARRAY_PUSH_DOUBLE","JSON_ARRAY_PUSH_JSON","JSON_ARRAY_PUSH_STRING","JSON_DELETE_KEY","JSON_EXTRACT_DOUBLE","JSON_EXTRACT_JSON","JSON_EXTRACT_STRING","JSON_EXTRACT_BIGINT","JSON_GET_TYPE","JSON_LENGTH","JSON_SET_DOUBLE","JSON_SET_JSON","JSON_SET_STRING","JSON_SPLICE_DOUBLE","JSON_SPLICE_JSON","JSON_SPLICE_STRING","LAG","LAST_DAY","LAST_VALUE","LCASE","LEAD","LEAST","LEFT","LENGTH","LIKE","LN","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LPAD","LTRIM","MATCH","MAX","MD5","MEDIAN","MICROSECOND","MIN","MINUTE","MOD","MONTH","MONTHNAME","MONTHS_BETWEEN","NOT","NOW","NTH_VALUE","NTILE","NULLIF","OCTET_LENGTH","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","PI","PIVOT","POSITION","POW","POWER","QUARTER","QUOTE","RADIANS","RAND","RANK","REGEXP","REPEAT","REPLACE","REVERSE","RIGHT","RLIKE","ROUND","ROW_COUNT","ROW_NUMBER","RPAD","RTRIM","SCALAR","SCHEMA","SEC_TO_TIME","SHA1","SHA2","SIGMOID","SIGN","SIN","SLEEP","SPLIT","SOUNDEX","SOUNDS LIKE","SOURCE_POS_WAIT","SPACE","SQRT","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUM","SYS_GUID","TAN","TIME","TIMEDIFF","TIME_BUCKET","TIME_FORMAT","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIME_TO_SEC","TO_BASE64","TO_CHAR","TO_DAYS","TO_JSON","TO_NUMBER","TO_SECONDS","TO_TIMESTAMP","TRIM","TRUNC","TRUNCATE","UCASE","UNHEX","UNIX_TIMESTAMP","UPDATEXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","VALUES","VARIANCE","VAR_POP","VAR_SAMP","VECTOR_SUB","VERSION","WEEK","WEEKDAY","WEEKOFYEAR","YEAR","BIT","TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","DECIMAL","DEC","NUMERIC","FIXED","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","DATETIME","TIMESTAMP","TIME","YEAR","CHAR","NATIONAL CHAR","VARCHAR","NATIONAL VARCHAR","BINARY","VARBINARY","BLOB","TEXT","ENUM"]}),tY=A(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),tk=A(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [IGNORE] [INTO]","VALUES","REPLACE [INTO]","SET","CREATE VIEW","CREATE [ROWSTORE] [REFERENCE | TEMPORARY | GLOBAL TEMPORARY] TABLE [IF NOT EXISTS]","CREATE [OR REPLACE] [TEMPORARY] PROCEDURE [IF NOT EXISTS]","CREATE [OR REPLACE] [EXTERNAL] FUNCTION"]),tV=A(["UPDATE","DELETE [FROM]","DROP [TEMPORARY] TABLE [IF EXISTS]","ALTER [ONLINE] TABLE","ADD [COLUMN]","ADD [UNIQUE] {INDEX | KEY}","DROP [COLUMN]","MODIFY [COLUMN]","CHANGE","RENAME [TO | AS]","TRUNCATE [TABLE]","ADD AGGREGATOR","ADD LEAF","AGGREGATOR SET AS MASTER","ALTER DATABASE","ALTER PIPELINE","ALTER RESOURCE POOL","ALTER USER","ALTER VIEW","ANALYZE TABLE","ATTACH DATABASE","ATTACH LEAF","ATTACH LEAF ALL","BACKUP DATABASE","BINLOG","BOOTSTRAP AGGREGATOR","CACHE INDEX","CALL","CHANGE","CHANGE MASTER TO","CHANGE REPLICATION FILTER","CHANGE REPLICATION SOURCE TO","CHECK BLOB CHECKSUM","CHECK TABLE","CHECKSUM TABLE","CLEAR ORPHAN DATABASES","CLONE","COMMIT","CREATE DATABASE","CREATE GROUP","CREATE INDEX","CREATE LINK","CREATE MILESTONE","CREATE PIPELINE","CREATE RESOURCE POOL","CREATE ROLE","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DETACH DATABASE","DETACH PIPELINE","DROP DATABASE","DROP FUNCTION","DROP INDEX","DROP LINK","DROP PIPELINE","DROP PROCEDURE","DROP RESOURCE POOL","DROP ROLE","DROP USER","DROP VIEW","EXECUTE","EXPLAIN","FLUSH","FORCE","GRANT","HANDLER","HELP","KILL CONNECTION","KILLALL QUERIES","LOAD DATA","LOAD INDEX INTO CACHE","LOAD XML","LOCK INSTANCE FOR BACKUP","LOCK TABLES","MASTER_POS_WAIT","OPTIMIZE TABLE","PREPARE","PURGE BINARY LOGS","REBALANCE PARTITIONS","RELEASE SAVEPOINT","REMOVE AGGREGATOR","REMOVE LEAF","REPAIR TABLE","REPLACE","REPLICATE DATABASE","RESET","RESET MASTER","RESET PERSIST","RESET REPLICA","RESET SLAVE","RESTART","RESTORE DATABASE","RESTORE REDUNDANCY","REVOKE","ROLLBACK","ROLLBACK TO SAVEPOINT","SAVEPOINT","SET CHARACTER SET","SET DEFAULT ROLE","SET NAMES","SET PASSWORD","SET RESOURCE GROUP","SET ROLE","SET TRANSACTION","SHOW","SHOW CHARACTER SET","SHOW COLLATION","SHOW COLUMNS","SHOW CREATE DATABASE","SHOW CREATE FUNCTION","SHOW CREATE PIPELINE","SHOW CREATE PROCEDURE","SHOW CREATE TABLE","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINES","SHOW ERRORS","SHOW FUNCTION CODE","SHOW FUNCTION STATUS","SHOW GRANTS","SHOW INDEX","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PLUGINS","SHOW PRIVILEGES","SHOW PROCEDURE CODE","SHOW PROCEDURE STATUS","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW RELAYLOG EVENTS","SHOW REPLICA STATUS","SHOW REPLICAS","SHOW SLAVE","SHOW SLAVE HOSTS","SHOW STATUS","SHOW TABLE STATUS","SHOW TABLES","SHOW VARIABLES","SHOW WARNINGS","SHUTDOWN","SNAPSHOT DATABASE","SOURCE_POS_WAIT","START GROUP_REPLICATION","START PIPELINE","START REPLICA","START SLAVE","START TRANSACTION","STOP GROUP_REPLICATION","STOP PIPELINE","STOP REPLICA","STOP REPLICATING","STOP SLAVE","TEST PIPELINE","UNLOCK INSTANCE","UNLOCK TABLES","USE","XA","ITERATE","LEAVE","LOOP","REPEAT","RETURN","WHILE"]),t$=A(["UNION [ALL | DISTINCT]","EXCEPT","INTERSECT","MINUS"]),tW=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),tZ=A(["ON DELETE","ON UPDATE","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),tj={tokenizerOptions:{reservedSelect:tY,reservedClauses:[...tk,...tV],reservedSetOperations:t$,reservedJoins:tW,reservedPhrases:tZ,reservedKeywords:tH,reservedFunctionNames:tB,stringTypes:['""-qq-bs',"''-qq-bs",{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:["``"],identChars:{first:"$",rest:"$",allowFirstCharNumber:!0},variableTypes:[{regex:"@@?[A-Za-z0-9_$]+"},{quote:"``",prefixes:["@"],requirePrefix:!0}],lineCommentTypes:["--","#"],operators:[":=","&","|","^","~","<<",">>","<=>","&&","||","::","::$","::%",":>","!:>"],postProcess:function(e){return e.map((t,n)=>{let o=e[n+1]||u;return d.SET(t)&&"("===o.text?{...t,type:r.RESERVED_FUNCTION_NAME}:t})}},formatOptions:{alwaysDenseOperators:["::","::$","::%"],onelineClauses:tV}},tX=v({all:["ABS","ACOS","ACOSH","ADD_MONTHS","ALL_USER_NAMES","ANY_VALUE","APPROX_COUNT_DISTINCT","APPROX_PERCENTILE","APPROX_PERCENTILE_ACCUMULATE","APPROX_PERCENTILE_COMBINE","APPROX_PERCENTILE_ESTIMATE","APPROX_TOP_K","APPROX_TOP_K_ACCUMULATE","APPROX_TOP_K_COMBINE","APPROX_TOP_K_ESTIMATE","APPROXIMATE_JACCARD_INDEX","APPROXIMATE_SIMILARITY","ARRAY_AGG","ARRAY_APPEND","ARRAY_CAT","ARRAY_COMPACT","ARRAY_CONSTRUCT","ARRAY_CONSTRUCT_COMPACT","ARRAY_CONTAINS","ARRAY_INSERT","ARRAY_INTERSECTION","ARRAY_POSITION","ARRAY_PREPEND","ARRAY_SIZE","ARRAY_SLICE","ARRAY_TO_STRING","ARRAY_UNION_AGG","ARRAY_UNIQUE_AGG","ARRAYS_OVERLAP","AS_ARRAY","AS_BINARY","AS_BOOLEAN","AS_CHAR","AS_VARCHAR","AS_DATE","AS_DECIMAL","AS_NUMBER","AS_DOUBLE","AS_REAL","AS_INTEGER","AS_OBJECT","AS_TIME","AS_TIMESTAMP_LTZ","AS_TIMESTAMP_NTZ","AS_TIMESTAMP_TZ","ASCII","ASIN","ASINH","ATAN","ATAN2","ATANH","AUTO_REFRESH_REGISTRATION_HISTORY","AUTOMATIC_CLUSTERING_HISTORY","AVG","BASE64_DECODE_BINARY","BASE64_DECODE_STRING","BASE64_ENCODE","BIT_LENGTH","BITAND","BITAND_AGG","BITMAP_BIT_POSITION","BITMAP_BUCKET_NUMBER","BITMAP_CONSTRUCT_AGG","BITMAP_COUNT","BITMAP_OR_AGG","BITNOT","BITOR","BITOR_AGG","BITSHIFTLEFT","BITSHIFTRIGHT","BITXOR","BITXOR_AGG","BOOLAND","BOOLAND_AGG","BOOLNOT","BOOLOR","BOOLOR_AGG","BOOLXOR","BOOLXOR_AGG","BUILD_SCOPED_FILE_URL","BUILD_STAGE_FILE_URL","CASE","CAST","CBRT","CEIL","CHARINDEX","CHECK_JSON","CHECK_XML","CHR","CHAR","COALESCE","COLLATE","COLLATION","COMPLETE_TASK_GRAPHS","COMPRESS","CONCAT","CONCAT_WS","CONDITIONAL_CHANGE_EVENT","CONDITIONAL_TRUE_EVENT","CONTAINS","CONVERT_TIMEZONE","COPY_HISTORY","CORR","COS","COSH","COT","COUNT","COUNT_IF","COVAR_POP","COVAR_SAMP","CUME_DIST","CURRENT_ACCOUNT","CURRENT_AVAILABLE_ROLES","CURRENT_CLIENT","CURRENT_DATABASE","CURRENT_DATE","CURRENT_IP_ADDRESS","CURRENT_REGION","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_SECONDARY_ROLES","CURRENT_SESSION","CURRENT_STATEMENT","CURRENT_TASK_GRAPHS","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TRANSACTION","CURRENT_USER","CURRENT_VERSION","CURRENT_WAREHOUSE","DATA_TRANSFER_HISTORY","DATABASE_REFRESH_HISTORY","DATABASE_REFRESH_PROGRESS","DATABASE_REFRESH_PROGRESS_BY_JOB","DATABASE_STORAGE_USAGE_HISTORY","DATE_FROM_PARTS","DATE_PART","DATE_TRUNC","DATEADD","DATEDIFF","DAYNAME","DECODE","DECOMPRESS_BINARY","DECOMPRESS_STRING","DECRYPT","DECRYPT_RAW","DEGREES","DENSE_RANK","DIV0","EDITDISTANCE","ENCRYPT","ENCRYPT_RAW","ENDSWITH","EQUAL_NULL","EXP","EXPLAIN_JSON","EXTERNAL_FUNCTIONS_HISTORY","EXTERNAL_TABLE_FILES","EXTERNAL_TABLE_FILE_REGISTRATION_HISTORY","EXTRACT","EXTRACT_SEMANTIC_CATEGORIES","FACTORIAL","FIRST_VALUE","FLATTEN","FLOOR","GENERATE_COLUMN_DESCRIPTION","GENERATOR","GET","GET_ABSOLUTE_PATH","GET_DDL","GET_IGNORE_CASE","GET_OBJECT_REFERENCES","GET_PATH","GET_PRESIGNED_URL","GET_RELATIVE_PATH","GET_STAGE_LOCATION","GETBIT","GREATEST","GROUPING","GROUPING_ID","HASH","HASH_AGG","HAVERSINE","HEX_DECODE_BINARY","HEX_DECODE_STRING","HEX_ENCODE","HLL","HLL_ACCUMULATE","HLL_COMBINE","HLL_ESTIMATE","HLL_EXPORT","HLL_IMPORT","HOUR","MINUTE","SECOND","IFF","IFNULL","ILIKE","ILIKE ANY","INFER_SCHEMA","INITCAP","INSERT","INVOKER_ROLE","INVOKER_SHARE","IS_ARRAY","IS_BINARY","IS_BOOLEAN","IS_CHAR","IS_VARCHAR","IS_DATE","IS_DATE_VALUE","IS_DECIMAL","IS_DOUBLE","IS_REAL","IS_GRANTED_TO_INVOKER_ROLE","IS_INTEGER","IS_NULL_VALUE","IS_OBJECT","IS_ROLE_IN_SESSION","IS_TIME","IS_TIMESTAMP_LTZ","IS_TIMESTAMP_NTZ","IS_TIMESTAMP_TZ","JAROWINKLER_SIMILARITY","JSON_EXTRACT_PATH_TEXT","KURTOSIS","LAG","LAST_DAY","LAST_QUERY_ID","LAST_TRANSACTION","LAST_VALUE","LEAD","LEAST","LEFT","LENGTH","LEN","LIKE","LIKE ALL","LIKE ANY","LISTAGG","LN","LOCALTIME","LOCALTIMESTAMP","LOG","LOGIN_HISTORY","LOGIN_HISTORY_BY_USER","LOWER","LPAD","LTRIM","MATERIALIZED_VIEW_REFRESH_HISTORY","MD5","MD5_HEX","MD5_BINARY","MD5_NUMBER — Obsoleted","MD5_NUMBER_LOWER64","MD5_NUMBER_UPPER64","MEDIAN","MIN","MAX","MINHASH","MINHASH_COMBINE","MOD","MODE","MONTHNAME","MONTHS_BETWEEN","NEXT_DAY","NORMAL","NTH_VALUE","NTILE","NULLIF","NULLIFZERO","NVL","NVL2","OBJECT_AGG","OBJECT_CONSTRUCT","OBJECT_CONSTRUCT_KEEP_NULL","OBJECT_DELETE","OBJECT_INSERT","OBJECT_KEYS","OBJECT_PICK","OCTET_LENGTH","PARSE_IP","PARSE_JSON","PARSE_URL","PARSE_XML","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","PI","PIPE_USAGE_HISTORY","POLICY_CONTEXT","POLICY_REFERENCES","POSITION","POW","POWER","PREVIOUS_DAY","QUERY_ACCELERATION_HISTORY","QUERY_HISTORY","QUERY_HISTORY_BY_SESSION","QUERY_HISTORY_BY_USER","QUERY_HISTORY_BY_WAREHOUSE","RADIANS","RANDOM","RANDSTR","RANK","RATIO_TO_REPORT","REGEXP","REGEXP_COUNT","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_SUBSTR","REGEXP_SUBSTR_ALL","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","REGR_VALX","REGR_VALY","REPEAT","REPLACE","REPLICATION_GROUP_REFRESH_HISTORY","REPLICATION_GROUP_REFRESH_PROGRESS","REPLICATION_GROUP_REFRESH_PROGRESS_BY_JOB","REPLICATION_GROUP_USAGE_HISTORY","REPLICATION_USAGE_HISTORY","REST_EVENT_HISTORY","RESULT_SCAN","REVERSE","RIGHT","RLIKE","ROUND","ROW_NUMBER","RPAD","RTRIM","RTRIMMED_LENGTH","SEARCH_OPTIMIZATION_HISTORY","SEQ1","SEQ2","SEQ4","SEQ8","SERVERLESS_TASK_HISTORY","SHA1","SHA1_HEX","SHA1_BINARY","SHA2","SHA2_HEX","SHA2_BINARY","SIGN","SIN","SINH","SKEW","SOUNDEX","SPACE","SPLIT","SPLIT_PART","SPLIT_TO_TABLE","SQRT","SQUARE","ST_AREA","ST_ASEWKB","ST_ASEWKT","ST_ASGEOJSON","ST_ASWKB","ST_ASBINARY","ST_ASWKT","ST_ASTEXT","ST_AZIMUTH","ST_CENTROID","ST_COLLECT","ST_CONTAINS","ST_COVEREDBY","ST_COVERS","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_DWITHIN","ST_ENDPOINT","ST_ENVELOPE","ST_GEOGFROMGEOHASH","ST_GEOGPOINTFROMGEOHASH","ST_GEOGRAPHYFROMWKB","ST_GEOGRAPHYFROMWKT","ST_GEOHASH","ST_GEOMETRYFROMWKB","ST_GEOMETRYFROMWKT","ST_HAUSDORFFDISTANCE","ST_INTERSECTION","ST_INTERSECTS","ST_LENGTH","ST_MAKEGEOMPOINT","ST_GEOM_POINT","ST_MAKELINE","ST_MAKEPOINT","ST_POINT","ST_MAKEPOLYGON","ST_POLYGON","ST_NPOINTS","ST_NUMPOINTS","ST_PERIMETER","ST_POINTN","ST_SETSRID","ST_SIMPLIFY","ST_SRID","ST_STARTPOINT","ST_SYMDIFFERENCE","ST_UNION","ST_WITHIN","ST_X","ST_XMAX","ST_XMIN","ST_Y","ST_YMAX","ST_YMIN","STAGE_DIRECTORY_FILE_REGISTRATION_HISTORY","STAGE_STORAGE_USAGE_HISTORY","STARTSWITH","STDDEV","STDDEV_POP","STDDEV_SAMP","STRIP_NULL_VALUE","STRTOK","STRTOK_SPLIT_TO_TABLE","STRTOK_TO_ARRAY","SUBSTR","SUBSTRING","SUM","SYSDATE","SYSTEM$ABORT_SESSION","SYSTEM$ABORT_TRANSACTION","SYSTEM$AUTHORIZE_PRIVATELINK","SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESS","SYSTEM$BEHAVIOR_CHANGE_BUNDLE_STATUS","SYSTEM$CANCEL_ALL_QUERIES","SYSTEM$CANCEL_QUERY","SYSTEM$CLUSTERING_DEPTH","SYSTEM$CLUSTERING_INFORMATION","SYSTEM$CLUSTERING_RATIO ","SYSTEM$CURRENT_USER_TASK_NAME","SYSTEM$DATABASE_REFRESH_HISTORY ","SYSTEM$DATABASE_REFRESH_PROGRESS","SYSTEM$DATABASE_REFRESH_PROGRESS_BY_JOB ","SYSTEM$DISABLE_BEHAVIOR_CHANGE_BUNDLE","SYSTEM$DISABLE_DATABASE_REPLICATION","SYSTEM$ENABLE_BEHAVIOR_CHANGE_BUNDLE","SYSTEM$ESTIMATE_QUERY_ACCELERATION","SYSTEM$ESTIMATE_SEARCH_OPTIMIZATION_COSTS","SYSTEM$EXPLAIN_JSON_TO_TEXT","SYSTEM$EXPLAIN_PLAN_JSON","SYSTEM$EXTERNAL_TABLE_PIPE_STATUS","SYSTEM$GENERATE_SAML_CSR","SYSTEM$GENERATE_SCIM_ACCESS_TOKEN","SYSTEM$GET_AWS_SNS_IAM_POLICY","SYSTEM$GET_PREDECESSOR_RETURN_VALUE","SYSTEM$GET_PRIVATELINK","SYSTEM$GET_PRIVATELINK_AUTHORIZED_ENDPOINTS","SYSTEM$GET_PRIVATELINK_CONFIG","SYSTEM$GET_SNOWFLAKE_PLATFORM_INFO","SYSTEM$GET_TAG","SYSTEM$GET_TAG_ALLOWED_VALUES","SYSTEM$GET_TAG_ON_CURRENT_COLUMN","SYSTEM$GET_TAG_ON_CURRENT_TABLE","SYSTEM$GLOBAL_ACCOUNT_SET_PARAMETER","SYSTEM$LAST_CHANGE_COMMIT_TIME","SYSTEM$LINK_ACCOUNT_OBJECTS_BY_NAME","SYSTEM$MIGRATE_SAML_IDP_REGISTRATION","SYSTEM$PIPE_FORCE_RESUME","SYSTEM$PIPE_STATUS","SYSTEM$REVOKE_PRIVATELINK","SYSTEM$REVOKE_STAGE_PRIVATELINK_ACCESS","SYSTEM$SET_RETURN_VALUE","SYSTEM$SHOW_OAUTH_CLIENT_SECRETS","SYSTEM$STREAM_GET_TABLE_TIMESTAMP","SYSTEM$STREAM_HAS_DATA","SYSTEM$TASK_DEPENDENTS_ENABLE","SYSTEM$TYPEOF","SYSTEM$USER_TASK_CANCEL_ONGOING_EXECUTIONS","SYSTEM$VERIFY_EXTERNAL_OAUTH_TOKEN","SYSTEM$WAIT","SYSTEM$WHITELIST","SYSTEM$WHITELIST_PRIVATELINK","TAG_REFERENCES","TAG_REFERENCES_ALL_COLUMNS","TAG_REFERENCES_WITH_LINEAGE","TAN","TANH","TASK_DEPENDENTS","TASK_HISTORY","TIME_FROM_PARTS","TIME_SLICE","TIMEADD","TIMEDIFF","TIMESTAMP_FROM_PARTS","TIMESTAMPADD","TIMESTAMPDIFF","TO_ARRAY","TO_BINARY","TO_BOOLEAN","TO_CHAR","TO_VARCHAR","TO_DATE","DATE","TO_DECIMAL","TO_NUMBER","TO_NUMERIC","TO_DOUBLE","TO_GEOGRAPHY","TO_GEOMETRY","TO_JSON","TO_OBJECT","TO_TIME","TIME","TO_TIMESTAMP","TO_TIMESTAMP_LTZ","TO_TIMESTAMP_NTZ","TO_TIMESTAMP_TZ","TO_VARIANT","TO_XML","TRANSLATE","TRIM","TRUNCATE","TRUNC","TRUNC","TRY_BASE64_DECODE_BINARY","TRY_BASE64_DECODE_STRING","TRY_CAST","TRY_HEX_DECODE_BINARY","TRY_HEX_DECODE_STRING","TRY_PARSE_JSON","TRY_TO_BINARY","TRY_TO_BOOLEAN","TRY_TO_DATE","TRY_TO_DECIMAL","TRY_TO_NUMBER","TRY_TO_NUMERIC","TRY_TO_DOUBLE","TRY_TO_GEOGRAPHY","TRY_TO_GEOMETRY","TRY_TO_TIME","TRY_TO_TIMESTAMP","TRY_TO_TIMESTAMP_LTZ","TRY_TO_TIMESTAMP_NTZ","TRY_TO_TIMESTAMP_TZ","TYPEOF","UNICODE","UNIFORM","UPPER","UUID_STRING","VALIDATE","VALIDATE_PIPE_LOAD","VAR_POP","VAR_SAMP","VARIANCE","VARIANCE_SAMP","VARIANCE_POP","WAREHOUSE_LOAD_HISTORY","WAREHOUSE_METERING_HISTORY","WIDTH_BUCKET","XMLGET","YEAR","YEAROFWEEK","YEAROFWEEKISO","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFWEEKISO","DAYOFYEAR","WEEK","WEEK","WEEKOFYEAR","WEEKISO","MONTH","QUARTER","ZEROIFNULL","ZIPF"]}),tK=v({all:["ACCOUNT","ALL","ALTER","AND","ANY","AS","BETWEEN","BY","CASE","CAST","CHECK","COLUMN","CONNECT","CONNECTION","CONSTRAINT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","DATABASE","DELETE","DISTINCT","DROP","ELSE","EXISTS","FALSE","FOLLOWING","FOR","FROM","FULL","GRANT","GROUP","GSCLUSTER","HAVING","ILIKE","IN","INCREMENT","INNER","INSERT","INTERSECT","INTO","IS","ISSUE","JOIN","LATERAL","LEFT","LIKE","LOCALTIME","LOCALTIMESTAMP","MINUS","NATURAL","NOT","NULL","OF","ON","OR","ORDER","ORGANIZATION","QUALIFY","REGEXP","REVOKE","RIGHT","RLIKE","ROW","ROWS","SAMPLE","SCHEMA","SELECT","SET","SOME","START","TABLE","TABLESAMPLE","THEN","TO","TRIGGER","TRUE","TRY_CAST","UNION","UNIQUE","UPDATE","USING","VALUES","VIEW","WHEN","WHENEVER","WHERE","WITH"]}),tz=A(["SELECT [ALL | DISTINCT]"]),tq=A(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","QUALIFY","LIMIT","OFFSET","FETCH [FIRST | NEXT]","INSERT [OVERWRITE] [ALL INTO | INTO | ALL | FIRST]","{THEN | ELSE} INTO","VALUES","SET","CREATE [OR REPLACE] [SECURE] [RECURSIVE] VIEW [IF NOT EXISTS]","CREATE [OR REPLACE] [VOLATILE] TABLE [IF NOT EXISTS]","CREATE [OR REPLACE] [LOCAL | GLOBAL] {TEMP|TEMPORARY} TABLE [IF NOT EXISTS]","CLUSTER BY","[WITH] {MASKING POLICY | TAG | ROW ACCESS POLICY}","COPY GRANTS","USING TEMPLATE","MERGE INTO","WHEN MATCHED [AND]","THEN {UPDATE SET | DELETE}","WHEN NOT MATCHED THEN INSERT"]),tJ=A(["UPDATE","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS]","RENAME TO","SWAP WITH","[SUSPEND | RESUME] RECLUSTER","DROP CLUSTERING KEY","ADD [COLUMN]","RENAME COLUMN","{ALTER | MODIFY} [COLUMN]","DROP [COLUMN]","{ADD | ALTER | MODIFY | DROP} [CONSTRAINT]","RENAME CONSTRAINT","{ADD | DROP} SEARCH OPTIMIZATION","{SET | UNSET} TAG","{ADD | DROP} ROW ACCESS POLICY","DROP ALL ROW ACCESS POLICIES","{SET | DROP} DEFAULT","{SET | DROP} NOT NULL","[SET DATA] TYPE","[UNSET] COMMENT","{SET | UNSET} MASKING POLICY","TRUNCATE [TABLE] [IF EXISTS]","ALTER ACCOUNT","ALTER API INTEGRATION","ALTER CONNECTION","ALTER DATABASE","ALTER EXTERNAL TABLE","ALTER FAILOVER GROUP","ALTER FILE FORMAT","ALTER FUNCTION","ALTER INTEGRATION","ALTER MASKING POLICY","ALTER MATERIALIZED VIEW","ALTER NETWORK POLICY","ALTER NOTIFICATION INTEGRATION","ALTER PIPE","ALTER PROCEDURE","ALTER REPLICATION GROUP","ALTER RESOURCE MONITOR","ALTER ROLE","ALTER ROW ACCESS POLICY","ALTER SCHEMA","ALTER SECURITY INTEGRATION","ALTER SEQUENCE","ALTER SESSION","ALTER SESSION POLICY","ALTER SHARE","ALTER STAGE","ALTER STORAGE INTEGRATION","ALTER STREAM","ALTER TAG","ALTER TASK","ALTER USER","ALTER VIEW","ALTER WAREHOUSE","BEGIN","CALL","COMMIT","COPY INTO","CREATE ACCOUNT","CREATE API INTEGRATION","CREATE CONNECTION","CREATE DATABASE","CREATE EXTERNAL FUNCTION","CREATE EXTERNAL TABLE","CREATE FAILOVER GROUP","CREATE FILE FORMAT","CREATE FUNCTION","CREATE INTEGRATION","CREATE MANAGED ACCOUNT","CREATE MASKING POLICY","CREATE MATERIALIZED VIEW","CREATE NETWORK POLICY","CREATE NOTIFICATION INTEGRATION","CREATE PIPE","CREATE PROCEDURE","CREATE REPLICATION GROUP","CREATE RESOURCE MONITOR","CREATE ROLE","CREATE ROW ACCESS POLICY","CREATE SCHEMA","CREATE SECURITY INTEGRATION","CREATE SEQUENCE","CREATE SESSION POLICY","CREATE SHARE","CREATE STAGE","CREATE STORAGE INTEGRATION","CREATE STREAM","CREATE TAG","CREATE TASK","CREATE USER","CREATE WAREHOUSE","DELETE","DESCRIBE DATABASE","DESCRIBE EXTERNAL TABLE","DESCRIBE FILE FORMAT","DESCRIBE FUNCTION","DESCRIBE INTEGRATION","DESCRIBE MASKING POLICY","DESCRIBE MATERIALIZED VIEW","DESCRIBE NETWORK POLICY","DESCRIBE PIPE","DESCRIBE PROCEDURE","DESCRIBE RESULT","DESCRIBE ROW ACCESS POLICY","DESCRIBE SCHEMA","DESCRIBE SEQUENCE","DESCRIBE SESSION POLICY","DESCRIBE SHARE","DESCRIBE STAGE","DESCRIBE STREAM","DESCRIBE TABLE","DESCRIBE TASK","DESCRIBE TRANSACTION","DESCRIBE USER","DESCRIBE VIEW","DESCRIBE WAREHOUSE","DROP CONNECTION","DROP DATABASE","DROP EXTERNAL TABLE","DROP FAILOVER GROUP","DROP FILE FORMAT","DROP FUNCTION","DROP INTEGRATION","DROP MANAGED ACCOUNT","DROP MASKING POLICY","DROP MATERIALIZED VIEW","DROP NETWORK POLICY","DROP PIPE","DROP PROCEDURE","DROP REPLICATION GROUP","DROP RESOURCE MONITOR","DROP ROLE","DROP ROW ACCESS POLICY","DROP SCHEMA","DROP SEQUENCE","DROP SESSION POLICY","DROP SHARE","DROP STAGE","DROP STREAM","DROP TAG","DROP TASK","DROP USER","DROP VIEW","DROP WAREHOUSE","EXECUTE IMMEDIATE","EXECUTE TASK","EXPLAIN","GET","GRANT OWNERSHIP","GRANT ROLE","INSERT","LIST","MERGE","PUT","REMOVE","REVOKE ROLE","ROLLBACK","SHOW COLUMNS","SHOW CONNECTIONS","SHOW DATABASES","SHOW DATABASES IN FAILOVER GROUP","SHOW DATABASES IN REPLICATION GROUP","SHOW DELEGATED AUTHORIZATIONS","SHOW EXTERNAL FUNCTIONS","SHOW EXTERNAL TABLES","SHOW FAILOVER GROUPS","SHOW FILE FORMATS","SHOW FUNCTIONS","SHOW GLOBAL ACCOUNTS","SHOW GRANTS","SHOW INTEGRATIONS","SHOW LOCKS","SHOW MANAGED ACCOUNTS","SHOW MASKING POLICIES","SHOW MATERIALIZED VIEWS","SHOW NETWORK POLICIES","SHOW OBJECTS","SHOW ORGANIZATION ACCOUNTS","SHOW PARAMETERS","SHOW PIPES","SHOW PRIMARY KEYS","SHOW PROCEDURES","SHOW REGIONS","SHOW REPLICATION ACCOUNTS","SHOW REPLICATION DATABASES","SHOW REPLICATION GROUPS","SHOW RESOURCE MONITORS","SHOW ROLES","SHOW ROW ACCESS POLICIES","SHOW SCHEMAS","SHOW SEQUENCES","SHOW SESSION POLICIES","SHOW SHARES","SHOW SHARES IN FAILOVER GROUP","SHOW SHARES IN REPLICATION GROUP","SHOW STAGES","SHOW STREAMS","SHOW TABLES","SHOW TAGS","SHOW TASKS","SHOW TRANSACTIONS","SHOW USER FUNCTIONS","SHOW USERS","SHOW VARIABLES","SHOW VIEWS","SHOW WAREHOUSES","TRUNCATE MATERIALIZED VIEW","UNDROP DATABASE","UNDROP SCHEMA","UNDROP TABLE","UNDROP TAG","UNSET","USE DATABASE","USE ROLE","USE SCHEMA","USE SECONDARY ROLES","USE WAREHOUSE"]),tQ=A(["UNION [ALL]","MINUS","EXCEPT","INTERSECT"]),t0=A(["[INNER] JOIN","[NATURAL] {LEFT | RIGHT | FULL} [OUTER] JOIN","{CROSS | NATURAL} JOIN"]),t1=A(["{ROWS | RANGE} BETWEEN","ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]"]),t2={tokenizerOptions:{reservedSelect:tz,reservedClauses:[...tq,...tJ],reservedSetOperations:tQ,reservedJoins:t0,reservedPhrases:t1,reservedKeywords:tK,reservedFunctionNames:tX,stringTypes:["$$","''-qq-bs"],identTypes:['""-qq'],variableTypes:[{regex:"[$][1-9]\\d*"},{regex:"[$][_a-zA-Z][_a-zA-Z0-9$]*"}],extraParens:["[]"],identChars:{rest:"$"},lineCommentTypes:["--","//"],operators:["%","::","||",":","=>"]},formatOptions:{alwaysDenseOperators:[":","::"],onelineClauses:tJ}},t4=e=>e.replace(/[.*+?^${}()|[\]\\]/gu,"\\$&"),t6=/\s+/uy,t3=e=>RegExp(`(?:${e})`,"uy"),t8=e=>e.split("").map(e=>/ /gu.test(e)?"\\s+":`[${e.toUpperCase()}${e.toLowerCase()}]`).join(""),t5=e=>e+"(?:-"+e+")*",t7=({prefixes:e,requirePrefix:t})=>`(?:${e.map(t8).join("|")}${t?"":"|"})`,t9=e=>RegExp(`(?:${e.map(t4).join("|")}).*?(?=\r -|\r| -|$)`,"uy"),ne=(e,t=[])=>{let n="open"===e?0:1,r=["()",...t].map(e=>e[n]);return t3(r.map(t4).join("|"))},nt=e=>t3(`${C(e).map(t4).join("|")}`),nn=({rest:e,dashes:t})=>e||t?`(?![${e||""}${t?"-":""}])`:"",nr=(e,t={})=>{if(0===e.length)return/^\b$/u;let n=nn(t),r=C(e).map(t4).join("|").replace(/ /gu,"\\s+");return RegExp(`(?:${r})${n}\\b`,"iuy")},no=(e,t)=>{if(!e.length)return;let n=e.map(t4).join("|");return t3(`(?:${n})(?:${t})`)},ni={"``":"(?:`[^`]*`)+","[]":String.raw`(?:\[[^\]]*\])(?:\][^\]]*\])*`,'""-qq':String.raw`(?:"[^"]*")+`,'""-bs':String.raw`(?:"[^"\\]*(?:\\.[^"\\]*)*")`,'""-qq-bs':String.raw`(?:"[^"\\]*(?:\\.[^"\\]*)*")+`,'""-raw':String.raw`(?:"[^"]*")`,"''-qq":String.raw`(?:'[^']*')+`,"''-bs":String.raw`(?:'[^'\\]*(?:\\.[^'\\]*)*')`,"''-qq-bs":String.raw`(?:'[^'\\]*(?:\\.[^'\\]*)*')+`,"''-raw":String.raw`(?:'[^']*')`,$$:String.raw`(?\$\w*\$)[\s\S]*?\k`,"'''..'''":String.raw`'''[^\\]*?(?:\\.[^\\]*?)*?'''`,'""".."""':String.raw`"""[^\\]*?(?:\\.[^\\]*?)*?"""`,"{}":String.raw`(?:\{[^\}]*\})`,"q''":(()=>{let e={"<":">","[":"]","(":")","{":"}"},t=Object.entries(e).map(([e,t])=>"{left}(?:(?!{right}').)*?{right}".replace(/{left}/g,t4(e)).replace(/{right}/g,t4(t))),n=t4(Object.keys(e).join("")),r=String.raw`(?[^\s${n}])(?:(?!\k').)*?\k`,o=`[Qq]'(?:${r}|${t.join("|")})'`;return o})()},na=e=>"string"==typeof e?ni[e]:"regex"in e?e.regex:t7(e)+ni[e.quote],ns=e=>t3(e.map(e=>"regex"in e?e.regex:na(e)).join("|")),nl=e=>e.map(na).join("|"),nc=e=>t3(nl(e)),nE=(e={})=>t3(nu(e)),nu=({first:e,rest:t,dashes:n,allowFirstCharNumber:r}={})=>{let o="\\p{Alphabetic}\\p{Mark}_",i="\\p{Decimal_Number}",a=t4(e??""),s=t4(t??""),l=r?`[${o}${i}${a}][${o}${i}${s}]*`:`[${o}${a}][${o}${i}${s}]*`;return n?t5(l):l};function nT(e,t){let n=e.slice(0,t).split(/\n/);return{line:n.length,col:n[n.length-1].length+1}}class nd{input="";index=0;constructor(e){this.rules=e}tokenize(e){let t;this.input=e,this.index=0;let n=[];for(;this.index0;)if(t=this.matchSection(nf,e))n+=t,r++;else if(t=this.matchSection(nA,e))n+=t,r--;else{if(!(t=this.matchSection(nR,e)))return null;n+=t}return[n]}matchSection(e,t){e.lastIndex=this.lastIndex;let n=e.exec(t);return n&&(this.lastIndex+=n[0].length),n?n[0]:null}}class nO{constructor(e){this.cfg=e,this.rulesBeforeParams=this.buildRulesBeforeParams(e),this.rulesAfterParams=this.buildRulesAfterParams(e)}tokenize(e,t){let n=[...this.rulesBeforeParams,...this.buildParamRules(this.cfg,t),...this.rulesAfterParams],r=new nd(n).tokenize(e);return this.cfg.postProcess?this.cfg.postProcess(r):r}buildRulesBeforeParams(e){return this.validRules([{type:r.BLOCK_COMMENT,regex:e.nestedBlockComments?new nS:/(\/\*[^]*?\*\/)/uy},{type:r.LINE_COMMENT,regex:t9(e.lineCommentTypes??["--"])},{type:r.QUOTED_IDENTIFIER,regex:nc(e.identTypes)},{type:r.NUMBER,regex:/(?:0x[0-9a-fA-F]+|0b[01]+|(?:-\s*)?[0-9]+(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+(?:\.[0-9]+)?)?)(?!\w)/uy},{type:r.RESERVED_PHRASE,regex:nr(e.reservedPhrases??[],e.identChars),text:np},{type:r.CASE,regex:/CASE\b/iuy,text:np},{type:r.END,regex:/END\b/iuy,text:np},{type:r.BETWEEN,regex:/BETWEEN\b/iuy,text:np},{type:r.LIMIT,regex:e.reservedClauses.includes("LIMIT")?/LIMIT\b/iuy:void 0,text:np},{type:r.RESERVED_CLAUSE,regex:nr(e.reservedClauses,e.identChars),text:np},{type:r.RESERVED_SELECT,regex:nr(e.reservedSelect,e.identChars),text:np},{type:r.RESERVED_SET_OPERATION,regex:nr(e.reservedSetOperations,e.identChars),text:np},{type:r.WHEN,regex:/WHEN\b/iuy,text:np},{type:r.ELSE,regex:/ELSE\b/iuy,text:np},{type:r.THEN,regex:/THEN\b/iuy,text:np},{type:r.RESERVED_JOIN,regex:nr(e.reservedJoins,e.identChars),text:np},{type:r.AND,regex:/AND\b/iuy,text:np},{type:r.OR,regex:/OR\b/iuy,text:np},{type:r.XOR,regex:e.supportsXor?/XOR\b/iuy:void 0,text:np},{type:r.RESERVED_FUNCTION_NAME,regex:nr(e.reservedFunctionNames,e.identChars),text:np},{type:r.RESERVED_KEYWORD,regex:nr(e.reservedKeywords,e.identChars),text:np}])}buildRulesAfterParams(e){return this.validRules([{type:r.VARIABLE,regex:e.variableTypes?ns(e.variableTypes):void 0},{type:r.STRING,regex:nc(e.stringTypes)},{type:r.IDENTIFIER,regex:nE(e.identChars)},{type:r.DELIMITER,regex:/[;]/uy},{type:r.COMMA,regex:/[,]/y},{type:r.OPEN_PAREN,regex:ne("open",e.extraParens)},{type:r.CLOSE_PAREN,regex:ne("close",e.extraParens)},{type:r.OPERATOR,regex:nt(["+","-","/",">","<","=","<>","<=",">=","!=",...e.operators??[]])},{type:r.ASTERISK,regex:/[*]/uy},{type:r.DOT,regex:/[.]/uy}])}buildParamRules(e,t){var n,o,i,a,s;let l={named:(null==t?void 0:t.named)||(null===(n=e.paramTypes)||void 0===n?void 0:n.named)||[],quoted:(null==t?void 0:t.quoted)||(null===(o=e.paramTypes)||void 0===o?void 0:o.quoted)||[],numbered:(null==t?void 0:t.numbered)||(null===(i=e.paramTypes)||void 0===i?void 0:i.numbered)||[],positional:"boolean"==typeof(null==t?void 0:t.positional)?t.positional:null===(a=e.paramTypes)||void 0===a?void 0:a.positional,custom:(null==t?void 0:t.custom)||(null===(s=e.paramTypes)||void 0===s?void 0:s.custom)||[]};return this.validRules([{type:r.NAMED_PARAMETER,regex:no(l.named,nu(e.paramChars||e.identChars)),key:e=>e.slice(1)},{type:r.QUOTED_PARAMETER,regex:no(l.quoted,nl(e.identTypes)),key:e=>(({tokenKey:e,quoteChar:t})=>e.replace(RegExp(t4("\\"+t),"gu"),t))({tokenKey:e.slice(2,-1),quoteChar:e.slice(-1)})},{type:r.NUMBERED_PARAMETER,regex:no(l.numbered,"[0-9]+"),key:e=>e.slice(1)},{type:r.POSITIONAL_PARAMETER,regex:l.positional?/[?]/y:void 0},...l.custom.map(e=>({type:r.CUSTOM_PARAMETER,regex:t3(e.regex),key:e.key??(e=>e)}))])}validRules(e){return e.filter(e=>!!e.regex)}}let np=e=>L(e.toUpperCase()),nh=new Map,nN=e=>{let t=nh.get(e);return t||(t=nI(e),nh.set(e,t)),t},nI=e=>({tokenizer:new nO(e.tokenizerOptions),formatOptions:nm(e.formatOptions)}),nm=e=>({alwaysDenseOperators:e.alwaysDenseOperators||[],onelineClauses:Object.fromEntries(e.onelineClauses.map(e=>[e,!0]))});function n_(e){return"tabularLeft"===e.indentStyle||"tabularRight"===e.indentStyle?" ".repeat(10):e.useTabs?" ":" ".repeat(e.tabWidth)}function nC(e){return"tabularLeft"===e.indentStyle||"tabularRight"===e.indentStyle}class ng{constructor(e){this.params=e,this.index=0}get({key:e,text:t}){return this.params?e?this.params[e]:this.params[this.index++]:t}getPositionalParameterIndex(){return this.index}setPositionalParameterIndex(e){this.index=e}}var nL=n(69654);let nv=(e,t,n)=>{if(f(e.type)){let o=nM(n,t);if(o&&"."===o.text)return{...e,type:r.IDENTIFIER,text:e.raw}}return e},ny=(e,t,n)=>{if(e.type===r.RESERVED_FUNCTION_NAME){let o=nD(n,t);if(!o||!nU(o))return{...e,type:r.RESERVED_KEYWORD}}return e},nP=(e,t,n)=>{if(e.type===r.IDENTIFIER){let o=nD(n,t);if(o&&nx(o))return{...e,type:r.ARRAY_IDENTIFIER}}return e},nb=(e,t,n)=>{if(e.type===r.RESERVED_KEYWORD){let o=nD(n,t);if(o&&nx(o))return{...e,type:r.ARRAY_KEYWORD}}return e},nM=(e,t)=>nD(e,t,-1),nD=(e,t,n=1)=>{let r=1;for(;e[t+r*n]&&nw(e[t+r*n]);)r++;return e[t+r*n]},nU=e=>e.type===r.OPEN_PAREN&&"("===e.text,nx=e=>e.type===r.OPEN_PAREN&&"["===e.text,nw=e=>e.type===r.BLOCK_COMMENT||e.type===r.LINE_COMMENT;class nG{index=0;tokens=[];input="";constructor(e){this.tokenize=e}reset(e,t){this.input=e,this.index=0,this.tokens=this.tokenize(e)}next(){return this.tokens[this.index++]}save(){}formatError(e){let{line:t,col:n}=nT(this.input,e.start);return`Parse error at token: ${e.text} at line ${t} column ${n}`}has(e){return e in r}}function nF(e){return e[0]}(s=o||(o={})).statement="statement",s.clause="clause",s.set_operation="set_operation",s.function_call="function_call",s.array_subscript="array_subscript",s.property_access="property_access",s.parenthesis="parenthesis",s.between_predicate="between_predicate",s.case_expression="case_expression",s.case_when="case_when",s.case_else="case_else",s.limit_clause="limit_clause",s.all_columns_asterisk="all_columns_asterisk",s.literal="literal",s.identifier="identifier",s.keyword="keyword",s.parameter="parameter",s.operator="operator",s.comma="comma",s.line_comment="line_comment",s.block_comment="block_comment";let nH=new nG(e=>[]),nB=e=>({type:o.keyword,tokenType:e.type,text:e.text,raw:e.raw}),nY=(e,{leading:t,trailing:n})=>(null!=t&&t.length&&(e={...e,leadingComments:t}),null!=n&&n.length&&(e={...e,trailingComments:n}),e),nk=(e,{leading:t,trailing:n})=>{if(null!=t&&t.length){let[n,...r]=e;e=[nY(n,{leading:t}),...r]}if(null!=n&&n.length){let t=e.slice(0,-1),r=e[e.length-1];e=[...t,nY(r,{trailing:n})]}return e},nV={Lexer:nH,ParserRules:[{name:"main$ebnf$1",symbols:[]},{name:"main$ebnf$1",symbols:["main$ebnf$1","statement"],postprocess:e=>e[0].concat([e[1]])},{name:"main",symbols:["main$ebnf$1"],postprocess:([e])=>{let t=e[e.length-1];return t&&!t.hasSemicolon?t.children.length>0?e:e.slice(0,-1):e}},{name:"statement$subexpression$1",symbols:[nH.has("DELIMITER")?{type:"DELIMITER"}:DELIMITER]},{name:"statement$subexpression$1",symbols:[nH.has("EOF")?{type:"EOF"}:EOF]},{name:"statement",symbols:["expressions_or_clauses","statement$subexpression$1"],postprocess:([e,[t]])=>({type:o.statement,children:e,hasSemicolon:t.type===r.DELIMITER})},{name:"expressions_or_clauses$ebnf$1",symbols:[]},{name:"expressions_or_clauses$ebnf$1",symbols:["expressions_or_clauses$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"expressions_or_clauses$ebnf$2",symbols:[]},{name:"expressions_or_clauses$ebnf$2",symbols:["expressions_or_clauses$ebnf$2","clause"],postprocess:e=>e[0].concat([e[1]])},{name:"expressions_or_clauses",symbols:["expressions_or_clauses$ebnf$1","expressions_or_clauses$ebnf$2"],postprocess:([e,t])=>[...e,...t]},{name:"clause$subexpression$1",symbols:["limit_clause"]},{name:"clause$subexpression$1",symbols:["select_clause"]},{name:"clause$subexpression$1",symbols:["other_clause"]},{name:"clause$subexpression$1",symbols:["set_operation"]},{name:"clause",symbols:["clause$subexpression$1"],postprocess:([[e]])=>e},{name:"limit_clause$ebnf$1$subexpression$1$ebnf$1",symbols:["free_form_sql"]},{name:"limit_clause$ebnf$1$subexpression$1$ebnf$1",symbols:["limit_clause$ebnf$1$subexpression$1$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"limit_clause$ebnf$1$subexpression$1",symbols:[nH.has("COMMA")?{type:"COMMA"}:COMMA,"limit_clause$ebnf$1$subexpression$1$ebnf$1"]},{name:"limit_clause$ebnf$1",symbols:["limit_clause$ebnf$1$subexpression$1"],postprocess:nF},{name:"limit_clause$ebnf$1",symbols:[],postprocess:()=>null},{name:"limit_clause",symbols:[nH.has("LIMIT")?{type:"LIMIT"}:LIMIT,"_","expression_chain_","limit_clause$ebnf$1"],postprocess:([e,t,n,r])=>{if(!r)return{type:o.limit_clause,limitKw:nY(nB(e),{trailing:t}),count:n};{let[i,a]=r;return{type:o.limit_clause,limitKw:nY(nB(e),{trailing:t}),offset:n,count:a}}}},{name:"select_clause$subexpression$1$ebnf$1",symbols:[]},{name:"select_clause$subexpression$1$ebnf$1",symbols:["select_clause$subexpression$1$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"select_clause$subexpression$1",symbols:["all_columns_asterisk","select_clause$subexpression$1$ebnf$1"]},{name:"select_clause$subexpression$1$ebnf$2",symbols:[]},{name:"select_clause$subexpression$1$ebnf$2",symbols:["select_clause$subexpression$1$ebnf$2","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"select_clause$subexpression$1",symbols:["asteriskless_free_form_sql","select_clause$subexpression$1$ebnf$2"]},{name:"select_clause",symbols:[nH.has("RESERVED_SELECT")?{type:"RESERVED_SELECT"}:RESERVED_SELECT,"select_clause$subexpression$1"],postprocess:([e,[t,n]])=>({type:o.clause,nameKw:nB(e),children:[t,...n]})},{name:"select_clause",symbols:[nH.has("RESERVED_SELECT")?{type:"RESERVED_SELECT"}:RESERVED_SELECT],postprocess:([e])=>({type:o.clause,nameKw:nB(e),children:[]})},{name:"all_columns_asterisk",symbols:[nH.has("ASTERISK")?{type:"ASTERISK"}:ASTERISK],postprocess:()=>({type:o.all_columns_asterisk})},{name:"other_clause$ebnf$1",symbols:[]},{name:"other_clause$ebnf$1",symbols:["other_clause$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"other_clause",symbols:[nH.has("RESERVED_CLAUSE")?{type:"RESERVED_CLAUSE"}:RESERVED_CLAUSE,"other_clause$ebnf$1"],postprocess:([e,t])=>({type:o.clause,nameKw:nB(e),children:t})},{name:"set_operation$ebnf$1",symbols:[]},{name:"set_operation$ebnf$1",symbols:["set_operation$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"set_operation",symbols:[nH.has("RESERVED_SET_OPERATION")?{type:"RESERVED_SET_OPERATION"}:RESERVED_SET_OPERATION,"set_operation$ebnf$1"],postprocess:([e,t])=>({type:o.set_operation,nameKw:nB(e),children:t})},{name:"expression_chain_$ebnf$1",symbols:["expression_with_comments_"]},{name:"expression_chain_$ebnf$1",symbols:["expression_chain_$ebnf$1","expression_with_comments_"],postprocess:e=>e[0].concat([e[1]])},{name:"expression_chain_",symbols:["expression_chain_$ebnf$1"],postprocess:nF},{name:"expression_chain$ebnf$1",symbols:[]},{name:"expression_chain$ebnf$1",symbols:["expression_chain$ebnf$1","_expression_with_comments"],postprocess:e=>e[0].concat([e[1]])},{name:"expression_chain",symbols:["expression","expression_chain$ebnf$1"],postprocess:([e,t])=>[e,...t]},{name:"andless_expression_chain$ebnf$1",symbols:[]},{name:"andless_expression_chain$ebnf$1",symbols:["andless_expression_chain$ebnf$1","_andless_expression_with_comments"],postprocess:e=>e[0].concat([e[1]])},{name:"andless_expression_chain",symbols:["andless_expression","andless_expression_chain$ebnf$1"],postprocess:([e,t])=>[e,...t]},{name:"expression_with_comments_",symbols:["expression","_"],postprocess:([e,t])=>nY(e,{trailing:t})},{name:"_expression_with_comments",symbols:["_","expression"],postprocess:([e,t])=>nY(t,{leading:e})},{name:"_andless_expression_with_comments",symbols:["_","andless_expression"],postprocess:([e,t])=>nY(t,{leading:e})},{name:"free_form_sql$subexpression$1",symbols:["asteriskless_free_form_sql"]},{name:"free_form_sql$subexpression$1",symbols:["asterisk"]},{name:"free_form_sql",symbols:["free_form_sql$subexpression$1"],postprocess:([[e]])=>e},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["asteriskless_andless_expression"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["logic_operator"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["between_predicate"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["comma"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["comment"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["other_keyword"]},{name:"asteriskless_free_form_sql",symbols:["asteriskless_free_form_sql$subexpression$1"],postprocess:([[e]])=>e},{name:"expression$subexpression$1",symbols:["andless_expression"]},{name:"expression$subexpression$1",symbols:["logic_operator"]},{name:"expression",symbols:["expression$subexpression$1"],postprocess:([[e]])=>e},{name:"andless_expression$subexpression$1",symbols:["asteriskless_andless_expression"]},{name:"andless_expression$subexpression$1",symbols:["asterisk"]},{name:"andless_expression",symbols:["andless_expression$subexpression$1"],postprocess:([[e]])=>e},{name:"asteriskless_andless_expression$subexpression$1",symbols:["array_subscript"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["case_expression"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["function_call"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["property_access"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["parenthesis"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["curly_braces"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["square_brackets"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["operator"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["identifier"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["parameter"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["literal"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["keyword"]},{name:"asteriskless_andless_expression",symbols:["asteriskless_andless_expression$subexpression$1"],postprocess:([[e]])=>e},{name:"array_subscript",symbols:[nH.has("ARRAY_IDENTIFIER")?{type:"ARRAY_IDENTIFIER"}:ARRAY_IDENTIFIER,"_","square_brackets"],postprocess:([e,t,n])=>({type:o.array_subscript,array:nY({type:o.identifier,text:e.text},{trailing:t}),parenthesis:n})},{name:"array_subscript",symbols:[nH.has("ARRAY_KEYWORD")?{type:"ARRAY_KEYWORD"}:ARRAY_KEYWORD,"_","square_brackets"],postprocess:([e,t,n])=>({type:o.array_subscript,array:nY(nB(e),{trailing:t}),parenthesis:n})},{name:"function_call",symbols:[nH.has("RESERVED_FUNCTION_NAME")?{type:"RESERVED_FUNCTION_NAME"}:RESERVED_FUNCTION_NAME,"_","parenthesis"],postprocess:([e,t,n])=>({type:o.function_call,nameKw:nY(nB(e),{trailing:t}),parenthesis:n})},{name:"parenthesis",symbols:[{literal:"("},"expressions_or_clauses",{literal:")"}],postprocess:([e,t,n])=>({type:o.parenthesis,children:t,openParen:"(",closeParen:")"})},{name:"curly_braces$ebnf$1",symbols:[]},{name:"curly_braces$ebnf$1",symbols:["curly_braces$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"curly_braces",symbols:[{literal:"{"},"curly_braces$ebnf$1",{literal:"}"}],postprocess:([e,t,n])=>({type:o.parenthesis,children:t,openParen:"{",closeParen:"}"})},{name:"square_brackets$ebnf$1",symbols:[]},{name:"square_brackets$ebnf$1",symbols:["square_brackets$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"square_brackets",symbols:[{literal:"["},"square_brackets$ebnf$1",{literal:"]"}],postprocess:([e,t,n])=>({type:o.parenthesis,children:t,openParen:"[",closeParen:"]"})},{name:"property_access$subexpression$1",symbols:["identifier"]},{name:"property_access$subexpression$1",symbols:["array_subscript"]},{name:"property_access$subexpression$1",symbols:["all_columns_asterisk"]},{name:"property_access",symbols:["expression","_",nH.has("DOT")?{type:"DOT"}:DOT,"_","property_access$subexpression$1"],postprocess:([e,t,n,r,[i]])=>({type:o.property_access,object:nY(e,{trailing:t}),property:nY(i,{leading:r})})},{name:"between_predicate",symbols:[nH.has("BETWEEN")?{type:"BETWEEN"}:BETWEEN,"_","andless_expression_chain","_",nH.has("AND")?{type:"AND"}:AND,"_","andless_expression"],postprocess:([e,t,n,r,i,a,s])=>({type:o.between_predicate,betweenKw:nB(e),expr1:nk(n,{leading:t,trailing:r}),andKw:nB(i),expr2:[nY(s,{leading:a})]})},{name:"case_expression$ebnf$1",symbols:["expression_chain_"],postprocess:nF},{name:"case_expression$ebnf$1",symbols:[],postprocess:()=>null},{name:"case_expression$ebnf$2",symbols:[]},{name:"case_expression$ebnf$2",symbols:["case_expression$ebnf$2","case_clause"],postprocess:e=>e[0].concat([e[1]])},{name:"case_expression",symbols:[nH.has("CASE")?{type:"CASE"}:CASE,"_","case_expression$ebnf$1","case_expression$ebnf$2",nH.has("END")?{type:"END"}:END],postprocess:([e,t,n,r,i])=>({type:o.case_expression,caseKw:nY(nB(e),{trailing:t}),endKw:nB(i),expr:n||[],clauses:r})},{name:"case_clause",symbols:[nH.has("WHEN")?{type:"WHEN"}:WHEN,"_","expression_chain_",nH.has("THEN")?{type:"THEN"}:THEN,"_","expression_chain_"],postprocess:([e,t,n,r,i,a])=>({type:o.case_when,whenKw:nY(nB(e),{trailing:t}),thenKw:nY(nB(r),{trailing:i}),condition:n,result:a})},{name:"case_clause",symbols:[nH.has("ELSE")?{type:"ELSE"}:ELSE,"_","expression_chain_"],postprocess:([e,t,n])=>({type:o.case_else,elseKw:nY(nB(e),{trailing:t}),result:n})},{name:"comma$subexpression$1",symbols:[nH.has("COMMA")?{type:"COMMA"}:COMMA]},{name:"comma",symbols:["comma$subexpression$1"],postprocess:([[e]])=>({type:o.comma})},{name:"asterisk$subexpression$1",symbols:[nH.has("ASTERISK")?{type:"ASTERISK"}:ASTERISK]},{name:"asterisk",symbols:["asterisk$subexpression$1"],postprocess:([[e]])=>({type:o.operator,text:e.text})},{name:"operator$subexpression$1",symbols:[nH.has("OPERATOR")?{type:"OPERATOR"}:OPERATOR]},{name:"operator",symbols:["operator$subexpression$1"],postprocess:([[e]])=>({type:o.operator,text:e.text})},{name:"identifier$subexpression$1",symbols:[nH.has("IDENTIFIER")?{type:"IDENTIFIER"}:IDENTIFIER]},{name:"identifier$subexpression$1",symbols:[nH.has("QUOTED_IDENTIFIER")?{type:"QUOTED_IDENTIFIER"}:QUOTED_IDENTIFIER]},{name:"identifier$subexpression$1",symbols:[nH.has("VARIABLE")?{type:"VARIABLE"}:VARIABLE]},{name:"identifier",symbols:["identifier$subexpression$1"],postprocess:([[e]])=>({type:o.identifier,text:e.text})},{name:"parameter$subexpression$1",symbols:[nH.has("NAMED_PARAMETER")?{type:"NAMED_PARAMETER"}:NAMED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nH.has("QUOTED_PARAMETER")?{type:"QUOTED_PARAMETER"}:QUOTED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nH.has("NUMBERED_PARAMETER")?{type:"NUMBERED_PARAMETER"}:NUMBERED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nH.has("POSITIONAL_PARAMETER")?{type:"POSITIONAL_PARAMETER"}:POSITIONAL_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nH.has("CUSTOM_PARAMETER")?{type:"CUSTOM_PARAMETER"}:CUSTOM_PARAMETER]},{name:"parameter",symbols:["parameter$subexpression$1"],postprocess:([[e]])=>({type:o.parameter,key:e.key,text:e.text})},{name:"literal$subexpression$1",symbols:[nH.has("NUMBER")?{type:"NUMBER"}:NUMBER]},{name:"literal$subexpression$1",symbols:[nH.has("STRING")?{type:"STRING"}:STRING]},{name:"literal",symbols:["literal$subexpression$1"],postprocess:([[e]])=>({type:o.literal,text:e.text})},{name:"keyword$subexpression$1",symbols:[nH.has("RESERVED_KEYWORD")?{type:"RESERVED_KEYWORD"}:RESERVED_KEYWORD]},{name:"keyword$subexpression$1",symbols:[nH.has("RESERVED_PHRASE")?{type:"RESERVED_PHRASE"}:RESERVED_PHRASE]},{name:"keyword$subexpression$1",symbols:[nH.has("RESERVED_JOIN")?{type:"RESERVED_JOIN"}:RESERVED_JOIN]},{name:"keyword",symbols:["keyword$subexpression$1"],postprocess:([[e]])=>nB(e)},{name:"logic_operator$subexpression$1",symbols:[nH.has("AND")?{type:"AND"}:AND]},{name:"logic_operator$subexpression$1",symbols:[nH.has("OR")?{type:"OR"}:OR]},{name:"logic_operator$subexpression$1",symbols:[nH.has("XOR")?{type:"XOR"}:XOR]},{name:"logic_operator",symbols:["logic_operator$subexpression$1"],postprocess:([[e]])=>nB(e)},{name:"other_keyword$subexpression$1",symbols:[nH.has("WHEN")?{type:"WHEN"}:WHEN]},{name:"other_keyword$subexpression$1",symbols:[nH.has("THEN")?{type:"THEN"}:THEN]},{name:"other_keyword$subexpression$1",symbols:[nH.has("ELSE")?{type:"ELSE"}:ELSE]},{name:"other_keyword$subexpression$1",symbols:[nH.has("END")?{type:"END"}:END]},{name:"other_keyword",symbols:["other_keyword$subexpression$1"],postprocess:([[e]])=>nB(e)},{name:"_$ebnf$1",symbols:[]},{name:"_$ebnf$1",symbols:["_$ebnf$1","comment"],postprocess:e=>e[0].concat([e[1]])},{name:"_",symbols:["_$ebnf$1"],postprocess:([e])=>e},{name:"comment",symbols:[nH.has("LINE_COMMENT")?{type:"LINE_COMMENT"}:LINE_COMMENT],postprocess:([e])=>({type:o.line_comment,text:e.text,precedingWhitespace:e.precedingWhitespace})},{name:"comment",symbols:[nH.has("BLOCK_COMMENT")?{type:"BLOCK_COMMENT"}:BLOCK_COMMENT],postprocess:([e])=>({type:o.block_comment,text:e.text,precedingWhitespace:e.precedingWhitespace})}],ParserStart:"main"},{Parser:n$,Grammar:nW}=nL,nZ=/^\s+/u;(l=i||(i={}))[l.SPACE=0]="SPACE",l[l.NO_SPACE=1]="NO_SPACE",l[l.NO_NEWLINE=2]="NO_NEWLINE",l[l.NEWLINE=3]="NEWLINE",l[l.MANDATORY_NEWLINE=4]="MANDATORY_NEWLINE",l[l.INDENT=5]="INDENT",l[l.SINGLE_INDENT=6]="SINGLE_INDENT";class nj{items=[];constructor(e){this.indentation=e}add(...e){for(let t of e)switch(t){case i.SPACE:this.items.push(i.SPACE);break;case i.NO_SPACE:this.trimHorizontalWhitespace();break;case i.NO_NEWLINE:this.trimWhitespace();break;case i.NEWLINE:this.trimHorizontalWhitespace(),this.addNewline(i.NEWLINE);break;case i.MANDATORY_NEWLINE:this.trimHorizontalWhitespace(),this.addNewline(i.MANDATORY_NEWLINE);break;case i.INDENT:this.addIndentation();break;case i.SINGLE_INDENT:this.items.push(i.SINGLE_INDENT);break;default:this.items.push(t)}}trimHorizontalWhitespace(){for(;nX(_(this.items));)this.items.pop()}trimWhitespace(){for(;nK(_(this.items));)this.items.pop()}addNewline(e){if(this.items.length>0)switch(_(this.items)){case i.NEWLINE:this.items.pop(),this.items.push(e);break;case i.MANDATORY_NEWLINE:break;default:this.items.push(e)}}addIndentation(){for(let e=0;ethis.itemToString(e)).join("")}getLayoutItems(){return this.items}itemToString(e){switch(e){case i.SPACE:return" ";case i.NEWLINE:case i.MANDATORY_NEWLINE:return"\n";case i.SINGLE_INDENT:return this.indentation.getSingleIndent();default:return e}}}let nX=e=>e===i.SPACE||e===i.SINGLE_INDENT,nK=e=>e===i.SPACE||e===i.SINGLE_INDENT||e===i.NEWLINE,nz="top-level";class nq{indentTypes=[];constructor(e){this.indent=e}getSingleIndent(){return this.indent}getLevel(){return this.indentTypes.length}increaseTopLevel(){this.indentTypes.push(nz)}increaseBlockLevel(){this.indentTypes.push("block-level")}decreaseTopLevel(){this.indentTypes.length>0&&_(this.indentTypes)===nz&&this.indentTypes.pop()}decreaseBlockLevel(){for(;this.indentTypes.length>0;){let e=this.indentTypes.pop();if(e!==nz)break}}}class nJ extends nj{length=0;trailingSpace=!1;constructor(e){super(new nq("")),this.expressionWidth=e}add(...e){if(e.forEach(e=>this.addToLength(e)),this.length>this.expressionWidth)throw new nQ;super.add(...e)}addToLength(e){if("string"==typeof e)this.length+=e.length,this.trailingSpace=!1;else if(e===i.MANDATORY_NEWLINE||e===i.NEWLINE)throw new nQ;else e===i.INDENT||e===i.SINGLE_INDENT||e===i.SPACE?this.trailingSpace||(this.length++,this.trailingSpace=!0):(e===i.NO_NEWLINE||e===i.NO_SPACE)&&this.trailingSpace&&(this.trailingSpace=!1,this.length--)}}class nQ extends Error{}class n0{inline=!1;nodes=[];index=-1;constructor({cfg:e,dialectCfg:t,params:n,layout:r,inline:o=!1}){this.cfg=e,this.dialectCfg=t,this.inline=o,this.params=n,this.layout=r}format(e){for(this.nodes=e,this.index=0;this.index{this.layout.add(this.showKw(e.nameKw))}),this.formatNode(e.parenthesis)}formatArraySubscript(e){this.withComments(e.array,()=>{this.layout.add(e.array.type===o.keyword?this.showKw(e.array):e.array.text)}),this.formatNode(e.parenthesis)}formatPropertyAccess(e){this.formatNode(e.object),this.layout.add(i.NO_SPACE,"."),this.formatNode(e.property)}formatParenthesis(e){let t=this.formatInlineExpression(e.children);t?(this.layout.add(e.openParen),this.layout.add(...t.getLayoutItems()),this.layout.add(i.NO_SPACE,e.closeParen,i.SPACE)):(this.layout.add(e.openParen,i.NEWLINE),nC(this.cfg)?(this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children)):(this.layout.indentation.increaseBlockLevel(),this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseBlockLevel()),this.layout.add(i.NEWLINE,i.INDENT,e.closeParen,i.SPACE))}formatBetweenPredicate(e){this.layout.add(this.showKw(e.betweenKw),i.SPACE),this.layout=this.formatSubExpression(e.expr1),this.layout.add(i.NO_SPACE,i.SPACE,this.showNonTabularKw(e.andKw),i.SPACE),this.layout=this.formatSubExpression(e.expr2),this.layout.add(i.SPACE)}formatCaseExpression(e){this.formatNode(e.caseKw),this.layout.indentation.increaseBlockLevel(),this.layout=this.formatSubExpression(e.expr),this.layout=this.formatSubExpression(e.clauses),this.layout.indentation.decreaseBlockLevel(),this.layout.add(i.NEWLINE,i.INDENT),this.formatNode(e.endKw)}formatCaseWhen(e){this.layout.add(i.NEWLINE,i.INDENT),this.formatNode(e.whenKw),this.layout=this.formatSubExpression(e.condition),this.formatNode(e.thenKw),this.layout=this.formatSubExpression(e.result)}formatCaseElse(e){this.layout.add(i.NEWLINE,i.INDENT),this.formatNode(e.elseKw),this.layout=this.formatSubExpression(e.result)}formatClause(e){this.isOnelineClause(e)?this.formatClauseInOnelineStyle(e):nC(this.cfg)?this.formatClauseInTabularStyle(e):this.formatClauseInIndentedStyle(e)}isOnelineClause(e){return this.dialectCfg.onelineClauses[e.nameKw.text]}formatClauseInIndentedStyle(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.NEWLINE),this.layout.indentation.increaseTopLevel(),this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseTopLevel()}formatClauseInOnelineStyle(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.SPACE),this.layout=this.formatSubExpression(e.children)}formatClauseInTabularStyle(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.SPACE),this.layout.indentation.increaseTopLevel(),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseTopLevel()}formatSetOperation(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.NEWLINE),this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children)}formatLimitClause(e){this.withComments(e.limitKw,()=>{this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.limitKw))}),this.layout.indentation.increaseTopLevel(),nC(this.cfg)?this.layout.add(i.SPACE):this.layout.add(i.NEWLINE,i.INDENT),e.offset&&(this.layout=this.formatSubExpression(e.offset),this.layout.add(i.NO_SPACE,",",i.SPACE)),this.layout=this.formatSubExpression(e.count),this.layout.indentation.decreaseTopLevel()}formatAllColumnsAsterisk(e){this.layout.add("*",i.SPACE)}formatLiteral(e){this.layout.add(e.text,i.SPACE)}formatIdentifier(e){this.layout.add(e.text,i.SPACE)}formatParameter(e){this.layout.add(this.params.get(e),i.SPACE)}formatOperator({text:e}){this.cfg.denseOperators||this.dialectCfg.alwaysDenseOperators.includes(e)?this.layout.add(i.NO_SPACE,e):":"===e?this.layout.add(i.NO_SPACE,e,i.SPACE):this.layout.add(e,i.SPACE)}formatComma(e){this.inline?this.layout.add(i.NO_SPACE,",",i.SPACE):this.layout.add(i.NO_SPACE,",",i.NEWLINE,i.INDENT)}withComments(e,t){this.formatComments(e.leadingComments),t(),this.formatComments(e.trailingComments)}formatComments(e){e&&e.forEach(e=>{e.type===o.line_comment?this.formatLineComment(e):this.formatBlockComment(e)})}formatLineComment(e){y(e.precedingWhitespace||"")?this.layout.add(i.NEWLINE,i.INDENT,e.text,i.MANDATORY_NEWLINE,i.INDENT):this.layout.getLayoutItems().length>0?this.layout.add(i.NO_NEWLINE,i.SPACE,e.text,i.MANDATORY_NEWLINE,i.INDENT):this.layout.add(e.text,i.MANDATORY_NEWLINE,i.INDENT)}formatBlockComment(e){this.isMultilineBlockComment(e)?(this.splitBlockComment(e.text).forEach(e=>{this.layout.add(i.NEWLINE,i.INDENT,e)}),this.layout.add(i.NEWLINE,i.INDENT)):this.layout.add(e.text,i.SPACE)}isMultilineBlockComment(e){return y(e.text)||y(e.precedingWhitespace||"")}isDocComment(e){let t=e.split(/\n/);return/^\/\*\*?$/.test(t[0])&&t.slice(1,t.length-1).every(e=>/^\s*\*/.test(e))&&/^\s*\*\/$/.test(_(t))}splitBlockComment(e){return this.isDocComment(e)?e.split(/\n/).map(e=>/^\s*\*/.test(e)?" "+e.replace(/^\s*/,""):e):e.split(/\n/).map(e=>e.replace(/^\s*/,""))}formatSubExpression(e){return new n0({cfg:this.cfg,dialectCfg:this.dialectCfg,params:this.params,layout:this.layout,inline:this.inline}).format(e)}formatInlineExpression(e){let t=this.params.getPositionalParameterIndex();try{return new n0({cfg:this.cfg,dialectCfg:this.dialectCfg,params:this.params,layout:new nJ(this.cfg.expressionWidth),inline:!0}).format(e)}catch(e){if(e instanceof nQ){this.params.setPositionalParameterIndex(t);return}throw e}}formatKeywordNode(e){switch(e.tokenType){case r.RESERVED_JOIN:return this.formatJoin(e);case r.AND:case r.OR:case r.XOR:return this.formatLogicalOperator(e);default:return this.formatKeyword(e)}}formatJoin(e){nC(this.cfg)?(this.layout.indentation.decreaseTopLevel(),this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE),this.layout.indentation.increaseTopLevel()):this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE)}formatKeyword(e){this.layout.add(this.showKw(e),i.SPACE)}formatLogicalOperator(e){"before"===this.cfg.logicalOperatorNewline?nC(this.cfg)?(this.layout.indentation.decreaseTopLevel(),this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE),this.layout.indentation.increaseTopLevel()):this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE):this.layout.add(this.showKw(e),i.NEWLINE,i.INDENT)}showKw(e){var t;return R(t=e.tokenType)||t===r.RESERVED_CLAUSE||t===r.RESERVED_SELECT||t===r.RESERVED_SET_OPERATION||t===r.RESERVED_JOIN||t===r.LIMIT?function(e,t){if("standard"===t)return e;let n=[];return e.length>=10&&e.includes(" ")&&([e,...n]=e.split(" ")),(e="tabularLeft"===t?e.padEnd(9," "):e.padStart(9," "))+["",...n].join(" ")}(this.showNonTabularKw(e),this.cfg.indentStyle):this.showNonTabularKw(e)}showNonTabularKw(e){switch(this.cfg.keywordCase){case"preserve":return L(e.raw);case"upper":return e.text;case"lower":return e.text.toLowerCase()}}}class n1{constructor(e,t){this.dialect=e,this.cfg=t,this.params=new ng(this.cfg.params)}format(e){let t=this.parse(e),n=this.formatAst(t),r=this.postFormat(n);return r.trimEnd()}parse(e){return(function(e){let t={},n=new nG(n=>[...e.tokenize(n,t).map(nv).map(ny).map(nP).map(nb),E(n.length)]),r=new n$(nW.fromCompiled(nV),{lexer:n});return{parse:(e,n)=>{t=n;let{results:o}=r.feed(e);if(1===o.length)return o[0];if(0===o.length)throw Error("Parse error: Invalid SQL");throw Error(`Parse error: Ambiguous grammar -${JSON.stringify(o,void 0,2)}`)}}})(this.dialect.tokenizer).parse(e,this.cfg.paramTypes||{})}formatAst(e){return e.map(e=>this.formatStatement(e)).join("\n".repeat(this.cfg.linesBetweenQueries+1))}formatStatement(e){let t=new n0({cfg:this.cfg,dialectCfg:this.dialect.formatOptions,params:this.params,layout:new nj(new nq(n_(this.cfg)))}).format(e.children);return e.hasSemicolon&&(this.cfg.newlineBeforeSemicolon?t.add(i.NEWLINE,";"):t.add(i.NO_NEWLINE,";")),t.toString()}postFormat(e){if(this.cfg.tabulateAlias&&(e=function(e){let t=e.split("\n"),n=[];for(let e=0;e({line:e,matches:e.match(/(^.*?\S) (AS )?(\S+,?$)/i)})).map(({line:e,matches:t})=>t?{precedingText:t[1],as:t[2],alias:t[3]}:{precedingText:e}),i=g(o.map(({precedingText:e})=>e.replace(/\s*,\s*$/,"")));n=[...n,...r=o.map(({precedingText:e,as:t,alias:n})=>e+(n?" ".repeat(i-e.length+1)+(t??"")+n:""))]}n.push(t[e])}return n.join("\n")}(e)),"before"===this.cfg.commaPosition||"tabular"===this.cfg.commaPosition){var t,n,r;t=e,n=this.cfg.commaPosition,r=n_(this.cfg),e=(function(e){let t=[];for(let n=0;n{if(1===e.length)return e;if("tabular"===n)return function(e){let t=g(e.map(e=>e.replace(/\s*--.*/,"")))-1;return e.map((n,r)=>r===e.length-1?n:function(e,t){let[,n,r]=e.match(/^(.*?),(\s*--.*)?$/)||[],o=" ".repeat(t-n.length);return`${n}${o},${r??""}`}(n,t))}(e);if("before"===n)return e.map(e=>e.replace(/,(\s*(--.*)?$)/,"$1")).map((e,t)=>{if(0===t)return e;let[n]=e.match(nZ)||[""];return n.replace(RegExp(r+"$"),"")+r.replace(/ {2}$/,", ")+e.trimStart()});throw Error(`Unexpected commaPosition: ${n}`)}).join("\n")}return e}}class n2 extends Error{}let n4={bigquery:"bigquery",db2:"db2",hive:"hive",mariadb:"mariadb",mysql:"mysql",n1ql:"n1ql",plsql:"plsql",postgresql:"postgresql",redshift:"redshift",spark:"spark",sqlite:"sqlite",sql:"sql",trino:"trino",transactsql:"transactsql",tsql:"transactsql",singlestoredb:"singlestoredb",snowflake:"snowflake"},n6=Object.keys(n4),n3={tabWidth:2,useTabs:!1,keywordCase:"preserve",indentStyle:"standard",logicalOperatorNewline:"before",tabulateAlias:!1,commaPosition:"after",expressionWidth:50,linesBetweenQueries:1,denseOperators:!1,newlineBeforeSemicolon:!1},n8=(e,t={})=>{if("string"==typeof t.language&&!n6.includes(t.language))throw new n2(`Unsupported SQL dialect: ${t.language}`);let n=n4[t.language||"sql"];return n5(e,{...t,dialect:c[n]})},n5=(e,{dialect:t,...n})=>{if("string"!=typeof e)throw Error("Invalid query argument. Expected string, instead got "+typeof e);let r=function(e){if("multilineLists"in e)throw new n2("multilineLists config is no more supported.");if("newlineBeforeOpenParen"in e)throw new n2("newlineBeforeOpenParen config is no more supported.");if("newlineBeforeCloseParen"in e)throw new n2("newlineBeforeCloseParen config is no more supported.");if("aliasAs"in e)throw new n2("aliasAs config is no more supported.");if(e.expressionWidth<=0)throw new n2(`expressionWidth config must be positive number. Received ${e.expressionWidth} instead.`);if("before"===e.commaPosition&&e.useTabs)throw new n2("commaPosition: before does not work when tabs are used for indentation.");return e.params&&!function(e){let t=e instanceof Array?e:Object.values(e);return t.every(e=>"string"==typeof e)}(e.params)&&console.warn('WARNING: All "params" option values should be strings.'),e}({...n3,...n});return new n1(nN(t),r).format(e)};var n7=n(25519);function n9(){var e;let t=null!==(e=localStorage.getItem(n7.rU))&&void 0!==e?e:"";try{let e=JSON.parse(t);return e}catch(e){return null}}function re(){try{var e;let t=JSON.parse(null!==(e=localStorage.getItem(n7.C9))&&void 0!==e?e:"").user_id;return t}catch(e){return}}var rt=n(19284);let rn="__db_gpt_im_key",rr="__db_gpt_static_flow_nodes_key";function ro(e,t){if(!e)return"";try{return n8(e,{language:t})}catch(t){return e}}},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 s(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 l=[],c=!1,E=-1;function u(){c&&r&&(c=!1,r.length?l=r.concat(l):E=-1,l.length&&T())}function T(){if(!c){var e=s(u);c=!0;for(var t=l.length;t;){for(r=l,l=[];++E1)for(var n=1;n1?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 w(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 G(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length){n(a);return}var s=r;r+=1,s()\[\]\\.,;:\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},W={integer:function(e){return W.number(e)&&parseInt(e,10)===e},float:function(e){return W.number(e)&&!W.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"===(0,C.Z)(e)&&!W.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match($.email)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(V())},hex:function(e){return"string"==typeof e&&!!e.match($.hex)}},Z={required:k,whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(x(o.messages.whitespace,e.fullField))},type:function(e,t,n,r,o){if(e.required&&void 0===t){k(e,t,n,r,o);return}var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?W[i](t)||r.push(x(o.messages.types[i],e.fullField,e.type)):i&&(0,C.Z)(t)!==e.type&&r.push(x(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,s="number"==typeof e.max,l=t,c=null,E="number"==typeof t,u="string"==typeof t,T=Array.isArray(t);if(E?c="number":u?c="string":T&&(c="array"),!c)return!1;T&&(l=t.length),u&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?l!==e.len&&r.push(x(o.messages[c].len,e.fullField,e.len)):a&&!s&&le.max?r.push(x(o.messages[c].max,e.fullField,e.max)):a&&s&&(le.max)&&r.push(x(o.messages[c].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[Y]=Array.isArray(e[Y])?e[Y]:[],-1===e[Y].indexOf(t)&&r.push(x(o.messages[Y],e.fullField,e[Y].join(", ")))},pattern:function(e,t,n,r,o){!e.pattern||(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(x(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"!=typeof e.pattern||new RegExp(e.pattern).test(t)||r.push(x(o.messages.pattern.mismatch,e.fullField,t,e.pattern)))}},j=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(w(t,i)&&!e.required)return n();Z.required(e,t,r,a,o,i),w(t,i)||Z.type(e,t,r,a,o)}n(a)},X={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(w(t,"string")&&!e.required)return n();Z.required(e,t,r,i,o,"string"),w(t,"string")||(Z.type(e,t,r,i,o),Z.range(e,t,r,i,o),Z.pattern(e,t,r,i,o),!0===e.whitespace&&Z.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(w(t)&&!e.required)return n();Z.required(e,t,r,i,o),void 0!==t&&Z.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),w(t)&&!e.required)return n();Z.required(e,t,r,i,o),void 0!==t&&(Z.type(e,t,r,i,o),Z.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(w(t)&&!e.required)return n();Z.required(e,t,r,i,o),void 0!==t&&Z.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(w(t)&&!e.required)return n();Z.required(e,t,r,i,o),w(t)||Z.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(w(t)&&!e.required)return n();Z.required(e,t,r,i,o),void 0!==t&&(Z.type(e,t,r,i,o),Z.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(w(t)&&!e.required)return n();Z.required(e,t,r,i,o),void 0!==t&&(Z.type(e,t,r,i,o),Z.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();Z.required(e,t,r,i,o,"array"),null!=t&&(Z.type(e,t,r,i,o),Z.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(w(t)&&!e.required)return n();Z.required(e,t,r,i,o),void 0!==t&&Z.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(w(t)&&!e.required)return n();Z.required(e,t,r,i,o),void 0!==t&&Z.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(w(t,"string")&&!e.required)return n();Z.required(e,t,r,i,o),w(t,"string")||Z.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(w(t,"date")&&!e.required)return n();Z.required(e,t,r,a,o),!w(t,"date")&&(i=t instanceof Date?t:new Date(t),Z.type(e,i,r,a,o),i&&Z.range(e,i.getTime(),r,a,o))}n(a)},url:j,hex:j,email:j,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":(0,C.Z)(t);Z.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(w(t)&&!e.required)return n();Z.required(e,t,r,i,o)}n(i)}},K=function(){function e(t){(0,u.Z)(this,e),(0,A.Z)(this,"rules",null),(0,A.Z)(this,"_messages",L),this.define(t)}return(0,T.Z)(e,[{key:"define",value:function(e){var t=this;if(!e)throw Error("Cannot configure a schema with no rules");if("object"!==(0,C.Z)(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]})}},{key:"messages",value:function(e){return e&&(this._messages=B(g(),e)),this._messages}},{key:"validate",value:function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},i=t,a=r,s=o;if("function"==typeof a&&(s=a,a={}),!this.rules||0===Object.keys(this.rules).length)return s&&s(null,i),Promise.resolve(i);if(a.messages){var l=this.messages();l===L&&(l=g()),B(l,a.messages),a.messages=l}else a.messages=this.messages();var u={};(a.keys||Object.keys(this.rules)).forEach(function(e){var r=n.rules[e],o=i[e];r.forEach(function(r){var a=r;"function"==typeof a.transform&&(i===t&&(i=(0,c.Z)({},i)),null!=(o=i[e]=a.transform(o))&&(a.type=a.type||(Array.isArray(o)?"array":(0,C.Z)(o)))),(a="function"==typeof a?{validator:a}:(0,c.Z)({},a)).validator=n.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=n.getType(a),u[e]=u[e]||[],u[e].push({rule:a,value:o,source:i,field:e}))})});var T={};return function(e,t,n,r,o){if(t.first){var i=new Promise(function(t,i){var a;G((a=[],Object.keys(e).forEach(function(t){a.push.apply(a,(0,E.Z)(e[t]||[]))}),a),n,function(e){return r(e),e.length?i(new F(e,U(e))):t(o)})});return i.catch(function(e){return e}),i}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,c=0,u=[],T=new Promise(function(t,i){var T=function(e){if(u.push.apply(u,e),++c===l)return r(u),u.length?i(new F(u,U(u))):t(o)};s.length||(r(u),t(o)),s.forEach(function(t){var r=e[t];-1!==a.indexOf(t)?G(r,n,T):function(e,t,n){var r=[],o=0,i=e.length;function a(e){r.push.apply(r,(0,E.Z)(e||[])),++o===i&&n(r)}e.forEach(function(e){t(e,a)})}(r,n,T)})});return T.catch(function(e){return e}),T}(u,a,function(t,n){var r,o,s,l=t.rule,u=("object"===l.type||"array"===l.type)&&("object"===(0,C.Z)(l.fields)||"object"===(0,C.Z)(l.defaultField));function d(e,t){return(0,c.Z)((0,c.Z)({},t),{},{fullField:"".concat(l.fullField,".").concat(e),fullFields:l.fullFields?[].concat((0,E.Z)(l.fullFields),[e]):[e]})}function f(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Array.isArray(r)?r:[r];!a.suppressWarning&&o.length&&e.warning("async-validator:",o),o.length&&void 0!==l.message&&(o=[].concat(l.message));var s=o.map(H(l,i));if(a.first&&s.length)return T[l.field]=1,n(s);if(u){if(l.required&&!t.value)return void 0!==l.message?s=[].concat(l.message).map(H(l,i)):a.error&&(s=[a.error(l,x(a.messages.required,l.field))]),n(s);var f={};l.defaultField&&Object.keys(t.value).map(function(e){f[e]=l.defaultField});var R={};Object.keys(f=(0,c.Z)((0,c.Z)({},f),t.rule.fields)).forEach(function(e){var t=f[e],n=Array.isArray(t)?t:[t];R[e]=n.map(d.bind(null,e))});var A=new e(R);A.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),A.validate(t.value,t.rule.options||a,function(e){var t=[];s&&s.length&&t.push.apply(t,(0,E.Z)(s)),e&&e.length&&t.push.apply(t,(0,E.Z)(e)),n(t.length?t:null)})}else n(s)}if(u=u&&(l.required||!l.required&&t.value),l.field=t.field,l.asyncValidator)r=l.asyncValidator(l,t.value,f,t.source,a);else if(l.validator){try{r=l.validator(l,t.value,f,t.source,a)}catch(e){null===(o=(s=console).error)||void 0===o||o.call(s,e),a.suppressValidatorError||setTimeout(function(){throw e},0),f(e.message)}!0===r?f():!1===r?f("function"==typeof l.message?l.message(l.fullField||l.field):l.message||"".concat(l.fullField||l.field," fails")):r instanceof Array?f(r):r instanceof Error&&f(r.message)}r&&r.then&&r.then(function(){return f()},function(e){return f(e)})},function(e){!function(e){for(var t=[],n={},r=0;r2&&void 0!==arguments[2]&&arguments[2];return e&&e.some(function(e){return el(t,e,n)})}function el(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!e&&!!t&&(!!n||e.length===t.length)&&t.every(function(t,n){return e[n]===t})}function ec(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===(0,C.Z)(t.target)&&e in t.target?t.target[e]:t}function eE(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat((0,E.Z)(e.slice(0,n)),[o],(0,E.Z)(e.slice(n,t)),(0,E.Z)(e.slice(t+1,r))):i<0?[].concat((0,E.Z)(e.slice(0,t)),(0,E.Z)(e.slice(t+1,n+1)),[o],(0,E.Z)(e.slice(n+1,r))):e}var eu=["name"],eT=[];function ed(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var ef=function(e){(0,f.Z)(n,e);var t=(0,R.Z)(n);function n(e){var r;return(0,u.Z)(this,n),r=t.call(this,e),(0,A.Z)((0,d.Z)(r),"state",{resetCount:0}),(0,A.Z)((0,d.Z)(r),"cancelRegisterFunc",null),(0,A.Z)((0,d.Z)(r),"mounted",!1),(0,A.Z)((0,d.Z)(r),"touched",!1),(0,A.Z)((0,d.Z)(r),"dirty",!1),(0,A.Z)((0,d.Z)(r),"validatePromise",void 0),(0,A.Z)((0,d.Z)(r),"prevValidating",void 0),(0,A.Z)((0,d.Z)(r),"errors",eT),(0,A.Z)((0,d.Z)(r),"warnings",eT),(0,A.Z)((0,d.Z)(r),"cancelRegister",function(){var e=r.props,t=e.preserve,n=e.isListField,o=e.name;r.cancelRegisterFunc&&r.cancelRegisterFunc(n,t,ei(o)),r.cancelRegisterFunc=null}),(0,A.Z)((0,d.Z)(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,E.Z)(o),(0,E.Z)(t)):[]}),(0,A.Z)((0,d.Z)(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})}),(0,A.Z)((0,d.Z)(r),"refresh",function(){r.mounted&&r.setState(function(e){return{resetCount:e.resetCount+1}})}),(0,A.Z)((0,d.Z)(r),"metaCache",null),(0,A.Z)((0,d.Z)(r),"triggerMetaEvent",function(e){var t=r.props.onMetaChange;if(t){var n=(0,c.Z)((0,c.Z)({},r.getMeta()),{},{destroy:e});(0,O.Z)(r.metaCache,n)||t(n),r.metaCache=n}else r.metaCache=null}),(0,A.Z)((0,d.Z)(r),"onStoreChange",function(e,t,n){var o=r.props,i=o.shouldUpdate,a=o.dependencies,s=void 0===a?[]:a,l=o.onReset,c=n.store,E=r.getNamePath(),u=r.getValue(e),T=r.getValue(c),d=t&&es(t,E);switch("valueUpdate"!==n.type||"external"!==n.source||(0,O.Z)(u,T)||(r.touched=!0,r.dirty=!0,r.validatePromise=null,r.errors=eT,r.warnings=eT,r.triggerMetaEvent()),n.type){case"reset":if(!t||d){r.touched=!1,r.dirty=!1,r.validatePromise=void 0,r.errors=eT,r.warnings=eT,r.triggerMetaEvent(),null==l||l(),r.refresh();return}break;case"remove":if(i&&ed(i,e,c,u,T,n)){r.reRender();return}break;case"setField":var f=n.data;if(d){"touched"in f&&(r.touched=f.touched),"validating"in f&&!("originRCField"in f)&&(r.validatePromise=f.validating?Promise.resolve([]):null),"errors"in f&&(r.errors=f.errors||eT),"warnings"in f&&(r.warnings=f.warnings||eT),r.dirty=!0,r.triggerMetaEvent(),r.reRender();return}if("value"in f&&es(t,E,!0)||i&&!E.length&&ed(i,e,c,u,T,n)){r.reRender();return}break;case"dependenciesUpdate":if(s.map(ei).some(function(e){return es(n.relatedFields,e)})){r.reRender();return}break;default:if(d||(!s.length||E.length||i)&&ed(i,e,c,u,T,n)){r.reRender();return}}!0===i&&r.reRender()}),(0,A.Z)((0,d.Z)(r),"validateRules",function(e){var t=r.getNamePath(),n=r.getValue(),o=e||{},i=o.triggerName,a=o.validateOnly,u=Promise.resolve().then((0,l.Z)((0,s.Z)().mark(function o(){var a,T,d,f,R,A,S;return(0,s.Z)().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(r.mounted){o.next=2;break}return o.abrupt("return",[]);case 2:if(d=void 0!==(T=(a=r.props).validateFirst)&&T,f=a.messageVariables,R=a.validateDebounce,A=r.getRules(),i&&(A=A.filter(function(e){return e}).filter(function(e){var t=e.validateTrigger;return!t||_(t).includes(i)})),!(R&&i)){o.next=10;break}return o.next=8,new Promise(function(e){setTimeout(e,R)});case 8:if(!(r.validatePromise!==u)){o.next=10;break}return o.abrupt("return",[]);case 10:return(S=function(e,t,n,r,o,i){var a,E,u=e.join("."),T=n.map(function(e,t){var n=e.validator,r=(0,c.Z)((0,c.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]:eT;if(r.validatePromise===u){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?eT:r;t?o.push.apply(o,(0,E.Z)(i)):n.push.apply(n,(0,E.Z)(i))}),r.errors=n,r.warnings=o,r.triggerMetaEvent(),r.reRender()}}),o.abrupt("return",S);case 13:case"end":return o.stop()}},o)})));return void 0!==a&&a||(r.validatePromise=u,r.dirty=!0,r.errors=eT,r.warnings=eT,r.triggerMetaEvent(),r.reRender()),u}),(0,A.Z)((0,d.Z)(r),"isFieldValidating",function(){return!!r.validatePromise}),(0,A.Z)((0,d.Z)(r),"isFieldTouched",function(){return r.touched}),(0,A.Z)((0,d.Z)(r),"isFieldDirty",function(){return!!r.dirty||void 0!==r.props.initialValue||void 0!==(0,r.props.fieldContext.getInternalHooks(h).getInitialValue)(r.getNamePath())}),(0,A.Z)((0,d.Z)(r),"getErrors",function(){return r.errors}),(0,A.Z)((0,d.Z)(r),"getWarnings",function(){return r.warnings}),(0,A.Z)((0,d.Z)(r),"isListField",function(){return r.props.isListField}),(0,A.Z)((0,d.Z)(r),"isList",function(){return r.props.isList}),(0,A.Z)((0,d.Z)(r),"isPreserve",function(){return r.props.preserve}),(0,A.Z)((0,d.Z)(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}}),(0,A.Z)((0,d.Z)(r),"getOnlyChild",function(e){if("function"==typeof e){var t=r.getMeta();return(0,c.Z)((0,c.Z)({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})}var n=(0,S.Z)(e);return 1===n.length&&o.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}}),(0,A.Z)((0,d.Z)(r),"getValue",function(e){var t=r.props.fieldContext.getFieldsValue,n=r.getNamePath();return(0,eo.Z)(e||t(!0),n)}),(0,A.Z)((0,d.Z)(r),"getControlled",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.props,n=t.name,o=t.trigger,i=t.validateTrigger,a=t.getValueFromEvent,s=t.normalize,l=t.valuePropName,E=t.getValueProps,u=t.fieldContext,T=void 0!==i?i:u.validateTrigger,d=r.getNamePath(),f=u.getInternalHooks,R=u.getFieldsValue,S=f(h).dispatch,O=r.getValue(),p=E||function(e){return(0,A.Z)({},l,e)},N=e[o],I=void 0!==n?p(O):{},m=(0,c.Z)((0,c.Z)({},e),I);return m[o]=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?(T.keys=[].concat((0,E.Z)(T.keys.slice(0,t)),[T.id],(0,E.Z)(T.keys.slice(t))),o([].concat((0,E.Z)(n.slice(0,t)),[e],(0,E.Z)(n.slice(t))))):(T.keys=[].concat((0,E.Z)(T.keys),[T.id]),o([].concat((0,E.Z)(n),[e]))),T.id+=1},remove:function(e){var t=a(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(T.keys=T.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||(T.keys=eE(T.keys,e,t),o(eE(n,e,t)))}}},t)})))},eS=n(97685),eO="__@field_split__";function ep(e){return e.map(function(e){return"".concat((0,C.Z)(e),":").concat(e)}).join(eO)}var eh=function(){function e(){(0,u.Z)(this,e),(0,A.Z)(this,"kvs",new Map)}return(0,T.Z)(e,[{key:"set",value:function(e,t){this.kvs.set(ep(e),t)}},{key:"get",value:function(e){return this.kvs.get(ep(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(ep(e))}},{key:"map",value:function(e){return(0,E.Z)(this.kvs.entries()).map(function(t){var n=(0,eS.Z)(t,2),r=n[0],o=n[1];return e({key:r.split(eO).map(function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,eS.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}(),eN=["name"],eI=(0,T.Z)(function e(t){var n=this;(0,u.Z)(this,e),(0,A.Z)(this,"formHooked",!1),(0,A.Z)(this,"forceRootUpdate",void 0),(0,A.Z)(this,"subscribable",!0),(0,A.Z)(this,"store",{}),(0,A.Z)(this,"fieldEntities",[]),(0,A.Z)(this,"initialValues",{}),(0,A.Z)(this,"callbacks",{}),(0,A.Z)(this,"validateMessages",null),(0,A.Z)(this,"preserve",null),(0,A.Z)(this,"lastValidatePromise",null),(0,A.Z)(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}}),(0,A.Z)(this,"getInternalHooks",function(e){return e===h?(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,p.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,A.Z)(this,"useSubscribe",function(e){n.subscribable=e}),(0,A.Z)(this,"prevWithoutPreserves",null),(0,A.Z)(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,eo.Z)(e,n))}),n.prevWithoutPreserves=null,n.updateStore(o)}}),(0,A.Z)(this,"destroyForm",function(e){if(e)n.updateStore({});else{var t=new eh;n.getFieldEntities(!0).forEach(function(e){n.isMergedPreserve(e.isPreserve())||t.set(e.getNamePath(),!0)}),n.prevWithoutPreserves=t}}),(0,A.Z)(this,"getInitialValue",function(e){var t=(0,eo.Z)(n.initialValues,e);return e.length?(0,J.T)(t):t}),(0,A.Z)(this,"setCallbacks",function(e){n.callbacks=e}),(0,A.Z)(this,"setValidateMessages",function(e){n.validateMessages=e}),(0,A.Z)(this,"setPreserve",function(e){n.preserve=e}),(0,A.Z)(this,"watchList",[]),(0,A.Z)(this,"registerWatch",function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter(function(t){return t!==e})}}),(0,A.Z)(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)})}}),(0,A.Z)(this,"timeoutId",null),(0,A.Z)(this,"warningUnhooked",function(){}),(0,A.Z)(this,"updateStore",function(e){n.store=e}),(0,A.Z)(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}),(0,A.Z)(this,"getFieldsMap",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new eh;return n.getFieldEntities(e).forEach(function(e){var n=e.getNamePath();t.set(n,e)}),t}),(0,A.Z)(this,"getFieldEntitiesForNamePathList",function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map(function(e){var n=ei(e);return t.get(n)||{INVALIDATE_NAME_PATH:ei(e)}})}),(0,A.Z)(this,"getFieldsValue",function(e,t){if(n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,o=t):e&&"object"===(0,C.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),s=[];return a.forEach(function(e){var t,n,a,l="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null!==(a=e.isList)&&void 0!==a&&a.call(e))return}else if(!r&&null!==(t=(n=e).isListField)&&void 0!==t&&t.call(n))return;o?o("getMeta"in e?e.getMeta():null)&&s.push(l):s.push(l)}),ea(n.store,s.map(ei))}),(0,A.Z)(this,"getFieldValue",function(e){n.warningUnhooked();var t=ei(e);return(0,eo.Z)(n.store,t)}),(0,A.Z)(this,"getFieldsError",function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map(function(t,n){return!t||"INVALIDATE_NAME_PATH"in t?{name:ei(e[n]),errors:[],warnings:[]}:{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}})}),(0,A.Z)(this,"getFieldError",function(e){n.warningUnhooked();var t=ei(e);return n.getFieldsError([t])[0].errors}),(0,A.Z)(this,"getFieldWarning",function(e){n.warningUnhooked();var t=ei(e);return n.getFieldsError([t])[0].warnings}),(0,A.Z)(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 eh,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,E.Z)((0,E.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,p.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,p.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);e.isListField()||t.skipExist&&void 0!==a||n.updateStore((0,J.Z)(n.store,o,(0,E.Z)(i)[0].value))}}}})}(e)}),(0,A.Z)(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(ei);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)}),(0,A.Z)(this,"setFields",function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach(function(e){var o=e.name,i=(0,a.Z)(e,eN),s=ei(o);r.push(s),"value"in i&&n.updateStore((0,J.Z)(n.store,s,i.value)),n.notifyObservers(t,[s],{type:"setField",data:e})}),n.notifyWatch(r)}),(0,A.Z)(this,"getFields",function(){return n.getFieldEntities(!0).map(function(e){var t=e.getNamePath(),r=e.getMeta(),o=(0,c.Z)((0,c.Z)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(o,"originRCField",{value:!0}),o})}),(0,A.Z)(this,"initEntityValue",function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===(0,eo.Z)(n.store,r)&&n.updateStore((0,J.Z)(n.store,r,t))}}),(0,A.Z)(this,"isMergedPreserve",function(e){var t=void 0!==e?e:n.preserve;return null==t||t}),(0,A.Z)(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!el(e.getNamePath(),t)})){var s=n.store;n.updateStore((0,J.Z)(s,t,a,!0)),n.notifyObservers(s,[t],{type:"remove"}),n.triggerDependenciesUpdate(s,t)}}n.notifyWatch([t])}}),(0,A.Z)(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})}}),(0,A.Z)(this,"notifyObservers",function(e,t,r){if(n.subscribable){var o=(0,c.Z)((0,c.Z)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(n){(0,n.onStoreChange)(e,t,o)})}else n.forceRootUpdate()}),(0,A.Z)(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,E.Z)(r))}),r}),(0,A.Z)(this,"updateValue",function(e,t){var r=ei(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(ea(n.store,[r]),n.getFieldsValue()),n.triggerOnFieldsChange([r].concat((0,E.Z)(i)))}),(0,A.Z)(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()}),(0,A.Z)(this,"setFieldValue",function(e,t){n.setFields([{name:e,value:t}])}),(0,A.Z)(this,"getDependencyChildrenFields",function(e){var t=new Set,r=[],o=new eh;return n.getFieldEntities().forEach(function(e){(e.props.dependencies||[]).forEach(function(t){var n=ei(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}),(0,A.Z)(this,"triggerOnFieldsChange",function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new eh;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)}}),(0,A.Z)(this,"validateFields",function(e,t){n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(a=e,s=t):s=e;var r,o,i,a,s,l=!!a,u=l?a.map(ei):[],T=[],d=String(Date.now()),f=new Set,R=s||{},A=R.recursive,S=R.dirty;n.getFieldEntities(!0).forEach(function(e){if(l||u.push(e.getNamePath()),e.props.rules&&e.props.rules.length&&(!S||e.isFieldDirty())){var t=e.getNamePath();if(f.add(t.join(d)),!l||es(u,t,A)){var r=e.validateRules((0,c.Z)({validateMessages:(0,c.Z)((0,c.Z)({},q),n.validateMessages)},s));T.push(r.then(function(){return{name:t,errors:[],warnings:[]}}).catch(function(e){var n,r=[],o=[];return(null===(n=e.forEach)||void 0===n||n.call(e,function(e){var t=e.rule.warningOnly,n=e.errors;t?o.push.apply(o,(0,E.Z)(n)):r.push.apply(r,(0,E.Z)(n))}),r.length)?Promise.reject({name:t,errors:r,warnings:o}):{name:t,errors:r,warnings:o}}))}}});var O=(r=!1,o=T.length,i=[],T.length?new Promise(function(e,t){T.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=O,O.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 p=O.then(function(){return n.lastValidatePromise===O?Promise.resolve(n.getFieldsValue(u)):Promise.reject([])}).catch(function(e){var t=e.filter(function(e){return e&&e.errors.length});return Promise.reject({values:n.getFieldsValue(u),errorFields:t,outOfDate:n.lastValidatePromise!==O})});p.catch(function(e){return e});var h=u.filter(function(e){return f.has(e.join(d))});return n.triggerOnFieldsChange(h),p}),(0,A.Z)(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}),em=function(e){var t=o.useRef(),n=o.useState({}),r=(0,eS.Z)(n,2)[1];if(!t.current){if(e)t.current=e;else{var i=new eI(function(){r({})});t.current=i.getForm()}}return[t.current]},e_=o.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),eC=function(e){var t=e.validateMessages,n=e.onFormChange,r=e.onFormFinish,i=e.children,a=o.useContext(e_),s=o.useRef({});return o.createElement(e_.Provider,{value:(0,c.Z)((0,c.Z)({},a),{},{validateMessages:(0,c.Z)((0,c.Z)({},a.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:s.current}),a.triggerFormChange(e,t)},triggerFormFinish:function(e,t){r&&r(e,{values:t,forms:s.current}),a.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(s.current=(0,c.Z)((0,c.Z)({},s.current),{},(0,A.Z)({},e,t))),a.registerForm(e,t)},unregisterForm:function(e){var t=(0,c.Z)({},s.current);delete t[e],s.current=t,a.unregisterForm(e)}})},i)},eg=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"];function eL(e){try{return JSON.stringify(e)}catch(e){return Math.random()}}var ev=function(){},ey=function(){for(var e=arguments.length,t=Array(e),n=0;n1?t-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,J.Z)(function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)});e.current=i},t]},ee=[U,x,w,"end"],et=[U,G];function en(e){return e===w||"end"===e}var er=function(e,t,n){var r=(0,L.Z)(D),o=(0,E.Z)(r,2),i=o[0],a=o[1],s=Q(),l=(0,E.Z)(s,2),c=l[0],u=l[1],T=t?et:ee;return q(function(){if(i!==D&&"end"!==i){var e=T.indexOf(i),t=T[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]),A.useEffect(function(){return function(){u()}},[]),[function(){a(U,!0)},i]},eo=(a=Z,"object"===(0,u.Z)(Z)&&(a=Z.transitionSupport),(s=A.forwardRef(function(e,t){var n=e.visible,r=void 0===n||n,o=e.removeOnLeave,i=void 0===o||o,s=e.forceRender,u=e.children,T=e.motionName,S=e.leavedClassName,O=e.eventProps,h=A.useContext(p).motion,N=!!(e.motionName&&a&&!1!==h),I=(0,A.useRef)(),m=(0,A.useRef)(),_=function(e,t,n,r){var o,i,a,s=r.motionEnter,u=void 0===s||s,T=r.motionAppear,d=void 0===T||T,f=r.motionLeave,R=void 0===f||f,S=r.motionDeadline,O=r.motionLeaveImmediately,p=r.onAppearPrepare,h=r.onEnterPrepare,N=r.onLeavePrepare,I=r.onAppearStart,m=r.onEnterStart,_=r.onLeaveStart,C=r.onAppearActive,D=r.onEnterActive,F=r.onLeaveActive,H=r.onAppearEnd,B=r.onEnterEnd,Y=r.onLeaveEnd,k=r.onVisibleChanged,V=(0,L.Z)(),$=(0,E.Z)(V,2),W=$[0],Z=$[1],j=(o=A.useReducer(function(e){return e+1},0),i=(0,E.Z)(o,2)[1],a=A.useRef(y),[(0,v.Z)(function(){return a.current}),(0,v.Z)(function(e){a.current="function"==typeof e?e(a.current):e,i()})]),X=(0,E.Z)(j,2),K=X[0],J=X[1],Q=(0,L.Z)(null),ee=(0,E.Z)(Q,2),et=ee[0],eo=ee[1],ei=K(),ea=(0,A.useRef)(!1),es=(0,A.useRef)(null),el=(0,A.useRef)(!1);function ec(){J(y),eo(null,!0)}var eE=(0,g.zX)(function(e){var t,r=K();if(r!==y){var o=n();if(!e||e.deadline||e.target===o){var i=el.current;r===P&&i?t=null==H?void 0:H(o,e):r===b&&i?t=null==B?void 0:B(o,e):r===M&&i&&(t=null==Y?void 0:Y(o,e)),i&&!1!==t&&ec()}}}),eu=z(eE),eT=(0,E.Z)(eu,1)[0],ed=function(e){switch(e){case P:return(0,l.Z)((0,l.Z)((0,l.Z)({},U,p),x,I),w,C);case b:return(0,l.Z)((0,l.Z)((0,l.Z)({},U,h),x,m),w,D);case M:return(0,l.Z)((0,l.Z)((0,l.Z)({},U,N),x,_),w,F);default:return{}}},ef=A.useMemo(function(){return ed(ei)},[ei]),eR=er(ei,!e,function(e){if(e===U){var t,r=ef[U];return!!r&&r(n())}return eO in ef&&eo((null===(t=ef[eO])||void 0===t?void 0:t.call(ef,n(),null))||null),eO===w&&ei!==y&&(eT(n()),S>0&&(clearTimeout(es.current),es.current=setTimeout(function(){eE({deadline:!0})},S))),eO===G&&ec(),!0}),eA=(0,E.Z)(eR,2),eS=eA[0],eO=eA[1],ep=en(eO);el.current=ep,q(function(){Z(t);var n,r=ea.current;ea.current=!0,!r&&t&&d&&(n=P),r&&t&&u&&(n=b),(r&&!t&&R||!r&&O&&!t&&R)&&(n=M);var o=ed(n);n&&(e||o[U])?(J(n),eS()):J(y)},[t]),(0,A.useEffect)(function(){(ei!==P||d)&&(ei!==b||u)&&(ei!==M||R)||J(y)},[d,u,R]),(0,A.useEffect)(function(){return function(){ea.current=!1,clearTimeout(es.current)}},[]);var eh=A.useRef(!1);(0,A.useEffect)(function(){W&&(eh.current=!0),void 0!==W&&ei===y&&((eh.current||W)&&(null==k||k(W)),eh.current=!0)},[W,ei]);var eN=et;return ef[U]&&eO===x&&(eN=(0,c.Z)({transition:"none"},eN)),[ei,eO,eN,null!=W?W:t]}(N,r,function(){try{return I.current instanceof HTMLElement?I.current:(0,f.ZP)(m.current)}catch(e){return null}},e),D=(0,E.Z)(_,4),F=D[0],H=D[1],B=D[2],Y=D[3],k=A.useRef(Y);Y&&(k.current=!0);var V=A.useCallback(function(e){I.current=e,(0,R.mH)(t,e)},[t]),$=(0,c.Z)((0,c.Z)({},O),{},{visible:r});if(u){if(F===y)W=Y?u((0,c.Z)({},$),V):!i&&k.current&&S?u((0,c.Z)((0,c.Z)({},$),{},{className:S}),V):!s&&(i||S)?null:u((0,c.Z)((0,c.Z)({},$),{},{style:{display:"none"}}),V);else{H===U?Z="prepare":en(H)?Z="active":H===x&&(Z="start");var W,Z,j=K(T,"".concat(F,"-").concat(Z));W=u((0,c.Z)((0,c.Z)({},$),{},{className:d()(K(T,F),(0,l.Z)((0,l.Z)({},j,j&&Z),T,"string"==typeof T)),style:B}),V)}}else W=null;return A.isValidElement(W)&&(0,R.Yr)(W)&&!W.ref&&(W=A.cloneElement(W,{ref:V})),A.createElement(C,{ref:m},W)})).displayName="CSSMotion",s),ei=n(87462),ea=n(97326),es="keep",el="remove",ec="removed";function eE(e){var t;return t=e&&"object"===(0,u.Z)(e)&&"key"in e?e:{key:e},(0,c.Z)((0,c.Z)({},t),{},{key:String(t.key)})}function eu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(eE)}var eT=["component","children","onVisibleChanged","onAllRemoved"],ed=["status"],ef=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"],eR=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eo,n=function(e){(0,m.Z)(r,e);var n=(0,_.Z)(r);function r(){var e;(0,N.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=eu(e),a=eu(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!==el})).forEach(function(t){t.key===e&&(t.status=es)})}),n})(r,eu(n)).filter(function(e){var t=r.find(function(t){var n=t.key;return e.key===n});return!t||t.status!==ec||e.status!==el})}}}]),r}(A.Component);return(0,l.Z)(n,"defaultProps",{component:"div"}),n}(Z),eA=eo},42999:function(e,t,n){"use strict";n.d(t,{qX:function(){return S},JB:function(){return p},lm:function(){return L}});var r=n(74902),o=n(97685),i=n(45987),a=n(67294),s=n(1413),l=n(73935),c=n(87462),E=n(4942),u=n(93967),T=n.n(u),d=n(29372),f=n(71002),R=n(15105),A=n(64217),S=a.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,i=e.className,s=e.duration,l=void 0===s?4.5:s,u=e.showProgress,d=e.pauseOnHover,S=void 0===d||d,O=e.eventKey,p=e.content,h=e.closable,N=e.closeIcon,I=void 0===N?"x":N,m=e.props,_=e.onClick,C=e.onNoticeClose,g=e.times,L=e.hovering,v=a.useState(!1),y=(0,o.Z)(v,2),P=y[0],b=y[1],M=a.useState(0),D=(0,o.Z)(M,2),U=D[0],x=D[1],w=a.useState(0),G=(0,o.Z)(w,2),F=G[0],H=G[1],B=L||P,Y=l>0&&u,k=function(){C(O)};a.useEffect(function(){if(!B&&l>0){var e=Date.now()-F,t=setTimeout(function(){k()},1e3*l-F);return function(){S&&clearTimeout(t),H(Date.now()-e)}}},[l,B,g]),a.useEffect(function(){if(!B&&Y&&(S||0===F)){var e,t=performance.now();return function n(){cancelAnimationFrame(e),e=requestAnimationFrame(function(e){var r=Math.min((e+F-t)/(1e3*l),1);x(100*r),r<1&&n()})}(),function(){S&&cancelAnimationFrame(e)}}},[l,F,B,Y,g]);var V=a.useMemo(function(){return"object"===(0,f.Z)(h)&&null!==h?h:h?{closeIcon:I}:{}},[h,I]),$=(0,A.Z)(V,!0),W=100-(!U||U<0?0:U>100?100:U),Z="".concat(n,"-notice");return a.createElement("div",(0,c.Z)({},m,{ref:t,className:T()(Z,i,(0,E.Z)({},"".concat(Z,"-closable"),h)),style:r,onMouseEnter:function(e){var t;b(!0),null==m||null===(t=m.onMouseEnter)||void 0===t||t.call(m,e)},onMouseLeave:function(e){var t;b(!1),null==m||null===(t=m.onMouseLeave)||void 0===t||t.call(m,e)},onClick:_}),a.createElement("div",{className:"".concat(Z,"-content")},p),h&&a.createElement("a",(0,c.Z)({tabIndex:0,className:"".concat(Z,"-close"),onKeyDown:function(e){("Enter"===e.key||"Enter"===e.code||e.keyCode===R.Z.ENTER)&&k()},"aria-label":"Close"},$,{onClick:function(e){e.preventDefault(),e.stopPropagation(),k()}}),V.closeIcon),Y&&a.createElement("progress",{className:"".concat(Z,"-progress"),max:"100",value:W},W+"%"))}),O=a.createContext({}),p=function(e){var t=e.children,n=e.classNames;return a.createElement(O.Provider,{value:{classNames:n}},t)},h=function(e){var t,n,r,o={offset:8,threshold:3,gap:16};return e&&"object"===(0,f.Z)(e)&&(o.offset=null!==(t=e.offset)&&void 0!==t?t:8,o.threshold=null!==(n=e.threshold)&&void 0!==n?n:3,o.gap=null!==(r=e.gap)&&void 0!==r?r:16),[!!e,o]},N=["className","style","classNames","styles"],I=function(e){var t=e.configList,n=e.placement,l=e.prefixCls,u=e.className,f=e.style,R=e.motion,A=e.onAllNoticeRemoved,p=e.onNoticeClose,I=e.stack,m=(0,a.useContext)(O).classNames,_=(0,a.useRef)({}),C=(0,a.useState)(null),g=(0,o.Z)(C,2),L=g[0],v=g[1],y=(0,a.useState)([]),P=(0,o.Z)(y,2),b=P[0],M=P[1],D=t.map(function(e){return{config:e,key:String(e.key)}}),U=h(I),x=(0,o.Z)(U,2),w=x[0],G=x[1],F=G.offset,H=G.threshold,B=G.gap,Y=w&&(b.length>0||D.length<=H),k="function"==typeof R?R(n):R;return(0,a.useEffect)(function(){w&&b.length>1&&M(function(e){return e.filter(function(e){return D.some(function(t){return e===t.key})})})},[b,D,w]),(0,a.useEffect)(function(){var e,t;w&&_.current[null===(e=D[D.length-1])||void 0===e?void 0:e.key]&&v(_.current[null===(t=D[D.length-1])||void 0===t?void 0:t.key])},[D,w]),a.createElement(d.V4,(0,c.Z)({key:n,className:T()(l,"".concat(l,"-").concat(n),null==m?void 0:m.list,u,(0,E.Z)((0,E.Z)({},"".concat(l,"-stack"),!!w),"".concat(l,"-stack-expanded"),Y)),style:f,keys:D,motionAppear:!0},k,{onAllRemoved:function(){A(n)}}),function(e,t){var o=e.config,E=e.className,u=e.style,d=e.index,f=o.key,R=o.times,A=String(f),O=o.className,h=o.style,I=o.classNames,C=o.styles,g=(0,i.Z)(o,N),v=D.findIndex(function(e){return e.key===A}),y={};if(w){var P=D.length-1-(v>-1?v:d-1),U="top"===n||"bottom"===n?"-50%":"0";if(P>0){y.height=Y?null===(x=_.current[A])||void 0===x?void 0:x.offsetHeight:null==L?void 0:L.offsetHeight;for(var x,G,H,k,V=0,$=0;$-1?_.current[A]=e:delete _.current[A]},prefixCls:l,classNames:I,styles:C,className:T()(O,null==m?void 0:m.notice),style:h,times:R,key:f,eventKey:f,onNoticeClose:p,hovering:w&&b.length>0})))})},m=a.forwardRef(function(e,t){var n=e.prefixCls,i=void 0===n?"rc-notification":n,c=e.container,E=e.motion,u=e.maxCount,T=e.className,d=e.style,f=e.onAllRemoved,R=e.stack,A=e.renderNotifications,S=a.useState([]),O=(0,o.Z)(S,2),p=O[0],h=O[1],N=function(e){var t,n=p.find(function(t){return t.key===e});null==n||null===(t=n.onClose)||void 0===t||t.call(n),h(function(t){return t.filter(function(t){return t.key!==e})})};a.useImperativeHandle(t,function(){return{open:function(e){h(function(t){var n,o=(0,r.Z)(t),i=o.findIndex(function(t){return t.key===e.key}),a=(0,s.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)),u>0&&o.length>u&&(o=o.slice(-u)),o})},close:function(e){N(e)},destroy:function(){h([])}}});var m=a.useState({}),_=(0,o.Z)(m,2),C=_[0],g=_[1];a.useEffect(function(){var e={};p.forEach(function(t){var n=t.placement,r=void 0===n?"topRight":n;r&&(e[r]=e[r]||[],e[r].push(t))}),Object.keys(C).forEach(function(t){e[t]=e[t]||[]}),g(e)},[p]);var L=function(e){g(function(t){var n=(0,s.Z)({},t);return(n[e]||[]).length||delete n[e],n})},v=a.useRef(!1);if(a.useEffect(function(){Object.keys(C).length>0?v.current=!0:v.current&&(null==f||f(),v.current=!1)},[C]),!c)return null;var y=Object.keys(C);return(0,l.createPortal)(a.createElement(a.Fragment,null,y.map(function(e){var t=C[e],n=a.createElement(I,{key:e,configList:t,placement:e,prefixCls:i,className:null==T?void 0:T(e),style:null==d?void 0:d(e),motion:E,onNoticeClose:N,onAllNoticeRemoved:L,stack:R});return A?A(n,{prefixCls:i,key:e}):n})),c)}),_=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],C=function(){return document.body},g=0;function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getContainer,n=void 0===t?C:t,s=e.motion,l=e.prefixCls,c=e.maxCount,E=e.className,u=e.style,T=e.onAllRemoved,d=e.stack,f=e.renderNotifications,R=(0,i.Z)(e,_),A=a.useState(),S=(0,o.Z)(A,2),O=S[0],p=S[1],h=a.useRef(),N=a.createElement(m,{container:O,ref:h,prefixCls:l,motion:s,maxCount:c,className:E,style:u,onAllRemoved:T,stack:d,renderNotifications:f}),I=a.useState([]),L=(0,o.Z)(I,2),v=L[0],y=L[1],P=a.useMemo(function(){return{open:function(e){var t=function(){for(var e={},t=arguments.length,n=Array(t),r=0;r0},e.prototype.connect_=function(){T&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),A?(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(){T&&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;R.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}(),O=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),v="undefined"!=typeof WeakMap?new WeakMap:new u,y=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=S.getInstance(),r=new L(t,n,this);v.set(this,r)};["observe","unobserve","disconnect"].forEach(function(e){y.prototype[e]=function(){var t;return(t=v.get(this))[e].apply(t,arguments)}});var P=void 0!==d.ResizeObserver?d.ResizeObserver:y,b=new Map,M=new P(function(e){e.forEach(function(e){var t,n=e.target;null===(t=b.get(n))||void 0===t||t.forEach(function(e){return e(n)})})}),D=n(15671),U=n(43144),x=n(60136),w=n(18486),G=function(e){(0,x.Z)(n,e);var t=(0,w.Z)(n);function n(){return(0,D.Z)(this,n),t.apply(this,arguments)}return(0,U.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component),F=o.forwardRef(function(e,t){var n=e.children,r=e.disabled,i=o.useRef(null),u=o.useRef(null),T=o.useContext(E),d="function"==typeof n,f=d?n(i):n,R=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),A=!d&&o.isValidElement(f)&&(0,c.Yr)(f),S=A?f.ref:null,O=(0,c.x1)(S,i),p=function(){var e;return(0,l.ZP)(i.current)||(i.current&&"object"===(0,s.Z)(i.current)?(0,l.ZP)(null===(e=i.current)||void 0===e?void 0:e.nativeElement):null)||(0,l.ZP)(u.current)};o.useImperativeHandle(t,function(){return p()});var h=o.useRef(e);h.current=e;var N=o.useCallback(function(e){var t=h.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,s=o.height,l=e.offsetWidth,c=e.offsetHeight,E=Math.floor(i),u=Math.floor(s);if(R.current.width!==E||R.current.height!==u||R.current.offsetWidth!==l||R.current.offsetHeight!==c){var d={width:E,height:u,offsetWidth:l,offsetHeight:c};R.current=d;var f=l===Math.round(i)?i:l,A=c===Math.round(s)?s:c,S=(0,a.Z)((0,a.Z)({},d),{},{offsetWidth:f,offsetHeight:A});null==T||T(S,e,r),n&&Promise.resolve().then(function(){n(S,e)})}},[]);return o.useEffect(function(){var e=p();return e&&!r&&(b.has(e)||(b.set(e,new Set),M.observe(e)),b.get(e).add(N)),function(){b.has(e)&&(b.get(e).delete(N),b.get(e).size||(M.unobserve(e),b.delete(e)))}},[i.current,r]),o.createElement(G,{ref:u},A?o.cloneElement(f,{ref:O}):f)}),H=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(F,(0,r.Z)({},e,{key:a,ref:0===i?t:void 0}),n)})});H.Collection=function(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),i=o.useRef([]),a=o.useContext(E),s=o.useCallback(function(e,t,o){r.current+=1;var s=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then(function(){s===r.current&&(null==n||n(i.current),i.current=[])}),null==a||a(e,t,o)},[n,a]);return o.createElement(E.Provider,{value:s},t)};var B=H},92419:function(e,t,n){"use strict";n.d(t,{G:function(){return a},Z:function(){return A}});var r=n(93967),o=n.n(r),i=n(67294);function a(e){var t=e.children,n=e.prefixCls,r=e.id,a=e.overlayInnerStyle,s=e.className,l=e.style;return i.createElement("div",{className:o()("".concat(n,"-content"),s),style:l},i.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:a},"function"==typeof t?t():t))}var s=n(87462),l=n(1413),c=n(45987),E=n(40228),u={shiftX:64,adjustY:1},T={adjustX:1,shiftY:!0},d=[0,0],f={left:{points:["cr","cl"],overflow:T,offset:[-4,0],targetOffset:d},right:{points:["cl","cr"],overflow:T,offset:[4,0],targetOffset:d},top:{points:["bc","tc"],overflow:u,offset:[0,-4],targetOffset:d},bottom:{points:["tc","bc"],overflow:u,offset:[0,4],targetOffset:d},topLeft:{points:["bl","tl"],overflow:u,offset:[0,-4],targetOffset:d},leftTop:{points:["tr","tl"],overflow:T,offset:[-4,0],targetOffset:d},topRight:{points:["br","tr"],overflow:u,offset:[0,-4],targetOffset:d},rightTop:{points:["tl","tr"],overflow:T,offset:[4,0],targetOffset:d},bottomRight:{points:["tr","br"],overflow:u,offset:[0,4],targetOffset:d},rightBottom:{points:["bl","br"],overflow:T,offset:[4,0],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:u,offset:[0,4],targetOffset:d},leftBottom:{points:["br","bl"],overflow:T,offset:[-4,0],targetOffset:d}},R=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],A=(0,i.forwardRef)(function(e,t){var n=e.overlayClassName,r=e.trigger,o=e.mouseEnterDelay,u=e.mouseLeaveDelay,T=e.overlayStyle,d=e.prefixCls,A=void 0===d?"rc-tooltip":d,S=e.children,O=e.onVisibleChange,p=e.afterVisibleChange,h=e.transitionName,N=e.animation,I=e.motion,m=e.placement,_=e.align,C=e.destroyTooltipOnHide,g=e.defaultVisible,L=e.getTooltipContainer,v=e.overlayInnerStyle,y=(e.arrowContent,e.overlay),P=e.id,b=e.showArrow,M=(0,c.Z)(e,R),D=(0,i.useRef)(null);(0,i.useImperativeHandle)(t,function(){return D.current});var U=(0,l.Z)({},M);return"visible"in e&&(U.popupVisible=e.visible),i.createElement(E.Z,(0,s.Z)({popupClassName:n,prefixCls:A,popup:function(){return i.createElement(a,{key:"content",prefixCls:A,id:P,overlayInnerStyle:v},y)},action:void 0===r?["hover"]:r,builtinPlacements:f,popupPlacement:void 0===m?"right":m,ref:D,popupAlign:void 0===_?{}:_,getPopupContainer:L,onPopupVisibleChange:O,afterPopupVisibleChange:p,popupTransitionName:h,popupAnimation:N,popupMotion:I,defaultPopupVisible:g,autoDestroy:void 0!==C&&C,mouseLeaveDelay:void 0===u?.1:u,popupStyle:T,mouseEnterDelay:void 0===o?0:o,arrow:void 0===b||b},U),S)})},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(59864)},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 R},jL:function(){return f}});var r=n(1413),o=n(98924),i=n(94999),a="data-rc-order",s="data-rc-priority",l=new Map;function c(){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 E(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 T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.Z)())return null;var n=t.csp,r=t.prepend,i=t.priority,l=void 0===i?0:i,c="queue"===r?"prependQueue":r?"prepend":"append",T="prependQueue"===c,d=document.createElement("style");d.setAttribute(a,c),T&&l&&d.setAttribute(s,"".concat(l)),null!=n&&n.nonce&&(d.nonce=null==n?void 0:n.nonce),d.innerHTML=e;var f=E(t),R=f.firstChild;if(r){if(T){var A=(t.styles||u(f)).filter(function(e){return!!["prepend","prependQueue"].includes(e.getAttribute(a))&&l>=Number(e.getAttribute(s)||0)});if(A.length)return f.insertBefore(d,A[A.length-1].nextSibling),d}f.insertBefore(d,R)}else f.appendChild(d);return d}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=E(t);return(t.styles||u(n)).find(function(n){return n.getAttribute(c(t))===e})}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=d(e,t);n&&E(t).removeChild(n)}function R(e,t){var n,o,a,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},f=E(s),R=u(f),A=(0,r.Z)((0,r.Z)({},s),{},{styles:R});!function(e,t){var n=l.get(e);if(!n||!(0,i.Z)(document,n)){var r=T("",t),o=r.parentNode;l.set(e,o),e.removeChild(r)}}(f,A);var S=d(t,A);if(S)return null!==(n=A.csp)&&void 0!==n&&n.nonce&&S.nonce!==(null===(o=A.csp)||void 0===o?void 0:o.nonce)&&(S.nonce=null===(a=A.csp)||void 0===a?void 0:a.nonce),S.innerHTML!==e&&(S.innerHTML=e),S;var O=T(e,A);return O.setAttribute(c(A),t),O}},34203:function(e,t,n){"use strict";n.d(t,{Sh:function(){return a},ZP:function(){return l},bn:function(){return s}});var r=n(71002),o=n(67294),i=n(73935);function a(e){return e instanceof HTMLElement||e instanceof SVGElement}function s(e){return e&&"object"===(0,r.Z)(e)&&a(e.nativeElement)?e.nativeElement:a(e)?e:null}function l(e){var t;return s(e)||(e instanceof o.Component?null===(t=i.findDOMNode)||void 0===t?void 0:t.call(i,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||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 A},v:function(){return O}});var r,o,i=n(74165),a=n(15861),s=n(71002),l=n(1413),c=n(73935),E=(0,l.Z)({},r||(r=n.t(c,2))),u=E.version,T=E.render,d=E.unmountComponentAtNode;try{Number((u||"").split(".")[0])>=18&&(o=E.createRoot)}catch(e){}function f(e){var t=E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,s.Z)(t)&&(t.usingClientEntryPoint=e)}var R="__rc_react_root__";function A(e,t){if(o){var n;f(!0),n=t[R]||o(t),f(!1),n.render(e),t[R]=n;return}T(e,t)}function S(){return(S=(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[R])||void 0===e||e.unmount(),delete t[R]}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function O(e){return p.apply(this,arguments)}function p(){return(p=(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 S.apply(this,arguments)}(t));case 2:d(t);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}},74204:function(e,t,n){"use strict";n.d(t,{Z:function(){return a},o:function(){return s}});var r,o=n(44958);function i(e){var t,n,r="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),i=document.createElement("div");i.id=r;var a=i.style;if(a.position="absolute",a.left="0",a.top="0",a.width="100px",a.height="100px",a.overflow="scroll",e){var s=getComputedStyle(e);a.scrollbarColor=s.scrollbarColor,a.scrollbarWidth=s.scrollbarWidth;var l=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(l.width,10),E=parseInt(l.height,10);try{var u=c?"width: ".concat(l.width,";"):"",T=E?"height: ".concat(l.height,";"):"";(0,o.hq)("\n#".concat(r,"::-webkit-scrollbar {\n").concat(u,"\n").concat(T,"\n}"),r)}catch(e){console.error(e),t=c,n=E}}document.body.appendChild(i);var d=e&&t&&!isNaN(t)?t:i.offsetWidth-i.clientWidth,f=e&&n&&!isNaN(n)?n:i.offsetHeight-i.clientHeight;return document.body.removeChild(i),(0,o.jL)(r),{width:d,height:f}}function a(e){return"undefined"==typeof document?0:((e||void 0===r)&&(r=i()),r.width)}function s(e){return"undefined"!=typeof document&&e&&e instanceof Element?i(e):{width:0,height:0}}},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 s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,l=i.has(t);if((0,o.ZP)(!l,"Warning: There may be circular references"),l)return!1;if(t===a)return!0;if(n&&s>1)return!1;i.add(t);var c=s+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var E=0;E
    ").replace(/]+)>/gi,"");return(0,n.jsxs)("div",{className:o()("flex w-full",{"justify-end":!h}),ref:f,children:[!h&&(0,n.jsx)("div",{className:"flex bg-[#0C75FC] text-white p-3 rounded-xl rounded-br-none",children:x}),h&&(0,n.jsxs)("div",{className:"flex max-w-full flex-col flex-wrap bg-white dark:bg-[rgba(255,255,255,0.16)] p-3 rounded-xl rounded-bl-none",children:["string"==typeof x&&"chat_agent"===i&&(0,n.jsx)(r.default,{children:null==g?void 0:g.replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"")}),"string"==typeof x&&"chat_agent"!==i&&(0,n.jsx)(r.default,{children:b(g)}),v&&!x&&(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:"思考中"}),(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]}),!v&&(0,n.jsx)(s.Z,{className:"my-2"}),(0,n.jsxs)("div",{className:o()("opacity-0 h-0 w-0",{"opacity-100 flex items-center justify-between gap-6 w-auto h-auto":!v}),children:[(0,n.jsx)(u.default,{content:t,index:l,chatDialogRef:f}),"chat_agent"!==i&&(0,n.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,n.jsx)(a.Z,{width:14,height:14,model:m}),(0,n.jsx)("span",{className:"text-xs text-gray-500",children:m})]})]})]})]})})},5583:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(85265),r=l(66309),s=l(55102),i=l(14726),o=l(67294);t.default=e=>{let{open:t,setFeedbackOpen:l,list:c,feedback:d,loading:u}=e,[x,m]=(0,o.useState)([]),[p,v]=(0,o.useState)("");return(0,n.jsx)(a.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>l(!1),destroyOnClose:!0,height:"auto",children:(0,n.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,n.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==c?void 0:c.map(e=>{let t=x.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,n.jsx)(r.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{m(t=>{let l=t.findIndex(t=>t.reason_type===e.reason_type);return l>-1?[...t.slice(0,l),...t.slice(l+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,n.jsx)(s.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:p,onChange:e=>v(e.target.value.trim())}),(0,n.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,n.jsx)(i.ZP,{className:"w-16 h-8",onClick:()=>{l(!1)},children:"取消"}),(0,n.jsx)(i.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=x.map(e=>e.reason_type);await (null==d?void 0:d({feedback_type:"unlike",reason_types:e,remark:p}))},loading:u,children:"确认"})]})]})})}},32966:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(65429),s=l(15381),i=l(85175),o=l(65654),c=l(31418),d=l(96074),u=l(14726),x=l(93967),m=l.n(x),p=l(20640),v=l.n(p),h=l(67294),f=l(73913),g=l(5583);t.default=e=>{var t;let{content:l,index:x,chatDialogRef:p}=e,{conv_uid:b,history:j,scene:w}=(0,h.useContext)(f.MobileChatContext),{message:y}=c.Z.useApp(),[_,N]=(0,h.useState)(!1),[k,C]=(0,h.useState)(null==l?void 0:null===(t=l.feedback)||void 0===t?void 0:t.feedback_type),[Z,S]=(0,h.useState)([]),R=async e=>{var t;let l=null==e?void 0:e.replace(/\trelations:.*/g,""),n=v()((null===(t=p.current)||void 0===t?void 0:t.textContent)||l);n?l?y.success("复制成功"):y.warning("内容复制为空"):y.error("复制失败")},{run:E,loading:M}=(0,o.Z)(async e=>await (0,a.Vx)((0,a.zx)({conv_uid:b,message_id:l.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;C(null==t?void 0:t.feedback_type),y.success("反馈成功"),N(!1)}}),{run:O}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Ir)({conv_uid:b,message_id:(null==l?void 0:l.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(C("none"),y.success("操作成功"))}}),{run:A}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;S(t||[]),t&&N(!0)}}),{run:P,loading:T}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Ty)({conv_id:b,round_index:0})),{manual:!0,onSuccess:()=>{y.success("操作成功")}});return(0,n.jsxs)("div",{className:"flex items-center text-sm",children:[(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)(r.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"like"===k}),onClick:async()=>{if("like"===k){await O();return}await E({feedback_type:"like"})}}),(0,n.jsx)(s.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"unlike"===k}),onClick:async()=>{if("unlike"===k){await O();return}await A()}}),(0,n.jsx)(g.default,{open:_,setFeedbackOpen:N,list:Z,feedback:E,loading:M})]}),(0,n.jsx)(d.Z,{type:"vertical"}),(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)(i.Z,{className:"cursor-pointer",onClick:()=>R(l.context)}),j.length-1===x&&"chat_agent"===w&&(0,n.jsx)(u.ZP,{loading:T,size:"small",onClick:async()=>{await P()},className:"text-xs",children:"终止话题"})]})]})}},56397:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(48218),r=l(58638),s=l(31418),i=l(91776),o=l(20640),c=l.n(o),d=l(67294),u=l(73913);t.default=(0,d.memo)(()=>{var e;let{appInfo:t}=(0,d.useContext)(u.MobileChatContext),{message:l}=s.Z.useApp(),[o,x]=(0,d.useState)(0);if(!(null==t?void 0:t.app_code))return null;let m=async()=>{let e=c()("dingtalk://dingtalkclient/page/link?url=".concat(encodeURIComponent(location.href),"&pc_slide=true"));l[e?"success":"error"](e?"复制成功":"复制失败")};return o>6&&l.info(JSON.stringify(window.navigator.userAgent),2,()=>{x(0)}),(0,n.jsxs)("header",{className:"flex w-full items-center justify-between bg-[rgba(255,255,255,0.9)] border dark:bg-black dark:border-[rgba(255,255,255,0.6)] rounded-xl mx-auto px-4 py-2 mb-4 sticky top-4 z-50 mt-4 shadow-md",children:[(0,n.jsxs)("div",{className:"flex gap-2 items-center",onClick:()=>x(o+1),children:[(0,n.jsx)(a.Z,{scene:(null==t?void 0:null===(e=t.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent",width:8,height:8}),(0,n.jsxs)("div",{className:"flex flex-col ml-2",children:[(0,n.jsx)(i.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==t?void 0:t.app_name}),(0,n.jsx)(i.Z.Text,{className:"text-sm line-clamp-2",children:null==t?void 0:t.app_describe})]})]}),(0,n.jsx)("div",{onClick:m,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,n.jsx)(r.Z,{className:"text-lg"})})]})})},74638:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(62418),s=l(25519),i=l(30159),o=l(87740),c=l(79090),d=l(52645),u=l(27496),x=l(1375),m=l(65654),p=l(66309),v=l(55241),h=l(74330),f=l(55102),g=l(14726),b=l(93967),j=l.n(b),w=l(39332),y=l(67294),_=l(73913),N=l(7001),k=l(73749),C=l(97109),Z=l(83454);let S=["magenta","orange","geekblue","purple","cyan","green"];t.default=()=>{var e,t;let l=(0,w.useSearchParams)(),b=null!==(t=null==l?void 0:l.get("ques"))&&void 0!==t?t:"",{history:R,model:E,scene:M,temperature:O,resource:A,conv_uid:P,appInfo:T,scrollViewRef:I,order:V,userInput:z,ctrl:D,canAbort:J,canNewChat:$,setHistory:L,setCanNewChat:U,setCarAbort:q,setUserInput:F}=(0,y.useContext)(_.MobileChatContext),[H,W]=(0,y.useState)(!1),[B,K]=(0,y.useState)(!1),X=async e=>{var t,l,n;F(""),D.current=new AbortController;let a={chat_mode:M,model_name:E,user_input:e||z,conv_uid:P,temperature:O,app_code:null==T?void 0:T.app_code,...A&&{select_param:JSON.stringify(A)}};if(R&&R.length>0){let e=null==R?void 0:R.filter(e=>"view"===e.role);V.current=e[e.length-1].order+1}let i=[{role:"human",context:e||z,model_name:E,order:V.current,time_stamp:0},{role:"view",context:"",model_name:E,order:V.current,time_stamp:0,thinking:!0}],o=i.length-1;L([...R,...i]),U(!1);try{await (0,x.L)("".concat(null!==(t=Z.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[s.gp]:null!==(l=(0,r.n5)())&&void 0!==l?l:""},signal:D.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===x.a)return},onclose(){var e;null===(e=D.current)||void 0===e||e.abort(),U(!0),q(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?(U(!0),q(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(i[o].context=null==t?void 0:t.replace("[ERROR]",""),i[o].thinking=!1,L([...R,...i]),U(!0),q(!1)):(q(!0),i[o].context=t,i[o].thinking=!1,L([...R,...i]))}})}catch(e){null===(n=D.current)||void 0===n||n.abort(),i[o].context="Sorry, we meet some error, please try again later.",i[o].thinking=!1,L([...i]),U(!0),q(!1)}},G=async()=>{z.trim()&&$&&await X()};(0,y.useEffect)(()=>{var e,t;null===(e=I.current)||void 0===e||e.scrollTo({top:null===(t=I.current)||void 0===t?void 0:t.scrollHeight,behavior:"auto"})},[R,I]);let Q=(0,y.useMemo)(()=>{if(!T)return[];let{param_need:e=[]}=T;return null==e?void 0:e.map(e=>e.type)},[T]),Y=(0,y.useMemo)(()=>{var e;return 0===R.length&&T&&!!(null==T?void 0:null===(e=T.recommend_questions)||void 0===e?void 0:e.length)},[R,T]),{run:ee,loading:et}=(0,m.Z)(async()=>await (0,a.Vx)((0,a.zR)(P)),{manual:!0,onSuccess:()=>{L([])}});return(0,y.useEffect)(()=>{b&&E&&P&&T&&X(b)},[T,P,E,b]),(0,n.jsxs)("div",{className:"flex flex-col",children:[Y&&(0,n.jsx)("ul",{children:null==T?void 0:null===(e=T.recommend_questions)||void 0===e?void 0:e.map((e,t)=>(0,n.jsx)("li",{className:"mb-3",children:(0,n.jsx)(p.Z,{color:S[t],className:"p-2 rounded-xl",onClick:async()=>{X(e.question)},children:e.question})},e.id))}),(0,n.jsxs)("div",{className:"flex items-center justify-between gap-1",children:[(0,n.jsxs)("div",{className:"flex gap-2 mb-1 w-full overflow-x-auto",children:[(null==Q?void 0:Q.includes("model"))&&(0,n.jsx)(N.default,{}),(null==Q?void 0:Q.includes("resource"))&&(0,n.jsx)(k.default,{}),(null==Q?void 0:Q.includes("temperature"))&&(0,n.jsx)(C.default,{})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between text-lg font-bold",children:[(0,n.jsx)(v.Z,{content:"暂停回复",trigger:["hover"],children:(0,n.jsx)(i.Z,{className:j()("p-2 cursor-pointer",{"text-[#0c75fc]":J,"text-gray-400":!J}),onClick:()=>{var e;J&&(null===(e=D.current)||void 0===e||e.abort(),setTimeout(()=>{q(!1),U(!0)},100))}})}),(0,n.jsx)(v.Z,{content:"再来一次",trigger:["hover"],children:(0,n.jsx)(o.Z,{className:j()("p-2 cursor-pointer",{"text-gray-400":!R.length||!$}),onClick:()=>{var e,t;if(!$||0===R.length)return;let l=null===(e=null===(t=R.filter(e=>"human"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];X((null==l?void 0:l.context)||"")}})}),et?(0,n.jsx)(h.Z,{spinning:et,indicator:(0,n.jsx)(c.Z,{style:{fontSize:18},spin:!0}),className:"p-2"}):(0,n.jsx)(v.Z,{content:"清除历史",trigger:["hover"],children:(0,n.jsx)(d.Z,{className:j()("p-2 cursor-pointer",{"text-gray-400":!R.length||!$}),onClick:()=>{$&&ee()}})})]})]}),(0,n.jsxs)("div",{className:j()("flex py-2 px-3 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border",{"border-[#0c75fc] dark:border-[rgba(12,117,252,0.8)]":H}),children:[(0,n.jsx)(f.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:z,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(B){e.preventDefault();return}z.trim()&&(e.preventDefault(),G())}},onChange:e=>{F(e.target.value)},onFocus:()=>{W(!0)},onBlur:()=>W(!1),onCompositionStartCapture:()=>{K(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{K(!1)},0)}}),(0,n.jsx)(g.ZP,{type:"primary",className:j()("flex items-center justify-center rounded-lg bg-button-gradient border-0 ml-2",{"opacity-40 cursor-not-allowed":!z.trim()||!$}),onClick:G,children:$?(0,n.jsx)(u.Z,{}):(0,n.jsx)(h.Z,{indicator:(0,n.jsx)(c.Z,{className:"text-white"})})})]})]})}},7001:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(39718),r=l(41468),s=l(41441),i=l(85418),o=l(55241),c=l(67294),d=l(73913);t.default=()=>{let{modelList:e}=(0,c.useContext)(r.p),{model:t,setModel:l}=(0,c.useContext)(d.MobileChatContext),u=(0,c.useMemo)(()=>e.length>0?e.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{l(e)},children:[(0,n.jsx)(a.Z,{width:14,height:14,model:e}),(0,n.jsx)("span",{className:"text-xs",children:e})]}),key:e})):[],[e,l]);return(0,n.jsx)(i.Z,{menu:{items:u},placement:"top",trigger:["click"],children:(0,n.jsx)(o.Z,{content:t,children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(a.Z,{width:16,height:16,model:t}),(0,n.jsx)("span",{className:"text-xs font-medium line-clamp-1",style:{maxWidth:96},children:t}),(0,n.jsx)(s.Z,{rotate:90})]})})})}},46568:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(25675),r=l.n(a),s=l(67294);t.default=(0,s.memo)(e=>{let{width:t,height:l,src:a,label:s}=e;return(0,n.jsx)(r(),{width:t||14,height:l||14,src:a,alt:s||"db-icon",priority:!0})})},73749:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(62418),s=l(79090),i=l(41441),o=l(83266),c=l(65654),d=l(74330),u=l(2913),x=l(85418),m=l(67294),p=l(73913),v=l(46568);t.default=()=>{let{appInfo:e,resourceList:t,scene:l,model:h,conv_uid:f,getChatHistoryRun:g,setResource:b,resource:j}=(0,m.useContext)(p.MobileChatContext),[w,y]=(0,m.useState)(null),_=(0,m.useMemo)(()=>{var t,l,n;return null===(t=null==e?void 0:null===(l=e.param_need)||void 0===l?void 0:l.filter(e=>"resource"===e.type))||void 0===t?void 0:null===(n=t[0])||void 0===n?void 0:n.value},[e]),N=(0,m.useMemo)(()=>t&&t.length>0?t.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{y(e),b(e.space_id||e.param)},children:[(0,n.jsx)(v.default,{width:14,height:14,src:r.S$[e.type].icon,label:r.S$[e.type].label}),(0,n.jsx)("span",{className:"text-xs",children:e.param})]}),key:e.space_id||e.param})):[],[t,b]),{run:k,loading:C}=(0,c.Z)(async e=>{let[,t]=await (0,a.Vx)((0,a.qn)({convUid:f,chatMode:l,data:e,model:h,config:{timeout:36e5}}));return b(t),t},{manual:!0,onSuccess:async()=>{await g()}}),Z=async e=>{let t=new FormData;t.append("doc_file",null==e?void 0:e.file),await k(t)},S=(0,m.useMemo)(()=>C?(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(d.Z,{size:"small",indicator:(0,n.jsx)(s.Z,{spin:!0})}),(0,n.jsx)("span",{className:"text-xs",children:"上传中"})]}):j?(0,n.jsxs)("div",{className:"flex gap-1",children:[(0,n.jsx)("span",{className:"text-xs",children:j.file_name}),(0,n.jsx)(i.Z,{rotate:90})]}):(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(o.Z,{className:"text-base"}),(0,n.jsx)("span",{className:"text-xs",children:"上传文件"})]}),[C,j]);return(0,n.jsx)(n.Fragment,{children:(()=>{switch(_){case"excel_file":case"text_file":case"image_file":return(0,n.jsx)("div",{className:"flex items-center justify-center gap-1 border rounded-xl bg-white dark:bg-black px-2 flex-shrink-0",children:(0,n.jsx)(u.default,{name:"file",accept:".xlsx,.xls",maxCount:1,showUploadList:!1,beforeUpload:()=>!1,onChange:Z,className:"flex h-full w-full items-center justify-center",children:S})});case"database":case"knowledge":case"plugin":case"awel_flow":var e,l,a,s,o;if(!(null==t?void 0:t.length))return null;return(0,n.jsx)(x.Z,{menu:{items:N},placement:"top",trigger:["click"],children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(v.default,{width:14,height:14,src:null===(e=r.S$[(null==w?void 0:w.type)||(null==t?void 0:null===(l=t[0])||void 0===l?void 0:l.type)])||void 0===e?void 0:e.icon,label:null===(a=r.S$[(null==w?void 0:w.type)||(null==t?void 0:null===(s=t[0])||void 0===s?void 0:s.type)])||void 0===a?void 0:a.label}),(0,n.jsx)("span",{className:"text-xs font-medium",children:(null==w?void 0:w.param)||(null==t?void 0:null===(o=t[0])||void 0===o?void 0:o.param)}),(0,n.jsx)(i.Z,{rotate:90})]})})}})()})}},97109:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(85418),r=l(30568),s=l(67294),i=l(73913),o=l(70065);t.default=()=>{let{temperature:e,setTemperature:t}=(0,s.useContext)(i.MobileChatContext),l=e=>{isNaN(e)||t(e)};return(0,n.jsx)(a.Z,{trigger:["click"],dropdownRender:()=>(0,n.jsx)("div",{className:"flex h-28 bg-white dark:bg-[rgba(255,255,255,0.5)] items-center justify-center rounded-xl py-3",children:(0,n.jsx)(r.Z,{defaultValue:.5,max:1,min:0,step:.1,vertical:!0,onChange:l,value:e})}),placement:"top",children:(0,n.jsxs)("div",{className:"flex items-center justify-between border rounded-xl bg-white dark:bg-black w-14 p-2 flex-shrink-0",children:[(0,n.jsx)(o.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,n.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},73913:function(e,t,l){"use strict";l.r(t),l.d(t,{MobileChatContext:function(){return j}});var n=l(85893),a=l(41468),r=l(76212),s=l(2440),i=l(62418),o=l(25519),c=l(1375),d=l(65654),u=l(74330),x=l(5152),m=l.n(x),p=l(39332),v=l(67294),h=l(56397),f=l(74638),g=l(83454);let b=m()(()=>Promise.all([l.e(3662),l.e(7034),l.e(4041),l.e(1941),l.e(5872),l.e(4567),l.e(2783),l.e(1531),l.e(2611),l.e(3320),l.e(5265),l.e(7332),l.e(7530),l.e(9397),l.e(6212),l.e(8709),l.e(9256),l.e(9870)]).then(l.bind(l,36818)),{loadableGenerated:{webpack:()=>[36818]},ssr:!1}),j=(0,v.createContext)({model:"",temperature:.5,resource:null,setModel:()=>{},setTemperature:()=>{},setResource:()=>{},scene:"",history:[],setHistory:()=>{},scrollViewRef:{current:null},appInfo:{},conv_uid:"",resourceList:[],order:{current:1},handleChat:()=>Promise.resolve(),canAbort:!1,setCarAbort:()=>{},canNewChat:!1,setCanNewChat:()=>{},ctrl:{current:void 0},userInput:"",setUserInput:()=>{},getChatHistoryRun:()=>{}});t.default=()=>{var e,t;let l=(0,p.useSearchParams)(),x=null!==(e=null==l?void 0:l.get("chat_scene"))&&void 0!==e?e:"",m=null!==(t=null==l?void 0:l.get("app_code"))&&void 0!==t?t:"",{modelList:w}=(0,v.useContext)(a.p),[y,_]=(0,v.useState)([]),[N,k]=(0,v.useState)(""),[C,Z]=(0,v.useState)(.5),[S,R]=(0,v.useState)(null),E=(0,v.useRef)(null),[M,O]=(0,v.useState)(""),[A,P]=(0,v.useState)(!1),[T,I]=(0,v.useState)(!0),V=(0,v.useRef)(),z=(0,v.useRef)(1),D=(0,s.Z)(),J=(0,v.useMemo)(()=>"".concat(null==D?void 0:D.user_no,"_").concat(m),[m,D]),{run:$,loading:L}=(0,d.Z)(async()=>await (0,r.Vx)((0,r.$i)("".concat(null==D?void 0:D.user_no,"_").concat(m))),{manual:!0,onSuccess:e=>{let[,t]=e,l=null==t?void 0:t.filter(e=>"view"===e.role);l&&l.length>0&&(z.current=l[l.length-1].order+1),_(t||[])}}),{data:U,run:q,loading:F}=(0,d.Z)(async e=>{let[,t]=await (0,r.Vx)((0,r.BN)(e));return null!=t?t:{}},{manual:!0}),{run:H,data:W,loading:B}=(0,d.Z)(async()=>{var e,t;let[,l]=await (0,r.Vx)((0,r.vD)(x));return R((null==l?void 0:null===(e=l[0])||void 0===e?void 0:e.space_id)||(null==l?void 0:null===(t=l[0])||void 0===t?void 0:t.param)),null!=l?l:[]},{manual:!0}),{run:K,loading:X}=(0,d.Z)(async()=>{let[,e]=await (0,r.Vx)((0,r.iP)());return null!=e?e:[]},{manual:!0,onSuccess:e=>{var t;let l=null===(t=null==e?void 0:e.filter(e=>e.conv_uid===J))||void 0===t?void 0:t[0];(null==l?void 0:l.select_param)&&R(JSON.parse(null==l?void 0:l.select_param))}});(0,v.useEffect)(()=>{x&&m&&w.length&&q({chat_scene:x,app_code:m})},[m,x,q,w]),(0,v.useEffect)(()=>{m&&$()},[m]),(0,v.useEffect)(()=>{if(w.length>0){var e,t,l;let n=null===(e=null==U?void 0:null===(t=U.param_need)||void 0===t?void 0:t.filter(e=>"model"===e.type))||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.value;k(n||w[0])}},[w,U]),(0,v.useEffect)(()=>{var e,t,l;let n=null===(e=null==U?void 0:null===(t=U.param_need)||void 0===t?void 0:t.filter(e=>"temperature"===e.type))||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.value;Z(n||.5)},[U]),(0,v.useEffect)(()=>{if(x&&(null==U?void 0:U.app_code)){var e,t,l,n,a,r;let s=null===(e=null==U?void 0:null===(t=U.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type))||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.value,i=null===(n=null==U?void 0:null===(a=U.param_need)||void 0===a?void 0:a.filter(e=>"resource"===e.type))||void 0===n?void 0:null===(r=n[0])||void 0===r?void 0:r.bind_value;i&&R(i),["database","knowledge","plugin","awel_flow"].includes(s)&&!i&&H()}},[U,x,H]);let G=async e=>{var t,l,n;O(""),V.current=new AbortController;let a={chat_mode:x,model_name:N,user_input:e||M,conv_uid:J,temperature:C,app_code:null==U?void 0:U.app_code,...S&&{select_param:S}};if(y&&y.length>0){let e=null==y?void 0:y.filter(e=>"view"===e.role);z.current=e[e.length-1].order+1}let r=[{role:"human",context:e||M,model_name:N,order:z.current,time_stamp:0},{role:"view",context:"",model_name:N,order:z.current,time_stamp:0,thinking:!0}],s=r.length-1;_([...y,...r]),I(!1);try{await (0,c.L)("".concat(null!==(t=g.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[o.gp]:null!==(l=(0,i.n5)())&&void 0!==l?l:""},signal:V.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===c.a)return},onclose(){var e;null===(e=V.current)||void 0===e||e.abort(),I(!0),P(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?(I(!0),P(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(r[s].context=null==t?void 0:t.replace("[ERROR]",""),r[s].thinking=!1,_([...y,...r]),I(!0),P(!1)):(P(!0),r[s].context=t,r[s].thinking=!1,_([...y,...r]))}})}catch(e){null===(n=V.current)||void 0===n||n.abort(),r[s].context="Sorry, we meet some error, please try again later.",r[s].thinking=!1,_([...r]),I(!0),P(!1)}};return(0,v.useEffect)(()=>{x&&"chat_agent"!==x&&K()},[x,K]),(0,n.jsx)(j.Provider,{value:{model:N,resource:S,setModel:k,setTemperature:Z,setResource:R,temperature:C,appInfo:U,conv_uid:J,scene:x,history:y,scrollViewRef:E,setHistory:_,resourceList:W,order:z,handleChat:G,setCanNewChat:I,ctrl:V,canAbort:A,setCarAbort:P,canNewChat:T,userInput:M,setUserInput:O,getChatHistoryRun:$},children:(0,n.jsx)(u.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:L||F||B||X,children:(0,n.jsxs)("div",{className:"flex flex-col h-screen bg-gradient-light dark:bg-gradient-dark p-4 pt-0",children:[(0,n.jsxs)("div",{ref:E,className:"flex flex-col flex-1 overflow-y-auto mb-3",children:[(0,n.jsx)(h.default,{}),(0,n.jsx)(b,{})]}),(null==U?void 0:U.app_code)&&(0,n.jsx)(f.default,{})]})})})}}},function(e){e.O(0,[3662,7034,2648,3791,4296,5102,3293,4330,1776,5418,4041,1941,2913,2378,5872,4567,6231,2783,1531,2611,3320,5265,7332,7530,9397,6212,4257,8709,9256,9774,2888,179],function(){return e(e.s=32682)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8258,3913],{32682:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/ChatDialog",function(){return l(7332)}])},2440:function(e,t,l){"use strict";var n=l(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},39718:function(e,t,l){"use strict";var n=l(85893),a=l(19284),r=l(25675),s=l.n(r),i=l(67294);t.Z=(0,i.memo)(e=>{let{width:t,height:l,model:r}=e,o=(0,i.useMemo)(()=>{let e=null==r?void 0:r.replaceAll("-","_").split("_")[0],t=Object.keys(a.Me);for(let l=0;l{let{width:t,height:l,scene:i}=e,o=(0,s.useCallback)(()=>{switch(i){case"chat_knowledge":return a.je;case"chat_with_db_execute":return a.zM;case"chat_excel":return a.DL;case"chat_with_db_qa":case"chat_dba":return a.RD;case"chat_dashboard":return a.In;case"chat_agent":return a.si;case"chat_normal":return a.O7;default:return}},[i]);return(0,n.jsx)(r.Z,{className:"w-".concat(t||7," h-").concat(l||7),component:o()})}},70065:function(e,t,l){"use strict";var n=l(91321);let a=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=a},7332:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(39718),r=l(18102),s=l(96074),i=l(93967),o=l.n(i),c=l(67294),d=l(73913),u=l(32966);t.default=(0,c.memo)(e=>{let{message:t,index:l}=e,{scene:i}=(0,c.useContext)(d.MobileChatContext),{context:x,model_name:m,role:p,thinking:v}=t,h=(0,c.useMemo)(()=>"view"===p,[p]),f=(0,c.useRef)(null),{value:g}=(0,c.useMemo)(()=>{if("string"!=typeof x)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=x.split(" relations:"),l=t?t.split(","):[],n=[],a=0,r=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let l=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),r=JSON.parse(l),s="".concat(a,"");return n.push({...r,result:b(null!==(t=r.result)&&void 0!==t?t:"")}),a++,s}catch(t){return console.log(t.message,t),e}});return{relations:l,cachePluginContext:n,value:r}},[x]),b=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"");return(0,n.jsxs)("div",{className:o()("flex w-full",{"justify-end":!h}),ref:f,children:[!h&&(0,n.jsx)("div",{className:"flex bg-[#0C75FC] text-white p-3 rounded-xl rounded-br-none",children:x}),h&&(0,n.jsxs)("div",{className:"flex max-w-full flex-col flex-wrap bg-white dark:bg-[rgba(255,255,255,0.16)] p-3 rounded-xl rounded-bl-none",children:["string"==typeof x&&"chat_agent"===i&&(0,n.jsx)(r.default,{children:null==g?void 0:g.replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"")}),"string"==typeof x&&"chat_agent"!==i&&(0,n.jsx)(r.default,{children:b(g)}),v&&!x&&(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:"思考中"}),(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]}),!v&&(0,n.jsx)(s.Z,{className:"my-2"}),(0,n.jsxs)("div",{className:o()("opacity-0 h-0 w-0",{"opacity-100 flex items-center justify-between gap-6 w-auto h-auto":!v}),children:[(0,n.jsx)(u.default,{content:t,index:l,chatDialogRef:f}),"chat_agent"!==i&&(0,n.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,n.jsx)(a.Z,{width:14,height:14,model:m}),(0,n.jsx)("span",{className:"text-xs text-gray-500",children:m})]})]})]})]})})},5583:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(85265),r=l(66309),s=l(25278),i=l(14726),o=l(67294);t.default=e=>{let{open:t,setFeedbackOpen:l,list:c,feedback:d,loading:u}=e,[x,m]=(0,o.useState)([]),[p,v]=(0,o.useState)("");return(0,n.jsx)(a.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>l(!1),destroyOnClose:!0,height:"auto",children:(0,n.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,n.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==c?void 0:c.map(e=>{let t=x.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,n.jsx)(r.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{m(t=>{let l=t.findIndex(t=>t.reason_type===e.reason_type);return l>-1?[...t.slice(0,l),...t.slice(l+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,n.jsx)(s.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:p,onChange:e=>v(e.target.value.trim())}),(0,n.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,n.jsx)(i.ZP,{className:"w-16 h-8",onClick:()=>{l(!1)},children:"取消"}),(0,n.jsx)(i.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=x.map(e=>e.reason_type);await (null==d?void 0:d({feedback_type:"unlike",reason_types:e,remark:p}))},loading:u,children:"确认"})]})]})})}},32966:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(65429),s=l(15381),i=l(57132),o=l(65654),c=l(31418),d=l(96074),u=l(14726),x=l(93967),m=l.n(x),p=l(20640),v=l.n(p),h=l(67294),f=l(73913),g=l(5583);t.default=e=>{var t;let{content:l,index:x,chatDialogRef:p}=e,{conv_uid:b,history:j,scene:w}=(0,h.useContext)(f.MobileChatContext),{message:y}=c.Z.useApp(),[_,N]=(0,h.useState)(!1),[k,C]=(0,h.useState)(null==l?void 0:null===(t=l.feedback)||void 0===t?void 0:t.feedback_type),[Z,S]=(0,h.useState)([]),R=async e=>{var t;let l=null==e?void 0:e.replace(/\trelations:.*/g,""),n=v()((null===(t=p.current)||void 0===t?void 0:t.textContent)||l);n?l?y.success("复制成功"):y.warning("内容复制为空"):y.error("复制失败")},{run:E,loading:M}=(0,o.Z)(async e=>await (0,a.Vx)((0,a.zx)({conv_uid:b,message_id:l.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;C(null==t?void 0:t.feedback_type),y.success("反馈成功"),N(!1)}}),{run:O}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Ir)({conv_uid:b,message_id:(null==l?void 0:l.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(C("none"),y.success("操作成功"))}}),{run:A}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;S(t||[]),t&&N(!0)}}),{run:P,loading:T}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Ty)({conv_id:b,round_index:0})),{manual:!0,onSuccess:()=>{y.success("操作成功")}});return(0,n.jsxs)("div",{className:"flex items-center text-sm",children:[(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)(r.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"like"===k}),onClick:async()=>{if("like"===k){await O();return}await E({feedback_type:"like"})}}),(0,n.jsx)(s.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"unlike"===k}),onClick:async()=>{if("unlike"===k){await O();return}await A()}}),(0,n.jsx)(g.default,{open:_,setFeedbackOpen:N,list:Z,feedback:E,loading:M})]}),(0,n.jsx)(d.Z,{type:"vertical"}),(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)(i.Z,{className:"cursor-pointer",onClick:()=>R(l.context)}),j.length-1===x&&"chat_agent"===w&&(0,n.jsx)(u.ZP,{loading:T,size:"small",onClick:async()=>{await P()},className:"text-xs",children:"终止话题"})]})]})}},56397:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(48218),r=l(58638),s=l(31418),i=l(45030),o=l(20640),c=l.n(o),d=l(67294),u=l(73913);t.default=(0,d.memo)(()=>{var e;let{appInfo:t}=(0,d.useContext)(u.MobileChatContext),{message:l}=s.Z.useApp(),[o,x]=(0,d.useState)(0);if(!(null==t?void 0:t.app_code))return null;let m=async()=>{let e=c()("dingtalk://dingtalkclient/page/link?url=".concat(encodeURIComponent(location.href),"&pc_slide=true"));l[e?"success":"error"](e?"复制成功":"复制失败")};return o>6&&l.info(JSON.stringify(window.navigator.userAgent),2,()=>{x(0)}),(0,n.jsxs)("header",{className:"flex w-full items-center justify-between bg-[rgba(255,255,255,0.9)] border dark:bg-black dark:border-[rgba(255,255,255,0.6)] rounded-xl mx-auto px-4 py-2 mb-4 sticky top-4 z-50 mt-4 shadow-md",children:[(0,n.jsxs)("div",{className:"flex gap-2 items-center",onClick:()=>x(o+1),children:[(0,n.jsx)(a.Z,{scene:(null==t?void 0:null===(e=t.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent",width:8,height:8}),(0,n.jsxs)("div",{className:"flex flex-col ml-2",children:[(0,n.jsx)(i.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==t?void 0:t.app_name}),(0,n.jsx)(i.Z.Text,{className:"text-sm line-clamp-2",children:null==t?void 0:t.app_describe})]})]}),(0,n.jsx)("div",{onClick:m,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,n.jsx)(r.Z,{className:"text-lg"})})]})})},74638:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(62418),s=l(25519),i=l(30159),o=l(87740),c=l(50888),d=l(52645),u=l(27496),x=l(1375),m=l(65654),p=l(66309),v=l(55241),h=l(74330),f=l(25278),g=l(14726),b=l(93967),j=l.n(b),w=l(39332),y=l(67294),_=l(73913),N=l(7001),k=l(73749),C=l(97109),Z=l(83454);let S=["magenta","orange","geekblue","purple","cyan","green"];t.default=()=>{var e,t;let l=(0,w.useSearchParams)(),b=null!==(t=null==l?void 0:l.get("ques"))&&void 0!==t?t:"",{history:R,model:E,scene:M,temperature:O,resource:A,conv_uid:P,appInfo:T,scrollViewRef:I,order:V,userInput:z,ctrl:D,canAbort:J,canNewChat:$,setHistory:L,setCanNewChat:U,setCarAbort:q,setUserInput:F}=(0,y.useContext)(_.MobileChatContext),[H,W]=(0,y.useState)(!1),[B,K]=(0,y.useState)(!1),X=async e=>{var t,l,n;F(""),D.current=new AbortController;let a={chat_mode:M,model_name:E,user_input:e||z,conv_uid:P,temperature:O,app_code:null==T?void 0:T.app_code,...A&&{select_param:JSON.stringify(A)}};if(R&&R.length>0){let e=null==R?void 0:R.filter(e=>"view"===e.role);V.current=e[e.length-1].order+1}let i=[{role:"human",context:e||z,model_name:E,order:V.current,time_stamp:0},{role:"view",context:"",model_name:E,order:V.current,time_stamp:0,thinking:!0}],o=i.length-1;L([...R,...i]),U(!1);try{await (0,x.L)("".concat(null!==(t=Z.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[s.gp]:null!==(l=(0,r.n5)())&&void 0!==l?l:""},signal:D.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===x.a)return},onclose(){var e;null===(e=D.current)||void 0===e||e.abort(),U(!0),q(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?(U(!0),q(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(i[o].context=null==t?void 0:t.replace("[ERROR]",""),i[o].thinking=!1,L([...R,...i]),U(!0),q(!1)):(q(!0),i[o].context=t,i[o].thinking=!1,L([...R,...i]))}})}catch(e){null===(n=D.current)||void 0===n||n.abort(),i[o].context="Sorry, we meet some error, please try again later.",i[o].thinking=!1,L([...i]),U(!0),q(!1)}},G=async()=>{z.trim()&&$&&await X()};(0,y.useEffect)(()=>{var e,t;null===(e=I.current)||void 0===e||e.scrollTo({top:null===(t=I.current)||void 0===t?void 0:t.scrollHeight,behavior:"auto"})},[R,I]);let Q=(0,y.useMemo)(()=>{if(!T)return[];let{param_need:e=[]}=T;return null==e?void 0:e.map(e=>e.type)},[T]),Y=(0,y.useMemo)(()=>{var e;return 0===R.length&&T&&!!(null==T?void 0:null===(e=T.recommend_questions)||void 0===e?void 0:e.length)},[R,T]),{run:ee,loading:et}=(0,m.Z)(async()=>await (0,a.Vx)((0,a.zR)(P)),{manual:!0,onSuccess:()=>{L([])}});return(0,y.useEffect)(()=>{b&&E&&P&&T&&X(b)},[T,P,E,b]),(0,n.jsxs)("div",{className:"flex flex-col",children:[Y&&(0,n.jsx)("ul",{children:null==T?void 0:null===(e=T.recommend_questions)||void 0===e?void 0:e.map((e,t)=>(0,n.jsx)("li",{className:"mb-3",children:(0,n.jsx)(p.Z,{color:S[t],className:"p-2 rounded-xl",onClick:async()=>{X(e.question)},children:e.question})},e.id))}),(0,n.jsxs)("div",{className:"flex items-center justify-between gap-1",children:[(0,n.jsxs)("div",{className:"flex gap-2 mb-1 w-full overflow-x-auto",children:[(null==Q?void 0:Q.includes("model"))&&(0,n.jsx)(N.default,{}),(null==Q?void 0:Q.includes("resource"))&&(0,n.jsx)(k.default,{}),(null==Q?void 0:Q.includes("temperature"))&&(0,n.jsx)(C.default,{})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between text-lg font-bold",children:[(0,n.jsx)(v.Z,{content:"暂停回复",trigger:["hover"],children:(0,n.jsx)(i.Z,{className:j()("p-2 cursor-pointer",{"text-[#0c75fc]":J,"text-gray-400":!J}),onClick:()=>{var e;J&&(null===(e=D.current)||void 0===e||e.abort(),setTimeout(()=>{q(!1),U(!0)},100))}})}),(0,n.jsx)(v.Z,{content:"再来一次",trigger:["hover"],children:(0,n.jsx)(o.Z,{className:j()("p-2 cursor-pointer",{"text-gray-400":!R.length||!$}),onClick:()=>{var e,t;if(!$||0===R.length)return;let l=null===(e=null===(t=R.filter(e=>"human"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];X((null==l?void 0:l.context)||"")}})}),et?(0,n.jsx)(h.Z,{spinning:et,indicator:(0,n.jsx)(c.Z,{style:{fontSize:18},spin:!0}),className:"p-2"}):(0,n.jsx)(v.Z,{content:"清除历史",trigger:["hover"],children:(0,n.jsx)(d.Z,{className:j()("p-2 cursor-pointer",{"text-gray-400":!R.length||!$}),onClick:()=>{$&&ee()}})})]})]}),(0,n.jsxs)("div",{className:j()("flex py-2 px-3 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border",{"border-[#0c75fc] dark:border-[rgba(12,117,252,0.8)]":H}),children:[(0,n.jsx)(f.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:z,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(B){e.preventDefault();return}z.trim()&&(e.preventDefault(),G())}},onChange:e=>{F(e.target.value)},onFocus:()=>{W(!0)},onBlur:()=>W(!1),onCompositionStartCapture:()=>{K(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{K(!1)},0)}}),(0,n.jsx)(g.ZP,{type:"primary",className:j()("flex items-center justify-center rounded-lg bg-button-gradient border-0 ml-2",{"opacity-40 cursor-not-allowed":!z.trim()||!$}),onClick:G,children:$?(0,n.jsx)(u.Z,{}):(0,n.jsx)(h.Z,{indicator:(0,n.jsx)(c.Z,{className:"text-white"})})})]})]})}},7001:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(41468),r=l(39718),s=l(94668),i=l(85418),o=l(55241),c=l(67294),d=l(73913);t.default=()=>{let{modelList:e}=(0,c.useContext)(a.p),{model:t,setModel:l}=(0,c.useContext)(d.MobileChatContext),u=(0,c.useMemo)(()=>e.length>0?e.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{l(e)},children:[(0,n.jsx)(r.Z,{width:14,height:14,model:e}),(0,n.jsx)("span",{className:"text-xs",children:e})]}),key:e})):[],[e,l]);return(0,n.jsx)(i.Z,{menu:{items:u},placement:"top",trigger:["click"],children:(0,n.jsx)(o.Z,{content:t,children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(r.Z,{width:16,height:16,model:t}),(0,n.jsx)("span",{className:"text-xs font-medium line-clamp-1",style:{maxWidth:96},children:t}),(0,n.jsx)(s.Z,{rotate:90})]})})})}},46568:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(25675),r=l.n(a),s=l(67294);t.default=(0,s.memo)(e=>{let{width:t,height:l,src:a,label:s}=e;return(0,n.jsx)(r(),{width:t||14,height:l||14,src:a,alt:s||"db-icon",priority:!0})})},73749:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(62418),s=l(50888),i=l(94668),o=l(83266),c=l(65654),d=l(74330),u=l(23799),x=l(85418),m=l(67294),p=l(73913),v=l(46568);t.default=()=>{let{appInfo:e,resourceList:t,scene:l,model:h,conv_uid:f,getChatHistoryRun:g,setResource:b,resource:j}=(0,m.useContext)(p.MobileChatContext),[w,y]=(0,m.useState)(null),_=(0,m.useMemo)(()=>{var t,l,n;return null===(t=null==e?void 0:null===(l=e.param_need)||void 0===l?void 0:l.filter(e=>"resource"===e.type))||void 0===t?void 0:null===(n=t[0])||void 0===n?void 0:n.value},[e]),N=(0,m.useMemo)(()=>t&&t.length>0?t.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{y(e),b(e.space_id||e.param)},children:[(0,n.jsx)(v.default,{width:14,height:14,src:r.S$[e.type].icon,label:r.S$[e.type].label}),(0,n.jsx)("span",{className:"text-xs",children:e.param})]}),key:e.space_id||e.param})):[],[t,b]),{run:k,loading:C}=(0,c.Z)(async e=>{let[,t]=await (0,a.Vx)((0,a.qn)({convUid:f,chatMode:l,data:e,model:h,config:{timeout:36e5}}));return b(t),t},{manual:!0,onSuccess:async()=>{await g()}}),Z=async e=>{let t=new FormData;t.append("doc_file",null==e?void 0:e.file),await k(t)},S=(0,m.useMemo)(()=>C?(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(d.Z,{size:"small",indicator:(0,n.jsx)(s.Z,{spin:!0})}),(0,n.jsx)("span",{className:"text-xs",children:"上传中"})]}):j?(0,n.jsxs)("div",{className:"flex gap-1",children:[(0,n.jsx)("span",{className:"text-xs",children:j.file_name}),(0,n.jsx)(i.Z,{rotate:90})]}):(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(o.Z,{className:"text-base"}),(0,n.jsx)("span",{className:"text-xs",children:"上传文件"})]}),[C,j]);return(0,n.jsx)(n.Fragment,{children:(()=>{switch(_){case"excel_file":case"text_file":case"image_file":return(0,n.jsx)("div",{className:"flex items-center justify-center gap-1 border rounded-xl bg-white dark:bg-black px-2 flex-shrink-0",children:(0,n.jsx)(u.default,{name:"file",accept:".xlsx,.xls",maxCount:1,showUploadList:!1,beforeUpload:()=>!1,onChange:Z,className:"flex h-full w-full items-center justify-center",children:S})});case"database":case"knowledge":case"plugin":case"awel_flow":var e,l,a,s,o;if(!(null==t?void 0:t.length))return null;return(0,n.jsx)(x.Z,{menu:{items:N},placement:"top",trigger:["click"],children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(v.default,{width:14,height:14,src:null===(e=r.S$[(null==w?void 0:w.type)||(null==t?void 0:null===(l=t[0])||void 0===l?void 0:l.type)])||void 0===e?void 0:e.icon,label:null===(a=r.S$[(null==w?void 0:w.type)||(null==t?void 0:null===(s=t[0])||void 0===s?void 0:s.type)])||void 0===a?void 0:a.label}),(0,n.jsx)("span",{className:"text-xs font-medium",children:(null==w?void 0:w.param)||(null==t?void 0:null===(o=t[0])||void 0===o?void 0:o.param)}),(0,n.jsx)(i.Z,{rotate:90})]})})}})()})}},97109:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(70065),r=l(85418),s=l(30568),i=l(67294),o=l(73913);t.default=()=>{let{temperature:e,setTemperature:t}=(0,i.useContext)(o.MobileChatContext),l=e=>{isNaN(e)||t(e)};return(0,n.jsx)(r.Z,{trigger:["click"],dropdownRender:()=>(0,n.jsx)("div",{className:"flex h-28 bg-white dark:bg-[rgba(255,255,255,0.5)] items-center justify-center rounded-xl py-3",children:(0,n.jsx)(s.Z,{defaultValue:.5,max:1,min:0,step:.1,vertical:!0,onChange:l,value:e})}),placement:"top",children:(0,n.jsxs)("div",{className:"flex items-center justify-between border rounded-xl bg-white dark:bg-black w-14 p-2 flex-shrink-0",children:[(0,n.jsx)(a.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,n.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},73913:function(e,t,l){"use strict";l.r(t),l.d(t,{MobileChatContext:function(){return j}});var n=l(85893),a=l(41468),r=l(76212),s=l(2440),i=l(62418),o=l(25519),c=l(1375),d=l(65654),u=l(74330),x=l(5152),m=l.n(x),p=l(39332),v=l(67294),h=l(56397),f=l(74638),g=l(83454);let b=m()(()=>Promise.all([l.e(3662),l.e(7034),l.e(8674),l.e(930),l.e(3166),l.e(2837),l.e(2168),l.e(8163),l.e(7126),l.e(4041),l.e(2398),l.e(1300),l.e(4567),l.e(7665),l.e(9773),l.e(3457),l.e(4035),l.e(6624),l.e(4705),l.e(9202),l.e(5782),l.e(2783),l.e(8709),l.e(9256),l.e(9870)]).then(l.bind(l,36818)),{loadableGenerated:{webpack:()=>[36818]},ssr:!1}),j=(0,v.createContext)({model:"",temperature:.5,resource:null,setModel:()=>{},setTemperature:()=>{},setResource:()=>{},scene:"",history:[],setHistory:()=>{},scrollViewRef:{current:null},appInfo:{},conv_uid:"",resourceList:[],order:{current:1},handleChat:()=>Promise.resolve(),canAbort:!1,setCarAbort:()=>{},canNewChat:!1,setCanNewChat:()=>{},ctrl:{current:void 0},userInput:"",setUserInput:()=>{},getChatHistoryRun:()=>{}});t.default=()=>{var e,t;let l=(0,p.useSearchParams)(),x=null!==(e=null==l?void 0:l.get("chat_scene"))&&void 0!==e?e:"",m=null!==(t=null==l?void 0:l.get("app_code"))&&void 0!==t?t:"",{modelList:w}=(0,v.useContext)(a.p),[y,_]=(0,v.useState)([]),[N,k]=(0,v.useState)(""),[C,Z]=(0,v.useState)(.5),[S,R]=(0,v.useState)(null),E=(0,v.useRef)(null),[M,O]=(0,v.useState)(""),[A,P]=(0,v.useState)(!1),[T,I]=(0,v.useState)(!0),V=(0,v.useRef)(),z=(0,v.useRef)(1),D=(0,s.Z)(),J=(0,v.useMemo)(()=>"".concat(null==D?void 0:D.user_no,"_").concat(m),[m,D]),{run:$,loading:L}=(0,d.Z)(async()=>await (0,r.Vx)((0,r.$i)("".concat(null==D?void 0:D.user_no,"_").concat(m))),{manual:!0,onSuccess:e=>{let[,t]=e,l=null==t?void 0:t.filter(e=>"view"===e.role);l&&l.length>0&&(z.current=l[l.length-1].order+1),_(t||[])}}),{data:U,run:q,loading:F}=(0,d.Z)(async e=>{let[,t]=await (0,r.Vx)((0,r.BN)(e));return null!=t?t:{}},{manual:!0}),{run:H,data:W,loading:B}=(0,d.Z)(async()=>{var e,t;let[,l]=await (0,r.Vx)((0,r.vD)(x));return R((null==l?void 0:null===(e=l[0])||void 0===e?void 0:e.space_id)||(null==l?void 0:null===(t=l[0])||void 0===t?void 0:t.param)),null!=l?l:[]},{manual:!0}),{run:K,loading:X}=(0,d.Z)(async()=>{let[,e]=await (0,r.Vx)((0,r.iP)());return null!=e?e:[]},{manual:!0,onSuccess:e=>{var t;let l=null===(t=null==e?void 0:e.filter(e=>e.conv_uid===J))||void 0===t?void 0:t[0];(null==l?void 0:l.select_param)&&R(JSON.parse(null==l?void 0:l.select_param))}});(0,v.useEffect)(()=>{x&&m&&w.length&&q({chat_scene:x,app_code:m})},[m,x,q,w]),(0,v.useEffect)(()=>{m&&$()},[m]),(0,v.useEffect)(()=>{if(w.length>0){var e,t,l;let n=null===(e=null==U?void 0:null===(t=U.param_need)||void 0===t?void 0:t.filter(e=>"model"===e.type))||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.value;k(n||w[0])}},[w,U]),(0,v.useEffect)(()=>{var e,t,l;let n=null===(e=null==U?void 0:null===(t=U.param_need)||void 0===t?void 0:t.filter(e=>"temperature"===e.type))||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.value;Z(n||.5)},[U]),(0,v.useEffect)(()=>{if(x&&(null==U?void 0:U.app_code)){var e,t,l,n,a,r;let s=null===(e=null==U?void 0:null===(t=U.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type))||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.value,i=null===(n=null==U?void 0:null===(a=U.param_need)||void 0===a?void 0:a.filter(e=>"resource"===e.type))||void 0===n?void 0:null===(r=n[0])||void 0===r?void 0:r.bind_value;i&&R(i),["database","knowledge","plugin","awel_flow"].includes(s)&&!i&&H()}},[U,x,H]);let G=async e=>{var t,l,n;O(""),V.current=new AbortController;let a={chat_mode:x,model_name:N,user_input:e||M,conv_uid:J,temperature:C,app_code:null==U?void 0:U.app_code,...S&&{select_param:S}};if(y&&y.length>0){let e=null==y?void 0:y.filter(e=>"view"===e.role);z.current=e[e.length-1].order+1}let r=[{role:"human",context:e||M,model_name:N,order:z.current,time_stamp:0},{role:"view",context:"",model_name:N,order:z.current,time_stamp:0,thinking:!0}],s=r.length-1;_([...y,...r]),I(!1);try{await (0,c.L)("".concat(null!==(t=g.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[o.gp]:null!==(l=(0,i.n5)())&&void 0!==l?l:""},signal:V.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===c.a)return},onclose(){var e;null===(e=V.current)||void 0===e||e.abort(),I(!0),P(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?(I(!0),P(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(r[s].context=null==t?void 0:t.replace("[ERROR]",""),r[s].thinking=!1,_([...y,...r]),I(!0),P(!1)):(P(!0),r[s].context=t,r[s].thinking=!1,_([...y,...r]))}})}catch(e){null===(n=V.current)||void 0===n||n.abort(),r[s].context="Sorry, we meet some error, please try again later.",r[s].thinking=!1,_([...r]),I(!0),P(!1)}};return(0,v.useEffect)(()=>{x&&"chat_agent"!==x&&K()},[x,K]),(0,n.jsx)(j.Provider,{value:{model:N,resource:S,setModel:k,setTemperature:Z,setResource:R,temperature:C,appInfo:U,conv_uid:J,scene:x,history:y,scrollViewRef:E,setHistory:_,resourceList:W,order:z,handleChat:G,setCanNewChat:I,ctrl:V,canAbort:A,setCarAbort:P,canNewChat:T,userInput:M,setUserInput:O,getChatHistoryRun:$},children:(0,n.jsx)(u.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:L||F||B||X,children:(0,n.jsxs)("div",{className:"flex flex-col h-screen bg-gradient-light dark:bg-gradient-dark p-4 pt-0",children:[(0,n.jsxs)("div",{ref:E,className:"flex flex-col flex-1 overflow-y-auto mb-3",children:[(0,n.jsx)(h.default,{}),(0,n.jsx)(b,{})]}),(null==U?void 0:U.app_code)&&(0,n.jsx)(f.default,{})]})})})}}},function(e){e.O(0,[3662,7034,8674,930,3166,2837,2168,8163,7126,2648,3791,2913,5278,4330,8791,5030,5418,4041,2398,3799,2684,1300,4567,7665,9773,3457,4035,6624,4705,9202,5782,6388,8709,9256,9774,2888,179],function(){return e(e.s=32682)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Content-8bc84af01457ddb4.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Content-bfce0c3b000c798a.js similarity index 60% rename from dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Content-8bc84af01457ddb4.js rename to dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Content-bfce0c3b000c798a.js index 32e5c8126..6c1436ed0 100644 --- a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Content-8bc84af01457ddb4.js +++ b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Content-bfce0c3b000c798a.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6980,3913],{79373:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Content",function(){return l(36818)}])},2440:function(e,t,l){"use strict";var n=l(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},39718:function(e,t,l){"use strict";var n=l(85893),a=l(19284),r=l(25675),s=l.n(r),i=l(67294);t.Z=(0,i.memo)(e=>{let{width:t,height:l,model:r}=e,o=(0,i.useMemo)(()=>{let e=null==r?void 0:r.replaceAll("-","_").split("_")[0],t=Object.keys(a.Me);for(let l=0;l{let{width:t,height:l,scene:i}=e,o=(0,s.useCallback)(()=>{switch(i){case"chat_knowledge":return a.je;case"chat_with_db_execute":return a.zM;case"chat_excel":return a.DL;case"chat_with_db_qa":case"chat_dba":return a.RD;case"chat_dashboard":return a.In;case"chat_agent":return a.si;case"chat_normal":return a.O7;default:return}},[i]);return(0,n.jsx)(r.Z,{className:"w-".concat(t||7," h-").concat(l||7),component:o()})}},70065:function(e,t,l){"use strict";var n=l(91321);let a=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=a},7332:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(39718),r=l(18102),s=l(96074),i=l(93967),o=l.n(i),c=l(67294),d=l(73913),u=l(32966);t.default=(0,c.memo)(e=>{let{message:t,index:l}=e,{scene:i}=(0,c.useContext)(d.MobileChatContext),{context:x,model_name:m,role:p,thinking:v}=t,h=(0,c.useMemo)(()=>"view"===p,[p]),f=(0,c.useRef)(null),{value:g}=(0,c.useMemo)(()=>{if("string"!=typeof x)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=x.split(" relations:"),l=t?t.split(","):[],n=[],a=0,r=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let l=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),r=JSON.parse(l),s="".concat(a,"");return n.push({...r,result:j(null!==(t=r.result)&&void 0!==t?t:"")}),a++,s}catch(t){return console.log(t.message,t),e}});return{relations:l,cachePluginContext:n,value:r}},[x]),j=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"");return(0,n.jsxs)("div",{className:o()("flex w-full",{"justify-end":!h}),ref:f,children:[!h&&(0,n.jsx)("div",{className:"flex bg-[#0C75FC] text-white p-3 rounded-xl rounded-br-none",children:x}),h&&(0,n.jsxs)("div",{className:"flex max-w-full flex-col flex-wrap bg-white dark:bg-[rgba(255,255,255,0.16)] p-3 rounded-xl rounded-bl-none",children:["string"==typeof x&&"chat_agent"===i&&(0,n.jsx)(r.default,{children:null==g?void 0:g.replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"")}),"string"==typeof x&&"chat_agent"!==i&&(0,n.jsx)(r.default,{children:j(g)}),v&&!x&&(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:"思考中"}),(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]}),!v&&(0,n.jsx)(s.Z,{className:"my-2"}),(0,n.jsxs)("div",{className:o()("opacity-0 h-0 w-0",{"opacity-100 flex items-center justify-between gap-6 w-auto h-auto":!v}),children:[(0,n.jsx)(u.default,{content:t,index:l,chatDialogRef:f}),"chat_agent"!==i&&(0,n.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,n.jsx)(a.Z,{width:14,height:14,model:m}),(0,n.jsx)("span",{className:"text-xs text-gray-500",children:m})]})]})]})]})})},36818:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(67294),r=l(73913),s=l(7332);t.default=(0,a.memo)(()=>{let{history:e}=(0,a.useContext)(r.MobileChatContext),t=(0,a.useMemo)(()=>e.filter(e=>["view","human"].includes(e.role)),[e]);return(0,n.jsx)("div",{className:"flex flex-col gap-4",children:!!t.length&&t.map((e,t)=>(0,n.jsx)(s.default,{message:e,index:t},e.context+t))})})},5583:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(85265),r=l(66309),s=l(55102),i=l(14726),o=l(67294);t.default=e=>{let{open:t,setFeedbackOpen:l,list:c,feedback:d,loading:u}=e,[x,m]=(0,o.useState)([]),[p,v]=(0,o.useState)("");return(0,n.jsx)(a.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>l(!1),destroyOnClose:!0,height:"auto",children:(0,n.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,n.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==c?void 0:c.map(e=>{let t=x.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,n.jsx)(r.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{m(t=>{let l=t.findIndex(t=>t.reason_type===e.reason_type);return l>-1?[...t.slice(0,l),...t.slice(l+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,n.jsx)(s.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:p,onChange:e=>v(e.target.value.trim())}),(0,n.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,n.jsx)(i.ZP,{className:"w-16 h-8",onClick:()=>{l(!1)},children:"取消"}),(0,n.jsx)(i.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=x.map(e=>e.reason_type);await (null==d?void 0:d({feedback_type:"unlike",reason_types:e,remark:p}))},loading:u,children:"确认"})]})]})})}},32966:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(65429),s=l(15381),i=l(85175),o=l(65654),c=l(31418),d=l(96074),u=l(14726),x=l(93967),m=l.n(x),p=l(20640),v=l.n(p),h=l(67294),f=l(73913),g=l(5583);t.default=e=>{var t;let{content:l,index:x,chatDialogRef:p}=e,{conv_uid:j,history:b,scene:w}=(0,h.useContext)(f.MobileChatContext),{message:y}=c.Z.useApp(),[_,N]=(0,h.useState)(!1),[k,C]=(0,h.useState)(null==l?void 0:null===(t=l.feedback)||void 0===t?void 0:t.feedback_type),[Z,S]=(0,h.useState)([]),R=async e=>{var t;let l=null==e?void 0:e.replace(/\trelations:.*/g,""),n=v()((null===(t=p.current)||void 0===t?void 0:t.textContent)||l);n?l?y.success("复制成功"):y.warning("内容复制为空"):y.error("复制失败")},{run:E,loading:M}=(0,o.Z)(async e=>await (0,a.Vx)((0,a.zx)({conv_uid:j,message_id:l.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;C(null==t?void 0:t.feedback_type),y.success("反馈成功"),N(!1)}}),{run:O}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Ir)({conv_uid:j,message_id:(null==l?void 0:l.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(C("none"),y.success("操作成功"))}}),{run:A}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;S(t||[]),t&&N(!0)}}),{run:P,loading:T}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Ty)({conv_id:j,round_index:0})),{manual:!0,onSuccess:()=>{y.success("操作成功")}});return(0,n.jsxs)("div",{className:"flex items-center text-sm",children:[(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)(r.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"like"===k}),onClick:async()=>{if("like"===k){await O();return}await E({feedback_type:"like"})}}),(0,n.jsx)(s.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"unlike"===k}),onClick:async()=>{if("unlike"===k){await O();return}await A()}}),(0,n.jsx)(g.default,{open:_,setFeedbackOpen:N,list:Z,feedback:E,loading:M})]}),(0,n.jsx)(d.Z,{type:"vertical"}),(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)(i.Z,{className:"cursor-pointer",onClick:()=>R(l.context)}),b.length-1===x&&"chat_agent"===w&&(0,n.jsx)(u.ZP,{loading:T,size:"small",onClick:async()=>{await P()},className:"text-xs",children:"终止话题"})]})]})}},56397:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(48218),r=l(58638),s=l(31418),i=l(91776),o=l(20640),c=l.n(o),d=l(67294),u=l(73913);t.default=(0,d.memo)(()=>{var e;let{appInfo:t}=(0,d.useContext)(u.MobileChatContext),{message:l}=s.Z.useApp(),[o,x]=(0,d.useState)(0);if(!(null==t?void 0:t.app_code))return null;let m=async()=>{let e=c()("dingtalk://dingtalkclient/page/link?url=".concat(encodeURIComponent(location.href),"&pc_slide=true"));l[e?"success":"error"](e?"复制成功":"复制失败")};return o>6&&l.info(JSON.stringify(window.navigator.userAgent),2,()=>{x(0)}),(0,n.jsxs)("header",{className:"flex w-full items-center justify-between bg-[rgba(255,255,255,0.9)] border dark:bg-black dark:border-[rgba(255,255,255,0.6)] rounded-xl mx-auto px-4 py-2 mb-4 sticky top-4 z-50 mt-4 shadow-md",children:[(0,n.jsxs)("div",{className:"flex gap-2 items-center",onClick:()=>x(o+1),children:[(0,n.jsx)(a.Z,{scene:(null==t?void 0:null===(e=t.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent",width:8,height:8}),(0,n.jsxs)("div",{className:"flex flex-col ml-2",children:[(0,n.jsx)(i.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==t?void 0:t.app_name}),(0,n.jsx)(i.Z.Text,{className:"text-sm line-clamp-2",children:null==t?void 0:t.app_describe})]})]}),(0,n.jsx)("div",{onClick:m,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,n.jsx)(r.Z,{className:"text-lg"})})]})})},74638:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(62418),s=l(25519),i=l(30159),o=l(87740),c=l(79090),d=l(52645),u=l(27496),x=l(1375),m=l(65654),p=l(66309),v=l(55241),h=l(74330),f=l(55102),g=l(14726),j=l(93967),b=l.n(j),w=l(39332),y=l(67294),_=l(73913),N=l(7001),k=l(73749),C=l(97109),Z=l(83454);let S=["magenta","orange","geekblue","purple","cyan","green"];t.default=()=>{var e,t;let l=(0,w.useSearchParams)(),j=null!==(t=null==l?void 0:l.get("ques"))&&void 0!==t?t:"",{history:R,model:E,scene:M,temperature:O,resource:A,conv_uid:P,appInfo:T,scrollViewRef:I,order:V,userInput:z,ctrl:D,canAbort:J,canNewChat:$,setHistory:L,setCanNewChat:U,setCarAbort:q,setUserInput:F}=(0,y.useContext)(_.MobileChatContext),[H,W]=(0,y.useState)(!1),[B,K]=(0,y.useState)(!1),X=async e=>{var t,l,n;F(""),D.current=new AbortController;let a={chat_mode:M,model_name:E,user_input:e||z,conv_uid:P,temperature:O,app_code:null==T?void 0:T.app_code,...A&&{select_param:JSON.stringify(A)}};if(R&&R.length>0){let e=null==R?void 0:R.filter(e=>"view"===e.role);V.current=e[e.length-1].order+1}let i=[{role:"human",context:e||z,model_name:E,order:V.current,time_stamp:0},{role:"view",context:"",model_name:E,order:V.current,time_stamp:0,thinking:!0}],o=i.length-1;L([...R,...i]),U(!1);try{await (0,x.L)("".concat(null!==(t=Z.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[s.gp]:null!==(l=(0,r.n5)())&&void 0!==l?l:""},signal:D.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===x.a)return},onclose(){var e;null===(e=D.current)||void 0===e||e.abort(),U(!0),q(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?(U(!0),q(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(i[o].context=null==t?void 0:t.replace("[ERROR]",""),i[o].thinking=!1,L([...R,...i]),U(!0),q(!1)):(q(!0),i[o].context=t,i[o].thinking=!1,L([...R,...i]))}})}catch(e){null===(n=D.current)||void 0===n||n.abort(),i[o].context="Sorry, we meet some error, please try again later.",i[o].thinking=!1,L([...i]),U(!0),q(!1)}},G=async()=>{z.trim()&&$&&await X()};(0,y.useEffect)(()=>{var e,t;null===(e=I.current)||void 0===e||e.scrollTo({top:null===(t=I.current)||void 0===t?void 0:t.scrollHeight,behavior:"auto"})},[R,I]);let Q=(0,y.useMemo)(()=>{if(!T)return[];let{param_need:e=[]}=T;return null==e?void 0:e.map(e=>e.type)},[T]),Y=(0,y.useMemo)(()=>{var e;return 0===R.length&&T&&!!(null==T?void 0:null===(e=T.recommend_questions)||void 0===e?void 0:e.length)},[R,T]),{run:ee,loading:et}=(0,m.Z)(async()=>await (0,a.Vx)((0,a.zR)(P)),{manual:!0,onSuccess:()=>{L([])}});return(0,y.useEffect)(()=>{j&&E&&P&&T&&X(j)},[T,P,E,j]),(0,n.jsxs)("div",{className:"flex flex-col",children:[Y&&(0,n.jsx)("ul",{children:null==T?void 0:null===(e=T.recommend_questions)||void 0===e?void 0:e.map((e,t)=>(0,n.jsx)("li",{className:"mb-3",children:(0,n.jsx)(p.Z,{color:S[t],className:"p-2 rounded-xl",onClick:async()=>{X(e.question)},children:e.question})},e.id))}),(0,n.jsxs)("div",{className:"flex items-center justify-between gap-1",children:[(0,n.jsxs)("div",{className:"flex gap-2 mb-1 w-full overflow-x-auto",children:[(null==Q?void 0:Q.includes("model"))&&(0,n.jsx)(N.default,{}),(null==Q?void 0:Q.includes("resource"))&&(0,n.jsx)(k.default,{}),(null==Q?void 0:Q.includes("temperature"))&&(0,n.jsx)(C.default,{})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between text-lg font-bold",children:[(0,n.jsx)(v.Z,{content:"暂停回复",trigger:["hover"],children:(0,n.jsx)(i.Z,{className:b()("p-2 cursor-pointer",{"text-[#0c75fc]":J,"text-gray-400":!J}),onClick:()=>{var e;J&&(null===(e=D.current)||void 0===e||e.abort(),setTimeout(()=>{q(!1),U(!0)},100))}})}),(0,n.jsx)(v.Z,{content:"再来一次",trigger:["hover"],children:(0,n.jsx)(o.Z,{className:b()("p-2 cursor-pointer",{"text-gray-400":!R.length||!$}),onClick:()=>{var e,t;if(!$||0===R.length)return;let l=null===(e=null===(t=R.filter(e=>"human"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];X((null==l?void 0:l.context)||"")}})}),et?(0,n.jsx)(h.Z,{spinning:et,indicator:(0,n.jsx)(c.Z,{style:{fontSize:18},spin:!0}),className:"p-2"}):(0,n.jsx)(v.Z,{content:"清除历史",trigger:["hover"],children:(0,n.jsx)(d.Z,{className:b()("p-2 cursor-pointer",{"text-gray-400":!R.length||!$}),onClick:()=>{$&&ee()}})})]})]}),(0,n.jsxs)("div",{className:b()("flex py-2 px-3 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border",{"border-[#0c75fc] dark:border-[rgba(12,117,252,0.8)]":H}),children:[(0,n.jsx)(f.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:z,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(B){e.preventDefault();return}z.trim()&&(e.preventDefault(),G())}},onChange:e=>{F(e.target.value)},onFocus:()=>{W(!0)},onBlur:()=>W(!1),onCompositionStartCapture:()=>{K(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{K(!1)},0)}}),(0,n.jsx)(g.ZP,{type:"primary",className:b()("flex items-center justify-center rounded-lg bg-button-gradient border-0 ml-2",{"opacity-40 cursor-not-allowed":!z.trim()||!$}),onClick:G,children:$?(0,n.jsx)(u.Z,{}):(0,n.jsx)(h.Z,{indicator:(0,n.jsx)(c.Z,{className:"text-white"})})})]})]})}},7001:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(39718),r=l(41468),s=l(41441),i=l(85418),o=l(55241),c=l(67294),d=l(73913);t.default=()=>{let{modelList:e}=(0,c.useContext)(r.p),{model:t,setModel:l}=(0,c.useContext)(d.MobileChatContext),u=(0,c.useMemo)(()=>e.length>0?e.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{l(e)},children:[(0,n.jsx)(a.Z,{width:14,height:14,model:e}),(0,n.jsx)("span",{className:"text-xs",children:e})]}),key:e})):[],[e,l]);return(0,n.jsx)(i.Z,{menu:{items:u},placement:"top",trigger:["click"],children:(0,n.jsx)(o.Z,{content:t,children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(a.Z,{width:16,height:16,model:t}),(0,n.jsx)("span",{className:"text-xs font-medium line-clamp-1",style:{maxWidth:96},children:t}),(0,n.jsx)(s.Z,{rotate:90})]})})})}},46568:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(25675),r=l.n(a),s=l(67294);t.default=(0,s.memo)(e=>{let{width:t,height:l,src:a,label:s}=e;return(0,n.jsx)(r(),{width:t||14,height:l||14,src:a,alt:s||"db-icon",priority:!0})})},73749:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(62418),s=l(79090),i=l(41441),o=l(83266),c=l(65654),d=l(74330),u=l(2913),x=l(85418),m=l(67294),p=l(73913),v=l(46568);t.default=()=>{let{appInfo:e,resourceList:t,scene:l,model:h,conv_uid:f,getChatHistoryRun:g,setResource:j,resource:b}=(0,m.useContext)(p.MobileChatContext),[w,y]=(0,m.useState)(null),_=(0,m.useMemo)(()=>{var t,l,n;return null===(t=null==e?void 0:null===(l=e.param_need)||void 0===l?void 0:l.filter(e=>"resource"===e.type))||void 0===t?void 0:null===(n=t[0])||void 0===n?void 0:n.value},[e]),N=(0,m.useMemo)(()=>t&&t.length>0?t.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{y(e),j(e.space_id||e.param)},children:[(0,n.jsx)(v.default,{width:14,height:14,src:r.S$[e.type].icon,label:r.S$[e.type].label}),(0,n.jsx)("span",{className:"text-xs",children:e.param})]}),key:e.space_id||e.param})):[],[t,j]),{run:k,loading:C}=(0,c.Z)(async e=>{let[,t]=await (0,a.Vx)((0,a.qn)({convUid:f,chatMode:l,data:e,model:h,config:{timeout:36e5}}));return j(t),t},{manual:!0,onSuccess:async()=>{await g()}}),Z=async e=>{let t=new FormData;t.append("doc_file",null==e?void 0:e.file),await k(t)},S=(0,m.useMemo)(()=>C?(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(d.Z,{size:"small",indicator:(0,n.jsx)(s.Z,{spin:!0})}),(0,n.jsx)("span",{className:"text-xs",children:"上传中"})]}):b?(0,n.jsxs)("div",{className:"flex gap-1",children:[(0,n.jsx)("span",{className:"text-xs",children:b.file_name}),(0,n.jsx)(i.Z,{rotate:90})]}):(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(o.Z,{className:"text-base"}),(0,n.jsx)("span",{className:"text-xs",children:"上传文件"})]}),[C,b]);return(0,n.jsx)(n.Fragment,{children:(()=>{switch(_){case"excel_file":case"text_file":case"image_file":return(0,n.jsx)("div",{className:"flex items-center justify-center gap-1 border rounded-xl bg-white dark:bg-black px-2 flex-shrink-0",children:(0,n.jsx)(u.default,{name:"file",accept:".xlsx,.xls",maxCount:1,showUploadList:!1,beforeUpload:()=>!1,onChange:Z,className:"flex h-full w-full items-center justify-center",children:S})});case"database":case"knowledge":case"plugin":case"awel_flow":var e,l,a,s,o;if(!(null==t?void 0:t.length))return null;return(0,n.jsx)(x.Z,{menu:{items:N},placement:"top",trigger:["click"],children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(v.default,{width:14,height:14,src:null===(e=r.S$[(null==w?void 0:w.type)||(null==t?void 0:null===(l=t[0])||void 0===l?void 0:l.type)])||void 0===e?void 0:e.icon,label:null===(a=r.S$[(null==w?void 0:w.type)||(null==t?void 0:null===(s=t[0])||void 0===s?void 0:s.type)])||void 0===a?void 0:a.label}),(0,n.jsx)("span",{className:"text-xs font-medium",children:(null==w?void 0:w.param)||(null==t?void 0:null===(o=t[0])||void 0===o?void 0:o.param)}),(0,n.jsx)(i.Z,{rotate:90})]})})}})()})}},97109:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(85418),r=l(30568),s=l(67294),i=l(73913),o=l(70065);t.default=()=>{let{temperature:e,setTemperature:t}=(0,s.useContext)(i.MobileChatContext),l=e=>{isNaN(e)||t(e)};return(0,n.jsx)(a.Z,{trigger:["click"],dropdownRender:()=>(0,n.jsx)("div",{className:"flex h-28 bg-white dark:bg-[rgba(255,255,255,0.5)] items-center justify-center rounded-xl py-3",children:(0,n.jsx)(r.Z,{defaultValue:.5,max:1,min:0,step:.1,vertical:!0,onChange:l,value:e})}),placement:"top",children:(0,n.jsxs)("div",{className:"flex items-center justify-between border rounded-xl bg-white dark:bg-black w-14 p-2 flex-shrink-0",children:[(0,n.jsx)(o.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,n.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},73913:function(e,t,l){"use strict";l.r(t),l.d(t,{MobileChatContext:function(){return b}});var n=l(85893),a=l(41468),r=l(76212),s=l(2440),i=l(62418),o=l(25519),c=l(1375),d=l(65654),u=l(74330),x=l(5152),m=l.n(x),p=l(39332),v=l(67294),h=l(56397),f=l(74638),g=l(83454);let j=m()(()=>Promise.all([l.e(3662),l.e(7034),l.e(4041),l.e(1941),l.e(5872),l.e(4567),l.e(2783),l.e(1531),l.e(2611),l.e(3320),l.e(5265),l.e(7332),l.e(7530),l.e(9397),l.e(6212),l.e(8709),l.e(9256),l.e(9870)]).then(l.bind(l,36818)),{loadableGenerated:{webpack:()=>[36818]},ssr:!1}),b=(0,v.createContext)({model:"",temperature:.5,resource:null,setModel:()=>{},setTemperature:()=>{},setResource:()=>{},scene:"",history:[],setHistory:()=>{},scrollViewRef:{current:null},appInfo:{},conv_uid:"",resourceList:[],order:{current:1},handleChat:()=>Promise.resolve(),canAbort:!1,setCarAbort:()=>{},canNewChat:!1,setCanNewChat:()=>{},ctrl:{current:void 0},userInput:"",setUserInput:()=>{},getChatHistoryRun:()=>{}});t.default=()=>{var e,t;let l=(0,p.useSearchParams)(),x=null!==(e=null==l?void 0:l.get("chat_scene"))&&void 0!==e?e:"",m=null!==(t=null==l?void 0:l.get("app_code"))&&void 0!==t?t:"",{modelList:w}=(0,v.useContext)(a.p),[y,_]=(0,v.useState)([]),[N,k]=(0,v.useState)(""),[C,Z]=(0,v.useState)(.5),[S,R]=(0,v.useState)(null),E=(0,v.useRef)(null),[M,O]=(0,v.useState)(""),[A,P]=(0,v.useState)(!1),[T,I]=(0,v.useState)(!0),V=(0,v.useRef)(),z=(0,v.useRef)(1),D=(0,s.Z)(),J=(0,v.useMemo)(()=>"".concat(null==D?void 0:D.user_no,"_").concat(m),[m,D]),{run:$,loading:L}=(0,d.Z)(async()=>await (0,r.Vx)((0,r.$i)("".concat(null==D?void 0:D.user_no,"_").concat(m))),{manual:!0,onSuccess:e=>{let[,t]=e,l=null==t?void 0:t.filter(e=>"view"===e.role);l&&l.length>0&&(z.current=l[l.length-1].order+1),_(t||[])}}),{data:U,run:q,loading:F}=(0,d.Z)(async e=>{let[,t]=await (0,r.Vx)((0,r.BN)(e));return null!=t?t:{}},{manual:!0}),{run:H,data:W,loading:B}=(0,d.Z)(async()=>{var e,t;let[,l]=await (0,r.Vx)((0,r.vD)(x));return R((null==l?void 0:null===(e=l[0])||void 0===e?void 0:e.space_id)||(null==l?void 0:null===(t=l[0])||void 0===t?void 0:t.param)),null!=l?l:[]},{manual:!0}),{run:K,loading:X}=(0,d.Z)(async()=>{let[,e]=await (0,r.Vx)((0,r.iP)());return null!=e?e:[]},{manual:!0,onSuccess:e=>{var t;let l=null===(t=null==e?void 0:e.filter(e=>e.conv_uid===J))||void 0===t?void 0:t[0];(null==l?void 0:l.select_param)&&R(JSON.parse(null==l?void 0:l.select_param))}});(0,v.useEffect)(()=>{x&&m&&w.length&&q({chat_scene:x,app_code:m})},[m,x,q,w]),(0,v.useEffect)(()=>{m&&$()},[m]),(0,v.useEffect)(()=>{if(w.length>0){var e,t,l;let n=null===(e=null==U?void 0:null===(t=U.param_need)||void 0===t?void 0:t.filter(e=>"model"===e.type))||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.value;k(n||w[0])}},[w,U]),(0,v.useEffect)(()=>{var e,t,l;let n=null===(e=null==U?void 0:null===(t=U.param_need)||void 0===t?void 0:t.filter(e=>"temperature"===e.type))||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.value;Z(n||.5)},[U]),(0,v.useEffect)(()=>{if(x&&(null==U?void 0:U.app_code)){var e,t,l,n,a,r;let s=null===(e=null==U?void 0:null===(t=U.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type))||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.value,i=null===(n=null==U?void 0:null===(a=U.param_need)||void 0===a?void 0:a.filter(e=>"resource"===e.type))||void 0===n?void 0:null===(r=n[0])||void 0===r?void 0:r.bind_value;i&&R(i),["database","knowledge","plugin","awel_flow"].includes(s)&&!i&&H()}},[U,x,H]);let G=async e=>{var t,l,n;O(""),V.current=new AbortController;let a={chat_mode:x,model_name:N,user_input:e||M,conv_uid:J,temperature:C,app_code:null==U?void 0:U.app_code,...S&&{select_param:S}};if(y&&y.length>0){let e=null==y?void 0:y.filter(e=>"view"===e.role);z.current=e[e.length-1].order+1}let r=[{role:"human",context:e||M,model_name:N,order:z.current,time_stamp:0},{role:"view",context:"",model_name:N,order:z.current,time_stamp:0,thinking:!0}],s=r.length-1;_([...y,...r]),I(!1);try{await (0,c.L)("".concat(null!==(t=g.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[o.gp]:null!==(l=(0,i.n5)())&&void 0!==l?l:""},signal:V.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===c.a)return},onclose(){var e;null===(e=V.current)||void 0===e||e.abort(),I(!0),P(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?(I(!0),P(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(r[s].context=null==t?void 0:t.replace("[ERROR]",""),r[s].thinking=!1,_([...y,...r]),I(!0),P(!1)):(P(!0),r[s].context=t,r[s].thinking=!1,_([...y,...r]))}})}catch(e){null===(n=V.current)||void 0===n||n.abort(),r[s].context="Sorry, we meet some error, please try again later.",r[s].thinking=!1,_([...r]),I(!0),P(!1)}};return(0,v.useEffect)(()=>{x&&"chat_agent"!==x&&K()},[x,K]),(0,n.jsx)(b.Provider,{value:{model:N,resource:S,setModel:k,setTemperature:Z,setResource:R,temperature:C,appInfo:U,conv_uid:J,scene:x,history:y,scrollViewRef:E,setHistory:_,resourceList:W,order:z,handleChat:G,setCanNewChat:I,ctrl:V,canAbort:A,setCarAbort:P,canNewChat:T,userInput:M,setUserInput:O,getChatHistoryRun:$},children:(0,n.jsx)(u.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:L||F||B||X,children:(0,n.jsxs)("div",{className:"flex flex-col h-screen bg-gradient-light dark:bg-gradient-dark p-4 pt-0",children:[(0,n.jsxs)("div",{ref:E,className:"flex flex-col flex-1 overflow-y-auto mb-3",children:[(0,n.jsx)(h.default,{}),(0,n.jsx)(j,{})]}),(null==U?void 0:U.app_code)&&(0,n.jsx)(f.default,{})]})})})}}},function(e){e.O(0,[3662,7034,2648,3791,4296,5102,3293,4330,1776,5418,4041,1941,2913,2378,5872,4567,6231,2783,1531,2611,3320,5265,7332,7530,9397,6212,242,8709,9256,9774,2888,179],function(){return e(e.s=79373)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6980,3913],{79373:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Content",function(){return l(36818)}])},2440:function(e,t,l){"use strict";var n=l(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},39718:function(e,t,l){"use strict";var n=l(85893),a=l(19284),r=l(25675),s=l.n(r),i=l(67294);t.Z=(0,i.memo)(e=>{let{width:t,height:l,model:r}=e,o=(0,i.useMemo)(()=>{let e=null==r?void 0:r.replaceAll("-","_").split("_")[0],t=Object.keys(a.Me);for(let l=0;l{let{width:t,height:l,scene:i}=e,o=(0,s.useCallback)(()=>{switch(i){case"chat_knowledge":return a.je;case"chat_with_db_execute":return a.zM;case"chat_excel":return a.DL;case"chat_with_db_qa":case"chat_dba":return a.RD;case"chat_dashboard":return a.In;case"chat_agent":return a.si;case"chat_normal":return a.O7;default:return}},[i]);return(0,n.jsx)(r.Z,{className:"w-".concat(t||7," h-").concat(l||7),component:o()})}},70065:function(e,t,l){"use strict";var n=l(91321);let a=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=a},7332:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(39718),r=l(18102),s=l(96074),i=l(93967),o=l.n(i),c=l(67294),d=l(73913),u=l(32966);t.default=(0,c.memo)(e=>{let{message:t,index:l}=e,{scene:i}=(0,c.useContext)(d.MobileChatContext),{context:x,model_name:m,role:p,thinking:v}=t,h=(0,c.useMemo)(()=>"view"===p,[p]),f=(0,c.useRef)(null),{value:g}=(0,c.useMemo)(()=>{if("string"!=typeof x)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=x.split(" relations:"),l=t?t.split(","):[],n=[],a=0,r=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let l=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),r=JSON.parse(l),s="".concat(a,"");return n.push({...r,result:j(null!==(t=r.result)&&void 0!==t?t:"")}),a++,s}catch(t){return console.log(t.message,t),e}});return{relations:l,cachePluginContext:n,value:r}},[x]),j=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"");return(0,n.jsxs)("div",{className:o()("flex w-full",{"justify-end":!h}),ref:f,children:[!h&&(0,n.jsx)("div",{className:"flex bg-[#0C75FC] text-white p-3 rounded-xl rounded-br-none",children:x}),h&&(0,n.jsxs)("div",{className:"flex max-w-full flex-col flex-wrap bg-white dark:bg-[rgba(255,255,255,0.16)] p-3 rounded-xl rounded-bl-none",children:["string"==typeof x&&"chat_agent"===i&&(0,n.jsx)(r.default,{children:null==g?void 0:g.replace(/]+)>/gi,"
    ").replace(/]+)>/gi,"")}),"string"==typeof x&&"chat_agent"!==i&&(0,n.jsx)(r.default,{children:j(g)}),v&&!x&&(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:"思考中"}),(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]}),!v&&(0,n.jsx)(s.Z,{className:"my-2"}),(0,n.jsxs)("div",{className:o()("opacity-0 h-0 w-0",{"opacity-100 flex items-center justify-between gap-6 w-auto h-auto":!v}),children:[(0,n.jsx)(u.default,{content:t,index:l,chatDialogRef:f}),"chat_agent"!==i&&(0,n.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,n.jsx)(a.Z,{width:14,height:14,model:m}),(0,n.jsx)("span",{className:"text-xs text-gray-500",children:m})]})]})]})]})})},36818:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(67294),r=l(73913),s=l(7332);t.default=(0,a.memo)(()=>{let{history:e}=(0,a.useContext)(r.MobileChatContext),t=(0,a.useMemo)(()=>e.filter(e=>["view","human"].includes(e.role)),[e]);return(0,n.jsx)("div",{className:"flex flex-col gap-4",children:!!t.length&&t.map((e,t)=>(0,n.jsx)(s.default,{message:e,index:t},e.context+t))})})},5583:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(85265),r=l(66309),s=l(25278),i=l(14726),o=l(67294);t.default=e=>{let{open:t,setFeedbackOpen:l,list:c,feedback:d,loading:u}=e,[x,m]=(0,o.useState)([]),[p,v]=(0,o.useState)("");return(0,n.jsx)(a.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>l(!1),destroyOnClose:!0,height:"auto",children:(0,n.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,n.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==c?void 0:c.map(e=>{let t=x.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,n.jsx)(r.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{m(t=>{let l=t.findIndex(t=>t.reason_type===e.reason_type);return l>-1?[...t.slice(0,l),...t.slice(l+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,n.jsx)(s.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:p,onChange:e=>v(e.target.value.trim())}),(0,n.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,n.jsx)(i.ZP,{className:"w-16 h-8",onClick:()=>{l(!1)},children:"取消"}),(0,n.jsx)(i.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=x.map(e=>e.reason_type);await (null==d?void 0:d({feedback_type:"unlike",reason_types:e,remark:p}))},loading:u,children:"确认"})]})]})})}},32966:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(65429),s=l(15381),i=l(57132),o=l(65654),c=l(31418),d=l(96074),u=l(14726),x=l(93967),m=l.n(x),p=l(20640),v=l.n(p),h=l(67294),f=l(73913),g=l(5583);t.default=e=>{var t;let{content:l,index:x,chatDialogRef:p}=e,{conv_uid:j,history:b,scene:w}=(0,h.useContext)(f.MobileChatContext),{message:y}=c.Z.useApp(),[_,N]=(0,h.useState)(!1),[k,C]=(0,h.useState)(null==l?void 0:null===(t=l.feedback)||void 0===t?void 0:t.feedback_type),[Z,S]=(0,h.useState)([]),R=async e=>{var t;let l=null==e?void 0:e.replace(/\trelations:.*/g,""),n=v()((null===(t=p.current)||void 0===t?void 0:t.textContent)||l);n?l?y.success("复制成功"):y.warning("内容复制为空"):y.error("复制失败")},{run:E,loading:M}=(0,o.Z)(async e=>await (0,a.Vx)((0,a.zx)({conv_uid:j,message_id:l.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;C(null==t?void 0:t.feedback_type),y.success("反馈成功"),N(!1)}}),{run:O}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Ir)({conv_uid:j,message_id:(null==l?void 0:l.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(C("none"),y.success("操作成功"))}}),{run:A}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;S(t||[]),t&&N(!0)}}),{run:P,loading:T}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Ty)({conv_id:j,round_index:0})),{manual:!0,onSuccess:()=>{y.success("操作成功")}});return(0,n.jsxs)("div",{className:"flex items-center text-sm",children:[(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)(r.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"like"===k}),onClick:async()=>{if("like"===k){await O();return}await E({feedback_type:"like"})}}),(0,n.jsx)(s.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"unlike"===k}),onClick:async()=>{if("unlike"===k){await O();return}await A()}}),(0,n.jsx)(g.default,{open:_,setFeedbackOpen:N,list:Z,feedback:E,loading:M})]}),(0,n.jsx)(d.Z,{type:"vertical"}),(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)(i.Z,{className:"cursor-pointer",onClick:()=>R(l.context)}),b.length-1===x&&"chat_agent"===w&&(0,n.jsx)(u.ZP,{loading:T,size:"small",onClick:async()=>{await P()},className:"text-xs",children:"终止话题"})]})]})}},56397:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(48218),r=l(58638),s=l(31418),i=l(45030),o=l(20640),c=l.n(o),d=l(67294),u=l(73913);t.default=(0,d.memo)(()=>{var e;let{appInfo:t}=(0,d.useContext)(u.MobileChatContext),{message:l}=s.Z.useApp(),[o,x]=(0,d.useState)(0);if(!(null==t?void 0:t.app_code))return null;let m=async()=>{let e=c()("dingtalk://dingtalkclient/page/link?url=".concat(encodeURIComponent(location.href),"&pc_slide=true"));l[e?"success":"error"](e?"复制成功":"复制失败")};return o>6&&l.info(JSON.stringify(window.navigator.userAgent),2,()=>{x(0)}),(0,n.jsxs)("header",{className:"flex w-full items-center justify-between bg-[rgba(255,255,255,0.9)] border dark:bg-black dark:border-[rgba(255,255,255,0.6)] rounded-xl mx-auto px-4 py-2 mb-4 sticky top-4 z-50 mt-4 shadow-md",children:[(0,n.jsxs)("div",{className:"flex gap-2 items-center",onClick:()=>x(o+1),children:[(0,n.jsx)(a.Z,{scene:(null==t?void 0:null===(e=t.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent",width:8,height:8}),(0,n.jsxs)("div",{className:"flex flex-col ml-2",children:[(0,n.jsx)(i.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==t?void 0:t.app_name}),(0,n.jsx)(i.Z.Text,{className:"text-sm line-clamp-2",children:null==t?void 0:t.app_describe})]})]}),(0,n.jsx)("div",{onClick:m,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,n.jsx)(r.Z,{className:"text-lg"})})]})})},74638:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(62418),s=l(25519),i=l(30159),o=l(87740),c=l(50888),d=l(52645),u=l(27496),x=l(1375),m=l(65654),p=l(66309),v=l(55241),h=l(74330),f=l(25278),g=l(14726),j=l(93967),b=l.n(j),w=l(39332),y=l(67294),_=l(73913),N=l(7001),k=l(73749),C=l(97109),Z=l(83454);let S=["magenta","orange","geekblue","purple","cyan","green"];t.default=()=>{var e,t;let l=(0,w.useSearchParams)(),j=null!==(t=null==l?void 0:l.get("ques"))&&void 0!==t?t:"",{history:R,model:E,scene:M,temperature:O,resource:A,conv_uid:P,appInfo:T,scrollViewRef:I,order:V,userInput:z,ctrl:D,canAbort:J,canNewChat:$,setHistory:L,setCanNewChat:U,setCarAbort:q,setUserInput:F}=(0,y.useContext)(_.MobileChatContext),[H,W]=(0,y.useState)(!1),[B,K]=(0,y.useState)(!1),X=async e=>{var t,l,n;F(""),D.current=new AbortController;let a={chat_mode:M,model_name:E,user_input:e||z,conv_uid:P,temperature:O,app_code:null==T?void 0:T.app_code,...A&&{select_param:JSON.stringify(A)}};if(R&&R.length>0){let e=null==R?void 0:R.filter(e=>"view"===e.role);V.current=e[e.length-1].order+1}let i=[{role:"human",context:e||z,model_name:E,order:V.current,time_stamp:0},{role:"view",context:"",model_name:E,order:V.current,time_stamp:0,thinking:!0}],o=i.length-1;L([...R,...i]),U(!1);try{await (0,x.L)("".concat(null!==(t=Z.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[s.gp]:null!==(l=(0,r.n5)())&&void 0!==l?l:""},signal:D.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===x.a)return},onclose(){var e;null===(e=D.current)||void 0===e||e.abort(),U(!0),q(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?(U(!0),q(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(i[o].context=null==t?void 0:t.replace("[ERROR]",""),i[o].thinking=!1,L([...R,...i]),U(!0),q(!1)):(q(!0),i[o].context=t,i[o].thinking=!1,L([...R,...i]))}})}catch(e){null===(n=D.current)||void 0===n||n.abort(),i[o].context="Sorry, we meet some error, please try again later.",i[o].thinking=!1,L([...i]),U(!0),q(!1)}},G=async()=>{z.trim()&&$&&await X()};(0,y.useEffect)(()=>{var e,t;null===(e=I.current)||void 0===e||e.scrollTo({top:null===(t=I.current)||void 0===t?void 0:t.scrollHeight,behavior:"auto"})},[R,I]);let Q=(0,y.useMemo)(()=>{if(!T)return[];let{param_need:e=[]}=T;return null==e?void 0:e.map(e=>e.type)},[T]),Y=(0,y.useMemo)(()=>{var e;return 0===R.length&&T&&!!(null==T?void 0:null===(e=T.recommend_questions)||void 0===e?void 0:e.length)},[R,T]),{run:ee,loading:et}=(0,m.Z)(async()=>await (0,a.Vx)((0,a.zR)(P)),{manual:!0,onSuccess:()=>{L([])}});return(0,y.useEffect)(()=>{j&&E&&P&&T&&X(j)},[T,P,E,j]),(0,n.jsxs)("div",{className:"flex flex-col",children:[Y&&(0,n.jsx)("ul",{children:null==T?void 0:null===(e=T.recommend_questions)||void 0===e?void 0:e.map((e,t)=>(0,n.jsx)("li",{className:"mb-3",children:(0,n.jsx)(p.Z,{color:S[t],className:"p-2 rounded-xl",onClick:async()=>{X(e.question)},children:e.question})},e.id))}),(0,n.jsxs)("div",{className:"flex items-center justify-between gap-1",children:[(0,n.jsxs)("div",{className:"flex gap-2 mb-1 w-full overflow-x-auto",children:[(null==Q?void 0:Q.includes("model"))&&(0,n.jsx)(N.default,{}),(null==Q?void 0:Q.includes("resource"))&&(0,n.jsx)(k.default,{}),(null==Q?void 0:Q.includes("temperature"))&&(0,n.jsx)(C.default,{})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between text-lg font-bold",children:[(0,n.jsx)(v.Z,{content:"暂停回复",trigger:["hover"],children:(0,n.jsx)(i.Z,{className:b()("p-2 cursor-pointer",{"text-[#0c75fc]":J,"text-gray-400":!J}),onClick:()=>{var e;J&&(null===(e=D.current)||void 0===e||e.abort(),setTimeout(()=>{q(!1),U(!0)},100))}})}),(0,n.jsx)(v.Z,{content:"再来一次",trigger:["hover"],children:(0,n.jsx)(o.Z,{className:b()("p-2 cursor-pointer",{"text-gray-400":!R.length||!$}),onClick:()=>{var e,t;if(!$||0===R.length)return;let l=null===(e=null===(t=R.filter(e=>"human"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];X((null==l?void 0:l.context)||"")}})}),et?(0,n.jsx)(h.Z,{spinning:et,indicator:(0,n.jsx)(c.Z,{style:{fontSize:18},spin:!0}),className:"p-2"}):(0,n.jsx)(v.Z,{content:"清除历史",trigger:["hover"],children:(0,n.jsx)(d.Z,{className:b()("p-2 cursor-pointer",{"text-gray-400":!R.length||!$}),onClick:()=>{$&&ee()}})})]})]}),(0,n.jsxs)("div",{className:b()("flex py-2 px-3 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border",{"border-[#0c75fc] dark:border-[rgba(12,117,252,0.8)]":H}),children:[(0,n.jsx)(f.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:z,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(B){e.preventDefault();return}z.trim()&&(e.preventDefault(),G())}},onChange:e=>{F(e.target.value)},onFocus:()=>{W(!0)},onBlur:()=>W(!1),onCompositionStartCapture:()=>{K(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{K(!1)},0)}}),(0,n.jsx)(g.ZP,{type:"primary",className:b()("flex items-center justify-center rounded-lg bg-button-gradient border-0 ml-2",{"opacity-40 cursor-not-allowed":!z.trim()||!$}),onClick:G,children:$?(0,n.jsx)(u.Z,{}):(0,n.jsx)(h.Z,{indicator:(0,n.jsx)(c.Z,{className:"text-white"})})})]})]})}},7001:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(41468),r=l(39718),s=l(94668),i=l(85418),o=l(55241),c=l(67294),d=l(73913);t.default=()=>{let{modelList:e}=(0,c.useContext)(a.p),{model:t,setModel:l}=(0,c.useContext)(d.MobileChatContext),u=(0,c.useMemo)(()=>e.length>0?e.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{l(e)},children:[(0,n.jsx)(r.Z,{width:14,height:14,model:e}),(0,n.jsx)("span",{className:"text-xs",children:e})]}),key:e})):[],[e,l]);return(0,n.jsx)(i.Z,{menu:{items:u},placement:"top",trigger:["click"],children:(0,n.jsx)(o.Z,{content:t,children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(r.Z,{width:16,height:16,model:t}),(0,n.jsx)("span",{className:"text-xs font-medium line-clamp-1",style:{maxWidth:96},children:t}),(0,n.jsx)(s.Z,{rotate:90})]})})})}},46568:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(25675),r=l.n(a),s=l(67294);t.default=(0,s.memo)(e=>{let{width:t,height:l,src:a,label:s}=e;return(0,n.jsx)(r(),{width:t||14,height:l||14,src:a,alt:s||"db-icon",priority:!0})})},73749:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(62418),s=l(50888),i=l(94668),o=l(83266),c=l(65654),d=l(74330),u=l(23799),x=l(85418),m=l(67294),p=l(73913),v=l(46568);t.default=()=>{let{appInfo:e,resourceList:t,scene:l,model:h,conv_uid:f,getChatHistoryRun:g,setResource:j,resource:b}=(0,m.useContext)(p.MobileChatContext),[w,y]=(0,m.useState)(null),_=(0,m.useMemo)(()=>{var t,l,n;return null===(t=null==e?void 0:null===(l=e.param_need)||void 0===l?void 0:l.filter(e=>"resource"===e.type))||void 0===t?void 0:null===(n=t[0])||void 0===n?void 0:n.value},[e]),N=(0,m.useMemo)(()=>t&&t.length>0?t.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{y(e),j(e.space_id||e.param)},children:[(0,n.jsx)(v.default,{width:14,height:14,src:r.S$[e.type].icon,label:r.S$[e.type].label}),(0,n.jsx)("span",{className:"text-xs",children:e.param})]}),key:e.space_id||e.param})):[],[t,j]),{run:k,loading:C}=(0,c.Z)(async e=>{let[,t]=await (0,a.Vx)((0,a.qn)({convUid:f,chatMode:l,data:e,model:h,config:{timeout:36e5}}));return j(t),t},{manual:!0,onSuccess:async()=>{await g()}}),Z=async e=>{let t=new FormData;t.append("doc_file",null==e?void 0:e.file),await k(t)},S=(0,m.useMemo)(()=>C?(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(d.Z,{size:"small",indicator:(0,n.jsx)(s.Z,{spin:!0})}),(0,n.jsx)("span",{className:"text-xs",children:"上传中"})]}):b?(0,n.jsxs)("div",{className:"flex gap-1",children:[(0,n.jsx)("span",{className:"text-xs",children:b.file_name}),(0,n.jsx)(i.Z,{rotate:90})]}):(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(o.Z,{className:"text-base"}),(0,n.jsx)("span",{className:"text-xs",children:"上传文件"})]}),[C,b]);return(0,n.jsx)(n.Fragment,{children:(()=>{switch(_){case"excel_file":case"text_file":case"image_file":return(0,n.jsx)("div",{className:"flex items-center justify-center gap-1 border rounded-xl bg-white dark:bg-black px-2 flex-shrink-0",children:(0,n.jsx)(u.default,{name:"file",accept:".xlsx,.xls",maxCount:1,showUploadList:!1,beforeUpload:()=>!1,onChange:Z,className:"flex h-full w-full items-center justify-center",children:S})});case"database":case"knowledge":case"plugin":case"awel_flow":var e,l,a,s,o;if(!(null==t?void 0:t.length))return null;return(0,n.jsx)(x.Z,{menu:{items:N},placement:"top",trigger:["click"],children:(0,n.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,n.jsx)(v.default,{width:14,height:14,src:null===(e=r.S$[(null==w?void 0:w.type)||(null==t?void 0:null===(l=t[0])||void 0===l?void 0:l.type)])||void 0===e?void 0:e.icon,label:null===(a=r.S$[(null==w?void 0:w.type)||(null==t?void 0:null===(s=t[0])||void 0===s?void 0:s.type)])||void 0===a?void 0:a.label}),(0,n.jsx)("span",{className:"text-xs font-medium",children:(null==w?void 0:w.param)||(null==t?void 0:null===(o=t[0])||void 0===o?void 0:o.param)}),(0,n.jsx)(i.Z,{rotate:90})]})})}})()})}},97109:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(70065),r=l(85418),s=l(30568),i=l(67294),o=l(73913);t.default=()=>{let{temperature:e,setTemperature:t}=(0,i.useContext)(o.MobileChatContext),l=e=>{isNaN(e)||t(e)};return(0,n.jsx)(r.Z,{trigger:["click"],dropdownRender:()=>(0,n.jsx)("div",{className:"flex h-28 bg-white dark:bg-[rgba(255,255,255,0.5)] items-center justify-center rounded-xl py-3",children:(0,n.jsx)(s.Z,{defaultValue:.5,max:1,min:0,step:.1,vertical:!0,onChange:l,value:e})}),placement:"top",children:(0,n.jsxs)("div",{className:"flex items-center justify-between border rounded-xl bg-white dark:bg-black w-14 p-2 flex-shrink-0",children:[(0,n.jsx)(a.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,n.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},73913:function(e,t,l){"use strict";l.r(t),l.d(t,{MobileChatContext:function(){return b}});var n=l(85893),a=l(41468),r=l(76212),s=l(2440),i=l(62418),o=l(25519),c=l(1375),d=l(65654),u=l(74330),x=l(5152),m=l.n(x),p=l(39332),v=l(67294),h=l(56397),f=l(74638),g=l(83454);let j=m()(()=>Promise.all([l.e(3662),l.e(7034),l.e(8674),l.e(930),l.e(3166),l.e(2837),l.e(2168),l.e(8163),l.e(7126),l.e(4041),l.e(2398),l.e(1300),l.e(4567),l.e(7665),l.e(9773),l.e(3457),l.e(4035),l.e(6624),l.e(4705),l.e(9202),l.e(5782),l.e(2783),l.e(8709),l.e(9256),l.e(9870)]).then(l.bind(l,36818)),{loadableGenerated:{webpack:()=>[36818]},ssr:!1}),b=(0,v.createContext)({model:"",temperature:.5,resource:null,setModel:()=>{},setTemperature:()=>{},setResource:()=>{},scene:"",history:[],setHistory:()=>{},scrollViewRef:{current:null},appInfo:{},conv_uid:"",resourceList:[],order:{current:1},handleChat:()=>Promise.resolve(),canAbort:!1,setCarAbort:()=>{},canNewChat:!1,setCanNewChat:()=>{},ctrl:{current:void 0},userInput:"",setUserInput:()=>{},getChatHistoryRun:()=>{}});t.default=()=>{var e,t;let l=(0,p.useSearchParams)(),x=null!==(e=null==l?void 0:l.get("chat_scene"))&&void 0!==e?e:"",m=null!==(t=null==l?void 0:l.get("app_code"))&&void 0!==t?t:"",{modelList:w}=(0,v.useContext)(a.p),[y,_]=(0,v.useState)([]),[N,k]=(0,v.useState)(""),[C,Z]=(0,v.useState)(.5),[S,R]=(0,v.useState)(null),E=(0,v.useRef)(null),[M,O]=(0,v.useState)(""),[A,P]=(0,v.useState)(!1),[T,I]=(0,v.useState)(!0),V=(0,v.useRef)(),z=(0,v.useRef)(1),D=(0,s.Z)(),J=(0,v.useMemo)(()=>"".concat(null==D?void 0:D.user_no,"_").concat(m),[m,D]),{run:$,loading:L}=(0,d.Z)(async()=>await (0,r.Vx)((0,r.$i)("".concat(null==D?void 0:D.user_no,"_").concat(m))),{manual:!0,onSuccess:e=>{let[,t]=e,l=null==t?void 0:t.filter(e=>"view"===e.role);l&&l.length>0&&(z.current=l[l.length-1].order+1),_(t||[])}}),{data:U,run:q,loading:F}=(0,d.Z)(async e=>{let[,t]=await (0,r.Vx)((0,r.BN)(e));return null!=t?t:{}},{manual:!0}),{run:H,data:W,loading:B}=(0,d.Z)(async()=>{var e,t;let[,l]=await (0,r.Vx)((0,r.vD)(x));return R((null==l?void 0:null===(e=l[0])||void 0===e?void 0:e.space_id)||(null==l?void 0:null===(t=l[0])||void 0===t?void 0:t.param)),null!=l?l:[]},{manual:!0}),{run:K,loading:X}=(0,d.Z)(async()=>{let[,e]=await (0,r.Vx)((0,r.iP)());return null!=e?e:[]},{manual:!0,onSuccess:e=>{var t;let l=null===(t=null==e?void 0:e.filter(e=>e.conv_uid===J))||void 0===t?void 0:t[0];(null==l?void 0:l.select_param)&&R(JSON.parse(null==l?void 0:l.select_param))}});(0,v.useEffect)(()=>{x&&m&&w.length&&q({chat_scene:x,app_code:m})},[m,x,q,w]),(0,v.useEffect)(()=>{m&&$()},[m]),(0,v.useEffect)(()=>{if(w.length>0){var e,t,l;let n=null===(e=null==U?void 0:null===(t=U.param_need)||void 0===t?void 0:t.filter(e=>"model"===e.type))||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.value;k(n||w[0])}},[w,U]),(0,v.useEffect)(()=>{var e,t,l;let n=null===(e=null==U?void 0:null===(t=U.param_need)||void 0===t?void 0:t.filter(e=>"temperature"===e.type))||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.value;Z(n||.5)},[U]),(0,v.useEffect)(()=>{if(x&&(null==U?void 0:U.app_code)){var e,t,l,n,a,r;let s=null===(e=null==U?void 0:null===(t=U.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type))||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.value,i=null===(n=null==U?void 0:null===(a=U.param_need)||void 0===a?void 0:a.filter(e=>"resource"===e.type))||void 0===n?void 0:null===(r=n[0])||void 0===r?void 0:r.bind_value;i&&R(i),["database","knowledge","plugin","awel_flow"].includes(s)&&!i&&H()}},[U,x,H]);let G=async e=>{var t,l,n;O(""),V.current=new AbortController;let a={chat_mode:x,model_name:N,user_input:e||M,conv_uid:J,temperature:C,app_code:null==U?void 0:U.app_code,...S&&{select_param:S}};if(y&&y.length>0){let e=null==y?void 0:y.filter(e=>"view"===e.role);z.current=e[e.length-1].order+1}let r=[{role:"human",context:e||M,model_name:N,order:z.current,time_stamp:0},{role:"view",context:"",model_name:N,order:z.current,time_stamp:0,thinking:!0}],s=r.length-1;_([...y,...r]),I(!1);try{await (0,c.L)("".concat(null!==(t=g.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[o.gp]:null!==(l=(0,i.n5)())&&void 0!==l?l:""},signal:V.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===c.a)return},onclose(){var e;null===(e=V.current)||void 0===e||e.abort(),I(!0),P(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?(I(!0),P(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(r[s].context=null==t?void 0:t.replace("[ERROR]",""),r[s].thinking=!1,_([...y,...r]),I(!0),P(!1)):(P(!0),r[s].context=t,r[s].thinking=!1,_([...y,...r]))}})}catch(e){null===(n=V.current)||void 0===n||n.abort(),r[s].context="Sorry, we meet some error, please try again later.",r[s].thinking=!1,_([...r]),I(!0),P(!1)}};return(0,v.useEffect)(()=>{x&&"chat_agent"!==x&&K()},[x,K]),(0,n.jsx)(b.Provider,{value:{model:N,resource:S,setModel:k,setTemperature:Z,setResource:R,temperature:C,appInfo:U,conv_uid:J,scene:x,history:y,scrollViewRef:E,setHistory:_,resourceList:W,order:z,handleChat:G,setCanNewChat:I,ctrl:V,canAbort:A,setCarAbort:P,canNewChat:T,userInput:M,setUserInput:O,getChatHistoryRun:$},children:(0,n.jsx)(u.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:L||F||B||X,children:(0,n.jsxs)("div",{className:"flex flex-col h-screen bg-gradient-light dark:bg-gradient-dark p-4 pt-0",children:[(0,n.jsxs)("div",{ref:E,className:"flex flex-col flex-1 overflow-y-auto mb-3",children:[(0,n.jsx)(h.default,{}),(0,n.jsx)(j,{})]}),(null==U?void 0:U.app_code)&&(0,n.jsx)(f.default,{})]})})})}}},function(e){e.O(0,[3662,7034,8674,930,3166,2837,2168,8163,7126,2648,3791,2913,5278,4330,8791,5030,5418,4041,2398,3799,2684,1300,4567,7665,9773,3457,4035,6624,4705,9202,5782,464,8709,9256,9774,2888,179],function(){return e(e.s=79373)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/DislikeDrawer-1f058853898c3360.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/DislikeDrawer-1f058853898c3360.js new file mode 100644 index 000000000..2286d9dec --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/DislikeDrawer-1f058853898c3360.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9400],{85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return Y}});var o=n(67294),r=n(93967),a=n.n(r),l=n(1413),s=n(97685),i=n(2788),c=n(8410),d=o.createContext(null),u=o.createContext({}),p=n(4942),m=n(87462),f=n(29372),b=n(15105),v=n(64217),g=n(45987),h=n(42550),y=["prefixCls","className","containerRef"],x=function(e){var t=e.prefixCls,n=e.className,r=e.containerRef,l=(0,g.Z)(e,y),s=o.useContext(u).panel,i=(0,h.x1)(s,r);return o.createElement("div",(0,m.Z)({className:a()("".concat(t,"-content"),n),role:"dialog",ref:i},(0,v.Z)(e,{aria:!0}),{"aria-modal":"true"},l))},C=n(80334);function w(e){return"string"==typeof e&&String(Number(e))===e?((0,C.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var k={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},$=o.forwardRef(function(e,t){var n,r,i,c=e.prefixCls,u=e.open,g=e.placement,h=e.inline,y=e.push,C=e.forceRender,$=e.autoFocus,O=e.keyboard,E=e.classNames,S=e.rootClassName,N=e.rootStyle,j=e.zIndex,Z=e.className,I=e.id,D=e.style,P=e.motion,_=e.width,M=e.height,R=e.children,z=e.mask,T=e.maskClosable,B=e.maskMotion,H=e.maskClassName,L=e.maskStyle,W=e.afterOpenChange,K=e.onClose,X=e.onMouseEnter,A=e.onMouseOver,F=e.onMouseLeave,U=e.onClick,q=e.onKeyDown,Y=e.onKeyUp,Q=e.styles,V=e.drawerRender,G=o.useRef(),J=o.useRef(),ee=o.useRef();o.useImperativeHandle(t,function(){return G.current}),o.useEffect(function(){if(u&&$){var e;null===(e=G.current)||void 0===e||e.focus({preventScroll:!0})}},[u]);var et=o.useState(!1),en=(0,s.Z)(et,2),eo=en[0],er=en[1],ea=o.useContext(d),el=null!==(n=null!==(r=null===(i="boolean"==typeof y?y?{}:{distance:0}:y||{})||void 0===i?void 0:i.distance)&&void 0!==r?r:null==ea?void 0:ea.pushDistance)&&void 0!==n?n:180,es=o.useMemo(function(){return{pushDistance:el,push:function(){er(!0)},pull:function(){er(!1)}}},[el]);o.useEffect(function(){var e,t;u?null==ea||null===(e=ea.push)||void 0===e||e.call(ea):null==ea||null===(t=ea.pull)||void 0===t||t.call(ea)},[u]),o.useEffect(function(){return function(){var e;null==ea||null===(e=ea.pull)||void 0===e||e.call(ea)}},[]);var ei=z&&o.createElement(f.ZP,(0,m.Z)({key:"mask"},B,{visible:u}),function(e,t){var n=e.className,r=e.style;return o.createElement("div",{className:a()("".concat(c,"-mask"),n,null==E?void 0:E.mask,H),style:(0,l.Z)((0,l.Z)((0,l.Z)({},r),L),null==Q?void 0:Q.mask),onClick:T&&u?K:void 0,ref:t})}),ec="function"==typeof P?P(g):P,ed={};if(eo&&el)switch(g){case"top":ed.transform="translateY(".concat(el,"px)");break;case"bottom":ed.transform="translateY(".concat(-el,"px)");break;case"left":ed.transform="translateX(".concat(el,"px)");break;default:ed.transform="translateX(".concat(-el,"px)")}"left"===g||"right"===g?ed.width=w(_):ed.height=w(M);var eu={onMouseEnter:X,onMouseOver:A,onMouseLeave:F,onClick:U,onKeyDown:q,onKeyUp:Y},ep=o.createElement(f.ZP,(0,m.Z)({key:"panel"},ec,{visible:u,forceRender:C,onVisibleChanged:function(e){null==W||W(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var r=t.className,s=t.style,i=o.createElement(x,(0,m.Z)({id:I,containerRef:n,prefixCls:c,className:a()(Z,null==E?void 0:E.content),style:(0,l.Z)((0,l.Z)({},D),null==Q?void 0:Q.content)},(0,v.Z)(e,{aria:!0}),eu),R);return o.createElement("div",(0,m.Z)({className:a()("".concat(c,"-content-wrapper"),null==E?void 0:E.wrapper,r),style:(0,l.Z)((0,l.Z)((0,l.Z)({},ed),s),null==Q?void 0:Q.wrapper)},(0,v.Z)(e,{data:!0})),V?V(i):i)}),em=(0,l.Z)({},N);return j&&(em.zIndex=j),o.createElement(d.Provider,{value:es},o.createElement("div",{className:a()(c,"".concat(c,"-").concat(g),S,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),u),"".concat(c,"-inline"),h)),style:em,tabIndex:-1,ref:G,onKeyDown:function(e){var t,n,o=e.keyCode,r=e.shiftKey;switch(o){case b.Z.TAB:o===b.Z.TAB&&(r||document.activeElement!==ee.current?r&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case b.Z.ESC:K&&O&&(e.stopPropagation(),K(e))}}},ei,o.createElement("div",{tabIndex:0,ref:J,style:k,"aria-hidden":"true","data-sentinel":"start"}),ep,o.createElement("div",{tabIndex:0,ref:ee,style:k,"aria-hidden":"true","data-sentinel":"end"})))}),O=function(e){var t=e.open,n=e.prefixCls,r=e.placement,a=e.autoFocus,d=e.keyboard,p=e.width,m=e.mask,f=void 0===m||m,b=e.maskClosable,v=e.getContainer,g=e.forceRender,h=e.afterOpenChange,y=e.destroyOnClose,x=e.onMouseEnter,C=e.onMouseOver,w=e.onMouseLeave,k=e.onClick,O=e.onKeyDown,E=e.onKeyUp,S=e.panelRef,N=o.useState(!1),j=(0,s.Z)(N,2),Z=j[0],I=j[1],D=o.useState(!1),P=(0,s.Z)(D,2),_=P[0],M=P[1];(0,c.Z)(function(){M(!0)},[]);var R=!!_&&void 0!==t&&t,z=o.useRef(),T=o.useRef();(0,c.Z)(function(){R&&(T.current=document.activeElement)},[R]);var B=o.useMemo(function(){return{panel:S}},[S]);if(!g&&!Z&&!R&&y)return null;var H=(0,l.Z)((0,l.Z)({},e),{},{open:R,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===r?"right":r,autoFocus:void 0===a||a,keyboard:void 0===d||d,width:void 0===p?378:p,mask:f,maskClosable:void 0===b||b,inline:!1===v,afterOpenChange:function(e){var t,n;I(e),null==h||h(e),e||!T.current||null!==(t=z.current)&&void 0!==t&&t.contains(T.current)||null===(n=T.current)||void 0===n||n.focus({preventScroll:!0})},ref:z},{onMouseEnter:x,onMouseOver:C,onMouseLeave:w,onClick:k,onKeyDown:O,onKeyUp:E});return o.createElement(u.Provider,{value:B},o.createElement(i.Z,{open:R||g||Z,autoDestroy:!1,getContainer:v,autoLock:f&&(R||Z)},o.createElement($,H)))},E=n(89942),S=n(87263),N=n(33603),j=n(43945),Z=n(53124),I=n(16569),D=n(69760),P=n(48054),_=e=>{var t,n;let{prefixCls:r,title:l,footer:s,extra:i,loading:c,onClose:d,headerStyle:u,bodyStyle:p,footerStyle:m,children:f,classNames:b,styles:v}=e,{drawer:g}=o.useContext(Z.E_),h=o.useCallback(e=>o.createElement("button",{type:"button",onClick:d,"aria-label":"Close",className:`${r}-close`},e),[d]),[y,x]=(0,D.Z)((0,D.w)(e),(0,D.w)(g),{closable:!0,closeIconRender:h}),C=o.useMemo(()=>{var e,t;return l||y?o.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==g?void 0:g.styles)||void 0===e?void 0:e.header),u),null==v?void 0:v.header),className:a()(`${r}-header`,{[`${r}-header-close-only`]:y&&!l&&!i},null===(t=null==g?void 0:g.classNames)||void 0===t?void 0:t.header,null==b?void 0:b.header)},o.createElement("div",{className:`${r}-header-title`},x,l&&o.createElement("div",{className:`${r}-title`},l)),i&&o.createElement("div",{className:`${r}-extra`},i)):null},[y,x,i,u,r,l]),w=o.useMemo(()=>{var e,t;if(!s)return null;let n=`${r}-footer`;return o.createElement("div",{className:a()(n,null===(e=null==g?void 0:g.classNames)||void 0===e?void 0:e.footer,null==b?void 0:b.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==g?void 0:g.styles)||void 0===t?void 0:t.footer),m),null==v?void 0:v.footer)},s)},[s,m,r]);return o.createElement(o.Fragment,null,C,o.createElement("div",{className:a()(`${r}-body`,null==b?void 0:b.body,null===(t=null==g?void 0:g.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==g?void 0:g.styles)||void 0===n?void 0:n.body),p),null==v?void 0:v.body)},c?o.createElement(P.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${r}-body-skeleton`}):f),w)},M=n(25446),R=n(14747),z=n(83559),T=n(83262);let B=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},H=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),L=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},H({opacity:e},{opacity:1})),W=(e,t)=>[L(.7,t),H({transform:B(e)},{transform:"none"})];var K=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:L(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:W(t,n)}),{})}}};let X=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:o,colorBgMask:r,colorBgElevated:a,motionDurationSlow:l,motionDurationMid:s,paddingXS:i,padding:c,paddingLG:d,fontSizeLG:u,lineHeightLG:p,lineWidth:m,lineType:f,colorSplit:b,marginXS:v,colorIcon:g,colorIconHover:h,colorBgTextHover:y,colorBgTextActive:x,colorText:C,fontWeightStrong:w,footerPaddingBlock:k,footerPaddingInline:$,calc:O}=e,E=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:o,pointerEvents:"none",color:C,"&-pure":{position:"relative",background:a,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:o,background:r,pointerEvents:"auto"},[E]:{position:"absolute",zIndex:o,maxWidth:"100vw",transition:`all ${l}`,"&-hidden":{display:"none"}},[`&-left > ${E}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${E}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${E}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${E}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:a,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,M.bf)(c)} ${(0,M.bf)(d)}`,fontSize:u,lineHeight:p,borderBottom:`${(0,M.bf)(m)} ${f} ${b}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:O(u).add(i).equal(),height:O(u).add(i).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:v,color:g,fontWeight:w,fontSize:u,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:h,backgroundColor:y,textDecoration:"none"},"&:active":{backgroundColor:x}},(0,R.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:u,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:d,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,M.bf)(k)} ${(0,M.bf)($)}`,borderTop:`${(0,M.bf)(m)} ${f} ${b}`},"&-rtl":{direction:"rtl"}}}};var A=(0,z.I$)("Drawer",e=>{let t=(0,T.IX)(e,{});return[X(t),K(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),F=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};let U={distance:180},q=e=>{let{rootClassName:t,width:n,height:r,size:l="default",mask:s=!0,push:i=U,open:c,afterOpenChange:d,onClose:u,prefixCls:p,getContainer:m,style:f,className:b,visible:v,afterVisibleChange:g,maskStyle:h,drawerStyle:y,contentWrapperStyle:x}=e,C=F(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:w,getPrefixCls:k,direction:$,drawer:D}=o.useContext(Z.E_),P=k("drawer",p),[M,R,z]=A(P),T=a()({"no-mask":!s,[`${P}-rtl`]:"rtl"===$},t,R,z),B=o.useMemo(()=>null!=n?n:"large"===l?736:378,[n,l]),H=o.useMemo(()=>null!=r?r:"large"===l?736:378,[r,l]),L={motionName:(0,N.m)(P,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},W=(0,I.H)(),[K,X]=(0,S.Cn)("Drawer",C.zIndex),{classNames:q={},styles:Y={}}=C,{classNames:Q={},styles:V={}}=D||{};return M(o.createElement(E.Z,{form:!0,space:!0},o.createElement(j.Z.Provider,{value:X},o.createElement(O,Object.assign({prefixCls:P,onClose:u,maskMotion:L,motion:e=>({motionName:(0,N.m)(P,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},C,{classNames:{mask:a()(q.mask,Q.mask),content:a()(q.content,Q.content),wrapper:a()(q.wrapper,Q.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Y.mask),h),V.mask),content:Object.assign(Object.assign(Object.assign({},Y.content),y),V.content),wrapper:Object.assign(Object.assign(Object.assign({},Y.wrapper),x),V.wrapper)},open:null!=c?c:v,mask:s,push:i,width:B,height:H,style:Object.assign(Object.assign({},null==D?void 0:D.style),f),className:a()(null==D?void 0:D.className,b),rootClassName:T,getContainer:void 0===m&&w?()=>w(document.body):m,afterOpenChange:null!=d?d:g,panelRef:W,zIndex:K}),o.createElement(_,Object.assign({prefixCls:P},C,{onClose:u}))))))};q._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:r,placement:l="right"}=e,s=F(e,["prefixCls","style","className","placement"]),{getPrefixCls:i}=o.useContext(Z.E_),c=i("drawer",t),[d,u,p]=A(c),m=a()(c,`${c}-pure`,`${c}-${l}`,u,p,r);return d(o.createElement("div",{className:m,style:n},o.createElement(_,Object.assign({prefixCls:c},s))))};var Y=q},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var o=n(67294),r=n(93967),a=n.n(r),l=n(98423),s=n(98787),i=n(69760),c=n(96159),d=n(45353),u=n(53124),p=n(25446),m=n(10274),f=n(14747),b=n(83262),v=n(83559);let g=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:o,componentCls:r,calc:a}=e,l=a(o).sub(n).equal(),s=a(t).sub(n).equal();return{[r]:Object.assign(Object.assign({},(0,f.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${r}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${r}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${r}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${r}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},h=e=>{let{lineWidth:t,fontSizeIcon:n,calc:o}=e,r=e.fontSizeSM,a=(0,b.IX)(e,{tagFontSize:r,tagLineHeight:(0,p.bf)(o(e.lineHeightSM).mul(r).equal()),tagIconSize:o(n).sub(o(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},y=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var x=(0,v.I$)("Tag",e=>{let t=h(e);return g(t)},y),C=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};let w=o.forwardRef((e,t)=>{let{prefixCls:n,style:r,className:l,checked:s,onChange:i,onClick:c}=e,d=C(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:m}=o.useContext(u.E_),f=p("tag",n),[b,v,g]=x(f),h=a()(f,`${f}-checkable`,{[`${f}-checkable-checked`]:s},null==m?void 0:m.className,l,v,g);return b(o.createElement("span",Object.assign({},d,{ref:t,style:Object.assign(Object.assign({},r),null==m?void 0:m.style),className:h,onClick:e=>{null==i||i(!s),null==c||c(e)}})))});var k=n(98719);let $=e=>(0,k.Z)(e,(t,n)=>{let{textColor:o,lightBorderColor:r,lightColor:a,darkColor:l}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:o,background:a,borderColor:r,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var O=(0,v.bk)(["Tag","preset"],e=>{let t=h(e);return $(t)},y);let E=(e,t,n)=>{let o=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var S=(0,v.bk)(["Tag","status"],e=>{let t=h(e);return[E(t,"success","Success"),E(t,"processing","Info"),E(t,"error","Error"),E(t,"warning","Warning")]},y),N=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};let j=o.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:p,style:m,children:f,icon:b,color:v,onClose:g,bordered:h=!0,visible:y}=e,C=N(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:k,tag:$}=o.useContext(u.E_),[E,j]=o.useState(!0),Z=(0,l.Z)(C,["closeIcon","closable"]);o.useEffect(()=>{void 0!==y&&j(y)},[y]);let I=(0,s.o2)(v),D=(0,s.yT)(v),P=I||D,_=Object.assign(Object.assign({backgroundColor:v&&!P?v:void 0},null==$?void 0:$.style),m),M=w("tag",n),[R,z,T]=x(M),B=a()(M,null==$?void 0:$.className,{[`${M}-${v}`]:P,[`${M}-has-color`]:v&&!P,[`${M}-hidden`]:!E,[`${M}-rtl`]:"rtl"===k,[`${M}-borderless`]:!h},r,p,z,T),H=e=>{e.stopPropagation(),null==g||g(e),e.defaultPrevented||j(!1)},[,L]=(0,i.Z)((0,i.w)(e),(0,i.w)($),{closable:!1,closeIconRender:e=>{let t=o.createElement("span",{className:`${M}-close-icon`,onClick:H},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),H(t)},className:a()(null==e?void 0:e.className,`${M}-close-icon`)}))}}),W="function"==typeof C.onClick||f&&"a"===f.type,K=b||null,X=K?o.createElement(o.Fragment,null,K,f&&o.createElement("span",null,f)):f,A=o.createElement("span",Object.assign({},Z,{ref:t,className:B,style:_}),X,L,I&&o.createElement(O,{key:"preset",prefixCls:M}),D&&o.createElement(S,{key:"status",prefixCls:M}));return R(W?o.createElement(d.Z,{component:"Tag"},A):A)});j.CheckableTag=w;var Z=j},30132:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/DislikeDrawer",function(){return n(5583)}])},5583:function(e,t,n){"use strict";n.r(t);var o=n(85893),r=n(85265),a=n(66309),l=n(25278),s=n(14726),i=n(67294);t.default=e=>{let{open:t,setFeedbackOpen:n,list:c,feedback:d,loading:u}=e,[p,m]=(0,i.useState)([]),[f,b]=(0,i.useState)("");return(0,o.jsx)(r.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>n(!1),destroyOnClose:!0,height:"auto",children:(0,o.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,o.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==c?void 0:c.map(e=>{let t=p.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,o.jsx)(a.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{m(t=>{let n=t.findIndex(t=>t.reason_type===e.reason_type);return n>-1?[...t.slice(0,n),...t.slice(n+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,o.jsx)(l.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:f,onChange:e=>b(e.target.value.trim())}),(0,o.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,o.jsx)(s.ZP,{className:"w-16 h-8",onClick:()=>{n(!1)},children:"取消"}),(0,o.jsx)(s.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=p.map(e=>e.reason_type);await (null==d?void 0:d({feedback_type:"unlike",reason_types:e,remark:f}))},loading:u,children:"确认"})]})]})})}}},function(e){e.O(0,[2648,2913,5278,9774,2888,179],function(){return e(e.s=30132)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/DislikeDrawer-f7c4edaf728f4d3b.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/DislikeDrawer-f7c4edaf728f4d3b.js deleted file mode 100644 index 47e8627b9..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/DislikeDrawer-f7c4edaf728f4d3b.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9400],{66309:function(e,r,o){"use strict";o.d(r,{Z:function(){return E}});var l=o(67294),t=o(93967),n=o.n(t),a=o(98423),c=o(98787),s=o(69760),i=o(96159),u=o(45353),d=o(53124),p=o(47648),g=o(10274),b=o(14747),f=o(87893),m=o(83559);let h=e=>{let{paddingXXS:r,lineWidth:o,tagPaddingHorizontal:l,componentCls:t,calc:n}=e,a=n(l).sub(o).equal(),c=n(r).sub(o).equal();return{[t]:Object.assign(Object.assign({},(0,b.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${t}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${t}-close-icon`]:{marginInlineStart:c,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${t}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${t}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${t}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},C=e=>{let{lineWidth:r,fontSizeIcon:o,calc:l}=e,t=e.fontSizeSM,n=(0,f.IX)(e,{tagFontSize:t,tagLineHeight:(0,p.bf)(l(e.lineHeightSM).mul(t).equal()),tagIconSize:l(o).sub(l(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return n},y=e=>({defaultBg:new g.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,m.I$)("Tag",e=>{let r=C(e);return h(r)},y),k=function(e,r){var o={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>r.indexOf(l)&&(o[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var t=0,l=Object.getOwnPropertySymbols(e);tr.indexOf(l[t])&&Object.prototype.propertyIsEnumerable.call(e,l[t])&&(o[l[t]]=e[l[t]]);return o};let x=l.forwardRef((e,r)=>{let{prefixCls:o,style:t,className:a,checked:c,onChange:s,onClick:i}=e,u=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:g}=l.useContext(d.E_),b=p("tag",o),[f,m,h]=v(b),C=n()(b,`${b}-checkable`,{[`${b}-checkable-checked`]:c},null==g?void 0:g.className,a,m,h);return f(l.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},t),null==g?void 0:g.style),className:C,onClick:e=>{null==s||s(!c),null==i||i(e)}})))});var $=o(98719);let O=e=>(0,$.Z)(e,(r,o)=>{let{textColor:l,lightBorderColor:t,lightColor:n,darkColor:a}=o;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:l,background:n,borderColor:t,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var w=(0,m.bk)(["Tag","preset"],e=>{let r=C(e);return O(r)},y);let S=(e,r,o)=>{let l=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(o);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${o}`],background:e[`color${l}Bg`],borderColor:e[`color${l}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var j=(0,m.bk)(["Tag","status"],e=>{let r=C(e);return[S(r,"success","Success"),S(r,"processing","Info"),S(r,"error","Error"),S(r,"warning","Warning")]},y),N=function(e,r){var o={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>r.indexOf(l)&&(o[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var t=0,l=Object.getOwnPropertySymbols(e);tr.indexOf(l[t])&&Object.prototype.propertyIsEnumerable.call(e,l[t])&&(o[l[t]]=e[l[t]]);return o};let _=l.forwardRef((e,r)=>{let{prefixCls:o,className:t,rootClassName:p,style:g,children:b,icon:f,color:m,onClose:h,bordered:C=!0,visible:y}=e,k=N(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:x,direction:$,tag:O}=l.useContext(d.E_),[S,_]=l.useState(!0),E=(0,a.Z)(k,["closeIcon","closable"]);l.useEffect(()=>{void 0!==y&&_(y)},[y]);let P=(0,c.o2)(m),T=(0,c.yT)(m),I=P||T,B=Object.assign(Object.assign({backgroundColor:m&&!I?m:void 0},null==O?void 0:O.style),g),Z=x("tag",o),[z,H,D]=v(Z),L=n()(Z,null==O?void 0:O.className,{[`${Z}-${m}`]:I,[`${Z}-has-color`]:m&&!I,[`${Z}-hidden`]:!S,[`${Z}-rtl`]:"rtl"===$,[`${Z}-borderless`]:!C},t,p,H,D),M=e=>{e.stopPropagation(),null==h||h(e),e.defaultPrevented||_(!1)},[,R]=(0,s.Z)((0,s.w)(e),(0,s.w)(O),{closable:!1,closeIconRender:e=>{let r=l.createElement("span",{className:`${Z}-close-icon`,onClick:M},e);return(0,i.wm)(e,r,e=>({onClick:r=>{var o;null===(o=null==e?void 0:e.onClick)||void 0===o||o.call(e,r),M(r)},className:n()(null==e?void 0:e.className,`${Z}-close-icon`)}))}}),q="function"==typeof k.onClick||b&&"a"===b.type,A=f||null,F=A?l.createElement(l.Fragment,null,A,b&&l.createElement("span",null,b)):b,X=l.createElement("span",Object.assign({},E,{ref:r,className:L,style:B}),F,R,P&&l.createElement(w,{key:"preset",prefixCls:Z}),T&&l.createElement(j,{key:"status",prefixCls:Z}));return z(q?l.createElement(u.Z,{component:"Tag"},X):X)});_.CheckableTag=x;var E=_},30132:function(e,r,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/DislikeDrawer",function(){return o(5583)}])},5583:function(e,r,o){"use strict";o.r(r);var l=o(85893),t=o(85265),n=o(66309),a=o(55102),c=o(14726),s=o(67294);r.default=e=>{let{open:r,setFeedbackOpen:o,list:i,feedback:u,loading:d}=e,[p,g]=(0,s.useState)([]),[b,f]=(0,s.useState)("");return(0,l.jsx)(t.Z,{title:"你的反馈助我进步",placement:"bottom",open:r,onClose:()=>o(!1),destroyOnClose:!0,height:"auto",children:(0,l.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,l.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==i?void 0:i.map(e=>{let r=p.findIndex(r=>r.reason_type===e.reason_type)>-1;return(0,l.jsx)(n.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(r?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{g(r=>{let o=r.findIndex(r=>r.reason_type===e.reason_type);return o>-1?[...r.slice(0,o),...r.slice(o+1)]:[...r,e]})},children:e.reason},e.reason_type)})}),(0,l.jsx)(a.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:b,onChange:e=>f(e.target.value.trim())}),(0,l.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,l.jsx)(c.ZP,{className:"w-16 h-8",onClick:()=>{o(!1)},children:"取消"}),(0,l.jsx)(c.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=p.map(e=>e.reason_type);await (null==u?void 0:u({feedback_type:"unlike",reason_types:e,remark:b}))},loading:d,children:"确认"})]})]})})}}},function(e){e.O(0,[2648,4296,5102,5265,9774,2888,179],function(){return e(e.s=30132)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Feedback-28b1a5147472d8c3.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Feedback-5ca7567cd8dd181d.js similarity index 93% rename from dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Feedback-28b1a5147472d8c3.js rename to dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Feedback-5ca7567cd8dd181d.js index adbc98793..8801fc7c1 100644 --- a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Feedback-28b1a5147472d8c3.js +++ b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Feedback-5ca7567cd8dd181d.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3602],{84588:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Feedback",function(){return a(32966)}])},2440:function(e,t,a){"use strict";var n=a(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},39718:function(e,t,a){"use strict";var n=a(85893),s=a(19284),c=a(25675),l=a.n(c),r=a(67294);t.Z=(0,r.memo)(e=>{let{width:t,height:a,model:c}=e,i=(0,r.useMemo)(()=>{let e=null==c?void 0:c.replaceAll("-","_").split("_")[0],t=Object.keys(s.Me);for(let a=0;a{let{width:t,height:a,scene:r}=e,i=(0,l.useCallback)(()=>{switch(r){case"chat_knowledge":return s.je;case"chat_with_db_execute":return s.zM;case"chat_excel":return s.DL;case"chat_with_db_qa":case"chat_dba":return s.RD;case"chat_dashboard":return s.In;case"chat_agent":return s.si;case"chat_normal":return s.O7;default:return}},[r]);return(0,n.jsx)(c.Z,{className:"w-".concat(t||7," h-").concat(a||7),component:i()})}},70065:function(e,t,a){"use strict";var n=a(91321);let s=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=s},5583:function(e,t,a){"use strict";a.r(t);var n=a(85893),s=a(85265),c=a(66309),l=a(55102),r=a(14726),i=a(67294);t.default=e=>{let{open:t,setFeedbackOpen:a,list:o,feedback:u,loading:d}=e,[x,p]=(0,i.useState)([]),[m,_]=(0,i.useState)("");return(0,n.jsx)(s.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>a(!1),destroyOnClose:!0,height:"auto",children:(0,n.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,n.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==o?void 0:o.map(e=>{let t=x.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,n.jsx)(c.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{p(t=>{let a=t.findIndex(t=>t.reason_type===e.reason_type);return a>-1?[...t.slice(0,a),...t.slice(a+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,n.jsx)(l.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:m,onChange:e=>_(e.target.value.trim())}),(0,n.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,n.jsx)(r.ZP,{className:"w-16 h-8",onClick:()=>{a(!1)},children:"取消"}),(0,n.jsx)(r.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=x.map(e=>e.reason_type);await (null==u?void 0:u({feedback_type:"unlike",reason_types:e,remark:m}))},loading:d,children:"确认"})]})]})})}},32966:function(e,t,a){"use strict";a.r(t);var n=a(85893),s=a(76212),c=a(65429),l=a(15381),r=a(85175),i=a(65654),o=a(31418),u=a(96074),d=a(14726),x=a(93967),p=a.n(x),m=a(20640),_=a.n(m),f=a(67294),h=a(73913),v=a(5583);t.default=e=>{var t;let{content:a,index:x,chatDialogRef:m}=e,{conv_uid:k,history:y,scene:g}=(0,f.useContext)(h.MobileChatContext),{message:w}=o.Z.useApp(),[b,j]=(0,f.useState)(!1),[C,N]=(0,f.useState)(null==a?void 0:null===(t=a.feedback)||void 0===t?void 0:t.feedback_type),[Z,S]=(0,f.useState)([]),O=async e=>{var t;let a=null==e?void 0:e.replace(/\trelations:.*/g,""),n=_()((null===(t=m.current)||void 0===t?void 0:t.textContent)||a);n?a?w.success("复制成功"):w.warning("内容复制为空"):w.error("复制失败")},{run:E,loading:I}=(0,i.Z)(async e=>await (0,s.Vx)((0,s.zx)({conv_uid:k,message_id:a.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;N(null==t?void 0:t.feedback_type),w.success("反馈成功"),j(!1)}}),{run:M}=(0,i.Z)(async()=>await (0,s.Vx)((0,s.Ir)({conv_uid:k,message_id:(null==a?void 0:a.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(N("none"),w.success("操作成功"))}}),{run:P}=(0,i.Z)(async()=>await (0,s.Vx)((0,s.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;S(t||[]),t&&j(!0)}}),{run:z,loading:F}=(0,i.Z)(async()=>await (0,s.Vx)((0,s.Ty)({conv_id:k,round_index:0})),{manual:!0,onSuccess:()=>{w.success("操作成功")}});return(0,n.jsxs)("div",{className:"flex items-center text-sm",children:[(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)(c.Z,{className:p()("cursor-pointer",{"text-[#0C75FC]":"like"===C}),onClick:async()=>{if("like"===C){await M();return}await E({feedback_type:"like"})}}),(0,n.jsx)(l.Z,{className:p()("cursor-pointer",{"text-[#0C75FC]":"unlike"===C}),onClick:async()=>{if("unlike"===C){await M();return}await P()}}),(0,n.jsx)(v.default,{open:b,setFeedbackOpen:j,list:Z,feedback:E,loading:I})]}),(0,n.jsx)(u.Z,{type:"vertical"}),(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)(r.Z,{className:"cursor-pointer",onClick:()=>O(a.context)}),y.length-1===x&&"chat_agent"===g&&(0,n.jsx)(d.ZP,{loading:F,size:"small",onClick:async()=>{await z()},className:"text-xs",children:"终止话题"})]})]})}}},function(e){e.O(0,[2648,3791,4296,5102,3293,4330,1776,5418,2913,2378,6231,5265,5737,3913,9774,2888,179],function(){return e(e.s=84588)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3602],{84588:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Feedback",function(){return a(32966)}])},2440:function(e,t,a){"use strict";var n=a(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},39718:function(e,t,a){"use strict";var n=a(85893),s=a(19284),c=a(25675),l=a.n(c),r=a(67294);t.Z=(0,r.memo)(e=>{let{width:t,height:a,model:c}=e,i=(0,r.useMemo)(()=>{let e=null==c?void 0:c.replaceAll("-","_").split("_")[0],t=Object.keys(s.Me);for(let a=0;a{let{width:t,height:a,scene:r}=e,i=(0,l.useCallback)(()=>{switch(r){case"chat_knowledge":return s.je;case"chat_with_db_execute":return s.zM;case"chat_excel":return s.DL;case"chat_with_db_qa":case"chat_dba":return s.RD;case"chat_dashboard":return s.In;case"chat_agent":return s.si;case"chat_normal":return s.O7;default:return}},[r]);return(0,n.jsx)(c.Z,{className:"w-".concat(t||7," h-").concat(a||7),component:i()})}},70065:function(e,t,a){"use strict";var n=a(91321);let s=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=s},5583:function(e,t,a){"use strict";a.r(t);var n=a(85893),s=a(85265),c=a(66309),l=a(25278),r=a(14726),i=a(67294);t.default=e=>{let{open:t,setFeedbackOpen:a,list:o,feedback:u,loading:d}=e,[x,p]=(0,i.useState)([]),[m,_]=(0,i.useState)("");return(0,n.jsx)(s.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>a(!1),destroyOnClose:!0,height:"auto",children:(0,n.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,n.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==o?void 0:o.map(e=>{let t=x.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,n.jsx)(c.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{p(t=>{let a=t.findIndex(t=>t.reason_type===e.reason_type);return a>-1?[...t.slice(0,a),...t.slice(a+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,n.jsx)(l.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:m,onChange:e=>_(e.target.value.trim())}),(0,n.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,n.jsx)(r.ZP,{className:"w-16 h-8",onClick:()=>{a(!1)},children:"取消"}),(0,n.jsx)(r.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=x.map(e=>e.reason_type);await (null==u?void 0:u({feedback_type:"unlike",reason_types:e,remark:m}))},loading:d,children:"确认"})]})]})})}},32966:function(e,t,a){"use strict";a.r(t);var n=a(85893),s=a(76212),c=a(65429),l=a(15381),r=a(57132),i=a(65654),o=a(31418),u=a(96074),d=a(14726),x=a(93967),p=a.n(x),m=a(20640),_=a.n(m),f=a(67294),h=a(73913),v=a(5583);t.default=e=>{var t;let{content:a,index:x,chatDialogRef:m}=e,{conv_uid:k,history:y,scene:g}=(0,f.useContext)(h.MobileChatContext),{message:w}=o.Z.useApp(),[b,j]=(0,f.useState)(!1),[C,N]=(0,f.useState)(null==a?void 0:null===(t=a.feedback)||void 0===t?void 0:t.feedback_type),[Z,S]=(0,f.useState)([]),O=async e=>{var t;let a=null==e?void 0:e.replace(/\trelations:.*/g,""),n=_()((null===(t=m.current)||void 0===t?void 0:t.textContent)||a);n?a?w.success("复制成功"):w.warning("内容复制为空"):w.error("复制失败")},{run:E,loading:I}=(0,i.Z)(async e=>await (0,s.Vx)((0,s.zx)({conv_uid:k,message_id:a.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;N(null==t?void 0:t.feedback_type),w.success("反馈成功"),j(!1)}}),{run:M}=(0,i.Z)(async()=>await (0,s.Vx)((0,s.Ir)({conv_uid:k,message_id:(null==a?void 0:a.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(N("none"),w.success("操作成功"))}}),{run:P}=(0,i.Z)(async()=>await (0,s.Vx)((0,s.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;S(t||[]),t&&j(!0)}}),{run:z,loading:F}=(0,i.Z)(async()=>await (0,s.Vx)((0,s.Ty)({conv_id:k,round_index:0})),{manual:!0,onSuccess:()=>{w.success("操作成功")}});return(0,n.jsxs)("div",{className:"flex items-center text-sm",children:[(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)(c.Z,{className:p()("cursor-pointer",{"text-[#0C75FC]":"like"===C}),onClick:async()=>{if("like"===C){await M();return}await E({feedback_type:"like"})}}),(0,n.jsx)(l.Z,{className:p()("cursor-pointer",{"text-[#0C75FC]":"unlike"===C}),onClick:async()=>{if("unlike"===C){await M();return}await P()}}),(0,n.jsx)(v.default,{open:b,setFeedbackOpen:j,list:Z,feedback:E,loading:I})]}),(0,n.jsx)(u.Z,{type:"vertical"}),(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)(r.Z,{className:"cursor-pointer",onClick:()=>O(a.context)}),y.length-1===x&&"chat_agent"===g&&(0,n.jsx)(d.ZP,{loading:F,size:"small",onClick:async()=>{await z()},className:"text-xs",children:"终止话题"})]})]})}}},function(e){e.O(0,[2648,3791,2913,5278,4330,8791,5030,5418,3799,2684,6231,4354,3913,9774,2888,179],function(){return e(e.s=84588)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Header-4ce247cbc875627e.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Header-410f1d81bdef929a.js similarity index 92% rename from dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Header-4ce247cbc875627e.js rename to dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Header-410f1d81bdef929a.js index aab16ebc3..ef2699f70 100644 --- a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Header-4ce247cbc875627e.js +++ b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Header-410f1d81bdef929a.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1244],{85335:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Header",function(){return n(56397)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,4296,5102,3293,4330,1776,5418,2913,2378,6231,2293,3913,9774,2888,179],function(){return e(e.s=85335)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1244],{85335:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Header",function(){return n(56397)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,2913,5278,4330,8791,5030,5418,3799,2684,6231,950,3913,9774,2888,179],function(){return e(e.s=85335)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/InputContainer-ee3d5523871247ec.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/InputContainer-f0c44f47553a414c.js similarity index 96% rename from dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/InputContainer-ee3d5523871247ec.js rename to dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/InputContainer-f0c44f47553a414c.js index 9fc18f147..d94cb8646 100644 --- a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/InputContainer-ee3d5523871247ec.js +++ b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/InputContainer-f0c44f47553a414c.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3882],{69487:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/InputContainer",function(){return n(74638)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,4296,5102,3293,4330,1776,5418,2913,2378,6231,2500,3913,9774,2888,179],function(){return e(e.s=69487)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3882],{69487:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/InputContainer",function(){return n(74638)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,2913,5278,4330,8791,5030,5418,3799,2684,6231,6047,3913,9774,2888,179],function(){return e(e.s=69487)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/ModelSelector-b1f62ecdf1d11777.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/ModelSelector-efa0b58af3b97ec4.js similarity index 96% rename from dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/ModelSelector-b1f62ecdf1d11777.js rename to dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/ModelSelector-efa0b58af3b97ec4.js index e590251da..7d5e1c8d7 100644 --- a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/ModelSelector-b1f62ecdf1d11777.js +++ b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/ModelSelector-efa0b58af3b97ec4.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2767],{96052:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/ModelSelector",function(){return n(7001)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,4296,5102,3293,4330,1776,5418,2913,2378,6231,8538,3913,9774,2888,179],function(){return e(e.s=96052)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2767],{96052:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/ModelSelector",function(){return n(7001)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,2913,5278,4330,8791,5030,5418,3799,2684,6231,5005,3913,9774,2888,179],function(){return e(e.s=96052)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/OptionIcon-c8d001dd2e3fe951.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/OptionIcon-9b7b2b198d5ee1f1.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/OptionIcon-c8d001dd2e3fe951.js rename to dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/OptionIcon-9b7b2b198d5ee1f1.js diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Resource-e534c888b8ca365d.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Resource-c8bffd77ec4c89b2.js similarity index 96% rename from dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Resource-e534c888b8ca365d.js rename to dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Resource-c8bffd77ec4c89b2.js index 13732b5fc..887fd541d 100644 --- a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Resource-e534c888b8ca365d.js +++ b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Resource-c8bffd77ec4c89b2.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5247],{44813:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Resource",function(){return n(73749)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,4296,5102,3293,4330,1776,5418,2913,2378,6231,7209,3913,9774,2888,179],function(){return e(e.s=44813)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5247],{44813:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Resource",function(){return n(73749)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,2913,5278,4330,8791,5030,5418,3799,2684,6231,5654,3913,9774,2888,179],function(){return e(e.s=44813)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Thermometer-e7a31ad3e9bc5531.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Thermometer-4f25be11b8d85c91.js similarity index 96% rename from dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Thermometer-e7a31ad3e9bc5531.js rename to dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Thermometer-4f25be11b8d85c91.js index ae0d4949c..7199aace0 100644 --- a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Thermometer-e7a31ad3e9bc5531.js +++ b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Thermometer-4f25be11b8d85c91.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9622],{59843:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Thermometer",function(){return n(97109)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,4296,5102,3293,4330,1776,5418,2913,2378,6231,7399,3913,9774,2888,179],function(){return e(e.s=59843)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9622],{59843:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Thermometer",function(){return n(97109)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,2913,5278,4330,8791,5030,5418,3799,2684,6231,1437,3913,9774,2888,179],function(){return e(e.s=59843)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/webpack-ec1d3d859d29d7e0.js b/dbgpt/app/static/web/_next/static/chunks/webpack-ec1d3d859d29d7e0.js new file mode 100644 index 000000000..3d3860a32 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/webpack-ec1d3d859d29d7e0.js @@ -0,0 +1 @@ +!function(){"use strict";var e,c,t,a,f,n,b,d,r,s,u,i,o={},l={};function h(e){var c=l[e];if(void 0!==c)return c.exports;var t=l[e]={id:e,loaded:!1,exports:{}},a=!0;try{o[e].call(t.exports,t,t.exports,h),a=!1}finally{a&&delete l[e]}return t.loaded=!0,t.exports}h.m=o,h.amdO={},e=[],h.O=function(c,t,a,f){if(t){f=f||0;for(var n=e.length;n>0&&e[n-1][2]>f;n--)e[n]=e[n-1];e[n]=[t,a,f];return}for(var b=1/0,n=0;n=f&&Object.keys(h.O).every(function(e){return h.O[e](t[r])})?t.splice(r--,1):(d=!1,f0&&e[d-1][2]>f;d--)e[d]=e[d-1];e[d]=[t,a,f];return}for(var n=1/0,d=0;d=f&&Object.keys(h.O).every(function(e){return h.O[e](t[r])})?t.splice(r--,1):(b=!1,f:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.5rem * var(--tw-space-y-reverse))!important}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.75rem * var(--tw-space-y-reverse))!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-scroll{overflow-y:scroll!important}.truncate{overflow:hidden!important;white-space:nowrap!important}.text-ellipsis,.truncate{text-overflow:ellipsis!important}.whitespace-normal{white-space:normal!important}.whitespace-nowrap{white-space:nowrap!important}.break-words{overflow-wrap:break-word!important}.rounded{border-radius:.25rem!important}.rounded-2xl{border-radius:1rem!important}.rounded-3xl{border-radius:1.5rem!important}.rounded-\[10px\]{border-radius:10px!important}.rounded-\[50\%\]{border-radius:50%!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.rounded-md{border-radius:.375rem!important}.rounded-none{border-radius:0!important}.rounded-sm{border-radius:.125rem!important}.rounded-xl{border-radius:.75rem!important}.rounded-bl{border-bottom-left-radius:.25rem!important}.rounded-bl-none{border-bottom-left-radius:0!important}.rounded-br{border-bottom-right-radius:.25rem!important}.rounded-br-none{border-bottom-right-radius:0!important}.rounded-tl{border-top-left-radius:.25rem!important}.rounded-tl-md{border-top-left-radius:.375rem!important}.rounded-tl-none{border-top-left-radius:0!important}.rounded-tr{border-top-right-radius:.25rem!important}.rounded-tr-md{border-top-right-radius:.375rem!important}.border{border-width:1px!important}.border-0{border-width:0!important}.border-2{border-width:2px!important}.border-\[0\.5px\]{border-width:.5px!important}.border-b{border-bottom-width:1px!important}.border-b-2{border-bottom-width:2px!important}.border-l{border-left-width:1px!important}.border-l-4{border-left-width:4px!important}.border-r{border-right-width:1px!important}.border-t{border-top-width:1px!important}.border-solid{border-style:solid!important}.border-dashed{border-style:dashed!important}.border-none{border-style:none!important}.border-\[\#0c75fc\]{--tw-border-opacity:1!important;border-color:rgb(12 117 252/var(--tw-border-opacity))!important}.border-\[\#d5e5f6\]{--tw-border-opacity:1!important;border-color:rgb(213 229 246/var(--tw-border-opacity))!important}.border-\[\#d6d8da\]{--tw-border-opacity:1!important;border-color:rgb(214 216 218/var(--tw-border-opacity))!important}.border-\[\#d9d9d9\]{--tw-border-opacity:1!important;border-color:rgb(217 217 217/var(--tw-border-opacity))!important}.border-\[\#e3e4e6\]{--tw-border-opacity:1!important;border-color:rgb(227 228 230/var(--tw-border-opacity))!important}.border-\[\#edeeef\]{--tw-border-opacity:1!important;border-color:rgb(237 238 239/var(--tw-border-opacity))!important}.border-\[\#f0f0f0\]{--tw-border-opacity:1!important;border-color:rgb(240 240 240/var(--tw-border-opacity))!important}.border-\[transparent\]{border-color:transparent!important}.border-blue-500{--tw-border-opacity:1!important;border-color:rgb(59 130 246/var(--tw-border-opacity))!important}.border-blue-600{--tw-border-opacity:1!important;border-color:rgb(37 99 235/var(--tw-border-opacity))!important}.border-gray-100{--tw-border-opacity:1!important;border-color:rgb(243 244 246/var(--tw-border-opacity))!important}.border-gray-200{--tw-border-opacity:1!important;border-color:rgb(229 231 235/var(--tw-border-opacity))!important}.border-gray-500{--tw-border-opacity:1!important;border-color:rgb(107 114 128/var(--tw-border-opacity))!important}.border-gray-800{--tw-border-opacity:1!important;border-color:rgb(31 41 55/var(--tw-border-opacity))!important}.border-red-600{--tw-border-opacity:1!important;border-color:rgb(220 38 38/var(--tw-border-opacity))!important}.border-slate-300{--tw-border-opacity:1!important;border-color:rgb(203 213 225/var(--tw-border-opacity))!important}.border-stone-400{--tw-border-opacity:1!important;border-color:rgb(168 162 158/var(--tw-border-opacity))!important}.border-theme-primary{--tw-border-opacity:1!important;border-color:rgb(0 105 254/var(--tw-border-opacity))!important}.border-white{--tw-border-opacity:1!important;border-color:rgb(255 255 255/var(--tw-border-opacity))!important}.bg-\[\#0C75FC\],.bg-\[\#0c75fc\]{--tw-bg-opacity:1!important;background-color:rgb(12 117 252/var(--tw-bg-opacity))!important}.bg-\[\#EAEAEB\]{--tw-bg-opacity:1!important;background-color:rgb(234 234 235/var(--tw-bg-opacity))!important}.bg-\[\#F1F5F9\]{--tw-bg-opacity:1!important;background-color:rgb(241 245 249/var(--tw-bg-opacity))!important}.bg-\[\#f5faff\]{--tw-bg-opacity:1!important;background-color:rgb(245 250 255/var(--tw-bg-opacity))!important}.bg-\[\#fafafa\]{--tw-bg-opacity:1!important;background-color:rgb(250 250 250/var(--tw-bg-opacity))!important}.bg-\[\#ffffff80\]{background-color:#ffffff80!important}.bg-\[\#ffffff99\]{background-color:#ffffff99!important}.bg-\[\#ffffffb7\]{background-color:#ffffffb7!important}.bg-\[rgba\(0\2c 0\2c 0\2c 0\.04\)\]{background-color:rgba(0,0,0,.04)!important}.bg-\[rgba\(0\2c 0\2c 0\2c 0\.06\)\]{background-color:rgba(0,0,0,.06)!important}.bg-\[rgba\(0\2c 0\2c 0\2c 0\.45\)\]{background-color:rgba(0,0,0,.45)!important}.bg-\[rgba\(255\2c 255\2c 255\2c 0\.8\)\]{background-color:hsla(0,0%,100%,.8)!important}.bg-\[rgba\(255\2c 255\2c 255\2c 0\.9\)\]{background-color:hsla(0,0%,100%,.9)!important}.bg-bar{background-color:rgb(224 231 242/var(--tw-bg-opacity))!important}.bg-bar,.bg-black{--tw-bg-opacity:1!important}.bg-black{background-color:rgb(0 0 0/var(--tw-bg-opacity))!important}.bg-blue-500{background-color:rgb(59 130 246/var(--tw-bg-opacity))!important}.bg-blue-500,.bg-gray-100{--tw-bg-opacity:1!important}.bg-gray-100{background-color:rgb(243 244 246/var(--tw-bg-opacity))!important}.bg-gray-500{background-color:rgb(107 114 128/var(--tw-bg-opacity))!important}.bg-gray-500,.bg-gray-600{--tw-bg-opacity:1!important}.bg-gray-600{background-color:rgb(75 85 99/var(--tw-bg-opacity))!important}.bg-gray-700{background-color:rgb(55 65 81/var(--tw-bg-opacity))!important}.bg-gray-700,.bg-green-500{--tw-bg-opacity:1!important}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))!important}.bg-red-50{background-color:rgb(254 242 242/var(--tw-bg-opacity))!important}.bg-red-50,.bg-red-500{--tw-bg-opacity:1!important}.bg-red-500{background-color:rgb(239 68 68/var(--tw-bg-opacity))!important}.bg-stone-300{--tw-bg-opacity:1!important;background-color:rgb(214 211 209/var(--tw-bg-opacity))!important}.bg-stone-400{--tw-bg-opacity:1!important;background-color:rgb(168 162 158/var(--tw-bg-opacity))!important}.bg-theme-dark-container{--tw-bg-opacity:1!important;background-color:rgb(35 39 52/var(--tw-bg-opacity))!important}.bg-theme-light{--tw-bg-opacity:1!important;background-color:rgb(247 247 247/var(--tw-bg-opacity))!important}.bg-theme-primary{--tw-bg-opacity:1!important;background-color:rgb(0 105 254/var(--tw-bg-opacity))!important}.bg-transparent{background-color:transparent!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.bg-white,.bg-zinc-100{--tw-bg-opacity:1!important}.bg-zinc-100{background-color:rgb(244 244 245/var(--tw-bg-opacity))!important}.bg-opacity-10{--tw-bg-opacity:0.1!important}.bg-opacity-100{--tw-bg-opacity:1!important}.bg-opacity-30{--tw-bg-opacity:0.3!important}.bg-opacity-50{--tw-bg-opacity:0.5!important}.bg-opacity-70{--tw-bg-opacity:0.7!important}.bg-button-gradient{background-image:linear-gradient(90deg,#00daef,#105eff)!important}.bg-gradient-light{background-image:url(/images/bg.png)!important}.bg-gradient-to-tr{background-image:linear-gradient(to top right,var(--tw-gradient-stops))!important}.from-\[\#31afff\]{--tw-gradient-from:#31afff var(--tw-gradient-from-position)!important;--tw-gradient-to:rgba(49,175,255,0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}.to-\[\#1677ff\]{--tw-gradient-to:#1677ff var(--tw-gradient-to-position)!important}.bg-cover{background-size:cover!important}.bg-center{background-position:50%!important}.object-contain{-o-object-fit:contain!important;object-fit:contain!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-10{padding:2.5rem!important}.p-2{padding:.5rem!important}.p-3{padding:.75rem!important}.p-4{padding:1rem!important}.px-0{padding-left:0!important;padding-right:0!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-28{padding-left:7rem!important;padding-right:7rem!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}.px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-8{padding-left:2rem!important;padding-right:2rem!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-10{padding-top:2.5rem!important;padding-bottom:2.5rem!important}.py-12{padding-top:3rem!important;padding-bottom:3rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.py-4{padding-top:1rem!important;padding-bottom:1rem!important}.pb-12{padding-bottom:3rem!important}.pb-2{padding-bottom:.5rem!important}.pb-4{padding-bottom:1rem!important}.pb-6{padding-bottom:1.5rem!important}.pb-8{padding-bottom:2rem!important}.pl-0{padding-left:0!important}.pl-10{padding-left:2.5rem!important}.pl-12{padding-left:3rem!important}.pl-2{padding-left:.5rem!important}.pl-4{padding-left:1rem!important}.pl-6{padding-left:1.5rem!important}.pl-\[0\.6rem\]{padding-left:.6rem!important}.pr-10{padding-right:2.5rem!important}.pr-11{padding-right:2.75rem!important}.pr-4{padding-right:1rem!important}.pr-8{padding-right:2rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-12{padding-top:3rem!important}.pt-2{padding-top:.5rem!important}.pt-4{padding-top:1rem!important}.pt-6{padding-top:1.5rem!important}.pt-8{padding-top:2rem!important}.\!text-left{text-align:left!important}.text-center{text-align:center!important}.text-right{text-align:right!important}.align-middle{vertical-align:middle!important}.\!text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-\[0px\]{font-size:0!important}.text-\[16px\]{font-size:16px!important}.text-\[18px\]{font-size:18px!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-bold{font-weight:700!important}.font-medium{font-weight:500!important}.font-normal{font-weight:400!important}.font-semibold{font-weight:600!important}.uppercase{text-transform:uppercase!important}.lowercase{text-transform:lowercase!important}.italic{font-style:italic!important}.ordinal{--tw-ordinal:ordinal!important;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)!important}.leading-10{line-height:2.5rem!important}.leading-5{line-height:1.25rem!important}.leading-6{line-height:1.5rem!important}.leading-7{line-height:1.75rem!important}.leading-8{line-height:2rem!important}.\!text-gray-500{--tw-text-opacity:1!important;color:rgb(107 114 128/var(--tw-text-opacity))!important}.\!text-green-500{--tw-text-opacity:1!important;color:rgb(34 197 94/var(--tw-text-opacity))!important}.text-\[\#000000\]{--tw-text-opacity:1!important;color:rgb(0 0 0/var(--tw-text-opacity))!important}.text-\[\#0069fe\]{--tw-text-opacity:1!important;color:rgb(0 105 254/var(--tw-text-opacity))!important}.text-\[\#0C75FC\],.text-\[\#0c75fc\]{--tw-text-opacity:1!important;color:rgb(12 117 252/var(--tw-text-opacity))!important}.text-\[\#121417\]{--tw-text-opacity:1!important;color:rgb(18 20 23/var(--tw-text-opacity))!important}.text-\[\#1677ff\]{--tw-text-opacity:1!important;color:rgb(22 119 255/var(--tw-text-opacity))!important}.text-\[\#1890ff\]{--tw-text-opacity:1!important;color:rgb(24 144 255/var(--tw-text-opacity))!important}.text-\[\#1c2533\]{--tw-text-opacity:1!important;color:rgb(28 37 51/var(--tw-text-opacity))!important}.text-\[\#2AA3FF\]{--tw-text-opacity:1!important;color:rgb(42 163 255/var(--tw-text-opacity))!important}.text-\[\#525964\]{--tw-text-opacity:1!important;color:rgb(82 89 100/var(--tw-text-opacity))!important}.text-\[\#878c93\]{--tw-text-opacity:1!important;color:rgb(135 140 147/var(--tw-text-opacity))!important}.text-\[\#ff1b2e\]{--tw-text-opacity:1!important;color:rgb(255 27 46/var(--tw-text-opacity))!important}.text-\[\#ff4d4f\],.text-\[rgb\(255\2c 77\2c 79\)\]{--tw-text-opacity:1!important;color:rgb(255 77 79/var(--tw-text-opacity))!important}.text-\[rgb\(82\2c 196\2c 26\)\]{--tw-text-opacity:1!important;color:rgb(82 196 26/var(--tw-text-opacity))!important}.text-\[rgba\(0\2c 0\2c 0\2c 0\.45\)\]{color:rgba(0,0,0,.45)!important}.text-\[rgba\(0\2c 0\2c 0\2c 0\.85\)\]{color:rgba(0,0,0,.85)!important}.text-\[rgba\(0\2c 10\2c 26\2c 0\.68\)\]{color:rgba(0,10,26,.68)!important}.text-black{color:rgb(0 0 0/var(--tw-text-opacity))!important}.text-black,.text-blue-400{--tw-text-opacity:1!important}.text-blue-400{color:rgb(96 165 250/var(--tw-text-opacity))!important}.text-blue-500{--tw-text-opacity:1!important;color:rgb(59 130 246/var(--tw-text-opacity))!important}.text-blue-600{color:rgb(37 99 235/var(--tw-text-opacity))!important}.text-blue-600,.text-default{--tw-text-opacity:1!important}.text-default{color:rgb(12 117 252/var(--tw-text-opacity))!important}.text-gray-300{--tw-text-opacity:1!important;color:rgb(209 213 219/var(--tw-text-opacity))!important}.text-gray-400{--tw-text-opacity:1!important;color:rgb(156 163 175/var(--tw-text-opacity))!important}.text-gray-500{--tw-text-opacity:1!important;color:rgb(107 114 128/var(--tw-text-opacity))!important}.text-gray-600{--tw-text-opacity:1!important;color:rgb(75 85 99/var(--tw-text-opacity))!important}.text-green-600{--tw-text-opacity:1!important;color:rgb(22 163 74/var(--tw-text-opacity))!important}.text-neutral-500{--tw-text-opacity:1!important;color:rgb(115 115 115/var(--tw-text-opacity))!important}.text-red-400{color:rgb(248 113 113/var(--tw-text-opacity))!important}.text-red-400,.text-red-600{--tw-text-opacity:1!important}.text-red-600{color:rgb(220 38 38/var(--tw-text-opacity))!important}.text-slate-900{--tw-text-opacity:1!important;color:rgb(15 23 42/var(--tw-text-opacity))!important}.text-theme-primary{--tw-text-opacity:1!important;color:rgb(0 105 254/var(--tw-text-opacity))!important}.text-white{color:rgb(255 255 255/var(--tw-text-opacity))!important}.text-white,.text-yellow-400{--tw-text-opacity:1!important}.text-yellow-400{color:rgb(250 204 21/var(--tw-text-opacity))!important}.text-opacity-80{--tw-text-opacity:0.8!important}.underline{text-decoration-line:underline!important}.opacity-0{opacity:0!important}.opacity-100{opacity:1!important}.opacity-30{opacity:.3!important}.opacity-40{opacity:.4!important}.opacity-70{opacity:.7!important}.opacity-80{opacity:.8!important}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1)!important;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)!important}.shadow,.shadow-\[-5px_0_40px_-4px_rgba\(100\2c 100\2c 100\2c \.1\)\]{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow-\[-5px_0_40px_-4px_rgba\(100\2c 100\2c 100\2c \.1\)\]{--tw-shadow:-5px 0 40px -4px hsla(0,0%,39%,.1)!important;--tw-shadow-colored:-5px 0 40px -4px var(--tw-shadow-color)!important}.shadow-\[0_8px_16px_-10px_rgba\(100\2c 100\2c 100\2c \.08\)\]{--tw-shadow:0 8px 16px -10px hsla(0,0%,39%,.08)!important;--tw-shadow-colored:0 8px 16px -10px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow-\[4px_0_10px_rgba\(0\2c 0\2c 0\2c 0\.06\)\]{--tw-shadow:4px 0 10px rgba(0,0,0,.06)!important;--tw-shadow-colored:4px 0 10px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow-\[inset_0_0_16px_rgba\(50\2c 50\2c 50\2c \.05\)\]{--tw-shadow:inset 0 0 16px rgba(50,50,50,.05)!important;--tw-shadow-colored:inset 0 0 16px var(--tw-shadow-color)!important}.shadow-\[inset_0_0_16px_rgba\(50\2c 50\2c 50\2c \.05\)\],.shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1)!important;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)!important}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05)!important;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.grayscale{--tw-grayscale:grayscale(100%)!important}.filter,.grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.backdrop-blur{--tw-backdrop-blur:blur(8px)!important}.backdrop-blur,.backdrop-blur-lg{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}.backdrop-blur-lg{--tw-backdrop-blur:blur(16px)!important}.backdrop-blur-sm{--tw-backdrop-blur:blur(4px)!important}.backdrop-blur-sm,.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}.transition-\[transfrom_shadow\]{transition-property:transfrom shadow!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-\[width\]{transition-property:width!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-all{transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-opacity{transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-transform{transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.duration-300{transition-duration:.3s!important}.duration-500{transition-duration:.5s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.animate-duration-200{--tw-animate-duration:200ms!important}.animate-duration-200,.animate-duration-300{animation-duration:var(--tw-animate-duration)!important}.animate-duration-300{--tw-animate-duration:300ms!important}.animate-infinite{--tw-animate-iteration:infinite!important;animation-iteration-count:var(--tw-animate-iteration)!important}body{margin:0;font-family:var(--joy-fontFamily-body,var(--joy-Josefin Sans,sans-serif));line-height:var(--joy-lineHeight-md,1.5);--antd-primary-color:#0069fe;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-appearance:none}.light{color:#333;background-color:#f7f7f7}.dark{color:#f7f7f7;background-color:#151622}.dark-sub-bg{background-color:#23262c}.ant-btn-primary{background-color:var(--antd-primary-color)}.ant-pagination .ant-pagination-next *,.ant-pagination .ant-pagination-prev *{color:var(--antd-primary-color)!important}.ant-pagination .ant-pagination-item a{color:#b0b0bf}.ant-pagination .ant-pagination-item.ant-pagination-item-active{background-color:var(--antd-primary-color)!important}.ant-pagination .ant-pagination-item.ant-pagination-item-active a{color:#fff!important}.scrollbar-default::-webkit-scrollbar{display:block;width:6px}::-webkit-scrollbar{display:none}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#888}::-webkit-scrollbar-thumb:hover{background:#555}.dark :where(.css-dev-only-do-not-override-18iikkb).ant-tabs .ant-tabs-tab-btn{color:#fff}:where(.css-dev-only-do-not-override-18iikkb).ant-form-item .ant-form-item-label>label{height:36px}@keyframes rotate{to{transform:rotate(1turn)}}.react-flow__panel{display:none!important}#home-container .ant-tabs-tab,#home-container .ant-tabs-tab-active{font-size:16px}#home-container .ant-card-body{padding:12px 24px}pre{overflow:auto;white-space:pre-wrap;padding-left:.5rem}pre,table{width:100%}table{display:block;table-layout:fixed}.rc-md-editor{height:inherit}.rc-md-editor .editor-container>.section{border-right:none!important}.first-line\:leading-6:first-line{line-height:1.5rem!important}.after\:absolute:after{content:var(--tw-content)!important;position:absolute!important}.after\:-top-8:after{content:var(--tw-content)!important;top:-2rem!important}.after\:h-8:after{content:var(--tw-content)!important;height:2rem!important}.after\:w-full:after{content:var(--tw-content)!important;width:100%!important}.after\:bg-gradient-to-t:after{content:var(--tw-content)!important;background-image:linear-gradient(to top,var(--tw-gradient-stops))!important}.after\:from-theme-light:after{content:var(--tw-content)!important;--tw-gradient-from:#f7f7f7 var(--tw-gradient-from-position)!important;--tw-gradient-to:hsla(0,0%,97%,0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}.after\:to-transparent:after{content:var(--tw-content)!important;--tw-gradient-to:transparent var(--tw-gradient-to-position)!important}.last-of-type\:mr-0:last-of-type{margin-right:0!important}.hover\:-translate-y-1:hover{--tw-translate-y:-0.25rem!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.hover\:rounded-xl:hover{border-radius:.75rem!important}.hover\:border-\[\#0c75fc\]:hover{--tw-border-opacity:1!important;border-color:rgb(12 117 252/var(--tw-border-opacity))!important}.hover\:bg-\[\#F1F5F9\]:hover{--tw-bg-opacity:1!important;background-color:rgb(241 245 249/var(--tw-bg-opacity))!important}.hover\:bg-\[\#f5faff\]:hover{--tw-bg-opacity:1!important;background-color:rgb(245 250 255/var(--tw-bg-opacity))!important}.hover\:bg-\[rgb\(221\2c 221\2c 221\2c 0\.6\)\]:hover{background-color:hsla(0,0%,87%,.6)!important}.hover\:bg-stone-200:hover{--tw-bg-opacity:1!important;background-color:rgb(231 229 228/var(--tw-bg-opacity))!important}.hover\:bg-white:hover{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.hover\:\!text-gray-200:hover{--tw-text-opacity:1!important;color:rgb(229 231 235/var(--tw-text-opacity))!important}.hover\:text-\[\#0c75fc\]:hover{--tw-text-opacity:1!important;color:rgb(12 117 252/var(--tw-text-opacity))!important}.hover\:text-blue-500:hover{--tw-text-opacity:1!important;color:rgb(59 130 246/var(--tw-text-opacity))!important}.hover\:text-red-500:hover{--tw-text-opacity:1!important;color:rgb(239 68 68/var(--tw-text-opacity))!important}.hover\:text-theme-primary:hover{--tw-text-opacity:1!important;color:rgb(0 105 254/var(--tw-text-opacity))!important}.hover\:opacity-100:hover{opacity:1!important}.hover\:shadow-\[0_14px_20px_-10px_rgba\(100\2c 100\2c 100\2c \.15\)\]:hover{--tw-shadow:0 14px 20px -10px hsla(0,0%,39%,.15)!important;--tw-shadow-colored:0 14px 20px -10px var(--tw-shadow-color)!important}.focus\:shadow-none:focus,.hover\:shadow-\[0_14px_20px_-10px_rgba\(100\2c 100\2c 100\2c \.15\)\]:hover{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.focus\:shadow-none:focus{--tw-shadow:0 0 #0000!important;--tw-shadow-colored:0 0 #0000!important}.group:hover .group-hover\:block{display:block!important}.group\/item:hover .group-hover\/item\:opacity-100,.group\/side:hover .group-hover\/side\:opacity-100{opacity:1!important}.group:hover .group-hover\:opacity-70{opacity:.7!important}:is(.dark .dark\:border-\[\#0c75fc\]){--tw-border-opacity:1!important;border-color:rgb(12 117 252/var(--tw-border-opacity))!important}:is(.dark .dark\:border-\[\#6f7f95\]){--tw-border-opacity:1!important;border-color:rgb(111 127 149/var(--tw-border-opacity))!important}:is(.dark .dark\:border-\[\#ffffff66\]){border-color:#ffffff66!important}:is(.dark .dark\:border-\[rgba\(12\2c 117\2c 252\2c 0\.8\)\]){border-color:rgba(12,117,252,.8)!important}:is(.dark .dark\:border-\[rgba\(217\2c 217\2c 217\2c 0\.85\)\]){border-color:hsla(0,0%,85%,.85)!important}:is(.dark .dark\:border-\[rgba\(255\2c 255\2c 255\2c 0\.1\)\]){border-color:hsla(0,0%,100%,.1)!important}:is(.dark .dark\:border-\[rgba\(255\2c 255\2c 255\2c 0\.2\)\]){border-color:hsla(0,0%,100%,.2)!important}:is(.dark .dark\:border-\[rgba\(255\2c 255\2c 255\2c 0\.6\)\]){border-color:hsla(0,0%,100%,.6)!important}:is(.dark .dark\:border-gray-500){--tw-border-opacity:1!important;border-color:rgb(107 114 128/var(--tw-border-opacity))!important}:is(.dark .dark\:border-gray-700){--tw-border-opacity:1!important;border-color:rgb(55 65 81/var(--tw-border-opacity))!important}:is(.dark .dark\:border-gray-800){--tw-border-opacity:1!important;border-color:rgb(31 41 55/var(--tw-border-opacity))!important}:is(.dark .dark\:border-theme-dark){--tw-border-opacity:1!important;border-color:rgb(21 22 34/var(--tw-border-opacity))!important}:is(.dark .dark\:border-white){--tw-border-opacity:1!important;border-color:rgb(255 255 255/var(--tw-border-opacity))!important}:is(.dark .dark\:bg-\[\#212121\]){--tw-bg-opacity:1!important;background-color:rgb(33 33 33/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-\[\#232734\]){--tw-bg-opacity:1!important;background-color:rgb(35 39 52/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-\[\#242733\]){--tw-bg-opacity:1!important;background-color:rgb(36 39 51/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-\[\#484848\]){--tw-bg-opacity:1!important;background-color:rgb(72 72 72/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-\[\#606264\]){--tw-bg-opacity:1!important;background-color:rgb(96 98 100/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-\[\#6f7f95\]){--tw-bg-opacity:1!important;background-color:rgb(111 127 149/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-\[\#ffffff29\]){background-color:#ffffff29!important}:is(.dark .dark\:bg-\[rgba\(255\2c 255\2c 255\2c 0\.1\)\]){background-color:hsla(0,0%,100%,.1)!important}:is(.dark .dark\:bg-\[rgba\(255\2c 255\2c 255\2c 0\.16\)\]){background-color:hsla(0,0%,100%,.16)!important}:is(.dark .dark\:bg-\[rgba\(255\2c 255\2c 255\2c 0\.2\)\]){background-color:hsla(0,0%,100%,.2)!important}:is(.dark .dark\:bg-\[rgba\(255\2c 255\2c 255\2c 0\.5\)\]){background-color:hsla(0,0%,100%,.5)!important}:is(.dark .dark\:bg-\[rgba\(255\2c 255\2c 255\2c 0\.65\)\]){background-color:hsla(0,0%,100%,.65)!important}:is(.dark .dark\:bg-\[rgba\(41\2c 63\2c 89\2c 0\.4\)\]){background-color:rgba(41,63,89,.4)!important}:is(.dark .dark\:bg-black){--tw-bg-opacity:1!important;background-color:rgb(0 0 0/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity:1!important;background-color:rgb(31 41 55/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-slate-800){--tw-bg-opacity:1!important;background-color:rgb(30 41 59/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-theme-dark){--tw-bg-opacity:1!important;background-color:rgb(21 22 34/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-theme-dark-container){--tw-bg-opacity:1!important;background-color:rgb(35 39 52/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-transparent){background-color:transparent!important}:is(.dark .dark\:bg-zinc-700){--tw-bg-opacity:1!important;background-color:rgb(63 63 70/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-zinc-800){--tw-bg-opacity:1!important;background-color:rgb(39 39 42/var(--tw-bg-opacity))!important}:is(.dark :is(.dark .dark\:dark\:bg-theme-dark)){--tw-bg-opacity:1!important;background-color:rgb(21 22 34/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-opacity-50){--tw-bg-opacity:0.5!important}:is(.dark .dark\:bg-opacity-60){--tw-bg-opacity:0.6!important}:is(.dark .dark\:bg-gradient-dark){background-image:url(/images/bg_dark.png)!important}:is(.dark .dark\:text-\[\#ffffffD9\]){color:#ffffffd9!important}:is(.dark .dark\:text-\[rgba\(255\2c 255\2c 255\2c 0\.65\)\]){color:hsla(0,0%,100%,.65)!important}:is(.dark .dark\:text-\[rgba\(255\2c 255\2c 255\2c 0\.85\)\]){color:hsla(0,0%,100%,.85)!important}:is(.dark .dark\:text-blue-400){--tw-text-opacity:1!important;color:rgb(96 165 250/var(--tw-text-opacity))!important}:is(.dark .dark\:text-gray-200){--tw-text-opacity:1!important;color:rgb(229 231 235/var(--tw-text-opacity))!important}:is(.dark .dark\:text-gray-300){--tw-text-opacity:1!important;color:rgb(209 213 219/var(--tw-text-opacity))!important}:is(.dark .dark\:text-gray-800){--tw-text-opacity:1!important;color:rgb(31 41 55/var(--tw-text-opacity))!important}:is(.dark .dark\:text-slate-300){--tw-text-opacity:1!important;color:rgb(203 213 225/var(--tw-text-opacity))!important}:is(.dark .dark\:text-stone-200){--tw-text-opacity:1!important;color:rgb(231 229 228/var(--tw-text-opacity))!important}:is(.dark .dark\:text-white){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}:is(.dark .dark\:text-zinc-200){--tw-text-opacity:1!important;color:rgb(228 228 231/var(--tw-text-opacity))!important}:is(.dark .dark\:after\:from-theme-dark):after{content:var(--tw-content)!important;--tw-gradient-from:#151622 var(--tw-gradient-from-position)!important;--tw-gradient-to:rgba(21,22,34,0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}:is(.dark .dark\:hover\:border-\[rgba\(12\2c 117\2c 252\2c 0\.85\)\]:hover){border-color:rgba(12,117,252,.85)!important}:is(.dark .dark\:hover\:border-white:hover){--tw-border-opacity:1!important;border-color:rgb(255 255 255/var(--tw-border-opacity))!important}:is(.dark .dark\:hover\:bg-\[\#606264\]:hover){--tw-bg-opacity:1!important;background-color:rgb(96 98 100/var(--tw-bg-opacity))!important}:is(.dark .dark\:hover\:bg-theme-dark:hover){--tw-bg-opacity:1!important;background-color:rgb(21 22 34/var(--tw-bg-opacity))!important}:is(.dark .dark\:hover\:bg-zinc-900:hover){--tw-bg-opacity:1!important;background-color:rgb(24 24 27/var(--tw-bg-opacity))!important}:is(.dark .hover\:dark\:bg-\[\#606264\]):hover{--tw-bg-opacity:1!important;background-color:rgb(96 98 100/var(--tw-bg-opacity))!important}:is(.dark .hover\:dark\:bg-black):hover{--tw-bg-opacity:1!important;background-color:rgb(0 0 0/var(--tw-bg-opacity))!important}:is(.dark .dark\:hover\:text-zinc-100:hover){--tw-text-opacity:1!important;color:rgb(244 244 245/var(--tw-text-opacity))!important}@media (min-width:640px){.sm\:mr-4{margin-right:1rem!important}.sm\:w-60{width:15rem!important}.sm\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.sm\:pb-10{padding-bottom:2.5rem!important}.sm\:pt-6{padding-top:1.5rem!important}.sm\:text-base{font-size:1rem!important;line-height:1.5rem!important}.sm\:leading-7{line-height:1.75rem!important}}@media (min-width:768px){.md\:block{display:block!important}.md\:w-1\/2{width:50%!important}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.md\:gap-4{gap:1rem!important}.md\:p-4{padding:1rem!important}.md\:p-6{padding:1.5rem!important}.md\:px-4{padding-left:1rem!important;padding-right:1rem!important}.md\:px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}}@media (min-width:1024px){.lg\:w-1\/3{width:33.333333%!important}.lg\:w-72{width:18rem!important}.lg\:w-full{width:100%!important}.lg\:max-w-\[80\%\]{max-width:80%!important}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lg\:px-8{padding-left:2rem!important;padding-right:2rem!important}}@media (min-width:1280px){.xl\:h-full{height:100%!important}.xl\:w-1\/4{width:25%!important}.xl\:w-3\/4{width:75%!important}.xl\:w-auto{width:auto!important}.xl\:w-full{width:100%!important}.xl\:border-l{border-left-width:1px!important}.xl\:border-t-0{border-top-width:0!important}.xl\:pl-4{padding-left:1rem!important}.xl\:pr-4{padding-right:1rem!important}}@media (min-width:1536px){.\32xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}} \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/css/bdf76ac25e72436d.css b/dbgpt/app/static/web/_next/static/css/bdf76ac25e72436d.css deleted file mode 100644 index 7c811febc..000000000 --- a/dbgpt/app/static/web/_next/static/css/bdf76ac25e72436d.css +++ /dev/null @@ -1,3 +0,0 @@ -.monaco-aria-container{position:absolute;left:-999em}.monaco-editor .selection-anchor{background-color:#007acc;width:2px!important}.monaco-editor .bracket-match{box-sizing:border-box;background-color:var(--vscode-editorBracketMatch-background);border:1px solid var(--vscode-editorBracketMatch-border)}.inline-editor-progress-decoration{display:inline-block;width:1em;height:1em}.inline-progress-widget{display:flex!important;justify-content:center;align-items:center}.inline-progress-widget .icon{font-size:80%!important}.inline-progress-widget:hover .icon{font-size:90%!important;animation:none}.inline-progress-widget:hover .icon:before{content:var(--vscode-icon-x-content);font-family:var(--vscode-icon-x-font-family)}.monaco-editor .monaco-editor-overlaymessage{padding-bottom:8px;z-index:10000}.monaco-editor .monaco-editor-overlaymessage.below{padding-bottom:0;padding-top:8px;z-index:10000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.monaco-editor .monaco-editor-overlaymessage.fadeIn{animation:fadeIn .15s ease-out}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.monaco-editor .monaco-editor-overlaymessage.fadeOut{animation:fadeOut .1s ease-out}.monaco-editor .monaco-editor-overlaymessage .message{padding:2px 4px;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-inputValidation-infoBorder);border-radius:3px}.monaco-editor .monaco-editor-overlaymessage .message p{margin-block:0}.monaco-editor .monaco-editor-overlaymessage .message a{color:var(--vscode-textLink-foreground)}.monaco-editor .monaco-editor-overlaymessage .message a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor.hc-black .monaco-editor-overlaymessage .message,.monaco-editor.hc-light .monaco-editor-overlaymessage .message{border-width:2px}.monaco-editor .monaco-editor-overlaymessage .anchor{width:0!important;height:0!important;z-index:1000;border:8px solid transparent;position:absolute;left:2px}.monaco-editor .monaco-editor-overlaymessage .anchor.top{border-bottom-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage .anchor.below{border-top-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage.below .anchor.below,.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top{display:none}.monaco-editor .monaco-editor-overlaymessage.below .anchor.top{display:inherit;top:-8px}.monaco-editor .rendered-markdown kbd{background-color:var(--vscode-keybindingLabel-background);color:var(--vscode-keybindingLabel-foreground);border-style:solid;border-width:1px;border-radius:3px;border-color:var(--vscode-keybindingLabel-border);border-bottom-color:var(--vscode-keybindingLabel-bottomBorder);box-shadow:inset 0 -1px 0 var(--vscode-widget-shadow);vertical-align:middle;padding:1px 3px}.rendered-markdown li:has(input[type=checkbox]){list-style-type:none}.monaco-text-button{box-sizing:border-box;display:flex;width:100%;padding:4px;border-radius:2px;text-align:center;cursor:pointer;justify-content:center;align-items:center;border:1px solid var(--vscode-button-border,transparent);line-height:18px}.monaco-text-button:focus{outline-offset:2px!important}.monaco-text-button:hover{text-decoration:none!important}.monaco-button.disabled,.monaco-button.disabled:focus{opacity:.4!important;cursor:default}.monaco-text-button .codicon{margin:0 .2em;color:inherit!important}.monaco-text-button.monaco-text-button-with-short-label{flex-direction:row;flex-wrap:wrap;padding:0 4px;overflow:hidden;height:28px}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label{flex-basis:100%}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{flex-grow:1;width:0;overflow:hidden}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label,.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{display:flex;justify-content:center;align-items:center;font-weight:400;font-style:inherit;padding:4px 0}.monaco-button-dropdown{display:flex;cursor:pointer}.monaco-button-dropdown.disabled{cursor:default}.monaco-button-dropdown>.monaco-button:focus{outline-offset:-1px!important}.monaco-button-dropdown.disabled>.monaco-button-dropdown-separator,.monaco-button-dropdown.disabled>.monaco-button.disabled,.monaco-button-dropdown.disabled>.monaco-button.disabled:focus{opacity:.4!important}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-right-width:0!important}.monaco-button-dropdown .monaco-button-dropdown-separator{padding:4px 0;cursor:default}.monaco-button-dropdown .monaco-button-dropdown-separator>div{height:100%;width:1px}.monaco-button-dropdown>.monaco-button.monaco-dropdown-button{border:1px solid var(--vscode-button-border,transparent);border-left-width:0!important;border-radius:0 2px 2px 0;display:flex;align-items:center}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-radius:2px 0 0 2px}.monaco-description-button{display:flex;flex-direction:column;align-items:center;margin:4px 5px}.monaco-description-button .monaco-button-description{font-style:italic;font-size:11px;padding:4px 20px}.monaco-description-button .monaco-button-description,.monaco-description-button .monaco-button-label{display:flex;justify-content:center;align-items:center}.monaco-description-button .monaco-button-description>.codicon,.monaco-description-button .monaco-button-label>.codicon{margin:0 .2em;color:inherit!important}.monaco-button-dropdown.default-colors>.monaco-button,.monaco-button.default-colors{color:var(--vscode-button-foreground);background-color:var(--vscode-button-background)}.monaco-button-dropdown.default-colors>.monaco-button:hover,.monaco-button.default-colors:hover{background-color:var(--vscode-button-hoverBackground)}.monaco-button-dropdown.default-colors>.monaco-button.secondary,.monaco-button.default-colors.secondary{color:var(--vscode-button-secondaryForeground);background-color:var(--vscode-button-secondaryBackground)}.monaco-button-dropdown.default-colors>.monaco-button.secondary:hover,.monaco-button.default-colors.secondary:hover{background-color:var(--vscode-button-secondaryHoverBackground)}.monaco-button-dropdown.default-colors .monaco-button-dropdown-separator{background-color:var(--vscode-button-background);border-top:1px solid var(--vscode-button-border);border-bottom:1px solid var(--vscode-button-border)}.monaco-button-dropdown.default-colors .monaco-button.secondary+.monaco-button-dropdown-separator{background-color:var(--vscode-button-secondaryBackground)}.monaco-button-dropdown.default-colors .monaco-button-dropdown-separator>div{background-color:var(--vscode-button-separator)}.post-edit-widget{box-shadow:0 0 8px 2px var(--vscode-widget-shadow);border:1px solid var(--vscode-widget-border,transparent);border-radius:4px;background-color:var(--vscode-editorWidget-background);overflow:hidden}.post-edit-widget .monaco-button{padding:2px;border:none;border-radius:0}.post-edit-widget .monaco-button:hover{background-color:var(--vscode-button-secondaryHoverBackground)!important}.post-edit-widget .monaco-button .codicon{margin:0}@font-face{font-family:codicon;font-display:block;src:url(/_next/static/media/codicon.dfc1b1db.ttf) format("truetype")}.codicon[class*=codicon-]{font:normal normal normal 16px/1 codicon;display:inline-block;text-decoration:none;text-rendering:auto;text-align:center;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-user-select:none;user-select:none;-webkit-user-select:none}.codicon-wrench-subaction{opacity:.5}@keyframes codicon-spin{to{transform:rotate(1turn)}}.codicon-gear.codicon-modifier-spin,.codicon-loading.codicon-modifier-spin,.codicon-notebook-state-executing.codicon-modifier-spin,.codicon-sync.codicon-modifier-spin{animation:codicon-spin 1.5s steps(30) infinite}.codicon-modifier-disabled{opacity:.4}.codicon-loading,.codicon-tree-item-loading:before{animation-duration:1s!important;animation-timing-function:cubic-bezier(.53,.21,.29,.67)!important}.monaco-editor .codicon.codicon-symbol-array,.monaco-workbench .codicon.codicon-symbol-array{color:var(--vscode-symbolIcon-arrayForeground)}.monaco-editor .codicon.codicon-symbol-boolean,.monaco-workbench .codicon.codicon-symbol-boolean{color:var(--vscode-symbolIcon-booleanForeground)}.monaco-editor .codicon.codicon-symbol-class,.monaco-workbench .codicon.codicon-symbol-class{color:var(--vscode-symbolIcon-classForeground)}.monaco-editor .codicon.codicon-symbol-method,.monaco-workbench .codicon.codicon-symbol-method{color:var(--vscode-symbolIcon-methodForeground)}.monaco-editor .codicon.codicon-symbol-color,.monaco-workbench .codicon.codicon-symbol-color{color:var(--vscode-symbolIcon-colorForeground)}.monaco-editor .codicon.codicon-symbol-constant,.monaco-workbench .codicon.codicon-symbol-constant{color:var(--vscode-symbolIcon-constantForeground)}.monaco-editor .codicon.codicon-symbol-constructor,.monaco-workbench .codicon.codicon-symbol-constructor{color:var(--vscode-symbolIcon-constructorForeground)}.monaco-editor .codicon.codicon-symbol-enum,.monaco-editor .codicon.codicon-symbol-value,.monaco-workbench .codicon.codicon-symbol-enum,.monaco-workbench .codicon.codicon-symbol-value{color:var(--vscode-symbolIcon-enumeratorForeground)}.monaco-editor .codicon.codicon-symbol-enum-member,.monaco-workbench .codicon.codicon-symbol-enum-member{color:var(--vscode-symbolIcon-enumeratorMemberForeground)}.monaco-editor .codicon.codicon-symbol-event,.monaco-workbench .codicon.codicon-symbol-event{color:var(--vscode-symbolIcon-eventForeground)}.monaco-editor .codicon.codicon-symbol-field,.monaco-workbench .codicon.codicon-symbol-field{color:var(--vscode-symbolIcon-fieldForeground)}.monaco-editor .codicon.codicon-symbol-file,.monaco-workbench .codicon.codicon-symbol-file{color:var(--vscode-symbolIcon-fileForeground)}.monaco-editor .codicon.codicon-symbol-folder,.monaco-workbench .codicon.codicon-symbol-folder{color:var(--vscode-symbolIcon-folderForeground)}.monaco-editor .codicon.codicon-symbol-function,.monaco-workbench .codicon.codicon-symbol-function{color:var(--vscode-symbolIcon-functionForeground)}.monaco-editor .codicon.codicon-symbol-interface,.monaco-workbench .codicon.codicon-symbol-interface{color:var(--vscode-symbolIcon-interfaceForeground)}.monaco-editor .codicon.codicon-symbol-key,.monaco-workbench .codicon.codicon-symbol-key{color:var(--vscode-symbolIcon-keyForeground)}.monaco-editor .codicon.codicon-symbol-keyword,.monaco-workbench .codicon.codicon-symbol-keyword{color:var(--vscode-symbolIcon-keywordForeground)}.monaco-editor .codicon.codicon-symbol-module,.monaco-workbench .codicon.codicon-symbol-module{color:var(--vscode-symbolIcon-moduleForeground)}.monaco-editor .codicon.codicon-symbol-namespace,.monaco-workbench .codicon.codicon-symbol-namespace{color:var(--vscode-symbolIcon-namespaceForeground)}.monaco-editor .codicon.codicon-symbol-null,.monaco-workbench .codicon.codicon-symbol-null{color:var(--vscode-symbolIcon-nullForeground)}.monaco-editor .codicon.codicon-symbol-number,.monaco-workbench .codicon.codicon-symbol-number{color:var(--vscode-symbolIcon-numberForeground)}.monaco-editor .codicon.codicon-symbol-object,.monaco-workbench .codicon.codicon-symbol-object{color:var(--vscode-symbolIcon-objectForeground)}.monaco-editor .codicon.codicon-symbol-operator,.monaco-workbench .codicon.codicon-symbol-operator{color:var(--vscode-symbolIcon-operatorForeground)}.monaco-editor .codicon.codicon-symbol-package,.monaco-workbench .codicon.codicon-symbol-package{color:var(--vscode-symbolIcon-packageForeground)}.monaco-editor .codicon.codicon-symbol-property,.monaco-workbench .codicon.codicon-symbol-property{color:var(--vscode-symbolIcon-propertyForeground)}.monaco-editor .codicon.codicon-symbol-reference,.monaco-workbench .codicon.codicon-symbol-reference{color:var(--vscode-symbolIcon-referenceForeground)}.monaco-editor .codicon.codicon-symbol-snippet,.monaco-workbench .codicon.codicon-symbol-snippet{color:var(--vscode-symbolIcon-snippetForeground)}.monaco-editor .codicon.codicon-symbol-string,.monaco-workbench .codicon.codicon-symbol-string{color:var(--vscode-symbolIcon-stringForeground)}.monaco-editor .codicon.codicon-symbol-struct,.monaco-workbench .codicon.codicon-symbol-struct{color:var(--vscode-symbolIcon-structForeground)}.monaco-editor .codicon.codicon-symbol-text,.monaco-workbench .codicon.codicon-symbol-text{color:var(--vscode-symbolIcon-textForeground)}.monaco-editor .codicon.codicon-symbol-type-parameter,.monaco-workbench .codicon.codicon-symbol-type-parameter{color:var(--vscode-symbolIcon-typeParameterForeground)}.monaco-editor .codicon.codicon-symbol-unit,.monaco-workbench .codicon.codicon-symbol-unit{color:var(--vscode-symbolIcon-unitForeground)}.monaco-editor .codicon.codicon-symbol-variable,.monaco-workbench .codicon.codicon-symbol-variable{color:var(--vscode-symbolIcon-variableForeground)}.monaco-editor .lightBulbWidget{display:flex;align-items:center;justify-content:center}.monaco-editor .lightBulbWidget:hover{cursor:pointer}.monaco-editor .lightBulbWidget.codicon-light-bulb,.monaco-editor .lightBulbWidget.codicon-lightbulb-sparkle{color:var(--vscode-editorLightBulb-foreground)}.monaco-editor .lightBulbWidget.codicon-lightbulb-autofix,.monaco-editor .lightBulbWidget.codicon-lightbulb-sparkle-autofix{color:var(--vscode-editorLightBulbAutoFix-foreground,var(--vscode-editorLightBulb-foreground))}.monaco-editor .lightBulbWidget.codicon-sparkle-filled{color:var(--vscode-editorLightBulbAi-foreground,var(--vscode-icon-foreground))}.monaco-editor .lightBulbWidget:before{position:relative;z-index:2}.monaco-editor .lightBulbWidget:after{position:absolute;top:0;left:0;content:"";display:block;width:100%;height:100%;opacity:.3;background-color:var(--vscode-editor-background);z-index:1}.monaco-list{position:relative;height:100%;width:100%;white-space:nowrap}.monaco-list.mouse-support{-moz-user-select:none;user-select:none;-webkit-user-select:none}.monaco-list>.monaco-scrollable-element{height:100%}.monaco-list-rows{position:relative;width:100%;height:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{width:auto;min-width:100%}.monaco-list-row{position:absolute;box-sizing:border-box;overflow:hidden;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list .monaco-scrollable-element>.scrollbar.vertical,.monaco-pane-view>.monaco-split-view2.vertical>.monaco-scrollable-element>.scrollbar.vertical{z-index:14}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-multiple,.monaco-list.selection-single{outline:0!important}.monaco-drag-image{display:inline-block;padding:1px 7px;border-radius:10px;font-size:12px;position:absolute;z-index:1000}.monaco-list-type-filter-message{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;padding:40px 1em 1em;text-align:center;white-space:normal;opacity:.7;pointer-events:none}.monaco-list-type-filter-message:empty{display:none}.monaco-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.monaco-scrollable-element>.visible{opacity:1;background:transparent;transition:opacity .1s linear;z-index:11}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{transition:opacity .8s linear}.monaco-scrollable-element>.shadow{position:absolute;display:none}.monaco-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.monaco-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.scrollbar>.slider{background:var(--vscode-scrollbarSlider-background)}.monaco-scrollable-element>.scrollbar>.slider:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-scrollable-element>.scrollbar>.slider.active{background:var(--vscode-scrollbarSlider-activeBackground)}.monaco-select-box-dropdown-padding{--dropdown-padding-top:1px;--dropdown-padding-bottom:1px}.hc-black .monaco-select-box-dropdown-padding,.hc-light .monaco-select-box-dropdown-padding{--dropdown-padding-top:3px;--dropdown-padding-bottom:4px}.monaco-select-box-dropdown-container{display:none;box-sizing:border-box}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown *{margin:0}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown a:focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown code{line-height:15px;font-family:var(--monaco-monospace-font)}.monaco-select-box-dropdown-container.visible{display:flex;flex-direction:column;text-align:left;width:1px;overflow:hidden;border-bottom-left-radius:3px;border-bottom-right-radius:3px}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container{flex:0 0 auto;align-self:flex-start;padding-top:var(--dropdown-padding-top);padding-bottom:var(--dropdown-padding-bottom);padding-left:1px;padding-right:1px;width:100%;overflow:hidden;box-sizing:border-box}.monaco-select-box-dropdown-container>.select-box-details-pane{padding:5px}.hc-black .monaco-select-box-dropdown-container>.select-box-dropdown-list-container{padding-top:var(--dropdown-padding-top);padding-bottom:var(--dropdown-padding-bottom)}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row{cursor:pointer}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-text{text-overflow:ellipsis;overflow:hidden;padding-left:3.5px;white-space:nowrap;float:left}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-detail{text-overflow:ellipsis;overflow:hidden;padding-left:3.5px;white-space:nowrap;float:left;opacity:.7}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-decorator-right{text-overflow:ellipsis;overflow:hidden;padding-right:10px;white-space:nowrap;float:right}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.visually-hidden{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control{flex:1 1 auto;align-self:flex-start;opacity:0}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div{overflow:hidden;max-height:0}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div>.option-text-width-control{padding-left:4px;padding-right:8px;white-space:nowrap}.monaco-select-box{width:100%;cursor:pointer;border-radius:2px}.monaco-select-box-dropdown-container{font-size:13px;font-weight:400;text-transform:none}.monaco-action-bar .action-item.select-container{cursor:default}.monaco-action-bar .action-item .monaco-select-box{cursor:pointer;min-width:100px;min-height:18px;padding:2px 23px 2px 8px}.mac .monaco-action-bar .action-item .monaco-select-box{font-size:11px;border-radius:5px}.monaco-action-bar{white-space:nowrap;height:100%}.monaco-action-bar .actions-container{display:flex;margin:0 auto;padding:0;height:100%;width:100%;align-items:center}.monaco-action-bar.vertical .actions-container{display:inline-block}.monaco-action-bar .action-item{display:block;align-items:center;justify-content:center;cursor:pointer;position:relative}.monaco-action-bar .action-item.disabled{cursor:default}.monaco-action-bar .action-item .codicon,.monaco-action-bar .action-item .icon{display:block}.monaco-action-bar .action-item .codicon{display:flex;align-items:center;width:16px;height:16px}.monaco-action-bar .action-label{display:flex;font-size:11px;padding:3px;border-radius:5px}.monaco-action-bar .action-item.disabled .action-label,.monaco-action-bar .action-item.disabled .action-label:before,.monaco-action-bar .action-item.disabled .action-label:hover{color:var(--vscode-disabledForeground)}.monaco-action-bar.vertical{text-align:left}.monaco-action-bar.vertical .action-item{display:block}.monaco-action-bar.vertical .action-label.separator{display:block;border-bottom:1px solid #bbb;padding-top:1px;margin-left:.8em;margin-right:.8em}.monaco-action-bar .action-item .action-label.separator{width:1px;height:16px;margin:5px 4px!important;cursor:default;min-width:1px;padding:0;background-color:#bbb}.secondary-actions .monaco-action-bar .action-label{margin-left:6px}.monaco-action-bar .action-item.select-container{overflow:hidden;flex:1;max-width:170px;min-width:60px;display:flex;align-items:center;justify-content:center;margin-right:10px}.monaco-action-bar .action-item.action-dropdown-item{display:flex}.monaco-action-bar .action-item.action-dropdown-item>.action-dropdown-item-separator{display:flex;align-items:center;cursor:default}.monaco-action-bar .action-item.action-dropdown-item>.action-dropdown-item-separator>div{width:1px}.action-widget{font-size:13px;border-radius:0;min-width:160px;max-width:80vw;z-index:40;display:block;width:100%;border:1px solid var(--vscode-editorWidget-border)!important;border-radius:2px;background-color:var(--vscode-editorWidget-background);color:var(--vscode-editorWidget-foreground)}.context-view-block{z-index:-1}.context-view-block,.context-view-pointerBlock{position:fixed;cursor:auto;left:0;top:0;width:100%;height:100%}.context-view-pointerBlock{z-index:2}.action-widget .monaco-list{-moz-user-select:none;user-select:none;-webkit-user-select:none;border:0!important}.action-widget .monaco-list:focus:before{outline:0!important}.action-widget .monaco-list .monaco-scrollable-element{overflow:visible}.action-widget .monaco-list .monaco-list-row{padding:0 10px;white-space:nowrap;cursor:pointer;touch-action:none;width:100%}.action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled){background-color:var(--vscode-quickInputList-focusBackground)!important;color:var(--vscode-quickInputList-focusForeground);outline:1px solid var(--vscode-menu-selectionBorder,transparent);outline-offset:-1px}.action-widget .monaco-list-row.group-header{color:var(--vscode-descriptionForeground)!important;font-weight:600}.action-widget .monaco-list .group-header,.action-widget .monaco-list .option-disabled,.action-widget .monaco-list .option-disabled .focused,.action-widget .monaco-list .option-disabled .focused:before,.action-widget .monaco-list .option-disabled:before{cursor:default!important;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:transparent!important;outline:0 solid!important}.action-widget .monaco-list-row.action{display:flex;gap:6px;align-items:center}.action-widget .monaco-list-row.action.option-disabled,.action-widget .monaco-list-row.action.option-disabled .codicon,.action-widget .monaco-list:focus .monaco-list-row.focused.action.option-disabled,.action-widget .monaco-list:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused).option-disabled{color:var(--vscode-disabledForeground)}.action-widget .monaco-list-row.action:not(.option-disabled) .codicon{color:inherit}.action-widget .monaco-list-row.action .title{flex:1;overflow:hidden;text-overflow:ellipsis}.action-widget .monaco-list-row.action .monaco-keybinding>.monaco-keybinding-key{background-color:var(--vscode-keybindingLabel-background);color:var(--vscode-keybindingLabel-foreground);border-style:solid;border-width:1px;border-radius:3px;border-color:var(--vscode-keybindingLabel-border);border-bottom-color:var(--vscode-keybindingLabel-bottomBorder);box-shadow:inset 0 -1px 0 var(--vscode-widget-shadow)}.action-widget .action-widget-action-bar{background-color:var(--vscode-editorHoverWidget-statusBarBackground);border-top:1px solid var(--vscode-editorHoverWidget-border)}.action-widget .action-widget-action-bar:before{display:block;content:"";width:100%}.action-widget .action-widget-action-bar .actions-container{padding:0 8px}.action-widget-action-bar .action-label{color:var(--vscode-textLink-activeForeground);font-size:12px;line-height:22px;padding:0;pointer-events:all}.action-widget-action-bar .action-item{margin-right:16px;pointer-events:none}.action-widget-action-bar .action-label:hover{background-color:transparent!important}.monaco-action-bar .actions-container.highlight-toggled .action-label.checked{background:var(--vscode-actionBar-toggledBackground)!important}.monaco-keybinding{display:flex;align-items:center;line-height:10px}.monaco-keybinding>.monaco-keybinding-key{display:inline-block;border-style:solid;border-width:1px;border-radius:3px;vertical-align:middle;font-size:11px;padding:3px 5px;margin:0 2px}.monaco-keybinding>.monaco-keybinding-key:first-child{margin-left:0}.monaco-keybinding>.monaco-keybinding-key:last-child{margin-right:0}.monaco-keybinding>.monaco-keybinding-key-separator{display:inline-block}.monaco-keybinding>.monaco-keybinding-key-chord-separator{width:6px}::-ms-clear{display:none}.monaco-editor .editor-widget input{color:inherit}.monaco-editor{position:relative;overflow:visible;-webkit-text-size-adjust:100%;color:var(--vscode-editor-foreground)}.monaco-editor,.monaco-editor-background{background-color:var(--vscode-editor-background)}.monaco-editor .rangeHighlight{background-color:var(--vscode-editor-rangeHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-rangeHighlightBorder)}.monaco-editor.hc-black .rangeHighlight,.monaco-editor.hc-light .rangeHighlight{border-style:dotted}.monaco-editor .symbolHighlight{background-color:var(--vscode-editor-symbolHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-symbolHighlightBorder)}.monaco-editor.hc-black .symbolHighlight,.monaco-editor.hc-light .symbolHighlight{border-style:dotted}.monaco-editor .overflow-guard{position:relative;overflow:hidden}.monaco-editor .view-overlays{position:absolute;top:0}.monaco-editor .margin-view-overlays>div,.monaco-editor .view-overlays>div{position:absolute;width:100%}.monaco-editor .squiggly-error{border-bottom:4px double var(--vscode-editorError-border)}.monaco-editor .squiggly-error:before{display:block;content:"";width:100%;height:100%;background:var(--vscode-editorError-background)}.monaco-editor .squiggly-warning{border-bottom:4px double var(--vscode-editorWarning-border)}.monaco-editor .squiggly-warning:before{display:block;content:"";width:100%;height:100%;background:var(--vscode-editorWarning-background)}.monaco-editor .squiggly-info{border-bottom:4px double var(--vscode-editorInfo-border)}.monaco-editor .squiggly-info:before{display:block;content:"";width:100%;height:100%;background:var(--vscode-editorInfo-background)}.monaco-editor .squiggly-hint{border-bottom:2px dotted var(--vscode-editorHint-border)}.monaco-editor.showUnused .squiggly-unnecessary{border-bottom:2px dashed var(--vscode-editorUnnecessaryCode-border)}.monaco-editor.showDeprecated .squiggly-inline-deprecated{text-decoration:line-through;text-decoration-color:var(--vscode-editor-foreground,inherit)}.monaco-editor .inputarea{min-width:0;min-height:0;margin:0;padding:0;position:absolute;outline:none!important;resize:none;border:none;overflow:hidden;color:transparent;background-color:transparent;z-index:-10}.monaco-editor .inputarea.ime-input{z-index:10;caret-color:var(--vscode-editorCursor-foreground);color:var(--vscode-editor-foreground)}.monaco-editor .margin-view-overlays .line-numbers{bottom:0;font-variant-numeric:tabular-nums;position:absolute;text-align:right;display:inline-block;vertical-align:middle;box-sizing:border-box;cursor:default}.monaco-editor .relative-current-line-number{text-align:left;display:inline-block;width:100%}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}.monaco-editor .line-numbers{color:var(--vscode-editorLineNumber-foreground)}.monaco-editor .line-numbers.active-line-number{color:var(--vscode-editorLineNumber-activeForeground)}.monaco-editor .margin{background-color:var(--vscode-editorGutter-background)}.monaco-mouse-cursor-text{cursor:text}.monaco-editor .blockDecorations-container{position:absolute;top:0;pointer-events:none}.monaco-editor .blockDecorations-block{position:absolute;box-sizing:border-box}.monaco-editor .margin-view-overlays .current-line,.monaco-editor .view-overlays .current-line{display:block;position:absolute;left:0;top:0;box-sizing:border-box;height:100%}.monaco-editor - .margin-view-overlays - .current-line.current-line-margin.current-line-margin-both{border-right:0}.monaco-editor .lines-content .cdr{position:absolute;height:100%}.monaco-editor .glyph-margin{position:absolute;top:0}.monaco-editor .glyph-margin-widgets .cgmr{position:absolute;display:flex;align-items:center;justify-content:center}.monaco-editor .glyph-margin-widgets .cgmr.codicon-modifier-spin:before{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.monaco-editor .lines-content .core-guide{position:absolute;box-sizing:border-box;height:100%}.mtkcontrol{color:#fff!important;background:#960000!important}.mtkoverflow{background-color:var(--vscode-button-background,var(--vscode-editor-background));color:var(--vscode-button-foreground,var(--vscode-editor-foreground));border-width:1px;border-style:solid;border-color:var(--vscode-contrastBorder);border-radius:2px;padding:4px;cursor:pointer}.mtkoverflow:hover{background-color:var(--vscode-button-hoverBackground)}.monaco-editor.no-user-select .lines-content,.monaco-editor.no-user-select .view-line,.monaco-editor.no-user-select .view-lines{-moz-user-select:none;user-select:none;-webkit-user-select:none}.monaco-editor.mac .lines-content:hover,.monaco-editor.mac .view-line:hover,.monaco-editor.mac .view-lines:hover{-moz-user-select:text;user-select:text;-webkit-user-select:text;-ms-user-select:text}.monaco-editor.enable-user-select{-moz-user-select:initial;user-select:auto;-webkit-user-select:initial}.monaco-editor .view-lines{white-space:nowrap}.monaco-editor .view-line{position:absolute;width:100%}.monaco-editor .lines-content>.view-lines>.view-line>span{top:0;bottom:0;position:absolute}.monaco-editor .mtkw,.monaco-editor .mtkz{color:var(--vscode-editorWhitespace-foreground)!important}.monaco-editor .mtkz{display:inline-block}.monaco-editor .lines-decorations{position:absolute;top:0;background:#fff}.monaco-editor .margin-view-overlays .cldr{position:absolute;height:100%}.monaco-editor .margin-view-overlays .cmdr{position:absolute;left:0;width:100%;height:100%}.monaco-editor .minimap.slider-mouseover .minimap-slider{opacity:0;transition:opacity .1s linear}.monaco-editor .minimap.slider-mouseover .minimap-slider.active,.monaco-editor .minimap.slider-mouseover:hover .minimap-slider{opacity:1}.monaco-editor .minimap-slider .minimap-slider-horizontal{background:var(--vscode-minimapSlider-background)}.monaco-editor .minimap-slider:hover .minimap-slider-horizontal{background:var(--vscode-minimapSlider-hoverBackground)}.monaco-editor .minimap-slider.active .minimap-slider-horizontal{background:var(--vscode-minimapSlider-activeBackground)}.monaco-editor .minimap-shadow-visible{box-shadow:var(--vscode-scrollbar-shadow) -6px 0 6px -6px inset}.monaco-editor .minimap-shadow-hidden{position:absolute;width:0}.monaco-editor .minimap-shadow-visible{position:absolute;left:-6px;width:6px}.monaco-editor.no-minimap-shadow .minimap-shadow-visible{position:absolute;left:-1px;width:1px}.minimap.autohide{opacity:0;transition:opacity .5s}.minimap.autohide:hover{opacity:1}.monaco-editor .minimap{z-index:5}.monaco-editor .overlayWidgets{position:absolute;top:0;left:0}.monaco-editor .view-ruler{position:absolute;top:0;box-shadow:1px 0 0 0 var(--vscode-editorRuler-foreground) inset}.monaco-editor .scroll-decoration{position:absolute;top:0;left:0;height:6px;box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset}.monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .focused .selected-text{background-color:var(--vscode-editor-selectionBackground)}.monaco-editor .selected-text{background-color:var(--vscode-editor-inactiveSelectionBackground)}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor.hc-light .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-light .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-light .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-light .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{position:absolute;overflow:hidden;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{background:transparent!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-width:2px;border-bottom-style:solid;background:transparent!important}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:transparent!important}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate}.cursor-phase{animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate}.cursor-expand>.cursor{animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate}.monaco-editor .mwh{position:absolute;color:var(--vscode-editorWhitespace-foreground)!important}.monaco-editor .codelens-decoration{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap;color:var(--vscode-editorCodeLens-foreground);line-height:var(--vscode-editorCodeLens-lineHeight);font-size:var(--vscode-editorCodeLens-fontSize);padding-right:calc(var(--vscode-editorCodeLens-fontSize)*.5);font-feature-settings:var(--vscode-editorCodeLens-fontFeatureSettings);font-family:var(--vscode-editorCodeLens-fontFamily),var(--vscode-editorCodeLens-fontFamilyDefault)}.monaco-editor .codelens-decoration>a,.monaco-editor .codelens-decoration>span{-moz-user-select:none;user-select:none;-webkit-user-select:none;white-space:nowrap;vertical-align:sub}.monaco-editor .codelens-decoration>a{text-decoration:none}.monaco-editor .codelens-decoration>a:hover{cursor:pointer}.monaco-editor .codelens-decoration>a:hover,.monaco-editor .codelens-decoration>a:hover .codicon{color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .codelens-decoration .codicon{vertical-align:middle;color:currentColor!important;color:var(--vscode-editorCodeLens-foreground);line-height:var(--vscode-editorCodeLens-lineHeight);font-size:var(--vscode-editorCodeLens-fontSize)}.monaco-editor .codelens-decoration>a:hover .codicon:before{cursor:pointer}@keyframes fadein{0%{opacity:0;visibility:visible}to{opacity:1}}.monaco-editor .codelens-decoration.fadein{animation:fadein .1s linear}.colorpicker-widget{height:190px;-moz-user-select:none;user-select:none;-webkit-user-select:none}.colorpicker-color-decoration,.hc-light .colorpicker-color-decoration{border:.1em solid #000;box-sizing:border-box;margin:.1em .2em 0;width:.8em;height:.8em;line-height:.8em;display:inline-block;cursor:pointer}.hc-black .colorpicker-color-decoration,.vs-dark .colorpicker-color-decoration{border:.1em solid #eee}.colorpicker-header{display:flex;height:24px;position:relative;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=");background-size:9px 9px;image-rendering:pixelated}.colorpicker-header .picked-color{width:240px;display:flex;align-items:center;justify-content:center;line-height:24px;cursor:pointer;color:#fff;flex:1;white-space:nowrap;overflow:hidden}.colorpicker-header .picked-color .picked-color-presentation{white-space:nowrap;margin-left:5px;margin-right:5px}.colorpicker-header .picked-color .codicon{color:inherit;font-size:14px}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{width:74px;z-index:inherit;cursor:pointer}.standalone-colorpicker{color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.colorpicker-header.standalone-colorpicker{border-bottom:none}.colorpicker-header .close-button{cursor:pointer;background-color:var(--vscode-editorHoverWidget-background);border-left:1px solid var(--vscode-editorHoverWidget-border)}.colorpicker-header .close-button-inner-div{width:100%;height:100%;text-align:center}.colorpicker-header .close-button-inner-div:hover{background-color:var(--vscode-toolbar-hoverBackground)}.colorpicker-header .close-icon{padding:3px}.colorpicker-body{display:flex;padding:8px;position:relative}.colorpicker-body .saturation-wrap{overflow:hidden;height:150px;position:relative;min-width:220px;flex:1}.colorpicker-body .saturation-box{height:150px;position:absolute}.colorpicker-body .saturation-selection{width:9px;height:9px;margin:-5px 0 0 -5px;border:1px solid #fff;border-radius:100%;box-shadow:0 0 2px rgba(0,0,0,.8);position:absolute}.colorpicker-body .strip{width:25px;height:150px}.colorpicker-body .standalone-strip{width:25px;height:122px}.colorpicker-body .hue-strip{position:relative;margin-left:8px;cursor:grab;background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.colorpicker-body .opacity-strip{position:relative;margin-left:8px;cursor:grab;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=");background-size:9px 9px;image-rendering:pixelated}.colorpicker-body .strip.grabbing{cursor:grabbing}.colorpicker-body .slider{position:absolute;top:0;left:-2px;width:calc(100% + 4px);height:4px;box-sizing:border-box;border:1px solid hsla(0,0%,100%,.71);box-shadow:0 0 1px rgba(0,0,0,.85)}.colorpicker-body .strip .overlay{height:150px;pointer-events:none}.colorpicker-body .standalone-strip .standalone-overlay{height:122px;pointer-events:none}.standalone-colorpicker-body{display:block;border:1px solid transparent;border-bottom:1px solid var(--vscode-editorHoverWidget-border);overflow:hidden}.colorpicker-body .insert-button{position:absolute;height:20px;width:58px;padding:0;right:8px;bottom:8px;background:var(--vscode-button-background);color:var(--vscode-button-foreground);border-radius:2px;border:none;cursor:pointer}.colorpicker-body .insert-button:hover{background:var(--vscode-button-hoverBackground)}.monaco-editor .inlineSuggestionsHints.withBorder{z-index:39;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .inlineSuggestionsHints a,.monaco-editor .inlineSuggestionsHints a:hover{color:var(--vscode-foreground)}.monaco-editor .inlineSuggestionsHints .keybinding{display:flex;margin-left:4px;opacity:.6}.monaco-editor .inlineSuggestionsHints .keybinding .monaco-keybinding-key{font-size:8px;padding:2px 3px}.monaco-editor .inlineSuggestionsHints .availableSuggestionCount a{display:flex;min-width:19px;justify-content:center}.monaco-editor .inlineSuggestionStatusBarItemLabel{margin-right:2px}.monaco-dropdown{height:100%;padding:0}.monaco-dropdown>.dropdown-label{cursor:pointer;height:100%;display:flex;align-items:center;justify-content:center}.monaco-dropdown>.dropdown-label>.action-label.disabled{cursor:default}.monaco-dropdown-with-primary{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-primary>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:50%;background-repeat:no-repeat}.monaco-action-bar .action-item.menu-entry .action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-default>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default:hover{background-color:var(--vscode-toolbar-hoverBackground)}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:50%;background-repeat:no-repeat}.monaco-toolbar{height:100%}.monaco-toolbar .toolbar-toggle-more{display:inline-block;padding:0}:root{--vscode-sash-size:4px;--vscode-sash-hover-size:4px}.monaco-sash{position:absolute;z-index:35;touch-action:none}.monaco-sash.disabled{pointer-events:none}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash.disabled{cursor:default!important;pointer-events:none!important}.monaco-sash.vertical{cursor:ew-resize;top:0;width:var(--vscode-sash-size);height:100%}.monaco-sash.horizontal{cursor:ns-resize;left:0;width:100%;height:var(--vscode-sash-size)}.monaco-sash:not(.disabled)>.orthogonal-drag-handle{content:" ";height:calc(var(--vscode-sash-size) * 2);width:calc(var(--vscode-sash-size) * 2);z-index:100;display:block;cursor:all-scroll;position:absolute}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.start,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.end{cursor:nwse-resize}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.end,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.start{cursor:nesw-resize}.monaco-sash.vertical>.orthogonal-drag-handle.start{left:calc(var(--vscode-sash-size) * -.5);top:calc(var(--vscode-sash-size) * -1)}.monaco-sash.vertical>.orthogonal-drag-handle.end{left:calc(var(--vscode-sash-size) * -.5);bottom:calc(var(--vscode-sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.start{top:calc(var(--vscode-sash-size) * -.5);left:calc(var(--vscode-sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.end{top:calc(var(--vscode-sash-size) * -.5);right:calc(var(--vscode-sash-size) * -1)}.monaco-sash:before{content:"";pointer-events:none;position:absolute;width:100%;height:100%;background:transparent}.monaco-workbench:not(.reduce-motion) .monaco-sash:before{transition:background-color .1s ease-out}.monaco-sash.active:before,.monaco-sash.hover:before{background:var(--vscode-sash-hoverBorder)}.monaco-sash.vertical:before{width:var(--vscode-sash-hover-size);left:calc(50% - (var(--vscode-sash-hover-size) / 2))}.monaco-sash.horizontal:before{height:var(--vscode-sash-hover-size);top:calc(50% - (var(--vscode-sash-hover-size) / 2))}.pointer-events-disabled{pointer-events:none!important}.monaco-sash.debug{background:cyan}.monaco-sash.debug.disabled{background:rgba(0,255,255,.2)}.monaco-sash.debug:not(.disabled)>.orthogonal-drag-handle{background:red}.monaco-hover{cursor:default;position:absolute;overflow:hidden;-moz-user-select:text;user-select:text;-webkit-user-select:text;box-sizing:border-box;animation:fadein .1s linear;line-height:1.5em;white-space:var(--vscode-hover-whiteSpace,normal)}.monaco-hover.hidden{display:none}.monaco-hover a:hover:not(.disabled){cursor:pointer}.monaco-hover .hover-contents:not(.html-hover-contents){padding:4px 8px}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents){max-width:var(--vscode-hover-maxWidth,500px);word-wrap:break-word}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents) hr{min-width:100%}.monaco-hover .code,.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6,.monaco-hover p,.monaco-hover ul{margin:8px 0}.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6{line-height:1.1}.monaco-hover code{font-family:var(--monaco-monospace-font)}.monaco-hover hr{box-sizing:border-box;border-left:0;border-right:0;margin:4px -8px -4px;height:1px}.monaco-hover .code:first-child,.monaco-hover p:first-child,.monaco-hover ul:first-child{margin-top:0}.monaco-hover .code:last-child,.monaco-hover p:last-child,.monaco-hover ul:last-child{margin-bottom:0}.monaco-hover ol,.monaco-hover ul{padding-left:20px}.monaco-hover li>p{margin-bottom:0}.monaco-hover li>ul{margin-top:0}.monaco-hover code{border-radius:3px;padding:0 .4em}.monaco-hover .monaco-tokenized-source{white-space:var(--vscode-hover-sourceWhiteSpace,pre-wrap)}.monaco-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-hover .hover-row.status-bar .info{font-style:italic;padding:0 8px}.monaco-hover .hover-row.status-bar .actions{display:flex;padding:0 8px;width:100%}.monaco-hover .hover-row.status-bar .actions .action-container{margin-right:16px;cursor:pointer}.monaco-hover .hover-row.status-bar .actions .action-container .action .icon{padding-right:4px}.monaco-hover .markdown-hover .hover-contents .codicon{color:inherit;font-size:inherit;vertical-align:middle}.monaco-hover .hover-contents a.code-link,.monaco-hover .hover-contents a.code-link:hover{color:inherit}.monaco-hover .hover-contents a.code-link:before{content:"("}.monaco-hover .hover-contents a.code-link:after{content:")"}.monaco-hover .hover-contents a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under;color:var(--vscode-textLink-foreground)}.monaco-hover .hover-contents a.code-link>span:hover{color:var(--vscode-textLink-activeForeground)}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span{margin-bottom:4px;display:inline-block}.monaco-hover-content .action-container a{-webkit-user-select:none;-moz-user-select:none;user-select:none}.monaco-hover-content .action-container.disabled{pointer-events:none;opacity:.4;cursor:default}.monaco-editor .peekview-widget .head{box-sizing:border-box;display:flex;justify-content:space-between;flex-wrap:nowrap}.monaco-editor .peekview-widget .head .peekview-title{display:flex;align-items:baseline;font-size:13px;margin-left:20px;min-width:0;text-overflow:ellipsis;overflow:hidden}.monaco-editor .peekview-widget .head .peekview-title.clickable{cursor:pointer}.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty){font-size:.9em;margin-left:.5em}.monaco-editor .peekview-widget .head .peekview-title .dirname,.monaco-editor .peekview-widget .head .peekview-title .filename,.monaco-editor .peekview-widget .head .peekview-title .meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty):before{content:"-";padding:0 .3em}.monaco-editor .peekview-widget .head .peekview-actions{flex:1;text-align:right;padding-right:2px}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar{display:inline-block}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar,.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar>.actions-container{height:100%}.monaco-editor .peekview-widget>.body{border-top:1px solid;position:relative}.monaco-editor .peekview-widget .head .peekview-title .codicon{margin-right:4px;align-self:center}.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon{color:inherit!important}.monaco-editor .zone-widget{position:absolute;z-index:10}.monaco-editor .zone-widget .zone-widget-container{border-top-style:solid;border-bottom-style:solid;border-top-width:0;border-bottom-width:0;position:relative}.monaco-split-view2{position:relative;width:100%;height:100%}.monaco-split-view2>.sash-container{position:absolute;width:100%;height:100%;pointer-events:none}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:auto}.monaco-split-view2>.monaco-scrollable-element{width:100%;height:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container{width:100%;height:100%;white-space:nowrap;position:relative}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view{white-space:normal;position:absolute}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view:not(.visible){display:none}.monaco-split-view2.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view{height:100%}.monaco-split-view2.separator-border>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{content:" ";position:absolute;top:0;left:0;z-index:5;pointer-events:none;background-color:var(--separator-border)}.monaco-split-view2.separator-border.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:100%;width:1px}.monaco-split-view2.separator-border.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:1px;width:100%}.monaco-table{display:flex;flex-direction:column;position:relative;height:100%;width:100%;white-space:nowrap;overflow:hidden}.monaco-table>.monaco-split-view2{border-bottom:1px solid transparent}.monaco-table>.monaco-list{flex:1}.monaco-table-tr{display:flex;height:100%}.monaco-table-th{width:100%;height:100%;font-weight:700;overflow:hidden;text-overflow:ellipsis}.monaco-table-td,.monaco-table-th{box-sizing:border-box;flex-shrink:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{content:"";position:absolute;left:calc(var(--vscode-sash-size) / 2);width:0;border-left:1px solid transparent}.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2,.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{transition:border-color .2s ease-out}.monaco-custom-toggle{margin-left:2px;float:left;cursor:pointer;overflow:hidden;width:20px;height:20px;border-radius:3px;border:1px solid transparent;padding:1px;box-sizing:border-box;-moz-user-select:none;user-select:none;-webkit-user-select:none}.monaco-custom-toggle:hover{background-color:var(--vscode-inputOption-hoverBackground)}.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{border:1px dashed var(--vscode-focusBorder)}.hc-black .monaco-custom-toggle,.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle,.hc-light .monaco-custom-toggle:hover{background:none}.monaco-custom-toggle.monaco-checkbox{height:18px;width:18px;border:1px solid transparent;border-radius:3px;margin-right:9px;margin-left:0;padding:0;opacity:1;background-size:16px!important}.monaco-action-bar .checkbox-action-item{display:flex;align-items:center}.monaco-action-bar .checkbox-action-item>.monaco-custom-toggle.monaco-checkbox{margin-right:4px}.monaco-action-bar .checkbox-action-item>.checkbox-label{font-size:12px}.monaco-custom-toggle.monaco-checkbox:not(.checked):before{visibility:hidden}.monaco-inputbox{position:relative;display:block;padding:0;box-sizing:border-box;border-radius:2px;font-size:inherit}.monaco-inputbox>.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px 6px}.monaco-inputbox>.ibwrapper{position:relative;width:100%;height:100%}.monaco-inputbox>.ibwrapper>.input{display:inline-block;box-sizing:border-box;width:100%;height:100%;line-height:inherit;border:none;font-family:inherit;font-size:inherit;resize:none;color:inherit}.monaco-inputbox>.ibwrapper>input{text-overflow:ellipsis}.monaco-inputbox>.ibwrapper>textarea.input{display:block;scrollbar-width:none;outline:none}.monaco-inputbox>.ibwrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.ibwrapper>textarea.input.empty{white-space:nowrap}.monaco-inputbox>.ibwrapper>.mirror{position:absolute;display:inline-block;width:100%;top:0;left:0;box-sizing:border-box;white-space:pre-wrap;visibility:hidden;word-wrap:break-word}.monaco-inputbox-container{text-align:right}.monaco-inputbox-container .monaco-inputbox-message{display:inline-block;overflow:hidden;text-align:left;width:100%;box-sizing:border-box;padding:.4em;font-size:12px;line-height:17px;margin-top:-1px;word-wrap:break-word}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;width:16px;height:16px}.monaco-findInput{position:relative}.monaco-findInput .monaco-inputbox{font-size:13px;width:100%}.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.hc-light .monaco-findInput.highlight-0 .controls,.monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-0 .1s linear 0s}.hc-light .monaco-findInput.highlight-1 .controls,.monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-1 .1s linear 0s}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-dark-0 .1s linear 0s}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-dark-1 .1s linear 0s}@keyframes monaco-findInput-highlight-0{0%{background:rgba(253,255,0,.8)}to{background:transparent}}@keyframes monaco-findInput-highlight-1{0%{background:rgba(253,255,0,.8)}99%{background:transparent}}@keyframes monaco-findInput-highlight-dark-0{0%{background:hsla(0,0%,100%,.44)}to{background:transparent}}@keyframes monaco-findInput-highlight-dark-1{0%{background:hsla(0,0%,100%,.44)}99%{background:transparent}}.monaco-tl-row{display:flex;height:100%;align-items:center;position:relative}.monaco-tl-row.disabled{cursor:default}.monaco-tl-indent{height:100%;position:absolute;top:0;left:16px;pointer-events:none}.hide-arrows .monaco-tl-indent{left:12px}.monaco-tl-indent>.indent-guide{display:inline-block;box-sizing:border-box;height:100%;border-left:1px solid transparent}.monaco-workbench:not(.reduce-motion) .monaco-tl-indent>.indent-guide{transition:border-color .1s linear}.monaco-tl-contents,.monaco-tl-twistie{height:100%}.monaco-tl-twistie{font-size:10px;text-align:right;padding-right:6px;flex-shrink:0;width:16px;display:flex!important;align-items:center;justify-content:center;transform:translateX(3px)}.monaco-tl-contents{flex:1;overflow:hidden}.monaco-tl-twistie:before{border-radius:20px}.monaco-tl-twistie.collapsed:before{transform:rotate(-90deg)}.monaco-tl-twistie.codicon-tree-item-loading:before{animation:codicon-spin 1.25s steps(30) infinite}.monaco-tree-type-filter{position:absolute;top:0;display:flex;padding:3px;max-width:200px;z-index:100;margin:0 6px;border:1px solid var(--vscode-widget-border);border-bottom-left-radius:4px;border-bottom-right-radius:4px}.monaco-workbench:not(.reduce-motion) .monaco-tree-type-filter{transition:top .3s}.monaco-tree-type-filter.disabled{top:-40px!important}.monaco-tree-type-filter-grab{display:flex!important;align-items:center;justify-content:center;cursor:grab;margin-right:2px}.monaco-tree-type-filter-grab.grabbing{cursor:grabbing}.monaco-tree-type-filter-input{flex:1}.monaco-tree-type-filter-input .monaco-inputbox{height:23px}.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.input,.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.mirror{padding:2px 4px}.monaco-tree-type-filter-input .monaco-findInput>.controls{top:2px}.monaco-tree-type-filter-actionbar{margin-left:4px}.monaco-tree-type-filter-actionbar .monaco-action-bar .action-label{padding:2px}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container{position:absolute;top:0;left:0;width:100%;height:0;z-index:13;background-color:var(--vscode-sideBar-background)}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-row.monaco-list-row{position:absolute;width:100%;opacity:1!important;overflow:hidden;background-color:var(--vscode-sideBar-background)}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-row:hover{background-color:var(--vscode-list-hoverBackground)!important;cursor:pointer}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container.empty,.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container.empty .monaco-tree-sticky-container-shadow{display:none}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-container-shadow{position:absolute;bottom:-3px;left:0;height:0;width:100%}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container[tabindex="0"]:focus{outline:none}.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget{border-top-width:1px;border-bottom-width:1px}.monaco-editor .reference-zone-widget .inline{display:inline-block;vertical-align:top}.monaco-editor .reference-zone-widget .messages{height:100%;width:100%;text-align:center;padding:3em 0}.monaco-editor .reference-zone-widget .ref-tree{line-height:23px;background-color:var(--vscode-peekViewResult-background);color:var(--vscode-peekViewResult-lineForeground)}.monaco-editor .reference-zone-widget .ref-tree .reference{text-overflow:ellipsis;overflow:hidden}.monaco-editor .reference-zone-widget .ref-tree .reference-file{display:inline-flex;width:100%;height:100%;color:var(--vscode-peekViewResult-fileForeground)}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file{color:inherit!important}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows>.monaco-list-row.selected:not(.highlighted){background-color:var(--vscode-peekViewResult-selectionBackground);color:var(--vscode-peekViewResult-selectionForeground)!important}.monaco-editor .reference-zone-widget .ref-tree .reference-file .count{margin-right:12px;margin-left:auto}.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight{background-color:var(--vscode-peekViewResult-matchHighlightBackground)}.monaco-editor .reference-zone-widget .preview .reference-decoration{background-color:var(--vscode-peekViewEditor-matchHighlightBackground);border:2px solid var(--vscode-peekViewEditor-matchHighlightBorder);box-sizing:border-box}.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input,.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background{background-color:var(--vscode-peekViewEditor-background)}.monaco-editor .reference-zone-widget .preview .monaco-editor .margin{background-color:var(--vscode-peekViewEditorGutter-background)}.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file,.monaco-editor.hc-light .reference-zone-widget .ref-tree .reference-file{font-weight:700}.monaco-editor.hc-black .reference-zone-widget .ref-tree .referenceMatch .highlight,.monaco-editor.hc-light .reference-zone-widget .ref-tree .referenceMatch .highlight{border:1px dotted var(--vscode-contrastActiveBorder,transparent);box-sizing:border-box}.monaco-count-badge{padding:3px 6px;border-radius:11px;font-size:11px;min-width:18px;min-height:18px;line-height:11px;font-weight:400;text-align:center;display:inline-block;box-sizing:border-box}.monaco-count-badge.long{padding:2px 3px;border-radius:2px;min-height:auto;line-height:normal}.monaco-icon-label{display:flex;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label:before{background-size:16px;background-position:0;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;line-height:inherit!important;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;flex-shrink:0}.monaco-icon-label-iconpath{width:16px;height:16px;padding-left:2px;margin-top:2px;display:flex}.monaco-icon-label-container.disabled{color:var(--vscode-disabledForeground)}.monaco-icon-label>.monaco-icon-label-container{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:1}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name>.label-separator{margin:0 2px;opacity:.5}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-suffix-container>.label-suffix{opacity:.7;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.7;margin-left:.5em;font-size:.9em;white-space:pre}.monaco-icon-label.nowrap>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{white-space:nowrap}.vs .monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.95}.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-description-container>.label-description,.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{font-style:italic}.monaco-icon-label.deprecated{text-decoration:line-through;opacity:.66}.monaco-icon-label.italic:after{font-style:italic}.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-description-container>.label-description,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{text-decoration:line-through}.monaco-icon-label:after{opacity:.75;font-size:90%;font-weight:600;margin:auto 16px 0 5px;text-align:center}.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after{color:inherit!important}.monaco-list-row.focused.selected .label-description,.monaco-list-row.selected .label-description{opacity:.8}.monaco-editor .hoverHighlight{background-color:var(--vscode-editor-hoverHighlightBackground)}.monaco-editor .monaco-hover-content{padding-right:2px;padding-bottom:2px;box-sizing:border-box}.monaco-editor .monaco-hover{color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);border-radius:3px}.monaco-editor .monaco-hover a{color:var(--vscode-textLink-foreground)}.monaco-editor .monaco-hover a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .monaco-hover .hover-row{display:flex}.monaco-editor .monaco-hover .hover-row .hover-row-contents{min-width:0;display:flex;flex-direction:column}.monaco-editor .monaco-hover .hover-row .verbosity-actions{display:flex;flex-direction:column;padding-left:5px;padding-right:5px;justify-content:end;border-right:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .monaco-hover .hover-row .verbosity-actions .codicon{cursor:pointer;font-size:11px}.monaco-editor .monaco-hover .hover-row .verbosity-actions .codicon.enabled{color:var(--vscode-textLink-foreground)}.monaco-editor .monaco-hover .hover-row .verbosity-actions .codicon.disabled{opacity:.6}.monaco-editor .monaco-hover .hover-row .actions{background-color:var(--vscode-editorHoverWidget-statusBarBackground)}.monaco-editor .monaco-hover code{background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .diff-hidden-lines-widget{width:100%}.monaco-editor .diff-hidden-lines{height:0;transform:translateY(-10px);font-size:13px;line-height:14px}.monaco-editor .diff-hidden-lines .bottom.dragging,.monaco-editor .diff-hidden-lines .top.dragging,.monaco-editor .diff-hidden-lines:not(.dragging) .bottom:hover,.monaco-editor .diff-hidden-lines:not(.dragging) .top:hover{background-color:var(--vscode-focusBorder)}.monaco-editor .diff-hidden-lines .bottom,.monaco-editor .diff-hidden-lines .top{transition:background-color .1s ease-out;height:4px;background-color:transparent;background-clip:padding-box;border-bottom:2px solid transparent;border-top:4px solid transparent}.monaco-editor .diff-hidden-lines .bottom.canMoveTop:not(.canMoveBottom),.monaco-editor .diff-hidden-lines .top.canMoveTop:not(.canMoveBottom),.monaco-editor.draggingUnchangedRegion.canMoveTop:not(.canMoveBottom) *{cursor:n-resize!important}.monaco-editor .diff-hidden-lines .bottom:not(.canMoveTop).canMoveBottom,.monaco-editor .diff-hidden-lines .top:not(.canMoveTop).canMoveBottom,.monaco-editor.draggingUnchangedRegion:not(.canMoveTop).canMoveBottom *{cursor:s-resize!important}.monaco-editor .diff-hidden-lines .bottom.canMoveTop.canMoveBottom,.monaco-editor .diff-hidden-lines .top.canMoveTop.canMoveBottom,.monaco-editor.draggingUnchangedRegion.canMoveTop.canMoveBottom *{cursor:ns-resize!important}.monaco-editor .diff-hidden-lines .top{transform:translateY(4px)}.monaco-editor .diff-hidden-lines .bottom{transform:translateY(-6px)}.monaco-editor .diff-unchanged-lines{background:var(--vscode-diffEditor-unchangedCodeBackground)}.monaco-editor .noModificationsOverlay{z-index:1;background:var(--vscode-editor-background);display:flex;justify-content:center;align-items:center}.monaco-editor .diff-hidden-lines .center{background:var(--vscode-diffEditor-unchangedRegionBackground);color:var(--vscode-diffEditor-unchangedRegionForeground);overflow:hidden;display:block;text-overflow:ellipsis;white-space:nowrap;height:24px;box-shadow:inset 0 -5px 5px -7px var(--vscode-diffEditor-unchangedRegionShadow),inset 0 5px 5px -7px var(--vscode-diffEditor-unchangedRegionShadow)}.monaco-editor .diff-hidden-lines .center span.codicon{vertical-align:middle}.monaco-editor .diff-hidden-lines .center a:hover .codicon{cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .diff-hidden-lines div.breadcrumb-item{cursor:pointer}.monaco-editor .diff-hidden-lines div.breadcrumb-item:hover{color:var(--vscode-editorLink-activeForeground)}.monaco-editor .movedModified,.monaco-editor .movedOriginal{border:2px solid var(--vscode-diffEditor-move-border)}.monaco-editor .movedModified.currentMove,.monaco-editor .movedOriginal.currentMove{border:2px solid var(--vscode-diffEditor-moveActive-border)}.monaco-diff-editor .moved-blocks-lines path.currentMove{stroke:var(--vscode-diffEditor-moveActive-border)}.monaco-diff-editor .moved-blocks-lines path{pointer-events:visiblestroke}.monaco-diff-editor .moved-blocks-lines .arrow{fill:var(--vscode-diffEditor-move-border)}.monaco-diff-editor .moved-blocks-lines .arrow.currentMove{fill:var(--vscode-diffEditor-moveActive-border)}.monaco-diff-editor .moved-blocks-lines .arrow-rectangle{fill:var(--vscode-editor-background)}.monaco-diff-editor .moved-blocks-lines{position:absolute;pointer-events:none}.monaco-diff-editor .moved-blocks-lines path{fill:none;stroke:var(--vscode-diffEditor-move-border);stroke-width:2}.monaco-editor .char-delete.diff-range-empty{margin-left:-1px;border-left:3px solid var(--vscode-diffEditor-removedTextBackground)}.monaco-editor .char-insert.diff-range-empty{border-left:3px solid var(--vscode-diffEditor-insertedTextBackground)}.monaco-editor .fold-unchanged{cursor:pointer}.monaco-diff-editor .diff-moved-code-block{display:flex;justify-content:flex-end;margin-top:-4px}.monaco-diff-editor .diff-moved-code-block .action-bar .action-label.codicon{width:12px;height:12px;font-size:12px}.monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport{z-index:10}.monaco-diff-editor.vs .diffOverview{background:rgba(0,0,0,.03)}.monaco-diff-editor.vs-dark .diffOverview{background:hsla(0,0%,100%,.01)}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar{background:transparent}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-light .scrollbar{background:none}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:hsla(0,0%,67%,.4)}.modified-in-monaco-diff-editor.hc-black .slider.active,.modified-in-monaco-diff-editor.hc-light .slider.active{background:none}.monaco-diff-editor .delete-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-editor .insert-sign{font-size:11px!important;opacity:.7!important;display:flex!important;align-items:center}.monaco-diff-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-diff-editor.hc-light .delete-sign,.monaco-diff-editor.hc-light .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-editor.hc-black .insert-sign,.monaco-editor.hc-light .delete-sign,.monaco-editor.hc-light .insert-sign{opacity:1}.monaco-editor .inline-added-margin-view-zone,.monaco-editor .inline-deleted-margin-view-zone{text-align:right}.monaco-editor .arrow-revert-change{z-index:10;position:absolute}.monaco-editor .arrow-revert-change:hover{cursor:pointer}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}.monaco-editor .margin-view-zones .lightbulb-glyph:hover{cursor:pointer}.monaco-diff-editor .char-insert,.monaco-editor .char-insert{background-color:var(--vscode-diffEditor-insertedTextBackground)}.monaco-diff-editor .line-insert,.monaco-editor .line-insert{background-color:var(--vscode-diffEditor-insertedLineBackground,var(--vscode-diffEditor-insertedTextBackground))}.monaco-editor .char-insert,.monaco-editor .line-insert{box-sizing:border-box;border:1px solid var(--vscode-diffEditor-insertedTextBorder)}.monaco-editor.hc-black .char-insert,.monaco-editor.hc-black .line-insert,.monaco-editor.hc-light .char-insert,.monaco-editor.hc-light .line-insert{border-style:dashed}.monaco-editor .char-delete,.monaco-editor .line-delete{box-sizing:border-box;border:1px solid var(--vscode-diffEditor-removedTextBorder)}.monaco-editor.hc-black .char-delete,.monaco-editor.hc-black .line-delete,.monaco-editor.hc-light .char-delete,.monaco-editor.hc-light .line-delete{border-style:dashed}.monaco-diff-editor .gutter-insert,.monaco-editor .gutter-insert,.monaco-editor .inline-added-margin-view-zone{background-color:var(--vscode-diffEditorGutter-insertedLineBackground,var(--vscode-diffEditor-insertedLineBackground),var(--vscode-diffEditor-insertedTextBackground))}.monaco-diff-editor .char-delete,.monaco-editor .char-delete{background-color:var(--vscode-diffEditor-removedTextBackground)}.monaco-diff-editor .line-delete,.monaco-editor .line-delete{background-color:var(--vscode-diffEditor-removedLineBackground,var(--vscode-diffEditor-removedTextBackground))}.monaco-diff-editor .gutter-delete,.monaco-editor .gutter-delete,.monaco-editor .inline-deleted-margin-view-zone{background-color:var(--vscode-diffEditorGutter-removedLineBackground,var(--vscode-diffEditor-removedLineBackground),var(--vscode-diffEditor-removedTextBackground))}.monaco-diff-editor.side-by-side .editor.modified{box-shadow:-6px 0 5px -5px var(--vscode-scrollbar-shadow);border-left:1px solid var(--vscode-diffEditor-border)}.monaco-diff-editor.side-by-side .editor.original{box-shadow:6px 0 5px -5px var(--vscode-scrollbar-shadow);border-right:1px solid var(--vscode-diffEditor-border)}.monaco-diff-editor .diffViewport{background:var(--vscode-scrollbarSlider-background)}.monaco-diff-editor .diffViewport:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-diff-editor .diffViewport:active{background:var(--vscode-scrollbarSlider-activeBackground)}.monaco-editor .diagonal-fill{background-image:linear-gradient(-45deg,var(--vscode-diffEditor-diagonalFill) 12.5%,#0000 12.5%,#0000 50%,var(--vscode-diffEditor-diagonalFill) 50%,var(--vscode-diffEditor-diagonalFill) 62.5%,#0000 62.5%,#0000 100%);background-size:8px 8px}.monaco-diff-editor .gutter{position:relative;overflow:hidden;flex-shrink:0;flex-grow:0;&>div{position:absolute}.gutterItem{opacity:0;transition:opacity .7s;&.showAlways{opacity:1}&.noTransition,&.showAlways{transition:none}}&:hover .gutterItem{opacity:1;transition:opacity .1s ease-in-out}.gutterItem{.background{position:absolute;height:100%;left:50%;width:1px;border-left:2px solid var(--vscode-menu-border)}.buttons{position:absolute;width:100%;display:flex;justify-content:center;align-items:center;.monaco-toolbar{height:-moz-fit-content;height:fit-content;.monaco-action-bar{line-height:1;.actions-container{width:-moz-fit-content;width:fit-content;border-radius:4px;background:var(--vscode-editorGutter-commentRangeForeground);.action-item{&:hover{background:var(--vscode-toolbar-hoverBackground)}.action-label{padding:1px 2px}}}}}}}}.monaco-component.diff-review{-moz-user-select:none;user-select:none;-webkit-user-select:none;z-index:99}.monaco-diff-editor .diff-review{position:absolute}.monaco-component.diff-review .diff-review-line-number{text-align:right;display:inline-block;color:var(--vscode-editorLineNumber-foreground)}.monaco-component.diff-review .diff-review-summary{padding-left:10px}.monaco-component.diff-review .diff-review-shadow{position:absolute;box-shadow:var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset}.monaco-component.diff-review .diff-review-row{white-space:pre}.monaco-component.diff-review .diff-review-table{display:table;min-width:100%}.monaco-component.diff-review .diff-review-row{display:table-row;width:100%}.monaco-component.diff-review .diff-review-spacer{display:inline-block;width:10px;vertical-align:middle}.monaco-component.diff-review .diff-review-spacer>.codicon{font-size:9px!important}.monaco-component.diff-review .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px;z-index:100}.monaco-component.diff-review .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}.monaco-component.diff-review .revertButton{cursor:pointer}.monaco-editor.hc-light .dnd-target,.monaco-editor.vs .dnd-target{border-right:2px dotted #000;color:#fff}.monaco-editor.vs-dark .dnd-target{border-right:2px dotted #aeafad;color:#51504f}.monaco-editor.hc-black .dnd-target{border-right:2px dotted #fff;color:#000}.monaco-editor.hc-black.mac.mouse-default .view-lines,.monaco-editor.hc-light.mac.mouse-default .view-lines,.monaco-editor.mouse-default .view-lines,.monaco-editor.vs-dark.mac.mouse-default .view-lines{cursor:default}.monaco-editor.hc-black.mac.mouse-copy .view-lines,.monaco-editor.hc-light.mac.mouse-copy .view-lines,.monaco-editor.mouse-copy .view-lines,.monaco-editor.vs-dark.mac.mouse-copy .view-lines{cursor:copy}.monaco-editor .findOptionsWidget{border:2px solid var(--vscode-contrastBorder)}.monaco-editor .find-widget,.monaco-editor .findOptionsWidget{background-color:var(--vscode-editorWidget-background);color:var(--vscode-editorWidget-foreground);box-shadow:0 0 8px 2px var(--vscode-widget-shadow)}.monaco-editor .find-widget{position:absolute;z-index:35;height:33px;overflow:hidden;line-height:19px;transition:transform .2s linear;padding:0 4px;box-sizing:border-box;transform:translateY(calc(-100% - 10px));border-left:1px solid var(--vscode-widget-border);border-right:1px solid var(--vscode-widget-border);border-bottom:1px solid var(--vscode-widget-border);border-bottom-left-radius:4px;border-bottom-right-radius:4px}.monaco-workbench.reduce-motion .monaco-editor .find-widget{transition:transform 0ms linear}.monaco-editor .find-widget textarea{margin:0}.monaco-editor .find-widget.hiddenEditor{display:none}.monaco-editor .find-widget.replaceToggled>.replace-part{display:flex}.monaco-editor .find-widget.visible{transform:translateY(0)}.monaco-editor .find-widget .monaco-inputbox.synthetic-focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px;outline-color:var(--vscode-focusBorder)}.monaco-editor .find-widget .monaco-inputbox .input{background-color:transparent;min-height:0}.monaco-editor .find-widget .monaco-findInput .input{font-size:13px}.monaco-editor .find-widget>.find-part,.monaco-editor .find-widget>.replace-part{margin:3px 25px 0 17px;font-size:12px;display:flex}.monaco-editor .find-widget>.find-part .monaco-inputbox,.monaco-editor .find-widget>.replace-part .monaco-inputbox{min-height:25px}.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-right:22px}.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.mirror,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-top:2px;padding-bottom:2px}.monaco-editor .find-widget>.find-part .find-actions,.monaco-editor .find-widget>.replace-part .replace-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget .monaco-findInput{vertical-align:middle;display:flex;flex:1}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element{width:100%}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical{opacity:0}.monaco-editor .find-widget .matchesCount{display:flex;flex:initial;margin:0 0 0 3px;padding:2px 0 0 2px;height:25px;vertical-align:middle;box-sizing:border-box;text-align:center;line-height:23px}.monaco-editor .find-widget .button{width:16px;height:16px;padding:3px;border-radius:5px;flex:initial;margin-left:3px;background-position:50%;background-repeat:no-repeat;cursor:pointer;display:flex;align-items:center;justify-content:center}.monaco-editor .find-widget .codicon-find-selection{width:22px;height:22px;padding:3px;border-radius:5px}.monaco-editor .find-widget .button.left{margin-left:0;margin-right:3px}.monaco-editor .find-widget .button.wide{width:auto;padding:1px 6px;top:-1px}.monaco-editor .find-widget .button.toggle{position:absolute;top:0;left:3px;width:18px;height:100%;border-radius:0;box-sizing:border-box}.monaco-editor .find-widget .button.toggle.disabled{display:none}.monaco-editor .find-widget .disabled{color:var(--vscode-disabledForeground);cursor:default}.monaco-editor .find-widget>.replace-part{display:none}.monaco-editor .find-widget>.replace-part>.monaco-findInput{position:relative;display:flex;vertical-align:middle;flex:auto;flex-grow:0;flex-shrink:0}.monaco-editor .find-widget>.replace-part>.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.monaco-editor .find-widget.reduced-find-widget .matchesCount{display:none}.monaco-editor .find-widget.narrow-find-widget{max-width:257px!important}.monaco-editor .find-widget.collapsed-find-widget{max-width:170px!important}.monaco-editor .find-widget.collapsed-find-widget .button.next,.monaco-editor .find-widget.collapsed-find-widget .button.previous,.monaco-editor .find-widget.collapsed-find-widget .button.replace,.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,.monaco-editor .find-widget.collapsed-find-widget>.find-part .monaco-findInput .controls{display:none}.monaco-editor .find-widget.no-results .matchesCount{color:var(--vscode-errorForeground)}.monaco-editor .findMatch{animation-duration:0;animation-name:inherit!important;background-color:var(--vscode-editor-findMatchHighlightBackground)}.monaco-editor .currentFindMatch{background-color:var(--vscode-editor-findMatchBackground);border:2px solid var(--vscode-editor-findMatchBorder);padding:1px;box-sizing:border-box}.monaco-editor .findScope{background-color:var(--vscode-editor-findRangeHighlightBackground)}.monaco-editor .find-widget .monaco-sash{left:0!important;background-color:var(--vscode-editorWidget-resizeBorder,var(--vscode-editorWidget-border))}.monaco-editor.hc-black .find-widget .button:before{position:relative;top:1px;left:2px}.monaco-editor .find-widget .button:not(.disabled):hover,.monaco-editor .find-widget .codicon-find-selection:hover{background-color:var(--vscode-toolbar-hoverBackground)!important}.monaco-editor.findMatch{background-color:var(--vscode-editor-findMatchHighlightBackground)}.monaco-editor.currentFindMatch{background-color:var(--vscode-editor-findMatchBackground)}.monaco-editor.findScope{background-color:var(--vscode-editor-findRangeHighlightBackground)}.monaco-editor.findMatch{background-color:var(--vscode-editorWidget-background)}.monaco-editor .find-widget>.button.codicon-widget-close{position:absolute;top:5px;right:4px}.monaco-editor .margin-view-overlays .codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays .codicon-folding-manual-expanded{cursor:pointer;opacity:0;transition:opacity .5s;display:flex;align-items:center;justify-content:center;font-size:140%;margin-left:2px}.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-collapsed,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-expanded{transition:initial}.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons,.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon.codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays:hover .codicon{opacity:1}.monaco-editor .inline-folded:after{color:grey;margin:.1em .2em 0;content:"\22EF";display:inline;line-height:1em;cursor:pointer}.monaco-editor .folded-background{background-color:var(--vscode-editor-foldBackground)}.monaco-editor .cldr.codicon.codicon-folding-collapsed,.monaco-editor .cldr.codicon.codicon-folding-expanded,.monaco-editor .cldr.codicon.codicon-folding-manual-collapsed,.monaco-editor .cldr.codicon.codicon-folding-manual-expanded{color:var(--vscode-editorGutter-foldingControlForeground)!important}.monaco-editor .peekview-widget .head .peekview-title .severity-icon{display:inline-block;vertical-align:text-top;margin-right:4px}.monaco-editor .marker-widget{text-overflow:ellipsis;white-space:nowrap}.monaco-editor .marker-widget>.stale{opacity:.6;font-style:italic}.monaco-editor .marker-widget .title{display:inline-block;padding-right:5px}.monaco-editor .marker-widget .descriptioncontainer{position:absolute;white-space:pre;-moz-user-select:text;user-select:text;-webkit-user-select:text;padding:8px 12px 0 20px}.monaco-editor .marker-widget .descriptioncontainer .message{display:flex;flex-direction:column}.monaco-editor .marker-widget .descriptioncontainer .message .details{padding-left:6px}.monaco-editor .marker-widget .descriptioncontainer .message .source,.monaco-editor .marker-widget .descriptioncontainer .message span.code{opacity:.6}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link{opacity:.6;color:inherit}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before{content:"("}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after{content:")"}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under;color:var(--vscode-textLink-activeForeground)}.monaco-editor .marker-widget .descriptioncontainer .filename{cursor:pointer;color:var(--vscode-textLink-activeForeground)}.extension-editor .codicon.codicon-error,.extensions-viewlet>.extensions .codicon.codicon-error,.markers-panel .marker-icon .codicon.codicon-error,.markers-panel .marker-icon.error,.monaco-editor .zone-widget .codicon.codicon-error,.preferences-editor .codicon.codicon-error,.text-search-provider-messages .providerMessage .codicon.codicon-error{color:var(--vscode-problemsErrorIcon-foreground)}.extension-editor .codicon.codicon-warning,.extensions-viewlet>.extensions .codicon.codicon-warning,.markers-panel .marker-icon .codicon.codicon-warning,.markers-panel .marker-icon.warning,.monaco-editor .zone-widget .codicon.codicon-warning,.preferences-editor .codicon.codicon-warning,.text-search-provider-messages .providerMessage .codicon.codicon-warning{color:var(--vscode-problemsWarningIcon-foreground)}.extension-editor .codicon.codicon-info,.extensions-viewlet>.extensions .codicon.codicon-info,.markers-panel .marker-icon .codicon.codicon-info,.markers-panel .marker-icon.info,.monaco-editor .zone-widget .codicon.codicon-info,.preferences-editor .codicon.codicon-info,.text-search-provider-messages .providerMessage .codicon.codicon-info{color:var(--vscode-problemsInfoIcon-foreground)}.monaco-editor .goto-definition-link{text-decoration:underline;cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .iPadShowKeyboard{width:58px;min-width:0;height:36px;min-height:0;margin:0;padding:0;position:absolute;resize:none;overflow:hidden;background:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjNDI0MjQyIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==") 50% no-repeat;border:4px solid #f6f6f6;border-radius:4px}.monaco-editor.vs-dark .iPadShowKeyboard{background:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjQzVDNUM1Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==") 50% no-repeat;border:4px solid #252526}.monaco-editor.vs .valueSetReplacement{outline:solid 2px var(--vscode-editorBracketMatch-border)}.monaco-editor .suggest-preview-additional-widget{white-space:nowrap}.monaco-editor .suggest-preview-additional-widget .content-spacer{color:transparent;white-space:pre}.monaco-editor .suggest-preview-additional-widget .button{display:inline-block;cursor:pointer;text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-hidden{opacity:0;font-size:0}.monaco-editor .ghost-text-decoration,.monaco-editor .suggest-preview-text .ghost-text{font-style:italic}.monaco-editor .ghost-text-decoration,.monaco-editor .ghost-text-decoration-preview,.monaco-editor .suggest-preview-text .ghost-text{color:var(--vscode-editorGhostText-foreground)!important;background-color:var(--vscode-editorGhostText-background);border:1px solid var(--vscode-editorGhostText-border)}.monaco-editor .snippet-placeholder{min-width:2px;outline-style:solid;outline-width:1px;background-color:var(--vscode-editor-snippetTabstopHighlightBackground,transparent);outline-color:var(--vscode-editor-snippetTabstopHighlightBorder,transparent)}.monaco-editor .finish-snippet-placeholder{outline-style:solid;outline-width:1px;background-color:var(--vscode-editor-snippetFinalTabstopHighlightBackground,transparent);outline-color:var(--vscode-editor-snippetFinalTabstopHighlightBorder,transparent)}.monaco-editor .suggest-widget{width:430px;z-index:40;display:flex;flex-direction:column;border-radius:3px}.monaco-editor .suggest-widget.message{flex-direction:row;align-items:center}.monaco-editor .suggest-details,.monaco-editor .suggest-widget{flex:0 1 auto;width:100%;border-style:solid;border-width:1px;border-color:var(--vscode-editorSuggestWidget-border);background-color:var(--vscode-editorSuggestWidget-background)}.monaco-editor.hc-black .suggest-details,.monaco-editor.hc-black .suggest-widget,.monaco-editor.hc-light .suggest-details,.monaco-editor.hc-light .suggest-widget{border-width:2px}.monaco-editor .suggest-widget .suggest-status-bar{box-sizing:border-box;display:none;flex-flow:row nowrap;justify-content:space-between;width:100%;font-size:80%;padding:0 4px;border-top:1px solid var(--vscode-editorSuggestWidget-border);overflow:hidden}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar{display:flex}.monaco-editor .suggest-widget .suggest-status-bar .left{padding-right:8px}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label{color:var(--vscode-editorSuggestWidgetStatus-foreground)}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label{margin-right:0}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label:after{content:", ";margin-right:.3em}.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label{width:100%}.monaco-editor .suggest-widget>.message{padding-left:22px}.monaco-editor .suggest-widget>.tree{height:100%;width:100%}.monaco-editor .suggest-widget .monaco-list{-moz-user-select:none;user-select:none;-webkit-user-select:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row{display:flex;-mox-box-sizing:border-box;box-sizing:border-box;padding-right:10px;background-repeat:no-repeat;background-position:2px 2px;white-space:nowrap;cursor:pointer;touch-action:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused{color:var(--vscode-editorSuggestWidget-selectedForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .codicon{color:var(--vscode-editorSuggestWidget-selectedIconForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents{flex:1;height:100%;overflow:hidden;padding-left:2px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main{display:flex;overflow:hidden;text-overflow:ellipsis;white-space:pre;justify-content:space-between}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{display:flex}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.focused)>.contents>.main .monaco-icon-label{color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight{font-weight:700}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-highlightForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-focusHighlightForeground)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:before{color:inherit;opacity:1;font-size:14px;cursor:pointer}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close{position:absolute;top:6px;right:2px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover{opacity:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{opacity:.7}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label{overflow:hidden;text-overflow:ellipsis;opacity:.6}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label{margin-left:12px;opacity:.4;font-size:85%;line-height:normal;text-overflow:ellipsis;overflow:hidden;align-self:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{font-size:85%;margin-left:1.1em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right.can-expand-details>.details-label{width:calc(100% - 26px)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left{flex-shrink:1;flex-grow:1;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label{flex-shrink:0}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label{max-width:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label{flex-shrink:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{overflow:hidden;flex-shrink:4;max-width:70%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:inline-block;position:absolute;right:10px;width:18px;height:18px;visibility:hidden}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none!important}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:inline-block}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right>.readMore{visibility:visible}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated{opacity:.66;text-decoration:unset}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container{text-decoration:line-through}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label:before{height:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon{display:block;height:16px;width:16px;margin-left:2px;background-repeat:no-repeat;background-size:80%;background-position:50%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon{display:flex;align-items:center;margin-right:4px}.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon:before{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan{margin:0 0 0 .3em;border:.1em solid #000;width:.7em;height:.7em;display:inline-block}.monaco-editor .suggest-details-container{z-index:41}.monaco-editor .suggest-details{display:flex;flex-direction:column;cursor:default;color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .suggest-details.focused{border-color:var(--vscode-focusBorder)}.monaco-editor .suggest-details a{color:var(--vscode-textLink-foreground)}.monaco-editor .suggest-details a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .suggest-details code{background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .suggest-details.no-docs{display:none}.monaco-editor .suggest-details>.monaco-scrollable-element{flex:1}.monaco-editor .suggest-details>.monaco-scrollable-element>.body{box-sizing:border-box;height:100%;width:100%}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type{flex:2;overflow:hidden;text-overflow:ellipsis;opacity:.7;white-space:pre;margin:0 24px 0 0;padding:4px 0 12px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap{white-space:normal;word-break:break-all}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs{margin:0;padding:4px 5px;white-space:pre-wrap}.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs{margin-right:24px;overflow:hidden}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs{padding:0;white-space:normal;min-height:calc(1rem + 8px)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty){padding:4px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child{margin-top:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child{margin-bottom:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .monaco-tokenized-source{white-space:pre}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code{white-space:pre-wrap;word-wrap:break-word}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon{vertical-align:sub}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty{display:none}.monaco-editor .suggest-details code{border-radius:3px;padding:0 .4em}.monaco-editor .suggest-details ol,.monaco-editor .suggest-details ul{padding-left:20px}.monaco-editor .suggest-details p code{font-family:var(--monaco-monospace-font)}.monaco-editor .inline-edit-remove{background-color:var(--vscode-editorGhostText-background);font-style:italic;text-decoration:line-through}.monaco-editor .inline-edit-remove.backgroundColoring{background-color:var(--vscode-diffEditor-removedLineBackground)}.monaco-editor .inline-edit-hidden{opacity:0;font-size:0}.monaco-editor .inline-edit-decoration,.monaco-editor .suggest-preview-text .inline-edit{font-style:italic}.monaco-editor .inline-completion-text-to-replace{text-decoration:underline;text-underline-position:under}.monaco-editor .inline-edit-decoration,.monaco-editor .inline-edit-decoration-preview,.monaco-editor .suggest-preview-text .inline-edit{color:var(--vscode-editorGhostText-foreground)!important;background-color:var(--vscode-editorGhostText-background);border:1px solid var(--vscode-editorGhostText-border)}.monaco-editor .inlineEditHints.withBorder{z-index:39;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .inlineEditHints a,.monaco-editor .inlineEditHints a:hover{color:var(--vscode-foreground)}.monaco-editor .inlineEditHints .keybinding{display:flex;margin-left:4px;opacity:.6}.monaco-editor .inlineEditHints .keybinding .monaco-keybinding-key{font-size:8px;padding:2px 3px}.monaco-editor .inlineEditStatusBarItemLabel{margin-right:2px}.monaco-editor .tokens-inspect-widget{z-index:50;-moz-user-select:text;user-select:text;-webkit-user-select:text;padding:10px;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor.hc-black .tokens-inspect-widget,.monaco-editor.hc-light .tokens-inspect-widget{border-width:2px}.monaco-editor .tokens-inspect-widget .tokens-inspect-separator{height:1px;border:0;background-color:var(--vscode-editorHoverWidget-border)}.monaco-editor .tokens-inspect-widget .tm-token{font-family:var(--monaco-monospace-font)}.monaco-editor .tokens-inspect-widget .tm-token-length{font-weight:400;font-size:60%;float:right}.monaco-editor .tokens-inspect-widget .tm-metadata-table{width:100%}.monaco-editor .tokens-inspect-widget .tm-metadata-value{font-family:var(--monaco-monospace-font);text-align:right}.monaco-editor .tokens-inspect-widget .tm-token-type{font-family:var(--monaco-monospace-font)}.monaco-editor .linked-editing-decoration{background-color:var(--vscode-editor-linkedEditingBackground);min-width:1px}.monaco-editor .detected-link,.monaco-editor .detected-link-active{text-decoration:underline;text-underline-position:under}.monaco-editor .detected-link-active{cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .focused .selectionHighlight{background-color:var(--vscode-editor-selectionHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-selectionHighlightBorder)}.monaco-editor.hc-black .focused .selectionHighlight,.monaco-editor.hc-light .focused .selectionHighlight{border-style:dotted}.monaco-editor .wordHighlight{background-color:var(--vscode-editor-wordHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightBorder)}.monaco-editor.hc-black .wordHighlight,.monaco-editor.hc-light .wordHighlight{border-style:dotted}.monaco-editor .wordHighlightStrong{background-color:var(--vscode-editor-wordHighlightStrongBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightStrongBorder)}.monaco-editor.hc-black .wordHighlightStrong,.monaco-editor.hc-light .wordHighlightStrong{border-style:dotted}.monaco-editor .wordHighlightText{background-color:var(--vscode-editor-wordHighlightTextBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightTextBorder)}.monaco-editor.hc-black .wordHighlightText,.monaco-editor.hc-light .wordHighlightText{border-style:dotted}.monaco-editor .parameter-hints-widget{z-index:39;display:flex;flex-direction:column;line-height:1.5em;cursor:default;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.hc-black .monaco-editor .parameter-hints-widget,.hc-light .monaco-editor .parameter-hints-widget{border-width:2px}.monaco-editor .parameter-hints-widget>.phwrapper{max-width:440px;display:flex;flex-direction:row}.monaco-editor .parameter-hints-widget.multiple{min-height:3.3em;padding:0}.monaco-editor .parameter-hints-widget.multiple .body:before{content:"";display:block;height:100%;position:absolute;opacity:.5;border-left:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .parameter-hints-widget p,.monaco-editor .parameter-hints-widget ul{margin:8px 0}.monaco-editor .parameter-hints-widget .body,.monaco-editor .parameter-hints-widget .monaco-scrollable-element{display:flex;flex:1;flex-direction:column;min-height:100%}.monaco-editor .parameter-hints-widget .signature{padding:4px 5px;position:relative}.monaco-editor .parameter-hints-widget .signature.has-docs:after{content:"";display:block;position:absolute;left:0;width:100%;padding-top:4px;opacity:.5;border-bottom:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .parameter-hints-widget .docs{padding:0 10px 0 5px;white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs.empty{display:none}.monaco-editor .parameter-hints-widget .docs a{color:var(--vscode-textLink-foreground)}.monaco-editor .parameter-hints-widget .docs a:hover{color:var(--vscode-textLink-activeForeground);cursor:pointer}.monaco-editor .parameter-hints-widget .docs .markdown-docs{white-space:normal}.monaco-editor .parameter-hints-widget .docs code{font-family:var(--monaco-monospace-font);border-radius:3px;padding:0 .4em;background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .parameter-hints-widget .docs .code,.monaco-editor .parameter-hints-widget .docs .monaco-tokenized-source{white-space:pre-wrap}.monaco-editor .parameter-hints-widget .controls{display:none;flex-direction:column;align-items:center;min-width:22px;justify-content:flex-end}.monaco-editor .parameter-hints-widget.multiple .controls{display:flex;padding:0 2px}.monaco-editor .parameter-hints-widget.multiple .button{width:16px;height:16px;background-repeat:no-repeat;cursor:pointer}.monaco-editor .parameter-hints-widget .button.previous{bottom:24px}.monaco-editor .parameter-hints-widget .overloads{text-align:center;height:12px;line-height:12px;font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .signature .parameter.active{color:var(--vscode-editorHoverWidget-highlightForeground);font-weight:700}.monaco-editor .parameter-hints-widget .documentation-parameter>.parameter{font-weight:700;margin-right:.5em}.monaco-editor .rename-box{z-index:100;color:inherit;border-radius:4px}.monaco-editor .rename-box.preview{padding:4px 4px 0}.monaco-editor .rename-box .rename-input-with-button{padding:3px;border-radius:2px;width:calc(100% - 8px)}.monaco-editor .rename-box .rename-input{width:calc(100% - 8px);padding:0}.monaco-editor .rename-box .rename-input:focus{outline:none}.monaco-editor .rename-box .rename-suggestions-button{display:flex;align-items:center;padding:3px;background-color:transparent;border:none;border-radius:5px;cursor:pointer}.monaco-editor .rename-box .rename-suggestions-button:hover{background-color:var(--vscode-toolbar-hoverBackground)}.monaco-editor .rename-box .rename-candidate-list-container .monaco-list-row{border-radius:2px}.monaco-editor .rename-box .rename-label{display:none;opacity:.8}.monaco-editor .rename-box.preview .rename-label{display:inherit}.monaco-editor .sticky-widget{overflow:hidden}.monaco-editor .sticky-widget-line-numbers{float:left;background-color:inherit}.monaco-editor .sticky-widget-lines-scrollable{display:inline-block;position:absolute;overflow:hidden;width:var(--vscode-editorStickyScroll-scrollableWidth);background-color:inherit}.monaco-editor .sticky-widget-lines{position:absolute;background-color:inherit}.monaco-editor .sticky-line-content,.monaco-editor .sticky-line-number{color:var(--vscode-editorLineNumber-foreground);white-space:nowrap;display:inline-block;position:absolute;background-color:inherit}.monaco-editor .sticky-line-number .codicon-folding-collapsed,.monaco-editor .sticky-line-number .codicon-folding-expanded{float:right;transition:var(--vscode-editorStickyScroll-foldingOpacityTransition)}.monaco-editor .sticky-line-content{width:var(--vscode-editorStickyScroll-scrollableWidth);background-color:inherit;white-space:nowrap}.monaco-editor .sticky-line-number-inner{display:inline-block;text-align:right}.monaco-editor .sticky-widget{border-bottom:1px solid var(--vscode-editorStickyScroll-border)}.monaco-editor .sticky-line-content:hover{background-color:var(--vscode-editorStickyScrollHover-background);cursor:pointer}.monaco-editor .sticky-widget{width:100%;box-shadow:var(--vscode-editorStickyScroll-shadow) 0 3px 2px -2px;z-index:4;background-color:var(--vscode-editorStickyScroll-background);right:auto!important}.monaco-editor .sticky-widget.peek{background-color:var(--vscode-peekViewEditorStickyScroll-background)}.monaco-editor .unicode-highlight{border:1px solid var(--vscode-editorUnicodeHighlight-border);background-color:var(--vscode-editorUnicodeHighlight-background);box-sizing:border-box}.editor-banner{box-sizing:border-box;cursor:default;width:100%;font-size:12px;display:flex;overflow:visible;height:26px;background:var(--vscode-banner-background)}.editor-banner .icon-container{display:flex;flex-shrink:0;align-items:center;padding:0 6px 0 10px}.editor-banner .icon-container.custom-icon{background-repeat:no-repeat;background-position:50%;background-size:16px;width:16px;padding:0;margin:0 6px 0 10px}.editor-banner .message-container{display:flex;align-items:center;line-height:26px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-banner .message-container p{margin-block-start:0;margin-block-end:0}.editor-banner .message-actions-container{flex-grow:1;flex-shrink:0;line-height:26px;margin:0 4px}.editor-banner .message-actions-container a.monaco-button{width:inherit;margin:2px 8px;padding:0 12px}.editor-banner .message-actions-container a{padding:3px;margin-left:12px;text-decoration:underline}.editor-banner .action-container{padding:0 10px 0 6px}.editor-banner{background-color:var(--vscode-banner-background)}.editor-banner,.editor-banner .action-container .codicon,.editor-banner .message-actions-container .monaco-link{color:var(--vscode-banner-foreground)}.editor-banner .icon-container .codicon{color:var(--vscode-banner-iconForeground)}.monaco-link{color:var(--vscode-textLink-foreground)}.monaco-link:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor{font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,system-ui,Ubuntu,Droid Sans,sans-serif;--monaco-monospace-font:"SF Mono",Monaco,Menlo,Consolas,"Ubuntu Mono","Liberation Mono","DejaVu Sans Mono","Courier New",monospace}.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-light .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-hover p{margin:0}.monaco-aria-container{position:absolute!important;top:0;height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%)}.monaco-diff-editor .synthetic-focus,.monaco-diff-editor [tabindex="-1"]:focus,.monaco-diff-editor [tabindex="0"]:focus,.monaco-diff-editor button:focus,.monaco-diff-editor input[type=button]:focus,.monaco-diff-editor input[type=checkbox]:focus,.monaco-diff-editor input[type=search]:focus,.monaco-diff-editor input[type=text]:focus,.monaco-diff-editor select:focus,.monaco-diff-editor textarea:focus,.monaco-editor{outline-width:1px;outline-style:solid;outline-offset:-1px;outline-color:var(--vscode-focusBorder);opacity:1}.monaco-workbench .workbench-hover{position:relative;font-size:13px;line-height:19px;z-index:40;overflow:hidden;max-width:700px;background:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);border-radius:3px;color:var(--vscode-editorHoverWidget-foreground);box-shadow:0 2px 8px var(--vscode-widget-shadow)}.monaco-workbench .workbench-hover hr{border-bottom:none}.monaco-workbench .workbench-hover:not(.skip-fade-in){animation:fadein .1s linear}.monaco-workbench .workbench-hover.compact{font-size:12px}.monaco-workbench .workbench-hover.compact .hover-contents{padding:2px 8px}.monaco-workbench .workbench-hover-container.locked .workbench-hover{outline:1px solid var(--vscode-editorHoverWidget-border)}.monaco-workbench .workbench-hover-container.locked .workbench-hover:focus,.monaco-workbench .workbench-hover-lock:focus{outline:1px solid var(--vscode-focusBorder)}.monaco-workbench .workbench-hover-container.locked .workbench-hover-lock:hover{background:var(--vscode-toolbar-hoverBackground)}.monaco-workbench .workbench-hover-pointer{position:absolute;z-index:41;pointer-events:none}.monaco-workbench .workbench-hover-pointer:after{content:"";position:absolute;width:5px;height:5px;background-color:var(--vscode-editorHoverWidget-background);border-right:1px solid var(--vscode-editorHoverWidget-border);border-bottom:1px solid var(--vscode-editorHoverWidget-border)}.monaco-workbench .locked .workbench-hover-pointer:after{width:4px;height:4px;border-right-width:2px;border-bottom-width:2px}.monaco-workbench .workbench-hover-pointer.left{left:-3px}.monaco-workbench .workbench-hover-pointer.right{right:3px}.monaco-workbench .workbench-hover-pointer.top{top:-3px}.monaco-workbench .workbench-hover-pointer.bottom{bottom:3px}.monaco-workbench .workbench-hover-pointer.left:after{transform:rotate(135deg)}.monaco-workbench .workbench-hover-pointer.right:after{transform:rotate(315deg)}.monaco-workbench .workbench-hover-pointer.top:after{transform:rotate(225deg)}.monaco-workbench .workbench-hover-pointer.bottom:after{transform:rotate(45deg)}.monaco-workbench .workbench-hover a{color:var(--vscode-textLink-foreground)}.monaco-workbench .workbench-hover a:focus{outline:1px solid;outline-offset:-1px;text-decoration:underline;outline-color:var(--vscode-focusBorder)}.monaco-workbench .workbench-hover a:active,.monaco-workbench .workbench-hover a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-workbench .workbench-hover code{background:var(--vscode-textCodeBlock-background)}.monaco-workbench .workbench-hover .hover-row .actions{background:var(--vscode-editorHoverWidget-statusBarBackground)}.monaco-workbench .workbench-hover.right-aligned{left:1px}.monaco-workbench .workbench-hover.right-aligned .hover-row.status-bar .actions{flex-direction:row-reverse}.monaco-workbench .workbench-hover.right-aligned .hover-row.status-bar .actions .action-container{margin-right:0;margin-left:16px}.context-view{position:absolute}.context-view.fixed{all:initial;font-family:inherit;font-size:13px;position:fixed;color:inherit}.quick-input-widget{font-size:13px}.quick-input-widget .monaco-highlighted-label .highlight{color:#0066bf}.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight{color:#9dddff}.vs-dark .quick-input-widget .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .quick-input-widget .monaco-highlighted-label .highlight{color:#f38518}.hc-light .quick-input-widget .monaco-highlighted-label .highlight{color:#0f4a85}.monaco-keybinding>.monaco-keybinding-key{background-color:hsla(0,0%,87%,.4);border:1px solid hsla(0,0%,80%,.4);border-bottom-color:hsla(0,0%,73%,.4);box-shadow:inset 0 -1px 0 hsla(0,0%,73%,.4);color:#555}.hc-black .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:1px solid #6fc3df;box-shadow:none;color:#fff}.hc-light .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:1px solid #0f4a85;box-shadow:none;color:#292929}.vs-dark .monaco-keybinding>.monaco-keybinding-key{background-color:hsla(0,0%,50%,.17);border:1px solid rgba(51,51,51,.6);border-bottom-color:rgba(68,68,68,.6);box-shadow:inset 0 -1px 0 rgba(68,68,68,.6);color:#ccc}.quick-input-widget{position:absolute;width:600px;z-index:2550;left:50%;margin-left:-300px;-webkit-app-region:no-drag;border-radius:6px}.quick-input-titlebar{display:flex;align-items:center;border-radius:inherit}.quick-input-left-action-bar{display:flex;margin-left:4px;flex:1}.quick-input-title{padding:3px 0;text-align:center;text-overflow:ellipsis;overflow:hidden}.quick-input-right-action-bar{display:flex;margin-right:4px;flex:1}.quick-input-right-action-bar>.actions-container{justify-content:flex-end}.quick-input-titlebar .monaco-action-bar .action-label.codicon{background-position:50%;background-repeat:no-repeat;padding:2px}.quick-input-description{margin:6px 6px 6px 11px}.quick-input-header .quick-input-description{margin:4px 2px;flex:1}.quick-input-header{display:flex;padding:8px 6px 2px}.quick-input-widget.hidden-input .quick-input-header{padding:0;margin-bottom:0}.quick-input-and-message{display:flex;flex-direction:column;flex-grow:1;min-width:0;position:relative}.quick-input-check-all{align-self:center;margin:0}.quick-input-filter{flex-grow:1;display:flex;position:relative}.quick-input-box{flex-grow:1}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{position:absolute;left:-10000px}.quick-input-count{align-self:center;position:absolute;right:4px;display:flex;align-items:center}.quick-input-count .monaco-count-badge{vertical-align:middle;padding:2px 4px;border-radius:2px;min-height:auto;line-height:normal}.quick-input-action{margin-left:6px}.quick-input-action .monaco-text-button{font-size:11px;padding:0 6px;display:flex;height:25px;align-items:center}.quick-input-message{margin-top:-1px;padding:5px;overflow-wrap:break-word}.quick-input-message>.codicon{margin:0 .2em;vertical-align:text-bottom}.quick-input-message a{color:inherit}.quick-input-progress.monaco-progress-container{position:relative}.quick-input-list{line-height:22px}.quick-input-widget.hidden-input .quick-input-list{margin-top:4px;padding-bottom:4px}.quick-input-list .monaco-list{overflow:hidden;max-height:calc(20 * 22px);padding-bottom:5px}.quick-input-list .monaco-scrollable-element{padding:0 5px}.quick-input-list .quick-input-list-entry{box-sizing:border-box;overflow:hidden;display:flex;height:100%;padding:0 6px}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-width:1px;border-top-style:solid}.quick-input-list .monaco-list-row{border-radius:3px}.quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{overflow:hidden;display:flex;height:100%;flex:1}.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-list .quick-input-list-icon{background-size:16px;background-position:0;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;display:flex;align-items:center;justify-content:center}.quick-input-list .quick-input-list-rows{overflow:hidden;text-overflow:ellipsis;display:flex;flex-direction:column;height:100%;flex:1;margin-left:5px}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox{display:inline}.quick-input-list .quick-input-list-rows>.quick-input-list-row{display:flex;align-items:center}.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label .monaco-icon-label-container>.monaco-icon-name-container{flex:1}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:text-bottom}.quick-input-list .quick-input-list-rows .monaco-highlighted-label>span{opacity:1}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{opacity:.7;line-height:normal;text-overflow:ellipsis;overflow:hidden}.quick-input-list .monaco-list .monaco-list-row .monaco-highlighted-label .highlight{font-weight:700;background-color:unset;color:var(--vscode-list-highlightForeground)!important}.quick-input-list .monaco-list .monaco-list-row.focused .monaco-highlighted-label .highlight{color:var(--vscode-list-focusHighlightForeground)!important}.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:4px}.quick-input-list .quick-input-list-entry-action-bar{display:flex;flex:0;overflow:visible}.quick-input-list .quick-input-list-entry-action-bar .action-label{display:none}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px;padding:0 2px 2px}.quick-input-list .quick-input-list-entry-action-bar{margin-top:1px;margin-right:4px}.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label,.quick-input-list .monaco-list-row.passive-focused .quick-input-list-entry-action-bar .action-label,.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,.quick-input-list .quick-input-list-entry.focus-inside .quick-input-list-entry-action-bar .action-label,.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label{display:flex}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator{color:inherit}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key{background:none}.quick-input-list .quick-input-list-separator-as-item{padding:4px 6px;font-size:12px}.quick-input-list .quick-input-list-separator-as-item .label-name{font-weight:600}.quick-input-list .quick-input-list-separator-as-item .label-description{opacity:1!important}.quick-input-list .monaco-tree-sticky-row .quick-input-list-entry.quick-input-list-separator-as-item.quick-input-list-separator-border{border-top-style:none}.quick-input-list .monaco-tree-sticky-row{padding:0 5px}.quick-input-list .monaco-tl-twistie{display:none!important}.monaco-progress-container{width:100%;height:2px;overflow:hidden}.monaco-progress-container .progress-bit{width:2%;height:2px;position:absolute;left:0;display:none}.monaco-progress-container.active .progress-bit{display:inherit}.monaco-progress-container.discrete .progress-bit{left:0;transition:width .1s linear}.monaco-progress-container.discrete.done .progress-bit{width:100%}.monaco-progress-container.infinite .progress-bit{animation-name:progress;animation-duration:4s;animation-iteration-count:infinite;transform:translateZ(0);animation-timing-function:linear}.monaco-progress-container.infinite.infinite-long-running .progress-bit{animation-timing-function:steps(100)}@keyframes progress{0%{transform:translateX(0) scaleX(1)}50%{transform:translateX(2500%) scaleX(3)}to{transform:translateX(4900%) scaleX(1)}}.monaco-component.multiDiffEditor{background:var(--vscode-multiDiffEditor-background);position:relative;height:100%;width:100%;overflow-y:hidden;>div{position:absolute;top:0;left:0;height:100%;width:100%;&.placeholder{visibility:hidden;&.visible{visibility:visible}display:grid;place-items:center;place-content:center}}.active{--vscode-multiDiffEditor-border:var(--vscode-focusBorder)}.multiDiffEntry{display:flex;flex-direction:column;flex:1;overflow:hidden;.collapse-button{margin:0 5px;cursor:pointer;a{display:block}}.header{z-index:1000;background:var(--vscode-editor-background);&:not(.collapsed) .header-content{border-bottom:1px solid var(--vscode-sideBarSectionHeader-border)}.header-content{margin:8px 0 0;padding:4px 5px;border-top:1px solid var(--vscode-multiDiffEditor-border);display:flex;align-items:center;color:var(--vscode-foreground);background:var(--vscode-multiDiffEditor-headerBackground);&.shadow{box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px}.file-path{display:flex;flex:1;min-width:0;.title{font-size:14px;line-height:22px;&.original{flex:1;min-width:0;text-overflow:ellipsis}}.status{font-weight:600;opacity:.75;margin:0 10px;line-height:22px}}.actions{padding:0 8px}}}.editorParent{flex:1;display:flex;flex-direction:column;border-bottom:1px solid var(--vscode-multiDiffEditor-border);overflow:hidden}.editorContainer{flex:1}}} \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/css/bfb55bd78210e323.css b/dbgpt/app/static/web/_next/static/css/bfb55bd78210e323.css new file mode 100644 index 000000000..1d452dbe2 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/css/bfb55bd78210e323.css @@ -0,0 +1 @@ +.monaco-editor .accessibilityHelpWidget{padding:10px;vertical-align:middle;overflow:scroll}.monaco-aria-container{position:absolute;left:-999em}.monaco-editor .selection-anchor{background-color:#007acc;width:2px!important}.monaco-editor .bracket-match{box-sizing:border-box}.monaco-editor .monaco-editor-overlaymessage{padding-bottom:8px;z-index:10000}.monaco-editor .monaco-editor-overlaymessage.below{padding-bottom:0;padding-top:8px;z-index:10000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.monaco-editor .monaco-editor-overlaymessage.fadeIn{animation:fadeIn .15s ease-out}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.monaco-editor .monaco-editor-overlaymessage.fadeOut{animation:fadeOut .1s ease-out}.monaco-editor .monaco-editor-overlaymessage .message{padding:1px 4px;color:var(--vscode-inputValidation-infoForeground);background-color:var(--vscode-inputValidation-infoBackground);border:1px solid var(--vscode-inputValidation-infoBorder)}.monaco-editor.hc-black .monaco-editor-overlaymessage .message,.monaco-editor.hc-light .monaco-editor-overlaymessage .message{border-width:2px}.monaco-editor .monaco-editor-overlaymessage .anchor{width:0!important;height:0!important;z-index:1000;border:8px solid transparent;position:absolute}.monaco-editor .monaco-editor-overlaymessage .anchor.top{border-bottom-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage .anchor.below{border-top-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage.below .anchor.below,.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top{display:none}.monaco-editor .monaco-editor-overlaymessage.below .anchor.top{display:inherit;top:-8px}.monaco-list{position:relative;height:100%;width:100%;white-space:nowrap}.monaco-list.mouse-support{-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-list>.monaco-scrollable-element{height:100%}.monaco-list-rows{position:relative;width:100%;height:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{width:auto;min-width:100%}.monaco-list-row{position:absolute;box-sizing:border-box;overflow:hidden;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-multiple,.monaco-list.selection-single{outline:0!important}.monaco-drag-image{display:inline-block;padding:1px 7px;border-radius:10px;font-size:12px;position:absolute;z-index:1000}.monaco-list-type-filter-message{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;padding:40px 1em 1em;text-align:center;white-space:normal;opacity:.7;pointer-events:none}.monaco-list-type-filter-message:empty{display:none}.monaco-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.monaco-scrollable-element>.visible{opacity:1;background:transparent;transition:opacity .1s linear}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{transition:opacity .8s linear}.monaco-scrollable-element>.shadow{position:absolute;display:none}.monaco-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.codeActionMenuWidget{padding:8px 0;overflow:auto;font-size:13px;border-radius:5px;min-width:160px;z-index:40;display:block;width:100%;border-width:0;border-color:none;background-color:var(--vscode-menu-background);color:var(--vscode-menu-foreground);box-shadow:0 2px 8px rgb(0,0,0,16%)}.codeActionMenuWidget .monaco-list:not(.element-focused):focus:before{position:absolute;top:0;left:0;width:100%;height:100%;z-index:5;content:"";pointer-events:none;outline:0 solid!important;outline-width:0!important;outline-style:none!important;outline-offset:0!important}.codeActionMenuWidget .monaco-list{-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none;border:0!important}.codeActionMenuWidget .monaco-list .monaco-scrollable-element .monaco-list-rows{height:100%!important}.codeActionMenuWidget .monaco-list .monaco-scrollable-element{overflow:visible}.codeActionMenuWidget .monaco-list .monaco-list-row:not(.separator){display:flex;-mox-box-sizing:border-box;box-sizing:border-box;padding:0 26px;background-repeat:no-repeat;background-position:2px 2px;white-space:nowrap;cursor:pointer;touch-action:none;width:100%}.codeActionMenuWidget .monaco-list .monaco-list-row:hover:not(.option-disabled),.codeActionMenuWidget .monaco-list .moncao-list-row.focused:not(.option-disabled){color:var(--vscode-menu-selectionForeground)!important;background-color:var(--vscode-menu-selectionBackground)!important}.codeActionMenuWidget .monaco-list .option-disabled,.codeActionMenuWidget .monaco-list .option-disabled .focused{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:var(--vscode-disabledForeground)!important}.codeActionMenuWidget .monaco-list .separator{border-bottom:1px solid var(--vscode-menu-separatorBackground);padding-top:0!important;width:100%;height:0!important;opacity:1;font-size:inherit;margin:5px 0!important;border-radius:0;display:flex;-mox-box-sizing:border-box;box-sizing:border-box;background-repeat:no-repeat;background-position:2px 2px;white-space:nowrap;cursor:pointer;touch-action:none}.monaco-editor .contentWidgets .codicon-light-bulb,.monaco-editor .contentWidgets .codicon-lightbulb-autofix{display:flex;align-items:center;justify-content:center}.monaco-editor .contentWidgets .codicon-light-bulb:hover,.monaco-editor .contentWidgets .codicon-lightbulb-autofix:hover{cursor:pointer}.monaco-editor .codelens-decoration{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap;color:var(--vscode-editorCodeLens-foreground)}.monaco-editor .codelens-decoration>a,.monaco-editor .codelens-decoration>span{-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none;white-space:nowrap;vertical-align:sub}.monaco-editor .codelens-decoration>a{text-decoration:none}.monaco-editor .codelens-decoration>a:hover{cursor:pointer}.monaco-editor .codelens-decoration>a:hover,.monaco-editor .codelens-decoration>a:hover .codicon{color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .codelens-decoration .codicon{vertical-align:middle;color:currentColor!important;color:var(--vscode-editorCodeLens-foreground)}.monaco-editor .codelens-decoration>a:hover .codicon:before{cursor:pointer}@keyframes fadein{0%{opacity:0;visibility:visible}to{opacity:1}}.monaco-editor .codelens-decoration.fadein{animation:fadein .1s linear}.colorpicker-widget{height:190px;-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}.colorpicker-color-decoration,.hc-light .colorpicker-color-decoration{border:.1em solid #000;box-sizing:border-box;margin:.1em .2em 0;width:.8em;height:.8em;line-height:.8em;display:inline-block;cursor:pointer}.hc-black .colorpicker-color-decoration,.vs-dark .colorpicker-color-decoration{border:.1em solid #eee}.colorpicker-header{display:flex;height:24px;position:relative;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=");background-size:9px 9px;image-rendering:pixelated}.colorpicker-header .picked-color{width:216px;display:flex;align-items:center;justify-content:center;line-height:24px;cursor:pointer;color:#fff;flex:1}.colorpicker-header .picked-color .codicon{color:inherit;font-size:14px;position:absolute;left:8px}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{width:74px;z-index:inherit;cursor:pointer}.colorpicker-body{display:flex;padding:8px;position:relative}.colorpicker-body .saturation-wrap{overflow:hidden;height:150px;position:relative;min-width:220px;flex:1}.colorpicker-body .saturation-box{height:150px;position:absolute}.colorpicker-body .saturation-selection{width:9px;height:9px;margin:-5px 0 0 -5px;border:1px solid #fff;border-radius:100%;box-shadow:0 0 2px rgba(0,0,0,.8);position:absolute}.colorpicker-body .strip{width:25px;height:150px}.colorpicker-body .hue-strip{position:relative;margin-left:8px;cursor:grab;background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.colorpicker-body .opacity-strip{position:relative;margin-left:8px;cursor:grab;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=");background-size:9px 9px;image-rendering:pixelated}.colorpicker-body .strip.grabbing{cursor:grabbing}.colorpicker-body .slider{position:absolute;top:0;left:-2px;width:calc(100% + 4px);height:4px;box-sizing:border-box;border:1px solid hsla(0,0%,100%,.71);box-shadow:0 0 1px rgba(0,0,0,.85)}.colorpicker-body .strip .overlay{height:150px;pointer-events:none}.monaco-editor .goto-definition-link{text-decoration:underline;cursor:pointer}.monaco-action-bar{white-space:nowrap;height:100%}.monaco-action-bar .actions-container{display:flex;margin:0 auto;padding:0;height:100%;width:100%;align-items:center}.monaco-action-bar.vertical .actions-container{display:inline-block}.monaco-action-bar .action-item{display:block;align-items:center;justify-content:center;cursor:pointer;position:relative}.monaco-action-bar .action-item.disabled{cursor:default}.monaco-action-bar .action-item .codicon,.monaco-action-bar .action-item .icon{display:block}.monaco-action-bar .action-item .codicon{display:flex;align-items:center;width:16px;height:16px}.monaco-action-bar .action-label{font-size:11px;padding:3px;border-radius:5px}.monaco-action-bar .action-item.disabled .action-label,.monaco-action-bar .action-item.disabled .action-label:before,.monaco-action-bar .action-item.disabled .action-label:hover{opacity:.6}.monaco-action-bar.vertical{text-align:left}.monaco-action-bar.vertical .action-item{display:block}.monaco-action-bar.vertical .action-label.separator{display:block;border-bottom:1px solid #bbb;padding-top:1px;margin-left:.8em;margin-right:.8em}.monaco-action-bar .action-item .action-label.separator{width:1px;height:16px;margin:5px 4px!important;cursor:default;min-width:1px;padding:0;background-color:#bbb}.secondary-actions .monaco-action-bar .action-label{margin-left:6px}.monaco-action-bar .action-item.select-container{overflow:hidden;flex:1;max-width:170px;min-width:60px;display:flex;align-items:center;justify-content:center;margin-right:10px}.monaco-action-bar .action-item.action-dropdown-item{display:flex}.monaco-action-bar .action-item.action-dropdown-item>.action-label{margin-right:1px}.monaco-editor .peekview-widget .head{box-sizing:border-box;display:flex;justify-content:space-between;flex-wrap:nowrap}.monaco-editor .peekview-widget .head .peekview-title{display:flex;align-items:center;font-size:13px;margin-left:20px;min-width:0;text-overflow:ellipsis;overflow:hidden}.monaco-editor .peekview-widget .head .peekview-title.clickable{cursor:pointer}.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty){font-size:.9em;margin-left:.5em;text-overflow:ellipsis;overflow:hidden}.monaco-editor .peekview-widget .head .peekview-title .meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.monaco-editor .peekview-widget .head .peekview-title .dirname{white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty):before{content:"-";padding:0 .3em}.monaco-editor .peekview-widget .head .peekview-actions{flex:1;text-align:right;padding-right:2px}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar{display:inline-block}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar,.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar>.actions-container{height:100%}.monaco-editor .peekview-widget>.body{border-top:1px solid;position:relative}.monaco-editor .peekview-widget .head .peekview-title .codicon{margin-right:4px}.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon{color:inherit!important}::-ms-clear{display:none}.monaco-editor .editor-widget input{color:inherit}.monaco-editor{position:relative;overflow:visible;-webkit-text-size-adjust:100%}.monaco-editor .overflow-guard{position:relative;overflow:hidden}.monaco-editor .view-overlays{position:absolute;top:0}.monaco-editor .inputarea{min-width:0;min-height:0;margin:0;padding:0;position:absolute;outline:none!important;resize:none;border:none;overflow:hidden;color:transparent;background-color:transparent}.monaco-editor .inputarea.ime-input{z-index:10}.monaco-editor .margin-view-overlays .line-numbers{font-variant-numeric:tabular-nums;position:absolute;text-align:right;display:inline-block;vertical-align:middle;box-sizing:border-box;cursor:default;height:100%}.monaco-editor .relative-current-line-number{text-align:left;display:inline-block;width:100%}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}.monaco-mouse-cursor-text{cursor:text}.monaco-editor .margin-view-overlays .current-line,.monaco-editor .view-overlays .current-line{display:block;position:absolute;left:0;top:0;box-sizing:border-box}.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both{border-right:0}.monaco-editor .lines-content .cdr{position:absolute}.monaco-editor .glyph-margin{position:absolute;top:0}.monaco-editor .margin-view-overlays .cgmr{position:absolute;display:flex;align-items:center;justify-content:center}.monaco-editor .lines-content .core-guide{position:absolute;box-sizing:border-box}.mtkcontrol{color:#fff!important;background:#960000!important}.monaco-editor.no-user-select .lines-content,.monaco-editor.no-user-select .view-line,.monaco-editor.no-user-select .view-lines{-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-editor.enable-user-select{-moz-user-select:initial;user-select:auto;-webkit-user-select:initial;-ms-user-select:initial}.monaco-editor .view-lines{white-space:nowrap}.monaco-editor .view-line{position:absolute;width:100%}.monaco-editor .mtkz{display:inline-block}.monaco-editor .lines-decorations{position:absolute;top:0;background:#fff}.monaco-editor .margin-view-overlays .cldr{position:absolute;height:100%}.monaco-editor .margin-view-overlays .cmdr{position:absolute;left:0;width:100%;height:100%}.monaco-editor .minimap.slider-mouseover .minimap-slider{opacity:0;transition:opacity .1s linear}.monaco-editor .minimap.slider-mouseover .minimap-slider.active,.monaco-editor .minimap.slider-mouseover:hover .minimap-slider{opacity:1}.monaco-editor .minimap-shadow-hidden{position:absolute;width:0}.monaco-editor .minimap-shadow-visible{position:absolute;left:-6px;width:6px}.monaco-editor.no-minimap-shadow .minimap-shadow-visible{position:absolute;left:-1px;width:1px}.minimap.autohide{opacity:0;transition:opacity .5s}.minimap.autohide:hover{opacity:1}.monaco-editor .overlayWidgets{position:absolute;top:0;left:0}.monaco-editor .view-ruler{position:absolute;top:0}.monaco-editor .scroll-decoration{position:absolute;top:0;left:0;height:6px}.monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor.hc-light .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-light .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-light .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-light .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{position:absolute;overflow:hidden}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{box-sizing:border-box;background:transparent!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-width:2px;border-bottom-style:solid;background:transparent!important;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:transparent!important;box-sizing:border-box}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate}.cursor-phase{animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate}.cursor-expand>.cursor{animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate}.monaco-editor .blockDecorations-container{position:absolute;top:0}.monaco-editor .blockDecorations-block{position:absolute;box-sizing:border-box}:root{--sash-size:4px}.monaco-sash{position:absolute;z-index:35;touch-action:none}.monaco-sash.disabled{pointer-events:none}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash.disabled{cursor:default!important;pointer-events:none!important}.monaco-sash.vertical{cursor:ew-resize;top:0;width:var(--sash-size);height:100%}.monaco-sash.horizontal{cursor:ns-resize;left:0;width:100%;height:var(--sash-size)}.monaco-sash:not(.disabled)>.orthogonal-drag-handle{content:" ";height:calc(var(--sash-size) * 2);width:calc(var(--sash-size) * 2);z-index:100;display:block;cursor:all-scroll;position:absolute}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.start,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.end{cursor:nwse-resize}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.end,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.start{cursor:nesw-resize}.monaco-sash.vertical>.orthogonal-drag-handle.start{left:calc(var(--sash-size) * -.5);top:calc(var(--sash-size) * -1)}.monaco-sash.vertical>.orthogonal-drag-handle.end{left:calc(var(--sash-size) * -.5);bottom:calc(var(--sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.start{top:calc(var(--sash-size) * -.5);left:calc(var(--sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.end{top:calc(var(--sash-size) * -.5);right:calc(var(--sash-size) * -1)}.monaco-sash:before{content:"";pointer-events:none;position:absolute;width:100%;height:100%;transition:background-color .1s ease-out;background:transparent}.monaco-sash.vertical:before{width:var(--sash-hover-size);left:calc(50% - (var(--sash-hover-size) / 2))}.monaco-sash.horizontal:before{height:var(--sash-hover-size);top:calc(50% - (var(--sash-hover-size) / 2))}.pointer-events-disabled{pointer-events:none!important}.monaco-sash.debug{background:cyan}.monaco-sash.debug.disabled{background:rgba(0,255,255,.2)}.monaco-sash.debug:not(.disabled)>.orthogonal-drag-handle{background:red}.monaco-editor .zone-widget{position:absolute;z-index:10}.monaco-editor .zone-widget .zone-widget-container{border-top-style:solid;border-bottom-style:solid;border-top-width:0;border-bottom-width:0;position:relative}.monaco-dropdown{height:100%;padding:0}.monaco-dropdown>.dropdown-label{cursor:pointer;height:100%;display:flex;align-items:center;justify-content:center}.monaco-dropdown>.dropdown-label>.action-label.disabled{cursor:default}.monaco-dropdown-with-primary{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-primary>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:50%;background-repeat:no-repeat}.monaco-action-bar .action-item.menu-entry .action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-default>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:50%;background-repeat:no-repeat}.monaco-split-view2{position:relative;width:100%;height:100%}.monaco-split-view2>.sash-container{position:absolute;width:100%;height:100%;pointer-events:none}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:auto}.monaco-split-view2>.monaco-scrollable-element{width:100%;height:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container{width:100%;height:100%;white-space:nowrap;position:relative}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view{white-space:normal;position:absolute}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view:not(.visible){display:none}.monaco-split-view2.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view{height:100%}.monaco-split-view2.separator-border>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{content:" ";position:absolute;top:0;left:0;z-index:5;pointer-events:none;background-color:var(--separator-border)}.monaco-split-view2.separator-border.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:100%;width:1px}.monaco-split-view2.separator-border.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:1px;width:100%}.monaco-table{display:flex;flex-direction:column;position:relative;height:100%;width:100%;white-space:nowrap}.monaco-table>.monaco-split-view2{border-bottom:1px solid transparent}.monaco-table>.monaco-list{flex:1}.monaco-table-tr{display:flex;height:100%}.monaco-table-th{width:100%;height:100%;font-weight:700;overflow:hidden;text-overflow:ellipsis}.monaco-table-td,.monaco-table-th{box-sizing:border-box;flex-shrink:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{content:"";position:absolute;left:calc(var(--sash-size) / 2);width:0;border-left:1px solid transparent}.monaco-table>.monaco-split-view2,.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{transition:border-color .2s ease-out}.monaco-custom-toggle{margin-left:2px;float:left;cursor:pointer;overflow:hidden;width:20px;height:20px;border-radius:3px;border:1px solid transparent;padding:1px;box-sizing:border-box;-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-custom-toggle:hover{background-color:var(--vscode-inputOption-hoverBackground)}.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{border:1px dashed var(--vscode-focusBorder)}.hc-black .monaco-custom-toggle,.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle,.hc-light .monaco-custom-toggle:hover{background:none}.monaco-custom-toggle.monaco-checkbox{height:18px;width:18px;border:1px solid transparent;border-radius:3px;margin-right:9px;margin-left:0;padding:0;opacity:1;background-size:16px!important}.monaco-custom-toggle.monaco-checkbox:not(.checked):before{visibility:hidden}.monaco-inputbox{position:relative;display:block;padding:0;box-sizing:border-box;font-size:inherit}.monaco-inputbox.idle{border:1px solid transparent}.monaco-inputbox>.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px}.monaco-inputbox>.ibwrapper{position:relative;width:100%;height:100%}.monaco-inputbox>.ibwrapper>.input{display:inline-block;box-sizing:border-box;width:100%;height:100%;line-height:inherit;border:none;font-family:inherit;font-size:inherit;resize:none;color:inherit}.monaco-inputbox>.ibwrapper>input{text-overflow:ellipsis}.monaco-inputbox>.ibwrapper>textarea.input{display:block;-ms-overflow-style:none;scrollbar-width:none;outline:none}.monaco-inputbox>.ibwrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.ibwrapper>textarea.input.empty{white-space:nowrap}.monaco-inputbox>.ibwrapper>.mirror{position:absolute;display:inline-block;width:100%;top:0;left:0;box-sizing:border-box;white-space:pre-wrap;visibility:hidden;word-wrap:break-word}.monaco-inputbox-container{text-align:right}.monaco-inputbox-container .monaco-inputbox-message{display:inline-block;overflow:hidden;text-align:left;width:100%;box-sizing:border-box;padding:.4em;font-size:12px;line-height:17px;margin-top:-1px;word-wrap:break-word}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;width:16px;height:16px}.monaco-findInput{position:relative}.monaco-findInput .monaco-inputbox{font-size:13px;width:100%}.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.hc-light .monaco-findInput.highlight-0 .controls,.monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-0 .1s linear 0s}.hc-light .monaco-findInput.highlight-1 .controls,.monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-1 .1s linear 0s}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-dark-0 .1s linear 0s}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-dark-1 .1s linear 0s}@keyframes monaco-findInput-highlight-0{0%{background:rgba(253,255,0,.8)}to{background:transparent}}@keyframes monaco-findInput-highlight-1{0%{background:rgba(253,255,0,.8)}99%{background:transparent}}@keyframes monaco-findInput-highlight-dark-0{0%{background:hsla(0,0%,100%,.44)}to{background:transparent}}@keyframes monaco-findInput-highlight-dark-1{0%{background:hsla(0,0%,100%,.44)}99%{background:transparent}}.monaco-tl-row{display:flex;height:100%;align-items:center;position:relative}.monaco-tl-indent{height:100%;position:absolute;top:0;left:16px;pointer-events:none}.hide-arrows .monaco-tl-indent{left:12px}.monaco-tl-indent>.indent-guide{display:inline-block;box-sizing:border-box;height:100%;border-left:1px solid transparent;transition:border-color .1s linear}.monaco-tl-contents,.monaco-tl-twistie{height:100%}.monaco-tl-twistie{font-size:10px;text-align:right;padding-right:6px;flex-shrink:0;width:16px;display:flex!important;align-items:center;justify-content:center;transform:translateX(3px)}.monaco-tl-contents{flex:1;overflow:hidden}.monaco-tl-twistie:before{border-radius:20px}.monaco-tl-twistie.collapsed:before{transform:rotate(-90deg)}.monaco-tl-twistie.codicon-tree-item-loading:before{animation:codicon-spin 1.25s steps(30) infinite}.monaco-tree-type-filter{position:absolute;top:0;display:flex;padding:3px;transition:top .3s;max-width:200px;z-index:100;margin:0 6px}.monaco-tree-type-filter.disabled{top:-40px}.monaco-tree-type-filter-grab{display:flex!important;align-items:center;justify-content:center;cursor:grab;margin-right:2px}.monaco-tree-type-filter-grab.grabbing{cursor:grabbing}.monaco-tree-type-filter-input{flex:1}.monaco-tree-type-filter-input .monaco-inputbox{height:23px}.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.input,.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.mirror{padding:2px 4px}.monaco-tree-type-filter-input .monaco-findInput>.controls{top:2px}.monaco-tree-type-filter-actionbar{margin-left:4px}.monaco-tree-type-filter-actionbar .monaco-action-bar .action-label{padding:2px}.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget{border-top-width:1px;border-bottom-width:1px}.monaco-editor .reference-zone-widget .inline{display:inline-block;vertical-align:top}.monaco-editor .reference-zone-widget .messages{height:100%;width:100%;text-align:center;padding:3em 0}.monaco-editor .reference-zone-widget .ref-tree{line-height:23px;background-color:var(--vscode-peekViewResult-background);color:var(--vscode-peekViewResult-lineForeground)}.monaco-editor .reference-zone-widget .ref-tree .reference{text-overflow:ellipsis;overflow:hidden}.monaco-editor .reference-zone-widget .ref-tree .reference-file{display:inline-flex;width:100%;height:100%;color:var(--vscode-peekViewResult-fileForeground)}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file{color:inherit!important}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows>.monaco-list-row.selected:not(.highlighted){background-color:var(--vscode-peekViewResult-selectionBackground);color:var(--vscode-peekViewResult-selectionForeground)!important}.monaco-editor .reference-zone-widget .ref-tree .reference-file .count{margin-right:12px;margin-left:auto}.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight{background-color:var(--vscode-peekViewResult-matchHighlightBackground)}.monaco-editor .reference-zone-widget .preview .reference-decoration{background-color:var(--vscode-peekViewEditor-matchHighlightBackground);border:2px solid var(--vscode-peekViewEditor-matchHighlightBorder);box-sizing:border-box}.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input,.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background{background-color:var(--vscode-peekViewEditor-background)}.monaco-editor .reference-zone-widget .preview .monaco-editor .margin{background-color:var(--vscode-peekViewEditorGutter-background)}.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file,.monaco-editor.hc-light .reference-zone-widget .ref-tree .reference-file{font-weight:700}.monaco-editor.hc-black .reference-zone-widget .ref-tree .referenceMatch .highlight,.monaco-editor.hc-light .reference-zone-widget .ref-tree .referenceMatch .highlight{border:1px dotted var(--vscode-contrastActiveBorder,transparent);box-sizing:border-box}.monaco-count-badge{padding:3px 6px;border-radius:11px;font-size:11px;min-width:18px;min-height:18px;line-height:11px;font-weight:400;text-align:center;display:inline-block;box-sizing:border-box}.monaco-count-badge.long{padding:2px 3px;border-radius:2px;min-height:auto;line-height:normal}.monaco-icon-label{display:flex;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label:before{background-size:16px;background-position:0;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;line-height:inherit!important;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;flex-shrink:0}.monaco-icon-label>.monaco-icon-label-container{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:1}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name>.label-separator{margin:0 2px;opacity:.5}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.7;margin-left:.5em;font-size:.9em;white-space:pre}.monaco-icon-label.nowrap>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{white-space:nowrap}.vs .monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.95}.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-description-container>.label-description,.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{font-style:italic}.monaco-icon-label.deprecated{text-decoration:line-through;opacity:.66}.monaco-icon-label.italic:after{font-style:italic}.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-description-container>.label-description,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{text-decoration:line-through}.monaco-icon-label:after{opacity:.75;font-size:90%;font-weight:600;margin:auto 16px 0 5px;text-align:center}.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after{color:inherit!important}.monaco-list-row.focused.selected .label-description,.monaco-list-row.selected .label-description{opacity:.8}.monaco-hover{cursor:default;position:absolute;overflow:hidden;z-index:50;-moz-user-select:text;user-select:text;-webkit-user-select:text;-ms-user-select:text;box-sizing:initial;animation:fadein .1s linear;line-height:1.5em}.monaco-hover.hidden{display:none}.monaco-hover a:hover{cursor:pointer}.monaco-hover .hover-contents:not(.html-hover-contents){padding:4px 8px}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents){max-width:500px;word-wrap:break-word}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents) hr{min-width:100%}.monaco-hover .code,.monaco-hover p,.monaco-hover ul{margin:8px 0}.monaco-hover code{font-family:var(--monaco-monospace-font)}.monaco-hover hr{box-sizing:border-box;border-left:0;border-right:0;margin:4px -8px -4px;height:1px}.monaco-hover .code:first-child,.monaco-hover p:first-child,.monaco-hover ul:first-child{margin-top:0}.monaco-hover .code:last-child,.monaco-hover p:last-child,.monaco-hover ul:last-child{margin-bottom:0}.monaco-hover ol,.monaco-hover ul{padding-left:20px}.monaco-hover li>p{margin-bottom:0}.monaco-hover li>ul{margin-top:0}.monaco-hover code{border-radius:3px;padding:0 .4em}.monaco-hover .monaco-tokenized-source{white-space:pre-wrap}.monaco-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-hover .hover-row.status-bar .actions{display:flex;padding:0 8px}.monaco-hover .hover-row.status-bar .actions .action-container{margin-right:16px;cursor:pointer}.monaco-hover .hover-row.status-bar .actions .action-container .action .icon{padding-right:4px}.monaco-hover .markdown-hover .hover-contents .codicon{color:inherit;font-size:inherit;vertical-align:middle}.monaco-hover .hover-contents a.code-link,.monaco-hover .hover-contents a.code-link:hover{color:inherit}.monaco-hover .hover-contents a.code-link:before{content:"("}.monaco-hover .hover-contents a.code-link:after{content:")"}.monaco-hover .hover-contents a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span{margin-bottom:4px;display:inline-block}.monaco-hover-content .action-container a{-webkit-user-select:none;-moz-user-select:none;user-select:none}.monaco-hover-content .action-container.disabled{pointer-events:none;opacity:.4;cursor:default}.monaco-editor .peekview-widget .head .peekview-title .severity-icon{display:inline-block;vertical-align:text-top;margin-right:4px}.monaco-editor .marker-widget{text-overflow:ellipsis;white-space:nowrap}.monaco-editor .marker-widget>.stale{opacity:.6;font-style:italic}.monaco-editor .marker-widget .title{display:inline-block;padding-right:5px}.monaco-editor .marker-widget .descriptioncontainer{position:absolute;white-space:pre;-moz-user-select:text;user-select:text;-webkit-user-select:text;-ms-user-select:text;padding:8px 12px 0 20px}.monaco-editor .marker-widget .descriptioncontainer .message{display:flex;flex-direction:column}.monaco-editor .marker-widget .descriptioncontainer .message .details{padding-left:6px}.monaco-editor .marker-widget .descriptioncontainer .message .source,.monaco-editor .marker-widget .descriptioncontainer .message span.code{opacity:.6}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link{opacity:.6;color:inherit}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before{content:"("}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after{content:")"}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under;color:var(--vscode-textLink-foreground);color:var(--vscode-textLink-activeForeground)}.monaco-editor .marker-widget .descriptioncontainer .filename{cursor:pointer}.monaco-editor .snippet-placeholder{min-width:2px;outline-style:solid;outline-width:1px;background-color:var(--vscode-editor-snippetTabstopHighlightBackground,transparent);outline-color:var(--vscode-editor-snippetTabstopHighlightBorder,transparent)}.monaco-editor .finish-snippet-placeholder{outline-style:solid;outline-width:1px;background-color:var(--vscode-editor-snippetFinalTabstopHighlightBackground,transparent);outline-color:var(--vscode-editor-snippetFinalTabstopHighlightBorder,transparent)}.monaco-editor.hc-light .dnd-target,.monaco-editor.vs .dnd-target{border-right:2px dotted #000;color:#fff}.monaco-editor.vs-dark .dnd-target{border-right:2px dotted #aeafad;color:#51504f}.monaco-editor.hc-black .dnd-target{border-right:2px dotted #fff;color:#000}.monaco-editor.hc-black.mac.mouse-default .view-lines,.monaco-editor.hc-light.mac.mouse-default .view-lines,.monaco-editor.mouse-default .view-lines,.monaco-editor.vs-dark.mac.mouse-default .view-lines{cursor:default}.monaco-editor.hc-black.mac.mouse-copy .view-lines,.monaco-editor.hc-light.mac.mouse-copy .view-lines,.monaco-editor.mouse-copy .view-lines,.monaco-editor.vs-dark.mac.mouse-copy .view-lines{cursor:copy}.monaco-editor .find-widget{position:absolute;z-index:35;height:33px;overflow:hidden;line-height:19px;transition:transform .2s linear;padding:0 4px;box-sizing:border-box;transform:translateY(calc(-100% - 10px))}.monaco-workbench.reduce-motion .monaco-editor .find-widget{transition:transform 0ms linear}.monaco-editor .find-widget textarea{margin:0}.monaco-editor .find-widget.hiddenEditor{display:none}.monaco-editor .find-widget.replaceToggled>.replace-part{display:flex}.monaco-editor .find-widget.visible{transform:translateY(0)}.monaco-editor .find-widget .monaco-inputbox.synthetic-focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-editor .find-widget .monaco-inputbox .input{background-color:transparent;min-height:0}.monaco-editor .find-widget .monaco-findInput .input{font-size:13px}.monaco-editor .find-widget>.find-part,.monaco-editor .find-widget>.replace-part{margin:4px 0 0 17px;font-size:12px;display:flex}.monaco-editor .find-widget>.find-part .monaco-inputbox,.monaco-editor .find-widget>.replace-part .monaco-inputbox{min-height:25px}.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-right:22px}.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.mirror,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-top:2px;padding-bottom:2px}.monaco-editor .find-widget>.find-part .find-actions,.monaco-editor .find-widget>.replace-part .replace-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget .monaco-findInput{vertical-align:middle;display:flex;flex:1}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element{width:100%}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical{opacity:0}.monaco-editor .find-widget .matchesCount{display:flex;flex:initial;margin:0 0 0 3px;padding:2px 0 0 2px;height:25px;vertical-align:middle;box-sizing:border-box;text-align:center;line-height:23px}.monaco-editor .find-widget .button{width:16px;height:16px;padding:3px;border-radius:5px;flex:initial;margin-left:3px;background-position:50%;background-repeat:no-repeat;cursor:pointer;display:flex;align-items:center;justify-content:center}.monaco-editor .find-widget .codicon-find-selection{width:22px;height:22px;padding:3px;border-radius:5px}.monaco-editor .find-widget .button.left{margin-left:0;margin-right:3px}.monaco-editor .find-widget .button.wide{width:auto;padding:1px 6px;top:-1px}.monaco-editor .find-widget .button.toggle{position:absolute;top:0;left:3px;width:18px;height:100%;border-radius:0;box-sizing:border-box}.monaco-editor .find-widget .button.toggle.disabled{display:none}.monaco-editor .find-widget .disabled{color:var(--vscode-disabledForeground);cursor:default}.monaco-editor .find-widget>.replace-part{display:none}.monaco-editor .find-widget>.replace-part>.monaco-findInput{position:relative;display:flex;vertical-align:middle;flex:auto;flex-grow:0;flex-shrink:0}.monaco-editor .find-widget>.replace-part>.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.monaco-editor .find-widget.reduced-find-widget .matchesCount{display:none}.monaco-editor .find-widget.narrow-find-widget{max-width:257px!important}.monaco-editor .find-widget.collapsed-find-widget{max-width:170px!important}.monaco-editor .find-widget.collapsed-find-widget .button.next,.monaco-editor .find-widget.collapsed-find-widget .button.previous,.monaco-editor .find-widget.collapsed-find-widget .button.replace,.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,.monaco-editor .find-widget.collapsed-find-widget>.find-part .monaco-findInput .controls{display:none}.monaco-editor .findMatch{animation-duration:0;animation-name:inherit!important}.monaco-editor .find-widget .monaco-sash{left:0!important}.monaco-editor.hc-black .find-widget .button:before{position:relative;top:1px;left:2px}.monaco-editor .margin-view-overlays .codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays .codicon-folding-manual-expanded{cursor:pointer;opacity:0;transition:opacity .5s;display:flex;align-items:center;justify-content:center;font-size:140%;margin-left:2px}.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons,.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon.codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays:hover .codicon{opacity:1}.monaco-editor .inline-folded:after{color:grey;margin:.1em .2em 0;content:"⋯";display:inline;line-height:1em;cursor:pointer}.monaco-editor .iPadShowKeyboard{width:58px;min-width:0;height:36px;min-height:0;margin:0;padding:0;position:absolute;resize:none;overflow:hidden;background:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjNDI0MjQyIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==") 50% no-repeat;border:4px solid #f6f6f6;border-radius:4px}.monaco-editor.vs-dark .iPadShowKeyboard{background:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjQzVDNUM1Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==") 50% no-repeat;border:4px solid #252526}@font-face{font-family:codicon;font-display:block;src:url(/_next/static/media/codicon.0903360d.ttf) format("truetype")}.codicon[class*=codicon-]{font:normal normal normal 16px/1 codicon;display:inline-block;text-decoration:none;text-rendering:auto;text-align:center;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}.codicon-wrench-subaction{opacity:.5}@keyframes codicon-spin{to{transform:rotate(1turn)}}.codicon-gear.codicon-modifier-spin,.codicon-loading.codicon-modifier-spin,.codicon-notebook-state-executing.codicon-modifier-spin,.codicon-sync.codicon-modifier-spin{animation:codicon-spin 1.5s steps(30) infinite}.codicon-modifier-disabled{opacity:.4}.codicon-loading,.codicon-tree-item-loading:before{animation-duration:1s!important;animation-timing-function:cubic-bezier(.53,.21,.29,.67)!important}.monaco-editor .suggest-widget{width:430px;z-index:40;display:flex;flex-direction:column}.monaco-editor .suggest-widget.message{flex-direction:row;align-items:center}.monaco-editor .suggest-details,.monaco-editor .suggest-widget{flex:0 1 auto;width:100%;border-style:solid;border-width:1px;border-color:var(--vscode-editorSuggestWidget-border);background-color:var(--vscode-editorSuggestWidget-background)}.monaco-editor.hc-black .suggest-details,.monaco-editor.hc-black .suggest-widget,.monaco-editor.hc-light .suggest-details,.monaco-editor.hc-light .suggest-widget{border-width:2px}.monaco-editor .suggest-widget .suggest-status-bar{box-sizing:border-box;display:none;flex-flow:row nowrap;justify-content:space-between;width:100%;font-size:80%;padding:0 4px;border-top:1px solid var(--vscode-editorSuggestWidget-border);overflow:hidden}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar{display:flex}.monaco-editor .suggest-widget .suggest-status-bar .left{padding-right:8px}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label{color:var(--vscode-editorSuggestWidgetStatus-foreground)}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label{margin-right:0}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label:after{content:", ";margin-right:.3em}.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label{width:100%}.monaco-editor .suggest-widget>.message{padding-left:22px}.monaco-editor .suggest-widget>.tree{height:100%;width:100%}.monaco-editor .suggest-widget .monaco-list{-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row{display:flex;-mox-box-sizing:border-box;box-sizing:border-box;padding-right:10px;background-repeat:no-repeat;background-position:2px 2px;white-space:nowrap;cursor:pointer;touch-action:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused{color:var(--vscode-editorSuggestWidget-selectedForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .codicon{color:var(--vscode-editorSuggestWidget-selectedIconForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents{flex:1;height:100%;overflow:hidden;padding-left:2px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main{display:flex;overflow:hidden;text-overflow:ellipsis;white-space:pre;justify-content:space-between}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{display:flex}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.focused)>.contents>.main .monaco-icon-label{color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight{font-weight:700}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-highlightForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-focusHighlightForeground)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:before{color:inherit;opacity:1;font-size:14px;cursor:pointer}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close{position:absolute;top:6px;right:2px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover{opacity:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{opacity:.7}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label{overflow:hidden;text-overflow:ellipsis;opacity:.6}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label{margin-left:12px;opacity:.4;font-size:85%;line-height:normal;text-overflow:ellipsis;overflow:hidden;align-self:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{font-size:85%;margin-left:1.1em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right.can-expand-details>.details-label{width:calc(100% - 26px)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left{flex-shrink:1;flex-grow:1;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label{flex-shrink:0}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label{max-width:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label{flex-shrink:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{overflow:hidden;flex-shrink:4;max-width:70%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:inline-block;position:absolute;right:10px;width:18px;height:18px;visibility:hidden}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none!important}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:inline-block}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right>.readMore{visibility:visible}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated{opacity:.66;text-decoration:unset}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container{text-decoration:line-through}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label:before{height:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon{display:block;height:16px;width:16px;margin-left:2px;background-repeat:no-repeat;background-size:80%;background-position:50%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon{display:flex;align-items:center;margin-right:4px}.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon:before{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan{margin:0 0 0 .3em;border:.1em solid #000;width:.7em;height:.7em;display:inline-block}.monaco-editor .suggest-details-container{z-index:41}.monaco-editor .suggest-details{display:flex;flex-direction:column;cursor:default;color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .suggest-details.focused{border-color:var(--vscode-focusBorder)}.monaco-editor .suggest-details a{color:var(--vscode-textLink-foreground)}.monaco-editor .suggest-details a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .suggest-details code{background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .suggest-details.no-docs{display:none}.monaco-editor .suggest-details>.monaco-scrollable-element{flex:1}.monaco-editor .suggest-details>.monaco-scrollable-element>.body{box-sizing:border-box;height:100%;width:100%}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type{flex:2;overflow:hidden;text-overflow:ellipsis;opacity:.7;white-space:pre;margin:0 24px 0 0;padding:4px 0 12px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap{white-space:normal;word-break:break-all}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs{margin:0;padding:4px 5px;white-space:pre-wrap}.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs{margin-right:24px;overflow:hidden}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs{padding:0;white-space:normal;min-height:calc(1rem + 8px)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty){padding:4px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child{margin-top:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child{margin-bottom:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .monaco-tokenized-source{white-space:pre}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code{white-space:pre-wrap;word-wrap:break-word}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon{vertical-align:sub}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty{display:none}.monaco-editor .suggest-details code{border-radius:3px;padding:0 .4em}.monaco-editor .suggest-details ol,.monaco-editor .suggest-details ul{padding-left:20px}.monaco-editor .suggest-details p code{font-family:var(--monaco-monospace-font)}.monaco-editor .suggest-preview-additional-widget{white-space:nowrap}.monaco-editor .suggest-preview-additional-widget .content-spacer{color:transparent;white-space:pre}.monaco-editor .suggest-preview-additional-widget .button{display:inline-block;cursor:pointer;text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-hidden{opacity:0;font-size:0}.monaco-editor .ghost-text-decoration,.monaco-editor .suggest-preview-text{font-style:italic}.monaco-editor .inline-completion-text-to-replace{text-decoration:underline;text-underline-position:under}.monaco-editor .tokens-inspect-widget{z-index:50;-moz-user-select:text;user-select:text;-webkit-user-select:text;-ms-user-select:text;padding:10px}.tokens-inspect-separator{height:1px;border:0}.monaco-editor .tokens-inspect-widget .tm-token{font-family:var(--monaco-monospace-font)}.monaco-editor .tokens-inspect-widget .tm-token-length{font-weight:400;font-size:60%;float:right}.monaco-editor .tokens-inspect-widget .tm-metadata-table{width:100%}.monaco-editor .tokens-inspect-widget .tm-metadata-value{font-family:var(--monaco-monospace-font);text-align:right}.monaco-editor .tokens-inspect-widget .tm-token-type{font-family:var(--monaco-monospace-font)}.monaco-editor .detected-link,.monaco-editor .detected-link-active{text-decoration:underline;text-underline-position:under}.monaco-editor .detected-link-active{cursor:pointer}.monaco-editor .parameter-hints-widget{z-index:39;display:flex;flex-direction:column;line-height:1.5em;cursor:default}.monaco-editor .parameter-hints-widget>.phwrapper{max-width:440px;display:flex;flex-direction:row}.monaco-editor .parameter-hints-widget.multiple{min-height:3.3em;padding:0}.monaco-editor .parameter-hints-widget.visible{transition:left .05s ease-in-out}.monaco-editor .parameter-hints-widget p,.monaco-editor .parameter-hints-widget ul{margin:8px 0}.monaco-editor .parameter-hints-widget .body,.monaco-editor .parameter-hints-widget .monaco-scrollable-element{display:flex;flex:1;flex-direction:column;min-height:100%}.monaco-editor .parameter-hints-widget .signature{padding:4px 5px}.monaco-editor .parameter-hints-widget .docs{padding:0 10px 0 5px;white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs.empty{display:none}.monaco-editor .parameter-hints-widget .docs .markdown-docs{white-space:normal}.monaco-editor .parameter-hints-widget .docs .markdown-docs a:hover{cursor:pointer}.monaco-editor .parameter-hints-widget .docs .markdown-docs code{font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .docs .code,.monaco-editor .parameter-hints-widget .docs .monaco-tokenized-source{white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs code{border-radius:3px;padding:0 .4em}.monaco-editor .parameter-hints-widget .controls{display:none;flex-direction:column;align-items:center;min-width:22px;justify-content:flex-end}.monaco-editor .parameter-hints-widget.multiple .controls{display:flex;padding:0 2px}.monaco-editor .parameter-hints-widget.multiple .button{width:16px;height:16px;background-repeat:no-repeat;cursor:pointer}.monaco-editor .parameter-hints-widget .button.previous{bottom:24px}.monaco-editor .parameter-hints-widget .overloads{text-align:center;height:12px;line-height:12px;font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .signature .parameter.active{font-weight:700}.monaco-editor .parameter-hints-widget .documentation-parameter>.parameter{font-weight:700;margin-right:.5em}.monaco-editor .rename-box{z-index:100;color:inherit}.monaco-editor .rename-box.preview{padding:3px 3px 0}.monaco-editor .rename-box .rename-input{padding:3px;width:calc(100% - 6px)}.monaco-editor .rename-box .rename-label{display:none;opacity:.8}.monaco-editor .rename-box.preview .rename-label{display:inherit}.monaco-editor .unicode-highlight{border:1px solid var(--vscode-editorUnicodeHighlight-border);background-color:var(--vscode-editorUnicodeHighlight-background);box-sizing:border-box}.editor-banner{box-sizing:border-box;cursor:default;width:100%;font-size:12px;display:flex;overflow:visible;height:26px;background:var(--vscode-banner-background)}.editor-banner .icon-container{display:flex;flex-shrink:0;align-items:center;padding:0 6px 0 10px}.editor-banner .icon-container.custom-icon{background-repeat:no-repeat;background-position:50%;background-size:16px;width:16px;padding:0;margin:0 6px 0 10px}.editor-banner .message-container{display:flex;align-items:center;line-height:26px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-banner .message-container p{margin-block-start:0;margin-block-end:0}.editor-banner .message-actions-container{flex-grow:1;flex-shrink:0;line-height:26px;margin:0 4px}.editor-banner .message-actions-container a.monaco-button{width:inherit;margin:2px 8px;padding:0 12px}.editor-banner .message-actions-container a{padding:3px;margin-left:12px;text-decoration:underline}.editor-banner .action-container{padding:0 10px 0 6px}.editor-banner{background-color:var(--vscode-banner-background)}.editor-banner,.editor-banner .action-container .codicon,.editor-banner .message-actions-container .monaco-link{color:var(--vscode-banner-foreground)}.editor-banner .icon-container .codicon{color:var(--vscode-banner-iconForeground)}.monaco-editor{font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,system-ui,Ubuntu,Droid Sans,sans-serif;--monaco-monospace-font:"SF Mono",Monaco,Menlo,Consolas,"Ubuntu Mono","Liberation Mono","DejaVu Sans Mono","Courier New",monospace}.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-light .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-hover p{margin:0}.monaco-aria-container{position:absolute!important;top:0;height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%)}.monaco-editor.hc-black,.monaco-editor.hc-light{-ms-high-contrast-adjust:none}@media screen and (-ms-high-contrast:active){.monaco-editor.vs .view-overlays .current-line,.monaco-editor.vs-dark .view-overlays .current-line{border-color:windowtext!important;border-left:0;border-right:0}.monaco-editor.vs .cursor,.monaco-editor.vs-dark .cursor{background-color:windowtext!important}.monaco-editor.vs .dnd-target,.monaco-editor.vs-dark .dnd-target{border-color:windowtext!important}.monaco-editor.vs .selected-text,.monaco-editor.vs-dark .selected-text{background-color:highlight!important}.monaco-editor.vs .view-line,.monaco-editor.vs-dark .view-line{-ms-high-contrast-adjust:none}.monaco-editor.vs .view-line span,.monaco-editor.vs-dark .view-line span{color:windowtext!important}.monaco-editor.vs .view-line span.inline-selected-text,.monaco-editor.vs-dark .view-line span.inline-selected-text{color:highlighttext!important}.monaco-editor.vs .view-overlays,.monaco-editor.vs-dark .view-overlays{-ms-high-contrast-adjust:none}.monaco-editor.vs .reference-decoration,.monaco-editor.vs .selectionHighlight,.monaco-editor.vs .wordHighlight,.monaco-editor.vs .wordHighlightStrong,.monaco-editor.vs-dark .reference-decoration,.monaco-editor.vs-dark .selectionHighlight,.monaco-editor.vs-dark .wordHighlight,.monaco-editor.vs-dark .wordHighlightStrong{border:2px dotted highlight!important;background:transparent!important;box-sizing:border-box}.monaco-editor.vs .rangeHighlight,.monaco-editor.vs-dark .rangeHighlight{background:transparent!important;border:1px dotted activeborder!important;box-sizing:border-box}.monaco-editor.vs .bracket-match,.monaco-editor.vs-dark .bracket-match{border-color:windowtext!important;background:transparent!important}.monaco-editor.vs .currentFindMatch,.monaco-editor.vs .findMatch,.monaco-editor.vs-dark .currentFindMatch,.monaco-editor.vs-dark .findMatch{border:2px dotted activeborder!important;background:transparent!important;box-sizing:border-box}.monaco-editor.vs .find-widget,.monaco-editor.vs-dark .find-widget{border:1px solid windowtext}.monaco-editor.vs .monaco-list .monaco-list-row,.monaco-editor.vs-dark .monaco-list .monaco-list-row{-ms-high-contrast-adjust:none;color:windowtext!important}.monaco-editor.vs .monaco-list .monaco-list-row.focused,.monaco-editor.vs-dark .monaco-list .monaco-list-row.focused{color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs .monaco-list .monaco-list-row:hover,.monaco-editor.vs-dark .monaco-list .monaco-list-row:hover{background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-editor.vs .monaco-scrollable-element>.scrollbar,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar{-ms-high-contrast-adjust:none;background:background!important;border:1px solid windowtext;box-sizing:border-box}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider{background:windowtext!important}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider.active,.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider:hover,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider.active,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider:hover{background:highlight!important}.monaco-editor.vs .decorationsOverviewRuler,.monaco-editor.vs-dark .decorationsOverviewRuler{opacity:0}.monaco-editor.vs .minimap,.monaco-editor.vs-dark .minimap{display:none}.monaco-editor.vs .squiggly-d-error,.monaco-editor.vs-dark .squiggly-d-error{background:transparent!important;border-bottom:4px double #e47777}.monaco-editor.vs .squiggly-b-info,.monaco-editor.vs .squiggly-c-warning,.monaco-editor.vs-dark .squiggly-b-info,.monaco-editor.vs-dark .squiggly-c-warning{border-bottom:4px double #71b771}.monaco-editor.vs .squiggly-a-hint,.monaco-editor.vs-dark .squiggly-a-hint{border-bottom:4px double #6c6c6c}.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{-ms-high-contrast-adjust:none;color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label{-ms-high-contrast-adjust:none;background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-diff-editor.vs .diffOverviewRuler,.monaco-diff-editor.vs-dark .diffOverviewRuler{display:none}.monaco-editor.vs .line-delete,.monaco-editor.vs .line-insert,.monaco-editor.vs-dark .line-delete,.monaco-editor.vs-dark .line-insert{background:transparent!important;border:1px solid highlight!important;box-sizing:border-box}.monaco-editor.vs .char-delete,.monaco-editor.vs .char-insert,.monaco-editor.vs-dark .char-delete,.monaco-editor.vs-dark .char-insert{background:transparent!important}}.monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport{z-index:10}.monaco-diff-editor.vs .diffOverview{background:rgba(0,0,0,.03)}.monaco-diff-editor.vs-dark .diffOverview{background:hsla(0,0%,100%,.01)}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar{background:transparent}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-light .scrollbar{background:none}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:hsla(0,0%,67%,.4)}.modified-in-monaco-diff-editor.hc-black .slider.active,.modified-in-monaco-diff-editor.hc-light .slider.active{background:none}.monaco-diff-editor .delete-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-editor .insert-sign{font-size:11px!important;opacity:.7!important;display:flex!important;align-items:center}.monaco-diff-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-diff-editor.hc-light .delete-sign,.monaco-diff-editor.hc-light .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-editor.hc-black .insert-sign,.monaco-editor.hc-light .delete-sign,.monaco-editor.hc-light .insert-sign{opacity:1}.monaco-editor .inline-added-margin-view-zone,.monaco-editor .inline-deleted-margin-view-zone{text-align:right}.monaco-editor .arrow-revert-change{z-index:10;position:absolute}.monaco-editor .arrow-revert-change:hover{cursor:pointer}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}.monaco-editor .margin-view-zones .lightbulb-glyph:hover{cursor:pointer}.monaco-diff-editor .diff-review-line-number{text-align:right;display:inline-block}.monaco-diff-editor .diff-review{position:absolute;-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-diff-editor .diff-review-summary{padding-left:10px}.monaco-diff-editor .diff-review-shadow{position:absolute}.monaco-diff-editor .diff-review-row{white-space:pre}.monaco-diff-editor .diff-review-table{display:table;min-width:100%}.monaco-diff-editor .diff-review-row{display:table-row;width:100%}.monaco-diff-editor .diff-review-spacer{display:inline-block;width:10px;vertical-align:middle}.monaco-diff-editor .diff-review-spacer>.codicon{font-size:9px!important}.monaco-diff-editor .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px}.monaco-diff-editor .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}.context-view{position:absolute}.context-view.fixed{all:initial;font-family:inherit;font-size:13px;position:fixed;color:inherit}.quick-input-widget{font-size:13px}.quick-input-widget .monaco-highlighted-label .highlight{color:#0066bf}.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight{color:#9dddff}.vs-dark .quick-input-widget .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .quick-input-widget .monaco-highlighted-label .highlight{color:#f38518}.hc-light .quick-input-widget .monaco-highlighted-label .highlight{color:#0f4a85}.monaco-keybinding>.monaco-keybinding-key{background-color:hsla(0,0%,87%,.4);border:1px solid hsla(0,0%,80%,.4);border-bottom-color:hsla(0,0%,73%,.4);box-shadow:inset 0 -1px 0 hsla(0,0%,73%,.4);color:#555}.hc-black .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:1px solid #6fc3df;box-shadow:none;color:#fff}.hc-light .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:1px solid #0f4a85;box-shadow:none;color:#292929}.vs-dark .monaco-keybinding>.monaco-keybinding-key{background-color:hsla(0,0%,50%,.17);border:1px solid rgba(51,51,51,.6);border-bottom-color:rgba(68,68,68,.6);box-shadow:inset 0 -1px 0 rgba(68,68,68,.6);color:#ccc}.monaco-text-button{box-sizing:border-box;display:flex;width:100%;padding:4px;text-align:center;cursor:pointer;justify-content:center;align-items:center}.monaco-text-button:focus{outline-offset:2px!important}.monaco-text-button:hover{text-decoration:none!important}.monaco-button.disabled,.monaco-button.disabled:focus{opacity:.4!important;cursor:default}.monaco-text-button>.codicon{margin:0 .2em;color:inherit!important}.monaco-button-dropdown{display:flex;cursor:pointer}.monaco-button-dropdown.disabled{cursor:default}.monaco-button-dropdown>.monaco-button:focus{outline-offset:-1px!important}.monaco-button-dropdown.disabled>.monaco-button-dropdown-separator,.monaco-button-dropdown.disabled>.monaco-button.disabled,.monaco-button-dropdown.disabled>.monaco-button.disabled:focus{opacity:.4!important}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-right-width:0!important}.monaco-button-dropdown .monaco-button-dropdown-separator{padding:4px 0;cursor:default}.monaco-button-dropdown .monaco-button-dropdown-separator>div{height:100%;width:1px}.monaco-button-dropdown>.monaco-button.monaco-dropdown-button{border-left-width:0!important}.monaco-description-button{flex-direction:column}.monaco-description-button .monaco-button-label{font-weight:500}.monaco-description-button .monaco-button-description{font-style:italic}.monaco-description-button .monaco-button-description,.monaco-description-button .monaco-button-label{display:flex;justify-content:center;align-items:center}.monaco-description-button .monaco-button-description>.codicon,.monaco-description-button .monaco-button-label>.codicon{margin:0 .2em;color:inherit!important}.monaco-progress-container{width:100%;height:5px;overflow:hidden}.monaco-progress-container .progress-bit{width:2%;height:5px;position:absolute;left:0;display:none}.monaco-progress-container.active .progress-bit{display:inherit}.monaco-progress-container.discrete .progress-bit{left:0;transition:width .1s linear}.monaco-progress-container.discrete.done .progress-bit{width:100%}.monaco-progress-container.infinite .progress-bit{animation-name:progress;animation-duration:4s;animation-iteration-count:infinite;transform:translateZ(0);animation-timing-function:linear}.monaco-progress-container.infinite.infinite-long-running .progress-bit{animation-timing-function:steps(100)}@keyframes progress{0%{transform:translateX(0) scaleX(1)}50%{transform:translateX(2500%) scaleX(3)}to{transform:translateX(4900%) scaleX(1)}}.quick-input-widget{position:absolute;width:600px;z-index:2550;left:50%;margin-left:-300px;-webkit-app-region:no-drag}.quick-input-titlebar{display:flex;align-items:center}.quick-input-left-action-bar{display:flex;margin-left:4px;flex:1}.quick-input-title{padding:3px 0;text-align:center;text-overflow:ellipsis;overflow:hidden}.quick-input-right-action-bar{display:flex;margin-right:4px;flex:1}.quick-input-right-action-bar>.actions-container{justify-content:flex-end}.quick-input-titlebar .monaco-action-bar .action-label.codicon{background-position:50%;background-repeat:no-repeat;padding:2px}.quick-input-description{margin:6px}.quick-input-header .quick-input-description{margin:4px 2px}.quick-input-header{display:flex;padding:6px 6px 0;margin-bottom:-2px}.quick-input-widget.hidden-input .quick-input-header{padding:0;margin-bottom:0}.quick-input-and-message{display:flex;flex-direction:column;flex-grow:1;min-width:0;position:relative}.quick-input-check-all{align-self:center;margin:0}.quick-input-filter{flex-grow:1;display:flex;position:relative}.quick-input-box{flex-grow:1}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{position:absolute;left:-10000px}.quick-input-count{align-self:center;position:absolute;right:4px;display:flex;align-items:center}.quick-input-count .monaco-count-badge{vertical-align:middle;padding:2px 4px;border-radius:2px;min-height:auto;line-height:normal}.quick-input-action{margin-left:6px}.quick-input-action .monaco-text-button{font-size:11px;padding:0 6px;display:flex;height:27.5px;align-items:center}.quick-input-message{margin-top:-1px;padding:5px;overflow-wrap:break-word}.quick-input-message>.codicon{margin:0 .2em;vertical-align:text-bottom}.quick-input-progress.monaco-progress-container{position:relative}.quick-input-progress.monaco-progress-container,.quick-input-progress.monaco-progress-container .progress-bit{height:2px}.quick-input-list{line-height:22px;margin-top:6px;padding:0 1px 1px}.quick-input-widget.hidden-input .quick-input-list{margin-top:0}.quick-input-list .monaco-list{overflow:hidden;max-height:calc(20 * 22px)}.quick-input-list .quick-input-list-entry{box-sizing:border-box;overflow:hidden;display:flex;height:100%;padding:0 6px}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-width:1px;border-top-style:solid}.quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{overflow:hidden;display:flex;height:100%;flex:1}.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-list .quick-input-list-rows{overflow:hidden;text-overflow:ellipsis;display:flex;flex-direction:column;height:100%;flex:1;margin-left:5px}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox{display:inline}.quick-input-list .quick-input-list-rows>.quick-input-list-row{display:flex;align-items:center}.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label .monaco-icon-label-container>.monaco-icon-name-container{flex:1}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:text-bottom}.quick-input-list .quick-input-list-rows .monaco-highlighted-label span{opacity:1}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{opacity:.7;line-height:normal;text-overflow:ellipsis;overflow:hidden}.quick-input-list .monaco-highlighted-label .highlight{font-weight:700}.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:8px}.quick-input-list .quick-input-list-entry-action-bar{display:flex;flex:0;overflow:visible}.quick-input-list .quick-input-list-entry-action-bar .action-label{display:none}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px;padding:0 2px 2px}.quick-input-list .quick-input-list-entry-action-bar{margin-top:1px;margin-right:4px}.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label,.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label{display:flex}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator{color:inherit}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key{background:none}.monaco-keybinding{display:flex;align-items:center;line-height:10px}.monaco-keybinding>.monaco-keybinding-key{display:inline-block;border-style:solid;border-width:1px;border-radius:3px;vertical-align:middle;font-size:11px;padding:3px 5px;margin:0 2px}.monaco-keybinding>.monaco-keybinding-key:first-child{margin-left:0}.monaco-keybinding>.monaco-keybinding-key:last-child{margin-right:0}.monaco-keybinding>.monaco-keybinding-key-separator{display:inline-block}.monaco-keybinding>.monaco-keybinding-key-chord-separator{width:6px} \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/css/f8eb45c952dd19e2.css b/dbgpt/app/static/web/_next/static/css/f8eb45c952dd19e2.css deleted file mode 100644 index 2b317691d..000000000 --- a/dbgpt/app/static/web/_next/static/css/f8eb45c952dd19e2.css +++ /dev/null @@ -1,5 +0,0 @@ -#nprogress{pointer-events:none}#nprogress .bar{background:var(--joy-palette-primary-500,#096bde);position:fixed;z-index:10031;top:0;left:0;width:100%;height:3px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px var(--joy-palette-primary-500,#096bde),0 0 5px var(--joy-palette-primary-500,#096bde);opacity:1;transform:rotate(3deg) translateY(-4px)} - -/* -! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com -*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Josefin Sans,ui-sans-serif,system-ui,-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;font-feature-settings:normal;font-variation-settings:normal}body{line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.\!visible,.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.sticky{position:sticky!important}.-left-5{left:-1.25rem!important}.bottom-0{bottom:0!important}.bottom-1{bottom:.25rem!important}.bottom-2{bottom:.5rem!important}.bottom-3{bottom:.75rem!important}.bottom-4{bottom:1rem!important}.bottom-8{bottom:2rem!important}.bottom-\[-40px\]{bottom:-40px!important}.bottom-\[30\%\]{bottom:30%!important}.left-0{left:0!important}.left-1\/2{left:50%!important}.left-2{left:.5rem!important}.left-4{left:1rem!important}.right-0{right:0!important}.right-2{right:.5rem!important}.right-3{right:.75rem!important}.right-4{right:1rem!important}.right-\[1px\]{right:1px!important}.top-0{top:0!important}.top-1\/2{top:50%!important}.top-2{top:.5rem!important}.top-4{top:1rem!important}.top-\[-35px\]{top:-35px!important}.top-\[1px\]{top:1px!important}.top-\[50\%\]{top:50%!important}.z-10{z-index:10!important}.z-30{z-index:30!important}.z-50{z-index:50!important}.m-0{margin:0!important}.m-6{margin:1.5rem!important}.m-auto{margin:auto!important}.mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-4{margin-left:1rem!important;margin-right:1rem!important}.mx-6{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-\[-8px\]{margin-left:-8px!important;margin-right:-8px!important}.mx-auto{margin-left:auto!important;margin-right:auto!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:.75rem!important;margin-bottom:.75rem!important}.my-4{margin-top:1rem!important;margin-bottom:1rem!important}.\!mb-2{margin-bottom:.5rem!important}.-ml-4{margin-left:-1rem!important}.-mr-4{margin-right:-1rem!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:.75rem!important}.mb-4{margin-bottom:1rem!important}.mb-5{margin-bottom:1.25rem!important}.mb-6{margin-bottom:1.5rem!important}.ml-1{margin-left:.25rem!important}.ml-10{margin-left:2.5rem!important}.ml-16{margin-left:4rem!important}.ml-2{margin-left:.5rem!important}.ml-3{margin-left:.75rem!important}.ml-4{margin-left:1rem!important}.ml-5{margin-left:1.25rem!important}.ml-6{margin-left:1.5rem!important}.mr-1{margin-right:.25rem!important}.mr-2{margin-right:.5rem!important}.mr-24{margin-right:6rem!important}.mr-3{margin-right:.75rem!important}.mr-4{margin-right:1rem!important}.mr-6{margin-right:1.5rem!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:.75rem!important}.mt-4{margin-top:1rem!important}.mt-6{margin-top:1.5rem!important}.mt-8{margin-top:2rem!important}.mt-\[-4px\]{margin-top:-4px!important}.mt-\[1px\]{margin-top:1px!important}.line-clamp-1{-webkit-line-clamp:1!important}.line-clamp-1,.line-clamp-2{overflow:hidden!important;display:-webkit-box!important;-webkit-box-orient:vertical!important}.line-clamp-2{-webkit-line-clamp:2!important}.block{display:block!important}.inline-block{display:inline-block!important}.inline{display:inline!important}.flex{display:flex!important}.table{display:table!important}.grid{display:grid!important}.hidden{display:none!important}.h-0{height:0!important}.h-1{height:.25rem!important}.h-1\/2{height:50%!important}.h-10{height:2.5rem!important}.h-11{height:2.75rem!important}.h-12{height:3rem!important}.h-14{height:3.5rem!important}.h-2{height:.5rem!important}.h-20{height:5rem!important}.h-24{height:6rem!important}.h-28{height:7rem!important}.h-3{height:.75rem!important}.h-40{height:10rem!important}.h-5{height:1.25rem!important}.h-5\/6{height:83.333333%!important}.h-6{height:1.5rem!important}.h-64{height:16rem!important}.h-7{height:1.75rem!important}.h-8{height:2rem!important}.h-96{height:24rem!important}.h-\[1\.5em\]{height:1.5em!important}.h-\[133px\]{height:133px!important}.h-\[150px\]{height:150px!important}.h-\[300px\]{height:300px!important}.h-\[40px\]{height:40px!important}.h-\[500px\]{height:500px!important}.h-\[600px\]{height:600px!important}.h-\[90vh\]{height:90vh!important}.h-\[calc\(100vh-48px\)\]{height:calc(100vh - 48px)!important}.h-auto{height:auto!important}.h-full{height:100%!important}.h-screen{height:100vh!important}.max-h-64{max-height:16rem!important}.max-h-72{max-height:18rem!important}.max-h-\[300px\]{max-height:300px!important}.max-h-\[400px\]{max-height:400px!important}.max-h-\[70vh\]{max-height:70vh!important}.max-h-\[90vh\]{max-height:90vh!important}.max-h-\[calc\(\(100vh-156px\)\/2\)\]{max-height:calc((100vh - 156px) / 2)!important}.max-h-full{max-height:100%!important}.max-h-screen{max-height:100vh!important}.min-h-\[1rem\]{min-height:1rem!important}.min-h-\[200px\]{min-height:200px!important}.min-h-\[42px\]{min-height:42px!important}.min-h-fit{min-height:-moz-fit-content!important;min-height:fit-content!important}.min-h-full{min-height:100%!important}.w-0{width:0!important}.w-1{width:.25rem!important}.w-1\/2{width:50%!important}.w-1\/3{width:33.333333%!important}.w-1\/4{width:25%!important}.w-1\/5{width:20%!important}.w-1\/6{width:16.666667%!important}.w-10{width:2.5rem!important}.w-11{width:2.75rem!important}.w-11\/12{width:91.666667%!important}.w-12{width:3rem!important}.w-14{width:3.5rem!important}.w-16{width:4rem!important}.w-2{width:.5rem!important}.w-2\/3{width:66.666667%!important}.w-2\/5{width:40%!important}.w-20{width:5rem!important}.w-28{width:7rem!important}.w-3{width:.75rem!important}.w-3\/4{width:75%!important}.w-3\/5{width:60%!important}.w-32{width:8rem!important}.w-36{width:9rem!important}.w-4{width:1rem!important}.w-40{width:10rem!important}.w-48{width:12rem!important}.w-5{width:1.25rem!important}.w-5\/6{width:83.333333%!important}.w-52{width:13rem!important}.w-6{width:1.5rem!important}.w-60{width:15rem!important}.w-64{width:16rem!important}.w-7{width:1.75rem!important}.w-72{width:18rem!important}.w-8{width:2rem!important}.w-80{width:20rem!important}.w-96{width:24rem!important}.w-\[1\.5em\]{width:1.5em!important}.w-\[142px\]{width:142px!important}.w-\[1px\]{width:1px!important}.w-\[230px\]{width:230px!important}.w-\[26rem\]{width:26rem!important}.w-\[280px\]{width:280px!important}.w-\[30rem\]{width:30rem!important}.w-\[320px\]{width:320px!important}.w-\[50px\]{width:50px!important}.w-auto{width:auto!important}.w-full{width:100%!important}.w-screen{width:100vw!important}.min-w-0{min-width:0!important}.min-w-\[200px\]{min-width:200px!important}.min-w-fit{min-width:-moz-fit-content!important;min-width:fit-content!important}.max-w-2xl{max-width:42rem!important}.max-w-\[240px\]{max-width:240px!important}.max-w-full{max-width:100%!important}.max-w-md{max-width:28rem!important}.max-w-none{max-width:none!important}.flex-1{flex:1 1 0%!important}.flex-shrink-0{flex-shrink:0!important}.shrink{flex-shrink:1!important}.shrink-0{flex-shrink:0!important}.grow{flex-grow:1!important}.grow-0{flex-grow:0!important}.-translate-x-1\/2{--tw-translate-x:-50%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-y-1\/2,.-translate-y-\[50\%\]{--tw-translate-y:-50%!important}.-translate-y-1\/2,.-translate-y-\[50\%\],.translate-x-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.translate-x-0{--tw-translate-x:0px!important}.translate-x-full{--tw-translate-x:100%!important}.transform,.translate-x-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@keyframes fade{0%{opacity:0}to{opacity:1}}.animate-fade{animation:fade var(--tw-animate-duration,1s) var(--tw-animate-easing,ease) var(--tw-animate-delay,0s) var(--tw-animate-iteration,1) var(--tw-animate-fill,both)!important}@keyframes pulse1{0%,to{transform:scale(1);background-color:#bdc0c4}33.333%{transform:scale(1.5);background-color:#525964}}.animate-pulse1{animation:pulse1 1.2s infinite!important}@keyframes pulse2{0%,to{transform:scale(1);background-color:#bdc0c4}33.333%{transform:scale(1);background-color:#bdc0c4}66.666%{transform:scale(1.5);background-color:#525964}}.animate-pulse2{animation:pulse2 1.2s infinite!important}@keyframes pulse3{0%,66.666%{transform:scale(1);background-color:##bdc0c4}to{transform:scale(1.5);background-color:#525964}}.animate-pulse3{animation:pulse3 1.2s infinite!important}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin var(--tw-animate-duration,1s) var(--tw-animate-easing,linear) var(--tw-animate-delay,0s) var(--tw-animate-iteration,infinite) var(--tw-animate-fill,none)!important}.cursor-grab{cursor:grab!important}.cursor-move{cursor:move!important}.cursor-no-drop{cursor:no-drop!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.resize-none{resize:none!important}.list-decimal{list-style-type:decimal!important}.list-disc{list-style-type:disc!important}.grid-flow-row{grid-auto-flow:row!important}.auto-rows-max{grid-auto-rows:max-content!important}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.flex-row{flex-direction:row!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}.items-start{align-items:flex-start!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.items-stretch{align-items:stretch!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.justify-around{justify-content:space-around!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:.75rem!important}.gap-4{gap:1rem!important}.gap-6{gap:1.5rem!important}.gap-8{gap:2rem!important}.gap-x-6{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.gap-y-10{row-gap:2.5rem!important}.gap-y-5{row-gap:1.25rem!important}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.5rem * var(--tw-space-y-reverse))!important}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.75rem * var(--tw-space-y-reverse))!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-y-auto{overflow-y:auto!important}.truncate{overflow:hidden!important;white-space:nowrap!important}.text-ellipsis,.truncate{text-overflow:ellipsis!important}.whitespace-normal{white-space:normal!important}.whitespace-nowrap{white-space:nowrap!important}.break-words{overflow-wrap:break-word!important}.rounded{border-radius:.25rem!important}.rounded-2xl{border-radius:1rem!important}.rounded-3xl{border-radius:1.5rem!important}.rounded-\[10px\]{border-radius:10px!important}.rounded-\[50\%\]{border-radius:50%!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.rounded-md{border-radius:.375rem!important}.rounded-none{border-radius:0!important}.rounded-sm{border-radius:.125rem!important}.rounded-xl{border-radius:.75rem!important}.rounded-bl{border-bottom-left-radius:.25rem!important}.rounded-bl-none{border-bottom-left-radius:0!important}.rounded-br{border-bottom-right-radius:.25rem!important}.rounded-br-none{border-bottom-right-radius:0!important}.rounded-tl{border-top-left-radius:.25rem!important}.rounded-tl-md{border-top-left-radius:.375rem!important}.rounded-tl-none{border-top-left-radius:0!important}.rounded-tr{border-top-right-radius:.25rem!important}.rounded-tr-md{border-top-right-radius:.375rem!important}.border{border-width:1px!important}.border-0{border-width:0!important}.border-2{border-width:2px!important}.border-\[0\.5px\]{border-width:.5px!important}.border-b{border-bottom-width:1px!important}.border-b-2{border-bottom-width:2px!important}.border-l{border-left-width:1px!important}.border-l-4{border-left-width:4px!important}.border-r{border-right-width:1px!important}.border-t{border-top-width:1px!important}.border-solid{border-style:solid!important}.border-dashed{border-style:dashed!important}.border-none{border-style:none!important}.border-\[\#0c75fc\]{--tw-border-opacity:1!important;border-color:rgb(12 117 252/var(--tw-border-opacity))!important}.border-\[\#d5e5f6\]{--tw-border-opacity:1!important;border-color:rgb(213 229 246/var(--tw-border-opacity))!important}.border-\[\#d6d8da\]{--tw-border-opacity:1!important;border-color:rgb(214 216 218/var(--tw-border-opacity))!important}.border-\[\#d9d9d9\]{--tw-border-opacity:1!important;border-color:rgb(217 217 217/var(--tw-border-opacity))!important}.border-\[\#e3e4e6\]{--tw-border-opacity:1!important;border-color:rgb(227 228 230/var(--tw-border-opacity))!important}.border-\[\#edeeef\]{--tw-border-opacity:1!important;border-color:rgb(237 238 239/var(--tw-border-opacity))!important}.border-\[\#f0f0f0\]{--tw-border-opacity:1!important;border-color:rgb(240 240 240/var(--tw-border-opacity))!important}.border-\[transparent\]{border-color:transparent!important}.border-blue-500{--tw-border-opacity:1!important;border-color:rgb(59 130 246/var(--tw-border-opacity))!important}.border-blue-600{--tw-border-opacity:1!important;border-color:rgb(37 99 235/var(--tw-border-opacity))!important}.border-gray-100{--tw-border-opacity:1!important;border-color:rgb(243 244 246/var(--tw-border-opacity))!important}.border-gray-200{--tw-border-opacity:1!important;border-color:rgb(229 231 235/var(--tw-border-opacity))!important}.border-gray-500{--tw-border-opacity:1!important;border-color:rgb(107 114 128/var(--tw-border-opacity))!important}.border-gray-800{--tw-border-opacity:1!important;border-color:rgb(31 41 55/var(--tw-border-opacity))!important}.border-red-600{--tw-border-opacity:1!important;border-color:rgb(220 38 38/var(--tw-border-opacity))!important}.border-slate-300{--tw-border-opacity:1!important;border-color:rgb(203 213 225/var(--tw-border-opacity))!important}.border-stone-400{--tw-border-opacity:1!important;border-color:rgb(168 162 158/var(--tw-border-opacity))!important}.border-theme-primary{--tw-border-opacity:1!important;border-color:rgb(0 105 254/var(--tw-border-opacity))!important}.border-white{--tw-border-opacity:1!important;border-color:rgb(255 255 255/var(--tw-border-opacity))!important}.bg-\[\#0C75FC\],.bg-\[\#0c75fc\]{--tw-bg-opacity:1!important;background-color:rgb(12 117 252/var(--tw-bg-opacity))!important}.bg-\[\#EAEAEB\]{--tw-bg-opacity:1!important;background-color:rgb(234 234 235/var(--tw-bg-opacity))!important}.bg-\[\#F1F5F9\]{--tw-bg-opacity:1!important;background-color:rgb(241 245 249/var(--tw-bg-opacity))!important}.bg-\[\#f5faff\]{--tw-bg-opacity:1!important;background-color:rgb(245 250 255/var(--tw-bg-opacity))!important}.bg-\[\#fafafa\]{--tw-bg-opacity:1!important;background-color:rgb(250 250 250/var(--tw-bg-opacity))!important}.bg-\[\#ffffff80\]{background-color:#ffffff80!important}.bg-\[\#ffffff99\]{background-color:#ffffff99!important}.bg-\[\#ffffffb7\]{background-color:#ffffffb7!important}.bg-\[rgba\(0\2c 0\2c 0\2c 0\.04\)\]{background-color:rgba(0,0,0,.04)!important}.bg-\[rgba\(0\2c 0\2c 0\2c 0\.06\)\]{background-color:rgba(0,0,0,.06)!important}.bg-\[rgba\(0\2c 0\2c 0\2c 0\.45\)\]{background-color:rgba(0,0,0,.45)!important}.bg-\[rgba\(255\2c 255\2c 255\2c 0\.8\)\]{background-color:hsla(0,0%,100%,.8)!important}.bg-\[rgba\(255\2c 255\2c 255\2c 0\.9\)\]{background-color:hsla(0,0%,100%,.9)!important}.bg-bar{background-color:rgb(224 231 242/var(--tw-bg-opacity))!important}.bg-bar,.bg-black{--tw-bg-opacity:1!important}.bg-black{background-color:rgb(0 0 0/var(--tw-bg-opacity))!important}.bg-blue-500{background-color:rgb(59 130 246/var(--tw-bg-opacity))!important}.bg-blue-500,.bg-gray-100{--tw-bg-opacity:1!important}.bg-gray-100{background-color:rgb(243 244 246/var(--tw-bg-opacity))!important}.bg-gray-500{background-color:rgb(107 114 128/var(--tw-bg-opacity))!important}.bg-gray-500,.bg-gray-600{--tw-bg-opacity:1!important}.bg-gray-600{background-color:rgb(75 85 99/var(--tw-bg-opacity))!important}.bg-gray-700{background-color:rgb(55 65 81/var(--tw-bg-opacity))!important}.bg-gray-700,.bg-green-500{--tw-bg-opacity:1!important}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))!important}.bg-red-50{background-color:rgb(254 242 242/var(--tw-bg-opacity))!important}.bg-red-50,.bg-red-500{--tw-bg-opacity:1!important}.bg-red-500{background-color:rgb(239 68 68/var(--tw-bg-opacity))!important}.bg-stone-300{--tw-bg-opacity:1!important;background-color:rgb(214 211 209/var(--tw-bg-opacity))!important}.bg-stone-400{--tw-bg-opacity:1!important;background-color:rgb(168 162 158/var(--tw-bg-opacity))!important}.bg-theme-dark-container{--tw-bg-opacity:1!important;background-color:rgb(35 39 52/var(--tw-bg-opacity))!important}.bg-theme-light{--tw-bg-opacity:1!important;background-color:rgb(247 247 247/var(--tw-bg-opacity))!important}.bg-theme-primary{--tw-bg-opacity:1!important;background-color:rgb(0 105 254/var(--tw-bg-opacity))!important}.bg-transparent{background-color:transparent!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.bg-white,.bg-zinc-100{--tw-bg-opacity:1!important}.bg-zinc-100{background-color:rgb(244 244 245/var(--tw-bg-opacity))!important}.bg-opacity-10{--tw-bg-opacity:0.1!important}.bg-opacity-100{--tw-bg-opacity:1!important}.bg-opacity-30{--tw-bg-opacity:0.3!important}.bg-opacity-50{--tw-bg-opacity:0.5!important}.bg-opacity-70{--tw-bg-opacity:0.7!important}.bg-button-gradient{background-image:linear-gradient(90deg,#00daef,#105eff)!important}.bg-gradient-light{background-image:url(/images/bg.png)!important}.bg-gradient-to-tr{background-image:linear-gradient(to top right,var(--tw-gradient-stops))!important}.from-\[\#31afff\]{--tw-gradient-from:#31afff var(--tw-gradient-from-position)!important;--tw-gradient-to:rgba(49,175,255,0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}.to-\[\#1677ff\]{--tw-gradient-to:#1677ff var(--tw-gradient-to-position)!important}.bg-cover{background-size:cover!important}.bg-center{background-position:50%!important}.object-contain{-o-object-fit:contain!important;object-fit:contain!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-10{padding:2.5rem!important}.p-2{padding:.5rem!important}.p-3{padding:.75rem!important}.p-4{padding:1rem!important}.px-0{padding-left:0!important;padding-right:0!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-28{padding-left:7rem!important;padding-right:7rem!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}.px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-8{padding-left:2rem!important;padding-right:2rem!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-10{padding-top:2.5rem!important;padding-bottom:2.5rem!important}.py-12{padding-top:3rem!important;padding-bottom:3rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.py-4{padding-top:1rem!important;padding-bottom:1rem!important}.pb-12{padding-bottom:3rem!important}.pb-2{padding-bottom:.5rem!important}.pb-4{padding-bottom:1rem!important}.pb-6{padding-bottom:1.5rem!important}.pb-8{padding-bottom:2rem!important}.pl-0{padding-left:0!important}.pl-10{padding-left:2.5rem!important}.pl-12{padding-left:3rem!important}.pl-2{padding-left:.5rem!important}.pl-4{padding-left:1rem!important}.pl-6{padding-left:1.5rem!important}.pl-\[0\.6rem\]{padding-left:.6rem!important}.pr-10{padding-right:2.5rem!important}.pr-11{padding-right:2.75rem!important}.pr-4{padding-right:1rem!important}.pr-8{padding-right:2rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-12{padding-top:3rem!important}.pt-2{padding-top:.5rem!important}.pt-4{padding-top:1rem!important}.pt-6{padding-top:1.5rem!important}.pt-8{padding-top:2rem!important}.\!text-left{text-align:left!important}.text-center{text-align:center!important}.text-right{text-align:right!important}.align-middle{vertical-align:middle!important}.\!text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-\[0px\]{font-size:0!important}.text-\[16px\]{font-size:16px!important}.text-\[18px\]{font-size:18px!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-bold{font-weight:700!important}.font-medium{font-weight:500!important}.font-normal{font-weight:400!important}.font-semibold{font-weight:600!important}.uppercase{text-transform:uppercase!important}.lowercase{text-transform:lowercase!important}.italic{font-style:italic!important}.ordinal{--tw-ordinal:ordinal!important;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)!important}.leading-10{line-height:2.5rem!important}.leading-5{line-height:1.25rem!important}.leading-6{line-height:1.5rem!important}.leading-7{line-height:1.75rem!important}.leading-8{line-height:2rem!important}.\!text-gray-500{--tw-text-opacity:1!important;color:rgb(107 114 128/var(--tw-text-opacity))!important}.\!text-green-500{--tw-text-opacity:1!important;color:rgb(34 197 94/var(--tw-text-opacity))!important}.text-\[\#000000\]{--tw-text-opacity:1!important;color:rgb(0 0 0/var(--tw-text-opacity))!important}.text-\[\#0069fe\]{--tw-text-opacity:1!important;color:rgb(0 105 254/var(--tw-text-opacity))!important}.text-\[\#0C75FC\],.text-\[\#0c75fc\]{--tw-text-opacity:1!important;color:rgb(12 117 252/var(--tw-text-opacity))!important}.text-\[\#121417\]{--tw-text-opacity:1!important;color:rgb(18 20 23/var(--tw-text-opacity))!important}.text-\[\#1677ff\]{--tw-text-opacity:1!important;color:rgb(22 119 255/var(--tw-text-opacity))!important}.text-\[\#1890ff\]{--tw-text-opacity:1!important;color:rgb(24 144 255/var(--tw-text-opacity))!important}.text-\[\#1c2533\]{--tw-text-opacity:1!important;color:rgb(28 37 51/var(--tw-text-opacity))!important}.text-\[\#2AA3FF\]{--tw-text-opacity:1!important;color:rgb(42 163 255/var(--tw-text-opacity))!important}.text-\[\#525964\]{--tw-text-opacity:1!important;color:rgb(82 89 100/var(--tw-text-opacity))!important}.text-\[\#878c93\]{--tw-text-opacity:1!important;color:rgb(135 140 147/var(--tw-text-opacity))!important}.text-\[\#ff1b2e\]{--tw-text-opacity:1!important;color:rgb(255 27 46/var(--tw-text-opacity))!important}.text-\[\#ff4d4f\],.text-\[rgb\(255\2c 77\2c 79\)\]{--tw-text-opacity:1!important;color:rgb(255 77 79/var(--tw-text-opacity))!important}.text-\[rgb\(82\2c 196\2c 26\)\]{--tw-text-opacity:1!important;color:rgb(82 196 26/var(--tw-text-opacity))!important}.text-\[rgba\(0\2c 0\2c 0\2c 0\.45\)\]{color:rgba(0,0,0,.45)!important}.text-\[rgba\(0\2c 0\2c 0\2c 0\.85\)\]{color:rgba(0,0,0,.85)!important}.text-\[rgba\(0\2c 10\2c 26\2c 0\.68\)\]{color:rgba(0,10,26,.68)!important}.text-black{color:rgb(0 0 0/var(--tw-text-opacity))!important}.text-black,.text-blue-400{--tw-text-opacity:1!important}.text-blue-400{color:rgb(96 165 250/var(--tw-text-opacity))!important}.text-blue-500{--tw-text-opacity:1!important;color:rgb(59 130 246/var(--tw-text-opacity))!important}.text-blue-600{color:rgb(37 99 235/var(--tw-text-opacity))!important}.text-blue-600,.text-default{--tw-text-opacity:1!important}.text-default{color:rgb(12 117 252/var(--tw-text-opacity))!important}.text-gray-300{--tw-text-opacity:1!important;color:rgb(209 213 219/var(--tw-text-opacity))!important}.text-gray-400{--tw-text-opacity:1!important;color:rgb(156 163 175/var(--tw-text-opacity))!important}.text-gray-500{--tw-text-opacity:1!important;color:rgb(107 114 128/var(--tw-text-opacity))!important}.text-gray-600{--tw-text-opacity:1!important;color:rgb(75 85 99/var(--tw-text-opacity))!important}.text-green-600{--tw-text-opacity:1!important;color:rgb(22 163 74/var(--tw-text-opacity))!important}.text-neutral-500{--tw-text-opacity:1!important;color:rgb(115 115 115/var(--tw-text-opacity))!important}.text-red-400{color:rgb(248 113 113/var(--tw-text-opacity))!important}.text-red-400,.text-red-600{--tw-text-opacity:1!important}.text-red-600{color:rgb(220 38 38/var(--tw-text-opacity))!important}.text-slate-900{--tw-text-opacity:1!important;color:rgb(15 23 42/var(--tw-text-opacity))!important}.text-theme-primary{--tw-text-opacity:1!important;color:rgb(0 105 254/var(--tw-text-opacity))!important}.text-white{color:rgb(255 255 255/var(--tw-text-opacity))!important}.text-white,.text-yellow-400{--tw-text-opacity:1!important}.text-yellow-400{color:rgb(250 204 21/var(--tw-text-opacity))!important}.text-opacity-80{--tw-text-opacity:0.8!important}.underline{text-decoration-line:underline!important}.opacity-0{opacity:0!important}.opacity-100{opacity:1!important}.opacity-30{opacity:.3!important}.opacity-40{opacity:.4!important}.opacity-70{opacity:.7!important}.opacity-80{opacity:.8!important}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1)!important;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)!important}.shadow,.shadow-\[-5px_0_40px_-4px_rgba\(100\2c 100\2c 100\2c \.1\)\]{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow-\[-5px_0_40px_-4px_rgba\(100\2c 100\2c 100\2c \.1\)\]{--tw-shadow:-5px 0 40px -4px hsla(0,0%,39%,.1)!important;--tw-shadow-colored:-5px 0 40px -4px var(--tw-shadow-color)!important}.shadow-\[0_8px_16px_-10px_rgba\(100\2c 100\2c 100\2c \.08\)\]{--tw-shadow:0 8px 16px -10px hsla(0,0%,39%,.08)!important;--tw-shadow-colored:0 8px 16px -10px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow-\[4px_0_10px_rgba\(0\2c 0\2c 0\2c 0\.06\)\]{--tw-shadow:4px 0 10px rgba(0,0,0,.06)!important;--tw-shadow-colored:4px 0 10px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow-\[inset_0_0_16px_rgba\(50\2c 50\2c 50\2c \.05\)\]{--tw-shadow:inset 0 0 16px rgba(50,50,50,.05)!important;--tw-shadow-colored:inset 0 0 16px var(--tw-shadow-color)!important}.shadow-\[inset_0_0_16px_rgba\(50\2c 50\2c 50\2c \.05\)\],.shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1)!important;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)!important}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05)!important;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.grayscale{--tw-grayscale:grayscale(100%)!important}.filter,.grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.backdrop-blur{--tw-backdrop-blur:blur(8px)!important}.backdrop-blur,.backdrop-blur-lg{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}.backdrop-blur-lg{--tw-backdrop-blur:blur(16px)!important}.backdrop-blur-sm{--tw-backdrop-blur:blur(4px)!important}.backdrop-blur-sm,.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}.transition-\[transfrom_shadow\]{transition-property:transfrom shadow!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-\[width\]{transition-property:width!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-all{transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-opacity{transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-transform{transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.duration-300{transition-duration:.3s!important}.duration-500{transition-duration:.5s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.animate-duration-200{--tw-animate-duration:200ms!important}.animate-duration-200,.animate-duration-300{animation-duration:var(--tw-animate-duration)!important}.animate-duration-300{--tw-animate-duration:300ms!important}.animate-infinite{--tw-animate-iteration:infinite!important;animation-iteration-count:var(--tw-animate-iteration)!important}body{margin:0;font-family:var(--joy-fontFamily-body,var(--joy-Josefin Sans,sans-serif));line-height:var(--joy-lineHeight-md,1.5);--antd-primary-color:#0069fe;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-appearance:none}.light{color:#333;background-color:#f7f7f7}.dark{color:#f7f7f7;background-color:#151622}.dark-sub-bg{background-color:#23262c}.ant-btn-primary{background-color:var(--antd-primary-color)}.ant-pagination .ant-pagination-next *,.ant-pagination .ant-pagination-prev *{color:var(--antd-primary-color)!important}.ant-pagination .ant-pagination-item a{color:#b0b0bf}.ant-pagination .ant-pagination-item.ant-pagination-item-active{background-color:var(--antd-primary-color)!important}.ant-pagination .ant-pagination-item.ant-pagination-item-active a{color:#fff!important}.scrollbar-default::-webkit-scrollbar{display:block;width:6px}::-webkit-scrollbar{display:none}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#888}::-webkit-scrollbar-thumb:hover{background:#555}.dark :where(.css-dev-only-do-not-override-18iikkb).ant-tabs .ant-tabs-tab-btn{color:#fff}:where(.css-dev-only-do-not-override-18iikkb).ant-form-item .ant-form-item-label>label{height:36px}@keyframes rotate{to{transform:rotate(1turn)}}.react-flow__panel{display:none!important}#home-container .ant-tabs-tab,#home-container .ant-tabs-tab-active{font-size:16px}#home-container .ant-card-body{padding:12px 24px}pre{overflow:auto;white-space:pre-wrap;padding-left:.5rem}pre,table{width:100%}table{display:block;table-layout:fixed}.rc-md-editor{height:inherit}.rc-md-editor .editor-container>.section{border-right:none!important}.first-line\:leading-6:first-line{line-height:1.5rem!important}.after\:absolute:after{content:var(--tw-content)!important;position:absolute!important}.after\:-top-8:after{content:var(--tw-content)!important;top:-2rem!important}.after\:h-8:after{content:var(--tw-content)!important;height:2rem!important}.after\:w-full:after{content:var(--tw-content)!important;width:100%!important}.after\:bg-gradient-to-t:after{content:var(--tw-content)!important;background-image:linear-gradient(to top,var(--tw-gradient-stops))!important}.after\:from-theme-light:after{content:var(--tw-content)!important;--tw-gradient-from:#f7f7f7 var(--tw-gradient-from-position)!important;--tw-gradient-to:hsla(0,0%,97%,0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}.after\:to-transparent:after{content:var(--tw-content)!important;--tw-gradient-to:transparent var(--tw-gradient-to-position)!important}.last-of-type\:mr-0:last-of-type{margin-right:0!important}.hover\:-translate-y-1:hover{--tw-translate-y:-0.25rem!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.hover\:rounded-xl:hover{border-radius:.75rem!important}.hover\:border-\[\#0c75fc\]:hover{--tw-border-opacity:1!important;border-color:rgb(12 117 252/var(--tw-border-opacity))!important}.hover\:bg-\[\#F1F5F9\]:hover{--tw-bg-opacity:1!important;background-color:rgb(241 245 249/var(--tw-bg-opacity))!important}.hover\:bg-\[\#f5faff\]:hover{--tw-bg-opacity:1!important;background-color:rgb(245 250 255/var(--tw-bg-opacity))!important}.hover\:bg-\[rgb\(221\2c 221\2c 221\2c 0\.6\)\]:hover{background-color:hsla(0,0%,87%,.6)!important}.hover\:bg-stone-200:hover{--tw-bg-opacity:1!important;background-color:rgb(231 229 228/var(--tw-bg-opacity))!important}.hover\:bg-white:hover{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.hover\:\!text-gray-200:hover{--tw-text-opacity:1!important;color:rgb(229 231 235/var(--tw-text-opacity))!important}.hover\:text-\[\#0c75fc\]:hover{--tw-text-opacity:1!important;color:rgb(12 117 252/var(--tw-text-opacity))!important}.hover\:text-blue-500:hover{--tw-text-opacity:1!important;color:rgb(59 130 246/var(--tw-text-opacity))!important}.hover\:text-red-500:hover{--tw-text-opacity:1!important;color:rgb(239 68 68/var(--tw-text-opacity))!important}.hover\:text-theme-primary:hover{--tw-text-opacity:1!important;color:rgb(0 105 254/var(--tw-text-opacity))!important}.hover\:opacity-100:hover{opacity:1!important}.hover\:shadow-\[0_14px_20px_-10px_rgba\(100\2c 100\2c 100\2c \.15\)\]:hover{--tw-shadow:0 14px 20px -10px hsla(0,0%,39%,.15)!important;--tw-shadow-colored:0 14px 20px -10px var(--tw-shadow-color)!important}.focus\:shadow-none:focus,.hover\:shadow-\[0_14px_20px_-10px_rgba\(100\2c 100\2c 100\2c \.15\)\]:hover{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.focus\:shadow-none:focus{--tw-shadow:0 0 #0000!important;--tw-shadow-colored:0 0 #0000!important}.group:hover .group-hover\:block{display:block!important}.group\/item:hover .group-hover\/item\:opacity-100,.group\/side:hover .group-hover\/side\:opacity-100{opacity:1!important}.group:hover .group-hover\:opacity-70{opacity:.7!important}:is(.dark .dark\:border-\[\#0c75fc\]){--tw-border-opacity:1!important;border-color:rgb(12 117 252/var(--tw-border-opacity))!important}:is(.dark .dark\:border-\[\#6f7f95\]){--tw-border-opacity:1!important;border-color:rgb(111 127 149/var(--tw-border-opacity))!important}:is(.dark .dark\:border-\[\#ffffff66\]){border-color:#ffffff66!important}:is(.dark .dark\:border-\[rgba\(12\2c 117\2c 252\2c 0\.8\)\]){border-color:rgba(12,117,252,.8)!important}:is(.dark .dark\:border-\[rgba\(217\2c 217\2c 217\2c 0\.85\)\]){border-color:hsla(0,0%,85%,.85)!important}:is(.dark .dark\:border-\[rgba\(255\2c 255\2c 255\2c 0\.1\)\]){border-color:hsla(0,0%,100%,.1)!important}:is(.dark .dark\:border-\[rgba\(255\2c 255\2c 255\2c 0\.2\)\]){border-color:hsla(0,0%,100%,.2)!important}:is(.dark .dark\:border-\[rgba\(255\2c 255\2c 255\2c 0\.6\)\]){border-color:hsla(0,0%,100%,.6)!important}:is(.dark .dark\:border-gray-500){--tw-border-opacity:1!important;border-color:rgb(107 114 128/var(--tw-border-opacity))!important}:is(.dark .dark\:border-gray-700){--tw-border-opacity:1!important;border-color:rgb(55 65 81/var(--tw-border-opacity))!important}:is(.dark .dark\:border-gray-800){--tw-border-opacity:1!important;border-color:rgb(31 41 55/var(--tw-border-opacity))!important}:is(.dark .dark\:border-theme-dark){--tw-border-opacity:1!important;border-color:rgb(21 22 34/var(--tw-border-opacity))!important}:is(.dark .dark\:border-white){--tw-border-opacity:1!important;border-color:rgb(255 255 255/var(--tw-border-opacity))!important}:is(.dark .dark\:bg-\[\#212121\]){--tw-bg-opacity:1!important;background-color:rgb(33 33 33/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-\[\#232734\]){--tw-bg-opacity:1!important;background-color:rgb(35 39 52/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-\[\#242733\]){--tw-bg-opacity:1!important;background-color:rgb(36 39 51/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-\[\#484848\]){--tw-bg-opacity:1!important;background-color:rgb(72 72 72/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-\[\#606264\]){--tw-bg-opacity:1!important;background-color:rgb(96 98 100/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-\[\#6f7f95\]){--tw-bg-opacity:1!important;background-color:rgb(111 127 149/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-\[\#ffffff29\]){background-color:#ffffff29!important}:is(.dark .dark\:bg-\[rgba\(255\2c 255\2c 255\2c 0\.1\)\]){background-color:hsla(0,0%,100%,.1)!important}:is(.dark .dark\:bg-\[rgba\(255\2c 255\2c 255\2c 0\.16\)\]){background-color:hsla(0,0%,100%,.16)!important}:is(.dark .dark\:bg-\[rgba\(255\2c 255\2c 255\2c 0\.2\)\]){background-color:hsla(0,0%,100%,.2)!important}:is(.dark .dark\:bg-\[rgba\(255\2c 255\2c 255\2c 0\.5\)\]){background-color:hsla(0,0%,100%,.5)!important}:is(.dark .dark\:bg-\[rgba\(255\2c 255\2c 255\2c 0\.65\)\]){background-color:hsla(0,0%,100%,.65)!important}:is(.dark .dark\:bg-\[rgba\(41\2c 63\2c 89\2c 0\.4\)\]){background-color:rgba(41,63,89,.4)!important}:is(.dark .dark\:bg-black){--tw-bg-opacity:1!important;background-color:rgb(0 0 0/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity:1!important;background-color:rgb(31 41 55/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-slate-800){--tw-bg-opacity:1!important;background-color:rgb(30 41 59/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-theme-dark){--tw-bg-opacity:1!important;background-color:rgb(21 22 34/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-theme-dark-container){--tw-bg-opacity:1!important;background-color:rgb(35 39 52/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-transparent){background-color:transparent!important}:is(.dark .dark\:bg-zinc-700){--tw-bg-opacity:1!important;background-color:rgb(63 63 70/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-zinc-800){--tw-bg-opacity:1!important;background-color:rgb(39 39 42/var(--tw-bg-opacity))!important}:is(.dark :is(.dark .dark\:dark\:bg-theme-dark)){--tw-bg-opacity:1!important;background-color:rgb(21 22 34/var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-opacity-50){--tw-bg-opacity:0.5!important}:is(.dark .dark\:bg-opacity-60){--tw-bg-opacity:0.6!important}:is(.dark .dark\:bg-gradient-dark){background-image:url(/images/bg_dark.png)!important}:is(.dark .dark\:text-\[\#ffffffD9\]){color:#ffffffd9!important}:is(.dark .dark\:text-\[rgba\(255\2c 255\2c 255\2c 0\.65\)\]){color:hsla(0,0%,100%,.65)!important}:is(.dark .dark\:text-\[rgba\(255\2c 255\2c 255\2c 0\.85\)\]){color:hsla(0,0%,100%,.85)!important}:is(.dark .dark\:text-blue-400){--tw-text-opacity:1!important;color:rgb(96 165 250/var(--tw-text-opacity))!important}:is(.dark .dark\:text-gray-200){--tw-text-opacity:1!important;color:rgb(229 231 235/var(--tw-text-opacity))!important}:is(.dark .dark\:text-gray-300){--tw-text-opacity:1!important;color:rgb(209 213 219/var(--tw-text-opacity))!important}:is(.dark .dark\:text-gray-800){--tw-text-opacity:1!important;color:rgb(31 41 55/var(--tw-text-opacity))!important}:is(.dark .dark\:text-slate-300){--tw-text-opacity:1!important;color:rgb(203 213 225/var(--tw-text-opacity))!important}:is(.dark .dark\:text-stone-200){--tw-text-opacity:1!important;color:rgb(231 229 228/var(--tw-text-opacity))!important}:is(.dark .dark\:text-white){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}:is(.dark .dark\:text-zinc-200){--tw-text-opacity:1!important;color:rgb(228 228 231/var(--tw-text-opacity))!important}:is(.dark .dark\:after\:from-theme-dark):after{content:var(--tw-content)!important;--tw-gradient-from:#151622 var(--tw-gradient-from-position)!important;--tw-gradient-to:rgba(21,22,34,0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}:is(.dark .dark\:hover\:border-\[rgba\(12\2c 117\2c 252\2c 0\.85\)\]:hover){border-color:rgba(12,117,252,.85)!important}:is(.dark .dark\:hover\:border-white:hover){--tw-border-opacity:1!important;border-color:rgb(255 255 255/var(--tw-border-opacity))!important}:is(.dark .dark\:hover\:bg-\[\#606264\]:hover){--tw-bg-opacity:1!important;background-color:rgb(96 98 100/var(--tw-bg-opacity))!important}:is(.dark .dark\:hover\:bg-theme-dark:hover){--tw-bg-opacity:1!important;background-color:rgb(21 22 34/var(--tw-bg-opacity))!important}:is(.dark .dark\:hover\:bg-zinc-900:hover){--tw-bg-opacity:1!important;background-color:rgb(24 24 27/var(--tw-bg-opacity))!important}:is(.dark .hover\:dark\:bg-\[\#606264\]):hover{--tw-bg-opacity:1!important;background-color:rgb(96 98 100/var(--tw-bg-opacity))!important}:is(.dark .hover\:dark\:bg-black):hover{--tw-bg-opacity:1!important;background-color:rgb(0 0 0/var(--tw-bg-opacity))!important}:is(.dark .dark\:hover\:text-zinc-100:hover){--tw-text-opacity:1!important;color:rgb(244 244 245/var(--tw-text-opacity))!important}@media (min-width:640px){.sm\:mr-4{margin-right:1rem!important}.sm\:w-60{width:15rem!important}.sm\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.sm\:pb-10{padding-bottom:2.5rem!important}.sm\:pt-6{padding-top:1.5rem!important}.sm\:text-base{font-size:1rem!important;line-height:1.5rem!important}.sm\:leading-7{line-height:1.75rem!important}}@media (min-width:768px){.md\:block{display:block!important}.md\:w-1\/2{width:50%!important}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.md\:gap-4{gap:1rem!important}.md\:p-4{padding:1rem!important}.md\:p-6{padding:1.5rem!important}.md\:px-4{padding-left:1rem!important;padding-right:1rem!important}.md\:px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}}@media (min-width:1024px){.lg\:w-1\/3{width:33.333333%!important}.lg\:w-72{width:18rem!important}.lg\:w-full{width:100%!important}.lg\:max-w-\[80\%\]{max-width:80%!important}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lg\:px-8{padding-left:2rem!important;padding-right:2rem!important}}@media (min-width:1280px){.xl\:h-full{height:100%!important}.xl\:w-1\/4{width:25%!important}.xl\:w-3\/4{width:75%!important}.xl\:w-auto{width:auto!important}.xl\:w-full{width:100%!important}.xl\:border-l{border-left-width:1px!important}.xl\:border-t-0{border-top-width:0!important}.xl\:pl-4{padding-left:1rem!important}.xl\:pr-4{padding-right:1rem!important}}@media (min-width:1536px){.\32xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}} \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/editor.worker.js b/dbgpt/app/static/web/_next/static/editor.worker.js index 436a16805..93d1e626b 100644 --- a/dbgpt/app/static/web/_next/static/editor.worker.js +++ b/dbgpt/app/static/web/_next/static/editor.worker.js @@ -1 +1 @@ -!function(){var e={454:function(e,t,i){"use strict";var n,r;e.exports=(null==(n=i.g.process)?void 0:n.env)&&"object"==typeof(null==(r=i.g.process)?void 0:r.env)?i.g.process:i(663)},663:function(e){!function(){var t={229:function(e){var t,i,n,r=e.exports={};function s(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===s||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(i){try{return t.call(null,e,0)}catch(i){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:s}catch(e){t=s}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(e){i=o}}();var l=[],u=!1,h=-1;function d(){u&&n&&(u=!1,n.length?l=n.concat(l):h=-1,l.length&&c())}function c(){if(!u){var e=a(d);u=!0;for(var t=l.length;t;){for(n=l,l=[];++h1)for(var i=1;i{if(e.stack){if(u.isErrorNoTelemetry(e))throw new u(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function s(e){e instanceof l||e instanceof Error&&e.name===a&&e.message===a||r.onUnexpectedError(e)}function o(e){if(e instanceof Error){let{name:t,message:i}=e,n=e.stacktrace||e.stack;return{$isError:!0,name:t,message:i,stack:n,noTelemetry:u.isErrorNoTelemetry(e)}}return e}let a="Canceled";class l extends Error{constructor(){super(a),this.name=this.message}}class u extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof u)return e;let t=new u;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class h extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,h.prototype)}}function d(e){return e}function c(e){}function m(e,t){}function g(e){if(eH.is(e)){let t=[];for(let i of e)if(i)try{i.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function f(e){let t={dispose:function(e,t){let i;let n=this,r=!1;return function(){if(r)return i;if(r=!0,t)try{i=e.apply(n,arguments)}finally{t()}else i=e.apply(n,arguments);return i}}(()=>{e()})};return t}!function(e){function t(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=t;let i=Object.freeze([]);function*n(e){yield e}async function r(e){let t=[];for await(let i of e)t.push(i);return Promise.resolve(t)}e.empty=function(){return i},e.single=n,e.wrap=function(e){return t(e)?e:n(e)},e.from=function(e){return e||i},e.reverse=function*(e){for(let t=e.length-1;t>=0;t--)yield e[t]},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(let i of e)if(t(i))return!0;return!1},e.find=function(e,t){for(let i of e)if(t(i))return i},e.filter=function*(e,t){for(let i of e)t(i)&&(yield i)},e.map=function*(e,t){let i=0;for(let n of e)yield t(n,i++)},e.concat=function*(...e){for(let t of e)yield*t},e.reduce=function(e,t,i){let n=i;for(let i of e)n=t(n,i);return n},e.slice=function*(e,t,i=e.length){for(t<0&&(t+=e.length),i<0?i+=e.length:i>e.length&&(i=e.length);tr}]},e.asyncToArray=r}(eH||(eH={}));class p{constructor(){var e;this._toDispose=new Set,this._isDisposed=!1,e=this}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{g(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw Error("Cannot register a disposable on itself!");return this._isDisposed?p.DISABLE_DISPOSED_WARNING||console.warn(Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}deleteAndLeak(e){e&&this._toDispose.has(e)&&this._toDispose.delete(e)}}p.DISABLE_DISPOSED_WARNING=!1;class b{constructor(){var e;this._store=new p,e=this,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw Error("Cannot register a disposable on itself!");return this._store.add(e)}}b.None=Object.freeze({dispose(){}});class _{constructor(e){this.element=e,this.next=_.Undefined,this.prev=_.Undefined}}_.Undefined=new _(void 0);class v{constructor(){this._first=_.Undefined,this._last=_.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===_.Undefined}clear(){let e=this._first;for(;e!==_.Undefined;){let t=e.next;e.prev=_.Undefined,e.next=_.Undefined,e=t}this._first=_.Undefined,this._last=_.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let i=new _(e);if(this._first===_.Undefined)this._first=i,this._last=i;else if(t){let e=this._last;this._last=i,i.prev=e,e.next=i}else{let e=this._first;this._first=i,i.next=e,e.prev=i}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(i))}}shift(){if(this._first!==_.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==_.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==_.Undefined&&e.next!==_.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===_.Undefined&&e.next===_.Undefined?(this._first=_.Undefined,this._last=_.Undefined):e.next===_.Undefined?(this._last=this._last.prev,this._last.next=_.Undefined):e.prev===_.Undefined&&(this._first=this._first.next,this._first.prev=_.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==_.Undefined;)yield e.element,e=e.next}}let y=globalThis.performance&&"function"==typeof globalThis.performance.now;class C{static create(e){return new C(e)}constructor(e){this._now=y&&!1===e?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return -1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}}!function(e){function t(e){return(t,i=null,n)=>{let r,s=!1;return r=e(e=>s?void 0:(r?r.dispose():s=!0,t.call(i,e)),null,n),s&&r.dispose(),r}}function i(e,t,i){return r((i,n=null,r)=>e(e=>i.call(n,t(e)),null,r),i)}function n(e,t,i){return r((i,n=null,r)=>e(e=>t(e)&&i.call(n,e),null,r),i)}function r(e,t){let i;let n=new x({onWillAddFirstListener(){i=e(n.fire,n)},onDidRemoveLastListener(){null==i||i.dispose()}});return null==t||t.add(n),n.event}function s(e,t,i=100,n=!1,r=!1,s,o){let a,l,u,h;let d=0,c=new x({leakWarningThreshold:s,onWillAddFirstListener(){a=e(e=>{d++,u=t(u,e),n&&!h&&(c.fire(u),u=void 0),l=()=>{let e=u;u=void 0,h=void 0,(!n||d>1)&&c.fire(e),d=0},"number"==typeof i?(clearTimeout(h),h=setTimeout(l,i)):void 0===h&&(h=0,queueMicrotask(l))})},onWillRemoveListener(){r&&d>0&&(null==l||l())},onDidRemoveLastListener(){l=void 0,a.dispose()}});return null==o||o.add(c),c.event}e.None=()=>b.None,e.defer=function(e,t){return s(e,()=>void 0,0,void 0,!0,void 0,t)},e.once=t,e.map=i,e.forEach=function(e,t,i){return r((i,n=null,r)=>e(e=>{t(e),i.call(n,e)},null,r),i)},e.filter=n,e.signal=function(e){return e},e.any=function(...e){return(t,i=null,n)=>{let r=function(...e){let t=f(()=>g(e));return t}(...e.map(e=>e(e=>t.call(i,e))));return n instanceof Array?n.push(r):n&&n.add(r),r}},e.reduce=function(e,t,n,r){let s=n;return i(e,e=>s=t(s,e),r)},e.debounce=s,e.accumulate=function(t,i=0,n){return e.debounce(t,(e,t)=>e?(e.push(t),e):[t],i,void 0,!0,void 0,n)},e.latch=function(e,t=(e,t)=>e===t,i){let r,s=!0;return n(e,e=>{let i=s||!t(e,r);return s=!1,r=e,i},i)},e.split=function(t,i,n){return[e.filter(t,i,n),e.filter(t,e=>!i(e),n)]},e.buffer=function(e,t=!1,i=[],n){let r=i.slice(),s=e(e=>{r?r.push(e):a.fire(e)});n&&n.add(s);let o=()=>{null==r||r.forEach(e=>a.fire(e)),r=null},a=new x({onWillAddFirstListener(){!s&&(s=e(e=>a.fire(e)),n&&n.add(s))},onDidAddFirstListener(){r&&(t?setTimeout(o):o())},onDidRemoveLastListener(){s&&s.dispose(),s=null}});return n&&n.add(a),a.event},e.chain=function(e,t){return(i,n,r)=>{let s=t(new a);return e(function(e){let t=s.evaluate(e);t!==o&&i.call(n,t)},void 0,r)}};let o=Symbol("HaltChainable");class a{constructor(){this.steps=[]}map(e){return this.steps.push(e),this}forEach(e){return this.steps.push(t=>(e(t),t)),this}filter(e){return this.steps.push(t=>e(t)?t:o),this}reduce(e,t){let i=t;return this.steps.push(t=>i=e(i,t)),this}latch(e=(e,t)=>e===t){let t,i=!0;return this.steps.push(n=>{let r=i||!e(n,t);return i=!1,t=n,r?n:o}),this}evaluate(e){for(let t of this.steps)if((e=t(e))===o)break;return e}}e.fromNodeEventEmitter=function(e,t,i=e=>e){let n=(...e)=>r.fire(i(...e)),r=new x({onWillAddFirstListener:()=>e.on(t,n),onDidRemoveLastListener:()=>e.removeListener(t,n)});return r.event},e.fromDOMEventEmitter=function(e,t,i=e=>e){let n=(...e)=>r.fire(i(...e)),r=new x({onWillAddFirstListener:()=>e.addEventListener(t,n),onDidRemoveLastListener:()=>e.removeEventListener(t,n)});return r.event},e.toPromise=function(e){return new Promise(i=>t(e)(i))},e.fromPromise=function(e){let t=new x;return e.then(e=>{t.fire(e)},()=>{t.fire(void 0)}).finally(()=>{t.dispose()}),t.event},e.runAndSubscribe=function(e,t,i){return t(i),e(e=>t(e))};class l{constructor(e,t){this._observable=e,this._counter=0,this._hasChanged=!1;this.emitter=new x({onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}}),t&&t.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){let i=new l(e,t);return i.emitter.event},e.fromObservableLight=function(e){return(t,i,n)=>{let r=0,s=!1,o={beginUpdate(){r++},endUpdate(){0==--r&&(e.reportChanges(),s&&(s=!1,t.call(i)))},handlePossibleChange(){},handleChange(){s=!0}};e.addObserver(o),e.reportChanges();let a={dispose(){e.removeObserver(o)}};return n instanceof p?n.add(a):Array.isArray(n)&&n.push(a),a}}}(ez||(ez={}));class L{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${L._idPool++}`,L.all.add(this)}start(e){this._stopWatch=new C,this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}L.all=new Set,L._idPool=0;class w{constructor(e,t,i=Math.random().toString(18).slice(2,5)){this._errorHandler=e,this.threshold=t,this.name=i,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){let i=this.threshold;if(i<=0||t{let t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}getMostFrequentStack(){let e;if(!this._stacks)return;let t=0;for(let[i,n]of this._stacks)(!e||t{var n,r,o,a,l,u,h;let d;if(this._leakageMon&&this._size>this._leakageMon.threshold**2){let e=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(e);let t=null!==(n=this._leakageMon.getMostFrequentStack())&&void 0!==n?n:["UNKNOWN stack",-1],i=new S(`${e}. HINT: Stack shows most frequent listener (${t[1]}-times)`,t[0]),o=(null===(r=this._options)||void 0===r?void 0:r.onListenerError)||s;return o(i),b.None}if(this._disposed)return b.None;t&&(e=e.bind(t));let c=new R(e);this._leakageMon&&this._size>=Math.ceil(.2*this._leakageMon.threshold)&&(c.stack=N.create(),d=this._leakageMon.check(c.stack,this._size+1)),this._listeners?this._listeners instanceof R?(null!==(h=this._deliveryQueue)&&void 0!==h||(this._deliveryQueue=new M),this._listeners=[this._listeners,c]):this._listeners.push(c):(null===(a=null===(o=this._options)||void 0===o?void 0:o.onWillAddFirstListener)||void 0===a||a.call(o,this),this._listeners=c,null===(u=null===(l=this._options)||void 0===l?void 0:l.onDidAddFirstListener)||void 0===u||u.call(l,this)),this._size++;let m=f(()=>{null==A||A.unregister(m),null==d||d(),this._removeListener(c)});if(i instanceof p?i.add(m):Array.isArray(i)&&i.push(m),A){let e=Error().stack.split("\n").slice(2).join("\n").trim();A.register(m,e,m)}return m}),this._event}_removeListener(e){var t,i,n,r;if(null===(i=null===(t=this._options)||void 0===t?void 0:t.onWillRemoveListener)||void 0===i||i.call(t,this),!this._listeners)return;if(1===this._size){this._listeners=void 0,null===(r=null===(n=this._options)||void 0===n?void 0:n.onDidRemoveLastListener)||void 0===r||r.call(n,this),this._size=0;return}let s=this._listeners,o=s.indexOf(e);if(-1===o)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),Error("Attempted to dispose unknown listener");this._size--,s[o]=void 0;let a=this._deliveryQueue.current===this;if(2*this._size<=s.length){let e=0;for(let t=0;t0}}class M{constructor(){this.i=-1,this.end=0}enqueue(e,t,i){this.i=0,this.end=i,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}function k(e){let t=[];for(let i of function(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}(e))"function"==typeof e[i]&&t.push(i);return t}Object.prototype.hasOwnProperty;let T="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function O(e,t,...i){let n;return n=0===i.length?t:t.replace(/\{(\d+)\}/g,(e,t)=>{let n=t[0],r=i[n],s=e;return"string"==typeof r?s=r:("number"==typeof r||"boolean"==typeof r||null==r)&&(s=String(r)),s}),T&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}var I,P,F,D,K,q,V,B,U,H,z,W,$,j,G,Q,X,J,Y,Z,ee,et,ei,en,er,es,eo,ea,el,eu,eh,ed,ec,em,eg,ef,ep,eb,e_,ev,ey,eC,eL,ew,eN,eE,eS,eR,eA,ex,eM,ek,eT,eO,eI,eP,eF,eD,eK,eq,eV,eB,eU,eH,ez,eW,e$,ej,eG,eQ,eX,eJ,eY,eZ,e1,e0,e2,e4,e5,e7,e9,e6,e8,e3,te,tt,ti,tn,tr,ts,to,ta,tl,tu,th,td,tc,tm,tg,tf,tp,tb,t_,tv,ty,tC,tL,tw,tN,tE,tS,tR,tA,tx,tM,tk,tT,tO,tI,tP,tF,tD,tK,tq,tV,tB,tU,tH,tz,tW,t$,tj,tG,tQ,tX=i(454);let tJ=!1,tY=!1,tZ=!1,t1=globalThis;void 0!==t1.vscode&&void 0!==t1.vscode.process?n=t1.vscode.process:void 0!==tX&&"string"==typeof(null===(eW=null==tX?void 0:tX.versions)||void 0===eW?void 0:eW.node)&&(n=tX);let t0="string"==typeof(null===(e$=null==n?void 0:n.versions)||void 0===e$?void 0:e$.electron),t2=t0&&(null==n?void 0:n.type)==="renderer";if("object"==typeof n){tJ="win32"===n.platform,tY="darwin"===n.platform,"linux"===n.platform&&n.env.SNAP&&n.env.SNAP_REVISION,n.env.CI||n.env.BUILD_ARTIFACTSTAGINGDIRECTORY;let e=n.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e);t.availableLanguages["*"],t.locale,t.osLocale,t._translationsConfigFile}catch(e){}}else"object"!=typeof navigator||t2?console.error("Unable to resolve platform."):(tJ=(t=navigator.userAgent).indexOf("Windows")>=0,tY=t.indexOf("Macintosh")>=0,(t.indexOf("Macintosh")>=0||t.indexOf("iPad")>=0||t.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints,t.indexOf("Linux"),null==t||t.indexOf("Mobi"),tZ=!0,O({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),navigator.language);let t4=tJ,t5=tY,t7=tZ&&"function"==typeof t1.importScripts;t7&&t1.origin;let t9=t,t6="function"==typeof t1.postMessage&&!t1.importScripts;(()=>{if(t6){let e=[];t1.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=e.length;i{let n=++t;e.push({id:n,callback:i}),t1.postMessage({vscodeScheduleAsyncWork:n},"*")}}return e=>setTimeout(e)})();let t8=!!(t9&&t9.indexOf("Chrome")>=0);function t3(e){return e}t9&&t9.indexOf("Firefox"),!t8&&t9&&t9.indexOf("Safari"),t9&&t9.indexOf("Edg/"),t9&&t9.indexOf("Android");class ie{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function it(e){return e>=65&&e<=90}function ii(e){return 55296<=e&&e<=56319}function ir(e){return 56320<=e&&e<=57343}function is(e,t){return(e-55296<<10)+(t-56320)+65536}let io=/^[\t\n\r\x20-\x7E]*$/;String.fromCharCode(65279);class ia{static getInstance(){return ia._INSTANCE||(ia._INSTANCE=new ia),ia._INSTANCE}constructor(){this._data=JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;let t=this._data,i=t.length/3,n=1;for(;n<=i;)if(et[3*n+1]))return t[3*n+2];n=2*n+1}return 0}}ia._INSTANCE=null;class il{static getInstance(e){return ej.cache.get(Array.from(e))}static getLocales(){return ej._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}ej=il,il.ambiguousCharacterData=new ie(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),il.cache=new class{constructor(e,t){this.lastCache=void 0,this.lastArgKey=void 0,"function"==typeof e?(this._fn=e,this._computeKey=t3):(this._fn=t,this._computeKey=e.getCacheKey)}get(e){let t=this._computeKey(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this._fn(e)),this.lastCache}}({getCacheKey:JSON.stringify},e=>{let t;function i(e){let t=new Map;for(let i=0;i!e.startsWith("_")&&e in n);for(let e of(0===r.length&&(r=["_default"]),r)){let r=i(n[e]);t=function(e,t){if(!e)return t;let i=new Map;for(let[n,r]of e)t.has(n)&&i.set(n,r);return i}(t,r)}let s=i(n._common),o=function(e,t){let i=new Map(e);for(let[e,n]of t)i.set(e,n);return i}(s,t);return new ej(o)}),il._locales=new ie(()=>Object.keys(ej.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class iu{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(iu.getRawData())),this._data}static isInvisibleCharacter(e){return iu.getData().has(e)}static get codePoints(){return iu.getData()}}iu._data=void 0;class ih{constructor(e,t,i,n){this.vsWorker=e,this.req=t,this.method=i,this.args=n,this.type=0}}class id{constructor(e,t,i,n){this.vsWorker=e,this.seq=t,this.res=i,this.err=n,this.type=1}}class ic{constructor(e,t,i,n){this.vsWorker=e,this.req=t,this.eventName=i,this.arg=n,this.type=2}}class im{constructor(e,t,i){this.vsWorker=e,this.req=t,this.event=i,this.type=3}}class ig{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class ip{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){let i=String(++this._lastSentReq);return new Promise((n,r)=>{this._pendingReplies[i]={resolve:n,reject:r},this._send(new ih(this._workerId,i,e,t))})}listen(e,t){let i=null,n=new x({onWillAddFirstListener:()=>{i=String(++this._lastSentReq),this._pendingEmitters.set(i,n),this._send(new ic(this._workerId,i,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(i),this._send(new ig(this._workerId,i)),i=null}});return n.event}handleMessage(e){e&&e.vsWorker&&(-1===this._workerId||e.vsWorker===this._workerId)&&this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let i=e.err;e.err.$isError&&((i=Error()).name=e.err.name,i.message=e.err.message,i.stack=e.err.stack),t.reject(i);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req,i=this._handler.handleMessage(e.method,e.args);i.then(e=>{this._send(new id(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=o(e.detail)),this._send(new id(this._workerId,t,void 0,o(e)))})}_handleSubscribeEventMessage(e){let t=e.req,i=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new im(this._workerId,t,e))});this._pendingEvents.set(t,i)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(0===e.type)for(let i=0;i{e(t,i)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}_handleEvent(e,t){if(!this._requestHandler)throw Error("Missing requestHandler");if(i_(e)){let i=this._requestHandler[e].call(this._requestHandler,t);if("function"!=typeof i)throw Error(`Missing dynamic event ${e} on request handler.`);return i}if(ib(e)){let t=this._requestHandler[e];if("function"!=typeof t)throw Error(`Missing event ${e} on request handler.`);return t}throw Error(`Malformed event name ${e}`)}initialize(e,t,i,n){this._protocol.setWorkerId(e);let r=function(e,t,i){let n=e=>function(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},r=e=>function(t){return i(e,t)},s={};for(let t of e){if(i_(t)){s[t]=r(t);continue}if(ib(t)){s[t]=i(t,void 0);continue}s[t]=n(t)}return s}(n,(e,t)=>this._protocol.sendMessage(e,t),(e,t)=>this._protocol.listen(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(r),Promise.resolve(k(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,void 0!==t.trustedTypesPolicy&&delete t.trustedTypesPolicy,t.catchError=!0,globalThis.require.config(t)),new Promise((e,t)=>{let n=globalThis.require;n([i],i=>{if(this._requestHandler=i.create(r),!this._requestHandler){t(Error("No RequestHandler!"));return}e(k(this._requestHandler))},t)}))}}class iy{constructor(e,t,i,n){this.originalStart=e,this.originalLength=t,this.modifiedStart=i,this.modifiedLength=n}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function iC(e,t,i=32){let n=i-t;return(e<>>n)>>>0}function iL(e,t=0,i=e.byteLength,n=0){for(let r=0;re.toString(16).padStart(2,"0")).join(""):function(e,t,i="0"){for(;e.length>>0).toString(16),t/4)}class iN{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,i;let n=e.length;if(0===n)return;let r=this._buff,s=this._buffLen,o=this._leftoverHighSurrogate;for(0!==o?(t=o,i=-1,o=0):(t=e.charCodeAt(0),i=0);;){let a=t;if(ii(t)){if(i+1>>6,e[t++]=128|(63&i)>>>0):i<65536?(e[t++]=224|(61440&i)>>>12,e[t++]=128|(4032&i)>>>6,e[t++]=128|(63&i)>>>0):(e[t++]=240|(1835008&i)>>>18,e[t++]=128|(258048&i)>>>12,e[t++]=128|(4032&i)>>>6,e[t++]=128|(63&i)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),iw(this._h0)+iw(this._h1)+iw(this._h2)+iw(this._h3)+iw(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,iL(this._buff,this._buffLen),this._buffLen>56&&(this._step(),iL(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){let e,t,i;let n=iN._bigBlock32,r=this._buffDV;for(let e=0;e<64;e+=4)n.setUint32(e,r.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)n.setUint32(e,iC(n.getUint32(e-12,!1)^n.getUint32(e-32,!1)^n.getUint32(e-56,!1)^n.getUint32(e-64,!1),1),!1);let s=this._h0,o=this._h1,a=this._h2,l=this._h3,u=this._h4;for(let r=0;r<80;r++)r<20?(e=o&a|~o&l,t=1518500249):r<40?(e=o^a^l,t=1859775393):r<60?(e=o&a|o&l|a&l,t=2400959708):(e=o^a^l,t=3395469782),i=iC(s,5)+e+u+t+n.getUint32(4*r,!1)&4294967295,u=l,l=a,a=iC(o,30),o=s,s=i;this._h0=this._h0+s&4294967295,this._h1=this._h1+o&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+l&4294967295,this._h4=this._h4+u&4294967295}}iN._bigBlock32=new DataView(new ArrayBuffer(320));class iE{constructor(e){this.source=e}getElements(){let e=this.source,t=new Int32Array(e.length);for(let i=0,n=e.length;i0||this.m_modifiedCount>0)&&this.m_changes.push(new iy(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class ix{constructor(e,t,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=e,this._modifiedSequence=t;let[n,r,s]=ix._getElements(e),[o,a,l]=ix._getElements(t);this._hasStrings=s&&l,this._originalStringElements=n,this._originalElementsOrHash=r,this._modifiedStringElements=o,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){let t=e.getElements();if(ix._isStringArray(t)){let e=new Int32Array(t.length);for(let i=0,n=t.length;i=e&&n>=i&&this.ElementsAreEqual(t,n);)t--,n--;if(e>t||i>n){let r;return i<=n?(iS.Assert(e===t+1,"originalStart should only be one more than originalEnd"),r=[new iy(e,0,i,n-i+1)]):e<=t?(iS.Assert(i===n+1,"modifiedStart should only be one more than modifiedEnd"),r=[new iy(e,t-e+1,i,0)]):(iS.Assert(e===t+1,"originalStart should only be one more than originalEnd"),iS.Assert(i===n+1,"modifiedStart should only be one more than modifiedEnd"),r=[]),r}let s=[0],o=[0],a=this.ComputeRecursionPoint(e,t,i,n,s,o,r),l=s[0],u=o[0];if(null!==a)return a;if(!r[0]){let s=this.ComputeDiffRecursive(e,l,i,u,r),o=[];return o=r[0]?[new iy(l+1,t-(l+1)+1,u+1,n-(u+1)+1)]:this.ComputeDiffRecursive(l+1,t,u+1,n,r),this.ConcatenateChanges(s,o)}return[new iy(e,t-e+1,i,n-i+1)]}WALKTRACE(e,t,i,n,r,s,o,a,l,u,h,d,c,m,g,f,p,b){let _=null,v=null,y=new iA,C=t,L=i,w=c[0]-f[0]-n,N=-1073741824,E=this.m_forwardHistory.length-1;do{let t=w+e;t===C||t=0&&(e=(l=this.m_forwardHistory[E])[0],C=1,L=l.length-1)}while(--E>=-1);if(_=y.getReverseChanges(),b[0]){let e=c[0]+1,t=f[0]+1;if(null!==_&&_.length>0){let i=_[_.length-1];e=Math.max(e,i.getOriginalEnd()),t=Math.max(t,i.getModifiedEnd())}v=[new iy(e,d-e+1,t,g-t+1)]}else{y=new iA,C=s,L=o,w=c[0]-f[0]-a,N=1073741824,E=p?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let e=w+r;e===C||e=u[e+1]?(m=(h=u[e+1]-1)-w-a,h>N&&y.MarkNextChange(),N=h+1,y.AddOriginalElement(h+1,m+1),w=e+1-r):(m=(h=u[e-1])-w-a,h>N&&y.MarkNextChange(),N=h,y.AddModifiedElement(h+1,m+1),w=e-1-r),E>=0&&(r=(u=this.m_reverseHistory[E])[0],C=1,L=u.length-1)}while(--E>=-1);v=y.getChanges()}return this.ConcatenateChanges(_,v)}ComputeRecursionPoint(e,t,i,n,r,s,o){let a=0,l=0,u=0,h=0,d=0,c=0;e--,i--,r[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let m=t-e+(n-i),g=m+1,f=new Int32Array(g),p=new Int32Array(g),b=n-i,_=t-e,v=e-i,y=t-n,C=_-b,L=C%2==0;f[b]=e,p[_]=t,o[0]=!1;for(let C=1;C<=m/2+1;C++){let m=0,w=0;u=this.ClipDiagonalBound(b-C,C,b,g),h=this.ClipDiagonalBound(b+C,C,b,g);for(let e=u;e<=h;e+=2){l=(a=e===u||em+w&&(m=a,w=l),!L&&Math.abs(e-_)<=C-1&&a>=p[e]){if(r[0]=a,s[0]=l,i<=p[e]&&C<=1448)return this.WALKTRACE(b,u,h,v,_,d,c,y,f,p,a,t,r,l,n,s,L,o);return null}}let N=(m-e+(w-i)-C)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(m,N)){if(o[0]=!0,r[0]=m,s[0]=w,!(N>0)||!(C<=1448))return e++,i++,[new iy(e,t-e+1,i,n-i+1)];break}d=this.ClipDiagonalBound(_-C,C,_,g),c=this.ClipDiagonalBound(_+C,C,_,g);for(let m=d;m<=c;m+=2){l=(a=m===d||m=p[m+1]?p[m+1]-1:p[m-1])-(m-_)-y;let g=a;for(;a>e&&l>i&&this.ElementsAreEqual(a,l);)a--,l--;if(p[m]=a,L&&Math.abs(m-b)<=C&&a<=f[m]){if(r[0]=a,s[0]=l,g>=f[m]&&C<=1448)return this.WALKTRACE(b,u,h,v,_,d,c,y,f,p,a,t,r,l,n,s,L,o);return null}}if(C<=1447){let e=new Int32Array(h-u+2);e[0]=b-u+1,iR.Copy2(f,u,e,1,h-u+1),this.m_forwardHistory.push(e),(e=new Int32Array(c-d+2))[0]=_-d+1,iR.Copy2(p,d,e,1,c-d+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(b,u,h,v,_,d,c,y,f,p,a,t,r,l,n,s,L,o)}PrettifyChanges(e){for(let t=0;t0,o=i.modifiedLength>0;for(;i.originalStart+i.originalLength=0;t--){let i=e[t],n=0,r=0;if(t>0){let i=e[t-1];n=i.originalStart+i.originalLength,r=i.modifiedStart+i.modifiedLength}let s=i.originalLength>0,o=i.modifiedLength>0,a=0,l=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let e=1;;e++){let t=i.originalStart-e,u=i.modifiedStart-e;if(tl&&(l=d,a=e)}i.originalStart-=a,i.modifiedStart-=a;let u=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],u)){e[t-1]=u[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,i=e.length;t0&&i>a&&(a=i,l=t,u=e)}return a>0?[l,u]:null}_contiguousSequenceScore(e,t,i){let n=0;for(let r=0;r=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){let i=e+t;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){let i=e+t;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(e,t,i,n){let r=this._OriginalRegionIsBoundary(e,t)?1:0,s=this._ModifiedRegionIsBoundary(i,n)?1:0;return r+s}ConcatenateChanges(e,t){let i=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],i)){let n=Array(e.length+t.length-1);return iR.Copy(e,0,n,0,e.length-1),n[e.length-1]=i[0],iR.Copy(t,1,n,e.length,t.length-1),n}{let i=Array(e.length+t.length);return iR.Copy(e,0,i,0,e.length),iR.Copy(t,0,i,e.length,t.length),i}}ChangesOverlap(e,t,i){if(iS.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),iS.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),!(e.originalStart+e.originalLength>=t.originalStart)&&!(e.modifiedStart+e.modifiedLength>=t.modifiedStart))return i[0]=null,!1;{let n=e.originalStart,r=e.originalLength,s=e.modifiedStart,o=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(r=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(o=t.modifiedStart+t.modifiedLength-e.modifiedStart),i[0]=new iy(n,r,s,o),!0}}ClipDiagonalBound(e,t,i,n){if(e>=0&&et.cwd()}}else e=void 0!==iM?{get platform(){return iM.platform},get arch(){return iM.arch},get env(){return iM.env},cwd:()=>iM.env.VSCODE_CWD||iM.cwd()}:{get platform(){return t4?"win32":t5?"darwin":"linux"},get arch(){return},get env(){return{}},cwd:()=>"/"};let iT=e.cwd,iO=e.env,iI=e.platform;class iP extends Error{constructor(e,t,i){let n;"string"==typeof t&&0===t.indexOf("not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let r=-1!==e.indexOf(".")?"property":"argument",s=`The "${e}" ${r} ${n} of type ${t}`;super(s+=`. Received type ${typeof i}`),this.code="ERR_INVALID_ARG_TYPE"}}function iF(e,t){if("string"!=typeof e)throw new iP(t,"string",e)}let iD="win32"===iI;function iK(e){return 47===e||92===e}function iq(e){return 47===e}function iV(e){return e>=65&&e<=90||e>=97&&e<=122}function iB(e,t,i,n){let r="",s=0,o=-1,a=0,l=0;for(let u=0;u<=e.length;++u){if(u2){let e=r.lastIndexOf(i);-1===e?(r="",s=0):s=(r=r.slice(0,e)).length-1-r.lastIndexOf(i),o=u,a=0;continue}if(0!==r.length){r="",s=0,o=u,a=0;continue}}t&&(r+=r.length>0?`${i}..`:"..",s=2)}else r.length>0?r+=`${i}${e.slice(o+1,u)}`:r=e.slice(o+1,u),s=u-o-1;o=u,a=0}else 46===l&&-1!==a?++a:a=-1}return r}function iU(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new iP(t,"Object",e)}(t,"pathObject");let i=t.dir||t.root,n=t.base||`${t.name||""}${t.ext||""}`;return i?i===t.root?`${i}${n}`:`${i}${e}${n}`:n}let iH={resolve(...e){let t="",i="",n=!1;for(let r=e.length-1;r>=-1;r--){let s;if(r>=0){if(iF(s=e[r],"path"),0===s.length)continue}else 0===t.length?s=iT():(void 0===(s=iO[`=${t}`]||iT())||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===s.charCodeAt(2))&&(s=`${t}\\`);let o=s.length,a=0,l="",u=!1,h=s.charCodeAt(0);if(1===o)iK(h)&&(a=1,u=!0);else if(iK(h)){if(u=!0,iK(s.charCodeAt(1))){let e=2,t=2;for(;e2&&iK(s.charCodeAt(2))&&(u=!0,a=3));if(l.length>0){if(t.length>0){if(l.toLowerCase()!==t.toLowerCase())continue}else t=l}if(n){if(t.length>0)break}else if(i=`${s.slice(a)}\\${i}`,n=u,u&&t.length>0)break}return i=iB(i,!n,"\\",iK),n?`${t}\\${i}`:`${t}${i}`||"."},normalize(e){let t;iF(e,"path");let i=e.length;if(0===i)return".";let n=0,r=!1,s=e.charCodeAt(0);if(1===i)return iq(s)?"\\":e;if(iK(s)){if(r=!0,iK(e.charCodeAt(1))){let r=2,s=2;for(;r2&&iK(e.charCodeAt(2))&&(r=!0,n=3));let o=n0&&iK(e.charCodeAt(i-1))&&(o+="\\"),void 0===t)?r?`\\${o}`:o:r?`${t}\\${o}`:`${t}${o}`},isAbsolute(e){iF(e,"path");let t=e.length;if(0===t)return!1;let i=e.charCodeAt(0);return iK(i)||t>2&&iV(i)&&58===e.charCodeAt(1)&&iK(e.charCodeAt(2))},join(...e){let t,i;if(0===e.length)return".";for(let n=0;n0&&(void 0===t?t=i=r:t+=`\\${r}`)}if(void 0===t)return".";let n=!0,r=0;if("string"==typeof i&&iK(i.charCodeAt(0))){++r;let e=i.length;e>1&&iK(i.charCodeAt(1))&&(++r,e>2&&(iK(i.charCodeAt(2))?++r:n=!1))}if(n){for(;r=2&&(t=`\\${t.slice(r)}`)}return iH.normalize(t)},relative(e,t){if(iF(e,"from"),iF(t,"to"),e===t)return"";let i=iH.resolve(e),n=iH.resolve(t);if(i===n||(e=i.toLowerCase())===(t=n.toLowerCase()))return"";let r=0;for(;rr&&92===e.charCodeAt(s-1);)s--;let o=s-r,a=0;for(;aa&&92===t.charCodeAt(l-1);)l--;let u=l-a,h=oh){if(92===t.charCodeAt(a+c))return n.slice(a+c+1);if(2===c)return n.slice(a+c)}o>h&&(92===e.charCodeAt(r+c)?d=c:2===c&&(d=3)),-1===d&&(d=0)}let m="";for(c=r+d+1;c<=s;++c)(c===s||92===e.charCodeAt(c))&&(m+=0===m.length?"..":"\\..");return(a+=d,m.length>0)?`${m}${n.slice(a,l)}`:(92===n.charCodeAt(a)&&++a,n.slice(a,l))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;let t=iH.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){let e=t.charCodeAt(2);if(63!==e&&46!==e)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(iV(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return`\\\\?\\${t}`;return e},dirname(e){iF(e,"path");let t=e.length;if(0===t)return".";let i=-1,n=0,r=e.charCodeAt(0);if(1===t)return iK(r)?e:".";if(iK(r)){if(i=n=1,iK(e.charCodeAt(1))){let r=2,s=2;for(;r2&&iK(e.charCodeAt(2))?3:2);let s=-1,o=!0;for(let i=t-1;i>=n;--i)if(iK(e.charCodeAt(i))){if(!o){s=i;break}}else o=!1;if(-1===s){if(-1===i)return".";s=i}return e.slice(0,s)},basename(e,t){let i;void 0!==t&&iF(t,"ext"),iF(e,"path");let n=0,r=-1,s=!0;if(e.length>=2&&iV(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(n=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(i=e.length-1;i>=n;--i){let l=e.charCodeAt(i);if(iK(l)){if(!s){n=i+1;break}}else -1===a&&(s=!1,a=i+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(r=i):(o=-1,r=a))}return n===r?r=a:-1===r&&(r=e.length),e.slice(n,r)}for(i=e.length-1;i>=n;--i)if(iK(e.charCodeAt(i))){if(!s){n=i+1;break}}else -1===r&&(s=!1,r=i+1);return -1===r?"":e.slice(n,r)},extname(e){iF(e,"path");let t=0,i=-1,n=0,r=-1,s=!0,o=0;e.length>=2&&58===e.charCodeAt(1)&&iV(e.charCodeAt(0))&&(t=n=2);for(let a=e.length-1;a>=t;--a){let t=e.charCodeAt(a);if(iK(t)){if(!s){n=a+1;break}continue}-1===r&&(s=!1,r=a+1),46===t?-1===i?i=a:1!==o&&(o=1):-1!==i&&(o=-1)}return -1===i||-1===r||0===o||1===o&&i===r-1&&i===n+1?"":e.slice(i,r)},format:iU.bind(null,"\\"),parse(e){iF(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;let i=e.length,n=0,r=e.charCodeAt(0);if(1===i)return iK(r)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(iK(r)){if(n=1,iK(e.charCodeAt(1))){let t=2,r=2;for(;t0&&(t.root=e.slice(0,n));let s=-1,o=n,a=-1,l=!0,u=e.length-1,h=0;for(;u>=n;--u){if(iK(r=e.charCodeAt(u))){if(!l){o=u+1;break}continue}-1===a&&(l=!1,a=u+1),46===r?-1===s?s=u:1!==h&&(h=1):-1!==s&&(h=-1)}return -1!==a&&(-1===s||0===h||1===h&&s===a-1&&s===o+1?t.base=t.name=e.slice(o,a):(t.name=e.slice(o,s),t.base=e.slice(o,a),t.ext=e.slice(s,a))),o>0&&o!==n?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},iz=(()=>{if(iD){let e=/\\/g;return()=>{let t=iT().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>iT()})(),iW={resolve(...e){let t="",i=!1;for(let n=e.length-1;n>=-1&&!i;n--){let r=n>=0?e[n]:iz();iF(r,"path"),0!==r.length&&(t=`${r}/${t}`,i=47===r.charCodeAt(0))}return(t=iB(t,!i,"/",iq),i)?`/${t}`:t.length>0?t:"."},normalize(e){if(iF(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0===(e=iB(e,!t,"/",iq)).length?t?"/":i?"./":".":(i&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(iF(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){let t;if(0===e.length)return".";for(let i=0;i0&&(void 0===t?t=n:t+=`/${n}`)}return void 0===t?".":iW.normalize(t)},relative(e,t){if(iF(e,"from"),iF(t,"to"),e===t||(e=iW.resolve(e))===(t=iW.resolve(t)))return"";let i=e.length,n=i-1,r=t.length-1,s=ns){if(47===t.charCodeAt(1+a))return t.slice(1+a+1);if(0===a)return t.slice(1+a)}else n>s&&(47===e.charCodeAt(1+a)?o=a:0===a&&(o=0))}let l="";for(a=1+o+1;a<=i;++a)(a===i||47===e.charCodeAt(a))&&(l+=0===l.length?"..":"/..");return`${l}${t.slice(1+o)}`},toNamespacedPath:e=>e,dirname(e){if(iF(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),i=-1,n=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!n){i=t;break}}else n=!1;return -1===i?t?"/":".":t&&1===i?"//":e.slice(0,i)},basename(e,t){let i;void 0!==t&&iF(t,"ext"),iF(e,"path");let n=0,r=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(i=e.length-1;i>=0;--i){let l=e.charCodeAt(i);if(47===l){if(!s){n=i+1;break}}else -1===a&&(s=!1,a=i+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(r=i):(o=-1,r=a))}return n===r?r=a:-1===r&&(r=e.length),e.slice(n,r)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!s){n=i+1;break}}else -1===r&&(s=!1,r=i+1);return -1===r?"":e.slice(n,r)},extname(e){iF(e,"path");let t=-1,i=0,n=-1,r=!0,s=0;for(let o=e.length-1;o>=0;--o){let a=e.charCodeAt(o);if(47===a){if(!r){i=o+1;break}continue}-1===n&&(r=!1,n=o+1),46===a?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1)}return -1===t||-1===n||0===s||1===s&&t===n-1&&t===i+1?"":e.slice(t,n)},format:iU.bind(null,"/"),parse(e){let t;iF(e,"path");let i={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return i;let n=47===e.charCodeAt(0);n?(i.root="/",t=1):t=0;let r=-1,s=0,o=-1,a=!0,l=e.length-1,u=0;for(;l>=t;--l){let t=e.charCodeAt(l);if(47===t){if(!a){s=l+1;break}continue}-1===o&&(a=!1,o=l+1),46===t?-1===r?r=l:1!==u&&(u=1):-1!==r&&(u=-1)}if(-1!==o){let t=0===s&&n?1:s;-1===r||0===u||1===u&&r===o-1&&r===s+1?i.base=i.name=e.slice(t,o):(i.name=e.slice(t,r),i.base=e.slice(t,o),i.ext=e.slice(r,o))}return s>0?i.dir=e.slice(0,s-1):n&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};iW.win32=iH.win32=iH,iW.posix=iH.posix=iW,iD?iH.normalize:iW.normalize,iD?iH.resolve:iW.resolve,iD?iH.relative:iW.relative,iD?iH.dirname:iW.dirname,iD?iH.basename:iW.basename,iD?iH.extname:iW.extname,iD?iH.sep:iW.sep;let i$=/^\w[\w\d+.-]*$/,ij=/^\//,iG=/^\/\//,iQ=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class iX{static isUri(e){return e instanceof iX||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}constructor(e,t,i,n,r,s=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=e||s?e:"file",this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,i||""),this.query=n||"",this.fragment=r||"",function(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!i$.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!ij.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(iG.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,s))}get fsPath(){return i2(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:i,path:n,query:r,fragment:s}=e;return(void 0===t?t=this.scheme:null===t&&(t=""),void 0===i?i=this.authority:null===i&&(i=""),void 0===n?n=this.path:null===n&&(n=""),void 0===r?r=this.query:null===r&&(r=""),void 0===s?s=this.fragment:null===s&&(s=""),t===this.scheme&&i===this.authority&&n===this.path&&r===this.query&&s===this.fragment)?this:new iY(t,i,n,r,s)}static parse(e,t=!1){let i=iQ.exec(e);return i?new iY(i[2]||"",i7(i[4]||""),i7(i[5]||""),i7(i[7]||""),i7(i[9]||""),t):new iY("","","","","")}static file(e){let t="";if(t4&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1]){let i=e.indexOf("/",2);-1===i?(t=e.substring(2),e="/"):(t=e.substring(2,i),e=e.substring(i)||"/")}return new iY("file",t,e,"","")}static from(e,t){let i=new iY(e.scheme,e.authority,e.path,e.query,e.fragment,t);return i}static joinPath(e,...t){let i;if(!e.path)throw Error("[UriError]: cannot call joinPath on URI without path");return i=t4&&"file"===e.scheme?iX.file(iH.join(i2(e,!0),...t)).path:iW.join(e.path,...t),e.with({path:i})}toString(e=!1){return i4(this,e)}toJSON(){return this}static revive(e){var t,i;if(!e||e instanceof iX)return e;{let n=new iY(e);return n._formatted=null!==(t=e.external)&&void 0!==t?t:null,n._fsPath=e._sep===iJ&&null!==(i=e.fsPath)&&void 0!==i?i:null,n}}}let iJ=t4?1:void 0;class iY extends iX{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=i2(this,!1)),this._fsPath}toString(e=!1){return e?i4(this,!0):(this._formatted||(this._formatted=i4(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=iJ),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let iZ={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function i1(e,t,i){let n;let r=-1;for(let s=0;s=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o||i&&91===o||i&&93===o||i&&58===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,s)),r=-1),void 0!==n&&(n+=e.charAt(s));else{void 0===n&&(n=e.substr(0,s));let t=iZ[o];void 0!==t?(-1!==r&&(n+=encodeURIComponent(e.substring(r,s)),r=-1),n+=t):-1===r&&(r=s)}}return -1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function i0(e){let t;for(let i=0;i1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,t4&&(i=i.replace(/\//g,"\\")),i}function i4(e,t){let i=t?i0:i1,n="",{scheme:r,authority:s,path:o,query:a,fragment:l}=e;if(r&&(n+=r+":"),(s||"file"===r)&&(n+="//"),s){let e=s.indexOf("@");if(-1!==e){let t=s.substr(0,e);s=s.substr(e+1),-1===(e=t.lastIndexOf(":"))?n+=i(t,!1,!1):n+=i(t.substr(0,e),!1,!1)+":"+i(t.substr(e+1),!1,!0),n+="@"}-1===(e=(s=s.toLowerCase()).lastIndexOf(":"))?n+=i(s,!1,!0):n+=i(s.substr(0,e),!1,!0)+s.substr(e)}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){let e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){let e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}n+=i(o,!0,!1)}return a&&(n+="?"+i(a,!1,!1)),l&&(n+="#"+(t?l:i1(l,!1,!1))),n}let i5=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function i7(e){return e.match(i5)?e.replace(i5,e=>(function e(t){try{return decodeURIComponent(t)}catch(i){if(t.length>3)return t.substr(0,3)+e(t.substr(3));return t}})(e)):e}class i9{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new i9(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return i9.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return i9.isBefore(this,e)}static isBefore(e,t){return e.lineNumberi||e===i&&t>n?(this.startLineNumber=i,this.startColumn=n,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=i,this.endColumn=n)}isEmpty(){return i6.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return i6.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))}containsRange(e){return i6.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))}strictContainsRange(e){return i6.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))}plusRange(e){return i6.plusRange(this,e)}static plusRange(e,t){let i,n,r,s;return t.startLineNumbere.endLineNumber?(r=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(r=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(r=e.endLineNumber,s=e.endColumn),new i6(i,n,r,s)}intersectRanges(e){return i6.intersectRanges(this,e)}static intersectRanges(e,t){let i=e.startLineNumber,n=e.startColumn,r=e.endLineNumber,s=e.endColumn,o=t.startLineNumber,a=t.startColumn,l=t.endLineNumber,u=t.endColumn;return(il?(r=l,s=u):r===l&&(s=Math.min(s,u)),i>r||i===r&&n>s)?null:new i6(i,n,r,s)}equalsRange(e){return i6.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return i6.getEndPosition(this)}static getEndPosition(e){return new i9(e.endLineNumber,e.endColumn)}getStartPosition(){return i6.getStartPosition(this)}static getStartPosition(e){return new i9(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new i6(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new i6(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return i6.collapseToStart(this)}static collapseToStart(e){return new i6(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return i6.collapseToEnd(this)}static collapseToEnd(e){return new i6(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new i6(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new i6(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new i6(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}function i8(e,t){return(i,n)=>t(e(i),e(n))}(I=eG||(eG={})).isLessThan=function(e){return e<0},I.isLessThanOrEqual=function(e){return e<=0},I.isGreaterThan=function(e){return e>0},I.isNeitherLessOrGreaterThan=function(e){return 0===e},I.greaterThan=1,I.lessThan=-1,I.neitherLessOrGreaterThan=0;let i3=(e,t)=>e-t;class ne{constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new ne(t=>this.iterate(i=>!e(i)||t(i)))}map(e){return new ne(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t;let i=!0;return this.iterate(n=>((i||eG.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}}function nt(e){return e<0?0:e>255?255:0|e}function ni(e){return e<0?0:e>4294967295?4294967295:0|e}ne.empty=new ne(e=>{});class nn{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=ni(e);let i=this.values,n=this.prefixSum,r=t.length;return 0!==r&&(this.values=new Uint32Array(i.length+r),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e),e+r),this.values.set(t,e),e-1=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=ni(e),t=ni(t),this.values[e]!==t&&(this.values[e]=t,e-1=i.length)return!1;let r=i.length-e;return t>=r&&(t=r),0!==t&&(this.values=new Uint32Array(i.length-t),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=ni(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let i=t;i<=e;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,i=this.values.length-1,n=0,r=0,s=0;for(;t<=i;)if(n=t+(i-t)/2|0,e<(s=(r=this.prefixSum[n])-this.values[n]))i=n-1;else if(e>=r)t=n+1;else break;return new nr(n,e-s)}}class nr{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class ns{constructor(e,t,i,n){this._uri=e,this._lines=t,this._eol=i,this._versionId=n,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);let t=e.changes;for(let e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new i9(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,t=this._lines.length,i=new Uint32Array(t);for(let n=0;n/?")e.indexOf(i)>=0||(t+="\\"+i);return RegExp(t+="\\s]+)","g")}();function na(e){let t=no;if(e&&e instanceof RegExp){if(e.global)t=e;else{let i="g";e.ignoreCase&&(i+="i"),e.multiline&&(i+="m"),e.unicode&&(i+="u"),t=new RegExp(e.source,i)}}return t.lastIndex=0,t}let nl=new v;function nu(e,t,i,n,r){if(t=na(t),r||(r=eH.first(nl)),i.length>r.maxLen){let s=e-r.maxLen/2;return s<0?s=0:n+=s,i=i.substring(s,e+r.maxLen/2),nu(e,t,i,n,r)}let s=Date.now(),o=e-1-n,a=-1,l=null;for(let e=1;!(Date.now()-s>=r.timeBudget);e++){let n=o-r.windowSize*e;t.lastIndex=Math.max(0,n);let s=function(e,t,i,n){let r;for(;r=e.exec(t);){let t=r.index||0;if(t<=i&&e.lastIndex>=i)return r;if(n>0&&t>n)break}return null}(t,i,o,a);if(!s&&l||(l=s,n<=0))break;a=n}if(l){let e={word:l[0],startColumn:n+1+l.index,endColumn:n+1+l.index+l[0].length};return t.lastIndex=0,e}return null}nl.unshift({maxLen:1e3,windowSize:15,timeBudget:150});class nh{constructor(e){let t=nt(e);this._defaultValue=t,this._asciiMap=nh._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);return t.fill(e),t}set(e,t){let i=nt(t);e>=0&&e<256?this._asciiMap[e]=i:this._map.set(e,i)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class nd{constructor(e,t,i){let n=new Uint8Array(e*t);for(let r=0,s=e*t;rt&&(t=s),r>i&&(i=r),o>i&&(i=o)}t++,i++;let n=new nd(i,t,0);for(let t=0,i=e.length;t=this._maxCharCode?0:this._states.get(e,t)}}let nm=null;function ng(){return null===nm&&(nm=new nc([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),nm}let nf=null;class np{static _createLink(e,t,i,n,r){let s=r-1;do{let i=t.charCodeAt(s),n=e.get(i);if(2!==n)break;s--}while(s>n);if(n>0){let e=t.charCodeAt(n-1),i=t.charCodeAt(s);(40===e&&41===i||91===e&&93===i||123===e&&125===i)&&s--}return{range:{startLineNumber:i,startColumn:n+1,endLineNumber:i,endColumn:s+2},url:t.substring(n,s+1)}}static computeLinks(e,t=ng()){let i=function(){if(null===nf){nf=new nh(0);let e=" <>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let t=0;t=0?((n+=i?1:-1)<0?n=e.length-1:n%=e.length,e[n]):null}}nb.INSTANCE=new nb;let n_=Object.freeze(function(e,t){let i=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(i)}}});(P=eQ||(eQ={})).isCancellationToken=function(e){return e===P.None||e===P.Cancelled||e instanceof nv||!!e&&"object"==typeof e&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},P.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:ez.None}),P.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:n_});class nv{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?n_:(this._emitter||(this._emitter=new x),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class ny{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}let nC=new ny,nL=new ny,nw=new ny,nN=Array(230),nE={},nS=[],nR=Object.create(null),nA=Object.create(null),nx=[],nM=[];for(let e=0;e<=193;e++)nx[e]=-1;for(let e=0;e<=132;e++)nM[e]=-1;(function(){let e=[],t=[];for(let i of[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]]){let[n,r,s,o,a,l,u,h,d]=i;if(!t[r]&&(t[r]=!0,nS[r]=s,nR[s]=r,nA[s.toLowerCase()]=r,n&&(nx[r]=o,0!==o&&3!==o&&5!==o&&4!==o&&6!==o&&57!==o&&(nM[o]=r))),!e[o]){if(e[o]=!0,!a)throw Error(`String representation missing for key code ${o} around scan code ${s}`);nC.define(o,a),nL.define(o,h||a),nw.define(o,d||h||a)}l&&(nN[l]=o),u&&(nE[u]=o)}nM[3]=46})(),(F=eX||(eX={})).toString=function(e){return nC.keyCodeToStr(e)},F.fromString=function(e){return nC.strToKeyCode(e)},F.toUserSettingsUS=function(e){return nL.keyCodeToStr(e)},F.toUserSettingsGeneral=function(e){return nw.keyCodeToStr(e)},F.fromUserSettings=function(e){return nL.strToKeyCode(e)||nw.strToKeyCode(e)},F.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return nC.keyCodeToStr(e)};class nk extends i6{constructor(e,t,i,n){super(e,t,i,n),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=i,this.positionColumn=n}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return nk.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new nk(this.startLineNumber,this.startColumn,e,t):new nk(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new i9(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new i9(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new nk(e,t,this.endLineNumber,this.endColumn):new nk(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new nk(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new nk(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new nk(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new nk(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let i=0,n=e.length;i{this._tokenizationSupports.get(e)===t&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var i;null===(i=this._factories.get(e))||void 0===i||i.dispose();let n=new nD(this,e,t);return this._factories.set(e,n),f(()=>{let t=this._factories.get(e);t&&t===n&&(this._factories.delete(e),t.dispose())})}async getOrCreate(e){let t=this.get(e);if(t)return t;let i=this._factories.get(e);return!i||i.isResolved?null:(await i.resolve(),this.get(e))}isResolved(e){let t=this.get(e);if(t)return!0;let i=this._factories.get(e);return!i||!!i.isResolved}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}},(W=e8||(e8={}))[W.Invoke=0]="Invoke",W[W.Automatic=1]="Automatic",($=e3||(e3={}))[$.Unknown=0]="Unknown",$[$.Disabled=1]="Disabled",$[$.Enabled=2]="Enabled",(j=te||(te={}))[j.Invoke=1]="Invoke",j[j.Auto=2]="Auto",(G=tt||(tt={}))[G.None=0]="None",G[G.KeepWhitespace=1]="KeepWhitespace",G[G.InsertAsSnippet=4]="InsertAsSnippet",(Q=ti||(ti={}))[Q.Method=0]="Method",Q[Q.Function=1]="Function",Q[Q.Constructor=2]="Constructor",Q[Q.Field=3]="Field",Q[Q.Variable=4]="Variable",Q[Q.Class=5]="Class",Q[Q.Struct=6]="Struct",Q[Q.Interface=7]="Interface",Q[Q.Module=8]="Module",Q[Q.Property=9]="Property",Q[Q.Event=10]="Event",Q[Q.Operator=11]="Operator",Q[Q.Unit=12]="Unit",Q[Q.Value=13]="Value",Q[Q.Constant=14]="Constant",Q[Q.Enum=15]="Enum",Q[Q.EnumMember=16]="EnumMember",Q[Q.Keyword=17]="Keyword",Q[Q.Text=18]="Text",Q[Q.Color=19]="Color",Q[Q.File=20]="File",Q[Q.Reference=21]="Reference",Q[Q.Customcolor=22]="Customcolor",Q[Q.Folder=23]="Folder",Q[Q.TypeParameter=24]="TypeParameter",Q[Q.User=25]="User",Q[Q.Issue=26]="Issue",Q[Q.Snippet=27]="Snippet",(X=tn||(tn={}))[X.Deprecated=1]="Deprecated",(J=tr||(tr={}))[J.Invoke=0]="Invoke",J[J.TriggerCharacter=1]="TriggerCharacter",J[J.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(Y=ts||(ts={}))[Y.EXACT=0]="EXACT",Y[Y.ABOVE=1]="ABOVE",Y[Y.BELOW=2]="BELOW",(Z=to||(to={}))[Z.NotSet=0]="NotSet",Z[Z.ContentFlush=1]="ContentFlush",Z[Z.RecoverFromMarkers=2]="RecoverFromMarkers",Z[Z.Explicit=3]="Explicit",Z[Z.Paste=4]="Paste",Z[Z.Undo=5]="Undo",Z[Z.Redo=6]="Redo",(ee=ta||(ta={}))[ee.LF=1]="LF",ee[ee.CRLF=2]="CRLF",(et=tl||(tl={}))[et.Text=0]="Text",et[et.Read=1]="Read",et[et.Write=2]="Write",(ei=tu||(tu={}))[ei.None=0]="None",ei[ei.Keep=1]="Keep",ei[ei.Brackets=2]="Brackets",ei[ei.Advanced=3]="Advanced",ei[ei.Full=4]="Full",(en=th||(th={}))[en.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",en[en.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",en[en.accessibilitySupport=2]="accessibilitySupport",en[en.accessibilityPageSize=3]="accessibilityPageSize",en[en.ariaLabel=4]="ariaLabel",en[en.ariaRequired=5]="ariaRequired",en[en.autoClosingBrackets=6]="autoClosingBrackets",en[en.autoClosingComments=7]="autoClosingComments",en[en.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",en[en.autoClosingDelete=9]="autoClosingDelete",en[en.autoClosingOvertype=10]="autoClosingOvertype",en[en.autoClosingQuotes=11]="autoClosingQuotes",en[en.autoIndent=12]="autoIndent",en[en.automaticLayout=13]="automaticLayout",en[en.autoSurround=14]="autoSurround",en[en.bracketPairColorization=15]="bracketPairColorization",en[en.guides=16]="guides",en[en.codeLens=17]="codeLens",en[en.codeLensFontFamily=18]="codeLensFontFamily",en[en.codeLensFontSize=19]="codeLensFontSize",en[en.colorDecorators=20]="colorDecorators",en[en.colorDecoratorsLimit=21]="colorDecoratorsLimit",en[en.columnSelection=22]="columnSelection",en[en.comments=23]="comments",en[en.contextmenu=24]="contextmenu",en[en.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",en[en.cursorBlinking=26]="cursorBlinking",en[en.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",en[en.cursorStyle=28]="cursorStyle",en[en.cursorSurroundingLines=29]="cursorSurroundingLines",en[en.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",en[en.cursorWidth=31]="cursorWidth",en[en.disableLayerHinting=32]="disableLayerHinting",en[en.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",en[en.domReadOnly=34]="domReadOnly",en[en.dragAndDrop=35]="dragAndDrop",en[en.dropIntoEditor=36]="dropIntoEditor",en[en.emptySelectionClipboard=37]="emptySelectionClipboard",en[en.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",en[en.extraEditorClassName=39]="extraEditorClassName",en[en.fastScrollSensitivity=40]="fastScrollSensitivity",en[en.find=41]="find",en[en.fixedOverflowWidgets=42]="fixedOverflowWidgets",en[en.folding=43]="folding",en[en.foldingStrategy=44]="foldingStrategy",en[en.foldingHighlight=45]="foldingHighlight",en[en.foldingImportsByDefault=46]="foldingImportsByDefault",en[en.foldingMaximumRegions=47]="foldingMaximumRegions",en[en.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",en[en.fontFamily=49]="fontFamily",en[en.fontInfo=50]="fontInfo",en[en.fontLigatures=51]="fontLigatures",en[en.fontSize=52]="fontSize",en[en.fontWeight=53]="fontWeight",en[en.fontVariations=54]="fontVariations",en[en.formatOnPaste=55]="formatOnPaste",en[en.formatOnType=56]="formatOnType",en[en.glyphMargin=57]="glyphMargin",en[en.gotoLocation=58]="gotoLocation",en[en.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",en[en.hover=60]="hover",en[en.inDiffEditor=61]="inDiffEditor",en[en.inlineSuggest=62]="inlineSuggest",en[en.inlineEdit=63]="inlineEdit",en[en.letterSpacing=64]="letterSpacing",en[en.lightbulb=65]="lightbulb",en[en.lineDecorationsWidth=66]="lineDecorationsWidth",en[en.lineHeight=67]="lineHeight",en[en.lineNumbers=68]="lineNumbers",en[en.lineNumbersMinChars=69]="lineNumbersMinChars",en[en.linkedEditing=70]="linkedEditing",en[en.links=71]="links",en[en.matchBrackets=72]="matchBrackets",en[en.minimap=73]="minimap",en[en.mouseStyle=74]="mouseStyle",en[en.mouseWheelScrollSensitivity=75]="mouseWheelScrollSensitivity",en[en.mouseWheelZoom=76]="mouseWheelZoom",en[en.multiCursorMergeOverlapping=77]="multiCursorMergeOverlapping",en[en.multiCursorModifier=78]="multiCursorModifier",en[en.multiCursorPaste=79]="multiCursorPaste",en[en.multiCursorLimit=80]="multiCursorLimit",en[en.occurrencesHighlight=81]="occurrencesHighlight",en[en.overviewRulerBorder=82]="overviewRulerBorder",en[en.overviewRulerLanes=83]="overviewRulerLanes",en[en.padding=84]="padding",en[en.pasteAs=85]="pasteAs",en[en.parameterHints=86]="parameterHints",en[en.peekWidgetDefaultFocus=87]="peekWidgetDefaultFocus",en[en.definitionLinkOpensInPeek=88]="definitionLinkOpensInPeek",en[en.quickSuggestions=89]="quickSuggestions",en[en.quickSuggestionsDelay=90]="quickSuggestionsDelay",en[en.readOnly=91]="readOnly",en[en.readOnlyMessage=92]="readOnlyMessage",en[en.renameOnType=93]="renameOnType",en[en.renderControlCharacters=94]="renderControlCharacters",en[en.renderFinalNewline=95]="renderFinalNewline",en[en.renderLineHighlight=96]="renderLineHighlight",en[en.renderLineHighlightOnlyWhenFocus=97]="renderLineHighlightOnlyWhenFocus",en[en.renderValidationDecorations=98]="renderValidationDecorations",en[en.renderWhitespace=99]="renderWhitespace",en[en.revealHorizontalRightPadding=100]="revealHorizontalRightPadding",en[en.roundedSelection=101]="roundedSelection",en[en.rulers=102]="rulers",en[en.scrollbar=103]="scrollbar",en[en.scrollBeyondLastColumn=104]="scrollBeyondLastColumn",en[en.scrollBeyondLastLine=105]="scrollBeyondLastLine",en[en.scrollPredominantAxis=106]="scrollPredominantAxis",en[en.selectionClipboard=107]="selectionClipboard",en[en.selectionHighlight=108]="selectionHighlight",en[en.selectOnLineNumbers=109]="selectOnLineNumbers",en[en.showFoldingControls=110]="showFoldingControls",en[en.showUnused=111]="showUnused",en[en.snippetSuggestions=112]="snippetSuggestions",en[en.smartSelect=113]="smartSelect",en[en.smoothScrolling=114]="smoothScrolling",en[en.stickyScroll=115]="stickyScroll",en[en.stickyTabStops=116]="stickyTabStops",en[en.stopRenderingLineAfter=117]="stopRenderingLineAfter",en[en.suggest=118]="suggest",en[en.suggestFontSize=119]="suggestFontSize",en[en.suggestLineHeight=120]="suggestLineHeight",en[en.suggestOnTriggerCharacters=121]="suggestOnTriggerCharacters",en[en.suggestSelection=122]="suggestSelection",en[en.tabCompletion=123]="tabCompletion",en[en.tabIndex=124]="tabIndex",en[en.unicodeHighlighting=125]="unicodeHighlighting",en[en.unusualLineTerminators=126]="unusualLineTerminators",en[en.useShadowDOM=127]="useShadowDOM",en[en.useTabStops=128]="useTabStops",en[en.wordBreak=129]="wordBreak",en[en.wordSegmenterLocales=130]="wordSegmenterLocales",en[en.wordSeparators=131]="wordSeparators",en[en.wordWrap=132]="wordWrap",en[en.wordWrapBreakAfterCharacters=133]="wordWrapBreakAfterCharacters",en[en.wordWrapBreakBeforeCharacters=134]="wordWrapBreakBeforeCharacters",en[en.wordWrapColumn=135]="wordWrapColumn",en[en.wordWrapOverride1=136]="wordWrapOverride1",en[en.wordWrapOverride2=137]="wordWrapOverride2",en[en.wrappingIndent=138]="wrappingIndent",en[en.wrappingStrategy=139]="wrappingStrategy",en[en.showDeprecated=140]="showDeprecated",en[en.inlayHints=141]="inlayHints",en[en.editorClassName=142]="editorClassName",en[en.pixelRatio=143]="pixelRatio",en[en.tabFocusMode=144]="tabFocusMode",en[en.layoutInfo=145]="layoutInfo",en[en.wrappingInfo=146]="wrappingInfo",en[en.defaultColorDecorators=147]="defaultColorDecorators",en[en.colorDecoratorsActivatedOn=148]="colorDecoratorsActivatedOn",en[en.inlineCompletionsAccessibilityVerbose=149]="inlineCompletionsAccessibilityVerbose",(er=td||(td={}))[er.TextDefined=0]="TextDefined",er[er.LF=1]="LF",er[er.CRLF=2]="CRLF",(es=tc||(tc={}))[es.LF=0]="LF",es[es.CRLF=1]="CRLF",(eo=tm||(tm={}))[eo.Left=1]="Left",eo[eo.Center=2]="Center",eo[eo.Right=3]="Right",(ea=tg||(tg={}))[ea.Increase=0]="Increase",ea[ea.Decrease=1]="Decrease",(el=tf||(tf={}))[el.None=0]="None",el[el.Indent=1]="Indent",el[el.IndentOutdent=2]="IndentOutdent",el[el.Outdent=3]="Outdent",(eu=tp||(tp={}))[eu.Both=0]="Both",eu[eu.Right=1]="Right",eu[eu.Left=2]="Left",eu[eu.None=3]="None",(eh=tb||(tb={}))[eh.Type=1]="Type",eh[eh.Parameter=2]="Parameter",(ed=t_||(t_={}))[ed.Automatic=0]="Automatic",ed[ed.Explicit=1]="Explicit",(ec=tv||(tv={}))[ec.Invoke=0]="Invoke",ec[ec.Automatic=1]="Automatic",(em=ty||(ty={}))[em.DependsOnKbLayout=-1]="DependsOnKbLayout",em[em.Unknown=0]="Unknown",em[em.Backspace=1]="Backspace",em[em.Tab=2]="Tab",em[em.Enter=3]="Enter",em[em.Shift=4]="Shift",em[em.Ctrl=5]="Ctrl",em[em.Alt=6]="Alt",em[em.PauseBreak=7]="PauseBreak",em[em.CapsLock=8]="CapsLock",em[em.Escape=9]="Escape",em[em.Space=10]="Space",em[em.PageUp=11]="PageUp",em[em.PageDown=12]="PageDown",em[em.End=13]="End",em[em.Home=14]="Home",em[em.LeftArrow=15]="LeftArrow",em[em.UpArrow=16]="UpArrow",em[em.RightArrow=17]="RightArrow",em[em.DownArrow=18]="DownArrow",em[em.Insert=19]="Insert",em[em.Delete=20]="Delete",em[em.Digit0=21]="Digit0",em[em.Digit1=22]="Digit1",em[em.Digit2=23]="Digit2",em[em.Digit3=24]="Digit3",em[em.Digit4=25]="Digit4",em[em.Digit5=26]="Digit5",em[em.Digit6=27]="Digit6",em[em.Digit7=28]="Digit7",em[em.Digit8=29]="Digit8",em[em.Digit9=30]="Digit9",em[em.KeyA=31]="KeyA",em[em.KeyB=32]="KeyB",em[em.KeyC=33]="KeyC",em[em.KeyD=34]="KeyD",em[em.KeyE=35]="KeyE",em[em.KeyF=36]="KeyF",em[em.KeyG=37]="KeyG",em[em.KeyH=38]="KeyH",em[em.KeyI=39]="KeyI",em[em.KeyJ=40]="KeyJ",em[em.KeyK=41]="KeyK",em[em.KeyL=42]="KeyL",em[em.KeyM=43]="KeyM",em[em.KeyN=44]="KeyN",em[em.KeyO=45]="KeyO",em[em.KeyP=46]="KeyP",em[em.KeyQ=47]="KeyQ",em[em.KeyR=48]="KeyR",em[em.KeyS=49]="KeyS",em[em.KeyT=50]="KeyT",em[em.KeyU=51]="KeyU",em[em.KeyV=52]="KeyV",em[em.KeyW=53]="KeyW",em[em.KeyX=54]="KeyX",em[em.KeyY=55]="KeyY",em[em.KeyZ=56]="KeyZ",em[em.Meta=57]="Meta",em[em.ContextMenu=58]="ContextMenu",em[em.F1=59]="F1",em[em.F2=60]="F2",em[em.F3=61]="F3",em[em.F4=62]="F4",em[em.F5=63]="F5",em[em.F6=64]="F6",em[em.F7=65]="F7",em[em.F8=66]="F8",em[em.F9=67]="F9",em[em.F10=68]="F10",em[em.F11=69]="F11",em[em.F12=70]="F12",em[em.F13=71]="F13",em[em.F14=72]="F14",em[em.F15=73]="F15",em[em.F16=74]="F16",em[em.F17=75]="F17",em[em.F18=76]="F18",em[em.F19=77]="F19",em[em.F20=78]="F20",em[em.F21=79]="F21",em[em.F22=80]="F22",em[em.F23=81]="F23",em[em.F24=82]="F24",em[em.NumLock=83]="NumLock",em[em.ScrollLock=84]="ScrollLock",em[em.Semicolon=85]="Semicolon",em[em.Equal=86]="Equal",em[em.Comma=87]="Comma",em[em.Minus=88]="Minus",em[em.Period=89]="Period",em[em.Slash=90]="Slash",em[em.Backquote=91]="Backquote",em[em.BracketLeft=92]="BracketLeft",em[em.Backslash=93]="Backslash",em[em.BracketRight=94]="BracketRight",em[em.Quote=95]="Quote",em[em.OEM_8=96]="OEM_8",em[em.IntlBackslash=97]="IntlBackslash",em[em.Numpad0=98]="Numpad0",em[em.Numpad1=99]="Numpad1",em[em.Numpad2=100]="Numpad2",em[em.Numpad3=101]="Numpad3",em[em.Numpad4=102]="Numpad4",em[em.Numpad5=103]="Numpad5",em[em.Numpad6=104]="Numpad6",em[em.Numpad7=105]="Numpad7",em[em.Numpad8=106]="Numpad8",em[em.Numpad9=107]="Numpad9",em[em.NumpadMultiply=108]="NumpadMultiply",em[em.NumpadAdd=109]="NumpadAdd",em[em.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",em[em.NumpadSubtract=111]="NumpadSubtract",em[em.NumpadDecimal=112]="NumpadDecimal",em[em.NumpadDivide=113]="NumpadDivide",em[em.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",em[em.ABNT_C1=115]="ABNT_C1",em[em.ABNT_C2=116]="ABNT_C2",em[em.AudioVolumeMute=117]="AudioVolumeMute",em[em.AudioVolumeUp=118]="AudioVolumeUp",em[em.AudioVolumeDown=119]="AudioVolumeDown",em[em.BrowserSearch=120]="BrowserSearch",em[em.BrowserHome=121]="BrowserHome",em[em.BrowserBack=122]="BrowserBack",em[em.BrowserForward=123]="BrowserForward",em[em.MediaTrackNext=124]="MediaTrackNext",em[em.MediaTrackPrevious=125]="MediaTrackPrevious",em[em.MediaStop=126]="MediaStop",em[em.MediaPlayPause=127]="MediaPlayPause",em[em.LaunchMediaPlayer=128]="LaunchMediaPlayer",em[em.LaunchMail=129]="LaunchMail",em[em.LaunchApp2=130]="LaunchApp2",em[em.Clear=131]="Clear",em[em.MAX_VALUE=132]="MAX_VALUE",(eg=tC||(tC={}))[eg.Hint=1]="Hint",eg[eg.Info=2]="Info",eg[eg.Warning=4]="Warning",eg[eg.Error=8]="Error",(ef=tL||(tL={}))[ef.Unnecessary=1]="Unnecessary",ef[ef.Deprecated=2]="Deprecated",(ep=tw||(tw={}))[ep.Inline=1]="Inline",ep[ep.Gutter=2]="Gutter",(eb=tN||(tN={}))[eb.Normal=1]="Normal",eb[eb.Underlined=2]="Underlined",(e_=tE||(tE={}))[e_.UNKNOWN=0]="UNKNOWN",e_[e_.TEXTAREA=1]="TEXTAREA",e_[e_.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e_[e_.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e_[e_.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e_[e_.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e_[e_.CONTENT_TEXT=6]="CONTENT_TEXT",e_[e_.CONTENT_EMPTY=7]="CONTENT_EMPTY",e_[e_.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e_[e_.CONTENT_WIDGET=9]="CONTENT_WIDGET",e_[e_.OVERVIEW_RULER=10]="OVERVIEW_RULER",e_[e_.SCROLLBAR=11]="SCROLLBAR",e_[e_.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e_[e_.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",(ev=tS||(tS={}))[ev.AIGenerated=1]="AIGenerated",(ey=tR||(tR={}))[ey.Invoke=0]="Invoke",ey[ey.Automatic=1]="Automatic",(eC=tA||(tA={}))[eC.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",eC[eC.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",eC[eC.TOP_CENTER=2]="TOP_CENTER",(eL=tx||(tx={}))[eL.Left=1]="Left",eL[eL.Center=2]="Center",eL[eL.Right=4]="Right",eL[eL.Full=7]="Full",(ew=tM||(tM={}))[ew.Word=0]="Word",ew[ew.Line=1]="Line",ew[ew.Suggest=2]="Suggest",(eN=tk||(tk={}))[eN.Left=0]="Left",eN[eN.Right=1]="Right",eN[eN.None=2]="None",eN[eN.LeftOfInjectedText=3]="LeftOfInjectedText",eN[eN.RightOfInjectedText=4]="RightOfInjectedText",(eE=tT||(tT={}))[eE.Off=0]="Off",eE[eE.On=1]="On",eE[eE.Relative=2]="Relative",eE[eE.Interval=3]="Interval",eE[eE.Custom=4]="Custom",(eS=tO||(tO={}))[eS.None=0]="None",eS[eS.Text=1]="Text",eS[eS.Blocks=2]="Blocks",(eR=tI||(tI={}))[eR.Smooth=0]="Smooth",eR[eR.Immediate=1]="Immediate",(eA=tP||(tP={}))[eA.Auto=1]="Auto",eA[eA.Hidden=2]="Hidden",eA[eA.Visible=3]="Visible",(ex=tF||(tF={}))[ex.LTR=0]="LTR",ex[ex.RTL=1]="RTL",(eM=tD||(tD={})).Off="off",eM.OnCode="onCode",eM.On="on",(ek=tK||(tK={}))[ek.Invoke=1]="Invoke",ek[ek.TriggerCharacter=2]="TriggerCharacter",ek[ek.ContentChange=3]="ContentChange",(eT=tq||(tq={}))[eT.File=0]="File",eT[eT.Module=1]="Module",eT[eT.Namespace=2]="Namespace",eT[eT.Package=3]="Package",eT[eT.Class=4]="Class",eT[eT.Method=5]="Method",eT[eT.Property=6]="Property",eT[eT.Field=7]="Field",eT[eT.Constructor=8]="Constructor",eT[eT.Enum=9]="Enum",eT[eT.Interface=10]="Interface",eT[eT.Function=11]="Function",eT[eT.Variable=12]="Variable",eT[eT.Constant=13]="Constant",eT[eT.String=14]="String",eT[eT.Number=15]="Number",eT[eT.Boolean=16]="Boolean",eT[eT.Array=17]="Array",eT[eT.Object=18]="Object",eT[eT.Key=19]="Key",eT[eT.Null=20]="Null",eT[eT.EnumMember=21]="EnumMember",eT[eT.Struct=22]="Struct",eT[eT.Event=23]="Event",eT[eT.Operator=24]="Operator",eT[eT.TypeParameter=25]="TypeParameter",(eO=tV||(tV={}))[eO.Deprecated=1]="Deprecated",(eI=tB||(tB={}))[eI.Hidden=0]="Hidden",eI[eI.Blink=1]="Blink",eI[eI.Smooth=2]="Smooth",eI[eI.Phase=3]="Phase",eI[eI.Expand=4]="Expand",eI[eI.Solid=5]="Solid",(eP=tU||(tU={}))[eP.Line=1]="Line",eP[eP.Block=2]="Block",eP[eP.Underline=3]="Underline",eP[eP.LineThin=4]="LineThin",eP[eP.BlockOutline=5]="BlockOutline",eP[eP.UnderlineThin=6]="UnderlineThin",(eF=tH||(tH={}))[eF.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",eF[eF.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",eF[eF.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",eF[eF.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(eD=tz||(tz={}))[eD.None=0]="None",eD[eD.Same=1]="Same",eD[eD.Indent=2]="Indent",eD[eD.DeepIndent=3]="DeepIndent";class nq{static chord(e,t){return(e|(65535&t)<<16>>>0)>>>0}}nq.CtrlCmd=2048,nq.Shift=1024,nq.Alt=512,nq.WinCtrl=256;class nV{constructor(e,t){this.uri=e,this.value=t}}class nB{constructor(e,t){if(this[tW]="ResourceMap",e instanceof nB)this.map=new Map(e.map),this.toKey=null!=t?t:nB.defaultToKey;else if(Array.isArray(e))for(let[i,n]of(this.map=new Map,this.toKey=null!=t?t:nB.defaultToKey,e))this.set(i,n);else this.map=new Map,this.toKey=null!=e?e:nB.defaultToKey}set(e,t){return this.map.set(this.toKey(e),new nV(e,t)),this}get(e){var t;return null===(t=this.map.get(this.toKey(e)))||void 0===t?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){for(let[i,n]of(void 0!==t&&(e=e.bind(t)),this.map))e(n.value,n.uri,this)}*values(){for(let e of this.map.values())yield e.value}*keys(){for(let e of this.map.values())yield e.uri}*entries(){for(let e of this.map.values())yield[e.uri,e.value]}*[(tW=Symbol.toStringTag,Symbol.iterator)](){for(let[,e]of this.map)yield[e.uri,e.value]}}nB.defaultToKey=e=>e.toString();class nU{constructor(){this[t$]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return null===(e=this._head)||void 0===e?void 0:e.value}get last(){var e;return null===(e=this._tail)||void 0===e?void 0:e.value}has(e){return this._map.has(e)}get(e,t=0){let i=this._map.get(e);if(i)return 0!==t&&this.touch(i,t),i.value}set(e,t,i=0){let n=this._map.get(e);if(n)n.value=t,0!==i&&this.touch(n,i);else{switch(n={key:e,value:t,next:void 0,previous:void 0},i){case 0:case 2:default:this.addItemLast(n);break;case 1:this.addItemFirst(n)}this._map.set(e,n),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw Error("Invalid list");let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){let i=this._state,n=this._head;for(;n;){if(t?e.bind(t)(n.value,n.key,this):e(n.value,n.key,this),this._state!==i)throw Error("LinkedMap got modified during iteration.");n=n.next}}keys(){let e=this,t=this._state,i=this._head,n={[Symbol.iterator]:()=>n,next(){if(e._state!==t)throw Error("LinkedMap got modified during iteration.");if(!i)return{value:void 0,done:!0};{let e={value:i.key,done:!1};return i=i.next,e}}};return n}values(){let e=this,t=this._state,i=this._head,n={[Symbol.iterator]:()=>n,next(){if(e._state!==t)throw Error("LinkedMap got modified during iteration.");if(!i)return{value:void 0,done:!0};{let e={value:i.value,done:!1};return i=i.next,e}}};return n}entries(){let e=this,t=this._state,i=this._head,n={[Symbol.iterator]:()=>n,next(){if(e._state!==t)throw Error("LinkedMap got modified during iteration.");if(!i)return{value:void 0,done:!0};{let e={value:[i.key,i.value],done:!1};return i=i.next,e}}};return n}[(t$=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(0===e){this.clear();return}let t=this._head,i=this.size;for(;t&&i>e;)this._map.delete(t.key),t=t.next,i--;this._head=t,this._size=i,t&&(t.previous=void 0),this._state++}trimNew(e){if(e>=this.size)return;if(0===e){this.clear();return}let t=this._tail,i=this.size;for(;t&&i>e;)this._map.delete(t.key),t=t.previous,i--;this._tail=t,this._size=i,t&&(t.next=void 0),this._state++}addItemFirst(e){if(this._head||this._tail){if(this._head)e.next=this._head,this._head.previous=e;else throw Error("Invalid list")}else this._tail=e;this._head=e,this._state++}addItemLast(e){if(this._head||this._tail){if(this._tail)e.previous=this._tail,this._tail.next=e;else throw Error("Invalid list")}else this._head=e;this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{let t=e.next,i=e.previous;if(!t||!i)throw Error("Invalid list");t.previous=i,i.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw Error("Invalid list");if(1===t||2===t){if(1===t){if(e===this._head)return;let t=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(t.previous=i,i.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(2===t){if(e===this._tail)return;let t=e.next,i=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=i,i.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((t,i)=>{e.push([i,t])}),e}fromJSON(e){for(let[t,i]of(this.clear(),e))this.set(t,i)}}class nH extends nU{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,t=2){return super.get(e,t)}peek(e){return super.get(e,0)}set(e,t){return super.set(e,t,2),this}checkTrim(){this.size>this._limit&&this.trim(Math.round(this._limit*this._ratio))}}class nz{constructor(){this.map=new Map}add(e,t){let i=this.map.get(e);i||(i=new Set,this.map.set(e,i)),i.add(t)}delete(e,t){let i=this.map.get(e);i&&(i.delete(t),0===i.size&&this.map.delete(e))}forEach(e,t){let i=this.map.get(e);i&&i.forEach(t)}get(e){let t=this.map.get(e);return t||new Set}}new class extends nH{constructor(e,t=1){super(e,t)}trim(e){this.trimOld(e)}set(e,t){return super.set(e,t),this.checkTrim(),this}}(10),(eK=tj||(tj={}))[eK.Left=1]="Left",eK[eK.Center=2]="Center",eK[eK.Right=4]="Right",eK[eK.Full=7]="Full",(eq=tG||(tG={}))[eq.Left=1]="Left",eq[eq.Center=2]="Center",eq[eq.Right=3]="Right",(eV=tQ||(tQ={}))[eV.Both=0]="Both",eV[eV.Right=1]="Right",eV[eV.Left=2]="Left",eV[eV.None=3]="None";class nW{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){let t;let i=e.length;do{var n;if(this._prevMatchStartIndex+this._prevMatchLength===i||!(t=this._searchRegex.exec(e)))break;let r=t.index,s=t[0].length;if(r===this._prevMatchStartIndex&&s===this._prevMatchLength){if(0===s){(function(e,t,i){let n=e.charCodeAt(i);if(ii(n)&&i+165535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}break}if(this._prevMatchStartIndex=r,this._prevMatchLength=s,!this._wordSeparators||function(e,t,i,n,r){if(0===n)return!0;let s=t.charCodeAt(n-1);if(0!==e.get(s)||13===s||10===s)return!0;if(r>0){let i=t.charCodeAt(n);if(0!==e.get(i))return!0}return!1}(n=this._wordSeparators,e,0,r,s)&&function(e,t,i,n,r){if(n+r===i)return!0;let s=t.charCodeAt(n+r);if(0!==e.get(s)||13===s||10===s)return!0;if(r>0){let i=t.charCodeAt(n+r-1);if(0!==e.get(i))return!0}return!1}(n,e,i,r,s))return t}while(t);return null}}function n$(e){e()||(e(),s(new h("Assertion Failed")))}function nj(e,t){let i=0;for(;iString.fromCodePoint(e)).join("").replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}]`;return i}(Array.from(l))}`,"g");let u=new nW(null,n),h=[],d=!1,c=0,m=0,g=0;e:for(let t=s;t<=o;t++){let i=e.getLineContent(t),n=i.length;u.reset(0);do if(r=u.next(i)){let e=r.index,s=r.index+r[0].length;if(e>0){let t=i.charCodeAt(e-1);ii(t)&&e--}if(s+1=1e3){d=!0;break e}h.push(new i6(t,e+1,t,s+1))}}while(r)}return{ranges:h,hasMore:d,ambiguousCharacterCount:c,invisibleCharacterCount:m,nonBasicAsciiCharacterCount:g}}static computeUnicodeHighlightReason(e,t){let i=new nQ(t),n=i.shouldHighlightNonBasicASCII(e,null);switch(n){case 0:return null;case 2:return{kind:1};case 3:{let n=e.codePointAt(0),r=i.ambiguousCharacters.getPrimaryConfusable(n),s=il.getLocales().filter(e=>!il.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(n));return{kind:0,confusableWith:String.fromCodePoint(r),notAmbiguousInLocales:s}}case 1:return{kind:2}}}}class nQ{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=il.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let t of iu.codePoints)nX(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(let t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(let t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){let i=e.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let n=!1,r=!1;if(t)for(let e of t){let t=e.codePointAt(0),i=io.test(e);n=n||i,i||this.ambiguousCharacters.isAmbiguous(t)||iu.isInvisibleCharacter(t)||(r=!0)}return!n&&r?0:this.options.invisibleCharacters&&!nX(e)&&iu.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}}function nX(e){return" "===e||"\n"===e||" "===e}class nJ{constructor(e,t,i){this.changes=e,this.moves=t,this.hitTimeout=i}}class nY{constructor(e,t){this.lineRangeMapping=e,this.changes=t}}class nZ{static addRange(e,t){let i=0;for(;it))return new nZ(e,t)}static ofLength(e){return new nZ(0,e)}static ofStartAndLength(e,t){return new nZ(e,e+t)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new h(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new nZ(this.start+e,this.endExclusive+e)}deltaStart(e){return new nZ(this.start+e,this.endExclusive)}deltaEnd(e){return new nZ(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}contains(e){return this.start<=e&&e=e.endExclusive}slice(e){return e.slice(this.start,this.endExclusive)}substring(e){return e.substring(this.start,this.endExclusive)}clip(e){if(this.isEmpty)throw new h(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,e))}clipCyclic(e){if(this.isEmpty)throw new h(`Invalid clipping range: ${this.toString()}`);return e=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let t=this.start;tt)throw new h(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&et.endLineNumberExclusive>=e.startLineNumber),i=n0(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)this._normalizedRanges.splice(t,0,e);else if(t===i-1){let i=this._normalizedRanges[t];this._normalizedRanges[t]=i.join(e)}else{let n=this._normalizedRanges[t].join(this._normalizedRanges[i-1]).join(e);this._normalizedRanges.splice(t,i-t,n)}}contains(e){let t=n1(this._normalizedRanges,t=>t.startLineNumber<=e);return!!t&&t.endLineNumberExclusive>e}intersects(e){let t=n1(this._normalizedRanges,t=>t.startLineNumbere.startLineNumber}getUnion(e){if(0===this._normalizedRanges.length)return e;if(0===e._normalizedRanges.length)return this;let t=[],i=0,n=0,r=null;for(;i=s.startLineNumber?r=new n5(r.startLineNumber,Math.max(r.endLineNumberExclusive,s.endLineNumberExclusive)):(t.push(r),r=s)}return null!==r&&t.push(r),new n7(t)}subtractFrom(e){let t=n2(this._normalizedRanges,t=>t.endLineNumberExclusive>=e.startLineNumber),i=n0(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)return new n7([e]);let n=[],r=e.startLineNumber;for(let e=t;er&&n.push(new n5(r,t.startLineNumber)),r=t.endLineNumberExclusive}return re.toString()).join(", ")}getIntersection(e){let t=[],i=0,n=0;for(;it.delta(e)))}}class n9{static betweenPositions(e,t){return e.lineNumber===t.lineNumber?new n9(0,t.column-e.column):new n9(t.lineNumber-e.lineNumber,t.column-1)}static ofRange(e){return n9.betweenPositions(e.getStartPosition(),e.getEndPosition())}static ofText(e){let t=0,i=0;for(let n of e)"\n"===n?(t++,i=0):i++;return new n9(t,i)}constructor(e,t){this.lineCount=e,this.columnCount=t}isGreaterThanOrEqualTo(e){return this.lineCount!==e.lineCount?this.lineCount>e.lineCount:this.columnCount>=e.columnCount}createRange(e){return 0===this.lineCount?new i6(e.lineNumber,e.column,e.lineNumber,e.column+this.columnCount):new i6(e.lineNumber,e.column,e.lineNumber+this.lineCount,this.columnCount+1)}addToPosition(e){return 0===this.lineCount?new i9(e.lineNumber,e.column+this.columnCount):new i9(e.lineNumber+this.lineCount,this.columnCount+1)}toString(){return`${this.lineCount},${this.columnCount}`}}n9.zero=new n9(0,0);class n6{constructor(e,t){this.range=e,this.text=t}}class n8{static inverse(e,t,i){let n=[],r=1,s=1;for(let t of e){let e=new n8(new n5(r,t.original.startLineNumber),new n5(s,t.modified.startLineNumber));e.modified.isEmpty||n.push(e),r=t.original.endLineNumberExclusive,s=t.modified.endLineNumberExclusive}let o=new n8(new n5(r,t+1),new n5(s,i+1));return o.modified.isEmpty||n.push(o),n}static clip(e,t,i){let n=[];for(let r of e){let e=r.original.intersect(t),s=r.modified.intersect(i);e&&!e.isEmpty&&s&&!s.isEmpty&&n.push(new n8(e,s))}return n}constructor(e,t){this.original=e,this.modified=t}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new n8(this.modified,this.original)}join(e){return new n8(this.original.join(e.original),this.modified.join(e.modified))}toRangeMapping(){let e=this.original.toInclusiveRange(),t=this.modified.toInclusiveRange();if(e&&t)return new re(e,t);if(1!==this.original.startLineNumber&&1!==this.modified.startLineNumber)return new re(new i6(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),new i6(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER));if(!(1===this.modified.startLineNumber&&1===this.original.startLineNumber))throw new h("not a valid diff");return new re(new i6(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new i6(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1))}}class n3 extends n8{static fromRangeMappings(e){let t=n5.join(e.map(e=>n5.fromRangeInclusive(e.originalRange))),i=n5.join(e.map(e=>n5.fromRangeInclusive(e.modifiedRange)));return new n3(t,i,e)}constructor(e,t,i){super(e,t),this.innerChanges=i}flip(){var e;return new n3(this.modified,this.original,null===(e=this.innerChanges)||void 0===e?void 0:e.map(e=>e.flip()))}withInnerChangesFromLineRanges(){return new n3(this.original,this.modified,[this.toRangeMapping()])}}class re{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new re(this.modifiedRange,this.originalRange)}toTextEdit(e){let t=e.getValueOfRange(this.modifiedRange);return new n6(this.originalRange,t)}}class rt{computeDiff(e,t,i){var n;let r=new ra(e,t,{maxComputationTime:i.maxComputationTimeMs,shouldIgnoreTrimWhitespace:i.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}),s=r.computeDiff(),o=[],a=null;for(let e of s.changes){let t,i;t=0===e.originalEndLineNumber?new n5(e.originalStartLineNumber+1,e.originalStartLineNumber+1):new n5(e.originalStartLineNumber,e.originalEndLineNumber+1),i=0===e.modifiedEndLineNumber?new n5(e.modifiedStartLineNumber+1,e.modifiedStartLineNumber+1):new n5(e.modifiedStartLineNumber,e.modifiedEndLineNumber+1);let r=new n3(t,i,null===(n=e.charChanges)||void 0===n?void 0:n.map(e=>new re(new i6(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new i6(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn))));a&&(a.modified.endLineNumberExclusive===r.modified.startLineNumber||a.original.endLineNumberExclusive===r.original.startLineNumber)&&(r=new n3(a.original.join(r.original),a.modified.join(r.modified),a.innerChanges&&r.innerChanges?a.innerChanges.concat(r.innerChanges):void 0),o.pop()),o.push(r),a=r}return n$(()=>nj(o,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return -1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e])?this._lineNumbers[e]+1:this._lineNumbers[e]}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return -1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e])?1:this._columns[e]+1}}class rs{constructor(e,t,i,n,r,s,o,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=i,this.originalEndColumn=n,this.modifiedStartLineNumber=r,this.modifiedStartColumn=s,this.modifiedEndLineNumber=o,this.modifiedEndColumn=a}static createFromDiffChange(e,t,i){let n=t.getStartLineNumber(e.originalStart),r=t.getStartColumn(e.originalStart),s=t.getEndLineNumber(e.originalStart+e.originalLength-1),o=t.getEndColumn(e.originalStart+e.originalLength-1),a=i.getStartLineNumber(e.modifiedStart),l=i.getStartColumn(e.modifiedStart),u=i.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),h=i.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new rs(n,r,s,o,a,l,u,h)}}class ro{constructor(e,t,i,n,r){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=i,this.modifiedEndLineNumber=n,this.charChanges=r}static createFromDiffResult(e,t,i,n,r,s,o){let a,l,u,h,d;if(0===t.originalLength?(a=i.getStartLineNumber(t.originalStart)-1,l=0):(a=i.getStartLineNumber(t.originalStart),l=i.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(u=n.getStartLineNumber(t.modifiedStart)-1,h=0):(u=n.getStartLineNumber(t.modifiedStart),h=n.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),s&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&r()){let s=i.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=n.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(s.getElements().length>0&&a.getElements().length>0){let e=ri(s,a,r,!0).changes;o&&(e=function(e){if(e.length<=1)return e;let t=[e[0]],i=t[0];for(let n=1,r=e.length;n1&&o>1;){let n=e.charCodeAt(i-2),r=t.charCodeAt(o-2);if(n!==r)break;i--,o--}(i>1||o>1)&&this._pushTrimWhitespaceCharChange(n,r+1,1,i,s+1,1,o)}{let i=ru(e,1),o=ru(t,1),a=e.length+1,l=t.length+1;for(;i=0;i--){let t=e.charCodeAt(i);if(32!==t&&9!==t)return i}return -1}(e);return -1===i?t:i+2}function rh(e){if(0===e)return()=>!0;let t=Date.now();return()=>Date.now()-t{i.push(rc.fromOffsetPairs(e?e.getEndExclusives():rm.zero,n?n.getStarts():new rm(t,(e?e.seq2Range.endExclusive-e.seq1Range.endExclusive:0)+t)))}),i}static fromOffsetPairs(e,t){return new rc(new nZ(e.offset1,t.offset1),new nZ(e.offset2,t.offset2))}constructor(e,t){this.seq1Range=e,this.seq2Range=t}swap(){return new rc(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new rc(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return 0===e?this:new rc(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return 0===e?this:new rc(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return 0===e?this:new rc(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){let t=this.seq1Range.intersect(e.seq1Range),i=this.seq2Range.intersect(e.seq2Range);if(t&&i)return new rc(t,i)}getStarts(){return new rm(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new rm(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}class rm{constructor(e,t){this.offset1=e,this.offset2=t}toString(){return`${this.offset1} <-> ${this.offset2}`}delta(e){return 0===e?this:new rm(this.offset1+e,this.offset2+e)}equals(e){return this.offset1===e.offset1&&this.offset2===e.offset2}}rm.zero=new rm(0,0),rm.max=new rm(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class rg{isValid(){return!0}}rg.instance=new rg;class rf{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new h("timeout must be positive")}isValid(){let e=Date.now()-this.startTime0&&l>0&&3===s.get(a-1,l-1)&&(u+=o.get(a-1,l-1)),u+=n?n(a,l):1):u=-1;let c=Math.max(h,d,u);if(c===u){let e=a>0&&l>0?o.get(a-1,l-1):0;o.set(a,l,e+1),s.set(a,l,3)}else c===h?(o.set(a,l,0),s.set(a,l,1)):c===d&&(o.set(a,l,0),s.set(a,l,2));r.set(a,l,c)}let a=[],l=e.length,u=t.length;function h(e,t){(e+1!==l||t+1!==u)&&a.push(new rc(new nZ(e+1,l),new nZ(t+1,u))),l=e,u=t}let d=e.length-1,c=t.length-1;for(;d>=0&&c>=0;)3===s.get(d,c)?(h(d,c),d--,c--):1===s.get(d,c)?d--:c--;return h(-1,-1),a.reverse(),new rd(a,!1)}}class ry{compute(e,t,i=rg.instance){if(0===e.length||0===t.length)return rd.trivial(e,t);function n(i,n){for(;ie.length||c>t.length)continue;let m=n(d,c);s.set(a,m);let g=d===r?o.get(a+1):o.get(a-1);if(o.set(a,m!==d?new rC(g,d,c,m-d):g),s.get(a)===e.length&&s.get(a)-a===t.length)break t}}let l=o.get(a),u=[],h=e.length,d=t.length;for(;;){let e=l?l.x+l.length:0,t=l?l.y+l.length:0;if((e!==h||t!==d)&&u.push(new rc(new nZ(e,h),new nZ(t,d))),!l)break;h=l.x,d=l.y,l=l.prev}return u.reverse(),new rd(u,!1)}}class rC{constructor(e,t,i,n){this.prev=e,this.x=t,this.y=i,this.length=n}}class rL{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){if(e<0){if((e=-e-1)>=this.negativeArr.length){let e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){let e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class rw{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}class rN{constructor(e,t,i){this.lines=e,this.considerWhitespaceChanges=i,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let n=!1;t.start>0&&t.endExclusive>=e.length&&(t=new nZ(t.start-1,t.endExclusive),n=!0),this.lineRange=t,this.firstCharOffsetByLine[0]=0;for(let t=this.lineRange.start;tString.fromCharCode(e)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let t=rR(e>0?this.elements[e-1]:-1),i=rR(et<=e);return new i9(this.lineRange.start+t+1,e-this.firstCharOffsetByLine[t]+this.additionalOffsetByLine[t]+1)}translateRange(e){return i6.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!rE(this.elements[e]))return;let t=e;for(;t>0&&rE(this.elements[t-1]);)t--;let i=e;for(;it<=e.start))&&void 0!==t?t:0,r=null!==(i=function(e,t){let i=n2(e,t);return i===e.length?void 0:e[i]}(this.firstCharOffsetByLine,t=>e.endExclusive<=t))&&void 0!==i?i:this.elements.length;return new nZ(n,r)}}function rE(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}let rS={0:0,1:0,2:0,3:10,4:2,5:30,6:3,7:10,8:10};function rR(e){if(10===e)return 8;if(13===e)return 7;if(rb(e))return 6;if(e>=97&&e<=122)return 0;if(e>=65&&e<=90)return 1;if(e>=48&&e<=57)return 2;if(-1===e)return 3;else if(44===e||59===e)return 5;else return 4}function rA(e,t,i){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;let n=new ry,r=n.compute(new rN([e],new nZ(0,1),!1),new rN([t],new nZ(0,1),!1),i),s=0,o=rc.invert(r.diffs,e.length);for(let t of o)t.seq1Range.forEach(t=>{!rb(e.charCodeAt(t))&&s++});let a=function(t){let i=0;for(let n=0;nt.length?e:t),l=s/a>.6&&a>10;return l}function rx(e,t,i){let n=i;return n=rM(e,t,n),n=rM(e,t,n),n=function(e,t,i){if(!e.getBoundaryScore||!t.getBoundaryScore)return i;for(let n=0;n0?i[n-1]:void 0,s=i[n],o=n+10&&(o=o.delta(r))}r.push(o)}return n.length>0&&r.push(n[n.length-1]),r}function rk(e,t,i,n,r){let s=1;for(;e.seq1Range.start-s>=n.start&&e.seq2Range.start-s>=r.start&&i.isStronglyEqual(e.seq2Range.start-s,e.seq2Range.endExclusive-s)&&s<100;)s++;s--;let o=0;for(;e.seq1Range.start+ol&&(l=u,a=n)}return e.delta(a)}class rT{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){let t=0===e?0:rO(this.lines[e-1]),i=e===this.lines.length?0:rO(this.lines[e]);return 1e3-(t+i)}getText(e){return this.lines.slice(e.start,e.endExclusive).join("\n")}isStronglyEqual(e,t){return this.lines[e]===this.lines[t]}}function rO(e){let t=0;for(;te===t){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let n=0,r=e.length;ne===t))return new nJ([],[],!1);if(1===e.length&&0===e[0].length||1===t.length&&0===t[0].length)return new nJ([new n3(new n5(1,e.length+1),new n5(1,t.length+1),[new re(new i6(1,1,e.length,e[e.length-1].length+1),new i6(1,1,t.length,t[t.length-1].length+1))])],[],!1);let n=0===i.maxComputationTimeMs?rg.instance:new rf(i.maxComputationTimeMs),r=!i.ignoreTrimWhitespace,s=new Map;function o(e){let t=s.get(e);return void 0===t&&(t=s.size,s.set(e,t)),t}let a=e.map(e=>o(e.trim())),l=t.map(e=>o(e.trim())),u=new rT(a,e),h=new rT(l,t),d=u.length+h.length<1700?this.dynamicProgrammingDiffing.compute(u,h,n,(i,n)=>e[i]===t[n]?0===t[n].length?.1:1+Math.log(1+t[n].length):.99):this.myersDiffingAlgorithm.compute(u,h,n),c=d.diffs,m=d.hitTimeout;c=rx(u,h,c),c=function(e,t,i){let n,r=i;if(0===r.length)return r;let s=0;do{n=!1;let t=[r[0]];for(let i=1;i5||i.seq1Range.length+i.seq2Range.length>5)}(o,s);a?(n=!0,t[t.length-1]=t[t.length-1].join(s)):t.push(s)}r=t}while(s++<10&&n);return r}(u,0,c);let g=[],f=i=>{if(r)for(let s=0;si.seq1Range.start-p==i.seq2Range.start-b);let s=i.seq1Range.start-p;f(s),p=i.seq1Range.endExclusive,b=i.seq2Range.endExclusive;let o=this.refineDiff(e,t,i,n,r);for(let e of(o.hitTimeout&&(m=!0),o.mappings))g.push(e)}f(e.length-p);let _=rP(g,e,t),v=[];return i.computeMoves&&(v=this.computeMoves(_,e,t,a,l,n,r)),n$(()=>{function i(e,t){if(e.lineNumber<1||e.lineNumber>t.length)return!1;let i=t[e.lineNumber-1];return!(e.column<1)&&!(e.column>i.length+1)}function n(e,t){return!(e.startLineNumber<1)&&!(e.startLineNumber>t.length+1)&&!(e.endLineNumberExclusive<1)&&!(e.endLineNumberExclusive>t.length+1)}for(let r of _){if(!r.innerChanges)return!1;for(let n of r.innerChanges){let r=i(n.modifiedRange.getStartPosition(),t)&&i(n.modifiedRange.getEndPosition(),t)&&i(n.originalRange.getStartPosition(),e)&&i(n.originalRange.getEndPosition(),e);if(!r)return!1}if(!n(r.modified,t)||!n(r.original,e))return!1}return!0}),new nJ(_,v,m)}computeMoves(e,t,i,n,r,s,o){let a=function(e,t,i,n,r,s){let{moves:o,excludedChanges:a}=function(e,t,i,n){let r=[],s=e.filter(e=>e.modified.isEmpty&&e.original.length>=3).map(e=>new r_(e.original,t,e)),o=new Set(e.filter(e=>e.original.isEmpty&&e.modified.length>=3).map(e=>new r_(e.modified,i,e))),a=new Set;for(let e of s){let t,i=-1;for(let n of o){let r=e.computeSimilarity(n);r>i&&(i=r,t=n)}if(i>.9&&t&&(o.delete(t),r.push(new n8(e.range,t.range)),a.add(e.source),a.add(t.source)),!n.isValid())break}return{moves:r,excludedChanges:a}}(e,t,i,s);if(!s.isValid())return[];let l=e.filter(e=>!a.has(e)),u=function(e,t,i,n,r,s){var o;let a=[],l=new nz;for(let i of e)for(let e=i.original.startLineNumber;ee.modified.startLineNumber,i3)),e)){let e=[];for(let n=t.modified.startLineNumber;n{for(let i of e)if(i.originalLineRange.endLineNumberExclusive+1===t.endLineNumberExclusive&&i.modifiedLineRange.endLineNumberExclusive+1===r.endLineNumberExclusive){i.originalLineRange=new n5(i.originalLineRange.startLineNumber,t.endLineNumberExclusive),i.modifiedLineRange=new n5(i.modifiedLineRange.startLineNumber,r.endLineNumberExclusive),s.push(i);return}let i={modifiedLineRange:r,originalLineRange:t};u.push(i),s.push(i)}),e=s}if(!s.isValid())return[]}u.sort((o=i8(e=>e.modifiedLineRange.length,i3),(e,t)=>-o(e,t)));let h=new n7,d=new n7;for(let e of u){let t=e.modifiedLineRange.startLineNumber-e.originalLineRange.startLineNumber,i=h.subtractFrom(e.modifiedLineRange),n=d.subtractFrom(e.originalLineRange).getWithDelta(t),r=i.getIntersection(n);for(let e of r.ranges){if(e.length<3)continue;let i=e.delta(-t);a.push(new n8(i,e)),h.addRange(e),d.addRange(i)}}a.sort(i8(e=>e.original.startLineNumber,i3));let c=new n4(e);for(let t=0;te.original.startLineNumber<=l.original.startLineNumber),m=n1(e,e=>e.modified.startLineNumber<=l.modified.startLineNumber),g=Math.max(l.original.startLineNumber-u.original.startLineNumber,l.modified.startLineNumber-m.modified.startLineNumber),f=c.findLastMonotonous(e=>e.original.startLineNumbere.modified.startLineNumbern.length||t>r.length||h.contains(t)||d.contains(e)||!rA(n[e-1],r[t-1],s))break}for(i>0&&(d.addRange(new n5(l.original.startLineNumber-i,l.original.startLineNumber)),h.addRange(new n5(l.modified.startLineNumber-i,l.modified.startLineNumber))),o=0;on.length||t>r.length||h.contains(t)||d.contains(e)||!rA(n[e-1],r[t-1],s))break}o>0&&(d.addRange(new n5(l.original.endLineNumberExclusive,l.original.endLineNumberExclusive+o)),h.addRange(new n5(l.modified.endLineNumberExclusive,l.modified.endLineNumberExclusive+o))),(i>0||o>0)&&(a[t]=new n8(new n5(l.original.startLineNumber-i,l.original.endLineNumberExclusive+o),new n5(l.modified.startLineNumber-i,l.modified.endLineNumberExclusive+o)))}return a}(l,n,r,t,i,s);return function(e,t){for(let i of t)e.push(i)}(o,u),o=(o=function(e){if(0===e.length)return e;e.sort(i8(e=>e.original.startLineNumber,i3));let t=[e[0]];for(let i=1;i=0&&o>=0;if(a&&s+o<=2){t[t.length-1]=n.join(r);continue}t.push(r)}return t}(o)).filter(e=>{let i=e.original.toOffsetRange().slice(t).map(e=>e.trim()),n=i.join("\n");return n.length>=15&&function(e,t){let i=0;for(let n of e)t(n)&&i++;return i}(i,e=>e.length>=2)>=2}),o=function(e,t){let i=new n4(e);return t=t.filter(t=>{let n=i.findLastMonotonous(e=>e.original.startLineNumbere.modified.startLineNumber{let n=this.refineDiff(t,i,new rc(e.original.toOffsetRange(),e.modified.toOffsetRange()),s,o),r=rP(n.mappings,t,i,!0);return new nY(e,r)});return l}refineDiff(e,t,i,n,r){let s=new rN(e,i.seq1Range,r),o=new rN(t,i.seq2Range,r),a=s.length+o.length<500?this.dynamicProgrammingDiffing.compute(s,o,n):this.myersDiffingAlgorithm.compute(s,o,n),l=a.diffs;l=rx(s,o,l),l=function(e,t,i){let n=[];for(let e of i){let t=n[n.length-1];if(!t){n.push(e);continue}e.seq1Range.start-t.seq1Range.endExclusive<=2||e.seq2Range.start-t.seq2Range.endExclusive<=2?n[n.length-1]=new rc(t.seq1Range.join(e.seq1Range),t.seq2Range.join(e.seq2Range)):n.push(e)}return n}(0,0,l=function(e,t,i){let n=rc.invert(i,e.length),r=[],s=new rm(0,0);function o(i,o){if(i.offset10;){let i=n[0],r=i.seq1Range.intersects(u.seq1Range)||i.seq2Range.intersects(u.seq2Range);if(!r)break;let s=e.findWordContaining(i.seq1Range.start),o=t.findWordContaining(i.seq2Range.start),a=new rc(s,o),l=a.intersect(i);if(d+=l.seq1Range.length,c+=l.seq2Range.length,(u=u.join(a)).seq1Range.endExclusive>=i.seq1Range.endExclusive)n.shift();else break}d+c<(u.seq1Range.length+u.seq2Range.length)*2/3&&r.push(u),s=u.getEndExclusives()}for(;n.length>0;){let e=n.shift();e.seq1Range.isEmpty||(o(e.getStarts(),e),o(e.getEndExclusives().delta(-1),e))}let a=function(e,t){let i=[];for(;e.length>0||t.length>0;){let n;let r=e[0],s=t[0];n=r&&(!s||r.seq1Range.start0&&i[i.length-1].seq1Range.endExclusive>=n.seq1Range.start?i[i.length-1]=i[i.length-1].join(n):i.push(n)}return i}(i,r);return a}(s,o,l)),l=function(e,t,i){let n,r=i;if(0===r.length)return r;let s=0;do{n=!1;let i=[r[0]];for(let s=1;s5||r.length>500)return!1;let l=e.getText(r).trim();if(l.length>20||l.split(/\r\n|\r|\n/).length>1)return!1;let u=e.countLinesIn(i.seq1Range),h=i.seq1Range.length,d=t.countLinesIn(i.seq2Range),c=i.seq2Range.length,m=e.countLinesIn(n.seq1Range),g=n.seq1Range.length,f=t.countLinesIn(n.seq2Range),p=n.seq2Range.length;function b(e){return Math.min(e,130)}return Math.pow(Math.pow(b(40*u+h),1.5)+Math.pow(b(40*d+c),1.5),1.5)+Math.pow(Math.pow(b(40*m+g),1.5)+Math.pow(b(40*f+p),1.5),1.5)>74184.96480721243}(a,o);l?(n=!0,i[i.length-1]=i[i.length-1].join(o)):i.push(o)}r=i}while(s++<10&&n);let o=[];return function(e,t){for(let i=0;i{let r=i;function s(e){return e.length>0&&e.trim().length<=3&&i.seq1Range.length+i.seq2Range.length>100}let a=e.extendToFullLines(i.seq1Range),l=e.getText(new nZ(a.start,i.seq1Range.start));s(l)&&(r=r.deltaStart(-l.length));let u=e.getText(new nZ(i.seq1Range.endExclusive,a.endExclusive));s(u)&&(r=r.deltaEnd(u.length));let h=rc.fromOffsetPairs(t?t.getEndExclusives():rm.zero,n?n.getStarts():rm.max),d=r.intersect(h);o.length>0&&d.getStarts().equals(o[o.length-1].getEndExclusives())?o[o.length-1]=o[o.length-1].join(d):o.push(d)}),o}(s,o,l);let u=l.map(e=>new re(s.translateRange(e.seq1Range),o.translateRange(e.seq2Range)));return{mappings:u,hitTimeout:a.hitTimeout}}}function rP(e,t,i,n=!1){let r=[];for(let n of function*(e,t){let i,n;for(let r of e)void 0!==n&&t(n,r)?i.push(r):(i&&(yield i),i=[r]),n=r;i&&(yield i)}(e.map(e=>(function(e,t,i){let n=0,r=0;1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+n<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+n<=e.modifiedRange.endLineNumber&&(r=-1),e.modifiedRange.startColumn-1>=i[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+r&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+r&&(n=1);let s=new n5(e.originalRange.startLineNumber+n,e.originalRange.endLineNumber+1+r),o=new n5(e.modifiedRange.startLineNumber+n,e.modifiedRange.endLineNumber+1+r);return new n3(s,o,[e])})(e,t,i)),(e,t)=>e.original.overlapOrTouch(t.original)||e.modified.overlapOrTouch(t.modified))){let e=n[0],t=n[n.length-1];r.push(new n3(e.original.join(t.original),e.modified.join(t.modified),n.map(e=>e.innerChanges[0])))}return n$(()=>(!!n||!(r.length>0)||r[0].modified.startLineNumber===r[0].original.startLineNumber&&i.length-r[r.length-1].modified.endLineNumberExclusive==t.length-r[r.length-1].original.endLineNumberExclusive)&&nj(r,(e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusivenew rt,getDefault:()=>new rI};function rD(e,t){let i=Math.pow(10,t);return Math.round(e*i)/i}class rK{constructor(e,t,i,n=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,i)),this.a=rD(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class rq{constructor(e,t,i,n){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=rD(Math.max(Math.min(1,t),0),3),this.l=rD(Math.max(Math.min(1,i),0),3),this.a=rD(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){let t=e.r/255,i=e.g/255,n=e.b/255,r=e.a,s=Math.max(t,i,n),o=Math.min(t,i,n),a=0,l=0,u=(o+s)/2,h=s-o;if(h>0){switch(l=Math.min(u<=.5?h/(2*u):h/(2-2*u),1),s){case t:a=(i-n)/h+(i1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}static toRGBA(e){let t,i,n;let r=e.h/360,{s,l:o,a}=e;if(0===s)t=i=n=o;else{let e=o<.5?o*(1+s):o+s-o*s,a=2*o-e;t=rq._hue2rgb(a,e,r+1/3),i=rq._hue2rgb(a,e,r),n=rq._hue2rgb(a,e,r-1/3)}return new rK(Math.round(255*t),Math.round(255*i),Math.round(255*n),a)}}class rV{constructor(e,t,i,n){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=rD(Math.max(Math.min(1,t),0),3),this.v=rD(Math.max(Math.min(1,i),0),3),this.a=rD(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){let t;let i=e.r/255,n=e.g/255,r=e.b/255,s=Math.max(i,n,r),o=Math.min(i,n,r),a=s-o,l=0===s?0:a/s;return t=0===a?0:s===i?((n-r)/a%6+6)%6:s===n?(r-i)/a+2:(i-n)/a+4,new rV(Math.round(60*t),l,s,e.a)}static toRGBA(e){let{h:t,s:i,v:n,a:r}=e,s=n*i,o=s*(1-Math.abs(t/60%2-1)),a=n-s,[l,u,h]=[0,0,0];return t<60?(l=s,u=o):t<120?(l=o,u=s):t<180?(u=s,h=o):t<240?(u=o,h=s):t<300?(l=o,h=s):t<=360&&(l=s,h=o),l=Math.round((l+a)*255),u=Math.round((u+a)*255),h=Math.round((h+a)*255),new rK(l,u,h,r)}}class rB{static fromHex(e){return rB.Format.CSS.parseHex(e)||rB.red}static equals(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}get hsla(){return this._hsla?this._hsla:rq.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:rV.fromRGBA(this.rgba)}constructor(e){if(e){if(e instanceof rK)this.rgba=e;else if(e instanceof rq)this._hsla=e,this.rgba=rq.toRGBA(e);else if(e instanceof rV)this._hsva=e,this.rgba=rV.toRGBA(e);else throw Error("Invalid color ctor argument")}else throw Error("Color needs a value")}equals(e){return!!e&&rK.equals(this.rgba,e.rgba)&&rq.equals(this.hsla,e.hsla)&&rV.equals(this.hsva,e.hsva)}getRelativeLuminance(){let e=rB._relativeLuminanceForComponent(this.rgba.r),t=rB._relativeLuminanceForComponent(this.rgba.g),i=rB._relativeLuminanceForComponent(this.rgba.b);return rD(.2126*e+.7152*t+.0722*i,4)}static _relativeLuminanceForComponent(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){let e=(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3;return e>=128}isLighterThan(e){let t=this.getRelativeLuminance(),i=e.getRelativeLuminance();return t>i}isDarkerThan(e){let t=this.getRelativeLuminance(),i=e.getRelativeLuminance();return tthis._lines.length)t=this._lines.length,i=this._lines[t-1].length+1,n=!0;else{let e=this._lines[t-1].length+1;i<1?(i=1,n=!0):i>e&&(i=e,n=!0)}return n?{lineNumber:t,column:i}:e}}class rY{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new rJ(iX.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;let i=this._models[e];i.onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}async computeUnicodeHighlights(e,t,i){let n=this._getModel(e);return n?nG.computeUnicodeHighlights(n,t,i):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async findSectionHeaders(e,t){let i=this._getModel(e);return i?function(e,t){var i;let n=[];if(t.findRegionSectionHeaders&&(null===(i=t.foldingRules)||void 0===i?void 0:i.markers)){let i=function(e,t){let i=[],n=e.getLineCount();for(let r=1;r<=n;r++){let n=e.getLineContent(r),s=n.match(t.foldingRules.markers.start);if(s){let e={startLineNumber:r,startColumn:s[0].length+1,endLineNumber:r,endColumn:n.length+1};if(e.endColumn>e.startColumn){let t={range:e,...rX(n.substring(s[0].length)),shouldBeInComments:!1};(t.text||t.hasSeparatorLine)&&i.push(t)}}}return i}(e,t);n=n.concat(i)}if(t.findMarkSectionHeaders){let t=function(e){let t=[],i=e.getLineCount();for(let n=1;n<=i;n++){let i=e.getLineContent(n);(function(e,t,i){rG.lastIndex=0;let n=rG.exec(e);if(n){let e=n.indices[1][0]+1,r=n.indices[1][1]+1,s={startLineNumber:t,startColumn:e,endLineNumber:t,endColumn:r};if(s.endColumn>s.startColumn){let e={range:s,...rX(n[1]),shouldBeInComments:!0};(e.text||e.hasSeparatorLine)&&i.push(e)}}})(i,n,t)}return t}(e);n=n.concat(t)}return n}(i,t):[]}async computeDiff(e,t,i,n){let r=this._getModel(e),s=this._getModel(t);if(!r||!s)return null;let o=rY.computeDiff(r,s,i,n);return o}static computeDiff(e,t,i,n){let r="advanced"===n?rF.getDefault():rF.getLegacy(),s=e.getLinesContent(),o=t.getLinesContent(),a=r.computeDiff(s,o,i),l=!(a.changes.length>0)&&this._modelsAreIdentical(e,t);function u(e){return e.map(e=>{var t;return[e.original.startLineNumber,e.original.endLineNumberExclusive,e.modified.startLineNumber,e.modified.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map(e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn])]})}return{identical:l,quitEarly:a.hitTimeout,changes:u(a.changes),moves:a.moves.map(e=>[e.lineRangeMapping.original.startLineNumber,e.lineRangeMapping.original.endLineNumberExclusive,e.lineRangeMapping.modified.startLineNumber,e.lineRangeMapping.modified.endLineNumberExclusive,u(e.changes)])}}static _modelsAreIdentical(e,t){let i=e.getLineCount(),n=t.getLineCount();if(i!==n)return!1;for(let n=1;n<=i;n++){let i=e.getLineContent(n),r=t.getLineContent(n);if(i!==r)return!1}return!0}async computeMoreMinimalEdits(e,t,i){let n;let r=this._getModel(e);if(!r)return t;let s=[];t=t.slice(0).sort((e,t)=>{if(e.range&&t.range)return i6.compareRangesUsingStarts(e.range,t.range);let i=e.range?0:1,n=t.range?0:1;return i-n});let o=0;for(let e=1;erY._diffLimit){s.push({range:e,text:l});continue}let o=(a=l,new ix(new iE(t),new iE(a)).ComputeDiff(i).changes),h=r.offsetAt(i6.lift(e).getStartPosition());for(let e of o){let t=r.positionAt(h+e.originalStart),i=r.positionAt(h+e.originalStart+e.originalLength),n={text:l.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:i.lineNumber,endColumn:i.column}};r.getValueInRange(n.range)!==n.text&&s.push(n)}}return"number"==typeof n&&s.push({eol:n,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s}async computeLinks(e){let t=this._getModel(e);return t?t&&"function"==typeof t.getLineCount&&"function"==typeof t.getLineContent?np.computeLinks(t):[]:null}async computeDefaultDocumentColors(e){let t=this._getModel(e);return t?t&&"function"==typeof t.getValue&&"function"==typeof t.positionAt?function(e){let t=[],i=rj(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(i.length>0)for(let n of i){let i;let r=n.filter(e=>void 0!==e),s=r[1],o=r[2];if(o){if("rgb"===s){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;i=rW(rz(e,n),rj(o,t),!1)}else if("rgba"===s){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;i=rW(rz(e,n),rj(o,t),!0)}else if("hsl"===s){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;i=r$(rz(e,n),rj(o,t),!1)}else if("hsla"===s){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;i=r$(rz(e,n),rj(o,t),!0)}else"#"===s&&(i=function(e,t){if(!e)return;let i=rB.Format.CSS.parseHex(t);if(i)return{range:e,color:rH(i.rgba.r,i.rgba.g,i.rgba.b,i.rgba.a)}}(rz(e,n),s+o));i&&t.push(i)}}return t}(t):[]:null}async textualSuggest(e,t,i,n){let r=new C,s=new RegExp(i,n),o=new Set;i:for(let i of e){let e=this._getModel(i);if(e){for(let i of e.words(s))if(i!==t&&isNaN(Number(i))&&(o.add(i),o.size>rY._suggestionsLimit))break i}}return{words:Array.from(o),duration:r.elapsed()}}async computeWordRanges(e,t,i,n){let r=this._getModel(e);if(!r)return Object.create(null);let s=new RegExp(i,n),o=Object.create(null);for(let e=t.startLineNumber;efunction(){let i=Array.prototype.slice.call(arguments,0);return t(e,i)},n={};for(let t of e)n[t]=i(t);return n}(i,(e,t)=>this._host.fhr(e,t));return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:n,getMirrorModels:()=>this._getModels()},t),Promise.resolve(k(this._foreignModule))):Promise.reject(Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}rY._diffLimit=1e5,rY._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco={editor:void 0,languages:void 0,CancellationTokenSource:class{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new nv),this._token}cancel(){this._token?this._token instanceof nv&&this._token.cancel():this._token=eQ.Cancelled}dispose(e=!1){var t;e&&this.cancel(),null===(t=this._parentListener)||void 0===t||t.dispose(),this._token?this._token instanceof nv&&this._token.dispose():this._token=eQ.None}},Emitter:x,KeyCode:ty,KeyMod:nq,Position:i9,Range:i6,Selection:nk,SelectionDirection:tF,MarkerSeverity:tC,MarkerTag:tL,Uri:iX,Token:class{constructor(e,t,i){this.offset=e,this.type=t,this.language=i,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}});let rZ=!1;globalThis.onmessage=e=>{rZ||function(e){if(rZ)return;rZ=!0;let t=new iv(e=>{globalThis.postMessage(e)},e=>new rY(e,null));globalThis.onmessage=e=>{t.onmessage(e.data)}}(0)}}()}(); \ No newline at end of file +!function(){var e={454:function(e,t,r){"use strict";var n,i;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(i=r.g.process)?void 0:i.env)?r.g.process:r(663)},663:function(e){!function(){var t={229:function(e){var t,r,n,i=e.exports={};function a(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var l=[],h=!1,u=-1;function c(){h&&n&&(h=!1,n.length?l=n.concat(l):u=-1,l.length&&d())}function d(){if(!h){var e=s(c);h=!0;for(var t=l.length;t;){for(n=l,l=[];++u1)for(var r=1;r{if(e.stack){if(l.isErrorNoTelemetry(e))throw new l(e.message+"\n\n"+e.stack);throw Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function a(e){if(e instanceof Error){let{name:t,message:r}=e,n=e.stacktrace||e.stack;return{$isError:!0,name:t,message:r,stack:n,noTelemetry:l.isErrorNoTelemetry(e)}}return e}let o="Canceled";class s extends Error{constructor(){super(o),this.name=this.message}}class l extends Error{constructor(e){super(e),this.name="ErrorNoTelemetry"}static fromError(e){if(e instanceof l)return e;let t=new l;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"ErrorNoTelemetry"===e.name}}function h(e){return e}function u(e){}function c(e,t){}!function(e){e.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};let t=Object.freeze([]);function r(t,r=Number.POSITIVE_INFINITY){let n=[];if(0===r)return[n,t];let i=t[Symbol.iterator]();for(let t=0;ti}]}e.empty=function(){return t},e.single=function*(e){yield e},e.from=function(e){return e||t},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(let r of e)if(t(r))return!0;return!1},e.find=function(e,t){for(let r of e)if(t(r))return r},e.filter=function*(e,t){for(let r of e)t(r)&&(yield r)},e.map=function*(e,t){let r=0;for(let n of e)yield t(n,r++)},e.concat=function*(...e){for(let t of e)for(let e of t)yield e},e.concatNested=function*(e){for(let t of e)for(let e of t)yield e},e.reduce=function(e,t,r){let n=r;for(let r of e)n=t(n,r);return n},e.forEach=function(e,t){let r=0;for(let n of e)t(n,r++)},e.slice=function*(e,t,r=e.length){for(t<0&&(t+=e.length),r<0?r+=e.length:r>e.length&&(r=e.length);te===t){let n=e[Symbol.iterator](),i=t[Symbol.iterator]();for(;;){let e=n.next(),t=i.next();if(e.done!==t.done)return!1;if(e.done)return!0;if(!r(e.value,t.value))return!1}}}(eb||(eb={}));class d extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function f(e){if(eb.is(e)){let t=[];for(let r of e)if(r)try{r.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw new d(t);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function m(e){let t={dispose:function(e){let t;let r=this,n=!1;return function(){return n?t:(n=!0,t=e.apply(r,arguments))}}(()=>{e()})};return t}class g{constructor(){var e;this._toDispose=new Set,this._isDisposed=!1,e=this}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{f(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw Error("Cannot register a disposable on itself!");return this._isDisposed?g.DISABLE_DISPOSED_WARNING||console.warn(Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}g.DISABLE_DISPOSED_WARNING=!1;class b{constructor(){var e;this._store=new g,e=this,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw Error("Cannot register a disposable on itself!");return this._store.add(e)}}b.None=Object.freeze({dispose(){}});class C{constructor(){var e;this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1,e=this}set(e){let t=e;return this.unset=()=>t=void 0,this.isset=()=>void 0!==t,this.dispose=()=>{t&&(t(),t=void 0)},this}}class p{constructor(e){this.element=e,this.next=p.Undefined,this.prev=p.Undefined}}p.Undefined=new p(void 0);class w{constructor(){this._first=p.Undefined,this._last=p.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===p.Undefined}clear(){let e=this._first;for(;e!==p.Undefined;){let t=e.next;e.prev=p.Undefined,e.next=p.Undefined,e=t}this._first=p.Undefined,this._last=p.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let r=new p(e);if(this._first===p.Undefined)this._first=r,this._last=r;else if(t){let e=this._last;this._last=r,r.prev=e,e.next=r}else{let e=this._first;this._first=r,r.next=e,e.prev=r}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(r))}}shift(){if(this._first!==p.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==p.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==p.Undefined&&e.next!==p.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===p.Undefined&&e.next===p.Undefined?(this._first=p.Undefined,this._last=p.Undefined):e.next===p.Undefined?(this._last=this._last.prev,this._last.next=p.Undefined):e.prev===p.Undefined&&(this._first=this._first.next,this._first.prev=p.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==p.Undefined;)yield e.element,e=e.next}}let _="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;var y,S,L,v,N,E,A,k,M,R,x,O,T,I,P,K,D,V,F,B,U,q,H,W,$,z,j,G,Y,Z,J,Q,X,ee,et,er,en,ei,ea,eo,es,el,eh,eu,ec,ed,ef,em,eg,eb,eC,ep,ew,e_,ey,eS,eL,ev,eN,eE,eA,ek,eM,eR,ex,eO,eT,eI,eP,eK,eD,eV,eF,eB,eU,eq,eH,eW,e$,ez,ej,eG,eY,eZ,eJ,eQ,eX,e1,e2,e0,e4,e5,e7,e9,e8,e6,e3,te,tt,tr,tn,ti,ta,to,ts=r(454);let tl=!1,th=!1,tu=!1,tc="object"==typeof self?self:"object"==typeof r.g?r.g:{};void 0!==tc.vscode&&void 0!==tc.vscode.process?n=tc.vscode.process:void 0!==ts&&(n=ts);let td="string"==typeof(null===(eC=null==n?void 0:n.versions)||void 0===eC?void 0:eC.electron),tf=td&&(null==n?void 0:n.type)==="renderer";if("object"!=typeof navigator||tf){if("object"==typeof n){tl="win32"===n.platform,th="darwin"===n.platform,"linux"===n.platform&&n.env.SNAP&&n.env.SNAP_REVISION,n.env.CI||n.env.BUILD_ARTIFACTSTAGINGDIRECTORY;let e=n.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e);t.availableLanguages["*"],t.locale,t._translationsConfigFile}catch(e){}}else console.error("Unable to resolve platform.")}else tl=(t=navigator.userAgent).indexOf("Windows")>=0,th=t.indexOf("Macintosh")>=0,(t.indexOf("Macintosh")>=0||t.indexOf("iPad")>=0||t.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints,t.indexOf("Linux"),tu=!0,function(e,t,...r){let n;n=0===r.length?"_":"_".replace(/\{(\d+)\}/g,(e,t)=>{let n=t[0],i=r[n],a=e;return"string"==typeof i?a=i:("number"==typeof i||"boolean"==typeof i||null==i)&&(a=String(i)),a}),_&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]")}(0,0);let tm=tl,tg=th;tu&&tc.importScripts;let tb=t,tC="function"==typeof tc.postMessage&&!tc.importScripts;(()=>{if(tC){let e=[];tc.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let r=0,n=e.length;r{let n=++t;e.push({id:n,callback:r}),tc.postMessage({vscodeScheduleAsyncWork:n},"*")}}return e=>setTimeout(e)})();let tp=!!(tb&&tb.indexOf("Chrome")>=0);tb&&tb.indexOf("Firefox"),!tp&&tb&&tb.indexOf("Safari"),tb&&tb.indexOf("Edg/"),tb&&tb.indexOf("Android");let tw=tc.performance&&"function"==typeof tc.performance.now;class t_{constructor(e){this._highResolution=tw&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new t_(e)}stop(){this._stopTime=this._now()}elapsed(){return -1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?tc.performance.now():Date.now()}}!function(e){function t(e){return(t,r=null,n)=>{let i,a=!1;return i=e(e=>a?void 0:(i?i.dispose():a=!0,t.call(r,e)),null,n),a&&i.dispose(),i}}function r(e,t,r){return o((r,n=null,i)=>e(e=>r.call(n,t(e)),null,i),r)}function n(e,t,r){return o((r,n=null,i)=>e(e=>{t(e),r.call(n,e)},null,i),r)}function i(e,t,r){return o((r,n=null,i)=>e(e=>t(e)&&r.call(n,e),null,i),r)}function a(e,t,n,i){let a=n;return r(e,e=>a=t(a,e),i)}function o(e,t){let r;let n=new tv({onFirstListenerAdd(){r=e(n.fire,n)},onLastListenerRemove(){null==r||r.dispose()}});return null==t||t.add(n),n.event}function s(e,t,r=100,n=!1,i,a){let o,s,l;let h=0,u=new tv({leakWarningThreshold:i,onFirstListenerAdd(){o=e(e=>{h++,s=t(s,e),n&&!l&&(u.fire(s),s=void 0),clearTimeout(l),l=setTimeout(()=>{let e=s;s=void 0,l=void 0,(!n||h>1)&&u.fire(e),h=0},r)})},onLastListenerRemove(){o.dispose()}});return null==a||a.add(u),u.event}function l(e,t=(e,t)=>e===t,r){let n,a=!0;return i(e,e=>{let r=a||!t(e,n);return a=!1,n=e,r},r)}e.None=()=>b.None,e.once=t,e.map=r,e.forEach=n,e.filter=i,e.signal=function(e){return e},e.any=function(...e){return(t,r=null,n)=>(function(...e){let t=m(()=>f(e));return t})(...e.map(e=>e(e=>t.call(r,e),null,n)))},e.reduce=a,e.debounce=s,e.latch=l,e.split=function(t,r,n){return[e.filter(t,r,n),e.filter(t,e=>!r(e),n)]},e.buffer=function(e,t=!1,r=[]){let n=r.slice(),i=e(e=>{n?n.push(e):o.fire(e)}),a=()=>{null==n||n.forEach(e=>o.fire(e)),n=null},o=new tv({onFirstListenerAdd(){i||(i=e(e=>o.fire(e)))},onFirstListenerDidAdd(){n&&(t?setTimeout(a):a())},onLastListenerRemove(){i&&i.dispose(),i=null}});return o.event};class h{constructor(e){this.event=e,this.disposables=new g}map(e){return new h(r(this.event,e,this.disposables))}forEach(e){return new h(n(this.event,e,this.disposables))}filter(e){return new h(i(this.event,e,this.disposables))}reduce(e,t){return new h(a(this.event,e,t,this.disposables))}latch(){return new h(l(this.event,void 0,this.disposables))}debounce(e,t=100,r=!1,n){return new h(s(this.event,e,t,r,n,this.disposables))}on(e,t,r){return this.event(e,t,r)}once(e,r,n){return t(this.event)(e,r,n)}dispose(){this.disposables.dispose()}}e.chain=function(e){return new h(e)},e.fromNodeEventEmitter=function(e,t,r=e=>e){let n=(...e)=>i.fire(r(...e)),i=new tv({onFirstListenerAdd:()=>e.on(t,n),onLastListenerRemove:()=>e.removeListener(t,n)});return i.event},e.fromDOMEventEmitter=function(e,t,r=e=>e){let n=(...e)=>i.fire(r(...e)),i=new tv({onFirstListenerAdd:()=>e.addEventListener(t,n),onLastListenerRemove:()=>e.removeEventListener(t,n)});return i.event},e.toPromise=function(e){return new Promise(r=>t(e)(r))},e.runAndSubscribe=function(e,t){return t(void 0),e(e=>t(e))},e.runAndSubscribeWithStore=function(e,t){let r=null;function n(e){null==r||r.dispose(),t(e,r=new g)}n(void 0);let i=e(e=>n(e));return m(()=>{i.dispose(),null==r||r.dispose()})};class u{constructor(e,t){this.obs=e,this._counter=0,this._hasChanged=!1;this.emitter=new tv({onFirstListenerAdd:()=>{e.addObserver(this)},onLastListenerRemove:()=>{e.removeObserver(this)}}),t&&t.add(this.emitter)}beginUpdate(e){this._counter++}handleChange(e,t){this._hasChanged=!0}endUpdate(e){0==--this._counter&&this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this.obs.get()))}}e.fromObservable=function(e,t){let r=new u(e,t);return r.emitter.event}}(ep||(ep={}));class ty{constructor(e){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${e}_${ty._idPool++}`}start(e){this._stopWatch=new t_(!0),this._listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this._elapsedOverall+=e,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${e.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}ty._idPool=0;class tS{constructor(e){this.value=e}static create(){var e;return new tS(null!==(e=Error().stack)&&void 0!==e?e:"")}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class tL{constructor(e,t,r){this.callback=e,this.callbackThis=t,this.stack=r,this.subscription=new C}invoke(e){this.callback.call(this.callbackThis,e)}}class tv{constructor(e){var t,r;this._disposed=!1,this._options=e,this._leakageMon=void 0,this._perfMon=(null===(t=this._options)||void 0===t?void 0:t._profName)?new ty(this._options._profName):void 0,this._deliveryQueue=null===(r=this._options)||void 0===r?void 0:r.deliveryQueue}dispose(){var e,t,r,n;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),null===(e=this._deliveryQueue)||void 0===e||e.clear(this),null===(r=null===(t=this._options)||void 0===t?void 0:t.onLastListenerRemove)||void 0===r||r.call(t),null===(n=this._leakageMon)||void 0===n||n.dispose())}get event(){return this._event||(this._event=(e,t,r)=>{var n,i,a;let o,s;this._listeners||(this._listeners=new w);let l=this._listeners.isEmpty();l&&(null===(n=this._options)||void 0===n?void 0:n.onFirstListenerAdd)&&this._options.onFirstListenerAdd(this),this._leakageMon&&this._listeners.size>=30&&(s=tS.create(),o=this._leakageMon.check(s,this._listeners.size+1));let h=new tL(e,t,s),u=this._listeners.push(h);l&&(null===(i=this._options)||void 0===i?void 0:i.onFirstListenerDidAdd)&&this._options.onFirstListenerDidAdd(this),(null===(a=this._options)||void 0===a?void 0:a.onListenerDidAdd)&&this._options.onListenerDidAdd(this,e,t);let c=h.subscription.set(()=>{if(null==o||o(),!this._disposed&&(u(),this._options&&this._options.onLastListenerRemove)){let e=this._listeners&&!this._listeners.isEmpty();e||this._options.onLastListenerRemove(this)}});return r instanceof g?r.add(c):Array.isArray(r)&&r.push(c),c}),this._event}fire(e){var t,r;if(this._listeners){for(let t of(this._deliveryQueue||(this._deliveryQueue=new tE),this._listeners))this._deliveryQueue.push(this,t,e);null===(t=this._perfMon)||void 0===t||t.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),null===(r=this._perfMon)||void 0===r||r.stop()}}}class tN{constructor(){this._queue=new w}get size(){return this._queue.size}push(e,t,r){this._queue.push(new tA(e,t,r))}clear(e){let t=new w;for(let r of this._queue)r.emitter!==e&&t.push(r);this._queue=t}deliver(){for(;this._queue.size>0;){let e=this._queue.shift();try{e.listener.invoke(e.event)}catch(e){e instanceof s||e instanceof Error&&e.name===o&&e.message===o||i.onUnexpectedError(e)}}}}class tE extends tN{clear(e){this._queue.clear()}}class tA{constructor(e,t,r){this.emitter=e,this.listener=t,this.event=r}}function tk(e){let t=[];for(let r of function(e){let t=[],r=Object.getPrototypeOf(e);for(;Object.prototype!==r;)t=t.concat(Object.getOwnPropertyNames(r)),r=Object.getPrototypeOf(r);return t}(e))"function"==typeof e[r]&&t.push(r);return t}class tM{constructor(e){this.executor=e,this._didRun=!1}hasValue(){return this._didRun}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function tR(e){return e>=65&&e<=90}function tx(e){return 55296<=e&&e<=56319}function tO(e){return 56320<=e&&e<=57343}function tT(e,t){return(e-55296<<10)+(t-56320)+65536}let tI=/^[\t\n\r\x20-\x7E]*$/;String.fromCharCode(65279);class tP{constructor(){this._data=JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}static getInstance(){return tP._INSTANCE||(tP._INSTANCE=new tP),tP._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;let t=this._data,r=t.length/3,n=1;for(;n<=r;)if(et[3*n+1]))return t[3*n+2];n=2*n+1}return 0}}tP._INSTANCE=null;class tK{constructor(e){this.confusableDictionary=e}static getInstance(e){return tK.cache.get(Array.from(e))}static getLocales(){return tK._locales.getValue()}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}tK.ambiguousCharacterData=new tM(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),tK.cache=new class{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){let t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}(e=>{let t;function r(e){let t=new Map;for(let r=0;r!e.startsWith("_")&&e in n);for(let e of(0===i.length&&(i=["_default"]),i)){let i=r(n[e]);t=function(e,t){if(!e)return t;let r=new Map;for(let[n,i]of e)t.has(n)&&r.set(n,i);return r}(t,i)}let a=r(n._common),o=function(e,t){let r=new Map(e);for(let[e,n]of t)r.set(e,n);return r}(a,t);return new tK(o)}),tK._locales=new tM(()=>Object.keys(tK.ambiguousCharacterData.getValue()).filter(e=>!e.startsWith("_")));class tD{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(tD.getRawData())),this._data}static isInvisibleCharacter(e){return tD.getData().has(e)}static get codePoints(){return tD.getData()}}tD._data=void 0;class tV{constructor(e,t,r,n){this.vsWorker=e,this.req=t,this.method=r,this.args=n,this.type=0}}class tF{constructor(e,t,r,n){this.vsWorker=e,this.seq=t,this.res=r,this.err=n,this.type=1}}class tB{constructor(e,t,r,n){this.vsWorker=e,this.req=t,this.eventName=r,this.arg=n,this.type=2}}class tU{constructor(e,t,r){this.vsWorker=e,this.req=t,this.event=r,this.type=3}}class tq{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class tH{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){let r=String(++this._lastSentReq);return new Promise((n,i)=>{this._pendingReplies[r]={resolve:n,reject:i},this._send(new tV(this._workerId,r,e,t))})}listen(e,t){let r=null,n=new tv({onFirstListenerAdd:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,n),this._send(new tB(this._workerId,r,e,t))},onLastListenerRemove:()=>{this._pendingEmitters.delete(r),this._send(new tq(this._workerId,r)),r=null}});return n.event}handleMessage(e){e&&e.vsWorker&&(-1===this._workerId||e.vsWorker===this._workerId)&&this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let r=e.err;e.err.$isError&&((r=Error()).name=e.err.name,r.message=e.err.message,r.stack=e.err.stack),t.reject(r);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req,r=this._handler.handleMessage(e.method,e.args);r.then(e=>{this._send(new tF(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=a(e.detail)),this._send(new tF(this._workerId,t,void 0,a(e)))})}_handleSubscribeEventMessage(e){let t=e.req,r=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new tU(this._workerId,t,e))});this._pendingEvents.set(t,r)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(0===e.type)for(let r=0;r{e(t,r)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}_handleEvent(e,t){if(!this._requestHandler)throw Error("Missing requestHandler");if(t$(e)){let r=this._requestHandler[e].call(this._requestHandler,t);if("function"!=typeof r)throw Error(`Missing dynamic event ${e} on request handler.`);return r}if(tW(e)){let t=this._requestHandler[e];if("function"!=typeof t)throw Error(`Missing event ${e} on request handler.`);return t}throw Error(`Malformed event name ${e}`)}initialize(e,t,r,n){this._protocol.setWorkerId(e);let i=function(e,t,r){let n=e=>function(){let r=Array.prototype.slice.call(arguments,0);return t(e,r)},i=e=>function(t){return r(e,t)},a={};for(let t of e){if(t$(t)){a[t]=i(t);continue}if(tW(t)){a[t]=r(t,void 0);continue}a[t]=n(t)}return a}(n,(e,t)=>this._protocol.sendMessage(e,t),(e,t)=>this._protocol.listen(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(i),Promise.resolve(tk(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.trustedTypesPolicy,delete t.trustedTypesPolicy,t.catchError=!0,tc.require.config(t)),new Promise((e,t)=>{let n=tc.require;n([r],r=>{if(this._requestHandler=r.create(i),!this._requestHandler){t(Error("No RequestHandler!"));return}e(tk(this._requestHandler))},t)}))}}class tj{constructor(e,t,r,n){this.originalStart=e,this.originalLength=t,this.modifiedStart=r,this.modifiedLength=n}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function tG(e,t,r=32){let n=r-t;return(e<>>n)>>>0}function tY(e,t=0,r=e.byteLength,n=0){for(let i=0;ie.toString(16).padStart(2,"0")).join(""):function(e,t,r="0"){for(;e.length>>0).toString(16),t/4)}class tJ{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let t,r;let n=e.length;if(0===n)return;let i=this._buff,a=this._buffLen,o=this._leftoverHighSurrogate;for(0!==o?(t=o,r=-1,o=0):(t=e.charCodeAt(0),r=0);;){let s=t;if(tx(t)){if(r+1>>6,e[t++]=128|(63&r)>>>0):r<65536?(e[t++]=224|(61440&r)>>>12,e[t++]=128|(4032&r)>>>6,e[t++]=128|(63&r)>>>0):(e[t++]=240|(1835008&r)>>>18,e[t++]=128|(258048&r)>>>12,e[t++]=128|(4032&r)>>>6,e[t++]=128|(63&r)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),tZ(this._h0)+tZ(this._h1)+tZ(this._h2)+tZ(this._h3)+tZ(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,tY(this._buff,this._buffLen),this._buffLen>56&&(this._step(),tY(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){let e,t,r;let n=tJ._bigBlock32,i=this._buffDV;for(let e=0;e<64;e+=4)n.setUint32(e,i.getUint32(e,!1),!1);for(let e=64;e<320;e+=4)n.setUint32(e,tG(n.getUint32(e-12,!1)^n.getUint32(e-32,!1)^n.getUint32(e-56,!1)^n.getUint32(e-64,!1),1),!1);let a=this._h0,o=this._h1,s=this._h2,l=this._h3,h=this._h4;for(let i=0;i<80;i++)i<20?(e=o&s|~o&l,t=1518500249):i<40?(e=o^s^l,t=1859775393):i<60?(e=o&s|o&l|s&l,t=2400959708):(e=o^s^l,t=3395469782),r=tG(a,5)+e+h+t+n.getUint32(4*i,!1)&4294967295,h=l,l=s,s=tG(o,30),o=a,a=r;this._h0=this._h0+a&4294967295,this._h1=this._h1+o&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+l&4294967295,this._h4=this._h4+h&4294967295}}tJ._bigBlock32=new DataView(new ArrayBuffer(320));class tQ{constructor(e){this.source=e}getElements(){let e=this.source,t=new Int32Array(e.length);for(let r=0,n=e.length;r0||this.m_modifiedCount>0)&&this.m_changes.push(new tj(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class t0{constructor(e,t,r=null){this.ContinueProcessingPredicate=r,this._originalSequence=e,this._modifiedSequence=t;let[n,i,a]=t0._getElements(e),[o,s,l]=t0._getElements(t);this._hasStrings=a&&l,this._originalStringElements=n,this._originalElementsOrHash=i,this._modifiedStringElements=o,this._modifiedElementsOrHash=s,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){let t=e.getElements();if(t0._isStringArray(t)){let e=new Int32Array(t.length);for(let r=0,n=t.length;r=e&&n>=r&&this.ElementsAreEqual(t,n);)t--,n--;if(e>t||r>n){let i;return r<=n?(tX.Assert(e===t+1,"originalStart should only be one more than originalEnd"),i=[new tj(e,0,r,n-r+1)]):e<=t?(tX.Assert(r===n+1,"modifiedStart should only be one more than modifiedEnd"),i=[new tj(e,t-e+1,r,0)]):(tX.Assert(e===t+1,"originalStart should only be one more than originalEnd"),tX.Assert(r===n+1,"modifiedStart should only be one more than modifiedEnd"),i=[]),i}let a=[0],o=[0],s=this.ComputeRecursionPoint(e,t,r,n,a,o,i),l=a[0],h=o[0];if(null!==s)return s;if(!i[0]){let a=this.ComputeDiffRecursive(e,l,r,h,i),o=[];return o=i[0]?[new tj(l+1,t-(l+1)+1,h+1,n-(h+1)+1)]:this.ComputeDiffRecursive(l+1,t,h+1,n,i),this.ConcatenateChanges(a,o)}return[new tj(e,t-e+1,r,n-r+1)]}WALKTRACE(e,t,r,n,i,a,o,s,l,h,u,c,d,f,m,g,b,C){let p=null,w=null,_=new t2,y=t,S=r,L=d[0]-g[0]-n,v=-1073741824,N=this.m_forwardHistory.length-1;do{let t=L+e;t===y||t=0&&(e=(l=this.m_forwardHistory[N])[0],y=1,S=l.length-1)}while(--N>=-1);if(p=_.getReverseChanges(),C[0]){let e=d[0]+1,t=g[0]+1;if(null!==p&&p.length>0){let r=p[p.length-1];e=Math.max(e,r.getOriginalEnd()),t=Math.max(t,r.getModifiedEnd())}w=[new tj(e,c-e+1,t,m-t+1)]}else{_=new t2,y=a,S=o,L=d[0]-g[0]-s,v=1073741824,N=b?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let e=L+i;e===y||e=h[e+1]?(f=(u=h[e+1]-1)-L-s,u>v&&_.MarkNextChange(),v=u+1,_.AddOriginalElement(u+1,f+1),L=e+1-i):(f=(u=h[e-1])-L-s,u>v&&_.MarkNextChange(),v=u,_.AddModifiedElement(u+1,f+1),L=e-1-i),N>=0&&(i=(h=this.m_reverseHistory[N])[0],y=1,S=h.length-1)}while(--N>=-1);w=_.getChanges()}return this.ConcatenateChanges(p,w)}ComputeRecursionPoint(e,t,r,n,i,a,o){let s=0,l=0,h=0,u=0,c=0,d=0;e--,r--,i[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let f=t-e+(n-r),m=f+1,g=new Int32Array(m),b=new Int32Array(m),C=n-r,p=t-e,w=e-r,_=t-n,y=p-C,S=y%2==0;g[C]=e,b[p]=t,o[0]=!1;for(let y=1;y<=f/2+1;y++){let f=0,L=0;h=this.ClipDiagonalBound(C-y,y,C,m),u=this.ClipDiagonalBound(C+y,y,C,m);for(let e=h;e<=u;e+=2){l=(s=e===h||ef+L&&(f=s,L=l),!S&&Math.abs(e-p)<=y-1&&s>=b[e]){if(i[0]=s,a[0]=l,r<=b[e]&&y<=1448)return this.WALKTRACE(C,h,u,w,p,c,d,_,g,b,s,t,i,l,n,a,S,o);return null}}let v=(f-e+(L-r)-y)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(f,v)){if(o[0]=!0,i[0]=f,a[0]=L,!(v>0)||!(y<=1448))return e++,r++,[new tj(e,t-e+1,r,n-r+1)];break}c=this.ClipDiagonalBound(p-y,y,p,m),d=this.ClipDiagonalBound(p+y,y,p,m);for(let f=c;f<=d;f+=2){l=(s=f===c||f=b[f+1]?b[f+1]-1:b[f-1])-(f-p)-_;let m=s;for(;s>e&&l>r&&this.ElementsAreEqual(s,l);)s--,l--;if(b[f]=s,S&&Math.abs(f-C)<=y&&s<=g[f]){if(i[0]=s,a[0]=l,m>=g[f]&&y<=1448)return this.WALKTRACE(C,h,u,w,p,c,d,_,g,b,s,t,i,l,n,a,S,o);return null}}if(y<=1447){let e=new Int32Array(u-h+2);e[0]=C-h+1,t1.Copy2(g,h,e,1,u-h+1),this.m_forwardHistory.push(e),(e=new Int32Array(d-c+2))[0]=p-c+1,t1.Copy2(b,c,e,1,d-c+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(C,h,u,w,p,c,d,_,g,b,s,t,i,l,n,a,S,o)}PrettifyChanges(e){for(let t=0;t0,o=r.modifiedLength>0;for(;r.originalStart+r.originalLength=0;t--){let r=e[t],n=0,i=0;if(t>0){let r=e[t-1];n=r.originalStart+r.originalLength,i=r.modifiedStart+r.modifiedLength}let a=r.originalLength>0,o=r.modifiedLength>0,s=0,l=this._boundaryScore(r.originalStart,r.originalLength,r.modifiedStart,r.modifiedLength);for(let e=1;;e++){let t=r.originalStart-e,h=r.modifiedStart-e;if(tl&&(l=c,s=e)}r.originalStart-=s,r.modifiedStart-=s;let h=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],h)){e[t-1]=h[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,r=e.length;t0&&r>s&&(s=r,l=t,h=e)}return s>0?[l,h]:null}_contiguousSequenceScore(e,t,r){let n=0;for(let i=0;i=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){let r=e+t;if(this._OriginalIsBoundary(r-1)||this._OriginalIsBoundary(r))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){let r=e+t;if(this._ModifiedIsBoundary(r-1)||this._ModifiedIsBoundary(r))return!0}return!1}_boundaryScore(e,t,r,n){let i=this._OriginalRegionIsBoundary(e,t)?1:0,a=this._ModifiedRegionIsBoundary(r,n)?1:0;return i+a}ConcatenateChanges(e,t){let r=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],r)){let n=Array(e.length+t.length-1);return t1.Copy(e,0,n,0,e.length-1),n[e.length-1]=r[0],t1.Copy(t,1,n,e.length,t.length-1),n}{let r=Array(e.length+t.length);return t1.Copy(e,0,r,0,e.length),t1.Copy(t,0,r,e.length,t.length),r}}ChangesOverlap(e,t,r){if(tX.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),tX.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),!(e.originalStart+e.originalLength>=t.originalStart)&&!(e.modifiedStart+e.modifiedLength>=t.modifiedStart))return r[0]=null,!1;{let n=e.originalStart,i=e.originalLength,a=e.modifiedStart,o=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(o=t.modifiedStart+t.modifiedLength-e.modifiedStart),r[0]=new tj(n,i,a,o),!0}}ClipDiagonalBound(e,t,r,n){if(e>=0&&et.cwd()}}else e=void 0!==t4?{get platform(){return t4.platform},get arch(){return t4.arch},get env(){return t4.env},cwd:()=>t4.env.VSCODE_CWD||t4.cwd()}:{get platform(){return tm?"win32":tg?"darwin":"linux"},get arch(){return},get env(){return{}},cwd:()=>"/"};let t5=e.cwd,t7=e.env,t9=e.platform;class t8 extends Error{constructor(e,t,r){let n;"string"==typeof t&&0===t.indexOf("not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let i=-1!==e.indexOf(".")?"property":"argument",a=`The "${e}" ${i} ${n} of type ${t}`;super(a+=`. Received type ${typeof r}`),this.code="ERR_INVALID_ARG_TYPE"}}function t6(e,t){if("string"!=typeof e)throw new t8(t,"string",e)}function t3(e){return 47===e||92===e}function re(e){return 47===e}function rt(e){return e>=65&&e<=90||e>=97&&e<=122}function rr(e,t,r,n){let i="",a=0,o=-1,s=0,l=0;for(let h=0;h<=e.length;++h){if(h2){let e=i.lastIndexOf(r);-1===e?(i="",a=0):a=(i=i.slice(0,e)).length-1-i.lastIndexOf(r),o=h,s=0;continue}if(0!==i.length){i="",a=0,o=h,s=0;continue}}t&&(i+=i.length>0?`${r}..`:"..",a=2)}else i.length>0?i+=`${r}${e.slice(o+1,h)}`:i=e.slice(o+1,h),a=h-o-1;o=h,s=0}else 46===l&&-1!==s?++s:s=-1}return i}function rn(e,t){if(null===t||"object"!=typeof t)throw new t8("pathObject","Object",t);let r=t.dir||t.root,n=t.base||`${t.name||""}${t.ext||""}`;return r?r===t.root?`${r}${n}`:`${r}${e}${n}`:n}let ri={resolve(...e){let t="",r="",n=!1;for(let i=e.length-1;i>=-1;i--){let a;if(i>=0){if(t6(a=e[i],"path"),0===a.length)continue}else 0===t.length?a=t5():(void 0===(a=t7[`=${t}`]||t5())||a.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===a.charCodeAt(2))&&(a=`${t}\\`);let o=a.length,s=0,l="",h=!1,u=a.charCodeAt(0);if(1===o)t3(u)&&(s=1,h=!0);else if(t3(u)){if(h=!0,t3(a.charCodeAt(1))){let e=2,t=2;for(;e2&&t3(a.charCodeAt(2))&&(h=!0,s=3));if(l.length>0){if(t.length>0){if(l.toLowerCase()!==t.toLowerCase())continue}else t=l}if(n){if(t.length>0)break}else if(r=`${a.slice(s)}\\${r}`,n=h,h&&t.length>0)break}return r=rr(r,!n,"\\",t3),n?`${t}\\${r}`:`${t}${r}`||"."},normalize(e){let t;t6(e,"path");let r=e.length;if(0===r)return".";let n=0,i=!1,a=e.charCodeAt(0);if(1===r)return re(a)?"\\":e;if(t3(a)){if(i=!0,t3(e.charCodeAt(1))){let i=2,a=2;for(;i2&&t3(e.charCodeAt(2))&&(i=!0,n=3));let o=n0&&t3(e.charCodeAt(r-1))&&(o+="\\"),void 0===t)?i?`\\${o}`:o:i?`${t}\\${o}`:`${t}${o}`},isAbsolute(e){t6(e,"path");let t=e.length;if(0===t)return!1;let r=e.charCodeAt(0);return t3(r)||t>2&&rt(r)&&58===e.charCodeAt(1)&&t3(e.charCodeAt(2))},join(...e){let t,r;if(0===e.length)return".";for(let n=0;n0&&(void 0===t?t=r=i:t+=`\\${i}`)}if(void 0===t)return".";let n=!0,i=0;if("string"==typeof r&&t3(r.charCodeAt(0))){++i;let e=r.length;e>1&&t3(r.charCodeAt(1))&&(++i,e>2&&(t3(r.charCodeAt(2))?++i:n=!1))}if(n){for(;i=2&&(t=`\\${t.slice(i)}`)}return ri.normalize(t)},relative(e,t){if(t6(e,"from"),t6(t,"to"),e===t)return"";let r=ri.resolve(e),n=ri.resolve(t);if(r===n||(e=r.toLowerCase())===(t=n.toLowerCase()))return"";let i=0;for(;ii&&92===e.charCodeAt(a-1);)a--;let o=a-i,s=0;for(;ss&&92===t.charCodeAt(l-1);)l--;let h=l-s,u=ou){if(92===t.charCodeAt(s+d))return n.slice(s+d+1);if(2===d)return n.slice(s+d)}o>u&&(92===e.charCodeAt(i+d)?c=d:2===d&&(c=3)),-1===c&&(c=0)}let f="";for(d=i+c+1;d<=a;++d)(d===a||92===e.charCodeAt(d))&&(f+=0===f.length?"..":"\\..");return(s+=c,f.length>0)?`${f}${n.slice(s,l)}`:(92===n.charCodeAt(s)&&++s,n.slice(s,l))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";let t=ri.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){let e=t.charCodeAt(2);if(63!==e&&46!==e)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(rt(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return`\\\\?\\${t}`;return e},dirname(e){t6(e,"path");let t=e.length;if(0===t)return".";let r=-1,n=0,i=e.charCodeAt(0);if(1===t)return t3(i)?e:".";if(t3(i)){if(r=n=1,t3(e.charCodeAt(1))){let i=2,a=2;for(;i2&&t3(e.charCodeAt(2))?3:2);let a=-1,o=!0;for(let r=t-1;r>=n;--r)if(t3(e.charCodeAt(r))){if(!o){a=r;break}}else o=!1;if(-1===a){if(-1===r)return".";a=r}return e.slice(0,a)},basename(e,t){let r;void 0!==t&&t6(t,"ext"),t6(e,"path");let n=0,i=-1,a=!0;if(e.length>=2&&rt(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(n=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,s=-1;for(r=e.length-1;r>=n;--r){let l=e.charCodeAt(r);if(t3(l)){if(!a){n=r+1;break}}else -1===s&&(a=!1,s=r+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=r):(o=-1,i=s))}return n===i?i=s:-1===i&&(i=e.length),e.slice(n,i)}for(r=e.length-1;r>=n;--r)if(t3(e.charCodeAt(r))){if(!a){n=r+1;break}}else -1===i&&(a=!1,i=r+1);return -1===i?"":e.slice(n,i)},extname(e){t6(e,"path");let t=0,r=-1,n=0,i=-1,a=!0,o=0;e.length>=2&&58===e.charCodeAt(1)&&rt(e.charCodeAt(0))&&(t=n=2);for(let s=e.length-1;s>=t;--s){let t=e.charCodeAt(s);if(t3(t)){if(!a){n=s+1;break}continue}-1===i&&(a=!1,i=s+1),46===t?-1===r?r=s:1!==o&&(o=1):-1!==r&&(o=-1)}return -1===r||-1===i||0===o||1===o&&r===i-1&&r===n+1?"":e.slice(r,i)},format:rn.bind(null,"\\"),parse(e){t6(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;let r=e.length,n=0,i=e.charCodeAt(0);if(1===r)return t3(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(t3(i)){if(n=1,t3(e.charCodeAt(1))){let t=2,i=2;for(;t0&&(t.root=e.slice(0,n));let a=-1,o=n,s=-1,l=!0,h=e.length-1,u=0;for(;h>=n;--h){if(t3(i=e.charCodeAt(h))){if(!l){o=h+1;break}continue}-1===s&&(l=!1,s=h+1),46===i?-1===a?a=h:1!==u&&(u=1):-1!==a&&(u=-1)}return -1!==s&&(-1===a||0===u||1===u&&a===s-1&&a===o+1?t.base=t.name=e.slice(o,s):(t.name=e.slice(o,a),t.base=e.slice(o,s),t.ext=e.slice(a,s))),o>0&&o!==n?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},ra={resolve(...e){let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){let i=n>=0?e[n]:t5();t6(i,"path"),0!==i.length&&(t=`${i}/${t}`,r=47===i.charCodeAt(0))}return(t=rr(t,!r,"/",re),r)?`/${t}`:t.length>0?t:"."},normalize(e){if(t6(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return 0===(e=rr(e,!t,"/",re)).length?t?"/":r?"./":".":(r&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(t6(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){let t;if(0===e.length)return".";for(let r=0;r0&&(void 0===t?t=n:t+=`/${n}`)}return void 0===t?".":ra.normalize(t)},relative(e,t){if(t6(e,"from"),t6(t,"to"),e===t||(e=ra.resolve(e))===(t=ra.resolve(t)))return"";let r=e.length,n=r-1,i=t.length-1,a=na){if(47===t.charCodeAt(1+s))return t.slice(1+s+1);if(0===s)return t.slice(1+s)}else n>a&&(47===e.charCodeAt(1+s)?o=s:0===s&&(o=0))}let l="";for(s=1+o+1;s<=r;++s)(s===r||47===e.charCodeAt(s))&&(l+=0===l.length?"..":"/..");return`${l}${t.slice(1+o)}`},toNamespacedPath:e=>e,dirname(e){if(t6(e,"path"),0===e.length)return".";let t=47===e.charCodeAt(0),r=-1,n=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!n){r=t;break}}else n=!1;return -1===r?t?"/":".":t&&1===r?"//":e.slice(0,r)},basename(e,t){let r;void 0!==t&&t6(t,"ext"),t6(e,"path");let n=0,i=-1,a=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,s=-1;for(r=e.length-1;r>=0;--r){let l=e.charCodeAt(r);if(47===l){if(!a){n=r+1;break}}else -1===s&&(a=!1,s=r+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=r):(o=-1,i=s))}return n===i?i=s:-1===i&&(i=e.length),e.slice(n,i)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!a){n=r+1;break}}else -1===i&&(a=!1,i=r+1);return -1===i?"":e.slice(n,i)},extname(e){t6(e,"path");let t=-1,r=0,n=-1,i=!0,a=0;for(let o=e.length-1;o>=0;--o){let s=e.charCodeAt(o);if(47===s){if(!i){r=o+1;break}continue}-1===n&&(i=!1,n=o+1),46===s?-1===t?t=o:1!==a&&(a=1):-1!==t&&(a=-1)}return -1===t||-1===n||0===a||1===a&&t===n-1&&t===r+1?"":e.slice(t,n)},format:rn.bind(null,"/"),parse(e){let t;t6(e,"path");let r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;let n=47===e.charCodeAt(0);n?(r.root="/",t=1):t=0;let i=-1,a=0,o=-1,s=!0,l=e.length-1,h=0;for(;l>=t;--l){let t=e.charCodeAt(l);if(47===t){if(!s){a=l+1;break}continue}-1===o&&(s=!1,o=l+1),46===t?-1===i?i=l:1!==h&&(h=1):-1!==i&&(h=-1)}if(-1!==o){let t=0===a&&n?1:a;-1===i||0===h||1===h&&i===o-1&&i===a+1?r.base=r.name=e.slice(t,o):(r.name=e.slice(t,i),r.base=e.slice(t,o),r.ext=e.slice(i,o))}return a>0?r.dir=e.slice(0,a-1):n&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};ra.win32=ri.win32=ri,ra.posix=ri.posix=ra,"win32"===t9?ri.normalize:ra.normalize,"win32"===t9?ri.resolve:ra.resolve,"win32"===t9?ri.relative:ra.relative,"win32"===t9?ri.dirname:ra.dirname,"win32"===t9?ri.basename:ra.basename,"win32"===t9?ri.extname:ra.extname,"win32"===t9?ri.sep:ra.sep;let ro=/^\w[\w\d+.-]*$/,rs=/^\//,rl=/^\/\//;function rh(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!ro.test(e.scheme))throw Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!rs.test(e.path))throw Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(rl.test(e.path))throw Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}let ru=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class rc{constructor(e,t,r,n,i,a=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=e||a?e:"file",this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,r||""),this.query=n||"",this.fragment=i||"",rh(this,a))}static isUri(e){return e instanceof rc||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}get fsPath(){return rC(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:r,path:n,query:i,fragment:a}=e;return(void 0===t?t=this.scheme:null===t&&(t=""),void 0===r?r=this.authority:null===r&&(r=""),void 0===n?n=this.path:null===n&&(n=""),void 0===i?i=this.query:null===i&&(i=""),void 0===a?a=this.fragment:null===a&&(a=""),t===this.scheme&&r===this.authority&&n===this.path&&i===this.query&&a===this.fragment)?this:new rf(t,r,n,i,a)}static parse(e,t=!1){let r=ru.exec(e);return r?new rf(r[2]||"",r_(r[4]||""),r_(r[5]||""),r_(r[7]||""),r_(r[9]||""),t):new rf("","","","","")}static file(e){let t="";if(tm&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1]){let r=e.indexOf("/",2);-1===r?(t=e.substring(2),e="/"):(t=e.substring(2,r),e=e.substring(r)||"/")}return new rf("file",t,e,"","")}static from(e){let t=new rf(e.scheme,e.authority,e.path,e.query,e.fragment);return rh(t,!0),t}static joinPath(e,...t){let r;if(!e.path)throw Error("[UriError]: cannot call joinPath on URI without path");return r=tm&&"file"===e.scheme?rc.file(ri.join(rC(e,!0),...t)).path:ra.join(e.path,...t),e.with({path:r})}toString(e=!1){return rp(this,e)}toJSON(){return this}static revive(e){if(!e||e instanceof rc)return e;{let t=new rf(e);return t._formatted=e.external,t._fsPath=e._sep===rd?e.fsPath:null,t}}}let rd=tm?1:void 0;class rf extends rc{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=rC(this,!1)),this._fsPath}toString(e=!1){return e?rp(this,!0):(this._formatted||(this._formatted=rp(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=rd),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let rm={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function rg(e,t){let r;let n=-1;for(let i=0;i=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||45===a||46===a||95===a||126===a||t&&47===a)-1!==n&&(r+=encodeURIComponent(e.substring(n,i)),n=-1),void 0!==r&&(r+=e.charAt(i));else{void 0===r&&(r=e.substr(0,i));let t=rm[a];void 0!==t?(-1!==n&&(r+=encodeURIComponent(e.substring(n,i)),n=-1),r+=t):-1===n&&(n=i)}}return -1!==n&&(r+=encodeURIComponent(e.substring(n))),void 0!==r?r:e}function rb(e){let t;for(let r=0;r1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&90>=e.path.charCodeAt(1)||e.path.charCodeAt(1)>=97&&122>=e.path.charCodeAt(1))&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,tm&&(r=r.replace(/\//g,"\\")),r}function rp(e,t){let r=t?rb:rg,n="",{scheme:i,authority:a,path:o,query:s,fragment:l}=e;if(i&&(n+=i+":"),(a||"file"===i)&&(n+="//"),a){let e=a.indexOf("@");if(-1!==e){let t=a.substr(0,e);a=a.substr(e+1),-1===(e=t.indexOf(":"))?n+=r(t,!1):n+=r(t.substr(0,e),!1)+":"+r(t.substr(e+1),!1),n+="@"}-1===(e=(a=a.toLowerCase()).indexOf(":"))?n+=r(a,!1):n+=r(a.substr(0,e),!1)+a.substr(e)}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){let e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){let e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}n+=r(o,!0)}return s&&(n+="?"+r(s,!1)),l&&(n+="#"+(t?l:rg(l,!1))),n}let rw=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function r_(e){return e.match(rw)?e.replace(rw,e=>(function e(t){try{return decodeURIComponent(t)}catch(r){if(t.length>3)return t.substr(0,3)+e(t.substr(3));return t}})(e)):e}class ry{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new ry(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return ry.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return ry.isBefore(this,e)}static isBefore(e,t){return e.lineNumberr||e===r&&t>n?(this.startLineNumber=r,this.startColumn=n,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=r,this.endColumn=n)}isEmpty(){return rS.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return rS.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.columne.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(t.lineNumber!==e.startLineNumber||!(t.column<=e.startColumn))&&(t.lineNumber!==e.endLineNumber||!(t.column>=e.endColumn))}containsRange(e){return rS.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumne.endColumn))}strictContainsRange(e){return rS.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber)&&!(t.endLineNumber>e.endLineNumber)&&(t.startLineNumber!==e.startLineNumber||!(t.startColumn<=e.startColumn))&&(t.endLineNumber!==e.endLineNumber||!(t.endColumn>=e.endColumn))}plusRange(e){return rS.plusRange(this,e)}static plusRange(e,t){let r,n,i,a;return t.startLineNumbere.endLineNumber?(i=t.endLineNumber,a=t.endColumn):t.endLineNumber===e.endLineNumber?(i=t.endLineNumber,a=Math.max(t.endColumn,e.endColumn)):(i=e.endLineNumber,a=e.endColumn),new rS(r,n,i,a)}intersectRanges(e){return rS.intersectRanges(this,e)}static intersectRanges(e,t){let r=e.startLineNumber,n=e.startColumn,i=e.endLineNumber,a=e.endColumn,o=t.startLineNumber,s=t.startColumn,l=t.endLineNumber,h=t.endColumn;return(rl?(i=l,a=h):i===l&&(a=Math.min(a,h)),r>i||r===i&&n>a)?null:new rS(r,n,i,a)}equalsRange(e){return rS.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return rS.getEndPosition(this)}static getEndPosition(e){return new ry(e.endLineNumber,e.endColumn)}getStartPosition(){return rS.getStartPosition(this)}static getStartPosition(e){return new ry(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new rS(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new rS(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return rS.collapseToStart(this)}static collapseToStart(e){return new rS(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new rS(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new rS(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}function rL(e,t,r,n){let i=new t0(e,t,r);return i.ComputeDiff(n)}class rv{constructor(e){let t=[],r=[];for(let n=0,i=e.length;n(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return -1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e])?this._lineNumbers[e]+1:this._lineNumbers[e]}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return -1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e])?1:this._columns[e]+1}}class rE{constructor(e,t,r,n,i,a,o,s){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=r,this.originalEndColumn=n,this.modifiedStartLineNumber=i,this.modifiedStartColumn=a,this.modifiedEndLineNumber=o,this.modifiedEndColumn=s}static createFromDiffChange(e,t,r){let n=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),a=t.getEndLineNumber(e.originalStart+e.originalLength-1),o=t.getEndColumn(e.originalStart+e.originalLength-1),s=r.getStartLineNumber(e.modifiedStart),l=r.getStartColumn(e.modifiedStart),h=r.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),u=r.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new rE(n,i,a,o,s,l,h,u)}}class rA{constructor(e,t,r,n,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=r,this.modifiedEndLineNumber=n,this.charChanges=i}static createFromDiffResult(e,t,r,n,i,a,o){let s,l,h,u,c;if(0===t.originalLength?(s=r.getStartLineNumber(t.originalStart)-1,l=0):(s=r.getStartLineNumber(t.originalStart),l=r.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(h=n.getStartLineNumber(t.modifiedStart)-1,u=0):(h=n.getStartLineNumber(t.modifiedStart),u=n.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),a&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){let a=r.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),s=n.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(a.getElements().length>0&&s.getElements().length>0){let e=rL(a,s,i,!0).changes;o&&(e=function(e){if(e.length<=1)return e;let t=[e[0]],r=t[0];for(let n=1,i=e.length;n1&&o>1;){let n=e.charCodeAt(r-2),i=t.charCodeAt(o-2);if(n!==i)break;r--,o--}(r>1||o>1)&&this._pushTrimWhitespaceCharChange(n,i+1,1,r,a+1,1,o)}{let r=rR(e,1),o=rR(t,1),s=e.length+1,l=t.length+1;for(;r=0;r--){let t=e.charCodeAt(r);if(32!==t&&9!==t)return r}return -1}(e);return -1===r?t:r+2}function rx(e){if(0===e)return()=>!0;let t=Date.now();return()=>Date.now()-t255?255:0|e}function rT(e){return e<0?0:e>4294967295?4294967295:0|e}(S=ew||(ew={})).isLessThan=function(e){return e<0},S.isGreaterThan=function(e){return e>0},S.isNeitherLessOrGreaterThan=function(e){return 0===e},S.greaterThan=1,S.lessThan=-1,S.neitherLessOrGreaterThan=0;class rI{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=rT(e);let r=this.values,n=this.prefixSum,i=t.length;return 0!==i&&(this.values=new Uint32Array(r.length+i),this.values.set(r.subarray(0,e),0),this.values.set(r.subarray(e),e+i),this.values.set(t,e),e-1=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=rT(e),t=rT(t),this.values[e]!==t&&(this.values[e]=t,e-1=r.length)return!1;let i=r.length-e;return t>=i&&(t=i),0!==t&&(this.values=new Uint32Array(r.length-t),this.values.set(r.subarray(0,e),0),this.values.set(r.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=rT(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let r=t;r<=e;r++)this.prefixSum[r]=this.prefixSum[r-1]+this.values[r];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,r=this.values.length-1,n=0,i=0,a=0;for(;t<=r;)if(n=t+(r-t)/2|0,e<(a=(i=this.prefixSum[n])-this.values[n]))r=n-1;else if(e>=i)t=n+1;else break;return new rP(n,e-a)}}class rP{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class rK{constructor(e,t,r,n){this._uri=e,this._lines=t,this._eol=r,this._versionId=n,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);let t=e.changes;for(let e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new ry(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,t=this._lines.length,r=new Uint32Array(t);for(let n=0;n/?")e.indexOf(r)>=0||(t+="\\"+r);return RegExp(t+="\\s]+)","g")}(),rV=new w;function rF(e,t,r,n,i){if(i||(i=eb.first(rV)),r.length>i.maxLen){let a=e-i.maxLen/2;return a<0?a=0:n+=a,r=r.substring(a,e+i.maxLen/2),rF(e,t,r,n,i)}let a=Date.now(),o=e-1-n,s=-1,l=null;for(let e=1;!(Date.now()-a>=i.timeBudget);e++){let n=o-i.windowSize*e;t.lastIndex=Math.max(0,n);let a=function(e,t,r,n){let i;for(;i=e.exec(t);){let t=i.index||0;if(t<=r&&e.lastIndex>=r)return i;if(n>0&&t>n)break}return null}(t,r,o,s);if(!a&&l||(l=a,n<=0))break;s=n}if(l){let e={word:l[0],startColumn:n+1+l.index,endColumn:n+1+l.index+l[0].length};return t.lastIndex=0,e}return null}rV.unshift({maxLen:1e3,windowSize:15,timeBudget:150});class rB{constructor(e){let t=rO(e);this._defaultValue=t,this._asciiMap=rB._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);for(let r=0;r<256;r++)t[r]=e;return t}set(e,t){let r=rO(t);e>=0&&e<256?this._asciiMap[e]=r:this._map.set(e,r)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class rU{constructor(e,t,r){let n=new Uint8Array(e*t);for(let i=0,a=e*t;it&&(t=a),i>r&&(r=i),o>r&&(r=o)}t++,r++;let n=new rU(r,t,0);for(let t=0,r=e.length;t=this._maxCharCode?0:this._states.get(e,t)}}let rH=null;function rW(){return null===rH&&(rH=new rq([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),rH}let r$=null;class rz{static _createLink(e,t,r,n,i){let a=i-1;do{let r=t.charCodeAt(a),n=e.get(r);if(2!==n)break;a--}while(a>n);if(n>0){let e=t.charCodeAt(n-1),r=t.charCodeAt(a);(40===e&&41===r||91===e&&93===r||123===e&&125===r)&&a--}return{range:{startLineNumber:r,startColumn:n+1,endLineNumber:r,endColumn:a+2},url:t.substring(n,a+1)}}static computeLinks(e,t=rW()){let r=function(){if(null===r$){r$=new rB(0);let e=" <>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let t=0;t=0?((n+=r?1:-1)<0?n=e.length-1:n%=e.length,e[n]):null}}rj.INSTANCE=new rj;let rG=Object.freeze(function(e,t){let r=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(r)}}});(L=e_||(e_={})).isCancellationToken=function(e){return e===L.None||e===L.Cancelled||e instanceof rY||!!e&&"object"==typeof e&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},L.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:ep.None}),L.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:rG});class rY{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){!this._isCancelled&&(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?rG:(this._emitter||(this._emitter=new tv),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class rZ{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}let rJ=new rZ,rQ=new rZ,rX=new rZ,r1=Array(230),r2={},r0=[],r4=Object.create(null),r5=Object.create(null),r7=[],r9=[];for(let e=0;e<=193;e++)r7[e]=-1;for(let e=0;e<=127;e++)r9[e]=-1;(function(){let e=[],t=[];for(let r of[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[0,1,1,"Hyper",0,"",0,"","",""],[0,1,2,"Super",0,"",0,"","",""],[0,1,3,"Fn",0,"",0,"","",""],[0,1,4,"FnLock",0,"",0,"","",""],[0,1,5,"Suspend",0,"",0,"","",""],[0,1,6,"Resume",0,"",0,"","",""],[0,1,7,"Turbo",0,"",0,"","",""],[0,1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[0,1,9,"WakeUp",0,"",0,"","",""],[31,0,10,"KeyA",31,"A",65,"VK_A","",""],[32,0,11,"KeyB",32,"B",66,"VK_B","",""],[33,0,12,"KeyC",33,"C",67,"VK_C","",""],[34,0,13,"KeyD",34,"D",68,"VK_D","",""],[35,0,14,"KeyE",35,"E",69,"VK_E","",""],[36,0,15,"KeyF",36,"F",70,"VK_F","",""],[37,0,16,"KeyG",37,"G",71,"VK_G","",""],[38,0,17,"KeyH",38,"H",72,"VK_H","",""],[39,0,18,"KeyI",39,"I",73,"VK_I","",""],[40,0,19,"KeyJ",40,"J",74,"VK_J","",""],[41,0,20,"KeyK",41,"K",75,"VK_K","",""],[42,0,21,"KeyL",42,"L",76,"VK_L","",""],[43,0,22,"KeyM",43,"M",77,"VK_M","",""],[44,0,23,"KeyN",44,"N",78,"VK_N","",""],[45,0,24,"KeyO",45,"O",79,"VK_O","",""],[46,0,25,"KeyP",46,"P",80,"VK_P","",""],[47,0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[48,0,27,"KeyR",48,"R",82,"VK_R","",""],[49,0,28,"KeyS",49,"S",83,"VK_S","",""],[50,0,29,"KeyT",50,"T",84,"VK_T","",""],[51,0,30,"KeyU",51,"U",85,"VK_U","",""],[52,0,31,"KeyV",52,"V",86,"VK_V","",""],[53,0,32,"KeyW",53,"W",87,"VK_W","",""],[54,0,33,"KeyX",54,"X",88,"VK_X","",""],[55,0,34,"KeyY",55,"Y",89,"VK_Y","",""],[56,0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[22,0,36,"Digit1",22,"1",49,"VK_1","",""],[23,0,37,"Digit2",23,"2",50,"VK_2","",""],[24,0,38,"Digit3",24,"3",51,"VK_3","",""],[25,0,39,"Digit4",25,"4",52,"VK_4","",""],[26,0,40,"Digit5",26,"5",53,"VK_5","",""],[27,0,41,"Digit6",27,"6",54,"VK_6","",""],[28,0,42,"Digit7",28,"7",55,"VK_7","",""],[29,0,43,"Digit8",29,"8",56,"VK_8","",""],[30,0,44,"Digit9",30,"9",57,"VK_9","",""],[21,0,45,"Digit0",21,"0",48,"VK_0","",""],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[2,1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[10,1,50,"Space",10,"Space",32,"VK_SPACE","",""],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,"",0,"","",""],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[59,1,64,"F1",59,"F1",112,"VK_F1","",""],[60,1,65,"F2",60,"F2",113,"VK_F2","",""],[61,1,66,"F3",61,"F3",114,"VK_F3","",""],[62,1,67,"F4",62,"F4",115,"VK_F4","",""],[63,1,68,"F5",63,"F5",116,"VK_F5","",""],[64,1,69,"F6",64,"F6",117,"VK_F6","",""],[65,1,70,"F7",65,"F7",118,"VK_F7","",""],[66,1,71,"F8",66,"F8",119,"VK_F8","",""],[67,1,72,"F9",67,"F9",120,"VK_F9","",""],[68,1,73,"F10",68,"F10",121,"VK_F10","",""],[69,1,74,"F11",69,"F11",122,"VK_F11","",""],[70,1,75,"F12",70,"F12",123,"VK_F12","",""],[0,1,76,"PrintScreen",0,"",0,"","",""],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL","",""],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[14,1,80,"Home",14,"Home",36,"VK_HOME","",""],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[13,1,83,"End",13,"End",35,"VK_END","",""],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK","",""],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE","",""],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD","",""],[3,1,94,"NumpadEnter",3,"",0,"","",""],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1","",""],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2","",""],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3","",""],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4","",""],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5","",""],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6","",""],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7","",""],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8","",""],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9","",""],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0","",""],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL","",""],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102","",""],[58,1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[0,1,108,"Power",0,"",0,"","",""],[0,1,109,"NumpadEqual",0,"",0,"","",""],[71,1,110,"F13",71,"F13",124,"VK_F13","",""],[72,1,111,"F14",72,"F14",125,"VK_F14","",""],[73,1,112,"F15",73,"F15",126,"VK_F15","",""],[74,1,113,"F16",74,"F16",127,"VK_F16","",""],[75,1,114,"F17",75,"F17",128,"VK_F17","",""],[76,1,115,"F18",76,"F18",129,"VK_F18","",""],[77,1,116,"F19",77,"F19",130,"VK_F19","",""],[0,1,117,"F20",0,"",0,"VK_F20","",""],[0,1,118,"F21",0,"",0,"VK_F21","",""],[0,1,119,"F22",0,"",0,"VK_F22","",""],[0,1,120,"F23",0,"",0,"VK_F23","",""],[0,1,121,"F24",0,"",0,"VK_F24","",""],[0,1,122,"Open",0,"",0,"","",""],[0,1,123,"Help",0,"",0,"","",""],[0,1,124,"Select",0,"",0,"","",""],[0,1,125,"Again",0,"",0,"","",""],[0,1,126,"Undo",0,"",0,"","",""],[0,1,127,"Cut",0,"",0,"","",""],[0,1,128,"Copy",0,"",0,"","",""],[0,1,129,"Paste",0,"",0,"","",""],[0,1,130,"Find",0,"",0,"","",""],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR","",""],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1","",""],[0,1,136,"KanaMode",0,"",0,"","",""],[0,0,137,"IntlYen",0,"",0,"","",""],[0,1,138,"Convert",0,"",0,"","",""],[0,1,139,"NonConvert",0,"",0,"","",""],[0,1,140,"Lang1",0,"",0,"","",""],[0,1,141,"Lang2",0,"",0,"","",""],[0,1,142,"Lang3",0,"",0,"","",""],[0,1,143,"Lang4",0,"",0,"","",""],[0,1,144,"Lang5",0,"",0,"","",""],[0,1,145,"Abort",0,"",0,"","",""],[0,1,146,"Props",0,"",0,"","",""],[0,1,147,"NumpadParenLeft",0,"",0,"","",""],[0,1,148,"NumpadParenRight",0,"",0,"","",""],[0,1,149,"NumpadBackspace",0,"",0,"","",""],[0,1,150,"NumpadMemoryStore",0,"",0,"","",""],[0,1,151,"NumpadMemoryRecall",0,"",0,"","",""],[0,1,152,"NumpadMemoryClear",0,"",0,"","",""],[0,1,153,"NumpadMemoryAdd",0,"",0,"","",""],[0,1,154,"NumpadMemorySubtract",0,"",0,"","",""],[0,1,155,"NumpadClear",126,"Clear",12,"VK_CLEAR","",""],[0,1,156,"NumpadClearEntry",0,"",0,"","",""],[5,1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[4,1,0,"",4,"Shift",16,"VK_SHIFT","",""],[6,1,0,"",6,"Alt",18,"VK_MENU","",""],[57,1,0,"",57,"Meta",0,"VK_COMMAND","",""],[5,1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[4,1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[6,1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[57,1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[5,1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[4,1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[6,1,163,"AltRight",6,"",0,"VK_RMENU","",""],[57,1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[0,1,165,"BrightnessUp",0,"",0,"","",""],[0,1,166,"BrightnessDown",0,"",0,"","",""],[0,1,167,"MediaPlay",0,"",0,"","",""],[0,1,168,"MediaRecord",0,"",0,"","",""],[0,1,169,"MediaFastForward",0,"",0,"","",""],[0,1,170,"MediaRewind",0,"",0,"","",""],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP","",""],[0,1,174,"Eject",0,"",0,"","",""],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[0,1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[0,1,180,"SelectTask",0,"",0,"","",""],[0,1,181,"LaunchScreenSaver",0,"",0,"","",""],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME","",""],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK","",""],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[0,1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[0,1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[0,1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[0,1,189,"ZoomToggle",0,"",0,"","",""],[0,1,190,"MailReply",0,"",0,"","",""],[0,1,191,"MailForward",0,"",0,"","",""],[0,1,192,"MailSend",0,"",0,"","",""],[109,1,0,"",109,"KeyInComposition",229,"","",""],[111,1,0,"",111,"ABNT_C2",194,"VK_ABNT_C2","",""],[91,1,0,"",91,"OEM_8",223,"VK_OEM_8","",""],[0,1,0,"",0,"",0,"VK_KANA","",""],[0,1,0,"",0,"",0,"VK_HANGUL","",""],[0,1,0,"",0,"",0,"VK_JUNJA","",""],[0,1,0,"",0,"",0,"VK_FINAL","",""],[0,1,0,"",0,"",0,"VK_HANJA","",""],[0,1,0,"",0,"",0,"VK_KANJI","",""],[0,1,0,"",0,"",0,"VK_CONVERT","",""],[0,1,0,"",0,"",0,"VK_NONCONVERT","",""],[0,1,0,"",0,"",0,"VK_ACCEPT","",""],[0,1,0,"",0,"",0,"VK_MODECHANGE","",""],[0,1,0,"",0,"",0,"VK_SELECT","",""],[0,1,0,"",0,"",0,"VK_PRINT","",""],[0,1,0,"",0,"",0,"VK_EXECUTE","",""],[0,1,0,"",0,"",0,"VK_SNAPSHOT","",""],[0,1,0,"",0,"",0,"VK_HELP","",""],[0,1,0,"",0,"",0,"VK_APPS","",""],[0,1,0,"",0,"",0,"VK_PROCESSKEY","",""],[0,1,0,"",0,"",0,"VK_PACKET","",""],[0,1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[0,1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[0,1,0,"",0,"",0,"VK_ATTN","",""],[0,1,0,"",0,"",0,"VK_CRSEL","",""],[0,1,0,"",0,"",0,"VK_EXSEL","",""],[0,1,0,"",0,"",0,"VK_EREOF","",""],[0,1,0,"",0,"",0,"VK_PLAY","",""],[0,1,0,"",0,"",0,"VK_ZOOM","",""],[0,1,0,"",0,"",0,"VK_NONAME","",""],[0,1,0,"",0,"",0,"VK_PA1","",""],[0,1,0,"",0,"",0,"VK_OEM_CLEAR","",""]]){let[n,i,a,o,s,l,h,u,c,d]=r;if(!t[a]&&(t[a]=!0,r0[a]=o,r4[o]=a,r5[o.toLowerCase()]=a,i&&(r7[a]=s,0!==s&&3!==s&&5!==s&&4!==s&&6!==s&&57!==s&&(r9[s]=a))),!e[s]){if(e[s]=!0,!l)throw Error(`String representation missing for key code ${s} around scan code ${o}`);rJ.define(s,l),rQ.define(s,c||l),rX.define(s,d||c||l)}h&&(r1[h]=s),u&&(r2[u]=s)}r9[3]=46})(),(v=ey||(ey={})).toString=function(e){return rJ.keyCodeToStr(e)},v.fromString=function(e){return rJ.strToKeyCode(e)},v.toUserSettingsUS=function(e){return rQ.keyCodeToStr(e)},v.toUserSettingsGeneral=function(e){return rX.keyCodeToStr(e)},v.fromUserSettings=function(e){return rQ.strToKeyCode(e)||rX.strToKeyCode(e)},v.toElectronAccelerator=function(e){if(e>=93&&e<=108)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return rJ.keyCodeToStr(e)};class r8 extends rS{constructor(e,t,r,n){super(e,t,r,n),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=r,this.positionColumn=n}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return r8.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new r8(this.startLineNumber,this.startColumn,e,t):new r8(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new ry(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new ry(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new r8(e,t,this.endLineNumber,this.endColumn):new r8(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new r8(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new r8(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new r8(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new r8(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let r=0,n=e.length;r{this._map.get(e)===t&&(this._map.delete(e),this.fire([e]))})}registerFactory(e,t){var r;null===(r=this._factories.get(e))||void 0===r||r.dispose();let n=new ne(this,e,t);return this._factories.set(e,n),m(()=>{let t=this._factories.get(e);t&&t===n&&(this._factories.delete(e),t.dispose())})}getOrCreate(e){return r3(this,void 0,void 0,function*(){let t=this.get(e);if(t)return t;let r=this._factories.get(e);return!r||r.isResolved?null:(yield r.resolve(),this.get(e))})}get(e){return this._map.get(e)||null}isResolved(e){let t=this.get(e);if(t)return!0;let r=this._factories.get(e);return!r||!!r.isResolved}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}},(M=eR||(eR={}))[M.Unknown=0]="Unknown",M[M.Disabled=1]="Disabled",M[M.Enabled=2]="Enabled",(R=ex||(ex={}))[R.Invoke=1]="Invoke",R[R.Auto=2]="Auto",(x=eO||(eO={}))[x.KeepWhitespace=1]="KeepWhitespace",x[x.InsertAsSnippet=4]="InsertAsSnippet",(O=eT||(eT={}))[O.Method=0]="Method",O[O.Function=1]="Function",O[O.Constructor=2]="Constructor",O[O.Field=3]="Field",O[O.Variable=4]="Variable",O[O.Class=5]="Class",O[O.Struct=6]="Struct",O[O.Interface=7]="Interface",O[O.Module=8]="Module",O[O.Property=9]="Property",O[O.Event=10]="Event",O[O.Operator=11]="Operator",O[O.Unit=12]="Unit",O[O.Value=13]="Value",O[O.Constant=14]="Constant",O[O.Enum=15]="Enum",O[O.EnumMember=16]="EnumMember",O[O.Keyword=17]="Keyword",O[O.Text=18]="Text",O[O.Color=19]="Color",O[O.File=20]="File",O[O.Reference=21]="Reference",O[O.Customcolor=22]="Customcolor",O[O.Folder=23]="Folder",O[O.TypeParameter=24]="TypeParameter",O[O.User=25]="User",O[O.Issue=26]="Issue",O[O.Snippet=27]="Snippet",(T=eI||(eI={}))[T.Deprecated=1]="Deprecated",(I=eP||(eP={}))[I.Invoke=0]="Invoke",I[I.TriggerCharacter=1]="TriggerCharacter",I[I.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(P=eK||(eK={}))[P.EXACT=0]="EXACT",P[P.ABOVE=1]="ABOVE",P[P.BELOW=2]="BELOW",(K=eD||(eD={}))[K.NotSet=0]="NotSet",K[K.ContentFlush=1]="ContentFlush",K[K.RecoverFromMarkers=2]="RecoverFromMarkers",K[K.Explicit=3]="Explicit",K[K.Paste=4]="Paste",K[K.Undo=5]="Undo",K[K.Redo=6]="Redo",(D=eV||(eV={}))[D.LF=1]="LF",D[D.CRLF=2]="CRLF",(V=eF||(eF={}))[V.Text=0]="Text",V[V.Read=1]="Read",V[V.Write=2]="Write",(F=eB||(eB={}))[F.None=0]="None",F[F.Keep=1]="Keep",F[F.Brackets=2]="Brackets",F[F.Advanced=3]="Advanced",F[F.Full=4]="Full",(B=eU||(eU={}))[B.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",B[B.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",B[B.accessibilitySupport=2]="accessibilitySupport",B[B.accessibilityPageSize=3]="accessibilityPageSize",B[B.ariaLabel=4]="ariaLabel",B[B.autoClosingBrackets=5]="autoClosingBrackets",B[B.autoClosingDelete=6]="autoClosingDelete",B[B.autoClosingOvertype=7]="autoClosingOvertype",B[B.autoClosingQuotes=8]="autoClosingQuotes",B[B.autoIndent=9]="autoIndent",B[B.automaticLayout=10]="automaticLayout",B[B.autoSurround=11]="autoSurround",B[B.bracketPairColorization=12]="bracketPairColorization",B[B.guides=13]="guides",B[B.codeLens=14]="codeLens",B[B.codeLensFontFamily=15]="codeLensFontFamily",B[B.codeLensFontSize=16]="codeLensFontSize",B[B.colorDecorators=17]="colorDecorators",B[B.columnSelection=18]="columnSelection",B[B.comments=19]="comments",B[B.contextmenu=20]="contextmenu",B[B.copyWithSyntaxHighlighting=21]="copyWithSyntaxHighlighting",B[B.cursorBlinking=22]="cursorBlinking",B[B.cursorSmoothCaretAnimation=23]="cursorSmoothCaretAnimation",B[B.cursorStyle=24]="cursorStyle",B[B.cursorSurroundingLines=25]="cursorSurroundingLines",B[B.cursorSurroundingLinesStyle=26]="cursorSurroundingLinesStyle",B[B.cursorWidth=27]="cursorWidth",B[B.disableLayerHinting=28]="disableLayerHinting",B[B.disableMonospaceOptimizations=29]="disableMonospaceOptimizations",B[B.domReadOnly=30]="domReadOnly",B[B.dragAndDrop=31]="dragAndDrop",B[B.dropIntoEditor=32]="dropIntoEditor",B[B.emptySelectionClipboard=33]="emptySelectionClipboard",B[B.experimental=34]="experimental",B[B.extraEditorClassName=35]="extraEditorClassName",B[B.fastScrollSensitivity=36]="fastScrollSensitivity",B[B.find=37]="find",B[B.fixedOverflowWidgets=38]="fixedOverflowWidgets",B[B.folding=39]="folding",B[B.foldingStrategy=40]="foldingStrategy",B[B.foldingHighlight=41]="foldingHighlight",B[B.foldingImportsByDefault=42]="foldingImportsByDefault",B[B.foldingMaximumRegions=43]="foldingMaximumRegions",B[B.unfoldOnClickAfterEndOfLine=44]="unfoldOnClickAfterEndOfLine",B[B.fontFamily=45]="fontFamily",B[B.fontInfo=46]="fontInfo",B[B.fontLigatures=47]="fontLigatures",B[B.fontSize=48]="fontSize",B[B.fontWeight=49]="fontWeight",B[B.formatOnPaste=50]="formatOnPaste",B[B.formatOnType=51]="formatOnType",B[B.glyphMargin=52]="glyphMargin",B[B.gotoLocation=53]="gotoLocation",B[B.hideCursorInOverviewRuler=54]="hideCursorInOverviewRuler",B[B.hover=55]="hover",B[B.inDiffEditor=56]="inDiffEditor",B[B.inlineSuggest=57]="inlineSuggest",B[B.letterSpacing=58]="letterSpacing",B[B.lightbulb=59]="lightbulb",B[B.lineDecorationsWidth=60]="lineDecorationsWidth",B[B.lineHeight=61]="lineHeight",B[B.lineNumbers=62]="lineNumbers",B[B.lineNumbersMinChars=63]="lineNumbersMinChars",B[B.linkedEditing=64]="linkedEditing",B[B.links=65]="links",B[B.matchBrackets=66]="matchBrackets",B[B.minimap=67]="minimap",B[B.mouseStyle=68]="mouseStyle",B[B.mouseWheelScrollSensitivity=69]="mouseWheelScrollSensitivity",B[B.mouseWheelZoom=70]="mouseWheelZoom",B[B.multiCursorMergeOverlapping=71]="multiCursorMergeOverlapping",B[B.multiCursorModifier=72]="multiCursorModifier",B[B.multiCursorPaste=73]="multiCursorPaste",B[B.occurrencesHighlight=74]="occurrencesHighlight",B[B.overviewRulerBorder=75]="overviewRulerBorder",B[B.overviewRulerLanes=76]="overviewRulerLanes",B[B.padding=77]="padding",B[B.parameterHints=78]="parameterHints",B[B.peekWidgetDefaultFocus=79]="peekWidgetDefaultFocus",B[B.definitionLinkOpensInPeek=80]="definitionLinkOpensInPeek",B[B.quickSuggestions=81]="quickSuggestions",B[B.quickSuggestionsDelay=82]="quickSuggestionsDelay",B[B.readOnly=83]="readOnly",B[B.renameOnType=84]="renameOnType",B[B.renderControlCharacters=85]="renderControlCharacters",B[B.renderFinalNewline=86]="renderFinalNewline",B[B.renderLineHighlight=87]="renderLineHighlight",B[B.renderLineHighlightOnlyWhenFocus=88]="renderLineHighlightOnlyWhenFocus",B[B.renderValidationDecorations=89]="renderValidationDecorations",B[B.renderWhitespace=90]="renderWhitespace",B[B.revealHorizontalRightPadding=91]="revealHorizontalRightPadding",B[B.roundedSelection=92]="roundedSelection",B[B.rulers=93]="rulers",B[B.scrollbar=94]="scrollbar",B[B.scrollBeyondLastColumn=95]="scrollBeyondLastColumn",B[B.scrollBeyondLastLine=96]="scrollBeyondLastLine",B[B.scrollPredominantAxis=97]="scrollPredominantAxis",B[B.selectionClipboard=98]="selectionClipboard",B[B.selectionHighlight=99]="selectionHighlight",B[B.selectOnLineNumbers=100]="selectOnLineNumbers",B[B.showFoldingControls=101]="showFoldingControls",B[B.showUnused=102]="showUnused",B[B.snippetSuggestions=103]="snippetSuggestions",B[B.smartSelect=104]="smartSelect",B[B.smoothScrolling=105]="smoothScrolling",B[B.stickyTabStops=106]="stickyTabStops",B[B.stopRenderingLineAfter=107]="stopRenderingLineAfter",B[B.suggest=108]="suggest",B[B.suggestFontSize=109]="suggestFontSize",B[B.suggestLineHeight=110]="suggestLineHeight",B[B.suggestOnTriggerCharacters=111]="suggestOnTriggerCharacters",B[B.suggestSelection=112]="suggestSelection",B[B.tabCompletion=113]="tabCompletion",B[B.tabIndex=114]="tabIndex",B[B.unicodeHighlighting=115]="unicodeHighlighting",B[B.unusualLineTerminators=116]="unusualLineTerminators",B[B.useShadowDOM=117]="useShadowDOM",B[B.useTabStops=118]="useTabStops",B[B.wordSeparators=119]="wordSeparators",B[B.wordWrap=120]="wordWrap",B[B.wordWrapBreakAfterCharacters=121]="wordWrapBreakAfterCharacters",B[B.wordWrapBreakBeforeCharacters=122]="wordWrapBreakBeforeCharacters",B[B.wordWrapColumn=123]="wordWrapColumn",B[B.wordWrapOverride1=124]="wordWrapOverride1",B[B.wordWrapOverride2=125]="wordWrapOverride2",B[B.wrappingIndent=126]="wrappingIndent",B[B.wrappingStrategy=127]="wrappingStrategy",B[B.showDeprecated=128]="showDeprecated",B[B.inlayHints=129]="inlayHints",B[B.editorClassName=130]="editorClassName",B[B.pixelRatio=131]="pixelRatio",B[B.tabFocusMode=132]="tabFocusMode",B[B.layoutInfo=133]="layoutInfo",B[B.wrappingInfo=134]="wrappingInfo",(U=eq||(eq={}))[U.TextDefined=0]="TextDefined",U[U.LF=1]="LF",U[U.CRLF=2]="CRLF",(q=eH||(eH={}))[q.LF=0]="LF",q[q.CRLF=1]="CRLF",(H=eW||(eW={}))[H.None=0]="None",H[H.Indent=1]="Indent",H[H.IndentOutdent=2]="IndentOutdent",H[H.Outdent=3]="Outdent",(W=e$||(e$={}))[W.Both=0]="Both",W[W.Right=1]="Right",W[W.Left=2]="Left",W[W.None=3]="None",($=ez||(ez={}))[$.Type=1]="Type",$[$.Parameter=2]="Parameter",(z=ej||(ej={}))[z.Automatic=0]="Automatic",z[z.Explicit=1]="Explicit",(j=eG||(eG={}))[j.DependsOnKbLayout=-1]="DependsOnKbLayout",j[j.Unknown=0]="Unknown",j[j.Backspace=1]="Backspace",j[j.Tab=2]="Tab",j[j.Enter=3]="Enter",j[j.Shift=4]="Shift",j[j.Ctrl=5]="Ctrl",j[j.Alt=6]="Alt",j[j.PauseBreak=7]="PauseBreak",j[j.CapsLock=8]="CapsLock",j[j.Escape=9]="Escape",j[j.Space=10]="Space",j[j.PageUp=11]="PageUp",j[j.PageDown=12]="PageDown",j[j.End=13]="End",j[j.Home=14]="Home",j[j.LeftArrow=15]="LeftArrow",j[j.UpArrow=16]="UpArrow",j[j.RightArrow=17]="RightArrow",j[j.DownArrow=18]="DownArrow",j[j.Insert=19]="Insert",j[j.Delete=20]="Delete",j[j.Digit0=21]="Digit0",j[j.Digit1=22]="Digit1",j[j.Digit2=23]="Digit2",j[j.Digit3=24]="Digit3",j[j.Digit4=25]="Digit4",j[j.Digit5=26]="Digit5",j[j.Digit6=27]="Digit6",j[j.Digit7=28]="Digit7",j[j.Digit8=29]="Digit8",j[j.Digit9=30]="Digit9",j[j.KeyA=31]="KeyA",j[j.KeyB=32]="KeyB",j[j.KeyC=33]="KeyC",j[j.KeyD=34]="KeyD",j[j.KeyE=35]="KeyE",j[j.KeyF=36]="KeyF",j[j.KeyG=37]="KeyG",j[j.KeyH=38]="KeyH",j[j.KeyI=39]="KeyI",j[j.KeyJ=40]="KeyJ",j[j.KeyK=41]="KeyK",j[j.KeyL=42]="KeyL",j[j.KeyM=43]="KeyM",j[j.KeyN=44]="KeyN",j[j.KeyO=45]="KeyO",j[j.KeyP=46]="KeyP",j[j.KeyQ=47]="KeyQ",j[j.KeyR=48]="KeyR",j[j.KeyS=49]="KeyS",j[j.KeyT=50]="KeyT",j[j.KeyU=51]="KeyU",j[j.KeyV=52]="KeyV",j[j.KeyW=53]="KeyW",j[j.KeyX=54]="KeyX",j[j.KeyY=55]="KeyY",j[j.KeyZ=56]="KeyZ",j[j.Meta=57]="Meta",j[j.ContextMenu=58]="ContextMenu",j[j.F1=59]="F1",j[j.F2=60]="F2",j[j.F3=61]="F3",j[j.F4=62]="F4",j[j.F5=63]="F5",j[j.F6=64]="F6",j[j.F7=65]="F7",j[j.F8=66]="F8",j[j.F9=67]="F9",j[j.F10=68]="F10",j[j.F11=69]="F11",j[j.F12=70]="F12",j[j.F13=71]="F13",j[j.F14=72]="F14",j[j.F15=73]="F15",j[j.F16=74]="F16",j[j.F17=75]="F17",j[j.F18=76]="F18",j[j.F19=77]="F19",j[j.NumLock=78]="NumLock",j[j.ScrollLock=79]="ScrollLock",j[j.Semicolon=80]="Semicolon",j[j.Equal=81]="Equal",j[j.Comma=82]="Comma",j[j.Minus=83]="Minus",j[j.Period=84]="Period",j[j.Slash=85]="Slash",j[j.Backquote=86]="Backquote",j[j.BracketLeft=87]="BracketLeft",j[j.Backslash=88]="Backslash",j[j.BracketRight=89]="BracketRight",j[j.Quote=90]="Quote",j[j.OEM_8=91]="OEM_8",j[j.IntlBackslash=92]="IntlBackslash",j[j.Numpad0=93]="Numpad0",j[j.Numpad1=94]="Numpad1",j[j.Numpad2=95]="Numpad2",j[j.Numpad3=96]="Numpad3",j[j.Numpad4=97]="Numpad4",j[j.Numpad5=98]="Numpad5",j[j.Numpad6=99]="Numpad6",j[j.Numpad7=100]="Numpad7",j[j.Numpad8=101]="Numpad8",j[j.Numpad9=102]="Numpad9",j[j.NumpadMultiply=103]="NumpadMultiply",j[j.NumpadAdd=104]="NumpadAdd",j[j.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",j[j.NumpadSubtract=106]="NumpadSubtract",j[j.NumpadDecimal=107]="NumpadDecimal",j[j.NumpadDivide=108]="NumpadDivide",j[j.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",j[j.ABNT_C1=110]="ABNT_C1",j[j.ABNT_C2=111]="ABNT_C2",j[j.AudioVolumeMute=112]="AudioVolumeMute",j[j.AudioVolumeUp=113]="AudioVolumeUp",j[j.AudioVolumeDown=114]="AudioVolumeDown",j[j.BrowserSearch=115]="BrowserSearch",j[j.BrowserHome=116]="BrowserHome",j[j.BrowserBack=117]="BrowserBack",j[j.BrowserForward=118]="BrowserForward",j[j.MediaTrackNext=119]="MediaTrackNext",j[j.MediaTrackPrevious=120]="MediaTrackPrevious",j[j.MediaStop=121]="MediaStop",j[j.MediaPlayPause=122]="MediaPlayPause",j[j.LaunchMediaPlayer=123]="LaunchMediaPlayer",j[j.LaunchMail=124]="LaunchMail",j[j.LaunchApp2=125]="LaunchApp2",j[j.Clear=126]="Clear",j[j.MAX_VALUE=127]="MAX_VALUE",(G=eY||(eY={}))[G.Hint=1]="Hint",G[G.Info=2]="Info",G[G.Warning=4]="Warning",G[G.Error=8]="Error",(Y=eZ||(eZ={}))[Y.Unnecessary=1]="Unnecessary",Y[Y.Deprecated=2]="Deprecated",(Z=eJ||(eJ={}))[Z.Inline=1]="Inline",Z[Z.Gutter=2]="Gutter",(J=eQ||(eQ={}))[J.UNKNOWN=0]="UNKNOWN",J[J.TEXTAREA=1]="TEXTAREA",J[J.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",J[J.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",J[J.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",J[J.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",J[J.CONTENT_TEXT=6]="CONTENT_TEXT",J[J.CONTENT_EMPTY=7]="CONTENT_EMPTY",J[J.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",J[J.CONTENT_WIDGET=9]="CONTENT_WIDGET",J[J.OVERVIEW_RULER=10]="OVERVIEW_RULER",J[J.SCROLLBAR=11]="SCROLLBAR",J[J.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",J[J.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",(Q=eX||(eX={}))[Q.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",Q[Q.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",Q[Q.TOP_CENTER=2]="TOP_CENTER",(X=e1||(e1={}))[X.Left=1]="Left",X[X.Center=2]="Center",X[X.Right=4]="Right",X[X.Full=7]="Full",(ee=e2||(e2={}))[ee.Left=0]="Left",ee[ee.Right=1]="Right",ee[ee.None=2]="None",ee[ee.LeftOfInjectedText=3]="LeftOfInjectedText",ee[ee.RightOfInjectedText=4]="RightOfInjectedText",(et=e0||(e0={}))[et.Off=0]="Off",et[et.On=1]="On",et[et.Relative=2]="Relative",et[et.Interval=3]="Interval",et[et.Custom=4]="Custom",(er=e4||(e4={}))[er.None=0]="None",er[er.Text=1]="Text",er[er.Blocks=2]="Blocks",(en=e5||(e5={}))[en.Smooth=0]="Smooth",en[en.Immediate=1]="Immediate",(ei=e7||(e7={}))[ei.Auto=1]="Auto",ei[ei.Hidden=2]="Hidden",ei[ei.Visible=3]="Visible",(ea=e9||(e9={}))[ea.LTR=0]="LTR",ea[ea.RTL=1]="RTL",(eo=e8||(e8={}))[eo.Invoke=1]="Invoke",eo[eo.TriggerCharacter=2]="TriggerCharacter",eo[eo.ContentChange=3]="ContentChange",(es=e6||(e6={}))[es.File=0]="File",es[es.Module=1]="Module",es[es.Namespace=2]="Namespace",es[es.Package=3]="Package",es[es.Class=4]="Class",es[es.Method=5]="Method",es[es.Property=6]="Property",es[es.Field=7]="Field",es[es.Constructor=8]="Constructor",es[es.Enum=9]="Enum",es[es.Interface=10]="Interface",es[es.Function=11]="Function",es[es.Variable=12]="Variable",es[es.Constant=13]="Constant",es[es.String=14]="String",es[es.Number=15]="Number",es[es.Boolean=16]="Boolean",es[es.Array=17]="Array",es[es.Object=18]="Object",es[es.Key=19]="Key",es[es.Null=20]="Null",es[es.EnumMember=21]="EnumMember",es[es.Struct=22]="Struct",es[es.Event=23]="Event",es[es.Operator=24]="Operator",es[es.TypeParameter=25]="TypeParameter",(el=e3||(e3={}))[el.Deprecated=1]="Deprecated",(eh=te||(te={}))[eh.Hidden=0]="Hidden",eh[eh.Blink=1]="Blink",eh[eh.Smooth=2]="Smooth",eh[eh.Phase=3]="Phase",eh[eh.Expand=4]="Expand",eh[eh.Solid=5]="Solid",(eu=tt||(tt={}))[eu.Line=1]="Line",eu[eu.Block=2]="Block",eu[eu.Underline=3]="Underline",eu[eu.LineThin=4]="LineThin",eu[eu.BlockOutline=5]="BlockOutline",eu[eu.UnderlineThin=6]="UnderlineThin",(ec=tr||(tr={}))[ec.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",ec[ec.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",ec[ec.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",ec[ec.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(ed=tn||(tn={}))[ed.None=0]="None",ed[ed.Same=1]="Same",ed[ed.Indent=2]="Indent",ed[ed.DeepIndent=3]="DeepIndent";class nr{static chord(e,t){return(e|(65535&t)<<16>>>0)>>>0}}nr.CtrlCmd=2048,nr.Shift=1024,nr.Alt=512,nr.WinCtrl=256;class nn extends rB{constructor(e){super(0);for(let t=0,r=e.length;tnew nn(e),Object.prototype.hasOwnProperty,(ef=ti||(ti={}))[ef.Left=1]="Left",ef[ef.Center=2]="Center",ef[ef.Right=4]="Right",ef[ef.Full=7]="Full",(em=ta||(ta={}))[em.Inline=1]="Inline",em[em.Gutter=2]="Gutter",(eg=to||(to={}))[eg.Both=0]="Both",eg[eg.Right=1]="Right",eg[eg.Left=2]="Left",eg[eg.None=3]="None";class ni{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){let t;let r=e.length;do{var n;if(this._prevMatchStartIndex+this._prevMatchLength===r||!(t=this._searchRegex.exec(e)))break;let i=t.index,a=t[0].length;if(i===this._prevMatchStartIndex&&a===this._prevMatchLength){if(0===a){(function(e,t,r){let n=e.charCodeAt(r);if(tx(n)&&r+165535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}break}if(this._prevMatchStartIndex=i,this._prevMatchLength=a,!this._wordSeparators||function(e,t,r,n,i){if(0===n)return!0;let a=t.charCodeAt(n-1);if(0!==e.get(a)||13===a||10===a)return!0;if(i>0){let r=t.charCodeAt(n);if(0!==e.get(r))return!0}return!1}(n=this._wordSeparators,e,0,i,a)&&function(e,t,r,n,i){if(n+i===r)return!0;let a=t.charCodeAt(n+i);if(0!==e.get(a)||13===a||10===a)return!0;if(i>0){let r=t.charCodeAt(n+i-1);if(0!==e.get(r))return!0}return!1}(n,e,r,i,a))return t}while(t);return null}}class na{static computeUnicodeHighlights(e,t,r){let n,i;let a=r?r.startLineNumber:1,o=r?r.endLineNumber:e.getLineCount(),s=new no(t),l=s.getCandidateCodePoints();n="allNonBasicAscii"===l?RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):RegExp(`${function(e,t){let r=`[${e.map(e=>String.fromCodePoint(e)).join("").replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}]`;return r}(Array.from(l))}`,"g");let h=new ni(null,n),u=[],c=!1,d=0,f=0,m=0;e:for(let t=a;t<=o;t++){let r=e.getLineContent(t),n=r.length;h.reset(0);do if(i=h.next(r)){let e=i.index,a=i.index+i[0].length;if(e>0){let t=r.charCodeAt(e-1);tx(t)&&e--}if(a+1=1e3){c=!0;break e}u.push(new rS(t,e+1,t,a+1))}}while(i)}return{ranges:u,hasMore:c,ambiguousCharacterCount:d,invisibleCharacterCount:f,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(e,t){let r=new no(t),n=r.shouldHighlightNonBasicASCII(e,null);switch(n){case 0:return null;case 2:return{kind:1};case 3:{let n=e.codePointAt(0),i=r.ambiguousCharacters.getPrimaryConfusable(n),a=tK.getLocales().filter(e=>!tK.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(n));return{kind:0,confusableWith:String.fromCodePoint(i),notAmbiguousInLocales:a}}case 1:return{kind:2}}}}class no{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=tK.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let t of tD.codePoints)ns(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(let t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(let t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){let r=e.codePointAt(0);if(this.allowedCodePoints.has(r))return 0;if(this.options.nonBasicASCII)return 1;let n=!1,i=!1;if(t)for(let e of t){let t=e.codePointAt(0),r=tI.test(e);n=n||r,r||this.ambiguousCharacters.isAmbiguous(t)||tD.isInvisibleCharacter(t)||(i=!0)}return!n&&i?0:this.options.invisibleCharacters&&!ns(e)&&tD.isInvisibleCharacter(r)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(r)?3:0}}function ns(e){return" "===e||"\n"===e||" "===e}var nl=function(e,t,r,n){return new(r||(r=Promise))(function(i,a){function o(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(o,s)}l((n=n.apply(e,t||[])).next())})};class nh extends rK{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){let r=rF(e.column,function(e){let t=rD;if(e&&e instanceof RegExp){if(e.global)t=e;else{let r="g";e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.unicode&&(r+="u"),t=new RegExp(e.source,r)}}return t.lastIndex=0,t}(t),this._lines[e.lineNumber-1],0);return r?new rS(e.lineNumber,r.startColumn,e.lineNumber,r.endColumn):null}words(e){let t=this._lines,r=this._wordenize.bind(this),n=0,i="",a=0,o=[];return{*[Symbol.iterator](){for(;;)if(athis._lines.length)t=this._lines.length,r=this._lines[t-1].length+1,n=!0;else{let e=this._lines[t-1].length+1;r<1?(r=1,n=!0):r>e&&(r=e,n=!0)}return n?{lineNumber:t,column:r}:e}}class nu{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new nh(rc.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;let r=this._models[e];r.onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeUnicodeHighlights(e,t,r){return nl(this,void 0,void 0,function*(){let n=this._getModel(e);return n?na.computeUnicodeHighlights(n,t,r):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(e,t,r,n){return nl(this,void 0,void 0,function*(){let i=this._getModel(e),a=this._getModel(t);return i&&a?nu.computeDiff(i,a,r,n):null})}static computeDiff(e,t,r,n){let i=e.getLinesContent(),a=t.getLinesContent(),o=new rk(i,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:r,shouldMakePrettyDiff:!0,maxComputationTime:n}),s=o.computeDiff(),l=!(s.changes.length>0)&&this._modelsAreIdentical(e,t);return{quitEarly:s.quitEarly,identical:l,changes:s.changes}}static _modelsAreIdentical(e,t){let r=e.getLineCount(),n=t.getLineCount();if(r!==n)return!1;for(let n=1;n<=r;n++){let r=e.getLineContent(n),i=t.getLineContent(n);if(r!==i)return!1}return!0}computeMoreMinimalEdits(e,t){return nl(this,void 0,void 0,function*(){let r;let n=this._getModel(e);if(!n)return t;let i=[];for(let{range:e,text:o,eol:s}of t=t.slice(0).sort((e,t)=>{if(e.range&&t.range)return rS.compareRangesUsingStarts(e.range,t.range);let r=e.range?0:1,n=t.range?0:1;return r-n})){var a;if("number"==typeof s&&(r=s),rS.isEmpty(e)&&!o)continue;let t=n.getValueInRange(e);if(t===(o=o.replace(/\r\n|\n|\r/g,n.eol)))continue;if(Math.max(o.length,t.length)>nu._diffLimit){i.push({range:e,text:o});continue}let l=(a=o,new t0(new tQ(t),new tQ(a)).ComputeDiff(!1).changes),h=n.offsetAt(rS.lift(e).getStartPosition());for(let e of l){let t=n.positionAt(h+e.originalStart),r=n.positionAt(h+e.originalStart+e.originalLength),a={text:o.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:r.lineNumber,endColumn:r.column}};n.getValueInRange(a.range)!==a.text&&i.push(a)}}return"number"==typeof r&&i.push({eol:r,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i})}computeLinks(e){return nl(this,void 0,void 0,function*(){let t=this._getModel(e);return t?t&&"function"==typeof t.getLineCount&&"function"==typeof t.getLineContent?rz.computeLinks(t):[]:null})}textualSuggest(e,t,r,n){return nl(this,void 0,void 0,function*(){let i=new t_(!0),a=new RegExp(r,n),o=new Set;t:for(let r of e){let e=this._getModel(r);if(e){for(let r of e.words(a))if(r!==t&&isNaN(Number(r))&&(o.add(r),o.size>nu._suggestionsLimit))break t}}return{words:Array.from(o),duration:i.elapsed()}})}computeWordRanges(e,t,r,n){return nl(this,void 0,void 0,function*(){let i=this._getModel(e);if(!i)return Object.create(null);let a=new RegExp(r,n),o=Object.create(null);for(let e=t.startLineNumber;efunction(){let r=Array.prototype.slice.call(arguments,0);return t(e,r)},n={};for(let t of e)n[t]=r(t);return n}(r,(e,t)=>this._host.fhr(e,t));return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:n,getMirrorModels:()=>this._getModels()},t),Promise.resolve(tk(this._foreignModule))):Promise.reject(Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}nu._diffLimit=1e5,nu._suggestionsLimit=1e4,"function"==typeof importScripts&&(tc.monaco={editor:void 0,languages:void 0,CancellationTokenSource:class{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new rY),this._token}cancel(){this._token?this._token instanceof rY&&this._token.cancel():this._token=e_.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof rY&&this._token.dispose():this._token=e_.None}},Emitter:tv,KeyCode:eG,KeyMod:nr,Position:ry,Range:rS,Selection:r8,SelectionDirection:e9,MarkerSeverity:eY,MarkerTag:eZ,Uri:rc,Token:class{constructor(e,t,r){this._tokenBrand=void 0,this.offset=e,this.type=t,this.language=r}toString(){return"("+this.offset+", "+this.type+")"}}});let nc=!1;self.onmessage=e=>{nc||function(e){if(nc)return;nc=!0;let t=new tz(e=>{self.postMessage(e)},e=>new nu(e,null));self.onmessage=e=>{t.onmessage(e.data)}}(0)}}()}(); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/media/codicon.dfc1b1db.ttf b/dbgpt/app/static/web/_next/static/media/codicon.0903360d.ttf similarity index 65% rename from dbgpt/app/static/web/_next/static/media/codicon.dfc1b1db.ttf rename to dbgpt/app/static/web/_next/static/media/codicon.0903360d.ttf index 27ee4c68c..5abfa748f 100644 Binary files a/dbgpt/app/static/web/_next/static/media/codicon.dfc1b1db.ttf and b/dbgpt/app/static/web/_next/static/media/codicon.0903360d.ttf differ diff --git a/dbgpt/app/static/web/chat/index.html b/dbgpt/app/static/web/chat/index.html index ea51a4d2b..05056b73f 100644 --- a/dbgpt/app/static/web/chat/index.html +++ b/dbgpt/app/static/web/chat/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/agent/index.html b/dbgpt/app/static/web/construct/agent/index.html index 5bc4adeb2..eeffe228a 100644 --- a/dbgpt/app/static/web/construct/agent/index.html +++ b/dbgpt/app/static/web/construct/agent/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/components/create-app-modal/index.html b/dbgpt/app/static/web/construct/app/components/create-app-modal/index.html index 1aa6e863d..a7ad5396c 100644 --- a/dbgpt/app/static/web/construct/app/components/create-app-modal/index.html +++ b/dbgpt/app/static/web/construct/app/components/create-app-modal/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/extra/components/AwelLayout/index.html b/dbgpt/app/static/web/construct/app/extra/components/AwelLayout/index.html index 5eb9e894c..b10a9ef8a 100644 --- a/dbgpt/app/static/web/construct/app/extra/components/AwelLayout/index.html +++ b/dbgpt/app/static/web/construct/app/extra/components/AwelLayout/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/extra/components/NativeApp/index.html b/dbgpt/app/static/web/construct/app/extra/components/NativeApp/index.html index bc7a20b21..cfc643467 100644 --- a/dbgpt/app/static/web/construct/app/extra/components/NativeApp/index.html +++ b/dbgpt/app/static/web/construct/app/extra/components/NativeApp/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/extra/components/RecommendQuestions/index.html b/dbgpt/app/static/web/construct/app/extra/components/RecommendQuestions/index.html index f20dd3d5e..aa71418ab 100644 --- a/dbgpt/app/static/web/construct/app/extra/components/RecommendQuestions/index.html +++ b/dbgpt/app/static/web/construct/app/extra/components/RecommendQuestions/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/extra/components/auto-plan/DetailsCard/index.html b/dbgpt/app/static/web/construct/app/extra/components/auto-plan/DetailsCard/index.html index d7e73363d..d41f4ecdd 100644 --- a/dbgpt/app/static/web/construct/app/extra/components/auto-plan/DetailsCard/index.html +++ b/dbgpt/app/static/web/construct/app/extra/components/auto-plan/DetailsCard/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/extra/components/auto-plan/ResourceContent/index.html b/dbgpt/app/static/web/construct/app/extra/components/auto-plan/ResourceContent/index.html index 215f06cb8..6ec0ba5d3 100644 --- a/dbgpt/app/static/web/construct/app/extra/components/auto-plan/ResourceContent/index.html +++ b/dbgpt/app/static/web/construct/app/extra/components/auto-plan/ResourceContent/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/extra/components/auto-plan/ResourcesCard/index.html b/dbgpt/app/static/web/construct/app/extra/components/auto-plan/ResourcesCard/index.html index 8b99309de..6f57b22d7 100644 --- a/dbgpt/app/static/web/construct/app/extra/components/auto-plan/ResourcesCard/index.html +++ b/dbgpt/app/static/web/construct/app/extra/components/auto-plan/ResourcesCard/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/extra/components/auto-plan/index.html b/dbgpt/app/static/web/construct/app/extra/components/auto-plan/index.html index 8235c18d6..bb11117c7 100644 --- a/dbgpt/app/static/web/construct/app/extra/components/auto-plan/index.html +++ b/dbgpt/app/static/web/construct/app/extra/components/auto-plan/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/extra/config/index.html b/dbgpt/app/static/web/construct/app/extra/config/index.html index 0ac8fdbce..93707d078 100644 --- a/dbgpt/app/static/web/construct/app/extra/config/index.html +++ b/dbgpt/app/static/web/construct/app/extra/config/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/extra/index.html b/dbgpt/app/static/web/construct/app/extra/index.html index a1ec2674b..27ee414db 100644 --- a/dbgpt/app/static/web/construct/app/extra/index.html +++ b/dbgpt/app/static/web/construct/app/extra/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/index.html b/dbgpt/app/static/web/construct/app/index.html index e74c96064..8a7a3ade6 100644 --- a/dbgpt/app/static/web/construct/app/index.html +++ b/dbgpt/app/static/web/construct/app/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/database/index.html b/dbgpt/app/static/web/construct/database/index.html index f5da5ff4a..1df73339b 100644 --- a/dbgpt/app/static/web/construct/database/index.html +++ b/dbgpt/app/static/web/construct/database/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/dbgpts/index.html b/dbgpt/app/static/web/construct/dbgpts/index.html index 51c125a54..77f992d5d 100644 --- a/dbgpt/app/static/web/construct/dbgpts/index.html +++ b/dbgpt/app/static/web/construct/dbgpts/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/flow/canvas/index.html b/dbgpt/app/static/web/construct/flow/canvas/index.html index d953af60e..535a01c0c 100644 --- a/dbgpt/app/static/web/construct/flow/canvas/index.html +++ b/dbgpt/app/static/web/construct/flow/canvas/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/flow/index.html b/dbgpt/app/static/web/construct/flow/index.html index befd57df5..b31ef9c78 100644 --- a/dbgpt/app/static/web/construct/flow/index.html +++ b/dbgpt/app/static/web/construct/flow/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/index.html b/dbgpt/app/static/web/construct/index.html index de1d5e638..7a277dfbe 100644 --- a/dbgpt/app/static/web/construct/index.html +++ b/dbgpt/app/static/web/construct/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/knowledge/chunk/index.html b/dbgpt/app/static/web/construct/knowledge/chunk/index.html index d273e9faf..ff1273430 100644 --- a/dbgpt/app/static/web/construct/knowledge/chunk/index.html +++ b/dbgpt/app/static/web/construct/knowledge/chunk/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/knowledge/index.html b/dbgpt/app/static/web/construct/knowledge/index.html index d2e29a97e..e5a6bcf34 100644 --- a/dbgpt/app/static/web/construct/knowledge/index.html +++ b/dbgpt/app/static/web/construct/knowledge/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/models/index.html b/dbgpt/app/static/web/construct/models/index.html index a32bd17ce..8dd47a181 100644 --- a/dbgpt/app/static/web/construct/models/index.html +++ b/dbgpt/app/static/web/construct/models/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/prompt/add/index.html b/dbgpt/app/static/web/construct/prompt/add/index.html index 2a0eb547b..663565a32 100644 --- a/dbgpt/app/static/web/construct/prompt/add/index.html +++ b/dbgpt/app/static/web/construct/prompt/add/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/prompt/edit/index.html b/dbgpt/app/static/web/construct/prompt/edit/index.html index 781158df3..ca07fee18 100644 --- a/dbgpt/app/static/web/construct/prompt/edit/index.html +++ b/dbgpt/app/static/web/construct/prompt/edit/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/construct/prompt/index.html b/dbgpt/app/static/web/construct/prompt/index.html index 466582893..beea9b13c 100644 --- a/dbgpt/app/static/web/construct/prompt/index.html +++ b/dbgpt/app/static/web/construct/prompt/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/evaluation/index.html b/dbgpt/app/static/web/evaluation/index.html index 0d32f9671..5dd91eb86 100644 --- a/dbgpt/app/static/web/evaluation/index.html +++ b/dbgpt/app/static/web/evaluation/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/index.html b/dbgpt/app/static/web/index.html index 6c8a76306..418e64b0f 100644 --- a/dbgpt/app/static/web/index.html +++ b/dbgpt/app/static/web/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/knowledge/graph/index.html b/dbgpt/app/static/web/knowledge/graph/index.html new file mode 100644 index 000000000..b13b30937 --- /dev/null +++ b/dbgpt/app/static/web/knowledge/graph/index.html @@ -0,0 +1 @@ +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/ChatDialog/index.html b/dbgpt/app/static/web/mobile/chat/components/ChatDialog/index.html index 0ad25a535..54dcaa678 100644 --- a/dbgpt/app/static/web/mobile/chat/components/ChatDialog/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/ChatDialog/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/Content/index.html b/dbgpt/app/static/web/mobile/chat/components/Content/index.html index bcb13512a..4c0ef07d1 100644 --- a/dbgpt/app/static/web/mobile/chat/components/Content/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/Content/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/DislikeDrawer/index.html b/dbgpt/app/static/web/mobile/chat/components/DislikeDrawer/index.html index e0e87e77d..da41a44db 100644 --- a/dbgpt/app/static/web/mobile/chat/components/DislikeDrawer/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/DislikeDrawer/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/Feedback/index.html b/dbgpt/app/static/web/mobile/chat/components/Feedback/index.html index 686aae0cc..73a3d3338 100644 --- a/dbgpt/app/static/web/mobile/chat/components/Feedback/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/Feedback/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/Header/index.html b/dbgpt/app/static/web/mobile/chat/components/Header/index.html index 07ff166ac..9fe2cdbe4 100644 --- a/dbgpt/app/static/web/mobile/chat/components/Header/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/Header/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/InputContainer/index.html b/dbgpt/app/static/web/mobile/chat/components/InputContainer/index.html index e7ec98314..0be560e39 100644 --- a/dbgpt/app/static/web/mobile/chat/components/InputContainer/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/InputContainer/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/ModelSelector/index.html b/dbgpt/app/static/web/mobile/chat/components/ModelSelector/index.html index 04747b008..2878f6444 100644 --- a/dbgpt/app/static/web/mobile/chat/components/ModelSelector/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/ModelSelector/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/OptionIcon/index.html b/dbgpt/app/static/web/mobile/chat/components/OptionIcon/index.html index 8deccc447..7bb820a1b 100644 --- a/dbgpt/app/static/web/mobile/chat/components/OptionIcon/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/OptionIcon/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/Resource/index.html b/dbgpt/app/static/web/mobile/chat/components/Resource/index.html index 85ef9860c..c94dcd706 100644 --- a/dbgpt/app/static/web/mobile/chat/components/Resource/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/Resource/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/Thermometer/index.html b/dbgpt/app/static/web/mobile/chat/components/Thermometer/index.html index b72294d90..70504ba62 100644 --- a/dbgpt/app/static/web/mobile/chat/components/Thermometer/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/Thermometer/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/index.html b/dbgpt/app/static/web/mobile/chat/index.html index f1df26204..aba067051 100644 --- a/dbgpt/app/static/web/mobile/chat/index.html +++ b/dbgpt/app/static/web/mobile/chat/index.html @@ -1 +1 @@ -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/dbgpt/datasource/conn_tugraph.py b/dbgpt/datasource/conn_tugraph.py index 5a6503375..18c2dd9cd 100644 --- a/dbgpt/datasource/conn_tugraph.py +++ b/dbgpt/datasource/conn_tugraph.py @@ -1,7 +1,7 @@ """TuGraph Connector.""" import json -from typing import Dict, List, cast +from typing import Dict, Generator, List, cast from .base import BaseConnector @@ -23,11 +23,16 @@ def __init__(self, driver, graph): def create_graph(self, graph_name: str) -> None: """Create a new graph.""" # run the query to get vertex labels - with self._driver.session(database="default") as session: - graph_list = session.run("CALL dbms.graph.listGraphs()").data() - exists = any(item["graph_name"] == graph_name for item in graph_list) - if not exists: - session.run(f"CALL dbms.graph.createGraph('{graph_name}', '', 2048)") + try: + with self._driver.session(database="default") as session: + graph_list = session.run("CALL dbms.graph.listGraphs()").data() + exists = any(item["graph_name"] == graph_name for item in graph_list) + if not exists: + session.run( + f"CALL dbms.graph.createGraph('{graph_name}', '', 2048)" + ) + except Exception as e: + raise Exception(f"Failed to create graph '{graph_name}': {str(e)}") def delete_graph(self, graph_name: str) -> None: """Delete a graph.""" @@ -89,10 +94,19 @@ def close(self): self._driver.close() def run(self, query: str, fetch: str = "all") -> List: + """Run query.""" + with self._driver.session(database=self._graph) as session: + try: + result = session.run(query) + return list(result) + except Exception as e: + raise Exception(f"Query execution failed: {e}") + + def run_stream(self, query: str) -> Generator: """Run GQL.""" with self._driver.session(database=self._graph) as session: result = session.run(query) - return list(result) + yield from result def get_columns(self, table_name: str, table_type: str = "vertex") -> List[Dict]: """Get fields about specified graph. diff --git a/dbgpt/datasource/manages/connect_config_db.py b/dbgpt/datasource/manages/connect_config_db.py index 591b7b4cd..499ed0afa 100644 --- a/dbgpt/datasource/manages/connect_config_db.py +++ b/dbgpt/datasource/manages/connect_config_db.py @@ -214,10 +214,15 @@ def get_db_config(self, db_name): def get_db_list(self, db_name: Optional[str] = None, user_id: Optional[str] = None): """Get db list.""" session = self.get_raw_session() - if db_name: + if db_name and user_id: sql = f"SELECT * FROM connect_config where (user_id='{user_id}' or user_id='' or user_id IS NULL) and db_name='{db_name}'" # noqa - else: + elif user_id: sql = f"SELECT * FROM connect_config where user_id='{user_id}' or user_id='' or user_id IS NULL" # noqa + elif db_name: + sql = f"SELECT * FROM connect_config where db_name='{db_name}'" # noqa + else: + sql = f"SELECT * FROM connect_config" # noqa + result = session.execute(text(sql)) fields = [field[0] for field in result.cursor.description] # type: ignore data = [] diff --git a/dbgpt/datasource/rdbms/conn_postgresql.py b/dbgpt/datasource/rdbms/conn_postgresql.py index fb68fe09e..6579038b1 100644 --- a/dbgpt/datasource/rdbms/conn_postgresql.py +++ b/dbgpt/datasource/rdbms/conn_postgresql.py @@ -192,7 +192,10 @@ def table_simple_info(self): """ cursor = self.session.execute(text(_sql)) results = cursor.fetchall() - return results + results_str = [] + for result in results: + results_str.append((str(result[0]), str(result[1]))) + return results_str def get_fields_wit_schema(self, table_name, schema_name="public"): """Get column fields about specified table.""" diff --git a/dbgpt/rag/embedding/__init__.py b/dbgpt/rag/embedding/__init__.py index 184da3daf..435769098 100644 --- a/dbgpt/rag/embedding/__init__.py +++ b/dbgpt/rag/embedding/__init__.py @@ -20,19 +20,19 @@ from .rerank import CrossEncoderRerankEmbeddings, OpenAPIRerankEmbeddings # noqa: F401 __ALL__ = [ + "CrossEncoderRerankEmbeddings", + "DefaultEmbeddingFactory", + "EmbeddingFactory", "Embeddings", "HuggingFaceBgeEmbeddings", "HuggingFaceEmbeddings", "HuggingFaceInferenceAPIEmbeddings", "HuggingFaceInstructEmbeddings", "JinaEmbeddings", - "OpenAPIEmbeddings", "OllamaEmbeddings", - "DefaultEmbeddingFactory", - "EmbeddingFactory", - "WrappedEmbeddingFactory", - "TongYiEmbeddings", - "CrossEncoderRerankEmbeddings", + "OpenAPIEmbeddings", "OpenAPIRerankEmbeddings", "QianFanEmbeddings", + "TongYiEmbeddings", + "WrappedEmbeddingFactory", ] diff --git a/dbgpt/rag/index/base.py b/dbgpt/rag/index/base.py index 998f95a0b..bc47fd161 100644 --- a/dbgpt/rag/index/base.py +++ b/dbgpt/rag/index/base.py @@ -54,6 +54,10 @@ def __init__(self, executor: Optional[Executor] = None): """Init index store.""" self._executor = executor or ThreadPoolExecutor() + @abstractmethod + def get_config(self) -> IndexStoreConfig: + """Get the index store config.""" + @abstractmethod def load_document(self, chunks: List[Chunk]) -> List[str]: """Load document in index database. @@ -104,6 +108,10 @@ def delete_by_ids(self, ids: str) -> List[str]: ids(str): The vector ids to delete, separated by comma. """ + @abstractmethod + def truncate(self) -> List[str]: + """Truncate data by name.""" + @abstractmethod def delete_vector_name(self, index_name: str): """Delete index by name. @@ -188,7 +196,7 @@ def similar_search( Return: List[Chunk]: The similar documents. """ - return self.similar_search_with_scores(text, topk, 1.0, filters) + return self.similar_search_with_scores(text, topk, 0.0, filters) async def asimilar_search_with_scores( self, diff --git a/dbgpt/rag/transformer/base.py b/dbgpt/rag/transformer/base.py index 3c276e689..289f02887 100644 --- a/dbgpt/rag/transformer/base.py +++ b/dbgpt/rag/transformer/base.py @@ -9,11 +9,27 @@ class TransformerBase: """Transformer base class.""" + @abstractmethod + def truncate(self): + """Truncate operation.""" + + @abstractmethod + def drop(self): + """Clean operation.""" + class EmbedderBase(TransformerBase, ABC): """Embedder base class.""" +class SummarizerBase(TransformerBase, ABC): + """Summarizer base class.""" + + @abstractmethod + async def summarize(self, **args) -> str: + """Summarize result.""" + + class ExtractorBase(TransformerBase, ABC): """Extractor base class.""" diff --git a/dbgpt/rag/transformer/community_summarizer.py b/dbgpt/rag/transformer/community_summarizer.py new file mode 100644 index 000000000..47970e2af --- /dev/null +++ b/dbgpt/rag/transformer/community_summarizer.py @@ -0,0 +1,208 @@ +"""CommunitySummarizer class.""" + +import logging + +from dbgpt.core import LLMClient +from dbgpt.rag.transformer.llm_summarizer import LLMSummarizer + +logger = logging.getLogger(__name__) + + +class CommunitySummarizer(LLMSummarizer): + """CommunitySummarizer class.""" + + def __init__(self, llm_client: LLMClient, model_name: str): + """Initialize the CommunitySummaryExtractor.""" + super().__init__(llm_client, model_name, COMMUNITY_SUMMARY_PT_CN) + + +COMMUNITY_SUMMARY_PT_CN = ( + "## 角色\n" + "你非常擅长知识图谱的信息总结,能根据给定的知识图谱中的实体和关系的名称以及描述" + "信息,全面、恰当地对知识图谱子图信息做出总结性描述,并且不会丢失关键的信息。\n" + "\n" + "## 技能\n" + "### 技能 1: 实体识别\n" + "- 准确地识别[Entities:]章节中的实体信息,包括实体名、实体描述信息。\n" + "- 实体信息的一般格式有:\n" + "(实体名)\n" + "(实体名:实体描述)\n" + "(实体名:实体属性表)\n" + "(文本块ID:文档块内容)\n" + "(目录ID:目录名)\n" + "(文档ID:文档名称)\n" + "\n" + "### 技能 2: 关系识别\n" + "- 准确地识别[Relationships:]章节中的关系信息,包括来源实体名、关系名、" + "目标实体名、关系描述信息,实体名也可能是文档ID、目录ID、文本块ID。\n" + "- 关系信息的一般格式有:\n" + "(来源实体名)-[关系名]->(目标实体名)\n" + "(来源实体名)-[关系名:关系描述]->(目标实体名)\n" + "(来源实体名)-[关系名:关系属性表]->(目标实体名)\n" + "(文本块ID)-[包含]->(实体名)\n" + "(目录ID)-[包含]->(文本块实体)\n" + "(目录ID)-[包含]->(子目录ID)\n" + "(文档ID)-[包含]->(文本块实体)\n" + "(文档ID)-[包含]->(目录ID)\n" + "\n" + "### 技能 3: 图结构理解\n" + "--请按照如下步骤理解图结构--\n" + "1. 正确地将关系信息中的来源实体名与实体信息关联。\n" + "2. 正确地将关系信息中的目标实体名与实体信息关联。\n" + "3. 根据提供的关系信息还原出图结构。" + "\n" + "### 技能 4: 知识图谱总结\n" + "--请按照如下步骤总结知识图谱--\n" + "1. 确定知识图谱表达的主题或话题,突出关键实体和关系。" + "2. 使用准确、恰当、简洁的语言总结图结构表达的信息,不要生成与图结构中无关的信息。" + "\n" + "## 约束条件\n" + "- 不要在答案中描述你的思考过程,直接给出用户问题的答案,不要生成无关信息。\n" + "- 确保以第三人称书写,从客观角度对知识图谱表达的信息进行总结性描述。\n" + "- 如果实体或关系的描述信息为空,对最终的总结信息没有贡献,不要生成无关信息。\n" + "- 如果提供的描述信息相互矛盾,请解决矛盾并提供一个单一、连贯的描述。\n" + "- 避免使用停用词和过于常见的词汇。\n" + "\n" + "## 参考案例\n" + "--案例仅帮助你理解提示词的输入和输出格式,请不要在答案中使用它们。--\n" + "输入:\n" + "```\n" + "Entities:\n" + "(菲尔・贾伯#菲尔兹咖啡创始人)\n" + "(菲尔兹咖啡#加利福尼亚州伯克利创立的咖啡品牌)\n" + "(雅各布・贾伯#菲尔・贾伯的儿子)\n" + "(美国多地#菲尔兹咖啡的扩展地区)\n" + "\n" + "Relationships:\n" + "(菲尔・贾伯#创建#菲尔兹咖啡#1978年在加利福尼亚州伯克利创立)\n" + "(菲尔兹咖啡#位于#加利福尼亚州伯克利#菲尔兹咖啡的创立地点)\n" + "(菲尔・贾伯#拥有#雅各布・贾伯#菲尔・贾伯的儿子)\n" + "(雅各布・贾伯#担任#首席执行官#在2005年成为菲尔兹咖啡的首席执行官)\n" + "(菲尔兹咖啡#扩展至#美国多地#菲尔兹咖啡的扩展范围)\n" + "```\n" + "\n" + "输出:\n" + "```\n" + "菲尔兹咖啡是由菲尔・贾伯在1978年于加利福尼亚州伯克利创立的咖啡品牌。" + "菲尔・贾伯的儿子雅各布・贾伯在2005年接任首席执行官,领导公司扩展到了美国多地," + "进一步巩固了菲尔兹咖啡作为加利福尼亚州伯克利创立的咖啡品牌的市场地位。\n" + "```\n" + "\n" + "----\n" + "\n" + "请根据接下来[知识图谱]提供的信息,按照上述要求,总结知识图谱表达的信息。\n" + "\n" + "[知识图谱]:\n" + "{graph}\n" + "\n" + "[总结]:\n" + "\n" +) + +COMMUNITY_SUMMARY_PT_EN = ( + "## Role\n" + "You are highly skilled in summarizing information from knowledge graphs. " + "Based on the names and descriptions of entities and relationships in a " + "given knowledge graph, you can comprehensively and appropriately summarize" + " the information of the subgraph without losing critical details.\n" + "\n" + "## Skills\n" + "### Skill 1: Entity Recognition\n" + "- Accurately recognize entity information in the [Entities:] section, " + "including entity names and descriptions.\n" + "- The general formats for entity information are:\n" + "(entity_name)\n" + "(entity_name: entity_description)\n" + "(entity_name: entity_property_map)\n" + "(chunk_id: chunk_content)\n" + "(catalog_id: catalog_name)\n" + "(document_id: document_name)\n" + "\n" + "### Skill 2: Relationship Recognition\n" + "- Accurately recognize relationship information in the [Relationships:] " + "section, including source_entity_name, relationship_name, " + "target_entity_name, and relationship_description, The entity_name may " + "also be the document_id, catalog_id, or chunk_id.\n" + "- The general formats for relationship information are:\n" + "(source_entity_name)-[relationship_name]->(target_entity_name)\n" + "(source_entity_name)-[relationship_name: relationship_description]->" + "(target_entity_name)\n" + "(source_entity_name)-[relationship_name: relationship_property_map]->" + "(target_entity_name)\n" + "(chunk_id)-[Contains]->(entity_name)\n" + "(catalog_id)-[Contains]->(chunk_id)\n" + "(catalog_id)-[Contains]->(sub_catalog_id)\n" + "(document_id)-[Contains]->(chunk_id)\n" + "(document_id)-[Contains]->(catalog_id)\n" + "\n" + "### Skill 3: Graph Structure Understanding\n" + "--Follow these steps to understand the graph structure--\n" + "1. Correctly associate the source entity name in the " + "relationship information with the entity information.\n" + "2. Correctly associate the target entity name in the " + "relationship information with the entity information.\n" + "3. Reconstruct the graph structure based on the provided " + "relationship information." + "\n" + "### Skill 4: Knowledge Graph Summarization\n" + "--Follow these steps to summarize the knowledge graph--\n" + "1. Determine the theme or topic expressed by the knowledge graph, " + "highlighting key entities and relationships." + "2. Use accurate, appropriate, and concise language to summarize " + "the information expressed by the graph " + "without generating irrelevant information." + "\n" + "## Constraints\n" + "- Don't describe your thought process in the answer, provide the answer " + "to the user's question directly without generating irrelevant information." + "- Ensure the summary is written in the third person and objectively " + "reflects the information conveyed by the knowledge graph.\n" + "- If the descriptions of entities or relationships are empty and " + "contribute nothing to the final summary, " + "do not generate unrelated information.\n" + "- If the provided descriptions are contradictory, resolve the conflicts " + "and provide a single, coherent description.\n" + "- Avoid using stop words and overly common words.\n" + "\n" + "## Reference Example\n" + "--The case is only to help you understand the input and output format of " + "the prompt, please do not use it in your answer.--\n" + "Input:\n" + "```\n" + "Entities:\n" + "(Phil Jaber#Founder of Philz Coffee)\n" + "(Philz Coffee#Coffee brand founded in Berkeley, California)\n" + "(Jacob Jaber#Son of Phil Jaber)\n" + "(Multiple locations in the USA#Expansion regions of Philz Coffee)\n" + "\n" + "Relationships:\n" + "(Phil Jaber#Created#Philz Coffee" + "#Founded in Berkeley, California in 1978)\n" + "(Philz Coffee#Located in#Berkeley, California" + "#Founding location of Philz Coffee)\n" + "(Phil Jaber#Has#Jacob Jaber#Son of Phil Jaber)\n" + "(Jacob Jaber#Serves as#CEO#Became CEO of Philz Coffee in 2005)\n" + "(Philz Coffee#Expanded to#Multiple locations in the USA" + "#Expansion regions of Philz Coffee)\n" + "```\n" + "\n" + "Output:\n" + "```\n" + "Philz Coffee is a coffee brand founded by Phil Jaber in 1978 in " + "Berkeley, California. Phil Jaber's son, Jacob Jaber, took over as CEO in " + "2005, leading the company to expand to multiple locations in the USA, " + "further solidifying Philz Coffee's market position as a coffee brand " + "founded in Berkeley, California.\n" + "```\n" + "\n" + "----\n" + "\n" + "Please summarize the information expressed by the [KnowledgeGraph] " + "provided in the following section according to the above requirements.\n" + "\n" + "[KnowledgeGraph]:\n" + "{graph}\n" + "\n" + "[Summary]:\n" + "\n" +) diff --git a/dbgpt/rag/transformer/graph_extractor.py b/dbgpt/rag/transformer/graph_extractor.py new file mode 100644 index 000000000..18e867683 --- /dev/null +++ b/dbgpt/rag/transformer/graph_extractor.py @@ -0,0 +1,304 @@ +"""GraphExtractor class.""" + +import logging +import re +from typing import List, Optional + +from dbgpt.core import Chunk, LLMClient +from dbgpt.rag.transformer.llm_extractor import LLMExtractor +from dbgpt.storage.graph_store.graph import Edge, Graph, MemoryGraph, Vertex +from dbgpt.storage.vector_store.base import VectorStoreBase + +logger = logging.getLogger(__name__) + + +class GraphExtractor(LLMExtractor): + """GraphExtractor class.""" + + def __init__( + self, llm_client: LLMClient, model_name: str, chunk_history: VectorStoreBase + ): + """Initialize the GraphExtractor.""" + super().__init__(llm_client, model_name, GRAPH_EXTRACT_PT_CN) + self._chunk_history = chunk_history + + config = self._chunk_history.get_config() + self._vector_space = config.name + self._max_chunks_once_load = config.max_chunks_once_load + self._max_threads = config.max_threads + self._topk = config.topk + self._score_threshold = config.score_threshold + + async def extract(self, text: str, limit: Optional[int] = None) -> List: + """Load similar chunks.""" + # load similar chunks + chunks = await self._chunk_history.asimilar_search_with_scores( + text, self._topk, self._score_threshold + ) + history = [ + f"Section {i + 1}:\n{chunk.content}" for i, chunk in enumerate(chunks) + ] + context = "\n".join(history) if history else "" + + try: + # extract with chunk history + return await super()._extract(text, context, limit) + + finally: + # save chunk to history + await self._chunk_history.aload_document_with_limit( + [Chunk(content=text, metadata={"relevant_cnt": len(history)})], + self._max_chunks_once_load, + self._max_threads, + ) + + def _parse_response(self, text: str, limit: Optional[int] = None) -> List[Graph]: + graph = MemoryGraph() + edge_count = 0 + current_section = None + for line in text.split("\n"): + line = line.strip() + if line in ["Entities:", "Relationships:"]: + current_section = line[:-1] + elif line and current_section: + if current_section == "Entities": + match = re.match(r"\((.*?)#(.*?)\)", line) + if match: + name, summary = [part.strip() for part in match.groups()] + graph.upsert_vertex(Vertex(name, description=summary)) + elif current_section == "Relationships": + match = re.match(r"\((.*?)#(.*?)#(.*?)#(.*?)\)", line) + if match: + source, name, target, summary = [ + part.strip() for part in match.groups() + ] + edge_count += 1 + graph.append_edge( + Edge(source, target, name, description=summary) + ) + + if limit and edge_count >= limit: + break + + return [graph] + + def truncate(self): + """Truncate chunk history.""" + self._chunk_history.truncate() + + def drop(self): + """Drop chunk history.""" + self._chunk_history.delete_vector_name(self._vector_space) + + +GRAPH_EXTRACT_PT_CN = ( + "## 角色\n" + "你是一个知识图谱工程专家,非常擅长从文本中精确抽取知识图谱的实体" + "(主体、客体)和关系,并能对实体和关系的含义做出恰当的总结性描述。\n" + "\n" + "## 技能\n" + "### 技能 1: 实体抽取\n" + "--请按照如下步骤抽取实体--\n" + "1. 准确地识别文本中的实体信息,一般是名词、代词等。\n" + "2. 准确地识别实体的修饰性描述,一般作为定语对实体特征做补充。\n" + "3. 对相同概念的实体(同义词、别称、代指),请合并为单一简洁的实体名," + "并合并它们的描述信息。\n" + "4. 对合并后的实体描述信息做简洁、恰当、连贯的总结。\n" + "\n" + "### 技能 2: 关系抽取\n" + "--请按照如下步骤抽取关系--\n" + "1. 准确地识别文本中实体之间的关联信息,一般是动词、代词等。\n" + "2. 准确地识别关系的修饰性描述,一般作为状语对关系特征做补充。\n" + "3. 对相同概念的关系(同义词、别称、代指),请合并为单一简洁的关系名," + "并合并它们的描述信息。\n" + "4. 对合并后的关系描述信息做简洁、恰当、连贯的总结。\n" + "\n" + "### 技能 3: 关联上下文\n" + "- 关联上下文来自与当前待抽取文本相关的前置段落内容," + "可以为知识抽取提供信息补充。\n" + "- 合理利用提供的上下文信息,知识抽取过程中出现的内容引用可能来自关联上下文。\n" + "- 不要对关联上下文的内容做知识抽取,而仅作为关联信息参考。\n" + "- 关联上下文是可选信息,可能为空。\n" + "\n" + "## 约束条件\n" + "- 如果文本已提供了图结构格式的数据,直接转换为输出格式返回," + "不要修改实体或ID名称。" + "- 尽可能多的生成文本中提及的实体和关系信息,但不要随意创造不存在的实体和关系。\n" + "- 确保以第三人称书写,从客观角度描述实体名称、关系名称,以及他们的总结性描述。\n" + "- 尽可能多地使用关联上下文中的信息丰富实体和关系的内容,这非常重要。\n" + "- 如果实体或关系的总结描述为空,不提供总结描述信息,不要生成无关的描述信息。\n" + "- 如果提供的描述信息相互矛盾,请解决矛盾并提供一个单一、连贯的描述。\n" + "- 实体和关系的名称或者描述文本出现#和:字符时,使用_字符替换,其他字符不要修改。" + "- 避免使用停用词和过于常见的词汇。\n" + "\n" + "## 输出格式\n" + "Entities:\n" + "(实体名#实体总结)\n" + "...\n\n" + "Relationships:\n" + "(来源实体名#关系名#目标实体名#关系总结)\n" + "...\n" + "\n" + "## 参考案例" + "--案例仅帮助你理解提示词的输入和输出格式,请不要在答案中使用它们。--\n" + "输入:\n" + "```\n" + "[上下文]:\n" + "Section 1:\n" + "菲尔・贾伯的大儿子叫雅各布・贾伯。\n" + "Section 2:\n" + "菲尔・贾伯的小儿子叫比尔・贾伯。\n" + "..." + "\n" + "[文本]:\n" + "菲尔兹咖啡由菲尔・贾伯于1978年在加利福尼亚州伯克利创立。" + "因其独特的混合咖啡而闻名,菲尔兹已扩展到美国多地。" + "他的大儿子于2005年成为首席执行官,并带领公司实现了显著增长。\n" + "```\n" + "\n" + "输出:\n" + "```\n" + "Entities:\n" + "(菲尔・贾伯#菲尔兹咖啡创始人)\n" + "(菲尔兹咖啡#加利福尼亚州伯克利创立的咖啡品牌)\n" + "(雅各布・贾伯#菲尔・贾伯的大儿子)\n" + "(美国多地#菲尔兹咖啡的扩展地区)\n" + "\n" + "Relationships:\n" + "(菲尔・贾伯#创建#菲尔兹咖啡#1978年在加利福尼亚州伯克利创立)\n" + "(菲尔兹咖啡#位于#加利福尼亚州伯克利#菲尔兹咖啡的创立地点)\n" + "(菲尔・贾伯#拥有#雅各布・贾伯#菲尔・贾伯的大儿子)\n" + "(雅各布・贾伯#管理#菲尔兹咖啡#在2005年担任首席执行官)\n" + "(菲尔兹咖啡#扩展至#美国多地#菲尔兹咖啡的扩展范围)\n" + "```\n" + "\n" + "----\n" + "\n" + "请根据接下来[上下文]提供的信息,按照上述要求,抽取[文本]中的实体和关系数据。\n" + "\n" + "[上下文]:\n" + "{history}\n" + "\n" + "[文本]:\n" + "{text}\n" + "\n" + "[结果]:\n" + "\n" +) + +GRAPH_EXTRACT_PT_EN = ( + "## Role\n" + "You are an expert in Knowledge Graph Engineering, skilled at extracting " + "entities (subjects, objects) and relations from text, and summarizing " + "their meanings effectively.\n" + "\n" + "## Skills\n" + "### Skill 1: Entity Extraction\n" + "--Please follow these steps to extract entities--\n" + "1. Accurately identify entity information in the text, " + "usually nouns, pronouns, etc.\n" + "2. Accurately identify descriptive information, " + "usually as adjectives, that supplements entity features.\n" + "3. Merge synonymous, alias, or reference entities into " + "a single concise entity name, and merge their descriptive information.\n" + "4. Provide a concise, appropriate, and coherent summary " + "of the combined entity descriptions.\n" + "\n" + "### Skill 2: Relation Extraction\n" + "--Please follow these steps to extract relations--\n" + "1. Accurately identify relation information between entities in the text, " + "usually verbs, pronouns, etc.\n" + "2. Accurately identify descriptive information, usually as adverbs, " + "that supplements relation features.\n" + "3. Merge synonymous, alias, or reference relations into " + "a single concise relation name, and merge their descriptive information.\n" + "4. Provide a concise, appropriate, and coherent summary " + "of the combined relation descriptions.\n" + "\n" + "### Skill 3: Contextual Association\n" + "- Context comes from preceding paragraphs related to the current " + "extraction text and can provide supplementary information.\n" + "- Appropriately use contextual information, content references " + "during extraction may come from this context.\n" + "- Do not extract knowledge from contextual content, " + "use it only as a reference.\n" + "- Context is optional and may be empty.\n" + "\n" + "## Constraints\n" + "- If the text has provided data that is similar to or the same as the " + "output format, please format the output directly according to the " + "output format requirements." + "- Generate as much entity and relation information mentioned in the text " + "as possible, but do not create nonexistent entities or relations.\n" + "- Ensure the writing is in the third person, describing entity names, " + "relation names, and their summaries objectively.\n" + "- Use as much contextual information as possible to enrich the content " + "of entities and relations, this is very important.\n" + "- If a summary of an entity or relation is empty, do not provide " + "summary information, and do not generate irrelevant descriptions.\n" + "- If provided descriptions are contradictory, resolve the conflict " + "and provide a single, coherent description.\n" + "- Replace any # or : characters in entity's and relation's " + "names or descriptions with an _ character.\n" + "- Avoid using stop words and overly common terms.\n" + "\n" + "## Output Format\n" + "Entities:\n" + "(entity_name#entity_summary)\n" + "...\n\n" + "Relationships:\n" + "(source_entity_name#relation_name#target_entity_name#relation_summary)\n" + "...\n" + "\n" + "## Reference Example\n" + "--The case is only to help you understand the input and output format of " + "the prompt, please do not use it in your answer.--\n" + "Input:\n" + "```\n" + "[Context]:\n" + "Section 1:\n" + "Phil Jabber's eldest son is named Jacob Jabber.\n" + "Section 2:\n" + "Phil Jabber's youngest son is named Bill Jabber.\n" + "..." + "\n" + "[Text]:\n" + "Philz Coffee was founded by Phil Jabber in 1978 in Berkeley, California. " + "Known for its distinctive blend coffee, Philz has expanded to multiple " + "locations in the USA. His eldest son became CEO in 2005, " + "leading significant growth for the company.\n" + "```\n" + "\n" + "Output:\n" + "```\n" + "Entities:\n" + "(Phil Jabber#Founder of Philz Coffee)\n" + "(Philz Coffee#Coffee brand founded in Berkeley, California)\n" + "(Jacob Jabber#Phil Jabber's eldest son)\n" + "(Multiple locations in the USA#Philz Coffee's expansion area)\n" + "\n" + "Relationships:\n" + "(Phil Jabber#Founded#Philz Coffee" + "#Founded in 1978 in Berkeley, California)\n" + "(Philz Coffee#Located in#Berkeley, California" + "#Philz Coffee's founding location)\n" + "(Phil Jabber#Has#Jacob Jabber#Phil Jabber's eldest son)\n" + "(Jacob Jabber#Manage#Philz Coffee#Serve as CEO in 2005)\n" + "(Philz Coffee#Expanded to#Multiple locations in the USA" + "#Philz Coffee's expansion area)\n" + "```\n" + "\n" + "----\n" + "\n" + "Please extract the entities and relationships data from the [Text] " + "according to the above requirements, using the provided [Context].\n" + "\n" + "[Context]:\n" + "{history}\n" + "\n" + "[Text]:\n" + "{text}\n" + "\n" + "[Results]:\n" + "\n" +) diff --git a/dbgpt/rag/transformer/llm_extractor.py b/dbgpt/rag/transformer/llm_extractor.py index 8ec06804a..494096d51 100644 --- a/dbgpt/rag/transformer/llm_extractor.py +++ b/dbgpt/rag/transformer/llm_extractor.py @@ -19,9 +19,20 @@ def __init__(self, llm_client: LLMClient, model_name: str, prompt_template: str) self._prompt_template = prompt_template async def extract(self, text: str, limit: Optional[int] = None) -> List: - """Extract by LLm.""" + """Extract by LLM.""" + return await self._extract(text, None, limit) + + async def _extract( + self, text: str, history: str = None, limit: Optional[int] = None + ) -> List: + """Inner extract by LLM.""" template = HumanPromptTemplate.from_template(self._prompt_template) - messages = template.format_messages(text=text) + + messages = ( + template.format_messages(text=text, history=history) + if history is not None + else template.format_messages(text=text) + ) # use default model if needed if not self._model_name: @@ -45,6 +56,12 @@ async def extract(self, text: str, limit: Optional[int] = None) -> List: ValueError("optional argument limit >= 1") return self._parse_response(response.text, limit) + def truncate(self): + """Do nothing by default.""" + + def drop(self): + """Do nothing by default.""" + @abstractmethod def _parse_response(self, text: str, limit: Optional[int] = None) -> List: """Parse llm response.""" diff --git a/dbgpt/rag/transformer/llm_summarizer.py b/dbgpt/rag/transformer/llm_summarizer.py new file mode 100644 index 000000000..b2af07f0a --- /dev/null +++ b/dbgpt/rag/transformer/llm_summarizer.py @@ -0,0 +1,48 @@ +"""LLMSummarizer class.""" +import logging +from abc import ABC + +from dbgpt.core import HumanPromptTemplate, LLMClient, ModelMessage, ModelRequest +from dbgpt.rag.transformer.base import SummarizerBase + +logger = logging.getLogger(__name__) + + +class LLMSummarizer(SummarizerBase, ABC): + """LLMSummarizer class.""" + + def __init__(self, llm_client: LLMClient, model_name: str, prompt_template: str): + """Initialize the LLMSummarizer.""" + self._llm_client = llm_client + self._model_name = model_name + self._prompt_template = prompt_template + + async def summarize(self, **args) -> str: + """Summarize by LLM.""" + template = HumanPromptTemplate.from_template(self._prompt_template) + messages = template.format_messages(**args) + + # use default model if needed + if not self._model_name: + models = await self._llm_client.models() + if not models: + raise Exception("No models available") + self._model_name = models[0].model + logger.info(f"Using model {self._model_name} to extract") + + model_messages = ModelMessage.from_base_messages(messages) + request = ModelRequest(model=self._model_name, messages=model_messages) + response = await self._llm_client.generate(request=request) + + if not response.success: + code = str(response.error_code) + reason = response.text + logger.error(f"request llm failed ({code}) {reason}") + + return response.text + + def truncate(self): + """Do nothing by default.""" + + def drop(self): + """Do nothing by default.""" diff --git a/dbgpt/serve/agent/agents/expand/actions/app_start_action.py b/dbgpt/serve/agent/agents/expand/actions/app_start_action.py index 1910a6f6f..d72cbed71 100644 --- a/dbgpt/serve/agent/agents/expand/actions/app_start_action.py +++ b/dbgpt/serve/agent/agents/expand/actions/app_start_action.py @@ -50,6 +50,7 @@ async def run( **kwargs, ) -> ActionOutput: conv_id = kwargs.get("conv_id") + user_input = kwargs.get("user_input") paren_agent = kwargs.get("paren_agent") init_message_rounds = kwargs.get("init_message_rounds") @@ -83,7 +84,7 @@ async def run( from dbgpt.serve.agent.agents.controller import multi_agents await multi_agents.agent_team_chat_new( - new_user_input, + new_user_input if new_user_input else user_input, conv_id, gpts_app, paren_agent.memory, diff --git a/dbgpt/serve/agent/agents/expand/actions/intent_recognition_action.py b/dbgpt/serve/agent/agents/expand/actions/intent_recognition_action.py index 49daca542..9bf5f6ca5 100644 --- a/dbgpt/serve/agent/agents/expand/actions/intent_recognition_action.py +++ b/dbgpt/serve/agent/agents/expand/actions/intent_recognition_action.py @@ -54,18 +54,28 @@ def out_model_type(self): @property def ai_out_schema(self) -> Optional[str]: - out_put_schema = { - "intent": "[The recognized intent is placed here]", - "app_code": "[App code in selected intent]", - "slots": {"意图定义中槽位属性1": "具体值", "意图定义中槽位属性2": "具体值"}, - "ask_user": "If you want the user to supplement slot data, ask the user a question", - "user_input": "[Complete instructions generated based on intent and slot]", - } if self.language == "en": + out_put_schema = { + "intent": "[The recognized intent is placed here]", + "app_code": "[App code in selected intent]", + "slots": { + "Slot attribute 1 in intent definition": "value", + "Slot attribute 2 in intent definition": "value", + }, + "ask_user": "[If you want the user to supplement slot data, ask the user a question]", + "user_input": "[Complete instructions generated based on intent and slot]", + } return f"""Please reply in the following json format: {json.dumps(out_put_schema, indent=2, ensure_ascii=False)} Make sure the output is only json and can be parsed by Python json.loads.""" # noqa: E501 else: + out_put_schema = { + "intent": "选择的意图放在这里", + "app_code": "选择意图对应的Appcode值", + "slots": {"意图定义中槽位属性1": "具体值", "意图定义中槽位属性2": "具体值"}, + "ask_user": "如果需要用户补充槽位属性的具体值,请向用户进行提问", + "user_input": "根据意图和槽位生成完整指令问题", + } return f"""请按如下JSON格式输出: {json.dumps(out_put_schema, indent=2, ensure_ascii=False)} 确保输出只有json,且可以被python json.loads加载.""" diff --git a/dbgpt/serve/rag/connector.py b/dbgpt/serve/rag/connector.py index c6ede9d23..ae7cf1773 100644 --- a/dbgpt/serve/rag/connector.py +++ b/dbgpt/serve/rag/connector.py @@ -6,6 +6,7 @@ from collections import defaultdict from typing import Any, DefaultDict, Dict, List, Optional, Tuple, Type, cast +from dbgpt.app.component_configs import CFG from dbgpt.core import Chunk, Embeddings from dbgpt.core.awel.flow import ( FunctionDynamicOptions, @@ -95,6 +96,7 @@ def __init__( self._index_store_config = vector_store_config self._register() + vector_store_type = self.__rewrite_index_store_type(vector_store_type) if self._match(vector_store_type): self.connector_class, self.config_class = connector[vector_store_type] else: @@ -124,6 +126,13 @@ def __init__( logger.error("connect vector store failed: %s", e) raise e + def __rewrite_index_store_type(self, index_store_type): + # Rewrite Knowledge Graph Type + if CFG.GRAPH_COMMUNITY_SUMMARY_ENABLED: + if index_store_type == "KnowledgeGraph": + return "CommunitySummaryKnowledgeGraph" + return index_store_type + @classmethod def from_default( cls, @@ -270,6 +279,10 @@ def delete_by_ids(self, ids): """ return self.client.delete_by_ids(ids=ids) + def truncate(self): + """Truncate data.""" + return self.client.truncate() + @property def current_embeddings(self) -> Optional[Embeddings]: """Return the current embeddings.""" diff --git a/dbgpt/storage/full_text/elasticsearch.py b/dbgpt/storage/full_text/elasticsearch.py index bfa8dd7a5..ad171423e 100644 --- a/dbgpt/storage/full_text/elasticsearch.py +++ b/dbgpt/storage/full_text/elasticsearch.py @@ -5,7 +5,7 @@ from typing import List, Optional from dbgpt.core import Chunk -from dbgpt.rag.index.base import logger +from dbgpt.rag.index.base import IndexStoreConfig, logger from dbgpt.storage.full_text.base import FullTextStoreBase from dbgpt.storage.vector_store.elastic_store import ElasticsearchVectorConfig from dbgpt.storage.vector_store.filters import MetadataFilters @@ -35,6 +35,7 @@ def __init__( This similarity has the following options: """ super().__init__() + self._es_config = es_config from elasticsearch import Elasticsearch self._es_config = es_config @@ -94,6 +95,10 @@ def __init__( ) self._executor = executor or ThreadPoolExecutor() + def get_config(self) -> IndexStoreConfig: + """Get the es store config.""" + return self._es_config + def load_document(self, chunks: List[Chunk]) -> List[str]: """Load document in elasticsearch. diff --git a/dbgpt/storage/full_text/opensearch.py b/dbgpt/storage/full_text/opensearch.py index d9a6ec378..f1261da2c 100644 --- a/dbgpt/storage/full_text/opensearch.py +++ b/dbgpt/storage/full_text/opensearch.py @@ -2,11 +2,11 @@ from typing import List, Optional from dbgpt.core import Chunk -from dbgpt.rag.index.base import IndexStoreBase +from dbgpt.storage.full_text.base import FullTextStoreBase from dbgpt.storage.vector_store.filters import MetadataFilters -class OpenSearch(IndexStoreBase): +class OpenSearch(FullTextStoreBase): """OpenSearch index store.""" def load_document(self, chunks: List[Chunk]) -> List[str]: diff --git a/dbgpt/storage/graph_store/base.py b/dbgpt/storage/graph_store/base.py index d68ca9154..24a4b467b 100644 --- a/dbgpt/storage/graph_store/base.py +++ b/dbgpt/storage/graph_store/base.py @@ -1,7 +1,7 @@ """Graph store base class.""" import logging from abc import ABC, abstractmethod -from typing import List, Optional, Tuple +from typing import Generator, List, Optional, Tuple from dbgpt._private.pydantic import BaseModel, ConfigDict, Field from dbgpt.core import Embeddings @@ -23,15 +23,35 @@ class GraphStoreConfig(BaseModel): default=None, description="The embedding function of graph store, optional.", ) + summary_enabled: bool = Field( + default=False, + description="Enable graph community summary or not.", + ) class GraphStoreBase(ABC): """Graph store base class.""" + @abstractmethod + def get_config(self) -> GraphStoreConfig: + """Get the graph store config.""" + + @abstractmethod + def get_vertex_type(self) -> str: + """Get the vertex type.""" + + @abstractmethod + def get_edge_type(self) -> str: + """Get the edge type.""" + @abstractmethod def insert_triplet(self, sub: str, rel: str, obj: str): """Add triplet.""" + @abstractmethod + def insert_graph(self, graph: Graph): + """Add graph.""" + @abstractmethod def get_triplets(self, sub: str) -> List[Tuple[str, str]]: """Get triplets.""" @@ -40,6 +60,10 @@ def get_triplets(self, sub: str) -> List[Tuple[str, str]]: def delete_triplet(self, sub: str, rel: str, obj: str): """Delete triplet.""" + @abstractmethod + def truncate(self): + """Truncate Graph.""" + @abstractmethod def drop(self): """Drop graph.""" @@ -66,3 +90,11 @@ def explore( @abstractmethod def query(self, query: str, **args) -> Graph: """Execute a query.""" + + def aquery(self, query: str, **args) -> Graph: + """Async execute a query.""" + return self.query(query, **args) + + @abstractmethod + def stream_query(self, query: str) -> Generator[Graph, None, None]: + """Execute stream query.""" diff --git a/dbgpt/storage/graph_store/factory.py b/dbgpt/storage/graph_store/factory.py index 1e3d70804..cf598966a 100644 --- a/dbgpt/storage/graph_store/factory.py +++ b/dbgpt/storage/graph_store/factory.py @@ -1,4 +1,4 @@ -"""Connector for vector store.""" +"""Graph store factory.""" import logging from typing import Tuple, Type diff --git a/dbgpt/storage/graph_store/graph.py b/dbgpt/storage/graph_store/graph.py index dedb3576b..555bcc14d 100644 --- a/dbgpt/storage/graph_store/graph.py +++ b/dbgpt/storage/graph_store/graph.py @@ -1,4 +1,4 @@ -"""Graph store base class.""" +"""Graph definition.""" import itertools import json import logging @@ -24,9 +24,15 @@ class Direction(Enum): class Elem(ABC): """Elem class.""" - def __init__(self): + def __init__(self, name: Optional[str] = None): """Initialize Elem.""" - self._props = {} + self._name = name + self._props: Dict[str, Any] = {} + + @property + def name(self) -> str: + """Return the edge label.""" + return self._name or "" @property def props(self) -> Dict[str, Any]: @@ -46,14 +52,17 @@ def del_prop(self, key: str): self._props.pop(key, None) def has_props(self, **props): - """Check if the element has the specified properties with the given values.""" + """Check all key-value pairs exist.""" return all(self._props.get(k) == v for k, v in props.items()) @abstractmethod - def format(self, label_key: Optional[str] = None): + def format(self) -> str: """Format properties into a string.""" + if len(self._props) == 1: + return str(next(iter(self._props.values()))) + formatted_props = [ - f"{k}:{json.dumps(v)}" for k, v in self._props.items() if k != label_key + f"{k}:{json.dumps(v, ensure_ascii=False)}" for k, v in self._props.items() ] return f"{{{';'.join(formatted_props)}}}" @@ -61,9 +70,9 @@ def format(self, label_key: Optional[str] = None): class Vertex(Elem): """Vertex class.""" - def __init__(self, vid: str, **props): + def __init__(self, vid: str, name: Optional[str] = None, **props): """Initialize Vertex.""" - super().__init__() + super().__init__(name) self._vid = vid for k, v in props.items(): self.set_prop(k, v) @@ -73,26 +82,43 @@ def vid(self) -> str: """Return the vertex ID.""" return self._vid - def format(self, label_key: Optional[str] = None): - """Format vertex properties into a string.""" - label = self.get_prop(label_key) if label_key else self._vid - props_str = super().format(label_key) - if props_str == "{}": - return f"({label})" + @property + def name(self) -> str: + """Return the vertex name.""" + return super().name or self._vid + + def format(self, concise: bool = False): + """Format vertex into a string.""" + name = self._name or self._vid + if concise: + return f"({name})" + + if self._props: + return f"({name}:{super().format()})" else: - return f"({label}:{props_str})" + return f"({name})" def __str__(self): """Return the vertex ID as its string representation.""" return f"({self._vid})" +class IdVertex(Vertex): + """IdVertex class.""" + + def __init__(self, vid: str): + """Initialize Idvertex.""" + super().__init__(vid) + + class Edge(Elem): """Edge class.""" - def __init__(self, sid: str, tid: str, **props): + def __init__(self, sid: str, tid: str, name: str, **props): """Initialize Edge.""" - super().__init__() + assert name, "Edge name is required" + + super().__init__(name) self._sid = sid self._tid = tid for k, v in props.items(): @@ -117,23 +143,20 @@ def nid(self, vid): else: raise ValueError(f"Get nid of {vid} on {self} failed") - def format(self, label_key: Optional[str] = None): + def format(self): """Format the edge properties into a string.""" - label = self.get_prop(label_key) if label_key else "" - props_str = super().format(label_key) - if props_str == "{}": - return f"-[{label}]->" if label else "->" + if self._props: + return f"-[{self._name}:{super().format()}]->" else: - return f"-[{label}:{props_str}]->" if label else f"-[{props_str}]->" + return f"-[{self._name}]->" - def triplet(self, label_key: str) -> Tuple[str, str, str]: + def triplet(self) -> Tuple[str, str, str]: """Return a triplet.""" - assert label_key, "label key is needed" - return self._sid, str(self.get_prop(label_key)), self._tid + return self.sid, self.name, self.tid def __str__(self): """Return the edge '(sid)->(tid)'.""" - return f"({self._sid})->({self._tid})" + return f"({self._sid})-[{self._name}]->({self._tid})" class Graph(ABC): @@ -177,8 +200,8 @@ def del_vertices(self, *vids: str): """Delete vertices and their neighbor edges.""" @abstractmethod - def del_edges(self, sid: str, tid: str, **props): - """Delete edges(sid -> tid) matches props.""" + def del_edges(self, sid: str, tid: str, name: str, **props): + """Delete edges(sid -[name]-> tid) matches props.""" @abstractmethod def del_neighbor_edges(self, vid: str, direction: Direction = Direction.OUT): @@ -203,19 +226,19 @@ def schema(self) -> Dict[str, Any]: def format(self) -> str: """Format graph data to string.""" + @abstractmethod + def truncate(self): + """Truncate graph.""" + class MemoryGraph(Graph): """Graph class.""" - def __init__(self, vertex_label: Optional[str] = None, edge_label: str = "label"): + def __init__(self): """Initialize MemoryGraph with vertex label and edge label.""" - assert edge_label, "Edge label is needed" - # metadata - self._vertex_label = vertex_label - self._edge_label = edge_label - self._vertex_prop_keys = {vertex_label} if vertex_label else set() - self._edge_prop_keys = {edge_label} + self._vertex_prop_keys = set() + self._edge_prop_keys = set() self._edge_count = 0 # init vertices, out edges, in edges index @@ -223,26 +246,6 @@ def __init__(self, vertex_label: Optional[str] = None, edge_label: str = "label" self._oes: Any = defaultdict(lambda: defaultdict(set)) self._ies: Any = defaultdict(lambda: defaultdict(set)) - @property - def vertex_label(self): - """Return the label for vertices.""" - return self._vertex_label - - @property - def edge_label(self): - """Return the label for edges.""" - return self._edge_label - - @property - def vertex_prop_keys(self): - """Return a set of property keys for vertices.""" - return self._vertex_prop_keys - - @property - def edge_prop_keys(self): - """Return a set of property keys for edges.""" - return self._edge_prop_keys - @property def vertex_count(self): """Return the number of vertices in the graph.""" @@ -256,7 +259,10 @@ def edge_count(self): def upsert_vertex(self, vertex: Vertex): """Insert or update a vertex based on its ID.""" if vertex.vid in self._vs: - self._vs[vertex.vid].props.update(vertex.props) + if isinstance(self._vs[vertex.vid], IdVertex): + self._vs[vertex.vid] = vertex + else: + self._vs[vertex.vid].props.update(vertex.props) else: self._vs[vertex.vid] = vertex @@ -265,9 +271,6 @@ def upsert_vertex(self, vertex: Vertex): def append_edge(self, edge: Edge): """Append an edge if it doesn't exist; requires edge label.""" - if self.edge_label not in edge.props.keys(): - raise ValueError(f"Edge prop '{self.edge_label}' is needed") - sid = edge.sid tid = edge.tid @@ -275,8 +278,8 @@ def append_edge(self, edge: Edge): return False # init vertex index - self._vs.setdefault(sid, Vertex(sid)) - self._vs.setdefault(tid, Vertex(tid)) + self._vs.setdefault(sid, IdVertex(sid)) + self._vs.setdefault(tid, IdVertex(tid)) # update edge index self._oes[sid][tid].add(edge) @@ -346,18 +349,19 @@ def del_vertices(self, *vids: str): self.del_neighbor_edges(vid, Direction.BOTH) self._vs.pop(vid, None) - def del_edges(self, sid: str, tid: str, **props): + def del_edges(self, sid: str, tid: str, name: str, **props): """Delete edges.""" old_edge_cnt = len(self._oes[sid][tid]) - if not props: - self._edge_count -= old_edge_cnt - self._oes[sid].pop(tid, None) - self._ies[tid].pop(sid, None) - return - def remove_matches(es): - return set(filter(lambda e: not e.has_props(**props), es)) + return set( + filter( + lambda e: not ( + (name == e.name if name else True) and e.has_props(**props) + ), + es, + ) + ) self._oes[sid][tid] = remove_matches(self._oes[sid][tid]) self._ies[tid][sid] = remove_matches(self._ies[tid][sid]) @@ -439,12 +443,10 @@ def schema(self) -> Dict[str, Any]: "schema": [ { "type": "VERTEX", - "label": f"{self._vertex_label}", "properties": [{"name": k} for k in self._vertex_prop_keys], }, { "type": "EDGE", - "label": f"{self._edge_label}", "properties": [{"name": k} for k in self._edge_prop_keys], }, ] @@ -452,14 +454,30 @@ def schema(self) -> Dict[str, Any]: def format(self) -> str: """Format graph to string.""" - vs_str = "\n".join(v.format(self.vertex_label) for v in self.vertices()) + vs_str = "\n".join(v.format() for v in self.vertices()) es_str = "\n".join( - f"{self.get_vertex(e.sid).format(self.vertex_label)}" - f"{e.format(self.edge_label)}" - f"{self.get_vertex(e.tid).format(self.vertex_label)}" + f"{self.get_vertex(e.sid).format(concise=True)}" + f"{e.format()}" + f"{self.get_vertex(e.tid).format(concise=True)}" for e in self.edges() ) - return f"Vertices:\n{vs_str}\n\nEdges:\n{es_str}" + return ( + f"Entities:\n{vs_str}\n\n" f"Relationships:\n{es_str}" + if (vs_str or es_str) + else "" + ) + + def truncate(self): + """Truncate graph.""" + # clean metadata + self._vertex_prop_keys.clear() + self._edge_prop_keys.clear() + self._edge_count = 0 + + # clean data and index + self._vs.clear() + self._oes.clear() + self._ies.clear() def graphviz(self, name="g"): """View graphviz graph: https://dreampuf.github.io/GraphvizOnline.""" @@ -468,7 +486,7 @@ def graphviz(self, name="g"): g.add_node(vertex.vid) for edge in self.edges(): - triplet = edge.triplet(self.edge_label) + triplet = edge.triplet() g.add_edge(triplet[0], triplet[2], label=triplet[1]) digraph = nx.nx_agraph.to_agraph(g).to_string() diff --git a/dbgpt/storage/graph_store/memgraph_store.py b/dbgpt/storage/graph_store/memgraph_store.py index 610b59535..1a6dd2c42 100644 --- a/dbgpt/storage/graph_store/memgraph_store.py +++ b/dbgpt/storage/graph_store/memgraph_store.py @@ -1,9 +1,9 @@ -"""Graph store base class.""" +"""Memory graph store.""" import json import logging -from typing import List, Optional, Tuple +from typing import Generator, List, Optional, Tuple -from dbgpt._private.pydantic import ConfigDict, Field +from dbgpt._private.pydantic import ConfigDict from dbgpt.storage.graph_store.base import GraphStoreBase, GraphStoreConfig from dbgpt.storage.graph_store.graph import Direction, Edge, Graph, MemoryGraph @@ -15,32 +15,51 @@ class MemoryGraphStoreConfig(GraphStoreConfig): model_config = ConfigDict(arbitrary_types_allowed=True) - edge_name_key: str = Field( - default="label", - description="The label of edge name, `label` by default.", - ) - class MemoryGraphStore(GraphStoreBase): """Memory graph store.""" def __init__(self, graph_store_config: MemoryGraphStoreConfig): """Initialize MemoryGraphStore with a memory graph.""" - self._edge_name_key = graph_store_config.edge_name_key - self._graph = MemoryGraph(edge_label=self._edge_name_key) + self._graph_store_config = graph_store_config + self._graph = MemoryGraph() + + def get_config(self): + """Get the graph store config.""" + return self._graph_store_config + + def get_edge_type(self) -> str: + """Get the edge type.""" + raise NotImplementedError("Memory graph store does not have edge type") + + def get_vertex_type(self) -> str: + """Get the vertex type.""" + raise NotImplementedError("Memory graph store does not have vertex type") def insert_triplet(self, sub: str, rel: str, obj: str): """Insert a triplet into the graph.""" - self._graph.append_edge(Edge(sub, obj, **{self._edge_name_key: rel})) + self._graph.append_edge(Edge(sub, obj, rel)) + + def insert_graph(self, graph: Graph): + """Add graph.""" + for vertex in graph.vertices(): + self._graph.upsert_vertex(vertex) + + for edge in graph.edges(): + self._graph.append_edge(edge) def get_triplets(self, sub: str) -> List[Tuple[str, str]]: """Retrieve triplets originating from a subject.""" subgraph = self.explore([sub], direct=Direction.OUT, depth=1) - return [(e.get_prop(self._edge_name_key), e.tid) for e in subgraph.edges()] + return [(e.name, e.tid) for e in subgraph.edges()] def delete_triplet(self, sub: str, rel: str, obj: str): """Delete a specific triplet from the graph.""" - self._graph.del_edges(sub, obj, **{self._edge_name_key: rel}) + self._graph.del_edges(sub, obj, rel) + + def truncate(self): + """Truncate graph.""" + self._graph.truncate() def drop(self): """Drop graph.""" @@ -50,7 +69,7 @@ def get_schema(self, refresh: bool = False) -> str: """Return the graph schema as a JSON string.""" return json.dumps(self._graph.schema()) - def get_full_graph(self, limit: Optional[int] = None) -> MemoryGraph: + def get_full_graph(self, limit: Optional[int] = None) -> Graph: """Return self.""" if not limit: return self._graph @@ -79,3 +98,7 @@ def explore( def query(self, query: str, **args) -> Graph: """Execute a query on graph.""" raise NotImplementedError("Query memory graph not allowed") + + def stream_query(self, query: str) -> Generator[Graph, None, None]: + """Execute stream query.""" + raise NotImplementedError("Stream query memory graph not allowed") diff --git a/dbgpt/storage/graph_store/neo4j_store.py b/dbgpt/storage/graph_store/neo4j_store.py index 151a98865..26348c2b5 100644 --- a/dbgpt/storage/graph_store/neo4j_store.py +++ b/dbgpt/storage/graph_store/neo4j_store.py @@ -1,10 +1,8 @@ -"""Neo4j vector store.""" +"""Neo4j store.""" import logging -from typing import List, Optional, Tuple from dbgpt._private.pydantic import ConfigDict from dbgpt.storage.graph_store.base import GraphStoreBase, GraphStoreConfig -from dbgpt.storage.graph_store.graph import Direction, Graph, MemoryGraph logger = logging.getLogger(__name__) @@ -19,46 +17,3 @@ class Neo4jStore(GraphStoreBase): """Neo4j graph store.""" # todo: add neo4j implementation - - def __init__(self, graph_store_config: Neo4jStoreConfig): - """Initialize the Neo4jStore with connection details.""" - pass - - def insert_triplet(self, sub: str, rel: str, obj: str): - """Insert triplets.""" - pass - - def get_triplets(self, sub: str) -> List[Tuple[str, str]]: - """Get triplets.""" - return [] - - def delete_triplet(self, sub: str, rel: str, obj: str): - """Delete triplets.""" - pass - - def drop(self): - """Drop graph.""" - pass - - def get_schema(self, refresh: bool = False) -> str: - """Get schema.""" - return "" - - def get_full_graph(self, limit: Optional[int] = None) -> Graph: - """Get full graph.""" - return MemoryGraph() - - def explore( - self, - subs: List[str], - direct: Direction = Direction.BOTH, - depth: Optional[int] = None, - fan: Optional[int] = None, - limit: Optional[int] = None, - ) -> Graph: - """Explore the graph from given subjects up to a depth.""" - return MemoryGraph() - - def query(self, query: str, **args) -> Graph: - """Execute a query on graph.""" - return MemoryGraph() diff --git a/dbgpt/storage/graph_store/tugraph_store.py b/dbgpt/storage/graph_store/tugraph_store.py index 5ffa95925..3fdd2df8b 100644 --- a/dbgpt/storage/graph_store/tugraph_store.py +++ b/dbgpt/storage/graph_store/tugraph_store.py @@ -1,12 +1,14 @@ -"""TuGraph vector store.""" +"""TuGraph store.""" +import base64 +import json import logging import os -from typing import List, Optional, Tuple +from typing import Any, Generator, Iterator, List, Optional, Tuple from dbgpt._private.pydantic import ConfigDict, Field from dbgpt.datasource.conn_tugraph import TuGraphConnector from dbgpt.storage.graph_store.base import GraphStoreBase, GraphStoreConfig -from dbgpt.storage.graph_store.graph import Direction, Edge, MemoryGraph, Vertex +from dbgpt.storage.graph_store.graph import Direction, Edge, Graph, MemoryGraph, Vertex logger = logging.getLogger(__name__) @@ -29,20 +31,24 @@ class TuGraphStoreConfig(GraphStoreConfig): description="login username", ) password: str = Field( - default="123456", + default="73@TuGraph", description="login password", ) vertex_type: str = Field( default="entity", - description="The type of graph vertex, `entity` by default.", + description="The type of vertex, `entity` by default.", ) edge_type: str = Field( default="relation", - description="The type of graph edge, `relation` by default.", + description="The type of edge, `relation` by default.", ) - edge_name_key: str = Field( - default="label", - description="The label of edge name, `label` by default.", + plugin_names: List[str] = Field( + default=["leiden"], + description=( + "Plugins need to be loaded when initialize TuGraph, " + "code: https://github.com/TuGraph-family" + "/dbgpt-tugraph-plugins/tree/master/cpp" + ), ) @@ -51,20 +57,23 @@ class TuGraphStore(GraphStoreBase): def __init__(self, config: TuGraphStoreConfig) -> None: """Initialize the TuGraphStore with connection details.""" - self._host = os.getenv("TUGRAPH_HOST", "127.0.0.1") or config.host - self._port = int(os.getenv("TUGRAPH_PORT", 7687)) or config.port - self._username = os.getenv("TUGRAPH_USERNAME", "admin") or config.username - self._password = os.getenv("TUGRAPH_PASSWORD", "73@TuGraph") or config.password - self._node_label = ( - os.getenv("TUGRAPH_VERTEX_TYPE", "entity") or config.vertex_type + self._config = config + self._host = os.getenv("TUGRAPH_HOST", config.host) + self._port = int(os.getenv("TUGRAPH_PORT", config.port)) + self._username = os.getenv("TUGRAPH_USERNAME", config.username) + self._password = os.getenv("TUGRAPH_PASSWORD", config.password) + self._summary_enabled = ( + os.getenv("GRAPH_COMMUNITY_SUMMARY_ENABLED", "").lower() == "true" + or config.summary_enabled ) - self._edge_label = ( - os.getenv("TUGRAPH_EDGE_TYPE", "relation") or config.edge_type - ) - self.edge_name_key = ( - os.getenv("TUGRAPH_EDGE_NAME_KEY", "label") or config.edge_name_key + self._plugin_names = ( + os.getenv("TUGRAPH_PLUGIN_NAMES", "leiden").split(",") + or config.plugin_names ) self._graph_name = config.name + self._vertex_type = os.getenv("TUGRAPH_VERTEX_TYPE", config.vertex_type) + self._edge_type = os.getenv("TUGRAPH_EDGE_TYPE", config.edge_type) + self.conn = TuGraphConnector.from_uri_db( host=self._host, port=self._port, @@ -72,35 +81,197 @@ def __init__(self, config: TuGraphStoreConfig) -> None: pwd=self._password, db_name=config.name, ) - self.conn.create_graph(graph_name=config.name) + self._create_graph(config.name) + + def get_vertex_type(self) -> str: + """Get the vertex type.""" + return self._vertex_type + + def get_edge_type(self) -> str: + """Get the edge type.""" + return self._edge_type + + def _create_graph(self, graph_name: str): + self.conn.create_graph(graph_name=graph_name) self._create_schema() + if self._summary_enabled: + self._upload_plugin() def _check_label(self, elem_type: str): result = self.conn.get_table_names() if elem_type == "vertex": - return self._node_label in result["vertex_tables"] + return self._vertex_type in result["vertex_tables"] if elem_type == "edge": - return self._edge_label in result["edge_tables"] + return self._edge_type in result["edge_tables"] + + def _add_vertex_index(self, field_name): + gql = f"CALL db.addIndex('{self._vertex_type}', '{field_name}', false)" + self.conn.run(gql) + + def _upload_plugin(self): + gql = "CALL db.plugin.listPlugin('CPP','v1')" + result = self.conn.run(gql) + result_names = [ + json.loads(record["plugin_description"])["name"] for record in result + ] + missing_plugins = [ + name for name in self._plugin_names if name not in result_names + ] + + if len(missing_plugins): + for name in missing_plugins: + try: + from dbgpt_tugraph_plugins import ( # type: ignore # noqa + get_plugin_binary_path, + ) + except ImportError: + logger.error( + "dbgpt-tugraph-plugins is not installed, " + "pip install dbgpt-tugraph-plugins==0.1.0rc1 -U -i " + "https://pypi.org/simple" + ) + plugin_path = get_plugin_binary_path("leiden") + with open(plugin_path, "rb") as f: + content = f.read() + content = base64.b64encode(content).decode() + gql = ( + f"CALL db.plugin.loadPlugin('CPP', '{name}', '{content}', " + "'SO', '{name} Plugin', false, 'v1')" + ) + self.conn.run(gql) def _create_schema(self): if not self._check_label("vertex"): - create_vertex_gql = ( - f"CALL db.createLabel(" - f"'vertex', '{self._node_label}', " - f"'id', ['id',string,false])" - ) - self.conn.run(create_vertex_gql) + if self._summary_enabled: + create_vertex_gql = ( + f"CALL db.createLabel(" + f"'vertex', '{self._vertex_type}', " + f"'id', ['id',string,false]," + f"['name',string,false]," + f"['_document_id',string,true]," + f"['_chunk_id',string,true]," + f"['_community_id',string,true]," + f"['description',string,true])" + ) + self.conn.run(create_vertex_gql) + self._add_vertex_index("_community_id") + else: + create_vertex_gql = ( + f"CALL db.createLabel(" + f"'vertex', '{self._vertex_type}', " + f"'id', ['id',string,false]," + f"['name',string,false])" + ) + self.conn.run(create_vertex_gql) + if not self._check_label("edge"): create_edge_gql = f"""CALL db.createLabel( - 'edge', '{self._edge_label}', '[["{self._node_label}", - "{self._node_label}"]]', ["id",STRING,false])""" + 'edge', '{self._edge_type}', + '[["{self._vertex_type}", + "{self._vertex_type}"]]', + ["id",STRING,false], + ["name",STRING,false])""" + if self._summary_enabled: + create_edge_gql = f"""CALL db.createLabel( + 'edge', '{self._edge_type}', + '[["{self._vertex_type}", + "{self._vertex_type}"]]', + ["id",STRING,false], + ["name",STRING,false], + ["description",STRING,true])""" self.conn.run(create_edge_gql) + def _format_query_data(self, data, white_prop_list: List[str]): + nodes_list = [] + rels_list: List[Any] = [] + _white_list = white_prop_list + from neo4j import graph + + def get_filtered_properties(properties, white_list): + return { + key: value + for key, value in properties.items() + if (not key.startswith("_") and key not in ["id", "name"]) + or key in white_list + } + + def process_node(node: graph.Node): + node_id = node._properties.get("id") + node_name = node._properties.get("name") + node_properties = get_filtered_properties(node._properties, _white_list) + nodes_list.append( + {"id": node_id, "name": node_name, "properties": node_properties} + ) + + def process_relationship(rel: graph.Relationship): + name = rel._properties.get("name", "") + rel_nodes = rel.nodes + src_id = rel_nodes[0]._properties.get("id") + dst_id = rel_nodes[1]._properties.get("id") + for node in rel_nodes: + process_node(node) + edge_properties = get_filtered_properties(rel._properties, _white_list) + if not any( + existing_edge.get("name") == name + and existing_edge.get("src_id") == src_id + and existing_edge.get("dst_id") == dst_id + for existing_edge in rels_list + ): + rels_list.append( + { + "src_id": src_id, + "dst_id": dst_id, + "name": name, + "properties": edge_properties, + } + ) + + def process_path(path: graph.Path): + for rel in path.relationships: + process_relationship(rel) + + def process_other(value): + if not any( + existing_node.get("id") == "json_node" for existing_node in nodes_list + ): + nodes_list.append( + { + "id": "json_node", + "name": "json_node", + "properties": {"description": value}, + } + ) + + for record in data: + for key in record.keys(): + value = record[key] + if isinstance(value, graph.Node): + process_node(value) + elif isinstance(value, graph.Relationship): + process_relationship(value) + elif isinstance(value, graph.Path): + process_path(value) + else: + process_other(value) + nodes = [ + Vertex(node["id"], node["name"], **node["properties"]) + for node in nodes_list + ] + rels = [ + Edge(edge["src_id"], edge["dst_id"], edge["name"], **edge["properties"]) + for edge in rels_list + ] + return {"nodes": nodes, "edges": rels} + + def get_config(self): + """Get the graph store config.""" + return self._config + def get_triplets(self, subj: str) -> List[Tuple[str, str]]: """Get triplets.""" query = ( - f"MATCH (n1:{self._node_label})-[r]->(n2:{self._node_label}) " + f"MATCH (n1:{self._vertex_type})-[r]->(n2:{self._vertex_type}) " f'WHERE n1.id = "{subj}" RETURN r.id as rel, n2.id as obj;' ) data = self.conn.run(query) @@ -117,16 +288,83 @@ def escape_quotes(value: str) -> str: rel_escaped = escape_quotes(rel) obj_escaped = escape_quotes(obj) - subj_query = f"MERGE (n1:{self._node_label} {{id:'{subj_escaped}'}})" - obj_query = f"MERGE (n1:{self._node_label} {{id:'{obj_escaped}'}})" - rel_query = ( - f"MERGE (n1:{self._node_label} {{id:'{subj_escaped}'}})" - f"-[r:{self._edge_label} {{id:'{rel_escaped}'}}]->" - f"(n2:{self._node_label} {{id:'{obj_escaped}'}})" + node_query = f"""CALL db.upsertVertex( + '{self._vertex_type}', + [{{id:'{subj_escaped}',name:'{subj_escaped}'}}, + {{id:'{obj_escaped}',name:'{obj_escaped}'}}])""" + edge_query = f"""CALL db.upsertEdge( + '{self._edge_type}', + {{type:"{self._vertex_type}",key:"sid"}}, + {{type:"{self._vertex_type}", key:"tid"}}, + [{{sid:"{subj_escaped}", + tid: "{obj_escaped}", + id:"{rel_escaped}", + name: "{rel_escaped}"}}])""" + self.conn.run(query=node_query) + self.conn.run(query=edge_query) + + def insert_graph(self, graph: Graph) -> None: + """Add graph.""" + + def escape_quotes(value: str) -> str: + """Escape single and double quotes in a string for queries.""" + if value is not None: + return value.replace("'", "").replace('"', "") + + nodes: Iterator[Vertex] = graph.vertices() + edges: Iterator[Edge] = graph.edges() + node_list = [] + edge_list = [] + + def parser(node_list): + formatted_nodes = [ + "{" + + ", ".join( + f'{k}: "{v}"' if isinstance(v, str) else f"{k}: {v}" + for k, v in node.items() + ) + + "}" + for node in node_list + ] + return f"""{', '.join(formatted_nodes)}""" + + for node in nodes: + node_list.append( + { + "id": escape_quotes(node.vid), + "name": escape_quotes(node.name), + "description": escape_quotes(node.get_prop("description")) or "", + "_document_id": "0", + "_chunk_id": "0", + "_community_id": "0", + } + ) + node_query = ( + f"""CALL db.upsertVertex("{self._vertex_type}", [{parser(node_list)}])""" ) - self.conn.run(query=subj_query) - self.conn.run(query=obj_query) - self.conn.run(query=rel_query) + for edge in edges: + edge_list.append( + { + "sid": escape_quotes(edge.sid), + "tid": escape_quotes(edge.tid), + "id": escape_quotes(edge.name), + "name": escape_quotes(edge.name), + "description": escape_quotes(edge.get_prop("description")), + } + ) + + edge_query = f"""CALL db.upsertEdge( + "{self._edge_type}", + {{type:"{self._vertex_type}", key:"sid"}}, + {{type:"{self._vertex_type}", key:"tid"}}, + [{parser(edge_list)}])""" + self.conn.run(query=node_query) + self.conn.run(query=edge_query) + + def truncate(self): + """Truncate Graph.""" + gql = "MATCH (n) DELETE n" + self.conn.run(gql) def drop(self): """Delete Graph.""" @@ -135,9 +373,9 @@ def drop(self): def delete_triplet(self, sub: str, rel: str, obj: str) -> None: """Delete triplet.""" del_query = ( - f"MATCH (n1:{self._node_label} {{id:'{sub}'}})" - f"-[r:{self._edge_label} {{id:'{rel}'}}]->" - f"(n2:{self._node_label} {{id:'{obj}'}}) DELETE n1,n2,r" + f"MATCH (n1:{self._vertex_type} {{id:'{sub}'}})" + f"-[r:{self._edge_type} {{id:'{rel}'}}]->" + f"(n2:{self._vertex_type} {{id:'{obj}'}}) DELETE n1,n2,r" ) self.conn.run(query=del_query) @@ -148,11 +386,20 @@ def get_schema(self, refresh: bool = False) -> str: schema = data[0]["schema"] return schema - def get_full_graph(self, limit: Optional[int] = None) -> MemoryGraph: + def get_full_graph(self, limit: Optional[int] = None) -> Graph: """Get full graph.""" if not limit: raise Exception("limit must be set") - return self.query(f"MATCH (n)-[r]-(m) RETURN n,m,r LIMIT {limit}") + graph_result = self.query( + f"MATCH (n)-[r]-(m) RETURN n,r,m LIMIT {limit}", + white_list=["_community_id"], + ) + all_graph = MemoryGraph() + for vertex in graph_result.vertices(): + all_graph.upsert_vertex(vertex) + for edge in graph_result.edges(): + all_graph.append_edge(edge) + return all_graph def explore( self, @@ -161,8 +408,11 @@ def explore( depth: Optional[int] = None, fan: Optional[int] = None, limit: Optional[int] = None, - ) -> MemoryGraph: + ) -> Graph: """Explore the graph from given subjects up to a depth.""" + if not subs: + return MemoryGraph() + if fan is not None: raise ValueError("Fan functionality is not supported at this time.") else: @@ -173,67 +423,88 @@ def explore( limit_string = f"LIMIT {limit}" if limit is None: limit_string = "" - + if direct.name == "OUT": + rel = f"-[r:{self._edge_type}*{depth_string}]->" + elif direct.name == "IN": + rel = f"<-[r:{self._edge_type}*{depth_string}]-" + else: + rel = f"-[r:{self._edge_type}*{depth_string}]-" query = ( - f"MATCH p=(n:{self._node_label})" - f"-[r:{self._edge_label}*{depth_string}]-(m:{self._node_label}) " + f"MATCH p=(n:{self._vertex_type})" + f"{rel}(m:{self._vertex_type}) " f"WHERE n.id IN {subs} RETURN p {limit_string}" ) return self.query(query) def query(self, query: str, **args) -> MemoryGraph: """Execute a query on graph.""" - - def _format_paths(paths): - formatted_paths = [] - for path in paths: - formatted_path = [] - nodes = list(path["p"].nodes) - rels = list(path["p"].relationships) - for i in range(len(nodes)): - formatted_path.append(nodes[i]._properties["id"]) - if i < len(rels): - formatted_path.append(rels[i]._properties["id"]) - formatted_paths.append(formatted_path) - return formatted_paths - - def _format_query_data(data): - node_ids_set = set() - rels_set = set() - from neo4j import graph - - for record in data: - for key in record.keys(): - value = record[key] - if isinstance(value, graph.Node): - node_id = value._properties["id"] - node_ids_set.add(node_id) - elif isinstance(value, graph.Relationship): - rel_nodes = value.nodes - prop_id = value._properties["id"] - src_id = rel_nodes[0]._properties["id"] - dst_id = rel_nodes[1]._properties["id"] - rels_set.add((src_id, dst_id, prop_id)) - elif isinstance(value, graph.Path): - formatted_paths = _format_paths(data) - for path in formatted_paths: - for i in range(0, len(path), 2): - node_ids_set.add(path[i]) - if i + 2 < len(path): - rels_set.add((path[i], path[i + 2], path[i + 1])) - - nodes = [Vertex(node_id) for node_id in node_ids_set] - rels = [ - Edge(src_id, dst_id, label=prop_id) - for (src_id, dst_id, prop_id) in rels_set - ] - return {"nodes": nodes, "edges": rels} - result = self.conn.run(query=query) - graph = _format_query_data(result) + white_list = args.get("white_list", []) + graph = self._format_query_data(result, white_list) mg = MemoryGraph() for vertex in graph["nodes"]: mg.upsert_vertex(vertex) for edge in graph["edges"]: mg.append_edge(edge) return mg + + def stream_query(self, query: str) -> Generator[Graph, None, None]: + """Execute a stream query.""" + from neo4j import graph + + for record in self.conn.run_stream(query): + mg = MemoryGraph() + for key in record.keys(): + value = record[key] + if isinstance(value, graph.Node): + node_id = value._properties["id"] + description = value._properties["description"] + vertex = Vertex(node_id, name=node_id, description=description) + mg.upsert_vertex(vertex) + elif isinstance(value, graph.Relationship): + rel_nodes = value.nodes + prop_id = value._properties["id"] + src_id = rel_nodes[0]._properties["id"] + dst_id = rel_nodes[1]._properties["id"] + description = value._properties["description"] + edge = Edge(src_id, dst_id, name=prop_id, description=description) + mg.append_edge(edge) + elif isinstance(value, graph.Path): + nodes = list(record["p"].nodes) + rels = list(record["p"].relationships) + formatted_path = [] + for i in range(len(nodes)): + formatted_path.append( + { + "id": nodes[i]._properties["id"], + "description": nodes[i]._properties["description"], + } + ) + if i < len(rels): + formatted_path.append( + { + "id": rels[i]._properties["id"], + "description": rels[i]._properties["description"], + } + ) + for i in range(0, len(formatted_path), 2): + mg.upsert_vertex( + Vertex( + formatted_path[i]["id"], + name=formatted_path[i]["id"], + description=formatted_path[i]["description"], + ) + ) + if i + 2 < len(formatted_path): + mg.append_edge( + Edge( + formatted_path[i]["id"], + formatted_path[i + 2]["id"], + name=formatted_path[i + 1]["id"], + description=formatted_path[i + 1]["description"], + ) + ) + else: + vertex = Vertex("json_node", name="json_node", description=value) + mg.upsert_vertex(vertex) + yield mg diff --git a/dbgpt/storage/knowledge_graph/base.py b/dbgpt/storage/knowledge_graph/base.py index c10cb63de..e47094bba 100644 --- a/dbgpt/storage/knowledge_graph/base.py +++ b/dbgpt/storage/knowledge_graph/base.py @@ -19,6 +19,10 @@ class KnowledgeGraphConfig(IndexStoreConfig): class KnowledgeGraphBase(IndexStoreBase, ABC): """Knowledge graph base class.""" + @abstractmethod + def get_config(self) -> KnowledgeGraphConfig: + """Get the knowledge graph config.""" + @abstractmethod def query_graph(self, limit: Optional[int] = None) -> Graph: """Get graph data.""" diff --git a/dbgpt/storage/knowledge_graph/community/__init__.py b/dbgpt/storage/knowledge_graph/community/__init__.py new file mode 100644 index 000000000..13247c62b --- /dev/null +++ b/dbgpt/storage/knowledge_graph/community/__init__.py @@ -0,0 +1 @@ +"""Community Module.""" diff --git a/dbgpt/storage/knowledge_graph/community/base.py b/dbgpt/storage/knowledge_graph/community/base.py new file mode 100644 index 000000000..9dcb17bc1 --- /dev/null +++ b/dbgpt/storage/knowledge_graph/community/base.py @@ -0,0 +1,73 @@ +"""Define Classes about Community.""" +import logging +from abc import ABC, abstractmethod +from dataclasses import dataclass +from typing import List, Optional + +from dbgpt.storage.graph_store.base import GraphStoreBase +from dbgpt.storage.graph_store.graph import Graph + +logger = logging.getLogger(__name__) + + +@dataclass +class Community: + """Community class.""" + + id: str + data: Optional[Graph] = None + summary: Optional[str] = None + + +@dataclass +class CommunityTree: + """Represents a community tree.""" + + +class CommunityStoreAdapter(ABC): + """Community Store Adapter.""" + + def __init__(self, graph_store: GraphStoreBase): + """Initialize Community Store Adapter.""" + self._graph_store = graph_store + + @property + def graph_store(self) -> GraphStoreBase: + """Get graph store.""" + return self._graph_store + + @abstractmethod + async def discover_communities(self, **kwargs) -> List[str]: + """Run community discovery.""" + + @abstractmethod + async def get_community(self, community_id: str) -> Community: + """Get community.""" + + +class CommunityMetastore(ABC): + """Community metastore class.""" + + @abstractmethod + def get(self, community_id: str) -> Community: + """Get community.""" + + @abstractmethod + def list(self) -> List[Community]: + """Get all communities.""" + + @abstractmethod + async def search(self, query: str) -> List[Community]: + """Search communities relevant to query.""" + + @abstractmethod + async def save(self, communities: List[Community]): + """Save communities.""" + + @abstractmethod + async def truncate(self): + """Truncate all communities.""" + + @abstractmethod + def drop(self): + """Drop community metastore.""" diff --git a/dbgpt/storage/knowledge_graph/community/community_metastore.py b/dbgpt/storage/knowledge_graph/community/community_metastore.py new file mode 100644 index 000000000..cc200394b --- /dev/null +++ b/dbgpt/storage/knowledge_graph/community/community_metastore.py @@ -0,0 +1,63 @@ +"""Builtin Community metastore.""" +import logging +from typing import List, Optional + +from dbgpt.core import Chunk +from dbgpt.datasource.rdbms.base import RDBMSConnector +from dbgpt.storage.knowledge_graph.community.base import Community, CommunityMetastore +from dbgpt.storage.vector_store.base import VectorStoreBase + +logger = logging.getLogger(__name__) + + +class BuiltinCommunityMetastore(CommunityMetastore): + """Builtin Community metastore.""" + + def __init__( + self, vector_store: VectorStoreBase, rdb_store: Optional[RDBMSConnector] = None + ): + """Initialize Community metastore.""" + self._vector_store = vector_store + self._rdb_store = rdb_store + + config = self._vector_store.get_config() + self._vector_space = config.name + self._max_chunks_once_load = config.max_chunks_once_load + self._max_threads = config.max_threads + self._topk = config.topk + self._score_threshold = config.score_threshold + + def get(self, community_id: str) -> Community: + """Get community.""" + raise NotImplementedError("Get community not allowed") + + def list(self) -> List[Community]: + """Get all communities.""" + raise NotImplementedError("List communities not allowed") + + async def search(self, query: str) -> List[Community]: + """Search communities relevant to query.""" + chunks = await self._vector_store.asimilar_search_with_scores( + query, self._topk, self._score_threshold + ) + return [Community(id=chunk.chunk_id, summary=chunk.content) for chunk in chunks] + + async def save(self, communities: List[Community]): + """Save communities.""" + chunks = [ + Chunk(id=c.id, content=c.summary, metadata={"total": len(communities)}) + for c in communities + ] + await self._vector_store.aload_document_with_limit( + chunks, self._max_chunks_once_load, self._max_threads + ) + logger.info(f"Save {len(communities)} communities") + + async def truncate(self): + """Truncate community metastore.""" + self._vector_store.truncate() + + def drop(self): + """Drop community metastore.""" + if self._vector_store.vector_name_exists(): + self._vector_store.delete_vector_name(self._vector_space) diff --git a/dbgpt/storage/knowledge_graph/community/community_store.py b/dbgpt/storage/knowledge_graph/community/community_store.py new file mode 100644 index 000000000..41bb494a3 --- /dev/null +++ b/dbgpt/storage/knowledge_graph/community/community_store.py @@ -0,0 +1,79 @@ +"""Define the CommunityStore class.""" + +import logging +from typing import List + +from dbgpt.rag.transformer.community_summarizer import CommunitySummarizer +from dbgpt.storage.knowledge_graph.community.base import ( + Community, + CommunityStoreAdapter, +) +from dbgpt.storage.knowledge_graph.community.community_metastore import ( + BuiltinCommunityMetastore, +) +from dbgpt.storage.vector_store.base import VectorStoreBase + +logger = logging.getLogger(__name__) + + +class CommunityStore: + """CommunityStore Class.""" + + def __init__( + self, + community_store_adapter: CommunityStoreAdapter, + community_summarizer: CommunitySummarizer, + vector_store: VectorStoreBase, + ): + """Initialize the CommunityStore class.""" + self._community_store_adapter = community_store_adapter + self._community_summarizer = community_summarizer + self._meta_store = BuiltinCommunityMetastore(vector_store) + + async def build_communities(self): + """Discover communities.""" + community_ids = await self._community_store_adapter.discover_communities() + + # summarize communities + communities = [] + for community_id in community_ids: + community = await self._community_store_adapter.get_community(community_id) + graph = community.data.format() + if not graph: + break + + community.summary = await self._community_summarizer.summarize(graph=graph) + communities.append(community) + logger.info( + f"Summarize community {community_id}: " f"{community.summary[:50]}..." + ) + + # truncate then save new summaries + await self._meta_store.truncate() + await self._meta_store.save(communities) + + async def search_communities(self, query: str) -> List[Community]: + """Search communities.""" + return await self._meta_store.search(query) + + def truncate(self): + """Truncate community store.""" + logger.info("Truncate community metastore") + self._meta_store.truncate() + + logger.info("Truncate community summarizer") + self._community_summarizer.truncate() + + logger.info("Truncate graph") + self._community_store_adapter.graph_store.truncate() + + def drop(self): + """Drop community store.""" + logger.info("Remove community metastore") + self._meta_store.drop() + + logger.info("Remove community summarizer") + self._community_summarizer.drop() + + logger.info("Remove graph") + self._community_store_adapter.graph_store.drop() diff --git a/dbgpt/storage/knowledge_graph/community/factory.py b/dbgpt/storage/knowledge_graph/community/factory.py new file mode 100644 index 000000000..4bafa74cd --- /dev/null +++ b/dbgpt/storage/knowledge_graph/community/factory.py @@ -0,0 +1,30 @@ +"""CommunityStoreAdapter factory.""" +import logging + +from dbgpt.storage.graph_store.base import GraphStoreBase +from dbgpt.storage.graph_store.tugraph_store import TuGraphStore +from dbgpt.storage.knowledge_graph.community.base import CommunityStoreAdapter +from dbgpt.storage.knowledge_graph.community.tugraph_adapter import ( + TuGraphCommunityStoreAdapter, +) + +logger = logging.getLogger(__name__) + + +class CommunityStoreAdapterFactory: + """Factory for community store adapter.""" + + @staticmethod + def create(graph_store: GraphStoreBase) -> CommunityStoreAdapter: + """Create a CommunityStoreAdapter instance. + + Args: + - graph_store_type: graph store type Memory, TuGraph, Neo4j + """ + if isinstance(graph_store, TuGraphStore): + return TuGraphCommunityStoreAdapter(graph_store) + else: + raise Exception( + "create community store adapter for %s failed", + graph_store.__class__.__name__, + ) diff --git a/dbgpt/storage/knowledge_graph/community/tugraph_adapter.py b/dbgpt/storage/knowledge_graph/community/tugraph_adapter.py new file mode 100644 index 000000000..9dcbbe046 --- /dev/null +++ b/dbgpt/storage/knowledge_graph/community/tugraph_adapter.py @@ -0,0 +1,52 @@ +"""TuGraph Community Store Adapter.""" +import json +import logging +from typing import List + +from dbgpt.storage.graph_store.graph import MemoryGraph +from dbgpt.storage.knowledge_graph.community.base import ( + Community, + CommunityStoreAdapter, +) + +logger = logging.getLogger(__name__) + + +class TuGraphCommunityStoreAdapter(CommunityStoreAdapter): + """TuGraph Community Store Adapter.""" + + MAX_HIERARCHY_LEVEL = 3 + + async def discover_communities(self, **kwargs) -> List[str]: + """Run community discovery with leiden.""" + mg = self._graph_store.query( + "CALL db.plugin.callPlugin" + "('CPP','leiden','{\"leiden_val\":\"_community_id\"}',60.00,false)" + ) + result = mg.get_vertex("json_node").get_prop("description") + community_ids = json.loads(result)["community_id_list"] + logger.info(f"Discovered {len(community_ids)} communities.") + return community_ids + + async def get_community(self, community_id: str) -> Community: + """Get community.""" + query = ( + f"MATCH (n:{self._graph_store.get_vertex_type()})" + f"WHERE n._community_id = '{community_id}' RETURN n" + ) + edge_query = ( + f"MATCH (n:{self._graph_store.get_vertex_type()})-" + f"[r:{self._graph_store.get_edge_type()}]-" + f"(m:{self._graph_store.get_vertex_type()})" + f"WHERE n._community_id = '{community_id}' RETURN n,r,m" + ) + + all_vertex_graph = self._graph_store.aquery(query) + all_edge_graph = self._graph_store.aquery(edge_query) + all_graph = MemoryGraph() + for vertex in all_vertex_graph.vertices(): + all_graph.upsert_vertex(vertex) + for edge in all_edge_graph.edges(): + all_graph.append_edge(edge) + + return Community(id=community_id, data=all_graph) diff --git a/dbgpt/storage/knowledge_graph/community_summary.py b/dbgpt/storage/knowledge_graph/community_summary.py new file mode 100644 index 000000000..a5bf272ac --- /dev/null +++ b/dbgpt/storage/knowledge_graph/community_summary.py @@ -0,0 +1,373 @@ +"""Define the CommunitySummaryKnowledgeGraph.""" + +import logging +import os +from typing import List, Optional + +from dbgpt._private.pydantic import ConfigDict, Field +from dbgpt.core import Chunk +from dbgpt.rag.transformer.community_summarizer import CommunitySummarizer +from dbgpt.rag.transformer.graph_extractor import GraphExtractor +from dbgpt.storage.knowledge_graph.community.community_store import CommunityStore +from dbgpt.storage.knowledge_graph.community.factory import CommunityStoreAdapterFactory +from dbgpt.storage.knowledge_graph.knowledge_graph import ( + BuiltinKnowledgeGraph, + BuiltinKnowledgeGraphConfig, +) +from dbgpt.storage.vector_store.base import VectorStoreConfig +from dbgpt.storage.vector_store.factory import VectorStoreFactory +from dbgpt.storage.vector_store.filters import MetadataFilters + +logger = logging.getLogger(__name__) + + +class CommunitySummaryKnowledgeGraphConfig(BuiltinKnowledgeGraphConfig): + """Community summary knowledge graph config.""" + + model_config = ConfigDict(arbitrary_types_allowed=True) + + vector_store_type: str = Field( + default="Chroma", description="The type of vector store." + ) + user: Optional[str] = Field( + default=None, + description="The user of vector store, if not set, will use the default user.", + ) + password: Optional[str] = Field( + default=None, + description=( + "The password of vector store, if not set, will use the default password." + ), + ) + extract_topk: int = Field( + default=5, + description="Topk of knowledge graph extract", + ) + extract_score_threshold: float = Field( + default=0.3, + description="Recall score of knowledge graph extract", + ) + community_topk: int = Field( + default=50, + description="Topk of community search in knowledge graph", + ) + community_score_threshold: float = Field( + default=0.0, + description="Recall score of community search in knowledge graph", + ) + + +class CommunitySummaryKnowledgeGraph(BuiltinKnowledgeGraph): + """Community summary knowledge graph class.""" + + def __init__(self, config: CommunitySummaryKnowledgeGraphConfig): + """Initialize community summary knowledge graph class.""" + super().__init__(config) + self._config = config + + self._vector_store_type = os.getenv( + "VECTOR_STORE_TYPE", config.vector_store_type + ) + self._extract_topk = int( + os.getenv("KNOWLEDGE_GRAPH_EXTRACT_SEARCH_TOP_SIZE", config.extract_topk) + ) + self._extract_score_threshold = float( + os.getenv( + "KNOWLEDGE_GRAPH_EXTRACT_SEARCH_RECALL_SCORE", + config.extract_score_threshold, + ) + ) + self._community_topk = int( + os.getenv( + "KNOWLEDGE_GRAPH_COMMUNITY_SEARCH_TOP_SIZE", config.community_topk + ) + ) + self._community_score_threshold = float( + os.getenv( + "KNOWLEDGE_GRAPH_COMMUNITY_SEARCH_RECALL_SCORE", + config.community_score_threshold, + ) + ) + + def extractor_configure(name: str, cfg: VectorStoreConfig): + cfg.name = name + cfg.embedding_fn = config.embedding_fn + cfg.max_chunks_once_load = config.max_chunks_once_load + cfg.max_threads = config.max_threads + cfg.user = config.user + cfg.password = config.password + cfg.topk = self._extract_topk + cfg.score_threshold = self._extract_score_threshold + + self._graph_extractor = GraphExtractor( + self._llm_client, + self._model_name, + VectorStoreFactory.create( + self._vector_store_type, + config.name + "_CHUNK_HISTORY", + extractor_configure, + ), + ) + + def community_store_configure(name: str, cfg: VectorStoreConfig): + cfg.name = name + cfg.embedding_fn = config.embedding_fn + cfg.max_chunks_once_load = config.max_chunks_once_load + cfg.max_threads = config.max_threads + cfg.user = config.user + cfg.password = config.password + cfg.topk = self._community_topk + cfg.score_threshold = self._community_score_threshold + + self._community_store = CommunityStore( + CommunityStoreAdapterFactory.create(self._graph_store), + CommunitySummarizer(self._llm_client, self._model_name), + VectorStoreFactory.create( + self._vector_store_type, + config.name + "_COMMUNITY_SUMMARY", + community_store_configure, + ), + ) + + def get_config(self) -> BuiltinKnowledgeGraphConfig: + """Get the knowledge graph config.""" + return self._config + + async def aload_document(self, chunks: List[Chunk]) -> List[str]: + """Extract and persist graph.""" + # todo add doc node + for chunk in chunks: + # todo add chunk node + # todo add relation doc-chunk + + # extract graphs and save + graphs = await self._graph_extractor.extract(chunk.content) + for graph in graphs: + self._graph_store.insert_graph(graph) + + # build communities and save + await self._community_store.build_communities() + + return [chunk.chunk_id for chunk in chunks] + + async def asimilar_search_with_scores( + self, + text, + topk, + score_threshold: float, + filters: Optional[MetadataFilters] = None, + ) -> List[Chunk]: + """Retrieve relevant community summaries.""" + # global search: retrieve relevant community summaries + communities = await self._community_store.search_communities(text) + summaries = [ + f"Section {i + 1}:\n{community.summary}" + for i, community in enumerate(communities) + ] + context = "\n".join(summaries) if summaries else "" + + # local search: extract keywords and explore subgraph + keywords = await self._keyword_extractor.extract(text) + subgraph = self._graph_store.explore(keywords, limit=topk).format() + logger.info(f"Search subgraph from {len(keywords)} keywords") + + if not summaries and not subgraph: + return [] + + # merge search results into context + content = HYBRID_SEARCH_PT_CN.format(context=context, graph=subgraph) + return [Chunk(content=content)] + + def truncate(self) -> List[str]: + """Truncate knowledge graph.""" + logger.info("Truncate community store") + self._community_store.truncate() + logger.info("Truncate keyword extractor") + self._keyword_extractor.truncate() + logger.info("Truncate triplet extractor") + self._graph_extractor.truncate() + return [self._config.name] + + def delete_vector_name(self, index_name: str): + """Delete knowledge graph.""" + logger.info("Drop community store") + self._community_store.drop() + + logger.info("Drop keyword extractor") + self._keyword_extractor.drop() + + logger.info("Drop triplet extractor") + self._graph_extractor.drop() + + +HYBRID_SEARCH_PT_CN = ( + "## 角色\n" + "你非常擅长结合提示词模板提供的[上下文]信息与[知识图谱]信息," + "准确恰当地回答用户的问题,并保证不会输出与上下文和知识图谱无关的信息。" + "\n" + "## 技能\n" + "### 技能 1: 上下文理解\n" + "- 准确地理解[上下文]提供的信息,上下文信息可能被拆分为多个章节。\n" + "- 上下文的每个章节内容都会以[Section]开始,并按需进行了编号。\n" + "- 上下文信息提供了与用户问题相关度最高的总结性描述,请合理使用它们。" + "### 技能 2: 知识图谱理解\n" + "- 准确地识别[知识图谱]中提供的[Entities:]章节中的实体信息" + "和[Relationships:]章节中的关系信息,实体和关系信息的一般格式为:\n" + "```" + "* 实体信息格式:\n" + "- (实体名)\n" + "- (实体名:实体描述)\n" + "- (实体名:实体属性表)\n" + "- (文本块ID:文档块内容)\n" + "- (目录ID:目录名)\n" + "- (文档ID:文档名称)\n" + "\n" + "* 关系信息的格式:\n" + "- (来源实体名)-[关系名]->(目标实体名)\n" + "- (来源实体名)-[关系名:关系描述]->(目标实体名)\n" + "- (来源实体名)-[关系名:关系属性表]->(目标实体名)\n" + "- (文本块实体)-[包含]->(实体名)\n" + "- (目录ID)-[包含]->(文本块实体)\n" + "- (目录ID)-[包含]->(子目录ID)\n" + "- (文档ID)-[包含]->(文本块实体)\n" + "- (文档ID)-[包含]->(目录ID)\n" + "```" + "- 正确地将关系信息中的实体名/ID与实体信息关联,还原出图结构。" + "- 将图结构所表达的信息作为用户提问的明细上下文,辅助生成更好的答案。\n" + "\n" + "## 约束条件\n" + "- 不要在答案中描述你的思考过程,直接给出用户问题的答案,不要生成无关信息。\n" + "- 若[知识图谱]没有提供信息,此时应根据[上下文]提供的信息回答问题。" + "- 确保以第三人称书写,从客观角度结合[上下文]和[知识图谱]表达的信息回答问题。\n" + "- 若提供的信息相互矛盾,请解决矛盾并提供一个单一、连贯的描述。\n" + "- 避免使用停用词和过于常见的词汇。\n" + "\n" + "## 参考案例\n" + "```\n" + "[上下文]:\n" + "Section 1:\n" + "菲尔・贾伯的大儿子叫雅各布・贾伯。\n" + "Section 2:\n" + "菲尔・贾伯的小儿子叫比尔・贾伯。\n" + "[知识图谱]:\n" + "Entities:\n" + "(菲尔・贾伯#菲尔兹咖啡创始人)\n" + "(菲尔兹咖啡#加利福尼亚州伯克利创立的咖啡品牌)\n" + "(雅各布・贾伯#菲尔・贾伯的儿子)\n" + "(美国多地#菲尔兹咖啡的扩展地区)\n" + "\n" + "Relationships:\n" + "(菲尔・贾伯#创建#菲尔兹咖啡#1978年在加利福尼亚州伯克利创立)\n" + "(菲尔兹咖啡#位于#加利福尼亚州伯克利#菲尔兹咖啡的创立地点)\n" + "(菲尔・贾伯#拥有#雅各布・贾伯#菲尔・贾伯的儿子)\n" + "(雅各布・贾伯#担任#首席执行官#在2005年成为菲尔兹咖啡的首席执行官)\n" + "(菲尔兹咖啡#扩展至#美国多地#菲尔兹咖啡的扩展范围)\n" + "```\n" + "\n" + "----\n" + "\n" + "接下来的[上下文]和[知识图谱]的信息,可以帮助你回答更好地用户的问题。\n" + "\n" + "[上下文]:\n" + "{context}\n" + "\n" + "[知识图谱]:\n" + "{graph}\n" + "\n" +) + +HYBRID_SEARCH_PT_EN = ( + "## Role\n" + "You excel at combining the information provided in the [Context] with " + "information from the [KnowledgeGraph] to accurately and appropriately " + "answer user questions, ensuring that you do not output information " + "unrelated to the context and knowledge graph.\n" + "\n" + "## Skills\n" + "### Skill 1: Context Understanding\n" + "- Accurately understand the information provided in the [Context], " + "which may be divided into several sections.\n" + "- Each section in the context will start with [Section] " + "and may be numbered as needed.\n" + "- The context provides a summary description most relevant to the user’s " + "question, and it should be used wisely." + "### Skill 2: Knowledge Graph Understanding\n" + "- Accurately identify entity information in the [Entities:] section and " + "relationship information in the [Relationships:] section " + "of the [KnowledgeGraph]. The general format for entity " + "and relationship information is:\n" + "```" + "* Entity Information Format:\n" + "- (entity_name)\n" + "- (entity_name: entity_description)\n" + "- (entity_name: entity_property_map)\n" + "- (chunk_id: chunk_content)\n" + "- (catalog_id: catalog_name)\n" + "- (document_id: document_name)\n" + "\n" + "* Relationship Information Format:\n" + "- (source_entity_name)-[relationship_name]->(target_entity_name)\n" + "- (source_entity_name)-[relationship_name: relationship_description]->" + "(target_entity_name)\n" + "- (source_entity_name)-[relationship_name: relationship_property_map]->" + "(target_entity_name)\n" + "- (chunk_id)-[Contains]->(entity_name)\n" + "- (catalog_id)-[Contains]->(chunk_id)\n" + "- (catalog_id)-[Contains]->(sub_catalog_id)\n" + "- (document_id)-[Contains]->(chunk_id)\n" + "- (document_id)-[Contains]->(catalog_id)\n" + "```" + "- Correctly associate entity names/IDs in the relationship information " + "with entity information to restore the graph structure." + "- Use the information expressed by the graph structure as detailed " + "context for the user's query to assist in generating better answers.\n" + "\n" + "## Constraints\n" + "- Don't describe your thought process in the answer, provide the answer " + "to the user's question directly without generating irrelevant information." + "- If the [KnowledgeGraph] does not provide information, you should answer " + "the question based on the information provided in the [Context]." + "- Ensure to write in the third person, responding to questions from " + "an objective perspective based on the information combined from the " + "[Context] and the [KnowledgeGraph].\n" + "- If the provided information is contradictory, resolve the " + "contradictions and provide a single, coherent description.\n" + "- Avoid using stop words and overly common vocabulary.\n" + "\n" + "## Reference Example\n" + "```\n" + "[Context]:\n" + "Section 1:\n" + "Phil Schiller's eldest son is Jacob Schiller.\n" + "Section 2:\n" + "Phil Schiller's youngest son is Bill Schiller.\n" + "[KnowledgeGraph]:\n" + "Entities:\n" + "(Phil Jaber#Founder of Philz Coffee)\n" + "(Philz Coffee#Coffee brand founded in Berkeley, California)\n" + "(Jacob Jaber#Son of Phil Jaber)\n" + "(Multiple locations in the USA#Expansion regions of Philz Coffee)\n" + "\n" + "Relationships:\n" + "(Phil Jaber#Created#Philz Coffee" + "#Founded in Berkeley, California in 1978)\n" + "(Philz Coffee#Located in#Berkeley, California" + "#Founding location of Philz Coffee)\n" + "(Phil Jaber#Has#Jacob Jaber#Son of Phil Jaber)\n" + "(Jacob Jaber#Serves as#CEO#Became CEO of Philz Coffee in 2005)\n" + "(Philz Coffee#Expanded to#Multiple locations in the USA" + "#Expansion regions of Philz Coffee)\n" + "```\n" + "\n" + "----\n" + "\n" + "The following information from the [Context] and [KnowledgeGraph] can " + "help you better answer user questions.\n" + "\n" + "[Context]:\n" + "{context}\n" + "\n" + "[KnowledgeGraph]:\n" + "{graph}\n" + "\n" +) diff --git a/dbgpt/storage/knowledge_graph/knowledge_graph.py b/dbgpt/storage/knowledge_graph/knowledge_graph.py index 59a1ba39d..066e2667d 100644 --- a/dbgpt/storage/knowledge_graph/knowledge_graph.py +++ b/dbgpt/storage/knowledge_graph/knowledge_graph.py @@ -36,8 +36,9 @@ class BuiltinKnowledgeGraph(KnowledgeGraphBase): def __init__(self, config: BuiltinKnowledgeGraphConfig): """Create builtin knowledge graph instance.""" - self._config = config super().__init__() + self._config = config + self._llm_client = config.llm_client if not self._llm_client: raise ValueError("No llm client provided.") @@ -45,17 +46,19 @@ def __init__(self, config: BuiltinKnowledgeGraphConfig): self._model_name = config.model_name self._triplet_extractor = TripletExtractor(self._llm_client, self._model_name) self._keyword_extractor = KeywordExtractor(self._llm_client, self._model_name) - self._graph_store_type = ( - os.getenv("GRAPH_STORE_TYPE", "TuGraph") or config.graph_store_type - ) + self._graph_store = self.__init_graph_store(config) + def __init_graph_store(self, config) -> GraphStoreBase: def configure(cfg: GraphStoreConfig): - cfg.name = self._config.name - cfg.embedding_fn = self._config.embedding_fn + cfg.name = config.name + cfg.embedding_fn = config.embedding_fn - self._graph_store: GraphStoreBase = GraphStoreFactory.create( - self._graph_store_type, configure - ) + graph_store_type = os.getenv("GRAPH_STORE_TYPE") or config.graph_store_type + return GraphStoreFactory.create(graph_store_type, configure) + + def get_config(self) -> BuiltinKnowledgeGraphConfig: + """Get the knowledge graph config.""" + return self._config def load_document(self, chunks: List[Chunk]) -> List[str]: """Extract and persist triplets to graph store.""" @@ -113,35 +116,59 @@ async def asimilar_search_with_scores( # extract keywords and explore graph store keywords = await self._keyword_extractor.extract(text) - subgraph = self._graph_store.explore(keywords, limit=topk) + subgraph = self._graph_store.explore(keywords, limit=topk).format() logger.info(f"Search subgraph from {len(keywords)} keywords") + if not subgraph: + return [] + content = ( - "The following vertices and edges data after [Subgraph Data] " - "are retrieved from the knowledge graph based on the keywords:\n" - f"Keywords:\n{','.join(keywords)}\n" + "The following entities and relationships provided after " + "[Subgraph] are retrieved from the knowledge graph " + "based on the keywords:\n" + f"\"{','.join(keywords)}\".\n" "---------------------\n" - "You can refer to the sample vertices and edges to understand " - "the real knowledge graph data provided by [Subgraph Data].\n" - "Sample vertices:\n" + "The following examples after [Entities] and [Relationships] that " + "can help you understand the data format of the knowledge graph, " + "but do not use them in the answer.\n" + "[Entities]:\n" "(alice)\n" "(bob:{age:28})\n" '(carry:{age:18;role:"teacher"})\n\n' - "Sample edges:\n" + "[Relationships]:\n" "(alice)-[reward]->(alice)\n" '(alice)-[notify:{method:"email"}]->' '(carry:{age:18;role:"teacher"})\n' '(bob:{age:28})-[teach:{course:"math";hour:180}]->(alice)\n' "---------------------\n" - f"Subgraph Data:\n{subgraph.format()}\n" + f"[Subgraph]:\n{subgraph}\n" ) - return [Chunk(content=content, metadata=subgraph.schema())] + return [Chunk(content=content)] def query_graph(self, limit: Optional[int] = None) -> Graph: """Query graph.""" return self._graph_store.get_full_graph(limit) + def truncate(self) -> List[str]: + """Truncate knowledge graph.""" + logger.info(f"Truncate graph {self._config.name}") + self._graph_store.truncate() + + logger.info("Truncate keyword extractor") + self._keyword_extractor.truncate() + + logger.info("Truncate triplet extractor") + self._triplet_extractor.truncate() + + return [self._config.name] + def delete_vector_name(self, index_name: str): """Delete vector name.""" - logger.info(f"Remove graph index {index_name}") + logger.info(f"Drop graph {index_name}") self._graph_store.drop() + + logger.info("Drop keyword extractor") + self._keyword_extractor.drop() + + logger.info("Drop triplet extractor") + self._triplet_extractor.drop() diff --git a/dbgpt/storage/knowledge_graph/open_spg.py b/dbgpt/storage/knowledge_graph/open_spg.py index 589e0cc32..4c42fca59 100644 --- a/dbgpt/storage/knowledge_graph/open_spg.py +++ b/dbgpt/storage/knowledge_graph/open_spg.py @@ -1,12 +1,8 @@ """OpenSPG class.""" import logging -from typing import List, Optional from dbgpt._private.pydantic import ConfigDict -from dbgpt.core import Chunk -from dbgpt.storage.graph_store.graph import Graph, MemoryGraph from dbgpt.storage.knowledge_graph.base import KnowledgeGraphBase, KnowledgeGraphConfig -from dbgpt.storage.vector_store.filters import MetadataFilters logger = logging.getLogger(__name__) @@ -21,29 +17,3 @@ class OpenSPG(KnowledgeGraphBase): """OpenSPG class.""" # todo: add OpenSPG implementation - - def __init__(self, config: OpenSPGConfig): - """Initialize the OpenSPG with config details.""" - pass - - def load_document(self, chunks: List[Chunk]) -> List[str]: - """Load document.""" - return [] - - def similar_search_with_scores( - self, - text, - topk, - score_threshold: float, - filters: Optional[MetadataFilters] = None, - ) -> List[Chunk]: - """Similar with scores.""" - return [] - - def query_graph(self, limit: Optional[int] = None) -> Graph: - """Query graph.""" - return MemoryGraph() - - def delete_vector_name(self, index_name: str): - """Delete vector name.""" - pass diff --git a/dbgpt/storage/vector_store/__init__.py b/dbgpt/storage/vector_store/__init__.py index cce559267..18dc01c1a 100644 --- a/dbgpt/storage/vector_store/__init__.py +++ b/dbgpt/storage/vector_store/__init__.py @@ -56,6 +56,15 @@ def _import_builtin_knowledge_graph() -> Tuple[Type, Type]: return BuiltinKnowledgeGraph, BuiltinKnowledgeGraphConfig +def _import_community_summary_knowledge_graph() -> Tuple[Type, Type]: + from dbgpt.storage.knowledge_graph.community_summary import ( + CommunitySummaryKnowledgeGraph, + CommunitySummaryKnowledgeGraphConfig, + ) + + return CommunitySummaryKnowledgeGraph, CommunitySummaryKnowledgeGraphConfig + + def _import_openspg() -> Tuple[Type, Type]: from dbgpt.storage.knowledge_graph.open_spg import OpenSPG, OpenSPGConfig @@ -86,6 +95,8 @@ def __getattr__(name: str) -> Tuple[Type, Type]: return _import_elastic() elif name == "KnowledgeGraph": return _import_builtin_knowledge_graph() + elif name == "CommunitySummaryKnowledgeGraph": + return _import_community_summary_knowledge_graph() elif name == "OpenSPG": return _import_openspg() elif name == "FullText": @@ -103,7 +114,7 @@ def __getattr__(name: str) -> Tuple[Type, Type]: "ElasticSearch", ] -__knowledge_graph__ = ["KnowledgeGraph", "OpenSPG"] +__knowledge_graph__ = ["KnowledgeGraph", "CommunitySummaryKnowledgeGraph", "OpenSPG"] __document_store__ = ["FullText"] diff --git a/dbgpt/storage/vector_store/base.py b/dbgpt/storage/vector_store/base.py index 390286179..aaaafc5ab 100644 --- a/dbgpt/storage/vector_store/base.py +++ b/dbgpt/storage/vector_store/base.py @@ -99,6 +99,14 @@ class VectorStoreConfig(IndexStoreConfig): "The password of vector store, if not set, will use the default password." ), ) + topk: int = Field( + default=5, + description="Topk of vector search", + ) + score_threshold: float = Field( + default=0.3, + description="Recall score of vector search", + ) class VectorStoreBase(IndexStoreBase, ABC): @@ -108,6 +116,10 @@ def __init__(self, executor: Optional[ThreadPoolExecutor] = None): """Initialize vector store.""" super().__init__(executor) + @abstractmethod + def get_config(self) -> VectorStoreConfig: + """Get the vector store config.""" + def filter_by_score_threshold( self, chunks: List[Chunk], score_threshold: float ) -> List[Chunk]: @@ -126,7 +138,7 @@ def filter_by_score_threshold( metadata=chunk.metadata, content=chunk.content, score=chunk.score, - chunk_id=str(id), + chunk_id=chunk.chunk_id, ) for chunk in chunks if chunk.score >= score_threshold diff --git a/dbgpt/storage/vector_store/chroma_store.py b/dbgpt/storage/vector_store/chroma_store.py index 5bd5ff59c..4e377a372 100644 --- a/dbgpt/storage/vector_store/chroma_store.py +++ b/dbgpt/storage/vector_store/chroma_store.py @@ -63,6 +63,8 @@ def __init__(self, vector_store_config: ChromaVectorConfig) -> None: vector_store_config(ChromaVectorConfig): vector store config. """ super().__init__() + self._vector_store_config = vector_store_config + chroma_vector_config = vector_store_config.to_dict(exclude_none=True) chroma_path = chroma_vector_config.get( "persist_path", os.path.join(PILOT_PATH, "data") @@ -89,6 +91,10 @@ def __init__(self, vector_store_config: ChromaVectorConfig) -> None: metadata=collection_metadata, ) + def get_config(self) -> ChromaVectorConfig: + """Get the vector store config.""" + return self._vector_store_config + def similar_search( self, text, topk, filters: Optional[MetadataFilters] = None ) -> List[Chunk]: @@ -100,10 +106,16 @@ def similar_search( filters=filters, ) return [ - Chunk(content=chroma_result[0], metadata=chroma_result[1] or {}, score=0.0) + Chunk( + content=chroma_result[0], + metadata=chroma_result[1] or {}, + score=0.0, + chunk_id=chroma_result[2], + ) for chroma_result in zip( chroma_results["documents"][0], chroma_results["metadatas"][0], + chroma_results["ids"][0], ) ] @@ -134,12 +146,14 @@ def similar_search_with_scores( content=chroma_result[0], metadata=chroma_result[1] or {}, score=(1 - chroma_result[2]), + chunk_id=chroma_result[3], ) ) for chroma_result in zip( chroma_results["documents"][0], chroma_results["metadatas"][0], chroma_results["distances"][0], + chroma_results["ids"][0], ) ] return self.filter_by_score_threshold(chunks, score_threshold) @@ -181,6 +195,20 @@ def delete_by_ids(self, ids): if len(ids) > 0: self._collection.delete(ids=ids) + def truncate(self) -> List[str]: + """Truncate data index_name.""" + logger.info(f"begin truncate chroma collection:{self._collection.name}") + results = self._collection.get() + ids = results.get("ids") + if ids: + self._collection.delete(ids=ids) + logger.info( + f"truncate chroma collection {self._collection.name} " + f"{len(ids)} chunks success" + ) + return ids + return [] + def convert_metadata_filters( self, filters: MetadataFilters, diff --git a/dbgpt/storage/vector_store/elastic_store.py b/dbgpt/storage/vector_store/elastic_store.py index dac79d9e8..e3979dc39 100644 --- a/dbgpt/storage/vector_store/elastic_store.py +++ b/dbgpt/storage/vector_store/elastic_store.py @@ -126,6 +126,8 @@ def __init__(self, vector_store_config: ElasticsearchVectorConfig) -> None: vector_store_config (ElasticsearchVectorConfig): ElasticsearchStore config. """ super().__init__() + self._vector_store_config = vector_store_config + connect_kwargs = {} elasticsearch_vector_config = vector_store_config.dict() self.uri = elasticsearch_vector_config.get("uri") or os.getenv( @@ -234,6 +236,10 @@ def __init__(self, vector_store_config: ElasticsearchVectorConfig) -> None: except Exception as e: logger.error(f"ElasticSearch connection failed: {e}") + def get_config(self) -> ElasticsearchVectorConfig: + """Get the vector store config.""" + return self._vector_store_config + def load_document( self, chunks: List[Chunk], diff --git a/dbgpt/storage/vector_store/factory.py b/dbgpt/storage/vector_store/factory.py new file mode 100644 index 000000000..27e98801a --- /dev/null +++ b/dbgpt/storage/vector_store/factory.py @@ -0,0 +1,44 @@ +"""Vector store factory.""" +import logging +from typing import Tuple, Type + +from dbgpt.storage import vector_store +from dbgpt.storage.vector_store.base import VectorStoreBase, VectorStoreConfig + +logger = logging.getLogger(__name__) + + +class VectorStoreFactory: + """Factory for vector store.""" + + @staticmethod + def create( + vector_store_type: str, vector_space_name: str, vector_store_configure=None + ) -> VectorStoreBase: + """Create a VectorStore instance. + + Args: + - vector_store_type: vector store type Chroma, Milvus, etc. + - vector_store_config: vector store config + """ + store_cls, cfg_cls = VectorStoreFactory.__find_type(vector_store_type) + + try: + config = cfg_cls() + if vector_store_configure: + vector_store_configure(vector_space_name, config) + return store_cls(config) + except Exception as e: + logger.error("create vector store failed: %s", e) + raise e + + @staticmethod + def __find_type(vector_store_type: str) -> Tuple[Type, Type]: + for t in vector_store.__vector_store__: + if t.lower() == vector_store_type.lower(): + store_cls, cfg_cls = getattr(vector_store, t) + if issubclass(store_cls, VectorStoreBase) and issubclass( + cfg_cls, VectorStoreConfig + ): + return store_cls, cfg_cls + raise Exception(f"Vector store {vector_store_type} not supported") diff --git a/dbgpt/storage/vector_store/milvus_store.py b/dbgpt/storage/vector_store/milvus_store.py index f0984d20e..6b2d89f50 100644 --- a/dbgpt/storage/vector_store/milvus_store.py +++ b/dbgpt/storage/vector_store/milvus_store.py @@ -150,6 +150,8 @@ def __init__(self, vector_store_config: MilvusVectorConfig) -> None: refer to https://milvus.io/docs/v2.0.x/manage_connection.md """ super().__init__() + self._vector_store_config = vector_store_config + try: from pymilvus import connections except ImportError: @@ -363,6 +365,10 @@ def _add_documents( return res.primary_keys + def get_config(self) -> MilvusVectorConfig: + """Get the vector store config.""" + return self._vector_store_config + def load_document(self, chunks: List[Chunk]) -> List[str]: """Load document in vector database.""" batch_size = 500 diff --git a/dbgpt/storage/vector_store/oceanbase_store.py b/dbgpt/storage/vector_store/oceanbase_store.py index a52e9f31c..4b30f0ff7 100644 --- a/dbgpt/storage/vector_store/oceanbase_store.py +++ b/dbgpt/storage/vector_store/oceanbase_store.py @@ -718,6 +718,8 @@ def __init__(self, vector_store_config: OceanBaseConfig) -> None: if vector_store_config.embedding_fn is None: raise ValueError("embedding_fn is required for OceanBaseStore") super().__init__() + self._vector_store_config = vector_store_config + self.embeddings = vector_store_config.embedding_fn self.collection_name = vector_store_config.name vector_store_config = vector_store_config.dict() @@ -760,6 +762,10 @@ def __init__(self, vector_store_config: OceanBaseConfig) -> None: enable_normalize_vector=self.OB_ENABLE_NORMALIZE_VECTOR, ) + def get_config(self) -> OceanBaseConfig: + """Get the vector store config.""" + return self._vector_store_config + def similar_search( self, text, topk, filters: Optional[MetadataFilters] = None, **kwargs: Any ) -> List[Chunk]: diff --git a/dbgpt/storage/vector_store/pgvector_store.py b/dbgpt/storage/vector_store/pgvector_store.py index 7103a17f5..5db414723 100644 --- a/dbgpt/storage/vector_store/pgvector_store.py +++ b/dbgpt/storage/vector_store/pgvector_store.py @@ -64,6 +64,8 @@ def __init__(self, vector_store_config: PGVectorConfig) -> None: "Please install the `langchain` package to use the PGVector." ) super().__init__() + self._vector_store_config = vector_store_config + self.connection_string = vector_store_config.connection_string self.embeddings = vector_store_config.embedding_fn self.collection_name = vector_store_config.name @@ -74,6 +76,10 @@ def __init__(self, vector_store_config: PGVectorConfig) -> None: connection_string=self.connection_string, ) + def get_config(self) -> PGVectorConfig: + """Get the vector store config.""" + return self._vector_store_config + def similar_search( self, text: str, topk: int, filters: Optional[MetadataFilters] = None ) -> List[Chunk]: diff --git a/dbgpt/storage/vector_store/weaviate_store.py b/dbgpt/storage/vector_store/weaviate_store.py index 9e646ab5e..e78cbc4f4 100644 --- a/dbgpt/storage/vector_store/weaviate_store.py +++ b/dbgpt/storage/vector_store/weaviate_store.py @@ -69,6 +69,8 @@ def __init__(self, vector_store_config: WeaviateVectorConfig) -> None: "Please install it with `pip install weaviate-client`." ) super().__init__() + self._vector_store_config = vector_store_config + self.weaviate_url = vector_store_config.weaviate_url self.embedding = vector_store_config.embedding_fn self.vector_name = vector_store_config.name @@ -78,6 +80,10 @@ def __init__(self, vector_store_config: WeaviateVectorConfig) -> None: self.vector_store_client = weaviate.Client(self.weaviate_url) + def get_config(self) -> WeaviateVectorConfig: + """Get the vector store config.""" + return self._vector_store_config + def similar_search( self, text: str, topk: int, filters: Optional[MetadataFilters] = None ) -> List[Chunk]: diff --git a/docs/docs/cookbook/rag/graph_rag_app_develop.md b/docs/docs/cookbook/rag/graph_rag_app_develop.md index d0a690beb..722fdd3f8 100644 --- a/docs/docs/cookbook/rag/graph_rag_app_develop.md +++ b/docs/docs/cookbook/rag/graph_rag_app_develop.md @@ -10,28 +10,23 @@ You can refer to the python example file `DB-GPT/examples/rag/graph_rag_example. First, you need to install the `dbgpt` library. ```bash -pip install "dbgpt[rag]>=0.5.6" +pip install "dbgpt[rag]>=0.6.0" ```` ### Prepare Graph Database To store the knowledge in graph, we need an graph database, [TuGraph](https://github.com/TuGraph-family/tugraph-db) is the first graph database supported by DB-GPT. -Visit github repository of TuGraph to view [Quick Start](https://tugraph-db.readthedocs.io/zh-cn/latest/3.quick-start/1.preparation.html#id5) document, follow the instructions to pull the TuGraph database docker image (latest / version >= 4.3.0) and launch it. +Visit github repository of TuGraph to view [Quick Start](https://tugraph-db.readthedocs.io/zh-cn/latest/3.quick-start/1.preparation.html#id5) document, follow the instructions to pull the TuGraph database docker image (latest / version >= 4.3.2) and launch it. ``` docker pull tugraph/tugraph-runtime-centos7:latest -docker run -it -d -p 7001:7001 -p 7070:7070 -p 7687:7687 -p 8000:8000 -p 8888:8888 -p 8889:8889 -p 9090:9090 \ - -v /root/tugraph/data:/var/lib/lgraph/data -v /root/tugraph/log:/var/log/lgraph_log \ - --name tugraph_demo tugraph/tugraph-runtime-centos7:latest /bin/bash -docker exec -d tugraph_demo bash /setup.sh +docker run -d -p 7070:7070 -p 7687:7687 -p 9090:9090 --name tugraph_demo reg.docker.alibaba-inc.com/fma/tugraph-runtime-centos7:latest lgraph_server -d run --enable_plugin true ``` -The default port for the bolt protocol is `7687`, and DB-GPT accesses TuGraph through this port via `neo4j` python client. +The default port for the bolt protocol is `7687`. + -``` -pip install "neo4j>=5.20.0" -``` ### Prepare LLM @@ -117,10 +112,10 @@ TUGRAPH_HOST=127.0.0.1 TUGRAPH_PORT=7687 TUGRAPH_USERNAME=admin TUGRAPH_PASSWORD=73@TuGraph +GRAPH_COMMUNITY_SUMMARY_ENABLED=True ``` - ### Load into Knowledge Graph When using a graph database as the underlying knowledge storage platform, it is necessary to build a knowledge graph to facilitate the archiving and retrieval of documents. DB-GPT leverages the capabilities of large language models to implement an integrated knowledge graph, while still maintaining the flexibility to freely connect to other knowledge graph systems and graph database systems. @@ -129,19 +124,23 @@ To maintain compatibility with existing conventional RAG frameworks, we continue ```python from dbgpt.model.proxy.llms.chatgpt import OpenAILLMClient -from dbgpt.storage.knowledge_graph.knowledge_graph import ( - BuiltinKnowledgeGraph, - BuiltinKnowledgeGraphConfig, +from dbgpt.storage.knowledge_graph.community_summary import ( + CommunitySummaryKnowledgeGraph, + CommunitySummaryKnowledgeGraphConfig, ) -def _create_kg_connector(): - """Create knowledge graph connector.""" - return BuiltinKnowledgeGraph( - config=BuiltinKnowledgeGraphConfig( - name="graph_rag_test", - embedding_fn=None, - llm_client=OpenAILLMClient(), - model_name="gpt-4", +llm_client = OpenAILLMClient() +model_name = "gpt-4o-mini" + +def __create_community_kg_connector(): + """Create community knowledge graph connector.""" + return CommunitySummaryKnowledgeGraph( + config=CommunitySummaryKnowledgeGraphConfig( + name="community_graph_rag_test", + embedding_fn=DefaultEmbeddingFactory.openai(), + llm_client=llm_client, + model_name=model_name, + graph_store_type="TuGraphGraph", ), ) ``` @@ -155,31 +154,67 @@ Then you can retrieve the knowledge from the knowledge graph, which is the same ```python import os +import pytest + from dbgpt.configs.model_config import ROOT_PATH +from dbgpt.core import Chunk, HumanPromptTemplate, ModelMessage, ModelRequest +from dbgpt.model.proxy.llms.chatgpt import OpenAILLMClient from dbgpt.rag import ChunkParameters from dbgpt.rag.assembler import EmbeddingAssembler +from dbgpt.rag.embedding import DefaultEmbeddingFactory from dbgpt.rag.knowledge import KnowledgeFactory +from dbgpt.rag.retriever import RetrieverStrategy + +async def test_community_graph_rag(): + await __run_graph_rag( + knowledge_file="examples/test_files/graphrag-mini.md", + chunk_strategy="CHUNK_BY_MARKDOWN_HEADER", + knowledge_graph=__create_community_kg_connector(), + question="What's the relationship between TuGraph and DB-GPT ?", + ) -async def main(): - file_path = os.path.join(ROOT_PATH, "examples/test_files/tranformers_story.md") +async def __run_graph_rag(knowledge_file, chunk_strategy, knowledge_graph, question): + file_path = os.path.join(ROOT_PATH, knowledge_file).format() knowledge = KnowledgeFactory.from_file_path(file_path) - graph_store = _create_kg_connector() - chunk_parameters = ChunkParameters(chunk_strategy="CHUNK_BY_SIZE") - # get embedding assembler - assembler = EmbeddingAssembler.load_from_knowledge( - knowledge=knowledge, - chunk_parameters=chunk_parameters, - index_store=graph_store, - ) - assembler.persist() - # get embeddings retriever - retriever = assembler.as_retriever(3) - chunks = await retriever.aretrieve_with_scores( - "What actions has Megatron taken?", - score_threshold=0.3 + try: + chunk_parameters = ChunkParameters(chunk_strategy=chunk_strategy) + + # get embedding assembler + assembler = await EmbeddingAssembler.aload_from_knowledge( + knowledge=knowledge, + chunk_parameters=chunk_parameters, + index_store=knowledge_graph, + retrieve_strategy=RetrieverStrategy.GRAPH, + ) + await assembler.apersist() + + # get embeddings retriever + retriever = assembler.as_retriever(1) + chunks = await retriever.aretrieve_with_scores(question, score_threshold=0.3) + + # chat + print(f"{await ask_chunk(chunks[0], question)}") + + finally: + knowledge_graph.delete_vector_name(knowledge_graph.get_config().name) + +async def ask_chunk(chunk: Chunk, question) -> str: + rag_template = ( + "Based on the following [Context] {context}, " + "answer [Question] {question}." ) - print(f"embedding rag example results:{chunks}") - graph_store.delete_vector_name("graph_rag_test") + template = HumanPromptTemplate.from_template(rag_template) + messages = template.format_messages(context=chunk.content, question=question) + model_messages = ModelMessage.from_base_messages(messages) + request = ModelRequest(model=model_name, messages=model_messages) + response = await llm_client.generate(request=request) + + if not response.success: + code = str(response.error_code) + reason = response.text + raise Exception(f"request llm failed ({code}) {reason}") + + return response.text ``` @@ -187,26 +222,137 @@ async def main(): ### Chat Knowledge via GraphRAG +> Note: The current test data is in Chinese. + Here we demonstrate how to achieve chat knowledge through Graph RAG on web page. -First, create a knowledge base using the `Knowledge Graph` type. Upload the knowledge documents and wait for the slicing to complete. +First, create a knowledge base using the `Knowledge Graph` type.

    - +

    -Then, view the knowledge graph data. +Then, upload the documents ([tugraph.md](https://github.com/eosphoros-ai/DB-GPT/blob/main/examples/test_files/tugraph.md), [osgraph.md](https://github.com/eosphoros-ai/DB-GPT/blob/main/examples/test_files/osgraph.md), [dbgpt.md](https://github.com/eosphoros-ai/DB-GPT/blob/main/examples/test_files/dbgpt.md)) and process them automatically (markdown header by default).

    - +

    -The graph data may look like this. +After indexing, the graph data may look like this.

    - +

    -Start chat to knowledge based on Graph RAG. +Start to chat on knowledge graph.

    - +

    + +### Performance Testing + +Performance testing is based on the `gpt-4o-mini` model. + +#### Indexing Performance + +| | DB-GPT | GraphRAG(microsoft) | +|----------|----------|------------------------| +| Document Tokens | 42631 | 42631 | +| Graph Size | 808 nodes, 1170 edges | 779 nodes, 967 edges | +| Prompt Tokens | 452614 | 744990 | +| Completion Tokens | 48325 | 227230 | +| Total Tokens | 500939 | 972220 | + + +#### Querying Performance + +**Global Search** + +| | DB-GPT | GraphRAG(microsoft) | +|----------|----------|------------------------| +| Time | 8s | 40s | +| Tokens| 7432 | 63317 | + +**Question** +``` +请总结知识库的内容,并进行摘要说明。 +``` + +- **DB-GPT Answer** + +``` +· 知识图谱概述: 知识图谱集中展示了与图数据库及相关处理系统的多种实体和其相互关联,涵盖了分布式内存图数据库、图计算模型及多种图处理框架和技术,强调了这些技术在图处理· 领域中的应用和相互影响。 +· TuGraph DB: TuGraph DB是一种高效的图数据库,支持大数据容量和低延迟查找,具备ACID特性。其社区版适用于学习和小型项目,支持实时数据管理和多图结构。 +· DB-GPT: DB-GPT是一个私有化的LLM技术数据库交互方式,支持多种高级功能,旨在推动数据3.0时代的到来。它提供了多模型管理、信息检索优化和智能体协作等功能。 +· 应用领域: 知识库中提到的图技术应用于金融风控、社交网络和数据分析等多个领域,展示了图数据库的快速发展及其在各行各业中的重要性。 +· 开发者生态: 知识库还强调了开发者在开源项目中的活跃表现,尤其是在Apache Flink和Spark等项目中的贡献,表明了良好的合作与开发生态。 +整体而言,知识库展示了图数据库及其相关技术的广泛应用和快速进步,强调了DB-GPT和TuGraph等工具在数据智能和处理中的重要角色。 +``` + +- **GraphRAG(microsoft) Answer** + +``` +知识库内容总结 +概述 + 知识库涵盖了与图处理相关的多个社区和框架,强调了这些实体在推动技术解决方案和协作努力中的重要性。主要关注的领域包括图处理、人工智能开发和开源贡献。 +关键实体 + 1. 图处理框架:知识库中提到的多个重要框架,如 GraphChi、X-Stream、GraphQ、PowerLyra、Gemini 和 TuGraph,均在处理大规模图数据方面发挥了重要作用。这些框架的相互关联性表明了一个促进创新的协作环境。 + 2. 企业贡献:一些主要企业如 Ant Group、Google、Tencent 和 Alibaba 在图处理和数据管理技术的发展中扮演了关键角色。它们的合作关系强调了在推动技术创新方面的伙伴关系的重要性。 + 3. 开源项目:Apache 软件基金会的多个开源项目(如 Apache Hudi、Iceberg、Pulsar 和 Kafka)展示了全球开发者的贡献,增强了数据管理和分析能力。 +发展趋势 + 知识库还指出了动态图处理、人工智能驱动的数据库管理和自动化工具集成等新兴趋势,这些趋势对于提高现代软件开发的效率和有效性至关重要。 +结论 + 整体而言,知识库展示了一个充满活力的技术生态系统,其中各个实体通过合作和创新共同推动图处理和相关技术的发展。这种相互联系的网络不仅促进了技术的进步,也为解决复杂的技术挑战提供了支持。 +``` + + + +**Local Search** + +| | DB-GPT | GraphRAG(microsoft) | +|----------|----------|------------------------| +| Time | 15s | 15s | +| Tokens| 9230 | 11619 | + +**Question** + +``` +DB-GPT社区和TuGraph社区在社区贡献,社区生态,开发者的这几个方面的联系和区别分别是什么? +``` + +- **DB-GPT Answer** + +``` +· 社区贡献: + · DB-GPT社区: 由多个开发者和公司支持,开发者积极参与代码提交、审查和问题反馈,展现出强大的社区协作能力。主要合作项目包括Langchain-Chatchat、LLaMA-Factory、FastChat等。 + · TuGraph社区: 吸引了众多开发者参与,专注于提升TuGraph DB的功能和性能,与多个开源工具共同开发,形成了活跃的贡献模式。 +· 社区生态: + · DB-GPT社区: 主要围绕私有化LLM技术数据库交互方式,支持多种高级功能,促进数据智能应用开发,构建了一个以AI和数据处理为核心的生态。 + · TuGraph社区: 依托于图数据库领域,尤其是TuGraph DB和TuGraph Analytics,形成了以大数据处理和实时计算为核心的生态,涉及多个行业应用,如金融风控和社交网络。 +· 开发者: + · DB-GPT社区: 包含多个GitHub用户,开发者主要集中在AI和数据处理领域,积极参与开源项目的开发和维护。 + · TuGraph社区: 涉及来自不同国家的开发者,特别是在图数据库和大数据分析领域的专业人员,强调多领域协作与贡献。 +总体来看,DB-GPT社区和TuGraph社区在贡献方式和生态领域有所不同,前者更侧重于AI和数据交互技术,后者则专注于图数据库技术及其应用。 +``` + +- **GraphRAG(microsoft) Answer** +``` +DB-GPT社区与TuGraph社区的比较 + DB-GPT社区和TuGraph社区在多个方面展现了各自的特点和贡献,尤其是在社区贡献、生态系统和开发者参与等方面。以下是对这两个社区的联系与区别的详细分析。 +社区贡献 + DB-GPT社区 + DB-GPT社区围绕DB-GPT框架展开,整合了多个组织和资源,致力于AI和数据驱动应用的开发。该社区的主要贡献者包括Hiyouga、LM-Sys和Langchain-AI等组织,这些组织通过合作推动AI模型和应用的发展。DB-GPT的开发者们积极参与知识共享和技术创新,推动了AI应用的多样化和实用性。 + TuGraph社区 + TuGraph社区则专注于图数据库的开发,尤其是TuGraph及其相关项目。该社区的贡献者包括Ant Group和Tsinghua University等,致力于提供高效的图数据管理和分析解决方案。TuGraph社区的开发者们通过开源项目和技术文档,促进了图数据库技术的普及和应用。 +社区生态 + DB-GPT社区 + DB-GPT社区的生态系统是一个多元化的合作网络,涵盖了多个组织和技术平台。该社区通过整合不同的技术和数据源,支持从聊天系统到企业报告等多种应用,展现出其在AI领域的广泛适用性。DB-GPT的生态系统强调了组织间的协作与知识共享,促进了技术的快速发展。 + TuGraph社区 + 相较之下,TuGraph社区的生态系统更为专注于图数据的管理和分析。TuGraph及其相关项目(如TuGraph DB和TuGraph Analytics)共同构成了一个完整的图技术体系,支持大规模数据的实时处理和复杂分析。该社区的生态系统强调了图数据库在金融、工业和政务服务等领域的应用,展现了其在特定行业中的深度影响。 +开发者参与 + DB-GPT社区 + 在DB-GPT社区中,开发者的参与主要体现在对AI应用的开发和优化上。社区内的开发者通过贡献代码、参与讨论和解决问题,推动了DB-GPT框架的不断完善。该社区的开发者们来自不同国家和地区,展现了全球范围内对AI技术的关注和参与。 + TuGraph社区 + TuGraph社区的开发者则主要集中在图数据库的构建和优化上。该社区的开发者们通过GitHub等平台积极参与项目的开发、代码审查和问题解决,推动了TuGraph技术的进步。TuGraph社区的开发者们同样来自中国及其他国家,展现了对图数据管理技术的广泛兴趣。 +总结 + 总体而言,DB-GPT社区和TuGraph社区在社区贡献、生态系统和开发者参与等方面各具特色。DB-GPT社区更侧重于AI应用的多样性和组织间的合作,而TuGraph社区则专注于图数据的高效管理和分析。两者的共同点在于都强调了开源和社区合作的重要性,推动了各自领域的技术进步和应用发展。 +``` diff --git a/docs/static/img/chat_knowledge/graph_rag/create_knowledge_graph.jpg b/docs/static/img/chat_knowledge/graph_rag/create_knowledge_graph.jpg deleted file mode 100644 index 292e91f70..000000000 Binary files a/docs/static/img/chat_knowledge/graph_rag/create_knowledge_graph.jpg and /dev/null differ diff --git a/docs/static/img/chat_knowledge/graph_rag/create_knowledge_graph.png b/docs/static/img/chat_knowledge/graph_rag/create_knowledge_graph.png new file mode 100644 index 000000000..721cfc3f3 Binary files /dev/null and b/docs/static/img/chat_knowledge/graph_rag/create_knowledge_graph.png differ diff --git a/docs/static/img/chat_knowledge/graph_rag/graph_data.jpg b/docs/static/img/chat_knowledge/graph_rag/graph_data.jpg deleted file mode 100644 index abbac0c0d..000000000 Binary files a/docs/static/img/chat_knowledge/graph_rag/graph_data.jpg and /dev/null differ diff --git a/docs/static/img/chat_knowledge/graph_rag/graph_data.png b/docs/static/img/chat_knowledge/graph_rag/graph_data.png new file mode 100644 index 000000000..ec7d796a0 Binary files /dev/null and b/docs/static/img/chat_knowledge/graph_rag/graph_data.png differ diff --git a/docs/static/img/chat_knowledge/graph_rag/graph_rag_chat.jpg b/docs/static/img/chat_knowledge/graph_rag/graph_rag_chat.jpg deleted file mode 100644 index fb18f13da..000000000 Binary files a/docs/static/img/chat_knowledge/graph_rag/graph_rag_chat.jpg and /dev/null differ diff --git a/docs/static/img/chat_knowledge/graph_rag/graph_rag_chat.png b/docs/static/img/chat_knowledge/graph_rag/graph_rag_chat.png new file mode 100644 index 000000000..cdadd4d2e Binary files /dev/null and b/docs/static/img/chat_knowledge/graph_rag/graph_rag_chat.png differ diff --git a/docs/static/img/chat_knowledge/graph_rag/upload_file.png b/docs/static/img/chat_knowledge/graph_rag/upload_file.png new file mode 100644 index 000000000..ec63a1793 Binary files /dev/null and b/docs/static/img/chat_knowledge/graph_rag/upload_file.png differ diff --git a/docs/static/img/chat_knowledge/graph_rag/view_graph.jpg b/docs/static/img/chat_knowledge/graph_rag/view_graph.jpg deleted file mode 100644 index 8e833e219..000000000 Binary files a/docs/static/img/chat_knowledge/graph_rag/view_graph.jpg and /dev/null differ diff --git a/examples/rag/graph_rag_example.py b/examples/rag/graph_rag_example.py index c241bd6b9..40d5b01e3 100644 --- a/examples/rag/graph_rag_example.py +++ b/examples/rag/graph_rag_example.py @@ -1,12 +1,19 @@ -import asyncio import os +import pytest + from dbgpt.configs.model_config import ROOT_PATH +from dbgpt.core import Chunk, HumanPromptTemplate, ModelMessage, ModelRequest from dbgpt.model.proxy.llms.chatgpt import OpenAILLMClient from dbgpt.rag import ChunkParameters from dbgpt.rag.assembler import EmbeddingAssembler +from dbgpt.rag.embedding import DefaultEmbeddingFactory from dbgpt.rag.knowledge import KnowledgeFactory from dbgpt.rag.retriever import RetrieverStrategy +from dbgpt.storage.knowledge_graph.community_summary import ( + CommunitySummaryKnowledgeGraph, + CommunitySummaryKnowledgeGraphConfig, +) from dbgpt.storage.knowledge_graph.knowledge_graph import ( BuiltinKnowledgeGraph, BuiltinKnowledgeGraphConfig, @@ -15,7 +22,7 @@ """GraphRAG example. pre-requirements: * Set LLM config (url/sk) in `.env`. - * Setup/startup TuGraph from: https://github.com/TuGraph-family/tugraph-db + * Install pytest utils: `pip install pytest pytest-asyncio` * Config TuGraph following the format below. ``` GRAPH_STORE_TYPE=TuGraph @@ -24,46 +31,100 @@ TUGRAPH_USERNAME=admin TUGRAPH_PASSWORD=73@TuGraph ``` - Examples: ..code-block:: shell - python examples/rag/graph_rag_example.py + pytest -s examples/rag/graph_rag_example.py """ +llm_client = OpenAILLMClient() +model_name = "gpt-4o-mini" + + +@pytest.mark.asyncio +async def test_naive_graph_rag(): + await __run_graph_rag( + knowledge_file="examples/test_files/graphrag-mini.md", + chunk_strategy="CHUNK_BY_SIZE", + knowledge_graph=__create_naive_kg_connector(), + question="What's the relationship between TuGraph and DB-GPT ?", + ) -def _create_kg_connector(): + +@pytest.mark.asyncio +async def test_community_graph_rag(): + await __run_graph_rag( + knowledge_file="examples/test_files/graphrag-mini.md", + chunk_strategy="CHUNK_BY_MARKDOWN_HEADER", + knowledge_graph=__create_community_kg_connector(), + question="What's the relationship between TuGraph and DB-GPT ?", + ) + + +def __create_naive_kg_connector(): """Create knowledge graph connector.""" return BuiltinKnowledgeGraph( config=BuiltinKnowledgeGraphConfig( - name="graph_rag_test", + name="naive_graph_rag_test", embedding_fn=None, - llm_client=OpenAILLMClient(), - model_name="gpt-3.5-turbo", + llm_client=llm_client, + model_name=model_name, + graph_store_type="MemoryGraph", ), ) -async def main(): - file_path = os.path.join(ROOT_PATH, "examples/test_files/tranformers_story.md") - knowledge = KnowledgeFactory.from_file_path(file_path) - graph_store = _create_kg_connector() - chunk_parameters = ChunkParameters(chunk_strategy="CHUNK_BY_SIZE") - # get embedding assembler - assembler = await EmbeddingAssembler.aload_from_knowledge( - knowledge=knowledge, - chunk_parameters=chunk_parameters, - index_store=graph_store, - retrieve_strategy=RetrieverStrategy.GRAPH, +def __create_community_kg_connector(): + """Create community knowledge graph connector.""" + return CommunitySummaryKnowledgeGraph( + config=CommunitySummaryKnowledgeGraphConfig( + name="community_graph_rag_test", + embedding_fn=DefaultEmbeddingFactory.openai(), + llm_client=llm_client, + model_name=model_name, + graph_store_type="TuGraphGraph", + ), ) - await assembler.apersist() - # get embeddings retriever - retriever = assembler.as_retriever(3) - chunks = await retriever.aretrieve_with_scores( - "What actions has Megatron taken ?", score_threshold=0.3 + + +async def ask_chunk(chunk: Chunk, question) -> str: + rag_template = ( + "Based on the following [Context] {context}, " "answer [Question] {question}." ) - print(f"embedding rag example results:{chunks}") - graph_store.delete_vector_name("graph_rag_test") + template = HumanPromptTemplate.from_template(rag_template) + messages = template.format_messages(context=chunk.content, question=question) + model_messages = ModelMessage.from_base_messages(messages) + request = ModelRequest(model=model_name, messages=model_messages) + response = await llm_client.generate(request=request) + + if not response.success: + code = str(response.error_code) + reason = response.text + raise Exception(f"request llm failed ({code}) {reason}") + + return response.text + + +async def __run_graph_rag(knowledge_file, chunk_strategy, knowledge_graph, question): + file_path = os.path.join(ROOT_PATH, knowledge_file).format() + knowledge = KnowledgeFactory.from_file_path(file_path) + try: + chunk_parameters = ChunkParameters(chunk_strategy=chunk_strategy) + + # get embedding assembler + assembler = await EmbeddingAssembler.aload_from_knowledge( + knowledge=knowledge, + chunk_parameters=chunk_parameters, + index_store=knowledge_graph, + retrieve_strategy=RetrieverStrategy.GRAPH, + ) + await assembler.apersist() + + # get embeddings retriever + retriever = assembler.as_retriever(1) + chunks = await retriever.aretrieve_with_scores(question, score_threshold=0.3) + # chat + print(f"{await ask_chunk(chunks[0], question)}") -if __name__ == "__main__": - asyncio.run(main()) + finally: + knowledge_graph.delete_vector_name(knowledge_graph.get_config().name) diff --git a/examples/test_files/dbgpt.md b/examples/test_files/dbgpt.md new file mode 100644 index 000000000..09f8cceec --- /dev/null +++ b/examples/test_files/dbgpt.md @@ -0,0 +1,185 @@ +# DB-GPT: 用私有化LLM技术定义数据库下一代交互方式 +## DB-GPT 是什么? +🤖️ **DB-GPT是一个开源的AI原生数据应用开发框架(AI Native Data App Development framework with AWEL(Agentic Workflow Expression Language) and Agents)。** +目的是构建大模型领域的基础设施,通过开发多模型管理(SMMF)、Text2SQL效果优化、RAG框架以及优化、Multi-Agents框架协作、AWEL(智能体工作流编排)等多种技术能力,让围绕数据库构建大模型应用更简单,更方便。 +🚀 **数据3.0 时代,基于模型、数据库,企业/开发者可以用更少的代码搭建自己的专属应用。** +## 效果演示 +### AI原生数据智能应用 + +--- + +- 🔥🔥🔥 [V0.5.0发布——通过工作流与智能体开发原生数据应用](https://www.yuque.com/eosphoros/dbgpt-docs/owcrh9423f9rqkg2) + +--- + +### Data Agents +![](https://github.com/eosphoros-ai/DB-GPT/assets/17919400/37d116fc-d9dd-4efa-b4df-9ab02b22541c#id=KpPbI&originHeight=1880&originWidth=3010&originalType=binary&ratio=1&rotation=0&showTitle=false&status=done&style=none) +![](https://github.com/eosphoros-ai/DB-GPT/assets/17919400/a7bf6d65-92d1-4f0e-aaf0-259ccdde22fd#id=EHUr0&originHeight=1872&originWidth=3396&originalType=binary&ratio=1&rotation=0&showTitle=false&status=done&style=none) +![](https://github.com/eosphoros-ai/DB-GPT/assets/17919400/1849a79a-f7fd-40cf-bc9c-b117a041dd6a#id=gveW4&originHeight=1868&originWidth=2996&originalType=binary&ratio=1&rotation=0&showTitle=false&status=done&style=none) +## 目录 + +- [架构方案](#架构方案) +- [安装](#安装) +- [特性简介](#特性一览) +- [贡献](#贡献) +- [路线图](#路线图) +- [联系我们](#联系我们) +## 架构方案 +![image.png](https://intranetproxy.alipay.com/skylark/lark/0/2024/png/26456775/1724764757479-314c8ed2-24e6-4cc2-8a29-e84e626d6755.png#clientId=u47bade0c-6d5b-4&from=paste&height=721&id=u6344fee6&originHeight=1442&originWidth=1590&originalType=binary&ratio=2&rotation=0&showTitle=false&size=766959&status=done&style=none&taskId=u0f69fc62-9392-468b-a990-84de8e3a3eb&title=&width=795) +核心能力主要有以下几个部分: + +- **RAG(Retrieval Augmented Generation)**,RAG是当下落地实践最多,也是最迫切的领域,DB-GPT目前已经实现了一套基于RAG的框架,用户可以基于DB-GPT的RAG能力构建知识类应用。 +- **GBI**:生成式BI是DB-GPT项目的核心能力之一,为构建企业报表分析、业务洞察提供基础的数智化技术保障。 +- **微调框架**: 模型微调是任何一个企业在垂直、细分领域落地不可或缺的能力,DB-GPT提供了完整的微调框架,实现与DB-GPT项目的无缝打通,在最近的微调中,基于spider的准确率已经做到了82.5% +- **数据驱动的Multi-Agents框架**: DB-GPT提供了数据驱动的自进化Multi-Agents框架,目标是可以持续基于数据做决策与执行。 +- **数据工厂**: 数据工厂主要是在大模型时代,做可信知识、数据的清洗加工。 +- **数据源**: 对接各类数据源,实现生产业务数据无缝对接到DB-GPT核心能力。 +### 智能体编排语言(AWEL) +AWEL(Agentic Workflow Expression Language)是一套专为大模型应用开发设计的智能体工作流表达语言,它提供了强大的功能和灵活性。通过 AWEL API 您可以专注于大模型应用业务逻辑的开发,而不需要关注繁琐的模型和环境细节,AWEL 采用分层 API 的设计, AWEL 的分层 API 设计架构如下图所示: + +![image.png](https://cdn.nlark.com/yuque/0/2023/png/23108892/1700743735979-fcae1255-5b21-4071-a805-84d9f98247ef.png#averageHue=%23efefef&clientId=u62c750d6-91b4-4&from=paste&height=588&id=ua7e2a75b&originHeight=819&originWidth=586&originalType=binary&ratio=2&rotation=0&showTitle=false&size=101075&status=done&style=shadow&taskId=u753583cb-7d4f-4267-962d-a892e5150d2&title=&width=421) + +AWEL在设计上分为三个层次,依次为算子层、AgentFrame层以及DSL层,以下对三个层次做简要介绍。 + +- 算子层 + +算子层是指LLM应用开发过程中一个个最基本的操作原子,比如在一个RAG应用开发时。 检索、向量化、模型交互、Prompt处理等都是一个个基础算子。 在后续的发展中,框架会进一步对算子进行抽象与标准化设计。 可以根据标准API快速实现一组算子。 + +- AgentFrame层 + +AgentFrame层将算子做进一步封装,可以基于算子做链式计算。 这一层链式计算也支持分布式,支持如filter、join、map、reduce等一套链式计算操作。 后续也将支持更多的计算逻辑。 + +- DSL层 + +DSL层提供一套标准的结构化表示语言,可以通过写DSL语句完成AgentFrame与算子的操作,让围绕数据编写大模型应用更具确定性,避免通过自然语言编写的不确定性,使得围绕数据与大模型的应用编程变为确定性应用编程。 +### RAG架构 +![](https://github.com/eosphoros-ai/DB-GPT/raw/main/assets/RAG-IN-ACTION.jpg#from=url&id=JsJTm&originHeight=1300&originWidth=2272&originalType=binary&ratio=2&rotation=0&showTitle=false&status=done&style=none&title=) +### Agent架构 +DB-GPT Agent是一个多Agent框架,目的是提供生产级Agent构建的基础框架能力。我们认为,生产级代理应用程序需要基于数据驱动的决策,并且可以在可控制的工作流中进行编排。 +在我们的设计中,提供了一套以Agent为核心,融合多模型管理、RAGs、API调用、可视化、AWEL智能体编排、Text2SQL、意图识别等一系列技术的生产级数据应用开发框架。 +![image.png](https://intranetproxy.alipay.com/skylark/lark/0/2024/png/26456775/1724765648901-d048c6fc-8b08-4623-bc2d-66db8edb893f.png#clientId=u47bade0c-6d5b-4&from=paste&height=376&id=u580c84f4&originHeight=558&originWidth=1076&originalType=binary&ratio=2&rotation=0&showTitle=false&size=862016&status=done&style=none&taskId=ue3fa55ab-171a-4aeb-a7ec-8bcf8e13474&title=&width=725) +如同所示: 在DB-GPT中,Agent是一等公民,其他RAGs、Tools、数据源等都是Agent依赖的资源,包括模型也是一种资源。 +Agent的核心模块主要有Memory、Profile、Planing、Action等模块。 +围绕Agent的核心模块,往上构建多Agent之间的协作能力,协作主要有三种形式。 + +1. 单一Agent: 单个Agent有具体任务与目标,不涉及多模型协作。 +2. Auto-Plan: Agent自己制定计划,在多Agent协作时负责路径规划、分工协作等。 +3. AWEL: 编排,通过程序编排来实现多智能体的协作。 +### 多模型架构 +在AIGC应用探索与生产落地中,难以避免直接与模型服务对接,但是目前大模型的推理部署还没有一个事实标准,不断有新的模型发布,也不断有新的训练方法被提出,我们需要花大量的时间来适配多变的底层模型环境,而这在一定程度上制约了AIGC应用的探索和落地。 +![](https://intranetproxy.alipay.com/skylark/lark/0/2024/png/26456775/1724765743005-eb151d72-79a2-4a91-9d85-f46b68bfe031.png#clientId=u47bade0c-6d5b-4&from=paste&id=u26061337&originHeight=1087&originWidth=1439&originalType=url&ratio=2&rotation=0&showTitle=false&status=done&style=none&taskId=u181cfde4-f672-414c-a030-07d40dee916&title=) +SMMF由模型推理层、模型部署层两部分组成。模型推理层对应模型推理框架vLLM、TGI和TensorRT等。模型部署层向下对接推理层,向上提供模型服务能力。 模型部署框架在推理框架之上,提供了多模型实例、多推理框架、多云、自动扩缩容与可观测性等能力。 +### 子模块 + +- [DB-GPT-Hub](https://github.com/eosphoros-ai/DB-GPT-Hub) 通过微调来持续提升Text2SQL效果 +- [DB-GPT-Plugins](https://github.com/eosphoros-ai/DB-GPT-Plugins) DB-GPT 插件仓库, 兼容Auto-GPT +- [GPT-Vis](https://github.com/eosphoros-ai/DB-GPT-Web) 可视化协议 +- [dbgpts](https://github.com/eosphoros-ai/dbgpts) dbgpts 是官方提供的数据应用仓库, 包含数据智能应用, 智能体编排流程模版, 通用算子等构建在DB-GPT之上的资源。 +## 安装 +[**教程**](https://www.yuque.com/eosphoros/dbgpt-docs/bex30nsv60ru0fmx) + +- [**快速开始**](https://www.yuque.com/eosphoros/dbgpt-docs/ew0kf1plm0bru2ga) + - [源码安装](https://www.yuque.com/eosphoros/dbgpt-docs/urh3fcx8tu0s9xmb) + - [Docker安装](https://www.yuque.com/eosphoros/dbgpt-docs/glf87qg4xxcyrp89) + - [Docker Compose安装](https://www.yuque.com/eosphoros/dbgpt-docs/wwdu11e0v5nkfzin) +- [**使用手册**](https://www.yuque.com/eosphoros/dbgpt-docs/tkspdd0tcy2vlnu4) + - [知识库](https://www.yuque.com/eosphoros/dbgpt-docs/ycyz3d9b62fccqxh) + - [数据对话](https://www.yuque.com/eosphoros/dbgpt-docs/gd9hbhi1dextqgbz) + - [Excel对话](https://www.yuque.com/eosphoros/dbgpt-docs/prugoype0xd2g4bb) + - [数据库对话](https://www.yuque.com/eosphoros/dbgpt-docs/wswpv3zcm2c9snmg) + - [报表分析](https://www.yuque.com/eosphoros/dbgpt-docs/vsv49p33eg4p5xc1) + - [Agents](https://www.yuque.com/eosphoros/dbgpt-docs/pom41m7oqtdd57hm) +- [**进阶教程**](https://www.yuque.com/eosphoros/dbgpt-docs/dxalqb8wsv2xkm5f) + - [智能体工作流使用](https://www.yuque.com/eosphoros/dbgpt-docs/hcomfb3yrleg7gmq) + - [智能应用使用](https://www.yuque.com/eosphoros/dbgpt-docs/aiagvxeb86iarq6r) + - [多模型管理](https://www.yuque.com/eosphoros/dbgpt-docs/huzgcf2abzvqy8uv) + - [命令行使用](https://www.yuque.com/eosphoros/dbgpt-docs/gd4kgumgd004aly8) +- [**模型服务部署**](https://www.yuque.com/eosphoros/dbgpt-docs/vubxiv9cqed5mc6o) + - [单机部署](https://www.yuque.com/eosphoros/dbgpt-docs/kwg1ed88lu5fgawb) + - [集群部署](https://www.yuque.com/eosphoros/dbgpt-docs/gmbp9619ytyn2v1s) + - [vLLM](https://www.yuque.com/eosphoros/dbgpt-docs/bhy9igdvanx1uluf) +- [**如何Debug**](https://www.yuque.com/eosphoros/dbgpt-docs/eyg0ocbc2ce3q95r) +- [**AWEL**](https://www.yuque.com/eosphoros/dbgpt-docs/zozbzslbfk0m0op5) +- [**FAQ**](https://www.yuque.com/eosphoros/dbgpt-docs/gomtc46qonmyt44l) +## 特性一览 + +- **私域问答&数据处理&RAG**支持内置、多文件格式上传、插件自抓取等方式自定义构建知识库,对海量结构化,非结构化数据做统一向量存储与检索 +- **多数据源&GBI**支持自然语言与Excel、数据库、数仓等多种数据源交互,并支持分析报告。 +- **自动化微调**围绕大语言模型、Text2SQL数据集、LoRA/QLoRA/Pturning等微调方法构建的自动化微调轻量框架, 让TextSQL微调像流水线一样方便。详见: [DB-GPT-Hub](https://github.com/eosphoros-ai/DB-GPT-Hub) +- **数据驱动的Agents插件**支持自定义插件执行任务,原生支持Auto-GPT插件模型,Agents协议采用Agent Protocol标准 +- **多模型支持与管理**海量模型支持,包括开源、API代理等几十种大语言模型。如LLaMA/LLaMA2、Baichuan、ChatGLM、文心、通义、智谱等。当前已支持如下模型: + - 新增支持模型 + - 🔥🔥🔥 [Meta-Llama-3.1-405B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-405B-Instruct) + - 🔥🔥🔥 [Meta-Llama-3.1-70B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-70B-Instruct) + - 🔥🔥🔥 [Meta-Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct) + - 🔥🔥🔥 [gemma-2-27b-it](https://huggingface.co/google/gemma-2-27b-it) + - 🔥🔥🔥 [gemma-2-9b-it](https://huggingface.co/google/gemma-2-9b-it) + - 🔥🔥🔥 [DeepSeek-Coder-V2-Instruct](https://huggingface.co/deepseek-ai/DeepSeek-Coder-V2-Instruct) + - 🔥🔥🔥 [DeepSeek-Coder-V2-Lite-Instruct](https://huggingface.co/deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct) + - 🔥🔥🔥 [Qwen2-57B-A14B-Instruct](https://huggingface.co/Qwen/Qwen2-57B-A14B-Instruct) + - 🔥🔥🔥 [Qwen2-57B-A14B-Instruct](https://huggingface.co/Qwen/Qwen2-57B-A14B-Instruct) + - 🔥🔥🔥 [Qwen2-72B-Instruct](https://huggingface.co/Qwen/Qwen2-72B-Instruct) + - 🔥🔥🔥 [Qwen2-7B-Instruct](https://huggingface.co/Qwen/Qwen2-7B-Instruct) + - 🔥🔥🔥 [Qwen2-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2-1.5B-Instruct) + - 🔥🔥🔥 [Qwen2-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2-0.5B-Instruct) + - 🔥🔥🔥 [glm-4-9b-chat](https://huggingface.co/THUDM/glm-4-9b-chat) + - 🔥🔥🔥 [Phi-3](https://huggingface.co/collections/microsoft/phi-3-6626e15e9585a200d2d761e3) + - 🔥🔥🔥 [Yi-1.5-34B-Chat](https://huggingface.co/01-ai/Yi-1.5-34B-Chat) + - 🔥🔥🔥 [Yi-1.5-9B-Chat](https://huggingface.co/01-ai/Yi-1.5-9B-Chat) + - 🔥🔥🔥 [Yi-1.5-6B-Chat](https://huggingface.co/01-ai/Yi-1.5-6B-Chat) + - 🔥🔥🔥 [Qwen1.5-110B-Chat](https://huggingface.co/Qwen/Qwen1.5-110B-Chat) + - 🔥🔥🔥 [Qwen1.5-MoE-A2.7B-Chat](https://huggingface.co/Qwen/Qwen1.5-MoE-A2.7B-Chat) + - 🔥🔥🔥 [Meta-Llama-3-70B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct) + - 🔥🔥🔥 [Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct) + - 🔥🔥🔥 [CodeQwen1.5-7B-Chat](https://huggingface.co/Qwen/CodeQwen1.5-7B-Chat) + - 🔥🔥🔥 [Qwen1.5-32B-Chat](https://huggingface.co/Qwen/Qwen1.5-32B-Chat) + - 🔥🔥🔥 [Starling-LM-7B-beta](https://huggingface.co/Nexusflow/Starling-LM-7B-beta) + - 🔥🔥🔥 [gemma-7b-it](https://huggingface.co/google/gemma-7b-it) + - 🔥🔥🔥 [gemma-2b-it](https://huggingface.co/google/gemma-2b-it) + - 🔥🔥🔥 [SOLAR-10.7B](https://huggingface.co/upstage/SOLAR-10.7B-Instruct-v1.0) + - 🔥🔥🔥 [Mixtral-8x7B](https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1) + - 🔥🔥🔥 [Qwen-72B-Chat](https://huggingface.co/Qwen/Qwen-72B-Chat) + - 🔥🔥🔥 [Yi-34B-Chat](https://huggingface.co/01-ai/Yi-34B-Chat) + - [更多开源模型](https://www.yuque.com/eosphoros/dbgpt-docs/iqaaqwriwhp6zslc#qQktR) + - 支持在线代理模型 +- [x] [DeepSeek.deepseek-chat](https://platform.deepseek.com/api-docs/) +- [x] [Ollama.API](https://github.com/ollama/ollama/blob/main/docs/api.md) +- [x] [月之暗面.Moonshot](https://platform.moonshot.cn/docs/) +- [x] [零一万物.Yi](https://platform.lingyiwanwu.com/docs) +- [x] [OpenAI·ChatGPT](https://api.openai.com/) +- [x] [百川·Baichuan](https://platform.baichuan-ai.com/) +- [x] [阿里·通义](https://www.aliyun.com/product/dashscope) +- [x] [百度·文心](https://cloud.baidu.com/product/wenxinworkshop?track=dingbutonglan) +- [x] [智谱·ChatGLM](http://open.bigmodel.cn/) +- [x] [讯飞·星火](https://xinghuo.xfyun.cn/) +- [x] [Google·Bard](https://bard.google.com/) +- [x] [Google·Gemini](https://makersuite.google.com/app/apikey) +- **隐私安全**通过私有化大模型、代理脱敏等多种技术保障数据的隐私安全。 +- [支持数据源](https://www.yuque.com/eosphoros/dbgpt-docs/rc4r27ybmdwg9472) +## Image +🌐 [AutoDL镜像](https://www.codewithgpu.com/i/eosphoros-ai/DB-GPT/dbgpt) +🌐 [小程序云部署](https://www.yuque.com/eosphoros/dbgpt-docs/ek12ly8k661tbyn8) +### 多语言切换 +在.env 配置文件当中,修改LANGUAGE参数来切换使用不同的语言,默认是英文(中文zh, 英文en, 其他语言待补充) +## 使用说明 +### 多模型使用 +### 数据Agents使用 + +- [数据Agents](https://www.yuque.com/eosphoros/dbgpt-docs/gwz4rayfuwz78fbq) +## 贡献 +## 更加详细的贡献指南请参考[如何贡献](https://github.com/eosphoros-ai/DB-GPT/blob/main/CONTRIBUTING.md)。 +这是一个用于数据库的复杂且创新的工具, 我们的项目也在紧急的开发当中, 会陆续发布一些新的feature。如在使用当中有任何具体问题, 优先在项目下提issue, 如有需要, 请联系如下微信,我会尽力提供帮助,同时也非常欢迎大家参与到项目建设中。 +## Licence +The MIT License (MIT) +## 引用 +如果您发现`DB-GPT`对您的研究或开发有用,请引用以下[论文](https://arxiv.org/abs/2312.17449): +``` +@article{xue2023dbgpt, + title={DB-GPT: Empowering Database Interactions with Private Large Language Models}, + author={Siqiao Xue and Caigao Jiang and Wenhui Shi and Fangyin Cheng and Keting Chen and Hongjun Yang and Zhiping Zhang and Jianshan He and Hongyang Zhang and Ganglin Wei and Wang Zhao and Fan Zhou and Danrui Qi and Hong Yi and Shaodong Liu and Faqiang Chen}, + year={2023}, + journal={arXiv preprint arXiv:2312.17449}, + url={https://arxiv.org/abs/2312.17449} +} +``` + diff --git a/examples/test_files/graphrag-mini.md b/examples/test_files/graphrag-mini.md new file mode 100644 index 000000000..134e642ff --- /dev/null +++ b/examples/test_files/graphrag-mini.md @@ -0,0 +1,97 @@ + +# TuGraph DB项目生态图谱 +Entities: +(TuGraph-family/tugraph-db#github_repo) +(vesoft-inc/nebula#github_repo) +(PaddlePaddle/Paddle#github_repo) +(apache/brpc#github_repo) +(TuGraph-family/tugraph-web#github_repo) +(TuGraph-family/tugraph-db-client-java#github_repo) +(alibaba/GraphScope#github_repo) +(ClickHouse/ClickHouse#github_repo) +(TuGraph-family/fma-common#github_repo) +(vesoft-inc/nebula-docs-cn#github_repo) +(eosphoros-ai/DB-GPT#github_repo) +(eosphoros-ai#github_organization) +(yandex#github_organization) +(alibaba#github_organization) +(TuGraph-family#github_organization) +(baidu#github_organization) +(apache#github_organization) +(vesoft-inc#github_organization) + +Relationships: +(TuGraph-family/tugraph-db#common_developer#vesoft-inc/nebula#common_developer count 10) +(TuGraph-family/tugraph-db#common_developer#PaddlePaddle/Paddle#common_developer count 9) +(TuGraph-family/tugraph-db#common_developer#apache/brpc#common_developer count 7) +(TuGraph-family/tugraph-db#common_developer#TuGraph-family/tugraph-web#common_developer count 7) +(TuGraph-family/tugraph-db#common_developer#TuGraph-family/tugraph-db-client-java#common_developer count 7) +(TuGraph-family/tugraph-db#common_developer#alibaba/GraphScope#common_developer count 6) +(TuGraph-family/tugraph-db#common_developer#ClickHouse/ClickHouse#common_developer count 6) +(TuGraph-family/tugraph-db#common_developer#TuGraph-family/fma-common#common_developer count 6) +(TuGraph-family/tugraph-db#common_developer#vesoft-inc/nebula-docs-cn#common_developer count 6) +(TuGraph-family/tugraph-db#common_developer#eosphoros-ai/DB-GPT#common_developer count 6) +(eosphoros-ai/DB-GPT#belong_to#eosphoros-ai#belong_to) +(ClickHouse/ClickHouse#belong_to#yandex#belong_to) +(alibaba/GraphScope#belong_to#alibaba#belong_to) +(TuGraph-family/tugraph-db#belong_to#TuGraph-family#belong_to) +(TuGraph-family/tugraph-web#belong_to#TuGraph-family#belong_to) +(TuGraph-family/fma-common#belong_to#TuGraph-family#belong_to) +(TuGraph-family/tugraph-db-client-java#belong_to#TuGraph-family#belong_to) +(PaddlePaddle/Paddle#belong_to#baidu#belong_to) +(apache/brpc#belong_to#apache#belong_to) +(vesoft-inc/nebula#belong_to#vesoft-inc#belong_to) +(vesoft-inc/nebula-docs-cn#belong_to#vesoft-inc#belong_to) + + +# DB-GPT项目生态图谱 +Entities: +(eosphoros-ai/DB-GPT#github_repo) +(chatchat-space/Langchain-Chatchat#github_repo) +(hiyouga/LLaMA-Factory#github_repo) +(lm-sys/FastChat#github_repo) +(langchain-ai/langchain#github_repo) +(eosphoros-ai/DB-GPT-Hub#github_repo) +(THUDM/ChatGLM-6B#github_repo) +(langgenius/dify#github_repo) +(vllm-project/vllm#github_repo) +(QwenLM/Qwen#github_repo) +(PaddlePaddle/PaddleOCR#github_repo) +(vllm-project#github_organization) +(eosphoros-ai#github_organization) +(PaddlePaddle#github_organization) +(QwenLM#github_organization) +(THUDM#github_organization) +(lm-sys#github_organization) +(chatchat-space#github_organization) +(langchain-ai#github_organization) +(langgenius#github_organization) + +Relationships: +(eosphoros-ai/DB-GPT#common_developer#chatchat-space/Langchain-Chatchat#common_developer count 82) +(eosphoros-ai/DB-GPT#common_developer#hiyouga/LLaMA-Factory#common_developer count 45) +(eosphoros-ai/DB-GPT#common_developer#lm-sys/FastChat#common_developer count 39) +(eosphoros-ai/DB-GPT#common_developer#langchain-ai/langchain#common_developer count 37) +(eosphoros-ai/DB-GPT#common_developer#eosphoros-ai/DB-GPT-Hub#common_developer count 37) +(eosphoros-ai/DB-GPT#common_developer#THUDM/ChatGLM-6B#common_developer count 31) +(eosphoros-ai/DB-GPT#common_developer#langgenius/dify#common_developer count 30) +(eosphoros-ai/DB-GPT#common_developer#vllm-project/vllm#common_developer count 27) +(eosphoros-ai/DB-GPT#common_developer#QwenLM/Qwen#common_developer count 26) +(eosphoros-ai/DB-GPT#common_developer#PaddlePaddle/PaddleOCR#common_developer count 24) +(vllm-project/vllm#belong_to#vllm-project#belong_to) +(eosphoros-ai/DB-GPT#belong_to#eosphoros-ai#belong_to) +(eosphoros-ai/DB-GPT-Hub#belong_to#eosphoros-ai#belong_to) +(PaddlePaddle/PaddleOCR#belong_to#PaddlePaddle#belong_to) +(QwenLM/Qwen#belong_to#QwenLM#belong_to) +(THUDM/ChatGLM-6B#belong_to#THUDM#belong_to) +(lm-sys/FastChat#belong_to#lm-sys#belong_to) +(chatchat-space/Langchain-Chatchat#belong_to#chatchat-space#belong_to) +(langchain-ai/langchain#belong_to#langchain-ai#belong_to) +(langgenius/dify#belong_to#langgenius#belong_to) + + +# TuGraph简介 +TuGraph图数据库由蚂蚁集团与清华大学联合研发,构建了一套包含图存储、图计算、图学习、图研发平台的完善的图技术体系,支持海量多源的关联数据的实时处理,显著提升数据分析效率,支撑了蚂蚁支付、安全、社交、公益、数据治理等300多个场景应用。拥有业界领先规模的图集群,解决了图数据分析面临的大数据量、高吞吐率和低延迟等重大挑战,是蚂蚁集团金融风控能力的重要基础设施,显著提升了欺诈洗钱等金融风险的实时识别能力和审理分析效率,并面向金融、工业、政务服务等行业客户。TuGraph产品家族中,开源产品包括:TuGraph DB、TuGraph Analytics、OSGraph、ChatTuGraph等。内源产品包括:GeaBase、GeaFlow、GeaLearn、GeaMaker等。 + +# DB-GPT简介 +DB-GPT是一个开源的AI原生数据应用开发框架(AI Native Data App Development framework with AWEL(Agentic Workflow Expression Language) and Agents)。目的是构建大模型领域的基础设施,通过开发多模型管理(SMMF)、Text2SQL效果优化、RAG框架以及优化、Multi-Agents框架协作、AWEL(智能体工作流编排)等多种技术能力,让围绕数据库构建大模型应用更简单,更方便。 \ No newline at end of file diff --git a/examples/test_files/osgraph.md b/examples/test_files/osgraph.md new file mode 100644 index 000000000..6de98d032 --- /dev/null +++ b/examples/test_files/osgraph.md @@ -0,0 +1,1814 @@ +# OSGraph开源图谱数据 + +## 1. DB-GPT开源图谱 + +### 1.1 DB-GPT项目生态图谱 +Entities: +(eosphoros-ai/DB-GPT#github_repo) +(chatchat-space/Langchain-Chatchat#github_repo) +(hiyouga/LLaMA-Factory#github_repo) +(lm-sys/FastChat#github_repo) +(langchain-ai/langchain#github_repo) +(eosphoros-ai/DB-GPT-Hub#github_repo) +(THUDM/ChatGLM-6B#github_repo) +(langgenius/dify#github_repo) +(vllm-project/vllm#github_repo) +(QwenLM/Qwen#github_repo) +(PaddlePaddle/PaddleOCR#github_repo) +(vllm-project#github_organization) +(eosphoros-ai#github_organization) +(PaddlePaddle#github_organization) +(QwenLM#github_organization) +(THUDM#github_organization) +(lm-sys#github_organization) +(chatchat-space#github_organization) +(langchain-ai#github_organization) +(langgenius#github_organization) + +Relationships: +(eosphoros-ai/DB-GPT#common_developer#chatchat-space/Langchain-Chatchat#common_developer count 82) +(eosphoros-ai/DB-GPT#common_developer#hiyouga/LLaMA-Factory#common_developer count 45) +(eosphoros-ai/DB-GPT#common_developer#lm-sys/FastChat#common_developer count 39) +(eosphoros-ai/DB-GPT#common_developer#langchain-ai/langchain#common_developer count 37) +(eosphoros-ai/DB-GPT#common_developer#eosphoros-ai/DB-GPT-Hub#common_developer count 37) +(eosphoros-ai/DB-GPT#common_developer#THUDM/ChatGLM-6B#common_developer count 31) +(eosphoros-ai/DB-GPT#common_developer#langgenius/dify#common_developer count 30) +(eosphoros-ai/DB-GPT#common_developer#vllm-project/vllm#common_developer count 27) +(eosphoros-ai/DB-GPT#common_developer#QwenLM/Qwen#common_developer count 26) +(eosphoros-ai/DB-GPT#common_developer#PaddlePaddle/PaddleOCR#common_developer count 24) +(vllm-project/vllm#belong_to#vllm-project#belong_to) +(eosphoros-ai/DB-GPT#belong_to#eosphoros-ai#belong_to) +(eosphoros-ai/DB-GPT-Hub#belong_to#eosphoros-ai#belong_to) +(PaddlePaddle/PaddleOCR#belong_to#PaddlePaddle#belong_to) +(QwenLM/Qwen#belong_to#QwenLM#belong_to) +(THUDM/ChatGLM-6B#belong_to#THUDM#belong_to) +(lm-sys/FastChat#belong_to#lm-sys#belong_to) +(chatchat-space/Langchain-Chatchat#belong_to#chatchat-space#belong_to) +(langchain-ai/langchain#belong_to#langchain-ai#belong_to) +(langgenius/dify#belong_to#langgenius#belong_to) + +### 1.2 DB-GPT项目社区图谱 +Entities: +(Student#company) +(eosphoros-ai/DB-GPT#github_repo) +(@macacajs @alibaba @nodejs#company) +(@performgroup#company) +(@开源探索者#company) +(Ant Group#company) +(China#country) +(United States#country) +(India#country) +(Germany#country) +(South Korea#country) +(chinmay7016#github_user) +(Killer2OP#github_user) +(xudafeng#github_user) +(peter-wangxu#github_user) +(Aralhi#github_user) +(csunny#github_user) +(SuperSupeng#github_user) +(xuyuan23#github_user) +(wangzaistone#github_user) +(krzysztof-magosa#github_user) + +Relationships: +(Student#PR#eosphoros-ai/DB-GPT#PR count 2) +(@macacajs @alibaba @nodejs#PR#eosphoros-ai/DB-GPT#PR count 3) +(@performgroup#PR#eosphoros-ai/DB-GPT#PR count 1) +(@开源探索者#PR#eosphoros-ai/DB-GPT#PR count 1) +(Ant Group#PR#eosphoros-ai/DB-GPT#PR count 1) +(China#Star#eosphoros-ai/DB-GPT#Star count 1612) +(United States#Star#eosphoros-ai/DB-GPT#Star count 277) +(India#Star#eosphoros-ai/DB-GPT#Star count 73) +(Germany#Star#eosphoros-ai/DB-GPT#Star count 56) +(South Korea#Star#eosphoros-ai/DB-GPT#Star count 43) +(chinmay7016#belong_to#India#belong_to) +(Killer2OP#belong_to#India#belong_to) +(xudafeng#belong_to#China#belong_to) +(peter-wangxu#belong_to#China#belong_to) +(Aralhi#belong_to#China#belong_to) +(csunny#belong_to#China#belong_to) +(SuperSupeng#belong_to#China#belong_to) +(xuyuan23#belong_to#China#belong_to) +(wangzaistone#belong_to#China#belong_to) +(SuperSupeng#belong_to#@开源探索者#belong_to) +(peter-wangxu#belong_to#Ant Group#belong_to) +(krzysztof-magosa#belong_to#@performgroup#belong_to) +(xudafeng#belong_to#@macacajs @alibaba @nodejs#belong_to) +(wangzaistone#belong_to#Student#belong_to) +### 1.3 DB-GPT项目贡献图谱 +Entities: +(Aries-ckt#github_user) +(eosphoros-ai/DB-GPT#github_repo) +(fangyinc#github_user) +(2976151305#github_user) +(csunny#github_user) +(lcxadml#github_user) +(Aralhi#github_user) +(yhjun1026#github_user) +(xuyuan23#github_user) +(jsRuner#github_user) +(likenamehaojie#github_user) +(ASTLY123#github_user) +(lordk911#github_user) +(fayfox#github_user) +(xiuzhu9527#github_user) +(ketingli1#github_user) +(yihong0618#github_user) +(huicewang#github_user) +(njhouse365#github_user) +(liujie316316#github_user) +(alexlovy#github_user) +(jiangshengdev#github_user) +(zhonggegege#github_user) +(bzr1#github_user) +(github-actions[bot]#github_user) +(vahede#github_user) +(aaadrain#github_user) +(eigen2017#github_user) + +Relationships: +(Aries-ckt#push#eosphoros-ai/DB-GPT#push count 34) +(fangyinc#push#eosphoros-ai/DB-GPT#push count 15) +(2976151305#push#eosphoros-ai/DB-GPT#push count 13) +(csunny#push#eosphoros-ai/DB-GPT#push count 12) +(lcxadml#push#eosphoros-ai/DB-GPT#push count 7) +(Aralhi#push#eosphoros-ai/DB-GPT#push count 3) +(yhjun1026#push#eosphoros-ai/DB-GPT#push count 2) +(xuyuan23#push#eosphoros-ai/DB-GPT#push count 1) +(fangyinc#open_pr#eosphoros-ai/DB-GPT#open_pr count 12) +(Aries-ckt#open_pr#eosphoros-ai/DB-GPT#open_pr count 7) +(jsRuner#open_pr#eosphoros-ai/DB-GPT#open_pr count 6) +(csunny#open_pr#eosphoros-ai/DB-GPT#open_pr count 4) +(2976151305#open_pr#eosphoros-ai/DB-GPT#open_pr count 4) +(likenamehaojie#open_pr#eosphoros-ai/DB-GPT#open_pr count 2) +(ASTLY123#open_pr#eosphoros-ai/DB-GPT#open_pr count 1) +(lordk911#open_pr#eosphoros-ai/DB-GPT#open_pr count 1) +(fayfox#open_pr#eosphoros-ai/DB-GPT#open_pr count 1) +(xiuzhu9527#open_pr#eosphoros-ai/DB-GPT#open_pr count 1) +(csunny#code_review#eosphoros-ai/DB-GPT#code_review count 45) +(Aries-ckt#code_review#eosphoros-ai/DB-GPT#code_review count 31) +(fangyinc#code_review#eosphoros-ai/DB-GPT#code_review count 20) +(jsRuner#code_review#eosphoros-ai/DB-GPT#code_review count 13) +(yhjun1026#code_review#eosphoros-ai/DB-GPT#code_review count 6) +(2976151305#code_review#eosphoros-ai/DB-GPT#code_review count 2) +(xiuzhu9527#code_review#eosphoros-ai/DB-GPT#code_review count 1) +(ketingli1#code_review#eosphoros-ai/DB-GPT#code_review count 1) +(Aralhi#code_review#eosphoros-ai/DB-GPT#code_review count 1) +(yihong0618#code_review#eosphoros-ai/DB-GPT#code_review count 1) +(huicewang#open_issue#eosphoros-ai/DB-GPT#open_issue count 5) +(jsRuner#open_issue#eosphoros-ai/DB-GPT#open_issue count 3) +(njhouse365#open_issue#eosphoros-ai/DB-GPT#open_issue count 3) +(csunny#open_issue#eosphoros-ai/DB-GPT#open_issue count 3) +(liujie316316#open_issue#eosphoros-ai/DB-GPT#open_issue count 3) +(alexlovy#open_issue#eosphoros-ai/DB-GPT#open_issue count 2) +(jiangshengdev#open_issue#eosphoros-ai/DB-GPT#open_issue count 2) +(zhonggegege#open_issue#eosphoros-ai/DB-GPT#open_issue count 2) +(bzr1#open_issue#eosphoros-ai/DB-GPT#open_issue count 2) +(ASTLY123#open_issue#eosphoros-ai/DB-GPT#open_issue count 2) +(github-actions[bot]#comment_issue#eosphoros-ai/DB-GPT#comment_issue count 29) +(Aries-ckt#comment_issue#eosphoros-ai/DB-GPT#comment_issue count 19) +(fangyinc#comment_issue#eosphoros-ai/DB-GPT#comment_issue count 12) +(csunny#comment_issue#eosphoros-ai/DB-GPT#comment_issue count 4) +(jsRuner#comment_issue#eosphoros-ai/DB-GPT#comment_issue count 2) +(Aralhi#comment_issue#eosphoros-ai/DB-GPT#comment_issue count 1) +(ketingli1#comment_issue#eosphoros-ai/DB-GPT#comment_issue count 1) +(vahede#comment_issue#eosphoros-ai/DB-GPT#comment_issue count 1) +(aaadrain#comment_issue#eosphoros-ai/DB-GPT#comment_issue count 1) +(eigen2017#comment_issue#eosphoros-ai/DB-GPT#comment_issue count 1) + +## 2. TuGraph DB开源图谱 +### 2.1 TuGraph DB项目生态图谱 +Entities: +(TuGraph-family/tugraph-db#github_repo) +(vesoft-inc/nebula#github_repo) +(PaddlePaddle/Paddle#github_repo) +(apache/brpc#github_repo) +(TuGraph-family/tugraph-web#github_repo) +(TuGraph-family/tugraph-db-client-java#github_repo) +(alibaba/GraphScope#github_repo) +(ClickHouse/ClickHouse#github_repo) +(TuGraph-family/fma-common#github_repo) +(vesoft-inc/nebula-docs-cn#github_repo) +(eosphoros-ai/DB-GPT#github_repo) +(eosphoros-ai#github_organization) +(yandex#github_organization) +(alibaba#github_organization) +(TuGraph-family#github_organization) +(baidu#github_organization) +(apache#github_organization) +(vesoft-inc#github_organization) + +Relationships: +(TuGraph-family/tugraph-db#common_developer#vesoft-inc/nebula#common_developer count 10) +(TuGraph-family/tugraph-db#common_developer#PaddlePaddle/Paddle#common_developer count 9) +(TuGraph-family/tugraph-db#common_developer#apache/brpc#common_developer count 7) +(TuGraph-family/tugraph-db#common_developer#TuGraph-family/tugraph-web#common_developer count 7) +(TuGraph-family/tugraph-db#common_developer#TuGraph-family/tugraph-db-client-java#common_developer count 7) +(TuGraph-family/tugraph-db#common_developer#alibaba/GraphScope#common_developer count 6) +(TuGraph-family/tugraph-db#common_developer#ClickHouse/ClickHouse#common_developer count 6) +(TuGraph-family/tugraph-db#common_developer#TuGraph-family/fma-common#common_developer count 6) +(TuGraph-family/tugraph-db#common_developer#vesoft-inc/nebula-docs-cn#common_developer count 6) +(TuGraph-family/tugraph-db#common_developer#eosphoros-ai/DB-GPT#common_developer count 6) +(eosphoros-ai/DB-GPT#belong_to#eosphoros-ai#belong_to) +(ClickHouse/ClickHouse#belong_to#yandex#belong_to) +(alibaba/GraphScope#belong_to#alibaba#belong_to) +(TuGraph-family/tugraph-db#belong_to#TuGraph-family#belong_to) +(TuGraph-family/tugraph-web#belong_to#TuGraph-family#belong_to) +(TuGraph-family/fma-common#belong_to#TuGraph-family#belong_to) +(TuGraph-family/tugraph-db-client-java#belong_to#TuGraph-family#belong_to) +(PaddlePaddle/Paddle#belong_to#baidu#belong_to) +(apache/brpc#belong_to#apache#belong_to) +(vesoft-inc/nebula#belong_to#vesoft-inc#belong_to) +(vesoft-inc/nebula-docs-cn#belong_to#vesoft-inc#belong_to) +### 2.2 TuGraph DB项目社区图谱 +Entities: +(AntGroup#company) +(TuGraph-family/tugraph-db#github_repo) +(SEU#company) +(@alibaba#company) +(666#company) +(FMA#company) +(China#country) +(United States#country) +(Canada#country) +(Germany#country) +(India#country) +(fanzhidongyzby#github_user) +(hjk41#github_user) +(ljcui#github_user) +(yangyang233333#github_user) +(jasinliu#github_user) +(antkiller996#github_user) + +Relationships: +(AntGroup#PR#TuGraph-family/tugraph-db#PR count 7) +(SEU#PR#TuGraph-family/tugraph-db#PR count 5) +(@alibaba#PR#TuGraph-family/tugraph-db#PR count 2) +(666#PR#TuGraph-family/tugraph-db#PR count 1) +(FMA#PR#TuGraph-family/tugraph-db#PR count 6) +(China#Star#TuGraph-family/tugraph-db#Star count 329) +(United States#Star#TuGraph-family/tugraph-db#Star count 25) +(Canada#Star#TuGraph-family/tugraph-db#Star count 6) +(Germany#Star#TuGraph-family/tugraph-db#Star count 6) +(India#Star#TuGraph-family/tugraph-db#Star count 5) +(fanzhidongyzby#belong_to#China#belong_to) +(hjk41#belong_to#China#belong_to) +(ljcui#belong_to#China#belong_to) +(yangyang233333#belong_to#China#belong_to) +(jasinliu#belong_to#China#belong_to) +(antkiller996#belong_to#China#belong_to) +(yangyang233333#belong_to#666#belong_to) +(fanzhidongyzby#belong_to#@alibaba#belong_to) +(jasinliu#belong_to#SEU#belong_to) +(hjk41#belong_to#FMA#belong_to) +(antkiller996#belong_to#AntGroup#belong_to) +### 2.3 TuGraph DB项目贡献图谱 +Entities: +(qishipengqsp#github_user) +(TuGraph-family/tugraph-db#github_repo) +(lipanpan03#github_user) +(ljcui#github_user) +(jiazhenjiang#github_user) +(spasserby#github_user) +(wangtao9#github_user) +(CLAassistant#github_user) +(GongChangYan#github_user) +(liukaifei#github_user) +(AK-tu#github_user) +(huzhihao1#github_user) +(J4ckycjl#github_user) +(pengpeng176#github_user) +(liaoxj#github_user) +(xizheyin#github_user) +(gtahoo#github_user) +(github-actions[bot]#github_user) + +Relationships: +(qishipengqsp#push#TuGraph-family/tugraph-db#push count 12) +(lipanpan03#push#TuGraph-family/tugraph-db#push count 2) +(ljcui#push#TuGraph-family/tugraph-db#push count 1) +(jiazhenjiang#open_pr#TuGraph-family/tugraph-db#open_pr count 5) +(ljcui#open_pr#TuGraph-family/tugraph-db#open_pr count 4) +(lipanpan03#open_pr#TuGraph-family/tugraph-db#open_pr count 3) +(qishipengqsp#open_pr#TuGraph-family/tugraph-db#open_pr count 3) +(spasserby#open_pr#TuGraph-family/tugraph-db#open_pr count 1) +(qishipengqsp#code_review#TuGraph-family/tugraph-db#code_review count 9) +(ljcui#code_review#TuGraph-family/tugraph-db#code_review count 7) +(lipanpan03#code_review#TuGraph-family/tugraph-db#code_review count 5) +(jiazhenjiang#code_review#TuGraph-family/tugraph-db#code_review count 4) +(spasserby#code_review#TuGraph-family/tugraph-db#code_review count 2) +(wangtao9#code_review#TuGraph-family/tugraph-db#code_review count 2) +(CLAassistant#code_review#TuGraph-family/tugraph-db#code_review count 1) +(GongChangYan#code_review#TuGraph-family/tugraph-db#code_review count 1) +(ljcui#open_issue#TuGraph-family/tugraph-db#open_issue count 2) +(liukaifei#open_issue#TuGraph-family/tugraph-db#open_issue count 2) +(AK-tu#open_issue#TuGraph-family/tugraph-db#open_issue count 1) +(huzhihao1#open_issue#TuGraph-family/tugraph-db#open_issue count 1) +(J4ckycjl#open_issue#TuGraph-family/tugraph-db#open_issue count 1) +(pengpeng176#open_issue#TuGraph-family/tugraph-db#open_issue count 1) +(liaoxj#open_issue#TuGraph-family/tugraph-db#open_issue count 1) +(xizheyin#open_issue#TuGraph-family/tugraph-db#open_issue count 1) +(ljcui#comment_issue#TuGraph-family/tugraph-db#comment_issue count 5) +(gtahoo#comment_issue#TuGraph-family/tugraph-db#comment_issue count 1) +(github-actions[bot]#comment_issue#TuGraph-family/tugraph-db#comment_issue count 1) +(liukaifei#comment_issue#TuGraph-family/tugraph-db#comment_issue count 1) +## 3. TuGraph Analytics开源图谱 +### 3.1 TuGraph Analytics项目生态图谱 +Entities: +(TuGraph-family/tugraph-analytics#github_repo) +(TuGraph-family/tugraph-db#github_repo) +(apache/flink#github_repo) +(StarRocks/starrocks#github_repo) +(apache/incubator-hugegraph#github_repo) +(prisma/prisma#github_repo) +(antvis/G6VP#github_repo) +(apache/kyuubi#github_repo) +(alibaba/nacos#github_repo) +(alibaba/GraphScope#github_repo) +(apache/doris#github_repo) +(antvis#github_organization) +(StarRocks#github_organization) +(apache#github_organization) +(TuGraph-family#github_organization) +(prisma#github_organization) +(alibaba#github_organization) + +Relationships: +(TuGraph-family/tugraph-analytics#common_developer#TuGraph-family/tugraph-db#common_developer count 5) +(TuGraph-family/tugraph-analytics#common_developer#apache/flink#common_developer count 4) +(TuGraph-family/tugraph-analytics#common_developer#StarRocks/starrocks#common_developer count 4) +(TuGraph-family/tugraph-analytics#common_developer#apache/incubator-hugegraph#common_developer count 3) +(TuGraph-family/tugraph-analytics#common_developer#prisma/prisma#common_developer count 3) +(TuGraph-family/tugraph-analytics#common_developer#antvis/G6VP#common_developer count 3) +(TuGraph-family/tugraph-analytics#common_developer#apache/kyuubi#common_developer count 3) +(TuGraph-family/tugraph-analytics#common_developer#alibaba/nacos#common_developer count 3) +(TuGraph-family/tugraph-analytics#common_developer#alibaba/GraphScope#common_developer count 3) +(TuGraph-family/tugraph-analytics#common_developer#apache/doris#common_developer count 3) +(antvis/G6VP#belong_to#antvis#belong_to) +(StarRocks/starrocks#belong_to#StarRocks#belong_to) +(apache/flink#belong_to#apache#belong_to) +(apache/doris#belong_to#apache#belong_to) +(apache/kyuubi#belong_to#apache#belong_to) +(apache/incubator-hugegraph#belong_to#apache#belong_to) +(TuGraph-family/tugraph-db#belong_to#TuGraph-family#belong_to) +(TuGraph-family/tugraph-analytics#belong_to#TuGraph-family#belong_to) +(prisma/prisma#belong_to#prisma#belong_to) +(alibaba/nacos#belong_to#alibaba#belong_to) +(alibaba/GraphScope#belong_to#alibaba#belong_to) +### 3.2 TuGraph Analytics项目社区图谱 +Entities: +(wechat: knxy0616#company) +(TuGraph-family/tugraph-analytics#github_repo) +(ANT GROUP#company) +(杭州电子科技大学#company) +(@alibaba#company) +(Ant Group#company) +(China#country) +(United States#country) +(Hong Kong#country) +(Japan#country) +(Taiwan#country) +(fanzhidongyzby#github_user) +(baizn#github_user) +(qingwen220#github_user) +(kaori-seasons#github_user) +(pengzhiwei2018#github_user) +(ramboloc#github_user) + +Relationships: +(wechat: knxy0616#PR#TuGraph-family/tugraph-analytics#PR count 1) +(ANT GROUP#PR#TuGraph-family/tugraph-analytics#PR count 9) +(杭州电子科技大学#PR#TuGraph-family/tugraph-analytics#PR count 2) +(@alibaba#PR#TuGraph-family/tugraph-analytics#PR count 14) +(Ant Group#PR#TuGraph-family/tugraph-analytics#PR count 19) +(China#Star#TuGraph-family/tugraph-analytics#Star count 159) +(United States#Star#TuGraph-family/tugraph-analytics#Star count 11) +(Hong Kong#Star#TuGraph-family/tugraph-analytics#Star count 3) +(Japan#Star#TuGraph-family/tugraph-analytics#Star count 2) +(Taiwan#Star#TuGraph-family/tugraph-analytics#Star count 2) +(fanzhidongyzby#belong_to#China#belong_to) +(baizn#belong_to#China#belong_to) +(qingwen220#belong_to#China#belong_to) +(kaori-seasons#belong_to#China#belong_to) +(pengzhiwei2018#belong_to#China#belong_to) +(ramboloc#belong_to#China#belong_to) +(baizn#belong_to#ANT GROUP#belong_to) +(kaori-seasons#belong_to#wechat: knxy0616#belong_to) +(pengzhiwei2018#belong_to#Ant Group#belong_to) +(ramboloc#belong_to#杭州电子科技大学#belong_to) +(fanzhidongyzby#belong_to#@alibaba#belong_to) +### 3.3 TuGraph Analytics项目贡献图谱 +Entities: +(pengzhiwei2018#github_user) +(TuGraph-family/tugraph-analytics#github_repo) +(Leomrlin#github_user) +(652053395#github_user) +(KevinLi724#github_user) +(CLAassistant#github_user) +(fanzhidongyzby#github_user) +(qingfei1994#github_user) +(huang12zheng#github_user) +(cfsfine#github_user) + +Relationships: +(pengzhiwei2018#push#TuGraph-family/tugraph-analytics#push count 3) +(Leomrlin#push#TuGraph-family/tugraph-analytics#push count 1) +(652053395#open_pr#TuGraph-family/tugraph-analytics#open_pr count 1) +(Leomrlin#open_pr#TuGraph-family/tugraph-analytics#open_pr count 1) +(KevinLi724#open_pr#TuGraph-family/tugraph-analytics#open_pr count 1) +(CLAassistant#code_review#TuGraph-family/tugraph-analytics#code_review count 2) +(pengzhiwei2018#code_review#TuGraph-family/tugraph-analytics#code_review count 1) +(fanzhidongyzby#code_review#TuGraph-family/tugraph-analytics#code_review count 1) +(qingfei1994#open_issue#TuGraph-family/tugraph-analytics#open_issue count 2) +(huang12zheng#open_issue#TuGraph-family/tugraph-analytics#open_issue count 1) +(KevinLi724#open_issue#TuGraph-family/tugraph-analytics#open_issue count 1) +(qingfei1994#comment_issue#TuGraph-family/tugraph-analytics#comment_issue count 1) +(Leomrlin#comment_issue#TuGraph-family/tugraph-analytics#comment_issue count 1) +(cfsfine#comment_issue#TuGraph-family/tugraph-analytics#comment_issue count 1) +## 4. RocksDB开源图谱 +### 4.1 RocksDB项目生态图谱 +Entities: +(facebook/rocksdb#github_repo) +(golang/go#github_repo) +(rust-lang/rust#github_repo) +(facebook/folly#github_repo) +(microsoft/vscode#github_repo) +(protocolbuffers/protobuf#github_repo) +(grpc/grpc#github_repo) +(moby/moby#github_repo) +(tensorflow/tensorflow#github_repo) +(redis/redis#github_repo) +(Homebrew/homebrew-core#github_repo) +(Homebrew#github_organization) +(microsoft#github_organization) +(tensorflow#github_organization) +(grpc#github_organization) +(rust-lang#github_organization) +(golang#github_organization) +(docker#github_organization) +(google#github_organization) +(redis#github_organization) +(facebook#github_organization) + +Relationships: +(facebook/rocksdb#common_developer#golang/go#common_developer count 166) +(facebook/rocksdb#common_developer#rust-lang/rust#common_developer count 155) +(facebook/rocksdb#common_developer#facebook/folly#common_developer count 112) +(facebook/rocksdb#common_developer#microsoft/vscode#common_developer count 107) +(facebook/rocksdb#common_developer#protocolbuffers/protobuf#common_developer count 107) +(facebook/rocksdb#common_developer#grpc/grpc#common_developer count 106) +(facebook/rocksdb#common_developer#moby/moby#common_developer count 103) +(facebook/rocksdb#common_developer#tensorflow/tensorflow#common_developer count 101) +(facebook/rocksdb#common_developer#redis/redis#common_developer count 97) +(facebook/rocksdb#common_developer#Homebrew/homebrew-core#common_developer count 95) +(Homebrew/homebrew-core#belong_to#Homebrew#belong_to) +(microsoft/vscode#belong_to#microsoft#belong_to) +(tensorflow/tensorflow#belong_to#tensorflow#belong_to) +(grpc/grpc#belong_to#grpc#belong_to) +(rust-lang/rust#belong_to#rust-lang#belong_to) +(golang/go#belong_to#golang#belong_to) +(moby/moby#belong_to#docker#belong_to) +(protocolbuffers/protobuf#belong_to#google#belong_to) +(redis/redis#belong_to#redis#belong_to) +(facebook/rocksdb#belong_to#facebook#belong_to) +(facebook/folly#belong_to#facebook#belong_to) +### 4.2 RocksDB项目社区图谱 +Entities: +(@alibaba#company) +(apache/flink#github_repo) +(@apache#company) +(Alibaba#company) +(Tencent#company) +(alibaba#company) +(China#country) +(United States#country) +(Germany#country) +(India#country) +(Brazil#country) +(KKcorps#github_user) +(mghildiy#github_user) +(Samrat002#github_user) +(nycholas#github_user) +(EronWright#github_user) +(hsaputra#github_user) +(syhily#github_user) +(wuchong#github_user) +(zjuwangg#github_user) +(yanghua#github_user) +(Myasuka#github_user) +(kylemeow#github_user) +(JingsongLi#github_user) +(SteNicholas#github_user) +(wangyang0918#github_user) +(lincoln-lil#github_user) +(XuQianJin-Stars#github_user) +(xishuaidelin#github_user) +(mxm#github_user) +(rmetzger#github_user) +(JingGe#github_user) +(hequn8128#github_user) + +Relationships: +(@alibaba#PR#apache/flink#PR count 1489) +(@apache#PR#apache/flink#PR count 508) +(Alibaba#PR#apache/flink#PR count 510) +(Tencent#PR#apache/flink#PR count 79) +(alibaba#PR#apache/flink#PR count 201) +(China#Star#apache/flink#Star count 4003) +(United States#Star#apache/flink#Star count 604) +(Germany#Star#apache/flink#Star count 199) +(India#Star#apache/flink#Star count 158) +(Brazil#Star#apache/flink#Star count 113) +(KKcorps#belong_to#India#belong_to) +(mghildiy#belong_to#India#belong_to) +(Samrat002#belong_to#India#belong_to) +(nycholas#belong_to#Brazil#belong_to) +(EronWright#belong_to#United States#belong_to) +(hsaputra#belong_to#United States#belong_to) +(syhily#belong_to#United States#belong_to) +(wuchong#belong_to#China#belong_to) +(zjuwangg#belong_to#China#belong_to) +(yanghua#belong_to#China#belong_to) +(Myasuka#belong_to#China#belong_to) +(kylemeow#belong_to#China#belong_to) +(JingsongLi#belong_to#China#belong_to) +(SteNicholas#belong_to#China#belong_to) +(wangyang0918#belong_to#China#belong_to) +(lincoln-lil#belong_to#China#belong_to) +(XuQianJin-Stars#belong_to#China#belong_to) +(xishuaidelin#belong_to#China#belong_to) +(mxm#belong_to#Germany#belong_to) +(rmetzger#belong_to#Germany#belong_to) +(JingGe#belong_to#Germany#belong_to) +(kylemeow#belong_to#Tencent#belong_to) +(mxm#belong_to#@apache#belong_to) +(wuchong#belong_to#@alibaba#belong_to) +(zjuwangg#belong_to#alibaba#belong_to) +(hequn8128#belong_to#Alibaba#belong_to) +### 4.3 RocksDB项目贡献图谱 +Entities: +(facebook/rocksdb#github_repo) +(golang/go#github_repo) +(rust-lang/rust#github_repo) +(facebook/folly#github_repo) +(microsoft/vscode#github_repo) +(protocolbuffers/protobuf#github_repo) +(grpc/grpc#github_repo) +(moby/moby#github_repo) +(tensorflow/tensorflow#github_repo) +(redis/redis#github_repo) +(Homebrew/homebrew-core#github_repo) +(Homebrew#github_organization) +(microsoft#github_organization) +(tensorflow#github_organization) +(grpc#github_organization) +(rust-lang#github_organization) +(golang#github_organization) +(docker#github_organization) +(google#github_organization) +(redis#github_organization) +(facebook#github_organization) + +Relationships: +(facebook/rocksdb#common_developer#golang/go#common_developer count 166) +(facebook/rocksdb#common_developer#rust-lang/rust#common_developer count 155) +(facebook/rocksdb#common_developer#facebook/folly#common_developer count 112) +(facebook/rocksdb#common_developer#microsoft/vscode#common_developer count 107) +(facebook/rocksdb#common_developer#protocolbuffers/protobuf#common_developer count 107) +(facebook/rocksdb#common_developer#grpc/grpc#common_developer count 106) +(facebook/rocksdb#common_developer#moby/moby#common_developer count 103) +(facebook/rocksdb#common_developer#tensorflow/tensorflow#common_developer count 101) +(facebook/rocksdb#common_developer#redis/redis#common_developer count 97) +(facebook/rocksdb#common_developer#Homebrew/homebrew-core#common_developer count 95) +(Homebrew/homebrew-core#belong_to#Homebrew#belong_to) +(microsoft/vscode#belong_to#microsoft#belong_to) +(tensorflow/tensorflow#belong_to#tensorflow#belong_to) +(grpc/grpc#belong_to#grpc#belong_to) +(rust-lang/rust#belong_to#rust-lang#belong_to) +(golang/go#belong_to#golang#belong_to) +(moby/moby#belong_to#docker#belong_to) +(protocolbuffers/protobuf#belong_to#google#belong_to) +(redis/redis#belong_to#redis#belong_to) +(facebook/rocksdb#belong_to#facebook#belong_to) +(facebook/folly#belong_to#facebook#belong_to) + +## 5. Flink开源图谱 +### 5.1 Flink项目生态图谱 +Entities: +(apache/flink#github_repo) +(apache/spark#github_repo) +(apache/flink-web#github_repo) +(apache/flink-cdc#github_repo) +(apache/iceberg#github_repo) +(apache/hudi#github_repo) +(apache/kafka#github_repo) +(apache/paimon#github_repo) +(apache/pulsar#github_repo) +(apache/calcite#github_repo) +(apache/hadoop#github_repo) +(apache#github_organization) + +Relationships: +(apache/flink#common_developer#apache/spark#common_developer count 223) +(apache/flink#common_developer#apache/flink-web#common_developer count 201) +(apache/flink#common_developer#apache/flink-cdc#common_developer count 173) +(apache/flink#common_developer#apache/iceberg#common_developer count 171) +(apache/flink#common_developer#apache/hudi#common_developer count 153) +(apache/flink#common_developer#apache/kafka#common_developer count 132) +(apache/flink#common_developer#apache/paimon#common_developer count 117) +(apache/flink#common_developer#apache/pulsar#common_developer count 102) +(apache/flink#common_developer#apache/calcite#common_developer count 99) +(apache/flink#common_developer#apache/hadoop#common_developer count 96) +(apache/spark#belong_to#apache#belong_to) +(apache/kafka#belong_to#apache#belong_to) +(apache/hadoop#belong_to#apache#belong_to) +(apache/calcite#belong_to#apache#belong_to) +(apache/flink#belong_to#apache#belong_to) +(apache/flink-web#belong_to#apache#belong_to) +(apache/pulsar#belong_to#apache#belong_to) +(apache/hudi#belong_to#apache#belong_to) +(apache/iceberg#belong_to#apache#belong_to) +(apache/flink-cdc#belong_to#apache#belong_to) +(apache/paimon#belong_to#apache#belong_to) +### 5.2 Flink项目社区图谱 +Entities: +(@alibaba#company) +(apache/flink#github_repo) +(@apache#company) +(Alibaba#company) +(Tencent#company) +(alibaba#company) +(China#country) +(United States#country) +(Germany#country) +(India#country) +(Brazil#country) +(KKcorps#github_user) +(mghildiy#github_user) +(Samrat002#github_user) +(nycholas#github_user) +(EronWright#github_user) +(hsaputra#github_user) +(syhily#github_user) +(wuchong#github_user) +(zjuwangg#github_user) +(yanghua#github_user) +(Myasuka#github_user) +(kylemeow#github_user) +(JingsongLi#github_user) +(SteNicholas#github_user) +(wangyang0918#github_user) +(lincoln-lil#github_user) +(XuQianJin-Stars#github_user) +(xishuaidelin#github_user) +(mxm#github_user) +(rmetzger#github_user) +(JingGe#github_user) +(hequn8128#github_user) + +Relationships: +(@alibaba#PR#apache/flink#PR count 1489) +(@apache#PR#apache/flink#PR count 508) +(Alibaba#PR#apache/flink#PR count 510) +(Tencent#PR#apache/flink#PR count 79) +(alibaba#PR#apache/flink#PR count 201) +(China#Star#apache/flink#Star count 4003) +(United States#Star#apache/flink#Star count 604) +(Germany#Star#apache/flink#Star count 199) +(India#Star#apache/flink#Star count 158) +(Brazil#Star#apache/flink#Star count 113) +(KKcorps#belong_to#India#belong_to) +(mghildiy#belong_to#India#belong_to) +(Samrat002#belong_to#India#belong_to) +(nycholas#belong_to#Brazil#belong_to) +(EronWright#belong_to#United States#belong_to) +(hsaputra#belong_to#United States#belong_to) +(syhily#belong_to#United States#belong_to) +(wuchong#belong_to#China#belong_to) +(zjuwangg#belong_to#China#belong_to) +(yanghua#belong_to#China#belong_to) +(Myasuka#belong_to#China#belong_to) +(kylemeow#belong_to#China#belong_to) +(JingsongLi#belong_to#China#belong_to) +(SteNicholas#belong_to#China#belong_to) +(wangyang0918#belong_to#China#belong_to) +(lincoln-lil#belong_to#China#belong_to) +(XuQianJin-Stars#belong_to#China#belong_to) +(xishuaidelin#belong_to#China#belong_to) +(mxm#belong_to#Germany#belong_to) +(rmetzger#belong_to#Germany#belong_to) +(JingGe#belong_to#Germany#belong_to) +(kylemeow#belong_to#Tencent#belong_to) +(mxm#belong_to#@apache#belong_to) +(wuchong#belong_to#@alibaba#belong_to) +(zjuwangg#belong_to#alibaba#belong_to) +(hequn8128#belong_to#Alibaba#belong_to) +### 5.3 Flink项目贡献图谱 +Entities: +(XComp#github_user) +(apache/flink#github_repo) +(masteryhx#github_user) +(HuangXingBo#github_user) +(Myasuka#github_user) +(1996fanrui#github_user) +(dawidwys#github_user) +(Jiabao-Sun#github_user) +(fredia#github_user) +(zentol#github_user) +(LadyForest#github_user) +(liuyongvs#github_user) +(snuyanzin#github_user) +(lincoln-lil#github_user) +(jeyhunkarimov#github_user) +(Zakelly#github_user) +(JunRuiLee#github_user) +(flinkbot#github_user) +(WencongLiu#github_user) +(morazow#github_user) +(spoon-lz#github_user) + +Relationships: +(XComp#push#apache/flink#push count 19) +(masteryhx#push#apache/flink#push count 15) +(HuangXingBo#push#apache/flink#push count 10) +(Myasuka#push#apache/flink#push count 8) +(1996fanrui#push#apache/flink#push count 7) +(dawidwys#push#apache/flink#push count 7) +(Jiabao-Sun#push#apache/flink#push count 6) +(fredia#push#apache/flink#push count 6) +(zentol#push#apache/flink#push count 5) +(LadyForest#push#apache/flink#push count 5) +(liuyongvs#open_pr#apache/flink#open_pr count 21) +(XComp#open_pr#apache/flink#open_pr count 18) +(snuyanzin#open_pr#apache/flink#open_pr count 15) +(lincoln-lil#open_pr#apache/flink#open_pr count 8) +(masteryhx#open_pr#apache/flink#open_pr count 7) +(jeyhunkarimov#open_pr#apache/flink#open_pr count 6) +(Zakelly#open_pr#apache/flink#open_pr count 5) +(JunRuiLee#open_pr#apache/flink#open_pr count 4) +(fredia#open_pr#apache/flink#open_pr count 4) +(Jiabao-Sun#open_pr#apache/flink#open_pr count 4) +(flinkbot#code_review#apache/flink#code_review count 160) +(XComp#code_review#apache/flink#code_review count 142) +(snuyanzin#code_review#apache/flink#code_review count 87) +(Zakelly#code_review#apache/flink#code_review count 84) +(WencongLiu#code_review#apache/flink#code_review count 73) +(masteryhx#code_review#apache/flink#code_review count 72) +(LadyForest#code_review#apache/flink#code_review count 64) +(morazow#code_review#apache/flink#code_review count 63) +(liuyongvs#code_review#apache/flink#code_review count 51) +(spoon-lz#code_review#apache/flink#code_review count 44) + +## 6. Spark开源图谱 +### 6.1 Spark项目生态图谱 +Entities: +(apache/spark#github_repo) +(delta-io/delta#github_repo) +(apache/flink#github_repo) +(tensorflow/tensorflow#github_repo) +(apache/iceberg#github_repo) +(apache/hadoop#github_repo) +(apache/airflow#github_repo) +(kubernetes/kubernetes#github_repo) +(apache/arrow#github_repo) +(trinodb/trino#github_repo) +(apache/kafka#github_repo) +(trinodb#github_organization) +(delta-io#github_organization) +(tensorflow#github_organization) +(apache#github_organization) +(GoogleCloudPlatform#github_organization) + +Relationships: +(apache/spark#common_developer#delta-io/delta#common_developer count 219) +(apache/spark#common_developer#apache/flink#common_developer count 209) +(apache/spark#common_developer#tensorflow/tensorflow#common_developer count 206) +(apache/spark#common_developer#apache/iceberg#common_developer count 199) +(apache/spark#common_developer#apache/hadoop#common_developer count 180) +(apache/spark#common_developer#apache/airflow#common_developer count 175) +(apache/spark#common_developer#kubernetes/kubernetes#common_developer count 167) +(apache/spark#common_developer#apache/arrow#common_developer count 153) +(apache/spark#common_developer#trinodb/trino#common_developer count 140) +(apache/spark#common_developer#apache/kafka#common_developer count 137) +(trinodb/trino#belong_to#trinodb#belong_to) +(delta-io/delta#belong_to#delta-io#belong_to) +(tensorflow/tensorflow#belong_to#tensorflow#belong_to) +(apache/spark#belong_to#apache#belong_to) +(apache/kafka#belong_to#apache#belong_to) +(apache/hadoop#belong_to#apache#belong_to) +(apache/flink#belong_to#apache#belong_to) +(apache/airflow#belong_to#apache#belong_to) +(apache/arrow#belong_to#apache#belong_to) +(apache/iceberg#belong_to#apache#belong_to) +(kubernetes/kubernetes#belong_to#GoogleCloudPlatform#belong_to) +### 6.2 Spark项目社区图谱 +Entities: +(@databricks#company) +(apache/spark#github_repo) +(Tencent#company) +(Databricks#company) +(Microsoft#company) +(Amazon Web Services#company) +(China#country) +(United States#country) +(India#country) +(Germany#country) +(Brazil#country) +(prabeesh#github_user) +(krishnakalyan3#github_user) +(rshkv#github_user) +(kul#github_user) +(shardulm94#github_user) +(priyansh19#github_user) +(rimolive#github_user) +(LeoColman#github_user) +(lucaspompeun#github_user) +(rxin#github_user) +(JoshRosen#github_user) +(viirya#github_user) +(liancheng#github_user) +(brandondahler#github_user) +(dongjoon-hyun#github_user) +(cfregly#github_user) +(apivovarov#github_user) +(yeshengm#github_user) +(imatiach-msft#github_user) +(zhengruifeng#github_user) +(Eric5553#github_user) +(LuciferYang#github_user) +(sharkdtu#github_user) +(yaooqinn#github_user) +(iemejia#github_user) + +Relationships: +(@databricks#PR#apache/spark#PR count 562) +(Tencent#PR#apache/spark#PR count 46) +(Databricks#PR#apache/spark#PR count 2521) +(Microsoft#PR#apache/spark#PR count 54) +(Amazon Web Services#PR#apache/spark#PR count 12) +(China#Star#apache/spark#Star count 3856) +(United States#Star#apache/spark#Star count 1431) +(India#Star#apache/spark#Star count 321) +(Germany#Star#apache/spark#Star count 282) +(Brazil#Star#apache/spark#Star count 241) +(prabeesh#belong_to#Germany#belong_to) +(krishnakalyan3#belong_to#Germany#belong_to) +(rshkv#belong_to#Germany#belong_to) +(kul#belong_to#India#belong_to) +(shardulm94#belong_to#India#belong_to) +(priyansh19#belong_to#India#belong_to) +(rimolive#belong_to#Brazil#belong_to) +(LeoColman#belong_to#Brazil#belong_to) +(lucaspompeun#belong_to#Brazil#belong_to) +(rxin#belong_to#United States#belong_to) +(JoshRosen#belong_to#United States#belong_to) +(viirya#belong_to#United States#belong_to) +(liancheng#belong_to#United States#belong_to) +(brandondahler#belong_to#United States#belong_to) +(dongjoon-hyun#belong_to#United States#belong_to) +(cfregly#belong_to#United States#belong_to) +(apivovarov#belong_to#United States#belong_to) +(yeshengm#belong_to#United States#belong_to) +(imatiach-msft#belong_to#United States#belong_to) +(zhengruifeng#belong_to#China#belong_to) +(Eric5553#belong_to#China#belong_to) +(LuciferYang#belong_to#China#belong_to) +(sharkdtu#belong_to#China#belong_to) +(yaooqinn#belong_to#China#belong_to) +(brandondahler#belong_to#Amazon Web Services#belong_to) +(Eric5553#belong_to#Tencent#belong_to) +(iemejia#belong_to#Microsoft#belong_to) +(rxin#belong_to#Databricks#belong_to) +(liancheng#belong_to#@databricks#belong_to) +### 6.3 Spark项目贡献图谱 +Entities: +(dongjoon-hyun#github_user) +(apache/spark#github_repo) +(HyukjinKwon#github_user) +(MaxGekk#github_user) +(yaooqinn#github_user) +(cloud-fan#github_user) +(HeartSaVioR#github_user) +(gengliangwang#github_user) +(zhengruifeng#github_user) +(LuciferYang#github_user) +(ueshin#github_user) +(panbingkun#github_user) +(stefankandic#github_user) +(nchammas#github_user) +(dbatomic#github_user) +(anishshri-db#github_user) +(mihailom-db#github_user) + +Relationships: +(dongjoon-hyun#push#apache/spark#push count 124) +(HyukjinKwon#push#apache/spark#push count 78) +(MaxGekk#push#apache/spark#push count 41) +(yaooqinn#push#apache/spark#push count 38) +(cloud-fan#push#apache/spark#push count 35) +(HeartSaVioR#push#apache/spark#push count 15) +(gengliangwang#push#apache/spark#push count 11) +(zhengruifeng#push#apache/spark#push count 11) +(LuciferYang#push#apache/spark#push count 8) +(ueshin#push#apache/spark#push count 4) +(dongjoon-hyun#open_pr#apache/spark#open_pr count 44) +(panbingkun#open_pr#apache/spark#open_pr count 39) +(HyukjinKwon#open_pr#apache/spark#open_pr count 30) +(yaooqinn#open_pr#apache/spark#open_pr count 28) +(zhengruifeng#open_pr#apache/spark#open_pr count 26) +(LuciferYang#open_pr#apache/spark#open_pr count 14) +(stefankandic#open_pr#apache/spark#open_pr count 9) +(gengliangwang#open_pr#apache/spark#open_pr count 8) +(cloud-fan#open_pr#apache/spark#open_pr count 8) +(nchammas#open_pr#apache/spark#open_pr count 7) +(dongjoon-hyun#code_review#apache/spark#code_review count 805) +(cloud-fan#code_review#apache/spark#code_review count 731) +(HyukjinKwon#code_review#apache/spark#code_review count 453) +(MaxGekk#code_review#apache/spark#code_review count 302) +(dbatomic#code_review#apache/spark#code_review count 247) +(yaooqinn#code_review#apache/spark#code_review count 218) +(anishshri-db#code_review#apache/spark#code_review count 199) +(mihailom-db#code_review#apache/spark#code_review count 147) +(panbingkun#code_review#apache/spark#code_review count 118) +(HeartSaVioR#code_review#apache/spark#code_review count 115) +## 7. 个人开源图谱 +### 7.1 开发活动图谱 +Entities: +(siying#github_user) +(siying/rocksdb#github_repo) +(facebook/rocksdb#github_repo) +(siying/spark#github_repo) +(siying/siying.github.io#github_repo) +(siying/china-indie-podcasts#github_repo) +(AGSaidi/rocksdb#github_repo) +(darionyaphet/rocksdb#github_repo) +(PraveenSinghRao/rocksdb#github_repo) +(siying/mysql-5.6#github_repo) +(lhsoft/rocksdb#github_repo) +(apache/spark#github_repo) +(avocadotoastlive/avocadotoast.live#github_repo) +(typlog/china-indie-podcasts#github_repo) +(facebook/mysql-5.6#github_repo) +(Homebrew/legacy-homebrew#github_repo) +(google/leveldb#github_repo) +(MySQLOnRocksDB/mysql-5.6#github_repo) +(facebook/zstd#github_repo) +(facebook/react#github_repo) + +Relationships: +(siying#push#siying/rocksdb#push count 1376) +(siying#push#facebook/rocksdb#push count 805) +(siying#push#siying/spark#push count 79) +(siying#push#siying/siying.github.io#push count 5) +(siying#push#siying/china-indie-podcasts#push count 3) +(siying#push#AGSaidi/rocksdb#push count 2) +(siying#push#darionyaphet/rocksdb#push count 2) +(siying#push#PraveenSinghRao/rocksdb#push count 2) +(siying#push#siying/mysql-5.6#push count 2) +(siying#push#lhsoft/rocksdb#push count 1) +(siying#open_pr#facebook/rocksdb#open_pr count 614) +(siying#open_pr#apache/spark#open_pr count 19) +(siying#open_pr#avocadotoastlive/avocadotoast.live#open_pr count 2) +(siying#open_pr#siying/rocksdb#open_pr count 1) +(siying#open_pr#typlog/china-indie-podcasts#open_pr count 1) +(siying#open_pr#facebook/mysql-5.6#open_pr count 1) +(siying#code_review#facebook/rocksdb#code_review count 4189) +(siying#code_review#apache/spark#code_review count 82) +(siying#code_review#avocadotoastlive/avocadotoast.live#code_review count 4) +(siying#code_review#facebook/mysql-5.6#code_review count 2) +(siying#code_review#Homebrew/legacy-homebrew#code_review count 1) +(siying#code_review#google/leveldb#code_review count 1) +(siying#open_issue#facebook/rocksdb#open_issue count 14) +(siying#open_issue#avocadotoastlive/avocadotoast.live#open_issue count 3) +(siying#comment_issue#facebook/rocksdb#comment_issue count 718) +(siying#comment_issue#facebook/mysql-5.6#comment_issue count 10) +(siying#comment_issue#MySQLOnRocksDB/mysql-5.6#comment_issue count 8) +(siying#comment_issue#facebook/zstd#comment_issue count 1) +(siying#comment_issue#facebook/react#comment_issue count 1) +### 7.2 开源伙伴图谱 +Entities: +(siying#github_user) +(gfosco#github_user) +(adamretter#github_user) +(mdcallag#github_user) +(ajkr#github_user) +(igorcanadi#github_user) +(yuslepukhin#github_user) +(yiwu-arbug#github_user) +(dhruba#github_user) +(maysamyabandeh#github_user) +(sagar0#github_user) +(facebook-github-bot#github_user) +(riversand963#github_user) +(pdillinger#github_user) +(anand1976#github_user) +(IslamAbdelRahman#github_user) +(chaitanya9186#github_user) +(Vincenthays#github_user) +(work-mohit#github_user) +(PhilYue#github_user) +(liangxj8#github_user) +(ew0s#github_user) +(raubitsj#github_user) +(nchilaka#github_user) +(smifun#github_user) +(cellogx#github_user) +(lshmouse#github_user) +(rockeet#github_user) +(cclauss#github_user) +(baotiao#github_user) +(chfast#github_user) +(spetrunia#github_user) +(inikep#github_user) +(elfring#github_user) + +Relationships: +(siying#common_issue#gfosco#common_issue count 95) +(siying#common_issue#adamretter#common_issue count 54) +(siying#common_issue#mdcallag#common_issue count 44) +(siying#common_issue#ajkr#common_issue count 42) +(siying#common_issue#igorcanadi#common_issue count 37) +(siying#common_issue#yuslepukhin#common_issue count 30) +(siying#common_issue#yiwu-arbug#common_issue count 26) +(siying#common_issue#dhruba#common_issue count 23) +(siying#common_issue#maysamyabandeh#common_issue count 19) +(siying#common_issue#sagar0#common_issue count 19) +(siying#common_pr#facebook-github-bot#common_pr count 1316) +(siying#common_pr#ajkr#common_pr count 266) +(siying#common_pr#riversand963#common_pr count 185) +(siying#common_pr#pdillinger#common_pr count 137) +(siying#common_pr#yiwu-arbug#common_pr count 128) +(siying#common_pr#maysamyabandeh#common_pr count 117) +(siying#common_pr#sagar0#common_pr count 102) +(siying#common_pr#anand1976#common_pr count 99) +(siying#common_pr#IslamAbdelRahman#common_pr count 76) +(siying#common_pr#yuslepukhin#common_pr count 73) +(siying#common_star#chaitanya9186#common_star count 1) +(siying#common_star#Vincenthays#common_star count 1) +(siying#common_star#work-mohit#common_star count 1) +(siying#common_star#PhilYue#common_star count 1) +(siying#common_star#liangxj8#common_star count 1) +(siying#common_star#ew0s#common_star count 1) +(siying#common_star#raubitsj#common_star count 1) +(siying#common_star#nchilaka#common_star count 1) +(siying#common_star#smifun#common_star count 1) +(siying#common_star#cellogx#common_star count 1) +(siying#common_repo#facebook-github-bot#common_repo count 4) +(siying#common_repo#mdcallag#common_repo count 4) +(siying#common_repo#lshmouse#common_repo count 4) +(siying#common_repo#rockeet#common_repo count 3) +(siying#common_repo#cclauss#common_repo count 3) +(siying#common_repo#baotiao#common_repo count 3) +(siying#common_repo#chfast#common_repo count 3) +(siying#common_repo#spetrunia#common_repo count 3) +(siying#common_repo#inikep#common_repo count 3) +(siying#common_repo#elfring#common_repo count 3) +### 7.3 开源兴趣图谱 +Entities: +(dongjoon-hyun#github_user) +(java#topic) +(scala#topic) +(python#topic) +(apache#topic) +(big-data#topic) +(apache/spark#github_repo) +(apache/orc#github_repo) +(apache/spark-kubernetes-operator#github_repo) + +Relationships: +(dongjoon-hyun#repo#java#repo count 17) +(dongjoon-hyun#repo#scala#repo count 9) +(dongjoon-hyun#repo#python#repo count 9) +(dongjoon-hyun#repo#apache#repo count 8) +(dongjoon-hyun#repo#big-data#repo count 8) +(apache/spark#belong_to#java#belong_to) +(apache/spark#belong_to#scala#belong_to) +(apache/spark#belong_to#python#belong_to) +(apache/spark#belong_to#big-data#belong_to) +(apache/orc#belong_to#java#belong_to) +(apache/orc#belong_to#apache#belong_to) +(apache/orc#belong_to#big-data#belong_to) +(apache/spark-kubernetes-operator#belong_to#java#belong_to) + +## 8. 图计算论文图谱 +Entities: +(A1#A Distributed In-Memory Graph Database) +(ASPIRE#Exploiting Asynchronous Parallelism in Iterative Algorithms using a Relaxed Consistency based DSM) +(AeonG#An Efficient Built-in Temporal Support in Graph Databases (Extended Version)) +(AsynGraph#Maximizing Data Parallelism for Efficient Iterative Graph Processing on GPUs) +(Auxo#A Temporal Graph Management System) +(BG3#A Cost Effective and I/O Efficient Graph Database in ByteDance) +(Blaze#Fast Graph Processing on Fast SSDs) +(BlitzG#Exploiting high-bandwidth networks for fast graph processing) +(Blogel#A Block-Centric Framework for Distributed Computation on Real-World Graphs) +(ByteGraph#A High-Performance Distributed Graph Database in ByteDance) +(CGgraph#An Ultra-fast Graph Processing System on Modern Commodity CPU-GPU Co-processor) +(CGraph#A correlations-aware approach for efficient concurrent iterative graph processing) +(CLIP#A Disk I/O Focused Parallel Out-of-core Graph Processing System) +(CSMqGraph#Coarse-Grained and Multi-external-sdstrage Multi-queue I/O Management for Graph Computing) +(Chaos#Scale-out Graph Processing src Secondary Sdstrage) +(Chronograph#A Distributed Processing Platform for Online and Batch Computations on Event-sourced Graphs) +(Chronos#A Graph Engine for Temporal Graph Analysis) +(CoRAL#Confined Recovery in Distributed Asynchronous Graph Processing) +(CommonGraph#Graph Analytics on Evolving Data) +(CuSha#Vertex-Centric Graph Processing on GPUs) +(Cymbalo#An Efficient Graph Processing Framework for Machine Learning) +(D2Graph#An Efficient and Unified Out-of-Core Graph Computing Model) +(DD-Graph#A Highly Cost-Effective Distributed Disk-based Graph-Processing Framework) +(DFOGraph#An I/O- and Communication-Efficient System for Distributed Fully-out-of-Core Graph Processing) +(DZiG#Sparsity-Aware Incremental Processing of Streaming Graphs) +(DepGraph#A Dependency-Driven Acceleradstr for Efficient Iterative Graph Processing) +(DiGraph#An Efficient Path-based Iterative Directed Graph Processing System on Multiple GPUs) +(Differential dataflow#Differential dataflow) +(Distributed GraphLab#A Framework for Machine Learning and Data Mining in the Cloud) +(DiterGraph#dstward I/O-Efficient Incremental Computation over Large Graphs with Billion Edges) +(DynamoGraph#A Distributed System for Large-scale, Temporal Graph Processing, its Implementation and First Observations) +(EGraph#Efficient concurrent GPU-based dynamic graph processing) +(EPGraph#An Efficient Graph Computing Model in Persistent Memory System) +(EmptyHeaded#A Relational Engine for Graph Processing) +(FBSGraph#Accelerating Asynchronous Graph Processing via Forward and Backward Sweeping) +(FENNEL#Streaming Graph Partitioning for Massive Scale Graphs) +(FOG#A Fast Out-of-Core Graph Processing Framework) +(Fargraph+#Excavating the parallelism of graph processing workload on RDMA-based far memory system) +(FlashGraph#Processing Billion-Node Graphs on an Array of Commodity SSDs) +(ForeGraph#Exploring Large-scale Graph Processing on Multi-FPGA Architecture) +(Frog#Asynchronous graph processing on GPU with hybrid coloring model) +(G-Sdstre#High-Performance Graph Sdstre for Trillion-Edge Processing) +(G-Tran#A High Performance Distributed Graph Database with a Decentralized Architecture) +(GBASE#A Scalable and General Graph Management System) +(GFlink#An In-Memory Computing Architecture on Heterogeneous CPU-GPU Clusters for Big Data) +(GGraph#An Efficient Structure-Aware Approach for Iterative Graph Processing) +(GPOP#A scalable cache- and memory-efficient framework for Graph Processing Over Partitions) +(GPS#A Graph Processing System) +(GRAM#Scaling Graph Computation dst the Trillions) +(GRAPE#Parallelizing Sequential Graph Computations) +(GRE#A Graph Runtime Engine for Large-Scale Distributed Graph-Parallel Applications) +(GStream#A Graph Streaming Processing Method for Large-scale Graphs on GPUs) +(Garaph#Efficient GPU-accelerated Graph Processing on a Single Machine with Balanced Replication) +(GasCL#A Vertex-Centric Graph Model for GPUs) +(GeaFlow#A Graph Extended and Accelerated Dataflow System) +(Gemini#A Computation-Centric Distributed Graph Processing System) +(Giraph Unchained#Barrierless Asynchronous Parallel Execution in Pregel-like Graph Processing Systems) +(Giraph#DB) +(GoFFish#A Sub-graph Centric Framework for Large-Scale Graph Analytics) +(GraPU#Accelerate Streaming Graph Analysis through Preprocessing Buffered Updates) +(GraVF#A Vertex-Centric Distributed Graph Processing Framework on FPGAs) +(Gradoop#Gradoop) +(GrapH#Traffic-Aware Graph Processing) +(Graph Database#DB) +(Graph3S#A Simple, Speedy and Scalable Distributed Graph Processing System) +(GraphA#An efficient ReRAM-based architecture dst accelerate large scale graph processing) +(GraphABCD#Scaling Out Graph Analytics with Asynchronous Block Coordinate Descent) +(GraphBolt#Dependency-Driven Synchronous Processing of Streaming Graphs) +(GraphBuilder#Scalable Graph ETL Framework) +(GraphCP#An I/O-Efficient Concurrent Graph Processing Framework) +(GraphCage#Cache Aware Graph Processing on GPUs) +(GraphChi#Large-Scale Graph Computation on Just a PC) +(GraphD#Distributed Vertex-Centric Graph Processing Beyond the Memory Limit) +(GraphDuo#A Dual-Model Graph Processing Framework) +(GraphFly#Efficient Asynchronous Streaming Graphs Processing via Dependency-Flow) +(GraphGen#An FPGA Framework for Vertex-Centric Graph Computation) +(GraphGrind#addressing load imbalance of graph partitioning) +(GraphH(1)#High Performance Big Graph Analytics in Small Clusters) +(GraphH(2)#A Processing-in-Memory Architecture for Large-scale Graph Processing) +(GraphIA#An In-situ Acceleradstr for Large-scale Graph Processing) +(GraphIn#An Online High Performance Incremental Graph Processing Framework) +(GraphLab#A New Framework For Parallel Machine Learning) +(GraphM#An Efficient Sdstrage System for High Throughput of Concurrent Graph Processing) +(GraphMP(1)#An Efficient Semi-External-Memory Big Graph Processing System on a Single Machine) +(GraphMP(2)#I/O-Efficient Big Graph Analytics on a Single Commodity Machine) +(GraphMap#scalable iterative graph processing using NoSQL) +(GraphMat#High performance graph analytics made productive) +(GraphOne#A Data Sdstre for Real-time Analytics on Evolving Graphs) +(GraphP#Reducing Communication for PIM-based Graph Processing with Efficient Data Partition) +(GraphPEG#Accelerating Graph Processing on GPUs) +(GraphPIM#Enabling Instruction-Level PIM Offloading in Graph Computing Frameworks) +(GraphPhi#Efficient Parallel Graph Processing on Emerging Throughput-oriented Architectures) +(GraphPulse#An Event-Driven Hardware Acceleradstr for Asynchronous Graph Processing) +(GraphQ#Graph Query Processing with Abstraction Refinement) +(GraphR#Accelerating Graph Processing Using ReRAM) +(GraphReduce#Processing Large-Scale Graphs on Acceleradstr-Based Systems) +(GraphSD#A State and Dependency aware Out-of-Core Graph Processing System) +(GraphScSh#Efficient I/O Scheduling and Graph Sharing for Concurrent Graph Processing) +(GraphScope#A Unified Engine For Big Graph Processing) +(GraphTides#A Framework for Evaluating Stream-based Graph Processing Platforms) +(GraphTinker#A High Performance Data Structure for Dynamic Graph Processing) +(GraphTune#An Efficient Dependency-Aware Substrate dst Alleviate Irregularity in Concurrent Graph Processing) +(GraphTwist#Fast Iterative Graph Computation with Two-tier Optimizations) +(GraphX#A Resilient Distributed Graph System on Spark) +(GraphZ#Improving the Performance of Large-Scale Graph Analytics on Small-Scale Machines) +(Graphene#Fine-Grained IO Management for Graph Computing) +(Graphflow#An Active Graph Database) +(Graphie#Large-Scale Asynchronous Graph Traversals on Just a GPU) +(Graspan#A Single-machine Disk-based Graph System for Interprocedural Static Analyses of Large-scale Systems Code) +(Grasper#A High Performance Distributed System for OLAP on Property Graphs) +(GridGraph#Large-Scale Graph Processing on a Single Machine Using 2-Level Hierarchical Partitioning) +(Groute#Asynchronous Multi-GPU Programming Model with Applications dst Large-scale Graph Processing) +(HGraph#I/O-efficient Distributed and Iterative Graph Computing by Hybrid Pushing/Pulling) +(HPGraph#A High Parallel Graph Processing System Based on Flash Array) +(HUS-Graph#I/O-Efficient Out-of-Core Graph Processing with Hybrid Update Strategy) +(HaLoop#Efficient Iterative Data Processing on Large Clusters) +(HipG#Parallel Processing of Large-Scale Graphs) +(HitGraph#High-throughput Graph Processing Framework on FPGA) +(HotGraph#Efficient Asynchronous Processing for Real-World Graphs) +(HyTGraph#GPU-Accelerated Graph Processing with Hybrid Transfer Management) +(HyVE#Hybrid Vertex-Edge Memory Hierarchy for Energy-Efficient Graph Processing) +(HybridGraph#Hybrid Pulling:Pushing for I:O-Efficient Distributed and Iterative Graph Computing) +(ImmortalGraph#A System for Sdstrage and Analysis of Temporal Graphs) +(JanusGraph#DB) +(JetStream#Graph Analytics on Streaming Data with Event-Driven Hardware Acceleradstr) +(KickStarter#Fast and Accurate Computations on Streaming Graphs via Trimmed Approximations) +(Kineograph#Taking the Pulse of a Fast-Changing and Connected World) +(L-PowerGraph#a lightweight distributed graph-parallel communication mechanism) +(LCC-Graph#A High-Performance Graph-Processing Framework with Low Communication Costs) +(LFGraph#Simple and Fast Distributed Graph Analytics) +(LLAMA#Efficient Graph Analytics Using Large Multiversioned Arrays.) +(LOSC#Efficient Out-of-Core Graph Processing with Locality-optimized Subgraph Construction) +(LSGraph#A Locality-centric High-performance Streaming Graph Engine) +(LargeGraph#An Efficient Dependency-Aware GPU-Accelerated Large-Scale Graph Processing) +(LazyGraph#Lazy Data Coherency for Replicas in Distributed Graph-Parallel Computation) +(LightGraph#Lighten Communication in Distributed Graph-Parallel Processing) +(Ligra#A Lightweight Graph Processing Framework for Shared Memory) +(LiveGraph#A Transactional Graph Sdstrage System with Purely Sequential Adjacency List Scans) +(Lumos#Dependency-Driven Disk-based Graph Processing) +(MMap#Fast Billion-Scale Graph Computation on a PC via Memory Mapping) +(MOCgraph#Scalable Distributed Graph Processing Using Message Online Computing) +(MOSAIC#Processing a Trillion-Edge Graph on a Single Machine) +(Maiter#An Asynchronous Graph Processing Framework for Delta-based Accumulative Iterative Computation) +(MapGraph#A High Level API for Fast Development of High Performance Graph Analytics on GPUs) +(Medusa#Simplified Graph Processing on GPUs) +(Mizan#A System for Dynamic Load Balancing in Large-scale Graph Processing) +(MultiLogVC#Efficient Out-of-Core Graph Processing Framework for Flash Sdstrage) +(NGraph#Parallel Graph Processing in Hybrid Memory Systems) +(NPGraph#An Efficient Graph Computing Model in NUMA-Based Persistent Memory Systems) +(NScale#Neighborhood-centric Analytics on Large Graphs) +(NXgraph#An Efficient Graph Processing System on a Single Machine*) +(Naiad#A Timely Dataflow System) +(Neo4j#DB) +(PGAbB#A Block-Based Graph Processing Framework for Heterogeneous Platforms) +(PGX.D#A Fast Distributed Graph Processing Engine) +(PartitionedVC#Partitioned External Memory Graph Analytics Framework for SSDs) +(PathGraph#A Path Centric Graph Processing System) +(Pimiendst#A Vertex-Centric Graph-Processing Framework on a Single Machine) +(PowerGraph#Distributed Graph-Parallel Computation on Natural Graphs) +(PowerLyra#Differentiated Graph Computation and Partitioning on Skewed Graphs) +(PrIter#A Distributed Framework for Prioritized Iterative Computations) +(Pregel#A System for Large-Scale Graph Processing) +(Pregelix#Big(ger) Graph Analytics on A Dataflow Engine) +(Quegel#A General-Purpose Query-Centric Framework for Querying Big Graphs) +(Raphdstry#Streaming Analysis Of Distributed Temporal Graphs) +(ReGraph#A Graph Processing Framework that Alternately Shrinks and Repartitions the Graph) +(Ringo#Interactive Graph Analytics on Big-Memory Machines) +(RisGraph#A Real-Time Streaming System for Evolving Graphs dst Support Sub-millisecond Per-update Analysis at Millions Ops/s) +(SGraph#A Distributed Streaming System for Processing Big Graphs) +(STINGER#High Performance Data Structure for Streaming Graphs) +(SaGraph#A Similarity-aware Hardware Acceleradstr for Temporal Graph Processing) +(ScalaGraph#A Scalable Acceleradstr for Massively Parallel Graph Processing) +(ScaleG#A Distributed Disk-based System for Vertex-centric Graph Processing) +(Scaph#Scalable GPU-Accelerated Graph Processing with Value-Driven Differential Scheduling) +(Seraph#an Efficient, Low-cost System for Concurrent Graph Processing) +(ShenTu#Processing Multi-Trillion Edge Graphs on Millions of Cores in Seconds) +(Subway#Minimizing Data Transfer during Out-of-GPU-Memory Graph Processing) +(SympleGraph#Distributed Graph Processing with Precise Loop-Carried Dependency Guarantee) +(TDGraph#A dstpology-Driven Acceleradstr for High-Performance Streaming Graph Processing) +(TIDE#Dynamic Interaction Graphs with Probabilistic Edge Decay) +(TeGraph#A Novel General-Purpose Temporal Graph Computing Engine) +(TeGraph+#Scalable Temporal Graph Processing Enabling Flexible Edge Modifications) +(Tegra#Efficient Ad-Hoc Analytics on Evolving Graphs) +(ThunderGP#HLS-based graph processing framework on FPGAs) +(TigerGraph#A Native MPP Graph Database) +(TigerGraph#DB) +(Tigr#Transforming Irregular Graphs for GPU-Friendly Graph Processing) +(dstrnado#A System For Real-Time Iterative Analysis Over Evolving Data) +(Trinity#A Distributed Graph Engine on a Memory Cloud) +(Tripoline#Generalized Incremental Graph Processing via Graph Triangle Inequality) +(TuGraph#DB) +(TurboGraph#A Fast Parallel Graph Engine Handling Billion-scale Graphs in a Single PC) +(VENUS#A System for Streamlined Graph Computation on a Single PC) +(VGL#a high-performance graph processing framework for the NEC SX-Aurora TSUBASA vecdstr architecture) +(VeilGraph#Approximating Graph Streams) +(Version Traveler#Fast and Memory-Efficient Version Switching in Graph Processing Systems) +(Weaver#A High-Performance, Transactional Graph Database Based on Refinable Timestamps) +(WolfGraph#the Edge-Centric graph processing on GPU) +(Wonderland#A Novel Abstraction-Based Out-Of-Core Graph Processing System) +(X-Stream#Edge-centric Graph Processing using Streaming Partitions) +(XPGraph#XPline-Friendly Persistent Memory Graph Sdstres for Large-Scale Evolving Graphs) +(Zorro#Zero-Cost Reactive Failure Recovery in Distributed Graph Processing) +(faimGraph#High Performance Management of Fully-Dynamic Graphs under tight Memory Constraints on the GPU) +(iGraph#an incremental data processing system for dynamic graph) +(iMapReduce#A Distributed Computing Framework for Iterative Computation) +(iPregel#A Combiner-Based In-Memory Shared Memory Vertex-Centric Framework) +(iTurboGraph#Scaling and Audstmating Incremental Graph Analytics) +(xDGP#A Dynamic Graph Processing System with Adaptive Partitioning) + +Relationships: +(A1#引用#Trinity#论文A1引用论文Trinity) +(ASPIRE#引用#Ligra#论文ASPIRE引用论文Ligra) +(AeonG#引用#Auxo#论文AeonG引用论文Auxo) +(AeonG#引用#G-Tran#论文AeonG引用论文G-Tran) +(AeonG#引用#Gradoop#论文AeonG引用论文Gradoop) +(AeonG#引用#Graphflow#论文AeonG引用论文Graphflow) +(AeonG#引用#LiveGraph#论文AeonG引用论文LiveGraph) +(AsynGraph#引用#DiGraph#论文AsynGraph引用论文DiGraph) +(AsynGraph#引用#Garaph#论文AsynGraph引用论文Garaph) +(AsynGraph#引用#Maiter#论文AsynGraph引用论文Maiter) +(AsynGraph#引用#Tigr#论文AsynGraph引用论文Tigr) +(Auxo#引用#Chronos#论文Auxo引用论文Chronos) +(BG3#引用#ByteGraph#论文BG3引用论文ByteGraph) +(Blaze#引用#Lumos#论文Blaze引用论文Lumos) +(BlitzG#引用#DD-Graph#论文BlitzG引用论文DD-Graph) +(BlitzG#引用#GRAM#论文BlitzG引用论文GRAM) +(BlitzG#引用#GoFFish#论文BlitzG引用论文GoFFish) +(BlitzG#引用#MOCgraph#论文BlitzG引用论文MOCgraph) +(BlitzG#引用#Seraph#论文BlitzG引用论文Seraph) +(Blogel#引用#Giraph#论文Blogel引用数据库Giraph) +(Blogel#引用#PowerGraph#论文Blogel引用论文PowerGraph) +(ByteGraph#引用#G-Tran#论文ByteGraph引用论文G-Tran) +(ByteGraph#引用#Graphflow#论文ByteGraph引用论文Graphflow) +(ByteGraph#引用#LiveGraph#论文ByteGraph引用论文LiveGraph) +(CGgraph#引用#GPOP#论文CGgraph引用论文GPOP) +(CGgraph#引用#HyTGraph#论文CGgraph引用论文HyTGraph) +(CGgraph#引用#LargeGraph#论文CGgraph引用论文LargeGraph) +(CGraph#引用#GRAM#论文CGraph引用论文GRAM) +(CGraph#引用#HUS-Graph#论文CGraph引用论文HUS-Graph) +(CGraph#引用#MOSAIC#论文CGraph引用论文MOSAIC) +(CGraph#引用#NXgraph#论文CGraph引用论文NXgraph) +(CGraph#引用#Seraph#论文CGraph引用论文Seraph) +(CGraph#引用#Version Traveler#论文CGraph引用论文Version Traveler) +(CSMqGraph#引用#Graphene#论文CSMqGraph引用论文Graphene) +(CSMqGraph#引用#HGraph#论文CSMqGraph引用论文HGraph) +(CSMqGraph#引用#NXgraph#论文CSMqGraph引用论文NXgraph) +(Chaos#引用#GRAM#论文Chaos引用论文GRAM) +(Chaos#引用#GridGraph#论文Chaos引用论文GridGraph) +(Chronograph#引用#ImmortalGraph#论文Chronograph引用论文ImmortalGraph) +(Chronos#引用#Ligra#论文Chronos引用论文Ligra) +(Chronos#引用#Naiad#论文Chronos引用论文Naiad) +(CLIP#引用#Graphene#论文CLIP引用论文Graphene) +(CoRAL#引用#ASPIRE#论文CoRAL引用论文ASPIRE) +(CoRAL#引用#Trinity#论文CoRAL引用论文Trinity) +(CommonGraph#引用#GraphOne#论文CommonGraph引用论文GraphOne) +(CommonGraph#引用#JetStream#论文CommonGraph引用论文JetStream) +(CommonGraph#引用#TDGraph#论文CommonGraph引用论文TDGraph) +(CommonGraph#引用#Tripoline#论文CommonGraph引用论文Tripoline) +(CuSha#引用#Medusa#论文CuSha引用论文Medusa) +(Cymbalo#引用#GraphD#论文Cymbalo引用论文GraphD) +(Cymbalo#引用#Wonderland#论文Cymbalo引用论文Wonderland) +(D2Graph#引用#GraphMP(2)#论文D2Graph引用论文GraphMP(2)) +(D2Graph#引用#Graphene#论文D2Graph引用论文Graphene) +(D2Graph#引用#MMap#论文D2Graph引用论文MMap) +(D2Graph#引用#WolfGraph#论文D2Graph引用论文WolfGraph) +(DD-Graph#引用#Chaos#论文DD-Graph引用论文Chaos) +(DFOGraph#引用#HGraph#论文DFOGraph引用论文HGraph) +(DFOGraph#引用#HybridGraph#论文DFOGraph引用论文HybridGraph) +(DFOGraph#引用#Lumos#论文DFOGraph引用论文Lumos) +(DZiG#引用#GraphOne#论文DZiG引用论文GraphOne) +(DZiG#引用#ImmortalGraph#论文DZiG引用论文ImmortalGraph) +(DZiG#引用#Lumos#论文DZiG引用论文Lumos) +(DepGraph#引用#AsynGraph#论文DepGraph引用论文AsynGraph) +(DepGraph#引用#GGraph#论文DepGraph引用论文GGraph) +(DepGraph#引用#GraphABCD#论文DepGraph引用论文GraphABCD) +(DepGraph#引用#GraphM#论文DepGraph引用论文GraphM) +(DepGraph#引用#GraphPIM#论文DepGraph引用论文GraphPIM) +(DepGraph#引用#GraphR#论文DepGraph引用论文GraphR) +(DepGraph#引用#NGraph#论文DepGraph引用论文NGraph) +(DiGraph#引用#FBSGraph#论文DiGraph引用论文FBSGraph) +(DiGraph#引用#GraphGrind#论文DiGraph引用论文GraphGrind) +(DiGraph#引用#Graphie#论文DiGraph引用论文Graphie) +(DiGraph#引用#HotGraph#论文DiGraph引用论文HotGraph) +(DiGraph#引用#NXgraph#论文DiGraph引用论文NXgraph) +(DiGraph#引用#ReGraph#论文DiGraph引用论文ReGraph) +(DiGraph#引用#Wonderland#论文DiGraph引用论文Wonderland) +(Differential dataflow#引用#Pregel#论文Differential dataflow引用论文Pregel) +(Differential dataflow#引用#iMapReduce#论文Differential dataflow引用论文iMapReduce) +(Distributed GraphLab#引用#PrIter#论文Distributed GraphLab引用论文PrIter) +(DiterGraph#引用#HybridGraph#论文DiterGraph引用论文HybridGraph) +(DynamoGraph#引用#ImmortalGraph#论文DynamoGraph引用论文ImmortalGraph) +(EGraph#引用#DZiG#论文EGraph引用论文DZiG) +(EGraph#引用#DiGraph#论文EGraph引用论文DiGraph) +(EGraph#引用#GraphTinker#论文EGraph引用论文GraphTinker) +(EPGraph#引用#D2Graph#论文EPGraph引用论文D2Graph) +(EPGraph#引用#DFOGraph#论文EPGraph引用论文DFOGraph) +(EPGraph#引用#HyVE#论文EPGraph引用论文HyVE) +(EmptyHeaded#引用#GraphX#论文EmptyHeaded引用论文GraphX) +(EmptyHeaded#引用#Ligra#论文EmptyHeaded引用论文Ligra) +(FBSGraph#引用#CoRAL#论文FBSGraph引用论文CoRAL) +(FBSGraph#引用#PowerLyra#论文FBSGraph引用论文PowerLyra) +(FBSGraph#引用#Pregelix#论文FBSGraph引用论文Pregelix) +(Fargraph+#引用#GraphCP#论文Fargraph+引用论文GraphCP) +(Fargraph+#引用#HUS-Graph#论文Fargraph+引用论文HUS-Graph) +(FENNEL#引用#PowerGraph#论文FENNEL引用论文PowerGraph) +(FOG#引用#FlashGraph#论文FOG引用论文FlashGraph) +(FOG#引用#GridGraph#论文FOG引用论文GridGraph) +(FlashGraph#引用#Maiter#论文FlashGraph引用论文Maiter) +(FlashGraph#引用#TurboGraph#论文FlashGraph引用论文TurboGraph) +(ForeGraph#引用#Gemini#论文ForeGraph引用论文Gemini) +(ForeGraph#引用#GraVF#论文ForeGraph引用论文GraVF) +(ForeGraph#引用#GraphGen#论文ForeGraph引用论文GraphGen) +(ForeGraph#引用#NXgraph#论文ForeGraph引用论文NXgraph) +(Frog#引用#CuSha#论文Frog引用论文CuSha) +(Frog#引用#Ligra#论文Frog引用论文Ligra) +(Frog#引用#X-Stream#论文Frog引用论文X-Stream) +(G-Sdstre#引用#Chaos#论文G-Sdstre引用论文Chaos) +(G-Tran#引用#A1#论文G-Tran引用论文A1) +(G-Tran#引用#PowerLyra#论文G-Tran引用论文PowerLyra) +(G-Tran#引用#SGraph#论文G-Tran引用论文SGraph) +(G-Tran#引用#TigerGraph#论文G-Tran引用数据库TigerGraph) +(G-Tran#引用#Weaver#论文G-Tran引用论文Weaver) +(GBASE#引用#Pregel#论文GBASE引用论文Pregel) +(GFlink#引用#Medusa#论文GFlink引用论文Medusa) +(GGraph#引用#FBSGraph#论文GGraph引用论文FBSGraph) +(GGraph#引用#GrapH#论文GGraph引用论文GrapH) +(GGraph#引用#GraphA#论文GGraph引用论文GraphA) +(GGraph#引用#GraphM#论文GGraph引用论文GraphM) +(GGraph#引用#HGraph#论文GGraph引用论文HGraph) +(GGraph#引用#HUS-Graph#论文GGraph引用论文HUS-Graph) +(GPOP#引用#GoFFish#论文GPOP引用论文GoFFish) +(GPOP#引用#GridGraph#论文GPOP引用论文GridGraph) +(GPS#引用#iMapReduce#论文GPS引用论文iMapReduce) +(Gradoop#引用#Raphdstry#论文Gradoop引用论文Raphdstry) +(GRAM#引用#PowerLyra#论文GRAM引用论文PowerLyra) +(GRAPE#引用#Blogel#论文GRAPE引用论文Blogel) +(GStream#引用#CuSha#论文GStream引用论文CuSha) +(GStream#引用#Trinity#论文GStream引用论文Trinity) +(GStream#引用#TurboGraph#论文GStream引用论文TurboGraph) +(Garaph#引用#Chaos#论文Garaph引用论文Chaos) +(Garaph#引用#CuSha#论文Garaph引用论文CuSha) +(Garaph#引用#GStream#论文Garaph引用论文GStream) +(Garaph#引用#Gemini#论文Garaph引用论文Gemini) +(GasCL#引用#Medusa#论文GasCL引用论文Medusa) +(GasCL#引用#X-Stream#论文GasCL引用论文X-Stream) +(GeaFlow#引用#ByteGraph#论文GeaFlow引用论文ByteGraph) +(GeaFlow#引用#RisGraph#论文GeaFlow引用论文RisGraph) +(GeaFlow#引用#TuGraph#论文GeaFlow引用数据库TuGraph) +(GeaFlow#引用#iGraph#论文GeaFlow引用论文iGraph) +(Gemini#引用#GridGraph#论文Gemini引用论文GridGraph) +(Gemini#引用#LazyGraph#论文Gemini引用论文LazyGraph) +(Giraph Unchained#引用#Pregelix#论文Giraph Unchained引用论文Pregelix) +(Giraph#引用#Graph Database#数据库Giraph引用数据库Graph Database) +(GoFFish#引用#Trinity#论文GoFFish引用论文Trinity) +(GraPU#引用#Gemini#论文GraPU引用论文Gemini) +(GraPU#引用#GoFFish#论文GraPU引用论文GoFFish) +(GraPU#引用#KickStarter#论文GraPU引用论文KickStarter) +(GraPU#引用#Tigr#论文GraPU引用论文Tigr) +(GraPU#引用#Version Traveler#论文GraPU引用论文Version Traveler) +(GraPU#引用#Wonderland#论文GraPU引用论文Wonderland) +(GraPU#引用#Zorro#论文GraPU引用论文Zorro) +(GraVF#引用#GraphGen#论文GraVF引用论文GraphGen) +(GrapH#引用#GridGraph#论文GrapH引用论文GridGraph) +(Graph3S#引用#Graphene#论文Graph3S引用论文Graphene) +(Graph3S#引用#HybridGraph#论文Graph3S引用论文HybridGraph) +(GraphA#引用#GFlink#论文GraphA引用论文GFlink) +(GraphA#引用#GraphR#论文GraphA引用论文GraphR) +(GraphABCD#引用#CLIP#论文GraphABCD引用论文CLIP) +(GraphABCD#引用#ForeGraph#论文GraphABCD引用论文ForeGraph) +(GraphABCD#引用#GraphP#论文GraphABCD引用论文GraphP) +(GraphABCD#引用#Tigr#论文GraphABCD引用论文Tigr) +(GraphABCD#引用#Wonderland#论文GraphABCD引用论文Wonderland) +(GraphBolt#引用#GraphIn#论文GraphBolt引用论文GraphIn) +(GraphBolt#引用#KickStarter#论文GraphBolt引用论文KickStarter) +(GraphBuilder#引用#Trinity#论文GraphBuilder引用论文Trinity) +(GraphCP#引用#CGraph#论文GraphCP引用论文CGraph) +(GraphCP#引用#GraphM#论文GraphCP引用论文GraphM) +(GraphCP#引用#GraphZ#论文GraphCP引用论文GraphZ) +(GraphCP#引用#Seraph#论文GraphCP引用论文Seraph) +(GraphCP#引用#VENUS#论文GraphCP引用论文VENUS) +(GraphCage#引用#GraphMat#论文GraphCage引用论文GraphMat) +(GraphCage#引用#GraphPhi#论文GraphCage引用论文GraphPhi) +(GraphChi#引用#GPS#论文GraphChi引用论文GPS) +(GraphChi#引用#PowerGraph#论文GraphChi引用论文PowerGraph) +(GraphD#引用#Blogel#论文GraphD引用论文Blogel) +(GraphD#引用#G-Sdstre#论文GraphD引用论文G-Sdstre) +(GraphD#引用#Pregelix#论文GraphD引用论文Pregelix) +(GraphD#引用#VENUS#论文GraphD引用论文VENUS) +(GraphDuo#引用#GrapH#论文GraphDuo引用论文GrapH) +(GraphDuo#引用#GraphD#论文GraphDuo引用论文GraphD) +(GraphDuo#引用#GraphIn#论文GraphDuo引用论文GraphIn) +(GraphDuo#引用#GraphP#论文GraphDuo引用论文GraphP) +(GraphDuo#引用#Wonderland#论文GraphDuo引用论文Wonderland) +(GraphFly#引用#LiveGraph#论文GraphFly引用论文LiveGraph) +(GraphFly#引用#ScalaGraph#论文GraphFly引用论文ScalaGraph) +(GraphFly#引用#Tripoline#论文GraphFly引用论文Tripoline) +(GraphGen#引用#GraphChi#论文GraphGen引用论文GraphChi) +(GraphGrind#引用#Ligra#论文GraphGrind引用论文Ligra) +(GraphH(1)#引用#Chaos#论文GraphH(1)引用论文Chaos) +(GraphH(1)#引用#MOCgraph#论文GraphH(1)引用论文MOCgraph) +(GraphH(2)#引用#Garaph#论文GraphH(2)引用论文Garaph) +(GraphH(2)#引用#GraphPIM#论文GraphH(2)引用论文GraphPIM) +(GraphH(2)#引用#MOCgraph#论文GraphH(2)引用论文MOCgraph) +(GraphH(2)#引用#NXgraph#论文GraphH(2)引用论文NXgraph) +(GraphIA#引用#Gemini#论文GraphIA引用论文Gemini) +(GraphIA#引用#GraphH(2)#论文GraphIA引用论文GraphH(2)) +(GraphIA#引用#GraphP#论文GraphIA引用论文GraphP) +(GraphIA#引用#NXgraph#论文GraphIA引用论文NXgraph) +(GraphIn#引用#GraphMat#论文GraphIn引用论文GraphMat) +(GraphIn#引用#GraphReduce#论文GraphIn引用论文GraphReduce) +(GraphIn#引用#STINGER#论文GraphIn引用论文STINGER) +(GraphLab#引用#Pregel#论文GraphLab引用论文Pregel) +(GraphM#引用#DiGraph#论文GraphM引用论文DiGraph) +(GraphM#引用#GraphR#论文GraphM引用论文GraphR) +(GraphM#引用#Lumos#论文GraphM引用论文Lumos) +(GraphMP(1)#引用#GraphD#论文GraphMP(1)引用论文GraphD) +(GraphMP(1)#引用#GraphH(1)#论文GraphMP(1)引用论文GraphH(1)) +(GraphMP(1)#引用#MOSAIC#论文GraphMP(1)引用论文MOSAIC) +(GraphMP(2)#引用#GraphMP(1)#论文GraphMP(2)引用论文GraphMP(1)) +(GraphMap#引用#DiGraph#论文GraphMap引用论文DiGraph) +(GraphMap#引用#GraphD#论文GraphMap引用论文GraphD) +(GraphMap#引用#GraphTwist#论文GraphMap引用论文GraphTwist) +(GraphMap#引用#Pregelix#论文GraphMap引用论文Pregelix) +(GraphMat#引用#GraphX#论文GraphMat引用论文GraphX) +(GraphMat#引用#MapGraph#论文GraphMat引用论文MapGraph) +(GraphOne#引用#GBASE#论文GraphOne引用论文GBASE) +(GraphOne#引用#GraPU#论文GraphOne引用论文GraPU) +(GraphOne#引用#GraphBolt#论文GraphOne引用论文GraphBolt) +(GraphOne#引用#GraphD#论文GraphOne引用论文GraphD) +(GraphOne#引用#Graphene#论文GraphOne引用论文Graphene) +(GraphOne#引用#MOSAIC#论文GraphOne引用论文MOSAIC) +(GraphOne#引用#TIDE#论文GraphOne引用论文TIDE) +(GraphP#引用#GraphPIM#论文GraphP引用论文GraphPIM) +(GraphP#引用#GridGraph#论文GraphP引用论文GridGraph) +(GraphPEG#引用#DiGraph#论文GraphPEG引用论文DiGraph) +(GraphPEG#引用#GraphCage#论文GraphPEG引用论文GraphCage) +(GraphPEG#引用#Tigr#论文GraphPEG引用论文Tigr) +(GraphPIM#引用#GraphChi#论文GraphPIM引用论文GraphChi) +(GraphPhi#引用#GraphReduce#论文GraphPhi引用论文GraphReduce) +(GraphPhi#引用#Graphie#论文GraphPhi引用论文Graphie) +(GraphPulse#引用#FBSGraph#论文GraphPulse引用论文FBSGraph) +(GraphPulse#引用#GraphPIM#论文GraphPulse引用论文GraphPIM) +(GraphPulse#引用#Maiter#论文GraphPulse引用论文Maiter) +(GraphQ#引用#X-Stream#论文GraphQ引用论文X-Stream) +(GraphR#引用#GraphPIM#论文GraphR引用论文GraphPIM) +(GraphR#引用#GridGraph#论文GraphR引用论文GridGraph) +(GraphReduce#引用#CuSha#论文GraphReduce引用论文CuSha) +(GraphReduce#引用#MapGraph#论文GraphReduce引用论文MapGraph) +(GraphReduce#引用#X-Stream#论文GraphReduce引用论文X-Stream) +(GraphSD#引用#Giraph Unchained#论文GraphSD引用论文Giraph Unchained) +(GraphSD#引用#GraphZ#论文GraphSD引用论文GraphZ) +(GraphSD#引用#Lumos#论文GraphSD引用论文Lumos) +(GraphSD#引用#MultiLogVC#论文GraphSD引用论文MultiLogVC) +(GraphScSh#引用#CGraph#论文GraphScSh引用论文CGraph) +(GraphScSh#引用#HGraph#论文GraphScSh引用论文HGraph) +(GraphScope#引用#A1#论文GraphScope引用论文A1) +(GraphScope#引用#EmptyHeaded#论文GraphScope引用论文EmptyHeaded) +(GraphScope#引用#FENNEL#论文GraphScope引用论文FENNEL) +(GraphScope#引用#Gemini#论文GraphScope引用论文Gemini) +(GraphTides#引用#Chronograph#论文GraphTides引用论文Chronograph) +(GraphTides#引用#GoFFish#论文GraphTides引用论文GoFFish) +(GraphTides#引用#KickStarter#论文GraphTides引用论文KickStarter) +(GraphTides#引用#Weaver#论文GraphTides引用论文Weaver) +(GraphTinker#引用#GraphIn#论文GraphTinker引用论文GraphIn) +(GraphTune#引用#CGraph#论文GraphTune引用论文CGraph) +(GraphTune#引用#Giraph Unchained#论文GraphTune引用论文Giraph Unchained) +(GraphTune#引用#GraphM#论文GraphTune引用论文GraphM) +(GraphTwist#引用#GraphX#论文GraphTwist引用论文GraphX) +(GraphTwist#引用#TurboGraph#论文GraphTwist引用论文TurboGraph) +(GraphX#引用#PowerGraph#论文GraphX引用论文PowerGraph) +(GraphZ#引用#Gemini#论文GraphZ引用论文Gemini) +(Graphene#引用#Chaos#论文Graphene引用论文Chaos) +(Graphene#引用#GRE#论文Graphene引用论文GRE) +(Graphene#引用#Maiter#论文Graphene引用论文Maiter) +(Graphene#引用#Wonderland#论文Graphene引用论文Wonderland) +(Graphflow#引用#Neo4j#论文Graphflow引用数据库Neo4j) +(Graphie#引用#PathGraph#论文Graphie引用论文PathGraph) +(Graphie#引用#PowerLyra#论文Graphie引用论文PowerLyra) +(Graspan#引用#ASPIRE#论文Graspan引用论文ASPIRE) +(Graspan#引用#GridGraph#论文Graspan引用论文GridGraph) +(Grasper#引用#GraphD#论文Grasper引用论文GraphD) +(GRE#引用#Mizan#论文GRE引用论文Mizan) +(GRE#引用#X-Stream#论文GRE引用论文X-Stream) +(GridGraph#引用#FlashGraph#论文GridGraph引用论文FlashGraph) +(GridGraph#引用#GraphQ#论文GridGraph引用论文GraphQ) +(GridGraph#引用#LightGraph#论文GridGraph引用论文LightGraph) +(GridGraph#引用#MMap#论文GridGraph引用论文MMap) +(GridGraph#引用#PowerLyra#论文GridGraph引用论文PowerLyra) +(Groute#引用#Graphie#论文Groute引用论文Graphie) +(HGraph#引用#Blogel#论文HGraph引用论文Blogel) +(HGraph#引用#GBASE#论文HGraph引用论文GBASE) +(HGraph#引用#GRE#论文HGraph引用论文GRE) +(HGraph#引用#LFGraph#论文HGraph引用论文LFGraph) +(HGraph#引用#Pregelix#论文HGraph引用论文Pregelix) +(HGraph#引用#Seraph#论文HGraph引用论文Seraph) +(HPGraph#引用#MMap#论文HPGraph引用论文MMap) +(HUS-Graph#引用#BlitzG#论文HUS-Graph引用论文BlitzG) +(HUS-Graph#引用#Gemini#论文HUS-Graph引用论文Gemini) +(HUS-Graph#引用#Graphene#论文HUS-Graph引用论文Graphene) +(HUS-Graph#引用#LCC-Graph#论文HUS-Graph引用论文LCC-Graph) +(HipG#引用#Pregel#论文HipG引用论文Pregel) +(HitGraph#引用#GraphMat#论文HitGraph引用论文GraphMat) +(HitGraph#引用#Graphie#论文HitGraph引用论文Graphie) +(HitGraph#引用#HyVE#论文HitGraph引用论文HyVE) +(HitGraph#引用#ThunderGP#论文HitGraph引用论文ThunderGP) +(HotGraph#引用#GridGraph#论文HotGraph引用论文GridGraph) +(HyTGraph#引用#DiGraph#论文HyTGraph引用论文DiGraph) +(HyTGraph#引用#Scaph#论文HyTGraph引用论文Scaph) +(HyTGraph#引用#Subway#论文HyTGraph引用论文Subway) +(HyVE#引用#GraphR#论文HyVE引用论文GraphR) +(HyVE#引用#NXgraph#论文HyVE引用论文NXgraph) +(HybridGraph#引用#GraphD#论文HybridGraph引用论文GraphD) +(HybridGraph#引用#GRE#论文HybridGraph引用论文GRE) +(ImmortalGraph#引用#PowerLyra#论文ImmortalGraph引用论文PowerLyra) +(JanusGraph#引用#Graph Database#数据库JanusGraph引用数据库Graph Database) +(JetStream#引用#ForeGraph#论文JetStream引用论文ForeGraph) +(JetStream#引用#GraphIn#论文JetStream引用论文GraphIn) +(JetStream#引用#GraphP#论文JetStream引用论文GraphP) +(JetStream#引用#GraphPulse#论文JetStream引用论文GraphPulse) +(JetStream#引用#Tripoline#论文JetStream引用论文Tripoline) +(JetStream#引用#Version Traveler#论文JetStream引用论文Version Traveler) +(KickStarter#引用#Chaos#论文KickStarter引用论文Chaos) +(KickStarter#引用#Graspan#论文KickStarter引用论文Graspan) +(KickStarter#引用#STINGER#论文KickStarter引用论文STINGER) +(KickStarter#引用#dstrnado#论文KickStarter引用论文dstrnado) +(Kineograph#引用#HaLoop#论文Kineograph引用论文HaLoop) +(Kineograph#引用#Neo4j#论文Kineograph引用数据库Neo4j) +(Kineograph#引用#Pregel#论文Kineograph引用论文Pregel) +(L-PowerGraph#引用#GraphD#论文L-PowerGraph引用论文GraphD) +(L-PowerGraph#引用#GrapH#论文L-PowerGraph引用论文GrapH) +(LCC-Graph#引用#Giraph Unchained#论文LCC-Graph引用论文Giraph Unchained) +(LCC-Graph#引用#X-Stream#论文LCC-Graph引用论文X-Stream) +(LFGraph#引用#Trinity#论文LFGraph引用论文Trinity) +(LLAMA#引用#Chronos#论文LLAMA引用论文Chronos) +(LLAMA#引用#TurboGraph#论文LLAMA引用论文TurboGraph) +(LOSC#引用#Gemini#论文LOSC引用论文Gemini) +(LOSC#引用#LCC-Graph#论文LOSC引用论文LCC-Graph) +(LSGraph#引用#DepGraph#论文LSGraph引用论文DepGraph) +(LSGraph#引用#GraphPulse#论文LSGraph引用论文GraphPulse) +(LSGraph#引用#LiveGraph#论文LSGraph引用论文LiveGraph) +(LSGraph#引用#Tripoline#论文LSGraph引用论文Tripoline) +(LargeGraph#引用#DepGraph#论文LargeGraph引用论文DepGraph) +(LazyGraph#引用#Frog#论文LazyGraph引用论文Frog) +(LazyGraph#引用#GRAM#论文LazyGraph引用论文GRAM) +(LazyGraph#引用#LLAMA#论文LazyGraph引用论文LLAMA) +(LazyGraph#引用#Medusa#论文LazyGraph引用论文Medusa) +(LazyGraph#引用#NScale#论文LazyGraph引用论文NScale) +(LazyGraph#引用#PGX.D#论文LazyGraph引用论文PGX.D) +(LightGraph#引用#Ligra#论文LightGraph引用论文Ligra) +(LightGraph#引用#TurboGraph#论文LightGraph引用论文TurboGraph) +(Ligra#引用#Giraph#论文Ligra引用数据库Giraph) +(Ligra#引用#GraphChi#论文Ligra引用论文GraphChi) +(LiveGraph#引用#GraphOne#论文LiveGraph引用论文GraphOne) +(LiveGraph#引用#ImmortalGraph#论文LiveGraph引用论文ImmortalGraph) +(LiveGraph#引用#Weaver#论文LiveGraph引用论文Weaver) +(Lumos#引用#Garaph#论文Lumos引用论文Garaph) +(Lumos#引用#GraphBolt#论文Lumos引用论文GraphBolt) +(Lumos#引用#Graphene#论文Lumos引用论文Graphene) +(Lumos#引用#MOSAIC#论文Lumos引用论文MOSAIC) +(MMap#引用#TurboGraph#论文MMap引用论文TurboGraph) +(MMap#引用#X-Stream#论文MMap引用论文X-Stream) +(Maiter#引用#PowerGraph#论文Maiter引用论文PowerGraph) +(MapGraph#引用#PowerGraph#论文MapGraph引用论文PowerGraph) +(Medusa#引用#GraphChi#论文Medusa引用论文GraphChi) +(Mizan#引用#HipG#论文Mizan引用论文HipG) +(Mizan#引用#Trinity#论文Mizan引用论文Trinity) +(MOCgraph#引用#Mizan#论文MOCgraph引用论文Mizan) +(MOCgraph#引用#TurboGraph#论文MOCgraph引用论文TurboGraph) +(MOSAIC#引用#G-Sdstre#论文MOSAIC引用论文G-Sdstre) +(MOSAIC#引用#GraphReduce#论文MOSAIC引用论文GraphReduce) +(MultiLogVC#引用#Wonderland#论文MultiLogVC引用论文Wonderland) +(NGraph#引用#GraphGrind#论文NGraph引用论文GraphGrind) +(NGraph#引用#Seraph#论文NGraph引用论文Seraph) +(NPGraph#引用#EPGraph#论文NPGraph引用论文EPGraph) +(NPGraph#引用#GraphMP(2)#论文NPGraph引用论文GraphMP(2)) +(NPGraph#引用#XPGraph#论文NPGraph引用论文XPGraph) +(NScale#引用#Trinity#论文NScale引用论文Trinity) +(Naiad#引用#Differential dataflow#论文Naiad引用论文Differential dataflow) +(Naiad#引用#GraphX#论文Naiad引用论文GraphX) +(Neo4j#引用#Graph Database#数据库Neo4j引用数据库Graph Database) +(NXgraph#引用#GBASE#论文NXgraph引用论文GBASE) +(NXgraph#引用#GridGraph#论文NXgraph引用论文GridGraph) +(NXgraph#引用#HipG#论文NXgraph引用论文HipG) +(NXgraph#引用#MMap#论文NXgraph引用论文MMap) +(PGAbB#引用#GBASE#论文PGAbB引用论文GBASE) +(PGAbB#引用#Garaph#论文PGAbB引用论文Garaph) +(PGX.D#引用#Distributed GraphLab#论文PGX.D引用论文Distributed GraphLab) +(PGX.D#引用#GraphX#论文PGX.D引用论文GraphX) +(PGX.D#引用#STINGER#论文PGX.D引用论文STINGER) +(PartitionedVC#引用#GraphMP(1)#论文PartitionedVC引用论文GraphMP(1)) +(PartitionedVC#引用#Lumos#论文PartitionedVC引用论文Lumos) +(PathGraph#引用#Medusa#论文PathGraph引用论文Medusa) +(Pimiendst#引用#FOG#论文Pimiendst引用论文FOG) +(Pimiendst#引用#Gemini#论文Pimiendst引用论文Gemini) +(Pimiendst#引用#NXgraph#论文Pimiendst引用论文NXgraph) +(Pimiendst#引用#VENUS#论文Pimiendst引用论文VENUS) +(PowerGraph#引用#Distributed GraphLab#论文PowerGraph引用论文Distributed GraphLab) +(PowerGraph#引用#Kineograph#论文PowerGraph引用论文Kineograph) +(PowerLyra#引用#Blogel#论文PowerLyra引用论文Blogel) +(PowerLyra#引用#Chronos#论文PowerLyra引用论文Chronos) +(PowerLyra#引用#GraphBuilder#论文PowerLyra引用论文GraphBuilder) +(PowerLyra#引用#LFGraph#论文PowerLyra引用论文LFGraph) +(PowerLyra#引用#Mizan#论文PowerLyra引用论文Mizan) +(PowerLyra#引用#X-Stream#论文PowerLyra引用论文X-Stream) +(PrIter#引用#GraphLab#论文PrIter引用论文GraphLab) +(Pregelix#引用#Trinity#论文Pregelix引用论文Trinity) +(Quegel#引用#Blogel#论文Quegel引用论文Blogel) +(Quegel#引用#GraphX#论文Quegel引用论文GraphX) +(Quegel#引用#Trinity#论文Quegel引用论文Trinity) +(Raphdstry#引用#GraphTides#论文Raphdstry引用论文GraphTides) +(ReGraph#引用#Gemini#论文ReGraph引用论文Gemini) +(ReGraph#引用#GoFFish#论文ReGraph引用论文GoFFish) +(ReGraph#引用#HitGraph#论文ReGraph引用论文HitGraph) +(Ringo#引用#TurboGraph#论文Ringo引用论文TurboGraph) +(RisGraph#引用#GraphOne#论文RisGraph引用论文GraphOne) +(RisGraph#引用#ImmortalGraph#论文RisGraph引用论文ImmortalGraph) +(RisGraph#引用#Lumos#论文RisGraph引用论文Lumos) +(SGraph#引用#Giraph#论文SGraph引用数据库Giraph) +(SGraph#引用#GraphBuilder#论文SGraph引用论文GraphBuilder) +(SaGraph#引用#EGraph#论文SaGraph引用论文EGraph) +(SaGraph#引用#ScalaGraph#论文SaGraph引用论文ScalaGraph) +(ScalaGraph#引用#GraphABCD#论文ScalaGraph引用论文GraphABCD) +(ScalaGraph#引用#GraphPulse#论文ScalaGraph引用论文GraphPulse) +(ScalaGraph#引用#Scaph#论文ScalaGraph引用论文Scaph) +(ScalaGraph#引用#Subway#论文ScalaGraph引用论文Subway) +(ScalaGraph#引用#ThunderGP#论文ScalaGraph引用论文ThunderGP) +(ScaleG#引用#GraphD#论文ScaleG引用论文GraphD) +(ScaleG#引用#HGraph#论文ScaleG引用论文HGraph) +(ScaleG#引用#Medusa#论文ScaleG引用论文Medusa) +(ScaleG#引用#NXgraph#论文ScaleG引用论文NXgraph) +(Scaph#引用#GraphPhi#论文Scaph引用论文GraphPhi) +(Scaph#引用#Lumos#论文Scaph引用论文Lumos) +(Seraph#引用#Trinity#论文Seraph引用论文Trinity) +(ShenTu#引用#Gemini#论文ShenTu引用论文Gemini) +(ShenTu#引用#Graphene#论文ShenTu引用论文Graphene) +(ShenTu#引用#MOSAIC#论文ShenTu引用论文MOSAIC) +(Subway#引用#Garaph#论文Subway引用论文Garaph) +(Subway#引用#Graphie#论文Subway引用论文Graphie) +(SympleGraph#引用#Lumos#论文SympleGraph引用论文Lumos) +(TDGraph#引用#DepGraph#论文TDGraph引用论文DepGraph) +(TIDE#引用#GraphX#论文TIDE引用论文GraphX) +(TIDE#引用#Trinity#论文TIDE引用论文Trinity) +(TeGraph#引用#Auxo#论文TeGraph引用论文Auxo) +(TeGraph#引用#DynamoGraph#论文TeGraph引用论文DynamoGraph) +(TeGraph#引用#GraphTides#论文TeGraph引用论文GraphTides) +(TeGraph#引用#LiveGraph#论文TeGraph引用论文LiveGraph) +(TeGraph#引用#Lumos#论文TeGraph引用论文Lumos) +(TeGraph+#引用#Blaze#论文TeGraph+引用论文Blaze) +(TeGraph+#引用#CommonGraph#论文TeGraph+引用论文CommonGraph) +(TeGraph+#引用#GraphScope#论文TeGraph+引用论文GraphScope) +(TeGraph+#引用#Graphflow#论文TeGraph+引用论文Graphflow) +(TeGraph+#引用#SaGraph#论文TeGraph+引用论文SaGraph) +(TeGraph+#引用#TeGraph#论文TeGraph+引用论文TeGraph) +(Tegra#引用#GraphOne#论文Tegra引用论文GraphOne) +(Tegra#引用#GraphP#论文Tegra引用论文GraphP) +(Tegra#引用#ImmortalGraph#论文Tegra引用论文ImmortalGraph) +(Tegra#引用#Wonderland#论文Tegra引用论文Wonderland) +(ThunderGP#引用#Chaos#论文ThunderGP引用论文Chaos) +(ThunderGP#引用#ForeGraph#论文ThunderGP引用论文ForeGraph) +(TigerGraph#引用#Giraph#数据库TigerGraph引用数据库Giraph) +(TigerGraph#引用#JanusGraph#数据库TigerGraph引用数据库JanusGraph) +(TigerGraph#引用#PowerGraph#数据库TigerGraph引用论文PowerGraph) +(Tigr#引用#Giraph#论文Tigr引用数据库Giraph) +(Tigr#引用#GraphReduce#论文Tigr引用论文GraphReduce) +(dstrnado#引用#ASPIRE#论文dstrnado引用论文ASPIRE) +(dstrnado#引用#Naiad#论文dstrnado引用论文Naiad) +(dstrnado#引用#Trinity#论文dstrnado引用论文Trinity) +(Trinity#引用#Giraph#论文Trinity引用数据库Giraph) +(Trinity#引用#GraphChi#论文Trinity引用论文GraphChi) +(Tripoline#引用#Chaos#论文Tripoline引用论文Chaos) +(Tripoline#引用#FENNEL#论文Tripoline引用论文FENNEL) +(Tripoline#引用#GRAPE#论文Tripoline引用论文GRAPE) +(Tripoline#引用#Subway#论文Tripoline引用论文Subway) +(Tripoline#引用#Tigr#论文Tripoline引用论文Tigr) +(TuGraph#引用#JanusGraph#数据库TuGraph引用数据库JanusGraph) +(TuGraph#引用#Neo4j#数据库TuGraph引用数据库Neo4j) +(TurboGraph#引用#Trinity#论文TurboGraph引用论文Trinity) +(VENUS#引用#GasCL#论文VENUS引用论文GasCL) +(VENUS#引用#MOCgraph#论文VENUS引用论文MOCgraph) +(VGL#引用#CuSha#论文VGL引用论文CuSha) +(VGL#引用#Ligra#论文VGL引用论文Ligra) +(Version Traveler#引用#LFGraph#论文Version Traveler引用论文LFGraph) +(Version Traveler#引用#LLAMA#论文Version Traveler引用论文LLAMA) +(Version Traveler#引用#MOCgraph#论文Version Traveler引用论文MOCgraph) +(Version Traveler#引用#Ringo#论文Version Traveler引用论文Ringo) +(Version Traveler#引用#X-Stream#论文Version Traveler引用论文X-Stream) +(VeilGraph#引用#dstrnado#论文VeilGraph引用论文dstrnado) +(Weaver#引用#Blogel#论文Weaver引用论文Blogel) +(Weaver#引用#GraphX#论文Weaver引用论文GraphX) +(Weaver#引用#GridGraph#论文Weaver引用论文GridGraph) +(Weaver#引用#MOCgraph#论文Weaver引用论文MOCgraph) +(Weaver#引用#Pregelix#论文Weaver引用论文Pregelix) +(WolfGraph#引用#Frog#论文WolfGraph引用论文Frog) +(WolfGraph#引用#Graphie#论文WolfGraph引用论文Graphie) +(WolfGraph#引用#Tigr#论文WolfGraph引用论文Tigr) +(WolfGraph#引用#Wonderland#论文WolfGraph引用论文Wonderland) +(Wonderland#引用#G-Sdstre#论文Wonderland引用论文G-Sdstre) +(Wonderland#引用#Gemini#论文Wonderland引用论文Gemini) +(Wonderland#引用#KickStarter#论文Wonderland引用论文KickStarter) +(X-Stream#引用#GraphChi#论文X-Stream引用论文GraphChi) +(XPGraph#引用#FENNEL#论文XPGraph引用论文FENNEL) +(XPGraph#引用#GraphIn#论文XPGraph引用论文GraphIn) +(XPGraph#引用#GraphOne#论文XPGraph引用论文GraphOne) +(XPGraph#引用#Graphene#论文XPGraph引用论文Graphene) +(XPGraph#引用#LiveGraph#论文XPGraph引用论文LiveGraph) +(XPGraph#引用#Lumos#论文XPGraph引用论文Lumos) +(XPGraph#引用#faimGraph#论文XPGraph引用论文faimGraph) +(Zorro#引用#LFGraph#论文Zorro引用论文LFGraph) +(Zorro#引用#LLAMA#论文Zorro引用论文LLAMA) +(Zorro#引用#X-Stream#论文Zorro引用论文X-Stream) +(faimGraph#引用#GasCL#论文faimGraph引用论文GasCL) +(iGraph#引用#Blogel#论文iGraph引用论文Blogel) +(iGraph#引用#X-Stream#论文iGraph引用论文X-Stream) +(iMapReduce#引用#HaLoop#论文iMapReduce引用论文HaLoop) +(iMapReduce#引用#PrIter#论文iMapReduce引用论文PrIter) +(iPregel#引用#GraphD#论文iPregel引用论文GraphD) +(iTurboGraph#引用#GraphD#论文iTurboGraph引用论文GraphD) +(iTurboGraph#引用#GraphOne#论文iTurboGraph引用论文GraphOne) +(xDGP#引用#Mizan#论文xDGP引用论文Mizan) \ No newline at end of file diff --git a/examples/test_files/tugraph.md b/examples/test_files/tugraph.md new file mode 100644 index 000000000..e04dccde4 --- /dev/null +++ b/examples/test_files/tugraph.md @@ -0,0 +1,286 @@ +# TuGraph +TuGraph图数据库由蚂蚁集团与清华大学联合研发,构建了一套包含图存储、图计算、图学习、图研发平台的完善的图技术体系,支持海量多源的关联数据的实时处理,显著提升数据分析效率,支撑了蚂蚁支付、安全、社交、公益、数据治理等300多个场景应用。拥有业界领先规模的图集群,解决了图数据分析面临的大数据量、高吞吐率和低延迟等重大挑战,是蚂蚁集团金融风控能力的重要基础设施,显著提升了欺诈洗钱等金融风险的实时识别能力和审理分析效率,并面向金融、工业、政务服务等行业客户。TuGraph产品家族中,开源产品包括:TuGraph DB、TuGraph Analytics、OSGraph、ChatTuGraph等。内源产品包括:GeaBase、GeaFlow、GeaLearn、GeaMaker等。 + +TuGraph企业级图数据管理平台提供对关联数据的复杂、深度分析功能。TuGraph以分布式集群架构,支持海量数据的高吞吐、高可用性、高并发读写和ACID事务操作。通过对数据的分片、分区,支持水平扩展,提供对点、边、属性、拓扑等结构的查询、过滤、索引等功能。TuGraph提供离线、近线、在线的图算法和图学习能力,内置数十种算法,能够对全图、子图、动态图的模式和特征进行处理,通过可视化或数据服务形式与外部数据源交互。此外,TuGraph提供可视化的展示和操作界面,覆盖图研发和服务的全生命周期,支持主流的图查询语言,提供便捷的访问和开发接口,能够与外部多模数据源进行导入导出、存量/增量/批量更新和备份。TuGraph还提供精美和实用的图生产环境管理监控,满足企业用户的技术和业务应用需要。 + +TuGraph在金融风控方面的应用实践主要包括个人信贷业务、反欺诈、洗钱路径追踪等问题。利用多维交叉关联信息深度刻画申请和交易行为,识别多种复杂、规模化、隐蔽性的欺诈网络和洗钱网络;结合聚类分析、风险传播等算法,实时计算用户的风险评分,在风险行为发生前预先识别,帮助金融机构提升效率、降低风险。基于TuGraph企业级图数据管理平台,蚂蚁集团增加反欺诈稽核金额6%,反洗钱风险审理分析效率提升90%。每天计算近10亿用户大约200亿左右边关系,对疑似团伙类犯罪风险识别能力提高近10倍。此外,为某银行提供的信贷图平台提升了13%的风控模型区分度;为某银行完成的信用卡申请团伙欺诈分析方案,运算时间缩短至原有的1/60;为某银行搭建的企业风险图平台,在对小微企业评级放贷问题中,担保圈识别准确率达到90%以上。 + + +## 1. TuGraph DB + +### 1.1 简介 +TuGraph DB 是支持大数据容量、低延迟查找和快速图分析功能的高效图数据库。TuGraph社区版于2022年9月开源,提供了完整的图数据库基础功能和成熟的产品设计(如ACID兼容的事务、编程API和配套工具等),适用于单实例部署。社区版支持TB级别的数据规模,为用户管理和分析复杂关联数据提供了高效、易用、可靠的平台,是学习TuGraph和实现小型项目的理想选择。 + +### 1.2 TuGraph特性 +TuGraph是支持大数据量、低延迟查找和快速图分析功能的高效图数据库。TuGraph也是基于磁盘的数据库,支持存储多达数十TB的数据。TuGraph提供多种API,使用户能够轻松构建应用程序,并使其易于扩展和优化。 + +它具有如下功能特征: + +* 属性图模型 +* 实时增删查改 +* 多重图(点间允许多重边) +* 多图(大图与多个子图) +* 完善的ACID事务处理,隔离级别为可串行化(serializable) +* 点边索引 +* 混合事务和分析处理(HTAP),支持图查询、图分析、图学习 +* 主流图查询语言(OpenCypher、ISO GQL等) +* 支持OLAP API,内置30多种图分析算法 +* 基于C++/Python的存储过程,含事务内并行Traversal API +* 提供图可视化工具 +* 在性能和可扩展性方面的支持: +* 千万点/秒的高吞吐率 +* TB级大容量 +* 高可用性支持 +* 高性能批量导入 +* 在线/离线的备份恢复 + + +主要功能: + +- 标签属性图模型 +- 完善的 ACID 事务处理 +- 内置 34 图分析算法 +- 支持全文/主键/二级索引 +- OpenCypher 图查询语言 +- 基于 C++/Python 的存储过程 + +性能和可扩展性: + +- LDBC SNB世界记录保持者 (2022/9/1 https://ldbcouncil.org/benchmarks/snb/) +- 支持存储多达数十TB的数据 +- 每秒访问数百万个顶点 +- 快速批量导入 + +TuGraph DB的文档在[链接](https://tugraph-db.readthedocs.io/zh_CN/latest),欢迎访问我们的[官网](https://www.tugraph.org)。 + +### 1.3 快速上手 + +一个简单的方法是使用docker进行设置,可以在[DockerHub](https://hub.docker.com/u/tugraph)中找到, 名称为`tugraph/tugraph-runtime-[os]:[tugraph version]`, +例如, `tugraph/tugraph-runtime-centos7:3.3.0`。 + +更多详情请参考 [快速上手文档](./docs/zh-CN/source/3.quick-start/1.preparation.md) 和 [业务开发指南](./docs/zh-CN/source/development_guide.md). + +### 1.4 从源代码编译 + +建议在Linux系统中构建TuGraph DB,Docker环境是个不错的选择。如果您想设置一个新的环境,请参考[Dockerfile](ci/images). + +以下是编译TuGraph DB的步骤: + +1. 如果需要web接口运行`deps/build_deps.sh`,不需要web接口则跳过此步骤 +2. 根据容器系统信息执行`cmake .. -DOURSYSTEM=centos`或者`cmake .. -DOURSYSTEM=ubuntu` +3. `make` +4. `make package` 或者 `cpack --config CPackConfig.cmake` + +示例:`tugraph/tugraph-compile-centos7`Docker环境 + +```bash +$ git clone --recursive https://github.com/TuGraph-family/tugraph-db.git +$ cd tugraph-db +$ deps/build_deps.sh +$ mkdir build && cd build +$ cmake .. -DOURSYSTEM=centos7 +$ make +$ make package +``` + +### 1.5 开发 + +我们已为在DockerHub中编译准备了环境docker镜像,可以帮助开发人员轻松入门,名称为 `tugraph/tugraph-compile-[os]:[compile version]`, 例如, `tugraph/tugraph-compile-centos7:1.1.0`。 + +## 2. TuGraph Analytics + +### 2.1 介绍 +**TuGraph Analytics** (别名:GeaFlow) 是蚂蚁集团开源的[**性能世界一流**](https://ldbcouncil.org/benchmarks/snb-bi/)的OLAP图数据库,支持万亿级图存储、图表混合处理、实时图计算、交互式图分析等核心能力,目前广泛应用于数仓加速、金融风控、知识图谱以及社交网络等场景。 + +关于GeaFlow更多介绍请参考:[GeaFlow介绍文档](docs/docs-cn/introduction.md) + +GeaFlow设计论文参考:[GeaFlow: A Graph Extended and Accelerated Dataflow System](https://dl.acm.org/doi/abs/10.1145/3589771) + +### 2.2 起源 + +早期的大数据分析主要以离线处理为主,以Hadoop为代表的技术栈很好的解决了大规模数据的分析问题。然而数据处理的时效性不足, +很难满足高实时需求的场景。以Storm为代表的流式计算引擎的出现则很好的解决了数据实时处理的问题,提高了数据处理的时效性。 +然而,Storm本身不提供状态管理的能力, 对于聚合等有状态的计算显得无能为力。Flink +的出现很好的弥补了这一短板,通过引入状态管理以及Checkpoint机制,实现了高效的有状态流计算能力。 + +随着数据实时处理场景的丰富,尤其是在实时数仓场景下,实时关系运算(即Stream Join) +越来越多的成为数据实时化的难点。Flink虽然具备优秀的状态管理能和出色的性能,然而在处理Join运算,尤其是3度以上Join时, +性能瓶颈越来越明显。由于需要在Join两端存放各个输入的数据状态,当Join变多时,状态的数据量急剧扩大,性能也变的难以接受。 +产生这个问题的本质原因是Flink等流计算系统以表作为数据模型,而表模型本身是一个二维结构,不包含关系的定义和关系的存储, +在处理关系运算时只能通过Join运算方式实现,成本很高。 + +在蚂蚁的大数据应用场景中,尤其是金融风控、实时数仓等场景下,存在大量Join运算,如何提高Join +的时效性和性能成为我们面临的重要挑战,为此我们引入了图模型。图模型是一种以点边结构描述实体关系的数据模型,在图模型里面,点代表实体, +边代表关系,数据存储层面点边存放在一起。因此,图模型天然定义了数据的关系同时存储层面物化了点边关系。基于图模型,我们实现了新一代实时计算 +引擎GeaFlow,很好的解决了复杂关系运算实时化的问题。目前GeaFlow已广泛应用于数仓加速、金融风控、知识图谱以及社交网络等场景。 + +### 2.3 特性 + +* 分布式实时图计算 +* 图表混合处理(SQL+GQL语言) +* 统一流批图计算 +* 万亿级图原生存储 +* 交互式图分析 +* 高可用和Exactly Once语义 +* 高阶API算子开发 +* UDF/图算法/Connector插件支持 +* 一站式图研发平台 +* 云原生部署 + +### 2.4 快速上手 + +1. 准备Git、JDK8、Maven、Docker环境。 +2. 下载源码:`git clone https://github.com/TuGraph-family/tugraph-analytics` +3. 项目构建:`mvn clean install -DskipTests` +4. 测试任务:`./bin/gql_submit.sh --gql geaflow/geaflow-examples/gql/loop_detection.sql` +3. 构建镜像:`./build.sh --all` +4. 启动容器:`docker run -d --name geaflow-console -p 8888:8888 geaflow-console:0.1` + +更多详细内容请参考:[快速上手文档](docs/docs-cn/quick_start.md)。 + +### 2.5 开发手册 + +GeaFlow支持DSL和API两套编程接口,您既可以通过GeaFlow提供的类SQL扩展语言SQL+ISO/GQL进行流图计算作业的开发,也可以通过GeaFlow的高阶API编程接口通过Java语言进行应用开发。 +* DSL应用开发:[DSL开发文档](docs/docs-cn/application-development/dsl/overview.md) +* API应用开发:[API开发文档](docs/docs-cn/application-development/api/guid.md) + + +### 2.6 技术架构 + +GeaFlow整体架构如下所示: + +![GeaFlow架构](../static/img/geaflow_arch_new.png) + +* [DSL层](./principle/dsl_principle.md):即语言层。GeaFlow设计了SQL+GQL的融合分析语言,支持对表模型和图模型统一处理。 +* [Framework层](./principle/framework_principle.md):即框架层。GeaFlow设计了面向Graph和Stream的两套API支持流、批、图融合计算,并实现了基于Cycle的统一分布式调度模型。 +* [State层](./principle/state_principle.md):即存储层。GeaFlow设计了面向Graph和KV的两套API支持表数据和图数据的混合存储,整体采用了Sharing Nothing的设计,并支持将数据持久化到远程存储。 +* [Console平台](./principle/console_principle.md):GeaFlow提供了一站式图研发平台,实现了图数据的建模、加工、分析能力,并提供了图作业的运维管控支持。 +* **执行环境**:GeaFlow可以运行在多种异构执行环境,如K8S、Ray以及本地模式。 + +### 2.7 应用场景 + +#### 2.7.1 实时数仓加速 +数仓场景存在大量Join运算,在DWD层往往需要将多张表展开成一张大宽表,以加速后续查询。当Join的表数量变多时,传统的实时计算引擎很难 +保证Join的时效性和性能,这也成为目前实时数仓领域一个棘手的问题。基于GeaFlow的实时图计算引擎,可以很好的解决这方面的问题。 +GeaFlow以图作为数据模型,替代DWD层的宽表,可以实现数据实时构图,同时在查询阶段利用图的点边物化特性,可以极大加速关系运算的查询。 + +#### 2.7.2 实时归因分析 +在信息化的大背景下,对用户行为进行渠道归因和路径分析是流量分析领域中的核心所在。通过实时计算用户的有效行为路径,构建出完整的转化路径,能够快速帮助业务看清楚产品的价值,帮助运营及时调整运营思路。实时归因分析的核心要点是准确性和实效性。准确性要求在成本可控下保证用户行为路径分析的准确性;实效性则要求计算的实时性足够高,才能快速帮助业务决策。 +基于GeaFlow流图计算引擎的能力可以很好的满足归因分析的准确性和时效性要求。如下图所示: +![归因分析](../static/img/guiyin_analysis.png) +GeaFlow首先通过实时构图将用户行为日志转换成用户行为拓扑图,以用户作为图中的点,与其相关的每个行为构建成从该用户指向埋点页面的一条边.然后利用流图计算能力分析提前用户行为子图,在子图上基于归因路径匹配的规则进行匹配计算得出该成交行为相应用户的归因路径,并输出到下游系统。 + +#### 2.7.3 实时反套现 +在信贷风控的场景下,如何进行信用卡反套现是一个典型的风控诉求。基于现有的套现模式分析,可以看到套现是一个环路子图,如何快速,高效在大图中快速判定套现,将极大的增加风险的识别效率。以下图为例,通过将实时交易流、转账流等输入数据源转换成实时交易图,然后根据风控策略对用户交易行为做图特征分析,比如环路检查等特征计算,实时提供给决策和监控平台进行反套现行为判定。通过GeaFlow实时构图和实时图计算能力,可以快速发现套现等异常交易行为,极大降低平台风险。 +![实时反套现](../static/img/fantaoxian.png) + + + +## 3. OSGraph + +**OSGraph (Open Source Graph)** 是一个开源图谱关系洞察工具,基于GitHub开源数据全域图谱,实现开发者行为、项目社区生态的分析洞察。可以为开发者、项目Owner、开源布道师、社区运营等提供简洁直观的开源数据视图,帮助你和你的项目制作专属的开源名片、寻求契合的开发伙伴、挖掘深度的社区价值。 + + +### 3.1 产品地址 + +**[https://osgraph.com](https://osgraph.com)** + + +### 3.2 快速开始 + +本地启动测试请参考:[OSGraph部署文档](docs/zh-CN/DeveloperManual.md) + + +### 3.3 功能介绍 + +当前产品默认提供了6张开源数据图谱供大家体验,包含项目类图谱3个(贡献、生态、社区)、开发类3个(活动、伙伴、兴趣)。 + + +#### 3.3.1 项目贡献图谱 + +**发现项目核心贡献**:根据项目开发者研发活动信息(Issue、PR、Commit、CR等),找到项目核心贡献者。 + +**Q**:我想看看给Apache Spark项目写代码的都有谁? + +**A**:选择“项目贡献图谱” - 搜索spark - 选择apache/spark。可以看到HyukjinKwon、dongjoon-hyun等核心贡献者,另外还一不小心捉到两个“显眼包”,AmplabJenkins、SparkQA这两个只参与CodeReview的机器人账号。 + +![](docs/img/spark-contrib.png) + + +#### 3.3.2 项目生态图谱 + +**洞察项目生态伙伴**:提取项目间的开发活动、组织等关联信息,构建项目核心生态关系。 + +**Q**:最近很火的开源大模型Llama3周边生态大致是什么样的? + +**A**:选择“项目生态图谱” - 搜索llama3 - 选择meta-llama3/llama3。可以看到pytorch、tensorflow、transformers等知名AI项目,当然还有上科技头条的llama.cpp。比较惊喜的发现是ray竟然和llama3有不少公共开发者,可以深度挖掘一下。 + +![](docs/img/llama3-eco.png) + + + +#### 3.3.3 项目社区图谱 + +**分析项目社区分布**:根据项目的开发活动、开发者组织等信息,提取项目核心开发者社区分布。 + +**Q**:大数据引擎Flink发展这么多年后的社区现状如何? + +**A**:选择“项目社区图谱” - 搜索flink - 选择apache/flink。可以看到项目关注者主要来自中、美、德三国,而Alibaba组织是代码贡献的中坚力量。 + +![](docs/img/flink-comm.png) + + + +#### 3.3.4 开发活动图谱 + +**展示个人开源贡献**:根据开发者研发活动信息(Issue、PR、Commit、CR等),找到参与的核心项目。 + +**Q**:大神Linus Torvalds最近在参与哪些开源项目? + +**A**:选择“开发活动图谱” - 搜索torvalds。果然linux项目是torvalds的主要工作,不过llvm、mody、libgit2也有所参与,同时也看到他在subsurface这种“潜水日志管理工具”上的大量贡献,果然大佬的爱好都很广泛。 + +![](docs/img/torvalds-act.png) + + + +#### 3.3.5 开源伙伴图谱 + +**寻找个人开源伙伴**:找到开发者在开源社区中,与之协作紧密的其他开发者。 + +**Q**:我想知道在开源社区有没有和我志同道合的人? + +**A**:选择“开发伙伴图谱” - 搜索我的ID。让我震惊的是有那么多陌生人和我关注了同一批项目,这不得找机会认识一下,说不定就能找到新朋友了。而和我合作PR的人基本上都是我认识的朋友和同事,继续探索一下朋友们的开源伙伴,开源社区的“六度人脉”不就来了么。 + +![](docs/img/fanzhidongyzby-part.png) + + + +#### 3.3.6 开源兴趣图谱 + +**挖掘个人开源兴趣**:根据参与的项目主题、标签等信息,分析开发者技术领域与兴趣。 + +**Q**:GitHub上最活跃的开发者对什么技术感兴趣? + +**A**:选择“开源兴趣图谱” - 搜索sindresorhus([GitHub用户榜](https://gitstar-ranking.com) No.1)。整体来看sindresorhus对node、npm、js很感兴趣,另外他发起的awesome项目足足30W星,令人咋舌!当前的开源兴趣数据主要来自项目有限的标签信息,后续借助AI技术可能会有更好的展现。 + +![](docs/img/sindresorhus-intr.png) + + +### 3.4 未来规划 + +未来将会有更多有趣的图谱和功能加入到OSGraph: + +* 简单灵活的API设计,让图谱无限扩展。 +* 自由高效的画布交互,无限探索数据价值。 +* 图谱URL支持嵌入Markdown,制作我的开源名片。 +* 基于AI技术的项目主题标签分析。 +* 多人多项目联合分析,图谱洞察一键可达。 +* 更丰富的数据展示与多维分析。 +* **更多功能,与你携手共建……** + + + +## 4. ChatTuGraph + +ChatTuGraph通过AI技术为TuGraph赋能,可以为图业务研发效能、图产品解决方案、图数据智能分析、图任务自动管控等领域带来更丰富的应用场景。 +目前ChatTuGraph通过图语言语料生成,借助大模型微调技术实现了自然语言的图数据分析,构建Graph RAG基于知识图谱实现检索增强生成,以降低大模型的推理幻觉,以及通过多智能体技术(Multiple Agents System)实现图数据上的AIGC、智能化等能力。 diff --git a/setup.py b/setup.py index 214f82f70..c9722bbcb 100644 --- a/setup.py +++ b/setup.py @@ -519,6 +519,11 @@ def knowledge_requires(): "sentence-transformers", ] + setup_spec.extras["graph_rag"] = setup_spec.extras["rag"] + [ + "neo4j", + "dbgpt-tugraph-plugins>=0.1.0rc1", + ] + def llama_cpp_requires(): """ @@ -617,7 +622,6 @@ def all_datasource_requires(): "pyhive", "thrift", "thrift_sasl", - "neo4j", "vertica_python", ] @@ -691,6 +695,7 @@ def default_requires(): ] setup_spec.extras["default"] += setup_spec.extras["framework"] setup_spec.extras["default"] += setup_spec.extras["rag"] + setup_spec.extras["default"] += setup_spec.extras["graph_rag"] setup_spec.extras["default"] += setup_spec.extras["datasource"] setup_spec.extras["default"] += setup_spec.extras["torch"] setup_spec.extras["default"] += setup_spec.extras["cache"] diff --git a/tests/intetration_tests/datasource/test_conn_tugraph.py b/tests/intetration_tests/datasource/test_conn_tugraph.py index 5334b923f..eafed88a6 100644 --- a/tests/intetration_tests/datasource/test_conn_tugraph.py +++ b/tests/intetration_tests/datasource/test_conn_tugraph.py @@ -40,3 +40,15 @@ def test_get_indexes(connector): # Get the index information of the vertex table named 'person'. indexes = connector.get_indexes("person", "vertex") assert len(indexes) > 0 + + +def test_run_without_stream(connector): + query = "MATCH (n) RETURN n limit 10" + result = connector.run(query) + assert len(result) == 10 + + +def test_run_with_stream(connector): + query = "MATCH (n) RETURN n limit 10" + result = list(connector.run_stream(query)) + assert len(result) == 10 diff --git a/tests/intetration_tests/graph_store/test_memgraph_store.py b/tests/intetration_tests/graph_store/test_memgraph_store.py index 50643a0a0..0bf066f0a 100644 --- a/tests/intetration_tests/graph_store/test_memgraph_store.py +++ b/tests/intetration_tests/graph_store/test_memgraph_store.py @@ -23,13 +23,13 @@ def test_graph_store(graph_store): graph_store.insert_triplet("E", "8", "F") subgraph = graph_store.explore(["A"]) - print(f"\n{subgraph.graphviz()}") + print(f"\n{subgraph.format()}") assert subgraph.edge_count == 9 graph_store.delete_triplet("A", "0", "A") graph_store.delete_triplet("B", "4", "D") subgraph = graph_store.explore(["A"]) - print(f"\n{subgraph.graphviz()}") + print(f"\n{subgraph.format()}") assert subgraph.edge_count == 7 triplets = graph_store.get_triplets("B") @@ -38,4 +38,4 @@ def test_graph_store(graph_store): schema = graph_store.get_schema() print(f"\nSchema: {schema}") - assert len(schema) == 138 + assert len(schema) == 86 diff --git a/tests/intetration_tests/graph_store/test_tugraph_store.py b/tests/intetration_tests/graph_store/test_tugraph_store.py index a31e615c9..570869eb5 100644 --- a/tests/intetration_tests/graph_store/test_tugraph_store.py +++ b/tests/intetration_tests/graph_store/test_tugraph_store.py @@ -2,17 +2,12 @@ import pytest -from dbgpt.storage.graph_store.tugraph_store import TuGraphStore - - -class TuGraphStoreConfig: - def __init__(self, name): - self.name = name +from dbgpt.storage.graph_store.tugraph_store import TuGraphStore, TuGraphStoreConfig @pytest.fixture(scope="module") def store(): - config = TuGraphStoreConfig(name="TestGraph") + config = TuGraphStoreConfig(name="TestGraph", summary_enabled=False) store = TuGraphStore(config=config) yield store store.conn.close() @@ -29,7 +24,7 @@ def test_insert_and_get_triplets(store): store.insert_triplet("F", "7", "E") store.insert_triplet("E", "8", "F") triplets = store.get_triplets("A") - assert len(triplets) == 3 + assert len(triplets) == 2 triplets = store.get_triplets("B") assert len(triplets) == 3 triplets = store.get_triplets("C") @@ -47,7 +42,7 @@ def test_query(store): result = store.query(query) v_c = result.vertex_count e_c = result.edge_count - assert v_c == 2 and e_c == 3 + assert v_c == 3 and e_c == 3 def test_explore(store): @@ -55,13 +50,13 @@ def test_explore(store): result = store.explore(subs, depth=2, fan=None, limit=10) v_c = result.vertex_count e_c = result.edge_count - assert v_c == 2 and e_c == 3 + assert v_c == 5 and e_c == 5 -# def test_delete_triplet(store): -# subj = "A" -# rel = "0" -# obj = "B" -# store.delete_triplet(subj, rel, obj) -# triplets = store.get_triplets(subj) -# assert len(triplets) == 0 +def test_delete_triplet(store): + subj = "A" + rel = "0" + obj = "B" + store.delete_triplet(subj, rel, obj) + triplets = store.get_triplets(subj) + assert len(triplets) == 0 diff --git a/tests/intetration_tests/graph_store/test_tugraph_store_with_summary.py b/tests/intetration_tests/graph_store/test_tugraph_store_with_summary.py new file mode 100644 index 000000000..0ca3de588 --- /dev/null +++ b/tests/intetration_tests/graph_store/test_tugraph_store_with_summary.py @@ -0,0 +1,58 @@ +import pytest + +from dbgpt.storage.graph_store.tugraph_store import TuGraphStore, TuGraphStoreConfig +from dbgpt.storage.graph_store.graph import MemoryGraph, Edge, Vertex + + +@pytest.fixture(scope="module") +def store(): + config = TuGraphStoreConfig(name="TestSummaryGraph", summary_enabled=True) + store_instance = TuGraphStore(config=config) + yield store_instance + store_instance.conn.close() + + +def test_insert_graph(store): + graph = MemoryGraph() + vertex_list = [ + Vertex("A", "A", description="Vertex A", _document_id="Test doc"), + Vertex("B", "B", description="Vertex B", _document_id="Test doc"), + Vertex("C", "C", description="Vertex C", _document_id="Test doc"), + Vertex("D", "D", description="Vertex D", _document_id="Test doc"), + Vertex("E", "E", description="Vertex E", _document_id="Test doc"), + Vertex("F", "F", description="Vertex F", _document_id="Test doc"), + Vertex("G", "G", description="Vertex G", _document_id="Test doc"), + ] + edge_list = [ + Edge("A", "B", name="A-B", description="description of edge"), + Edge("B", "C", name="B-C", description="description of edge"), + Edge("C", "D", name="C-D", description="description of edge"), + Edge("D", "E", name="D-E", description="description of edge"), + Edge("E", "F", name="E-F", description="description of edge"), + Edge("F", "G", name="F-G", description="description of edge"), + ] + for vertex in vertex_list: + graph.upsert_vertex(vertex) + for edge in edge_list: + graph.append_edge(edge) + store.insert_graph(graph) + + +def test_leiden_query(store): + query = "CALL db.plugin.callPlugin('CPP','leiden','{\"leiden_val\":\"_community_id\"}',60.00,false)" + result = store.query(query) + assert result.vertex_count == 1 + + +def test_query_node_and_edge(store): + query = 'MATCH (n)-[r]->(m) WHERE n._community_id = "0" RETURN n,r,m' + result = store.query(query) + assert result.vertex_count == 7 and result.edge_count == 6 + + +def test_stream_query_path(store): + query = 'MATCH p=(n)-[r:relation*2]->(m) WHERE n._community_id = "0" RETURN p' + result = store.query(query) + for v in result.vertices(): + print(v.get_prop("_community_id")) + assert result.vertex_count == 7 and result.edge_count == 6 diff --git a/tests/unit_tests/graph/test_graph.py b/tests/unit_tests/graph/test_graph.py index e1394cb27..b8900dc1b 100644 --- a/tests/unit_tests/graph/test_graph.py +++ b/tests/unit_tests/graph/test_graph.py @@ -6,15 +6,15 @@ @pytest.fixture def g(): g = MemoryGraph() - g.append_edge(Edge("A", "A", label="0")) - g.append_edge(Edge("A", "A", label="1")) - g.append_edge(Edge("A", "B", label="2")) - g.append_edge(Edge("B", "C", label="3")) - g.append_edge(Edge("B", "D", label="4")) - g.append_edge(Edge("C", "D", label="5")) - g.append_edge(Edge("B", "E", label="6")) - g.append_edge(Edge("F", "E", label="7")) - g.append_edge(Edge("E", "F", label="8")) + g.append_edge(Edge("A", "A", "0")) + g.append_edge(Edge("A", "A", "1")) + g.append_edge(Edge("A", "B", "2")) + g.append_edge(Edge("B", "C", "3")) + g.append_edge(Edge("B", "D", "4")) + g.append_edge(Edge("C", "D", "5")) + g.append_edge(Edge("B", "E", "6")) + g.append_edge(Edge("F", "E", "7")) + g.append_edge(Edge("E", "F", "8")) g.upsert_vertex(Vertex("G")) yield g @@ -25,14 +25,20 @@ def g(): (lambda g: g.del_vertices("G", "G"), 6, 9), (lambda g: g.del_vertices("C"), 6, 7), (lambda g: g.del_vertices("A", "G"), 5, 6), - (lambda g: g.del_edges("E", "F", label="8"), 7, 8), + (lambda g: g.del_edges("A", "A"), 7, 7), (lambda g: g.del_edges("A", "B"), 7, 8), + (lambda g: g.del_edges("A", "A", "0"), 7, 8), + (lambda g: g.del_edges("E", "F", "8"), 7, 8), + (lambda g: g.del_edges("E", "F", "9"), 7, 9), + (lambda g: g.del_edges("E", "F", val=1), 7, 9), + (lambda g: g.del_edges("E", "F", "8", val=1), 7, 9), + (lambda g: g.del_edges("E", "F", "9", val=1), 7, 9), (lambda g: g.del_neighbor_edges("A", Direction.IN), 7, 7), ], ) def test_delete(g, action, vc, ec): action(g) - result = g.graphviz() + result = g.format() print(f"\n{result}") assert g.vertex_count == vc assert g.edge_count == ec @@ -50,7 +56,7 @@ def test_delete(g, action, vc, ec): ) def test_search(g, vids, dir, vc, ec): subgraph = g.search(vids, dir) - print(f"\n{subgraph.graphviz()}") + print(f"\n{subgraph.format()}") assert subgraph.vertex_count == vc assert subgraph.edge_count == ec @@ -65,7 +71,7 @@ def test_search(g, vids, dir, vc, ec): ) def test_search_result_limit(g, vids, dir, ec): subgraph = g.search(vids, dir, limit=ec) - print(f"\n{subgraph.graphviz()}") + print(f"\n{subgraph.format()}") assert subgraph.edge_count == ec @@ -79,7 +85,7 @@ def test_search_result_limit(g, vids, dir, ec): ) def test_search_fan_limit(g, vids, dir, fan, ec): subgraph = g.search(vids, dir, fan=fan) - print(f"\n{subgraph.graphviz()}") + print(f"\n{subgraph.format()}") assert subgraph.edge_count == ec @@ -97,5 +103,5 @@ def test_search_fan_limit(g, vids, dir, fan, ec): ) def test_search_depth_limit(g, vids, dir, dep, ec): subgraph = g.search(vids, dir, depth=dep) - print(f"\n{subgraph.graphviz()}") + print(f"\n{subgraph.format()}") assert subgraph.edge_count == ec diff --git a/web/README.md b/web/README.md index f1db52c60..1799a8d34 100644 --- a/web/README.md +++ b/web/README.md @@ -77,7 +77,7 @@ For full documentation, visit [document](https://docs.dbgpt.site/). ## Usage - [react-markdown](https://github.com/remarkjs/react-markdown#readme) for markdown support. + [gpt-vis](https://github.com/eosphoros-ai/DB-GPT/gpt-vis) for markdown support. [ant-design](https://github.com/ant-design/ant-design) for ui components. [next.js](https://github.com/vercel/next.js) for server side rendering. [@antv/g2](https://github.com/antvis/g2#readme) for charts. diff --git a/web/components/chat/chat-content/config.tsx b/web/components/chat/chat-content/config.tsx index b88246e4f..990a18960 100644 --- a/web/components/chat/chat-content/config.tsx +++ b/web/components/chat/chat-content/config.tsx @@ -89,7 +89,7 @@ const codeComponents = { return ; } }, - 'vis-chart': ({ className, children }) => { + 'vis-db-chart': ({ className, children }) => { const content = String(children); const lang = className?.replace('language-', '') || 'javascript'; try { diff --git a/web/components/chat/chat-content/index.tsx b/web/components/chat/chat-content/index.tsx index decfca828..dc47ba27f 100644 --- a/web/components/chat/chat-content/index.tsx +++ b/web/components/chat/chat-content/index.tsx @@ -13,8 +13,8 @@ import { GPTVis } from '@antv/gpt-vis'; import { Tag } from 'antd'; import classNames from 'classnames'; import { PropsWithChildren, ReactNode, memo, useContext, useMemo } from 'react'; -import ReactMarkdown from 'react-markdown'; import rehypeRaw from 'rehype-raw'; +import remarkGfm from 'remark-gfm'; import { renderModelIcon } from '../header/model-selector'; import markdownComponents from './config'; @@ -131,9 +131,9 @@ function ChatContent({ children, content, isChartChat, onLinkClick }: PropsWithC {result ? (
    - + {result ?? ''} - +
    ) : (
    {err_msg}
    @@ -172,7 +172,11 @@ function ChatContent({ children, content, isChartChat, onLinkClick }: PropsWithC )} {/* Markdown */} {isRobot && typeof context === 'string' && ( - + {formatMarkdownVal(value)} )} diff --git a/web/components/knowledge/RecallTestModal.tsx b/web/components/knowledge/RecallTestModal.tsx index 8a0c216a8..d34e65c39 100644 --- a/web/components/knowledge/RecallTestModal.tsx +++ b/web/components/knowledge/RecallTestModal.tsx @@ -174,7 +174,7 @@ const RecallTestModal: React.FC = ({ open, setOpen, space title={
    # {item.chunk_id} - {item.metadata.prop_field.title} + {item.metadata.source}
    } extra={ diff --git a/web/new-components/chat/content/ChatCompletion.tsx b/web/new-components/chat/content/ChatCompletion.tsx index f5200fb71..863877122 100644 --- a/web/new-components/chat/content/ChatCompletion.tsx +++ b/web/new-components/chat/content/ChatCompletion.tsx @@ -72,15 +72,15 @@ const ChatCompletion: React.FC = () => { setTimeout(() => { scrollableRef.current?.scrollTo(0, scrollableRef.current?.scrollHeight); }, 50); - }, [history]); + }, [history, history[history.length - 1]?.context]); return (
    {!!showMessages.length && - showMessages.map(content => { + showMessages.map((content, index) => { return ( { setJsonModalOpen(true); diff --git a/web/next.config.js b/web/next.config.js index 30cb86698..a92422434 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -1,10 +1,10 @@ /** @type {import('next').NextConfig} */ -const CopyPlugin = require('copy-webpack-plugin'); -const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin'); -const path = require('path'); +const CopyPlugin = require("copy-webpack-plugin"); +const MonacoWebpackPlugin = require("monaco-editor-webpack-plugin"); +const path = require("path"); const nextConfig = { experimental: { - esmExternals: 'loose', + esmExternals: "loose", }, typescript: { ignoreBuildErrors: true, @@ -27,30 +27,35 @@ const nextConfig = { new CopyPlugin({ patterns: [ { - from: path.join(__dirname, 'node_modules/@oceanbase-odc/monaco-plugin-ob/worker-dist/'), - to: 'static/ob-workers', + from: path.join( + __dirname, + "node_modules/@oceanbase-odc/monaco-plugin-ob/worker-dist/" + ), + to: "static/ob-workers", }, ], - }), + }) ); // 添加 monaco-editor-webpack-plugin 插件 config.plugins.push( new MonacoWebpackPlugin({ // 你可以在这里配置插件的选项,例如: - languages: ['sql'], - filename: 'static/[name].worker.js', - }), + languages: ["sql"], + filename: "static/[name].worker.js", + }) ); } return config; }, }; -const withTM = require('next-transpile-modules')([ - '@berryv/g2-react', - '@antv/g2', - 'react-syntax-highlighter', - '@antv/gpt-vis', +const withTM = require("next-transpile-modules")([ + "@berryv/g2-react", + "@antv/g2", + "react-syntax-highlighter", + "@antv/g6", + "@antv/graphin", + "@antv/gpt-vis", ]); module.exports = withTM({ diff --git a/web/package-lock.json b/web/package-lock.json index 60ec80bff..9c7655aec 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -22250,3 +22250,13770 @@ } } } +{ + "name": "db-gpt-web", + "version": "0.1.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "db-gpt-web", + "version": "0.1.0", + "license": "ISC", + "dependencies": { + "@ant-design/cssinjs": "^1.18.4", + "@ant-design/icons": "^5.2.5", + "@antv/algorithm": "^0.1.26", + "@antv/ava": "3.5.0-alpha.4", + "@antv/g2": "^5.1.8", + "@antv/g6": "^5.0.17", + "@antv/graphin": "^3.0.2", + "@antv/s2": "^1.51.2", + "@berryv/g2-react": "^0.1.0", + "@emotion/react": "^11.11.4", + "@emotion/styled": "^11.11.5", + "@microsoft/fetch-event-source": "^2.0.1", + "@monaco-editor/react": "^4.5.2", + "@mui/icons-material": "^5.11.16", + "@mui/joy": "5.0.0-beta.5", + "@mui/material": "^5.15.20", + "@oceanbase-odc/monaco-plugin-ob": "^1.0.3", + "@types/react-virtualized": "^9.21.29", + "@uiw/react-json-view": "^2.0.0-alpha.23", + "ahooks": "^3.7.8", + "antd": "^5.10.0", + "axios": "^1.3.4", + "classnames": "^2.3.2", + "cookies-next": "^4.0.0", + "copy-to-clipboard": "^3.3.3", + "framer-motion": "^10.16.4", + "google-auth-library": "^9.2.0", + "google-one-tap": "^1.0.6", + "i18next": "^23.4.5", + "iron-session": "^6.3.1", + "lodash": "^4.17.21", + "markdown-it": "^14.1.0", + "moment": "^2.29.4", + "monaco-editor": ">=0.31.0", + "multer": "^1.4.5-lts.1", + "mysql2": "^3.6.2", + "next": "13.4.7", + "next-auth": "^4.20.1", + "next-connect": "^1.0.0-next.4", + "next-transpile-modules": "^10.0.1", + "nprogress": "^0.2.0", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "react-i18next": "^13.2.0", + "react-markdown": "^8.0.7", + "react-markdown-editor-lite": "^1.3.4", + "react-syntax-highlighter": "^15.5.0", + "react-virtualized": "^9.22.5", + "reactflow": "^11.10.3", + "rehype-raw": "6.1.1", + "remark-gfm": "^3.0.1", + "sequelize": "^6.33.0", + "sql-formatter": "^12.2.4", + "tailwindcss": "3.3.2", + "tailwindcss-animated": "^1.0.1", + "typescript": "5.1.3" + }, + "devDependencies": { + "@types/google-one-tap": "^1.2.4", + "@types/lodash": "^4.14.195", + "@types/markdown-it": "^14.1.1", + "@types/node": "20.5.7", + "@types/node-localstorage": "^1.3.2", + "@types/nprogress": "^0.2.0", + "@types/react": "18.2.14", + "@types/react-dom": "18.2.6", + "@types/react-syntax-highlighter": "^15.5.7", + "@types/uuid": "^9.0.8", + "autoprefixer": "10.4.14", + "copy-webpack-plugin": "^12.0.2", + "eslint": "8.43.0", + "eslint-config-next": "13.4.7", + "monaco-editor-webpack-plugin": "^7.1.0" + } + }, + "node_modules/@alloc/quick-lru": { + "version": "5.2.0", + "resolved": "https://registry.npmmirror.com/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", + "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@ant-design/colors": { + "version": "7.1.0", + "resolved": "https://registry.npmmirror.com/@ant-design/colors/-/colors-7.1.0.tgz", + "integrity": "sha512-MMoDGWn1y9LdQJQSHiCC20x3uZ3CwQnv9QMz6pCmJOrqdgM9YxsoVVY0wtrdXbmfSgnV0KNk6zi09NAhMR2jvg==", + "dependencies": { + "@ctrl/tinycolor": "^3.6.1" + } + }, + "node_modules/@ant-design/cssinjs": { + "version": "1.21.1", + "resolved": "https://registry.npmmirror.com/@ant-design/cssinjs/-/cssinjs-1.21.1.tgz", + "integrity": "sha512-tyWnlK+XH7Bumd0byfbCiZNK43HEubMoCcu9VxwsAwiHdHTgWa+tMN0/yvxa+e8EzuFP1WdUNNPclRpVtD33lg==", + "dependencies": { + "@babel/runtime": "^7.11.1", + "@emotion/hash": "^0.8.0", + "@emotion/unitless": "^0.7.5", + "classnames": "^2.3.1", + "csstype": "^3.1.3", + "rc-util": "^5.35.0", + "stylis": "^4.3.3" + }, + "peerDependencies": { + "react": ">=16.0.0", + "react-dom": ">=16.0.0" + } + }, + "node_modules/@ant-design/cssinjs-utils": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/@ant-design/cssinjs-utils/-/cssinjs-utils-1.0.3.tgz", + "integrity": "sha512-BrztZZKuoYcJK8uEH40ylBemf/Mu/QPiDos56g2bv6eUoniQkgQHOCOvA3+pncoFO1TaS8xcUCIqGzDA0I+ZVQ==", + "dependencies": { + "@ant-design/cssinjs": "^1.21.0", + "@babel/runtime": "^7.23.2", + "rc-util": "^5.38.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/@ant-design/fast-color": { + "version": "2.0.6", + "resolved": "https://registry.npmmirror.com/@ant-design/fast-color/-/fast-color-2.0.6.tgz", + "integrity": "sha512-y2217gk4NqL35giHl72o6Zzqji9O7vHh9YmhUVkPtAOpoTCH4uWxo/pr4VE8t0+ChEPs0qo4eJRC5Q1eXWo3vA==", + "dependencies": { + "@babel/runtime": "^7.24.7" + }, + "engines": { + "node": ">=8.x" + } + }, + "node_modules/@ant-design/icons": { + "version": "5.4.0", + "resolved": "https://registry.npmmirror.com/@ant-design/icons/-/icons-5.4.0.tgz", + "integrity": "sha512-QZbWC5xQYexCI5q4/fehSEkchJr5UGtvAJweT743qKUQQGs9IH2DehNLP49DJ3Ii9m9CijD2HN6fNy3WKhIFdA==", + "dependencies": { + "@ant-design/colors": "^7.0.0", + "@ant-design/icons-svg": "^4.4.0", + "@babel/runtime": "^7.24.8", + "classnames": "^2.2.6", + "rc-util": "^5.31.1" + }, + "engines": { + "node": ">=8" + }, + "peerDependencies": { + "react": ">=16.0.0", + "react-dom": ">=16.0.0" + } + }, + "node_modules/@ant-design/icons-svg": { + "version": "4.4.2", + "resolved": "https://registry.npmmirror.com/@ant-design/icons-svg/-/icons-svg-4.4.2.tgz", + "integrity": "sha512-vHbT+zJEVzllwP+CM+ul7reTEfBR0vgxFe7+lREAsAA7YGsYpboiq2sQNeQeRvh09GfQgs/GyFEvZpJ9cLXpXA==" + }, + "node_modules/@ant-design/react-slick": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/@ant-design/react-slick/-/react-slick-1.1.2.tgz", + "integrity": "sha512-EzlvzE6xQUBrZuuhSAFTdsr4P2bBBHGZwKFemEfq8gIGyIQCxalYfZW/T2ORbtQx5rU69o+WycP3exY/7T1hGA==", + "dependencies": { + "@babel/runtime": "^7.10.4", + "classnames": "^2.2.5", + "json2mq": "^0.2.0", + "resize-observer-polyfill": "^1.5.1", + "throttle-debounce": "^5.0.0" + }, + "peerDependencies": { + "react": ">=16.9.0" + } + }, + "node_modules/@antv/adjust": { + "version": "0.2.5", + "resolved": "https://registry.npmmirror.com/@antv/adjust/-/adjust-0.2.5.tgz", + "integrity": "sha512-MfWZOkD9CqXRES6MBGRNe27Q577a72EIwyMnE29wIlPliFvJfWwsrONddpGU7lilMpVKecS3WAzOoip3RfPTRQ==", + "peer": true, + "dependencies": { + "@antv/util": "~2.0.0", + "tslib": "^1.10.0" + } + }, + "node_modules/@antv/adjust/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmmirror.com/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "peer": true + }, + "node_modules/@antv/algorithm": { + "version": "0.1.26", + "resolved": "https://registry.npmmirror.com/@antv/algorithm/-/algorithm-0.1.26.tgz", + "integrity": "sha512-DVhcFSQ8YQnMNW34Mk8BSsfc61iC1sAnmcfYoXTAshYHuU50p/6b7x3QYaGctDNKWGvi1ub7mPcSY0bK+aN0qg==", + "dependencies": { + "@antv/util": "^2.0.13", + "tslib": "^2.0.0" + } + }, + "node_modules/@antv/attr": { + "version": "0.3.5", + "resolved": "https://registry.npmmirror.com/@antv/attr/-/attr-0.3.5.tgz", + "integrity": "sha512-wuj2gUo6C8Q2ASSMrVBuTcb5LcV+Tc0Egiy6bC42D0vxcQ+ta13CLxgMmHz8mjD0FxTPJDXSciyszRSC5TdLsg==", + "peer": true, + "dependencies": { + "@antv/color-util": "^2.0.1", + "@antv/scale": "^0.3.0", + "@antv/util": "~2.0.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/attr/node_modules/@antv/scale": { + "version": "0.3.18", + "resolved": "https://registry.npmmirror.com/@antv/scale/-/scale-0.3.18.tgz", + "integrity": "sha512-GHwE6Lo7S/Q5fgaLPaCsW+CH+3zl4aXpnN1skOiEY0Ue9/u+s2EySv6aDXYkAqs//i0uilMDD/0/4n8caX9U9w==", + "peer": true, + "dependencies": { + "@antv/util": "~2.0.3", + "fecha": "~4.2.0", + "tslib": "^2.0.0" + } + }, + "node_modules/@antv/ava": { + "version": "3.5.0-alpha.4", + "resolved": "https://registry.npmmirror.com/@antv/ava/-/ava-3.5.0-alpha.4.tgz", + "integrity": "sha512-gbJ+qz8gZwpVZSnR92LedOZ9Ky+Cu5tnm82QK55kaqJ1uSt9lcnlFQg67UngN8hoo8p4/ghTPj3M8Dn7AW1TLQ==", + "dependencies": { + "@antv/antv-spec": "^0.1.0-alpha.18", + "@antv/color-schema": "^0.2.3", + "@antv/g2": "^5.0.8", + "@antv/smart-color": "^0.2.1", + "bayesian-changepoint": "^1.0.1", + "csstype": "^3.1.2", + "heap-js": "^2.1.6", + "lodash": "^4.17.21", + "regression": "^2.0.1", + "tapable": "^2.2.1", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/ava/node_modules/@antv/antv-spec": { + "version": "0.1.0-alpha.18", + "resolved": "https://registry.npmmirror.com/@antv/antv-spec/-/antv-spec-0.1.0-alpha.18.tgz", + "integrity": "sha512-30IdqLDdJFYZ/jXpaELYQEkwfR6qA0GoZ8+Wcu0ougYi5KPhM6W7OibFjofQUpPtIBIhMpW7zRcxW7gzFJVgvg==", + "peerDependencies": { + "@antv/g2plot": "^2.3.27", + "@antv/g6": "^4.3.11" + } + }, + "node_modules/@antv/ava/node_modules/@antv/g6": { + "version": "4.8.24", + "resolved": "https://registry.npmmirror.com/@antv/g6/-/g6-4.8.24.tgz", + "integrity": "sha512-bgj7sZ+z45JmOngIpYpwmSIg7SboMLZBoAlX0+RoAETZB3/xvZO0MXT3lCSyAhIgm5Sb68pekKi7OStuo04NyQ==", + "peer": true, + "dependencies": { + "@antv/g6-pc": "0.8.24" + } + }, + "node_modules/@antv/color-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmmirror.com/@antv/color-schema/-/color-schema-0.2.3.tgz", + "integrity": "sha512-lHkN/MHQ5nnuv2fmo2jy0j9mSIddYClvDLrucH5WdXnZRNW/Y7od4iO2H0caqLoYLC7rAtzrSsoA2MD1RUvIeQ==", + "dependencies": { + "@types/chroma-js": "^2.1.3" + } + }, + "node_modules/@antv/color-util": { + "version": "2.0.6", + "resolved": "https://registry.npmmirror.com/@antv/color-util/-/color-util-2.0.6.tgz", + "integrity": "sha512-KnPEaAH+XNJMjax9U35W67nzPI+QQ2x27pYlzmSIWrbj4/k8PGrARXfzDTjwoozHJY8qG62Z+Ww6Alhu2FctXQ==", + "peer": true, + "dependencies": { + "@antv/util": "^2.0.9", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/component": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/@antv/component/-/component-2.0.1.tgz", + "integrity": "sha512-VldsSv2O/JNjZYenFIzmtLeC+KD2RcpNARsCLKpi04Iz26joQ3uMtnwxM5W4bd/SCJYKp+eeQeMHMAbwaNR1pw==", + "dependencies": { + "@antv/g": "^6.0.5", + "@antv/scale": "^0.4.3", + "@antv/util": "^3.3.5", + "svg-path-parser": "^1.1.0" + } + }, + "node_modules/@antv/component/node_modules/@antv/util": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.7.tgz", + "integrity": "sha512-qqPg7rIPCsJyl7N56jAC25v/99mJ3ApVkgBsGijhiWrEeKvzXBPk1r5P77Pm9nCljpnn+hH8Z3t5AivbEoTJMg==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/coord": { + "version": "0.4.7", + "resolved": "https://registry.npmmirror.com/@antv/coord/-/coord-0.4.7.tgz", + "integrity": "sha512-UTbrMLhwJUkKzqJx5KFnSRpU3BqrdLORJbwUbHK2zHSCT3q3bjcFA//ZYLVfIlwqFDXp/hzfMyRtp0c77A9ZVA==", + "dependencies": { + "@antv/scale": "^0.4.12", + "@antv/util": "^2.0.13", + "gl-matrix": "^3.4.3" + } + }, + "node_modules/@antv/dom-util": { + "version": "2.0.4", + "resolved": "https://registry.npmmirror.com/@antv/dom-util/-/dom-util-2.0.4.tgz", + "integrity": "sha512-2shXUl504fKwt82T3GkuT4Uoc6p9qjCKnJ8gXGLSW4T1W37dqf9AV28aCfoVPHp2BUXpSsB+PAJX2rG/jLHsLQ==", + "peer": true, + "dependencies": { + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/event-emitter": { + "version": "0.1.3", + "resolved": "https://registry.npmmirror.com/@antv/event-emitter/-/event-emitter-0.1.3.tgz", + "integrity": "sha512-4ddpsiHN9Pd4UIlWuKVK1C4IiZIdbwQvy9i7DUSI3xNJ89FPUFt8lxDYj8GzzfdllV0NkJTRxnG+FvLk0llidg==" + }, + "node_modules/@antv/g": { + "version": "6.0.12", + "resolved": "https://registry.npmmirror.com/@antv/g/-/g-6.0.12.tgz", + "integrity": "sha512-7FEYxc8rR79Wi3VdCHqf/MY0a+6X3N5y8D0FiGc3XBtt8WnmJYWO/wcN8rQRvIV//ecMSeq9V/9En1TqyOnaEA==", + "dependencies": { + "@antv/g-camera-api": "2.0.11", + "@antv/g-dom-mutation-observer-api": "2.0.8", + "@antv/g-lite": "2.0.8", + "@antv/g-web-animations-api": "2.0.9" + } + }, + "node_modules/@antv/g-base": { + "version": "0.5.16", + "resolved": "https://registry.npmmirror.com/@antv/g-base/-/g-base-0.5.16.tgz", + "integrity": "sha512-jP06wggTubDPHXoKwFg3/f1lyxBX9ywwN3E/HG74Nd7DXqOXQis8tsIWW+O6dS/h9vyuXLd1/wDWkMMm3ZzXdg==", + "peer": true, + "dependencies": { + "@antv/event-emitter": "^0.1.1", + "@antv/g-math": "^0.1.9", + "@antv/matrix-util": "^3.1.0-beta.1", + "@antv/path-util": "~2.0.5", + "@antv/util": "~2.0.13", + "@types/d3-timer": "^2.0.0", + "d3-ease": "^1.0.5", + "d3-interpolate": "^3.0.1", + "d3-timer": "^1.0.9", + "detect-browser": "^5.1.0", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/g-base/node_modules/@antv/g-math": { + "version": "0.1.9", + "resolved": "https://registry.npmmirror.com/@antv/g-math/-/g-math-0.1.9.tgz", + "integrity": "sha512-KHMSfPfZ5XHM1PZnG42Q2gxXfOitYveNTA7L61lR6mhZ8Y/aExsYmHqaKBsSarU0z+6WLrl9C07PQJZaw0uljQ==", + "peer": true, + "dependencies": { + "@antv/util": "~2.0.0", + "gl-matrix": "^3.0.0" + } + }, + "node_modules/@antv/g-base/node_modules/@antv/path-util": { + "version": "2.0.15", + "resolved": "https://registry.npmmirror.com/@antv/path-util/-/path-util-2.0.15.tgz", + "integrity": "sha512-R2VLZ5C8PLPtr3VciNyxtjKqJ0XlANzpFb5sE9GE61UQqSRuSVSzIakMxjEPrpqbgc+s+y8i+fmc89Snu7qbNw==", + "peer": true, + "dependencies": { + "@antv/matrix-util": "^3.0.4", + "@antv/util": "^2.0.9", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/g-base/node_modules/@antv/path-util/node_modules/@antv/matrix-util": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/@antv/matrix-util/-/matrix-util-3.0.4.tgz", + "integrity": "sha512-BAPyu6dUliHcQ7fm9hZSGKqkwcjEDVLVAstlHULLvcMZvANHeLXgHEgV7JqcAV/GIhIz8aZChIlzM1ZboiXpYQ==", + "peer": true, + "dependencies": { + "@antv/util": "^2.0.9", + "gl-matrix": "^3.3.0", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/g-camera-api": { + "version": "2.0.11", + "resolved": "https://registry.npmmirror.com/@antv/g-camera-api/-/g-camera-api-2.0.11.tgz", + "integrity": "sha512-wgF0zLixf9mDZvFXItnX9VLTxLM0mDSJvMRQ0pPPhFbMCDyewECLskBfU8a7tdQuIMjKEHiJmsrFVoheZTUZxQ==", + "dependencies": { + "@antv/g-lite": "2.0.8", + "@antv/util": "^3.3.5", + "gl-matrix": "^3.4.3", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g-camera-api/node_modules/@antv/g-lite": { + "version": "2.0.8", + "resolved": "https://registry.npmmirror.com/@antv/g-lite/-/g-lite-2.0.8.tgz", + "integrity": "sha512-heq4GGHZD4Mk9QbgvjCjZO+sjlxHHmxw1uWZLdxfCSKZKF79AVJ2Srx1Eu0WwL+UnsAgwdmlWKBWh4YLx0Y4XQ==", + "dependencies": { + "@antv/g-math": "3.0.0", + "@antv/util": "^3.3.5", + "d3-color": "^3.1.0", + "eventemitter3": "^5.0.1", + "gl-matrix": "^3.4.3", + "rbush": "^3.0.1", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g-camera-api/node_modules/@antv/util": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.7.tgz", + "integrity": "sha512-qqPg7rIPCsJyl7N56jAC25v/99mJ3ApVkgBsGijhiWrEeKvzXBPk1r5P77Pm9nCljpnn+hH8Z3t5AivbEoTJMg==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/g-canvas": { + "version": "2.0.7", + "resolved": "https://registry.npmmirror.com/@antv/g-canvas/-/g-canvas-2.0.7.tgz", + "integrity": "sha512-tHa3Jq2B9EHDg8Icchxa+9z6TaTh4F0iVBqemj714XqPZfSf2cb+mr/AtqNsB25yCqosX31m8NsA+Ci18N2A1A==", + "dependencies": { + "@antv/g-lite": "2.0.5", + "@antv/g-plugin-canvas-path-generator": "2.0.5", + "@antv/g-plugin-canvas-picker": "2.0.6", + "@antv/g-plugin-canvas-renderer": "2.0.6", + "@antv/g-plugin-dom-interaction": "2.0.5", + "@antv/g-plugin-html-renderer": "2.0.6", + "@antv/g-plugin-image-loader": "2.0.5", + "@antv/util": "^3.3.5", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g-canvas/node_modules/@antv/util": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.7.tgz", + "integrity": "sha512-qqPg7rIPCsJyl7N56jAC25v/99mJ3ApVkgBsGijhiWrEeKvzXBPk1r5P77Pm9nCljpnn+hH8Z3t5AivbEoTJMg==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/g-dom-mutation-observer-api": { + "version": "2.0.8", + "resolved": "https://registry.npmmirror.com/@antv/g-dom-mutation-observer-api/-/g-dom-mutation-observer-api-2.0.8.tgz", + "integrity": "sha512-SeQ3CtdtUMWrQD4HgQH+o8ayP30yeZwBMFnplsiEzJxYAqt9Clh8EXJtUAVP7sjznKiYmLvFZW53uu2bUlPyTw==", + "dependencies": { + "@antv/g-lite": "2.0.8" + } + }, + "node_modules/@antv/g-dom-mutation-observer-api/node_modules/@antv/g-lite": { + "version": "2.0.8", + "resolved": "https://registry.npmmirror.com/@antv/g-lite/-/g-lite-2.0.8.tgz", + "integrity": "sha512-heq4GGHZD4Mk9QbgvjCjZO+sjlxHHmxw1uWZLdxfCSKZKF79AVJ2Srx1Eu0WwL+UnsAgwdmlWKBWh4YLx0Y4XQ==", + "dependencies": { + "@antv/g-math": "3.0.0", + "@antv/util": "^3.3.5", + "d3-color": "^3.1.0", + "eventemitter3": "^5.0.1", + "gl-matrix": "^3.4.3", + "rbush": "^3.0.1", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g-dom-mutation-observer-api/node_modules/@antv/util": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.7.tgz", + "integrity": "sha512-qqPg7rIPCsJyl7N56jAC25v/99mJ3ApVkgBsGijhiWrEeKvzXBPk1r5P77Pm9nCljpnn+hH8Z3t5AivbEoTJMg==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/g-lite": { + "version": "2.0.5", + "resolved": "https://registry.npmmirror.com/@antv/g-lite/-/g-lite-2.0.5.tgz", + "integrity": "sha512-IeD7L10MOofNg302Zrru09zjNczCyOAC6mFLjHQlkYCQRtcU04zn32pTxCDy7xRkLHlhAK1mlymBqzeRMkmrRg==", + "dependencies": { + "@antv/g-math": "3.0.0", + "@antv/util": "^3.3.5", + "d3-color": "^3.1.0", + "eventemitter3": "^5.0.1", + "gl-matrix": "^3.4.3", + "rbush": "^3.0.1", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g-lite/node_modules/@antv/util": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.7.tgz", + "integrity": "sha512-qqPg7rIPCsJyl7N56jAC25v/99mJ3ApVkgBsGijhiWrEeKvzXBPk1r5P77Pm9nCljpnn+hH8Z3t5AivbEoTJMg==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/g-math": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/@antv/g-math/-/g-math-3.0.0.tgz", + "integrity": "sha512-AkmiNIEL1vgqTPeGY2wtsMdBBqKFwF7SKSgs+D1iOS/rqYMsXdhp/HvtuQ5tx/HdawE/ZzTiicIYopc520ADZw==", + "dependencies": { + "@antv/util": "^3.3.5", + "gl-matrix": "^3.4.3", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g-math/node_modules/@antv/util": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.7.tgz", + "integrity": "sha512-qqPg7rIPCsJyl7N56jAC25v/99mJ3ApVkgBsGijhiWrEeKvzXBPk1r5P77Pm9nCljpnn+hH8Z3t5AivbEoTJMg==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/g-plugin-canvas-path-generator": { + "version": "2.0.5", + "resolved": "https://registry.npmmirror.com/@antv/g-plugin-canvas-path-generator/-/g-plugin-canvas-path-generator-2.0.5.tgz", + "integrity": "sha512-O1TCCmrzJDWrA9BG2MfPb79zY23a2fOugygeAaj9CElc/rO5ZqZ4lO4NJe4UCHRInTTXJjGwPnIcmX24Gi6O/A==", + "dependencies": { + "@antv/g-lite": "2.0.5", + "@antv/g-math": "3.0.0", + "@antv/util": "^3.3.5", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g-plugin-canvas-path-generator/node_modules/@antv/util": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.7.tgz", + "integrity": "sha512-qqPg7rIPCsJyl7N56jAC25v/99mJ3ApVkgBsGijhiWrEeKvzXBPk1r5P77Pm9nCljpnn+hH8Z3t5AivbEoTJMg==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/g-plugin-canvas-picker": { + "version": "2.0.6", + "resolved": "https://registry.npmmirror.com/@antv/g-plugin-canvas-picker/-/g-plugin-canvas-picker-2.0.6.tgz", + "integrity": "sha512-QD9Z6YA29iJC36mQxd+qSX5tNlQZ41M4nGWY/iepKnOwAf9Rm+X4AgyIxKOrjg/rkRgUv2WR0Dp2eMfKUqm/Ng==", + "dependencies": { + "@antv/g-lite": "2.0.5", + "@antv/g-math": "3.0.0", + "@antv/g-plugin-canvas-path-generator": "2.0.5", + "@antv/g-plugin-canvas-renderer": "2.0.6", + "@antv/util": "^3.3.5", + "gl-matrix": "^3.4.3", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g-plugin-canvas-picker/node_modules/@antv/util": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.7.tgz", + "integrity": "sha512-qqPg7rIPCsJyl7N56jAC25v/99mJ3ApVkgBsGijhiWrEeKvzXBPk1r5P77Pm9nCljpnn+hH8Z3t5AivbEoTJMg==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/g-plugin-canvas-renderer": { + "version": "2.0.6", + "resolved": "https://registry.npmmirror.com/@antv/g-plugin-canvas-renderer/-/g-plugin-canvas-renderer-2.0.6.tgz", + "integrity": "sha512-65uoJ2XJcUeGDYxnMxsGkdvaNNmEy79QEstr//as8hH+ssyUZJhBLgsDnhLqBQWYQGb7fXMPG0rUEesfjGOYkg==", + "dependencies": { + "@antv/g-lite": "2.0.5", + "@antv/g-math": "3.0.0", + "@antv/g-plugin-canvas-path-generator": "2.0.5", + "@antv/g-plugin-image-loader": "2.0.5", + "@antv/util": "^3.3.5", + "gl-matrix": "^3.4.3", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g-plugin-canvas-renderer/node_modules/@antv/util": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.7.tgz", + "integrity": "sha512-qqPg7rIPCsJyl7N56jAC25v/99mJ3ApVkgBsGijhiWrEeKvzXBPk1r5P77Pm9nCljpnn+hH8Z3t5AivbEoTJMg==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/g-plugin-dom-interaction": { + "version": "2.0.5", + "resolved": "https://registry.npmmirror.com/@antv/g-plugin-dom-interaction/-/g-plugin-dom-interaction-2.0.5.tgz", + "integrity": "sha512-m4LeXM63d+MqQguCgmZU8TvvfuLlZ9zrtKWtRr6gYhi0+98o/3+pPrluIZhZHdgplH209+nN2JQ/ceoWp4OrZA==", + "dependencies": { + "@antv/g-lite": "2.0.5", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g-plugin-dragndrop": { + "version": "2.0.8", + "resolved": "https://registry.npmmirror.com/@antv/g-plugin-dragndrop/-/g-plugin-dragndrop-2.0.8.tgz", + "integrity": "sha512-TC4PyQK3jG074XuLQF1lS+aeq4GJbvs7ioQJuABXAj/B1WtB7r7XFDeQfSN8uSaCQQKz4ZfFuY5PxDYwHESywA==", + "dependencies": { + "@antv/g-lite": "2.0.8", + "@antv/util": "^3.3.5", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g-plugin-dragndrop/node_modules/@antv/g-lite": { + "version": "2.0.8", + "resolved": "https://registry.npmmirror.com/@antv/g-lite/-/g-lite-2.0.8.tgz", + "integrity": "sha512-heq4GGHZD4Mk9QbgvjCjZO+sjlxHHmxw1uWZLdxfCSKZKF79AVJ2Srx1Eu0WwL+UnsAgwdmlWKBWh4YLx0Y4XQ==", + "dependencies": { + "@antv/g-math": "3.0.0", + "@antv/util": "^3.3.5", + "d3-color": "^3.1.0", + "eventemitter3": "^5.0.1", + "gl-matrix": "^3.4.3", + "rbush": "^3.0.1", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g-plugin-dragndrop/node_modules/@antv/util": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.7.tgz", + "integrity": "sha512-qqPg7rIPCsJyl7N56jAC25v/99mJ3ApVkgBsGijhiWrEeKvzXBPk1r5P77Pm9nCljpnn+hH8Z3t5AivbEoTJMg==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/g-plugin-html-renderer": { + "version": "2.0.6", + "resolved": "https://registry.npmmirror.com/@antv/g-plugin-html-renderer/-/g-plugin-html-renderer-2.0.6.tgz", + "integrity": "sha512-dk0GHksBeuZlHFK/ARr6WRXQLuBQtsl7lboYQWXUVTlk+lIFq1n459hpukKokah89bRvnSAuqMVlBqEsyjn+nw==", + "dependencies": { + "@antv/g-lite": "2.0.5", + "@antv/util": "^3.3.5", + "gl-matrix": "^3.4.3", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g-plugin-html-renderer/node_modules/@antv/util": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.7.tgz", + "integrity": "sha512-qqPg7rIPCsJyl7N56jAC25v/99mJ3ApVkgBsGijhiWrEeKvzXBPk1r5P77Pm9nCljpnn+hH8Z3t5AivbEoTJMg==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/g-plugin-image-loader": { + "version": "2.0.5", + "resolved": "https://registry.npmmirror.com/@antv/g-plugin-image-loader/-/g-plugin-image-loader-2.0.5.tgz", + "integrity": "sha512-TMpwOW4KibMtKOZZVMZHny+LOrWGjl1GP+i3N8sQx97oDaxIoNIB789XriuovKU/S71Y77ZTrqQdldknwWY24A==", + "dependencies": { + "@antv/g-lite": "2.0.5", + "@antv/util": "^3.3.5", + "gl-matrix": "^3.4.3", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g-plugin-image-loader/node_modules/@antv/util": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.7.tgz", + "integrity": "sha512-qqPg7rIPCsJyl7N56jAC25v/99mJ3ApVkgBsGijhiWrEeKvzXBPk1r5P77Pm9nCljpnn+hH8Z3t5AivbEoTJMg==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/g-svg": { + "version": "0.5.7", + "resolved": "https://registry.npmmirror.com/@antv/g-svg/-/g-svg-0.5.7.tgz", + "integrity": "sha512-jUbWoPgr4YNsOat2Y/rGAouNQYGpw4R0cvlN0YafwOyacFFYy2zC8RslNd6KkPhhR3XHNSqJOuCYZj/YmLUwYw==", + "peer": true, + "dependencies": { + "@antv/g-base": "^0.5.12", + "@antv/g-math": "^0.1.9", + "@antv/util": "~2.0.0", + "detect-browser": "^5.0.0", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/g-svg/node_modules/@antv/g-math": { + "version": "0.1.9", + "resolved": "https://registry.npmmirror.com/@antv/g-math/-/g-math-0.1.9.tgz", + "integrity": "sha512-KHMSfPfZ5XHM1PZnG42Q2gxXfOitYveNTA7L61lR6mhZ8Y/aExsYmHqaKBsSarU0z+6WLrl9C07PQJZaw0uljQ==", + "peer": true, + "dependencies": { + "@antv/util": "~2.0.0", + "gl-matrix": "^3.0.0" + } + }, + "node_modules/@antv/g-web-animations-api": { + "version": "2.0.9", + "resolved": "https://registry.npmmirror.com/@antv/g-web-animations-api/-/g-web-animations-api-2.0.9.tgz", + "integrity": "sha512-ekAB/OVaIBegNjtjydR9cmCZF67SK0w38aOj6n39G8EeOnCD2vOdV3grAIPWkjYU0oixoQ6IYQUXc+3nMZ0Txg==", + "dependencies": { + "@antv/g-lite": "2.0.8", + "@antv/util": "^3.3.5", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g-web-animations-api/node_modules/@antv/g-lite": { + "version": "2.0.8", + "resolved": "https://registry.npmmirror.com/@antv/g-lite/-/g-lite-2.0.8.tgz", + "integrity": "sha512-heq4GGHZD4Mk9QbgvjCjZO+sjlxHHmxw1uWZLdxfCSKZKF79AVJ2Srx1Eu0WwL+UnsAgwdmlWKBWh4YLx0Y4XQ==", + "dependencies": { + "@antv/g-math": "3.0.0", + "@antv/util": "^3.3.5", + "d3-color": "^3.1.0", + "eventemitter3": "^5.0.1", + "gl-matrix": "^3.4.3", + "rbush": "^3.0.1", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g-web-animations-api/node_modules/@antv/util": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.7.tgz", + "integrity": "sha512-qqPg7rIPCsJyl7N56jAC25v/99mJ3ApVkgBsGijhiWrEeKvzXBPk1r5P77Pm9nCljpnn+hH8Z3t5AivbEoTJMg==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/g-webgpu": { + "version": "0.7.2", + "resolved": "https://registry.npmmirror.com/@antv/g-webgpu/-/g-webgpu-0.7.2.tgz", + "integrity": "sha512-kw+oYGsdvj5qeUfy5DPb/jztZBV+2fmqBd3Vv8NlKatfBmv8AirYX/CCW74AUSdWm99rEiLyxFB1VdRZ6b/wnQ==", + "peer": true, + "dependencies": { + "@antv/g-webgpu-core": "^0.7.2", + "@antv/g-webgpu-engine": "^0.7.2", + "gl-matrix": "^3.1.0", + "gl-vec2": "^1.3.0", + "lodash": "^4.17.15" + } + }, + "node_modules/@antv/g-webgpu-core": { + "version": "0.7.2", + "resolved": "https://registry.npmmirror.com/@antv/g-webgpu-core/-/g-webgpu-core-0.7.2.tgz", + "integrity": "sha512-xUMmop7f3Rs34zFYKXLqHhDR1CQTeDl/7vI7Sn3X/73BqJc3X3HIIRvm83Fg2CjVACaOzw4WeLRXNaOCp9fz9w==", + "peer": true, + "dependencies": { + "eventemitter3": "^4.0.0", + "gl-matrix": "^3.1.0", + "lodash": "^4.17.15", + "probe.gl": "^3.1.1" + } + }, + "node_modules/@antv/g-webgpu-core/node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmmirror.com/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "peer": true + }, + "node_modules/@antv/g-webgpu-engine": { + "version": "0.7.2", + "resolved": "https://registry.npmmirror.com/@antv/g-webgpu-engine/-/g-webgpu-engine-0.7.2.tgz", + "integrity": "sha512-lx8Y93IW2cnJvdoDRKyMmTdYqSC1pOmF0nyG3PGGyA0NI9vBYVgO0KTF6hkyWjdTWVq7XDZyf/h8CJridLh3lg==", + "peer": true, + "dependencies": { + "@antv/g-webgpu-core": "^0.7.2", + "gl-matrix": "^3.1.0", + "lodash": "^4.17.15", + "regl": "^1.3.11" + } + }, + "node_modules/@antv/g/node_modules/@antv/g-lite": { + "version": "2.0.8", + "resolved": "https://registry.npmmirror.com/@antv/g-lite/-/g-lite-2.0.8.tgz", + "integrity": "sha512-heq4GGHZD4Mk9QbgvjCjZO+sjlxHHmxw1uWZLdxfCSKZKF79AVJ2Srx1Eu0WwL+UnsAgwdmlWKBWh4YLx0Y4XQ==", + "dependencies": { + "@antv/g-math": "3.0.0", + "@antv/util": "^3.3.5", + "d3-color": "^3.1.0", + "eventemitter3": "^5.0.1", + "gl-matrix": "^3.4.3", + "rbush": "^3.0.1", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g/node_modules/@antv/util": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.7.tgz", + "integrity": "sha512-qqPg7rIPCsJyl7N56jAC25v/99mJ3ApVkgBsGijhiWrEeKvzXBPk1r5P77Pm9nCljpnn+hH8Z3t5AivbEoTJMg==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/g2": { + "version": "5.1.22", + "resolved": "https://registry.npmmirror.com/@antv/g2/-/g2-5.1.22.tgz", + "integrity": "sha512-5h3+frt+fhXgtu/PWFRgHWsxSfSsEpH49YqT2v1b+9KJ561sMCqRzU/Q4yCMuZr76drZuMlZmm+CC+cEIVmmxw==", + "dependencies": { + "@antv/component": "^2.0.0", + "@antv/coord": "^0.4.6", + "@antv/event-emitter": "^0.1.3", + "@antv/g": "^6.0.0", + "@antv/g-canvas": "^2.0.0", + "@antv/g-plugin-dragndrop": "^2.0.0", + "@antv/path-util": "^3.0.1", + "@antv/scale": "^0.4.12", + "@antv/util": "^3.3.5", + "d3-array": "^3.2.4", + "d3-dsv": "^3.0.1", + "d3-force": "^3.0.0", + "d3-format": "^3.1.0", + "d3-geo": "^3.1.0", + "d3-hierarchy": "^3.1.2", + "d3-path": "^3.1.0", + "d3-scale-chromatic": "^3.0.0", + "d3-shape": "^3.2.0", + "d3-voronoi": "^1.1.4", + "flru": "^1.0.2", + "fmin": "^0.0.2", + "pdfast": "^0.2.0" + } + }, + "node_modules/@antv/g2/node_modules/@antv/util": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.7.tgz", + "integrity": "sha512-qqPg7rIPCsJyl7N56jAC25v/99mJ3ApVkgBsGijhiWrEeKvzXBPk1r5P77Pm9nCljpnn+hH8Z3t5AivbEoTJMg==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/g2plot": { + "version": "2.4.32", + "resolved": "https://registry.npmmirror.com/@antv/g2plot/-/g2plot-2.4.32.tgz", + "integrity": "sha512-HTBuAMa+PJ6DqY1XCX1GBNTGz/IBmn9lx2xu18NQSHtgXAIHWSF+WYs7Aj8iaujcapM8g+IPgjS6ObO1u9CbFg==", + "peer": true, + "dependencies": { + "@antv/color-util": "^2.0.6", + "@antv/event-emitter": "^0.1.2", + "@antv/g-base": "^0.5.11", + "@antv/g2": "^4.1.26", + "@antv/matrix-util": "^3.1.0-beta.2", + "@antv/path-util": "^3.0.1", + "@antv/scale": "^0.3.18", + "@antv/util": "^2.0.17", + "d3-hierarchy": "^2.0.0", + "d3-regression": "^1.3.5", + "fmin": "^0.0.2", + "pdfast": "^0.2.0", + "size-sensor": "^1.0.1", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/g2plot/node_modules/@antv/component": { + "version": "0.8.35", + "resolved": "https://registry.npmmirror.com/@antv/component/-/component-0.8.35.tgz", + "integrity": "sha512-VnRa5X77nBPI952o2xePEEMSNZ6g2mcUDrQY8mVL2kino/8TFhqDq5fTRmDXZyWyIYd4ulJTz5zgeSwAnX/INQ==", + "peer": true, + "dependencies": { + "@antv/color-util": "^2.0.3", + "@antv/dom-util": "~2.0.1", + "@antv/g-base": "^0.5.9", + "@antv/matrix-util": "^3.1.0-beta.1", + "@antv/path-util": "~2.0.7", + "@antv/scale": "~0.3.1", + "@antv/util": "~2.0.0", + "fecha": "~4.2.0", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/g2plot/node_modules/@antv/component/node_modules/@antv/path-util": { + "version": "2.0.15", + "resolved": "https://registry.npmmirror.com/@antv/path-util/-/path-util-2.0.15.tgz", + "integrity": "sha512-R2VLZ5C8PLPtr3VciNyxtjKqJ0XlANzpFb5sE9GE61UQqSRuSVSzIakMxjEPrpqbgc+s+y8i+fmc89Snu7qbNw==", + "peer": true, + "dependencies": { + "@antv/matrix-util": "^3.0.4", + "@antv/util": "^2.0.9", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/g2plot/node_modules/@antv/component/node_modules/@antv/path-util/node_modules/@antv/matrix-util": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/@antv/matrix-util/-/matrix-util-3.0.4.tgz", + "integrity": "sha512-BAPyu6dUliHcQ7fm9hZSGKqkwcjEDVLVAstlHULLvcMZvANHeLXgHEgV7JqcAV/GIhIz8aZChIlzM1ZboiXpYQ==", + "peer": true, + "dependencies": { + "@antv/util": "^2.0.9", + "gl-matrix": "^3.3.0", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/g2plot/node_modules/@antv/coord": { + "version": "0.3.1", + "resolved": "https://registry.npmmirror.com/@antv/coord/-/coord-0.3.1.tgz", + "integrity": "sha512-rFE94C8Xzbx4xmZnHh2AnlB3Qm1n5x0VT3OROy257IH6Rm4cuzv1+tZaUBATviwZd99S+rOY9telw/+6C9GbRw==", + "peer": true, + "dependencies": { + "@antv/matrix-util": "^3.1.0-beta.2", + "@antv/util": "~2.0.12", + "tslib": "^2.1.0" + } + }, + "node_modules/@antv/g2plot/node_modules/@antv/g-canvas": { + "version": "0.5.17", + "resolved": "https://registry.npmmirror.com/@antv/g-canvas/-/g-canvas-0.5.17.tgz", + "integrity": "sha512-sXYJMWTOlb/Ycb6sTKu00LcJqInXJY4t99+kSM40u2OfqrXYmaXDjHR7D2V0roMkbK/QWiWS9UnEidCR1VtMOA==", + "peer": true, + "dependencies": { + "@antv/g-base": "^0.5.12", + "@antv/g-math": "^0.1.9", + "@antv/matrix-util": "^3.1.0-beta.1", + "@antv/path-util": "~2.0.5", + "@antv/util": "~2.0.0", + "gl-matrix": "^3.0.0", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/g2plot/node_modules/@antv/g-canvas/node_modules/@antv/path-util": { + "version": "2.0.15", + "resolved": "https://registry.npmmirror.com/@antv/path-util/-/path-util-2.0.15.tgz", + "integrity": "sha512-R2VLZ5C8PLPtr3VciNyxtjKqJ0XlANzpFb5sE9GE61UQqSRuSVSzIakMxjEPrpqbgc+s+y8i+fmc89Snu7qbNw==", + "peer": true, + "dependencies": { + "@antv/matrix-util": "^3.0.4", + "@antv/util": "^2.0.9", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/g2plot/node_modules/@antv/g-canvas/node_modules/@antv/path-util/node_modules/@antv/matrix-util": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/@antv/matrix-util/-/matrix-util-3.0.4.tgz", + "integrity": "sha512-BAPyu6dUliHcQ7fm9hZSGKqkwcjEDVLVAstlHULLvcMZvANHeLXgHEgV7JqcAV/GIhIz8aZChIlzM1ZboiXpYQ==", + "peer": true, + "dependencies": { + "@antv/util": "^2.0.9", + "gl-matrix": "^3.3.0", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/g2plot/node_modules/@antv/g-math": { + "version": "0.1.9", + "resolved": "https://registry.npmmirror.com/@antv/g-math/-/g-math-0.1.9.tgz", + "integrity": "sha512-KHMSfPfZ5XHM1PZnG42Q2gxXfOitYveNTA7L61lR6mhZ8Y/aExsYmHqaKBsSarU0z+6WLrl9C07PQJZaw0uljQ==", + "peer": true, + "dependencies": { + "@antv/util": "~2.0.0", + "gl-matrix": "^3.0.0" + } + }, + "node_modules/@antv/g2plot/node_modules/@antv/g2": { + "version": "4.2.11", + "resolved": "https://registry.npmmirror.com/@antv/g2/-/g2-4.2.11.tgz", + "integrity": "sha512-QiqxLLYDWkv9c4oTcXscs6NMxBuWZ1JCarHPZ27J43IN2BV+qUKw8yce0A8CBR8fCILEFqQAfS00Szqpye036Q==", + "peer": true, + "dependencies": { + "@antv/adjust": "^0.2.1", + "@antv/attr": "^0.3.1", + "@antv/color-util": "^2.0.2", + "@antv/component": "^0.8.27", + "@antv/coord": "^0.3.0", + "@antv/dom-util": "^2.0.2", + "@antv/event-emitter": "~0.1.0", + "@antv/g-base": "~0.5.6", + "@antv/g-canvas": "~0.5.10", + "@antv/g-svg": "~0.5.6", + "@antv/matrix-util": "^3.1.0-beta.3", + "@antv/path-util": "^2.0.15", + "@antv/scale": "^0.3.14", + "@antv/util": "~2.0.5", + "tslib": "^2.0.0" + } + }, + "node_modules/@antv/g2plot/node_modules/@antv/g2/node_modules/@antv/path-util": { + "version": "2.0.15", + "resolved": "https://registry.npmmirror.com/@antv/path-util/-/path-util-2.0.15.tgz", + "integrity": "sha512-R2VLZ5C8PLPtr3VciNyxtjKqJ0XlANzpFb5sE9GE61UQqSRuSVSzIakMxjEPrpqbgc+s+y8i+fmc89Snu7qbNw==", + "peer": true, + "dependencies": { + "@antv/matrix-util": "^3.0.4", + "@antv/util": "^2.0.9", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/g2plot/node_modules/@antv/g2/node_modules/@antv/path-util/node_modules/@antv/matrix-util": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/@antv/matrix-util/-/matrix-util-3.0.4.tgz", + "integrity": "sha512-BAPyu6dUliHcQ7fm9hZSGKqkwcjEDVLVAstlHULLvcMZvANHeLXgHEgV7JqcAV/GIhIz8aZChIlzM1ZboiXpYQ==", + "peer": true, + "dependencies": { + "@antv/util": "^2.0.9", + "gl-matrix": "^3.3.0", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/g2plot/node_modules/@antv/scale": { + "version": "0.3.18", + "resolved": "https://registry.npmmirror.com/@antv/scale/-/scale-0.3.18.tgz", + "integrity": "sha512-GHwE6Lo7S/Q5fgaLPaCsW+CH+3zl4aXpnN1skOiEY0Ue9/u+s2EySv6aDXYkAqs//i0uilMDD/0/4n8caX9U9w==", + "peer": true, + "dependencies": { + "@antv/util": "~2.0.3", + "fecha": "~4.2.0", + "tslib": "^2.0.0" + } + }, + "node_modules/@antv/g2plot/node_modules/d3-hierarchy": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/d3-hierarchy/-/d3-hierarchy-2.0.0.tgz", + "integrity": "sha512-SwIdqM3HxQX2214EG9GTjgmCc/mbSx4mQBn+DuEETubhOw6/U3fmnji4uCVrmzOydMHSO1nZle5gh6HB/wdOzw==", + "peer": true + }, + "node_modules/@antv/g6": { + "version": "5.0.17", + "resolved": "https://registry.npmmirror.com/@antv/g6/-/g6-5.0.17.tgz", + "integrity": "sha512-i9dWgvzDTKs5ry+LTtxFoUrUGyeM80OTFA8W9RGDB/9Nu2tboNqrq4OEmkwAulOELnKugz238dESgxLBG7gkdg==", + "dependencies": { + "@antv/component": "^2.0.3", + "@antv/event-emitter": "^0.1.3", + "@antv/g": "^6.0.12", + "@antv/g-canvas": "^2.0.10", + "@antv/g-plugin-dragndrop": "^2.0.8", + "@antv/graphlib": "^2.0.3", + "@antv/hierarchy": "^0.6.12", + "@antv/layout": "1.2.14-beta.5", + "@antv/util": "^3.3.7", + "bubblesets-js": "^2.3.3", + "hull.js": "^1.0.6" + } + }, + "node_modules/@antv/g6-core": { + "version": "0.8.24", + "resolved": "https://registry.npmmirror.com/@antv/g6-core/-/g6-core-0.8.24.tgz", + "integrity": "sha512-rgI3dArAD8uoSz2+skS4ctN4x/Of33ivTIKaEYYvClxgkLZWVz9zvocy+5AWcVPBHZsAXkZcdh9zndIoWY/33A==", + "peer": true, + "dependencies": { + "@antv/algorithm": "^0.1.26", + "@antv/dom-util": "^2.0.1", + "@antv/event-emitter": "~0.1.0", + "@antv/g-base": "^0.5.1", + "@antv/g-math": "^0.1.1", + "@antv/matrix-util": "^3.1.0-beta.3", + "@antv/path-util": "^2.0.3", + "@antv/util": "~2.0.5", + "ml-matrix": "^6.5.0", + "tslib": "^2.6.2" + } + }, + "node_modules/@antv/g6-core/node_modules/@antv/g-math": { + "version": "0.1.9", + "resolved": "https://registry.npmmirror.com/@antv/g-math/-/g-math-0.1.9.tgz", + "integrity": "sha512-KHMSfPfZ5XHM1PZnG42Q2gxXfOitYveNTA7L61lR6mhZ8Y/aExsYmHqaKBsSarU0z+6WLrl9C07PQJZaw0uljQ==", + "peer": true, + "dependencies": { + "@antv/util": "~2.0.0", + "gl-matrix": "^3.0.0" + } + }, + "node_modules/@antv/g6-core/node_modules/@antv/path-util": { + "version": "2.0.15", + "resolved": "https://registry.npmmirror.com/@antv/path-util/-/path-util-2.0.15.tgz", + "integrity": "sha512-R2VLZ5C8PLPtr3VciNyxtjKqJ0XlANzpFb5sE9GE61UQqSRuSVSzIakMxjEPrpqbgc+s+y8i+fmc89Snu7qbNw==", + "peer": true, + "dependencies": { + "@antv/matrix-util": "^3.0.4", + "@antv/util": "^2.0.9", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/g6-core/node_modules/@antv/path-util/node_modules/@antv/matrix-util": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/@antv/matrix-util/-/matrix-util-3.0.4.tgz", + "integrity": "sha512-BAPyu6dUliHcQ7fm9hZSGKqkwcjEDVLVAstlHULLvcMZvANHeLXgHEgV7JqcAV/GIhIz8aZChIlzM1ZboiXpYQ==", + "peer": true, + "dependencies": { + "@antv/util": "^2.0.9", + "gl-matrix": "^3.3.0", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/g6-pc": { + "version": "0.8.24", + "resolved": "https://registry.npmmirror.com/@antv/g6-pc/-/g6-pc-0.8.24.tgz", + "integrity": "sha512-nf0y1lrp8J5DotqRryXd2S/J30COW8spVcLF9gUqywGqQAHfE00Ywkqr+PZBnsfCZXsXCi9o0+CE9NrkWs4SBQ==", + "peer": true, + "dependencies": { + "@ant-design/colors": "^4.0.5", + "@antv/algorithm": "^0.1.26", + "@antv/dom-util": "^2.0.1", + "@antv/event-emitter": "~0.1.0", + "@antv/g-base": "^0.5.1", + "@antv/g-canvas": "^0.5.2", + "@antv/g-math": "^0.1.1", + "@antv/g-svg": "^0.5.1", + "@antv/g6-core": "0.8.24", + "@antv/g6-element": "0.8.24", + "@antv/g6-plugin": "0.8.24", + "@antv/hierarchy": "^0.6.10", + "@antv/layout": "^0.3.0", + "@antv/matrix-util": "^3.1.0-beta.3", + "@antv/path-util": "^2.0.3", + "@antv/util": "~2.0.5", + "color": "^3.1.3", + "d3-force": "^2.0.1", + "dagre": "^0.8.5", + "insert-css": "^2.0.0", + "ml-matrix": "^6.5.0", + "tslib": "^2.6.2" + } + }, + "node_modules/@antv/g6-pc/node_modules/@ant-design/colors": { + "version": "4.0.5", + "resolved": "https://registry.npmmirror.com/@ant-design/colors/-/colors-4.0.5.tgz", + "integrity": "sha512-3mnuX2prnWOWvpFTS2WH2LoouWlOgtnIpc6IarWN6GOzzLF8dW/U8UctuvIPhoboETehZfJ61XP+CGakBEPJ3Q==", + "peer": true, + "dependencies": { + "tinycolor2": "^1.4.1" + } + }, + "node_modules/@antv/g6-pc/node_modules/@antv/g-canvas": { + "version": "0.5.17", + "resolved": "https://registry.npmmirror.com/@antv/g-canvas/-/g-canvas-0.5.17.tgz", + "integrity": "sha512-sXYJMWTOlb/Ycb6sTKu00LcJqInXJY4t99+kSM40u2OfqrXYmaXDjHR7D2V0roMkbK/QWiWS9UnEidCR1VtMOA==", + "peer": true, + "dependencies": { + "@antv/g-base": "^0.5.12", + "@antv/g-math": "^0.1.9", + "@antv/matrix-util": "^3.1.0-beta.1", + "@antv/path-util": "~2.0.5", + "@antv/util": "~2.0.0", + "gl-matrix": "^3.0.0", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/g6-pc/node_modules/@antv/g-math": { + "version": "0.1.9", + "resolved": "https://registry.npmmirror.com/@antv/g-math/-/g-math-0.1.9.tgz", + "integrity": "sha512-KHMSfPfZ5XHM1PZnG42Q2gxXfOitYveNTA7L61lR6mhZ8Y/aExsYmHqaKBsSarU0z+6WLrl9C07PQJZaw0uljQ==", + "peer": true, + "dependencies": { + "@antv/util": "~2.0.0", + "gl-matrix": "^3.0.0" + } + }, + "node_modules/@antv/g6-pc/node_modules/@antv/g6": { + "version": "4.8.24", + "resolved": "https://registry.npmmirror.com/@antv/g6/-/g6-4.8.24.tgz", + "integrity": "sha512-bgj7sZ+z45JmOngIpYpwmSIg7SboMLZBoAlX0+RoAETZB3/xvZO0MXT3lCSyAhIgm5Sb68pekKi7OStuo04NyQ==", + "peer": true, + "dependencies": { + "@antv/g6-pc": "0.8.24" + } + }, + "node_modules/@antv/g6-pc/node_modules/@antv/g6-element": { + "version": "0.8.24", + "resolved": "https://registry.npmmirror.com/@antv/g6-element/-/g6-element-0.8.24.tgz", + "integrity": "sha512-61FXkt9LY+6EOUtSam1iFTOW2AM59sPVcV1BuPj4dXiD0dluLE+R7d8B/94g1tKDw9tsjhfUQGC7hTXscJRJFw==", + "peer": true, + "dependencies": { + "@antv/g-base": "^0.5.1", + "@antv/g6-core": "0.8.24", + "@antv/util": "~2.0.5", + "tslib": "^2.6.2" + }, + "peerDependencies": { + "@antv/g6": "4.8.24" + } + }, + "node_modules/@antv/g6-pc/node_modules/@antv/g6-plugin": { + "version": "0.8.24", + "resolved": "https://registry.npmmirror.com/@antv/g6-plugin/-/g6-plugin-0.8.24.tgz", + "integrity": "sha512-ZIOnwLTC7SM2bFiJZ3vYFWnkyOCWKqnU96i/fBh1qAoY5slDS3hatenZWEXUtOcqaKw1h+5A5f72MRXqBBVn0g==", + "peer": true, + "dependencies": { + "@antv/dom-util": "^2.0.2", + "@antv/g-base": "^0.5.1", + "@antv/g-canvas": "^0.5.2", + "@antv/g-svg": "^0.5.2", + "@antv/g6-core": "0.8.24", + "@antv/g6-element": "0.8.24", + "@antv/matrix-util": "^3.1.0-beta.3", + "@antv/path-util": "^2.0.3", + "@antv/scale": "^0.3.4", + "@antv/util": "^2.0.9", + "insert-css": "^2.0.0" + }, + "peerDependencies": { + "@antv/g6": "4.8.24" + } + }, + "node_modules/@antv/g6-pc/node_modules/@antv/graphlib": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/@antv/graphlib/-/graphlib-1.2.0.tgz", + "integrity": "sha512-hhJOMThec51nU4Fe5p/viLlNIL71uDEgYFzKPajWjr2715SFG1HAgiP6AVylIeqBcAZ04u3Lw7usjl/TuI5RuQ==", + "peer": true + }, + "node_modules/@antv/g6-pc/node_modules/@antv/layout": { + "version": "0.3.25", + "resolved": "https://registry.npmmirror.com/@antv/layout/-/layout-0.3.25.tgz", + "integrity": "sha512-d29Aw1PXoAavMRZy7iTB9L5rMBeChFEX0BJ9ELP4TI35ySdCu07YbmPo9ju9OH/6sG2/NB3o85Ayxrre3iwX/g==", + "peer": true, + "dependencies": { + "@antv/g-webgpu": "0.7.2", + "@antv/graphlib": "^1.0.0", + "@antv/util": "^3.3.2", + "d3-force": "^2.1.1", + "d3-quadtree": "^2.0.0", + "dagre-compound": "^0.0.11", + "ml-matrix": "6.5.0" + } + }, + "node_modules/@antv/g6-pc/node_modules/@antv/layout/node_modules/@antv/util": { + "version": "3.3.8", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.8.tgz", + "integrity": "sha512-RO2vmp84adfZn5HVXuNtHr35PRWthw4oCUv0hn9DmEWwOJSeU6NtDCEg9KvU8sH2bJaS3fe/cppNSVy2L8tOaw==", + "peer": true, + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/g6-pc/node_modules/@antv/path-util": { + "version": "2.0.15", + "resolved": "https://registry.npmmirror.com/@antv/path-util/-/path-util-2.0.15.tgz", + "integrity": "sha512-R2VLZ5C8PLPtr3VciNyxtjKqJ0XlANzpFb5sE9GE61UQqSRuSVSzIakMxjEPrpqbgc+s+y8i+fmc89Snu7qbNw==", + "peer": true, + "dependencies": { + "@antv/matrix-util": "^3.0.4", + "@antv/util": "^2.0.9", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/g6-pc/node_modules/@antv/path-util/node_modules/@antv/matrix-util": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/@antv/matrix-util/-/matrix-util-3.0.4.tgz", + "integrity": "sha512-BAPyu6dUliHcQ7fm9hZSGKqkwcjEDVLVAstlHULLvcMZvANHeLXgHEgV7JqcAV/GIhIz8aZChIlzM1ZboiXpYQ==", + "peer": true, + "dependencies": { + "@antv/util": "^2.0.9", + "gl-matrix": "^3.3.0", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/g6-pc/node_modules/@antv/scale": { + "version": "0.3.18", + "resolved": "https://registry.npmmirror.com/@antv/scale/-/scale-0.3.18.tgz", + "integrity": "sha512-GHwE6Lo7S/Q5fgaLPaCsW+CH+3zl4aXpnN1skOiEY0Ue9/u+s2EySv6aDXYkAqs//i0uilMDD/0/4n8caX9U9w==", + "peer": true, + "dependencies": { + "@antv/util": "~2.0.3", + "fecha": "~4.2.0", + "tslib": "^2.0.0" + } + }, + "node_modules/@antv/g6-pc/node_modules/d3-dispatch": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/d3-dispatch/-/d3-dispatch-2.0.0.tgz", + "integrity": "sha512-S/m2VsXI7gAti2pBoLClFFTMOO1HTtT0j99AuXLoGFKO6deHDdnv6ZGTxSTTUTgO1zVcv82fCOtDjYK4EECmWA==", + "peer": true + }, + "node_modules/@antv/g6-pc/node_modules/d3-force": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/d3-force/-/d3-force-2.1.1.tgz", + "integrity": "sha512-nAuHEzBqMvpFVMf9OX75d00OxvOXdxY+xECIXjW6Gv8BRrXu6gAWbv/9XKrvfJ5i5DCokDW7RYE50LRoK092ew==", + "peer": true, + "dependencies": { + "d3-dispatch": "1 - 2", + "d3-quadtree": "1 - 2", + "d3-timer": "1 - 2" + } + }, + "node_modules/@antv/g6-pc/node_modules/d3-quadtree": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/d3-quadtree/-/d3-quadtree-2.0.0.tgz", + "integrity": "sha512-b0Ed2t1UUalJpc3qXzKi+cPGxeXRr4KU9YSlocN74aTzp6R/Ud43t79yLLqxHRWZfsvWXmbDWPpoENK1K539xw==", + "peer": true + }, + "node_modules/@antv/g6-pc/node_modules/ml-matrix": { + "version": "6.5.0", + "resolved": "https://registry.npmmirror.com/ml-matrix/-/ml-matrix-6.5.0.tgz", + "integrity": "sha512-sms732Dge+rs5dU4mnjE0oqLWm1WujvR2fr38LgUHRG2cjXjWlO3WJupLYaSz3++2iYr0UrGDK72OAivr3J8dg==", + "peer": true, + "dependencies": { + "ml-array-rescale": "^1.3.1" + } + }, + "node_modules/@antv/g6/node_modules/@antv/component": { + "version": "2.0.4", + "resolved": "https://registry.npmmirror.com/@antv/component/-/component-2.0.4.tgz", + "integrity": "sha512-1bqDP98gCZhgAK34SGjQk2LI0BoY+VPA3iO74hM+bjSug33V99baoB29ahO+E/upf/o0aiOhkYN/lM3zWKeCxg==", + "dependencies": { + "@antv/g": "^6.0.5", + "@antv/scale": "^0.4.3", + "@antv/util": "^3.3.5", + "svg-path-parser": "^1.1.0" + } + }, + "node_modules/@antv/g6/node_modules/@antv/g-canvas": { + "version": "2.0.11", + "resolved": "https://registry.npmmirror.com/@antv/g-canvas/-/g-canvas-2.0.11.tgz", + "integrity": "sha512-daJeBk91g3rzae2YeHA20ind/HWXqL4lO1tSzLRAahpYlOBGQg7iK3TVU/qBMtMJPfZ1WDZY125Uw18bh6WEiw==", + "dependencies": { + "@antv/g-lite": "2.0.8", + "@antv/g-plugin-canvas-path-generator": "2.0.8", + "@antv/g-plugin-canvas-picker": "2.0.9", + "@antv/g-plugin-canvas-renderer": "2.0.9", + "@antv/g-plugin-dom-interaction": "2.0.8", + "@antv/g-plugin-html-renderer": "2.0.10", + "@antv/g-plugin-image-loader": "2.0.8", + "@antv/util": "^3.3.5", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g6/node_modules/@antv/g-lite": { + "version": "2.0.8", + "resolved": "https://registry.npmmirror.com/@antv/g-lite/-/g-lite-2.0.8.tgz", + "integrity": "sha512-heq4GGHZD4Mk9QbgvjCjZO+sjlxHHmxw1uWZLdxfCSKZKF79AVJ2Srx1Eu0WwL+UnsAgwdmlWKBWh4YLx0Y4XQ==", + "dependencies": { + "@antv/g-math": "3.0.0", + "@antv/util": "^3.3.5", + "d3-color": "^3.1.0", + "eventemitter3": "^5.0.1", + "gl-matrix": "^3.4.3", + "rbush": "^3.0.1", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g6/node_modules/@antv/g-plugin-canvas-path-generator": { + "version": "2.0.8", + "resolved": "https://registry.npmmirror.com/@antv/g-plugin-canvas-path-generator/-/g-plugin-canvas-path-generator-2.0.8.tgz", + "integrity": "sha512-UPwFhzFxPYmKwsdTZ2cOf/R2GPCG0iXNQjt0422xuYod9ZGMWLgjp3s11a3iXDjJLD2WCPHVF2YsxV0RO4+N4Q==", + "dependencies": { + "@antv/g-lite": "2.0.8", + "@antv/g-math": "3.0.0", + "@antv/util": "^3.3.5", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g6/node_modules/@antv/g-plugin-canvas-picker": { + "version": "2.0.9", + "resolved": "https://registry.npmmirror.com/@antv/g-plugin-canvas-picker/-/g-plugin-canvas-picker-2.0.9.tgz", + "integrity": "sha512-9vBDSud/NuFfq+AA044N2KIqRbFdS3+whS4BD12jbRjiIIwB34ttfuwNCZVU/BoFy/Q72t28UrKPA+/LqxFyzw==", + "dependencies": { + "@antv/g-lite": "2.0.8", + "@antv/g-math": "3.0.0", + "@antv/g-plugin-canvas-path-generator": "2.0.8", + "@antv/g-plugin-canvas-renderer": "2.0.9", + "@antv/util": "^3.3.5", + "gl-matrix": "^3.4.3", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g6/node_modules/@antv/g-plugin-canvas-renderer": { + "version": "2.0.9", + "resolved": "https://registry.npmmirror.com/@antv/g-plugin-canvas-renderer/-/g-plugin-canvas-renderer-2.0.9.tgz", + "integrity": "sha512-cDM5O78M5yVzaQQ0InacxVSEsoSjhFGLoATpXIvbK9689vF6nCJAWLT4qc/59jQA9AFL9G4WXEIHng7kLlJtrQ==", + "dependencies": { + "@antv/g-lite": "2.0.8", + "@antv/g-math": "3.0.0", + "@antv/g-plugin-canvas-path-generator": "2.0.8", + "@antv/g-plugin-image-loader": "2.0.8", + "@antv/util": "^3.3.5", + "gl-matrix": "^3.4.3", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g6/node_modules/@antv/g-plugin-dom-interaction": { + "version": "2.0.8", + "resolved": "https://registry.npmmirror.com/@antv/g-plugin-dom-interaction/-/g-plugin-dom-interaction-2.0.8.tgz", + "integrity": "sha512-hxw30xL42Om29LdKoqsKMYAAhpz+DZGdeZRoLmiH7ObZwgj6CLCfdBVwvqWHWo0D1tN5452rrPiPfw9hKTSm/A==", + "dependencies": { + "@antv/g-lite": "2.0.8", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g6/node_modules/@antv/g-plugin-html-renderer": { + "version": "2.0.10", + "resolved": "https://registry.npmmirror.com/@antv/g-plugin-html-renderer/-/g-plugin-html-renderer-2.0.10.tgz", + "integrity": "sha512-AVjnil2KnTeHGBkOTG6K7ZA1lzQt2R13dLose10Jkom0sEA91yDn1MDd5VxP97gLaqdStGjKgpPprEQXYVf8hA==", + "dependencies": { + "@antv/g-lite": "2.0.8", + "@antv/util": "^3.3.5", + "gl-matrix": "^3.4.3", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g6/node_modules/@antv/g-plugin-image-loader": { + "version": "2.0.8", + "resolved": "https://registry.npmmirror.com/@antv/g-plugin-image-loader/-/g-plugin-image-loader-2.0.8.tgz", + "integrity": "sha512-OFbtNLHT8N1jANvuNQSapHt8d/QymmhzWWass7bczHC/lRn8OId57c+FRJxg7ht7zwergf3I/vuTdeGvN4YlWQ==", + "dependencies": { + "@antv/g-lite": "2.0.8", + "@antv/util": "^3.3.5", + "gl-matrix": "^3.4.3", + "tslib": "^2.5.3" + } + }, + "node_modules/@antv/g6/node_modules/@antv/util": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.7.tgz", + "integrity": "sha512-qqPg7rIPCsJyl7N56jAC25v/99mJ3ApVkgBsGijhiWrEeKvzXBPk1r5P77Pm9nCljpnn+hH8Z3t5AivbEoTJMg==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/graphin": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/@antv/graphin/-/graphin-3.0.2.tgz", + "integrity": "sha512-r06mf7vSRB/GK2b/Zx8LovI2zf2iL7hkoKNak8NVuWY7FmnOzEiJthKhwaTBVCO6KGTlxPpslMpvVevOPQUTCQ==", + "dependencies": { + "@antv/g6": "^5.0.0" + }, + "peerDependencies": { + "react": "^18.0.0", + "react-dom": "^18.0.0" + } + }, + "node_modules/@antv/graphlib": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/@antv/graphlib/-/graphlib-2.0.3.tgz", + "integrity": "sha512-EtQR+DIfsYy28tumTnH560v7yIzXZq0nSgFBZh76mMiV1oHEN1L4p6JKu7IMtILH14mDqzmYYYFetYoAODoQUw==", + "dependencies": { + "@antv/event-emitter": "^0.1.3" + } + }, + "node_modules/@antv/hierarchy": { + "version": "0.6.12", + "resolved": "https://registry.npmmirror.com/@antv/hierarchy/-/hierarchy-0.6.12.tgz", + "integrity": "sha512-WvWT9WYtm2SvYunm1HtzrHazvOozeP4cPFDhJWsnLzmTGMX/tNhsoCD3O+DDB3aeDY8fyM+wfZDvLv7+/4lIeA==" + }, + "node_modules/@antv/layout": { + "version": "1.2.14-beta.5", + "resolved": "https://registry.npmmirror.com/@antv/layout/-/layout-1.2.14-beta.5.tgz", + "integrity": "sha512-r/twRLE2kql+jawu/qp5+7rcUH3ul6RFlLg5MGi3B/83WktMNyqOOYYHbk6T89/KWUUSPDCdvrb56BVfvLFqRQ==", + "dependencies": { + "@antv/event-emitter": "^0.1.3", + "@antv/graphlib": "^2.0.0", + "@antv/util": "^3.3.2", + "@naoak/workerize-transferable": "^0.1.0", + "comlink": "^4.4.1", + "d3-force": "^3.0.0", + "d3-force-3d": "^3.0.5", + "d3-octree": "^1.0.2", + "d3-quadtree": "^3.0.1", + "dagre": "^0.8.5", + "ml-matrix": "^6.10.4", + "tslib": "^2.5.0" + } + }, + "node_modules/@antv/layout/node_modules/@antv/util": { + "version": "3.3.8", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.8.tgz", + "integrity": "sha512-RO2vmp84adfZn5HVXuNtHr35PRWthw4oCUv0hn9DmEWwOJSeU6NtDCEg9KvU8sH2bJaS3fe/cppNSVy2L8tOaw==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/matrix-util": { + "version": "3.1.0-beta.3", + "resolved": "https://registry.npmmirror.com/@antv/matrix-util/-/matrix-util-3.1.0-beta.3.tgz", + "integrity": "sha512-W2R6Za3A6CmG51Y/4jZUM/tFgYSq7vTqJL1VD9dKrvwxS4sE0ZcXINtkp55CdyBwJ6Cwm8pfoRpnD4FnHahN0A==", + "dependencies": { + "@antv/util": "^2.0.9", + "gl-matrix": "^3.4.3", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/path-util": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/@antv/path-util/-/path-util-3.0.1.tgz", + "integrity": "sha512-tpvAzMpF9Qm6ik2YSMqICNU5tco5POOW7S4XoxZAI/B0L26adU+Md/SmO0BBo2SpuywKvzPH3hPT3xmoyhr04Q==", + "dependencies": { + "gl-matrix": "^3.1.0", + "lodash-es": "^4.17.21", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/s2": { + "version": "1.55.6", + "resolved": "https://registry.npmmirror.com/@antv/s2/-/s2-1.55.6.tgz", + "integrity": "sha512-yxi053ynIgvOSPEQtq71CUBgwrPTBvwUMpf8dXhWkT9TT4EcVzI6t25xgbmDC7Q9JuoiogzXwHXczCs4avV3cQ==", + "dependencies": { + "@antv/event-emitter": "^0.1.3", + "@antv/g-canvas": "^0.5.12", + "@antv/g-gesture": "^1.0.1", + "d3-interpolate": "^1.3.2", + "d3-timer": "^1.0.9", + "decimal.js": "^10.3.1", + "lodash": "^4.17.21" + } + }, + "node_modules/@antv/s2/node_modules/@antv/g-base": { + "version": "0.4.7", + "resolved": "https://registry.npmmirror.com/@antv/g-base/-/g-base-0.4.7.tgz", + "integrity": "sha512-wKSpS3/M1slU92iOgi2QV4MCd82J1d2PyPcQArqSFRUZU0KnVMIl95v79dG0Be4YvFaZ3bVrT6Ns1Czr8oplhA==", + "peer": true, + "dependencies": { + "@antv/event-emitter": "^0.1.1", + "@antv/g-math": "^0.1.3", + "@antv/matrix-util": "^3.1.0-beta.1", + "@antv/path-util": "~2.0.5", + "@antv/util": "~2.0.0", + "@types/d3-timer": "^1.0.9", + "d3-ease": "^1.0.5", + "d3-interpolate": "^1.3.2", + "d3-timer": "^1.0.9", + "detect-browser": "^5.1.0" + } + }, + "node_modules/@antv/s2/node_modules/@antv/g-canvas": { + "version": "0.5.17", + "resolved": "https://registry.npmmirror.com/@antv/g-canvas/-/g-canvas-0.5.17.tgz", + "integrity": "sha512-sXYJMWTOlb/Ycb6sTKu00LcJqInXJY4t99+kSM40u2OfqrXYmaXDjHR7D2V0roMkbK/QWiWS9UnEidCR1VtMOA==", + "dependencies": { + "@antv/g-base": "^0.5.12", + "@antv/g-math": "^0.1.9", + "@antv/matrix-util": "^3.1.0-beta.1", + "@antv/path-util": "~2.0.5", + "@antv/util": "~2.0.0", + "gl-matrix": "^3.0.0", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/s2/node_modules/@antv/g-canvas/node_modules/@antv/g-base": { + "version": "0.5.16", + "resolved": "https://registry.npmmirror.com/@antv/g-base/-/g-base-0.5.16.tgz", + "integrity": "sha512-jP06wggTubDPHXoKwFg3/f1lyxBX9ywwN3E/HG74Nd7DXqOXQis8tsIWW+O6dS/h9vyuXLd1/wDWkMMm3ZzXdg==", + "dependencies": { + "@antv/event-emitter": "^0.1.1", + "@antv/g-math": "^0.1.9", + "@antv/matrix-util": "^3.1.0-beta.1", + "@antv/path-util": "~2.0.5", + "@antv/util": "~2.0.13", + "@types/d3-timer": "^2.0.0", + "d3-ease": "^1.0.5", + "d3-interpolate": "^3.0.1", + "d3-timer": "^1.0.9", + "detect-browser": "^5.1.0", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/s2/node_modules/@antv/g-canvas/node_modules/@types/d3-timer": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/@types/d3-timer/-/d3-timer-2.0.3.tgz", + "integrity": "sha512-jhAJzaanK5LqyLQ50jJNIrB8fjL9gwWZTgYjevPvkDLMU+kTAZkYsobI59nYoeSrH1PucuyJEi247Pb90t6XUg==" + }, + "node_modules/@antv/s2/node_modules/@antv/g-canvas/node_modules/d3-interpolate": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-interpolate/-/d3-interpolate-3.0.1.tgz", + "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==", + "dependencies": { + "d3-color": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@antv/s2/node_modules/@antv/g-gesture": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/@antv/g-gesture/-/g-gesture-1.0.1.tgz", + "integrity": "sha512-7zANDfE/aWSWTetJO8uKcI/rvnGPzpfsga0F3IuLKcVjWwSAHocmccMz0bzkltNcm43UY1C2vX2HCBKMCwDdvg==", + "dependencies": { + "@antv/event-emitter": "~0.1.2", + "d3-ease": "^1.0.5" + }, + "peerDependencies": { + "@antv/g-base": "~0.4.4" + } + }, + "node_modules/@antv/s2/node_modules/@antv/g-math": { + "version": "0.1.9", + "resolved": "https://registry.npmmirror.com/@antv/g-math/-/g-math-0.1.9.tgz", + "integrity": "sha512-KHMSfPfZ5XHM1PZnG42Q2gxXfOitYveNTA7L61lR6mhZ8Y/aExsYmHqaKBsSarU0z+6WLrl9C07PQJZaw0uljQ==", + "dependencies": { + "@antv/util": "~2.0.0", + "gl-matrix": "^3.0.0" + } + }, + "node_modules/@antv/s2/node_modules/@antv/path-util": { + "version": "2.0.15", + "resolved": "https://registry.npmmirror.com/@antv/path-util/-/path-util-2.0.15.tgz", + "integrity": "sha512-R2VLZ5C8PLPtr3VciNyxtjKqJ0XlANzpFb5sE9GE61UQqSRuSVSzIakMxjEPrpqbgc+s+y8i+fmc89Snu7qbNw==", + "dependencies": { + "@antv/matrix-util": "^3.0.4", + "@antv/util": "^2.0.9", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/s2/node_modules/@antv/path-util/node_modules/@antv/matrix-util": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/@antv/matrix-util/-/matrix-util-3.0.4.tgz", + "integrity": "sha512-BAPyu6dUliHcQ7fm9hZSGKqkwcjEDVLVAstlHULLvcMZvANHeLXgHEgV7JqcAV/GIhIz8aZChIlzM1ZboiXpYQ==", + "dependencies": { + "@antv/util": "^2.0.9", + "gl-matrix": "^3.3.0", + "tslib": "^2.0.3" + } + }, + "node_modules/@antv/s2/node_modules/@types/d3-timer": { + "version": "1.0.12", + "resolved": "https://registry.npmmirror.com/@types/d3-timer/-/d3-timer-1.0.12.tgz", + "integrity": "sha512-Tv9tkA4y3UvGQnrHyYAQhf5x/297FuYwotS4UW2TpwLblvRahbyL8r9HFYTJLPfPRqS63hwlqRItjKGmKtJxNg==", + "peer": true + }, + "node_modules/@antv/s2/node_modules/d3-color": { + "version": "1.4.1", + "resolved": "https://registry.npmmirror.com/d3-color/-/d3-color-1.4.1.tgz", + "integrity": "sha512-p2sTHSLCJI2QKunbGb7ocOh7DgTAn8IrLx21QRc/BSnodXM4sv6aLQlnfpvehFMLZEfBc6g9pH9SWQccFYfJ9Q==" + }, + "node_modules/@antv/s2/node_modules/d3-interpolate": { + "version": "1.4.0", + "resolved": "https://registry.npmmirror.com/d3-interpolate/-/d3-interpolate-1.4.0.tgz", + "integrity": "sha512-V9znK0zc3jOPV4VD2zZn0sDhZU3WAE2bmlxdIwwQPPzPjvyLkd8B3JUVdS1IDUFDkWZ72c9qnv1GK2ZagTZ8EA==", + "dependencies": { + "d3-color": "1" + } + }, + "node_modules/@antv/scale": { + "version": "0.4.16", + "resolved": "https://registry.npmmirror.com/@antv/scale/-/scale-0.4.16.tgz", + "integrity": "sha512-5wg/zB5kXHxpTV5OYwJD3ja6R8yTiqIOkjOhmpEJiowkzRlbEC/BOyMvNUq5fqFIHnMCE9woO7+c3zxEQCKPjw==", + "dependencies": { + "@antv/util": "^3.3.7", + "color-string": "^1.5.5", + "fecha": "^4.2.1" + } + }, + "node_modules/@antv/scale/node_modules/@antv/util": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-3.3.7.tgz", + "integrity": "sha512-qqPg7rIPCsJyl7N56jAC25v/99mJ3ApVkgBsGijhiWrEeKvzXBPk1r5P77Pm9nCljpnn+hH8Z3t5AivbEoTJMg==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "gl-matrix": "^3.3.0", + "tslib": "^2.3.1" + } + }, + "node_modules/@antv/smart-color": { + "version": "0.2.1", + "resolved": "https://registry.npmmirror.com/@antv/smart-color/-/smart-color-0.2.1.tgz", + "integrity": "sha512-2E42oczcJtfMQCSk+Ms5pWC34aH3S8/vHBWDCiwBhuImVodzYTHDAaU1oTYN2XlJMaLSsA7lE1UUFmOG8xjOOw==", + "dependencies": { + "@antv/color-schema": "^0.2.2", + "chroma-js": "^2.1.2", + "color-blind": "^0.1.1", + "quantize": "^1.0.2" + } + }, + "node_modules/@antv/util": { + "version": "2.0.17", + "resolved": "https://registry.npmmirror.com/@antv/util/-/util-2.0.17.tgz", + "integrity": "sha512-o6I9hi5CIUvLGDhth0RxNSFDRwXeywmt6ExR4+RmVAzIi48ps6HUy+svxOCayvrPBN37uE6TAc2KDofRo0nK9Q==", + "dependencies": { + "csstype": "^3.0.8", + "tslib": "^2.0.3" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.24.7", + "resolved": "https://registry.npmmirror.com/@babel/code-frame/-/code-frame-7.24.7.tgz", + "integrity": "sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==", + "dependencies": { + "@babel/highlight": "^7.24.7", + "picocolors": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/generator": { + "version": "7.24.7", + "resolved": "https://registry.npmmirror.com/@babel/generator/-/generator-7.24.7.tgz", + "integrity": "sha512-oipXieGC3i45Y1A41t4tAqpnEZWgB/lC6Ehh6+rOviR5XWpTtMmLN+fGjz9vOiNRt0p6RtO6DtD0pdU3vpqdSA==", + "dependencies": { + "@babel/types": "^7.24.7", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-environment-visitor": { + "version": "7.24.7", + "resolved": "https://registry.npmmirror.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.7.tgz", + "integrity": "sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ==", + "dependencies": { + "@babel/types": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-function-name": { + "version": "7.24.7", + "resolved": "https://registry.npmmirror.com/@babel/helper-function-name/-/helper-function-name-7.24.7.tgz", + "integrity": "sha512-FyoJTsj/PEUWu1/TYRiXTIHc8lbw+TDYkZuoE43opPS5TrI7MyONBE1oNvfguEXAD9yhQRrVBnXdXzSLQl9XnA==", + "dependencies": { + "@babel/template": "^7.24.7", + "@babel/types": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-hoist-variables": { + "version": "7.24.7", + "resolved": "https://registry.npmmirror.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.7.tgz", + "integrity": "sha512-MJJwhkoGy5c4ehfoRyrJ/owKeMl19U54h27YYftT0o2teQ3FJ3nQUf/I3LlJsX4l3qlw7WRXUmiyajvHXoTubQ==", + "dependencies": { + "@babel/types": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.24.7", + "resolved": "https://registry.npmmirror.com/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz", + "integrity": "sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==", + "dependencies": { + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-split-export-declaration": { + "version": "7.24.7", + "resolved": "https://registry.npmmirror.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz", + "integrity": "sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA==", + "dependencies": { + "@babel/types": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.24.7", + "resolved": "https://registry.npmmirror.com/@babel/helper-string-parser/-/helper-string-parser-7.24.7.tgz", + "integrity": "sha512-7MbVt6xrwFQbunH2DNQsAP5sTGxfqQtErvBIvIMi6EQnbgUOuVYanvREcmFrOPhoXBrTtjhhP+lW+o5UfK+tDg==", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.24.7", + "resolved": "https://registry.npmmirror.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz", + "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight": { + "version": "7.24.7", + "resolved": "https://registry.npmmirror.com/@babel/highlight/-/highlight-7.24.7.tgz", + "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==", + "dependencies": { + "@babel/helper-validator-identifier": "^7.24.7", + "chalk": "^2.4.2", + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.24.7", + "resolved": "https://registry.npmmirror.com/@babel/parser/-/parser-7.24.7.tgz", + "integrity": "sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw==", + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.25.4", + "resolved": "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.25.4.tgz", + "integrity": "sha512-DSgLeL/FNcpXuzav5wfYvHCGvynXkJbn3Zvc3823AEe9nPwW9IK4UoCSS5yGymmQzN0pCPvivtgS6/8U2kkm1w==", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/template": { + "version": "7.24.7", + "resolved": "https://registry.npmmirror.com/@babel/template/-/template-7.24.7.tgz", + "integrity": "sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig==", + "dependencies": { + "@babel/code-frame": "^7.24.7", + "@babel/parser": "^7.24.7", + "@babel/types": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.24.7", + "resolved": "https://registry.npmmirror.com/@babel/traverse/-/traverse-7.24.7.tgz", + "integrity": "sha512-yb65Ed5S/QAcewNPh0nZczy9JdYXkkAbIsEo+P7BE7yO3txAY30Y/oPa3QkQ5It3xVG2kpKMg9MsdxZaO31uKA==", + "dependencies": { + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.24.7", + "@babel/helper-environment-visitor": "^7.24.7", + "@babel/helper-function-name": "^7.24.7", + "@babel/helper-hoist-variables": "^7.24.7", + "@babel/helper-split-export-declaration": "^7.24.7", + "@babel/parser": "^7.24.7", + "@babel/types": "^7.24.7", + "debug": "^4.3.1", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.24.7", + "resolved": "https://registry.npmmirror.com/@babel/types/-/types-7.24.7.tgz", + "integrity": "sha512-XEFXSlxiG5td2EJRe8vOmRbaXVgfcBlszKujvVmWIK/UpywWljQCfzAv3RQCGujWQ1RD4YYWEAqDXfuJiy8f5Q==", + "dependencies": { + "@babel/helper-string-parser": "^7.24.7", + "@babel/helper-validator-identifier": "^7.24.7", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@berryv/g2-react": { + "version": "0.1.0", + "resolved": "https://registry.npmmirror.com/@berryv/g2-react/-/g2-react-0.1.0.tgz", + "integrity": "sha512-wnsP2zA93O9bADZ8jGUTr1/NM52SbOlcDevSSUe/BI45tjzZC9Rc9blTPXgwtACHTeXghVZYzlpBoVNDV9XPhw==", + "peerDependencies": { + "@antv/g2": "^5.1.6", + "react": "^18.2.0" + } + }, + "node_modules/@ctrl/tinycolor": { + "version": "3.6.1", + "resolved": "https://registry.npmmirror.com/@ctrl/tinycolor/-/tinycolor-3.6.1.tgz", + "integrity": "sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==", + "engines": { + "node": ">=10" + } + }, + "node_modules/@emotion/babel-plugin": { + "version": "11.11.0", + "resolved": "https://registry.npmmirror.com/@emotion/babel-plugin/-/babel-plugin-11.11.0.tgz", + "integrity": "sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==", + "dependencies": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/runtime": "^7.18.3", + "@emotion/hash": "^0.9.1", + "@emotion/memoize": "^0.8.1", + "@emotion/serialize": "^1.1.2", + "babel-plugin-macros": "^3.1.0", + "convert-source-map": "^1.5.0", + "escape-string-regexp": "^4.0.0", + "find-root": "^1.1.0", + "source-map": "^0.5.7", + "stylis": "4.2.0" + } + }, + "node_modules/@emotion/babel-plugin/node_modules/@emotion/hash": { + "version": "0.9.1", + "resolved": "https://registry.npmmirror.com/@emotion/hash/-/hash-0.9.1.tgz", + "integrity": "sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ==" + }, + "node_modules/@emotion/babel-plugin/node_modules/stylis": { + "version": "4.2.0", + "resolved": "https://registry.npmmirror.com/stylis/-/stylis-4.2.0.tgz", + "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==" + }, + "node_modules/@emotion/cache": { + "version": "11.11.0", + "resolved": "https://registry.npmmirror.com/@emotion/cache/-/cache-11.11.0.tgz", + "integrity": "sha512-P34z9ssTCBi3e9EI1ZsWpNHcfY1r09ZO0rZbRO2ob3ZQMnFI35jB536qoXbkdesr5EUhYi22anuEJuyxifaqAQ==", + "dependencies": { + "@emotion/memoize": "^0.8.1", + "@emotion/sheet": "^1.2.2", + "@emotion/utils": "^1.2.1", + "@emotion/weak-memoize": "^0.3.1", + "stylis": "4.2.0" + } + }, + "node_modules/@emotion/cache/node_modules/stylis": { + "version": "4.2.0", + "resolved": "https://registry.npmmirror.com/stylis/-/stylis-4.2.0.tgz", + "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==" + }, + "node_modules/@emotion/hash": { + "version": "0.8.0", + "resolved": "https://registry.npmmirror.com/@emotion/hash/-/hash-0.8.0.tgz", + "integrity": "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==" + }, + "node_modules/@emotion/is-prop-valid": { + "version": "1.2.2", + "resolved": "https://registry.npmmirror.com/@emotion/is-prop-valid/-/is-prop-valid-1.2.2.tgz", + "integrity": "sha512-uNsoYd37AFmaCdXlg6EYD1KaPOaRWRByMCYzbKUX4+hhMfrxdVSelShywL4JVaAeM/eHUOSprYBQls+/neX3pw==", + "dependencies": { + "@emotion/memoize": "^0.8.1" + } + }, + "node_modules/@emotion/memoize": { + "version": "0.8.1", + "resolved": "https://registry.npmmirror.com/@emotion/memoize/-/memoize-0.8.1.tgz", + "integrity": "sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==" + }, + "node_modules/@emotion/react": { + "version": "11.11.4", + "resolved": "https://registry.npmmirror.com/@emotion/react/-/react-11.11.4.tgz", + "integrity": "sha512-t8AjMlF0gHpvvxk5mAtCqR4vmxiGHCeJBaQO6gncUSdklELOgtwjerNY2yuJNfwnc6vi16U/+uMF+afIawJ9iw==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@emotion/babel-plugin": "^11.11.0", + "@emotion/cache": "^11.11.0", + "@emotion/serialize": "^1.1.3", + "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", + "@emotion/utils": "^1.2.1", + "@emotion/weak-memoize": "^0.3.1", + "hoist-non-react-statics": "^3.3.1" + }, + "peerDependencies": { + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@emotion/serialize": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/@emotion/serialize/-/serialize-1.1.4.tgz", + "integrity": "sha512-RIN04MBT8g+FnDwgvIUi8czvr1LU1alUMI05LekWB5DGyTm8cCBMCRpq3GqaiyEDRptEXOyXnvZ58GZYu4kBxQ==", + "dependencies": { + "@emotion/hash": "^0.9.1", + "@emotion/memoize": "^0.8.1", + "@emotion/unitless": "^0.8.1", + "@emotion/utils": "^1.2.1", + "csstype": "^3.0.2" + } + }, + "node_modules/@emotion/serialize/node_modules/@emotion/hash": { + "version": "0.9.1", + "resolved": "https://registry.npmmirror.com/@emotion/hash/-/hash-0.9.1.tgz", + "integrity": "sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ==" + }, + "node_modules/@emotion/serialize/node_modules/@emotion/unitless": { + "version": "0.8.1", + "resolved": "https://registry.npmmirror.com/@emotion/unitless/-/unitless-0.8.1.tgz", + "integrity": "sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==" + }, + "node_modules/@emotion/sheet": { + "version": "1.2.2", + "resolved": "https://registry.npmmirror.com/@emotion/sheet/-/sheet-1.2.2.tgz", + "integrity": "sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==" + }, + "node_modules/@emotion/styled": { + "version": "11.11.5", + "resolved": "https://registry.npmmirror.com/@emotion/styled/-/styled-11.11.5.tgz", + "integrity": "sha512-/ZjjnaNKvuMPxcIiUkf/9SHoG4Q196DRl1w82hQ3WCsjo1IUR8uaGWrC6a87CrYAW0Kb/pK7hk8BnLgLRi9KoQ==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@emotion/babel-plugin": "^11.11.0", + "@emotion/is-prop-valid": "^1.2.2", + "@emotion/serialize": "^1.1.4", + "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", + "@emotion/utils": "^1.2.1" + }, + "peerDependencies": { + "@emotion/react": "^11.0.0-rc.0", + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@emotion/unitless": { + "version": "0.7.5", + "resolved": "https://registry.npmmirror.com/@emotion/unitless/-/unitless-0.7.5.tgz", + "integrity": "sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==" + }, + "node_modules/@emotion/use-insertion-effect-with-fallbacks": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.1.tgz", + "integrity": "sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==", + "peerDependencies": { + "react": ">=16.8.0" + } + }, + "node_modules/@emotion/utils": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/@emotion/utils/-/utils-1.2.1.tgz", + "integrity": "sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg==" + }, + "node_modules/@emotion/weak-memoize": { + "version": "0.3.1", + "resolved": "https://registry.npmmirror.com/@emotion/weak-memoize/-/weak-memoize-0.3.1.tgz", + "integrity": "sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww==" + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmmirror.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.10.1", + "resolved": "https://registry.npmmirror.com/@eslint-community/regexpp/-/regexpp-4.10.1.tgz", + "integrity": "sha512-Zm2NGpWELsQAD1xsJzGQpYfvICSsFkEpU0jxBjfdC6uNEWXcHnfs9hScFWtXVDVl+rBQJGrl4g1vcKIejpH9dA==", + "dev": true, + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "2.1.4", + "resolved": "https://registry.npmmirror.com/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", + "dev": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "13.24.0", + "resolved": "https://registry.npmmirror.com/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/js": { + "version": "8.43.0", + "resolved": "https://registry.npmmirror.com/@eslint/js/-/js-8.43.0.tgz", + "integrity": "sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@floating-ui/core": { + "version": "1.6.2", + "resolved": "https://registry.npmmirror.com/@floating-ui/core/-/core-1.6.2.tgz", + "integrity": "sha512-+2XpQV9LLZeanU4ZevzRnGFg2neDeKHgFLjP6YLW+tly0IvrhqT4u8enLGjLH3qeh85g19xY5rsAusfwTdn5lg==", + "dependencies": { + "@floating-ui/utils": "^0.2.0" + } + }, + "node_modules/@floating-ui/dom": { + "version": "1.6.5", + "resolved": "https://registry.npmmirror.com/@floating-ui/dom/-/dom-1.6.5.tgz", + "integrity": "sha512-Nsdud2X65Dz+1RHjAIP0t8z5e2ff/IRbei6BqFrl1urT8sDVzM1HMQ+R0XcU5ceRfyO3I6ayeqIfh+6Wb8LGTw==", + "dependencies": { + "@floating-ui/core": "^1.0.0", + "@floating-ui/utils": "^0.2.0" + } + }, + "node_modules/@floating-ui/react-dom": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/@floating-ui/react-dom/-/react-dom-2.1.0.tgz", + "integrity": "sha512-lNzj5EQmEKn5FFKc04+zasr09h/uX8RtJRNj5gUXsSQIXHVWTVh+hVAg1vOMCexkX8EgvemMvIFpQfkosnVNyA==", + "dependencies": { + "@floating-ui/dom": "^1.0.0" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/@floating-ui/utils": { + "version": "0.2.2", + "resolved": "https://registry.npmmirror.com/@floating-ui/utils/-/utils-0.2.2.tgz", + "integrity": "sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw==" + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.11.14", + "resolved": "https://registry.npmmirror.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", + "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "deprecated": "Use @eslint/config-array instead", + "dev": true, + "dependencies": { + "@humanwhocodes/object-schema": "^2.0.2", + "debug": "^4.3.1", + "minimatch": "^3.0.5" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", + "deprecated": "Use @eslint/object-schema instead", + "dev": true + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmmirror.com/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.5", + "resolved": "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", + "dependencies": { + "@jridgewell/set-array": "^1.2.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/source-map": { + "version": "0.3.6", + "resolved": "https://registry.npmmirror.com/@jridgewell/source-map/-/source-map-0.3.6.tgz", + "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", + "peer": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.25", + "resolved": "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@ljharb/resumer": { + "version": "0.0.1", + "resolved": "https://registry.npmmirror.com/@ljharb/resumer/-/resumer-0.0.1.tgz", + "integrity": "sha512-skQiAOrCfO7vRTq53cxznMpks7wS1va95UCidALlOVWqvBAzwPVErwizDwoMqNVMEn1mDq0utxZd02eIrvF1lw==", + "dependencies": { + "@ljharb/through": "^2.3.9" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/@ljharb/through": { + "version": "2.3.13", + "resolved": "https://registry.npmmirror.com/@ljharb/through/-/through-2.3.13.tgz", + "integrity": "sha512-/gKJun8NNiWGZJkGzI/Ragc53cOdcLNdzjLaIa+GEjguQs0ulsurx8WN0jijdK9yPqDvziX995sMRLyLt1uZMQ==", + "dependencies": { + "call-bind": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/@microsoft/fetch-event-source": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/@microsoft/fetch-event-source/-/fetch-event-source-2.0.1.tgz", + "integrity": "sha512-W6CLUJ2eBMw3Rec70qrsEW0jOm/3twwJv21mrmj2yORiaVmVYGS4sSS5yUwvQc1ZlDLYGPnClVWmUUMagKNsfA==" + }, + "node_modules/@monaco-editor/loader": { + "version": "1.4.0", + "resolved": "https://registry.npmmirror.com/@monaco-editor/loader/-/loader-1.4.0.tgz", + "integrity": "sha512-00ioBig0x642hytVspPl7DbQyaSWRaolYie/UFNjoTdvoKPzo6xrXLhTk9ixgIKcLH5b5vDOjVNiGyY+uDCUlg==", + "dependencies": { + "state-local": "^1.0.6" + }, + "peerDependencies": { + "monaco-editor": ">= 0.21.0 < 1" + } + }, + "node_modules/@monaco-editor/react": { + "version": "4.6.0", + "resolved": "https://registry.npmmirror.com/@monaco-editor/react/-/react-4.6.0.tgz", + "integrity": "sha512-RFkU9/i7cN2bsq/iTkurMWOEErmYcY6JiQI3Jn+WeR/FGISH8JbHERjpS9oRuSOPvDMJI0Z8nJeKkbOs9sBYQw==", + "dependencies": { + "@monaco-editor/loader": "^1.4.0" + }, + "peerDependencies": { + "monaco-editor": ">= 0.25.0 < 1", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/@mui/base": { + "version": "5.0.0-beta.14", + "resolved": "https://registry.npmmirror.com/@mui/base/-/base-5.0.0-beta.14.tgz", + "integrity": "sha512-Je/9JzzYObsuLCIClgE8XvXNFb55IEz8n2NtStUfASfNiVrwiR8t6VVFFuhofehkyTIN34tq1qbBaOjCnOovBw==", + "dependencies": { + "@babel/runtime": "^7.22.10", + "@emotion/is-prop-valid": "^1.2.1", + "@floating-ui/react-dom": "^2.0.1", + "@mui/types": "^7.2.4", + "@mui/utils": "^5.14.8", + "@popperjs/core": "^2.11.8", + "clsx": "^2.0.0", + "prop-types": "^15.8.1", + "react-is": "^18.2.0" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0", + "react-dom": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/core-downloads-tracker": { + "version": "5.15.20", + "resolved": "https://registry.npmmirror.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.15.20.tgz", + "integrity": "sha512-DoL2ppgldL16utL8nNyj/P12f8mCNdx/Hb/AJnX9rLY4b52hCMIx1kH83pbXQ6uMy6n54M3StmEbvSGoj2OFuA==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + } + }, + "node_modules/@mui/icons-material": { + "version": "5.15.20", + "resolved": "https://registry.npmmirror.com/@mui/icons-material/-/icons-material-5.15.20.tgz", + "integrity": "sha512-oGcKmCuHaYbAAoLN67WKSXtHmEgyWcJToT1uRtmPyxMj9N5uqwc/mRtEnst4Wj/eGr+zYH2FiZQ79v9k7kSk1Q==", + "dependencies": { + "@babel/runtime": "^7.23.9" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@mui/material": "^5.0.0", + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/joy": { + "version": "5.0.0-beta.5", + "resolved": "https://registry.npmmirror.com/@mui/joy/-/joy-5.0.0-beta.5.tgz", + "integrity": "sha512-PN/a24SPZY3sQMCtZdvG/ELMFXytSjnDBSYhwJVxdghJdWIhk40CltARxzg0puORTQfqeX8fub7WLHFAPU2Lwg==", + "dependencies": { + "@babel/runtime": "^7.22.10", + "@mui/base": "5.0.0-beta.14", + "@mui/core-downloads-tracker": "^5.14.8", + "@mui/system": "^5.14.8", + "@mui/types": "^7.2.4", + "@mui/utils": "^5.14.8", + "clsx": "^2.0.0", + "csstype": "^3.1.2", + "prop-types": "^15.8.1", + "react-is": "^18.2.0" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui" + }, + "peerDependencies": { + "@emotion/react": "^11.5.0", + "@emotion/styled": "^11.3.0", + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0", + "react-dom": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/material": { + "version": "5.15.20", + "resolved": "https://registry.npmmirror.com/@mui/material/-/material-5.15.20.tgz", + "integrity": "sha512-tVq3l4qoXx/NxUgIx/x3lZiPn/5xDbdTE8VrLczNpfblLYZzlrbxA7kb9mI8NoBF6+w9WE9IrxWnKK5KlPI2bg==", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@mui/base": "5.0.0-beta.40", + "@mui/core-downloads-tracker": "^5.15.20", + "@mui/system": "^5.15.20", + "@mui/types": "^7.2.14", + "@mui/utils": "^5.15.20", + "@types/react-transition-group": "^4.4.10", + "clsx": "^2.1.0", + "csstype": "^3.1.3", + "prop-types": "^15.8.1", + "react-is": "^18.2.0", + "react-transition-group": "^4.4.5" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.5.0", + "@emotion/styled": "^11.3.0", + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0", + "react-dom": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/material/node_modules/@mui/base": { + "version": "5.0.0-beta.40", + "resolved": "https://registry.npmmirror.com/@mui/base/-/base-5.0.0-beta.40.tgz", + "integrity": "sha512-I/lGHztkCzvwlXpjD2+SNmvNQvB4227xBXhISPjEaJUXGImOQ9f3D2Yj/T3KasSI/h0MLWy74X0J6clhPmsRbQ==", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@floating-ui/react-dom": "^2.0.8", + "@mui/types": "^7.2.14", + "@mui/utils": "^5.15.14", + "@popperjs/core": "^2.11.8", + "clsx": "^2.1.0", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0", + "react-dom": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/private-theming": { + "version": "5.15.20", + "resolved": "https://registry.npmmirror.com/@mui/private-theming/-/private-theming-5.15.20.tgz", + "integrity": "sha512-BK8F94AIqSrnaPYXf2KAOjGZJgWfvqAVQ2gVR3EryvQFtuBnG6RwodxrCvd3B48VuMy6Wsk897+lQMUxJyk+6g==", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@mui/utils": "^5.15.20", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/styled-engine": { + "version": "5.15.14", + "resolved": "https://registry.npmmirror.com/@mui/styled-engine/-/styled-engine-5.15.14.tgz", + "integrity": "sha512-RILkuVD8gY6PvjZjqnWhz8fu68dVkqhM5+jYWfB5yhlSQKg+2rHkmEwm75XIeAqI3qwOndK6zELK5H6Zxn4NHw==", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@emotion/cache": "^11.11.0", + "csstype": "^3.1.3", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.4.1", + "@emotion/styled": "^11.3.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + } + } + }, + "node_modules/@mui/system": { + "version": "5.15.20", + "resolved": "https://registry.npmmirror.com/@mui/system/-/system-5.15.20.tgz", + "integrity": "sha512-LoMq4IlAAhxzL2VNUDBTQxAb4chnBe8JvRINVNDiMtHE2PiPOoHlhOPutSxEbaL5mkECPVWSv6p8JEV+uykwIA==", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@mui/private-theming": "^5.15.20", + "@mui/styled-engine": "^5.15.14", + "@mui/types": "^7.2.14", + "@mui/utils": "^5.15.20", + "clsx": "^2.1.0", + "csstype": "^3.1.3", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.5.0", + "@emotion/styled": "^11.3.0", + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/types": { + "version": "7.2.14", + "resolved": "https://registry.npmmirror.com/@mui/types/-/types-7.2.14.tgz", + "integrity": "sha512-MZsBZ4q4HfzBsywtXgM1Ksj6HDThtiwmOKUXH1pKYISI9gAVXCNHNpo7TlGoGrBaYWZTdNoirIN7JsQcQUjmQQ==", + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/utils": { + "version": "5.15.20", + "resolved": "https://registry.npmmirror.com/@mui/utils/-/utils-5.15.20.tgz", + "integrity": "sha512-mAbYx0sovrnpAu1zHc3MDIhPqL8RPVC5W5xcO1b7PiSCJPtckIZmBkp8hefamAvUiAV8gpfMOM6Zb+eSisbI2A==", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@types/prop-types": "^15.7.11", + "prop-types": "^15.8.1", + "react-is": "^18.2.0" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@naoak/workerize-transferable": { + "version": "0.1.0", + "resolved": "https://registry.npmmirror.com/@naoak/workerize-transferable/-/workerize-transferable-0.1.0.tgz", + "integrity": "sha512-fDLfuP71IPNP5+zSfxFb52OHgtjZvauRJWbVnpzQ7G7BjcbLjTny0OW1d3ZO806XKpLWNKmeeW3MhE0sy8iwYQ==", + "peerDependencies": { + "workerize-loader": "*" + } + }, + "node_modules/@next/env": { + "version": "13.4.7", + "resolved": "https://registry.npmmirror.com/@next/env/-/env-13.4.7.tgz", + "integrity": "sha512-ZlbiFulnwiFsW9UV1ku1OvX/oyIPLtMk9p/nnvDSwI0s7vSoZdRtxXNsaO+ZXrLv/pMbXVGq4lL8TbY9iuGmVw==" + }, + "node_modules/@next/eslint-plugin-next": { + "version": "13.4.7", + "resolved": "https://registry.npmmirror.com/@next/eslint-plugin-next/-/eslint-plugin-next-13.4.7.tgz", + "integrity": "sha512-ANEPltxzXbyyG7CvqxdY4PmeM5+RyWdAJGufTHnU+LA/i3J6IDV2r8Z4onKwskwKEhwqzz5lMaSYGGXLyHX+mg==", + "dev": true, + "dependencies": { + "glob": "7.1.7" + } + }, + "node_modules/@next/swc-darwin-arm64": { + "version": "13.4.7", + "resolved": "https://registry.npmmirror.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.4.7.tgz", + "integrity": "sha512-VZTxPv1b59KGiv/pZHTO5Gbsdeoxcj2rU2cqJu03btMhHpn3vwzEK0gUSVC/XW96aeGO67X+cMahhwHzef24/w==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-darwin-x64": { + "version": "13.4.7", + "resolved": "https://registry.npmmirror.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.7.tgz", + "integrity": "sha512-gO2bw+2Ymmga+QYujjvDz9955xvYGrWofmxTq7m70b9pDPvl7aDFABJOZ2a8SRCuSNB5mXU8eTOmVVwyp/nAew==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm64-gnu": { + "version": "13.4.7", + "resolved": "https://registry.npmmirror.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.7.tgz", + "integrity": "sha512-6cqp3vf1eHxjIDhEOc7Mh/s8z1cwc/l5B6ZNkOofmZVyu1zsbEM5Hmx64s12Rd9AYgGoiCz4OJ4M/oRnkE16/Q==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm64-musl": { + "version": "13.4.7", + "resolved": "https://registry.npmmirror.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.7.tgz", + "integrity": "sha512-T1kD2FWOEy5WPidOn1si0rYmWORNch4a/NR52Ghyp4q7KyxOCuiOfZzyhVC5tsLIBDH3+cNdB5DkD9afpNDaOw==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-x64-gnu": { + "version": "13.4.7", + "resolved": "https://registry.npmmirror.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.7.tgz", + "integrity": "sha512-zaEC+iEiAHNdhl6fuwl0H0shnTzQoAoJiDYBUze8QTntE/GNPfTYpYboxF5LRYIjBwETUatvE0T64W6SKDipvg==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-x64-musl": { + "version": "13.4.7", + "resolved": "https://registry.npmmirror.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.7.tgz", + "integrity": "sha512-X6r12F8d8SKAtYJqLZBBMIwEqcTRvUdVm+xIq+l6pJqlgT2tNsLLf2i5Cl88xSsIytBICGsCNNHd+siD2fbWBA==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-arm64-msvc": { + "version": "13.4.7", + "resolved": "https://registry.npmmirror.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.7.tgz", + "integrity": "sha512-NPnmnV+vEIxnu6SUvjnuaWRglZzw4ox5n/MQTxeUhb5iwVWFedolPFebMNwgrWu4AELwvTdGtWjqof53AiWHcw==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-ia32-msvc": { + "version": "13.4.7", + "resolved": "https://registry.npmmirror.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.7.tgz", + "integrity": "sha512-6Hxijm6/a8XqLQpOOf/XuwWRhcuc/g4rBB2oxjgCMuV9Xlr2bLs5+lXyh8w9YbAUMYR3iC9mgOlXbHa79elmXw==", + "cpu": [ + "ia32" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-x64-msvc": { + "version": "13.4.7", + "resolved": "https://registry.npmmirror.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.7.tgz", + "integrity": "sha512-sW9Yt36Db1nXJL+mTr2Wo0y+VkPWeYhygvcHj1FF0srVtV+VoDjxleKtny21QHaG05zdeZnw2fCtf2+dEqgwqA==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmmirror.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmmirror.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmmirror.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@oceanbase-odc/monaco-plugin-ob": { + "version": "1.2.6", + "resolved": "https://registry.npmmirror.com/@oceanbase-odc/monaco-plugin-ob/-/monaco-plugin-ob-1.2.6.tgz", + "integrity": "sha512-/MjXQVzu1ZeLRV1tKZ00kHHejuUoVda+HHL1GY9hp0g3lqnbIDgibbqhr479vO3hkV5HjF3B7fZei+ExuwcNQA==", + "dependencies": { + "@oceanbase-odc/ob-parser-js": "^3", + "antlr4": "~4.8.0", + "comlink": "^4.3.1" + }, + "peerDependencies": { + "monaco-editor": "^0.34.1" + } + }, + "node_modules/@oceanbase-odc/ob-parser-js": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/@oceanbase-odc/ob-parser-js/-/ob-parser-js-3.0.4.tgz", + "integrity": "sha512-ExKvHW4cF0IzZgrYzMTQ3H2sFAyQABf+hXsbCyp2o4teDEPNUVsw66BBMZT177i+9lXt4lDEBXXYdPQFnh0hJw==", + "dependencies": { + "antlr4": "~4.8.0", + "lodash": "^4.17.20" + } + }, + "node_modules/@panva/hkdf": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/@panva/hkdf/-/hkdf-1.2.0.tgz", + "integrity": "sha512-97ZQvZJ4gJhi24Io6zI+W7B67I82q1I8i3BSzQ4OyZj1z4OW87/ruF26lrMES58inTKLy2KgVIDcx8PU4AaANQ==", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, + "node_modules/@peculiar/asn1-schema": { + "version": "2.3.13", + "resolved": "https://registry.npmmirror.com/@peculiar/asn1-schema/-/asn1-schema-2.3.13.tgz", + "integrity": "sha512-3Xq3a01WkHRZL8X04Zsfg//mGaA21xlL4tlVn4v2xGT0JStiztATRkMwa5b+f/HXmY2smsiLXYK46Gwgzvfg3g==", + "dependencies": { + "asn1js": "^3.0.5", + "pvtsutils": "^1.3.5", + "tslib": "^2.6.2" + } + }, + "node_modules/@peculiar/json-schema": { + "version": "1.1.12", + "resolved": "https://registry.npmmirror.com/@peculiar/json-schema/-/json-schema-1.1.12.tgz", + "integrity": "sha512-coUfuoMeIB7B8/NMekxaDzLhaYmp0HZNPEjYRm9goRou8UZIC3z21s0sL9AWoCw4EG876QyO3kYrc61WNF9B/w==", + "dependencies": { + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@peculiar/webcrypto": { + "version": "1.5.0", + "resolved": "https://registry.npmmirror.com/@peculiar/webcrypto/-/webcrypto-1.5.0.tgz", + "integrity": "sha512-BRs5XUAwiyCDQMsVA9IDvDa7UBR9gAvPHgugOeGng3YN6vJ9JYonyDc0lNczErgtCWtucjR5N7VtaonboD/ezg==", + "dependencies": { + "@peculiar/asn1-schema": "^2.3.8", + "@peculiar/json-schema": "^1.1.12", + "pvtsutils": "^1.3.5", + "tslib": "^2.6.2", + "webcrypto-core": "^1.8.0" + }, + "engines": { + "node": ">=10.12.0" + } + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmmirror.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@popperjs/core": { + "version": "2.11.8", + "resolved": "https://registry.npmmirror.com/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, + "node_modules/@probe.gl/env": { + "version": "3.6.0", + "resolved": "https://registry.npmmirror.com/@probe.gl/env/-/env-3.6.0.tgz", + "integrity": "sha512-4tTZYUg/8BICC3Yyb9rOeoKeijKbZHRXBEKObrfPmX4sQmYB15ZOUpoVBhAyJkOYVAM8EkPci6Uw5dLCwx2BEQ==", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.0.0" + } + }, + "node_modules/@probe.gl/log": { + "version": "3.6.0", + "resolved": "https://registry.npmmirror.com/@probe.gl/log/-/log-3.6.0.tgz", + "integrity": "sha512-hjpyenpEvOdowgZ1qMeCJxfRD4JkKdlXz0RC14m42Un62NtOT+GpWyKA4LssT0+xyLULCByRAtG2fzZorpIAcA==", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.0.0", + "@probe.gl/env": "3.6.0" + } + }, + "node_modules/@probe.gl/stats": { + "version": "3.6.0", + "resolved": "https://registry.npmmirror.com/@probe.gl/stats/-/stats-3.6.0.tgz", + "integrity": "sha512-JdALQXB44OP4kUBN/UrQgzbJe4qokbVF4Y8lkIA8iVCFnjVowWIgkD/z/0QO65yELT54tTrtepw1jScjKB+rhQ==", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.0.0" + } + }, + "node_modules/@rc-component/async-validator": { + "version": "5.0.4", + "resolved": "https://registry.npmmirror.com/@rc-component/async-validator/-/async-validator-5.0.4.tgz", + "integrity": "sha512-qgGdcVIF604M9EqjNF0hbUTz42bz/RDtxWdWuU5EQe3hi7M8ob54B6B35rOsvX5eSvIHIzT9iH1R3n+hk3CGfg==", + "dependencies": { + "@babel/runtime": "^7.24.4" + }, + "engines": { + "node": ">=14.x" + } + }, + "node_modules/@rc-component/color-picker": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/@rc-component/color-picker/-/color-picker-2.0.1.tgz", + "integrity": "sha512-WcZYwAThV/b2GISQ8F+7650r5ZZJ043E57aVBFkQ+kSY4C6wdofXgB0hBx+GPGpIU0Z81eETNoDUJMr7oy/P8Q==", + "dependencies": { + "@ant-design/fast-color": "^2.0.6", + "@babel/runtime": "^7.23.6", + "classnames": "^2.2.6", + "rc-util": "^5.38.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/@rc-component/context": { + "version": "1.4.0", + "resolved": "https://registry.npmmirror.com/@rc-component/context/-/context-1.4.0.tgz", + "integrity": "sha512-kFcNxg9oLRMoL3qki0OMxK+7g5mypjgaaJp/pkOis/6rVxma9nJBF/8kCIuTYHUQNr0ii7MxqE33wirPZLJQ2w==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "rc-util": "^5.27.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/@rc-component/mini-decimal": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/@rc-component/mini-decimal/-/mini-decimal-1.1.0.tgz", + "integrity": "sha512-jS4E7T9Li2GuYwI6PyiVXmxTiM6b07rlD9Ge8uGZSCz3WlzcG5ZK7g5bbuKNeZ9pgUuPK/5guV781ujdVpm4HQ==", + "dependencies": { + "@babel/runtime": "^7.18.0" + }, + "engines": { + "node": ">=8.x" + } + }, + "node_modules/@rc-component/mutate-observer": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/@rc-component/mutate-observer/-/mutate-observer-1.1.0.tgz", + "integrity": "sha512-QjrOsDXQusNwGZPf4/qRQasg7UFEj06XiCJ8iuiq/Io7CrHrgVi6Uuetw60WAMG1799v+aM8kyc+1L/GBbHSlw==", + "dependencies": { + "@babel/runtime": "^7.18.0", + "classnames": "^2.3.2", + "rc-util": "^5.24.4" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/@rc-component/portal": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/@rc-component/portal/-/portal-1.1.2.tgz", + "integrity": "sha512-6f813C0IsasTZms08kfA8kPAGxbbkYToa8ALaiDIGGECU4i9hj8Plgbx0sNJDrey3EtHO30hmdaxtT0138xZcg==", + "dependencies": { + "@babel/runtime": "^7.18.0", + "classnames": "^2.3.2", + "rc-util": "^5.24.4" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/@rc-component/qrcode": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/@rc-component/qrcode/-/qrcode-1.0.0.tgz", + "integrity": "sha512-L+rZ4HXP2sJ1gHMGHjsg9jlYBX/SLN2D6OxP9Zn3qgtpMWtO2vUfxVFwiogHpAIqs54FnALxraUy/BCO1yRIgg==", + "dependencies": { + "@babel/runtime": "^7.24.7", + "classnames": "^2.3.2", + "rc-util": "^5.38.0" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/@rc-component/tour": { + "version": "1.15.0", + "resolved": "https://registry.npmmirror.com/@rc-component/tour/-/tour-1.15.0.tgz", + "integrity": "sha512-h6hyILDwL+In9GAgRobwRWihLqqsD7Uft3fZGrJ7L4EiyCoxbnNYwzPXDfz7vNDhWeVyvAWQJj9fJCzpI4+b4g==", + "dependencies": { + "@babel/runtime": "^7.18.0", + "@rc-component/portal": "^1.0.0-9", + "@rc-component/trigger": "^2.0.0", + "classnames": "^2.3.2", + "rc-util": "^5.24.4" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/@rc-component/trigger": { + "version": "2.2.1", + "resolved": "https://registry.npmmirror.com/@rc-component/trigger/-/trigger-2.2.1.tgz", + "integrity": "sha512-fuU11J8pOt6+U/tU6/CAv8wjCwGaNeRk9f5k8HQth7JBbJ6MMH62WhGycVW75VnXfBZgL/7kO+wbiO2Xc9U9sQ==", + "dependencies": { + "@babel/runtime": "^7.23.2", + "@rc-component/portal": "^1.1.0", + "classnames": "^2.3.2", + "rc-motion": "^2.0.0", + "rc-resize-observer": "^1.3.1", + "rc-util": "^5.38.0" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/@reactflow/background": { + "version": "11.3.14", + "resolved": "https://registry.npmmirror.com/@reactflow/background/-/background-11.3.14.tgz", + "integrity": "sha512-Gewd7blEVT5Lh6jqrvOgd4G6Qk17eGKQfsDXgyRSqM+CTwDqRldG2LsWN4sNeno6sbqVIC2fZ+rAUBFA9ZEUDA==", + "dependencies": { + "@reactflow/core": "11.11.4", + "classcat": "^5.0.3", + "zustand": "^4.4.1" + }, + "peerDependencies": { + "react": ">=17", + "react-dom": ">=17" + } + }, + "node_modules/@reactflow/controls": { + "version": "11.2.14", + "resolved": "https://registry.npmmirror.com/@reactflow/controls/-/controls-11.2.14.tgz", + "integrity": "sha512-MiJp5VldFD7FrqaBNIrQ85dxChrG6ivuZ+dcFhPQUwOK3HfYgX2RHdBua+gx+40p5Vw5It3dVNp/my4Z3jF0dw==", + "dependencies": { + "@reactflow/core": "11.11.4", + "classcat": "^5.0.3", + "zustand": "^4.4.1" + }, + "peerDependencies": { + "react": ">=17", + "react-dom": ">=17" + } + }, + "node_modules/@reactflow/core": { + "version": "11.11.4", + "resolved": "https://registry.npmmirror.com/@reactflow/core/-/core-11.11.4.tgz", + "integrity": "sha512-H4vODklsjAq3AMq6Np4LE12i1I4Ta9PrDHuBR9GmL8uzTt2l2jh4CiQbEMpvMDcp7xi4be0hgXj+Ysodde/i7Q==", + "dependencies": { + "@types/d3": "^7.4.0", + "@types/d3-drag": "^3.0.1", + "@types/d3-selection": "^3.0.3", + "@types/d3-zoom": "^3.0.1", + "classcat": "^5.0.3", + "d3-drag": "^3.0.0", + "d3-selection": "^3.0.0", + "d3-zoom": "^3.0.0", + "zustand": "^4.4.1" + }, + "peerDependencies": { + "react": ">=17", + "react-dom": ">=17" + } + }, + "node_modules/@reactflow/minimap": { + "version": "11.7.14", + "resolved": "https://registry.npmmirror.com/@reactflow/minimap/-/minimap-11.7.14.tgz", + "integrity": "sha512-mpwLKKrEAofgFJdkhwR5UQ1JYWlcAAL/ZU/bctBkuNTT1yqV+y0buoNVImsRehVYhJwffSWeSHaBR5/GJjlCSQ==", + "dependencies": { + "@reactflow/core": "11.11.4", + "@types/d3-selection": "^3.0.3", + "@types/d3-zoom": "^3.0.1", + "classcat": "^5.0.3", + "d3-selection": "^3.0.0", + "d3-zoom": "^3.0.0", + "zustand": "^4.4.1" + }, + "peerDependencies": { + "react": ">=17", + "react-dom": ">=17" + } + }, + "node_modules/@reactflow/node-resizer": { + "version": "2.2.14", + "resolved": "https://registry.npmmirror.com/@reactflow/node-resizer/-/node-resizer-2.2.14.tgz", + "integrity": "sha512-fwqnks83jUlYr6OHcdFEedumWKChTHRGw/kbCxj0oqBd+ekfs+SIp4ddyNU0pdx96JIm5iNFS0oNrmEiJbbSaA==", + "dependencies": { + "@reactflow/core": "11.11.4", + "classcat": "^5.0.4", + "d3-drag": "^3.0.0", + "d3-selection": "^3.0.0", + "zustand": "^4.4.1" + }, + "peerDependencies": { + "react": ">=17", + "react-dom": ">=17" + } + }, + "node_modules/@reactflow/node-toolbar": { + "version": "1.3.14", + "resolved": "https://registry.npmmirror.com/@reactflow/node-toolbar/-/node-toolbar-1.3.14.tgz", + "integrity": "sha512-rbynXQnH/xFNu4P9H+hVqlEUafDCkEoCy0Dg9mG22Sg+rY/0ck6KkrAQrYrTgXusd+cEJOMK0uOOFCK2/5rSGQ==", + "dependencies": { + "@reactflow/core": "11.11.4", + "classcat": "^5.0.3", + "zustand": "^4.4.1" + }, + "peerDependencies": { + "react": ">=17", + "react-dom": ">=17" + } + }, + "node_modules/@rushstack/eslint-patch": { + "version": "1.10.3", + "resolved": "https://registry.npmmirror.com/@rushstack/eslint-patch/-/eslint-patch-1.10.3.tgz", + "integrity": "sha512-qC/xYId4NMebE6w/V33Fh9gWxLgURiNYgVNObbJl2LZv0GUUItCcCqC5axQSwRaAgaxl2mELq1rMzlswaQ0Zxg==", + "dev": true + }, + "node_modules/@sindresorhus/merge-streams": { + "version": "2.3.0", + "resolved": "https://registry.npmmirror.com/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz", + "integrity": "sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==", + "dev": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@swc/helpers": { + "version": "0.5.1", + "resolved": "https://registry.npmmirror.com/@swc/helpers/-/helpers-0.5.1.tgz", + "integrity": "sha512-sJ902EfIzn1Fa+qYmjdQqh8tPsoxyBz+8yBKC2HKUxyezKJFwPGOn7pv4WY6QuQW//ySQi5lJjA/ZT9sNWWNTg==", + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==" + }, + "node_modules/@types/accepts": { + "version": "1.3.7", + "resolved": "https://registry.npmmirror.com/@types/accepts/-/accepts-1.3.7.tgz", + "integrity": "sha512-Pay9fq2lM2wXPWbteBsRAGiWH2hig4ZE2asK+mm7kUzlxRTfL961rj89I6zV/E3PcIkDqyuBEcMxFT7rccugeQ==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/body-parser": { + "version": "1.19.5", + "resolved": "https://registry.npmmirror.com/@types/body-parser/-/body-parser-1.19.5.tgz", + "integrity": "sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "node_modules/@types/chroma-js": { + "version": "2.4.4", + "resolved": "https://registry.npmmirror.com/@types/chroma-js/-/chroma-js-2.4.4.tgz", + "integrity": "sha512-/DTccpHTaKomqussrn+ciEvfW4k6NAHzNzs/sts1TCqg333qNxOhy8TNIoQCmbGG3Tl8KdEhkGAssb1n3mTXiQ==" + }, + "node_modules/@types/connect": { + "version": "3.4.38", + "resolved": "https://registry.npmmirror.com/@types/connect/-/connect-3.4.38.tgz", + "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/content-disposition": { + "version": "0.5.8", + "resolved": "https://registry.npmmirror.com/@types/content-disposition/-/content-disposition-0.5.8.tgz", + "integrity": "sha512-QVSSvno3dE0MgO76pJhmv4Qyi/j0Yk9pBp0Y7TJ2Tlj+KCgJWY6qX7nnxCOLkZ3VYRSIk1WTxCvwUSdx6CCLdg==" + }, + "node_modules/@types/cookie": { + "version": "0.6.0", + "resolved": "https://registry.npmmirror.com/@types/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==" + }, + "node_modules/@types/cookies": { + "version": "0.9.0", + "resolved": "https://registry.npmmirror.com/@types/cookies/-/cookies-0.9.0.tgz", + "integrity": "sha512-40Zk8qR147RABiQ7NQnBzWzDcjKzNrntB5BAmeGCb2p/MIyOE+4BVvc17wumsUqUw00bJYqoXFHYygQnEFh4/Q==", + "dependencies": { + "@types/connect": "*", + "@types/express": "*", + "@types/keygrip": "*", + "@types/node": "*" + } + }, + "node_modules/@types/d3": { + "version": "7.4.3", + "resolved": "https://registry.npmmirror.com/@types/d3/-/d3-7.4.3.tgz", + "integrity": "sha512-lZXZ9ckh5R8uiFVt8ogUNf+pIrK4EsWrx2Np75WvF/eTpJ0FMHNhjXk8CKEx/+gpHbNQyJWehbFaTvqmHWB3ww==", + "dependencies": { + "@types/d3-array": "*", + "@types/d3-axis": "*", + "@types/d3-brush": "*", + "@types/d3-chord": "*", + "@types/d3-color": "*", + "@types/d3-contour": "*", + "@types/d3-delaunay": "*", + "@types/d3-dispatch": "*", + "@types/d3-drag": "*", + "@types/d3-dsv": "*", + "@types/d3-ease": "*", + "@types/d3-fetch": "*", + "@types/d3-force": "*", + "@types/d3-format": "*", + "@types/d3-geo": "*", + "@types/d3-hierarchy": "*", + "@types/d3-interpolate": "*", + "@types/d3-path": "*", + "@types/d3-polygon": "*", + "@types/d3-quadtree": "*", + "@types/d3-random": "*", + "@types/d3-scale": "*", + "@types/d3-scale-chromatic": "*", + "@types/d3-selection": "*", + "@types/d3-shape": "*", + "@types/d3-time": "*", + "@types/d3-time-format": "*", + "@types/d3-timer": "*", + "@types/d3-transition": "*", + "@types/d3-zoom": "*" + } + }, + "node_modules/@types/d3-array": { + "version": "3.2.1", + "resolved": "https://registry.npmmirror.com/@types/d3-array/-/d3-array-3.2.1.tgz", + "integrity": "sha512-Y2Jn2idRrLzUfAKV2LyRImR+y4oa2AntrgID95SHJxuMUrkNXmanDSed71sRNZysveJVt1hLLemQZIady0FpEg==" + }, + "node_modules/@types/d3-axis": { + "version": "3.0.6", + "resolved": "https://registry.npmmirror.com/@types/d3-axis/-/d3-axis-3.0.6.tgz", + "integrity": "sha512-pYeijfZuBd87T0hGn0FO1vQ/cgLk6E1ALJjfkC0oJ8cbwkZl3TpgS8bVBLZN+2jjGgg38epgxb2zmoGtSfvgMw==", + "dependencies": { + "@types/d3-selection": "*" + } + }, + "node_modules/@types/d3-brush": { + "version": "3.0.6", + "resolved": "https://registry.npmmirror.com/@types/d3-brush/-/d3-brush-3.0.6.tgz", + "integrity": "sha512-nH60IZNNxEcrh6L1ZSMNA28rj27ut/2ZmI3r96Zd+1jrZD++zD3LsMIjWlvg4AYrHn/Pqz4CF3veCxGjtbqt7A==", + "dependencies": { + "@types/d3-selection": "*" + } + }, + "node_modules/@types/d3-chord": { + "version": "3.0.6", + "resolved": "https://registry.npmmirror.com/@types/d3-chord/-/d3-chord-3.0.6.tgz", + "integrity": "sha512-LFYWWd8nwfwEmTZG9PfQxd17HbNPksHBiJHaKuY1XeqscXacsS2tyoo6OdRsjf+NQYeB6XrNL3a25E3gH69lcg==" + }, + "node_modules/@types/d3-color": { + "version": "3.1.3", + "resolved": "https://registry.npmmirror.com/@types/d3-color/-/d3-color-3.1.3.tgz", + "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==" + }, + "node_modules/@types/d3-contour": { + "version": "3.0.6", + "resolved": "https://registry.npmmirror.com/@types/d3-contour/-/d3-contour-3.0.6.tgz", + "integrity": "sha512-BjzLgXGnCWjUSYGfH1cpdo41/hgdWETu4YxpezoztawmqsvCeep+8QGfiY6YbDvfgHz/DkjeIkkZVJavB4a3rg==", + "dependencies": { + "@types/d3-array": "*", + "@types/geojson": "*" + } + }, + "node_modules/@types/d3-delaunay": { + "version": "6.0.4", + "resolved": "https://registry.npmmirror.com/@types/d3-delaunay/-/d3-delaunay-6.0.4.tgz", + "integrity": "sha512-ZMaSKu4THYCU6sV64Lhg6qjf1orxBthaC161plr5KuPHo3CNm8DTHiLw/5Eq2b6TsNP0W0iJrUOFscY6Q450Hw==" + }, + "node_modules/@types/d3-dispatch": { + "version": "3.0.6", + "resolved": "https://registry.npmmirror.com/@types/d3-dispatch/-/d3-dispatch-3.0.6.tgz", + "integrity": "sha512-4fvZhzMeeuBJYZXRXrRIQnvUYfyXwYmLsdiN7XXmVNQKKw1cM8a5WdID0g1hVFZDqT9ZqZEY5pD44p24VS7iZQ==" + }, + "node_modules/@types/d3-drag": { + "version": "3.0.7", + "resolved": "https://registry.npmmirror.com/@types/d3-drag/-/d3-drag-3.0.7.tgz", + "integrity": "sha512-HE3jVKlzU9AaMazNufooRJ5ZpWmLIoc90A37WU2JMmeq28w1FQqCZswHZ3xR+SuxYftzHq6WU6KJHvqxKzTxxQ==", + "dependencies": { + "@types/d3-selection": "*" + } + }, + "node_modules/@types/d3-dsv": { + "version": "3.0.7", + "resolved": "https://registry.npmmirror.com/@types/d3-dsv/-/d3-dsv-3.0.7.tgz", + "integrity": "sha512-n6QBF9/+XASqcKK6waudgL0pf/S5XHPPI8APyMLLUHd8NqouBGLsU8MgtO7NINGtPBtk9Kko/W4ea0oAspwh9g==" + }, + "node_modules/@types/d3-ease": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/@types/d3-ease/-/d3-ease-3.0.2.tgz", + "integrity": "sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==" + }, + "node_modules/@types/d3-fetch": { + "version": "3.0.7", + "resolved": "https://registry.npmmirror.com/@types/d3-fetch/-/d3-fetch-3.0.7.tgz", + "integrity": "sha512-fTAfNmxSb9SOWNB9IoG5c8Hg6R+AzUHDRlsXsDZsNp6sxAEOP0tkP3gKkNSO/qmHPoBFTxNrjDprVHDQDvo5aA==", + "dependencies": { + "@types/d3-dsv": "*" + } + }, + "node_modules/@types/d3-force": { + "version": "3.0.10", + "resolved": "https://registry.npmmirror.com/@types/d3-force/-/d3-force-3.0.10.tgz", + "integrity": "sha512-ZYeSaCF3p73RdOKcjj+swRlZfnYpK1EbaDiYICEEp5Q6sUiqFaFQ9qgoshp5CzIyyb/yD09kD9o2zEltCexlgw==" + }, + "node_modules/@types/d3-format": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/@types/d3-format/-/d3-format-3.0.4.tgz", + "integrity": "sha512-fALi2aI6shfg7vM5KiR1wNJnZ7r6UuggVqtDA+xiEdPZQwy/trcQaHnwShLuLdta2rTymCNpxYTiMZX/e09F4g==" + }, + "node_modules/@types/d3-geo": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/@types/d3-geo/-/d3-geo-3.1.0.tgz", + "integrity": "sha512-856sckF0oP/diXtS4jNsiQw/UuK5fQG8l/a9VVLeSouf1/PPbBE1i1W852zVwKwYCBkFJJB7nCFTbk6UMEXBOQ==", + "dependencies": { + "@types/geojson": "*" + } + }, + "node_modules/@types/d3-hierarchy": { + "version": "3.1.7", + "resolved": "https://registry.npmmirror.com/@types/d3-hierarchy/-/d3-hierarchy-3.1.7.tgz", + "integrity": "sha512-tJFtNoYBtRtkNysX1Xq4sxtjK8YgoWUNpIiUee0/jHGRwqvzYxkq0hGVbbOGSz+JgFxxRu4K8nb3YpG3CMARtg==" + }, + "node_modules/@types/d3-interpolate": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz", + "integrity": "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==", + "dependencies": { + "@types/d3-color": "*" + } + }, + "node_modules/@types/d3-path": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/@types/d3-path/-/d3-path-3.1.0.tgz", + "integrity": "sha512-P2dlU/q51fkOc/Gfl3Ul9kicV7l+ra934qBFXCFhrZMOL6du1TM0pm1ThYvENukyOn5h9v+yMJ9Fn5JK4QozrQ==" + }, + "node_modules/@types/d3-polygon": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/@types/d3-polygon/-/d3-polygon-3.0.2.tgz", + "integrity": "sha512-ZuWOtMaHCkN9xoeEMr1ubW2nGWsp4nIql+OPQRstu4ypeZ+zk3YKqQT0CXVe/PYqrKpZAi+J9mTs05TKwjXSRA==" + }, + "node_modules/@types/d3-quadtree": { + "version": "3.0.6", + "resolved": "https://registry.npmmirror.com/@types/d3-quadtree/-/d3-quadtree-3.0.6.tgz", + "integrity": "sha512-oUzyO1/Zm6rsxKRHA1vH0NEDG58HrT5icx/azi9MF1TWdtttWl0UIUsjEQBBh+SIkrpd21ZjEv7ptxWys1ncsg==" + }, + "node_modules/@types/d3-random": { + "version": "3.0.3", + "resolved": "https://registry.npmmirror.com/@types/d3-random/-/d3-random-3.0.3.tgz", + "integrity": "sha512-Imagg1vJ3y76Y2ea0871wpabqp613+8/r0mCLEBfdtqC7xMSfj9idOnmBYyMoULfHePJyxMAw3nWhJxzc+LFwQ==" + }, + "node_modules/@types/d3-scale": { + "version": "4.0.8", + "resolved": "https://registry.npmmirror.com/@types/d3-scale/-/d3-scale-4.0.8.tgz", + "integrity": "sha512-gkK1VVTr5iNiYJ7vWDI+yUFFlszhNMtVeneJ6lUTKPjprsvLLI9/tgEGiXJOnlINJA8FyA88gfnQsHbybVZrYQ==", + "dependencies": { + "@types/d3-time": "*" + } + }, + "node_modules/@types/d3-scale-chromatic": { + "version": "3.0.3", + "resolved": "https://registry.npmmirror.com/@types/d3-scale-chromatic/-/d3-scale-chromatic-3.0.3.tgz", + "integrity": "sha512-laXM4+1o5ImZv3RpFAsTRn3TEkzqkytiOY0Dz0sq5cnd1dtNlk6sHLon4OvqaiJb28T0S/TdsBI3Sjsy+keJrw==" + }, + "node_modules/@types/d3-selection": { + "version": "3.0.10", + "resolved": "https://registry.npmmirror.com/@types/d3-selection/-/d3-selection-3.0.10.tgz", + "integrity": "sha512-cuHoUgS/V3hLdjJOLTT691+G2QoqAjCVLmr4kJXR4ha56w1Zdu8UUQ5TxLRqudgNjwXeQxKMq4j+lyf9sWuslg==" + }, + "node_modules/@types/d3-shape": { + "version": "3.1.6", + "resolved": "https://registry.npmmirror.com/@types/d3-shape/-/d3-shape-3.1.6.tgz", + "integrity": "sha512-5KKk5aKGu2I+O6SONMYSNflgiP0WfZIQvVUMan50wHsLG1G94JlxEVnCpQARfTtzytuY0p/9PXXZb3I7giofIA==", + "dependencies": { + "@types/d3-path": "*" + } + }, + "node_modules/@types/d3-time": { + "version": "3.0.3", + "resolved": "https://registry.npmmirror.com/@types/d3-time/-/d3-time-3.0.3.tgz", + "integrity": "sha512-2p6olUZ4w3s+07q3Tm2dbiMZy5pCDfYwtLXXHUnVzXgQlZ/OyPtUz6OL382BkOuGlLXqfT+wqv8Fw2v8/0geBw==" + }, + "node_modules/@types/d3-time-format": { + "version": "4.0.3", + "resolved": "https://registry.npmmirror.com/@types/d3-time-format/-/d3-time-format-4.0.3.tgz", + "integrity": "sha512-5xg9rC+wWL8kdDj153qZcsJ0FWiFt0J5RB6LYUNZjwSnesfblqrI/bJ1wBdJ8OQfncgbJG5+2F+qfqnqyzYxyg==" + }, + "node_modules/@types/d3-timer": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/@types/d3-timer/-/d3-timer-2.0.3.tgz", + "integrity": "sha512-jhAJzaanK5LqyLQ50jJNIrB8fjL9gwWZTgYjevPvkDLMU+kTAZkYsobI59nYoeSrH1PucuyJEi247Pb90t6XUg==" + }, + "node_modules/@types/d3-transition": { + "version": "3.0.8", + "resolved": "https://registry.npmmirror.com/@types/d3-transition/-/d3-transition-3.0.8.tgz", + "integrity": "sha512-ew63aJfQ/ms7QQ4X7pk5NxQ9fZH/z+i24ZfJ6tJSfqxJMrYLiK01EAs2/Rtw/JreGUsS3pLPNV644qXFGnoZNQ==", + "dependencies": { + "@types/d3-selection": "*" + } + }, + "node_modules/@types/d3-zoom": { + "version": "3.0.8", + "resolved": "https://registry.npmmirror.com/@types/d3-zoom/-/d3-zoom-3.0.8.tgz", + "integrity": "sha512-iqMC4/YlFCSlO8+2Ii1GGGliCAY4XdeG748w5vQUbevlbDu0zSjH/+jojorQVBK/se0j6DUFNPBGSqD3YWYnDw==", + "dependencies": { + "@types/d3-interpolate": "*", + "@types/d3-selection": "*" + } + }, + "node_modules/@types/debug": { + "version": "4.1.12", + "resolved": "https://registry.npmmirror.com/@types/debug/-/debug-4.1.12.tgz", + "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==", + "dependencies": { + "@types/ms": "*" + } + }, + "node_modules/@types/estree": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/@types/estree/-/estree-1.0.5.tgz", + "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", + "peer": true + }, + "node_modules/@types/express": { + "version": "4.17.21", + "resolved": "https://registry.npmmirror.com/@types/express/-/express-4.17.21.tgz", + "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "node_modules/@types/express-serve-static-core": { + "version": "4.19.5", + "resolved": "https://registry.npmmirror.com/@types/express-serve-static-core/-/express-serve-static-core-4.19.5.tgz", + "integrity": "sha512-y6W03tvrACO72aijJ5uF02FRq5cgDR9lUxddQ8vyF+GvmjJQqbzDcJngEjURc+ZsG31VI3hODNZJ2URj86pzmg==", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + }, + "node_modules/@types/geojson": { + "version": "7946.0.14", + "resolved": "https://registry.npmmirror.com/@types/geojson/-/geojson-7946.0.14.tgz", + "integrity": "sha512-WCfD5Ht3ZesJUsONdhvm84dmzWOiOzOAqOncN0++w0lBw1o8OuDNJF2McvvCef/yBqb/HYRahp1BYtODFQ8bRg==" + }, + "node_modules/@types/google-one-tap": { + "version": "1.2.6", + "resolved": "https://registry.npmmirror.com/@types/google-one-tap/-/google-one-tap-1.2.6.tgz", + "integrity": "sha512-REmJsXVHvKb/sgI8DF+7IesMbDbcsEokHBqxU01ENZ8d98UPWdRLhUCtxEm9bhNFFg6PJGy7PNFdvovp0hK3jA==", + "dev": true + }, + "node_modules/@types/hast": { + "version": "2.3.10", + "resolved": "https://registry.npmmirror.com/@types/hast/-/hast-2.3.10.tgz", + "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==", + "dependencies": { + "@types/unist": "^2" + } + }, + "node_modules/@types/http-assert": { + "version": "1.5.5", + "resolved": "https://registry.npmmirror.com/@types/http-assert/-/http-assert-1.5.5.tgz", + "integrity": "sha512-4+tE/lwdAahgZT1g30Jkdm9PzFRde0xwxBNUyRsCitRvCQB90iuA2uJYdUnhnANRcqGXaWOGY4FEoxeElNAK2g==" + }, + "node_modules/@types/http-errors": { + "version": "2.0.4", + "resolved": "https://registry.npmmirror.com/@types/http-errors/-/http-errors-2.0.4.tgz", + "integrity": "sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==" + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmmirror.com/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" + }, + "node_modules/@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmmirror.com/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", + "dev": true + }, + "node_modules/@types/keygrip": { + "version": "1.0.6", + "resolved": "https://registry.npmmirror.com/@types/keygrip/-/keygrip-1.0.6.tgz", + "integrity": "sha512-lZuNAY9xeJt7Bx4t4dx0rYCDqGPW8RXhQZK1td7d4H6E9zYbLoOtjBvfwdTKpsyxQI/2jv+armjX/RW+ZNpXOQ==" + }, + "node_modules/@types/koa": { + "version": "2.15.0", + "resolved": "https://registry.npmmirror.com/@types/koa/-/koa-2.15.0.tgz", + "integrity": "sha512-7QFsywoE5URbuVnG3loe03QXuGajrnotr3gQkXcEBShORai23MePfFYdhz90FEtBBpkyIYQbVD+evKtloCgX3g==", + "dependencies": { + "@types/accepts": "*", + "@types/content-disposition": "*", + "@types/cookies": "*", + "@types/http-assert": "*", + "@types/http-errors": "*", + "@types/keygrip": "*", + "@types/koa-compose": "*", + "@types/node": "*" + } + }, + "node_modules/@types/koa-compose": { + "version": "3.2.8", + "resolved": "https://registry.npmmirror.com/@types/koa-compose/-/koa-compose-3.2.8.tgz", + "integrity": "sha512-4Olc63RY+MKvxMwVknCUDhRQX1pFQoBZ/lXcRLP69PQkEpze/0cr8LNqJQe5NFb/b19DWi2a5bTi2VAlQzhJuA==", + "dependencies": { + "@types/koa": "*" + } + }, + "node_modules/@types/linkify-it": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/@types/linkify-it/-/linkify-it-5.0.0.tgz", + "integrity": "sha512-sVDA58zAw4eWAffKOaQH5/5j3XeayukzDk+ewSsnv3p4yJEZHCCzMDiZM8e0OUrRvmpGZ85jf4yDHkHsgBNr9Q==", + "dev": true + }, + "node_modules/@types/lodash": { + "version": "4.17.5", + "resolved": "https://registry.npmmirror.com/@types/lodash/-/lodash-4.17.5.tgz", + "integrity": "sha512-MBIOHVZqVqgfro1euRDWX7OO0fBVUUMrN6Pwm8LQsz8cWhEpihlvR70ENj3f40j58TNxZaWv2ndSkInykNBBJw==", + "dev": true + }, + "node_modules/@types/markdown-it": { + "version": "14.1.2", + "resolved": "https://registry.npmmirror.com/@types/markdown-it/-/markdown-it-14.1.2.tgz", + "integrity": "sha512-promo4eFwuiW+TfGxhi+0x3czqTYJkG8qB17ZUJiVF10Xm7NLVRSLUsfRTU/6h1e24VvRnXCx+hG7li58lkzog==", + "dev": true, + "dependencies": { + "@types/linkify-it": "^5", + "@types/mdurl": "^2" + } + }, + "node_modules/@types/mdast": { + "version": "3.0.15", + "resolved": "https://registry.npmmirror.com/@types/mdast/-/mdast-3.0.15.tgz", + "integrity": "sha512-LnwD+mUEfxWMa1QpDraczIn6k0Ee3SMicuYSSzS6ZYl2gKS09EClnJYGd8Du6rfc5r/GZEk5o1mRb8TaTj03sQ==", + "dependencies": { + "@types/unist": "^2" + } + }, + "node_modules/@types/mdurl": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/@types/mdurl/-/mdurl-2.0.0.tgz", + "integrity": "sha512-RGdgjQUZba5p6QEFAVx2OGb8rQDL/cPRG7GiedRzMcJ1tYnUANBncjbSB1NRGwbvjcPeikRABz2nshyPk1bhWg==", + "dev": true + }, + "node_modules/@types/mime": { + "version": "1.3.5", + "resolved": "https://registry.npmmirror.com/@types/mime/-/mime-1.3.5.tgz", + "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==" + }, + "node_modules/@types/ms": { + "version": "0.7.34", + "resolved": "https://registry.npmmirror.com/@types/ms/-/ms-0.7.34.tgz", + "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==" + }, + "node_modules/@types/node": { + "version": "20.5.7", + "resolved": "https://registry.npmmirror.com/@types/node/-/node-20.5.7.tgz", + "integrity": "sha512-dP7f3LdZIysZnmvP3ANJYTSwg+wLLl8p7RqniVlV7j+oXSXAbt9h0WIBFmJy5inWZoX9wZN6eXx+YXd9Rh3RBA==" + }, + "node_modules/@types/node-localstorage": { + "version": "1.3.3", + "resolved": "https://registry.npmmirror.com/@types/node-localstorage/-/node-localstorage-1.3.3.tgz", + "integrity": "sha512-Wkn5g4eM5x10UNV9Xvl9K6y6m0zorocuJy4WjB5muUdyMZuPbZpSJG3hlhjGHe1HGxbOQO7RcB+jlHcNwkh+Jw==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/nprogress": { + "version": "0.2.3", + "resolved": "https://registry.npmmirror.com/@types/nprogress/-/nprogress-0.2.3.tgz", + "integrity": "sha512-k7kRA033QNtC+gLc4VPlfnue58CM1iQLgn1IMAU8VPHGOj7oIHPp9UlhedEnD/Gl8evoCjwkZjlBORtZ3JByUA==", + "dev": true + }, + "node_modules/@types/parse-json": { + "version": "4.0.2", + "resolved": "https://registry.npmmirror.com/@types/parse-json/-/parse-json-4.0.2.tgz", + "integrity": "sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==" + }, + "node_modules/@types/parse5": { + "version": "6.0.3", + "resolved": "https://registry.npmmirror.com/@types/parse5/-/parse5-6.0.3.tgz", + "integrity": "sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==" + }, + "node_modules/@types/prop-types": { + "version": "15.7.12", + "resolved": "https://registry.npmmirror.com/@types/prop-types/-/prop-types-15.7.12.tgz", + "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==" + }, + "node_modules/@types/qs": { + "version": "6.9.15", + "resolved": "https://registry.npmmirror.com/@types/qs/-/qs-6.9.15.tgz", + "integrity": "sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg==" + }, + "node_modules/@types/range-parser": { + "version": "1.2.7", + "resolved": "https://registry.npmmirror.com/@types/range-parser/-/range-parser-1.2.7.tgz", + "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==" + }, + "node_modules/@types/react": { + "version": "18.2.14", + "resolved": "https://registry.npmmirror.com/@types/react/-/react-18.2.14.tgz", + "integrity": "sha512-A0zjq+QN/O0Kpe30hA1GidzyFjatVvrpIvWLxD+xv67Vt91TWWgco9IvrJBkeyHm1trGaFS/FSGqPlhyeZRm0g==", + "dependencies": { + "@types/prop-types": "*", + "@types/scheduler": "*", + "csstype": "^3.0.2" + } + }, + "node_modules/@types/react-dom": { + "version": "18.2.6", + "resolved": "https://registry.npmmirror.com/@types/react-dom/-/react-dom-18.2.6.tgz", + "integrity": "sha512-2et4PDvg6PVCyS7fuTc4gPoksV58bW0RwSxWKcPRcHZf0PRUGq03TKcD/rUHe3azfV6/5/biUBJw+HhCQjaP0A==", + "dev": true, + "dependencies": { + "@types/react": "*" + } + }, + "node_modules/@types/react-syntax-highlighter": { + "version": "15.5.13", + "resolved": "https://registry.npmmirror.com/@types/react-syntax-highlighter/-/react-syntax-highlighter-15.5.13.tgz", + "integrity": "sha512-uLGJ87j6Sz8UaBAooU0T6lWJ0dBmjZgN1PZTrj05TNql2/XpC6+4HhMT5syIdFUUt+FASfCeLLv4kBygNU+8qA==", + "dev": true, + "dependencies": { + "@types/react": "*" + } + }, + "node_modules/@types/react-transition-group": { + "version": "4.4.10", + "resolved": "https://registry.npmmirror.com/@types/react-transition-group/-/react-transition-group-4.4.10.tgz", + "integrity": "sha512-hT/+s0VQs2ojCX823m60m5f0sL5idt9SO6Tj6Dg+rdphGPIeJbJ6CxvBYkgkGKrYeDjvIpKTR38UzmtHJOGW3Q==", + "dependencies": { + "@types/react": "*" + } + }, + "node_modules/@types/react-virtualized": { + "version": "9.21.30", + "resolved": "https://registry.npmmirror.com/@types/react-virtualized/-/react-virtualized-9.21.30.tgz", + "integrity": "sha512-4l2TFLQ8BCjNDQlvH85tU6gctuZoEdgYzENQyZHpgTHU7hoLzYgPSOALMAeA58LOWua8AzC6wBivPj1lfl6JgQ==", + "dependencies": { + "@types/prop-types": "*", + "@types/react": "*" + } + }, + "node_modules/@types/scheduler": { + "version": "0.23.0", + "resolved": "https://registry.npmmirror.com/@types/scheduler/-/scheduler-0.23.0.tgz", + "integrity": "sha512-YIoDCTH3Af6XM5VuwGG/QL/CJqga1Zm3NkU3HZ4ZHK2fRMPYP1VczsTUqtsf43PH/iJNVlPHAo2oWX7BSdB2Hw==" + }, + "node_modules/@types/send": { + "version": "0.17.4", + "resolved": "https://registry.npmmirror.com/@types/send/-/send-0.17.4.tgz", + "integrity": "sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "node_modules/@types/serve-static": { + "version": "1.15.7", + "resolved": "https://registry.npmmirror.com/@types/serve-static/-/serve-static-1.15.7.tgz", + "integrity": "sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==", + "dependencies": { + "@types/http-errors": "*", + "@types/node": "*", + "@types/send": "*" + } + }, + "node_modules/@types/unist": { + "version": "2.0.10", + "resolved": "https://registry.npmmirror.com/@types/unist/-/unist-2.0.10.tgz", + "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + }, + "node_modules/@types/uuid": { + "version": "9.0.8", + "resolved": "https://registry.npmmirror.com/@types/uuid/-/uuid-9.0.8.tgz", + "integrity": "sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==", + "dev": true + }, + "node_modules/@types/validator": { + "version": "13.12.1", + "resolved": "https://registry.npmmirror.com/@types/validator/-/validator-13.12.1.tgz", + "integrity": "sha512-w0URwf7BQb0rD/EuiG12KP0bailHKHP5YVviJG9zw3ykAokL0TuxU2TUqMB7EwZ59bDHYdeTIvjI5m0S7qHfOA==" + }, + "node_modules/@typescript-eslint/parser": { + "version": "5.62.0", + "resolved": "https://registry.npmmirror.com/@typescript-eslint/parser/-/parser-5.62.0.tgz", + "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", + "dev": true, + "dependencies": { + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "5.62.0", + "resolved": "https://registry.npmmirror.com/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", + "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/types": { + "version": "5.62.0", + "resolved": "https://registry.npmmirror.com/@typescript-eslint/types/-/types-5.62.0.tgz", + "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "5.62.0", + "resolved": "https://registry.npmmirror.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", + "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/globby": { + "version": "11.1.0", + "resolved": "https://registry.npmmirror.com/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dev": true, + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "5.62.0", + "resolved": "https://registry.npmmirror.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", + "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@uiw/react-json-view": { + "version": "2.0.0-alpha.26", + "resolved": "https://registry.npmmirror.com/@uiw/react-json-view/-/react-json-view-2.0.0-alpha.26.tgz", + "integrity": "sha512-i3uph/hjjT+RwUMjC3lpQUFwWWP+/muipo5Hj22XlhreFrcnhgydorq3PFBnmu4nZxNzkwGar07M6/f6+5b+XQ==", + "funding": { + "url": "https://jaywcjlove.github.io/#/sponsor" + }, + "peerDependencies": { + "@babel/runtime": ">=7.10.0", + "react": ">=18.0.0", + "react-dom": ">=18.0.0" + } + }, + "node_modules/@webassemblyjs/ast": { + "version": "1.12.1", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/ast/-/ast-1.12.1.tgz", + "integrity": "sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==", + "peer": true, + "dependencies": { + "@webassemblyjs/helper-numbers": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6" + } + }, + "node_modules/@webassemblyjs/floating-point-hex-parser": { + "version": "1.11.6", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz", + "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==", + "peer": true + }, + "node_modules/@webassemblyjs/helper-api-error": { + "version": "1.11.6", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz", + "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==", + "peer": true + }, + "node_modules/@webassemblyjs/helper-buffer": { + "version": "1.12.1", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.12.1.tgz", + "integrity": "sha512-nzJwQw99DNDKr9BVCOZcLuJJUlqkJh+kVzVl6Fmq/tI5ZtEyWT1KZMyOXltXLZJmDtvLCDgwsyrkohEtopTXCw==", + "peer": true + }, + "node_modules/@webassemblyjs/helper-numbers": { + "version": "1.11.6", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz", + "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==", + "peer": true, + "dependencies": { + "@webassemblyjs/floating-point-hex-parser": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/helper-wasm-bytecode": { + "version": "1.11.6", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz", + "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==", + "peer": true + }, + "node_modules/@webassemblyjs/helper-wasm-section": { + "version": "1.12.1", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.12.1.tgz", + "integrity": "sha512-Jif4vfB6FJlUlSbgEMHUyk1j234GTNG9dBJ4XJdOySoj518Xj0oGsNi59cUQF4RRMS9ouBUxDDdyBVfPTypa5g==", + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-buffer": "1.12.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/wasm-gen": "1.12.1" + } + }, + "node_modules/@webassemblyjs/ieee754": { + "version": "1.11.6", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz", + "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==", + "peer": true, + "dependencies": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "node_modules/@webassemblyjs/leb128": { + "version": "1.11.6", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/leb128/-/leb128-1.11.6.tgz", + "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==", + "peer": true, + "dependencies": { + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/utf8": { + "version": "1.11.6", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/utf8/-/utf8-1.11.6.tgz", + "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==", + "peer": true + }, + "node_modules/@webassemblyjs/wasm-edit": { + "version": "1.12.1", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.12.1.tgz", + "integrity": "sha512-1DuwbVvADvS5mGnXbE+c9NfA8QRcZ6iKquqjjmR10k6o+zzsRVesil54DKexiowcFCPdr/Q0qaMgB01+SQ1u6g==", + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-buffer": "1.12.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/helper-wasm-section": "1.12.1", + "@webassemblyjs/wasm-gen": "1.12.1", + "@webassemblyjs/wasm-opt": "1.12.1", + "@webassemblyjs/wasm-parser": "1.12.1", + "@webassemblyjs/wast-printer": "1.12.1" + } + }, + "node_modules/@webassemblyjs/wasm-gen": { + "version": "1.12.1", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.12.1.tgz", + "integrity": "sha512-TDq4Ojh9fcohAw6OIMXqiIcTq5KUXTGRkVxbSo1hQnSy6lAM5GSdfwWeSxpAo0YzgsgF182E/U0mDNhuA0tW7w==", + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" + } + }, + "node_modules/@webassemblyjs/wasm-opt": { + "version": "1.12.1", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.12.1.tgz", + "integrity": "sha512-Jg99j/2gG2iaz3hijw857AVYekZe2SAskcqlWIZXjji5WStnOpVoat3gQfT/Q5tb2djnCjBtMocY/Su1GfxPBg==", + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-buffer": "1.12.1", + "@webassemblyjs/wasm-gen": "1.12.1", + "@webassemblyjs/wasm-parser": "1.12.1" + } + }, + "node_modules/@webassemblyjs/wasm-parser": { + "version": "1.12.1", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.12.1.tgz", + "integrity": "sha512-xikIi7c2FHXysxXe3COrVUPSheuBtpcfhbpFj4gmu7KRLYOzANztwUU0IbsqvMqzuNK2+glRGWCEqZo1WCLyAQ==", + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-api-error": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" + } + }, + "node_modules/@webassemblyjs/wast-printer": { + "version": "1.12.1", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/wast-printer/-/wast-printer-1.12.1.tgz", + "integrity": "sha512-+X4WAlOisVWQMikjbcvY2e0rwPsKQ9F688lksZhBcPycBBuii3O7m8FACbDMWDojpAqvjIncrG8J0XHKyQfVeA==", + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.12.1", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "peer": true + }, + "node_modules/@xtuc/long": { + "version": "4.2.2", + "resolved": "https://registry.npmmirror.com/@xtuc/long/-/long-4.2.2.tgz", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", + "peer": true + }, + "node_modules/acorn": { + "version": "8.12.0", + "resolved": "https://registry.npmmirror.com/acorn/-/acorn-8.12.0.tgz", + "integrity": "sha512-RTvkC4w+KNXrM39/lWCUaG0IbRkWdCv7W/IOW9oU6SawyxulvkQy5HQPVTKxEjczcUvapcrw3cFx/60VN/NRNw==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-import-attributes": { + "version": "1.9.5", + "resolved": "https://registry.npmmirror.com/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz", + "integrity": "sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==", + "peer": true, + "peerDependencies": { + "acorn": "^8" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmmirror.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/agent-base": { + "version": "7.1.1", + "resolved": "https://registry.npmmirror.com/agent-base/-/agent-base-7.1.1.tgz", + "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", + "dependencies": { + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/ahooks": { + "version": "3.8.0", + "resolved": "https://registry.npmmirror.com/ahooks/-/ahooks-3.8.0.tgz", + "integrity": "sha512-M01m+mxLRNNeJ/PCT3Fom26UyreTj6oMqJBetUrJnK4VNI5j6eMA543Xxo53OBXn6XibA2FXKcCCgrT6YCTtKQ==", + "dependencies": { + "@babel/runtime": "^7.21.0", + "dayjs": "^1.9.1", + "intersection-observer": "^0.12.0", + "js-cookie": "^2.x.x", + "lodash": "^4.17.21", + "react-fast-compare": "^3.2.2", + "resize-observer-polyfill": "^1.5.1", + "screenfull": "^5.0.0", + "tslib": "^2.4.1" + }, + "engines": { + "node": ">=8.0.0" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/ajv-formats/-/ajv-formats-2.1.1.tgz", + "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dev": true, + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/ajv-formats/node_modules/ajv": { + "version": "8.16.0", + "resolved": "https://registry.npmmirror.com/ajv/-/ajv-8.16.0.tgz", + "integrity": "sha512-F0twR8U1ZU67JIEtekUcLkXkoO5mMMmgGD8sK/xUFzJ805jxHQl92hImFAqqXMyMYjSPOyUPAwHYhB72g5sTXw==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.3", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.4.1" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmmirror.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "peer": true, + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/align-text": { + "version": "0.1.4", + "resolved": "https://registry.npmmirror.com/align-text/-/align-text-0.1.4.tgz", + "integrity": "sha512-GrTZLRpmp6wIC2ztrWW9MjjTgSKccffgFagbNDOX95/dcjEcYZibYTeaOntySQLcdw1ztBoFkviiUvTMbb9MYg==", + "dependencies": { + "kind-of": "^3.0.2", + "longest": "^1.0.1", + "repeat-string": "^1.5.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha512-S2Hw0TtNkMJhIabBwIojKL9YHO5T0n5eNqWJ7Lrlel/zDbftQpxpapi8tZs3X1HWa+u+QeydGmzzNU0m09+Rcg==", + "engines": { + "node": ">=0.4.2" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/antd": { + "version": "5.20.3", + "resolved": "https://registry.npmmirror.com/antd/-/antd-5.20.3.tgz", + "integrity": "sha512-v2s5LJlhuccIKLT17ESXQDkiQJdPK4jXg4x2pmSSRlrKXAxfftn8Zhd/7pdF3qR3OkwheQpSRjynrNZKp9Tgkg==", + "dependencies": { + "@ant-design/colors": "^7.1.0", + "@ant-design/cssinjs": "^1.21.0", + "@ant-design/cssinjs-utils": "^1.0.3", + "@ant-design/icons": "^5.4.0", + "@ant-design/react-slick": "~1.1.2", + "@babel/runtime": "^7.24.8", + "@ctrl/tinycolor": "^3.6.1", + "@rc-component/color-picker": "~2.0.1", + "@rc-component/mutate-observer": "^1.1.0", + "@rc-component/qrcode": "~1.0.0", + "@rc-component/tour": "~1.15.0", + "@rc-component/trigger": "^2.2.1", + "classnames": "^2.5.1", + "copy-to-clipboard": "^3.3.3", + "dayjs": "^1.11.11", + "rc-cascader": "~3.27.0", + "rc-checkbox": "~3.3.0", + "rc-collapse": "~3.7.3", + "rc-dialog": "~9.5.2", + "rc-drawer": "~7.2.0", + "rc-dropdown": "~4.2.0", + "rc-field-form": "~2.4.0", + "rc-image": "~7.9.0", + "rc-input": "~1.6.3", + "rc-input-number": "~9.2.0", + "rc-mentions": "~2.15.0", + "rc-menu": "~9.14.1", + "rc-motion": "^2.9.2", + "rc-notification": "~5.6.0", + "rc-pagination": "~4.2.0", + "rc-picker": "~4.6.13", + "rc-progress": "~4.0.0", + "rc-rate": "~2.13.0", + "rc-resize-observer": "^1.4.0", + "rc-segmented": "~2.3.0", + "rc-select": "~14.15.1", + "rc-slider": "~11.1.5", + "rc-steps": "~6.0.1", + "rc-switch": "~4.1.0", + "rc-table": "~7.45.7", + "rc-tabs": "~15.1.1", + "rc-textarea": "~1.8.1", + "rc-tooltip": "~6.2.0", + "rc-tree": "~5.8.8", + "rc-tree-select": "~5.22.1", + "rc-upload": "~4.7.0", + "rc-util": "^5.43.0", + "scroll-into-view-if-needed": "^3.1.0", + "throttle-debounce": "^5.0.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/ant-design" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/antlr4": { + "version": "4.8.0", + "resolved": "https://registry.npmmirror.com/antlr4/-/antlr4-4.8.0.tgz", + "integrity": "sha512-en/MxQ4OkPgGJQ3wD/muzj1uDnFSzdFIhc2+c6bHZokWkuBb6RRvFjpWhPxWLbgQvaEzldJZ0GSQpfSAaE3hqg==" + }, + "node_modules/any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmmirror.com/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==" + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmmirror.com/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/append-field": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/append-field/-/append-field-1.0.0.tgz", + "integrity": "sha512-klpgFSWLW1ZEs8svjfb7g4qWY0YS5imI82dTg+QahUvJ8YqAY0P10Uk8tTyh9ZGuYEZEMaeJYCF5BFuX552hsw==" + }, + "node_modules/arg": { + "version": "5.0.2", + "resolved": "https://registry.npmmirror.com/arg/-/arg-5.0.2.tgz", + "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==" + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + }, + "node_modules/aria-query": { + "version": "5.1.3", + "resolved": "https://registry.npmmirror.com/aria-query/-/aria-query-5.1.3.tgz", + "integrity": "sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==", + "dev": true, + "dependencies": { + "deep-equal": "^2.0.5" + } + }, + "node_modules/array-buffer-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz", + "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==", + "dependencies": { + "call-bind": "^1.0.5", + "is-array-buffer": "^3.0.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array-includes": { + "version": "3.1.8", + "resolved": "https://registry.npmmirror.com/array-includes/-/array-includes-3.1.8.tgz", + "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.4", + "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array-tree-filter": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/array-tree-filter/-/array-tree-filter-2.1.0.tgz", + "integrity": "sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw==" + }, + "node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/array.prototype.findlast": { + "version": "1.2.5", + "resolved": "https://registry.npmmirror.com/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz", + "integrity": "sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "es-shim-unscopables": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex": { + "version": "1.2.5", + "resolved": "https://registry.npmmirror.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz", + "integrity": "sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "es-shim-unscopables": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.flat": { + "version": "1.3.2", + "resolved": "https://registry.npmmirror.com/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz", + "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.flatmap": { + "version": "1.3.2", + "resolved": "https://registry.npmmirror.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", + "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.toreversed": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/array.prototype.toreversed/-/array.prototype.toreversed-1.1.2.tgz", + "integrity": "sha512-wwDCoT4Ck4Cz7sLtgUmzR5UV3YF5mFHUlbChCzZBQZ+0m2cl/DH3tKgvphv1nKgFsJ48oCSg6p91q2Vm0I/ZMA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0" + } + }, + "node_modules/array.prototype.tosorted": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz", + "integrity": "sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.3", + "es-errors": "^1.3.0", + "es-shim-unscopables": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/arraybuffer.prototype.slice": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", + "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", + "dependencies": { + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.2.1", + "get-intrinsic": "^1.2.3", + "is-array-buffer": "^3.0.4", + "is-shared-array-buffer": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/asn1js": { + "version": "3.0.5", + "resolved": "https://registry.npmmirror.com/asn1js/-/asn1js-3.0.5.tgz", + "integrity": "sha512-FVnvrKJwpt9LP2lAMl8qZswRNm3T4q9CON+bxldk2iwk3FFpuwhx2FfinyitizWHsVYyaY+y5JzDR0rCMV5yTQ==", + "dependencies": { + "pvtsutils": "^1.3.2", + "pvutils": "^1.1.3", + "tslib": "^2.4.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/ast-types-flow": { + "version": "0.0.8", + "resolved": "https://registry.npmmirror.com/ast-types-flow/-/ast-types-flow-0.0.8.tgz", + "integrity": "sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==", + "dev": true + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, + "node_modules/autoprefixer": { + "version": "10.4.14", + "resolved": "https://registry.npmmirror.com/autoprefixer/-/autoprefixer-10.4.14.tgz", + "integrity": "sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + } + ], + "dependencies": { + "browserslist": "^4.21.5", + "caniuse-lite": "^1.0.30001464", + "fraction.js": "^4.2.0", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/available-typed-arrays": { + "version": "1.0.7", + "resolved": "https://registry.npmmirror.com/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", + "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "dependencies": { + "possible-typed-array-names": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/aws-ssl-profiles": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/aws-ssl-profiles/-/aws-ssl-profiles-1.1.1.tgz", + "integrity": "sha512-+H+kuK34PfMaI9PNU/NSjBKL5hh/KDM9J72kwYeYEm0A8B1AC4fuCy3qsjnA7lxklgyXsB68yn8Z2xoZEjgwCQ==", + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/axe-core": { + "version": "4.9.1", + "resolved": "https://registry.npmmirror.com/axe-core/-/axe-core-4.9.1.tgz", + "integrity": "sha512-QbUdXJVTpvUTHU7871ppZkdOLBeGUKBQWHkHrvN2V9IQWGMt61zf3B45BtzjxEJzYuj0JBjBZP/hmYS/R9pmAw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/axios": { + "version": "1.7.2", + "resolved": "https://registry.npmmirror.com/axios/-/axios-1.7.2.tgz", + "integrity": "sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/axobject-query": { + "version": "3.1.1", + "resolved": "https://registry.npmmirror.com/axobject-query/-/axobject-query-3.1.1.tgz", + "integrity": "sha512-goKlv8DZrK9hUh975fnHzhNIO4jUnFCfv/dszV5VwUGDFjI6vQ2VwoyjYjYNEbBE8AH87TduWP5uyDR1D+Iteg==", + "dev": true, + "dependencies": { + "deep-equal": "^2.0.5" + } + }, + "node_modules/babel-plugin-macros": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", + "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", + "dependencies": { + "@babel/runtime": "^7.12.5", + "cosmiconfig": "^7.0.0", + "resolve": "^1.19.0" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + } + }, + "node_modules/bail": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/bail/-/bail-2.0.2.tgz", + "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmmirror.com/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/bayesian-changepoint": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/bayesian-changepoint/-/bayesian-changepoint-1.0.1.tgz", + "integrity": "sha512-OhSHWfGiEcBtI46b5guJGmj6pJEjvyaXsRPCAQy5MPoVaDZ38poXmzVZLSIuw6VLQmZs58+uf5F9iFA4NVmTTA==" + }, + "node_modules/big.js": { + "version": "5.2.2", + "resolved": "https://registry.npmmirror.com/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", + "engines": { + "node": "*" + } + }, + "node_modules/bignumber.js": { + "version": "9.1.2", + "resolved": "https://registry.npmmirror.com/bignumber.js/-/bignumber.js-9.1.2.tgz", + "integrity": "sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==", + "engines": { + "node": "*" + } + }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmmirror.com/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.23.1", + "resolved": "https://registry.npmmirror.com/browserslist/-/browserslist-4.23.1.tgz", + "integrity": "sha512-TUfofFo/KsK/bWZ9TWQ5O26tsWW4Uhmt8IYklbnUa70udB6P2wA7w7o4PY4muaEPBQaAX+CEnmmIA41NVHtPVw==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001629", + "electron-to-chromium": "^1.4.796", + "node-releases": "^2.0.14", + "update-browserslist-db": "^1.0.16" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/bubblesets-js": { + "version": "2.3.3", + "resolved": "https://registry.npmmirror.com/bubblesets-js/-/bubblesets-js-2.3.3.tgz", + "integrity": "sha512-7++8/mcahpmJyIGY+YSPG5o2FnTIeNgVx17eoFyEjzcTblpcMd8SSUtt67MlKYlj8mIh9/aYpY+1GvPoy6pViQ==" + }, + "node_modules/buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmmirror.com/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "node_modules/buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==" + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" + }, + "node_modules/busboy": { + "version": "1.6.0", + "resolved": "https://registry.npmmirror.com/busboy/-/busboy-1.6.0.tgz", + "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", + "dependencies": { + "streamsearch": "^1.1.0" + }, + "engines": { + "node": ">=10.16.0" + } + }, + "node_modules/call-bind": { + "version": "1.0.7", + "resolved": "https://registry.npmmirror.com/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/camelcase/-/camelcase-1.2.1.tgz", + "integrity": "sha512-wzLkDa4K/mzI1OSITC+DUyjgIl/ETNHE9QvYgy6J6Jvqyyz4C0Xfd+lQhb19sX2jMpZV4IssUn0VDVmglV+s4g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/camelcase-css": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/camelcase-css/-/camelcase-css-2.0.1.tgz", + "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001636", + "resolved": "https://registry.npmmirror.com/caniuse-lite/-/caniuse-lite-1.0.30001636.tgz", + "integrity": "sha512-bMg2vmr8XBsbL6Lr0UHXy/21m84FTxDLWn2FSqMd5PrlbMxwJlQnC2YWYxVgp66PZE+BBNF2jYQUBKCo1FDeZg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ] + }, + "node_modules/ccount": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/ccount/-/ccount-2.0.1.tgz", + "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/center-align": { + "version": "0.1.3", + "resolved": "https://registry.npmmirror.com/center-align/-/center-align-0.1.3.tgz", + "integrity": "sha512-Baz3aNe2gd2LP2qk5U+sDk/m4oSuwSDcBfayTCTBoWpfIGO5XFxPmjILQII4NGiZjD6DoDI6kf7gKaxkf7s3VQ==", + "dependencies": { + "align-text": "^0.1.3", + "lazy-cache": "^1.0.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmmirror.com/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chalk/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/character-entities": { + "version": "1.2.4", + "resolved": "https://registry.npmmirror.com/character-entities/-/character-entities-1.2.4.tgz", + "integrity": "sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-legacy": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz", + "integrity": "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-reference-invalid": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz", + "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chokidar/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/chroma-js": { + "version": "2.4.2", + "resolved": "https://registry.npmmirror.com/chroma-js/-/chroma-js-2.4.2.tgz", + "integrity": "sha512-U9eDw6+wt7V8z5NncY2jJfZa+hUH8XEj8FQHgFJTrUFnJfXYf4Ml4adI2vXZOjqRDpFWtYVWypDfZwnJ+HIR4A==" + }, + "node_modules/chrome-trace-event": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz", + "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==", + "peer": true, + "engines": { + "node": ">=6.0" + } + }, + "node_modules/classcat": { + "version": "5.0.5", + "resolved": "https://registry.npmmirror.com/classcat/-/classcat-5.0.5.tgz", + "integrity": "sha512-JhZUT7JFcQy/EzW605k/ktHtncoo9vnyW/2GspNYwFlN1C/WmjuV/xtS04e9SOkL2sTdw0VAZ2UGCcQ9lR6p6w==" + }, + "node_modules/classnames": { + "version": "2.5.1", + "resolved": "https://registry.npmmirror.com/classnames/-/classnames-2.5.1.tgz", + "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==" + }, + "node_modules/client-only": { + "version": "0.0.1", + "resolved": "https://registry.npmmirror.com/client-only/-/client-only-0.0.1.tgz", + "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==" + }, + "node_modules/cliui": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/cliui/-/cliui-2.1.0.tgz", + "integrity": "sha512-GIOYRizG+TGoc7Wgc1LiOTLare95R3mzKgoln+Q/lE4ceiYH19gUpl0l0Ffq4lJDEf3FxujMe6IBfOCs7pfqNA==", + "dependencies": { + "center-align": "^0.1.1", + "right-align": "^0.1.1", + "wordwrap": "0.0.2" + } + }, + "node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/color": { + "version": "3.2.1", + "resolved": "https://registry.npmmirror.com/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "peer": true, + "dependencies": { + "color-convert": "^1.9.3", + "color-string": "^1.6.0" + } + }, + "node_modules/color-blind": { + "version": "0.1.3", + "resolved": "https://registry.npmmirror.com/color-blind/-/color-blind-0.1.3.tgz", + "integrity": "sha512-n65+lsZBF7UvN7Vpml2NmlH4zYppxRwZCRUg21BmTn1uV39+Tv6Dap8KdPZ2uRe7KybOe0jEalvfdvY9zJJlJw==", + "dependencies": { + "onecolor": "^3.1.0" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + }, + "node_modules/color-string": { + "version": "1.9.1", + "resolved": "https://registry.npmmirror.com/color-string/-/color-string-1.9.1.tgz", + "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", + "dependencies": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/comlink": { + "version": "4.4.1", + "resolved": "https://registry.npmmirror.com/comlink/-/comlink-4.4.1.tgz", + "integrity": "sha512-+1dlx0aY5Jo1vHy/tSsIGpSkN4tS9rZSW8FIhG0JH/crs9wwweswIo/POr451r7bZww3hFbPAKnTpimzL/mm4Q==" + }, + "node_modules/comma-separated-tokens": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", + "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/commander": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "engines": { + "node": ">= 10" + } + }, + "node_modules/compute-scroll-into-view": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/compute-scroll-into-view/-/compute-scroll-into-view-3.1.0.tgz", + "integrity": "sha512-rj8l8pD4bJ1nx+dAkMhV1xB5RuZEyVysfxJqB1pRchh1KVvwOv9b7CGB8ZfjTImVv2oF+sYMUkMZq6Na5Ftmbg==" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmmirror.com/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + }, + "node_modules/concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmmirror.com/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "engines": [ + "node >= 0.8" + ], + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "node_modules/contour_plot": { + "version": "0.0.1", + "resolved": "https://registry.npmmirror.com/contour_plot/-/contour_plot-0.0.1.tgz", + "integrity": "sha512-Nil2HI76Xux6sVGORvhSS8v66m+/h5CwFkBJDO+U5vWaMdNC0yXNCsGDPbzPhvqOEU5koebhdEvD372LI+IyLw==" + }, + "node_modules/convert-source-map": { + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/convert-source-map/-/convert-source-map-1.9.0.tgz", + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" + }, + "node_modules/cookie": { + "version": "0.6.0", + "resolved": "https://registry.npmmirror.com/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookies-next": { + "version": "4.2.1", + "resolved": "https://registry.npmmirror.com/cookies-next/-/cookies-next-4.2.1.tgz", + "integrity": "sha512-qsjtZ8TLlxCSX2JphMQNhkm3V3zIMQ05WrLkBKBwu50npBbBfiZWIdmSMzBGcdGKfMK19E0PIitTfRFAdMGHXg==", + "dependencies": { + "@types/cookie": "^0.6.0", + "cookie": "^0.6.0" + } + }, + "node_modules/copy-to-clipboard": { + "version": "3.3.3", + "resolved": "https://registry.npmmirror.com/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz", + "integrity": "sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==", + "dependencies": { + "toggle-selection": "^1.0.6" + } + }, + "node_modules/copy-webpack-plugin": { + "version": "12.0.2", + "resolved": "https://registry.npmmirror.com/copy-webpack-plugin/-/copy-webpack-plugin-12.0.2.tgz", + "integrity": "sha512-SNwdBeHyII+rWvee/bTnAYyO8vfVdcSTud4EIb6jcZ8inLeWucJE0DnxXQBjlQ5zlteuuvooGQy3LIyGxhvlOA==", + "dev": true, + "dependencies": { + "fast-glob": "^3.3.2", + "glob-parent": "^6.0.1", + "globby": "^14.0.0", + "normalize-path": "^3.0.0", + "schema-utils": "^4.2.0", + "serialize-javascript": "^6.0.2" + }, + "engines": { + "node": ">= 18.12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + } + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + }, + "node_modules/cosmiconfig": { + "version": "7.1.0", + "resolved": "https://registry.npmmirror.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz", + "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", + "dependencies": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmmirror.com/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" + }, + "node_modules/d3-array": { + "version": "3.2.4", + "resolved": "https://registry.npmmirror.com/d3-array/-/d3-array-3.2.4.tgz", + "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==", + "dependencies": { + "internmap": "1 - 2" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-binarytree": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/d3-binarytree/-/d3-binarytree-1.0.2.tgz", + "integrity": "sha512-cElUNH+sHu95L04m92pG73t2MEJXKu+GeKUN1TJkFsu93E5W8E9Sc3kHEGJKgenGvj19m6upSn2EunvMgMD2Yw==" + }, + "node_modules/d3-color": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/d3-color/-/d3-color-3.1.0.tgz", + "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-dispatch": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-dispatch/-/d3-dispatch-3.0.1.tgz", + "integrity": "sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-drag": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/d3-drag/-/d3-drag-3.0.0.tgz", + "integrity": "sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg==", + "dependencies": { + "d3-dispatch": "1 - 3", + "d3-selection": "3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-dsv": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-dsv/-/d3-dsv-3.0.1.tgz", + "integrity": "sha512-UG6OvdI5afDIFP9w4G0mNq50dSOsXHJaRE8arAS5o9ApWnIElp8GZw1Dun8vP8OyHOZ/QJUKUJwxiiCCnUwm+Q==", + "dependencies": { + "commander": "7", + "iconv-lite": "0.6", + "rw": "1" + }, + "bin": { + "csv2json": "bin/dsv2json.js", + "csv2tsv": "bin/dsv2dsv.js", + "dsv2dsv": "bin/dsv2dsv.js", + "dsv2json": "bin/dsv2json.js", + "json2csv": "bin/json2dsv.js", + "json2dsv": "bin/json2dsv.js", + "json2tsv": "bin/json2dsv.js", + "tsv2csv": "bin/dsv2dsv.js", + "tsv2json": "bin/dsv2json.js" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-ease": { + "version": "1.0.7", + "resolved": "https://registry.npmmirror.com/d3-ease/-/d3-ease-1.0.7.tgz", + "integrity": "sha512-lx14ZPYkhNx0s/2HX5sLFUI3mbasHjSSpwO/KaaNACweVwxUruKyWVcb293wMv1RqTPZyZ8kSZ2NogUZNcLOFQ==" + }, + "node_modules/d3-force": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/d3-force/-/d3-force-3.0.0.tgz", + "integrity": "sha512-zxV/SsA+U4yte8051P4ECydjD/S+qeYtnaIyAs9tgHCqfguma/aAQDjo85A9Z6EKhBirHRJHXIgJUlffT4wdLg==", + "dependencies": { + "d3-dispatch": "1 - 3", + "d3-quadtree": "1 - 3", + "d3-timer": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-force-3d": { + "version": "3.0.5", + "resolved": "https://registry.npmmirror.com/d3-force-3d/-/d3-force-3d-3.0.5.tgz", + "integrity": "sha512-tdwhAhoTYZY/a6eo9nR7HP3xSW/C6XvJTbeRpR92nlPzH6OiE+4MliN9feuSFd0tPtEUo+191qOhCTWx3NYifg==", + "dependencies": { + "d3-binarytree": "1", + "d3-dispatch": "1 - 3", + "d3-octree": "1", + "d3-quadtree": "1 - 3", + "d3-timer": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-format": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/d3-format/-/d3-format-3.1.0.tgz", + "integrity": "sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-geo": { + "version": "3.1.1", + "resolved": "https://registry.npmmirror.com/d3-geo/-/d3-geo-3.1.1.tgz", + "integrity": "sha512-637ln3gXKXOwhalDzinUgY83KzNWZRKbYubaG+fGVuc/dxO64RRljtCTnf5ecMyE1RIdtqpkVcq0IbtU2S8j2Q==", + "dependencies": { + "d3-array": "2.5.0 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-hierarchy": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/d3-hierarchy/-/d3-hierarchy-3.1.2.tgz", + "integrity": "sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-interpolate": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-interpolate/-/d3-interpolate-3.0.1.tgz", + "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==", + "dependencies": { + "d3-color": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-octree": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/d3-octree/-/d3-octree-1.0.2.tgz", + "integrity": "sha512-Qxg4oirJrNXauiuC94uKMbgxwnhdda9xRLl9ihq45srlJ4Ga3CSgqGcAL8iW7N5CIv4Oz8x3E734ulxyvHPvwA==" + }, + "node_modules/d3-path": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/d3-path/-/d3-path-3.1.0.tgz", + "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-quadtree": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-quadtree/-/d3-quadtree-3.0.1.tgz", + "integrity": "sha512-04xDrxQTDTCFwP5H6hRhsRcb9xxv2RzkcsygFzmkSIOJy3PeRJP7sNk3VRIbKXcog561P9oU0/rVH6vDROAgUw==", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-regression": { + "version": "1.3.10", + "resolved": "https://registry.npmmirror.com/d3-regression/-/d3-regression-1.3.10.tgz", + "integrity": "sha512-PF8GWEL70cHHWpx2jUQXc68r1pyPHIA+St16muk/XRokETzlegj5LriNKg7o4LR0TySug4nHYPJNNRz/W+/Niw==", + "peer": true + }, + "node_modules/d3-scale-chromatic": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/d3-scale-chromatic/-/d3-scale-chromatic-3.1.0.tgz", + "integrity": "sha512-A3s5PWiZ9YCXFye1o246KoscMWqf8BsD9eRiJ3He7C9OBaxKhAd5TFCdEx/7VbKtxxTsu//1mMJFrEt572cEyQ==", + "dependencies": { + "d3-color": "1 - 3", + "d3-interpolate": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-selection": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/d3-selection/-/d3-selection-3.0.0.tgz", + "integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-shape": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/d3-shape/-/d3-shape-3.2.0.tgz", + "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==", + "dependencies": { + "d3-path": "^3.1.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-timer": { + "version": "1.0.10", + "resolved": "https://registry.npmmirror.com/d3-timer/-/d3-timer-1.0.10.tgz", + "integrity": "sha512-B1JDm0XDaQC+uvo4DT79H0XmBskgS3l6Ve+1SBCfxgmtIb1AVrPIoqd+nPSv+loMX8szQ0sVUhGngL7D5QPiXw==" + }, + "node_modules/d3-transition": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/d3-transition/-/d3-transition-3.0.1.tgz", + "integrity": "sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w==", + "dependencies": { + "d3-color": "1 - 3", + "d3-dispatch": "1 - 3", + "d3-ease": "1 - 3", + "d3-interpolate": "1 - 3", + "d3-timer": "1 - 3" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "d3-selection": "2 - 3" + } + }, + "node_modules/d3-voronoi": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/d3-voronoi/-/d3-voronoi-1.1.4.tgz", + "integrity": "sha512-dArJ32hchFsrQ8uMiTBLq256MpnZjeuBtdHpaDlYuQyjU0CVzCJl/BVW+SkszaAeH95D/8gxqAhgx0ouAWAfRg==" + }, + "node_modules/d3-zoom": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/d3-zoom/-/d3-zoom-3.0.0.tgz", + "integrity": "sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==", + "dependencies": { + "d3-dispatch": "1 - 3", + "d3-drag": "2 - 3", + "d3-interpolate": "1 - 3", + "d3-selection": "2 - 3", + "d3-transition": "2 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/dagre": { + "version": "0.8.5", + "resolved": "https://registry.npmmirror.com/dagre/-/dagre-0.8.5.tgz", + "integrity": "sha512-/aTqmnRta7x7MCCpExk7HQL2O4owCT2h8NT//9I1OQ9vt29Pa0BzSAkR5lwFUcQ7491yVi/3CXU9jQ5o0Mn2Sw==", + "dependencies": { + "graphlib": "^2.1.8", + "lodash": "^4.17.15" + } + }, + "node_modules/dagre-compound": { + "version": "0.0.11", + "resolved": "https://registry.npmmirror.com/dagre-compound/-/dagre-compound-0.0.11.tgz", + "integrity": "sha512-UrSgRP9LtOZCYb9e5doolZXpc7xayyszgyOs7uakTK4n4KsLegLVTRRtq01GpQd/iZjYw5fWMapx9ed+c80MAQ==", + "peer": true, + "engines": { + "node": ">=6.0.0" + }, + "peerDependencies": { + "dagre": "^0.8.5" + } + }, + "node_modules/damerau-levenshtein": { + "version": "1.0.8", + "resolved": "https://registry.npmmirror.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz", + "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==", + "dev": true + }, + "node_modules/data-view-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/data-view-buffer/-/data-view-buffer-1.0.1.tgz", + "integrity": "sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==", + "dependencies": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/data-view-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz", + "integrity": "sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==", + "dependencies": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/data-view-byte-offset": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz", + "integrity": "sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==", + "dependencies": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/dayjs": { + "version": "1.11.11", + "resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.11.tgz", + "integrity": "sha512-okzr3f11N6WuqYtZSvm+F776mB41wRZMhKP+hc34YdW+KmtYYK9iqvHSwo2k9FEH3fhGXvOPV6yz2IcSrfRUDg==" + }, + "node_modules/debug": { + "version": "4.3.5", + "resolved": "https://registry.npmmirror.com/debug/-/debug-4.3.5.tgz", + "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/decimal.js": { + "version": "10.4.3", + "resolved": "https://registry.npmmirror.com/decimal.js/-/decimal.js-10.4.3.tgz", + "integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==" + }, + "node_modules/decode-named-character-reference": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/decode-named-character-reference/-/decode-named-character-reference-1.0.2.tgz", + "integrity": "sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==", + "dependencies": { + "character-entities": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/decode-named-character-reference/node_modules/character-entities": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/character-entities/-/character-entities-2.0.2.tgz", + "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/deep-equal": { + "version": "2.2.3", + "resolved": "https://registry.npmmirror.com/deep-equal/-/deep-equal-2.2.3.tgz", + "integrity": "sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==", + "dev": true, + "dependencies": { + "array-buffer-byte-length": "^1.0.0", + "call-bind": "^1.0.5", + "es-get-iterator": "^1.1.3", + "get-intrinsic": "^1.2.2", + "is-arguments": "^1.1.1", + "is-array-buffer": "^3.0.2", + "is-date-object": "^1.0.5", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "isarray": "^2.0.5", + "object-is": "^1.1.5", + "object-keys": "^1.1.1", + "object.assign": "^4.1.4", + "regexp.prototype.flags": "^1.5.1", + "side-channel": "^1.0.4", + "which-boxed-primitive": "^1.0.2", + "which-collection": "^1.0.1", + "which-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmmirror.com/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "node_modules/define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/define-properties": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", + "dependencies": { + "define-data-property": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/defined": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/defined/-/defined-1.0.1.tgz", + "integrity": "sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/denque": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/denque/-/denque-2.1.0.tgz", + "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/detect-browser": { + "version": "5.3.0", + "resolved": "https://registry.npmmirror.com/detect-browser/-/detect-browser-5.3.0.tgz", + "integrity": "sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w==" + }, + "node_modules/didyoumean": { + "version": "1.2.2", + "resolved": "https://registry.npmmirror.com/didyoumean/-/didyoumean-1.2.2.tgz", + "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==" + }, + "node_modules/diff": { + "version": "5.2.0", + "resolved": "https://registry.npmmirror.com/diff/-/diff-5.2.0.tgz", + "integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, + "dependencies": { + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/discontinuous-range": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/discontinuous-range/-/discontinuous-range-1.0.0.tgz", + "integrity": "sha512-c68LpLbO+7kP/b1Hr1qs8/BJ09F5khZGTxqxZuhzxpmwJKOgRFHJWIb9/KmqnqHhLdO55aOxFH/EGBvUQbL/RQ==" + }, + "node_modules/dlv": { + "version": "1.1.3", + "resolved": "https://registry.npmmirror.com/dlv/-/dlv-1.1.3.tgz", + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==" + }, + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/dom-helpers": { + "version": "5.2.1", + "resolved": "https://registry.npmmirror.com/dom-helpers/-/dom-helpers-5.2.1.tgz", + "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==", + "dependencies": { + "@babel/runtime": "^7.8.7", + "csstype": "^3.0.2" + } + }, + "node_modules/dotignore": { + "version": "0.1.2", + "resolved": "https://registry.npmmirror.com/dotignore/-/dotignore-0.1.2.tgz", + "integrity": "sha512-UGGGWfSauusaVJC+8fgV+NVvBXkCTmVv7sk6nojDZZvuOUNGUy0Zk4UpHQD6EDjS0jpBwcACvH4eofvyzBcRDw==", + "dependencies": { + "minimatch": "^3.0.4" + }, + "bin": { + "ignored": "bin/ignored" + } + }, + "node_modules/dottie": { + "version": "2.0.6", + "resolved": "https://registry.npmmirror.com/dottie/-/dottie-2.0.6.tgz", + "integrity": "sha512-iGCHkfUc5kFekGiqhe8B/mdaurD+lakO9txNnTvKtA6PISrw86LgqHvRzWYPyoE2Ph5aMIrCw9/uko6XHTKCwA==" + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmmirror.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, + "node_modules/ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmmirror.com/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.4.808", + "resolved": "https://registry.npmmirror.com/electron-to-chromium/-/electron-to-chromium-1.4.808.tgz", + "integrity": "sha512-0ItWyhPYnww2VOuCGF4s1LTfbrdAV2ajy/TN+ZTuhR23AHI6rWHCrBXJ/uxoXOvRRqw8qjYVrG81HFI7x/2wdQ==" + }, + "node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "node_modules/emojis-list": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/emojis-list/-/emojis-list-3.0.0.tgz", + "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", + "engines": { + "node": ">= 4" + } + }, + "node_modules/enhanced-resolve": { + "version": "5.17.1", + "resolved": "https://registry.npmmirror.com/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz", + "integrity": "sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==", + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmmirror.com/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmmirror.com/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es-abstract": { + "version": "1.23.3", + "resolved": "https://registry.npmmirror.com/es-abstract/-/es-abstract-1.23.3.tgz", + "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==", + "dependencies": { + "array-buffer-byte-length": "^1.0.1", + "arraybuffer.prototype.slice": "^1.0.3", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "data-view-buffer": "^1.0.1", + "data-view-byte-length": "^1.0.1", + "data-view-byte-offset": "^1.0.0", + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "es-set-tostringtag": "^2.0.3", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.6", + "get-intrinsic": "^1.2.4", + "get-symbol-description": "^1.0.2", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.0.3", + "has-symbols": "^1.0.3", + "hasown": "^2.0.2", + "internal-slot": "^1.0.7", + "is-array-buffer": "^3.0.4", + "is-callable": "^1.2.7", + "is-data-view": "^1.0.1", + "is-negative-zero": "^2.0.3", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.3", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.13", + "is-weakref": "^1.0.2", + "object-inspect": "^1.13.1", + "object-keys": "^1.1.1", + "object.assign": "^4.1.5", + "regexp.prototype.flags": "^1.5.2", + "safe-array-concat": "^1.1.2", + "safe-regex-test": "^1.0.3", + "string.prototype.trim": "^1.2.9", + "string.prototype.trimend": "^1.0.8", + "string.prototype.trimstart": "^1.0.8", + "typed-array-buffer": "^1.0.2", + "typed-array-byte-length": "^1.0.1", + "typed-array-byte-offset": "^1.0.2", + "typed-array-length": "^1.0.6", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.15" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "dependencies": { + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmmirror.com/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-get-iterator": { + "version": "1.1.3", + "resolved": "https://registry.npmmirror.com/es-get-iterator/-/es-get-iterator-1.1.3.tgz", + "integrity": "sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.3", + "has-symbols": "^1.0.3", + "is-arguments": "^1.1.1", + "is-map": "^2.0.2", + "is-set": "^2.0.2", + "is-string": "^1.0.7", + "isarray": "^2.0.5", + "stop-iteration-iterator": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-iterator-helpers": { + "version": "1.0.19", + "resolved": "https://registry.npmmirror.com/es-iterator-helpers/-/es-iterator-helpers-1.0.19.tgz", + "integrity": "sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.3", + "es-errors": "^1.3.0", + "es-set-tostringtag": "^2.0.3", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "globalthis": "^1.0.3", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.0.3", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.7", + "iterator.prototype": "^1.1.2", + "safe-array-concat": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-module-lexer": { + "version": "1.5.4", + "resolved": "https://registry.npmmirror.com/es-module-lexer/-/es-module-lexer-1.5.4.tgz", + "integrity": "sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw==", + "peer": true + }, + "node_modules/es-object-atoms": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/es-object-atoms/-/es-object-atoms-1.0.0.tgz", + "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz", + "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==", + "dependencies": { + "get-intrinsic": "^1.2.4", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-shim-unscopables": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz", + "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==", + "dev": true, + "dependencies": { + "hasown": "^2.0.0" + } + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/escalade": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "8.43.0", + "resolved": "https://registry.npmmirror.com/eslint/-/eslint-8.43.0.tgz", + "integrity": "sha512-aaCpf2JqqKesMFGgmRPessmVKjcGXqdlAYLLC3THM8t5nBRZRQ+st5WM/hoJXkdioEXLLbXgclUpM0TXo5HX5Q==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.4.0", + "@eslint/eslintrc": "^2.0.3", + "@eslint/js": "8.43.0", + "@humanwhocodes/config-array": "^0.11.10", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.0", + "eslint-visitor-keys": "^3.4.1", + "espree": "^9.5.2", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "strip-ansi": "^6.0.1", + "strip-json-comments": "^3.1.0", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-config-next": { + "version": "13.4.7", + "resolved": "https://registry.npmmirror.com/eslint-config-next/-/eslint-config-next-13.4.7.tgz", + "integrity": "sha512-+IRAyD0+J1MZaTi9RQMPUfr6Q+GCZ1wOkK6XM52Vokh7VI4R6YFGOFzdkEFHl4ZyIX4FKa5vcwUP2WscSFNjNQ==", + "dev": true, + "dependencies": { + "@next/eslint-plugin-next": "13.4.7", + "@rushstack/eslint-patch": "^1.1.3", + "@typescript-eslint/parser": "^5.42.0", + "eslint-import-resolver-node": "^0.3.6", + "eslint-import-resolver-typescript": "^3.5.2", + "eslint-plugin-import": "^2.26.0", + "eslint-plugin-jsx-a11y": "^6.5.1", + "eslint-plugin-react": "^7.31.7", + "eslint-plugin-react-hooks": "^4.5.0" + }, + "peerDependencies": { + "eslint": "^7.23.0 || ^8.0.0", + "typescript": ">=3.3.1" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/eslint-import-resolver-node": { + "version": "0.3.9", + "resolved": "https://registry.npmmirror.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", + "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==", + "dev": true, + "dependencies": { + "debug": "^3.2.7", + "is-core-module": "^2.13.0", + "resolve": "^1.22.4" + } + }, + "node_modules/eslint-import-resolver-node/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmmirror.com/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-import-resolver-typescript": { + "version": "3.6.1", + "resolved": "https://registry.npmmirror.com/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.6.1.tgz", + "integrity": "sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==", + "dev": true, + "dependencies": { + "debug": "^4.3.4", + "enhanced-resolve": "^5.12.0", + "eslint-module-utils": "^2.7.4", + "fast-glob": "^3.3.1", + "get-tsconfig": "^4.5.0", + "is-core-module": "^2.11.0", + "is-glob": "^4.0.3" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts/projects/eslint-import-resolver-ts" + }, + "peerDependencies": { + "eslint": "*", + "eslint-plugin-import": "*" + } + }, + "node_modules/eslint-module-utils": { + "version": "2.8.1", + "resolved": "https://registry.npmmirror.com/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz", + "integrity": "sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==", + "dev": true, + "dependencies": { + "debug": "^3.2.7" + }, + "engines": { + "node": ">=4" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + } + } + }, + "node_modules/eslint-module-utils/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmmirror.com/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-import": { + "version": "2.29.1", + "resolved": "https://registry.npmmirror.com/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz", + "integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==", + "dev": true, + "dependencies": { + "array-includes": "^3.1.7", + "array.prototype.findlastindex": "^1.2.3", + "array.prototype.flat": "^1.3.2", + "array.prototype.flatmap": "^1.3.2", + "debug": "^3.2.7", + "doctrine": "^2.1.0", + "eslint-import-resolver-node": "^0.3.9", + "eslint-module-utils": "^2.8.0", + "hasown": "^2.0.0", + "is-core-module": "^2.13.1", + "is-glob": "^4.0.3", + "minimatch": "^3.1.2", + "object.fromentries": "^2.0.7", + "object.groupby": "^1.0.1", + "object.values": "^1.1.7", + "semver": "^6.3.1", + "tsconfig-paths": "^3.15.0" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" + } + }, + "node_modules/eslint-plugin-import/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmmirror.com/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-import/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmmirror.com/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/eslint-plugin-jsx-a11y": { + "version": "6.9.0", + "resolved": "https://registry.npmmirror.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.9.0.tgz", + "integrity": "sha512-nOFOCaJG2pYqORjK19lqPqxMO/JpvdCZdPtNdxY3kvom3jTvkAbOvQvD8wuD0G8BYR0IGAGYDlzqWJOh/ybn2g==", + "dev": true, + "dependencies": { + "aria-query": "~5.1.3", + "array-includes": "^3.1.8", + "array.prototype.flatmap": "^1.3.2", + "ast-types-flow": "^0.0.8", + "axe-core": "^4.9.1", + "axobject-query": "~3.1.1", + "damerau-levenshtein": "^1.0.8", + "emoji-regex": "^9.2.2", + "es-iterator-helpers": "^1.0.19", + "hasown": "^2.0.2", + "jsx-ast-utils": "^3.3.5", + "language-tags": "^1.0.9", + "minimatch": "^3.1.2", + "object.fromentries": "^2.0.8", + "safe-regex-test": "^1.0.3", + "string.prototype.includes": "^2.0.0" + }, + "engines": { + "node": ">=4.0" + }, + "peerDependencies": { + "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" + } + }, + "node_modules/eslint-plugin-react": { + "version": "7.34.3", + "resolved": "https://registry.npmmirror.com/eslint-plugin-react/-/eslint-plugin-react-7.34.3.tgz", + "integrity": "sha512-aoW4MV891jkUulwDApQbPYTVZmeuSyFrudpbTAQuj5Fv8VL+o6df2xIGpw8B0hPjAaih1/Fb0om9grCdyFYemA==", + "dev": true, + "dependencies": { + "array-includes": "^3.1.8", + "array.prototype.findlast": "^1.2.5", + "array.prototype.flatmap": "^1.3.2", + "array.prototype.toreversed": "^1.1.2", + "array.prototype.tosorted": "^1.1.4", + "doctrine": "^2.1.0", + "es-iterator-helpers": "^1.0.19", + "estraverse": "^5.3.0", + "jsx-ast-utils": "^2.4.1 || ^3.0.0", + "minimatch": "^3.1.2", + "object.entries": "^1.1.8", + "object.fromentries": "^2.0.8", + "object.hasown": "^1.1.4", + "object.values": "^1.2.0", + "prop-types": "^15.8.1", + "resolve": "^2.0.0-next.5", + "semver": "^6.3.1", + "string.prototype.matchall": "^4.0.11" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" + } + }, + "node_modules/eslint-plugin-react-hooks": { + "version": "4.6.2", + "resolved": "https://registry.npmmirror.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz", + "integrity": "sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" + } + }, + "node_modules/eslint-plugin-react/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-react/node_modules/resolve": { + "version": "2.0.0-next.5", + "resolved": "https://registry.npmmirror.com/resolve/-/resolve-2.0.0-next.5.tgz", + "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==", + "dev": true, + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/eslint-plugin-react/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmmirror.com/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmmirror.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/eslint/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/eslint/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/eslint/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/eslint/node_modules/globals": { + "version": "13.24.0", + "resolved": "https://registry.npmmirror.com/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/espree": { + "version": "9.6.1", + "resolved": "https://registry.npmmirror.com/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "dev": true, + "dependencies": { + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmmirror.com/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "dev": true, + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eventemitter3": { + "version": "5.0.1", + "resolved": "https://registry.npmmirror.com/eventemitter3/-/eventemitter3-5.0.1.tgz", + "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==" + }, + "node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmmirror.com/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "peer": true, + "engines": { + "node": ">=0.8.x" + } + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmmirror.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "node_modules/fast-glob": { + "version": "3.3.2", + "resolved": "https://registry.npmmirror.com/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmmirror.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, + "node_modules/fastq": { + "version": "1.17.1", + "resolved": "https://registry.npmmirror.com/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/fault": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/fault/-/fault-1.0.4.tgz", + "integrity": "sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==", + "dependencies": { + "format": "^0.2.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/fecha": { + "version": "4.2.3", + "resolved": "https://registry.npmmirror.com/fecha/-/fecha-4.2.3.tgz", + "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==" + }, + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmmirror.com/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-root": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/find-root/-/find-root-1.1.0.tgz", + "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==" + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/flat-cache/-/flat-cache-3.2.0.tgz", + "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "dev": true, + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.3", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/flatted": { + "version": "3.3.1", + "resolved": "https://registry.npmmirror.com/flatted/-/flatted-3.3.1.tgz", + "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", + "dev": true + }, + "node_modules/flru": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/flru/-/flru-1.0.2.tgz", + "integrity": "sha512-kWyh8ADvHBFz6ua5xYOPnUroZTT/bwWfrCeL0Wj1dzG4/YOmOcfJ99W8dOVyyynJN35rZ9aCOtHChqQovV7yog==", + "engines": { + "node": ">=6" + } + }, + "node_modules/fmin": { + "version": "0.0.2", + "resolved": "https://registry.npmmirror.com/fmin/-/fmin-0.0.2.tgz", + "integrity": "sha512-sSi6DzInhl9d8yqssDfGZejChO8d2bAGIpysPsvYsxFe898z89XhCZg6CPNV3nhUhFefeC/AXZK2bAJxlBjN6A==", + "dependencies": { + "contour_plot": "^0.0.1", + "json2module": "^0.0.3", + "rollup": "^0.25.8", + "tape": "^4.5.1", + "uglify-js": "^2.6.2" + } + }, + "node_modules/follow-redirects": { + "version": "1.15.6", + "resolved": "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmmirror.com/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dependencies": { + "is-callable": "^1.1.3" + } + }, + "node_modules/foreground-child": { + "version": "3.2.1", + "resolved": "https://registry.npmmirror.com/foreground-child/-/foreground-child-3.2.1.tgz", + "integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/format": { + "version": "0.2.2", + "resolved": "https://registry.npmmirror.com/format/-/format-0.2.2.tgz", + "integrity": "sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==", + "engines": { + "node": ">=0.4.x" + } + }, + "node_modules/fraction.js": { + "version": "4.3.7", + "resolved": "https://registry.npmmirror.com/fraction.js/-/fraction.js-4.3.7.tgz", + "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==", + "dev": true, + "engines": { + "node": "*" + }, + "funding": { + "type": "patreon", + "url": "https://github.com/sponsors/rawify" + } + }, + "node_modules/framer-motion": { + "version": "10.18.0", + "resolved": "https://registry.npmmirror.com/framer-motion/-/framer-motion-10.18.0.tgz", + "integrity": "sha512-oGlDh1Q1XqYPksuTD/usb0I70hq95OUzmL9+6Zd+Hs4XV0oaISBa/UUMSjYiq6m8EUF32132mOJ8xVZS+I0S6w==", + "dependencies": { + "tslib": "^2.4.0" + }, + "optionalDependencies": { + "@emotion/is-prop-valid": "^0.8.2" + }, + "peerDependencies": { + "react": "^18.0.0", + "react-dom": "^18.0.0" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "react-dom": { + "optional": true + } + } + }, + "node_modules/framer-motion/node_modules/@emotion/is-prop-valid": { + "version": "0.8.8", + "resolved": "https://registry.npmmirror.com/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz", + "integrity": "sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==", + "optional": true, + "dependencies": { + "@emotion/memoize": "0.7.4" + } + }, + "node_modules/framer-motion/node_modules/@emotion/memoize": { + "version": "0.7.4", + "resolved": "https://registry.npmmirror.com/@emotion/memoize/-/memoize-0.7.4.tgz", + "integrity": "sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==", + "optional": true + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/function.prototype.name": { + "version": "1.1.6", + "resolved": "https://registry.npmmirror.com/function.prototype.name/-/function.prototype.name-1.1.6.tgz", + "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "functions-have-names": "^1.2.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmmirror.com/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gaxios": { + "version": "6.7.1", + "resolved": "https://registry.npmmirror.com/gaxios/-/gaxios-6.7.1.tgz", + "integrity": "sha512-LDODD4TMYx7XXdpwxAVRAIAuB0bzv0s+ywFonY46k126qzQHT9ygyoa9tncmOiQmmDrik65UYsEkv3lbfqQ3yQ==", + "dependencies": { + "extend": "^3.0.2", + "https-proxy-agent": "^7.0.1", + "is-stream": "^2.0.0", + "node-fetch": "^2.6.9", + "uuid": "^9.0.1" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/gcp-metadata": { + "version": "6.1.0", + "resolved": "https://registry.npmmirror.com/gcp-metadata/-/gcp-metadata-6.1.0.tgz", + "integrity": "sha512-Jh/AIwwgaxan+7ZUUmRLCjtchyDiqh4KjBJ5tW3plBZb5iL/BPcso8A5DlzeD9qlw0duCamnNdpFjxwaT0KyKg==", + "dependencies": { + "gaxios": "^6.0.0", + "json-bigint": "^1.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/generate-function": { + "version": "2.3.1", + "resolved": "https://registry.npmmirror.com/generate-function/-/generate-function-2.3.1.tgz", + "integrity": "sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==", + "dependencies": { + "is-property": "^1.0.2" + } + }, + "node_modules/get-intrinsic": { + "version": "1.2.4", + "resolved": "https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-stdin": { + "version": "8.0.0", + "resolved": "https://registry.npmmirror.com/get-stdin/-/get-stdin-8.0.0.tgz", + "integrity": "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-symbol-description": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/get-symbol-description/-/get-symbol-description-1.0.2.tgz", + "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", + "dependencies": { + "call-bind": "^1.0.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-tsconfig": { + "version": "4.7.5", + "resolved": "https://registry.npmmirror.com/get-tsconfig/-/get-tsconfig-4.7.5.tgz", + "integrity": "sha512-ZCuZCnlqNzjb4QprAzXKdpp/gh6KTxSJuw3IBsPnV/7fV4NxC9ckB+vPTt8w7fJA0TaSD7c55BR47JD6MEDyDw==", + "dev": true, + "dependencies": { + "resolve-pkg-maps": "^1.0.0" + }, + "funding": { + "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" + } + }, + "node_modules/gl-matrix": { + "version": "3.4.3", + "resolved": "https://registry.npmmirror.com/gl-matrix/-/gl-matrix-3.4.3.tgz", + "integrity": "sha512-wcCp8vu8FT22BnvKVPjXa/ICBWRq/zjFfdofZy1WSpQZpphblv12/bOQLBC1rMM7SGOFS9ltVmKOHil5+Ml7gA==" + }, + "node_modules/gl-vec2": { + "version": "1.3.0", + "resolved": "https://registry.npmmirror.com/gl-vec2/-/gl-vec2-1.3.0.tgz", + "integrity": "sha512-YiqaAuNsheWmUV0Sa8k94kBB0D6RWjwZztyO+trEYS8KzJ6OQB/4686gdrf59wld4hHFIvaxynO3nRxpk1Ij/A==", + "peer": true + }, + "node_modules/glob": { + "version": "7.1.7", + "resolved": "https://registry.npmmirror.com/glob/-/glob-7.1.7.tgz", + "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/glob-to-regexp": { + "version": "0.4.1", + "resolved": "https://registry.npmmirror.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==" + }, + "node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmmirror.com/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "engines": { + "node": ">=4" + } + }, + "node_modules/globalthis": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/globalthis/-/globalthis-1.0.4.tgz", + "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", + "dependencies": { + "define-properties": "^1.2.1", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/globby": { + "version": "14.0.1", + "resolved": "https://registry.npmmirror.com/globby/-/globby-14.0.1.tgz", + "integrity": "sha512-jOMLD2Z7MAhyG8aJpNOpmziMOP4rPLcc95oQPKXBazW82z+CEgPFBQvEpRUa1KeIMUJo4Wsm+q6uzO/Q/4BksQ==", + "dev": true, + "dependencies": { + "@sindresorhus/merge-streams": "^2.1.0", + "fast-glob": "^3.3.2", + "ignore": "^5.2.4", + "path-type": "^5.0.0", + "slash": "^5.1.0", + "unicorn-magic": "^0.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globby/node_modules/path-type": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/path-type/-/path-type-5.0.0.tgz", + "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/google-auth-library": { + "version": "9.14.0", + "resolved": "https://registry.npmmirror.com/google-auth-library/-/google-auth-library-9.14.0.tgz", + "integrity": "sha512-Y/eq+RWVs55Io/anIsm24sDS8X79Tq948zVLGaa7+KlJYYqaGwp1YI37w48nzrNi12RgnzMrQD4NzdmCowT90g==", + "dependencies": { + "base64-js": "^1.3.0", + "ecdsa-sig-formatter": "^1.0.11", + "gaxios": "^6.1.1", + "gcp-metadata": "^6.1.0", + "gtoken": "^7.0.0", + "jws": "^4.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/google-one-tap": { + "version": "1.0.6", + "resolved": "https://registry.npmmirror.com/google-one-tap/-/google-one-tap-1.0.6.tgz", + "integrity": "sha512-sgusL6AmYCsTW/WVpJK0zxsjelPqJt/+3yNj4yHZTJOrHEDO251SR9xbTNB4wYK7nCM86/RaQdsD+8yUNQSQeQ==" + }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" + }, + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmmirror.com/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true + }, + "node_modules/graphlib": { + "version": "2.1.8", + "resolved": "https://registry.npmmirror.com/graphlib/-/graphlib-2.1.8.tgz", + "integrity": "sha512-jcLLfkpoVGmH7/InMC/1hIvOPSUh38oJtGhvrOFGzioE1DZ+0YW16RgmOJhHiuWTvGiJQ9Z1Ik43JvkRPRvE+A==", + "dependencies": { + "lodash": "^4.17.15" + } + }, + "node_modules/gtoken": { + "version": "7.1.0", + "resolved": "https://registry.npmmirror.com/gtoken/-/gtoken-7.1.0.tgz", + "integrity": "sha512-pCcEwRi+TKpMlxAQObHDQ56KawURgyAf6jtIY046fJ5tIv3zDe/LEIubckAO8fj6JnAxLdmWkUfNyulQ2iKdEw==", + "dependencies": { + "gaxios": "^6.0.0", + "jws": "^4.0.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/has": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/has/-/has-1.0.4.tgz", + "integrity": "sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-ansi/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "engines": { + "node": ">=4" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/has-proto/-/has-proto-1.0.3.tgz", + "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/hast-util-from-parse5": { + "version": "7.1.2", + "resolved": "https://registry.npmmirror.com/hast-util-from-parse5/-/hast-util-from-parse5-7.1.2.tgz", + "integrity": "sha512-Nz7FfPBuljzsN3tCQ4kCBKqdNhQE2l0Tn+X1ubgKBPRoiDIu1mL08Cfw4k7q71+Duyaw7DXDN+VTAp4Vh3oCOw==", + "dependencies": { + "@types/hast": "^2.0.0", + "@types/unist": "^2.0.0", + "hastscript": "^7.0.0", + "property-information": "^6.0.0", + "vfile": "^5.0.0", + "vfile-location": "^4.0.0", + "web-namespaces": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-from-parse5/node_modules/hast-util-parse-selector": { + "version": "3.1.1", + "resolved": "https://registry.npmmirror.com/hast-util-parse-selector/-/hast-util-parse-selector-3.1.1.tgz", + "integrity": "sha512-jdlwBjEexy1oGz0aJ2f4GKMaVKkA9jwjr4MjAAI22E5fM/TXVZHuS5OpONtdeIkRKqAaryQ2E9xNQxijoThSZA==", + "dependencies": { + "@types/hast": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-from-parse5/node_modules/hastscript": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/hastscript/-/hastscript-7.2.0.tgz", + "integrity": "sha512-TtYPq24IldU8iKoJQqvZOuhi5CyCQRAbvDOX0x1eW6rsHSxa/1i2CCiptNTotGHJ3VoHRGmqiv6/D3q113ikkw==", + "dependencies": { + "@types/hast": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-parse-selector": "^3.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-parse-selector": { + "version": "2.2.5", + "resolved": "https://registry.npmmirror.com/hast-util-parse-selector/-/hast-util-parse-selector-2.2.5.tgz", + "integrity": "sha512-7j6mrk/qqkSehsM92wQjdIgWM2/BW61u/53G6xmC8i1OmEdKLHbk419QKQUjz6LglWsfqoiHmyMRkP1BGjecNQ==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-raw": { + "version": "7.2.3", + "resolved": "https://registry.npmmirror.com/hast-util-raw/-/hast-util-raw-7.2.3.tgz", + "integrity": "sha512-RujVQfVsOrxzPOPSzZFiwofMArbQke6DJjnFfceiEbFh7S05CbPt0cYN+A5YeD3pso0JQk6O1aHBnx9+Pm2uqg==", + "dependencies": { + "@types/hast": "^2.0.0", + "@types/parse5": "^6.0.0", + "hast-util-from-parse5": "^7.0.0", + "hast-util-to-parse5": "^7.0.0", + "html-void-elements": "^2.0.0", + "parse5": "^6.0.0", + "unist-util-position": "^4.0.0", + "unist-util-visit": "^4.0.0", + "vfile": "^5.0.0", + "web-namespaces": "^2.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-to-parse5": { + "version": "7.1.0", + "resolved": "https://registry.npmmirror.com/hast-util-to-parse5/-/hast-util-to-parse5-7.1.0.tgz", + "integrity": "sha512-YNRgAJkH2Jky5ySkIqFXTQiaqcAtJyVE+D5lkN6CdtOqrnkLfGYYrEcKuHOJZlp+MwjSwuD3fZuawI+sic/RBw==", + "dependencies": { + "@types/hast": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0", + "web-namespaces": "^2.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-whitespace": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/hast-util-whitespace/-/hast-util-whitespace-2.0.1.tgz", + "integrity": "sha512-nAxA0v8+vXSBDt3AnRUNjyRIQ0rD+ntpbAp4LnPkumc5M9yUbSMa4XDU9Q6etY4f1Wp4bNgvc1yjiZtsTTrSng==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hastscript": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/hastscript/-/hastscript-6.0.0.tgz", + "integrity": "sha512-nDM6bvd7lIqDUiYEiu5Sl/+6ReP0BMk/2f4U/Rooccxkj0P5nm+acM5PrGJ/t5I8qPGiqZSE6hVAwZEdZIvP4w==", + "dependencies": { + "@types/hast": "^2.0.0", + "comma-separated-tokens": "^1.0.0", + "hast-util-parse-selector": "^2.0.0", + "property-information": "^5.0.0", + "space-separated-tokens": "^1.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hastscript/node_modules/comma-separated-tokens": { + "version": "1.0.8", + "resolved": "https://registry.npmmirror.com/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz", + "integrity": "sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/hastscript/node_modules/property-information": { + "version": "5.6.0", + "resolved": "https://registry.npmmirror.com/property-information/-/property-information-5.6.0.tgz", + "integrity": "sha512-YUHSPk+A30YPv+0Qf8i9Mbfe/C0hdPXk1s1jPVToV8pk8BQtpw10ct89Eo7OWkutrwqvT0eicAxlOg3dOAu8JA==", + "dependencies": { + "xtend": "^4.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/hastscript/node_modules/space-separated-tokens": { + "version": "1.1.5", + "resolved": "https://registry.npmmirror.com/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz", + "integrity": "sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/heap-js": { + "version": "2.5.0", + "resolved": "https://registry.npmmirror.com/heap-js/-/heap-js-2.5.0.tgz", + "integrity": "sha512-kUGoI3p7u6B41z/dp33G6OaL7J4DRqRYwVmeIlwLClx7yaaAy7hoDExnuejTKtuDwfcatGmddHDEOjf6EyIxtQ==", + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/highlight.js": { + "version": "10.7.3", + "resolved": "https://registry.npmmirror.com/highlight.js/-/highlight.js-10.7.3.tgz", + "integrity": "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==", + "engines": { + "node": "*" + } + }, + "node_modules/hoist-non-react-statics": { + "version": "3.3.2", + "resolved": "https://registry.npmmirror.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", + "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", + "dependencies": { + "react-is": "^16.7.0" + } + }, + "node_modules/hoist-non-react-statics/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmmirror.com/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, + "node_modules/html-parse-stringify": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/html-parse-stringify/-/html-parse-stringify-3.0.1.tgz", + "integrity": "sha512-KknJ50kTInJ7qIScF3jeaFRpMpE8/lfiTdzf/twXyPBLAGrLRTmkz3AdTnKeh40X8k9L2fdYwEp/42WGXIRGcg==", + "dependencies": { + "void-elements": "3.1.0" + } + }, + "node_modules/html-void-elements": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/html-void-elements/-/html-void-elements-2.0.1.tgz", + "integrity": "sha512-0quDb7s97CfemeJAnW9wC0hw78MtW7NU3hqtCD75g2vFlDLt36llsYD7uB7SUzojLMP24N5IatXf7ylGXiGG9A==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/https-proxy-agent": { + "version": "7.0.5", + "resolved": "https://registry.npmmirror.com/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", + "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", + "dependencies": { + "agent-base": "^7.0.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/hull.js": { + "version": "1.0.6", + "resolved": "https://registry.npmmirror.com/hull.js/-/hull.js-1.0.6.tgz", + "integrity": "sha512-TC7e9sHYOaCVms0sn2hN7buxnaGfcl9h5EPVoVX9DTPoMpqQiS9bf3tmGDgiNaMVHBD91RAvWjCxrJ5Jx8BI5A==", + "deprecated": "This package is not maintained anymore on npmjs.com, please use GitHub URL to fetch the latest version. See the package homepage for instructions." + }, + "node_modules/i18next": { + "version": "23.11.5", + "resolved": "https://registry.npmmirror.com/i18next/-/i18next-23.11.5.tgz", + "integrity": "sha512-41pvpVbW9rhZPk5xjCX2TPJi2861LEig/YRhUkY+1FQ2IQPS0bKUDYnEqY8XPPbB48h1uIwLnP9iiEfuSl20CA==", + "funding": [ + { + "type": "individual", + "url": "https://locize.com" + }, + { + "type": "individual", + "url": "https://locize.com/i18next.html" + }, + { + "type": "individual", + "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project" + } + ], + "dependencies": { + "@babel/runtime": "^7.23.2" + } + }, + "node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/ignore": { + "version": "5.3.1", + "resolved": "https://registry.npmmirror.com/ignore/-/ignore-5.3.1.tgz", + "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmmirror.com/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmmirror.com/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/inflection": { + "version": "1.13.4", + "resolved": "https://registry.npmmirror.com/inflection/-/inflection-1.13.4.tgz", + "integrity": "sha512-6I/HUDeYFfuNCVS3td055BaXBwKYuzw7K3ExVMStBowKo9oOAMJIXIHvdyR3iboTCp1b+1i5DSkIZTcwIktuDw==", + "engines": [ + "node >= 0.4.0" + ] + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmmirror.com/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmmirror.com/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/inline-style-parser": { + "version": "0.1.1", + "resolved": "https://registry.npmmirror.com/inline-style-parser/-/inline-style-parser-0.1.1.tgz", + "integrity": "sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==" + }, + "node_modules/insert-css": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/insert-css/-/insert-css-2.0.0.tgz", + "integrity": "sha512-xGq5ISgcUP5cvGkS2MMFLtPDBtrtQPSFfC6gA6U8wHKqfjTIMZLZNxOItQnoSjdOzlXOLU/yD32RKC4SvjNbtA==", + "peer": true + }, + "node_modules/internal-slot": { + "version": "1.0.7", + "resolved": "https://registry.npmmirror.com/internal-slot/-/internal-slot-1.0.7.tgz", + "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", + "dependencies": { + "es-errors": "^1.3.0", + "hasown": "^2.0.0", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/internmap": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/internmap/-/internmap-2.0.3.tgz", + "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==", + "engines": { + "node": ">=12" + } + }, + "node_modules/intersection-observer": { + "version": "0.12.2", + "resolved": "https://registry.npmmirror.com/intersection-observer/-/intersection-observer-0.12.2.tgz", + "integrity": "sha512-7m1vEcPCxXYI8HqnL8CKI6siDyD+eIWSwgB3DZA+ZTogxk9I4CDnj4wilt9x/+/QbHI4YG5YZNmC6458/e9Ktg==" + }, + "node_modules/iron-session": { + "version": "6.3.1", + "resolved": "https://registry.npmmirror.com/iron-session/-/iron-session-6.3.1.tgz", + "integrity": "sha512-3UJ7y2vk/WomAtEySmPgM6qtYF1cZ3tXuWX5GsVX4PJXAcs5y/sV9HuSfpjKS6HkTL/OhZcTDWJNLZ7w+Erx3A==", + "dependencies": { + "@peculiar/webcrypto": "^1.4.0", + "@types/cookie": "^0.5.1", + "@types/express": "^4.17.13", + "@types/koa": "^2.13.5", + "@types/node": "^17.0.41", + "cookie": "^0.5.0", + "iron-webcrypto": "^0.2.5" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "express": ">=4", + "koa": ">=2", + "next": ">=10" + }, + "peerDependenciesMeta": { + "express": { + "optional": true + }, + "koa": { + "optional": true + }, + "next": { + "optional": true + } + } + }, + "node_modules/iron-session/node_modules/@types/cookie": { + "version": "0.5.4", + "resolved": "https://registry.npmmirror.com/@types/cookie/-/cookie-0.5.4.tgz", + "integrity": "sha512-7z/eR6O859gyWIAjuvBWFzNURmf2oPBmJlfVWkwehU5nzIyjwBsTh7WMmEEV4JFnHuQ3ex4oyTvfKzcyJVDBNA==" + }, + "node_modules/iron-session/node_modules/@types/node": { + "version": "17.0.45", + "resolved": "https://registry.npmmirror.com/@types/node/-/node-17.0.45.tgz", + "integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==" + }, + "node_modules/iron-session/node_modules/cookie": { + "version": "0.5.0", + "resolved": "https://registry.npmmirror.com/cookie/-/cookie-0.5.0.tgz", + "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/iron-webcrypto": { + "version": "0.2.8", + "resolved": "https://registry.npmmirror.com/iron-webcrypto/-/iron-webcrypto-0.2.8.tgz", + "integrity": "sha512-YPdCvjFMOBjXaYuDj5tiHst5CEk6Xw84Jo8Y2+jzhMceclAnb3+vNPP/CTtb5fO2ZEuXEaO4N+w62Vfko757KA==", + "dependencies": { + "buffer": "^6" + }, + "funding": { + "url": "https://github.com/sponsors/brc-dd" + } + }, + "node_modules/is-alphabetical": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/is-alphabetical/-/is-alphabetical-1.0.4.tgz", + "integrity": "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-alphanumerical": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz", + "integrity": "sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==", + "dependencies": { + "is-alphabetical": "^1.0.0", + "is-decimal": "^1.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-any-array": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/is-any-array/-/is-any-array-2.0.1.tgz", + "integrity": "sha512-UtilS7hLRu++wb/WBAw9bNuP1Eg04Ivn1vERJck8zJthEvXCBEBpGR/33u/xLKWEQf95803oalHrVDptcAvFdQ==" + }, + "node_modules/is-arguments": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-array-buffer": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/is-array-buffer/-/is-array-buffer-3.0.4.tgz", + "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmmirror.com/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" + }, + "node_modules/is-async-function": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/is-async-function/-/is-async-function-2.0.0.tgz", + "integrity": "sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dependencies": { + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-buffer": { + "version": "2.0.5", + "resolved": "https://registry.npmmirror.com/is-buffer/-/is-buffer-2.0.5.tgz", + "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "engines": { + "node": ">=4" + } + }, + "node_modules/is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmmirror.com/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-core-module": { + "version": "2.14.0", + "resolved": "https://registry.npmmirror.com/is-core-module/-/is-core-module-2.14.0.tgz", + "integrity": "sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==", + "dependencies": { + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-data-view": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/is-data-view/-/is-data-view-1.0.1.tgz", + "integrity": "sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==", + "dependencies": { + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-decimal": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/is-decimal/-/is-decimal-1.0.4.tgz", + "integrity": "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-finalizationregistry": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/is-finalizationregistry/-/is-finalizationregistry-1.0.2.tgz", + "integrity": "sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-generator-function": { + "version": "1.0.10", + "resolved": "https://registry.npmmirror.com/is-generator-function/-/is-generator-function-1.0.10.tgz", + "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-hexadecimal": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz", + "integrity": "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-map": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/is-map/-/is-map-2.0.3.tgz", + "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-negative-zero": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/is-negative-zero/-/is-negative-zero-2.0.3.tgz", + "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmmirror.com/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmmirror.com/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmmirror.com/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-property": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/is-property/-/is-property-1.0.2.tgz", + "integrity": "sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g==" + }, + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-set": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/is-set/-/is-set-2.0.3.tgz", + "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", + "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==", + "dependencies": { + "call-bind": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmmirror.com/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typed-array": { + "version": "1.1.13", + "resolved": "https://registry.npmmirror.com/is-typed-array/-/is-typed-array-1.1.13.tgz", + "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", + "dependencies": { + "which-typed-array": "^1.1.14" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakmap": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/is-weakmap/-/is-weakmap-2.0.2.tgz", + "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakset": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/is-weakset/-/is-weakset-2.0.3.tgz", + "integrity": "sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmmirror.com/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" + }, + "node_modules/iterator.prototype": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/iterator.prototype/-/iterator.prototype-1.1.2.tgz", + "integrity": "sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==", + "dev": true, + "dependencies": { + "define-properties": "^1.2.1", + "get-intrinsic": "^1.2.1", + "has-symbols": "^1.0.3", + "reflect.getprototypeof": "^1.0.4", + "set-function-name": "^2.0.1" + } + }, + "node_modules/jackspeak": { + "version": "3.4.0", + "resolved": "https://registry.npmmirror.com/jackspeak/-/jackspeak-3.4.0.tgz", + "integrity": "sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw==", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/jest-worker": { + "version": "27.5.1", + "resolved": "https://registry.npmmirror.com/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "peer": true, + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/jest-worker/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "peer": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "peer": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/jiti": { + "version": "1.21.6", + "resolved": "https://registry.npmmirror.com/jiti/-/jiti-1.21.6.tgz", + "integrity": "sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==", + "bin": { + "jiti": "bin/jiti.js" + } + }, + "node_modules/jose": { + "version": "4.15.7", + "resolved": "https://registry.npmmirror.com/jose/-/jose-4.15.7.tgz", + "integrity": "sha512-L7ioP+JAuZe8v+T5+zVI9Tx8LtU8BL7NxkyDFVMv+Qr3JW0jSoYDedLtodaXwfqMpeCyx4WXFNyu9tJt4WvC1A==", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, + "node_modules/js-cookie": { + "version": "2.2.1", + "resolved": "https://registry.npmmirror.com/js-cookie/-/js-cookie-2.2.1.tgz", + "integrity": "sha512-HvdH2LzI/EAZcUwA8+0nKNtWHqS+ZmijLA30RwZA0bo7ToCckjK5MkGhjED9KoRcXO6BaGI3I9UIzSA1FKFPOQ==" + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmmirror.com/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/json-bigint": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/json-bigint/-/json-bigint-1.0.0.tgz", + "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", + "dependencies": { + "bignumber.js": "^9.0.0" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmmirror.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true + }, + "node_modules/json2module": { + "version": "0.0.3", + "resolved": "https://registry.npmmirror.com/json2module/-/json2module-0.0.3.tgz", + "integrity": "sha512-qYGxqrRrt4GbB8IEOy1jJGypkNsjWoIMlZt4bAsmUScCA507Hbc2p1JOhBzqn45u3PWafUgH2OnzyNU7udO/GA==", + "dependencies": { + "rw": "^1.3.2" + }, + "bin": { + "json2module": "bin/json2module" + } + }, + "node_modules/json2mq": { + "version": "0.2.0", + "resolved": "https://registry.npmmirror.com/json2mq/-/json2mq-0.2.0.tgz", + "integrity": "sha512-SzoRg7ux5DWTII9J2qkrZrqV1gt+rTaoufMxEzXbS26Uid0NwaJd123HcoB80TgubEppxxIGdNxCx50fEoEWQA==", + "dependencies": { + "string-convert": "^0.2.0" + } + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmmirror.com/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsx-ast-utils": { + "version": "3.3.5", + "resolved": "https://registry.npmmirror.com/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz", + "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==", + "dev": true, + "dependencies": { + "array-includes": "^3.1.6", + "array.prototype.flat": "^1.3.1", + "object.assign": "^4.1.4", + "object.values": "^1.1.6" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/jwa": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/jwa/-/jwa-2.0.0.tgz", + "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", + "dependencies": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jws": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/jws/-/jws-4.0.0.tgz", + "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", + "dependencies": { + "jwa": "^2.0.0", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmmirror.com/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/kind-of/node_modules/is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmmirror.com/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" + }, + "node_modules/kleur": { + "version": "4.1.5", + "resolved": "https://registry.npmmirror.com/kleur/-/kleur-4.1.5.tgz", + "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/language-subtag-registry": { + "version": "0.3.23", + "resolved": "https://registry.npmmirror.com/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz", + "integrity": "sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==", + "dev": true + }, + "node_modules/language-tags": { + "version": "1.0.9", + "resolved": "https://registry.npmmirror.com/language-tags/-/language-tags-1.0.9.tgz", + "integrity": "sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==", + "dev": true, + "dependencies": { + "language-subtag-registry": "^0.3.20" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/lazy-cache": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/lazy-cache/-/lazy-cache-1.0.4.tgz", + "integrity": "sha512-RE2g0b5VGZsOCFOCgP7omTRYFqydmZkBwl5oNnQ1lDYC57uyO9KqNnNVxT7COSHTxrRCWVcAVOcbjk+tvh/rgQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmmirror.com/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lilconfig": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/lilconfig/-/lilconfig-2.1.0.tgz", + "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", + "engines": { + "node": ">=10" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmmirror.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" + }, + "node_modules/linkify-it": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/linkify-it/-/linkify-it-5.0.0.tgz", + "integrity": "sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==", + "dependencies": { + "uc.micro": "^2.0.0" + } + }, + "node_modules/loader-runner": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/loader-runner/-/loader-runner-4.3.0.tgz", + "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", + "peer": true, + "engines": { + "node": ">=6.11.5" + } + }, + "node_modules/loader-utils": { + "version": "2.0.4", + "resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.4.tgz", + "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmmirror.com/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmmirror.com/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "node_modules/long": { + "version": "5.2.3", + "resolved": "https://registry.npmmirror.com/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" + }, + "node_modules/longest": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/longest/-/longest-1.0.1.tgz", + "integrity": "sha512-k+yt5n3l48JU4k8ftnKG6V7u32wyH2NfKzeMto9F/QRE0amxy/LayxwlvjjkZEIzqR+19IrtFO8p5kB9QaYUFg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/longest-streak": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/longest-streak/-/longest-streak-3.1.0.tgz", + "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmmirror.com/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/lowlight": { + "version": "1.20.0", + "resolved": "https://registry.npmmirror.com/lowlight/-/lowlight-1.20.0.tgz", + "integrity": "sha512-8Ktj+prEb1RoCPkEOrPMYUN/nCggB7qAWe3a7OpMjWQkh3l2RD5wKRQ+o8Q8YuI9RG/xs95waaI/E6ym/7NsTw==", + "dependencies": { + "fault": "^1.0.0", + "highlight.js": "~10.7.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/lru-cache": { + "version": "8.0.5", + "resolved": "https://registry.npmmirror.com/lru-cache/-/lru-cache-8.0.5.tgz", + "integrity": "sha512-MhWWlVnuab1RG5/zMRRcVGXZLCXrZTgfwMikgzCegsPnG62yDQo5JnqKkrK4jO5iKqDAZGItAqN5CtKBCBWRUA==", + "engines": { + "node": ">=16.14" + } + }, + "node_modules/markdown-it": { + "version": "14.1.0", + "resolved": "https://registry.npmmirror.com/markdown-it/-/markdown-it-14.1.0.tgz", + "integrity": "sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==", + "dependencies": { + "argparse": "^2.0.1", + "entities": "^4.4.0", + "linkify-it": "^5.0.0", + "mdurl": "^2.0.0", + "punycode.js": "^2.3.1", + "uc.micro": "^2.1.0" + }, + "bin": { + "markdown-it": "bin/markdown-it.mjs" + } + }, + "node_modules/markdown-table": { + "version": "3.0.3", + "resolved": "https://registry.npmmirror.com/markdown-table/-/markdown-table-3.0.3.tgz", + "integrity": "sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/mdast-util-definitions": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/mdast-util-definitions/-/mdast-util-definitions-5.1.2.tgz", + "integrity": "sha512-8SVPMuHqlPME/z3gqVwWY4zVXn8lqKv/pAhC57FuJ40ImXyBpmO5ukh98zB2v7Blql2FiHjHv9LVztSIqjY+MA==", + "dependencies": { + "@types/mdast": "^3.0.0", + "@types/unist": "^2.0.0", + "unist-util-visit": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-find-and-replace": { + "version": "2.2.2", + "resolved": "https://registry.npmmirror.com/mdast-util-find-and-replace/-/mdast-util-find-and-replace-2.2.2.tgz", + "integrity": "sha512-MTtdFRz/eMDHXzeK6W3dO7mXUlF82Gom4y0oOgvHhh/HXZAGvIQDUvQ0SuUx+j2tv44b8xTHOm8K/9OoRFnXKw==", + "dependencies": { + "@types/mdast": "^3.0.0", + "escape-string-regexp": "^5.0.0", + "unist-util-is": "^5.0.0", + "unist-util-visit-parents": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mdast-util-from-markdown": { + "version": "1.3.1", + "resolved": "https://registry.npmmirror.com/mdast-util-from-markdown/-/mdast-util-from-markdown-1.3.1.tgz", + "integrity": "sha512-4xTO/M8c82qBcnQc1tgpNtubGUW/Y1tBQ1B0i5CtSoelOLKFYlElIr3bvgREYYO5iRqbMY1YuqZng0GVOI8Qww==", + "dependencies": { + "@types/mdast": "^3.0.0", + "@types/unist": "^2.0.0", + "decode-named-character-reference": "^1.0.0", + "mdast-util-to-string": "^3.1.0", + "micromark": "^3.0.0", + "micromark-util-decode-numeric-character-reference": "^1.0.0", + "micromark-util-decode-string": "^1.0.0", + "micromark-util-normalize-identifier": "^1.0.0", + "micromark-util-symbol": "^1.0.0", + "micromark-util-types": "^1.0.0", + "unist-util-stringify-position": "^3.0.0", + "uvu": "^0.5.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/mdast-util-gfm/-/mdast-util-gfm-2.0.2.tgz", + "integrity": "sha512-qvZ608nBppZ4icQlhQQIAdc6S3Ffj9RGmzwUKUWuEICFnd1LVkN3EktF7ZHAgfcEdvZB5owU9tQgt99e2TlLjg==", + "dependencies": { + "mdast-util-from-markdown": "^1.0.0", + "mdast-util-gfm-autolink-literal": "^1.0.0", + "mdast-util-gfm-footnote": "^1.0.0", + "mdast-util-gfm-strikethrough": "^1.0.0", + "mdast-util-gfm-table": "^1.0.0", + "mdast-util-gfm-task-list-item": "^1.0.0", + "mdast-util-to-markdown": "^1.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-autolink-literal": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-1.0.3.tgz", + "integrity": "sha512-My8KJ57FYEy2W2LyNom4n3E7hKTuQk/0SES0u16tjA9Z3oFkF4RrC/hPAPgjlSpezsOvI8ObcXcElo92wn5IGA==", + "dependencies": { + "@types/mdast": "^3.0.0", + "ccount": "^2.0.0", + "mdast-util-find-and-replace": "^2.0.0", + "micromark-util-character": "^1.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-footnote": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-1.0.2.tgz", + "integrity": "sha512-56D19KOGbE00uKVj3sgIykpwKL179QsVFwx/DCW0u/0+URsryacI4MAdNJl0dh+u2PSsD9FtxPFbHCzJ78qJFQ==", + "dependencies": { + "@types/mdast": "^3.0.0", + "mdast-util-to-markdown": "^1.3.0", + "micromark-util-normalize-identifier": "^1.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-strikethrough": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-1.0.3.tgz", + "integrity": "sha512-DAPhYzTYrRcXdMjUtUjKvW9z/FNAMTdU0ORyMcbmkwYNbKocDpdk+PX1L1dQgOID/+vVs1uBQ7ElrBQfZ0cuiQ==", + "dependencies": { + "@types/mdast": "^3.0.0", + "mdast-util-to-markdown": "^1.3.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-table": { + "version": "1.0.7", + "resolved": "https://registry.npmmirror.com/mdast-util-gfm-table/-/mdast-util-gfm-table-1.0.7.tgz", + "integrity": "sha512-jjcpmNnQvrmN5Vx7y7lEc2iIOEytYv7rTvu+MeyAsSHTASGCCRA79Igg2uKssgOs1i1po8s3plW0sTu1wkkLGg==", + "dependencies": { + "@types/mdast": "^3.0.0", + "markdown-table": "^3.0.0", + "mdast-util-from-markdown": "^1.0.0", + "mdast-util-to-markdown": "^1.3.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-task-list-item": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-1.0.2.tgz", + "integrity": "sha512-PFTA1gzfp1B1UaiJVyhJZA1rm0+Tzn690frc/L8vNX1Jop4STZgOE6bxUhnzdVSB+vm2GU1tIsuQcA9bxTQpMQ==", + "dependencies": { + "@types/mdast": "^3.0.0", + "mdast-util-to-markdown": "^1.3.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-phrasing": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/mdast-util-phrasing/-/mdast-util-phrasing-3.0.1.tgz", + "integrity": "sha512-WmI1gTXUBJo4/ZmSk79Wcb2HcjPJBzM1nlI/OUWA8yk2X9ik3ffNbBGsU+09BFmXaL1IBb9fiuvq6/KMiNycSg==", + "dependencies": { + "@types/mdast": "^3.0.0", + "unist-util-is": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-hast": { + "version": "12.3.0", + "resolved": "https://registry.npmmirror.com/mdast-util-to-hast/-/mdast-util-to-hast-12.3.0.tgz", + "integrity": "sha512-pits93r8PhnIoU4Vy9bjW39M2jJ6/tdHyja9rrot9uujkN7UTU9SDnE6WNJz/IGyQk3XHX6yNNtrBH6cQzm8Hw==", + "dependencies": { + "@types/hast": "^2.0.0", + "@types/mdast": "^3.0.0", + "mdast-util-definitions": "^5.0.0", + "micromark-util-sanitize-uri": "^1.1.0", + "trim-lines": "^3.0.0", + "unist-util-generated": "^2.0.0", + "unist-util-position": "^4.0.0", + "unist-util-visit": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-markdown": { + "version": "1.5.0", + "resolved": "https://registry.npmmirror.com/mdast-util-to-markdown/-/mdast-util-to-markdown-1.5.0.tgz", + "integrity": "sha512-bbv7TPv/WC49thZPg3jXuqzuvI45IL2EVAr/KxF0BSdHsU0ceFHOmwQn6evxAh1GaoK/6GQ1wp4R4oW2+LFL/A==", + "dependencies": { + "@types/mdast": "^3.0.0", + "@types/unist": "^2.0.0", + "longest-streak": "^3.0.0", + "mdast-util-phrasing": "^3.0.0", + "mdast-util-to-string": "^3.0.0", + "micromark-util-decode-string": "^1.0.0", + "unist-util-visit": "^4.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-string": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/mdast-util-to-string/-/mdast-util-to-string-3.2.0.tgz", + "integrity": "sha512-V4Zn/ncyN1QNSqSBxTrMOLpjr+IKdHl2v3KVLoWmDPscP4r9GcCi71gjgvUV1SFSKh92AjAG4peFuBl2/YgCJg==", + "dependencies": { + "@types/mdast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdurl": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/mdurl/-/mdurl-2.0.0.tgz", + "integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==" + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmmirror.com/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "peer": true + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmmirror.com/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromark": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/micromark/-/micromark-3.2.0.tgz", + "integrity": "sha512-uD66tJj54JLYq0De10AhWycZWGQNUvDI55xPgk2sQM5kn1JYlhbCMTtEeT27+vAhW2FBQxLlOmS3pmA7/2z4aA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "@types/debug": "^4.0.0", + "debug": "^4.0.0", + "decode-named-character-reference": "^1.0.0", + "micromark-core-commonmark": "^1.0.1", + "micromark-factory-space": "^1.0.0", + "micromark-util-character": "^1.0.0", + "micromark-util-chunked": "^1.0.0", + "micromark-util-combine-extensions": "^1.0.0", + "micromark-util-decode-numeric-character-reference": "^1.0.0", + "micromark-util-encode": "^1.0.0", + "micromark-util-normalize-identifier": "^1.0.0", + "micromark-util-resolve-all": "^1.0.0", + "micromark-util-sanitize-uri": "^1.0.0", + "micromark-util-subtokenize": "^1.0.0", + "micromark-util-symbol": "^1.0.0", + "micromark-util-types": "^1.0.1", + "uvu": "^0.5.0" + } + }, + "node_modules/micromark-core-commonmark": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/micromark-core-commonmark/-/micromark-core-commonmark-1.1.0.tgz", + "integrity": "sha512-BgHO1aRbolh2hcrzL2d1La37V0Aoz73ymF8rAcKnohLy93titmv62E0gP8Hrx9PKcKrqCZ1BbLGbP3bEhoXYlw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "micromark-factory-destination": "^1.0.0", + "micromark-factory-label": "^1.0.0", + "micromark-factory-space": "^1.0.0", + "micromark-factory-title": "^1.0.0", + "micromark-factory-whitespace": "^1.0.0", + "micromark-util-character": "^1.0.0", + "micromark-util-chunked": "^1.0.0", + "micromark-util-classify-character": "^1.0.0", + "micromark-util-html-tag-name": "^1.0.0", + "micromark-util-normalize-identifier": "^1.0.0", + "micromark-util-resolve-all": "^1.0.0", + "micromark-util-subtokenize": "^1.0.0", + "micromark-util-symbol": "^1.0.0", + "micromark-util-types": "^1.0.1", + "uvu": "^0.5.0" + } + }, + "node_modules/micromark-extension-gfm": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm/-/micromark-extension-gfm-2.0.3.tgz", + "integrity": "sha512-vb9OoHqrhCmbRidQv/2+Bc6pkP0FrtlhurxZofvOEy5o8RtuuvTq+RQ1Vw5ZDNrVraQZu3HixESqbG+0iKk/MQ==", + "dependencies": { + "micromark-extension-gfm-autolink-literal": "^1.0.0", + "micromark-extension-gfm-footnote": "^1.0.0", + "micromark-extension-gfm-strikethrough": "^1.0.0", + "micromark-extension-gfm-table": "^1.0.0", + "micromark-extension-gfm-tagfilter": "^1.0.0", + "micromark-extension-gfm-task-list-item": "^1.0.0", + "micromark-util-combine-extensions": "^1.0.0", + "micromark-util-types": "^1.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-autolink-literal": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-1.0.5.tgz", + "integrity": "sha512-z3wJSLrDf8kRDOh2qBtoTRD53vJ+CWIyo7uyZuxf/JAbNJjiHsOpG1y5wxk8drtv3ETAHutCu6N3thkOOgueWg==", + "dependencies": { + "micromark-util-character": "^1.0.0", + "micromark-util-sanitize-uri": "^1.0.0", + "micromark-util-symbol": "^1.0.0", + "micromark-util-types": "^1.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-footnote": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-1.1.2.tgz", + "integrity": "sha512-Yxn7z7SxgyGWRNa4wzf8AhYYWNrwl5q1Z8ii+CSTTIqVkmGZF1CElX2JI8g5yGoM3GAman9/PVCUFUSJ0kB/8Q==", + "dependencies": { + "micromark-core-commonmark": "^1.0.0", + "micromark-factory-space": "^1.0.0", + "micromark-util-character": "^1.0.0", + "micromark-util-normalize-identifier": "^1.0.0", + "micromark-util-sanitize-uri": "^1.0.0", + "micromark-util-symbol": "^1.0.0", + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-strikethrough": { + "version": "1.0.7", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-1.0.7.tgz", + "integrity": "sha512-sX0FawVE1o3abGk3vRjOH50L5TTLr3b5XMqnP9YDRb34M0v5OoZhG+OHFz1OffZ9dlwgpTBKaT4XW/AsUVnSDw==", + "dependencies": { + "micromark-util-chunked": "^1.0.0", + "micromark-util-classify-character": "^1.0.0", + "micromark-util-resolve-all": "^1.0.0", + "micromark-util-symbol": "^1.0.0", + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-table": { + "version": "1.0.7", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm-table/-/micromark-extension-gfm-table-1.0.7.tgz", + "integrity": "sha512-3ZORTHtcSnMQEKtAOsBQ9/oHp9096pI/UvdPtN7ehKvrmZZ2+bbWhi0ln+I9drmwXMt5boocn6OlwQzNXeVeqw==", + "dependencies": { + "micromark-factory-space": "^1.0.0", + "micromark-util-character": "^1.0.0", + "micromark-util-symbol": "^1.0.0", + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-tagfilter": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-1.0.2.tgz", + "integrity": "sha512-5XWB9GbAUSHTn8VPU8/1DBXMuKYT5uOgEjJb8gN3mW0PNW5OPHpSdojoqf+iq1xo7vWzw/P8bAHY0n6ijpXF7g==", + "dependencies": { + "micromark-util-types": "^1.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-task-list-item": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-1.0.5.tgz", + "integrity": "sha512-RMFXl2uQ0pNQy6Lun2YBYT9g9INXtWJULgbt01D/x8/6yJ2qpKyzdZD3pi6UIkzF++Da49xAelVKUeUMqd5eIQ==", + "dependencies": { + "micromark-factory-space": "^1.0.0", + "micromark-util-character": "^1.0.0", + "micromark-util-symbol": "^1.0.0", + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-factory-destination": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/micromark-factory-destination/-/micromark-factory-destination-1.1.0.tgz", + "integrity": "sha512-XaNDROBgx9SgSChd69pjiGKbV+nfHGDPVYFs5dOoDd7ZnMAE+Cuu91BCpsY8RT2NP9vo/B8pds2VQNCLiu0zhg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-character": "^1.0.0", + "micromark-util-symbol": "^1.0.0", + "micromark-util-types": "^1.0.0" + } + }, + "node_modules/micromark-factory-label": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/micromark-factory-label/-/micromark-factory-label-1.1.0.tgz", + "integrity": "sha512-OLtyez4vZo/1NjxGhcpDSbHQ+m0IIGnT8BoPamh+7jVlzLJBH98zzuCoUeMxvM6WsNeh8wx8cKvqLiPHEACn0w==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-character": "^1.0.0", + "micromark-util-symbol": "^1.0.0", + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" + } + }, + "node_modules/micromark-factory-space": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/micromark-factory-space/-/micromark-factory-space-1.1.0.tgz", + "integrity": "sha512-cRzEj7c0OL4Mw2v6nwzttyOZe8XY/Z8G0rzmWQZTBi/jjwyw/U4uqKtUORXQrR5bAZZnbTI/feRV/R7hc4jQYQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-character": "^1.0.0", + "micromark-util-types": "^1.0.0" + } + }, + "node_modules/micromark-factory-title": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/micromark-factory-title/-/micromark-factory-title-1.1.0.tgz", + "integrity": "sha512-J7n9R3vMmgjDOCY8NPw55jiyaQnH5kBdV2/UXCtZIpnHH3P6nHUKaH7XXEYuWwx/xUJcawa8plLBEjMPU24HzQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-factory-space": "^1.0.0", + "micromark-util-character": "^1.0.0", + "micromark-util-symbol": "^1.0.0", + "micromark-util-types": "^1.0.0" + } + }, + "node_modules/micromark-factory-whitespace": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/micromark-factory-whitespace/-/micromark-factory-whitespace-1.1.0.tgz", + "integrity": "sha512-v2WlmiymVSp5oMg+1Q0N1Lxmt6pMhIHD457whWM7/GUlEks1hI9xj5w3zbc4uuMKXGisksZk8DzP2UyGbGqNsQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-factory-space": "^1.0.0", + "micromark-util-character": "^1.0.0", + "micromark-util-symbol": "^1.0.0", + "micromark-util-types": "^1.0.0" + } + }, + "node_modules/micromark-util-character": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/micromark-util-character/-/micromark-util-character-1.2.0.tgz", + "integrity": "sha512-lXraTwcX3yH/vMDaFWCQJP1uIszLVebzUa3ZHdrgxr7KEU/9mL4mVgCpGbyhvNLNlauROiNUq7WN5u7ndbY6xg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-symbol": "^1.0.0", + "micromark-util-types": "^1.0.0" + } + }, + "node_modules/micromark-util-chunked": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/micromark-util-chunked/-/micromark-util-chunked-1.1.0.tgz", + "integrity": "sha512-Ye01HXpkZPNcV6FiyoW2fGZDUw4Yc7vT0E9Sad83+bEDiCJ1uXu0S3mr8WLpsz3HaG3x2q0HM6CTuPdcZcluFQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-symbol": "^1.0.0" + } + }, + "node_modules/micromark-util-classify-character": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/micromark-util-classify-character/-/micromark-util-classify-character-1.1.0.tgz", + "integrity": "sha512-SL0wLxtKSnklKSUplok1WQFoGhUdWYKggKUiqhX+Swala+BtptGCu5iPRc+xvzJ4PXE/hwM3FNXsfEVgoZsWbw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-character": "^1.0.0", + "micromark-util-symbol": "^1.0.0", + "micromark-util-types": "^1.0.0" + } + }, + "node_modules/micromark-util-combine-extensions": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/micromark-util-combine-extensions/-/micromark-util-combine-extensions-1.1.0.tgz", + "integrity": "sha512-Q20sp4mfNf9yEqDL50WwuWZHUrCO4fEyeDCnMGmG5Pr0Cz15Uo7KBs6jq+dq0EgX4DPwwrh9m0X+zPV1ypFvUA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-chunked": "^1.0.0", + "micromark-util-types": "^1.0.0" + } + }, + "node_modules/micromark-util-decode-numeric-character-reference": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-1.1.0.tgz", + "integrity": "sha512-m9V0ExGv0jB1OT21mrWcuf4QhP46pH1KkfWy9ZEezqHKAxkj4mPCy3nIH1rkbdMlChLHX531eOrymlwyZIf2iw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-symbol": "^1.0.0" + } + }, + "node_modules/micromark-util-decode-string": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/micromark-util-decode-string/-/micromark-util-decode-string-1.1.0.tgz", + "integrity": "sha512-YphLGCK8gM1tG1bd54azwyrQRjCFcmgj2S2GoJDNnh4vYtnL38JS8M4gpxzOPNyHdNEpheyWXCTnnTDY3N+NVQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "micromark-util-character": "^1.0.0", + "micromark-util-decode-numeric-character-reference": "^1.0.0", + "micromark-util-symbol": "^1.0.0" + } + }, + "node_modules/micromark-util-encode": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/micromark-util-encode/-/micromark-util-encode-1.1.0.tgz", + "integrity": "sha512-EuEzTWSTAj9PA5GOAs992GzNh2dGQO52UvAbtSOMvXTxv3Criqb6IOzJUBCmEqrrXSblJIJBbFFv6zPxpreiJw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ] + }, + "node_modules/micromark-util-html-tag-name": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/micromark-util-html-tag-name/-/micromark-util-html-tag-name-1.2.0.tgz", + "integrity": "sha512-VTQzcuQgFUD7yYztuQFKXT49KghjtETQ+Wv/zUjGSGBioZnkA4P1XXZPT1FHeJA6RwRXSF47yvJ1tsJdoxwO+Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ] + }, + "node_modules/micromark-util-normalize-identifier": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-1.1.0.tgz", + "integrity": "sha512-N+w5vhqrBihhjdpM8+5Xsxy71QWqGn7HYNUvch71iV2PM7+E3uWGox1Qp90loa1ephtCxG2ftRV/Conitc6P2Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-symbol": "^1.0.0" + } + }, + "node_modules/micromark-util-resolve-all": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/micromark-util-resolve-all/-/micromark-util-resolve-all-1.1.0.tgz", + "integrity": "sha512-b/G6BTMSg+bX+xVCshPTPyAu2tmA0E4X98NSR7eIbeC6ycCqCeE7wjfDIgzEbkzdEVJXRtOG4FbEm/uGbCRouA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-types": "^1.0.0" + } + }, + "node_modules/micromark-util-sanitize-uri": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-1.2.0.tgz", + "integrity": "sha512-QO4GXv0XZfWey4pYFndLUKEAktKkG5kZTdUNaTAkzbuJxn2tNBOr+QtxR2XpWaMhbImT2dPzyLrPXLlPhph34A==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-character": "^1.0.0", + "micromark-util-encode": "^1.0.0", + "micromark-util-symbol": "^1.0.0" + } + }, + "node_modules/micromark-util-subtokenize": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/micromark-util-subtokenize/-/micromark-util-subtokenize-1.1.0.tgz", + "integrity": "sha512-kUQHyzRoxvZO2PuLzMt2P/dwVsTiivCK8icYTeR+3WgbuPqfHgPPy7nFKbeqRivBvn/3N3GBiNC+JRTMSxEC7A==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-chunked": "^1.0.0", + "micromark-util-symbol": "^1.0.0", + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" + } + }, + "node_modules/micromark-util-symbol": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/micromark-util-symbol/-/micromark-util-symbol-1.1.0.tgz", + "integrity": "sha512-uEjpEYY6KMs1g7QfJ2eX1SQEV+ZT4rUD3UcF6l57acZvLNK7PBZL+ty82Z1qhK1/yXIY4bdx04FKMgR0g4IAag==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ] + }, + "node_modules/micromark-util-types": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/micromark-util-types/-/micromark-util-types-1.1.0.tgz", + "integrity": "sha512-ukRBgie8TIAcacscVHSiddHjO4k/q3pnedmzMQ4iwDcK0FtFCohKOlFbaOL/mPgfnPsL3C1ZyxJa4sbWrBl3jg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ] + }, + "node_modules/micromatch": { + "version": "4.0.7", + "resolved": "https://registry.npmmirror.com/micromatch/-/micromatch-4.0.7.tgz", + "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmmirror.com/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmmirror.com/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmmirror.com/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/ml-array-max": { + "version": "1.2.4", + "resolved": "https://registry.npmmirror.com/ml-array-max/-/ml-array-max-1.2.4.tgz", + "integrity": "sha512-BlEeg80jI0tW6WaPyGxf5Sa4sqvcyY6lbSn5Vcv44lp1I2GR6AWojfUvLnGTNsIXrZ8uqWmo8VcG1WpkI2ONMQ==", + "dependencies": { + "is-any-array": "^2.0.0" + } + }, + "node_modules/ml-array-min": { + "version": "1.2.3", + "resolved": "https://registry.npmmirror.com/ml-array-min/-/ml-array-min-1.2.3.tgz", + "integrity": "sha512-VcZ5f3VZ1iihtrGvgfh/q0XlMobG6GQ8FsNyQXD3T+IlstDv85g8kfV0xUG1QPRO/t21aukaJowDzMTc7j5V6Q==", + "dependencies": { + "is-any-array": "^2.0.0" + } + }, + "node_modules/ml-array-rescale": { + "version": "1.3.7", + "resolved": "https://registry.npmmirror.com/ml-array-rescale/-/ml-array-rescale-1.3.7.tgz", + "integrity": "sha512-48NGChTouvEo9KBctDfHC3udWnQKNKEWN0ziELvY3KG25GR5cA8K8wNVzracsqSW1QEkAXjTNx+ycgAv06/1mQ==", + "dependencies": { + "is-any-array": "^2.0.0", + "ml-array-max": "^1.2.4", + "ml-array-min": "^1.2.3" + } + }, + "node_modules/ml-matrix": { + "version": "6.11.1", + "resolved": "https://registry.npmmirror.com/ml-matrix/-/ml-matrix-6.11.1.tgz", + "integrity": "sha512-Fvp1xF1O07tt6Ux9NcnEQTei5UlqbRpvvaFZGs7l3Ij+nOaEDcmbSVtxwNa8V4IfdyFI1NLNUteroMJ1S6vcEg==", + "dependencies": { + "is-any-array": "^2.0.1", + "ml-array-rescale": "^1.3.7" + } + }, + "node_modules/mock-property": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/mock-property/-/mock-property-1.0.3.tgz", + "integrity": "sha512-2emPTb1reeLLYwHxyVx993iYyCHEiRRO+y8NFXFPL5kl5q14sgTK76cXyEKkeKCHeRw35SfdkUJ10Q1KfHuiIQ==", + "dependencies": { + "define-data-property": "^1.1.1", + "functions-have-names": "^1.2.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "hasown": "^2.0.0", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/moment": { + "version": "2.30.1", + "resolved": "https://registry.npmmirror.com/moment/-/moment-2.30.1.tgz", + "integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==", + "engines": { + "node": "*" + } + }, + "node_modules/moment-timezone": { + "version": "0.5.45", + "resolved": "https://registry.npmmirror.com/moment-timezone/-/moment-timezone-0.5.45.tgz", + "integrity": "sha512-HIWmqA86KcmCAhnMAN0wuDOARV/525R2+lOLotuGFzn4HO+FH+/645z2wx0Dt3iDv6/p61SIvKnDstISainhLQ==", + "dependencies": { + "moment": "^2.29.4" + }, + "engines": { + "node": "*" + } + }, + "node_modules/monaco-editor": { + "version": "0.34.1", + "resolved": "https://registry.npmmirror.com/monaco-editor/-/monaco-editor-0.34.1.tgz", + "integrity": "sha512-FKc80TyiMaruhJKKPz5SpJPIjL+dflGvz4CpuThaPMc94AyN7SeC9HQ8hrvaxX7EyHdJcUY5i4D0gNyJj1vSZQ==" + }, + "node_modules/monaco-editor-webpack-plugin": { + "version": "7.1.0", + "resolved": "https://registry.npmmirror.com/monaco-editor-webpack-plugin/-/monaco-editor-webpack-plugin-7.1.0.tgz", + "integrity": "sha512-ZjnGINHN963JQkFqjjcBtn1XBtUATDZBMgNQhDQwd78w2ukRhFXAPNgWuacaQiDZsUr4h1rWv5Mv6eriKuOSzA==", + "dev": true, + "dependencies": { + "loader-utils": "^2.0.2" + }, + "peerDependencies": { + "monaco-editor": ">= 0.31.0", + "webpack": "^4.5.0 || 5.x" + } + }, + "node_modules/moo": { + "version": "0.5.2", + "resolved": "https://registry.npmmirror.com/moo/-/moo-0.5.2.tgz", + "integrity": "sha512-iSAJLHYKnX41mKcJKjqvnAN9sf0LMDTXDEvFv+ffuRR9a1MIuXLjMNL6EsnDHSkKLTWNqQQ5uo61P4EbU4NU+Q==" + }, + "node_modules/mri": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/mri/-/mri-1.2.0.tgz", + "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==", + "engines": { + "node": ">=4" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmmirror.com/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/multer": { + "version": "1.4.5-lts.1", + "resolved": "https://registry.npmmirror.com/multer/-/multer-1.4.5-lts.1.tgz", + "integrity": "sha512-ywPWvcDMeH+z9gQq5qYHCCy+ethsk4goepZ45GLD63fOu0YcNecQxi64nDs3qluZB+murG3/D4dJ7+dGctcCQQ==", + "dependencies": { + "append-field": "^1.0.0", + "busboy": "^1.0.0", + "concat-stream": "^1.5.2", + "mkdirp": "^0.5.4", + "object-assign": "^4.1.1", + "type-is": "^1.6.4", + "xtend": "^4.0.0" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/mysql2": { + "version": "3.11.0", + "resolved": "https://registry.npmmirror.com/mysql2/-/mysql2-3.11.0.tgz", + "integrity": "sha512-J9phbsXGvTOcRVPR95YedzVSxJecpW5A5+cQ57rhHIFXteTP10HCs+VBjS7DHIKfEaI1zQ5tlVrquCd64A6YvA==", + "dependencies": { + "aws-ssl-profiles": "^1.1.1", + "denque": "^2.1.0", + "generate-function": "^2.3.1", + "iconv-lite": "^0.6.3", + "long": "^5.2.1", + "lru-cache": "^8.0.0", + "named-placeholders": "^1.1.3", + "seq-queue": "^0.0.5", + "sqlstring": "^2.3.2" + }, + "engines": { + "node": ">= 8.0" + } + }, + "node_modules/mz": { + "version": "2.7.0", + "resolved": "https://registry.npmmirror.com/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "node_modules/named-placeholders": { + "version": "1.1.3", + "resolved": "https://registry.npmmirror.com/named-placeholders/-/named-placeholders-1.1.3.tgz", + "integrity": "sha512-eLoBxg6wE/rZkJPhU/xRX1WTpkFEwDJEN96oxFrTsqBdbT5ec295Q+CoHrL9IT0DipqKhmGcaZmwOt8OON5x1w==", + "dependencies": { + "lru-cache": "^7.14.1" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/named-placeholders/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmmirror.com/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "engines": { + "node": ">=12" + } + }, + "node_modules/nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmmirror.com/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true + }, + "node_modules/nearley": { + "version": "2.20.1", + "resolved": "https://registry.npmmirror.com/nearley/-/nearley-2.20.1.tgz", + "integrity": "sha512-+Mc8UaAebFzgV+KpI5n7DasuuQCHA89dmwm7JXw3TV43ukfNQ9DnBH3Mdb2g/I4Fdxc26pwimBWvjIw0UAILSQ==", + "dependencies": { + "commander": "^2.19.0", + "moo": "^0.5.0", + "railroad-diagrams": "^1.0.0", + "randexp": "0.4.6" + }, + "bin": { + "nearley-railroad": "bin/nearley-railroad.js", + "nearley-test": "bin/nearley-test.js", + "nearley-unparse": "bin/nearley-unparse.js", + "nearleyc": "bin/nearleyc.js" + }, + "funding": { + "type": "individual", + "url": "https://nearley.js.org/#give-to-nearley" + } + }, + "node_modules/nearley/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmmirror.com/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmmirror.com/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "peer": true + }, + "node_modules/next": { + "version": "13.4.7", + "resolved": "https://registry.npmmirror.com/next/-/next-13.4.7.tgz", + "integrity": "sha512-M8z3k9VmG51SRT6v5uDKdJXcAqLzP3C+vaKfLIAM0Mhx1um1G7MDnO63+m52qPdZfrTFzMZNzfsgvm3ghuVHIQ==", + "dependencies": { + "@next/env": "13.4.7", + "@swc/helpers": "0.5.1", + "busboy": "1.6.0", + "caniuse-lite": "^1.0.30001406", + "postcss": "8.4.14", + "styled-jsx": "5.1.1", + "watchpack": "2.4.0", + "zod": "3.21.4" + }, + "bin": { + "next": "dist/bin/next" + }, + "engines": { + "node": ">=16.8.0" + }, + "optionalDependencies": { + "@next/swc-darwin-arm64": "13.4.7", + "@next/swc-darwin-x64": "13.4.7", + "@next/swc-linux-arm64-gnu": "13.4.7", + "@next/swc-linux-arm64-musl": "13.4.7", + "@next/swc-linux-x64-gnu": "13.4.7", + "@next/swc-linux-x64-musl": "13.4.7", + "@next/swc-win32-arm64-msvc": "13.4.7", + "@next/swc-win32-ia32-msvc": "13.4.7", + "@next/swc-win32-x64-msvc": "13.4.7" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.1.0", + "fibers": ">= 3.1.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "sass": "^1.3.0" + }, + "peerDependenciesMeta": { + "@opentelemetry/api": { + "optional": true + }, + "fibers": { + "optional": true + }, + "sass": { + "optional": true + } + } + }, + "node_modules/next-auth": { + "version": "4.24.7", + "resolved": "https://registry.npmmirror.com/next-auth/-/next-auth-4.24.7.tgz", + "integrity": "sha512-iChjE8ov/1K/z98gdKbn2Jw+2vLgJtVV39X+rCP5SGnVQuco7QOr19FRNGMIrD8d3LYhHWV9j9sKLzq1aDWWQQ==", + "dependencies": { + "@babel/runtime": "^7.20.13", + "@panva/hkdf": "^1.0.2", + "cookie": "^0.5.0", + "jose": "^4.15.5", + "oauth": "^0.9.15", + "openid-client": "^5.4.0", + "preact": "^10.6.3", + "preact-render-to-string": "^5.1.19", + "uuid": "^8.3.2" + }, + "peerDependencies": { + "next": "^12.2.5 || ^13 || ^14", + "nodemailer": "^6.6.5", + "react": "^17.0.2 || ^18", + "react-dom": "^17.0.2 || ^18" + }, + "peerDependenciesMeta": { + "nodemailer": { + "optional": true + } + } + }, + "node_modules/next-auth/node_modules/cookie": { + "version": "0.5.0", + "resolved": "https://registry.npmmirror.com/cookie/-/cookie-0.5.0.tgz", + "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/next-auth/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmmirror.com/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/next-connect": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/next-connect/-/next-connect-1.0.0.tgz", + "integrity": "sha512-FeLURm9MdvzY1SDUGE74tk66mukSqL6MAzxajW7Gqh6DZKBZLrXmXnGWtHJZXkfvoi+V/DUe9Hhtfkl4+nTlYA==", + "dependencies": { + "@tsconfig/node16": "^1.0.3", + "regexparam": "^2.0.1" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/next-transpile-modules": { + "version": "10.0.1", + "resolved": "https://registry.npmmirror.com/next-transpile-modules/-/next-transpile-modules-10.0.1.tgz", + "integrity": "sha512-4VX/LCMofxIYAVV58UmD+kr8jQflpLWvas/BQ4Co0qWLWzVh06FoZkECkrX5eEZT6oJFqie6+kfbTA3EZCVtdQ==", + "dependencies": { + "enhanced-resolve": "^5.10.0" + } + }, + "node_modules/next/node_modules/postcss": { + "version": "8.4.14", + "resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.4.14.tgz", + "integrity": "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + } + ], + "dependencies": { + "nanoid": "^3.3.4", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/node-fetch": { + "version": "2.7.0", + "resolved": "https://registry.npmmirror.com/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/node-releases": { + "version": "2.0.14", + "resolved": "https://registry.npmmirror.com/node-releases/-/node-releases-2.0.14.tgz", + "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==" + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmmirror.com/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/nprogress": { + "version": "0.2.0", + "resolved": "https://registry.npmmirror.com/nprogress/-/nprogress-0.2.0.tgz", + "integrity": "sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA==" + }, + "node_modules/oauth": { + "version": "0.9.15", + "resolved": "https://registry.npmmirror.com/oauth/-/oauth-0.9.15.tgz", + "integrity": "sha512-a5ERWK1kh38ExDEfoO6qUHJb32rd7aYmPHuyCu3Fta/cnICvYmgd2uhuKXvPD+PXB+gCEYYEaQdIRAjCOwAKNA==" + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmmirror.com/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-hash": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/object-hash/-/object-hash-2.2.0.tgz", + "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/object-inspect": { + "version": "1.13.1", + "resolved": "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.13.1.tgz", + "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-is": { + "version": "1.1.6", + "resolved": "https://registry.npmmirror.com/object-is/-/object-is-1.1.6.tgz", + "integrity": "sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==", + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.5", + "resolved": "https://registry.npmmirror.com/object.assign/-/object.assign-4.1.5.tgz", + "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", + "dependencies": { + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.entries": { + "version": "1.1.8", + "resolved": "https://registry.npmmirror.com/object.entries/-/object.entries-1.1.8.tgz", + "integrity": "sha512-cmopxi8VwRIAw/fkijJohSfpef5PdN0pMQJN6VC/ZKvn0LIknWD8KtgY6KlQdEc4tIjcQ3HxSMmnvtzIscdaYQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.fromentries": { + "version": "2.0.8", + "resolved": "https://registry.npmmirror.com/object.fromentries/-/object.fromentries-2.0.8.tgz", + "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/object.groupby/-/object.groupby-1.0.3.tgz", + "integrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.hasown": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/object.hasown/-/object.hasown-1.1.4.tgz", + "integrity": "sha512-FZ9LZt9/RHzGySlBARE3VF+gE26TxR38SdmqOqliuTnl9wrKulaQs+4dee1V+Io8VfxqzAfHu6YuRgUy8OHoTg==", + "dev": true, + "dependencies": { + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.values": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/object.values/-/object.values-1.2.0.tgz", + "integrity": "sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/oidc-token-hash": { + "version": "5.0.3", + "resolved": "https://registry.npmmirror.com/oidc-token-hash/-/oidc-token-hash-5.0.3.tgz", + "integrity": "sha512-IF4PcGgzAr6XXSff26Sk/+P4KZFJVuHAJZj3wgO3vX2bMdNVp/QXTP3P7CEm9V1IdG8lDLY3HhiqpsE/nOwpPw==", + "engines": { + "node": "^10.13.0 || >=12.0.0" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmmirror.com/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onecolor": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/onecolor/-/onecolor-3.1.0.tgz", + "integrity": "sha512-YZSypViXzu3ul5LMu/m6XjJ9ol8qAy9S2VjHl5E6UlhUH1KGKWabyEJifn0Jjpw23bYDzC2ucKMPGiH5kfwSGQ==", + "engines": { + "node": ">=0.4.8" + } + }, + "node_modules/openid-client": { + "version": "5.6.5", + "resolved": "https://registry.npmmirror.com/openid-client/-/openid-client-5.6.5.tgz", + "integrity": "sha512-5P4qO9nGJzB5PI0LFlhj4Dzg3m4odt0qsJTfyEtZyOlkgpILwEioOhVVJOrS1iVH494S4Ee5OCjjg6Bf5WOj3w==", + "dependencies": { + "jose": "^4.15.5", + "lru-cache": "^6.0.0", + "object-hash": "^2.2.0", + "oidc-token-hash": "^5.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, + "node_modules/openid-client/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmmirror.com/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/package-json-from-dist": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz", + "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==" + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-entities": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/parse-entities/-/parse-entities-2.0.0.tgz", + "integrity": "sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==", + "dependencies": { + "character-entities": "^1.0.0", + "character-entities-legacy": "^1.0.0", + "character-reference-invalid": "^1.0.0", + "is-alphanumerical": "^1.0.0", + "is-decimal": "^1.0.0", + "is-hexadecimal": "^1.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmmirror.com/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==" + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmmirror.com/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmmirror.com/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmmirror.com/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "10.2.2", + "resolved": "https://registry.npmmirror.com/lru-cache/-/lru-cache-10.2.2.tgz", + "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==", + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "engines": { + "node": ">=8" + } + }, + "node_modules/pdfast": { + "version": "0.2.0", + "resolved": "https://registry.npmmirror.com/pdfast/-/pdfast-0.2.0.tgz", + "integrity": "sha512-cq6TTu6qKSFUHwEahi68k/kqN2mfepjkGrG9Un70cgdRRKLKY6Rf8P8uvP2NvZktaQZNF3YE7agEkLj0vGK9bA==" + }, + "node_modules/pg-connection-string": { + "version": "2.6.4", + "resolved": "https://registry.npmmirror.com/pg-connection-string/-/pg-connection-string-2.6.4.tgz", + "integrity": "sha512-v+Z7W/0EO707aNMaAEfiGnGL9sxxumwLl2fJvCQtMn9Fxsg+lPpPkdcyBSv/KFgpGdYkMfn+EI1Or2EHjpgLCA==" + }, + "node_modules/picocolors": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/picocolors/-/picocolors-1.0.1.tgz", + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmmirror.com/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pirates": { + "version": "4.0.6", + "resolved": "https://registry.npmmirror.com/pirates/-/pirates-4.0.6.tgz", + "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/possible-typed-array-names": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", + "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/postcss": { + "version": "8.4.41", + "resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.4.41.tgz", + "integrity": "sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "nanoid": "^3.3.7", + "picocolors": "^1.0.1", + "source-map-js": "^1.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-import": { + "version": "15.1.0", + "resolved": "https://registry.npmmirror.com/postcss-import/-/postcss-import-15.1.0.tgz", + "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", + "dependencies": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "node_modules/postcss-js": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/postcss-js/-/postcss-js-4.0.1.tgz", + "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", + "dependencies": { + "camelcase-css": "^2.0.1" + }, + "engines": { + "node": "^12 || ^14 || >= 16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.4.21" + } + }, + "node_modules/postcss-load-config": { + "version": "4.0.2", + "resolved": "https://registry.npmmirror.com/postcss-load-config/-/postcss-load-config-4.0.2.tgz", + "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "lilconfig": "^3.0.0", + "yaml": "^2.3.4" + }, + "engines": { + "node": ">= 14" + }, + "peerDependencies": { + "postcss": ">=8.0.9", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "postcss": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/postcss-load-config/node_modules/lilconfig": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/lilconfig/-/lilconfig-3.1.2.tgz", + "integrity": "sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antonk52" + } + }, + "node_modules/postcss-load-config/node_modules/yaml": { + "version": "2.4.5", + "resolved": "https://registry.npmmirror.com/yaml/-/yaml-2.4.5.tgz", + "integrity": "sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/postcss-nested": { + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/postcss-nested/-/postcss-nested-6.0.1.tgz", + "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==", + "dependencies": { + "postcss-selector-parser": "^6.0.11" + }, + "engines": { + "node": ">=12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.2.14" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.1.0", + "resolved": "https://registry.npmmirror.com/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz", + "integrity": "sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmmirror.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" + }, + "node_modules/preact": { + "version": "10.22.0", + "resolved": "https://registry.npmmirror.com/preact/-/preact-10.22.0.tgz", + "integrity": "sha512-RRurnSjJPj4rp5K6XoP45Ui33ncb7e4H7WiOHVpjbkvqvA3U+N8Z6Qbo0AE6leGYBV66n8EhEaFixvIu3SkxFw==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/preact" + } + }, + "node_modules/preact-render-to-string": { + "version": "5.2.6", + "resolved": "https://registry.npmmirror.com/preact-render-to-string/-/preact-render-to-string-5.2.6.tgz", + "integrity": "sha512-JyhErpYOvBV1hEPwIxc/fHWXPfnEGdRKxc8gFdAZ7XV4tlzyzG847XAyEZqoDnynP88akM4eaHcSOzNcLWFguw==", + "dependencies": { + "pretty-format": "^3.8.0" + }, + "peerDependencies": { + "preact": ">=10" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/pretty-format": { + "version": "3.8.0", + "resolved": "https://registry.npmmirror.com/pretty-format/-/pretty-format-3.8.0.tgz", + "integrity": "sha512-WuxUnVtlWL1OfZFQFuqvnvs6MiAGk9UNsBostyBOB0Is9wb5uRESevA6rnl/rkksXaGX3GzZhPup5d6Vp1nFew==" + }, + "node_modules/prismjs": { + "version": "1.29.0", + "resolved": "https://registry.npmmirror.com/prismjs/-/prismjs-1.29.0.tgz", + "integrity": "sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==", + "engines": { + "node": ">=6" + } + }, + "node_modules/probe.gl": { + "version": "3.6.0", + "resolved": "https://registry.npmmirror.com/probe.gl/-/probe.gl-3.6.0.tgz", + "integrity": "sha512-19JydJWI7+DtR4feV+pu4Mn1I5TAc0xojuxVgZdXIyfmTLfUaFnk4OloWK1bKbPtkgGKLr2lnbnCXmpZEcEp9g==", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.0.0", + "@probe.gl/env": "3.6.0", + "@probe.gl/log": "3.6.0", + "@probe.gl/stats": "3.6.0" + } + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "node_modules/prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmmirror.com/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "dependencies": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "node_modules/prop-types/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmmirror.com/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, + "node_modules/property-information": { + "version": "6.5.0", + "resolved": "https://registry.npmmirror.com/property-information/-/property-information-6.5.0.tgz", + "integrity": "sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmmirror.com/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "engines": { + "node": ">=6" + } + }, + "node_modules/punycode.js": { + "version": "2.3.1", + "resolved": "https://registry.npmmirror.com/punycode.js/-/punycode.js-2.3.1.tgz", + "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/pvtsutils": { + "version": "1.3.5", + "resolved": "https://registry.npmmirror.com/pvtsutils/-/pvtsutils-1.3.5.tgz", + "integrity": "sha512-ARvb14YB9Nm2Xi6nBq1ZX6dAM0FsJnuk+31aUp4TrcZEdKUlSqOqsxJHUPJDNE3qiIp+iUPEIeR6Je/tgV7zsA==", + "dependencies": { + "tslib": "^2.6.1" + } + }, + "node_modules/pvutils": { + "version": "1.1.3", + "resolved": "https://registry.npmmirror.com/pvutils/-/pvutils-1.1.3.tgz", + "integrity": "sha512-pMpnA0qRdFp32b1sJl1wOJNxZLQ2cbQx+k6tjNtZ8CpvVhNqEPRgivZ2WOUev2YMajecdH7ctUPDvEe87nariQ==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/quantize": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/quantize/-/quantize-1.0.2.tgz", + "integrity": "sha512-25P7wI2UoDbIQsQp50ARkt+5pwPsOq7G/BqvT5xAbapnRoNWMN8/p55H9TXd5MuENiJnm5XICB2H2aDZGwts7w==", + "engines": { + "node": ">=0.10.21" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmmirror.com/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/quickselect": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/quickselect/-/quickselect-2.0.0.tgz", + "integrity": "sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==" + }, + "node_modules/railroad-diagrams": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/railroad-diagrams/-/railroad-diagrams-1.0.0.tgz", + "integrity": "sha512-cz93DjNeLY0idrCNOH6PviZGRN9GJhsdm9hpn1YCS879fj4W+x5IFJhhkRZcwVgMmFF7R82UA/7Oh+R8lLZg6A==" + }, + "node_modules/randexp": { + "version": "0.4.6", + "resolved": "https://registry.npmmirror.com/randexp/-/randexp-0.4.6.tgz", + "integrity": "sha512-80WNmd9DA0tmZrw9qQa62GPPWfuXJknrmVmLcxvq4uZBdYqb1wYoKTmnlGUchvVWe0XiLupYkBoXVOxz3C8DYQ==", + "dependencies": { + "discontinuous-range": "1.0.0", + "ret": "~0.1.10" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/rbush": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/rbush/-/rbush-3.0.1.tgz", + "integrity": "sha512-XRaVO0YecOpEuIvbhbpTrZgoiI6xBlz6hnlr6EHhd+0x9ase6EmeN+hdwwUaJvLcsFFQ8iWVF1GAK1yB0BWi0w==", + "dependencies": { + "quickselect": "^2.0.0" + } + }, + "node_modules/rc-cascader": { + "version": "3.27.0", + "resolved": "https://registry.npmmirror.com/rc-cascader/-/rc-cascader-3.27.0.tgz", + "integrity": "sha512-z5uq8VvQadFUBiuZJ7YF5UAUGNkZtdEtcEYiIA94N/Kc2MIKr6lEbN5HyVddvYSgwWlKqnL6pH5bFXFuIK3MNg==", + "dependencies": { + "@babel/runtime": "^7.12.5", + "array-tree-filter": "^2.1.0", + "classnames": "^2.3.1", + "rc-select": "~14.15.0", + "rc-tree": "~5.8.1", + "rc-util": "^5.37.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-checkbox": { + "version": "3.3.0", + "resolved": "https://registry.npmmirror.com/rc-checkbox/-/rc-checkbox-3.3.0.tgz", + "integrity": "sha512-Ih3ZaAcoAiFKJjifzwsGiT/f/quIkxJoklW4yKGho14Olulwn8gN7hOBve0/WGDg5o/l/5mL0w7ff7/YGvefVw==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "^2.3.2", + "rc-util": "^5.25.2" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-collapse": { + "version": "3.7.3", + "resolved": "https://registry.npmmirror.com/rc-collapse/-/rc-collapse-3.7.3.tgz", + "integrity": "sha512-60FJcdTRn0X5sELF18TANwtVi7FtModq649H11mYF1jh83DniMoM4MqY627sEKRCTm4+WXfGDcB7hY5oW6xhyw==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "2.x", + "rc-motion": "^2.3.4", + "rc-util": "^5.27.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-dialog": { + "version": "9.5.2", + "resolved": "https://registry.npmmirror.com/rc-dialog/-/rc-dialog-9.5.2.tgz", + "integrity": "sha512-qVUjc8JukG+j/pNaHVSRa2GO2/KbV2thm7yO4hepQ902eGdYK913sGkwg/fh9yhKYV1ql3BKIN2xnud3rEXAPw==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "@rc-component/portal": "^1.0.0-8", + "classnames": "^2.2.6", + "rc-motion": "^2.3.0", + "rc-util": "^5.21.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-drawer": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/rc-drawer/-/rc-drawer-7.2.0.tgz", + "integrity": "sha512-9lOQ7kBekEJRdEpScHvtmEtXnAsy+NGDXiRWc2ZVC7QXAazNVbeT4EraQKYwCME8BJLa8Bxqxvs5swwyOepRwg==", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@rc-component/portal": "^1.1.1", + "classnames": "^2.2.6", + "rc-motion": "^2.6.1", + "rc-util": "^5.38.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-dropdown": { + "version": "4.2.0", + "resolved": "https://registry.npmmirror.com/rc-dropdown/-/rc-dropdown-4.2.0.tgz", + "integrity": "sha512-odM8Ove+gSh0zU27DUj5cG1gNKg7mLWBYzB5E4nNLrLwBmYEgYP43vHKDGOVZcJSVElQBI0+jTQgjnq0NfLjng==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@rc-component/trigger": "^2.0.0", + "classnames": "^2.2.6", + "rc-util": "^5.17.0" + }, + "peerDependencies": { + "react": ">=16.11.0", + "react-dom": ">=16.11.0" + } + }, + "node_modules/rc-field-form": { + "version": "2.4.0", + "resolved": "https://registry.npmmirror.com/rc-field-form/-/rc-field-form-2.4.0.tgz", + "integrity": "sha512-XZ/lF9iqf9HXApIHQHqzJK5v2w4mkUMsVqAzOyWVzoiwwXEavY6Tpuw7HavgzIoD+huVff4JghSGcgEfX6eycg==", + "dependencies": { + "@babel/runtime": "^7.18.0", + "@rc-component/async-validator": "^5.0.3", + "rc-util": "^5.32.2" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-image": { + "version": "7.9.0", + "resolved": "https://registry.npmmirror.com/rc-image/-/rc-image-7.9.0.tgz", + "integrity": "sha512-l4zqO5E0quuLMCtdKfBgj4Suv8tIS011F5k1zBBlK25iMjjiNHxA0VeTzGFtUZERSA45gvpXDg8/P6qNLjR25g==", + "dependencies": { + "@babel/runtime": "^7.11.2", + "@rc-component/portal": "^1.0.2", + "classnames": "^2.2.6", + "rc-dialog": "~9.5.2", + "rc-motion": "^2.6.2", + "rc-util": "^5.34.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-input": { + "version": "1.6.3", + "resolved": "https://registry.npmmirror.com/rc-input/-/rc-input-1.6.3.tgz", + "integrity": "sha512-wI4NzuqBS8vvKr8cljsvnTUqItMfG1QbJoxovCgL+DX4eVUcHIjVwharwevIxyy7H/jbLryh+K7ysnJr23aWIA==", + "dependencies": { + "@babel/runtime": "^7.11.1", + "classnames": "^2.2.1", + "rc-util": "^5.18.1" + }, + "peerDependencies": { + "react": ">=16.0.0", + "react-dom": ">=16.0.0" + } + }, + "node_modules/rc-input-number": { + "version": "9.2.0", + "resolved": "https://registry.npmmirror.com/rc-input-number/-/rc-input-number-9.2.0.tgz", + "integrity": "sha512-5XZFhBCV5f9UQ62AZ2hFbEY8iZT/dm23Q1kAg0H8EvOgD3UDbYYJAayoVIkM3lQaCqYAW5gV0yV3vjw1XtzWHg==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "@rc-component/mini-decimal": "^1.0.1", + "classnames": "^2.2.5", + "rc-input": "~1.6.0", + "rc-util": "^5.40.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-mentions": { + "version": "2.15.0", + "resolved": "https://registry.npmmirror.com/rc-mentions/-/rc-mentions-2.15.0.tgz", + "integrity": "sha512-f5v5i7VdqvBDXbphoqcQWmXDif2Msd2arritVoWybrVDuHE6nQ7XCYsybHbV//WylooK52BFDouFvyaRDtXZEw==", + "dependencies": { + "@babel/runtime": "^7.22.5", + "@rc-component/trigger": "^2.0.0", + "classnames": "^2.2.6", + "rc-input": "~1.6.0", + "rc-menu": "~9.14.0", + "rc-textarea": "~1.8.0", + "rc-util": "^5.34.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-menu": { + "version": "9.14.1", + "resolved": "https://registry.npmmirror.com/rc-menu/-/rc-menu-9.14.1.tgz", + "integrity": "sha512-5wlRb3M8S4yGlWhSoEYJ7ZVRElyScdcpUHxgiLxkeig1tEdyKrnED3B2fhpN0Rrpdp9jyhnmZR/Lwq2fH5VvDQ==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "@rc-component/trigger": "^2.0.0", + "classnames": "2.x", + "rc-motion": "^2.4.3", + "rc-overflow": "^1.3.1", + "rc-util": "^5.27.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-motion": { + "version": "2.9.2", + "resolved": "https://registry.npmmirror.com/rc-motion/-/rc-motion-2.9.2.tgz", + "integrity": "sha512-fUAhHKLDdkAXIDLH0GYwof3raS58dtNUmzLF2MeiR8o6n4thNpSDQhOqQzWE4WfFZDCi9VEN8n7tiB7czREcyw==", + "dependencies": { + "@babel/runtime": "^7.11.1", + "classnames": "^2.2.1", + "rc-util": "^5.43.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-notification": { + "version": "5.6.0", + "resolved": "https://registry.npmmirror.com/rc-notification/-/rc-notification-5.6.0.tgz", + "integrity": "sha512-TGQW5T7waOxLwgJG7fXcw8l7AQiFOjaZ7ISF5PrU526nunHRNcTMuzKihQHaF4E/h/KfOCDk3Mv8eqzbu2e28w==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "2.x", + "rc-motion": "^2.9.0", + "rc-util": "^5.20.1" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-overflow": { + "version": "1.3.2", + "resolved": "https://registry.npmmirror.com/rc-overflow/-/rc-overflow-1.3.2.tgz", + "integrity": "sha512-nsUm78jkYAoPygDAcGZeC2VwIg/IBGSodtOY3pMof4W3M9qRJgqaDYm03ZayHlde3I6ipliAxbN0RUcGf5KOzw==", + "dependencies": { + "@babel/runtime": "^7.11.1", + "classnames": "^2.2.1", + "rc-resize-observer": "^1.0.0", + "rc-util": "^5.37.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-pagination": { + "version": "4.2.0", + "resolved": "https://registry.npmmirror.com/rc-pagination/-/rc-pagination-4.2.0.tgz", + "integrity": "sha512-V6qeANJsT6tmOcZ4XiUmj8JXjRLbkusuufpuoBw2GiAn94fIixYjFLmbruD1Sbhn8fPLDnWawPp4CN37zQorvw==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "^2.3.2", + "rc-util": "^5.38.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-picker": { + "version": "4.6.14", + "resolved": "https://registry.npmmirror.com/rc-picker/-/rc-picker-4.6.14.tgz", + "integrity": "sha512-7DuTfUFdkxmsNpWQ0TWv6FPGna5e6KKC4nxtx3x9xhumLz7jb3fhlDdWQvqEL6tpt9DOb1+N5j+wB+lDOSS9kg==", + "dependencies": { + "@babel/runtime": "^7.24.7", + "@rc-component/trigger": "^2.0.0", + "classnames": "^2.2.1", + "rc-overflow": "^1.3.2", + "rc-resize-observer": "^1.4.0", + "rc-util": "^5.43.0" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "date-fns": ">= 2.x", + "dayjs": ">= 1.x", + "luxon": ">= 3.x", + "moment": ">= 2.x", + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + }, + "peerDependenciesMeta": { + "date-fns": { + "optional": true + }, + "dayjs": { + "optional": true + }, + "luxon": { + "optional": true + }, + "moment": { + "optional": true + } + } + }, + "node_modules/rc-progress": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/rc-progress/-/rc-progress-4.0.0.tgz", + "integrity": "sha512-oofVMMafOCokIUIBnZLNcOZFsABaUw8PPrf1/y0ZBvKZNpOiu5h4AO9vv11Sw0p4Hb3D0yGWuEattcQGtNJ/aw==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.6", + "rc-util": "^5.16.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-rate": { + "version": "2.13.0", + "resolved": "https://registry.npmmirror.com/rc-rate/-/rc-rate-2.13.0.tgz", + "integrity": "sha512-oxvx1Q5k5wD30sjN5tqAyWTvJfLNNJn7Oq3IeS4HxWfAiC4BOXMITNAsw7u/fzdtO4MS8Ki8uRLOzcnEuoQiAw==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.5", + "rc-util": "^5.0.1" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-resize-observer": { + "version": "1.4.0", + "resolved": "https://registry.npmmirror.com/rc-resize-observer/-/rc-resize-observer-1.4.0.tgz", + "integrity": "sha512-PnMVyRid9JLxFavTjeDXEXo65HCRqbmLBw9xX9gfC4BZiSzbLXKzW3jPz+J0P71pLbD5tBMTT+mkstV5gD0c9Q==", + "dependencies": { + "@babel/runtime": "^7.20.7", + "classnames": "^2.2.1", + "rc-util": "^5.38.0", + "resize-observer-polyfill": "^1.5.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-segmented": { + "version": "2.3.0", + "resolved": "https://registry.npmmirror.com/rc-segmented/-/rc-segmented-2.3.0.tgz", + "integrity": "sha512-I3FtM5Smua/ESXutFfb8gJ8ZPcvFR+qUgeeGFQHBOvRiRKyAk4aBE5nfqrxXx+h8/vn60DQjOt6i4RNtrbOobg==", + "dependencies": { + "@babel/runtime": "^7.11.1", + "classnames": "^2.2.1", + "rc-motion": "^2.4.4", + "rc-util": "^5.17.0" + }, + "peerDependencies": { + "react": ">=16.0.0", + "react-dom": ">=16.0.0" + } + }, + "node_modules/rc-select": { + "version": "14.15.1", + "resolved": "https://registry.npmmirror.com/rc-select/-/rc-select-14.15.1.tgz", + "integrity": "sha512-mGvuwW1RMm1NCSI8ZUoRoLRK51R2Nb+QJnmiAvbDRcjh2//ulCkxeV6ZRFTECPpE1t2DPfyqZMPw90SVJzQ7wQ==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "@rc-component/trigger": "^2.1.1", + "classnames": "2.x", + "rc-motion": "^2.0.1", + "rc-overflow": "^1.3.1", + "rc-util": "^5.16.1", + "rc-virtual-list": "^3.5.2" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*" + } + }, + "node_modules/rc-slider": { + "version": "11.1.5", + "resolved": "https://registry.npmmirror.com/rc-slider/-/rc-slider-11.1.5.tgz", + "integrity": "sha512-b77H5PbjMKsvkYXAYIkn50QuFX6ICQmCTibDinI9q+BHx65/TV4TeU25+oadhSRzykxs0/vBWeKBwRyySOeWlg==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.5", + "rc-util": "^5.36.0" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-steps": { + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/rc-steps/-/rc-steps-6.0.1.tgz", + "integrity": "sha512-lKHL+Sny0SeHkQKKDJlAjV5oZ8DwCdS2hFhAkIjuQt1/pB81M0cA0ErVFdHq9+jmPmFw1vJB2F5NBzFXLJxV+g==", + "dependencies": { + "@babel/runtime": "^7.16.7", + "classnames": "^2.2.3", + "rc-util": "^5.16.1" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-switch": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/rc-switch/-/rc-switch-4.1.0.tgz", + "integrity": "sha512-TI8ufP2Az9oEbvyCeVE4+90PDSljGyuwix3fV58p7HV2o4wBnVToEyomJRVyTaZeqNPAp+vqeo4Wnj5u0ZZQBg==", + "dependencies": { + "@babel/runtime": "^7.21.0", + "classnames": "^2.2.1", + "rc-util": "^5.30.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-table": { + "version": "7.45.7", + "resolved": "https://registry.npmmirror.com/rc-table/-/rc-table-7.45.7.tgz", + "integrity": "sha512-wi9LetBL1t1csxyGkMB2p3mCiMt+NDexMlPbXHvQFmBBAsMxrgNSAPwUci2zDLUq9m8QdWc1Nh8suvrpy9mXrg==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "@rc-component/context": "^1.4.0", + "classnames": "^2.2.5", + "rc-resize-observer": "^1.1.0", + "rc-util": "^5.37.0", + "rc-virtual-list": "^3.14.2" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-tabs": { + "version": "15.1.1", + "resolved": "https://registry.npmmirror.com/rc-tabs/-/rc-tabs-15.1.1.tgz", + "integrity": "sha512-Tc7bJvpEdkWIVCUL7yQrMNBJY3j44NcyWS48jF/UKMXuUlzaXK+Z/pEL5LjGcTadtPvVmNqA40yv7hmr+tCOAw==", + "dependencies": { + "@babel/runtime": "^7.11.2", + "classnames": "2.x", + "rc-dropdown": "~4.2.0", + "rc-menu": "~9.14.0", + "rc-motion": "^2.6.2", + "rc-resize-observer": "^1.0.0", + "rc-util": "^5.34.1" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-textarea": { + "version": "1.8.1", + "resolved": "https://registry.npmmirror.com/rc-textarea/-/rc-textarea-1.8.1.tgz", + "integrity": "sha512-bm36N2ZqwZAP60ZQg2OY9mPdqWC+m6UTjHc+CqEZOxb3Ia29BGHazY/s5bI8M4113CkqTzhtFUDNA078ZiOx3Q==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.1", + "rc-input": "~1.6.0", + "rc-resize-observer": "^1.0.0", + "rc-util": "^5.27.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-tooltip": { + "version": "6.2.0", + "resolved": "https://registry.npmmirror.com/rc-tooltip/-/rc-tooltip-6.2.0.tgz", + "integrity": "sha512-iS/3iOAvtDh9GIx1ulY7EFUXUtktFccNLsARo3NPgLf0QW9oT0w3dA9cYWlhqAKmD+uriEwdWz1kH0Qs4zk2Aw==", + "dependencies": { + "@babel/runtime": "^7.11.2", + "@rc-component/trigger": "^2.0.0", + "classnames": "^2.3.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-tree": { + "version": "5.8.8", + "resolved": "https://registry.npmmirror.com/rc-tree/-/rc-tree-5.8.8.tgz", + "integrity": "sha512-S+mCMWo91m5AJqjz3PdzKilGgbFm7fFJRFiTDOcoRbD7UfMOPnerXwMworiga0O2XIo383UoWuEfeHs1WOltag==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "2.x", + "rc-motion": "^2.0.1", + "rc-util": "^5.16.1", + "rc-virtual-list": "^3.5.1" + }, + "engines": { + "node": ">=10.x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*" + } + }, + "node_modules/rc-tree-select": { + "version": "5.22.1", + "resolved": "https://registry.npmmirror.com/rc-tree-select/-/rc-tree-select-5.22.1.tgz", + "integrity": "sha512-b8mAK52xEpRgS+b2PTapCt29GoIrO5cO8jB7AfHttFsIJfcnynY9FCtnYzURsKXJkGHbFY6UzSEB2I3TETtdWg==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "2.x", + "rc-select": "~14.15.0", + "rc-tree": "~5.8.1", + "rc-util": "^5.16.1" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*" + } + }, + "node_modules/rc-upload": { + "version": "4.7.0", + "resolved": "https://registry.npmmirror.com/rc-upload/-/rc-upload-4.7.0.tgz", + "integrity": "sha512-eUwxYNHlsYe5vYhKFAUGrQG95JrnPzY+BmPi1Daq39fWNl/eOc7v4UODuWrVp2LFkQBuV3cMCG/I68iub6oBrg==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "classnames": "^2.2.5", + "rc-util": "^5.2.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-util": { + "version": "5.43.0", + "resolved": "https://registry.npmmirror.com/rc-util/-/rc-util-5.43.0.tgz", + "integrity": "sha512-AzC7KKOXFqAdIBqdGWepL9Xn7cm3vnAmjlHqUnoQaTMZYhM4VlXGLkkHHxj/BZ7Td0+SOPKB4RGPboBVKT9htw==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "react-is": "^18.2.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-virtual-list": { + "version": "3.14.3", + "resolved": "https://registry.npmmirror.com/rc-virtual-list/-/rc-virtual-list-3.14.3.tgz", + "integrity": "sha512-6+6wiEhdqakNBnbRJymgMlh+90qpkgqherTRo1l1cX7mK6F9hWsazPczmP0lA+64yhC9/t+M9Dh5pjvDWimn8A==", + "dependencies": { + "@babel/runtime": "^7.20.0", + "classnames": "^2.2.6", + "rc-resize-observer": "^1.0.0", + "rc-util": "^5.36.0" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/react": { + "version": "18.3.1", + "resolved": "https://registry.npmmirror.com/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "18.3.1", + "resolved": "https://registry.npmmirror.com/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "dependencies": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.2" + }, + "peerDependencies": { + "react": "^18.3.1" + } + }, + "node_modules/react-fast-compare": { + "version": "3.2.2", + "resolved": "https://registry.npmmirror.com/react-fast-compare/-/react-fast-compare-3.2.2.tgz", + "integrity": "sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ==" + }, + "node_modules/react-i18next": { + "version": "13.5.0", + "resolved": "https://registry.npmmirror.com/react-i18next/-/react-i18next-13.5.0.tgz", + "integrity": "sha512-CFJ5NDGJ2MUyBohEHxljOq/39NQ972rh1ajnadG9BjTk+UXbHLq4z5DKEbEQBDoIhUmmbuS/fIMJKo6VOax1HA==", + "dependencies": { + "@babel/runtime": "^7.22.5", + "html-parse-stringify": "^3.0.1" + }, + "peerDependencies": { + "i18next": ">= 23.2.3", + "react": ">= 16.8.0" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + }, + "react-native": { + "optional": true + } + } + }, + "node_modules/react-is": { + "version": "18.3.1", + "resolved": "https://registry.npmmirror.com/react-is/-/react-is-18.3.1.tgz", + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==" + }, + "node_modules/react-lifecycles-compat": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz", + "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==" + }, + "node_modules/react-markdown": { + "version": "8.0.7", + "resolved": "https://registry.npmmirror.com/react-markdown/-/react-markdown-8.0.7.tgz", + "integrity": "sha512-bvWbzG4MtOU62XqBx3Xx+zB2raaFFsq4mYiAzfjXJMEz2sixgeAfraA3tvzULF02ZdOMUOKTBFFaZJDDrq+BJQ==", + "dependencies": { + "@types/hast": "^2.0.0", + "@types/prop-types": "^15.0.0", + "@types/unist": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-whitespace": "^2.0.0", + "prop-types": "^15.0.0", + "property-information": "^6.0.0", + "react-is": "^18.0.0", + "remark-parse": "^10.0.0", + "remark-rehype": "^10.0.0", + "space-separated-tokens": "^2.0.0", + "style-to-object": "^0.4.0", + "unified": "^10.0.0", + "unist-util-visit": "^4.0.0", + "vfile": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + }, + "peerDependencies": { + "@types/react": ">=16", + "react": ">=16" + } + }, + "node_modules/react-markdown-editor-lite": { + "version": "1.3.4", + "resolved": "https://registry.npmmirror.com/react-markdown-editor-lite/-/react-markdown-editor-lite-1.3.4.tgz", + "integrity": "sha512-PhS4HzLzSgCsr8O9CfJX75nAYmZ0NwpfviLxARlT0Tau+APOerDSHSw3u9hub5wd0EqmonWibw0vhXXNu4ldRA==", + "dependencies": { + "@babel/runtime": "^7.6.2", + "classnames": "^2.2.6", + "eventemitter3": "^4.0.0", + "uuid": "^8.3.2" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/react-markdown-editor-lite/node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmmirror.com/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" + }, + "node_modules/react-markdown-editor-lite/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmmirror.com/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/react-syntax-highlighter": { + "version": "15.5.0", + "resolved": "https://registry.npmmirror.com/react-syntax-highlighter/-/react-syntax-highlighter-15.5.0.tgz", + "integrity": "sha512-+zq2myprEnQmH5yw6Gqc8lD55QHnpKaU8TOcFeC/Lg/MQSs8UknEA0JC4nTZGFAXC2J2Hyj/ijJ7NlabyPi2gg==", + "dependencies": { + "@babel/runtime": "^7.3.1", + "highlight.js": "^10.4.1", + "lowlight": "^1.17.0", + "prismjs": "^1.27.0", + "refractor": "^3.6.0" + }, + "peerDependencies": { + "react": ">= 0.14.0" + } + }, + "node_modules/react-transition-group": { + "version": "4.4.5", + "resolved": "https://registry.npmmirror.com/react-transition-group/-/react-transition-group-4.4.5.tgz", + "integrity": "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==", + "dependencies": { + "@babel/runtime": "^7.5.5", + "dom-helpers": "^5.0.1", + "loose-envify": "^1.4.0", + "prop-types": "^15.6.2" + }, + "peerDependencies": { + "react": ">=16.6.0", + "react-dom": ">=16.6.0" + } + }, + "node_modules/react-virtualized": { + "version": "9.22.5", + "resolved": "https://registry.npmmirror.com/react-virtualized/-/react-virtualized-9.22.5.tgz", + "integrity": "sha512-YqQMRzlVANBv1L/7r63OHa2b0ZsAaDp1UhVNEdUaXI8A5u6hTpA5NYtUueLH2rFuY/27mTGIBl7ZhqFKzw18YQ==", + "dependencies": { + "@babel/runtime": "^7.7.2", + "clsx": "^1.0.4", + "dom-helpers": "^5.1.3", + "loose-envify": "^1.4.0", + "prop-types": "^15.7.2", + "react-lifecycles-compat": "^3.0.4" + }, + "peerDependencies": { + "react": "^15.3.0 || ^16.0.0-alpha || ^17.0.0 || ^18.0.0", + "react-dom": "^15.3.0 || ^16.0.0-alpha || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/react-virtualized/node_modules/clsx": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/clsx/-/clsx-1.2.1.tgz", + "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==", + "engines": { + "node": ">=6" + } + }, + "node_modules/reactflow": { + "version": "11.11.4", + "resolved": "https://registry.npmmirror.com/reactflow/-/reactflow-11.11.4.tgz", + "integrity": "sha512-70FOtJkUWH3BAOsN+LU9lCrKoKbtOPnz2uq0CV2PLdNSwxTXOhCbsZr50GmZ+Rtw3jx8Uv7/vBFtCGixLfd4Og==", + "dependencies": { + "@reactflow/background": "11.3.14", + "@reactflow/controls": "11.2.14", + "@reactflow/core": "11.11.4", + "@reactflow/minimap": "11.7.14", + "@reactflow/node-resizer": "2.2.14", + "@reactflow/node-toolbar": "1.3.14" + }, + "peerDependencies": { + "react": ">=17", + "react-dom": ">=17" + } + }, + "node_modules/read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", + "dependencies": { + "pify": "^2.3.0" + } + }, + "node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/readable-stream/node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + }, + "node_modules/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmmirror.com/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/reflect.getprototypeof": { + "version": "1.0.6", + "resolved": "https://registry.npmmirror.com/reflect.getprototypeof/-/reflect.getprototypeof-1.0.6.tgz", + "integrity": "sha512-fmfw4XgoDke3kdI6h4xcUz1dG8uaiv5q9gcEwLS4Pnth2kxT+GZ7YehS1JTMGBQmtV7Y4GFGbs2re2NqhdozUg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.1", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "globalthis": "^1.0.3", + "which-builtin-type": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/refractor": { + "version": "3.6.0", + "resolved": "https://registry.npmmirror.com/refractor/-/refractor-3.6.0.tgz", + "integrity": "sha512-MY9W41IOWxxk31o+YvFCNyNzdkc9M20NoZK5vq6jkv4I/uh2zkWcfudj0Q1fovjUQJrNewS9NMzeTtqPf+n5EA==", + "dependencies": { + "hastscript": "^6.0.0", + "parse-entities": "^2.0.0", + "prismjs": "~1.27.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/refractor/node_modules/prismjs": { + "version": "1.27.0", + "resolved": "https://registry.npmmirror.com/prismjs/-/prismjs-1.27.0.tgz", + "integrity": "sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==" + }, + "node_modules/regexp.prototype.flags": { + "version": "1.5.2", + "resolved": "https://registry.npmmirror.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", + "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", + "dependencies": { + "call-bind": "^1.0.6", + "define-properties": "^1.2.1", + "es-errors": "^1.3.0", + "set-function-name": "^2.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/regexparam": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/regexparam/-/regexparam-2.0.2.tgz", + "integrity": "sha512-A1PeDEYMrkLrfyOwv2jwihXbo9qxdGD3atBYQA9JJgreAx8/7rC6IUkWOw2NQlOxLp2wL0ifQbh1HuidDfYA6w==", + "engines": { + "node": ">=8" + } + }, + "node_modules/regl": { + "version": "1.7.0", + "resolved": "https://registry.npmmirror.com/regl/-/regl-1.7.0.tgz", + "integrity": "sha512-bEAtp/qrtKucxXSJkD4ebopFZYP0q1+3Vb2WECWv/T8yQEgKxDxJ7ztO285tAMaYZVR6mM1GgI6CCn8FROtL1w==", + "peer": true + }, + "node_modules/regression": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/regression/-/regression-2.0.1.tgz", + "integrity": "sha512-A4XYsc37dsBaNOgEjkJKzfJlE394IMmUPlI/p3TTI9u3T+2a+eox5Pr/CPUqF0eszeWZJPAc6QkroAhuUpWDJQ==" + }, + "node_modules/rehype-raw": { + "version": "6.1.1", + "resolved": "https://registry.npmmirror.com/rehype-raw/-/rehype-raw-6.1.1.tgz", + "integrity": "sha512-d6AKtisSRtDRX4aSPsJGTfnzrX2ZkHQLE5kiUuGOeEoLpbEulFF4hj0mLPbsa+7vmguDKOVVEQdHKDSwoaIDsQ==", + "dependencies": { + "@types/hast": "^2.0.0", + "hast-util-raw": "^7.2.0", + "unified": "^10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-gfm": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/remark-gfm/-/remark-gfm-3.0.1.tgz", + "integrity": "sha512-lEFDoi2PICJyNrACFOfDD3JlLkuSbOa5Wd8EPt06HUdptv8Gn0bxYTdbU/XXQ3swAPkEaGxxPN9cbnMHvVu1Ig==", + "dependencies": { + "@types/mdast": "^3.0.0", + "mdast-util-gfm": "^2.0.0", + "micromark-extension-gfm": "^2.0.0", + "unified": "^10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-parse": { + "version": "10.0.2", + "resolved": "https://registry.npmmirror.com/remark-parse/-/remark-parse-10.0.2.tgz", + "integrity": "sha512-3ydxgHa/ZQzG8LvC7jTXccARYDcRld3VfcgIIFs7bI6vbRSxJJmzgLEIIoYKyrfhaY+ujuWaf/PJiMZXoiCXgw==", + "dependencies": { + "@types/mdast": "^3.0.0", + "mdast-util-from-markdown": "^1.0.0", + "unified": "^10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-rehype": { + "version": "10.1.0", + "resolved": "https://registry.npmmirror.com/remark-rehype/-/remark-rehype-10.1.0.tgz", + "integrity": "sha512-EFmR5zppdBp0WQeDVZ/b66CWJipB2q2VLNFMabzDSGR66Z2fQii83G5gTBbgGEnEEA0QRussvrFHxk1HWGJskw==", + "dependencies": { + "@types/hast": "^2.0.0", + "@types/mdast": "^3.0.0", + "mdast-util-to-hast": "^12.1.0", + "unified": "^10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmmirror.com/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resize-observer-polyfill": { + "version": "1.5.1", + "resolved": "https://registry.npmmirror.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz", + "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==" + }, + "node_modules/resolve": { + "version": "1.22.8", + "resolved": "https://registry.npmmirror.com/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "engines": { + "node": ">=4" + } + }, + "node_modules/resolve-pkg-maps": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", + "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", + "dev": true, + "funding": { + "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" + } + }, + "node_modules/ret": { + "version": "0.1.15", + "resolved": "https://registry.npmmirror.com/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "engines": { + "node": ">=0.12" + } + }, + "node_modules/retry-as-promised": { + "version": "7.0.4", + "resolved": "https://registry.npmmirror.com/retry-as-promised/-/retry-as-promised-7.0.4.tgz", + "integrity": "sha512-XgmCoxKWkDofwH8WddD0w85ZfqYz+ZHlr5yo+3YUCfycWawU56T5ckWXsScsj5B8tqUcIG67DxXByo3VUgiAdA==" + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/right-align": { + "version": "0.1.3", + "resolved": "https://registry.npmmirror.com/right-align/-/right-align-0.1.3.tgz", + "integrity": "sha512-yqINtL/G7vs2v+dFIZmFUDbnVyFUJFKd6gK22Kgo6R4jfJGFtisKyncWDDULgjfqf4ASQuIQyjJ7XZ+3aWpsAg==", + "dependencies": { + "align-text": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rollup": { + "version": "0.25.8", + "resolved": "https://registry.npmmirror.com/rollup/-/rollup-0.25.8.tgz", + "integrity": "sha512-a2S4Bh3bgrdO4BhKr2E4nZkjTvrJ2m2bWjMTzVYtoqSCn0HnuxosXnaJUHrMEziOWr3CzL9GjilQQKcyCQpJoA==", + "dependencies": { + "chalk": "^1.1.1", + "minimist": "^1.2.0", + "source-map-support": "^0.3.2" + }, + "bin": { + "rollup": "bin/rollup" + } + }, + "node_modules/rollup/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/rollup/node_modules/ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/rollup/node_modules/chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmmirror.com/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==", + "dependencies": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/rollup/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/rollup/node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/rollup/node_modules/supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/rw": { + "version": "1.3.3", + "resolved": "https://registry.npmmirror.com/rw/-/rw-1.3.3.tgz", + "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==" + }, + "node_modules/sade": { + "version": "1.8.1", + "resolved": "https://registry.npmmirror.com/sade/-/sade-1.8.1.tgz", + "integrity": "sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==", + "dependencies": { + "mri": "^1.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/safe-array-concat": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/safe-array-concat/-/safe-array-concat-1.1.2.tgz", + "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==", + "dependencies": { + "call-bind": "^1.0.7", + "get-intrinsic": "^1.2.4", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">=0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/safe-regex-test": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/safe-regex-test/-/safe-regex-test-1.0.3.tgz", + "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", + "dependencies": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-regex": "^1.1.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/scheduler": { + "version": "0.23.2", + "resolved": "https://registry.npmmirror.com/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", + "dependencies": { + "loose-envify": "^1.1.0" + } + }, + "node_modules/schema-utils": { + "version": "4.2.0", + "resolved": "https://registry.npmmirror.com/schema-utils/-/schema-utils-4.2.0.tgz", + "integrity": "sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.9", + "ajv": "^8.9.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.1.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/schema-utils/node_modules/ajv": { + "version": "8.16.0", + "resolved": "https://registry.npmmirror.com/ajv/-/ajv-8.16.0.tgz", + "integrity": "sha512-F0twR8U1ZU67JIEtekUcLkXkoO5mMMmgGD8sK/xUFzJ805jxHQl92hImFAqqXMyMYjSPOyUPAwHYhB72g5sTXw==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.3", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.4.1" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/schema-utils/node_modules/ajv-keywords": { + "version": "5.1.0", + "resolved": "https://registry.npmmirror.com/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.3" + }, + "peerDependencies": { + "ajv": "^8.8.2" + } + }, + "node_modules/schema-utils/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "node_modules/screenfull": { + "version": "5.2.0", + "resolved": "https://registry.npmmirror.com/screenfull/-/screenfull-5.2.0.tgz", + "integrity": "sha512-9BakfsO2aUQN2K9Fdbj87RJIEZ82Q9IGim7FqM5OsebfoFC6ZHXgDq/KvniuLTPdeM8wY2o6Dj3WQ7KeQCj3cA==", + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/scroll-into-view-if-needed": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/scroll-into-view-if-needed/-/scroll-into-view-if-needed-3.1.0.tgz", + "integrity": "sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ==", + "dependencies": { + "compute-scroll-into-view": "^3.0.2" + } + }, + "node_modules/semver": { + "version": "7.6.2", + "resolved": "https://registry.npmmirror.com/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/seq-queue": { + "version": "0.0.5", + "resolved": "https://registry.npmmirror.com/seq-queue/-/seq-queue-0.0.5.tgz", + "integrity": "sha512-hr3Wtp/GZIc/6DAGPDcV4/9WoZhjrkXsi5B/07QgX8tsdc6ilr7BFM6PM6rbdAX1kFSDYeZGLipIZZKyQP0O5Q==" + }, + "node_modules/sequelize": { + "version": "6.37.3", + "resolved": "https://registry.npmmirror.com/sequelize/-/sequelize-6.37.3.tgz", + "integrity": "sha512-V2FTqYpdZjPy3VQrZvjTPnOoLm0KudCRXfGWp48QwhyPPp2yW8z0p0sCYZd/em847Tl2dVxJJ1DR+hF+O77T7A==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/sequelize" + } + ], + "dependencies": { + "@types/debug": "^4.1.8", + "@types/validator": "^13.7.17", + "debug": "^4.3.4", + "dottie": "^2.0.6", + "inflection": "^1.13.4", + "lodash": "^4.17.21", + "moment": "^2.29.4", + "moment-timezone": "^0.5.43", + "pg-connection-string": "^2.6.1", + "retry-as-promised": "^7.0.4", + "semver": "^7.5.4", + "sequelize-pool": "^7.1.0", + "toposort-class": "^1.0.1", + "uuid": "^8.3.2", + "validator": "^13.9.0", + "wkx": "^0.5.0" + }, + "engines": { + "node": ">=10.0.0" + }, + "peerDependenciesMeta": { + "ibm_db": { + "optional": true + }, + "mariadb": { + "optional": true + }, + "mysql2": { + "optional": true + }, + "oracledb": { + "optional": true + }, + "pg": { + "optional": true + }, + "pg-hstore": { + "optional": true + }, + "snowflake-sdk": { + "optional": true + }, + "sqlite3": { + "optional": true + }, + "tedious": { + "optional": true + } + } + }, + "node_modules/sequelize-pool": { + "version": "7.1.0", + "resolved": "https://registry.npmmirror.com/sequelize-pool/-/sequelize-pool-7.1.0.tgz", + "integrity": "sha512-G9c0qlIWQSK29pR/5U2JF5dDQeqqHRragoyahj/Nx4KOOQ3CPPfzxnfqFPCSB7x5UgjOgnZ61nSxz+fjDpRlJg==", + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/sequelize/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmmirror.com/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/serialize-javascript": { + "version": "6.0.2", + "resolved": "https://registry.npmmirror.com/serialize-javascript/-/serialize-javascript-6.0.2.tgz", + "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmmirror.com/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/set-function-name": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/set-function-name/-/set-function-name-2.0.2.tgz", + "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "engines": { + "node": ">=8" + } + }, + "node_modules/side-channel": { + "version": "1.0.6", + "resolved": "https://registry.npmmirror.com/side-channel/-/side-channel-1.0.6.tgz", + "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "dependencies": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "object-inspect": "^1.13.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/simple-swizzle": { + "version": "0.2.2", + "resolved": "https://registry.npmmirror.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz", + "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==", + "dependencies": { + "is-arrayish": "^0.3.1" + } + }, + "node_modules/simple-swizzle/node_modules/is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmmirror.com/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" + }, + "node_modules/size-sensor": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/size-sensor/-/size-sensor-1.0.2.tgz", + "integrity": "sha512-2NCmWxY7A9pYKGXNBfteo4hy14gWu47rg5692peVMst6lQLPKrVjhY+UTEsPI5ceFRJSl3gVgMYaUi/hKuaiKw==", + "peer": true + }, + "node_modules/slash": { + "version": "5.1.0", + "resolved": "https://registry.npmmirror.com/slash/-/slash-5.1.0.tgz", + "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "dev": true, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-js": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.2.0.tgz", + "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-support": { + "version": "0.3.3", + "resolved": "https://registry.npmmirror.com/source-map-support/-/source-map-support-0.3.3.tgz", + "integrity": "sha512-9O4+y9n64RewmFoKUZ/5Tx9IHIcXM6Q+RTSw6ehnqybUz4a7iwR3Eaw80uLtqqQ5D0C+5H03D4KKGo9PdP33Gg==", + "dependencies": { + "source-map": "0.1.32" + } + }, + "node_modules/source-map-support/node_modules/source-map": { + "version": "0.1.32", + "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.1.32.tgz", + "integrity": "sha512-htQyLrrRLkQ87Zfrir4/yN+vAUd6DNjVayEjTSHXu29AYQJw57I4/xEL/M6p6E/woPNJwvZt6rVlzc7gFEJccQ==", + "dependencies": { + "amdefine": ">=0.0.4" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/space-separated-tokens": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz", + "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/sql-formatter": { + "version": "12.2.4", + "resolved": "https://registry.npmmirror.com/sql-formatter/-/sql-formatter-12.2.4.tgz", + "integrity": "sha512-Qj45LEHSfgrdYDOrAtIkR8SdS10SWcqCIM2WZwQwMKF2v9sM0K2dlThWPS7eYCUrhttZIrU1WwuIwHk7MjsWOw==", + "dependencies": { + "argparse": "^2.0.1", + "get-stdin": "=8.0.0", + "nearley": "^2.20.1" + }, + "bin": { + "sql-formatter": "bin/sql-formatter-cli.cjs" + } + }, + "node_modules/sqlstring": { + "version": "2.3.3", + "resolved": "https://registry.npmmirror.com/sqlstring/-/sqlstring-2.3.3.tgz", + "integrity": "sha512-qC9iz2FlN7DQl3+wjwn3802RTyjCx7sDvfQEXchwa6CWOx07/WVfh91gBmQ9fahw8snwGEWU3xGzOt4tFyHLxg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/state-local": { + "version": "1.0.7", + "resolved": "https://registry.npmmirror.com/state-local/-/state-local-1.0.7.tgz", + "integrity": "sha512-HTEHMNieakEnoe33shBYcZ7NX83ACUjCu8c40iOGEZsngj9zRnkqS9j1pqQPXwobB0ZcVTk27REb7COQ0UR59w==" + }, + "node_modules/stop-iteration-iterator": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz", + "integrity": "sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==", + "dev": true, + "dependencies": { + "internal-slot": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/streamsearch": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/streamsearch/-/streamsearch-1.1.0.tgz", + "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==", + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/string-convert": { + "version": "0.2.1", + "resolved": "https://registry.npmmirror.com/string-convert/-/string-convert-0.2.1.tgz", + "integrity": "sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A==" + }, + "node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/string-width/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/string-width/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/string.prototype.includes": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/string.prototype.includes/-/string.prototype.includes-2.0.0.tgz", + "integrity": "sha512-E34CkBgyeqNDcrbU76cDjL5JLcVrtSdYq0MEh/B10r17pRP4ciHLwTgnuLV8Ay6cgEMLkcBkFCKyFZ43YldYzg==", + "dev": true, + "dependencies": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.5" + } + }, + "node_modules/string.prototype.matchall": { + "version": "4.0.11", + "resolved": "https://registry.npmmirror.com/string.prototype.matchall/-/string.prototype.matchall-4.0.11.tgz", + "integrity": "sha512-NUdh0aDavY2og7IbBPenWqR9exH+E26Sv8e0/eTe1tltDGZL+GtBkDAnnyBtmekfK6/Dq3MkcGtzXFEd1LQrtg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.7", + "regexp.prototype.flags": "^1.5.2", + "set-function-name": "^2.0.2", + "side-channel": "^1.0.6" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trim": { + "version": "1.2.9", + "resolved": "https://registry.npmmirror.com/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", + "integrity": "sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==", + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.0", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.8", + "resolved": "https://registry.npmmirror.com/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz", + "integrity": "sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==", + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.8", + "resolved": "https://registry.npmmirror.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", + "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmmirror.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/style-to-object": { + "version": "0.4.4", + "resolved": "https://registry.npmmirror.com/style-to-object/-/style-to-object-0.4.4.tgz", + "integrity": "sha512-HYNoHZa2GorYNyqiCaBgsxvcJIn7OHq6inEga+E6Ke3m5JkoqpQbnFssk4jwe+K7AhGa2fcha4wSOf1Kn01dMg==", + "dependencies": { + "inline-style-parser": "0.1.1" + } + }, + "node_modules/styled-jsx": { + "version": "5.1.1", + "resolved": "https://registry.npmmirror.com/styled-jsx/-/styled-jsx-5.1.1.tgz", + "integrity": "sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==", + "dependencies": { + "client-only": "0.0.1" + }, + "engines": { + "node": ">= 12.0.0" + }, + "peerDependencies": { + "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0" + }, + "peerDependenciesMeta": { + "@babel/core": { + "optional": true + }, + "babel-plugin-macros": { + "optional": true + } + } + }, + "node_modules/stylis": { + "version": "4.3.4", + "resolved": "https://registry.npmmirror.com/stylis/-/stylis-4.3.4.tgz", + "integrity": "sha512-osIBl6BGUmSfDkyH2mB7EFvCJntXDrLhKjHTRj/rK6xLH0yuPrHULDRQzKokSOD4VoorhtKpfcfW1GAntu8now==" + }, + "node_modules/sucrase": { + "version": "3.35.0", + "resolved": "https://registry.npmmirror.com/sucrase/-/sucrase-3.35.0.tgz", + "integrity": "sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "glob": "^10.3.10", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "ts-interface-checker": "^0.1.9" + }, + "bin": { + "sucrase": "bin/sucrase", + "sucrase-node": "bin/sucrase-node" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/sucrase/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/sucrase/node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmmirror.com/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/sucrase/node_modules/glob": { + "version": "10.4.2", + "resolved": "https://registry.npmmirror.com/glob/-/glob-10.4.2.tgz", + "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/sucrase/node_modules/minimatch": { + "version": "9.0.4", + "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-9.0.4.tgz", + "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/svg-path-parser": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/svg-path-parser/-/svg-path-parser-1.1.0.tgz", + "integrity": "sha512-jGCUqcQyXpfe38R7RFfhrMyfXcBmpMNJI/B+4CE9/Unkh98UporAc461GTthv+TVDuZXsBx7/WiwJb1Oh4tt4A==" + }, + "node_modules/tailwindcss": { + "version": "3.3.2", + "resolved": "https://registry.npmmirror.com/tailwindcss/-/tailwindcss-3.3.2.tgz", + "integrity": "sha512-9jPkMiIBXvPc2KywkraqsUfbfj+dHDb+JPWtSJa9MLFdrPyazI7q6WX2sUrm7R9eVR7qqv3Pas7EvQFzxKnI6w==", + "dependencies": { + "@alloc/quick-lru": "^5.2.0", + "arg": "^5.0.2", + "chokidar": "^3.5.3", + "didyoumean": "^1.2.2", + "dlv": "^1.1.3", + "fast-glob": "^3.2.12", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "jiti": "^1.18.2", + "lilconfig": "^2.1.0", + "micromatch": "^4.0.5", + "normalize-path": "^3.0.0", + "object-hash": "^3.0.0", + "picocolors": "^1.0.0", + "postcss": "^8.4.23", + "postcss-import": "^15.1.0", + "postcss-js": "^4.0.1", + "postcss-load-config": "^4.0.1", + "postcss-nested": "^6.0.1", + "postcss-selector-parser": "^6.0.11", + "postcss-value-parser": "^4.2.0", + "resolve": "^1.22.2", + "sucrase": "^3.32.0" + }, + "bin": { + "tailwind": "lib/cli.js", + "tailwindcss": "lib/cli.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/tailwindcss-animated": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/tailwindcss-animated/-/tailwindcss-animated-1.1.2.tgz", + "integrity": "sha512-SI4owS5ojserhgEYIZA/uFVdNjU2GMB2P3sjtjmFA52VxoUi+Hht6oR5+RdT+CxrX9cNNYEa+vbTWHvN9zbj3w==", + "peerDependencies": { + "tailwindcss": ">=3.1.0" + } + }, + "node_modules/tailwindcss/node_modules/object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmmirror.com/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/tape": { + "version": "4.17.0", + "resolved": "https://registry.npmmirror.com/tape/-/tape-4.17.0.tgz", + "integrity": "sha512-KCuXjYxCZ3ru40dmND+oCLsXyuA8hoseu2SS404Px5ouyS0A99v8X/mdiLqsR5MTAyamMBN7PRwt2Dv3+xGIxw==", + "dependencies": { + "@ljharb/resumer": "~0.0.1", + "@ljharb/through": "~2.3.9", + "call-bind": "~1.0.2", + "deep-equal": "~1.1.1", + "defined": "~1.0.1", + "dotignore": "~0.1.2", + "for-each": "~0.3.3", + "glob": "~7.2.3", + "has": "~1.0.3", + "inherits": "~2.0.4", + "is-regex": "~1.1.4", + "minimist": "~1.2.8", + "mock-property": "~1.0.0", + "object-inspect": "~1.12.3", + "resolve": "~1.22.6", + "string.prototype.trim": "~1.2.8" + }, + "bin": { + "tape": "bin/tape" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/tape/node_modules/deep-equal": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/deep-equal/-/deep-equal-1.1.2.tgz", + "integrity": "sha512-5tdhKF6DbU7iIzrIOa1AOUt39ZRm13cmL1cGEh//aqR8x9+tNfbywRf0n5FD/18OKMdo7DNEtrX2t22ZAkI+eg==", + "dependencies": { + "is-arguments": "^1.1.1", + "is-date-object": "^1.0.5", + "is-regex": "^1.1.4", + "object-is": "^1.1.5", + "object-keys": "^1.1.1", + "regexp.prototype.flags": "^1.5.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/tape/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmmirror.com/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/tape/node_modules/object-inspect": { + "version": "1.12.3", + "resolved": "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.12.3.tgz", + "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/terser": { + "version": "5.31.6", + "resolved": "https://registry.npmmirror.com/terser/-/terser-5.31.6.tgz", + "integrity": "sha512-PQ4DAriWzKj+qgehQ7LK5bQqCFNMmlhjR2PFFLuqGCpuCAauxemVBWwWOxo3UIwWQx8+Pr61Df++r76wDmkQBg==", + "peer": true, + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/terser-webpack-plugin": { + "version": "5.3.10", + "resolved": "https://registry.npmmirror.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz", + "integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==", + "peer": true, + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.20", + "jest-worker": "^27.4.5", + "schema-utils": "^3.1.1", + "serialize-javascript": "^6.0.1", + "terser": "^5.26.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "uglify-js": { + "optional": true + } + } + }, + "node_modules/terser-webpack-plugin/node_modules/schema-utils": { + "version": "3.3.0", + "resolved": "https://registry.npmmirror.com/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "peer": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/terser/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmmirror.com/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "peer": true + }, + "node_modules/terser/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/terser/node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmmirror.com/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "peer": true, + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmmirror.com/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true + }, + "node_modules/thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmmirror.com/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "node_modules/thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmmirror.com/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/throttle-debounce": { + "version": "5.0.2", + "resolved": "https://registry.npmmirror.com/throttle-debounce/-/throttle-debounce-5.0.2.tgz", + "integrity": "sha512-B71/4oyj61iNH0KeCamLuE2rmKuTO5byTOSVwECM5FA7TiAiAW+UqTKZ9ERueC4qvgSttUhdmq1mXC3kJqGX7A==", + "engines": { + "node": ">=12.22" + } + }, + "node_modules/tinycolor2": { + "version": "1.6.0", + "resolved": "https://registry.npmmirror.com/tinycolor2/-/tinycolor2-1.6.0.tgz", + "integrity": "sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==", + "peer": true + }, + "node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "engines": { + "node": ">=4" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/toggle-selection": { + "version": "1.0.6", + "resolved": "https://registry.npmmirror.com/toggle-selection/-/toggle-selection-1.0.6.tgz", + "integrity": "sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==" + }, + "node_modules/toposort-class": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/toposort-class/-/toposort-class-1.0.1.tgz", + "integrity": "sha512-OsLcGGbYF3rMjPUf8oKktyvCiUxSbqMMS39m33MAjLTC1DVIH6x3WSt63/M77ihI09+Sdfk1AXvfhCEeUmC7mg==" + }, + "node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmmirror.com/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + }, + "node_modules/trim-lines": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/trim-lines/-/trim-lines-3.0.1.tgz", + "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/trough": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/trough/-/trough-2.2.0.tgz", + "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/ts-interface-checker": { + "version": "0.1.13", + "resolved": "https://registry.npmmirror.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==" + }, + "node_modules/tsconfig-paths": { + "version": "3.15.0", + "resolved": "https://registry.npmmirror.com/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", + "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", + "dev": true, + "dependencies": { + "@types/json5": "^0.0.29", + "json5": "^1.0.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + } + }, + "node_modules/tsconfig-paths/node_modules/json5": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "dev": true, + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/tslib": { + "version": "2.7.0", + "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" + }, + "node_modules/tsutils": { + "version": "3.21.0", + "resolved": "https://registry.npmmirror.com/tsutils/-/tsutils-3.21.0.tgz", + "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", + "dev": true, + "dependencies": { + "tslib": "^1.8.1" + }, + "engines": { + "node": ">= 6" + }, + "peerDependencies": { + "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" + } + }, + "node_modules/tsutils/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmmirror.com/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmmirror.com/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmmirror.com/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmmirror.com/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/typed-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", + "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==", + "dependencies": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/typed-array-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz", + "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==", + "dependencies": { + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-byte-offset": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", + "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", + "dependencies": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-length": { + "version": "1.0.6", + "resolved": "https://registry.npmmirror.com/typed-array-length/-/typed-array-length-1.0.6.tgz", + "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", + "dependencies": { + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13", + "possible-typed-array-names": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmmirror.com/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" + }, + "node_modules/typescript": { + "version": "5.1.3", + "resolved": "https://registry.npmmirror.com/typescript/-/typescript-5.1.3.tgz", + "integrity": "sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/uc.micro": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/uc.micro/-/uc.micro-2.1.0.tgz", + "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==" + }, + "node_modules/uglify-js": { + "version": "2.8.29", + "resolved": "https://registry.npmmirror.com/uglify-js/-/uglify-js-2.8.29.tgz", + "integrity": "sha512-qLq/4y2pjcU3vhlhseXGGJ7VbFO4pBANu0kwl8VCa9KEI0V8VfZIx2Fy3w01iSTA/pGwKZSmu/+I4etLNDdt5w==", + "dependencies": { + "source-map": "~0.5.1", + "yargs": "~3.10.0" + }, + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" + }, + "optionalDependencies": { + "uglify-to-browserify": "~1.0.0" + } + }, + "node_modules/uglify-to-browserify": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", + "integrity": "sha512-vb2s1lYx2xBtUgy+ta+b2J/GLVUR+wmpINwHePmPRhOsIVCG2wDzKJ0n14GslH1BifsqVzSOwQhRaCAsZ/nI4Q==", + "optional": true + }, + "node_modules/unbox-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz", + "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "dependencies": { + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/unicorn-magic": { + "version": "0.1.0", + "resolved": "https://registry.npmmirror.com/unicorn-magic/-/unicorn-magic-0.1.0.tgz", + "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", + "dev": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/unified": { + "version": "10.1.2", + "resolved": "https://registry.npmmirror.com/unified/-/unified-10.1.2.tgz", + "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", + "dependencies": { + "@types/unist": "^2.0.0", + "bail": "^2.0.0", + "extend": "^3.0.0", + "is-buffer": "^2.0.0", + "is-plain-obj": "^4.0.0", + "trough": "^2.0.0", + "vfile": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-generated": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/unist-util-generated/-/unist-util-generated-2.0.1.tgz", + "integrity": "sha512-qF72kLmPxAw0oN2fwpWIqbXAVyEqUzDHMsbtPvOudIlUzXYFIeQIuxXQCRCFh22B7cixvU0MG7m3MW8FTq/S+A==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-is": { + "version": "5.2.1", + "resolved": "https://registry.npmmirror.com/unist-util-is/-/unist-util-is-5.2.1.tgz", + "integrity": "sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==", + "dependencies": { + "@types/unist": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-position": { + "version": "4.0.4", + "resolved": "https://registry.npmmirror.com/unist-util-position/-/unist-util-position-4.0.4.tgz", + "integrity": "sha512-kUBE91efOWfIVBo8xzh/uZQ7p9ffYRtUbMRZBNFYwf0RK8koUMx6dGUfwylLOKmaT2cs4wSW96QoYUSXAyEtpg==", + "dependencies": { + "@types/unist": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-stringify-position": { + "version": "3.0.3", + "resolved": "https://registry.npmmirror.com/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", + "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", + "dependencies": { + "@types/unist": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/unist-util-visit/-/unist-util-visit-4.1.2.tgz", + "integrity": "sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==", + "dependencies": { + "@types/unist": "^2.0.0", + "unist-util-is": "^5.0.0", + "unist-util-visit-parents": "^5.1.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit-parents": { + "version": "5.1.3", + "resolved": "https://registry.npmmirror.com/unist-util-visit-parents/-/unist-util-visit-parents-5.1.3.tgz", + "integrity": "sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==", + "dependencies": { + "@types/unist": "^2.0.0", + "unist-util-is": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.0.16", + "resolved": "https://registry.npmmirror.com/update-browserslist-db/-/update-browserslist-db-1.0.16.tgz", + "integrity": "sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "escalade": "^3.1.2", + "picocolors": "^1.0.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmmirror.com/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/use-sync-external-store": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz", + "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + }, + "node_modules/uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmmirror.com/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/uvu": { + "version": "0.5.6", + "resolved": "https://registry.npmmirror.com/uvu/-/uvu-0.5.6.tgz", + "integrity": "sha512-+g8ENReyr8YsOc6fv/NVJs2vFdHBnBNdfE49rshrTzDWOlUx4Gq7KOS2GD8eqhy2j+Ejq29+SbKH8yjkAqXqoA==", + "dependencies": { + "dequal": "^2.0.0", + "diff": "^5.0.0", + "kleur": "^4.0.3", + "sade": "^1.7.3" + }, + "bin": { + "uvu": "bin.js" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/validator": { + "version": "13.12.0", + "resolved": "https://registry.npmmirror.com/validator/-/validator-13.12.0.tgz", + "integrity": "sha512-c1Q0mCiPlgdTVVVIJIrBuxNicYE+t/7oKeI9MWLj3fh/uq2Pxh/3eeWbVZ4OcGW1TUf53At0njHw5SMdA3tmMg==", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/vfile": { + "version": "5.3.7", + "resolved": "https://registry.npmmirror.com/vfile/-/vfile-5.3.7.tgz", + "integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==", + "dependencies": { + "@types/unist": "^2.0.0", + "is-buffer": "^2.0.0", + "unist-util-stringify-position": "^3.0.0", + "vfile-message": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-location": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/vfile-location/-/vfile-location-4.1.0.tgz", + "integrity": "sha512-YF23YMyASIIJXpktBa4vIGLJ5Gs88UB/XePgqPmTa7cDA+JeO3yclbpheQYCHjVHBn/yePzrXuygIL+xbvRYHw==", + "dependencies": { + "@types/unist": "^2.0.0", + "vfile": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-message": { + "version": "3.1.4", + "resolved": "https://registry.npmmirror.com/vfile-message/-/vfile-message-3.1.4.tgz", + "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", + "dependencies": { + "@types/unist": "^2.0.0", + "unist-util-stringify-position": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/void-elements": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/void-elements/-/void-elements-3.1.0.tgz", + "integrity": "sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack": { + "version": "2.4.0", + "resolved": "https://registry.npmmirror.com/watchpack/-/watchpack-2.4.0.tgz", + "integrity": "sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==", + "dependencies": { + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/web-namespaces": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/web-namespaces/-/web-namespaces-2.0.1.tgz", + "integrity": "sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/webcrypto-core": { + "version": "1.8.0", + "resolved": "https://registry.npmmirror.com/webcrypto-core/-/webcrypto-core-1.8.0.tgz", + "integrity": "sha512-kR1UQNH8MD42CYuLzvibfakG5Ew5seG85dMMoAM/1LqvckxaF6pUiidLuraIu4V+YCIFabYecUZAW0TuxAoaqw==", + "dependencies": { + "@peculiar/asn1-schema": "^2.3.8", + "@peculiar/json-schema": "^1.1.12", + "asn1js": "^3.0.1", + "pvtsutils": "^1.3.5", + "tslib": "^2.6.2" + } + }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + }, + "node_modules/webpack": { + "version": "5.94.0", + "resolved": "https://registry.npmmirror.com/webpack/-/webpack-5.94.0.tgz", + "integrity": "sha512-KcsGn50VT+06JH/iunZJedYGUJS5FGjow8wb9c0v5n1Om8O1g4L6LjtfxwlXIATopoQu+vOXXa7gYisWxCoPyg==", + "peer": true, + "dependencies": { + "@types/estree": "^1.0.5", + "@webassemblyjs/ast": "^1.12.1", + "@webassemblyjs/wasm-edit": "^1.12.1", + "@webassemblyjs/wasm-parser": "^1.12.1", + "acorn": "^8.7.1", + "acorn-import-attributes": "^1.9.5", + "browserslist": "^4.21.10", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.17.1", + "es-module-lexer": "^1.2.1", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.11", + "json-parse-even-better-errors": "^2.3.1", + "loader-runner": "^4.2.0", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^3.2.0", + "tapable": "^2.1.1", + "terser-webpack-plugin": "^5.3.10", + "watchpack": "^2.4.1", + "webpack-sources": "^3.2.3" + }, + "bin": { + "webpack": "bin/webpack.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependenciesMeta": { + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/webpack-sources": { + "version": "3.2.3", + "resolved": "https://registry.npmmirror.com/webpack-sources/-/webpack-sources-3.2.3.tgz", + "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", + "peer": true, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/webpack/node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "peer": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/webpack/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "peer": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/webpack/node_modules/schema-utils": { + "version": "3.3.0", + "resolved": "https://registry.npmmirror.com/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "peer": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/webpack/node_modules/watchpack": { + "version": "2.4.2", + "resolved": "https://registry.npmmirror.com/watchpack/-/watchpack-2.4.2.tgz", + "integrity": "sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==", + "peer": true, + "dependencies": { + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-builtin-type": { + "version": "1.1.3", + "resolved": "https://registry.npmmirror.com/which-builtin-type/-/which-builtin-type-1.1.3.tgz", + "integrity": "sha512-YmjsSMDBYsM1CaFiayOVT06+KJeXf0o5M/CAd4o1lTadFAtacTUM49zoYxr/oroopFDfhvN6iEcBxUyc3gvKmw==", + "dev": true, + "dependencies": { + "function.prototype.name": "^1.1.5", + "has-tostringtag": "^1.0.0", + "is-async-function": "^2.0.0", + "is-date-object": "^1.0.5", + "is-finalizationregistry": "^1.0.2", + "is-generator-function": "^1.0.10", + "is-regex": "^1.1.4", + "is-weakref": "^1.0.2", + "isarray": "^2.0.5", + "which-boxed-primitive": "^1.0.2", + "which-collection": "^1.0.1", + "which-typed-array": "^1.1.9" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-collection": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/which-collection/-/which-collection-1.0.2.tgz", + "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==", + "dev": true, + "dependencies": { + "is-map": "^2.0.3", + "is-set": "^2.0.3", + "is-weakmap": "^2.0.2", + "is-weakset": "^2.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-typed-array": { + "version": "1.1.15", + "resolved": "https://registry.npmmirror.com/which-typed-array/-/which-typed-array-1.1.15.tgz", + "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", + "dependencies": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/window-size": { + "version": "0.1.0", + "resolved": "https://registry.npmmirror.com/window-size/-/window-size-0.1.0.tgz", + "integrity": "sha512-1pTPQDKTdd61ozlKGNCjhNRd+KPmgLSGa3mZTHoOliaGcESD8G1PXhh7c1fgiPjVbNVfgy2Faw4BI8/m0cC8Mg==", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/wkx": { + "version": "0.5.0", + "resolved": "https://registry.npmmirror.com/wkx/-/wkx-0.5.0.tgz", + "integrity": "sha512-Xng/d4Ichh8uN4l0FToV/258EjMGU9MGcA0HV2d9B/ZpZB3lqQm7nkOdZdm5GhKtLLhAE7PiVQwN4eN+2YJJUg==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmmirror.com/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wordwrap": { + "version": "0.0.2", + "resolved": "https://registry.npmmirror.com/wordwrap/-/wordwrap-0.0.2.tgz", + "integrity": "sha512-xSBsCeh+g+dinoBv3GAOWM4LcVVO68wLXRanibtBSdUvkGWQRGeE9P7IwU9EmDDi4jA6L44lz15CGMwdw9N5+Q==", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/workerize-loader": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/workerize-loader/-/workerize-loader-2.0.2.tgz", + "integrity": "sha512-HoZ6XY4sHWxA2w0WpzgBwUiR3dv1oo7bS+oCwIpb6n54MclQ/7KXdXsVIChTCygyuHtVuGBO1+i3HzTt699UJQ==", + "peer": true, + "dependencies": { + "loader-utils": "^2.0.0" + }, + "peerDependencies": { + "webpack": "*" + } + }, + "node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmmirror.com/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "engines": { + "node": ">=0.4" + } + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, + "node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmmirror.com/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/yargs": { + "version": "3.10.0", + "resolved": "https://registry.npmmirror.com/yargs/-/yargs-3.10.0.tgz", + "integrity": "sha512-QFzUah88GAGy9lyDKGBqZdkYApt63rCXYBGYnEP4xDJPXNqXXnBDACnbrXnViV6jRSqAePwrATi2i8mfYm4L1A==", + "dependencies": { + "camelcase": "^1.0.2", + "cliui": "^2.1.0", + "decamelize": "^1.0.0", + "window-size": "0.1.0" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmmirror.com/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zod": { + "version": "3.21.4", + "resolved": "https://registry.npmmirror.com/zod/-/zod-3.21.4.tgz", + "integrity": "sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/zustand": { + "version": "4.5.2", + "resolved": "https://registry.npmmirror.com/zustand/-/zustand-4.5.2.tgz", + "integrity": "sha512-2cN1tPkDVkwCy5ickKrI7vijSjPksFRfqS6237NzT0vqSsztTNnQdHw9mmN7uBdk3gceVXU0a+21jFzFzAc9+g==", + "dependencies": { + "use-sync-external-store": "1.2.0" + }, + "engines": { + "node": ">=12.7.0" + }, + "peerDependencies": { + "@types/react": ">=16.8", + "immer": ">=9.0.6", + "react": ">=16.8" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "immer": { + "optional": true + }, + "react": { + "optional": true + } + } + }, + "node_modules/zwitch": { + "version": "2.0.4", + "resolved": "https://registry.npmmirror.com/zwitch/-/zwitch-2.0.4.tgz", + "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + } + } +} diff --git a/web/package.json b/web/package.json index 89ca7009d..b4fd2c54c 100644 --- a/web/package.json +++ b/web/package.json @@ -23,9 +23,12 @@ "dependencies": { "@ant-design/cssinjs": "^1.18.4", "@ant-design/icons": "^5.2.5", + "@antv/algorithm": "^0.1.26", "@antv/ava": "3.5.0-alpha.4", "@antv/g2": "^5.1.8", "@antv/gpt-vis": "^0.0.5", + "@antv/g6": "^5.0.17", + "@antv/graphin": "^3.0.2", "@antv/s2": "^1.51.2", "@berryv/g2-react": "^0.1.0", "@emotion/react": "^11.11.4", @@ -44,12 +47,12 @@ "classnames": "^2.3.2", "cookies-next": "^4.0.0", "copy-to-clipboard": "^3.3.3", - "cytoscape": "^3.29.2", - "cytoscape-euler": "^1.2.2", - "eslint-plugin-prettier": "^5.2.1", "framer-motion": "^10.16.4", "google-auth-library": "^9.2.0", "google-one-tap": "^1.0.6", + "cytoscape": "^3.29.2", + "cytoscape-euler": "^1.2.2", + "eslint-plugin-prettier": "^5.2.1", "dayjs": "^1.11.12", "i18next": "^23.4.5", "iron-session": "^6.3.1", @@ -67,7 +70,6 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "react-i18next": "^13.2.0", - "react-markdown": "^8.0.7", "react-markdown-editor-lite": "^1.3.4", "react-syntax-highlighter": "^15.5.0", "react-virtualized": "^9.22.5", @@ -82,7 +84,6 @@ }, "devDependencies": { "@types/crypto-js": "^4.1.2", - "@types/cytoscape": "^3.21.0", "@types/google-one-tap": "^1.2.4", "@types/lodash": "^4.14.195", "@types/markdown-it": "^14.1.1", @@ -116,5 +117,20 @@ "*.{json,md}": [ "prettier --write" ] + }, + "resolutions": { + "d3-color": "2", + "d3-array": "2", + "d3-shape": "2", + "d3-path": "2", + "d3-dsv": "2", + "d3-hierarchy": "2", + "d3-scale-chromatic": "2", + "d3-format": "2", + "d3-timer": "2", + "d3-dispatch": "2", + "d3-quadtree": "2", + "d3-force": "2", + "d3-geo": "2" } } diff --git a/web/pages/knowledge/graph/index.tsx b/web/pages/knowledge/graph/index.tsx new file mode 100644 index 000000000..b32519795 --- /dev/null +++ b/web/pages/knowledge/graph/index.tsx @@ -0,0 +1,202 @@ +import { apiInterceptors, getGraphVis } from '@/client/api'; +import { RollbackOutlined } from '@ant-design/icons'; +import type { Graph, GraphData, GraphOptions, ID, IPointerEvent, PluginOptions } from '@antv/g6'; +import { idOf } from '@antv/g6'; +import { Graphin } from '@antv/graphin'; +import { Button, Spin } from 'antd'; +import { groupBy } from 'lodash'; +import { useRouter } from 'next/router'; +import { useEffect, useMemo, useRef, useState } from 'react'; +import type { GraphVisResult } from '../../../types/knowledge'; +import { getDegree, getSize, isInCommunity } from '../../../utils/graph'; + +type GraphVisData = GraphVisResult | null; + +const PALETTE = ['#5F95FF', '#61DDAA', '#F6BD16', '#7262FD', '#78D3F8', '#9661BC', '#F6903D', '#008685', '#F08BB4']; + +function GraphVis() { + const LIMIT = 500; + const router = useRouter(); + const [data, setData] = useState(null); + const graphRef = useRef(); + const [isReady, setIsReady] = useState(false); + + const fetchGraphVis = async () => { + const [_, data] = await apiInterceptors(getGraphVis(spaceName as string, { limit: LIMIT })); + setData(data); + }; + + const transformData = (data: GraphVisData): GraphData => { + if (!data) return { nodes: [], edges: [] }; + + const nodes = data.nodes.map(node => ({ id: node.id, data: node })); + const edges = data.edges.map(edge => ({ + source: edge.source, + target: edge.target, + data: edge, + })); + + return { nodes, edges }; + }; + + const back = () => { + router.push(`/construct/knowledge`); + }; + + const { + query: { spaceName }, + } = useRouter(); + + useEffect(() => { + if (spaceName) fetchGraphVis(); + }, [spaceName]); + + const graphData = useMemo(() => transformData(data), [data]); + + useEffect(() => { + if (isReady && graphRef.current) { + const groupedNodes = groupBy(graphData.nodes, node => node.data!.communityId); + const plugins: PluginOptions = []; + Object.entries(groupedNodes).forEach(([key, nodes]) => { + if (!key || nodes.length < 2) return; + const color = graphRef.current?.getElementRenderStyle(idOf(nodes[0])).fill; + plugins.push({ + key, + type: 'bubble-sets', + members: nodes.map(idOf), + stroke: color, + fill: color, + fillOpacity: 0.1, + }); + }); + + graphRef.current.setPlugins(prev => [...prev, ...plugins]); + } + }, [isReady]); + + const getNodeSize = (nodeId: ID) => { + return getSize(getNodeDegree(nodeId)); + }; + + const getNodeDegree = (nodeId?: ID) => { + if (!nodeId) return 0; + return getDegree(graphData.edges!, nodeId); + }; + + const options: GraphOptions = { + data: graphData, + autoFit: 'center', + node: { + style: d => { + const style = { + size: getNodeSize(idOf(d)), + label: true, + labelLineWidth: 2, + labelText: d.data?.name as string, + labelFontSize: 10, + labelBackground: true, + labelBackgroundFill: '#e5e7eb', + labelPadding: [0, 6], + labelBackgroundRadius: 4, + labelMaxWidth: '400%', + labelWordWrap: true, + }; + if (!isInCommunity(graphData, idOf(d))) { + Object.assign(style, { fill: '#b0b0b0' }); + } + return style; + }, + state: { + active: { + lineWidth: 2, + labelWordWrap: false, + labelFontSize: 12, + labelFontWeight: 'bold', + }, + inactive: { + label: false, + }, + }, + palette: { + type: 'group', + field: 'communityId', + color: PALETTE, + }, + }, + edge: { + style: { + lineWidth: 1, + stroke: '#e2e2e2', + endArrow: true, + endArrowType: 'vee', + label: true, + labelFontSize: 8, + labelBackground: true, + labelText: e => e.data!.name as string, + labelBackgroundFill: '#e5e7eb', + labelPadding: [0, 6], + labelBackgroundRadius: 4, + labelMaxWidth: '60%', + labelWordWrap: true, + }, + state: { + active: { + stroke: '#b0b0b0', + labelWordWrap: false, + labelFontSize: 10, + labelFontWeight: 'bold', + }, + inactive: { + label: false, + }, + }, + }, + behaviors: [ + 'drag-canvas', + 'zoom-canvas', + 'drag-element', + { + type: 'hover-activate', + degree: 1, + state: 'active', + enable: (event: IPointerEvent) => ['node'].includes(event.targetType), + }, + ], + animation: false, + layout: { + type: 'force', + preventOverlap: true, + nodeSize: d => getNodeSize(d?.id as ID), + linkDistance: edge => { + const { source, target } = edge as { source: ID; target: ID }; + const nodeSize = Math.min(getNodeSize(source), getNodeSize(target)); + const degree = Math.min(getNodeDegree(source), getNodeDegree(target)); + return degree === 1 ? nodeSize * 2 : Math.min(degree * nodeSize * 1.5, 700); + }, + }, + transforms: ['process-parallel-edges'], + }; + + if (!data) return ; + + return ( +
    + { + graphRef.current = ref; + }} + style={{ height: '100%', width: '100%' }} + options={options} + onReady={() => { + setIsReady(true); + }} + > + + +
    + ); +} + +export default GraphVis; diff --git a/web/utils/graph.ts b/web/utils/graph.ts new file mode 100644 index 000000000..d3e5331ba --- /dev/null +++ b/web/utils/graph.ts @@ -0,0 +1,84 @@ +import type { EdgeData, GraphData, ID } from '@antv/g6'; +import { idOf } from '@antv/g6'; +import { groupBy, pick } from 'lodash'; + +/** + * Reassign the layout style to the original graph data + * @param model - original graph data + * @param layoutResult - layout result + */ +export function reassignLayoutStyle(model: GraphData, layoutResult: GraphData) { + layoutResult.nodes?.forEach(layoutNode => { + const modelNode = model.nodes?.find(node => node.id === layoutNode.id); + if (modelNode?.style) Object.assign(modelNode.style || {}, pick(layoutNode.style, ['x', 'y', 'z'])); + }); +} + +/** + * Calculate node size based on degree + * @param degree - degree of the node + * @param minSize - minimum size of the node + * @param maxSize - maximum size of the node + * @param minDegree - minimum degree + * @param maxDegree - maximum degree + * @returns size of the node + */ +export function getSize(degree: number, minSize = 24, maxSize = 60, minDegree = 1, maxDegree = 10): number { + const _degree = Math.max(minDegree, Math.min(maxDegree, degree)); + + const size = minSize + ((_degree - minDegree) / (maxDegree - minDegree)) * (maxSize - minSize); + + return size; +} + +/** + * Get node degree, means the number of edges connected to the node + * @param edges - all edges data + * @param nodeId - node id + * @returns degree of the node + */ +export function getDegree(edges: EdgeData[], nodeId: ID) { + return getRelatedEdgesData(edges, nodeId).length; +} + +/** + * Get related edges data of a node + * @param edges - all edges data + * @param nodeId - node id + * @returns related edges data + */ +export function getRelatedEdgesData(edges: EdgeData[], nodeId: ID) { + return edges.filter(edge => edge.source === nodeId || edge.target === nodeId); +} + +/** + * Concatenate the labels of the related edges to the node as the node's edge key + * @param edges - all edges data + * @param nodeId - node id + * @returns edge key + */ +export function getCommunityId(edges: EdgeData[], nodeId: ID) { + const relatedEdges = getRelatedEdgesData(edges, nodeId); + const key = relatedEdges + .map(edge => { + const direction = edge.source === nodeId ? '->' : '<-'; + const otherEnd = edge.source === nodeId ? edge.target : edge.source; + return `${direction}_${edge.data!.label}_${otherEnd}`; + }) + .sort() + .join('+'); + return key; +} + +/** + * Whether the node is in a community(same communityId) with more than `limit` nodes + * @param data - graph data + * @param nodeId - node id + * @param limit - limit + * @returns boolean + */ +export function isInCommunity(data: GraphData, nodeId: string, limit = 2) { + const groupedNodes = groupBy(data.nodes, node => node.data!.communityId); + const filtered = Object.values(groupedNodes).find(nodes => nodes.map(idOf).includes(nodeId))!; + return filtered.length > limit; +} diff --git a/web/yarn.lock b/web/yarn.lock new file mode 100644 index 000000000..559931023 --- /dev/null +++ b/web/yarn.lock @@ -0,0 +1,10640 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@alloc/quick-lru@^5.2.0": + version "5.2.0" + resolved "https://registry.npmmirror.com/@alloc/quick-lru/-/quick-lru-5.2.0.tgz" + integrity sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw== + +"@amap/amap-jsapi-loader@^1.0.1": + version "1.0.1" + resolved "https://registry.npmmirror.com/@amap/amap-jsapi-loader/-/amap-jsapi-loader-1.0.1.tgz#9ec4b4d5d2467eac451f6c852e35db69e9f9f0c0" + integrity sha512-nPyLKt7Ow/ThHLkSvn2etQlUzqxmTVgK7bIgwdBRTg2HK5668oN7xVxkaiRe3YZEzGzfV2XgH5Jmu2T73ljejw== + +"@ant-design/charts-util@0.0.1-alpha.6": + version "0.0.1-alpha.6" + resolved "https://registry.npmmirror.com/@ant-design/charts-util/-/charts-util-0.0.1-alpha.6.tgz#09903d28a15d86cc73fafef5383a5a3f932811bb" + integrity sha512-roZobGkUJ0WqULPiQkX/2j01r6Cn0W6WTVpszq9u8dZKwyrSDr+UgfA/hDmrwOm9TWD9HAxe7aRHnvC06dux8w== + +"@ant-design/colors@^7.0.0", "@ant-design/colors@^7.1.0": + version "7.1.0" + resolved "https://registry.npmmirror.com/@ant-design/colors/-/colors-7.1.0.tgz" + integrity sha512-MMoDGWn1y9LdQJQSHiCC20x3uZ3CwQnv9QMz6pCmJOrqdgM9YxsoVVY0wtrdXbmfSgnV0KNk6zi09NAhMR2jvg== + dependencies: + "@ctrl/tinycolor" "^3.6.1" + +"@ant-design/cssinjs-utils@^1.0.3": + version "1.0.3" + resolved "https://registry.npmmirror.com/@ant-design/cssinjs-utils/-/cssinjs-utils-1.0.3.tgz" + integrity sha512-BrztZZKuoYcJK8uEH40ylBemf/Mu/QPiDos56g2bv6eUoniQkgQHOCOvA3+pncoFO1TaS8xcUCIqGzDA0I+ZVQ== + dependencies: + "@ant-design/cssinjs" "^1.21.0" + "@babel/runtime" "^7.23.2" + rc-util "^5.38.0" + +"@ant-design/cssinjs@^1.18.4", "@ant-design/cssinjs@^1.21.0": + version "1.21.1" + resolved "https://registry.npmmirror.com/@ant-design/cssinjs/-/cssinjs-1.21.1.tgz" + integrity sha512-tyWnlK+XH7Bumd0byfbCiZNK43HEubMoCcu9VxwsAwiHdHTgWa+tMN0/yvxa+e8EzuFP1WdUNNPclRpVtD33lg== + dependencies: + "@babel/runtime" "^7.11.1" + "@emotion/hash" "^0.8.0" + "@emotion/unitless" "^0.7.5" + classnames "^2.3.1" + csstype "^3.1.3" + rc-util "^5.35.0" + stylis "^4.3.3" + +"@ant-design/fast-color@^2.0.6": + version "2.0.6" + resolved "https://registry.npmmirror.com/@ant-design/fast-color/-/fast-color-2.0.6.tgz" + integrity sha512-y2217gk4NqL35giHl72o6Zzqji9O7vHh9YmhUVkPtAOpoTCH4uWxo/pr4VE8t0+ChEPs0qo4eJRC5Q1eXWo3vA== + dependencies: + "@babel/runtime" "^7.24.7" + +"@ant-design/icons-svg@^4.4.0": + version "4.4.2" + resolved "https://registry.npmmirror.com/@ant-design/icons-svg/-/icons-svg-4.4.2.tgz" + integrity sha512-vHbT+zJEVzllwP+CM+ul7reTEfBR0vgxFe7+lREAsAA7YGsYpboiq2sQNeQeRvh09GfQgs/GyFEvZpJ9cLXpXA== + +"@ant-design/icons@^5.2.5", "@ant-design/icons@^5.4.0": + version "5.4.0" + resolved "https://registry.npmmirror.com/@ant-design/icons/-/icons-5.4.0.tgz" + integrity sha512-QZbWC5xQYexCI5q4/fehSEkchJr5UGtvAJweT743qKUQQGs9IH2DehNLP49DJ3Ii9m9CijD2HN6fNy3WKhIFdA== + dependencies: + "@ant-design/colors" "^7.0.0" + "@ant-design/icons-svg" "^4.4.0" + "@babel/runtime" "^7.24.8" + classnames "^2.2.6" + rc-util "^5.31.1" + +"@ant-design/plots@^2.2.5": + version "2.3.1" + resolved "https://registry.npmmirror.com/@ant-design/plots/-/plots-2.3.1.tgz#9ef6ea946c3669c67dc8741ea1f3fd1cd7a98a74" + integrity sha512-qqnr4s2kRF5L6F04bzvK/fjKdQoj9ZVX9L1UXiw5vLnnqUO/rgNP+FFbI4mwgjibER4QEQYZ7chb3yo/pejAow== + dependencies: + "@ant-design/charts-util" "0.0.1-alpha.6" + "@antv/event-emitter" "^0.1.3" + "@antv/g" "^6.0.0" + "@antv/g2" "^5.1.18" + "@antv/g2-extension-plot" "^0.2.0" + lodash "^4.17.21" + +"@ant-design/react-slick@~1.1.2": + version "1.1.2" + resolved "https://registry.npmmirror.com/@ant-design/react-slick/-/react-slick-1.1.2.tgz" + integrity sha512-EzlvzE6xQUBrZuuhSAFTdsr4P2bBBHGZwKFemEfq8gIGyIQCxalYfZW/T2ORbtQx5rU69o+WycP3exY/7T1hGA== + dependencies: + "@babel/runtime" "^7.10.4" + classnames "^2.2.5" + json2mq "^0.2.0" + resize-observer-polyfill "^1.5.1" + throttle-debounce "^5.0.0" + +"@antv/algorithm@^0.1.26": + version "0.1.26" + resolved "https://registry.npmmirror.com/@antv/algorithm/-/algorithm-0.1.26.tgz" + integrity sha512-DVhcFSQ8YQnMNW34Mk8BSsfc61iC1sAnmcfYoXTAshYHuU50p/6b7x3QYaGctDNKWGvi1ub7mPcSY0bK+aN0qg== + dependencies: + "@antv/util" "^2.0.13" + tslib "^2.0.0" + +"@antv/antv-spec@^0.1.0-alpha.18": + version "0.1.0-alpha.18" + resolved "https://registry.npmmirror.com/@antv/antv-spec/-/antv-spec-0.1.0-alpha.18.tgz" + integrity sha512-30IdqLDdJFYZ/jXpaELYQEkwfR6qA0GoZ8+Wcu0ougYi5KPhM6W7OibFjofQUpPtIBIhMpW7zRcxW7gzFJVgvg== + +"@antv/async-hook@^2.2.9": + version "2.2.9" + resolved "https://registry.npmmirror.com/@antv/async-hook/-/async-hook-2.2.9.tgz#4664c53d8a6af8107e7c07d6b1398572d54d3ffb" + integrity sha512-4BUp2ZUaTi2fYL67Ltkf6eV912rYJeSBokGhd5fhhnpUkMA1LEI1mg97Pqmx3yC50VEQ+LKXZxj9ePZs80ECfw== + dependencies: + async "^3.1.1" + +"@antv/ava@3.5.0-alpha.4": + version "3.5.0-alpha.4" + resolved "https://registry.npmmirror.com/@antv/ava/-/ava-3.5.0-alpha.4.tgz" + integrity sha512-gbJ+qz8gZwpVZSnR92LedOZ9Ky+Cu5tnm82QK55kaqJ1uSt9lcnlFQg67UngN8hoo8p4/ghTPj3M8Dn7AW1TLQ== + dependencies: + "@antv/antv-spec" "^0.1.0-alpha.18" + "@antv/color-schema" "^0.2.3" + "@antv/g2" "^5.0.8" + "@antv/smart-color" "^0.2.1" + bayesian-changepoint "^1.0.1" + csstype "^3.1.2" + heap-js "^2.1.6" + lodash "^4.17.21" + regression "^2.0.1" + tapable "^2.2.1" + tslib "^2.3.1" + +"@antv/color-schema@^0.2.2", "@antv/color-schema@^0.2.3": + version "0.2.3" + resolved "https://registry.npmmirror.com/@antv/color-schema/-/color-schema-0.2.3.tgz" + integrity sha512-lHkN/MHQ5nnuv2fmo2jy0j9mSIddYClvDLrucH5WdXnZRNW/Y7od4iO2H0caqLoYLC7rAtzrSsoA2MD1RUvIeQ== + dependencies: + "@types/chroma-js" "^2.1.3" + +"@antv/component@^2.0.0": + version "2.0.1" + resolved "https://registry.npmmirror.com/@antv/component/-/component-2.0.1.tgz" + integrity sha512-VldsSv2O/JNjZYenFIzmtLeC+KD2RcpNARsCLKpi04Iz26joQ3uMtnwxM5W4bd/SCJYKp+eeQeMHMAbwaNR1pw== + dependencies: + "@antv/g" "^6.0.5" + "@antv/scale" "^0.4.3" + "@antv/util" "^3.3.5" + svg-path-parser "^1.1.0" + +"@antv/component@^2.0.3": + version "2.0.4" + resolved "https://registry.npmmirror.com/@antv/component/-/component-2.0.4.tgz" + integrity sha512-1bqDP98gCZhgAK34SGjQk2LI0BoY+VPA3iO74hM+bjSug33V99baoB29ahO+E/upf/o0aiOhkYN/lM3zWKeCxg== + dependencies: + "@antv/g" "^6.0.5" + "@antv/scale" "^0.4.3" + "@antv/util" "^3.3.5" + svg-path-parser "^1.1.0" + +"@antv/coord@^0.4.6": + version "0.4.7" + resolved "https://registry.npmmirror.com/@antv/coord/-/coord-0.4.7.tgz" + integrity sha512-UTbrMLhwJUkKzqJx5KFnSRpU3BqrdLORJbwUbHK2zHSCT3q3bjcFA//ZYLVfIlwqFDXp/hzfMyRtp0c77A9ZVA== + dependencies: + "@antv/scale" "^0.4.12" + "@antv/util" "^2.0.13" + gl-matrix "^3.4.3" + +"@antv/event-emitter@^0.1.1", "@antv/event-emitter@^0.1.2", "@antv/event-emitter@^0.1.3", "@antv/event-emitter@~0.1.2": + version "0.1.3" + resolved "https://registry.npmmirror.com/@antv/event-emitter/-/event-emitter-0.1.3.tgz" + integrity sha512-4ddpsiHN9Pd4UIlWuKVK1C4IiZIdbwQvy9i7DUSI3xNJ89FPUFt8lxDYj8GzzfdllV0NkJTRxnG+FvLk0llidg== + +"@antv/g-base@^0.5.12": + version "0.5.16" + resolved "https://registry.npmmirror.com/@antv/g-base/-/g-base-0.5.16.tgz" + integrity sha512-jP06wggTubDPHXoKwFg3/f1lyxBX9ywwN3E/HG74Nd7DXqOXQis8tsIWW+O6dS/h9vyuXLd1/wDWkMMm3ZzXdg== + dependencies: + "@antv/event-emitter" "^0.1.1" + "@antv/g-math" "^0.1.9" + "@antv/matrix-util" "^3.1.0-beta.1" + "@antv/path-util" "~2.0.5" + "@antv/util" "~2.0.13" + "@types/d3-timer" "^2.0.0" + d3-ease "^1.0.5" + d3-interpolate "^3.0.1" + d3-timer "^1.0.9" + detect-browser "^5.1.0" + tslib "^2.0.3" + +"@antv/g-camera-api@2.0.11": + version "2.0.11" + resolved "https://registry.npmmirror.com/@antv/g-camera-api/-/g-camera-api-2.0.11.tgz" + integrity sha512-wgF0zLixf9mDZvFXItnX9VLTxLM0mDSJvMRQ0pPPhFbMCDyewECLskBfU8a7tdQuIMjKEHiJmsrFVoheZTUZxQ== + dependencies: + "@antv/g-lite" "2.0.8" + "@antv/util" "^3.3.5" + gl-matrix "^3.4.3" + tslib "^2.5.3" + +"@antv/g-canvas@^0.5.12": + version "0.5.17" + resolved "https://registry.npmmirror.com/@antv/g-canvas/-/g-canvas-0.5.17.tgz" + integrity sha512-sXYJMWTOlb/Ycb6sTKu00LcJqInXJY4t99+kSM40u2OfqrXYmaXDjHR7D2V0roMkbK/QWiWS9UnEidCR1VtMOA== + dependencies: + "@antv/g-base" "^0.5.12" + "@antv/g-math" "^0.1.9" + "@antv/matrix-util" "^3.1.0-beta.1" + "@antv/path-util" "~2.0.5" + "@antv/util" "~2.0.0" + gl-matrix "^3.0.0" + tslib "^2.0.3" + +"@antv/g-canvas@^2.0.0": + version "2.0.7" + resolved "https://registry.npmmirror.com/@antv/g-canvas/-/g-canvas-2.0.7.tgz" + integrity sha512-tHa3Jq2B9EHDg8Icchxa+9z6TaTh4F0iVBqemj714XqPZfSf2cb+mr/AtqNsB25yCqosX31m8NsA+Ci18N2A1A== + dependencies: + "@antv/g-lite" "2.0.5" + "@antv/g-plugin-canvas-path-generator" "2.0.5" + "@antv/g-plugin-canvas-picker" "2.0.6" + "@antv/g-plugin-canvas-renderer" "2.0.6" + "@antv/g-plugin-dom-interaction" "2.0.5" + "@antv/g-plugin-html-renderer" "2.0.6" + "@antv/g-plugin-image-loader" "2.0.5" + "@antv/util" "^3.3.5" + tslib "^2.5.3" + +"@antv/g-canvas@^2.0.10": + version "2.0.11" + resolved "https://registry.npmmirror.com/@antv/g-canvas/-/g-canvas-2.0.11.tgz" + integrity sha512-daJeBk91g3rzae2YeHA20ind/HWXqL4lO1tSzLRAahpYlOBGQg7iK3TVU/qBMtMJPfZ1WDZY125Uw18bh6WEiw== + dependencies: + "@antv/g-lite" "2.0.8" + "@antv/g-plugin-canvas-path-generator" "2.0.8" + "@antv/g-plugin-canvas-picker" "2.0.9" + "@antv/g-plugin-canvas-renderer" "2.0.9" + "@antv/g-plugin-dom-interaction" "2.0.8" + "@antv/g-plugin-html-renderer" "2.0.10" + "@antv/g-plugin-image-loader" "2.0.8" + "@antv/util" "^3.3.5" + tslib "^2.5.3" + +"@antv/g-device-api@^1.6.4": + version "1.6.12" + resolved "https://registry.npmmirror.com/@antv/g-device-api/-/g-device-api-1.6.12.tgz#92ee537e9d33ff8d4c5f19fdf4a5eda25855fb25" + integrity sha512-bOLA3MqvPFbTNNhrNyEpyYzAC8gHPioJHqKtPfAfdXBec+to2nciQoihGhRrosDwjAQLBLtVF+nc7zG2DnHgcg== + dependencies: + "@antv/util" "^3.3.4" + "@webgpu/types" "^0.1.34" + eventemitter3 "^5.0.1" + gl-matrix "^3.4.3" + tslib "^2.5.3" + +"@antv/g-dom-mutation-observer-api@2.0.8": + version "2.0.8" + resolved "https://registry.npmmirror.com/@antv/g-dom-mutation-observer-api/-/g-dom-mutation-observer-api-2.0.8.tgz" + integrity sha512-SeQ3CtdtUMWrQD4HgQH+o8ayP30yeZwBMFnplsiEzJxYAqt9Clh8EXJtUAVP7sjznKiYmLvFZW53uu2bUlPyTw== + dependencies: + "@antv/g-lite" "2.0.8" + +"@antv/g-gesture@^1.0.1": + version "1.0.1" + resolved "https://registry.npmmirror.com/@antv/g-gesture/-/g-gesture-1.0.1.tgz" + integrity sha512-7zANDfE/aWSWTetJO8uKcI/rvnGPzpfsga0F3IuLKcVjWwSAHocmccMz0bzkltNcm43UY1C2vX2HCBKMCwDdvg== + dependencies: + "@antv/event-emitter" "~0.1.2" + d3-ease "^1.0.5" + +"@antv/g-lite@2.0.5": + version "2.0.5" + resolved "https://registry.npmmirror.com/@antv/g-lite/-/g-lite-2.0.5.tgz" + integrity sha512-IeD7L10MOofNg302Zrru09zjNczCyOAC6mFLjHQlkYCQRtcU04zn32pTxCDy7xRkLHlhAK1mlymBqzeRMkmrRg== + dependencies: + "@antv/g-math" "3.0.0" + "@antv/util" "^3.3.5" + d3-color "^3.1.0" + eventemitter3 "^5.0.1" + gl-matrix "^3.4.3" + rbush "^3.0.1" + tslib "^2.5.3" + +"@antv/g-lite@2.0.8": + version "2.0.8" + resolved "https://registry.npmmirror.com/@antv/g-lite/-/g-lite-2.0.8.tgz" + integrity sha512-heq4GGHZD4Mk9QbgvjCjZO+sjlxHHmxw1uWZLdxfCSKZKF79AVJ2Srx1Eu0WwL+UnsAgwdmlWKBWh4YLx0Y4XQ== + dependencies: + "@antv/g-math" "3.0.0" + "@antv/util" "^3.3.5" + d3-color "^3.1.0" + eventemitter3 "^5.0.1" + gl-matrix "^3.4.3" + rbush "^3.0.1" + tslib "^2.5.3" + +"@antv/g-math@3.0.0": + version "3.0.0" + resolved "https://registry.npmmirror.com/@antv/g-math/-/g-math-3.0.0.tgz" + integrity sha512-AkmiNIEL1vgqTPeGY2wtsMdBBqKFwF7SKSgs+D1iOS/rqYMsXdhp/HvtuQ5tx/HdawE/ZzTiicIYopc520ADZw== + dependencies: + "@antv/util" "^3.3.5" + gl-matrix "^3.4.3" + tslib "^2.5.3" + +"@antv/g-math@^0.1.9": + version "0.1.9" + resolved "https://registry.npmmirror.com/@antv/g-math/-/g-math-0.1.9.tgz" + integrity sha512-KHMSfPfZ5XHM1PZnG42Q2gxXfOitYveNTA7L61lR6mhZ8Y/aExsYmHqaKBsSarU0z+6WLrl9C07PQJZaw0uljQ== + dependencies: + "@antv/util" "~2.0.0" + gl-matrix "^3.0.0" + +"@antv/g-plugin-canvas-path-generator@2.0.5": + version "2.0.5" + resolved "https://registry.npmmirror.com/@antv/g-plugin-canvas-path-generator/-/g-plugin-canvas-path-generator-2.0.5.tgz" + integrity sha512-O1TCCmrzJDWrA9BG2MfPb79zY23a2fOugygeAaj9CElc/rO5ZqZ4lO4NJe4UCHRInTTXJjGwPnIcmX24Gi6O/A== + dependencies: + "@antv/g-lite" "2.0.5" + "@antv/g-math" "3.0.0" + "@antv/util" "^3.3.5" + tslib "^2.5.3" + +"@antv/g-plugin-canvas-path-generator@2.0.8": + version "2.0.8" + resolved "https://registry.npmmirror.com/@antv/g-plugin-canvas-path-generator/-/g-plugin-canvas-path-generator-2.0.8.tgz" + integrity sha512-UPwFhzFxPYmKwsdTZ2cOf/R2GPCG0iXNQjt0422xuYod9ZGMWLgjp3s11a3iXDjJLD2WCPHVF2YsxV0RO4+N4Q== + dependencies: + "@antv/g-lite" "2.0.8" + "@antv/g-math" "3.0.0" + "@antv/util" "^3.3.5" + tslib "^2.5.3" + +"@antv/g-plugin-canvas-picker@2.0.6": + version "2.0.6" + resolved "https://registry.npmmirror.com/@antv/g-plugin-canvas-picker/-/g-plugin-canvas-picker-2.0.6.tgz" + integrity sha512-QD9Z6YA29iJC36mQxd+qSX5tNlQZ41M4nGWY/iepKnOwAf9Rm+X4AgyIxKOrjg/rkRgUv2WR0Dp2eMfKUqm/Ng== + dependencies: + "@antv/g-lite" "2.0.5" + "@antv/g-math" "3.0.0" + "@antv/g-plugin-canvas-path-generator" "2.0.5" + "@antv/g-plugin-canvas-renderer" "2.0.6" + "@antv/util" "^3.3.5" + gl-matrix "^3.4.3" + tslib "^2.5.3" + +"@antv/g-plugin-canvas-picker@2.0.9": + version "2.0.9" + resolved "https://registry.npmmirror.com/@antv/g-plugin-canvas-picker/-/g-plugin-canvas-picker-2.0.9.tgz" + integrity sha512-9vBDSud/NuFfq+AA044N2KIqRbFdS3+whS4BD12jbRjiIIwB34ttfuwNCZVU/BoFy/Q72t28UrKPA+/LqxFyzw== + dependencies: + "@antv/g-lite" "2.0.8" + "@antv/g-math" "3.0.0" + "@antv/g-plugin-canvas-path-generator" "2.0.8" + "@antv/g-plugin-canvas-renderer" "2.0.9" + "@antv/util" "^3.3.5" + gl-matrix "^3.4.3" + tslib "^2.5.3" + +"@antv/g-plugin-canvas-renderer@2.0.6": + version "2.0.6" + resolved "https://registry.npmmirror.com/@antv/g-plugin-canvas-renderer/-/g-plugin-canvas-renderer-2.0.6.tgz" + integrity sha512-65uoJ2XJcUeGDYxnMxsGkdvaNNmEy79QEstr//as8hH+ssyUZJhBLgsDnhLqBQWYQGb7fXMPG0rUEesfjGOYkg== + dependencies: + "@antv/g-lite" "2.0.5" + "@antv/g-math" "3.0.0" + "@antv/g-plugin-canvas-path-generator" "2.0.5" + "@antv/g-plugin-image-loader" "2.0.5" + "@antv/util" "^3.3.5" + gl-matrix "^3.4.3" + tslib "^2.5.3" + +"@antv/g-plugin-canvas-renderer@2.0.9": + version "2.0.9" + resolved "https://registry.npmmirror.com/@antv/g-plugin-canvas-renderer/-/g-plugin-canvas-renderer-2.0.9.tgz" + integrity sha512-cDM5O78M5yVzaQQ0InacxVSEsoSjhFGLoATpXIvbK9689vF6nCJAWLT4qc/59jQA9AFL9G4WXEIHng7kLlJtrQ== + dependencies: + "@antv/g-lite" "2.0.8" + "@antv/g-math" "3.0.0" + "@antv/g-plugin-canvas-path-generator" "2.0.8" + "@antv/g-plugin-image-loader" "2.0.8" + "@antv/util" "^3.3.5" + gl-matrix "^3.4.3" + tslib "^2.5.3" + +"@antv/g-plugin-dom-interaction@2.0.5": + version "2.0.5" + resolved "https://registry.npmmirror.com/@antv/g-plugin-dom-interaction/-/g-plugin-dom-interaction-2.0.5.tgz" + integrity sha512-m4LeXM63d+MqQguCgmZU8TvvfuLlZ9zrtKWtRr6gYhi0+98o/3+pPrluIZhZHdgplH209+nN2JQ/ceoWp4OrZA== + dependencies: + "@antv/g-lite" "2.0.5" + tslib "^2.5.3" + +"@antv/g-plugin-dom-interaction@2.0.8": + version "2.0.8" + resolved "https://registry.npmmirror.com/@antv/g-plugin-dom-interaction/-/g-plugin-dom-interaction-2.0.8.tgz" + integrity sha512-hxw30xL42Om29LdKoqsKMYAAhpz+DZGdeZRoLmiH7ObZwgj6CLCfdBVwvqWHWo0D1tN5452rrPiPfw9hKTSm/A== + dependencies: + "@antv/g-lite" "2.0.8" + tslib "^2.5.3" + +"@antv/g-plugin-dragndrop@^2.0.0", "@antv/g-plugin-dragndrop@^2.0.8": + version "2.0.8" + resolved "https://registry.npmmirror.com/@antv/g-plugin-dragndrop/-/g-plugin-dragndrop-2.0.8.tgz" + integrity sha512-TC4PyQK3jG074XuLQF1lS+aeq4GJbvs7ioQJuABXAj/B1WtB7r7XFDeQfSN8uSaCQQKz4ZfFuY5PxDYwHESywA== + dependencies: + "@antv/g-lite" "2.0.8" + "@antv/util" "^3.3.5" + tslib "^2.5.3" + +"@antv/g-plugin-html-renderer@2.0.10": + version "2.0.10" + resolved "https://registry.npmmirror.com/@antv/g-plugin-html-renderer/-/g-plugin-html-renderer-2.0.10.tgz" + integrity sha512-AVjnil2KnTeHGBkOTG6K7ZA1lzQt2R13dLose10Jkom0sEA91yDn1MDd5VxP97gLaqdStGjKgpPprEQXYVf8hA== + dependencies: + "@antv/g-lite" "2.0.8" + "@antv/util" "^3.3.5" + gl-matrix "^3.4.3" + tslib "^2.5.3" + +"@antv/g-plugin-html-renderer@2.0.6": + version "2.0.6" + resolved "https://registry.npmmirror.com/@antv/g-plugin-html-renderer/-/g-plugin-html-renderer-2.0.6.tgz" + integrity sha512-dk0GHksBeuZlHFK/ARr6WRXQLuBQtsl7lboYQWXUVTlk+lIFq1n459hpukKokah89bRvnSAuqMVlBqEsyjn+nw== + dependencies: + "@antv/g-lite" "2.0.5" + "@antv/util" "^3.3.5" + gl-matrix "^3.4.3" + tslib "^2.5.3" + +"@antv/g-plugin-image-loader@2.0.5": + version "2.0.5" + resolved "https://registry.npmmirror.com/@antv/g-plugin-image-loader/-/g-plugin-image-loader-2.0.5.tgz" + integrity sha512-TMpwOW4KibMtKOZZVMZHny+LOrWGjl1GP+i3N8sQx97oDaxIoNIB789XriuovKU/S71Y77ZTrqQdldknwWY24A== + dependencies: + "@antv/g-lite" "2.0.5" + "@antv/util" "^3.3.5" + gl-matrix "^3.4.3" + tslib "^2.5.3" + +"@antv/g-plugin-image-loader@2.0.8": + version "2.0.8" + resolved "https://registry.npmmirror.com/@antv/g-plugin-image-loader/-/g-plugin-image-loader-2.0.8.tgz" + integrity sha512-OFbtNLHT8N1jANvuNQSapHt8d/QymmhzWWass7bczHC/lRn8OId57c+FRJxg7ht7zwergf3I/vuTdeGvN4YlWQ== + dependencies: + "@antv/g-lite" "2.0.8" + "@antv/util" "^3.3.5" + gl-matrix "^3.4.3" + tslib "^2.5.3" + +"@antv/g-web-animations-api@2.0.9": + version "2.0.9" + resolved "https://registry.npmmirror.com/@antv/g-web-animations-api/-/g-web-animations-api-2.0.9.tgz" + integrity sha512-ekAB/OVaIBegNjtjydR9cmCZF67SK0w38aOj6n39G8EeOnCD2vOdV3grAIPWkjYU0oixoQ6IYQUXc+3nMZ0Txg== + dependencies: + "@antv/g-lite" "2.0.8" + "@antv/util" "^3.3.5" + tslib "^2.5.3" + +"@antv/g2-extension-plot@^0.2.0": + version "0.2.1" + resolved "https://registry.npmmirror.com/@antv/g2-extension-plot/-/g2-extension-plot-0.2.1.tgz#664a3cdf2d4d708ed1231ee90d984812b6226d29" + integrity sha512-WNv/LIUNJLwlfG8XXmKUbje9PbImtJqh36UDvuOk/uu+kmP/uMyHAXsBuu0yCOWdQgBVTVwoxszxJOCnY4mVfg== + dependencies: + "@antv/g2" "^5.1.8" + "@antv/util" "^3.3.5" + d3-array "^3.2.4" + d3-hierarchy "^3.1.2" + +"@antv/g2@^5.0.8", "@antv/g2@^5.1.8": + version "5.1.22" + resolved "https://registry.npmmirror.com/@antv/g2/-/g2-5.1.22.tgz" + integrity sha512-5h3+frt+fhXgtu/PWFRgHWsxSfSsEpH49YqT2v1b+9KJ561sMCqRzU/Q4yCMuZr76drZuMlZmm+CC+cEIVmmxw== + dependencies: + "@antv/component" "^2.0.0" + "@antv/coord" "^0.4.6" + "@antv/event-emitter" "^0.1.3" + "@antv/g" "^6.0.0" + "@antv/g-canvas" "^2.0.0" + "@antv/g-plugin-dragndrop" "^2.0.0" + "@antv/path-util" "^3.0.1" + "@antv/scale" "^0.4.12" + "@antv/util" "^3.3.5" + d3-array "^3.2.4" + d3-dsv "^3.0.1" + d3-force "^3.0.0" + d3-format "^3.1.0" + d3-geo "^3.1.0" + d3-hierarchy "^3.1.2" + d3-path "^3.1.0" + d3-scale-chromatic "^3.0.0" + d3-shape "^3.2.0" + d3-voronoi "^1.1.4" + flru "^1.0.2" + fmin "^0.0.2" + pdfast "^0.2.0" + +"@antv/g2@^5.1.18": + version "5.2.4" + resolved "https://registry.npmmirror.com/@antv/g2/-/g2-5.2.4.tgz#babeb44aa4e8f9c683341a369106272baac585db" + integrity sha512-PUYsP6tstR9ciH/YHk6IS60yzPl4pxg1pva+MohE8uCY+IsJ8PORedN3/XGvYXFuBmhB/b2FMqE3p7FD0PvxTQ== + dependencies: + "@antv/component" "^2.0.0" + "@antv/coord" "^0.4.6" + "@antv/event-emitter" "^0.1.3" + "@antv/g" "^6.0.0" + "@antv/g-canvas" "^2.0.0" + "@antv/g-plugin-dragndrop" "^2.0.0" + "@antv/scale" "^0.4.12" + "@antv/util" "^3.3.5" + d3-array "^3.2.4" + d3-dsv "^3.0.1" + d3-force "^3.0.0" + d3-format "^3.1.0" + d3-geo "^3.1.0" + d3-hierarchy "^3.1.2" + d3-path "^3.1.0" + d3-scale-chromatic "^3.0.0" + d3-shape "^3.2.0" + flru "^1.0.2" + fmin "^0.0.2" + pdfast "^0.2.0" + +"@antv/g6@^5.0.0", "@antv/g6@^5.0.17": + version "5.0.17" + resolved "https://registry.npmmirror.com/@antv/g6/-/g6-5.0.17.tgz" + integrity sha512-i9dWgvzDTKs5ry+LTtxFoUrUGyeM80OTFA8W9RGDB/9Nu2tboNqrq4OEmkwAulOELnKugz238dESgxLBG7gkdg== + dependencies: + "@antv/component" "^2.0.3" + "@antv/event-emitter" "^0.1.3" + "@antv/g" "^6.0.12" + "@antv/g-canvas" "^2.0.10" + "@antv/g-plugin-dragndrop" "^2.0.8" + "@antv/graphlib" "^2.0.3" + "@antv/hierarchy" "^0.6.12" + "@antv/layout" "1.2.14-beta.5" + "@antv/util" "^3.3.7" + bubblesets-js "^2.3.3" + hull.js "^1.0.6" + +"@antv/g@^6.0.0", "@antv/g@^6.0.12", "@antv/g@^6.0.5": + version "6.0.12" + resolved "https://registry.npmmirror.com/@antv/g/-/g-6.0.12.tgz" + integrity sha512-7FEYxc8rR79Wi3VdCHqf/MY0a+6X3N5y8D0FiGc3XBtt8WnmJYWO/wcN8rQRvIV//ecMSeq9V/9En1TqyOnaEA== + dependencies: + "@antv/g-camera-api" "2.0.11" + "@antv/g-dom-mutation-observer-api" "2.0.8" + "@antv/g-lite" "2.0.8" + "@antv/g-web-animations-api" "2.0.9" + +"@antv/gpt-vis@^0.0.5": + version "0.0.5" + resolved "https://registry.npmmirror.com/@antv/gpt-vis/-/gpt-vis-0.0.5.tgz#5860799a0a54aef735ddbefadfc31694031c63ca" + integrity sha512-+kqRf7Lu8l8Ar417MA+VjXaaMr1BQg5HDsiNF+Sop22BmCIs6/1EPagmNy8bR0M2mP+shKxd4JspA1+i3PwN4g== + dependencies: + "@ant-design/icons" "^5.4.0" + "@ant-design/plots" "^2.2.5" + "@antv/l7" "^2.22.0" + "@antv/larkmap" "^1.4.17" + "@babel/runtime" "^7.18.0" + lodash "^4.17.21" + react-markdown "^9.0.1" + rehype-raw "^7.0.0" + styled-components "^6.0.7" + +"@antv/graphin@^3.0.2": + version "3.0.2" + resolved "https://registry.npmmirror.com/@antv/graphin/-/graphin-3.0.2.tgz" + integrity sha512-r06mf7vSRB/GK2b/Zx8LovI2zf2iL7hkoKNak8NVuWY7FmnOzEiJthKhwaTBVCO6KGTlxPpslMpvVevOPQUTCQ== + dependencies: + "@antv/g6" "^5.0.0" + +"@antv/graphlib@^2.0.0", "@antv/graphlib@^2.0.3": + version "2.0.3" + resolved "https://registry.npmmirror.com/@antv/graphlib/-/graphlib-2.0.3.tgz" + integrity sha512-EtQR+DIfsYy28tumTnH560v7yIzXZq0nSgFBZh76mMiV1oHEN1L4p6JKu7IMtILH14mDqzmYYYFetYoAODoQUw== + dependencies: + "@antv/event-emitter" "^0.1.3" + +"@antv/hierarchy@^0.6.12": + version "0.6.12" + resolved "https://registry.npmmirror.com/@antv/hierarchy/-/hierarchy-0.6.12.tgz" + integrity sha512-WvWT9WYtm2SvYunm1HtzrHazvOozeP4cPFDhJWsnLzmTGMX/tNhsoCD3O+DDB3aeDY8fyM+wfZDvLv7+/4lIeA== + +"@antv/l7-component@2.22.1": + version "2.22.1" + resolved "https://registry.npmmirror.com/@antv/l7-component/-/l7-component-2.22.1.tgz#e59459ba348a5dc24fbb1430eab88ce20c4d59a5" + integrity sha512-Sf2TIch4QV/5yhlNV3ktNSjrfCnbuNTLzOifG98ybVkZZJTvQKvTV46AmOcf9DE4hrod1F4VcBTwdVJGXKGryw== + dependencies: + "@antv/l7-core" "2.22.1" + "@antv/l7-layers" "2.22.1" + "@antv/l7-utils" "2.22.1" + "@babel/runtime" "^7.7.7" + eventemitter3 "^4.0.0" + supercluster "^7.0.0" + +"@antv/l7-composite-layers@0.x": + version "0.17.1" + resolved "https://registry.npmmirror.com/@antv/l7-composite-layers/-/l7-composite-layers-0.17.1.tgz#a310faabe81c40a2bed445c1f2e5b216d0481284" + integrity sha512-2CbcCWiB7mxWprbMS8jbGvAfcWX2XIJrliLs9mw+ORmVerfvh+fuim8NUozZ8xewSRKgvhiCL/Iycbmofch9Kw== + dependencies: + "@antv/event-emitter" "^0.1.2" + "@antv/scale" "^0.4.12" + "@antv/util" "^2.0.14" + "@turf/bbox" "^6.5.0" + "@turf/bbox-polygon" "^6.5.0" + "@turf/transform-scale" "^6.5.0" + kdbush "^3.0.0" + lodash-es "^4.17.21" + reselect "^4.1.8" + +"@antv/l7-core@2.22.1": + version "2.22.1" + resolved "https://registry.npmmirror.com/@antv/l7-core/-/l7-core-2.22.1.tgz#fc85c3c15652c2f1bbcc5610eed8c4878ea54d8a" + integrity sha512-V0E8StMJYsw1269XpfUizbVLCwRZfyj/sb5KIJQ1vyyCTpSaHSdHAAFDBjd/nOXd/CP6xxxO1u5tUxyqWexQvg== + dependencies: + "@antv/async-hook" "^2.2.9" + "@antv/l7-utils" "2.22.1" + "@babel/runtime" "^7.7.7" + "@mapbox/tiny-sdf" "^1.2.5" + "@turf/helpers" "^6.1.4" + ajv "^6.10.2" + element-resize-detector "^1.2.4" + eventemitter3 "^4.0.0" + gl-matrix "^3.1.0" + hammerjs "^2.0.8" + viewport-mercator-project "^6.2.1" + +"@antv/l7-draw@^3.0.6": + version "3.1.5" + resolved "https://registry.npmmirror.com/@antv/l7-draw/-/l7-draw-3.1.5.tgz#01acb8664659f3e1ce89374b284e1b785ad2d686" + integrity sha512-0HtxnfbuCiFkRwXkUYN/MezAHaKCFrMeq5ZsN9HyhIkSatBR6MTelj4QJenSXc5FJ6zEssULJIr2zom5dySCTA== + dependencies: + "@turf/turf" "^6.5.0" + eventemitter3 "^4.0.7" + lodash "^4.17.21" + mousetrap "^1.6.5" + tippy.js "^6.3.7" + +"@antv/l7-layers@2.22.1": + version "2.22.1" + resolved "https://registry.npmmirror.com/@antv/l7-layers/-/l7-layers-2.22.1.tgz#28a419a3baceb2b55ef2072cf82fdfea837fb593" + integrity sha512-rBsx3+Xi3R2Ak/vIXNwOIePSQK1IAcwvyHFddVFHdtCfSchmcC1tdtpPmg83VKoIHmtmC+dEQb1l1/fWSK5usg== + dependencies: + "@antv/async-hook" "^2.2.9" + "@antv/l7-core" "2.22.1" + "@antv/l7-maps" "2.22.1" + "@antv/l7-source" "2.22.1" + "@antv/l7-utils" "2.22.1" + "@babel/runtime" "^7.7.7" + "@mapbox/martini" "^0.2.0" + "@turf/clone" "^6.5.0" + "@turf/helpers" "^6.1.4" + "@turf/meta" "^6.0.2" + "@turf/polygon-to-line" "^6.5.0" + "@turf/union" "^6.5.0" + d3-array "^2" + d3-color "^1.4.0" + d3-interpolate "1.4.0" + d3-scale "^2" + earcut "^2.2.1" + eventemitter3 "^4.0.0" + extrude-polyline "^1.0.6" + gl-matrix "^3.1.0" + gl-vec2 "^1.3.0" + polyline-miter-util "^1.0.1" + +"@antv/l7-map@2.22.1": + version "2.22.1" + resolved "https://registry.npmmirror.com/@antv/l7-map/-/l7-map-2.22.1.tgz#bcb2dfbd38643db0c97255d5bd3cfedfa797e615" + integrity sha512-zVAxbiuYfOdeXOzc2jXWJm7imCbC12SB3/E6fiM8u+k+7FW4x2ijIDSG/UaHvuylKa2SK/uXW2LaOsj7FVImNQ== + dependencies: + "@antv/l7-utils" "2.22.1" + "@babel/runtime" "^7.7.7" + "@mapbox/point-geometry" "^0.1.0" + "@mapbox/unitbezier" "^0.0.1" + eventemitter3 "^4.0.4" + gl-matrix "^3.1.0" + +"@antv/l7-maps@2.22.1": + version "2.22.1" + resolved "https://registry.npmmirror.com/@antv/l7-maps/-/l7-maps-2.22.1.tgz#a4c522759490517eb8de8f55a5f307529ecf03d8" + integrity sha512-6cYqNMSM07hQ0X+Vm8gUmy7RXpD0ZbZAq4fGJ7jmI1rSwMubvWntEZj6AX2856Gcas7HUh7I4bPeqxkRo5gu6Q== + dependencies: + "@amap/amap-jsapi-loader" "^1.0.1" + "@antv/l7-core" "2.22.1" + "@antv/l7-map" "2.22.1" + "@antv/l7-utils" "2.22.1" + "@babel/runtime" "^7.7.7" + eventemitter3 "^4.0.0" + gl-matrix "^3.1.0" + mapbox-gl "^1.2.1" + maplibre-gl "^3.5.2" + viewport-mercator-project "^6.2.1" + +"@antv/l7-renderer@2.22.1": + version "2.22.1" + resolved "https://registry.npmmirror.com/@antv/l7-renderer/-/l7-renderer-2.22.1.tgz#94a86d35cec051c23c06ed3e90d6a3dbd0f80d65" + integrity sha512-mnuCDgeocs8AX+YUoOF9hfDDkX0GwbfFKc87Y46eXWC47pIY+7HpqULKOZNWqOoTVVcOiueS/6l2/k6AnBdMPA== + dependencies: + "@antv/g-device-api" "^1.6.4" + "@antv/l7-core" "2.22.1" + "@antv/l7-utils" "2.22.1" + "@babel/runtime" "^7.7.7" + regl "1.6.1" + +"@antv/l7-scene@2.22.1": + version "2.22.1" + resolved "https://registry.npmmirror.com/@antv/l7-scene/-/l7-scene-2.22.1.tgz#98a2123ca1b6d0f0b824e2895161070123411129" + integrity sha512-7AyGBhFSOwv8heoYaDqOr47+KftZQvLfSYD+p+pd2y7Y5B85+oNGXbPV/zCjfrSt15R1fzxt9v7GgruQjx/+Iw== + dependencies: + "@antv/l7-component" "2.22.1" + "@antv/l7-core" "2.22.1" + "@antv/l7-layers" "2.22.1" + "@antv/l7-maps" "2.22.1" + "@antv/l7-renderer" "2.22.1" + "@antv/l7-utils" "2.22.1" + "@babel/runtime" "^7.7.7" + eventemitter3 "^4.0.7" + +"@antv/l7-source@2.22.1": + version "2.22.1" + resolved "https://registry.npmmirror.com/@antv/l7-source/-/l7-source-2.22.1.tgz#a0268ab7af75da31db9595dd5ccb7988d349d6f6" + integrity sha512-4DiYKqS0OTJxHJkAUx09Ni7AIL8T9wUKxtvqSKnQmBDcZfvxpSYJ4x7uorVjtejVSb6LI1hxnHJtyJ3SbrH31g== + dependencies: + "@antv/async-hook" "^2.2.9" + "@antv/l7-core" "2.22.1" + "@antv/l7-utils" "2.22.1" + "@babel/runtime" "^7.7.7" + "@mapbox/geojson-rewind" "^0.5.2" + "@mapbox/vector-tile" "^1.3.1" + "@turf/helpers" "^6.1.4" + "@turf/invariant" "^6.1.2" + "@turf/meta" "^6.0.2" + d3-dsv "^1.1.1" + d3-hexbin "^0.2.2" + eventemitter3 "^4.0.0" + geojson-vt "^3.2.1" + pbf "^3.2.1" + supercluster "^7.0.0" + +"@antv/l7-utils@2.22.1": + version "2.22.1" + resolved "https://registry.npmmirror.com/@antv/l7-utils/-/l7-utils-2.22.1.tgz#264d048aed567e64919a10298212f1954102f623" + integrity sha512-dJhLM3zJKxcihmcQ20wiEkDrWoshJhgtTLeigf8dtgp5TNeYHnaN8saulCOgSiBe8TI/UD1kFx9iFAV13PptoQ== + dependencies: + "@babel/runtime" "^7.7.7" + "@turf/bbox" "^6.5.0" + "@turf/bbox-polygon" "^6.5.0" + "@turf/helpers" "^6.1.4" + d3-color "^1.4.0" + earcut "^2.1.0" + eventemitter3 "^4.0.0" + gl-matrix "^3.1.0" + lodash "^4.17.15" + web-worker-helper "^0.0.3" + +"@antv/l7@^2.22.0": + version "2.22.1" + resolved "https://registry.npmmirror.com/@antv/l7/-/l7-2.22.1.tgz#ca70b6010ba70c44358fccce189ead4e351142da" + integrity sha512-MxJLzqy360PNXGaubkGaq4ScMDxqvmHodqEvBUSd7l/DSe2aZNUNiGnCOpTDWm1t9hOKnfvqsmQIWkQGfg9O0g== + dependencies: + "@antv/l7-component" "2.22.1" + "@antv/l7-core" "2.22.1" + "@antv/l7-layers" "2.22.1" + "@antv/l7-maps" "2.22.1" + "@antv/l7-scene" "2.22.1" + "@antv/l7-source" "2.22.1" + "@antv/l7-utils" "2.22.1" + "@babel/runtime" "^7.7.7" + +"@antv/larkmap@^1.4.17": + version "1.5.0" + resolved "https://registry.npmmirror.com/@antv/larkmap/-/larkmap-1.5.0.tgz#1e11f053c8bb8a59e6c276bb8d00a62b354aeb7a" + integrity sha512-st9AkLOG91tXAXKDNYItnES19KtgIOGvYERiq8+hL3MK11N2LA0NPelFfCUksYZmeAYuzmc7O+j2HpsSgbeZ5Q== + dependencies: + "@antv/event-emitter" "^0.1.3" + "@antv/l7-composite-layers" "0.x" + "@antv/l7-draw" "^3.0.6" + ahooks "^3.3.13" + classnames "^2.3.1" + color "^4.2.3" + lodash-es "^4.17.21" + md5 "^2.3.0" + rc-select "^14.1.13" + +"@antv/layout@1.2.14-beta.5": + version "1.2.14-beta.5" + resolved "https://registry.npmmirror.com/@antv/layout/-/layout-1.2.14-beta.5.tgz" + integrity sha512-r/twRLE2kql+jawu/qp5+7rcUH3ul6RFlLg5MGi3B/83WktMNyqOOYYHbk6T89/KWUUSPDCdvrb56BVfvLFqRQ== + dependencies: + "@antv/event-emitter" "^0.1.3" + "@antv/graphlib" "^2.0.0" + "@antv/util" "^3.3.2" + "@naoak/workerize-transferable" "^0.1.0" + comlink "^4.4.1" + d3-force "^3.0.0" + d3-force-3d "^3.0.5" + d3-octree "^1.0.2" + d3-quadtree "^3.0.1" + dagre "^0.8.5" + ml-matrix "^6.10.4" + tslib "^2.5.0" + +"@antv/matrix-util@^3.0.4": + version "3.0.4" + resolved "https://registry.npmmirror.com/@antv/matrix-util/-/matrix-util-3.0.4.tgz" + integrity sha512-BAPyu6dUliHcQ7fm9hZSGKqkwcjEDVLVAstlHULLvcMZvANHeLXgHEgV7JqcAV/GIhIz8aZChIlzM1ZboiXpYQ== + dependencies: + "@antv/util" "^2.0.9" + gl-matrix "^3.3.0" + tslib "^2.0.3" + +"@antv/matrix-util@^3.1.0-beta.1": + version "3.1.0-beta.3" + resolved "https://registry.npmmirror.com/@antv/matrix-util/-/matrix-util-3.1.0-beta.3.tgz" + integrity sha512-W2R6Za3A6CmG51Y/4jZUM/tFgYSq7vTqJL1VD9dKrvwxS4sE0ZcXINtkp55CdyBwJ6Cwm8pfoRpnD4FnHahN0A== + dependencies: + "@antv/util" "^2.0.9" + gl-matrix "^3.4.3" + tslib "^2.0.3" + +"@antv/path-util@^3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@antv/path-util/-/path-util-3.0.1.tgz" + integrity sha512-tpvAzMpF9Qm6ik2YSMqICNU5tco5POOW7S4XoxZAI/B0L26adU+Md/SmO0BBo2SpuywKvzPH3hPT3xmoyhr04Q== + dependencies: + gl-matrix "^3.1.0" + lodash-es "^4.17.21" + tslib "^2.0.3" + +"@antv/path-util@~2.0.5": + version "2.0.15" + resolved "https://registry.npmmirror.com/@antv/path-util/-/path-util-2.0.15.tgz" + integrity sha512-R2VLZ5C8PLPtr3VciNyxtjKqJ0XlANzpFb5sE9GE61UQqSRuSVSzIakMxjEPrpqbgc+s+y8i+fmc89Snu7qbNw== + dependencies: + "@antv/matrix-util" "^3.0.4" + "@antv/util" "^2.0.9" + tslib "^2.0.3" + +"@antv/s2@^1.51.2": + version "1.55.6" + resolved "https://registry.npmmirror.com/@antv/s2/-/s2-1.55.6.tgz" + integrity sha512-yxi053ynIgvOSPEQtq71CUBgwrPTBvwUMpf8dXhWkT9TT4EcVzI6t25xgbmDC7Q9JuoiogzXwHXczCs4avV3cQ== + dependencies: + "@antv/event-emitter" "^0.1.3" + "@antv/g-canvas" "^0.5.12" + "@antv/g-gesture" "^1.0.1" + d3-interpolate "^1.3.2" + d3-timer "^1.0.9" + decimal.js "^10.3.1" + lodash "^4.17.21" + +"@antv/scale@^0.4.12", "@antv/scale@^0.4.3": + version "0.4.16" + resolved "https://registry.npmmirror.com/@antv/scale/-/scale-0.4.16.tgz" + integrity sha512-5wg/zB5kXHxpTV5OYwJD3ja6R8yTiqIOkjOhmpEJiowkzRlbEC/BOyMvNUq5fqFIHnMCE9woO7+c3zxEQCKPjw== + dependencies: + "@antv/util" "^3.3.7" + color-string "^1.5.5" + fecha "^4.2.1" + +"@antv/smart-color@^0.2.1": + version "0.2.1" + resolved "https://registry.npmmirror.com/@antv/smart-color/-/smart-color-0.2.1.tgz" + integrity sha512-2E42oczcJtfMQCSk+Ms5pWC34aH3S8/vHBWDCiwBhuImVodzYTHDAaU1oTYN2XlJMaLSsA7lE1UUFmOG8xjOOw== + dependencies: + "@antv/color-schema" "^0.2.2" + chroma-js "^2.1.2" + color-blind "^0.1.1" + quantize "^1.0.2" + +"@antv/util@^2.0.13", "@antv/util@^2.0.14", "@antv/util@^2.0.9", "@antv/util@~2.0.0", "@antv/util@~2.0.13": + version "2.0.17" + resolved "https://registry.npmmirror.com/@antv/util/-/util-2.0.17.tgz" + integrity sha512-o6I9hi5CIUvLGDhth0RxNSFDRwXeywmt6ExR4+RmVAzIi48ps6HUy+svxOCayvrPBN37uE6TAc2KDofRo0nK9Q== + dependencies: + csstype "^3.0.8" + tslib "^2.0.3" + +"@antv/util@^3.3.2", "@antv/util@^3.3.4": + version "3.3.8" + resolved "https://registry.npmmirror.com/@antv/util/-/util-3.3.8.tgz#f16bd3cfb033f960ed3f1c12ab2ea6b1f8c695d0" + integrity sha512-RO2vmp84adfZn5HVXuNtHr35PRWthw4oCUv0hn9DmEWwOJSeU6NtDCEg9KvU8sH2bJaS3fe/cppNSVy2L8tOaw== + dependencies: + fast-deep-equal "^3.1.3" + gl-matrix "^3.3.0" + tslib "^2.3.1" + +"@antv/util@^3.3.5", "@antv/util@^3.3.7": + version "3.3.7" + resolved "https://registry.npmmirror.com/@antv/util/-/util-3.3.7.tgz" + integrity sha512-qqPg7rIPCsJyl7N56jAC25v/99mJ3ApVkgBsGijhiWrEeKvzXBPk1r5P77Pm9nCljpnn+hH8Z3t5AivbEoTJMg== + dependencies: + fast-deep-equal "^3.1.3" + gl-matrix "^3.3.0" + tslib "^2.3.1" + +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.24.7": + version "7.24.7" + resolved "https://registry.npmmirror.com/@babel/code-frame/-/code-frame-7.24.7.tgz" + integrity sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA== + dependencies: + "@babel/highlight" "^7.24.7" + picocolors "^1.0.0" + +"@babel/generator@^7.24.7": + version "7.24.7" + resolved "https://registry.npmmirror.com/@babel/generator/-/generator-7.24.7.tgz" + integrity sha512-oipXieGC3i45Y1A41t4tAqpnEZWgB/lC6Ehh6+rOviR5XWpTtMmLN+fGjz9vOiNRt0p6RtO6DtD0pdU3vpqdSA== + dependencies: + "@babel/types" "^7.24.7" + "@jridgewell/gen-mapping" "^0.3.5" + "@jridgewell/trace-mapping" "^0.3.25" + jsesc "^2.5.1" + +"@babel/helper-environment-visitor@^7.24.7": + version "7.24.7" + resolved "https://registry.npmmirror.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.7.tgz" + integrity sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ== + dependencies: + "@babel/types" "^7.24.7" + +"@babel/helper-function-name@^7.24.7": + version "7.24.7" + resolved "https://registry.npmmirror.com/@babel/helper-function-name/-/helper-function-name-7.24.7.tgz" + integrity sha512-FyoJTsj/PEUWu1/TYRiXTIHc8lbw+TDYkZuoE43opPS5TrI7MyONBE1oNvfguEXAD9yhQRrVBnXdXzSLQl9XnA== + dependencies: + "@babel/template" "^7.24.7" + "@babel/types" "^7.24.7" + +"@babel/helper-hoist-variables@^7.24.7": + version "7.24.7" + resolved "https://registry.npmmirror.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.7.tgz" + integrity sha512-MJJwhkoGy5c4ehfoRyrJ/owKeMl19U54h27YYftT0o2teQ3FJ3nQUf/I3LlJsX4l3qlw7WRXUmiyajvHXoTubQ== + dependencies: + "@babel/types" "^7.24.7" + +"@babel/helper-module-imports@^7.16.7": + version "7.24.7" + resolved "https://registry.npmmirror.com/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz" + integrity sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA== + dependencies: + "@babel/traverse" "^7.24.7" + "@babel/types" "^7.24.7" + +"@babel/helper-split-export-declaration@^7.24.7": + version "7.24.7" + resolved "https://registry.npmmirror.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz" + integrity sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA== + dependencies: + "@babel/types" "^7.24.7" + +"@babel/helper-string-parser@^7.24.7": + version "7.24.7" + resolved "https://registry.npmmirror.com/@babel/helper-string-parser/-/helper-string-parser-7.24.7.tgz" + integrity sha512-7MbVt6xrwFQbunH2DNQsAP5sTGxfqQtErvBIvIMi6EQnbgUOuVYanvREcmFrOPhoXBrTtjhhP+lW+o5UfK+tDg== + +"@babel/helper-validator-identifier@^7.24.7": + version "7.24.7" + resolved "https://registry.npmmirror.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz" + integrity sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w== + +"@babel/highlight@^7.24.7": + version "7.24.7" + resolved "https://registry.npmmirror.com/@babel/highlight/-/highlight-7.24.7.tgz" + integrity sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw== + dependencies: + "@babel/helper-validator-identifier" "^7.24.7" + chalk "^2.4.2" + js-tokens "^4.0.0" + picocolors "^1.0.0" + +"@babel/parser@^7.24.7": + version "7.24.7" + resolved "https://registry.npmmirror.com/@babel/parser/-/parser-7.24.7.tgz" + integrity sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw== + +"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.1", "@babel/runtime@^7.10.4", "@babel/runtime@^7.11.1", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.16.7", "@babel/runtime@^7.18.0", "@babel/runtime@^7.18.3", "@babel/runtime@^7.20.0", "@babel/runtime@^7.20.13", "@babel/runtime@^7.20.7", "@babel/runtime@^7.21.0", "@babel/runtime@^7.22.10", "@babel/runtime@^7.22.5", "@babel/runtime@^7.23.2", "@babel/runtime@^7.23.6", "@babel/runtime@^7.23.9", "@babel/runtime@^7.24.4", "@babel/runtime@^7.24.7", "@babel/runtime@^7.24.8", "@babel/runtime@^7.3.1", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.2", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.7", "@babel/runtime@^7.8.7": + version "7.25.4" + resolved "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.25.4.tgz" + integrity sha512-DSgLeL/FNcpXuzav5wfYvHCGvynXkJbn3Zvc3823AEe9nPwW9IK4UoCSS5yGymmQzN0pCPvivtgS6/8U2kkm1w== + dependencies: + regenerator-runtime "^0.14.0" + +"@babel/template@^7.24.7": + version "7.24.7" + resolved "https://registry.npmmirror.com/@babel/template/-/template-7.24.7.tgz" + integrity sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig== + dependencies: + "@babel/code-frame" "^7.24.7" + "@babel/parser" "^7.24.7" + "@babel/types" "^7.24.7" + +"@babel/traverse@^7.24.7": + version "7.24.7" + resolved "https://registry.npmmirror.com/@babel/traverse/-/traverse-7.24.7.tgz" + integrity sha512-yb65Ed5S/QAcewNPh0nZczy9JdYXkkAbIsEo+P7BE7yO3txAY30Y/oPa3QkQ5It3xVG2kpKMg9MsdxZaO31uKA== + dependencies: + "@babel/code-frame" "^7.24.7" + "@babel/generator" "^7.24.7" + "@babel/helper-environment-visitor" "^7.24.7" + "@babel/helper-function-name" "^7.24.7" + "@babel/helper-hoist-variables" "^7.24.7" + "@babel/helper-split-export-declaration" "^7.24.7" + "@babel/parser" "^7.24.7" + "@babel/types" "^7.24.7" + debug "^4.3.1" + globals "^11.1.0" + +"@babel/types@^7.24.7": + version "7.24.7" + resolved "https://registry.npmmirror.com/@babel/types/-/types-7.24.7.tgz" + integrity sha512-XEFXSlxiG5td2EJRe8vOmRbaXVgfcBlszKujvVmWIK/UpywWljQCfzAv3RQCGujWQ1RD4YYWEAqDXfuJiy8f5Q== + dependencies: + "@babel/helper-string-parser" "^7.24.7" + "@babel/helper-validator-identifier" "^7.24.7" + to-fast-properties "^2.0.0" + +"@berryv/g2-react@^0.1.0": + version "0.1.0" + resolved "https://registry.npmmirror.com/@berryv/g2-react/-/g2-react-0.1.0.tgz" + integrity sha512-wnsP2zA93O9bADZ8jGUTr1/NM52SbOlcDevSSUe/BI45tjzZC9Rc9blTPXgwtACHTeXghVZYzlpBoVNDV9XPhw== + +"@ctrl/tinycolor@^3.6.1": + version "3.6.1" + resolved "https://registry.npmmirror.com/@ctrl/tinycolor/-/tinycolor-3.6.1.tgz" + integrity sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA== + +"@emotion/babel-plugin@^11.11.0": + version "11.11.0" + resolved "https://registry.npmmirror.com/@emotion/babel-plugin/-/babel-plugin-11.11.0.tgz" + integrity sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.1" + "@emotion/memoize" "^0.8.1" + "@emotion/serialize" "^1.1.2" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.2.0" + +"@emotion/cache@^11.11.0": + version "11.11.0" + resolved "https://registry.npmmirror.com/@emotion/cache/-/cache-11.11.0.tgz" + integrity sha512-P34z9ssTCBi3e9EI1ZsWpNHcfY1r09ZO0rZbRO2ob3ZQMnFI35jB536qoXbkdesr5EUhYi22anuEJuyxifaqAQ== + dependencies: + "@emotion/memoize" "^0.8.1" + "@emotion/sheet" "^1.2.2" + "@emotion/utils" "^1.2.1" + "@emotion/weak-memoize" "^0.3.1" + stylis "4.2.0" + +"@emotion/hash@^0.8.0": + version "0.8.0" + resolved "https://registry.npmmirror.com/@emotion/hash/-/hash-0.8.0.tgz" + integrity sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow== + +"@emotion/hash@^0.9.1": + version "0.9.1" + resolved "https://registry.npmmirror.com/@emotion/hash/-/hash-0.9.1.tgz" + integrity sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ== + +"@emotion/is-prop-valid@1.2.2", "@emotion/is-prop-valid@^1.2.1", "@emotion/is-prop-valid@^1.2.2": + version "1.2.2" + resolved "https://registry.npmmirror.com/@emotion/is-prop-valid/-/is-prop-valid-1.2.2.tgz#d4175076679c6a26faa92b03bb786f9e52612337" + integrity sha512-uNsoYd37AFmaCdXlg6EYD1KaPOaRWRByMCYzbKUX4+hhMfrxdVSelShywL4JVaAeM/eHUOSprYBQls+/neX3pw== + dependencies: + "@emotion/memoize" "^0.8.1" + +"@emotion/is-prop-valid@^0.8.2": + version "0.8.8" + resolved "https://registry.npmmirror.com/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz" + integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== + dependencies: + "@emotion/memoize" "0.7.4" + +"@emotion/memoize@0.7.4": + version "0.7.4" + resolved "https://registry.npmmirror.com/@emotion/memoize/-/memoize-0.7.4.tgz" + integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== + +"@emotion/memoize@^0.8.1": + version "0.8.1" + resolved "https://registry.npmmirror.com/@emotion/memoize/-/memoize-0.8.1.tgz" + integrity sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA== + +"@emotion/react@^11.11.4": + version "11.11.4" + resolved "https://registry.npmmirror.com/@emotion/react/-/react-11.11.4.tgz" + integrity sha512-t8AjMlF0gHpvvxk5mAtCqR4vmxiGHCeJBaQO6gncUSdklELOgtwjerNY2yuJNfwnc6vi16U/+uMF+afIawJ9iw== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.11.0" + "@emotion/cache" "^11.11.0" + "@emotion/serialize" "^1.1.3" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.1" + "@emotion/utils" "^1.2.1" + "@emotion/weak-memoize" "^0.3.1" + hoist-non-react-statics "^3.3.1" + +"@emotion/serialize@^1.1.2", "@emotion/serialize@^1.1.3", "@emotion/serialize@^1.1.4": + version "1.1.4" + resolved "https://registry.npmmirror.com/@emotion/serialize/-/serialize-1.1.4.tgz" + integrity sha512-RIN04MBT8g+FnDwgvIUi8czvr1LU1alUMI05LekWB5DGyTm8cCBMCRpq3GqaiyEDRptEXOyXnvZ58GZYu4kBxQ== + dependencies: + "@emotion/hash" "^0.9.1" + "@emotion/memoize" "^0.8.1" + "@emotion/unitless" "^0.8.1" + "@emotion/utils" "^1.2.1" + csstype "^3.0.2" + +"@emotion/sheet@^1.2.2": + version "1.2.2" + resolved "https://registry.npmmirror.com/@emotion/sheet/-/sheet-1.2.2.tgz" + integrity sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA== + +"@emotion/styled@^11.11.5": + version "11.11.5" + resolved "https://registry.npmmirror.com/@emotion/styled/-/styled-11.11.5.tgz" + integrity sha512-/ZjjnaNKvuMPxcIiUkf/9SHoG4Q196DRl1w82hQ3WCsjo1IUR8uaGWrC6a87CrYAW0Kb/pK7hk8BnLgLRi9KoQ== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.11.0" + "@emotion/is-prop-valid" "^1.2.2" + "@emotion/serialize" "^1.1.4" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.1" + "@emotion/utils" "^1.2.1" + +"@emotion/unitless@0.8.1", "@emotion/unitless@^0.8.1": + version "0.8.1" + resolved "https://registry.npmmirror.com/@emotion/unitless/-/unitless-0.8.1.tgz#182b5a4704ef8ad91bde93f7a860a88fd92c79a3" + integrity sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ== + +"@emotion/unitless@^0.7.5": + version "0.7.5" + resolved "https://registry.npmmirror.com/@emotion/unitless/-/unitless-0.7.5.tgz" + integrity sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg== + +"@emotion/use-insertion-effect-with-fallbacks@^1.0.1": + version "1.0.1" + resolved "https://registry.npmmirror.com/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.1.tgz" + integrity sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw== + +"@emotion/utils@^1.2.1": + version "1.2.1" + resolved "https://registry.npmmirror.com/@emotion/utils/-/utils-1.2.1.tgz" + integrity sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg== + +"@emotion/weak-memoize@^0.3.1": + version "0.3.1" + resolved "https://registry.npmmirror.com/@emotion/weak-memoize/-/weak-memoize-0.3.1.tgz" + integrity sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww== + +"@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0": + version "4.4.0" + resolved "https://registry.npmmirror.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" + integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== + dependencies: + eslint-visitor-keys "^3.3.0" + +"@eslint-community/regexpp@^4.10.0", "@eslint-community/regexpp@^4.6.1": + version "4.11.0" + resolved "https://registry.npmmirror.com/@eslint-community/regexpp/-/regexpp-4.11.0.tgz#b0ffd0312b4a3fd2d6f77237e7248a5ad3a680ae" + integrity sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A== + +"@eslint/eslintrc@^2.1.4": + version "2.1.4" + resolved "https://registry.npmmirror.com/@eslint/eslintrc/-/eslintrc-2.1.4.tgz#388a269f0f25c1b6adc317b5a2c55714894c70ad" + integrity sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ== + dependencies: + ajv "^6.12.4" + debug "^4.3.2" + espree "^9.6.0" + globals "^13.19.0" + ignore "^5.2.0" + import-fresh "^3.2.1" + js-yaml "^4.1.0" + minimatch "^3.1.2" + strip-json-comments "^3.1.1" + +"@eslint/js@8.57.0": + version "8.57.0" + resolved "https://registry.npmmirror.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f" + integrity sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g== + +"@floating-ui/core@^1.0.0": + version "1.6.2" + resolved "https://registry.npmmirror.com/@floating-ui/core/-/core-1.6.2.tgz" + integrity sha512-+2XpQV9LLZeanU4ZevzRnGFg2neDeKHgFLjP6YLW+tly0IvrhqT4u8enLGjLH3qeh85g19xY5rsAusfwTdn5lg== + dependencies: + "@floating-ui/utils" "^0.2.0" + +"@floating-ui/dom@^1.0.0": + version "1.6.5" + resolved "https://registry.npmmirror.com/@floating-ui/dom/-/dom-1.6.5.tgz" + integrity sha512-Nsdud2X65Dz+1RHjAIP0t8z5e2ff/IRbei6BqFrl1urT8sDVzM1HMQ+R0XcU5ceRfyO3I6ayeqIfh+6Wb8LGTw== + dependencies: + "@floating-ui/core" "^1.0.0" + "@floating-ui/utils" "^0.2.0" + +"@floating-ui/react-dom@^2.0.1", "@floating-ui/react-dom@^2.0.8": + version "2.1.0" + resolved "https://registry.npmmirror.com/@floating-ui/react-dom/-/react-dom-2.1.0.tgz" + integrity sha512-lNzj5EQmEKn5FFKc04+zasr09h/uX8RtJRNj5gUXsSQIXHVWTVh+hVAg1vOMCexkX8EgvemMvIFpQfkosnVNyA== + dependencies: + "@floating-ui/dom" "^1.0.0" + +"@floating-ui/utils@^0.2.0": + version "0.2.2" + resolved "https://registry.npmmirror.com/@floating-ui/utils/-/utils-0.2.2.tgz" + integrity sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw== + +"@humanwhocodes/config-array@^0.11.14": + version "0.11.14" + resolved "https://registry.npmmirror.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b" + integrity sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg== + dependencies: + "@humanwhocodes/object-schema" "^2.0.2" + debug "^4.3.1" + minimatch "^3.0.5" + +"@humanwhocodes/module-importer@^1.0.1": + version "1.0.1" + resolved "https://registry.npmmirror.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz" + integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== + +"@humanwhocodes/object-schema@^2.0.2": + version "2.0.3" + resolved "https://registry.npmmirror.com/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz" + integrity sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA== + +"@isaacs/cliui@^8.0.2": + version "8.0.2" + resolved "https://registry.npmmirror.com/@isaacs/cliui/-/cliui-8.0.2.tgz" + integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== + dependencies: + string-width "^5.1.2" + string-width-cjs "npm:string-width@^4.2.0" + strip-ansi "^7.0.1" + strip-ansi-cjs "npm:strip-ansi@^6.0.1" + wrap-ansi "^8.1.0" + wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" + +"@jridgewell/gen-mapping@^0.3.2", "@jridgewell/gen-mapping@^0.3.5": + version "0.3.5" + resolved "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz" + integrity sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg== + dependencies: + "@jridgewell/set-array" "^1.2.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.24" + +"@jridgewell/resolve-uri@^3.1.0": + version "3.1.2" + resolved "https://registry.npmmirror.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz" + integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== + +"@jridgewell/set-array@^1.2.1": + version "1.2.1" + resolved "https://registry.npmmirror.com/@jridgewell/set-array/-/set-array-1.2.1.tgz" + integrity sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A== + +"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14": + version "1.4.15" + resolved "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz" + integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== + +"@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": + version "0.3.25" + resolved "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz" + integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ== + dependencies: + "@jridgewell/resolve-uri" "^3.1.0" + "@jridgewell/sourcemap-codec" "^1.4.14" + +"@ljharb/resumer@~0.0.1": + version "0.0.1" + resolved "https://registry.npmmirror.com/@ljharb/resumer/-/resumer-0.0.1.tgz" + integrity sha512-skQiAOrCfO7vRTq53cxznMpks7wS1va95UCidALlOVWqvBAzwPVErwizDwoMqNVMEn1mDq0utxZd02eIrvF1lw== + dependencies: + "@ljharb/through" "^2.3.9" + +"@ljharb/through@^2.3.9", "@ljharb/through@~2.3.9": + version "2.3.13" + resolved "https://registry.npmmirror.com/@ljharb/through/-/through-2.3.13.tgz" + integrity sha512-/gKJun8NNiWGZJkGzI/Ragc53cOdcLNdzjLaIa+GEjguQs0ulsurx8WN0jijdK9yPqDvziX995sMRLyLt1uZMQ== + dependencies: + call-bind "^1.0.7" + +"@mapbox/geojson-rewind@^0.5.2": + version "0.5.2" + resolved "https://registry.npmmirror.com/@mapbox/geojson-rewind/-/geojson-rewind-0.5.2.tgz#591a5d71a9cd1da1a0bf3420b3bea31b0fc7946a" + integrity sha512-tJaT+RbYGJYStt7wI3cq4Nl4SXxG8W7JDG5DMJu97V25RnbNg3QtQtf+KD+VLjNpWKYsRvXDNmNrBgEETr1ifA== + dependencies: + get-stream "^6.0.1" + minimist "^1.2.6" + +"@mapbox/geojson-types@^1.0.2": + version "1.0.2" + resolved "https://registry.npmmirror.com/@mapbox/geojson-types/-/geojson-types-1.0.2.tgz#9aecf642cb00eab1080a57c4f949a65b4a5846d6" + integrity sha512-e9EBqHHv3EORHrSfbR9DqecPNn+AmuAoQxV6aL8Xu30bJMJR1o8PZLZzpk1Wq7/NfCbuhmakHTPYRhoqLsXRnw== + +"@mapbox/jsonlint-lines-primitives@^2.0.2", "@mapbox/jsonlint-lines-primitives@~2.0.2": + version "2.0.2" + resolved "https://registry.npmmirror.com/@mapbox/jsonlint-lines-primitives/-/jsonlint-lines-primitives-2.0.2.tgz#ce56e539f83552b58d10d672ea4d6fc9adc7b234" + integrity sha512-rY0o9A5ECsTQRVhv7tL/OyDpGAoUB4tTvLiW1DSzQGq4bvTPhNw1VpSNjDJc5GFZ2XuyOtSWSVN05qOtcD71qQ== + +"@mapbox/mapbox-gl-supported@^1.5.0": + version "1.5.0" + resolved "https://registry.npmmirror.com/@mapbox/mapbox-gl-supported/-/mapbox-gl-supported-1.5.0.tgz#f60b6a55a5d8e5ee908347d2ce4250b15103dc8e" + integrity sha512-/PT1P6DNf7vjEEiPkVIRJkvibbqWtqnyGaBz3nfRdcxclNSnSdaLU5tfAgcD7I8Yt5i+L19s406YLl1koLnLbg== + +"@mapbox/martini@^0.2.0": + version "0.2.0" + resolved "https://registry.npmmirror.com/@mapbox/martini/-/martini-0.2.0.tgz#1af70211fbe994abf26e37f1388ca69c02cd43b4" + integrity sha512-7hFhtkb0KTLEls+TRw/rWayq5EeHtTaErgm/NskVoXmtgAQu/9D299aeyj6mzAR/6XUnYRp2lU+4IcrYRFjVsQ== + +"@mapbox/point-geometry@0.1.0", "@mapbox/point-geometry@^0.1.0", "@mapbox/point-geometry@~0.1.0": + version "0.1.0" + resolved "https://registry.npmmirror.com/@mapbox/point-geometry/-/point-geometry-0.1.0.tgz#8a83f9335c7860effa2eeeca254332aa0aeed8f2" + integrity sha512-6j56HdLTwWGO0fJPlrZtdU/B13q8Uwmo18Ck2GnGgN9PCFyKTZ3UbXeEdRFh18i9XQ92eH2VdtpJHpBD3aripQ== + +"@mapbox/tiny-sdf@^1.1.1", "@mapbox/tiny-sdf@^1.2.5": + version "1.2.5" + resolved "https://registry.npmmirror.com/@mapbox/tiny-sdf/-/tiny-sdf-1.2.5.tgz#424c620a96442b20402552be70a7f62a8407cc59" + integrity sha512-cD8A/zJlm6fdJOk6DqPUV8mcpyJkRz2x2R+/fYcWDYG3oWbG7/L7Yl/WqQ1VZCjnL9OTIMAn6c+BC5Eru4sQEw== + +"@mapbox/tiny-sdf@^2.0.6": + version "2.0.6" + resolved "https://registry.npmmirror.com/@mapbox/tiny-sdf/-/tiny-sdf-2.0.6.tgz#9a1d33e5018093e88f6a4df2343e886056287282" + integrity sha512-qMqa27TLw+ZQz5Jk+RcwZGH7BQf5G/TrutJhspsca/3SHwmgKQ1iq+d3Jxz5oysPVYTGP6aXxCo5Lk9Er6YBAA== + +"@mapbox/unitbezier@^0.0.0": + version "0.0.0" + resolved "https://registry.npmmirror.com/@mapbox/unitbezier/-/unitbezier-0.0.0.tgz#15651bd553a67b8581fb398810c98ad86a34524e" + integrity sha512-HPnRdYO0WjFjRTSwO3frz1wKaU649OBFPX3Zo/2WZvuRi6zMiRGui8SnPQiQABgqCf8YikDe5t3HViTVw1WUzA== + +"@mapbox/unitbezier@^0.0.1": + version "0.0.1" + resolved "https://registry.npmmirror.com/@mapbox/unitbezier/-/unitbezier-0.0.1.tgz#d32deb66c7177e9e9dfc3bbd697083e2e657ff01" + integrity sha512-nMkuDXFv60aBr9soUG5q+GvZYL+2KZHVvsqFCzqnkGEf46U2fvmytHaEVc1/YZbiLn8X+eR3QzX1+dwDO1lxlw== + +"@mapbox/vector-tile@^1.3.1": + version "1.3.1" + resolved "https://registry.npmmirror.com/@mapbox/vector-tile/-/vector-tile-1.3.1.tgz#d3a74c90402d06e89ec66de49ec817ff53409666" + integrity sha512-MCEddb8u44/xfQ3oD+Srl/tNcQoqTw3goGk2oLsrFxOTc3dUp+kAnby3PvAeeBYSMSjSPD1nd1AJA6W49WnoUw== + dependencies: + "@mapbox/point-geometry" "~0.1.0" + +"@mapbox/whoots-js@^3.1.0": + version "3.1.0" + resolved "https://registry.npmmirror.com/@mapbox/whoots-js/-/whoots-js-3.1.0.tgz#497c67a1cef50d1a2459ba60f315e448d2ad87fe" + integrity sha512-Es6WcD0nO5l+2BOQS4uLfNPYQaNDfbot3X1XUoloz+x0mPDS3eeORZJl06HXjwBG1fOGwCRnzK88LMdxKRrd6Q== + +"@maplibre/maplibre-gl-style-spec@^19.3.3": + version "19.3.3" + resolved "https://registry.npmmirror.com/@maplibre/maplibre-gl-style-spec/-/maplibre-gl-style-spec-19.3.3.tgz#a106248bd2e25e77c963a362aeaf630e00f924e9" + integrity sha512-cOZZOVhDSulgK0meTsTkmNXb1ahVvmTmWmfx9gRBwc6hq98wS9JP35ESIoNq3xqEan+UN+gn8187Z6E4NKhLsw== + dependencies: + "@mapbox/jsonlint-lines-primitives" "~2.0.2" + "@mapbox/unitbezier" "^0.0.1" + json-stringify-pretty-compact "^3.0.0" + minimist "^1.2.8" + rw "^1.3.3" + sort-object "^3.0.3" + +"@microsoft/fetch-event-source@^2.0.1": + version "2.0.1" + resolved "https://registry.npmmirror.com/@microsoft/fetch-event-source/-/fetch-event-source-2.0.1.tgz" + integrity sha512-W6CLUJ2eBMw3Rec70qrsEW0jOm/3twwJv21mrmj2yORiaVmVYGS4sSS5yUwvQc1ZlDLYGPnClVWmUUMagKNsfA== + +"@monaco-editor/loader@^1.4.0": + version "1.4.0" + resolved "https://registry.npmmirror.com/@monaco-editor/loader/-/loader-1.4.0.tgz" + integrity sha512-00ioBig0x642hytVspPl7DbQyaSWRaolYie/UFNjoTdvoKPzo6xrXLhTk9ixgIKcLH5b5vDOjVNiGyY+uDCUlg== + dependencies: + state-local "^1.0.6" + +"@monaco-editor/react@^4.5.2": + version "4.6.0" + resolved "https://registry.npmmirror.com/@monaco-editor/react/-/react-4.6.0.tgz" + integrity sha512-RFkU9/i7cN2bsq/iTkurMWOEErmYcY6JiQI3Jn+WeR/FGISH8JbHERjpS9oRuSOPvDMJI0Z8nJeKkbOs9sBYQw== + dependencies: + "@monaco-editor/loader" "^1.4.0" + +"@mui/base@5.0.0-beta.14": + version "5.0.0-beta.14" + resolved "https://registry.npmmirror.com/@mui/base/-/base-5.0.0-beta.14.tgz" + integrity sha512-Je/9JzzYObsuLCIClgE8XvXNFb55IEz8n2NtStUfASfNiVrwiR8t6VVFFuhofehkyTIN34tq1qbBaOjCnOovBw== + dependencies: + "@babel/runtime" "^7.22.10" + "@emotion/is-prop-valid" "^1.2.1" + "@floating-ui/react-dom" "^2.0.1" + "@mui/types" "^7.2.4" + "@mui/utils" "^5.14.8" + "@popperjs/core" "^2.11.8" + clsx "^2.0.0" + prop-types "^15.8.1" + react-is "^18.2.0" + +"@mui/base@5.0.0-beta.40": + version "5.0.0-beta.40" + resolved "https://registry.npmmirror.com/@mui/base/-/base-5.0.0-beta.40.tgz" + integrity sha512-I/lGHztkCzvwlXpjD2+SNmvNQvB4227xBXhISPjEaJUXGImOQ9f3D2Yj/T3KasSI/h0MLWy74X0J6clhPmsRbQ== + dependencies: + "@babel/runtime" "^7.23.9" + "@floating-ui/react-dom" "^2.0.8" + "@mui/types" "^7.2.14" + "@mui/utils" "^5.15.14" + "@popperjs/core" "^2.11.8" + clsx "^2.1.0" + prop-types "^15.8.1" + +"@mui/core-downloads-tracker@^5.14.8", "@mui/core-downloads-tracker@^5.15.20": + version "5.15.20" + resolved "https://registry.npmmirror.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.15.20.tgz" + integrity sha512-DoL2ppgldL16utL8nNyj/P12f8mCNdx/Hb/AJnX9rLY4b52hCMIx1kH83pbXQ6uMy6n54M3StmEbvSGoj2OFuA== + +"@mui/icons-material@^5.11.16": + version "5.15.20" + resolved "https://registry.npmmirror.com/@mui/icons-material/-/icons-material-5.15.20.tgz" + integrity sha512-oGcKmCuHaYbAAoLN67WKSXtHmEgyWcJToT1uRtmPyxMj9N5uqwc/mRtEnst4Wj/eGr+zYH2FiZQ79v9k7kSk1Q== + dependencies: + "@babel/runtime" "^7.23.9" + +"@mui/joy@5.0.0-beta.5": + version "5.0.0-beta.5" + resolved "https://registry.npmmirror.com/@mui/joy/-/joy-5.0.0-beta.5.tgz" + integrity sha512-PN/a24SPZY3sQMCtZdvG/ELMFXytSjnDBSYhwJVxdghJdWIhk40CltARxzg0puORTQfqeX8fub7WLHFAPU2Lwg== + dependencies: + "@babel/runtime" "^7.22.10" + "@mui/base" "5.0.0-beta.14" + "@mui/core-downloads-tracker" "^5.14.8" + "@mui/system" "^5.14.8" + "@mui/types" "^7.2.4" + "@mui/utils" "^5.14.8" + clsx "^2.0.0" + csstype "^3.1.2" + prop-types "^15.8.1" + react-is "^18.2.0" + +"@mui/material@^5.15.20": + version "5.15.20" + resolved "https://registry.npmmirror.com/@mui/material/-/material-5.15.20.tgz" + integrity sha512-tVq3l4qoXx/NxUgIx/x3lZiPn/5xDbdTE8VrLczNpfblLYZzlrbxA7kb9mI8NoBF6+w9WE9IrxWnKK5KlPI2bg== + dependencies: + "@babel/runtime" "^7.23.9" + "@mui/base" "5.0.0-beta.40" + "@mui/core-downloads-tracker" "^5.15.20" + "@mui/system" "^5.15.20" + "@mui/types" "^7.2.14" + "@mui/utils" "^5.15.20" + "@types/react-transition-group" "^4.4.10" + clsx "^2.1.0" + csstype "^3.1.3" + prop-types "^15.8.1" + react-is "^18.2.0" + react-transition-group "^4.4.5" + +"@mui/private-theming@^5.15.20": + version "5.15.20" + resolved "https://registry.npmmirror.com/@mui/private-theming/-/private-theming-5.15.20.tgz" + integrity sha512-BK8F94AIqSrnaPYXf2KAOjGZJgWfvqAVQ2gVR3EryvQFtuBnG6RwodxrCvd3B48VuMy6Wsk897+lQMUxJyk+6g== + dependencies: + "@babel/runtime" "^7.23.9" + "@mui/utils" "^5.15.20" + prop-types "^15.8.1" + +"@mui/styled-engine@^5.15.14": + version "5.15.14" + resolved "https://registry.npmmirror.com/@mui/styled-engine/-/styled-engine-5.15.14.tgz" + integrity sha512-RILkuVD8gY6PvjZjqnWhz8fu68dVkqhM5+jYWfB5yhlSQKg+2rHkmEwm75XIeAqI3qwOndK6zELK5H6Zxn4NHw== + dependencies: + "@babel/runtime" "^7.23.9" + "@emotion/cache" "^11.11.0" + csstype "^3.1.3" + prop-types "^15.8.1" + +"@mui/system@^5.14.8", "@mui/system@^5.15.20": + version "5.15.20" + resolved "https://registry.npmmirror.com/@mui/system/-/system-5.15.20.tgz" + integrity sha512-LoMq4IlAAhxzL2VNUDBTQxAb4chnBe8JvRINVNDiMtHE2PiPOoHlhOPutSxEbaL5mkECPVWSv6p8JEV+uykwIA== + dependencies: + "@babel/runtime" "^7.23.9" + "@mui/private-theming" "^5.15.20" + "@mui/styled-engine" "^5.15.14" + "@mui/types" "^7.2.14" + "@mui/utils" "^5.15.20" + clsx "^2.1.0" + csstype "^3.1.3" + prop-types "^15.8.1" + +"@mui/types@^7.2.14", "@mui/types@^7.2.4": + version "7.2.14" + resolved "https://registry.npmmirror.com/@mui/types/-/types-7.2.14.tgz" + integrity sha512-MZsBZ4q4HfzBsywtXgM1Ksj6HDThtiwmOKUXH1pKYISI9gAVXCNHNpo7TlGoGrBaYWZTdNoirIN7JsQcQUjmQQ== + +"@mui/utils@^5.14.8", "@mui/utils@^5.15.14", "@mui/utils@^5.15.20": + version "5.15.20" + resolved "https://registry.npmmirror.com/@mui/utils/-/utils-5.15.20.tgz" + integrity sha512-mAbYx0sovrnpAu1zHc3MDIhPqL8RPVC5W5xcO1b7PiSCJPtckIZmBkp8hefamAvUiAV8gpfMOM6Zb+eSisbI2A== + dependencies: + "@babel/runtime" "^7.23.9" + "@types/prop-types" "^15.7.11" + prop-types "^15.8.1" + react-is "^18.2.0" + +"@naoak/workerize-transferable@^0.1.0": + version "0.1.0" + resolved "https://registry.npmmirror.com/@naoak/workerize-transferable/-/workerize-transferable-0.1.0.tgz" + integrity sha512-fDLfuP71IPNP5+zSfxFb52OHgtjZvauRJWbVnpzQ7G7BjcbLjTny0OW1d3ZO806XKpLWNKmeeW3MhE0sy8iwYQ== + +"@next/env@13.4.7": + version "13.4.7" + resolved "https://registry.npmmirror.com/@next/env/-/env-13.4.7.tgz" + integrity sha512-ZlbiFulnwiFsW9UV1ku1OvX/oyIPLtMk9p/nnvDSwI0s7vSoZdRtxXNsaO+ZXrLv/pMbXVGq4lL8TbY9iuGmVw== + +"@next/eslint-plugin-next@13.4.7": + version "13.4.7" + resolved "https://registry.npmmirror.com/@next/eslint-plugin-next/-/eslint-plugin-next-13.4.7.tgz" + integrity sha512-ANEPltxzXbyyG7CvqxdY4PmeM5+RyWdAJGufTHnU+LA/i3J6IDV2r8Z4onKwskwKEhwqzz5lMaSYGGXLyHX+mg== + dependencies: + glob "7.1.7" + +"@next/swc-darwin-arm64@13.4.7": + version "13.4.7" + resolved "https://registry.npmmirror.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.4.7.tgz" + integrity sha512-VZTxPv1b59KGiv/pZHTO5Gbsdeoxcj2rU2cqJu03btMhHpn3vwzEK0gUSVC/XW96aeGO67X+cMahhwHzef24/w== + +"@next/swc-darwin-x64@13.4.7": + version "13.4.7" + resolved "https://registry.npmmirror.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.7.tgz#4c14ec14b200373cd602589086cb1253a28cd803" + integrity sha512-gO2bw+2Ymmga+QYujjvDz9955xvYGrWofmxTq7m70b9pDPvl7aDFABJOZ2a8SRCuSNB5mXU8eTOmVVwyp/nAew== + +"@next/swc-linux-arm64-gnu@13.4.7": + version "13.4.7" + resolved "https://registry.npmmirror.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.7.tgz#e7819167ec876ddac5a959e4c7bce4d001f0e924" + integrity sha512-6cqp3vf1eHxjIDhEOc7Mh/s8z1cwc/l5B6ZNkOofmZVyu1zsbEM5Hmx64s12Rd9AYgGoiCz4OJ4M/oRnkE16/Q== + +"@next/swc-linux-arm64-musl@13.4.7": + version "13.4.7" + resolved "https://registry.npmmirror.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.7.tgz#0cac0f01d4e308b439e6c33182bed77835fe383b" + integrity sha512-T1kD2FWOEy5WPidOn1si0rYmWORNch4a/NR52Ghyp4q7KyxOCuiOfZzyhVC5tsLIBDH3+cNdB5DkD9afpNDaOw== + +"@next/swc-linux-x64-gnu@13.4.7": + version "13.4.7" + resolved "https://registry.npmmirror.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.7.tgz#feb61e16a68c67f3ef230f30d9562a3783c7bd59" + integrity sha512-zaEC+iEiAHNdhl6fuwl0H0shnTzQoAoJiDYBUze8QTntE/GNPfTYpYboxF5LRYIjBwETUatvE0T64W6SKDipvg== + +"@next/swc-linux-x64-musl@13.4.7": + version "13.4.7" + resolved "https://registry.npmmirror.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.7.tgz#02179ecfa6d24a2956c2b54f7d27a050568bbf24" + integrity sha512-X6r12F8d8SKAtYJqLZBBMIwEqcTRvUdVm+xIq+l6pJqlgT2tNsLLf2i5Cl88xSsIytBICGsCNNHd+siD2fbWBA== + +"@next/swc-win32-arm64-msvc@13.4.7": + version "13.4.7" + resolved "https://registry.npmmirror.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.7.tgz#274b7f00a2ec5934af73db15da8459e8647bfaed" + integrity sha512-NPnmnV+vEIxnu6SUvjnuaWRglZzw4ox5n/MQTxeUhb5iwVWFedolPFebMNwgrWu4AELwvTdGtWjqof53AiWHcw== + +"@next/swc-win32-ia32-msvc@13.4.7": + version "13.4.7" + resolved "https://registry.npmmirror.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.7.tgz#4a95c106a6db2eee3a4c1352b77995e298d7446a" + integrity sha512-6Hxijm6/a8XqLQpOOf/XuwWRhcuc/g4rBB2oxjgCMuV9Xlr2bLs5+lXyh8w9YbAUMYR3iC9mgOlXbHa79elmXw== + +"@next/swc-win32-x64-msvc@13.4.7": + version "13.4.7" + resolved "https://registry.npmmirror.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.7.tgz#5137780f58d7f0230adc293a0429821bfa7d8c21" + integrity sha512-sW9Yt36Db1nXJL+mTr2Wo0y+VkPWeYhygvcHj1FF0srVtV+VoDjxleKtny21QHaG05zdeZnw2fCtf2+dEqgwqA== + +"@nodelib/fs.scandir@2.1.5": + version "2.1.5" + resolved "https://registry.npmmirror.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" + integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== + dependencies: + "@nodelib/fs.stat" "2.0.5" + run-parallel "^1.1.9" + +"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": + version "2.0.5" + resolved "https://registry.npmmirror.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz" + integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== + +"@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8": + version "1.2.8" + resolved "https://registry.npmmirror.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz" + integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== + dependencies: + "@nodelib/fs.scandir" "2.1.5" + fastq "^1.6.0" + +"@nolyfill/is-core-module@1.0.39": + version "1.0.39" + resolved "https://registry.npmmirror.com/@nolyfill/is-core-module/-/is-core-module-1.0.39.tgz#3dc35ba0f1e66b403c00b39344f870298ebb1c8e" + integrity sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA== + +"@oceanbase-odc/monaco-plugin-ob@^1.0.3": + version "1.2.6" + resolved "https://registry.npmmirror.com/@oceanbase-odc/monaco-plugin-ob/-/monaco-plugin-ob-1.2.6.tgz" + integrity sha512-/MjXQVzu1ZeLRV1tKZ00kHHejuUoVda+HHL1GY9hp0g3lqnbIDgibbqhr479vO3hkV5HjF3B7fZei+ExuwcNQA== + dependencies: + "@oceanbase-odc/ob-parser-js" "^3" + antlr4 "~4.8.0" + comlink "^4.3.1" + +"@oceanbase-odc/ob-parser-js@^3": + version "3.0.4" + resolved "https://registry.npmmirror.com/@oceanbase-odc/ob-parser-js/-/ob-parser-js-3.0.4.tgz" + integrity sha512-ExKvHW4cF0IzZgrYzMTQ3H2sFAyQABf+hXsbCyp2o4teDEPNUVsw66BBMZT177i+9lXt4lDEBXXYdPQFnh0hJw== + dependencies: + antlr4 "~4.8.0" + lodash "^4.17.20" + +"@panva/hkdf@^1.0.2": + version "1.2.0" + resolved "https://registry.npmmirror.com/@panva/hkdf/-/hkdf-1.2.0.tgz" + integrity sha512-97ZQvZJ4gJhi24Io6zI+W7B67I82q1I8i3BSzQ4OyZj1z4OW87/ruF26lrMES58inTKLy2KgVIDcx8PU4AaANQ== + +"@peculiar/asn1-schema@^2.3.8": + version "2.3.13" + resolved "https://registry.npmmirror.com/@peculiar/asn1-schema/-/asn1-schema-2.3.13.tgz" + integrity sha512-3Xq3a01WkHRZL8X04Zsfg//mGaA21xlL4tlVn4v2xGT0JStiztATRkMwa5b+f/HXmY2smsiLXYK46Gwgzvfg3g== + dependencies: + asn1js "^3.0.5" + pvtsutils "^1.3.5" + tslib "^2.6.2" + +"@peculiar/json-schema@^1.1.12": + version "1.1.12" + resolved "https://registry.npmmirror.com/@peculiar/json-schema/-/json-schema-1.1.12.tgz" + integrity sha512-coUfuoMeIB7B8/NMekxaDzLhaYmp0HZNPEjYRm9goRou8UZIC3z21s0sL9AWoCw4EG876QyO3kYrc61WNF9B/w== + dependencies: + tslib "^2.0.0" + +"@peculiar/webcrypto@^1.4.0": + version "1.5.0" + resolved "https://registry.npmmirror.com/@peculiar/webcrypto/-/webcrypto-1.5.0.tgz" + integrity sha512-BRs5XUAwiyCDQMsVA9IDvDa7UBR9gAvPHgugOeGng3YN6vJ9JYonyDc0lNczErgtCWtucjR5N7VtaonboD/ezg== + dependencies: + "@peculiar/asn1-schema" "^2.3.8" + "@peculiar/json-schema" "^1.1.12" + pvtsutils "^1.3.5" + tslib "^2.6.2" + webcrypto-core "^1.8.0" + +"@pkgjs/parseargs@^0.11.0": + version "0.11.0" + resolved "https://registry.npmmirror.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz" + integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== + +"@pkgr/core@^0.1.0": + version "0.1.1" + resolved "https://registry.npmmirror.com/@pkgr/core/-/core-0.1.1.tgz#1ec17e2edbec25c8306d424ecfbf13c7de1aaa31" + integrity sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA== + +"@popperjs/core@^2.11.8", "@popperjs/core@^2.9.0": + version "2.11.8" + resolved "https://registry.npmmirror.com/@popperjs/core/-/core-2.11.8.tgz#6b79032e760a0899cd4204710beede972a3a185f" + integrity sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A== + +"@rc-component/async-validator@^5.0.3": + version "5.0.4" + resolved "https://registry.npmmirror.com/@rc-component/async-validator/-/async-validator-5.0.4.tgz" + integrity sha512-qgGdcVIF604M9EqjNF0hbUTz42bz/RDtxWdWuU5EQe3hi7M8ob54B6B35rOsvX5eSvIHIzT9iH1R3n+hk3CGfg== + dependencies: + "@babel/runtime" "^7.24.4" + +"@rc-component/color-picker@~2.0.1": + version "2.0.1" + resolved "https://registry.npmmirror.com/@rc-component/color-picker/-/color-picker-2.0.1.tgz" + integrity sha512-WcZYwAThV/b2GISQ8F+7650r5ZZJ043E57aVBFkQ+kSY4C6wdofXgB0hBx+GPGpIU0Z81eETNoDUJMr7oy/P8Q== + dependencies: + "@ant-design/fast-color" "^2.0.6" + "@babel/runtime" "^7.23.6" + classnames "^2.2.6" + rc-util "^5.38.1" + +"@rc-component/context@^1.4.0": + version "1.4.0" + resolved "https://registry.npmmirror.com/@rc-component/context/-/context-1.4.0.tgz" + integrity sha512-kFcNxg9oLRMoL3qki0OMxK+7g5mypjgaaJp/pkOis/6rVxma9nJBF/8kCIuTYHUQNr0ii7MxqE33wirPZLJQ2w== + dependencies: + "@babel/runtime" "^7.10.1" + rc-util "^5.27.0" + +"@rc-component/mini-decimal@^1.0.1": + version "1.1.0" + resolved "https://registry.npmmirror.com/@rc-component/mini-decimal/-/mini-decimal-1.1.0.tgz" + integrity sha512-jS4E7T9Li2GuYwI6PyiVXmxTiM6b07rlD9Ge8uGZSCz3WlzcG5ZK7g5bbuKNeZ9pgUuPK/5guV781ujdVpm4HQ== + dependencies: + "@babel/runtime" "^7.18.0" + +"@rc-component/mutate-observer@^1.1.0": + version "1.1.0" + resolved "https://registry.npmmirror.com/@rc-component/mutate-observer/-/mutate-observer-1.1.0.tgz" + integrity sha512-QjrOsDXQusNwGZPf4/qRQasg7UFEj06XiCJ8iuiq/Io7CrHrgVi6Uuetw60WAMG1799v+aM8kyc+1L/GBbHSlw== + dependencies: + "@babel/runtime" "^7.18.0" + classnames "^2.3.2" + rc-util "^5.24.4" + +"@rc-component/portal@^1.0.0-8", "@rc-component/portal@^1.0.0-9", "@rc-component/portal@^1.0.2", "@rc-component/portal@^1.1.0", "@rc-component/portal@^1.1.1": + version "1.1.2" + resolved "https://registry.npmmirror.com/@rc-component/portal/-/portal-1.1.2.tgz" + integrity sha512-6f813C0IsasTZms08kfA8kPAGxbbkYToa8ALaiDIGGECU4i9hj8Plgbx0sNJDrey3EtHO30hmdaxtT0138xZcg== + dependencies: + "@babel/runtime" "^7.18.0" + classnames "^2.3.2" + rc-util "^5.24.4" + +"@rc-component/qrcode@~1.0.0": + version "1.0.0" + resolved "https://registry.npmmirror.com/@rc-component/qrcode/-/qrcode-1.0.0.tgz" + integrity sha512-L+rZ4HXP2sJ1gHMGHjsg9jlYBX/SLN2D6OxP9Zn3qgtpMWtO2vUfxVFwiogHpAIqs54FnALxraUy/BCO1yRIgg== + dependencies: + "@babel/runtime" "^7.24.7" + classnames "^2.3.2" + rc-util "^5.38.0" + +"@rc-component/tour@~1.15.0": + version "1.15.0" + resolved "https://registry.npmmirror.com/@rc-component/tour/-/tour-1.15.0.tgz" + integrity sha512-h6hyILDwL+In9GAgRobwRWihLqqsD7Uft3fZGrJ7L4EiyCoxbnNYwzPXDfz7vNDhWeVyvAWQJj9fJCzpI4+b4g== + dependencies: + "@babel/runtime" "^7.18.0" + "@rc-component/portal" "^1.0.0-9" + "@rc-component/trigger" "^2.0.0" + classnames "^2.3.2" + rc-util "^5.24.4" + +"@rc-component/trigger@^2.0.0", "@rc-component/trigger@^2.1.1", "@rc-component/trigger@^2.2.1": + version "2.2.1" + resolved "https://registry.npmmirror.com/@rc-component/trigger/-/trigger-2.2.1.tgz" + integrity sha512-fuU11J8pOt6+U/tU6/CAv8wjCwGaNeRk9f5k8HQth7JBbJ6MMH62WhGycVW75VnXfBZgL/7kO+wbiO2Xc9U9sQ== + dependencies: + "@babel/runtime" "^7.23.2" + "@rc-component/portal" "^1.1.0" + classnames "^2.3.2" + rc-motion "^2.0.0" + rc-resize-observer "^1.3.1" + rc-util "^5.38.0" + +"@reactflow/background@11.3.14": + version "11.3.14" + resolved "https://registry.npmmirror.com/@reactflow/background/-/background-11.3.14.tgz" + integrity sha512-Gewd7blEVT5Lh6jqrvOgd4G6Qk17eGKQfsDXgyRSqM+CTwDqRldG2LsWN4sNeno6sbqVIC2fZ+rAUBFA9ZEUDA== + dependencies: + "@reactflow/core" "11.11.4" + classcat "^5.0.3" + zustand "^4.4.1" + +"@reactflow/controls@11.2.14": + version "11.2.14" + resolved "https://registry.npmmirror.com/@reactflow/controls/-/controls-11.2.14.tgz" + integrity sha512-MiJp5VldFD7FrqaBNIrQ85dxChrG6ivuZ+dcFhPQUwOK3HfYgX2RHdBua+gx+40p5Vw5It3dVNp/my4Z3jF0dw== + dependencies: + "@reactflow/core" "11.11.4" + classcat "^5.0.3" + zustand "^4.4.1" + +"@reactflow/core@11.11.4": + version "11.11.4" + resolved "https://registry.npmmirror.com/@reactflow/core/-/core-11.11.4.tgz" + integrity sha512-H4vODklsjAq3AMq6Np4LE12i1I4Ta9PrDHuBR9GmL8uzTt2l2jh4CiQbEMpvMDcp7xi4be0hgXj+Ysodde/i7Q== + dependencies: + "@types/d3" "^7.4.0" + "@types/d3-drag" "^3.0.1" + "@types/d3-selection" "^3.0.3" + "@types/d3-zoom" "^3.0.1" + classcat "^5.0.3" + d3-drag "^3.0.0" + d3-selection "^3.0.0" + d3-zoom "^3.0.0" + zustand "^4.4.1" + +"@reactflow/minimap@11.7.14": + version "11.7.14" + resolved "https://registry.npmmirror.com/@reactflow/minimap/-/minimap-11.7.14.tgz" + integrity sha512-mpwLKKrEAofgFJdkhwR5UQ1JYWlcAAL/ZU/bctBkuNTT1yqV+y0buoNVImsRehVYhJwffSWeSHaBR5/GJjlCSQ== + dependencies: + "@reactflow/core" "11.11.4" + "@types/d3-selection" "^3.0.3" + "@types/d3-zoom" "^3.0.1" + classcat "^5.0.3" + d3-selection "^3.0.0" + d3-zoom "^3.0.0" + zustand "^4.4.1" + +"@reactflow/node-resizer@2.2.14": + version "2.2.14" + resolved "https://registry.npmmirror.com/@reactflow/node-resizer/-/node-resizer-2.2.14.tgz" + integrity sha512-fwqnks83jUlYr6OHcdFEedumWKChTHRGw/kbCxj0oqBd+ekfs+SIp4ddyNU0pdx96JIm5iNFS0oNrmEiJbbSaA== + dependencies: + "@reactflow/core" "11.11.4" + classcat "^5.0.4" + d3-drag "^3.0.0" + d3-selection "^3.0.0" + zustand "^4.4.1" + +"@reactflow/node-toolbar@1.3.14": + version "1.3.14" + resolved "https://registry.npmmirror.com/@reactflow/node-toolbar/-/node-toolbar-1.3.14.tgz" + integrity sha512-rbynXQnH/xFNu4P9H+hVqlEUafDCkEoCy0Dg9mG22Sg+rY/0ck6KkrAQrYrTgXusd+cEJOMK0uOOFCK2/5rSGQ== + dependencies: + "@reactflow/core" "11.11.4" + classcat "^5.0.3" + zustand "^4.4.1" + +"@rushstack/eslint-patch@^1.1.3": + version "1.10.3" + resolved "https://registry.npmmirror.com/@rushstack/eslint-patch/-/eslint-patch-1.10.3.tgz" + integrity sha512-qC/xYId4NMebE6w/V33Fh9gWxLgURiNYgVNObbJl2LZv0GUUItCcCqC5axQSwRaAgaxl2mELq1rMzlswaQ0Zxg== + +"@sindresorhus/merge-streams@^2.1.0": + version "2.3.0" + resolved "https://registry.npmmirror.com/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz" + integrity sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg== + +"@swc/helpers@0.5.1": + version "0.5.1" + resolved "https://registry.npmmirror.com/@swc/helpers/-/helpers-0.5.1.tgz" + integrity sha512-sJ902EfIzn1Fa+qYmjdQqh8tPsoxyBz+8yBKC2HKUxyezKJFwPGOn7pv4WY6QuQW//ySQi5lJjA/ZT9sNWWNTg== + dependencies: + tslib "^2.4.0" + +"@tsconfig/node16@^1.0.3": + version "1.0.4" + resolved "https://registry.npmmirror.com/@tsconfig/node16/-/node16-1.0.4.tgz" + integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA== + +"@turf/along@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/along/-/along-6.5.0.tgz#ab12eec58a14de60fe243a62d31a474f415c8fef" + integrity sha512-LLyWQ0AARqJCmMcIEAXF4GEu8usmd4Kbz3qk1Oy5HoRNpZX47+i5exQtmIWKdqJ1MMhW26fCTXgpsEs5zgJ5gw== + dependencies: + "@turf/bearing" "^6.5.0" + "@turf/destination" "^6.5.0" + "@turf/distance" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/angle@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/angle/-/angle-6.5.0.tgz#985934171284e109d41e19ed48ad91cf9709a928" + integrity sha512-4pXMbWhFofJJAOvTMCns6N4C8CMd5Ih4O2jSAG9b3dDHakj3O4yN1+Zbm+NUei+eVEZ9gFeVp9svE3aMDenIkw== + dependencies: + "@turf/bearing" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/rhumb-bearing" "^6.5.0" + +"@turf/area@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/area/-/area-6.5.0.tgz#1d0d7aee01d8a4a3d4c91663ed35cc615f36ad56" + integrity sha512-xCZdiuojokLbQ+29qR6qoMD89hv+JAgWjLrwSEWL+3JV8IXKeNFl6XkEJz9HGkVpnXvQKJoRz4/liT+8ZZ5Jyg== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/bbox-clip@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/bbox-clip/-/bbox-clip-6.5.0.tgz#8e07d51ef8c875f9490d5c8699a2e51918587c94" + integrity sha512-F6PaIRF8WMp8EmgU/Ke5B1Y6/pia14UAYB5TiBC668w5rVVjy5L8rTm/m2lEkkDMHlzoP9vNY4pxpNthE7rLcQ== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/bbox-polygon@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/bbox-polygon/-/bbox-polygon-6.5.0.tgz#f18128b012eedfa860a521d8f2b3779cc0801032" + integrity sha512-+/r0NyL1lOG3zKZmmf6L8ommU07HliP4dgYToMoTxqzsWzyLjaj/OzgQ8rBmv703WJX+aS6yCmLuIhYqyufyuw== + dependencies: + "@turf/helpers" "^6.5.0" + +"@turf/bbox@*": + version "7.1.0" + resolved "https://registry.npmmirror.com/@turf/bbox/-/bbox-7.1.0.tgz#45a9287c084f7b79577ee88b7b539d83562b923b" + integrity sha512-PdWPz9tW86PD78vSZj2fiRaB8JhUHy6piSa/QXb83lucxPK+HTAdzlDQMTKj5okRCU8Ox/25IR2ep9T8NdopRA== + dependencies: + "@turf/helpers" "^7.1.0" + "@turf/meta" "^7.1.0" + "@types/geojson" "^7946.0.10" + tslib "^2.6.2" + +"@turf/bbox@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/bbox/-/bbox-6.5.0.tgz#bec30a744019eae420dac9ea46fb75caa44d8dc5" + integrity sha512-RBbLaao5hXTYyyg577iuMtDB8ehxMlUqHEJiMs8jT1GHkFhr6sYre3lmLsPeYEi/ZKj5TP5tt7fkzNdJ4GIVyw== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/bearing@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/bearing/-/bearing-6.5.0.tgz#462a053c6c644434bdb636b39f8f43fb0cd857b0" + integrity sha512-dxINYhIEMzgDOztyMZc20I7ssYVNEpSv04VbMo5YPQsqa80KO3TFvbuCahMsCAW5z8Tncc8dwBlEFrmRjJG33A== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/bezier-spline@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/bezier-spline/-/bezier-spline-6.5.0.tgz#d1b1764948b0fa3d9aa6e4895aebeba24048b11f" + integrity sha512-vokPaurTd4PF96rRgGVm6zYYC5r1u98ZsG+wZEv9y3kJTuJRX/O3xIY2QnTGTdbVmAJN1ouOsD0RoZYaVoXORQ== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/boolean-clockwise@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/boolean-clockwise/-/boolean-clockwise-6.5.0.tgz#34573ecc18f900080f00e4ff364631a8b1135794" + integrity sha512-45+C7LC5RMbRWrxh3Z0Eihsc8db1VGBO5d9BLTOAwU4jR6SgsunTfRWR16X7JUwIDYlCVEmnjcXJNi/kIU3VIw== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/boolean-contains@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/boolean-contains/-/boolean-contains-6.5.0.tgz#f802e7432fb53109242d5bf57393ef2f53849bbf" + integrity sha512-4m8cJpbw+YQcKVGi8y0cHhBUnYT+QRfx6wzM4GI1IdtYH3p4oh/DOBJKrepQyiDzFDaNIjxuWXBh0ai1zVwOQQ== + dependencies: + "@turf/bbox" "^6.5.0" + "@turf/boolean-point-in-polygon" "^6.5.0" + "@turf/boolean-point-on-line" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/boolean-crosses@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/boolean-crosses/-/boolean-crosses-6.5.0.tgz#4a1981475b9d6e23b25721f9fb8ef20696ff1648" + integrity sha512-gvshbTPhAHporTlQwBJqyfW+2yV8q/mOTxG6PzRVl6ARsqNoqYQWkd4MLug7OmAqVyBzLK3201uAeBjxbGw0Ng== + dependencies: + "@turf/boolean-point-in-polygon" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/line-intersect" "^6.5.0" + "@turf/polygon-to-line" "^6.5.0" + +"@turf/boolean-disjoint@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/boolean-disjoint/-/boolean-disjoint-6.5.0.tgz#e291d8f8f8cce7f7bb3c11e23059156a49afc5e4" + integrity sha512-rZ2ozlrRLIAGo2bjQ/ZUu4oZ/+ZjGvLkN5CKXSKBcu6xFO6k2bgqeM8a1836tAW+Pqp/ZFsTA5fZHsJZvP2D5g== + dependencies: + "@turf/boolean-point-in-polygon" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/line-intersect" "^6.5.0" + "@turf/meta" "^6.5.0" + "@turf/polygon-to-line" "^6.5.0" + +"@turf/boolean-equal@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/boolean-equal/-/boolean-equal-6.5.0.tgz#b1c0ce14e9d9fb7778cddcf22558c9f523fe9141" + integrity sha512-cY0M3yoLC26mhAnjv1gyYNQjn7wxIXmL2hBmI/qs8g5uKuC2hRWi13ydufE3k4x0aNRjFGlg41fjoYLwaVF+9Q== + dependencies: + "@turf/clean-coords" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + geojson-equality "0.1.6" + +"@turf/boolean-intersects@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/boolean-intersects/-/boolean-intersects-6.5.0.tgz#df2b831ea31a4574af6b2fefe391f097a926b9d6" + integrity sha512-nIxkizjRdjKCYFQMnml6cjPsDOBCThrt+nkqtSEcxkKMhAQj5OO7o2CecioNTaX8EayqwMGVKcsz27oP4mKPTw== + dependencies: + "@turf/boolean-disjoint" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/boolean-overlap@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/boolean-overlap/-/boolean-overlap-6.5.0.tgz#f27c85888c3665d42d613a91a83adf1657cd1385" + integrity sha512-8btMIdnbXVWUa1M7D4shyaSGxLRw6NjMcqKBcsTXcZdnaixl22k7ar7BvIzkaRYN3SFECk9VGXfLncNS3ckQUw== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/line-intersect" "^6.5.0" + "@turf/line-overlap" "^6.5.0" + "@turf/meta" "^6.5.0" + geojson-equality "0.1.6" + +"@turf/boolean-parallel@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/boolean-parallel/-/boolean-parallel-6.5.0.tgz#4e8a9dafdccaf18aca95f1265a5eade3f330173f" + integrity sha512-aSHJsr1nq9e5TthZGZ9CZYeXklJyRgR5kCLm5X4urz7+MotMOp/LsGOsvKvK9NeUl9+8OUmfMn8EFTT8LkcvIQ== + dependencies: + "@turf/clean-coords" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/line-segment" "^6.5.0" + "@turf/rhumb-bearing" "^6.5.0" + +"@turf/boolean-point-in-polygon@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/boolean-point-in-polygon/-/boolean-point-in-polygon-6.5.0.tgz#6d2e9c89de4cd2e4365004c1e51490b7795a63cf" + integrity sha512-DtSuVFB26SI+hj0SjrvXowGTUCHlgevPAIsukssW6BG5MlNSBQAo70wpICBNJL6RjukXg8d2eXaAWuD/CqL00A== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/boolean-point-on-line@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/boolean-point-on-line/-/boolean-point-on-line-6.5.0.tgz#a8efa7bad88760676f395afb9980746bc5b376e9" + integrity sha512-A1BbuQ0LceLHvq7F/P7w3QvfpmZqbmViIUPHdNLvZimFNLo4e6IQunmzbe+8aSStH9QRZm3VOflyvNeXvvpZEQ== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/boolean-within@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/boolean-within/-/boolean-within-6.5.0.tgz#31a749d3be51065da8c470a1e5613f4d2efdee06" + integrity sha512-YQB3oU18Inx35C/LU930D36RAVe7LDXk1kWsQ8mLmuqYn9YdPsDQTMTkLJMhoQ8EbN7QTdy333xRQ4MYgToteQ== + dependencies: + "@turf/bbox" "^6.5.0" + "@turf/boolean-point-in-polygon" "^6.5.0" + "@turf/boolean-point-on-line" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/buffer@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/buffer/-/buffer-6.5.0.tgz#22bd0d05b4e1e73eaebc69b8f574a410ff704842" + integrity sha512-qeX4N6+PPWbKqp1AVkBVWFerGjMYMUyencwfnkCesoznU6qvfugFHNAngNqIBVnJjZ5n8IFyOf+akcxnrt9sNg== + dependencies: + "@turf/bbox" "^6.5.0" + "@turf/center" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + "@turf/projection" "^6.5.0" + d3-geo "1.7.1" + turf-jsts "*" + +"@turf/center-mean@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/center-mean/-/center-mean-6.5.0.tgz#2dc329c003f8012ba9ae7812a61b5647e1ae86a2" + integrity sha512-AAX6f4bVn12pTVrMUiB9KrnV94BgeBKpyg3YpfnEbBpkN/znfVhL8dG8IxMAxAoSZ61Zt9WLY34HfENveuOZ7Q== + dependencies: + "@turf/bbox" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/center-median@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/center-median/-/center-median-6.5.0.tgz#1b68e3f288af47f76c247d6bf671f30d8c25c974" + integrity sha512-dT8Ndu5CiZkPrj15PBvslpuf01ky41DEYEPxS01LOxp5HOUHXp1oJxsPxvc+i/wK4BwccPNzU1vzJ0S4emd1KQ== + dependencies: + "@turf/center-mean" "^6.5.0" + "@turf/centroid" "^6.5.0" + "@turf/distance" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/center-of-mass@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/center-of-mass/-/center-of-mass-6.5.0.tgz#f9e6988bc296b7f763a0137ad6095f54843cf06a" + integrity sha512-EWrriU6LraOfPN7m1jZi+1NLTKNkuIsGLZc2+Y8zbGruvUW+QV7K0nhf7iZWutlxHXTBqEXHbKue/o79IumAsQ== + dependencies: + "@turf/centroid" "^6.5.0" + "@turf/convex" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/center@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/center/-/center-6.5.0.tgz#3bcb6bffcb8ba147430cfea84aabaed5dbdd4f07" + integrity sha512-T8KtMTfSATWcAX088rEDKjyvQCBkUsLnK/Txb6/8WUXIeOZyHu42G7MkdkHRoHtwieLdduDdmPLFyTdG5/e7ZQ== + dependencies: + "@turf/bbox" "^6.5.0" + "@turf/helpers" "^6.5.0" + +"@turf/centroid@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/centroid/-/centroid-6.5.0.tgz#ecaa365412e5a4d595bb448e7dcdacfb49eb0009" + integrity sha512-MwE1oq5E3isewPprEClbfU5pXljIK/GUOMbn22UM3IFPDJX0KeoyLNwghszkdmFp/qMGL/M13MMWvU+GNLXP/A== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/circle@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/circle/-/circle-6.5.0.tgz#dc017d8c0131d1d212b7c06f76510c22bbeb093c" + integrity sha512-oU1+Kq9DgRnoSbWFHKnnUdTmtcRUMmHoV9DjTXu9vOLNV5OWtAAh1VZ+mzsioGGzoDNT/V5igbFOkMfBQc0B6A== + dependencies: + "@turf/destination" "^6.5.0" + "@turf/helpers" "^6.5.0" + +"@turf/clean-coords@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/clean-coords/-/clean-coords-6.5.0.tgz#6690adf764ec4b649710a8a20dab7005efbea53f" + integrity sha512-EMX7gyZz0WTH/ET7xV8MyrExywfm9qUi0/MY89yNffzGIEHuFfqwhcCqZ8O00rZIPZHUTxpmsxQSTfzJJA1CPw== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/clone@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/clone/-/clone-6.5.0.tgz#895860573881ae10a02dfff95f274388b1cda51a" + integrity sha512-mzVtTFj/QycXOn6ig+annKrM6ZlimreKYz6f/GSERytOpgzodbQyOgkfwru100O1KQhhjSudKK4DsQ0oyi9cTw== + dependencies: + "@turf/helpers" "^6.5.0" + +"@turf/clusters-dbscan@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/clusters-dbscan/-/clusters-dbscan-6.5.0.tgz#e01f854d24fac4899009fc6811854424ea8f0985" + integrity sha512-SxZEE4kADU9DqLRiT53QZBBhu8EP9skviSyl+FGj08Y01xfICM/RR9ACUdM0aEQimhpu+ZpRVcUK+2jtiCGrYQ== + dependencies: + "@turf/clone" "^6.5.0" + "@turf/distance" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + density-clustering "1.3.0" + +"@turf/clusters-kmeans@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/clusters-kmeans/-/clusters-kmeans-6.5.0.tgz#aca6f66858af6476b7352a2bbbb392f9ddb7f5b4" + integrity sha512-DwacD5+YO8kwDPKaXwT9DV46tMBVNsbi1IzdajZu1JDSWoN7yc7N9Qt88oi+p30583O0UPVkAK+A10WAQv4mUw== + dependencies: + "@turf/clone" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + skmeans "0.9.7" + +"@turf/clusters@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/clusters/-/clusters-6.5.0.tgz#a5ee7b62cdf345db2f1eafe2eb382adc186163e1" + integrity sha512-Y6gfnTJzQ1hdLfCsyd5zApNbfLIxYEpmDibHUqR5z03Lpe02pa78JtgrgUNt1seeO/aJ4TG1NLN8V5gOrHk04g== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/collect@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/collect/-/collect-6.5.0.tgz#3749ca7d4b91fbcbe1b9b8858ed70df8b6290910" + integrity sha512-4dN/T6LNnRg099m97BJeOcTA5fSI8cu87Ydgfibewd2KQwBexO69AnjEFqfPX3Wj+Zvisj1uAVIZbPmSSrZkjg== + dependencies: + "@turf/bbox" "^6.5.0" + "@turf/boolean-point-in-polygon" "^6.5.0" + "@turf/helpers" "^6.5.0" + rbush "2.x" + +"@turf/combine@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/combine/-/combine-6.5.0.tgz#e0f3468ac9c09c24fa7184ebbd8a79d2e595ef81" + integrity sha512-Q8EIC4OtAcHiJB3C4R+FpB4LANiT90t17uOd851qkM2/o6m39bfN5Mv0PWqMZIHWrrosZqRqoY9dJnzz/rJxYQ== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/concave@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/concave/-/concave-6.5.0.tgz#19ab1a3f04087c478cebc5e631293f3eeb2e7ce4" + integrity sha512-I/sUmUC8TC5h/E2vPwxVht+nRt+TnXIPRoztDFvS8/Y0+cBDple9inLSo9nnPXMXidrBlGXZ9vQx/BjZUJgsRQ== + dependencies: + "@turf/clone" "^6.5.0" + "@turf/distance" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + "@turf/tin" "^6.5.0" + topojson-client "3.x" + topojson-server "3.x" + +"@turf/convex@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/convex/-/convex-6.5.0.tgz#a7613e0d3795e2f5b9ce79a39271e86f54a3d354" + integrity sha512-x7ZwC5z7PJB0SBwNh7JCeCNx7Iu+QSrH7fYgK0RhhNop13TqUlvHMirMLRgf2db1DqUetrAO2qHJeIuasquUWg== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + concaveman "*" + +"@turf/destination@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/destination/-/destination-6.5.0.tgz#30a84702f9677d076130e0440d3223ae503fdae1" + integrity sha512-4cnWQlNC8d1tItOz9B4pmJdWpXqS0vEvv65bI/Pj/genJnsL7evI0/Xw42RvEGROS481MPiU80xzvwxEvhQiMQ== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/difference@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/difference/-/difference-6.5.0.tgz#677b0d5641a93bba2e82f2c683f0d880105b3197" + integrity sha512-l8iR5uJqvI+5Fs6leNbhPY5t/a3vipUF/3AeVLpwPQcgmedNXyheYuy07PcMGH5Jdpi5gItOiTqwiU/bUH4b3A== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + polygon-clipping "^0.15.3" + +"@turf/dissolve@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/dissolve/-/dissolve-6.5.0.tgz#65debed7ef185087d842b450ebd01e81cc2e80f6" + integrity sha512-WBVbpm9zLTp0Bl9CE35NomTaOL1c4TQCtEoO43YaAhNEWJOOIhZMFJyr8mbvYruKl817KinT3x7aYjjCMjTAsQ== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + polygon-clipping "^0.15.3" + +"@turf/distance-weight@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/distance-weight/-/distance-weight-6.5.0.tgz#fe1fb45b5ae5ca4e09a898cb0a15c6c79ed0849e" + integrity sha512-a8qBKkgVNvPKBfZfEJZnC3DV7dfIsC3UIdpRci/iap/wZLH41EmS90nM+BokAJflUHYy8PqE44wySGWHN1FXrQ== + dependencies: + "@turf/centroid" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/distance@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/distance/-/distance-6.5.0.tgz#21f04d5f86e864d54e2abde16f35c15b4f36149a" + integrity sha512-xzykSLfoURec5qvQJcfifw/1mJa+5UwByZZ5TZ8iaqjGYN0vomhV9aiSLeYdUGtYRESZ+DYC/OzY+4RclZYgMg== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/ellipse@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/ellipse/-/ellipse-6.5.0.tgz#1e20cc9eb968f35ab891572892a0bffcef5e552a" + integrity sha512-kuXtwFviw/JqnyJXF1mrR/cb496zDTSbGKtSiolWMNImYzGGkbsAsFTjwJYgD7+4FixHjp0uQPzo70KDf3AIBw== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/rhumb-destination" "^6.5.0" + "@turf/transform-rotate" "^6.5.0" + +"@turf/envelope@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/envelope/-/envelope-6.5.0.tgz#73e81b9b7ed519bd8a614d36322d6f9fbeeb0579" + integrity sha512-9Z+FnBWvOGOU4X+fMZxYFs1HjFlkKqsddLuMknRaqcJd6t+NIv5DWvPtDL8ATD2GEExYDiFLwMdckfr1yqJgHA== + dependencies: + "@turf/bbox" "^6.5.0" + "@turf/bbox-polygon" "^6.5.0" + "@turf/helpers" "^6.5.0" + +"@turf/explode@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/explode/-/explode-6.5.0.tgz#02c292cc143dd629643da5b70bb5b19b9f0f1c6b" + integrity sha512-6cSvMrnHm2qAsace6pw9cDmK2buAlw8+tjeJVXMfMyY+w7ZUi1rprWMsY92J7s2Dar63Bv09n56/1V7+tcj52Q== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/flatten@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/flatten/-/flatten-6.5.0.tgz#0bd26161f4f1759bbad6ba9485e8ee65f3fa72a7" + integrity sha512-IBZVwoNLVNT6U/bcUUllubgElzpMsNoCw8tLqBw6dfYg9ObGmpEjf9BIYLr7a2Yn5ZR4l7YIj2T7kD5uJjZADQ== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/flip@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/flip/-/flip-6.5.0.tgz#04b38eae8a78f2cf9240140b25401b16b37d20e2" + integrity sha512-oyikJFNjt2LmIXQqgOGLvt70RgE2lyzPMloYWM7OR5oIFGRiBvqVD2hA6MNw6JewIm30fWZ8DQJw1NHXJTJPbg== + dependencies: + "@turf/clone" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/great-circle@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/great-circle/-/great-circle-6.5.0.tgz#2daccbdd1c609a13b00d566ea0ad95457cfc87c2" + integrity sha512-7ovyi3HaKOXdFyN7yy1yOMa8IyOvV46RC1QOQTT+RYUN8ke10eyqExwBpL9RFUPvlpoTzoYbM/+lWPogQlFncg== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/helpers@6.x", "@turf/helpers@^6.1.4", "@turf/helpers@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/helpers/-/helpers-6.5.0.tgz#f79af094bd6b8ce7ed2bd3e089a8493ee6cae82e" + integrity sha512-VbI1dV5bLFzohYYdgqwikdMVpe7pJ9X3E+dlr425wa2/sMJqYDhTO++ec38/pcPvPE6oD9WEEeU3Xu3gza+VPw== + +"@turf/helpers@^7.1.0": + version "7.1.0" + resolved "https://registry.npmmirror.com/@turf/helpers/-/helpers-7.1.0.tgz#eb734e291c9c205822acdd289fe20e91c3cb1641" + integrity sha512-dTeILEUVeNbaEeoZUOhxH5auv7WWlOShbx7QSd4s0T4Z0/iz90z9yaVCtZOLbU89umKotwKaJQltBNO9CzVgaQ== + dependencies: + "@types/geojson" "^7946.0.10" + tslib "^2.6.2" + +"@turf/hex-grid@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/hex-grid/-/hex-grid-6.5.0.tgz#aa5ee46e291839d4405db74b7516c6da89ee56f7" + integrity sha512-Ln3tc2tgZT8etDOldgc6e741Smg1CsMKAz1/Mlel+MEL5Ynv2mhx3m0q4J9IB1F3a4MNjDeVvm8drAaf9SF33g== + dependencies: + "@turf/distance" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/intersect" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/interpolate@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/interpolate/-/interpolate-6.5.0.tgz#9120def5d4498dd7b7d5e92a263aac3e1fd92886" + integrity sha512-LSH5fMeiGyuDZ4WrDJNgh81d2DnNDUVJtuFryJFup8PV8jbs46lQGfI3r1DJ2p1IlEJIz3pmAZYeTfMMoeeohw== + dependencies: + "@turf/bbox" "^6.5.0" + "@turf/centroid" "^6.5.0" + "@turf/clone" "^6.5.0" + "@turf/distance" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/hex-grid" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + "@turf/point-grid" "^6.5.0" + "@turf/square-grid" "^6.5.0" + "@turf/triangle-grid" "^6.5.0" + +"@turf/intersect@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/intersect/-/intersect-6.5.0.tgz#a14e161ddd0264d0f07ac4e325553c70c421f9e6" + integrity sha512-2legGJeKrfFkzntcd4GouPugoqPUjexPZnOvfez+3SfIMrHvulw8qV8u7pfVyn2Yqs53yoVCEjS5sEpvQ5YRQg== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + polygon-clipping "^0.15.3" + +"@turf/invariant@^6.1.2", "@turf/invariant@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/invariant/-/invariant-6.5.0.tgz#970afc988023e39c7ccab2341bd06979ddc7463f" + integrity sha512-Wv8PRNCtPD31UVbdJE/KVAWKe7l6US+lJItRR/HOEW3eh+U/JwRCSUl/KZ7bmjM/C+zLNoreM2TU6OoLACs4eg== + dependencies: + "@turf/helpers" "^6.5.0" + +"@turf/isobands@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/isobands/-/isobands-6.5.0.tgz#5e0929d9d8d53147074a5cfe4533768782e2a2ce" + integrity sha512-4h6sjBPhRwMVuFaVBv70YB7eGz+iw0bhPRnp+8JBdX1UPJSXhoi/ZF2rACemRUr0HkdVB/a1r9gC32vn5IAEkw== + dependencies: + "@turf/area" "^6.5.0" + "@turf/bbox" "^6.5.0" + "@turf/boolean-point-in-polygon" "^6.5.0" + "@turf/explode" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + object-assign "*" + +"@turf/isolines@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/isolines/-/isolines-6.5.0.tgz#3435c7cb5a79411207a5657aa4095357cfd35831" + integrity sha512-6ElhiLCopxWlv4tPoxiCzASWt/jMRvmp6mRYrpzOm3EUl75OhHKa/Pu6Y9nWtCMmVC/RcWtiiweUocbPLZLm0A== + dependencies: + "@turf/bbox" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + object-assign "*" + +"@turf/kinks@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/kinks/-/kinks-6.5.0.tgz#80e7456367535365012f658cf1a988b39a2c920b" + integrity sha512-ViCngdPt1eEL7hYUHR2eHR662GvCgTc35ZJFaNR6kRtr6D8plLaDju0FILeFFWSc+o8e3fwxZEJKmFj9IzPiIQ== + dependencies: + "@turf/helpers" "^6.5.0" + +"@turf/length@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/length/-/length-6.5.0.tgz#ff4e9072d5f997e1c32a1311d214d184463f83fa" + integrity sha512-5pL5/pnw52fck3oRsHDcSGrj9HibvtlrZ0QNy2OcW8qBFDNgZ4jtl6U7eATVoyWPKBHszW3dWETW+iLV7UARig== + dependencies: + "@turf/distance" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/line-arc@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/line-arc/-/line-arc-6.5.0.tgz#5ca35516ccf1f3a01149889d9facb39a77b07431" + integrity sha512-I6c+V6mIyEwbtg9P9zSFF89T7QPe1DPTG3MJJ6Cm1MrAY0MdejwQKOpsvNl8LDU2ekHOlz2kHpPVR7VJsoMllA== + dependencies: + "@turf/circle" "^6.5.0" + "@turf/destination" "^6.5.0" + "@turf/helpers" "^6.5.0" + +"@turf/line-chunk@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/line-chunk/-/line-chunk-6.5.0.tgz#02cefa74564b9cf533a3ac8a5109c97cb7170d10" + integrity sha512-i1FGE6YJaaYa+IJesTfyRRQZP31QouS+wh/pa6O3CC0q4T7LtHigyBSYjrbjSLfn2EVPYGlPCMFEqNWCOkC6zg== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/length" "^6.5.0" + "@turf/line-slice-along" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/line-intersect@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/line-intersect/-/line-intersect-6.5.0.tgz#dea48348b30c093715d2195d2dd7524aee4cf020" + integrity sha512-CS6R1tZvVQD390G9Ea4pmpM6mJGPWoL82jD46y0q1KSor9s6HupMIo1kY4Ny+AEYQl9jd21V3Scz20eldpbTVA== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/line-segment" "^6.5.0" + "@turf/meta" "^6.5.0" + geojson-rbush "3.x" + +"@turf/line-offset@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/line-offset/-/line-offset-6.5.0.tgz#2bbd8fcf9ff82009b72890863da444b190e53689" + integrity sha512-CEXZbKgyz8r72qRvPchK0dxqsq8IQBdH275FE6o4MrBkzMcoZsfSjghtXzKaz9vvro+HfIXal0sTk2mqV1lQTw== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/line-overlap@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/line-overlap/-/line-overlap-6.5.0.tgz#10ebb805c2d047463379fc1f997785fa8f3f4cc1" + integrity sha512-xHOaWLd0hkaC/1OLcStCpfq55lPHpPNadZySDXYiYjEz5HXr1oKmtMYpn0wGizsLwrOixRdEp+j7bL8dPt4ojQ== + dependencies: + "@turf/boolean-point-on-line" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/line-segment" "^6.5.0" + "@turf/meta" "^6.5.0" + "@turf/nearest-point-on-line" "^6.5.0" + deep-equal "1.x" + geojson-rbush "3.x" + +"@turf/line-segment@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/line-segment/-/line-segment-6.5.0.tgz#ee73f3ffcb7c956203b64ed966d96af380a4dd65" + integrity sha512-jI625Ho4jSuJESNq66Mmi290ZJ5pPZiQZruPVpmHkUw257Pew0alMmb6YrqYNnLUuiVVONxAAKXUVeeUGtycfw== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/line-slice-along@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/line-slice-along/-/line-slice-along-6.5.0.tgz#6e7a861d72c6f80caba2c4418b69a776f0292953" + integrity sha512-KHJRU6KpHrAj+BTgTNqby6VCTnDzG6a1sJx/I3hNvqMBLvWVA2IrkR9L9DtsQsVY63IBwVdQDqiwCuZLDQh4Ng== + dependencies: + "@turf/bearing" "^6.5.0" + "@turf/destination" "^6.5.0" + "@turf/distance" "^6.5.0" + "@turf/helpers" "^6.5.0" + +"@turf/line-slice@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/line-slice/-/line-slice-6.5.0.tgz#7b6e0c8e8e93fdb4e65c3b9a123a2ec93a21bdb0" + integrity sha512-vDqJxve9tBHhOaVVFXqVjF5qDzGtKWviyjbyi2QnSnxyFAmLlLnBfMX8TLQCAf2GxHibB95RO5FBE6I2KVPRuw== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/nearest-point-on-line" "^6.5.0" + +"@turf/line-split@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/line-split/-/line-split-6.5.0.tgz#116d7fbf714457878225187f5820ef98db7b02c2" + integrity sha512-/rwUMVr9OI2ccJjw7/6eTN53URtGThNSD5I0GgxyFXMtxWiloRJ9MTff8jBbtPWrRka/Sh2GkwucVRAEakx9Sw== + dependencies: + "@turf/bbox" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/line-intersect" "^6.5.0" + "@turf/line-segment" "^6.5.0" + "@turf/meta" "^6.5.0" + "@turf/nearest-point-on-line" "^6.5.0" + "@turf/square" "^6.5.0" + "@turf/truncate" "^6.5.0" + geojson-rbush "3.x" + +"@turf/line-to-polygon@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/line-to-polygon/-/line-to-polygon-6.5.0.tgz#c919a03064a1cd5cef4c4e4d98dc786e12ffbc89" + integrity sha512-qYBuRCJJL8Gx27OwCD1TMijM/9XjRgXH/m/TyuND4OXedBpIWlK5VbTIO2gJ8OCfznBBddpjiObLBrkuxTpN4Q== + dependencies: + "@turf/bbox" "^6.5.0" + "@turf/clone" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/mask@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/mask/-/mask-6.5.0.tgz#a97f355ee071ac60d8d3782ae39e5bb4b4e26857" + integrity sha512-RQha4aU8LpBrmrkH8CPaaoAfk0Egj5OuXtv6HuCQnHeGNOQt3TQVibTA3Sh4iduq4EPxnZfDjgsOeKtrCA19lg== + dependencies: + "@turf/helpers" "^6.5.0" + polygon-clipping "^0.15.3" + +"@turf/meta@6.x", "@turf/meta@^6.0.2", "@turf/meta@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/meta/-/meta-6.5.0.tgz#b725c3653c9f432133eaa04d3421f7e51e0418ca" + integrity sha512-RrArvtsV0vdsCBegoBtOalgdSOfkBrTJ07VkpiCnq/491W67hnMWmDu7e6Ztw0C3WldRYTXkg3SumfdzZxLBHA== + dependencies: + "@turf/helpers" "^6.5.0" + +"@turf/meta@^7.1.0": + version "7.1.0" + resolved "https://registry.npmmirror.com/@turf/meta/-/meta-7.1.0.tgz#b2af85afddd0ef08aeae8694a12370a4f06b6d13" + integrity sha512-ZgGpWWiKz797Fe8lfRj7HKCkGR+nSJ/5aKXMyofCvLSc2PuYJs/qyyifDPWjASQQCzseJ7AlF2Pc/XQ/3XkkuA== + dependencies: + "@turf/helpers" "^7.1.0" + "@types/geojson" "^7946.0.10" + +"@turf/midpoint@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/midpoint/-/midpoint-6.5.0.tgz#5f9428959309feccaf3f55873a8de70d4121bdce" + integrity sha512-MyTzV44IwmVI6ec9fB2OgZ53JGNlgOpaYl9ArKoF49rXpL84F9rNATndbe0+MQIhdkw8IlzA6xVP4lZzfMNVCw== + dependencies: + "@turf/bearing" "^6.5.0" + "@turf/destination" "^6.5.0" + "@turf/distance" "^6.5.0" + "@turf/helpers" "^6.5.0" + +"@turf/moran-index@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/moran-index/-/moran-index-6.5.0.tgz#456264bfb014a7b5f527807c9dcf25df3c6b2efd" + integrity sha512-ItsnhrU2XYtTtTudrM8so4afBCYWNaB0Mfy28NZwLjB5jWuAsvyV+YW+J88+neK/ougKMTawkmjQqodNJaBeLQ== + dependencies: + "@turf/distance-weight" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/nearest-point-on-line@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/nearest-point-on-line/-/nearest-point-on-line-6.5.0.tgz#8e1cd2cdc0b5acaf4c8d8b3b33bb008d3cb99e7b" + integrity sha512-WthrvddddvmymnC+Vf7BrkHGbDOUu6Z3/6bFYUGv1kxw8tiZ6n83/VG6kHz4poHOfS0RaNflzXSkmCi64fLBlg== + dependencies: + "@turf/bearing" "^6.5.0" + "@turf/destination" "^6.5.0" + "@turf/distance" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/line-intersect" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/nearest-point-to-line@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/nearest-point-to-line/-/nearest-point-to-line-6.5.0.tgz#5549b48690d523f9af4765fe64a3cbebfbc6bb75" + integrity sha512-PXV7cN0BVzUZdjj6oeb/ESnzXSfWmEMrsfZSDRgqyZ9ytdiIj/eRsnOXLR13LkTdXVOJYDBuf7xt1mLhM4p6+Q== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + "@turf/point-to-line-distance" "^6.5.0" + object-assign "*" + +"@turf/nearest-point@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/nearest-point/-/nearest-point-6.5.0.tgz#2f1781c26ff3f054005d4ff352042973318b92f1" + integrity sha512-fguV09QxilZv/p94s8SMsXILIAMiaXI5PATq9d7YWijLxWUj6Q/r43kxyoi78Zmwwh1Zfqz9w+bCYUAxZ5+euA== + dependencies: + "@turf/clone" "^6.5.0" + "@turf/distance" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/planepoint@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/planepoint/-/planepoint-6.5.0.tgz#5cb788670c31a6b064ae464180d51b4d550d87de" + integrity sha512-R3AahA6DUvtFbka1kcJHqZ7DMHmPXDEQpbU5WaglNn7NaCQg9HB0XM0ZfqWcd5u92YXV+Gg8QhC8x5XojfcM4Q== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/point-grid@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/point-grid/-/point-grid-6.5.0.tgz#f628d30afe29d60dcbf54b195e46eab48a4fbfaa" + integrity sha512-Iq38lFokNNtQJnOj/RBKmyt6dlof0yhaHEDELaWHuECm1lIZLY3ZbVMwbs+nXkwTAHjKfS/OtMheUBkw+ee49w== + dependencies: + "@turf/boolean-within" "^6.5.0" + "@turf/distance" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/point-on-feature@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/point-on-feature/-/point-on-feature-6.5.0.tgz#37d07afeb31896e53c0833aa404993ba7d500f0c" + integrity sha512-bDpuIlvugJhfcF/0awAQ+QI6Om1Y1FFYE8Y/YdxGRongivix850dTeXCo0mDylFdWFPGDo7Mmh9Vo4VxNwW/TA== + dependencies: + "@turf/boolean-point-in-polygon" "^6.5.0" + "@turf/center" "^6.5.0" + "@turf/explode" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/nearest-point" "^6.5.0" + +"@turf/point-to-line-distance@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/point-to-line-distance/-/point-to-line-distance-6.5.0.tgz#bc46fe09ea630aaf73f13c40b38a7df79050fff8" + integrity sha512-opHVQ4vjUhNBly1bob6RWy+F+hsZDH9SA0UW36pIRzfpu27qipU18xup0XXEePfY6+wvhF6yL/WgCO2IbrLqEA== + dependencies: + "@turf/bearing" "^6.5.0" + "@turf/distance" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + "@turf/projection" "^6.5.0" + "@turf/rhumb-bearing" "^6.5.0" + "@turf/rhumb-distance" "^6.5.0" + +"@turf/points-within-polygon@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/points-within-polygon/-/points-within-polygon-6.5.0.tgz#d49f4d7cf19b7a440bf1e06f771ff4e1df13107f" + integrity sha512-YyuheKqjliDsBDt3Ho73QVZk1VXX1+zIA2gwWvuz8bR1HXOkcuwk/1J76HuFMOQI3WK78wyAi+xbkx268PkQzQ== + dependencies: + "@turf/boolean-point-in-polygon" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/polygon-smooth@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/polygon-smooth/-/polygon-smooth-6.5.0.tgz#00ca366871cb6ea3bee44ff3ea870aaf75711733" + integrity sha512-LO/X/5hfh/Rk4EfkDBpLlVwt3i6IXdtQccDT9rMjXEP32tRgy0VMFmdkNaXoGlSSKf/1mGqLl4y4wHd86DqKbg== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/polygon-tangents@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/polygon-tangents/-/polygon-tangents-6.5.0.tgz#dc025202727ba2f3347baa95dbca4e0ffdb2ddf5" + integrity sha512-sB4/IUqJMYRQH9jVBwqS/XDitkEfbyqRy+EH/cMRJURTg78eHunvJ708x5r6umXsbiUyQU4eqgPzEylWEQiunw== + dependencies: + "@turf/bbox" "^6.5.0" + "@turf/boolean-within" "^6.5.0" + "@turf/explode" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/nearest-point" "^6.5.0" + +"@turf/polygon-to-line@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/polygon-to-line/-/polygon-to-line-6.5.0.tgz#4dc86db66168b32bb83ce448cf966208a447d952" + integrity sha512-5p4n/ij97EIttAq+ewSnKt0ruvuM+LIDzuczSzuHTpq4oS7Oq8yqg5TQ4nzMVuK41r/tALCk7nAoBuw3Su4Gcw== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/polygonize@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/polygonize/-/polygonize-6.5.0.tgz#8aa0f1e386e96c533a320c426aaf387020320fa3" + integrity sha512-a/3GzHRaCyzg7tVYHo43QUChCspa99oK4yPqooVIwTC61npFzdrmnywMv0S+WZjHZwK37BrFJGFrZGf6ocmY5w== + dependencies: + "@turf/boolean-point-in-polygon" "^6.5.0" + "@turf/envelope" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/projection@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/projection/-/projection-6.5.0.tgz#d2aad862370bf03f2270701115464a8406c144b2" + integrity sha512-/Pgh9mDvQWWu8HRxqpM+tKz8OzgauV+DiOcr3FCjD6ubDnrrmMJlsf6fFJmggw93mtVPrZRL6yyi9aYCQBOIvg== + dependencies: + "@turf/clone" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/random@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/random/-/random-6.5.0.tgz#b19672cf4549557660034d4a303911656df7747e" + integrity sha512-8Q25gQ/XbA7HJAe+eXp4UhcXM9aOOJFaxZ02+XSNwMvY8gtWSCBLVqRcW4OhqilgZ8PeuQDWgBxeo+BIqqFWFQ== + dependencies: + "@turf/helpers" "^6.5.0" + +"@turf/rectangle-grid@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/rectangle-grid/-/rectangle-grid-6.5.0.tgz#c3ef38e8cfdb763012beb1f22e2b77288a37a5cf" + integrity sha512-yQZ/1vbW68O2KsSB3OZYK+72aWz/Adnf7m2CMKcC+aq6TwjxZjAvlbCOsNUnMAuldRUVN1ph6RXMG4e9KEvKvg== + dependencies: + "@turf/boolean-intersects" "^6.5.0" + "@turf/distance" "^6.5.0" + "@turf/helpers" "^6.5.0" + +"@turf/rewind@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/rewind/-/rewind-6.5.0.tgz#bc0088f8ec56f00c8eacd902bbe51e3786cb73a0" + integrity sha512-IoUAMcHWotBWYwSYuYypw/LlqZmO+wcBpn8ysrBNbazkFNkLf3btSDZMkKJO/bvOzl55imr/Xj4fi3DdsLsbzQ== + dependencies: + "@turf/boolean-clockwise" "^6.5.0" + "@turf/clone" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/rhumb-bearing@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/rhumb-bearing/-/rhumb-bearing-6.5.0.tgz#8c41ad62b44fb4e57c14fe790488056684eee7b9" + integrity sha512-jMyqiMRK4hzREjQmnLXmkJ+VTNTx1ii8vuqRwJPcTlKbNWfjDz/5JqJlb5NaFDcdMpftWovkW5GevfnuzHnOYA== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/rhumb-destination@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/rhumb-destination/-/rhumb-destination-6.5.0.tgz#12da8c85e674b182e8b0ec8ea9c5fe2186716dae" + integrity sha512-RHNP1Oy+7xTTdRrTt375jOZeHceFbjwohPHlr9Hf68VdHHPMAWgAKqiX2YgSWDcvECVmiGaBKWus1Df+N7eE4Q== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/rhumb-distance@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/rhumb-distance/-/rhumb-distance-6.5.0.tgz#ed068004b1469512b857070fbf5cb7b7eabbe592" + integrity sha512-oKp8KFE8E4huC2Z1a1KNcFwjVOqa99isxNOwfo4g3SUABQ6NezjKDDrnvC4yI5YZ3/huDjULLBvhed45xdCrzg== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + +"@turf/sample@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/sample/-/sample-6.5.0.tgz#00cca024514989448e57fb1bf34e9a33ed3f0755" + integrity sha512-kSdCwY7el15xQjnXYW520heKUrHwRvnzx8ka4eYxX9NFeOxaFITLW2G7UtXb6LJK8mmPXI8Aexv23F2ERqzGFg== + dependencies: + "@turf/helpers" "^6.5.0" + +"@turf/sector@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/sector/-/sector-6.5.0.tgz#599a87ebbe6ee613b4e04c5928e0ef1fc78fc16c" + integrity sha512-cYUOkgCTWqa23SOJBqxoFAc/yGCUsPRdn/ovbRTn1zNTm/Spmk6hVB84LCKOgHqvSF25i0d2kWqpZDzLDdAPbw== + dependencies: + "@turf/circle" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/line-arc" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/shortest-path@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/shortest-path/-/shortest-path-6.5.0.tgz#e1fdf9b4758bd20caf845fdc03d0dc2eede2ff0e" + integrity sha512-4de5+G7+P4hgSoPwn+SO9QSi9HY5NEV/xRJ+cmoFVRwv2CDsuOPDheHKeuIAhKyeKDvPvPt04XYWbac4insJMg== + dependencies: + "@turf/bbox" "^6.5.0" + "@turf/bbox-polygon" "^6.5.0" + "@turf/boolean-point-in-polygon" "^6.5.0" + "@turf/clean-coords" "^6.5.0" + "@turf/distance" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + "@turf/transform-scale" "^6.5.0" + +"@turf/simplify@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/simplify/-/simplify-6.5.0.tgz#ec435460bde0985b781618b05d97146c32c8bc16" + integrity sha512-USas3QqffPHUY184dwQdP8qsvcVH/PWBYdXY5am7YTBACaQOMAlf6AKJs9FT8jiO6fQpxfgxuEtwmox+pBtlOg== + dependencies: + "@turf/clean-coords" "^6.5.0" + "@turf/clone" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/square-grid@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/square-grid/-/square-grid-6.5.0.tgz#3a517301b42ed98aa62d727786dc5290998ddbae" + integrity sha512-mlR0ayUdA+L4c9h7p4k3pX6gPWHNGuZkt2c5II1TJRmhLkW2557d6b/Vjfd1z9OVaajb1HinIs1FMSAPXuuUrA== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/rectangle-grid" "^6.5.0" + +"@turf/square@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/square/-/square-6.5.0.tgz#ab43eef99d39c36157ab5b80416bbeba1f6b2122" + integrity sha512-BM2UyWDmiuHCadVhHXKIx5CQQbNCpOxB6S/aCNOCLbhCeypKX5Q0Aosc5YcmCJgkwO5BERCC6Ee7NMbNB2vHmQ== + dependencies: + "@turf/distance" "^6.5.0" + "@turf/helpers" "^6.5.0" + +"@turf/standard-deviational-ellipse@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/standard-deviational-ellipse/-/standard-deviational-ellipse-6.5.0.tgz#775c7b9a2be6546bf64ea8ac08cdcd80563f2935" + integrity sha512-02CAlz8POvGPFK2BKK8uHGUk/LXb0MK459JVjKxLC2yJYieOBTqEbjP0qaWhiBhGzIxSMaqe8WxZ0KvqdnstHA== + dependencies: + "@turf/center-mean" "^6.5.0" + "@turf/ellipse" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + "@turf/points-within-polygon" "^6.5.0" + +"@turf/tag@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/tag/-/tag-6.5.0.tgz#13eae85f36f9fd8c4e076714a894cb5b7716d381" + integrity sha512-XwlBvrOV38CQsrNfrxvBaAPBQgXMljeU0DV8ExOyGM7/hvuGHJw3y8kKnQ4lmEQcmcrycjDQhP7JqoRv8vFssg== + dependencies: + "@turf/boolean-point-in-polygon" "^6.5.0" + "@turf/clone" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/tesselate@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/tesselate/-/tesselate-6.5.0.tgz#de45b778f8e6a45535d8eb2aacea06f86c6b73fb" + integrity sha512-M1HXuyZFCfEIIKkglh/r5L9H3c5QTEsnMBoZOFQiRnGPGmJWcaBissGb7mTFX2+DKE7FNWXh4TDnZlaLABB0dQ== + dependencies: + "@turf/helpers" "^6.5.0" + earcut "^2.0.0" + +"@turf/tin@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/tin/-/tin-6.5.0.tgz#b77bebb48237e6613ac6bc0e37a6658be8c17a09" + integrity sha512-YLYikRzKisfwj7+F+Tmyy/LE3d2H7D4kajajIfc9mlik2+esG7IolsX/+oUz1biguDYsG0DUA8kVYXDkobukfg== + dependencies: + "@turf/helpers" "^6.5.0" + +"@turf/transform-rotate@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/transform-rotate/-/transform-rotate-6.5.0.tgz#e50e96a8779af91d58149eedb00ffd7f6395c804" + integrity sha512-A2Ip1v4246ZmpssxpcL0hhiVBEf4L8lGnSPWTgSv5bWBEoya2fa/0SnFX9xJgP40rMP+ZzRaCN37vLHbv1Guag== + dependencies: + "@turf/centroid" "^6.5.0" + "@turf/clone" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + "@turf/rhumb-bearing" "^6.5.0" + "@turf/rhumb-destination" "^6.5.0" + "@turf/rhumb-distance" "^6.5.0" + +"@turf/transform-scale@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/transform-scale/-/transform-scale-6.5.0.tgz#dcccd8b0f139de32e32225a29c107a1279137120" + integrity sha512-VsATGXC9rYM8qTjbQJ/P7BswKWXHdnSJ35JlV4OsZyHBMxJQHftvmZJsFbOqVtQnIQIzf2OAly6rfzVV9QLr7g== + dependencies: + "@turf/bbox" "^6.5.0" + "@turf/center" "^6.5.0" + "@turf/centroid" "^6.5.0" + "@turf/clone" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + "@turf/rhumb-bearing" "^6.5.0" + "@turf/rhumb-destination" "^6.5.0" + "@turf/rhumb-distance" "^6.5.0" + +"@turf/transform-translate@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/transform-translate/-/transform-translate-6.5.0.tgz#631b13aca6402898029e03fc2d1f4bc1c667fc3e" + integrity sha512-NABLw5VdtJt/9vSstChp93pc6oel4qXEos56RBMsPlYB8hzNTEKYtC146XJvyF4twJeeYS8RVe1u7KhoFwEM5w== + dependencies: + "@turf/clone" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/meta" "^6.5.0" + "@turf/rhumb-destination" "^6.5.0" + +"@turf/triangle-grid@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/triangle-grid/-/triangle-grid-6.5.0.tgz#75664e8b9d9c7ca4c845673134a1e0d82b5e6887" + integrity sha512-2jToUSAS1R1htq4TyLQYPTIsoy6wg3e3BQXjm2rANzw4wPQCXGOxrur1Fy9RtzwqwljlC7DF4tg0OnWr8RjmfA== + dependencies: + "@turf/distance" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/intersect" "^6.5.0" + +"@turf/truncate@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/truncate/-/truncate-6.5.0.tgz#c3a16cad959f1be1c5156157d5555c64b19185d8" + integrity sha512-pFxg71pLk+eJj134Z9yUoRhIi8vqnnKvCYwdT4x/DQl/19RVdq1tV3yqOT3gcTQNfniteylL5qV1uTBDV5sgrg== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + +"@turf/turf@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/turf/-/turf-6.5.0.tgz#49cd07b942a757f3ebbdba6cb294bbb864825a83" + integrity sha512-ipMCPnhu59bh92MNt8+pr1VZQhHVuTMHklciQURo54heoxRzt1neNYZOBR6jdL+hNsbDGAECMuIpAutX+a3Y+w== + dependencies: + "@turf/along" "^6.5.0" + "@turf/angle" "^6.5.0" + "@turf/area" "^6.5.0" + "@turf/bbox" "^6.5.0" + "@turf/bbox-clip" "^6.5.0" + "@turf/bbox-polygon" "^6.5.0" + "@turf/bearing" "^6.5.0" + "@turf/bezier-spline" "^6.5.0" + "@turf/boolean-clockwise" "^6.5.0" + "@turf/boolean-contains" "^6.5.0" + "@turf/boolean-crosses" "^6.5.0" + "@turf/boolean-disjoint" "^6.5.0" + "@turf/boolean-equal" "^6.5.0" + "@turf/boolean-intersects" "^6.5.0" + "@turf/boolean-overlap" "^6.5.0" + "@turf/boolean-parallel" "^6.5.0" + "@turf/boolean-point-in-polygon" "^6.5.0" + "@turf/boolean-point-on-line" "^6.5.0" + "@turf/boolean-within" "^6.5.0" + "@turf/buffer" "^6.5.0" + "@turf/center" "^6.5.0" + "@turf/center-mean" "^6.5.0" + "@turf/center-median" "^6.5.0" + "@turf/center-of-mass" "^6.5.0" + "@turf/centroid" "^6.5.0" + "@turf/circle" "^6.5.0" + "@turf/clean-coords" "^6.5.0" + "@turf/clone" "^6.5.0" + "@turf/clusters" "^6.5.0" + "@turf/clusters-dbscan" "^6.5.0" + "@turf/clusters-kmeans" "^6.5.0" + "@turf/collect" "^6.5.0" + "@turf/combine" "^6.5.0" + "@turf/concave" "^6.5.0" + "@turf/convex" "^6.5.0" + "@turf/destination" "^6.5.0" + "@turf/difference" "^6.5.0" + "@turf/dissolve" "^6.5.0" + "@turf/distance" "^6.5.0" + "@turf/distance-weight" "^6.5.0" + "@turf/ellipse" "^6.5.0" + "@turf/envelope" "^6.5.0" + "@turf/explode" "^6.5.0" + "@turf/flatten" "^6.5.0" + "@turf/flip" "^6.5.0" + "@turf/great-circle" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/hex-grid" "^6.5.0" + "@turf/interpolate" "^6.5.0" + "@turf/intersect" "^6.5.0" + "@turf/invariant" "^6.5.0" + "@turf/isobands" "^6.5.0" + "@turf/isolines" "^6.5.0" + "@turf/kinks" "^6.5.0" + "@turf/length" "^6.5.0" + "@turf/line-arc" "^6.5.0" + "@turf/line-chunk" "^6.5.0" + "@turf/line-intersect" "^6.5.0" + "@turf/line-offset" "^6.5.0" + "@turf/line-overlap" "^6.5.0" + "@turf/line-segment" "^6.5.0" + "@turf/line-slice" "^6.5.0" + "@turf/line-slice-along" "^6.5.0" + "@turf/line-split" "^6.5.0" + "@turf/line-to-polygon" "^6.5.0" + "@turf/mask" "^6.5.0" + "@turf/meta" "^6.5.0" + "@turf/midpoint" "^6.5.0" + "@turf/moran-index" "^6.5.0" + "@turf/nearest-point" "^6.5.0" + "@turf/nearest-point-on-line" "^6.5.0" + "@turf/nearest-point-to-line" "^6.5.0" + "@turf/planepoint" "^6.5.0" + "@turf/point-grid" "^6.5.0" + "@turf/point-on-feature" "^6.5.0" + "@turf/point-to-line-distance" "^6.5.0" + "@turf/points-within-polygon" "^6.5.0" + "@turf/polygon-smooth" "^6.5.0" + "@turf/polygon-tangents" "^6.5.0" + "@turf/polygon-to-line" "^6.5.0" + "@turf/polygonize" "^6.5.0" + "@turf/projection" "^6.5.0" + "@turf/random" "^6.5.0" + "@turf/rewind" "^6.5.0" + "@turf/rhumb-bearing" "^6.5.0" + "@turf/rhumb-destination" "^6.5.0" + "@turf/rhumb-distance" "^6.5.0" + "@turf/sample" "^6.5.0" + "@turf/sector" "^6.5.0" + "@turf/shortest-path" "^6.5.0" + "@turf/simplify" "^6.5.0" + "@turf/square" "^6.5.0" + "@turf/square-grid" "^6.5.0" + "@turf/standard-deviational-ellipse" "^6.5.0" + "@turf/tag" "^6.5.0" + "@turf/tesselate" "^6.5.0" + "@turf/tin" "^6.5.0" + "@turf/transform-rotate" "^6.5.0" + "@turf/transform-scale" "^6.5.0" + "@turf/transform-translate" "^6.5.0" + "@turf/triangle-grid" "^6.5.0" + "@turf/truncate" "^6.5.0" + "@turf/union" "^6.5.0" + "@turf/unkink-polygon" "^6.5.0" + "@turf/voronoi" "^6.5.0" + +"@turf/union@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/union/-/union-6.5.0.tgz#82d28f55190608f9c7d39559b7f543393b03b82d" + integrity sha512-igYWCwP/f0RFHIlC2c0SKDuM/ObBaqSljI3IdV/x71805QbIvY/BYGcJdyNcgEA6cylIGl/0VSlIbpJHZ9ldhw== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + polygon-clipping "^0.15.3" + +"@turf/unkink-polygon@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/unkink-polygon/-/unkink-polygon-6.5.0.tgz#9e54186dcce08d7e62f608c8fa2d3f0342ebe826" + integrity sha512-8QswkzC0UqKmN1DT6HpA9upfa1HdAA5n6bbuzHy8NJOX8oVizVAqfEPY0wqqTgboDjmBR4yyImsdPGUl3gZ8JQ== + dependencies: + "@turf/area" "^6.5.0" + "@turf/boolean-point-in-polygon" "^6.5.0" + "@turf/helpers" "^6.5.0" + "@turf/meta" "^6.5.0" + rbush "^2.0.1" + +"@turf/voronoi@^6.5.0": + version "6.5.0" + resolved "https://registry.npmmirror.com/@turf/voronoi/-/voronoi-6.5.0.tgz#afe6715a5c7eff687434010cde45cd4822489434" + integrity sha512-C/xUsywYX+7h1UyNqnydHXiun4UPjK88VDghtoRypR9cLlb7qozkiLRphQxxsCM0KxyxpVPHBVQXdAL3+Yurow== + dependencies: + "@turf/helpers" "^6.5.0" + "@turf/invariant" "^6.5.0" + d3-voronoi "1.1.2" + +"@types/accepts@*": + version "1.3.7" + resolved "https://registry.npmmirror.com/@types/accepts/-/accepts-1.3.7.tgz" + integrity sha512-Pay9fq2lM2wXPWbteBsRAGiWH2hig4ZE2asK+mm7kUzlxRTfL961rj89I6zV/E3PcIkDqyuBEcMxFT7rccugeQ== + dependencies: + "@types/node" "*" + +"@types/body-parser@*": + version "1.19.5" + resolved "https://registry.npmmirror.com/@types/body-parser/-/body-parser-1.19.5.tgz" + integrity sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg== + dependencies: + "@types/connect" "*" + "@types/node" "*" + +"@types/chroma-js@^2.1.3": + version "2.4.4" + resolved "https://registry.npmmirror.com/@types/chroma-js/-/chroma-js-2.4.4.tgz" + integrity sha512-/DTccpHTaKomqussrn+ciEvfW4k6NAHzNzs/sts1TCqg333qNxOhy8TNIoQCmbGG3Tl8KdEhkGAssb1n3mTXiQ== + +"@types/connect@*": + version "3.4.38" + resolved "https://registry.npmmirror.com/@types/connect/-/connect-3.4.38.tgz" + integrity sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug== + dependencies: + "@types/node" "*" + +"@types/content-disposition@*": + version "0.5.8" + resolved "https://registry.npmmirror.com/@types/content-disposition/-/content-disposition-0.5.8.tgz" + integrity sha512-QVSSvno3dE0MgO76pJhmv4Qyi/j0Yk9pBp0Y7TJ2Tlj+KCgJWY6qX7nnxCOLkZ3VYRSIk1WTxCvwUSdx6CCLdg== + +"@types/cookie@^0.5.1": + version "0.5.4" + resolved "https://registry.npmmirror.com/@types/cookie/-/cookie-0.5.4.tgz" + integrity sha512-7z/eR6O859gyWIAjuvBWFzNURmf2oPBmJlfVWkwehU5nzIyjwBsTh7WMmEEV4JFnHuQ3ex4oyTvfKzcyJVDBNA== + +"@types/cookie@^0.6.0": + version "0.6.0" + resolved "https://registry.npmmirror.com/@types/cookie/-/cookie-0.6.0.tgz" + integrity sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA== + +"@types/cookies@*": + version "0.9.0" + resolved "https://registry.npmmirror.com/@types/cookies/-/cookies-0.9.0.tgz" + integrity sha512-40Zk8qR147RABiQ7NQnBzWzDcjKzNrntB5BAmeGCb2p/MIyOE+4BVvc17wumsUqUw00bJYqoXFHYygQnEFh4/Q== + dependencies: + "@types/connect" "*" + "@types/express" "*" + "@types/keygrip" "*" + "@types/node" "*" + +"@types/crypto-js@^4.1.2": + version "4.2.2" + resolved "https://registry.npmmirror.com/@types/crypto-js/-/crypto-js-4.2.2.tgz#771c4a768d94eb5922cc202a3009558204df0cea" + integrity sha512-sDOLlVbHhXpAUAL0YHDUUwDZf3iN4Bwi4W6a0W0b+QcAezUbRtH4FVb+9J4h+XFPW7l/gQ9F8qC7P+Ec4k8QVQ== + +"@types/d3-array@*": + version "3.2.1" + resolved "https://registry.npmmirror.com/@types/d3-array/-/d3-array-3.2.1.tgz" + integrity sha512-Y2Jn2idRrLzUfAKV2LyRImR+y4oa2AntrgID95SHJxuMUrkNXmanDSed71sRNZysveJVt1hLLemQZIady0FpEg== + +"@types/d3-axis@*": + version "3.0.6" + resolved "https://registry.npmmirror.com/@types/d3-axis/-/d3-axis-3.0.6.tgz" + integrity sha512-pYeijfZuBd87T0hGn0FO1vQ/cgLk6E1ALJjfkC0oJ8cbwkZl3TpgS8bVBLZN+2jjGgg38epgxb2zmoGtSfvgMw== + dependencies: + "@types/d3-selection" "*" + +"@types/d3-brush@*": + version "3.0.6" + resolved "https://registry.npmmirror.com/@types/d3-brush/-/d3-brush-3.0.6.tgz" + integrity sha512-nH60IZNNxEcrh6L1ZSMNA28rj27ut/2ZmI3r96Zd+1jrZD++zD3LsMIjWlvg4AYrHn/Pqz4CF3veCxGjtbqt7A== + dependencies: + "@types/d3-selection" "*" + +"@types/d3-chord@*": + version "3.0.6" + resolved "https://registry.npmmirror.com/@types/d3-chord/-/d3-chord-3.0.6.tgz" + integrity sha512-LFYWWd8nwfwEmTZG9PfQxd17HbNPksHBiJHaKuY1XeqscXacsS2tyoo6OdRsjf+NQYeB6XrNL3a25E3gH69lcg== + +"@types/d3-color@*": + version "3.1.3" + resolved "https://registry.npmmirror.com/@types/d3-color/-/d3-color-3.1.3.tgz" + integrity sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A== + +"@types/d3-contour@*": + version "3.0.6" + resolved "https://registry.npmmirror.com/@types/d3-contour/-/d3-contour-3.0.6.tgz" + integrity sha512-BjzLgXGnCWjUSYGfH1cpdo41/hgdWETu4YxpezoztawmqsvCeep+8QGfiY6YbDvfgHz/DkjeIkkZVJavB4a3rg== + dependencies: + "@types/d3-array" "*" + "@types/geojson" "*" + +"@types/d3-delaunay@*": + version "6.0.4" + resolved "https://registry.npmmirror.com/@types/d3-delaunay/-/d3-delaunay-6.0.4.tgz" + integrity sha512-ZMaSKu4THYCU6sV64Lhg6qjf1orxBthaC161plr5KuPHo3CNm8DTHiLw/5Eq2b6TsNP0W0iJrUOFscY6Q450Hw== + +"@types/d3-dispatch@*": + version "3.0.6" + resolved "https://registry.npmmirror.com/@types/d3-dispatch/-/d3-dispatch-3.0.6.tgz" + integrity sha512-4fvZhzMeeuBJYZXRXrRIQnvUYfyXwYmLsdiN7XXmVNQKKw1cM8a5WdID0g1hVFZDqT9ZqZEY5pD44p24VS7iZQ== + +"@types/d3-drag@*", "@types/d3-drag@^3.0.1": + version "3.0.7" + resolved "https://registry.npmmirror.com/@types/d3-drag/-/d3-drag-3.0.7.tgz" + integrity sha512-HE3jVKlzU9AaMazNufooRJ5ZpWmLIoc90A37WU2JMmeq28w1FQqCZswHZ3xR+SuxYftzHq6WU6KJHvqxKzTxxQ== + dependencies: + "@types/d3-selection" "*" + +"@types/d3-dsv@*": + version "3.0.7" + resolved "https://registry.npmmirror.com/@types/d3-dsv/-/d3-dsv-3.0.7.tgz" + integrity sha512-n6QBF9/+XASqcKK6waudgL0pf/S5XHPPI8APyMLLUHd8NqouBGLsU8MgtO7NINGtPBtk9Kko/W4ea0oAspwh9g== + +"@types/d3-ease@*": + version "3.0.2" + resolved "https://registry.npmmirror.com/@types/d3-ease/-/d3-ease-3.0.2.tgz" + integrity sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA== + +"@types/d3-fetch@*": + version "3.0.7" + resolved "https://registry.npmmirror.com/@types/d3-fetch/-/d3-fetch-3.0.7.tgz" + integrity sha512-fTAfNmxSb9SOWNB9IoG5c8Hg6R+AzUHDRlsXsDZsNp6sxAEOP0tkP3gKkNSO/qmHPoBFTxNrjDprVHDQDvo5aA== + dependencies: + "@types/d3-dsv" "*" + +"@types/d3-force@*": + version "3.0.10" + resolved "https://registry.npmmirror.com/@types/d3-force/-/d3-force-3.0.10.tgz" + integrity sha512-ZYeSaCF3p73RdOKcjj+swRlZfnYpK1EbaDiYICEEp5Q6sUiqFaFQ9qgoshp5CzIyyb/yD09kD9o2zEltCexlgw== + +"@types/d3-format@*": + version "3.0.4" + resolved "https://registry.npmmirror.com/@types/d3-format/-/d3-format-3.0.4.tgz" + integrity sha512-fALi2aI6shfg7vM5KiR1wNJnZ7r6UuggVqtDA+xiEdPZQwy/trcQaHnwShLuLdta2rTymCNpxYTiMZX/e09F4g== + +"@types/d3-geo@*": + version "3.1.0" + resolved "https://registry.npmmirror.com/@types/d3-geo/-/d3-geo-3.1.0.tgz" + integrity sha512-856sckF0oP/diXtS4jNsiQw/UuK5fQG8l/a9VVLeSouf1/PPbBE1i1W852zVwKwYCBkFJJB7nCFTbk6UMEXBOQ== + dependencies: + "@types/geojson" "*" + +"@types/d3-hierarchy@*": + version "3.1.7" + resolved "https://registry.npmmirror.com/@types/d3-hierarchy/-/d3-hierarchy-3.1.7.tgz" + integrity sha512-tJFtNoYBtRtkNysX1Xq4sxtjK8YgoWUNpIiUee0/jHGRwqvzYxkq0hGVbbOGSz+JgFxxRu4K8nb3YpG3CMARtg== + +"@types/d3-interpolate@*": + version "3.0.4" + resolved "https://registry.npmmirror.com/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz" + integrity sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA== + dependencies: + "@types/d3-color" "*" + +"@types/d3-path@*": + version "3.1.0" + resolved "https://registry.npmmirror.com/@types/d3-path/-/d3-path-3.1.0.tgz" + integrity sha512-P2dlU/q51fkOc/Gfl3Ul9kicV7l+ra934qBFXCFhrZMOL6du1TM0pm1ThYvENukyOn5h9v+yMJ9Fn5JK4QozrQ== + +"@types/d3-polygon@*": + version "3.0.2" + resolved "https://registry.npmmirror.com/@types/d3-polygon/-/d3-polygon-3.0.2.tgz" + integrity sha512-ZuWOtMaHCkN9xoeEMr1ubW2nGWsp4nIql+OPQRstu4ypeZ+zk3YKqQT0CXVe/PYqrKpZAi+J9mTs05TKwjXSRA== + +"@types/d3-quadtree@*": + version "3.0.6" + resolved "https://registry.npmmirror.com/@types/d3-quadtree/-/d3-quadtree-3.0.6.tgz" + integrity sha512-oUzyO1/Zm6rsxKRHA1vH0NEDG58HrT5icx/azi9MF1TWdtttWl0UIUsjEQBBh+SIkrpd21ZjEv7ptxWys1ncsg== + +"@types/d3-random@*": + version "3.0.3" + resolved "https://registry.npmmirror.com/@types/d3-random/-/d3-random-3.0.3.tgz" + integrity sha512-Imagg1vJ3y76Y2ea0871wpabqp613+8/r0mCLEBfdtqC7xMSfj9idOnmBYyMoULfHePJyxMAw3nWhJxzc+LFwQ== + +"@types/d3-scale-chromatic@*": + version "3.0.3" + resolved "https://registry.npmmirror.com/@types/d3-scale-chromatic/-/d3-scale-chromatic-3.0.3.tgz" + integrity sha512-laXM4+1o5ImZv3RpFAsTRn3TEkzqkytiOY0Dz0sq5cnd1dtNlk6sHLon4OvqaiJb28T0S/TdsBI3Sjsy+keJrw== + +"@types/d3-scale@*": + version "4.0.8" + resolved "https://registry.npmmirror.com/@types/d3-scale/-/d3-scale-4.0.8.tgz" + integrity sha512-gkK1VVTr5iNiYJ7vWDI+yUFFlszhNMtVeneJ6lUTKPjprsvLLI9/tgEGiXJOnlINJA8FyA88gfnQsHbybVZrYQ== + dependencies: + "@types/d3-time" "*" + +"@types/d3-selection@*", "@types/d3-selection@^3.0.3": + version "3.0.10" + resolved "https://registry.npmmirror.com/@types/d3-selection/-/d3-selection-3.0.10.tgz" + integrity sha512-cuHoUgS/V3hLdjJOLTT691+G2QoqAjCVLmr4kJXR4ha56w1Zdu8UUQ5TxLRqudgNjwXeQxKMq4j+lyf9sWuslg== + +"@types/d3-shape@*": + version "3.1.6" + resolved "https://registry.npmmirror.com/@types/d3-shape/-/d3-shape-3.1.6.tgz" + integrity sha512-5KKk5aKGu2I+O6SONMYSNflgiP0WfZIQvVUMan50wHsLG1G94JlxEVnCpQARfTtzytuY0p/9PXXZb3I7giofIA== + dependencies: + "@types/d3-path" "*" + +"@types/d3-time-format@*": + version "4.0.3" + resolved "https://registry.npmmirror.com/@types/d3-time-format/-/d3-time-format-4.0.3.tgz" + integrity sha512-5xg9rC+wWL8kdDj153qZcsJ0FWiFt0J5RB6LYUNZjwSnesfblqrI/bJ1wBdJ8OQfncgbJG5+2F+qfqnqyzYxyg== + +"@types/d3-time@*": + version "3.0.3" + resolved "https://registry.npmmirror.com/@types/d3-time/-/d3-time-3.0.3.tgz" + integrity sha512-2p6olUZ4w3s+07q3Tm2dbiMZy5pCDfYwtLXXHUnVzXgQlZ/OyPtUz6OL382BkOuGlLXqfT+wqv8Fw2v8/0geBw== + +"@types/d3-timer@*", "@types/d3-timer@^2.0.0": + version "2.0.3" + resolved "https://registry.npmmirror.com/@types/d3-timer/-/d3-timer-2.0.3.tgz" + integrity sha512-jhAJzaanK5LqyLQ50jJNIrB8fjL9gwWZTgYjevPvkDLMU+kTAZkYsobI59nYoeSrH1PucuyJEi247Pb90t6XUg== + +"@types/d3-transition@*": + version "3.0.8" + resolved "https://registry.npmmirror.com/@types/d3-transition/-/d3-transition-3.0.8.tgz" + integrity sha512-ew63aJfQ/ms7QQ4X7pk5NxQ9fZH/z+i24ZfJ6tJSfqxJMrYLiK01EAs2/Rtw/JreGUsS3pLPNV644qXFGnoZNQ== + dependencies: + "@types/d3-selection" "*" + +"@types/d3-zoom@*", "@types/d3-zoom@^3.0.1": + version "3.0.8" + resolved "https://registry.npmmirror.com/@types/d3-zoom/-/d3-zoom-3.0.8.tgz" + integrity sha512-iqMC4/YlFCSlO8+2Ii1GGGliCAY4XdeG748w5vQUbevlbDu0zSjH/+jojorQVBK/se0j6DUFNPBGSqD3YWYnDw== + dependencies: + "@types/d3-interpolate" "*" + "@types/d3-selection" "*" + +"@types/d3@^7.4.0": + version "7.4.3" + resolved "https://registry.npmmirror.com/@types/d3/-/d3-7.4.3.tgz" + integrity sha512-lZXZ9ckh5R8uiFVt8ogUNf+pIrK4EsWrx2Np75WvF/eTpJ0FMHNhjXk8CKEx/+gpHbNQyJWehbFaTvqmHWB3ww== + dependencies: + "@types/d3-array" "*" + "@types/d3-axis" "*" + "@types/d3-brush" "*" + "@types/d3-chord" "*" + "@types/d3-color" "*" + "@types/d3-contour" "*" + "@types/d3-delaunay" "*" + "@types/d3-dispatch" "*" + "@types/d3-drag" "*" + "@types/d3-dsv" "*" + "@types/d3-ease" "*" + "@types/d3-fetch" "*" + "@types/d3-force" "*" + "@types/d3-format" "*" + "@types/d3-geo" "*" + "@types/d3-hierarchy" "*" + "@types/d3-interpolate" "*" + "@types/d3-path" "*" + "@types/d3-polygon" "*" + "@types/d3-quadtree" "*" + "@types/d3-random" "*" + "@types/d3-scale" "*" + "@types/d3-scale-chromatic" "*" + "@types/d3-selection" "*" + "@types/d3-shape" "*" + "@types/d3-time" "*" + "@types/d3-time-format" "*" + "@types/d3-timer" "*" + "@types/d3-transition" "*" + "@types/d3-zoom" "*" + +"@types/debug@^4.0.0", "@types/debug@^4.1.8": + version "4.1.12" + resolved "https://registry.npmmirror.com/@types/debug/-/debug-4.1.12.tgz" + integrity sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ== + dependencies: + "@types/ms" "*" + +"@types/estree-jsx@^1.0.0": + version "1.0.5" + resolved "https://registry.npmmirror.com/@types/estree-jsx/-/estree-jsx-1.0.5.tgz#858a88ea20f34fe65111f005a689fa1ebf70dc18" + integrity sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg== + dependencies: + "@types/estree" "*" + +"@types/estree@*", "@types/estree@^1.0.0": + version "1.0.5" + resolved "https://registry.npmmirror.com/@types/estree/-/estree-1.0.5.tgz#a6ce3e556e00fd9895dd872dd172ad0d4bd687f4" + integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw== + +"@types/express-serve-static-core@^4.17.33": + version "4.19.5" + resolved "https://registry.npmmirror.com/@types/express-serve-static-core/-/express-serve-static-core-4.19.5.tgz" + integrity sha512-y6W03tvrACO72aijJ5uF02FRq5cgDR9lUxddQ8vyF+GvmjJQqbzDcJngEjURc+ZsG31VI3hODNZJ2URj86pzmg== + dependencies: + "@types/node" "*" + "@types/qs" "*" + "@types/range-parser" "*" + "@types/send" "*" + +"@types/express@*", "@types/express@^4.17.13": + version "4.17.21" + resolved "https://registry.npmmirror.com/@types/express/-/express-4.17.21.tgz" + integrity sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ== + dependencies: + "@types/body-parser" "*" + "@types/express-serve-static-core" "^4.17.33" + "@types/qs" "*" + "@types/serve-static" "*" + +"@types/geojson@*", "@types/geojson@^7946.0.10", "@types/geojson@^7946.0.13": + version "7946.0.14" + resolved "https://registry.npmmirror.com/@types/geojson/-/geojson-7946.0.14.tgz#319b63ad6df705ee2a65a73ef042c8271e696613" + integrity sha512-WCfD5Ht3ZesJUsONdhvm84dmzWOiOzOAqOncN0++w0lBw1o8OuDNJF2McvvCef/yBqb/HYRahp1BYtODFQ8bRg== + +"@types/geojson@7946.0.8": + version "7946.0.8" + resolved "https://registry.npmmirror.com/@types/geojson/-/geojson-7946.0.8.tgz#30744afdb385e2945e22f3b033f897f76b1f12ca" + integrity sha512-1rkryxURpr6aWP7R786/UQOkJ3PcpQiWkAXBmdWc7ryFWqN6a4xfK7BtjXvFBKO9LjQ+MWQSWxYeZX1OApnArA== + +"@types/google-one-tap@^1.2.4": + version "1.2.6" + resolved "https://registry.npmmirror.com/@types/google-one-tap/-/google-one-tap-1.2.6.tgz" + integrity sha512-REmJsXVHvKb/sgI8DF+7IesMbDbcsEokHBqxU01ENZ8d98UPWdRLhUCtxEm9bhNFFg6PJGy7PNFdvovp0hK3jA== + +"@types/hast@^2.0.0": + version "2.3.10" + resolved "https://registry.npmmirror.com/@types/hast/-/hast-2.3.10.tgz" + integrity sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw== + dependencies: + "@types/unist" "^2" + +"@types/hast@^3.0.0": + version "3.0.4" + resolved "https://registry.npmmirror.com/@types/hast/-/hast-3.0.4.tgz#1d6b39993b82cea6ad783945b0508c25903e15aa" + integrity sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ== + dependencies: + "@types/unist" "*" + +"@types/http-assert@*": + version "1.5.5" + resolved "https://registry.npmmirror.com/@types/http-assert/-/http-assert-1.5.5.tgz" + integrity sha512-4+tE/lwdAahgZT1g30Jkdm9PzFRde0xwxBNUyRsCitRvCQB90iuA2uJYdUnhnANRcqGXaWOGY4FEoxeElNAK2g== + +"@types/http-errors@*": + version "2.0.4" + resolved "https://registry.npmmirror.com/@types/http-errors/-/http-errors-2.0.4.tgz" + integrity sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA== + +"@types/json-schema@^7.0.9": + version "7.0.15" + resolved "https://registry.npmmirror.com/@types/json-schema/-/json-schema-7.0.15.tgz" + integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== + +"@types/json5@^0.0.29": + version "0.0.29" + resolved "https://registry.npmmirror.com/@types/json5/-/json5-0.0.29.tgz" + integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== + +"@types/keygrip@*": + version "1.0.6" + resolved "https://registry.npmmirror.com/@types/keygrip/-/keygrip-1.0.6.tgz" + integrity sha512-lZuNAY9xeJt7Bx4t4dx0rYCDqGPW8RXhQZK1td7d4H6E9zYbLoOtjBvfwdTKpsyxQI/2jv+armjX/RW+ZNpXOQ== + +"@types/koa-compose@*": + version "3.2.8" + resolved "https://registry.npmmirror.com/@types/koa-compose/-/koa-compose-3.2.8.tgz" + integrity sha512-4Olc63RY+MKvxMwVknCUDhRQX1pFQoBZ/lXcRLP69PQkEpze/0cr8LNqJQe5NFb/b19DWi2a5bTi2VAlQzhJuA== + dependencies: + "@types/koa" "*" + +"@types/koa@*", "@types/koa@^2.13.5": + version "2.15.0" + resolved "https://registry.npmmirror.com/@types/koa/-/koa-2.15.0.tgz" + integrity sha512-7QFsywoE5URbuVnG3loe03QXuGajrnotr3gQkXcEBShORai23MePfFYdhz90FEtBBpkyIYQbVD+evKtloCgX3g== + dependencies: + "@types/accepts" "*" + "@types/content-disposition" "*" + "@types/cookies" "*" + "@types/http-assert" "*" + "@types/http-errors" "*" + "@types/keygrip" "*" + "@types/koa-compose" "*" + "@types/node" "*" + +"@types/linkify-it@^5": + version "5.0.0" + resolved "https://registry.npmmirror.com/@types/linkify-it/-/linkify-it-5.0.0.tgz" + integrity sha512-sVDA58zAw4eWAffKOaQH5/5j3XeayukzDk+ewSsnv3p4yJEZHCCzMDiZM8e0OUrRvmpGZ85jf4yDHkHsgBNr9Q== + +"@types/lodash@^4.14.195": + version "4.17.5" + resolved "https://registry.npmmirror.com/@types/lodash/-/lodash-4.17.5.tgz" + integrity sha512-MBIOHVZqVqgfro1euRDWX7OO0fBVUUMrN6Pwm8LQsz8cWhEpihlvR70ENj3f40j58TNxZaWv2ndSkInykNBBJw== + +"@types/mapbox__point-geometry@*", "@types/mapbox__point-geometry@^0.1.4": + version "0.1.4" + resolved "https://registry.npmmirror.com/@types/mapbox__point-geometry/-/mapbox__point-geometry-0.1.4.tgz#0ef017b75eedce02ff6243b4189210e2e6d5e56d" + integrity sha512-mUWlSxAmYLfwnRBmgYV86tgYmMIICX4kza8YnE/eIlywGe2XoOxlpVnXWwir92xRLjwyarqwpu2EJKD2pk0IUA== + +"@types/mapbox__vector-tile@^1.3.4": + version "1.3.4" + resolved "https://registry.npmmirror.com/@types/mapbox__vector-tile/-/mapbox__vector-tile-1.3.4.tgz#ad757441ef1d34628d9e098afd9c91423c1f8734" + integrity sha512-bpd8dRn9pr6xKvuEBQup8pwQfD4VUyqO/2deGjfpe6AwC8YRlyEipvefyRJUSiCJTZuCb8Pl1ciVV5ekqJ96Bg== + dependencies: + "@types/geojson" "*" + "@types/mapbox__point-geometry" "*" + "@types/pbf" "*" + +"@types/markdown-it@^14.1.1": + version "14.1.2" + resolved "https://registry.npmmirror.com/@types/markdown-it/-/markdown-it-14.1.2.tgz" + integrity sha512-promo4eFwuiW+TfGxhi+0x3czqTYJkG8qB17ZUJiVF10Xm7NLVRSLUsfRTU/6h1e24VvRnXCx+hG7li58lkzog== + dependencies: + "@types/linkify-it" "^5" + "@types/mdurl" "^2" + +"@types/mdast@^4.0.0": + version "4.0.4" + resolved "https://registry.npmmirror.com/@types/mdast/-/mdast-4.0.4.tgz#7ccf72edd2f1aa7dd3437e180c64373585804dd6" + integrity sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA== + dependencies: + "@types/unist" "*" + +"@types/mdurl@^2": + version "2.0.0" + resolved "https://registry.npmmirror.com/@types/mdurl/-/mdurl-2.0.0.tgz" + integrity sha512-RGdgjQUZba5p6QEFAVx2OGb8rQDL/cPRG7GiedRzMcJ1tYnUANBncjbSB1NRGwbvjcPeikRABz2nshyPk1bhWg== + +"@types/mime@^1": + version "1.3.5" + resolved "https://registry.npmmirror.com/@types/mime/-/mime-1.3.5.tgz" + integrity sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w== + +"@types/ms@*": + version "0.7.34" + resolved "https://registry.npmmirror.com/@types/ms/-/ms-0.7.34.tgz" + integrity sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g== + +"@types/node-localstorage@^1.3.2": + version "1.3.3" + resolved "https://registry.npmmirror.com/@types/node-localstorage/-/node-localstorage-1.3.3.tgz" + integrity sha512-Wkn5g4eM5x10UNV9Xvl9K6y6m0zorocuJy4WjB5muUdyMZuPbZpSJG3hlhjGHe1HGxbOQO7RcB+jlHcNwkh+Jw== + dependencies: + "@types/node" "*" + +"@types/node@*", "@types/node@20.5.7": + version "20.5.7" + resolved "https://registry.npmmirror.com/@types/node/-/node-20.5.7.tgz" + integrity sha512-dP7f3LdZIysZnmvP3ANJYTSwg+wLLl8p7RqniVlV7j+oXSXAbt9h0WIBFmJy5inWZoX9wZN6eXx+YXd9Rh3RBA== + +"@types/node@^17.0.41": + version "17.0.45" + resolved "https://registry.npmmirror.com/@types/node/-/node-17.0.45.tgz" + integrity sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw== + +"@types/nprogress@^0.2.0": + version "0.2.3" + resolved "https://registry.npmmirror.com/@types/nprogress/-/nprogress-0.2.3.tgz" + integrity sha512-k7kRA033QNtC+gLc4VPlfnue58CM1iQLgn1IMAU8VPHGOj7oIHPp9UlhedEnD/Gl8evoCjwkZjlBORtZ3JByUA== + +"@types/parse-json@^4.0.0": + version "4.0.2" + resolved "https://registry.npmmirror.com/@types/parse-json/-/parse-json-4.0.2.tgz" + integrity sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw== + +"@types/pbf@*", "@types/pbf@^3.0.5": + version "3.0.5" + resolved "https://registry.npmmirror.com/@types/pbf/-/pbf-3.0.5.tgz#a9495a58d8c75be4ffe9a0bd749a307715c07404" + integrity sha512-j3pOPiEcWZ34R6a6mN07mUkM4o4Lwf6hPNt8eilOeZhTFbxFXmKhvXl9Y28jotFPaI1bpPDJsbCprUoNke6OrA== + +"@types/prop-types@*", "@types/prop-types@^15.7.11": + version "15.7.12" + resolved "https://registry.npmmirror.com/@types/prop-types/-/prop-types-15.7.12.tgz" + integrity sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q== + +"@types/qs@*": + version "6.9.15" + resolved "https://registry.npmmirror.com/@types/qs/-/qs-6.9.15.tgz" + integrity sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg== + +"@types/range-parser@*": + version "1.2.7" + resolved "https://registry.npmmirror.com/@types/range-parser/-/range-parser-1.2.7.tgz" + integrity sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ== + +"@types/react-dom@18.2.6": + version "18.2.6" + resolved "https://registry.npmmirror.com/@types/react-dom/-/react-dom-18.2.6.tgz" + integrity sha512-2et4PDvg6PVCyS7fuTc4gPoksV58bW0RwSxWKcPRcHZf0PRUGq03TKcD/rUHe3azfV6/5/biUBJw+HhCQjaP0A== + dependencies: + "@types/react" "*" + +"@types/react-syntax-highlighter@^15.5.7": + version "15.5.13" + resolved "https://registry.npmmirror.com/@types/react-syntax-highlighter/-/react-syntax-highlighter-15.5.13.tgz" + integrity sha512-uLGJ87j6Sz8UaBAooU0T6lWJ0dBmjZgN1PZTrj05TNql2/XpC6+4HhMT5syIdFUUt+FASfCeLLv4kBygNU+8qA== + dependencies: + "@types/react" "*" + +"@types/react-transition-group@^4.4.10": + version "4.4.10" + resolved "https://registry.npmmirror.com/@types/react-transition-group/-/react-transition-group-4.4.10.tgz" + integrity sha512-hT/+s0VQs2ojCX823m60m5f0sL5idt9SO6Tj6Dg+rdphGPIeJbJ6CxvBYkgkGKrYeDjvIpKTR38UzmtHJOGW3Q== + dependencies: + "@types/react" "*" + +"@types/react-virtualized@^9.21.29": + version "9.21.30" + resolved "https://registry.npmmirror.com/@types/react-virtualized/-/react-virtualized-9.21.30.tgz" + integrity sha512-4l2TFLQ8BCjNDQlvH85tU6gctuZoEdgYzENQyZHpgTHU7hoLzYgPSOALMAeA58LOWua8AzC6wBivPj1lfl6JgQ== + dependencies: + "@types/prop-types" "*" + "@types/react" "*" + +"@types/react@*", "@types/react@18.2.14": + version "18.2.14" + resolved "https://registry.npmmirror.com/@types/react/-/react-18.2.14.tgz" + integrity sha512-A0zjq+QN/O0Kpe30hA1GidzyFjatVvrpIvWLxD+xv67Vt91TWWgco9IvrJBkeyHm1trGaFS/FSGqPlhyeZRm0g== + dependencies: + "@types/prop-types" "*" + "@types/scheduler" "*" + csstype "^3.0.2" + +"@types/scheduler@*": + version "0.23.0" + resolved "https://registry.npmmirror.com/@types/scheduler/-/scheduler-0.23.0.tgz" + integrity sha512-YIoDCTH3Af6XM5VuwGG/QL/CJqga1Zm3NkU3HZ4ZHK2fRMPYP1VczsTUqtsf43PH/iJNVlPHAo2oWX7BSdB2Hw== + +"@types/send@*": + version "0.17.4" + resolved "https://registry.npmmirror.com/@types/send/-/send-0.17.4.tgz" + integrity sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA== + dependencies: + "@types/mime" "^1" + "@types/node" "*" + +"@types/serve-static@*": + version "1.15.7" + resolved "https://registry.npmmirror.com/@types/serve-static/-/serve-static-1.15.7.tgz" + integrity sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw== + dependencies: + "@types/http-errors" "*" + "@types/node" "*" + "@types/send" "*" + +"@types/stylis@4.2.5": + version "4.2.5" + resolved "https://registry.npmmirror.com/@types/stylis/-/stylis-4.2.5.tgz#1daa6456f40959d06157698a653a9ab0a70281df" + integrity sha512-1Xve+NMN7FWjY14vLoY5tL3BVEQ/n42YLwaqJIPYhotZ9uBHt87VceMwWQpzmdEt2TNXIorIFG+YeCUUW7RInw== + +"@types/supercluster@^7.1.3": + version "7.1.3" + resolved "https://registry.npmmirror.com/@types/supercluster/-/supercluster-7.1.3.tgz#1a1bc2401b09174d9c9e44124931ec7874a72b27" + integrity sha512-Z0pOY34GDFl3Q6hUFYf3HkTwKEE02e7QgtJppBt+beEAxnyOpJua+voGFvxINBHa06GwLFFym7gRPY2SiKIfIA== + dependencies: + "@types/geojson" "*" + +"@types/unist@*", "@types/unist@^3.0.0": + version "3.0.3" + resolved "https://registry.npmmirror.com/@types/unist/-/unist-3.0.3.tgz#acaab0f919ce69cce629c2d4ed2eb4adc1b6c20c" + integrity sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q== + +"@types/unist@^2", "@types/unist@^2.0.0": + version "2.0.10" + resolved "https://registry.npmmirror.com/@types/unist/-/unist-2.0.10.tgz" + integrity sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA== + +"@types/uuid@^9.0.8": + version "9.0.8" + resolved "https://registry.npmmirror.com/@types/uuid/-/uuid-9.0.8.tgz" + integrity sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA== + +"@types/validator@^13.7.17": + version "13.12.1" + resolved "https://registry.npmmirror.com/@types/validator/-/validator-13.12.1.tgz" + integrity sha512-w0URwf7BQb0rD/EuiG12KP0bailHKHP5YVviJG9zw3ykAokL0TuxU2TUqMB7EwZ59bDHYdeTIvjI5m0S7qHfOA== + +"@typescript-eslint/eslint-plugin@^8.3.0": + version "8.4.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.4.0.tgz#188c65610ef875a086404b5bfe105df936b035da" + integrity sha512-rg8LGdv7ri3oAlenMACk9e+AR4wUV0yrrG+XKsGKOK0EVgeEDqurkXMPILG2836fW4ibokTB5v4b6Z9+GYQDEw== + dependencies: + "@eslint-community/regexpp" "^4.10.0" + "@typescript-eslint/scope-manager" "8.4.0" + "@typescript-eslint/type-utils" "8.4.0" + "@typescript-eslint/utils" "8.4.0" + "@typescript-eslint/visitor-keys" "8.4.0" + graphemer "^1.4.0" + ignore "^5.3.1" + natural-compare "^1.4.0" + ts-api-utils "^1.3.0" + +"@typescript-eslint/parser@^5.42.0": + version "5.62.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/parser/-/parser-5.62.0.tgz" + integrity sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA== + dependencies: + "@typescript-eslint/scope-manager" "5.62.0" + "@typescript-eslint/types" "5.62.0" + "@typescript-eslint/typescript-estree" "5.62.0" + debug "^4.3.4" + +"@typescript-eslint/parser@^8.3.0": + version "8.4.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/parser/-/parser-8.4.0.tgz#36b7cd7643a1c190d49dc0278192b2450f615a6f" + integrity sha512-NHgWmKSgJk5K9N16GIhQ4jSobBoJwrmURaLErad0qlLjrpP5bECYg+wxVTGlGZmJbU03jj/dfnb6V9bw+5icsA== + dependencies: + "@typescript-eslint/scope-manager" "8.4.0" + "@typescript-eslint/types" "8.4.0" + "@typescript-eslint/typescript-estree" "8.4.0" + "@typescript-eslint/visitor-keys" "8.4.0" + debug "^4.3.4" + +"@typescript-eslint/scope-manager@5.62.0": + version "5.62.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz" + integrity sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w== + dependencies: + "@typescript-eslint/types" "5.62.0" + "@typescript-eslint/visitor-keys" "5.62.0" + +"@typescript-eslint/scope-manager@8.4.0": + version "8.4.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/scope-manager/-/scope-manager-8.4.0.tgz#8a13d3c0044513d7960348db6f4789d2a06fa4b4" + integrity sha512-n2jFxLeY0JmKfUqy3P70rs6vdoPjHK8P/w+zJcV3fk0b0BwRXC/zxRTEnAsgYT7MwdQDt/ZEbtdzdVC+hcpF0A== + dependencies: + "@typescript-eslint/types" "8.4.0" + "@typescript-eslint/visitor-keys" "8.4.0" + +"@typescript-eslint/type-utils@8.4.0": + version "8.4.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/type-utils/-/type-utils-8.4.0.tgz#4a91b5789f41946adb56d73e2fb4639fdcf37af7" + integrity sha512-pu2PAmNrl9KX6TtirVOrbLPLwDmASpZhK/XU7WvoKoCUkdtq9zF7qQ7gna0GBZFN0hci0vHaSusiL2WpsQk37A== + dependencies: + "@typescript-eslint/typescript-estree" "8.4.0" + "@typescript-eslint/utils" "8.4.0" + debug "^4.3.4" + ts-api-utils "^1.3.0" + +"@typescript-eslint/types@5.62.0": + version "5.62.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/types/-/types-5.62.0.tgz" + integrity sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ== + +"@typescript-eslint/types@8.4.0": + version "8.4.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/types/-/types-8.4.0.tgz#b44d6a90a317a6d97a3e5fabda5196089eec6171" + integrity sha512-T1RB3KQdskh9t3v/qv7niK6P8yvn7ja1mS7QK7XfRVL6wtZ8/mFs/FHf4fKvTA0rKnqnYxl/uHFNbnEt0phgbw== + +"@typescript-eslint/typescript-estree@5.62.0": + version "5.62.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz" + integrity sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA== + dependencies: + "@typescript-eslint/types" "5.62.0" + "@typescript-eslint/visitor-keys" "5.62.0" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + semver "^7.3.7" + tsutils "^3.21.0" + +"@typescript-eslint/typescript-estree@8.4.0": + version "8.4.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.4.0.tgz#00ed79ae049e124db37315cde1531a900a048482" + integrity sha512-kJ2OIP4dQw5gdI4uXsaxUZHRwWAGpREJ9Zq6D5L0BweyOrWsL6Sz0YcAZGWhvKnH7fm1J5YFE1JrQL0c9dd53A== + dependencies: + "@typescript-eslint/types" "8.4.0" + "@typescript-eslint/visitor-keys" "8.4.0" + debug "^4.3.4" + fast-glob "^3.3.2" + is-glob "^4.0.3" + minimatch "^9.0.4" + semver "^7.6.0" + ts-api-utils "^1.3.0" + +"@typescript-eslint/utils@8.4.0": + version "8.4.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/utils/-/utils-8.4.0.tgz#35c552a404858c853a1f62ba6df2214f1988afc3" + integrity sha512-swULW8n1IKLjRAgciCkTCafyTHHfwVQFt8DovmaF69sKbOxTSFMmIZaSHjqO9i/RV0wIblaawhzvtva8Nmm7lQ== + dependencies: + "@eslint-community/eslint-utils" "^4.4.0" + "@typescript-eslint/scope-manager" "8.4.0" + "@typescript-eslint/types" "8.4.0" + "@typescript-eslint/typescript-estree" "8.4.0" + +"@typescript-eslint/visitor-keys@5.62.0": + version "5.62.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz" + integrity sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw== + dependencies: + "@typescript-eslint/types" "5.62.0" + eslint-visitor-keys "^3.3.0" + +"@typescript-eslint/visitor-keys@8.4.0": + version "8.4.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.4.0.tgz#1e8a8b8fd3647db1e42361fdd8de3e1679dec9d2" + integrity sha512-zTQD6WLNTre1hj5wp09nBIDiOc2U5r/qmzo7wxPn4ZgAjHql09EofqhF9WF+fZHzL5aCyaIpPcT2hyxl73kr9A== + dependencies: + "@typescript-eslint/types" "8.4.0" + eslint-visitor-keys "^3.4.3" + +"@uiw/react-json-view@^2.0.0-alpha.23": + version "2.0.0-alpha.26" + resolved "https://registry.npmmirror.com/@uiw/react-json-view/-/react-json-view-2.0.0-alpha.26.tgz" + integrity sha512-i3uph/hjjT+RwUMjC3lpQUFwWWP+/muipo5Hj22XlhreFrcnhgydorq3PFBnmu4nZxNzkwGar07M6/f6+5b+XQ== + +"@ungap/structured-clone@^1.0.0", "@ungap/structured-clone@^1.2.0": + version "1.2.0" + resolved "https://registry.npmmirror.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" + integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== + +"@webgpu/types@^0.1.34": + version "0.1.44" + resolved "https://registry.npmmirror.com/@webgpu/types/-/types-0.1.44.tgz#1b264c0bfcb298df59d0943dad8ef02b4ff98d14" + integrity sha512-JDpYJN5E/asw84LTYhKyvPpxGnD+bAKPtpW9Ilurf7cZpxaTbxkQcGwOd7jgB9BPBrTYQ+32ufo4HiuomTjHNQ== + +acorn-jsx@^5.3.2: + version "5.3.2" + resolved "https://registry.npmmirror.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz" + integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== + +acorn@^8.9.0: + version "8.12.0" + resolved "https://registry.npmmirror.com/acorn/-/acorn-8.12.0.tgz" + integrity sha512-RTvkC4w+KNXrM39/lWCUaG0IbRkWdCv7W/IOW9oU6SawyxulvkQy5HQPVTKxEjczcUvapcrw3cFx/60VN/NRNw== + +agent-base@^7.0.2: + version "7.1.1" + resolved "https://registry.npmmirror.com/agent-base/-/agent-base-7.1.1.tgz" + integrity sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA== + dependencies: + debug "^4.3.4" + +ahooks@^3.3.13: + version "3.8.1" + resolved "https://registry.npmmirror.com/ahooks/-/ahooks-3.8.1.tgz#3a19d0e4085618a7a38a22a34b568c8d3fd974c0" + integrity sha512-JoP9+/RWO7MnI/uSKdvQ8WB10Y3oo1PjLv+4Sv4Vpm19Z86VUMdXh+RhWvMGxZZs06sq2p0xVtFk8Oh5ZObsoA== + dependencies: + "@babel/runtime" "^7.21.0" + dayjs "^1.9.1" + intersection-observer "^0.12.0" + js-cookie "^3.0.5" + lodash "^4.17.21" + react-fast-compare "^3.2.2" + resize-observer-polyfill "^1.5.1" + screenfull "^5.0.0" + tslib "^2.4.1" + +ahooks@^3.7.8: + version "3.8.0" + resolved "https://registry.npmmirror.com/ahooks/-/ahooks-3.8.0.tgz" + integrity sha512-M01m+mxLRNNeJ/PCT3Fom26UyreTj6oMqJBetUrJnK4VNI5j6eMA543Xxo53OBXn6XibA2FXKcCCgrT6YCTtKQ== + dependencies: + "@babel/runtime" "^7.21.0" + dayjs "^1.9.1" + intersection-observer "^0.12.0" + js-cookie "^2.x.x" + lodash "^4.17.21" + react-fast-compare "^3.2.2" + resize-observer-polyfill "^1.5.1" + screenfull "^5.0.0" + tslib "^2.4.1" + +ajv-formats@^2.1.1: + version "2.1.1" + resolved "https://registry.npmmirror.com/ajv-formats/-/ajv-formats-2.1.1.tgz" + integrity sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA== + dependencies: + ajv "^8.0.0" + +ajv-keywords@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/ajv-keywords/-/ajv-keywords-5.1.0.tgz" + integrity sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw== + dependencies: + fast-deep-equal "^3.1.3" + +ajv@^6.10.2, ajv@^6.12.4: + version "6.12.6" + resolved "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" + integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + +ajv@^8.0.0, ajv@^8.9.0: + version "8.16.0" + resolved "https://registry.npmmirror.com/ajv/-/ajv-8.16.0.tgz" + integrity sha512-F0twR8U1ZU67JIEtekUcLkXkoO5mMMmgGD8sK/xUFzJ805jxHQl92hImFAqqXMyMYjSPOyUPAwHYhB72g5sTXw== + dependencies: + fast-deep-equal "^3.1.3" + json-schema-traverse "^1.0.0" + require-from-string "^2.0.2" + uri-js "^4.4.1" + +align-text@^0.1.1, align-text@^0.1.3: + version "0.1.4" + resolved "https://registry.npmmirror.com/align-text/-/align-text-0.1.4.tgz" + integrity sha512-GrTZLRpmp6wIC2ztrWW9MjjTgSKccffgFagbNDOX95/dcjEcYZibYTeaOntySQLcdw1ztBoFkviiUvTMbb9MYg== + dependencies: + kind-of "^3.0.2" + longest "^1.0.1" + repeat-string "^1.5.2" + +amdefine@>=0.0.4: + version "1.0.1" + resolved "https://registry.npmmirror.com/amdefine/-/amdefine-1.0.1.tgz" + integrity sha512-S2Hw0TtNkMJhIabBwIojKL9YHO5T0n5eNqWJ7Lrlel/zDbftQpxpapi8tZs3X1HWa+u+QeydGmzzNU0m09+Rcg== + +ansi-escapes@^7.0.0: + version "7.0.0" + resolved "https://registry.npmmirror.com/ansi-escapes/-/ansi-escapes-7.0.0.tgz#00fc19f491bbb18e1d481b97868204f92109bfe7" + integrity sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw== + dependencies: + environment "^1.0.0" + +ansi-regex@^2.0.0: + version "2.1.1" + resolved "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-2.1.1.tgz" + integrity sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA== + +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +ansi-regex@^6.0.1: + version "6.0.1" + resolved "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-6.0.1.tgz" + integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== + +ansi-styles@^2.2.1: + version "2.2.1" + resolved "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-2.2.1.tgz" + integrity sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA== + +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-3.2.1.tgz" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +ansi-styles@^4.0.0, ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +ansi-styles@^6.0.0, ansi-styles@^6.1.0, ansi-styles@^6.2.1: + version "6.2.1" + resolved "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-6.2.1.tgz" + integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== + +antd@^5.10.0: + version "5.20.3" + resolved "https://registry.npmmirror.com/antd/-/antd-5.20.3.tgz" + integrity sha512-v2s5LJlhuccIKLT17ESXQDkiQJdPK4jXg4x2pmSSRlrKXAxfftn8Zhd/7pdF3qR3OkwheQpSRjynrNZKp9Tgkg== + dependencies: + "@ant-design/colors" "^7.1.0" + "@ant-design/cssinjs" "^1.21.0" + "@ant-design/cssinjs-utils" "^1.0.3" + "@ant-design/icons" "^5.4.0" + "@ant-design/react-slick" "~1.1.2" + "@babel/runtime" "^7.24.8" + "@ctrl/tinycolor" "^3.6.1" + "@rc-component/color-picker" "~2.0.1" + "@rc-component/mutate-observer" "^1.1.0" + "@rc-component/qrcode" "~1.0.0" + "@rc-component/tour" "~1.15.0" + "@rc-component/trigger" "^2.2.1" + classnames "^2.5.1" + copy-to-clipboard "^3.3.3" + dayjs "^1.11.11" + rc-cascader "~3.27.0" + rc-checkbox "~3.3.0" + rc-collapse "~3.7.3" + rc-dialog "~9.5.2" + rc-drawer "~7.2.0" + rc-dropdown "~4.2.0" + rc-field-form "~2.4.0" + rc-image "~7.9.0" + rc-input "~1.6.3" + rc-input-number "~9.2.0" + rc-mentions "~2.15.0" + rc-menu "~9.14.1" + rc-motion "^2.9.2" + rc-notification "~5.6.0" + rc-pagination "~4.2.0" + rc-picker "~4.6.13" + rc-progress "~4.0.0" + rc-rate "~2.13.0" + rc-resize-observer "^1.4.0" + rc-segmented "~2.3.0" + rc-select "~14.15.1" + rc-slider "~11.1.5" + rc-steps "~6.0.1" + rc-switch "~4.1.0" + rc-table "~7.45.7" + rc-tabs "~15.1.1" + rc-textarea "~1.8.1" + rc-tooltip "~6.2.0" + rc-tree "~5.8.8" + rc-tree-select "~5.22.1" + rc-upload "~4.7.0" + rc-util "^5.43.0" + scroll-into-view-if-needed "^3.1.0" + throttle-debounce "^5.0.2" + +antlr4@~4.8.0: + version "4.8.0" + resolved "https://registry.npmmirror.com/antlr4/-/antlr4-4.8.0.tgz" + integrity sha512-en/MxQ4OkPgGJQ3wD/muzj1uDnFSzdFIhc2+c6bHZokWkuBb6RRvFjpWhPxWLbgQvaEzldJZ0GSQpfSAaE3hqg== + +any-promise@^1.0.0: + version "1.3.0" + resolved "https://registry.npmmirror.com/any-promise/-/any-promise-1.3.0.tgz" + integrity sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A== + +anymatch@~3.1.2: + version "3.1.3" + resolved "https://registry.npmmirror.com/anymatch/-/anymatch-3.1.3.tgz" + integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + +append-field@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/append-field/-/append-field-1.0.0.tgz" + integrity sha512-klpgFSWLW1ZEs8svjfb7g4qWY0YS5imI82dTg+QahUvJ8YqAY0P10Uk8tTyh9ZGuYEZEMaeJYCF5BFuX552hsw== + +arg@^5.0.2: + version "5.0.2" + resolved "https://registry.npmmirror.com/arg/-/arg-5.0.2.tgz" + integrity sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg== + +argparse@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/argparse/-/argparse-2.0.1.tgz" + integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== + +aria-query@~5.1.3: + version "5.1.3" + resolved "https://registry.npmmirror.com/aria-query/-/aria-query-5.1.3.tgz" + integrity sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ== + dependencies: + deep-equal "^2.0.5" + +arr-union@^3.1.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" + integrity sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q== + +array-buffer-byte-length@^1.0.0, array-buffer-byte-length@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz" + integrity sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg== + dependencies: + call-bind "^1.0.5" + is-array-buffer "^3.0.4" + +array-includes@^3.1.6, array-includes@^3.1.7, array-includes@^3.1.8: + version "3.1.8" + resolved "https://registry.npmmirror.com/array-includes/-/array-includes-3.1.8.tgz" + integrity sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-object-atoms "^1.0.0" + get-intrinsic "^1.2.4" + is-string "^1.0.7" + +array-tree-filter@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/array-tree-filter/-/array-tree-filter-2.1.0.tgz" + integrity sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw== + +array-union@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/array-union/-/array-union-2.1.0.tgz" + integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== + +array.prototype.findlast@^1.2.5: + version "1.2.5" + resolved "https://registry.npmmirror.com/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz" + integrity sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-errors "^1.3.0" + es-object-atoms "^1.0.0" + es-shim-unscopables "^1.0.2" + +array.prototype.findlastindex@^1.2.3: + version "1.2.5" + resolved "https://registry.npmmirror.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz" + integrity sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-errors "^1.3.0" + es-object-atoms "^1.0.0" + es-shim-unscopables "^1.0.2" + +array.prototype.flat@^1.3.1, array.prototype.flat@^1.3.2: + version "1.3.2" + resolved "https://registry.npmmirror.com/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz" + integrity sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + es-shim-unscopables "^1.0.0" + +array.prototype.flatmap@^1.3.2: + version "1.3.2" + resolved "https://registry.npmmirror.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz" + integrity sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + es-shim-unscopables "^1.0.0" + +array.prototype.toreversed@^1.1.2: + version "1.1.2" + resolved "https://registry.npmmirror.com/array.prototype.toreversed/-/array.prototype.toreversed-1.1.2.tgz" + integrity sha512-wwDCoT4Ck4Cz7sLtgUmzR5UV3YF5mFHUlbChCzZBQZ+0m2cl/DH3tKgvphv1nKgFsJ48oCSg6p91q2Vm0I/ZMA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + es-shim-unscopables "^1.0.0" + +array.prototype.tosorted@^1.1.4: + version "1.1.4" + resolved "https://registry.npmmirror.com/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz" + integrity sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.3" + es-errors "^1.3.0" + es-shim-unscopables "^1.0.2" + +arraybuffer.prototype.slice@^1.0.3: + version "1.0.3" + resolved "https://registry.npmmirror.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz" + integrity sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A== + dependencies: + array-buffer-byte-length "^1.0.1" + call-bind "^1.0.5" + define-properties "^1.2.1" + es-abstract "^1.22.3" + es-errors "^1.2.1" + get-intrinsic "^1.2.3" + is-array-buffer "^3.0.4" + is-shared-array-buffer "^1.0.2" + +as-number@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/as-number/-/as-number-1.0.0.tgz#acb27e34f8f9d8ab0da9e376f3b8959860f80a66" + integrity sha512-HkI/zLo2AbSRO4fqVkmyf3hms0bJDs3iboHqTrNuwTiCRvdYXM7HFhfhB6Dk51anV2LM/IMB83mtK9mHw4FlAg== + +asn1js@^3.0.1, asn1js@^3.0.5: + version "3.0.5" + resolved "https://registry.npmmirror.com/asn1js/-/asn1js-3.0.5.tgz" + integrity sha512-FVnvrKJwpt9LP2lAMl8qZswRNm3T4q9CON+bxldk2iwk3FFpuwhx2FfinyitizWHsVYyaY+y5JzDR0rCMV5yTQ== + dependencies: + pvtsutils "^1.3.2" + pvutils "^1.1.3" + tslib "^2.4.0" + +assign-symbols@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" + integrity sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw== + +ast-types-flow@^0.0.8: + version "0.0.8" + resolved "https://registry.npmmirror.com/ast-types-flow/-/ast-types-flow-0.0.8.tgz" + integrity sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ== + +async@^3.1.1: + version "3.2.6" + resolved "https://registry.npmmirror.com/async/-/async-3.2.6.tgz#1b0728e14929d51b85b449b7f06e27c1145e38ce" + integrity sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA== + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz" + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== + +autoprefixer@10.4.14: + version "10.4.14" + resolved "https://registry.npmmirror.com/autoprefixer/-/autoprefixer-10.4.14.tgz" + integrity sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ== + dependencies: + browserslist "^4.21.5" + caniuse-lite "^1.0.30001464" + fraction.js "^4.2.0" + normalize-range "^0.1.2" + picocolors "^1.0.0" + postcss-value-parser "^4.2.0" + +available-typed-arrays@^1.0.7: + version "1.0.7" + resolved "https://registry.npmmirror.com/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz" + integrity sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ== + dependencies: + possible-typed-array-names "^1.0.0" + +aws-ssl-profiles@^1.1.1: + version "1.1.1" + resolved "https://registry.npmmirror.com/aws-ssl-profiles/-/aws-ssl-profiles-1.1.1.tgz" + integrity sha512-+H+kuK34PfMaI9PNU/NSjBKL5hh/KDM9J72kwYeYEm0A8B1AC4fuCy3qsjnA7lxklgyXsB68yn8Z2xoZEjgwCQ== + +axe-core@^4.9.1: + version "4.9.1" + resolved "https://registry.npmmirror.com/axe-core/-/axe-core-4.9.1.tgz" + integrity sha512-QbUdXJVTpvUTHU7871ppZkdOLBeGUKBQWHkHrvN2V9IQWGMt61zf3B45BtzjxEJzYuj0JBjBZP/hmYS/R9pmAw== + +axios@^1.3.4: + version "1.7.2" + resolved "https://registry.npmmirror.com/axios/-/axios-1.7.2.tgz" + integrity sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw== + dependencies: + follow-redirects "^1.15.6" + form-data "^4.0.0" + proxy-from-env "^1.1.0" + +axobject-query@~3.1.1: + version "3.1.1" + resolved "https://registry.npmmirror.com/axobject-query/-/axobject-query-3.1.1.tgz" + integrity sha512-goKlv8DZrK9hUh975fnHzhNIO4jUnFCfv/dszV5VwUGDFjI6vQ2VwoyjYjYNEbBE8AH87TduWP5uyDR1D+Iteg== + dependencies: + deep-equal "^2.0.5" + +babel-plugin-macros@^3.1.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz" + integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== + dependencies: + "@babel/runtime" "^7.12.5" + cosmiconfig "^7.0.0" + resolve "^1.19.0" + +bail@^2.0.0: + version "2.0.2" + resolved "https://registry.npmmirror.com/bail/-/bail-2.0.2.tgz" + integrity sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw== + +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +base64-js@^1.3.0, base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.npmmirror.com/base64-js/-/base64-js-1.5.1.tgz" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +batch-processor@1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/batch-processor/-/batch-processor-1.0.0.tgz#75c95c32b748e0850d10c2b168f6bdbe9891ace8" + integrity sha512-xoLQD8gmmR32MeuBHgH0Tzd5PuSZx71ZsbhVxOCRbgktZEPe4SQy7s9Z50uPp0F/f7iw2XmkHN2xkgbMfckMDA== + +bayesian-changepoint@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/bayesian-changepoint/-/bayesian-changepoint-1.0.1.tgz" + integrity sha512-OhSHWfGiEcBtI46b5guJGmj6pJEjvyaXsRPCAQy5MPoVaDZ38poXmzVZLSIuw6VLQmZs58+uf5F9iFA4NVmTTA== + +big.js@^5.2.2: + version "5.2.2" + resolved "https://registry.npmmirror.com/big.js/-/big.js-5.2.2.tgz" + integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== + +bignumber.js@^9.0.0: + version "9.1.2" + resolved "https://registry.npmmirror.com/bignumber.js/-/bignumber.js-9.1.2.tgz" + integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug== + +binary-extensions@^2.0.0: + version "2.3.0" + resolved "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.3.0.tgz" + integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw== + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-2.0.1.tgz" + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== + dependencies: + balanced-match "^1.0.0" + +braces@^3.0.3, braces@~3.0.2: + version "3.0.3" + resolved "https://registry.npmmirror.com/braces/-/braces-3.0.3.tgz" + integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== + dependencies: + fill-range "^7.1.1" + +browserslist@^4.21.5: + version "4.23.1" + resolved "https://registry.npmmirror.com/browserslist/-/browserslist-4.23.1.tgz" + integrity sha512-TUfofFo/KsK/bWZ9TWQ5O26tsWW4Uhmt8IYklbnUa70udB6P2wA7w7o4PY4muaEPBQaAX+CEnmmIA41NVHtPVw== + dependencies: + caniuse-lite "^1.0.30001629" + electron-to-chromium "^1.4.796" + node-releases "^2.0.14" + update-browserslist-db "^1.0.16" + +bubblesets-js@^2.3.3: + version "2.3.3" + resolved "https://registry.npmmirror.com/bubblesets-js/-/bubblesets-js-2.3.3.tgz" + integrity sha512-7++8/mcahpmJyIGY+YSPG5o2FnTIeNgVx17eoFyEjzcTblpcMd8SSUtt67MlKYlj8mIh9/aYpY+1GvPoy6pViQ== + +buffer-equal-constant-time@1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz" + integrity sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA== + +buffer-from@^1.0.0: + version "1.1.2" + resolved "https://registry.npmmirror.com/buffer-from/-/buffer-from-1.1.2.tgz" + integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== + +buffer@^6: + version "6.0.3" + resolved "https://registry.npmmirror.com/buffer/-/buffer-6.0.3.tgz" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + +busboy@1.6.0, busboy@^1.0.0: + version "1.6.0" + resolved "https://registry.npmmirror.com/busboy/-/busboy-1.6.0.tgz" + integrity sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA== + dependencies: + streamsearch "^1.1.0" + +bytewise-core@^1.2.2: + version "1.2.3" + resolved "https://registry.npmmirror.com/bytewise-core/-/bytewise-core-1.2.3.tgz#3fb410c7e91558eb1ab22a82834577aa6bd61d42" + integrity sha512-nZD//kc78OOxeYtRlVk8/zXqTB4gf/nlguL1ggWA8FuchMyOxcyHR4QPQZMUmA7czC+YnaBrPUCubqAWe50DaA== + dependencies: + typewise-core "^1.2" + +bytewise@^1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/bytewise/-/bytewise-1.1.0.tgz#1d13cbff717ae7158094aa881b35d081b387253e" + integrity sha512-rHuuseJ9iQ0na6UDhnrRVDh8YnWVlU6xM3VH6q/+yHDeUH2zIhUzP+2/h3LIrhLDBtTqzWpE3p3tP/boefskKQ== + dependencies: + bytewise-core "^1.2.2" + typewise "^1.0.3" + +call-bind@^1.0.2, call-bind@^1.0.5, call-bind@^1.0.6, call-bind@^1.0.7, call-bind@~1.0.2: + version "1.0.7" + resolved "https://registry.npmmirror.com/call-bind/-/call-bind-1.0.7.tgz" + integrity sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w== + dependencies: + es-define-property "^1.0.0" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + set-function-length "^1.2.1" + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/callsites/-/callsites-3.1.0.tgz" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +camelcase-css@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/camelcase-css/-/camelcase-css-2.0.1.tgz" + integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA== + +camelcase@^1.0.2: + version "1.2.1" + resolved "https://registry.npmmirror.com/camelcase/-/camelcase-1.2.1.tgz" + integrity sha512-wzLkDa4K/mzI1OSITC+DUyjgIl/ETNHE9QvYgy6J6Jvqyyz4C0Xfd+lQhb19sX2jMpZV4IssUn0VDVmglV+s4g== + +camelize@^1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/camelize/-/camelize-1.0.1.tgz#89b7e16884056331a35d6b5ad064332c91daa6c3" + integrity sha512-dU+Tx2fsypxTgtLoE36npi3UqcjSSMNYfkqgmoEhtZrraP5VWq0K7FkWVTYa8eMPtnU/G2txVsfdCJTn9uzpuQ== + +caniuse-lite@^1.0.30001406, caniuse-lite@^1.0.30001464, caniuse-lite@^1.0.30001629: + version "1.0.30001636" + resolved "https://registry.npmmirror.com/caniuse-lite/-/caniuse-lite-1.0.30001636.tgz" + integrity sha512-bMg2vmr8XBsbL6Lr0UHXy/21m84FTxDLWn2FSqMd5PrlbMxwJlQnC2YWYxVgp66PZE+BBNF2jYQUBKCo1FDeZg== + +ccount@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/ccount/-/ccount-2.0.1.tgz" + integrity sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg== + +center-align@^0.1.1: + version "0.1.3" + resolved "https://registry.npmmirror.com/center-align/-/center-align-0.1.3.tgz" + integrity sha512-Baz3aNe2gd2LP2qk5U+sDk/m4oSuwSDcBfayTCTBoWpfIGO5XFxPmjILQII4NGiZjD6DoDI6kf7gKaxkf7s3VQ== + dependencies: + align-text "^0.1.3" + lazy-cache "^1.0.3" + +chalk@^1.1.1: + version "1.1.3" + resolved "https://registry.npmmirror.com/chalk/-/chalk-1.1.3.tgz" + integrity sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A== + dependencies: + ansi-styles "^2.2.1" + escape-string-regexp "^1.0.2" + has-ansi "^2.0.0" + strip-ansi "^3.0.0" + supports-color "^2.0.0" + +chalk@^2.4.2: + version "2.4.2" + resolved "https://registry.npmmirror.com/chalk/-/chalk-2.4.2.tgz" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^4.0.0: + version "4.1.2" + resolved "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +chalk@~5.3.0: + version "5.3.0" + resolved "https://registry.npmmirror.com/chalk/-/chalk-5.3.0.tgz#67c20a7ebef70e7f3970a01f90fa210cb6860385" + integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w== + +character-entities-html4@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/character-entities-html4/-/character-entities-html4-2.1.0.tgz#1f1adb940c971a4b22ba39ddca6b618dc6e56b2b" + integrity sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA== + +character-entities-legacy@^1.0.0: + version "1.1.4" + resolved "https://registry.npmmirror.com/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz" + integrity sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA== + +character-entities-legacy@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz#76bc83a90738901d7bc223a9e93759fdd560125b" + integrity sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ== + +character-entities@^1.0.0: + version "1.2.4" + resolved "https://registry.npmmirror.com/character-entities/-/character-entities-1.2.4.tgz" + integrity sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw== + +character-entities@^2.0.0: + version "2.0.2" + resolved "https://registry.npmmirror.com/character-entities/-/character-entities-2.0.2.tgz" + integrity sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ== + +character-reference-invalid@^1.0.0: + version "1.1.4" + resolved "https://registry.npmmirror.com/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz" + integrity sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg== + +character-reference-invalid@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz#85c66b041e43b47210faf401278abf808ac45cb9" + integrity sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw== + +charenc@0.0.2: + version "0.0.2" + resolved "https://registry.npmmirror.com/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" + integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== + +chokidar@^3.5.3: + version "3.6.0" + resolved "https://registry.npmmirror.com/chokidar/-/chokidar-3.6.0.tgz" + integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== + dependencies: + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" + optionalDependencies: + fsevents "~2.3.2" + +chroma-js@^2.1.2: + version "2.4.2" + resolved "https://registry.npmmirror.com/chroma-js/-/chroma-js-2.4.2.tgz" + integrity sha512-U9eDw6+wt7V8z5NncY2jJfZa+hUH8XEj8FQHgFJTrUFnJfXYf4Ml4adI2vXZOjqRDpFWtYVWypDfZwnJ+HIR4A== + +classcat@^5.0.3, classcat@^5.0.4: + version "5.0.5" + resolved "https://registry.npmmirror.com/classcat/-/classcat-5.0.5.tgz" + integrity sha512-JhZUT7JFcQy/EzW605k/ktHtncoo9vnyW/2GspNYwFlN1C/WmjuV/xtS04e9SOkL2sTdw0VAZ2UGCcQ9lR6p6w== + +classnames@2.x, classnames@^2.2.1, classnames@^2.2.3, classnames@^2.2.5, classnames@^2.2.6, classnames@^2.3.1, classnames@^2.3.2, classnames@^2.5.1: + version "2.5.1" + resolved "https://registry.npmmirror.com/classnames/-/classnames-2.5.1.tgz" + integrity sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow== + +cli-cursor@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/cli-cursor/-/cli-cursor-5.0.0.tgz#24a4831ecf5a6b01ddeb32fb71a4b2088b0dce38" + integrity sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw== + dependencies: + restore-cursor "^5.0.0" + +cli-truncate@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/cli-truncate/-/cli-truncate-4.0.0.tgz#6cc28a2924fee9e25ce91e973db56c7066e6172a" + integrity sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA== + dependencies: + slice-ansi "^5.0.0" + string-width "^7.0.0" + +client-only@0.0.1: + version "0.0.1" + resolved "https://registry.npmmirror.com/client-only/-/client-only-0.0.1.tgz" + integrity sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA== + +cliui@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/cliui/-/cliui-2.1.0.tgz" + integrity sha512-GIOYRizG+TGoc7Wgc1LiOTLare95R3mzKgoln+Q/lE4ceiYH19gUpl0l0Ffq4lJDEf3FxujMe6IBfOCs7pfqNA== + dependencies: + center-align "^0.1.1" + right-align "^0.1.1" + wordwrap "0.0.2" + +clsx@^1.0.4: + version "1.2.1" + resolved "https://registry.npmmirror.com/clsx/-/clsx-1.2.1.tgz" + integrity sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg== + +clsx@^2.0.0, clsx@^2.1.0: + version "2.1.1" + resolved "https://registry.npmmirror.com/clsx/-/clsx-2.1.1.tgz" + integrity sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA== + +color-blind@^0.1.1: + version "0.1.3" + resolved "https://registry.npmmirror.com/color-blind/-/color-blind-0.1.3.tgz" + integrity sha512-n65+lsZBF7UvN7Vpml2NmlH4zYppxRwZCRUg21BmTn1uV39+Tv6Dap8KdPZ2uRe7KybOe0jEalvfdvY9zJJlJw== + dependencies: + onecolor "^3.1.0" + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.npmmirror.com/color-convert/-/color-convert-1.9.3.tgz" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@1.1.3, color-name@^1.0.0: + version "1.1.3" + resolved "https://registry.npmmirror.com/color-name/-/color-name-1.1.3.tgz" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +color-string@^1.5.5, color-string@^1.9.0: + version "1.9.1" + resolved "https://registry.npmmirror.com/color-string/-/color-string-1.9.1.tgz" + integrity sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg== + dependencies: + color-name "^1.0.0" + simple-swizzle "^0.2.2" + +color@^4.2.3: + version "4.2.3" + resolved "https://registry.npmmirror.com/color/-/color-4.2.3.tgz#d781ecb5e57224ee43ea9627560107c0e0c6463a" + integrity sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A== + dependencies: + color-convert "^2.0.1" + color-string "^1.9.0" + +colorette@^2.0.20: + version "2.0.20" + resolved "https://registry.npmmirror.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a" + integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w== + +combined-stream@^1.0.8: + version "1.0.8" + resolved "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + +comlink@^4.3.1, comlink@^4.4.1: + version "4.4.1" + resolved "https://registry.npmmirror.com/comlink/-/comlink-4.4.1.tgz" + integrity sha512-+1dlx0aY5Jo1vHy/tSsIGpSkN4tS9rZSW8FIhG0JH/crs9wwweswIo/POr451r7bZww3hFbPAKnTpimzL/mm4Q== + +comma-separated-tokens@^1.0.0: + version "1.0.8" + resolved "https://registry.npmmirror.com/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz" + integrity sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw== + +comma-separated-tokens@^2.0.0: + version "2.0.3" + resolved "https://registry.npmmirror.com/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz" + integrity sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg== + +commander@2, commander@^2.19.0: + version "2.20.3" + resolved "https://registry.npmmirror.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" + integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== + +commander@^4.0.0: + version "4.1.1" + resolved "https://registry.npmmirror.com/commander/-/commander-4.1.1.tgz" + integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== + +commander@~12.1.0: + version "12.1.0" + resolved "https://registry.npmmirror.com/commander/-/commander-12.1.0.tgz#01423b36f501259fdaac4d0e4d60c96c991585d3" + integrity sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA== + +compute-scroll-into-view@^3.0.2: + version "3.1.0" + resolved "https://registry.npmmirror.com/compute-scroll-into-view/-/compute-scroll-into-view-3.1.0.tgz" + integrity sha512-rj8l8pD4bJ1nx+dAkMhV1xB5RuZEyVysfxJqB1pRchh1KVvwOv9b7CGB8ZfjTImVv2oF+sYMUkMZq6Na5Ftmbg== + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.npmmirror.com/concat-map/-/concat-map-0.0.1.tgz" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== + +concat-stream@^1.5.2: + version "1.6.2" + resolved "https://registry.npmmirror.com/concat-stream/-/concat-stream-1.6.2.tgz" + integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== + dependencies: + buffer-from "^1.0.0" + inherits "^2.0.3" + readable-stream "^2.2.2" + typedarray "^0.0.6" + +concaveman@*: + version "1.2.1" + resolved "https://registry.npmmirror.com/concaveman/-/concaveman-1.2.1.tgz#47d20b4521125c15fabf453653c2696d9ee41e0b" + integrity sha512-PwZYKaM/ckQSa8peP5JpVr7IMJ4Nn/MHIaWUjP4be+KoZ7Botgs8seAZGpmaOM+UZXawcdYRao/px9ycrCihHw== + dependencies: + point-in-polygon "^1.1.0" + rbush "^3.0.1" + robust-predicates "^2.0.4" + tinyqueue "^2.0.3" + +contour_plot@^0.0.1: + version "0.0.1" + resolved "https://registry.npmmirror.com/contour_plot/-/contour_plot-0.0.1.tgz" + integrity sha512-Nil2HI76Xux6sVGORvhSS8v66m+/h5CwFkBJDO+U5vWaMdNC0yXNCsGDPbzPhvqOEU5koebhdEvD372LI+IyLw== + +convert-source-map@^1.5.0: + version "1.9.0" + resolved "https://registry.npmmirror.com/convert-source-map/-/convert-source-map-1.9.0.tgz" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== + +cookie@^0.5.0: + version "0.5.0" + resolved "https://registry.npmmirror.com/cookie/-/cookie-0.5.0.tgz" + integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== + +cookie@^0.6.0: + version "0.6.0" + resolved "https://registry.npmmirror.com/cookie/-/cookie-0.6.0.tgz" + integrity sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw== + +cookies-next@^4.0.0: + version "4.2.1" + resolved "https://registry.npmmirror.com/cookies-next/-/cookies-next-4.2.1.tgz" + integrity sha512-qsjtZ8TLlxCSX2JphMQNhkm3V3zIMQ05WrLkBKBwu50npBbBfiZWIdmSMzBGcdGKfMK19E0PIitTfRFAdMGHXg== + dependencies: + "@types/cookie" "^0.6.0" + cookie "^0.6.0" + +copy-to-clipboard@^3.3.3: + version "3.3.3" + resolved "https://registry.npmmirror.com/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz" + integrity sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA== + dependencies: + toggle-selection "^1.0.6" + +copy-webpack-plugin@^12.0.2: + version "12.0.2" + resolved "https://registry.npmmirror.com/copy-webpack-plugin/-/copy-webpack-plugin-12.0.2.tgz" + integrity sha512-SNwdBeHyII+rWvee/bTnAYyO8vfVdcSTud4EIb6jcZ8inLeWucJE0DnxXQBjlQ5zlteuuvooGQy3LIyGxhvlOA== + dependencies: + fast-glob "^3.3.2" + glob-parent "^6.0.1" + globby "^14.0.0" + normalize-path "^3.0.0" + schema-utils "^4.2.0" + serialize-javascript "^6.0.2" + +core-util-is@~1.0.0: + version "1.0.3" + resolved "https://registry.npmmirror.com/core-util-is/-/core-util-is-1.0.3.tgz" + integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== + +cosmiconfig@^7.0.0: + version "7.1.0" + resolved "https://registry.npmmirror.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz" + integrity sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA== + dependencies: + "@types/parse-json" "^4.0.0" + import-fresh "^3.2.1" + parse-json "^5.0.0" + path-type "^4.0.0" + yaml "^1.10.0" + +cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: + version "7.0.3" + resolved "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.3.tgz" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +crypt@0.0.2: + version "0.0.2" + resolved "https://registry.npmmirror.com/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" + integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== + +css-color-keywords@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/css-color-keywords/-/css-color-keywords-1.0.0.tgz#fea2616dc676b2962686b3af8dbdbe180b244e05" + integrity sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg== + +css-to-react-native@3.2.0: + version "3.2.0" + resolved "https://registry.npmmirror.com/css-to-react-native/-/css-to-react-native-3.2.0.tgz#cdd8099f71024e149e4f6fe17a7d46ecd55f1e32" + integrity sha512-e8RKaLXMOFii+02mOlqwjbD00KSEKqblnpO9e++1aXS1fPQOpS1YoqdVHBqPjHNoxeF2mimzVqawm2KCbEdtHQ== + dependencies: + camelize "^1.0.0" + css-color-keywords "^1.0.0" + postcss-value-parser "^4.0.2" + +csscolorparser@~1.0.3: + version "1.0.3" + resolved "https://registry.npmmirror.com/csscolorparser/-/csscolorparser-1.0.3.tgz#b34f391eea4da8f3e98231e2ccd8df9c041f171b" + integrity sha512-umPSgYwZkdFoUrH5hIq5kf0wPSXiro51nPw0j2K/c83KflkPSTBGMz6NJvMB+07VlL0y7VPo6QJcDjcgKTTm3w== + +cssesc@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/cssesc/-/cssesc-3.0.0.tgz" + integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== + +csstype@3.1.3, csstype@^3.0.2, csstype@^3.0.8, csstype@^3.1.2, csstype@^3.1.3: + version "3.1.3" + resolved "https://registry.npmmirror.com/csstype/-/csstype-3.1.3.tgz" + integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw== + +cytoscape-euler@^1.2.2: + version "1.2.3" + resolved "https://registry.npmmirror.com/cytoscape-euler/-/cytoscape-euler-1.2.3.tgz#934b4ac4434460500ed6ea1e08d668d447f6774b" + integrity sha512-HLdmjmO9br5SMQK+SPt5Hfn2JC6MLpvBkLNBxQHsl30bLPnWEHdaTlMapWP2HZR9G56+DuELf9FbxjEGYFWIMA== + +cytoscape@^3.29.2: + version "3.30.2" + resolved "https://registry.npmmirror.com/cytoscape/-/cytoscape-3.30.2.tgz#94149707fb6547a55e3b44f03ffe232706212161" + integrity sha512-oICxQsjW8uSaRmn4UK/jkczKOqTrVqt5/1WL0POiJUT2EKNc9STM4hYFHv917yu55aTBMFNRzymlJhVAiWPCxw== + +d3-array@2, d3-array@^1.2.0, d3-array@^2, d3-array@^2.5.0, d3-array@^3.2.4: + version "2.12.1" + resolved "https://registry.npmmirror.com/d3-array/-/d3-array-2.12.1.tgz#e20b41aafcdffdf5d50928004ececf815a465e81" + integrity sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ== + dependencies: + internmap "^1.0.0" + +d3-binarytree@1: + version "1.0.2" + resolved "https://registry.npmmirror.com/d3-binarytree/-/d3-binarytree-1.0.2.tgz" + integrity sha512-cElUNH+sHu95L04m92pG73t2MEJXKu+GeKUN1TJkFsu93E5W8E9Sc3kHEGJKgenGvj19m6upSn2EunvMgMD2Yw== + +d3-collection@1: + version "1.0.7" + resolved "https://registry.npmmirror.com/d3-collection/-/d3-collection-1.0.7.tgz#349bd2aa9977db071091c13144d5e4f16b5b310e" + integrity sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A== + +d3-color@1, "d3-color@1 - 2", "d3-color@1 - 3", d3-color@2, d3-color@^1.4.0, d3-color@^3.1.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/d3-color/-/d3-color-2.0.0.tgz#8d625cab42ed9b8f601a1760a389f7ea9189d62e" + integrity sha512-SPXi0TSKPD4g9tw0NMZFnR95XVgUZiBH+uUTqQuDu1OsE2zomHU7ho0FISciaPvosimixwHFl3WHLGabv6dDgQ== + +"d3-dispatch@1 - 2", "d3-dispatch@1 - 3", d3-dispatch@2: + version "2.0.0" + resolved "https://registry.npmmirror.com/d3-dispatch/-/d3-dispatch-2.0.0.tgz#8a18e16f76dd3fcaef42163c97b926aa9b55e7cf" + integrity sha512-S/m2VsXI7gAti2pBoLClFFTMOO1HTtT0j99AuXLoGFKO6deHDdnv6ZGTxSTTUTgO1zVcv82fCOtDjYK4EECmWA== + +"d3-drag@2 - 3", d3-drag@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/d3-drag/-/d3-drag-3.0.0.tgz" + integrity sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg== + dependencies: + d3-dispatch "1 - 3" + d3-selection "3" + +d3-dsv@2, d3-dsv@^1.1.1, d3-dsv@^3.0.1: + version "2.0.0" + resolved "https://registry.npmmirror.com/d3-dsv/-/d3-dsv-2.0.0.tgz#b37b194b6df42da513a120d913ad1be22b5fe7c5" + integrity sha512-E+Pn8UJYx9mViuIUkoc93gJGGYut6mSDKy2+XaPwccwkRGlR+LO97L2VCCRjQivTwLHkSnAJG7yo00BWY6QM+w== + dependencies: + commander "2" + iconv-lite "0.4" + rw "1" + +"d3-ease@1 - 3", d3-ease@^1.0.5: + version "1.0.7" + resolved "https://registry.npmmirror.com/d3-ease/-/d3-ease-1.0.7.tgz" + integrity sha512-lx14ZPYkhNx0s/2HX5sLFUI3mbasHjSSpwO/KaaNACweVwxUruKyWVcb293wMv1RqTPZyZ8kSZ2NogUZNcLOFQ== + +d3-force-3d@^3.0.5: + version "3.0.5" + resolved "https://registry.npmmirror.com/d3-force-3d/-/d3-force-3d-3.0.5.tgz" + integrity sha512-tdwhAhoTYZY/a6eo9nR7HP3xSW/C6XvJTbeRpR92nlPzH6OiE+4MliN9feuSFd0tPtEUo+191qOhCTWx3NYifg== + dependencies: + d3-binarytree "1" + d3-dispatch "1 - 3" + d3-octree "1" + d3-quadtree "1 - 3" + d3-timer "1 - 3" + +d3-force@2, d3-force@^3.0.0: + version "2.1.1" + resolved "https://registry.npmmirror.com/d3-force/-/d3-force-2.1.1.tgz#f20ccbf1e6c9e80add1926f09b51f686a8bc0937" + integrity sha512-nAuHEzBqMvpFVMf9OX75d00OxvOXdxY+xECIXjW6Gv8BRrXu6gAWbv/9XKrvfJ5i5DCokDW7RYE50LRoK092ew== + dependencies: + d3-dispatch "1 - 2" + d3-quadtree "1 - 2" + d3-timer "1 - 2" + +d3-format@1, d3-format@2, d3-format@^3.1.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/d3-format/-/d3-format-2.0.0.tgz#a10bcc0f986c372b729ba447382413aabf5b0767" + integrity sha512-Ab3S6XuE/Q+flY96HXT0jOXcM4EAClYFnRGY5zsjRGNy6qCYrQsMffs7cV5Q9xejb35zxW5hf/guKw34kvIKsA== + +d3-geo@1.7.1, d3-geo@2, d3-geo@^3.1.0: + version "2.0.2" + resolved "https://registry.npmmirror.com/d3-geo/-/d3-geo-2.0.2.tgz#c065c1b71fe8c5f1be657e5f43d9bdd010383c40" + integrity sha512-8pM1WGMLGFuhq9S+FpPURxic+gKzjluCD/CHTuUF3mXMeiCo0i6R0tO1s4+GArRFde96SLcW/kOFRjoAosPsFA== + dependencies: + d3-array "^2.5.0" + +d3-hexbin@^0.2.2: + version "0.2.2" + resolved "https://registry.npmmirror.com/d3-hexbin/-/d3-hexbin-0.2.2.tgz#9c5837dacfd471ab05337a9e91ef10bfc4f98831" + integrity sha512-KS3fUT2ReD4RlGCjvCEm1RgMtp2NFZumdMu4DBzQK8AZv3fXRM6Xm8I4fSU07UXvH4xxg03NwWKWdvxfS/yc4w== + +d3-hierarchy@2, d3-hierarchy@^3.1.2: + version "2.0.0" + resolved "https://registry.npmmirror.com/d3-hierarchy/-/d3-hierarchy-2.0.0.tgz#dab88a58ca3e7a1bc6cab390e89667fcc6d20218" + integrity sha512-SwIdqM3HxQX2214EG9GTjgmCc/mbSx4mQBn+DuEETubhOw6/U3fmnji4uCVrmzOydMHSO1nZle5gh6HB/wdOzw== + +d3-interpolate@1, d3-interpolate@1.4.0, d3-interpolate@^1.3.2: + version "1.4.0" + resolved "https://registry.npmmirror.com/d3-interpolate/-/d3-interpolate-1.4.0.tgz#526e79e2d80daa383f9e0c1c1c7dcc0f0583e987" + integrity sha512-V9znK0zc3jOPV4VD2zZn0sDhZU3WAE2bmlxdIwwQPPzPjvyLkd8B3JUVdS1IDUFDkWZ72c9qnv1GK2ZagTZ8EA== + dependencies: + d3-color "1" + +"d3-interpolate@1 - 2": + version "2.0.1" + resolved "https://registry.npmmirror.com/d3-interpolate/-/d3-interpolate-2.0.1.tgz#98be499cfb8a3b94d4ff616900501a64abc91163" + integrity sha512-c5UhwwTs/yybcmTpAVqwSFl6vrQ8JZJoT5F7xNFK9pymv5C0Ymcc9/LIJHtYIggg/yS9YHw8i8O8tgb9pupjeQ== + dependencies: + d3-color "1 - 2" + +"d3-interpolate@1 - 3", d3-interpolate@^3.0.1: + version "3.0.1" + resolved "https://registry.npmmirror.com/d3-interpolate/-/d3-interpolate-3.0.1.tgz" + integrity sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g== + dependencies: + d3-color "1 - 3" + +d3-octree@1, d3-octree@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/d3-octree/-/d3-octree-1.0.2.tgz" + integrity sha512-Qxg4oirJrNXauiuC94uKMbgxwnhdda9xRLl9ihq45srlJ4Ga3CSgqGcAL8iW7N5CIv4Oz8x3E734ulxyvHPvwA== + +"d3-path@1 - 2", d3-path@2, d3-path@^3.1.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/d3-path/-/d3-path-2.0.0.tgz#55d86ac131a0548adae241eebfb56b4582dd09d8" + integrity sha512-ZwZQxKhBnv9yHaiWd6ZU4x5BtCQ7pXszEV9CU6kRgwIQVQGLMv1oiL4M+MK/n79sYzsj+gcgpPQSctJUsLN7fA== + +"d3-quadtree@1 - 2", "d3-quadtree@1 - 3", d3-quadtree@2, d3-quadtree@^3.0.1: + version "2.0.0" + resolved "https://registry.npmmirror.com/d3-quadtree/-/d3-quadtree-2.0.0.tgz#edbad045cef88701f6fee3aee8e93fb332d30f9d" + integrity sha512-b0Ed2t1UUalJpc3qXzKi+cPGxeXRr4KU9YSlocN74aTzp6R/Ud43t79yLLqxHRWZfsvWXmbDWPpoENK1K539xw== + +d3-scale-chromatic@2, d3-scale-chromatic@^3.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/d3-scale-chromatic/-/d3-scale-chromatic-2.0.0.tgz#c13f3af86685ff91323dc2f0ebd2dabbd72d8bab" + integrity sha512-LLqy7dJSL8yDy7NRmf6xSlsFZ6zYvJ4BcWFE4zBrOPnQERv9zj24ohnXKRbyi9YHnYV+HN1oEO3iFK971/gkzA== + dependencies: + d3-color "1 - 2" + d3-interpolate "1 - 2" + +d3-scale@^2: + version "2.2.2" + resolved "https://registry.npmmirror.com/d3-scale/-/d3-scale-2.2.2.tgz#4e880e0b2745acaaddd3ede26a9e908a9e17b81f" + integrity sha512-LbeEvGgIb8UMcAa0EATLNX0lelKWGYDQiPdHj+gLblGVhGLyNbaCn3EvrJf0A3Y/uOOU5aD6MTh5ZFCdEwGiCw== + dependencies: + d3-array "^1.2.0" + d3-collection "1" + d3-format "1" + d3-interpolate "1" + d3-time "1" + d3-time-format "2" + +"d3-selection@2 - 3", d3-selection@3, d3-selection@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/d3-selection/-/d3-selection-3.0.0.tgz" + integrity sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ== + +d3-shape@2, d3-shape@^3.2.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/d3-shape/-/d3-shape-2.1.0.tgz#3b6a82ccafbc45de55b57fcf956c584ded3b666f" + integrity sha512-PnjUqfM2PpskbSLTJvAzp2Wv4CZsnAgTfcVRTwW03QR3MkXF8Uo7B1y/lWkAsmbKwuecto++4NlsYcvYpXpTHA== + dependencies: + d3-path "1 - 2" + +d3-time-format@2: + version "2.3.0" + resolved "https://registry.npmmirror.com/d3-time-format/-/d3-time-format-2.3.0.tgz#107bdc028667788a8924ba040faf1fbccd5a7850" + integrity sha512-guv6b2H37s2Uq/GefleCDtbe0XZAuy7Wa49VGkPVPMfLL9qObgBST3lEHJBMUp8S7NdLQAGIvr2KXk8Hc98iKQ== + dependencies: + d3-time "1" + +d3-time@1: + version "1.1.0" + resolved "https://registry.npmmirror.com/d3-time/-/d3-time-1.1.0.tgz#b1e19d307dae9c900b7e5b25ffc5dcc249a8a0f1" + integrity sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA== + +"d3-timer@1 - 2", "d3-timer@1 - 3", d3-timer@2, d3-timer@^1.0.9: + version "2.0.0" + resolved "https://registry.npmmirror.com/d3-timer/-/d3-timer-2.0.0.tgz#055edb1d170cfe31ab2da8968deee940b56623e6" + integrity sha512-TO4VLh0/420Y/9dO3+f9abDEFYeCUr2WZRlxJvbp4HPTQcSylXNiL6yZa9FIUvV1yRiFufl1bszTCLDqv9PWNA== + +"d3-transition@2 - 3": + version "3.0.1" + resolved "https://registry.npmmirror.com/d3-transition/-/d3-transition-3.0.1.tgz" + integrity sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w== + dependencies: + d3-color "1 - 3" + d3-dispatch "1 - 3" + d3-ease "1 - 3" + d3-interpolate "1 - 3" + d3-timer "1 - 3" + +d3-voronoi@1.1.2: + version "1.1.2" + resolved "https://registry.npmmirror.com/d3-voronoi/-/d3-voronoi-1.1.2.tgz#1687667e8f13a2d158c80c1480c5a29cb0d8973c" + integrity sha512-RhGS1u2vavcO7ay7ZNAPo4xeDh/VYeGof3x5ZLJBQgYhLegxr3s5IykvWmJ94FTU6mcbtp4sloqZ54mP6R4Utw== + +d3-voronoi@^1.1.4: + version "1.1.4" + resolved "https://registry.npmmirror.com/d3-voronoi/-/d3-voronoi-1.1.4.tgz" + integrity sha512-dArJ32hchFsrQ8uMiTBLq256MpnZjeuBtdHpaDlYuQyjU0CVzCJl/BVW+SkszaAeH95D/8gxqAhgx0ouAWAfRg== + +d3-zoom@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/d3-zoom/-/d3-zoom-3.0.0.tgz" + integrity sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw== + dependencies: + d3-dispatch "1 - 3" + d3-drag "2 - 3" + d3-interpolate "1 - 3" + d3-selection "2 - 3" + d3-transition "2 - 3" + +dagre@^0.8.5: + version "0.8.5" + resolved "https://registry.npmmirror.com/dagre/-/dagre-0.8.5.tgz" + integrity sha512-/aTqmnRta7x7MCCpExk7HQL2O4owCT2h8NT//9I1OQ9vt29Pa0BzSAkR5lwFUcQ7491yVi/3CXU9jQ5o0Mn2Sw== + dependencies: + graphlib "^2.1.8" + lodash "^4.17.15" + +damerau-levenshtein@^1.0.8: + version "1.0.8" + resolved "https://registry.npmmirror.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz" + integrity sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA== + +data-view-buffer@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/data-view-buffer/-/data-view-buffer-1.0.1.tgz" + integrity sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA== + dependencies: + call-bind "^1.0.6" + es-errors "^1.3.0" + is-data-view "^1.0.1" + +data-view-byte-length@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz" + integrity sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ== + dependencies: + call-bind "^1.0.7" + es-errors "^1.3.0" + is-data-view "^1.0.1" + +data-view-byte-offset@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz" + integrity sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA== + dependencies: + call-bind "^1.0.6" + es-errors "^1.3.0" + is-data-view "^1.0.1" + +dayjs@^1.11.11, dayjs@^1.9.1: + version "1.11.11" + resolved "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.11.tgz" + integrity sha512-okzr3f11N6WuqYtZSvm+F776mB41wRZMhKP+hc34YdW+KmtYYK9iqvHSwo2k9FEH3fhGXvOPV6yz2IcSrfRUDg== + +dayjs@^1.11.12: + version "1.11.13" + resolved "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.13.tgz#92430b0139055c3ebb60150aa13e860a4b5a366c" + integrity sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg== + +debug@4, debug@^4.0.0, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4: + version "4.3.5" + resolved "https://registry.npmmirror.com/debug/-/debug-4.3.5.tgz" + integrity sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg== + dependencies: + ms "2.1.2" + +debug@^3.2.7: + version "3.2.7" + resolved "https://registry.npmmirror.com/debug/-/debug-3.2.7.tgz" + integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== + dependencies: + ms "^2.1.1" + +debug@^4.3.5, debug@~4.3.6: + version "4.3.6" + resolved "https://registry.npmmirror.com/debug/-/debug-4.3.6.tgz#2ab2c38fbaffebf8aa95fdfe6d88438c7a13c52b" + integrity sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg== + dependencies: + ms "2.1.2" + +decamelize@^1.0.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/decamelize/-/decamelize-1.2.0.tgz" + integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== + +decimal.js@^10.3.1: + version "10.4.3" + resolved "https://registry.npmmirror.com/decimal.js/-/decimal.js-10.4.3.tgz" + integrity sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA== + +decode-named-character-reference@^1.0.0: + version "1.0.2" + resolved "https://registry.npmmirror.com/decode-named-character-reference/-/decode-named-character-reference-1.0.2.tgz" + integrity sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg== + dependencies: + character-entities "^2.0.0" + +deep-equal@1.x, deep-equal@^1.0.0, deep-equal@~1.1.1: + version "1.1.2" + resolved "https://registry.npmmirror.com/deep-equal/-/deep-equal-1.1.2.tgz" + integrity sha512-5tdhKF6DbU7iIzrIOa1AOUt39ZRm13cmL1cGEh//aqR8x9+tNfbywRf0n5FD/18OKMdo7DNEtrX2t22ZAkI+eg== + dependencies: + is-arguments "^1.1.1" + is-date-object "^1.0.5" + is-regex "^1.1.4" + object-is "^1.1.5" + object-keys "^1.1.1" + regexp.prototype.flags "^1.5.1" + +deep-equal@^2.0.5: + version "2.2.3" + resolved "https://registry.npmmirror.com/deep-equal/-/deep-equal-2.2.3.tgz" + integrity sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA== + dependencies: + array-buffer-byte-length "^1.0.0" + call-bind "^1.0.5" + es-get-iterator "^1.1.3" + get-intrinsic "^1.2.2" + is-arguments "^1.1.1" + is-array-buffer "^3.0.2" + is-date-object "^1.0.5" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.2" + isarray "^2.0.5" + object-is "^1.1.5" + object-keys "^1.1.1" + object.assign "^4.1.4" + regexp.prototype.flags "^1.5.1" + side-channel "^1.0.4" + which-boxed-primitive "^1.0.2" + which-collection "^1.0.1" + which-typed-array "^1.1.13" + +deep-is@^0.1.3: + version "0.1.4" + resolved "https://registry.npmmirror.com/deep-is/-/deep-is-0.1.4.tgz" + integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== + +define-data-property@^1.0.1, define-data-property@^1.1.1, define-data-property@^1.1.4: + version "1.1.4" + resolved "https://registry.npmmirror.com/define-data-property/-/define-data-property-1.1.4.tgz" + integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== + dependencies: + es-define-property "^1.0.0" + es-errors "^1.3.0" + gopd "^1.0.1" + +define-properties@^1.1.3, define-properties@^1.2.0, define-properties@^1.2.1: + version "1.2.1" + resolved "https://registry.npmmirror.com/define-properties/-/define-properties-1.2.1.tgz" + integrity sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg== + dependencies: + define-data-property "^1.0.1" + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + +defined@~1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/defined/-/defined-1.0.1.tgz" + integrity sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q== + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz" + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== + +denque@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/denque/-/denque-2.1.0.tgz" + integrity sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw== + +density-clustering@1.3.0: + version "1.3.0" + resolved "https://registry.npmmirror.com/density-clustering/-/density-clustering-1.3.0.tgz#dc9f59c8f0ab97e1624ac64930fd3194817dcac5" + integrity sha512-icpmBubVTwLnsaor9qH/4tG5+7+f61VcqMN3V3pm9sxxSCt2Jcs0zWOgwZW9ARJYaKD3FumIgHiMOcIMRRAzFQ== + +dequal@^2.0.0: + version "2.0.3" + resolved "https://registry.npmmirror.com/dequal/-/dequal-2.0.3.tgz" + integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== + +detect-browser@^5.1.0: + version "5.3.0" + resolved "https://registry.npmmirror.com/detect-browser/-/detect-browser-5.3.0.tgz" + integrity sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w== + +detect-indent@^7.0.1: + version "7.0.1" + resolved "https://registry.npmmirror.com/detect-indent/-/detect-indent-7.0.1.tgz#cbb060a12842b9c4d333f1cac4aa4da1bb66bc25" + integrity sha512-Mc7QhQ8s+cLrnUfU/Ji94vG/r8M26m8f++vyres4ZoojaRDpZ1eSIh/EpzLNwlWuvzSZ3UbDFspjFvTDXe6e/g== + +detect-newline@^4.0.0: + version "4.0.1" + resolved "https://registry.npmmirror.com/detect-newline/-/detect-newline-4.0.1.tgz#fcefdb5713e1fb8cb2839b8b6ee22e6716ab8f23" + integrity sha512-qE3Veg1YXzGHQhlA6jzebZN2qVf6NX+A7m7qlhCGG30dJixrAQhYOsJjsnBjJkCSmuOPpCk30145fr8FV0bzog== + +devlop@^1.0.0, devlop@^1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/devlop/-/devlop-1.1.0.tgz#4db7c2ca4dc6e0e834c30be70c94bbc976dc7018" + integrity sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA== + dependencies: + dequal "^2.0.0" + +didyoumean@^1.2.2: + version "1.2.2" + resolved "https://registry.npmmirror.com/didyoumean/-/didyoumean-1.2.2.tgz" + integrity sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw== + +dir-glob@^3.0.1: + version "3.0.1" + resolved "https://registry.npmmirror.com/dir-glob/-/dir-glob-3.0.1.tgz" + integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== + dependencies: + path-type "^4.0.0" + +discontinuous-range@1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/discontinuous-range/-/discontinuous-range-1.0.0.tgz" + integrity sha512-c68LpLbO+7kP/b1Hr1qs8/BJ09F5khZGTxqxZuhzxpmwJKOgRFHJWIb9/KmqnqHhLdO55aOxFH/EGBvUQbL/RQ== + +dlv@^1.1.3: + version "1.1.3" + resolved "https://registry.npmmirror.com/dlv/-/dlv-1.1.3.tgz" + integrity sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA== + +doctrine@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/doctrine/-/doctrine-2.1.0.tgz" + integrity sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw== + dependencies: + esutils "^2.0.2" + +doctrine@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/doctrine/-/doctrine-3.0.0.tgz" + integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== + dependencies: + esutils "^2.0.2" + +dom-helpers@^5.0.1, dom-helpers@^5.1.3: + version "5.2.1" + resolved "https://registry.npmmirror.com/dom-helpers/-/dom-helpers-5.2.1.tgz" + integrity sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA== + dependencies: + "@babel/runtime" "^7.8.7" + csstype "^3.0.2" + +dotignore@~0.1.2: + version "0.1.2" + resolved "https://registry.npmmirror.com/dotignore/-/dotignore-0.1.2.tgz" + integrity sha512-UGGGWfSauusaVJC+8fgV+NVvBXkCTmVv7sk6nojDZZvuOUNGUy0Zk4UpHQD6EDjS0jpBwcACvH4eofvyzBcRDw== + dependencies: + minimatch "^3.0.4" + +dottie@^2.0.6: + version "2.0.6" + resolved "https://registry.npmmirror.com/dottie/-/dottie-2.0.6.tgz" + integrity sha512-iGCHkfUc5kFekGiqhe8B/mdaurD+lakO9txNnTvKtA6PISrw86LgqHvRzWYPyoE2Ph5aMIrCw9/uko6XHTKCwA== + +earcut@^2.0.0, earcut@^2.1.0, earcut@^2.2.1, earcut@^2.2.2, earcut@^2.2.4: + version "2.2.4" + resolved "https://registry.npmmirror.com/earcut/-/earcut-2.2.4.tgz#6d02fd4d68160c114825d06890a92ecaae60343a" + integrity sha512-/pjZsA1b4RPHbeWZQn66SWS8nZZWLQQ23oE3Eam7aroEFGEvwKAsJfZ9ytiEMycfzXWpca4FA9QIOehf7PocBQ== + +eastasianwidth@^0.2.0: + version "0.2.0" + resolved "https://registry.npmmirror.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz" + integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== + +ecdsa-sig-formatter@1.0.11, ecdsa-sig-formatter@^1.0.11: + version "1.0.11" + resolved "https://registry.npmmirror.com/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz" + integrity sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ== + dependencies: + safe-buffer "^5.0.1" + +electron-to-chromium@^1.4.796: + version "1.4.808" + resolved "https://registry.npmmirror.com/electron-to-chromium/-/electron-to-chromium-1.4.808.tgz" + integrity sha512-0ItWyhPYnww2VOuCGF4s1LTfbrdAV2ajy/TN+ZTuhR23AHI6rWHCrBXJ/uxoXOvRRqw8qjYVrG81HFI7x/2wdQ== + +element-resize-detector@^1.2.4: + version "1.2.4" + resolved "https://registry.npmmirror.com/element-resize-detector/-/element-resize-detector-1.2.4.tgz#3e6c5982dd77508b5fa7e6d5c02170e26325c9b1" + integrity sha512-Fl5Ftk6WwXE0wqCgNoseKWndjzZlDCwuPTcoVZfCP9R3EHQF8qUtr3YUPNETegRBOKqQKPW3n4kiIWngGi8tKg== + dependencies: + batch-processor "1.0.0" + +emoji-regex@^10.3.0: + version "10.4.0" + resolved "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-10.4.0.tgz#03553afea80b3975749cfcb36f776ca268e413d4" + integrity sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw== + +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + +emoji-regex@^9.2.2: + version "9.2.2" + resolved "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-9.2.2.tgz" + integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== + +emojis-list@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/emojis-list/-/emojis-list-3.0.0.tgz" + integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q== + +enhanced-resolve@^5.10.0, enhanced-resolve@^5.12.0, enhanced-resolve@^5.15.0: + version "5.17.1" + resolved "https://registry.npmmirror.com/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz" + integrity sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg== + dependencies: + graceful-fs "^4.2.4" + tapable "^2.2.0" + +entities@^4.4.0: + version "4.5.0" + resolved "https://registry.npmmirror.com/entities/-/entities-4.5.0.tgz" + integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw== + +environment@^1.0.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/environment/-/environment-1.1.0.tgz#8e86c66b180f363c7ab311787e0259665f45a9f1" + integrity sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q== + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.npmmirror.com/error-ex/-/error-ex-1.3.2.tgz" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + +es-abstract@^1.17.5, es-abstract@^1.22.1, es-abstract@^1.22.3, es-abstract@^1.23.0, es-abstract@^1.23.1, es-abstract@^1.23.2, es-abstract@^1.23.3: + version "1.23.3" + resolved "https://registry.npmmirror.com/es-abstract/-/es-abstract-1.23.3.tgz" + integrity sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A== + dependencies: + array-buffer-byte-length "^1.0.1" + arraybuffer.prototype.slice "^1.0.3" + available-typed-arrays "^1.0.7" + call-bind "^1.0.7" + data-view-buffer "^1.0.1" + data-view-byte-length "^1.0.1" + data-view-byte-offset "^1.0.0" + es-define-property "^1.0.0" + es-errors "^1.3.0" + es-object-atoms "^1.0.0" + es-set-tostringtag "^2.0.3" + es-to-primitive "^1.2.1" + function.prototype.name "^1.1.6" + get-intrinsic "^1.2.4" + get-symbol-description "^1.0.2" + globalthis "^1.0.3" + gopd "^1.0.1" + has-property-descriptors "^1.0.2" + has-proto "^1.0.3" + has-symbols "^1.0.3" + hasown "^2.0.2" + internal-slot "^1.0.7" + is-array-buffer "^3.0.4" + is-callable "^1.2.7" + is-data-view "^1.0.1" + is-negative-zero "^2.0.3" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.3" + is-string "^1.0.7" + is-typed-array "^1.1.13" + is-weakref "^1.0.2" + object-inspect "^1.13.1" + object-keys "^1.1.1" + object.assign "^4.1.5" + regexp.prototype.flags "^1.5.2" + safe-array-concat "^1.1.2" + safe-regex-test "^1.0.3" + string.prototype.trim "^1.2.9" + string.prototype.trimend "^1.0.8" + string.prototype.trimstart "^1.0.8" + typed-array-buffer "^1.0.2" + typed-array-byte-length "^1.0.1" + typed-array-byte-offset "^1.0.2" + typed-array-length "^1.0.6" + unbox-primitive "^1.0.2" + which-typed-array "^1.1.15" + +es-define-property@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/es-define-property/-/es-define-property-1.0.0.tgz" + integrity sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ== + dependencies: + get-intrinsic "^1.2.4" + +es-errors@^1.2.1, es-errors@^1.3.0: + version "1.3.0" + resolved "https://registry.npmmirror.com/es-errors/-/es-errors-1.3.0.tgz" + integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== + +es-get-iterator@^1.1.3: + version "1.1.3" + resolved "https://registry.npmmirror.com/es-get-iterator/-/es-get-iterator-1.1.3.tgz" + integrity sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.3" + has-symbols "^1.0.3" + is-arguments "^1.1.1" + is-map "^2.0.2" + is-set "^2.0.2" + is-string "^1.0.7" + isarray "^2.0.5" + stop-iteration-iterator "^1.0.0" + +es-iterator-helpers@^1.0.19: + version "1.0.19" + resolved "https://registry.npmmirror.com/es-iterator-helpers/-/es-iterator-helpers-1.0.19.tgz" + integrity sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.3" + es-errors "^1.3.0" + es-set-tostringtag "^2.0.3" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + globalthis "^1.0.3" + has-property-descriptors "^1.0.2" + has-proto "^1.0.3" + has-symbols "^1.0.3" + internal-slot "^1.0.7" + iterator.prototype "^1.1.2" + safe-array-concat "^1.1.2" + +es-object-atoms@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/es-object-atoms/-/es-object-atoms-1.0.0.tgz" + integrity sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw== + dependencies: + es-errors "^1.3.0" + +es-set-tostringtag@^2.0.3: + version "2.0.3" + resolved "https://registry.npmmirror.com/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz" + integrity sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ== + dependencies: + get-intrinsic "^1.2.4" + has-tostringtag "^1.0.2" + hasown "^2.0.1" + +es-shim-unscopables@^1.0.0, es-shim-unscopables@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz" + integrity sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw== + dependencies: + hasown "^2.0.0" + +es-to-primitive@^1.2.1: + version "1.2.1" + resolved "https://registry.npmmirror.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz" + integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== + dependencies: + is-callable "^1.1.4" + is-date-object "^1.0.1" + is-symbol "^1.0.2" + +escalade@^3.1.2: + version "3.1.2" + resolved "https://registry.npmmirror.com/escalade/-/escalade-3.1.2.tgz" + integrity sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA== + +escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +escape-string-regexp@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz" + integrity sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw== + +eslint-config-next@13.4.7: + version "13.4.7" + resolved "https://registry.npmmirror.com/eslint-config-next/-/eslint-config-next-13.4.7.tgz" + integrity sha512-+IRAyD0+J1MZaTi9RQMPUfr6Q+GCZ1wOkK6XM52Vokh7VI4R6YFGOFzdkEFHl4ZyIX4FKa5vcwUP2WscSFNjNQ== + dependencies: + "@next/eslint-plugin-next" "13.4.7" + "@rushstack/eslint-patch" "^1.1.3" + "@typescript-eslint/parser" "^5.42.0" + eslint-import-resolver-node "^0.3.6" + eslint-import-resolver-typescript "^3.5.2" + eslint-plugin-import "^2.26.0" + eslint-plugin-jsx-a11y "^6.5.1" + eslint-plugin-react "^7.31.7" + eslint-plugin-react-hooks "^4.5.0" + +eslint-config-prettier@^9.1.0: + version "9.1.0" + resolved "https://registry.npmmirror.com/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz#31af3d94578645966c082fcb71a5846d3c94867f" + integrity sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw== + +eslint-import-resolver-node@^0.3.6, eslint-import-resolver-node@^0.3.9: + version "0.3.9" + resolved "https://registry.npmmirror.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz" + integrity sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g== + dependencies: + debug "^3.2.7" + is-core-module "^2.13.0" + resolve "^1.22.4" + +eslint-import-resolver-typescript@^3.5.2: + version "3.6.1" + resolved "https://registry.npmmirror.com/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.6.1.tgz" + integrity sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg== + dependencies: + debug "^4.3.4" + enhanced-resolve "^5.12.0" + eslint-module-utils "^2.7.4" + fast-glob "^3.3.1" + get-tsconfig "^4.5.0" + is-core-module "^2.11.0" + is-glob "^4.0.3" + +eslint-import-resolver-typescript@^3.6.3: + version "3.6.3" + resolved "https://registry.npmmirror.com/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.6.3.tgz#bb8e388f6afc0f940ce5d2c5fd4a3d147f038d9e" + integrity sha512-ud9aw4szY9cCT1EWWdGv1L1XR6hh2PaRWif0j2QjQ0pgTY/69iw+W0Z4qZv5wHahOl8isEr+k/JnyAqNQkLkIA== + dependencies: + "@nolyfill/is-core-module" "1.0.39" + debug "^4.3.5" + enhanced-resolve "^5.15.0" + eslint-module-utils "^2.8.1" + fast-glob "^3.3.2" + get-tsconfig "^4.7.5" + is-bun-module "^1.0.2" + is-glob "^4.0.3" + +eslint-module-utils@^2.7.4, eslint-module-utils@^2.8.0: + version "2.8.1" + resolved "https://registry.npmmirror.com/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz" + integrity sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q== + dependencies: + debug "^3.2.7" + +eslint-module-utils@^2.8.1: + version "2.9.0" + resolved "https://registry.npmmirror.com/eslint-module-utils/-/eslint-module-utils-2.9.0.tgz#95d4ac038a68cd3f63482659dffe0883900eb342" + integrity sha512-McVbYmwA3NEKwRQY5g4aWMdcZE5xZxV8i8l7CqJSrameuGSQJtSWaL/LxTEzSKKaCcOhlpDR8XEfYXWPrdo/ZQ== + dependencies: + debug "^3.2.7" + +eslint-plugin-import@^2.26.0: + version "2.29.1" + resolved "https://registry.npmmirror.com/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz" + integrity sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw== + dependencies: + array-includes "^3.1.7" + array.prototype.findlastindex "^1.2.3" + array.prototype.flat "^1.3.2" + array.prototype.flatmap "^1.3.2" + debug "^3.2.7" + doctrine "^2.1.0" + eslint-import-resolver-node "^0.3.9" + eslint-module-utils "^2.8.0" + hasown "^2.0.0" + is-core-module "^2.13.1" + is-glob "^4.0.3" + minimatch "^3.1.2" + object.fromentries "^2.0.7" + object.groupby "^1.0.1" + object.values "^1.1.7" + semver "^6.3.1" + tsconfig-paths "^3.15.0" + +eslint-plugin-jsx-a11y@^6.5.1: + version "6.9.0" + resolved "https://registry.npmmirror.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.9.0.tgz" + integrity sha512-nOFOCaJG2pYqORjK19lqPqxMO/JpvdCZdPtNdxY3kvom3jTvkAbOvQvD8wuD0G8BYR0IGAGYDlzqWJOh/ybn2g== + dependencies: + aria-query "~5.1.3" + array-includes "^3.1.8" + array.prototype.flatmap "^1.3.2" + ast-types-flow "^0.0.8" + axe-core "^4.9.1" + axobject-query "~3.1.1" + damerau-levenshtein "^1.0.8" + emoji-regex "^9.2.2" + es-iterator-helpers "^1.0.19" + hasown "^2.0.2" + jsx-ast-utils "^3.3.5" + language-tags "^1.0.9" + minimatch "^3.1.2" + object.fromentries "^2.0.8" + safe-regex-test "^1.0.3" + string.prototype.includes "^2.0.0" + +eslint-plugin-prettier@^5.2.1: + version "5.2.1" + resolved "https://registry.npmmirror.com/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.1.tgz#d1c8f972d8f60e414c25465c163d16f209411f95" + integrity sha512-gH3iR3g4JfF+yYPaJYkN7jEl9QbweL/YfkoRlNnuIEHEz1vHVlCmWOS+eGGiRuzHQXdJFCOTxRgvju9b8VUmrw== + dependencies: + prettier-linter-helpers "^1.0.0" + synckit "^0.9.1" + +eslint-plugin-react-hooks@^4.5.0: + version "4.6.2" + resolved "https://registry.npmmirror.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz" + integrity sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ== + +eslint-plugin-react@^7.31.7: + version "7.34.3" + resolved "https://registry.npmmirror.com/eslint-plugin-react/-/eslint-plugin-react-7.34.3.tgz" + integrity sha512-aoW4MV891jkUulwDApQbPYTVZmeuSyFrudpbTAQuj5Fv8VL+o6df2xIGpw8B0hPjAaih1/Fb0om9grCdyFYemA== + dependencies: + array-includes "^3.1.8" + array.prototype.findlast "^1.2.5" + array.prototype.flatmap "^1.3.2" + array.prototype.toreversed "^1.1.2" + array.prototype.tosorted "^1.1.4" + doctrine "^2.1.0" + es-iterator-helpers "^1.0.19" + estraverse "^5.3.0" + jsx-ast-utils "^2.4.1 || ^3.0.0" + minimatch "^3.1.2" + object.entries "^1.1.8" + object.fromentries "^2.0.8" + object.hasown "^1.1.4" + object.values "^1.2.0" + prop-types "^15.8.1" + resolve "^2.0.0-next.5" + semver "^6.3.1" + string.prototype.matchall "^4.0.11" + +eslint-scope@^7.2.2: + version "7.2.2" + resolved "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f" + integrity sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg== + dependencies: + esrecurse "^4.3.0" + estraverse "^5.2.0" + +eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3: + version "3.4.3" + resolved "https://registry.npmmirror.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz" + integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== + +eslint@8.57.0: + version "8.57.0" + resolved "https://registry.npmmirror.com/eslint/-/eslint-8.57.0.tgz#c786a6fd0e0b68941aaf624596fb987089195668" + integrity sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ== + dependencies: + "@eslint-community/eslint-utils" "^4.2.0" + "@eslint-community/regexpp" "^4.6.1" + "@eslint/eslintrc" "^2.1.4" + "@eslint/js" "8.57.0" + "@humanwhocodes/config-array" "^0.11.14" + "@humanwhocodes/module-importer" "^1.0.1" + "@nodelib/fs.walk" "^1.2.8" + "@ungap/structured-clone" "^1.2.0" + ajv "^6.12.4" + chalk "^4.0.0" + cross-spawn "^7.0.2" + debug "^4.3.2" + doctrine "^3.0.0" + escape-string-regexp "^4.0.0" + eslint-scope "^7.2.2" + eslint-visitor-keys "^3.4.3" + espree "^9.6.1" + esquery "^1.4.2" + esutils "^2.0.2" + fast-deep-equal "^3.1.3" + file-entry-cache "^6.0.1" + find-up "^5.0.0" + glob-parent "^6.0.2" + globals "^13.19.0" + graphemer "^1.4.0" + ignore "^5.2.0" + imurmurhash "^0.1.4" + is-glob "^4.0.0" + is-path-inside "^3.0.3" + js-yaml "^4.1.0" + json-stable-stringify-without-jsonify "^1.0.1" + levn "^0.4.1" + lodash.merge "^4.6.2" + minimatch "^3.1.2" + natural-compare "^1.4.0" + optionator "^0.9.3" + strip-ansi "^6.0.1" + text-table "^0.2.0" + +espree@^9.6.0, espree@^9.6.1: + version "9.6.1" + resolved "https://registry.npmmirror.com/espree/-/espree-9.6.1.tgz" + integrity sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ== + dependencies: + acorn "^8.9.0" + acorn-jsx "^5.3.2" + eslint-visitor-keys "^3.4.1" + +esquery@^1.4.2: + version "1.5.0" + resolved "https://registry.npmmirror.com/esquery/-/esquery-1.5.0.tgz" + integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== + dependencies: + estraverse "^5.1.0" + +esrecurse@^4.3.0: + version "4.3.0" + resolved "https://registry.npmmirror.com/esrecurse/-/esrecurse-4.3.0.tgz" + integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== + dependencies: + estraverse "^5.2.0" + +estraverse@^5.1.0, estraverse@^5.2.0, estraverse@^5.3.0: + version "5.3.0" + resolved "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz" + integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== + +estree-util-is-identifier-name@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz#0b5ef4c4ff13508b34dcd01ecfa945f61fce5dbd" + integrity sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg== + +esutils@^2.0.2: + version "2.0.3" + resolved "https://registry.npmmirror.com/esutils/-/esutils-2.0.3.tgz" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== + +eventemitter3@^4.0.0, eventemitter3@^4.0.4, eventemitter3@^4.0.7: + version "4.0.7" + resolved "https://registry.npmmirror.com/eventemitter3/-/eventemitter3-4.0.7.tgz" + integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== + +eventemitter3@^5.0.1: + version "5.0.1" + resolved "https://registry.npmmirror.com/eventemitter3/-/eventemitter3-5.0.1.tgz" + integrity sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA== + +execa@~8.0.1: + version "8.0.1" + resolved "https://registry.npmmirror.com/execa/-/execa-8.0.1.tgz#51f6a5943b580f963c3ca9c6321796db8cc39b8c" + integrity sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg== + dependencies: + cross-spawn "^7.0.3" + get-stream "^8.0.1" + human-signals "^5.0.0" + is-stream "^3.0.0" + merge-stream "^2.0.0" + npm-run-path "^5.1.0" + onetime "^6.0.0" + signal-exit "^4.1.0" + strip-final-newline "^3.0.0" + +extend-shallow@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" + integrity sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug== + dependencies: + is-extendable "^0.1.0" + +extend-shallow@^3.0.0: + version "3.0.2" + resolved "https://registry.npmmirror.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" + integrity sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q== + dependencies: + assign-symbols "^1.0.0" + is-extendable "^1.0.1" + +extend@^3.0.0, extend@^3.0.2: + version "3.0.2" + resolved "https://registry.npmmirror.com/extend/-/extend-3.0.2.tgz" + integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== + +extrude-polyline@^1.0.6: + version "1.0.6" + resolved "https://registry.npmmirror.com/extrude-polyline/-/extrude-polyline-1.0.6.tgz#7e6afe1f349a4182fa3f61a00d93979b95f18b20" + integrity sha512-fcKIanU/v+tcdgG0+xMbS0C2VZ0/CF3qqxSjHiWfWICh0yFBezPr3SsOhgdzwE5E82plG6p1orEsfSqgldpxVg== + dependencies: + as-number "^1.0.0" + gl-vec2 "^1.0.0" + polyline-miter-util "^1.0.1" + +fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.npmmirror.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +fast-diff@^1.1.2: + version "1.3.0" + resolved "https://registry.npmmirror.com/fast-diff/-/fast-diff-1.3.0.tgz#ece407fa550a64d638536cd727e129c61616e0f0" + integrity sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw== + +fast-glob@^3.2.12, fast-glob@^3.2.9, fast-glob@^3.3.0, fast-glob@^3.3.1, fast-glob@^3.3.2: + version "3.3.2" + resolved "https://registry.npmmirror.com/fast-glob/-/fast-glob-3.3.2.tgz" + integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + +fast-json-stable-stringify@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== + +fast-levenshtein@^2.0.6: + version "2.0.6" + resolved "https://registry.npmmirror.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz" + integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== + +fastq@^1.6.0: + version "1.17.1" + resolved "https://registry.npmmirror.com/fastq/-/fastq-1.17.1.tgz" + integrity sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w== + dependencies: + reusify "^1.0.4" + +fault@^1.0.0: + version "1.0.4" + resolved "https://registry.npmmirror.com/fault/-/fault-1.0.4.tgz" + integrity sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA== + dependencies: + format "^0.2.0" + +fecha@^4.2.1: + version "4.2.3" + resolved "https://registry.npmmirror.com/fecha/-/fecha-4.2.3.tgz" + integrity sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw== + +file-entry-cache@^6.0.1: + version "6.0.1" + resolved "https://registry.npmmirror.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz" + integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== + dependencies: + flat-cache "^3.0.4" + +fill-range@^7.1.1: + version "7.1.1" + resolved "https://registry.npmmirror.com/fill-range/-/fill-range-7.1.1.tgz" + integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== + dependencies: + to-regex-range "^5.0.1" + +find-root@^1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/find-root/-/find-root-1.1.0.tgz" + integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== + +find-up@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/find-up/-/find-up-5.0.0.tgz" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== + dependencies: + locate-path "^6.0.0" + path-exists "^4.0.0" + +flat-cache@^3.0.4: + version "3.2.0" + resolved "https://registry.npmmirror.com/flat-cache/-/flat-cache-3.2.0.tgz" + integrity sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw== + dependencies: + flatted "^3.2.9" + keyv "^4.5.3" + rimraf "^3.0.2" + +flatted@^3.2.9: + version "3.3.1" + resolved "https://registry.npmmirror.com/flatted/-/flatted-3.3.1.tgz" + integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw== + +flru@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/flru/-/flru-1.0.2.tgz" + integrity sha512-kWyh8ADvHBFz6ua5xYOPnUroZTT/bwWfrCeL0Wj1dzG4/YOmOcfJ99W8dOVyyynJN35rZ9aCOtHChqQovV7yog== + +fmin@^0.0.2: + version "0.0.2" + resolved "https://registry.npmmirror.com/fmin/-/fmin-0.0.2.tgz" + integrity sha512-sSi6DzInhl9d8yqssDfGZejChO8d2bAGIpysPsvYsxFe898z89XhCZg6CPNV3nhUhFefeC/AXZK2bAJxlBjN6A== + dependencies: + contour_plot "^0.0.1" + json2module "^0.0.3" + rollup "^0.25.8" + tape "^4.5.1" + uglify-js "^2.6.2" + +follow-redirects@^1.15.6: + version "1.15.6" + resolved "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.6.tgz" + integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== + +for-each@^0.3.3, for-each@~0.3.3: + version "0.3.3" + resolved "https://registry.npmmirror.com/for-each/-/for-each-0.3.3.tgz" + integrity sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw== + dependencies: + is-callable "^1.1.3" + +foreground-child@^3.1.0: + version "3.2.1" + resolved "https://registry.npmmirror.com/foreground-child/-/foreground-child-3.2.1.tgz" + integrity sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA== + dependencies: + cross-spawn "^7.0.0" + signal-exit "^4.0.1" + +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/form-data/-/form-data-4.0.0.tgz" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + +format@^0.2.0: + version "0.2.2" + resolved "https://registry.npmmirror.com/format/-/format-0.2.2.tgz" + integrity sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww== + +fraction.js@^4.2.0: + version "4.3.7" + resolved "https://registry.npmmirror.com/fraction.js/-/fraction.js-4.3.7.tgz" + integrity sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew== + +framer-motion@^10.16.4: + version "10.18.0" + resolved "https://registry.npmmirror.com/framer-motion/-/framer-motion-10.18.0.tgz" + integrity sha512-oGlDh1Q1XqYPksuTD/usb0I70hq95OUzmL9+6Zd+Hs4XV0oaISBa/UUMSjYiq6m8EUF32132mOJ8xVZS+I0S6w== + dependencies: + tslib "^2.4.0" + optionalDependencies: + "@emotion/is-prop-valid" "^0.8.2" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/fs.realpath/-/fs.realpath-1.0.0.tgz" + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== + +fsevents@~2.3.2: + version "2.3.3" + resolved "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== + +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.2.tgz" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== + +function.prototype.name@^1.1.5, function.prototype.name@^1.1.6: + version "1.1.6" + resolved "https://registry.npmmirror.com/function.prototype.name/-/function.prototype.name-1.1.6.tgz" + integrity sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + functions-have-names "^1.2.3" + +functions-have-names@^1.2.3: + version "1.2.3" + resolved "https://registry.npmmirror.com/functions-have-names/-/functions-have-names-1.2.3.tgz" + integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== + +gaxios@^6.0.0, gaxios@^6.1.1: + version "6.7.1" + resolved "https://registry.npmmirror.com/gaxios/-/gaxios-6.7.1.tgz" + integrity sha512-LDODD4TMYx7XXdpwxAVRAIAuB0bzv0s+ywFonY46k126qzQHT9ygyoa9tncmOiQmmDrik65UYsEkv3lbfqQ3yQ== + dependencies: + extend "^3.0.2" + https-proxy-agent "^7.0.1" + is-stream "^2.0.0" + node-fetch "^2.6.9" + uuid "^9.0.1" + +gcp-metadata@^6.1.0: + version "6.1.0" + resolved "https://registry.npmmirror.com/gcp-metadata/-/gcp-metadata-6.1.0.tgz" + integrity sha512-Jh/AIwwgaxan+7ZUUmRLCjtchyDiqh4KjBJ5tW3plBZb5iL/BPcso8A5DlzeD9qlw0duCamnNdpFjxwaT0KyKg== + dependencies: + gaxios "^6.0.0" + json-bigint "^1.0.0" + +generate-function@^2.3.1: + version "2.3.1" + resolved "https://registry.npmmirror.com/generate-function/-/generate-function-2.3.1.tgz" + integrity sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ== + dependencies: + is-property "^1.0.2" + +geojson-equality@0.1.6: + version "0.1.6" + resolved "https://registry.npmmirror.com/geojson-equality/-/geojson-equality-0.1.6.tgz#a171374ef043e5d4797995840bae4648e0752d72" + integrity sha512-TqG8YbqizP3EfwP5Uw4aLu6pKkg6JQK9uq/XZ1lXQntvTHD1BBKJWhNpJ2M0ax6TuWMP3oyx6Oq7FCIfznrgpQ== + dependencies: + deep-equal "^1.0.0" + +geojson-rbush@3.x: + version "3.2.0" + resolved "https://registry.npmmirror.com/geojson-rbush/-/geojson-rbush-3.2.0.tgz#8b543cf0d56f99b78faf1da52bb66acad6dfc290" + integrity sha512-oVltQTXolxvsz1sZnutlSuLDEcQAKYC/uXt9zDzJJ6bu0W+baTI8LZBaTup5afzibEH4N3jlq2p+a152wlBJ7w== + dependencies: + "@turf/bbox" "*" + "@turf/helpers" "6.x" + "@turf/meta" "6.x" + "@types/geojson" "7946.0.8" + rbush "^3.0.1" + +geojson-vt@^3.2.1: + version "3.2.1" + resolved "https://registry.npmmirror.com/geojson-vt/-/geojson-vt-3.2.1.tgz#f8adb614d2c1d3f6ee7c4265cad4bbf3ad60c8b7" + integrity sha512-EvGQQi/zPrDA6zr6BnJD/YhwAkBP8nnJ9emh3EnHQKVMfg/MRVtPbMYdgVy/IaEmn4UfagD2a6fafPDL5hbtwg== + +get-east-asian-width@^1.0.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/get-east-asian-width/-/get-east-asian-width-1.2.0.tgz#5e6ebd9baee6fb8b7b6bd505221065f0cd91f64e" + integrity sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA== + +get-intrinsic@^1.1.3, get-intrinsic@^1.2.1, get-intrinsic@^1.2.2, get-intrinsic@^1.2.3, get-intrinsic@^1.2.4: + version "1.2.4" + resolved "https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz" + integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ== + dependencies: + es-errors "^1.3.0" + function-bind "^1.1.2" + has-proto "^1.0.1" + has-symbols "^1.0.3" + hasown "^2.0.0" + +get-stdin@=8.0.0: + version "8.0.0" + resolved "https://registry.npmmirror.com/get-stdin/-/get-stdin-8.0.0.tgz" + integrity sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg== + +get-stdin@^9.0.0: + version "9.0.0" + resolved "https://registry.npmmirror.com/get-stdin/-/get-stdin-9.0.0.tgz#3983ff82e03d56f1b2ea0d3e60325f39d703a575" + integrity sha512-dVKBjfWisLAicarI2Sf+JuBE/DghV4UzNAVe9yhEJuzeREd3JhOTE9cUaJTeSa77fsbQUK3pcOpJfM59+VKZaA== + +get-stream@^6.0.1: + version "6.0.1" + resolved "https://registry.npmmirror.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" + integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== + +get-stream@^8.0.1: + version "8.0.1" + resolved "https://registry.npmmirror.com/get-stream/-/get-stream-8.0.1.tgz#def9dfd71742cd7754a7761ed43749a27d02eca2" + integrity sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA== + +get-symbol-description@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/get-symbol-description/-/get-symbol-description-1.0.2.tgz" + integrity sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg== + dependencies: + call-bind "^1.0.5" + es-errors "^1.3.0" + get-intrinsic "^1.2.4" + +get-tsconfig@^4.5.0: + version "4.7.5" + resolved "https://registry.npmmirror.com/get-tsconfig/-/get-tsconfig-4.7.5.tgz" + integrity sha512-ZCuZCnlqNzjb4QprAzXKdpp/gh6KTxSJuw3IBsPnV/7fV4NxC9ckB+vPTt8w7fJA0TaSD7c55BR47JD6MEDyDw== + dependencies: + resolve-pkg-maps "^1.0.0" + +get-tsconfig@^4.7.5: + version "4.8.0" + resolved "https://registry.npmmirror.com/get-tsconfig/-/get-tsconfig-4.8.0.tgz#125dc13a316f61650a12b20c97c11b8fd996fedd" + integrity sha512-Pgba6TExTZ0FJAn1qkJAjIeKoDJ3CsI2ChuLohJnZl/tTU8MVrq3b+2t5UOPfRa4RMsorClBjJALkJUMjG1PAw== + dependencies: + resolve-pkg-maps "^1.0.0" + +get-value@^2.0.2, get-value@^2.0.6: + version "2.0.6" + resolved "https://registry.npmmirror.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" + integrity sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA== + +git-hooks-list@^3.0.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/git-hooks-list/-/git-hooks-list-3.1.0.tgz#386dc531dcc17474cf094743ff30987a3d3e70fc" + integrity sha512-LF8VeHeR7v+wAbXqfgRlTSX/1BJR9Q1vEMR8JAz1cEg6GX07+zyj3sAdDvYjj/xnlIfVuGgj4qBei1K3hKH+PA== + +gl-matrix@^3.0.0, gl-matrix@^3.1.0, gl-matrix@^3.2.1, gl-matrix@^3.3.0, gl-matrix@^3.4.3: + version "3.4.3" + resolved "https://registry.npmmirror.com/gl-matrix/-/gl-matrix-3.4.3.tgz" + integrity sha512-wcCp8vu8FT22BnvKVPjXa/ICBWRq/zjFfdofZy1WSpQZpphblv12/bOQLBC1rMM7SGOFS9ltVmKOHil5+Ml7gA== + +gl-vec2@^1.0.0, gl-vec2@^1.3.0: + version "1.3.0" + resolved "https://registry.npmmirror.com/gl-vec2/-/gl-vec2-1.3.0.tgz" + integrity sha512-YiqaAuNsheWmUV0Sa8k94kBB0D6RWjwZztyO+trEYS8KzJ6OQB/4686gdrf59wld4hHFIvaxynO3nRxpk1Ij/A== + +glob-parent@^5.1.2, glob-parent@~5.1.2: + version "5.1.2" + resolved "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz" + integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== + dependencies: + is-glob "^4.0.1" + +glob-parent@^6.0.1, glob-parent@^6.0.2: + version "6.0.2" + resolved "https://registry.npmmirror.com/glob-parent/-/glob-parent-6.0.2.tgz" + integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== + dependencies: + is-glob "^4.0.3" + +glob-to-regexp@^0.4.1: + version "0.4.1" + resolved "https://registry.npmmirror.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz" + integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== + +glob@7.1.7, glob@^7.1.3: + version "7.1.7" + resolved "https://registry.npmmirror.com/glob/-/glob-7.1.7.tgz" + integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + +glob@^10.3.10: + version "10.4.2" + resolved "https://registry.npmmirror.com/glob/-/glob-10.4.2.tgz" + integrity sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w== + dependencies: + foreground-child "^3.1.0" + jackspeak "^3.1.2" + minimatch "^9.0.4" + minipass "^7.1.2" + package-json-from-dist "^1.0.0" + path-scurry "^1.11.1" + +glob@~7.2.3: + version "7.2.3" + resolved "https://registry.npmmirror.com/glob/-/glob-7.2.3.tgz" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + +global-prefix@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/global-prefix/-/global-prefix-3.0.0.tgz#fc85f73064df69f50421f47f883fe5b913ba9b97" + integrity sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg== + dependencies: + ini "^1.3.5" + kind-of "^6.0.2" + which "^1.3.1" + +globals@^11.1.0: + version "11.12.0" + resolved "https://registry.npmmirror.com/globals/-/globals-11.12.0.tgz" + integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== + +globals@^13.19.0: + version "13.24.0" + resolved "https://registry.npmmirror.com/globals/-/globals-13.24.0.tgz" + integrity sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ== + dependencies: + type-fest "^0.20.2" + +globalthis@^1.0.3: + version "1.0.4" + resolved "https://registry.npmmirror.com/globalthis/-/globalthis-1.0.4.tgz" + integrity sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ== + dependencies: + define-properties "^1.2.1" + gopd "^1.0.1" + +globby@^11.1.0: + version "11.1.0" + resolved "https://registry.npmmirror.com/globby/-/globby-11.1.0.tgz" + integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== + dependencies: + array-union "^2.1.0" + dir-glob "^3.0.1" + fast-glob "^3.2.9" + ignore "^5.2.0" + merge2 "^1.4.1" + slash "^3.0.0" + +globby@^13.1.2: + version "13.2.2" + resolved "https://registry.npmmirror.com/globby/-/globby-13.2.2.tgz#63b90b1bf68619c2135475cbd4e71e66aa090592" + integrity sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w== + dependencies: + dir-glob "^3.0.1" + fast-glob "^3.3.0" + ignore "^5.2.4" + merge2 "^1.4.1" + slash "^4.0.0" + +globby@^14.0.0: + version "14.0.1" + resolved "https://registry.npmmirror.com/globby/-/globby-14.0.1.tgz" + integrity sha512-jOMLD2Z7MAhyG8aJpNOpmziMOP4rPLcc95oQPKXBazW82z+CEgPFBQvEpRUa1KeIMUJo4Wsm+q6uzO/Q/4BksQ== + dependencies: + "@sindresorhus/merge-streams" "^2.1.0" + fast-glob "^3.3.2" + ignore "^5.2.4" + path-type "^5.0.0" + slash "^5.1.0" + unicorn-magic "^0.1.0" + +google-auth-library@^9.2.0: + version "9.14.0" + resolved "https://registry.npmmirror.com/google-auth-library/-/google-auth-library-9.14.0.tgz" + integrity sha512-Y/eq+RWVs55Io/anIsm24sDS8X79Tq948zVLGaa7+KlJYYqaGwp1YI37w48nzrNi12RgnzMrQD4NzdmCowT90g== + dependencies: + base64-js "^1.3.0" + ecdsa-sig-formatter "^1.0.11" + gaxios "^6.1.1" + gcp-metadata "^6.1.0" + gtoken "^7.0.0" + jws "^4.0.0" + +google-one-tap@^1.0.6: + version "1.0.6" + resolved "https://registry.npmmirror.com/google-one-tap/-/google-one-tap-1.0.6.tgz" + integrity sha512-sgusL6AmYCsTW/WVpJK0zxsjelPqJt/+3yNj4yHZTJOrHEDO251SR9xbTNB4wYK7nCM86/RaQdsD+8yUNQSQeQ== + +gopd@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/gopd/-/gopd-1.0.1.tgz" + integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== + dependencies: + get-intrinsic "^1.1.3" + +graceful-fs@^4.1.2, graceful-fs@^4.2.4: + version "4.2.11" + resolved "https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.11.tgz" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== + +graphemer@^1.4.0: + version "1.4.0" + resolved "https://registry.npmmirror.com/graphemer/-/graphemer-1.4.0.tgz" + integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag== + +graphlib@^2.1.8: + version "2.1.8" + resolved "https://registry.npmmirror.com/graphlib/-/graphlib-2.1.8.tgz" + integrity sha512-jcLLfkpoVGmH7/InMC/1hIvOPSUh38oJtGhvrOFGzioE1DZ+0YW16RgmOJhHiuWTvGiJQ9Z1Ik43JvkRPRvE+A== + dependencies: + lodash "^4.17.15" + +grid-index@^1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/grid-index/-/grid-index-1.1.0.tgz#97f8221edec1026c8377b86446a7c71e79522ea7" + integrity sha512-HZRwumpOGUrHyxO5bqKZL0B0GlUpwtCAzZ42sgxUPniu33R1LSFH5yrIcBCHjkctCAh3mtWKcKd9J4vDDdeVHA== + +gtoken@^7.0.0: + version "7.1.0" + resolved "https://registry.npmmirror.com/gtoken/-/gtoken-7.1.0.tgz" + integrity sha512-pCcEwRi+TKpMlxAQObHDQ56KawURgyAf6jtIY046fJ5tIv3zDe/LEIubckAO8fj6JnAxLdmWkUfNyulQ2iKdEw== + dependencies: + gaxios "^6.0.0" + jws "^4.0.0" + +hammerjs@^2.0.8: + version "2.0.8" + resolved "https://registry.npmmirror.com/hammerjs/-/hammerjs-2.0.8.tgz#04ef77862cff2bb79d30f7692095930222bf60f1" + integrity sha512-tSQXBXS/MWQOn/RKckawJ61vvsDpCom87JgxiYdGwHdOa0ht0vzUWDlfioofFCRU0L+6NGDt6XzbgoJvZkMeRQ== + +has-ansi@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/has-ansi/-/has-ansi-2.0.0.tgz" + integrity sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg== + dependencies: + ansi-regex "^2.0.0" + +has-bigints@^1.0.1, has-bigints@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/has-bigints/-/has-bigints-1.0.2.tgz" + integrity sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ== + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/has-flag/-/has-flag-3.0.0.tgz" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +has-property-descriptors@^1.0.0, has-property-descriptors@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz" + integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg== + dependencies: + es-define-property "^1.0.0" + +has-proto@^1.0.1, has-proto@^1.0.3: + version "1.0.3" + resolved "https://registry.npmmirror.com/has-proto/-/has-proto-1.0.3.tgz" + integrity sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q== + +has-symbols@^1.0.2, has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.0.3.tgz" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has-tostringtag@^1.0.0, has-tostringtag@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz" + integrity sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw== + dependencies: + has-symbols "^1.0.3" + +has@~1.0.3: + version "1.0.4" + resolved "https://registry.npmmirror.com/has/-/has-1.0.4.tgz" + integrity sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ== + +hasown@^2.0.0, hasown@^2.0.1, hasown@^2.0.2: + version "2.0.2" + resolved "https://registry.npmmirror.com/hasown/-/hasown-2.0.2.tgz" + integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== + dependencies: + function-bind "^1.1.2" + +hast-util-from-parse5@^8.0.0: + version "8.0.1" + resolved "https://registry.npmmirror.com/hast-util-from-parse5/-/hast-util-from-parse5-8.0.1.tgz#654a5676a41211e14ee80d1b1758c399a0327651" + integrity sha512-Er/Iixbc7IEa7r/XLtuG52zoqn/b3Xng/w6aZQ0xGVxzhw5xUFxcRqdPzP6yFi/4HBYRaifaI5fQ1RH8n0ZeOQ== + dependencies: + "@types/hast" "^3.0.0" + "@types/unist" "^3.0.0" + devlop "^1.0.0" + hastscript "^8.0.0" + property-information "^6.0.0" + vfile "^6.0.0" + vfile-location "^5.0.0" + web-namespaces "^2.0.0" + +hast-util-parse-selector@^2.0.0: + version "2.2.5" + resolved "https://registry.npmmirror.com/hast-util-parse-selector/-/hast-util-parse-selector-2.2.5.tgz" + integrity sha512-7j6mrk/qqkSehsM92wQjdIgWM2/BW61u/53G6xmC8i1OmEdKLHbk419QKQUjz6LglWsfqoiHmyMRkP1BGjecNQ== + +hast-util-parse-selector@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/hast-util-parse-selector/-/hast-util-parse-selector-4.0.0.tgz#352879fa86e25616036037dd8931fb5f34cb4a27" + integrity sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A== + dependencies: + "@types/hast" "^3.0.0" + +hast-util-raw@^9.0.0: + version "9.0.4" + resolved "https://registry.npmmirror.com/hast-util-raw/-/hast-util-raw-9.0.4.tgz#2da03e37c46eb1a6f1391f02f9b84ae65818f7ed" + integrity sha512-LHE65TD2YiNsHD3YuXcKPHXPLuYh/gjp12mOfU8jxSrm1f/yJpsb0F/KKljS6U9LJoP0Ux+tCe8iJ2AsPzTdgA== + dependencies: + "@types/hast" "^3.0.0" + "@types/unist" "^3.0.0" + "@ungap/structured-clone" "^1.0.0" + hast-util-from-parse5 "^8.0.0" + hast-util-to-parse5 "^8.0.0" + html-void-elements "^3.0.0" + mdast-util-to-hast "^13.0.0" + parse5 "^7.0.0" + unist-util-position "^5.0.0" + unist-util-visit "^5.0.0" + vfile "^6.0.0" + web-namespaces "^2.0.0" + zwitch "^2.0.0" + +hast-util-to-jsx-runtime@^2.0.0: + version "2.3.0" + resolved "https://registry.npmmirror.com/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.0.tgz#3ed27caf8dc175080117706bf7269404a0aa4f7c" + integrity sha512-H/y0+IWPdsLLS738P8tDnrQ8Z+dj12zQQ6WC11TIM21C8WFVoIxcqWXf2H3hiTVZjF1AWqoimGwrTWecWrnmRQ== + dependencies: + "@types/estree" "^1.0.0" + "@types/hast" "^3.0.0" + "@types/unist" "^3.0.0" + comma-separated-tokens "^2.0.0" + devlop "^1.0.0" + estree-util-is-identifier-name "^3.0.0" + hast-util-whitespace "^3.0.0" + mdast-util-mdx-expression "^2.0.0" + mdast-util-mdx-jsx "^3.0.0" + mdast-util-mdxjs-esm "^2.0.0" + property-information "^6.0.0" + space-separated-tokens "^2.0.0" + style-to-object "^1.0.0" + unist-util-position "^5.0.0" + vfile-message "^4.0.0" + +hast-util-to-parse5@^8.0.0: + version "8.0.0" + resolved "https://registry.npmmirror.com/hast-util-to-parse5/-/hast-util-to-parse5-8.0.0.tgz#477cd42d278d4f036bc2ea58586130f6f39ee6ed" + integrity sha512-3KKrV5ZVI8if87DVSi1vDeByYrkGzg4mEfeu4alwgmmIeARiBLKCZS2uw5Gb6nU9x9Yufyj3iudm6i7nl52PFw== + dependencies: + "@types/hast" "^3.0.0" + comma-separated-tokens "^2.0.0" + devlop "^1.0.0" + property-information "^6.0.0" + space-separated-tokens "^2.0.0" + web-namespaces "^2.0.0" + zwitch "^2.0.0" + +hast-util-whitespace@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz#7778ed9d3c92dd9e8c5c8f648a49c21fc51cb621" + integrity sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw== + dependencies: + "@types/hast" "^3.0.0" + +hastscript@^6.0.0: + version "6.0.0" + resolved "https://registry.npmmirror.com/hastscript/-/hastscript-6.0.0.tgz" + integrity sha512-nDM6bvd7lIqDUiYEiu5Sl/+6ReP0BMk/2f4U/Rooccxkj0P5nm+acM5PrGJ/t5I8qPGiqZSE6hVAwZEdZIvP4w== + dependencies: + "@types/hast" "^2.0.0" + comma-separated-tokens "^1.0.0" + hast-util-parse-selector "^2.0.0" + property-information "^5.0.0" + space-separated-tokens "^1.0.0" + +hastscript@^8.0.0: + version "8.0.0" + resolved "https://registry.npmmirror.com/hastscript/-/hastscript-8.0.0.tgz#4ef795ec8dee867101b9f23cc830d4baf4fd781a" + integrity sha512-dMOtzCEd3ABUeSIISmrETiKuyydk1w0pa+gE/uormcTpSYuaNJPbX1NU3JLyscSLjwAQM8bWMhhIlnCqnRvDTw== + dependencies: + "@types/hast" "^3.0.0" + comma-separated-tokens "^2.0.0" + hast-util-parse-selector "^4.0.0" + property-information "^6.0.0" + space-separated-tokens "^2.0.0" + +heap-js@^2.1.6: + version "2.5.0" + resolved "https://registry.npmmirror.com/heap-js/-/heap-js-2.5.0.tgz" + integrity sha512-kUGoI3p7u6B41z/dp33G6OaL7J4DRqRYwVmeIlwLClx7yaaAy7hoDExnuejTKtuDwfcatGmddHDEOjf6EyIxtQ== + +highlight.js@^10.4.1, highlight.js@~10.7.0: + version "10.7.3" + resolved "https://registry.npmmirror.com/highlight.js/-/highlight.js-10.7.3.tgz" + integrity sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A== + +hoist-non-react-statics@^3.3.1: + version "3.3.2" + resolved "https://registry.npmmirror.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + +html-parse-stringify@^3.0.1: + version "3.0.1" + resolved "https://registry.npmmirror.com/html-parse-stringify/-/html-parse-stringify-3.0.1.tgz" + integrity sha512-KknJ50kTInJ7qIScF3jeaFRpMpE8/lfiTdzf/twXyPBLAGrLRTmkz3AdTnKeh40X8k9L2fdYwEp/42WGXIRGcg== + dependencies: + void-elements "3.1.0" + +html-url-attributes@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/html-url-attributes/-/html-url-attributes-3.0.0.tgz#fc4abf0c3fb437e2329c678b80abb3c62cff6f08" + integrity sha512-/sXbVCWayk6GDVg3ctOX6nxaVj7So40FcFAnWlWGNAB1LpYKcV5Cd10APjPjW80O7zYW2MsjBV4zZ7IZO5fVow== + +html-void-elements@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/html-void-elements/-/html-void-elements-3.0.0.tgz#fc9dbd84af9e747249034d4d62602def6517f1d7" + integrity sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg== + +https-proxy-agent@^7.0.1: + version "7.0.5" + resolved "https://registry.npmmirror.com/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz" + integrity sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw== + dependencies: + agent-base "^7.0.2" + debug "4" + +hull.js@^1.0.6: + version "1.0.6" + resolved "https://registry.npmmirror.com/hull.js/-/hull.js-1.0.6.tgz" + integrity sha512-TC7e9sHYOaCVms0sn2hN7buxnaGfcl9h5EPVoVX9DTPoMpqQiS9bf3tmGDgiNaMVHBD91RAvWjCxrJ5Jx8BI5A== + +human-signals@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/human-signals/-/human-signals-5.0.0.tgz#42665a284f9ae0dade3ba41ebc37eb4b852f3a28" + integrity sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ== + +husky@^9.1.5: + version "9.1.5" + resolved "https://registry.npmmirror.com/husky/-/husky-9.1.5.tgz#2b6edede53ee1adbbd3a3da490628a23f5243b83" + integrity sha512-rowAVRUBfI0b4+niA4SJMhfQwc107VLkBUgEYYAOQAbqDCnra1nYh83hF/MDmhYs9t9n1E3DuKOrs2LYNC+0Ag== + +i18next@^23.4.5: + version "23.11.5" + resolved "https://registry.npmmirror.com/i18next/-/i18next-23.11.5.tgz" + integrity sha512-41pvpVbW9rhZPk5xjCX2TPJi2861LEig/YRhUkY+1FQ2IQPS0bKUDYnEqY8XPPbB48h1uIwLnP9iiEfuSl20CA== + dependencies: + "@babel/runtime" "^7.23.2" + +iconv-lite@0.4: + version "0.4.24" + resolved "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" + integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== + dependencies: + safer-buffer ">= 2.1.2 < 3" + +iconv-lite@^0.6.3: + version "0.6.3" + resolved "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.6.3.tgz" + integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== + dependencies: + safer-buffer ">= 2.1.2 < 3.0.0" + +ieee754@^1.1.12, ieee754@^1.2.1: + version "1.2.1" + resolved "https://registry.npmmirror.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +ignore@^5.2.0, ignore@^5.2.4: + version "5.3.1" + resolved "https://registry.npmmirror.com/ignore/-/ignore-5.3.1.tgz" + integrity sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw== + +ignore@^5.3.1: + version "5.3.2" + resolved "https://registry.npmmirror.com/ignore/-/ignore-5.3.2.tgz#3cd40e729f3643fd87cb04e50bf0eb722bc596f5" + integrity sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g== + +import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.npmmirror.com/import-fresh/-/import-fresh-3.3.0.tgz" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.npmmirror.com/imurmurhash/-/imurmurhash-0.1.4.tgz" + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== + +inflection@^1.13.4: + version "1.13.4" + resolved "https://registry.npmmirror.com/inflection/-/inflection-1.13.4.tgz" + integrity sha512-6I/HUDeYFfuNCVS3td055BaXBwKYuzw7K3ExVMStBowKo9oOAMJIXIHvdyR3iboTCp1b+1i5DSkIZTcwIktuDw== + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.npmmirror.com/inflight/-/inflight-1.0.6.tgz" + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2, inherits@^2.0.3, inherits@~2.0.3, inherits@~2.0.4: + version "2.0.4" + resolved "https://registry.npmmirror.com/inherits/-/inherits-2.0.4.tgz" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +ini@^1.3.5: + version "1.3.8" + resolved "https://registry.npmmirror.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" + integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== + +inline-style-parser@0.2.3: + version "0.2.3" + resolved "https://registry.npmmirror.com/inline-style-parser/-/inline-style-parser-0.2.3.tgz#e35c5fb45f3a83ed7849fe487336eb7efa25971c" + integrity sha512-qlD8YNDqyTKTyuITrDOffsl6Tdhv+UC4hcdAVuQsK4IMQ99nSgd1MIA/Q+jQYoh9r3hVUXhYh7urSRmXPkW04g== + +internal-slot@^1.0.4, internal-slot@^1.0.7: + version "1.0.7" + resolved "https://registry.npmmirror.com/internal-slot/-/internal-slot-1.0.7.tgz" + integrity sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g== + dependencies: + es-errors "^1.3.0" + hasown "^2.0.0" + side-channel "^1.0.4" + +internmap@^1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/internmap/-/internmap-1.0.1.tgz#0017cc8a3b99605f0302f2b198d272e015e5df95" + integrity sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw== + +intersection-observer@^0.12.0: + version "0.12.2" + resolved "https://registry.npmmirror.com/intersection-observer/-/intersection-observer-0.12.2.tgz" + integrity sha512-7m1vEcPCxXYI8HqnL8CKI6siDyD+eIWSwgB3DZA+ZTogxk9I4CDnj4wilt9x/+/QbHI4YG5YZNmC6458/e9Ktg== + +iron-session@^6.3.1: + version "6.3.1" + resolved "https://registry.npmmirror.com/iron-session/-/iron-session-6.3.1.tgz" + integrity sha512-3UJ7y2vk/WomAtEySmPgM6qtYF1cZ3tXuWX5GsVX4PJXAcs5y/sV9HuSfpjKS6HkTL/OhZcTDWJNLZ7w+Erx3A== + dependencies: + "@peculiar/webcrypto" "^1.4.0" + "@types/cookie" "^0.5.1" + "@types/express" "^4.17.13" + "@types/koa" "^2.13.5" + "@types/node" "^17.0.41" + cookie "^0.5.0" + iron-webcrypto "^0.2.5" + +iron-webcrypto@^0.2.5: + version "0.2.8" + resolved "https://registry.npmmirror.com/iron-webcrypto/-/iron-webcrypto-0.2.8.tgz" + integrity sha512-YPdCvjFMOBjXaYuDj5tiHst5CEk6Xw84Jo8Y2+jzhMceclAnb3+vNPP/CTtb5fO2ZEuXEaO4N+w62Vfko757KA== + dependencies: + buffer "^6" + +is-alphabetical@^1.0.0: + version "1.0.4" + resolved "https://registry.npmmirror.com/is-alphabetical/-/is-alphabetical-1.0.4.tgz" + integrity sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg== + +is-alphabetical@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/is-alphabetical/-/is-alphabetical-2.0.1.tgz#01072053ea7c1036df3c7d19a6daaec7f19e789b" + integrity sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ== + +is-alphanumerical@^1.0.0: + version "1.0.4" + resolved "https://registry.npmmirror.com/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz" + integrity sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A== + dependencies: + is-alphabetical "^1.0.0" + is-decimal "^1.0.0" + +is-alphanumerical@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz#7c03fbe96e3e931113e57f964b0a368cc2dfd875" + integrity sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw== + dependencies: + is-alphabetical "^2.0.0" + is-decimal "^2.0.0" + +is-any-array@^2.0.0, is-any-array@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/is-any-array/-/is-any-array-2.0.1.tgz" + integrity sha512-UtilS7hLRu++wb/WBAw9bNuP1Eg04Ivn1vERJck8zJthEvXCBEBpGR/33u/xLKWEQf95803oalHrVDptcAvFdQ== + +is-arguments@^1.1.1: + version "1.1.1" + resolved "https://registry.npmmirror.com/is-arguments/-/is-arguments-1.1.1.tgz" + integrity sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + +is-array-buffer@^3.0.2, is-array-buffer@^3.0.4: + version "3.0.4" + resolved "https://registry.npmmirror.com/is-array-buffer/-/is-array-buffer-3.0.4.tgz" + integrity sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.2.1" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.npmmirror.com/is-arrayish/-/is-arrayish-0.2.1.tgz" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + +is-arrayish@^0.3.1: + version "0.3.2" + resolved "https://registry.npmmirror.com/is-arrayish/-/is-arrayish-0.3.2.tgz" + integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ== + +is-async-function@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/is-async-function/-/is-async-function-2.0.0.tgz" + integrity sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA== + dependencies: + has-tostringtag "^1.0.0" + +is-bigint@^1.0.1: + version "1.0.4" + resolved "https://registry.npmmirror.com/is-bigint/-/is-bigint-1.0.4.tgz" + integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg== + dependencies: + has-bigints "^1.0.1" + +is-binary-path@~2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/is-binary-path/-/is-binary-path-2.1.0.tgz" + integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== + dependencies: + binary-extensions "^2.0.0" + +is-boolean-object@^1.1.0: + version "1.1.2" + resolved "https://registry.npmmirror.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz" + integrity sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + +is-buffer@^1.1.5, is-buffer@~1.1.6: + version "1.1.6" + resolved "https://registry.npmmirror.com/is-buffer/-/is-buffer-1.1.6.tgz" + integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== + +is-bun-module@^1.0.2: + version "1.1.0" + resolved "https://registry.npmmirror.com/is-bun-module/-/is-bun-module-1.1.0.tgz#a66b9830869437f6cdad440ba49ab6e4dc837269" + integrity sha512-4mTAVPlrXpaN3jtF0lsnPCMGnq4+qZjVIKq0HCpfcqf8OC1SM5oATCIAPM5V5FN05qp2NNnFndphmdZS9CV3hA== + dependencies: + semver "^7.6.3" + +is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7: + version "1.2.7" + resolved "https://registry.npmmirror.com/is-callable/-/is-callable-1.2.7.tgz" + integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== + +is-core-module@^2.11.0, is-core-module@^2.13.0, is-core-module@^2.13.1: + version "2.14.0" + resolved "https://registry.npmmirror.com/is-core-module/-/is-core-module-2.14.0.tgz" + integrity sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A== + dependencies: + hasown "^2.0.2" + +is-data-view@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/is-data-view/-/is-data-view-1.0.1.tgz" + integrity sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w== + dependencies: + is-typed-array "^1.1.13" + +is-date-object@^1.0.1, is-date-object@^1.0.5: + version "1.0.5" + resolved "https://registry.npmmirror.com/is-date-object/-/is-date-object-1.0.5.tgz" + integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== + dependencies: + has-tostringtag "^1.0.0" + +is-decimal@^1.0.0: + version "1.0.4" + resolved "https://registry.npmmirror.com/is-decimal/-/is-decimal-1.0.4.tgz" + integrity sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw== + +is-decimal@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/is-decimal/-/is-decimal-2.0.1.tgz#9469d2dc190d0214fd87d78b78caecc0cc14eef7" + integrity sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A== + +is-extendable@^0.1.0, is-extendable@^0.1.1: + version "0.1.1" + resolved "https://registry.npmmirror.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" + integrity sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw== + +is-extendable@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4" + integrity sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA== + dependencies: + is-plain-object "^2.0.4" + +is-extglob@^2.1.1: + version "2.1.1" + resolved "https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz" + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== + +is-finalizationregistry@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/is-finalizationregistry/-/is-finalizationregistry-1.0.2.tgz" + integrity sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw== + dependencies: + call-bind "^1.0.2" + +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + +is-fullwidth-code-point@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz#fae3167c729e7463f8461ce512b080a49268aa88" + integrity sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ== + +is-fullwidth-code-point@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-5.0.0.tgz#9609efced7c2f97da7b60145ef481c787c7ba704" + integrity sha512-OVa3u9kkBbw7b8Xw5F9P+D/T9X+Z4+JruYVNapTjPYZYUznQ5YfWeFkOj606XYYW8yugTfC8Pj0hYqvi4ryAhA== + dependencies: + get-east-asian-width "^1.0.0" + +is-generator-function@^1.0.10: + version "1.0.10" + resolved "https://registry.npmmirror.com/is-generator-function/-/is-generator-function-1.0.10.tgz" + integrity sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A== + dependencies: + has-tostringtag "^1.0.0" + +is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: + version "4.0.3" + resolved "https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + +is-hexadecimal@^1.0.0: + version "1.0.4" + resolved "https://registry.npmmirror.com/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz" + integrity sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw== + +is-hexadecimal@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz#86b5bf668fca307498d319dfc03289d781a90027" + integrity sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg== + +is-map@^2.0.2, is-map@^2.0.3: + version "2.0.3" + resolved "https://registry.npmmirror.com/is-map/-/is-map-2.0.3.tgz" + integrity sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw== + +is-negative-zero@^2.0.3: + version "2.0.3" + resolved "https://registry.npmmirror.com/is-negative-zero/-/is-negative-zero-2.0.3.tgz" + integrity sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw== + +is-number-object@^1.0.4: + version "1.0.7" + resolved "https://registry.npmmirror.com/is-number-object/-/is-number-object-1.0.7.tgz" + integrity sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ== + dependencies: + has-tostringtag "^1.0.0" + +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.npmmirror.com/is-number/-/is-number-7.0.0.tgz" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +is-path-inside@^3.0.3: + version "3.0.3" + resolved "https://registry.npmmirror.com/is-path-inside/-/is-path-inside-3.0.3.tgz" + integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== + +is-plain-obj@^4.0.0, is-plain-obj@^4.1.0: + version "4.1.0" + resolved "https://registry.npmmirror.com/is-plain-obj/-/is-plain-obj-4.1.0.tgz" + integrity sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg== + +is-plain-object@^2.0.3, is-plain-object@^2.0.4: + version "2.0.4" + resolved "https://registry.npmmirror.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" + integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== + dependencies: + isobject "^3.0.1" + +is-property@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/is-property/-/is-property-1.0.2.tgz" + integrity sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g== + +is-regex@^1.1.4, is-regex@~1.1.4: + version "1.1.4" + resolved "https://registry.npmmirror.com/is-regex/-/is-regex-1.1.4.tgz" + integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + +is-set@^2.0.2, is-set@^2.0.3: + version "2.0.3" + resolved "https://registry.npmmirror.com/is-set/-/is-set-2.0.3.tgz" + integrity sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg== + +is-shared-array-buffer@^1.0.2, is-shared-array-buffer@^1.0.3: + version "1.0.3" + resolved "https://registry.npmmirror.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz" + integrity sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg== + dependencies: + call-bind "^1.0.7" + +is-stream@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/is-stream/-/is-stream-2.0.1.tgz" + integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== + +is-stream@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/is-stream/-/is-stream-3.0.0.tgz#e6bfd7aa6bef69f4f472ce9bb681e3e57b4319ac" + integrity sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA== + +is-string@^1.0.5, is-string@^1.0.7: + version "1.0.7" + resolved "https://registry.npmmirror.com/is-string/-/is-string-1.0.7.tgz" + integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg== + dependencies: + has-tostringtag "^1.0.0" + +is-symbol@^1.0.2, is-symbol@^1.0.3: + version "1.0.4" + resolved "https://registry.npmmirror.com/is-symbol/-/is-symbol-1.0.4.tgz" + integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg== + dependencies: + has-symbols "^1.0.2" + +is-typed-array@^1.1.13: + version "1.1.13" + resolved "https://registry.npmmirror.com/is-typed-array/-/is-typed-array-1.1.13.tgz" + integrity sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw== + dependencies: + which-typed-array "^1.1.14" + +is-weakmap@^2.0.2: + version "2.0.2" + resolved "https://registry.npmmirror.com/is-weakmap/-/is-weakmap-2.0.2.tgz" + integrity sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w== + +is-weakref@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/is-weakref/-/is-weakref-1.0.2.tgz" + integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ== + dependencies: + call-bind "^1.0.2" + +is-weakset@^2.0.3: + version "2.0.3" + resolved "https://registry.npmmirror.com/is-weakset/-/is-weakset-2.0.3.tgz" + integrity sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ== + dependencies: + call-bind "^1.0.7" + get-intrinsic "^1.2.4" + +isarray@^2.0.5: + version "2.0.5" + resolved "https://registry.npmmirror.com/isarray/-/isarray-2.0.5.tgz" + integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== + +isarray@~1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/isarray/-/isarray-1.0.0.tgz" + integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/isexe/-/isexe-2.0.0.tgz" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + +isobject@^3.0.1: + version "3.0.1" + resolved "https://registry.npmmirror.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" + integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== + +iterator.prototype@^1.1.2: + version "1.1.2" + resolved "https://registry.npmmirror.com/iterator.prototype/-/iterator.prototype-1.1.2.tgz" + integrity sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w== + dependencies: + define-properties "^1.2.1" + get-intrinsic "^1.2.1" + has-symbols "^1.0.3" + reflect.getprototypeof "^1.0.4" + set-function-name "^2.0.1" + +jackspeak@^3.1.2: + version "3.4.0" + resolved "https://registry.npmmirror.com/jackspeak/-/jackspeak-3.4.0.tgz" + integrity sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw== + dependencies: + "@isaacs/cliui" "^8.0.2" + optionalDependencies: + "@pkgjs/parseargs" "^0.11.0" + +jiti@^1.18.2: + version "1.21.6" + resolved "https://registry.npmmirror.com/jiti/-/jiti-1.21.6.tgz" + integrity sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w== + +jose@^4.15.5: + version "4.15.7" + resolved "https://registry.npmmirror.com/jose/-/jose-4.15.7.tgz" + integrity sha512-L7ioP+JAuZe8v+T5+zVI9Tx8LtU8BL7NxkyDFVMv+Qr3JW0jSoYDedLtodaXwfqMpeCyx4WXFNyu9tJt4WvC1A== + +js-cookie@^2.x.x: + version "2.2.1" + resolved "https://registry.npmmirror.com/js-cookie/-/js-cookie-2.2.1.tgz" + integrity sha512-HvdH2LzI/EAZcUwA8+0nKNtWHqS+ZmijLA30RwZA0bo7ToCckjK5MkGhjED9KoRcXO6BaGI3I9UIzSA1FKFPOQ== + +js-cookie@^3.0.5: + version "3.0.5" + resolved "https://registry.npmmirror.com/js-cookie/-/js-cookie-3.0.5.tgz#0b7e2fd0c01552c58ba86e0841f94dc2557dcdbc" + integrity sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw== + +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/js-tokens/-/js-tokens-4.0.0.tgz" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.npmmirror.com/js-yaml/-/js-yaml-4.1.0.tgz" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== + dependencies: + argparse "^2.0.1" + +jsesc@^2.5.1: + version "2.5.2" + resolved "https://registry.npmmirror.com/jsesc/-/jsesc-2.5.2.tgz" + integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== + +json-bigint@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/json-bigint/-/json-bigint-1.0.0.tgz" + integrity sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ== + dependencies: + bignumber.js "^9.0.0" + +json-buffer@3.0.1: + version "3.0.1" + resolved "https://registry.npmmirror.com/json-buffer/-/json-buffer-3.0.1.tgz" + integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== + +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.npmmirror.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +json-schema-traverse@^0.4.1: + version "0.4.1" + resolved "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz" + integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== + +json-schema-traverse@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz" + integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== + +json-stable-stringify-without-jsonify@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz" + integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== + +json-stringify-pretty-compact@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/json-stringify-pretty-compact/-/json-stringify-pretty-compact-3.0.0.tgz#f71ef9d82ef16483a407869556588e91b681d9ab" + integrity sha512-Rc2suX5meI0S3bfdZuA7JMFBGkJ875ApfVyq2WHELjBiiG22My/l7/8zPpH/CfFVQHuVLd8NLR0nv6vi0BYYKA== + +json2module@^0.0.3: + version "0.0.3" + resolved "https://registry.npmmirror.com/json2module/-/json2module-0.0.3.tgz" + integrity sha512-qYGxqrRrt4GbB8IEOy1jJGypkNsjWoIMlZt4bAsmUScCA507Hbc2p1JOhBzqn45u3PWafUgH2OnzyNU7udO/GA== + dependencies: + rw "^1.3.2" + +json2mq@^0.2.0: + version "0.2.0" + resolved "https://registry.npmmirror.com/json2mq/-/json2mq-0.2.0.tgz" + integrity sha512-SzoRg7ux5DWTII9J2qkrZrqV1gt+rTaoufMxEzXbS26Uid0NwaJd123HcoB80TgubEppxxIGdNxCx50fEoEWQA== + dependencies: + string-convert "^0.2.0" + +json5@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/json5/-/json5-1.0.2.tgz" + integrity sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA== + dependencies: + minimist "^1.2.0" + +json5@^2.1.2: + version "2.2.3" + resolved "https://registry.npmmirror.com/json5/-/json5-2.2.3.tgz" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + +"jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.3.5: + version "3.3.5" + resolved "https://registry.npmmirror.com/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz" + integrity sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ== + dependencies: + array-includes "^3.1.6" + array.prototype.flat "^1.3.1" + object.assign "^4.1.4" + object.values "^1.1.6" + +jwa@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/jwa/-/jwa-2.0.0.tgz" + integrity sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA== + dependencies: + buffer-equal-constant-time "1.0.1" + ecdsa-sig-formatter "1.0.11" + safe-buffer "^5.0.1" + +jws@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/jws/-/jws-4.0.0.tgz" + integrity sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg== + dependencies: + jwa "^2.0.0" + safe-buffer "^5.0.1" + +kdbush@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/kdbush/-/kdbush-3.0.0.tgz#f8484794d47004cc2d85ed3a79353dbe0abc2bf0" + integrity sha512-hRkd6/XW4HTsA9vjVpY9tuXJYLSlelnkTmVFu4M9/7MIYQtFcHpbugAU7UbOfjOiVSVYl2fqgBuJ32JUmRo5Ew== + +kdbush@^4.0.2: + version "4.0.2" + resolved "https://registry.npmmirror.com/kdbush/-/kdbush-4.0.2.tgz#2f7b7246328b4657dd122b6c7f025fbc2c868e39" + integrity sha512-WbCVYJ27Sz8zi9Q7Q0xHC+05iwkm3Znipc2XTlrnJbsHMYktW4hPhXUE8Ys1engBrvffoSCqbil1JQAa7clRpA== + +keyv@^4.5.3: + version "4.5.4" + resolved "https://registry.npmmirror.com/keyv/-/keyv-4.5.4.tgz" + integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw== + dependencies: + json-buffer "3.0.1" + +kind-of@^3.0.2: + version "3.2.2" + resolved "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz" + integrity sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ== + dependencies: + is-buffer "^1.1.5" + +kind-of@^6.0.2: + version "6.0.3" + resolved "https://registry.npmmirror.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" + integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== + +language-subtag-registry@^0.3.20: + version "0.3.23" + resolved "https://registry.npmmirror.com/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz" + integrity sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ== + +language-tags@^1.0.9: + version "1.0.9" + resolved "https://registry.npmmirror.com/language-tags/-/language-tags-1.0.9.tgz" + integrity sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA== + dependencies: + language-subtag-registry "^0.3.20" + +lazy-cache@^1.0.3: + version "1.0.4" + resolved "https://registry.npmmirror.com/lazy-cache/-/lazy-cache-1.0.4.tgz" + integrity sha512-RE2g0b5VGZsOCFOCgP7omTRYFqydmZkBwl5oNnQ1lDYC57uyO9KqNnNVxT7COSHTxrRCWVcAVOcbjk+tvh/rgQ== + +levn@^0.4.1: + version "0.4.1" + resolved "https://registry.npmmirror.com/levn/-/levn-0.4.1.tgz" + integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== + dependencies: + prelude-ls "^1.2.1" + type-check "~0.4.0" + +lilconfig@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/lilconfig/-/lilconfig-2.1.0.tgz" + integrity sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ== + +lilconfig@^3.0.0, lilconfig@~3.1.2: + version "3.1.2" + resolved "https://registry.npmmirror.com/lilconfig/-/lilconfig-3.1.2.tgz" + integrity sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.npmmirror.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +linkify-it@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/linkify-it/-/linkify-it-5.0.0.tgz" + integrity sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ== + dependencies: + uc.micro "^2.0.0" + +lint-staged@^15.2.9: + version "15.2.10" + resolved "https://registry.npmmirror.com/lint-staged/-/lint-staged-15.2.10.tgz#92ac222f802ba911897dcf23671da5bb80643cd2" + integrity sha512-5dY5t743e1byO19P9I4b3x8HJwalIznL5E1FWYnU6OWw33KxNBSLAc6Cy7F2PsFEO8FKnLwjwm5hx7aMF0jzZg== + dependencies: + chalk "~5.3.0" + commander "~12.1.0" + debug "~4.3.6" + execa "~8.0.1" + lilconfig "~3.1.2" + listr2 "~8.2.4" + micromatch "~4.0.8" + pidtree "~0.6.0" + string-argv "~0.3.2" + yaml "~2.5.0" + +listr2@~8.2.4: + version "8.2.4" + resolved "https://registry.npmmirror.com/listr2/-/listr2-8.2.4.tgz#486b51cbdb41889108cb7e2c90eeb44519f5a77f" + integrity sha512-opevsywziHd3zHCVQGAj8zu+Z3yHNkkoYhWIGnq54RrCVwLz0MozotJEDnKsIBLvkfLGN6BLOyAeRrYI0pKA4g== + dependencies: + cli-truncate "^4.0.0" + colorette "^2.0.20" + eventemitter3 "^5.0.1" + log-update "^6.1.0" + rfdc "^1.4.1" + wrap-ansi "^9.0.0" + +loader-utils@^2.0.2: + version "2.0.4" + resolved "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.4.tgz" + integrity sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw== + dependencies: + big.js "^5.2.2" + emojis-list "^3.0.0" + json5 "^2.1.2" + +locate-path@^6.0.0: + version "6.0.0" + resolved "https://registry.npmmirror.com/locate-path/-/locate-path-6.0.0.tgz" + integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== + dependencies: + p-locate "^5.0.0" + +lodash-es@^4.17.21: + version "4.17.21" + resolved "https://registry.npmmirror.com/lodash-es/-/lodash-es-4.17.21.tgz" + integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw== + +lodash.merge@^4.6.2: + version "4.6.2" + resolved "https://registry.npmmirror.com/lodash.merge/-/lodash.merge-4.6.2.tgz" + integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== + +lodash@^4.17.15, lodash@^4.17.20, lodash@^4.17.21: + version "4.17.21" + resolved "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + +log-update@^6.1.0: + version "6.1.0" + resolved "https://registry.npmmirror.com/log-update/-/log-update-6.1.0.tgz#1a04ff38166f94647ae1af562f4bd6a15b1b7cd4" + integrity sha512-9ie8ItPR6tjY5uYJh8K/Zrv/RMZ5VOlOWvtZdEHYSTFKZfIBPQa9tOAEeAWhd+AnIneLJ22w5fjOYtoutpWq5w== + dependencies: + ansi-escapes "^7.0.0" + cli-cursor "^5.0.0" + slice-ansi "^7.1.0" + strip-ansi "^7.1.0" + wrap-ansi "^9.0.0" + +long@^5.2.1: + version "5.2.3" + resolved "https://registry.npmmirror.com/long/-/long-5.2.3.tgz" + integrity sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q== + +longest-streak@^3.0.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/longest-streak/-/longest-streak-3.1.0.tgz" + integrity sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g== + +longest@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/longest/-/longest-1.0.1.tgz" + integrity sha512-k+yt5n3l48JU4k8ftnKG6V7u32wyH2NfKzeMto9F/QRE0amxy/LayxwlvjjkZEIzqR+19IrtFO8p5kB9QaYUFg== + +loose-envify@^1.1.0, loose-envify@^1.4.0: + version "1.4.0" + resolved "https://registry.npmmirror.com/loose-envify/-/loose-envify-1.4.0.tgz" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== + dependencies: + js-tokens "^3.0.0 || ^4.0.0" + +lowlight@^1.17.0: + version "1.20.0" + resolved "https://registry.npmmirror.com/lowlight/-/lowlight-1.20.0.tgz" + integrity sha512-8Ktj+prEb1RoCPkEOrPMYUN/nCggB7qAWe3a7OpMjWQkh3l2RD5wKRQ+o8Q8YuI9RG/xs95waaI/E6ym/7NsTw== + dependencies: + fault "^1.0.0" + highlight.js "~10.7.0" + +lru-cache@^10.2.0: + version "10.2.2" + resolved "https://registry.npmmirror.com/lru-cache/-/lru-cache-10.2.2.tgz" + integrity sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ== + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.npmmirror.com/lru-cache/-/lru-cache-6.0.0.tgz" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +lru-cache@^7.14.1: + version "7.18.3" + resolved "https://registry.npmmirror.com/lru-cache/-/lru-cache-7.18.3.tgz" + integrity sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA== + +lru-cache@^8.0.0: + version "8.0.5" + resolved "https://registry.npmmirror.com/lru-cache/-/lru-cache-8.0.5.tgz" + integrity sha512-MhWWlVnuab1RG5/zMRRcVGXZLCXrZTgfwMikgzCegsPnG62yDQo5JnqKkrK4jO5iKqDAZGItAqN5CtKBCBWRUA== + +mapbox-gl@^1.2.1: + version "1.13.3" + resolved "https://registry.npmmirror.com/mapbox-gl/-/mapbox-gl-1.13.3.tgz#e024829cfc353f6e99275592061d15dfd7f41a71" + integrity sha512-p8lJFEiqmEQlyv+DQxFAOG/XPWN0Wp7j/Psq93Zywz7qt9CcUKFYDBOoOEKzqe6gudHVJY8/Bhqw6VDpX2lSBg== + dependencies: + "@mapbox/geojson-rewind" "^0.5.2" + "@mapbox/geojson-types" "^1.0.2" + "@mapbox/jsonlint-lines-primitives" "^2.0.2" + "@mapbox/mapbox-gl-supported" "^1.5.0" + "@mapbox/point-geometry" "^0.1.0" + "@mapbox/tiny-sdf" "^1.1.1" + "@mapbox/unitbezier" "^0.0.0" + "@mapbox/vector-tile" "^1.3.1" + "@mapbox/whoots-js" "^3.1.0" + csscolorparser "~1.0.3" + earcut "^2.2.2" + geojson-vt "^3.2.1" + gl-matrix "^3.2.1" + grid-index "^1.1.0" + murmurhash-js "^1.0.0" + pbf "^3.2.1" + potpack "^1.0.1" + quickselect "^2.0.0" + rw "^1.3.3" + supercluster "^7.1.0" + tinyqueue "^2.0.3" + vt-pbf "^3.1.1" + +maplibre-gl@^3.5.2: + version "3.6.2" + resolved "https://registry.npmmirror.com/maplibre-gl/-/maplibre-gl-3.6.2.tgz#abc2f34bddecabef8c20028eff06d62e36d75ccc" + integrity sha512-krg2KFIdOpLPngONDhP6ixCoWl5kbdMINP0moMSJFVX7wX1Clm2M9hlNKXS8vBGlVWwR5R3ZfI6IPrYz7c+aCQ== + dependencies: + "@mapbox/geojson-rewind" "^0.5.2" + "@mapbox/jsonlint-lines-primitives" "^2.0.2" + "@mapbox/point-geometry" "^0.1.0" + "@mapbox/tiny-sdf" "^2.0.6" + "@mapbox/unitbezier" "^0.0.1" + "@mapbox/vector-tile" "^1.3.1" + "@mapbox/whoots-js" "^3.1.0" + "@maplibre/maplibre-gl-style-spec" "^19.3.3" + "@types/geojson" "^7946.0.13" + "@types/mapbox__point-geometry" "^0.1.4" + "@types/mapbox__vector-tile" "^1.3.4" + "@types/pbf" "^3.0.5" + "@types/supercluster" "^7.1.3" + earcut "^2.2.4" + geojson-vt "^3.2.1" + gl-matrix "^3.4.3" + global-prefix "^3.0.0" + kdbush "^4.0.2" + murmurhash-js "^1.0.0" + pbf "^3.2.1" + potpack "^2.0.0" + quickselect "^2.0.0" + supercluster "^8.0.1" + tinyqueue "^2.0.3" + vt-pbf "^3.1.3" + +markdown-it@^14.1.0: + version "14.1.0" + resolved "https://registry.npmmirror.com/markdown-it/-/markdown-it-14.1.0.tgz" + integrity sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg== + dependencies: + argparse "^2.0.1" + entities "^4.4.0" + linkify-it "^5.0.0" + mdurl "^2.0.0" + punycode.js "^2.3.1" + uc.micro "^2.1.0" + +markdown-table@^3.0.0: + version "3.0.3" + resolved "https://registry.npmmirror.com/markdown-table/-/markdown-table-3.0.3.tgz" + integrity sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw== + +md5@^2.3.0: + version "2.3.0" + resolved "https://registry.npmmirror.com/md5/-/md5-2.3.0.tgz#c3da9a6aae3a30b46b7b0c349b87b110dc3bda4f" + integrity sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g== + dependencies: + charenc "0.0.2" + crypt "0.0.2" + is-buffer "~1.1.6" + +mdast-util-find-and-replace@^3.0.0: + version "3.0.1" + resolved "https://registry.npmmirror.com/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.1.tgz#a6fc7b62f0994e973490e45262e4bc07607b04e0" + integrity sha512-SG21kZHGC3XRTSUhtofZkBzZTJNM5ecCi0SK2IMKmSXR8vO3peL+kb1O0z7Zl83jKtutG4k5Wv/W7V3/YHvzPA== + dependencies: + "@types/mdast" "^4.0.0" + escape-string-regexp "^5.0.0" + unist-util-is "^6.0.0" + unist-util-visit-parents "^6.0.0" + +mdast-util-from-markdown@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.1.tgz#32a6e8f512b416e1f51eb817fc64bd867ebcd9cc" + integrity sha512-aJEUyzZ6TzlsX2s5B4Of7lN7EQtAxvtradMMglCQDyaTFgse6CmtmdJ15ElnVRlCg1vpNyVtbem0PWzlNieZsA== + dependencies: + "@types/mdast" "^4.0.0" + "@types/unist" "^3.0.0" + decode-named-character-reference "^1.0.0" + devlop "^1.0.0" + mdast-util-to-string "^4.0.0" + micromark "^4.0.0" + micromark-util-decode-numeric-character-reference "^2.0.0" + micromark-util-decode-string "^2.0.0" + micromark-util-normalize-identifier "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + unist-util-stringify-position "^4.0.0" + +mdast-util-gfm-autolink-literal@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz#abd557630337bd30a6d5a4bd8252e1c2dc0875d5" + integrity sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ== + dependencies: + "@types/mdast" "^4.0.0" + ccount "^2.0.0" + devlop "^1.0.0" + mdast-util-find-and-replace "^3.0.0" + micromark-util-character "^2.0.0" + +mdast-util-gfm-footnote@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.0.0.tgz#25a1753c7d16db8bfd53cd84fe50562bd1e6d6a9" + integrity sha512-5jOT2boTSVkMnQ7LTrd6n/18kqwjmuYqo7JUPe+tRCY6O7dAuTFMtTPauYYrMPpox9hlN0uOx/FL8XvEfG9/mQ== + dependencies: + "@types/mdast" "^4.0.0" + devlop "^1.1.0" + mdast-util-from-markdown "^2.0.0" + mdast-util-to-markdown "^2.0.0" + micromark-util-normalize-identifier "^2.0.0" + +mdast-util-gfm-strikethrough@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz#d44ef9e8ed283ac8c1165ab0d0dfd058c2764c16" + integrity sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg== + dependencies: + "@types/mdast" "^4.0.0" + mdast-util-from-markdown "^2.0.0" + mdast-util-to-markdown "^2.0.0" + +mdast-util-gfm-table@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz#7a435fb6223a72b0862b33afbd712b6dae878d38" + integrity sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg== + dependencies: + "@types/mdast" "^4.0.0" + devlop "^1.0.0" + markdown-table "^3.0.0" + mdast-util-from-markdown "^2.0.0" + mdast-util-to-markdown "^2.0.0" + +mdast-util-gfm-task-list-item@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz#e68095d2f8a4303ef24094ab642e1047b991a936" + integrity sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ== + dependencies: + "@types/mdast" "^4.0.0" + devlop "^1.0.0" + mdast-util-from-markdown "^2.0.0" + mdast-util-to-markdown "^2.0.0" + +mdast-util-gfm@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/mdast-util-gfm/-/mdast-util-gfm-3.0.0.tgz#3f2aecc879785c3cb6a81ff3a243dc11eca61095" + integrity sha512-dgQEX5Amaq+DuUqf26jJqSK9qgixgd6rYDHAv4aTBuA92cTknZlKpPfa86Z/s8Dj8xsAQpFfBmPUHWJBWqS4Bw== + dependencies: + mdast-util-from-markdown "^2.0.0" + mdast-util-gfm-autolink-literal "^2.0.0" + mdast-util-gfm-footnote "^2.0.0" + mdast-util-gfm-strikethrough "^2.0.0" + mdast-util-gfm-table "^2.0.0" + mdast-util-gfm-task-list-item "^2.0.0" + mdast-util-to-markdown "^2.0.0" + +mdast-util-mdx-expression@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.0.tgz#4968b73724d320a379110d853e943a501bfd9d87" + integrity sha512-fGCu8eWdKUKNu5mohVGkhBXCXGnOTLuFqOvGMvdikr+J1w7lDJgxThOKpwRWzzbyXAU2hhSwsmssOY4yTokluw== + dependencies: + "@types/estree-jsx" "^1.0.0" + "@types/hast" "^3.0.0" + "@types/mdast" "^4.0.0" + devlop "^1.0.0" + mdast-util-from-markdown "^2.0.0" + mdast-util-to-markdown "^2.0.0" + +mdast-util-mdx-jsx@^3.0.0: + version "3.1.3" + resolved "https://registry.npmmirror.com/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.1.3.tgz#76b957b3da18ebcfd0de3a9b4451dcd6fdec2320" + integrity sha512-bfOjvNt+1AcbPLTFMFWY149nJz0OjmewJs3LQQ5pIyVGxP4CdOqNVJL6kTaM5c68p8q82Xv3nCyFfUnuEcH3UQ== + dependencies: + "@types/estree-jsx" "^1.0.0" + "@types/hast" "^3.0.0" + "@types/mdast" "^4.0.0" + "@types/unist" "^3.0.0" + ccount "^2.0.0" + devlop "^1.1.0" + mdast-util-from-markdown "^2.0.0" + mdast-util-to-markdown "^2.0.0" + parse-entities "^4.0.0" + stringify-entities "^4.0.0" + unist-util-stringify-position "^4.0.0" + vfile-message "^4.0.0" + +mdast-util-mdxjs-esm@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz#019cfbe757ad62dd557db35a695e7314bcc9fa97" + integrity sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg== + dependencies: + "@types/estree-jsx" "^1.0.0" + "@types/hast" "^3.0.0" + "@types/mdast" "^4.0.0" + devlop "^1.0.0" + mdast-util-from-markdown "^2.0.0" + mdast-util-to-markdown "^2.0.0" + +mdast-util-phrasing@^4.0.0: + version "4.1.0" + resolved "https://registry.npmmirror.com/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz#7cc0a8dec30eaf04b7b1a9661a92adb3382aa6e3" + integrity sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w== + dependencies: + "@types/mdast" "^4.0.0" + unist-util-is "^6.0.0" + +mdast-util-to-hast@^13.0.0: + version "13.2.0" + resolved "https://registry.npmmirror.com/mdast-util-to-hast/-/mdast-util-to-hast-13.2.0.tgz#5ca58e5b921cc0a3ded1bc02eed79a4fe4fe41f4" + integrity sha512-QGYKEuUsYT9ykKBCMOEDLsU5JRObWQusAolFMeko/tYPufNkRffBAQjIE+99jbA87xv6FgmjLtwjh9wBWajwAA== + dependencies: + "@types/hast" "^3.0.0" + "@types/mdast" "^4.0.0" + "@ungap/structured-clone" "^1.0.0" + devlop "^1.0.0" + micromark-util-sanitize-uri "^2.0.0" + trim-lines "^3.0.0" + unist-util-position "^5.0.0" + unist-util-visit "^5.0.0" + vfile "^6.0.0" + +mdast-util-to-markdown@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.0.tgz#9813f1d6e0cdaac7c244ec8c6dabfdb2102ea2b4" + integrity sha512-SR2VnIEdVNCJbP6y7kVTJgPLifdr8WEU440fQec7qHoHOUz/oJ2jmNRqdDQ3rbiStOXb2mCDGTuwsK5OPUgYlQ== + dependencies: + "@types/mdast" "^4.0.0" + "@types/unist" "^3.0.0" + longest-streak "^3.0.0" + mdast-util-phrasing "^4.0.0" + mdast-util-to-string "^4.0.0" + micromark-util-decode-string "^2.0.0" + unist-util-visit "^5.0.0" + zwitch "^2.0.0" + +mdast-util-to-string@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz#7a5121475556a04e7eddeb67b264aae79d312814" + integrity sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg== + dependencies: + "@types/mdast" "^4.0.0" + +mdurl@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/mdurl/-/mdurl-2.0.0.tgz" + integrity sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w== + +media-typer@0.3.0: + version "0.3.0" + resolved "https://registry.npmmirror.com/media-typer/-/media-typer-0.3.0.tgz" + integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ== + +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== + +merge2@^1.3.0, merge2@^1.4.1: + version "1.4.1" + resolved "https://registry.npmmirror.com/merge2/-/merge2-1.4.1.tgz" + integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== + +micromark-core-commonmark@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/micromark-core-commonmark/-/micromark-core-commonmark-2.0.1.tgz#9a45510557d068605c6e9a80f282b2bb8581e43d" + integrity sha512-CUQyKr1e///ZODyD1U3xit6zXwy1a8q2a1S1HKtIlmgvurrEpaw/Y9y6KSIbF8P59cn/NjzHyO+Q2fAyYLQrAA== + dependencies: + decode-named-character-reference "^1.0.0" + devlop "^1.0.0" + micromark-factory-destination "^2.0.0" + micromark-factory-label "^2.0.0" + micromark-factory-space "^2.0.0" + micromark-factory-title "^2.0.0" + micromark-factory-whitespace "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-chunked "^2.0.0" + micromark-util-classify-character "^2.0.0" + micromark-util-html-tag-name "^2.0.0" + micromark-util-normalize-identifier "^2.0.0" + micromark-util-resolve-all "^2.0.0" + micromark-util-subtokenize "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-extension-gfm-autolink-literal@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz#6286aee9686c4462c1e3552a9d505feddceeb935" + integrity sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw== + dependencies: + micromark-util-character "^2.0.0" + micromark-util-sanitize-uri "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-extension-gfm-footnote@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz#4dab56d4e398b9853f6fe4efac4fc9361f3e0750" + integrity sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw== + dependencies: + devlop "^1.0.0" + micromark-core-commonmark "^2.0.0" + micromark-factory-space "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-normalize-identifier "^2.0.0" + micromark-util-sanitize-uri "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-extension-gfm-strikethrough@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz#86106df8b3a692b5f6a92280d3879be6be46d923" + integrity sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw== + dependencies: + devlop "^1.0.0" + micromark-util-chunked "^2.0.0" + micromark-util-classify-character "^2.0.0" + micromark-util-resolve-all "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-extension-gfm-table@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.0.tgz#5cadedfbb29fca7abf752447967003dc3b6583c9" + integrity sha512-Ub2ncQv+fwD70/l4ou27b4YzfNaCJOvyX4HxXU15m7mpYY+rjuWzsLIPZHJL253Z643RpbcP1oeIJlQ/SKW67g== + dependencies: + devlop "^1.0.0" + micromark-factory-space "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-extension-gfm-tagfilter@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz#f26d8a7807b5985fba13cf61465b58ca5ff7dc57" + integrity sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg== + dependencies: + micromark-util-types "^2.0.0" + +micromark-extension-gfm-task-list-item@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz#bcc34d805639829990ec175c3eea12bb5b781f2c" + integrity sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw== + dependencies: + devlop "^1.0.0" + micromark-factory-space "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-extension-gfm@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz#3e13376ab95dd7a5cfd0e29560dfe999657b3c5b" + integrity sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w== + dependencies: + micromark-extension-gfm-autolink-literal "^2.0.0" + micromark-extension-gfm-footnote "^2.0.0" + micromark-extension-gfm-strikethrough "^2.0.0" + micromark-extension-gfm-table "^2.0.0" + micromark-extension-gfm-tagfilter "^2.0.0" + micromark-extension-gfm-task-list-item "^2.0.0" + micromark-util-combine-extensions "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-factory-destination@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-factory-destination/-/micromark-factory-destination-2.0.0.tgz#857c94debd2c873cba34e0445ab26b74f6a6ec07" + integrity sha512-j9DGrQLm/Uhl2tCzcbLhy5kXsgkHUrjJHg4fFAeoMRwJmJerT9aw4FEhIbZStWN8A3qMwOp1uzHr4UL8AInxtA== + dependencies: + micromark-util-character "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-factory-label@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-factory-label/-/micromark-factory-label-2.0.0.tgz#17c5c2e66ce39ad6f4fc4cbf40d972f9096f726a" + integrity sha512-RR3i96ohZGde//4WSe/dJsxOX6vxIg9TimLAS3i4EhBAFx8Sm5SmqVfR8E87DPSR31nEAjZfbt91OMZWcNgdZw== + dependencies: + devlop "^1.0.0" + micromark-util-character "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-factory-space@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-factory-space/-/micromark-factory-space-2.0.0.tgz#5e7afd5929c23b96566d0e1ae018ae4fcf81d030" + integrity sha512-TKr+LIDX2pkBJXFLzpyPyljzYK3MtmllMUMODTQJIUfDGncESaqB90db9IAUcz4AZAJFdd8U9zOp9ty1458rxg== + dependencies: + micromark-util-character "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-factory-title@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-factory-title/-/micromark-factory-title-2.0.0.tgz#726140fc77892af524705d689e1cf06c8a83ea95" + integrity sha512-jY8CSxmpWLOxS+t8W+FG3Xigc0RDQA9bKMY/EwILvsesiRniiVMejYTE4wumNc2f4UbAa4WsHqe3J1QS1sli+A== + dependencies: + micromark-factory-space "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-factory-whitespace@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.0.tgz#9e92eb0f5468083381f923d9653632b3cfb5f763" + integrity sha512-28kbwaBjc5yAI1XadbdPYHX/eDnqaUFVikLwrO7FDnKG7lpgxnvk/XGRhX/PN0mOZ+dBSZ+LgunHS+6tYQAzhA== + dependencies: + micromark-factory-space "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-util-character@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/micromark-util-character/-/micromark-util-character-2.1.0.tgz#31320ace16b4644316f6bf057531689c71e2aee1" + integrity sha512-KvOVV+X1yLBfs9dCBSopq/+G1PcgT3lAK07mC4BzXi5E7ahzMAF8oIupDDJ6mievI6F+lAATkbQQlQixJfT3aQ== + dependencies: + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-util-chunked@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-chunked/-/micromark-util-chunked-2.0.0.tgz#e51f4db85fb203a79dbfef23fd41b2f03dc2ef89" + integrity sha512-anK8SWmNphkXdaKgz5hJvGa7l00qmcaUQoMYsBwDlSKFKjc6gjGXPDw3FNL3Nbwq5L8gE+RCbGqTw49FK5Qyvg== + dependencies: + micromark-util-symbol "^2.0.0" + +micromark-util-classify-character@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-classify-character/-/micromark-util-classify-character-2.0.0.tgz#8c7537c20d0750b12df31f86e976d1d951165f34" + integrity sha512-S0ze2R9GH+fu41FA7pbSqNWObo/kzwf8rN/+IGlW/4tC6oACOs8B++bh+i9bVyNnwCcuksbFwsBme5OCKXCwIw== + dependencies: + micromark-util-character "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-util-combine-extensions@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.0.tgz#75d6ab65c58b7403616db8d6b31315013bfb7ee5" + integrity sha512-vZZio48k7ON0fVS3CUgFatWHoKbbLTK/rT7pzpJ4Bjp5JjkZeasRfrS9wsBdDJK2cJLHMckXZdzPSSr1B8a4oQ== + dependencies: + micromark-util-chunked "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-util-decode-numeric-character-reference@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.1.tgz#2698bbb38f2a9ba6310e359f99fcb2b35a0d2bd5" + integrity sha512-bmkNc7z8Wn6kgjZmVHOX3SowGmVdhYS7yBpMnuMnPzDq/6xwVA604DuOXMZTO1lvq01g+Adfa0pE2UKGlxL1XQ== + dependencies: + micromark-util-symbol "^2.0.0" + +micromark-util-decode-string@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-decode-string/-/micromark-util-decode-string-2.0.0.tgz#7dfa3a63c45aecaa17824e656bcdb01f9737154a" + integrity sha512-r4Sc6leeUTn3P6gk20aFMj2ntPwn6qpDZqWvYmAG6NgvFTIlj4WtrAudLi65qYoaGdXYViXYw2pkmn7QnIFasA== + dependencies: + decode-named-character-reference "^1.0.0" + micromark-util-character "^2.0.0" + micromark-util-decode-numeric-character-reference "^2.0.0" + micromark-util-symbol "^2.0.0" + +micromark-util-encode@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-encode/-/micromark-util-encode-2.0.0.tgz#0921ac7953dc3f1fd281e3d1932decfdb9382ab1" + integrity sha512-pS+ROfCXAGLWCOc8egcBvT0kf27GoWMqtdarNfDcjb6YLuV5cM3ioG45Ys2qOVqeqSbjaKg72vU+Wby3eddPsA== + +micromark-util-html-tag-name@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.0.tgz#ae34b01cbe063363847670284c6255bb12138ec4" + integrity sha512-xNn4Pqkj2puRhKdKTm8t1YHC/BAjx6CEwRFXntTaRf/x16aqka6ouVoutm+QdkISTlT7e2zU7U4ZdlDLJd2Mcw== + +micromark-util-normalize-identifier@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.0.tgz#91f9a4e65fe66cc80c53b35b0254ad67aa431d8b" + integrity sha512-2xhYT0sfo85FMrUPtHcPo2rrp1lwbDEEzpx7jiH2xXJLqBuy4H0GgXk5ToU8IEwoROtXuL8ND0ttVa4rNqYK3w== + dependencies: + micromark-util-symbol "^2.0.0" + +micromark-util-resolve-all@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.0.tgz#189656e7e1a53d0c86a38a652b284a252389f364" + integrity sha512-6KU6qO7DZ7GJkaCgwBNtplXCvGkJToU86ybBAUdavvgsCiG8lSSvYxr9MhwmQ+udpzywHsl4RpGJsYWG1pDOcA== + dependencies: + micromark-util-types "^2.0.0" + +micromark-util-sanitize-uri@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.0.tgz#ec8fbf0258e9e6d8f13d9e4770f9be64342673de" + integrity sha512-WhYv5UEcZrbAtlsnPuChHUAsu/iBPOVaEVsntLBIdpibO0ddy8OzavZz3iL2xVvBZOpolujSliP65Kq0/7KIYw== + dependencies: + micromark-util-character "^2.0.0" + micromark-util-encode "^2.0.0" + micromark-util-symbol "^2.0.0" + +micromark-util-subtokenize@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/micromark-util-subtokenize/-/micromark-util-subtokenize-2.0.1.tgz#76129c49ac65da6e479c09d0ec4b5f29ec6eace5" + integrity sha512-jZNtiFl/1aY73yS3UGQkutD0UbhTt68qnRpw2Pifmz5wV9h8gOVsN70v+Lq/f1rKaU/W8pxRe8y8Q9FX1AOe1Q== + dependencies: + devlop "^1.0.0" + micromark-util-chunked "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-util-symbol@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-symbol/-/micromark-util-symbol-2.0.0.tgz#12225c8f95edf8b17254e47080ce0862d5db8044" + integrity sha512-8JZt9ElZ5kyTnO94muPxIGS8oyElRJaiJO8EzV6ZSyGQ1Is8xwl4Q45qU5UOg+bGH4AikWziz0iN4sFLWs8PGw== + +micromark-util-types@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-types/-/micromark-util-types-2.0.0.tgz#63b4b7ffeb35d3ecf50d1ca20e68fc7caa36d95e" + integrity sha512-oNh6S2WMHWRZrmutsRmDDfkzKtxF+bc2VxLC9dvtrDIRFln627VsFP6fLMgTryGDljgLPjkrzQSDcPrjPyDJ5w== + +micromark@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/micromark/-/micromark-4.0.0.tgz#84746a249ebd904d9658cfabc1e8e5f32cbc6249" + integrity sha512-o/sd0nMof8kYff+TqcDx3VSrgBTcZpSvYcAHIfHhv5VAuNmisCxjhx6YmxS8PFEpb9z5WKWKPdzf0jM23ro3RQ== + dependencies: + "@types/debug" "^4.0.0" + debug "^4.0.0" + decode-named-character-reference "^1.0.0" + devlop "^1.0.0" + micromark-core-commonmark "^2.0.0" + micromark-factory-space "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-chunked "^2.0.0" + micromark-util-combine-extensions "^2.0.0" + micromark-util-decode-numeric-character-reference "^2.0.0" + micromark-util-encode "^2.0.0" + micromark-util-normalize-identifier "^2.0.0" + micromark-util-resolve-all "^2.0.0" + micromark-util-sanitize-uri "^2.0.0" + micromark-util-subtokenize "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromatch@^4.0.4, micromatch@^4.0.5: + version "4.0.7" + resolved "https://registry.npmmirror.com/micromatch/-/micromatch-4.0.7.tgz" + integrity sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q== + dependencies: + braces "^3.0.3" + picomatch "^2.3.1" + +micromatch@~4.0.8: + version "4.0.8" + resolved "https://registry.npmmirror.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" + integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== + dependencies: + braces "^3.0.3" + picomatch "^2.3.1" + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12, mime-types@~2.1.24: + version "2.1.35" + resolved "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +mimic-fn@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc" + integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw== + +mimic-function@^5.0.0: + version "5.0.1" + resolved "https://registry.npmmirror.com/mimic-function/-/mimic-function-5.0.1.tgz#acbe2b3349f99b9deaca7fb70e48b83e94e67076" + integrity sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA== + +minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: + version "3.1.2" + resolved "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +minimatch@^9.0.4: + version "9.0.4" + resolved "https://registry.npmmirror.com/minimatch/-/minimatch-9.0.4.tgz" + integrity sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw== + dependencies: + brace-expansion "^2.0.1" + +minimist@^1.2.0, minimist@^1.2.6, minimist@^1.2.8, minimist@~1.2.8: + version "1.2.8" + resolved "https://registry.npmmirror.com/minimist/-/minimist-1.2.8.tgz" + integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== + +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.1.2: + version "7.1.2" + resolved "https://registry.npmmirror.com/minipass/-/minipass-7.1.2.tgz" + integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== + +mkdirp@^0.5.4: + version "0.5.6" + resolved "https://registry.npmmirror.com/mkdirp/-/mkdirp-0.5.6.tgz" + integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== + dependencies: + minimist "^1.2.6" + +ml-array-max@^1.2.4: + version "1.2.4" + resolved "https://registry.npmmirror.com/ml-array-max/-/ml-array-max-1.2.4.tgz" + integrity sha512-BlEeg80jI0tW6WaPyGxf5Sa4sqvcyY6lbSn5Vcv44lp1I2GR6AWojfUvLnGTNsIXrZ8uqWmo8VcG1WpkI2ONMQ== + dependencies: + is-any-array "^2.0.0" + +ml-array-min@^1.2.3: + version "1.2.3" + resolved "https://registry.npmmirror.com/ml-array-min/-/ml-array-min-1.2.3.tgz" + integrity sha512-VcZ5f3VZ1iihtrGvgfh/q0XlMobG6GQ8FsNyQXD3T+IlstDv85g8kfV0xUG1QPRO/t21aukaJowDzMTc7j5V6Q== + dependencies: + is-any-array "^2.0.0" + +ml-array-rescale@^1.3.7: + version "1.3.7" + resolved "https://registry.npmmirror.com/ml-array-rescale/-/ml-array-rescale-1.3.7.tgz" + integrity sha512-48NGChTouvEo9KBctDfHC3udWnQKNKEWN0ziELvY3KG25GR5cA8K8wNVzracsqSW1QEkAXjTNx+ycgAv06/1mQ== + dependencies: + is-any-array "^2.0.0" + ml-array-max "^1.2.4" + ml-array-min "^1.2.3" + +ml-matrix@^6.10.4: + version "6.11.1" + resolved "https://registry.npmmirror.com/ml-matrix/-/ml-matrix-6.11.1.tgz" + integrity sha512-Fvp1xF1O07tt6Ux9NcnEQTei5UlqbRpvvaFZGs7l3Ij+nOaEDcmbSVtxwNa8V4IfdyFI1NLNUteroMJ1S6vcEg== + dependencies: + is-any-array "^2.0.1" + ml-array-rescale "^1.3.7" + +mock-property@~1.0.0: + version "1.0.3" + resolved "https://registry.npmmirror.com/mock-property/-/mock-property-1.0.3.tgz" + integrity sha512-2emPTb1reeLLYwHxyVx993iYyCHEiRRO+y8NFXFPL5kl5q14sgTK76cXyEKkeKCHeRw35SfdkUJ10Q1KfHuiIQ== + dependencies: + define-data-property "^1.1.1" + functions-have-names "^1.2.3" + gopd "^1.0.1" + has-property-descriptors "^1.0.0" + hasown "^2.0.0" + isarray "^2.0.5" + +moment-timezone@^0.5.43: + version "0.5.45" + resolved "https://registry.npmmirror.com/moment-timezone/-/moment-timezone-0.5.45.tgz" + integrity sha512-HIWmqA86KcmCAhnMAN0wuDOARV/525R2+lOLotuGFzn4HO+FH+/645z2wx0Dt3iDv6/p61SIvKnDstISainhLQ== + dependencies: + moment "^2.29.4" + +moment@^2.29.4: + version "2.30.1" + resolved "https://registry.npmmirror.com/moment/-/moment-2.30.1.tgz" + integrity sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how== + +monaco-editor-webpack-plugin@^7.1.0: + version "7.1.0" + resolved "https://registry.npmmirror.com/monaco-editor-webpack-plugin/-/monaco-editor-webpack-plugin-7.1.0.tgz" + integrity sha512-ZjnGINHN963JQkFqjjcBtn1XBtUATDZBMgNQhDQwd78w2ukRhFXAPNgWuacaQiDZsUr4h1rWv5Mv6eriKuOSzA== + dependencies: + loader-utils "^2.0.2" + +monaco-editor@>=0.31.0: + version "0.34.1" + resolved "https://registry.npmmirror.com/monaco-editor/-/monaco-editor-0.34.1.tgz" + integrity sha512-FKc80TyiMaruhJKKPz5SpJPIjL+dflGvz4CpuThaPMc94AyN7SeC9HQ8hrvaxX7EyHdJcUY5i4D0gNyJj1vSZQ== + +moo@^0.5.0: + version "0.5.2" + resolved "https://registry.npmmirror.com/moo/-/moo-0.5.2.tgz" + integrity sha512-iSAJLHYKnX41mKcJKjqvnAN9sf0LMDTXDEvFv+ffuRR9a1MIuXLjMNL6EsnDHSkKLTWNqQQ5uo61P4EbU4NU+Q== + +mousetrap@^1.6.5: + version "1.6.5" + resolved "https://registry.npmmirror.com/mousetrap/-/mousetrap-1.6.5.tgz#8a766d8c272b08393d5f56074e0b5ec183485bf9" + integrity sha512-QNo4kEepaIBwiT8CDhP98umTetp+JNfQYBWvC1pc6/OAibuXtRcxZ58Qz8skvEHYvURne/7R8T5VoOI7rDsEUA== + +ms@2.1.2, ms@^2.1.1: + version "2.1.2" + resolved "https://registry.npmmirror.com/ms/-/ms-2.1.2.tgz" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + +multer@^1.4.5-lts.1: + version "1.4.5-lts.1" + resolved "https://registry.npmmirror.com/multer/-/multer-1.4.5-lts.1.tgz" + integrity sha512-ywPWvcDMeH+z9gQq5qYHCCy+ethsk4goepZ45GLD63fOu0YcNecQxi64nDs3qluZB+murG3/D4dJ7+dGctcCQQ== + dependencies: + append-field "^1.0.0" + busboy "^1.0.0" + concat-stream "^1.5.2" + mkdirp "^0.5.4" + object-assign "^4.1.1" + type-is "^1.6.4" + xtend "^4.0.0" + +murmurhash-js@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/murmurhash-js/-/murmurhash-js-1.0.0.tgz#b06278e21fc6c37fa5313732b0412bcb6ae15f51" + integrity sha512-TvmkNhkv8yct0SVBSy+o8wYzXjE4Zz3PCesbfs8HiCXXdcTuocApFv11UWlNFWKYsP2okqrhb7JNlSm9InBhIw== + +mysql2@^3.6.2: + version "3.11.0" + resolved "https://registry.npmmirror.com/mysql2/-/mysql2-3.11.0.tgz" + integrity sha512-J9phbsXGvTOcRVPR95YedzVSxJecpW5A5+cQ57rhHIFXteTP10HCs+VBjS7DHIKfEaI1zQ5tlVrquCd64A6YvA== + dependencies: + aws-ssl-profiles "^1.1.1" + denque "^2.1.0" + generate-function "^2.3.1" + iconv-lite "^0.6.3" + long "^5.2.1" + lru-cache "^8.0.0" + named-placeholders "^1.1.3" + seq-queue "^0.0.5" + sqlstring "^2.3.2" + +mz@^2.7.0: + version "2.7.0" + resolved "https://registry.npmmirror.com/mz/-/mz-2.7.0.tgz" + integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q== + dependencies: + any-promise "^1.0.0" + object-assign "^4.0.1" + thenify-all "^1.0.0" + +named-placeholders@^1.1.3: + version "1.1.3" + resolved "https://registry.npmmirror.com/named-placeholders/-/named-placeholders-1.1.3.tgz" + integrity sha512-eLoBxg6wE/rZkJPhU/xRX1WTpkFEwDJEN96oxFrTsqBdbT5ec295Q+CoHrL9IT0DipqKhmGcaZmwOt8OON5x1w== + dependencies: + lru-cache "^7.14.1" + +nanoid@^3.3.4, nanoid@^3.3.7: + version "3.3.7" + resolved "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.7.tgz" + integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g== + +natural-compare@^1.4.0: + version "1.4.0" + resolved "https://registry.npmmirror.com/natural-compare/-/natural-compare-1.4.0.tgz" + integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== + +nearley@^2.20.1: + version "2.20.1" + resolved "https://registry.npmmirror.com/nearley/-/nearley-2.20.1.tgz" + integrity sha512-+Mc8UaAebFzgV+KpI5n7DasuuQCHA89dmwm7JXw3TV43ukfNQ9DnBH3Mdb2g/I4Fdxc26pwimBWvjIw0UAILSQ== + dependencies: + commander "^2.19.0" + moo "^0.5.0" + railroad-diagrams "^1.0.0" + randexp "0.4.6" + +next-auth@^4.20.1: + version "4.24.7" + resolved "https://registry.npmmirror.com/next-auth/-/next-auth-4.24.7.tgz" + integrity sha512-iChjE8ov/1K/z98gdKbn2Jw+2vLgJtVV39X+rCP5SGnVQuco7QOr19FRNGMIrD8d3LYhHWV9j9sKLzq1aDWWQQ== + dependencies: + "@babel/runtime" "^7.20.13" + "@panva/hkdf" "^1.0.2" + cookie "^0.5.0" + jose "^4.15.5" + oauth "^0.9.15" + openid-client "^5.4.0" + preact "^10.6.3" + preact-render-to-string "^5.1.19" + uuid "^8.3.2" + +next-connect@^1.0.0-next.4: + version "1.0.0" + resolved "https://registry.npmmirror.com/next-connect/-/next-connect-1.0.0.tgz" + integrity sha512-FeLURm9MdvzY1SDUGE74tk66mukSqL6MAzxajW7Gqh6DZKBZLrXmXnGWtHJZXkfvoi+V/DUe9Hhtfkl4+nTlYA== + dependencies: + "@tsconfig/node16" "^1.0.3" + regexparam "^2.0.1" + +next-transpile-modules@^10.0.1: + version "10.0.1" + resolved "https://registry.npmmirror.com/next-transpile-modules/-/next-transpile-modules-10.0.1.tgz" + integrity sha512-4VX/LCMofxIYAVV58UmD+kr8jQflpLWvas/BQ4Co0qWLWzVh06FoZkECkrX5eEZT6oJFqie6+kfbTA3EZCVtdQ== + dependencies: + enhanced-resolve "^5.10.0" + +next@13.4.7: + version "13.4.7" + resolved "https://registry.npmmirror.com/next/-/next-13.4.7.tgz" + integrity sha512-M8z3k9VmG51SRT6v5uDKdJXcAqLzP3C+vaKfLIAM0Mhx1um1G7MDnO63+m52qPdZfrTFzMZNzfsgvm3ghuVHIQ== + dependencies: + "@next/env" "13.4.7" + "@swc/helpers" "0.5.1" + busboy "1.6.0" + caniuse-lite "^1.0.30001406" + postcss "8.4.14" + styled-jsx "5.1.1" + watchpack "2.4.0" + zod "3.21.4" + optionalDependencies: + "@next/swc-darwin-arm64" "13.4.7" + "@next/swc-darwin-x64" "13.4.7" + "@next/swc-linux-arm64-gnu" "13.4.7" + "@next/swc-linux-arm64-musl" "13.4.7" + "@next/swc-linux-x64-gnu" "13.4.7" + "@next/swc-linux-x64-musl" "13.4.7" + "@next/swc-win32-arm64-msvc" "13.4.7" + "@next/swc-win32-ia32-msvc" "13.4.7" + "@next/swc-win32-x64-msvc" "13.4.7" + +node-fetch@^2.6.9: + version "2.7.0" + resolved "https://registry.npmmirror.com/node-fetch/-/node-fetch-2.7.0.tgz" + integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== + dependencies: + whatwg-url "^5.0.0" + +node-releases@^2.0.14: + version "2.0.14" + resolved "https://registry.npmmirror.com/node-releases/-/node-releases-2.0.14.tgz" + integrity sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw== + +normalize-path@^3.0.0, normalize-path@~3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/normalize-path/-/normalize-path-3.0.0.tgz" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + +normalize-range@^0.1.2: + version "0.1.2" + resolved "https://registry.npmmirror.com/normalize-range/-/normalize-range-0.1.2.tgz" + integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA== + +npm-run-path@^5.1.0: + version "5.3.0" + resolved "https://registry.npmmirror.com/npm-run-path/-/npm-run-path-5.3.0.tgz#e23353d0ebb9317f174e93417e4a4d82d0249e9f" + integrity sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ== + dependencies: + path-key "^4.0.0" + +nprogress@^0.2.0: + version "0.2.0" + resolved "https://registry.npmmirror.com/nprogress/-/nprogress-0.2.0.tgz" + integrity sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA== + +oauth@^0.9.15: + version "0.9.15" + resolved "https://registry.npmmirror.com/oauth/-/oauth-0.9.15.tgz" + integrity sha512-a5ERWK1kh38ExDEfoO6qUHJb32rd7aYmPHuyCu3Fta/cnICvYmgd2uhuKXvPD+PXB+gCEYYEaQdIRAjCOwAKNA== + +object-assign@*, object-assign@^4.0.1, object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.npmmirror.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== + +object-hash@^2.2.0: + version "2.2.0" + resolved "https://registry.npmmirror.com/object-hash/-/object-hash-2.2.0.tgz" + integrity sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw== + +object-hash@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/object-hash/-/object-hash-3.0.0.tgz" + integrity sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw== + +object-inspect@^1.13.1: + version "1.13.1" + resolved "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.13.1.tgz" + integrity sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ== + +object-inspect@~1.12.3: + version "1.12.3" + resolved "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.12.3.tgz" + integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g== + +object-is@^1.1.5: + version "1.1.6" + resolved "https://registry.npmmirror.com/object-is/-/object-is-1.1.6.tgz" + integrity sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.npmmirror.com/object-keys/-/object-keys-1.1.1.tgz" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +object.assign@^4.1.4, object.assign@^4.1.5: + version "4.1.5" + resolved "https://registry.npmmirror.com/object.assign/-/object.assign-4.1.5.tgz" + integrity sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ== + dependencies: + call-bind "^1.0.5" + define-properties "^1.2.1" + has-symbols "^1.0.3" + object-keys "^1.1.1" + +object.entries@^1.1.8: + version "1.1.8" + resolved "https://registry.npmmirror.com/object.entries/-/object.entries-1.1.8.tgz" + integrity sha512-cmopxi8VwRIAw/fkijJohSfpef5PdN0pMQJN6VC/ZKvn0LIknWD8KtgY6KlQdEc4tIjcQ3HxSMmnvtzIscdaYQ== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" + +object.fromentries@^2.0.7, object.fromentries@^2.0.8: + version "2.0.8" + resolved "https://registry.npmmirror.com/object.fromentries/-/object.fromentries-2.0.8.tgz" + integrity sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-object-atoms "^1.0.0" + +object.groupby@^1.0.1: + version "1.0.3" + resolved "https://registry.npmmirror.com/object.groupby/-/object.groupby-1.0.3.tgz" + integrity sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + +object.hasown@^1.1.4: + version "1.1.4" + resolved "https://registry.npmmirror.com/object.hasown/-/object.hasown-1.1.4.tgz" + integrity sha512-FZ9LZt9/RHzGySlBARE3VF+gE26TxR38SdmqOqliuTnl9wrKulaQs+4dee1V+Io8VfxqzAfHu6YuRgUy8OHoTg== + dependencies: + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-object-atoms "^1.0.0" + +object.values@^1.1.6, object.values@^1.1.7, object.values@^1.2.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/object.values/-/object.values-1.2.0.tgz" + integrity sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" + +oidc-token-hash@^5.0.3: + version "5.0.3" + resolved "https://registry.npmmirror.com/oidc-token-hash/-/oidc-token-hash-5.0.3.tgz" + integrity sha512-IF4PcGgzAr6XXSff26Sk/+P4KZFJVuHAJZj3wgO3vX2bMdNVp/QXTP3P7CEm9V1IdG8lDLY3HhiqpsE/nOwpPw== + +once@^1.3.0: + version "1.4.0" + resolved "https://registry.npmmirror.com/once/-/once-1.4.0.tgz" + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== + dependencies: + wrappy "1" + +onecolor@^3.1.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/onecolor/-/onecolor-3.1.0.tgz" + integrity sha512-YZSypViXzu3ul5LMu/m6XjJ9ol8qAy9S2VjHl5E6UlhUH1KGKWabyEJifn0Jjpw23bYDzC2ucKMPGiH5kfwSGQ== + +onetime@^6.0.0: + version "6.0.0" + resolved "https://registry.npmmirror.com/onetime/-/onetime-6.0.0.tgz#7c24c18ed1fd2e9bca4bd26806a33613c77d34b4" + integrity sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ== + dependencies: + mimic-fn "^4.0.0" + +onetime@^7.0.0: + version "7.0.0" + resolved "https://registry.npmmirror.com/onetime/-/onetime-7.0.0.tgz#9f16c92d8c9ef5120e3acd9dd9957cceecc1ab60" + integrity sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ== + dependencies: + mimic-function "^5.0.0" + +openid-client@^5.4.0: + version "5.6.5" + resolved "https://registry.npmmirror.com/openid-client/-/openid-client-5.6.5.tgz" + integrity sha512-5P4qO9nGJzB5PI0LFlhj4Dzg3m4odt0qsJTfyEtZyOlkgpILwEioOhVVJOrS1iVH494S4Ee5OCjjg6Bf5WOj3w== + dependencies: + jose "^4.15.5" + lru-cache "^6.0.0" + object-hash "^2.2.0" + oidc-token-hash "^5.0.3" + +optionator@^0.9.3: + version "0.9.4" + resolved "https://registry.npmmirror.com/optionator/-/optionator-0.9.4.tgz#7ea1c1a5d91d764fb282139c88fe11e182a3a734" + integrity sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g== + dependencies: + deep-is "^0.1.3" + fast-levenshtein "^2.0.6" + levn "^0.4.1" + prelude-ls "^1.2.1" + type-check "^0.4.0" + word-wrap "^1.2.5" + +p-limit@^3.0.2: + version "3.1.0" + resolved "https://registry.npmmirror.com/p-limit/-/p-limit-3.1.0.tgz" + integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== + dependencies: + yocto-queue "^0.1.0" + +p-locate@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/p-locate/-/p-locate-5.0.0.tgz" + integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== + dependencies: + p-limit "^3.0.2" + +package-json-from-dist@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz" + integrity sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw== + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/parent-module/-/parent-module-1.0.1.tgz" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-entities@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/parse-entities/-/parse-entities-2.0.0.tgz" + integrity sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ== + dependencies: + character-entities "^1.0.0" + character-entities-legacy "^1.0.0" + character-reference-invalid "^1.0.0" + is-alphanumerical "^1.0.0" + is-decimal "^1.0.0" + is-hexadecimal "^1.0.0" + +parse-entities@^4.0.0: + version "4.0.1" + resolved "https://registry.npmmirror.com/parse-entities/-/parse-entities-4.0.1.tgz#4e2a01111fb1c986549b944af39eeda258fc9e4e" + integrity sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w== + dependencies: + "@types/unist" "^2.0.0" + character-entities "^2.0.0" + character-entities-legacy "^3.0.0" + character-reference-invalid "^2.0.0" + decode-named-character-reference "^1.0.0" + is-alphanumerical "^2.0.0" + is-decimal "^2.0.0" + is-hexadecimal "^2.0.0" + +parse-json@^5.0.0: + version "5.2.0" + resolved "https://registry.npmmirror.com/parse-json/-/parse-json-5.2.0.tgz" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +parse5@^7.0.0: + version "7.1.2" + resolved "https://registry.npmmirror.com/parse5/-/parse5-7.1.2.tgz#0736bebbfd77793823240a23b7fc5e010b7f8e32" + integrity sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw== + dependencies: + entities "^4.4.0" + +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/path-exists/-/path-exists-4.0.0.tgz" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== + +path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.npmmirror.com/path-key/-/path-key-3.1.1.tgz" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + +path-key@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/path-key/-/path-key-4.0.0.tgz#295588dc3aee64154f877adb9d780b81c554bf18" + integrity sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ== + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.npmmirror.com/path-parse/-/path-parse-1.0.7.tgz" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-scurry@^1.11.1: + version "1.11.1" + resolved "https://registry.npmmirror.com/path-scurry/-/path-scurry-1.11.1.tgz" + integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA== + dependencies: + lru-cache "^10.2.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/path-type/-/path-type-4.0.0.tgz" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +path-type@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/path-type/-/path-type-5.0.0.tgz" + integrity sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg== + +pbf@^3.2.1: + version "3.3.0" + resolved "https://registry.npmmirror.com/pbf/-/pbf-3.3.0.tgz#1790f3d99118333cc7f498de816028a346ef367f" + integrity sha512-XDF38WCH3z5OV/OVa8GKUNtLAyneuzbCisx7QUCF8Q6Nutx0WnJrQe5O+kOtBlLfRNUws98Y58Lblp+NJG5T4Q== + dependencies: + ieee754 "^1.1.12" + resolve-protobuf-schema "^2.1.0" + +pdfast@^0.2.0: + version "0.2.0" + resolved "https://registry.npmmirror.com/pdfast/-/pdfast-0.2.0.tgz" + integrity sha512-cq6TTu6qKSFUHwEahi68k/kqN2mfepjkGrG9Un70cgdRRKLKY6Rf8P8uvP2NvZktaQZNF3YE7agEkLj0vGK9bA== + +pg-connection-string@^2.6.1: + version "2.6.4" + resolved "https://registry.npmmirror.com/pg-connection-string/-/pg-connection-string-2.6.4.tgz" + integrity sha512-v+Z7W/0EO707aNMaAEfiGnGL9sxxumwLl2fJvCQtMn9Fxsg+lPpPkdcyBSv/KFgpGdYkMfn+EI1Or2EHjpgLCA== + +picocolors@^1.0.0, picocolors@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/picocolors/-/picocolors-1.0.1.tgz" + integrity sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew== + +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: + version "2.3.1" + resolved "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + +pidtree@~0.6.0: + version "0.6.0" + resolved "https://registry.npmmirror.com/pidtree/-/pidtree-0.6.0.tgz#90ad7b6d42d5841e69e0a2419ef38f8883aa057c" + integrity sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g== + +pify@^2.3.0: + version "2.3.0" + resolved "https://registry.npmmirror.com/pify/-/pify-2.3.0.tgz" + integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== + +pirates@^4.0.1: + version "4.0.6" + resolved "https://registry.npmmirror.com/pirates/-/pirates-4.0.6.tgz" + integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg== + +point-in-polygon@^1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/point-in-polygon/-/point-in-polygon-1.1.0.tgz#b0af2616c01bdee341cbf2894df643387ca03357" + integrity sha512-3ojrFwjnnw8Q9242TzgXuTD+eKiutbzyslcq1ydfu82Db2y+Ogbmyrkpv0Hgj31qwT3lbS9+QAAO/pIQM35XRw== + +polygon-clipping@^0.15.3: + version "0.15.7" + resolved "https://registry.npmmirror.com/polygon-clipping/-/polygon-clipping-0.15.7.tgz#3823ca1e372566f350795ce9dd9a7b19e97bdaad" + integrity sha512-nhfdr83ECBg6xtqOAJab1tbksbBAOMUltN60bU+llHVOL0e5Onm1WpAXXWXVB39L8AJFssoIhEVuy/S90MmotA== + dependencies: + robust-predicates "^3.0.2" + splaytree "^3.1.0" + +polyline-miter-util@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/polyline-miter-util/-/polyline-miter-util-1.0.1.tgz#b693f2389ea0ded36a6bcf5ecd2ece4b6917d957" + integrity sha512-/3u91zz6mBerBZo6qnOJOTjv7EfPhKtsV028jMyj86YpzLRNmCCFfrX7IO9tCEQ2W4x45yc+vKOezjf7u2Nd6Q== + dependencies: + gl-vec2 "^1.0.0" + +possible-typed-array-names@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz" + integrity sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q== + +postcss-import@^15.1.0: + version "15.1.0" + resolved "https://registry.npmmirror.com/postcss-import/-/postcss-import-15.1.0.tgz" + integrity sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew== + dependencies: + postcss-value-parser "^4.0.0" + read-cache "^1.0.0" + resolve "^1.1.7" + +postcss-js@^4.0.1: + version "4.0.1" + resolved "https://registry.npmmirror.com/postcss-js/-/postcss-js-4.0.1.tgz" + integrity sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw== + dependencies: + camelcase-css "^2.0.1" + +postcss-load-config@^4.0.1: + version "4.0.2" + resolved "https://registry.npmmirror.com/postcss-load-config/-/postcss-load-config-4.0.2.tgz" + integrity sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ== + dependencies: + lilconfig "^3.0.0" + yaml "^2.3.4" + +postcss-nested@^6.0.1: + version "6.0.1" + resolved "https://registry.npmmirror.com/postcss-nested/-/postcss-nested-6.0.1.tgz" + integrity sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ== + dependencies: + postcss-selector-parser "^6.0.11" + +postcss-selector-parser@^6.0.11: + version "6.1.0" + resolved "https://registry.npmmirror.com/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz" + integrity sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ== + dependencies: + cssesc "^3.0.0" + util-deprecate "^1.0.2" + +postcss-value-parser@^4.0.0, postcss-value-parser@^4.0.2, postcss-value-parser@^4.2.0: + version "4.2.0" + resolved "https://registry.npmmirror.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" + integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== + +postcss@8.4.14: + version "8.4.14" + resolved "https://registry.npmmirror.com/postcss/-/postcss-8.4.14.tgz" + integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +postcss@8.4.38: + version "8.4.38" + resolved "https://registry.npmmirror.com/postcss/-/postcss-8.4.38.tgz#b387d533baf2054288e337066d81c6bee9db9e0e" + integrity sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A== + dependencies: + nanoid "^3.3.7" + picocolors "^1.0.0" + source-map-js "^1.2.0" + +postcss@^8.4.23: + version "8.4.41" + resolved "https://registry.npmmirror.com/postcss/-/postcss-8.4.41.tgz" + integrity sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ== + dependencies: + nanoid "^3.3.7" + picocolors "^1.0.1" + source-map-js "^1.2.0" + +potpack@^1.0.1: + version "1.0.2" + resolved "https://registry.npmmirror.com/potpack/-/potpack-1.0.2.tgz#23b99e64eb74f5741ffe7656b5b5c4ddce8dfc14" + integrity sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ== + +potpack@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/potpack/-/potpack-2.0.0.tgz#61f4dd2dc4b3d5e996e3698c0ec9426d0e169104" + integrity sha512-Q+/tYsFU9r7xoOJ+y/ZTtdVQwTWfzjbiXBDMM/JKUux3+QPP02iUuIoeBQ+Ot6oEDlC+/PGjB/5A3K7KKb7hcw== + +preact-render-to-string@^5.1.19: + version "5.2.6" + resolved "https://registry.npmmirror.com/preact-render-to-string/-/preact-render-to-string-5.2.6.tgz" + integrity sha512-JyhErpYOvBV1hEPwIxc/fHWXPfnEGdRKxc8gFdAZ7XV4tlzyzG847XAyEZqoDnynP88akM4eaHcSOzNcLWFguw== + dependencies: + pretty-format "^3.8.0" + +preact@^10.6.3: + version "10.22.0" + resolved "https://registry.npmmirror.com/preact/-/preact-10.22.0.tgz" + integrity sha512-RRurnSjJPj4rp5K6XoP45Ui33ncb7e4H7WiOHVpjbkvqvA3U+N8Z6Qbo0AE6leGYBV66n8EhEaFixvIu3SkxFw== + +prelude-ls@^1.2.1: + version "1.2.1" + resolved "https://registry.npmmirror.com/prelude-ls/-/prelude-ls-1.2.1.tgz" + integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== + +prettier-linter-helpers@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b" + integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w== + dependencies: + fast-diff "^1.1.2" + +prettier-plugin-organize-imports@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/prettier-plugin-organize-imports/-/prettier-plugin-organize-imports-4.0.0.tgz#a69acf024ea3c8eb650c81f664693826ca853534" + integrity sha512-vnKSdgv9aOlqKeEFGhf9SCBsTyzDSyScy1k7E0R1Uo4L0cTcOV7c1XQaT7jfXIOc/p08WLBfN2QUQA9zDSZMxA== + +prettier-plugin-packagejson@^2.5.2: + version "2.5.2" + resolved "https://registry.npmmirror.com/prettier-plugin-packagejson/-/prettier-plugin-packagejson-2.5.2.tgz#25e8531e15b04e1f68ee7ee4a4b111bd5bea6fcc" + integrity sha512-w+TmoLv2pIa+siplW1cCj2ujEXQQS6z7wmWLOiLQK/2QVl7Wy6xh/ZUpqQw8tbKMXDodmSW4GONxlA33xpdNOg== + dependencies: + sort-package-json "2.10.1" + synckit "0.9.1" + +prettier@^3.3.3: + version "3.3.3" + resolved "https://registry.npmmirror.com/prettier/-/prettier-3.3.3.tgz#30c54fe0be0d8d12e6ae61dbb10109ea00d53105" + integrity sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew== + +pretty-format@^3.8.0: + version "3.8.0" + resolved "https://registry.npmmirror.com/pretty-format/-/pretty-format-3.8.0.tgz" + integrity sha512-WuxUnVtlWL1OfZFQFuqvnvs6MiAGk9UNsBostyBOB0Is9wb5uRESevA6rnl/rkksXaGX3GzZhPup5d6Vp1nFew== + +prismjs@^1.27.0: + version "1.29.0" + resolved "https://registry.npmmirror.com/prismjs/-/prismjs-1.29.0.tgz" + integrity sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q== + +prismjs@~1.27.0: + version "1.27.0" + resolved "https://registry.npmmirror.com/prismjs/-/prismjs-1.27.0.tgz" + integrity sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA== + +process-nextick-args@~2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz" + integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== + +prop-types@^15.6.2, prop-types@^15.7.2, prop-types@^15.8.1: + version "15.8.1" + resolved "https://registry.npmmirror.com/prop-types/-/prop-types-15.8.1.tgz" + integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + +property-information@^5.0.0: + version "5.6.0" + resolved "https://registry.npmmirror.com/property-information/-/property-information-5.6.0.tgz" + integrity sha512-YUHSPk+A30YPv+0Qf8i9Mbfe/C0hdPXk1s1jPVToV8pk8BQtpw10ct89Eo7OWkutrwqvT0eicAxlOg3dOAu8JA== + dependencies: + xtend "^4.0.0" + +property-information@^6.0.0: + version "6.5.0" + resolved "https://registry.npmmirror.com/property-information/-/property-information-6.5.0.tgz" + integrity sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig== + +protocol-buffers-schema@^3.3.1: + version "3.6.0" + resolved "https://registry.npmmirror.com/protocol-buffers-schema/-/protocol-buffers-schema-3.6.0.tgz#77bc75a48b2ff142c1ad5b5b90c94cd0fa2efd03" + integrity sha512-TdDRD+/QNdrCGCE7v8340QyuXd4kIWIgapsE2+n/SaGiSSbomYl4TjHlvIoCWRpE7wFt02EpB35VVA2ImcBVqw== + +proxy-from-env@^1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz" + integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== + +punycode.js@^2.3.1: + version "2.3.1" + resolved "https://registry.npmmirror.com/punycode.js/-/punycode.js-2.3.1.tgz" + integrity sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA== + +punycode@^2.1.0: + version "2.3.1" + resolved "https://registry.npmmirror.com/punycode/-/punycode-2.3.1.tgz" + integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== + +pvtsutils@^1.3.2, pvtsutils@^1.3.5: + version "1.3.5" + resolved "https://registry.npmmirror.com/pvtsutils/-/pvtsutils-1.3.5.tgz" + integrity sha512-ARvb14YB9Nm2Xi6nBq1ZX6dAM0FsJnuk+31aUp4TrcZEdKUlSqOqsxJHUPJDNE3qiIp+iUPEIeR6Je/tgV7zsA== + dependencies: + tslib "^2.6.1" + +pvutils@^1.1.3: + version "1.1.3" + resolved "https://registry.npmmirror.com/pvutils/-/pvutils-1.1.3.tgz" + integrity sha512-pMpnA0qRdFp32b1sJl1wOJNxZLQ2cbQx+k6tjNtZ8CpvVhNqEPRgivZ2WOUev2YMajecdH7ctUPDvEe87nariQ== + +quantize@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/quantize/-/quantize-1.0.2.tgz" + integrity sha512-25P7wI2UoDbIQsQp50ARkt+5pwPsOq7G/BqvT5xAbapnRoNWMN8/p55H9TXd5MuENiJnm5XICB2H2aDZGwts7w== + +queue-microtask@^1.2.2: + version "1.2.3" + resolved "https://registry.npmmirror.com/queue-microtask/-/queue-microtask-1.2.3.tgz" + integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== + +quickselect@^1.0.1: + version "1.1.1" + resolved "https://registry.npmmirror.com/quickselect/-/quickselect-1.1.1.tgz#852e412ce418f237ad5b660d70cffac647ae94c2" + integrity sha512-qN0Gqdw4c4KGPsBOQafj6yj/PA6c/L63f6CaZ/DCF/xF4Esu3jVmKLUDYxghFx8Kb/O7y9tI7x2RjTSXwdK1iQ== + +quickselect@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/quickselect/-/quickselect-2.0.0.tgz" + integrity sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw== + +railroad-diagrams@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/railroad-diagrams/-/railroad-diagrams-1.0.0.tgz" + integrity sha512-cz93DjNeLY0idrCNOH6PviZGRN9GJhsdm9hpn1YCS879fj4W+x5IFJhhkRZcwVgMmFF7R82UA/7Oh+R8lLZg6A== + +randexp@0.4.6: + version "0.4.6" + resolved "https://registry.npmmirror.com/randexp/-/randexp-0.4.6.tgz" + integrity sha512-80WNmd9DA0tmZrw9qQa62GPPWfuXJknrmVmLcxvq4uZBdYqb1wYoKTmnlGUchvVWe0XiLupYkBoXVOxz3C8DYQ== + dependencies: + discontinuous-range "1.0.0" + ret "~0.1.10" + +randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/randombytes/-/randombytes-2.1.0.tgz" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +rbush@2.x, rbush@^2.0.1: + version "2.0.2" + resolved "https://registry.npmmirror.com/rbush/-/rbush-2.0.2.tgz#bb6005c2731b7ba1d5a9a035772927d16a614605" + integrity sha512-XBOuALcTm+O/H8G90b6pzu6nX6v2zCKiFG4BJho8a+bY6AER6t8uQUZdi5bomQc0AprCWhEGa7ncAbbRap0bRA== + dependencies: + quickselect "^1.0.1" + +rbush@^3.0.1: + version "3.0.1" + resolved "https://registry.npmmirror.com/rbush/-/rbush-3.0.1.tgz" + integrity sha512-XRaVO0YecOpEuIvbhbpTrZgoiI6xBlz6hnlr6EHhd+0x9ase6EmeN+hdwwUaJvLcsFFQ8iWVF1GAK1yB0BWi0w== + dependencies: + quickselect "^2.0.0" + +rc-cascader@~3.27.0: + version "3.27.0" + resolved "https://registry.npmmirror.com/rc-cascader/-/rc-cascader-3.27.0.tgz" + integrity sha512-z5uq8VvQadFUBiuZJ7YF5UAUGNkZtdEtcEYiIA94N/Kc2MIKr6lEbN5HyVddvYSgwWlKqnL6pH5bFXFuIK3MNg== + dependencies: + "@babel/runtime" "^7.12.5" + array-tree-filter "^2.1.0" + classnames "^2.3.1" + rc-select "~14.15.0" + rc-tree "~5.8.1" + rc-util "^5.37.0" + +rc-checkbox@~3.3.0: + version "3.3.0" + resolved "https://registry.npmmirror.com/rc-checkbox/-/rc-checkbox-3.3.0.tgz" + integrity sha512-Ih3ZaAcoAiFKJjifzwsGiT/f/quIkxJoklW4yKGho14Olulwn8gN7hOBve0/WGDg5o/l/5mL0w7ff7/YGvefVw== + dependencies: + "@babel/runtime" "^7.10.1" + classnames "^2.3.2" + rc-util "^5.25.2" + +rc-collapse@~3.7.3: + version "3.7.3" + resolved "https://registry.npmmirror.com/rc-collapse/-/rc-collapse-3.7.3.tgz" + integrity sha512-60FJcdTRn0X5sELF18TANwtVi7FtModq649H11mYF1jh83DniMoM4MqY627sEKRCTm4+WXfGDcB7hY5oW6xhyw== + dependencies: + "@babel/runtime" "^7.10.1" + classnames "2.x" + rc-motion "^2.3.4" + rc-util "^5.27.0" + +rc-dialog@~9.5.2: + version "9.5.2" + resolved "https://registry.npmmirror.com/rc-dialog/-/rc-dialog-9.5.2.tgz" + integrity sha512-qVUjc8JukG+j/pNaHVSRa2GO2/KbV2thm7yO4hepQ902eGdYK913sGkwg/fh9yhKYV1ql3BKIN2xnud3rEXAPw== + dependencies: + "@babel/runtime" "^7.10.1" + "@rc-component/portal" "^1.0.0-8" + classnames "^2.2.6" + rc-motion "^2.3.0" + rc-util "^5.21.0" + +rc-drawer@~7.2.0: + version "7.2.0" + resolved "https://registry.npmmirror.com/rc-drawer/-/rc-drawer-7.2.0.tgz" + integrity sha512-9lOQ7kBekEJRdEpScHvtmEtXnAsy+NGDXiRWc2ZVC7QXAazNVbeT4EraQKYwCME8BJLa8Bxqxvs5swwyOepRwg== + dependencies: + "@babel/runtime" "^7.23.9" + "@rc-component/portal" "^1.1.1" + classnames "^2.2.6" + rc-motion "^2.6.1" + rc-util "^5.38.1" + +rc-dropdown@~4.2.0: + version "4.2.0" + resolved "https://registry.npmmirror.com/rc-dropdown/-/rc-dropdown-4.2.0.tgz" + integrity sha512-odM8Ove+gSh0zU27DUj5cG1gNKg7mLWBYzB5E4nNLrLwBmYEgYP43vHKDGOVZcJSVElQBI0+jTQgjnq0NfLjng== + dependencies: + "@babel/runtime" "^7.18.3" + "@rc-component/trigger" "^2.0.0" + classnames "^2.2.6" + rc-util "^5.17.0" + +rc-field-form@~2.4.0: + version "2.4.0" + resolved "https://registry.npmmirror.com/rc-field-form/-/rc-field-form-2.4.0.tgz" + integrity sha512-XZ/lF9iqf9HXApIHQHqzJK5v2w4mkUMsVqAzOyWVzoiwwXEavY6Tpuw7HavgzIoD+huVff4JghSGcgEfX6eycg== + dependencies: + "@babel/runtime" "^7.18.0" + "@rc-component/async-validator" "^5.0.3" + rc-util "^5.32.2" + +rc-image@~7.9.0: + version "7.9.0" + resolved "https://registry.npmmirror.com/rc-image/-/rc-image-7.9.0.tgz" + integrity sha512-l4zqO5E0quuLMCtdKfBgj4Suv8tIS011F5k1zBBlK25iMjjiNHxA0VeTzGFtUZERSA45gvpXDg8/P6qNLjR25g== + dependencies: + "@babel/runtime" "^7.11.2" + "@rc-component/portal" "^1.0.2" + classnames "^2.2.6" + rc-dialog "~9.5.2" + rc-motion "^2.6.2" + rc-util "^5.34.1" + +rc-input-number@~9.2.0: + version "9.2.0" + resolved "https://registry.npmmirror.com/rc-input-number/-/rc-input-number-9.2.0.tgz" + integrity sha512-5XZFhBCV5f9UQ62AZ2hFbEY8iZT/dm23Q1kAg0H8EvOgD3UDbYYJAayoVIkM3lQaCqYAW5gV0yV3vjw1XtzWHg== + dependencies: + "@babel/runtime" "^7.10.1" + "@rc-component/mini-decimal" "^1.0.1" + classnames "^2.2.5" + rc-input "~1.6.0" + rc-util "^5.40.1" + +rc-input@~1.6.0, rc-input@~1.6.3: + version "1.6.3" + resolved "https://registry.npmmirror.com/rc-input/-/rc-input-1.6.3.tgz" + integrity sha512-wI4NzuqBS8vvKr8cljsvnTUqItMfG1QbJoxovCgL+DX4eVUcHIjVwharwevIxyy7H/jbLryh+K7ysnJr23aWIA== + dependencies: + "@babel/runtime" "^7.11.1" + classnames "^2.2.1" + rc-util "^5.18.1" + +rc-mentions@~2.15.0: + version "2.15.0" + resolved "https://registry.npmmirror.com/rc-mentions/-/rc-mentions-2.15.0.tgz" + integrity sha512-f5v5i7VdqvBDXbphoqcQWmXDif2Msd2arritVoWybrVDuHE6nQ7XCYsybHbV//WylooK52BFDouFvyaRDtXZEw== + dependencies: + "@babel/runtime" "^7.22.5" + "@rc-component/trigger" "^2.0.0" + classnames "^2.2.6" + rc-input "~1.6.0" + rc-menu "~9.14.0" + rc-textarea "~1.8.0" + rc-util "^5.34.1" + +rc-menu@~9.14.0, rc-menu@~9.14.1: + version "9.14.1" + resolved "https://registry.npmmirror.com/rc-menu/-/rc-menu-9.14.1.tgz" + integrity sha512-5wlRb3M8S4yGlWhSoEYJ7ZVRElyScdcpUHxgiLxkeig1tEdyKrnED3B2fhpN0Rrpdp9jyhnmZR/Lwq2fH5VvDQ== + dependencies: + "@babel/runtime" "^7.10.1" + "@rc-component/trigger" "^2.0.0" + classnames "2.x" + rc-motion "^2.4.3" + rc-overflow "^1.3.1" + rc-util "^5.27.0" + +rc-motion@^2.0.0, rc-motion@^2.0.1, rc-motion@^2.3.0, rc-motion@^2.3.4, rc-motion@^2.4.3, rc-motion@^2.4.4, rc-motion@^2.6.1, rc-motion@^2.6.2, rc-motion@^2.9.0, rc-motion@^2.9.2: + version "2.9.2" + resolved "https://registry.npmmirror.com/rc-motion/-/rc-motion-2.9.2.tgz" + integrity sha512-fUAhHKLDdkAXIDLH0GYwof3raS58dtNUmzLF2MeiR8o6n4thNpSDQhOqQzWE4WfFZDCi9VEN8n7tiB7czREcyw== + dependencies: + "@babel/runtime" "^7.11.1" + classnames "^2.2.1" + rc-util "^5.43.0" + +rc-notification@~5.6.0: + version "5.6.0" + resolved "https://registry.npmmirror.com/rc-notification/-/rc-notification-5.6.0.tgz" + integrity sha512-TGQW5T7waOxLwgJG7fXcw8l7AQiFOjaZ7ISF5PrU526nunHRNcTMuzKihQHaF4E/h/KfOCDk3Mv8eqzbu2e28w== + dependencies: + "@babel/runtime" "^7.10.1" + classnames "2.x" + rc-motion "^2.9.0" + rc-util "^5.20.1" + +rc-overflow@^1.3.1, rc-overflow@^1.3.2: + version "1.3.2" + resolved "https://registry.npmmirror.com/rc-overflow/-/rc-overflow-1.3.2.tgz" + integrity sha512-nsUm78jkYAoPygDAcGZeC2VwIg/IBGSodtOY3pMof4W3M9qRJgqaDYm03ZayHlde3I6ipliAxbN0RUcGf5KOzw== + dependencies: + "@babel/runtime" "^7.11.1" + classnames "^2.2.1" + rc-resize-observer "^1.0.0" + rc-util "^5.37.0" + +rc-pagination@~4.2.0: + version "4.2.0" + resolved "https://registry.npmmirror.com/rc-pagination/-/rc-pagination-4.2.0.tgz" + integrity sha512-V6qeANJsT6tmOcZ4XiUmj8JXjRLbkusuufpuoBw2GiAn94fIixYjFLmbruD1Sbhn8fPLDnWawPp4CN37zQorvw== + dependencies: + "@babel/runtime" "^7.10.1" + classnames "^2.3.2" + rc-util "^5.38.0" + +rc-picker@~4.6.13: + version "4.6.14" + resolved "https://registry.npmmirror.com/rc-picker/-/rc-picker-4.6.14.tgz" + integrity sha512-7DuTfUFdkxmsNpWQ0TWv6FPGna5e6KKC4nxtx3x9xhumLz7jb3fhlDdWQvqEL6tpt9DOb1+N5j+wB+lDOSS9kg== + dependencies: + "@babel/runtime" "^7.24.7" + "@rc-component/trigger" "^2.0.0" + classnames "^2.2.1" + rc-overflow "^1.3.2" + rc-resize-observer "^1.4.0" + rc-util "^5.43.0" + +rc-progress@~4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/rc-progress/-/rc-progress-4.0.0.tgz" + integrity sha512-oofVMMafOCokIUIBnZLNcOZFsABaUw8PPrf1/y0ZBvKZNpOiu5h4AO9vv11Sw0p4Hb3D0yGWuEattcQGtNJ/aw== + dependencies: + "@babel/runtime" "^7.10.1" + classnames "^2.2.6" + rc-util "^5.16.1" + +rc-rate@~2.13.0: + version "2.13.0" + resolved "https://registry.npmmirror.com/rc-rate/-/rc-rate-2.13.0.tgz" + integrity sha512-oxvx1Q5k5wD30sjN5tqAyWTvJfLNNJn7Oq3IeS4HxWfAiC4BOXMITNAsw7u/fzdtO4MS8Ki8uRLOzcnEuoQiAw== + dependencies: + "@babel/runtime" "^7.10.1" + classnames "^2.2.5" + rc-util "^5.0.1" + +rc-resize-observer@^1.0.0, rc-resize-observer@^1.1.0, rc-resize-observer@^1.3.1, rc-resize-observer@^1.4.0: + version "1.4.0" + resolved "https://registry.npmmirror.com/rc-resize-observer/-/rc-resize-observer-1.4.0.tgz" + integrity sha512-PnMVyRid9JLxFavTjeDXEXo65HCRqbmLBw9xX9gfC4BZiSzbLXKzW3jPz+J0P71pLbD5tBMTT+mkstV5gD0c9Q== + dependencies: + "@babel/runtime" "^7.20.7" + classnames "^2.2.1" + rc-util "^5.38.0" + resize-observer-polyfill "^1.5.1" + +rc-segmented@~2.3.0: + version "2.3.0" + resolved "https://registry.npmmirror.com/rc-segmented/-/rc-segmented-2.3.0.tgz" + integrity sha512-I3FtM5Smua/ESXutFfb8gJ8ZPcvFR+qUgeeGFQHBOvRiRKyAk4aBE5nfqrxXx+h8/vn60DQjOt6i4RNtrbOobg== + dependencies: + "@babel/runtime" "^7.11.1" + classnames "^2.2.1" + rc-motion "^2.4.4" + rc-util "^5.17.0" + +rc-select@^14.1.13, rc-select@~14.15.0, rc-select@~14.15.1: + version "14.15.1" + resolved "https://registry.npmmirror.com/rc-select/-/rc-select-14.15.1.tgz#1c8ab356cfdf1b24e974d62aec752620845d95a7" + integrity sha512-mGvuwW1RMm1NCSI8ZUoRoLRK51R2Nb+QJnmiAvbDRcjh2//ulCkxeV6ZRFTECPpE1t2DPfyqZMPw90SVJzQ7wQ== + dependencies: + "@babel/runtime" "^7.10.1" + "@rc-component/trigger" "^2.1.1" + classnames "2.x" + rc-motion "^2.0.1" + rc-overflow "^1.3.1" + rc-util "^5.16.1" + rc-virtual-list "^3.5.2" + +rc-slider@~11.1.5: + version "11.1.5" + resolved "https://registry.npmmirror.com/rc-slider/-/rc-slider-11.1.5.tgz" + integrity sha512-b77H5PbjMKsvkYXAYIkn50QuFX6ICQmCTibDinI9q+BHx65/TV4TeU25+oadhSRzykxs0/vBWeKBwRyySOeWlg== + dependencies: + "@babel/runtime" "^7.10.1" + classnames "^2.2.5" + rc-util "^5.36.0" + +rc-steps@~6.0.1: + version "6.0.1" + resolved "https://registry.npmmirror.com/rc-steps/-/rc-steps-6.0.1.tgz" + integrity sha512-lKHL+Sny0SeHkQKKDJlAjV5oZ8DwCdS2hFhAkIjuQt1/pB81M0cA0ErVFdHq9+jmPmFw1vJB2F5NBzFXLJxV+g== + dependencies: + "@babel/runtime" "^7.16.7" + classnames "^2.2.3" + rc-util "^5.16.1" + +rc-switch@~4.1.0: + version "4.1.0" + resolved "https://registry.npmmirror.com/rc-switch/-/rc-switch-4.1.0.tgz" + integrity sha512-TI8ufP2Az9oEbvyCeVE4+90PDSljGyuwix3fV58p7HV2o4wBnVToEyomJRVyTaZeqNPAp+vqeo4Wnj5u0ZZQBg== + dependencies: + "@babel/runtime" "^7.21.0" + classnames "^2.2.1" + rc-util "^5.30.0" + +rc-table@~7.45.7: + version "7.45.7" + resolved "https://registry.npmmirror.com/rc-table/-/rc-table-7.45.7.tgz" + integrity sha512-wi9LetBL1t1csxyGkMB2p3mCiMt+NDexMlPbXHvQFmBBAsMxrgNSAPwUci2zDLUq9m8QdWc1Nh8suvrpy9mXrg== + dependencies: + "@babel/runtime" "^7.10.1" + "@rc-component/context" "^1.4.0" + classnames "^2.2.5" + rc-resize-observer "^1.1.0" + rc-util "^5.37.0" + rc-virtual-list "^3.14.2" + +rc-tabs@~15.1.1: + version "15.1.1" + resolved "https://registry.npmmirror.com/rc-tabs/-/rc-tabs-15.1.1.tgz" + integrity sha512-Tc7bJvpEdkWIVCUL7yQrMNBJY3j44NcyWS48jF/UKMXuUlzaXK+Z/pEL5LjGcTadtPvVmNqA40yv7hmr+tCOAw== + dependencies: + "@babel/runtime" "^7.11.2" + classnames "2.x" + rc-dropdown "~4.2.0" + rc-menu "~9.14.0" + rc-motion "^2.6.2" + rc-resize-observer "^1.0.0" + rc-util "^5.34.1" + +rc-textarea@~1.8.0, rc-textarea@~1.8.1: + version "1.8.1" + resolved "https://registry.npmmirror.com/rc-textarea/-/rc-textarea-1.8.1.tgz" + integrity sha512-bm36N2ZqwZAP60ZQg2OY9mPdqWC+m6UTjHc+CqEZOxb3Ia29BGHazY/s5bI8M4113CkqTzhtFUDNA078ZiOx3Q== + dependencies: + "@babel/runtime" "^7.10.1" + classnames "^2.2.1" + rc-input "~1.6.0" + rc-resize-observer "^1.0.0" + rc-util "^5.27.0" + +rc-tooltip@~6.2.0: + version "6.2.0" + resolved "https://registry.npmmirror.com/rc-tooltip/-/rc-tooltip-6.2.0.tgz" + integrity sha512-iS/3iOAvtDh9GIx1ulY7EFUXUtktFccNLsARo3NPgLf0QW9oT0w3dA9cYWlhqAKmD+uriEwdWz1kH0Qs4zk2Aw== + dependencies: + "@babel/runtime" "^7.11.2" + "@rc-component/trigger" "^2.0.0" + classnames "^2.3.1" + +rc-tree-select@~5.22.1: + version "5.22.1" + resolved "https://registry.npmmirror.com/rc-tree-select/-/rc-tree-select-5.22.1.tgz" + integrity sha512-b8mAK52xEpRgS+b2PTapCt29GoIrO5cO8jB7AfHttFsIJfcnynY9FCtnYzURsKXJkGHbFY6UzSEB2I3TETtdWg== + dependencies: + "@babel/runtime" "^7.10.1" + classnames "2.x" + rc-select "~14.15.0" + rc-tree "~5.8.1" + rc-util "^5.16.1" + +rc-tree@~5.8.1, rc-tree@~5.8.8: + version "5.8.8" + resolved "https://registry.npmmirror.com/rc-tree/-/rc-tree-5.8.8.tgz" + integrity sha512-S+mCMWo91m5AJqjz3PdzKilGgbFm7fFJRFiTDOcoRbD7UfMOPnerXwMworiga0O2XIo383UoWuEfeHs1WOltag== + dependencies: + "@babel/runtime" "^7.10.1" + classnames "2.x" + rc-motion "^2.0.1" + rc-util "^5.16.1" + rc-virtual-list "^3.5.1" + +rc-upload@~4.7.0: + version "4.7.0" + resolved "https://registry.npmmirror.com/rc-upload/-/rc-upload-4.7.0.tgz" + integrity sha512-eUwxYNHlsYe5vYhKFAUGrQG95JrnPzY+BmPi1Daq39fWNl/eOc7v4UODuWrVp2LFkQBuV3cMCG/I68iub6oBrg== + dependencies: + "@babel/runtime" "^7.18.3" + classnames "^2.2.5" + rc-util "^5.2.0" + +rc-util@^5.0.1, rc-util@^5.16.1, rc-util@^5.17.0, rc-util@^5.18.1, rc-util@^5.2.0, rc-util@^5.20.1, rc-util@^5.21.0, rc-util@^5.24.4, rc-util@^5.25.2, rc-util@^5.27.0, rc-util@^5.30.0, rc-util@^5.31.1, rc-util@^5.32.2, rc-util@^5.34.1, rc-util@^5.35.0, rc-util@^5.36.0, rc-util@^5.37.0, rc-util@^5.38.0, rc-util@^5.38.1, rc-util@^5.40.1, rc-util@^5.43.0: + version "5.43.0" + resolved "https://registry.npmmirror.com/rc-util/-/rc-util-5.43.0.tgz" + integrity sha512-AzC7KKOXFqAdIBqdGWepL9Xn7cm3vnAmjlHqUnoQaTMZYhM4VlXGLkkHHxj/BZ7Td0+SOPKB4RGPboBVKT9htw== + dependencies: + "@babel/runtime" "^7.18.3" + react-is "^18.2.0" + +rc-virtual-list@^3.14.2, rc-virtual-list@^3.5.1, rc-virtual-list@^3.5.2: + version "3.14.3" + resolved "https://registry.npmmirror.com/rc-virtual-list/-/rc-virtual-list-3.14.3.tgz" + integrity sha512-6+6wiEhdqakNBnbRJymgMlh+90qpkgqherTRo1l1cX7mK6F9hWsazPczmP0lA+64yhC9/t+M9Dh5pjvDWimn8A== + dependencies: + "@babel/runtime" "^7.20.0" + classnames "^2.2.6" + rc-resize-observer "^1.0.0" + rc-util "^5.36.0" + +react-dom@^18.3.1: + version "18.3.1" + resolved "https://registry.npmmirror.com/react-dom/-/react-dom-18.3.1.tgz" + integrity sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw== + dependencies: + loose-envify "^1.1.0" + scheduler "^0.23.2" + +react-fast-compare@^3.2.2: + version "3.2.2" + resolved "https://registry.npmmirror.com/react-fast-compare/-/react-fast-compare-3.2.2.tgz" + integrity sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ== + +react-i18next@^13.2.0: + version "13.5.0" + resolved "https://registry.npmmirror.com/react-i18next/-/react-i18next-13.5.0.tgz" + integrity sha512-CFJ5NDGJ2MUyBohEHxljOq/39NQ972rh1ajnadG9BjTk+UXbHLq4z5DKEbEQBDoIhUmmbuS/fIMJKo6VOax1HA== + dependencies: + "@babel/runtime" "^7.22.5" + html-parse-stringify "^3.0.1" + +react-is@^16.13.1, react-is@^16.7.0: + version "16.13.1" + resolved "https://registry.npmmirror.com/react-is/-/react-is-16.13.1.tgz" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + +react-is@^18.2.0: + version "18.3.1" + resolved "https://registry.npmmirror.com/react-is/-/react-is-18.3.1.tgz" + integrity sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg== + +react-lifecycles-compat@^3.0.4: + version "3.0.4" + resolved "https://registry.npmmirror.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz" + integrity sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA== + +react-markdown-editor-lite@^1.3.4: + version "1.3.4" + resolved "https://registry.npmmirror.com/react-markdown-editor-lite/-/react-markdown-editor-lite-1.3.4.tgz" + integrity sha512-PhS4HzLzSgCsr8O9CfJX75nAYmZ0NwpfviLxARlT0Tau+APOerDSHSw3u9hub5wd0EqmonWibw0vhXXNu4ldRA== + dependencies: + "@babel/runtime" "^7.6.2" + classnames "^2.2.6" + eventemitter3 "^4.0.0" + uuid "^8.3.2" + +react-markdown@^9.0.1: + version "9.0.1" + resolved "https://registry.npmmirror.com/react-markdown/-/react-markdown-9.0.1.tgz#c05ddbff67fd3b3f839f8c648e6fb35d022397d1" + integrity sha512-186Gw/vF1uRkydbsOIkcGXw7aHq0sZOCRFFjGrr7b9+nVZg4UfA4enXCaxm4fUzecU38sWfrNDitGhshuU7rdg== + dependencies: + "@types/hast" "^3.0.0" + devlop "^1.0.0" + hast-util-to-jsx-runtime "^2.0.0" + html-url-attributes "^3.0.0" + mdast-util-to-hast "^13.0.0" + remark-parse "^11.0.0" + remark-rehype "^11.0.0" + unified "^11.0.0" + unist-util-visit "^5.0.0" + vfile "^6.0.0" + +react-syntax-highlighter@^15.5.0: + version "15.5.0" + resolved "https://registry.npmmirror.com/react-syntax-highlighter/-/react-syntax-highlighter-15.5.0.tgz" + integrity sha512-+zq2myprEnQmH5yw6Gqc8lD55QHnpKaU8TOcFeC/Lg/MQSs8UknEA0JC4nTZGFAXC2J2Hyj/ijJ7NlabyPi2gg== + dependencies: + "@babel/runtime" "^7.3.1" + highlight.js "^10.4.1" + lowlight "^1.17.0" + prismjs "^1.27.0" + refractor "^3.6.0" + +react-transition-group@^4.4.5: + version "4.4.5" + resolved "https://registry.npmmirror.com/react-transition-group/-/react-transition-group-4.4.5.tgz" + integrity sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g== + dependencies: + "@babel/runtime" "^7.5.5" + dom-helpers "^5.0.1" + loose-envify "^1.4.0" + prop-types "^15.6.2" + +react-virtualized@^9.22.5: + version "9.22.5" + resolved "https://registry.npmmirror.com/react-virtualized/-/react-virtualized-9.22.5.tgz" + integrity sha512-YqQMRzlVANBv1L/7r63OHa2b0ZsAaDp1UhVNEdUaXI8A5u6hTpA5NYtUueLH2rFuY/27mTGIBl7ZhqFKzw18YQ== + dependencies: + "@babel/runtime" "^7.7.2" + clsx "^1.0.4" + dom-helpers "^5.1.3" + loose-envify "^1.4.0" + prop-types "^15.7.2" + react-lifecycles-compat "^3.0.4" + +react@^18.3.1: + version "18.3.1" + resolved "https://registry.npmmirror.com/react/-/react-18.3.1.tgz" + integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ== + dependencies: + loose-envify "^1.1.0" + +reactflow@^11.10.3: + version "11.11.4" + resolved "https://registry.npmmirror.com/reactflow/-/reactflow-11.11.4.tgz" + integrity sha512-70FOtJkUWH3BAOsN+LU9lCrKoKbtOPnz2uq0CV2PLdNSwxTXOhCbsZr50GmZ+Rtw3jx8Uv7/vBFtCGixLfd4Og== + dependencies: + "@reactflow/background" "11.3.14" + "@reactflow/controls" "11.2.14" + "@reactflow/core" "11.11.4" + "@reactflow/minimap" "11.7.14" + "@reactflow/node-resizer" "2.2.14" + "@reactflow/node-toolbar" "1.3.14" + +read-cache@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/read-cache/-/read-cache-1.0.0.tgz" + integrity sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA== + dependencies: + pify "^2.3.0" + +readable-stream@^2.2.2: + version "2.3.8" + resolved "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz" + integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.3" + isarray "~1.0.0" + process-nextick-args "~2.0.0" + safe-buffer "~5.1.1" + string_decoder "~1.1.1" + util-deprecate "~1.0.1" + +readdirp@~3.6.0: + version "3.6.0" + resolved "https://registry.npmmirror.com/readdirp/-/readdirp-3.6.0.tgz" + integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== + dependencies: + picomatch "^2.2.1" + +reflect.getprototypeof@^1.0.4: + version "1.0.6" + resolved "https://registry.npmmirror.com/reflect.getprototypeof/-/reflect.getprototypeof-1.0.6.tgz" + integrity sha512-fmfw4XgoDke3kdI6h4xcUz1dG8uaiv5q9gcEwLS4Pnth2kxT+GZ7YehS1JTMGBQmtV7Y4GFGbs2re2NqhdozUg== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.1" + es-errors "^1.3.0" + get-intrinsic "^1.2.4" + globalthis "^1.0.3" + which-builtin-type "^1.1.3" + +refractor@^3.6.0: + version "3.6.0" + resolved "https://registry.npmmirror.com/refractor/-/refractor-3.6.0.tgz" + integrity sha512-MY9W41IOWxxk31o+YvFCNyNzdkc9M20NoZK5vq6jkv4I/uh2zkWcfudj0Q1fovjUQJrNewS9NMzeTtqPf+n5EA== + dependencies: + hastscript "^6.0.0" + parse-entities "^2.0.0" + prismjs "~1.27.0" + +regenerator-runtime@^0.14.0: + version "0.14.1" + resolved "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz" + integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== + +regexp.prototype.flags@^1.5.1, regexp.prototype.flags@^1.5.2: + version "1.5.2" + resolved "https://registry.npmmirror.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz" + integrity sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw== + dependencies: + call-bind "^1.0.6" + define-properties "^1.2.1" + es-errors "^1.3.0" + set-function-name "^2.0.1" + +regexparam@^2.0.1: + version "2.0.2" + resolved "https://registry.npmmirror.com/regexparam/-/regexparam-2.0.2.tgz" + integrity sha512-A1PeDEYMrkLrfyOwv2jwihXbo9qxdGD3atBYQA9JJgreAx8/7rC6IUkWOw2NQlOxLp2wL0ifQbh1HuidDfYA6w== + +regl@1.6.1: + version "1.6.1" + resolved "https://registry.npmmirror.com/regl/-/regl-1.6.1.tgz#6930172cda9b8fb65724abc0d4930d79333f5460" + integrity sha512-7Z9rmpEqmLNwC9kCYCyfyu47eWZaQWeNpwZfwz99QueXN8B/Ow40DB0N+OeUeM/yu9pZAB01+JgJ+XghGveVoA== + +regression@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/regression/-/regression-2.0.1.tgz" + integrity sha512-A4XYsc37dsBaNOgEjkJKzfJlE394IMmUPlI/p3TTI9u3T+2a+eox5Pr/CPUqF0eszeWZJPAc6QkroAhuUpWDJQ== + +rehype-raw@^7.0.0: + version "7.0.0" + resolved "https://registry.npmmirror.com/rehype-raw/-/rehype-raw-7.0.0.tgz#59d7348fd5dbef3807bbaa1d443efd2dd85ecee4" + integrity sha512-/aE8hCfKlQeA8LmyeyQvQF3eBiLRGNlfBJEvWH7ivp9sBqs7TNqBL5X3v157rM4IFETqDnIOO+z5M/biZbo9Ww== + dependencies: + "@types/hast" "^3.0.0" + hast-util-raw "^9.0.0" + vfile "^6.0.0" + +remark-gfm@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/remark-gfm/-/remark-gfm-4.0.0.tgz#aea777f0744701aa288b67d28c43565c7e8c35de" + integrity sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA== + dependencies: + "@types/mdast" "^4.0.0" + mdast-util-gfm "^3.0.0" + micromark-extension-gfm "^3.0.0" + remark-parse "^11.0.0" + remark-stringify "^11.0.0" + unified "^11.0.0" + +remark-parse@^11.0.0: + version "11.0.0" + resolved "https://registry.npmmirror.com/remark-parse/-/remark-parse-11.0.0.tgz#aa60743fcb37ebf6b069204eb4da304e40db45a1" + integrity sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA== + dependencies: + "@types/mdast" "^4.0.0" + mdast-util-from-markdown "^2.0.0" + micromark-util-types "^2.0.0" + unified "^11.0.0" + +remark-rehype@^11.0.0: + version "11.1.0" + resolved "https://registry.npmmirror.com/remark-rehype/-/remark-rehype-11.1.0.tgz#d5f264f42bcbd4d300f030975609d01a1697ccdc" + integrity sha512-z3tJrAs2kIs1AqIIy6pzHmAHlF1hWQ+OdY4/hv+Wxe35EhyLKcajL33iUEn3ScxtFox9nUvRufR/Zre8Q08H/g== + dependencies: + "@types/hast" "^3.0.0" + "@types/mdast" "^4.0.0" + mdast-util-to-hast "^13.0.0" + unified "^11.0.0" + vfile "^6.0.0" + +remark-stringify@^11.0.0: + version "11.0.0" + resolved "https://registry.npmmirror.com/remark-stringify/-/remark-stringify-11.0.0.tgz#4c5b01dd711c269df1aaae11743eb7e2e7636fd3" + integrity sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw== + dependencies: + "@types/mdast" "^4.0.0" + mdast-util-to-markdown "^2.0.0" + unified "^11.0.0" + +repeat-string@^1.5.2: + version "1.6.1" + resolved "https://registry.npmmirror.com/repeat-string/-/repeat-string-1.6.1.tgz" + integrity sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w== + +require-from-string@^2.0.2: + version "2.0.2" + resolved "https://registry.npmmirror.com/require-from-string/-/require-from-string-2.0.2.tgz" + integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== + +reselect@^4.1.8: + version "4.1.8" + resolved "https://registry.npmmirror.com/reselect/-/reselect-4.1.8.tgz#3f5dc671ea168dccdeb3e141236f69f02eaec524" + integrity sha512-ab9EmR80F/zQTMNeneUr4cv+jSwPJgIlvEmVwLerwrWVbpLlBuls9XHzIeTFy4cegU2NHBp3va0LKOzU5qFEYQ== + +resize-observer-polyfill@^1.5.1: + version "1.5.1" + resolved "https://registry.npmmirror.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz" + integrity sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg== + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/resolve-from/-/resolve-from-4.0.0.tgz" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + +resolve-pkg-maps@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz" + integrity sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw== + +resolve-protobuf-schema@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/resolve-protobuf-schema/-/resolve-protobuf-schema-2.1.0.tgz#9ca9a9e69cf192bbdaf1006ec1973948aa4a3758" + integrity sha512-kI5ffTiZWmJaS/huM8wZfEMer1eRd7oJQhDuxeCLe3t7N7mX3z94CN0xPxBQxFYQTSNz9T0i+v6inKqSdK8xrQ== + dependencies: + protocol-buffers-schema "^3.3.1" + +resolve@^1.1.7, resolve@^1.19.0, resolve@^1.22.2, resolve@^1.22.4, resolve@~1.22.6: + version "1.22.8" + resolved "https://registry.npmmirror.com/resolve/-/resolve-1.22.8.tgz" + integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw== + dependencies: + is-core-module "^2.13.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +resolve@^2.0.0-next.5: + version "2.0.0-next.5" + resolved "https://registry.npmmirror.com/resolve/-/resolve-2.0.0-next.5.tgz" + integrity sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA== + dependencies: + is-core-module "^2.13.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +restore-cursor@^5.0.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/restore-cursor/-/restore-cursor-5.1.0.tgz#0766d95699efacb14150993f55baf0953ea1ebe7" + integrity sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA== + dependencies: + onetime "^7.0.0" + signal-exit "^4.1.0" + +ret@~0.1.10: + version "0.1.15" + resolved "https://registry.npmmirror.com/ret/-/ret-0.1.15.tgz" + integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg== + +retry-as-promised@^7.0.4: + version "7.0.4" + resolved "https://registry.npmmirror.com/retry-as-promised/-/retry-as-promised-7.0.4.tgz" + integrity sha512-XgmCoxKWkDofwH8WddD0w85ZfqYz+ZHlr5yo+3YUCfycWawU56T5ckWXsScsj5B8tqUcIG67DxXByo3VUgiAdA== + +reusify@^1.0.4: + version "1.0.4" + resolved "https://registry.npmmirror.com/reusify/-/reusify-1.0.4.tgz" + integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== + +rfdc@^1.4.1: + version "1.4.1" + resolved "https://registry.npmmirror.com/rfdc/-/rfdc-1.4.1.tgz#778f76c4fb731d93414e8f925fbecf64cce7f6ca" + integrity sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA== + +right-align@^0.1.1: + version "0.1.3" + resolved "https://registry.npmmirror.com/right-align/-/right-align-0.1.3.tgz" + integrity sha512-yqINtL/G7vs2v+dFIZmFUDbnVyFUJFKd6gK22Kgo6R4jfJGFtisKyncWDDULgjfqf4ASQuIQyjJ7XZ+3aWpsAg== + dependencies: + align-text "^0.1.1" + +rimraf@^3.0.2: + version "3.0.2" + resolved "https://registry.npmmirror.com/rimraf/-/rimraf-3.0.2.tgz" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== + dependencies: + glob "^7.1.3" + +robust-predicates@^2.0.4: + version "2.0.4" + resolved "https://registry.npmmirror.com/robust-predicates/-/robust-predicates-2.0.4.tgz#0a2367a93abd99676d075981707f29cfb402248b" + integrity sha512-l4NwboJM74Ilm4VKfbAtFeGq7aEjWL+5kVFcmgFA2MrdnQWx9iE/tUGvxY5HyMI7o/WpSIUFLbC5fbeaHgSCYg== + +robust-predicates@^3.0.2: + version "3.0.2" + resolved "https://registry.npmmirror.com/robust-predicates/-/robust-predicates-3.0.2.tgz#d5b28528c4824d20fc48df1928d41d9efa1ad771" + integrity sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg== + +rollup@^0.25.8: + version "0.25.8" + resolved "https://registry.npmmirror.com/rollup/-/rollup-0.25.8.tgz" + integrity sha512-a2S4Bh3bgrdO4BhKr2E4nZkjTvrJ2m2bWjMTzVYtoqSCn0HnuxosXnaJUHrMEziOWr3CzL9GjilQQKcyCQpJoA== + dependencies: + chalk "^1.1.1" + minimist "^1.2.0" + source-map-support "^0.3.2" + +run-parallel@^1.1.9: + version "1.2.0" + resolved "https://registry.npmmirror.com/run-parallel/-/run-parallel-1.2.0.tgz" + integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== + dependencies: + queue-microtask "^1.2.2" + +rw@1, rw@^1.3.2, rw@^1.3.3: + version "1.3.3" + resolved "https://registry.npmmirror.com/rw/-/rw-1.3.3.tgz" + integrity sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ== + +safe-array-concat@^1.1.2: + version "1.1.2" + resolved "https://registry.npmmirror.com/safe-array-concat/-/safe-array-concat-1.1.2.tgz" + integrity sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q== + dependencies: + call-bind "^1.0.7" + get-intrinsic "^1.2.4" + has-symbols "^1.0.3" + isarray "^2.0.5" + +safe-buffer@^5.0.1, safe-buffer@^5.1.0: + version "5.2.1" + resolved "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.2.1.tgz" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +safe-buffer@~5.1.0, safe-buffer@~5.1.1: + version "5.1.2" + resolved "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz" + integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== + +safe-regex-test@^1.0.3: + version "1.0.3" + resolved "https://registry.npmmirror.com/safe-regex-test/-/safe-regex-test-1.0.3.tgz" + integrity sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw== + dependencies: + call-bind "^1.0.6" + es-errors "^1.3.0" + is-regex "^1.1.4" + +"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": + version "2.1.2" + resolved "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + +scheduler@^0.23.2: + version "0.23.2" + resolved "https://registry.npmmirror.com/scheduler/-/scheduler-0.23.2.tgz" + integrity sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ== + dependencies: + loose-envify "^1.1.0" + +schema-utils@^4.2.0: + version "4.2.0" + resolved "https://registry.npmmirror.com/schema-utils/-/schema-utils-4.2.0.tgz" + integrity sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw== + dependencies: + "@types/json-schema" "^7.0.9" + ajv "^8.9.0" + ajv-formats "^2.1.1" + ajv-keywords "^5.1.0" + +screenfull@^5.0.0: + version "5.2.0" + resolved "https://registry.npmmirror.com/screenfull/-/screenfull-5.2.0.tgz" + integrity sha512-9BakfsO2aUQN2K9Fdbj87RJIEZ82Q9IGim7FqM5OsebfoFC6ZHXgDq/KvniuLTPdeM8wY2o6Dj3WQ7KeQCj3cA== + +scroll-into-view-if-needed@^3.1.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/scroll-into-view-if-needed/-/scroll-into-view-if-needed-3.1.0.tgz" + integrity sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ== + dependencies: + compute-scroll-into-view "^3.0.2" + +semver@^6.3.1: + version "6.3.1" + resolved "https://registry.npmmirror.com/semver/-/semver-6.3.1.tgz" + integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== + +semver@^7.3.7, semver@^7.5.4: + version "7.6.2" + resolved "https://registry.npmmirror.com/semver/-/semver-7.6.2.tgz" + integrity sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w== + +semver@^7.6.0, semver@^7.6.3: + version "7.6.3" + resolved "https://registry.npmmirror.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143" + integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A== + +seq-queue@^0.0.5: + version "0.0.5" + resolved "https://registry.npmmirror.com/seq-queue/-/seq-queue-0.0.5.tgz" + integrity sha512-hr3Wtp/GZIc/6DAGPDcV4/9WoZhjrkXsi5B/07QgX8tsdc6ilr7BFM6PM6rbdAX1kFSDYeZGLipIZZKyQP0O5Q== + +sequelize-pool@^7.1.0: + version "7.1.0" + resolved "https://registry.npmmirror.com/sequelize-pool/-/sequelize-pool-7.1.0.tgz" + integrity sha512-G9c0qlIWQSK29pR/5U2JF5dDQeqqHRragoyahj/Nx4KOOQ3CPPfzxnfqFPCSB7x5UgjOgnZ61nSxz+fjDpRlJg== + +sequelize@^6.33.0: + version "6.37.3" + resolved "https://registry.npmmirror.com/sequelize/-/sequelize-6.37.3.tgz" + integrity sha512-V2FTqYpdZjPy3VQrZvjTPnOoLm0KudCRXfGWp48QwhyPPp2yW8z0p0sCYZd/em847Tl2dVxJJ1DR+hF+O77T7A== + dependencies: + "@types/debug" "^4.1.8" + "@types/validator" "^13.7.17" + debug "^4.3.4" + dottie "^2.0.6" + inflection "^1.13.4" + lodash "^4.17.21" + moment "^2.29.4" + moment-timezone "^0.5.43" + pg-connection-string "^2.6.1" + retry-as-promised "^7.0.4" + semver "^7.5.4" + sequelize-pool "^7.1.0" + toposort-class "^1.0.1" + uuid "^8.3.2" + validator "^13.9.0" + wkx "^0.5.0" + +serialize-javascript@^6.0.2: + version "6.0.2" + resolved "https://registry.npmmirror.com/serialize-javascript/-/serialize-javascript-6.0.2.tgz" + integrity sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g== + dependencies: + randombytes "^2.1.0" + +set-function-length@^1.2.1: + version "1.2.2" + resolved "https://registry.npmmirror.com/set-function-length/-/set-function-length-1.2.2.tgz" + integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== + dependencies: + define-data-property "^1.1.4" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + gopd "^1.0.1" + has-property-descriptors "^1.0.2" + +set-function-name@^2.0.1, set-function-name@^2.0.2: + version "2.0.2" + resolved "https://registry.npmmirror.com/set-function-name/-/set-function-name-2.0.2.tgz" + integrity sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ== + dependencies: + define-data-property "^1.1.4" + es-errors "^1.3.0" + functions-have-names "^1.2.3" + has-property-descriptors "^1.0.2" + +set-value@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b" + integrity sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw== + dependencies: + extend-shallow "^2.0.1" + is-extendable "^0.1.1" + is-plain-object "^2.0.3" + split-string "^3.0.1" + +shallowequal@1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8" + integrity sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ== + +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/shebang-command/-/shebang-command-2.0.0.tgz" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/shebang-regex/-/shebang-regex-3.0.0.tgz" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + +side-channel@^1.0.4, side-channel@^1.0.6: + version "1.0.6" + resolved "https://registry.npmmirror.com/side-channel/-/side-channel-1.0.6.tgz" + integrity sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA== + dependencies: + call-bind "^1.0.7" + es-errors "^1.3.0" + get-intrinsic "^1.2.4" + object-inspect "^1.13.1" + +signal-exit@^4.0.1, signal-exit@^4.1.0: + version "4.1.0" + resolved "https://registry.npmmirror.com/signal-exit/-/signal-exit-4.1.0.tgz" + integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== + +simple-swizzle@^0.2.2: + version "0.2.2" + resolved "https://registry.npmmirror.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz" + integrity sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg== + dependencies: + is-arrayish "^0.3.1" + +skmeans@0.9.7: + version "0.9.7" + resolved "https://registry.npmmirror.com/skmeans/-/skmeans-0.9.7.tgz#72670cebb728508f56e29c0e10d11e623529ce5d" + integrity sha512-hNj1/oZ7ygsfmPZ7ZfN5MUBRoGg1gtpnImuJBgLO0ljQ67DtJuiQaiYdS4lUA6s0KCwnPhGivtC/WRwIZLkHyg== + +slash@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/slash/-/slash-3.0.0.tgz" + integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== + +slash@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7" + integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew== + +slash@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/slash/-/slash-5.1.0.tgz" + integrity sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg== + +slice-ansi@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/slice-ansi/-/slice-ansi-5.0.0.tgz#b73063c57aa96f9cd881654b15294d95d285c42a" + integrity sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ== + dependencies: + ansi-styles "^6.0.0" + is-fullwidth-code-point "^4.0.0" + +slice-ansi@^7.1.0: + version "7.1.0" + resolved "https://registry.npmmirror.com/slice-ansi/-/slice-ansi-7.1.0.tgz#cd6b4655e298a8d1bdeb04250a433094b347b9a9" + integrity sha512-bSiSngZ/jWeX93BqeIAbImyTbEihizcwNjFoRUIY/T1wWQsfsm2Vw1agPKylXvQTU7iASGdHhyqRlqQzfz+Htg== + dependencies: + ansi-styles "^6.2.1" + is-fullwidth-code-point "^5.0.0" + +sort-asc@^0.2.0: + version "0.2.0" + resolved "https://registry.npmmirror.com/sort-asc/-/sort-asc-0.2.0.tgz#00a49e947bc25d510bfde2cbb8dffda9f50eb2fc" + integrity sha512-umMGhjPeHAI6YjABoSTrFp2zaBtXBej1a0yKkuMUyjjqu6FJsTF+JYwCswWDg+zJfk/5npWUUbd33HH/WLzpaA== + +sort-desc@^0.2.0: + version "0.2.0" + resolved "https://registry.npmmirror.com/sort-desc/-/sort-desc-0.2.0.tgz#280c1bdafc6577887cedbad1ed2e41c037976646" + integrity sha512-NqZqyvL4VPW+RAxxXnB8gvE1kyikh8+pR+T+CXLksVRN9eiQqkQlPwqWYU0mF9Jm7UnctShlxLyAt1CaBOTL1w== + +sort-object-keys@^1.1.3: + version "1.1.3" + resolved "https://registry.npmmirror.com/sort-object-keys/-/sort-object-keys-1.1.3.tgz#bff833fe85cab147b34742e45863453c1e190b45" + integrity sha512-855pvK+VkU7PaKYPc+Jjnmt4EzejQHyhhF33q31qG8x7maDzkeFhAAThdCYay11CISO+qAMwjOBP+fPZe0IPyg== + +sort-object@^3.0.3: + version "3.0.3" + resolved "https://registry.npmmirror.com/sort-object/-/sort-object-3.0.3.tgz#945727165f244af9dc596ad4c7605a8dee80c269" + integrity sha512-nK7WOY8jik6zaG9CRwZTaD5O7ETWDLZYMM12pqY8htll+7dYeqGfEUPcUBHOpSJg2vJOrvFIY2Dl5cX2ih1hAQ== + dependencies: + bytewise "^1.1.0" + get-value "^2.0.2" + is-extendable "^0.1.1" + sort-asc "^0.2.0" + sort-desc "^0.2.0" + union-value "^1.0.1" + +sort-package-json@2.10.1: + version "2.10.1" + resolved "https://registry.npmmirror.com/sort-package-json/-/sort-package-json-2.10.1.tgz#18e7fa0172233cb2d4d926f7c99e6bfcf4d1d25c" + integrity sha512-d76wfhgUuGypKqY72Unm5LFnMpACbdxXsLPcL27pOsSrmVqH3PztFp1uq+Z22suk15h7vXmTesuh2aEjdCqb5w== + dependencies: + detect-indent "^7.0.1" + detect-newline "^4.0.0" + get-stdin "^9.0.0" + git-hooks-list "^3.0.0" + globby "^13.1.2" + is-plain-obj "^4.1.0" + semver "^7.6.0" + sort-object-keys "^1.1.3" + +source-map-js@^1.0.2, source-map-js@^1.2.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.2.0.tgz" + integrity sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg== + +source-map-support@^0.3.2: + version "0.3.3" + resolved "https://registry.npmmirror.com/source-map-support/-/source-map-support-0.3.3.tgz" + integrity sha512-9O4+y9n64RewmFoKUZ/5Tx9IHIcXM6Q+RTSw6ehnqybUz4a7iwR3Eaw80uLtqqQ5D0C+5H03D4KKGo9PdP33Gg== + dependencies: + source-map "0.1.32" + +source-map@0.1.32: + version "0.1.32" + resolved "https://registry.npmmirror.com/source-map/-/source-map-0.1.32.tgz" + integrity sha512-htQyLrrRLkQ87Zfrir4/yN+vAUd6DNjVayEjTSHXu29AYQJw57I4/xEL/M6p6E/woPNJwvZt6rVlzc7gFEJccQ== + dependencies: + amdefine ">=0.0.4" + +source-map@^0.5.7, source-map@~0.5.1: + version "0.5.7" + resolved "https://registry.npmmirror.com/source-map/-/source-map-0.5.7.tgz" + integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== + +space-separated-tokens@^1.0.0: + version "1.1.5" + resolved "https://registry.npmmirror.com/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz" + integrity sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA== + +space-separated-tokens@^2.0.0: + version "2.0.2" + resolved "https://registry.npmmirror.com/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz" + integrity sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q== + +splaytree@^3.1.0: + version "3.1.2" + resolved "https://registry.npmmirror.com/splaytree/-/splaytree-3.1.2.tgz#d1db2691665a3c69d630de98d55145a6546dc166" + integrity sha512-4OM2BJgC5UzrhVnnJA4BkHKGtjXNzzUfpQjCO8I05xYPsfS/VuQDwjCGGMi8rYQilHEV4j8NBqTFbls/PZEE7A== + +split-string@^3.0.1: + version "3.1.0" + resolved "https://registry.npmmirror.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" + integrity sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw== + dependencies: + extend-shallow "^3.0.0" + +sql-formatter@^12.2.4: + version "12.2.4" + resolved "https://registry.npmmirror.com/sql-formatter/-/sql-formatter-12.2.4.tgz" + integrity sha512-Qj45LEHSfgrdYDOrAtIkR8SdS10SWcqCIM2WZwQwMKF2v9sM0K2dlThWPS7eYCUrhttZIrU1WwuIwHk7MjsWOw== + dependencies: + argparse "^2.0.1" + get-stdin "=8.0.0" + nearley "^2.20.1" + +sqlstring@^2.3.2: + version "2.3.3" + resolved "https://registry.npmmirror.com/sqlstring/-/sqlstring-2.3.3.tgz" + integrity sha512-qC9iz2FlN7DQl3+wjwn3802RTyjCx7sDvfQEXchwa6CWOx07/WVfh91gBmQ9fahw8snwGEWU3xGzOt4tFyHLxg== + +state-local@^1.0.6: + version "1.0.7" + resolved "https://registry.npmmirror.com/state-local/-/state-local-1.0.7.tgz" + integrity sha512-HTEHMNieakEnoe33shBYcZ7NX83ACUjCu8c40iOGEZsngj9zRnkqS9j1pqQPXwobB0ZcVTk27REb7COQ0UR59w== + +stop-iteration-iterator@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz" + integrity sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ== + dependencies: + internal-slot "^1.0.4" + +streamsearch@^1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/streamsearch/-/streamsearch-1.1.0.tgz" + integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg== + +string-argv@~0.3.2: + version "0.3.2" + resolved "https://registry.npmmirror.com/string-argv/-/string-argv-0.3.2.tgz#2b6d0ef24b656274d957d54e0a4bbf6153dc02b6" + integrity sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q== + +string-convert@^0.2.0: + version "0.2.1" + resolved "https://registry.npmmirror.com/string-convert/-/string-convert-0.2.1.tgz" + integrity sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A== + +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string-width@^4.1.0: + version "4.2.3" + resolved "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string-width@^5.0.1, string-width@^5.1.2: + version "5.1.2" + resolved "https://registry.npmmirror.com/string-width/-/string-width-5.1.2.tgz" + integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== + dependencies: + eastasianwidth "^0.2.0" + emoji-regex "^9.2.2" + strip-ansi "^7.0.1" + +string-width@^7.0.0: + version "7.2.0" + resolved "https://registry.npmmirror.com/string-width/-/string-width-7.2.0.tgz#b5bb8e2165ce275d4d43476dd2700ad9091db6dc" + integrity sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ== + dependencies: + emoji-regex "^10.3.0" + get-east-asian-width "^1.0.0" + strip-ansi "^7.1.0" + +string.prototype.includes@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/string.prototype.includes/-/string.prototype.includes-2.0.0.tgz" + integrity sha512-E34CkBgyeqNDcrbU76cDjL5JLcVrtSdYq0MEh/B10r17pRP4ciHLwTgnuLV8Ay6cgEMLkcBkFCKyFZ43YldYzg== + dependencies: + define-properties "^1.1.3" + es-abstract "^1.17.5" + +string.prototype.matchall@^4.0.11: + version "4.0.11" + resolved "https://registry.npmmirror.com/string.prototype.matchall/-/string.prototype.matchall-4.0.11.tgz" + integrity sha512-NUdh0aDavY2og7IbBPenWqR9exH+E26Sv8e0/eTe1tltDGZL+GtBkDAnnyBtmekfK6/Dq3MkcGtzXFEd1LQrtg== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-errors "^1.3.0" + es-object-atoms "^1.0.0" + get-intrinsic "^1.2.4" + gopd "^1.0.1" + has-symbols "^1.0.3" + internal-slot "^1.0.7" + regexp.prototype.flags "^1.5.2" + set-function-name "^2.0.2" + side-channel "^1.0.6" + +string.prototype.trim@^1.2.9, string.prototype.trim@~1.2.8: + version "1.2.9" + resolved "https://registry.npmmirror.com/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz" + integrity sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.0" + es-object-atoms "^1.0.0" + +string.prototype.trimend@^1.0.8: + version "1.0.8" + resolved "https://registry.npmmirror.com/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz" + integrity sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" + +string.prototype.trimstart@^1.0.8: + version "1.0.8" + resolved "https://registry.npmmirror.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz" + integrity sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" + +string_decoder@~1.1.1: + version "1.1.1" + resolved "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz" + integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== + dependencies: + safe-buffer "~5.1.0" + +stringify-entities@^4.0.0: + version "4.0.4" + resolved "https://registry.npmmirror.com/stringify-entities/-/stringify-entities-4.0.4.tgz#b3b79ef5f277cc4ac73caeb0236c5ba939b3a4f3" + integrity sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg== + dependencies: + character-entities-html4 "^2.0.0" + character-entities-legacy "^3.0.0" + +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": + version "6.0.1" + resolved "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-ansi@^3.0.0: + version "3.0.1" + resolved "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-3.0.1.tgz" + integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg== + dependencies: + ansi-regex "^2.0.0" + +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-ansi@^7.0.1, strip-ansi@^7.1.0: + version "7.1.0" + resolved "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-7.1.0.tgz" + integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== + dependencies: + ansi-regex "^6.0.1" + +strip-bom@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/strip-bom/-/strip-bom-3.0.0.tgz" + integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA== + +strip-final-newline@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd" + integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw== + +strip-json-comments@^3.1.1: + version "3.1.1" + resolved "https://registry.npmmirror.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz" + integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== + +style-to-object@^1.0.0: + version "1.0.6" + resolved "https://registry.npmmirror.com/style-to-object/-/style-to-object-1.0.6.tgz#0c28aed8be1813d166c60d962719b2907c26547b" + integrity sha512-khxq+Qm3xEyZfKd/y9L3oIWQimxuc4STrQKtQn8aSDRHb8mFgpukgX1hdzfrMEW6JCjyJ8p89x+IUMVnCBI1PA== + dependencies: + inline-style-parser "0.2.3" + +styled-components@^6.0.7: + version "6.1.12" + resolved "https://registry.npmmirror.com/styled-components/-/styled-components-6.1.12.tgz#0d9d511aacfb9052936146dcc2856559e6fae4df" + integrity sha512-n/O4PzRPhbYI0k1vKKayfti3C/IGcPf+DqcrOB7O/ab9x4u/zjqraneT5N45+sIe87cxrCApXM8Bna7NYxwoTA== + dependencies: + "@emotion/is-prop-valid" "1.2.2" + "@emotion/unitless" "0.8.1" + "@types/stylis" "4.2.5" + css-to-react-native "3.2.0" + csstype "3.1.3" + postcss "8.4.38" + shallowequal "1.1.0" + stylis "4.3.2" + tslib "2.6.2" + +styled-jsx@5.1.1: + version "5.1.1" + resolved "https://registry.npmmirror.com/styled-jsx/-/styled-jsx-5.1.1.tgz" + integrity sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw== + dependencies: + client-only "0.0.1" + +stylis@4.2.0: + version "4.2.0" + resolved "https://registry.npmmirror.com/stylis/-/stylis-4.2.0.tgz" + integrity sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw== + +stylis@4.3.2: + version "4.3.2" + resolved "https://registry.npmmirror.com/stylis/-/stylis-4.3.2.tgz#8f76b70777dd53eb669c6f58c997bf0a9972e444" + integrity sha512-bhtUjWd/z6ltJiQwg0dUfxEJ+W+jdqQd8TbWLWyeIJHlnsqmGLRFFd8e5mA0AZi/zx90smXRlN66YMTcaSFifg== + +stylis@^4.3.3: + version "4.3.4" + resolved "https://registry.npmmirror.com/stylis/-/stylis-4.3.4.tgz" + integrity sha512-osIBl6BGUmSfDkyH2mB7EFvCJntXDrLhKjHTRj/rK6xLH0yuPrHULDRQzKokSOD4VoorhtKpfcfW1GAntu8now== + +sucrase@^3.32.0: + version "3.35.0" + resolved "https://registry.npmmirror.com/sucrase/-/sucrase-3.35.0.tgz" + integrity sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA== + dependencies: + "@jridgewell/gen-mapping" "^0.3.2" + commander "^4.0.0" + glob "^10.3.10" + lines-and-columns "^1.1.6" + mz "^2.7.0" + pirates "^4.0.1" + ts-interface-checker "^0.1.9" + +supercluster@^7.0.0, supercluster@^7.1.0: + version "7.1.5" + resolved "https://registry.npmmirror.com/supercluster/-/supercluster-7.1.5.tgz#65a6ce4a037a972767740614c19051b64b8be5a3" + integrity sha512-EulshI3pGUM66o6ZdH3ReiFcvHpM3vAigyK+vcxdjpJyEbIIrtbmBdY23mGgnI24uXiGFvrGq9Gkum/8U7vJWg== + dependencies: + kdbush "^3.0.0" + +supercluster@^8.0.1: + version "8.0.1" + resolved "https://registry.npmmirror.com/supercluster/-/supercluster-8.0.1.tgz#9946ba123538e9e9ab15de472531f604e7372df5" + integrity sha512-IiOea5kJ9iqzD2t7QJq/cREyLHTtSmUT6gQsweojg9WH2sYJqZK9SswTu6jrscO6D1G5v5vYZ9ru/eq85lXeZQ== + dependencies: + kdbush "^4.0.2" + +supports-color@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/supports-color/-/supports-color-2.0.0.tgz" + integrity sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g== + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.npmmirror.com/supports-color/-/supports-color-5.5.0.tgz" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +svg-path-parser@^1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/svg-path-parser/-/svg-path-parser-1.1.0.tgz" + integrity sha512-jGCUqcQyXpfe38R7RFfhrMyfXcBmpMNJI/B+4CE9/Unkh98UporAc461GTthv+TVDuZXsBx7/WiwJb1Oh4tt4A== + +synckit@0.9.1, synckit@^0.9.1: + version "0.9.1" + resolved "https://registry.npmmirror.com/synckit/-/synckit-0.9.1.tgz#febbfbb6649979450131f64735aa3f6c14575c88" + integrity sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A== + dependencies: + "@pkgr/core" "^0.1.0" + tslib "^2.6.2" + +tailwindcss-animated@^1.0.1: + version "1.1.2" + resolved "https://registry.npmmirror.com/tailwindcss-animated/-/tailwindcss-animated-1.1.2.tgz" + integrity sha512-SI4owS5ojserhgEYIZA/uFVdNjU2GMB2P3sjtjmFA52VxoUi+Hht6oR5+RdT+CxrX9cNNYEa+vbTWHvN9zbj3w== + +tailwindcss@3.3.2: + version "3.3.2" + resolved "https://registry.npmmirror.com/tailwindcss/-/tailwindcss-3.3.2.tgz" + integrity sha512-9jPkMiIBXvPc2KywkraqsUfbfj+dHDb+JPWtSJa9MLFdrPyazI7q6WX2sUrm7R9eVR7qqv3Pas7EvQFzxKnI6w== + dependencies: + "@alloc/quick-lru" "^5.2.0" + arg "^5.0.2" + chokidar "^3.5.3" + didyoumean "^1.2.2" + dlv "^1.1.3" + fast-glob "^3.2.12" + glob-parent "^6.0.2" + is-glob "^4.0.3" + jiti "^1.18.2" + lilconfig "^2.1.0" + micromatch "^4.0.5" + normalize-path "^3.0.0" + object-hash "^3.0.0" + picocolors "^1.0.0" + postcss "^8.4.23" + postcss-import "^15.1.0" + postcss-js "^4.0.1" + postcss-load-config "^4.0.1" + postcss-nested "^6.0.1" + postcss-selector-parser "^6.0.11" + postcss-value-parser "^4.2.0" + resolve "^1.22.2" + sucrase "^3.32.0" + +tapable@^2.2.0, tapable@^2.2.1: + version "2.2.1" + resolved "https://registry.npmmirror.com/tapable/-/tapable-2.2.1.tgz" + integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== + +tape@^4.5.1: + version "4.17.0" + resolved "https://registry.npmmirror.com/tape/-/tape-4.17.0.tgz" + integrity sha512-KCuXjYxCZ3ru40dmND+oCLsXyuA8hoseu2SS404Px5ouyS0A99v8X/mdiLqsR5MTAyamMBN7PRwt2Dv3+xGIxw== + dependencies: + "@ljharb/resumer" "~0.0.1" + "@ljharb/through" "~2.3.9" + call-bind "~1.0.2" + deep-equal "~1.1.1" + defined "~1.0.1" + dotignore "~0.1.2" + for-each "~0.3.3" + glob "~7.2.3" + has "~1.0.3" + inherits "~2.0.4" + is-regex "~1.1.4" + minimist "~1.2.8" + mock-property "~1.0.0" + object-inspect "~1.12.3" + resolve "~1.22.6" + string.prototype.trim "~1.2.8" + +text-table@^0.2.0: + version "0.2.0" + resolved "https://registry.npmmirror.com/text-table/-/text-table-0.2.0.tgz" + integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== + +thenify-all@^1.0.0: + version "1.6.0" + resolved "https://registry.npmmirror.com/thenify-all/-/thenify-all-1.6.0.tgz" + integrity sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA== + dependencies: + thenify ">= 3.1.0 < 4" + +"thenify@>= 3.1.0 < 4": + version "3.3.1" + resolved "https://registry.npmmirror.com/thenify/-/thenify-3.3.1.tgz" + integrity sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw== + dependencies: + any-promise "^1.0.0" + +throttle-debounce@^5.0.0, throttle-debounce@^5.0.2: + version "5.0.2" + resolved "https://registry.npmmirror.com/throttle-debounce/-/throttle-debounce-5.0.2.tgz" + integrity sha512-B71/4oyj61iNH0KeCamLuE2rmKuTO5byTOSVwECM5FA7TiAiAW+UqTKZ9ERueC4qvgSttUhdmq1mXC3kJqGX7A== + +tinyqueue@^2.0.3: + version "2.0.3" + resolved "https://registry.npmmirror.com/tinyqueue/-/tinyqueue-2.0.3.tgz#64d8492ebf39e7801d7bd34062e29b45b2035f08" + integrity sha512-ppJZNDuKGgxzkHihX8v9v9G5f+18gzaTfrukGrq6ueg0lmH4nqVnA2IPG0AEH3jKEk2GRJCUhDoqpoiw3PHLBA== + +tippy.js@^6.3.7: + version "6.3.7" + resolved "https://registry.npmmirror.com/tippy.js/-/tippy.js-6.3.7.tgz#8ccfb651d642010ed9a32ff29b0e9e19c5b8c61c" + integrity sha512-E1d3oP2emgJ9dRQZdf3Kkn0qJgI6ZLpyS5z6ZkY1DF3kaQaBsGZsndEpHwx+eC+tYM41HaSNvNtLx8tU57FzTQ== + dependencies: + "@popperjs/core" "^2.9.0" + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-5.0.1.tgz" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +toggle-selection@^1.0.6: + version "1.0.6" + resolved "https://registry.npmmirror.com/toggle-selection/-/toggle-selection-1.0.6.tgz" + integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== + +topojson-client@3.x: + version "3.1.0" + resolved "https://registry.npmmirror.com/topojson-client/-/topojson-client-3.1.0.tgz#22e8b1ed08a2b922feeb4af6f53b6ef09a467b99" + integrity sha512-605uxS6bcYxGXw9qi62XyrV6Q3xwbndjachmNxu8HWTtVPxZfEJN9fd/SZS1Q54Sn2y0TMyMxFj/cJINqGHrKw== + dependencies: + commander "2" + +topojson-server@3.x: + version "3.0.1" + resolved "https://registry.npmmirror.com/topojson-server/-/topojson-server-3.0.1.tgz#d2b3ec095b6732299be76a48406111b3201a34f5" + integrity sha512-/VS9j/ffKr2XAOjlZ9CgyyeLmgJ9dMwq6Y0YEON8O7p/tGGk+dCWnrE03zEdu7i4L7YsFZLEPZPzCvcB7lEEXw== + dependencies: + commander "2" + +toposort-class@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/toposort-class/-/toposort-class-1.0.1.tgz" + integrity sha512-OsLcGGbYF3rMjPUf8oKktyvCiUxSbqMMS39m33MAjLTC1DVIH6x3WSt63/M77ihI09+Sdfk1AXvfhCEeUmC7mg== + +tr46@~0.0.3: + version "0.0.3" + resolved "https://registry.npmmirror.com/tr46/-/tr46-0.0.3.tgz" + integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== + +trim-lines@^3.0.0: + version "3.0.1" + resolved "https://registry.npmmirror.com/trim-lines/-/trim-lines-3.0.1.tgz" + integrity sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg== + +trough@^2.0.0: + version "2.2.0" + resolved "https://registry.npmmirror.com/trough/-/trough-2.2.0.tgz" + integrity sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw== + +ts-api-utils@^1.3.0: + version "1.3.0" + resolved "https://registry.npmmirror.com/ts-api-utils/-/ts-api-utils-1.3.0.tgz#4b490e27129f1e8e686b45cc4ab63714dc60eea1" + integrity sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ== + +ts-interface-checker@^0.1.9: + version "0.1.13" + resolved "https://registry.npmmirror.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz" + integrity sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA== + +tsconfig-paths@^3.15.0: + version "3.15.0" + resolved "https://registry.npmmirror.com/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz" + integrity sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg== + dependencies: + "@types/json5" "^0.0.29" + json5 "^1.0.2" + minimist "^1.2.6" + strip-bom "^3.0.0" + +tslib@2.6.2: + version "2.6.2" + resolved "https://registry.npmmirror.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" + integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== + +tslib@^1.8.1: + version "1.14.1" + resolved "https://registry.npmmirror.com/tslib/-/tslib-1.14.1.tgz" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== + +tslib@^2.0.0, tslib@^2.0.3, tslib@^2.3.1, tslib@^2.4.0, tslib@^2.4.1, tslib@^2.5.0, tslib@^2.5.3, tslib@^2.6.1, tslib@^2.6.2: + version "2.7.0" + resolved "https://registry.npmmirror.com/tslib/-/tslib-2.7.0.tgz" + integrity sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA== + +tsutils@^3.21.0: + version "3.21.0" + resolved "https://registry.npmmirror.com/tsutils/-/tsutils-3.21.0.tgz" + integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== + dependencies: + tslib "^1.8.1" + +turf-jsts@*: + version "1.2.3" + resolved "https://registry.npmmirror.com/turf-jsts/-/turf-jsts-1.2.3.tgz#59757f542afbff9a577bbf411f183b8f48d38aa4" + integrity sha512-Ja03QIJlPuHt4IQ2FfGex4F4JAr8m3jpaHbFbQrgwr7s7L6U8ocrHiF3J1+wf9jzhGKxvDeaCAnGDot8OjGFyA== + +type-check@^0.4.0, type-check@~0.4.0: + version "0.4.0" + resolved "https://registry.npmmirror.com/type-check/-/type-check-0.4.0.tgz" + integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew== + dependencies: + prelude-ls "^1.2.1" + +type-fest@^0.20.2: + version "0.20.2" + resolved "https://registry.npmmirror.com/type-fest/-/type-fest-0.20.2.tgz" + integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== + +type-is@^1.6.4: + version "1.6.18" + resolved "https://registry.npmmirror.com/type-is/-/type-is-1.6.18.tgz" + integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== + dependencies: + media-typer "0.3.0" + mime-types "~2.1.24" + +typed-array-buffer@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz" + integrity sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ== + dependencies: + call-bind "^1.0.7" + es-errors "^1.3.0" + is-typed-array "^1.1.13" + +typed-array-byte-length@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz" + integrity sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw== + dependencies: + call-bind "^1.0.7" + for-each "^0.3.3" + gopd "^1.0.1" + has-proto "^1.0.3" + is-typed-array "^1.1.13" + +typed-array-byte-offset@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz" + integrity sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA== + dependencies: + available-typed-arrays "^1.0.7" + call-bind "^1.0.7" + for-each "^0.3.3" + gopd "^1.0.1" + has-proto "^1.0.3" + is-typed-array "^1.1.13" + +typed-array-length@^1.0.6: + version "1.0.6" + resolved "https://registry.npmmirror.com/typed-array-length/-/typed-array-length-1.0.6.tgz" + integrity sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g== + dependencies: + call-bind "^1.0.7" + for-each "^0.3.3" + gopd "^1.0.1" + has-proto "^1.0.3" + is-typed-array "^1.1.13" + possible-typed-array-names "^1.0.0" + +typedarray@^0.0.6: + version "0.0.6" + resolved "https://registry.npmmirror.com/typedarray/-/typedarray-0.0.6.tgz" + integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== + +typescript@5.1.3: + version "5.1.3" + resolved "https://registry.npmmirror.com/typescript/-/typescript-5.1.3.tgz" + integrity sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw== + +typewise-core@^1.2, typewise-core@^1.2.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/typewise-core/-/typewise-core-1.2.0.tgz#97eb91805c7f55d2f941748fa50d315d991ef195" + integrity sha512-2SCC/WLzj2SbUwzFOzqMCkz5amXLlxtJqDKTICqg30x+2DZxcfZN2MvQZmGfXWKNWaKK9pBPsvkcwv8bF/gxKg== + +typewise@^1.0.3: + version "1.0.3" + resolved "https://registry.npmmirror.com/typewise/-/typewise-1.0.3.tgz#1067936540af97937cc5dcf9922486e9fa284651" + integrity sha512-aXofE06xGhaQSPzt8hlTY+/YWQhm9P0jYUp1f2XtmW/3Bk0qzXcyFWAtPoo2uTGQj1ZwbDuSyuxicq+aDo8lCQ== + dependencies: + typewise-core "^1.2.0" + +uc.micro@^2.0.0, uc.micro@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/uc.micro/-/uc.micro-2.1.0.tgz" + integrity sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A== + +uglify-js@^2.6.2: + version "2.8.29" + resolved "https://registry.npmmirror.com/uglify-js/-/uglify-js-2.8.29.tgz" + integrity sha512-qLq/4y2pjcU3vhlhseXGGJ7VbFO4pBANu0kwl8VCa9KEI0V8VfZIx2Fy3w01iSTA/pGwKZSmu/+I4etLNDdt5w== + dependencies: + source-map "~0.5.1" + yargs "~3.10.0" + optionalDependencies: + uglify-to-browserify "~1.0.0" + +uglify-to-browserify@~1.0.0: + version "1.0.2" + resolved "https://registry.npmmirror.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz" + integrity sha512-vb2s1lYx2xBtUgy+ta+b2J/GLVUR+wmpINwHePmPRhOsIVCG2wDzKJ0n14GslH1BifsqVzSOwQhRaCAsZ/nI4Q== + +unbox-primitive@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz" + integrity sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw== + dependencies: + call-bind "^1.0.2" + has-bigints "^1.0.2" + has-symbols "^1.0.3" + which-boxed-primitive "^1.0.2" + +unicorn-magic@^0.1.0: + version "0.1.0" + resolved "https://registry.npmmirror.com/unicorn-magic/-/unicorn-magic-0.1.0.tgz" + integrity sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ== + +unified@^11.0.0: + version "11.0.5" + resolved "https://registry.npmmirror.com/unified/-/unified-11.0.5.tgz#f66677610a5c0a9ee90cab2b8d4d66037026d9e1" + integrity sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA== + dependencies: + "@types/unist" "^3.0.0" + bail "^2.0.0" + devlop "^1.0.0" + extend "^3.0.0" + is-plain-obj "^4.0.0" + trough "^2.0.0" + vfile "^6.0.0" + +union-value@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847" + integrity sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg== + dependencies: + arr-union "^3.1.0" + get-value "^2.0.6" + is-extendable "^0.1.1" + set-value "^2.0.1" + +unist-util-is@^6.0.0: + version "6.0.0" + resolved "https://registry.npmmirror.com/unist-util-is/-/unist-util-is-6.0.0.tgz#b775956486aff107a9ded971d996c173374be424" + integrity sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw== + dependencies: + "@types/unist" "^3.0.0" + +unist-util-position@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/unist-util-position/-/unist-util-position-5.0.0.tgz#678f20ab5ca1207a97d7ea8a388373c9cf896be4" + integrity sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA== + dependencies: + "@types/unist" "^3.0.0" + +unist-util-stringify-position@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz#449c6e21a880e0855bf5aabadeb3a740314abac2" + integrity sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ== + dependencies: + "@types/unist" "^3.0.0" + +unist-util-visit-parents@^6.0.0: + version "6.0.1" + resolved "https://registry.npmmirror.com/unist-util-visit-parents/-/unist-util-visit-parents-6.0.1.tgz#4d5f85755c3b8f0dc69e21eca5d6d82d22162815" + integrity sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw== + dependencies: + "@types/unist" "^3.0.0" + unist-util-is "^6.0.0" + +unist-util-visit@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/unist-util-visit/-/unist-util-visit-5.0.0.tgz#a7de1f31f72ffd3519ea71814cccf5fd6a9217d6" + integrity sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg== + dependencies: + "@types/unist" "^3.0.0" + unist-util-is "^6.0.0" + unist-util-visit-parents "^6.0.0" + +update-browserslist-db@^1.0.16: + version "1.0.16" + resolved "https://registry.npmmirror.com/update-browserslist-db/-/update-browserslist-db-1.0.16.tgz" + integrity sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ== + dependencies: + escalade "^3.1.2" + picocolors "^1.0.1" + +uri-js@^4.2.2, uri-js@^4.4.1: + version "4.4.1" + resolved "https://registry.npmmirror.com/uri-js/-/uri-js-4.4.1.tgz" + integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== + dependencies: + punycode "^2.1.0" + +use-sync-external-store@1.2.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz" + integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== + +util-deprecate@^1.0.2, util-deprecate@~1.0.1: + version "1.0.2" + resolved "https://registry.npmmirror.com/util-deprecate/-/util-deprecate-1.0.2.tgz" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +uuid@^8.3.2: + version "8.3.2" + resolved "https://registry.npmmirror.com/uuid/-/uuid-8.3.2.tgz" + integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== + +uuid@^9.0.1: + version "9.0.1" + resolved "https://registry.npmmirror.com/uuid/-/uuid-9.0.1.tgz" + integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA== + +validator@^13.9.0: + version "13.12.0" + resolved "https://registry.npmmirror.com/validator/-/validator-13.12.0.tgz" + integrity sha512-c1Q0mCiPlgdTVVVIJIrBuxNicYE+t/7oKeI9MWLj3fh/uq2Pxh/3eeWbVZ4OcGW1TUf53At0njHw5SMdA3tmMg== + +vfile-location@^5.0.0: + version "5.0.3" + resolved "https://registry.npmmirror.com/vfile-location/-/vfile-location-5.0.3.tgz#cb9eacd20f2b6426d19451e0eafa3d0a846225c3" + integrity sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg== + dependencies: + "@types/unist" "^3.0.0" + vfile "^6.0.0" + +vfile-message@^4.0.0: + version "4.0.2" + resolved "https://registry.npmmirror.com/vfile-message/-/vfile-message-4.0.2.tgz#c883c9f677c72c166362fd635f21fc165a7d1181" + integrity sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw== + dependencies: + "@types/unist" "^3.0.0" + unist-util-stringify-position "^4.0.0" + +vfile@^6.0.0: + version "6.0.3" + resolved "https://registry.npmmirror.com/vfile/-/vfile-6.0.3.tgz#3652ab1c496531852bf55a6bac57af981ebc38ab" + integrity sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q== + dependencies: + "@types/unist" "^3.0.0" + vfile-message "^4.0.0" + +viewport-mercator-project@^6.2.1: + version "6.2.3" + resolved "https://registry.npmmirror.com/viewport-mercator-project/-/viewport-mercator-project-6.2.3.tgz#4122040f51ef9553fa41a46bcc6502977b3909c6" + integrity sha512-QQb0/qCLlP4DdfbHHSWVYXpghB2wkLIiiZQnoelOB59mXKQSyZVxjreq1S+gaBJFpcGkWEcyVtre0+2y2DTl/Q== + dependencies: + "@babel/runtime" "^7.0.0" + gl-matrix "^3.0.0" + +void-elements@3.1.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/void-elements/-/void-elements-3.1.0.tgz" + integrity sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w== + +vt-pbf@^3.1.1, vt-pbf@^3.1.3: + version "3.1.3" + resolved "https://registry.npmmirror.com/vt-pbf/-/vt-pbf-3.1.3.tgz#68fd150756465e2edae1cc5c048e063916dcfaac" + integrity sha512-2LzDFzt0mZKZ9IpVF2r69G9bXaP2Q2sArJCmcCgvfTdCCZzSyz4aCLoQyUilu37Ll56tCblIZrXFIjNUpGIlmA== + dependencies: + "@mapbox/point-geometry" "0.1.0" + "@mapbox/vector-tile" "^1.3.1" + pbf "^3.2.1" + +watchpack@2.4.0: + version "2.4.0" + resolved "https://registry.npmmirror.com/watchpack/-/watchpack-2.4.0.tgz" + integrity sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg== + dependencies: + glob-to-regexp "^0.4.1" + graceful-fs "^4.1.2" + +web-namespaces@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/web-namespaces/-/web-namespaces-2.0.1.tgz" + integrity sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ== + +web-worker-helper@^0.0.3: + version "0.0.3" + resolved "https://registry.npmmirror.com/web-worker-helper/-/web-worker-helper-0.0.3.tgz#9ef60b9c463970dc324c381b9aaf2a22c5d0b77a" + integrity sha512-/TllNPjGenDwjE67M16TD9ALwuY847/zIoH7r+e5rSeG4kEa3HiMTAsUDj80yzIzhtshkv215KfsnQ/RXR3nVA== + +webcrypto-core@^1.8.0: + version "1.8.0" + resolved "https://registry.npmmirror.com/webcrypto-core/-/webcrypto-core-1.8.0.tgz" + integrity sha512-kR1UQNH8MD42CYuLzvibfakG5Ew5seG85dMMoAM/1LqvckxaF6pUiidLuraIu4V+YCIFabYecUZAW0TuxAoaqw== + dependencies: + "@peculiar/asn1-schema" "^2.3.8" + "@peculiar/json-schema" "^1.1.12" + asn1js "^3.0.1" + pvtsutils "^1.3.5" + tslib "^2.6.2" + +webidl-conversions@^3.0.0: + version "3.0.1" + resolved "https://registry.npmmirror.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz" + integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== + +whatwg-url@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/whatwg-url/-/whatwg-url-5.0.0.tgz" + integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== + dependencies: + tr46 "~0.0.3" + webidl-conversions "^3.0.0" + +which-boxed-primitive@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz" + integrity sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg== + dependencies: + is-bigint "^1.0.1" + is-boolean-object "^1.1.0" + is-number-object "^1.0.4" + is-string "^1.0.5" + is-symbol "^1.0.3" + +which-builtin-type@^1.1.3: + version "1.1.3" + resolved "https://registry.npmmirror.com/which-builtin-type/-/which-builtin-type-1.1.3.tgz" + integrity sha512-YmjsSMDBYsM1CaFiayOVT06+KJeXf0o5M/CAd4o1lTadFAtacTUM49zoYxr/oroopFDfhvN6iEcBxUyc3gvKmw== + dependencies: + function.prototype.name "^1.1.5" + has-tostringtag "^1.0.0" + is-async-function "^2.0.0" + is-date-object "^1.0.5" + is-finalizationregistry "^1.0.2" + is-generator-function "^1.0.10" + is-regex "^1.1.4" + is-weakref "^1.0.2" + isarray "^2.0.5" + which-boxed-primitive "^1.0.2" + which-collection "^1.0.1" + which-typed-array "^1.1.9" + +which-collection@^1.0.1: + version "1.0.2" + resolved "https://registry.npmmirror.com/which-collection/-/which-collection-1.0.2.tgz" + integrity sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw== + dependencies: + is-map "^2.0.3" + is-set "^2.0.3" + is-weakmap "^2.0.2" + is-weakset "^2.0.3" + +which-typed-array@^1.1.13, which-typed-array@^1.1.14, which-typed-array@^1.1.15, which-typed-array@^1.1.9: + version "1.1.15" + resolved "https://registry.npmmirror.com/which-typed-array/-/which-typed-array-1.1.15.tgz" + integrity sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA== + dependencies: + available-typed-arrays "^1.0.7" + call-bind "^1.0.7" + for-each "^0.3.3" + gopd "^1.0.1" + has-tostringtag "^1.0.2" + +which@^1.3.1: + version "1.3.1" + resolved "https://registry.npmmirror.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" + integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== + dependencies: + isexe "^2.0.0" + +which@^2.0.1: + version "2.0.2" + resolved "https://registry.npmmirror.com/which/-/which-2.0.2.tgz" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + +window-size@0.1.0: + version "0.1.0" + resolved "https://registry.npmmirror.com/window-size/-/window-size-0.1.0.tgz" + integrity sha512-1pTPQDKTdd61ozlKGNCjhNRd+KPmgLSGa3mZTHoOliaGcESD8G1PXhh7c1fgiPjVbNVfgy2Faw4BI8/m0cC8Mg== + +wkx@^0.5.0: + version "0.5.0" + resolved "https://registry.npmmirror.com/wkx/-/wkx-0.5.0.tgz" + integrity sha512-Xng/d4Ichh8uN4l0FToV/258EjMGU9MGcA0HV2d9B/ZpZB3lqQm7nkOdZdm5GhKtLLhAE7PiVQwN4eN+2YJJUg== + dependencies: + "@types/node" "*" + +word-wrap@^1.2.5: + version "1.2.5" + resolved "https://registry.npmmirror.com/word-wrap/-/word-wrap-1.2.5.tgz" + integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA== + +wordwrap@0.0.2: + version "0.0.2" + resolved "https://registry.npmmirror.com/wordwrap/-/wordwrap-0.0.2.tgz" + integrity sha512-xSBsCeh+g+dinoBv3GAOWM4LcVVO68wLXRanibtBSdUvkGWQRGeE9P7IwU9EmDDi4jA6L44lz15CGMwdw9N5+Q== + +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": + version "7.0.0" + resolved "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrap-ansi@^8.1.0: + version "8.1.0" + resolved "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz" + integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== + dependencies: + ansi-styles "^6.1.0" + string-width "^5.0.1" + strip-ansi "^7.0.1" + +wrap-ansi@^9.0.0: + version "9.0.0" + resolved "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-9.0.0.tgz#1a3dc8b70d85eeb8398ddfb1e4a02cd186e58b3e" + integrity sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q== + dependencies: + ansi-styles "^6.2.1" + string-width "^7.0.0" + strip-ansi "^7.1.0" + +wrappy@1: + version "1.0.2" + resolved "https://registry.npmmirror.com/wrappy/-/wrappy-1.0.2.tgz" + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== + +xtend@^4.0.0: + version "4.0.2" + resolved "https://registry.npmmirror.com/xtend/-/xtend-4.0.2.tgz" + integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/yallist/-/yallist-4.0.0.tgz" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yaml@^1.10.0: + version "1.10.2" + resolved "https://registry.npmmirror.com/yaml/-/yaml-1.10.2.tgz" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== + +yaml@^2.3.4: + version "2.4.5" + resolved "https://registry.npmmirror.com/yaml/-/yaml-2.4.5.tgz" + integrity sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg== + +yaml@~2.5.0: + version "2.5.0" + resolved "https://registry.npmmirror.com/yaml/-/yaml-2.5.0.tgz#c6165a721cf8000e91c36490a41d7be25176cf5d" + integrity sha512-2wWLbGbYDiSqqIKoPjar3MPgB94ErzCtrNE1FdqGuaO0pi2JGjmE8aW8TDZwzU7vuxcGRdL/4gPQwQ7hD5AMSw== + +yargs@~3.10.0: + version "3.10.0" + resolved "https://registry.npmmirror.com/yargs/-/yargs-3.10.0.tgz" + integrity sha512-QFzUah88GAGy9lyDKGBqZdkYApt63rCXYBGYnEP4xDJPXNqXXnBDACnbrXnViV6jRSqAePwrATi2i8mfYm4L1A== + dependencies: + camelcase "^1.0.2" + cliui "^2.1.0" + decamelize "^1.0.0" + window-size "0.1.0" + +yocto-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.npmmirror.com/yocto-queue/-/yocto-queue-0.1.0.tgz" + integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== + +zod@3.21.4: + version "3.21.4" + resolved "https://registry.npmmirror.com/zod/-/zod-3.21.4.tgz" + integrity sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw== + +zustand@^4.4.1: + version "4.5.2" + resolved "https://registry.npmmirror.com/zustand/-/zustand-4.5.2.tgz" + integrity sha512-2cN1tPkDVkwCy5ickKrI7vijSjPksFRfqS6237NzT0vqSsztTNnQdHw9mmN7uBdk3gceVXU0a+21jFzFzAc9+g== + dependencies: + use-sync-external-store "1.2.0" + +zwitch@^2.0.0: + version "2.0.4" + resolved "https://registry.npmmirror.com/zwitch/-/zwitch-2.0.4.tgz" + integrity sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==